From 64057eede7a58733dee01b557de8ee2fa066514c Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 15 Apr 2022 00:32:53 -0700 Subject: [PATCH] Finish splitting Kyoto, split WorldFormat, Weapons, MetaRender, Collision, GuiSys, Basics, and start Animation --- asm/Animation/CAnimCharacterSet.s | 469 + asm/Animation/CAnimTreeLoopIn.s | 1512 + asm/Animation/CAnimation.s | 33 + asm/Animation/CAnimationManager.s | 94 + asm/Animation/CAnimationSet.s | 1312 + asm/Animation/CSequenceHelper.s | 116 + asm/Basics/CBasics.s | 52 + asm/Basics/CBasicsDolphin.s | 35 + asm/Basics/CCallStackDolphin.s | 19 + asm/Basics/COsContext.s | 243 + asm/Basics/CSWDataDolphin.s | 78 + asm/Basics/CStopwatch.s | 78 + asm/Basics/RAssertDolphin.s | 370 + asm/Collision/CCollidableAABox.s | 809 + asm/Collision/CCollidableCollisionSurface.s | 18 + asm/Collision/CCollidableSphere.s | 1414 + asm/Collision/CCollisionInfo.s | 306 + asm/Collision/CCollisionPrimitive.s | 1591 + asm/Collision/CMRay.s | 126 + asm/Collision/CMaterialFilter.s | 101 + asm/Collision/CMaterialList.s | 70 + asm/Collision/COBBox.s | 769 + asm/Collision/CollisionUtil.s | 4608 + asm/Collision/InternalColliders.s | 98 + asm/GuiSys/CAuiEnergyBarT01.s | 799 + asm/GuiSys/CAuiImagePane.s | 1637 + asm/GuiSys/CAuiMain.s | 7 + asm/GuiSys/CAuiMeter.s | 453 + asm/GuiSys/CGuiGroup.s | 2626 + asm/GuiSys/CGuiHeadWidget.s | 115 + asm/GuiSys/CGuiLight.s | 559 + asm/GuiSys/CGuiModel.s | 560 + asm/GuiSys/CGuiObject.s | 1001 + asm/GuiSys/CGuiPane.s | 469 + asm/GuiSys/CGuiSliderGroup.s | 628 + asm/GuiSys/CGuiSys.s | 156 + asm/GuiSys/CGuiTableGroup.s | 1194 + asm/GuiSys/CGuiTextPane.s | 511 + asm/GuiSys/CGuiTextSupport.s | 3057 + asm/GuiSys/CGuiWidget.s | 708 + asm/GuiSys/CGuiWidgetDrawParms.s | 14 + asm/GuiSys/CGuiWidgetIdDB.s | 166 + asm/GuiSys/CRepeatState.s | 41 + asm/Kyoto_CWD/CArtifactDoll.s | 999 + asm/Kyoto_CWD/CErrorOutputWindow.s | 575 + asm/Kyoto_CWD/CFluidPlaneRender.s | 4375 + asm/Kyoto_CWD/CGameArea.s | 2 +- asm/Kyoto_CWD/CGameCubeDoll.s | 462 + asm/Kyoto_CWD/CNESEmulator.s | 1289 + asm/Kyoto_CWD/CPauseScreenBlur.s | 448 + asm/Kyoto_CWD/CPreFrontEnd.s | 125 + asm/Kyoto_CWD/CProjectedShadow.s | 931 + asm/Kyoto_CWD/CRainSplashGenerator.s | 1223 + asm/Kyoto_CWD/CSaveGameScreen.s | 1812 + asm/Kyoto_CWD/CSlideShow.s | 5343 + asm/Kyoto_CWD/{ => Cameras}/CBallCamera.s | 0 .../{ => Cameras}/CBallCameraFailsafeState.s | 0 asm/Kyoto_CWD/{ => Cameras}/CCameraFilter.s | 0 asm/Kyoto_CWD/{ => Cameras}/CCameraHint.s | 0 asm/Kyoto_CWD/{ => Cameras}/CCameraManager.s | 0 .../{ => Cameras}/CCameraShakeData.s | 0 .../{ => Cameras}/CCinematicCamera.s | 0 .../{ => Cameras}/CFirstPersonCamera.s | 0 asm/Kyoto_CWD/{ => Cameras}/CGameCamera.s | 0 asm/Kyoto_CWD/Cameras/CInterpolationCamera.s | 1138 + asm/Kyoto_CWD/{ => Cameras}/CPathCamera.s | 0 asm/Kyoto_CWD/Enemies/CAtomicBeta.s | 1198 + asm/Kyoto_CWD/Enemies/CBurrower.s | 1668 + asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s | 3996 + asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s | 12528 ++ .../Enemies/CMetroidPrimeProjectile.s | 324 + asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s | 1749 + asm/Kyoto_CWD/Enemies/COmegaPirate.s | 7984 + asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s | 1003 + asm/Kyoto_CWD/Enemies/CPhazonPool.s | 1460 + asm/Kyoto_CWD/Enemies/CPuffer.s | 680 + asm/Kyoto_CWD/Enemies/CRidley.s | 10657 + asm/Kyoto_CWD/Enemies/CSeedling.s | 1203 + asm/Kyoto_CWD/Enemies/CTryclops.s | 3690 + asm/Kyoto_CWD/Enemies/CWallWalker.s | 1035 + asm/Kyoto_CWD/Enemies/SPositionHistory.s | 154 + asm/Kyoto_CWD/Factories/CSaveWorldFactory.s | 1082 + asm/Kyoto_CWD/Player/CGameHintInfo.s | 1511 + asm/Kyoto_CWD/Player/CMorphBallShadow.s | 1302 + asm/Kyoto_CWD/Player/CPlayerDynamics.s | 7483 + asm/Kyoto_CWD/Player/CPlayerInputFilter.s | 831 + asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s | 1133 + asm/Kyoto_CWD/ScriptObjects/CFire.s | 667 + asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s | 377 + asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s | 2340 + .../ScriptObjects/CScriptProjectedShadow.s | 449 + asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s | 179 + .../Weapons/CElectricBeamProjectile.s | 701 + asm/Kyoto_CWD/Weapons/CNewFlameThrower.s | 4475 + asm/Kyoto_CWD/Weapons/WeaponTypes.s | 773 + asm/Kyoto_CWD/main.s | 2 +- asm/MetaRender/CCubeRenderer.s | 12296 ++ asm/Weapons/CCollisionResponseData.s | 1583 + asm/Weapons/CDecal.s | 1131 + asm/Weapons/CDecalDataFactory.s | 1227 + asm/Weapons/CProjectileWeapon.s | 2554 + asm/Weapons/CProjectileWeaponDataFactory.s | 1163 + asm/Weapons/CWeaponDescription.s | 317 + asm/Weapons/IWeaponRenderer.s | 68 + asm/WorldFormat/CAreaBspTree.s | 26 + asm/WorldFormat/CAreaOctTree.s | 501 + asm/WorldFormat/CAreaOctTree_Tests.s | 1911 + asm/WorldFormat/CAreaRenderOctTree.s | 456 + asm/WorldFormat/CCollidableOBBTree.s | 3131 + asm/WorldFormat/CCollidableOBBTreeGroup.s | 1995 + asm/WorldFormat/CCollisionSurface.s | 93 + asm/WorldFormat/CMetroidAreaCollider.s | 4759 + asm/WorldFormat/CMetroidModelInstance.s | 123 + asm/WorldFormat/COBBTree.s | 2332 + asm/WorldFormat/CPVSVisOctree.s | 209 + asm/WorldFormat/CWorldLight.s | 257 + asm/text.s | 156202 --------------- obj_files.mk | 124 +- 118 files changed, 156622 insertions(+), 156214 deletions(-) create mode 100644 asm/Animation/CAnimCharacterSet.s create mode 100644 asm/Animation/CAnimTreeLoopIn.s create mode 100644 asm/Animation/CAnimation.s create mode 100644 asm/Animation/CAnimationManager.s create mode 100644 asm/Animation/CAnimationSet.s create mode 100644 asm/Animation/CSequenceHelper.s create mode 100644 asm/Basics/CBasics.s create mode 100644 asm/Basics/CBasicsDolphin.s create mode 100644 asm/Basics/CCallStackDolphin.s create mode 100644 asm/Basics/COsContext.s create mode 100644 asm/Basics/CSWDataDolphin.s create mode 100644 asm/Basics/CStopwatch.s create mode 100644 asm/Basics/RAssertDolphin.s create mode 100644 asm/Collision/CCollidableAABox.s create mode 100644 asm/Collision/CCollidableCollisionSurface.s create mode 100644 asm/Collision/CCollidableSphere.s create mode 100644 asm/Collision/CCollisionInfo.s create mode 100644 asm/Collision/CCollisionPrimitive.s create mode 100644 asm/Collision/CMRay.s create mode 100644 asm/Collision/CMaterialFilter.s create mode 100644 asm/Collision/CMaterialList.s create mode 100644 asm/Collision/COBBox.s create mode 100644 asm/Collision/CollisionUtil.s create mode 100644 asm/Collision/InternalColliders.s create mode 100644 asm/GuiSys/CAuiEnergyBarT01.s create mode 100644 asm/GuiSys/CAuiImagePane.s create mode 100644 asm/GuiSys/CAuiMain.s create mode 100644 asm/GuiSys/CAuiMeter.s create mode 100644 asm/GuiSys/CGuiGroup.s create mode 100644 asm/GuiSys/CGuiHeadWidget.s create mode 100644 asm/GuiSys/CGuiLight.s create mode 100644 asm/GuiSys/CGuiModel.s create mode 100644 asm/GuiSys/CGuiObject.s create mode 100644 asm/GuiSys/CGuiPane.s create mode 100644 asm/GuiSys/CGuiSliderGroup.s create mode 100644 asm/GuiSys/CGuiSys.s create mode 100644 asm/GuiSys/CGuiTableGroup.s create mode 100644 asm/GuiSys/CGuiTextPane.s create mode 100644 asm/GuiSys/CGuiTextSupport.s create mode 100644 asm/GuiSys/CGuiWidget.s create mode 100644 asm/GuiSys/CGuiWidgetDrawParms.s create mode 100644 asm/GuiSys/CGuiWidgetIdDB.s create mode 100644 asm/GuiSys/CRepeatState.s create mode 100644 asm/Kyoto_CWD/CArtifactDoll.s create mode 100644 asm/Kyoto_CWD/CErrorOutputWindow.s create mode 100644 asm/Kyoto_CWD/CFluidPlaneRender.s create mode 100644 asm/Kyoto_CWD/CGameCubeDoll.s create mode 100644 asm/Kyoto_CWD/CNESEmulator.s create mode 100644 asm/Kyoto_CWD/CPauseScreenBlur.s create mode 100644 asm/Kyoto_CWD/CPreFrontEnd.s create mode 100644 asm/Kyoto_CWD/CProjectedShadow.s create mode 100644 asm/Kyoto_CWD/CRainSplashGenerator.s create mode 100644 asm/Kyoto_CWD/CSaveGameScreen.s create mode 100644 asm/Kyoto_CWD/CSlideShow.s rename asm/Kyoto_CWD/{ => Cameras}/CBallCamera.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CBallCameraFailsafeState.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CCameraFilter.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CCameraHint.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CCameraManager.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CCameraShakeData.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CCinematicCamera.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CFirstPersonCamera.s (100%) rename asm/Kyoto_CWD/{ => Cameras}/CGameCamera.s (100%) create mode 100644 asm/Kyoto_CWD/Cameras/CInterpolationCamera.s rename asm/Kyoto_CWD/{ => Cameras}/CPathCamera.s (100%) create mode 100644 asm/Kyoto_CWD/Enemies/CAtomicBeta.s create mode 100644 asm/Kyoto_CWD/Enemies/CBurrower.s create mode 100644 asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s create mode 100644 asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s create mode 100644 asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s create mode 100644 asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s create mode 100644 asm/Kyoto_CWD/Enemies/COmegaPirate.s create mode 100644 asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s create mode 100644 asm/Kyoto_CWD/Enemies/CPhazonPool.s create mode 100644 asm/Kyoto_CWD/Enemies/CPuffer.s create mode 100644 asm/Kyoto_CWD/Enemies/CRidley.s create mode 100644 asm/Kyoto_CWD/Enemies/CSeedling.s create mode 100644 asm/Kyoto_CWD/Enemies/CTryclops.s create mode 100644 asm/Kyoto_CWD/Enemies/CWallWalker.s create mode 100644 asm/Kyoto_CWD/Enemies/SPositionHistory.s create mode 100644 asm/Kyoto_CWD/Factories/CSaveWorldFactory.s create mode 100644 asm/Kyoto_CWD/Player/CGameHintInfo.s create mode 100644 asm/Kyoto_CWD/Player/CMorphBallShadow.s create mode 100644 asm/Kyoto_CWD/Player/CPlayerDynamics.s create mode 100644 asm/Kyoto_CWD/Player/CPlayerInputFilter.s create mode 100644 asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s create mode 100644 asm/Kyoto_CWD/ScriptObjects/CFire.s create mode 100644 asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s create mode 100644 asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s create mode 100644 asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s create mode 100644 asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s create mode 100644 asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s create mode 100644 asm/Kyoto_CWD/Weapons/CNewFlameThrower.s create mode 100644 asm/Kyoto_CWD/Weapons/WeaponTypes.s create mode 100644 asm/MetaRender/CCubeRenderer.s create mode 100644 asm/Weapons/CCollisionResponseData.s create mode 100644 asm/Weapons/CDecal.s create mode 100644 asm/Weapons/CDecalDataFactory.s create mode 100644 asm/Weapons/CProjectileWeapon.s create mode 100644 asm/Weapons/CProjectileWeaponDataFactory.s create mode 100644 asm/Weapons/CWeaponDescription.s create mode 100644 asm/Weapons/IWeaponRenderer.s create mode 100644 asm/WorldFormat/CAreaBspTree.s create mode 100644 asm/WorldFormat/CAreaOctTree.s create mode 100644 asm/WorldFormat/CAreaOctTree_Tests.s create mode 100644 asm/WorldFormat/CAreaRenderOctTree.s create mode 100644 asm/WorldFormat/CCollidableOBBTree.s create mode 100644 asm/WorldFormat/CCollidableOBBTreeGroup.s create mode 100644 asm/WorldFormat/CCollisionSurface.s create mode 100644 asm/WorldFormat/CMetroidAreaCollider.s create mode 100644 asm/WorldFormat/CMetroidModelInstance.s create mode 100644 asm/WorldFormat/COBBTree.s create mode 100644 asm/WorldFormat/CPVSVisOctree.s create mode 100644 asm/WorldFormat/CWorldLight.s diff --git a/asm/Animation/CAnimCharacterSet.s b/asm/Animation/CAnimCharacterSet.s new file mode 100644 index 00000000..ea0a41b4 --- /dev/null +++ b/asm/Animation/CAnimCharacterSet.s @@ -0,0 +1,469 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802D80B8 002D5018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D80BC 002D501C 7C 08 02 A6 */ mflr r0 +/* 802D80C0 002D5020 3C 80 80 3D */ lis r4, lbl_803D6D30@ha +/* 802D80C4 002D5024 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D80C8 002D5028 38 84 6D 30 */ addi r4, r4, lbl_803D6D30@l +/* 802D80CC 002D502C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D80D0 002D5030 7C BF 2B 78 */ mr r31, r5 +/* 802D80D4 002D5034 38 A0 00 00 */ li r5, 0 +/* 802D80D8 002D5038 93 C1 00 08 */ stw r30, 8(r1) +/* 802D80DC 002D503C 7C 7E 1B 78 */ mr r30, r3 +/* 802D80E0 002D5040 38 60 00 78 */ li r3, 0x78 +/* 802D80E4 002D5044 48 03 D7 89 */ bl __nw__FUlPCcPCc +/* 802D80E8 002D5048 7C 64 1B 79 */ or. r4, r3, r3 +/* 802D80EC 002D504C 41 82 00 10 */ beq lbl_802D80FC +/* 802D80F0 002D5050 7F E4 FB 78 */ mr r4, r31 +/* 802D80F4 002D5054 48 00 05 AD */ bl __ct__17CAnimCharacterSetFR12CInputStream +/* 802D80F8 002D5058 7C 64 1B 78 */ mr r4, r3 +lbl_802D80FC: +/* 802D80FC 002D505C 7F C3 F3 78 */ mr r3, r30 +/* 802D8100 002D5060 48 00 00 1D */ bl sub_802d811c +/* 802D8104 002D5064 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8108 002D5068 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D810C 002D506C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8110 002D5070 7C 08 03 A6 */ mtlr r0 +/* 802D8114 002D5074 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8118 002D5078 4E 80 00 20 */ blr + +.global sub_802d811c +sub_802d811c: +/* 802D811C 002D507C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D8120 002D5080 7C 08 02 A6 */ mflr r0 +/* 802D8124 002D5084 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D8128 002D5088 7C 04 00 D0 */ neg r0, r4 +/* 802D812C 002D508C 7C 00 23 78 */ or r0, r0, r4 +/* 802D8130 002D5090 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D8134 002D5094 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D8138 002D5098 7C 7F 1B 78 */ mr r31, r3 +/* 802D813C 002D509C 38 61 00 08 */ addi r3, r1, 8 +/* 802D8140 002D50A0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802D8144 002D50A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D8148 002D50A8 98 01 00 10 */ stb r0, 0x10(r1) +/* 802D814C 002D50AC 48 00 04 29 */ bl sub_802d8574 +/* 802D8150 002D50B0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802D8154 002D50B4 38 00 00 00 */ li r0, 0 +/* 802D8158 002D50B8 98 01 00 08 */ stb r0, 8(r1) +/* 802D815C 002D50BC 7C 03 00 D0 */ neg r0, r3 +/* 802D8160 002D50C0 7C 00 1B 78 */ or r0, r0, r3 +/* 802D8164 002D50C4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D8168 002D50C8 98 1F 00 00 */ stb r0, 0(r31) +/* 802D816C 002D50CC 90 7F 00 04 */ stw r3, 4(r31) +/* 802D8170 002D50D0 88 01 00 08 */ lbz r0, 8(r1) +/* 802D8174 002D50D4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8178 002D50D8 41 82 00 24 */ beq lbl_802D819C +/* 802D817C 002D50DC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802D8180 002D50E0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8184 002D50E4 41 82 00 18 */ beq lbl_802D819C +/* 802D8188 002D50E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802D818C 002D50EC 38 80 00 01 */ li r4, 1 +/* 802D8190 002D50F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8194 002D50F4 7D 89 03 A6 */ mtctr r12 +/* 802D8198 002D50F8 4E 80 04 21 */ bctrl +lbl_802D819C: +/* 802D819C 002D50FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D81A0 002D5100 38 80 FF FF */ li r4, -1 +/* 802D81A4 002D5104 48 00 04 99 */ bl sub_802d863c +/* 802D81A8 002D5108 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D81AC 002D510C 7F E3 FB 78 */ mr r3, r31 +/* 802D81B0 002D5110 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D81B4 002D5114 7C 08 03 A6 */ mtlr r0 +/* 802D81B8 002D5118 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D81BC 002D511C 4E 80 00 20 */ blr + +.global sub_802d81c0 +sub_802d81c0: +/* 802D81C0 002D5120 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D81C4 002D5124 7C 08 02 A6 */ mflr r0 +/* 802D81C8 002D5128 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D81CC 002D512C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D81D0 002D5130 7C 9F 23 78 */ mr r31, r4 +/* 802D81D4 002D5134 93 C1 00 08 */ stw r30, 8(r1) +/* 802D81D8 002D5138 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D81DC 002D513C 41 82 00 58 */ beq lbl_802D8234 +/* 802D81E0 002D5140 3C 60 80 3F */ lis r3, lbl_803ECBD0@ha +/* 802D81E4 002D5144 38 03 CB D0 */ addi r0, r3, lbl_803ECBD0@l +/* 802D81E8 002D5148 90 1E 00 00 */ stw r0, 0(r30) +/* 802D81EC 002D514C 80 7E 00 04 */ lwz r3, 4(r30) +/* 802D81F0 002D5150 28 03 00 00 */ cmplwi r3, 0 +/* 802D81F4 002D5154 41 82 00 0C */ beq lbl_802D8200 +/* 802D81F8 002D5158 38 80 00 01 */ li r4, 1 +/* 802D81FC 002D515C 48 00 00 55 */ bl sub_802d8250 +lbl_802D8200: +/* 802D8200 002D5160 28 1E 00 00 */ cmplwi r30, 0 +/* 802D8204 002D5164 41 82 00 20 */ beq lbl_802D8224 +/* 802D8208 002D5168 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802D820C 002D516C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802D8210 002D5170 90 1E 00 00 */ stw r0, 0(r30) +/* 802D8214 002D5174 41 82 00 10 */ beq lbl_802D8224 +/* 802D8218 002D5178 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802D821C 002D517C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802D8220 002D5180 90 1E 00 00 */ stw r0, 0(r30) +lbl_802D8224: +/* 802D8224 002D5184 7F E0 07 35 */ extsh. r0, r31 +/* 802D8228 002D5188 40 81 00 0C */ ble lbl_802D8234 +/* 802D822C 002D518C 7F C3 F3 78 */ mr r3, r30 +/* 802D8230 002D5190 48 03 D7 01 */ bl Free__7CMemoryFPCv +lbl_802D8234: +/* 802D8234 002D5194 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8238 002D5198 7F C3 F3 78 */ mr r3, r30 +/* 802D823C 002D519C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8240 002D51A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8244 002D51A4 7C 08 03 A6 */ mtlr r0 +/* 802D8248 002D51A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D824C 002D51AC 4E 80 00 20 */ blr + +.global sub_802d8250 +sub_802d8250: +/* 802D8250 002D51B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8254 002D51B4 7C 08 02 A6 */ mflr r0 +/* 802D8258 002D51B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D825C 002D51BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8260 002D51C0 7C 9F 23 78 */ mr r31, r4 +/* 802D8264 002D51C4 93 C1 00 08 */ stw r30, 8(r1) +/* 802D8268 002D51C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D826C 002D51CC 41 82 00 2C */ beq lbl_802D8298 +/* 802D8270 002D51D0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D8274 002D51D4 38 80 FF FF */ li r4, -1 +/* 802D8278 002D51D8 48 00 01 ED */ bl sub_802d8464 +/* 802D827C 002D51DC 38 7E 00 04 */ addi r3, r30, 4 +/* 802D8280 002D51E0 38 80 FF FF */ li r4, -1 +/* 802D8284 002D51E4 48 00 00 31 */ bl sub_802d82b4 +/* 802D8288 002D51E8 7F E0 07 35 */ extsh. r0, r31 +/* 802D828C 002D51EC 40 81 00 0C */ ble lbl_802D8298 +/* 802D8290 002D51F0 7F C3 F3 78 */ mr r3, r30 +/* 802D8294 002D51F4 48 03 D6 9D */ bl Free__7CMemoryFPCv +lbl_802D8298: +/* 802D8298 002D51F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D829C 002D51FC 7F C3 F3 78 */ mr r3, r30 +/* 802D82A0 002D5200 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D82A4 002D5204 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D82A8 002D5208 7C 08 03 A6 */ mtlr r0 +/* 802D82AC 002D520C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D82B0 002D5210 4E 80 00 20 */ blr + +.global sub_802d82b4 +sub_802d82b4: +/* 802D82B4 002D5214 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D82B8 002D5218 7C 08 02 A6 */ mflr r0 +/* 802D82BC 002D521C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D82C0 002D5220 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D82C4 002D5224 7C 9F 23 78 */ mr r31, r4 +/* 802D82C8 002D5228 93 C1 00 08 */ stw r30, 8(r1) +/* 802D82CC 002D522C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D82D0 002D5230 41 82 00 20 */ beq lbl_802D82F0 +/* 802D82D4 002D5234 38 7E 00 04 */ addi r3, r30, 4 +/* 802D82D8 002D5238 38 80 FF FF */ li r4, -1 +/* 802D82DC 002D523C 48 00 00 31 */ bl sub_802d830c +/* 802D82E0 002D5240 7F E0 07 35 */ extsh. r0, r31 +/* 802D82E4 002D5244 40 81 00 0C */ ble lbl_802D82F0 +/* 802D82E8 002D5248 7F C3 F3 78 */ mr r3, r30 +/* 802D82EC 002D524C 48 03 D6 45 */ bl Free__7CMemoryFPCv +lbl_802D82F0: +/* 802D82F0 002D5250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D82F4 002D5254 7F C3 F3 78 */ mr r3, r30 +/* 802D82F8 002D5258 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D82FC 002D525C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8300 002D5260 7C 08 03 A6 */ mtlr r0 +/* 802D8304 002D5264 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8308 002D5268 4E 80 00 20 */ blr + +.global sub_802d830c +sub_802d830c: +/* 802D830C 002D526C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D8310 002D5270 7C 08 02 A6 */ mflr r0 +/* 802D8314 002D5274 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D8318 002D5278 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D831C 002D527C 7C 9F 23 78 */ mr r31, r4 +/* 802D8320 002D5280 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D8324 002D5284 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8328 002D5288 41 82 00 54 */ beq lbl_802D837C +/* 802D832C 002D528C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D8330 002D5290 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D8334 002D5294 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802D8338 002D5298 38 81 00 0C */ addi r4, r1, 0xc +/* 802D833C 002D529C 1C 00 00 C4 */ mulli r0, r0, 0xc4 +/* 802D8340 002D52A0 7C A5 02 14 */ add r5, r5, r0 +/* 802D8344 002D52A4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D8348 002D52A8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802D834C 002D52AC 90 A1 00 08 */ stw r5, 8(r1) +/* 802D8350 002D52B0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D8354 002D52B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8358 002D52B8 48 00 00 41 */ bl sub_802d8398 +/* 802D835C 002D52BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D8360 002D52C0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8364 002D52C4 41 82 00 08 */ beq lbl_802D836C +/* 802D8368 002D52C8 48 03 D5 C9 */ bl Free__7CMemoryFPCv +lbl_802D836C: +/* 802D836C 002D52CC 7F E0 07 35 */ extsh. r0, r31 +/* 802D8370 002D52D0 40 81 00 0C */ ble lbl_802D837C +/* 802D8374 002D52D4 7F C3 F3 78 */ mr r3, r30 +/* 802D8378 002D52D8 48 03 D5 B9 */ bl Free__7CMemoryFPCv +lbl_802D837C: +/* 802D837C 002D52DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D8380 002D52E0 7F C3 F3 78 */ mr r3, r30 +/* 802D8384 002D52E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D8388 002D52E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D838C 002D52EC 7C 08 03 A6 */ mtlr r0 +/* 802D8390 002D52F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D8394 002D52F4 4E 80 00 20 */ blr + +.global sub_802d8398 +sub_802d8398: +/* 802D8398 002D52F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D839C 002D52FC 7C 08 02 A6 */ mflr r0 +/* 802D83A0 002D5300 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D83A4 002D5304 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D83A8 002D5308 93 C1 00 08 */ stw r30, 8(r1) +/* 802D83AC 002D530C 7C 9E 23 78 */ mr r30, r4 +/* 802D83B0 002D5310 83 E3 00 00 */ lwz r31, 0(r3) +/* 802D83B4 002D5314 48 00 00 10 */ b lbl_802D83C4 +lbl_802D83B8: +/* 802D83B8 002D5318 7F E3 FB 78 */ mr r3, r31 +/* 802D83BC 002D531C 48 00 00 2D */ bl sub_802d83e8 +/* 802D83C0 002D5320 3B FF 00 C4 */ addi r31, r31, 0xc4 +lbl_802D83C4: +/* 802D83C4 002D5324 80 1E 00 00 */ lwz r0, 0(r30) +/* 802D83C8 002D5328 7C 1F 00 40 */ cmplw r31, r0 +/* 802D83CC 002D532C 40 82 FF EC */ bne lbl_802D83B8 +/* 802D83D0 002D5330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D83D4 002D5334 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D83D8 002D5338 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D83DC 002D533C 7C 08 03 A6 */ mtlr r0 +/* 802D83E0 002D5340 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D83E4 002D5344 4E 80 00 20 */ blr + +.global sub_802d83e8 +sub_802d83e8: +/* 802D83E8 002D5348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D83EC 002D534C 7C 08 02 A6 */ mflr r0 +/* 802D83F0 002D5350 38 80 FF FF */ li r4, -1 +/* 802D83F4 002D5354 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D83F8 002D5358 48 00 00 15 */ bl __dt__13CAnimationSetFv +/* 802D83FC 002D535C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8400 002D5360 7C 08 03 A6 */ mtlr r0 +/* 802D8404 002D5364 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8408 002D5368 4E 80 00 20 */ blr + +.global __dt__13CAnimationSetFv +__dt__13CAnimationSetFv: +/* 802D840C 002D536C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8410 002D5370 7C 08 02 A6 */ mflr r0 +/* 802D8414 002D5374 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8418 002D5378 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D841C 002D537C 7C 9F 23 78 */ mr r31, r4 +/* 802D8420 002D5380 93 C1 00 08 */ stw r30, 8(r1) +/* 802D8424 002D5384 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8428 002D5388 41 82 00 20 */ beq lbl_802D8448 +/* 802D842C 002D538C 38 7E 00 04 */ addi r3, r30, 4 +/* 802D8430 002D5390 38 80 FF FF */ li r4, -1 +/* 802D8434 002D5394 4B D5 6A 91 */ bl __dt__14CCharacterInfoFv +/* 802D8438 002D5398 7F E0 07 35 */ extsh. r0, r31 +/* 802D843C 002D539C 40 81 00 0C */ ble lbl_802D8448 +/* 802D8440 002D53A0 7F C3 F3 78 */ mr r3, r30 +/* 802D8444 002D53A4 48 03 D4 ED */ bl Free__7CMemoryFPCv +lbl_802D8448: +/* 802D8448 002D53A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D844C 002D53AC 7F C3 F3 78 */ mr r3, r30 +/* 802D8450 002D53B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8454 002D53B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8458 002D53B8 7C 08 03 A6 */ mtlr r0 +/* 802D845C 002D53BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8460 002D53C0 4E 80 00 20 */ blr + +.global sub_802d8464 +sub_802d8464: +/* 802D8464 002D53C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D8468 002D53C8 7C 08 02 A6 */ mflr r0 +/* 802D846C 002D53CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D8470 002D53D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D8474 002D53D4 7C 9F 23 78 */ mr r31, r4 +/* 802D8478 002D53D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D847C 002D53DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8480 002D53E0 41 82 00 D8 */ beq lbl_802D8558 +/* 802D8484 002D53E4 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 802D8488 002D53E8 41 82 00 44 */ beq lbl_802D84CC +/* 802D848C 002D53EC 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802D8490 002D53F0 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802D8494 002D53F4 54 00 18 38 */ slwi r0, r0, 3 +/* 802D8498 002D53F8 7C 03 02 14 */ add r0, r3, r0 +/* 802D849C 002D53FC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802D84A0 002D5400 7C 64 1B 78 */ mr r4, r3 +/* 802D84A4 002D5404 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D84A8 002D5408 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D84AC 002D540C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802D84B0 002D5410 48 00 00 08 */ b lbl_802D84B8 +lbl_802D84B4: +/* 802D84B4 002D5414 38 84 00 08 */ addi r4, r4, 8 +lbl_802D84B8: +/* 802D84B8 002D5418 7C 04 00 40 */ cmplw r4, r0 +/* 802D84BC 002D541C 40 82 FF F8 */ bne lbl_802D84B4 +/* 802D84C0 002D5420 28 03 00 00 */ cmplwi r3, 0 +/* 802D84C4 002D5424 41 82 00 08 */ beq lbl_802D84CC +/* 802D84C8 002D5428 48 03 D4 69 */ bl Free__7CMemoryFPCv +lbl_802D84CC: +/* 802D84CC 002D542C 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802D84D0 002D5430 38 80 FF FF */ li r4, -1 +/* 802D84D4 002D5434 4B FF F2 89 */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" +/* 802D84D8 002D5438 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 802D84DC 002D543C 41 82 00 44 */ beq lbl_802D8520 +/* 802D84E0 002D5440 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802D84E4 002D5444 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802D84E8 002D5448 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D84EC 002D544C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802D84F0 002D5450 7C 64 1B 78 */ mr r4, r3 +/* 802D84F4 002D5454 7C 03 02 14 */ add r0, r3, r0 +/* 802D84F8 002D5458 90 61 00 08 */ stw r3, 8(r1) +/* 802D84FC 002D545C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8500 002D5460 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D8504 002D5464 48 00 00 08 */ b lbl_802D850C +lbl_802D8508: +/* 802D8508 002D5468 38 84 00 0C */ addi r4, r4, 0xc +lbl_802D850C: +/* 802D850C 002D546C 7C 04 00 40 */ cmplw r4, r0 +/* 802D8510 002D5470 40 82 FF F8 */ bne lbl_802D8508 +/* 802D8514 002D5474 28 03 00 00 */ cmplwi r3, 0 +/* 802D8518 002D5478 41 82 00 08 */ beq lbl_802D8520 +/* 802D851C 002D547C 48 03 D4 15 */ bl Free__7CMemoryFPCv +lbl_802D8520: +/* 802D8520 002D5480 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 802D8524 002D5484 41 82 00 0C */ beq lbl_802D8530 +/* 802D8528 002D5488 38 7E 00 24 */ addi r3, r30, 0x24 +/* 802D852C 002D548C 4B D5 BD 69 */ bl __dt__17CMetaTransFactoryFv +lbl_802D8530: +/* 802D8530 002D5490 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D8534 002D5494 38 80 FF FF */ li r4, -1 +/* 802D8538 002D5498 4B FF F2 D9 */ bl sub_802d7810 +/* 802D853C 002D549C 38 7E 00 04 */ addi r3, r30, 4 +/* 802D8540 002D54A0 38 80 FF FF */ li r4, -1 +/* 802D8544 002D54A4 4B FF F4 F5 */ bl sub_802d7a38 +/* 802D8548 002D54A8 7F E0 07 35 */ extsh. r0, r31 +/* 802D854C 002D54AC 40 81 00 0C */ ble lbl_802D8558 +/* 802D8550 002D54B0 7F C3 F3 78 */ mr r3, r30 +/* 802D8554 002D54B4 48 03 D3 DD */ bl Free__7CMemoryFPCv +lbl_802D8558: +/* 802D8558 002D54B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D855C 002D54BC 7F C3 F3 78 */ mr r3, r30 +/* 802D8560 002D54C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D8564 002D54C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D8568 002D54C8 7C 08 03 A6 */ mtlr r0 +/* 802D856C 002D54CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D8570 002D54D0 4E 80 00 20 */ blr + +.global sub_802d8574 +sub_802d8574: +/* 802D8574 002D54D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8578 002D54D8 7C 08 02 A6 */ mflr r0 +/* 802D857C 002D54DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8580 002D54E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8584 002D54E4 7C 7F 1B 78 */ mr r31, r3 +/* 802D8588 002D54E8 48 00 00 19 */ bl sub_802d85a0 +/* 802D858C 002D54EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8590 002D54F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8594 002D54F4 7C 08 03 A6 */ mtlr r0 +/* 802D8598 002D54F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D859C 002D54FC 4E 80 00 20 */ blr + +.global sub_802d85a0 +sub_802d85a0: +/* 802D85A0 002D5500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D85A4 002D5504 7C 08 02 A6 */ mflr r0 +/* 802D85A8 002D5508 3C A0 80 3D */ lis r5, lbl_803D6D30@ha +/* 802D85AC 002D550C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D85B0 002D5510 38 05 6D 30 */ addi r0, r5, lbl_803D6D30@l +/* 802D85B4 002D5514 38 A0 00 00 */ li r5, 0 +/* 802D85B8 002D5518 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D85BC 002D551C 7C 9F 23 78 */ mr r31, r4 +/* 802D85C0 002D5520 7C 04 03 78 */ mr r4, r0 +/* 802D85C4 002D5524 93 C1 00 08 */ stw r30, 8(r1) +/* 802D85C8 002D5528 7C 7E 1B 78 */ mr r30, r3 +/* 802D85CC 002D552C 38 60 00 08 */ li r3, 8 +/* 802D85D0 002D5530 48 03 D2 9D */ bl __nw__FUlPCcPCc +/* 802D85D4 002D5534 28 03 00 00 */ cmplwi r3, 0 +/* 802D85D8 002D5538 41 82 00 38 */ beq lbl_802D8610 +/* 802D85DC 002D553C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802D85E0 002D5540 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802D85E4 002D5544 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802D85E8 002D5548 3C 80 80 3F */ lis r4, lbl_803ECBD0@ha +/* 802D85EC 002D554C 90 03 00 00 */ stw r0, 0(r3) +/* 802D85F0 002D5550 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802D85F4 002D5554 38 A0 00 00 */ li r5, 0 +/* 802D85F8 002D5558 38 04 CB D0 */ addi r0, r4, lbl_803ECBD0@l +/* 802D85FC 002D555C 90 C3 00 00 */ stw r6, 0(r3) +/* 802D8600 002D5560 98 BF 00 00 */ stb r5, 0(r31) +/* 802D8604 002D5564 80 9F 00 04 */ lwz r4, 4(r31) +/* 802D8608 002D5568 90 83 00 04 */ stw r4, 4(r3) +/* 802D860C 002D556C 90 03 00 00 */ stw r0, 0(r3) +lbl_802D8610: +/* 802D8610 002D5570 7C 03 00 D0 */ neg r0, r3 +/* 802D8614 002D5574 7C 00 1B 78 */ or r0, r0, r3 +/* 802D8618 002D5578 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D861C 002D557C 98 1E 00 00 */ stb r0, 0(r30) +/* 802D8620 002D5580 90 7E 00 04 */ stw r3, 4(r30) +/* 802D8624 002D5584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8628 002D5588 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D862C 002D558C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8630 002D5590 7C 08 03 A6 */ mtlr r0 +/* 802D8634 002D5594 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8638 002D5598 4E 80 00 20 */ blr + +.global sub_802d863c +sub_802d863c: +/* 802D863C 002D559C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8640 002D55A0 7C 08 02 A6 */ mflr r0 +/* 802D8644 002D55A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8648 002D55A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D864C 002D55AC 7C 9F 23 78 */ mr r31, r4 +/* 802D8650 002D55B0 93 C1 00 08 */ stw r30, 8(r1) +/* 802D8654 002D55B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8658 002D55B8 41 82 00 2C */ beq lbl_802D8684 +/* 802D865C 002D55BC 88 1E 00 00 */ lbz r0, 0(r30) +/* 802D8660 002D55C0 28 00 00 00 */ cmplwi r0, 0 +/* 802D8664 002D55C4 41 82 00 10 */ beq lbl_802D8674 +/* 802D8668 002D55C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802D866C 002D55CC 38 80 00 01 */ li r4, 1 +/* 802D8670 002D55D0 4B FF FB E1 */ bl sub_802d8250 +lbl_802D8674: +/* 802D8674 002D55D4 7F E0 07 35 */ extsh. r0, r31 +/* 802D8678 002D55D8 40 81 00 0C */ ble lbl_802D8684 +/* 802D867C 002D55DC 7F C3 F3 78 */ mr r3, r30 +/* 802D8680 002D55E0 48 03 D2 B1 */ bl Free__7CMemoryFPCv +lbl_802D8684: +/* 802D8684 002D55E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8688 002D55E8 7F C3 F3 78 */ mr r3, r30 +/* 802D868C 002D55EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8690 002D55F0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8694 002D55F4 7C 08 03 A6 */ mtlr r0 +/* 802D8698 002D55F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D869C 002D55FC 4E 80 00 20 */ blr + +.global __ct__17CAnimCharacterSetFR12CInputStream +__ct__17CAnimCharacterSetFR12CInputStream: +/* 802D86A0 002D5600 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D86A4 002D5604 7C 08 02 A6 */ mflr r0 +/* 802D86A8 002D5608 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D86AC 002D560C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D86B0 002D5610 7C 9F 23 78 */ mr r31, r4 +/* 802D86B4 002D5614 93 C1 00 08 */ stw r30, 8(r1) +/* 802D86B8 002D5618 7C 7E 1B 78 */ mr r30, r3 +/* 802D86BC 002D561C 7F E3 FB 78 */ mr r3, r31 +/* 802D86C0 002D5620 48 06 65 F1 */ bl ReadShort__12CInputStreamFv +/* 802D86C4 002D5624 B0 7E 00 00 */ sth r3, 0(r30) +/* 802D86C8 002D5628 7F E4 FB 78 */ mr r4, r31 +/* 802D86CC 002D562C 38 7E 00 04 */ addi r3, r30, 4 +/* 802D86D0 002D5630 48 00 6E 05 */ bl __ct__13CCharacterSetFR12CInputStream +/* 802D86D4 002D5634 7F E4 FB 78 */ mr r4, r31 +/* 802D86D8 002D5638 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D86DC 002D563C 4B FF ED 25 */ bl __ct__13CAnimationSetFR12CInputStream +/* 802D86E0 002D5640 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D86E4 002D5644 7F C3 F3 78 */ mr r3, r30 +/* 802D86E8 002D5648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D86EC 002D564C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D86F0 002D5650 7C 08 03 A6 */ mtlr r0 +/* 802D86F4 002D5654 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D86F8 002D5658 4E 80 00 20 */ blr diff --git a/asm/Animation/CAnimTreeLoopIn.s b/asm/Animation/CAnimTreeLoopIn.s new file mode 100644 index 00000000..e87353f8 --- /dev/null +++ b/asm/Animation/CAnimTreeLoopIn.s @@ -0,0 +1,1512 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CAnimTreeLoopInFv +__dt__15CAnimTreeLoopInFv: +/* 802D86FC 002D565C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8700 002D5660 7C 08 02 A6 */ mflr r0 +/* 802D8704 002D5664 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8708 002D5668 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D870C 002D566C 7C 9F 23 78 */ mr r31, r4 +/* 802D8710 002D5670 93 C1 00 08 */ stw r30, 8(r1) +/* 802D8714 002D5674 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8718 002D5678 41 82 00 DC */ beq lbl_802D87F4 +/* 802D871C 002D567C 3C 80 80 3F */ lis r4, lbl_803ECBE0@ha +/* 802D8720 002D5680 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802D8724 002D5684 38 04 CB E0 */ addi r0, r4, lbl_803ECBE0@l +/* 802D8728 002D5688 38 80 FF FF */ li r4, -1 +/* 802D872C 002D568C 90 1E 00 00 */ stw r0, 0(r30) +/* 802D8730 002D5690 48 00 00 E1 */ bl sub_802d8810 +/* 802D8734 002D5694 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802D8738 002D5698 41 82 00 2C */ beq lbl_802D8764 +/* 802D873C 002D569C 34 7E 00 28 */ addic. r3, r30, 0x28 +/* 802D8740 002D56A0 41 82 00 10 */ beq lbl_802D8750 +/* 802D8744 002D56A4 28 03 00 00 */ cmplwi r3, 0 +/* 802D8748 002D56A8 41 82 00 08 */ beq lbl_802D8750 +/* 802D874C 002D56AC 4B D5 8F DD */ bl sub_80031728 +lbl_802D8750: +/* 802D8750 002D56B0 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802D8754 002D56B4 41 82 00 10 */ beq lbl_802D8764 +/* 802D8758 002D56B8 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802D875C 002D56BC 38 80 00 00 */ li r4, 0 +/* 802D8760 002D56C0 48 06 86 E1 */ bl __dt__6CTokenFv +lbl_802D8764: +/* 802D8764 002D56C4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D8768 002D56C8 41 82 00 14 */ beq lbl_802D877C +/* 802D876C 002D56CC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D8770 002D56D0 41 82 00 0C */ beq lbl_802D877C +/* 802D8774 002D56D4 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D8778 002D56D8 4B D5 88 29 */ bl sub_80030fa0 +lbl_802D877C: +/* 802D877C 002D56DC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D8780 002D56E0 41 82 00 64 */ beq lbl_802D87E4 +/* 802D8784 002D56E4 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802D8788 002D56E8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D878C 002D56EC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802D8790 002D56F0 90 1E 00 00 */ stw r0, 0(r30) +/* 802D8794 002D56F4 41 82 00 14 */ beq lbl_802D87A8 +/* 802D8798 002D56F8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D879C 002D56FC 41 82 00 0C */ beq lbl_802D87A8 +/* 802D87A0 002D5700 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D87A4 002D5704 4B D5 87 FD */ bl sub_80030fa0 +lbl_802D87A8: +/* 802D87A8 002D5708 28 1E 00 00 */ cmplwi r30, 0 +/* 802D87AC 002D570C 41 82 00 38 */ beq lbl_802D87E4 +/* 802D87B0 002D5710 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802D87B4 002D5714 38 80 00 02 */ li r4, 2 +/* 802D87B8 002D5718 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802D87BC 002D571C 90 1E 00 00 */ stw r0, 0(r30) +/* 802D87C0 002D5720 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D87C4 002D5724 48 01 F3 E5 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802D87C8 002D5728 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D87CC 002D572C 41 82 00 0C */ beq lbl_802D87D8 +/* 802D87D0 002D5730 38 7E 00 04 */ addi r3, r30, 4 +/* 802D87D4 002D5734 48 06 53 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D87D8: +/* 802D87D8 002D5738 7F C3 F3 78 */ mr r3, r30 +/* 802D87DC 002D573C 38 80 00 00 */ li r4, 0 +/* 802D87E0 002D5740 48 02 56 F5 */ bl __dt__11IAnimReaderFv +lbl_802D87E4: +/* 802D87E4 002D5744 7F E0 07 35 */ extsh. r0, r31 +/* 802D87E8 002D5748 40 81 00 0C */ ble lbl_802D87F4 +/* 802D87EC 002D574C 7F C3 F3 78 */ mr r3, r30 +/* 802D87F0 002D5750 48 03 D1 41 */ bl Free__7CMemoryFPCv +lbl_802D87F4: +/* 802D87F4 002D5754 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D87F8 002D5758 7F C3 F3 78 */ mr r3, r30 +/* 802D87FC 002D575C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8800 002D5760 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D8804 002D5764 7C 08 03 A6 */ mtlr r0 +/* 802D8808 002D5768 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D880C 002D576C 4E 80 00 20 */ blr + +.global sub_802d8810 +sub_802d8810: +/* 802D8810 002D5770 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D8814 002D5774 7C 08 02 A6 */ mflr r0 +/* 802D8818 002D5778 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D881C 002D577C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802D8820 002D5780 7C 9F 23 78 */ mr r31, r4 +/* 802D8824 002D5784 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802D8828 002D5788 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D882C 002D578C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802D8830 002D5790 93 81 00 50 */ stw r28, 0x50(r1) +/* 802D8834 002D5794 41 82 01 94 */ beq lbl_802D89C8 +/* 802D8838 002D5798 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 802D883C 002D579C 41 82 00 5C */ beq lbl_802D8898 +/* 802D8840 002D57A0 80 1E 00 4C */ lwz r0, 0x4c(r30) +/* 802D8844 002D57A4 83 9E 00 54 */ lwz r28, 0x54(r30) +/* 802D8848 002D57A8 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802D884C 002D57AC 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802D8850 002D57B0 7F BC 02 14 */ add r29, r28, r0 +/* 802D8854 002D57B4 93 81 00 38 */ stw r28, 0x38(r1) +/* 802D8858 002D57B8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802D885C 002D57BC 93 A1 00 40 */ stw r29, 0x40(r1) +/* 802D8860 002D57C0 48 00 00 20 */ b lbl_802D8880 +lbl_802D8864: +/* 802D8864 002D57C4 7F 83 E3 78 */ mr r3, r28 +/* 802D8868 002D57C8 38 80 FF FF */ li r4, -1 +/* 802D886C 002D57CC 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8870 002D57D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8874 002D57D4 7D 89 03 A6 */ mtctr r12 +/* 802D8878 002D57D8 4E 80 04 21 */ bctrl +/* 802D887C 002D57DC 3B 9C 00 44 */ addi r28, r28, 0x44 +lbl_802D8880: +/* 802D8880 002D57E0 7C 1C E8 40 */ cmplw r28, r29 +/* 802D8884 002D57E4 40 82 FF E0 */ bne lbl_802D8864 +/* 802D8888 002D57E8 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802D888C 002D57EC 28 03 00 00 */ cmplwi r3, 0 +/* 802D8890 002D57F0 41 82 00 08 */ beq lbl_802D8898 +/* 802D8894 002D57F4 48 03 D0 9D */ bl Free__7CMemoryFPCv +lbl_802D8898: +/* 802D8898 002D57F8 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 802D889C 002D57FC 41 82 00 5C */ beq lbl_802D88F8 +/* 802D88A0 002D5800 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 802D88A4 002D5804 83 9E 00 44 */ lwz r28, 0x44(r30) +/* 802D88A8 002D5808 1C 00 00 5C */ mulli r0, r0, 0x5c +/* 802D88AC 002D580C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802D88B0 002D5810 7F BC 02 14 */ add r29, r28, r0 +/* 802D88B4 002D5814 93 81 00 28 */ stw r28, 0x28(r1) +/* 802D88B8 002D5818 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802D88BC 002D581C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 802D88C0 002D5820 48 00 00 20 */ b lbl_802D88E0 +lbl_802D88C4: +/* 802D88C4 002D5824 7F 83 E3 78 */ mr r3, r28 +/* 802D88C8 002D5828 38 80 FF FF */ li r4, -1 +/* 802D88CC 002D582C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D88D0 002D5830 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D88D4 002D5834 7D 89 03 A6 */ mtctr r12 +/* 802D88D8 002D5838 4E 80 04 21 */ bctrl +/* 802D88DC 002D583C 3B 9C 00 5C */ addi r28, r28, 0x5c +lbl_802D88E0: +/* 802D88E0 002D5840 7C 1C E8 40 */ cmplw r28, r29 +/* 802D88E4 002D5844 40 82 FF E0 */ bne lbl_802D88C4 +/* 802D88E8 002D5848 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 802D88EC 002D584C 28 03 00 00 */ cmplwi r3, 0 +/* 802D88F0 002D5850 41 82 00 08 */ beq lbl_802D88F8 +/* 802D88F4 002D5854 48 03 D0 3D */ bl Free__7CMemoryFPCv +lbl_802D88F8: +/* 802D88F8 002D5858 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 802D88FC 002D585C 41 82 00 5C */ beq lbl_802D8958 +/* 802D8900 002D5860 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802D8904 002D5864 83 9E 00 34 */ lwz r28, 0x34(r30) +/* 802D8908 002D5868 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 802D890C 002D586C 93 81 00 1C */ stw r28, 0x1c(r1) +/* 802D8910 002D5870 7F BC 02 14 */ add r29, r28, r0 +/* 802D8914 002D5874 93 81 00 18 */ stw r28, 0x18(r1) +/* 802D8918 002D5878 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D891C 002D587C 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802D8920 002D5880 48 00 00 20 */ b lbl_802D8940 +lbl_802D8924: +/* 802D8924 002D5884 7F 83 E3 78 */ mr r3, r28 +/* 802D8928 002D5888 38 80 FF FF */ li r4, -1 +/* 802D892C 002D588C 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8930 002D5890 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8934 002D5894 7D 89 03 A6 */ mtctr r12 +/* 802D8938 002D5898 4E 80 04 21 */ bctrl +/* 802D893C 002D589C 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_802D8940: +/* 802D8940 002D58A0 7C 1C E8 40 */ cmplw r28, r29 +/* 802D8944 002D58A4 40 82 FF E0 */ bne lbl_802D8924 +/* 802D8948 002D58A8 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802D894C 002D58AC 28 03 00 00 */ cmplwi r3, 0 +/* 802D8950 002D58B0 41 82 00 08 */ beq lbl_802D8958 +/* 802D8954 002D58B4 48 03 CF DD */ bl Free__7CMemoryFPCv +lbl_802D8958: +/* 802D8958 002D58B8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 802D895C 002D58BC 41 82 00 5C */ beq lbl_802D89B8 +/* 802D8960 002D58C0 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 802D8964 002D58C4 83 9E 00 24 */ lwz r28, 0x24(r30) +/* 802D8968 002D58C8 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802D896C 002D58CC 93 81 00 0C */ stw r28, 0xc(r1) +/* 802D8970 002D58D0 7F BC 02 14 */ add r29, r28, r0 +/* 802D8974 002D58D4 93 81 00 08 */ stw r28, 8(r1) +/* 802D8978 002D58D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D897C 002D58DC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802D8980 002D58E0 48 00 00 20 */ b lbl_802D89A0 +lbl_802D8984: +/* 802D8984 002D58E4 7F 83 E3 78 */ mr r3, r28 +/* 802D8988 002D58E8 38 80 FF FF */ li r4, -1 +/* 802D898C 002D58EC 81 9C 00 00 */ lwz r12, 0(r28) +/* 802D8990 002D58F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8994 002D58F4 7D 89 03 A6 */ mtctr r12 +/* 802D8998 002D58F8 4E 80 04 21 */ bctrl +/* 802D899C 002D58FC 3B 9C 00 3C */ addi r28, r28, 0x3c +lbl_802D89A0: +/* 802D89A0 002D5900 7C 1C E8 40 */ cmplw r28, r29 +/* 802D89A4 002D5904 40 82 FF E0 */ bne lbl_802D8984 +/* 802D89A8 002D5908 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802D89AC 002D590C 28 03 00 00 */ cmplwi r3, 0 +/* 802D89B0 002D5910 41 82 00 08 */ beq lbl_802D89B8 +/* 802D89B4 002D5914 48 03 CF 7D */ bl Free__7CMemoryFPCv +lbl_802D89B8: +/* 802D89B8 002D5918 7F E0 07 35 */ extsh. r0, r31 +/* 802D89BC 002D591C 40 81 00 0C */ ble lbl_802D89C8 +/* 802D89C0 002D5920 7F C3 F3 78 */ mr r3, r30 +/* 802D89C4 002D5924 48 03 CF 6D */ bl Free__7CMemoryFPCv +lbl_802D89C8: +/* 802D89C8 002D5928 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D89CC 002D592C 7F C3 F3 78 */ mr r3, r30 +/* 802D89D0 002D5930 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802D89D4 002D5934 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802D89D8 002D5938 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802D89DC 002D593C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802D89E0 002D5940 7C 08 03 A6 */ mtlr r0 +/* 802D89E4 002D5944 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D89E8 002D5948 4E 80 00 20 */ blr + +.global Depth__20CAnimTreeSingleChildCFv +Depth__20CAnimTreeSingleChildCFv: +/* 802D89EC 002D594C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D89F0 002D5950 7C 08 02 A6 */ mflr r0 +/* 802D89F4 002D5954 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D89F8 002D5958 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802D89FC 002D595C 80 63 00 00 */ lwz r3, 0(r3) +/* 802D8A00 002D5960 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8A04 002D5964 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802D8A08 002D5968 7D 89 03 A6 */ mtctr r12 +/* 802D8A0C 002D596C 4E 80 04 21 */ bctrl +/* 802D8A10 002D5970 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A14 002D5974 38 63 00 01 */ addi r3, r3, 1 +/* 802D8A18 002D5978 7C 08 03 A6 */ mtlr r0 +/* 802D8A1C 002D597C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A20 002D5980 4E 80 00 20 */ blr + +.global "CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" +"CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>": +/* 802D8A24 002D5984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8A28 002D5988 7C 08 02 A6 */ mflr r0 +/* 802D8A2C 002D598C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D8A30 002D5990 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8A34 002D5994 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D8A38 002D5998 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8A3C 002D599C 7C 7F 1B 78 */ mr r31, r3 +/* 802D8A40 002D59A0 4B D2 C2 79 */ bl string_l__4rstlFPCc +/* 802D8A44 002D59A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A48 002D59A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8A4C 002D59AC 7C 08 03 A6 */ mtlr r0 +/* 802D8A50 002D59B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A54 002D59B4 4E 80 00 20 */ blr + +.global VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv +VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv: +/* 802D8A58 002D59B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8A5C 002D59BC 7C 08 02 A6 */ mflr r0 +/* 802D8A60 002D59C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8A64 002D59C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8A68 002D59C8 7C 7F 1B 78 */ mr r31, r3 +/* 802D8A6C 002D59CC 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8A70 002D59D0 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8A74 002D59D4 4B D5 61 15 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv +/* 802D8A78 002D59D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8A7C 002D59DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8A80 002D59E0 7C 08 03 A6 */ mtlr r0 +/* 802D8A84 002D59E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8A88 002D59E8 4E 80 00 20 */ blr + +.global VSupportsReverseView__15CAnimTreeLoopInCFv +VSupportsReverseView__15CAnimTreeLoopInCFv: +/* 802D8A8C 002D59EC 38 60 00 00 */ li r3, 0 +/* 802D8A90 002D59F0 4E 80 00 20 */ blr + +.global VSimplified__15CAnimTreeLoopInFv +VSimplified__15CAnimTreeLoopInFv: +/* 802D8A94 002D59F4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D8A98 002D59F8 7C 08 02 A6 */ mflr r0 +/* 802D8A9C 002D59FC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D8AA0 002D5A00 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802D8AA4 002D5A04 7C 9F 23 78 */ mr r31, r4 +/* 802D8AA8 002D5A08 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802D8AAC 002D5A0C 7C 7E 1B 78 */ mr r30, r3 +/* 802D8AB0 002D5A10 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D8AB4 002D5A14 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8AB8 002D5A18 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8ABC 002D5A1C 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8AC0 002D5A20 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D8AC4 002D5A24 7D 89 03 A6 */ mtctr r12 +/* 802D8AC8 002D5A28 4E 80 04 21 */ bctrl +/* 802D8ACC 002D5A2C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802D8AD0 002D5A30 38 61 00 28 */ addi r3, r1, 0x28 +/* 802D8AD4 002D5A34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D8AD8 002D5A38 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D8ADC 002D5A3C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802D8AE0 002D5A40 48 06 F9 0D */ bl GreaterThanZero__13CCharAnimTimeCFv +/* 802D8AE4 002D5A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D8AE8 002D5A48 41 82 01 60 */ beq lbl_802D8C48 +/* 802D8AEC 002D5A4C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D8AF0 002D5A50 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) +/* 802D8AF4 002D5A54 C0 02 C5 9C */ lfs f0, lbl_805AE2BC@sda21(r2) +/* 802D8AF8 002D5A58 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D8AFC 002D5A5C FC 20 0A 10 */ fabs f1, f1 +/* 802D8B00 002D5A60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D8B04 002D5A64 41 80 01 44 */ blt lbl_802D8C48 +/* 802D8B08 002D5A68 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802D8B0C 002D5A6C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D8B10 002D5A70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D8B14 002D5A74 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8B18 002D5A78 38 04 00 01 */ addi r0, r4, 1 +/* 802D8B1C 002D5A7C 90 05 00 04 */ stw r0, 4(r5) +/* 802D8B20 002D5A80 80 81 00 0C */ lwz r4, 0xc(r1) +/* 802D8B24 002D5A84 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8B28 002D5A88 4B D5 14 3D */ bl Simplified__11IAnimReaderFv +/* 802D8B2C 002D5A8C 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802D8B30 002D5A90 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B34 002D5A94 98 01 00 44 */ stb r0, 0x44(r1) +/* 802D8B38 002D5A98 41 82 00 24 */ beq lbl_802D8B5C +/* 802D8B3C 002D5A9C 34 81 00 3C */ addic. r4, r1, 0x3c +/* 802D8B40 002D5AA0 41 82 00 1C */ beq lbl_802D8B5C +/* 802D8B44 002D5AA4 88 61 00 30 */ lbz r3, 0x30(r1) +/* 802D8B48 002D5AA8 38 00 00 00 */ li r0, 0 +/* 802D8B4C 002D5AAC 98 64 00 00 */ stb r3, 0(r4) +/* 802D8B50 002D5AB0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802D8B54 002D5AB4 90 64 00 04 */ stw r3, 4(r4) +/* 802D8B58 002D5AB8 98 01 00 30 */ stb r0, 0x30(r1) +lbl_802D8B5C: +/* 802D8B5C 002D5ABC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802D8B60 002D5AC0 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B64 002D5AC4 41 82 00 38 */ beq lbl_802D8B9C +/* 802D8B68 002D5AC8 34 61 00 30 */ addic. r3, r1, 0x30 +/* 802D8B6C 002D5ACC 41 82 00 30 */ beq lbl_802D8B9C +/* 802D8B70 002D5AD0 88 03 00 00 */ lbz r0, 0(r3) +/* 802D8B74 002D5AD4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8B78 002D5AD8 41 82 00 24 */ beq lbl_802D8B9C +/* 802D8B7C 002D5ADC 80 63 00 04 */ lwz r3, 4(r3) +/* 802D8B80 002D5AE0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8B84 002D5AE4 41 82 00 18 */ beq lbl_802D8B9C +/* 802D8B88 002D5AE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8B8C 002D5AEC 38 80 00 01 */ li r4, 1 +/* 802D8B90 002D5AF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8B94 002D5AF4 7D 89 03 A6 */ mtctr r12 +/* 802D8B98 002D5AF8 4E 80 04 21 */ bctrl +lbl_802D8B9C: +/* 802D8B9C 002D5AFC 88 01 00 44 */ lbz r0, 0x44(r1) +/* 802D8BA0 002D5B00 38 60 00 00 */ li r3, 0 +/* 802D8BA4 002D5B04 98 61 00 38 */ stb r3, 0x38(r1) +/* 802D8BA8 002D5B08 28 00 00 00 */ cmplwi r0, 0 +/* 802D8BAC 002D5B0C 41 82 00 48 */ beq lbl_802D8BF4 +/* 802D8BB0 002D5B10 38 61 00 08 */ addi r3, r1, 8 +/* 802D8BB4 002D5B14 38 81 00 3C */ addi r4, r1, 0x3c +/* 802D8BB8 002D5B18 48 01 B0 41 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8BBC 002D5B1C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802D8BC0 002D5B20 80 01 00 08 */ lwz r0, 8(r1) +/* 802D8BC4 002D5B24 7C 03 00 40 */ cmplw r3, r0 +/* 802D8BC8 002D5B28 41 82 00 24 */ beq lbl_802D8BEC +/* 802D8BCC 002D5B2C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802D8BD0 002D5B30 4B D5 83 D1 */ bl sub_80030fa0 +/* 802D8BD4 002D5B34 80 01 00 08 */ lwz r0, 8(r1) +/* 802D8BD8 002D5B38 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D8BDC 002D5B3C 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8BE0 002D5B40 80 64 00 04 */ lwz r3, 4(r4) +/* 802D8BE4 002D5B44 38 03 00 01 */ addi r0, r3, 1 +/* 802D8BE8 002D5B48 90 04 00 04 */ stw r0, 4(r4) +lbl_802D8BEC: +/* 802D8BEC 002D5B4C 38 61 00 08 */ addi r3, r1, 8 +/* 802D8BF0 002D5B50 4B D5 83 B1 */ bl sub_80030fa0 +lbl_802D8BF4: +/* 802D8BF4 002D5B54 88 01 00 44 */ lbz r0, 0x44(r1) +/* 802D8BF8 002D5B58 28 00 00 00 */ cmplwi r0, 0 +/* 802D8BFC 002D5B5C 41 82 00 38 */ beq lbl_802D8C34 +/* 802D8C00 002D5B60 34 61 00 3C */ addic. r3, r1, 0x3c +/* 802D8C04 002D5B64 41 82 00 30 */ beq lbl_802D8C34 +/* 802D8C08 002D5B68 88 03 00 00 */ lbz r0, 0(r3) +/* 802D8C0C 002D5B6C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8C10 002D5B70 41 82 00 24 */ beq lbl_802D8C34 +/* 802D8C14 002D5B74 80 63 00 04 */ lwz r3, 4(r3) +/* 802D8C18 002D5B78 28 03 00 00 */ cmplwi r3, 0 +/* 802D8C1C 002D5B7C 41 82 00 18 */ beq lbl_802D8C34 +/* 802D8C20 002D5B80 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8C24 002D5B84 38 80 00 01 */ li r4, 1 +/* 802D8C28 002D5B88 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8C2C 002D5B8C 7D 89 03 A6 */ mtctr r12 +/* 802D8C30 002D5B90 4E 80 04 21 */ bctrl +lbl_802D8C34: +/* 802D8C34 002D5B94 38 00 00 00 */ li r0, 0 +/* 802D8C38 002D5B98 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8C3C 002D5B9C 98 01 00 44 */ stb r0, 0x44(r1) +/* 802D8C40 002D5BA0 4B D5 83 61 */ bl sub_80030fa0 +/* 802D8C44 002D5BA4 48 00 00 A4 */ b lbl_802D8CE8 +lbl_802D8C48: +/* 802D8C48 002D5BA8 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 802D8C4C 002D5BAC 28 00 00 00 */ cmplwi r0, 0 +/* 802D8C50 002D5BB0 41 82 00 98 */ beq lbl_802D8CE8 +/* 802D8C54 002D5BB4 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8C58 002D5BB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D8C5C 002D5BBC 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8C60 002D5BC0 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8C64 002D5BC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D8C68 002D5BC8 7D 89 03 A6 */ mtctr r12 +/* 802D8C6C 002D5BCC 4E 80 04 21 */ bctrl +/* 802D8C70 002D5BD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D8C74 002D5BD4 48 06 F7 3D */ bl EqualsZero__13CCharAnimTimeCFv +/* 802D8C78 002D5BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D8C7C 002D5BDC 41 82 00 6C */ beq lbl_802D8CE8 +/* 802D8C80 002D5BE0 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D8C84 002D5BE4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8C88 002D5BE8 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8C8C 002D5BEC 4B FA 9E 55 */ bl Clone__11IAnimReaderCFv +/* 802D8C90 002D5BF0 38 00 00 01 */ li r0, 1 +/* 802D8C94 002D5BF4 28 1E 00 00 */ cmplwi r30, 0 +/* 802D8C98 002D5BF8 98 1E 00 08 */ stb r0, 8(r30) +/* 802D8C9C 002D5BFC 41 82 00 1C */ beq lbl_802D8CB8 +/* 802D8CA0 002D5C00 88 61 00 10 */ lbz r3, 0x10(r1) +/* 802D8CA4 002D5C04 38 00 00 00 */ li r0, 0 +/* 802D8CA8 002D5C08 98 7E 00 00 */ stb r3, 0(r30) +/* 802D8CAC 002D5C0C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802D8CB0 002D5C10 90 7E 00 04 */ stw r3, 4(r30) +/* 802D8CB4 002D5C14 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802D8CB8: +/* 802D8CB8 002D5C18 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802D8CBC 002D5C1C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8CC0 002D5C20 41 82 00 30 */ beq lbl_802D8CF0 +/* 802D8CC4 002D5C24 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802D8CC8 002D5C28 28 03 00 00 */ cmplwi r3, 0 +/* 802D8CCC 002D5C2C 41 82 00 24 */ beq lbl_802D8CF0 +/* 802D8CD0 002D5C30 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8CD4 002D5C34 38 80 00 01 */ li r4, 1 +/* 802D8CD8 002D5C38 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8CDC 002D5C3C 7D 89 03 A6 */ mtctr r12 +/* 802D8CE0 002D5C40 4E 80 04 21 */ bctrl +/* 802D8CE4 002D5C44 48 00 00 0C */ b lbl_802D8CF0 +lbl_802D8CE8: +/* 802D8CE8 002D5C48 38 00 00 00 */ li r0, 0 +/* 802D8CEC 002D5C4C 98 1E 00 08 */ stb r0, 8(r30) +lbl_802D8CF0: +/* 802D8CF0 002D5C50 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D8CF4 002D5C54 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802D8CF8 002D5C58 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802D8CFC 002D5C5C 7C 08 03 A6 */ mtlr r0 +/* 802D8D00 002D5C60 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D8D04 002D5C64 4E 80 00 20 */ blr + +.global VGetBestUnblendedChild__15CAnimTreeLoopInCFv +VGetBestUnblendedChild__15CAnimTreeLoopInCFv: +/* 802D8D08 002D5C68 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D8D0C 002D5C6C 7C 08 02 A6 */ mflr r0 +/* 802D8D10 002D5C70 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D8D14 002D5C74 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802D8D18 002D5C78 7C 9D 23 78 */ mr r29, r4 +/* 802D8D1C 002D5C7C 7C 7F 1B 78 */ mr r31, r3 +/* 802D8D20 002D5C80 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8D24 002D5C84 80 84 00 14 */ lwz r4, 0x14(r4) +/* 802D8D28 002D5C88 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8D2C 002D5C8C 48 00 01 55 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv +/* 802D8D30 002D5C90 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802D8D34 002D5C94 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8D38 002D5C98 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D8D3C 002D5C9C 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8D40 002D5CA0 38 04 00 01 */ addi r0, r4, 1 +/* 802D8D44 002D5CA4 90 05 00 04 */ stw r0, 4(r5) +/* 802D8D48 002D5CA8 4B D5 82 59 */ bl sub_80030fa0 +/* 802D8D4C 002D5CAC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802D8D50 002D5CB0 80 03 00 00 */ lwz r0, 0(r3) +/* 802D8D54 002D5CB4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8D58 002D5CB8 41 82 00 F8 */ beq lbl_802D8E50 +/* 802D8D5C 002D5CBC 3C 60 80 3D */ lis r3, lbl_803D6D38@ha +/* 802D8D60 002D5CC0 3B 80 00 00 */ li r28, 0 +/* 802D8D64 002D5CC4 38 63 6D 38 */ addi r3, r3, lbl_803D6D38@l +/* 802D8D68 002D5CC8 3B 60 00 00 */ li r27, 0 +/* 802D8D6C 002D5CCC 38 83 00 01 */ addi r4, r3, 1 +/* 802D8D70 002D5CD0 38 60 00 90 */ li r3, 0x90 +/* 802D8D74 002D5CD4 38 A0 00 00 */ li r5, 0 +/* 802D8D78 002D5CD8 48 03 CA F5 */ bl __nw__FUlPCcPCc +/* 802D8D7C 002D5CDC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D8D80 002D5CE0 41 82 00 50 */ beq lbl_802D8DD0 +/* 802D8D84 002D5CE4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D8D88 002D5CE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D8D8C 002D5CEC 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8D90 002D5CF0 4B FA 9D 51 */ bl Clone__11IAnimReaderCFv +/* 802D8D94 002D5CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802D8D98 002D5CF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D8D9C 002D5CFC 3B 80 00 01 */ li r28, 1 +/* 802D8DA0 002D5D00 48 01 AE 59 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8DA4 002D5D04 88 DD 00 1C */ lbz r6, 0x1c(r29) +/* 802D8DA8 002D5D08 7F C3 F3 78 */ mr r3, r30 +/* 802D8DAC 002D5D0C 38 81 00 08 */ addi r4, r1, 8 +/* 802D8DB0 002D5D10 38 BD 00 18 */ addi r5, r29, 0x18 +/* 802D8DB4 002D5D14 38 FD 00 20 */ addi r7, r29, 0x20 +/* 802D8DB8 002D5D18 39 1D 00 04 */ addi r8, r29, 4 +/* 802D8DBC 002D5D1C 39 3D 00 30 */ addi r9, r29, 0x30 +/* 802D8DC0 002D5D20 39 5D 00 88 */ addi r10, r29, 0x88 +/* 802D8DC4 002D5D24 3B 60 00 01 */ li r27, 1 +/* 802D8DC8 002D5D28 48 00 05 69 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802D8DCC 002D5D2C 7C 7E 1B 78 */ mr r30, r3 +lbl_802D8DD0: +/* 802D8DD0 002D5D30 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D8DD4 002D5D34 38 60 00 08 */ li r3, 8 +/* 802D8DD8 002D5D38 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D8DDC 002D5D3C 38 A0 00 00 */ li r5, 0 +/* 802D8DE0 002D5D40 38 84 00 01 */ addi r4, r4, 1 +/* 802D8DE4 002D5D44 48 03 CA 89 */ bl __nw__FUlPCcPCc +/* 802D8DE8 002D5D48 28 03 00 00 */ cmplwi r3, 0 +/* 802D8DEC 002D5D4C 41 82 00 10 */ beq lbl_802D8DFC +/* 802D8DF0 002D5D50 93 C3 00 00 */ stw r30, 0(r3) +/* 802D8DF4 002D5D54 38 00 00 01 */ li r0, 1 +/* 802D8DF8 002D5D58 90 03 00 04 */ stw r0, 4(r3) +lbl_802D8DFC: +/* 802D8DFC 002D5D5C 7F 60 07 75 */ extsb. r0, r27 +/* 802D8E00 002D5D60 90 7F 00 00 */ stw r3, 0(r31) +/* 802D8E04 002D5D64 41 82 00 0C */ beq lbl_802D8E10 +/* 802D8E08 002D5D68 38 61 00 08 */ addi r3, r1, 8 +/* 802D8E0C 002D5D6C 4B D5 81 95 */ bl sub_80030fa0 +lbl_802D8E10: +/* 802D8E10 002D5D70 7F 80 07 75 */ extsb. r0, r28 +/* 802D8E14 002D5D74 41 82 00 30 */ beq lbl_802D8E44 +/* 802D8E18 002D5D78 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802D8E1C 002D5D7C 28 00 00 00 */ cmplwi r0, 0 +/* 802D8E20 002D5D80 41 82 00 24 */ beq lbl_802D8E44 +/* 802D8E24 002D5D84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802D8E28 002D5D88 28 03 00 00 */ cmplwi r3, 0 +/* 802D8E2C 002D5D8C 41 82 00 18 */ beq lbl_802D8E44 +/* 802D8E30 002D5D90 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8E34 002D5D94 38 80 00 01 */ li r4, 1 +/* 802D8E38 002D5D98 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8E3C 002D5D9C 7D 89 03 A6 */ mtctr r12 +/* 802D8E40 002D5DA0 4E 80 04 21 */ bctrl +lbl_802D8E44: +/* 802D8E44 002D5DA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8E48 002D5DA8 4B D5 81 59 */ bl sub_80030fa0 +/* 802D8E4C 002D5DAC 48 00 00 20 */ b lbl_802D8E6C +lbl_802D8E50: +/* 802D8E50 002D5DB0 90 7F 00 00 */ stw r3, 0(r31) +/* 802D8E54 002D5DB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D8E58 002D5DB8 80 BF 00 00 */ lwz r5, 0(r31) +/* 802D8E5C 002D5DBC 80 85 00 04 */ lwz r4, 4(r5) +/* 802D8E60 002D5DC0 38 04 00 01 */ addi r0, r4, 1 +/* 802D8E64 002D5DC4 90 05 00 04 */ stw r0, 4(r5) +/* 802D8E68 002D5DC8 4B D5 81 39 */ bl sub_80030fa0 +lbl_802D8E6C: +/* 802D8E6C 002D5DCC BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802D8E70 002D5DD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D8E74 002D5DD4 7C 08 03 A6 */ mtlr r0 +/* 802D8E78 002D5DD8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D8E7C 002D5DDC 4E 80 00 20 */ blr + +.global GetBestUnblendedChild__13CAnimTreeNodeCFv +GetBestUnblendedChild__13CAnimTreeNodeCFv: +/* 802D8E80 002D5DE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8E84 002D5DE4 7C 08 02 A6 */ mflr r0 +/* 802D8E88 002D5DE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8E8C 002D5DEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D8E90 002D5DF0 7C 7F 1B 78 */ mr r31, r3 +/* 802D8E94 002D5DF4 81 84 00 00 */ lwz r12, 0(r4) +/* 802D8E98 002D5DF8 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 802D8E9C 002D5DFC 7D 89 03 A6 */ mtctr r12 +/* 802D8EA0 002D5E00 4E 80 04 21 */ bctrl +/* 802D8EA4 002D5E04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8EA8 002D5E08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D8EAC 002D5E0C 7C 08 03 A6 */ mtlr r0 +/* 802D8EB0 002D5E10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8EB4 002D5E14 4E 80 00 20 */ blr + +.global VClone__15CAnimTreeLoopInCFv +VClone__15CAnimTreeLoopInCFv: +/* 802D8EB8 002D5E18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D8EBC 002D5E1C 7C 08 02 A6 */ mflr r0 +/* 802D8EC0 002D5E20 3C A0 80 3D */ lis r5, lbl_803D6D38@ha +/* 802D8EC4 002D5E24 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D8EC8 002D5E28 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D8ECC 002D5E2C 7C 7D 1B 78 */ mr r29, r3 +/* 802D8ED0 002D5E30 38 65 6D 38 */ addi r3, r5, lbl_803D6D38@l +/* 802D8ED4 002D5E34 7C 9E 23 78 */ mr r30, r4 +/* 802D8ED8 002D5E38 38 83 00 01 */ addi r4, r3, 1 +/* 802D8EDC 002D5E3C 3B 80 00 00 */ li r28, 0 +/* 802D8EE0 002D5E40 3B 60 00 00 */ li r27, 0 +/* 802D8EE4 002D5E44 38 60 00 90 */ li r3, 0x90 +/* 802D8EE8 002D5E48 38 A0 00 00 */ li r5, 0 +/* 802D8EEC 002D5E4C 48 03 C9 81 */ bl __nw__FUlPCcPCc +/* 802D8EF0 002D5E50 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802D8EF4 002D5E54 41 82 00 50 */ beq lbl_802D8F44 +/* 802D8EF8 002D5E58 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802D8EFC 002D5E5C 38 61 00 0C */ addi r3, r1, 0xc +/* 802D8F00 002D5E60 80 84 00 00 */ lwz r4, 0(r4) +/* 802D8F04 002D5E64 4B FA 9B DD */ bl Clone__11IAnimReaderCFv +/* 802D8F08 002D5E68 38 61 00 08 */ addi r3, r1, 8 +/* 802D8F0C 002D5E6C 38 81 00 0C */ addi r4, r1, 0xc +/* 802D8F10 002D5E70 3B 80 00 01 */ li r28, 1 +/* 802D8F14 002D5E74 48 01 AC E5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" +/* 802D8F18 002D5E78 88 DE 00 1C */ lbz r6, 0x1c(r30) +/* 802D8F1C 002D5E7C 7F E3 FB 78 */ mr r3, r31 +/* 802D8F20 002D5E80 38 81 00 08 */ addi r4, r1, 8 +/* 802D8F24 002D5E84 38 BE 00 18 */ addi r5, r30, 0x18 +/* 802D8F28 002D5E88 38 FE 00 20 */ addi r7, r30, 0x20 +/* 802D8F2C 002D5E8C 39 1E 00 04 */ addi r8, r30, 4 +/* 802D8F30 002D5E90 39 3E 00 30 */ addi r9, r30, 0x30 +/* 802D8F34 002D5E94 39 5E 00 88 */ addi r10, r30, 0x88 +/* 802D8F38 002D5E98 3B 60 00 01 */ li r27, 1 +/* 802D8F3C 002D5E9C 48 00 03 F5 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +/* 802D8F40 002D5EA0 7C 7F 1B 78 */ mr r31, r3 +lbl_802D8F44: +/* 802D8F44 002D5EA4 7C 7F 00 D0 */ neg r3, r31 +/* 802D8F48 002D5EA8 7F 60 07 75 */ extsb. r0, r27 +/* 802D8F4C 002D5EAC 7C 60 FB 78 */ or r0, r3, r31 +/* 802D8F50 002D5EB0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D8F54 002D5EB4 98 1D 00 00 */ stb r0, 0(r29) +/* 802D8F58 002D5EB8 93 FD 00 04 */ stw r31, 4(r29) +/* 802D8F5C 002D5EBC 41 82 00 0C */ beq lbl_802D8F68 +/* 802D8F60 002D5EC0 38 61 00 08 */ addi r3, r1, 8 +/* 802D8F64 002D5EC4 4B D5 80 3D */ bl sub_80030fa0 +lbl_802D8F68: +/* 802D8F68 002D5EC8 7F 80 07 75 */ extsb. r0, r28 +/* 802D8F6C 002D5ECC 41 82 00 30 */ beq lbl_802D8F9C +/* 802D8F70 002D5ED0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802D8F74 002D5ED4 28 00 00 00 */ cmplwi r0, 0 +/* 802D8F78 002D5ED8 41 82 00 24 */ beq lbl_802D8F9C +/* 802D8F7C 002D5EDC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802D8F80 002D5EE0 28 03 00 00 */ cmplwi r3, 0 +/* 802D8F84 002D5EE4 41 82 00 18 */ beq lbl_802D8F9C +/* 802D8F88 002D5EE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802D8F8C 002D5EEC 38 80 00 01 */ li r4, 1 +/* 802D8F90 002D5EF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D8F94 002D5EF4 7D 89 03 A6 */ mtctr r12 +/* 802D8F98 002D5EF8 4E 80 04 21 */ bctrl +lbl_802D8F9C: +/* 802D8F9C 002D5EFC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D8FA0 002D5F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D8FA4 002D5F04 7C 08 03 A6 */ mtlr r0 +/* 802D8FA8 002D5F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D8FAC 002D5F0C 4E 80 00 20 */ blr + +.global VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii +VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: +/* 802D8FB0 002D5F10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8FB4 002D5F14 7C 08 02 A6 */ mflr r0 +/* 802D8FB8 002D5F18 7C 69 1B 78 */ mr r9, r3 +/* 802D8FBC 002D5F1C 7C 83 23 78 */ mr r3, r4 +/* 802D8FC0 002D5F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D8FC4 002D5F24 7C A4 2B 78 */ mr r4, r5 +/* 802D8FC8 002D5F28 7C C5 33 78 */ mr r5, r6 +/* 802D8FCC 002D5F2C 7C E6 3B 78 */ mr r6, r7 +/* 802D8FD0 002D5F30 7D 07 43 78 */ mr r7, r8 +/* 802D8FD4 002D5F34 39 09 00 78 */ addi r8, r9, 0x78 +/* 802D8FD8 002D5F38 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D8FDC 002D5F3C 48 00 17 BD */ bl "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D8FE0 002D5F40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D8FE4 002D5F44 7C 08 03 A6 */ mtlr r0 +/* 802D8FE8 002D5F48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D8FEC 002D5F4C 4E 80 00 20 */ blr + +.global VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii +VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: +/* 802D8FF0 002D5F50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D8FF4 002D5F54 7C 08 02 A6 */ mflr r0 +/* 802D8FF8 002D5F58 7C 69 1B 78 */ mr r9, r3 +/* 802D8FFC 002D5F5C 7C 83 23 78 */ mr r3, r4 +/* 802D9000 002D5F60 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9004 002D5F64 7C A4 2B 78 */ mr r4, r5 +/* 802D9008 002D5F68 7C C5 33 78 */ mr r5, r6 +/* 802D900C 002D5F6C 7C E6 3B 78 */ mr r6, r7 +/* 802D9010 002D5F70 7D 07 43 78 */ mr r7, r8 +/* 802D9014 002D5F74 39 09 00 68 */ addi r8, r9, 0x68 +/* 802D9018 002D5F78 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D901C 002D5F7C 48 00 13 A5 */ bl "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D9020 002D5F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9024 002D5F84 7C 08 03 A6 */ mtlr r0 +/* 802D9028 002D5F88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D902C 002D5F8C 4E 80 00 20 */ blr + +.global VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii +VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii: +/* 802D9030 002D5F90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9034 002D5F94 7C 08 02 A6 */ mflr r0 +/* 802D9038 002D5F98 7C 69 1B 78 */ mr r9, r3 +/* 802D903C 002D5F9C 7C 83 23 78 */ mr r3, r4 +/* 802D9040 002D5FA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9044 002D5FA4 7C A4 2B 78 */ mr r4, r5 +/* 802D9048 002D5FA8 7C C5 33 78 */ mr r5, r6 +/* 802D904C 002D5FAC 7C E6 3B 78 */ mr r6, r7 +/* 802D9050 002D5FB0 7D 07 43 78 */ mr r7, r8 +/* 802D9054 002D5FB4 39 09 00 58 */ addi r8, r9, 0x58 +/* 802D9058 002D5FB8 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D905C 002D5FBC 48 00 10 1D */ bl "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D9060 002D5FC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9064 002D5FC4 7C 08 03 A6 */ mtlr r0 +/* 802D9068 002D5FC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D906C 002D5FCC 4E 80 00 20 */ blr + +.global VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii +VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: +/* 802D9070 002D5FD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9074 002D5FD4 7C 08 02 A6 */ mflr r0 +/* 802D9078 002D5FD8 7C 69 1B 78 */ mr r9, r3 +/* 802D907C 002D5FDC 7C 83 23 78 */ mr r3, r4 +/* 802D9080 002D5FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9084 002D5FE4 7C A4 2B 78 */ mr r4, r5 +/* 802D9088 002D5FE8 7C C5 33 78 */ mr r5, r6 +/* 802D908C 002D5FEC 7C E6 3B 78 */ mr r6, r7 +/* 802D9090 002D5FF0 7D 07 43 78 */ mr r7, r8 +/* 802D9094 002D5FF4 39 09 00 48 */ addi r8, r9, 0x48 +/* 802D9098 002D5FF8 39 29 00 88 */ addi r9, r9, 0x88 +/* 802D909C 002D5FFC 48 00 0D 19 */ bl "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" +/* 802D90A0 002D6000 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D90A4 002D6004 7C 08 03 A6 */ mtlr r0 +/* 802D90A8 002D6008 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D90AC 002D600C 4E 80 00 20 */ blr + +.global VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv +VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv: +/* 802D90B0 002D6010 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802D90B4 002D6014 D0 03 00 00 */ stfs f0, 0(r3) +/* 802D90B8 002D6018 80 04 00 34 */ lwz r0, 0x34(r4) +/* 802D90BC 002D601C 90 03 00 04 */ stw r0, 4(r3) +/* 802D90C0 002D6020 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802D90C4 002D6024 D0 03 00 08 */ stfs f0, 8(r3) +/* 802D90C8 002D6028 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802D90CC 002D602C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D90D0 002D6030 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802D90D4 002D6034 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802D90D8 002D6038 88 04 00 44 */ lbz r0, 0x44(r4) +/* 802D90DC 002D603C 98 03 00 14 */ stb r0, 0x14(r3) +/* 802D90E0 002D6040 4E 80 00 20 */ blr + +.global VGetTimeRemaining__15CAnimTreeLoopInCFv +VGetTimeRemaining__15CAnimTreeLoopInCFv: +/* 802D90E4 002D6044 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D90E8 002D6048 7C 08 02 A6 */ mflr r0 +/* 802D90EC 002D604C 7C 85 23 78 */ mr r5, r4 +/* 802D90F0 002D6050 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D90F4 002D6054 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D90F8 002D6058 7C 7F 1B 78 */ mr r31, r3 +/* 802D90FC 002D605C 80 04 00 34 */ lwz r0, 0x34(r4) +/* 802D9100 002D6060 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D9104 002D6064 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 802D9108 002D6068 38 A5 00 88 */ addi r5, r5, 0x88 +/* 802D910C 002D606C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D9110 002D6070 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D9114 002D6074 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9118 002D6078 48 06 F6 4D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D911C 002D607C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D9120 002D6080 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D9124 002D6084 7C 08 03 A6 */ mtlr r0 +/* 802D9128 002D6088 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D912C 002D608C 4E 80 00 20 */ blr + +.global VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime +VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime: +/* 802D9130 002D6090 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D9134 002D6094 7C 08 02 A6 */ mflr r0 +/* 802D9138 002D6098 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D913C 002D609C 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802D9140 002D60A0 7C 9F 23 78 */ mr r31, r4 +/* 802D9144 002D60A4 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802D9148 002D60A8 7C 7E 1B 78 */ mr r30, r3 +/* 802D914C 002D60AC 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D9150 002D60B0 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802D9154 002D60B4 93 81 00 80 */ stw r28, 0x80(r1) +/* 802D9158 002D60B8 7C BC 2B 78 */ mr r28, r5 +/* 802D915C 002D60BC 80 C4 00 14 */ lwz r6, 0x14(r4) +/* 802D9160 002D60C0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802D9164 002D60C4 80 86 00 04 */ lwz r4, 4(r6) +/* 802D9168 002D60C8 38 04 00 01 */ addi r0, r4, 1 +/* 802D916C 002D60CC 90 06 00 04 */ stw r0, 4(r6) +/* 802D9170 002D60D0 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D9174 002D60D4 80 84 00 00 */ lwz r4, 0(r4) +/* 802D9178 002D60D8 81 84 00 00 */ lwz r12, 0(r4) +/* 802D917C 002D60DC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D9180 002D60E0 7D 89 03 A6 */ mtctr r12 +/* 802D9184 002D60E4 4E 80 04 21 */ bctrl +/* 802D9188 002D60E8 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802D918C 002D60EC 7F 84 E3 78 */ mr r4, r28 +/* 802D9190 002D60F0 83 A1 00 30 */ lwz r29, 0x30(r1) +/* 802D9194 002D60F4 38 61 00 1C */ addi r3, r1, 0x1c +/* 802D9198 002D60F8 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 802D919C 002D60FC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802D91A0 002D6100 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802D91A4 002D6104 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802D91A8 002D6108 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802D91AC 002D610C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802D91B0 002D6110 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802D91B4 002D6114 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D91B8 002D6118 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 802D91BC 002D611C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802D91C0 002D6120 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802D91C4 002D6124 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802D91C8 002D6128 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802D91CC 002D612C D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802D91D0 002D6130 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D91D4 002D6134 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802D91D8 002D6138 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D91DC 002D613C D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 802D91E0 002D6140 93 A1 00 28 */ stw r29, 0x28(r1) +/* 802D91E4 002D6144 48 06 F5 81 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 802D91E8 002D6148 38 7F 00 88 */ addi r3, r31, 0x88 +/* 802D91EC 002D614C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802D91F0 002D6150 48 06 F3 69 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime +/* 802D91F4 002D6154 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802D91F8 002D6158 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D91FC 002D615C 80 84 00 00 */ lwz r4, 0(r4) +/* 802D9200 002D6160 81 84 00 00 */ lwz r12, 0(r4) +/* 802D9204 002D6164 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D9208 002D6168 7D 89 03 A6 */ mtctr r12 +/* 802D920C 002D616C 4E 80 04 21 */ bctrl +/* 802D9210 002D6170 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D9214 002D6174 C0 62 C5 98 */ lfs f3, lbl_805AE2B8@sda21(r2) +/* 802D9218 002D6178 C0 42 C5 9C */ lfs f2, lbl_805AE2BC@sda21(r2) +/* 802D921C 002D617C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D9220 002D6180 FC 00 02 10 */ fabs f0, f0 +/* 802D9224 002D6184 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D9228 002D6188 41 80 00 20 */ blt lbl_802D9248 +/* 802D922C 002D618C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D9230 002D6190 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D9234 002D6194 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D9238 002D6198 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D923C 002D619C FC 00 02 10 */ fabs f0, f0 +/* 802D9240 002D61A0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D9244 002D61A4 40 80 00 80 */ bge lbl_802D92C4 +lbl_802D9248: +/* 802D9248 002D61A8 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 802D924C 002D61AC 28 00 00 00 */ cmplwi r0, 0 +/* 802D9250 002D61B0 40 82 00 74 */ bne lbl_802D92C4 +/* 802D9254 002D61B4 38 61 00 08 */ addi r3, r1, 8 +/* 802D9258 002D61B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D925C 002D61BC 38 BF 00 18 */ addi r5, r31, 0x18 +/* 802D9260 002D61C0 38 DF 00 20 */ addi r6, r31, 0x20 +/* 802D9264 002D61C4 48 00 DC 89 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9268 002D61C8 80 A1 00 08 */ lwz r5, 8(r1) +/* 802D926C 002D61CC 38 61 00 08 */ addi r3, r1, 8 +/* 802D9270 002D61D0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D9274 002D61D4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D9278 002D61D8 38 04 00 01 */ addi r0, r4, 1 +/* 802D927C 002D61DC 90 05 00 04 */ stw r0, 4(r5) +/* 802D9280 002D61E0 4B D5 7D 21 */ bl sub_80030fa0 +/* 802D9284 002D61E4 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802D9288 002D61E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D928C 002D61EC 7C 03 00 40 */ cmplw r3, r0 +/* 802D9290 002D61F0 41 82 00 24 */ beq lbl_802D92B4 +/* 802D9294 002D61F4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802D9298 002D61F8 4B D5 7D 09 */ bl sub_80030fa0 +/* 802D929C 002D61FC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D92A0 002D6200 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D92A4 002D6204 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802D92A8 002D6208 80 64 00 04 */ lwz r3, 4(r4) +/* 802D92AC 002D620C 38 03 00 01 */ addi r0, r3, 1 +/* 802D92B0 002D6210 90 04 00 04 */ stw r0, 4(r4) +lbl_802D92B4: +/* 802D92B4 002D6214 38 00 00 01 */ li r0, 1 +/* 802D92B8 002D6218 38 61 00 0C */ addi r3, r1, 0xc +/* 802D92BC 002D621C 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 802D92C0 002D6220 4B D5 7C E1 */ bl sub_80030fa0 +lbl_802D92C4: +/* 802D92C4 002D6224 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802D92C8 002D6228 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D92CC 002D622C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D92D0 002D6230 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802D92D4 002D6234 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802D92D8 002D6238 93 BE 00 04 */ stw r29, 4(r30) +/* 802D92DC 002D623C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802D92E0 002D6240 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D92E4 002D6244 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D92E8 002D6248 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 802D92EC 002D624C C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802D92F0 002D6250 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 802D92F4 002D6254 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802D92F8 002D6258 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802D92FC 002D625C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802D9300 002D6260 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 802D9304 002D6264 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 802D9308 002D6268 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802D930C 002D626C 4B D5 7C 95 */ bl sub_80030fa0 +/* 802D9310 002D6270 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D9314 002D6274 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802D9318 002D6278 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802D931C 002D627C 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802D9320 002D6280 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802D9324 002D6284 7C 08 03 A6 */ mtlr r0 +/* 802D9328 002D6288 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D932C 002D628C 4E 80 00 20 */ blr + +.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" +"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime": +/* 802D9330 002D6290 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D9334 002D6294 7C 08 02 A6 */ mflr r0 +/* 802D9338 002D6298 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D933C 002D629C BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802D9340 002D62A0 7C 7B 1B 78 */ mr r27, r3 +/* 802D9344 002D62A4 7F 60 DB 78 */ mr r0, r27 +/* 802D9348 002D62A8 7C 98 23 78 */ mr r24, r4 +/* 802D934C 002D62AC 7C B9 2B 78 */ mr r25, r5 +/* 802D9350 002D62B0 7C DC 33 78 */ mr r28, r6 +/* 802D9354 002D62B4 7C FD 3B 78 */ mr r29, r7 +/* 802D9358 002D62B8 7D 3E 4B 78 */ mr r30, r9 +/* 802D935C 002D62BC 7D 5F 53 78 */ mr r31, r10 +/* 802D9360 002D62C0 7C 17 03 78 */ mr r23, r0 +/* 802D9364 002D62C4 7D 04 43 78 */ mr r4, r8 +/* 802D9368 002D62C8 48 01 A9 69 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D936C 002D62CC 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802D9370 002D62D0 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha +/* 802D9374 002D62D4 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802D9378 002D62D8 3B 5B 00 20 */ addi r26, r27, 0x20 +/* 802D937C 002D62DC 90 17 00 00 */ stw r0, 0(r23) +/* 802D9380 002D62E0 38 03 CB E0 */ addi r0, r3, lbl_803ECBE0@l +/* 802D9384 002D62E4 7F 43 D3 78 */ mr r3, r26 +/* 802D9388 002D62E8 7F A4 EB 78 */ mr r4, r29 +/* 802D938C 002D62EC 80 B8 00 00 */ lwz r5, 0(r24) +/* 802D9390 002D62F0 90 B7 00 14 */ stw r5, 0x14(r23) +/* 802D9394 002D62F4 80 D7 00 14 */ lwz r6, 0x14(r23) +/* 802D9398 002D62F8 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D939C 002D62FC 38 A5 00 01 */ addi r5, r5, 1 +/* 802D93A0 002D6300 90 A6 00 04 */ stw r5, 4(r6) +/* 802D93A4 002D6304 90 1B 00 00 */ stw r0, 0(r27) +/* 802D93A8 002D6308 80 19 00 00 */ lwz r0, 0(r25) +/* 802D93AC 002D630C 90 1B 00 18 */ stw r0, 0x18(r27) +/* 802D93B0 002D6310 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 802D93B4 002D6314 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D93B8 002D6318 38 05 00 01 */ addi r0, r5, 1 +/* 802D93BC 002D631C 90 06 00 04 */ stw r0, 4(r6) +/* 802D93C0 002D6320 9B 9B 00 1C */ stb r28, 0x1c(r27) +/* 802D93C4 002D6324 48 06 7A E5 */ bl __ct__6CTokenFRC6CToken +/* 802D93C8 002D6328 80 1D 00 08 */ lwz r0, 8(r29) +/* 802D93CC 002D632C 7F C4 F3 78 */ mr r4, r30 +/* 802D93D0 002D6330 38 7B 00 30 */ addi r3, r27, 0x30 +/* 802D93D4 002D6334 90 1A 00 08 */ stw r0, 8(r26) +/* 802D93D8 002D6338 80 DA 00 08 */ lwz r6, 8(r26) +/* 802D93DC 002D633C 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D93E0 002D6340 38 05 00 01 */ addi r0, r5, 1 +/* 802D93E4 002D6344 90 06 00 04 */ stw r0, 4(r6) +/* 802D93E8 002D6348 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802D93EC 002D634C 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D93F0 002D6350 48 00 00 2D */ bl sub_802d941c +/* 802D93F4 002D6354 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D93F8 002D6358 7F 63 DB 78 */ mr r3, r27 +/* 802D93FC 002D635C D0 1B 00 88 */ stfs f0, 0x88(r27) +/* 802D9400 002D6360 80 1F 00 04 */ lwz r0, 4(r31) +/* 802D9404 002D6364 90 1B 00 8C */ stw r0, 0x8c(r27) +/* 802D9408 002D6368 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802D940C 002D636C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D9410 002D6370 7C 08 03 A6 */ mtlr r0 +/* 802D9414 002D6374 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D9418 002D6378 4E 80 00 20 */ blr + +.global sub_802d941c +sub_802d941c: +/* 802D941C 002D637C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9420 002D6380 7C 08 02 A6 */ mflr r0 +/* 802D9424 002D6384 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9428 002D6388 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D942C 002D638C 7C 9F 23 78 */ mr r31, r4 +/* 802D9430 002D6390 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9434 002D6394 7C 7E 1B 78 */ mr r30, r3 +/* 802D9438 002D6398 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802D943C 002D639C C0 04 00 00 */ lfs f0, 0(r4) +/* 802D9440 002D63A0 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802D9444 002D63A4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D9448 002D63A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802D944C 002D63AC 90 1E 00 04 */ stw r0, 4(r30) +/* 802D9450 002D63B0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802D9454 002D63B4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D9458 002D63B8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802D945C 002D63BC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802D9460 002D63C0 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802D9464 002D63C4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802D9468 002D63C8 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802D946C 002D63CC 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802D9470 002D63D0 48 00 04 99 */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +/* 802D9474 002D63D4 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802D9478 002D63D8 38 9F 00 28 */ addi r4, r31, 0x28 +/* 802D947C 002D63DC 48 00 03 45 */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +/* 802D9480 002D63E0 38 7E 00 38 */ addi r3, r30, 0x38 +/* 802D9484 002D63E4 38 9F 00 38 */ addi r4, r31, 0x38 +/* 802D9488 002D63E8 48 00 01 79 */ bl sub_802d9600 +/* 802D948C 002D63EC 38 7E 00 48 */ addi r3, r30, 0x48 +/* 802D9490 002D63F0 38 9F 00 48 */ addi r4, r31, 0x48 +/* 802D9494 002D63F4 48 00 00 21 */ bl sub_802d94b4 +/* 802D9498 002D63F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D949C 002D63FC 7F C3 F3 78 */ mr r3, r30 +/* 802D94A0 002D6400 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D94A4 002D6404 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D94A8 002D6408 7C 08 03 A6 */ mtlr r0 +/* 802D94AC 002D640C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D94B0 002D6410 4E 80 00 20 */ blr + +.global sub_802d94b4 +sub_802d94b4: +/* 802D94B4 002D6414 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D94B8 002D6418 7C 08 02 A6 */ mflr r0 +/* 802D94BC 002D641C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D94C0 002D6420 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D94C4 002D6424 7C 9C 23 78 */ mr r28, r4 +/* 802D94C8 002D6428 7C 7F 1B 78 */ mr r31, r3 +/* 802D94CC 002D642C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D94D0 002D6430 90 03 00 04 */ stw r0, 4(r3) +/* 802D94D4 002D6434 80 04 00 08 */ lwz r0, 8(r4) +/* 802D94D8 002D6438 90 03 00 08 */ stw r0, 8(r3) +/* 802D94DC 002D643C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D94E0 002D6440 2C 00 00 00 */ cmpwi r0, 0 +/* 802D94E4 002D6444 40 82 00 1C */ bne lbl_802D9500 +/* 802D94E8 002D6448 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D94EC 002D644C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D94F0 002D6450 40 82 00 10 */ bne lbl_802D9500 +/* 802D94F4 002D6454 38 00 00 00 */ li r0, 0 +/* 802D94F8 002D6458 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D94FC 002D645C 48 00 00 EC */ b lbl_802D95E8 +lbl_802D9500: +/* 802D9500 002D6460 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9504 002D6464 1C 60 00 44 */ mulli r3, r0, 0x44 +/* 802D9508 002D6468 2C 03 00 00 */ cmpwi r3, 0 +/* 802D950C 002D646C 40 82 00 10 */ bne lbl_802D951C +/* 802D9510 002D6470 38 00 00 00 */ li r0, 0 +/* 802D9514 002D6474 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9518 002D6478 48 00 00 1C */ b lbl_802D9534 +lbl_802D951C: +/* 802D951C 002D647C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9520 002D6480 38 A0 00 00 */ li r5, 0 +/* 802D9524 002D6484 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9528 002D6488 38 84 00 01 */ addi r4, r4, 1 +/* 802D952C 002D648C 48 03 C2 ED */ bl __nwa__FUlPCcPCc +/* 802D9530 002D6490 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9534: +/* 802D9534 002D6494 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D9538 002D6498 3B C0 00 00 */ li r30, 0 +/* 802D953C 002D649C 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D9540 002D64A0 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9544 002D64A4 48 00 00 9C */ b lbl_802D95E0 +lbl_802D9548: +/* 802D9548 002D64A8 28 1D 00 00 */ cmplwi r29, 0 +/* 802D954C 002D64AC 41 82 00 88 */ beq lbl_802D95D4 +/* 802D9550 002D64B0 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802D9554 002D64B4 38 7D 00 08 */ addi r3, r29, 8 +/* 802D9558 002D64B8 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802D955C 002D64BC 38 9C 00 08 */ addi r4, r28, 8 +/* 802D9560 002D64C0 90 1D 00 00 */ stw r0, 0(r29) +/* 802D9564 002D64C4 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D9568 002D64C8 B0 1D 00 04 */ sth r0, 4(r29) +/* 802D956C 002D64CC 48 06 4B F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9570 002D64D0 A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D9574 002D64D4 3C 60 80 3E */ lis r3, lbl_803D9B80@ha +/* 802D9578 002D64D8 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l +/* 802D957C 002D64DC B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D9580 002D64E0 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D9584 002D64E4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D9588 002D64E8 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 802D958C 002D64EC 90 7D 00 20 */ stw r3, 0x20(r29) +/* 802D9590 002D64F0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 802D9594 002D64F4 90 7D 00 24 */ stw r3, 0x24(r29) +/* 802D9598 002D64F8 88 7C 00 28 */ lbz r3, 0x28(r28) +/* 802D959C 002D64FC 98 7D 00 28 */ stb r3, 0x28(r29) +/* 802D95A0 002D6500 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D95A4 002D6504 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D95A8 002D6508 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 802D95AC 002D650C 90 7D 00 30 */ stw r3, 0x30(r29) +/* 802D95B0 002D6510 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 802D95B4 002D6514 90 7D 00 34 */ stw r3, 0x34(r29) +/* 802D95B8 002D6518 90 1D 00 00 */ stw r0, 0(r29) +/* 802D95BC 002D651C 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802D95C0 002D6520 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802D95C4 002D6524 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 802D95C8 002D6528 D0 1D 00 3C */ stfs f0, 0x3c(r29) +/* 802D95CC 002D652C C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 802D95D0 002D6530 D0 1D 00 40 */ stfs f0, 0x40(r29) +lbl_802D95D4: +/* 802D95D4 002D6534 3B BD 00 44 */ addi r29, r29, 0x44 +/* 802D95D8 002D6538 3B DE 00 01 */ addi r30, r30, 1 +/* 802D95DC 002D653C 3B 9C 00 44 */ addi r28, r28, 0x44 +lbl_802D95E0: +/* 802D95E0 002D6540 7C 1E D8 00 */ cmpw r30, r27 +/* 802D95E4 002D6544 41 80 FF 64 */ blt lbl_802D9548 +lbl_802D95E8: +/* 802D95E8 002D6548 7F E3 FB 78 */ mr r3, r31 +/* 802D95EC 002D654C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D95F0 002D6550 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D95F4 002D6554 7C 08 03 A6 */ mtlr r0 +/* 802D95F8 002D6558 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D95FC 002D655C 4E 80 00 20 */ blr + +.global sub_802d9600 +sub_802d9600: +/* 802D9600 002D6560 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9604 002D6564 7C 08 02 A6 */ mflr r0 +/* 802D9608 002D6568 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D960C 002D656C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D9610 002D6570 7C 9F 23 78 */ mr r31, r4 +/* 802D9614 002D6574 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9618 002D6578 7C 7E 1B 78 */ mr r30, r3 +/* 802D961C 002D657C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9620 002D6580 90 03 00 04 */ stw r0, 4(r3) +/* 802D9624 002D6584 80 04 00 08 */ lwz r0, 8(r4) +/* 802D9628 002D6588 90 03 00 08 */ stw r0, 8(r3) +/* 802D962C 002D658C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9630 002D6590 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9634 002D6594 40 82 00 1C */ bne lbl_802D9650 +/* 802D9638 002D6598 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D963C 002D659C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9640 002D65A0 40 82 00 10 */ bne lbl_802D9650 +/* 802D9644 002D65A4 38 00 00 00 */ li r0, 0 +/* 802D9648 002D65A8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D964C 002D65AC 48 00 00 48 */ b lbl_802D9694 +lbl_802D9650: +/* 802D9650 002D65B0 80 1E 00 08 */ lwz r0, 8(r30) +/* 802D9654 002D65B4 1C 60 00 5C */ mulli r3, r0, 0x5c +/* 802D9658 002D65B8 2C 03 00 00 */ cmpwi r3, 0 +/* 802D965C 002D65BC 40 82 00 10 */ bne lbl_802D966C +/* 802D9660 002D65C0 38 00 00 00 */ li r0, 0 +/* 802D9664 002D65C4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D9668 002D65C8 48 00 00 1C */ b lbl_802D9684 +lbl_802D966C: +/* 802D966C 002D65CC 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9670 002D65D0 38 A0 00 00 */ li r5, 0 +/* 802D9674 002D65D4 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9678 002D65D8 38 84 00 01 */ addi r4, r4, 1 +/* 802D967C 002D65DC 48 03 C1 9D */ bl __nwa__FUlPCcPCc +/* 802D9680 002D65E0 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802D9684: +/* 802D9684 002D65E4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802D9688 002D65E8 80 9E 00 04 */ lwz r4, 4(r30) +/* 802D968C 002D65EC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802D9690 002D65F0 48 00 00 21 */ bl sub_802d96b0 +lbl_802D9694: +/* 802D9694 002D65F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9698 002D65F8 7F C3 F3 78 */ mr r3, r30 +/* 802D969C 002D65FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D96A0 002D6600 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D96A4 002D6604 7C 08 03 A6 */ mtlr r0 +/* 802D96A8 002D6608 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D96AC 002D660C 4E 80 00 20 */ blr + +.global sub_802d96b0 +sub_802d96b0: +/* 802D96B0 002D6610 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D96B4 002D6614 7C 08 02 A6 */ mflr r0 +/* 802D96B8 002D6618 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D96BC 002D661C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D96C0 002D6620 7C 7F 1B 78 */ mr r31, r3 +/* 802D96C4 002D6624 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D96C8 002D6628 7C BE 2B 78 */ mr r30, r5 +/* 802D96CC 002D662C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D96D0 002D6630 3B A0 00 00 */ li r29, 0 +/* 802D96D4 002D6634 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D96D8 002D6638 7C 9C 23 78 */ mr r28, r4 +/* 802D96DC 002D663C 48 00 00 B8 */ b lbl_802D9794 +lbl_802D96E0: +/* 802D96E0 002D6640 28 1E 00 00 */ cmplwi r30, 0 +/* 802D96E4 002D6644 41 82 00 A4 */ beq lbl_802D9788 +/* 802D96E8 002D6648 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D96EC 002D664C 38 9F 00 08 */ addi r4, r31, 8 +/* 802D96F0 002D6650 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D96F4 002D6654 90 1E 00 00 */ stw r0, 0(r30) +/* 802D96F8 002D6658 38 7E 00 08 */ addi r3, r30, 8 +/* 802D96FC 002D665C A0 1F 00 04 */ lhz r0, 4(r31) +/* 802D9700 002D6660 B0 1E 00 04 */ sth r0, 4(r30) +/* 802D9704 002D6664 48 06 4A 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9708 002D6668 A0 9F 00 18 */ lhz r4, 0x18(r31) +/* 802D970C 002D666C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha +/* 802D9710 002D6670 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l +/* 802D9714 002D6674 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802D9718 002D6678 B0 9E 00 18 */ sth r4, 0x18(r30) +/* 802D971C 002D667C 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802D9720 002D6680 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802D9724 002D6684 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802D9728 002D6688 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802D972C 002D668C 90 BE 00 20 */ stw r5, 0x20(r30) +/* 802D9730 002D6690 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 802D9734 002D6694 90 BE 00 24 */ stw r5, 0x24(r30) +/* 802D9738 002D6698 88 BF 00 28 */ lbz r5, 0x28(r31) +/* 802D973C 002D669C 98 BE 00 28 */ stb r5, 0x28(r30) +/* 802D9740 002D66A0 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802D9744 002D66A4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 802D9748 002D66A8 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 802D974C 002D66AC 90 BE 00 30 */ stw r5, 0x30(r30) +/* 802D9750 002D66B0 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802D9754 002D66B4 90 BE 00 34 */ stw r5, 0x34(r30) +/* 802D9758 002D66B8 90 1E 00 00 */ stw r0, 0(r30) +/* 802D975C 002D66BC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802D9760 002D66C0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802D9764 002D66C4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802D9768 002D66C8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802D976C 002D66CC 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 802D9770 002D66D0 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802D9774 002D66D4 48 06 49 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9778 002D66D8 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 802D977C 002D66DC D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802D9780 002D66E0 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802D9784 002D66E4 90 1E 00 58 */ stw r0, 0x58(r30) +lbl_802D9788: +/* 802D9788 002D66E8 3B DE 00 5C */ addi r30, r30, 0x5c +/* 802D978C 002D66EC 3B BD 00 01 */ addi r29, r29, 1 +/* 802D9790 002D66F0 3B FF 00 5C */ addi r31, r31, 0x5c +lbl_802D9794: +/* 802D9794 002D66F4 7C 1D E0 00 */ cmpw r29, r28 +/* 802D9798 002D66F8 41 80 FF 48 */ blt lbl_802D96E0 +/* 802D979C 002D66FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D97A0 002D6700 7F C3 F3 78 */ mr r3, r30 +/* 802D97A4 002D6704 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D97A8 002D6708 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D97AC 002D670C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D97B0 002D6710 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D97B4 002D6714 7C 08 03 A6 */ mtlr r0 +/* 802D97B8 002D6718 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D97BC 002D671C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>": +/* 802D97C0 002D6720 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D97C4 002D6724 7C 08 02 A6 */ mflr r0 +/* 802D97C8 002D6728 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D97CC 002D672C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D97D0 002D6730 7C 9C 23 78 */ mr r28, r4 +/* 802D97D4 002D6734 7C 7F 1B 78 */ mr r31, r3 +/* 802D97D8 002D6738 80 04 00 04 */ lwz r0, 4(r4) +/* 802D97DC 002D673C 90 03 00 04 */ stw r0, 4(r3) +/* 802D97E0 002D6740 80 04 00 08 */ lwz r0, 8(r4) +/* 802D97E4 002D6744 90 03 00 08 */ stw r0, 8(r3) +/* 802D97E8 002D6748 80 04 00 04 */ lwz r0, 4(r4) +/* 802D97EC 002D674C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D97F0 002D6750 40 82 00 1C */ bne lbl_802D980C +/* 802D97F4 002D6754 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D97F8 002D6758 2C 00 00 00 */ cmpwi r0, 0 +/* 802D97FC 002D675C 40 82 00 10 */ bne lbl_802D980C +/* 802D9800 002D6760 38 00 00 00 */ li r0, 0 +/* 802D9804 002D6764 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9808 002D6768 48 00 00 E8 */ b lbl_802D98F0 +lbl_802D980C: +/* 802D980C 002D676C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9810 002D6770 1C 60 00 4C */ mulli r3, r0, 0x4c +/* 802D9814 002D6774 2C 03 00 00 */ cmpwi r3, 0 +/* 802D9818 002D6778 40 82 00 10 */ bne lbl_802D9828 +/* 802D981C 002D677C 38 00 00 00 */ li r0, 0 +/* 802D9820 002D6780 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9824 002D6784 48 00 00 1C */ b lbl_802D9840 +lbl_802D9828: +/* 802D9828 002D6788 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D982C 002D678C 38 A0 00 00 */ li r5, 0 +/* 802D9830 002D6790 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D9834 002D6794 38 84 00 01 */ addi r4, r4, 1 +/* 802D9838 002D6798 48 03 BF E1 */ bl __nwa__FUlPCcPCc +/* 802D983C 002D679C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9840: +/* 802D9840 002D67A0 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D9844 002D67A4 3B C0 00 00 */ li r30, 0 +/* 802D9848 002D67A8 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D984C 002D67AC 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9850 002D67B0 48 00 00 98 */ b lbl_802D98E8 +lbl_802D9854: +/* 802D9854 002D67B4 28 1D 00 00 */ cmplwi r29, 0 +/* 802D9858 002D67B8 41 82 00 84 */ beq lbl_802D98DC +/* 802D985C 002D67BC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha +/* 802D9860 002D67C0 38 9C 00 08 */ addi r4, r28, 8 +/* 802D9864 002D67C4 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l +/* 802D9868 002D67C8 90 1D 00 00 */ stw r0, 0(r29) +/* 802D986C 002D67CC 38 7D 00 08 */ addi r3, r29, 8 +/* 802D9870 002D67D0 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D9874 002D67D4 B0 1D 00 04 */ sth r0, 4(r29) +/* 802D9878 002D67D8 48 06 48 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D987C 002D67DC A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D9880 002D67E0 3C 60 80 3E */ lis r3, lbl_803D9B98@ha +/* 802D9884 002D67E4 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l +/* 802D9888 002D67E8 38 7D 00 3C */ addi r3, r29, 0x3c +/* 802D988C 002D67EC B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D9890 002D67F0 38 9C 00 3C */ addi r4, r28, 0x3c +/* 802D9894 002D67F4 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D9898 002D67F8 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D989C 002D67FC 80 BC 00 20 */ lwz r5, 0x20(r28) +/* 802D98A0 002D6800 90 BD 00 20 */ stw r5, 0x20(r29) +/* 802D98A4 002D6804 80 BC 00 24 */ lwz r5, 0x24(r28) +/* 802D98A8 002D6808 90 BD 00 24 */ stw r5, 0x24(r29) +/* 802D98AC 002D680C 88 BC 00 28 */ lbz r5, 0x28(r28) +/* 802D98B0 002D6810 98 BD 00 28 */ stb r5, 0x28(r29) +/* 802D98B4 002D6814 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D98B8 002D6818 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D98BC 002D681C 80 BC 00 30 */ lwz r5, 0x30(r28) +/* 802D98C0 002D6820 90 BD 00 30 */ stw r5, 0x30(r29) +/* 802D98C4 002D6824 80 BC 00 34 */ lwz r5, 0x34(r28) +/* 802D98C8 002D6828 90 BD 00 34 */ stw r5, 0x34(r29) +/* 802D98CC 002D682C 90 1D 00 00 */ stw r0, 0(r29) +/* 802D98D0 002D6830 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 802D98D4 002D6834 90 1D 00 38 */ stw r0, 0x38(r29) +/* 802D98D8 002D6838 48 06 48 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802D98DC: +/* 802D98DC 002D683C 3B BD 00 4C */ addi r29, r29, 0x4c +/* 802D98E0 002D6840 3B DE 00 01 */ addi r30, r30, 1 +/* 802D98E4 002D6844 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_802D98E8: +/* 802D98E8 002D6848 7C 1E D8 00 */ cmpw r30, r27 +/* 802D98EC 002D684C 41 80 FF 68 */ blt lbl_802D9854 +lbl_802D98F0: +/* 802D98F0 002D6850 7F E3 FB 78 */ mr r3, r31 +/* 802D98F4 002D6854 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D98F8 002D6858 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D98FC 002D685C 7C 08 03 A6 */ mtlr r0 +/* 802D9900 002D6860 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D9904 002D6864 4E 80 00 20 */ blr + +.global "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>": +/* 802D9908 002D6868 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D990C 002D686C 7C 08 02 A6 */ mflr r0 +/* 802D9910 002D6870 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D9914 002D6874 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802D9918 002D6878 7C 9C 23 78 */ mr r28, r4 +/* 802D991C 002D687C 7C 7F 1B 78 */ mr r31, r3 +/* 802D9920 002D6880 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9924 002D6884 90 03 00 04 */ stw r0, 4(r3) +/* 802D9928 002D6888 80 04 00 08 */ lwz r0, 8(r4) +/* 802D992C 002D688C 90 03 00 08 */ stw r0, 8(r3) +/* 802D9930 002D6890 80 04 00 04 */ lwz r0, 4(r4) +/* 802D9934 002D6894 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9938 002D6898 40 82 00 1C */ bne lbl_802D9954 +/* 802D993C 002D689C 80 1C 00 08 */ lwz r0, 8(r28) +/* 802D9940 002D68A0 2C 00 00 00 */ cmpwi r0, 0 +/* 802D9944 002D68A4 40 82 00 10 */ bne lbl_802D9954 +/* 802D9948 002D68A8 38 00 00 00 */ li r0, 0 +/* 802D994C 002D68AC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D9950 002D68B0 48 00 00 DC */ b lbl_802D9A2C +lbl_802D9954: +/* 802D9954 002D68B4 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9958 002D68B8 1C 60 00 3C */ mulli r3, r0, 0x3c +/* 802D995C 002D68BC 2C 03 00 00 */ cmpwi r3, 0 +/* 802D9960 002D68C0 40 82 00 10 */ bne lbl_802D9970 +/* 802D9964 002D68C4 38 00 00 00 */ li r0, 0 +/* 802D9968 002D68C8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D996C 002D68CC 48 00 00 1C */ b lbl_802D9988 +lbl_802D9970: +/* 802D9970 002D68D0 3C 80 80 3D */ lis r4, lbl_803D6D38@ha +/* 802D9974 002D68D4 38 A0 00 00 */ li r5, 0 +/* 802D9978 002D68D8 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l +/* 802D997C 002D68DC 38 84 00 01 */ addi r4, r4, 1 +/* 802D9980 002D68E0 48 03 BE 99 */ bl __nwa__FUlPCcPCc +/* 802D9984 002D68E4 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802D9988: +/* 802D9988 002D68E8 83 7F 00 04 */ lwz r27, 4(r31) +/* 802D998C 002D68EC 3B C0 00 00 */ li r30, 0 +/* 802D9990 002D68F0 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 802D9994 002D68F4 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802D9998 002D68F8 48 00 00 8C */ b lbl_802D9A24 +lbl_802D999C: +/* 802D999C 002D68FC 28 1D 00 00 */ cmplwi r29, 0 +/* 802D99A0 002D6900 41 82 00 78 */ beq lbl_802D9A18 +/* 802D99A4 002D6904 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 802D99A8 002D6908 38 7D 00 08 */ addi r3, r29, 8 +/* 802D99AC 002D690C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 802D99B0 002D6910 38 9C 00 08 */ addi r4, r28, 8 +/* 802D99B4 002D6914 90 1D 00 00 */ stw r0, 0(r29) +/* 802D99B8 002D6918 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802D99BC 002D691C B0 1D 00 04 */ sth r0, 4(r29) +/* 802D99C0 002D6920 48 06 47 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D99C4 002D6924 A0 9C 00 18 */ lhz r4, 0x18(r28) +/* 802D99C8 002D6928 3C 60 80 3E */ lis r3, lbl_803D9B68@ha +/* 802D99CC 002D692C 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l +/* 802D99D0 002D6930 B0 9D 00 18 */ sth r4, 0x18(r29) +/* 802D99D4 002D6934 C0 1C 00 1C */ lfs f0, 0x1c(r28) +/* 802D99D8 002D6938 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 802D99DC 002D693C 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 802D99E0 002D6940 90 7D 00 20 */ stw r3, 0x20(r29) +/* 802D99E4 002D6944 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 802D99E8 002D6948 90 7D 00 24 */ stw r3, 0x24(r29) +/* 802D99EC 002D694C 88 7C 00 28 */ lbz r3, 0x28(r28) +/* 802D99F0 002D6950 98 7D 00 28 */ stb r3, 0x28(r29) +/* 802D99F4 002D6954 C0 1C 00 2C */ lfs f0, 0x2c(r28) +/* 802D99F8 002D6958 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 802D99FC 002D695C 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 802D9A00 002D6960 90 7D 00 30 */ stw r3, 0x30(r29) +/* 802D9A04 002D6964 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 802D9A08 002D6968 90 7D 00 34 */ stw r3, 0x34(r29) +/* 802D9A0C 002D696C 90 1D 00 00 */ stw r0, 0(r29) +/* 802D9A10 002D6970 88 1C 00 38 */ lbz r0, 0x38(r28) +/* 802D9A14 002D6974 98 1D 00 38 */ stb r0, 0x38(r29) +lbl_802D9A18: +/* 802D9A18 002D6978 3B BD 00 3C */ addi r29, r29, 0x3c +/* 802D9A1C 002D697C 3B DE 00 01 */ addi r30, r30, 1 +/* 802D9A20 002D6980 3B 9C 00 3C */ addi r28, r28, 0x3c +lbl_802D9A24: +/* 802D9A24 002D6984 7C 1E D8 00 */ cmpw r30, r27 +/* 802D9A28 002D6988 41 80 FF 74 */ blt lbl_802D999C +lbl_802D9A2C: +/* 802D9A2C 002D698C 7F E3 FB 78 */ mr r3, r31 +/* 802D9A30 002D6990 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802D9A34 002D6994 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D9A38 002D6998 7C 08 03 A6 */ mtlr r0 +/* 802D9A3C 002D699C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D9A40 002D69A0 4E 80 00 20 */ blr + +.global __dt__20CAnimTreeSingleChildFv +__dt__20CAnimTreeSingleChildFv: +/* 802D9A44 002D69A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D9A48 002D69A8 7C 08 02 A6 */ mflr r0 +/* 802D9A4C 002D69AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D9A50 002D69B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D9A54 002D69B4 7C 9F 23 78 */ mr r31, r4 +/* 802D9A58 002D69B8 93 C1 00 08 */ stw r30, 8(r1) +/* 802D9A5C 002D69BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D9A60 002D69C0 41 82 00 74 */ beq lbl_802D9AD4 +/* 802D9A64 002D69C4 3C 60 80 3F */ lis r3, lbl_803ED240@ha +/* 802D9A68 002D69C8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D9A6C 002D69CC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l +/* 802D9A70 002D69D0 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9A74 002D69D4 41 82 00 14 */ beq lbl_802D9A88 +/* 802D9A78 002D69D8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 802D9A7C 002D69DC 41 82 00 0C */ beq lbl_802D9A88 +/* 802D9A80 002D69E0 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D9A84 002D69E4 4B D5 75 1D */ bl sub_80030fa0 +lbl_802D9A88: +/* 802D9A88 002D69E8 28 1E 00 00 */ cmplwi r30, 0 +/* 802D9A8C 002D69EC 41 82 00 38 */ beq lbl_802D9AC4 +/* 802D9A90 002D69F0 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha +/* 802D9A94 002D69F4 38 80 00 02 */ li r4, 2 +/* 802D9A98 002D69F8 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l +/* 802D9A9C 002D69FC 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9AA0 002D6A00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D9AA4 002D6A04 48 01 E1 05 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 802D9AA8 002D6A08 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D9AAC 002D6A0C 41 82 00 0C */ beq lbl_802D9AB8 +/* 802D9AB0 002D6A10 38 7E 00 04 */ addi r3, r30, 4 +/* 802D9AB4 002D6A14 48 06 40 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D9AB8: +/* 802D9AB8 002D6A18 7F C3 F3 78 */ mr r3, r30 +/* 802D9ABC 002D6A1C 38 80 00 00 */ li r4, 0 +/* 802D9AC0 002D6A20 48 02 44 15 */ bl __dt__11IAnimReaderFv +lbl_802D9AC4: +/* 802D9AC4 002D6A24 7F E0 07 35 */ extsh. r0, r31 +/* 802D9AC8 002D6A28 40 81 00 0C */ ble lbl_802D9AD4 +/* 802D9ACC 002D6A2C 7F C3 F3 78 */ mr r3, r30 +/* 802D9AD0 002D6A30 48 03 BE 61 */ bl Free__7CMemoryFPCv +lbl_802D9AD4: +/* 802D9AD4 002D6A34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D9AD8 002D6A38 7F C3 F3 78 */ mr r3, r30 +/* 802D9ADC 002D6A3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D9AE0 002D6A40 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D9AE4 002D6A44 7C 08 03 A6 */ mtlr r0 +/* 802D9AE8 002D6A48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D9AEC 002D6A4C 4E 80 00 20 */ blr + +.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802D9AF0 002D6A50 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802D9AF4 002D6A54 7C 08 02 A6 */ mflr r0 +/* 802D9AF8 002D6A58 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802D9AFC 002D6A5C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802D9B00 002D6A60 7C FF 3B 78 */ mr r31, r7 +/* 802D9B04 002D6A64 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802D9B08 002D6A68 7C 7E 1B 78 */ mr r30, r3 +/* 802D9B0C 002D6A6C 38 61 00 08 */ addi r3, r1, 8 +/* 802D9B10 002D6A70 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802D9B14 002D6A74 7D 1D 43 78 */ mr r29, r8 +/* 802D9B18 002D6A78 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802D9B1C 002D6A7C 7C BC 2B 78 */ mr r28, r5 +/* 802D9B20 002D6A80 7C C5 33 78 */ mr r5, r6 +/* 802D9B24 002D6A84 7F E6 FB 78 */ mr r6, r31 +/* 802D9B28 002D6A88 48 00 D3 C5 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9B2C 002D6A8C 7F C3 F3 78 */ mr r3, r30 +/* 802D9B30 002D6A90 7F A4 EB 78 */ mr r4, r29 +/* 802D9B34 002D6A94 48 01 A1 9D */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D9B38 002D6A98 3C 80 80 3F */ lis r4, lbl_803ED240@ha +/* 802D9B3C 002D6A9C 38 61 00 08 */ addi r3, r1, 8 +/* 802D9B40 002D6AA0 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l +/* 802D9B44 002D6AA4 90 1E 00 00 */ stw r0, 0(r30) +/* 802D9B48 002D6AA8 80 01 00 08 */ lwz r0, 8(r1) +/* 802D9B4C 002D6AAC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802D9B50 002D6AB0 80 BE 00 14 */ lwz r5, 0x14(r30) +/* 802D9B54 002D6AB4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D9B58 002D6AB8 38 04 00 01 */ addi r0, r4, 1 +/* 802D9B5C 002D6ABC 90 05 00 04 */ stw r0, 4(r5) +/* 802D9B60 002D6AC0 4B D5 74 41 */ bl sub_80030fa0 +/* 802D9B64 002D6AC4 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha +/* 802D9B68 002D6AC8 3B BE 00 20 */ addi r29, r30, 0x20 +/* 802D9B6C 002D6ACC 38 63 CB E0 */ addi r3, r3, lbl_803ECBE0@l +/* 802D9B70 002D6AD0 38 00 00 00 */ li r0, 0 +/* 802D9B74 002D6AD4 90 7E 00 00 */ stw r3, 0(r30) +/* 802D9B78 002D6AD8 7F A3 EB 78 */ mr r3, r29 +/* 802D9B7C 002D6ADC 7F E4 FB 78 */ mr r4, r31 +/* 802D9B80 002D6AE0 80 BC 00 00 */ lwz r5, 0(r28) +/* 802D9B84 002D6AE4 90 BE 00 18 */ stw r5, 0x18(r30) +/* 802D9B88 002D6AE8 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 802D9B8C 002D6AEC 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D9B90 002D6AF0 38 A5 00 01 */ addi r5, r5, 1 +/* 802D9B94 002D6AF4 90 A6 00 04 */ stw r5, 4(r6) +/* 802D9B98 002D6AF8 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 802D9B9C 002D6AFC 48 06 73 0D */ bl __ct__6CTokenFRC6CToken +/* 802D9BA0 002D6B00 80 1F 00 08 */ lwz r0, 8(r31) +/* 802D9BA4 002D6B04 7F E6 FB 78 */ mr r6, r31 +/* 802D9BA8 002D6B08 38 61 00 0C */ addi r3, r1, 0xc +/* 802D9BAC 002D6B0C 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802D9BB0 002D6B10 90 1D 00 08 */ stw r0, 8(r29) +/* 802D9BB4 002D6B14 38 BE 00 18 */ addi r5, r30, 0x18 +/* 802D9BB8 002D6B18 81 1D 00 08 */ lwz r8, 8(r29) +/* 802D9BBC 002D6B1C 80 E8 00 04 */ lwz r7, 4(r8) +/* 802D9BC0 002D6B20 38 07 00 01 */ addi r0, r7, 1 +/* 802D9BC4 002D6B24 90 08 00 04 */ stw r0, 4(r8) +/* 802D9BC8 002D6B28 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802D9BCC 002D6B2C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802D9BD0 002D6B30 48 00 D0 05 */ bl "__ct__15CSequenceHelperFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" +/* 802D9BD4 002D6B34 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D9BD8 002D6B38 38 81 00 0C */ addi r4, r1, 0xc +/* 802D9BDC 002D6B3C 48 00 BD AD */ bl ComputeSequenceFundamentals__15CSequenceHelperCFv +/* 802D9BE0 002D6B40 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802D9BE4 002D6B44 38 81 00 3C */ addi r4, r1, 0x3c +/* 802D9BE8 002D6B48 4B FF F8 35 */ bl sub_802d941c +/* 802D9BEC 002D6B4C 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D9BF0 002D6B50 38 80 FF FF */ li r4, -1 +/* 802D9BF4 002D6B54 4B FF EC 1D */ bl sub_802d8810 +/* 802D9BF8 002D6B58 38 61 00 0C */ addi r3, r1, 0xc +/* 802D9BFC 002D6B5C 38 80 FF FF */ li r4, -1 +/* 802D9C00 002D6B60 48 00 00 35 */ bl __dt__15CSequenceHelperFv +/* 802D9C04 002D6B64 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) +/* 802D9C08 002D6B68 38 7E 00 88 */ addi r3, r30, 0x88 +/* 802D9C0C 002D6B6C 48 06 F1 E1 */ bl __ct__13CCharAnimTimeFf +/* 802D9C10 002D6B70 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802D9C14 002D6B74 7F C3 F3 78 */ mr r3, r30 +/* 802D9C18 002D6B78 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802D9C1C 002D6B7C 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802D9C20 002D6B80 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802D9C24 002D6B84 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802D9C28 002D6B88 7C 08 03 A6 */ mtlr r0 +/* 802D9C2C 002D6B8C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802D9C30 002D6B90 4E 80 00 20 */ blr diff --git a/asm/Animation/CAnimation.s b/asm/Animation/CAnimation.s new file mode 100644 index 00000000..99656b90 --- /dev/null +++ b/asm/Animation/CAnimation.s @@ -0,0 +1,33 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__10CAnimationFR12CInputStream +__ct__10CAnimationFR12CInputStream: +/* 802D6D84 002D3CE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6D88 002D3CE8 7C 08 02 A6 */ mflr r0 +/* 802D6D8C 002D3CEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6D90 002D3CF0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D6D94 002D3CF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D6D98 002D3CF8 7C 9F 23 78 */ mr r31, r4 +/* 802D6D9C 002D3CFC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D6DA0 002D3D00 7C 7E 1B 78 */ mr r30, r3 +/* 802D6DA4 002D3D04 48 06 75 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D6DA8 002D3D08 7F E4 FB 78 */ mr r4, r31 +/* 802D6DAC 002D3D0C 38 61 00 0C */ addi r3, r1, 0xc +/* 802D6DB0 002D3D10 48 00 92 2D */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream +/* 802D6DB4 002D3D14 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D6DB8 002D3D18 38 61 00 0C */ addi r3, r1, 0xc +/* 802D6DBC 002D3D1C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802D6DC0 002D3D20 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 802D6DC4 002D3D24 80 85 00 04 */ lwz r4, 4(r5) +/* 802D6DC8 002D3D28 38 04 00 01 */ addi r0, r4, 1 +/* 802D6DCC 002D3D2C 90 05 00 04 */ stw r0, 4(r5) +/* 802D6DD0 002D3D30 4B D5 A1 61 */ bl sub_80030f30 +/* 802D6DD4 002D3D34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D6DD8 002D3D38 7F C3 F3 78 */ mr r3, r30 +/* 802D6DDC 002D3D3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D6DE0 002D3D40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D6DE4 002D3D44 7C 08 03 A6 */ mtlr r0 +/* 802D6DE8 002D3D48 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D6DEC 002D3D4C 4E 80 00 20 */ blr diff --git a/asm/Animation/CAnimationManager.s b/asm/Animation/CAnimationManager.s new file mode 100644 index 00000000..a194b054 --- /dev/null +++ b/asm/Animation/CAnimationManager.s @@ -0,0 +1,94 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "NonConstCopy__28TToken<18CAnimationDatabase>CFv" +"NonConstCopy__28TToken<18CAnimationDatabase>CFv": +/* 802D6DF0 002D3D50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6DF4 002D3D54 7C 08 02 A6 */ mflr r0 +/* 802D6DF8 002D3D58 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6DFC 002D3D5C 48 06 A0 AD */ bl __ct__6CTokenFRC6CToken +/* 802D6E00 002D3D60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6E04 002D3D64 7C 08 03 A6 */ mtlr r0 +/* 802D6E08 002D3D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6E0C 002D3D6C 4E 80 00 20 */ blr + +.global GetMetaAnimation__17CAnimationManagerCFUi +GetMetaAnimation__17CAnimationManagerCFUi: +/* 802D6E10 002D3D70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6E14 002D3D74 7C 08 02 A6 */ mflr r0 +/* 802D6E18 002D3D78 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6E1C 002D3D7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D6E20 002D3D80 7C BF 2B 78 */ mr r31, r5 +/* 802D6E24 002D3D84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D6E28 002D3D88 7C 7E 1B 78 */ mr r30, r3 +/* 802D6E2C 002D3D8C 38 61 00 08 */ addi r3, r1, 8 +/* 802D6E30 002D3D90 4B FF FF C1 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv" +/* 802D6E34 002D3D94 38 61 00 08 */ addi r3, r1, 8 +/* 802D6E38 002D3D98 48 06 9F D5 */ bl GetObj__6CTokenFv +/* 802D6E3C 002D3D9C 80 63 00 04 */ lwz r3, 4(r3) +/* 802D6E40 002D3DA0 7F E4 FB 78 */ mr r4, r31 +/* 802D6E44 002D3DA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802D6E48 002D3DA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D6E4C 002D3DAC 7D 89 03 A6 */ mtctr r12 +/* 802D6E50 002D3DB0 4E 80 04 21 */ bctrl +/* 802D6E54 002D3DB4 80 03 00 00 */ lwz r0, 0(r3) +/* 802D6E58 002D3DB8 38 61 00 08 */ addi r3, r1, 8 +/* 802D6E5C 002D3DBC 38 80 00 00 */ li r4, 0 +/* 802D6E60 002D3DC0 90 1E 00 00 */ stw r0, 0(r30) +/* 802D6E64 002D3DC4 80 DE 00 00 */ lwz r6, 0(r30) +/* 802D6E68 002D3DC8 80 A6 00 04 */ lwz r5, 4(r6) +/* 802D6E6C 002D3DCC 38 05 00 01 */ addi r0, r5, 1 +/* 802D6E70 002D3DD0 90 06 00 04 */ stw r0, 4(r6) +/* 802D6E74 002D3DD4 48 06 9F CD */ bl __dt__6CTokenFv +/* 802D6E78 002D3DD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D6E7C 002D3DDC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D6E80 002D3DE0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D6E84 002D3DE4 7C 08 03 A6 */ mtlr r0 +/* 802D6E88 002D3DE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D6E8C 002D3DEC 4E 80 00 20 */ blr + +.global GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders +GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders: +/* 802D6E90 002D3DF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6E94 002D3DF4 7C 08 02 A6 */ mflr r0 +/* 802D6E98 002D3DF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6E9C 002D3DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D6EA0 002D3E00 7C BF 2B 78 */ mr r31, r5 +/* 802D6EA4 002D3E04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D6EA8 002D3E08 7C DE 33 78 */ mr r30, r6 +/* 802D6EAC 002D3E0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D6EB0 002D3E10 7C 9D 23 78 */ mr r29, r4 +/* 802D6EB4 002D3E14 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D6EB8 002D3E18 7C 7C 1B 78 */ mr r28, r3 +/* 802D6EBC 002D3E1C 38 61 00 08 */ addi r3, r1, 8 +/* 802D6EC0 002D3E20 4B FF FF 31 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv" +/* 802D6EC4 002D3E24 38 61 00 08 */ addi r3, r1, 8 +/* 802D6EC8 002D3E28 48 06 9F 45 */ bl GetObj__6CTokenFv +/* 802D6ECC 002D3E2C 80 63 00 04 */ lwz r3, 4(r3) +/* 802D6ED0 002D3E30 7F E4 FB 78 */ mr r4, r31 +/* 802D6ED4 002D3E34 81 83 00 00 */ lwz r12, 0(r3) +/* 802D6ED8 002D3E38 81 8C 00 08 */ lwz r12, 8(r12) +/* 802D6EDC 002D3E3C 7D 89 03 A6 */ mtctr r12 +/* 802D6EE0 002D3E40 4E 80 04 21 */ bctrl +/* 802D6EE4 002D3E44 7C 7F 1B 78 */ mr r31, r3 +/* 802D6EE8 002D3E48 38 61 00 08 */ addi r3, r1, 8 +/* 802D6EEC 002D3E4C 38 80 00 00 */ li r4, 0 +/* 802D6EF0 002D3E50 48 06 9F 51 */ bl __dt__6CTokenFv +/* 802D6EF4 002D3E54 80 9F 00 00 */ lwz r4, 0(r31) +/* 802D6EF8 002D3E58 7F 83 E3 78 */ mr r3, r28 +/* 802D6EFC 002D3E5C 7F C6 F3 78 */ mr r6, r30 +/* 802D6F00 002D3E60 38 BD 00 08 */ addi r5, r29, 8 +/* 802D6F04 002D3E64 80 84 00 00 */ lwz r4, 0(r4) +/* 802D6F08 002D3E68 81 84 00 00 */ lwz r12, 0(r4) +/* 802D6F0C 002D3E6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802D6F10 002D3E70 7D 89 03 A6 */ mtctr r12 +/* 802D6F14 002D3E74 4E 80 04 21 */ bctrl +/* 802D6F18 002D3E78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D6F1C 002D3E7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D6F20 002D3E80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D6F24 002D3E84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D6F28 002D3E88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D6F2C 002D3E8C 7C 08 03 A6 */ mtlr r0 +/* 802D6F30 002D3E90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D6F34 002D3E94 4E 80 00 20 */ blr diff --git a/asm/Animation/CAnimationSet.s b/asm/Animation/CAnimationSet.s new file mode 100644 index 00000000..8e7c9acc --- /dev/null +++ b/asm/Animation/CAnimationSet.s @@ -0,0 +1,1312 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream +StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream: +/* 802D6F38 002D3E98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6F3C 002D3E9C 7C 08 02 A6 */ mflr r0 +/* 802D6F40 002D3EA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6F44 002D3EA4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D6F48 002D3EA8 28 00 00 03 */ cmplwi r0, 3 +/* 802D6F4C 002D3EAC 40 81 00 14 */ ble lbl_802D6F60 +/* 802D6F50 002D3EB0 7C A4 2B 78 */ mr r4, r5 +/* 802D6F54 002D3EB4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D6F58 002D3EB8 48 00 00 29 */ bl "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D6F5C 002D3EBC 48 00 00 14 */ b lbl_802D6F70 +lbl_802D6F60: +/* 802D6F60 002D3EC0 38 00 00 00 */ li r0, 0 +/* 802D6F64 002D3EC4 90 03 00 04 */ stw r0, 4(r3) +/* 802D6F68 002D3EC8 90 03 00 08 */ stw r0, 8(r3) +/* 802D6F6C 002D3ECC 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D6F70: +/* 802D6F70 002D3ED0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6F74 002D3ED4 7C 08 03 A6 */ mtlr r0 +/* 802D6F78 002D3ED8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6F7C 002D3EDC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D6F80 002D3EE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6F84 002D3EE4 7C 08 02 A6 */ mflr r0 +/* 802D6F88 002D3EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6F8C 002D3EEC 38 00 00 00 */ li r0, 0 +/* 802D6F90 002D3EF0 BF 41 00 08 */ stmw r26, 8(r1) +/* 802D6F94 002D3EF4 7C 7A 1B 78 */ mr r26, r3 +/* 802D6F98 002D3EF8 7C 9B 23 78 */ mr r27, r4 +/* 802D6F9C 002D3EFC 90 03 00 04 */ stw r0, 4(r3) +/* 802D6FA0 002D3F00 7F 63 DB 78 */ mr r3, r27 +/* 802D6FA4 002D3F04 90 1A 00 08 */ stw r0, 8(r26) +/* 802D6FA8 002D3F08 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D6FAC 002D3F0C 48 06 7C D9 */ bl ReadLong__12CInputStreamFv +/* 802D6FB0 002D3F10 7C 7D 1B 78 */ mr r29, r3 +/* 802D6FB4 002D3F14 7F 43 D3 78 */ mr r3, r26 +/* 802D6FB8 002D3F18 7F A4 EB 78 */ mr r4, r29 +/* 802D6FBC 002D3F1C 4B D8 D2 51 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +/* 802D6FC0 002D3F20 3B 80 00 00 */ li r28, 0 +/* 802D6FC4 002D3F24 48 00 00 70 */ b lbl_802D7034 +lbl_802D6FC8: +/* 802D6FC8 002D3F28 7F 63 DB 78 */ mr r3, r27 +/* 802D6FCC 002D3F2C 48 06 7C B9 */ bl ReadLong__12CInputStreamFv +/* 802D6FD0 002D3F30 7C 7E 1B 78 */ mr r30, r3 +/* 802D6FD4 002D3F34 7F 63 DB 78 */ mr r3, r27 +/* 802D6FD8 002D3F38 48 06 7C AD */ bl ReadLong__12CInputStreamFv +/* 802D6FDC 002D3F3C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D6FE0 002D3F40 7C 7F 1B 78 */ mr r31, r3 +/* 802D6FE4 002D3F44 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D6FE8 002D3F48 7C 00 28 00 */ cmpw r0, r5 +/* 802D6FEC 002D3F4C 41 80 00 1C */ blt lbl_802D7008 +/* 802D6FF0 002D3F50 2C 05 00 00 */ cmpwi r5, 0 +/* 802D6FF4 002D3F54 7F 43 D3 78 */ mr r3, r26 +/* 802D6FF8 002D3F58 38 80 00 04 */ li r4, 4 +/* 802D6FFC 002D3F5C 41 82 00 08 */ beq lbl_802D7004 +/* 802D7000 002D3F60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7004: +/* 802D7004 002D3F64 4B D8 D2 09 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" +lbl_802D7008: +/* 802D7008 002D3F68 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D700C 002D3F6C 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7010 002D3F70 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7014 002D3F74 7C 63 02 15 */ add. r3, r3, r0 +/* 802D7018 002D3F78 41 82 00 0C */ beq lbl_802D7024 +/* 802D701C 002D3F7C 93 C3 00 00 */ stw r30, 0(r3) +/* 802D7020 002D3F80 93 E3 00 04 */ stw r31, 4(r3) +lbl_802D7024: +/* 802D7024 002D3F84 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7028 002D3F88 3B 9C 00 01 */ addi r28, r28, 1 +/* 802D702C 002D3F8C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7030 002D3F90 90 1A 00 04 */ stw r0, 4(r26) +lbl_802D7034: +/* 802D7034 002D3F94 7C 1C E8 00 */ cmpw r28, r29 +/* 802D7038 002D3F98 41 80 FF 90 */ blt lbl_802D6FC8 +/* 802D703C 002D3F9C 7F 43 D3 78 */ mr r3, r26 +/* 802D7040 002D3FA0 BB 41 00 08 */ lmw r26, 8(r1) +/* 802D7044 002D3FA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7048 002D3FA8 7C 08 03 A6 */ mtlr r0 +/* 802D704C 002D3FAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7050 002D3FB0 4E 80 00 20 */ blr + +.global StreamHalfTransitions__13CAnimationSetFUsR12CInputStream +StreamHalfTransitions__13CAnimationSetFUsR12CInputStream: +/* 802D7054 002D3FB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7058 002D3FB8 7C 08 02 A6 */ mflr r0 +/* 802D705C 002D3FBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7060 002D3FC0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7064 002D3FC4 28 00 00 02 */ cmplwi r0, 2 +/* 802D7068 002D3FC8 40 81 00 14 */ ble lbl_802D707C +/* 802D706C 002D3FCC 7C A4 2B 78 */ mr r4, r5 +/* 802D7070 002D3FD0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7074 002D3FD4 48 00 00 29 */ bl "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7078 002D3FD8 48 00 00 14 */ b lbl_802D708C +lbl_802D707C: +/* 802D707C 002D3FDC 38 00 00 00 */ li r0, 0 +/* 802D7080 002D3FE0 90 03 00 04 */ stw r0, 4(r3) +/* 802D7084 002D3FE4 90 03 00 08 */ stw r0, 8(r3) +/* 802D7088 002D3FE8 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D708C: +/* 802D708C 002D3FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7090 002D3FF0 7C 08 03 A6 */ mtlr r0 +/* 802D7094 002D3FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7098 002D3FF8 4E 80 00 20 */ blr + +.global "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D709C 002D3FFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D70A0 002D4000 7C 08 02 A6 */ mflr r0 +/* 802D70A4 002D4004 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D70A8 002D4008 38 00 00 00 */ li r0, 0 +/* 802D70AC 002D400C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802D70B0 002D4010 7C 7A 1B 78 */ mr r26, r3 +/* 802D70B4 002D4014 7C 9B 23 78 */ mr r27, r4 +/* 802D70B8 002D4018 90 03 00 04 */ stw r0, 4(r3) +/* 802D70BC 002D401C 7F 63 DB 78 */ mr r3, r27 +/* 802D70C0 002D4020 90 1A 00 08 */ stw r0, 8(r26) +/* 802D70C4 002D4024 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D70C8 002D4028 48 06 7B BD */ bl ReadLong__12CInputStreamFv +/* 802D70CC 002D402C 7C 7E 1B 78 */ mr r30, r3 +/* 802D70D0 002D4030 7F 43 D3 78 */ mr r3, r26 +/* 802D70D4 002D4034 7F C4 F3 78 */ mr r4, r30 +/* 802D70D8 002D4038 48 00 0D D5 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +/* 802D70DC 002D403C 3B A1 00 10 */ addi r29, r1, 0x10 +/* 802D70E0 002D4040 3B E1 00 08 */ addi r31, r1, 8 +/* 802D70E4 002D4044 3B 80 00 00 */ li r28, 0 +/* 802D70E8 002D4048 48 00 00 98 */ b lbl_802D7180 +lbl_802D70EC: +/* 802D70EC 002D404C 88 0D A6 A4 */ lbz r0, lbl_805A9264@sda21(r13) +/* 802D70F0 002D4050 7F 64 DB 78 */ mr r4, r27 +/* 802D70F4 002D4054 7F E5 FB 78 */ mr r5, r31 +/* 802D70F8 002D4058 38 61 00 0C */ addi r3, r1, 0xc +/* 802D70FC 002D405C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7100 002D4060 48 00 00 A1 */ bl "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" +/* 802D7104 002D4064 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7108 002D4068 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D710C 002D406C 7C 00 28 00 */ cmpw r0, r5 +/* 802D7110 002D4070 41 80 00 1C */ blt lbl_802D712C +/* 802D7114 002D4074 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7118 002D4078 7F 43 D3 78 */ mr r3, r26 +/* 802D711C 002D407C 38 80 00 04 */ li r4, 4 +/* 802D7120 002D4080 41 82 00 08 */ beq lbl_802D7128 +/* 802D7124 002D4084 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7128: +/* 802D7128 002D4088 48 00 0D 85 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +lbl_802D712C: +/* 802D712C 002D408C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7130 002D4090 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7134 002D4094 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7138 002D4098 7C 63 02 15 */ add. r3, r3, r0 +/* 802D713C 002D409C 41 82 00 24 */ beq lbl_802D7160 +/* 802D7140 002D40A0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D7144 002D40A4 90 03 00 00 */ stw r0, 0(r3) +/* 802D7148 002D40A8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D714C 002D40AC 90 03 00 04 */ stw r0, 4(r3) +/* 802D7150 002D40B0 80 83 00 04 */ lwz r4, 4(r3) +/* 802D7154 002D40B4 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7158 002D40B8 38 03 00 01 */ addi r0, r3, 1 +/* 802D715C 002D40BC 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7160: +/* 802D7160 002D40C0 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7164 002D40C4 28 1D 00 00 */ cmplwi r29, 0 +/* 802D7168 002D40C8 38 03 00 01 */ addi r0, r3, 1 +/* 802D716C 002D40CC 90 1A 00 04 */ stw r0, 4(r26) +/* 802D7170 002D40D0 41 82 00 0C */ beq lbl_802D717C +/* 802D7174 002D40D4 7F A3 EB 78 */ mr r3, r29 +/* 802D7178 002D40D8 4B D5 D1 1D */ bl __dt__17CMetaTransFactoryFv +lbl_802D717C: +/* 802D717C 002D40DC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D7180: +/* 802D7180 002D40E0 7C 1C F0 00 */ cmpw r28, r30 +/* 802D7184 002D40E4 41 80 FF 68 */ blt lbl_802D70EC +/* 802D7188 002D40E8 7F 43 D3 78 */ mr r3, r26 +/* 802D718C 002D40EC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802D7190 002D40F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7194 002D40F4 7C 08 03 A6 */ mtlr r0 +/* 802D7198 002D40F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D719C 002D40FC 4E 80 00 20 */ blr + +.global "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" +"Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>": +/* 802D71A0 002D4100 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D71A4 002D4104 7C 08 02 A6 */ mflr r0 +/* 802D71A8 002D4108 7C 85 23 78 */ mr r5, r4 +/* 802D71AC 002D410C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D71B0 002D4110 38 81 00 08 */ addi r4, r1, 8 +/* 802D71B4 002D4114 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D71B8 002D4118 7C 7F 1B 78 */ mr r31, r3 +/* 802D71BC 002D411C 88 0D A6 A8 */ lbz r0, lbl_805A9268@sda21(r13) +/* 802D71C0 002D4120 98 01 00 08 */ stb r0, 8(r1) +/* 802D71C4 002D4124 48 00 00 19 */ bl "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" +/* 802D71C8 002D4128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D71CC 002D412C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D71D0 002D4130 7C 08 03 A6 */ mtlr r0 +/* 802D71D4 002D4134 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D71D8 002D4138 4E 80 00 20 */ blr + +.global "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" +"cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream": +/* 802D71DC 002D413C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D71E0 002D4140 7C 08 02 A6 */ mflr r0 +/* 802D71E4 002D4144 7C A4 2B 78 */ mr r4, r5 +/* 802D71E8 002D4148 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D71EC 002D414C 48 08 F5 5D */ bl __ct__15CHalfTransitionFR12CInputStream +/* 802D71F0 002D4150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D71F4 002D4154 7C 08 03 A6 */ mtlr r0 +/* 802D71F8 002D4158 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D71FC 002D415C 4E 80 00 20 */ blr + +.global StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream +StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream: +/* 802D7200 002D4160 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7204 002D4164 7C 08 02 A6 */ mflr r0 +/* 802D7208 002D4168 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D720C 002D416C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7210 002D4170 28 00 00 01 */ cmplwi r0, 1 +/* 802D7214 002D4174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7218 002D4178 7C BF 2B 78 */ mr r31, r5 +/* 802D721C 002D417C 93 C1 00 08 */ stw r30, 8(r1) +/* 802D7220 002D4180 7C 7E 1B 78 */ mr r30, r3 +/* 802D7224 002D4184 40 81 00 20 */ ble lbl_802D7244 +/* 802D7228 002D4188 7F E3 FB 78 */ mr r3, r31 +/* 802D722C 002D418C 48 06 79 FD */ bl ReadFloat__12CInputStreamFv +/* 802D7230 002D4190 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802D7234 002D4194 7F E3 FB 78 */ mr r3, r31 +/* 802D7238 002D4198 48 06 79 F1 */ bl ReadFloat__12CInputStreamFv +/* 802D723C 002D419C D0 3E 00 04 */ stfs f1, 4(r30) +/* 802D7240 002D41A0 48 00 00 10 */ b lbl_802D7250 +lbl_802D7244: +/* 802D7244 002D41A4 C0 02 C5 90 */ lfs f0, lbl_805AE2B0@sda21(r2) +/* 802D7248 002D41A8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D724C 002D41AC D0 1E 00 04 */ stfs f0, 4(r30) +lbl_802D7250: +/* 802D7250 002D41B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7254 002D41B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D7258 002D41B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D725C 002D41BC 7C 08 03 A6 */ mtlr r0 +/* 802D7260 002D41C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7264 002D41C4 4E 80 00 20 */ blr + +.global StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream +StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream: +/* 802D7268 002D41C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D726C 002D41CC 7C 08 02 A6 */ mflr r0 +/* 802D7270 002D41D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7274 002D41D4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802D7278 002D41D8 28 00 00 01 */ cmplwi r0, 1 +/* 802D727C 002D41DC 40 81 00 14 */ ble lbl_802D7290 +/* 802D7280 002D41E0 7C A4 2B 78 */ mr r4, r5 +/* 802D7284 002D41E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7288 002D41E8 48 00 00 29 */ bl "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D728C 002D41EC 48 00 00 14 */ b lbl_802D72A0 +lbl_802D7290: +/* 802D7290 002D41F0 38 00 00 00 */ li r0, 0 +/* 802D7294 002D41F4 90 03 00 04 */ stw r0, 4(r3) +/* 802D7298 002D41F8 90 03 00 08 */ stw r0, 8(r3) +/* 802D729C 002D41FC 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802D72A0: +/* 802D72A0 002D4200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D72A4 002D4204 7C 08 03 A6 */ mtlr r0 +/* 802D72A8 002D4208 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D72AC 002D420C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D72B0 002D4210 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D72B4 002D4214 7C 08 02 A6 */ mflr r0 +/* 802D72B8 002D4218 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D72BC 002D421C 38 00 00 00 */ li r0, 0 +/* 802D72C0 002D4220 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D72C4 002D4224 7C 7E 1B 78 */ mr r30, r3 +/* 802D72C8 002D4228 7C 9F 23 78 */ mr r31, r4 +/* 802D72CC 002D422C 90 03 00 04 */ stw r0, 4(r3) +/* 802D72D0 002D4230 7F E3 FB 78 */ mr r3, r31 +/* 802D72D4 002D4234 90 1E 00 08 */ stw r0, 8(r30) +/* 802D72D8 002D4238 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802D72DC 002D423C 48 06 79 A9 */ bl ReadLong__12CInputStreamFv +/* 802D72E0 002D4240 7C 7C 1B 78 */ mr r28, r3 +/* 802D72E4 002D4244 7F C3 F3 78 */ mr r3, r30 +/* 802D72E8 002D4248 7F 84 E3 78 */ mr r4, r28 +/* 802D72EC 002D424C 48 00 0C CD */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +/* 802D72F0 002D4250 3B A1 00 08 */ addi r29, r1, 8 +/* 802D72F4 002D4254 3B 60 00 00 */ li r27, 0 +/* 802D72F8 002D4258 48 00 00 80 */ b lbl_802D7378 +lbl_802D72FC: +/* 802D72FC 002D425C 88 0D A6 A0 */ lbz r0, lbl_805A9260@sda21(r13) +/* 802D7300 002D4260 7F E4 FB 78 */ mr r4, r31 +/* 802D7304 002D4264 7F A5 EB 78 */ mr r5, r29 +/* 802D7308 002D4268 38 61 00 0C */ addi r3, r1, 0xc +/* 802D730C 002D426C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7310 002D4270 48 00 00 89 */ bl "Get>__12CInputStreamFRC49TType>" +/* 802D7314 002D4274 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7318 002D4278 80 BE 00 08 */ lwz r5, 8(r30) +/* 802D731C 002D427C 7C 00 28 00 */ cmpw r0, r5 +/* 802D7320 002D4280 41 80 00 1C */ blt lbl_802D733C +/* 802D7324 002D4284 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7328 002D4288 7F C3 F3 78 */ mr r3, r30 +/* 802D732C 002D428C 38 80 00 04 */ li r4, 4 +/* 802D7330 002D4290 41 82 00 08 */ beq lbl_802D7338 +/* 802D7334 002D4294 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7338: +/* 802D7338 002D4298 48 00 0C 81 */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +lbl_802D733C: +/* 802D733C 002D429C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7340 002D42A0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7344 002D42A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D7348 002D42A8 7C 63 02 15 */ add. r3, r3, r0 +/* 802D734C 002D42AC 41 82 00 1C */ beq lbl_802D7368 +/* 802D7350 002D42B0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D7354 002D42B4 90 03 00 00 */ stw r0, 0(r3) +/* 802D7358 002D42B8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802D735C 002D42BC D0 03 00 04 */ stfs f0, 4(r3) +/* 802D7360 002D42C0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D7364 002D42C4 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802D7368: +/* 802D7368 002D42C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802D736C 002D42CC 3B 7B 00 01 */ addi r27, r27, 1 +/* 802D7370 002D42D0 38 03 00 01 */ addi r0, r3, 1 +/* 802D7374 002D42D4 90 1E 00 04 */ stw r0, 4(r30) +lbl_802D7378: +/* 802D7378 002D42D8 7C 1B E0 00 */ cmpw r27, r28 +/* 802D737C 002D42DC 41 80 FF 80 */ blt lbl_802D72FC +/* 802D7380 002D42E0 7F C3 F3 78 */ mr r3, r30 +/* 802D7384 002D42E4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7388 002D42E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D738C 002D42EC 7C 08 03 A6 */ mtlr r0 +/* 802D7390 002D42F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7394 002D42F4 4E 80 00 20 */ blr + +.global "Get>__12CInputStreamFRC49TType>" +"Get>__12CInputStreamFRC49TType>": +/* 802D7398 002D42F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D739C 002D42FC 7C 08 02 A6 */ mflr r0 +/* 802D73A0 002D4300 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D73A4 002D4304 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D73A8 002D4308 7C 9F 23 78 */ mr r31, r4 +/* 802D73AC 002D430C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D73B0 002D4310 7C 7E 1B 78 */ mr r30, r3 +/* 802D73B4 002D4314 7F E3 FB 78 */ mr r3, r31 +/* 802D73B8 002D4318 48 06 78 CD */ bl ReadLong__12CInputStreamFv +/* 802D73BC 002D431C 90 7E 00 00 */ stw r3, 0(r30) +/* 802D73C0 002D4320 7F E3 FB 78 */ mr r3, r31 +/* 802D73C4 002D4324 48 06 78 65 */ bl ReadFloat__12CInputStreamFv +/* 802D73C8 002D4328 D0 21 00 08 */ stfs f1, 8(r1) +/* 802D73CC 002D432C 7F E3 FB 78 */ mr r3, r31 +/* 802D73D0 002D4330 48 06 78 59 */ bl ReadFloat__12CInputStreamFv +/* 802D73D4 002D4334 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D73D8 002D4338 FC 00 08 18 */ frsp f0, f1 +/* 802D73DC 002D433C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D73E0 002D4340 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D73E4 002D4344 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D73E8 002D4348 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D73EC 002D434C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D73F0 002D4350 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D73F4 002D4354 7C 08 03 A6 */ mtlr r0 +/* 802D73F8 002D4358 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D73FC 002D435C 4E 80 00 20 */ blr + +.global __ct__13CAnimationSetFR12CInputStream +__ct__13CAnimationSetFR12CInputStream: +/* 802D7400 002D4360 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802D7404 002D4364 7C 08 02 A6 */ mflr r0 +/* 802D7408 002D4368 90 01 00 84 */ stw r0, 0x84(r1) +/* 802D740C 002D436C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802D7410 002D4370 7C 9F 23 78 */ mr r31, r4 +/* 802D7414 002D4374 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802D7418 002D4378 7C 7E 1B 78 */ mr r30, r3 +/* 802D741C 002D437C 7F E3 FB 78 */ mr r3, r31 +/* 802D7420 002D4380 48 06 78 91 */ bl ReadShort__12CInputStreamFv +/* 802D7424 002D4384 B0 7E 00 00 */ sth r3, 0(r30) +/* 802D7428 002D4388 7F E4 FB 78 */ mr r4, r31 +/* 802D742C 002D438C 38 7E 00 04 */ addi r3, r30, 4 +/* 802D7430 002D4390 38 A1 00 0C */ addi r5, r1, 0xc +/* 802D7434 002D4394 48 00 06 C9 */ bl "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7438 002D4398 7F E4 FB 78 */ mr r4, r31 +/* 802D743C 002D439C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802D7440 002D43A0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D7444 002D43A4 48 00 04 81 */ bl "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802D7448 002D43A8 7F E4 FB 78 */ mr r4, r31 +/* 802D744C 002D43AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D7450 002D43B0 48 00 A9 9D */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +/* 802D7454 002D43B4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802D7458 002D43B8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D745C 002D43BC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802D7460 002D43C0 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 802D7464 002D43C4 80 85 00 04 */ lwz r4, 4(r5) +/* 802D7468 002D43C8 38 04 00 01 */ addi r0, r4, 1 +/* 802D746C 002D43CC 90 05 00 04 */ stw r0, 4(r5) +/* 802D7470 002D43D0 4B D5 CE 25 */ bl __dt__17CMetaTransFactoryFv +/* 802D7474 002D43D4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7478 002D43D8 7F E5 FB 78 */ mr r5, r31 +/* 802D747C 002D43DC 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D7480 002D43E0 4B FF FD E9 */ bl StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream +/* 802D7484 002D43E4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7488 002D43E8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802D748C 002D43EC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D7490 002D43F0 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802D7494 002D43F4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7498 002D43F8 2C 00 00 00 */ cmpwi r0, 0 +/* 802D749C 002D43FC 40 82 00 1C */ bne lbl_802D74B8 +/* 802D74A0 002D4400 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D74A4 002D4404 2C 00 00 00 */ cmpwi r0, 0 +/* 802D74A8 002D4408 40 82 00 10 */ bne lbl_802D74B8 +/* 802D74AC 002D440C 38 00 00 00 */ li r0, 0 +/* 802D74B0 002D4410 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802D74B4 002D4414 48 00 00 78 */ b lbl_802D752C +lbl_802D74B8: +/* 802D74B8 002D4418 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802D74BC 002D441C 1C 60 00 0C */ mulli r3, r0, 0xc +/* 802D74C0 002D4420 2C 03 00 00 */ cmpwi r3, 0 +/* 802D74C4 002D4424 40 82 00 10 */ bne lbl_802D74D4 +/* 802D74C8 002D4428 38 00 00 00 */ li r0, 0 +/* 802D74CC 002D442C 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802D74D0 002D4430 48 00 00 18 */ b lbl_802D74E8 +lbl_802D74D4: +/* 802D74D4 002D4434 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D74D8 002D4438 38 A0 00 00 */ li r5, 0 +/* 802D74DC 002D443C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D74E0 002D4440 48 03 E3 39 */ bl __nwa__FUlPCcPCc +/* 802D74E4 002D4444 90 7E 00 34 */ stw r3, 0x34(r30) +lbl_802D74E8: +/* 802D74E8 002D4448 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802D74EC 002D444C 80 81 00 68 */ lwz r4, 0x68(r1) +/* 802D74F0 002D4450 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802D74F4 002D4454 7C 09 03 A6 */ mtctr r0 +/* 802D74F8 002D4458 2C 00 00 00 */ cmpwi r0, 0 +/* 802D74FC 002D445C 40 81 00 30 */ ble lbl_802D752C +lbl_802D7500: +/* 802D7500 002D4460 28 03 00 00 */ cmplwi r3, 0 +/* 802D7504 002D4464 41 82 00 1C */ beq lbl_802D7520 +/* 802D7508 002D4468 80 04 00 00 */ lwz r0, 0(r4) +/* 802D750C 002D446C 90 03 00 00 */ stw r0, 0(r3) +/* 802D7510 002D4470 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D7514 002D4474 D0 03 00 04 */ stfs f0, 4(r3) +/* 802D7518 002D4478 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D751C 002D447C D0 03 00 08 */ stfs f0, 8(r3) +lbl_802D7520: +/* 802D7520 002D4480 38 63 00 0C */ addi r3, r3, 0xc +/* 802D7524 002D4484 38 84 00 0C */ addi r4, r4, 0xc +/* 802D7528 002D4488 42 00 FF D8 */ bdnz lbl_802D7500 +lbl_802D752C: +/* 802D752C 002D448C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802D7530 002D4490 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802D7534 002D4494 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D7538 002D4498 90 61 00 24 */ stw r3, 0x24(r1) +/* 802D753C 002D449C 7C 64 1B 78 */ mr r4, r3 +/* 802D7540 002D44A0 7C 03 02 14 */ add r0, r3, r0 +/* 802D7544 002D44A4 90 61 00 20 */ stw r3, 0x20(r1) +/* 802D7548 002D44A8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802D754C 002D44AC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D7550 002D44B0 48 00 00 08 */ b lbl_802D7558 +lbl_802D7554: +/* 802D7554 002D44B4 38 84 00 0C */ addi r4, r4, 0xc +lbl_802D7558: +/* 802D7558 002D44B8 7C 04 00 40 */ cmplw r4, r0 +/* 802D755C 002D44BC 40 82 FF F8 */ bne lbl_802D7554 +/* 802D7560 002D44C0 28 03 00 00 */ cmplwi r3, 0 +/* 802D7564 002D44C4 41 82 00 08 */ beq lbl_802D756C +/* 802D7568 002D44C8 48 03 E3 C9 */ bl Free__7CMemoryFPCv +lbl_802D756C: +/* 802D756C 002D44CC A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7570 002D44D0 7F E5 FB 78 */ mr r5, r31 +/* 802D7574 002D44D4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D7578 002D44D8 4B FF FC 89 */ bl StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream +/* 802D757C 002D44DC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D7580 002D44E0 7F E5 FB 78 */ mr r5, r31 +/* 802D7584 002D44E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D7588 002D44E8 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802D758C 002D44EC C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D7590 002D44F0 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802D7594 002D44F4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7598 002D44F8 4B FF FA BD */ bl StreamHalfTransitions__13CAnimationSetFUsR12CInputStream +/* 802D759C 002D44FC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802D75A0 002D4500 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802D75A4 002D4504 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D75A8 002D4508 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802D75AC 002D450C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802D75B0 002D4510 2C 00 00 00 */ cmpwi r0, 0 +/* 802D75B4 002D4514 40 82 00 1C */ bne lbl_802D75D0 +/* 802D75B8 002D4518 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D75BC 002D451C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D75C0 002D4520 40 82 00 10 */ bne lbl_802D75D0 +/* 802D75C4 002D4524 38 00 00 00 */ li r0, 0 +/* 802D75C8 002D4528 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802D75CC 002D452C 48 00 00 7C */ b lbl_802D7648 +lbl_802D75D0: +/* 802D75D0 002D4530 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802D75D4 002D4534 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802D75D8 002D4538 40 82 00 10 */ bne lbl_802D75E8 +/* 802D75DC 002D453C 38 00 00 00 */ li r0, 0 +/* 802D75E0 002D4540 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802D75E4 002D4544 48 00 00 18 */ b lbl_802D75FC +lbl_802D75E8: +/* 802D75E8 002D4548 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D75EC 002D454C 38 A0 00 00 */ li r5, 0 +/* 802D75F0 002D4550 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D75F4 002D4554 48 03 E2 25 */ bl __nwa__FUlPCcPCc +/* 802D75F8 002D4558 90 7E 00 4C */ stw r3, 0x4c(r30) +lbl_802D75FC: +/* 802D75FC 002D455C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802D7600 002D4560 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802D7604 002D4564 80 BE 00 4C */ lwz r5, 0x4c(r30) +/* 802D7608 002D4568 7C 09 03 A6 */ mtctr r0 +/* 802D760C 002D456C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D7610 002D4570 40 81 00 38 */ ble lbl_802D7648 +lbl_802D7614: +/* 802D7614 002D4574 28 05 00 00 */ cmplwi r5, 0 +/* 802D7618 002D4578 41 82 00 24 */ beq lbl_802D763C +/* 802D761C 002D457C 80 06 00 00 */ lwz r0, 0(r6) +/* 802D7620 002D4580 90 05 00 00 */ stw r0, 0(r5) +/* 802D7624 002D4584 80 06 00 04 */ lwz r0, 4(r6) +/* 802D7628 002D4588 90 05 00 04 */ stw r0, 4(r5) +/* 802D762C 002D458C 80 85 00 04 */ lwz r4, 4(r5) +/* 802D7630 002D4590 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7634 002D4594 38 03 00 01 */ addi r0, r3, 1 +/* 802D7638 002D4598 90 04 00 04 */ stw r0, 4(r4) +lbl_802D763C: +/* 802D763C 002D459C 38 A5 00 08 */ addi r5, r5, 8 +/* 802D7640 002D45A0 38 C6 00 08 */ addi r6, r6, 8 +/* 802D7644 002D45A4 42 00 FF D0 */ bdnz lbl_802D7614 +lbl_802D7648: +/* 802D7648 002D45A8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D764C 002D45AC 38 80 FF FF */ li r4, -1 +/* 802D7650 002D45B0 48 00 01 0D */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" +/* 802D7654 002D45B4 A0 9E 00 00 */ lhz r4, 0(r30) +/* 802D7658 002D45B8 7F E5 FB 78 */ mr r5, r31 +/* 802D765C 002D45BC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802D7660 002D45C0 4B FF F8 D9 */ bl StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream +/* 802D7664 002D45C4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7668 002D45C8 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802D766C 002D45CC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7670 002D45D0 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802D7674 002D45D4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7678 002D45D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802D767C 002D45DC 40 82 00 1C */ bne lbl_802D7698 +/* 802D7680 002D45E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7684 002D45E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802D7688 002D45E8 40 82 00 10 */ bne lbl_802D7698 +/* 802D768C 002D45EC 38 00 00 00 */ li r0, 0 +/* 802D7690 002D45F0 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802D7694 002D45F4 48 00 00 6C */ b lbl_802D7700 +lbl_802D7698: +/* 802D7698 002D45F8 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 802D769C 002D45FC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802D76A0 002D4600 40 82 00 10 */ bne lbl_802D76B0 +/* 802D76A4 002D4604 38 00 00 00 */ li r0, 0 +/* 802D76A8 002D4608 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802D76AC 002D460C 48 00 00 18 */ b lbl_802D76C4 +lbl_802D76B0: +/* 802D76B0 002D4610 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D76B4 002D4614 38 A0 00 00 */ li r5, 0 +/* 802D76B8 002D4618 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D76BC 002D461C 48 03 E1 5D */ bl __nwa__FUlPCcPCc +/* 802D76C0 002D4620 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_802D76C4: +/* 802D76C4 002D4624 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802D76C8 002D4628 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802D76CC 002D462C 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802D76D0 002D4630 7C 09 03 A6 */ mtctr r0 +/* 802D76D4 002D4634 2C 00 00 00 */ cmpwi r0, 0 +/* 802D76D8 002D4638 40 81 00 28 */ ble lbl_802D7700 +lbl_802D76DC: +/* 802D76DC 002D463C 28 03 00 00 */ cmplwi r3, 0 +/* 802D76E0 002D4640 41 82 00 14 */ beq lbl_802D76F4 +/* 802D76E4 002D4644 80 04 00 00 */ lwz r0, 0(r4) +/* 802D76E8 002D4648 90 03 00 00 */ stw r0, 0(r3) +/* 802D76EC 002D464C 80 04 00 04 */ lwz r0, 4(r4) +/* 802D76F0 002D4650 90 03 00 04 */ stw r0, 4(r3) +lbl_802D76F4: +/* 802D76F4 002D4654 38 63 00 08 */ addi r3, r3, 8 +/* 802D76F8 002D4658 38 84 00 08 */ addi r4, r4, 8 +/* 802D76FC 002D465C 42 00 FF E0 */ bdnz lbl_802D76DC +lbl_802D7700: +/* 802D7700 002D4660 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802D7704 002D4664 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802D7708 002D4668 54 00 18 38 */ slwi r0, r0, 3 +/* 802D770C 002D466C 7C 03 02 14 */ add r0, r3, r0 +/* 802D7710 002D4670 90 61 00 14 */ stw r3, 0x14(r1) +/* 802D7714 002D4674 7C 64 1B 78 */ mr r4, r3 +/* 802D7718 002D4678 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D771C 002D467C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802D7720 002D4680 90 61 00 10 */ stw r3, 0x10(r1) +/* 802D7724 002D4684 48 00 00 08 */ b lbl_802D772C +lbl_802D7728: +/* 802D7728 002D4688 38 84 00 08 */ addi r4, r4, 8 +lbl_802D772C: +/* 802D772C 002D468C 7C 04 00 40 */ cmplw r4, r0 +/* 802D7730 002D4690 40 82 FF F8 */ bne lbl_802D7728 +/* 802D7734 002D4694 28 03 00 00 */ cmplwi r3, 0 +/* 802D7738 002D4698 41 82 00 08 */ beq lbl_802D7740 +/* 802D773C 002D469C 48 03 E1 F5 */ bl Free__7CMemoryFPCv +lbl_802D7740: +/* 802D7740 002D46A0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802D7744 002D46A4 7F C3 F3 78 */ mr r3, r30 +/* 802D7748 002D46A8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802D774C 002D46AC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802D7750 002D46B0 7C 08 03 A6 */ mtlr r0 +/* 802D7754 002D46B4 38 21 00 80 */ addi r1, r1, 0x80 +/* 802D7758 002D46B8 4E 80 00 20 */ blr + +.global "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv": +/* 802D775C 002D46BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7760 002D46C0 7C 08 02 A6 */ mflr r0 +/* 802D7764 002D46C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7768 002D46C8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D776C 002D46CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7770 002D46D0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7774 002D46D4 7C 9D 23 78 */ mr r29, r4 +/* 802D7778 002D46D8 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D777C 002D46DC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7780 002D46E0 41 82 00 6C */ beq lbl_802D77EC +/* 802D7784 002D46E4 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D7788 002D46E8 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D778C 002D46EC 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7790 002D46F0 7F FE 02 14 */ add r31, r30, r0 +/* 802D7794 002D46F4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D7798 002D46F8 93 E1 00 08 */ stw r31, 8(r1) +/* 802D779C 002D46FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D77A0 002D4700 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D77A4 002D4704 48 00 00 20 */ b lbl_802D77C4 +lbl_802D77A8: +/* 802D77A8 002D4708 28 1E 00 00 */ cmplwi r30, 0 +/* 802D77AC 002D470C 41 82 00 14 */ beq lbl_802D77C0 +/* 802D77B0 002D4710 34 1E 00 04 */ addic. r0, r30, 4 +/* 802D77B4 002D4714 41 82 00 0C */ beq lbl_802D77C0 +/* 802D77B8 002D4718 38 7E 00 04 */ addi r3, r30, 4 +/* 802D77BC 002D471C 4B D5 CA D9 */ bl __dt__17CMetaTransFactoryFv +lbl_802D77C0: +/* 802D77C0 002D4720 3B DE 00 08 */ addi r30, r30, 8 +lbl_802D77C4: +/* 802D77C4 002D4724 7C 1E F8 40 */ cmplw r30, r31 +/* 802D77C8 002D4728 40 82 FF E0 */ bne lbl_802D77A8 +/* 802D77CC 002D472C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D77D0 002D4730 28 03 00 00 */ cmplwi r3, 0 +/* 802D77D4 002D4734 41 82 00 08 */ beq lbl_802D77DC +/* 802D77D8 002D4738 48 03 E1 59 */ bl Free__7CMemoryFPCv +lbl_802D77DC: +/* 802D77DC 002D473C 7F A0 07 35 */ extsh. r0, r29 +/* 802D77E0 002D4740 40 81 00 0C */ ble lbl_802D77EC +/* 802D77E4 002D4744 7F 83 E3 78 */ mr r3, r28 +/* 802D77E8 002D4748 48 03 E1 49 */ bl Free__7CMemoryFPCv +lbl_802D77EC: +/* 802D77EC 002D474C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D77F0 002D4750 7F 83 E3 78 */ mr r3, r28 +/* 802D77F4 002D4754 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D77F8 002D4758 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D77FC 002D475C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D7800 002D4760 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D7804 002D4764 7C 08 03 A6 */ mtlr r0 +/* 802D7808 002D4768 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D780C 002D476C 4E 80 00 20 */ blr + +.global sub_802d7810 +sub_802d7810: +/* 802D7810 002D4770 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7814 002D4774 7C 08 02 A6 */ mflr r0 +/* 802D7818 002D4778 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D781C 002D477C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7820 002D4780 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7824 002D4784 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7828 002D4788 7C 9D 23 78 */ mr r29, r4 +/* 802D782C 002D478C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D7830 002D4790 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7834 002D4794 41 82 00 6C */ beq lbl_802D78A0 +/* 802D7838 002D4798 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D783C 002D479C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D7840 002D47A0 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7844 002D47A4 7F FE 02 14 */ add r31, r30, r0 +/* 802D7848 002D47A8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D784C 002D47AC 93 E1 00 08 */ stw r31, 8(r1) +/* 802D7850 002D47B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7854 002D47B4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D7858 002D47B8 48 00 00 20 */ b lbl_802D7878 +lbl_802D785C: +/* 802D785C 002D47BC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7860 002D47C0 41 82 00 14 */ beq lbl_802D7874 +/* 802D7864 002D47C4 34 1E 00 0C */ addic. r0, r30, 0xc +/* 802D7868 002D47C8 41 82 00 0C */ beq lbl_802D7874 +/* 802D786C 002D47CC 38 7E 00 0C */ addi r3, r30, 0xc +/* 802D7870 002D47D0 4B D5 CA 25 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7874: +/* 802D7874 002D47D4 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_802D7878: +/* 802D7878 002D47D8 7C 1E F8 40 */ cmplw r30, r31 +/* 802D787C 002D47DC 40 82 FF E0 */ bne lbl_802D785C +/* 802D7880 002D47E0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D7884 002D47E4 28 03 00 00 */ cmplwi r3, 0 +/* 802D7888 002D47E8 41 82 00 08 */ beq lbl_802D7890 +/* 802D788C 002D47EC 48 03 E0 A5 */ bl Free__7CMemoryFPCv +lbl_802D7890: +/* 802D7890 002D47F0 7F A0 07 35 */ extsh. r0, r29 +/* 802D7894 002D47F4 40 81 00 0C */ ble lbl_802D78A0 +/* 802D7898 002D47F8 7F 83 E3 78 */ mr r3, r28 +/* 802D789C 002D47FC 48 03 E0 95 */ bl Free__7CMemoryFPCv +lbl_802D78A0: +/* 802D78A0 002D4800 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D78A4 002D4804 7F 83 E3 78 */ mr r3, r28 +/* 802D78A8 002D4808 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D78AC 002D480C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D78B0 002D4810 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D78B4 002D4814 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D78B8 002D4818 7C 08 03 A6 */ mtlr r0 +/* 802D78BC 002D481C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D78C0 002D4820 4E 80 00 20 */ blr + +.global "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D78C4 002D4824 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D78C8 002D4828 7C 08 02 A6 */ mflr r0 +/* 802D78CC 002D482C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D78D0 002D4830 38 00 00 00 */ li r0, 0 +/* 802D78D4 002D4834 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802D78D8 002D4838 7C 7A 1B 78 */ mr r26, r3 +/* 802D78DC 002D483C 7C 9B 23 78 */ mr r27, r4 +/* 802D78E0 002D4840 90 03 00 04 */ stw r0, 4(r3) +/* 802D78E4 002D4844 7F 63 DB 78 */ mr r3, r27 +/* 802D78E8 002D4848 90 1A 00 08 */ stw r0, 8(r26) +/* 802D78EC 002D484C 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D78F0 002D4850 48 06 73 95 */ bl ReadLong__12CInputStreamFv +/* 802D78F4 002D4854 7C 7E 1B 78 */ mr r30, r3 +/* 802D78F8 002D4858 7F 43 D3 78 */ mr r3, r26 +/* 802D78FC 002D485C 7F C4 F3 78 */ mr r4, r30 +/* 802D7900 002D4860 48 00 04 91 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +/* 802D7904 002D4864 3B A1 00 18 */ addi r29, r1, 0x18 +/* 802D7908 002D4868 3B E1 00 08 */ addi r31, r1, 8 +/* 802D790C 002D486C 3B 80 00 00 */ li r28, 0 +/* 802D7910 002D4870 48 00 00 A8 */ b lbl_802D79B8 +lbl_802D7914: +/* 802D7914 002D4874 88 0D A6 98 */ lbz r0, lbl_805A9258@sda21(r13) +/* 802D7918 002D4878 7F 64 DB 78 */ mr r4, r27 +/* 802D791C 002D487C 7F E5 FB 78 */ mr r5, r31 +/* 802D7920 002D4880 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7924 002D4884 98 01 00 08 */ stb r0, 8(r1) +/* 802D7928 002D4888 48 00 00 B1 */ bl "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" +/* 802D792C 002D488C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7930 002D4890 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D7934 002D4894 7C 00 28 00 */ cmpw r0, r5 +/* 802D7938 002D4898 41 80 00 1C */ blt lbl_802D7954 +/* 802D793C 002D489C 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7940 002D48A0 7F 43 D3 78 */ mr r3, r26 +/* 802D7944 002D48A4 38 80 00 04 */ li r4, 4 +/* 802D7948 002D48A8 41 82 00 08 */ beq lbl_802D7950 +/* 802D794C 002D48AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7950: +/* 802D7950 002D48B0 48 00 04 41 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +lbl_802D7954: +/* 802D7954 002D48B4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7958 002D48B8 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D795C 002D48BC 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7960 002D48C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802D7964 002D48C4 41 82 00 34 */ beq lbl_802D7998 +/* 802D7968 002D48C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D796C 002D48CC 90 03 00 00 */ stw r0, 0(r3) +/* 802D7970 002D48D0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D7974 002D48D4 90 03 00 04 */ stw r0, 4(r3) +/* 802D7978 002D48D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D797C 002D48DC 90 03 00 08 */ stw r0, 8(r3) +/* 802D7980 002D48E0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802D7984 002D48E4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802D7988 002D48E8 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802D798C 002D48EC 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7990 002D48F0 38 03 00 01 */ addi r0, r3, 1 +/* 802D7994 002D48F4 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7998: +/* 802D7998 002D48F8 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D799C 002D48FC 28 1D 00 00 */ cmplwi r29, 0 +/* 802D79A0 002D4900 38 03 00 01 */ addi r0, r3, 1 +/* 802D79A4 002D4904 90 1A 00 04 */ stw r0, 4(r26) +/* 802D79A8 002D4908 41 82 00 0C */ beq lbl_802D79B4 +/* 802D79AC 002D490C 7F A3 EB 78 */ mr r3, r29 +/* 802D79B0 002D4910 4B D5 C8 E5 */ bl __dt__17CMetaTransFactoryFv +lbl_802D79B4: +/* 802D79B4 002D4914 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D79B8: +/* 802D79B8 002D4918 7C 1C F0 00 */ cmpw r28, r30 +/* 802D79BC 002D491C 41 80 FF 58 */ blt lbl_802D7914 +/* 802D79C0 002D4920 7F 43 D3 78 */ mr r3, r26 +/* 802D79C4 002D4924 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802D79C8 002D4928 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D79CC 002D492C 7C 08 03 A6 */ mtlr r0 +/* 802D79D0 002D4930 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D79D4 002D4934 4E 80 00 20 */ blr + +.global "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" +"Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>": +/* 802D79D8 002D4938 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D79DC 002D493C 7C 08 02 A6 */ mflr r0 +/* 802D79E0 002D4940 7C 85 23 78 */ mr r5, r4 +/* 802D79E4 002D4944 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D79E8 002D4948 38 81 00 08 */ addi r4, r1, 8 +/* 802D79EC 002D494C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D79F0 002D4950 7C 7F 1B 78 */ mr r31, r3 +/* 802D79F4 002D4954 88 0D A6 9C */ lbz r0, lbl_805A925C@sda21(r13) +/* 802D79F8 002D4958 98 01 00 08 */ stb r0, 8(r1) +/* 802D79FC 002D495C 48 00 00 19 */ bl "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" +/* 802D7A00 002D4960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7A04 002D4964 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D7A08 002D4968 7C 08 03 A6 */ mtlr r0 +/* 802D7A0C 002D496C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7A10 002D4970 4E 80 00 20 */ blr + +.global "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" +"cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream": +/* 802D7A14 002D4974 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7A18 002D4978 7C 08 02 A6 */ mflr r0 +/* 802D7A1C 002D497C 7C A4 2B 78 */ mr r4, r5 +/* 802D7A20 002D4980 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7A24 002D4984 48 00 F4 01 */ bl __ct__11CTransitionFR12CInputStream +/* 802D7A28 002D4988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7A2C 002D498C 7C 08 03 A6 */ mtlr r0 +/* 802D7A30 002D4990 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7A34 002D4994 4E 80 00 20 */ blr + +.global sub_802d7a38 +sub_802d7a38: +/* 802D7A38 002D4998 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7A3C 002D499C 7C 08 02 A6 */ mflr r0 +/* 802D7A40 002D49A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7A44 002D49A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7A48 002D49A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7A4C 002D49AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7A50 002D49B0 7C 9D 23 78 */ mr r29, r4 +/* 802D7A54 002D49B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D7A58 002D49B8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D7A5C 002D49BC 41 82 00 7C */ beq lbl_802D7AD8 +/* 802D7A60 002D49C0 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D7A64 002D49C4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D7A68 002D49C8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7A6C 002D49CC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D7A70 002D49D0 7F FE 02 14 */ add r31, r30, r0 +/* 802D7A74 002D49D4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D7A78 002D49D8 93 E1 00 08 */ stw r31, 8(r1) +/* 802D7A7C 002D49DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D7A80 002D49E0 48 00 00 30 */ b lbl_802D7AB0 +lbl_802D7A84: +/* 802D7A84 002D49E4 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7A88 002D49E8 41 82 00 24 */ beq lbl_802D7AAC +/* 802D7A8C 002D49EC 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802D7A90 002D49F0 41 82 00 0C */ beq lbl_802D7A9C +/* 802D7A94 002D49F4 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802D7A98 002D49F8 4B D5 94 99 */ bl sub_80030f30 +lbl_802D7A9C: +/* 802D7A9C 002D49FC 28 1E 00 00 */ cmplwi r30, 0 +/* 802D7AA0 002D4A00 41 82 00 0C */ beq lbl_802D7AAC +/* 802D7AA4 002D4A04 7F C3 F3 78 */ mr r3, r30 +/* 802D7AA8 002D4A08 48 06 60 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D7AAC: +/* 802D7AAC 002D4A0C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_802D7AB0: +/* 802D7AB0 002D4A10 7C 1E F8 40 */ cmplw r30, r31 +/* 802D7AB4 002D4A14 40 82 FF D0 */ bne lbl_802D7A84 +/* 802D7AB8 002D4A18 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D7ABC 002D4A1C 28 03 00 00 */ cmplwi r3, 0 +/* 802D7AC0 002D4A20 41 82 00 08 */ beq lbl_802D7AC8 +/* 802D7AC4 002D4A24 48 03 DE 6D */ bl Free__7CMemoryFPCv +lbl_802D7AC8: +/* 802D7AC8 002D4A28 7F A0 07 35 */ extsh. r0, r29 +/* 802D7ACC 002D4A2C 40 81 00 0C */ ble lbl_802D7AD8 +/* 802D7AD0 002D4A30 7F 83 E3 78 */ mr r3, r28 +/* 802D7AD4 002D4A34 48 03 DE 5D */ bl Free__7CMemoryFPCv +lbl_802D7AD8: +/* 802D7AD8 002D4A38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7ADC 002D4A3C 7F 83 E3 78 */ mr r3, r28 +/* 802D7AE0 002D4A40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D7AE4 002D4A44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D7AE8 002D4A48 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D7AEC 002D4A4C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D7AF0 002D4A50 7C 08 03 A6 */ mtlr r0 +/* 802D7AF4 002D4A54 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7AF8 002D4A58 4E 80 00 20 */ blr + +.global "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802D7AFC 002D4A5C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D7B00 002D4A60 7C 08 02 A6 */ mflr r0 +/* 802D7B04 002D4A64 90 01 00 44 */ stw r0, 0x44(r1) +/* 802D7B08 002D4A68 38 00 00 00 */ li r0, 0 +/* 802D7B0C 002D4A6C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802D7B10 002D4A70 7C 7A 1B 78 */ mr r26, r3 +/* 802D7B14 002D4A74 7C 9B 23 78 */ mr r27, r4 +/* 802D7B18 002D4A78 90 03 00 04 */ stw r0, 4(r3) +/* 802D7B1C 002D4A7C 7F 63 DB 78 */ mr r3, r27 +/* 802D7B20 002D4A80 90 1A 00 08 */ stw r0, 8(r26) +/* 802D7B24 002D4A84 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802D7B28 002D4A88 48 06 71 5D */ bl ReadLong__12CInputStreamFv +/* 802D7B2C 002D4A8C 7C 7E 1B 78 */ mr r30, r3 +/* 802D7B30 002D4A90 7F 43 D3 78 */ mr r3, r26 +/* 802D7B34 002D4A94 7F C4 F3 78 */ mr r4, r30 +/* 802D7B38 002D4A98 48 00 01 35 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +/* 802D7B3C 002D4A9C 3B A1 00 1C */ addi r29, r1, 0x1c +/* 802D7B40 002D4AA0 3B E1 00 08 */ addi r31, r1, 8 +/* 802D7B44 002D4AA4 3B 80 00 00 */ li r28, 0 +/* 802D7B48 002D4AA8 48 00 00 A4 */ b lbl_802D7BEC +lbl_802D7B4C: +/* 802D7B4C 002D4AAC 88 0D A6 90 */ lbz r0, lbl_805A9250@sda21(r13) +/* 802D7B50 002D4AB0 7F 64 DB 78 */ mr r4, r27 +/* 802D7B54 002D4AB4 7F E5 FB 78 */ mr r5, r31 +/* 802D7B58 002D4AB8 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7B5C 002D4ABC 98 01 00 08 */ stb r0, 8(r1) +/* 802D7B60 002D4AC0 48 00 00 AD */ bl "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" +/* 802D7B64 002D4AC4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7B68 002D4AC8 80 BA 00 08 */ lwz r5, 8(r26) +/* 802D7B6C 002D4ACC 7C 00 28 00 */ cmpw r0, r5 +/* 802D7B70 002D4AD0 41 80 00 1C */ blt lbl_802D7B8C +/* 802D7B74 002D4AD4 2C 05 00 00 */ cmpwi r5, 0 +/* 802D7B78 002D4AD8 7F 43 D3 78 */ mr r3, r26 +/* 802D7B7C 002D4ADC 38 80 00 04 */ li r4, 4 +/* 802D7B80 002D4AE0 41 82 00 08 */ beq lbl_802D7B88 +/* 802D7B84 002D4AE4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802D7B88: +/* 802D7B88 002D4AE8 48 00 00 E5 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +lbl_802D7B8C: +/* 802D7B8C 002D4AEC 80 1A 00 04 */ lwz r0, 4(r26) +/* 802D7B90 002D4AF0 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802D7B94 002D4AF4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7B98 002D4AF8 7F 23 02 15 */ add. r25, r3, r0 +/* 802D7B9C 002D4AFC 41 82 00 28 */ beq lbl_802D7BC4 +/* 802D7BA0 002D4B00 7F 23 CB 78 */ mr r3, r25 +/* 802D7BA4 002D4B04 38 81 00 0C */ addi r4, r1, 0xc +/* 802D7BA8 002D4B08 48 06 65 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D7BAC 002D4B0C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802D7BB0 002D4B10 90 19 00 10 */ stw r0, 0x10(r25) +/* 802D7BB4 002D4B14 80 99 00 10 */ lwz r4, 0x10(r25) +/* 802D7BB8 002D4B18 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7BBC 002D4B1C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7BC0 002D4B20 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7BC4: +/* 802D7BC4 002D4B24 80 7A 00 04 */ lwz r3, 4(r26) +/* 802D7BC8 002D4B28 28 1D 00 00 */ cmplwi r29, 0 +/* 802D7BCC 002D4B2C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7BD0 002D4B30 90 1A 00 04 */ stw r0, 4(r26) +/* 802D7BD4 002D4B34 41 82 00 0C */ beq lbl_802D7BE0 +/* 802D7BD8 002D4B38 7F A3 EB 78 */ mr r3, r29 +/* 802D7BDC 002D4B3C 4B D5 93 55 */ bl sub_80030f30 +lbl_802D7BE0: +/* 802D7BE0 002D4B40 38 61 00 0C */ addi r3, r1, 0xc +/* 802D7BE4 002D4B44 48 06 5E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802D7BE8 002D4B48 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802D7BEC: +/* 802D7BEC 002D4B4C 7C 1C F0 00 */ cmpw r28, r30 +/* 802D7BF0 002D4B50 41 80 FF 5C */ blt lbl_802D7B4C +/* 802D7BF4 002D4B54 7F 43 D3 78 */ mr r3, r26 +/* 802D7BF8 002D4B58 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802D7BFC 002D4B5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802D7C00 002D4B60 7C 08 03 A6 */ mtlr r0 +/* 802D7C04 002D4B64 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D7C08 002D4B68 4E 80 00 20 */ blr + +.global "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" +"Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>": +/* 802D7C0C 002D4B6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D7C10 002D4B70 7C 08 02 A6 */ mflr r0 +/* 802D7C14 002D4B74 7C 85 23 78 */ mr r5, r4 +/* 802D7C18 002D4B78 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D7C1C 002D4B7C 38 81 00 08 */ addi r4, r1, 8 +/* 802D7C20 002D4B80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D7C24 002D4B84 7C 7F 1B 78 */ mr r31, r3 +/* 802D7C28 002D4B88 88 0D A6 94 */ lbz r0, lbl_805A9254@sda21(r13) +/* 802D7C2C 002D4B8C 98 01 00 08 */ stb r0, 8(r1) +/* 802D7C30 002D4B90 48 00 00 19 */ bl "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" +/* 802D7C34 002D4B94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D7C38 002D4B98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D7C3C 002D4B9C 7C 08 03 A6 */ mtlr r0 +/* 802D7C40 002D4BA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D7C44 002D4BA4 4E 80 00 20 */ blr + +.global "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" +"cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream": +/* 802D7C48 002D4BA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D7C4C 002D4BAC 7C 08 02 A6 */ mflr r0 +/* 802D7C50 002D4BB0 7C A4 2B 78 */ mr r4, r5 +/* 802D7C54 002D4BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D7C58 002D4BB8 4B FF F1 2D */ bl __ct__10CAnimationFR12CInputStream +/* 802D7C5C 002D4BBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D7C60 002D4BC0 7C 08 03 A6 */ mtlr r0 +/* 802D7C64 002D4BC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D7C68 002D4BC8 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi": +/* 802D7C6C 002D4BCC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7C70 002D4BD0 7C 08 02 A6 */ mflr r0 +/* 802D7C74 002D4BD4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7C78 002D4BD8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802D7C7C 002D4BDC 7C 9F 23 78 */ mr r31, r4 +/* 802D7C80 002D4BE0 7C 7E 1B 78 */ mr r30, r3 +/* 802D7C84 002D4BE4 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7C88 002D4BE8 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7C8C 002D4BEC 40 81 00 F0 */ ble lbl_802D7D7C +/* 802D7C90 002D4BF0 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 802D7C94 002D4BF4 2C 03 00 00 */ cmpwi r3, 0 +/* 802D7C98 002D4BF8 40 82 00 0C */ bne lbl_802D7CA4 +/* 802D7C9C 002D4BFC 3B 80 00 00 */ li r28, 0 +/* 802D7CA0 002D4C00 48 00 00 18 */ b lbl_802D7CB8 +lbl_802D7CA4: +/* 802D7CA4 002D4C04 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7CA8 002D4C08 38 A0 00 00 */ li r5, 0 +/* 802D7CAC 002D4C0C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7CB0 002D4C10 48 03 DB 69 */ bl __nwa__FUlPCcPCc +/* 802D7CB4 002D4C14 7C 7C 1B 78 */ mr r28, r3 +lbl_802D7CB8: +/* 802D7CB8 002D4C18 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7CBC 002D4C1C 7F 9B E3 78 */ mr r27, r28 +/* 802D7CC0 002D4C20 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802D7CC4 002D4C24 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7CC8 002D4C28 93 41 00 10 */ stw r26, 0x10(r1) +/* 802D7CCC 002D4C2C 7F BA 02 14 */ add r29, r26, r0 +/* 802D7CD0 002D4C30 93 41 00 14 */ stw r26, 0x14(r1) +/* 802D7CD4 002D4C34 93 A1 00 08 */ stw r29, 8(r1) +/* 802D7CD8 002D4C38 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802D7CDC 002D4C3C 48 00 00 38 */ b lbl_802D7D14 +lbl_802D7CE0: +/* 802D7CE0 002D4C40 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7CE4 002D4C44 41 82 00 28 */ beq lbl_802D7D0C +/* 802D7CE8 002D4C48 7F 63 DB 78 */ mr r3, r27 +/* 802D7CEC 002D4C4C 7F 44 D3 78 */ mr r4, r26 +/* 802D7CF0 002D4C50 48 06 64 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802D7CF4 002D4C54 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 802D7CF8 002D4C58 90 1B 00 10 */ stw r0, 0x10(r27) +/* 802D7CFC 002D4C5C 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 802D7D00 002D4C60 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7D04 002D4C64 38 03 00 01 */ addi r0, r3, 1 +/* 802D7D08 002D4C68 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7D0C: +/* 802D7D0C 002D4C6C 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 802D7D10 002D4C70 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802D7D14: +/* 802D7D14 002D4C74 7C 1A E8 40 */ cmplw r26, r29 +/* 802D7D18 002D4C78 40 82 FF C8 */ bne lbl_802D7CE0 +/* 802D7D1C 002D4C7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7D20 002D4C80 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802D7D24 002D4C84 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802D7D28 002D4C88 7F 7A 02 14 */ add r27, r26, r0 +/* 802D7D2C 002D4C8C 48 00 00 30 */ b lbl_802D7D5C +lbl_802D7D30: +/* 802D7D30 002D4C90 28 1A 00 00 */ cmplwi r26, 0 +/* 802D7D34 002D4C94 41 82 00 24 */ beq lbl_802D7D58 +/* 802D7D38 002D4C98 34 1A 00 10 */ addic. r0, r26, 0x10 +/* 802D7D3C 002D4C9C 41 82 00 0C */ beq lbl_802D7D48 +/* 802D7D40 002D4CA0 38 7A 00 10 */ addi r3, r26, 0x10 +/* 802D7D44 002D4CA4 4B D5 91 ED */ bl sub_80030f30 +lbl_802D7D48: +/* 802D7D48 002D4CA8 28 1A 00 00 */ cmplwi r26, 0 +/* 802D7D4C 002D4CAC 41 82 00 0C */ beq lbl_802D7D58 +/* 802D7D50 002D4CB0 7F 43 D3 78 */ mr r3, r26 +/* 802D7D54 002D4CB4 48 06 5D 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802D7D58: +/* 802D7D58 002D4CB8 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802D7D5C: +/* 802D7D5C 002D4CBC 7C 1A D8 40 */ cmplw r26, r27 +/* 802D7D60 002D4CC0 40 82 FF D0 */ bne lbl_802D7D30 +/* 802D7D64 002D4CC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7D68 002D4CC8 28 03 00 00 */ cmplwi r3, 0 +/* 802D7D6C 002D4CCC 41 82 00 08 */ beq lbl_802D7D74 +/* 802D7D70 002D4CD0 48 03 DB C1 */ bl Free__7CMemoryFPCv +lbl_802D7D74: +/* 802D7D74 002D4CD4 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802D7D78 002D4CD8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D7D7C: +/* 802D7D7C 002D4CDC BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802D7D80 002D4CE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7D84 002D4CE4 7C 08 03 A6 */ mtlr r0 +/* 802D7D88 002D4CE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7D8C 002D4CEC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi": +/* 802D7D90 002D4CF0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7D94 002D4CF4 7C 08 02 A6 */ mflr r0 +/* 802D7D98 002D4CF8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7D9C 002D4CFC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D7DA0 002D4D00 7C 9E 23 78 */ mr r30, r4 +/* 802D7DA4 002D4D04 7C 7D 1B 78 */ mr r29, r3 +/* 802D7DA8 002D4D08 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7DAC 002D4D0C 7C 1E 00 00 */ cmpw r30, r0 +/* 802D7DB0 002D4D10 40 81 00 E8 */ ble lbl_802D7E98 +/* 802D7DB4 002D4D14 57 C3 20 37 */ rlwinm. r3, r30, 4, 0, 0x1b +/* 802D7DB8 002D4D18 40 82 00 0C */ bne lbl_802D7DC4 +/* 802D7DBC 002D4D1C 3B E0 00 00 */ li r31, 0 +/* 802D7DC0 002D4D20 48 00 00 18 */ b lbl_802D7DD8 +lbl_802D7DC4: +/* 802D7DC4 002D4D24 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7DC8 002D4D28 38 A0 00 00 */ li r5, 0 +/* 802D7DCC 002D4D2C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7DD0 002D4D30 48 03 DA 49 */ bl __nwa__FUlPCcPCc +/* 802D7DD4 002D4D34 7C 7F 1B 78 */ mr r31, r3 +lbl_802D7DD8: +/* 802D7DD8 002D4D38 80 1D 00 04 */ lwz r0, 4(r29) +/* 802D7DDC 002D4D3C 7F E6 FB 78 */ mr r6, r31 +/* 802D7DE0 002D4D40 80 FD 00 0C */ lwz r7, 0xc(r29) +/* 802D7DE4 002D4D44 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7DE8 002D4D48 7C A7 02 14 */ add r5, r7, r0 +/* 802D7DEC 002D4D4C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802D7DF0 002D4D50 90 A1 00 08 */ stw r5, 8(r1) +/* 802D7DF4 002D4D54 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D7DF8 002D4D58 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802D7DFC 002D4D5C 48 00 00 44 */ b lbl_802D7E40 +lbl_802D7E00: +/* 802D7E00 002D4D60 28 06 00 00 */ cmplwi r6, 0 +/* 802D7E04 002D4D64 41 82 00 34 */ beq lbl_802D7E38 +/* 802D7E08 002D4D68 80 07 00 00 */ lwz r0, 0(r7) +/* 802D7E0C 002D4D6C 90 06 00 00 */ stw r0, 0(r6) +/* 802D7E10 002D4D70 80 07 00 04 */ lwz r0, 4(r7) +/* 802D7E14 002D4D74 90 06 00 04 */ stw r0, 4(r6) +/* 802D7E18 002D4D78 80 07 00 08 */ lwz r0, 8(r7) +/* 802D7E1C 002D4D7C 90 06 00 08 */ stw r0, 8(r6) +/* 802D7E20 002D4D80 80 07 00 0C */ lwz r0, 0xc(r7) +/* 802D7E24 002D4D84 90 06 00 0C */ stw r0, 0xc(r6) +/* 802D7E28 002D4D88 80 86 00 0C */ lwz r4, 0xc(r6) +/* 802D7E2C 002D4D8C 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7E30 002D4D90 38 03 00 01 */ addi r0, r3, 1 +/* 802D7E34 002D4D94 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7E38: +/* 802D7E38 002D4D98 38 C6 00 10 */ addi r6, r6, 0x10 +/* 802D7E3C 002D4D9C 38 E7 00 10 */ addi r7, r7, 0x10 +lbl_802D7E40: +/* 802D7E40 002D4DA0 7C 07 28 40 */ cmplw r7, r5 +/* 802D7E44 002D4DA4 40 82 FF BC */ bne lbl_802D7E00 +/* 802D7E48 002D4DA8 80 1D 00 04 */ lwz r0, 4(r29) +/* 802D7E4C 002D4DAC 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 802D7E50 002D4DB0 54 00 20 36 */ slwi r0, r0, 4 +/* 802D7E54 002D4DB4 7F 9B 02 14 */ add r28, r27, r0 +/* 802D7E58 002D4DB8 48 00 00 20 */ b lbl_802D7E78 +lbl_802D7E5C: +/* 802D7E5C 002D4DBC 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7E60 002D4DC0 41 82 00 14 */ beq lbl_802D7E74 +/* 802D7E64 002D4DC4 34 1B 00 0C */ addic. r0, r27, 0xc +/* 802D7E68 002D4DC8 41 82 00 0C */ beq lbl_802D7E74 +/* 802D7E6C 002D4DCC 38 7B 00 0C */ addi r3, r27, 0xc +/* 802D7E70 002D4DD0 4B D5 C4 25 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7E74: +/* 802D7E74 002D4DD4 3B 7B 00 10 */ addi r27, r27, 0x10 +lbl_802D7E78: +/* 802D7E78 002D4DD8 7C 1B E0 40 */ cmplw r27, r28 +/* 802D7E7C 002D4DDC 40 82 FF E0 */ bne lbl_802D7E5C +/* 802D7E80 002D4DE0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802D7E84 002D4DE4 28 03 00 00 */ cmplwi r3, 0 +/* 802D7E88 002D4DE8 41 82 00 08 */ beq lbl_802D7E90 +/* 802D7E8C 002D4DEC 48 03 DA A5 */ bl Free__7CMemoryFPCv +lbl_802D7E90: +/* 802D7E90 002D4DF0 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802D7E94 002D4DF4 93 DD 00 08 */ stw r30, 8(r29) +lbl_802D7E98: +/* 802D7E98 002D4DF8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7E9C 002D4DFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7EA0 002D4E00 7C 08 03 A6 */ mtlr r0 +/* 802D7EA4 002D4E04 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7EA8 002D4E08 4E 80 00 20 */ blr + +.global "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi": +/* 802D7EAC 002D4E0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7EB0 002D4E10 7C 08 02 A6 */ mflr r0 +/* 802D7EB4 002D4E14 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7EB8 002D4E18 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802D7EBC 002D4E1C 7C 9F 23 78 */ mr r31, r4 +/* 802D7EC0 002D4E20 7C 7E 1B 78 */ mr r30, r3 +/* 802D7EC4 002D4E24 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7EC8 002D4E28 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7ECC 002D4E2C 40 81 00 D8 */ ble lbl_802D7FA4 +/* 802D7ED0 002D4E30 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802D7ED4 002D4E34 40 82 00 0C */ bne lbl_802D7EE0 +/* 802D7ED8 002D4E38 3B A0 00 00 */ li r29, 0 +/* 802D7EDC 002D4E3C 48 00 00 18 */ b lbl_802D7EF4 +lbl_802D7EE0: +/* 802D7EE0 002D4E40 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7EE4 002D4E44 38 A0 00 00 */ li r5, 0 +/* 802D7EE8 002D4E48 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D7EEC 002D4E4C 48 03 D9 2D */ bl __nwa__FUlPCcPCc +/* 802D7EF0 002D4E50 7C 7D 1B 78 */ mr r29, r3 +lbl_802D7EF4: +/* 802D7EF4 002D4E54 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7EF8 002D4E58 7F A6 EB 78 */ mr r6, r29 +/* 802D7EFC 002D4E5C 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 802D7F00 002D4E60 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7F04 002D4E64 7C A7 02 14 */ add r5, r7, r0 +/* 802D7F08 002D4E68 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802D7F0C 002D4E6C 90 A1 00 08 */ stw r5, 8(r1) +/* 802D7F10 002D4E70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D7F14 002D4E74 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802D7F18 002D4E78 48 00 00 34 */ b lbl_802D7F4C +lbl_802D7F1C: +/* 802D7F1C 002D4E7C 28 06 00 00 */ cmplwi r6, 0 +/* 802D7F20 002D4E80 41 82 00 24 */ beq lbl_802D7F44 +/* 802D7F24 002D4E84 80 07 00 00 */ lwz r0, 0(r7) +/* 802D7F28 002D4E88 90 06 00 00 */ stw r0, 0(r6) +/* 802D7F2C 002D4E8C 80 07 00 04 */ lwz r0, 4(r7) +/* 802D7F30 002D4E90 90 06 00 04 */ stw r0, 4(r6) +/* 802D7F34 002D4E94 80 86 00 04 */ lwz r4, 4(r6) +/* 802D7F38 002D4E98 80 64 00 04 */ lwz r3, 4(r4) +/* 802D7F3C 002D4E9C 38 03 00 01 */ addi r0, r3, 1 +/* 802D7F40 002D4EA0 90 04 00 04 */ stw r0, 4(r4) +lbl_802D7F44: +/* 802D7F44 002D4EA4 38 C6 00 08 */ addi r6, r6, 8 +/* 802D7F48 002D4EA8 38 E7 00 08 */ addi r7, r7, 8 +lbl_802D7F4C: +/* 802D7F4C 002D4EAC 7C 07 28 40 */ cmplw r7, r5 +/* 802D7F50 002D4EB0 40 82 FF CC */ bne lbl_802D7F1C +/* 802D7F54 002D4EB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D7F58 002D4EB8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802D7F5C 002D4EBC 54 00 18 38 */ slwi r0, r0, 3 +/* 802D7F60 002D4EC0 7F 9B 02 14 */ add r28, r27, r0 +/* 802D7F64 002D4EC4 48 00 00 20 */ b lbl_802D7F84 +lbl_802D7F68: +/* 802D7F68 002D4EC8 28 1B 00 00 */ cmplwi r27, 0 +/* 802D7F6C 002D4ECC 41 82 00 14 */ beq lbl_802D7F80 +/* 802D7F70 002D4ED0 34 1B 00 04 */ addic. r0, r27, 4 +/* 802D7F74 002D4ED4 41 82 00 0C */ beq lbl_802D7F80 +/* 802D7F78 002D4ED8 38 7B 00 04 */ addi r3, r27, 4 +/* 802D7F7C 002D4EDC 4B D5 C3 19 */ bl __dt__17CMetaTransFactoryFv +lbl_802D7F80: +/* 802D7F80 002D4EE0 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802D7F84: +/* 802D7F84 002D4EE4 7C 1B E0 40 */ cmplw r27, r28 +/* 802D7F88 002D4EE8 40 82 FF E0 */ bne lbl_802D7F68 +/* 802D7F8C 002D4EEC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D7F90 002D4EF0 28 03 00 00 */ cmplwi r3, 0 +/* 802D7F94 002D4EF4 41 82 00 08 */ beq lbl_802D7F9C +/* 802D7F98 002D4EF8 48 03 D9 99 */ bl Free__7CMemoryFPCv +lbl_802D7F9C: +/* 802D7F9C 002D4EFC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802D7FA0 002D4F00 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D7FA4: +/* 802D7FA4 002D4F04 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802D7FA8 002D4F08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D7FAC 002D4F0C 7C 08 03 A6 */ mtlr r0 +/* 802D7FB0 002D4F10 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D7FB4 002D4F14 4E 80 00 20 */ blr + +.global "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi": +/* 802D7FB8 002D4F18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D7FBC 002D4F1C 7C 08 02 A6 */ mflr r0 +/* 802D7FC0 002D4F20 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D7FC4 002D4F24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D7FC8 002D4F28 7C 9F 23 78 */ mr r31, r4 +/* 802D7FCC 002D4F2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D7FD0 002D4F30 7C 7E 1B 78 */ mr r30, r3 +/* 802D7FD4 002D4F34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D7FD8 002D4F38 80 03 00 08 */ lwz r0, 8(r3) +/* 802D7FDC 002D4F3C 7C 1F 00 00 */ cmpw r31, r0 +/* 802D7FE0 002D4F40 40 81 00 BC */ ble lbl_802D809C +/* 802D7FE4 002D4F44 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 802D7FE8 002D4F48 2C 03 00 00 */ cmpwi r3, 0 +/* 802D7FEC 002D4F4C 40 82 00 0C */ bne lbl_802D7FF8 +/* 802D7FF0 002D4F50 3B A0 00 00 */ li r29, 0 +/* 802D7FF4 002D4F54 48 00 00 18 */ b lbl_802D800C +lbl_802D7FF8: +/* 802D7FF8 002D4F58 3C 80 80 3D */ lis r4, lbl_803D6D28@ha +/* 802D7FFC 002D4F5C 38 A0 00 00 */ li r5, 0 +/* 802D8000 002D4F60 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l +/* 802D8004 002D4F64 48 03 D8 15 */ bl __nwa__FUlPCcPCc +/* 802D8008 002D4F68 7C 7D 1B 78 */ mr r29, r3 +lbl_802D800C: +/* 802D800C 002D4F6C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D8010 002D4F70 7F A4 EB 78 */ mr r4, r29 +/* 802D8014 002D4F74 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802D8018 002D4F78 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D801C 002D4F7C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D8020 002D4F80 7C 65 02 14 */ add r3, r5, r0 +/* 802D8024 002D4F84 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802D8028 002D4F88 90 61 00 08 */ stw r3, 8(r1) +/* 802D802C 002D4F8C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802D8030 002D4F90 48 00 00 2C */ b lbl_802D805C +lbl_802D8034: +/* 802D8034 002D4F94 28 04 00 00 */ cmplwi r4, 0 +/* 802D8038 002D4F98 41 82 00 1C */ beq lbl_802D8054 +/* 802D803C 002D4F9C 80 05 00 00 */ lwz r0, 0(r5) +/* 802D8040 002D4FA0 90 04 00 00 */ stw r0, 0(r4) +/* 802D8044 002D4FA4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D8048 002D4FA8 D0 04 00 04 */ stfs f0, 4(r4) +/* 802D804C 002D4FAC C0 05 00 08 */ lfs f0, 8(r5) +/* 802D8050 002D4FB0 D0 04 00 08 */ stfs f0, 8(r4) +lbl_802D8054: +/* 802D8054 002D4FB4 38 84 00 0C */ addi r4, r4, 0xc +/* 802D8058 002D4FB8 38 A5 00 0C */ addi r5, r5, 0xc +lbl_802D805C: +/* 802D805C 002D4FBC 7C 05 18 40 */ cmplw r5, r3 +/* 802D8060 002D4FC0 40 82 FF D4 */ bne lbl_802D8034 +/* 802D8064 002D4FC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802D8068 002D4FC8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802D806C 002D4FCC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802D8070 002D4FD0 7C 64 1B 78 */ mr r4, r3 +/* 802D8074 002D4FD4 7C 03 02 14 */ add r0, r3, r0 +/* 802D8078 002D4FD8 48 00 00 08 */ b lbl_802D8080 +lbl_802D807C: +/* 802D807C 002D4FDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_802D8080: +/* 802D8080 002D4FE0 7C 04 00 40 */ cmplw r4, r0 +/* 802D8084 002D4FE4 40 82 FF F8 */ bne lbl_802D807C +/* 802D8088 002D4FE8 28 03 00 00 */ cmplwi r3, 0 +/* 802D808C 002D4FEC 41 82 00 08 */ beq lbl_802D8094 +/* 802D8090 002D4FF0 48 03 D8 A1 */ bl Free__7CMemoryFPCv +lbl_802D8094: +/* 802D8094 002D4FF4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802D8098 002D4FF8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802D809C: +/* 802D809C 002D4FFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D80A0 002D5000 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D80A4 002D5004 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D80A8 002D5008 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D80AC 002D500C 7C 08 03 A6 */ mtlr r0 +/* 802D80B0 002D5010 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D80B4 002D5014 4E 80 00 20 */ blr + diff --git a/asm/Animation/CSequenceHelper.s b/asm/Animation/CSequenceHelper.s new file mode 100644 index 00000000..2ed4d7f7 --- /dev/null +++ b/asm/Animation/CSequenceHelper.s @@ -0,0 +1,116 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CSequenceHelperFv +__dt__15CSequenceHelperFv: +/* 802D9C34 002D6B94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D9C38 002D6B98 7C 08 02 A6 */ mflr r0 +/* 802D9C3C 002D6B9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D9C40 002D6BA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D9C44 002D6BA4 7C 9F 23 78 */ mr r31, r4 +/* 802D9C48 002D6BA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D9C4C 002D6BAC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802D9C50 002D6BB0 41 82 00 98 */ beq lbl_802D9CE8 +/* 802D9C54 002D6BB4 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802D9C58 002D6BB8 41 82 00 40 */ beq lbl_802D9C98 +/* 802D9C5C 002D6BBC 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802D9C60 002D6BC0 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802D9C64 002D6BC4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802D9C68 002D6BC8 7C 83 02 14 */ add r4, r3, r0 +/* 802D9C6C 002D6BCC 7C 03 20 50 */ subf r0, r3, r4 +/* 802D9C70 002D6BD0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802D9C74 002D6BD4 90 81 00 10 */ stw r4, 0x10(r1) +/* 802D9C78 002D6BD8 90 61 00 08 */ stw r3, 8(r1) +/* 802D9C7C 002D6BDC 7C 09 03 A6 */ mtctr r0 +/* 802D9C80 002D6BE0 7C 03 20 40 */ cmplw r3, r4 +/* 802D9C84 002D6BE4 41 82 00 08 */ beq lbl_802D9C8C +lbl_802D9C88: +/* 802D9C88 002D6BE8 42 00 00 00 */ bdnz lbl_802D9C88 +lbl_802D9C8C: +/* 802D9C8C 002D6BEC 28 03 00 00 */ cmplwi r3, 0 +/* 802D9C90 002D6BF0 41 82 00 08 */ beq lbl_802D9C98 +/* 802D9C94 002D6BF4 48 03 BC 9D */ bl Free__7CMemoryFPCv +lbl_802D9C98: +/* 802D9C98 002D6BF8 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802D9C9C 002D6BFC 38 80 FF FF */ li r4, -1 +/* 802D9CA0 002D6C00 48 00 00 65 */ bl sub_802d9d04 +/* 802D9CA4 002D6C04 28 1E 00 00 */ cmplwi r30, 0 +/* 802D9CA8 002D6C08 41 82 00 30 */ beq lbl_802D9CD8 +/* 802D9CAC 002D6C0C 34 1E 00 08 */ addic. r0, r30, 8 +/* 802D9CB0 002D6C10 41 82 00 14 */ beq lbl_802D9CC4 +/* 802D9CB4 002D6C14 34 1E 00 08 */ addic. r0, r30, 8 +/* 802D9CB8 002D6C18 41 82 00 0C */ beq lbl_802D9CC4 +/* 802D9CBC 002D6C1C 38 7E 00 08 */ addi r3, r30, 8 +/* 802D9CC0 002D6C20 4B D5 7A 69 */ bl sub_80031728 +lbl_802D9CC4: +/* 802D9CC4 002D6C24 28 1E 00 00 */ cmplwi r30, 0 +/* 802D9CC8 002D6C28 41 82 00 10 */ beq lbl_802D9CD8 +/* 802D9CCC 002D6C2C 7F C3 F3 78 */ mr r3, r30 +/* 802D9CD0 002D6C30 38 80 00 00 */ li r4, 0 +/* 802D9CD4 002D6C34 48 06 71 6D */ bl __dt__6CTokenFv +lbl_802D9CD8: +/* 802D9CD8 002D6C38 7F E0 07 35 */ extsh. r0, r31 +/* 802D9CDC 002D6C3C 40 81 00 0C */ ble lbl_802D9CE8 +/* 802D9CE0 002D6C40 7F C3 F3 78 */ mr r3, r30 +/* 802D9CE4 002D6C44 48 03 BC 4D */ bl Free__7CMemoryFPCv +lbl_802D9CE8: +/* 802D9CE8 002D6C48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D9CEC 002D6C4C 7F C3 F3 78 */ mr r3, r30 +/* 802D9CF0 002D6C50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D9CF4 002D6C54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D9CF8 002D6C58 7C 08 03 A6 */ mtlr r0 +/* 802D9CFC 002D6C5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D9D00 002D6C60 4E 80 00 20 */ blr + +.global sub_802d9d04 +sub_802d9d04: +/* 802D9D04 002D6C64 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D9D08 002D6C68 7C 08 02 A6 */ mflr r0 +/* 802D9D0C 002D6C6C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D9D10 002D6C70 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D9D14 002D6C74 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D9D18 002D6C78 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D9D1C 002D6C7C 7C 9D 23 78 */ mr r29, r4 +/* 802D9D20 002D6C80 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D9D24 002D6C84 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802D9D28 002D6C88 41 82 00 68 */ beq lbl_802D9D90 +/* 802D9D2C 002D6C8C 80 1C 00 04 */ lwz r0, 4(r28) +/* 802D9D30 002D6C90 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802D9D34 002D6C94 54 00 10 3A */ slwi r0, r0, 2 +/* 802D9D38 002D6C98 7F FE 02 14 */ add r31, r30, r0 +/* 802D9D3C 002D6C9C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802D9D40 002D6CA0 93 E1 00 08 */ stw r31, 8(r1) +/* 802D9D44 002D6CA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D9D48 002D6CA8 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802D9D4C 002D6CAC 48 00 00 1C */ b lbl_802D9D68 +lbl_802D9D50: +/* 802D9D50 002D6CB0 28 1E 00 00 */ cmplwi r30, 0 +/* 802D9D54 002D6CB4 41 82 00 10 */ beq lbl_802D9D64 +/* 802D9D58 002D6CB8 41 82 00 0C */ beq lbl_802D9D64 +/* 802D9D5C 002D6CBC 7F C3 F3 78 */ mr r3, r30 +/* 802D9D60 002D6CC0 4B D5 72 41 */ bl sub_80030fa0 +lbl_802D9D64: +/* 802D9D64 002D6CC4 3B DE 00 04 */ addi r30, r30, 4 +lbl_802D9D68: +/* 802D9D68 002D6CC8 7C 1E F8 40 */ cmplw r30, r31 +/* 802D9D6C 002D6CCC 40 82 FF E4 */ bne lbl_802D9D50 +/* 802D9D70 002D6CD0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802D9D74 002D6CD4 28 03 00 00 */ cmplwi r3, 0 +/* 802D9D78 002D6CD8 41 82 00 08 */ beq lbl_802D9D80 +/* 802D9D7C 002D6CDC 48 03 BB B5 */ bl Free__7CMemoryFPCv +lbl_802D9D80: +/* 802D9D80 002D6CE0 7F A0 07 35 */ extsh. r0, r29 +/* 802D9D84 002D6CE4 40 81 00 0C */ ble lbl_802D9D90 +/* 802D9D88 002D6CE8 7F 83 E3 78 */ mr r3, r28 +/* 802D9D8C 002D6CEC 48 03 BB A5 */ bl Free__7CMemoryFPCv +lbl_802D9D90: +/* 802D9D90 002D6CF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D9D94 002D6CF4 7F 83 E3 78 */ mr r3, r28 +/* 802D9D98 002D6CF8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D9D9C 002D6CFC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D9DA0 002D6D00 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D9DA4 002D6D04 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D9DA8 002D6D08 7C 08 03 A6 */ mtlr r0 +/* 802D9DAC 002D6D0C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D9DB0 002D6D10 4E 80 00 20 */ blr diff --git a/asm/Basics/CBasics.s b/asm/Basics/CBasics.s new file mode 100644 index 00000000..cb9d5715 --- /dev/null +++ b/asm/Basics/CBasics.s @@ -0,0 +1,52 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Stringize__7CBasicsFPCce +Stringize__7CBasicsFPCce: +/* 802D61B0 002D3110 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D61B4 002D3114 7C 08 02 A6 */ mflr r0 +/* 802D61B8 002D3118 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D61BC 002D311C 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802D61C0 002D3120 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802D61C4 002D3124 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802D61C8 002D3128 40 86 00 24 */ bne cr1, lbl_802D61EC +/* 802D61CC 002D312C D8 21 00 28 */ stfd f1, 0x28(r1) +/* 802D61D0 002D3130 D8 41 00 30 */ stfd f2, 0x30(r1) +/* 802D61D4 002D3134 D8 61 00 38 */ stfd f3, 0x38(r1) +/* 802D61D8 002D3138 D8 81 00 40 */ stfd f4, 0x40(r1) +/* 802D61DC 002D313C D8 A1 00 48 */ stfd f5, 0x48(r1) +/* 802D61E0 002D3140 D8 C1 00 50 */ stfd f6, 0x50(r1) +/* 802D61E4 002D3144 D8 E1 00 58 */ stfd f7, 0x58(r1) +/* 802D61E8 002D3148 D9 01 00 60 */ stfd f8, 0x60(r1) +lbl_802D61EC: +/* 802D61EC 002D314C 3B E1 00 98 */ addi r31, r1, 0x98 +/* 802D61F0 002D3150 39 81 00 08 */ addi r12, r1, 8 +/* 802D61F4 002D3154 3F C0 01 00 */ lis r30, 0x100 +/* 802D61F8 002D3158 3D 60 80 48 */ lis r11, lbl_804795A0@ha +/* 802D61FC 002D315C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802D6200 002D3160 3B A1 00 68 */ addi r29, r1, 0x68 +/* 802D6204 002D3164 38 0B 95 A0 */ addi r0, r11, lbl_804795A0@l +/* 802D6208 002D3168 7C 64 1B 78 */ mr r4, r3 +/* 802D620C 002D316C 90 61 00 08 */ stw r3, 8(r1) +/* 802D6210 002D3170 7C 03 03 78 */ mr r3, r0 +/* 802D6214 002D3174 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D6218 002D3178 7F A5 EB 78 */ mr r5, r29 +/* 802D621C 002D317C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802D6220 002D3180 90 E1 00 18 */ stw r7, 0x18(r1) +/* 802D6224 002D3184 91 01 00 1C */ stw r8, 0x1c(r1) +/* 802D6228 002D3188 91 21 00 20 */ stw r9, 0x20(r1) +/* 802D622C 002D318C 91 41 00 24 */ stw r10, 0x24(r1) +/* 802D6230 002D3190 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802D6234 002D3194 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802D6238 002D3198 91 81 00 70 */ stw r12, 0x70(r1) +/* 802D623C 002D319C 48 0B 7B 81 */ bl vsprintf +/* 802D6240 002D31A0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D6244 002D31A4 3C 60 80 48 */ lis r3, lbl_804795A0@ha +/* 802D6248 002D31A8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802D624C 002D31AC 38 63 95 A0 */ addi r3, r3, lbl_804795A0@l +/* 802D6250 002D31B0 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802D6254 002D31B4 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802D6258 002D31B8 7C 08 03 A6 */ mtlr r0 +/* 802D625C 002D31BC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D6260 002D31C0 4E 80 00 20 */ blr diff --git a/asm/Basics/CBasicsDolphin.s b/asm/Basics/CBasicsDolphin.s new file mode 100644 index 00000000..4b7e8cdf --- /dev/null +++ b/asm/Basics/CBasicsDolphin.s @@ -0,0 +1,35 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Init__7CBasicsFv +Init__7CBasicsFv: +/* 802D6354 002D32B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6358 002D32B8 7C 08 02 A6 */ mflr r0 +/* 802D635C 002D32BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6360 002D32C0 88 0D A6 80 */ lbz r0, lbl_805A9240@sda21(r13) +/* 802D6364 002D32C4 28 00 00 00 */ cmplwi r0, 0 +/* 802D6368 002D32C8 40 82 00 48 */ bne lbl_802D63B0 +/* 802D636C 002D32CC 48 0A 75 3D */ bl OSInit +/* 802D6370 002D32D0 38 60 00 04 */ li r3, 4 +/* 802D6374 002D32D4 64 63 00 04 */ oris r3, r3, 4 +/* 802D6378 002D32D8 7C 72 E3 A6 */ mtspr 0x392, r3 +/* 802D637C 002D32DC 38 60 00 05 */ li r3, 5 +/* 802D6380 002D32E0 64 63 00 05 */ oris r3, r3, 5 +/* 802D6384 002D32E4 7C 73 E3 A6 */ mtspr 0x393, r3 +/* 802D6388 002D32E8 38 60 00 06 */ li r3, 6 +/* 802D638C 002D32EC 64 63 00 06 */ oris r3, r3, 6 +/* 802D6390 002D32F0 7C 74 E3 A6 */ mtspr 0x394, r3 +/* 802D6394 002D32F4 38 60 00 07 */ li r3, 7 +/* 802D6398 002D32F8 64 63 00 07 */ oris r3, r3, 7 +/* 802D639C 002D32FC 7C 75 E3 A6 */ mtspr 0x395, r3 +/* 802D63A0 002D3300 48 09 B8 05 */ bl DVDInit +/* 802D63A4 002D3304 4B FF FF 15 */ bl InitGlobalTimer__10CStopwatchFv +/* 802D63A8 002D3308 38 00 00 01 */ li r0, 1 +/* 802D63AC 002D330C 98 0D A6 80 */ stb r0, lbl_805A9240@sda21(r13) +lbl_802D63B0: +/* 802D63B0 002D3310 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D63B4 002D3314 88 6D A6 80 */ lbz r3, lbl_805A9240@sda21(r13) +/* 802D63B8 002D3318 7C 08 03 A6 */ mtlr r0 +/* 802D63BC 002D331C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D63C0 002D3320 4E 80 00 20 */ blr diff --git a/asm/Basics/CCallStackDolphin.s b/asm/Basics/CCallStackDolphin.s new file mode 100644 index 00000000..260d09dc --- /dev/null +++ b/asm/Basics/CCallStackDolphin.s @@ -0,0 +1,19 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTypeText__10CCallStackCFv +GetTypeText__10CCallStackCFv: +/* 802D63C4 002D3324 80 63 00 04 */ lwz r3, 4(r3) +/* 802D63C8 002D3328 4E 80 00 20 */ blr + +.global GetFileAndLineText__10CCallStackCFv +GetFileAndLineText__10CCallStackCFv: +/* 802D63CC 002D332C 80 63 00 00 */ lwz r3, 0(r3) +/* 802D63D0 002D3330 4E 80 00 20 */ blr + +.global __ct__10CCallStackFUiPCcPCc +__ct__10CCallStackFUiPCcPCc: +/* 802D63D4 002D3334 90 A3 00 00 */ stw r5, 0(r3) +/* 802D63D8 002D3338 90 C3 00 04 */ stw r6, 4(r3) +/* 802D63DC 002D333C 4E 80 00 20 */ blr diff --git a/asm/Basics/COsContext.s b/asm/Basics/COsContext.s new file mode 100644 index 00000000..240d00ae --- /dev/null +++ b/asm/Basics/COsContext.s @@ -0,0 +1,243 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802d63e0 +sub_802d63e0: +/* 802D63E0 002D3340 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D63E4 002D3344 7C 08 02 A6 */ mflr r0 +/* 802D63E8 002D3348 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D63EC 002D334C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D63F0 002D3350 93 C1 00 08 */ stw r30, 8(r1) +/* 802D63F4 002D3354 7C 7E 1B 78 */ mr r30, r3 +/* 802D63F8 002D3358 7C 83 23 78 */ mr r3, r4 +/* 802D63FC 002D335C 38 80 00 20 */ li r4, 0x20 +/* 802D6400 002D3360 48 0A 83 B1 */ bl OSAllocFromArenaLo +/* 802D6404 002D3364 7C 7F 1B 78 */ mr r31, r3 +/* 802D6408 002D3368 48 0A 83 91 */ bl OSGetArenaLo +/* 802D640C 002D336C 90 7E 00 20 */ stw r3, 0x20(r30) +/* 802D6410 002D3370 48 0A 83 89 */ bl OSGetArenaLo +/* 802D6414 002D3374 90 7E 00 18 */ stw r3, 0x18(r30) +/* 802D6418 002D3378 48 0A 83 79 */ bl OSGetArenaHi +/* 802D641C 002D337C 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 802D6420 002D3380 7F E3 FB 78 */ mr r3, r31 +/* 802D6424 002D3384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6428 002D3388 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D642C 002D338C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D6430 002D3390 7C 08 03 A6 */ mtlr r0 +/* 802D6434 002D3394 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6438 002D3398 4E 80 00 20 */ blr + +.global OpenWindow__10COsContextFPCciiiib +OpenWindow__10COsContextFPCciiiib: +/* 802D643C 002D339C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D6440 002D33A0 7C 08 02 A6 */ mflr r0 +/* 802D6444 002D33A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D6448 002D33A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D644C 002D33AC 7C 7F 1B 78 */ mr r31, r3 +/* 802D6450 002D33B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D6454 002D33B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D6458 002D33B8 7D 1D 43 78 */ mr r29, r8 +/* 802D645C 002D33BC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D6460 002D33C0 7C FC 3B 78 */ mr r28, r7 +/* 802D6464 002D33C4 48 0B 17 79 */ bl VIInit +/* 802D6468 002D33C8 48 0B 30 71 */ bl VIGetTvFormat +/* 802D646C 002D33CC 2C 03 00 01 */ cmpwi r3, 1 +/* 802D6470 002D33D0 41 82 00 38 */ beq lbl_802D64A8 +/* 802D6474 002D33D4 40 80 00 10 */ bge lbl_802D6484 +/* 802D6478 002D33D8 2C 03 00 00 */ cmpwi r3, 0 +/* 802D647C 002D33DC 40 80 00 14 */ bge lbl_802D6490 +/* 802D6480 002D33E0 48 00 00 54 */ b lbl_802D64D4 +lbl_802D6484: +/* 802D6484 002D33E4 2C 03 00 03 */ cmpwi r3, 3 +/* 802D6488 002D33E8 40 80 00 4C */ bge lbl_802D64D4 +/* 802D648C 002D33EC 48 00 00 34 */ b lbl_802D64C0 +lbl_802D6490: +/* 802D6490 002D33F0 3C 60 80 3F */ lis r3, lbl_803F08E0@ha +/* 802D6494 002D33F4 38 00 00 01 */ li r0, 1 +/* 802D6498 002D33F8 38 63 08 E0 */ addi r3, r3, lbl_803F08E0@l +/* 802D649C 002D33FC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D64A0 002D3400 7C 7E 1B 78 */ mr r30, r3 +/* 802D64A4 002D3404 48 00 00 30 */ b lbl_802D64D4 +lbl_802D64A8: +/* 802D64A8 002D3408 3C 60 80 3F */ lis r3, lbl_803F0958@ha +/* 802D64AC 002D340C 38 00 00 02 */ li r0, 2 +/* 802D64B0 002D3410 38 63 09 58 */ addi r3, r3, lbl_803F0958@l +/* 802D64B4 002D3414 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D64B8 002D3418 7C 7E 1B 78 */ mr r30, r3 +/* 802D64BC 002D341C 48 00 00 18 */ b lbl_802D64D4 +lbl_802D64C0: +/* 802D64C0 002D3420 3C 60 80 3F */ lis r3, lbl_803F091C@ha +/* 802D64C4 002D3424 38 00 00 03 */ li r0, 3 +/* 802D64C8 002D3428 38 63 09 1C */ addi r3, r3, lbl_803F091C@l +/* 802D64CC 002D342C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D64D0 002D3430 7C 7E 1B 78 */ mr r30, r3 +lbl_802D64D4: +/* 802D64D4 002D3434 2C 1C 00 00 */ cmpwi r28, 0 +/* 802D64D8 002D3438 40 81 00 08 */ ble lbl_802D64E0 +/* 802D64DC 002D343C B3 9F 00 3E */ sth r28, 0x3e(r31) +lbl_802D64E0: +/* 802D64E0 002D3440 2C 1D 00 00 */ cmpwi r29, 0 +/* 802D64E4 002D3444 40 81 00 08 */ ble lbl_802D64EC +/* 802D64E8 002D3448 B3 BF 00 40 */ sth r29, 0x40(r31) +lbl_802D64EC: +/* 802D64EC 002D344C 7F C3 F3 78 */ mr r3, r30 +/* 802D64F0 002D3450 38 9F 00 30 */ addi r4, r31, 0x30 +/* 802D64F4 002D3454 38 A0 00 00 */ li r5, 0 +/* 802D64F8 002D3458 38 C0 00 10 */ li r6, 0x10 +/* 802D64FC 002D345C 48 0A 27 09 */ bl GXAdjustForOverscan +/* 802D6500 002D3460 A0 1F 00 3A */ lhz r0, 0x3a(r31) +/* 802D6504 002D3464 38 80 00 20 */ li r4, 0x20 +/* 802D6508 002D3468 90 1F 00 08 */ stw r0, 8(r31) +/* 802D650C 002D346C A0 1F 00 3C */ lhz r0, 0x3c(r31) +/* 802D6510 002D3470 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802D6514 002D3474 A0 1F 00 3E */ lhz r0, 0x3e(r31) +/* 802D6518 002D3478 90 1F 00 00 */ stw r0, 0(r31) +/* 802D651C 002D347C A0 1F 00 40 */ lhz r0, 0x40(r31) +/* 802D6520 002D3480 90 1F 00 04 */ stw r0, 4(r31) +/* 802D6524 002D3484 A0 7F 00 34 */ lhz r3, 0x34(r31) +/* 802D6528 002D3488 A0 1F 00 38 */ lhz r0, 0x38(r31) +/* 802D652C 002D348C 38 63 00 0F */ addi r3, r3, 0xf +/* 802D6530 002D3490 54 63 04 36 */ rlwinm r3, r3, 0, 0x10, 0x1b +/* 802D6534 002D3494 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802D6538 002D3498 54 00 08 3C */ slwi r0, r0, 1 +/* 802D653C 002D349C 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802D6540 002D34A0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802D6544 002D34A4 48 0A 82 6D */ bl OSAllocFromArenaLo +/* 802D6548 002D34A8 90 7F 00 24 */ stw r3, 0x24(r31) +/* 802D654C 002D34AC 38 80 00 20 */ li r4, 0x20 +/* 802D6550 002D34B0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802D6554 002D34B4 48 0A 82 5D */ bl OSAllocFromArenaLo +/* 802D6558 002D34B8 90 7F 00 28 */ stw r3, 0x28(r31) +/* 802D655C 002D34BC 48 0A 82 3D */ bl OSGetArenaLo +/* 802D6560 002D34C0 90 7F 00 20 */ stw r3, 0x20(r31) +/* 802D6564 002D34C4 48 0A 82 35 */ bl OSGetArenaLo +/* 802D6568 002D34C8 90 7F 00 18 */ stw r3, 0x18(r31) +/* 802D656C 002D34CC 48 0A 82 25 */ bl OSGetArenaHi +/* 802D6570 002D34D0 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802D6574 002D34D4 A0 7F 00 3E */ lhz r3, 0x3e(r31) +/* 802D6578 002D34D8 38 03 00 14 */ addi r0, r3, 0x14 +/* 802D657C 002D34DC B0 1F 00 3E */ sth r0, 0x3e(r31) +/* 802D6580 002D34E0 A0 7F 00 3A */ lhz r3, 0x3a(r31) +/* 802D6584 002D34E4 38 03 FF F6 */ addi r0, r3, -10 +/* 802D6588 002D34E8 B0 1F 00 3A */ sth r0, 0x3a(r31) +/* 802D658C 002D34EC 88 0D A0 98 */ lbz r0, lbl_805A8C58@sda21(r13) +/* 802D6590 002D34F0 28 00 00 00 */ cmplwi r0, 0 +/* 802D6594 002D34F4 41 82 00 3C */ beq lbl_802D65D0 +/* 802D6598 002D34F8 38 60 00 02 */ li r3, 2 +/* 802D659C 002D34FC 38 00 00 00 */ li r0, 0 +/* 802D65A0 002D3500 90 7F 00 30 */ stw r3, 0x30(r31) +/* 802D65A4 002D3504 38 7F 00 62 */ addi r3, r31, 0x62 +/* 802D65A8 002D3508 38 81 00 08 */ addi r4, r1, 8 +/* 802D65AC 002D350C 38 A0 00 07 */ li r5, 7 +/* 802D65B0 002D3510 90 1F 00 44 */ stw r0, 0x44(r31) +/* 802D65B4 002D3514 80 E2 C5 68 */ lwz r7, lbl_805AE288@sda21(r2) +/* 802D65B8 002D3518 A0 C2 C5 6C */ lhz r6, lbl_805AE28C@sda21(r2) +/* 802D65BC 002D351C 88 02 C5 6E */ lbz r0, lbl_805AE28E@sda21(r2) +/* 802D65C0 002D3520 90 E1 00 08 */ stw r7, 8(r1) +/* 802D65C4 002D3524 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 802D65C8 002D3528 98 01 00 0E */ stb r0, 0xe(r1) +/* 802D65CC 002D352C 4B D2 CE C5 */ bl memcpy +lbl_802D65D0: +/* 802D65D0 002D3530 38 7F 00 30 */ addi r3, r31, 0x30 +/* 802D65D4 002D3534 48 0B 1F 81 */ bl VIConfigure +/* 802D65D8 002D3538 48 0B 2B 39 */ bl VIFlush +/* 802D65DC 002D353C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D65E0 002D3540 38 60 FF FF */ li r3, -1 +/* 802D65E4 002D3544 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D65E8 002D3548 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D65EC 002D354C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D65F0 002D3550 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D65F4 002D3554 7C 08 03 A6 */ mtlr r0 +/* 802D65F8 002D3558 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D65FC 002D355C 4E 80 00 20 */ blr + +.global GetOsKeyState__10COsContextCFi +GetOsKeyState__10COsContextCFi: +/* 802D6600 002D3560 90 A3 00 00 */ stw r5, 0(r3) +/* 802D6604 002D3564 38 80 00 00 */ li r4, 0 +/* 802D6608 002D3568 A8 03 00 04 */ lha r0, 4(r3) +/* 802D660C 002D356C 50 80 7C 20 */ rlwimi r0, r4, 0xf, 0x10, 0x10 +/* 802D6610 002D3570 B0 03 00 04 */ sth r0, 4(r3) +/* 802D6614 002D3574 A8 03 00 04 */ lha r0, 4(r3) +/* 802D6618 002D3578 50 80 74 62 */ rlwimi r0, r4, 0xe, 0x11, 0x11 +/* 802D661C 002D357C B0 03 00 04 */ sth r0, 4(r3) +/* 802D6620 002D3580 A8 03 00 04 */ lha r0, 4(r3) +/* 802D6624 002D3584 50 80 6C A4 */ rlwimi r0, r4, 0xd, 0x12, 0x12 +/* 802D6628 002D3588 B0 03 00 04 */ sth r0, 4(r3) +/* 802D662C 002D358C A8 03 00 04 */ lha r0, 4(r3) +/* 802D6630 002D3590 50 80 64 E6 */ rlwimi r0, r4, 0xc, 0x13, 0x13 +/* 802D6634 002D3594 B0 03 00 04 */ sth r0, 4(r3) +/* 802D6638 002D3598 4E 80 00 20 */ blr + +.global Update__10COsContextFv +Update__10COsContextFv: +/* 802D663C 002D359C 38 60 00 01 */ li r3, 1 +/* 802D6640 002D35A0 4E 80 00 20 */ blr + +.global __dt__10COsContextFv +__dt__10COsContextFv: +/* 802D6644 002D35A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6648 002D35A8 7C 08 02 A6 */ mflr r0 +/* 802D664C 002D35AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6650 002D35B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D6654 002D35B4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802D6658 002D35B8 41 82 00 10 */ beq lbl_802D6668 +/* 802D665C 002D35BC 7C 80 07 35 */ extsh. r0, r4 +/* 802D6660 002D35C0 40 81 00 08 */ ble lbl_802D6668 +/* 802D6664 002D35C4 48 03 F2 CD */ bl Free__7CMemoryFPCv +lbl_802D6668: +/* 802D6668 002D35C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D666C 002D35CC 7F E3 FB 78 */ mr r3, r31 +/* 802D6670 002D35D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D6674 002D35D4 7C 08 03 A6 */ mtlr r0 +/* 802D6678 002D35D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D667C 002D35DC 4E 80 00 20 */ blr + +.global __ct__10COsContextFbb +__ct__10COsContextFbb: +/* 802D6680 002D35E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6684 002D35E4 7C 08 02 A6 */ mflr r0 +/* 802D6688 002D35E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D668C 002D35EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D6690 002D35F0 7C 7F 1B 78 */ mr r31, r3 +/* 802D6694 002D35F4 4B FF FC C1 */ bl Init__7CBasicsFv +/* 802D6698 002D35F8 48 0A 70 85 */ bl OSGetConsoleType +/* 802D669C 002D35FC 3C 80 10 00 */ lis r4, 0x1000 +/* 802D66A0 002D3600 7C 03 20 00 */ cmpw r3, r4 +/* 802D66A4 002D3604 41 82 00 58 */ beq lbl_802D66FC +/* 802D66A8 002D3608 40 80 00 10 */ bge lbl_802D66B8 +/* 802D66AC 002D360C 2C 03 00 01 */ cmpwi r3, 1 +/* 802D66B0 002D3610 41 82 00 28 */ beq lbl_802D66D8 +/* 802D66B4 002D3614 48 00 00 50 */ b lbl_802D6704 +lbl_802D66B8: +/* 802D66B8 002D3618 38 04 00 04 */ addi r0, r4, 4 +/* 802D66BC 002D361C 7C 03 00 00 */ cmpw r3, r0 +/* 802D66C0 002D3620 41 82 00 24 */ beq lbl_802D66E4 +/* 802D66C4 002D3624 41 80 00 40 */ blt lbl_802D6704 +/* 802D66C8 002D3628 38 04 00 07 */ addi r0, r4, 7 +/* 802D66CC 002D362C 7C 03 00 00 */ cmpw r3, r0 +/* 802D66D0 002D3630 40 80 00 34 */ bge lbl_802D6704 +/* 802D66D4 002D3634 48 00 00 1C */ b lbl_802D66F0 +lbl_802D66D8: +/* 802D66D8 002D3638 38 00 00 03 */ li r0, 3 +/* 802D66DC 002D363C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D66E0 002D3640 48 00 00 24 */ b lbl_802D6704 +lbl_802D66E4: +/* 802D66E4 002D3644 38 00 00 01 */ li r0, 1 +/* 802D66E8 002D3648 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D66EC 002D364C 48 00 00 18 */ b lbl_802D6704 +lbl_802D66F0: +/* 802D66F0 002D3650 38 00 00 02 */ li r0, 2 +/* 802D66F4 002D3654 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D66F8 002D3658 48 00 00 0C */ b lbl_802D6704 +lbl_802D66FC: +/* 802D66FC 002D365C 38 00 00 00 */ li r0, 0 +/* 802D6700 002D3660 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_802D6704: +/* 802D6704 002D3664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6708 002D3668 7F E3 FB 78 */ mr r3, r31 +/* 802D670C 002D366C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D6710 002D3670 7C 08 03 A6 */ mtlr r0 +/* 802D6714 002D3674 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6718 002D3678 4E 80 00 20 */ blr diff --git a/asm/Basics/CSWDataDolphin.s b/asm/Basics/CSWDataDolphin.s new file mode 100644 index 00000000..f1b9e6e5 --- /dev/null +++ b/asm/Basics/CSWDataDolphin.s @@ -0,0 +1,78 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Initialize__Q210CStopwatch7CSWDataFv +Initialize__Q210CStopwatch7CSWDataFv: +/* 802D671C 002D367C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6720 002D3680 7C 08 02 A6 */ mflr r0 +/* 802D6724 002D3684 3C 80 00 0F */ lis r4, 0x000F4240@ha +/* 802D6728 002D3688 3C A0 80 00 */ lis r5, 0x800000F8@ha +/* 802D672C 002D368C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6730 002D3690 38 00 00 00 */ li r0, 0 +/* 802D6734 002D3694 38 C4 42 40 */ addi r6, r4, 0x000F4240@l +/* 802D6738 002D3698 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D673C 002D369C 7C 7F 1B 78 */ mr r31, r3 +/* 802D6740 002D36A0 80 A5 00 F8 */ lwz r5, 0x800000F8@l(r5) +/* 802D6744 002D36A4 54 A3 F0 BE */ srwi r3, r5, 2 +/* 802D6748 002D36A8 38 A0 00 00 */ li r5, 0 +/* 802D674C 002D36AC 90 7F 00 04 */ stw r3, 4(r31) +/* 802D6750 002D36B0 90 1F 00 00 */ stw r0, 0(r31) +/* 802D6754 002D36B4 80 7F 00 00 */ lwz r3, 0(r31) +/* 802D6758 002D36B8 80 9F 00 04 */ lwz r4, 4(r31) +/* 802D675C 002D36BC 48 0B 34 71 */ bl __div2i +/* 802D6760 002D36C0 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802D6764 002D36C4 90 7F 00 08 */ stw r3, 8(r31) +/* 802D6768 002D36C8 80 7F 00 00 */ lwz r3, 0(r31) +/* 802D676C 002D36CC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802D6770 002D36D0 48 0B 37 F5 */ bl __cvt_sll_flt +/* 802D6774 002D36D4 C0 02 C5 70 */ lfs f0, lbl_805AE290@sda21(r2) +/* 802D6778 002D36D8 38 60 00 01 */ li r3, 1 +/* 802D677C 002D36DC EC 00 08 24 */ fdivs f0, f0, f1 +/* 802D6780 002D36E0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802D6784 002D36E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D6788 002D36E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D678C 002D36EC 7C 08 03 A6 */ mtlr r0 +/* 802D6790 002D36F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6794 002D36F4 4E 80 00 20 */ blr + +.global Wait__Q210CStopwatch7CSWDataCFf +Wait__Q210CStopwatch7CSWDataCFf: +/* 802D6798 002D36F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D679C 002D36FC 7C 08 02 A6 */ mflr r0 +/* 802D67A0 002D3700 3C 60 80 00 */ lis r3, 0x800000F8@ha +/* 802D67A4 002D3704 C8 42 C5 78 */ lfd f2, lbl_805AE298@sda21(r2) +/* 802D67A8 002D3708 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D67AC 002D370C 3C 00 43 30 */ lis r0, 0x4330 +/* 802D67B0 002D3710 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D67B4 002D3714 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D67B8 002D3718 80 63 00 F8 */ lwz r3, 0x800000F8@l(r3) +/* 802D67BC 002D371C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802D67C0 002D3720 54 60 F0 BE */ srwi r0, r3, 2 +/* 802D67C4 002D3724 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D67C8 002D3728 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802D67CC 002D372C EC 00 10 28 */ fsubs f0, f0, f2 +/* 802D67D0 002D3730 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802D67D4 002D3734 48 0B 38 45 */ bl __cvt_dbl_usll +/* 802D67D8 002D3738 7C 9E 23 78 */ mr r30, r4 +/* 802D67DC 002D373C 7C 7F 1B 78 */ mr r31, r3 +/* 802D67E0 002D3740 48 0A EB C9 */ bl OSGetTime +/* 802D67E4 002D3744 7F DE 20 14 */ addc r30, r30, r4 +/* 802D67E8 002D3748 7F FF 19 14 */ adde r31, r31, r3 +lbl_802D67EC: +/* 802D67EC 002D374C 48 0A EB BD */ bl OSGetTime +/* 802D67F0 002D3750 90 81 00 14 */ stw r4, 0x14(r1) +/* 802D67F4 002D3754 90 61 00 10 */ stw r3, 0x10(r1) +/* 802D67F8 002D3758 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802D67FC 002D375C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6800 002D3760 7C 1E 00 10 */ subfc r0, r30, r0 +/* 802D6804 002D3764 90 01 00 08 */ stw r0, 8(r1) +/* 802D6808 002D3768 80 01 00 08 */ lwz r0, 8(r1) +/* 802D680C 002D376C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D6810 002D3770 41 80 FF DC */ blt lbl_802D67EC +/* 802D6814 002D3774 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D6818 002D3778 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D681C 002D377C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D6820 002D3780 7C 08 03 A6 */ mtlr r0 +/* 802D6824 002D3784 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D6828 002D3788 4E 80 00 20 */ blr diff --git a/asm/Basics/CStopwatch.s b/asm/Basics/CStopwatch.s new file mode 100644 index 00000000..99ff6dfe --- /dev/null +++ b/asm/Basics/CStopwatch.s @@ -0,0 +1,78 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetGlobalTimerObj__10CStopwatchFv +GetGlobalTimerObj__10CStopwatchFv: +/* 802D6264 002D31C4 38 6D A6 78 */ addi r3, r13, lbl_805A9238@sda21 +/* 802D6268 002D31C8 4E 80 00 20 */ blr + +.global Wait__10CStopwatchFf +Wait__10CStopwatchFf: +/* 802D626C 002D31CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6270 002D31D0 7C 08 02 A6 */ mflr r0 +/* 802D6274 002D31D4 FC 40 0A 10 */ fabs f2, f1 +/* 802D6278 002D31D8 C8 02 C5 58 */ lfd f0, lbl_805AE278@sda21(r2) +/* 802D627C 002D31DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6280 002D31E0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D6284 002D31E4 40 80 00 18 */ bge lbl_802D629C +/* 802D6288 002D31E8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 802D628C 002D31EC C0 22 C5 60 */ lfs f1, lbl_805AE280@sda21(r2) +/* 802D6290 002D31F0 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 802D6294 002D31F4 48 00 05 05 */ bl Wait__Q210CStopwatch7CSWDataCFf +/* 802D6298 002D31F8 48 00 00 10 */ b lbl_802D62A8 +lbl_802D629C: +/* 802D629C 002D31FC 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 802D62A0 002D3200 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 802D62A4 002D3204 48 00 04 F5 */ bl Wait__Q210CStopwatch7CSWDataCFf +lbl_802D62A8: +/* 802D62A8 002D3208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D62AC 002D320C 7C 08 03 A6 */ mtlr r0 +/* 802D62B0 002D3210 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D62B4 002D3214 4E 80 00 20 */ blr + +.global InitGlobalTimer__10CStopwatchFv +InitGlobalTimer__10CStopwatchFv: +/* 802D62B8 002D3218 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D62BC 002D321C 7C 08 02 A6 */ mflr r0 +/* 802D62C0 002D3220 3C 60 80 5A */ lis r3, lbl_805A0004@ha +/* 802D62C4 002D3224 38 80 00 00 */ li r4, 0 +/* 802D62C8 002D3228 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D62CC 002D322C 84 03 FD 30 */ lwzu r0, -0x2d0(r3) +/* 802D62D0 002D3230 80 A3 00 04 */ lwz r5, lbl_805A0004@l(r3) +/* 802D62D4 002D3234 7C 00 22 78 */ xor r0, r0, r4 +/* 802D62D8 002D3238 7C A4 22 78 */ xor r4, r5, r4 +/* 802D62DC 002D323C 7C 80 03 79 */ or. r0, r4, r0 +/* 802D62E0 002D3240 40 82 00 08 */ bne lbl_802D62E8 +/* 802D62E4 002D3244 48 00 04 39 */ bl Initialize__Q210CStopwatch7CSWDataFv +lbl_802D62E8: +/* 802D62E8 002D3248 48 0A F0 C1 */ bl OSGetTime +/* 802D62EC 002D324C 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13) +/* 802D62F0 002D3250 38 60 00 01 */ li r3, 1 +/* 802D62F4 002D3254 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13) +/* 802D62F8 002D3258 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D62FC 002D325C 7C 08 03 A6 */ mtlr r0 +/* 802D6300 002D3260 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6304 002D3264 4E 80 00 20 */ blr + +.global __sinit_CStopwatch_cpp +__sinit_CStopwatch_cpp: +/* 802D6308 002D3268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D630C 002D326C 7C 08 02 A6 */ mflr r0 +/* 802D6310 002D3270 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 802D6314 002D3274 C0 02 C5 60 */ lfs f0, lbl_805AE280@sda21(r2) +/* 802D6318 002D3278 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D631C 002D327C 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 802D6320 002D3280 38 00 00 00 */ li r0, 0 +/* 802D6324 002D3284 90 03 00 04 */ stw r0, 4(r3) +/* 802D6328 002D3288 90 03 00 00 */ stw r0, 0(r3) +/* 802D632C 002D328C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802D6330 002D3290 90 03 00 08 */ stw r0, 8(r3) +/* 802D6334 002D3294 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802D6338 002D3298 48 0A F0 71 */ bl OSGetTime +/* 802D633C 002D329C 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13) +/* 802D6340 002D32A0 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13) +/* 802D6344 002D32A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D6348 002D32A8 7C 08 03 A6 */ mtlr r0 +/* 802D634C 002D32AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6350 002D32B0 4E 80 00 20 */ blr diff --git a/asm/Basics/RAssertDolphin.s b/asm/Basics/RAssertDolphin.s new file mode 100644 index 00000000..33ec2138 --- /dev/null +++ b/asm/Basics/RAssertDolphin.s @@ -0,0 +1,370 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global rs_debugger_printf__FPCce +rs_debugger_printf__FPCce: +/* 802D682C 002D378C 94 21 FC B0 */ stwu r1, -0x350(r1) +/* 802D6830 002D3790 7C 08 02 A6 */ mflr r0 +/* 802D6834 002D3794 90 01 03 54 */ stw r0, 0x354(r1) +/* 802D6838 002D3798 93 E1 03 4C */ stw r31, 0x34c(r1) +/* 802D683C 002D379C 93 C1 03 48 */ stw r30, 0x348(r1) +/* 802D6840 002D37A0 93 A1 03 44 */ stw r29, 0x344(r1) +/* 802D6844 002D37A4 40 86 00 24 */ bne cr1, lbl_802D6868 +/* 802D6848 002D37A8 D8 21 00 28 */ stfd f1, 0x28(r1) +/* 802D684C 002D37AC D8 41 00 30 */ stfd f2, 0x30(r1) +/* 802D6850 002D37B0 D8 61 00 38 */ stfd f3, 0x38(r1) +/* 802D6854 002D37B4 D8 81 00 40 */ stfd f4, 0x40(r1) +/* 802D6858 002D37B8 D8 A1 00 48 */ stfd f5, 0x48(r1) +/* 802D685C 002D37BC D8 C1 00 50 */ stfd f6, 0x50(r1) +/* 802D6860 002D37C0 D8 E1 00 58 */ stfd f7, 0x58(r1) +/* 802D6864 002D37C4 D9 01 00 60 */ stfd f8, 0x60(r1) +lbl_802D6868: +/* 802D6868 002D37C8 3B E1 03 58 */ addi r31, r1, 0x358 +/* 802D686C 002D37CC 39 81 00 08 */ addi r12, r1, 8 +/* 802D6870 002D37D0 3F C0 01 00 */ lis r30, 0x100 +/* 802D6874 002D37D4 3D 60 80 48 */ lis r11, lbl_804797A0@ha +/* 802D6878 002D37D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 802D687C 002D37DC 3B A1 00 68 */ addi r29, r1, 0x68 +/* 802D6880 002D37E0 38 0B 97 A0 */ addi r0, r11, lbl_804797A0@l +/* 802D6884 002D37E4 7C 64 1B 78 */ mr r4, r3 +/* 802D6888 002D37E8 90 61 00 08 */ stw r3, 8(r1) +/* 802D688C 002D37EC 7C 03 03 78 */ mr r3, r0 +/* 802D6890 002D37F0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802D6894 002D37F4 7F A5 EB 78 */ mr r5, r29 +/* 802D6898 002D37F8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802D689C 002D37FC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 802D68A0 002D3800 91 01 00 1C */ stw r8, 0x1c(r1) +/* 802D68A4 002D3804 91 21 00 20 */ stw r9, 0x20(r1) +/* 802D68A8 002D3808 91 41 00 24 */ stw r10, 0x24(r1) +/* 802D68AC 002D380C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802D68B0 002D3810 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802D68B4 002D3814 91 81 00 70 */ stw r12, 0x70(r1) +/* 802D68B8 002D3818 48 0B 75 05 */ bl vsprintf +/* 802D68BC 002D381C 90 6D A6 8C */ stw r3, lbl_805A924C@sda21(r13) +/* 802D68C0 002D3820 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D68C4 002D3824 48 0A 8B C1 */ bl OSSaveContext +/* 802D68C8 002D3828 3C 60 D1 DD */ lis r3, 0xD1DD0D1E@ha +/* 802D68CC 002D382C 38 81 00 78 */ addi r4, r1, 0x78 +/* 802D68D0 002D3830 38 C3 0D 1E */ addi r6, r3, 0xD1DD0D1E@l +/* 802D68D4 002D3834 38 60 00 FF */ li r3, 0xff +/* 802D68D8 002D3838 38 A0 00 00 */ li r5, 0 +/* 802D68DC 002D383C 48 00 00 7D */ bl sub_802d6958 +/* 802D68E0 002D3840 80 01 03 54 */ lwz r0, 0x354(r1) +/* 802D68E4 002D3844 83 E1 03 4C */ lwz r31, 0x34c(r1) +/* 802D68E8 002D3848 83 C1 03 48 */ lwz r30, 0x348(r1) +/* 802D68EC 002D384C 83 A1 03 44 */ lwz r29, 0x344(r1) +/* 802D68F0 002D3850 7C 08 03 A6 */ mtlr r0 +/* 802D68F4 002D3854 38 21 03 50 */ addi r1, r1, 0x350 +/* 802D68F8 002D3858 4E 80 00 20 */ blr + +.global SetErrorHandlers +SetErrorHandlers: +/* 802D68FC 002D385C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D6900 002D3860 7C 08 02 A6 */ mflr r0 +/* 802D6904 002D3864 3C 80 80 2D */ lis r4, sub_802d6958@ha +/* 802D6908 002D3868 38 60 00 02 */ li r3, 2 +/* 802D690C 002D386C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D6910 002D3870 38 84 69 58 */ addi r4, r4, sub_802d6958@l +/* 802D6914 002D3874 48 0A 92 45 */ bl OSSetErrorHandler +/* 802D6918 002D3878 3C 80 80 2D */ lis r4, sub_802d6958@ha +/* 802D691C 002D387C 38 60 00 03 */ li r3, 3 +/* 802D6920 002D3880 38 84 69 58 */ addi r4, r4, sub_802d6958@l +/* 802D6924 002D3884 48 0A 92 35 */ bl OSSetErrorHandler +/* 802D6928 002D3888 3C 80 80 2D */ lis r4, sub_802d6958@ha +/* 802D692C 002D388C 38 60 00 05 */ li r3, 5 +/* 802D6930 002D3890 38 84 69 58 */ addi r4, r4, sub_802d6958@l +/* 802D6934 002D3894 48 0A 92 25 */ bl OSSetErrorHandler +/* 802D6938 002D3898 3C 80 80 2D */ lis r4, sub_802d6958@ha +/* 802D693C 002D389C 38 60 00 0F */ li r3, 0xf +/* 802D6940 002D38A0 38 84 69 58 */ addi r4, r4, sub_802d6958@l +/* 802D6944 002D38A4 48 0A 92 15 */ bl OSSetErrorHandler +/* 802D6948 002D38A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D694C 002D38AC 7C 08 03 A6 */ mtlr r0 +/* 802D6950 002D38B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D6954 002D38B4 4E 80 00 20 */ blr + +.global sub_802d6958 +sub_802d6958: +/* 802D6958 002D38B8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802D695C 002D38BC 7C 08 02 A6 */ mflr r0 +/* 802D6960 002D38C0 90 01 00 74 */ stw r0, 0x74(r1) +/* 802D6964 002D38C4 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 802D6968 002D38C8 28 00 00 0F */ cmplwi r0, 0xf +/* 802D696C 002D38CC BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 802D6970 002D38D0 7C 7A 1B 78 */ mr r26, r3 +/* 802D6974 002D38D4 7C 9B 23 78 */ mr r27, r4 +/* 802D6978 002D38D8 7C BC 2B 78 */ mr r28, r5 +/* 802D697C 002D38DC 7C DD 33 78 */ mr r29, r6 +/* 802D6980 002D38E0 40 82 00 1C */ bne lbl_802D699C +/* 802D6984 002D38E4 57 80 06 F7 */ rlwinm. r0, r28, 0, 0x1b, 0x1b +/* 802D6988 002D38E8 40 82 03 E8 */ bne lbl_802D6D70 +/* 802D698C 002D38EC 3C 00 01 80 */ lis r0, 0x180 +/* 802D6990 002D38F0 7C 1D 00 40 */ cmplw r29, r0 +/* 802D6994 002D38F4 40 81 00 08 */ ble lbl_802D699C +/* 802D6998 002D38F8 48 00 03 D8 */ b lbl_802D6D70 +lbl_802D699C: +/* 802D699C 002D38FC 38 60 00 03 */ li r3, 3 +/* 802D69A0 002D3900 38 80 00 00 */ li r4, 0 +/* 802D69A4 002D3904 38 A0 00 00 */ li r5, 0 +/* 802D69A8 002D3908 38 C0 00 03 */ li r6, 3 +/* 802D69AC 002D390C 48 0A C1 11 */ bl OSProtectRange +/* 802D69B0 002D3910 3A E0 00 00 */ li r23, 0 +/* 802D69B4 002D3914 38 60 00 00 */ li r3, 0 +/* 802D69B8 002D3918 38 80 00 00 */ li r4, 0 +/* 802D69BC 002D391C 48 0B 02 21 */ bl sub_80386bdc +/* 802D69C0 002D3920 38 60 00 01 */ li r3, 1 +/* 802D69C4 002D3924 48 0B 28 E9 */ bl VISetBlack +/* 802D69C8 002D3928 48 0B 27 49 */ bl VIFlush +/* 802D69CC 002D392C 48 00 00 74 */ b lbl_802D6A40 +lbl_802D69D0: +/* 802D69D0 002D3930 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D69D4 002D3934 48 0A FD A5 */ bl PADRead +/* 802D69D8 002D3938 88 01 00 2A */ lbz r0, 0x2a(r1) +/* 802D69DC 002D393C 7C 00 07 75 */ extsb. r0, r0 +/* 802D69E0 002D3940 40 82 00 60 */ bne lbl_802D6A40 +/* 802D69E4 002D3944 A0 81 00 20 */ lhz r4, 0x20(r1) +/* 802D69E8 002D3948 80 62 C5 88 */ lwz r3, lbl_805AE2A8@sda21(r2) +/* 802D69EC 002D394C 70 80 0C 10 */ andi. r0, r4, 0xc10 +/* 802D69F0 002D3950 90 61 00 10 */ stw r3, 0x10(r1) +/* 802D69F4 002D3954 2C 00 0C 10 */ cmpwi r0, 0xc10 +/* 802D69F8 002D3958 40 82 00 44 */ bne lbl_802D6A3C +/* 802D69FC 002D395C 54 80 07 3F */ clrlwi. r0, r4, 0x1c +/* 802D6A00 002D3960 41 82 00 40 */ beq lbl_802D6A40 +/* 802D6A04 002D3964 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D6A08 002D3968 7C 63 BA 14 */ add r3, r3, r23 +/* 802D6A0C 002D396C 88 03 00 00 */ lbz r0, 0(r3) +/* 802D6A10 002D3970 7C 80 00 39 */ and. r0, r4, r0 +/* 802D6A14 002D3974 41 82 00 0C */ beq lbl_802D6A20 +/* 802D6A18 002D3978 3A F7 00 01 */ addi r23, r23, 1 +/* 802D6A1C 002D397C 48 00 00 24 */ b lbl_802D6A40 +lbl_802D6A20: +/* 802D6A20 002D3980 28 17 00 00 */ cmplwi r23, 0 +/* 802D6A24 002D3984 41 82 00 1C */ beq lbl_802D6A40 +/* 802D6A28 002D3988 88 03 FF FF */ lbz r0, -1(r3) +/* 802D6A2C 002D398C 7C 80 00 39 */ and. r0, r4, r0 +/* 802D6A30 002D3990 40 82 00 10 */ bne lbl_802D6A40 +/* 802D6A34 002D3994 3A E0 00 00 */ li r23, 0 +/* 802D6A38 002D3998 48 00 00 08 */ b lbl_802D6A40 +lbl_802D6A3C: +/* 802D6A3C 002D399C 3A E0 00 00 */ li r23, 0 +lbl_802D6A40: +/* 802D6A40 002D39A0 28 17 00 04 */ cmplwi r23, 4 +/* 802D6A44 002D39A4 41 80 FF 8C */ blt lbl_802D69D0 +/* 802D6A48 002D39A8 38 60 00 00 */ li r3, 0 +/* 802D6A4C 002D39AC 48 0B 28 61 */ bl VISetBlack +/* 802D6A50 002D39B0 48 0B 26 C1 */ bl VIFlush +/* 802D6A54 002D39B4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6A58 002D39B8 57 5F 04 3E */ clrlwi r31, r26, 0x10 +/* 802D6A5C 002D39BC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6A60 002D39C0 7F E4 FB 78 */ mr r4, r31 +/* 802D6A64 002D39C4 4C C6 31 82 */ crclr 6 +/* 802D6A68 002D39C8 48 0A 8F 45 */ bl OSReport +/* 802D6A6C 002D39CC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6A70 002D39D0 80 82 82 88 */ lwz r4, lbl_805A9FA8@sda21(r2) +/* 802D6A74 002D39D4 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6A78 002D39D8 38 63 00 25 */ addi r3, r3, 0x25 +/* 802D6A7C 002D39DC 4C C6 31 82 */ crclr 6 +/* 802D6A80 002D39E0 48 0A 8F 2D */ bl OSReport +/* 802D6A84 002D39E4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6A88 002D39E8 7F 64 DB 78 */ mr r4, r27 +/* 802D6A8C 002D39EC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6A90 002D39F0 38 63 00 29 */ addi r3, r3, 0x29 +/* 802D6A94 002D39F4 4C C6 31 82 */ crclr 6 +/* 802D6A98 002D39F8 48 0A 8F 15 */ bl OSReport +/* 802D6A9C 002D39FC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6AA0 002D3A00 7F 79 DB 78 */ mr r25, r27 +/* 802D6AA4 002D3A04 3B 03 6A B8 */ addi r24, r3, lbl_803D6AB8@l +/* 802D6AA8 002D3A08 3A E0 00 00 */ li r23, 0 +lbl_802D6AAC: +/* 802D6AAC 002D3A0C 81 19 00 40 */ lwz r8, 0x40(r25) +/* 802D6AB0 002D3A10 7E E4 BB 78 */ mr r4, r23 +/* 802D6AB4 002D3A14 80 B9 00 00 */ lwz r5, 0(r25) +/* 802D6AB8 002D3A18 38 78 00 6D */ addi r3, r24, 0x6d +/* 802D6ABC 002D3A1C 7D 09 43 78 */ mr r9, r8 +/* 802D6AC0 002D3A20 38 F7 00 10 */ addi r7, r23, 0x10 +/* 802D6AC4 002D3A24 7C A6 2B 78 */ mr r6, r5 +/* 802D6AC8 002D3A28 4C C6 31 82 */ crclr 6 +/* 802D6ACC 002D3A2C 48 0A 8E E1 */ bl OSReport +/* 802D6AD0 002D3A30 3A F7 00 01 */ addi r23, r23, 1 +/* 802D6AD4 002D3A34 3B 39 00 04 */ addi r25, r25, 4 +/* 802D6AD8 002D3A38 28 17 00 10 */ cmplwi r23, 0x10 +/* 802D6ADC 002D3A3C 41 80 FF D0 */ blt lbl_802D6AAC +/* 802D6AE0 002D3A40 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6AE4 002D3A44 80 9B 00 84 */ lwz r4, 0x84(r27) +/* 802D6AE8 002D3A48 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6AEC 002D3A4C 80 BB 00 80 */ lwz r5, 0x80(r27) +/* 802D6AF0 002D3A50 38 63 00 9D */ addi r3, r3, 0x9d +/* 802D6AF4 002D3A54 4C C6 31 82 */ crclr 6 +/* 802D6AF8 002D3A58 48 0A 8E B5 */ bl OSReport +/* 802D6AFC 002D3A5C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6B00 002D3A60 80 9B 01 98 */ lwz r4, 0x198(r27) +/* 802D6B04 002D3A64 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6B08 002D3A68 80 BB 01 9C */ lwz r5, 0x19c(r27) +/* 802D6B0C 002D3A6C 38 63 00 CC */ addi r3, r3, 0xcc +/* 802D6B10 002D3A70 4C C6 31 82 */ crclr 6 +/* 802D6B14 002D3A74 48 0A 8E 99 */ bl OSReport +/* 802D6B18 002D3A78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6B1C 002D3A7C 7F 84 E3 78 */ mr r4, r28 +/* 802D6B20 002D3A80 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6B24 002D3A84 7F A5 EB 78 */ mr r5, r29 +/* 802D6B28 002D3A88 38 63 00 FB */ addi r3, r3, 0xfb +/* 802D6B2C 002D3A8C 4C C6 31 82 */ crclr 6 +/* 802D6B30 002D3A90 48 0A 8E 7D */ bl OSReport +/* 802D6B34 002D3A94 83 0D A6 8C */ lwz r24, lbl_805A924C@sda21(r13) +/* 802D6B38 002D3A98 2C 18 00 00 */ cmpwi r24, 0 +/* 802D6B3C 002D3A9C 41 82 00 2C */ beq lbl_802D6B68 +/* 802D6B40 002D3AA0 3C 80 80 48 */ lis r4, lbl_804797A0@ha +/* 802D6B44 002D3AA4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6B48 002D3AA8 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l +/* 802D6B4C 002D3AAC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l +/* 802D6B50 002D3AB0 7C 60 C2 14 */ add r3, r0, r24 +/* 802D6B54 002D3AB4 38 84 01 2A */ addi r4, r4, 0x12a +/* 802D6B58 002D3AB8 4C C6 31 82 */ crclr 6 +/* 802D6B5C 002D3ABC 48 0B 71 81 */ bl sprintf +/* 802D6B60 002D3AC0 7F 18 1A 14 */ add r24, r24, r3 +/* 802D6B64 002D3AC4 48 00 00 28 */ b lbl_802D6B8C +lbl_802D6B68: +/* 802D6B68 002D3AC8 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha +/* 802D6B6C 002D3ACC 3C 60 80 48 */ lis r3, lbl_804797A0@ha +/* 802D6B70 002D3AD0 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l +/* 802D6B74 002D3AD4 7F E5 FB 78 */ mr r5, r31 +/* 802D6B78 002D3AD8 38 63 97 A0 */ addi r3, r3, lbl_804797A0@l +/* 802D6B7C 002D3ADC 38 84 01 39 */ addi r4, r4, 0x139 +/* 802D6B80 002D3AE0 4C C6 31 82 */ crclr 6 +/* 802D6B84 002D3AE4 48 0B 71 59 */ bl sprintf +/* 802D6B88 002D3AE8 7F 18 1A 14 */ add r24, r24, r3 +lbl_802D6B8C: +/* 802D6B8C 002D3AEC 3C 80 80 48 */ lis r4, lbl_804797A0@ha +/* 802D6B90 002D3AF0 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6B94 002D3AF4 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l +/* 802D6B98 002D3AF8 80 A2 82 88 */ lwz r5, lbl_805A9FA8@sda21(r2) +/* 802D6B9C 002D3AFC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l +/* 802D6BA0 002D3B00 7C 60 C2 14 */ add r3, r0, r24 +/* 802D6BA4 002D3B04 38 84 00 25 */ addi r4, r4, 0x25 +/* 802D6BA8 002D3B08 4C C6 31 82 */ crclr 6 +/* 802D6BAC 002D3B0C 48 0B 71 31 */ bl sprintf +/* 802D6BB0 002D3B10 3C A0 80 48 */ lis r5, lbl_804797A0@ha +/* 802D6BB4 002D3B14 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha +/* 802D6BB8 002D3B18 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l +/* 802D6BBC 002D3B1C 7F D8 1A 14 */ add r30, r24, r3 +/* 802D6BC0 002D3B20 38 05 97 A0 */ addi r0, r5, lbl_804797A0@l +/* 802D6BC4 002D3B24 80 BB 01 98 */ lwz r5, 0x198(r27) +/* 802D6BC8 002D3B28 7F A6 EB 78 */ mr r6, r29 +/* 802D6BCC 002D3B2C 38 84 01 54 */ addi r4, r4, 0x154 +/* 802D6BD0 002D3B30 7C 60 F2 14 */ add r3, r0, r30 +/* 802D6BD4 002D3B34 4C C6 31 82 */ crclr 6 +/* 802D6BD8 002D3B38 48 0B 71 05 */ bl sprintf +/* 802D6BDC 002D3B3C 57 40 04 3E */ clrlwi r0, r26, 0x10 +/* 802D6BE0 002D3B40 7F DE 1A 14 */ add r30, r30, r3 +/* 802D6BE4 002D3B44 28 00 00 0F */ cmplwi r0, 0xf +/* 802D6BE8 002D3B48 40 82 00 2C */ bne lbl_802D6C14 +/* 802D6BEC 002D3B4C 3C 80 80 48 */ lis r4, lbl_804797A0@ha +/* 802D6BF0 002D3B50 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6BF4 002D3B54 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l +/* 802D6BF8 002D3B58 7F 85 E3 78 */ mr r5, r28 +/* 802D6BFC 002D3B5C 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l +/* 802D6C00 002D3B60 7C 60 F2 14 */ add r3, r0, r30 +/* 802D6C04 002D3B64 38 84 01 6E */ addi r4, r4, 0x16e +/* 802D6C08 002D3B68 4C C6 31 82 */ crclr 6 +/* 802D6C0C 002D3B6C 48 0B 70 D1 */ bl sprintf +/* 802D6C10 002D3B70 7F DE 1A 14 */ add r30, r30, r3 +lbl_802D6C14: +/* 802D6C14 002D3B74 3C 80 80 48 */ lis r4, lbl_804797A0@ha +/* 802D6C18 002D3B78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6C1C 002D3B7C 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l +/* 802D6C20 002D3B80 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l +/* 802D6C24 002D3B84 7C 60 F2 14 */ add r3, r0, r30 +/* 802D6C28 002D3B88 38 84 01 74 */ addi r4, r4, 0x174 +/* 802D6C2C 002D3B8C 4C C6 31 82 */ crclr 6 +/* 802D6C30 002D3B90 48 0B 70 AD */ bl sprintf +/* 802D6C34 002D3B94 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha +/* 802D6C38 002D3B98 7F DE 1A 14 */ add r30, r30, r3 +/* 802D6C3C 002D3B9C 38 64 6A B8 */ addi r3, r4, lbl_803D6AB8@l +/* 802D6C40 002D3BA0 38 63 01 77 */ addi r3, r3, 0x177 +/* 802D6C44 002D3BA4 4C C6 31 82 */ crclr 6 +/* 802D6C48 002D3BA8 48 0A 8D 65 */ bl OSReport +/* 802D6C4C 002D3BAC 3C A0 80 00 */ lis r5, 0x80000400@ha +/* 802D6C50 002D3BB0 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha +/* 802D6C54 002D3BB4 3C 60 80 48 */ lis r3, lbl_804797A0@ha +/* 802D6C58 002D3BB8 83 FB 00 04 */ lwz r31, 4(r27) +/* 802D6C5C 002D3BBC 3B 05 04 00 */ addi r24, r5, 0x80000400@l +/* 802D6C60 002D3BC0 3B 84 6A B8 */ addi r28, r4, lbl_803D6AB8@l +/* 802D6C64 002D3BC4 3B 43 97 A0 */ addi r26, r3, lbl_804797A0@l +/* 802D6C68 002D3BC8 3A E0 00 00 */ li r23, 0 +/* 802D6C6C 002D3BCC 3F 20 81 80 */ lis r25, 0x8180 +/* 802D6C70 002D3BD0 48 00 00 94 */ b lbl_802D6D04 +lbl_802D6C74: +/* 802D6C74 002D3BD4 7C 1F C0 40 */ cmplw r31, r24 +/* 802D6C78 002D3BD8 40 81 00 48 */ ble lbl_802D6CC0 +/* 802D6C7C 002D3BDC 7C 1F C8 40 */ cmplw r31, r25 +/* 802D6C80 002D3BE0 40 80 00 40 */ bge lbl_802D6CC0 +/* 802D6C84 002D3BE4 80 BF 00 00 */ lwz r5, 0(r31) +/* 802D6C88 002D3BE8 7F E4 FB 78 */ mr r4, r31 +/* 802D6C8C 002D3BEC 80 DF 00 04 */ lwz r6, 4(r31) +/* 802D6C90 002D3BF0 38 7C 01 9D */ addi r3, r28, 0x19d +/* 802D6C94 002D3BF4 4C C6 31 82 */ crclr 6 +/* 802D6C98 002D3BF8 48 0A 8D 15 */ bl OSReport +/* 802D6C9C 002D3BFC 80 DF 00 00 */ lwz r6, 0(r31) +/* 802D6CA0 002D3C00 7F E5 FB 78 */ mr r5, r31 +/* 802D6CA4 002D3C04 80 FF 00 04 */ lwz r7, 4(r31) +/* 802D6CA8 002D3C08 7C 7A F2 14 */ add r3, r26, r30 +/* 802D6CAC 002D3C0C 38 9C 01 B9 */ addi r4, r28, 0x1b9 +/* 802D6CB0 002D3C10 4C C6 31 82 */ crclr 6 +/* 802D6CB4 002D3C14 48 0B 70 29 */ bl sprintf +/* 802D6CB8 002D3C18 7F DE 1A 14 */ add r30, r30, r3 +/* 802D6CBC 002D3C1C 48 00 00 44 */ b lbl_802D6D00 +lbl_802D6CC0: +/* 802D6CC0 002D3C20 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6CC4 002D3C24 7F E4 FB 78 */ mr r4, r31 +/* 802D6CC8 002D3C28 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6CCC 002D3C2C 38 63 01 D0 */ addi r3, r3, 0x1d0 +/* 802D6CD0 002D3C30 4C C6 31 82 */ crclr 6 +/* 802D6CD4 002D3C34 48 0A 8C D9 */ bl OSReport +/* 802D6CD8 002D3C38 3C 80 80 48 */ lis r4, lbl_804797A0@ha +/* 802D6CDC 002D3C3C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6CE0 002D3C40 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l +/* 802D6CE4 002D3C44 7F E5 FB 78 */ mr r5, r31 +/* 802D6CE8 002D3C48 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l +/* 802D6CEC 002D3C4C 7C 60 F2 14 */ add r3, r0, r30 +/* 802D6CF0 002D3C50 38 84 01 E3 */ addi r4, r4, 0x1e3 +/* 802D6CF4 002D3C54 4C C6 31 82 */ crclr 6 +/* 802D6CF8 002D3C58 48 0B 6F E5 */ bl sprintf +/* 802D6CFC 002D3C5C 48 00 00 28 */ b lbl_802D6D24 +lbl_802D6D00: +/* 802D6D00 002D3C60 83 FF 00 00 */ lwz r31, 0(r31) +lbl_802D6D04: +/* 802D6D04 002D3C64 28 1F 00 00 */ cmplwi r31, 0 +/* 802D6D08 002D3C68 41 82 00 1C */ beq lbl_802D6D24 +/* 802D6D0C 002D3C6C 3C 1F 00 01 */ addis r0, r31, 1 +/* 802D6D10 002D3C70 28 00 FF FF */ cmplwi r0, 0xffff +/* 802D6D14 002D3C74 41 82 00 10 */ beq lbl_802D6D24 +/* 802D6D18 002D3C78 28 17 00 10 */ cmplwi r23, 0x10 +/* 802D6D1C 002D3C7C 3A F7 00 01 */ addi r23, r23, 1 +/* 802D6D20 002D3C80 41 80 FF 54 */ blt lbl_802D6C74 +lbl_802D6D24: +/* 802D6D24 002D3C84 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha +/* 802D6D28 002D3C88 80 9B 01 98 */ lwz r4, 0x198(r27) +/* 802D6D2C 002D3C8C 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l +/* 802D6D30 002D3C90 7F A5 EB 78 */ mr r5, r29 +/* 802D6D34 002D3C94 38 63 01 F4 */ addi r3, r3, 0x1f4 +/* 802D6D38 002D3C98 4C C6 31 82 */ crclr 6 +/* 802D6D3C 002D3C9C 48 0A 8C 71 */ bl OSReport +/* 802D6D40 002D3CA0 88 0D A6 88 */ lbz r0, lbl_805A9248@sda21(r13) +/* 802D6D44 002D3CA4 28 00 00 00 */ cmplwi r0, 0 +/* 802D6D48 002D3CA8 40 82 00 28 */ bne lbl_802D6D70 +/* 802D6D4C 002D3CAC 80 82 C5 80 */ lwz r4, lbl_805AE2A0@sda21(r2) +/* 802D6D50 002D3CB0 3C 60 80 48 */ lis r3, lbl_804797A0@ha +/* 802D6D54 002D3CB4 80 02 C5 84 */ lwz r0, lbl_805AE2A4@sda21(r2) +/* 802D6D58 002D3CB8 38 A3 97 A0 */ addi r5, r3, lbl_804797A0@l +/* 802D6D5C 002D3CBC 90 81 00 08 */ stw r4, 8(r1) +/* 802D6D60 002D3CC0 38 61 00 0C */ addi r3, r1, 0xc +/* 802D6D64 002D3CC4 38 81 00 08 */ addi r4, r1, 8 +/* 802D6D68 002D3CC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D6D6C 002D3CCC 48 0A 97 C5 */ bl OSFatal +lbl_802D6D70: +/* 802D6D70 002D3CD0 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 802D6D74 002D3CD4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802D6D78 002D3CD8 7C 08 03 A6 */ mtlr r0 +/* 802D6D7C 002D3CDC 38 21 00 70 */ addi r1, r1, 0x70 +/* 802D6D80 002D3CE0 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollidableAABox.s b/asm/Collision/CCollidableAABox.s new file mode 100644 index 00000000..3f1533a7 --- /dev/null +++ b/asm/Collision/CCollidableAABox.s @@ -0,0 +1,809 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTableIndex__16CCollidableAABoxCFv +GetTableIndex__16CCollidableAABoxCFv: +/* 802CD4C8 002CA428 80 6D 9B 28 */ lwz r3, lbl_805A86E8@sda21(r13) +/* 802CD4CC 002CA42C 4E 80 00 20 */ blr + +.global GetPrimType__16CCollidableAABoxCFv +GetPrimType__16CCollidableAABoxCFv: +/* 802CD4D0 002CA430 3C 60 41 41 */ lis r3, 0x41414258@ha +/* 802CD4D4 002CA434 38 63 42 58 */ addi r3, r3, 0x41414258@l +/* 802CD4D8 002CA438 4E 80 00 20 */ blr + +.global Transform__16CCollidableAABoxCFRC12CTransform4f +Transform__16CCollidableAABoxCFRC12CTransform4f: +/* 802CD4DC 002CA43C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CD4E0 002CA440 7C 08 02 A6 */ mflr r0 +/* 802CD4E4 002CA444 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CD4E8 002CA448 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 802CD4EC 002CA44C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802CD4F0 002CA450 C0 24 00 24 */ lfs f1, 0x24(r4) +/* 802CD4F4 002CA454 EC 60 10 2A */ fadds f3, f0, f2 +/* 802CD4F8 002CA458 C0 E5 00 1C */ lfs f7, 0x1c(r5) +/* 802CD4FC 002CA45C EC 81 10 2A */ fadds f4, f1, f2 +/* 802CD500 002CA460 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802CD504 002CA464 C0 C5 00 0C */ lfs f6, 0xc(r5) +/* 802CD508 002CA468 38 A1 00 08 */ addi r5, r1, 8 +/* 802CD50C 002CA46C EC A0 38 2A */ fadds f5, f0, f7 +/* 802CD510 002CA470 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 802CD514 002CA474 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802CD518 002CA478 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802CD51C 002CA47C EC 42 30 2A */ fadds f2, f2, f6 +/* 802CD520 002CA480 EC 21 38 2A */ fadds f1, f1, f7 +/* 802CD524 002CA484 EC 00 30 2A */ fadds f0, f0, f6 +/* 802CD528 002CA488 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802CD52C 002CA48C 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CD530 002CA490 D0 41 00 08 */ stfs f2, 8(r1) +/* 802CD534 002CA494 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802CD538 002CA498 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802CD53C 002CA49C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802CD540 002CA4A0 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802CD544 002CA4A4 48 06 AF C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802CD548 002CA4A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CD54C 002CA4AC 7C 08 03 A6 */ mtlr r0 +/* 802CD550 002CA4B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CD554 002CA4B4 4E 80 00 20 */ blr + +.global CalculateAABox__16CCollidableAABoxCFRC12CTransform4f +CalculateAABox__16CCollidableAABoxCFRC12CTransform4f: +/* 802CD558 002CA4B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CD55C 002CA4BC 7C 08 02 A6 */ mflr r0 +/* 802CD560 002CA4C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CD564 002CA4C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CD568 002CA4C8 7C 7F 1B 78 */ mr r31, r3 +/* 802CD56C 002CA4CC 4B FF FF 71 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CD570 002CA4D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CD574 002CA4D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CD578 002CA4D8 7C 08 03 A6 */ mtlr r0 +/* 802CD57C 002CA4DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CD580 002CA4E0 4E 80 00 20 */ blr + +.global CalculateLocalAABox__16CCollidableAABoxCFv +CalculateLocalAABox__16CCollidableAABoxCFv: +/* 802CD584 002CA4E4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802CD588 002CA4E8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CD58C 002CA4EC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802CD590 002CA4F0 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CD594 002CA4F4 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802CD598 002CA4F8 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CD59C 002CA4FC C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802CD5A0 002CA500 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CD5A4 002CA504 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802CD5A8 002CA508 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802CD5AC 002CA50C C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802CD5B0 002CA510 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CD5B4 002CA514 4E 80 00 20 */ blr + +.global CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure +CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure: +/* 802CD5B8 002CA518 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802CD5BC 002CA51C 7C 08 02 A6 */ mflr r0 +/* 802CD5C0 002CA520 90 01 01 84 */ stw r0, 0x184(r1) +/* 802CD5C4 002CA524 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802CD5C8 002CA528 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802CD5CC 002CA52C DB C1 01 60 */ stfd f30, 0x160(r1) +/* 802CD5D0 002CA530 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 802CD5D4 002CA534 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 802CD5D8 002CA538 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 802CD5DC 002CA53C DB 81 01 40 */ stfd f28, 0x140(r1) +/* 802CD5E0 002CA540 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 802CD5E4 002CA544 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 802CD5E8 002CA548 93 C1 01 38 */ stw r30, 0x138(r1) +/* 802CD5EC 002CA54C 93 A1 01 34 */ stw r29, 0x134(r1) +/* 802CD5F0 002CA550 93 81 01 30 */ stw r28, 0x130(r1) +/* 802CD5F4 002CA554 7C 9C 23 78 */ mr r28, r4 +/* 802CD5F8 002CA558 7C 7F 1B 78 */ mr r31, r3 +/* 802CD5FC 002CA55C 7F 83 E3 78 */ mr r3, r28 +/* 802CD600 002CA560 7C BD 2B 78 */ mr r29, r5 +/* 802CD604 002CA564 81 9C 00 00 */ lwz r12, 0(r28) +/* 802CD608 002CA568 83 C5 00 6C */ lwz r30, 0x6c(r5) +/* 802CD60C 002CA56C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CD610 002CA570 7D 89 03 A6 */ mtctr r12 +/* 802CD614 002CA574 4E 80 04 21 */ bctrl +/* 802CD618 002CA578 7C 64 1B 78 */ mr r4, r3 +/* 802CD61C 002CA57C 7F C3 F3 78 */ mr r3, r30 +/* 802CD620 002CA580 48 00 7D 2D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CD624 002CA584 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CD628 002CA588 40 82 00 64 */ bne lbl_802CD68C +/* 802CD62C 002CA58C C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) +/* 802CD630 002CA590 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CD634 002CA594 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) +/* 802CD638 002CA598 D0 3F 00 00 */ stfs f1, 0(r31) +/* 802CD63C 002CA59C D0 3F 00 04 */ stfs f1, 4(r31) +/* 802CD640 002CA5A0 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802CD644 002CA5A4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 802CD648 002CA5A8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802CD64C 002CA5AC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802CD650 002CA5B0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802CD654 002CA5B4 48 04 72 A5 */ bl Normalize__9CVector3fFv +/* 802CD658 002CA5B8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802CD65C 002CA5BC 38 00 00 00 */ li r0, 0 +/* 802CD660 002CA5C0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) +/* 802CD664 002CA5C4 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 802CD668 002CA5C8 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802CD66C 002CA5CC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 802CD670 002CA5D0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802CD674 002CA5D4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 802CD678 002CA5D8 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 802CD67C 002CA5DC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802CD680 002CA5E0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802CD684 002CA5E4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802CD688 002CA5E8 48 00 02 7C */ b lbl_802CD904 +lbl_802CD68C: +/* 802CD68C 002CA5EC 38 61 01 00 */ addi r3, r1, 0x100 +/* 802CD690 002CA5F0 38 9D 00 3C */ addi r4, r29, 0x3c +/* 802CD694 002CA5F4 48 04 54 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CD698 002CA5F8 38 61 00 6C */ addi r3, r1, 0x6c +/* 802CD69C 002CA5FC 38 9D 00 3C */ addi r4, r29, 0x3c +/* 802CD6A0 002CA600 48 04 55 FD */ bl GetQuickInverse__12CTransform4fCFv +/* 802CD6A4 002CA604 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802CD6A8 002CA608 38 81 00 6C */ addi r4, r1, 0x6c +/* 802CD6AC 002CA60C 48 04 54 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CD6B0 002CA610 7F A5 EB 78 */ mr r5, r29 +/* 802CD6B4 002CA614 38 61 00 3C */ addi r3, r1, 0x3c +/* 802CD6B8 002CA618 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 802CD6BC 002CA61C 48 04 54 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802CD6C0 002CA620 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 802CD6C4 002CA624 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CD6C8 002CA628 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802CD6CC 002CA62C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 802CD6D0 002CA630 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802CD6D4 002CA634 38 BD 00 2C */ addi r5, r29, 0x2c +/* 802CD6D8 002CA638 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802CD6DC 002CA63C D0 21 00 64 */ stfs f1, 0x64(r1) +/* 802CD6E0 002CA640 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802CD6E4 002CA644 48 04 53 9D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802CD6E8 002CA648 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802CD6EC 002CA64C 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802CD6F0 002CA650 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802CD6F4 002CA654 38 81 00 60 */ addi r4, r1, 0x60 +/* 802CD6F8 002CA658 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802CD6FC 002CA65C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 802CD700 002CA660 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802CD704 002CA664 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802CD708 002CA668 C3 FD 00 38 */ lfs f31, 0x38(r29) +/* 802CD70C 002CA66C 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802CD710 002CA670 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 802CD714 002CA674 39 01 00 0C */ addi r8, r1, 0xc +/* 802CD718 002CA678 39 21 00 08 */ addi r9, r1, 8 +/* 802CD71C 002CA67C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802CD720 002CA680 48 00 44 89 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb +/* 802CD724 002CA684 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CD728 002CA688 41 82 00 24 */ beq lbl_802CD74C +/* 802CD72C 002CA68C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802CD730 002CA690 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) +/* 802CD734 002CA694 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CD738 002CA698 41 80 00 14 */ blt lbl_802CD74C +/* 802CD73C 002CA69C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802CD740 002CA6A0 40 81 00 6C */ ble lbl_802CD7AC +/* 802CD744 002CA6A4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 802CD748 002CA6A8 40 81 00 64 */ ble lbl_802CD7AC +lbl_802CD74C: +/* 802CD74C 002CA6AC C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) +/* 802CD750 002CA6B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CD754 002CA6B4 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) +/* 802CD758 002CA6B8 D0 3F 00 00 */ stfs f1, 0(r31) +/* 802CD75C 002CA6BC D0 3F 00 04 */ stfs f1, 4(r31) +/* 802CD760 002CA6C0 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802CD764 002CA6C4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 802CD768 002CA6C8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802CD76C 002CA6CC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802CD770 002CA6D0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802CD774 002CA6D4 48 04 71 85 */ bl Normalize__9CVector3fFv +/* 802CD778 002CA6D8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802CD77C 002CA6DC 38 00 00 00 */ li r0, 0 +/* 802CD780 002CA6E0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) +/* 802CD784 002CA6E4 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 802CD788 002CA6E8 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802CD78C 002CA6EC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 802CD790 002CA6F0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802CD794 002CA6F4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 802CD798 002CA6F8 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 802CD79C 002CA6FC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802CD7A0 002CA700 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802CD7A4 002CA704 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802CD7A8 002CA708 48 00 01 5C */ b lbl_802CD904 +lbl_802CD7AC: +/* 802CD7AC 002CA70C 88 01 00 08 */ lbz r0, 8(r1) +/* 802CD7B0 002CA710 28 00 00 00 */ cmplwi r0, 0 +/* 802CD7B4 002CA714 41 82 00 0C */ beq lbl_802CD7C0 +/* 802CD7B8 002CA718 C0 62 C4 84 */ lfs f3, lbl_805AE1A4@sda21(r2) +/* 802CD7BC 002CA71C 48 00 00 08 */ b lbl_802CD7C4 +lbl_802CD7C0: +/* 802CD7C0 002CA720 C0 62 C4 88 */ lfs f3, lbl_805AE1A8@sda21(r2) +lbl_802CD7C4: +/* 802CD7C4 002CA724 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802CD7C8 002CA728 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802CD7CC 002CA72C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802CD7D0 002CA730 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CD7D4 002CA734 C0 44 00 00 */ lfs f2, 0(r4) +/* 802CD7D8 002CA738 54 A0 10 3A */ slwi r0, r5, 2 +/* 802CD7DC 002CA73C C0 24 00 04 */ lfs f1, 4(r4) +/* 802CD7E0 002CA740 2C 05 00 00 */ cmpwi r5, 0 +/* 802CD7E4 002CA744 C0 04 00 08 */ lfs f0, 8(r4) +/* 802CD7E8 002CA748 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802CD7EC 002CA74C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802CD7F0 002CA750 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802CD7F4 002CA754 7C 63 05 2E */ stfsx f3, r3, r0 +/* 802CD7F8 002CA758 C3 C1 00 48 */ lfs f30, 0x48(r1) +/* 802CD7FC 002CA75C C3 A1 00 4C */ lfs f29, 0x4c(r1) +/* 802CD800 002CA760 C3 81 00 50 */ lfs f28, 0x50(r1) +/* 802CD804 002CA764 41 82 00 10 */ beq lbl_802CD814 +/* 802CD808 002CA768 7C 7C 02 14 */ add r3, r28, r0 +/* 802CD80C 002CA76C C3 E3 00 10 */ lfs f31, 0x10(r3) +/* 802CD810 002CA770 48 00 00 10 */ b lbl_802CD820 +lbl_802CD814: +/* 802CD814 002CA774 7C 7C 02 14 */ add r3, r28, r0 +/* 802CD818 002CA778 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 802CD81C 002CA77C FF E0 00 50 */ fneg f31, f0 +lbl_802CD820: +/* 802CD820 002CA780 7F 83 E3 78 */ mr r3, r28 +/* 802CD824 002CA784 81 9C 00 00 */ lwz r12, 0(r28) +/* 802CD828 002CA788 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CD82C 002CA78C 7D 89 03 A6 */ mtctr r12 +/* 802CD830 002CA790 4E 80 04 21 */ bctrl +/* 802CD834 002CA794 C0 C1 00 14 */ lfs f6, 0x14(r1) +/* 802CD838 002CA798 38 00 00 01 */ li r0, 1 +/* 802CD83C 002CA79C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802CD840 002CA7A0 38 81 01 00 */ addi r4, r1, 0x100 +/* 802CD844 002CA7A4 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802CD848 002CA7A8 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802CD84C 002CA7AC EC 86 00 B2 */ fmuls f4, f6, f2 +/* 802CD850 002CA7B0 C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 802CD854 002CA7B4 EC 46 00 72 */ fmuls f2, f6, f1 +/* 802CD858 002CA7B8 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802CD85C 002CA7BC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802CD860 002CA7C0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802CD864 002CA7C4 EC 85 20 2A */ fadds f4, f5, f4 +/* 802CD868 002CA7C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1) +/* 802CD86C 002CA7CC EC 43 10 2A */ fadds f2, f3, f2 +/* 802CD870 002CA7D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802CD874 002CA7D4 D3 C1 00 B0 */ stfs f30, 0xb0(r1) +/* 802CD878 002CA7D8 D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 802CD87C 002CA7DC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802CD880 002CA7E0 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 802CD884 002CA7E4 D3 A1 00 B4 */ stfs f29, 0xb4(r1) +/* 802CD888 002CA7E8 D3 81 00 B8 */ stfs f28, 0xb8(r1) +/* 802CD88C 002CA7EC D3 E1 00 BC */ stfs f31, 0xbc(r1) +/* 802CD890 002CA7F0 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 802CD894 002CA7F4 80 03 00 00 */ lwz r0, 0(r3) +/* 802CD898 002CA7F8 80 A3 00 04 */ lwz r5, 4(r3) +/* 802CD89C 002CA7FC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802CD8A0 002CA800 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 802CD8A4 002CA804 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802CD8A8 002CA808 4B FE 00 09 */ bl Transform__14CRayCastResultFRC12CTransform4f +/* 802CD8AC 002CA80C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802CD8B0 002CA810 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802CD8B4 002CA814 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802CD8B8 002CA818 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802CD8BC 002CA81C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802CD8C0 002CA820 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802CD8C4 002CA824 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 802CD8C8 002CA828 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802CD8CC 002CA82C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802CD8D0 002CA830 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802CD8D4 002CA834 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 802CD8D8 002CA838 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 802CD8DC 002CA83C C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 802CD8E0 002CA840 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 802CD8E4 002CA844 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802CD8E8 002CA848 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 802CD8EC 002CA84C 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 802CD8F0 002CA850 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802CD8F4 002CA854 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 802CD8F8 002CA858 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802CD8FC 002CA85C 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 802CD900 002CA860 90 1F 00 28 */ stw r0, 0x28(r31) +lbl_802CD904: +/* 802CD904 002CA864 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 802CD908 002CA868 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 802CD90C 002CA86C E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 802CD910 002CA870 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 802CD914 002CA874 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 802CD918 002CA878 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 802CD91C 002CA87C E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 802CD920 002CA880 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 802CD924 002CA884 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 802CD928 002CA888 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 802CD92C 002CA88C 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 802CD930 002CA890 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802CD934 002CA894 83 81 01 30 */ lwz r28, 0x130(r1) +/* 802CD938 002CA898 7C 08 03 A6 */ mtlr r0 +/* 802CD93C 002CA89C 38 21 01 80 */ addi r1, r1, 0x180 +/* 802CD940 002CA8A0 4E 80 00 20 */ blr + +.global CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802CD944 002CA8A4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802CD948 002CA8A8 7C 08 02 A6 */ mflr r0 +/* 802CD94C 002CA8AC 90 01 01 14 */ stw r0, 0x114(r1) +/* 802CD950 002CA8B0 BF 41 00 F8 */ stmw r26, 0xf8(r1) +/* 802CD954 002CA8B4 7C 7A 1B 78 */ mr r26, r3 +/* 802CD958 002CA8B8 7C BC 2B 78 */ mr r28, r5 +/* 802CD95C 002CA8BC 7C 9B 23 78 */ mr r27, r4 +/* 802CD960 002CA8C0 7C DF 33 78 */ mr r31, r6 +/* 802CD964 002CA8C4 38 BA 00 08 */ addi r5, r26, 8 +/* 802CD968 002CA8C8 83 A3 00 00 */ lwz r29, 0(r3) +/* 802CD96C 002CA8CC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CD970 002CA8D0 83 DA 00 38 */ lwz r30, 0x38(r26) +/* 802CD974 002CA8D4 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CD978 002CA8D8 7F A4 EB 78 */ mr r4, r29 +/* 802CD97C 002CA8DC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802CD980 002CA8E0 7D 89 03 A6 */ mtctr r12 +/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl +/* 802CD988 002CA8E8 C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 802CD98C 002CA8EC 7F C4 F3 78 */ mr r4, r30 +/* 802CD990 002CA8F0 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 802CD994 002CA8F4 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CD998 002CA8F8 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802CD99C 002CA8FC 38 BA 00 40 */ addi r5, r26, 0x40 +/* 802CD9A0 002CA900 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 802CD9A4 002CA904 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802CD9A8 002CA908 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802CD9AC 002CA90C D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802CD9B0 002CA910 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 802CD9B4 002CA914 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802CD9B8 002CA918 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802CD9BC 002CA91C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802CD9C0 002CA920 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802CD9C4 002CA924 48 00 69 91 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802CD9C8 002CA928 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802CD9CC 002CA92C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802CD9D0 002CA930 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 802CD9D4 002CA934 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 802CD9D8 002CA938 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 802CD9DC 002CA93C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CD9E0 002CA940 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802CD9E4 002CA944 38 81 00 78 */ addi r4, r1, 0x78 +/* 802CD9E8 002CA948 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802CD9EC 002CA94C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802CD9F0 002CA950 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802CD9F4 002CA954 38 C1 00 08 */ addi r6, r1, 8 +/* 802CD9F8 002CA958 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802CD9FC 002CA95C FC E0 10 50 */ fneg f7, f2 +/* 802CDA00 002CA960 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802CDA04 002CA964 FC 40 08 50 */ fneg f2, f1 +/* 802CDA08 002CA968 FC 00 00 50 */ fneg f0, f0 +/* 802CDA0C 002CA96C C0 C8 00 00 */ lfs f6, 0(r8) +/* 802CDA10 002CA970 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802CDA14 002CA974 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802CDA18 002CA978 38 E1 00 44 */ addi r7, r1, 0x44 +/* 802CDA1C 002CA97C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802CDA20 002CA980 C0 88 00 08 */ lfs f4, 8(r8) +/* 802CDA24 002CA984 39 01 00 38 */ addi r8, r1, 0x38 +/* 802CDA28 002CA988 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802CDA2C 002CA98C C8 3C 00 00 */ lfd f1, 0(r28) +/* 802CDA30 002CA990 D8 21 00 08 */ stfd f1, 8(r1) +/* 802CDA34 002CA994 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 802CDA38 002CA998 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802CDA3C 002CA99C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802CDA40 002CA9A0 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 802CDA44 002CA9A4 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802CDA48 002CA9A8 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 802CDA4C 002CA9AC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802CDA50 002CA9B0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802CDA54 002CA9B4 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 802CDA58 002CA9B8 48 00 2A 39 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +/* 802CDA5C 002CA9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CDA60 002CA9C0 41 82 01 78 */ beq lbl_802CDBD8 +/* 802CDA64 002CA9C4 C8 E1 00 08 */ lfd f7, 8(r1) +/* 802CDA68 002CA9C8 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802CDA6C 002CA9CC FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802CDA70 002CA9D0 40 80 01 68 */ bge lbl_802CDBD8 +/* 802CDA74 002CA9D4 C0 C1 00 5C */ lfs f6, 0x5c(r1) +/* 802CDA78 002CA9D8 7F C3 F3 78 */ mr r3, r30 +/* 802CDA7C 002CA9DC C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 802CDA80 002CA9E0 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802CDA84 002CA9E4 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802CDA88 002CA9E8 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 802CDA8C 002CA9EC C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 802CDA90 002CA9F0 EC 46 00 72 */ fmuls f2, f6, f1 +/* 802CDA94 002CA9F4 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 802CDA98 002CA9F8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802CDA9C 002CA9FC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802CDAA0 002CAA00 EC 85 20 28 */ fsubs f4, f5, f4 +/* 802CDAA4 002CAA04 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CDAA8 002CAA08 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CDAAC 002CAA0C D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802CDAB0 002CAA10 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802CDAB4 002CAA14 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802CDAB8 002CAA18 D8 FC 00 00 */ stfd f7, 0(r28) +/* 802CDABC 002CAA1C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802CDAC0 002CAA20 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802CDAC4 002CAA24 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802CDAC8 002CAA28 FC 40 10 50 */ fneg f2, f2 +/* 802CDACC 002CAA2C FC 20 08 50 */ fneg f1, f1 +/* 802CDAD0 002CAA30 FC 00 00 50 */ fneg f0, f0 +/* 802CDAD4 002CAA34 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802CDAD8 002CAA38 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802CDADC 002CAA3C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802CDAE0 002CAA40 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CDAE4 002CAA44 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDAE8 002CAA48 7D 89 03 A6 */ mtctr r12 +/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl +/* 802CDAF0 002CAA50 7C 7E 1B 78 */ mr r30, r3 +/* 802CDAF4 002CAA54 7F A3 EB 78 */ mr r3, r29 +/* 802CDAF8 002CAA58 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CDAFC 002CAA5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDB00 002CAA60 7D 89 03 A6 */ mtctr r12 +/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl +/* 802CDB08 002CAA68 7C 65 1B 78 */ mr r5, r3 +/* 802CDB0C 002CAA6C 7F C6 F3 78 */ mr r6, r30 +/* 802CDB10 002CAA70 38 61 00 90 */ addi r3, r1, 0x90 +/* 802CDB14 002CAA74 38 81 00 44 */ addi r4, r1, 0x44 +/* 802CDB18 002CAA78 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802CDB1C 002CAA7C 48 00 09 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802CDB20 002CAA80 80 81 00 90 */ lwz r4, 0x90(r1) +/* 802CDB24 002CAA84 38 60 00 01 */ li r3, 1 +/* 802CDB28 002CAA88 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802CDB2C 002CAA8C 90 9F 00 00 */ stw r4, 0(r31) +/* 802CDB30 002CAA90 90 1F 00 04 */ stw r0, 4(r31) +/* 802CDB34 002CAA94 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802CDB38 002CAA98 90 1F 00 08 */ stw r0, 8(r31) +/* 802CDB3C 002CAA9C 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 802CDB40 002CAAA0 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802CDB44 002CAAA4 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802CDB48 002CAAA8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802CDB4C 002CAAAC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802CDB50 002CAAB0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802CDB54 002CAAB4 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 802CDB58 002CAAB8 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802CDB5C 002CAABC 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802CDB60 002CAAC0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802CDB64 002CAAC4 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 802CDB68 002CAAC8 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802CDB6C 002CAACC 80 81 00 B4 */ lwz r4, 0xb4(r1) +/* 802CDB70 002CAAD0 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802CDB74 002CAAD4 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802CDB78 002CAAD8 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802CDB7C 002CAADC 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802CDB80 002CAAE0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802CDB84 002CAAE4 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 802CDB88 002CAAE8 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802CDB8C 002CAAEC 88 01 00 C1 */ lbz r0, 0xc1(r1) +/* 802CDB90 002CAAF0 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802CDB94 002CAAF4 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802CDB98 002CAAF8 D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802CDB9C 002CAAFC C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 802CDBA0 002CAB00 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802CDBA4 002CAB04 80 81 00 D8 */ lwz r4, 0xd8(r1) +/* 802CDBA8 002CAB08 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 802CDBAC 002CAB0C 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802CDBB0 002CAB10 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802CDBB4 002CAB14 80 01 00 E0 */ lwz r0, 0xe0(r1) +/* 802CDBB8 002CAB18 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802CDBBC 002CAB1C 80 81 00 E4 */ lwz r4, 0xe4(r1) +/* 802CDBC0 002CAB20 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802CDBC4 002CAB24 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802CDBC8 002CAB28 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802CDBCC 002CAB2C 80 01 00 EC */ lwz r0, 0xec(r1) +/* 802CDBD0 002CAB30 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802CDBD4 002CAB34 48 00 00 08 */ b lbl_802CDBDC +lbl_802CDBD8: +/* 802CDBD8 002CAB38 38 60 00 00 */ li r3, 0 +lbl_802CDBDC: +/* 802CDBDC 002CAB3C BB 41 00 F8 */ lmw r26, 0xf8(r1) +/* 802CDBE0 002CAB40 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802CDBE4 002CAB44 7C 08 03 A6 */ mtlr r0 +/* 802CDBE8 002CAB48 38 21 01 10 */ addi r1, r1, 0x110 +/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr + +.global CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802CDBF0 002CAB50 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802CDBF4 002CAB54 7C 08 02 A6 */ mflr r0 +/* 802CDBF8 002CAB58 90 01 01 14 */ stw r0, 0x114(r1) +/* 802CDBFC 002CAB5C BF 41 00 F8 */ stmw r26, 0xf8(r1) +/* 802CDC00 002CAB60 7C 7A 1B 78 */ mr r26, r3 +/* 802CDC04 002CAB64 7C BC 2B 78 */ mr r28, r5 +/* 802CDC08 002CAB68 7C 9B 23 78 */ mr r27, r4 +/* 802CDC0C 002CAB6C 7C DF 33 78 */ mr r31, r6 +/* 802CDC10 002CAB70 38 BA 00 08 */ addi r5, r26, 8 +/* 802CDC14 002CAB74 83 A3 00 00 */ lwz r29, 0(r3) +/* 802CDC18 002CAB78 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 802CDC1C 002CAB7C 38 61 00 4C */ addi r3, r1, 0x4c +/* 802CDC20 002CAB80 7F A4 EB 78 */ mr r4, r29 +/* 802CDC24 002CAB84 4B FF F8 B9 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDC28 002CAB88 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 802CDC2C 002CAB8C 7F C4 F3 78 */ mr r4, r30 +/* 802CDC30 002CAB90 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802CDC34 002CAB94 38 61 00 34 */ addi r3, r1, 0x34 +/* 802CDC38 002CAB98 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802CDC3C 002CAB9C 38 BA 00 40 */ addi r5, r26, 0x40 +/* 802CDC40 002CABA0 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802CDC44 002CABA4 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802CDC48 002CABA8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802CDC4C 002CABAC D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802CDC50 002CABB0 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 802CDC54 002CABB4 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802CDC58 002CABB8 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802CDC5C 002CABBC D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802CDC60 002CABC0 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802CDC64 002CABC4 4B FF F8 79 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDC68 002CABC8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802CDC6C 002CABCC C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 802CDC70 002CABD0 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802CDC74 002CABD4 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 802CDC78 002CABD8 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802CDC7C 002CABDC 7F 65 DB 78 */ mr r5, r27 +/* 802CDC80 002CABE0 C0 E4 00 04 */ lfs f7, 4(r4) +/* 802CDC84 002CABE4 38 61 00 7C */ addi r3, r1, 0x7c +/* 802CDC88 002CABE8 C1 04 00 08 */ lfs f8, 8(r4) +/* 802CDC8C 002CABEC 38 81 00 64 */ addi r4, r1, 0x64 +/* 802CDC90 002CABF0 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802CDC94 002CABF4 38 C1 00 08 */ addi r6, r1, 8 +/* 802CDC98 002CABF8 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802CDC9C 002CABFC 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802CDCA0 002CAC00 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802CDCA4 002CAC04 39 01 00 1C */ addi r8, r1, 0x1c +/* 802CDCA8 002CAC08 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802CDCAC 002CAC0C D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802CDCB0 002CAC10 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802CDCB4 002CAC14 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802CDCB8 002CAC18 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802CDCBC 002CAC1C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802CDCC0 002CAC20 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802CDCC4 002CAC24 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802CDCC8 002CAC28 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 802CDCCC 002CAC2C D1 01 00 30 */ stfs f8, 0x30(r1) +/* 802CDCD0 002CAC30 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 802CDCD4 002CAC34 D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 802CDCD8 002CAC38 D1 01 00 24 */ stfs f8, 0x24(r1) +/* 802CDCDC 002CAC3C 48 00 3F D9 */ bl AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +/* 802CDCE0 002CAC40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CDCE4 002CAC44 41 82 01 48 */ beq lbl_802CDE2C +/* 802CDCE8 002CAC48 C8 21 00 08 */ lfd f1, 8(r1) +/* 802CDCEC 002CAC4C C8 02 C4 90 */ lfd f0, lbl_805AE1B0@sda21(r2) +/* 802CDCF0 002CAC50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CDCF4 002CAC54 40 81 01 38 */ ble lbl_802CDE2C +/* 802CDCF8 002CAC58 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802CDCFC 002CAC5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CDD00 002CAC60 40 80 01 2C */ bge lbl_802CDE2C +/* 802CDD04 002CAC64 D8 3C 00 00 */ stfd f1, 0(r28) +/* 802CDD08 002CAC68 7F C3 F3 78 */ mr r3, r30 +/* 802CDD0C 002CAC6C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802CDD10 002CAC70 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802CDD14 002CAC74 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802CDD18 002CAC78 FC 40 10 50 */ fneg f2, f2 +/* 802CDD1C 002CAC7C FC 20 08 50 */ fneg f1, f1 +/* 802CDD20 002CAC80 FC 00 00 50 */ fneg f0, f0 +/* 802CDD24 002CAC84 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802CDD28 002CAC88 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802CDD2C 002CAC8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802CDD30 002CAC90 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CDD34 002CAC94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDD38 002CAC98 7D 89 03 A6 */ mtctr r12 +/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl +/* 802CDD40 002CACA0 7C 7E 1B 78 */ mr r30, r3 +/* 802CDD44 002CACA4 7F A3 EB 78 */ mr r3, r29 +/* 802CDD48 002CACA8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CDD4C 002CACAC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDD50 002CACB0 7D 89 03 A6 */ mtctr r12 +/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl +/* 802CDD58 002CACB8 7C 65 1B 78 */ mr r5, r3 +/* 802CDD5C 002CACBC 7F C6 F3 78 */ mr r6, r30 +/* 802CDD60 002CACC0 38 61 00 98 */ addi r3, r1, 0x98 +/* 802CDD64 002CACC4 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CDD68 002CACC8 38 E1 00 1C */ addi r7, r1, 0x1c +/* 802CDD6C 002CACCC 39 01 00 10 */ addi r8, r1, 0x10 +/* 802CDD70 002CACD0 48 00 06 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802CDD74 002CACD4 80 81 00 98 */ lwz r4, 0x98(r1) +/* 802CDD78 002CACD8 38 60 00 01 */ li r3, 1 +/* 802CDD7C 002CACDC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802CDD80 002CACE0 90 9F 00 00 */ stw r4, 0(r31) +/* 802CDD84 002CACE4 90 1F 00 04 */ stw r0, 4(r31) +/* 802CDD88 002CACE8 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802CDD8C 002CACEC 90 1F 00 08 */ stw r0, 8(r31) +/* 802CDD90 002CACF0 80 81 00 A4 */ lwz r4, 0xa4(r1) +/* 802CDD94 002CACF4 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 802CDD98 002CACF8 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802CDD9C 002CACFC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802CDDA0 002CAD00 80 01 00 AC */ lwz r0, 0xac(r1) +/* 802CDDA4 002CAD04 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802CDDA8 002CAD08 80 81 00 B0 */ lwz r4, 0xb0(r1) +/* 802CDDAC 002CAD0C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802CDDB0 002CAD10 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802CDDB4 002CAD14 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802CDDB8 002CAD18 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 802CDDBC 002CAD1C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802CDDC0 002CAD20 80 81 00 BC */ lwz r4, 0xbc(r1) +/* 802CDDC4 002CAD24 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802CDDC8 002CAD28 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802CDDCC 002CAD2C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802CDDD0 002CAD30 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802CDDD4 002CAD34 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802CDDD8 002CAD38 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 802CDDDC 002CAD3C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802CDDE0 002CAD40 88 01 00 C9 */ lbz r0, 0xc9(r1) +/* 802CDDE4 002CAD44 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802CDDE8 002CAD48 C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 802CDDEC 002CAD4C D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802CDDF0 002CAD50 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802CDDF4 002CAD54 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802CDDF8 002CAD58 80 81 00 E0 */ lwz r4, 0xe0(r1) +/* 802CDDFC 002CAD5C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802CDE00 002CAD60 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802CDE04 002CAD64 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802CDE08 002CAD68 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802CDE0C 002CAD6C 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802CDE10 002CAD70 80 81 00 EC */ lwz r4, 0xec(r1) +/* 802CDE14 002CAD74 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 802CDE18 002CAD78 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802CDE1C 002CAD7C 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802CDE20 002CAD80 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802CDE24 002CAD84 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802CDE28 002CAD88 48 00 00 08 */ b lbl_802CDE30 +lbl_802CDE2C: +/* 802CDE2C 002CAD8C 38 60 00 00 */ li r3, 0 +lbl_802CDE30: +/* 802CDE30 002CAD90 BB 41 00 F8 */ lmw r26, 0xf8(r1) +/* 802CDE34 002CAD94 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802CDE38 002CAD98 7C 08 03 A6 */ mtlr r0 +/* 802CDE3C 002CAD9C 38 21 01 10 */ addi r1, r1, 0x110 +/* 802CDE40 002CADA0 4E 80 00 20 */ blr + +.global AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList +AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802CDE44 002CADA4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802CDE48 002CADA8 7C 08 02 A6 */ mflr r0 +/* 802CDE4C 002CADAC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802CDE50 002CADB0 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802CDE54 002CADB4 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802CDE58 002CADB8 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802CDE5C 002CADBC 7C 9D 23 78 */ mr r29, r4 +/* 802CDE60 002CADC0 93 81 00 70 */ stw r28, 0x70(r1) +/* 802CDE64 002CADC4 7C 7C 1B 78 */ mr r28, r3 +/* 802CDE68 002CADC8 38 BC 00 08 */ addi r5, r28, 8 +/* 802CDE6C 002CADCC 83 C3 00 00 */ lwz r30, 0(r3) +/* 802CDE70 002CADD0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802CDE74 002CADD4 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802CDE78 002CADD8 7F C4 F3 78 */ mr r4, r30 +/* 802CDE7C 002CADDC 4B FF F6 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDE80 002CADE0 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802CDE84 002CADE4 7F E4 FB 78 */ mr r4, r31 +/* 802CDE88 002CADE8 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802CDE8C 002CADEC 38 61 00 08 */ addi r3, r1, 8 +/* 802CDE90 002CADF0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802CDE94 002CADF4 38 BC 00 40 */ addi r5, r28, 0x40 +/* 802CDE98 002CADF8 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802CDE9C 002CADFC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802CDEA0 002CAE00 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802CDEA4 002CAE04 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802CDEA8 002CAE08 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802CDEAC 002CAE0C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802CDEB0 002CAE10 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802CDEB4 002CAE14 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802CDEB8 002CAE18 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802CDEBC 002CAE1C 4B FF F6 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDEC0 002CAE20 C0 A1 00 08 */ lfs f5, 8(r1) +/* 802CDEC4 002CAE24 7F E3 FB 78 */ mr r3, r31 +/* 802CDEC8 002CAE28 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802CDECC 002CAE2C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802CDED0 002CAE30 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802CDED4 002CAE34 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802CDED8 002CAE38 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802CDEDC 002CAE3C D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802CDEE0 002CAE40 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802CDEE4 002CAE44 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802CDEE8 002CAE48 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802CDEEC 002CAE4C D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802CDEF0 002CAE50 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802CDEF4 002CAE54 81 9F 00 00 */ lwz r12, 0(r31) +/* 802CDEF8 002CAE58 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDEFC 002CAE5C 7D 89 03 A6 */ mtctr r12 +/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl +/* 802CDF04 002CAE64 7C 7F 1B 78 */ mr r31, r3 +/* 802CDF08 002CAE68 7F C3 F3 78 */ mr r3, r30 +/* 802CDF0C 002CAE6C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CDF10 002CAE70 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CDF14 002CAE74 7D 89 03 A6 */ mtctr r12 +/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl +/* 802CDF1C 002CAE7C 7C 64 1B 78 */ mr r4, r3 +/* 802CDF20 002CAE80 7F E6 FB 78 */ mr r6, r31 +/* 802CDF24 002CAE84 7F A7 EB 78 */ mr r7, r29 +/* 802CDF28 002CAE88 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CDF2C 002CAE8C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802CDF30 002CAE90 48 00 4B 91 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList +/* 802CDF34 002CAE94 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802CDF38 002CAE98 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802CDF3C 002CAE9C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802CDF40 002CAEA0 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802CDF44 002CAEA4 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802CDF48 002CAEA8 7C 08 03 A6 */ mtlr r0 +/* 802CDF4C 002CAEAC 38 21 00 80 */ addi r1, r1, 0x80 +/* 802CDF50 002CAEB0 4E 80 00 20 */ blr + +.global AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure +AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure: +/* 802CDF54 002CAEB4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802CDF58 002CAEB8 7C 08 02 A6 */ mflr r0 +/* 802CDF5C 002CAEBC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CDF60 002CAEC0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802CDF64 002CAEC4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802CDF68 002CAEC8 7C 7E 1B 78 */ mr r30, r3 +/* 802CDF6C 002CAECC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802CDF70 002CAED0 83 FE 00 38 */ lwz r31, 0x38(r30) +/* 802CDF74 002CAED4 38 BE 00 08 */ addi r5, r30, 8 +/* 802CDF78 002CAED8 80 9E 00 00 */ lwz r4, 0(r30) +/* 802CDF7C 002CAEDC 4B FF F5 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDF80 002CAEE0 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802CDF84 002CAEE4 7F E4 FB 78 */ mr r4, r31 +/* 802CDF88 002CAEE8 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802CDF8C 002CAEEC 38 61 00 08 */ addi r3, r1, 8 +/* 802CDF90 002CAEF0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802CDF94 002CAEF4 38 BE 00 40 */ addi r5, r30, 0x40 +/* 802CDF98 002CAEF8 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802CDF9C 002CAEFC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802CDFA0 002CAF00 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802CDFA4 002CAF04 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802CDFA8 002CAF08 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802CDFAC 002CAF0C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802CDFB0 002CAF10 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802CDFB4 002CAF14 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802CDFB8 002CAF18 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802CDFBC 002CAF1C 4B FF F5 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f +/* 802CDFC0 002CAF20 C0 A1 00 08 */ lfs f5, 8(r1) +/* 802CDFC4 002CAF24 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CDFC8 002CAF28 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802CDFCC 002CAF2C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802CDFD0 002CAF30 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802CDFD4 002CAF34 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802CDFD8 002CAF38 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802CDFDC 002CAF3C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802CDFE0 002CAF40 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802CDFE4 002CAF44 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802CDFE8 002CAF48 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802CDFEC 002CAF4C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802CDFF0 002CAF50 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802CDFF4 002CAF54 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802CDFF8 002CAF58 48 00 4E C5 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox +/* 802CDFFC 002CAF5C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802CE000 002CAF60 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802CE004 002CAF64 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802CE008 002CAF68 7C 08 03 A6 */ mtlr r0 +/* 802CE00C 002CAF6C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802CE010 002CAF70 4E 80 00 20 */ blr + +.global GetType__16CCollidableAABoxFv +GetType__16CCollidableAABoxFv: +/* 802CE014 002CAF74 3C A0 80 2D */ lis r5, SetStaticTableIndex__16CCollidableAABoxFUi@ha +/* 802CE018 002CAF78 3C 80 80 3D */ lis r4, lbl_803D69E8@ha +/* 802CE01C 002CAF7C 38 05 E0 30 */ addi r0, r5, SetStaticTableIndex__16CCollidableAABoxFUi@l +/* 802CE020 002CAF80 90 03 00 00 */ stw r0, 0(r3) +/* 802CE024 002CAF84 38 04 69 E8 */ addi r0, r4, lbl_803D69E8@l +/* 802CE028 002CAF88 90 03 00 04 */ stw r0, 4(r3) +/* 802CE02C 002CAF8C 4E 80 00 20 */ blr + +.global SetStaticTableIndex__16CCollidableAABoxFUi +SetStaticTableIndex__16CCollidableAABoxFUi: +/* 802CE030 002CAF90 90 6D 9B 28 */ stw r3, lbl_805A86E8@sda21(r13) +/* 802CE034 002CAF94 4E 80 00 20 */ blr + +.global __sinit_CCollidableAABox_cpp +__sinit_CCollidableAABox_cpp: +/* 802CE038 002CAF98 C0 42 C4 88 */ lfs f2, lbl_805AE1A8@sda21(r2) +/* 802CE03C 002CAF9C 3C 60 80 48 */ lis r3, lbl_80479498@ha +/* 802CE040 002CAFA0 C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) +/* 802CE044 002CAFA4 D4 43 94 98 */ stfsu f2, lbl_80479498@l(r3) +/* 802CE048 002CAFA8 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) +/* 802CE04C 002CAFAC D0 23 00 04 */ stfs f1, 4(r3) +/* 802CE050 002CAFB0 D0 23 00 08 */ stfs f1, 8(r3) +/* 802CE054 002CAFB4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE058 002CAFB8 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802CE05C 002CAFBC D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802CE060 002CAFC0 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802CE064 002CAFC4 D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 802CE068 002CAFC8 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802CE06C 002CAFCC D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802CE070 002CAFD0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802CE074 002CAFD4 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802CE078 002CAFD8 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802CE07C 002CAFDC D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802CE080 002CAFE0 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 802CE084 002CAFE4 D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 802CE088 002CAFE8 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 802CE08C 002CAFEC D0 03 00 44 */ stfs f0, 0x44(r3) +/* 802CE090 002CAFF0 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollidableCollisionSurface.s b/asm/Collision/CCollidableCollisionSurface.s new file mode 100644 index 00000000..1fec6c44 --- /dev/null +++ b/asm/Collision/CCollidableCollisionSurface.s @@ -0,0 +1,18 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetType__27CCollidableCollisionSurfaceFv +GetType__27CCollidableCollisionSurfaceFv: +/* 802CE094 002CAFF4 3C A0 80 2D */ lis r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@ha +/* 802CE098 002CAFF8 3C 80 80 3D */ lis r4, lbl_803D6A00@ha +/* 802CE09C 002CAFFC 38 05 E0 B0 */ addi r0, r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@l +/* 802CE0A0 002CB000 90 03 00 00 */ stw r0, 0(r3) +/* 802CE0A4 002CB004 38 04 6A 00 */ addi r0, r4, lbl_803D6A00@l +/* 802CE0A8 002CB008 90 03 00 04 */ stw r0, 4(r3) +/* 802CE0AC 002CB00C 4E 80 00 20 */ blr + +.global SetStaticTableIndex__27CCollidableCollisionSurfaceFUi +SetStaticTableIndex__27CCollidableCollisionSurfaceFUi: +/* 802CE0B0 002CB010 90 6D 9B 30 */ stw r3, lbl_805A86F0@sda21(r13) +/* 802CE0B4 002CB014 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollidableSphere.s b/asm/Collision/CCollidableSphere.s new file mode 100644 index 00000000..49807ce9 --- /dev/null +++ b/asm/Collision/CCollidableSphere.s @@ -0,0 +1,1414 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTableIndex__17CCollidableSphereCFv +GetTableIndex__17CCollidableSphereCFv: +/* 802D3E70 002D0DD0 80 6D 9B 38 */ lwz r3, lbl_805A86F8@sda21(r13) +/* 802D3E74 002D0DD4 4E 80 00 20 */ blr + +.global CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802D3E78 002D0DD8 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802D3E7C 002D0DDC 7C 08 02 A6 */ mflr r0 +/* 802D3E80 002D0DE0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802D3E84 002D0DE4 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802D3E88 002D0DE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802D3E8C 002D0DEC DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802D3E90 002D0DF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802D3E94 002D0DF4 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802D3E98 002D0DF8 7C 7A 1B 78 */ mr r26, r3 +/* 802D3E9C 002D0DFC 7C 9B 23 78 */ mr r27, r4 +/* 802D3EA0 002D0E00 83 A3 00 00 */ lwz r29, 0(r3) +/* 802D3EA4 002D0E04 7C BC 2B 78 */ mr r28, r5 +/* 802D3EA8 002D0E08 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 802D3EAC 002D0E0C 7C DF 33 78 */ mr r31, r6 +/* 802D3EB0 002D0E10 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D3EB4 002D0E14 38 9A 00 08 */ addi r4, r26, 8 +/* 802D3EB8 002D0E18 38 BD 00 10 */ addi r5, r29, 0x10 +/* 802D3EBC 002D0E1C 48 03 EC 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D3EC0 002D0E20 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802D3EC4 002D0E24 38 61 00 28 */ addi r3, r1, 0x28 +/* 802D3EC8 002D0E28 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 802D3ECC 002D0E2C 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802D3ED0 002D0E30 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D3ED4 002D0E34 38 BE 00 10 */ addi r5, r30, 0x10 +/* 802D3ED8 002D0E38 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D3EDC 002D0E3C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802D3EE0 002D0E40 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D3EE4 002D0E44 C3 FD 00 1C */ lfs f31, 0x1c(r29) +/* 802D3EE8 002D0E48 C3 DE 00 1C */ lfs f30, 0x1c(r30) +/* 802D3EEC 002D0E4C 48 03 EB FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D3EF0 002D0E50 EC 1E F8 2A */ fadds f0, f30, f31 +/* 802D3EF4 002D0E54 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802D3EF8 002D0E58 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802D3EFC 002D0E5C 7F 65 DB 78 */ mr r5, r27 +/* 802D3F00 002D0E60 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802D3F04 002D0E64 38 61 00 58 */ addi r3, r1, 0x58 +/* 802D3F08 002D0E68 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802D3F0C 002D0E6C 38 81 00 68 */ addi r4, r1, 0x68 +/* 802D3F10 002D0E70 38 C1 00 08 */ addi r6, r1, 8 +/* 802D3F14 002D0E74 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802D3F18 002D0E78 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802D3F1C 002D0E7C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802D3F20 002D0E80 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D3F24 002D0E84 D8 01 00 08 */ stfd f0, 8(r1) +/* 802D3F28 002D0E88 4B FF FA A9 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802D3F2C 002D0E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D3F30 002D0E90 41 82 01 D8 */ beq lbl_802D4108 +/* 802D3F34 002D0E94 C8 21 00 08 */ lfd f1, 8(r1) +/* 802D3F38 002D0E98 C8 02 C5 28 */ lfd f0, lbl_805AE248@sda21(r2) +/* 802D3F3C 002D0E9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3F40 002D0EA0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D3F44 002D0EA4 40 82 01 C4 */ bne lbl_802D4108 +/* 802D3F48 002D0EA8 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D3F4C 002D0EAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3F50 002D0EB0 40 80 01 B8 */ bge lbl_802D4108 +/* 802D3F54 002D0EB4 FC C0 08 18 */ frsp f6, f1 +/* 802D3F58 002D0EB8 C0 5B 00 04 */ lfs f2, 4(r27) +/* 802D3F5C 002D0EBC C0 3B 00 08 */ lfs f1, 8(r27) +/* 802D3F60 002D0EC0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802D3F64 002D0EC4 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802D3F68 002D0EC8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802D3F6C 002D0ECC EC 86 00 B2 */ fmuls f4, f6, f2 +/* 802D3F70 002D0ED0 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 802D3F74 002D0ED4 EC 46 00 72 */ fmuls f2, f6, f1 +/* 802D3F78 002D0ED8 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 802D3F7C 002D0EDC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D3F80 002D0EE0 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 802D3F84 002D0EE4 EC A5 20 2A */ fadds f5, f5, f4 +/* 802D3F88 002D0EE8 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802D3F8C 002D0EEC EC 63 10 2A */ fadds f3, f3, f2 +/* 802D3F90 002D0EF0 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 802D3F94 002D0EF4 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D3F98 002D0EF8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D3F9C 002D0EFC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802D3FA0 002D0F00 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3FA4 002D0F04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D3FA8 002D0F08 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802D3FAC 002D0F0C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D3FB0 002D0F10 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D3FB4 002D0F14 48 04 08 9D */ bl AsNormalized__9CVector3fCFv +/* 802D3FB8 002D0F18 C0 E1 00 1C */ lfs f7, 0x1c(r1) +/* 802D3FBC 002D0F1C 7F C3 F3 78 */ mr r3, r30 +/* 802D3FC0 002D0F20 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802D3FC4 002D0F24 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D3FC8 002D0F28 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 802D3FCC 002D0F2C C0 C1 00 5C */ lfs f6, 0x5c(r1) +/* 802D3FD0 002D0F30 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 802D3FD4 002D0F34 C0 81 00 60 */ lfs f4, 0x60(r1) +/* 802D3FD8 002D0F38 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802D3FDC 002D0F3C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802D3FE0 002D0F40 C1 1E 00 1C */ lfs f8, 0x1c(r30) +/* 802D3FE4 002D0F44 C8 01 00 08 */ lfd f0, 8(r1) +/* 802D3FE8 002D0F48 EC A8 00 F2 */ fmuls f5, f8, f3 +/* 802D3FEC 002D0F4C EC 68 00 72 */ fmuls f3, f8, f1 +/* 802D3FF0 002D0F50 EC 28 01 F2 */ fmuls f1, f8, f7 +/* 802D3FF4 002D0F54 EC A6 28 2A */ fadds f5, f6, f5 +/* 802D3FF8 002D0F58 EC 64 18 2A */ fadds f3, f4, f3 +/* 802D3FFC 002D0F5C EC 22 08 2A */ fadds f1, f2, f1 +/* 802D4000 002D0F60 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802D4004 002D0F64 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D4008 002D0F68 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 802D400C 002D0F6C D8 1C 00 00 */ stfd f0, 0(r28) +/* 802D4010 002D0F70 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4014 002D0F74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4018 002D0F78 7D 89 03 A6 */ mtctr r12 +/* 802D401C 002D0F7C 4E 80 04 21 */ bctrl +/* 802D4020 002D0F80 7C 7E 1B 78 */ mr r30, r3 +/* 802D4024 002D0F84 7F A3 EB 78 */ mr r3, r29 +/* 802D4028 002D0F88 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D402C 002D0F8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4030 002D0F90 7D 89 03 A6 */ mtctr r12 +/* 802D4034 002D0F94 4E 80 04 21 */ bctrl +/* 802D4038 002D0F98 7C 65 1B 78 */ mr r5, r3 +/* 802D403C 002D0F9C 7F C6 F3 78 */ mr r6, r30 +/* 802D4040 002D0FA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4044 002D0FA4 38 81 00 40 */ addi r4, r1, 0x40 +/* 802D4048 002D0FA8 38 E1 00 4C */ addi r7, r1, 0x4c +/* 802D404C 002D0FAC 4B FF A3 FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4050 002D0FB0 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802D4054 002D0FB4 38 60 00 01 */ li r3, 1 +/* 802D4058 002D0FB8 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802D405C 002D0FBC 90 9F 00 00 */ stw r4, 0(r31) +/* 802D4060 002D0FC0 90 1F 00 04 */ stw r0, 4(r31) +/* 802D4064 002D0FC4 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802D4068 002D0FC8 90 1F 00 08 */ stw r0, 8(r31) +/* 802D406C 002D0FCC 80 81 00 84 */ lwz r4, 0x84(r1) +/* 802D4070 002D0FD0 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802D4074 002D0FD4 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802D4078 002D0FD8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D407C 002D0FDC 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802D4080 002D0FE0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D4084 002D0FE4 80 81 00 90 */ lwz r4, 0x90(r1) +/* 802D4088 002D0FE8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D408C 002D0FEC 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802D4090 002D0FF0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802D4094 002D0FF4 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802D4098 002D0FF8 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802D409C 002D0FFC 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 802D40A0 002D1000 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802D40A4 002D1004 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802D40A8 002D1008 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802D40AC 002D100C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D40B0 002D1010 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802D40B4 002D1014 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802D40B8 002D1018 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802D40BC 002D101C 88 01 00 A9 */ lbz r0, 0xa9(r1) +/* 802D40C0 002D1020 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802D40C4 002D1024 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802D40C8 002D1028 D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802D40CC 002D102C C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802D40D0 002D1030 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802D40D4 002D1034 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 802D40D8 002D1038 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802D40DC 002D103C 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802D40E0 002D1040 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802D40E4 002D1044 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 802D40E8 002D1048 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802D40EC 002D104C 80 81 00 CC */ lwz r4, 0xcc(r1) +/* 802D40F0 002D1050 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802D40F4 002D1054 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802D40F8 002D1058 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802D40FC 002D105C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D4100 002D1060 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802D4104 002D1064 48 00 00 08 */ b lbl_802D410C +lbl_802D4108: +/* 802D4108 002D1068 38 60 00 00 */ li r3, 0 +lbl_802D410C: +/* 802D410C 002D106C E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802D4110 002D1070 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802D4114 002D1074 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802D4118 002D1078 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802D411C 002D107C BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802D4120 002D1080 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802D4124 002D1084 7C 08 03 A6 */ mtlr r0 +/* 802D4128 002D1088 38 21 01 10 */ addi r1, r1, 0x110 +/* 802D412C 002D108C 4E 80 00 20 */ blr + +.global CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802D4130 002D1090 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802D4134 002D1094 7C 08 02 A6 */ mflr r0 +/* 802D4138 002D1098 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802D413C 002D109C BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802D4140 002D10A0 7C 7A 1B 78 */ mr r26, r3 +/* 802D4144 002D10A4 7C BC 2B 78 */ mr r28, r5 +/* 802D4148 002D10A8 7C 9B 23 78 */ mr r27, r4 +/* 802D414C 002D10AC 7C DF 33 78 */ mr r31, r6 +/* 802D4150 002D10B0 38 BA 00 40 */ addi r5, r26, 0x40 +/* 802D4154 002D10B4 83 C3 00 38 */ lwz r30, 0x38(r3) +/* 802D4158 002D10B8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D415C 002D10BC 83 BA 00 00 */ lwz r29, 0(r26) +/* 802D4160 002D10C0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4164 002D10C4 7F C4 F3 78 */ mr r4, r30 +/* 802D4168 002D10C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802D416C 002D10CC 7D 89 03 A6 */ mtctr r12 +/* 802D4170 002D10D0 4E 80 04 21 */ bctrl +/* 802D4174 002D10D4 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802D4178 002D10D8 7F A4 EB 78 */ mr r4, r29 +/* 802D417C 002D10DC C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802D4180 002D10E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802D4184 002D10E4 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802D4188 002D10E8 38 BA 00 08 */ addi r5, r26, 8 +/* 802D418C 002D10EC C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802D4190 002D10F0 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D4194 002D10F4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D4198 002D10F8 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802D419C 002D10FC D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802D41A0 002D1100 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D41A4 002D1104 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D41A8 002D1108 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802D41AC 002D110C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802D41B0 002D1110 48 00 01 A5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D41B4 002D1114 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802D41B8 002D1118 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D41BC 002D111C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802D41C0 002D1120 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 802D41C4 002D1124 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D41C8 002D1128 7F 65 DB 78 */ mr r5, r27 +/* 802D41CC 002D112C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802D41D0 002D1130 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D41D4 002D1134 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D41D8 002D1138 38 81 00 60 */ addi r4, r1, 0x60 +/* 802D41DC 002D113C C0 69 00 00 */ lfs f3, 0(r9) +/* 802D41E0 002D1140 38 C1 00 08 */ addi r6, r1, 8 +/* 802D41E4 002D1144 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D41E8 002D1148 38 E1 00 2C */ addi r7, r1, 0x2c +/* 802D41EC 002D114C C0 49 00 04 */ lfs f2, 4(r9) +/* 802D41F0 002D1150 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D41F4 002D1154 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D41F8 002D1158 C0 29 00 08 */ lfs f1, 8(r9) +/* 802D41FC 002D115C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802D4200 002D1160 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D4204 002D1164 D8 01 00 08 */ stfd f0, 8(r1) +/* 802D4208 002D1168 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 802D420C 002D116C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D4210 002D1170 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802D4214 002D1174 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802D4218 002D1178 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802D421C 002D117C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802D4220 002D1180 4B FF C2 71 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +/* 802D4224 002D1184 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4228 002D1188 41 82 01 14 */ beq lbl_802D433C +/* 802D422C 002D118C C8 21 00 08 */ lfd f1, 8(r1) +/* 802D4230 002D1190 C8 1C 00 00 */ lfd f0, 0(r28) +/* 802D4234 002D1194 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D4238 002D1198 40 80 01 04 */ bge lbl_802D433C +/* 802D423C 002D119C D8 3C 00 00 */ stfd f1, 0(r28) +/* 802D4240 002D11A0 7F C3 F3 78 */ mr r3, r30 +/* 802D4244 002D11A4 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4248 002D11A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D424C 002D11AC 7D 89 03 A6 */ mtctr r12 +/* 802D4250 002D11B0 4E 80 04 21 */ bctrl +/* 802D4254 002D11B4 7C 7E 1B 78 */ mr r30, r3 +/* 802D4258 002D11B8 7F A3 EB 78 */ mr r3, r29 +/* 802D425C 002D11BC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4260 002D11C0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4264 002D11C4 7D 89 03 A6 */ mtctr r12 +/* 802D4268 002D11C8 4E 80 04 21 */ bctrl +/* 802D426C 002D11CC 7C 65 1B 78 */ mr r5, r3 +/* 802D4270 002D11D0 7F C6 F3 78 */ mr r6, r30 +/* 802D4274 002D11D4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4278 002D11D8 38 81 00 2C */ addi r4, r1, 0x2c +/* 802D427C 002D11DC 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D4280 002D11E0 4B FF A1 C9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4284 002D11E4 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802D4288 002D11E8 38 60 00 01 */ li r3, 1 +/* 802D428C 002D11EC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802D4290 002D11F0 90 9F 00 00 */ stw r4, 0(r31) +/* 802D4294 002D11F4 90 1F 00 04 */ stw r0, 4(r31) +/* 802D4298 002D11F8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 802D429C 002D11FC 90 1F 00 08 */ stw r0, 8(r31) +/* 802D42A0 002D1200 80 81 00 84 */ lwz r4, 0x84(r1) +/* 802D42A4 002D1204 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802D42A8 002D1208 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802D42AC 002D120C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802D42B0 002D1210 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 802D42B4 002D1214 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802D42B8 002D1218 80 81 00 90 */ lwz r4, 0x90(r1) +/* 802D42BC 002D121C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D42C0 002D1220 90 9F 00 18 */ stw r4, 0x18(r31) +/* 802D42C4 002D1224 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802D42C8 002D1228 80 01 00 98 */ lwz r0, 0x98(r1) +/* 802D42CC 002D122C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802D42D0 002D1230 80 81 00 9C */ lwz r4, 0x9c(r1) +/* 802D42D4 002D1234 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 802D42D8 002D1238 90 9F 00 24 */ stw r4, 0x24(r31) +/* 802D42DC 002D123C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802D42E0 002D1240 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D42E4 002D1244 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802D42E8 002D1248 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 802D42EC 002D124C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 802D42F0 002D1250 88 01 00 A9 */ lbz r0, 0xa9(r1) +/* 802D42F4 002D1254 98 1F 00 31 */ stb r0, 0x31(r31) +/* 802D42F8 002D1258 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802D42FC 002D125C D8 1F 00 38 */ stfd f0, 0x38(r31) +/* 802D4300 002D1260 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802D4304 002D1264 D8 1F 00 40 */ stfd f0, 0x40(r31) +/* 802D4308 002D1268 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 802D430C 002D126C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802D4310 002D1270 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802D4314 002D1274 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 802D4318 002D1278 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 802D431C 002D127C 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802D4320 002D1280 80 81 00 CC */ lwz r4, 0xcc(r1) +/* 802D4324 002D1284 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802D4328 002D1288 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802D432C 002D128C 90 1F 00 58 */ stw r0, 0x58(r31) +/* 802D4330 002D1290 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D4334 002D1294 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 802D4338 002D1298 48 00 00 08 */ b lbl_802D4340 +lbl_802D433C: +/* 802D433C 002D129C 38 60 00 00 */ li r3, 0 +lbl_802D4340: +/* 802D4340 002D12A0 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802D4344 002D12A4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802D4348 002D12A8 7C 08 03 A6 */ mtlr r0 +/* 802D434C 002D12AC 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802D4350 002D12B0 4E 80 00 20 */ blr + +.global Transform__17CCollidableSphereCFRC12CTransform4f +Transform__17CCollidableSphereCFRC12CTransform4f: +/* 802D4354 002D12B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802D4358 002D12B8 7C 08 02 A6 */ mflr r0 +/* 802D435C 002D12BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802D4360 002D12C0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802D4364 002D12C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802D4368 002D12C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D436C 002D12CC 7C 86 23 78 */ mr r6, r4 +/* 802D4370 002D12D0 C3 E4 00 1C */ lfs f31, 0x1c(r4) +/* 802D4374 002D12D4 7C 7F 1B 78 */ mr r31, r3 +/* 802D4378 002D12D8 7C A4 2B 78 */ mr r4, r5 +/* 802D437C 002D12DC 38 61 00 08 */ addi r3, r1, 8 +/* 802D4380 002D12E0 38 A6 00 10 */ addi r5, r6, 0x10 +/* 802D4384 002D12E4 48 03 E7 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D4388 002D12E8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802D438C 002D12EC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D4390 002D12F0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802D4394 002D12F4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D4398 002D12F8 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D439C 002D12FC D0 5F 00 08 */ stfs f2, 8(r31) +/* 802D43A0 002D1300 D3 FF 00 0C */ stfs f31, 0xc(r31) +/* 802D43A4 002D1304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802D43A8 002D1308 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802D43AC 002D130C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802D43B0 002D1310 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D43B4 002D1314 7C 08 03 A6 */ mtlr r0 +/* 802D43B8 002D1318 38 21 00 30 */ addi r1, r1, 0x30 +/* 802D43BC 002D131C 4E 80 00 20 */ blr + +.global GetPrimType__17CCollidableSphereCFv +GetPrimType__17CCollidableSphereCFv: +/* 802D43C0 002D1320 3C 60 53 50 */ lis r3, 0x53504852@ha +/* 802D43C4 002D1324 38 63 48 52 */ addi r3, r3, 0x53504852@l +/* 802D43C8 002D1328 4E 80 00 20 */ blr + +.global CalculateLocalAABox__17CCollidableSphereCFv +CalculateLocalAABox__17CCollidableSphereCFv: +/* 802D43CC 002D132C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D43D0 002D1330 7C 08 02 A6 */ mflr r0 +/* 802D43D4 002D1334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D43D8 002D1338 38 A1 00 08 */ addi r5, r1, 8 +/* 802D43DC 002D133C C0 A4 00 1C */ lfs f5, 0x1c(r4) +/* 802D43E0 002D1340 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802D43E4 002D1344 C0 C4 00 14 */ lfs f6, 0x14(r4) +/* 802D43E8 002D1348 C0 E4 00 18 */ lfs f7, 0x18(r4) +/* 802D43EC 002D134C EC 01 28 2A */ fadds f0, f1, f5 +/* 802D43F0 002D1350 EC 41 28 28 */ fsubs f2, f1, f5 +/* 802D43F4 002D1354 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D43F8 002D1358 EC 86 28 2A */ fadds f4, f6, f5 +/* 802D43FC 002D135C EC 67 28 2A */ fadds f3, f7, f5 +/* 802D4400 002D1360 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D4404 002D1364 EC 26 28 28 */ fsubs f1, f6, f5 +/* 802D4408 002D1368 EC 07 28 28 */ fsubs f0, f7, f5 +/* 802D440C 002D136C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802D4410 002D1370 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802D4414 002D1374 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D4418 002D1378 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D441C 002D137C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D4420 002D1380 48 06 40 E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D4424 002D1384 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D4428 002D1388 7C 08 03 A6 */ mtlr r0 +/* 802D442C 002D138C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D4430 002D1390 4E 80 00 20 */ blr + +.global CalculateAABox__17CCollidableSphereCFRC12CTransform4f +CalculateAABox__17CCollidableSphereCFRC12CTransform4f: +/* 802D4434 002D1394 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D4438 002D1398 7C 08 02 A6 */ mflr r0 +/* 802D443C 002D139C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D4440 002D13A0 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802D4444 002D13A4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802D4448 002D13A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802D444C 002D13AC 7C 86 23 78 */ mr r6, r4 +/* 802D4450 002D13B0 C3 E4 00 1C */ lfs f31, 0x1c(r4) +/* 802D4454 002D13B4 7C 7F 1B 78 */ mr r31, r3 +/* 802D4458 002D13B8 7C A4 2B 78 */ mr r4, r5 +/* 802D445C 002D13BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D4460 002D13C0 38 A6 00 10 */ addi r5, r6, 0x10 +/* 802D4464 002D13C4 48 03 E6 85 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D4468 002D13C8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D446C 002D13CC 7F E3 FB 78 */ mr r3, r31 +/* 802D4470 002D13D0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802D4474 002D13D4 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D4478 002D13D8 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802D447C 002D13DC EC 01 F8 2A */ fadds f0, f1, f31 +/* 802D4480 002D13E0 EC 65 F8 2A */ fadds f3, f5, f31 +/* 802D4484 002D13E4 38 A1 00 08 */ addi r5, r1, 8 +/* 802D4488 002D13E8 EC 82 F8 2A */ fadds f4, f2, f31 +/* 802D448C 002D13EC EC 42 F8 28 */ fsubs f2, f2, f31 +/* 802D4490 002D13F0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D4494 002D13F4 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 802D4498 002D13F8 EC 05 F8 28 */ fsubs f0, f5, f31 +/* 802D449C 002D13FC D0 81 00 08 */ stfs f4, 8(r1) +/* 802D44A0 002D1400 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802D44A4 002D1404 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D44A8 002D1408 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D44AC 002D140C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D44B0 002D1410 48 06 40 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D44B4 002D1414 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802D44B8 002D1418 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D44BC 002D141C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802D44C0 002D1420 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802D44C4 002D1424 7C 08 03 A6 */ mtlr r0 +/* 802D44C8 002D1428 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D44CC 002D142C 4E 80 00 20 */ blr + +.global CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure +CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure: +/* 802D44D0 002D1430 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802D44D4 002D1434 7C 08 02 A6 */ mflr r0 +/* 802D44D8 002D1438 90 01 00 84 */ stw r0, 0x84(r1) +/* 802D44DC 002D143C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802D44E0 002D1440 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802D44E4 002D1444 7C BE 2B 78 */ mr r30, r5 +/* 802D44E8 002D1448 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802D44EC 002D144C 7C 9D 23 78 */ mr r29, r4 +/* 802D44F0 002D1450 93 81 00 70 */ stw r28, 0x70(r1) +/* 802D44F4 002D1454 7C 7C 1B 78 */ mr r28, r3 +/* 802D44F8 002D1458 7F A3 EB 78 */ mr r3, r29 +/* 802D44FC 002D145C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4500 002D1460 83 E5 00 6C */ lwz r31, 0x6c(r5) +/* 802D4504 002D1464 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4508 002D1468 7D 89 03 A6 */ mtctr r12 +/* 802D450C 002D146C 4E 80 04 21 */ bctrl +/* 802D4510 002D1470 7C 64 1B 78 */ mr r4, r3 +/* 802D4514 002D1474 7F E3 FB 78 */ mr r3, r31 +/* 802D4518 002D1478 48 00 0E 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802D451C 002D147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4520 002D1480 40 82 00 64 */ bne lbl_802D4584 +/* 802D4524 002D1484 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D4528 002D1488 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D452C 002D148C C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4530 002D1490 D0 3C 00 00 */ stfs f1, 0(r28) +/* 802D4534 002D1494 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802D4538 002D1498 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802D453C 002D149C D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802D4540 002D14A0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802D4544 002D14A4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D4548 002D14A8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802D454C 002D14AC 48 04 03 AD */ bl Normalize__9CVector3fFv +/* 802D4550 002D14B0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D4554 002D14B4 38 00 00 00 */ li r0, 0 +/* 802D4558 002D14B8 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) +/* 802D455C 002D14BC D0 3C 00 10 */ stfs f1, 0x10(r28) +/* 802D4560 002D14C0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802D4564 002D14C4 D0 3C 00 14 */ stfs f1, 0x14(r28) +/* 802D4568 002D14C8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802D456C 002D14CC D0 3C 00 18 */ stfs f1, 0x18(r28) +/* 802D4570 002D14D0 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802D4574 002D14D4 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D4578 002D14D8 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 802D457C 002D14DC 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802D4580 002D14E0 48 00 01 D8 */ b lbl_802D4758 +lbl_802D4584: +/* 802D4584 002D14E4 7F A4 EB 78 */ mr r4, r29 +/* 802D4588 002D14E8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D458C 002D14EC 38 BE 00 3C */ addi r5, r30, 0x3c +/* 802D4590 002D14F0 4B FF FD C5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D4594 002D14F4 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) +/* 802D4598 002D14F8 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D459C 002D14FC C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D45A0 002D1500 7F C4 F3 78 */ mr r4, r30 +/* 802D45A4 002D1504 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D45A8 002D1508 38 BE 00 2C */ addi r5, r30, 0x2c +/* 802D45AC 002D150C C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 802D45B0 002D1510 38 C1 00 08 */ addi r6, r1, 8 +/* 802D45B4 002D1514 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D45B8 002D1518 38 E1 00 58 */ addi r7, r1, 0x58 +/* 802D45BC 002D151C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802D45C0 002D1520 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D45C4 002D1524 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D45C8 002D1528 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802D45CC 002D152C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D45D0 002D1530 4B FF F5 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D45D4 002D1534 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D45D8 002D1538 41 82 01 24 */ beq lbl_802D46FC +/* 802D45DC 002D153C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802D45E0 002D1540 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D45E4 002D1544 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D45E8 002D1548 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802D45EC 002D154C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802D45F0 002D1550 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D45F4 002D1554 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D45F8 002D1558 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802D45FC 002D155C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D4600 002D1560 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802D4604 002D1564 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D4608 002D1568 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D460C 002D156C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802D4610 002D1570 48 04 02 A9 */ bl Magnitude__9CVector3fCFv +/* 802D4614 002D1574 C0 02 C5 38 */ lfs f0, lbl_805AE258@sda21(r2) +/* 802D4618 002D1578 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D461C 002D157C 40 81 00 34 */ ble lbl_802D4650 +/* 802D4620 002D1580 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4624 002D1584 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802D4628 002D1588 EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D462C 002D158C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D4630 002D1590 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802D4634 002D1594 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802D4638 002D1598 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D463C 002D159C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802D4640 002D15A0 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D4644 002D15A4 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802D4648 002D15A8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D464C 002D15AC 48 00 00 1C */ b lbl_802D4668 +lbl_802D4650: +/* 802D4650 002D15B0 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 802D4654 002D15B4 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 802D4658 002D15B8 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 802D465C 002D15BC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D4660 002D15C0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802D4664 002D15C4 D0 01 00 54 */ stfs f0, 0x54(r1) +lbl_802D4668: +/* 802D4668 002D15C8 7F A3 EB 78 */ mr r3, r29 +/* 802D466C 002D15CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4670 002D15D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4674 002D15D4 7D 89 03 A6 */ mtctr r12 +/* 802D4678 002D15D8 4E 80 04 21 */ bctrl +/* 802D467C 002D15DC 7C 7F 1B 78 */ mr r31, r3 +/* 802D4680 002D15E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D4684 002D15E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 802D4688 002D15E8 48 03 F7 49 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802D468C 002D15EC C0 81 00 28 */ lfs f4, 0x28(r1) +/* 802D4690 002D15F0 38 00 00 01 */ li r0, 1 +/* 802D4694 002D15F4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D4698 002D15F8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D469C 002D15FC EC 20 01 32 */ fmuls f1, f0, f4 +/* 802D46A0 002D1600 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802D46A4 002D1604 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 802D46A8 002D1608 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802D46AC 002D160C C0 01 00 08 */ lfs f0, 8(r1) +/* 802D46B0 002D1610 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802D46B4 002D1614 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802D46B8 002D1618 EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 802D46BC 002D161C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802D46C0 002D1620 D0 1C 00 04 */ stfs f0, 4(r28) +/* 802D46C4 002D1624 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D46C8 002D1628 D0 1C 00 08 */ stfs f0, 8(r28) +/* 802D46CC 002D162C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D46D0 002D1630 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 802D46D4 002D1634 D0 BC 00 10 */ stfs f5, 0x10(r28) +/* 802D46D8 002D1638 D0 9C 00 14 */ stfs f4, 0x14(r28) +/* 802D46DC 002D163C D0 DC 00 18 */ stfs f6, 0x18(r28) +/* 802D46E0 002D1640 D0 3C 00 1C */ stfs f1, 0x1c(r28) +/* 802D46E4 002D1644 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D46E8 002D1648 80 1F 00 00 */ lwz r0, 0(r31) +/* 802D46EC 002D164C 80 7F 00 04 */ lwz r3, 4(r31) +/* 802D46F0 002D1650 90 7C 00 2C */ stw r3, 0x2c(r28) +/* 802D46F4 002D1654 90 1C 00 28 */ stw r0, 0x28(r28) +/* 802D46F8 002D1658 48 00 00 60 */ b lbl_802D4758 +lbl_802D46FC: +/* 802D46FC 002D165C C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D4700 002D1660 38 61 00 0C */ addi r3, r1, 0xc +/* 802D4704 002D1664 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4708 002D1668 D0 3C 00 00 */ stfs f1, 0(r28) +/* 802D470C 002D166C D0 3C 00 04 */ stfs f1, 4(r28) +/* 802D4710 002D1670 D0 3C 00 08 */ stfs f1, 8(r28) +/* 802D4714 002D1674 D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 802D4718 002D1678 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D471C 002D167C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D4720 002D1680 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D4724 002D1684 48 04 01 D5 */ bl Normalize__9CVector3fFv +/* 802D4728 002D1688 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802D472C 002D168C 38 00 00 00 */ li r0, 0 +/* 802D4730 002D1690 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) +/* 802D4734 002D1694 D0 3C 00 10 */ stfs f1, 0x10(r28) +/* 802D4738 002D1698 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802D473C 002D169C D0 3C 00 14 */ stfs f1, 0x14(r28) +/* 802D4740 002D16A0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D4744 002D16A4 D0 3C 00 18 */ stfs f1, 0x18(r28) +/* 802D4748 002D16A8 D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 802D474C 002D16AC 98 1C 00 20 */ stb r0, 0x20(r28) +/* 802D4750 002D16B0 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 802D4754 002D16B4 90 1C 00 28 */ stw r0, 0x28(r28) +lbl_802D4758: +/* 802D4758 002D16B8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802D475C 002D16BC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802D4760 002D16C0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802D4764 002D16C4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802D4768 002D16C8 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802D476C 002D16CC 7C 08 03 A6 */ mtlr r0 +/* 802D4770 002D16D0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802D4774 002D16D4 4E 80 00 20 */ blr + +.global Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure +Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure: +/* 802D4778 002D16D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D477C 002D16DC 7C 08 02 A6 */ mflr r0 +/* 802D4780 002D16E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D4784 002D16E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802D4788 002D16E8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802D478C 002D16EC 7C 7E 1B 78 */ mr r30, r3 +/* 802D4790 002D16F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D4794 002D16F4 83 FE 00 38 */ lwz r31, 0x38(r30) +/* 802D4798 002D16F8 38 BE 00 08 */ addi r5, r30, 8 +/* 802D479C 002D16FC 80 9E 00 00 */ lwz r4, 0(r30) +/* 802D47A0 002D1700 4B FF FB B5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D47A4 002D1704 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802D47A8 002D1708 7F E4 FB 78 */ mr r4, r31 +/* 802D47AC 002D170C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802D47B0 002D1710 38 61 00 08 */ addi r3, r1, 8 +/* 802D47B4 002D1714 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802D47B8 002D1718 38 BE 00 40 */ addi r5, r30, 0x40 +/* 802D47BC 002D171C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D47C0 002D1720 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D47C4 002D1724 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D47C8 002D1728 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D47CC 002D172C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802D47D0 002D1730 4B FF FB 85 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D47D4 002D1734 C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 802D47D8 002D1738 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D47DC 002D173C C0 C1 00 08 */ lfs f6, 8(r1) +/* 802D47E0 002D1740 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802D47E4 002D1744 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D47E8 002D1748 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802D47EC 002D174C EC E0 30 28 */ fsubs f7, f0, f6 +/* 802D47F0 002D1750 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D47F4 002D1754 EC 01 00 72 */ fmuls f0, f1, f1 +/* 802D47F8 002D1758 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802D47FC 002D175C C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D4800 002D1760 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802D4804 002D1764 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802D4808 002D1768 EC C1 18 2A */ fadds f6, f1, f3 +/* 802D480C 002D176C EC 27 01 FA */ fmadds f1, f7, f7, f0 +/* 802D4810 002D1770 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802D4814 002D1774 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 802D4818 002D1778 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802D481C 002D177C EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 802D4820 002D1780 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802D4824 002D1784 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D4828 002D1788 4C 40 13 82 */ cror 2, 0, 2 +/* 802D482C 002D178C 7C 00 00 26 */ mfcr r0 +/* 802D4830 002D1790 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802D4834 002D1794 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802D4838 002D1798 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802D483C 002D179C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D4840 002D17A0 7C 08 03 A6 */ mtlr r0 +/* 802D4844 002D17A4 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D4848 002D17A8 4E 80 00 20 */ blr + +.global Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList +Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802D484C 002D17AC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802D4850 002D17B0 7C 08 02 A6 */ mflr r0 +/* 802D4854 002D17B4 90 01 01 34 */ stw r0, 0x134(r1) +/* 802D4858 002D17B8 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 802D485C 002D17BC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 802D4860 002D17C0 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 802D4864 002D17C4 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 802D4868 002D17C8 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 802D486C 002D17CC F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 802D4870 002D17D0 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 802D4874 002D17D4 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 802D4878 002D17D8 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802D487C 002D17DC 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802D4880 002D17E0 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802D4884 002D17E4 93 81 00 E0 */ stw r28, 0xe0(r1) +/* 802D4888 002D17E8 7C 7C 1B 78 */ mr r28, r3 +/* 802D488C 002D17EC 7C 9D 23 78 */ mr r29, r4 +/* 802D4890 002D17F0 83 C3 00 00 */ lwz r30, 0(r3) +/* 802D4894 002D17F4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D4898 002D17F8 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802D489C 002D17FC 38 BC 00 08 */ addi r5, r28, 8 +/* 802D48A0 002D1800 7F C4 F3 78 */ mr r4, r30 +/* 802D48A4 002D1804 4B FF FA B1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D48A8 002D1808 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802D48AC 002D180C 7F E4 FB 78 */ mr r4, r31 +/* 802D48B0 002D1810 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D48B4 002D1814 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D48B8 002D1818 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802D48BC 002D181C 38 BC 00 40 */ addi r5, r28, 0x40 +/* 802D48C0 002D1820 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802D48C4 002D1824 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D48C8 002D1828 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D48CC 002D182C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802D48D0 002D1830 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802D48D4 002D1834 4B FF FA 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D48D8 002D1838 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D48DC 002D183C C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 802D48E0 002D1840 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802D48E4 002D1844 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802D48E8 002D1848 EC C1 E8 28 */ fsubs f6, f1, f29 +/* 802D48EC 002D184C C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 802D48F0 002D1850 EC 80 18 28 */ fsubs f4, f0, f3 +/* 802D48F4 002D1854 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802D48F8 002D1858 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 802D48FC 002D185C EC A0 F0 28 */ fsubs f5, f0, f30 +/* 802D4900 002D1860 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802D4904 002D1864 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802D4908 002D1868 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 802D490C 002D186C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802D4910 002D1870 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4914 002D1874 EC 65 01 72 */ fmuls f3, f5, f5 +/* 802D4918 002D1878 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 802D491C 002D187C EC 22 08 2A */ fadds f1, f2, f1 +/* 802D4920 002D1880 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D4924 002D1884 D3 C1 00 60 */ stfs f30, 0x60(r1) +/* 802D4928 002D1888 EF 83 08 2A */ fadds f28, f3, f1 +/* 802D492C 002D188C D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 802D4930 002D1890 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802D4934 002D1894 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802D4938 002D1898 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802D493C 002D189C D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802D4940 002D18A0 4C 40 13 82 */ cror 2, 0, 2 +/* 802D4944 002D18A4 40 82 00 F4 */ bne lbl_802D4A38 +/* 802D4948 002D18A8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802D494C 002D18AC 48 03 FD AD */ bl CanBeNormalized__9CVector3fCFv +/* 802D4950 002D18B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D4954 002D18B4 41 82 00 40 */ beq lbl_802D4994 +/* 802D4958 002D18B8 FC 20 E0 90 */ fmr f1, f28 +/* 802D495C 002D18BC 48 04 0B A5 */ bl SqrtF__5CMathFf +/* 802D4960 002D18C0 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D4964 002D18C4 38 81 00 08 */ addi r4, r1, 8 +/* 802D4968 002D18C8 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802D496C 002D18CC EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D4970 002D18D0 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802D4974 002D18D4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D4978 002D18D8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802D497C 002D18DC EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D4980 002D18E0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802D4984 002D18E4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802D4988 002D18E8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D498C 002D18EC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D4990 002D18F0 48 00 00 0C */ b lbl_802D499C +lbl_802D4994: +/* 802D4994 002D18F4 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 802D4998 002D18F8 38 83 67 18 */ addi r4, r3, lbl_805A6718@l +lbl_802D499C: +/* 802D499C 002D18FC C0 04 00 00 */ lfs f0, 0(r4) +/* 802D49A0 002D1900 7F E3 FB 78 */ mr r3, r31 +/* 802D49A4 002D1904 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802D49A8 002D1908 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802D49AC 002D190C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802D49B0 002D1910 C0 44 00 04 */ lfs f2, 4(r4) +/* 802D49B4 002D1914 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D49B8 002D1918 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802D49BC 002D191C EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 802D49C0 002D1920 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D49C4 002D1924 EC 7D 08 2A */ fadds f3, f29, f1 +/* 802D49C8 002D1928 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 802D49CC 002D192C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D49D0 002D1930 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D49D4 002D1934 EC 1E 08 2A */ fadds f0, f30, f1 +/* 802D49D8 002D1938 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D49DC 002D193C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802D49E0 002D1940 81 9F 00 00 */ lwz r12, 0(r31) +/* 802D49E4 002D1944 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D49E8 002D1948 7D 89 03 A6 */ mtctr r12 +/* 802D49EC 002D194C 4E 80 04 21 */ bctrl +/* 802D49F0 002D1950 7C 7F 1B 78 */ mr r31, r3 +/* 802D49F4 002D1954 7F C3 F3 78 */ mr r3, r30 +/* 802D49F8 002D1958 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D49FC 002D195C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4A00 002D1960 7D 89 03 A6 */ mtctr r12 +/* 802D4A04 002D1964 4E 80 04 21 */ bctrl +/* 802D4A08 002D1968 7C 65 1B 78 */ mr r5, r3 +/* 802D4A0C 002D196C 7F E6 FB 78 */ mr r6, r31 +/* 802D4A10 002D1970 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D4A14 002D1974 38 81 00 34 */ addi r4, r1, 0x34 +/* 802D4A18 002D1978 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802D4A1C 002D197C 4B FF 9A 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4A20 002D1980 7C 64 1B 78 */ mr r4, r3 +/* 802D4A24 002D1984 7F A3 EB 78 */ mr r3, r29 +/* 802D4A28 002D1988 38 A0 00 00 */ li r5, 0 +/* 802D4A2C 002D198C 4B EB 0B F5 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D4A30 002D1990 38 60 00 01 */ li r3, 1 +/* 802D4A34 002D1994 48 00 00 08 */ b lbl_802D4A3C +lbl_802D4A38: +/* 802D4A38 002D1998 38 60 00 00 */ li r3, 0 +lbl_802D4A3C: +/* 802D4A3C 002D199C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802D4A40 002D19A0 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802D4A44 002D19A4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 802D4A48 002D19A8 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 802D4A4C 002D19AC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 802D4A50 002D19B0 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 802D4A54 002D19B4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 802D4A58 002D19B8 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 802D4A5C 002D19BC 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802D4A60 002D19C0 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802D4A64 002D19C4 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802D4A68 002D19C8 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802D4A6C 002D19CC 83 81 00 E0 */ lwz r28, 0xe0(r1) +/* 802D4A70 002D19D0 7C 08 03 A6 */ mtlr r0 +/* 802D4A74 002D19D4 38 21 01 30 */ addi r1, r1, 0x130 +/* 802D4A78 002D19D8 4E 80 00 20 */ blr + +.global Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList +Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802D4A7C 002D19DC 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802D4A80 002D19E0 7C 08 02 A6 */ mflr r0 +/* 802D4A84 002D19E4 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802D4A88 002D19E8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802D4A8C 002D19EC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802D4A90 002D19F0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802D4A94 002D19F4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802D4A98 002D19F8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 802D4A9C 002D19FC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 802D4AA0 002D1A00 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 802D4AA4 002D1A04 93 C1 01 98 */ stw r30, 0x198(r1) +/* 802D4AA8 002D1A08 93 A1 01 94 */ stw r29, 0x194(r1) +/* 802D4AAC 002D1A0C 7C 66 1B 78 */ mr r6, r3 +/* 802D4AB0 002D1A10 7C 9F 23 78 */ mr r31, r4 +/* 802D4AB4 002D1A14 83 A3 00 00 */ lwz r29, 0(r3) +/* 802D4AB8 002D1A18 38 61 00 44 */ addi r3, r1, 0x44 +/* 802D4ABC 002D1A1C 83 C6 00 38 */ lwz r30, 0x38(r6) +/* 802D4AC0 002D1A20 38 A6 00 08 */ addi r5, r6, 8 +/* 802D4AC4 002D1A24 C3 A6 00 6C */ lfs f29, 0x6c(r6) +/* 802D4AC8 002D1A28 7F A4 EB 78 */ mr r4, r29 +/* 802D4ACC 002D1A2C C3 C6 00 5C */ lfs f30, 0x5c(r6) +/* 802D4AD0 002D1A30 C3 E6 00 4C */ lfs f31, 0x4c(r6) +/* 802D4AD4 002D1A34 4B FF F8 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D4AD8 002D1A38 C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 802D4ADC 002D1A3C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802D4AE0 002D1A40 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 802D4AE4 002D1A44 38 81 00 38 */ addi r4, r1, 0x38 +/* 802D4AE8 002D1A48 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 802D4AEC 002D1A4C EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D4AF0 002D1A50 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D4AF4 002D1A54 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 802D4AF8 002D1A58 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4AFC 002D1A5C C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802D4B00 002D1A60 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D4B04 002D1A64 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802D4B08 002D1A68 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802D4B0C 002D1A6C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802D4B10 002D1A70 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802D4B14 002D1A74 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802D4B18 002D1A78 C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 802D4B1C 002D1A7C C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 802D4B20 002D1A80 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802D4B24 002D1A84 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D4B28 002D1A88 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D4B2C 002D1A8C D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 802D4B30 002D1A90 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D4B34 002D1A94 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 802D4B38 002D1A98 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 802D4B3C 002D1A9C D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 802D4B40 002D1AA0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802D4B44 002D1AA4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D4B48 002D1AA8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802D4B4C 002D1AAC 48 06 39 BD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D4B50 002D1AB0 C0 A1 00 A8 */ lfs f5, 0xa8(r1) +/* 802D4B54 002D1AB4 38 00 00 03 */ li r0, 3 +/* 802D4B58 002D1AB8 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 802D4B5C 002D1ABC 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D4B60 002D1AC0 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 802D4B64 002D1AC4 38 81 00 9C */ addi r4, r1, 0x9c +/* 802D4B68 002D1AC8 C0 E1 00 B8 */ lfs f7, 0xb8(r1) +/* 802D4B6C 002D1ACC 38 C1 00 84 */ addi r6, r1, 0x84 +/* 802D4B70 002D1AD0 C1 01 00 BC */ lfs f8, 0xbc(r1) +/* 802D4B74 002D1AD4 39 00 00 00 */ li r8, 0 +/* 802D4B78 002D1AD8 C0 C1 00 C0 */ lfs f6, 0xc0(r1) +/* 802D4B7C 002D1ADC 38 A0 00 00 */ li r5, 0 +/* 802D4B80 002D1AE0 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 802D4B84 002D1AE4 38 E0 00 01 */ li r7, 1 +/* 802D4B88 002D1AE8 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 802D4B8C 002D1AEC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802D4B90 002D1AF0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 802D4B94 002D1AF4 C0 A2 C5 30 */ lfs f5, lbl_805AE250@sda21(r2) +/* 802D4B98 002D1AF8 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802D4B9C 002D1AFC C3 E1 00 B4 */ lfs f31, 0xb4(r1) +/* 802D4BA0 002D1B00 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802D4BA4 002D1B04 D0 E1 00 90 */ stfs f7, 0x90(r1) +/* 802D4BA8 002D1B08 D1 01 00 94 */ stfs f8, 0x94(r1) +/* 802D4BAC 002D1B0C D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 802D4BB0 002D1B10 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802D4BB4 002D1B14 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802D4BB8 002D1B18 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802D4BBC 002D1B1C 7C 09 03 A6 */ mtctr r0 +lbl_802D4BC0: +/* 802D4BC0 002D1B20 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D4BC4 002D1B24 C0 83 00 00 */ lfs f4, 0(r3) +/* 802D4BC8 002D1B28 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802D4BCC 002D1B2C 40 80 00 38 */ bge lbl_802D4C04 +/* 802D4BD0 002D1B30 EC 43 F8 2A */ fadds f2, f3, f31 +/* 802D4BD4 002D1B34 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D4BD8 002D1B38 4C 41 13 82 */ cror 2, 1, 2 +/* 802D4BDC 002D1B3C 40 82 00 20 */ bne lbl_802D4BFC +/* 802D4BE0 002D1B40 EC 43 20 28 */ fsubs f2, f3, f4 +/* 802D4BE4 002D1B44 38 00 00 01 */ li r0, 1 +/* 802D4BE8 002D1B48 7C 00 28 30 */ slw r0, r0, r5 +/* 802D4BEC 002D1B4C 7D 08 03 78 */ or r8, r8, r0 +/* 802D4BF0 002D1B50 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 802D4BF4 002D1B54 EC A5 10 2A */ fadds f5, f5, f2 +/* 802D4BF8 002D1B58 48 00 00 4C */ b lbl_802D4C44 +lbl_802D4BFC: +/* 802D4BFC 002D1B5C 38 60 00 00 */ li r3, 0 +/* 802D4C00 002D1B60 48 00 04 CC */ b lbl_802D50CC +lbl_802D4C04: +/* 802D4C04 002D1B64 C0 86 00 00 */ lfs f4, 0(r6) +/* 802D4C08 002D1B68 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802D4C0C 002D1B6C 40 81 00 38 */ ble lbl_802D4C44 +/* 802D4C10 002D1B70 EC 43 F8 28 */ fsubs f2, f3, f31 +/* 802D4C14 002D1B74 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D4C18 002D1B78 4C 40 13 82 */ cror 2, 0, 2 +/* 802D4C1C 002D1B7C 40 82 00 20 */ bne lbl_802D4C3C +/* 802D4C20 002D1B80 EC 43 20 28 */ fsubs f2, f3, f4 +/* 802D4C24 002D1B84 38 00 00 01 */ li r0, 1 +/* 802D4C28 002D1B88 7C 00 38 30 */ slw r0, r0, r7 +/* 802D4C2C 002D1B8C 7D 08 03 78 */ or r8, r8, r0 +/* 802D4C30 002D1B90 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 802D4C34 002D1B94 EC A5 10 2A */ fadds f5, f5, f2 +/* 802D4C38 002D1B98 48 00 00 0C */ b lbl_802D4C44 +lbl_802D4C3C: +/* 802D4C3C 002D1B9C 38 60 00 00 */ li r3, 0 +/* 802D4C40 002D1BA0 48 00 04 8C */ b lbl_802D50CC +lbl_802D4C44: +/* 802D4C44 002D1BA4 38 63 00 04 */ addi r3, r3, 4 +/* 802D4C48 002D1BA8 38 84 00 04 */ addi r4, r4, 4 +/* 802D4C4C 002D1BAC 38 A5 00 02 */ addi r5, r5, 2 +/* 802D4C50 002D1BB0 38 C6 00 04 */ addi r6, r6, 4 +/* 802D4C54 002D1BB4 38 E7 00 02 */ addi r7, r7, 2 +/* 802D4C58 002D1BB8 42 00 FF 68 */ bdnz lbl_802D4BC0 +/* 802D4C5C 002D1BBC 2C 08 00 00 */ cmpwi r8, 0 +/* 802D4C60 002D1BC0 40 82 00 F0 */ bne lbl_802D4D50 +/* 802D4C64 002D1BC4 38 61 00 08 */ addi r3, r1, 8 +/* 802D4C68 002D1BC8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802D4C6C 002D1BCC 48 06 29 A1 */ bl GetCenterPoint__6CAABoxCFv +/* 802D4C70 002D1BD0 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 802D4C74 002D1BD4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D4C78 002D1BD8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D4C7C 002D1BDC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D4C80 002D1BE0 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802D4C84 002D1BE4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D4C88 002D1BE8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D4C8C 002D1BEC C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D4C90 002D1BF0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802D4C94 002D1BF4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D4C98 002D1BF8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D4C9C 002D1BFC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D4CA0 002D1C00 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D4CA4 002D1C04 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D4CA8 002D1C08 48 03 FB A9 */ bl AsNormalized__9CVector3fCFv +/* 802D4CAC 002D1C0C C1 01 00 20 */ lfs f8, 0x20(r1) +/* 802D4CB0 002D1C10 7F C3 F3 78 */ mr r3, r30 +/* 802D4CB4 002D1C14 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 802D4CB8 002D1C18 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802D4CBC 002D1C1C EC 1F 02 32 */ fmuls f0, f31, f8 +/* 802D4CC0 002D1C20 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D4CC4 002D1C24 EC 9F 01 F2 */ fmuls f4, f31, f7 +/* 802D4CC8 002D1C28 C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 802D4CCC 002D1C2C EC 5F 01 B2 */ fmuls f2, f31, f6 +/* 802D4CD0 002D1C30 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802D4CD4 002D1C34 EC 85 20 2A */ fadds f4, f5, f4 +/* 802D4CD8 002D1C38 D1 01 00 78 */ stfs f8, 0x78(r1) +/* 802D4CDC 002D1C3C EC 43 10 2A */ fadds f2, f3, f2 +/* 802D4CE0 002D1C40 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D4CE4 002D1C44 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802D4CE8 002D1C48 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 802D4CEC 002D1C4C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802D4CF0 002D1C50 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 802D4CF4 002D1C54 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802D4CF8 002D1C58 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D4CFC 002D1C5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4D00 002D1C60 7D 89 03 A6 */ mtctr r12 +/* 802D4D04 002D1C64 4E 80 04 21 */ bctrl +/* 802D4D08 002D1C68 7C 7E 1B 78 */ mr r30, r3 +/* 802D4D0C 002D1C6C 7F A3 EB 78 */ mr r3, r29 +/* 802D4D10 002D1C70 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D4D14 002D1C74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D4D18 002D1C78 7D 89 03 A6 */ mtctr r12 +/* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl +/* 802D4D20 002D1C80 7C 65 1B 78 */ mr r5, r3 +/* 802D4D24 002D1C84 7F C6 F3 78 */ mr r6, r30 +/* 802D4D28 002D1C88 38 61 01 30 */ addi r3, r1, 0x130 +/* 802D4D2C 002D1C8C 38 81 00 6C */ addi r4, r1, 0x6c +/* 802D4D30 002D1C90 38 E1 00 78 */ addi r7, r1, 0x78 +/* 802D4D34 002D1C94 4B FF 97 15 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D4D38 002D1C98 7C 64 1B 78 */ mr r4, r3 +/* 802D4D3C 002D1C9C 7F E3 FB 78 */ mr r3, r31 +/* 802D4D40 002D1CA0 38 A0 00 00 */ li r5, 0 +/* 802D4D44 002D1CA4 4B EB 08 DD */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D4D48 002D1CA8 38 60 00 01 */ li r3, 1 +/* 802D4D4C 002D1CAC 48 00 03 80 */ b lbl_802D50CC +lbl_802D4D50: +/* 802D4D50 002D1CB0 EC 5F 07 F2 */ fmuls f2, f31, f31 +/* 802D4D54 002D1CB4 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D4D58 002D1CB8 40 81 00 0C */ ble lbl_802D4D64 +/* 802D4D5C 002D1CBC 38 60 00 00 */ li r3, 0 +/* 802D4D60 002D1CC0 48 00 03 6C */ b lbl_802D50CC +lbl_802D4D64: +/* 802D4D64 002D1CC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D4D68 002D1CC8 C4 83 66 A0 */ lfsu f4, skZero3f@l(r3) +/* 802D4D6C 002D1CCC 28 08 00 2A */ cmplwi r8, 0x2a +/* 802D4D70 002D1CD0 C0 63 00 04 */ lfs f3, 4(r3) +/* 802D4D74 002D1CD4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802D4D78 002D1CD8 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802D4D7C 002D1CDC D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802D4D80 002D1CE0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D4D84 002D1CE4 41 81 02 C0 */ bgt lbl_802D5044 +/* 802D4D88 002D1CE8 3C 60 80 3F */ lis r3, lbl_803ECB20@ha +/* 802D4D8C 002D1CEC 55 00 10 3A */ slwi r0, r8, 2 +/* 802D4D90 002D1CF0 38 63 CB 20 */ addi r3, r3, lbl_803ECB20@l +/* 802D4D94 002D1CF4 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D4D98 002D1CF8 7C 09 03 A6 */ mtctr r0 +/* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr +/* 802D4DA0 002D1D00 C0 61 00 C4 */ lfs f3, 0xc4(r1) +/* 802D4DA4 002D1D04 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DA8 002D1D08 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4DAC 002D1D0C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4DB0 002D1D10 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DB4 002D1D14 48 00 02 90 */ b lbl_802D5044 +/* 802D4DB8 002D1D18 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DBC 002D1D1C D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4DC0 002D1D20 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4DC4 002D1D24 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DC8 002D1D28 48 00 02 7C */ b lbl_802D5044 +/* 802D4DCC 002D1D2C C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802D4DD0 002D1D30 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4DD4 002D1D34 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D4DD8 002D1D38 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DDC 002D1D3C 48 00 02 68 */ b lbl_802D5044 +/* 802D4DE0 002D1D40 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4DE4 002D1D44 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4DE8 002D1D48 D0 C1 00 68 */ stfs f6, 0x68(r1) +/* 802D4DEC 002D1D4C 48 00 02 58 */ b lbl_802D5044 +/* 802D4DF0 002D1D50 C0 81 00 CC */ lfs f4, 0xcc(r1) +/* 802D4DF4 002D1D54 C0 61 00 C4 */ lfs f3, 0xc4(r1) +/* 802D4DF8 002D1D58 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4DFC 002D1D5C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E00 002D1D60 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E04 002D1D64 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E08 002D1D68 48 00 02 3C */ b lbl_802D5044 +/* 802D4E0C 002D1D6C C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 802D4E10 002D1D70 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802D4E14 002D1D74 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4E18 002D1D78 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E1C 002D1D7C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D4E20 002D1D80 48 00 02 24 */ b lbl_802D5044 +/* 802D4E24 002D1D84 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 802D4E28 002D1D88 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 802D4E2C 002D1D8C D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4E30 002D1D90 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802D4E34 002D1D94 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D4E38 002D1D98 48 00 02 0C */ b lbl_802D5044 +/* 802D4E3C 002D1D9C C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 802D4E40 002D1DA0 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802D4E44 002D1DA4 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802D4E48 002D1DA8 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802D4E4C 002D1DAC 48 00 01 F8 */ b lbl_802D5044 +/* 802D4E50 002D1DB0 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E54 002D1DB4 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4E58 002D1DB8 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4E5C 002D1DBC D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E60 002D1DC0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E64 002D1DC4 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E68 002D1DC8 48 00 01 DC */ b lbl_802D5044 +/* 802D4E6C 002D1DCC C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E70 002D1DD0 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4E74 002D1DD4 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4E78 002D1DD8 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E7C 002D1DDC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E80 002D1DE0 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4E84 002D1DE4 48 00 01 C0 */ b lbl_802D5044 +/* 802D4E88 002D1DE8 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4E8C 002D1DEC C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4E90 002D1DF0 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4E94 002D1DF4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4E98 002D1DF8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4E9C 002D1DFC D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EA0 002D1E00 48 00 01 A4 */ b lbl_802D5044 +/* 802D4EA4 002D1E04 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D4EA8 002D1E08 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4EAC 002D1E0C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4EB0 002D1E10 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4EB4 002D1E14 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4EB8 002D1E18 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EBC 002D1E1C 48 00 01 88 */ b lbl_802D5044 +/* 802D4EC0 002D1E20 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EC4 002D1E24 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4EC8 002D1E28 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4ECC 002D1E2C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4ED0 002D1E30 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4ED4 002D1E34 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4ED8 002D1E38 48 00 01 6C */ b lbl_802D5044 +/* 802D4EDC 002D1E3C C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EE0 002D1E40 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4EE4 002D1E44 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4EE8 002D1E48 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4EEC 002D1E4C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4EF0 002D1E50 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4EF4 002D1E54 48 00 01 50 */ b lbl_802D5044 +/* 802D4EF8 002D1E58 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4EFC 002D1E5C C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4F00 002D1E60 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F04 002D1E64 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F08 002D1E68 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F0C 002D1E6C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F10 002D1E70 48 00 01 34 */ b lbl_802D5044 +/* 802D4F14 002D1E74 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4F18 002D1E78 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4F1C 002D1E7C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F20 002D1E80 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F24 002D1E84 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F28 002D1E88 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F2C 002D1E8C 48 00 01 18 */ b lbl_802D5044 +/* 802D4F30 002D1E90 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F34 002D1E94 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4F38 002D1E98 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4F3C 002D1E9C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F40 002D1EA0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F44 002D1EA4 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F48 002D1EA8 48 00 00 FC */ b lbl_802D5044 +/* 802D4F4C 002D1EAC C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F50 002D1EB0 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4F54 002D1EB4 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4F58 002D1EB8 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F5C 002D1EBC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F60 002D1EC0 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F64 002D1EC4 48 00 00 E0 */ b lbl_802D5044 +/* 802D4F68 002D1EC8 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F6C 002D1ECC C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4F70 002D1ED0 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4F74 002D1ED4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F78 002D1ED8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F7C 002D1EDC D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F80 002D1EE0 48 00 00 C4 */ b lbl_802D5044 +/* 802D4F84 002D1EE4 C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D4F88 002D1EE8 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4F8C 002D1EEC C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D4F90 002D1EF0 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4F94 002D1EF4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4F98 002D1EF8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4F9C 002D1EFC 48 00 00 A8 */ b lbl_802D5044 +/* 802D4FA0 002D1F00 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FA4 002D1F04 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 802D4FA8 002D1F08 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4FAC 002D1F0C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FB0 002D1F10 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FB4 002D1F14 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FB8 002D1F18 48 00 00 8C */ b lbl_802D5044 +/* 802D4FBC 002D1F1C C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FC0 002D1F20 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 802D4FC4 002D1F24 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D4FC8 002D1F28 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FCC 002D1F2C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FD0 002D1F30 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FD4 002D1F34 48 00 00 70 */ b lbl_802D5044 +/* 802D4FD8 002D1F38 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FDC 002D1F3C C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4FE0 002D1F40 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D4FE4 002D1F44 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D4FE8 002D1F48 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D4FEC 002D1F4C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D4FF0 002D1F50 48 00 00 54 */ b lbl_802D5044 +/* 802D4FF4 002D1F54 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802D4FF8 002D1F58 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D4FFC 002D1F5C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802D5000 002D1F60 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D5004 002D1F64 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5008 002D1F68 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D500C 002D1F6C 48 00 00 38 */ b lbl_802D5044 +/* 802D5010 002D1F70 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 802D5014 002D1F74 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D5018 002D1F78 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D501C 002D1F7C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D5020 002D1F80 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5024 002D1F84 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D5028 002D1F88 48 00 00 1C */ b lbl_802D5044 +/* 802D502C 002D1F8C C0 81 00 8C */ lfs f4, 0x8c(r1) +/* 802D5030 002D1F90 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 802D5034 002D1F94 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802D5038 002D1F98 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802D503C 002D1F9C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802D5040 002D1FA0 D0 81 00 68 */ stfs f4, 0x68(r1) +lbl_802D5044: +/* 802D5044 002D1FA4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802D5048 002D1FA8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802D504C 002D1FAC C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802D5050 002D1FB0 EC 80 10 28 */ fsubs f4, f0, f2 +/* 802D5054 002D1FB4 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802D5058 002D1FB8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D505C 002D1FBC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D5060 002D1FC0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802D5064 002D1FC4 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802D5068 002D1FC8 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802D506C 002D1FCC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802D5070 002D1FD0 48 03 F8 89 */ bl Normalize__9CVector3fFv +/* 802D5074 002D1FD4 7F C3 F3 78 */ mr r3, r30 +/* 802D5078 002D1FD8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802D507C 002D1FDC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D5080 002D1FE0 7D 89 03 A6 */ mtctr r12 +/* 802D5084 002D1FE4 4E 80 04 21 */ bctrl +/* 802D5088 002D1FE8 7C 7E 1B 78 */ mr r30, r3 +/* 802D508C 002D1FEC 7F A3 EB 78 */ mr r3, r29 +/* 802D5090 002D1FF0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802D5094 002D1FF4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802D5098 002D1FF8 7D 89 03 A6 */ mtctr r12 +/* 802D509C 002D1FFC 4E 80 04 21 */ bctrl +/* 802D50A0 002D2000 7C 65 1B 78 */ mr r5, r3 +/* 802D50A4 002D2004 7F C6 F3 78 */ mr r6, r30 +/* 802D50A8 002D2008 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802D50AC 002D200C 38 81 00 60 */ addi r4, r1, 0x60 +/* 802D50B0 002D2010 38 E1 00 54 */ addi r7, r1, 0x54 +/* 802D50B4 002D2014 4B FF 93 95 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D50B8 002D2018 7C 64 1B 78 */ mr r4, r3 +/* 802D50BC 002D201C 7F E3 FB 78 */ mr r3, r31 +/* 802D50C0 002D2020 38 A0 00 00 */ li r5, 0 +/* 802D50C4 002D2024 4B EB 05 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D50C8 002D2028 38 60 00 01 */ li r3, 1 +lbl_802D50CC: +/* 802D50CC 002D202C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802D50D0 002D2030 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802D50D4 002D2034 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802D50D8 002D2038 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802D50DC 002D203C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802D50E0 002D2040 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802D50E4 002D2044 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 802D50E8 002D2048 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 802D50EC 002D204C 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802D50F0 002D2050 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 802D50F4 002D2054 7C 08 03 A6 */ mtlr r0 +/* 802D50F8 002D2058 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802D50FC 002D205C 4E 80 00 20 */ blr + +.global Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure +Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure: +/* 802D5100 002D2060 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D5104 002D2064 7C 08 02 A6 */ mflr r0 +/* 802D5108 002D2068 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D510C 002D206C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802D5110 002D2070 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802D5114 002D2074 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802D5118 002D2078 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802D511C 002D207C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802D5120 002D2080 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802D5124 002D2084 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802D5128 002D2088 7C 64 1B 78 */ mr r4, r3 +/* 802D512C 002D208C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D5130 002D2090 83 E4 00 38 */ lwz r31, 0x38(r4) +/* 802D5134 002D2094 38 A4 00 08 */ addi r5, r4, 8 +/* 802D5138 002D2098 C3 A4 00 6C */ lfs f29, 0x6c(r4) +/* 802D513C 002D209C C3 C4 00 5C */ lfs f30, 0x5c(r4) +/* 802D5140 002D20A0 C3 E4 00 4C */ lfs f31, 0x4c(r4) +/* 802D5144 002D20A4 80 84 00 00 */ lwz r4, 0(r4) +/* 802D5148 002D20A8 4B FF F2 0D */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802D514C 002D20AC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802D5150 002D20B0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D5154 002D20B4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802D5158 002D20B8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D515C 002D20BC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802D5160 002D20C0 38 A1 00 08 */ addi r5, r1, 8 +/* 802D5164 002D20C4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802D5168 002D20C8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802D516C 002D20CC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802D5170 002D20D0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802D5174 002D20D4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802D5178 002D20D8 C0 5F 00 20 */ lfs f2, 0x20(r31) +/* 802D517C 002D20DC C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 802D5180 002D20E0 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802D5184 002D20E4 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D5188 002D20E8 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D518C 002D20EC EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D5190 002D20F0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802D5194 002D20F4 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D5198 002D20F8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D519C 002D20FC C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802D51A0 002D2100 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 802D51A4 002D2104 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802D51A8 002D2108 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802D51AC 002D210C EC 21 E8 2A */ fadds f1, f1, f29 +/* 802D51B0 002D2110 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802D51B4 002D2114 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D51B8 002D2118 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D51BC 002D211C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D51C0 002D2120 48 06 33 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D51C4 002D2124 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D51C8 002D2128 38 81 00 40 */ addi r4, r1, 0x40 +/* 802D51CC 002D212C 48 00 00 31 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox +/* 802D51D0 002D2130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802D51D4 002D2134 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802D51D8 002D2138 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802D51DC 002D213C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802D51E0 002D2140 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802D51E4 002D2144 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802D51E8 002D2148 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D51EC 002D214C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802D51F0 002D2150 7C 08 03 A6 */ mtlr r0 +/* 802D51F4 002D2154 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D51F8 002D2158 4E 80 00 20 */ blr + +.global Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox +Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox: +/* 802D51FC 002D215C C0 23 00 00 */ lfs f1, 0(r3) +/* 802D5200 002D2160 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D5204 002D2164 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) +/* 802D5208 002D2168 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D520C 002D216C 40 80 00 14 */ bge lbl_802D5220 +/* 802D5210 002D2170 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5214 002D2174 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5218 002D2178 EC 42 00 2A */ fadds f2, f2, f0 +/* 802D521C 002D217C 48 00 00 1C */ b lbl_802D5238 +lbl_802D5220: +/* 802D5220 002D2180 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D5224 002D2184 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5228 002D2188 40 81 00 10 */ ble lbl_802D5238 +/* 802D522C 002D218C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5230 002D2190 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5234 002D2194 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D5238: +/* 802D5238 002D2198 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D523C 002D219C 38 C4 00 10 */ addi r6, r4, 0x10 +/* 802D5240 002D21A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D5244 002D21A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5248 002D21A8 40 80 00 14 */ bge lbl_802D525C +/* 802D524C 002D21AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5250 002D21B0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5254 002D21B4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802D5258 002D21B8 48 00 00 1C */ b lbl_802D5274 +lbl_802D525C: +/* 802D525C 002D21BC C0 06 00 00 */ lfs f0, 0(r6) +/* 802D5260 002D21C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5264 002D21C4 40 81 00 10 */ ble lbl_802D5274 +/* 802D5268 002D21C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D526C 002D21CC EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D5270 002D21D0 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D5274: +/* 802D5274 002D21D4 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D5278 002D21D8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D527C 002D21DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5280 002D21E0 40 80 00 14 */ bge lbl_802D5294 +/* 802D5284 002D21E4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D5288 002D21E8 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D528C 002D21EC EC 42 00 2A */ fadds f2, f2, f0 +/* 802D5290 002D21F0 48 00 00 1C */ b lbl_802D52AC +lbl_802D5294: +/* 802D5294 002D21F4 C0 06 00 04 */ lfs f0, 4(r6) +/* 802D5298 002D21F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D529C 002D21FC 40 81 00 10 */ ble lbl_802D52AC +/* 802D52A0 002D2200 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D52A4 002D2204 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D52A8 002D2208 EC 42 00 2A */ fadds f2, f2, f0 +lbl_802D52AC: +/* 802D52AC 002D220C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D52B0 002D2210 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D52B4 002D2214 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D52B8 002D2218 7C 00 00 26 */ mfcr r0 +/* 802D52BC 002D221C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D52C0 002D2220 7C 00 00 34 */ cntlzw r0, r0 +/* 802D52C4 002D2224 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D52C8 002D2228 4E 80 00 20 */ blr + +.global GetType__17CCollidableSphereFv +GetType__17CCollidableSphereFv: +/* 802D52CC 002D222C 3C A0 80 2D */ lis r5, SetStaticTableIndex__17CCollidableSphereFUi@ha +/* 802D52D0 002D2230 3C 80 80 3D */ lis r4, lbl_803D6A90@ha +/* 802D52D4 002D2234 38 05 52 E8 */ addi r0, r5, SetStaticTableIndex__17CCollidableSphereFUi@l +/* 802D52D8 002D2238 90 03 00 00 */ stw r0, 0(r3) +/* 802D52DC 002D223C 38 04 6A 90 */ addi r0, r4, lbl_803D6A90@l +/* 802D52E0 002D2240 90 03 00 04 */ stw r0, 4(r3) +/* 802D52E4 002D2244 4E 80 00 20 */ blr + +.global SetStaticTableIndex__17CCollidableSphereFUi +SetStaticTableIndex__17CCollidableSphereFUi: +/* 802D52E8 002D2248 90 6D 9B 38 */ stw r3, lbl_805A86F8@sda21(r13) +/* 802D52EC 002D224C 4E 80 00 20 */ blr + +.global __sinit_CCollidableSphere_cpp +__sinit_CCollidableSphere_cpp: +/* 802D52F0 002D2250 C0 42 C5 3C */ lfs f2, lbl_805AE25C@sda21(r2) +/* 802D52F4 002D2254 3C 60 80 48 */ lis r3, lbl_80479558@ha +/* 802D52F8 002D2258 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) +/* 802D52FC 002D225C D4 43 95 58 */ stfsu f2, lbl_80479558@l(r3) +/* 802D5300 002D2260 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) +/* 802D5304 002D2264 D0 23 00 04 */ stfs f1, 4(r3) +/* 802D5308 002D2268 D0 23 00 08 */ stfs f1, 8(r3) +/* 802D530C 002D226C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D5310 002D2270 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802D5314 002D2274 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802D5318 002D2278 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802D531C 002D227C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 802D5320 002D2280 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802D5324 002D2284 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D5328 002D2288 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802D532C 002D228C D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802D5330 002D2290 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802D5334 002D2294 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802D5338 002D2298 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 802D533C 002D229C D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 802D5340 002D22A0 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 802D5344 002D22A4 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 802D5348 002D22A8 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollisionInfo.s b/asm/Collision/CCollisionInfo.s new file mode 100644 index 00000000..7ba38a68 --- /dev/null +++ b/asm/Collision/CCollisionInfo.s @@ -0,0 +1,306 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Swap__14CCollisionInfoFv +Swap__14CCollisionInfoFv: +/* 802CE0B8 002CB018 C0 03 00 48 */ lfs f0, 0x48(r3) +/* 802CE0BC 002CB01C C0 23 00 4C */ lfs f1, 0x4c(r3) +/* 802CE0C0 002CB020 FC 00 00 50 */ fneg f0, f0 +/* 802CE0C4 002CB024 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 802CE0C8 002CB028 FC 20 08 50 */ fneg f1, f1 +/* 802CE0CC 002CB02C FC 40 10 50 */ fneg f2, f2 +/* 802CE0D0 002CB030 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE0D4 002CB034 D0 23 00 4C */ stfs f1, 0x4c(r3) +/* 802CE0D8 002CB038 D0 43 00 50 */ stfs f2, 0x50(r3) +/* 802CE0DC 002CB03C C0 03 00 54 */ lfs f0, 0x54(r3) +/* 802CE0E0 002CB040 C0 23 00 58 */ lfs f1, 0x58(r3) +/* 802CE0E4 002CB044 FC 00 00 50 */ fneg f0, f0 +/* 802CE0E8 002CB048 C0 43 00 5C */ lfs f2, 0x5c(r3) +/* 802CE0EC 002CB04C FC 20 08 50 */ fneg f1, f1 +/* 802CE0F0 002CB050 FC 40 10 50 */ fneg f2, f2 +/* 802CE0F4 002CB054 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE0F8 002CB058 D0 23 00 58 */ stfs f1, 0x58(r3) +/* 802CE0FC 002CB05C D0 43 00 5C */ stfs f2, 0x5c(r3) +/* 802CE100 002CB060 80 A3 00 38 */ lwz r5, 0x38(r3) +/* 802CE104 002CB064 80 C3 00 3C */ lwz r6, 0x3c(r3) +/* 802CE108 002CB068 80 03 00 40 */ lwz r0, 0x40(r3) +/* 802CE10C 002CB06C 80 83 00 44 */ lwz r4, 0x44(r3) +/* 802CE110 002CB070 90 83 00 3C */ stw r4, 0x3c(r3) +/* 802CE114 002CB074 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE118 002CB078 90 C3 00 44 */ stw r6, 0x44(r3) +/* 802CE11C 002CB07C 90 A3 00 40 */ stw r5, 0x40(r3) +/* 802CE120 002CB080 4E 80 00 20 */ blr + +.global GetExtreme__14CCollisionInfoCFv +GetExtreme__14CCollisionInfoCFv: +/* 802CE124 002CB084 C0 24 00 00 */ lfs f1, 0(r4) +/* 802CE128 002CB088 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802CE12C 002CB08C C0 64 00 04 */ lfs f3, 4(r4) +/* 802CE130 002CB090 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802CE134 002CB094 EC 21 00 2A */ fadds f1, f1, f0 +/* 802CE138 002CB098 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802CE13C 002CB09C EC A3 10 2A */ fadds f5, f3, f2 +/* 802CE140 002CB0A0 C0 84 00 1C */ lfs f4, 0x1c(r4) +/* 802CE144 002CB0A4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802CE148 002CB0A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 802CE14C 002CB0AC C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802CE150 002CB0B0 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802CE154 002CB0B4 EC 63 10 2A */ fadds f3, f3, f2 +/* 802CE158 002CB0B8 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 802CE15C 002CB0BC EC A5 20 2A */ fadds f5, f5, f4 +/* 802CE160 002CB0C0 C0 84 00 28 */ lfs f4, 0x28(r4) +/* 802CE164 002CB0C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 802CE168 002CB0C8 C0 24 00 2C */ lfs f1, 0x2c(r4) +/* 802CE16C 002CB0CC EC 43 10 2A */ fadds f2, f3, f2 +/* 802CE170 002CB0D0 EC 65 20 2A */ fadds f3, f5, f4 +/* 802CE174 002CB0D4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE178 002CB0D8 EC 02 08 2A */ fadds f0, f2, f1 +/* 802CE17C 002CB0DC D0 63 00 04 */ stfs f3, 4(r3) +/* 802CE180 002CB0E0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE184 002CB0E4 4E 80 00 20 */ blr + +.global __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid +__ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid: +/* 802CE188 002CB0E8 C0 02 C4 98 */ lfs f0, lbl_805AE1B8@sda21(r2) +/* 802CE18C 002CB0EC 38 00 00 00 */ li r0, 0 +/* 802CE190 002CB0F0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE194 002CB0F4 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CE198 002CB0F8 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE19C 002CB0FC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE1A0 002CB100 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802CE1A4 002CB104 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CE1A8 002CB108 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802CE1AC 002CB10C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802CE1B0 002CB110 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802CE1B4 002CB114 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802CE1B8 002CB118 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802CE1BC 002CB11C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802CE1C0 002CB120 98 03 00 30 */ stb r0, 0x30(r3) +/* 802CE1C4 002CB124 98 03 00 31 */ stb r0, 0x31(r3) +/* 802CE1C8 002CB128 90 03 00 3C */ stw r0, 0x3c(r3) +/* 802CE1CC 002CB12C 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE1D0 002CB130 90 03 00 44 */ stw r0, 0x44(r3) +/* 802CE1D4 002CB134 90 03 00 40 */ stw r0, 0x40(r3) +/* 802CE1D8 002CB138 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE1DC 002CB13C D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 802CE1E0 002CB140 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 802CE1E4 002CB144 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE1E8 002CB148 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802CE1EC 002CB14C D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 802CE1F0 002CB150 4E 80 00 20 */ blr + +.global GetSwapped__14CCollisionInfoCFv +GetSwapped__14CCollisionInfoCFv: +/* 802CE1F4 002CB154 C0 04 00 00 */ lfs f0, 0(r4) +/* 802CE1F8 002CB158 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE1FC 002CB15C C0 04 00 04 */ lfs f0, 4(r4) +/* 802CE200 002CB160 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CE204 002CB164 C0 04 00 08 */ lfs f0, 8(r4) +/* 802CE208 002CB168 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE20C 002CB16C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802CE210 002CB170 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE214 002CB174 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802CE218 002CB178 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802CE21C 002CB17C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802CE220 002CB180 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CE224 002CB184 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802CE228 002CB188 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802CE22C 002CB18C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802CE230 002CB190 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802CE234 002CB194 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802CE238 002CB198 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802CE23C 002CB19C C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802CE240 002CB1A0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802CE244 002CB1A4 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802CE248 002CB1A8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802CE24C 002CB1AC C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802CE250 002CB1B0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802CE254 002CB1B4 88 04 00 30 */ lbz r0, 0x30(r4) +/* 802CE258 002CB1B8 98 03 00 30 */ stb r0, 0x30(r3) +/* 802CE25C 002CB1BC 88 04 00 31 */ lbz r0, 0x31(r4) +/* 802CE260 002CB1C0 98 03 00 31 */ stb r0, 0x31(r3) +/* 802CE264 002CB1C4 80 04 00 40 */ lwz r0, 0x40(r4) +/* 802CE268 002CB1C8 80 A4 00 44 */ lwz r5, 0x44(r4) +/* 802CE26C 002CB1CC 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 802CE270 002CB1D0 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE274 002CB1D4 80 04 00 38 */ lwz r0, 0x38(r4) +/* 802CE278 002CB1D8 80 A4 00 3C */ lwz r5, 0x3c(r4) +/* 802CE27C 002CB1DC 90 A3 00 44 */ stw r5, 0x44(r3) +/* 802CE280 002CB1E0 90 03 00 40 */ stw r0, 0x40(r3) +/* 802CE284 002CB1E4 C0 04 00 54 */ lfs f0, 0x54(r4) +/* 802CE288 002CB1E8 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE28C 002CB1EC C0 04 00 58 */ lfs f0, 0x58(r4) +/* 802CE290 002CB1F0 D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 802CE294 002CB1F4 C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 802CE298 002CB1F8 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 802CE29C 002CB1FC C0 04 00 48 */ lfs f0, 0x48(r4) +/* 802CE2A0 002CB200 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE2A4 002CB204 C0 04 00 4C */ lfs f0, 0x4c(r4) +/* 802CE2A8 002CB208 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802CE2AC 002CB20C C0 04 00 50 */ lfs f0, 0x50(r4) +/* 802CE2B0 002CB210 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 802CE2B4 002CB214 4E 80 00 20 */ blr + +.global __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +__ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f: +/* 802CE2B8 002CB218 C0 04 00 00 */ lfs f0, 0(r4) +/* 802CE2BC 002CB21C 38 00 00 01 */ li r0, 1 +/* 802CE2C0 002CB220 C0 22 C4 98 */ lfs f1, lbl_805AE1B8@sda21(r2) +/* 802CE2C4 002CB224 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE2C8 002CB228 C0 04 00 04 */ lfs f0, 4(r4) +/* 802CE2CC 002CB22C D0 03 00 04 */ stfs f0, 4(r3) +/* 802CE2D0 002CB230 C0 04 00 08 */ lfs f0, 8(r4) +/* 802CE2D4 002CB234 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE2D8 002CB238 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 802CE2DC 002CB23C C0 04 00 00 */ lfs f0, 0(r4) +/* 802CE2E0 002CB240 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802CE2E4 002CB244 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE2E8 002CB248 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802CE2EC 002CB24C D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802CE2F0 002CB250 C0 04 00 04 */ lfs f0, 4(r4) +/* 802CE2F4 002CB254 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802CE2F8 002CB258 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802CE2FC 002CB25C D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802CE300 002CB260 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802CE304 002CB264 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802CE308 002CB268 C0 04 00 08 */ lfs f0, 8(r4) +/* 802CE30C 002CB26C C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802CE310 002CB270 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802CE314 002CB274 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802CE318 002CB278 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 802CE31C 002CB27C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802CE320 002CB280 98 03 00 30 */ stb r0, 0x30(r3) +/* 802CE324 002CB284 98 03 00 31 */ stb r0, 0x31(r3) +/* 802CE328 002CB288 80 06 00 00 */ lwz r0, 0(r6) +/* 802CE32C 002CB28C 80 86 00 04 */ lwz r4, 4(r6) +/* 802CE330 002CB290 90 83 00 3C */ stw r4, 0x3c(r3) +/* 802CE334 002CB294 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE338 002CB298 80 05 00 00 */ lwz r0, 0(r5) +/* 802CE33C 002CB29C 80 85 00 04 */ lwz r4, 4(r5) +/* 802CE340 002CB2A0 90 83 00 44 */ stw r4, 0x44(r3) +/* 802CE344 002CB2A4 90 03 00 40 */ stw r0, 0x40(r3) +/* 802CE348 002CB2A8 C0 07 00 00 */ lfs f0, 0(r7) +/* 802CE34C 002CB2AC D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE350 002CB2B0 C0 07 00 04 */ lfs f0, 4(r7) +/* 802CE354 002CB2B4 D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 802CE358 002CB2B8 C0 07 00 08 */ lfs f0, 8(r7) +/* 802CE35C 002CB2BC D0 03 00 50 */ stfs f0, 0x50(r3) +/* 802CE360 002CB2C0 C0 08 00 00 */ lfs f0, 0(r8) +/* 802CE364 002CB2C4 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE368 002CB2C8 C0 08 00 04 */ lfs f0, 4(r8) +/* 802CE36C 002CB2CC D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802CE370 002CB2D0 C0 08 00 08 */ lfs f0, 8(r8) +/* 802CE374 002CB2D4 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 802CE378 002CB2D8 4E 80 00 20 */ blr + +.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f: +/* 802CE37C 002CB2DC C0 04 00 00 */ lfs f0, 0(r4) +/* 802CE380 002CB2E0 3D 20 80 5A */ lis r9, skZero3f@ha +/* 802CE384 002CB2E4 39 49 66 A0 */ addi r10, r9, skZero3f@l +/* 802CE388 002CB2E8 39 20 00 01 */ li r9, 1 +/* 802CE38C 002CB2EC D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE390 002CB2F0 38 00 00 00 */ li r0, 0 +/* 802CE394 002CB2F4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802CE398 002CB2F8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CE39C 002CB2FC C0 04 00 08 */ lfs f0, 8(r4) +/* 802CE3A0 002CB300 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE3A4 002CB304 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802CE3A8 002CB308 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE3AC 002CB30C C0 0A 00 04 */ lfs f0, 4(r10) +/* 802CE3B0 002CB310 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802CE3B4 002CB314 C0 0A 00 08 */ lfs f0, 8(r10) +/* 802CE3B8 002CB318 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CE3BC 002CB31C C0 0A 00 00 */ lfs f0, 0(r10) +/* 802CE3C0 002CB320 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802CE3C4 002CB324 C0 0A 00 04 */ lfs f0, 4(r10) +/* 802CE3C8 002CB328 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802CE3CC 002CB32C C0 0A 00 08 */ lfs f0, 8(r10) +/* 802CE3D0 002CB330 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802CE3D4 002CB334 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802CE3D8 002CB338 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802CE3DC 002CB33C C0 0A 00 04 */ lfs f0, 4(r10) +/* 802CE3E0 002CB340 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802CE3E4 002CB344 C0 0A 00 08 */ lfs f0, 8(r10) +/* 802CE3E8 002CB348 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802CE3EC 002CB34C 99 23 00 30 */ stb r9, 0x30(r3) +/* 802CE3F0 002CB350 98 03 00 31 */ stb r0, 0x31(r3) +/* 802CE3F4 002CB354 80 06 00 00 */ lwz r0, 0(r6) +/* 802CE3F8 002CB358 80 86 00 04 */ lwz r4, 4(r6) +/* 802CE3FC 002CB35C 90 83 00 3C */ stw r4, 0x3c(r3) +/* 802CE400 002CB360 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE404 002CB364 80 05 00 00 */ lwz r0, 0(r5) +/* 802CE408 002CB368 80 85 00 04 */ lwz r4, 4(r5) +/* 802CE40C 002CB36C 90 83 00 44 */ stw r4, 0x44(r3) +/* 802CE410 002CB370 90 03 00 40 */ stw r0, 0x40(r3) +/* 802CE414 002CB374 C0 07 00 00 */ lfs f0, 0(r7) +/* 802CE418 002CB378 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE41C 002CB37C C0 07 00 04 */ lfs f0, 4(r7) +/* 802CE420 002CB380 D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 802CE424 002CB384 C0 07 00 08 */ lfs f0, 8(r7) +/* 802CE428 002CB388 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 802CE42C 002CB38C C0 08 00 00 */ lfs f0, 0(r8) +/* 802CE430 002CB390 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE434 002CB394 C0 08 00 04 */ lfs f0, 4(r8) +/* 802CE438 002CB398 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802CE43C 002CB39C C0 08 00 08 */ lfs f0, 8(r8) +/* 802CE440 002CB3A0 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 802CE444 002CB3A4 4E 80 00 20 */ blr + +.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f: +/* 802CE448 002CB3A8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802CE44C 002CB3AC 3D 00 80 5A */ lis r8, skZero3f@ha +/* 802CE450 002CB3B0 39 28 66 A0 */ addi r9, r8, skZero3f@l +/* 802CE454 002CB3B4 39 00 00 01 */ li r8, 1 +/* 802CE458 002CB3B8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CE45C 002CB3BC 38 00 00 00 */ li r0, 0 +/* 802CE460 002CB3C0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802CE464 002CB3C4 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CE468 002CB3C8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802CE46C 002CB3CC D0 03 00 08 */ stfs f0, 8(r3) +/* 802CE470 002CB3D0 C0 09 00 00 */ lfs f0, 0(r9) +/* 802CE474 002CB3D4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CE478 002CB3D8 C0 09 00 04 */ lfs f0, 4(r9) +/* 802CE47C 002CB3DC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802CE480 002CB3E0 C0 09 00 08 */ lfs f0, 8(r9) +/* 802CE484 002CB3E4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CE488 002CB3E8 C0 09 00 00 */ lfs f0, 0(r9) +/* 802CE48C 002CB3EC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802CE490 002CB3F0 C0 09 00 04 */ lfs f0, 4(r9) +/* 802CE494 002CB3F4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802CE498 002CB3F8 C0 09 00 08 */ lfs f0, 8(r9) +/* 802CE49C 002CB3FC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802CE4A0 002CB400 C0 09 00 00 */ lfs f0, 0(r9) +/* 802CE4A4 002CB404 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802CE4A8 002CB408 C0 09 00 04 */ lfs f0, 4(r9) +/* 802CE4AC 002CB40C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802CE4B0 002CB410 C0 09 00 08 */ lfs f0, 8(r9) +/* 802CE4B4 002CB414 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802CE4B8 002CB418 99 03 00 30 */ stb r8, 0x30(r3) +/* 802CE4BC 002CB41C 98 03 00 31 */ stb r0, 0x31(r3) +/* 802CE4C0 002CB420 80 06 00 00 */ lwz r0, 0(r6) +/* 802CE4C4 002CB424 80 86 00 04 */ lwz r4, 4(r6) +/* 802CE4C8 002CB428 90 83 00 3C */ stw r4, 0x3c(r3) +/* 802CE4CC 002CB42C 90 03 00 38 */ stw r0, 0x38(r3) +/* 802CE4D0 002CB430 80 05 00 00 */ lwz r0, 0(r5) +/* 802CE4D4 002CB434 80 85 00 04 */ lwz r4, 4(r5) +/* 802CE4D8 002CB438 90 83 00 44 */ stw r4, 0x44(r3) +/* 802CE4DC 002CB43C 90 03 00 40 */ stw r0, 0x40(r3) +/* 802CE4E0 002CB440 C0 07 00 00 */ lfs f0, 0(r7) +/* 802CE4E4 002CB444 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 802CE4E8 002CB448 C0 07 00 04 */ lfs f0, 4(r7) +/* 802CE4EC 002CB44C D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 802CE4F0 002CB450 C0 07 00 08 */ lfs f0, 8(r7) +/* 802CE4F4 002CB454 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 802CE4F8 002CB458 C0 07 00 00 */ lfs f0, 0(r7) +/* 802CE4FC 002CB45C C0 27 00 04 */ lfs f1, 4(r7) +/* 802CE500 002CB460 C0 47 00 08 */ lfs f2, 8(r7) +/* 802CE504 002CB464 FC 00 00 50 */ fneg f0, f0 +/* 802CE508 002CB468 FC 20 08 50 */ fneg f1, f1 +/* 802CE50C 002CB46C FC 40 10 50 */ fneg f2, f2 +/* 802CE510 002CB470 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802CE514 002CB474 D0 23 00 58 */ stfs f1, 0x58(r3) +/* 802CE518 002CB478 D0 43 00 5C */ stfs f2, 0x5c(r3) +/* 802CE51C 002CB47C 4E 80 00 20 */ blr diff --git a/asm/Collision/CCollisionPrimitive.s b/asm/Collision/CCollisionPrimitive.s new file mode 100644 index 00000000..c6e62dbb --- /dev/null +++ b/asm/Collision/CCollisionPrimitive.s @@ -0,0 +1,1591 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + + +.global InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc: +/* 802CE684 002CB5E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE688 002CB5E8 7C 08 02 A6 */ mflr r0 +/* 802CE68C 002CB5EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE690 002CB5F0 90 61 00 08 */ stw r3, 8(r1) +/* 802CE694 002CB5F4 38 61 00 08 */ addi r3, r1, 8 +/* 802CE698 002CB5F8 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE69C 002CB5FC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE6A0 002CB600 48 00 09 59 */ bl InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison +/* 802CE6A4 002CB604 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE6A8 002CB608 7C 08 03 A6 */ mtlr r0 +/* 802CE6AC 002CB60C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE6B0 002CB610 4E 80 00 20 */ blr + +.global InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc +InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc: +/* 802CE6B4 002CB614 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE6B8 002CB618 7C 08 02 A6 */ mflr r0 +/* 802CE6BC 002CB61C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE6C0 002CB620 90 61 00 08 */ stw r3, 8(r1) +/* 802CE6C4 002CB624 38 61 00 08 */ addi r3, r1, 8 +/* 802CE6C8 002CB628 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE6CC 002CB62C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE6D0 002CB630 48 00 0A 61 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison +/* 802CE6D4 002CB634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE6D8 002CB638 7C 08 03 A6 */ mtlr r0 +/* 802CE6DC 002CB63C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE6E0 002CB640 4E 80 00 20 */ blr + +.global InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc +InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc: +/* 802CE6E4 002CB644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE6E8 002CB648 7C 08 02 A6 */ mflr r0 +/* 802CE6EC 002CB64C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE6F0 002CB650 90 61 00 08 */ stw r3, 8(r1) +/* 802CE6F4 002CB654 38 61 00 08 */ addi r3, r1, 8 +/* 802CE6F8 002CB658 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CE6FC 002CB65C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CE700 002CB660 48 00 0B 69 */ bl InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison +/* 802CE704 002CB664 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE708 002CB668 7C 08 03 A6 */ mtlr r0 +/* 802CE70C 002CB66C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE710 002CB670 4E 80 00 20 */ blr + +.global CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo +CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo: +/* 802CE714 002CB674 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802CE718 002CB678 7C 08 02 A6 */ mflr r0 +/* 802CE71C 002CB67C 7C 68 1B 78 */ mr r8, r3 +/* 802CE720 002CB680 90 01 00 94 */ stw r0, 0x94(r1) +/* 802CE724 002CB684 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802CE728 002CB688 7C FF 3B 78 */ mr r31, r7 +/* 802CE72C 002CB68C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802CE730 002CB690 7C DE 33 78 */ mr r30, r6 +/* 802CE734 002CB694 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802CE738 002CB698 7C BD 2B 78 */ mr r29, r5 +/* 802CE73C 002CB69C 93 81 00 80 */ stw r28, 0x80(r1) +/* 802CE740 002CB6A0 7C 9C 23 78 */ mr r28, r4 +/* 802CE744 002CB6A4 38 88 00 08 */ addi r4, r8, 8 +/* 802CE748 002CB6A8 80 63 00 00 */ lwz r3, 0(r3) +/* 802CE74C 002CB6AC 80 08 00 04 */ lwz r0, 4(r8) +/* 802CE750 002CB6B0 90 61 00 08 */ stw r3, 8(r1) +/* 802CE754 002CB6B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE758 002CB6B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE75C 002CB6BC 48 04 44 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE760 002CB6C0 80 BC 00 00 */ lwz r5, 0(r28) +/* 802CE764 002CB6C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE768 002CB6C8 80 1C 00 04 */ lwz r0, 4(r28) +/* 802CE76C 002CB6CC 38 9C 00 08 */ addi r4, r28, 8 +/* 802CE770 002CB6D0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE774 002CB6D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE778 002CB6D8 48 04 43 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE77C 002CB6DC 7F A4 EB 78 */ mr r4, r29 +/* 802CE780 002CB6E0 7F C5 F3 78 */ mr r5, r30 +/* 802CE784 002CB6E4 7F E6 FB 78 */ mr r6, r31 +/* 802CE788 002CB6E8 38 61 00 08 */ addi r3, r1, 8 +/* 802CE78C 002CB6EC 48 00 04 99 */ bl InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +/* 802CE790 002CB6F0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802CE794 002CB6F4 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802CE798 002CB6F8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802CE79C 002CB6FC 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802CE7A0 002CB700 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802CE7A4 002CB704 7C 08 03 A6 */ mtlr r0 +/* 802CE7A8 002CB708 38 21 00 90 */ addi r1, r1, 0x90 +/* 802CE7AC 002CB70C 4E 80 00 20 */ blr + +.global Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList: +/* 802CE7B0 002CB710 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802CE7B4 002CB714 7C 08 02 A6 */ mflr r0 +/* 802CE7B8 002CB718 7C 66 1B 78 */ mr r6, r3 +/* 802CE7BC 002CB71C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802CE7C0 002CB720 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802CE7C4 002CB724 7C BF 2B 78 */ mr r31, r5 +/* 802CE7C8 002CB728 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802CE7CC 002CB72C 7C 9E 23 78 */ mr r30, r4 +/* 802CE7D0 002CB730 80 83 00 00 */ lwz r4, 0(r3) +/* 802CE7D4 002CB734 80 03 00 04 */ lwz r0, 4(r3) +/* 802CE7D8 002CB738 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE7DC 002CB73C 90 81 00 08 */ stw r4, 8(r1) +/* 802CE7E0 002CB740 38 86 00 08 */ addi r4, r6, 8 +/* 802CE7E4 002CB744 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE7E8 002CB748 48 04 43 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE7EC 002CB74C 80 BE 00 00 */ lwz r5, 0(r30) +/* 802CE7F0 002CB750 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE7F4 002CB754 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CE7F8 002CB758 38 9E 00 08 */ addi r4, r30, 8 +/* 802CE7FC 002CB75C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE800 002CB760 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE804 002CB764 48 04 43 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE808 002CB768 7F E4 FB 78 */ mr r4, r31 +/* 802CE80C 002CB76C 38 61 00 08 */ addi r3, r1, 8 +/* 802CE810 002CB770 48 00 05 4D */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +/* 802CE814 002CB774 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802CE818 002CB778 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802CE81C 002CB77C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802CE820 002CB780 7C 08 03 A6 */ mtlr r0 +/* 802CE824 002CB784 38 21 00 80 */ addi r1, r1, 0x80 +/* 802CE828 002CB788 4E 80 00 20 */ blr + +.global CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc +CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc: +/* 802CE82C 002CB78C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802CE830 002CB790 7C 08 02 A6 */ mflr r0 +/* 802CE834 002CB794 7C 66 1B 78 */ mr r6, r3 +/* 802CE838 002CB798 90 01 00 84 */ stw r0, 0x84(r1) +/* 802CE83C 002CB79C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802CE840 002CB7A0 7C 9F 23 78 */ mr r31, r4 +/* 802CE844 002CB7A4 38 86 00 08 */ addi r4, r6, 8 +/* 802CE848 002CB7A8 80 A3 00 00 */ lwz r5, 0(r3) +/* 802CE84C 002CB7AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE850 002CB7B0 80 06 00 04 */ lwz r0, 4(r6) +/* 802CE854 002CB7B4 90 A1 00 08 */ stw r5, 8(r1) +/* 802CE858 002CB7B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CE85C 002CB7BC 48 04 43 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE860 002CB7C0 80 BF 00 00 */ lwz r5, 0(r31) +/* 802CE864 002CB7C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CE868 002CB7C8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CE86C 002CB7CC 38 9F 00 08 */ addi r4, r31, 8 +/* 802CE870 002CB7D0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CE874 002CB7D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CE878 002CB7D8 48 04 42 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CE87C 002CB7DC 38 61 00 08 */ addi r3, r1, 8 +/* 802CE880 002CB7E0 48 00 00 E5 */ bl InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure +/* 802CE884 002CB7E4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802CE888 002CB7E8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802CE88C 002CB7EC 7C 08 03 A6 */ mtlr r0 +/* 802CE890 002CB7F0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802CE894 002CB7F4 4E 80 00 20 */ blr + +.global Uninitialize__19CCollisionPrimitiveFv +Uninitialize__19CCollisionPrimitiveFv: +/* 802CE898 002CB7F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE89C 002CB7FC 7C 08 02 A6 */ mflr r0 +/* 802CE8A0 002CB800 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE8A4 002CB804 38 00 00 00 */ li r0, 0 +/* 802CE8A8 002CB808 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CE8AC 002CB80C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CE8B0 002CB810 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) +/* 802CE8B4 002CB814 28 1F 00 00 */ cmplwi r31, 0 +/* 802CE8B8 002CB818 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) +/* 802CE8BC 002CB81C 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) +/* 802CE8C0 002CB820 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) +/* 802CE8C4 002CB824 98 0D A6 55 */ stb r0, lbl_805A9215@sda21(r13) +/* 802CE8C8 002CB828 90 0D A6 50 */ stw r0, lbl_805A9210@sda21(r13) +/* 802CE8CC 002CB82C 41 82 00 4C */ beq lbl_802CE918 +/* 802CE8D0 002CB830 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CE8D4 002CB834 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CE8D8 002CB838 54 00 18 38 */ slwi r0, r0, 3 +/* 802CE8DC 002CB83C 7C 03 02 14 */ add r0, r3, r0 +/* 802CE8E0 002CB840 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CE8E4 002CB844 7C 64 1B 78 */ mr r4, r3 +/* 802CE8E8 002CB848 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CE8EC 002CB84C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CE8F0 002CB850 90 61 00 08 */ stw r3, 8(r1) +/* 802CE8F4 002CB854 48 00 00 08 */ b lbl_802CE8FC +lbl_802CE8F8: +/* 802CE8F8 002CB858 38 84 00 08 */ addi r4, r4, 8 +lbl_802CE8FC: +/* 802CE8FC 002CB85C 7C 04 00 40 */ cmplw r4, r0 +/* 802CE900 002CB860 40 82 FF F8 */ bne lbl_802CE8F8 +/* 802CE904 002CB864 28 03 00 00 */ cmplwi r3, 0 +/* 802CE908 002CB868 41 82 00 08 */ beq lbl_802CE910 +/* 802CE90C 002CB86C 48 04 70 25 */ bl Free__7CMemoryFPCv +lbl_802CE910: +/* 802CE910 002CB870 7F E3 FB 78 */ mr r3, r31 +/* 802CE914 002CB874 48 04 70 1D */ bl Free__7CMemoryFPCv +lbl_802CE918: +/* 802CE918 002CB878 38 00 00 00 */ li r0, 0 +/* 802CE91C 002CB87C 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CE920 002CB880 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) +/* 802CE924 002CB884 48 04 70 0D */ bl Free__7CMemoryFPCv +/* 802CE928 002CB888 38 00 00 00 */ li r0, 0 +/* 802CE92C 002CB88C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CE930 002CB890 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) +/* 802CE934 002CB894 48 04 6F FD */ bl Free__7CMemoryFPCv +/* 802CE938 002CB898 38 00 00 00 */ li r0, 0 +/* 802CE93C 002CB89C 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CE940 002CB8A0 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) +/* 802CE944 002CB8A4 48 04 6F ED */ bl Free__7CMemoryFPCv +/* 802CE948 002CB8A8 38 00 00 00 */ li r0, 0 +/* 802CE94C 002CB8AC 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) +/* 802CE950 002CB8B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE954 002CB8B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CE958 002CB8B8 7C 08 03 A6 */ mtlr r0 +/* 802CE95C 002CB8BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE960 002CB8C0 4E 80 00 20 */ blr + +.global InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure +InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure: +/* 802CE964 002CB8C4 94 21 F2 F0 */ stwu r1, -0xd10(r1) +/* 802CE968 002CB8C8 7C 08 02 A6 */ mflr r0 +/* 802CE96C 002CB8CC 90 01 0D 14 */ stw r0, 0xd14(r1) +/* 802CE970 002CB8D0 BF 21 0C F4 */ stmw r25, 0xcf4(r1) +/* 802CE974 002CB8D4 7C 7A 1B 78 */ mr r26, r3 +/* 802CE978 002CB8D8 83 C3 00 00 */ lwz r30, 0(r3) +/* 802CE97C 002CB8DC 83 A3 00 38 */ lwz r29, 0x38(r3) +/* 802CE980 002CB8E0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CE984 002CB8E4 7F C3 F3 78 */ mr r3, r30 +/* 802CE988 002CB8E8 83 9A 00 04 */ lwz r28, 4(r26) +/* 802CE98C 002CB8EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CE990 002CB8F0 83 7A 00 3C */ lwz r27, 0x3c(r26) +/* 802CE994 002CB8F4 7D 89 03 A6 */ mtctr r12 +/* 802CE998 002CB8F8 4E 80 04 21 */ bctrl +/* 802CE99C 002CB8FC 7C 7F 1B 78 */ mr r31, r3 +/* 802CE9A0 002CB900 7F A3 EB 78 */ mr r3, r29 +/* 802CE9A4 002CB904 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CE9A8 002CB908 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CE9AC 002CB90C 7D 89 03 A6 */ mtctr r12 +/* 802CE9B0 002CB910 4E 80 04 21 */ bctrl +/* 802CE9B4 002CB914 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CE9B8 002CB918 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CE9BC 002CB91C 41 82 00 10 */ beq lbl_802CE9CC +/* 802CE9C0 002CB920 3C 03 00 01 */ addis r0, r3, 1 +/* 802CE9C4 002CB924 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CE9C8 002CB928 40 82 00 14 */ bne lbl_802CE9DC +lbl_802CE9CC: +/* 802CE9CC 002CB92C 38 00 00 00 */ li r0, 0 +/* 802CE9D0 002CB930 38 8D A6 70 */ addi r4, r13, lbl_805A9230@sda21 +/* 802CE9D4 002CB934 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CE9D8 002CB938 48 00 00 1C */ b lbl_802CE9F4 +lbl_802CE9DC: +/* 802CE9DC 002CB93C 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CE9E0 002CB940 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) +/* 802CE9E4 002CB944 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CE9E8 002CB948 7C 1F 02 14 */ add r0, r31, r0 +/* 802CE9EC 002CB94C 54 00 10 3A */ slwi r0, r0, 2 +/* 802CE9F0 002CB950 7C 84 02 14 */ add r4, r4, r0 +lbl_802CE9F4: +/* 802CE9F4 002CB954 83 24 00 00 */ lwz r25, 0(r4) +/* 802CE9F8 002CB958 28 19 00 00 */ cmplwi r25, 0 +/* 802CE9FC 002CB95C 41 82 00 70 */ beq lbl_802CEA6C +/* 802CEA00 002CB960 7F A3 EB 78 */ mr r3, r29 +/* 802CEA04 002CB964 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEA08 002CB968 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEA0C 002CB96C 7D 89 03 A6 */ mtctr r12 +/* 802CEA10 002CB970 4E 80 04 21 */ bctrl +/* 802CEA14 002CB974 7C 64 1B 78 */ mr r4, r3 +/* 802CEA18 002CB978 7F 83 E3 78 */ mr r3, r28 +/* 802CEA1C 002CB97C 48 00 69 31 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEA20 002CB980 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEA24 002CB984 41 82 00 2C */ beq lbl_802CEA50 +/* 802CEA28 002CB988 7F C3 F3 78 */ mr r3, r30 +/* 802CEA2C 002CB98C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEA30 002CB990 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEA34 002CB994 7D 89 03 A6 */ mtctr r12 +/* 802CEA38 002CB998 4E 80 04 21 */ bctrl +/* 802CEA3C 002CB99C 7C 64 1B 78 */ mr r4, r3 +/* 802CEA40 002CB9A0 7F 63 DB 78 */ mr r3, r27 +/* 802CEA44 002CB9A4 48 00 69 09 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEA48 002CB9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEA4C 002CB9AC 40 82 00 0C */ bne lbl_802CEA58 +lbl_802CEA50: +/* 802CEA50 002CB9B0 38 60 00 00 */ li r3, 0 +/* 802CEA54 002CB9B4 48 00 01 BC */ b lbl_802CEC10 +lbl_802CEA58: +/* 802CEA58 002CB9B8 7F 2C CB 78 */ mr r12, r25 +/* 802CEA5C 002CB9BC 7F 43 D3 78 */ mr r3, r26 +/* 802CEA60 002CB9C0 7D 89 03 A6 */ mtctr r12 +/* 802CEA64 002CB9C4 4E 80 04 21 */ bctrl +/* 802CEA68 002CB9C8 48 00 01 A8 */ b lbl_802CEC10 +lbl_802CEA6C: +/* 802CEA6C 002CB9CC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEA70 002CB9D0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEA74 002CB9D4 41 82 00 10 */ beq lbl_802CEA84 +/* 802CEA78 002CB9D8 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEA7C 002CB9DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEA80 002CB9E0 40 82 00 14 */ bne lbl_802CEA94 +lbl_802CEA84: +/* 802CEA84 002CB9E4 38 00 00 00 */ li r0, 0 +/* 802CEA88 002CB9E8 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 +/* 802CEA8C 002CB9EC 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CEA90 002CB9F0 48 00 00 1C */ b lbl_802CEAAC +lbl_802CEA94: +/* 802CEA94 002CB9F4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEA98 002CB9F8 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) +/* 802CEA9C 002CB9FC 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 802CEAA0 002CBA00 7C 03 02 14 */ add r0, r3, r0 +/* 802CEAA4 002CBA04 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEAA8 002CBA08 7C 64 02 14 */ add r3, r4, r0 +lbl_802CEAAC: +/* 802CEAAC 002CBA0C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEAB0 002CBA10 28 1F 00 00 */ cmplwi r31, 0 +/* 802CEAB4 002CBA14 41 82 00 F4 */ beq lbl_802CEBA8 +/* 802CEAB8 002CBA18 7F A3 EB 78 */ mr r3, r29 +/* 802CEABC 002CBA1C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEAC0 002CBA20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEAC4 002CBA24 7D 89 03 A6 */ mtctr r12 +/* 802CEAC8 002CBA28 4E 80 04 21 */ bctrl +/* 802CEACC 002CBA2C 7C 64 1B 78 */ mr r4, r3 +/* 802CEAD0 002CBA30 7F 83 E3 78 */ mr r3, r28 +/* 802CEAD4 002CBA34 48 00 68 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEAD8 002CBA38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEADC 002CBA3C 41 82 00 2C */ beq lbl_802CEB08 +/* 802CEAE0 002CBA40 7F C3 F3 78 */ mr r3, r30 +/* 802CEAE4 002CBA44 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEAE8 002CBA48 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEAEC 002CBA4C 7D 89 03 A6 */ mtctr r12 +/* 802CEAF0 002CBA50 4E 80 04 21 */ bctrl +/* 802CEAF4 002CBA54 7C 64 1B 78 */ mr r4, r3 +/* 802CEAF8 002CBA58 7F 63 DB 78 */ mr r3, r27 +/* 802CEAFC 002CBA5C 48 00 68 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEB00 002CBA60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEB04 002CBA64 40 82 00 0C */ bne lbl_802CEB10 +lbl_802CEB08: +/* 802CEB08 002CBA68 38 60 00 00 */ li r3, 0 +/* 802CEB0C 002CBA6C 48 00 01 04 */ b lbl_802CEC10 +lbl_802CEB10: +/* 802CEB10 002CBA70 80 9A 00 38 */ lwz r4, 0x38(r26) +/* 802CEB14 002CBA74 3B 61 00 10 */ addi r27, r1, 0x10 +/* 802CEB18 002CBA78 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 802CEB1C 002CBA7C 7F 63 DB 78 */ mr r3, r27 +/* 802CEB20 002CBA80 90 81 00 08 */ stw r4, 8(r1) +/* 802CEB24 002CBA84 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802CEB28 002CBA88 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CEB2C 002CBA8C 48 04 40 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB30 002CBA90 80 BA 00 00 */ lwz r5, 0(r26) +/* 802CEB34 002CBA94 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CEB38 002CBA98 80 1A 00 04 */ lwz r0, 4(r26) +/* 802CEB3C 002CBA9C 38 9A 00 08 */ addi r4, r26, 8 +/* 802CEB40 002CBAA0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CEB44 002CBAA4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CEB48 002CBAA8 48 04 40 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB4C 002CBAAC 80 A1 00 08 */ lwz r5, 8(r1) +/* 802CEB50 002CBAB0 7F 64 DB 78 */ mr r4, r27 +/* 802CEB54 002CBAB4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802CEB58 002CBAB8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802CEB5C 002CBABC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802CEB60 002CBAC0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802CEB64 002CBAC4 48 04 40 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB68 002CBAC8 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802CEB6C 002CBACC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802CEB70 002CBAD0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CEB74 002CBAD4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CEB78 002CBAD8 90 A1 00 B0 */ stw r5, 0xb0(r1) +/* 802CEB7C 002CBADC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CEB80 002CBAE0 48 04 3F F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEB84 002CBAE4 7F EC FB 78 */ mr r12, r31 +/* 802CEB88 002CBAE8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CEB8C 002CBAEC 7D 89 03 A6 */ mtctr r12 +/* 802CEB90 002CBAF0 4E 80 04 21 */ bctrl +/* 802CEB94 002CBAF4 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802CEB98 002CBAF8 7C 03 00 D0 */ neg r0, r3 +/* 802CEB9C 002CBAFC 7C 00 1B 78 */ or r0, r0, r3 +/* 802CEBA0 002CBB00 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802CEBA4 002CBB04 48 00 00 6C */ b lbl_802CEC10 +lbl_802CEBA8: +/* 802CEBA8 002CBB08 38 00 00 00 */ li r0, 0 +/* 802CEBAC 002CBB0C 7F 43 D3 78 */ mr r3, r26 +/* 802CEBB0 002CBB10 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802CEBB4 002CBB14 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802CEBB8 002CBB18 48 00 01 A5 */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +/* 802CEBBC 002CBB1C 80 C1 00 E8 */ lwz r6, 0xe8(r1) +/* 802CEBC0 002CBB20 38 80 00 00 */ li r4, 0 +/* 802CEBC4 002CBB24 2C 06 00 00 */ cmpwi r6, 0 +/* 802CEBC8 002CBB28 40 81 00 40 */ ble lbl_802CEC08 +/* 802CEBCC 002CBB2C 2C 06 00 08 */ cmpwi r6, 8 +/* 802CEBD0 002CBB30 38 A6 FF F8 */ addi r5, r6, -8 +/* 802CEBD4 002CBB34 40 81 00 20 */ ble lbl_802CEBF4 +/* 802CEBD8 002CBB38 38 05 00 07 */ addi r0, r5, 7 +/* 802CEBDC 002CBB3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CEBE0 002CBB40 7C 09 03 A6 */ mtctr r0 +/* 802CEBE4 002CBB44 2C 05 00 00 */ cmpwi r5, 0 +/* 802CEBE8 002CBB48 40 81 00 0C */ ble lbl_802CEBF4 +lbl_802CEBEC: +/* 802CEBEC 002CBB4C 38 84 00 08 */ addi r4, r4, 8 +/* 802CEBF0 002CBB50 42 00 FF FC */ bdnz lbl_802CEBEC +lbl_802CEBF4: +/* 802CEBF4 002CBB54 7C 04 30 50 */ subf r0, r4, r6 +/* 802CEBF8 002CBB58 7C 09 03 A6 */ mtctr r0 +/* 802CEBFC 002CBB5C 7C 04 30 00 */ cmpw r4, r6 +/* 802CEC00 002CBB60 40 80 00 08 */ bge lbl_802CEC08 +lbl_802CEC04: +/* 802CEC04 002CBB64 42 00 00 00 */ bdnz lbl_802CEC04 +lbl_802CEC08: +/* 802CEC08 002CBB68 38 00 00 00 */ li r0, 0 +/* 802CEC0C 002CBB6C 90 01 00 E8 */ stw r0, 0xe8(r1) +lbl_802CEC10: +/* 802CEC10 002CBB70 BB 21 0C F4 */ lmw r25, 0xcf4(r1) +/* 802CEC14 002CBB74 80 01 0D 14 */ lwz r0, 0xd14(r1) +/* 802CEC18 002CBB78 7C 08 03 A6 */ mtlr r0 +/* 802CEC1C 002CBB7C 38 21 0D 10 */ addi r1, r1, 0xd10 +/* 802CEC20 002CBB80 4E 80 00 20 */ blr + +.global InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802CEC24 002CBB84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CEC28 002CBB88 7C 08 02 A6 */ mflr r0 +/* 802CEC2C 002CBB8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CEC30 002CBB90 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802CEC34 002CBB94 7C 79 1B 78 */ mr r25, r3 +/* 802CEC38 002CBB98 7C 9A 23 78 */ mr r26, r4 +/* 802CEC3C 002CBB9C 7C BB 2B 78 */ mr r27, r5 +/* 802CEC40 002CBBA0 7C DC 33 78 */ mr r28, r6 +/* 802CEC44 002CBBA4 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEC48 002CBBA8 82 E3 00 38 */ lwz r23, 0x38(r3) +/* 802CEC4C 002CBBAC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802CEC50 002CBBB0 7F E3 FB 78 */ mr r3, r31 +/* 802CEC54 002CBBB4 83 D9 00 04 */ lwz r30, 4(r25) +/* 802CEC58 002CBBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEC5C 002CBBBC 83 B9 00 3C */ lwz r29, 0x3c(r25) +/* 802CEC60 002CBBC0 7D 89 03 A6 */ mtctr r12 +/* 802CEC64 002CBBC4 4E 80 04 21 */ bctrl +/* 802CEC68 002CBBC8 7C 78 1B 78 */ mr r24, r3 +/* 802CEC6C 002CBBCC 7E E3 BB 78 */ mr r3, r23 +/* 802CEC70 002CBBD0 81 97 00 00 */ lwz r12, 0(r23) +/* 802CEC74 002CBBD4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEC78 002CBBD8 7D 89 03 A6 */ mtctr r12 +/* 802CEC7C 002CBBDC 4E 80 04 21 */ bctrl +/* 802CEC80 002CBBE0 3C 18 00 01 */ addis r0, r24, 1 +/* 802CEC84 002CBBE4 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEC88 002CBBE8 41 82 00 10 */ beq lbl_802CEC98 +/* 802CEC8C 002CBBEC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEC90 002CBBF0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEC94 002CBBF4 40 82 00 14 */ bne lbl_802CECA8 +lbl_802CEC98: +/* 802CEC98 002CBBF8 38 00 00 00 */ li r0, 0 +/* 802CEC9C 002CBBFC 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 +/* 802CECA0 002CBC00 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) +/* 802CECA4 002CBC04 48 00 00 1C */ b lbl_802CECC0 +lbl_802CECA8: +/* 802CECA8 002CBC08 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CECAC 002CBC0C 80 8D A6 68 */ lwz r4, lbl_805A9228@sda21(r13) +/* 802CECB0 002CBC10 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CECB4 002CBC14 7C 18 02 14 */ add r0, r24, r0 +/* 802CECB8 002CBC18 54 00 10 3A */ slwi r0, r0, 2 +/* 802CECBC 002CBC1C 7C 64 02 14 */ add r3, r4, r0 +lbl_802CECC0: +/* 802CECC0 002CBC20 83 03 00 00 */ lwz r24, 0(r3) +/* 802CECC4 002CBC24 28 18 00 00 */ cmplwi r24, 0 +/* 802CECC8 002CBC28 41 82 00 7C */ beq lbl_802CED44 +/* 802CECCC 002CBC2C 7E E3 BB 78 */ mr r3, r23 +/* 802CECD0 002CBC30 81 97 00 00 */ lwz r12, 0(r23) +/* 802CECD4 002CBC34 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CECD8 002CBC38 7D 89 03 A6 */ mtctr r12 +/* 802CECDC 002CBC3C 4E 80 04 21 */ bctrl +/* 802CECE0 002CBC40 7C 64 1B 78 */ mr r4, r3 +/* 802CECE4 002CBC44 7F C3 F3 78 */ mr r3, r30 +/* 802CECE8 002CBC48 48 00 66 65 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CECEC 002CBC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CECF0 002CBC50 41 82 00 2C */ beq lbl_802CED1C +/* 802CECF4 002CBC54 7F E3 FB 78 */ mr r3, r31 +/* 802CECF8 002CBC58 81 9F 00 00 */ lwz r12, 0(r31) +/* 802CECFC 002CBC5C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CED00 002CBC60 7D 89 03 A6 */ mtctr r12 +/* 802CED04 002CBC64 4E 80 04 21 */ bctrl +/* 802CED08 002CBC68 7C 64 1B 78 */ mr r4, r3 +/* 802CED0C 002CBC6C 7F A3 EB 78 */ mr r3, r29 +/* 802CED10 002CBC70 48 00 66 3D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CED14 002CBC74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CED18 002CBC78 40 82 00 0C */ bne lbl_802CED24 +lbl_802CED1C: +/* 802CED1C 002CBC7C 38 60 00 00 */ li r3, 0 +/* 802CED20 002CBC80 48 00 00 28 */ b lbl_802CED48 +lbl_802CED24: +/* 802CED24 002CBC84 7F 0C C3 78 */ mr r12, r24 +/* 802CED28 002CBC88 7F 23 CB 78 */ mr r3, r25 +/* 802CED2C 002CBC8C 7F 44 D3 78 */ mr r4, r26 +/* 802CED30 002CBC90 7F 65 DB 78 */ mr r5, r27 +/* 802CED34 002CBC94 7F 86 E3 78 */ mr r6, r28 +/* 802CED38 002CBC98 7D 89 03 A6 */ mtctr r12 +/* 802CED3C 002CBC9C 4E 80 04 21 */ bctrl +/* 802CED40 002CBCA0 48 00 00 08 */ b lbl_802CED48 +lbl_802CED44: +/* 802CED44 002CBCA4 38 60 00 00 */ li r3, 0 +lbl_802CED48: +/* 802CED48 002CBCA8 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802CED4C 002CBCAC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CED50 002CBCB0 7C 08 03 A6 */ mtlr r0 +/* 802CED54 002CBCB4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CED58 002CBCB8 4E 80 00 20 */ blr + +.global InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList +InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802CED5C 002CBCBC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802CED60 002CBCC0 7C 08 02 A6 */ mflr r0 +/* 802CED64 002CBCC4 90 01 01 14 */ stw r0, 0x114(r1) +/* 802CED68 002CBCC8 BF 01 00 F0 */ stmw r24, 0xf0(r1) +/* 802CED6C 002CBCCC 7C 79 1B 78 */ mr r25, r3 +/* 802CED70 002CBCD0 7C 9A 23 78 */ mr r26, r4 +/* 802CED74 002CBCD4 83 C3 00 00 */ lwz r30, 0(r3) +/* 802CED78 002CBCD8 83 A3 00 38 */ lwz r29, 0x38(r3) +/* 802CED7C 002CBCDC 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CED80 002CBCE0 7F C3 F3 78 */ mr r3, r30 +/* 802CED84 002CBCE4 83 99 00 04 */ lwz r28, 4(r25) +/* 802CED88 002CBCE8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CED8C 002CBCEC 83 79 00 3C */ lwz r27, 0x3c(r25) +/* 802CED90 002CBCF0 7D 89 03 A6 */ mtctr r12 +/* 802CED94 002CBCF4 4E 80 04 21 */ bctrl +/* 802CED98 002CBCF8 7C 7F 1B 78 */ mr r31, r3 +/* 802CED9C 002CBCFC 7F A3 EB 78 */ mr r3, r29 +/* 802CEDA0 002CBD00 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEDA4 002CBD04 81 8C 00 08 */ lwz r12, 8(r12) +/* 802CEDA8 002CBD08 7D 89 03 A6 */ mtctr r12 +/* 802CEDAC 002CBD0C 4E 80 04 21 */ bctrl +/* 802CEDB0 002CBD10 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEDB4 002CBD14 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEDB8 002CBD18 41 82 00 10 */ beq lbl_802CEDC8 +/* 802CEDBC 002CBD1C 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEDC0 002CBD20 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEDC4 002CBD24 40 82 00 14 */ bne lbl_802CEDD8 +lbl_802CEDC8: +/* 802CEDC8 002CBD28 38 00 00 00 */ li r0, 0 +/* 802CEDCC 002CBD2C 38 8D A6 6C */ addi r4, r13, lbl_805A922C@sda21 +/* 802CEDD0 002CBD30 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CEDD4 002CBD34 48 00 00 1C */ b lbl_802CEDF0 +lbl_802CEDD8: +/* 802CEDD8 002CBD38 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEDDC 002CBD3C 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) +/* 802CEDE0 002CBD40 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CEDE4 002CBD44 7C 1F 02 14 */ add r0, r31, r0 +/* 802CEDE8 002CBD48 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEDEC 002CBD4C 7C 84 02 14 */ add r4, r4, r0 +lbl_802CEDF0: +/* 802CEDF0 002CBD50 83 04 00 00 */ lwz r24, 0(r4) +/* 802CEDF4 002CBD54 28 18 00 00 */ cmplwi r24, 0 +/* 802CEDF8 002CBD58 41 82 00 74 */ beq lbl_802CEE6C +/* 802CEDFC 002CBD5C 7F A3 EB 78 */ mr r3, r29 +/* 802CEE00 002CBD60 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEE04 002CBD64 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEE08 002CBD68 7D 89 03 A6 */ mtctr r12 +/* 802CEE0C 002CBD6C 4E 80 04 21 */ bctrl +/* 802CEE10 002CBD70 7C 64 1B 78 */ mr r4, r3 +/* 802CEE14 002CBD74 7F 83 E3 78 */ mr r3, r28 +/* 802CEE18 002CBD78 48 00 65 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEE1C 002CBD7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEE20 002CBD80 41 82 00 2C */ beq lbl_802CEE4C +/* 802CEE24 002CBD84 7F C3 F3 78 */ mr r3, r30 +/* 802CEE28 002CBD88 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEE2C 002CBD8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEE30 002CBD90 7D 89 03 A6 */ mtctr r12 +/* 802CEE34 002CBD94 4E 80 04 21 */ bctrl +/* 802CEE38 002CBD98 7C 64 1B 78 */ mr r4, r3 +/* 802CEE3C 002CBD9C 7F 63 DB 78 */ mr r3, r27 +/* 802CEE40 002CBDA0 48 00 65 0D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEE44 002CBDA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEE48 002CBDA8 40 82 00 0C */ bne lbl_802CEE54 +lbl_802CEE4C: +/* 802CEE4C 002CBDAC 38 60 00 00 */ li r3, 0 +/* 802CEE50 002CBDB0 48 00 01 94 */ b lbl_802CEFE4 +lbl_802CEE54: +/* 802CEE54 002CBDB4 7F 0C C3 78 */ mr r12, r24 +/* 802CEE58 002CBDB8 7F 23 CB 78 */ mr r3, r25 +/* 802CEE5C 002CBDBC 7F 44 D3 78 */ mr r4, r26 +/* 802CEE60 002CBDC0 7D 89 03 A6 */ mtctr r12 +/* 802CEE64 002CBDC4 4E 80 04 21 */ bctrl +/* 802CEE68 002CBDC8 48 00 01 7C */ b lbl_802CEFE4 +lbl_802CEE6C: +/* 802CEE6C 002CBDCC 3C 03 00 01 */ addis r0, r3, 1 +/* 802CEE70 002CBDD0 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEE74 002CBDD4 41 82 00 10 */ beq lbl_802CEE84 +/* 802CEE78 002CBDD8 3C 1F 00 01 */ addis r0, r31, 1 +/* 802CEE7C 002CBDDC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CEE80 002CBDE0 40 82 00 14 */ bne lbl_802CEE94 +lbl_802CEE84: +/* 802CEE84 002CBDE4 38 00 00 00 */ li r0, 0 +/* 802CEE88 002CBDE8 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 +/* 802CEE8C 002CBDEC 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CEE90 002CBDF0 48 00 00 1C */ b lbl_802CEEAC +lbl_802CEE94: +/* 802CEE94 002CBDF4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) +/* 802CEE98 002CBDF8 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) +/* 802CEE9C 002CBDFC 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 802CEEA0 002CBE00 7C 03 02 14 */ add r0, r3, r0 +/* 802CEEA4 002CBE04 54 00 10 3A */ slwi r0, r0, 2 +/* 802CEEA8 002CBE08 7C 64 02 14 */ add r3, r4, r0 +lbl_802CEEAC: +/* 802CEEAC 002CBE0C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CEEB0 002CBE10 28 1F 00 00 */ cmplwi r31, 0 +/* 802CEEB4 002CBE14 41 82 01 2C */ beq lbl_802CEFE0 +/* 802CEEB8 002CBE18 7F A3 EB 78 */ mr r3, r29 +/* 802CEEBC 002CBE1C 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CEEC0 002CBE20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEEC4 002CBE24 7D 89 03 A6 */ mtctr r12 +/* 802CEEC8 002CBE28 4E 80 04 21 */ bctrl +/* 802CEECC 002CBE2C 7C 64 1B 78 */ mr r4, r3 +/* 802CEED0 002CBE30 7F 83 E3 78 */ mr r3, r28 +/* 802CEED4 002CBE34 48 00 64 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEED8 002CBE38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEEDC 002CBE3C 41 82 00 2C */ beq lbl_802CEF08 +/* 802CEEE0 002CBE40 7F C3 F3 78 */ mr r3, r30 +/* 802CEEE4 002CBE44 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CEEE8 002CBE48 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802CEEEC 002CBE4C 7D 89 03 A6 */ mtctr r12 +/* 802CEEF0 002CBE50 4E 80 04 21 */ bctrl +/* 802CEEF4 002CBE54 7C 64 1B 78 */ mr r4, r3 +/* 802CEEF8 002CBE58 7F 63 DB 78 */ mr r3, r27 +/* 802CEEFC 002CBE5C 48 00 64 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802CEF00 002CBE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEF04 002CBE64 40 82 00 0C */ bne lbl_802CEF10 +lbl_802CEF08: +/* 802CEF08 002CBE68 38 60 00 00 */ li r3, 0 +/* 802CEF0C 002CBE6C 48 00 00 D8 */ b lbl_802CEFE4 +lbl_802CEF10: +/* 802CEF10 002CBE70 80 99 00 38 */ lwz r4, 0x38(r25) +/* 802CEF14 002CBE74 3B 61 00 10 */ addi r27, r1, 0x10 +/* 802CEF18 002CBE78 80 19 00 3C */ lwz r0, 0x3c(r25) +/* 802CEF1C 002CBE7C 7F 63 DB 78 */ mr r3, r27 +/* 802CEF20 002CBE80 90 81 00 08 */ stw r4, 8(r1) +/* 802CEF24 002CBE84 38 99 00 40 */ addi r4, r25, 0x40 +/* 802CEF28 002CBE88 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CEF2C 002CBE8C 48 04 3C 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF30 002CBE90 80 B9 00 00 */ lwz r5, 0(r25) +/* 802CEF34 002CBE94 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CEF38 002CBE98 80 19 00 04 */ lwz r0, 4(r25) +/* 802CEF3C 002CBE9C 38 99 00 08 */ addi r4, r25, 8 +/* 802CEF40 002CBEA0 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802CEF44 002CBEA4 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CEF48 002CBEA8 48 04 3C 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF4C 002CBEAC 80 A1 00 08 */ lwz r5, 8(r1) +/* 802CEF50 002CBEB0 7F 64 DB 78 */ mr r4, r27 +/* 802CEF54 002CBEB4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802CEF58 002CBEB8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802CEF5C 002CBEBC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802CEF60 002CBEC0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802CEF64 002CBEC4 48 04 3C 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF68 002CBEC8 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802CEF6C 002CBECC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802CEF70 002CBED0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CEF74 002CBED4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CEF78 002CBED8 90 A1 00 B0 */ stw r5, 0xb0(r1) +/* 802CEF7C 002CBEDC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CEF80 002CBEE0 48 04 3B F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CEF84 002CBEE4 7F EC FB 78 */ mr r12, r31 +/* 802CEF88 002CBEE8 7F 44 D3 78 */ mr r4, r26 +/* 802CEF8C 002CBEEC 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CEF90 002CBEF0 83 3A 00 00 */ lwz r25, 0(r26) +/* 802CEF94 002CBEF4 7D 89 03 A6 */ mtctr r12 +/* 802CEF98 002CBEF8 4E 80 04 21 */ bctrl +/* 802CEF9C 002CBEFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CEFA0 002CBF00 41 82 00 38 */ beq lbl_802CEFD8 +/* 802CEFA4 002CBF04 1C 19 00 60 */ mulli r0, r25, 0x60 +/* 802CEFA8 002CBF08 7F 7A 02 14 */ add r27, r26, r0 +/* 802CEFAC 002CBF0C 3B 7B 00 04 */ addi r27, r27, 4 +/* 802CEFB0 002CBF10 48 00 00 14 */ b lbl_802CEFC4 +lbl_802CEFB4: +/* 802CEFB4 002CBF14 7F 63 DB 78 */ mr r3, r27 +/* 802CEFB8 002CBF18 4B FF F1 01 */ bl Swap__14CCollisionInfoFv +/* 802CEFBC 002CBF1C 3B 7B 00 60 */ addi r27, r27, 0x60 +/* 802CEFC0 002CBF20 3B 39 00 01 */ addi r25, r25, 1 +lbl_802CEFC4: +/* 802CEFC4 002CBF24 80 1A 00 00 */ lwz r0, 0(r26) +/* 802CEFC8 002CBF28 7C 19 00 00 */ cmpw r25, r0 +/* 802CEFCC 002CBF2C 41 80 FF E8 */ blt lbl_802CEFB4 +/* 802CEFD0 002CBF30 38 60 00 01 */ li r3, 1 +/* 802CEFD4 002CBF34 48 00 00 10 */ b lbl_802CEFE4 +lbl_802CEFD8: +/* 802CEFD8 002CBF38 38 60 00 00 */ li r3, 0 +/* 802CEFDC 002CBF3C 48 00 00 08 */ b lbl_802CEFE4 +lbl_802CEFE0: +/* 802CEFE0 002CBF40 38 60 00 00 */ li r3, 0 +lbl_802CEFE4: +/* 802CEFE4 002CBF44 BB 01 00 F0 */ lmw r24, 0xf0(r1) +/* 802CEFE8 002CBF48 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802CEFEC 002CBF4C 7C 08 03 A6 */ mtlr r0 +/* 802CEFF0 002CBF50 38 21 01 10 */ addi r1, r1, 0x110 +/* 802CEFF4 002CBF54 4E 80 00 20 */ blr + +.global InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison +InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison: +/* 802CEFF8 002CBF58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CEFFC 002CBF5C 7C 08 02 A6 */ mflr r0 +/* 802CF000 002CBF60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF004 002CBF64 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF008 002CBF68 3B A0 00 00 */ li r29, 0 +/* 802CF00C 002CBF6C 7C 7F 1B 78 */ mr r31, r3 +/* 802CF010 002CBF70 7F BC EB 78 */ mr r28, r29 +/* 802CF014 002CBF74 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF018 002CBF78 48 00 00 2C */ b lbl_802CF044 +lbl_802CF01C: +/* 802CF01C 002CBF7C 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF020 002CBF80 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF024 002CBF84 7F C4 F3 78 */ mr r4, r30 +/* 802CF028 002CBF88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF02C 002CBF8C 48 0C 0F 71 */ bl strcmp +/* 802CF030 002CBF90 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF034 002CBF94 40 82 00 08 */ bne lbl_802CF03C +/* 802CF038 002CBF98 48 00 00 20 */ b lbl_802CF058 +lbl_802CF03C: +/* 802CF03C 002CBF9C 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF040 002CBFA0 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF044: +/* 802CF044 002CBFA4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF048 002CBFA8 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF04C 002CBFAC 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF050 002CBFB0 41 80 FF CC */ blt lbl_802CF01C +/* 802CF054 002CBFB4 3B A0 FF FF */ li r29, -1 +lbl_802CF058: +/* 802CF058 002CBFB8 3B 80 00 00 */ li r28, 0 +/* 802CF05C 002CBFBC 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF060 002CBFC0 7F 9B E3 78 */ mr r27, r28 +/* 802CF064 002CBFC4 48 00 00 2C */ b lbl_802CF090 +lbl_802CF068: +/* 802CF068 002CBFC8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF06C 002CBFCC 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF070 002CBFD0 7F C4 F3 78 */ mr r4, r30 +/* 802CF074 002CBFD4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF078 002CBFD8 48 0C 0F 25 */ bl strcmp +/* 802CF07C 002CBFDC 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF080 002CBFE0 40 82 00 08 */ bne lbl_802CF088 +/* 802CF084 002CBFE4 48 00 00 20 */ b lbl_802CF0A4 +lbl_802CF088: +/* 802CF088 002CBFE8 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF08C 002CBFEC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF090: +/* 802CF090 002CBFF0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF094 002CBFF4 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF098 002CBFF8 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF09C 002CBFFC 41 80 FF CC */ blt lbl_802CF068 +/* 802CF0A0 002CC000 3B 80 FF FF */ li r28, -1 +lbl_802CF0A4: +/* 802CF0A4 002CC004 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF0A8 002CC008 38 00 00 00 */ li r0, 0 +/* 802CF0AC 002CC00C 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF0B0 002CC010 40 80 00 20 */ bge lbl_802CF0D0 +/* 802CF0B4 002CC014 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF0B8 002CC018 40 80 00 18 */ bge lbl_802CF0D0 +/* 802CF0BC 002CC01C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF0C0 002CC020 41 80 00 10 */ blt lbl_802CF0D0 +/* 802CF0C4 002CC024 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF0C8 002CC028 41 80 00 08 */ blt lbl_802CF0D0 +/* 802CF0CC 002CC02C 38 00 00 01 */ li r0, 1 +lbl_802CF0D0: +/* 802CF0D0 002CC030 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF0D4 002CC034 41 82 00 48 */ beq lbl_802CF11C +/* 802CF0D8 002CC038 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF0DC 002CC03C 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF0E0 002CC040 41 82 00 10 */ beq lbl_802CF0F0 +/* 802CF0E4 002CC044 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF0E8 002CC048 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF0EC 002CC04C 40 82 00 14 */ bne lbl_802CF100 +lbl_802CF0F0: +/* 802CF0F0 002CC050 38 00 00 00 */ li r0, 0 +/* 802CF0F4 002CC054 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 +/* 802CF0F8 002CC058 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) +/* 802CF0FC 002CC05C 48 00 00 18 */ b lbl_802CF114 +lbl_802CF100: +/* 802CF100 002CC060 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF104 002CC064 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF108 002CC068 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF10C 002CC06C 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF110 002CC070 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF114: +/* 802CF114 002CC074 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF118 002CC078 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF11C: +/* 802CF11C 002CC07C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF120 002CC080 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF124 002CC084 7C 08 03 A6 */ mtlr r0 +/* 802CF128 002CC088 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF12C 002CC08C 4E 80 00 20 */ blr + +.global InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison +InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison: +/* 802CF130 002CC090 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF134 002CC094 7C 08 02 A6 */ mflr r0 +/* 802CF138 002CC098 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF13C 002CC09C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF140 002CC0A0 3B A0 00 00 */ li r29, 0 +/* 802CF144 002CC0A4 7C 7F 1B 78 */ mr r31, r3 +/* 802CF148 002CC0A8 7F BC EB 78 */ mr r28, r29 +/* 802CF14C 002CC0AC 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF150 002CC0B0 48 00 00 2C */ b lbl_802CF17C +lbl_802CF154: +/* 802CF154 002CC0B4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF158 002CC0B8 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF15C 002CC0BC 7F C4 F3 78 */ mr r4, r30 +/* 802CF160 002CC0C0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF164 002CC0C4 48 0C 0E 39 */ bl strcmp +/* 802CF168 002CC0C8 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF16C 002CC0CC 40 82 00 08 */ bne lbl_802CF174 +/* 802CF170 002CC0D0 48 00 00 20 */ b lbl_802CF190 +lbl_802CF174: +/* 802CF174 002CC0D4 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF178 002CC0D8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF17C: +/* 802CF17C 002CC0DC 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF180 002CC0E0 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF184 002CC0E4 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF188 002CC0E8 41 80 FF CC */ blt lbl_802CF154 +/* 802CF18C 002CC0EC 3B A0 FF FF */ li r29, -1 +lbl_802CF190: +/* 802CF190 002CC0F0 3B 80 00 00 */ li r28, 0 +/* 802CF194 002CC0F4 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF198 002CC0F8 7F 9B E3 78 */ mr r27, r28 +/* 802CF19C 002CC0FC 48 00 00 2C */ b lbl_802CF1C8 +lbl_802CF1A0: +/* 802CF1A0 002CC100 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF1A4 002CC104 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF1A8 002CC108 7F C4 F3 78 */ mr r4, r30 +/* 802CF1AC 002CC10C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF1B0 002CC110 48 0C 0D ED */ bl strcmp +/* 802CF1B4 002CC114 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF1B8 002CC118 40 82 00 08 */ bne lbl_802CF1C0 +/* 802CF1BC 002CC11C 48 00 00 20 */ b lbl_802CF1DC +lbl_802CF1C0: +/* 802CF1C0 002CC120 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF1C4 002CC124 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF1C8: +/* 802CF1C8 002CC128 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF1CC 002CC12C 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF1D0 002CC130 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF1D4 002CC134 41 80 FF CC */ blt lbl_802CF1A0 +/* 802CF1D8 002CC138 3B 80 FF FF */ li r28, -1 +lbl_802CF1DC: +/* 802CF1DC 002CC13C 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF1E0 002CC140 38 00 00 00 */ li r0, 0 +/* 802CF1E4 002CC144 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF1E8 002CC148 40 80 00 20 */ bge lbl_802CF208 +/* 802CF1EC 002CC14C 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF1F0 002CC150 40 80 00 18 */ bge lbl_802CF208 +/* 802CF1F4 002CC154 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF1F8 002CC158 41 80 00 10 */ blt lbl_802CF208 +/* 802CF1FC 002CC15C 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF200 002CC160 41 80 00 08 */ blt lbl_802CF208 +/* 802CF204 002CC164 38 00 00 01 */ li r0, 1 +lbl_802CF208: +/* 802CF208 002CC168 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF20C 002CC16C 41 82 00 48 */ beq lbl_802CF254 +/* 802CF210 002CC170 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF214 002CC174 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF218 002CC178 41 82 00 10 */ beq lbl_802CF228 +/* 802CF21C 002CC17C 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF220 002CC180 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF224 002CC184 40 82 00 14 */ bne lbl_802CF238 +lbl_802CF228: +/* 802CF228 002CC188 38 00 00 00 */ li r0, 0 +/* 802CF22C 002CC18C 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 +/* 802CF230 002CC190 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) +/* 802CF234 002CC194 48 00 00 18 */ b lbl_802CF24C +lbl_802CF238: +/* 802CF238 002CC198 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF23C 002CC19C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF240 002CC1A0 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF244 002CC1A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF248 002CC1A8 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF24C: +/* 802CF24C 002CC1AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF250 002CC1B0 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF254: +/* 802CF254 002CC1B4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF258 002CC1B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF25C 002CC1BC 7C 08 03 A6 */ mtlr r0 +/* 802CF260 002CC1C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF264 002CC1C4 4E 80 00 20 */ blr + +.global InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison +InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison: +/* 802CF268 002CC1C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF26C 002CC1CC 7C 08 02 A6 */ mflr r0 +/* 802CF270 002CC1D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF274 002CC1D4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802CF278 002CC1D8 3B A0 00 00 */ li r29, 0 +/* 802CF27C 002CC1DC 7C 7F 1B 78 */ mr r31, r3 +/* 802CF280 002CC1E0 7F BC EB 78 */ mr r28, r29 +/* 802CF284 002CC1E4 83 C3 00 04 */ lwz r30, 4(r3) +/* 802CF288 002CC1E8 48 00 00 2C */ b lbl_802CF2B4 +lbl_802CF28C: +/* 802CF28C 002CC1EC 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF290 002CC1F0 38 1C 00 04 */ addi r0, r28, 4 +/* 802CF294 002CC1F4 7F C4 F3 78 */ mr r4, r30 +/* 802CF298 002CC1F8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF29C 002CC1FC 48 0C 0D 01 */ bl strcmp +/* 802CF2A0 002CC200 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF2A4 002CC204 40 82 00 08 */ bne lbl_802CF2AC +/* 802CF2A8 002CC208 48 00 00 20 */ b lbl_802CF2C8 +lbl_802CF2AC: +/* 802CF2AC 002CC20C 3B 9C 00 08 */ addi r28, r28, 8 +/* 802CF2B0 002CC210 3B BD 00 01 */ addi r29, r29, 1 +lbl_802CF2B4: +/* 802CF2B4 002CC214 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF2B8 002CC218 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF2BC 002CC21C 7C 1D 00 00 */ cmpw r29, r0 +/* 802CF2C0 002CC220 41 80 FF CC */ blt lbl_802CF28C +/* 802CF2C4 002CC224 3B A0 FF FF */ li r29, -1 +lbl_802CF2C8: +/* 802CF2C8 002CC228 3B 80 00 00 */ li r28, 0 +/* 802CF2CC 002CC22C 83 DF 00 08 */ lwz r30, 8(r31) +/* 802CF2D0 002CC230 7F 9B E3 78 */ mr r27, r28 +/* 802CF2D4 002CC234 48 00 00 2C */ b lbl_802CF300 +lbl_802CF2D8: +/* 802CF2D8 002CC238 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802CF2DC 002CC23C 38 1B 00 04 */ addi r0, r27, 4 +/* 802CF2E0 002CC240 7F C4 F3 78 */ mr r4, r30 +/* 802CF2E4 002CC244 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802CF2E8 002CC248 48 0C 0C B5 */ bl strcmp +/* 802CF2EC 002CC24C 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF2F0 002CC250 40 82 00 08 */ bne lbl_802CF2F8 +/* 802CF2F4 002CC254 48 00 00 20 */ b lbl_802CF314 +lbl_802CF2F8: +/* 802CF2F8 002CC258 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CF2FC 002CC25C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CF300: +/* 802CF300 002CC260 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF304 002CC264 80 03 00 04 */ lwz r0, 4(r3) +/* 802CF308 002CC268 7C 1C 00 00 */ cmpw r28, r0 +/* 802CF30C 002CC26C 41 80 FF CC */ blt lbl_802CF2D8 +/* 802CF310 002CC270 3B 80 FF FF */ li r28, -1 +lbl_802CF314: +/* 802CF314 002CC274 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) +/* 802CF318 002CC278 38 00 00 00 */ li r0, 0 +/* 802CF31C 002CC27C 7C 1D 18 00 */ cmpw r29, r3 +/* 802CF320 002CC280 40 80 00 20 */ bge lbl_802CF340 +/* 802CF324 002CC284 7C 1C 18 00 */ cmpw r28, r3 +/* 802CF328 002CC288 40 80 00 18 */ bge lbl_802CF340 +/* 802CF32C 002CC28C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CF330 002CC290 41 80 00 10 */ blt lbl_802CF340 +/* 802CF334 002CC294 2C 1C 00 00 */ cmpwi r28, 0 +/* 802CF338 002CC298 41 80 00 08 */ blt lbl_802CF340 +/* 802CF33C 002CC29C 38 00 00 01 */ li r0, 1 +lbl_802CF340: +/* 802CF340 002CC2A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802CF344 002CC2A4 41 82 00 48 */ beq lbl_802CF38C +/* 802CF348 002CC2A8 3C 1D 00 01 */ addis r0, r29, 1 +/* 802CF34C 002CC2AC 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF350 002CC2B0 41 82 00 10 */ beq lbl_802CF360 +/* 802CF354 002CC2B4 3C 1C 00 01 */ addis r0, r28, 1 +/* 802CF358 002CC2B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CF35C 002CC2BC 40 82 00 14 */ bne lbl_802CF370 +lbl_802CF360: +/* 802CF360 002CC2C0 38 00 00 00 */ li r0, 0 +/* 802CF364 002CC2C4 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 +/* 802CF368 002CC2C8 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +/* 802CF36C 002CC2CC 48 00 00 18 */ b lbl_802CF384 +lbl_802CF370: +/* 802CF370 002CC2D0 7C 1C 19 D6 */ mullw r0, r28, r3 +/* 802CF374 002CC2D4 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF378 002CC2D8 7C 1D 02 14 */ add r0, r29, r0 +/* 802CF37C 002CC2DC 54 00 10 3A */ slwi r0, r0, 2 +/* 802CF380 002CC2E0 7C 63 02 14 */ add r3, r3, r0 +lbl_802CF384: +/* 802CF384 002CC2E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 802CF388 002CC2E8 90 03 00 00 */ stw r0, 0(r3) +lbl_802CF38C: +/* 802CF38C 002CC2EC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802CF390 002CC2F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF394 002CC2F4 7C 08 03 A6 */ mtlr r0 +/* 802CF398 002CC2F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF39C 002CC2FC 4E 80 00 20 */ blr + +.global InitEndColliders__19CCollisionPrimitiveFv +InitEndColliders__19CCollisionPrimitiveFv: +/* 802CF3A0 002CC300 81 0D A6 50 */ lwz r8, lbl_805A9210@sda21(r13) +/* 802CF3A4 002CC304 39 20 00 00 */ li r9, 0 +/* 802CF3A8 002CC308 38 E0 00 00 */ li r7, 0 +/* 802CF3AC 002CC30C 48 00 00 68 */ b lbl_802CF414 +lbl_802CF3B0: +/* 802CF3B0 002CC310 38 C0 00 00 */ li r6, 0 +/* 802CF3B4 002CC314 3C A9 00 01 */ addis r5, r9, 1 +/* 802CF3B8 002CC318 7C C4 33 78 */ mr r4, r6 +/* 802CF3BC 002CC31C 39 40 00 00 */ li r10, 0 +/* 802CF3C0 002CC320 7C C0 33 78 */ mr r0, r6 +/* 802CF3C4 002CC324 7D 09 03 A6 */ mtctr r8 +/* 802CF3C8 002CC328 2C 08 00 00 */ cmpwi r8, 0 +/* 802CF3CC 002CC32C 40 81 00 40 */ ble lbl_802CF40C +lbl_802CF3D0: +/* 802CF3D0 002CC330 28 05 FF FF */ cmplwi r5, 0xffff +/* 802CF3D4 002CC334 41 82 00 10 */ beq lbl_802CF3E4 +/* 802CF3D8 002CC338 3C 6A 00 01 */ addis r3, r10, 1 +/* 802CF3DC 002CC33C 28 03 FF FF */ cmplwi r3, 0xffff +/* 802CF3E0 002CC340 40 82 00 08 */ bne lbl_802CF3E8 +lbl_802CF3E4: +/* 802CF3E4 002CC344 90 8D A6 6C */ stw r4, lbl_805A922C@sda21(r13) +lbl_802CF3E8: +/* 802CF3E8 002CC348 3C 6A 00 01 */ addis r3, r10, 1 +/* 802CF3EC 002CC34C 28 03 FF FF */ cmplwi r3, 0xffff +/* 802CF3F0 002CC350 41 82 00 0C */ beq lbl_802CF3FC +/* 802CF3F4 002CC354 28 05 FF FF */ cmplwi r5, 0xffff +/* 802CF3F8 002CC358 40 82 00 08 */ bne lbl_802CF400 +lbl_802CF3FC: +/* 802CF3FC 002CC35C 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) +lbl_802CF400: +/* 802CF400 002CC360 7C C6 42 14 */ add r6, r6, r8 +/* 802CF404 002CC364 39 4A 00 01 */ addi r10, r10, 1 +/* 802CF408 002CC368 42 00 FF C8 */ bdnz lbl_802CF3D0 +lbl_802CF40C: +/* 802CF40C 002CC36C 7C E7 42 14 */ add r7, r7, r8 +/* 802CF410 002CC370 39 29 00 01 */ addi r9, r9, 1 +lbl_802CF414: +/* 802CF414 002CC374 7C 09 40 00 */ cmpw r9, r8 +/* 802CF418 002CC378 41 80 FF 98 */ blt lbl_802CF3B0 +/* 802CF41C 002CC37C 38 00 00 01 */ li r0, 1 +/* 802CF420 002CC380 38 60 00 00 */ li r3, 0 +/* 802CF424 002CC384 98 6D A6 58 */ stb r3, lbl_805A9218@sda21(r13) +/* 802CF428 002CC388 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) +/* 802CF42C 002CC38C 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) +/* 802CF430 002CC390 4E 80 00 20 */ blr + +.global InitBeginColliders__19CCollisionPrimitiveFv +InitBeginColliders__19CCollisionPrimitiveFv: +/* 802CF434 002CC394 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF438 002CC398 7C 08 02 A6 */ mflr r0 +/* 802CF43C 002CC39C 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF440 002CC3A0 38 A0 00 00 */ li r5, 0 +/* 802CF444 002CC3A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF448 002CC3A8 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF44C 002CC3AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF450 002CC3B0 93 C1 00 08 */ stw r30, 8(r1) +/* 802CF454 002CC3B4 80 CD A6 5C */ lwz r6, lbl_805A921C@sda21(r13) +/* 802CF458 002CC3B8 80 06 00 04 */ lwz r0, 4(r6) +/* 802CF45C 002CC3BC 7C 00 01 D6 */ mullw r0, r0, r0 +/* 802CF460 002CC3C0 54 1E 10 3A */ slwi r30, r0, 2 +/* 802CF464 002CC3C4 7F C3 F3 78 */ mr r3, r30 +/* 802CF468 002CC3C8 48 04 63 B1 */ bl __nwa__FUlPCcPCc +/* 802CF46C 002CC3CC 7C 7F 1B 78 */ mr r31, r3 +/* 802CF470 002CC3D0 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF474 002CC3D4 48 04 64 BD */ bl Free__7CMemoryFPCv +/* 802CF478 002CC3D8 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF47C 002CC3DC 93 ED A6 60 */ stw r31, lbl_805A9220@sda21(r13) +/* 802CF480 002CC3E0 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF484 002CC3E4 38 A0 00 00 */ li r5, 0 +/* 802CF488 002CC3E8 7F C3 F3 78 */ mr r3, r30 +/* 802CF48C 002CC3EC 48 04 63 8D */ bl __nwa__FUlPCcPCc +/* 802CF490 002CC3F0 7C 7F 1B 78 */ mr r31, r3 +/* 802CF494 002CC3F4 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF498 002CC3F8 48 04 64 99 */ bl Free__7CMemoryFPCv +/* 802CF49C 002CC3FC 3C 60 80 3D */ lis r3, lbl_803D6A48@ha +/* 802CF4A0 002CC400 93 ED A6 64 */ stw r31, lbl_805A9224@sda21(r13) +/* 802CF4A4 002CC404 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l +/* 802CF4A8 002CC408 38 A0 00 00 */ li r5, 0 +/* 802CF4AC 002CC40C 7F C3 F3 78 */ mr r3, r30 +/* 802CF4B0 002CC410 48 04 63 69 */ bl __nwa__FUlPCcPCc +/* 802CF4B4 002CC414 7C 7F 1B 78 */ mr r31, r3 +/* 802CF4B8 002CC418 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF4BC 002CC41C 48 04 64 75 */ bl Free__7CMemoryFPCv +/* 802CF4C0 002CC420 93 ED A6 68 */ stw r31, lbl_805A9228@sda21(r13) +/* 802CF4C4 002CC424 7F C5 F3 78 */ mr r5, r30 +/* 802CF4C8 002CC428 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) +/* 802CF4CC 002CC42C 38 80 00 00 */ li r4, 0 +/* 802CF4D0 002CC430 4B D3 3E D9 */ bl memset +/* 802CF4D4 002CC434 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) +/* 802CF4D8 002CC438 7F C5 F3 78 */ mr r5, r30 +/* 802CF4DC 002CC43C 38 80 00 00 */ li r4, 0 +/* 802CF4E0 002CC440 4B D3 3E C9 */ bl memset +/* 802CF4E4 002CC444 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) +/* 802CF4E8 002CC448 7F C5 F3 78 */ mr r5, r30 +/* 802CF4EC 002CC44C 38 80 00 00 */ li r4, 0 +/* 802CF4F0 002CC450 4B D3 3E B9 */ bl memset +/* 802CF4F4 002CC454 38 00 00 01 */ li r0, 1 +/* 802CF4F8 002CC458 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) +/* 802CF4FC 002CC45C 4B FF F0 25 */ bl AddColliders__17InternalCollidersFv +/* 802CF500 002CC460 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CF504 002CC464 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CF508 002CC468 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CF50C 002CC46C 7C 08 03 A6 */ mtlr r0 +/* 802CF510 002CC470 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CF514 002CC474 4E 80 00 20 */ blr + +.global InitEndTypes__19CCollisionPrimitiveFv +InitEndTypes__19CCollisionPrimitiveFv: +/* 802CF518 002CC478 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CF51C 002CC47C 7C 08 02 A6 */ mflr r0 +/* 802CF520 002CC480 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CF524 002CC484 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CF528 002CC488 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802CF52C 002CC48C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CF530 002CC490 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF534 002CC494 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF538 002CC498 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF53C 002CC49C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802CF540 002CC4A0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CF544 002CC4A4 40 82 00 18 */ bne lbl_802CF55C +/* 802CF548 002CC4A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF54C 002CC4AC 40 82 00 10 */ bne lbl_802CF55C +/* 802CF550 002CC4B0 38 00 00 00 */ li r0, 0 +/* 802CF554 002CC4B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF558 002CC4B8 48 00 00 6C */ b lbl_802CF5C4 +lbl_802CF55C: +/* 802CF55C 002CC4BC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CF560 002CC4C0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802CF564 002CC4C4 40 82 00 10 */ bne lbl_802CF574 +/* 802CF568 002CC4C8 38 00 00 00 */ li r0, 0 +/* 802CF56C 002CC4CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF570 002CC4D0 48 00 00 18 */ b lbl_802CF588 +lbl_802CF574: +/* 802CF574 002CC4D4 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF578 002CC4D8 38 A0 00 00 */ li r5, 0 +/* 802CF57C 002CC4DC 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF580 002CC4E0 48 04 62 99 */ bl __nwa__FUlPCcPCc +/* 802CF584 002CC4E4 90 61 00 34 */ stw r3, 0x34(r1) +lbl_802CF588: +/* 802CF588 002CC4E8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802CF58C 002CC4EC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802CF590 002CC4F0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802CF594 002CC4F4 7C 09 03 A6 */ mtctr r0 +/* 802CF598 002CC4F8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF59C 002CC4FC 40 81 00 28 */ ble lbl_802CF5C4 +lbl_802CF5A0: +/* 802CF5A0 002CC500 28 03 00 00 */ cmplwi r3, 0 +/* 802CF5A4 002CC504 41 82 00 14 */ beq lbl_802CF5B8 +/* 802CF5A8 002CC508 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF5AC 002CC50C 90 03 00 00 */ stw r0, 0(r3) +/* 802CF5B0 002CC510 80 04 00 04 */ lwz r0, 4(r4) +/* 802CF5B4 002CC514 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF5B8: +/* 802CF5B8 002CC518 38 63 00 08 */ addi r3, r3, 8 +/* 802CF5BC 002CC51C 38 84 00 08 */ addi r4, r4, 8 +/* 802CF5C0 002CC520 42 00 FF E0 */ bdnz lbl_802CF5A0 +lbl_802CF5C4: +/* 802CF5C4 002CC524 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF5C8 002CC528 38 60 00 10 */ li r3, 0x10 +/* 802CF5CC 002CC52C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF5D0 002CC530 38 A0 00 00 */ li r5, 0 +/* 802CF5D4 002CC534 48 04 62 99 */ bl __nw__FUlPCcPCc +/* 802CF5D8 002CC538 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802CF5DC 002CC53C 41 82 00 98 */ beq lbl_802CF674 +/* 802CF5E0 002CC540 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802CF5E4 002CC544 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CF5E8 002CC548 90 7F 00 04 */ stw r3, 4(r31) +/* 802CF5EC 002CC54C 2C 03 00 00 */ cmpwi r3, 0 +/* 802CF5F0 002CC550 90 1F 00 08 */ stw r0, 8(r31) +/* 802CF5F4 002CC554 40 82 00 18 */ bne lbl_802CF60C +/* 802CF5F8 002CC558 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF5FC 002CC55C 40 82 00 10 */ bne lbl_802CF60C +/* 802CF600 002CC560 38 00 00 00 */ li r0, 0 +/* 802CF604 002CC564 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802CF608 002CC568 48 00 00 6C */ b lbl_802CF674 +lbl_802CF60C: +/* 802CF60C 002CC56C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF610 002CC570 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802CF614 002CC574 40 82 00 10 */ bne lbl_802CF624 +/* 802CF618 002CC578 38 00 00 00 */ li r0, 0 +/* 802CF61C 002CC57C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802CF620 002CC580 48 00 00 18 */ b lbl_802CF638 +lbl_802CF624: +/* 802CF624 002CC584 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF628 002CC588 38 A0 00 00 */ li r5, 0 +/* 802CF62C 002CC58C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF630 002CC590 48 04 61 E9 */ bl __nwa__FUlPCcPCc +/* 802CF634 002CC594 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_802CF638: +/* 802CF638 002CC598 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CF63C 002CC59C 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802CF640 002CC5A0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CF644 002CC5A4 7C 09 03 A6 */ mtctr r0 +/* 802CF648 002CC5A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF64C 002CC5AC 40 81 00 28 */ ble lbl_802CF674 +lbl_802CF650: +/* 802CF650 002CC5B0 28 03 00 00 */ cmplwi r3, 0 +/* 802CF654 002CC5B4 41 82 00 14 */ beq lbl_802CF668 +/* 802CF658 002CC5B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF65C 002CC5BC 90 03 00 00 */ stw r0, 0(r3) +/* 802CF660 002CC5C0 80 04 00 04 */ lwz r0, 4(r4) +/* 802CF664 002CC5C4 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF668: +/* 802CF668 002CC5C8 38 63 00 08 */ addi r3, r3, 8 +/* 802CF66C 002CC5CC 38 84 00 08 */ addi r4, r4, 8 +/* 802CF670 002CC5D0 42 00 FF E0 */ bdnz lbl_802CF650 +lbl_802CF674: +/* 802CF674 002CC5D4 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) +/* 802CF678 002CC5D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802CF67C 002CC5DC 41 82 00 4C */ beq lbl_802CF6C8 +/* 802CF680 002CC5E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF684 002CC5E4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF688 002CC5E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF68C 002CC5EC 7C 03 02 14 */ add r0, r3, r0 +/* 802CF690 002CC5F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF694 002CC5F4 7C 64 1B 78 */ mr r4, r3 +/* 802CF698 002CC5F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF69C 002CC5FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CF6A0 002CC600 90 61 00 08 */ stw r3, 8(r1) +/* 802CF6A4 002CC604 48 00 00 08 */ b lbl_802CF6AC +lbl_802CF6A8: +/* 802CF6A8 002CC608 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF6AC: +/* 802CF6AC 002CC60C 7C 04 00 40 */ cmplw r4, r0 +/* 802CF6B0 002CC610 40 82 FF F8 */ bne lbl_802CF6A8 +/* 802CF6B4 002CC614 28 03 00 00 */ cmplwi r3, 0 +/* 802CF6B8 002CC618 41 82 00 08 */ beq lbl_802CF6C0 +/* 802CF6BC 002CC61C 48 04 62 75 */ bl Free__7CMemoryFPCv +lbl_802CF6C0: +/* 802CF6C0 002CC620 7F C3 F3 78 */ mr r3, r30 +/* 802CF6C4 002CC624 48 04 62 6D */ bl Free__7CMemoryFPCv +lbl_802CF6C8: +/* 802CF6C8 002CC628 80 E1 00 2C */ lwz r7, 0x2c(r1) +/* 802CF6CC 002CC62C 38 A0 00 00 */ li r5, 0 +/* 802CF6D0 002CC630 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802CF6D4 002CC634 38 80 00 01 */ li r4, 1 +/* 802CF6D8 002CC638 54 E0 18 38 */ slwi r0, r7, 3 +/* 802CF6DC 002CC63C 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) +/* 802CF6E0 002CC640 7C 03 02 14 */ add r0, r3, r0 +/* 802CF6E4 002CC644 7C 66 1B 78 */ mr r6, r3 +/* 802CF6E8 002CC648 90 ED A6 50 */ stw r7, lbl_805A9210@sda21(r13) +/* 802CF6EC 002CC64C 98 AD A6 56 */ stb r5, lbl_805A9216@sda21(r13) +/* 802CF6F0 002CC650 98 8D A6 55 */ stb r4, lbl_805A9215@sda21(r13) +/* 802CF6F4 002CC654 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF6F8 002CC658 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CF6FC 002CC65C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802CF700 002CC660 90 61 00 18 */ stw r3, 0x18(r1) +/* 802CF704 002CC664 48 00 00 08 */ b lbl_802CF70C +lbl_802CF708: +/* 802CF708 002CC668 38 C6 00 08 */ addi r6, r6, 8 +lbl_802CF70C: +/* 802CF70C 002CC66C 7C 06 00 40 */ cmplw r6, r0 +/* 802CF710 002CC670 40 82 FF F8 */ bne lbl_802CF708 +/* 802CF714 002CC674 28 03 00 00 */ cmplwi r3, 0 +/* 802CF718 002CC678 41 82 00 08 */ beq lbl_802CF720 +/* 802CF71C 002CC67C 48 04 62 15 */ bl Free__7CMemoryFPCv +lbl_802CF720: +/* 802CF720 002CC680 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CF724 002CC684 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CF728 002CC688 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CF72C 002CC68C 7C 08 03 A6 */ mtlr r0 +/* 802CF730 002CC690 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CF734 002CC694 4E 80 00 20 */ blr + +.global InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type +InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type: +/* 802CF738 002CC698 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF73C 002CC69C 7C 08 02 A6 */ mflr r0 +/* 802CF740 002CC6A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF744 002CC6A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF748 002CC6A8 93 C1 00 08 */ stw r30, 8(r1) +/* 802CF74C 002CC6AC 7C 7E 1B 78 */ mr r30, r3 +/* 802CF750 002CC6B0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF754 002CC6B4 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CF758 002CC6B8 80 63 00 04 */ lwz r3, 4(r3) +/* 802CF75C 002CC6BC 7D 89 03 A6 */ mtctr r12 +/* 802CF760 002CC6C0 4E 80 04 21 */ bctrl +/* 802CF764 002CC6C4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) +/* 802CF768 002CC6C8 80 83 00 04 */ lwz r4, 4(r3) +/* 802CF76C 002CC6CC 38 84 00 01 */ addi r4, r4, 1 +/* 802CF770 002CC6D0 48 00 01 65 */ bl "reserve__Q24rstl63vectorFi" +/* 802CF774 002CC6D4 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) +/* 802CF778 002CC6D8 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF77C 002CC6DC 80 1F 00 08 */ lwz r0, 8(r31) +/* 802CF780 002CC6E0 7C 03 00 00 */ cmpw r3, r0 +/* 802CF784 002CC6E4 41 80 00 1C */ blt lbl_802CF7A0 +/* 802CF788 002CC6E8 2C 00 00 00 */ cmpwi r0, 0 +/* 802CF78C 002CC6EC 38 80 00 04 */ li r4, 4 +/* 802CF790 002CC6F0 41 82 00 08 */ beq lbl_802CF798 +/* 802CF794 002CC6F4 54 04 08 3C */ slwi r4, r0, 1 +lbl_802CF798: +/* 802CF798 002CC6F8 7F E3 FB 78 */ mr r3, r31 +/* 802CF79C 002CC6FC 48 00 01 39 */ bl "reserve__Q24rstl63vectorFi" +lbl_802CF7A0: +/* 802CF7A0 002CC700 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CF7A4 002CC704 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CF7A8 002CC708 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF7AC 002CC70C 7C 63 02 15 */ add. r3, r3, r0 +/* 802CF7B0 002CC710 41 82 00 14 */ beq lbl_802CF7C4 +/* 802CF7B4 002CC714 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CF7B8 002CC718 90 03 00 00 */ stw r0, 0(r3) +/* 802CF7BC 002CC71C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF7C0 002CC720 90 03 00 04 */ stw r0, 4(r3) +lbl_802CF7C4: +/* 802CF7C4 002CC724 80 7F 00 04 */ lwz r3, 4(r31) +/* 802CF7C8 002CC728 38 03 00 01 */ addi r0, r3, 1 +/* 802CF7CC 002CC72C 90 1F 00 04 */ stw r0, 4(r31) +/* 802CF7D0 002CC730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CF7D4 002CC734 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CF7D8 002CC738 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CF7DC 002CC73C 7C 08 03 A6 */ mtlr r0 +/* 802CF7E0 002CC740 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CF7E4 002CC744 4E 80 00 20 */ blr + +.global InitBeginTypes__19CCollisionPrimitiveFv +InitBeginTypes__19CCollisionPrimitiveFv: +/* 802CF7E8 002CC748 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CF7EC 002CC74C 7C 08 02 A6 */ mflr r0 +/* 802CF7F0 002CC750 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF7F4 002CC754 38 60 00 10 */ li r3, 0x10 +/* 802CF7F8 002CC758 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CF7FC 002CC75C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF800 002CC760 38 A0 00 00 */ li r5, 0 +/* 802CF804 002CC764 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CF808 002CC768 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CF80C 002CC76C 48 04 60 61 */ bl __nw__FUlPCcPCc +/* 802CF810 002CC770 28 03 00 00 */ cmplwi r3, 0 +/* 802CF814 002CC774 41 82 00 14 */ beq lbl_802CF828 +/* 802CF818 002CC778 38 00 00 00 */ li r0, 0 +/* 802CF81C 002CC77C 90 03 00 04 */ stw r0, 4(r3) +/* 802CF820 002CC780 90 03 00 08 */ stw r0, 8(r3) +/* 802CF824 002CC784 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802CF828: +/* 802CF828 002CC788 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) +/* 802CF82C 002CC78C 7C 7F 1B 78 */ mr r31, r3 +/* 802CF830 002CC790 28 1E 00 00 */ cmplwi r30, 0 +/* 802CF834 002CC794 41 82 00 4C */ beq lbl_802CF880 +/* 802CF838 002CC798 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF83C 002CC79C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF840 002CC7A0 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF844 002CC7A4 7C 03 02 14 */ add r0, r3, r0 +/* 802CF848 002CC7A8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF84C 002CC7AC 7C 64 1B 78 */ mr r4, r3 +/* 802CF850 002CC7B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF854 002CC7B4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CF858 002CC7B8 90 61 00 08 */ stw r3, 8(r1) +/* 802CF85C 002CC7BC 48 00 00 08 */ b lbl_802CF864 +lbl_802CF860: +/* 802CF860 002CC7C0 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF864: +/* 802CF864 002CC7C4 7C 04 00 40 */ cmplw r4, r0 +/* 802CF868 002CC7C8 40 82 FF F8 */ bne lbl_802CF860 +/* 802CF86C 002CC7CC 28 03 00 00 */ cmplwi r3, 0 +/* 802CF870 002CC7D0 41 82 00 08 */ beq lbl_802CF878 +/* 802CF874 002CC7D4 48 04 60 BD */ bl Free__7CMemoryFPCv +lbl_802CF878: +/* 802CF878 002CC7D8 7F C3 F3 78 */ mr r3, r30 +/* 802CF87C 002CC7DC 48 04 60 B5 */ bl Free__7CMemoryFPCv +lbl_802CF880: +/* 802CF880 002CC7E0 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) +/* 802CF884 002CC7E4 7F E3 FB 78 */ mr r3, r31 +/* 802CF888 002CC7E8 38 80 00 03 */ li r4, 3 +/* 802CF88C 002CC7EC 48 00 00 49 */ bl "reserve__Q24rstl63vectorFi" +/* 802CF890 002CC7F0 38 00 00 01 */ li r0, 1 +/* 802CF894 002CC7F4 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) +/* 802CF898 002CC7F8 4B FF ED A1 */ bl AddTypes__17InternalCollidersFv +/* 802CF89C 002CC7FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CF8A0 002CC800 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CF8A4 002CC804 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CF8A8 002CC808 7C 08 03 A6 */ mtlr r0 +/* 802CF8AC 002CC80C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CF8B0 002CC810 4E 80 00 20 */ blr + +.global __ct__19CCollisionPrimitiveFRC13CMaterialList +__ct__19CCollisionPrimitiveFRC13CMaterialList: +/* 802CF8B4 002CC814 3C A0 80 3E */ lis r5, lbl_803D97E4@ha +/* 802CF8B8 002CC818 38 05 97 E4 */ addi r0, r5, lbl_803D97E4@l +/* 802CF8BC 002CC81C 90 03 00 00 */ stw r0, 0(r3) +/* 802CF8C0 002CC820 80 04 00 00 */ lwz r0, 0(r4) +/* 802CF8C4 002CC824 80 84 00 04 */ lwz r4, 4(r4) +/* 802CF8C8 002CC828 90 83 00 0C */ stw r4, 0xc(r3) +/* 802CF8CC 002CC82C 90 03 00 08 */ stw r0, 8(r3) +/* 802CF8D0 002CC830 4E 80 00 20 */ blr + +.global "reserve__Q24rstl63vectorFi" +"reserve__Q24rstl63vectorFi": +/* 802CF8D4 002CC834 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CF8D8 002CC838 7C 08 02 A6 */ mflr r0 +/* 802CF8DC 002CC83C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CF8E0 002CC840 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CF8E4 002CC844 7C 9F 23 78 */ mr r31, r4 +/* 802CF8E8 002CC848 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CF8EC 002CC84C 7C 7E 1B 78 */ mr r30, r3 +/* 802CF8F0 002CC850 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CF8F4 002CC854 80 03 00 08 */ lwz r0, 8(r3) +/* 802CF8F8 002CC858 7C 1F 00 00 */ cmpw r31, r0 +/* 802CF8FC 002CC85C 40 81 00 B0 */ ble lbl_802CF9AC +/* 802CF900 002CC860 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CF904 002CC864 40 82 00 0C */ bne lbl_802CF910 +/* 802CF908 002CC868 3B A0 00 00 */ li r29, 0 +/* 802CF90C 002CC86C 48 00 00 18 */ b lbl_802CF924 +lbl_802CF910: +/* 802CF910 002CC870 3C 80 80 3D */ lis r4, lbl_803D6A48@ha +/* 802CF914 002CC874 38 A0 00 00 */ li r5, 0 +/* 802CF918 002CC878 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l +/* 802CF91C 002CC87C 48 04 5E FD */ bl __nwa__FUlPCcPCc +/* 802CF920 002CC880 7C 7D 1B 78 */ mr r29, r3 +lbl_802CF924: +/* 802CF924 002CC884 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF928 002CC888 7F A4 EB 78 */ mr r4, r29 +/* 802CF92C 002CC88C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CF930 002CC890 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF934 002CC894 7C 65 02 14 */ add r3, r5, r0 +/* 802CF938 002CC898 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CF93C 002CC89C 90 61 00 08 */ stw r3, 8(r1) +/* 802CF940 002CC8A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CF944 002CC8A4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CF948 002CC8A8 48 00 00 24 */ b lbl_802CF96C +lbl_802CF94C: +/* 802CF94C 002CC8AC 28 04 00 00 */ cmplwi r4, 0 +/* 802CF950 002CC8B0 41 82 00 14 */ beq lbl_802CF964 +/* 802CF954 002CC8B4 80 05 00 00 */ lwz r0, 0(r5) +/* 802CF958 002CC8B8 90 04 00 00 */ stw r0, 0(r4) +/* 802CF95C 002CC8BC 80 05 00 04 */ lwz r0, 4(r5) +/* 802CF960 002CC8C0 90 04 00 04 */ stw r0, 4(r4) +lbl_802CF964: +/* 802CF964 002CC8C4 38 84 00 08 */ addi r4, r4, 8 +/* 802CF968 002CC8C8 38 A5 00 08 */ addi r5, r5, 8 +lbl_802CF96C: +/* 802CF96C 002CC8CC 7C 05 18 40 */ cmplw r5, r3 +/* 802CF970 002CC8D0 40 82 FF DC */ bne lbl_802CF94C +/* 802CF974 002CC8D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CF978 002CC8D8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CF97C 002CC8DC 54 00 18 38 */ slwi r0, r0, 3 +/* 802CF980 002CC8E0 7C 64 1B 78 */ mr r4, r3 +/* 802CF984 002CC8E4 7C 03 02 14 */ add r0, r3, r0 +/* 802CF988 002CC8E8 48 00 00 08 */ b lbl_802CF990 +lbl_802CF98C: +/* 802CF98C 002CC8EC 38 84 00 08 */ addi r4, r4, 8 +lbl_802CF990: +/* 802CF990 002CC8F0 7C 04 00 40 */ cmplw r4, r0 +/* 802CF994 002CC8F4 40 82 FF F8 */ bne lbl_802CF98C +/* 802CF998 002CC8F8 28 03 00 00 */ cmplwi r3, 0 +/* 802CF99C 002CC8FC 41 82 00 08 */ beq lbl_802CF9A4 +/* 802CF9A0 002CC900 48 04 5F 91 */ bl Free__7CMemoryFPCv +lbl_802CF9A4: +/* 802CF9A4 002CC904 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CF9A8 002CC908 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CF9AC: +/* 802CF9AC 002CC90C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CF9B0 002CC910 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CF9B4 002CC914 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CF9B8 002CC918 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CF9BC 002CC91C 7C 08 03 A6 */ mtlr r0 +/* 802CF9C0 002CC920 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CF9C4 002CC924 4E 80 00 20 */ blr + +.global __sinit_CCollisionPrimitive_cpp +__sinit_CCollisionPrimitive_cpp: +/* 802CF9C8 002CC928 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CF9CC 002CC92C 7C 08 02 A6 */ mflr r0 +/* 802CF9D0 002CC930 3C 80 80 2D */ lis r4, "__dt__Q24rstl84single_ptr>Fv"@ha +/* 802CF9D4 002CC934 3C 60 80 48 */ lis r3, lbl_804794E0@ha +/* 802CF9D8 002CC938 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CF9DC 002CC93C 38 00 00 00 */ li r0, 0 +/* 802CF9E0 002CC940 38 84 FB 60 */ addi r4, r4, "__dt__Q24rstl84single_ptr>Fv"@l +/* 802CF9E4 002CC944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CF9E8 002CC948 3B E3 94 E0 */ addi r31, r3, lbl_804794E0@l +/* 802CF9EC 002CC94C 38 6D A6 5C */ addi r3, r13, lbl_805A921C@sda21 +/* 802CF9F0 002CC950 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) +/* 802CF9F4 002CC954 38 BF 00 00 */ addi r5, r31, 0 +/* 802CF9F8 002CC958 48 0B 9C 95 */ bl __register_global_object +/* 802CF9FC 002CC95C 38 00 00 00 */ li r0, 0 +/* 802CFA00 002CC960 3C 60 80 2D */ lis r3, "__dt__Q24rstl68single_ptrFv"@ha +/* 802CFA04 002CC964 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) +/* 802CFA08 002CC968 38 83 FB 0C */ addi r4, r3, "__dt__Q24rstl68single_ptrFv"@l +/* 802CFA0C 002CC96C 38 BF 00 0C */ addi r5, r31, 0xc +/* 802CFA10 002CC970 38 6D A6 60 */ addi r3, r13, lbl_805A9220@sda21 +/* 802CFA14 002CC974 48 0B 9C 79 */ bl __register_global_object +/* 802CFA18 002CC978 38 00 00 00 */ li r0, 0 +/* 802CFA1C 002CC97C 3C 60 80 2D */ lis r3, "__dt__Q24rstl47single_ptrFv"@ha +/* 802CFA20 002CC980 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) +/* 802CFA24 002CC984 38 83 FA B8 */ addi r4, r3, "__dt__Q24rstl47single_ptrFv"@l +/* 802CFA28 002CC988 38 BF 00 18 */ addi r5, r31, 0x18 +/* 802CFA2C 002CC98C 38 6D A6 64 */ addi r3, r13, lbl_805A9224@sda21 +/* 802CFA30 002CC990 48 0B 9C 5D */ bl __register_global_object +/* 802CFA34 002CC994 38 00 00 00 */ li r0, 0 +/* 802CFA38 002CC998 3C 60 80 2D */ lis r3, "__dt__Q24rstl78single_ptrFv"@ha +/* 802CFA3C 002CC99C 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) +/* 802CFA40 002CC9A0 38 83 FA 64 */ addi r4, r3, "__dt__Q24rstl78single_ptrFv"@l +/* 802CFA44 002CC9A4 38 BF 00 24 */ addi r5, r31, 0x24 +/* 802CFA48 002CC9A8 38 6D A6 68 */ addi r3, r13, lbl_805A9228@sda21 +/* 802CFA4C 002CC9AC 48 0B 9C 41 */ bl __register_global_object +/* 802CFA50 002CC9B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFA54 002CC9B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFA58 002CC9B8 7C 08 03 A6 */ mtlr r0 +/* 802CFA5C 002CC9BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFA60 002CC9C0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl78single_ptrFv" +"__dt__Q24rstl78single_ptrFv": +/* 802CFA64 002CC9C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFA68 002CC9C8 7C 08 02 A6 */ mflr r0 +/* 802CFA6C 002CC9CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFA70 002CC9D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFA74 002CC9D4 7C 9F 23 78 */ mr r31, r4 +/* 802CFA78 002CC9D8 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFA7C 002CC9DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFA80 002CC9E0 41 82 00 1C */ beq lbl_802CFA9C +/* 802CFA84 002CC9E4 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFA88 002CC9E8 48 04 5E A9 */ bl Free__7CMemoryFPCv +/* 802CFA8C 002CC9EC 7F E0 07 35 */ extsh. r0, r31 +/* 802CFA90 002CC9F0 40 81 00 0C */ ble lbl_802CFA9C +/* 802CFA94 002CC9F4 7F C3 F3 78 */ mr r3, r30 +/* 802CFA98 002CC9F8 48 04 5E 99 */ bl Free__7CMemoryFPCv +lbl_802CFA9C: +/* 802CFA9C 002CC9FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFAA0 002CCA00 7F C3 F3 78 */ mr r3, r30 +/* 802CFAA4 002CCA04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFAA8 002CCA08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFAAC 002CCA0C 7C 08 03 A6 */ mtlr r0 +/* 802CFAB0 002CCA10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFAB4 002CCA14 4E 80 00 20 */ blr + +.global "__dt__Q24rstl47single_ptrFv" +"__dt__Q24rstl47single_ptrFv": +/* 802CFAB8 002CCA18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFABC 002CCA1C 7C 08 02 A6 */ mflr r0 +/* 802CFAC0 002CCA20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFAC4 002CCA24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFAC8 002CCA28 7C 9F 23 78 */ mr r31, r4 +/* 802CFACC 002CCA2C 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFAD0 002CCA30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFAD4 002CCA34 41 82 00 1C */ beq lbl_802CFAF0 +/* 802CFAD8 002CCA38 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFADC 002CCA3C 48 04 5E 55 */ bl Free__7CMemoryFPCv +/* 802CFAE0 002CCA40 7F E0 07 35 */ extsh. r0, r31 +/* 802CFAE4 002CCA44 40 81 00 0C */ ble lbl_802CFAF0 +/* 802CFAE8 002CCA48 7F C3 F3 78 */ mr r3, r30 +/* 802CFAEC 002CCA4C 48 04 5E 45 */ bl Free__7CMemoryFPCv +lbl_802CFAF0: +/* 802CFAF0 002CCA50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFAF4 002CCA54 7F C3 F3 78 */ mr r3, r30 +/* 802CFAF8 002CCA58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFAFC 002CCA5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFB00 002CCA60 7C 08 03 A6 */ mtlr r0 +/* 802CFB04 002CCA64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFB08 002CCA68 4E 80 00 20 */ blr + +.global "__dt__Q24rstl68single_ptrFv" +"__dt__Q24rstl68single_ptrFv": +/* 802CFB0C 002CCA6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CFB10 002CCA70 7C 08 02 A6 */ mflr r0 +/* 802CFB14 002CCA74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFB18 002CCA78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CFB1C 002CCA7C 7C 9F 23 78 */ mr r31, r4 +/* 802CFB20 002CCA80 93 C1 00 08 */ stw r30, 8(r1) +/* 802CFB24 002CCA84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CFB28 002CCA88 41 82 00 1C */ beq lbl_802CFB44 +/* 802CFB2C 002CCA8C 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CFB30 002CCA90 48 04 5E 01 */ bl Free__7CMemoryFPCv +/* 802CFB34 002CCA94 7F E0 07 35 */ extsh. r0, r31 +/* 802CFB38 002CCA98 40 81 00 0C */ ble lbl_802CFB44 +/* 802CFB3C 002CCA9C 7F C3 F3 78 */ mr r3, r30 +/* 802CFB40 002CCAA0 48 04 5D F1 */ bl Free__7CMemoryFPCv +lbl_802CFB44: +/* 802CFB44 002CCAA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CFB48 002CCAA8 7F C3 F3 78 */ mr r3, r30 +/* 802CFB4C 002CCAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CFB50 002CCAB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CFB54 002CCAB4 7C 08 03 A6 */ mtlr r0 +/* 802CFB58 002CCAB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CFB5C 002CCABC 4E 80 00 20 */ blr + +.global "__dt__Q24rstl84single_ptr>Fv" +"__dt__Q24rstl84single_ptr>Fv": +/* 802CFB60 002CCAC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CFB64 002CCAC4 7C 08 02 A6 */ mflr r0 +/* 802CFB68 002CCAC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CFB6C 002CCACC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CFB70 002CCAD0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CFB74 002CCAD4 7C 9E 23 78 */ mr r30, r4 +/* 802CFB78 002CCAD8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CFB7C 002CCADC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802CFB80 002CCAE0 41 82 00 68 */ beq lbl_802CFBE8 +/* 802CFB84 002CCAE4 83 FD 00 00 */ lwz r31, 0(r29) +/* 802CFB88 002CCAE8 28 1F 00 00 */ cmplwi r31, 0 +/* 802CFB8C 002CCAEC 41 82 00 4C */ beq lbl_802CFBD8 +/* 802CFB90 002CCAF0 80 1F 00 04 */ lwz r0, 4(r31) +/* 802CFB94 002CCAF4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802CFB98 002CCAF8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CFB9C 002CCAFC 7C 03 02 14 */ add r0, r3, r0 +/* 802CFBA0 002CCB00 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CFBA4 002CCB04 7C 64 1B 78 */ mr r4, r3 +/* 802CFBA8 002CCB08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CFBAC 002CCB0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CFBB0 002CCB10 90 61 00 08 */ stw r3, 8(r1) +/* 802CFBB4 002CCB14 48 00 00 08 */ b lbl_802CFBBC +lbl_802CFBB8: +/* 802CFBB8 002CCB18 38 84 00 08 */ addi r4, r4, 8 +lbl_802CFBBC: +/* 802CFBBC 002CCB1C 7C 04 00 40 */ cmplw r4, r0 +/* 802CFBC0 002CCB20 40 82 FF F8 */ bne lbl_802CFBB8 +/* 802CFBC4 002CCB24 28 03 00 00 */ cmplwi r3, 0 +/* 802CFBC8 002CCB28 41 82 00 08 */ beq lbl_802CFBD0 +/* 802CFBCC 002CCB2C 48 04 5D 65 */ bl Free__7CMemoryFPCv +lbl_802CFBD0: +/* 802CFBD0 002CCB30 7F E3 FB 78 */ mr r3, r31 +/* 802CFBD4 002CCB34 48 04 5D 5D */ bl Free__7CMemoryFPCv +lbl_802CFBD8: +/* 802CFBD8 002CCB38 7F C0 07 35 */ extsh. r0, r30 +/* 802CFBDC 002CCB3C 40 81 00 0C */ ble lbl_802CFBE8 +/* 802CFBE0 002CCB40 7F A3 EB 78 */ mr r3, r29 +/* 802CFBE4 002CCB44 48 04 5D 4D */ bl Free__7CMemoryFPCv +lbl_802CFBE8: +/* 802CFBE8 002CCB48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CFBEC 002CCB4C 7F A3 EB 78 */ mr r3, r29 +/* 802CFBF0 002CCB50 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CFBF4 002CCB54 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CFBF8 002CCB58 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CFBFC 002CCB5C 7C 08 03 A6 */ mtlr r0 +/* 802CFC00 002CCB60 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CFC04 002CCB64 4E 80 00 20 */ blr diff --git a/asm/Collision/CMRay.s b/asm/Collision/CMRay.s new file mode 100644 index 00000000..dcfcbcf1 --- /dev/null +++ b/asm/Collision/CMRay.s @@ -0,0 +1,126 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f: +/* 802D5FE8 002D2F48 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802D5FEC 002D2F4C 7C 08 02 A6 */ mflr r0 +/* 802D5FF0 002D2F50 90 01 00 94 */ stw r0, 0x94(r1) +/* 802D5FF4 002D2F54 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802D5FF8 002D2F58 7C 9F 23 78 */ mr r31, r4 +/* 802D5FFC 002D2F5C 7C A4 2B 78 */ mr r4, r5 +/* 802D6000 002D2F60 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802D6004 002D2F64 7C 7E 1B 78 */ mr r30, r3 +/* 802D6008 002D2F68 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D600C 002D2F6C 48 03 CC 91 */ bl GetQuickInverse__12CTransform4fCFv +/* 802D6010 002D2F70 38 61 00 50 */ addi r3, r1, 0x50 +/* 802D6014 002D2F74 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D6018 002D2F78 48 03 CB 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802D601C 002D2F7C 38 61 00 08 */ addi r3, r1, 8 +/* 802D6020 002D2F80 38 81 00 50 */ addi r4, r1, 0x50 +/* 802D6024 002D2F84 38 BF 00 0C */ addi r5, r31, 0xc +/* 802D6028 002D2F88 48 03 CA C1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D602C 002D2F8C 7F E5 FB 78 */ mr r5, r31 +/* 802D6030 002D2F90 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D6034 002D2F94 38 81 00 50 */ addi r4, r1, 0x50 +/* 802D6038 002D2F98 48 03 CA B1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D603C 002D2F9C C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 802D6040 002D2FA0 7F C3 F3 78 */ mr r3, r30 +/* 802D6044 002D2FA4 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 802D6048 002D2FA8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D604C 002D2FAC 38 A1 00 08 */ addi r5, r1, 8 +/* 802D6050 002D2FB0 48 00 00 CD */ bl __ct__5CMRayFRC9CVector3fRC9CVector3fff +/* 802D6054 002D2FB4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802D6058 002D2FB8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802D605C 002D2FBC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802D6060 002D2FC0 7C 08 03 A6 */ mtlr r0 +/* 802D6064 002D2FC4 38 21 00 90 */ addi r1, r1, 0x90 +/* 802D6068 002D2FC8 4E 80 00 20 */ blr + +.global __ct__5CMRayFRC9CVector3fRC9CVector3ff +__ct__5CMRayFRC9CVector3fRC9CVector3ff: +/* 802D606C 002D2FCC C0 44 00 00 */ lfs f2, 0(r4) +/* 802D6070 002D2FD0 C0 02 C5 50 */ lfs f0, lbl_805AE270@sda21(r2) +/* 802D6074 002D2FD4 D0 43 00 00 */ stfs f2, 0(r3) +/* 802D6078 002D2FD8 EC 00 08 24 */ fdivs f0, f0, f1 +/* 802D607C 002D2FDC C0 44 00 04 */ lfs f2, 4(r4) +/* 802D6080 002D2FE0 D0 43 00 04 */ stfs f2, 4(r3) +/* 802D6084 002D2FE4 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D6088 002D2FE8 D0 43 00 08 */ stfs f2, 8(r3) +/* 802D608C 002D2FEC C0 45 00 00 */ lfs f2, 0(r5) +/* 802D6090 002D2FF0 C0 A5 00 04 */ lfs f5, 4(r5) +/* 802D6094 002D2FF4 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 802D6098 002D2FF8 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D609C 002D2FFC C0 85 00 08 */ lfs f4, 8(r5) +/* 802D60A0 002D3000 EC C1 01 72 */ fmuls f6, f1, f5 +/* 802D60A4 002D3004 C0 E4 00 04 */ lfs f7, 4(r4) +/* 802D60A8 002D3008 EC 43 10 2A */ fadds f2, f3, f2 +/* 802D60AC 002D300C C0 A4 00 08 */ lfs f5, 8(r4) +/* 802D60B0 002D3010 EC 61 01 32 */ fmuls f3, f1, f4 +/* 802D60B4 002D3014 EC 87 30 2A */ fadds f4, f7, f6 +/* 802D60B8 002D3018 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 802D60BC 002D301C EC 45 18 2A */ fadds f2, f5, f3 +/* 802D60C0 002D3020 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 802D60C4 002D3024 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 802D60C8 002D3028 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 802D60CC 002D302C C0 43 00 00 */ lfs f2, 0(r3) +/* 802D60D0 002D3030 C0 C3 00 10 */ lfs f6, 0x10(r3) +/* 802D60D4 002D3034 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802D60D8 002D3038 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D60DC 002D303C C0 83 00 14 */ lfs f4, 0x14(r3) +/* 802D60E0 002D3040 C0 63 00 08 */ lfs f3, 8(r3) +/* 802D60E4 002D3044 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802D60E8 002D3048 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 802D60EC 002D304C EC 44 18 28 */ fsubs f2, f4, f3 +/* 802D60F0 002D3050 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 802D60F4 002D3054 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 802D60F8 002D3058 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D60FC 002D305C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802D6100 002D3060 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D6104 002D3064 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802D6108 002D3068 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D610C 002D306C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802D6110 002D3070 C0 05 00 08 */ lfs f0, 8(r5) +/* 802D6114 002D3074 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802D6118 002D3078 4E 80 00 20 */ blr + +.global __ct__5CMRayFRC9CVector3fRC9CVector3fff +__ct__5CMRayFRC9CVector3fRC9CVector3fff: +/* 802D611C 002D307C C0 04 00 00 */ lfs f0, 0(r4) +/* 802D6120 002D3080 D0 03 00 00 */ stfs f0, 0(r3) +/* 802D6124 002D3084 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D6128 002D3088 D0 03 00 04 */ stfs f0, 4(r3) +/* 802D612C 002D308C C0 04 00 08 */ lfs f0, 8(r4) +/* 802D6130 002D3090 D0 03 00 08 */ stfs f0, 8(r3) +/* 802D6134 002D3094 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D6138 002D3098 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D613C 002D309C C0 05 00 04 */ lfs f0, 4(r5) +/* 802D6140 002D30A0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802D6144 002D30A4 C0 05 00 08 */ lfs f0, 8(r5) +/* 802D6148 002D30A8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802D614C 002D30AC C0 63 00 0C */ lfs f3, 0xc(r3) +/* 802D6150 002D30B0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802D6154 002D30B4 C0 C3 00 10 */ lfs f6, 0x10(r3) +/* 802D6158 002D30B8 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802D615C 002D30BC EC 03 00 28 */ fsubs f0, f3, f0 +/* 802D6160 002D30C0 C0 83 00 14 */ lfs f4, 0x14(r3) +/* 802D6164 002D30C4 C0 63 00 08 */ lfs f3, 8(r3) +/* 802D6168 002D30C8 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802D616C 002D30CC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802D6170 002D30D0 EC 04 18 28 */ fsubs f0, f4, f3 +/* 802D6174 002D30D4 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 802D6178 002D30D8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802D617C 002D30DC D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D6180 002D30E0 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 802D6184 002D30E4 C0 63 00 28 */ lfs f3, 0x28(r3) +/* 802D6188 002D30E8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802D618C 002D30EC C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 802D6190 002D30F0 C0 23 00 20 */ lfs f1, 0x20(r3) +/* 802D6194 002D30F4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802D6198 002D30F8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802D619C 002D30FC EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D61A0 002D3100 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802D61A4 002D3104 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 802D61A8 002D3108 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802D61AC 002D310C 4E 80 00 20 */ blr diff --git a/asm/Collision/CMaterialFilter.s b/asm/Collision/CMaterialFilter.s new file mode 100644 index 00000000..7f3f5634 --- /dev/null +++ b/asm/Collision/CMaterialFilter.s @@ -0,0 +1,101 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Passes__15CMaterialFilterCFRC13CMaterialList +Passes__15CMaterialFilterCFRC13CMaterialList: +/* 802D534C 002D22AC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802D5350 002D22B0 2C 00 00 02 */ cmpwi r0, 2 +/* 802D5354 002D22B4 41 82 00 68 */ beq lbl_802D53BC +/* 802D5358 002D22B8 40 80 00 14 */ bge lbl_802D536C +/* 802D535C 002D22BC 2C 00 00 00 */ cmpwi r0, 0 +/* 802D5360 002D22C0 41 82 00 18 */ beq lbl_802D5378 +/* 802D5364 002D22C4 40 80 00 1C */ bge lbl_802D5380 +/* 802D5368 002D22C8 48 00 00 FC */ b lbl_802D5464 +lbl_802D536C: +/* 802D536C 002D22CC 2C 00 00 04 */ cmpwi r0, 4 +/* 802D5370 002D22D0 40 80 00 F4 */ bge lbl_802D5464 +/* 802D5374 002D22D4 48 00 00 7C */ b lbl_802D53F0 +lbl_802D5378: +/* 802D5378 002D22D8 38 60 00 01 */ li r3, 1 +/* 802D537C 002D22DC 4E 80 00 20 */ blr +lbl_802D5380: +/* 802D5380 002D22E0 80 C3 00 00 */ lwz r6, 0(r3) +/* 802D5384 002D22E4 38 A0 00 00 */ li r5, 0 +/* 802D5388 002D22E8 80 04 00 00 */ lwz r0, 0(r4) +/* 802D538C 002D22EC 80 E3 00 04 */ lwz r7, 4(r3) +/* 802D5390 002D22F0 80 64 00 04 */ lwz r3, 4(r4) +/* 802D5394 002D22F4 7C C0 00 38 */ and r0, r6, r0 +/* 802D5398 002D22F8 7C 00 2A 78 */ xor r0, r0, r5 +/* 802D539C 002D22FC 7C E3 18 38 */ and r3, r7, r3 +/* 802D53A0 002D2300 7C 63 2A 78 */ xor r3, r3, r5 +/* 802D53A4 002D2304 7C 60 03 79 */ or. r0, r3, r0 +/* 802D53A8 002D2308 41 82 00 0C */ beq lbl_802D53B4 +/* 802D53AC 002D230C 38 60 00 01 */ li r3, 1 +/* 802D53B0 002D2310 4E 80 00 20 */ blr +lbl_802D53B4: +/* 802D53B4 002D2314 38 60 00 00 */ li r3, 0 +/* 802D53B8 002D2318 4E 80 00 20 */ blr +lbl_802D53BC: +/* 802D53BC 002D231C 80 A4 00 00 */ lwz r5, 0(r4) +/* 802D53C0 002D2320 38 00 00 00 */ li r0, 0 +/* 802D53C4 002D2324 80 C3 00 08 */ lwz r6, 8(r3) +/* 802D53C8 002D2328 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 802D53CC 002D232C 80 84 00 04 */ lwz r4, 4(r4) +/* 802D53D0 002D2330 7C C3 28 38 */ and r3, r6, r5 +/* 802D53D4 002D2334 7C 63 02 78 */ xor r3, r3, r0 +/* 802D53D8 002D2338 7C E4 20 38 */ and r4, r7, r4 +/* 802D53DC 002D233C 7C 80 02 78 */ xor r0, r4, r0 +/* 802D53E0 002D2340 7C 03 1B 78 */ or r3, r0, r3 +/* 802D53E4 002D2344 7C 63 00 34 */ cntlzw r3, r3 +/* 802D53E8 002D2348 54 63 D9 7E */ srwi r3, r3, 5 +/* 802D53EC 002D234C 4E 80 00 20 */ blr +lbl_802D53F0: +/* 802D53F0 002D2350 80 03 00 00 */ lwz r0, 0(r3) +/* 802D53F4 002D2354 38 C0 00 00 */ li r6, 0 +/* 802D53F8 002D2358 80 E4 00 00 */ lwz r7, 0(r4) +/* 802D53FC 002D235C 80 A3 00 04 */ lwz r5, 4(r3) +/* 802D5400 002D2360 81 04 00 04 */ lwz r8, 4(r4) +/* 802D5404 002D2364 7C 00 38 38 */ and r0, r0, r7 +/* 802D5408 002D2368 7C 00 32 78 */ xor r0, r0, r6 +/* 802D540C 002D236C 7C A4 40 38 */ and r4, r5, r8 +/* 802D5410 002D2370 7C 84 32 78 */ xor r4, r4, r6 +/* 802D5414 002D2374 7C 80 03 79 */ or. r0, r4, r0 +/* 802D5418 002D2378 41 82 00 0C */ beq lbl_802D5424 +/* 802D541C 002D237C 38 00 00 01 */ li r0, 1 +/* 802D5420 002D2380 48 00 00 08 */ b lbl_802D5428 +lbl_802D5424: +/* 802D5424 002D2384 7C C0 33 78 */ mr r0, r6 +lbl_802D5428: +/* 802D5428 002D2388 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D542C 002D238C 41 82 00 30 */ beq lbl_802D545C +/* 802D5430 002D2390 80 A3 00 08 */ lwz r5, 8(r3) +/* 802D5434 002D2394 38 80 00 00 */ li r4, 0 +/* 802D5438 002D2398 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802D543C 002D239C 7C 80 FE 70 */ srawi r0, r4, 0x1f +/* 802D5440 002D23A0 7C A5 38 38 */ and r5, r5, r7 +/* 802D5444 002D23A4 7C 63 40 38 */ and r3, r3, r8 +/* 802D5448 002D23A8 7C 63 22 78 */ xor r3, r3, r4 +/* 802D544C 002D23AC 7C A0 02 78 */ xor r0, r5, r0 +/* 802D5450 002D23B0 7C 60 03 79 */ or. r0, r3, r0 +/* 802D5454 002D23B4 40 82 00 08 */ bne lbl_802D545C +/* 802D5458 002D23B8 38 C0 00 01 */ li r6, 1 +lbl_802D545C: +/* 802D545C 002D23BC 7C C3 33 78 */ mr r3, r6 +/* 802D5460 002D23C0 4E 80 00 20 */ blr +lbl_802D5464: +/* 802D5464 002D23C4 38 60 00 01 */ li r3, 1 +/* 802D5468 002D23C8 4E 80 00 20 */ blr + +.global __sinit_CMaterialFilter_cpp +__sinit_CMaterialFilter_cpp: +/* 802D546C 002D23CC 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 802D5470 002D23D0 38 80 FF FF */ li r4, -1 +/* 802D5474 002D23D4 38 63 FD 18 */ addi r3, r3, lbl_8059FD18@l +/* 802D5478 002D23D8 38 00 00 00 */ li r0, 0 +/* 802D547C 002D23DC 90 83 00 04 */ stw r4, 4(r3) +/* 802D5480 002D23E0 90 03 00 00 */ stw r0, 0(r3) +/* 802D5484 002D23E4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802D5488 002D23E8 90 03 00 08 */ stw r0, 8(r3) +/* 802D548C 002D23EC 90 03 00 10 */ stw r0, 0x10(r3) +/* 802D5490 002D23F0 4E 80 00 20 */ blr diff --git a/asm/Collision/CMaterialList.s b/asm/Collision/CMaterialList.s new file mode 100644 index 00000000..d432d687 --- /dev/null +++ b/asm/Collision/CMaterialList.s @@ -0,0 +1,70 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global BitPosition__13CMaterialListFUx +BitPosition__13CMaterialListFUx: +/* 802CFC08 002CCB68 38 00 00 08 */ li r0, 8 +/* 802CFC0C 002CCB6C 39 20 00 00 */ li r9, 0 +/* 802CFC10 002CCB70 39 40 00 00 */ li r10, 0 +/* 802CFC14 002CCB74 39 00 00 01 */ li r8, 1 +/* 802CFC18 002CCB78 38 E0 00 00 */ li r7, 0 +/* 802CFC1C 002CCB7C 7C 09 03 A6 */ mtctr r0 +lbl_802CFC20: +/* 802CFC20 002CCB80 7C 86 40 38 */ and r6, r4, r8 +/* 802CFC24 002CCB84 7C 65 38 38 */ and r5, r3, r7 +/* 802CFC28 002CCB88 7C C6 3A 78 */ xor r6, r6, r7 +/* 802CFC2C 002CCB8C 7C A5 3A 78 */ xor r5, r5, r7 +/* 802CFC30 002CCB90 7C C5 2B 79 */ or. r5, r6, r5 +/* 802CFC34 002CCB94 41 82 00 0C */ beq lbl_802CFC40 +/* 802CFC38 002CCB98 7D 23 4B 78 */ mr r3, r9 +/* 802CFC3C 002CCB9C 4E 80 00 20 */ blr +lbl_802CFC40: +/* 802CFC40 002CCBA0 54 84 F8 3E */ rotlwi r4, r4, 0x1f +/* 802CFC44 002CCBA4 54 60 F8 7E */ srwi r0, r3, 1 +/* 802CFC48 002CCBA8 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 +/* 802CFC4C 002CCBAC 39 29 00 01 */ addi r9, r9, 1 +/* 802CFC50 002CCBB0 7C 86 40 38 */ and r6, r4, r8 +/* 802CFC54 002CCBB4 7C 05 38 38 */ and r5, r0, r7 +/* 802CFC58 002CCBB8 7C C6 3A 78 */ xor r6, r6, r7 +/* 802CFC5C 002CCBBC 7C A5 3A 78 */ xor r5, r5, r7 +/* 802CFC60 002CCBC0 7C C5 2B 79 */ or. r5, r6, r5 +/* 802CFC64 002CCBC4 41 82 00 0C */ beq lbl_802CFC70 +/* 802CFC68 002CCBC8 7D 23 4B 78 */ mr r3, r9 +/* 802CFC6C 002CCBCC 4E 80 00 20 */ blr +lbl_802CFC70: +/* 802CFC70 002CCBD0 54 84 F8 3E */ rotlwi r4, r4, 0x1f +/* 802CFC74 002CCBD4 39 29 00 01 */ addi r9, r9, 1 +/* 802CFC78 002CCBD8 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 +/* 802CFC7C 002CCBDC 54 00 F8 7E */ srwi r0, r0, 1 +/* 802CFC80 002CCBE0 7C 86 40 38 */ and r6, r4, r8 +/* 802CFC84 002CCBE4 7C 05 38 38 */ and r5, r0, r7 +/* 802CFC88 002CCBE8 7C C6 3A 78 */ xor r6, r6, r7 +/* 802CFC8C 002CCBEC 7C A5 3A 78 */ xor r5, r5, r7 +/* 802CFC90 002CCBF0 7C C5 2B 79 */ or. r5, r6, r5 +/* 802CFC94 002CCBF4 41 82 00 0C */ beq lbl_802CFCA0 +/* 802CFC98 002CCBF8 7D 23 4B 78 */ mr r3, r9 +/* 802CFC9C 002CCBFC 4E 80 00 20 */ blr +lbl_802CFCA0: +/* 802CFCA0 002CCC00 54 84 F8 3E */ rotlwi r4, r4, 0x1f +/* 802CFCA4 002CCC04 39 29 00 01 */ addi r9, r9, 1 +/* 802CFCA8 002CCC08 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 +/* 802CFCAC 002CCC0C 54 00 F8 7E */ srwi r0, r0, 1 +/* 802CFCB0 002CCC10 7C 86 40 38 */ and r6, r4, r8 +/* 802CFCB4 002CCC14 7C 05 38 38 */ and r5, r0, r7 +/* 802CFCB8 002CCC18 7C C6 3A 78 */ xor r6, r6, r7 +/* 802CFCBC 002CCC1C 7C A5 3A 78 */ xor r5, r5, r7 +/* 802CFCC0 002CCC20 7C C5 2B 79 */ or. r5, r6, r5 +/* 802CFCC4 002CCC24 41 82 00 0C */ beq lbl_802CFCD0 +/* 802CFCC8 002CCC28 7D 23 4B 78 */ mr r3, r9 +/* 802CFCCC 002CCC2C 4E 80 00 20 */ blr +lbl_802CFCD0: +/* 802CFCD0 002CCC30 54 84 F8 3E */ rotlwi r4, r4, 0x1f +/* 802CFCD4 002CCC34 39 29 00 01 */ addi r9, r9, 1 +/* 802CFCD8 002CCC38 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 +/* 802CFCDC 002CCC3C 54 00 F8 7E */ srwi r0, r0, 1 +/* 802CFCE0 002CCC40 7C 03 03 78 */ mr r3, r0 +/* 802CFCE4 002CCC44 39 4A 00 03 */ addi r10, r10, 3 +/* 802CFCE8 002CCC48 42 00 FF 38 */ bdnz lbl_802CFC20 +/* 802CFCEC 002CCC4C 38 60 FF FF */ li r3, -1 +/* 802CFCF0 002CCC50 4E 80 00 20 */ blr diff --git a/asm/Collision/COBBox.s b/asm/Collision/COBBox.s new file mode 100644 index 00000000..823e8f1b --- /dev/null +++ b/asm/Collision/COBBox.s @@ -0,0 +1,769 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global OBBIntersectsBox__6COBBoxCFRC6COBBox +OBBIntersectsBox__6COBBoxCFRC6COBBox: +/* 802D5494 002D23F4 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 802D5498 002D23F8 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 802D549C 002D23FC F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 802D54A0 002D2400 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 802D54A4 002D2404 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 802D54A8 002D2408 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 802D54AC 002D240C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 802D54B0 002D2410 DB 81 01 60 */ stfd f28, 0x160(r1) +/* 802D54B4 002D2414 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 +/* 802D54B8 002D2418 DB 61 01 50 */ stfd f27, 0x150(r1) +/* 802D54BC 002D241C F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 +/* 802D54C0 002D2420 DB 41 01 40 */ stfd f26, 0x140(r1) +/* 802D54C4 002D2424 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 +/* 802D54C8 002D2428 DB 21 01 30 */ stfd f25, 0x130(r1) +/* 802D54CC 002D242C F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 +/* 802D54D0 002D2430 DB 01 01 20 */ stfd f24, 0x120(r1) +/* 802D54D4 002D2434 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0 +/* 802D54D8 002D2438 DA E1 01 10 */ stfd f23, 0x110(r1) +/* 802D54DC 002D243C F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0 +/* 802D54E0 002D2440 DA C1 01 00 */ stfd f22, 0x100(r1) +/* 802D54E4 002D2444 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0 +/* 802D54E8 002D2448 DA A1 00 F0 */ stfd f21, 0xf0(r1) +/* 802D54EC 002D244C F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0 +/* 802D54F0 002D2450 DA 81 00 E0 */ stfd f20, 0xe0(r1) +/* 802D54F4 002D2454 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0 +/* 802D54F8 002D2458 DA 61 00 D0 */ stfd f19, 0xd0(r1) +/* 802D54FC 002D245C F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0 +/* 802D5500 002D2460 DA 41 00 C0 */ stfd f18, 0xc0(r1) +/* 802D5504 002D2464 F2 41 00 C8 */ psq_st f18, 200(r1), 0, qr0 +/* 802D5508 002D2468 DA 21 00 B0 */ stfd f17, 0xb0(r1) +/* 802D550C 002D246C F2 21 00 B8 */ psq_st f17, 184(r1), 0, qr0 +/* 802D5510 002D2470 DA 01 00 A0 */ stfd f16, 0xa0(r1) +/* 802D5514 002D2474 F2 01 00 A8 */ psq_st f16, 168(r1), 0, qr0 +/* 802D5518 002D2478 D9 E1 00 90 */ stfd f15, 0x90(r1) +/* 802D551C 002D247C F1 E1 00 98 */ psq_st f15, 152(r1), 0, qr0 +/* 802D5520 002D2480 D9 C1 00 80 */ stfd f14, 0x80(r1) +/* 802D5524 002D2484 F1 C1 00 88 */ psq_st f14, 136(r1), 0, qr0 +/* 802D5528 002D2488 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 802D552C 002D248C 38 E1 00 14 */ addi r7, r1, 0x14 +/* 802D5530 002D2490 C1 64 00 10 */ lfs f11, 0x10(r4) +/* 802D5534 002D2494 39 03 00 30 */ addi r8, r3, 0x30 +/* 802D5538 002D2498 FE C0 28 18 */ frsp f22, f5 +/* 802D553C 002D249C C3 63 00 00 */ lfs f27, 0(r3) +/* 802D5540 002D24A0 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D5544 002D24A4 FE A0 58 18 */ frsp f21, f11 +/* 802D5548 002D24A8 C1 A4 00 14 */ lfs f13, 0x14(r4) +/* 802D554C 002D24AC FF 00 D8 18 */ frsp f24, f27 +/* 802D5550 002D24B0 C0 C3 00 20 */ lfs f6, 0x20(r3) +/* 802D5554 002D24B4 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D5558 002D24B8 C1 84 00 20 */ lfs f12, 0x20(r4) +/* 802D555C 002D24BC FE E0 10 18 */ frsp f23, f2 +/* 802D5560 002D24C0 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D5564 002D24C4 FE A0 68 18 */ frsp f21, f13 +/* 802D5568 002D24C8 C2 64 00 18 */ lfs f19, 0x18(r4) +/* 802D556C 002D24CC EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D5570 002D24D0 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 802D5574 002D24D4 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D5578 002D24D8 C1 23 00 18 */ lfs f9, 0x18(r3) +/* 802D557C 002D24DC C2 44 00 24 */ lfs f18, 0x24(r4) +/* 802D5580 002D24E0 FF 40 30 18 */ frsp f26, f6 +/* 802D5584 002D24E4 FF 20 60 18 */ frsp f25, f12 +/* 802D5588 002D24E8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D558C 002D24EC C0 83 00 04 */ lfs f4, 4(r3) +/* 802D5590 002D24F0 FE E0 08 18 */ frsp f23, f1 +/* 802D5594 002D24F4 C0 63 00 08 */ lfs f3, 8(r3) +/* 802D5598 002D24F8 FE A0 98 18 */ frsp f21, f19 +/* 802D559C 002D24FC ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D55A0 002D2500 C2 84 00 28 */ lfs f20, 0x28(r4) +/* 802D55A4 002D2504 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D55A8 002D2508 C1 03 00 24 */ lfs f8, 0x24(r3) +/* 802D55AC 002D250C C1 43 00 28 */ lfs f10, 0x28(r3) +/* 802D55B0 002D2510 FF 20 90 18 */ frsp f25, f18 +/* 802D55B4 002D2514 D1 E1 00 14 */ stfs f15, 0x14(r1) +/* 802D55B8 002D2518 FE E0 00 18 */ frsp f23, f0 +/* 802D55BC 002D251C ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D55C0 002D2520 C2 03 00 1C */ lfs f16, 0x1c(r3) +/* 802D55C4 002D2524 C3 24 00 1C */ lfs f25, 0x1c(r4) +/* 802D55C8 002D2528 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D55CC 002D252C C2 A3 00 0C */ lfs f21, 0xc(r3) +/* 802D55D0 002D2530 EF 99 80 28 */ fsubs f28, f25, f16 +/* 802D55D4 002D2534 C2 C4 00 0C */ lfs f22, 0xc(r4) +/* 802D55D8 002D2538 FF 20 A0 18 */ frsp f25, f20 +/* 802D55DC 002D253C C3 A3 00 2C */ lfs f29, 0x2c(r3) +/* 802D55E0 002D2540 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D55E4 002D2544 C2 E4 00 2C */ lfs f23, 0x2c(r4) +/* 802D55E8 002D2548 D1 E1 00 18 */ stfs f15, 0x18(r1) +/* 802D55EC 002D254C EF 16 A8 28 */ fsubs f24, f22, f21 +/* 802D55F0 002D2550 EE DC 01 72 */ fmuls f22, f28, f5 +/* 802D55F4 002D2554 38 64 00 30 */ addi r3, r4, 0x30 +/* 802D55F8 002D2558 EE BC 01 F2 */ fmuls f21, f28, f7 +/* 802D55FC 002D255C D3 61 00 5C */ stfs f27, 0x5c(r1) +/* 802D5600 002D2560 EE 3C 02 72 */ fmuls f17, f28, f9 +/* 802D5604 002D2564 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D5608 002D2568 EE F7 E8 28 */ fsubs f23, f23, f29 +/* 802D560C 002D256C D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802D5610 002D2570 EE D8 B6 FA */ fmadds f22, f24, f27, f22 +/* 802D5614 002D2574 EE 18 A9 3A */ fmadds f16, f24, f4, f21 +/* 802D5618 002D2578 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802D561C 002D257C EC B8 88 FA */ fmadds f5, f24, f3, f17 +/* 802D5620 002D2580 EE 37 B1 BA */ fmadds f17, f23, f6, f22 +/* 802D5624 002D2584 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802D5628 002D2588 EC D7 82 3A */ fmadds f6, f23, f8, f16 +/* 802D562C 002D258C EC B7 2A BA */ fmadds f5, f23, f10, f5 +/* 802D5630 002D2590 D0 E1 00 6C */ stfs f7, 0x6c(r1) +/* 802D5634 002D2594 D1 01 00 70 */ stfs f8, 0x70(r1) +/* 802D5638 002D2598 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 802D563C 002D259C D1 21 00 78 */ stfs f9, 0x78(r1) +/* 802D5640 002D25A0 D1 41 00 7C */ stfs f10, 0x7c(r1) +/* 802D5644 002D25A4 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802D5648 002D25A8 D1 61 00 3C */ stfs f11, 0x3c(r1) +/* 802D564C 002D25AC D1 81 00 40 */ stfs f12, 0x40(r1) +/* 802D5650 002D25B0 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802D5654 002D25B4 D1 A1 00 48 */ stfs f13, 0x48(r1) +/* 802D5658 002D25B8 D2 41 00 4C */ stfs f18, 0x4c(r1) +/* 802D565C 002D25BC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802D5660 002D25C0 D2 61 00 54 */ stfs f19, 0x54(r1) +/* 802D5664 002D25C4 D2 81 00 58 */ stfs f20, 0x58(r1) +/* 802D5668 002D25C8 D2 21 00 08 */ stfs f17, 8(r1) +/* 802D566C 002D25CC D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 802D5670 002D25D0 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802D5674 002D25D4 D1 E1 00 1C */ stfs f15, 0x1c(r1) +/* 802D5678 002D25D8 FE C0 38 18 */ frsp f22, f7 +/* 802D567C 002D25DC FE A0 58 18 */ frsp f21, f11 +/* 802D5680 002D25E0 FF 00 20 18 */ frsp f24, f4 +/* 802D5684 002D25E4 FE E0 10 18 */ frsp f23, f2 +/* 802D5688 002D25E8 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D568C 002D25EC FE A0 68 18 */ frsp f21, f13 +/* 802D5690 002D25F0 FF 40 40 18 */ frsp f26, f8 +/* 802D5694 002D25F4 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D5698 002D25F8 FF 20 60 18 */ frsp f25, f12 +/* 802D569C 002D25FC EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D56A0 002D2600 FE E0 08 18 */ frsp f23, f1 +/* 802D56A4 002D2604 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D56A8 002D2608 FE A0 98 18 */ frsp f21, f19 +/* 802D56AC 002D260C EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D56B0 002D2610 FF 20 90 18 */ frsp f25, f18 +/* 802D56B4 002D2614 D1 E7 00 0C */ stfs f15, 0xc(r7) +/* 802D56B8 002D2618 FE E0 00 18 */ frsp f23, f0 +/* 802D56BC 002D261C EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D56C0 002D2620 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D56C4 002D2624 FF 20 A0 18 */ frsp f25, f20 +/* 802D56C8 002D2628 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D56CC 002D262C D1 E7 00 10 */ stfs f15, 0x10(r7) +/* 802D56D0 002D2630 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D56D4 002D2634 D1 E7 00 14 */ stfs f15, 0x14(r7) +/* 802D56D8 002D2638 FE C0 48 18 */ frsp f22, f9 +/* 802D56DC 002D263C 38 00 00 03 */ li r0, 3 +/* 802D56E0 002D2640 FE A0 58 18 */ frsp f21, f11 +/* 802D56E4 002D2644 7D 04 43 78 */ mr r4, r8 +/* 802D56E8 002D2648 FF 00 18 18 */ frsp f24, f3 +/* 802D56EC 002D264C 7C E5 3B 78 */ mr r5, r7 +/* 802D56F0 002D2650 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D56F4 002D2654 38 C1 00 08 */ addi r6, r1, 8 +/* 802D56F8 002D2658 FE E0 10 18 */ frsp f23, f2 +/* 802D56FC 002D265C C0 42 C5 40 */ lfs f2, lbl_805AE260@sda21(r2) +/* 802D5700 002D2660 FE A0 68 18 */ frsp f21, f13 +/* 802D5704 002D2664 FF 40 50 18 */ frsp f26, f10 +/* 802D5708 002D2668 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D570C 002D266C FF 20 60 18 */ frsp f25, f12 +/* 802D5710 002D2670 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D5714 002D2674 FE E0 08 18 */ frsp f23, f1 +/* 802D5718 002D2678 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D571C 002D267C FE A0 98 18 */ frsp f21, f19 +/* 802D5720 002D2680 EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D5724 002D2684 FF 20 90 18 */ frsp f25, f18 +/* 802D5728 002D2688 D1 E7 00 18 */ stfs f15, 0x18(r7) +/* 802D572C 002D268C FE E0 00 18 */ frsp f23, f0 +/* 802D5730 002D2690 EE 36 05 72 */ fmuls f17, f22, f21 +/* 802D5734 002D2694 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D5738 002D2698 FF 20 A0 18 */ frsp f25, f20 +/* 802D573C 002D269C EE 18 8D FA */ fmadds f16, f24, f23, f17 +/* 802D5740 002D26A0 D1 E7 00 1C */ stfs f15, 0x1c(r7) +/* 802D5744 002D26A4 ED FA 86 7A */ fmadds f15, f26, f25, f16 +/* 802D5748 002D26A8 D1 E7 00 20 */ stfs f15, 0x20(r7) +/* 802D574C 002D26AC 7C 09 03 A6 */ mtctr r0 +lbl_802D5750: +/* 802D5750 002D26B0 C0 25 00 04 */ lfs f1, 4(r5) +/* 802D5754 002D26B4 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D5758 002D26B8 FC 80 0A 10 */ fabs f4, f1 +/* 802D575C 002D26BC C0 25 00 08 */ lfs f1, 8(r5) +/* 802D5760 002D26C0 FC E0 02 10 */ fabs f7, f0 +/* 802D5764 002D26C4 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D5768 002D26C8 FD 00 0A 10 */ fabs f8, f1 +/* 802D576C 002D26CC C0 63 00 04 */ lfs f3, 4(r3) +/* 802D5770 002D26D0 FC 20 20 18 */ frsp f1, f4 +/* 802D5774 002D26D4 C0 A3 00 00 */ lfs f5, 0(r3) +/* 802D5778 002D26D8 FD 20 02 10 */ fabs f9, f0 +/* 802D577C 002D26DC C0 C3 00 08 */ lfs f6, 8(r3) +/* 802D5780 002D26E0 FC 80 38 18 */ frsp f4, f7 +/* 802D5784 002D26E4 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802D5788 002D26E8 EC 03 00 72 */ fmuls f0, f3, f1 +/* 802D578C 002D26EC FC 60 40 18 */ frsp f3, f8 +/* 802D5790 002D26F0 FC 20 48 18 */ frsp f1, f9 +/* 802D5794 002D26F4 EC 05 01 3A */ fmadds f0, f5, f4, f0 +/* 802D5798 002D26F8 EC 06 00 FA */ fmadds f0, f6, f3, f0 +/* 802D579C 002D26FC EC 07 00 2A */ fadds f0, f7, f0 +/* 802D57A0 002D2700 EC 02 00 2A */ fadds f0, f2, f0 +/* 802D57A4 002D2704 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D57A8 002D2708 40 81 00 0C */ ble lbl_802D57B4 +/* 802D57AC 002D270C 38 60 00 00 */ li r3, 0 +/* 802D57B0 002D2710 48 00 03 2C */ b lbl_802D5ADC +lbl_802D57B4: +/* 802D57B4 002D2714 38 84 00 04 */ addi r4, r4, 4 +/* 802D57B8 002D2718 38 A5 00 0C */ addi r5, r5, 0xc +/* 802D57BC 002D271C 38 C6 00 04 */ addi r6, r6, 4 +/* 802D57C0 002D2720 42 00 FF 90 */ bdnz lbl_802D5750 +/* 802D57C4 002D2724 38 00 00 03 */ li r0, 3 +/* 802D57C8 002D2728 7C 64 1B 78 */ mr r4, r3 +/* 802D57CC 002D272C C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 802D57D0 002D2730 C0 81 00 08 */ lfs f4, 8(r1) +/* 802D57D4 002D2734 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 802D57D8 002D2738 C0 22 C5 40 */ lfs f1, lbl_805AE260@sda21(r2) +/* 802D57DC 002D273C 7C 09 03 A6 */ mtctr r0 +lbl_802D57E0: +/* 802D57E0 002D2740 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 802D57E4 002D2744 C0 E7 00 00 */ lfs f7, 0(r7) +/* 802D57E8 002D2748 FC 40 02 10 */ fabs f2, f0 +/* 802D57EC 002D274C C1 07 00 18 */ lfs f8, 0x18(r7) +/* 802D57F0 002D2750 FC C0 3A 10 */ fabs f6, f7 +/* 802D57F4 002D2754 C2 88 00 04 */ lfs f20, 4(r8) +/* 802D57F8 002D2758 FD 20 42 10 */ fabs f9, f8 +/* 802D57FC 002D275C C2 68 00 00 */ lfs f19, 0(r8) +/* 802D5800 002D2760 FC 40 10 18 */ frsp f2, f2 +/* 802D5804 002D2764 C2 48 00 08 */ lfs f18, 8(r8) +/* 802D5808 002D2768 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802D580C 002D276C C1 44 00 00 */ lfs f10, 0(r4) +/* 802D5810 002D2770 FC C0 30 18 */ frsp f6, f6 +/* 802D5814 002D2774 EC 54 00 B2 */ fmuls f2, f20, f2 +/* 802D5818 002D2778 EC 07 01 3A */ fmadds f0, f7, f4, f0 +/* 802D581C 002D277C FC E0 48 18 */ frsp f7, f9 +/* 802D5820 002D2780 EC 53 11 BA */ fmadds f2, f19, f6, f2 +/* 802D5824 002D2784 EC 08 01 7A */ fmadds f0, f8, f5, f0 +/* 802D5828 002D2788 EC D2 11 FA */ fmadds f6, f18, f7, f2 +/* 802D582C 002D278C FC 40 02 10 */ fabs f2, f0 +/* 802D5830 002D2790 EC 06 50 2A */ fadds f0, f6, f10 +/* 802D5834 002D2794 FC 40 10 18 */ frsp f2, f2 +/* 802D5838 002D2798 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D583C 002D279C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D5840 002D27A0 40 81 00 0C */ ble lbl_802D584C +/* 802D5844 002D27A4 38 60 00 00 */ li r3, 0 +/* 802D5848 002D27A8 48 00 02 94 */ b lbl_802D5ADC +lbl_802D584C: +/* 802D584C 002D27AC 38 E7 00 04 */ addi r7, r7, 4 +/* 802D5850 002D27B0 38 84 00 04 */ addi r4, r4, 4 +/* 802D5854 002D27B4 42 00 FF 8C */ bdnz lbl_802D57E0 +/* 802D5858 002D27B8 C2 A1 00 20 */ lfs f21, 0x20(r1) +/* 802D585C 002D27BC C3 21 00 18 */ lfs f25, 0x18(r1) +/* 802D5860 002D27C0 FC 00 AA 10 */ fabs f0, f21 +/* 802D5864 002D27C4 C2 C1 00 2C */ lfs f22, 0x2c(r1) +/* 802D5868 002D27C8 FC 40 CA 10 */ fabs f2, f25 +/* 802D586C 002D27CC C3 41 00 1C */ lfs f26, 0x1c(r1) +/* 802D5870 002D27D0 FC 20 B2 10 */ fabs f1, f22 +/* 802D5874 002D27D4 C1 A1 00 0C */ lfs f13, 0xc(r1) +/* 802D5878 002D27D8 FF 00 00 18 */ frsp f24, f0 +/* 802D587C 002D27DC C3 A3 00 08 */ lfs f29, 8(r3) +/* 802D5880 002D27E0 FC 60 D2 10 */ fabs f3, f26 +/* 802D5884 002D27E4 C3 63 00 04 */ lfs f27, 4(r3) +/* 802D5888 002D27E8 FF C0 10 18 */ frsp f30, f2 +/* 802D588C 002D27EC C3 E1 00 10 */ lfs f31, 0x10(r1) +/* 802D5890 002D27F0 EC 16 03 72 */ fmuls f0, f22, f13 +/* 802D5894 002D27F4 C1 82 C5 40 */ lfs f12, lbl_805AE260@sda21(r2) +/* 802D5898 002D27F8 FE E0 08 18 */ frsp f23, f1 +/* 802D589C 002D27FC EC 52 06 32 */ fmuls f2, f18, f24 +/* 802D58A0 002D2800 EC 15 07 F8 */ fmsubs f0, f21, f31, f0 +/* 802D58A4 002D2804 FF 80 18 18 */ frsp f28, f3 +/* 802D58A8 002D2808 EC 3D 07 B2 */ fmuls f1, f29, f30 +/* 802D58AC 002D280C FC 00 02 10 */ fabs f0, f0 +/* 802D58B0 002D2810 EC 54 15 FA */ fmadds f2, f20, f23, f2 +/* 802D58B4 002D2814 EC 7B 0F 3A */ fmadds f3, f27, f28, f1 +/* 802D58B8 002D2818 FC 20 00 18 */ frsp f1, f0 +/* 802D58BC 002D281C EC 02 18 2A */ fadds f0, f2, f3 +/* 802D58C0 002D2820 EC 0C 00 2A */ fadds f0, f12, f0 +/* 802D58C4 002D2824 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D58C8 002D2828 40 81 00 0C */ ble lbl_802D58D4 +/* 802D58CC 002D282C 38 60 00 00 */ li r3, 0 +/* 802D58D0 002D2830 48 00 02 0C */ b lbl_802D5ADC +lbl_802D58D4: +/* 802D58D4 002D2834 C1 61 00 24 */ lfs f11, 0x24(r1) +/* 802D58D8 002D2838 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 802D58DC 002D283C FC 00 5A 10 */ fabs f0, f11 +/* 802D58E0 002D2840 C1 41 00 30 */ lfs f10, 0x30(r1) +/* 802D58E4 002D2844 FC 40 3A 10 */ fabs f2, f7 +/* 802D58E8 002D2848 C0 C3 00 00 */ lfs f6, 0(r3) +/* 802D58EC 002D284C FC 20 52 10 */ fabs f1, f10 +/* 802D58F0 002D2850 FD 00 00 18 */ frsp f8, f0 +/* 802D58F4 002D2854 FC A0 10 18 */ frsp f5, f2 +/* 802D58F8 002D2858 EC 0A 03 72 */ fmuls f0, f10, f13 +/* 802D58FC 002D285C FD 20 08 18 */ frsp f9, f1 +/* 802D5900 002D2860 EC 52 02 32 */ fmuls f2, f18, f8 +/* 802D5904 002D2864 EC 3D 01 72 */ fmuls f1, f29, f5 +/* 802D5908 002D2868 EC 0B 07 F8 */ fmsubs f0, f11, f31, f0 +/* 802D590C 002D286C EC 54 12 7A */ fmadds f2, f20, f9, f2 +/* 802D5910 002D2870 EC 66 0F 3A */ fmadds f3, f6, f28, f1 +/* 802D5914 002D2874 FC 20 02 10 */ fabs f1, f0 +/* 802D5918 002D2878 EC 02 18 2A */ fadds f0, f2, f3 +/* 802D591C 002D287C FC 20 08 18 */ frsp f1, f1 +/* 802D5920 002D2880 EC 0C 00 2A */ fadds f0, f12, f0 +/* 802D5924 002D2884 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5928 002D2888 40 81 00 0C */ ble lbl_802D5934 +/* 802D592C 002D288C 38 60 00 00 */ li r3, 0 +/* 802D5930 002D2890 48 00 01 AC */ b lbl_802D5ADC +lbl_802D5934: +/* 802D5934 002D2894 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 802D5938 002D2898 EE 1B 01 72 */ fmuls f16, f27, f5 +/* 802D593C 002D289C C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802D5940 002D28A0 FC 20 22 10 */ fabs f1, f4 +/* 802D5944 002D28A4 FC 40 1A 10 */ fabs f2, f3 +/* 802D5948 002D28A8 EC 03 03 72 */ fmuls f0, f3, f13 +/* 802D594C 002D28AC FC 20 08 18 */ frsp f1, f1 +/* 802D5950 002D28B0 FC 40 10 18 */ frsp f2, f2 +/* 802D5954 002D28B4 ED E4 07 F8 */ fmsubs f15, f4, f31, f0 +/* 802D5958 002D28B8 EE 32 00 72 */ fmuls f17, f18, f1 +/* 802D595C 002D28BC EC 06 87 BA */ fmadds f0, f6, f30, f16 +/* 802D5960 002D28C0 FD E0 7A 10 */ fabs f15, f15 +/* 802D5964 002D28C4 EE 14 88 BA */ fmadds f16, f20, f2, f17 +/* 802D5968 002D28C8 FD E0 78 18 */ frsp f15, f15 +/* 802D596C 002D28CC EC 10 00 2A */ fadds f0, f16, f0 +/* 802D5970 002D28D0 EC 0C 00 2A */ fadds f0, f12, f0 +/* 802D5974 002D28D4 FC 0F 00 40 */ fcmpo cr0, f15, f0 +/* 802D5978 002D28D8 40 81 00 0C */ ble lbl_802D5984 +/* 802D597C 002D28DC 38 60 00 00 */ li r3, 0 +/* 802D5980 002D28E0 48 00 01 5C */ b lbl_802D5ADC +lbl_802D5984: +/* 802D5984 002D28E4 ED F2 01 72 */ fmuls f15, f18, f5 +/* 802D5988 002D28E8 C0 01 00 08 */ lfs f0, 8(r1) +/* 802D598C 002D28EC EE 3D 02 32 */ fmuls f17, f29, f8 +/* 802D5990 002D28F0 EE 07 07 F2 */ fmuls f16, f7, f31 +/* 802D5994 002D28F4 ED F3 7D FA */ fmadds f15, f19, f23, f15 +/* 802D5998 002D28F8 ED DB 88 7A */ fmadds f14, f27, f1, f17 +/* 802D599C 002D28FC EE 36 80 38 */ fmsubs f17, f22, f0, f16 +/* 802D59A0 002D2900 EE 0F 70 2A */ fadds f16, f15, f14 +/* 802D59A4 002D2904 FD E0 8A 10 */ fabs f15, f17 +/* 802D59A8 002D2908 EE 0C 80 2A */ fadds f16, f12, f16 +/* 802D59AC 002D290C FE 20 78 18 */ frsp f17, f15 +/* 802D59B0 002D2910 FC 11 80 40 */ fcmpo cr0, f17, f16 +/* 802D59B4 002D2914 40 81 00 0C */ ble lbl_802D59C0 +/* 802D59B8 002D2918 38 60 00 00 */ li r3, 0 +/* 802D59BC 002D291C 48 00 01 20 */ b lbl_802D5ADC +lbl_802D59C0: +/* 802D59C0 002D2920 EE 12 07 B2 */ fmuls f16, f18, f30 +/* 802D59C4 002D2924 EE 3D 06 32 */ fmuls f17, f29, f24 +/* 802D59C8 002D2928 EE D9 07 F2 */ fmuls f22, f25, f31 +/* 802D59CC 002D292C ED F3 82 7A */ fmadds f15, f19, f9, f16 +/* 802D59D0 002D2930 EE 06 88 7A */ fmadds f16, f6, f1, f17 +/* 802D59D4 002D2934 EE CA B0 38 */ fmsubs f22, f10, f0, f22 +/* 802D59D8 002D2938 ED 4F 80 2A */ fadds f10, f15, f16 +/* 802D59DC 002D293C FD E0 B2 10 */ fabs f15, f22 +/* 802D59E0 002D2940 ED 4C 50 2A */ fadds f10, f12, f10 +/* 802D59E4 002D2944 FE C0 78 18 */ frsp f22, f15 +/* 802D59E8 002D2948 FC 16 50 40 */ fcmpo cr0, f22, f10 +/* 802D59EC 002D294C 40 81 00 0C */ ble lbl_802D59F8 +/* 802D59F0 002D2950 38 60 00 00 */ li r3, 0 +/* 802D59F4 002D2954 48 00 00 E8 */ b lbl_802D5ADC +lbl_802D59F8: +/* 802D59F8 002D2958 EE D2 07 32 */ fmuls f22, f18, f28 +/* 802D59FC 002D295C EE 5B 06 32 */ fmuls f18, f27, f24 +/* 802D5A00 002D2960 ED 5A 07 F2 */ fmuls f10, f26, f31 +/* 802D5A04 002D2964 ED F3 B0 BA */ fmadds f15, f19, f2, f22 +/* 802D5A08 002D2968 EE 06 92 3A */ fmadds f16, f6, f8, f18 +/* 802D5A0C 002D296C ED 43 50 38 */ fmsubs f10, f3, f0, f10 +/* 802D5A10 002D2970 EC 6F 80 2A */ fadds f3, f15, f16 +/* 802D5A14 002D2974 FD 40 52 10 */ fabs f10, f10 +/* 802D5A18 002D2978 EC 6C 18 2A */ fadds f3, f12, f3 +/* 802D5A1C 002D297C FD 40 50 18 */ frsp f10, f10 +/* 802D5A20 002D2980 FC 0A 18 40 */ fcmpo cr0, f10, f3 +/* 802D5A24 002D2984 40 81 00 0C */ ble lbl_802D5A30 +/* 802D5A28 002D2988 38 60 00 00 */ li r3, 0 +/* 802D5A2C 002D298C 48 00 00 B0 */ b lbl_802D5ADC +lbl_802D5A30: +/* 802D5A30 002D2990 ED 54 01 72 */ fmuls f10, f20, f5 +/* 802D5A34 002D2994 EC BD 02 72 */ fmuls f5, f29, f9 +/* 802D5A38 002D2998 EC 75 00 32 */ fmuls f3, f21, f0 +/* 802D5A3C 002D299C ED 53 56 3A */ fmadds f10, f19, f24, f10 +/* 802D5A40 002D29A0 ED FB 28 BA */ fmadds f15, f27, f2, f5 +/* 802D5A44 002D29A4 EC A7 1B 78 */ fmsubs f5, f7, f13, f3 +/* 802D5A48 002D29A8 EC 6A 78 2A */ fadds f3, f10, f15 +/* 802D5A4C 002D29AC FC A0 2A 10 */ fabs f5, f5 +/* 802D5A50 002D29B0 EC 6C 18 2A */ fadds f3, f12, f3 +/* 802D5A54 002D29B4 FC A0 28 18 */ frsp f5, f5 +/* 802D5A58 002D29B8 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 802D5A5C 002D29BC 40 81 00 0C */ ble lbl_802D5A68 +/* 802D5A60 002D29C0 38 60 00 00 */ li r3, 0 +/* 802D5A64 002D29C4 48 00 00 78 */ b lbl_802D5ADC +lbl_802D5A68: +/* 802D5A68 002D29C8 EC F4 07 B2 */ fmuls f7, f20, f30 +/* 802D5A6C 002D29CC EC BD 05 F2 */ fmuls f5, f29, f23 +/* 802D5A70 002D29D0 EC 6B 00 32 */ fmuls f3, f11, f0 +/* 802D5A74 002D29D4 EC F3 3A 3A */ fmadds f7, f19, f8, f7 +/* 802D5A78 002D29D8 EC 46 28 BA */ fmadds f2, f6, f2, f5 +/* 802D5A7C 002D29DC EC 79 1B 78 */ fmsubs f3, f25, f13, f3 +/* 802D5A80 002D29E0 EC 47 10 2A */ fadds f2, f7, f2 +/* 802D5A84 002D29E4 FC 60 1A 10 */ fabs f3, f3 +/* 802D5A88 002D29E8 EC 4C 10 2A */ fadds f2, f12, f2 +/* 802D5A8C 002D29EC FC 60 18 18 */ frsp f3, f3 +/* 802D5A90 002D29F0 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 802D5A94 002D29F4 40 81 00 0C */ ble lbl_802D5AA0 +/* 802D5A98 002D29F8 38 60 00 00 */ li r3, 0 +/* 802D5A9C 002D29FC 48 00 00 40 */ b lbl_802D5ADC +lbl_802D5AA0: +/* 802D5AA0 002D2A00 EC 74 07 32 */ fmuls f3, f20, f28 +/* 802D5AA4 002D2A04 EC 5B 05 F2 */ fmuls f2, f27, f23 +/* 802D5AA8 002D2A08 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D5AAC 002D2A0C EC 73 18 7A */ fmadds f3, f19, f1, f3 +/* 802D5AB0 002D2A10 EC 46 12 7A */ fmadds f2, f6, f9, f2 +/* 802D5AB4 002D2A14 EC 3A 03 78 */ fmsubs f1, f26, f13, f0 +/* 802D5AB8 002D2A18 EC 03 10 2A */ fadds f0, f3, f2 +/* 802D5ABC 002D2A1C FC 20 0A 10 */ fabs f1, f1 +/* 802D5AC0 002D2A20 EC 0C 00 2A */ fadds f0, f12, f0 +/* 802D5AC4 002D2A24 FC 20 08 18 */ frsp f1, f1 +/* 802D5AC8 002D2A28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D5ACC 002D2A2C 7C 00 00 26 */ mfcr r0 +/* 802D5AD0 002D2A30 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D5AD4 002D2A34 7C 00 00 34 */ cntlzw r0, r0 +/* 802D5AD8 002D2A38 54 03 D9 7E */ srwi r3, r0, 5 +lbl_802D5ADC: +/* 802D5ADC 002D2A3C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 802D5AE0 002D2A40 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 802D5AE4 002D2A44 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 802D5AE8 002D2A48 CB C1 01 80 */ lfd f30, 0x180(r1) +/* 802D5AEC 002D2A4C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 802D5AF0 002D2A50 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 802D5AF4 002D2A54 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 +/* 802D5AF8 002D2A58 CB 81 01 60 */ lfd f28, 0x160(r1) +/* 802D5AFC 002D2A5C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 +/* 802D5B00 002D2A60 CB 61 01 50 */ lfd f27, 0x150(r1) +/* 802D5B04 002D2A64 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 +/* 802D5B08 002D2A68 CB 41 01 40 */ lfd f26, 0x140(r1) +/* 802D5B0C 002D2A6C E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 +/* 802D5B10 002D2A70 CB 21 01 30 */ lfd f25, 0x130(r1) +/* 802D5B14 002D2A74 E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0 +/* 802D5B18 002D2A78 CB 01 01 20 */ lfd f24, 0x120(r1) +/* 802D5B1C 002D2A7C E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0 +/* 802D5B20 002D2A80 CA E1 01 10 */ lfd f23, 0x110(r1) +/* 802D5B24 002D2A84 E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0 +/* 802D5B28 002D2A88 CA C1 01 00 */ lfd f22, 0x100(r1) +/* 802D5B2C 002D2A8C E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0 +/* 802D5B30 002D2A90 CA A1 00 F0 */ lfd f21, 0xf0(r1) +/* 802D5B34 002D2A94 E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0 +/* 802D5B38 002D2A98 CA 81 00 E0 */ lfd f20, 0xe0(r1) +/* 802D5B3C 002D2A9C E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0 +/* 802D5B40 002D2AA0 CA 61 00 D0 */ lfd f19, 0xd0(r1) +/* 802D5B44 002D2AA4 E2 41 00 C8 */ psq_l f18, 200(r1), 0, qr0 +/* 802D5B48 002D2AA8 CA 41 00 C0 */ lfd f18, 0xc0(r1) +/* 802D5B4C 002D2AAC E2 21 00 B8 */ psq_l f17, 184(r1), 0, qr0 +/* 802D5B50 002D2AB0 CA 21 00 B0 */ lfd f17, 0xb0(r1) +/* 802D5B54 002D2AB4 E2 01 00 A8 */ psq_l f16, 168(r1), 0, qr0 +/* 802D5B58 002D2AB8 CA 01 00 A0 */ lfd f16, 0xa0(r1) +/* 802D5B5C 002D2ABC E1 E1 00 98 */ psq_l f15, 152(r1), 0, qr0 +/* 802D5B60 002D2AC0 C9 E1 00 90 */ lfd f15, 0x90(r1) +/* 802D5B64 002D2AC4 E1 C1 00 88 */ psq_l f14, 136(r1), 0, qr0 +/* 802D5B68 002D2AC8 C9 C1 00 80 */ lfd f14, 0x80(r1) +/* 802D5B6C 002D2ACC 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 802D5B70 002D2AD0 4E 80 00 20 */ blr + +.global AABoxIntersectsBox__6COBBoxFRC6CAABox +AABoxIntersectsBox__6COBBoxFRC6CAABox: +/* 802D5B74 002D2AD4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D5B78 002D2AD8 7C 08 02 A6 */ mflr r0 +/* 802D5B7C 002D2ADC 3C A0 80 5A */ lis r5, skIdentity4f@ha +/* 802D5B80 002D2AE0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D5B84 002D2AE4 38 A5 66 70 */ addi r5, r5, skIdentity4f@l +/* 802D5B88 002D2AE8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802D5B8C 002D2AEC 7C 7F 1B 78 */ mr r31, r3 +/* 802D5B90 002D2AF0 38 61 00 08 */ addi r3, r1, 8 +/* 802D5B94 002D2AF4 48 00 01 89 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802D5B98 002D2AF8 7F E3 FB 78 */ mr r3, r31 +/* 802D5B9C 002D2AFC 38 81 00 08 */ addi r4, r1, 8 +/* 802D5BA0 002D2B00 4B FF F8 F5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802D5BA4 002D2B04 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D5BA8 002D2B08 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802D5BAC 002D2B0C 7C 08 03 A6 */ mtlr r0 +/* 802D5BB0 002D2B10 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D5BB4 002D2B14 4E 80 00 20 */ blr + +.global LineIntersectsBox__6COBBoxCFRC5CMRayRf +LineIntersectsBox__6COBBoxCFRC5CMRayRf: +/* 802D5BB8 002D2B18 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802D5BBC 002D2B1C 7C 08 02 A6 */ mflr r0 +/* 802D5BC0 002D2B20 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802D5BC4 002D2B24 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802D5BC8 002D2B28 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802D5BCC 002D2B2C DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802D5BD0 002D2B30 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802D5BD4 002D2B34 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802D5BD8 002D2B38 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802D5BDC 002D2B3C 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802D5BE0 002D2B40 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802D5BE4 002D2B44 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 802D5BE8 002D2B48 7C 7D 1B 78 */ mr r29, r3 +/* 802D5BEC 002D2B4C 7C 9E 23 78 */ mr r30, r4 +/* 802D5BF0 002D2B50 C0 43 00 38 */ lfs f2, 0x38(r3) +/* 802D5BF4 002D2B54 7C BF 2B 78 */ mr r31, r5 +/* 802D5BF8 002D2B58 C0 23 00 34 */ lfs f1, 0x34(r3) +/* 802D5BFC 002D2B5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D5C00 002D2B60 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 802D5C04 002D2B64 FC 40 10 50 */ fneg f2, f2 +/* 802D5C08 002D2B68 FC 20 08 50 */ fneg f1, f1 +/* 802D5C0C 002D2B6C 38 81 00 08 */ addi r4, r1, 8 +/* 802D5C10 002D2B70 FC 00 00 50 */ fneg f0, f0 +/* 802D5C14 002D2B74 38 BD 00 30 */ addi r5, r29, 0x30 +/* 802D5C18 002D2B78 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802D5C1C 002D2B7C D0 01 00 08 */ stfs f0, 8(r1) +/* 802D5C20 002D2B80 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D5C24 002D2B84 48 06 28 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D5C28 002D2B88 7F C4 F3 78 */ mr r4, r30 +/* 802D5C2C 002D2B8C 7F A5 EB 78 */ mr r5, r29 +/* 802D5C30 002D2B90 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D5C34 002D2B94 48 00 03 B5 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +/* 802D5C38 002D2B98 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D5C3C 002D2B9C C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 802D5C40 002D2BA0 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 802D5C44 002D2BA4 C3 C1 00 3C */ lfs f30, 0x3c(r1) +/* 802D5C48 002D2BA8 C3 E1 00 40 */ lfs f31, 0x40(r1) +/* 802D5C4C 002D2BAC 7F E6 FB 78 */ mr r6, r31 +/* 802D5C50 002D2BB0 C1 A1 00 44 */ lfs f13, 0x44(r1) +/* 802D5C54 002D2BB4 38 61 00 70 */ addi r3, r1, 0x70 +/* 802D5C58 002D2BB8 C1 81 00 48 */ lfs f12, 0x48(r1) +/* 802D5C5C 002D2BBC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D5C60 002D2BC0 C1 61 00 4C */ lfs f11, 0x4c(r1) +/* 802D5C64 002D2BC4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802D5C68 002D2BC8 C1 41 00 50 */ lfs f10, 0x50(r1) +/* 802D5C6C 002D2BCC C1 21 00 54 */ lfs f9, 0x54(r1) +/* 802D5C70 002D2BD0 C1 01 00 58 */ lfs f8, 0x58(r1) +/* 802D5C74 002D2BD4 C0 E1 00 5C */ lfs f7, 0x5c(r1) +/* 802D5C78 002D2BD8 C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 802D5C7C 002D2BDC C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 802D5C80 002D2BE0 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 802D5C84 002D2BE4 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 802D5C88 002D2BE8 C0 47 00 00 */ lfs f2, 0(r7) +/* 802D5C8C 002D2BEC C0 27 00 04 */ lfs f1, 4(r7) +/* 802D5C90 002D2BF0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802D5C94 002D2BF4 D3 A1 00 70 */ stfs f29, 0x70(r1) +/* 802D5C98 002D2BF8 D3 C1 00 74 */ stfs f30, 0x74(r1) +/* 802D5C9C 002D2BFC D3 E1 00 78 */ stfs f31, 0x78(r1) +/* 802D5CA0 002D2C00 D1 A1 00 7C */ stfs f13, 0x7c(r1) +/* 802D5CA4 002D2C04 D1 81 00 80 */ stfs f12, 0x80(r1) +/* 802D5CA8 002D2C08 D1 61 00 84 */ stfs f11, 0x84(r1) +/* 802D5CAC 002D2C0C D1 41 00 88 */ stfs f10, 0x88(r1) +/* 802D5CB0 002D2C10 D1 21 00 8C */ stfs f9, 0x8c(r1) +/* 802D5CB4 002D2C14 D1 01 00 90 */ stfs f8, 0x90(r1) +/* 802D5CB8 002D2C18 D0 E1 00 94 */ stfs f7, 0x94(r1) +/* 802D5CBC 002D2C1C D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 802D5CC0 002D2C20 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 802D5CC4 002D2C24 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 802D5CC8 002D2C28 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 802D5CCC 002D2C2C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D5CD0 002D2C30 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D5CD4 002D2C34 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D5CD8 002D2C38 4B FF D8 B9 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf +/* 802D5CDC 002D2C3C 7C 03 00 D0 */ neg r0, r3 +/* 802D5CE0 002D2C40 7C 00 1B 78 */ or r0, r0, r3 +/* 802D5CE4 002D2C44 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802D5CE8 002D2C48 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802D5CEC 002D2C4C CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802D5CF0 002D2C50 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802D5CF4 002D2C54 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802D5CF8 002D2C58 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802D5CFC 002D2C5C CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802D5D00 002D2C60 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802D5D04 002D2C64 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 802D5D08 002D2C68 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802D5D0C 002D2C6C 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 802D5D10 002D2C70 7C 08 03 A6 */ mtlr r0 +/* 802D5D14 002D2C74 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802D5D18 002D2C78 4E 80 00 20 */ blr + +.global FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f: +/* 802D5D1C 002D2C7C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802D5D20 002D2C80 7C 08 02 A6 */ mflr r0 +/* 802D5D24 002D2C84 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802D5D28 002D2C88 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802D5D2C 002D2C8C 7C BF 2B 78 */ mr r31, r5 +/* 802D5D30 002D2C90 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802D5D34 002D2C94 7C 9E 23 78 */ mr r30, r4 +/* 802D5D38 002D2C98 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 802D5D3C 002D2C9C 7C 7D 1B 78 */ mr r29, r3 +/* 802D5D40 002D2CA0 38 61 00 08 */ addi r3, r1, 8 +/* 802D5D44 002D2CA4 48 06 18 C9 */ bl GetCenterPoint__6CAABoxCFv +/* 802D5D48 002D2CA8 C0 A1 00 08 */ lfs f5, 8(r1) +/* 802D5D4C 002D2CAC 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D5D50 002D2CB0 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802D5D54 002D2CB4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D5D58 002D2CB8 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802D5D5C 002D2CBC C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 802D5D60 002D2CC0 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 802D5D64 002D2CC4 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802D5D68 002D2CC8 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802D5D6C 002D2CCC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D5D70 002D2CD0 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 802D5D74 002D2CD4 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802D5D78 002D2CD8 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802D5D7C 002D2CDC D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802D5D80 002D2CE0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D5D84 002D2CE4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D5D88 002D2CE8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D5D8C 002D2CEC 48 03 D3 B5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802D5D90 002D2CF0 7F E4 FB 78 */ mr r4, r31 +/* 802D5D94 002D2CF4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D5D98 002D2CF8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802D5D9C 002D2CFC 48 03 CB B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802D5DA0 002D2D00 38 61 00 8C */ addi r3, r1, 0x8c +/* 802D5DA4 002D2D04 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D5DA8 002D2D08 48 03 CD CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802D5DAC 002D2D0C 7F A3 EB 78 */ mr r3, r29 +/* 802D5DB0 002D2D10 38 81 00 8C */ addi r4, r1, 0x8c +/* 802D5DB4 002D2D14 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802D5DB8 002D2D18 48 00 01 DD */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f +/* 802D5DBC 002D2D1C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D5DC0 002D2D20 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802D5DC4 002D2D24 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802D5DC8 002D2D28 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 802D5DCC 002D2D2C 7C 08 03 A6 */ mtlr r0 +/* 802D5DD0 002D2D30 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802D5DD4 002D2D34 4E 80 00 20 */ blr + +.global CalculateAABox__6COBBoxCFRC12CTransform4f +CalculateAABox__6COBBoxCFRC12CTransform4f: +/* 802D5DD8 002D2D38 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802D5DDC 002D2D3C 7C 08 02 A6 */ mflr r0 +/* 802D5DE0 002D2D40 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802D5DE4 002D2D44 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802D5DE8 002D2D48 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802D5DEC 002D2D4C 7C 9E 23 78 */ mr r30, r4 +/* 802D5DF0 002D2D50 7C A4 2B 78 */ mr r4, r5 +/* 802D5DF4 002D2D54 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 802D5DF8 002D2D58 7C 7D 1B 78 */ mr r29, r3 +/* 802D5DFC 002D2D5C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802D5E00 002D2D60 7F C5 F3 78 */ mr r5, r30 +/* 802D5E04 002D2D64 48 03 CB 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802D5E08 002D2D68 38 61 00 80 */ addi r3, r1, 0x80 +/* 802D5E0C 002D2D6C 38 81 00 50 */ addi r4, r1, 0x50 +/* 802D5E10 002D2D70 48 03 CD 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802D5E14 002D2D74 C0 82 C5 44 */ lfs f4, lbl_805AE264@sda21(r2) +/* 802D5E18 002D2D78 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802D5E1C 002D2D7C C4 E3 67 54 */ lfsu f7, lbl_805A6754@l(r3) +/* 802D5E20 002D2D80 3B E0 00 00 */ li r31, 0 +/* 802D5E24 002D2D84 C0 3E 00 34 */ lfs f1, 0x34(r30) +/* 802D5E28 002D2D88 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 802D5E2C 002D2D8C C0 02 C5 48 */ lfs f0, lbl_805AE268@sda21(r2) +/* 802D5E30 002D2D90 ED 24 00 72 */ fmuls f9, f4, f1 +/* 802D5E34 002D2D94 ED 04 00 F2 */ fmuls f8, f4, f3 +/* 802D5E38 002D2D98 C0 C3 00 04 */ lfs f6, 4(r3) +/* 802D5E3C 002D2D9C ED 40 00 F2 */ fmuls f10, f0, f3 +/* 802D5E40 002D2DA0 C0 A3 00 08 */ lfs f5, 8(r3) +/* 802D5E44 002D2DA4 ED 60 00 72 */ fmuls f11, f0, f1 +/* 802D5E48 002D2DA8 C0 5E 00 30 */ lfs f2, 0x30(r30) +/* 802D5E4C 002D2DAC C0 63 00 10 */ lfs f3, 0x10(r3) +/* 802D5E50 002D2DB0 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D5E54 002D2DB4 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802D5E58 002D2DB8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802D5E5C 002D2DBC C0 43 00 14 */ lfs f2, 0x14(r3) +/* 802D5E60 002D2DC0 D0 E1 00 38 */ stfs f7, 0x38(r1) +/* 802D5E64 002D2DC4 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 802D5E68 002D2DC8 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 802D5E6C 002D2DCC D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802D5E70 002D2DD0 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 802D5E74 002D2DD4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802D5E78 002D2DD8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802D5E7C 002D2DDC D1 21 00 30 */ stfs f9, 0x30(r1) +/* 802D5E80 002D2DE0 D1 01 00 34 */ stfs f8, 0x34(r1) +/* 802D5E84 002D2DE4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D5E88 002D2DE8 D1 61 00 24 */ stfs f11, 0x24(r1) +/* 802D5E8C 002D2DEC D1 41 00 28 */ stfs f10, 0x28(r1) +lbl_802D5E90: +/* 802D5E90 002D2DF0 57 E0 07 7B */ rlwinm. r0, r31, 0, 0x1d, 0x1d +/* 802D5E94 002D2DF4 41 82 00 0C */ beq lbl_802D5EA0 +/* 802D5E98 002D2DF8 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802D5E9C 002D2DFC 48 00 00 08 */ b lbl_802D5EA4 +lbl_802D5EA0: +/* 802D5EA0 002D2E00 C0 21 00 28 */ lfs f1, 0x28(r1) +lbl_802D5EA4: +/* 802D5EA4 002D2E04 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e +/* 802D5EA8 002D2E08 41 82 00 0C */ beq lbl_802D5EB4 +/* 802D5EAC 002D2E0C C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802D5EB0 002D2E10 48 00 00 08 */ b lbl_802D5EB8 +lbl_802D5EB4: +/* 802D5EB4 002D2E14 C0 41 00 24 */ lfs f2, 0x24(r1) +lbl_802D5EB8: +/* 802D5EB8 002D2E18 57 E0 07 FF */ clrlwi. r0, r31, 0x1f +/* 802D5EBC 002D2E1C 41 82 00 0C */ beq lbl_802D5EC8 +/* 802D5EC0 002D2E20 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802D5EC4 002D2E24 48 00 00 08 */ b lbl_802D5ECC +lbl_802D5EC8: +/* 802D5EC8 002D2E28 C0 01 00 20 */ lfs f0, 0x20(r1) +lbl_802D5ECC: +/* 802D5ECC 002D2E2C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D5ED0 002D2E30 38 61 00 08 */ addi r3, r1, 8 +/* 802D5ED4 002D2E34 38 81 00 80 */ addi r4, r1, 0x80 +/* 802D5ED8 002D2E38 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802D5EDC 002D2E3C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802D5EE0 002D2E40 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D5EE4 002D2E44 48 03 CC 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802D5EE8 002D2E48 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D5EEC 002D2E4C 38 81 00 08 */ addi r4, r1, 8 +/* 802D5EF0 002D2E50 48 06 1C 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802D5EF4 002D2E54 3B FF 00 01 */ addi r31, r31, 1 +/* 802D5EF8 002D2E58 2C 1F 00 08 */ cmpwi r31, 8 +/* 802D5EFC 002D2E5C 41 80 FF 94 */ blt lbl_802D5E90 +/* 802D5F00 002D2E60 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D5F04 002D2E64 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802D5F08 002D2E68 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D5F0C 002D2E6C D0 1D 00 04 */ stfs f0, 4(r29) +/* 802D5F10 002D2E70 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802D5F14 002D2E74 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802D5F18 002D2E78 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802D5F1C 002D2E7C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802D5F20 002D2E80 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802D5F24 002D2E84 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802D5F28 002D2E88 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802D5F2C 002D2E8C D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802D5F30 002D2E90 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802D5F34 002D2E94 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 802D5F38 002D2E98 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 802D5F3C 002D2E9C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802D5F40 002D2EA0 7C 08 03 A6 */ mtlr r0 +/* 802D5F44 002D2EA4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802D5F48 002D2EA8 4E 80 00 20 */ blr + +.global __ct__6COBBoxFR12CInputStream +__ct__6COBBoxFR12CInputStream: +/* 802D5F4C 002D2EAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D5F50 002D2EB0 7C 08 02 A6 */ mflr r0 +/* 802D5F54 002D2EB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D5F58 002D2EB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D5F5C 002D2EBC 7C 9F 23 78 */ mr r31, r4 +/* 802D5F60 002D2EC0 93 C1 00 08 */ stw r30, 8(r1) +/* 802D5F64 002D2EC4 7C 7E 1B 78 */ mr r30, r3 +/* 802D5F68 002D2EC8 48 03 D3 75 */ bl __ct__12CTransform4fFR12CInputStream +/* 802D5F6C 002D2ECC 7F E4 FB 78 */ mr r4, r31 +/* 802D5F70 002D2ED0 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802D5F74 002D2ED4 48 03 EC 19 */ bl __ct__9CVector3fFR12CInputStream +/* 802D5F78 002D2ED8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D5F7C 002D2EDC 7F C3 F3 78 */ mr r3, r30 +/* 802D5F80 002D2EE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D5F84 002D2EE4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D5F88 002D2EE8 7C 08 03 A6 */ mtlr r0 +/* 802D5F8C 002D2EEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D5F90 002D2EF0 4E 80 00 20 */ blr + +.global __ct__6COBBoxFRC12CTransform4fRC9CVector3f +__ct__6COBBoxFRC12CTransform4fRC9CVector3f: +/* 802D5F94 002D2EF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D5F98 002D2EF8 7C 08 02 A6 */ mflr r0 +/* 802D5F9C 002D2EFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D5FA0 002D2F00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D5FA4 002D2F04 7C BF 2B 78 */ mr r31, r5 +/* 802D5FA8 002D2F08 93 C1 00 08 */ stw r30, 8(r1) +/* 802D5FAC 002D2F0C 7C 7E 1B 78 */ mr r30, r3 +/* 802D5FB0 002D2F10 48 03 CB C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802D5FB4 002D2F14 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D5FB8 002D2F18 7F C3 F3 78 */ mr r3, r30 +/* 802D5FBC 002D2F1C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 802D5FC0 002D2F20 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802D5FC4 002D2F24 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 802D5FC8 002D2F28 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802D5FCC 002D2F2C D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802D5FD0 002D2F30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D5FD4 002D2F34 83 C1 00 08 */ lwz r30, 8(r1) +/* 802D5FD8 002D2F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D5FDC 002D2F3C 7C 08 03 A6 */ mtlr r0 +/* 802D5FE0 002D2F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D5FE4 002D2F44 4E 80 00 20 */ blr diff --git a/asm/Collision/CollisionUtil.s b/asm/Collision/CollisionUtil.s new file mode 100644 index 00000000..c0e3c0d6 --- /dev/null +++ b/asm/Collision/CollisionUtil.s @@ -0,0 +1,4608 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf: +/* 802CFCF4 002CCC54 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802CFCF8 002CCC58 7C 08 02 A6 */ mflr r0 +/* 802CFCFC 002CCC5C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802CFD00 002CCC60 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802CFD04 002CCC64 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802CFD08 002CCC68 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 802CFD0C 002CCC6C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 802CFD10 002CCC70 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 802CFD14 002CCC74 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 802CFD18 002CCC78 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 802CFD1C 002CCC7C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 802CFD20 002CCC80 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 802CFD24 002CCC84 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 802CFD28 002CCC88 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802CFD2C 002CCC8C 7C 9B 23 78 */ mr r27, r4 +/* 802CFD30 002CCC90 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CFD34 002CCC94 C0 24 00 04 */ lfs f1, 4(r4) +/* 802CFD38 002CCC98 7C BC 2B 78 */ mr r28, r5 +/* 802CFD3C 002CCC9C C0 64 00 08 */ lfs f3, 8(r4) +/* 802CFD40 002CCCA0 7C DD 33 78 */ mr r29, r6 +/* 802CFD44 002CCCA4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802CFD48 002CCCA8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFD4C 002CCCAC C0 03 00 00 */ lfs f0, 0(r3) +/* 802CFD50 002CCCB0 7C FE 3B 78 */ mr r30, r7 +/* 802CFD54 002CCCB4 C0 24 00 00 */ lfs f1, 0(r4) +/* 802CFD58 002CCCB8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFD5C 002CCCBC D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802CFD60 002CCCC0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFD64 002CCCC4 7D 1F 43 78 */ mr r31, r8 +/* 802CFD68 002CCCC8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802CFD6C 002CCCCC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFD70 002CCCD0 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CFD74 002CCCD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802CFD78 002CCCD8 48 04 48 0D */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFD7C 002CCCDC C0 3C 00 04 */ lfs f1, 4(r28) +/* 802CFD80 002CCCE0 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFD84 002CCCE4 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802CFD88 002CCCE8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CFD8C 002CCCEC C0 7C 00 08 */ lfs f3, 8(r28) +/* 802CFD90 002CCCF0 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802CFD94 002CCCF4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFD98 002CCCF8 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802CFD9C 002CCCFC C0 1B 00 00 */ lfs f0, 0(r27) +/* 802CFDA0 002CCD00 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFDA4 002CCD04 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802CFDA8 002CCD08 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFDAC 002CCD0C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802CFDB0 002CCD10 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802CFDB4 002CCD14 48 04 47 D1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFDB8 002CCD18 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802CFDBC 002CCD1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CFDC0 002CCD20 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802CFDC4 002CCD24 38 81 00 08 */ addi r4, r1, 8 +/* 802CFDC8 002CCD28 C0 7D 00 08 */ lfs f3, 8(r29) +/* 802CFDCC 002CCD2C C0 5B 00 08 */ lfs f2, 8(r27) +/* 802CFDD0 002CCD30 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802CFDD4 002CCD34 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802CFDD8 002CCD38 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802CFDDC 002CCD3C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802CFDE0 002CCD40 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802CFDE4 002CCD44 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802CFDE8 002CCD48 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802CFDEC 002CCD4C D0 01 00 08 */ stfs f0, 8(r1) +/* 802CFDF0 002CCD50 48 04 47 95 */ bl __ct__9CVector3dFRC9CVector3f +/* 802CFDF4 002CCD54 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFDF8 002CCD58 48 04 47 29 */ bl MagSquared__9CVector3dCFv +/* 802CFDFC 002CCD5C FF 60 08 90 */ fmr f27, f1 +/* 802CFE00 002CCD60 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CFE04 002CCD64 48 04 47 1D */ bl MagSquared__9CVector3dCFv +/* 802CFE08 002CCD68 FF 80 08 90 */ fmr f28, f1 +/* 802CFE0C 002CCD6C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CFE10 002CCD70 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CFE14 002CCD74 48 04 46 59 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE18 002CCD78 FF A0 08 90 */ fmr f29, f1 +/* 802CFE1C 002CCD7C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE20 002CCD80 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CFE24 002CCD84 48 04 46 49 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE28 002CCD88 FF C0 08 90 */ fmr f30, f1 +/* 802CFE2C 002CCD8C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE30 002CCD90 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CFE34 002CCD94 48 04 46 39 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802CFE38 002CCD98 FF E0 08 90 */ fmr f31, f1 +/* 802CFE3C 002CCD9C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CFE40 002CCDA0 48 04 46 E1 */ bl MagSquared__9CVector3dCFv +/* 802CFE44 002CCDA4 FC 7D 07 72 */ fmul f3, f29, f29 +/* 802CFE48 002CCDA8 FC 1C 07 B2 */ fmul f0, f28, f30 +/* 802CFE4C 002CCDAC FC 5B 07 F2 */ fmul f2, f27, f31 +/* 802CFE50 002CCDB0 FC 7B 1F 38 */ fmsub f3, f27, f28, f3 +/* 802CFE54 002CCDB4 FC 1D 07 F8 */ fmsub f0, f29, f31, f0 +/* 802CFE58 002CCDB8 FC 5D 17 B8 */ fmsub f2, f29, f30, f2 +/* 802CFE5C 002CCDBC FC 80 1A 10 */ fabs f4, f3 +/* 802CFE60 002CCDC0 FC 60 10 2A */ fadd f3, f0, f2 +/* 802CFE64 002CCDC4 FC 03 20 40 */ fcmpo cr0, f3, f4 +/* 802CFE68 002CCDC8 4C 40 13 82 */ cror 2, 0, 2 +/* 802CFE6C 002CCDCC 40 82 01 70 */ bne lbl_802CFFDC +/* 802CFE70 002CCDD0 C8 62 C4 A0 */ lfd f3, lbl_805AE1C0@sda21(r2) +/* 802CFE74 002CCDD4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802CFE78 002CCDD8 40 80 00 D8 */ bge lbl_802CFF50 +/* 802CFE7C 002CCDDC FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802CFE80 002CCDE0 40 80 00 88 */ bge lbl_802CFF08 +/* 802CFE84 002CCDE4 FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 802CFE88 002CCDE8 40 80 00 38 */ bge lbl_802CFEC0 +/* 802CFE8C 002CCDEC FC 00 F0 50 */ fneg f0, f30 +/* 802CFE90 002CCDF0 FC 40 18 90 */ fmr f2, f3 +/* 802CFE94 002CCDF4 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802CFE98 002CCDF8 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFE9C 002CCDFC 40 82 00 18 */ bne lbl_802CFEB4 +/* 802CFEA0 002CCE00 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFEA4 002CCE04 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802CFEA8 002CCE08 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802CFEAC 002CCE0C FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFEB0 002CCE10 48 00 03 44 */ b lbl_802D01F4 +lbl_802CFEB4: +/* 802CFEB4 002CCE14 FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802CFEB8 002CCE18 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802CFEBC 002CCE1C 48 00 03 38 */ b lbl_802D01F4 +lbl_802CFEC0: +/* 802CFEC0 002CCE20 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 802CFEC4 002CCE24 FC 00 18 90 */ fmr f0, f3 +/* 802CFEC8 002CCE28 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFECC 002CCE2C 40 82 00 0C */ bne lbl_802CFED8 +/* 802CFED0 002CCE30 FC 40 18 90 */ fmr f2, f3 +/* 802CFED4 002CCE34 48 00 03 20 */ b lbl_802D01F4 +lbl_802CFED8: +/* 802CFED8 002CCE38 FC 40 F8 50 */ fneg f2, f31 +/* 802CFEDC 002CCE3C FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 802CFEE0 002CCE40 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFEE4 002CCE44 40 82 00 18 */ bne lbl_802CFEFC +/* 802CFEE8 002CCE48 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFEEC 002CCE4C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802CFEF0 002CCE50 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802CFEF4 002CCE54 FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFEF8 002CCE58 48 00 02 FC */ b lbl_802D01F4 +lbl_802CFEFC: +/* 802CFEFC 002CCE5C FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802CFF00 002CCE60 FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802CFF04 002CCE64 48 00 02 F0 */ b lbl_802D01F4 +lbl_802CFF08: +/* 802CFF08 002CCE68 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 802CFF0C 002CCE6C FC 00 18 90 */ fmr f0, f3 +/* 802CFF10 002CCE70 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF14 002CCE74 40 82 00 0C */ bne lbl_802CFF20 +/* 802CFF18 002CCE78 FC 40 18 90 */ fmr f2, f3 +/* 802CFF1C 002CCE7C 48 00 02 D8 */ b lbl_802D01F4 +lbl_802CFF20: +/* 802CFF20 002CCE80 FC 40 F8 50 */ fneg f2, f31 +/* 802CFF24 002CCE84 FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 802CFF28 002CCE88 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF2C 002CCE8C 40 82 00 18 */ bne lbl_802CFF44 +/* 802CFF30 002CCE90 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFF34 002CCE94 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802CFF38 002CCE98 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802CFF3C 002CCE9C FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFF40 002CCEA0 48 00 02 B4 */ b lbl_802D01F4 +lbl_802CFF44: +/* 802CFF44 002CCEA4 FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802CFF48 002CCEA8 FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802CFF4C 002CCEAC 48 00 02 A8 */ b lbl_802D01F4 +lbl_802CFF50: +/* 802CFF50 002CCEB0 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802CFF54 002CCEB4 40 80 00 4C */ bge lbl_802CFFA0 +/* 802CFF58 002CCEB8 FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 802CFF5C 002CCEBC FC 40 18 90 */ fmr f2, f3 +/* 802CFF60 002CCEC0 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF64 002CCEC4 40 82 00 0C */ bne lbl_802CFF70 +/* 802CFF68 002CCEC8 FC 00 18 90 */ fmr f0, f3 +/* 802CFF6C 002CCECC 48 00 02 88 */ b lbl_802D01F4 +lbl_802CFF70: +/* 802CFF70 002CCED0 FC 00 F0 50 */ fneg f0, f30 +/* 802CFF74 002CCED4 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802CFF78 002CCED8 4C 41 13 82 */ cror 2, 1, 2 +/* 802CFF7C 002CCEDC 40 82 00 18 */ bne lbl_802CFF94 +/* 802CFF80 002CCEE0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802CFF84 002CCEE4 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802CFF88 002CCEE8 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802CFF8C 002CCEEC FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFF90 002CCEF0 48 00 02 64 */ b lbl_802D01F4 +lbl_802CFF94: +/* 802CFF94 002CCEF4 FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802CFF98 002CCEF8 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802CFF9C 002CCEFC 48 00 02 58 */ b lbl_802D01F4 +lbl_802CFFA0: +/* 802CFFA0 002CCF00 C8 62 C4 A8 */ lfd f3, lbl_805AE1C8@sda21(r2) +/* 802CFFA4 002CCF04 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802CFFA8 002CCF08 FC 63 20 24 */ fdiv f3, f3, f4 +/* 802CFFAC 002CCF0C FC 42 00 F2 */ fmul f2, f2, f3 +/* 802CFFB0 002CCF10 FC 00 00 F2 */ fmul f0, f0, f3 +/* 802CFFB4 002CCF14 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802CFFB8 002CCF18 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802CFFBC 002CCF1C FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802CFFC0 002CCF20 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802CFFC4 002CCF24 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802CFFC8 002CCF28 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802CFFCC 002CCF2C FC 62 00 F2 */ fmul f3, f2, f3 +/* 802CFFD0 002CCF30 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802CFFD4 002CCF34 FC 21 18 2A */ fadd f1, f1, f3 +/* 802CFFD8 002CCF38 48 00 02 1C */ b lbl_802D01F4 +lbl_802CFFDC: +/* 802CFFDC 002CCF3C C8 82 C4 A0 */ lfd f4, lbl_805AE1C0@sda21(r2) +/* 802CFFE0 002CCF40 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802CFFE4 002CCF44 40 80 00 C0 */ bge lbl_802D00A4 +/* 802CFFE8 002CCF48 FC 1D F0 2A */ fadd f0, f29, f30 +/* 802CFFEC 002CCF4C FC 5C F8 2A */ fadd f2, f28, f31 +/* 802CFFF0 002CCF50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802CFFF4 002CCF54 40 81 00 68 */ ble lbl_802D005C +/* 802CFFF8 002CCF58 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802CFFFC 002CCF5C FC 42 00 28 */ fsub f2, f2, f0 +/* 802D0000 002CCF60 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D0004 002CCF64 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D0008 002CCF68 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D000C 002CCF6C 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0010 002CCF70 40 82 00 18 */ bne lbl_802D0028 +/* 802D0014 002CCF74 FC 65 DF BA */ fmadd f3, f5, f30, f27 +/* 802D0018 002CCF78 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D001C 002CCF7C FC 40 20 90 */ fmr f2, f4 +/* 802D0020 002CCF80 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0024 002CCF84 48 00 01 D0 */ b lbl_802D01F4 +lbl_802D0028: +/* 802D0028 002CCF88 FC 02 00 24 */ fdiv f0, f2, f0 +/* 802D002C 002CCF8C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D0030 002CCF90 FC 42 00 28 */ fsub f2, f2, f0 +/* 802D0034 002CCF94 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D0038 002CCF98 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D003C 002CCF9C FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D0040 002CCFA0 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D0044 002CCFA4 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D0048 002CCFA8 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D004C 002CCFAC FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D0050 002CCFB0 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D0054 002CCFB4 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0058 002CCFB8 48 00 01 9C */ b lbl_802D01F4 +lbl_802D005C: +/* 802D005C 002CCFBC FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0060 002CCFC0 FC 00 20 90 */ fmr f0, f4 +/* 802D0064 002CCFC4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D0068 002CCFC8 40 82 00 18 */ bne lbl_802D0080 +/* 802D006C 002CCFCC C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0070 002CCFD0 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D0074 002CCFD4 FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802D0078 002CCFD8 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D007C 002CCFDC 48 00 01 78 */ b lbl_802D01F4 +lbl_802D0080: +/* 802D0080 002CCFE0 FC 1F 20 40 */ fcmpo cr0, f31, f4 +/* 802D0084 002CCFE4 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0088 002CCFE8 40 82 00 0C */ bne lbl_802D0094 +/* 802D008C 002CCFEC FC 40 20 90 */ fmr f2, f4 +/* 802D0090 002CCFF0 48 00 01 64 */ b lbl_802D01F4 +lbl_802D0094: +/* 802D0094 002CCFF4 FC 40 F8 50 */ fneg f2, f31 +/* 802D0098 002CCFF8 FC 42 E0 24 */ fdiv f2, f2, f28 +/* 802D009C 002CCFFC FC 3F 08 BA */ fmadd f1, f31, f2, f1 +/* 802D00A0 002CD000 48 00 01 54 */ b lbl_802D01F4 +lbl_802D00A4: +/* 802D00A4 002CD004 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D00A8 002CD008 40 80 00 C0 */ bge lbl_802D0168 +/* 802D00AC 002CD00C FC 1D F8 2A */ fadd f0, f29, f31 +/* 802D00B0 002CD010 FC 5B F0 2A */ fadd f2, f27, f30 +/* 802D00B4 002CD014 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D00B8 002CD018 40 81 00 68 */ ble lbl_802D0120 +/* 802D00BC 002CD01C C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802D00C0 002CD020 FC 42 00 28 */ fsub f2, f2, f0 +/* 802D00C4 002CD024 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D00C8 002CD028 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D00CC 002CD02C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D00D0 002CD030 4C 41 13 82 */ cror 2, 1, 2 +/* 802D00D4 002CD034 40 82 00 18 */ bne lbl_802D00EC +/* 802D00D8 002CD038 FC 65 E7 FA */ fmadd f3, f5, f31, f28 +/* 802D00DC 002CD03C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D00E0 002CD040 FC 00 20 90 */ fmr f0, f4 +/* 802D00E4 002CD044 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D00E8 002CD048 48 00 01 0C */ b lbl_802D01F4 +lbl_802D00EC: +/* 802D00EC 002CD04C FC 42 00 24 */ fdiv f2, f2, f0 +/* 802D00F0 002CD050 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D00F4 002CD054 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D00F8 002CD058 FC 00 10 28 */ fsub f0, f0, f2 +/* 802D00FC 002CD05C FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D0100 002CD060 FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D0104 002CD064 FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D0108 002CD068 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D010C 002CD06C FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D0110 002CD070 FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D0114 002CD074 FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D0118 002CD078 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D011C 002CD07C 48 00 00 D8 */ b lbl_802D01F4 +lbl_802D0120: +/* 802D0120 002CD080 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0124 002CD084 FC 40 20 90 */ fmr f2, f4 +/* 802D0128 002CD088 4C 40 13 82 */ cror 2, 0, 2 +/* 802D012C 002CD08C 40 82 00 18 */ bne lbl_802D0144 +/* 802D0130 002CD090 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0134 002CD094 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D0138 002CD098 FC 63 DF BA */ fmadd f3, f3, f30, f27 +/* 802D013C 002CD09C FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0140 002CD0A0 48 00 00 B4 */ b lbl_802D01F4 +lbl_802D0144: +/* 802D0144 002CD0A4 FC 1E 20 40 */ fcmpo cr0, f30, f4 +/* 802D0148 002CD0A8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D014C 002CD0AC 40 82 00 0C */ bne lbl_802D0158 +/* 802D0150 002CD0B0 FC 00 20 90 */ fmr f0, f4 +/* 802D0154 002CD0B4 48 00 00 A0 */ b lbl_802D01F4 +lbl_802D0158: +/* 802D0158 002CD0B8 FC 00 F0 50 */ fneg f0, f30 +/* 802D015C 002CD0BC FC 00 D8 24 */ fdiv f0, f0, f27 +/* 802D0160 002CD0C0 FC 3E 08 3A */ fmadd f1, f30, f0, f1 +/* 802D0164 002CD0C4 48 00 00 90 */ b lbl_802D01F4 +lbl_802D0168: +/* 802D0168 002CD0C8 FC 1C F8 2A */ fadd f0, f28, f31 +/* 802D016C 002CD0CC FC 00 E8 28 */ fsub f0, f0, f29 +/* 802D0170 002CD0D0 FC 40 F0 28 */ fsub f2, f0, f30 +/* 802D0174 002CD0D4 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 802D0178 002CD0D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D017C 002CD0DC 40 82 00 1C */ bne lbl_802D0198 +/* 802D0180 002CD0E0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) +/* 802D0184 002CD0E4 FC 00 20 90 */ fmr f0, f4 +/* 802D0188 002CD0E8 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D018C 002CD0EC FC 63 E7 FA */ fmadd f3, f3, f31, f28 +/* 802D0190 002CD0F0 FC 21 18 2A */ fadd f1, f1, f3 +/* 802D0194 002CD0F4 48 00 00 60 */ b lbl_802D01F4 +lbl_802D0198: +/* 802D0198 002CD0F8 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) +/* 802D019C 002CD0FC FC 05 DF 7C */ fnmsub f0, f5, f29, f27 +/* 802D01A0 002CD100 FC 1C 00 2A */ fadd f0, f28, f0 +/* 802D01A4 002CD104 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D01A8 002CD108 4C 41 13 82 */ cror 2, 1, 2 +/* 802D01AC 002CD10C 40 82 00 18 */ bne lbl_802D01C4 +/* 802D01B0 002CD110 FC 65 DF BA */ fmadd f3, f5, f30, f27 +/* 802D01B4 002CD114 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D01B8 002CD118 FC 40 20 90 */ fmr f2, f4 +/* 802D01BC 002CD11C FC 21 18 2A */ fadd f1, f1, f3 +/* 802D01C0 002CD120 48 00 00 34 */ b lbl_802D01F4 +lbl_802D01C4: +/* 802D01C4 002CD124 FC 02 00 24 */ fdiv f0, f2, f0 +/* 802D01C8 002CD128 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D01CC 002CD12C FC 42 00 28 */ fsub f2, f2, f0 +/* 802D01D0 002CD130 FC 7C 00 B2 */ fmul f3, f28, f2 +/* 802D01D4 002CD134 FC 9D 00 B2 */ fmul f4, f29, f2 +/* 802D01D8 002CD138 FC 7D 18 3A */ fmadd f3, f29, f0, f3 +/* 802D01DC 002CD13C FC 9B 20 3A */ fmadd f4, f27, f0, f4 +/* 802D01E0 002CD140 FC 65 1F FA */ fmadd f3, f5, f31, f3 +/* 802D01E4 002CD144 FC 85 27 BA */ fmadd f4, f5, f30, f4 +/* 802D01E8 002CD148 FC 62 00 F2 */ fmul f3, f2, f3 +/* 802D01EC 002CD14C FC 60 19 3A */ fmadd f3, f0, f4, f3 +/* 802D01F0 002CD150 FC 21 18 2A */ fadd f1, f1, f3 +lbl_802D01F4: +/* 802D01F4 002CD154 28 1E 00 00 */ cmplwi r30, 0 +/* 802D01F8 002CD158 41 82 00 0C */ beq lbl_802D0204 +/* 802D01FC 002CD15C FC 40 10 18 */ frsp f2, f2 +/* 802D0200 002CD160 D0 5E 00 00 */ stfs f2, 0(r30) +lbl_802D0204: +/* 802D0204 002CD164 28 1F 00 00 */ cmplwi r31, 0 +/* 802D0208 002CD168 41 82 00 0C */ beq lbl_802D0214 +/* 802D020C 002CD16C FC 00 00 18 */ frsp f0, f0 +/* 802D0210 002CD170 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_802D0214: +/* 802D0214 002CD174 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802D0218 002CD178 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802D021C 002CD17C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 802D0220 002CD180 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 802D0224 002CD184 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 802D0228 002CD188 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 802D022C 002CD18C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 802D0230 002CD190 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802D0234 002CD194 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802D0238 002CD198 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802D023C 002CD19C BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802D0240 002CD1A0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802D0244 002CD1A4 7C 08 03 A6 */ mtlr r0 +/* 802D0248 002CD1A8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802D024C 002CD1AC 4E 80 00 20 */ blr + +.global TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f: +/* 802D0250 002CD1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802D0254 002CD1B4 7C 08 02 A6 */ mflr r0 +/* 802D0258 002CD1B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802D025C 002CD1BC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802D0260 002CD1C0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802D0264 002CD1C4 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 802D0268 002CD1C8 7C FE 3B 78 */ mr r30, r7 +/* 802D026C 002CD1CC 7D 1F 43 78 */ mr r31, r8 +/* 802D0270 002CD1D0 7C 7A 1B 78 */ mr r26, r3 +/* 802D0274 002CD1D4 7C 9B 23 78 */ mr r27, r4 +/* 802D0278 002CD1D8 7C BC 2B 78 */ mr r28, r5 +/* 802D027C 002CD1DC 7C DD 33 78 */ mr r29, r6 +/* 802D0280 002CD1E0 38 E1 00 0C */ addi r7, r1, 0xc +/* 802D0284 002CD1E4 39 01 00 08 */ addi r8, r1, 8 +/* 802D0288 002CD1E8 4B FF FA 6D */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +/* 802D028C 002CD1EC C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802D0290 002CD1F0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D0294 002CD1F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0298 002CD1F8 40 81 00 0C */ ble lbl_802D02A4 +/* 802D029C 002CD1FC 38 60 00 00 */ li r3, 0 +/* 802D02A0 002CD200 48 00 01 84 */ b lbl_802D0424 +lbl_802D02A4: +/* 802D02A4 002CD204 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802D02A8 002CD208 7F A4 EB 78 */ mr r4, r29 +/* 802D02AC 002CD20C C0 61 00 08 */ lfs f3, 8(r1) +/* 802D02B0 002CD210 7F 85 E3 78 */ mr r5, r28 +/* 802D02B4 002CD214 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D02B8 002CD218 7F 66 DB 78 */ mr r6, r27 +/* 802D02BC 002CD21C EC 02 18 2A */ fadds f0, f2, f3 +/* 802D02C0 002CD220 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D02C4 002CD224 38 61 00 64 */ addi r3, r1, 0x64 +/* 802D02C8 002CD228 38 E1 00 58 */ addi r7, r1, 0x58 +/* 802D02CC 002CD22C D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802D02D0 002CD230 EF E1 00 28 */ fsubs f31, f1, f0 +/* 802D02D4 002CD234 D3 E1 00 60 */ stfs f31, 0x60(r1) +/* 802D02D8 002CD238 48 04 4B C5 */ bl BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802D02DC 002CD23C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D02E0 002CD240 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D02E4 002CD244 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D02E8 002CD248 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802D02EC 002CD24C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D02F0 002CD250 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802D02F4 002CD254 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D02F8 002CD258 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802D02FC 002CD25C FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D0300 002CD260 41 82 00 34 */ beq lbl_802D0334 +/* 802D0304 002CD264 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0308 002CD268 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D030C 002CD26C 41 82 00 28 */ beq lbl_802D0334 +/* 802D0310 002CD270 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D0314 002CD274 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D0318 002CD278 41 82 00 1C */ beq lbl_802D0334 +/* 802D031C 002CD27C FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D0320 002CD280 41 82 00 14 */ beq lbl_802D0334 +/* 802D0324 002CD284 FC 01 F8 00 */ fcmpu cr0, f1, f31 +/* 802D0328 002CD288 41 82 00 0C */ beq lbl_802D0334 +/* 802D032C 002CD28C FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 802D0330 002CD290 40 82 00 54 */ bne lbl_802D0384 +lbl_802D0334: +/* 802D0334 002CD294 7F 44 D3 78 */ mr r4, r26 +/* 802D0338 002CD298 7F C5 F3 78 */ mr r5, r30 +/* 802D033C 002CD29C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D0340 002CD2A0 48 06 6E 49 */ bl GetSurfaceNormal__7CSphereCFRC9CVector3f +/* 802D0344 002CD2A4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802D0348 002CD2A8 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D034C 002CD2AC FC 00 00 50 */ fneg f0, f0 +/* 802D0350 002CD2B0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802D0354 002CD2B4 FC 60 08 50 */ fneg f3, f1 +/* 802D0358 002CD2B8 FC 80 10 50 */ fneg f4, f2 +/* 802D035C 002CD2BC FC 40 00 18 */ frsp f2, f0 +/* 802D0360 002CD2C0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802D0364 002CD2C4 FC 20 18 18 */ frsp f1, f3 +/* 802D0368 002CD2C8 FC 00 20 18 */ frsp f0, f4 +/* 802D036C 002CD2CC D0 61 00 50 */ stfs f3, 0x50(r1) +/* 802D0370 002CD2D0 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802D0374 002CD2D4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D0378 002CD2D8 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802D037C 002CD2DC D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0380 002CD2E0 48 00 00 A0 */ b lbl_802D0420 +lbl_802D0384: +/* 802D0384 002CD2E4 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802D0388 002CD2E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D038C 002CD2EC C0 5B 00 00 */ lfs f2, 0(r27) +/* 802D0390 002CD2F0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802D0394 002CD2F4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0398 002CD2F8 ED 01 10 28 */ fsubs f8, f1, f2 +/* 802D039C 002CD2FC C0 3D 00 04 */ lfs f1, 4(r29) +/* 802D03A0 002CD300 C0 9B 00 04 */ lfs f4, 4(r27) +/* 802D03A4 002CD304 EC 60 10 28 */ fsubs f3, f0, f2 +/* 802D03A8 002CD308 C0 1C 00 04 */ lfs f0, 4(r28) +/* 802D03AC 002CD30C EC E1 20 28 */ fsubs f7, f1, f4 +/* 802D03B0 002CD310 EC A0 20 28 */ fsubs f5, f0, f4 +/* 802D03B4 002CD314 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802D03B8 002CD318 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802D03BC 002CD31C C0 1C 00 08 */ lfs f0, 8(r28) +/* 802D03C0 002CD320 EC C1 10 28 */ fsubs f6, f1, f2 +/* 802D03C4 002CD324 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 802D03C8 002CD328 EC 80 10 28 */ fsubs f4, f0, f2 +/* 802D03CC 002CD32C EC 08 01 72 */ fmuls f0, f8, f5 +/* 802D03D0 002CD330 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802D03D4 002CD334 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802D03D8 002CD338 EC 47 01 32 */ fmuls f2, f7, f4 +/* 802D03DC 002CD33C D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802D03E0 002CD340 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 802D03E4 002CD344 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 802D03E8 002CD348 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802D03EC 002CD34C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 802D03F0 002CD350 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 802D03F4 002CD354 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802D03F8 002CD358 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802D03FC 002CD35C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802D0400 002CD360 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802D0404 002CD364 48 04 44 4D */ bl AsNormalized__9CVector3fCFv +/* 802D0408 002CD368 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D040C 002CD36C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0410 002CD370 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D0414 002CD374 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0418 002CD378 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D041C 002CD37C D0 1F 00 08 */ stfs f0, 8(r31) +lbl_802D0420: +/* 802D0420 002CD380 38 60 00 01 */ li r3, 1 +lbl_802D0424: +/* 802D0424 002CD384 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802D0428 002CD388 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802D042C 002CD38C BB 41 00 78 */ lmw r26, 0x78(r1) +/* 802D0430 002CD390 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D0434 002CD394 7C 08 03 A6 */ mtlr r0 +/* 802D0438 002CD398 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802D043C 002CD39C 4E 80 00 20 */ blr + +.global TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802D0440 002CD3A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D0444 002CD3A4 7C 08 02 A6 */ mflr r0 +/* 802D0448 002CD3A8 38 E0 00 00 */ li r7, 0 +/* 802D044C 002CD3AC 39 00 00 00 */ li r8, 0 +/* 802D0450 002CD3B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D0454 002CD3B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802D0458 002CD3B8 7C 7F 1B 78 */ mr r31, r3 +/* 802D045C 002CD3BC 4B FF F8 99 */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf +/* 802D0460 002CD3C0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802D0464 002CD3C4 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D0468 002CD3C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D046C 002CD3CC 7C 00 00 26 */ mfcr r0 +/* 802D0470 002CD3D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802D0474 002CD3D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0478 002CD3D8 7C 00 00 34 */ cntlzw r0, r0 +/* 802D047C 002CD3DC 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D0480 002CD3E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D0484 002CD3E4 7C 08 03 A6 */ mtlr r0 +/* 802D0488 002CD3E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D048C 002CD3EC 4E 80 00 20 */ blr + +.global MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: +/* 802D0490 002CD3F0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802D0494 002CD3F4 7C 08 02 A6 */ mflr r0 +/* 802D0498 002CD3F8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802D049C 002CD3FC BE C1 01 98 */ stmw r22, 0x198(r1) +/* 802D04A0 002CD400 7C 9B 23 78 */ mr r27, r4 +/* 802D04A4 002CD404 7C BC 2B 78 */ mr r28, r5 +/* 802D04A8 002CD408 7C 7A 1B 78 */ mr r26, r3 +/* 802D04AC 002CD40C 3B 1B 00 0C */ addi r24, r27, 0xc +/* 802D04B0 002CD410 7C DD 33 78 */ mr r29, r6 +/* 802D04B4 002CD414 7C FE 3B 78 */ mr r30, r7 +/* 802D04B8 002CD418 7D 1F 43 78 */ mr r31, r8 +/* 802D04BC 002CD41C 38 A1 01 5C */ addi r5, r1, 0x15c +/* 802D04C0 002CD420 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 802D04C4 002CD424 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D04C8 002CD428 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802D04CC 002CD42C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802D04D0 002CD430 EC A2 30 2A */ fadds f5, f2, f6 +/* 802D04D4 002CD434 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D04D8 002CD438 EC 81 30 2A */ fadds f4, f1, f6 +/* 802D04DC 002CD43C C0 44 00 04 */ lfs f2, 4(r4) +/* 802D04E0 002CD440 EC 60 30 2A */ fadds f3, f0, f6 +/* 802D04E4 002CD444 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D04E8 002CD448 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D04EC 002CD44C EC 42 30 28 */ fsubs f2, f2, f6 +/* 802D04F0 002CD450 EC 21 30 28 */ fsubs f1, f1, f6 +/* 802D04F4 002CD454 D0 A1 01 60 */ stfs f5, 0x160(r1) +/* 802D04F8 002CD458 EC 00 30 28 */ fsubs f0, f0, f6 +/* 802D04FC 002CD45C 38 81 01 68 */ addi r4, r1, 0x168 +/* 802D0500 002CD460 D0 61 01 5C */ stfs f3, 0x15c(r1) +/* 802D0504 002CD464 D0 81 01 64 */ stfs f4, 0x164(r1) +/* 802D0508 002CD468 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 802D050C 002CD46C D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 802D0510 002CD470 D0 21 01 70 */ stfs f1, 0x170(r1) +/* 802D0514 002CD474 48 06 7F F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D0518 002CD478 7F 44 D3 78 */ mr r4, r26 +/* 802D051C 002CD47C 7F 85 E3 78 */ mr r5, r28 +/* 802D0520 002CD480 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D0524 002CD484 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802D0528 002CD488 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D052C 002CD48C 39 01 00 1C */ addi r8, r1, 0x1c +/* 802D0530 002CD490 39 21 00 08 */ addi r9, r1, 8 +/* 802D0534 002CD494 48 00 16 75 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb +/* 802D0538 002CD498 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D053C 002CD49C 40 82 00 0C */ bne lbl_802D0548 +/* 802D0540 002CD4A0 38 60 00 00 */ li r3, 0 +/* 802D0544 002CD4A4 48 00 0D D4 */ b lbl_802D1318 +lbl_802D0548: +/* 802D0548 002CD4A8 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802D054C 002CD4AC 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0550 002CD4B0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0554 002CD4B4 38 83 55 56 */ addi r4, r3, 0x55555556@l +/* 802D0558 002CD4B8 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D055C 002CD4BC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D0560 002CD4C0 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D0564 002CD4C4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D0568 002CD4C8 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802D056C 002CD4CC C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D0570 002CD4D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D0574 002CD4D4 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D0578 002CD4D8 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 802D057C 002CD4DC EC 45 20 2A */ fadds f2, f5, f4 +/* 802D0580 002CD4E0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0584 002CD4E4 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D0588 002CD4E8 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D058C 002CD4EC D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0590 002CD4F0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802D0594 002CD4F4 38 E3 00 01 */ addi r7, r3, 1 +/* 802D0598 002CD4F8 38 C3 00 02 */ addi r6, r3, 2 +/* 802D059C 002CD4FC 7C A4 38 96 */ mulhw r5, r4, r7 +/* 802D05A0 002CD500 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802D05A4 002CD504 7C 05 02 14 */ add r0, r5, r0 +/* 802D05A8 002CD508 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D05AC 002CD50C 7C A4 30 96 */ mulhw r5, r4, r6 +/* 802D05B0 002CD510 7C 00 38 50 */ subf r0, r0, r7 +/* 802D05B4 002CD514 54 07 10 3A */ slwi r7, r0, 2 +/* 802D05B8 002CD518 7C 3E 3C 2E */ lfsx f1, r30, r7 +/* 802D05BC 002CD51C 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802D05C0 002CD520 7C 1B 3C 2E */ lfsx f0, r27, r7 +/* 802D05C4 002CD524 7C 85 22 14 */ add r4, r5, r4 +/* 802D05C8 002CD528 1C 84 00 03 */ mulli r4, r4, 3 +/* 802D05CC 002CD52C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D05D0 002CD530 7C A4 30 50 */ subf r5, r4, r6 +/* 802D05D4 002CD534 4C 41 13 82 */ cror 2, 1, 2 +/* 802D05D8 002CD538 7C 80 00 26 */ mfcr r4 +/* 802D05DC 002CD53C 7C 18 3C 2E */ lfsx f0, r24, r7 +/* 802D05E0 002CD540 54 86 1F FE */ rlwinm r6, r4, 3, 0x1f, 0x1f +/* 802D05E4 002CD544 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D05E8 002CD548 4C 40 13 82 */ cror 2, 0, 2 +/* 802D05EC 002CD54C 7C 80 00 26 */ mfcr r4 +/* 802D05F0 002CD550 54 A7 10 3A */ slwi r7, r5, 2 +/* 802D05F4 002CD554 7C 3E 3C 2E */ lfsx f1, r30, r7 +/* 802D05F8 002CD558 54 88 1F FE */ rlwinm r8, r4, 3, 0x1f, 0x1f +/* 802D05FC 002CD55C 7C 1B 3C 2E */ lfsx f0, r27, r7 +/* 802D0600 002CD560 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0604 002CD564 4C 41 13 82 */ cror 2, 1, 2 +/* 802D0608 002CD568 7C 80 00 26 */ mfcr r4 +/* 802D060C 002CD56C 7C 18 3C 2E */ lfsx f0, r24, r7 +/* 802D0610 002CD570 54 87 1F FE */ rlwinm r7, r4, 3, 0x1f, 0x1f +/* 802D0614 002CD574 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0618 002CD578 4C 40 13 82 */ cror 2, 0, 2 +/* 802D061C 002CD57C 7C 80 00 26 */ mfcr r4 +/* 802D0620 002CD580 28 06 00 00 */ cmplwi r6, 0 +/* 802D0624 002CD584 54 84 1F FE */ rlwinm r4, r4, 3, 0x1f, 0x1f +/* 802D0628 002CD588 39 20 00 00 */ li r9, 0 +/* 802D062C 002CD58C 41 82 00 10 */ beq lbl_802D063C +/* 802D0630 002CD590 28 08 00 00 */ cmplwi r8, 0 +/* 802D0634 002CD594 41 82 00 08 */ beq lbl_802D063C +/* 802D0638 002CD598 39 20 00 01 */ li r9, 1 +lbl_802D063C: +/* 802D063C 002CD59C 28 07 00 00 */ cmplwi r7, 0 +/* 802D0640 002CD5A0 39 00 00 00 */ li r8, 0 +/* 802D0644 002CD5A4 41 82 00 10 */ beq lbl_802D0654 +/* 802D0648 002CD5A8 28 04 00 00 */ cmplwi r4, 0 +/* 802D064C 002CD5AC 41 82 00 08 */ beq lbl_802D0654 +/* 802D0650 002CD5B0 39 00 00 01 */ li r8, 1 +lbl_802D0654: +/* 802D0654 002CD5B4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0658 002CD5B8 41 82 00 A0 */ beq lbl_802D06F8 +/* 802D065C 002CD5BC 55 04 06 3F */ clrlwi. r4, r8, 0x18 +/* 802D0660 002CD5C0 41 82 00 98 */ beq lbl_802D06F8 +/* 802D0664 002CD5C4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802D0668 002CD5C8 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D066C 002CD5CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0670 002CD5D0 41 80 00 10 */ blt lbl_802D0680 +/* 802D0674 002CD5D4 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D0678 002CD5D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D067C 002CD5DC 40 81 00 0C */ ble lbl_802D0688 +lbl_802D0680: +/* 802D0680 002CD5E0 38 60 00 00 */ li r3, 0 +/* 802D0684 002CD5E4 48 00 0C 94 */ b lbl_802D1318 +lbl_802D0688: +/* 802D0688 002CD5E8 88 01 00 08 */ lbz r0, 8(r1) +/* 802D068C 002CD5EC 28 00 00 00 */ cmplwi r0, 0 +/* 802D0690 002CD5F0 41 82 00 0C */ beq lbl_802D069C +/* 802D0694 002CD5F4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0698 002CD5F8 48 00 00 08 */ b lbl_802D06A0 +lbl_802D069C: +/* 802D069C 002CD5FC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +lbl_802D06A0: +/* 802D06A0 002CD600 54 60 10 3A */ slwi r0, r3, 2 +/* 802D06A4 002CD604 38 60 00 01 */ li r3, 1 +/* 802D06A8 002CD608 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 802D06AC 002CD60C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D06B0 002CD610 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D06B4 002CD614 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D06B8 002CD618 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D06BC 002CD61C C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D06C0 002CD620 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D06C4 002CD624 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D06C8 002CD628 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D06CC 002CD62C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D06D0 002CD630 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D06D4 002CD634 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D06D8 002CD638 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D06DC 002CD63C C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D06E0 002CD640 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D06E4 002CD644 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D06E8 002CD648 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D06EC 002CD64C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D06F0 002CD650 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D06F4 002CD654 48 00 0C 24 */ b lbl_802D1318 +lbl_802D06F8: +/* 802D06F8 002CD658 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D06FC 002CD65C 40 82 08 48 */ bne lbl_802D0F44 +/* 802D0700 002CD660 55 04 06 3F */ clrlwi. r4, r8, 0x18 +/* 802D0704 002CD664 40 82 08 40 */ bne lbl_802D0F44 +/* 802D0708 002CD668 39 20 00 01 */ li r9, 1 +/* 802D070C 002CD66C 89 01 00 08 */ lbz r8, 8(r1) +/* 802D0710 002CD670 7D 23 18 30 */ slw r3, r9, r3 +/* 802D0714 002CD674 7F 64 DB 78 */ mr r4, r27 +/* 802D0718 002CD678 7D 20 00 30 */ slw r0, r9, r0 +/* 802D071C 002CD67C 7D 29 28 30 */ slw r9, r9, r5 +/* 802D0720 002CD680 7C A3 41 D6 */ mullw r5, r3, r8 +/* 802D0724 002CD684 38 61 01 50 */ addi r3, r1, 0x150 +/* 802D0728 002CD688 7C 00 31 D6 */ mullw r0, r0, r6 +/* 802D072C 002CD68C 7C C9 39 D6 */ mullw r6, r9, r7 +/* 802D0730 002CD690 7C A0 03 78 */ or r0, r5, r0 +/* 802D0734 002CD694 7C D7 03 78 */ or r23, r6, r0 +/* 802D0738 002CD698 7E E5 BB 78 */ mr r5, r23 +/* 802D073C 002CD69C 48 06 6E 75 */ bl GetPoint__6CAABoxCFi +/* 802D0740 002CD6A0 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0744 002CD6A4 7F 44 D3 78 */ mr r4, r26 +/* 802D0748 002CD6A8 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D074C 002CD6AC 7F 85 E3 78 */ mr r5, r28 +/* 802D0750 002CD6B0 C0 61 01 50 */ lfs f3, 0x150(r1) +/* 802D0754 002CD6B4 FC 20 08 18 */ frsp f1, f1 +/* 802D0758 002CD6B8 C0 41 01 54 */ lfs f2, 0x154(r1) +/* 802D075C 002CD6BC 7F C7 F3 78 */ mr r7, r30 +/* 802D0760 002CD6C0 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0764 002CD6C4 38 61 01 40 */ addi r3, r1, 0x140 +/* 802D0768 002CD6C8 D0 61 01 40 */ stfs f3, 0x140(r1) +/* 802D076C 002CD6CC 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802D0770 002CD6D0 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802D0774 002CD6D4 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 802D0778 002CD6D8 D0 81 01 4C */ stfs f4, 0x14c(r1) +/* 802D077C 002CD6DC 48 00 33 8D */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0780 002CD6E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0784 002CD6E4 41 82 05 48 */ beq lbl_802D0CCC +/* 802D0788 002CD6E8 38 00 00 00 */ li r0, 0 +/* 802D078C 002CD6EC 38 60 00 01 */ li r3, 1 +/* 802D0790 002CD6F0 7C 60 00 30 */ slw r0, r3, r0 +/* 802D0794 002CD6F4 3B 20 FF FF */ li r25, -1 +/* 802D0798 002CD6F8 7E E0 00 39 */ and. r0, r23, r0 +/* 802D079C 002CD6FC 41 82 00 1C */ beq lbl_802D07B8 +/* 802D07A0 002CD700 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 802D07A4 002CD704 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D07A8 002CD708 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07AC 002CD70C 7C 00 00 26 */ mfcr r0 +/* 802D07B0 002CD710 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D07B4 002CD714 48 00 00 18 */ b lbl_802D07CC +lbl_802D07B8: +/* 802D07B8 002CD718 C0 21 01 50 */ lfs f1, 0x150(r1) +/* 802D07BC 002CD71C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D07C0 002CD720 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07C4 002CD724 7C 00 00 26 */ mfcr r0 +/* 802D07C8 002CD728 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D07CC: +/* 802D07CC 002CD72C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D07D0 002CD730 41 82 00 0C */ beq lbl_802D07DC +/* 802D07D4 002CD734 3B 20 00 00 */ li r25, 0 +/* 802D07D8 002CD738 48 00 00 98 */ b lbl_802D0870 +lbl_802D07DC: +/* 802D07DC 002CD73C 38 00 00 01 */ li r0, 1 +/* 802D07E0 002CD740 7C 60 00 30 */ slw r0, r3, r0 +/* 802D07E4 002CD744 7E E0 00 39 */ and. r0, r23, r0 +/* 802D07E8 002CD748 41 82 00 1C */ beq lbl_802D0804 +/* 802D07EC 002CD74C C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D07F0 002CD750 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D07F4 002CD754 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D07F8 002CD758 7C 00 00 26 */ mfcr r0 +/* 802D07FC 002CD75C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0800 002CD760 48 00 00 18 */ b lbl_802D0818 +lbl_802D0804: +/* 802D0804 002CD764 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D0808 002CD768 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D080C 002CD76C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0810 002CD770 7C 00 00 26 */ mfcr r0 +/* 802D0814 002CD774 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D0818: +/* 802D0818 002CD778 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D081C 002CD77C 41 82 00 0C */ beq lbl_802D0828 +/* 802D0820 002CD780 3B 20 00 01 */ li r25, 1 +/* 802D0824 002CD784 48 00 00 4C */ b lbl_802D0870 +lbl_802D0828: +/* 802D0828 002CD788 38 00 00 02 */ li r0, 2 +/* 802D082C 002CD78C 7C 60 00 30 */ slw r0, r3, r0 +/* 802D0830 002CD790 7E E0 00 39 */ and. r0, r23, r0 +/* 802D0834 002CD794 41 82 00 1C */ beq lbl_802D0850 +/* 802D0838 002CD798 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D083C 002CD79C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0840 002CD7A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0844 002CD7A4 7C 00 00 26 */ mfcr r0 +/* 802D0848 002CD7A8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D084C 002CD7AC 48 00 00 18 */ b lbl_802D0864 +lbl_802D0850: +/* 802D0850 002CD7B0 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0854 002CD7B4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0858 002CD7B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D085C 002CD7BC 7C 00 00 26 */ mfcr r0 +/* 802D0860 002CD7C0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_802D0864: +/* 802D0864 002CD7C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802D0868 002CD7C8 41 82 00 08 */ beq lbl_802D0870 +/* 802D086C 002CD7CC 3B 20 00 02 */ li r25, 2 +lbl_802D0870: +/* 802D0870 002CD7D0 2C 19 FF FF */ cmpwi r25, -1 +/* 802D0874 002CD7D4 40 82 00 A8 */ bne lbl_802D091C +/* 802D0878 002CD7D8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D087C 002CD7DC 38 61 01 34 */ addi r3, r1, 0x134 +/* 802D0880 002CD7E0 38 81 01 28 */ addi r4, r1, 0x128 +/* 802D0884 002CD7E4 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0888 002CD7E8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D088C 002CD7EC C0 01 01 54 */ lfs f0, 0x154(r1) +/* 802D0890 002CD7F0 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0894 002CD7F4 C0 41 01 58 */ lfs f2, 0x158(r1) +/* 802D0898 002CD7F8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D089C 002CD7FC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D08A0 002CD800 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D08A4 002CD804 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D08A8 002CD808 D0 81 01 2C */ stfs f4, 0x12c(r1) +/* 802D08AC 002CD80C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D08B0 002CD810 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 802D08B4 002CD814 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 802D08B8 002CD818 48 04 3F 99 */ bl AsNormalized__9CVector3fCFv +/* 802D08BC 002CD81C C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802D08C0 002CD820 38 60 00 01 */ li r3, 1 +/* 802D08C4 002CD824 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D08C8 002CD828 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 802D08CC 002CD82C D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D08D0 002CD830 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 802D08D4 002CD834 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D08D8 002CD838 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D08DC 002CD83C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D08E0 002CD840 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D08E4 002CD844 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D08E8 002CD848 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D08EC 002CD84C C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D08F0 002CD850 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D08F4 002CD854 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D08F8 002CD858 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D08FC 002CD85C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0900 002CD860 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0904 002CD864 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0908 002CD868 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D090C 002CD86C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0910 002CD870 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0914 002CD874 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0918 002CD878 48 00 0A 00 */ b lbl_802D1318 +lbl_802D091C: +/* 802D091C 002CD87C 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0920 002CD880 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0924 002CD884 39 59 00 01 */ addi r10, r25, 1 +/* 802D0928 002CD888 38 F9 00 02 */ addi r7, r25, 2 +/* 802D092C 002CD88C 38 03 55 56 */ addi r0, r3, 0x55555556@l +/* 802D0930 002CD890 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 802D0934 002CD894 7D 00 50 96 */ mulhw r8, r0, r10 +/* 802D0938 002CD898 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D093C 002CD89C C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0940 002CD8A0 7F 43 D3 78 */ mr r3, r26 +/* 802D0944 002CD8A4 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 802D0948 002CD8A8 7F 84 E3 78 */ mr r4, r28 +/* 802D094C 002CD8AC 7C C0 38 96 */ mulhw r6, r0, r7 +/* 802D0950 002CD8B0 55 00 0F FE */ srwi r0, r8, 0x1f +/* 802D0954 002CD8B4 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 802D0958 002CD8B8 38 A1 01 18 */ addi r5, r1, 0x118 +/* 802D095C 002CD8BC 7D 28 02 14 */ add r9, r8, r0 +/* 802D0960 002CD8C0 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 802D0964 002CD8C4 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802D0968 002CD8C8 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 802D096C 002CD8CC 7C 06 02 14 */ add r0, r6, r0 +/* 802D0970 002CD8D0 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D0974 002CD8D4 1C C9 00 03 */ mulli r6, r9, 3 +/* 802D0978 002CD8D8 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D097C 002CD8DC 7C C6 50 50 */ subf r6, r6, r10 +/* 802D0980 002CD8E0 7C E0 38 50 */ subf r7, r0, r7 +/* 802D0984 002CD8E4 48 00 09 A9 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0988 002CD8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D098C 002CD8EC 41 82 05 B0 */ beq lbl_802D0F3C +/* 802D0990 002CD8F0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 802D0994 002CD8F4 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0998 002CD8F8 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D099C 002CD8FC 40 81 05 A0 */ ble lbl_802D0F3C +/* 802D09A0 002CD900 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D09A4 002CD904 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D09A8 002CD908 40 80 05 94 */ bge lbl_802D0F3C +/* 802D09AC 002CD90C C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D09B0 002CD910 57 20 10 3A */ slwi r0, r25, 2 +/* 802D09B4 002CD914 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D09B8 002CD918 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D09BC 002CD91C C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D09C0 002CD920 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D09C4 002CD924 EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D09C8 002CD928 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D09CC 002CD92C EC 01 00 2A */ fadds f0, f1, f0 +/* 802D09D0 002CD930 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D09D4 002CD934 EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D09D8 002CD938 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D09DC 002CD93C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D09E0 002CD940 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D09E4 002CD944 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D09E8 002CD948 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D09EC 002CD94C 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802D09F0 002CD950 7C 18 04 2E */ lfsx f0, r24, r0 +/* 802D09F4 002CD954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D09F8 002CD958 40 81 01 20 */ ble lbl_802D0B18 +/* 802D09FC 002CD95C 38 00 00 01 */ li r0, 1 +/* 802D0A00 002CD960 7C 05 C8 30 */ slw r5, r0, r25 +/* 802D0A04 002CD964 7E E0 28 39 */ and. r0, r23, r5 +/* 802D0A08 002CD968 41 82 00 0C */ beq lbl_802D0A14 +/* 802D0A0C 002CD96C 38 60 00 00 */ li r3, 0 +/* 802D0A10 002CD970 48 00 09 08 */ b lbl_802D1318 +lbl_802D0A14: +/* 802D0A14 002CD974 7F 64 DB 78 */ mr r4, r27 +/* 802D0A18 002CD978 38 61 01 0C */ addi r3, r1, 0x10c +/* 802D0A1C 002CD97C 7E E5 2B 78 */ or r5, r23, r5 +/* 802D0A20 002CD980 48 06 6B 91 */ bl GetPoint__6CAABoxCFi +/* 802D0A24 002CD984 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0A28 002CD988 7F 44 D3 78 */ mr r4, r26 +/* 802D0A2C 002CD98C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0A30 002CD990 7F 85 E3 78 */ mr r5, r28 +/* 802D0A34 002CD994 C0 61 01 0C */ lfs f3, 0x10c(r1) +/* 802D0A38 002CD998 FC 20 08 18 */ frsp f1, f1 +/* 802D0A3C 002CD99C C0 41 01 10 */ lfs f2, 0x110(r1) +/* 802D0A40 002CD9A0 7F C7 F3 78 */ mr r7, r30 +/* 802D0A44 002CD9A4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802D0A48 002CD9A8 38 61 00 FC */ addi r3, r1, 0xfc +/* 802D0A4C 002CD9AC D0 61 00 FC */ stfs f3, 0xfc(r1) +/* 802D0A50 002CD9B0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802D0A54 002CD9B4 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 802D0A58 002CD9B8 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802D0A5C 002CD9BC D0 81 01 08 */ stfs f4, 0x108(r1) +/* 802D0A60 002CD9C0 48 00 30 A9 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0A64 002CD9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0A68 002CD9C8 41 82 00 A8 */ beq lbl_802D0B10 +/* 802D0A6C 002CD9CC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0A70 002CD9D0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D0A74 002CD9D4 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802D0A78 002CD9D8 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0A7C 002CD9DC C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D0A80 002CD9E0 C0 01 01 10 */ lfs f0, 0x110(r1) +/* 802D0A84 002CD9E4 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0A88 002CD9E8 C0 41 01 14 */ lfs f2, 0x114(r1) +/* 802D0A8C 002CD9EC EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D0A90 002CD9F0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0A94 002CD9F4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 802D0A98 002CD9F8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D0A9C 002CD9FC D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 802D0AA0 002CDA00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0AA4 002CDA04 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 802D0AA8 002CDA08 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802D0AAC 002CDA0C 48 04 3D A5 */ bl AsNormalized__9CVector3fCFv +/* 802D0AB0 002CDA10 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802D0AB4 002CDA14 38 60 00 01 */ li r3, 1 +/* 802D0AB8 002CDA18 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0ABC 002CDA1C C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802D0AC0 002CDA20 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0AC4 002CDA24 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802D0AC8 002CDA28 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0ACC 002CDA2C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0AD0 002CDA30 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0AD4 002CDA34 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0AD8 002CDA38 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0ADC 002CDA3C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0AE0 002CDA40 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0AE4 002CDA44 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0AE8 002CDA48 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0AEC 002CDA4C EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0AF0 002CDA50 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0AF4 002CDA54 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0AF8 002CDA58 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0AFC 002CDA5C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0B00 002CDA60 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0B04 002CDA64 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0B08 002CDA68 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0B0C 002CDA6C 48 00 08 0C */ b lbl_802D1318 +lbl_802D0B10: +/* 802D0B10 002CDA70 38 60 00 00 */ li r3, 0 +/* 802D0B14 002CDA74 48 00 08 04 */ b lbl_802D1318 +lbl_802D0B18: +/* 802D0B18 002CDA78 7C 1B 04 2E */ lfsx f0, r27, r0 +/* 802D0B1C 002CDA7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0B20 002CDA80 40 80 01 20 */ bge lbl_802D0C40 +/* 802D0B24 002CDA84 38 00 00 01 */ li r0, 1 +/* 802D0B28 002CDA88 7C 05 C8 30 */ slw r5, r0, r25 +/* 802D0B2C 002CDA8C 7E E0 28 39 */ and. r0, r23, r5 +/* 802D0B30 002CDA90 40 82 00 0C */ bne lbl_802D0B3C +/* 802D0B34 002CDA94 38 60 00 00 */ li r3, 0 +/* 802D0B38 002CDA98 48 00 07 E0 */ b lbl_802D1318 +lbl_802D0B3C: +/* 802D0B3C 002CDA9C 7F 64 DB 78 */ mr r4, r27 +/* 802D0B40 002CDAA0 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D0B44 002CDAA4 7E E5 2A 78 */ xor r5, r23, r5 +/* 802D0B48 002CDAA8 48 06 6A 69 */ bl GetPoint__6CAABoxCFi +/* 802D0B4C 002CDAAC C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D0B50 002CDAB0 7F 44 D3 78 */ mr r4, r26 +/* 802D0B54 002CDAB4 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0B58 002CDAB8 7F 85 E3 78 */ mr r5, r28 +/* 802D0B5C 002CDABC C0 61 00 D8 */ lfs f3, 0xd8(r1) +/* 802D0B60 002CDAC0 FC 20 08 18 */ frsp f1, f1 +/* 802D0B64 002CDAC4 C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 802D0B68 002CDAC8 7F C7 F3 78 */ mr r7, r30 +/* 802D0B6C 002CDACC C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802D0B70 002CDAD0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802D0B74 002CDAD4 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 802D0B78 002CDAD8 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802D0B7C 002CDADC D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802D0B80 002CDAE0 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 802D0B84 002CDAE4 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 802D0B88 002CDAE8 48 00 2F 81 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D0B8C 002CDAEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0B90 002CDAF0 41 82 00 A8 */ beq lbl_802D0C38 +/* 802D0B94 002CDAF4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0B98 002CDAF8 38 61 00 BC */ addi r3, r1, 0xbc +/* 802D0B9C 002CDAFC 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802D0BA0 002CDB00 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0BA4 002CDB04 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D0BA8 002CDB08 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802D0BAC 002CDB0C C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D0BB0 002CDB10 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802D0BB4 002CDB14 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D0BB8 002CDB18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0BBC 002CDB1C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802D0BC0 002CDB20 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D0BC4 002CDB24 D0 81 00 B4 */ stfs f4, 0xb4(r1) +/* 802D0BC8 002CDB28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0BCC 002CDB2C D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802D0BD0 002CDB30 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802D0BD4 002CDB34 48 04 3C 7D */ bl AsNormalized__9CVector3fCFv +/* 802D0BD8 002CDB38 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802D0BDC 002CDB3C 38 60 00 01 */ li r3, 1 +/* 802D0BE0 002CDB40 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0BE4 002CDB44 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 802D0BE8 002CDB48 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D0BEC 002CDB4C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 802D0BF0 002CDB50 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0BF4 002CDB54 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0BF8 002CDB58 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0BFC 002CDB5C C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0C00 002CDB60 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0C04 002CDB64 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C08 002CDB68 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0C0C 002CDB6C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0C10 002CDB70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0C14 002CDB74 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0C18 002CDB78 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0C1C 002CDB7C C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0C20 002CDB80 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0C24 002CDB84 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0C28 002CDB88 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0C2C 002CDB8C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0C30 002CDB90 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0C34 002CDB94 48 00 06 E4 */ b lbl_802D1318 +lbl_802D0C38: +/* 802D0C38 002CDB98 38 60 00 00 */ li r3, 0 +/* 802D0C3C 002CDB9C 48 00 06 DC */ b lbl_802D1318 +lbl_802D0C40: +/* 802D0C40 002CDBA0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802D0C44 002CDBA4 7F E3 FB 78 */ mr r3, r31 +/* 802D0C48 002CDBA8 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0C4C 002CDBAC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C50 002CDBB0 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D0C54 002CDBB4 C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D0C58 002CDBB8 C0 61 01 54 */ lfs f3, 0x154(r1) +/* 802D0C5C 002CDBBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0C60 002CDBC0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D0C64 002CDBC4 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0C68 002CDBC8 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D0C6C 002CDBCC D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0C70 002CDBD0 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D0C74 002CDBD4 D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D0C78 002CDBD8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0C7C 002CDBDC 7C DF 05 2E */ stfsx f6, r31, r0 +/* 802D0C80 002CDBE0 48 04 3C 79 */ bl Normalize__9CVector3fFv +/* 802D0C84 002CDBE4 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0C88 002CDBE8 38 60 00 01 */ li r3, 1 +/* 802D0C8C 002CDBEC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0C90 002CDBF0 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0C94 002CDBF4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0C98 002CDBF8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0C9C 002CDBFC C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0CA0 002CDC00 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0CA4 002CDC04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0CA8 002CDC08 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0CAC 002CDC0C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0CB0 002CDC10 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0CB4 002CDC14 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0CB8 002CDC18 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0CBC 002CDC1C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0CC0 002CDC20 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0CC4 002CDC24 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0CC8 002CDC28 48 00 06 50 */ b lbl_802D1318 +lbl_802D0CCC: +/* 802D0CCC 002CDC2C 38 00 00 03 */ li r0, 3 +/* 802D0CD0 002CDC30 7F 84 E3 78 */ mr r4, r28 +/* 802D0CD4 002CDC34 7F 05 C3 78 */ mr r5, r24 +/* 802D0CD8 002CDC38 7F 66 DB 78 */ mr r6, r27 +/* 802D0CDC 002CDC3C 7F 47 D3 78 */ mr r7, r26 +/* 802D0CE0 002CDC40 C0 A2 C4 C4 */ lfs f5, lbl_805AE1E4@sda21(r2) +/* 802D0CE4 002CDC44 C0 82 C4 C8 */ lfs f4, lbl_805AE1E8@sda21(r2) +/* 802D0CE8 002CDC48 3B 20 00 00 */ li r25, 0 +/* 802D0CEC 002CDC4C 39 00 00 00 */ li r8, 0 +/* 802D0CF0 002CDC50 39 20 00 00 */ li r9, 0 +/* 802D0CF4 002CDC54 7C 09 03 A6 */ mtctr r0 +lbl_802D0CF8: +/* 802D0CF8 002CDC58 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D0CFC 002CDC5C FC 00 0A 10 */ fabs f0, f1 +/* 802D0D00 002CDC60 FC 00 00 18 */ frsp f0, f0 +/* 802D0D04 002CDC64 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802D0D08 002CDC68 41 80 00 84 */ blt lbl_802D0D8C +/* 802D0D0C 002CDC6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D0D10 002CDC70 38 00 00 01 */ li r0, 1 +/* 802D0D14 002CDC74 7C 00 48 30 */ slw r0, r0, r9 +/* 802D0D18 002CDC78 7E E3 00 38 */ and r3, r23, r0 +/* 802D0D1C 002CDC7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0D20 002CDC80 7C 03 00 D0 */ neg r0, r3 +/* 802D0D24 002CDC84 7C 00 1B 78 */ or r0, r0, r3 +/* 802D0D28 002CDC88 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802D0D2C 002CDC8C 7C 00 00 26 */ mfcr r0 +/* 802D0D30 002CDC90 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D0D34 002CDC94 7C 03 00 40 */ cmplw r3, r0 +/* 802D0D38 002CDC98 41 82 00 54 */ beq lbl_802D0D8C +/* 802D0D3C 002CDC9C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D0D40 002CDCA0 28 03 00 00 */ cmplwi r3, 0 +/* 802D0D44 002CDCA4 39 08 00 01 */ addi r8, r8, 1 +/* 802D0D48 002CDCA8 EC 60 08 24 */ fdivs f3, f0, f1 +/* 802D0D4C 002CDCAC 41 82 00 0C */ beq lbl_802D0D58 +/* 802D0D50 002CDCB0 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D0D54 002CDCB4 48 00 00 08 */ b lbl_802D0D5C +lbl_802D0D58: +/* 802D0D58 002CDCB8 C0 46 00 00 */ lfs f2, 0(r6) +lbl_802D0D5C: +/* 802D0D5C 002CDCBC C0 27 00 00 */ lfs f1, 0(r7) +/* 802D0D60 002CDCC0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D0D64 002CDCC4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D0D68 002CDCC8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802D0D6C 002CDCCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0D70 002CDCD0 40 80 00 0C */ bge lbl_802D0D7C +/* 802D0D74 002CDCD4 38 60 00 00 */ li r3, 0 +/* 802D0D78 002CDCD8 48 00 05 A0 */ b lbl_802D1318 +lbl_802D0D7C: +/* 802D0D7C 002CDCDC FC 01 28 40 */ fcmpo cr0, f1, f5 +/* 802D0D80 002CDCE0 40 80 00 0C */ bge lbl_802D0D8C +/* 802D0D84 002CDCE4 FC A0 08 90 */ fmr f5, f1 +/* 802D0D88 002CDCE8 7D 39 4B 78 */ mr r25, r9 +lbl_802D0D8C: +/* 802D0D8C 002CDCEC 38 84 00 04 */ addi r4, r4, 4 +/* 802D0D90 002CDCF0 38 A5 00 04 */ addi r5, r5, 4 +/* 802D0D94 002CDCF4 38 C6 00 04 */ addi r6, r6, 4 +/* 802D0D98 002CDCF8 38 E7 00 04 */ addi r7, r7, 4 +/* 802D0D9C 002CDCFC 39 29 00 01 */ addi r9, r9, 1 +/* 802D0DA0 002CDD00 42 00 FF 58 */ bdnz lbl_802D0CF8 +/* 802D0DA4 002CDD04 2C 08 00 02 */ cmpwi r8, 2 +/* 802D0DA8 002CDD08 40 80 00 0C */ bge lbl_802D0DB4 +/* 802D0DAC 002CDD0C 38 60 00 00 */ li r3, 0 +/* 802D0DB0 002CDD10 48 00 05 68 */ b lbl_802D1318 +lbl_802D0DB4: +/* 802D0DB4 002CDD14 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802D0DB8 002CDD18 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0DBC 002CDD1C 39 59 00 01 */ addi r10, r25, 1 +/* 802D0DC0 002CDD20 38 F9 00 02 */ addi r7, r25, 2 +/* 802D0DC4 002CDD24 38 03 55 56 */ addi r0, r3, 0x55555556@l +/* 802D0DC8 002CDD28 C0 41 01 50 */ lfs f2, 0x150(r1) +/* 802D0DCC 002CDD2C 7D 00 50 96 */ mulhw r8, r0, r10 +/* 802D0DD0 002CDD30 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 802D0DD4 002CDD34 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 802D0DD8 002CDD38 7F 43 D3 78 */ mr r3, r26 +/* 802D0DDC 002CDD3C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 802D0DE0 002CDD40 7F 84 E3 78 */ mr r4, r28 +/* 802D0DE4 002CDD44 7C C0 38 96 */ mulhw r6, r0, r7 +/* 802D0DE8 002CDD48 55 00 0F FE */ srwi r0, r8, 0x1f +/* 802D0DEC 002CDD4C D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802D0DF0 002CDD50 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802D0DF4 002CDD54 7D 28 02 14 */ add r9, r8, r0 +/* 802D0DF8 002CDD58 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802D0DFC 002CDD5C 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802D0E00 002CDD60 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 802D0E04 002CDD64 7C 06 02 14 */ add r0, r6, r0 +/* 802D0E08 002CDD68 39 01 00 10 */ addi r8, r1, 0x10 +/* 802D0E0C 002CDD6C 1C C9 00 03 */ mulli r6, r9, 3 +/* 802D0E10 002CDD70 1C 00 00 03 */ mulli r0, r0, 3 +/* 802D0E14 002CDD74 7C C6 50 50 */ subf r6, r6, r10 +/* 802D0E18 002CDD78 7C E0 38 50 */ subf r7, r0, r7 +/* 802D0E1C 002CDD7C 48 00 05 11 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0E20 002CDD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0E24 002CDD84 41 82 01 18 */ beq lbl_802D0F3C +/* 802D0E28 002CDD88 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 802D0E2C 002CDD8C C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0E30 002CDD90 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D0E34 002CDD94 40 81 01 08 */ ble lbl_802D0F3C +/* 802D0E38 002CDD98 C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D0E3C 002CDD9C FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D0E40 002CDDA0 40 80 00 FC */ bge lbl_802D0F3C +/* 802D0E44 002CDDA4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D0E48 002CDDA8 57 20 10 3A */ slwi r0, r25, 2 +/* 802D0E4C 002CDDAC C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D0E50 002CDDB0 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D0E54 002CDDB4 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D0E58 002CDDB8 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D0E5C 002CDDBC EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D0E60 002CDDC0 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D0E64 002CDDC4 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D0E68 002CDDC8 C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D0E6C 002CDDCC EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D0E70 002CDDD0 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D0E74 002CDDD4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0E78 002CDDD8 EC 03 08 2A */ fadds f0, f3, f1 +/* 802D0E7C 002CDDDC D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D0E80 002CDDE0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0E84 002CDDE4 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802D0E88 002CDDE8 7C 18 04 2E */ lfsx f0, r24, r0 +/* 802D0E8C 002CDDEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0E90 002CDDF0 40 81 00 0C */ ble lbl_802D0E9C +/* 802D0E94 002CDDF4 38 60 00 00 */ li r3, 0 +/* 802D0E98 002CDDF8 48 00 04 80 */ b lbl_802D1318 +lbl_802D0E9C: +/* 802D0E9C 002CDDFC 7C 1B 04 2E */ lfsx f0, r27, r0 +/* 802D0EA0 002CDE00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D0EA4 002CDE04 40 80 00 0C */ bge lbl_802D0EB0 +/* 802D0EA8 002CDE08 38 60 00 00 */ li r3, 0 +/* 802D0EAC 002CDE0C 48 00 04 6C */ b lbl_802D1318 +lbl_802D0EB0: +/* 802D0EB0 002CDE10 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802D0EB4 002CDE14 7F E3 FB 78 */ mr r3, r31 +/* 802D0EB8 002CDE18 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D0EBC 002CDE1C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0EC0 002CDE20 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 802D0EC4 002CDE24 C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D0EC8 002CDE28 C0 61 01 54 */ lfs f3, 0x154(r1) +/* 802D0ECC 002CDE2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0ED0 002CDE30 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D0ED4 002CDE34 C0 21 01 58 */ lfs f1, 0x158(r1) +/* 802D0ED8 002CDE38 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D0EDC 002CDE3C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D0EE0 002CDE40 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D0EE4 002CDE44 D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D0EE8 002CDE48 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D0EEC 002CDE4C 7C DF 05 2E */ stfsx f6, r31, r0 +/* 802D0EF0 002CDE50 48 04 3A 09 */ bl Normalize__9CVector3fFv +/* 802D0EF4 002CDE54 C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D0EF8 002CDE58 38 60 00 01 */ li r3, 1 +/* 802D0EFC 002CDE5C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D0F00 002CDE60 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D0F04 002CDE64 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D0F08 002CDE68 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D0F0C 002CDE6C C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D0F10 002CDE70 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D0F14 002CDE74 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D0F18 002CDE78 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D0F1C 002CDE7C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D0F20 002CDE80 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D0F24 002CDE84 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D0F28 002CDE88 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D0F2C 002CDE8C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D0F30 002CDE90 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D0F34 002CDE94 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D0F38 002CDE98 48 00 03 E0 */ b lbl_802D1318 +lbl_802D0F3C: +/* 802D0F3C 002CDE9C 38 60 00 00 */ li r3, 0 +/* 802D0F40 002CDEA0 48 00 03 D8 */ b lbl_802D1318 +lbl_802D0F44: +/* 802D0F44 002CDEA4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F48 002CDEA8 7C 17 03 78 */ mr r23, r0 +/* 802D0F4C 002CDEAC 41 82 00 08 */ beq lbl_802D0F54 +/* 802D0F50 002CDEB0 7C B7 2B 78 */ mr r23, r5 +lbl_802D0F54: +/* 802D0F54 002CDEB4 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F58 002CDEB8 39 00 00 01 */ li r8, 1 +/* 802D0F5C 002CDEBC 7C C4 33 78 */ mr r4, r6 +/* 802D0F60 002CDEC0 7D 08 B8 30 */ slw r8, r8, r23 +/* 802D0F64 002CDEC4 41 82 00 08 */ beq lbl_802D0F6C +/* 802D0F68 002CDEC8 7C E4 3B 78 */ mr r4, r7 +lbl_802D0F6C: +/* 802D0F6C 002CDECC 54 86 06 3E */ clrlwi r6, r4, 0x18 +/* 802D0F70 002CDED0 55 24 06 3F */ clrlwi. r4, r9, 0x18 +/* 802D0F74 002CDED4 7C C8 31 D6 */ mullw r6, r8, r6 +/* 802D0F78 002CDED8 7C B9 2B 78 */ mr r25, r5 +/* 802D0F7C 002CDEDC 41 82 00 08 */ beq lbl_802D0F84 +/* 802D0F80 002CDEE0 7C 19 03 78 */ mr r25, r0 +lbl_802D0F84: +/* 802D0F84 002CDEE4 38 80 00 01 */ li r4, 1 +/* 802D0F88 002CDEE8 88 01 00 08 */ lbz r0, 8(r1) +/* 802D0F8C 002CDEEC 7C 83 18 30 */ slw r3, r4, r3 +/* 802D0F90 002CDEF0 7F 64 DB 78 */ mr r4, r27 +/* 802D0F94 002CDEF4 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802D0F98 002CDEF8 38 61 00 94 */ addi r3, r1, 0x94 +/* 802D0F9C 002CDEFC 7C D6 03 78 */ or r22, r6, r0 +/* 802D0FA0 002CDF00 7E C5 B3 78 */ mr r5, r22 +/* 802D0FA4 002CDF04 48 06 66 0D */ bl GetPoint__6CAABoxCFi +/* 802D0FA8 002CDF08 C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 802D0FAC 002CDF0C 7F 43 D3 78 */ mr r3, r26 +/* 802D0FB0 002CDF10 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 802D0FB4 002CDF14 7F 84 E3 78 */ mr r4, r28 +/* 802D0FB8 002CDF18 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 802D0FBC 002CDF1C 7E E7 BB 78 */ mr r7, r23 +/* 802D0FC0 002CDF20 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802D0FC4 002CDF24 38 A1 00 84 */ addi r5, r1, 0x84 +/* 802D0FC8 002CDF28 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802D0FCC 002CDF2C 39 01 00 0C */ addi r8, r1, 0xc +/* 802D0FD0 002CDF30 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 802D0FD4 002CDF34 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802D0FD8 002CDF38 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802D0FDC 002CDF3C D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802D0FE0 002CDF40 48 00 03 4D */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +/* 802D0FE4 002CDF44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D0FE8 002CDF48 41 82 03 2C */ beq lbl_802D1314 +/* 802D0FEC 002CDF4C C0 E1 00 0C */ lfs f7, 0xc(r1) +/* 802D0FF0 002CDF50 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) +/* 802D0FF4 002CDF54 FC 07 30 40 */ fcmpo cr0, f7, f6 +/* 802D0FF8 002CDF58 40 81 03 1C */ ble lbl_802D1314 +/* 802D0FFC 002CDF5C C8 1D 00 00 */ lfd f0, 0(r29) +/* 802D1000 002CDF60 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D1004 002CDF64 40 80 03 10 */ bge lbl_802D1314 +/* 802D1008 002CDF68 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D100C 002CDF6C 57 37 10 3A */ slwi r23, r25, 2 +/* 802D1010 002CDF70 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D1014 002CDF74 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802D1018 002CDF78 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802D101C 002CDF7C C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D1020 002CDF80 EC 87 00 F2 */ fmuls f4, f7, f3 +/* 802D1024 002CDF84 C0 BA 00 04 */ lfs f5, 4(r26) +/* 802D1028 002CDF88 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D102C 002CDF8C C0 7A 00 08 */ lfs f3, 8(r26) +/* 802D1030 002CDF90 EC 27 00 B2 */ fmuls f1, f7, f2 +/* 802D1034 002CDF94 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D1038 002CDF98 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D103C 002CDF9C EC 03 08 2A */ fadds f0, f3, f1 +/* 802D1040 002CDFA0 D0 5E 00 04 */ stfs f2, 4(r30) +/* 802D1044 002CDFA4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D1048 002CDFA8 7C 3E BC 2E */ lfsx f1, r30, r23 +/* 802D104C 002CDFAC 7C 18 BC 2E */ lfsx f0, r24, r23 +/* 802D1050 002CDFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1054 002CDFB4 40 81 01 24 */ ble lbl_802D1178 +/* 802D1058 002CDFB8 38 00 00 01 */ li r0, 1 +/* 802D105C 002CDFBC 7F 64 DB 78 */ mr r4, r27 +/* 802D1060 002CDFC0 7C 00 C8 30 */ slw r0, r0, r25 +/* 802D1064 002CDFC4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D1068 002CDFC8 7E C5 03 78 */ or r5, r22, r0 +/* 802D106C 002CDFCC 48 06 65 45 */ bl GetPoint__6CAABoxCFi +/* 802D1070 002CDFD0 38 61 01 80 */ addi r3, r1, 0x180 +/* 802D1074 002CDFD4 7C 3E BC 2E */ lfsx f1, r30, r23 +/* 802D1078 002CDFD8 7C 03 BC 2E */ lfsx f0, r3, r23 +/* 802D107C 002CDFDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1080 002CDFE0 40 80 00 F0 */ bge lbl_802D1170 +/* 802D1084 002CDFE4 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D1088 002CDFE8 7F 44 D3 78 */ mr r4, r26 +/* 802D108C 002CDFEC C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1090 002CDFF0 7F 85 E3 78 */ mr r5, r28 +/* 802D1094 002CDFF4 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802D1098 002CDFF8 FC 20 08 18 */ frsp f1, f1 +/* 802D109C 002CDFFC C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 802D10A0 002CE000 7F C7 F3 78 */ mr r7, r30 +/* 802D10A4 002CE004 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802D10A8 002CE008 38 61 00 68 */ addi r3, r1, 0x68 +/* 802D10AC 002CE00C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802D10B0 002CE010 38 C1 00 0C */ addi r6, r1, 0xc +/* 802D10B4 002CE014 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802D10B8 002CE018 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802D10BC 002CE01C D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802D10C0 002CE020 48 00 2A 49 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D10C4 002CE024 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D10C8 002CE028 41 82 00 A8 */ beq lbl_802D1170 +/* 802D10CC 002CE02C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D10D0 002CE030 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D10D4 002CE034 38 81 00 50 */ addi r4, r1, 0x50 +/* 802D10D8 002CE038 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D10DC 002CE03C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D10E0 002CE040 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802D10E4 002CE044 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D10E8 002CE048 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802D10EC 002CE04C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D10F0 002CE050 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D10F4 002CE054 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802D10F8 002CE058 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D10FC 002CE05C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802D1100 002CE060 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1104 002CE064 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802D1108 002CE068 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802D110C 002CE06C 48 04 37 45 */ bl AsNormalized__9CVector3fCFv +/* 802D1110 002CE070 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802D1114 002CE074 38 60 00 01 */ li r3, 1 +/* 802D1118 002CE078 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D111C 002CE07C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802D1120 002CE080 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D1124 002CE084 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802D1128 002CE088 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D112C 002CE08C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1130 002CE090 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D1134 002CE094 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D1138 002CE098 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D113C 002CE09C C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1140 002CE0A0 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D1144 002CE0A4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D1148 002CE0A8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D114C 002CE0AC EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D1150 002CE0B0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D1154 002CE0B4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D1158 002CE0B8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D115C 002CE0BC D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1160 002CE0C0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1164 002CE0C4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D1168 002CE0C8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D116C 002CE0CC 48 00 01 AC */ b lbl_802D1318 +lbl_802D1170: +/* 802D1170 002CE0D0 38 60 00 00 */ li r3, 0 +/* 802D1174 002CE0D4 48 00 01 A4 */ b lbl_802D1318 +lbl_802D1178: +/* 802D1178 002CE0D8 7C 1B BC 2E */ lfsx f0, r27, r23 +/* 802D117C 002CE0DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1180 002CE0E0 40 80 01 08 */ bge lbl_802D1288 +/* 802D1184 002CE0E4 38 61 01 74 */ addi r3, r1, 0x174 +/* 802D1188 002CE0E8 7C 03 BC 2E */ lfsx f0, r3, r23 +/* 802D118C 002CE0EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1190 002CE0F0 40 81 00 F0 */ ble lbl_802D1280 +/* 802D1194 002CE0F4 C8 3D 00 00 */ lfd f1, 0(r29) +/* 802D1198 002CE0F8 7F 44 D3 78 */ mr r4, r26 +/* 802D119C 002CE0FC C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D11A0 002CE100 7F 85 E3 78 */ mr r5, r28 +/* 802D11A4 002CE104 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802D11A8 002CE108 FC 20 08 18 */ frsp f1, f1 +/* 802D11AC 002CE10C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802D11B0 002CE110 7F C7 F3 78 */ mr r7, r30 +/* 802D11B4 002CE114 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 802D11B8 002CE118 38 61 00 40 */ addi r3, r1, 0x40 +/* 802D11BC 002CE11C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802D11C0 002CE120 38 C1 00 0C */ addi r6, r1, 0xc +/* 802D11C4 002CE124 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802D11C8 002CE128 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802D11CC 002CE12C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802D11D0 002CE130 48 00 29 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 802D11D4 002CE134 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D11D8 002CE138 41 82 00 A8 */ beq lbl_802D1280 +/* 802D11DC 002CE13C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D11E0 002CE140 38 61 00 34 */ addi r3, r1, 0x34 +/* 802D11E4 002CE144 38 81 00 28 */ addi r4, r1, 0x28 +/* 802D11E8 002CE148 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D11EC 002CE14C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802D11F0 002CE150 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802D11F4 002CE154 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802D11F8 002CE158 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 802D11FC 002CE15C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D1200 002CE160 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1204 002CE164 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802D1208 002CE168 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D120C 002CE16C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802D1210 002CE170 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1214 002CE174 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802D1218 002CE178 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D121C 002CE17C 48 04 36 35 */ bl AsNormalized__9CVector3fCFv +/* 802D1220 002CE180 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802D1224 002CE184 38 60 00 01 */ li r3, 1 +/* 802D1228 002CE188 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D122C 002CE18C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802D1230 002CE190 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802D1234 002CE194 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802D1238 002CE198 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D123C 002CE19C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D1240 002CE1A0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D1244 002CE1A4 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D1248 002CE1A8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D124C 002CE1AC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1250 002CE1B0 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D1254 002CE1B4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D1258 002CE1B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D125C 002CE1BC EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D1260 002CE1C0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D1264 002CE1C4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D1268 002CE1C8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D126C 002CE1CC D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1270 002CE1D0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1274 002CE1D4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D1278 002CE1D8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D127C 002CE1DC 48 00 00 9C */ b lbl_802D1318 +lbl_802D1280: +/* 802D1280 002CE1E0 38 60 00 00 */ li r3, 0 +/* 802D1284 002CE1E4 48 00 00 94 */ b lbl_802D1318 +lbl_802D1288: +/* 802D1288 002CE1E8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D128C 002CE1EC 7F E3 FB 78 */ mr r3, r31 +/* 802D1290 002CE1F0 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D1294 002CE1F4 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D1298 002CE1F8 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802D129C 002CE1FC C0 9E 00 04 */ lfs f4, 4(r30) +/* 802D12A0 002CE200 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 802D12A4 002CE204 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D12A8 002CE208 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D12AC 002CE20C C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802D12B0 002CE210 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802D12B4 002CE214 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D12B8 002CE218 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802D12BC 002CE21C D0 7F 00 04 */ stfs f3, 4(r31) +/* 802D12C0 002CE220 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D12C4 002CE224 7C DF BD 2E */ stfsx f6, r31, r23 +/* 802D12C8 002CE228 48 04 36 31 */ bl Normalize__9CVector3fFv +/* 802D12CC 002CE22C C0 9A 00 0C */ lfs f4, 0xc(r26) +/* 802D12D0 002CE230 38 60 00 01 */ li r3, 1 +/* 802D12D4 002CE234 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802D12D8 002CE238 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802D12DC 002CE23C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D12E0 002CE240 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D12E4 002CE244 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802D12E8 002CE248 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D12EC 002CE24C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D12F0 002CE250 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802D12F4 002CE254 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D12F8 002CE258 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D12FC 002CE25C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1300 002CE260 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D1304 002CE264 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D1308 002CE268 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D130C 002CE26C D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D1310 002CE270 48 00 00 08 */ b lbl_802D1318 +lbl_802D1314: +/* 802D1314 002CE274 38 60 00 00 */ li r3, 0 +lbl_802D1318: +/* 802D1318 002CE278 BA C1 01 98 */ lmw r22, 0x198(r1) +/* 802D131C 002CE27C 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802D1320 002CE280 7C 08 03 A6 */ mtlr r0 +/* 802D1324 002CE284 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802D1328 002CE288 4E 80 00 20 */ blr + +.global LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf +LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf: +/* 802D132C 002CE28C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802D1330 002CE290 7C 08 02 A6 */ mflr r0 +/* 802D1334 002CE294 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802D1338 002CE298 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802D133C 002CE29C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802D1340 002CE2A0 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 802D1344 002CE2A4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 802D1348 002CE2A8 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 802D134C 002CE2AC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 802D1350 002CE2B0 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802D1354 002CE2B4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802D1358 002CE2B8 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 802D135C 002CE2BC 7C BC 2B 78 */ mr r28, r5 +/* 802D1360 002CE2C0 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D1364 002CE2C4 C0 25 00 04 */ lfs f1, 4(r5) +/* 802D1368 002CE2C8 54 FF 10 3A */ slwi r31, r7, 2 +/* 802D136C 002CE2CC C0 65 00 08 */ lfs f3, 8(r5) +/* 802D1370 002CE2D0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802D1374 002CE2D4 C0 43 00 08 */ lfs f2, 8(r3) +/* 802D1378 002CE2D8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D137C 002CE2DC C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1380 002CE2E0 54 DE 10 3A */ slwi r30, r6, 2 +/* 802D1384 002CE2E4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D1388 002CE2E8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D138C 002CE2EC D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802D1390 002CE2F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D1394 002CE2F4 7C 9B 23 78 */ mr r27, r4 +/* 802D1398 002CE2F8 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D139C 002CE2FC 7D 1D 43 78 */ mr r29, r8 +/* 802D13A0 002CE300 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D13A4 002CE304 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D13A8 002CE308 7C 25 F4 2E */ lfsx f1, r5, r30 +/* 802D13AC 002CE30C 7C 45 FC 2E */ lfsx f2, r5, r31 +/* 802D13B0 002CE310 48 04 2E 51 */ bl __ct__9CVector2fFff +/* 802D13B4 002CE314 7C 3B F4 2E */ lfsx f1, r27, r30 +/* 802D13B8 002CE318 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D13BC 002CE31C 7C 5B FC 2E */ lfsx f2, r27, r31 +/* 802D13C0 002CE320 48 04 2E 41 */ bl __ct__9CVector2fFff +/* 802D13C4 002CE324 38 61 00 24 */ addi r3, r1, 0x24 +/* 802D13C8 002CE328 48 04 2D 2D */ bl Magnitude__9CVector2fCFv +/* 802D13CC 002CE32C FC 40 08 18 */ frsp f2, f1 +/* 802D13D0 002CE330 C0 02 C4 C8 */ lfs f0, lbl_805AE1E8@sda21(r2) +/* 802D13D4 002CE334 D0 21 00 08 */ stfs f1, 8(r1) +/* 802D13D8 002CE338 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D13DC 002CE33C 40 80 00 0C */ bge lbl_802D13E8 +/* 802D13E0 002CE340 38 60 00 00 */ li r3, 0 +/* 802D13E4 002CE344 48 00 00 C8 */ b lbl_802D14AC +lbl_802D13E8: +/* 802D13E8 002CE348 7C 3B F4 2E */ lfsx f1, r27, r30 +/* 802D13EC 002CE34C 38 61 00 0C */ addi r3, r1, 0xc +/* 802D13F0 002CE350 7C 5B FC 2E */ lfsx f2, r27, r31 +/* 802D13F4 002CE354 48 04 2E 0D */ bl __ct__9CVector2fFff +/* 802D13F8 002CE358 7C 64 1B 78 */ mr r4, r3 +/* 802D13FC 002CE35C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802D1400 002CE360 38 A1 00 08 */ addi r5, r1, 8 +/* 802D1404 002CE364 48 04 2A 61 */ bl __dv__FRC9CVector2fRCf +/* 802D1408 002CE368 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D140C 002CE36C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D1410 002CE370 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D1414 002CE374 38 81 00 1C */ addi r4, r1, 0x1c +/* 802D1418 002CE378 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D141C 002CE37C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D1420 002CE380 48 04 2B 89 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 802D1424 002CE384 FF C0 08 90 */ fmr f30, f1 +/* 802D1428 002CE388 38 61 00 2C */ addi r3, r1, 0x2c +/* 802D142C 002CE38C 7C 64 1B 78 */ mr r4, r3 +/* 802D1430 002CE390 EF BE 07 B2 */ fmuls f29, f30, f30 +/* 802D1434 002CE394 48 04 2B 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 802D1438 002CE398 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802D143C 002CE39C FF E0 08 90 */ fmr f31, f1 +/* 802D1440 002CE3A0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1444 002CE3A4 EF 82 00 B2 */ fmuls f28, f2, f2 +/* 802D1448 002CE3A8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802D144C 002CE3AC 40 80 00 14 */ bge lbl_802D1460 +/* 802D1450 002CE3B0 FC 1F E0 40 */ fcmpo cr0, f31, f28 +/* 802D1454 002CE3B4 40 81 00 0C */ ble lbl_802D1460 +/* 802D1458 002CE3B8 38 60 00 00 */ li r3, 0 +/* 802D145C 002CE3BC 48 00 00 50 */ b lbl_802D14AC +lbl_802D1460: +/* 802D1460 002CE3C0 EC 3F E8 28 */ fsubs f1, f31, f29 +/* 802D1464 002CE3C4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1468 002CE3C8 EC 3C 08 28 */ fsubs f1, f28, f1 +/* 802D146C 002CE3CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1470 002CE3D0 40 80 00 0C */ bge lbl_802D147C +/* 802D1474 002CE3D4 38 60 00 00 */ li r3, 0 +/* 802D1478 002CE3D8 48 00 00 34 */ b lbl_802D14AC +lbl_802D147C: +/* 802D147C 002CE3DC 48 04 40 85 */ bl SqrtF__5CMathFf +/* 802D1480 002CE3E0 FC 1F E0 40 */ fcmpo cr0, f31, f28 +/* 802D1484 002CE3E4 40 81 00 0C */ ble lbl_802D1490 +/* 802D1488 002CE3E8 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 802D148C 002CE3EC 48 00 00 08 */ b lbl_802D1494 +lbl_802D1490: +/* 802D1490 002CE3F0 EC 1E 08 2A */ fadds f0, f30, f1 +lbl_802D1494: +/* 802D1494 002CE3F4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802D1498 002CE3F8 38 60 00 01 */ li r3, 1 +/* 802D149C 002CE3FC C0 01 00 08 */ lfs f0, 8(r1) +/* 802D14A0 002CE400 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802D14A4 002CE404 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802D14A8 002CE408 D0 1D 00 00 */ stfs f0, 0(r29) +lbl_802D14AC: +/* 802D14AC 002CE40C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802D14B0 002CE410 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802D14B4 002CE414 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 802D14B8 002CE418 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 802D14BC 002CE41C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 802D14C0 002CE420 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 802D14C4 002CE424 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 802D14C8 002CE428 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 802D14CC 002CE42C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 802D14D0 002CE430 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802D14D4 002CE434 7C 08 03 A6 */ mtlr r0 +/* 802D14D8 002CE438 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802D14DC 002CE43C 4E 80 00 20 */ blr + +.global TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802D14E0 002CE440 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802D14E4 002CE444 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802D14E8 002CE448 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802D14EC 002CE44C DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802D14F0 002CE450 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802D14F4 002CE454 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802D14F8 002CE458 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802D14FC 002CE45C DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 802D1500 002CE460 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 802D1504 002CE464 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 802D1508 002CE468 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 802D150C 002CE46C DB 41 00 B0 */ stfd f26, 0xb0(r1) +/* 802D1510 002CE470 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 +/* 802D1514 002CE474 DB 21 00 A0 */ stfd f25, 0xa0(r1) +/* 802D1518 002CE478 F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0 +/* 802D151C 002CE47C DB 01 00 90 */ stfd f24, 0x90(r1) +/* 802D1520 002CE480 F3 01 00 98 */ psq_st f24, 152(r1), 0, qr0 +/* 802D1524 002CE484 DA E1 00 80 */ stfd f23, 0x80(r1) +/* 802D1528 002CE488 F2 E1 00 88 */ psq_st f23, 136(r1), 0, qr0 +/* 802D152C 002CE48C DA C1 00 70 */ stfd f22, 0x70(r1) +/* 802D1530 002CE490 F2 C1 00 78 */ psq_st f22, 120(r1), 0, qr0 +/* 802D1534 002CE494 DA A1 00 60 */ stfd f21, 0x60(r1) +/* 802D1538 002CE498 F2 A1 00 68 */ psq_st f21, 104(r1), 0, qr0 +/* 802D153C 002CE49C DA 81 00 50 */ stfd f20, 0x50(r1) +/* 802D1540 002CE4A0 F2 81 00 58 */ psq_st f20, 88(r1), 0, qr0 +/* 802D1544 002CE4A4 DA 61 00 40 */ stfd f19, 0x40(r1) +/* 802D1548 002CE4A8 F2 61 00 48 */ psq_st f19, 72(r1), 0, qr0 +/* 802D154C 002CE4AC DA 41 00 30 */ stfd f18, 0x30(r1) +/* 802D1550 002CE4B0 F2 41 00 38 */ psq_st f18, 56(r1), 0, qr0 +/* 802D1554 002CE4B4 C0 25 00 04 */ lfs f1, 4(r5) +/* 802D1558 002CE4B8 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802D155C 002CE4BC C0 06 00 04 */ lfs f0, 4(r6) +/* 802D1560 002CE4C0 EC 61 28 28 */ fsubs f3, f1, f5 +/* 802D1564 002CE4C4 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D1568 002CE4C8 EC C0 28 28 */ fsubs f6, f0, f5 +/* 802D156C 002CE4CC C1 03 00 00 */ lfs f8, 0(r3) +/* 802D1570 002CE4D0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802D1574 002CE4D4 C0 07 00 04 */ lfs f0, 4(r7) +/* 802D1578 002CE4D8 ED 86 18 28 */ fsubs f12, f6, f3 +/* 802D157C 002CE4DC C0 85 00 08 */ lfs f4, 8(r5) +/* 802D1580 002CE4E0 ED 20 28 28 */ fsubs f9, f0, f5 +/* 802D1584 002CE4E4 C1 63 00 08 */ lfs f11, 8(r3) +/* 802D1588 002CE4E8 C0 E6 00 08 */ lfs f7, 8(r6) +/* 802D158C 002CE4EC EC 42 40 28 */ fsubs f2, f2, f8 +/* 802D1590 002CE4F0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802D1594 002CE4F4 EC 84 58 28 */ fsubs f4, f4, f11 +/* 802D1598 002CE4F8 EC A1 40 28 */ fsubs f5, f1, f8 +/* 802D159C 002CE4FC C0 27 00 00 */ lfs f1, 0(r7) +/* 802D15A0 002CE500 ED 40 58 28 */ fsubs f10, f0, f11 +/* 802D15A4 002CE504 EC E7 58 28 */ fsubs f7, f7, f11 +/* 802D15A8 002CE508 ED 01 40 28 */ fsubs f8, f1, f8 +/* 802D15AC 002CE50C ED 65 10 28 */ fsubs f11, f5, f2 +/* 802D15B0 002CE510 ED A7 20 28 */ fsubs f13, f7, f4 +/* 802D15B4 002CE514 EC 2C 01 32 */ fmuls f1, f12, f4 +/* 802D15B8 002CE518 EC 0C 02 B2 */ fmuls f0, f12, f10 +/* 802D15BC 002CE51C FE E0 5A 10 */ fabs f23, f11 +/* 802D15C0 002CE520 FF 20 62 10 */ fabs f25, f12 +/* 802D15C4 002CE524 FE C0 6A 10 */ fabs f22, f13 +/* 802D15C8 002CE528 EC 2D 08 F8 */ fmsubs f1, f13, f3, f1 +/* 802D15CC 002CE52C EC 0D 02 78 */ fmsubs f0, f13, f9, f0 +/* 802D15D0 002CE530 EF E8 28 28 */ fsubs f31, f8, f5 +/* 802D15D4 002CE534 EF C9 30 28 */ fsubs f30, f9, f6 +/* 802D15D8 002CE538 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D15DC 002CE53C EF AA 38 28 */ fsubs f29, f10, f7 +/* 802D15E0 002CE540 EF 82 40 28 */ fsubs f28, f2, f8 +/* 802D15E4 002CE544 EF 63 48 28 */ fsubs f27, f3, f9 +/* 802D15E8 002CE548 EF 44 50 28 */ fsubs f26, f4, f10 +/* 802D15EC 002CE54C FF 00 B8 18 */ frsp f24, f23 +/* 802D15F0 002CE550 FF 20 C8 18 */ frsp f25, f25 +/* 802D15F4 002CE554 FE C0 B0 18 */ frsp f22, f22 +/* 802D15F8 002CE558 40 80 00 10 */ bge lbl_802D1608 +/* 802D15FC 002CE55C FE 40 08 90 */ fmr f18, f1 +/* 802D1600 002CE560 FE 60 00 90 */ fmr f19, f0 +/* 802D1604 002CE564 48 00 00 0C */ b lbl_802D1610 +lbl_802D1608: +/* 802D1608 002CE568 FE 40 00 90 */ fmr f18, f0 +/* 802D160C 002CE56C FE 60 08 90 */ fmr f19, f1 +lbl_802D1610: +/* 802D1610 002CE570 C2 84 00 08 */ lfs f20, 8(r4) +/* 802D1614 002CE574 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D1618 002CE578 EC 39 05 32 */ fmuls f1, f25, f20 +/* 802D161C 002CE57C EC 36 08 3A */ fmadds f1, f22, f0, f1 +/* 802D1620 002CE580 FC 12 08 40 */ fcmpo cr0, f18, f1 +/* 802D1624 002CE584 41 81 00 10 */ bgt lbl_802D1634 +/* 802D1628 002CE588 FC 20 08 50 */ fneg f1, f1 +/* 802D162C 002CE58C FC 13 08 40 */ fcmpo cr0, f19, f1 +/* 802D1630 002CE590 40 80 00 0C */ bge lbl_802D163C +lbl_802D1634: +/* 802D1634 002CE594 38 60 00 00 */ li r3, 0 +/* 802D1638 002CE598 48 00 04 F8 */ b lbl_802D1B30 +lbl_802D163C: +/* 802D163C 002CE59C FE A0 68 50 */ fneg f21, f13 +/* 802D1640 002CE5A0 EE EB 01 32 */ fmuls f23, f11, f4 +/* 802D1644 002CE5A4 EC 2B 02 B2 */ fmuls f1, f11, f10 +/* 802D1648 002CE5A8 EE F5 B8 BA */ fmadds f23, f21, f2, f23 +/* 802D164C 002CE5AC EE 55 0A 3A */ fmadds f18, f21, f8, f1 +/* 802D1650 002CE5B0 FC 17 90 40 */ fcmpo cr0, f23, f18 +/* 802D1654 002CE5B4 40 80 00 0C */ bge lbl_802D1660 +/* 802D1658 002CE5B8 FE 60 B8 90 */ fmr f19, f23 +/* 802D165C 002CE5BC 48 00 00 0C */ b lbl_802D1668 +lbl_802D1660: +/* 802D1660 002CE5C0 FE 60 90 90 */ fmr f19, f18 +/* 802D1664 002CE5C4 FE 40 B8 90 */ fmr f18, f23 +lbl_802D1668: +/* 802D1668 002CE5C8 EC 38 05 32 */ fmuls f1, f24, f20 +/* 802D166C 002CE5CC C2 84 00 00 */ lfs f20, 0(r4) +/* 802D1670 002CE5D0 EC 36 0D 3A */ fmadds f1, f22, f20, f1 +/* 802D1674 002CE5D4 FC 13 08 40 */ fcmpo cr0, f19, f1 +/* 802D1678 002CE5D8 41 81 00 10 */ bgt lbl_802D1688 +/* 802D167C 002CE5DC FC 20 08 50 */ fneg f1, f1 +/* 802D1680 002CE5E0 FC 12 08 40 */ fcmpo cr0, f18, f1 +/* 802D1684 002CE5E4 40 80 00 0C */ bge lbl_802D1690 +lbl_802D1688: +/* 802D1688 002CE5E8 38 60 00 00 */ li r3, 0 +/* 802D168C 002CE5EC 48 00 04 A4 */ b lbl_802D1B30 +lbl_802D1690: +/* 802D1690 002CE5F0 EE EB 01 B2 */ fmuls f23, f11, f6 +/* 802D1694 002CE5F4 EC 2B 02 72 */ fmuls f1, f11, f9 +/* 802D1698 002CE5F8 EE 6C B9 78 */ fmsubs f19, f12, f5, f23 +/* 802D169C 002CE5FC EE 4C 0A 38 */ fmsubs f18, f12, f8, f1 +/* 802D16A0 002CE600 FC 12 98 40 */ fcmpo cr0, f18, f19 +/* 802D16A4 002CE604 40 80 00 10 */ bge lbl_802D16B4 +/* 802D16A8 002CE608 FC 20 90 90 */ fmr f1, f18 +/* 802D16AC 002CE60C FE 40 98 90 */ fmr f18, f19 +/* 802D16B0 002CE610 48 00 00 08 */ b lbl_802D16B8 +lbl_802D16B4: +/* 802D16B4 002CE614 FC 20 98 90 */ fmr f1, f19 +lbl_802D16B8: +/* 802D16B8 002CE618 EC 18 00 32 */ fmuls f0, f24, f0 +/* 802D16BC 002CE61C EC 19 05 3A */ fmadds f0, f25, f20, f0 +/* 802D16C0 002CE620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D16C4 002CE624 41 81 00 10 */ bgt lbl_802D16D4 +/* 802D16C8 002CE628 FC 00 00 50 */ fneg f0, f0 +/* 802D16CC 002CE62C FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D16D0 002CE630 40 80 00 0C */ bge lbl_802D16DC +lbl_802D16D4: +/* 802D16D4 002CE634 38 60 00 00 */ li r3, 0 +/* 802D16D8 002CE638 48 00 04 58 */ b lbl_802D1B30 +lbl_802D16DC: +/* 802D16DC 002CE63C EC 3E 01 32 */ fmuls f1, f30, f4 +/* 802D16E0 002CE640 EC 1E 02 B2 */ fmuls f0, f30, f10 +/* 802D16E4 002CE644 FE C0 FA 10 */ fabs f22, f31 +/* 802D16E8 002CE648 FE E0 F2 10 */ fabs f23, f30 +/* 802D16EC 002CE64C FF 00 EA 10 */ fabs f24, f29 +/* 802D16F0 002CE650 EC 3D 08 F8 */ fmsubs f1, f29, f3, f1 +/* 802D16F4 002CE654 EE 5D 02 78 */ fmsubs f18, f29, f9, f0 +/* 802D16F8 002CE658 FE C0 B0 18 */ frsp f22, f22 +/* 802D16FC 002CE65C FC 00 B8 18 */ frsp f0, f23 +/* 802D1700 002CE660 FC 01 90 40 */ fcmpo cr0, f1, f18 +/* 802D1704 002CE664 FF 20 C0 18 */ frsp f25, f24 +/* 802D1708 002CE668 40 80 00 0C */ bge lbl_802D1714 +/* 802D170C 002CE66C FE 60 08 90 */ fmr f19, f1 +/* 802D1710 002CE670 48 00 00 0C */ b lbl_802D171C +lbl_802D1714: +/* 802D1714 002CE674 FE 60 90 90 */ fmr f19, f18 +/* 802D1718 002CE678 FE 40 08 90 */ fmr f18, f1 +lbl_802D171C: +/* 802D171C 002CE67C C2 A4 00 08 */ lfs f21, 8(r4) +/* 802D1720 002CE680 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1724 002CE684 EE E0 05 72 */ fmuls f23, f0, f21 +/* 802D1728 002CE688 EE 99 B8 7A */ fmadds f20, f25, f1, f23 +/* 802D172C 002CE68C FC 13 A0 40 */ fcmpo cr0, f19, f20 +/* 802D1730 002CE690 41 81 00 10 */ bgt lbl_802D1740 +/* 802D1734 002CE694 FE E0 A0 50 */ fneg f23, f20 +/* 802D1738 002CE698 FC 12 B8 40 */ fcmpo cr0, f18, f23 +/* 802D173C 002CE69C 40 80 00 0C */ bge lbl_802D1748 +lbl_802D1740: +/* 802D1740 002CE6A0 38 60 00 00 */ li r3, 0 +/* 802D1744 002CE6A4 48 00 03 EC */ b lbl_802D1B30 +lbl_802D1748: +/* 802D1748 002CE6A8 FE 80 E8 50 */ fneg f20, f29 +/* 802D174C 002CE6AC EF 1F 01 32 */ fmuls f24, f31, f4 +/* 802D1750 002CE6B0 EE FF 02 B2 */ fmuls f23, f31, f10 +/* 802D1754 002CE6B4 EF 14 C0 BA */ fmadds f24, f20, f2, f24 +/* 802D1758 002CE6B8 EE 54 BA 3A */ fmadds f18, f20, f8, f23 +/* 802D175C 002CE6BC FC 18 90 40 */ fcmpo cr0, f24, f18 +/* 802D1760 002CE6C0 40 80 00 0C */ bge lbl_802D176C +/* 802D1764 002CE6C4 FE 60 C0 90 */ fmr f19, f24 +/* 802D1768 002CE6C8 48 00 00 0C */ b lbl_802D1774 +lbl_802D176C: +/* 802D176C 002CE6CC FE 60 90 90 */ fmr f19, f18 +/* 802D1770 002CE6D0 FE 40 C0 90 */ fmr f18, f24 +lbl_802D1774: +/* 802D1774 002CE6D4 EE F6 05 72 */ fmuls f23, f22, f21 +/* 802D1778 002CE6D8 C2 84 00 00 */ lfs f20, 0(r4) +/* 802D177C 002CE6DC EE B9 BD 3A */ fmadds f21, f25, f20, f23 +/* 802D1780 002CE6E0 FC 13 A8 40 */ fcmpo cr0, f19, f21 +/* 802D1784 002CE6E4 41 81 00 10 */ bgt lbl_802D1794 +/* 802D1788 002CE6E8 FE E0 A8 50 */ fneg f23, f21 +/* 802D178C 002CE6EC FC 12 B8 40 */ fcmpo cr0, f18, f23 +/* 802D1790 002CE6F0 40 80 00 0C */ bge lbl_802D179C +lbl_802D1794: +/* 802D1794 002CE6F4 38 60 00 00 */ li r3, 0 +/* 802D1798 002CE6F8 48 00 03 98 */ b lbl_802D1B30 +lbl_802D179C: +/* 802D179C 002CE6FC EF 1F 00 F2 */ fmuls f24, f31, f3 +/* 802D17A0 002CE700 EE FF 01 B2 */ fmuls f23, f31, f6 +/* 802D17A4 002CE704 EE BE C0 B8 */ fmsubs f21, f30, f2, f24 +/* 802D17A8 002CE708 EE 5E B9 78 */ fmsubs f18, f30, f5, f23 +/* 802D17AC 002CE70C FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D17B0 002CE710 40 80 00 0C */ bge lbl_802D17BC +/* 802D17B4 002CE714 FE E0 A8 90 */ fmr f23, f21 +/* 802D17B8 002CE718 48 00 00 0C */ b lbl_802D17C4 +lbl_802D17BC: +/* 802D17BC 002CE71C FE E0 90 90 */ fmr f23, f18 +/* 802D17C0 002CE720 FE 40 A8 90 */ fmr f18, f21 +lbl_802D17C4: +/* 802D17C4 002CE724 EC 36 00 72 */ fmuls f1, f22, f1 +/* 802D17C8 002CE728 EC 00 0D 3A */ fmadds f0, f0, f20, f1 +/* 802D17CC 002CE72C FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802D17D0 002CE730 41 81 00 10 */ bgt lbl_802D17E0 +/* 802D17D4 002CE734 FC 00 00 50 */ fneg f0, f0 +/* 802D17D8 002CE738 FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D17DC 002CE73C 40 80 00 0C */ bge lbl_802D17E8 +lbl_802D17E0: +/* 802D17E0 002CE740 38 60 00 00 */ li r3, 0 +/* 802D17E4 002CE744 48 00 03 4C */ b lbl_802D1B30 +lbl_802D17E8: +/* 802D17E8 002CE748 EC 3B 01 32 */ fmuls f1, f27, f4 +/* 802D17EC 002CE74C EC 1B 01 F2 */ fmuls f0, f27, f7 +/* 802D17F0 002CE750 FE C0 E2 10 */ fabs f22, f28 +/* 802D17F4 002CE754 FE E0 DA 10 */ fabs f23, f27 +/* 802D17F8 002CE758 FF 00 D2 10 */ fabs f24, f26 +/* 802D17FC 002CE75C EE 9A 08 F8 */ fmsubs f20, f26, f3, f1 +/* 802D1800 002CE760 EE 7A 01 B8 */ fmsubs f19, f26, f6, f0 +/* 802D1804 002CE764 FC 00 B0 18 */ frsp f0, f22 +/* 802D1808 002CE768 FC 20 B8 18 */ frsp f1, f23 +/* 802D180C 002CE76C FC 14 98 40 */ fcmpo cr0, f20, f19 +/* 802D1810 002CE770 FE C0 C0 18 */ frsp f22, f24 +/* 802D1814 002CE774 40 80 00 0C */ bge lbl_802D1820 +/* 802D1818 002CE778 FE A0 A0 90 */ fmr f21, f20 +/* 802D181C 002CE77C 48 00 00 0C */ b lbl_802D1828 +lbl_802D1820: +/* 802D1820 002CE780 FE A0 98 90 */ fmr f21, f19 +/* 802D1824 002CE784 FE 60 A0 90 */ fmr f19, f20 +lbl_802D1828: +/* 802D1828 002CE788 C3 24 00 08 */ lfs f25, 8(r4) +/* 802D182C 002CE78C C3 04 00 04 */ lfs f24, 4(r4) +/* 802D1830 002CE790 EE E1 06 72 */ fmuls f23, f1, f25 +/* 802D1834 002CE794 EE 56 BE 3A */ fmadds f18, f22, f24, f23 +/* 802D1838 002CE798 FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D183C 002CE79C 41 81 00 10 */ bgt lbl_802D184C +/* 802D1840 002CE7A0 FE E0 90 50 */ fneg f23, f18 +/* 802D1844 002CE7A4 FC 13 B8 40 */ fcmpo cr0, f19, f23 +/* 802D1848 002CE7A8 40 80 00 0C */ bge lbl_802D1854 +lbl_802D184C: +/* 802D184C 002CE7AC 38 60 00 00 */ li r3, 0 +/* 802D1850 002CE7B0 48 00 02 E0 */ b lbl_802D1B30 +lbl_802D1854: +/* 802D1854 002CE7B4 FE 80 D0 50 */ fneg f20, f26 +/* 802D1858 002CE7B8 EF 5C 01 32 */ fmuls f26, f28, f4 +/* 802D185C 002CE7BC EE FC 01 F2 */ fmuls f23, f28, f7 +/* 802D1860 002CE7C0 EE B4 D0 BA */ fmadds f21, f20, f2, f26 +/* 802D1864 002CE7C4 EE 74 B9 7A */ fmadds f19, f20, f5, f23 +/* 802D1868 002CE7C8 FC 15 98 40 */ fcmpo cr0, f21, f19 +/* 802D186C 002CE7CC 40 80 00 0C */ bge lbl_802D1878 +/* 802D1870 002CE7D0 FF 40 A8 90 */ fmr f26, f21 +/* 802D1874 002CE7D4 48 00 00 0C */ b lbl_802D1880 +lbl_802D1878: +/* 802D1878 002CE7D8 FF 40 98 90 */ fmr f26, f19 +/* 802D187C 002CE7DC FE 60 A8 90 */ fmr f19, f21 +lbl_802D1880: +/* 802D1880 002CE7E0 EE E0 06 72 */ fmuls f23, f0, f25 +/* 802D1884 002CE7E4 C2 84 00 00 */ lfs f20, 0(r4) +/* 802D1888 002CE7E8 EE 56 BD 3A */ fmadds f18, f22, f20, f23 +/* 802D188C 002CE7EC FC 1A 90 40 */ fcmpo cr0, f26, f18 +/* 802D1890 002CE7F0 41 81 00 10 */ bgt lbl_802D18A0 +/* 802D1894 002CE7F4 FE E0 90 50 */ fneg f23, f18 +/* 802D1898 002CE7F8 FC 13 B8 40 */ fcmpo cr0, f19, f23 +/* 802D189C 002CE7FC 40 80 00 0C */ bge lbl_802D18A8 +lbl_802D18A0: +/* 802D18A0 002CE800 38 60 00 00 */ li r3, 0 +/* 802D18A4 002CE804 48 00 02 8C */ b lbl_802D1B30 +lbl_802D18A8: +/* 802D18A8 002CE808 EE FC 01 B2 */ fmuls f23, f28, f6 +/* 802D18AC 002CE80C EF 5C 02 72 */ fmuls f26, f28, f9 +/* 802D18B0 002CE810 EE 5B B9 78 */ fmsubs f18, f27, f5, f23 +/* 802D18B4 002CE814 EE BB D2 38 */ fmsubs f21, f27, f8, f26 +/* 802D18B8 002CE818 FC 15 90 40 */ fcmpo cr0, f21, f18 +/* 802D18BC 002CE81C 40 80 00 0C */ bge lbl_802D18C8 +/* 802D18C0 002CE820 FE C0 A8 90 */ fmr f22, f21 +/* 802D18C4 002CE824 48 00 00 0C */ b lbl_802D18D0 +lbl_802D18C8: +/* 802D18C8 002CE828 FE C0 90 90 */ fmr f22, f18 +/* 802D18CC 002CE82C FE 40 A8 90 */ fmr f18, f21 +lbl_802D18D0: +/* 802D18D0 002CE830 EC 00 06 32 */ fmuls f0, f0, f24 +/* 802D18D4 002CE834 EC 01 05 3A */ fmadds f0, f1, f20, f0 +/* 802D18D8 002CE838 FC 16 00 40 */ fcmpo cr0, f22, f0 +/* 802D18DC 002CE83C 41 81 00 10 */ bgt lbl_802D18EC +/* 802D18E0 002CE840 FC 00 00 50 */ fneg f0, f0 +/* 802D18E4 002CE844 FC 12 00 40 */ fcmpo cr0, f18, f0 +/* 802D18E8 002CE848 40 80 00 0C */ bge lbl_802D18F4 +lbl_802D18EC: +/* 802D18EC 002CE84C 38 60 00 00 */ li r3, 0 +/* 802D18F0 002CE850 48 00 02 40 */ b lbl_802D1B30 +lbl_802D18F4: +/* 802D18F4 002CE854 FC 20 10 90 */ fmr f1, f2 +/* 802D18F8 002CE858 FC 00 10 90 */ fmr f0, f2 +/* 802D18FC 002CE85C FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1900 002CE860 40 80 00 08 */ bge lbl_802D1908 +/* 802D1904 002CE864 FC 00 28 90 */ fmr f0, f5 +lbl_802D1908: +/* 802D1908 002CE868 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D190C 002CE86C 40 81 00 08 */ ble lbl_802D1914 +/* 802D1910 002CE870 FC 20 28 90 */ fmr f1, f5 +lbl_802D1914: +/* 802D1914 002CE874 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 802D1918 002CE878 40 80 00 08 */ bge lbl_802D1920 +/* 802D191C 002CE87C FC 00 40 90 */ fmr f0, f8 +lbl_802D1920: +/* 802D1920 002CE880 FC 08 08 40 */ fcmpo cr0, f8, f1 +/* 802D1924 002CE884 40 81 00 08 */ ble lbl_802D192C +/* 802D1928 002CE888 FC 20 40 90 */ fmr f1, f8 +lbl_802D192C: +/* 802D192C 002CE88C FC 00 A0 40 */ fcmpo cr0, f0, f20 +/* 802D1930 002CE890 41 81 00 10 */ bgt lbl_802D1940 +/* 802D1934 002CE894 FC 00 A0 50 */ fneg f0, f20 +/* 802D1938 002CE898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D193C 002CE89C 40 80 00 0C */ bge lbl_802D1948 +lbl_802D1940: +/* 802D1940 002CE8A0 38 60 00 00 */ li r3, 0 +/* 802D1944 002CE8A4 48 00 01 EC */ b lbl_802D1B30 +lbl_802D1948: +/* 802D1948 002CE8A8 FC 20 18 90 */ fmr f1, f3 +/* 802D194C 002CE8AC FC 00 18 90 */ fmr f0, f3 +/* 802D1950 002CE8B0 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1954 002CE8B4 40 80 00 08 */ bge lbl_802D195C +/* 802D1958 002CE8B8 FC 00 30 90 */ fmr f0, f6 +lbl_802D195C: +/* 802D195C 002CE8BC FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1960 002CE8C0 40 81 00 08 */ ble lbl_802D1968 +/* 802D1964 002CE8C4 FC 20 30 90 */ fmr f1, f6 +lbl_802D1968: +/* 802D1968 002CE8C8 FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 802D196C 002CE8CC 40 80 00 08 */ bge lbl_802D1974 +/* 802D1970 002CE8D0 FC 00 48 90 */ fmr f0, f9 +lbl_802D1974: +/* 802D1974 002CE8D4 FC 09 08 40 */ fcmpo cr0, f9, f1 +/* 802D1978 002CE8D8 40 81 00 08 */ ble lbl_802D1980 +/* 802D197C 002CE8DC FC 20 48 90 */ fmr f1, f9 +lbl_802D1980: +/* 802D1980 002CE8E0 FC 00 C0 40 */ fcmpo cr0, f0, f24 +/* 802D1984 002CE8E4 41 81 00 10 */ bgt lbl_802D1994 +/* 802D1988 002CE8E8 FC 00 C0 50 */ fneg f0, f24 +/* 802D198C 002CE8EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1990 002CE8F0 40 80 00 0C */ bge lbl_802D199C +lbl_802D1994: +/* 802D1994 002CE8F4 38 60 00 00 */ li r3, 0 +/* 802D1998 002CE8F8 48 00 01 98 */ b lbl_802D1B30 +lbl_802D199C: +/* 802D199C 002CE8FC FC 20 20 90 */ fmr f1, f4 +/* 802D19A0 002CE900 FC 00 20 90 */ fmr f0, f4 +/* 802D19A4 002CE904 FC 07 20 40 */ fcmpo cr0, f7, f4 +/* 802D19A8 002CE908 40 80 00 08 */ bge lbl_802D19B0 +/* 802D19AC 002CE90C FC 00 38 90 */ fmr f0, f7 +lbl_802D19B0: +/* 802D19B0 002CE910 FC 07 20 40 */ fcmpo cr0, f7, f4 +/* 802D19B4 002CE914 40 81 00 08 */ ble lbl_802D19BC +/* 802D19B8 002CE918 FC 20 38 90 */ fmr f1, f7 +lbl_802D19BC: +/* 802D19BC 002CE91C FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802D19C0 002CE920 40 80 00 08 */ bge lbl_802D19C8 +/* 802D19C4 002CE924 FC 00 50 90 */ fmr f0, f10 +lbl_802D19C8: +/* 802D19C8 002CE928 FC 0A 08 40 */ fcmpo cr0, f10, f1 +/* 802D19CC 002CE92C 40 81 00 08 */ ble lbl_802D19D4 +/* 802D19D0 002CE930 FC 20 50 90 */ fmr f1, f10 +lbl_802D19D4: +/* 802D19D4 002CE934 FC 00 C8 40 */ fcmpo cr0, f0, f25 +/* 802D19D8 002CE938 41 81 00 10 */ bgt lbl_802D19E8 +/* 802D19DC 002CE93C FC 00 C8 50 */ fneg f0, f25 +/* 802D19E0 002CE940 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D19E4 002CE944 40 80 00 0C */ bge lbl_802D19F0 +lbl_802D19E8: +/* 802D19E8 002CE948 38 60 00 00 */ li r3, 0 +/* 802D19EC 002CE94C 48 00 01 44 */ b lbl_802D1B30 +lbl_802D19F0: +/* 802D19F0 002CE950 EC 2B 07 72 */ fmuls f1, f11, f29 +/* 802D19F4 002CE954 C0 A2 C4 B8 */ lfs f5, lbl_805AE1D8@sda21(r2) +/* 802D19F8 002CE958 EC CD 07 B2 */ fmuls f6, f13, f30 +/* 802D19FC 002CE95C EC 0C 07 F2 */ fmuls f0, f12, f31 +/* 802D1A00 002CE960 EC ED 0F F8 */ fmsubs f7, f13, f31, f1 +/* 802D1A04 002CE964 ED 0C 37 78 */ fmsubs f8, f12, f29, f6 +/* 802D1A08 002CE968 EC CB 07 B8 */ fmsubs f6, f11, f30, f0 +/* 802D1A0C 002CE96C EC 27 00 F2 */ fmuls f1, f7, f3 +/* 802D1A10 002CE970 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 802D1A14 002CE974 FC 00 40 18 */ frsp f0, f8 +/* 802D1A18 002CE978 D1 01 00 20 */ stfs f8, 0x20(r1) +/* 802D1A1C 002CE97C EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 802D1A20 002CE980 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A24 002CE984 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802D1A28 002CE988 EC E6 09 3E */ fnmadds f7, f6, f4, f1 +/* 802D1A2C 002CE98C 40 81 00 18 */ ble lbl_802D1A44 +/* 802D1A30 002CE990 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1A34 002CE994 FC 00 08 50 */ fneg f0, f1 +/* 802D1A38 002CE998 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D1A3C 002CE99C D0 01 00 08 */ stfs f0, 8(r1) +/* 802D1A40 002CE9A0 48 00 00 14 */ b lbl_802D1A54 +lbl_802D1A44: +/* 802D1A44 002CE9A4 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1A48 002CE9A8 FC 00 08 50 */ fneg f0, f1 +/* 802D1A4C 002CE9AC D0 21 00 08 */ stfs f1, 8(r1) +/* 802D1A50 002CE9B0 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_802D1A54: +/* 802D1A54 002CE9B4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802D1A58 002CE9B8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A5C 002CE9BC 40 81 00 18 */ ble lbl_802D1A74 +/* 802D1A60 002CE9C0 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1A64 002CE9C4 FC 00 08 50 */ fneg f0, f1 +/* 802D1A68 002CE9C8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D1A6C 002CE9CC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802D1A70 002CE9D0 48 00 00 14 */ b lbl_802D1A84 +lbl_802D1A74: +/* 802D1A74 002CE9D4 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D1A78 002CE9D8 FC 00 08 50 */ fneg f0, f1 +/* 802D1A7C 002CE9DC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D1A80 002CE9E0 D0 01 00 18 */ stfs f0, 0x18(r1) +lbl_802D1A84: +/* 802D1A84 002CE9E4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802D1A88 002CE9E8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D1A8C 002CE9EC 40 81 00 18 */ ble lbl_802D1AA4 +/* 802D1A90 002CE9F0 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D1A94 002CE9F4 FC 00 08 50 */ fneg f0, f1 +/* 802D1A98 002CE9F8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D1A9C 002CE9FC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D1AA0 002CEA00 48 00 00 14 */ b lbl_802D1AB4 +lbl_802D1AA4: +/* 802D1AA4 002CEA04 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D1AA8 002CEA08 FC 00 08 50 */ fneg f0, f1 +/* 802D1AAC 002CEA0C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D1AB0 002CEA10 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_802D1AB4: +/* 802D1AB4 002CEA14 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802D1AB8 002CEA18 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D1ABC 002CEA1C C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802D1AC0 002CEA20 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D1AC4 002CEA24 C0 21 00 08 */ lfs f1, 8(r1) +/* 802D1AC8 002CEA28 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 802D1ACC 002CEA2C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802D1AD0 002CEA30 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802D1AD4 002CEA34 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D1AD8 002CEA38 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802D1ADC 002CEA3C EC 07 00 2A */ fadds f0, f7, f0 +/* 802D1AE0 002CEA40 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D1AE4 002CEA44 40 81 00 0C */ ble lbl_802D1AF0 +/* 802D1AE8 002CEA48 38 60 00 00 */ li r3, 0 +/* 802D1AEC 002CEA4C 48 00 00 38 */ b lbl_802D1B24 +lbl_802D1AF0: +/* 802D1AF0 002CEA50 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802D1AF4 002CEA54 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802D1AF8 002CEA58 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D1AFC 002CEA5C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802D1B00 002CEA60 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802D1B04 002CEA64 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802D1B08 002CEA68 EC 07 00 2A */ fadds f0, f7, f0 +/* 802D1B0C 002CEA6C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D1B10 002CEA70 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1B14 002CEA74 40 82 00 0C */ bne lbl_802D1B20 +/* 802D1B18 002CEA78 38 60 00 01 */ li r3, 1 +/* 802D1B1C 002CEA7C 48 00 00 08 */ b lbl_802D1B24 +lbl_802D1B20: +/* 802D1B20 002CEA80 38 60 00 00 */ li r3, 0 +lbl_802D1B24: +/* 802D1B24 002CEA84 7C 03 00 D0 */ neg r0, r3 +/* 802D1B28 002CEA88 7C 00 1B 78 */ or r0, r0, r3 +/* 802D1B2C 002CEA8C 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802D1B30: +/* 802D1B30 002CEA90 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802D1B34 002CEA94 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802D1B38 002CEA98 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802D1B3C 002CEA9C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802D1B40 002CEAA0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802D1B44 002CEAA4 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802D1B48 002CEAA8 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 802D1B4C 002CEAAC CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 802D1B50 002CEAB0 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 802D1B54 002CEAB4 CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 802D1B58 002CEAB8 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 +/* 802D1B5C 002CEABC CB 41 00 B0 */ lfd f26, 0xb0(r1) +/* 802D1B60 002CEAC0 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0 +/* 802D1B64 002CEAC4 CB 21 00 A0 */ lfd f25, 0xa0(r1) +/* 802D1B68 002CEAC8 E3 01 00 98 */ psq_l f24, 152(r1), 0, qr0 +/* 802D1B6C 002CEACC CB 01 00 90 */ lfd f24, 0x90(r1) +/* 802D1B70 002CEAD0 E2 E1 00 88 */ psq_l f23, 136(r1), 0, qr0 +/* 802D1B74 002CEAD4 CA E1 00 80 */ lfd f23, 0x80(r1) +/* 802D1B78 002CEAD8 E2 C1 00 78 */ psq_l f22, 120(r1), 0, qr0 +/* 802D1B7C 002CEADC CA C1 00 70 */ lfd f22, 0x70(r1) +/* 802D1B80 002CEAE0 E2 A1 00 68 */ psq_l f21, 104(r1), 0, qr0 +/* 802D1B84 002CEAE4 CA A1 00 60 */ lfd f21, 0x60(r1) +/* 802D1B88 002CEAE8 E2 81 00 58 */ psq_l f20, 88(r1), 0, qr0 +/* 802D1B8C 002CEAEC CA 81 00 50 */ lfd f20, 0x50(r1) +/* 802D1B90 002CEAF0 E2 61 00 48 */ psq_l f19, 72(r1), 0, qr0 +/* 802D1B94 002CEAF4 CA 61 00 40 */ lfd f19, 0x40(r1) +/* 802D1B98 002CEAF8 E2 41 00 38 */ psq_l f18, 56(r1), 0, qr0 +/* 802D1B9C 002CEAFC CA 41 00 30 */ lfd f18, 0x30(r1) +/* 802D1BA0 002CEB00 38 21 01 10 */ addi r1, r1, 0x110 +/* 802D1BA4 002CEB04 4E 80 00 20 */ blr + +.global BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb +BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb: +/* 802D1BA8 002CEB08 C0 02 C4 CC */ lfs f0, lbl_805AE1EC@sda21(r2) +/* 802D1BAC 002CEB0C 38 00 00 03 */ li r0, 3 +/* 802D1BB0 002CEB10 39 43 00 0C */ addi r10, r3, 0xc +/* 802D1BB4 002CEB14 C0 42 C4 B8 */ lfs f2, lbl_805AE1D8@sda21(r2) +/* 802D1BB8 002CEB18 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D1BBC 002CEB1C 39 60 00 00 */ li r11, 0 +/* 802D1BC0 002CEB20 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) +/* 802D1BC4 002CEB24 D0 07 00 00 */ stfs f0, 0(r7) +/* 802D1BC8 002CEB28 7C 09 03 A6 */ mtctr r0 +lbl_802D1BCC: +/* 802D1BCC 002CEB2C C0 85 00 00 */ lfs f4, 0(r5) +/* 802D1BD0 002CEB30 FC 02 20 00 */ fcmpu cr0, f2, f4 +/* 802D1BD4 002CEB34 40 82 00 28 */ bne lbl_802D1BFC +/* 802D1BD8 002CEB38 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D1BDC 002CEB3C C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1BE0 002CEB40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1BE4 002CEB44 41 80 00 10 */ blt lbl_802D1BF4 +/* 802D1BE8 002CEB48 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802D1BEC 002CEB4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1BF0 002CEB50 40 81 00 90 */ ble lbl_802D1C80 +lbl_802D1BF4: +/* 802D1BF4 002CEB54 38 60 00 00 */ li r3, 0 +/* 802D1BF8 002CEB58 4E 80 00 20 */ blr +lbl_802D1BFC: +/* 802D1BFC 002CEB5C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D1C00 002CEB60 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 802D1C04 002CEB64 EC A0 20 24 */ fdivs f5, f0, f4 +/* 802D1C08 002CEB68 40 80 00 24 */ bge lbl_802D1C2C +/* 802D1C0C 002CEB6C C0 2A 00 00 */ lfs f1, 0(r10) +/* 802D1C10 002CEB70 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1C14 002CEB74 C0 03 00 00 */ lfs f0, 0(r3) +/* 802D1C18 002CEB78 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D1C1C 002CEB7C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1C20 002CEB80 EC 25 00 72 */ fmuls f1, f5, f1 +/* 802D1C24 002CEB84 EC 65 00 32 */ fmuls f3, f5, f0 +/* 802D1C28 002CEB88 48 00 00 20 */ b lbl_802D1C48 +lbl_802D1C2C: +/* 802D1C2C 002CEB8C C0 23 00 00 */ lfs f1, 0(r3) +/* 802D1C30 002CEB90 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1C34 002CEB94 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802D1C38 002CEB98 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802D1C3C 002CEB9C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D1C40 002CEBA0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 802D1C44 002CEBA4 EC 65 00 32 */ fmuls f3, f5, f0 +lbl_802D1C48: +/* 802D1C48 002CEBA8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D1C4C 002CEBAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1C50 002CEBB0 40 81 00 20 */ ble lbl_802D1C70 +/* 802D1C54 002CEBB4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1C58 002CEBB8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1C5C 002CEBBC 7C 00 00 26 */ mfcr r0 +/* 802D1C60 002CEBC0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802D1C64 002CEBC4 98 09 00 00 */ stb r0, 0(r9) +/* 802D1C68 002CEBC8 91 68 00 00 */ stw r11, 0(r8) +/* 802D1C6C 002CEBCC D0 26 00 00 */ stfs f1, 0(r6) +lbl_802D1C70: +/* 802D1C70 002CEBD0 C0 07 00 00 */ lfs f0, 0(r7) +/* 802D1C74 002CEBD4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1C78 002CEBD8 40 80 00 08 */ bge lbl_802D1C80 +/* 802D1C7C 002CEBDC D0 67 00 00 */ stfs f3, 0(r7) +lbl_802D1C80: +/* 802D1C80 002CEBE0 38 A5 00 04 */ addi r5, r5, 4 +/* 802D1C84 002CEBE4 38 84 00 04 */ addi r4, r4, 4 +/* 802D1C88 002CEBE8 38 63 00 04 */ addi r3, r3, 4 +/* 802D1C8C 002CEBEC 39 4A 00 04 */ addi r10, r10, 4 +/* 802D1C90 002CEBF0 39 6B 00 01 */ addi r11, r11, 1 +/* 802D1C94 002CEBF4 42 00 FF 38 */ bdnz lbl_802D1BCC +/* 802D1C98 002CEBF8 C0 26 00 00 */ lfs f1, 0(r6) +/* 802D1C9C 002CEBFC C0 07 00 00 */ lfs f0, 0(r7) +/* 802D1CA0 002CEC00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1CA4 002CEC04 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1CA8 002CEC08 7C 00 00 26 */ mfcr r0 +/* 802D1CAC 002CEC0C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802D1CB0 002CEC10 4E 80 00 20 */ blr + +.global AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f +AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: +/* 802D1CB4 002CEC14 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802D1CB8 002CEC18 7C 08 02 A6 */ mflr r0 +/* 802D1CBC 002CEC1C C8 22 C4 D8 */ lfd f1, lbl_805AE1F8@sda21(r2) +/* 802D1CC0 002CEC20 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D1CC4 002CEC24 FC 40 08 90 */ fmr f2, f1 +/* 802D1CC8 002CEC28 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802D1CCC 002CEC2C 7C 7A 1B 78 */ mr r26, r3 +/* 802D1CD0 002CEC30 FC 60 08 90 */ fmr f3, f1 +/* 802D1CD4 002CEC34 7C 9B 23 78 */ mr r27, r4 +/* 802D1CD8 002CEC38 7C BC 2B 78 */ mr r28, r5 +/* 802D1CDC 002CEC3C 7C DD 33 78 */ mr r29, r6 +/* 802D1CE0 002CEC40 7C FE 3B 78 */ mr r30, r7 +/* 802D1CE4 002CEC44 7D 1F 43 78 */ mr r31, r8 +/* 802D1CE8 002CEC48 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D1CEC 002CEC4C 48 04 28 B5 */ bl __ct__9CVector3dFddd +/* 802D1CF0 002CEC50 C8 22 C4 E0 */ lfd f1, lbl_805AE200@sda21(r2) +/* 802D1CF4 002CEC54 38 61 00 08 */ addi r3, r1, 8 +/* 802D1CF8 002CEC58 FC 40 08 90 */ fmr f2, f1 +/* 802D1CFC 002CEC5C FC 60 08 90 */ fmr f3, f1 +/* 802D1D00 002CEC60 48 04 28 A1 */ bl __ct__9CVector3dFddd +/* 802D1D04 002CEC64 38 00 00 03 */ li r0, 3 +/* 802D1D08 002CEC68 7F 84 E3 78 */ mr r4, r28 +/* 802D1D0C 002CEC6C 7F 65 DB 78 */ mr r5, r27 +/* 802D1D10 002CEC70 7F 46 D3 78 */ mr r6, r26 +/* 802D1D14 002CEC74 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D1D18 002CEC78 39 21 00 08 */ addi r9, r1, 8 +/* 802D1D1C 002CEC7C C0 22 C4 C8 */ lfs f1, lbl_805AE1E8@sda21(r2) +/* 802D1D20 002CEC80 38 E0 00 00 */ li r7, 0 +/* 802D1D24 002CEC84 7C 09 03 A6 */ mtctr r0 +lbl_802D1D28: +/* 802D1D28 002CEC88 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D1D2C 002CEC8C FC 00 12 10 */ fabs f0, f2 +/* 802D1D30 002CEC90 FC 00 00 18 */ frsp f0, f0 +/* 802D1D34 002CEC94 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802D1D38 002CEC98 40 80 00 74 */ bge lbl_802D1DAC +/* 802D1D3C 002CEC9C C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1D40 002CECA0 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1D44 002CECA4 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D1D48 002CECA8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1D4C 002CECAC 40 82 00 18 */ bne lbl_802D1D64 +/* 802D1D50 002CECB0 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D54 002CECB4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D58 002CECB8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1D5C 002CECBC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1D60 002CECC0 41 82 01 AC */ beq lbl_802D1F0C +lbl_802D1D64: +/* 802D1D64 002CECC4 7C 7A 3A 14 */ add r3, r26, r7 +/* 802D1D68 002CECC8 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802D1D6C 002CECCC FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802D1D70 002CECD0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D1D74 002CECD4 40 82 00 18 */ bne lbl_802D1D8C +/* 802D1D78 002CECD8 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D7C 002CECDC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D80 002CECE0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1D84 002CECE4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D1D88 002CECE8 41 82 01 84 */ beq lbl_802D1F0C +lbl_802D1D8C: +/* 802D1D8C 002CECEC FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D1D90 002CECF0 40 80 00 14 */ bge lbl_802D1DA4 +/* 802D1D94 002CECF4 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1D98 002CECF8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802D1D9C 002CECFC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1DA0 002CED00 41 81 01 6C */ bgt lbl_802D1F0C +lbl_802D1DA4: +/* 802D1DA4 002CED04 38 60 00 00 */ li r3, 0 +/* 802D1DA8 002CED08 48 00 02 F8 */ b lbl_802D20A0 +lbl_802D1DAC: +/* 802D1DAC 002CED0C 7D 5A 3A 14 */ add r10, r26, r7 +/* 802D1DB0 002CED10 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1DB4 002CED14 C0 AA 00 0C */ lfs f5, 0xc(r10) +/* 802D1DB8 002CED18 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 802D1DBC 002CED1C 40 80 00 20 */ bge lbl_802D1DDC +/* 802D1DC0 002CED20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1DC4 002CED24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1DC8 002CED28 40 81 00 14 */ ble lbl_802D1DDC +/* 802D1DCC 002CED2C EC 03 28 28 */ fsubs f0, f3, f5 +/* 802D1DD0 002CED30 EC 00 10 24 */ fdivs f0, f0, f2 +/* 802D1DD4 002CED34 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1DD8 002CED38 48 00 00 84 */ b lbl_802D1E5C +lbl_802D1DDC: +/* 802D1DDC 002CED3C 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1DE0 002CED40 C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1DE4 002CED44 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 802D1DE8 002CED48 FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 802D1DEC 002CED4C 40 80 00 24 */ bge lbl_802D1E10 +/* 802D1DF0 002CED50 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1DF4 002CED54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1DF8 002CED58 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1DFC 002CED5C 40 80 00 14 */ bge lbl_802D1E10 +/* 802D1E00 002CED60 EC 06 10 28 */ fsubs f0, f6, f2 +/* 802D1E04 002CED64 EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1E08 002CED68 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1E0C 002CED6C 48 00 00 50 */ b lbl_802D1E5C +lbl_802D1E10: +/* 802D1E10 002CED70 FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 802D1E14 002CED74 40 81 00 24 */ ble lbl_802D1E38 +/* 802D1E18 002CED78 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1E1C 002CED7C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E20 002CED80 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1E24 002CED84 40 80 00 14 */ bge lbl_802D1E38 +/* 802D1E28 002CED88 EC 06 10 28 */ fsubs f0, f6, f2 +/* 802D1E2C 002CED8C EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1E30 002CED90 D8 08 00 00 */ stfd f0, 0(r8) +/* 802D1E34 002CED94 48 00 00 28 */ b lbl_802D1E5C +lbl_802D1E38: +/* 802D1E38 002CED98 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 802D1E3C 002CED9C 40 81 00 20 */ ble lbl_802D1E5C +/* 802D1E40 002CEDA0 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D1E44 002CEDA4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E48 002CEDA8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D1E4C 002CEDAC 40 81 00 10 */ ble lbl_802D1E5C +/* 802D1E50 002CEDB0 EC 03 28 28 */ fsubs f0, f3, f5 +/* 802D1E54 002CEDB4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 802D1E58 002CEDB8 D8 08 00 00 */ stfd f0, 0(r8) +lbl_802D1E5C: +/* 802D1E5C 002CEDBC 7C 7B 3A 14 */ add r3, r27, r7 +/* 802D1E60 002CEDC0 C0 46 00 00 */ lfs f2, 0(r6) +/* 802D1E64 002CEDC4 C0 A3 00 0C */ lfs f5, 0xc(r3) +/* 802D1E68 002CEDC8 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1E6C 002CEDCC 40 81 00 24 */ ble lbl_802D1E90 +/* 802D1E70 002CEDD0 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1E74 002CEDD4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1E78 002CEDD8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1E7C 002CEDDC 40 81 00 14 */ ble lbl_802D1E90 +/* 802D1E80 002CEDE0 EC 05 10 28 */ fsubs f0, f5, f2 +/* 802D1E84 002CEDE4 EC 00 18 24 */ fdivs f0, f0, f3 +/* 802D1E88 002CEDE8 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1E8C 002CEDEC 48 00 00 80 */ b lbl_802D1F0C +lbl_802D1E90: +/* 802D1E90 002CEDF0 C0 CA 00 0C */ lfs f6, 0xc(r10) +/* 802D1E94 002CEDF4 C0 65 00 00 */ lfs f3, 0(r5) +/* 802D1E98 002CEDF8 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1E9C 002CEDFC 40 81 00 24 */ ble lbl_802D1EC0 +/* 802D1EA0 002CEE00 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1EA4 002CEE04 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1EA8 002CEE08 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1EAC 002CEE0C 40 80 00 14 */ bge lbl_802D1EC0 +/* 802D1EB0 002CEE10 EC 03 30 28 */ fsubs f0, f3, f6 +/* 802D1EB4 002CEE14 EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1EB8 002CEE18 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1EBC 002CEE1C 48 00 00 50 */ b lbl_802D1F0C +lbl_802D1EC0: +/* 802D1EC0 002CEE20 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D1EC4 002CEE24 40 80 00 24 */ bge lbl_802D1EE8 +/* 802D1EC8 002CEE28 C0 84 00 00 */ lfs f4, 0(r4) +/* 802D1ECC 002CEE2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1ED0 002CEE30 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D1ED4 002CEE34 40 80 00 14 */ bge lbl_802D1EE8 +/* 802D1ED8 002CEE38 EC 03 30 28 */ fsubs f0, f3, f6 +/* 802D1EDC 002CEE3C EC 00 20 24 */ fdivs f0, f0, f4 +/* 802D1EE0 002CEE40 D8 09 00 00 */ stfd f0, 0(r9) +/* 802D1EE4 002CEE44 48 00 00 28 */ b lbl_802D1F0C +lbl_802D1EE8: +/* 802D1EE8 002CEE48 FC 05 10 40 */ fcmpo cr0, f5, f2 +/* 802D1EEC 002CEE4C 40 80 00 20 */ bge lbl_802D1F0C +/* 802D1EF0 002CEE50 C0 64 00 00 */ lfs f3, 0(r4) +/* 802D1EF4 002CEE54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1EF8 002CEE58 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D1EFC 002CEE5C 40 81 00 10 */ ble lbl_802D1F0C +/* 802D1F00 002CEE60 EC 05 10 28 */ fsubs f0, f5, f2 +/* 802D1F04 002CEE64 EC 00 18 24 */ fdivs f0, f0, f3 +/* 802D1F08 002CEE68 D8 09 00 00 */ stfd f0, 0(r9) +lbl_802D1F0C: +/* 802D1F0C 002CEE6C 38 84 00 04 */ addi r4, r4, 4 +/* 802D1F10 002CEE70 38 A5 00 04 */ addi r5, r5, 4 +/* 802D1F14 002CEE74 38 C6 00 04 */ addi r6, r6, 4 +/* 802D1F18 002CEE78 38 E7 00 04 */ addi r7, r7, 4 +/* 802D1F1C 002CEE7C 39 08 00 08 */ addi r8, r8, 8 +/* 802D1F20 002CEE80 39 29 00 08 */ addi r9, r9, 8 +/* 802D1F24 002CEE84 42 00 FE 04 */ bdnz lbl_802D1D28 +/* 802D1F28 002CEE88 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802D1F2C 002CEE8C 38 A0 00 00 */ li r5, 0 +/* 802D1F30 002CEE90 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802D1F34 002CEE94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F38 002CEE98 40 81 00 08 */ ble lbl_802D1F40 +/* 802D1F3C 002CEE9C 38 A0 00 01 */ li r5, 1 +lbl_802D1F40: +/* 802D1F40 002CEEA0 54 A0 18 38 */ slwi r0, r5, 3 +/* 802D1F44 002CEEA4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D1F48 002CEEA8 C8 21 00 30 */ lfd f1, 0x30(r1) +/* 802D1F4C 002CEEAC 7C 03 04 AE */ lfdx f0, r3, r0 +/* 802D1F50 002CEEB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F54 002CEEB4 40 81 00 08 */ ble lbl_802D1F5C +/* 802D1F58 002CEEB8 38 A0 00 02 */ li r5, 2 +lbl_802D1F5C: +/* 802D1F5C 002CEEBC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802D1F60 002CEEC0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D1F64 002CEEC4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802D1F68 002CEEC8 38 01 00 10 */ addi r0, r1, 0x10 +/* 802D1F6C 002CEECC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F70 002CEED0 40 80 00 08 */ bge lbl_802D1F78 +/* 802D1F74 002CEED4 48 00 00 08 */ b lbl_802D1F7C +lbl_802D1F78: +/* 802D1F78 002CEED8 7C 03 03 78 */ mr r3, r0 +lbl_802D1F7C: +/* 802D1F7C 002CEEDC C8 23 00 00 */ lfd f1, 0(r3) +/* 802D1F80 002CEEE0 C8 01 00 08 */ lfd f0, 8(r1) +/* 802D1F84 002CEEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1F88 002CEEE8 40 80 00 08 */ bge lbl_802D1F90 +/* 802D1F8C 002CEEEC 48 00 00 08 */ b lbl_802D1F94 +lbl_802D1F90: +/* 802D1F90 002CEEF0 38 61 00 08 */ addi r3, r1, 8 +lbl_802D1F94: +/* 802D1F94 002CEEF4 54 A0 18 38 */ slwi r0, r5, 3 +/* 802D1F98 002CEEF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D1F9C 002CEEFC 7C 24 04 AE */ lfdx f1, r4, r0 +/* 802D1FA0 002CEF00 C8 03 00 00 */ lfd f0, 0(r3) +/* 802D1FA4 002CEF04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1FA8 002CEF08 40 81 00 0C */ ble lbl_802D1FB4 +/* 802D1FAC 002CEF0C 38 60 00 00 */ li r3, 0 +/* 802D1FB0 002CEF10 48 00 00 F0 */ b lbl_802D20A0 +lbl_802D1FB4: +/* 802D1FB4 002CEF14 D8 3D 00 00 */ stfd f1, 0(r29) +/* 802D1FB8 002CEF18 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D1FBC 002CEF1C 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D1FC0 002CEF20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1FC4 002CEF24 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 802D1FC8 002CEF28 D0 3F 00 00 */ stfs f1, 0(r31) +/* 802D1FCC 002CEF2C C0 23 00 04 */ lfs f1, 4(r3) +/* 802D1FD0 002CEF30 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D1FD4 002CEF34 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D1FD8 002CEF38 D0 3F 00 08 */ stfs f1, 8(r31) +/* 802D1FDC 002CEF3C 7C 3C 04 2E */ lfsx f1, r28, r0 +/* 802D1FE0 002CEF40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D1FE4 002CEF44 40 81 00 0C */ ble lbl_802D1FF0 +/* 802D1FE8 002CEF48 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D1FEC 002CEF4C 48 00 00 08 */ b lbl_802D1FF4 +lbl_802D1FF0: +/* 802D1FF0 002CEF50 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D1FF4: +/* 802D1FF4 002CEF54 7C 1F 05 2E */ stfsx f0, r31, r0 +/* 802D1FF8 002CEF58 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D1FFC 002CEF5C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D2000 002CEF60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2004 002CEF64 40 81 00 0C */ ble lbl_802D2010 +/* 802D2008 002CEF68 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802D200C 002CEF6C 48 00 00 08 */ b lbl_802D2014 +lbl_802D2010: +/* 802D2010 002CEF70 C0 1A 00 00 */ lfs f0, 0(r26) +lbl_802D2014: +/* 802D2014 002CEF74 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D2018 002CEF78 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D201C 002CEF7C C0 3C 00 04 */ lfs f1, 4(r28) +/* 802D2020 002CEF80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2024 002CEF84 40 81 00 0C */ ble lbl_802D2030 +/* 802D2028 002CEF88 C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 802D202C 002CEF8C 48 00 00 08 */ b lbl_802D2034 +lbl_802D2030: +/* 802D2030 002CEF90 C0 1A 00 04 */ lfs f0, 4(r26) +lbl_802D2034: +/* 802D2034 002CEF94 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D2038 002CEF98 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D203C 002CEF9C C0 3C 00 08 */ lfs f1, 8(r28) +/* 802D2040 002CEFA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2044 002CEFA4 40 81 00 0C */ ble lbl_802D2050 +/* 802D2048 002CEFA8 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 802D204C 002CEFAC 48 00 00 08 */ b lbl_802D2054 +lbl_802D2050: +/* 802D2050 002CEFB0 C0 1A 00 08 */ lfs f0, 8(r26) +lbl_802D2054: +/* 802D2054 002CEFB4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D2058 002CEFB8 38 60 00 01 */ li r3, 1 +/* 802D205C 002CEFBC C8 9D 00 00 */ lfd f4, 0(r29) +/* 802D2060 002CEFC0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802D2064 002CEFC4 FC 80 20 18 */ frsp f4, f4 +/* 802D2068 002CEFC8 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D206C 002CEFCC C0 5C 00 08 */ lfs f2, 8(r28) +/* 802D2070 002CEFD0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802D2074 002CEFD4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802D2078 002CEFD8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802D207C 002CEFDC EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802D2080 002CEFE0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D2084 002CEFE4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D2088 002CEFE8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D208C 002CEFEC EC 00 18 2A */ fadds f0, f0, f3 +/* 802D2090 002CEFF0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D2094 002CEFF4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802D2098 002CEFF8 EC 00 10 2A */ fadds f0, f0, f2 +/* 802D209C 002CEFFC D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802D20A0: +/* 802D20A0 002CF000 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802D20A4 002CF004 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802D20A8 002CF008 7C 08 03 A6 */ mtlr r0 +/* 802D20AC 002CF00C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802D20B0 002CF010 4E 80 00 20 */ blr + +.global AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList +AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D20B4 002CF014 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802D20B8 002CF018 7C 08 02 A6 */ mflr r0 +/* 802D20BC 002CF01C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D20C0 002CF020 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802D20C4 002CF024 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802D20C8 002CF028 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802D20CC 002CF02C 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 802D20D0 002CF030 7C 7D 1B 78 */ mr r29, r3 +/* 802D20D4 002CF034 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 802D20D8 002CF038 7C 9C 23 78 */ mr r28, r4 +/* 802D20DC 002CF03C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802D20E0 002CF040 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D20E4 002CF044 2C 1F 00 01 */ cmpwi r31, 1 +/* 802D20E8 002CF048 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802D20EC 002CF04C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D20F0 002CF050 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D20F4 002CF054 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802D20F8 002CF058 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D20FC 002CF05C 40 81 02 00 */ ble lbl_802D22FC +/* 802D2100 002CF060 2C 1F 00 00 */ cmpwi r31, 0 +/* 802D2104 002CF064 7F E3 FB 78 */ mr r3, r31 +/* 802D2108 002CF068 38 9D 00 04 */ addi r4, r29, 4 +/* 802D210C 002CF06C 40 81 01 4C */ ble lbl_802D2258 +/* 802D2110 002CF070 57 E0 F8 7F */ rlwinm. r0, r31, 0x1f, 1, 0x1f +/* 802D2114 002CF074 7C 09 03 A6 */ mtctr r0 +/* 802D2118 002CF078 41 82 00 D4 */ beq lbl_802D21EC +lbl_802D211C: +/* 802D211C 002CF07C C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D2120 002CF080 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D2124 002CF084 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D2128 002CF088 ED 44 10 2A */ fadds f10, f4, f2 +/* 802D212C 002CF08C C0 24 00 04 */ lfs f1, 4(r4) +/* 802D2130 002CF090 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802D2134 002CF094 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D2138 002CF098 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D213C 002CF09C C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 802D2140 002CF0A0 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D2144 002CF0A4 C0 24 00 48 */ lfs f1, 0x48(r4) +/* 802D2148 002CF0A8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D214C 002CF0AC EC C7 08 2A */ fadds f6, f7, f1 +/* 802D2150 002CF0B0 C0 84 00 4C */ lfs f4, 0x4c(r4) +/* 802D2154 002CF0B4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D2158 002CF0B8 EC 65 20 2A */ fadds f3, f5, f4 +/* 802D215C 002CF0BC C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802D2160 002CF0C0 FC 80 50 18 */ frsp f4, f10 +/* 802D2164 002CF0C4 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D2168 002CF0C8 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802D216C 002CF0CC D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D2170 002CF0D0 ED 44 10 2A */ fadds f10, f4, f2 +/* 802D2174 002CF0D4 C0 24 00 64 */ lfs f1, 0x64(r4) +/* 802D2178 002CF0D8 FC A0 48 18 */ frsp f5, f9 +/* 802D217C 002CF0DC D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D2180 002CF0E0 FC 80 40 18 */ frsp f4, f8 +/* 802D2184 002CF0E4 FC E0 30 18 */ frsp f7, f6 +/* 802D2188 002CF0E8 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D218C 002CF0EC C0 44 00 68 */ lfs f2, 0x68(r4) +/* 802D2190 002CF0F0 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D2194 002CF0F4 FC A0 18 18 */ frsp f5, f3 +/* 802D2198 002CF0F8 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D219C 002CF0FC C0 24 00 A8 */ lfs f1, 0xa8(r4) +/* 802D21A0 002CF100 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D21A4 002CF104 FC 40 00 18 */ frsp f2, f0 +/* 802D21A8 002CF108 EC C7 08 2A */ fadds f6, f7, f1 +/* 802D21AC 002CF10C C0 84 00 AC */ lfs f4, 0xac(r4) +/* 802D21B0 002CF110 C0 24 00 B0 */ lfs f1, 0xb0(r4) +/* 802D21B4 002CF114 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 802D21B8 002CF118 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D21BC 002CF11C EC 65 20 2A */ fadds f3, f5, f4 +/* 802D21C0 002CF120 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D21C4 002CF124 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D21C8 002CF128 D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D21CC 002CF12C D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D21D0 002CF130 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D21D4 002CF134 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D21D8 002CF138 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D21DC 002CF13C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D21E0 002CF140 42 00 FF 3C */ bdnz lbl_802D211C +/* 802D21E4 002CF144 70 63 00 01 */ andi. r3, r3, 1 +/* 802D21E8 002CF148 41 82 00 70 */ beq lbl_802D2258 +lbl_802D21EC: +/* 802D21EC 002CF14C 7C 69 03 A6 */ mtctr r3 +lbl_802D21F0: +/* 802D21F0 002CF150 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D21F4 002CF154 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D21F8 002CF158 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D21FC 002CF15C ED 44 10 2A */ fadds f10, f4, f2 +/* 802D2200 002CF160 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D2204 002CF164 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802D2208 002CF168 ED 25 08 2A */ fadds f9, f5, f1 +/* 802D220C 002CF16C C0 44 00 08 */ lfs f2, 8(r4) +/* 802D2210 002CF170 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 802D2214 002CF174 ED 04 10 2A */ fadds f8, f4, f2 +/* 802D2218 002CF178 C0 24 00 48 */ lfs f1, 0x48(r4) +/* 802D221C 002CF17C C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802D2220 002CF180 EC C7 08 2A */ fadds f6, f7, f1 +/* 802D2224 002CF184 C0 84 00 4C */ lfs f4, 0x4c(r4) +/* 802D2228 002CF188 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802D222C 002CF18C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802D2230 002CF190 EC 65 20 2A */ fadds f3, f5, f4 +/* 802D2234 002CF194 D1 41 00 14 */ stfs f10, 0x14(r1) +/* 802D2238 002CF198 EC 02 08 2A */ fadds f0, f2, f1 +/* 802D223C 002CF19C 38 84 00 60 */ addi r4, r4, 0x60 +/* 802D2240 002CF1A0 D1 21 00 18 */ stfs f9, 0x18(r1) +/* 802D2244 002CF1A4 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 802D2248 002CF1A8 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D224C 002CF1AC D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802D2250 002CF1B0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D2254 002CF1B4 42 00 FF 9C */ bdnz lbl_802D21F0 +lbl_802D2258: +/* 802D2258 002CF1B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D225C 002CF1BC 48 04 24 9D */ bl CanBeNormalized__9CVector3fCFv +/* 802D2260 002CF1C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D2264 002CF1C4 41 82 00 98 */ beq lbl_802D22FC +/* 802D2268 002CF1C8 38 61 00 08 */ addi r3, r1, 8 +/* 802D226C 002CF1CC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D2270 002CF1D0 48 04 25 E1 */ bl AsNormalized__9CVector3fCFv +/* 802D2274 002CF1D4 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 802D2278 002CF1D8 3C 00 43 30 */ lis r0, 0x4330 +/* 802D227C 002CF1DC 90 61 00 94 */ stw r3, 0x94(r1) +/* 802D2280 002CF1E0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D2284 002CF1E4 C0 C1 00 08 */ lfs f6, 8(r1) +/* 802D2288 002CF1E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D228C 002CF1EC 90 01 00 90 */ stw r0, 0x90(r1) +/* 802D2290 002CF1F0 38 BD 00 44 */ addi r5, r29, 0x44 +/* 802D2294 002CF1F4 C8 22 C4 E8 */ lfd f1, lbl_805AE208@sda21(r2) +/* 802D2298 002CF1F8 38 DD 00 3C */ addi r6, r29, 0x3c +/* 802D229C 002CF1FC C8 01 00 90 */ lfd f0, 0x90(r1) +/* 802D22A0 002CF200 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802D22A4 002CF204 C0 62 C4 BC */ lfs f3, lbl_805AE1DC@sda21(r2) +/* 802D22A8 002CF208 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802D22AC 002CF20C C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 802D22B0 002CF210 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802D22B4 002CF214 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802D22B8 002CF218 EC 63 00 24 */ fdivs f3, f3, f0 +/* 802D22BC 002CF21C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D22C0 002CF220 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802D22C4 002CF224 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 802D22C8 002CF228 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 802D22CC 002CF22C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802D22D0 002CF230 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 802D22D4 002CF234 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 802D22D8 002CF238 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802D22DC 002CF23C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D22E0 002CF240 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D22E4 002CF244 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D22E8 002CF248 4B FF C1 61 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802D22EC 002CF24C 7C 64 1B 78 */ mr r4, r3 +/* 802D22F0 002CF250 7F 83 E3 78 */ mr r3, r28 +/* 802D22F4 002CF254 38 A0 00 00 */ li r5, 0 +/* 802D22F8 002CF258 4B EB 33 29 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D22FC: +/* 802D22FC 002CF25C 3B DD 00 04 */ addi r30, r29, 4 +/* 802D2300 002CF260 3B A0 00 00 */ li r29, 0 +/* 802D2304 002CF264 48 00 00 1C */ b lbl_802D2320 +lbl_802D2308: +/* 802D2308 002CF268 7F 83 E3 78 */ mr r3, r28 +/* 802D230C 002CF26C 7F C4 F3 78 */ mr r4, r30 +/* 802D2310 002CF270 38 A0 00 00 */ li r5, 0 +/* 802D2314 002CF274 4B EB 33 0D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2318 002CF278 3B DE 00 60 */ addi r30, r30, 0x60 +/* 802D231C 002CF27C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802D2320: +/* 802D2320 002CF280 7C 1D F8 00 */ cmpw r29, r31 +/* 802D2324 002CF284 41 80 FF E4 */ blt lbl_802D2308 +/* 802D2328 002CF288 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802D232C 002CF28C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802D2330 002CF290 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802D2334 002CF294 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 802D2338 002CF298 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 802D233C 002CF29C 7C 08 03 A6 */ mtlr r0 +/* 802D2340 002CF2A0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802D2344 002CF2A4 4E 80 00 20 */ blr + +.global FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList +FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D2348 002CF2A8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802D234C 002CF2AC 7C 08 02 A6 */ mflr r0 +/* 802D2350 002CF2B0 90 01 00 74 */ stw r0, 0x74(r1) +/* 802D2354 002CF2B4 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802D2358 002CF2B8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802D235C 002CF2BC DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802D2360 002CF2C0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802D2364 002CF2C4 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802D2368 002CF2C8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802D236C 002CF2CC DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802D2370 002CF2D0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802D2374 002CF2D4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D2378 002CF2D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D237C 002CF2DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D2380 002CF2E0 93 81 00 20 */ stw r28, 0x20(r1) +/* 802D2384 002CF2E4 7C 7E 1B 78 */ mr r30, r3 +/* 802D2388 002CF2E8 7C 9C 23 78 */ mr r28, r4 +/* 802D238C 002CF2EC 7C BD 2B 78 */ mr r29, r5 +/* 802D2390 002CF2F0 48 04 23 69 */ bl CanBeNormalized__9CVector3fCFv +/* 802D2394 002CF2F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802D2398 002CF2F8 41 82 00 74 */ beq lbl_802D240C +/* 802D239C 002CF2FC 7F C4 F3 78 */ mr r4, r30 +/* 802D23A0 002CF300 38 61 00 08 */ addi r3, r1, 8 +/* 802D23A4 002CF304 48 04 24 AD */ bl AsNormalized__9CVector3fCFv +/* 802D23A8 002CF308 C3 C1 00 08 */ lfs f30, 8(r1) +/* 802D23AC 002CF30C 3B FC 00 04 */ addi r31, r28, 4 +/* 802D23B0 002CF310 C3 A1 00 0C */ lfs f29, 0xc(r1) +/* 802D23B4 002CF314 3B C0 00 00 */ li r30, 0 +/* 802D23B8 002CF318 C3 81 00 10 */ lfs f28, 0x10(r1) +/* 802D23BC 002CF31C C3 E2 C4 F0 */ lfs f31, lbl_805AE210@sda21(r2) +/* 802D23C0 002CF320 48 00 00 3C */ b lbl_802D23FC +lbl_802D23C4: +/* 802D23C4 002CF324 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 802D23C8 002CF328 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802D23CC 002CF32C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 802D23D0 002CF330 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802D23D4 002CF334 EC 1E 00 7A */ fmadds f0, f30, f1, f0 +/* 802D23D8 002CF338 EC 1C 00 BA */ fmadds f0, f28, f2, f0 +/* 802D23DC 002CF33C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802D23E0 002CF340 40 80 00 14 */ bge lbl_802D23F4 +/* 802D23E4 002CF344 7F A3 EB 78 */ mr r3, r29 +/* 802D23E8 002CF348 7F E4 FB 78 */ mr r4, r31 +/* 802D23EC 002CF34C 38 A0 00 00 */ li r5, 0 +/* 802D23F0 002CF350 4B EB 32 31 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D23F4: +/* 802D23F4 002CF354 3B FF 00 60 */ addi r31, r31, 0x60 +/* 802D23F8 002CF358 3B DE 00 01 */ addi r30, r30, 1 +lbl_802D23FC: +/* 802D23FC 002CF35C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802D2400 002CF360 7C 1E 00 00 */ cmpw r30, r0 +/* 802D2404 002CF364 41 80 FF C0 */ blt lbl_802D23C4 +/* 802D2408 002CF368 48 00 00 10 */ b lbl_802D2418 +lbl_802D240C: +/* 802D240C 002CF36C 7F A3 EB 78 */ mr r3, r29 +/* 802D2410 002CF370 7F 84 E3 78 */ mr r4, r28 +/* 802D2414 002CF374 4B E1 EF 15 */ bl __as__18CCollisionInfoListFRC18CCollisionInfoList +lbl_802D2418: +/* 802D2418 002CF378 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802D241C 002CF37C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802D2420 002CF380 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802D2424 002CF384 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802D2428 002CF388 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802D242C 002CF38C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802D2430 002CF390 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802D2434 002CF394 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802D2438 002CF398 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D243C 002CF39C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D2440 002CF3A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D2444 002CF3A4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802D2448 002CF3A8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802D244C 002CF3AC 7C 08 03 A6 */ mtlr r0 +/* 802D2450 002CF3B0 38 21 00 70 */ addi r1, r1, 0x70 +/* 802D2454 002CF3B4 4E 80 00 20 */ blr + +.global FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList +FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: +/* 802D2458 002CF3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802D245C 002CF3BC 7C 08 02 A6 */ mflr r0 +/* 802D2460 002CF3C0 38 C4 00 04 */ addi r6, r4, 4 +/* 802D2464 002CF3C4 C0 A2 C4 F4 */ lfs f5, lbl_805AE214@sda21(r2) +/* 802D2468 002CF3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802D246C 002CF3CC 39 00 FF FF */ li r8, -1 +/* 802D2470 002CF3D0 38 E0 00 00 */ li r7, 0 +/* 802D2474 002CF3D4 80 04 00 00 */ lwz r0, 0(r4) +/* 802D2478 002CF3D8 7C 09 03 A6 */ mtctr r0 +/* 802D247C 002CF3DC 2C 00 00 00 */ cmpwi r0, 0 +/* 802D2480 002CF3E0 40 81 00 44 */ ble lbl_802D24C4 +lbl_802D2484: +/* 802D2484 002CF3E4 C0 26 00 4C */ lfs f1, 0x4c(r6) +/* 802D2488 002CF3E8 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D248C 002CF3EC C0 46 00 48 */ lfs f2, 0x48(r6) +/* 802D2490 002CF3F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802D2494 002CF3F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D2498 002CF3F8 C0 86 00 50 */ lfs f4, 0x50(r6) +/* 802D249C 002CF3FC C0 63 00 08 */ lfs f3, 8(r3) +/* 802D24A0 002CF400 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802D24A4 002CF404 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 802D24A8 002CF408 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 802D24AC 002CF40C 40 81 00 0C */ ble lbl_802D24B8 +/* 802D24B0 002CF410 FC A0 00 90 */ fmr f5, f0 +/* 802D24B4 002CF414 7C E8 3B 78 */ mr r8, r7 +lbl_802D24B8: +/* 802D24B8 002CF418 38 C6 00 60 */ addi r6, r6, 0x60 +/* 802D24BC 002CF41C 38 E7 00 01 */ addi r7, r7, 1 +/* 802D24C0 002CF420 42 00 FF C4 */ bdnz lbl_802D2484 +lbl_802D24C4: +/* 802D24C4 002CF424 2C 08 FF FF */ cmpwi r8, -1 +/* 802D24C8 002CF428 41 82 00 1C */ beq lbl_802D24E4 +/* 802D24CC 002CF42C 1C 08 00 60 */ mulli r0, r8, 0x60 +/* 802D24D0 002CF430 7C A3 2B 78 */ mr r3, r5 +/* 802D24D4 002CF434 38 A0 00 00 */ li r5, 0 +/* 802D24D8 002CF438 7C 84 02 14 */ add r4, r4, r0 +/* 802D24DC 002CF43C 38 84 00 04 */ addi r4, r4, 4 +/* 802D24E0 002CF440 4B EB 31 41 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D24E4: +/* 802D24E4 002CF444 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802D24E8 002CF448 7C 08 03 A6 */ mtlr r0 +/* 802D24EC 002CF44C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802D24F0 002CF450 4E 80 00 20 */ blr + +.global RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd +RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd: +/* 802D24F4 002CF454 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 802D24F8 002CF458 7C 08 02 A6 */ mflr r0 +/* 802D24FC 002CF45C 90 01 01 44 */ stw r0, 0x144(r1) +/* 802D2500 002CF460 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 802D2504 002CF464 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 802D2508 002CF468 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 802D250C 002CF46C F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 802D2510 002CF470 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 802D2514 002CF474 93 C1 01 18 */ stw r30, 0x118(r1) +/* 802D2518 002CF478 93 A1 01 14 */ stw r29, 0x114(r1) +/* 802D251C 002CF47C 93 81 01 10 */ stw r28, 0x110(r1) +/* 802D2520 002CF480 7C BE 2B 78 */ mr r30, r5 +/* 802D2524 002CF484 7C 7C 1B 78 */ mr r28, r3 +/* 802D2528 002CF488 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802D252C 002CF48C 7C 9D 23 78 */ mr r29, r4 +/* 802D2530 002CF490 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D2534 002CF494 7C DF 33 78 */ mr r31, r6 +/* 802D2538 002CF498 C0 65 00 14 */ lfs f3, 0x14(r5) +/* 802D253C 002CF49C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D2540 002CF4A0 C0 45 00 08 */ lfs f2, 8(r5) +/* 802D2544 002CF4A4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D2548 002CF4A8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 802D254C 002CF4AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802D2550 002CF4B0 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D2554 002CF4B4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2558 002CF4B8 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802D255C 002CF4BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2560 002CF4C0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802D2564 002CF4C4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802D2568 002CF4C8 48 04 20 1D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D256C 002CF4CC C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 802D2570 002CF4D0 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D2574 002CF4D4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D2578 002CF4D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D257C 002CF4DC C0 7E 00 20 */ lfs f3, 0x20(r30) +/* 802D2580 002CF4E0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D2584 002CF4E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D2588 002CF4E8 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 802D258C 002CF4EC C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D2590 002CF4F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2594 002CF4F4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D2598 002CF4F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D259C 002CF4FC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D25A0 002CF500 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D25A4 002CF504 48 04 1F E1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D25A8 002CF508 7F A4 EB 78 */ mr r4, r29 +/* 802D25AC 002CF50C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802D25B0 002CF510 48 04 1F D5 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D25B4 002CF514 7C 64 1B 78 */ mr r4, r3 +/* 802D25B8 002CF518 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D25BC 002CF51C 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 802D25C0 002CF520 48 04 1E 5D */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D25C4 002CF524 C8 41 00 78 */ lfd f2, 0x78(r1) +/* 802D25C8 002CF528 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802D25CC 002CF52C C8 21 00 80 */ lfd f1, 0x80(r1) +/* 802D25D0 002CF530 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802D25D4 002CF534 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802D25D8 002CF538 D8 41 00 C0 */ stfd f2, 0xc0(r1) +/* 802D25DC 002CF53C D8 21 00 C8 */ stfd f1, 0xc8(r1) +/* 802D25E0 002CF540 D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 802D25E4 002CF544 48 04 1E 89 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D25E8 002CF548 FF C0 08 90 */ fmr f30, f1 +/* 802D25EC 002CF54C C8 02 C4 F8 */ lfd f0, lbl_805AE218@sda21(r2) +/* 802D25F0 002CF550 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802D25F4 002CF554 40 80 00 0C */ bge lbl_802D2600 +/* 802D25F8 002CF558 38 60 00 00 */ li r3, 0 +/* 802D25FC 002CF55C 48 00 01 10 */ b lbl_802D270C +lbl_802D2600: +/* 802D2600 002CF560 C0 3C 00 04 */ lfs f1, 4(r28) +/* 802D2604 002CF564 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802D2608 002CF568 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802D260C 002CF56C 38 81 00 08 */ addi r4, r1, 8 +/* 802D2610 002CF570 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D2614 002CF574 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802D2618 002CF578 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D261C 002CF57C C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D2620 002CF580 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802D2624 002CF584 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D2628 002CF588 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802D262C 002CF58C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2630 002CF590 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802D2634 002CF594 D0 01 00 08 */ stfs f0, 8(r1) +/* 802D2638 002CF598 48 04 1F 4D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D263C 002CF59C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802D2640 002CF5A0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802D2644 002CF5A4 48 04 1E 29 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D2648 002CF5A8 FF E0 08 90 */ fmr f31, f1 +/* 802D264C 002CF5AC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D2650 002CF5B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802D2654 002CF5B4 41 80 00 0C */ blt lbl_802D2660 +/* 802D2658 002CF5B8 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 802D265C 002CF5BC 40 81 00 0C */ ble lbl_802D2668 +lbl_802D2660: +/* 802D2660 002CF5C0 38 60 00 00 */ li r3, 0 +/* 802D2664 002CF5C4 48 00 00 A8 */ b lbl_802D270C +lbl_802D2668: +/* 802D2668 002CF5C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D266C 002CF5CC 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802D2670 002CF5D0 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 802D2674 002CF5D4 48 04 1D A9 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D2678 002CF5D8 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 802D267C 002CF5DC 7F A4 EB 78 */ mr r4, r29 +/* 802D2680 002CF5E0 C8 21 00 50 */ lfd f1, 0x50(r1) +/* 802D2684 002CF5E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D2688 002CF5E8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D268C 002CF5EC D8 41 00 90 */ stfd f2, 0x90(r1) +/* 802D2690 002CF5F0 D8 21 00 98 */ stfd f1, 0x98(r1) +/* 802D2694 002CF5F4 D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 802D2698 002CF5F8 48 04 1E ED */ bl __ct__9CVector3dFRC9CVector3f +/* 802D269C 002CF5FC 7C 64 1B 78 */ mr r4, r3 +/* 802D26A0 002CF600 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D26A4 002CF604 48 04 1D C9 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D26A8 002CF608 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D26AC 002CF60C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26B0 002CF610 41 80 00 10 */ blt lbl_802D26C0 +/* 802D26B4 002CF614 FC 1F 08 2A */ fadd f0, f31, f1 +/* 802D26B8 002CF618 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 802D26BC 002CF61C 40 81 00 0C */ ble lbl_802D26C8 +lbl_802D26C0: +/* 802D26C0 002CF620 38 60 00 00 */ li r3, 0 +/* 802D26C4 002CF624 48 00 00 48 */ b lbl_802D270C +lbl_802D26C8: +/* 802D26C8 002CF628 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D26CC 002CF62C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 802D26D0 002CF630 48 04 1D 9D */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D26D4 002CF634 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) +/* 802D26D8 002CF638 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D26DC 002CF63C FC 42 F0 24 */ fdiv f2, f2, f30 +/* 802D26E0 002CF640 FC 22 00 72 */ fmul f1, f2, f1 +/* 802D26E4 002CF644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26E8 002CF648 41 80 00 14 */ blt lbl_802D26FC +/* 802D26EC 002CF64C C8 1F 00 00 */ lfd f0, 0(r31) +/* 802D26F0 002CF650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D26F4 002CF654 4C 41 13 82 */ cror 2, 1, 2 +/* 802D26F8 002CF658 40 82 00 0C */ bne lbl_802D2704 +lbl_802D26FC: +/* 802D26FC 002CF65C 38 60 00 00 */ li r3, 0 +/* 802D2700 002CF660 48 00 00 0C */ b lbl_802D270C +lbl_802D2704: +/* 802D2704 002CF664 D8 3F 00 00 */ stfd f1, 0(r31) +/* 802D2708 002CF668 38 60 00 01 */ li r3, 1 +lbl_802D270C: +/* 802D270C 002CF66C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 802D2710 002CF670 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 802D2714 002CF674 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 802D2718 002CF678 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 802D271C 002CF67C 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 802D2720 002CF680 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 802D2724 002CF684 83 A1 01 14 */ lwz r29, 0x114(r1) +/* 802D2728 002CF688 80 01 01 44 */ lwz r0, 0x144(r1) +/* 802D272C 002CF68C 83 81 01 10 */ lwz r28, 0x110(r1) +/* 802D2730 002CF690 7C 08 03 A6 */ mtlr r0 +/* 802D2734 002CF694 38 21 01 40 */ addi r1, r1, 0x140 +/* 802D2738 002CF698 4E 80 00 20 */ blr + +.global RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf +RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf: +/* 802D273C 002CF69C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802D2740 002CF6A0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802D2744 002CF6A4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802D2748 002CF6A8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802D274C 002CF6AC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802D2750 002CF6B0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802D2754 002CF6B4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802D2758 002CF6B8 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802D275C 002CF6BC F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802D2760 002CF6C0 DB 61 00 20 */ stfd f27, 0x20(r1) +/* 802D2764 002CF6C4 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 802D2768 002CF6C8 DB 41 00 10 */ stfd f26, 0x10(r1) +/* 802D276C 002CF6CC F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 +/* 802D2770 002CF6D0 C0 65 00 08 */ lfs f3, 8(r5) +/* 802D2774 002CF6D4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802D2778 002CF6D8 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 802D277C 002CF6DC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802D2780 002CF6E0 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802D2784 002CF6E4 C3 A5 00 00 */ lfs f29, 0(r5) +/* 802D2788 002CF6E8 ED 41 18 28 */ fsubs f10, f1, f3 +/* 802D278C 002CF6EC C0 25 00 18 */ lfs f1, 0x18(r5) +/* 802D2790 002CF6F0 C3 C5 00 04 */ lfs f30, 4(r5) +/* 802D2794 002CF6F4 C0 85 00 1C */ lfs f4, 0x1c(r5) +/* 802D2798 002CF6F8 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 802D279C 002CF6FC C0 E5 00 10 */ lfs f7, 0x10(r5) +/* 802D27A0 002CF700 EC 40 01 72 */ fmuls f2, f0, f5 +/* 802D27A4 002CF704 C0 C4 00 08 */ lfs f6, 8(r4) +/* 802D27A8 002CF708 ED A4 F0 28 */ fsubs f13, f4, f30 +/* 802D27AC 002CF70C C1 25 00 0C */ lfs f9, 0xc(r5) +/* 802D27B0 002CF710 C0 84 00 04 */ lfs f4, 4(r4) +/* 802D27B4 002CF714 ED 67 F0 28 */ fsubs f11, f7, f30 +/* 802D27B8 002CF718 EF 66 10 78 */ fmsubs f27, f6, f1, f2 +/* 802D27BC 002CF71C C0 E2 C5 00 */ lfs f7, lbl_805AE220@sda21(r2) +/* 802D27C0 002CF720 EC 4D 01 B2 */ fmuls f2, f13, f6 +/* 802D27C4 002CF724 ED 01 01 32 */ fmuls f8, f1, f4 +/* 802D27C8 002CF728 ED 89 E8 28 */ fsubs f12, f9, f29 +/* 802D27CC 002CF72C EF 84 10 38 */ fmsubs f28, f4, f0, f2 +/* 802D27D0 002CF730 EC 4B 06 F2 */ fmuls f2, f11, f27 +/* 802D27D4 002CF734 EF 45 43 78 */ fmsubs f26, f5, f13, f8 +/* 802D27D8 002CF738 EC 4C 17 3A */ fmadds f2, f12, f28, f2 +/* 802D27DC 002CF73C EC 4A 16 BA */ fmadds f2, f10, f26, f2 +/* 802D27E0 002CF740 FC 02 38 40 */ fcmpo cr0, f2, f7 +/* 802D27E4 002CF744 40 80 00 0C */ bge lbl_802D27F0 +/* 802D27E8 002CF748 38 60 00 00 */ li r3, 0 +/* 802D27EC 002CF74C 48 00 00 C4 */ b lbl_802D28B0 +lbl_802D27F0: +/* 802D27F0 002CF750 C0 E3 00 04 */ lfs f7, 4(r3) +/* 802D27F4 002CF754 C1 03 00 00 */ lfs f8, 0(r3) +/* 802D27F8 002CF758 EF C7 F0 28 */ fsubs f30, f7, f30 +/* 802D27FC 002CF75C C0 E3 00 08 */ lfs f7, 8(r3) +/* 802D2800 002CF760 EF A8 E8 28 */ fsubs f29, f8, f29 +/* 802D2804 002CF764 C1 22 C4 B8 */ lfs f9, lbl_805AE1D8@sda21(r2) +/* 802D2808 002CF768 EF E7 18 28 */ fsubs f31, f7, f3 +/* 802D280C 002CF76C EC 7E 06 F2 */ fmuls f3, f30, f27 +/* 802D2810 002CF770 EC 7D 1F 3A */ fmadds f3, f29, f28, f3 +/* 802D2814 002CF774 EF 5F 1E BA */ fmadds f26, f31, f26, f3 +/* 802D2818 002CF778 FC 1A 48 40 */ fcmpo cr0, f26, f9 +/* 802D281C 002CF77C 41 80 00 0C */ blt lbl_802D2828 +/* 802D2820 002CF780 FC 1A 10 40 */ fcmpo cr0, f26, f2 +/* 802D2824 002CF784 40 81 00 0C */ ble lbl_802D2830 +lbl_802D2828: +/* 802D2828 002CF788 38 60 00 00 */ li r3, 0 +/* 802D282C 002CF78C 48 00 00 84 */ b lbl_802D28B0 +lbl_802D2830: +/* 802D2830 002CF790 EC EA 07 72 */ fmuls f7, f10, f29 +/* 802D2834 002CF794 EC 6B 07 F2 */ fmuls f3, f11, f31 +/* 802D2838 002CF798 ED 0C 07 B2 */ fmuls f8, f12, f30 +/* 802D283C 002CF79C ED 9F 3B 38 */ fmsubs f12, f31, f12, f7 +/* 802D2840 002CF7A0 EC FE 1A B8 */ fmsubs f7, f30, f10, f3 +/* 802D2844 002CF7A4 ED 1D 42 F8 */ fmsubs f8, f29, f11, f8 +/* 802D2848 002CF7A8 EC 6C 01 32 */ fmuls f3, f12, f4 +/* 802D284C 002CF7AC EC 67 19 7A */ fmadds f3, f7, f5, f3 +/* 802D2850 002CF7B0 EC 68 19 BA */ fmadds f3, f8, f6, f3 +/* 802D2854 002CF7B4 FC 03 48 40 */ fcmpo cr0, f3, f9 +/* 802D2858 002CF7B8 41 80 00 10 */ blt lbl_802D2868 +/* 802D285C 002CF7BC EC 7A 18 2A */ fadds f3, f26, f3 +/* 802D2860 002CF7C0 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 802D2864 002CF7C4 40 81 00 0C */ ble lbl_802D2870 +lbl_802D2868: +/* 802D2868 002CF7C8 38 60 00 00 */ li r3, 0 +/* 802D286C 002CF7CC 48 00 00 44 */ b lbl_802D28B0 +lbl_802D2870: +/* 802D2870 002CF7D0 C0 82 C4 BC */ lfs f4, lbl_805AE1DC@sda21(r2) +/* 802D2874 002CF7D4 EC 6C 03 72 */ fmuls f3, f12, f13 +/* 802D2878 002CF7D8 EC 44 10 24 */ fdivs f2, f4, f2 +/* 802D287C 002CF7DC EC 27 18 7A */ fmadds f1, f7, f1, f3 +/* 802D2880 002CF7E0 EC 08 08 3A */ fmadds f0, f8, f0, f1 +/* 802D2884 002CF7E4 EC 22 00 32 */ fmuls f1, f2, f0 +/* 802D2888 002CF7E8 FC 01 48 40 */ fcmpo cr0, f1, f9 +/* 802D288C 002CF7EC 41 80 00 14 */ blt lbl_802D28A0 +/* 802D2890 002CF7F0 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D2894 002CF7F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2898 002CF7F8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D289C 002CF7FC 40 82 00 0C */ bne lbl_802D28A8 +lbl_802D28A0: +/* 802D28A0 002CF800 38 60 00 00 */ li r3, 0 +/* 802D28A4 002CF804 48 00 00 0C */ b lbl_802D28B0 +lbl_802D28A8: +/* 802D28A8 002CF808 D0 26 00 00 */ stfs f1, 0(r6) +/* 802D28AC 002CF80C 38 60 00 01 */ li r3, 1 +lbl_802D28B0: +/* 802D28B0 002CF810 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802D28B4 002CF814 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802D28B8 002CF818 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802D28BC 002CF81C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802D28C0 002CF820 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802D28C4 002CF824 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802D28C8 002CF828 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 802D28CC 002CF82C CB 81 00 30 */ lfd f28, 0x30(r1) +/* 802D28D0 002CF830 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 802D28D4 002CF834 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 802D28D8 002CF838 E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 +/* 802D28DC 002CF83C CB 41 00 10 */ lfd f26, 0x10(r1) +/* 802D28E0 002CF840 38 21 00 70 */ addi r1, r1, 0x70 +/* 802D28E4 002CF844 4E 80 00 20 */ blr + +.global AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere: +/* 802D28E8 002CF848 38 00 00 03 */ li r0, 3 +/* 802D28EC 002CF84C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D28F0 002CF850 7C 85 23 78 */ mr r5, r4 +/* 802D28F4 002CF854 38 E3 00 0C */ addi r7, r3, 0xc +/* 802D28F8 002CF858 39 20 00 00 */ li r9, 0 +/* 802D28FC 002CF85C 38 C0 00 00 */ li r6, 0 +/* 802D2900 002CF860 39 00 00 01 */ li r8, 1 +/* 802D2904 002CF864 7C 09 03 A6 */ mtctr r0 +lbl_802D2908: +/* 802D2908 002CF868 C0 45 00 00 */ lfs f2, 0(r5) +/* 802D290C 002CF86C C0 63 00 00 */ lfs f3, 0(r3) +/* 802D2910 002CF870 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D2914 002CF874 40 80 00 3C */ bge lbl_802D2950 +/* 802D2918 002CF878 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D291C 002CF87C EC 02 00 2A */ fadds f0, f2, f0 +/* 802D2920 002CF880 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D2924 002CF884 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2928 002CF888 40 82 00 20 */ bne lbl_802D2948 +/* 802D292C 002CF88C EC 02 18 28 */ fsubs f0, f2, f3 +/* 802D2930 002CF890 38 00 00 01 */ li r0, 1 +/* 802D2934 002CF894 7C 00 30 30 */ slw r0, r0, r6 +/* 802D2938 002CF898 7D 29 03 78 */ or r9, r9, r0 +/* 802D293C 002CF89C EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2940 002CF8A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D2944 002CF8A4 48 00 00 50 */ b lbl_802D2994 +lbl_802D2948: +/* 802D2948 002CF8A8 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D294C 002CF8AC 4E 80 00 20 */ blr +lbl_802D2950: +/* 802D2950 002CF8B0 C0 67 00 00 */ lfs f3, 0(r7) +/* 802D2954 002CF8B4 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 802D2958 002CF8B8 40 81 00 3C */ ble lbl_802D2994 +/* 802D295C 002CF8BC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2960 002CF8C0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802D2964 002CF8C4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802D2968 002CF8C8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D296C 002CF8CC 40 82 00 20 */ bne lbl_802D298C +/* 802D2970 002CF8D0 EC 02 18 28 */ fsubs f0, f2, f3 +/* 802D2974 002CF8D4 38 00 00 01 */ li r0, 1 +/* 802D2978 002CF8D8 7C 00 40 30 */ slw r0, r0, r8 +/* 802D297C 002CF8DC 7D 29 03 78 */ or r9, r9, r0 +/* 802D2980 002CF8E0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2984 002CF8E4 EC 21 00 2A */ fadds f1, f1, f0 +/* 802D2988 002CF8E8 48 00 00 0C */ b lbl_802D2994 +lbl_802D298C: +/* 802D298C 002CF8EC C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D2990 002CF8F0 4E 80 00 20 */ blr +lbl_802D2994: +/* 802D2994 002CF8F4 38 63 00 04 */ addi r3, r3, 4 +/* 802D2998 002CF8F8 38 A5 00 04 */ addi r5, r5, 4 +/* 802D299C 002CF8FC 38 C6 00 02 */ addi r6, r6, 2 +/* 802D29A0 002CF900 38 E7 00 04 */ addi r7, r7, 4 +/* 802D29A4 002CF904 39 08 00 02 */ addi r8, r8, 2 +/* 802D29A8 002CF908 42 00 FF 60 */ bdnz lbl_802D2908 +/* 802D29AC 002CF90C 2C 09 00 00 */ cmpwi r9, 0 +/* 802D29B0 002CF910 4D 82 00 20 */ beqlr +/* 802D29B4 002CF914 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D29B8 002CF918 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D29BC 002CF91C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D29C0 002CF920 4C 81 00 20 */ blelr +/* 802D29C4 002CF924 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) +/* 802D29C8 002CF928 4E 80 00 20 */ blr + +.global AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere: +/* 802D29CC 002CF92C 38 00 00 03 */ li r0, 3 +/* 802D29D0 002CF930 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D29D4 002CF934 7C 85 23 78 */ mr r5, r4 +/* 802D29D8 002CF938 38 E3 00 0C */ addi r7, r3, 0xc +/* 802D29DC 002CF93C 39 20 00 00 */ li r9, 0 +/* 802D29E0 002CF940 38 C0 00 00 */ li r6, 0 +/* 802D29E4 002CF944 39 00 00 01 */ li r8, 1 +/* 802D29E8 002CF948 7C 09 03 A6 */ mtctr r0 +lbl_802D29EC: +/* 802D29EC 002CF94C C0 25 00 00 */ lfs f1, 0(r5) +/* 802D29F0 002CF950 C0 43 00 00 */ lfs f2, 0(r3) +/* 802D29F4 002CF954 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D29F8 002CF958 40 80 00 3C */ bge lbl_802D2A34 +/* 802D29FC 002CF95C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2A00 002CF960 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D2A04 002CF964 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2A08 002CF968 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2A0C 002CF96C 40 82 00 20 */ bne lbl_802D2A2C +/* 802D2A10 002CF970 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802D2A14 002CF974 38 00 00 01 */ li r0, 1 +/* 802D2A18 002CF978 7C 00 30 30 */ slw r0, r0, r6 +/* 802D2A1C 002CF97C 7D 29 03 78 */ or r9, r9, r0 +/* 802D2A20 002CF980 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2A24 002CF984 EC 63 00 2A */ fadds f3, f3, f0 +/* 802D2A28 002CF988 48 00 00 50 */ b lbl_802D2A78 +lbl_802D2A2C: +/* 802D2A2C 002CF98C 38 60 00 00 */ li r3, 0 +/* 802D2A30 002CF990 4E 80 00 20 */ blr +lbl_802D2A34: +/* 802D2A34 002CF994 C0 47 00 00 */ lfs f2, 0(r7) +/* 802D2A38 002CF998 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D2A3C 002CF99C 40 81 00 3C */ ble lbl_802D2A78 +/* 802D2A40 002CF9A0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2A44 002CF9A4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D2A48 002CF9A8 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2A4C 002CF9AC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2A50 002CF9B0 40 82 00 20 */ bne lbl_802D2A70 +/* 802D2A54 002CF9B4 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802D2A58 002CF9B8 38 00 00 01 */ li r0, 1 +/* 802D2A5C 002CF9BC 7C 00 40 30 */ slw r0, r0, r8 +/* 802D2A60 002CF9C0 7D 29 03 78 */ or r9, r9, r0 +/* 802D2A64 002CF9C4 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2A68 002CF9C8 EC 63 00 2A */ fadds f3, f3, f0 +/* 802D2A6C 002CF9CC 48 00 00 0C */ b lbl_802D2A78 +lbl_802D2A70: +/* 802D2A70 002CF9D0 38 60 00 00 */ li r3, 0 +/* 802D2A74 002CF9D4 4E 80 00 20 */ blr +lbl_802D2A78: +/* 802D2A78 002CF9D8 38 63 00 04 */ addi r3, r3, 4 +/* 802D2A7C 002CF9DC 38 A5 00 04 */ addi r5, r5, 4 +/* 802D2A80 002CF9E0 38 C6 00 02 */ addi r6, r6, 2 +/* 802D2A84 002CF9E4 38 E7 00 04 */ addi r7, r7, 4 +/* 802D2A88 002CF9E8 39 08 00 02 */ addi r8, r8, 2 +/* 802D2A8C 002CF9EC 42 00 FF 60 */ bdnz lbl_802D29EC +/* 802D2A90 002CF9F0 2C 09 00 00 */ cmpwi r9, 0 +/* 802D2A94 002CF9F4 40 82 00 0C */ bne lbl_802D2AA0 +/* 802D2A98 002CF9F8 38 60 00 01 */ li r3, 1 +/* 802D2A9C 002CF9FC 4E 80 00 20 */ blr +lbl_802D2AA0: +/* 802D2AA0 002CFA00 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2AA4 002CFA04 EC 00 00 32 */ fmuls f0, f0, f0 +/* 802D2AA8 002CFA08 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2AAC 002CFA0C 7C 00 00 26 */ mfcr r0 +/* 802D2AB0 002CFA10 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802D2AB4 002CFA14 7C 00 00 34 */ cntlzw r0, r0 +/* 802D2AB8 002CFA18 54 03 D9 7E */ srwi r3, r0, 5 +/* 802D2ABC 002CFA1C 4E 80 00 20 */ blr + +.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList +AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList: +/* 802D2AC0 002CFA20 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 802D2AC4 002CFA24 7C 08 02 A6 */ mflr r0 +/* 802D2AC8 002CFA28 90 01 02 24 */ stw r0, 0x224(r1) +/* 802D2ACC 002CFA2C BF 21 02 04 */ stmw r25, 0x204(r1) +/* 802D2AD0 002CFA30 7C 7C 1B 78 */ mr r28, r3 +/* 802D2AD4 002CFA34 7C BB 2B 78 */ mr r27, r5 +/* 802D2AD8 002CFA38 7C 9D 23 78 */ mr r29, r4 +/* 802D2ADC 002CFA3C 7C DE 33 78 */ mr r30, r6 +/* 802D2AE0 002CFA40 7C FF 3B 78 */ mr r31, r7 +/* 802D2AE4 002CFA44 C0 05 00 08 */ lfs f0, 8(r5) +/* 802D2AE8 002CFA48 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D2AEC 002CFA4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2AF0 002CFA50 40 81 00 08 */ ble lbl_802D2AF8 +/* 802D2AF4 002CFA54 48 00 00 08 */ b lbl_802D2AFC +lbl_802D2AF8: +/* 802D2AF8 002CFA58 FC 20 00 90 */ fmr f1, f0 +lbl_802D2AFC: +/* 802D2AFC 002CFA5C C0 1B 00 04 */ lfs f0, 4(r27) +/* 802D2B00 002CFA60 C0 5C 00 04 */ lfs f2, 4(r28) +/* 802D2B04 002CFA64 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2B08 002CFA68 40 81 00 08 */ ble lbl_802D2B10 +/* 802D2B0C 002CFA6C 48 00 00 08 */ b lbl_802D2B14 +lbl_802D2B10: +/* 802D2B10 002CFA70 FC 40 00 90 */ fmr f2, f0 +lbl_802D2B14: +/* 802D2B14 002CFA74 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802D2B18 002CFA78 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802D2B1C 002CFA7C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2B20 002CFA80 40 81 00 08 */ ble lbl_802D2B28 +/* 802D2B24 002CFA84 48 00 00 08 */ b lbl_802D2B2C +lbl_802D2B28: +/* 802D2B28 002CFA88 FC 60 00 90 */ fmr f3, f0 +lbl_802D2B2C: +/* 802D2B2C 002CFA8C C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2B30 002CFA90 C0 9C 00 14 */ lfs f4, 0x14(r28) +/* 802D2B34 002CFA94 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802D2B38 002CFA98 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D2B3C 002CFA9C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 802D2B40 002CFAA0 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802D2B44 002CFAA4 40 80 00 08 */ bge lbl_802D2B4C +/* 802D2B48 002CFAA8 48 00 00 08 */ b lbl_802D2B50 +lbl_802D2B4C: +/* 802D2B4C 002CFAAC FC 80 00 90 */ fmr f4, f0 +lbl_802D2B50: +/* 802D2B50 002CFAB0 C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 802D2B54 002CFAB4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802D2B58 002CFAB8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2B5C 002CFABC 40 80 00 08 */ bge lbl_802D2B64 +/* 802D2B60 002CFAC0 48 00 00 08 */ b lbl_802D2B68 +lbl_802D2B64: +/* 802D2B64 002CFAC4 FC 40 00 90 */ fmr f2, f0 +lbl_802D2B68: +/* 802D2B68 002CFAC8 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 802D2B6C 002CFACC C0 7C 00 0C */ lfs f3, 0xc(r28) +/* 802D2B70 002CFAD0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2B74 002CFAD4 40 80 00 08 */ bge lbl_802D2B7C +/* 802D2B78 002CFAD8 48 00 00 08 */ b lbl_802D2B80 +lbl_802D2B7C: +/* 802D2B7C 002CFADC FC 60 00 90 */ fmr f3, f0 +lbl_802D2B80: +/* 802D2B80 002CFAE0 FC 00 18 18 */ frsp f0, f3 +/* 802D2B84 002CFAE4 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802D2B88 002CFAE8 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802D2B8C 002CFAEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2B90 002CFAF0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802D2B94 002CFAF4 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 802D2B98 002CFAF8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2B9C 002CFAFC 41 82 00 2C */ beq lbl_802D2BC8 +/* 802D2BA0 002CFB00 FC 00 10 18 */ frsp f0, f2 +/* 802D2BA4 002CFB04 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802D2BA8 002CFB08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2BAC 002CFB0C 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2BB0 002CFB10 41 82 00 18 */ beq lbl_802D2BC8 +/* 802D2BB4 002CFB14 FC 00 20 18 */ frsp f0, f4 +/* 802D2BB8 002CFB18 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802D2BBC 002CFB1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2BC0 002CFB20 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2BC4 002CFB24 40 82 00 0C */ bne lbl_802D2BD0 +lbl_802D2BC8: +/* 802D2BC8 002CFB28 38 60 00 00 */ li r3, 0 +/* 802D2BCC 002CFB2C 48 00 02 DC */ b lbl_802D2EA8 +lbl_802D2BD0: +/* 802D2BD0 002CFB30 38 61 00 5C */ addi r3, r1, 0x5c +/* 802D2BD4 002CFB34 38 81 00 44 */ addi r4, r1, 0x44 +/* 802D2BD8 002CFB38 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802D2BDC 002CFB3C 48 06 59 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802D2BE0 002CFB40 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802D2BE4 002CFB44 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802D2BE8 002CFB48 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 802D2BEC 002CFB4C FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2BF0 002CFB50 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802D2BF4 002CFB54 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2BF8 002CFB58 7C A0 00 26 */ mfcr r5 +/* 802D2BFC 002CFB5C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2C00 002CFB60 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C04 002CFB64 7C 80 00 26 */ mfcr r4 +/* 802D2C08 002CFB68 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2C0C 002CFB6C 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C10 002CFB70 7C 60 00 26 */ mfcr r3 +/* 802D2C14 002CFB74 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2C18 002CFB78 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C1C 002CFB7C 7C 00 00 26 */ mfcr r0 +/* 802D2C20 002CFB80 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802D2C24 002CFB84 C0 7C 00 04 */ lfs f3, 4(r28) +/* 802D2C28 002CFB88 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2C2C 002CFB8C 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c +/* 802D2C30 002CFB90 C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 802D2C34 002CFB94 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e +/* 802D2C38 002CFB98 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2C3C 002CFB9C 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f +/* 802D2C40 002CFBA0 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802D2C44 002CFBA4 90 01 00 50 */ stw r0, 0x50(r1) +/* 802D2C48 002CFBA8 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C4C 002CFBAC 7C A0 00 26 */ mfcr r5 +/* 802D2C50 002CFBB0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2C54 002CFBB4 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C58 002CFBB8 7C 80 00 26 */ mfcr r4 +/* 802D2C5C 002CFBBC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2C60 002CFBC0 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C64 002CFBC4 7C 60 00 26 */ mfcr r3 +/* 802D2C68 002CFBC8 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2C6C 002CFBCC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2C70 002CFBD0 7C 00 00 26 */ mfcr r0 +/* 802D2C74 002CFBD4 C0 3B 00 08 */ lfs f1, 8(r27) +/* 802D2C78 002CFBD8 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D2C7C 002CFBDC 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2C80 002CFBE0 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c +/* 802D2C84 002CFBE4 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2C88 002CFBE8 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e +/* 802D2C8C 002CFBEC FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2C90 002CFBF0 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f +/* 802D2C94 002CFBF4 C0 5C 00 14 */ lfs f2, 0x14(r28) +/* 802D2C98 002CFBF8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802D2C9C 002CFBFC 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CA0 002CFC00 7C C0 00 26 */ mfcr r6 +/* 802D2CA4 002CFC04 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2CA8 002CFC08 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CAC 002CFC0C 7C A0 00 26 */ mfcr r5 +/* 802D2CB0 002CFC10 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2CB4 002CFC14 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CB8 002CFC18 7C 80 00 26 */ mfcr r4 +/* 802D2CBC 002CFC1C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D2CC0 002CFC20 4C 40 13 82 */ cror 2, 0, 2 +/* 802D2CC4 002CFC24 7C 00 00 26 */ mfcr r0 +/* 802D2CC8 002CFC28 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2CCC 002CFC2C 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d +/* 802D2CD0 002CFC30 3B 81 00 50 */ addi r28, r1, 0x50 +/* 802D2CD4 002CFC34 50 80 37 38 */ rlwimi r0, r4, 6, 0x1c, 0x1c +/* 802D2CD8 002CFC38 3B 63 95 10 */ addi r27, r3, lbl_80479510@l +/* 802D2CDC 002CFC3C 50 A0 27 BC */ rlwimi r0, r5, 4, 0x1e, 0x1e +/* 802D2CE0 002CFC40 3B 20 00 00 */ li r25, 0 +/* 802D2CE4 002CFC44 50 C0 1F FE */ rlwimi r0, r6, 3, 0x1f, 0x1f +/* 802D2CE8 002CFC48 3B 40 00 0C */ li r26, 0xc +/* 802D2CEC 002CFC4C 90 01 00 58 */ stw r0, 0x58(r1) +lbl_802D2CF0: +/* 802D2CF0 002CFC50 80 1C 00 00 */ lwz r0, 0(r28) +/* 802D2CF4 002CFC54 2C 00 00 0A */ cmpwi r0, 0xa +/* 802D2CF8 002CFC58 41 82 00 D8 */ beq lbl_802D2DD0 +/* 802D2CFC 002CFC5C 40 80 00 1C */ bge lbl_802D2D18 +/* 802D2D00 002CFC60 2C 00 00 03 */ cmpwi r0, 3 +/* 802D2D04 002CFC64 41 82 00 CC */ beq lbl_802D2DD0 +/* 802D2D08 002CFC68 40 80 00 C8 */ bge lbl_802D2DD0 +/* 802D2D0C 002CFC6C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D2D10 002CFC70 40 80 00 14 */ bge lbl_802D2D24 +/* 802D2D14 002CFC74 48 00 00 BC */ b lbl_802D2DD0 +lbl_802D2D18: +/* 802D2D18 002CFC78 2C 00 00 0C */ cmpwi r0, 0xc +/* 802D2D1C 002CFC7C 40 80 00 B4 */ bge lbl_802D2DD0 +/* 802D2D20 002CFC80 48 00 00 60 */ b lbl_802D2D80 +lbl_802D2D24: +/* 802D2D24 002CFC84 C0 5B 00 0C */ lfs f2, 0xc(r27) +/* 802D2D28 002CFC88 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2D2C 002CFC8C C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 802D2D30 002CFC90 38 03 95 10 */ addi r0, r3, lbl_80479510@l +/* 802D2D34 002CFC94 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802D2D38 002CFC98 FC 40 10 50 */ fneg f2, f2 +/* 802D2D3C 002CFC9C FC 20 08 50 */ fneg f1, f1 +/* 802D2D40 002CFCA0 7F A5 EB 78 */ mr r5, r29 +/* 802D2D44 002CFCA4 FC 00 00 50 */ fneg f0, f0 +/* 802D2D48 002CFCA8 7F C6 F3 78 */ mr r6, r30 +/* 802D2D4C 002CFCAC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802D2D50 002CFCB0 38 61 01 98 */ addi r3, r1, 0x198 +/* 802D2D54 002CFCB4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802D2D58 002CFCB8 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2D5C 002CFCBC 7C E0 D2 14 */ add r7, r0, r26 +/* 802D2D60 002CFCC0 39 01 00 2C */ addi r8, r1, 0x2c +/* 802D2D64 002CFCC4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802D2D68 002CFCC8 4B FF B5 51 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2D6C 002CFCCC 7C 64 1B 78 */ mr r4, r3 +/* 802D2D70 002CFCD0 7F E3 FB 78 */ mr r3, r31 +/* 802D2D74 002CFCD4 38 A0 00 00 */ li r5, 0 +/* 802D2D78 002CFCD8 4B EB 28 A9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2D7C 002CFCDC 48 00 00 54 */ b lbl_802D2DD0 +lbl_802D2D80: +/* 802D2D80 002CFCE0 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802D2D84 002CFCE4 7F A5 EB 78 */ mr r5, r29 +/* 802D2D88 002CFCE8 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802D2D8C 002CFCEC 7F C6 F3 78 */ mr r6, r30 +/* 802D2D90 002CFCF0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802D2D94 002CFCF4 FC 40 10 50 */ fneg f2, f2 +/* 802D2D98 002CFCF8 FC 20 08 50 */ fneg f1, f1 +/* 802D2D9C 002CFCFC 7F 67 DB 78 */ mr r7, r27 +/* 802D2DA0 002CFD00 FC 00 00 50 */ fneg f0, f0 +/* 802D2DA4 002CFD04 38 61 01 38 */ addi r3, r1, 0x138 +/* 802D2DA8 002CFD08 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802D2DAC 002CFD0C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2DB0 002CFD10 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802D2DB4 002CFD14 39 01 00 20 */ addi r8, r1, 0x20 +/* 802D2DB8 002CFD18 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802D2DBC 002CFD1C 4B FF B4 FD */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2DC0 002CFD20 7C 64 1B 78 */ mr r4, r3 +/* 802D2DC4 002CFD24 7F E3 FB 78 */ mr r3, r31 +/* 802D2DC8 002CFD28 38 A0 00 00 */ li r5, 0 +/* 802D2DCC 002CFD2C 4B EB 28 55 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D2DD0: +/* 802D2DD0 002CFD30 3B 39 00 01 */ addi r25, r25, 1 +/* 802D2DD4 002CFD34 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 802D2DD8 002CFD38 2C 19 00 03 */ cmpwi r25, 3 +/* 802D2DDC 002CFD3C 3B 5A 00 18 */ addi r26, r26, 0x18 +/* 802D2DE0 002CFD40 3B 9C 00 04 */ addi r28, r28, 4 +/* 802D2DE4 002CFD44 41 80 FF 0C */ blt lbl_802D2CF0 +/* 802D2DE8 002CFD48 80 1F 00 00 */ lwz r0, 0(r31) +/* 802D2DEC 002CFD4C 2C 00 00 00 */ cmpwi r0, 0 +/* 802D2DF0 002CFD50 40 82 00 B4 */ bne lbl_802D2EA4 +/* 802D2DF4 002CFD54 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2DF8 002CFD58 7F A5 EB 78 */ mr r5, r29 +/* 802D2DFC 002CFD5C 38 63 95 10 */ addi r3, r3, lbl_80479510@l +/* 802D2E00 002CFD60 7F C6 F3 78 */ mr r6, r30 +/* 802D2E04 002CFD64 C0 23 00 34 */ lfs f1, 0x34(r3) +/* 802D2E08 002CFD68 38 E3 00 30 */ addi r7, r3, 0x30 +/* 802D2E0C 002CFD6C C0 43 00 30 */ lfs f2, 0x30(r3) +/* 802D2E10 002CFD70 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2E14 002CFD74 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 802D2E18 002CFD78 FC 20 08 50 */ fneg f1, f1 +/* 802D2E1C 002CFD7C FC 40 10 50 */ fneg f2, f2 +/* 802D2E20 002CFD80 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 802D2E24 002CFD84 FC 00 00 50 */ fneg f0, f0 +/* 802D2E28 002CFD88 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D2E2C 002CFD8C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D2E30 002CFD90 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D2E34 002CFD94 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802D2E38 002CFD98 4B FF B4 81 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2E3C 002CFD9C 7C 64 1B 78 */ mr r4, r3 +/* 802D2E40 002CFDA0 7F E3 FB 78 */ mr r3, r31 +/* 802D2E44 002CFDA4 38 A0 00 00 */ li r5, 0 +/* 802D2E48 002CFDA8 4B EB 27 D9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802D2E4C 002CFDAC 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D2E50 002CFDB0 7F A5 EB 78 */ mr r5, r29 +/* 802D2E54 002CFDB4 38 63 95 10 */ addi r3, r3, lbl_80479510@l +/* 802D2E58 002CFDB8 7F C6 F3 78 */ mr r6, r30 +/* 802D2E5C 002CFDBC C0 23 00 40 */ lfs f1, 0x40(r3) +/* 802D2E60 002CFDC0 38 E3 00 3C */ addi r7, r3, 0x3c +/* 802D2E64 002CFDC4 C0 43 00 3C */ lfs f2, 0x3c(r3) +/* 802D2E68 002CFDC8 38 81 00 5C */ addi r4, r1, 0x5c +/* 802D2E6C 002CFDCC C0 03 00 44 */ lfs f0, 0x44(r3) +/* 802D2E70 002CFDD0 FC 20 08 50 */ fneg f1, f1 +/* 802D2E74 002CFDD4 FC 40 10 50 */ fneg f2, f2 +/* 802D2E78 002CFDD8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D2E7C 002CFDDC FC 00 00 50 */ fneg f0, f0 +/* 802D2E80 002CFDE0 39 01 00 08 */ addi r8, r1, 8 +/* 802D2E84 002CFDE4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D2E88 002CFDE8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D2E8C 002CFDEC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802D2E90 002CFDF0 4B FF B4 29 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802D2E94 002CFDF4 7C 64 1B 78 */ mr r4, r3 +/* 802D2E98 002CFDF8 7F E3 FB 78 */ mr r3, r31 +/* 802D2E9C 002CFDFC 38 A0 00 00 */ li r5, 0 +/* 802D2EA0 002CFE00 4B EB 27 81 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +lbl_802D2EA4: +/* 802D2EA4 002CFE04 38 60 00 01 */ li r3, 1 +lbl_802D2EA8: +/* 802D2EA8 002CFE08 BB 21 02 04 */ lmw r25, 0x204(r1) +/* 802D2EAC 002CFE0C 80 01 02 24 */ lwz r0, 0x224(r1) +/* 802D2EB0 002CFE10 7C 08 03 A6 */ mtlr r0 +/* 802D2EB4 002CFE14 38 21 02 20 */ addi r1, r1, 0x220 +/* 802D2EB8 002CFE18 4E 80 00 20 */ blr + +.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox +AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox: +/* 802D2EBC 002CFE1C C0 04 00 00 */ lfs f0, 0(r4) +/* 802D2EC0 002CFE20 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D2EC4 002CFE24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2EC8 002CFE28 40 81 00 08 */ ble lbl_802D2ED0 +/* 802D2ECC 002CFE2C 48 00 00 08 */ b lbl_802D2ED4 +lbl_802D2ED0: +/* 802D2ED0 002CFE30 FC 20 00 90 */ fmr f1, f0 +lbl_802D2ED4: +/* 802D2ED4 002CFE34 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D2ED8 002CFE38 C0 43 00 04 */ lfs f2, 4(r3) +/* 802D2EDC 002CFE3C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D2EE0 002CFE40 40 81 00 08 */ ble lbl_802D2EE8 +/* 802D2EE4 002CFE44 48 00 00 08 */ b lbl_802D2EEC +lbl_802D2EE8: +/* 802D2EE8 002CFE48 FC 40 00 90 */ fmr f2, f0 +lbl_802D2EEC: +/* 802D2EEC 002CFE4C C0 04 00 08 */ lfs f0, 8(r4) +/* 802D2EF0 002CFE50 C0 63 00 08 */ lfs f3, 8(r3) +/* 802D2EF4 002CFE54 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D2EF8 002CFE58 40 81 00 08 */ ble lbl_802D2F00 +/* 802D2EFC 002CFE5C 48 00 00 08 */ b lbl_802D2F04 +lbl_802D2F00: +/* 802D2F00 002CFE60 FC 60 00 90 */ fmr f3, f0 +lbl_802D2F04: +/* 802D2F04 002CFE64 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D2F08 002CFE68 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802D2F0C 002CFE6C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D2F10 002CFE70 40 80 00 08 */ bge lbl_802D2F18 +/* 802D2F14 002CFE74 48 00 00 08 */ b lbl_802D2F1C +lbl_802D2F18: +/* 802D2F18 002CFE78 FC 80 00 90 */ fmr f4, f0 +lbl_802D2F1C: +/* 802D2F1C 002CFE7C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802D2F20 002CFE80 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 802D2F24 002CFE84 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802D2F28 002CFE88 40 80 00 08 */ bge lbl_802D2F30 +/* 802D2F2C 002CFE8C 48 00 00 08 */ b lbl_802D2F34 +lbl_802D2F30: +/* 802D2F30 002CFE90 FC A0 00 90 */ fmr f5, f0 +lbl_802D2F34: +/* 802D2F34 002CFE94 FC 01 20 40 */ fcmpo cr0, f1, f4 +/* 802D2F38 002CFE98 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802D2F3C 002CFE9C C0 23 00 14 */ lfs f1, 0x14(r3) +/* 802D2F40 002CFEA0 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F44 002CFEA4 41 82 00 2C */ beq lbl_802D2F70 +/* 802D2F48 002CFEA8 FC 02 28 40 */ fcmpo cr0, f2, f5 +/* 802D2F4C 002CFEAC 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F50 002CFEB0 41 82 00 20 */ beq lbl_802D2F70 +/* 802D2F54 002CFEB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D2F58 002CFEB8 40 80 00 08 */ bge lbl_802D2F60 +/* 802D2F5C 002CFEBC 48 00 00 08 */ b lbl_802D2F64 +lbl_802D2F60: +/* 802D2F60 002CFEC0 FC 20 00 90 */ fmr f1, f0 +lbl_802D2F64: +/* 802D2F64 002CFEC4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D2F68 002CFEC8 4C 41 13 82 */ cror 2, 1, 2 +/* 802D2F6C 002CFECC 40 82 00 0C */ bne lbl_802D2F78 +lbl_802D2F70: +/* 802D2F70 002CFED0 38 60 00 00 */ li r3, 0 +/* 802D2F74 002CFED4 4E 80 00 20 */ blr +lbl_802D2F78: +/* 802D2F78 002CFED8 38 60 00 01 */ li r3, 1 +/* 802D2F7C 002CFEDC 4E 80 00 20 */ blr + +.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf +RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf: +/* 802D2F80 002CFEE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802D2F84 002CFEE4 38 00 00 03 */ li r0, 3 +/* 802D2F88 002CFEE8 C0 22 C4 CC */ lfs f1, lbl_805AE1EC@sda21(r2) +/* 802D2F8C 002CFEEC C0 43 00 00 */ lfs f2, 0(r3) +/* 802D2F90 002CFEF0 38 E1 00 08 */ addi r7, r1, 8 +/* 802D2F94 002CFEF4 C1 03 00 04 */ lfs f8, 4(r3) +/* 802D2F98 002CFEF8 39 01 00 14 */ addi r8, r1, 0x14 +/* 802D2F9C 002CFEFC C0 E3 00 08 */ lfs f7, 8(r3) +/* 802D2FA0 002CFF00 C0 C3 00 2C */ lfs f6, 0x2c(r3) +/* 802D2FA4 002CFF04 C0 A3 00 30 */ lfs f5, 0x30(r3) +/* 802D2FA8 002CFF08 C0 83 00 34 */ lfs f4, 0x34(r3) +/* 802D2FAC 002CFF0C 38 64 00 0C */ addi r3, r4, 0xc +/* 802D2FB0 002CFF10 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802D2FB4 002CFF14 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) +/* 802D2FB8 002CFF18 D0 25 00 00 */ stfs f1, 0(r5) +/* 802D2FBC 002CFF1C C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) +/* 802D2FC0 002CFF20 C0 42 C5 04 */ lfs f2, lbl_805AE224@sda21(r2) +/* 802D2FC4 002CFF24 D1 01 00 18 */ stfs f8, 0x18(r1) +/* 802D2FC8 002CFF28 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802D2FCC 002CFF2C D0 C1 00 08 */ stfs f6, 8(r1) +/* 802D2FD0 002CFF30 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802D2FD4 002CFF34 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802D2FD8 002CFF38 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D2FDC 002CFF3C 7C 09 03 A6 */ mtctr r0 +lbl_802D2FE0: +/* 802D2FE0 002CFF40 C0 C7 00 00 */ lfs f6, 0(r7) +/* 802D2FE4 002CFF44 C0 A8 00 00 */ lfs f5, 0(r8) +/* 802D2FE8 002CFF48 EC 06 18 28 */ fsubs f0, f6, f3 +/* 802D2FEC 002CFF4C C0 84 00 00 */ lfs f4, 0(r4) +/* 802D2FF0 002CFF50 C0 E3 00 00 */ lfs f7, 0(r3) +/* 802D2FF4 002CFF54 FC 00 02 10 */ fabs f0, f0 +/* 802D2FF8 002CFF58 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802D2FFC 002CFF5C 40 80 00 1C */ bge lbl_802D3018 +/* 802D3000 002CFF60 FC 05 20 40 */ fcmpo cr0, f5, f4 +/* 802D3004 002CFF64 41 80 00 0C */ blt lbl_802D3010 +/* 802D3008 002CFF68 FC 05 38 40 */ fcmpo cr0, f5, f7 +/* 802D300C 002CFF6C 40 81 00 98 */ ble lbl_802D30A4 +lbl_802D3010: +/* 802D3010 002CFF70 38 60 00 00 */ li r3, 0 +/* 802D3014 002CFF74 48 00 00 C4 */ b lbl_802D30D8 +lbl_802D3018: +/* 802D3018 002CFF78 FC 06 18 40 */ fcmpo cr0, f6, f3 +/* 802D301C 002CFF7C 40 80 00 48 */ bge lbl_802D3064 +/* 802D3020 002CFF80 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D3024 002CFF84 EC E7 28 28 */ fsubs f7, f7, f5 +/* 802D3028 002CFF88 C0 05 00 00 */ lfs f0, 0(r5) +/* 802D302C 002CFF8C EC 84 28 28 */ fsubs f4, f4, f5 +/* 802D3030 002CFF90 EC 21 30 24 */ fdivs f1, f1, f6 +/* 802D3034 002CFF94 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3038 002CFF98 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 802D303C 002CFF9C 40 80 00 0C */ bge lbl_802D3048 +/* 802D3040 002CFFA0 EC 07 00 72 */ fmuls f0, f7, f1 +/* 802D3044 002CFFA4 D0 05 00 00 */ stfs f0, 0(r5) +lbl_802D3048: +/* 802D3048 002CFFA8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802D304C 002CFFAC EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3050 002CFFB0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3054 002CFFB4 40 81 00 50 */ ble lbl_802D30A4 +/* 802D3058 002CFFB8 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802D305C 002CFFBC D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3060 002CFFC0 48 00 00 44 */ b lbl_802D30A4 +lbl_802D3064: +/* 802D3064 002CFFC4 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D3068 002CFFC8 EC 84 28 28 */ fsubs f4, f4, f5 +/* 802D306C 002CFFCC C0 05 00 00 */ lfs f0, 0(r5) +/* 802D3070 002CFFD0 EC A7 28 28 */ fsubs f5, f7, f5 +/* 802D3074 002CFFD4 EC 21 30 24 */ fdivs f1, f1, f6 +/* 802D3078 002CFFD8 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D307C 002CFFDC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3080 002CFFE0 40 81 00 0C */ ble lbl_802D308C +/* 802D3084 002CFFE4 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802D3088 002CFFE8 D0 05 00 00 */ stfs f0, 0(r5) +lbl_802D308C: +/* 802D308C 002CFFEC C0 06 00 00 */ lfs f0, 0(r6) +/* 802D3090 002CFFF0 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 802D3094 002CFFF4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802D3098 002CFFF8 40 80 00 0C */ bge lbl_802D30A4 +/* 802D309C 002CFFFC EC 05 00 72 */ fmuls f0, f5, f1 +/* 802D30A0 002D0000 D0 06 00 00 */ stfs f0, 0(r6) +lbl_802D30A4: +/* 802D30A4 002D0004 38 E7 00 04 */ addi r7, r7, 4 +/* 802D30A8 002D0008 39 08 00 04 */ addi r8, r8, 4 +/* 802D30AC 002D000C 38 84 00 04 */ addi r4, r4, 4 +/* 802D30B0 002D0010 38 63 00 04 */ addi r3, r3, 4 +/* 802D30B4 002D0014 42 00 FF 2C */ bdnz lbl_802D2FE0 +/* 802D30B8 002D0018 C0 25 00 00 */ lfs f1, 0(r5) +/* 802D30BC 002D001C C0 06 00 00 */ lfs f0, 0(r6) +/* 802D30C0 002D0020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D30C4 002D0024 4C 40 13 82 */ cror 2, 0, 2 +/* 802D30C8 002D0028 40 82 00 0C */ bne lbl_802D30D4 +/* 802D30CC 002D002C 38 60 00 02 */ li r3, 2 +/* 802D30D0 002D0030 48 00 00 08 */ b lbl_802D30D8 +lbl_802D30D4: +/* 802D30D4 002D0034 38 60 00 00 */ li r3, 0 +lbl_802D30D8: +/* 802D30D8 002D0038 38 21 00 20 */ addi r1, r1, 0x20 +/* 802D30DC 002D003C 4E 80 00 20 */ blr + +.global RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd +RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd: +/* 802D30E0 002D0040 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802D30E4 002D0044 7C 08 02 A6 */ mflr r0 +/* 802D30E8 002D0048 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802D30EC 002D004C DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802D30F0 002D0050 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802D30F4 002D0054 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802D30F8 002D0058 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802D30FC 002D005C DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802D3100 002D0060 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802D3104 002D0064 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802D3108 002D0068 3C E0 80 3D */ lis r7, lbl_803D0004@ha +/* 802D310C 002D006C 7C 7B 1B 78 */ mr r27, r3 +/* 802D3110 002D0070 84 67 6A 68 */ lwzu r3, 0x6a68(r7) +/* 802D3114 002D0074 7C BE 2B 78 */ mr r30, r5 +/* 802D3118 002D0078 7C 9C 23 78 */ mr r28, r4 +/* 802D311C 002D007C 7C DF 33 78 */ mr r31, r6 +/* 802D3120 002D0080 80 A7 00 04 */ lwz r5, lbl_803D0004@l(r7) +/* 802D3124 002D0084 7F 64 DB 78 */ mr r4, r27 +/* 802D3128 002D0088 80 07 00 08 */ lwz r0, 8(r7) +/* 802D312C 002D008C 3B A0 00 01 */ li r29, 1 +/* 802D3130 002D0090 90 61 00 08 */ stw r3, 8(r1) +/* 802D3134 002D0094 38 61 00 90 */ addi r3, r1, 0x90 +/* 802D3138 002D0098 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802D313C 002D009C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3140 002D00A0 48 04 14 45 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3144 002D00A4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802D3148 002D00A8 38 9B 00 18 */ addi r4, r27, 0x18 +/* 802D314C 002D00AC 48 04 14 39 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3150 002D00B0 3C 60 80 3D */ lis r3, lbl_803D6A78@ha +/* 802D3154 002D00B4 7F 84 E3 78 */ mr r4, r28 +/* 802D3158 002D00B8 38 A3 6A 78 */ addi r5, r3, lbl_803D6A78@l +/* 802D315C 002D00BC 38 61 00 48 */ addi r3, r1, 0x48 +/* 802D3160 002D00C0 C8 45 00 00 */ lfd f2, 0(r5) +/* 802D3164 002D00C4 C8 25 00 08 */ lfd f1, 8(r5) +/* 802D3168 002D00C8 C8 05 00 10 */ lfd f0, 0x10(r5) +/* 802D316C 002D00CC D8 41 00 60 */ stfd f2, 0x60(r1) +/* 802D3170 002D00D0 D8 21 00 68 */ stfd f1, 0x68(r1) +/* 802D3174 002D00D4 D8 01 00 70 */ stfd f0, 0x70(r1) +/* 802D3178 002D00D8 48 04 14 0D */ bl __ct__9CVector3dFRC9CVector3f +/* 802D317C 002D00DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802D3180 002D00E0 38 9C 00 0C */ addi r4, r28, 0xc +/* 802D3184 002D00E4 48 04 14 01 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3188 002D00E8 C8 22 C4 A0 */ lfd f1, lbl_805AE1C0@sda21(r2) +/* 802D318C 002D00EC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802D3190 002D00F0 FC 40 08 90 */ fmr f2, f1 +/* 802D3194 002D00F4 FC 60 08 90 */ fmr f3, f1 +/* 802D3198 002D00F8 48 04 14 09 */ bl __ct__9CVector3dFddd +/* 802D319C 002D00FC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D31A0 002D0100 C8 41 00 78 */ lfd f2, 0x78(r1) +/* 802D31A4 002D0104 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D31A8 002D0108 41 82 01 24 */ beq lbl_802D32CC +/* 802D31AC 002D010C C8 61 00 80 */ lfd f3, 0x80(r1) +/* 802D31B0 002D0110 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 802D31B4 002D0114 41 82 01 18 */ beq lbl_802D32CC +/* 802D31B8 002D0118 C8 81 00 88 */ lfd f4, 0x88(r1) +/* 802D31BC 002D011C FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 802D31C0 002D0120 41 82 01 0C */ beq lbl_802D32CC +/* 802D31C4 002D0124 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D31C8 002D0128 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D31CC 002D012C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D31D0 002D0130 40 80 00 20 */ bge lbl_802D31F0 +/* 802D31D4 002D0134 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D31D8 002D0138 38 00 00 01 */ li r0, 1 +/* 802D31DC 002D013C 90 01 00 08 */ stw r0, 8(r1) +/* 802D31E0 002D0140 3B A0 00 00 */ li r29, 0 +/* 802D31E4 002D0144 FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D31E8 002D0148 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 802D31EC 002D014C 48 00 00 28 */ b lbl_802D3214 +lbl_802D31F0: +/* 802D31F0 002D0150 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D31F4 002D0154 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D31F8 002D0158 40 81 00 1C */ ble lbl_802D3214 +/* 802D31FC 002D015C FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3200 002D0160 38 00 00 00 */ li r0, 0 +/* 802D3204 002D0164 90 01 00 08 */ stw r0, 8(r1) +/* 802D3208 002D0168 3B A0 00 00 */ li r29, 0 +/* 802D320C 002D016C FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D3210 002D0170 D8 01 00 60 */ stfd f0, 0x60(r1) +lbl_802D3214: +/* 802D3214 002D0174 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802D3218 002D0178 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D321C 002D017C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3220 002D0180 40 80 00 20 */ bge lbl_802D3240 +/* 802D3224 002D0184 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3228 002D0188 38 00 00 01 */ li r0, 1 +/* 802D322C 002D018C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3230 002D0190 3B A0 00 00 */ li r29, 0 +/* 802D3234 002D0194 FC 00 18 24 */ fdiv f0, f0, f3 +/* 802D3238 002D0198 D8 01 00 68 */ stfd f0, 0x68(r1) +/* 802D323C 002D019C 48 00 00 28 */ b lbl_802D3264 +lbl_802D3240: +/* 802D3240 002D01A0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D3244 002D01A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3248 002D01A8 40 81 00 1C */ ble lbl_802D3264 +/* 802D324C 002D01AC FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3250 002D01B0 38 00 00 00 */ li r0, 0 +/* 802D3254 002D01B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3258 002D01B8 3B A0 00 00 */ li r29, 0 +/* 802D325C 002D01BC FC 00 18 24 */ fdiv f0, f0, f3 +/* 802D3260 002D01C0 D8 01 00 68 */ stfd f0, 0x68(r1) +lbl_802D3264: +/* 802D3264 002D01C4 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802D3268 002D01C8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D326C 002D01CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3270 002D01D0 40 80 00 20 */ bge lbl_802D3290 +/* 802D3274 002D01D4 FC 00 08 28 */ fsub f0, f0, f1 +/* 802D3278 002D01D8 38 00 00 01 */ li r0, 1 +/* 802D327C 002D01DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3280 002D01E0 3B A0 00 00 */ li r29, 0 +/* 802D3284 002D01E4 FC 00 20 24 */ fdiv f0, f0, f4 +/* 802D3288 002D01E8 D8 01 00 70 */ stfd f0, 0x70(r1) +/* 802D328C 002D01EC 48 00 00 28 */ b lbl_802D32B4 +lbl_802D3290: +/* 802D3290 002D01F0 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3294 002D01F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3298 002D01F8 40 81 00 1C */ ble lbl_802D32B4 +/* 802D329C 002D01FC FC 00 08 28 */ fsub f0, f0, f1 +/* 802D32A0 002D0200 38 00 00 00 */ li r0, 0 +/* 802D32A4 002D0204 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D32A8 002D0208 3B A0 00 00 */ li r29, 0 +/* 802D32AC 002D020C FC 00 20 24 */ fdiv f0, f0, f4 +/* 802D32B0 002D0210 D8 01 00 70 */ stfd f0, 0x70(r1) +lbl_802D32B4: +/* 802D32B4 002D0214 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802D32B8 002D0218 41 82 01 60 */ beq lbl_802D3418 +/* 802D32BC 002D021C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D32C0 002D0220 38 60 00 01 */ li r3, 1 +/* 802D32C4 002D0224 D8 1F 00 00 */ stfd f0, 0(r31) +/* 802D32C8 002D0228 48 00 02 9C */ b lbl_802D3564 +lbl_802D32CC: +/* 802D32CC 002D022C C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D32D0 002D0230 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D32D4 002D0234 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D32D8 002D0238 40 80 00 18 */ bge lbl_802D32F0 +/* 802D32DC 002D023C 38 00 00 01 */ li r0, 1 +/* 802D32E0 002D0240 FF E0 00 90 */ fmr f31, f0 +/* 802D32E4 002D0244 90 01 00 08 */ stw r0, 8(r1) +/* 802D32E8 002D0248 3B A0 00 00 */ li r29, 0 +/* 802D32EC 002D024C 48 00 00 20 */ b lbl_802D330C +lbl_802D32F0: +/* 802D32F0 002D0250 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D32F4 002D0254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D32F8 002D0258 40 81 00 14 */ ble lbl_802D330C +/* 802D32FC 002D025C 38 00 00 00 */ li r0, 0 +/* 802D3300 002D0260 FF E0 00 90 */ fmr f31, f0 +/* 802D3304 002D0264 90 01 00 08 */ stw r0, 8(r1) +/* 802D3308 002D0268 3B A0 00 00 */ li r29, 0 +lbl_802D330C: +/* 802D330C 002D026C C8 61 00 98 */ lfd f3, 0x98(r1) +/* 802D3310 002D0270 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D3314 002D0274 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3318 002D0278 40 80 00 18 */ bge lbl_802D3330 +/* 802D331C 002D027C 38 00 00 01 */ li r0, 1 +/* 802D3320 002D0280 FF C0 00 90 */ fmr f30, f0 +/* 802D3324 002D0284 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3328 002D0288 3B A0 00 00 */ li r29, 0 +/* 802D332C 002D028C 48 00 00 20 */ b lbl_802D334C +lbl_802D3330: +/* 802D3330 002D0290 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D3334 002D0294 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3338 002D0298 40 81 00 14 */ ble lbl_802D334C +/* 802D333C 002D029C 38 00 00 00 */ li r0, 0 +/* 802D3340 002D02A0 FF C0 00 90 */ fmr f30, f0 +/* 802D3344 002D02A4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802D3348 002D02A8 3B A0 00 00 */ li r29, 0 +lbl_802D334C: +/* 802D334C 002D02AC C8 81 00 A0 */ lfd f4, 0xa0(r1) +/* 802D3350 002D02B0 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D3354 002D02B4 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3358 002D02B8 40 80 00 18 */ bge lbl_802D3370 +/* 802D335C 002D02BC 38 00 00 01 */ li r0, 1 +/* 802D3360 002D02C0 FF A0 00 90 */ fmr f29, f0 +/* 802D3364 002D02C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3368 002D02C8 3B A0 00 00 */ li r29, 0 +/* 802D336C 002D02CC 48 00 00 20 */ b lbl_802D338C +lbl_802D3370: +/* 802D3370 002D02D0 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3374 002D02D4 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802D3378 002D02D8 40 81 00 14 */ ble lbl_802D338C +/* 802D337C 002D02DC 38 00 00 00 */ li r0, 0 +/* 802D3380 002D02E0 FF A0 00 90 */ fmr f29, f0 +/* 802D3384 002D02E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802D3388 002D02E8 3B A0 00 00 */ li r29, 0 +lbl_802D338C: +/* 802D338C 002D02EC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802D3390 002D02F0 41 82 00 14 */ beq lbl_802D33A4 +/* 802D3394 002D02F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3398 002D02F8 38 60 00 01 */ li r3, 1 +/* 802D339C 002D02FC D8 1F 00 00 */ stfd f0, 0(r31) +/* 802D33A0 002D0300 48 00 01 C4 */ b lbl_802D3564 +lbl_802D33A4: +/* 802D33A4 002D0304 80 01 00 08 */ lwz r0, 8(r1) +/* 802D33A8 002D0308 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33AC 002D030C 41 82 00 1C */ beq lbl_802D33C8 +/* 802D33B0 002D0310 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D33B4 002D0314 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802D33B8 002D0318 41 82 00 10 */ beq lbl_802D33C8 +/* 802D33BC 002D031C FC 1F 08 28 */ fsub f0, f31, f1 +/* 802D33C0 002D0320 FC 00 10 24 */ fdiv f0, f0, f2 +/* 802D33C4 002D0324 D8 01 00 60 */ stfd f0, 0x60(r1) +lbl_802D33C8: +/* 802D33C8 002D0328 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802D33CC 002D032C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33D0 002D0330 41 82 00 20 */ beq lbl_802D33F0 +/* 802D33D4 002D0334 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D33D8 002D0338 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 802D33DC 002D033C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802D33E0 002D0340 41 82 00 10 */ beq lbl_802D33F0 +/* 802D33E4 002D0344 FC 1E 18 28 */ fsub f0, f30, f3 +/* 802D33E8 002D0348 FC 00 08 24 */ fdiv f0, f0, f1 +/* 802D33EC 002D034C D8 01 00 68 */ stfd f0, 0x68(r1) +lbl_802D33F0: +/* 802D33F0 002D0350 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802D33F4 002D0354 2C 00 00 02 */ cmpwi r0, 2 +/* 802D33F8 002D0358 41 82 00 20 */ beq lbl_802D3418 +/* 802D33FC 002D035C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3400 002D0360 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 802D3404 002D0364 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802D3408 002D0368 41 82 00 10 */ beq lbl_802D3418 +/* 802D340C 002D036C FC 1D 20 28 */ fsub f0, f29, f4 +/* 802D3410 002D0370 FC 00 08 24 */ fdiv f0, f0, f1 +/* 802D3414 002D0374 D8 01 00 70 */ stfd f0, 0x70(r1) +lbl_802D3418: +/* 802D3418 002D0378 C8 61 00 60 */ lfd f3, 0x60(r1) +/* 802D341C 002D037C 38 A0 00 00 */ li r5, 0 +/* 802D3420 002D0380 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802D3424 002D0384 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3428 002D0388 40 80 00 0C */ bge lbl_802D3434 +/* 802D342C 002D038C 38 A0 00 01 */ li r5, 1 +/* 802D3430 002D0390 FC 60 00 90 */ fmr f3, f0 +lbl_802D3434: +/* 802D3434 002D0394 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802D3438 002D0398 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D343C 002D039C 40 80 00 0C */ bge lbl_802D3448 +/* 802D3440 002D03A0 38 A0 00 02 */ li r5, 2 +/* 802D3444 002D03A4 FC 60 00 90 */ fmr f3, f0 +lbl_802D3448: +/* 802D3448 002D03A8 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D344C 002D03AC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3450 002D03B0 40 80 00 0C */ bge lbl_802D345C +/* 802D3454 002D03B4 38 60 00 00 */ li r3, 0 +/* 802D3458 002D03B8 48 00 01 0C */ b lbl_802D3564 +lbl_802D345C: +/* 802D345C 002D03BC C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) +/* 802D3460 002D03C0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3464 002D03C4 40 81 00 0C */ ble lbl_802D3470 +/* 802D3468 002D03C8 38 60 00 00 */ li r3, 0 +/* 802D346C 002D03CC 48 00 00 F8 */ b lbl_802D3564 +lbl_802D3470: +/* 802D3470 002D03D0 2C 05 00 00 */ cmpwi r5, 0 +/* 802D3474 002D03D4 41 82 00 30 */ beq lbl_802D34A4 +/* 802D3478 002D03D8 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 802D347C 002D03DC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802D3480 002D03E0 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D3484 002D03E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3488 002D03E8 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 802D348C 002D03EC 41 80 00 10 */ blt lbl_802D349C +/* 802D3490 002D03F0 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802D3494 002D03F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3498 002D03F8 40 81 00 0C */ ble lbl_802D34A4 +lbl_802D349C: +/* 802D349C 002D03FC 38 60 00 00 */ li r3, 0 +/* 802D34A0 002D0400 48 00 00 C4 */ b lbl_802D3564 +lbl_802D34A4: +/* 802D34A4 002D0404 2C 05 00 01 */ cmpwi r5, 1 +/* 802D34A8 002D0408 41 82 00 34 */ beq lbl_802D34DC +/* 802D34AC 002D040C C8 41 00 80 */ lfd f2, 0x80(r1) +/* 802D34B0 002D0410 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802D34B4 002D0414 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802D34B8 002D0418 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D34BC 002D041C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34C0 002D0420 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 802D34C4 002D0424 41 80 00 10 */ blt lbl_802D34D4 +/* 802D34C8 002D0428 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802D34CC 002D042C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34D0 002D0430 40 81 00 0C */ ble lbl_802D34DC +lbl_802D34D4: +/* 802D34D4 002D0434 38 60 00 00 */ li r3, 0 +/* 802D34D8 002D0438 48 00 00 8C */ b lbl_802D3564 +lbl_802D34DC: +/* 802D34DC 002D043C 2C 05 00 02 */ cmpwi r5, 2 +/* 802D34E0 002D0440 41 82 00 34 */ beq lbl_802D3514 +/* 802D34E4 002D0444 C8 41 00 88 */ lfd f2, 0x88(r1) +/* 802D34E8 002D0448 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802D34EC 002D044C C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802D34F0 002D0450 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802D34F4 002D0454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D34F8 002D0458 D8 21 00 28 */ stfd f1, 0x28(r1) +/* 802D34FC 002D045C 41 80 00 10 */ blt lbl_802D350C +/* 802D3500 002D0460 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802D3504 002D0464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3508 002D0468 40 81 00 0C */ ble lbl_802D3514 +lbl_802D350C: +/* 802D350C 002D046C 38 60 00 00 */ li r3, 0 +/* 802D3510 002D0470 48 00 00 54 */ b lbl_802D3564 +lbl_802D3514: +/* 802D3514 002D0474 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D3518 002D0478 D8 7F 00 00 */ stfd f3, 0(r31) +/* 802D351C 002D047C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802D3520 002D0480 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D3524 002D0484 C0 04 00 00 */ lfs f0, 0(r4) +/* 802D3528 002D0488 38 61 00 08 */ addi r3, r1, 8 +/* 802D352C 002D048C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D3530 002D0490 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D3534 002D0494 2C 00 00 01 */ cmpwi r0, 1 +/* 802D3538 002D0498 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D353C 002D049C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802D3540 002D04A0 C0 04 00 08 */ lfs f0, 8(r4) +/* 802D3544 002D04A4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802D3548 002D04A8 40 82 00 0C */ bne lbl_802D3554 +/* 802D354C 002D04AC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D3550 002D04B0 48 00 00 08 */ b lbl_802D3558 +lbl_802D3554: +/* 802D3554 002D04B4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D3558: +/* 802D3558 002D04B8 54 A0 10 3A */ slwi r0, r5, 2 +/* 802D355C 002D04BC 38 60 00 02 */ li r3, 2 +/* 802D3560 002D04C0 7C 1E 05 2E */ stfsx f0, r30, r0 +lbl_802D3564: +/* 802D3564 002D04C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802D3568 002D04C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802D356C 002D04CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802D3570 002D04D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802D3574 002D04D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802D3578 002D04D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802D357C 002D04DC BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802D3580 002D04E0 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802D3584 002D04E4 7C 08 03 A6 */ mtlr r0 +/* 802D3588 002D04E8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802D358C 002D04EC 4E 80 00 20 */ blr + +.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf +RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf: +/* 802D3590 002D04F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802D3594 002D04F4 3C E0 80 3D */ lis r7, lbl_803D6A50@ha +/* 802D3598 002D04F8 3D 00 80 3D */ lis r8, lbl_803D6A5C@ha +/* 802D359C 002D04FC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D35A0 002D0500 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802D35A4 002D0504 39 27 6A 50 */ addi r9, r7, lbl_803D6A50@l +/* 802D35A8 002D0508 3C E0 80 5A */ lis r7, skZero3f@ha +/* 802D35AC 002D050C 39 48 6A 5C */ addi r10, r8, lbl_803D6A5C@l +/* 802D35B0 002D0510 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802D35B4 002D0514 3B C0 00 01 */ li r30, 1 +/* 802D35B8 002D0518 C4 87 66 A0 */ lfsu f4, skZero3f@l(r7) +/* 802D35BC 002D051C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802D35C0 002D0520 83 E9 00 00 */ lwz r31, 0(r9) +/* 802D35C4 002D0524 81 89 00 04 */ lwz r12, 4(r9) +/* 802D35C8 002D0528 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802D35CC 002D052C 81 69 00 08 */ lwz r11, 8(r9) +/* 802D35D0 002D0530 81 2A 00 00 */ lwz r9, 0(r10) +/* 802D35D4 002D0534 81 0A 00 04 */ lwz r8, 4(r10) +/* 802D35D8 002D0538 80 0A 00 08 */ lwz r0, 8(r10) +/* 802D35DC 002D053C C0 67 00 04 */ lfs f3, 4(r7) +/* 802D35E0 002D0540 C0 47 00 08 */ lfs f2, 8(r7) +/* 802D35E4 002D0544 93 E1 00 20 */ stw r31, 0x20(r1) +/* 802D35E8 002D0548 91 81 00 24 */ stw r12, 0x24(r1) +/* 802D35EC 002D054C 91 61 00 28 */ stw r11, 0x28(r1) +/* 802D35F0 002D0550 91 21 00 14 */ stw r9, 0x14(r1) +/* 802D35F4 002D0554 91 01 00 18 */ stw r8, 0x18(r1) +/* 802D35F8 002D0558 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802D35FC 002D055C D0 81 00 08 */ stfs f4, 8(r1) +/* 802D3600 002D0560 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802D3604 002D0564 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802D3608 002D0568 41 82 01 24 */ beq lbl_802D372C +/* 802D360C 002D056C C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 802D3610 002D0570 FC 01 18 00 */ fcmpu cr0, f1, f3 +/* 802D3614 002D0574 41 82 01 18 */ beq lbl_802D372C +/* 802D3618 002D0578 C0 83 00 20 */ lfs f4, 0x20(r3) +/* 802D361C 002D057C FC 01 20 00 */ fcmpu cr0, f1, f4 +/* 802D3620 002D0580 41 82 01 0C */ beq lbl_802D372C +/* 802D3624 002D0584 C0 23 00 00 */ lfs f1, 0(r3) +/* 802D3628 002D0588 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D362C 002D058C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3630 002D0590 40 80 00 20 */ bge lbl_802D3650 +/* 802D3634 002D0594 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3638 002D0598 38 00 00 01 */ li r0, 1 +/* 802D363C 002D059C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3640 002D05A0 3B C0 00 00 */ li r30, 0 +/* 802D3644 002D05A4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3648 002D05A8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802D364C 002D05AC 48 00 00 28 */ b lbl_802D3674 +lbl_802D3650: +/* 802D3650 002D05B0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 802D3654 002D05B4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3658 002D05B8 40 81 00 1C */ ble lbl_802D3674 +/* 802D365C 002D05BC EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3660 002D05C0 38 00 00 00 */ li r0, 0 +/* 802D3664 002D05C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3668 002D05C8 3B C0 00 00 */ li r30, 0 +/* 802D366C 002D05CC EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3670 002D05D0 D0 21 00 14 */ stfs f1, 0x14(r1) +lbl_802D3674: +/* 802D3674 002D05D4 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D3678 002D05D8 C0 44 00 04 */ lfs f2, 4(r4) +/* 802D367C 002D05DC FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D3680 002D05E0 40 80 00 20 */ bge lbl_802D36A0 +/* 802D3684 002D05E4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3688 002D05E8 38 00 00 01 */ li r0, 1 +/* 802D368C 002D05EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D3690 002D05F0 3B C0 00 00 */ li r30, 0 +/* 802D3694 002D05F4 EC 21 18 24 */ fdivs f1, f1, f3 +/* 802D3698 002D05F8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802D369C 002D05FC 48 00 00 28 */ b lbl_802D36C4 +lbl_802D36A0: +/* 802D36A0 002D0600 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802D36A4 002D0604 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36A8 002D0608 40 81 00 1C */ ble lbl_802D36C4 +/* 802D36AC 002D060C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D36B0 002D0610 38 00 00 00 */ li r0, 0 +/* 802D36B4 002D0614 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D36B8 002D0618 3B C0 00 00 */ li r30, 0 +/* 802D36BC 002D061C EC 21 18 24 */ fdivs f1, f1, f3 +/* 802D36C0 002D0620 D0 21 00 18 */ stfs f1, 0x18(r1) +lbl_802D36C4: +/* 802D36C4 002D0624 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D36C8 002D0628 C0 44 00 08 */ lfs f2, 8(r4) +/* 802D36CC 002D062C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36D0 002D0630 40 80 00 20 */ bge lbl_802D36F0 +/* 802D36D4 002D0634 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D36D8 002D0638 38 00 00 01 */ li r0, 1 +/* 802D36DC 002D063C 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D36E0 002D0640 3B C0 00 00 */ li r30, 0 +/* 802D36E4 002D0644 EC 21 20 24 */ fdivs f1, f1, f4 +/* 802D36E8 002D0648 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802D36EC 002D064C 48 00 00 28 */ b lbl_802D3714 +lbl_802D36F0: +/* 802D36F0 002D0650 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802D36F4 002D0654 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802D36F8 002D0658 40 81 00 1C */ ble lbl_802D3714 +/* 802D36FC 002D065C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802D3700 002D0660 38 00 00 00 */ li r0, 0 +/* 802D3704 002D0664 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D3708 002D0668 3B C0 00 00 */ li r30, 0 +/* 802D370C 002D066C EC 21 20 24 */ fdivs f1, f1, f4 +/* 802D3710 002D0670 D0 21 00 1C */ stfs f1, 0x1c(r1) +lbl_802D3714: +/* 802D3714 002D0674 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802D3718 002D0678 41 82 01 60 */ beq lbl_802D3878 +/* 802D371C 002D067C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3720 002D0680 38 60 00 01 */ li r3, 1 +/* 802D3724 002D0684 D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3728 002D0688 48 00 02 98 */ b lbl_802D39C0 +lbl_802D372C: +/* 802D372C 002D068C C0 43 00 00 */ lfs f2, 0(r3) +/* 802D3730 002D0690 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D3734 002D0694 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D3738 002D0698 40 80 00 18 */ bge lbl_802D3750 +/* 802D373C 002D069C 38 00 00 01 */ li r0, 1 +/* 802D3740 002D06A0 FC A0 08 90 */ fmr f5, f1 +/* 802D3744 002D06A4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3748 002D06A8 3B C0 00 00 */ li r30, 0 +/* 802D374C 002D06AC 48 00 00 20 */ b lbl_802D376C +lbl_802D3750: +/* 802D3750 002D06B0 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 802D3754 002D06B4 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D3758 002D06B8 40 81 00 14 */ ble lbl_802D376C +/* 802D375C 002D06BC 38 00 00 00 */ li r0, 0 +/* 802D3760 002D06C0 FC A0 08 90 */ fmr f5, f1 +/* 802D3764 002D06C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 802D3768 002D06C8 3B C0 00 00 */ li r30, 0 +lbl_802D376C: +/* 802D376C 002D06CC C0 63 00 04 */ lfs f3, 4(r3) +/* 802D3770 002D06D0 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D3774 002D06D4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3778 002D06D8 40 80 00 18 */ bge lbl_802D3790 +/* 802D377C 002D06DC 38 00 00 01 */ li r0, 1 +/* 802D3780 002D06E0 FC C0 08 90 */ fmr f6, f1 +/* 802D3784 002D06E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D3788 002D06E8 3B C0 00 00 */ li r30, 0 +/* 802D378C 002D06EC 48 00 00 20 */ b lbl_802D37AC +lbl_802D3790: +/* 802D3790 002D06F0 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802D3794 002D06F4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3798 002D06F8 40 81 00 14 */ ble lbl_802D37AC +/* 802D379C 002D06FC 38 00 00 00 */ li r0, 0 +/* 802D37A0 002D0700 FC C0 08 90 */ fmr f6, f1 +/* 802D37A4 002D0704 90 01 00 24 */ stw r0, 0x24(r1) +/* 802D37A8 002D0708 3B C0 00 00 */ li r30, 0 +lbl_802D37AC: +/* 802D37AC 002D070C C0 83 00 08 */ lfs f4, 8(r3) +/* 802D37B0 002D0710 C0 24 00 08 */ lfs f1, 8(r4) +/* 802D37B4 002D0714 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802D37B8 002D0718 40 80 00 18 */ bge lbl_802D37D0 +/* 802D37BC 002D071C 38 00 00 01 */ li r0, 1 +/* 802D37C0 002D0720 FC E0 08 90 */ fmr f7, f1 +/* 802D37C4 002D0724 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D37C8 002D0728 3B C0 00 00 */ li r30, 0 +/* 802D37CC 002D072C 48 00 00 20 */ b lbl_802D37EC +lbl_802D37D0: +/* 802D37D0 002D0730 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802D37D4 002D0734 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802D37D8 002D0738 40 81 00 14 */ ble lbl_802D37EC +/* 802D37DC 002D073C 38 00 00 00 */ li r0, 0 +/* 802D37E0 002D0740 FC E0 08 90 */ fmr f7, f1 +/* 802D37E4 002D0744 90 01 00 28 */ stw r0, 0x28(r1) +/* 802D37E8 002D0748 3B C0 00 00 */ li r30, 0 +lbl_802D37EC: +/* 802D37EC 002D074C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802D37F0 002D0750 41 82 00 14 */ beq lbl_802D3804 +/* 802D37F4 002D0754 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D37F8 002D0758 38 60 00 01 */ li r3, 1 +/* 802D37FC 002D075C D0 06 00 00 */ stfs f0, 0(r6) +/* 802D3800 002D0760 48 00 01 C0 */ b lbl_802D39C0 +lbl_802D3804: +/* 802D3804 002D0764 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802D3808 002D0768 2C 00 00 02 */ cmpwi r0, 2 +/* 802D380C 002D076C 41 82 00 1C */ beq lbl_802D3828 +/* 802D3810 002D0770 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3814 002D0774 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802D3818 002D0778 41 82 00 10 */ beq lbl_802D3828 +/* 802D381C 002D077C EC 25 10 28 */ fsubs f1, f5, f2 +/* 802D3820 002D0780 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802D3824 002D0784 D0 21 00 14 */ stfs f1, 0x14(r1) +lbl_802D3828: +/* 802D3828 002D0788 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802D382C 002D078C 2C 00 00 02 */ cmpwi r0, 2 +/* 802D3830 002D0790 41 82 00 20 */ beq lbl_802D3850 +/* 802D3834 002D0794 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3838 002D0798 C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 802D383C 002D079C FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D3840 002D07A0 41 82 00 10 */ beq lbl_802D3850 +/* 802D3844 002D07A4 EC 26 18 28 */ fsubs f1, f6, f3 +/* 802D3848 002D07A8 EC 21 10 24 */ fdivs f1, f1, f2 +/* 802D384C 002D07AC D0 21 00 18 */ stfs f1, 0x18(r1) +lbl_802D3850: +/* 802D3850 002D07B0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802D3854 002D07B4 2C 00 00 02 */ cmpwi r0, 2 +/* 802D3858 002D07B8 41 82 00 20 */ beq lbl_802D3878 +/* 802D385C 002D07BC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3860 002D07C0 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 802D3864 002D07C4 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802D3868 002D07C8 41 82 00 10 */ beq lbl_802D3878 +/* 802D386C 002D07CC EC 27 20 28 */ fsubs f1, f7, f4 +/* 802D3870 002D07D0 EC 21 10 24 */ fdivs f1, f1, f2 +/* 802D3874 002D07D4 D0 21 00 1C */ stfs f1, 0x1c(r1) +lbl_802D3878: +/* 802D3878 002D07D8 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 802D387C 002D07DC 39 00 00 00 */ li r8, 0 +/* 802D3880 002D07E0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802D3884 002D07E4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D3888 002D07E8 40 80 00 0C */ bge lbl_802D3894 +/* 802D388C 002D07EC 39 00 00 01 */ li r8, 1 +/* 802D3890 002D07F0 FC 60 08 90 */ fmr f3, f1 +lbl_802D3894: +/* 802D3894 002D07F4 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802D3898 002D07F8 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D389C 002D07FC 40 80 00 0C */ bge lbl_802D38A8 +/* 802D38A0 002D0800 39 00 00 02 */ li r8, 2 +/* 802D38A4 002D0804 FC 60 08 90 */ fmr f3, f1 +lbl_802D38A8: +/* 802D38A8 002D0808 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D38AC 002D080C FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D38B0 002D0810 40 80 00 0C */ bge lbl_802D38BC +/* 802D38B4 002D0814 38 60 00 00 */ li r3, 0 +/* 802D38B8 002D0818 48 00 01 08 */ b lbl_802D39C0 +lbl_802D38BC: +/* 802D38BC 002D081C C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) +/* 802D38C0 002D0820 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802D38C4 002D0824 40 81 00 0C */ ble lbl_802D38D0 +/* 802D38C8 002D0828 38 60 00 00 */ li r3, 0 +/* 802D38CC 002D082C 48 00 00 F4 */ b lbl_802D39C0 +lbl_802D38D0: +/* 802D38D0 002D0830 2C 08 00 00 */ cmpwi r8, 0 +/* 802D38D4 002D0834 41 82 00 30 */ beq lbl_802D3904 +/* 802D38D8 002D0838 C0 43 00 00 */ lfs f2, 0(r3) +/* 802D38DC 002D083C C0 24 00 00 */ lfs f1, 0(r4) +/* 802D38E0 002D0840 EC 43 10 3A */ fmadds f2, f3, f0, f2 +/* 802D38E4 002D0844 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802D38E8 002D0848 D0 41 00 08 */ stfs f2, 8(r1) +/* 802D38EC 002D084C 41 80 00 10 */ blt lbl_802D38FC +/* 802D38F0 002D0850 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802D38F4 002D0854 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802D38F8 002D0858 40 81 00 0C */ ble lbl_802D3904 +lbl_802D38FC: +/* 802D38FC 002D085C 38 60 00 00 */ li r3, 0 +/* 802D3900 002D0860 48 00 00 C0 */ b lbl_802D39C0 +lbl_802D3904: +/* 802D3904 002D0864 2C 08 00 01 */ cmpwi r8, 1 +/* 802D3908 002D0868 41 82 00 34 */ beq lbl_802D393C +/* 802D390C 002D086C C0 43 00 1C */ lfs f2, 0x1c(r3) +/* 802D3910 002D0870 C0 23 00 04 */ lfs f1, 4(r3) +/* 802D3914 002D0874 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D3918 002D0878 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 802D391C 002D087C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3920 002D0880 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802D3924 002D0884 41 80 00 10 */ blt lbl_802D3934 +/* 802D3928 002D0888 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802D392C 002D088C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3930 002D0890 40 81 00 0C */ ble lbl_802D393C +lbl_802D3934: +/* 802D3934 002D0894 38 60 00 00 */ li r3, 0 +/* 802D3938 002D0898 48 00 00 88 */ b lbl_802D39C0 +lbl_802D393C: +/* 802D393C 002D089C 2C 08 00 02 */ cmpwi r8, 2 +/* 802D3940 002D08A0 41 82 00 34 */ beq lbl_802D3974 +/* 802D3944 002D08A4 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 802D3948 002D08A8 C0 23 00 08 */ lfs f1, 8(r3) +/* 802D394C 002D08AC C0 04 00 08 */ lfs f0, 8(r4) +/* 802D3950 002D08B0 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 802D3954 002D08B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3958 002D08B8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802D395C 002D08BC 41 80 00 10 */ blt lbl_802D396C +/* 802D3960 002D08C0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802D3964 002D08C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3968 002D08C8 40 81 00 0C */ ble lbl_802D3974 +lbl_802D396C: +/* 802D396C 002D08CC 38 60 00 00 */ li r3, 0 +/* 802D3970 002D08D0 48 00 00 50 */ b lbl_802D39C0 +lbl_802D3974: +/* 802D3974 002D08D4 D0 66 00 00 */ stfs f3, 0(r6) +/* 802D3978 002D08D8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802D397C 002D08DC 55 00 10 3A */ slwi r0, r8, 2 +/* 802D3980 002D08E0 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 802D3984 002D08E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D3988 002D08E8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802D398C 002D08EC D0 05 00 00 */ stfs f0, 0(r5) +/* 802D3990 002D08F0 2C 00 00 01 */ cmpwi r0, 1 +/* 802D3994 002D08F4 C0 07 00 04 */ lfs f0, 4(r7) +/* 802D3998 002D08F8 D0 05 00 04 */ stfs f0, 4(r5) +/* 802D399C 002D08FC C0 07 00 08 */ lfs f0, 8(r7) +/* 802D39A0 002D0900 D0 05 00 08 */ stfs f0, 8(r5) +/* 802D39A4 002D0904 40 82 00 0C */ bne lbl_802D39B0 +/* 802D39A8 002D0908 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) +/* 802D39AC 002D090C 48 00 00 08 */ b lbl_802D39B4 +lbl_802D39B0: +/* 802D39B0 002D0910 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +lbl_802D39B4: +/* 802D39B4 002D0914 55 00 10 3A */ slwi r0, r8, 2 +/* 802D39B8 002D0918 38 60 00 02 */ li r3, 2 +/* 802D39BC 002D091C 7C 05 05 2E */ stfsx f0, r5, r0 +lbl_802D39C0: +/* 802D39C0 002D0920 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802D39C4 002D0924 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802D39C8 002D0928 38 21 00 40 */ addi r1, r1, 0x40 +/* 802D39CC 002D092C 4E 80 00 20 */ blr + +.global RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd: +/* 802D39D0 002D0930 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802D39D4 002D0934 7C 08 02 A6 */ mflr r0 +/* 802D39D8 002D0938 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802D39DC 002D093C DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802D39E0 002D0940 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802D39E4 002D0944 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802D39E8 002D0948 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802D39EC 002D094C BF 41 00 98 */ stmw r26, 0x98(r1) +/* 802D39F0 002D0950 7C 7A 1B 78 */ mr r26, r3 +/* 802D39F4 002D0954 7C 9B 23 78 */ mr r27, r4 +/* 802D39F8 002D0958 7C BC 2B 78 */ mr r28, r5 +/* 802D39FC 002D095C 7C DD 33 78 */ mr r29, r6 +/* 802D3A00 002D0960 7F 44 D3 78 */ mr r4, r26 +/* 802D3A04 002D0964 38 61 00 20 */ addi r3, r1, 0x20 +/* 802D3A08 002D0968 3B C0 00 00 */ li r30, 0 +/* 802D3A0C 002D096C 48 04 0B 79 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A10 002D0970 7C 7F 1B 78 */ mr r31, r3 +/* 802D3A14 002D0974 7F 64 DB 78 */ mr r4, r27 +/* 802D3A18 002D0978 38 61 00 38 */ addi r3, r1, 0x38 +/* 802D3A1C 002D097C 48 04 0B 69 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A20 002D0980 7C 64 1B 78 */ mr r4, r3 +/* 802D3A24 002D0984 7F E5 FB 78 */ mr r5, r31 +/* 802D3A28 002D0988 38 61 00 50 */ addi r3, r1, 0x50 +/* 802D3A2C 002D098C 48 04 09 69 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802D3A30 002D0990 C8 41 00 50 */ lfd f2, 0x50(r1) +/* 802D3A34 002D0994 7F 84 E3 78 */ mr r4, r28 +/* 802D3A38 002D0998 C8 21 00 58 */ lfd f1, 0x58(r1) +/* 802D3A3C 002D099C 38 61 00 08 */ addi r3, r1, 8 +/* 802D3A40 002D09A0 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802D3A44 002D09A4 D8 41 00 80 */ stfd f2, 0x80(r1) +/* 802D3A48 002D09A8 D8 21 00 88 */ stfd f1, 0x88(r1) +/* 802D3A4C 002D09AC D8 01 00 90 */ stfd f0, 0x90(r1) +/* 802D3A50 002D09B0 48 04 0B 35 */ bl __ct__9CVector3dFRC9CVector3f +/* 802D3A54 002D09B4 C8 41 00 08 */ lfd f2, 8(r1) +/* 802D3A58 002D09B8 38 61 00 80 */ addi r3, r1, 0x80 +/* 802D3A5C 002D09BC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802D3A60 002D09C0 38 81 00 68 */ addi r4, r1, 0x68 +/* 802D3A64 002D09C4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802D3A68 002D09C8 D8 41 00 68 */ stfd f2, 0x68(r1) +/* 802D3A6C 002D09CC C3 FA 00 0C */ lfs f31, 0xc(r26) +/* 802D3A70 002D09D0 D8 21 00 70 */ stfd f1, 0x70(r1) +/* 802D3A74 002D09D4 D8 01 00 78 */ stfd f0, 0x78(r1) +/* 802D3A78 002D09D8 48 04 09 F5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802D3A7C 002D09DC C8 02 C4 B0 */ lfd f0, lbl_805AE1D0@sda21(r2) +/* 802D3A80 002D09E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 802D3A84 002D09E4 FF C0 00 72 */ fmul f30, f0, f1 +/* 802D3A88 002D09E8 48 04 0A 99 */ bl MagSquared__9CVector3dCFv +/* 802D3A8C 002D09EC FC 5F 0F FC */ fnmsub f2, f31, f31, f1 +/* 802D3A90 002D09F0 C8 22 C5 08 */ lfd f1, lbl_805AE228@sda21(r2) +/* 802D3A94 002D09F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3A98 002D09F8 FC 21 00 B2 */ fmul f1, f1, f2 +/* 802D3A9C 002D09FC FC 3E 0F B8 */ fmsub f1, f30, f30, f1 +/* 802D3AA0 002D0A00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3AA4 002D0A04 4C 41 13 82 */ cror 2, 1, 2 +/* 802D3AA8 002D0A08 40 82 00 38 */ bne lbl_802D3AE0 +/* 802D3AAC 002D0A0C 48 04 19 C5 */ bl SqrtD__5CMathFd +/* 802D3AB0 002D0A10 FC 40 F0 50 */ fneg f2, f30 +/* 802D3AB4 002D0A14 C8 62 C5 10 */ lfd f3, lbl_805AE230@sda21(r2) +/* 802D3AB8 002D0A18 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) +/* 802D3ABC 002D0A1C C8 9D 00 00 */ lfd f4, 0(r29) +/* 802D3AC0 002D0A20 FC 22 08 28 */ fsub f1, f2, f1 +/* 802D3AC4 002D0A24 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 802D3AC8 002D0A28 FC 03 00 72 */ fmul f0, f3, f1 +/* 802D3ACC 002D0A2C 41 82 00 0C */ beq lbl_802D3AD8 +/* 802D3AD0 002D0A30 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802D3AD4 002D0A34 40 80 00 0C */ bge lbl_802D3AE0 +lbl_802D3AD8: +/* 802D3AD8 002D0A38 D8 1D 00 00 */ stfd f0, 0(r29) +/* 802D3ADC 002D0A3C 3B C0 00 01 */ li r30, 1 +lbl_802D3AE0: +/* 802D3AE0 002D0A40 7F C3 F3 78 */ mr r3, r30 +/* 802D3AE4 002D0A44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802D3AE8 002D0A48 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802D3AEC 002D0A4C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802D3AF0 002D0A50 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802D3AF4 002D0A54 BB 41 00 98 */ lmw r26, 0x98(r1) +/* 802D3AF8 002D0A58 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802D3AFC 002D0A5C 7C 08 03 A6 */ mtlr r0 +/* 802D3B00 002D0A60 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802D3B04 002D0A64 4E 80 00 20 */ blr + +.global RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f: +/* 802D3B08 002D0A68 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D3B0C 002D0A6C 7C 08 02 A6 */ mflr r0 +/* 802D3B10 002D0A70 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D3B14 002D0A74 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802D3B18 002D0A78 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802D3B1C 002D0A7C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802D3B20 002D0A80 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802D3B24 002D0A84 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802D3B28 002D0A88 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802D3B2C 002D0A8C DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802D3B30 002D0A90 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802D3B34 002D0A94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802D3B38 002D0A98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802D3B3C 002D0A9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802D3B40 002D0AA0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802D3B44 002D0AA4 7C 9C 23 78 */ mr r28, r4 +/* 802D3B48 002D0AA8 7C BD 2B 78 */ mr r29, r5 +/* 802D3B4C 002D0AAC C0 43 00 04 */ lfs f2, 4(r3) +/* 802D3B50 002D0AB0 FF C0 08 90 */ fmr f30, f1 +/* 802D3B54 002D0AB4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802D3B58 002D0AB8 7C DE 33 78 */ mr r30, r6 +/* 802D3B5C 002D0ABC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 802D3B60 002D0AC0 7C FF 3B 78 */ mr r31, r7 +/* 802D3B64 002D0AC4 EC A2 00 28 */ fsubs f5, f2, f0 +/* 802D3B68 002D0AC8 C0 05 00 04 */ lfs f0, 4(r5) +/* 802D3B6C 002D0ACC EF E1 00 72 */ fmuls f31, f1, f1 +/* 802D3B70 002D0AD0 C0 63 00 00 */ lfs f3, 0(r3) +/* 802D3B74 002D0AD4 C0 44 00 00 */ lfs f2, 0(r4) +/* 802D3B78 002D0AD8 EC 25 00 32 */ fmuls f1, f5, f0 +/* 802D3B7C 002D0ADC C0 83 00 08 */ lfs f4, 8(r3) +/* 802D3B80 002D0AE0 EC 05 01 72 */ fmuls f0, f5, f5 +/* 802D3B84 002D0AE4 EC A3 10 28 */ fsubs f5, f3, f2 +/* 802D3B88 002D0AE8 C0 64 00 08 */ lfs f3, 8(r4) +/* 802D3B8C 002D0AEC C0 45 00 00 */ lfs f2, 0(r5) +/* 802D3B90 002D0AF0 EC 84 18 28 */ fsubs f4, f4, f3 +/* 802D3B94 002D0AF4 C0 65 00 08 */ lfs f3, 8(r5) +/* 802D3B98 002D0AF8 EC 45 08 BA */ fmadds f2, f5, f2, f1 +/* 802D3B9C 002D0AFC EC 25 01 7A */ fmadds f1, f5, f5, f0 +/* 802D3BA0 002D0B00 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3BA4 002D0B04 EF A4 10 FA */ fmadds f29, f4, f3, f2 +/* 802D3BA8 002D0B08 EF 84 09 3A */ fmadds f28, f4, f4, f1 +/* 802D3BAC 002D0B0C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802D3BB0 002D0B10 EC 1D 07 72 */ fmuls f0, f29, f29 +/* 802D3BB4 002D0B14 40 80 00 14 */ bge lbl_802D3BC8 +/* 802D3BB8 002D0B18 FC 1C F8 40 */ fcmpo cr0, f28, f31 +/* 802D3BBC 002D0B1C 40 81 00 0C */ ble lbl_802D3BC8 +/* 802D3BC0 002D0B20 38 60 00 00 */ li r3, 0 +/* 802D3BC4 002D0B24 48 00 00 9C */ b lbl_802D3C60 +lbl_802D3BC8: +/* 802D3BC8 002D0B28 EC 3C 00 28 */ fsubs f1, f28, f0 +/* 802D3BCC 002D0B2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3BD0 002D0B30 EC 3F 08 28 */ fsubs f1, f31, f1 +/* 802D3BD4 002D0B34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3BD8 002D0B38 40 80 00 0C */ bge lbl_802D3BE4 +/* 802D3BDC 002D0B3C 38 60 00 00 */ li r3, 0 +/* 802D3BE0 002D0B40 48 00 00 80 */ b lbl_802D3C60 +lbl_802D3BE4: +/* 802D3BE4 002D0B44 48 04 19 1D */ bl SqrtF__5CMathFf +/* 802D3BE8 002D0B48 FC 1C F8 40 */ fcmpo cr0, f28, f31 +/* 802D3BEC 002D0B4C 40 81 00 0C */ ble lbl_802D3BF8 +/* 802D3BF0 002D0B50 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 802D3BF4 002D0B54 48 00 00 08 */ b lbl_802D3BFC +lbl_802D3BF8: +/* 802D3BF8 002D0B58 EC 1D 08 2A */ fadds f0, f29, f1 +lbl_802D3BFC: +/* 802D3BFC 002D0B5C D0 1E 00 00 */ stfs f0, 0(r30) +/* 802D3C00 002D0B60 C0 DE 00 00 */ lfs f6, 0(r30) +/* 802D3C04 002D0B64 FC 06 F0 40 */ fcmpo cr0, f6, f30 +/* 802D3C08 002D0B68 41 80 00 10 */ blt lbl_802D3C18 +/* 802D3C0C 002D0B6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) +/* 802D3C10 002D0B70 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 802D3C14 002D0B74 40 82 00 48 */ bne lbl_802D3C5C +lbl_802D3C18: +/* 802D3C18 002D0B78 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802D3C1C 002D0B7C 38 60 00 01 */ li r3, 1 +/* 802D3C20 002D0B80 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802D3C24 002D0B84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802D3C28 002D0B88 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802D3C2C 002D0B8C C0 5D 00 08 */ lfs f2, 8(r29) +/* 802D3C30 002D0B90 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802D3C34 002D0B94 C0 BC 00 04 */ lfs f5, 4(r28) +/* 802D3C38 002D0B98 EC 01 00 2A */ fadds f0, f1, f0 +/* 802D3C3C 002D0B9C C0 7C 00 08 */ lfs f3, 8(r28) +/* 802D3C40 002D0BA0 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 802D3C44 002D0BA4 EC 45 20 2A */ fadds f2, f5, f4 +/* 802D3C48 002D0BA8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802D3C4C 002D0BAC EC 03 08 2A */ fadds f0, f3, f1 +/* 802D3C50 002D0BB0 D0 5F 00 04 */ stfs f2, 4(r31) +/* 802D3C54 002D0BB4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802D3C58 002D0BB8 48 00 00 08 */ b lbl_802D3C60 +lbl_802D3C5C: +/* 802D3C5C 002D0BBC 38 60 00 00 */ li r3, 0 +lbl_802D3C60: +/* 802D3C60 002D0BC0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802D3C64 002D0BC4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802D3C68 002D0BC8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802D3C6C 002D0BCC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802D3C70 002D0BD0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802D3C74 002D0BD4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802D3C78 002D0BD8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 802D3C7C 002D0BDC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 802D3C80 002D0BE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802D3C84 002D0BE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802D3C88 002D0BE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802D3C8C 002D0BEC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D3C90 002D0BF0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802D3C94 002D0BF4 7C 08 03 A6 */ mtlr r0 +/* 802D3C98 002D0BF8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D3C9C 002D0BFC 4E 80 00 20 */ blr + +.global RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f +RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f: +/* 802D3CA0 002D0C00 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802D3CA4 002D0C04 7C 08 02 A6 */ mflr r0 +/* 802D3CA8 002D0C08 90 01 00 64 */ stw r0, 0x64(r1) +/* 802D3CAC 002D0C0C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802D3CB0 002D0C10 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802D3CB4 002D0C14 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802D3CB8 002D0C18 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802D3CBC 002D0C1C DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802D3CC0 002D0C20 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802D3CC4 002D0C24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802D3CC8 002D0C28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802D3CCC 002D0C2C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802D3CD0 002D0C30 7C 7D 1B 78 */ mr r29, r3 +/* 802D3CD4 002D0C34 7C BE 2B 78 */ mr r30, r5 +/* 802D3CD8 002D0C38 C0 24 00 04 */ lfs f1, 4(r4) +/* 802D3CDC 002D0C3C 7C DF 33 78 */ mr r31, r6 +/* 802D3CE0 002D0C40 C0 03 00 04 */ lfs f0, 4(r3) +/* 802D3CE4 002D0C44 38 61 00 08 */ addi r3, r1, 8 +/* 802D3CE8 002D0C48 C0 64 00 08 */ lfs f3, 8(r4) +/* 802D3CEC 002D0C4C C0 5D 00 08 */ lfs f2, 8(r29) +/* 802D3CF0 002D0C50 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802D3CF4 002D0C54 C0 24 00 00 */ lfs f1, 0(r4) +/* 802D3CF8 002D0C58 38 81 00 14 */ addi r4, r1, 0x14 +/* 802D3CFC 002D0C5C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802D3D00 002D0C60 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3D04 002D0C64 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802D3D08 002D0C68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802D3D0C 002D0C6C C3 C5 00 00 */ lfs f30, 0(r5) +/* 802D3D10 002D0C70 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802D3D14 002D0C74 C3 A5 00 04 */ lfs f29, 4(r5) +/* 802D3D18 002D0C78 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802D3D1C 002D0C7C C3 E5 00 08 */ lfs f31, 8(r5) +/* 802D3D20 002D0C80 48 04 0B 31 */ bl AsNormalized__9CVector3fCFv +/* 802D3D24 002D0C84 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802D3D28 002D0C88 C0 41 00 08 */ lfs f2, 8(r1) +/* 802D3D2C 002D0C8C EC 20 07 72 */ fmuls f1, f0, f29 +/* 802D3D30 002D0C90 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802D3D34 002D0C94 C0 02 C5 18 */ lfs f0, lbl_805AE238@sda21(r2) +/* 802D3D38 002D0C98 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 802D3D3C 002D0C9C EC 23 0F FA */ fmadds f1, f3, f31, f1 +/* 802D3D40 002D0CA0 FC 20 0A 10 */ fabs f1, f1 +/* 802D3D44 002D0CA4 FC 20 08 18 */ frsp f1, f1 +/* 802D3D48 002D0CA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802D3D4C 002D0CAC 40 80 00 0C */ bge lbl_802D3D58 +/* 802D3D50 002D0CB0 38 60 00 00 */ li r3, 0 +/* 802D3D54 002D0CB4 48 00 00 8C */ b lbl_802D3DE0 +lbl_802D3D58: +/* 802D3D58 002D0CB8 C1 1D 00 04 */ lfs f8, 4(r29) +/* 802D3D5C 002D0CBC C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802D3D60 002D0CC0 EC 28 07 72 */ fmuls f1, f8, f29 +/* 802D3D64 002D0CC4 C0 FD 00 00 */ lfs f7, 0(r29) +/* 802D3D68 002D0CC8 C1 3D 00 08 */ lfs f9, 8(r29) +/* 802D3D6C 002D0CCC EC 05 07 72 */ fmuls f0, f5, f29 +/* 802D3D70 002D0CD0 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802D3D74 002D0CD4 EC 67 0F BA */ fmadds f3, f7, f30, f1 +/* 802D3D78 002D0CD8 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802D3D7C 002D0CDC EC 24 07 BA */ fmadds f1, f4, f30, f0 +/* 802D3D80 002D0CE0 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 802D3D84 002D0CE4 EC 69 1F FA */ fmadds f3, f9, f31, f3 +/* 802D3D88 002D0CE8 C0 02 C5 1C */ lfs f0, lbl_805AE23C@sda21(r2) +/* 802D3D8C 002D0CEC EC 26 0F FA */ fmadds f1, f6, f31, f1 +/* 802D3D90 002D0CF0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802D3D94 002D0CF4 FC 40 10 50 */ fneg f2, f2 +/* 802D3D98 002D0CF8 EC 62 08 24 */ fdivs f3, f2, f1 +/* 802D3D9C 002D0CFC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3DA0 002D0D00 41 80 00 10 */ blt lbl_802D3DB0 +/* 802D3DA4 002D0D04 C0 02 C5 20 */ lfs f0, lbl_805AE240@sda21(r2) +/* 802D3DA8 002D0D08 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802D3DAC 002D0D0C 40 81 00 0C */ ble lbl_802D3DB8 +lbl_802D3DB0: +/* 802D3DB0 002D0D10 38 60 00 00 */ li r3, 0 +/* 802D3DB4 002D0D14 48 00 00 2C */ b lbl_802D3DE0 +lbl_802D3DB8: +/* 802D3DB8 002D0D18 EC 43 01 32 */ fmuls f2, f3, f4 +/* 802D3DBC 002D0D1C 38 60 00 01 */ li r3, 1 +/* 802D3DC0 002D0D20 EC 23 01 72 */ fmuls f1, f3, f5 +/* 802D3DC4 002D0D24 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 802D3DC8 002D0D28 EC 47 10 2A */ fadds f2, f7, f2 +/* 802D3DCC 002D0D2C EC 28 08 2A */ fadds f1, f8, f1 +/* 802D3DD0 002D0D30 EC 09 00 2A */ fadds f0, f9, f0 +/* 802D3DD4 002D0D34 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802D3DD8 002D0D38 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802D3DDC 002D0D3C D0 1F 00 08 */ stfs f0, 8(r31) +lbl_802D3DE0: +/* 802D3DE0 002D0D40 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802D3DE4 002D0D44 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802D3DE8 002D0D48 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802D3DEC 002D0D4C CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802D3DF0 002D0D50 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802D3DF4 002D0D54 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802D3DF8 002D0D58 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802D3DFC 002D0D5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802D3E00 002D0D60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802D3E04 002D0D64 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802D3E08 002D0D68 7C 08 03 A6 */ mtlr r0 +/* 802D3E0C 002D0D6C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802D3E10 002D0D70 4E 80 00 20 */ blr + +.global __sinit_CollisionUtil_cpp +__sinit_CollisionUtil_cpp: +/* 802D3E14 002D0D74 C0 42 C4 C0 */ lfs f2, lbl_805AE1E0@sda21(r2) +/* 802D3E18 002D0D78 3C 60 80 48 */ lis r3, lbl_80479510@ha +/* 802D3E1C 002D0D7C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) +/* 802D3E20 002D0D80 D4 43 95 10 */ stfsu f2, lbl_80479510@l(r3) +/* 802D3E24 002D0D84 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) +/* 802D3E28 002D0D88 D0 23 00 04 */ stfs f1, 4(r3) +/* 802D3E2C 002D0D8C D0 23 00 08 */ stfs f1, 8(r3) +/* 802D3E30 002D0D90 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802D3E34 002D0D94 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802D3E38 002D0D98 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 802D3E3C 002D0D9C D0 23 00 18 */ stfs f1, 0x18(r3) +/* 802D3E40 002D0DA0 D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 802D3E44 002D0DA4 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802D3E48 002D0DA8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 802D3E4C 002D0DAC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802D3E50 002D0DB0 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 802D3E54 002D0DB4 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802D3E58 002D0DB8 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 802D3E5C 002D0DBC D0 43 00 38 */ stfs f2, 0x38(r3) +/* 802D3E60 002D0DC0 D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 802D3E64 002D0DC4 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 802D3E68 002D0DC8 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 802D3E6C 002D0DCC 4E 80 00 20 */ blr diff --git a/asm/Collision/InternalColliders.s b/asm/Collision/InternalColliders.s new file mode 100644 index 00000000..7dade05b --- /dev/null +++ b/asm/Collision/InternalColliders.s @@ -0,0 +1,98 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddColliders__17InternalCollidersFv +AddColliders__17InternalCollidersFv: +/* 802CE520 002CB480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CE524 002CB484 7C 08 02 A6 */ mflr r0 +/* 802CE528 002CB488 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE52C 002CB48C 3C A0 80 2D */ lis r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha +/* 802CE530 002CB490 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE534 002CB494 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CE538 002CB498 38 65 DE 44 */ addi r3, r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l +/* 802CE53C 002CB49C 7C 85 23 78 */ mr r5, r4 +/* 802CE540 002CB4A0 48 00 01 A5 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc +/* 802CE544 002CB4A4 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE548 002CB4A8 3C 80 80 2D */ lis r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha +/* 802CE54C 002CB4AC 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l +/* 802CE550 002CB4B0 38 64 4A 7C */ addi r3, r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l +/* 802CE554 002CB4B4 38 85 00 11 */ addi r4, r5, 0x11 +/* 802CE558 002CB4B8 48 00 01 8D */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc +/* 802CE55C 002CB4BC 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE560 002CB4C0 3C A0 80 2D */ lis r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha +/* 802CE564 002CB4C4 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE568 002CB4C8 38 84 00 11 */ addi r4, r4, 0x11 +/* 802CE56C 002CB4CC 38 65 48 4C */ addi r3, r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l +/* 802CE570 002CB4D0 7C 85 23 78 */ mr r5, r4 +/* 802CE574 002CB4D4 48 00 01 71 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc +/* 802CE578 002CB4D8 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE57C 002CB4DC 3C A0 80 2D */ lis r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha +/* 802CE580 002CB4E0 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE584 002CB4E4 38 65 DF 54 */ addi r3, r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l +/* 802CE588 002CB4E8 7C 85 23 78 */ mr r5, r4 +/* 802CE58C 002CB4EC 48 00 01 29 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc +/* 802CE590 002CB4F0 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE594 002CB4F4 3C 80 80 2D */ lis r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha +/* 802CE598 002CB4F8 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l +/* 802CE59C 002CB4FC 38 64 51 00 */ addi r3, r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l +/* 802CE5A0 002CB500 38 85 00 11 */ addi r4, r5, 0x11 +/* 802CE5A4 002CB504 48 00 01 11 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc +/* 802CE5A8 002CB508 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE5AC 002CB50C 3C A0 80 2D */ lis r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@ha +/* 802CE5B0 002CB510 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE5B4 002CB514 38 84 00 11 */ addi r4, r4, 0x11 +/* 802CE5B8 002CB518 38 65 47 78 */ addi r3, r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@l +/* 802CE5BC 002CB51C 7C 85 23 78 */ mr r5, r4 +/* 802CE5C0 002CB520 48 00 00 F5 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc +/* 802CE5C4 002CB524 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE5C8 002CB528 3C A0 80 2D */ lis r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha +/* 802CE5CC 002CB52C 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE5D0 002CB530 38 65 DB F0 */ addi r3, r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l +/* 802CE5D4 002CB534 7C 85 23 78 */ mr r5, r4 +/* 802CE5D8 002CB538 48 00 00 AD */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +/* 802CE5DC 002CB53C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE5E0 002CB540 3C A0 80 2D */ lis r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha +/* 802CE5E4 002CB544 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE5E8 002CB548 38 65 D9 44 */ addi r3, r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l +/* 802CE5EC 002CB54C 38 A4 00 11 */ addi r5, r4, 0x11 +/* 802CE5F0 002CB550 48 00 00 95 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +/* 802CE5F4 002CB554 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE5F8 002CB558 3C 80 80 2D */ lis r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha +/* 802CE5FC 002CB55C 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l +/* 802CE600 002CB560 38 64 41 30 */ addi r3, r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l +/* 802CE604 002CB564 38 85 00 11 */ addi r4, r5, 0x11 +/* 802CE608 002CB568 48 00 00 7D */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +/* 802CE60C 002CB56C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha +/* 802CE610 002CB570 3C A0 80 2D */ lis r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha +/* 802CE614 002CB574 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l +/* 802CE618 002CB578 38 84 00 11 */ addi r4, r4, 0x11 +/* 802CE61C 002CB57C 38 65 3E 78 */ addi r3, r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l +/* 802CE620 002CB580 7C 85 23 78 */ mr r5, r4 +/* 802CE624 002CB584 48 00 00 61 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc +/* 802CE628 002CB588 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CE62C 002CB58C 7C 08 03 A6 */ mtlr r0 +/* 802CE630 002CB590 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CE634 002CB594 4E 80 00 20 */ blr + +.global AddTypes__17InternalCollidersFv +AddTypes__17InternalCollidersFv: +/* 802CE638 002CB598 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CE63C 002CB59C 7C 08 02 A6 */ mflr r0 +/* 802CE640 002CB5A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CE644 002CB5A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CE648 002CB5A8 4B FF F9 CD */ bl GetType__16CCollidableAABoxFv +/* 802CE64C 002CB5AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CE650 002CB5B0 48 00 10 E9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type +/* 802CE654 002CB5B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE658 002CB5B8 4B FF FA 3D */ bl GetType__27CCollidableCollisionSurfaceFv +/* 802CE65C 002CB5BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CE660 002CB5C0 48 00 10 D9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type +/* 802CE664 002CB5C4 38 61 00 08 */ addi r3, r1, 8 +/* 802CE668 002CB5C8 48 00 6C 65 */ bl GetType__17CCollidableSphereFv +/* 802CE66C 002CB5CC 38 61 00 08 */ addi r3, r1, 8 +/* 802CE670 002CB5D0 48 00 10 C9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type +/* 802CE674 002CB5D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CE678 002CB5D8 7C 08 03 A6 */ mtlr r0 +/* 802CE67C 002CB5DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CE680 002CB5E0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiEnergyBarT01.s b/asm/GuiSys/CAuiEnergyBarT01.s new file mode 100644 index 00000000..0964dd90 --- /dev/null +++ b/asm/GuiSys/CAuiEnergyBarT01.s @@ -0,0 +1,799 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetWidgetTypeID__16CAuiEnergyBarT01CFv +GetWidgetTypeID__16CAuiEnergyBarT01CFv: +/* 802CB1D0 002C8130 3C 60 45 4E */ lis r3, 0x454E5247@ha +/* 802CB1D4 002C8134 38 63 52 47 */ addi r3, r3, 0x454E5247@l +/* 802CB1D8 002C8138 4E 80 00 20 */ blr + +.global GetActualFraction__16CAuiEnergyBarT01CFv +GetActualFraction__16CAuiEnergyBarT01CFv: +/* 802CB1DC 002C813C C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) +/* 802CB1E0 002C8140 C0 43 00 E0 */ lfs f2, 0xe0(r3) +/* 802CB1E4 002C8144 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 802CB1E8 002C8148 4D 82 00 20 */ beqlr +/* 802CB1EC 002C814C C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 802CB1F0 002C8150 EC 20 10 24 */ fdivs f1, f0, f2 +/* 802CB1F4 002C8154 4E 80 00 20 */ blr + +.global Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms +Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms: +/* 802CB1F8 002C8158 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802CB1FC 002C815C 7C 08 02 A6 */ mflr r0 +/* 802CB200 002C8160 90 01 01 14 */ stw r0, 0x114(r1) +/* 802CB204 002C8164 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802CB208 002C8168 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802CB20C 002C816C DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802CB210 002C8170 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802CB214 002C8174 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802CB218 002C8178 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802CB21C 002C817C DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 802CB220 002C8180 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 802CB224 002C8184 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 802CB228 002C8188 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 802CB22C 002C818C BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802CB230 002C8190 7C 7C 1B 78 */ mr r28, r3 +/* 802CB234 002C8194 7C 9D 23 78 */ mr r29, r4 +/* 802CB238 002C8198 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802CB23C 002C819C 48 04 13 A5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802CB240 002C81A0 88 1C 00 C8 */ lbz r0, 0xc8(r28) +/* 802CB244 002C81A4 28 00 00 00 */ cmplwi r0, 0 +/* 802CB248 002C81A8 41 82 03 AC */ beq lbl_802CB5F4 +/* 802CB24C 002C81AC 80 1C 00 C4 */ lwz r0, 0xc4(r28) +/* 802CB250 002C81B0 38 80 00 00 */ li r4, 0 +/* 802CB254 002C81B4 28 00 00 00 */ cmplwi r0, 0 +/* 802CB258 002C81B8 40 82 00 14 */ bne lbl_802CB26C +/* 802CB25C 002C81BC 80 7C 00 BC */ lwz r3, 0xbc(r28) +/* 802CB260 002C81C0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802CB264 002C81C4 28 00 00 00 */ cmplwi r0, 0 +/* 802CB268 002C81C8 41 82 00 08 */ beq lbl_802CB270 +lbl_802CB26C: +/* 802CB26C 002C81CC 38 80 00 01 */ li r4, 1 +lbl_802CB270: +/* 802CB270 002C81D0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802CB274 002C81D4 41 82 03 80 */ beq lbl_802CB5F4 +/* 802CB278 002C81D8 80 1C 00 D8 */ lwz r0, 0xd8(r28) +/* 802CB27C 002C81DC 28 00 00 00 */ cmplwi r0, 0 +/* 802CB280 002C81E0 40 82 00 08 */ bne lbl_802CB288 +/* 802CB284 002C81E4 48 00 03 70 */ b lbl_802CB5F4 +lbl_802CB288: +/* 802CB288 002C81E8 83 DC 00 C4 */ lwz r30, 0xc4(r28) +/* 802CB28C 002C81EC 28 1E 00 00 */ cmplwi r30, 0 +/* 802CB290 002C81F0 41 82 03 64 */ beq lbl_802CB5F4 +/* 802CB294 002C81F4 38 60 00 01 */ li r3, 1 +/* 802CB298 002C81F8 38 80 00 03 */ li r4, 3 +/* 802CB29C 002C81FC 38 A0 00 00 */ li r5, 0 +/* 802CB2A0 002C8200 48 04 07 F5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802CB2A4 002C8204 48 07 ED 09 */ bl White__6CColorFv +/* 802CB2A8 002C8208 48 04 0D 75 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802CB2AC 002C820C 38 60 00 01 */ li r3, 1 +/* 802CB2B0 002C8210 38 80 00 04 */ li r4, 4 +/* 802CB2B4 002C8214 38 A0 00 01 */ li r5, 1 +/* 802CB2B8 002C8218 38 C0 00 00 */ li r6, 0 +/* 802CB2BC 002C821C 48 04 07 95 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CB2C0 002C8220 C0 3C 00 E0 */ lfs f1, 0xe0(r28) +/* 802CB2C4 002C8224 C3 C2 C4 20 */ lfs f30, lbl_805AE140@sda21(r2) +/* 802CB2C8 002C8228 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 802CB2CC 002C822C 40 81 00 0C */ ble lbl_802CB2D8 +/* 802CB2D0 002C8230 C0 1C 00 F8 */ lfs f0, 0xf8(r28) +/* 802CB2D4 002C8234 EF C0 08 24 */ fdivs f30, f0, f1 +lbl_802CB2D8: +/* 802CB2D8 002C8238 C3 A2 C4 20 */ lfs f29, lbl_805AE140@sda21(r2) +/* 802CB2DC 002C823C FC 01 E8 40 */ fcmpo cr0, f1, f29 +/* 802CB2E0 002C8240 40 81 00 0C */ ble lbl_802CB2EC +/* 802CB2E4 002C8244 C0 1C 00 FC */ lfs f0, 0xfc(r28) +/* 802CB2E8 002C8248 EF A0 08 24 */ fdivs f29, f0, f1 +lbl_802CB2EC: +/* 802CB2EC 002C824C 88 7C 00 D3 */ lbz r3, 0xd3(r28) +/* 802CB2F0 002C8250 3C 00 43 30 */ lis r0, 0x4330 +/* 802CB2F4 002C8254 90 01 00 90 */ stw r0, 0x90(r1) +/* 802CB2F8 002C8258 3B FC 00 A8 */ addi r31, r28, 0xa8 +/* 802CB2FC 002C825C C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) +/* 802CB300 002C8260 90 61 00 94 */ stw r3, 0x94(r1) +/* 802CB304 002C8264 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802CB308 002C8268 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 802CB30C 002C826C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CB310 002C8270 EF 82 00 32 */ fmuls f28, f2, f0 +/* 802CB314 002C8274 F3 81 A0 0A */ psq_st f28, 10(r1), 1, qr2 +/* 802CB318 002C8278 7F E4 FB 78 */ mr r4, r31 +/* 802CB31C 002C827C 80 DC 00 D0 */ lwz r6, 0xd0(r28) +/* 802CB320 002C8280 38 61 00 20 */ addi r3, r1, 0x20 +/* 802CB324 002C8284 88 01 00 0A */ lbz r0, 0xa(r1) +/* 802CB328 002C8288 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802CB32C 002C828C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CB330 002C8290 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CB334 002C8294 48 09 7E 45 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CB338 002C8298 88 7C 00 D7 */ lbz r3, 0xd7(r28) +/* 802CB33C 002C829C 3C 00 43 30 */ lis r0, 0x4330 +/* 802CB340 002C82A0 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802CB344 002C82A4 90 61 00 9C */ stw r3, 0x9c(r1) +/* 802CB348 002C82A8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) +/* 802CB34C 002C82AC 90 01 00 98 */ stw r0, 0x98(r1) +/* 802CB350 002C82B0 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802CB354 002C82B4 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 802CB358 002C82B8 90 81 00 2C */ stw r4, 0x2c(r1) +/* 802CB35C 002C82BC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CB360 002C82C0 EF 62 00 32 */ fmuls f27, f2, f0 +/* 802CB364 002C82C4 F3 61 A0 09 */ psq_st f27, 9(r1), 1, qr2 +/* 802CB368 002C82C8 7F E4 FB 78 */ mr r4, r31 +/* 802CB36C 002C82CC 80 DC 00 D4 */ lwz r6, 0xd4(r28) +/* 802CB370 002C82D0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CB374 002C82D4 88 01 00 09 */ lbz r0, 9(r1) +/* 802CB378 002C82D8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802CB37C 002C82DC 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CB380 002C82E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CB384 002C82E4 48 09 7D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CB388 002C82E8 88 7C 00 CF */ lbz r3, 0xcf(r28) +/* 802CB38C 002C82EC 3C 00 43 30 */ lis r0, 0x4330 +/* 802CB390 002C82F0 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802CB394 002C82F4 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 802CB398 002C82F8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) +/* 802CB39C 002C82FC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 802CB3A0 002C8300 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802CB3A4 002C8304 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802CB3A8 002C8308 90 81 00 28 */ stw r4, 0x28(r1) +/* 802CB3AC 002C830C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CB3B0 002C8310 EF E2 00 32 */ fmuls f31, f2, f0 +/* 802CB3B4 002C8314 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 802CB3B8 002C8318 7F E4 FB 78 */ mr r4, r31 +/* 802CB3BC 002C831C 80 DC 00 CC */ lwz r6, 0xcc(r28) +/* 802CB3C0 002C8320 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CB3C4 002C8324 88 01 00 08 */ lbz r0, 8(r1) +/* 802CB3C8 002C8328 38 A1 00 0C */ addi r5, r1, 0xc +/* 802CB3CC 002C832C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CB3D0 002C8330 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CB3D4 002C8334 48 09 7D A5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CB3D8 002C8338 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802CB3DC 002C833C 3B E1 00 84 */ addi r31, r1, 0x84 +/* 802CB3E0 002C8340 3B A0 00 00 */ li r29, 0 +/* 802CB3E4 002C8344 90 01 00 24 */ stw r0, 0x24(r1) +lbl_802CB3E8: +/* 802CB3E8 002C8348 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CB3EC 002C834C 40 82 00 0C */ bne lbl_802CB3F8 +/* 802CB3F0 002C8350 C3 62 C4 20 */ lfs f27, lbl_805AE140@sda21(r2) +/* 802CB3F4 002C8354 48 00 00 18 */ b lbl_802CB40C +lbl_802CB3F8: +/* 802CB3F8 002C8358 2C 1D 00 01 */ cmpwi r29, 1 +/* 802CB3FC 002C835C 40 82 00 0C */ bne lbl_802CB408 +/* 802CB400 002C8360 FF 60 F0 90 */ fmr f27, f30 +/* 802CB404 002C8364 48 00 00 08 */ b lbl_802CB40C +lbl_802CB408: +/* 802CB408 002C8368 FF 60 E8 90 */ fmr f27, f29 +lbl_802CB40C: +/* 802CB40C 002C836C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CB410 002C8370 40 82 00 0C */ bne lbl_802CB41C +/* 802CB414 002C8374 FF 80 F0 90 */ fmr f28, f30 +/* 802CB418 002C8378 48 00 00 18 */ b lbl_802CB430 +lbl_802CB41C: +/* 802CB41C 002C837C 2C 1D 00 01 */ cmpwi r29, 1 +/* 802CB420 002C8380 40 82 00 0C */ bne lbl_802CB42C +/* 802CB424 002C8384 FF 80 E8 90 */ fmr f28, f29 +/* 802CB428 002C8388 48 00 00 08 */ b lbl_802CB430 +lbl_802CB42C: +/* 802CB42C 002C838C C3 82 C4 24 */ lfs f28, lbl_805AE144@sda21(r2) +lbl_802CB430: +/* 802CB430 002C8390 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CB434 002C8394 40 82 00 0C */ bne lbl_802CB440 +/* 802CB438 002C8398 3B 61 00 2C */ addi r27, r1, 0x2c +/* 802CB43C 002C839C 48 00 00 14 */ b lbl_802CB450 +lbl_802CB440: +/* 802CB440 002C83A0 2C 1D 00 01 */ cmpwi r29, 1 +/* 802CB444 002C83A4 3B 61 00 24 */ addi r27, r1, 0x24 +/* 802CB448 002C83A8 40 82 00 08 */ bne lbl_802CB450 +/* 802CB44C 002C83AC 3B 61 00 28 */ addi r27, r1, 0x28 +lbl_802CB450: +/* 802CB450 002C83B0 FC 1B E0 00 */ fcmpu cr0, f27, f28 +/* 802CB454 002C83B4 41 82 01 84 */ beq lbl_802CB5D8 +/* 802CB458 002C83B8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802CB45C 002C83BC 38 60 00 00 */ li r3, 0 +/* 802CB460 002C83C0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802CB464 002C83C4 48 03 EE 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CB468 002C83C8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802CB46C 002C83CC 38 60 00 01 */ li r3, 1 +/* 802CB470 002C83D0 48 03 EE 49 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CB474 002C83D4 7F C3 F3 78 */ mr r3, r30 +/* 802CB478 002C83D8 38 80 00 00 */ li r4, 0 +/* 802CB47C 002C83DC 38 A0 00 01 */ li r5, 1 +/* 802CB480 002C83E0 48 04 42 BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802CB484 002C83E4 38 60 00 98 */ li r3, 0x98 +/* 802CB488 002C83E8 48 04 01 E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 802CB48C 002C83EC 7F 63 DB 78 */ mr r3, r27 +/* 802CB490 002C83F0 48 04 00 B9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 802CB494 002C83F4 81 9C 00 D8 */ lwz r12, 0xd8(r28) +/* 802CB498 002C83F8 FC 20 D8 90 */ fmr f1, f27 +/* 802CB49C 002C83FC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CB4A0 002C8400 7D 89 03 A6 */ mtctr r12 +/* 802CB4A4 002C8404 4E 80 04 21 */ bctrl +/* 802CB4A8 002C8408 C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 802CB4AC 002C840C C0 81 00 64 */ lfs f4, 0x64(r1) +/* 802CB4B0 002C8410 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802CB4B4 002C8414 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 802CB4B8 002C8418 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802CB4BC 002C841C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802CB4C0 002C8420 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802CB4C4 002C8424 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 802CB4C8 002C8428 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802CB4CC 002C842C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802CB4D0 002C8430 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802CB4D4 002C8434 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802CB4D8 002C8438 48 00 00 F4 */ b lbl_802CB5CC +lbl_802CB4DC: +/* 802CB4DC 002C843C FC 20 D8 90 */ fmr f1, f27 +/* 802CB4E0 002C8440 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) +/* 802CB4E4 002C8444 48 03 FF 81 */ bl StreamTexcoord__9CGraphicsFff +/* 802CB4E8 002C8448 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CB4EC 002C844C 48 04 00 D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CB4F0 002C8450 FC 20 D8 90 */ fmr f1, f27 +/* 802CB4F4 002C8454 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) +/* 802CB4F8 002C8458 48 03 FF 6D */ bl StreamTexcoord__9CGraphicsFff +/* 802CB4FC 002C845C 7F E3 FB 78 */ mr r3, r31 +/* 802CB500 002C8460 48 04 00 C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CB504 002C8464 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 802CB508 002C8468 EF 7B 00 2A */ fadds f27, f27, f0 +/* 802CB50C 002C846C FC 1B E0 40 */ fcmpo cr0, f27, f28 +/* 802CB510 002C8470 4C 41 13 82 */ cror 2, 1, 2 +/* 802CB514 002C8474 40 82 00 74 */ bne lbl_802CB588 +/* 802CB518 002C8478 81 9C 00 D8 */ lwz r12, 0xd8(r28) +/* 802CB51C 002C847C FC 20 E0 90 */ fmr f1, f28 +/* 802CB520 002C8480 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CB524 002C8484 7D 89 03 A6 */ mtctr r12 +/* 802CB528 002C8488 4E 80 04 21 */ bctrl +/* 802CB52C 002C848C 80 E1 00 48 */ lwz r7, 0x48(r1) +/* 802CB530 002C8490 FC 20 E0 90 */ fmr f1, f28 +/* 802CB534 002C8494 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802CB538 002C8498 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802CB53C 002C849C 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802CB540 002C84A0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802CB544 002C84A4 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 802CB548 002C84A8 90 E1 00 78 */ stw r7, 0x78(r1) +/* 802CB54C 002C84AC C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) +/* 802CB550 002C84B0 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802CB554 002C84B4 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802CB558 002C84B8 90 9F 00 00 */ stw r4, 0(r31) +/* 802CB55C 002C84BC 90 7F 00 04 */ stw r3, 4(r31) +/* 802CB560 002C84C0 90 1F 00 08 */ stw r0, 8(r31) +/* 802CB564 002C84C4 48 03 FF 01 */ bl StreamTexcoord__9CGraphicsFff +/* 802CB568 002C84C8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802CB56C 002C84CC 48 04 00 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CB570 002C84D0 FC 20 E0 90 */ fmr f1, f28 +/* 802CB574 002C84D4 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) +/* 802CB578 002C84D8 48 03 FE ED */ bl StreamTexcoord__9CGraphicsFff +/* 802CB57C 002C84DC 7F E3 FB 78 */ mr r3, r31 +/* 802CB580 002C84E0 48 04 00 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CB584 002C84E4 48 00 00 48 */ b lbl_802CB5CC +lbl_802CB588: +/* 802CB588 002C84E8 81 9C 00 D8 */ lwz r12, 0xd8(r28) +/* 802CB58C 002C84EC FC 20 D8 90 */ fmr f1, f27 +/* 802CB590 002C84F0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CB594 002C84F4 7D 89 03 A6 */ mtctr r12 +/* 802CB598 002C84F8 4E 80 04 21 */ bctrl +/* 802CB59C 002C84FC 80 E1 00 30 */ lwz r7, 0x30(r1) +/* 802CB5A0 002C8500 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 802CB5A4 002C8504 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 802CB5A8 002C8508 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 802CB5AC 002C850C 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802CB5B0 002C8510 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CB5B4 002C8514 90 E1 00 78 */ stw r7, 0x78(r1) +/* 802CB5B8 002C8518 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802CB5BC 002C851C 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802CB5C0 002C8520 90 9F 00 00 */ stw r4, 0(r31) +/* 802CB5C4 002C8524 90 7F 00 04 */ stw r3, 4(r31) +/* 802CB5C8 002C8528 90 1F 00 08 */ stw r0, 8(r31) +lbl_802CB5CC: +/* 802CB5CC 002C852C FC 1B E0 40 */ fcmpo cr0, f27, f28 +/* 802CB5D0 002C8530 41 80 FF 0C */ blt lbl_802CB4DC +/* 802CB5D4 002C8534 48 03 FE 3D */ bl StreamEnd__9CGraphicsFv +lbl_802CB5D8: +/* 802CB5D8 002C8538 3B BD 00 01 */ addi r29, r29, 1 +/* 802CB5DC 002C853C 2C 1D 00 03 */ cmpwi r29, 3 +/* 802CB5E0 002C8540 41 80 FE 08 */ blt lbl_802CB3E8 +/* 802CB5E4 002C8544 38 60 00 01 */ li r3, 1 +/* 802CB5E8 002C8548 38 80 00 03 */ li r4, 3 +/* 802CB5EC 002C854C 38 A0 00 01 */ li r5, 1 +/* 802CB5F0 002C8550 48 04 04 A5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +lbl_802CB5F4: +/* 802CB5F4 002C8554 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802CB5F8 002C8558 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802CB5FC 002C855C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802CB600 002C8560 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802CB604 002C8564 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802CB608 002C8568 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802CB60C 002C856C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 802CB610 002C8570 CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 802CB614 002C8574 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 802CB618 002C8578 CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 802CB61C 002C857C BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802CB620 002C8580 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802CB624 002C8584 7C 08 03 A6 */ mtlr r0 +/* 802CB628 002C8588 38 21 01 10 */ addi r1, r1, 0x110 +/* 802CB62C 002C858C 4E 80 00 20 */ blr + +.global DownloadBarCoordFunc__16CAuiEnergyBarT01Ff +DownloadBarCoordFunc__16CAuiEnergyBarT01Ff: +/* 802CB630 002C8590 C0 62 C4 30 */ lfs f3, lbl_805AE150@sda21(r2) +/* 802CB634 002C8594 C0 02 C4 34 */ lfs f0, lbl_805AE154@sda21(r2) +/* 802CB638 002C8598 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) +/* 802CB63C 002C859C EC 63 00 78 */ fmsubs f3, f3, f1, f0 +/* 802CB640 002C85A0 C0 22 C4 38 */ lfs f1, lbl_805AE158@sda21(r2) +/* 802CB644 002C85A4 C0 02 C4 3C */ lfs f0, lbl_805AE15C@sda21(r2) +/* 802CB648 002C85A8 D0 63 00 00 */ stfs f3, 0(r3) +/* 802CB64C 002C85AC D0 43 00 04 */ stfs f2, 4(r3) +/* 802CB650 002C85B0 D0 23 00 08 */ stfs f1, 8(r3) +/* 802CB654 002C85B4 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 802CB658 002C85B8 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 802CB65C 002C85BC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802CB660 002C85C0 4E 80 00 20 */ blr + +.global Update__16CAuiEnergyBarT01Ff +Update__16CAuiEnergyBarT01Ff: +/* 802CB664 002C85C4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CB668 002C85C8 7C 08 02 A6 */ mflr r0 +/* 802CB66C 002C85CC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CB670 002C85D0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802CB674 002C85D4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802CB678 002C85D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CB67C 002C85DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CB680 002C85E0 7C 7F 1B 78 */ mr r31, r3 +/* 802CB684 002C85E4 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2) +/* 802CB688 002C85E8 C0 43 01 00 */ lfs f2, 0x100(r3) +/* 802CB68C 002C85EC FF E0 08 90 */ fmr f31, f1 +/* 802CB690 002C85F0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802CB694 002C85F4 40 81 00 2C */ ble lbl_802CB6C0 +/* 802CB698 002C85F8 EC 22 F8 28 */ fsubs f1, f2, f31 +/* 802CB69C 002C85FC C0 0D 9B 1C */ lfs f0, lbl_805A86DC@sda21(r13) +/* 802CB6A0 002C8600 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB6A4 002C8604 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802CB6A8 002C8608 40 80 00 0C */ bge lbl_802CB6B4 +/* 802CB6AC 002C860C 38 6D 9B 1C */ addi r3, r13, lbl_805A86DC@sda21 +/* 802CB6B0 002C8610 48 00 00 08 */ b lbl_802CB6B8 +lbl_802CB6B4: +/* 802CB6B4 002C8614 38 61 00 1C */ addi r3, r1, 0x1c +lbl_802CB6B8: +/* 802CB6B8 002C8618 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB6BC 002C861C D0 1F 01 00 */ stfs f0, 0x100(r31) +lbl_802CB6C0: +/* 802CB6C0 002C8620 C0 5F 00 F8 */ lfs f2, 0xf8(r31) +/* 802CB6C4 002C8624 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 802CB6C8 002C8628 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802CB6CC 002C862C 40 80 00 9C */ bge lbl_802CB768 +/* 802CB6D0 002C8630 88 1F 00 F1 */ lbz r0, 0xf1(r31) +/* 802CB6D4 002C8634 28 00 00 00 */ cmplwi r0, 0 +/* 802CB6D8 002C8638 41 82 00 60 */ beq lbl_802CB738 +/* 802CB6DC 002C863C C0 3F 00 E4 */ lfs f1, 0xe4(r31) +/* 802CB6E0 002C8640 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2) +/* 802CB6E4 002C8644 EC 3F 10 7C */ fnmsubs f1, f31, f1, f2 +/* 802CB6E8 002C8648 D0 3F 00 F8 */ stfs f1, 0xf8(r31) +/* 802CB6EC 002C864C C0 3F 00 F8 */ lfs f1, 0xf8(r31) +/* 802CB6F0 002C8650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB6F4 002C8654 40 80 01 08 */ bge lbl_802CB7FC +/* 802CB6F8 002C8658 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 802CB6FC 002C865C EC 21 00 2A */ fadds f1, f1, f0 +/* 802CB700 002C8660 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802CB704 002C8664 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 802CB708 002C8668 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802CB70C 002C866C 40 80 00 0C */ bge lbl_802CB718 +/* 802CB710 002C8670 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CB714 002C8674 48 00 00 08 */ b lbl_802CB71C +lbl_802CB718: +/* 802CB718 002C8678 38 7F 00 F4 */ addi r3, r31, 0xf4 +lbl_802CB71C: +/* 802CB71C 002C867C C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB720 002C8680 38 00 00 00 */ li r0, 0 +/* 802CB724 002C8684 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 802CB728 002C8688 98 1F 00 F1 */ stb r0, 0xf1(r31) +/* 802CB72C 002C868C C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 802CB730 002C8690 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 802CB734 002C8694 48 00 00 C8 */ b lbl_802CB7FC +lbl_802CB738: +/* 802CB738 002C8698 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 802CB73C 002C869C EC 3F 10 3A */ fmadds f1, f31, f0, f2 +/* 802CB740 002C86A0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802CB744 002C86A4 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 802CB748 002C86A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB74C 002C86AC 40 80 00 0C */ bge lbl_802CB758 +/* 802CB750 002C86B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CB754 002C86B4 48 00 00 08 */ b lbl_802CB75C +lbl_802CB758: +/* 802CB758 002C86B8 38 7F 00 F4 */ addi r3, r31, 0xf4 +lbl_802CB75C: +/* 802CB75C 002C86BC C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB760 002C86C0 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 802CB764 002C86C4 48 00 00 98 */ b lbl_802CB7FC +lbl_802CB768: +/* 802CB768 002C86C8 40 81 00 94 */ ble lbl_802CB7FC +/* 802CB76C 002C86CC 88 1F 00 F1 */ lbz r0, 0xf1(r31) +/* 802CB770 002C86D0 28 00 00 00 */ cmplwi r0, 0 +/* 802CB774 002C86D4 41 82 00 5C */ beq lbl_802CB7D0 +/* 802CB778 002C86D8 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 802CB77C 002C86DC EC 1F 10 3A */ fmadds f0, f31, f0, f2 +/* 802CB780 002C86E0 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 802CB784 002C86E4 C0 3F 00 F8 */ lfs f1, 0xf8(r31) +/* 802CB788 002C86E8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 802CB78C 002C86EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB790 002C86F0 40 81 00 6C */ ble lbl_802CB7FC +/* 802CB794 002C86F4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802CB798 002C86F8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802CB79C 002C86FC C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 802CB7A0 002C8700 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB7A4 002C8704 40 80 00 0C */ bge lbl_802CB7B0 +/* 802CB7A8 002C8708 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CB7AC 002C870C 48 00 00 08 */ b lbl_802CB7B4 +lbl_802CB7B0: +/* 802CB7B0 002C8710 38 7F 00 F4 */ addi r3, r31, 0xf4 +lbl_802CB7B4: +/* 802CB7B4 002C8714 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB7B8 002C8718 38 00 00 00 */ li r0, 0 +/* 802CB7BC 002C871C D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 802CB7C0 002C8720 98 1F 00 F1 */ stb r0, 0xf1(r31) +/* 802CB7C4 002C8724 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 802CB7C8 002C8728 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 802CB7CC 002C872C 48 00 00 30 */ b lbl_802CB7FC +lbl_802CB7D0: +/* 802CB7D0 002C8730 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 802CB7D4 002C8734 EC 3F 10 3C */ fnmsubs f1, f31, f0, f2 +/* 802CB7D8 002C8738 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802CB7DC 002C873C C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 802CB7E0 002C8740 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802CB7E4 002C8744 40 80 00 0C */ bge lbl_802CB7F0 +/* 802CB7E8 002C8748 38 61 00 0C */ addi r3, r1, 0xc +/* 802CB7EC 002C874C 48 00 00 08 */ b lbl_802CB7F4 +lbl_802CB7F0: +/* 802CB7F0 002C8750 38 7F 00 F4 */ addi r3, r31, 0xf4 +lbl_802CB7F4: +/* 802CB7F4 002C8754 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB7F8 002C8758 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +lbl_802CB7FC: +/* 802CB7FC 002C875C C0 5F 00 FC */ lfs f2, 0xfc(r31) +/* 802CB800 002C8760 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 802CB804 002C8764 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802CB808 002C8768 40 80 00 0C */ bge lbl_802CB814 +/* 802CB80C 002C876C D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 802CB810 002C8770 48 00 00 44 */ b lbl_802CB854 +lbl_802CB814: +/* 802CB814 002C8774 40 81 00 40 */ ble lbl_802CB854 +/* 802CB818 002C8778 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) +/* 802CB81C 002C877C C0 1F 01 00 */ lfs f0, 0x100(r31) +/* 802CB820 002C8780 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802CB824 002C8784 40 82 00 30 */ bne lbl_802CB854 +/* 802CB828 002C8788 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 802CB82C 002C878C EC 3F 10 3C */ fnmsubs f1, f31, f0, f2 +/* 802CB830 002C8790 D0 21 00 08 */ stfs f1, 8(r1) +/* 802CB834 002C8794 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 802CB838 002C8798 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802CB83C 002C879C 40 80 00 0C */ bge lbl_802CB848 +/* 802CB840 002C87A0 38 61 00 08 */ addi r3, r1, 8 +/* 802CB844 002C87A4 48 00 00 08 */ b lbl_802CB84C +lbl_802CB848: +/* 802CB848 002C87A8 38 7F 00 F8 */ addi r3, r31, 0xf8 +lbl_802CB84C: +/* 802CB84C 002C87AC C0 03 00 00 */ lfs f0, 0(r3) +/* 802CB850 002C87B0 D0 1F 00 FC */ stfs f0, 0xfc(r31) +lbl_802CB854: +/* 802CB854 002C87B4 88 1F 00 C8 */ lbz r0, 0xc8(r31) +/* 802CB858 002C87B8 28 00 00 00 */ cmplwi r0, 0 +/* 802CB85C 002C87BC 41 82 00 40 */ beq lbl_802CB89C +/* 802CB860 002C87C0 3B DF 00 BC */ addi r30, r31, 0xbc +/* 802CB864 002C87C4 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802CB868 002C87C8 28 00 00 00 */ cmplwi r0, 0 +/* 802CB86C 002C87CC 40 82 00 30 */ bne lbl_802CB89C +/* 802CB870 002C87D0 88 1E 00 04 */ lbz r0, 4(r30) +/* 802CB874 002C87D4 28 00 00 00 */ cmplwi r0, 0 +/* 802CB878 002C87D8 41 82 00 24 */ beq lbl_802CB89C +/* 802CB87C 002C87DC 80 7E 00 00 */ lwz r3, 0(r30) +/* 802CB880 002C87E0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802CB884 002C87E4 28 00 00 00 */ cmplwi r0, 0 +/* 802CB888 002C87E8 41 82 00 14 */ beq lbl_802CB89C +/* 802CB88C 002C87EC 7F C3 F3 78 */ mr r3, r30 +/* 802CB890 002C87F0 48 07 55 7D */ bl GetObj__6CTokenFv +/* 802CB894 002C87F4 80 03 00 04 */ lwz r0, 4(r3) +/* 802CB898 002C87F8 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CB89C: +/* 802CB89C 002C87FC FC 20 F8 90 */ fmr f1, f31 +/* 802CB8A0 002C8800 7F E3 FB 78 */ mr r3, r31 +/* 802CB8A4 002C8804 4B FF F1 31 */ bl Update__10CGuiWidgetFf +/* 802CB8A8 002C8808 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802CB8AC 002C880C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CB8B0 002C8810 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802CB8B4 002C8814 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CB8B8 002C8818 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CB8BC 002C881C 7C 08 03 A6 */ mtlr r0 +/* 802CB8C0 002C8820 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CB8C4 002C8824 4E 80 00 20 */ blr + +.global SetCurrEnergy__16CAuiEnergyBarT01Ffb +SetCurrEnergy__16CAuiEnergyBarT01Ffb: +/* 802CB8C8 002C8828 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CB8CC 002C882C 7C 08 02 A6 */ mflr r0 +/* 802CB8D0 002C8830 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CB8D4 002C8834 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CB8D8 002C8838 7C 9F 23 78 */ mr r31, r4 +/* 802CB8DC 002C883C 38 81 00 08 */ addi r4, r1, 8 +/* 802CB8E0 002C8840 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CB8E4 002C8844 7C 7E 1B 78 */ mr r30, r3 +/* 802CB8E8 002C8848 38 BE 00 E0 */ addi r5, r30, 0xe0 +/* 802CB8EC 002C884C 38 6D 9B 18 */ addi r3, r13, lbl_805A86D8@sda21 +/* 802CB8F0 002C8850 D0 21 00 08 */ stfs f1, 8(r1) +/* 802CB8F4 002C8854 4B D4 09 C1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802CB8F8 002C8858 C0 43 00 00 */ lfs f2, 0(r3) +/* 802CB8FC 002C885C C0 1E 00 F4 */ lfs f0, 0xf4(r30) +/* 802CB900 002C8860 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 802CB904 002C8864 41 82 00 4C */ beq lbl_802CB950 +/* 802CB908 002C8868 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 802CB90C 002C886C 28 00 00 00 */ cmplwi r0, 0 +/* 802CB910 002C8870 40 82 00 14 */ bne lbl_802CB924 +/* 802CB914 002C8874 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 802CB918 002C8878 C0 1E 00 FC */ lfs f0, 0xfc(r30) +/* 802CB91C 002C887C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802CB920 002C8880 40 82 00 0C */ bne lbl_802CB92C +lbl_802CB924: +/* 802CB924 002C8884 C0 1E 00 EC */ lfs f0, 0xec(r30) +/* 802CB928 002C8888 D0 1E 01 00 */ stfs f0, 0x100(r30) +lbl_802CB92C: +/* 802CB92C 002C888C 20 1F 00 01 */ subfic r0, r31, 1 +/* 802CB930 002C8890 2C 1F 00 02 */ cmpwi r31, 2 +/* 802CB934 002C8894 7C 00 00 34 */ cntlzw r0, r0 +/* 802CB938 002C8898 54 00 D9 7E */ srwi r0, r0, 5 +/* 802CB93C 002C889C 98 1E 00 F1 */ stb r0, 0xf1(r30) +/* 802CB940 002C88A0 D0 5E 00 F4 */ stfs f2, 0xf4(r30) +/* 802CB944 002C88A4 40 82 00 0C */ bne lbl_802CB950 +/* 802CB948 002C88A8 C0 1E 00 F4 */ lfs f0, 0xf4(r30) +/* 802CB94C 002C88AC D0 1E 00 F8 */ stfs f0, 0xf8(r30) +lbl_802CB950: +/* 802CB950 002C88B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CB954 002C88B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CB958 002C88B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CB95C 002C88BC 7C 08 03 A6 */ mtlr r0 +/* 802CB960 002C88C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CB964 002C88C4 4E 80 00 20 */ blr + +.global SetMaxEnergy__16CAuiEnergyBarT01Ff +SetMaxEnergy__16CAuiEnergyBarT01Ff: +/* 802CB968 002C88C8 D0 23 00 E0 */ stfs f1, 0xe0(r3) +/* 802CB96C 002C88CC C0 23 00 E0 */ lfs f1, 0xe0(r3) +/* 802CB970 002C88D0 C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 802CB974 002C88D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB978 002C88D8 40 80 00 0C */ bge lbl_802CB984 +/* 802CB97C 002C88DC 38 83 00 E0 */ addi r4, r3, 0xe0 +/* 802CB980 002C88E0 48 00 00 08 */ b lbl_802CB988 +lbl_802CB984: +/* 802CB984 002C88E4 38 83 00 F4 */ addi r4, r3, 0xf4 +lbl_802CB988: +/* 802CB988 002C88E8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802CB98C 002C88EC D0 03 00 F4 */ stfs f0, 0xf4(r3) +/* 802CB990 002C88F0 C0 23 00 E0 */ lfs f1, 0xe0(r3) +/* 802CB994 002C88F4 C0 03 00 F8 */ lfs f0, 0xf8(r3) +/* 802CB998 002C88F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB99C 002C88FC 40 80 00 0C */ bge lbl_802CB9A8 +/* 802CB9A0 002C8900 38 83 00 E0 */ addi r4, r3, 0xe0 +/* 802CB9A4 002C8904 48 00 00 08 */ b lbl_802CB9AC +lbl_802CB9A8: +/* 802CB9A8 002C8908 38 83 00 F8 */ addi r4, r3, 0xf8 +lbl_802CB9AC: +/* 802CB9AC 002C890C C0 04 00 00 */ lfs f0, 0(r4) +/* 802CB9B0 002C8910 D0 03 00 F8 */ stfs f0, 0xf8(r3) +/* 802CB9B4 002C8914 C0 23 00 E0 */ lfs f1, 0xe0(r3) +/* 802CB9B8 002C8918 C0 03 00 FC */ lfs f0, 0xfc(r3) +/* 802CB9BC 002C891C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CB9C0 002C8920 40 80 00 0C */ bge lbl_802CB9CC +/* 802CB9C4 002C8924 38 83 00 E0 */ addi r4, r3, 0xe0 +/* 802CB9C8 002C8928 48 00 00 08 */ b lbl_802CB9D0 +lbl_802CB9CC: +/* 802CB9CC 002C892C 38 83 00 FC */ addi r4, r3, 0xfc +lbl_802CB9D0: +/* 802CB9D0 002C8930 C0 04 00 00 */ lfs f0, 0(r4) +/* 802CB9D4 002C8934 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 802CB9D8 002C8938 4E 80 00 20 */ blr + +.global __dt__16CAuiEnergyBarT01Fv +__dt__16CAuiEnergyBarT01Fv: +/* 802CB9DC 002C893C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CB9E0 002C8940 7C 08 02 A6 */ mflr r0 +/* 802CB9E4 002C8944 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CB9E8 002C8948 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CB9EC 002C894C 7C 9F 23 78 */ mr r31, r4 +/* 802CB9F0 002C8950 93 C1 00 08 */ stw r30, 8(r1) +/* 802CB9F4 002C8954 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CB9F8 002C8958 41 82 00 60 */ beq lbl_802CBA58 +/* 802CB9FC 002C895C 3C 60 80 3F */ lis r3, lbl_803ECA50@ha +/* 802CBA00 002C8960 34 1E 00 BC */ addic. r0, r30, 0xbc +/* 802CBA04 002C8964 38 03 CA 50 */ addi r0, r3, lbl_803ECA50@l +/* 802CBA08 002C8968 90 1E 00 00 */ stw r0, 0(r30) +/* 802CBA0C 002C896C 41 82 00 30 */ beq lbl_802CBA3C +/* 802CBA10 002C8970 88 1E 00 C8 */ lbz r0, 0xc8(r30) +/* 802CBA14 002C8974 28 00 00 00 */ cmplwi r0, 0 +/* 802CBA18 002C8978 41 82 00 1C */ beq lbl_802CBA34 +/* 802CBA1C 002C897C 34 7E 00 BC */ addic. r3, r30, 0xbc +/* 802CBA20 002C8980 41 82 00 14 */ beq lbl_802CBA34 +/* 802CBA24 002C8984 28 03 00 00 */ cmplwi r3, 0 +/* 802CBA28 002C8988 41 82 00 0C */ beq lbl_802CBA34 +/* 802CBA2C 002C898C 38 80 00 00 */ li r4, 0 +/* 802CBA30 002C8990 48 07 54 11 */ bl __dt__6CTokenFv +lbl_802CBA34: +/* 802CBA34 002C8994 38 00 00 00 */ li r0, 0 +/* 802CBA38 002C8998 98 1E 00 C8 */ stb r0, 0xc8(r30) +lbl_802CBA3C: +/* 802CBA3C 002C899C 7F C3 F3 78 */ mr r3, r30 +/* 802CBA40 002C89A0 38 80 00 00 */ li r4, 0 +/* 802CBA44 002C89A4 4B FF F1 71 */ bl __dt__10CGuiWidgetFv +/* 802CBA48 002C89A8 7F E0 07 35 */ extsh. r0, r31 +/* 802CBA4C 002C89AC 40 81 00 0C */ ble lbl_802CBA58 +/* 802CBA50 002C89B0 7F C3 F3 78 */ mr r3, r30 +/* 802CBA54 002C89B4 48 04 9E DD */ bl Free__7CMemoryFPCv +lbl_802CBA58: +/* 802CBA58 002C89B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CBA5C 002C89BC 7F C3 F3 78 */ mr r3, r30 +/* 802CBA60 002C89C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CBA64 002C89C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CBA68 002C89C8 7C 08 03 A6 */ mtlr r0 +/* 802CBA6C 002C89CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CBA70 002C89D0 4E 80 00 20 */ blr + +.global __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi +__ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi: +/* 802CBA74 002C89D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CBA78 002C89D8 7C 08 02 A6 */ mflr r0 +/* 802CBA7C 002C89DC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CBA80 002C89E0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CBA84 002C89E4 7C 7F 1B 78 */ mr r31, r3 +/* 802CBA88 002C89E8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802CBA8C 002C89EC 7C DE 33 78 */ mr r30, r6 +/* 802CBA90 002C89F0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802CBA94 002C89F4 7C BD 2B 78 */ mr r29, r5 +/* 802CBA98 002C89F8 4B FF F1 8D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802CBA9C 002C89FC 3C 60 80 3F */ lis r3, lbl_803ECA50@ha +/* 802CBAA0 002C8A00 38 00 00 00 */ li r0, 0 +/* 802CBAA4 002C8A04 38 63 CA 50 */ addi r3, r3, lbl_803ECA50@l +/* 802CBAA8 002C8A08 90 7F 00 00 */ stw r3, 0(r31) +/* 802CBAAC 002C8A0C 93 DF 00 B8 */ stw r30, 0xb8(r31) +/* 802CBAB0 002C8A10 98 1F 00 C8 */ stb r0, 0xc8(r31) +/* 802CBAB4 002C8A14 48 07 E4 F9 */ bl White__6CColorFv +/* 802CBAB8 002C8A18 80 03 00 00 */ lwz r0, 0(r3) +/* 802CBABC 002C8A1C 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 802CBAC0 002C8A20 48 07 E4 ED */ bl White__6CColorFv +/* 802CBAC4 002C8A24 80 03 00 00 */ lwz r0, 0(r3) +/* 802CBAC8 002C8A28 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 802CBACC 002C8A2C 48 07 E4 E1 */ bl White__6CColorFv +/* 802CBAD0 002C8A30 80 63 00 00 */ lwz r3, 0(r3) +/* 802CBAD4 002C8A34 38 00 00 00 */ li r0, 0 +/* 802CBAD8 002C8A38 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) +/* 802CBADC 002C8A3C 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 802CBAE0 002C8A40 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) +/* 802CBAE4 002C8A44 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 802CBAE8 002C8A48 C0 02 C4 40 */ lfs f0, lbl_805AE160@sda21(r2) +/* 802CBAEC 002C8A4C D0 5F 00 DC */ stfs f2, 0xdc(r31) +/* 802CBAF0 002C8A50 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 802CBAF4 002C8A54 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 802CBAF8 002C8A58 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 802CBAFC 002C8A5C D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 802CBB00 002C8A60 98 1F 00 F0 */ stb r0, 0xf0(r31) +/* 802CBB04 002C8A64 98 1F 00 F1 */ stb r0, 0xf1(r31) +/* 802CBB08 002C8A68 D0 3F 00 F4 */ stfs f1, 0xf4(r31) +/* 802CBB0C 002C8A6C D0 3F 00 F8 */ stfs f1, 0xf8(r31) +/* 802CBB10 002C8A70 D0 3F 00 FC */ stfs f1, 0xfc(r31) +/* 802CBB14 002C8A74 D0 3F 01 00 */ stfs f1, 0x100(r31) +/* 802CBB18 002C8A78 80 6D A6 40 */ lwz r3, lbl_805A9200@sda21(r13) +/* 802CBB1C 002C8A7C 80 03 00 08 */ lwz r0, 8(r3) +/* 802CBB20 002C8A80 2C 00 00 02 */ cmpwi r0, 2 +/* 802CBB24 002C8A84 41 82 00 B4 */ beq lbl_802CBBD8 +/* 802CBB28 002C8A88 80 DF 00 B8 */ lwz r6, 0xb8(r31) +/* 802CBB2C 002C8A8C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 802CBB30 002C8A90 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 802CBB34 002C8A94 7F A4 EB 78 */ mr r4, r29 +/* 802CBB38 002C8A98 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CBB3C 002C8A9C 38 61 00 08 */ addi r3, r1, 8 +/* 802CBB40 002C8AA0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802CBB44 002C8AA4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802CBB48 002C8AA8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CBB4C 002C8AAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802CBB50 002C8AB0 7D 89 03 A6 */ mtctr r12 +/* 802CBB54 002C8AB4 4E 80 04 21 */ bctrl +/* 802CBB58 002C8AB8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CBB5C 002C8ABC 38 81 00 08 */ addi r4, r1, 8 +/* 802CBB60 002C8AC0 48 07 53 49 */ bl __ct__6CTokenFRC6CToken +/* 802CBB64 002C8AC4 38 00 00 00 */ li r0, 0 +/* 802CBB68 002C8AC8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CBB6C 002C8ACC 88 1F 00 C8 */ lbz r0, 0xc8(r31) +/* 802CBB70 002C8AD0 28 00 00 00 */ cmplwi r0, 0 +/* 802CBB74 002C8AD4 40 82 00 2C */ bne lbl_802CBBA0 +/* 802CBB78 002C8AD8 37 DF 00 BC */ addic. r30, r31, 0xbc +/* 802CBB7C 002C8ADC 41 82 00 18 */ beq lbl_802CBB94 +/* 802CBB80 002C8AE0 7F C3 F3 78 */ mr r3, r30 +/* 802CBB84 002C8AE4 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CBB88 002C8AE8 48 07 53 21 */ bl __ct__6CTokenFRC6CToken +/* 802CBB8C 002C8AEC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CBB90 002C8AF0 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBB94: +/* 802CBB94 002C8AF4 38 00 00 01 */ li r0, 1 +/* 802CBB98 002C8AF8 98 1F 00 C8 */ stb r0, 0xc8(r31) +/* 802CBB9C 002C8AFC 48 00 00 1C */ b lbl_802CBBB8 +lbl_802CBBA0: +/* 802CBBA0 002C8B00 3B DF 00 BC */ addi r30, r31, 0xbc +/* 802CBBA4 002C8B04 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CBBA8 002C8B08 7F C3 F3 78 */ mr r3, r30 +/* 802CBBAC 002C8B0C 48 07 51 19 */ bl __as__6CTokenFRC6CToken +/* 802CBBB0 002C8B10 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CBBB4 002C8B14 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBBB8: +/* 802CBBB8 002C8B18 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CBBBC 002C8B1C 38 80 00 00 */ li r4, 0 +/* 802CBBC0 002C8B20 48 07 52 81 */ bl __dt__6CTokenFv +/* 802CBBC4 002C8B24 38 61 00 08 */ addi r3, r1, 8 +/* 802CBBC8 002C8B28 38 80 FF FF */ li r4, -1 +/* 802CBBCC 002C8B2C 48 07 52 75 */ bl __dt__6CTokenFv +/* 802CBBD0 002C8B30 38 7F 00 BC */ addi r3, r31, 0xbc +/* 802CBBD4 002C8B34 48 07 51 B1 */ bl Lock__6CTokenFv +lbl_802CBBD8: +/* 802CBBD8 002C8B38 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CBBDC 002C8B3C 7F E3 FB 78 */ mr r3, r31 +/* 802CBBE0 002C8B40 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CBBE4 002C8B44 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CBBE8 002C8B48 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802CBBEC 002C8B4C 7C 08 03 A6 */ mtlr r0 +/* 802CBBF0 002C8B50 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CBBF4 002C8B54 4E 80 00 20 */ blr + +.global Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb +Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb: +/* 802CBBF8 002C8B58 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802CBBFC 002C8B5C 7C 08 02 A6 */ mflr r0 +/* 802CBC00 002C8B60 90 01 00 54 */ stw r0, 0x54(r1) +/* 802CBC04 002C8B64 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802CBC08 002C8B68 7C 7D 1B 78 */ mr r29, r3 +/* 802CBC0C 002C8B6C 7C 9E 23 78 */ mr r30, r4 +/* 802CBC10 002C8B70 7C BF 2B 78 */ mr r31, r5 +/* 802CBC14 002C8B74 38 61 00 08 */ addi r3, r1, 8 +/* 802CBC18 002C8B78 7F A4 EB 78 */ mr r4, r29 +/* 802CBC1C 002C8B7C 7F C5 F3 78 */ mr r5, r30 +/* 802CBC20 002C8B80 4B FF F1 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802CBC24 002C8B84 83 81 00 08 */ lwz r28, 8(r1) +/* 802CBC28 002C8B88 7F C3 F3 78 */ mr r3, r30 +/* 802CBC2C 002C8B8C 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802CBC30 002C8B90 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802CBC34 002C8B94 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802CBC38 002C8B98 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802CBC3C 002C8B9C 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802CBC40 002C8BA0 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802CBC44 002C8BA4 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802CBC48 002C8BA8 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802CBC4C 002C8BAC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802CBC50 002C8BB0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802CBC54 002C8BB4 93 81 00 20 */ stw r28, 0x20(r1) +/* 802CBC58 002C8BB8 99 81 00 24 */ stb r12, 0x24(r1) +/* 802CBC5C 002C8BBC B1 61 00 26 */ sth r11, 0x26(r1) +/* 802CBC60 002C8BC0 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802CBC64 002C8BC4 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802CBC68 002C8BC8 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802CBC6C 002C8BCC 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802CBC70 002C8BD0 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802CBC74 002C8BD4 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802CBC78 002C8BD8 90 81 00 30 */ stw r4, 0x30(r1) +/* 802CBC7C 002C8BDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CBC80 002C8BE0 48 07 30 05 */ bl ReadLong__12CInputStreamFv +/* 802CBC84 002C8BE4 3C 80 80 3D */ lis r4, lbl_803D69B0@ha +/* 802CBC88 002C8BE8 7C 7C 1B 78 */ mr r28, r3 +/* 802CBC8C 002C8BEC 38 84 69 B0 */ addi r4, r4, lbl_803D69B0@l +/* 802CBC90 002C8BF0 38 60 01 04 */ li r3, 0x104 +/* 802CBC94 002C8BF4 38 A0 00 00 */ li r5, 0 +/* 802CBC98 002C8BF8 38 84 00 0A */ addi r4, r4, 0xa +/* 802CBC9C 002C8BFC 48 04 9B D1 */ bl __nw__FUlPCcPCc +/* 802CBCA0 002C8C00 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802CBCA4 002C8C04 41 82 00 18 */ beq lbl_802CBCBC +/* 802CBCA8 002C8C08 7F E5 FB 78 */ mr r5, r31 +/* 802CBCAC 002C8C0C 7F 86 E3 78 */ mr r6, r28 +/* 802CBCB0 002C8C10 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CBCB4 002C8C14 4B FF FD C1 */ bl __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi +/* 802CBCB8 002C8C18 7C 7B 1B 78 */ mr r27, r3 +lbl_802CBCBC: +/* 802CBCBC 002C8C1C 7F 63 DB 78 */ mr r3, r27 +/* 802CBCC0 002C8C20 7F A4 EB 78 */ mr r4, r29 +/* 802CBCC4 002C8C24 7F C5 F3 78 */ mr r5, r30 +/* 802CBCC8 002C8C28 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802CBCCC 002C8C2C 4B FF ED BD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802CBCD0 002C8C30 7F 63 DB 78 */ mr r3, r27 +/* 802CBCD4 002C8C34 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802CBCD8 002C8C38 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802CBCDC 002C8C3C 7C 08 03 A6 */ mtlr r0 +/* 802CBCE0 002C8C40 38 21 00 50 */ addi r1, r1, 0x50 +/* 802CBCE4 002C8C44 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiImagePane.s b/asm/GuiSys/CAuiImagePane.s new file mode 100644 index 00000000..f015061b --- /dev/null +++ b/asm/GuiSys/CAuiImagePane.s @@ -0,0 +1,1637 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__13CAuiImagePaneFv +__dt__13CAuiImagePaneFv: +/* 802CBCE8 002C8C48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CBCEC 002C8C4C 7C 08 02 A6 */ mflr r0 +/* 802CBCF0 002C8C50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CBCF4 002C8C54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CBCF8 002C8C58 7C 9F 23 78 */ mr r31, r4 +/* 802CBCFC 002C8C5C 93 C1 00 08 */ stw r30, 8(r1) +/* 802CBD00 002C8C60 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CBD04 002C8C64 41 82 01 18 */ beq lbl_802CBE1C +/* 802CBD08 002C8C68 3C 60 80 3F */ lis r3, lbl_803ECA90@ha +/* 802CBD0C 002C8C6C 34 1E 01 14 */ addic. r0, r30, 0x114 +/* 802CBD10 002C8C70 38 03 CA 90 */ addi r0, r3, lbl_803ECA90@l +/* 802CBD14 002C8C74 90 1E 00 00 */ stw r0, 0(r30) +/* 802CBD18 002C8C78 41 82 00 58 */ beq lbl_802CBD70 +/* 802CBD1C 002C8C7C 80 BE 01 14 */ lwz r5, 0x114(r30) +/* 802CBD20 002C8C80 38 60 00 00 */ li r3, 0 +/* 802CBD24 002C8C84 2C 05 00 00 */ cmpwi r5, 0 +/* 802CBD28 002C8C88 40 81 00 40 */ ble lbl_802CBD68 +/* 802CBD2C 002C8C8C 2C 05 00 08 */ cmpwi r5, 8 +/* 802CBD30 002C8C90 38 85 FF F8 */ addi r4, r5, -8 +/* 802CBD34 002C8C94 40 81 00 20 */ ble lbl_802CBD54 +/* 802CBD38 002C8C98 38 04 00 07 */ addi r0, r4, 7 +/* 802CBD3C 002C8C9C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CBD40 002C8CA0 7C 09 03 A6 */ mtctr r0 +/* 802CBD44 002C8CA4 2C 04 00 00 */ cmpwi r4, 0 +/* 802CBD48 002C8CA8 40 81 00 0C */ ble lbl_802CBD54 +lbl_802CBD4C: +/* 802CBD4C 002C8CAC 38 63 00 08 */ addi r3, r3, 8 +/* 802CBD50 002C8CB0 42 00 FF FC */ bdnz lbl_802CBD4C +lbl_802CBD54: +/* 802CBD54 002C8CB4 7C 03 28 50 */ subf r0, r3, r5 +/* 802CBD58 002C8CB8 7C 09 03 A6 */ mtctr r0 +/* 802CBD5C 002C8CBC 7C 03 28 00 */ cmpw r3, r5 +/* 802CBD60 002C8CC0 40 80 00 08 */ bge lbl_802CBD68 +lbl_802CBD64: +/* 802CBD64 002C8CC4 42 00 00 00 */ bdnz lbl_802CBD64 +lbl_802CBD68: +/* 802CBD68 002C8CC8 38 00 00 00 */ li r0, 0 +/* 802CBD6C 002C8CCC 90 1E 01 14 */ stw r0, 0x114(r30) +lbl_802CBD70: +/* 802CBD70 002C8CD0 34 1E 00 E0 */ addic. r0, r30, 0xe0 +/* 802CBD74 002C8CD4 41 82 00 58 */ beq lbl_802CBDCC +/* 802CBD78 002C8CD8 80 BE 00 E0 */ lwz r5, 0xe0(r30) +/* 802CBD7C 002C8CDC 38 60 00 00 */ li r3, 0 +/* 802CBD80 002C8CE0 2C 05 00 00 */ cmpwi r5, 0 +/* 802CBD84 002C8CE4 40 81 00 40 */ ble lbl_802CBDC4 +/* 802CBD88 002C8CE8 2C 05 00 08 */ cmpwi r5, 8 +/* 802CBD8C 002C8CEC 38 85 FF F8 */ addi r4, r5, -8 +/* 802CBD90 002C8CF0 40 81 00 20 */ ble lbl_802CBDB0 +/* 802CBD94 002C8CF4 38 04 00 07 */ addi r0, r4, 7 +/* 802CBD98 002C8CF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CBD9C 002C8CFC 7C 09 03 A6 */ mtctr r0 +/* 802CBDA0 002C8D00 2C 04 00 00 */ cmpwi r4, 0 +/* 802CBDA4 002C8D04 40 81 00 0C */ ble lbl_802CBDB0 +lbl_802CBDA8: +/* 802CBDA8 002C8D08 38 63 00 08 */ addi r3, r3, 8 +/* 802CBDAC 002C8D0C 42 00 FF FC */ bdnz lbl_802CBDA8 +lbl_802CBDB0: +/* 802CBDB0 002C8D10 7C 03 28 50 */ subf r0, r3, r5 +/* 802CBDB4 002C8D14 7C 09 03 A6 */ mtctr r0 +/* 802CBDB8 002C8D18 7C 03 28 00 */ cmpw r3, r5 +/* 802CBDBC 002C8D1C 40 80 00 08 */ bge lbl_802CBDC4 +lbl_802CBDC0: +/* 802CBDC0 002C8D20 42 00 00 00 */ bdnz lbl_802CBDC0 +lbl_802CBDC4: +/* 802CBDC4 002C8D24 38 00 00 00 */ li r0, 0 +/* 802CBDC8 002C8D28 90 1E 00 E0 */ stw r0, 0xe0(r30) +lbl_802CBDCC: +/* 802CBDCC 002C8D2C 34 1E 00 B8 */ addic. r0, r30, 0xb8 +/* 802CBDD0 002C8D30 41 82 00 30 */ beq lbl_802CBE00 +/* 802CBDD4 002C8D34 88 1E 00 C4 */ lbz r0, 0xc4(r30) +/* 802CBDD8 002C8D38 28 00 00 00 */ cmplwi r0, 0 +/* 802CBDDC 002C8D3C 41 82 00 1C */ beq lbl_802CBDF8 +/* 802CBDE0 002C8D40 34 7E 00 B8 */ addic. r3, r30, 0xb8 +/* 802CBDE4 002C8D44 41 82 00 14 */ beq lbl_802CBDF8 +/* 802CBDE8 002C8D48 28 03 00 00 */ cmplwi r3, 0 +/* 802CBDEC 002C8D4C 41 82 00 0C */ beq lbl_802CBDF8 +/* 802CBDF0 002C8D50 38 80 00 00 */ li r4, 0 +/* 802CBDF4 002C8D54 48 07 50 4D */ bl __dt__6CTokenFv +lbl_802CBDF8: +/* 802CBDF8 002C8D58 38 00 00 00 */ li r0, 0 +/* 802CBDFC 002C8D5C 98 1E 00 C4 */ stb r0, 0xc4(r30) +lbl_802CBE00: +/* 802CBE00 002C8D60 7F C3 F3 78 */ mr r3, r30 +/* 802CBE04 002C8D64 38 80 00 00 */ li r4, 0 +/* 802CBE08 002C8D68 4B FF ED AD */ bl __dt__10CGuiWidgetFv +/* 802CBE0C 002C8D6C 7F E0 07 35 */ extsh. r0, r31 +/* 802CBE10 002C8D70 40 81 00 0C */ ble lbl_802CBE1C +/* 802CBE14 002C8D74 7F C3 F3 78 */ mr r3, r30 +/* 802CBE18 002C8D78 48 04 9B 19 */ bl Free__7CMemoryFPCv +lbl_802CBE1C: +/* 802CBE1C 002C8D7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CBE20 002C8D80 7F C3 F3 78 */ mr r3, r30 +/* 802CBE24 002C8D84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CBE28 002C8D88 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CBE2C 002C8D8C 7C 08 03 A6 */ mtlr r0 +/* 802CBE30 002C8D90 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CBE34 002C8D94 4E 80 00 20 */ blr + +.global GetWidgetTypeID__13CAuiImagePaneCFv +GetWidgetTypeID__13CAuiImagePaneCFv: +/* 802CBE38 002C8D98 3C 60 49 4D */ lis r3, 0x494D4750@ha +/* 802CBE3C 002C8D9C 38 63 47 50 */ addi r3, r3, 0x494D4750@l +/* 802CBE40 002C8DA0 4E 80 00 20 */ blr + +.global GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv +GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv: +/* 802CBE44 002C8DA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CBE48 002C8DA8 7C 08 02 A6 */ mflr r0 +/* 802CBE4C 002C8DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CBE50 002C8DB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CBE54 002C8DB4 88 03 00 C4 */ lbz r0, 0xc4(r3) +/* 802CBE58 002C8DB8 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE5C 002C8DBC 40 82 00 0C */ bne lbl_802CBE68 +/* 802CBE60 002C8DC0 38 60 00 01 */ li r3, 1 +/* 802CBE64 002C8DC4 48 00 00 54 */ b lbl_802CBEB8 +lbl_802CBE68: +/* 802CBE68 002C8DC8 3B E3 00 B8 */ addi r31, r3, 0xb8 +/* 802CBE6C 002C8DCC 80 03 00 C0 */ lwz r0, 0xc0(r3) +/* 802CBE70 002C8DD0 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE74 002C8DD4 41 82 00 0C */ beq lbl_802CBE80 +/* 802CBE78 002C8DD8 38 60 00 01 */ li r3, 1 +/* 802CBE7C 002C8DDC 48 00 00 3C */ b lbl_802CBEB8 +lbl_802CBE80: +/* 802CBE80 002C8DE0 88 1F 00 04 */ lbz r0, 4(r31) +/* 802CBE84 002C8DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE88 002C8DE8 41 82 00 2C */ beq lbl_802CBEB4 +/* 802CBE8C 002C8DEC 80 7F 00 00 */ lwz r3, 0(r31) +/* 802CBE90 002C8DF0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802CBE94 002C8DF4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBE98 002C8DF8 41 82 00 1C */ beq lbl_802CBEB4 +/* 802CBE9C 002C8DFC 7F E3 FB 78 */ mr r3, r31 +/* 802CBEA0 002C8E00 48 07 4F 6D */ bl GetObj__6CTokenFv +/* 802CBEA4 002C8E04 80 03 00 04 */ lwz r0, 4(r3) +/* 802CBEA8 002C8E08 38 60 00 01 */ li r3, 1 +/* 802CBEAC 002C8E0C 90 1F 00 08 */ stw r0, 8(r31) +/* 802CBEB0 002C8E10 48 00 00 08 */ b lbl_802CBEB8 +lbl_802CBEB4: +/* 802CBEB4 002C8E14 38 60 00 00 */ li r3, 0 +lbl_802CBEB8: +/* 802CBEB8 002C8E18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CBEBC 002C8E1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CBEC0 002C8E20 7C 08 03 A6 */ mtlr r0 +/* 802CBEC4 002C8E24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CBEC8 002C8E28 4E 80 00 20 */ blr + +.global SetTextureID0__13CAuiImagePaneFUib +SetTextureID0__13CAuiImagePaneFUib: +/* 802CBECC 002C8E2C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802CBED0 002C8E30 7C 08 02 A6 */ mflr r0 +/* 802CBED4 002C8E34 28 05 00 00 */ cmplwi r5, 0 +/* 802CBED8 002C8E38 90 01 00 44 */ stw r0, 0x44(r1) +/* 802CBEDC 002C8E3C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CBEE0 002C8E40 7C 7F 1B 78 */ mr r31, r3 +/* 802CBEE4 002C8E44 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802CBEE8 002C8E48 90 83 00 C8 */ stw r4, 0xc8(r3) +/* 802CBEEC 002C8E4C 41 82 01 80 */ beq lbl_802CC06C +/* 802CBEF0 002C8E50 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802CBEF4 002C8E54 3C 04 00 01 */ addis r0, r4, 1 +/* 802CBEF8 002C8E58 28 00 FF FF */ cmplwi r0, 0xffff +/* 802CBEFC 002C8E5C 41 82 00 B4 */ beq lbl_802CBFB0 +/* 802CBF00 002C8E60 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 802CBF04 002C8E64 90 81 00 14 */ stw r4, 0x14(r1) +/* 802CBF08 002C8E68 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 802CBF0C 002C8E6C 7C A4 2B 78 */ mr r4, r5 +/* 802CBF10 002C8E70 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CBF14 002C8E74 38 61 00 08 */ addi r3, r1, 8 +/* 802CBF18 002C8E78 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802CBF1C 002C8E7C 81 84 00 00 */ lwz r12, 0(r4) +/* 802CBF20 002C8E80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802CBF24 002C8E84 7D 89 03 A6 */ mtctr r12 +/* 802CBF28 002C8E88 4E 80 04 21 */ bctrl +/* 802CBF2C 002C8E8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CBF30 002C8E90 38 81 00 08 */ addi r4, r1, 8 +/* 802CBF34 002C8E94 48 07 4F 75 */ bl __ct__6CTokenFRC6CToken +/* 802CBF38 002C8E98 38 00 00 00 */ li r0, 0 +/* 802CBF3C 002C8E9C 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CBF40 002C8EA0 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CBF44 002C8EA4 28 00 00 00 */ cmplwi r0, 0 +/* 802CBF48 002C8EA8 40 82 00 2C */ bne lbl_802CBF74 +/* 802CBF4C 002C8EAC 37 DF 00 B8 */ addic. r30, r31, 0xb8 +/* 802CBF50 002C8EB0 41 82 00 18 */ beq lbl_802CBF68 +/* 802CBF54 002C8EB4 7F C3 F3 78 */ mr r3, r30 +/* 802CBF58 002C8EB8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CBF5C 002C8EBC 48 07 4F 4D */ bl __ct__6CTokenFRC6CToken +/* 802CBF60 002C8EC0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CBF64 002C8EC4 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBF68: +/* 802CBF68 002C8EC8 38 00 00 01 */ li r0, 1 +/* 802CBF6C 002C8ECC 98 1F 00 C4 */ stb r0, 0xc4(r31) +/* 802CBF70 002C8ED0 48 00 00 1C */ b lbl_802CBF8C +lbl_802CBF74: +/* 802CBF74 002C8ED4 3B DF 00 B8 */ addi r30, r31, 0xb8 +/* 802CBF78 002C8ED8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CBF7C 002C8EDC 7F C3 F3 78 */ mr r3, r30 +/* 802CBF80 002C8EE0 48 07 4D 45 */ bl __as__6CTokenFRC6CToken +/* 802CBF84 002C8EE4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CBF88 002C8EE8 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBF8C: +/* 802CBF8C 002C8EEC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CBF90 002C8EF0 38 80 00 00 */ li r4, 0 +/* 802CBF94 002C8EF4 48 07 4E AD */ bl __dt__6CTokenFv +/* 802CBF98 002C8EF8 38 61 00 08 */ addi r3, r1, 8 +/* 802CBF9C 002C8EFC 38 80 FF FF */ li r4, -1 +/* 802CBFA0 002C8F00 48 07 4E A1 */ bl __dt__6CTokenFv +/* 802CBFA4 002C8F04 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802CBFA8 002C8F08 48 07 4D DD */ bl Lock__6CTokenFv +/* 802CBFAC 002C8F0C 48 00 00 C0 */ b lbl_802CC06C +lbl_802CBFB0: +/* 802CBFB0 002C8F10 3B DF 00 B8 */ addi r30, r31, 0xb8 +/* 802CBFB4 002C8F14 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CBFB8 002C8F18 38 00 00 00 */ li r0, 0 +/* 802CBFBC 002C8F1C 7C 1E 20 40 */ cmplw r30, r4 +/* 802CBFC0 002C8F20 98 01 00 24 */ stb r0, 0x24(r1) +/* 802CBFC4 002C8F24 41 82 00 7C */ beq lbl_802CC040 +/* 802CBFC8 002C8F28 28 00 00 00 */ cmplwi r0, 0 +/* 802CBFCC 002C8F2C 41 82 00 48 */ beq lbl_802CC014 +/* 802CBFD0 002C8F30 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CBFD4 002C8F34 28 00 00 00 */ cmplwi r0, 0 +/* 802CBFD8 002C8F38 40 82 00 28 */ bne lbl_802CC000 +/* 802CBFDC 002C8F3C 37 DF 00 B8 */ addic. r30, r31, 0xb8 +/* 802CBFE0 002C8F40 41 82 00 14 */ beq lbl_802CBFF4 +/* 802CBFE4 002C8F44 7F C3 F3 78 */ mr r3, r30 +/* 802CBFE8 002C8F48 48 07 4E C1 */ bl __ct__6CTokenFRC6CToken +/* 802CBFEC 002C8F4C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CBFF0 002C8F50 90 1E 00 08 */ stw r0, 8(r30) +lbl_802CBFF4: +/* 802CBFF4 002C8F54 38 00 00 01 */ li r0, 1 +/* 802CBFF8 002C8F58 98 1F 00 C4 */ stb r0, 0xc4(r31) +/* 802CBFFC 002C8F5C 48 00 00 44 */ b lbl_802CC040 +lbl_802CC000: +/* 802CC000 002C8F60 7F C3 F3 78 */ mr r3, r30 +/* 802CC004 002C8F64 48 07 4C C1 */ bl __as__6CTokenFRC6CToken +/* 802CC008 002C8F68 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802CC00C 002C8F6C 90 1E 00 08 */ stw r0, 8(r30) +/* 802CC010 002C8F70 48 00 00 30 */ b lbl_802CC040 +lbl_802CC014: +/* 802CC014 002C8F74 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CC018 002C8F78 28 00 00 00 */ cmplwi r0, 0 +/* 802CC01C 002C8F7C 41 82 00 1C */ beq lbl_802CC038 +/* 802CC020 002C8F80 34 7F 00 B8 */ addic. r3, r31, 0xb8 +/* 802CC024 002C8F84 41 82 00 14 */ beq lbl_802CC038 +/* 802CC028 002C8F88 28 03 00 00 */ cmplwi r3, 0 +/* 802CC02C 002C8F8C 41 82 00 0C */ beq lbl_802CC038 +/* 802CC030 002C8F90 38 80 00 00 */ li r4, 0 +/* 802CC034 002C8F94 48 07 4E 0D */ bl __dt__6CTokenFv +lbl_802CC038: +/* 802CC038 002C8F98 38 00 00 00 */ li r0, 0 +/* 802CC03C 002C8F9C 98 1F 00 C4 */ stb r0, 0xc4(r31) +lbl_802CC040: +/* 802CC040 002C8FA0 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802CC044 002C8FA4 28 00 00 00 */ cmplwi r0, 0 +/* 802CC048 002C8FA8 41 82 00 1C */ beq lbl_802CC064 +/* 802CC04C 002C8FAC 34 61 00 18 */ addic. r3, r1, 0x18 +/* 802CC050 002C8FB0 41 82 00 14 */ beq lbl_802CC064 +/* 802CC054 002C8FB4 28 03 00 00 */ cmplwi r3, 0 +/* 802CC058 002C8FB8 41 82 00 0C */ beq lbl_802CC064 +/* 802CC05C 002C8FBC 38 80 00 00 */ li r4, 0 +/* 802CC060 002C8FC0 48 07 4D E1 */ bl __dt__6CTokenFv +lbl_802CC064: +/* 802CC064 002C8FC4 38 00 00 00 */ li r0, 0 +/* 802CC068 002C8FC8 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802CC06C: +/* 802CC06C 002C8FCC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CC070 002C8FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CC074 002C8FD4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CC078 002C8FD8 7C 08 03 A6 */ mtlr r0 +/* 802CC07C 002C8FDC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CC080 002C8FE0 4E 80 00 20 */ blr + +.global DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb: +/* 802CC084 002C8FE4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802CC088 002C8FE8 7C 08 02 A6 */ mflr r0 +/* 802CC08C 002C8FEC 90 01 01 54 */ stw r0, 0x154(r1) +/* 802CC090 002C8FF0 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 802CC094 002C8FF4 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 802CC098 002C8FF8 DB C1 01 30 */ stfd f30, 0x130(r1) +/* 802CC09C 002C8FFC F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 802CC0A0 002C9000 DB A1 01 20 */ stfd f29, 0x120(r1) +/* 802CC0A4 002C9004 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 802CC0A8 002C9008 DB 81 01 10 */ stfd f28, 0x110(r1) +/* 802CC0AC 002C900C F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 +/* 802CC0B0 002C9010 DB 61 01 00 */ stfd f27, 0x100(r1) +/* 802CC0B4 002C9014 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 +/* 802CC0B8 002C9018 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 802CC0BC 002C901C 89 04 00 03 */ lbz r8, 3(r4) +/* 802CC0C0 002C9020 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC0C4 002C9024 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 802CC0C8 002C9028 FF E0 08 90 */ fmr f31, f1 +/* 802CC0CC 002C902C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) +/* 802CC0D0 002C9030 7C 7C 1B 78 */ mr r28, r3 +/* 802CC0D4 002C9034 91 01 00 A4 */ stw r8, 0xa4(r1) +/* 802CC0D8 002C9038 7C BD 2B 78 */ mr r29, r5 +/* 802CC0DC 002C903C 7C DF 33 78 */ mr r31, r6 +/* 802CC0E0 002C9040 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802CC0E4 002C9044 7C FE 3B 78 */ mr r30, r7 +/* 802CC0E8 002C9048 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC0EC 002C904C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 802CC0F0 002C9050 F0 41 A0 08 */ psq_st f2, 8(r1), 1, qr2 +/* 802CC0F4 002C9054 38 00 00 00 */ li r0, 0 +/* 802CC0F8 002C9058 80 C4 00 00 */ lwz r6, 0(r4) +/* 802CC0FC 002C905C 38 7C 01 38 */ addi r3, r28, 0x138 +/* 802CC100 002C9060 88 A1 00 08 */ lbz r5, 8(r1) +/* 802CC104 002C9064 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 +/* 802CC108 002C9068 50 C5 00 2E */ rlwimi r5, r6, 0, 0, 0x17 +/* 802CC10C 002C906C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC110 002C9070 90 A1 00 24 */ stw r5, 0x24(r1) +/* 802CC114 002C9074 48 04 7D F5 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 802CC118 002C9078 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CC11C 002C907C 40 82 01 D4 */ bne lbl_802CC2F0 +/* 802CC120 002C9080 80 BC 00 C0 */ lwz r5, 0xc0(r28) +/* 802CC124 002C9084 3C 80 43 30 */ lis r4, 0x4330 +/* 802CC128 002C9088 90 81 00 A0 */ stw r4, 0xa0(r1) +/* 802CC12C 002C908C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802CC130 002C9090 A8 05 00 04 */ lha r0, 4(r5) +/* 802CC134 002C9094 A8 C5 00 06 */ lha r6, 6(r5) +/* 802CC138 002C9098 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 802CC13C 002C909C C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CC140 002C90A0 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 802CC144 002C90A4 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 802CC148 002C90A8 C0 BC 01 38 */ lfs f5, 0x138(r28) +/* 802CC14C 002C90AC C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802CC150 002C90B0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802CC154 002C90B4 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC158 002C90B8 C0 DC 01 3C */ lfs f6, 0x13c(r28) +/* 802CC15C 002C90BC 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 802CC160 002C90C0 EC 60 28 24 */ fdivs f3, f0, f5 +/* 802CC164 002C90C4 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802CC168 002C90C8 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 802CC16C 002C90CC 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 802CC170 002C90D0 C8 21 00 C0 */ lfd f1, 0xc0(r1) +/* 802CC174 002C90D4 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802CC178 002C90D8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CC17C 002C90DC 90 81 00 C8 */ stw r4, 0xc8(r1) +/* 802CC180 002C90E0 FC 60 18 1E */ fctiwz f3, f3 +/* 802CC184 002C90E4 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802CC188 002C90E8 EC 21 20 28 */ fsubs f1, f1, f4 +/* 802CC18C 002C90EC EC 42 30 24 */ fdivs f2, f2, f6 +/* 802CC190 002C90F0 D8 61 00 A8 */ stfd f3, 0xa8(r1) +/* 802CC194 002C90F4 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 802CC198 002C90F8 90 81 00 D0 */ stw r4, 0xd0(r1) +/* 802CC19C 002C90FC 7C 1F 2B D6 */ divw r0, r31, r5 +/* 802CC1A0 002C9100 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 802CC1A4 002C9104 FC 40 10 1E */ fctiwz f2, f2 +/* 802CC1A8 002C9108 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC1AC 002C910C EC 65 08 24 */ fdivs f3, f5, f1 +/* 802CC1B0 002C9110 D8 41 00 B8 */ stfd f2, 0xb8(r1) +/* 802CC1B4 002C9114 80 C1 00 BC */ lwz r6, 0xbc(r1) +/* 802CC1B8 002C9118 7C 80 29 D6 */ mullw r4, r0, r5 +/* 802CC1BC 002C911C 7C 1F 33 D6 */ divw r0, r31, r6 +/* 802CC1C0 002C9120 7C 84 F8 50 */ subf r4, r4, r31 +/* 802CC1C4 002C9124 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CC1C8 002C9128 EC A6 00 24 */ fdivs f5, f6, f0 +/* 802CC1CC 002C912C 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 802CC1D0 002C9130 C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802CC1D4 002C9134 7C 00 30 50 */ subf r0, r0, r6 +/* 802CC1D8 002C9138 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC1DC 002C913C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802CC1E0 002C9140 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802CC1E4 002C9144 EC 21 20 28 */ fsubs f1, f1, f4 +/* 802CC1E8 002C9148 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC1EC 002C914C EF C3 00 72 */ fmuls f30, f3, f1 +/* 802CC1F0 002C9150 EF A5 00 32 */ fmuls f29, f5, f0 +/* 802CC1F4 002C9154 FC 20 F0 90 */ fmr f1, f30 +/* 802CC1F8 002C9158 EF 9E 18 2A */ fadds f28, f30, f3 +/* 802CC1FC 002C915C FC 40 E8 90 */ fmr f2, f29 +/* 802CC200 002C9160 EF 7D 28 28 */ fsubs f27, f29, f5 +/* 802CC204 002C9164 48 04 7F FD */ bl __ct__9CVector2fFff +/* 802CC208 002C9168 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC20C 002C916C 3B E1 00 7C */ addi r31, r1, 0x7c +/* 802CC210 002C9170 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC214 002C9174 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC218 002C9178 41 82 00 14 */ beq lbl_802CC22C +/* 802CC21C 002C917C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802CC220 002C9180 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802CC224 002C9184 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC228 002C9188 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC22C: +/* 802CC22C 002C918C 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC230 002C9190 FC 20 F0 90 */ fmr f1, f30 +/* 802CC234 002C9194 FC 40 D8 90 */ fmr f2, f27 +/* 802CC238 002C9198 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CC23C 002C919C 38 04 00 01 */ addi r0, r4, 1 +/* 802CC240 002C91A0 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC244 002C91A4 48 04 7F BD */ bl __ct__9CVector2fFff +/* 802CC248 002C91A8 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC24C 002C91AC 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC250 002C91B0 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC254 002C91B4 41 82 00 14 */ beq lbl_802CC268 +/* 802CC258 002C91B8 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802CC25C 002C91BC C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802CC260 002C91C0 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC264 002C91C4 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC268: +/* 802CC268 002C91C8 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC26C 002C91CC FC 20 E0 90 */ fmr f1, f28 +/* 802CC270 002C91D0 FC 40 E8 90 */ fmr f2, f29 +/* 802CC274 002C91D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802CC278 002C91D8 38 04 00 01 */ addi r0, r4, 1 +/* 802CC27C 002C91DC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC280 002C91E0 48 04 7F 81 */ bl __ct__9CVector2fFff +/* 802CC284 002C91E4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC288 002C91E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC28C 002C91EC 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC290 002C91F0 41 82 00 14 */ beq lbl_802CC2A4 +/* 802CC294 002C91F4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802CC298 002C91F8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802CC29C 002C91FC D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC2A0 002C9200 D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC2A4: +/* 802CC2A4 002C9204 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802CC2A8 002C9208 FC 20 E0 90 */ fmr f1, f28 +/* 802CC2AC 002C920C FC 40 D8 90 */ fmr f2, f27 +/* 802CC2B0 002C9210 38 61 00 40 */ addi r3, r1, 0x40 +/* 802CC2B4 002C9214 38 04 00 01 */ addi r0, r4, 1 +/* 802CC2B8 002C9218 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC2BC 002C921C 48 04 7F 45 */ bl __ct__9CVector2fFff +/* 802CC2C0 002C9220 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802CC2C4 002C9224 54 00 18 38 */ slwi r0, r0, 3 +/* 802CC2C8 002C9228 7C 7F 02 15 */ add. r3, r31, r0 +/* 802CC2CC 002C922C 41 82 00 14 */ beq lbl_802CC2E0 +/* 802CC2D0 002C9230 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 802CC2D4 002C9234 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802CC2D8 002C9238 D0 23 00 00 */ stfs f1, 0(r3) +/* 802CC2DC 002C923C D0 03 00 04 */ stfs f0, 4(r3) +lbl_802CC2E0: +/* 802CC2E0 002C9240 80 61 00 78 */ lwz r3, 0x78(r1) +/* 802CC2E4 002C9244 38 03 00 01 */ addi r0, r3, 1 +/* 802CC2E8 002C9248 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC2EC 002C924C 48 00 00 08 */ b lbl_802CC2F4 +lbl_802CC2F0: +/* 802CC2F0 002C9250 3B FC 01 18 */ addi r31, r28, 0x118 +lbl_802CC2F4: +/* 802CC2F4 002C9254 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802CC2F8 002C9258 41 82 00 DC */ beq lbl_802CC3D4 +/* 802CC2FC 002C925C 3C 80 80 5A */ lis r4, lbl_805A5FEC@ha +/* 802CC300 002C9260 38 60 00 00 */ li r3, 0 +/* 802CC304 002C9264 38 84 5F EC */ addi r4, r4, lbl_805A5FEC@l +/* 802CC308 002C9268 48 03 DF B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC30C 002C926C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802CC310 002C9270 38 60 00 01 */ li r3, 1 +/* 802CC314 002C9274 48 03 DF A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC318 002C9278 7F A3 EB 78 */ mr r3, r29 +/* 802CC31C 002C927C 38 80 00 00 */ li r4, 0 +/* 802CC320 002C9280 38 A0 00 01 */ li r5, 1 +/* 802CC324 002C9284 48 04 34 19 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC328 002C9288 38 60 00 98 */ li r3, 0x98 +/* 802CC32C 002C928C 48 03 F3 3D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 802CC330 002C9290 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CC334 002C9294 48 03 F2 15 */ bl StreamColor__9CGraphicsFRC6CColor +/* 802CC338 002C9298 7F FD FB 78 */ mr r29, r31 +/* 802CC33C 002C929C 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CC340 002C92A0 3B E0 00 00 */ li r31, 0 +lbl_802CC344: +/* 802CC344 002C92A4 7F A4 EB 78 */ mr r4, r29 +/* 802CC348 002C92A8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CC34C 002C92AC 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC350 002C92B0 48 04 7C 21 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC354 002C92B4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CC358 002C92B8 48 03 F1 3D */ bl StreamTexcoord__9CGraphicsFRC9CVector2f +/* 802CC35C 002C92BC 7F C3 F3 78 */ mr r3, r30 +/* 802CC360 002C92C0 48 03 F2 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CC364 002C92C4 3B FF 00 01 */ addi r31, r31, 1 +/* 802CC368 002C92C8 3B DE 00 0C */ addi r30, r30, 0xc +/* 802CC36C 002C92CC 2C 1F 00 04 */ cmpwi r31, 4 +/* 802CC370 002C92D0 3B BD 00 08 */ addi r29, r29, 8 +/* 802CC374 002C92D4 41 80 FF D0 */ blt lbl_802CC344 +/* 802CC378 002C92D8 48 03 F0 99 */ bl StreamEnd__9CGraphicsFv +/* 802CC37C 002C92DC 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 802CC380 002C92E0 38 60 00 00 */ li r3, 0 +/* 802CC384 002C92E4 2C 05 00 00 */ cmpwi r5, 0 +/* 802CC388 002C92E8 40 81 00 40 */ ble lbl_802CC3C8 +/* 802CC38C 002C92EC 2C 05 00 08 */ cmpwi r5, 8 +/* 802CC390 002C92F0 38 85 FF F8 */ addi r4, r5, -8 +/* 802CC394 002C92F4 40 81 00 20 */ ble lbl_802CC3B4 +/* 802CC398 002C92F8 38 04 00 07 */ addi r0, r4, 7 +/* 802CC39C 002C92FC 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CC3A0 002C9300 7C 09 03 A6 */ mtctr r0 +/* 802CC3A4 002C9304 2C 04 00 00 */ cmpwi r4, 0 +/* 802CC3A8 002C9308 40 81 00 0C */ ble lbl_802CC3B4 +lbl_802CC3AC: +/* 802CC3AC 002C930C 38 63 00 08 */ addi r3, r3, 8 +/* 802CC3B0 002C9310 42 00 FF FC */ bdnz lbl_802CC3AC +lbl_802CC3B4: +/* 802CC3B4 002C9314 7C 03 28 50 */ subf r0, r3, r5 +/* 802CC3B8 002C9318 7C 09 03 A6 */ mtctr r0 +/* 802CC3BC 002C931C 7C 03 28 00 */ cmpw r3, r5 +/* 802CC3C0 002C9320 40 80 00 08 */ bge lbl_802CC3C8 +lbl_802CC3C4: +/* 802CC3C4 002C9324 42 00 00 00 */ bdnz lbl_802CC3C4 +lbl_802CC3C8: +/* 802CC3C8 002C9328 38 00 00 00 */ li r0, 0 +/* 802CC3CC 002C932C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802CC3D0 002C9330 48 00 04 28 */ b lbl_802CC7F8 +lbl_802CC3D4: +/* 802CC3D4 002C9334 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CC3D8 002C9338 C0 3C 01 4C */ lfs f1, 0x14c(r28) +/* 802CC3DC 002C933C 88 7D 00 08 */ lbz r3, 8(r29) +/* 802CC3E0 002C9340 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802CC3E4 002C9344 7C 63 07 74 */ extsb r3, r3 +/* 802CC3E8 002C9348 40 82 00 10 */ bne lbl_802CC3F8 +/* 802CC3EC 002C934C C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CC3F0 002C9350 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 802CC3F4 002C9354 41 82 00 0C */ beq lbl_802CC400 +lbl_802CC3F8: +/* 802CC3F8 002C9358 2C 03 00 01 */ cmpwi r3, 1 +/* 802CC3FC 002C935C 40 82 00 8C */ bne lbl_802CC488 +lbl_802CC400: +/* 802CC400 002C9360 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802CC404 002C9364 38 60 00 00 */ li r3, 0 +/* 802CC408 002C9368 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802CC40C 002C936C 48 03 DE AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC410 002C9370 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802CC414 002C9374 38 60 00 01 */ li r3, 1 +/* 802CC418 002C9378 48 03 DE A1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802CC41C 002C937C 7F A3 EB 78 */ mr r3, r29 +/* 802CC420 002C9380 38 80 00 00 */ li r4, 0 +/* 802CC424 002C9384 38 A0 00 00 */ li r5, 0 +/* 802CC428 002C9388 38 C0 00 01 */ li r6, 1 +/* 802CC42C 002C938C 48 04 2F 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC430 002C9390 38 60 00 98 */ li r3, 0x98 +/* 802CC434 002C9394 48 03 F2 35 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 802CC438 002C9398 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CC43C 002C939C 48 03 F1 0D */ bl StreamColor__9CGraphicsFRC6CColor +/* 802CC440 002C93A0 7F FD FB 78 */ mr r29, r31 +/* 802CC444 002C93A4 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CC448 002C93A8 3B E0 00 00 */ li r31, 0 +lbl_802CC44C: +/* 802CC44C 002C93AC 7F A4 EB 78 */ mr r4, r29 +/* 802CC450 002C93B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CC454 002C93B4 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC458 002C93B8 48 04 7B 19 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC45C 002C93BC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802CC460 002C93C0 48 03 F0 35 */ bl StreamTexcoord__9CGraphicsFRC9CVector2f +/* 802CC464 002C93C4 7F C3 F3 78 */ mr r3, r30 +/* 802CC468 002C93C8 48 03 F1 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 802CC46C 002C93CC 3B FF 00 01 */ addi r31, r31, 1 +/* 802CC470 002C93D0 3B DE 00 0C */ addi r30, r30, 0xc +/* 802CC474 002C93D4 2C 1F 00 04 */ cmpwi r31, 4 +/* 802CC478 002C93D8 3B BD 00 08 */ addi r29, r29, 8 +/* 802CC47C 002C93DC 41 80 FF D0 */ blt lbl_802CC44C +/* 802CC480 002C93E0 48 03 EF 91 */ bl StreamEnd__9CGraphicsFv +/* 802CC484 002C93E4 48 00 03 20 */ b lbl_802CC7A4 +lbl_802CC488: +/* 802CC488 002C93E8 C0 62 C4 4C */ lfs f3, lbl_805AE16C@sda21(r2) +/* 802CC48C 002C93EC 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC490 002C93F0 38 A3 FF FF */ addi r5, r3, -1 +/* 802CC494 002C93F4 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802CC498 002C93F8 EC 03 08 28 */ fsubs f0, f3, f1 +/* 802CC49C 002C93FC 6C A3 80 00 */ xoris r3, r5, 0x8000 +/* 802CC4A0 002C9400 90 61 00 DC */ stw r3, 0xdc(r1) +/* 802CC4A4 002C9404 C8 22 C4 58 */ lfd f1, lbl_805AE178@sda21(r2) +/* 802CC4A8 002C9408 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 802CC4AC 002C940C C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802CC4B0 002C9410 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802CC4B4 002C9414 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC4B8 002C9418 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802CC4BC 002C941C EC 44 18 BC */ fnmsubs f2, f4, f2, f3 +/* 802CC4C0 002C9420 EC 62 00 32 */ fmuls f3, f2, f0 +/* 802CC4C4 002C9424 FC 00 18 1E */ fctiwz f0, f3 +/* 802CC4C8 002C9428 D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 802CC4CC 002C942C 80 81 00 D4 */ lwz r4, 0xd4(r1) +/* 802CC4D0 002C9430 7C 04 2B D6 */ divw r0, r4, r5 +/* 802CC4D4 002C9434 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC4D8 002C9438 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802CC4DC 002C943C C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802CC4E0 002C9440 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC4E4 002C9444 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 802CC4E8 002C9448 40 82 00 0C */ bne lbl_802CC4F4 +/* 802CC4EC 002C944C 7C 9E 23 78 */ mr r30, r4 +/* 802CC4F0 002C9450 48 00 00 08 */ b lbl_802CC4F8 +lbl_802CC4F4: +/* 802CC4F4 002C9454 3B C4 00 01 */ addi r30, r4, 1 +lbl_802CC4F8: +/* 802CC4F8 002C9458 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 802CC4FC 002C945C 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC500 002C9460 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 802CC504 002C9464 7F A3 EB 78 */ mr r3, r29 +/* 802CC508 002C9468 C8 42 C4 58 */ lfd f2, lbl_805AE178@sda21(r2) +/* 802CC50C 002C946C 38 A0 00 00 */ li r5, 0 +/* 802CC510 002C9470 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 802CC514 002C9474 38 C0 00 01 */ li r6, 1 +/* 802CC518 002C9478 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CC51C 002C947C C8 21 00 C0 */ lfd f1, 0xc0(r1) +/* 802CC520 002C9480 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802CC524 002C9484 EF 63 08 28 */ fsubs f27, f3, f1 +/* 802CC528 002C9488 EF 80 D8 28 */ fsubs f28, f0, f27 +/* 802CC52C 002C948C 48 04 2E 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC530 002C9490 7F A3 EB 78 */ mr r3, r29 +/* 802CC534 002C9494 7F C4 F3 78 */ mr r4, r30 +/* 802CC538 002C9498 38 A0 00 01 */ li r5, 1 +/* 802CC53C 002C949C 38 C0 00 01 */ li r6, 1 +/* 802CC540 002C94A0 48 04 2E 59 */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +/* 802CC544 002C94A4 3C 80 80 3D */ lis r4, lbl_803D69C8@ha +/* 802CC548 002C94A8 38 61 00 60 */ addi r3, r1, 0x60 +/* 802CC54C 002C94AC 39 24 69 C8 */ addi r9, r4, lbl_803D69C8@l +/* 802CC550 002C94B0 81 09 00 00 */ lwz r8, 0(r9) +/* 802CC554 002C94B4 80 E9 00 04 */ lwz r7, 4(r9) +/* 802CC558 002C94B8 80 C9 00 08 */ lwz r6, 8(r9) +/* 802CC55C 002C94BC 80 A9 00 0C */ lwz r5, 0xc(r9) +/* 802CC560 002C94C0 80 89 00 10 */ lwz r4, 0x10(r9) +/* 802CC564 002C94C4 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802CC568 002C94C8 91 01 00 60 */ stw r8, 0x60(r1) +/* 802CC56C 002C94CC 90 E1 00 64 */ stw r7, 0x64(r1) +/* 802CC570 002C94D0 90 C1 00 68 */ stw r6, 0x68(r1) +/* 802CC574 002C94D4 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 802CC578 002C94D8 90 81 00 70 */ stw r4, 0x70(r1) +/* 802CC57C 002C94DC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CC580 002C94E0 48 03 B8 A9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802CC584 002C94E4 38 60 00 00 */ li r3, 0 +/* 802CC588 002C94E8 48 03 C8 C9 */ bl SetNumChans__3CGXFUc +/* 802CC58C 002C94EC 38 60 00 02 */ li r3, 2 +/* 802CC590 002C94F0 48 03 C8 85 */ bl SetNumTexGens__3CGXFUc +/* 802CC594 002C94F4 38 60 00 02 */ li r3, 2 +/* 802CC598 002C94F8 48 03 C6 F9 */ bl SetNumTevStages__3CGXFUc +/* 802CC59C 002C94FC 3B A0 00 00 */ li r29, 0 +lbl_802CC5A0: +/* 802CC5A0 002C9500 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CC5A4 002C9504 38 E0 00 00 */ li r7, 0 +/* 802CC5A8 002C9508 40 82 00 08 */ bne lbl_802CC5B0 +/* 802CC5AC 002C950C 38 E0 00 0F */ li r7, 0xf +lbl_802CC5B0: +/* 802CC5B0 002C9510 7F A3 EB 78 */ mr r3, r29 +/* 802CC5B4 002C9514 38 80 00 0F */ li r4, 0xf +/* 802CC5B8 002C9518 38 A0 00 08 */ li r5, 8 +/* 802CC5BC 002C951C 38 C0 00 0E */ li r6, 0xe +/* 802CC5C0 002C9520 48 03 C6 2D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802CC5C4 002C9524 2C 1D 00 00 */ cmpwi r29, 0 +/* 802CC5C8 002C9528 7F A3 EB 78 */ mr r3, r29 +/* 802CC5CC 002C952C 38 80 00 07 */ li r4, 7 +/* 802CC5D0 002C9530 38 A0 00 04 */ li r5, 4 +/* 802CC5D4 002C9534 38 C0 00 06 */ li r6, 6 +/* 802CC5D8 002C9538 38 E0 00 00 */ li r7, 0 +/* 802CC5DC 002C953C 40 82 00 08 */ bne lbl_802CC5E4 +/* 802CC5E0 002C9540 38 E0 00 07 */ li r7, 7 +lbl_802CC5E4: +/* 802CC5E4 002C9544 48 03 C5 B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802CC5E8 002C9548 7F A3 EB 78 */ mr r3, r29 +/* 802CC5EC 002C954C 38 80 00 00 */ li r4, 0 +/* 802CC5F0 002C9550 38 A0 00 00 */ li r5, 0 +/* 802CC5F4 002C9554 38 C0 00 00 */ li r6, 0 +/* 802CC5F8 002C9558 38 E0 00 01 */ li r7, 1 +/* 802CC5FC 002C955C 39 00 00 00 */ li r8, 0 +/* 802CC600 002C9560 48 03 C5 39 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802CC604 002C9564 7F A3 EB 78 */ mr r3, r29 +/* 802CC608 002C9568 38 80 00 00 */ li r4, 0 +/* 802CC60C 002C956C 38 A0 00 00 */ li r5, 0 +/* 802CC610 002C9570 38 C0 00 00 */ li r6, 0 +/* 802CC614 002C9574 38 E0 00 01 */ li r7, 1 +/* 802CC618 002C9578 39 00 00 00 */ li r8, 0 +/* 802CC61C 002C957C 48 03 C4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802CC620 002C9580 3B BD 00 01 */ addi r29, r29, 1 +/* 802CC624 002C9584 2C 1D 00 02 */ cmpwi r29, 2 +/* 802CC628 002C9588 41 80 FF 78 */ blt lbl_802CC5A0 +/* 802CC62C 002C958C 38 60 00 00 */ li r3, 0 +/* 802CC630 002C9590 38 80 00 1C */ li r4, 0x1c +/* 802CC634 002C9594 48 03 C3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802CC638 002C9598 38 60 00 00 */ li r3, 0 +/* 802CC63C 002C959C 38 80 00 0C */ li r4, 0xc +/* 802CC640 002C95A0 48 03 C3 A1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802CC644 002C95A4 38 60 00 01 */ li r3, 1 +/* 802CC648 002C95A8 38 80 00 1D */ li r4, 0x1d +/* 802CC64C 002C95AC 48 03 C3 51 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802CC650 002C95B0 38 60 00 01 */ li r3, 1 +/* 802CC654 002C95B4 38 80 00 0D */ li r4, 0xd +/* 802CC658 002C95B8 48 03 C3 89 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802CC65C 002C95BC FC 20 E0 90 */ fmr f1, f28 +/* 802CC660 002C95C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CC664 002C95C4 FC 40 E0 90 */ fmr f2, f28 +/* 802CC668 002C95C8 FC 60 E0 90 */ fmr f3, f28 +/* 802CC66C 002C95CC FC 80 E0 90 */ fmr f4, f28 +/* 802CC670 002C95D0 48 09 6D 7D */ bl __ct__6CColorFffff +/* 802CC674 002C95D4 7C 65 1B 78 */ mr r5, r3 +/* 802CC678 002C95D8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CC67C 002C95DC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CC680 002C95E0 48 09 6A F9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CC684 002C95E4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802CC688 002C95E8 FC 20 D8 90 */ fmr f1, f27 +/* 802CC68C 002C95EC FC 40 D8 90 */ fmr f2, f27 +/* 802CC690 002C95F0 38 61 00 0C */ addi r3, r1, 0xc +/* 802CC694 002C95F4 FC 60 D8 90 */ fmr f3, f27 +/* 802CC698 002C95F8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CC69C 002C95FC FC 80 D8 90 */ fmr f4, f27 +/* 802CC6A0 002C9600 48 09 6D 4D */ bl __ct__6CColorFffff +/* 802CC6A4 002C9604 7C 65 1B 78 */ mr r5, r3 +/* 802CC6A8 002C9608 38 61 00 10 */ addi r3, r1, 0x10 +/* 802CC6AC 002C960C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CC6B0 002C9610 48 09 6A C9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CC6B4 002C9614 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802CC6B8 002C9618 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CC6BC 002C961C 38 60 00 00 */ li r3, 0 +/* 802CC6C0 002C9620 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CC6C4 002C9624 48 03 C5 81 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802CC6C8 002C9628 38 81 00 1C */ addi r4, r1, 0x1c +/* 802CC6CC 002C962C 38 60 00 01 */ li r3, 1 +/* 802CC6D0 002C9630 48 03 C5 75 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802CC6D4 002C9634 38 60 00 00 */ li r3, 0 +/* 802CC6D8 002C9638 38 80 00 00 */ li r4, 0 +/* 802CC6DC 002C963C 38 A0 00 00 */ li r5, 0 +/* 802CC6E0 002C9640 38 C0 00 FF */ li r6, 0xff +/* 802CC6E4 002C9644 48 03 C2 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802CC6E8 002C9648 38 60 00 01 */ li r3, 1 +/* 802CC6EC 002C964C 38 80 00 01 */ li r4, 1 +/* 802CC6F0 002C9650 38 A0 00 01 */ li r5, 1 +/* 802CC6F4 002C9654 38 C0 00 FF */ li r6, 0xff +/* 802CC6F8 002C9658 48 03 C2 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802CC6FC 002C965C 38 60 00 00 */ li r3, 0 +/* 802CC700 002C9660 38 80 00 01 */ li r4, 1 +/* 802CC704 002C9664 38 A0 00 04 */ li r5, 4 +/* 802CC708 002C9668 38 C0 00 3C */ li r6, 0x3c +/* 802CC70C 002C966C 38 E0 00 00 */ li r7, 0 +/* 802CC710 002C9670 39 00 00 7D */ li r8, 0x7d +/* 802CC714 002C9674 48 03 BF B9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802CC718 002C9678 38 60 00 01 */ li r3, 1 +/* 802CC71C 002C967C 38 80 00 01 */ li r4, 1 +/* 802CC720 002C9680 38 A0 00 04 */ li r5, 4 +/* 802CC724 002C9684 38 C0 00 3C */ li r6, 0x3c +/* 802CC728 002C9688 38 E0 00 00 */ li r7, 0 +/* 802CC72C 002C968C 39 00 00 7D */ li r8, 0x7d +/* 802CC730 002C9690 48 03 BF 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802CC734 002C9694 38 60 00 98 */ li r3, 0x98 +/* 802CC738 002C9698 38 80 00 00 */ li r4, 0 +/* 802CC73C 002C969C 38 A0 00 04 */ li r5, 4 +/* 802CC740 002C96A0 48 03 BE 45 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802CC744 002C96A4 7F FE FB 78 */ mr r30, r31 +/* 802CC748 002C96A8 3B FC 00 E4 */ addi r31, r28, 0xe4 +/* 802CC74C 002C96AC 3B 60 00 00 */ li r27, 0 +/* 802CC750 002C96B0 3F A0 CC 01 */ lis r29, 0xcc01 +lbl_802CC754: +/* 802CC754 002C96B4 7F C4 F3 78 */ mr r4, r30 +/* 802CC758 002C96B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CC75C 002C96BC 38 BC 00 D0 */ addi r5, r28, 0xd0 +/* 802CC760 002C96C0 48 04 78 11 */ bl __pl__FRC9CVector2fRC9CVector2f +/* 802CC764 002C96C4 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802CC768 002C96C8 3B 7B 00 01 */ addi r27, r27, 1 +/* 802CC76C 002C96CC C0 3F 00 08 */ lfs f1, 8(r31) +/* 802CC770 002C96D0 2C 1B 00 04 */ cmpwi r27, 4 +/* 802CC774 002C96D4 C0 5F 00 04 */ lfs f2, 4(r31) +/* 802CC778 002C96D8 3B DE 00 08 */ addi r30, r30, 8 +/* 802CC77C 002C96DC C0 1F 00 00 */ lfs f0, 0(r31) +/* 802CC780 002C96E0 3B FF 00 0C */ addi r31, r31, 0xc +/* 802CC784 002C96E4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) +/* 802CC788 002C96E8 D0 5D 80 00 */ stfs f2, 0xCC008000@l(r29) +/* 802CC78C 002C96EC D0 3D 80 00 */ stfs f1, 0xCC008000@l(r29) +/* 802CC790 002C96F0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802CC794 002C96F4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) +/* 802CC798 002C96F8 D0 7D 80 00 */ stfs f3, 0xCC008000@l(r29) +/* 802CC79C 002C96FC 41 80 FF B8 */ blt lbl_802CC754 +/* 802CC7A0 002C9700 48 03 BD E1 */ bl End__3CGXFv +lbl_802CC7A4: +/* 802CC7A4 002C9704 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 802CC7A8 002C9708 38 60 00 00 */ li r3, 0 +/* 802CC7AC 002C970C 2C 05 00 00 */ cmpwi r5, 0 +/* 802CC7B0 002C9710 40 81 00 40 */ ble lbl_802CC7F0 +/* 802CC7B4 002C9714 2C 05 00 08 */ cmpwi r5, 8 +/* 802CC7B8 002C9718 38 85 FF F8 */ addi r4, r5, -8 +/* 802CC7BC 002C971C 40 81 00 20 */ ble lbl_802CC7DC +/* 802CC7C0 002C9720 38 04 00 07 */ addi r0, r4, 7 +/* 802CC7C4 002C9724 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CC7C8 002C9728 7C 09 03 A6 */ mtctr r0 +/* 802CC7CC 002C972C 2C 04 00 00 */ cmpwi r4, 0 +/* 802CC7D0 002C9730 40 81 00 0C */ ble lbl_802CC7DC +lbl_802CC7D4: +/* 802CC7D4 002C9734 38 63 00 08 */ addi r3, r3, 8 +/* 802CC7D8 002C9738 42 00 FF FC */ bdnz lbl_802CC7D4 +lbl_802CC7DC: +/* 802CC7DC 002C973C 7C 03 28 50 */ subf r0, r3, r5 +/* 802CC7E0 002C9740 7C 09 03 A6 */ mtctr r0 +/* 802CC7E4 002C9744 7C 03 28 00 */ cmpw r3, r5 +/* 802CC7E8 002C9748 40 80 00 08 */ bge lbl_802CC7F0 +lbl_802CC7EC: +/* 802CC7EC 002C974C 42 00 00 00 */ bdnz lbl_802CC7EC +lbl_802CC7F0: +/* 802CC7F0 002C9750 38 00 00 00 */ li r0, 0 +/* 802CC7F4 002C9754 90 01 00 78 */ stw r0, 0x78(r1) +lbl_802CC7F8: +/* 802CC7F8 002C9758 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 802CC7FC 002C975C CB E1 01 40 */ lfd f31, 0x140(r1) +/* 802CC800 002C9760 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 802CC804 002C9764 CB C1 01 30 */ lfd f30, 0x130(r1) +/* 802CC808 002C9768 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 802CC80C 002C976C CB A1 01 20 */ lfd f29, 0x120(r1) +/* 802CC810 002C9770 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 +/* 802CC814 002C9774 CB 81 01 10 */ lfd f28, 0x110(r1) +/* 802CC818 002C9778 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 +/* 802CC81C 002C977C CB 61 01 00 */ lfd f27, 0x100(r1) +/* 802CC820 002C9780 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 802CC824 002C9784 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802CC828 002C9788 7C 08 03 A6 */ mtlr r0 +/* 802CC82C 002C978C 38 21 01 50 */ addi r1, r1, 0x150 +/* 802CC830 002C9790 4E 80 00 20 */ blr + +.global Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms +Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms: +/* 802CC834 002C9794 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802CC838 002C9798 7C 08 02 A6 */ mflr r0 +/* 802CC83C 002C979C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802CC840 002C97A0 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802CC844 002C97A4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802CC848 002C97A8 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802CC84C 002C97AC F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802CC850 002C97B0 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 802CC854 002C97B4 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 802CC858 002C97B8 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 802CC85C 002C97BC F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 802CC860 002C97C0 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802CC864 002C97C4 7C 7D 1B 78 */ mr r29, r3 +/* 802CC868 002C97C8 7C 9B 23 78 */ mr r27, r4 +/* 802CC86C 002C97CC 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802CC870 002C97D0 48 03 FD 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802CC874 002C97D4 7F A3 EB 78 */ mr r3, r29 +/* 802CC878 002C97D8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CC87C 002C97DC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802CC880 002C97E0 7D 89 03 A6 */ mtctr r12 +/* 802CC884 002C97E4 4E 80 04 21 */ bctrl +/* 802CC888 002C97E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CC88C 002C97EC 41 82 04 BC */ beq lbl_802CCD48 +/* 802CC890 002C97F0 88 1D 00 C4 */ lbz r0, 0xc4(r29) +/* 802CC894 002C97F4 28 00 00 00 */ cmplwi r0, 0 +/* 802CC898 002C97F8 40 82 00 08 */ bne lbl_802CC8A0 +/* 802CC89C 002C97FC 48 00 04 AC */ b lbl_802CCD48 +lbl_802CC8A0: +/* 802CC8A0 002C9800 7F A3 EB 78 */ mr r3, r29 +/* 802CC8A4 002C9804 81 9D 00 00 */ lwz r12, 0(r29) +/* 802CC8A8 002C9808 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802CC8AC 002C980C 7D 89 03 A6 */ mtctr r12 +/* 802CC8B0 002C9810 4E 80 04 21 */ bctrl +/* 802CC8B4 002C9814 83 FD 00 C0 */ lwz r31, 0xc0(r29) +/* 802CC8B8 002C9818 28 1F 00 00 */ cmplwi r31, 0 +/* 802CC8BC 002C981C 41 82 04 8C */ beq lbl_802CCD48 +/* 802CC8C0 002C9820 88 7D 00 AB */ lbz r3, 0xab(r29) +/* 802CC8C4 002C9824 3C 00 43 30 */ lis r0, 0x4330 +/* 802CC8C8 002C9828 90 01 00 50 */ stw r0, 0x50(r1) +/* 802CC8CC 002C982C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) +/* 802CC8D0 002C9830 90 61 00 54 */ stw r3, 0x54(r1) +/* 802CC8D4 002C9834 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802CC8D8 002C9838 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802CC8DC 002C983C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CC8E0 002C9840 EF 82 00 32 */ fmuls f28, f2, f0 +/* 802CC8E4 002C9844 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 +/* 802CC8E8 002C9848 38 60 00 01 */ li r3, 1 +/* 802CC8EC 002C984C 80 FD 00 AC */ lwz r7, 0xac(r29) +/* 802CC8F0 002C9850 38 80 00 03 */ li r4, 3 +/* 802CC8F4 002C9854 80 DD 00 A8 */ lwz r6, 0xa8(r29) +/* 802CC8F8 002C9858 38 A0 00 00 */ li r5, 0 +/* 802CC8FC 002C985C 88 01 00 09 */ lbz r0, 9(r1) +/* 802CC900 002C9860 2C 07 00 00 */ cmpwi r7, 0 +/* 802CC904 002C9864 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CC908 002C9868 90 01 00 48 */ stw r0, 0x48(r1) +/* 802CC90C 002C986C 41 82 00 0C */ beq lbl_802CC918 +/* 802CC910 002C9870 2C 07 00 01 */ cmpwi r7, 1 +/* 802CC914 002C9874 40 82 00 08 */ bne lbl_802CC91C +lbl_802CC918: +/* 802CC918 002C9878 38 A0 00 01 */ li r5, 1 +lbl_802CC91C: +/* 802CC91C 002C987C 48 03 F1 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802CC920 002C9880 C3 A2 C4 4C */ lfs f29, lbl_805AE16C@sda21(r2) +/* 802CC924 002C9884 3B 80 00 00 */ li r28, 0 +/* 802CC928 002C9888 C0 1D 01 40 */ lfs f0, 0x140(r29) +/* 802CC92C 002C988C 3B C0 00 00 */ li r30, 0 +/* 802CC930 002C9890 C3 82 C4 48 */ lfs f28, lbl_805AE168@sda21(r2) +/* 802CC934 002C9894 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802CC938 002C9898 40 80 00 E4 */ bge lbl_802CCA1C +/* 802CC93C 002C989C FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 802CC940 002C98A0 40 81 00 DC */ ble lbl_802CCA1C +/* 802CC944 002C98A4 A8 9F 00 04 */ lha r4, 4(r31) +/* 802CC948 002C98A8 3C 60 43 30 */ lis r3, 0x4330 +/* 802CC94C 002C98AC A8 1F 00 06 */ lha r0, 6(r31) +/* 802CC950 002C98B0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CC954 002C98B4 C0 DD 01 44 */ lfs f6, 0x144(r29) +/* 802CC958 002C98B8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CC95C 002C98BC 90 81 00 5C */ stw r4, 0x5c(r1) +/* 802CC960 002C98C0 FC A0 30 1E */ fctiwz f5, f6 +/* 802CC964 002C98C4 C0 FD 01 48 */ lfs f7, 0x148(r29) +/* 802CC968 002C98C8 90 61 00 58 */ stw r3, 0x58(r1) +/* 802CC96C 002C98CC C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CC970 002C98D0 FC 1C 38 00 */ fcmpu cr0, f28, f7 +/* 802CC974 002C98D4 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802CC978 002C98D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802CC97C 002C98DC EC 60 20 28 */ fsubs f3, f0, f4 +/* 802CC980 002C98E0 C0 5D 01 38 */ lfs f2, 0x138(r29) +/* 802CC984 002C98E4 90 61 00 60 */ stw r3, 0x60(r1) +/* 802CC988 002C98E8 C0 3D 01 3C */ lfs f1, 0x13c(r29) +/* 802CC98C 002C98EC C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802CC990 002C98F0 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802CC994 002C98F4 D8 A1 00 50 */ stfd f5, 0x50(r1) +/* 802CC998 002C98F8 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802CC99C 002C98FC 90 61 00 70 */ stw r3, 0x70(r1) +/* 802CC9A0 002C9900 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 802CC9A4 002C9904 38 85 00 01 */ addi r4, r5, 1 +/* 802CC9A8 002C9908 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CC9AC 002C990C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CC9B0 002C9910 7C BC 2B 78 */ mr r28, r5 +/* 802CC9B4 002C9914 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802CC9B8 002C9918 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802CC9BC 002C991C EC 23 00 72 */ fmuls f1, f3, f1 +/* 802CC9C0 002C9920 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802CC9C4 002C9924 FC 20 08 1E */ fctiwz f1, f1 +/* 802CC9C8 002C9928 EC 06 00 28 */ fsubs f0, f6, f0 +/* 802CC9CC 002C992C D8 21 00 68 */ stfd f1, 0x68(r1) +/* 802CC9D0 002C9930 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802CC9D4 002C9934 7C 04 1B D6 */ divw r0, r4, r3 +/* 802CC9D8 002C9938 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802CC9DC 002C993C 7F C0 20 50 */ subf r30, r0, r4 +/* 802CC9E0 002C9940 40 82 00 0C */ bne lbl_802CC9EC +/* 802CC9E4 002C9944 FC 20 E8 90 */ fmr f1, f29 +/* 802CC9E8 002C9948 48 00 00 28 */ b lbl_802CCA10 +lbl_802CC9EC: +/* 802CC9EC 002C994C EC 20 38 24 */ fdivs f1, f0, f7 +/* 802CC9F0 002C9950 C0 0D 9B 20 */ lfs f0, lbl_805A86E0@sda21(r13) +/* 802CC9F4 002C9954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CC9F8 002C9958 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802CC9FC 002C995C 40 80 00 0C */ bge lbl_802CCA08 +/* 802CCA00 002C9960 38 61 00 44 */ addi r3, r1, 0x44 +/* 802CCA04 002C9964 48 00 00 08 */ b lbl_802CCA0C +lbl_802CCA08: +/* 802CCA08 002C9968 38 6D 9B 20 */ addi r3, r13, lbl_805A86E0@sda21 +lbl_802CCA0C: +/* 802CCA0C 002C996C C0 23 00 00 */ lfs f1, 0(r3) +lbl_802CCA10: +/* 802CCA10 002C9970 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) +/* 802CCA14 002C9974 FF 80 08 90 */ fmr f28, f1 +/* 802CCA18 002C9978 EF A0 08 28 */ fsubs f29, f0, f1 +lbl_802CCA1C: +/* 802CCA1C 002C997C 38 60 00 01 */ li r3, 1 +/* 802CCA20 002C9980 38 80 00 04 */ li r4, 4 +/* 802CCA24 002C9984 38 A0 00 05 */ li r5, 5 +/* 802CCA28 002C9988 38 C0 00 00 */ li r6, 0 +/* 802CCA2C 002C998C 48 03 F0 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCA30 002C9990 48 07 D5 85 */ bl Black__6CColorFv +/* 802CCA34 002C9994 C3 E2 C4 60 */ lfs f31, lbl_805AE180@sda21(r2) +/* 802CCA38 002C9998 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 802CCA3C 002C999C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802CCA40 002C99A0 80 C3 00 00 */ lwz r6, 0(r3) +/* 802CCA44 002C99A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802CCA48 002C99A8 88 01 00 0A */ lbz r0, 0xa(r1) +/* 802CCA4C 002C99AC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802CCA50 002C99B0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 +/* 802CCA54 002C99B4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802CCA58 002C99B8 48 09 67 21 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CCA5C 002C99BC C0 22 C4 4C */ lfs f1, lbl_805AE16C@sda21(r2) +/* 802CCA60 002C99C0 7F A3 EB 78 */ mr r3, r29 +/* 802CCA64 002C99C4 7F E5 FB 78 */ mr r5, r31 +/* 802CCA68 002C99C8 7F 86 E3 78 */ mr r6, r28 +/* 802CCA6C 002C99CC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802CCA70 002C99D0 38 E0 00 01 */ li r7, 1 +/* 802CCA74 002C99D4 4B FF F6 11 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCA78 002C99D8 C0 3D 01 50 */ lfs f1, 0x150(r29) +/* 802CCA7C 002C99DC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCA80 002C99E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802CCA84 002C99E4 40 81 00 80 */ ble lbl_802CCB04 +/* 802CCA88 002C99E8 38 60 00 01 */ li r3, 1 +/* 802CCA8C 002C99EC 38 80 00 04 */ li r4, 4 +/* 802CCA90 002C99F0 38 A0 00 01 */ li r5, 1 +/* 802CCA94 002C99F4 38 C0 00 00 */ li r6, 0 +/* 802CCA98 002C99F8 48 03 EF B9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCA9C 002C99FC C0 22 C4 64 */ lfs f1, lbl_805AE184@sda21(r2) +/* 802CCAA0 002C9A00 C0 1D 01 50 */ lfs f0, 0x150(r29) +/* 802CCAA4 002C9A04 EF C1 00 32 */ fmuls f30, f1, f0 +/* 802CCAA8 002C9A08 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 802CCAAC 002C9A0C FC 20 E8 90 */ fmr f1, f29 +/* 802CCAB0 002C9A10 80 1D 00 A8 */ lwz r0, 0xa8(r29) +/* 802CCAB4 002C9A14 7F A3 EB 78 */ mr r3, r29 +/* 802CCAB8 002C9A18 8B 61 00 08 */ lbz r27, 8(r1) +/* 802CCABC 002C9A1C 7F E5 FB 78 */ mr r5, r31 +/* 802CCAC0 002C9A20 50 1B 00 2E */ rlwimi r27, r0, 0, 0, 0x17 +/* 802CCAC4 002C9A24 93 61 00 38 */ stw r27, 0x38(r1) +/* 802CCAC8 002C9A28 7F 86 E3 78 */ mr r6, r28 +/* 802CCACC 002C9A2C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802CCAD0 002C9A30 38 E0 00 00 */ li r7, 0 +/* 802CCAD4 002C9A34 4B FF F5 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCAD8 002C9A38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCADC 002C9A3C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCAE0 002C9A40 40 81 00 24 */ ble lbl_802CCB04 +/* 802CCAE4 002C9A44 FC 20 E0 90 */ fmr f1, f28 +/* 802CCAE8 002C9A48 93 61 00 34 */ stw r27, 0x34(r1) +/* 802CCAEC 002C9A4C 7F A3 EB 78 */ mr r3, r29 +/* 802CCAF0 002C9A50 7F E5 FB 78 */ mr r5, r31 +/* 802CCAF4 002C9A54 7F C6 F3 78 */ mr r6, r30 +/* 802CCAF8 002C9A58 38 81 00 34 */ addi r4, r1, 0x34 +/* 802CCAFC 002C9A5C 38 E0 00 00 */ li r7, 0 +/* 802CCB00 002C9A60 4B FF F5 85 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCB04: +/* 802CCB04 002C9A64 80 1D 00 AC */ lwz r0, 0xac(r29) +/* 802CCB08 002C9A68 2C 00 00 03 */ cmpwi r0, 3 +/* 802CCB0C 002C9A6C 41 82 01 00 */ beq lbl_802CCC0C +/* 802CCB10 002C9A70 40 80 00 18 */ bge lbl_802CCB28 +/* 802CCB14 002C9A74 2C 00 00 02 */ cmpwi r0, 2 +/* 802CCB18 002C9A78 40 80 00 88 */ bge lbl_802CCBA0 +/* 802CCB1C 002C9A7C 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCB20 002C9A80 40 80 00 14 */ bge lbl_802CCB34 +/* 802CCB24 002C9A84 48 00 02 24 */ b lbl_802CCD48 +lbl_802CCB28: +/* 802CCB28 002C9A88 2C 00 00 05 */ cmpwi r0, 5 +/* 802CCB2C 002C9A8C 40 80 02 1C */ bge lbl_802CCD48 +/* 802CCB30 002C9A90 48 00 01 48 */ b lbl_802CCC78 +lbl_802CCB34: +/* 802CCB34 002C9A94 38 60 00 01 */ li r3, 1 +/* 802CCB38 002C9A98 38 80 00 01 */ li r4, 1 +/* 802CCB3C 002C9A9C 38 A0 00 00 */ li r5, 0 +/* 802CCB40 002C9AA0 38 C0 00 00 */ li r6, 0 +/* 802CCB44 002C9AA4 48 03 EF 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCB48 002C9AA8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCB4C 002C9AAC FC 20 E8 90 */ fmr f1, f29 +/* 802CCB50 002C9AB0 7F A3 EB 78 */ mr r3, r29 +/* 802CCB54 002C9AB4 7F E5 FB 78 */ mr r5, r31 +/* 802CCB58 002C9AB8 90 01 00 30 */ stw r0, 0x30(r1) +/* 802CCB5C 002C9ABC 7F 86 E3 78 */ mr r6, r28 +/* 802CCB60 002C9AC0 38 81 00 30 */ addi r4, r1, 0x30 +/* 802CCB64 002C9AC4 38 E0 00 00 */ li r7, 0 +/* 802CCB68 002C9AC8 4B FF F5 1D */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCB6C 002C9ACC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCB70 002C9AD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCB74 002C9AD4 40 81 01 D4 */ ble lbl_802CCD48 +/* 802CCB78 002C9AD8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCB7C 002C9ADC FC 20 E0 90 */ fmr f1, f28 +/* 802CCB80 002C9AE0 7F A3 EB 78 */ mr r3, r29 +/* 802CCB84 002C9AE4 7F E5 FB 78 */ mr r5, r31 +/* 802CCB88 002C9AE8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802CCB8C 002C9AEC 7F C6 F3 78 */ mr r6, r30 +/* 802CCB90 002C9AF0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802CCB94 002C9AF4 38 E0 00 00 */ li r7, 0 +/* 802CCB98 002C9AF8 4B FF F4 ED */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCB9C 002C9AFC 48 00 01 AC */ b lbl_802CCD48 +lbl_802CCBA0: +/* 802CCBA0 002C9B00 38 60 00 01 */ li r3, 1 +/* 802CCBA4 002C9B04 38 80 00 04 */ li r4, 4 +/* 802CCBA8 002C9B08 38 A0 00 05 */ li r5, 5 +/* 802CCBAC 002C9B0C 38 C0 00 00 */ li r6, 0 +/* 802CCBB0 002C9B10 48 03 EE A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCBB4 002C9B14 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCBB8 002C9B18 FC 20 E8 90 */ fmr f1, f29 +/* 802CCBBC 002C9B1C 7F A3 EB 78 */ mr r3, r29 +/* 802CCBC0 002C9B20 7F E5 FB 78 */ mr r5, r31 +/* 802CCBC4 002C9B24 90 01 00 28 */ stw r0, 0x28(r1) +/* 802CCBC8 002C9B28 7F 86 E3 78 */ mr r6, r28 +/* 802CCBCC 002C9B2C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CCBD0 002C9B30 38 E0 00 00 */ li r7, 0 +/* 802CCBD4 002C9B34 4B FF F4 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCBD8 002C9B38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCBDC 002C9B3C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCBE0 002C9B40 40 81 01 68 */ ble lbl_802CCD48 +/* 802CCBE4 002C9B44 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCBE8 002C9B48 FC 20 E0 90 */ fmr f1, f28 +/* 802CCBEC 002C9B4C 7F A3 EB 78 */ mr r3, r29 +/* 802CCBF0 002C9B50 7F E5 FB 78 */ mr r5, r31 +/* 802CCBF4 002C9B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CCBF8 002C9B58 7F C6 F3 78 */ mr r6, r30 +/* 802CCBFC 002C9B5C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CCC00 002C9B60 38 E0 00 00 */ li r7, 0 +/* 802CCC04 002C9B64 4B FF F4 81 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC08 002C9B68 48 00 01 40 */ b lbl_802CCD48 +lbl_802CCC0C: +/* 802CCC0C 002C9B6C 38 60 00 01 */ li r3, 1 +/* 802CCC10 002C9B70 38 80 00 04 */ li r4, 4 +/* 802CCC14 002C9B74 38 A0 00 01 */ li r5, 1 +/* 802CCC18 002C9B78 38 C0 00 00 */ li r6, 0 +/* 802CCC1C 002C9B7C 48 03 EE 35 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCC20 002C9B80 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC24 002C9B84 FC 20 E8 90 */ fmr f1, f29 +/* 802CCC28 002C9B88 7F A3 EB 78 */ mr r3, r29 +/* 802CCC2C 002C9B8C 7F E5 FB 78 */ mr r5, r31 +/* 802CCC30 002C9B90 90 01 00 20 */ stw r0, 0x20(r1) +/* 802CCC34 002C9B94 7F 86 E3 78 */ mr r6, r28 +/* 802CCC38 002C9B98 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CCC3C 002C9B9C 38 E0 00 00 */ li r7, 0 +/* 802CCC40 002C9BA0 4B FF F4 45 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC44 002C9BA4 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCC48 002C9BA8 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCC4C 002C9BAC 40 81 00 FC */ ble lbl_802CCD48 +/* 802CCC50 002C9BB0 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC54 002C9BB4 FC 20 E0 90 */ fmr f1, f28 +/* 802CCC58 002C9BB8 7F A3 EB 78 */ mr r3, r29 +/* 802CCC5C 002C9BBC 7F E5 FB 78 */ mr r5, r31 +/* 802CCC60 002C9BC0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CCC64 002C9BC4 7F C6 F3 78 */ mr r6, r30 +/* 802CCC68 002C9BC8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802CCC6C 002C9BCC 38 E0 00 00 */ li r7, 0 +/* 802CCC70 002C9BD0 4B FF F4 15 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCC74 002C9BD4 48 00 00 D4 */ b lbl_802CCD48 +lbl_802CCC78: +/* 802CCC78 002C9BD8 38 60 00 01 */ li r3, 1 +/* 802CCC7C 002C9BDC 38 80 00 04 */ li r4, 4 +/* 802CCC80 002C9BE0 38 A0 00 05 */ li r5, 5 +/* 802CCC84 002C9BE4 38 C0 00 00 */ li r6, 0 +/* 802CCC88 002C9BE8 48 03 ED C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCC8C 002C9BEC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCC90 002C9BF0 FC 20 E8 90 */ fmr f1, f29 +/* 802CCC94 002C9BF4 7F A3 EB 78 */ mr r3, r29 +/* 802CCC98 002C9BF8 7F E5 FB 78 */ mr r5, r31 +/* 802CCC9C 002C9BFC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802CCCA0 002C9C00 7F 86 E3 78 */ mr r6, r28 +/* 802CCCA4 002C9C04 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CCCA8 002C9C08 38 E0 00 00 */ li r7, 0 +/* 802CCCAC 002C9C0C 4B FF F3 D9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCCB0 002C9C10 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCCB4 002C9C14 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCCB8 002C9C18 40 81 00 28 */ ble lbl_802CCCE0 +/* 802CCCBC 002C9C1C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCCC0 002C9C20 FC 20 E0 90 */ fmr f1, f28 +/* 802CCCC4 002C9C24 7F A3 EB 78 */ mr r3, r29 +/* 802CCCC8 002C9C28 7F E5 FB 78 */ mr r5, r31 +/* 802CCCCC 002C9C2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CCCD0 002C9C30 7F C6 F3 78 */ mr r6, r30 +/* 802CCCD4 002C9C34 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CCCD8 002C9C38 38 E0 00 00 */ li r7, 0 +/* 802CCCDC 002C9C3C 4B FF F3 A9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCCE0: +/* 802CCCE0 002C9C40 38 60 00 01 */ li r3, 1 +/* 802CCCE4 002C9C44 38 80 00 01 */ li r4, 1 +/* 802CCCE8 002C9C48 38 A0 00 01 */ li r5, 1 +/* 802CCCEC 002C9C4C 38 C0 00 00 */ li r6, 0 +/* 802CCCF0 002C9C50 48 03 ED 61 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802CCCF4 002C9C54 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCCF8 002C9C58 FC 20 E8 90 */ fmr f1, f29 +/* 802CCCFC 002C9C5C 7F A3 EB 78 */ mr r3, r29 +/* 802CCD00 002C9C60 7F E5 FB 78 */ mr r5, r31 +/* 802CCD04 002C9C64 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CCD08 002C9C68 7F 86 E3 78 */ mr r6, r28 +/* 802CCD0C 002C9C6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802CCD10 002C9C70 38 E0 00 00 */ li r7, 0 +/* 802CCD14 002C9C74 4B FF F3 71 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +/* 802CCD18 002C9C78 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCD1C 002C9C7C FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802CCD20 002C9C80 40 81 00 28 */ ble lbl_802CCD48 +/* 802CCD24 002C9C84 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802CCD28 002C9C88 FC 20 E0 90 */ fmr f1, f28 +/* 802CCD2C 002C9C8C 7F A3 EB 78 */ mr r3, r29 +/* 802CCD30 002C9C90 7F E5 FB 78 */ mr r5, r31 +/* 802CCD34 002C9C94 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CCD38 002C9C98 7F C6 F3 78 */ mr r6, r30 +/* 802CCD3C 002C9C9C 38 81 00 0C */ addi r4, r1, 0xc +/* 802CCD40 002C9CA0 38 E0 00 00 */ li r7, 0 +/* 802CCD44 002C9CA4 4B FF F3 41 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb +lbl_802CCD48: +/* 802CCD48 002C9CA8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802CCD4C 002C9CAC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802CCD50 002C9CB0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802CCD54 002C9CB4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802CCD58 002C9CB8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 802CCD5C 002C9CBC CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 802CCD60 002C9CC0 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 802CCD64 002C9CC4 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 802CCD68 002C9CC8 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802CCD6C 002C9CCC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802CCD70 002C9CD0 7C 08 03 A6 */ mtlr r0 +/* 802CCD74 002C9CD4 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802CCD78 002C9CD8 4E 80 00 20 */ blr + +.global Update__13CAuiImagePaneFf +Update__13CAuiImagePaneFf: +/* 802CCD7C 002C9CDC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802CCD80 002C9CE0 7C 08 02 A6 */ mflr r0 +/* 802CCD84 002C9CE4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802CCD88 002C9CE8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802CCD8C 002C9CEC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 802CCD90 002C9CF0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802CCD94 002C9CF4 7C 7F 1B 78 */ mr r31, r3 +/* 802CCD98 002C9CF8 FF E0 08 90 */ fmr f31, f1 +/* 802CCD9C 002C9CFC C0 23 00 D0 */ lfs f1, 0xd0(r3) +/* 802CCDA0 002C9D00 C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) +/* 802CCDA4 002C9D04 48 0C 7F 09 */ bl fmod +/* 802CCDA8 002C9D08 FC 00 08 18 */ frsp f0, f1 +/* 802CCDAC 002C9D0C C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) +/* 802CCDB0 002C9D10 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 802CCDB4 002C9D14 C0 3F 00 D4 */ lfs f1, 0xd4(r31) +/* 802CCDB8 002C9D18 48 0C 7E F5 */ bl fmod +/* 802CCDBC 002C9D1C FC 00 08 18 */ frsp f0, f1 +/* 802CCDC0 002C9D20 38 7F 01 38 */ addi r3, r31, 0x138 +/* 802CCDC4 002C9D24 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 +/* 802CCDC8 002C9D28 D0 1F 00 D4 */ stfs f0, 0xd4(r31) +/* 802CCDCC 002C9D2C 48 04 71 3D */ bl __eq__FRC9CVector2fRC9CVector2f +/* 802CCDD0 002C9D30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CCDD4 002C9D34 40 82 00 AC */ bne lbl_802CCE80 +/* 802CCDD8 002C9D38 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802CCDDC 002C9D3C 28 00 00 00 */ cmplwi r0, 0 +/* 802CCDE0 002C9D40 41 82 00 A0 */ beq lbl_802CCE80 +/* 802CCDE4 002C9D44 80 BF 00 C0 */ lwz r5, 0xc0(r31) +/* 802CCDE8 002C9D48 28 05 00 00 */ cmplwi r5, 0 +/* 802CCDEC 002C9D4C 41 82 00 94 */ beq lbl_802CCE80 +/* 802CCDF0 002C9D50 A8 85 00 04 */ lha r4, 4(r5) +/* 802CCDF4 002C9D54 3C 60 43 30 */ lis r3, 0x4330 +/* 802CCDF8 002C9D58 A8 05 00 06 */ lha r0, 6(r5) +/* 802CCDFC 002C9D5C 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802CCE00 002C9D60 90 61 00 08 */ stw r3, 8(r1) +/* 802CCE04 002C9D64 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CCE08 002C9D68 C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) +/* 802CCE0C 002C9D6C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802CCE10 002C9D70 C0 5F 01 38 */ lfs f2, 0x138(r31) +/* 802CCE14 002C9D74 C8 01 00 08 */ lfd f0, 8(r1) +/* 802CCE18 002C9D78 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802CCE1C 002C9D7C EC 60 20 28 */ fsubs f3, f0, f4 +/* 802CCE20 002C9D80 C0 1F 01 3C */ lfs f0, 0x13c(r31) +/* 802CCE24 002C9D84 90 61 00 18 */ stw r3, 0x18(r1) +/* 802CCE28 002C9D88 C0 DF 01 40 */ lfs f6, 0x140(r31) +/* 802CCE2C 002C9D8C C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802CCE30 002C9D90 EC 63 10 24 */ fdivs f3, f3, f2 +/* 802CCE34 002C9D94 C0 BF 01 44 */ lfs f5, 0x144(r31) +/* 802CCE38 002C9D98 90 61 00 28 */ stw r3, 0x28(r1) +/* 802CCE3C 002C9D9C EC 41 20 28 */ fsubs f2, f1, f4 +/* 802CCE40 002C9DA0 FC 60 18 1E */ fctiwz f3, f3 +/* 802CCE44 002C9DA4 EC 3F 29 BA */ fmadds f1, f31, f6, f5 +/* 802CCE48 002C9DA8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 802CCE4C 002C9DAC D8 61 00 10 */ stfd f3, 0x10(r1) +/* 802CCE50 002C9DB0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802CCE54 002C9DB4 FC 00 00 1E */ fctiwz f0, f0 +/* 802CCE58 002C9DB8 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 802CCE5C 002C9DBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CCE60 002C9DC0 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802CCE64 002C9DC4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802CCE68 002C9DC8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802CCE6C 002C9DCC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802CCE70 002C9DD0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802CCE74 002C9DD4 48 0C 7E 39 */ bl fmod +/* 802CCE78 002C9DD8 FC 00 08 18 */ frsp f0, f1 +/* 802CCE7C 002C9DDC D0 1F 01 44 */ stfs f0, 0x144(r31) +lbl_802CCE80: +/* 802CCE80 002C9DE0 FC 20 F8 90 */ fmr f1, f31 +/* 802CCE84 002C9DE4 7F E3 FB 78 */ mr r3, r31 +/* 802CCE88 002C9DE8 4B FF DB 4D */ bl Update__10CGuiWidgetFf +/* 802CCE8C 002C9DEC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802CCE90 002C9DF0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802CCE94 002C9DF4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802CCE98 002C9DF8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CCE9C 002C9DFC 7C 08 03 A6 */ mtlr r0 +/* 802CCEA0 002C9E00 38 21 00 50 */ addi r1, r1, 0x50 +/* 802CCEA4 002C9E04 4E 80 00 20 */ blr + +.global SetAnimationParms__13CAuiImagePaneFRC9CVector2fff +SetAnimationParms__13CAuiImagePaneFRC9CVector2fff: +/* 802CCEA8 002C9E08 C0 64 00 00 */ lfs f3, 0(r4) +/* 802CCEAC 002C9E0C C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCEB0 002C9E10 D0 63 01 38 */ stfs f3, 0x138(r3) +/* 802CCEB4 002C9E14 C0 64 00 04 */ lfs f3, 4(r4) +/* 802CCEB8 002C9E18 D0 63 01 3C */ stfs f3, 0x13c(r3) +/* 802CCEBC 002C9E1C D0 23 01 40 */ stfs f1, 0x140(r3) +/* 802CCEC0 002C9E20 D0 03 01 44 */ stfs f0, 0x144(r3) +/* 802CCEC4 002C9E24 D0 43 01 48 */ stfs f2, 0x148(r3) +/* 802CCEC8 002C9E28 4E 80 00 20 */ blr + +.global "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" +"__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b": +/* 802CCECC 002C9E2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CCED0 002C9E30 7C 08 02 A6 */ mflr r0 +/* 802CCED4 002C9E34 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CCED8 002C9E38 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802CCEDC 002C9E3C 7C 7D 1B 78 */ mr r29, r3 +/* 802CCEE0 002C9E40 7C BE 2B 78 */ mr r30, r5 +/* 802CCEE4 002C9E44 7C DF 33 78 */ mr r31, r6 +/* 802CCEE8 002C9E48 7C F9 3B 78 */ mr r25, r7 +/* 802CCEEC 002C9E4C 7D 1A 43 78 */ mr r26, r8 +/* 802CCEF0 002C9E50 7D 3B 4B 78 */ mr r27, r9 +/* 802CCEF4 002C9E54 7D 5C 53 78 */ mr r28, r10 +/* 802CCEF8 002C9E58 4B FF DD 2D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802CCEFC 002C9E5C 3C 60 80 3F */ lis r3, lbl_803ECA90@ha +/* 802CCF00 002C9E60 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) +/* 802CCF04 002C9E64 38 63 CA 90 */ addi r3, r3, lbl_803ECA90@l +/* 802CCF08 002C9E68 38 00 00 00 */ li r0, 0 +/* 802CCF0C 002C9E6C 90 7D 00 00 */ stw r3, 0(r29) +/* 802CCF10 002C9E70 FC 40 08 90 */ fmr f2, f1 +/* 802CCF14 002C9E74 38 7D 00 D0 */ addi r3, r29, 0xd0 +/* 802CCF18 002C9E78 98 1D 00 C4 */ stb r0, 0xc4(r29) +/* 802CCF1C 002C9E7C 93 FD 00 C8 */ stw r31, 0xc8(r29) +/* 802CCF20 002C9E80 93 3D 00 CC */ stw r25, 0xcc(r29) +/* 802CCF24 002C9E84 48 04 72 DD */ bl __ct__9CVector2fFff +/* 802CCF28 002C9E88 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) +/* 802CCF2C 002C9E8C 38 7D 00 D8 */ addi r3, r29, 0xd8 +/* 802CCF30 002C9E90 FC 40 08 90 */ fmr f2, f1 +/* 802CCF34 002C9E94 48 04 72 CD */ bl __ct__9CVector2fFff +/* 802CCF38 002C9E98 80 1A 00 00 */ lwz r0, 0(r26) +/* 802CCF3C 002C9E9C 38 9D 00 E4 */ addi r4, r29, 0xe4 +/* 802CCF40 002C9EA0 38 7A 00 04 */ addi r3, r26, 4 +/* 802CCF44 002C9EA4 90 1D 00 E0 */ stw r0, 0xe0(r29) +/* 802CCF48 002C9EA8 80 1D 00 E0 */ lwz r0, 0xe0(r29) +/* 802CCF4C 002C9EAC 7C 09 03 A6 */ mtctr r0 +/* 802CCF50 002C9EB0 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCF54 002C9EB4 40 81 00 30 */ ble lbl_802CCF84 +lbl_802CCF58: +/* 802CCF58 002C9EB8 28 04 00 00 */ cmplwi r4, 0 +/* 802CCF5C 002C9EBC 41 82 00 1C */ beq lbl_802CCF78 +/* 802CCF60 002C9EC0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CCF64 002C9EC4 D0 04 00 00 */ stfs f0, 0(r4) +/* 802CCF68 002C9EC8 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CCF6C 002C9ECC D0 04 00 04 */ stfs f0, 4(r4) +/* 802CCF70 002C9ED0 C0 03 00 08 */ lfs f0, 8(r3) +/* 802CCF74 002C9ED4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_802CCF78: +/* 802CCF78 002C9ED8 38 84 00 0C */ addi r4, r4, 0xc +/* 802CCF7C 002C9EDC 38 63 00 0C */ addi r3, r3, 0xc +/* 802CCF80 002C9EE0 42 00 FF D8 */ bdnz lbl_802CCF58 +lbl_802CCF84: +/* 802CCF84 002C9EE4 80 1B 00 00 */ lwz r0, 0(r27) +/* 802CCF88 002C9EE8 38 9D 01 18 */ addi r4, r29, 0x118 +/* 802CCF8C 002C9EEC 38 7B 00 04 */ addi r3, r27, 4 +/* 802CCF90 002C9EF0 90 1D 01 14 */ stw r0, 0x114(r29) +/* 802CCF94 002C9EF4 80 1D 01 14 */ lwz r0, 0x114(r29) +/* 802CCF98 002C9EF8 7C 09 03 A6 */ mtctr r0 +/* 802CCF9C 002C9EFC 2C 00 00 00 */ cmpwi r0, 0 +/* 802CCFA0 002C9F00 40 81 00 28 */ ble lbl_802CCFC8 +lbl_802CCFA4: +/* 802CCFA4 002C9F04 28 04 00 00 */ cmplwi r4, 0 +/* 802CCFA8 002C9F08 41 82 00 14 */ beq lbl_802CCFBC +/* 802CCFAC 002C9F0C C0 03 00 00 */ lfs f0, 0(r3) +/* 802CCFB0 002C9F10 D0 04 00 00 */ stfs f0, 0(r4) +/* 802CCFB4 002C9F14 C0 03 00 04 */ lfs f0, 4(r3) +/* 802CCFB8 002C9F18 D0 04 00 04 */ stfs f0, 4(r4) +lbl_802CCFBC: +/* 802CCFBC 002C9F1C 38 84 00 08 */ addi r4, r4, 8 +/* 802CCFC0 002C9F20 38 63 00 08 */ addi r3, r3, 8 +/* 802CCFC4 002C9F24 42 00 FF E0 */ bdnz lbl_802CCFA4 +lbl_802CCFC8: +/* 802CCFC8 002C9F28 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) +/* 802CCFCC 002C9F2C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 802CCFD0 002C9F30 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) +/* 802CCFD4 002C9F34 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802CCFD8 002C9F38 D0 3D 01 38 */ stfs f1, 0x138(r29) +/* 802CCFDC 002C9F3C C0 23 00 04 */ lfs f1, 4(r3) +/* 802CCFE0 002C9F40 D0 3D 01 3C */ stfs f1, 0x13c(r29) +/* 802CCFE4 002C9F44 D0 1D 01 40 */ stfs f0, 0x140(r29) +/* 802CCFE8 002C9F48 D0 1D 01 44 */ stfs f0, 0x144(r29) +/* 802CCFEC 002C9F4C D0 1D 01 48 */ stfs f0, 0x148(r29) +/* 802CCFF0 002C9F50 D0 1D 01 4C */ stfs f0, 0x14c(r29) +/* 802CCFF4 002C9F54 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 802CCFF8 002C9F58 41 82 00 14 */ beq lbl_802CD00C +/* 802CCFFC 002C9F5C 7F A3 EB 78 */ mr r3, r29 +/* 802CD000 002C9F60 7F E4 FB 78 */ mr r4, r31 +/* 802CD004 002C9F64 7F C5 F3 78 */ mr r5, r30 +/* 802CD008 002C9F68 4B FF EE C5 */ bl SetTextureID0__13CAuiImagePaneFUib +lbl_802CD00C: +/* 802CD00C 002C9F6C 7F A3 EB 78 */ mr r3, r29 +/* 802CD010 002C9F70 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802CD014 002C9F74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD018 002C9F78 7C 08 03 A6 */ mtlr r0 +/* 802CD01C 002C9F7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD020 002C9F80 4E 80 00 20 */ blr + +.global WriteData__13CAuiImagePaneCFR13COutputStreamb +WriteData__13CAuiImagePaneCFR13COutputStreamb: +/* 802CD024 002C9F84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CD028 002C9F88 7C 08 02 A6 */ mflr r0 +/* 802CD02C 002C9F8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CD030 002C9F90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CD034 002C9F94 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CD038 002C9F98 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CD03C 002C9F9C 7C 9D 23 78 */ mr r29, r4 +/* 802CD040 002C9FA0 93 81 00 20 */ stw r28, 0x20(r1) +/* 802CD044 002C9FA4 7C 7C 1B 78 */ mr r28, r3 +/* 802CD048 002C9FA8 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 802CD04C 002C9FAC 7F A3 EB 78 */ mr r3, r29 +/* 802CD050 002C9FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CD054 002C9FB4 48 07 24 65 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD058 002C9FB8 7F A3 EB 78 */ mr r3, r29 +/* 802CD05C 002C9FBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802CD060 002C9FC0 38 A0 00 04 */ li r5, 4 +/* 802CD064 002C9FC4 48 07 25 45 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD068 002C9FC8 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 802CD06C 002C9FCC 7F A3 EB 78 */ mr r3, r29 +/* 802CD070 002C9FD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CD074 002C9FD4 48 07 24 45 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD078 002C9FD8 7F A3 EB 78 */ mr r3, r29 +/* 802CD07C 002C9FDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802CD080 002C9FE0 38 A0 00 04 */ li r5, 4 +/* 802CD084 002C9FE4 48 07 25 25 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD088 002C9FE8 80 1C 00 AC */ lwz r0, 0xac(r28) +/* 802CD08C 002C9FEC 7F A3 EB 78 */ mr r3, r29 +/* 802CD090 002C9FF0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CD094 002C9FF4 48 07 24 25 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD098 002C9FF8 7F A3 EB 78 */ mr r3, r29 +/* 802CD09C 002C9FFC 38 81 00 0C */ addi r4, r1, 0xc +/* 802CD0A0 002CA000 38 A0 00 04 */ li r5, 4 +/* 802CD0A4 002CA004 48 07 25 05 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD0A8 002CA008 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 802CD0AC 002CA00C 7F A3 EB 78 */ mr r3, r29 +/* 802CD0B0 002CA010 90 01 00 08 */ stw r0, 8(r1) +/* 802CD0B4 002CA014 48 07 24 05 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD0B8 002CA018 7F A3 EB 78 */ mr r3, r29 +/* 802CD0BC 002CA01C 38 81 00 08 */ addi r4, r1, 8 +/* 802CD0C0 002CA020 38 A0 00 04 */ li r5, 4 +/* 802CD0C4 002CA024 48 07 24 E5 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD0C8 002CA028 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 802CD0CC 002CA02C 3B DC 00 E4 */ addi r30, r28, 0xe4 +/* 802CD0D0 002CA030 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802CD0D4 002CA034 7F FE 02 14 */ add r31, r30, r0 +/* 802CD0D8 002CA038 48 00 00 14 */ b lbl_802CD0EC +lbl_802CD0DC: +/* 802CD0DC 002CA03C 7F C3 F3 78 */ mr r3, r30 +/* 802CD0E0 002CA040 7F A4 EB 78 */ mr r4, r29 +/* 802CD0E4 002CA044 48 04 79 FD */ bl PutTo__9CVector3fCFR13COutputStream +/* 802CD0E8 002CA048 3B DE 00 0C */ addi r30, r30, 0xc +lbl_802CD0EC: +/* 802CD0EC 002CA04C 7C 1E F8 40 */ cmplw r30, r31 +/* 802CD0F0 002CA050 40 82 FF EC */ bne lbl_802CD0DC +/* 802CD0F4 002CA054 7F A4 EB 78 */ mr r4, r29 +/* 802CD0F8 002CA058 38 7C 01 14 */ addi r3, r28, 0x114 +/* 802CD0FC 002CA05C 48 00 00 25 */ bl "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" +/* 802CD100 002CA060 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD104 002CA064 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CD108 002CA068 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CD10C 002CA06C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CD110 002CA070 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802CD114 002CA074 7C 08 03 A6 */ mtlr r0 +/* 802CD118 002CA078 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD11C 002CA07C 4E 80 00 20 */ blr + +.global "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" +"StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi": +/* 802CD120 002CA080 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CD124 002CA084 7C 08 02 A6 */ mflr r0 +/* 802CD128 002CA088 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CD12C 002CA08C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CD130 002CA090 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CD134 002CA094 7C 7E 1B 78 */ mr r30, r3 +/* 802CD138 002CA098 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CD13C 002CA09C 7C 9D 23 78 */ mr r29, r4 +/* 802CD140 002CA0A0 80 03 00 00 */ lwz r0, 0(r3) +/* 802CD144 002CA0A4 7F A3 EB 78 */ mr r3, r29 +/* 802CD148 002CA0A8 90 01 00 18 */ stw r0, 0x18(r1) +/* 802CD14C 002CA0AC 48 07 23 6D */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD150 002CA0B0 7F A3 EB 78 */ mr r3, r29 +/* 802CD154 002CA0B4 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CD158 002CA0B8 38 A0 00 04 */ li r5, 4 +/* 802CD15C 002CA0BC 48 07 24 4D */ bl DoPut__13COutputStreamFPCvUl +/* 802CD160 002CA0C0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CD164 002CA0C4 3B FE 00 04 */ addi r31, r30, 4 +/* 802CD168 002CA0C8 54 00 18 38 */ slwi r0, r0, 3 +/* 802CD16C 002CA0CC 7F DE 02 14 */ add r30, r30, r0 +/* 802CD170 002CA0D0 3B DE 00 04 */ addi r30, r30, 4 +/* 802CD174 002CA0D4 48 00 00 58 */ b lbl_802CD1CC +lbl_802CD178: +/* 802CD178 002CA0D8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802CD17C 002CA0DC 7F A3 EB 78 */ mr r3, r29 +/* 802CD180 002CA0E0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802CD184 002CA0E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CD188 002CA0E8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802CD18C 002CA0EC 48 07 23 2D */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD190 002CA0F0 7F A3 EB 78 */ mr r3, r29 +/* 802CD194 002CA0F4 38 81 00 0C */ addi r4, r1, 0xc +/* 802CD198 002CA0F8 38 A0 00 04 */ li r5, 4 +/* 802CD19C 002CA0FC 48 07 24 0D */ bl DoPut__13COutputStreamFPCvUl +/* 802CD1A0 002CA100 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802CD1A4 002CA104 7F A3 EB 78 */ mr r3, r29 +/* 802CD1A8 002CA108 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802CD1AC 002CA10C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802CD1B0 002CA110 90 01 00 08 */ stw r0, 8(r1) +/* 802CD1B4 002CA114 48 07 23 05 */ bl FlushShiftRegister__13COutputStreamFv +/* 802CD1B8 002CA118 7F A3 EB 78 */ mr r3, r29 +/* 802CD1BC 002CA11C 38 81 00 08 */ addi r4, r1, 8 +/* 802CD1C0 002CA120 38 A0 00 04 */ li r5, 4 +/* 802CD1C4 002CA124 48 07 23 E5 */ bl DoPut__13COutputStreamFPCvUl +/* 802CD1C8 002CA128 3B FF 00 08 */ addi r31, r31, 8 +lbl_802CD1CC: +/* 802CD1CC 002CA12C 7C 1F F0 40 */ cmplw r31, r30 +/* 802CD1D0 002CA130 40 82 FF A8 */ bne lbl_802CD178 +/* 802CD1D4 002CA134 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CD1D8 002CA138 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CD1DC 002CA13C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CD1E0 002CA140 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CD1E4 002CA144 7C 08 03 A6 */ mtlr r0 +/* 802CD1E8 002CA148 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CD1EC 002CA14C 4E 80 00 20 */ blr + +.global Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb +Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb: +/* 802CD1F0 002CA150 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802CD1F4 002CA154 7C 08 02 A6 */ mflr r0 +/* 802CD1F8 002CA158 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802CD1FC 002CA15C DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802CD200 002CA160 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802CD204 002CA164 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802CD208 002CA168 7C 7D 1B 78 */ mr r29, r3 +/* 802CD20C 002CA16C 7C 9E 23 78 */ mr r30, r4 +/* 802CD210 002CA170 7C BF 2B 78 */ mr r31, r5 +/* 802CD214 002CA174 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CD218 002CA178 7F A4 EB 78 */ mr r4, r29 +/* 802CD21C 002CA17C 7F C5 F3 78 */ mr r5, r30 +/* 802CD220 002CA180 4B FF DB 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802CD224 002CA184 83 81 00 14 */ lwz r28, 0x14(r1) +/* 802CD228 002CA188 7F C3 F3 78 */ mr r3, r30 +/* 802CD22C 002CA18C 89 81 00 18 */ lbz r12, 0x18(r1) +/* 802CD230 002CA190 A9 61 00 1A */ lha r11, 0x1a(r1) +/* 802CD234 002CA194 A9 41 00 1C */ lha r10, 0x1c(r1) +/* 802CD238 002CA198 89 21 00 1E */ lbz r9, 0x1e(r1) +/* 802CD23C 002CA19C 89 01 00 1F */ lbz r8, 0x1f(r1) +/* 802CD240 002CA1A0 88 E1 00 20 */ lbz r7, 0x20(r1) +/* 802CD244 002CA1A4 88 C1 00 21 */ lbz r6, 0x21(r1) +/* 802CD248 002CA1A8 88 A1 00 22 */ lbz r5, 0x22(r1) +/* 802CD24C 002CA1AC 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802CD250 002CA1B0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802CD254 002CA1B4 93 81 00 2C */ stw r28, 0x2c(r1) +/* 802CD258 002CA1B8 99 81 00 30 */ stb r12, 0x30(r1) +/* 802CD25C 002CA1BC B1 61 00 32 */ sth r11, 0x32(r1) +/* 802CD260 002CA1C0 B1 41 00 34 */ sth r10, 0x34(r1) +/* 802CD264 002CA1C4 99 21 00 36 */ stb r9, 0x36(r1) +/* 802CD268 002CA1C8 99 01 00 37 */ stb r8, 0x37(r1) +/* 802CD26C 002CA1CC 98 E1 00 38 */ stb r7, 0x38(r1) +/* 802CD270 002CA1D0 98 C1 00 39 */ stb r6, 0x39(r1) +/* 802CD274 002CA1D4 98 A1 00 3A */ stb r5, 0x3a(r1) +/* 802CD278 002CA1D8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802CD27C 002CA1DC 90 01 00 40 */ stw r0, 0x40(r1) +/* 802CD280 002CA1E0 48 07 1A 05 */ bl ReadLong__12CInputStreamFv +/* 802CD284 002CA1E4 7F C3 F3 78 */ mr r3, r30 +/* 802CD288 002CA1E8 48 07 19 FD */ bl ReadLong__12CInputStreamFv +/* 802CD28C 002CA1EC 7F C3 F3 78 */ mr r3, r30 +/* 802CD290 002CA1F0 48 07 19 F5 */ bl ReadLong__12CInputStreamFv +/* 802CD294 002CA1F4 7F C3 F3 78 */ mr r3, r30 +/* 802CD298 002CA1F8 48 07 19 ED */ bl ReadLong__12CInputStreamFv +/* 802CD29C 002CA1FC 90 61 00 68 */ stw r3, 0x68(r1) +/* 802CD2A0 002CA200 3B 61 00 6C */ addi r27, r1, 0x6c +/* 802CD2A4 002CA204 3B 80 00 00 */ li r28, 0 +/* 802CD2A8 002CA208 48 00 00 38 */ b lbl_802CD2E0 +lbl_802CD2AC: +/* 802CD2AC 002CA20C 7F C4 F3 78 */ mr r4, r30 +/* 802CD2B0 002CA210 38 61 00 08 */ addi r3, r1, 8 +/* 802CD2B4 002CA214 48 04 78 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 802CD2B8 002CA218 28 1B 00 00 */ cmplwi r27, 0 +/* 802CD2BC 002CA21C 41 82 00 1C */ beq lbl_802CD2D8 +/* 802CD2C0 002CA220 C0 01 00 08 */ lfs f0, 8(r1) +/* 802CD2C4 002CA224 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802CD2C8 002CA228 D0 1B 00 00 */ stfs f0, 0(r27) +/* 802CD2CC 002CA22C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802CD2D0 002CA230 D0 3B 00 04 */ stfs f1, 4(r27) +/* 802CD2D4 002CA234 D0 1B 00 08 */ stfs f0, 8(r27) +lbl_802CD2D8: +/* 802CD2D8 002CA238 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802CD2DC 002CA23C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CD2E0: +/* 802CD2E0 002CA240 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802CD2E4 002CA244 7C 1C 00 00 */ cmpw r28, r0 +/* 802CD2E8 002CA248 41 80 FF C4 */ blt lbl_802CD2AC +/* 802CD2EC 002CA24C 7F C3 F3 78 */ mr r3, r30 +/* 802CD2F0 002CA250 48 07 19 95 */ bl ReadLong__12CInputStreamFv +/* 802CD2F4 002CA254 90 61 00 44 */ stw r3, 0x44(r1) +/* 802CD2F8 002CA258 3B 61 00 48 */ addi r27, r1, 0x48 +/* 802CD2FC 002CA25C 3B 80 00 00 */ li r28, 0 +/* 802CD300 002CA260 48 00 00 30 */ b lbl_802CD330 +lbl_802CD304: +/* 802CD304 002CA264 7F C3 F3 78 */ mr r3, r30 +/* 802CD308 002CA268 48 07 19 21 */ bl ReadFloat__12CInputStreamFv +/* 802CD30C 002CA26C FF E0 08 90 */ fmr f31, f1 +/* 802CD310 002CA270 7F C3 F3 78 */ mr r3, r30 +/* 802CD314 002CA274 48 07 19 15 */ bl ReadFloat__12CInputStreamFv +/* 802CD318 002CA278 28 1B 00 00 */ cmplwi r27, 0 +/* 802CD31C 002CA27C 41 82 00 0C */ beq lbl_802CD328 +/* 802CD320 002CA280 D3 FB 00 00 */ stfs f31, 0(r27) +/* 802CD324 002CA284 D0 3B 00 04 */ stfs f1, 4(r27) +lbl_802CD328: +/* 802CD328 002CA288 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CD32C 002CA28C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802CD330: +/* 802CD330 002CA290 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CD334 002CA294 7C 1C 00 00 */ cmpw r28, r0 +/* 802CD338 002CA298 41 80 FF CC */ blt lbl_802CD304 +/* 802CD33C 002CA29C 3C 80 80 3D */ lis r4, lbl_803D69E0@ha +/* 802CD340 002CA2A0 38 60 01 54 */ li r3, 0x154 +/* 802CD344 002CA2A4 38 84 69 E0 */ addi r4, r4, lbl_803D69E0@l +/* 802CD348 002CA2A8 38 A0 00 00 */ li r5, 0 +/* 802CD34C 002CA2AC 48 04 85 21 */ bl __nw__FUlPCcPCc +/* 802CD350 002CA2B0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802CD354 002CA2B4 41 82 00 28 */ beq lbl_802CD37C +/* 802CD358 002CA2B8 7F E5 FB 78 */ mr r5, r31 +/* 802CD35C 002CA2BC 38 81 00 2C */ addi r4, r1, 0x2c +/* 802CD360 002CA2C0 39 01 00 68 */ addi r8, r1, 0x68 +/* 802CD364 002CA2C4 39 21 00 44 */ addi r9, r1, 0x44 +/* 802CD368 002CA2C8 38 C0 FF FF */ li r6, -1 +/* 802CD36C 002CA2CC 38 E0 FF FF */ li r7, -1 +/* 802CD370 002CA2D0 39 40 00 01 */ li r10, 1 +/* 802CD374 002CA2D4 4B FF FB 59 */ bl "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" +/* 802CD378 002CA2D8 7C 7C 1B 78 */ mr r28, r3 +lbl_802CD37C: +/* 802CD37C 002CA2DC 7F 83 E3 78 */ mr r3, r28 +/* 802CD380 002CA2E0 7F A4 EB 78 */ mr r4, r29 +/* 802CD384 002CA2E4 7F C5 F3 78 */ mr r5, r30 +/* 802CD388 002CA2E8 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802CD38C 002CA2EC 4B FF D6 FD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802CD390 002CA2F0 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 802CD394 002CA2F4 38 60 00 00 */ li r3, 0 +/* 802CD398 002CA2F8 2C 05 00 00 */ cmpwi r5, 0 +/* 802CD39C 002CA2FC 40 81 00 40 */ ble lbl_802CD3DC +/* 802CD3A0 002CA300 2C 05 00 08 */ cmpwi r5, 8 +/* 802CD3A4 002CA304 38 85 FF F8 */ addi r4, r5, -8 +/* 802CD3A8 002CA308 40 81 00 20 */ ble lbl_802CD3C8 +/* 802CD3AC 002CA30C 38 04 00 07 */ addi r0, r4, 7 +/* 802CD3B0 002CA310 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CD3B4 002CA314 7C 09 03 A6 */ mtctr r0 +/* 802CD3B8 002CA318 2C 04 00 00 */ cmpwi r4, 0 +/* 802CD3BC 002CA31C 40 81 00 0C */ ble lbl_802CD3C8 +lbl_802CD3C0: +/* 802CD3C0 002CA320 38 63 00 08 */ addi r3, r3, 8 +/* 802CD3C4 002CA324 42 00 FF FC */ bdnz lbl_802CD3C0 +lbl_802CD3C8: +/* 802CD3C8 002CA328 7C 03 28 50 */ subf r0, r3, r5 +/* 802CD3CC 002CA32C 7C 09 03 A6 */ mtctr r0 +/* 802CD3D0 002CA330 7C 03 28 00 */ cmpw r3, r5 +/* 802CD3D4 002CA334 40 80 00 08 */ bge lbl_802CD3DC +lbl_802CD3D8: +/* 802CD3D8 002CA338 42 00 00 00 */ bdnz lbl_802CD3D8 +lbl_802CD3DC: +/* 802CD3DC 002CA33C 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 802CD3E0 002CA340 38 60 00 00 */ li r3, 0 +/* 802CD3E4 002CA344 90 61 00 44 */ stw r3, 0x44(r1) +/* 802CD3E8 002CA348 2C 05 00 00 */ cmpwi r5, 0 +/* 802CD3EC 002CA34C 40 81 00 40 */ ble lbl_802CD42C +/* 802CD3F0 002CA350 2C 05 00 08 */ cmpwi r5, 8 +/* 802CD3F4 002CA354 38 85 FF F8 */ addi r4, r5, -8 +/* 802CD3F8 002CA358 40 81 00 20 */ ble lbl_802CD418 +/* 802CD3FC 002CA35C 38 04 00 07 */ addi r0, r4, 7 +/* 802CD400 002CA360 54 00 E8 FE */ srwi r0, r0, 3 +/* 802CD404 002CA364 7C 09 03 A6 */ mtctr r0 +/* 802CD408 002CA368 2C 04 00 00 */ cmpwi r4, 0 +/* 802CD40C 002CA36C 40 81 00 0C */ ble lbl_802CD418 +lbl_802CD410: +/* 802CD410 002CA370 38 63 00 08 */ addi r3, r3, 8 +/* 802CD414 002CA374 42 00 FF FC */ bdnz lbl_802CD410 +lbl_802CD418: +/* 802CD418 002CA378 7C 03 28 50 */ subf r0, r3, r5 +/* 802CD41C 002CA37C 7C 09 03 A6 */ mtctr r0 +/* 802CD420 002CA380 7C 03 28 00 */ cmpw r3, r5 +/* 802CD424 002CA384 40 80 00 08 */ bge lbl_802CD42C +lbl_802CD428: +/* 802CD428 002CA388 42 00 00 00 */ bdnz lbl_802CD428 +lbl_802CD42C: +/* 802CD42C 002CA38C 38 00 00 00 */ li r0, 0 +/* 802CD430 002CA390 7F 83 E3 78 */ mr r3, r28 +/* 802CD434 002CA394 90 01 00 68 */ stw r0, 0x68(r1) +/* 802CD438 002CA398 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802CD43C 002CA39C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802CD440 002CA3A0 BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802CD444 002CA3A4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802CD448 002CA3A8 7C 08 03 A6 */ mtlr r0 +/* 802CD44C 002CA3AC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802CD450 002CA3B0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiMain.s b/asm/GuiSys/CAuiMain.s new file mode 100644 index 00000000..fdf9034f --- /dev/null +++ b/asm/GuiSys/CAuiMain.s @@ -0,0 +1,7 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global InitializeApplicationUI__FR7CGuiSys +InitializeApplicationUI__FR7CGuiSys: +/* 802C0BF4 002BDB54 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CAuiMeter.s b/asm/GuiSys/CAuiMeter.s new file mode 100644 index 00000000..fd76c1ce --- /dev/null +++ b/asm/GuiSys/CAuiMeter.s @@ -0,0 +1,453 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CAuiMeterFv +__dt__9CAuiMeterFv: +/* 802C0BF8 002BDB58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0BFC 002BDB5C 7C 08 02 A6 */ mflr r0 +/* 802C0C00 002BDB60 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0C04 002BDB64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0C08 002BDB68 7C 9F 23 78 */ mr r31, r4 +/* 802C0C0C 002BDB6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0C10 002BDB70 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C0C14 002BDB74 41 82 00 88 */ beq lbl_802C0C9C +/* 802C0C18 002BDB78 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha +/* 802C0C1C 002BDB7C 34 1E 00 D4 */ addic. r0, r30, 0xd4 +/* 802C0C20 002BDB80 38 03 C6 F8 */ addi r0, r3, lbl_803EC6F8@l +/* 802C0C24 002BDB84 90 1E 00 00 */ stw r0, 0(r30) +/* 802C0C28 002BDB88 41 82 00 44 */ beq lbl_802C0C6C +/* 802C0C2C 002BDB8C 80 1E 00 D8 */ lwz r0, 0xd8(r30) +/* 802C0C30 002BDB90 80 7E 00 E0 */ lwz r3, 0xe0(r30) +/* 802C0C34 002BDB94 54 00 10 3A */ slwi r0, r0, 2 +/* 802C0C38 002BDB98 7C 03 02 14 */ add r0, r3, r0 +/* 802C0C3C 002BDB9C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C0C40 002BDBA0 7C 64 1B 78 */ mr r4, r3 +/* 802C0C44 002BDBA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0C48 002BDBA8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C0C4C 002BDBAC 90 61 00 08 */ stw r3, 8(r1) +/* 802C0C50 002BDBB0 48 00 00 08 */ b lbl_802C0C58 +lbl_802C0C54: +/* 802C0C54 002BDBB4 38 84 00 04 */ addi r4, r4, 4 +lbl_802C0C58: +/* 802C0C58 002BDBB8 7C 04 00 40 */ cmplw r4, r0 +/* 802C0C5C 002BDBBC 40 82 FF F8 */ bne lbl_802C0C54 +/* 802C0C60 002BDBC0 28 03 00 00 */ cmplwi r3, 0 +/* 802C0C64 002BDBC4 41 82 00 08 */ beq lbl_802C0C6C +/* 802C0C68 002BDBC8 48 05 4C C9 */ bl Free__7CMemoryFPCv +lbl_802C0C6C: +/* 802C0C6C 002BDBCC 28 1E 00 00 */ cmplwi r30, 0 +/* 802C0C70 002BDBD0 41 82 00 1C */ beq lbl_802C0C8C +/* 802C0C74 002BDBD4 3C 80 80 3F */ lis r4, lbl_803EC7C8@ha +/* 802C0C78 002BDBD8 7F C3 F3 78 */ mr r3, r30 +/* 802C0C7C 002BDBDC 38 04 C7 C8 */ addi r0, r4, lbl_803EC7C8@l +/* 802C0C80 002BDBE0 38 80 00 00 */ li r4, 0 +/* 802C0C84 002BDBE4 90 1E 00 00 */ stw r0, 0(r30) +/* 802C0C88 002BDBE8 48 00 0E A9 */ bl __dt__18CGuiCompoundWidgetFv +lbl_802C0C8C: +/* 802C0C8C 002BDBEC 7F E0 07 35 */ extsh. r0, r31 +/* 802C0C90 002BDBF0 40 81 00 0C */ ble lbl_802C0C9C +/* 802C0C94 002BDBF4 7F C3 F3 78 */ mr r3, r30 +/* 802C0C98 002BDBF8 48 05 4C 99 */ bl Free__7CMemoryFPCv +lbl_802C0C9C: +/* 802C0C9C 002BDBFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C0CA0 002BDC00 7F C3 F3 78 */ mr r3, r30 +/* 802C0CA4 002BDC04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0CA8 002BDC08 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0CAC 002BDC0C 7C 08 03 A6 */ mtlr r0 +/* 802C0CB0 002BDC10 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0CB4 002BDC14 4E 80 00 20 */ blr + +.global GetWidgetTypeID__9CAuiMeterCFv +GetWidgetTypeID__9CAuiMeterCFv: +/* 802C0CB8 002BDC18 3C 60 4D 45 */ lis r3, 0x4D455452@ha +/* 802C0CBC 002BDC1C 38 63 54 52 */ addi r3, r3, 0x4D455452@l +/* 802C0CC0 002BDC20 4E 80 00 20 */ blr + +.global Initialize__10CGuiWidgetFv +Initialize__10CGuiWidgetFv: +/* 802C0CC4 002BDC24 4E 80 00 20 */ blr + +.global Touch__10CGuiWidgetCFv +Touch__10CGuiWidgetCFv: +/* 802C0CC8 002BDC28 4E 80 00 20 */ blr + +.global GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv +GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv: +/* 802C0CCC 002BDC2C 38 60 00 01 */ li r3, 1 +/* 802C0CD0 002BDC30 4E 80 00 20 */ blr + +.global UpdateMeterWorkers__9CAuiMeterFv +UpdateMeterWorkers__9CAuiMeterFv: +/* 802C0CD4 002BDC34 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C0CD8 002BDC38 7C 08 02 A6 */ mflr r0 +/* 802C0CDC 002BDC3C C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2) +/* 802C0CE0 002BDC40 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C0CE4 002BDC44 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 802C0CE8 002BDC48 7C 7E 1B 78 */ mr r30, r3 +/* 802C0CEC 002BDC4C 3C 60 43 30 */ lis r3, 0x4330 +/* 802C0CF0 002BDC50 90 61 00 08 */ stw r3, 8(r1) +/* 802C0CF4 002BDC54 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C0CF8 002BDC58 83 FE 00 D8 */ lwz r31, 0xd8(r30) +/* 802C0CFC 002BDC5C 80 1E 00 C8 */ lwz r0, 0xc8(r30) +/* 802C0D00 002BDC60 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 802C0D04 002BDC64 88 BE 00 C4 */ lbz r5, 0xc4(r30) +/* 802C0D08 002BDC68 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C0D0C 002BDC6C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C0D10 002BDC70 28 05 00 00 */ cmplwi r5, 0 +/* 802C0D14 002BDC74 C8 01 00 08 */ lfd f0, 8(r1) +/* 802C0D18 002BDC78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0D1C 002BDC7C EC 20 10 28 */ fsubs f1, f0, f2 +/* 802C0D20 002BDC80 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802C0D24 002BDC84 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802C0D28 002BDC88 EC 61 00 24 */ fdivs f3, f1, f0 +/* 802C0D2C 002BDC8C 41 82 00 30 */ beq lbl_802C0D5C +/* 802C0D30 002BDC90 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 802C0D34 002BDC94 90 61 00 18 */ stw r3, 0x18(r1) +/* 802C0D38 002BDC98 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C0D3C 002BDC9C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C0D40 002BDCA0 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802C0D44 002BDCA4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802C0D48 002BDCA8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802C0D4C 002BDCAC FC 00 00 1E */ fctiwz f0, f0 +/* 802C0D50 002BDCB0 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 802C0D54 002BDCB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C0D58 002BDCB8 48 00 00 30 */ b lbl_802C0D88 +lbl_802C0D5C: +/* 802C0D5C 002BDCBC 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 802C0D60 002BDCC0 90 61 00 28 */ stw r3, 0x28(r1) +/* 802C0D64 002BDCC4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C0D68 002BDCC8 C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2) +/* 802C0D6C 002BDCCC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802C0D70 002BDCD0 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802C0D74 002BDCD4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802C0D78 002BDCD8 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 802C0D7C 002BDCDC FC 00 00 1E */ fctiwz f0, f0 +/* 802C0D80 002BDCE0 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 802C0D84 002BDCE4 83 A1 00 34 */ lwz r29, 0x34(r1) +lbl_802C0D88: +/* 802C0D88 002BDCE8 28 05 00 00 */ cmplwi r5, 0 +/* 802C0D8C 002BDCEC 41 82 00 38 */ beq lbl_802C0DC4 +/* 802C0D90 002BDCF0 80 7E 00 D0 */ lwz r3, 0xd0(r30) +/* 802C0D94 002BDCF4 3C 00 43 30 */ lis r0, 0x4330 +/* 802C0D98 002BDCF8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802C0D9C 002BDCFC 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C0DA0 002BDD00 C8 22 C3 68 */ lfd f1, lbl_805AE088@sda21(r2) +/* 802C0DA4 002BDD04 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802C0DA8 002BDD08 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802C0DAC 002BDD0C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C0DB0 002BDD10 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802C0DB4 002BDD14 FC 00 00 1E */ fctiwz f0, f0 +/* 802C0DB8 002BDD18 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 802C0DBC 002BDD1C 83 81 00 44 */ lwz r28, 0x44(r1) +/* 802C0DC0 002BDD20 48 00 00 38 */ b lbl_802C0DF8 +lbl_802C0DC4: +/* 802C0DC4 002BDD24 80 7E 00 D0 */ lwz r3, 0xd0(r30) +/* 802C0DC8 002BDD28 3C 00 43 30 */ lis r0, 0x4330 +/* 802C0DCC 002BDD2C 90 01 00 48 */ stw r0, 0x48(r1) +/* 802C0DD0 002BDD30 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C0DD4 002BDD34 C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2) +/* 802C0DD8 002BDD38 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802C0DDC 002BDD3C C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2) +/* 802C0DE0 002BDD40 C8 21 00 48 */ lfd f1, 0x48(r1) +/* 802C0DE4 002BDD44 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802C0DE8 002BDD48 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 802C0DEC 002BDD4C FC 00 00 1E */ fctiwz f0, f0 +/* 802C0DF0 002BDD50 D8 01 00 50 */ stfd f0, 0x50(r1) +/* 802C0DF4 002BDD54 83 81 00 54 */ lwz r28, 0x54(r1) +lbl_802C0DF8: +/* 802C0DF8 002BDD58 3B 00 00 00 */ li r24, 0 +/* 802C0DFC 002BDD5C 3B 20 00 00 */ li r25, 0 +/* 802C0E00 002BDD60 48 00 00 E4 */ b lbl_802C0EE4 +lbl_802C0E04: +/* 802C0E04 002BDD64 80 7E 00 E0 */ lwz r3, 0xe0(r30) +/* 802C0E08 002BDD68 7F 43 C8 2E */ lwzx r26, r3, r25 +/* 802C0E0C 002BDD6C 28 1A 00 00 */ cmplwi r26, 0 +/* 802C0E10 002BDD70 41 82 00 CC */ beq lbl_802C0EDC +/* 802C0E14 002BDD74 7F 43 D3 78 */ mr r3, r26 +/* 802C0E18 002BDD78 38 80 00 00 */ li r4, 0 +/* 802C0E1C 002BDD7C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C0E20 002BDD80 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C0E24 002BDD84 7D 89 03 A6 */ mtctr r12 +/* 802C0E28 002BDD88 4E 80 04 21 */ bctrl +/* 802C0E2C 002BDD8C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C0E30 002BDD90 7C 7B 1B 78 */ mr r27, r3 +/* 802C0E34 002BDD94 7F 43 D3 78 */ mr r3, r26 +/* 802C0E38 002BDD98 38 80 00 01 */ li r4, 1 +/* 802C0E3C 002BDD9C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C0E40 002BDDA0 7D 89 03 A6 */ mtctr r12 +/* 802C0E44 002BDDA4 4E 80 04 21 */ bctrl +/* 802C0E48 002BDDA8 7C 18 E0 00 */ cmpw r24, r28 +/* 802C0E4C 002BDDAC 7C 7A 1B 78 */ mr r26, r3 +/* 802C0E50 002BDDB0 40 80 00 30 */ bge lbl_802C0E80 +/* 802C0E54 002BDDB4 28 1B 00 00 */ cmplwi r27, 0 +/* 802C0E58 002BDDB8 41 82 00 10 */ beq lbl_802C0E68 +/* 802C0E5C 002BDDBC 7F 63 DB 78 */ mr r3, r27 +/* 802C0E60 002BDDC0 38 80 00 01 */ li r4, 1 +/* 802C0E64 002BDDC4 48 00 97 C9 */ bl SetIsVisible__10CGuiWidgetFb +lbl_802C0E68: +/* 802C0E68 002BDDC8 28 1A 00 00 */ cmplwi r26, 0 +/* 802C0E6C 002BDDCC 41 82 00 70 */ beq lbl_802C0EDC +/* 802C0E70 002BDDD0 7F 43 D3 78 */ mr r3, r26 +/* 802C0E74 002BDDD4 38 80 00 00 */ li r4, 0 +/* 802C0E78 002BDDD8 48 00 97 B5 */ bl SetIsVisible__10CGuiWidgetFb +/* 802C0E7C 002BDDDC 48 00 00 60 */ b lbl_802C0EDC +lbl_802C0E80: +/* 802C0E80 002BDDE0 7C 18 E8 00 */ cmpw r24, r29 +/* 802C0E84 002BDDE4 40 80 00 30 */ bge lbl_802C0EB4 +/* 802C0E88 002BDDE8 28 1B 00 00 */ cmplwi r27, 0 +/* 802C0E8C 002BDDEC 41 82 00 10 */ beq lbl_802C0E9C +/* 802C0E90 002BDDF0 7F 63 DB 78 */ mr r3, r27 +/* 802C0E94 002BDDF4 38 80 00 00 */ li r4, 0 +/* 802C0E98 002BDDF8 48 00 97 95 */ bl SetIsVisible__10CGuiWidgetFb +lbl_802C0E9C: +/* 802C0E9C 002BDDFC 28 1A 00 00 */ cmplwi r26, 0 +/* 802C0EA0 002BDE00 41 82 00 3C */ beq lbl_802C0EDC +/* 802C0EA4 002BDE04 7F 43 D3 78 */ mr r3, r26 +/* 802C0EA8 002BDE08 38 80 00 01 */ li r4, 1 +/* 802C0EAC 002BDE0C 48 00 97 81 */ bl SetIsVisible__10CGuiWidgetFb +/* 802C0EB0 002BDE10 48 00 00 2C */ b lbl_802C0EDC +lbl_802C0EB4: +/* 802C0EB4 002BDE14 28 1B 00 00 */ cmplwi r27, 0 +/* 802C0EB8 002BDE18 41 82 00 10 */ beq lbl_802C0EC8 +/* 802C0EBC 002BDE1C 7F 63 DB 78 */ mr r3, r27 +/* 802C0EC0 002BDE20 38 80 00 00 */ li r4, 0 +/* 802C0EC4 002BDE24 48 00 97 69 */ bl SetIsVisible__10CGuiWidgetFb +lbl_802C0EC8: +/* 802C0EC8 002BDE28 28 1A 00 00 */ cmplwi r26, 0 +/* 802C0ECC 002BDE2C 41 82 00 10 */ beq lbl_802C0EDC +/* 802C0ED0 002BDE30 7F 43 D3 78 */ mr r3, r26 +/* 802C0ED4 002BDE34 38 80 00 00 */ li r4, 0 +/* 802C0ED8 002BDE38 48 00 97 55 */ bl SetIsVisible__10CGuiWidgetFb +lbl_802C0EDC: +/* 802C0EDC 002BDE3C 3B 39 00 04 */ addi r25, r25, 4 +/* 802C0EE0 002BDE40 3B 18 00 01 */ addi r24, r24, 1 +lbl_802C0EE4: +/* 802C0EE4 002BDE44 7C 18 F8 00 */ cmpw r24, r31 +/* 802C0EE8 002BDE48 41 80 FF 1C */ blt lbl_802C0E04 +/* 802C0EEC 002BDE4C BB 01 00 60 */ lmw r24, 0x60(r1) +/* 802C0EF0 002BDE50 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C0EF4 002BDE54 7C 08 03 A6 */ mtlr r0 +/* 802C0EF8 002BDE58 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C0EFC 002BDE5C 4E 80 00 20 */ blr + +.global OnVisible__9CAuiMeterFv +OnVisible__9CAuiMeterFv: +/* 802C0F00 002BDE60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C0F04 002BDE64 7C 08 02 A6 */ mflr r0 +/* 802C0F08 002BDE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0F0C 002BDE6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C0F10 002BDE70 7C 7F 1B 78 */ mr r31, r3 +/* 802C0F14 002BDE74 81 83 00 00 */ lwz r12, 0(r3) +/* 802C0F18 002BDE78 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C0F1C 002BDE7C 7D 89 03 A6 */ mtctr r12 +/* 802C0F20 002BDE80 4E 80 04 21 */ bctrl +/* 802C0F24 002BDE84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C0F28 002BDE88 41 82 00 0C */ beq lbl_802C0F34 +/* 802C0F2C 002BDE8C 7F E3 FB 78 */ mr r3, r31 +/* 802C0F30 002BDE90 4B FF FD A5 */ bl UpdateMeterWorkers__9CAuiMeterFv +lbl_802C0F34: +/* 802C0F34 002BDE94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0F38 002BDE98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C0F3C 002BDE9C 7C 08 03 A6 */ mtlr r0 +/* 802C0F40 002BDEA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0F44 002BDEA4 4E 80 00 20 */ blr + +.global SetRemainder__9CAuiMeteri +SetRemainder__9CAuiMeteri: +/* 802C0F48 002BDEA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0F4C 002BDEAC 7C 08 02 A6 */ mflr r0 +/* 802C0F50 002BDEB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0F54 002BDEB4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0F58 002BDEB8 7C 7F 1B 78 */ mr r31, r3 +/* 802C0F5C 002BDEBC 38 6D 9A F8 */ addi r3, r13, lbl_805A86B8@sda21 +/* 802C0F60 002BDEC0 90 81 00 08 */ stw r4, 8(r1) +/* 802C0F64 002BDEC4 38 81 00 08 */ addi r4, r1, 8 +/* 802C0F68 002BDEC8 38 BF 00 CC */ addi r5, r31, 0xcc +/* 802C0F6C 002BDECC 4B D9 90 F9 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 802C0F70 002BDED0 80 03 00 00 */ lwz r0, 0(r3) +/* 802C0F74 002BDED4 7F E3 FB 78 */ mr r3, r31 +/* 802C0F78 002BDED8 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 802C0F7C 002BDEDC 4B FF FD 59 */ bl UpdateMeterWorkers__9CAuiMeterFv +/* 802C0F80 002BDEE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C0F84 002BDEE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0F88 002BDEE8 7C 08 03 A6 */ mtlr r0 +/* 802C0F8C 002BDEEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0F90 002BDEF0 4E 80 00 20 */ blr + +.global SetCapacity__9CAuiMeterFi +SetCapacity__9CAuiMeterFi: +/* 802C0F94 002BDEF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0F98 002BDEF8 7C 08 02 A6 */ mflr r0 +/* 802C0F9C 002BDEFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0FA0 002BDF00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0FA4 002BDF04 7C 7F 1B 78 */ mr r31, r3 +/* 802C0FA8 002BDF08 38 6D 9A F4 */ addi r3, r13, lbl_805A86B4@sda21 +/* 802C0FAC 002BDF0C 90 81 00 08 */ stw r4, 8(r1) +/* 802C0FB0 002BDF10 38 81 00 08 */ addi r4, r1, 8 +/* 802C0FB4 002BDF14 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 802C0FB8 002BDF18 4B D9 90 AD */ bl "Clamp__5CMathFRCiRCiRCi" +/* 802C0FBC 002BDF1C 80 03 00 00 */ lwz r0, 0(r3) +/* 802C0FC0 002BDF20 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 802C0FC4 002BDF24 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 802C0FC8 002BDF28 80 1F 00 D0 */ lwz r0, 0xd0(r31) +/* 802C0FCC 002BDF2C 7C 03 00 00 */ cmpw r3, r0 +/* 802C0FD0 002BDF30 40 80 00 0C */ bge lbl_802C0FDC +/* 802C0FD4 002BDF34 38 7F 00 CC */ addi r3, r31, 0xcc +/* 802C0FD8 002BDF38 48 00 00 08 */ b lbl_802C0FE0 +lbl_802C0FDC: +/* 802C0FDC 002BDF3C 38 7F 00 D0 */ addi r3, r31, 0xd0 +lbl_802C0FE0: +/* 802C0FE0 002BDF40 80 03 00 00 */ lwz r0, 0(r3) +/* 802C0FE4 002BDF44 7F E3 FB 78 */ mr r3, r31 +/* 802C0FE8 002BDF48 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 802C0FEC 002BDF4C 4B FF FC E9 */ bl UpdateMeterWorkers__9CAuiMeterFv +/* 802C0FF0 002BDF50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C0FF4 002BDF54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0FF8 002BDF58 7C 08 03 A6 */ mtlr r0 +/* 802C0FFC 002BDF5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C1000 002BDF60 4E 80 00 20 */ blr + +.global SetMaxCapacity__9CAuiMeterFi +SetMaxCapacity__9CAuiMeterFi: +/* 802C1004 002BDF64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1008 002BDF68 7C 08 02 A6 */ mflr r0 +/* 802C100C 002BDF6C 38 AD 9A F0 */ addi r5, r13, lbl_805A86B0@sda21 +/* 802C1010 002BDF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1014 002BDF74 80 0D 9A F0 */ lwz r0, lbl_805A86B0@sda21(r13) +/* 802C1018 002BDF78 90 81 00 08 */ stw r4, 8(r1) +/* 802C101C 002BDF7C 7C 00 20 00 */ cmpw r0, r4 +/* 802C1020 002BDF80 40 80 00 08 */ bge lbl_802C1028 +/* 802C1024 002BDF84 38 A1 00 08 */ addi r5, r1, 8 +lbl_802C1028: +/* 802C1028 002BDF88 80 05 00 00 */ lwz r0, 0(r5) +/* 802C102C 002BDF8C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C1030 002BDF90 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 802C1034 002BDF94 80 03 00 CC */ lwz r0, 0xcc(r3) +/* 802C1038 002BDF98 7C 04 00 00 */ cmpw r4, r0 +/* 802C103C 002BDF9C 40 80 00 0C */ bge lbl_802C1048 +/* 802C1040 002BDFA0 38 83 00 C8 */ addi r4, r3, 0xc8 +/* 802C1044 002BDFA4 48 00 00 08 */ b lbl_802C104C +lbl_802C1048: +/* 802C1048 002BDFA8 38 83 00 CC */ addi r4, r3, 0xcc +lbl_802C104C: +/* 802C104C 002BDFAC 80 04 00 00 */ lwz r0, 0(r4) +/* 802C1050 002BDFB0 90 03 00 CC */ stw r0, 0xcc(r3) +/* 802C1054 002BDFB4 80 83 00 CC */ lwz r4, 0xcc(r3) +/* 802C1058 002BDFB8 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 802C105C 002BDFBC 7C 04 00 00 */ cmpw r4, r0 +/* 802C1060 002BDFC0 40 80 00 0C */ bge lbl_802C106C +/* 802C1064 002BDFC4 38 83 00 CC */ addi r4, r3, 0xcc +/* 802C1068 002BDFC8 48 00 00 08 */ b lbl_802C1070 +lbl_802C106C: +/* 802C106C 002BDFCC 38 83 00 D0 */ addi r4, r3, 0xd0 +lbl_802C1070: +/* 802C1070 002BDFD0 80 04 00 00 */ lwz r0, 0(r4) +/* 802C1074 002BDFD4 90 03 00 D0 */ stw r0, 0xd0(r3) +/* 802C1078 002BDFD8 4B FF FC 5D */ bl UpdateMeterWorkers__9CAuiMeterFv +/* 802C107C 002BDFDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1080 002BDFE0 7C 08 03 A6 */ mtlr r0 +/* 802C1084 002BDFE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1088 002BDFE8 4E 80 00 20 */ blr + +.global GetWorkerWidget__9CAuiMeterFi +GetWorkerWidget__9CAuiMeterFi: +/* 802C108C 002BDFEC 80 63 00 E0 */ lwz r3, 0xe0(r3) +/* 802C1090 002BDFF0 54 80 10 3A */ slwi r0, r4, 2 +/* 802C1094 002BDFF4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802C1098 002BDFF8 4E 80 00 20 */ blr + +.global AddWorkerWidget__9CAuiMeterFP10CGuiWidget +AddWorkerWidget__9CAuiMeterFP10CGuiWidget: +/* 802C109C 002BDFFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C10A0 002BE000 7C 08 02 A6 */ mflr r0 +/* 802C10A4 002BE004 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C10A8 002BE008 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802C10AC 002BE00C 7C 7B 1B 78 */ mr r27, r3 +/* 802C10B0 002BE010 7C 9C 23 78 */ mr r28, r4 +/* 802C10B4 002BE014 48 00 23 39 */ bl AddWorkerWidget__9CGuiGroupFP10CGuiWidget +/* 802C10B8 002BE018 AB DC 00 B4 */ lha r30, 0xb4(r28) +/* 802C10BC 002BE01C 80 1B 00 D8 */ lwz r0, 0xd8(r27) +/* 802C10C0 002BE020 7C 1E 00 00 */ cmpw r30, r0 +/* 802C10C4 002BE024 41 80 00 68 */ blt lbl_802C112C +/* 802C10C8 002BE028 7C 1D 03 78 */ mr r29, r0 +/* 802C10CC 002BE02C 3B E0 00 00 */ li r31, 0 +/* 802C10D0 002BE030 48 00 00 54 */ b lbl_802C1124 +lbl_802C10D4: +/* 802C10D4 002BE034 80 1B 00 D8 */ lwz r0, 0xd8(r27) +/* 802C10D8 002BE038 80 BB 00 DC */ lwz r5, 0xdc(r27) +/* 802C10DC 002BE03C 7C 00 28 00 */ cmpw r0, r5 +/* 802C10E0 002BE040 41 80 00 1C */ blt lbl_802C10FC +/* 802C10E4 002BE044 2C 05 00 00 */ cmpwi r5, 0 +/* 802C10E8 002BE048 38 7B 00 D4 */ addi r3, r27, 0xd4 +/* 802C10EC 002BE04C 38 80 00 04 */ li r4, 4 +/* 802C10F0 002BE050 41 82 00 08 */ beq lbl_802C10F8 +/* 802C10F4 002BE054 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802C10F8: +/* 802C10F8 002BE058 48 00 02 61 */ bl "reserve__Q24rstl46vectorFi" +lbl_802C10FC: +/* 802C10FC 002BE05C 80 1B 00 D8 */ lwz r0, 0xd8(r27) +/* 802C1100 002BE060 80 7B 00 E0 */ lwz r3, 0xe0(r27) +/* 802C1104 002BE064 54 00 10 3A */ slwi r0, r0, 2 +/* 802C1108 002BE068 7C 63 02 15 */ add. r3, r3, r0 +/* 802C110C 002BE06C 41 82 00 08 */ beq lbl_802C1114 +/* 802C1110 002BE070 93 E3 00 00 */ stw r31, 0(r3) +lbl_802C1114: +/* 802C1114 002BE074 80 7B 00 D8 */ lwz r3, 0xd8(r27) +/* 802C1118 002BE078 3B BD 00 01 */ addi r29, r29, 1 +/* 802C111C 002BE07C 38 03 00 01 */ addi r0, r3, 1 +/* 802C1120 002BE080 90 1B 00 D8 */ stw r0, 0xd8(r27) +lbl_802C1124: +/* 802C1124 002BE084 7C 1D F0 00 */ cmpw r29, r30 +/* 802C1128 002BE088 40 81 FF AC */ ble lbl_802C10D4 +lbl_802C112C: +/* 802C112C 002BE08C 80 9B 00 E0 */ lwz r4, 0xe0(r27) +/* 802C1130 002BE090 57 C0 10 3A */ slwi r0, r30, 2 +/* 802C1134 002BE094 38 60 00 01 */ li r3, 1 +/* 802C1138 002BE098 7F 84 01 2E */ stwx r28, r4, r0 +/* 802C113C 002BE09C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802C1140 002BE0A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C1144 002BE0A4 7C 08 03 A6 */ mtlr r0 +/* 802C1148 002BE0A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C114C 002BE0AC 4E 80 00 20 */ blr + +.global __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii +__ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii: +/* 802C1150 002BE0B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C1154 002BE0B4 7C 08 02 A6 */ mflr r0 +/* 802C1158 002BE0B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C115C 002BE0BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C1160 002BE0C0 7C FF 3B 78 */ mr r31, r7 +/* 802C1164 002BE0C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C1168 002BE0C8 7C DE 33 78 */ mr r30, r6 +/* 802C116C 002BE0CC 38 C0 00 00 */ li r6, 0 +/* 802C1170 002BE0D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C1174 002BE0D4 7C BD 2B 78 */ mr r29, r5 +/* 802C1178 002BE0D8 38 A0 00 00 */ li r5, 0 +/* 802C117C 002BE0DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C1180 002BE0E0 7C 7C 1B 78 */ mr r28, r3 +/* 802C1184 002BE0E4 48 00 22 D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib +/* 802C1188 002BE0E8 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha +/* 802C118C 002BE0EC 38 00 00 00 */ li r0, 0 +/* 802C1190 002BE0F0 38 63 C6 F8 */ addi r3, r3, lbl_803EC6F8@l +/* 802C1194 002BE0F4 7F E4 FB 78 */ mr r4, r31 +/* 802C1198 002BE0F8 90 7C 00 00 */ stw r3, 0(r28) +/* 802C119C 002BE0FC 38 7C 00 D4 */ addi r3, r28, 0xd4 +/* 802C11A0 002BE100 9B BC 00 C4 */ stb r29, 0xc4(r28) +/* 802C11A4 002BE104 93 DC 00 C8 */ stw r30, 0xc8(r28) +/* 802C11A8 002BE108 80 BC 00 C8 */ lwz r5, 0xc8(r28) +/* 802C11AC 002BE10C 90 BC 00 CC */ stw r5, 0xcc(r28) +/* 802C11B0 002BE110 90 1C 00 D0 */ stw r0, 0xd0(r28) +/* 802C11B4 002BE114 90 1C 00 D8 */ stw r0, 0xd8(r28) +/* 802C11B8 002BE118 90 1C 00 DC */ stw r0, 0xdc(r28) +/* 802C11BC 002BE11C 90 1C 00 E0 */ stw r0, 0xe0(r28) +/* 802C11C0 002BE120 48 00 01 99 */ bl "reserve__Q24rstl46vectorFi" +/* 802C11C4 002BE124 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C11C8 002BE128 7F 83 E3 78 */ mr r3, r28 +/* 802C11CC 002BE12C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C11D0 002BE130 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C11D4 002BE134 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C11D8 002BE138 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C11DC 002BE13C 7C 08 03 A6 */ mtlr r0 +/* 802C11E0 002BE140 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C11E4 002BE144 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiGroup.s b/asm/GuiSys/CGuiGroup.s new file mode 100644 index 00000000..4c1130c5 --- /dev/null +++ b/asm/GuiSys/CGuiGroup.s @@ -0,0 +1,2626 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CGuiGroupFv +__dt__9CGuiGroupFv: +/* 802C11E8 002BE148 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C11EC 002BE14C 7C 08 02 A6 */ mflr r0 +/* 802C11F0 002BE150 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C11F4 002BE154 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C11F8 002BE158 7C 9F 23 78 */ mr r31, r4 +/* 802C11FC 002BE15C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1200 002BE160 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1204 002BE164 41 82 00 28 */ beq lbl_802C122C +/* 802C1208 002BE168 3C A0 80 3F */ lis r5, lbl_803EC7C8@ha +/* 802C120C 002BE16C 38 80 00 00 */ li r4, 0 +/* 802C1210 002BE170 38 05 C7 C8 */ addi r0, r5, lbl_803EC7C8@l +/* 802C1214 002BE174 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1218 002BE178 48 00 09 19 */ bl __dt__18CGuiCompoundWidgetFv +/* 802C121C 002BE17C 7F E0 07 35 */ extsh. r0, r31 +/* 802C1220 002BE180 40 81 00 0C */ ble lbl_802C122C +/* 802C1224 002BE184 7F C3 F3 78 */ mr r3, r30 +/* 802C1228 002BE188 48 05 47 09 */ bl Free__7CMemoryFPCv +lbl_802C122C: +/* 802C122C 002BE18C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1230 002BE190 7F C3 F3 78 */ mr r3, r30 +/* 802C1234 002BE194 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1238 002BE198 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C123C 002BE19C 7C 08 03 A6 */ mtlr r0 +/* 802C1240 002BE1A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1244 002BE1A4 4E 80 00 20 */ blr + +.global Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb +Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb: +/* 802C1248 002BE1A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C124C 002BE1AC 7C 08 02 A6 */ mflr r0 +/* 802C1250 002BE1B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C1254 002BE1B4 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802C1258 002BE1B8 7C 7E 1B 78 */ mr r30, r3 +/* 802C125C 002BE1BC 7C 9F 23 78 */ mr r31, r4 +/* 802C1260 002BE1C0 38 61 00 08 */ addi r3, r1, 8 +/* 802C1264 002BE1C4 7F C4 F3 78 */ mr r4, r30 +/* 802C1268 002BE1C8 7F E5 FB 78 */ mr r5, r31 +/* 802C126C 002BE1CC 48 00 9A E5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1270 002BE1D0 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C1274 002BE1D4 7F E3 FB 78 */ mr r3, r31 +/* 802C1278 002BE1D8 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C127C 002BE1DC A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C1280 002BE1E0 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C1284 002BE1E4 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C1288 002BE1E8 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C128C 002BE1EC 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C1290 002BE1F0 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C1294 002BE1F4 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C1298 002BE1F8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C129C 002BE1FC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C12A0 002BE200 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C12A4 002BE204 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C12A8 002BE208 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C12AC 002BE20C B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C12B0 002BE210 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C12B4 002BE214 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C12B8 002BE218 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C12BC 002BE21C 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C12C0 002BE220 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C12C4 002BE224 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C12C8 002BE228 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C12CC 002BE22C 48 07 DA 11 */ bl ReadBool__12CInputStreamFv +/* 802C12D0 002BE230 7F E3 FB 78 */ mr r3, r31 +/* 802C12D4 002BE234 48 07 DA 09 */ bl ReadBool__12CInputStreamFv +/* 802C12D8 002BE238 7C 60 1B 78 */ mr r0, r3 +/* 802C12DC 002BE23C 7F E3 FB 78 */ mr r3, r31 +/* 802C12E0 002BE240 7C 1A 03 78 */ mr r26, r0 +/* 802C12E4 002BE244 48 07 D9 A1 */ bl ReadLong__12CInputStreamFv +/* 802C12E8 002BE248 7C 7D 1B 78 */ mr r29, r3 +/* 802C12EC 002BE24C 7F E3 FB 78 */ mr r3, r31 +/* 802C12F0 002BE250 48 07 D9 95 */ bl ReadLong__12CInputStreamFv +/* 802C12F4 002BE254 3C 80 80 3D */ lis r4, lbl_803D6878@ha +/* 802C12F8 002BE258 7C 7C 1B 78 */ mr r28, r3 +/* 802C12FC 002BE25C 38 84 68 78 */ addi r4, r4, lbl_803D6878@l +/* 802C1300 002BE260 38 60 00 E4 */ li r3, 0xe4 +/* 802C1304 002BE264 38 A0 00 00 */ li r5, 0 +/* 802C1308 002BE268 48 05 45 65 */ bl __nw__FUlPCcPCc +/* 802C130C 002BE26C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802C1310 002BE270 41 82 00 1C */ beq lbl_802C132C +/* 802C1314 002BE274 7F 45 D3 78 */ mr r5, r26 +/* 802C1318 002BE278 7F A6 EB 78 */ mr r6, r29 +/* 802C131C 002BE27C 7F 87 E3 78 */ mr r7, r28 +/* 802C1320 002BE280 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C1324 002BE284 4B FF FE 2D */ bl __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii +/* 802C1328 002BE288 7C 7B 1B 78 */ mr r27, r3 +lbl_802C132C: +/* 802C132C 002BE28C 7F 63 DB 78 */ mr r3, r27 +/* 802C1330 002BE290 7F C4 F3 78 */ mr r4, r30 +/* 802C1334 002BE294 7F E5 FB 78 */ mr r5, r31 +/* 802C1338 002BE298 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C133C 002BE29C 48 00 97 4D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1340 002BE2A0 7F 63 DB 78 */ mr r3, r27 +/* 802C1344 002BE2A4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802C1348 002BE2A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C134C 002BE2AC 7C 08 03 A6 */ mtlr r0 +/* 802C1350 002BE2B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C1354 002BE2B4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl46vectorFi" +"reserve__Q24rstl46vectorFi": +/* 802C1358 002BE2B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C135C 002BE2BC 7C 08 02 A6 */ mflr r0 +/* 802C1360 002BE2C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1364 002BE2C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C1368 002BE2C8 7C 9F 23 78 */ mr r31, r4 +/* 802C136C 002BE2CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C1370 002BE2D0 7C 7E 1B 78 */ mr r30, r3 +/* 802C1374 002BE2D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C1378 002BE2D8 80 03 00 08 */ lwz r0, 8(r3) +/* 802C137C 002BE2DC 7C 1F 00 00 */ cmpw r31, r0 +/* 802C1380 002BE2E0 40 81 00 A8 */ ble lbl_802C1428 +/* 802C1384 002BE2E4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802C1388 002BE2E8 40 82 00 0C */ bne lbl_802C1394 +/* 802C138C 002BE2EC 3B A0 00 00 */ li r29, 0 +/* 802C1390 002BE2F0 48 00 00 18 */ b lbl_802C13A8 +lbl_802C1394: +/* 802C1394 002BE2F4 3C 80 80 3D */ lis r4, lbl_803D6878@ha +/* 802C1398 002BE2F8 38 A0 00 00 */ li r5, 0 +/* 802C139C 002BE2FC 38 84 68 78 */ addi r4, r4, lbl_803D6878@l +/* 802C13A0 002BE300 48 05 44 79 */ bl __nwa__FUlPCcPCc +/* 802C13A4 002BE304 7C 7D 1B 78 */ mr r29, r3 +lbl_802C13A8: +/* 802C13A8 002BE308 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C13AC 002BE30C 7F A4 EB 78 */ mr r4, r29 +/* 802C13B0 002BE310 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C13B4 002BE314 54 00 10 3A */ slwi r0, r0, 2 +/* 802C13B8 002BE318 7C 65 02 14 */ add r3, r5, r0 +/* 802C13BC 002BE31C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C13C0 002BE320 90 61 00 08 */ stw r3, 8(r1) +/* 802C13C4 002BE324 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C13C8 002BE328 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C13CC 002BE32C 48 00 00 1C */ b lbl_802C13E8 +lbl_802C13D0: +/* 802C13D0 002BE330 28 04 00 00 */ cmplwi r4, 0 +/* 802C13D4 002BE334 41 82 00 0C */ beq lbl_802C13E0 +/* 802C13D8 002BE338 80 05 00 00 */ lwz r0, 0(r5) +/* 802C13DC 002BE33C 90 04 00 00 */ stw r0, 0(r4) +lbl_802C13E0: +/* 802C13E0 002BE340 38 84 00 04 */ addi r4, r4, 4 +/* 802C13E4 002BE344 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C13E8: +/* 802C13E8 002BE348 7C 05 18 40 */ cmplw r5, r3 +/* 802C13EC 002BE34C 40 82 FF E4 */ bne lbl_802C13D0 +/* 802C13F0 002BE350 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C13F4 002BE354 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C13F8 002BE358 54 00 10 3A */ slwi r0, r0, 2 +/* 802C13FC 002BE35C 7C 64 1B 78 */ mr r4, r3 +/* 802C1400 002BE360 7C 03 02 14 */ add r0, r3, r0 +/* 802C1404 002BE364 48 00 00 08 */ b lbl_802C140C +lbl_802C1408: +/* 802C1408 002BE368 38 84 00 04 */ addi r4, r4, 4 +lbl_802C140C: +/* 802C140C 002BE36C 7C 04 00 40 */ cmplw r4, r0 +/* 802C1410 002BE370 40 82 FF F8 */ bne lbl_802C1408 +/* 802C1414 002BE374 28 03 00 00 */ cmplwi r3, 0 +/* 802C1418 002BE378 41 82 00 08 */ beq lbl_802C1420 +/* 802C141C 002BE37C 48 05 45 15 */ bl Free__7CMemoryFPCv +lbl_802C1420: +/* 802C1420 002BE380 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C1424 002BE384 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C1428: +/* 802C1428 002BE388 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C142C 002BE38C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C1430 002BE390 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C1434 002BE394 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C1438 002BE398 7C 08 03 A6 */ mtlr r0 +/* 802C143C 002BE39C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C1440 002BE3A0 4E 80 00 20 */ blr + +.global __dt__10CGuiCameraFv +__dt__10CGuiCameraFv: +/* 802C1444 002BE3A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1448 002BE3A8 7C 08 02 A6 */ mflr r0 +/* 802C144C 002BE3AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1450 002BE3B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1454 002BE3B4 7C 9F 23 78 */ mr r31, r4 +/* 802C1458 002BE3B8 93 C1 00 08 */ stw r30, 8(r1) +/* 802C145C 002BE3BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1460 002BE3C0 41 82 00 28 */ beq lbl_802C1488 +/* 802C1464 002BE3C4 3C A0 80 3F */ lis r5, lbl_803EC738@ha +/* 802C1468 002BE3C8 38 80 00 00 */ li r4, 0 +/* 802C146C 002BE3CC 38 05 C7 38 */ addi r0, r5, lbl_803EC738@l +/* 802C1470 002BE3D0 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1474 002BE3D4 48 00 97 41 */ bl __dt__10CGuiWidgetFv +/* 802C1478 002BE3D8 7F E0 07 35 */ extsh. r0, r31 +/* 802C147C 002BE3DC 40 81 00 0C */ ble lbl_802C1488 +/* 802C1480 002BE3E0 7F C3 F3 78 */ mr r3, r30 +/* 802C1484 002BE3E4 48 05 44 AD */ bl Free__7CMemoryFPCv +lbl_802C1488: +/* 802C1488 002BE3E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C148C 002BE3EC 7F C3 F3 78 */ mr r3, r30 +/* 802C1490 002BE3F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1494 002BE3F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1498 002BE3F8 7C 08 03 A6 */ mtlr r0 +/* 802C149C 002BE3FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C14A0 002BE400 4E 80 00 20 */ blr + +.global GetWidgetTypeID__10CGuiCameraCFv +GetWidgetTypeID__10CGuiCameraCFv: +/* 802C14A4 002BE404 3C 60 43 41 */ lis r3, 0x43414D52@ha +/* 802C14A8 002BE408 38 63 4D 52 */ addi r3, r3, 0x43414D52@l +/* 802C14AC 002BE40C 4E 80 00 20 */ blr + +.global AddWorkerWidget__10CGuiWidgetFP10CGuiWidget +AddWorkerWidget__10CGuiWidgetFP10CGuiWidget: +/* 802C14B0 002BE410 38 60 00 00 */ li r3, 0 +/* 802C14B4 002BE414 4E 80 00 20 */ blr + +.global ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f +ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f: +/* 802C14B8 002BE418 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802C14BC 002BE41C 7C 08 02 A6 */ mflr r0 +/* 802C14C0 002BE420 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802C14C4 002BE424 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802C14C8 002BE428 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802C14CC 002BE42C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802C14D0 002BE430 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802C14D4 002BE434 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C14D8 002BE438 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802C14DC 002BE43C 7C 7E 1B 78 */ mr r30, r3 +/* 802C14E0 002BE440 7C 9F 23 78 */ mr r31, r4 +/* 802C14E4 002BE444 38 61 00 08 */ addi r3, r1, 8 +/* 802C14E8 002BE448 48 00 3B 89 */ bl RotateTranslateW2O__10CGuiObjectCFRC9CVector3f +/* 802C14EC 002BE44C C0 61 00 08 */ lfs f3, 8(r1) +/* 802C14F0 002BE450 38 00 00 00 */ li r0, 0 +/* 802C14F4 002BE454 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) +/* 802C14F8 002BE458 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802C14FC 002BE45C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802C1500 002BE460 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 802C1504 002BE464 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802C1508 002BE468 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802C150C 002BE46C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802C1510 002BE470 40 82 00 14 */ bne lbl_802C1524 +/* 802C1514 002BE474 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802C1518 002BE478 40 82 00 0C */ bne lbl_802C1524 +/* 802C151C 002BE47C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C1520 002BE480 41 82 00 08 */ beq lbl_802C1528 +lbl_802C1524: +/* 802C1524 002BE484 38 00 00 01 */ li r0, 1 +lbl_802C1528: +/* 802C1528 002BE488 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C152C 002BE48C 41 82 00 B0 */ beq lbl_802C15DC +/* 802C1530 002BE490 C0 3F 00 BC */ lfs f1, 0xbc(r31) +/* 802C1534 002BE494 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C1538 002BE498 C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 802C153C 002BE49C C0 7F 00 C4 */ lfs f3, 0xc4(r31) +/* 802C1540 002BE4A0 C0 9F 00 C8 */ lfs f4, 0xc8(r31) +/* 802C1544 002BE4A4 48 04 AC 45 */ bl CalculatePerspectiveMatrix__9CGraphicsFffff +/* 802C1548 002BE4A8 C3 C1 00 20 */ lfs f30, 0x20(r1) +/* 802C154C 002BE4AC 7F C3 F3 78 */ mr r3, r30 +/* 802C1550 002BE4B0 C3 E1 00 24 */ lfs f31, 0x24(r1) +/* 802C1554 002BE4B4 38 81 00 60 */ addi r4, r1, 0x60 +/* 802C1558 002BE4B8 C1 A1 00 28 */ lfs f13, 0x28(r1) +/* 802C155C 002BE4BC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C1560 002BE4C0 C1 81 00 2C */ lfs f12, 0x2c(r1) +/* 802C1564 002BE4C4 C1 61 00 30 */ lfs f11, 0x30(r1) +/* 802C1568 002BE4C8 C1 41 00 34 */ lfs f10, 0x34(r1) +/* 802C156C 002BE4CC C1 21 00 38 */ lfs f9, 0x38(r1) +/* 802C1570 002BE4D0 C1 01 00 3C */ lfs f8, 0x3c(r1) +/* 802C1574 002BE4D4 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 802C1578 002BE4D8 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 802C157C 002BE4DC C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802C1580 002BE4E0 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802C1584 002BE4E4 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802C1588 002BE4E8 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802C158C 002BE4EC C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802C1590 002BE4F0 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802C1594 002BE4F4 D3 C1 00 60 */ stfs f30, 0x60(r1) +/* 802C1598 002BE4F8 D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 802C159C 002BE4FC D1 A1 00 68 */ stfs f13, 0x68(r1) +/* 802C15A0 002BE500 D1 81 00 6C */ stfs f12, 0x6c(r1) +/* 802C15A4 002BE504 D1 61 00 70 */ stfs f11, 0x70(r1) +/* 802C15A8 002BE508 D1 41 00 74 */ stfs f10, 0x74(r1) +/* 802C15AC 002BE50C D1 21 00 78 */ stfs f9, 0x78(r1) +/* 802C15B0 002BE510 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802C15B4 002BE514 D0 E1 00 80 */ stfs f7, 0x80(r1) +/* 802C15B8 002BE518 D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 802C15BC 002BE51C D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 802C15C0 002BE520 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 802C15C4 002BE524 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802C15C8 002BE528 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 802C15CC 002BE52C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 802C15D0 002BE530 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802C15D4 002BE534 48 04 F1 7D */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 802C15D8 002BE538 48 00 00 18 */ b lbl_802C15F0 +lbl_802C15DC: +/* 802C15DC 002BE53C C0 22 C3 74 */ lfs f1, lbl_805AE094@sda21(r2) +/* 802C15E0 002BE540 C0 02 C3 78 */ lfs f0, lbl_805AE098@sda21(r2) +/* 802C15E4 002BE544 D0 3E 00 00 */ stfs f1, 0(r30) +/* 802C15E8 002BE548 D0 3E 00 04 */ stfs f1, 4(r30) +/* 802C15EC 002BE54C D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802C15F0: +/* 802C15F0 002BE550 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802C15F4 002BE554 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802C15F8 002BE558 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802C15FC 002BE55C CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802C1600 002BE560 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C1604 002BE564 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802C1608 002BE568 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802C160C 002BE56C 7C 08 03 A6 */ mtlr r0 +/* 802C1610 002BE570 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802C1614 002BE574 4E 80 00 20 */ blr + +.global Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms +Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms: +/* 802C1618 002BE578 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802C161C 002BE57C 7C 08 02 A6 */ mflr r0 +/* 802C1620 002BE580 90 01 00 74 */ stw r0, 0x74(r1) +/* 802C1624 002BE584 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802C1628 002BE588 7C 9F 23 78 */ mr r31, r4 +/* 802C162C 002BE58C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802C1630 002BE590 7C 7E 1B 78 */ mr r30, r3 +/* 802C1634 002BE594 80 03 00 B8 */ lwz r0, 0xb8(r3) +/* 802C1638 002BE598 2C 00 00 00 */ cmpwi r0, 0 +/* 802C163C 002BE59C 40 82 00 1C */ bne lbl_802C1658 +/* 802C1640 002BE5A0 C0 3E 00 BC */ lfs f1, 0xbc(r30) +/* 802C1644 002BE5A4 C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 802C1648 002BE5A8 C0 7E 00 C4 */ lfs f3, 0xc4(r30) +/* 802C164C 002BE5AC C0 9E 00 C8 */ lfs f4, 0xc8(r30) +/* 802C1650 002BE5B0 48 04 AE 41 */ bl SetPerspective__9CGraphicsFffff +/* 802C1654 002BE5B4 48 00 00 20 */ b lbl_802C1674 +lbl_802C1658: +/* 802C1658 002BE5B8 C0 3E 00 BC */ lfs f1, 0xbc(r30) +/* 802C165C 002BE5BC C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 802C1660 002BE5C0 C0 7E 00 C4 */ lfs f3, 0xc4(r30) +/* 802C1664 002BE5C4 C0 9E 00 C8 */ lfs f4, 0xc8(r30) +/* 802C1668 002BE5C8 C0 BE 00 CC */ lfs f5, 0xcc(r30) +/* 802C166C 002BE5CC C0 DE 00 D0 */ lfs f6, 0xd0(r30) +/* 802C1670 002BE5D0 48 04 AE E5 */ bl SetOrtho__9CGraphicsFffffff +lbl_802C1674: +/* 802C1674 002BE5D4 38 61 00 08 */ addi r3, r1, 8 +/* 802C1678 002BE5D8 38 9F 00 04 */ addi r4, r31, 4 +/* 802C167C 002BE5DC 48 05 1A C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802C1680 002BE5E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C1684 002BE5E4 38 81 00 08 */ addi r4, r1, 8 +/* 802C1688 002BE5E8 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802C168C 002BE5EC 48 05 12 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C1690 002BE5F0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C1694 002BE5F4 48 04 B0 B9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802C1698 002BE5F8 7F C3 F3 78 */ mr r3, r30 +/* 802C169C 002BE5FC 7F E4 FB 78 */ mr r4, r31 +/* 802C16A0 002BE600 48 00 93 C1 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms +/* 802C16A4 002BE604 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802C16A8 002BE608 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802C16AC 002BE60C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802C16B0 002BE610 7C 08 03 A6 */ mtlr r0 +/* 802C16B4 002BE614 38 21 00 70 */ addi r1, r1, 0x70 +/* 802C16B8 002BE618 4E 80 00 20 */ blr + +.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff +__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff: +/* 802C16BC 002BE61C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C16C0 002BE620 7C 08 02 A6 */ mflr r0 +/* 802C16C4 002BE624 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C16C8 002BE628 39 61 00 40 */ addi r11, r1, 0x40 +/* 802C16CC 002BE62C 48 0C 83 15 */ bl func_803899E0 +/* 802C16D0 002BE630 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C16D4 002BE634 FF 40 08 90 */ fmr f26, f1 +/* 802C16D8 002BE638 7C 7F 1B 78 */ mr r31, r3 +/* 802C16DC 002BE63C FF 60 10 90 */ fmr f27, f2 +/* 802C16E0 002BE640 FF 80 18 90 */ fmr f28, f3 +/* 802C16E4 002BE644 FF A0 20 90 */ fmr f29, f4 +/* 802C16E8 002BE648 FF C0 28 90 */ fmr f30, f5 +/* 802C16EC 002BE64C FF E0 30 90 */ fmr f31, f6 +/* 802C16F0 002BE650 48 00 95 35 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C16F4 002BE654 3C 60 80 3F */ lis r3, lbl_803EC738@ha +/* 802C16F8 002BE658 38 00 00 01 */ li r0, 1 +/* 802C16FC 002BE65C 38 83 C7 38 */ addi r4, r3, lbl_803EC738@l +/* 802C1700 002BE660 7F E3 FB 78 */ mr r3, r31 +/* 802C1704 002BE664 90 9F 00 00 */ stw r4, 0(r31) +/* 802C1708 002BE668 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 802C170C 002BE66C D3 5F 00 BC */ stfs f26, 0xbc(r31) +/* 802C1710 002BE670 D3 7F 00 C0 */ stfs f27, 0xc0(r31) +/* 802C1714 002BE674 D3 9F 00 C4 */ stfs f28, 0xc4(r31) +/* 802C1718 002BE678 D3 BF 00 C8 */ stfs f29, 0xc8(r31) +/* 802C171C 002BE67C D3 DF 00 CC */ stfs f30, 0xcc(r31) +/* 802C1720 002BE680 D3 FF 00 D0 */ stfs f31, 0xd0(r31) +/* 802C1724 002BE684 39 61 00 40 */ addi r11, r1, 0x40 +/* 802C1728 002BE688 48 0C 83 05 */ bl func_80389A2C +/* 802C172C 002BE68C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C1730 002BE690 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1734 002BE694 7C 08 03 A6 */ mtlr r0 +/* 802C1738 002BE698 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C173C 002BE69C 4E 80 00 20 */ blr + +.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff +__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff: +/* 802C1740 002BE6A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C1744 002BE6A4 7C 08 02 A6 */ mflr r0 +/* 802C1748 002BE6A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C174C 002BE6AC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802C1750 002BE6B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802C1754 002BE6B4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802C1758 002BE6B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802C175C 002BE6BC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802C1760 002BE6C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802C1764 002BE6C4 DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802C1768 002BE6C8 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802C176C 002BE6CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C1770 002BE6D0 FF 80 08 90 */ fmr f28, f1 +/* 802C1774 002BE6D4 7C 7F 1B 78 */ mr r31, r3 +/* 802C1778 002BE6D8 FF A0 10 90 */ fmr f29, f2 +/* 802C177C 002BE6DC FF C0 18 90 */ fmr f30, f3 +/* 802C1780 002BE6E0 FF E0 20 90 */ fmr f31, f4 +/* 802C1784 002BE6E4 48 00 94 A1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1788 002BE6E8 3C 60 80 3F */ lis r3, lbl_803EC738@ha +/* 802C178C 002BE6EC 38 00 00 00 */ li r0, 0 +/* 802C1790 002BE6F0 38 63 C7 38 */ addi r3, r3, lbl_803EC738@l +/* 802C1794 002BE6F4 C0 22 C3 78 */ lfs f1, lbl_805AE098@sda21(r2) +/* 802C1798 002BE6F8 90 7F 00 00 */ stw r3, 0(r31) +/* 802C179C 002BE6FC 38 61 00 08 */ addi r3, r1, 8 +/* 802C17A0 002BE700 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) +/* 802C17A4 002BE704 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 802C17A8 002BE708 D0 21 00 08 */ stfs f1, 8(r1) +/* 802C17AC 002BE70C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802C17B0 002BE710 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C17B4 002BE714 48 05 31 45 */ bl Normalize__9CVector3fFv +/* 802C17B8 002BE718 D3 9F 00 BC */ stfs f28, 0xbc(r31) +/* 802C17BC 002BE71C 7F E3 FB 78 */ mr r3, r31 +/* 802C17C0 002BE720 D3 BF 00 C0 */ stfs f29, 0xc0(r31) +/* 802C17C4 002BE724 D3 DF 00 C4 */ stfs f30, 0xc4(r31) +/* 802C17C8 002BE728 D3 FF 00 C8 */ stfs f31, 0xc8(r31) +/* 802C17CC 002BE72C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802C17D0 002BE730 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802C17D4 002BE734 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802C17D8 002BE738 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802C17DC 002BE73C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802C17E0 002BE740 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802C17E4 002BE744 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 802C17E8 002BE748 CB 81 00 20 */ lfd f28, 0x20(r1) +/* 802C17EC 002BE74C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C17F0 002BE750 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C17F4 002BE754 7C 08 03 A6 */ mtlr r0 +/* 802C17F8 002BE758 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C17FC 002BE75C 4E 80 00 20 */ blr + +.global Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb +Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb: +/* 802C1800 002BE760 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C1804 002BE764 7C 08 02 A6 */ mflr r0 +/* 802C1808 002BE768 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C180C 002BE76C 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C1810 002BE770 48 0C 81 D1 */ bl func_803899E0 +/* 802C1814 002BE774 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802C1818 002BE778 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802C181C 002BE77C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802C1820 002BE780 7C 7E 1B 78 */ mr r30, r3 +/* 802C1824 002BE784 7C 9F 23 78 */ mr r31, r4 +/* 802C1828 002BE788 7F C4 F3 78 */ mr r4, r30 +/* 802C182C 002BE78C 38 61 00 08 */ addi r3, r1, 8 +/* 802C1830 002BE790 7F E5 FB 78 */ mr r5, r31 +/* 802C1834 002BE794 48 00 95 1D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1838 002BE798 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C183C 002BE79C 7F E3 FB 78 */ mr r3, r31 +/* 802C1840 002BE7A0 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C1844 002BE7A4 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C1848 002BE7A8 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C184C 002BE7AC 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C1850 002BE7B0 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C1854 002BE7B4 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C1858 002BE7B8 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C185C 002BE7BC 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C1860 002BE7C0 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C1864 002BE7C4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C1868 002BE7C8 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C186C 002BE7CC 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C1870 002BE7D0 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C1874 002BE7D4 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C1878 002BE7D8 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C187C 002BE7DC 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C1880 002BE7E0 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C1884 002BE7E4 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C1888 002BE7E8 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C188C 002BE7EC 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C1890 002BE7F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1894 002BE7F4 48 07 D3 F1 */ bl ReadLong__12CInputStreamFv +/* 802C1898 002BE7F8 2C 03 00 00 */ cmpwi r3, 0 +/* 802C189C 002BE7FC 3B A0 00 00 */ li r29, 0 +/* 802C18A0 002BE800 40 82 00 74 */ bne lbl_802C1914 +/* 802C18A4 002BE804 7F E3 FB 78 */ mr r3, r31 +/* 802C18A8 002BE808 48 07 D3 81 */ bl ReadFloat__12CInputStreamFv +/* 802C18AC 002BE80C FF E0 08 90 */ fmr f31, f1 +/* 802C18B0 002BE810 7F E3 FB 78 */ mr r3, r31 +/* 802C18B4 002BE814 48 07 D3 75 */ bl ReadFloat__12CInputStreamFv +/* 802C18B8 002BE818 FF C0 08 90 */ fmr f30, f1 +/* 802C18BC 002BE81C 7F E3 FB 78 */ mr r3, r31 +/* 802C18C0 002BE820 48 07 D3 69 */ bl ReadFloat__12CInputStreamFv +/* 802C18C4 002BE824 FF A0 08 90 */ fmr f29, f1 +/* 802C18C8 002BE828 7F E3 FB 78 */ mr r3, r31 +/* 802C18CC 002BE82C 48 07 D3 5D */ bl ReadFloat__12CInputStreamFv +/* 802C18D0 002BE830 FF 80 08 90 */ fmr f28, f1 +/* 802C18D4 002BE834 3C 60 80 3D */ lis r3, lbl_803D6880@ha +/* 802C18D8 002BE838 38 83 68 80 */ addi r4, r3, lbl_803D6880@l +/* 802C18DC 002BE83C 38 A0 00 00 */ li r5, 0 +/* 802C18E0 002BE840 38 60 00 D4 */ li r3, 0xd4 +/* 802C18E4 002BE844 48 05 3F 89 */ bl __nw__FUlPCcPCc +/* 802C18E8 002BE848 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C18EC 002BE84C 41 82 00 20 */ beq lbl_802C190C +/* 802C18F0 002BE850 FC 20 F8 90 */ fmr f1, f31 +/* 802C18F4 002BE854 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C18F8 002BE858 FC 40 F0 90 */ fmr f2, f30 +/* 802C18FC 002BE85C FC 60 E8 90 */ fmr f3, f29 +/* 802C1900 002BE860 FC 80 E0 90 */ fmr f4, f28 +/* 802C1904 002BE864 4B FF FE 3D */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff +/* 802C1908 002BE868 7C 60 1B 78 */ mr r0, r3 +lbl_802C190C: +/* 802C190C 002BE86C 7C 1D 03 78 */ mr r29, r0 +/* 802C1910 002BE870 48 00 00 98 */ b lbl_802C19A8 +lbl_802C1914: +/* 802C1914 002BE874 2C 03 00 01 */ cmpwi r3, 1 +/* 802C1918 002BE878 40 82 00 90 */ bne lbl_802C19A8 +/* 802C191C 002BE87C 7F E3 FB 78 */ mr r3, r31 +/* 802C1920 002BE880 48 07 D3 09 */ bl ReadFloat__12CInputStreamFv +/* 802C1924 002BE884 FF 80 08 90 */ fmr f28, f1 +/* 802C1928 002BE888 7F E3 FB 78 */ mr r3, r31 +/* 802C192C 002BE88C 48 07 D2 FD */ bl ReadFloat__12CInputStreamFv +/* 802C1930 002BE890 FF A0 08 90 */ fmr f29, f1 +/* 802C1934 002BE894 7F E3 FB 78 */ mr r3, r31 +/* 802C1938 002BE898 48 07 D2 F1 */ bl ReadFloat__12CInputStreamFv +/* 802C193C 002BE89C FF C0 08 90 */ fmr f30, f1 +/* 802C1940 002BE8A0 7F E3 FB 78 */ mr r3, r31 +/* 802C1944 002BE8A4 48 07 D2 E5 */ bl ReadFloat__12CInputStreamFv +/* 802C1948 002BE8A8 FF E0 08 90 */ fmr f31, f1 +/* 802C194C 002BE8AC 7F E3 FB 78 */ mr r3, r31 +/* 802C1950 002BE8B0 48 07 D2 D9 */ bl ReadFloat__12CInputStreamFv +/* 802C1954 002BE8B4 FF 60 08 90 */ fmr f27, f1 +/* 802C1958 002BE8B8 7F E3 FB 78 */ mr r3, r31 +/* 802C195C 002BE8BC 48 07 D2 CD */ bl ReadFloat__12CInputStreamFv +/* 802C1960 002BE8C0 FF 40 08 90 */ fmr f26, f1 +/* 802C1964 002BE8C4 3C 60 80 3D */ lis r3, lbl_803D6880@ha +/* 802C1968 002BE8C8 38 83 68 80 */ addi r4, r3, lbl_803D6880@l +/* 802C196C 002BE8CC 38 A0 00 00 */ li r5, 0 +/* 802C1970 002BE8D0 38 60 00 D4 */ li r3, 0xd4 +/* 802C1974 002BE8D4 48 05 3E F9 */ bl __nw__FUlPCcPCc +/* 802C1978 002BE8D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C197C 002BE8DC 41 82 00 28 */ beq lbl_802C19A4 +/* 802C1980 002BE8E0 FC 20 E0 90 */ fmr f1, f28 +/* 802C1984 002BE8E4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C1988 002BE8E8 FC 40 E8 90 */ fmr f2, f29 +/* 802C198C 002BE8EC FC 60 F0 90 */ fmr f3, f30 +/* 802C1990 002BE8F0 FC 80 F8 90 */ fmr f4, f31 +/* 802C1994 002BE8F4 FC A0 D8 90 */ fmr f5, f27 +/* 802C1998 002BE8F8 FC C0 D0 90 */ fmr f6, f26 +/* 802C199C 002BE8FC 4B FF FD 21 */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff +/* 802C19A0 002BE900 7C 60 1B 78 */ mr r0, r3 +lbl_802C19A4: +/* 802C19A4 002BE904 7C 1D 03 78 */ mr r29, r0 +lbl_802C19A8: +/* 802C19A8 002BE908 7F C3 F3 78 */ mr r3, r30 +/* 802C19AC 002BE90C 7F A4 EB 78 */ mr r4, r29 +/* 802C19B0 002BE910 48 00 07 F1 */ bl SetFrameCamera__9CGuiFrameFP10CGuiCamera +/* 802C19B4 002BE914 7F A3 EB 78 */ mr r3, r29 +/* 802C19B8 002BE918 7F C4 F3 78 */ mr r4, r30 +/* 802C19BC 002BE91C 7F E5 FB 78 */ mr r5, r31 +/* 802C19C0 002BE920 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C19C4 002BE924 48 00 90 C5 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C19C8 002BE928 7F A3 EB 78 */ mr r3, r29 +/* 802C19CC 002BE92C 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C19D0 002BE930 48 0C 80 5D */ bl func_80389A2C +/* 802C19D4 002BE934 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C19D8 002BE938 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802C19DC 002BE93C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802C19E0 002BE940 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802C19E4 002BE944 7C 08 03 A6 */ mtlr r0 +/* 802C19E8 002BE948 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C19EC 002BE94C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__18CGuiCompoundWidgetCFv +GetWidgetTypeID__18CGuiCompoundWidgetCFv: +/* 802C19F0 002BE950 38 60 FF FF */ li r3, -1 +/* 802C19F4 002BE954 4E 80 00 20 */ blr + +.global OnVisible__18CGuiCompoundWidgetFv +OnVisible__18CGuiCompoundWidgetFv: +/* 802C19F8 002BE958 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C19FC 002BE95C 7C 08 02 A6 */ mflr r0 +/* 802C1A00 002BE960 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1A04 002BE964 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1A08 002BE968 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1A0C 002BE96C 7C 7E 1B 78 */ mr r30, r3 +/* 802C1A10 002BE970 48 00 33 21 */ bl GetChildObject__10CGuiObjectFv +/* 802C1A14 002BE974 7C 7F 1B 78 */ mr r31, r3 +/* 802C1A18 002BE978 48 00 00 30 */ b lbl_802C1A48 +lbl_802C1A1C: +/* 802C1A1C 002BE97C 7F C3 F3 78 */ mr r3, r30 +/* 802C1A20 002BE980 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C1A24 002BE984 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C1A28 002BE988 7D 89 03 A6 */ mtctr r12 +/* 802C1A2C 002BE98C 4E 80 04 21 */ bctrl +/* 802C1A30 002BE990 7C 64 1B 78 */ mr r4, r3 +/* 802C1A34 002BE994 7F E3 FB 78 */ mr r3, r31 +/* 802C1A38 002BE998 48 00 8B F5 */ bl SetIsVisible__10CGuiWidgetFb +/* 802C1A3C 002BE99C 7F E3 FB 78 */ mr r3, r31 +/* 802C1A40 002BE9A0 48 00 32 E1 */ bl GetNextSibling__10CGuiObjectFv +/* 802C1A44 002BE9A4 7C 7F 1B 78 */ mr r31, r3 +lbl_802C1A48: +/* 802C1A48 002BE9A8 28 1F 00 00 */ cmplwi r31, 0 +/* 802C1A4C 002BE9AC 40 82 FF D0 */ bne lbl_802C1A1C +/* 802C1A50 002BE9B0 7F C3 F3 78 */ mr r3, r30 +/* 802C1A54 002BE9B4 48 00 8B 8D */ bl OnVisible__10CGuiWidgetFv +/* 802C1A58 002BE9B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1A5C 002BE9BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1A60 002BE9C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1A64 002BE9C4 7C 08 03 A6 */ mtlr r0 +/* 802C1A68 002BE9C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1A6C 002BE9CC 4E 80 00 20 */ blr + +.global OnActivate__18CGuiCompoundWidgetFb +OnActivate__18CGuiCompoundWidgetFb: +/* 802C1A70 002BE9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1A74 002BE9D4 7C 08 02 A6 */ mflr r0 +/* 802C1A78 002BE9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1A7C 002BE9DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1A80 002BE9E0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1A84 002BE9E4 7C 7E 1B 78 */ mr r30, r3 +/* 802C1A88 002BE9E8 48 00 32 A9 */ bl GetChildObject__10CGuiObjectFv +/* 802C1A8C 002BE9EC 7C 7F 1B 78 */ mr r31, r3 +/* 802C1A90 002BE9F0 48 00 00 30 */ b lbl_802C1AC0 +lbl_802C1A94: +/* 802C1A94 002BE9F4 7F C3 F3 78 */ mr r3, r30 +/* 802C1A98 002BE9F8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C1A9C 002BE9FC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C1AA0 002BEA00 7D 89 03 A6 */ mtctr r12 +/* 802C1AA4 002BEA04 4E 80 04 21 */ bctrl +/* 802C1AA8 002BEA08 7C 64 1B 78 */ mr r4, r3 +/* 802C1AAC 002BEA0C 7F E3 FB 78 */ mr r3, r31 +/* 802C1AB0 002BEA10 48 00 8B 35 */ bl SetIsActive__10CGuiWidgetFb +/* 802C1AB4 002BEA14 7F E3 FB 78 */ mr r3, r31 +/* 802C1AB8 002BEA18 48 00 32 69 */ bl GetNextSibling__10CGuiObjectFv +/* 802C1ABC 002BEA1C 7C 7F 1B 78 */ mr r31, r3 +lbl_802C1AC0: +/* 802C1AC0 002BEA20 28 1F 00 00 */ cmplwi r31, 0 +/* 802C1AC4 002BEA24 40 82 FF D0 */ bne lbl_802C1A94 +/* 802C1AC8 002BEA28 7F C3 F3 78 */ mr r3, r30 +/* 802C1ACC 002BEA2C 48 00 8B 11 */ bl OnActivate__10CGuiWidgetFv +/* 802C1AD0 002BEA30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1AD4 002BEA34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1AD8 002BEA38 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1ADC 002BEA3C 7C 08 03 A6 */ mtlr r0 +/* 802C1AE0 002BEA40 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1AE4 002BEA44 4E 80 00 20 */ blr + +.global GetWorkerWidget__18CGuiCompoundWidgetFi +GetWorkerWidget__18CGuiCompoundWidgetFi: +/* 802C1AE8 002BEA48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1AEC 002BEA4C 7C 08 02 A6 */ mflr r0 +/* 802C1AF0 002BEA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1AF4 002BEA54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1AF8 002BEA58 7C 9F 23 78 */ mr r31, r4 +/* 802C1AFC 002BEA5C 48 00 32 3D */ bl GetChildObject__18CGuiCompoundWidgetFv +/* 802C1B00 002BEA60 48 00 00 14 */ b lbl_802C1B14 +lbl_802C1B04: +/* 802C1B04 002BEA64 A8 03 00 B4 */ lha r0, 0xb4(r3) +/* 802C1B08 002BEA68 7C 1F 00 00 */ cmpw r31, r0 +/* 802C1B0C 002BEA6C 41 82 00 10 */ beq lbl_802C1B1C +/* 802C1B10 002BEA70 48 00 32 19 */ bl GetNextSibling__18CGuiCompoundWidgetFv +lbl_802C1B14: +/* 802C1B14 002BEA74 28 03 00 00 */ cmplwi r3, 0 +/* 802C1B18 002BEA78 40 82 FF EC */ bne lbl_802C1B04 +lbl_802C1B1C: +/* 802C1B1C 002BEA7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1B20 002BEA80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1B24 002BEA84 7C 08 03 A6 */ mtlr r0 +/* 802C1B28 002BEA88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1B2C 002BEA8C 4E 80 00 20 */ blr + +.global __dt__18CGuiCompoundWidgetFv +__dt__18CGuiCompoundWidgetFv: +/* 802C1B30 002BEA90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1B34 002BEA94 7C 08 02 A6 */ mflr r0 +/* 802C1B38 002BEA98 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1B3C 002BEA9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1B40 002BEAA0 7C 9F 23 78 */ mr r31, r4 +/* 802C1B44 002BEAA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1B48 002BEAA8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1B4C 002BEAAC 41 82 00 28 */ beq lbl_802C1B74 +/* 802C1B50 002BEAB0 3C A0 80 3F */ lis r5, lbl_803EC778@ha +/* 802C1B54 002BEAB4 38 80 00 00 */ li r4, 0 +/* 802C1B58 002BEAB8 38 05 C7 78 */ addi r0, r5, lbl_803EC778@l +/* 802C1B5C 002BEABC 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1B60 002BEAC0 48 00 90 55 */ bl __dt__10CGuiWidgetFv +/* 802C1B64 002BEAC4 7F E0 07 35 */ extsh. r0, r31 +/* 802C1B68 002BEAC8 40 81 00 0C */ ble lbl_802C1B74 +/* 802C1B6C 002BEACC 7F C3 F3 78 */ mr r3, r30 +/* 802C1B70 002BEAD0 48 05 3D C1 */ bl Free__7CMemoryFPCv +lbl_802C1B74: +/* 802C1B74 002BEAD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1B78 002BEAD8 7F C3 F3 78 */ mr r3, r30 +/* 802C1B7C 002BEADC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1B80 002BEAE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1B84 002BEAE4 7C 08 03 A6 */ mtlr r0 +/* 802C1B88 002BEAE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1B8C 002BEAEC 4E 80 00 20 */ blr + +.global __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +__ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms: +/* 802C1B90 002BEAF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1B94 002BEAF4 7C 08 02 A6 */ mflr r0 +/* 802C1B98 002BEAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1B9C 002BEAFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1BA0 002BEB00 7C 7F 1B 78 */ mr r31, r3 +/* 802C1BA4 002BEB04 48 00 90 81 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C1BA8 002BEB08 3C 80 80 3F */ lis r4, lbl_803EC778@ha +/* 802C1BAC 002BEB0C 7F E3 FB 78 */ mr r3, r31 +/* 802C1BB0 002BEB10 38 04 C7 78 */ addi r0, r4, lbl_803EC778@l +/* 802C1BB4 002BEB14 90 1F 00 00 */ stw r0, 0(r31) +/* 802C1BB8 002BEB18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1BBC 002BEB1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1BC0 002BEB20 7C 08 03 A6 */ mtlr r0 +/* 802C1BC4 002BEB24 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1BC8 002BEB28 4E 80 00 20 */ blr + +.global FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb +FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb: +/* 802C1BCC 002BEB2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1BD0 002BEB30 7C 08 02 A6 */ mflr r0 +/* 802C1BD4 002BEB34 3C E0 4C 49 */ lis r7, 0x4C495445@ha +/* 802C1BD8 002BEB38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1BDC 002BEB3C 38 07 54 45 */ addi r0, r7, 0x4C495445@l +/* 802C1BE0 002BEB40 7C 03 00 00 */ cmpw r3, r0 +/* 802C1BE4 002BEB44 41 82 01 AC */ beq lbl_802C1D90 +/* 802C1BE8 002BEB48 40 80 00 7C */ bge lbl_802C1C64 +/* 802C1BEC 002BEB4C 3C E0 47 52 */ lis r7, 0x47525550@ha +/* 802C1BF0 002BEB50 38 07 55 50 */ addi r0, r7, 0x47525550@l +/* 802C1BF4 002BEB54 7C 03 00 00 */ cmpw r3, r0 +/* 802C1BF8 002BEB58 41 82 01 20 */ beq lbl_802C1D18 +/* 802C1BFC 002BEB5C 40 80 00 40 */ bge lbl_802C1C3C +/* 802C1C00 002BEB60 3C E0 43 41 */ lis r7, 0x43414D52@ha +/* 802C1C04 002BEB64 38 07 4D 52 */ addi r0, r7, 0x43414D52@l +/* 802C1C08 002BEB68 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C0C 002BEB6C 41 82 00 F8 */ beq lbl_802C1D04 +/* 802C1C10 002BEB70 40 80 00 18 */ bge lbl_802C1C28 +/* 802C1C14 002BEB74 3C E0 42 57 */ lis r7, 0x42574947@ha +/* 802C1C18 002BEB78 38 07 49 47 */ addi r0, r7, 0x42574947@l +/* 802C1C1C 002BEB7C 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C20 002BEB80 41 82 00 D0 */ beq lbl_802C1CF0 +/* 802C1C24 002BEB84 48 00 01 BC */ b lbl_802C1DE0 +lbl_802C1C28: +/* 802C1C28 002BEB88 3C E0 45 4E */ lis r7, 0x454E5247@ha +/* 802C1C2C 002BEB8C 38 07 52 47 */ addi r0, r7, 0x454E5247@l +/* 802C1C30 002BEB90 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C34 002BEB94 41 82 01 70 */ beq lbl_802C1DA4 +/* 802C1C38 002BEB98 48 00 01 A8 */ b lbl_802C1DE0 +lbl_802C1C3C: +/* 802C1C3C 002BEB9C 3C E0 49 4D */ lis r7, 0x494D4750@ha +/* 802C1C40 002BEBA0 38 07 47 50 */ addi r0, r7, 0x494D4750@l +/* 802C1C44 002BEBA4 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C48 002BEBA8 41 82 01 84 */ beq lbl_802C1DCC +/* 802C1C4C 002BEBAC 40 80 01 94 */ bge lbl_802C1DE0 +/* 802C1C50 002BEBB0 3C E0 48 57 */ lis r7, 0x48574947@ha +/* 802C1C54 002BEBB4 38 07 49 47 */ addi r0, r7, 0x48574947@l +/* 802C1C58 002BEBB8 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C5C 002BEBBC 41 82 00 80 */ beq lbl_802C1CDC +/* 802C1C60 002BEBC0 48 00 01 80 */ b lbl_802C1DE0 +lbl_802C1C64: +/* 802C1C64 002BEBC4 3C E0 53 4C */ lis r7, 0x534C4750@ha +/* 802C1C68 002BEBC8 38 07 47 50 */ addi r0, r7, 0x534C4750@l +/* 802C1C6C 002BEBCC 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C70 002BEBD0 41 82 00 D0 */ beq lbl_802C1D40 +/* 802C1C74 002BEBD4 40 80 00 40 */ bge lbl_802C1CB4 +/* 802C1C78 002BEBD8 3C E0 4D 4F */ lis r7, 0x4D4F444C@ha +/* 802C1C7C 002BEBDC 38 07 44 4C */ addi r0, r7, 0x4D4F444C@l +/* 802C1C80 002BEBE0 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C84 002BEBE4 41 82 00 A8 */ beq lbl_802C1D2C +/* 802C1C88 002BEBE8 40 80 00 18 */ bge lbl_802C1CA0 +/* 802C1C8C 002BEBEC 3C E0 4D 45 */ lis r7, 0x4D455452@ha +/* 802C1C90 002BEBF0 38 07 54 52 */ addi r0, r7, 0x4D455452@l +/* 802C1C94 002BEBF4 7C 03 00 00 */ cmpw r3, r0 +/* 802C1C98 002BEBF8 41 82 01 20 */ beq lbl_802C1DB8 +/* 802C1C9C 002BEBFC 48 00 01 44 */ b lbl_802C1DE0 +lbl_802C1CA0: +/* 802C1CA0 002BEC00 3C E0 50 41 */ lis r7, 0x50414E45@ha +/* 802C1CA4 002BEC04 38 07 4E 45 */ addi r0, r7, 0x50414E45@l +/* 802C1CA8 002BEC08 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CAC 002BEC0C 41 82 00 BC */ beq lbl_802C1D68 +/* 802C1CB0 002BEC10 48 00 01 30 */ b lbl_802C1DE0 +lbl_802C1CB4: +/* 802C1CB4 002BEC14 3C E0 54 58 */ lis r7, 0x5458504E@ha +/* 802C1CB8 002BEC18 38 07 50 4E */ addi r0, r7, 0x5458504E@l +/* 802C1CBC 002BEC1C 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CC0 002BEC20 41 82 00 BC */ beq lbl_802C1D7C +/* 802C1CC4 002BEC24 40 80 01 1C */ bge lbl_802C1DE0 +/* 802C1CC8 002BEC28 3C E0 54 42 */ lis r7, 0x54424750@ha +/* 802C1CCC 002BEC2C 38 07 47 50 */ addi r0, r7, 0x54424750@l +/* 802C1CD0 002BEC30 7C 03 00 00 */ cmpw r3, r0 +/* 802C1CD4 002BEC34 41 82 00 80 */ beq lbl_802C1D54 +/* 802C1CD8 002BEC38 48 00 01 08 */ b lbl_802C1DE0 +lbl_802C1CDC: +/* 802C1CDC 002BEC3C 7C 83 23 78 */ mr r3, r4 +/* 802C1CE0 002BEC40 7C A4 2B 78 */ mr r4, r5 +/* 802C1CE4 002BEC44 7C C5 33 78 */ mr r5, r6 +/* 802C1CE8 002BEC48 48 00 19 0D */ bl Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1CEC 002BEC4C 48 00 00 F8 */ b lbl_802C1DE4 +lbl_802C1CF0: +/* 802C1CF0 002BEC50 7C 83 23 78 */ mr r3, r4 +/* 802C1CF4 002BEC54 7C A4 2B 78 */ mr r4, r5 +/* 802C1CF8 002BEC58 7C C5 33 78 */ mr r5, r6 +/* 802C1CFC 002BEC5C 48 00 91 5D */ bl Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C1D00 002BEC60 48 00 00 E4 */ b lbl_802C1DE4 +lbl_802C1D04: +/* 802C1D04 002BEC64 7C 83 23 78 */ mr r3, r4 +/* 802C1D08 002BEC68 7C A4 2B 78 */ mr r4, r5 +/* 802C1D0C 002BEC6C 7C C5 33 78 */ mr r5, r6 +/* 802C1D10 002BEC70 4B FF FA F1 */ bl Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb +/* 802C1D14 002BEC74 48 00 00 D0 */ b lbl_802C1DE4 +lbl_802C1D18: +/* 802C1D18 002BEC78 7C 83 23 78 */ mr r3, r4 +/* 802C1D1C 002BEC7C 7C A4 2B 78 */ mr r4, r5 +/* 802C1D20 002BEC80 7C C5 33 78 */ mr r5, r6 +/* 802C1D24 002BEC84 48 00 17 9D */ bl Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D28 002BEC88 48 00 00 BC */ b lbl_802C1DE4 +lbl_802C1D2C: +/* 802C1D2C 002BEC8C 7C 83 23 78 */ mr r3, r4 +/* 802C1D30 002BEC90 7C A4 2B 78 */ mr r4, r5 +/* 802C1D34 002BEC94 7C C5 33 78 */ mr r5, r6 +/* 802C1D38 002BEC98 48 00 28 F9 */ bl Create__9CGuiModelFP9CGuiFrameR12CInputStreamb +/* 802C1D3C 002BEC9C 48 00 00 A8 */ b lbl_802C1DE4 +lbl_802C1D40: +/* 802C1D40 002BECA0 7C 83 23 78 */ mr r3, r4 +/* 802C1D44 002BECA4 7C A4 2B 78 */ mr r4, r5 +/* 802C1D48 002BECA8 7C C5 33 78 */ mr r5, r6 +/* 802C1D4C 002BECAC 48 00 45 81 */ bl Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D50 002BECB0 48 00 00 94 */ b lbl_802C1DE4 +lbl_802C1D54: +/* 802C1D54 002BECB4 7C 83 23 78 */ mr r3, r4 +/* 802C1D58 002BECB8 7C A4 2B 78 */ mr r4, r5 +/* 802C1D5C 002BECBC 7C C5 33 78 */ mr r5, r6 +/* 802C1D60 002BECC0 48 00 55 81 */ bl Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb +/* 802C1D64 002BECC4 48 00 00 80 */ b lbl_802C1DE4 +lbl_802C1D68: +/* 802C1D68 002BECC8 7C 83 23 78 */ mr r3, r4 +/* 802C1D6C 002BECCC 7C A4 2B 78 */ mr r4, r5 +/* 802C1D70 002BECD0 7C C5 33 78 */ mr r5, r6 +/* 802C1D74 002BECD4 48 00 3C D9 */ bl Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb +/* 802C1D78 002BECD8 48 00 00 6C */ b lbl_802C1DE4 +lbl_802C1D7C: +/* 802C1D7C 002BECDC 7C 83 23 78 */ mr r3, r4 +/* 802C1D80 002BECE0 7C A4 2B 78 */ mr r4, r5 +/* 802C1D84 002BECE4 7C C5 33 78 */ mr r5, r6 +/* 802C1D88 002BECE8 48 00 5D 65 */ bl Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb +/* 802C1D8C 002BECEC 48 00 00 58 */ b lbl_802C1DE4 +lbl_802C1D90: +/* 802C1D90 002BECF0 7C 83 23 78 */ mr r3, r4 +/* 802C1D94 002BECF4 7C A4 2B 78 */ mr r4, r5 +/* 802C1D98 002BECF8 7C C5 33 78 */ mr r5, r6 +/* 802C1D9C 002BECFC 48 00 1F 29 */ bl Create__9CGuiLightFP9CGuiFrameR12CInputStreamb +/* 802C1DA0 002BED00 48 00 00 44 */ b lbl_802C1DE4 +lbl_802C1DA4: +/* 802C1DA4 002BED04 7C 83 23 78 */ mr r3, r4 +/* 802C1DA8 002BED08 7C A4 2B 78 */ mr r4, r5 +/* 802C1DAC 002BED0C 7C C5 33 78 */ mr r5, r6 +/* 802C1DB0 002BED10 48 00 9E 49 */ bl Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb +/* 802C1DB4 002BED14 48 00 00 30 */ b lbl_802C1DE4 +lbl_802C1DB8: +/* 802C1DB8 002BED18 7C 83 23 78 */ mr r3, r4 +/* 802C1DBC 002BED1C 7C A4 2B 78 */ mr r4, r5 +/* 802C1DC0 002BED20 7C C5 33 78 */ mr r5, r6 +/* 802C1DC4 002BED24 4B FF F4 85 */ bl Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb +/* 802C1DC8 002BED28 48 00 00 1C */ b lbl_802C1DE4 +lbl_802C1DCC: +/* 802C1DCC 002BED2C 7C 83 23 78 */ mr r3, r4 +/* 802C1DD0 002BED30 7C A4 2B 78 */ mr r4, r5 +/* 802C1DD4 002BED34 7C C5 33 78 */ mr r5, r6 +/* 802C1DD8 002BED38 48 00 B4 19 */ bl Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb +/* 802C1DDC 002BED3C 48 00 00 08 */ b lbl_802C1DE4 +lbl_802C1DE0: +/* 802C1DE0 002BED40 38 60 00 00 */ li r3, 0 +lbl_802C1DE4: +/* 802C1DE4 002BED44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1DE8 002BED48 7C 08 03 A6 */ mtlr r0 +/* 802C1DEC 002BED4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1DF0 002BED50 4E 80 00 20 */ blr + +.global RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802C1DF4 002BED54 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C1DF8 002BED58 7C 08 02 A6 */ mflr r0 +/* 802C1DFC 002BED5C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C1E00 002BED60 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C1E04 002BED64 7C 7F 1B 78 */ mr r31, r3 +/* 802C1E08 002BED68 80 C6 00 00 */ lwz r6, 0(r6) +/* 802C1E0C 002BED6C 90 C1 00 08 */ stw r6, 8(r1) +/* 802C1E10 002BED70 80 66 00 04 */ lwz r3, 4(r6) +/* 802C1E14 002BED74 38 03 00 01 */ addi r0, r3, 1 +/* 802C1E18 002BED78 90 06 00 04 */ stw r0, 4(r6) +/* 802C1E1C 002BED7C 80 C1 00 08 */ lwz r6, 8(r1) +/* 802C1E20 002BED80 80 64 00 04 */ lwz r3, 4(r4) +/* 802C1E24 002BED84 80 C6 00 00 */ lwz r6, 0(r6) +/* 802C1E28 002BED88 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13) +/* 802C1E2C 002BED8C 80 C6 00 04 */ lwz r6, 4(r6) +/* 802C1E30 002BED90 48 00 0B 8D */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +/* 802C1E34 002BED94 7C 03 00 D0 */ neg r0, r3 +/* 802C1E38 002BED98 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C1E3C 002BED9C 7C 00 1B 78 */ or r0, r0, r3 +/* 802C1E40 002BEDA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C1E44 002BEDA4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C1E48 002BEDA8 38 81 00 0C */ addi r4, r1, 0xc +/* 802C1E4C 002BEDAC 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C1E50 002BEDB0 48 00 01 15 */ bl "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +/* 802C1E54 002BEDB4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802C1E58 002BEDB8 38 00 00 00 */ li r0, 0 +/* 802C1E5C 002BEDBC 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C1E60 002BEDC0 7C 03 00 D0 */ neg r0, r3 +/* 802C1E64 002BEDC4 7C 00 1B 78 */ or r0, r0, r3 +/* 802C1E68 002BEDC8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C1E6C 002BEDCC 98 1F 00 00 */ stb r0, 0(r31) +/* 802C1E70 002BEDD0 90 7F 00 04 */ stw r3, 4(r31) +/* 802C1E74 002BEDD4 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802C1E78 002BEDD8 28 00 00 00 */ cmplwi r0, 0 +/* 802C1E7C 002BEDDC 41 82 00 24 */ beq lbl_802C1EA0 +/* 802C1E80 002BEDE0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802C1E84 002BEDE4 28 03 00 00 */ cmplwi r3, 0 +/* 802C1E88 002BEDE8 41 82 00 18 */ beq lbl_802C1EA0 +/* 802C1E8C 002BEDEC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C1E90 002BEDF0 38 80 00 01 */ li r4, 1 +/* 802C1E94 002BEDF4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C1E98 002BEDF8 7D 89 03 A6 */ mtctr r12 +/* 802C1E9C 002BEDFC 4E 80 04 21 */ bctrl +lbl_802C1EA0: +/* 802C1EA0 002BEE00 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802C1EA4 002BEE04 28 00 00 00 */ cmplwi r0, 0 +/* 802C1EA8 002BEE08 41 82 00 10 */ beq lbl_802C1EB8 +/* 802C1EAC 002BEE0C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C1EB0 002BEE10 38 80 00 01 */ li r4, 1 +/* 802C1EB4 002BEE14 48 00 0B C9 */ bl __dt__9CGuiFrameFv +lbl_802C1EB8: +/* 802C1EB8 002BEE18 38 61 00 08 */ addi r3, r1, 8 +/* 802C1EBC 002BEE1C 4B D7 24 49 */ bl sub_80034304 +/* 802C1EC0 002BEE20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C1EC4 002BEE24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C1EC8 002BEE28 7C 08 03 A6 */ mtlr r0 +/* 802C1ECC 002BEE2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C1ED0 002BEE30 4E 80 00 20 */ blr + +.global "__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv" +"__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv": +/* 802C1ED4 002BEE34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1ED8 002BEE38 7C 08 02 A6 */ mflr r0 +/* 802C1EDC 002BEE3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1EE0 002BEE40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1EE4 002BEE44 7C 9F 23 78 */ mr r31, r4 +/* 802C1EE8 002BEE48 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1EEC 002BEE4C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C1EF0 002BEE50 41 82 00 58 */ beq lbl_802C1F48 +/* 802C1EF4 002BEE54 3C 60 80 3F */ lis r3, lbl_803EC7B8@ha +/* 802C1EF8 002BEE58 38 03 C7 B8 */ addi r0, r3, lbl_803EC7B8@l +/* 802C1EFC 002BEE5C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1F00 002BEE60 80 7E 00 04 */ lwz r3, 4(r30) +/* 802C1F04 002BEE64 28 03 00 00 */ cmplwi r3, 0 +/* 802C1F08 002BEE68 41 82 00 0C */ beq lbl_802C1F14 +/* 802C1F0C 002BEE6C 38 80 00 01 */ li r4, 1 +/* 802C1F10 002BEE70 48 00 0B 6D */ bl __dt__9CGuiFrameFv +lbl_802C1F14: +/* 802C1F14 002BEE74 28 1E 00 00 */ cmplwi r30, 0 +/* 802C1F18 002BEE78 41 82 00 20 */ beq lbl_802C1F38 +/* 802C1F1C 002BEE7C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802C1F20 002BEE80 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802C1F24 002BEE84 90 1E 00 00 */ stw r0, 0(r30) +/* 802C1F28 002BEE88 41 82 00 10 */ beq lbl_802C1F38 +/* 802C1F2C 002BEE8C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802C1F30 002BEE90 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802C1F34 002BEE94 90 1E 00 00 */ stw r0, 0(r30) +lbl_802C1F38: +/* 802C1F38 002BEE98 7F E0 07 35 */ extsh. r0, r31 +/* 802C1F3C 002BEE9C 40 81 00 0C */ ble lbl_802C1F48 +/* 802C1F40 002BEEA0 7F C3 F3 78 */ mr r3, r30 +/* 802C1F44 002BEEA4 48 05 39 ED */ bl Free__7CMemoryFPCv +lbl_802C1F48: +/* 802C1F48 002BEEA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1F4C 002BEEAC 7F C3 F3 78 */ mr r3, r30 +/* 802C1F50 002BEEB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1F54 002BEEB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C1F58 002BEEB8 7C 08 03 A6 */ mtlr r0 +/* 802C1F5C 002BEEBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1F60 002BEEC0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +"GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": +/* 802C1F64 002BEEC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1F68 002BEEC8 7C 08 02 A6 */ mflr r0 +/* 802C1F6C 002BEECC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1F70 002BEED0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1F74 002BEED4 7C 7F 1B 78 */ mr r31, r3 +/* 802C1F78 002BEED8 48 00 00 19 */ bl "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +/* 802C1F7C 002BEEDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C1F80 002BEEE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C1F84 002BEEE4 7C 08 03 A6 */ mtlr r0 +/* 802C1F88 002BEEE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C1F8C 002BEEEC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" +"GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": +/* 802C1F90 002BEEF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C1F94 002BEEF4 7C 08 02 A6 */ mflr r0 +/* 802C1F98 002BEEF8 3C A0 80 3D */ lis r5, lbl_803D6888@ha +/* 802C1F9C 002BEEFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C1FA0 002BEF00 38 05 68 88 */ addi r0, r5, lbl_803D6888@l +/* 802C1FA4 002BEF04 38 A0 00 00 */ li r5, 0 +/* 802C1FA8 002BEF08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C1FAC 002BEF0C 7C 9F 23 78 */ mr r31, r4 +/* 802C1FB0 002BEF10 7C 04 03 78 */ mr r4, r0 +/* 802C1FB4 002BEF14 93 C1 00 08 */ stw r30, 8(r1) +/* 802C1FB8 002BEF18 7C 7E 1B 78 */ mr r30, r3 +/* 802C1FBC 002BEF1C 38 60 00 08 */ li r3, 8 +/* 802C1FC0 002BEF20 48 05 38 AD */ bl __nw__FUlPCcPCc +/* 802C1FC4 002BEF24 28 03 00 00 */ cmplwi r3, 0 +/* 802C1FC8 002BEF28 41 82 00 38 */ beq lbl_802C2000 +/* 802C1FCC 002BEF2C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802C1FD0 002BEF30 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802C1FD4 002BEF34 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802C1FD8 002BEF38 3C 80 80 3F */ lis r4, lbl_803EC7B8@ha +/* 802C1FDC 002BEF3C 90 03 00 00 */ stw r0, 0(r3) +/* 802C1FE0 002BEF40 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802C1FE4 002BEF44 38 A0 00 00 */ li r5, 0 +/* 802C1FE8 002BEF48 38 04 C7 B8 */ addi r0, r4, lbl_803EC7B8@l +/* 802C1FEC 002BEF4C 90 C3 00 00 */ stw r6, 0(r3) +/* 802C1FF0 002BEF50 98 BF 00 00 */ stb r5, 0(r31) +/* 802C1FF4 002BEF54 80 9F 00 04 */ lwz r4, 4(r31) +/* 802C1FF8 002BEF58 90 83 00 04 */ stw r4, 4(r3) +/* 802C1FFC 002BEF5C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2000: +/* 802C2000 002BEF60 7C 03 00 D0 */ neg r0, r3 +/* 802C2004 002BEF64 7C 00 1B 78 */ or r0, r0, r3 +/* 802C2008 002BEF68 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C200C 002BEF6C 98 1E 00 00 */ stb r0, 0(r30) +/* 802C2010 002BEF70 90 7E 00 04 */ stw r3, 4(r30) +/* 802C2014 002BEF74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2018 002BEF78 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C201C 002BEF7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2020 002BEF80 7C 08 03 A6 */ mtlr r0 +/* 802C2024 002BEF84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2028 002BEF88 4E 80 00 20 */ blr + +.global __sinit_CGuiFeeHelper_cpp +__sinit_CGuiFeeHelper_cpp: +/* 802C202C 002BEF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2030 002BEF90 7C 08 02 A6 */ mflr r0 +/* 802C2034 002BEF94 3C 60 80 5A */ lis r3, lbl_8059FBD0@ha +/* 802C2038 002BEF98 38 80 00 00 */ li r4, 0 +/* 802C203C 002BEF9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2040 002BEFA0 38 C3 FB D0 */ addi r6, r3, lbl_8059FBD0@l +/* 802C2044 002BEFA4 38 00 00 00 */ li r0, 0 +/* 802C2048 002BEFA8 38 A0 00 10 */ li r5, 0x10 +/* 802C204C 002BEFAC 90 06 00 00 */ stw r0, 0(r6) +/* 802C2050 002BEFB0 38 66 00 08 */ addi r3, r6, 8 +/* 802C2054 002BEFB4 90 06 00 04 */ stw r0, 4(r6) +/* 802C2058 002BEFB8 4B D4 13 51 */ bl memset +/* 802C205C 002BEFBC 3C 60 80 5A */ lis r3, lbl_8059FC78@ha +/* 802C2060 002BEFC0 38 00 00 00 */ li r0, 0 +/* 802C2064 002BEFC4 38 C3 FC 78 */ addi r6, r3, lbl_8059FC78@l +/* 802C2068 002BEFC8 38 80 00 00 */ li r4, 0 +/* 802C206C 002BEFCC 90 06 00 00 */ stw r0, 0(r6) +/* 802C2070 002BEFD0 38 66 00 08 */ addi r3, r6, 8 +/* 802C2074 002BEFD4 38 A0 00 10 */ li r5, 0x10 +/* 802C2078 002BEFD8 90 06 00 04 */ stw r0, 4(r6) +/* 802C207C 002BEFDC 4B D4 13 2D */ bl memset +/* 802C2080 002BEFE0 3C 60 80 5A */ lis r3, lbl_8059FC90@ha +/* 802C2084 002BEFE4 38 00 00 00 */ li r0, 0 +/* 802C2088 002BEFE8 38 C3 FC 90 */ addi r6, r3, lbl_8059FC90@l +/* 802C208C 002BEFEC 38 80 00 00 */ li r4, 0 +/* 802C2090 002BEFF0 90 06 00 00 */ stw r0, 0(r6) +/* 802C2094 002BEFF4 38 66 00 08 */ addi r3, r6, 8 +/* 802C2098 002BEFF8 38 A0 00 10 */ li r5, 0x10 +/* 802C209C 002BEFFC 90 06 00 04 */ stw r0, 4(r6) +/* 802C20A0 002BF000 4B D4 13 09 */ bl memset +/* 802C20A4 002BF004 3C 60 80 5A */ lis r3, lbl_8059FCA8@ha +/* 802C20A8 002BF008 38 00 00 00 */ li r0, 0 +/* 802C20AC 002BF00C 38 C3 FC A8 */ addi r6, r3, lbl_8059FCA8@l +/* 802C20B0 002BF010 38 80 00 00 */ li r4, 0 +/* 802C20B4 002BF014 90 06 00 00 */ stw r0, 0(r6) +/* 802C20B8 002BF018 38 66 00 08 */ addi r3, r6, 8 +/* 802C20BC 002BF01C 38 A0 00 10 */ li r5, 0x10 +/* 802C20C0 002BF020 90 06 00 04 */ stw r0, 4(r6) +/* 802C20C4 002BF024 4B D4 12 E5 */ bl memset +/* 802C20C8 002BF028 3C 60 80 5A */ lis r3, lbl_8059FCC0@ha +/* 802C20CC 002BF02C 38 00 00 00 */ li r0, 0 +/* 802C20D0 002BF030 38 C3 FC C0 */ addi r6, r3, lbl_8059FCC0@l +/* 802C20D4 002BF034 38 80 00 00 */ li r4, 0 +/* 802C20D8 002BF038 90 06 00 00 */ stw r0, 0(r6) +/* 802C20DC 002BF03C 38 66 00 08 */ addi r3, r6, 8 +/* 802C20E0 002BF040 38 A0 00 10 */ li r5, 0x10 +/* 802C20E4 002BF044 90 06 00 04 */ stw r0, 4(r6) +/* 802C20E8 002BF048 4B D4 12 C1 */ bl memset +/* 802C20EC 002BF04C 3C 60 80 5A */ lis r3, lbl_8059FCD8@ha +/* 802C20F0 002BF050 38 00 00 00 */ li r0, 0 +/* 802C20F4 002BF054 38 C3 FC D8 */ addi r6, r3, lbl_8059FCD8@l +/* 802C20F8 002BF058 38 80 00 00 */ li r4, 0 +/* 802C20FC 002BF05C 90 06 00 00 */ stw r0, 0(r6) +/* 802C2100 002BF060 38 66 00 08 */ addi r3, r6, 8 +/* 802C2104 002BF064 38 A0 00 10 */ li r5, 0x10 +/* 802C2108 002BF068 90 06 00 04 */ stw r0, 4(r6) +/* 802C210C 002BF06C 4B D4 12 9D */ bl memset +/* 802C2110 002BF070 3C 60 80 5A */ lis r3, lbl_8059FCF0@ha +/* 802C2114 002BF074 38 00 00 00 */ li r0, 0 +/* 802C2118 002BF078 38 C3 FC F0 */ addi r6, r3, lbl_8059FCF0@l +/* 802C211C 002BF07C 38 80 00 00 */ li r4, 0 +/* 802C2120 002BF080 90 06 00 00 */ stw r0, 0(r6) +/* 802C2124 002BF084 38 66 00 08 */ addi r3, r6, 8 +/* 802C2128 002BF088 38 A0 00 10 */ li r5, 0x10 +/* 802C212C 002BF08C 90 06 00 04 */ stw r0, 4(r6) +/* 802C2130 002BF090 4B D4 12 79 */ bl memset +/* 802C2134 002BF094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2138 002BF098 7C 08 03 A6 */ mtlr r0 +/* 802C213C 002BF09C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2140 002BF0A0 4E 80 00 20 */ blr + +.global GetFrameLight__9CGuiFrameFi +GetFrameLight__9CGuiFrameFi: +/* 802C2144 002BF0A4 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802C2148 002BF0A8 54 80 10 3A */ slwi r0, r4, 2 +/* 802C214C 002BF0AC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802C2150 002BF0B0 4E 80 00 20 */ blr + +.global FindWidget__9CGuiFrameCFPCc +FindWidget__9CGuiFrameCFPCc: +/* 802C2154 002BF0B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2158 002BF0B8 7C 08 02 A6 */ mflr r0 +/* 802C215C 002BF0BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2160 002BF0C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2164 002BF0C4 7C 7F 1B 78 */ mr r31, r3 +/* 802C2168 002BF0C8 38 61 00 08 */ addi r3, r1, 8 +/* 802C216C 002BF0CC 4B D4 2B 4D */ bl string_l__4rstlFPCc +/* 802C2170 002BF0D0 7F E3 FB 78 */ mr r3, r31 +/* 802C2174 002BF0D4 38 81 00 08 */ addi r4, r1, 8 +/* 802C2178 002BF0D8 48 00 00 5D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C217C 002BF0DC 7C 7F 1B 78 */ mr r31, r3 +/* 802C2180 002BF0E0 38 61 00 08 */ addi r3, r1, 8 +/* 802C2184 002BF0E4 48 07 B9 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C2188 002BF0E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C218C 002BF0EC 7F E3 FB 78 */ mr r3, r31 +/* 802C2190 002BF0F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C2194 002BF0F4 7C 08 03 A6 */ mtlr r0 +/* 802C2198 002BF0F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C219C 002BF0FC 4E 80 00 20 */ blr + +.global SetFrameCamera__9CGuiFrameFP10CGuiCamera +SetFrameCamera__9CGuiFrameFP10CGuiCamera: +/* 802C21A0 002BF100 90 83 00 14 */ stw r4, 0x14(r3) +/* 802C21A4 002BF104 4E 80 00 20 */ blr + +.global SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget +SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget: +/* 802C21A8 002BF108 90 83 00 0C */ stw r4, 0xc(r3) +/* 802C21AC 002BF10C 4E 80 00 20 */ blr + +.global FindWidget__9CGuiFrameCFs +FindWidget__9CGuiFrameCFs: +/* 802C21B0 002BF110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C21B4 002BF114 7C 08 02 A6 */ mflr r0 +/* 802C21B8 002BF118 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C21BC 002BF11C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802C21C0 002BF120 48 00 86 D9 */ bl FindWidget__10CGuiWidgetFs +/* 802C21C4 002BF124 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C21C8 002BF128 7C 08 03 A6 */ mtlr r0 +/* 802C21CC 002BF12C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C21D0 002BF130 4E 80 00 20 */ blr + +.global "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C21D4 002BF134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C21D8 002BF138 7C 08 02 A6 */ mflr r0 +/* 802C21DC 002BF13C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C21E0 002BF140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C21E4 002BF144 7C 7F 1B 78 */ mr r31, r3 +/* 802C21E8 002BF148 38 7F 00 18 */ addi r3, r31, 0x18 +/* 802C21EC 002BF14C 48 00 8D 89 */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C21F0 002BF150 A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2) +/* 802C21F4 002BF154 7C 64 07 34 */ extsh r4, r3 +/* 802C21F8 002BF158 7C 04 00 00 */ cmpw r4, r0 +/* 802C21FC 002BF15C 41 82 00 10 */ beq lbl_802C220C +/* 802C2200 002BF160 7F E3 FB 78 */ mr r3, r31 +/* 802C2204 002BF164 4B FF FF AD */ bl FindWidget__9CGuiFrameCFs +/* 802C2208 002BF168 48 00 00 08 */ b lbl_802C2210 +lbl_802C220C: +/* 802C220C 002BF16C 38 60 00 00 */ li r3, 0 +lbl_802C2210: +/* 802C2210 002BF170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2214 002BF174 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2218 002BF178 7C 08 03 A6 */ mtlr r0 +/* 802C221C 002BF17C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2220 002BF180 4E 80 00 20 */ blr + +.global sub_802c2224 +sub_802c2224: +/* 802C2224 002BF184 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2228 002BF188 7C 08 02 A6 */ mflr r0 +/* 802C222C 002BF18C 7C 66 1B 78 */ mr r6, r3 +/* 802C2230 002BF190 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2234 002BF194 80 63 00 38 */ lwz r3, 0x38(r3) +/* 802C2238 002BF198 80 06 00 30 */ lwz r0, 0x30(r6) +/* 802C223C 002BF19C 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C2240 002BF1A0 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2244 002BF1A4 7C A3 02 14 */ add r5, r3, r0 +/* 802C2248 002BF1A8 48 00 00 3C */ b lbl_802C2284 +lbl_802C224C: +/* 802C224C 002BF1AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C2250 002BF1B0 80 03 00 00 */ lwz r0, 0(r3) +/* 802C2254 002BF1B4 7C 00 20 40 */ cmplw r0, r4 +/* 802C2258 002BF1B8 40 82 00 20 */ bne lbl_802C2278 +/* 802C225C 002BF1BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C2260 002BF1C0 38 61 00 0C */ addi r3, r1, 0xc +/* 802C2264 002BF1C4 38 86 00 2C */ addi r4, r6, 0x2c +/* 802C2268 002BF1C8 38 A1 00 08 */ addi r5, r1, 8 +/* 802C226C 002BF1CC 90 01 00 08 */ stw r0, 8(r1) +/* 802C2270 002BF1D0 48 00 00 31 */ bl sub_802c22a0 +/* 802C2274 002BF1D4 48 00 00 1C */ b lbl_802C2290 +lbl_802C2278: +/* 802C2278 002BF1D8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C227C 002BF1DC 38 03 00 04 */ addi r0, r3, 4 +/* 802C2280 002BF1E0 90 01 00 10 */ stw r0, 0x10(r1) +lbl_802C2284: +/* 802C2284 002BF1E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C2288 002BF1E8 7C 00 28 40 */ cmplw r0, r5 +/* 802C228C 002BF1EC 40 82 FF C0 */ bne lbl_802C224C +lbl_802C2290: +/* 802C2290 002BF1F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C2294 002BF1F4 7C 08 03 A6 */ mtlr r0 +/* 802C2298 002BF1F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C229C 002BF1FC 4E 80 00 20 */ blr + +.global sub_802c22a0 +sub_802c22a0: +/* 802C22A0 002BF200 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C22A4 002BF204 7C 08 02 A6 */ mflr r0 +/* 802C22A8 002BF208 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C22AC 002BF20C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C22B0 002BF210 7C 7F 1B 78 */ mr r31, r3 +/* 802C22B4 002BF214 80 C5 00 00 */ lwz r6, 0(r5) +/* 802C22B8 002BF218 80 05 00 00 */ lwz r0, 0(r5) +/* 802C22BC 002BF21C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C22C0 002BF220 38 E6 00 04 */ addi r7, r6, 4 +/* 802C22C4 002BF224 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C22C8 002BF228 90 E1 00 08 */ stw r7, 8(r1) +/* 802C22CC 002BF22C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802C22D0 002BF230 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C22D4 002BF234 48 00 00 19 */ bl sub_802c22ec +/* 802C22D8 002BF238 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C22DC 002BF23C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C22E0 002BF240 7C 08 03 A6 */ mtlr r0 +/* 802C22E4 002BF244 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C22E8 002BF248 4E 80 00 20 */ blr + +.global sub_802c22ec +sub_802c22ec: +/* 802C22EC 002BF24C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C22F0 002BF250 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C22F4 002BF254 80 06 00 00 */ lwz r0, 0(r6) +/* 802C22F8 002BF258 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802C22FC 002BF25C 90 01 00 08 */ stw r0, 8(r1) +/* 802C2300 002BF260 48 00 00 08 */ b lbl_802C2308 +lbl_802C2304: +/* 802C2304 002BF264 38 E7 00 04 */ addi r7, r7, 4 +lbl_802C2308: +/* 802C2308 002BF268 7C 07 00 40 */ cmplw r7, r0 +/* 802C230C 002BF26C 40 82 FF F8 */ bne lbl_802C2304 +/* 802C2310 002BF270 81 04 00 0C */ lwz r8, 0xc(r4) +/* 802C2314 002BF274 80 05 00 00 */ lwz r0, 0(r5) +/* 802C2318 002BF278 80 E6 00 00 */ lwz r7, 0(r6) +/* 802C231C 002BF27C 7C 08 00 50 */ subf r0, r8, r0 +/* 802C2320 002BF280 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C2324 002BF284 7C C0 01 94 */ addze r6, r0 +/* 802C2328 002BF288 54 C0 10 3A */ slwi r0, r6, 2 +/* 802C232C 002BF28C 7C C9 33 78 */ mr r9, r6 +/* 802C2330 002BF290 7D 08 02 14 */ add r8, r8, r0 +/* 802C2334 002BF294 48 00 00 20 */ b lbl_802C2354 +lbl_802C2338: +/* 802C2338 002BF298 28 08 00 00 */ cmplwi r8, 0 +/* 802C233C 002BF29C 41 82 00 0C */ beq lbl_802C2348 +/* 802C2340 002BF2A0 80 07 00 00 */ lwz r0, 0(r7) +/* 802C2344 002BF2A4 90 08 00 00 */ stw r0, 0(r8) +lbl_802C2348: +/* 802C2348 002BF2A8 39 08 00 04 */ addi r8, r8, 4 +/* 802C234C 002BF2AC 39 29 00 01 */ addi r9, r9, 1 +/* 802C2350 002BF2B0 38 E7 00 04 */ addi r7, r7, 4 +lbl_802C2354: +/* 802C2354 002BF2B4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C2358 002BF2B8 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 802C235C 002BF2BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2360 002BF2C0 7C 06 02 14 */ add r0, r6, r0 +/* 802C2364 002BF2C4 7C 07 00 40 */ cmplw r7, r0 +/* 802C2368 002BF2C8 40 82 FF D0 */ bne lbl_802C2338 +/* 802C236C 002BF2CC 91 24 00 04 */ stw r9, 4(r4) +/* 802C2370 002BF2D0 80 05 00 00 */ lwz r0, 0(r5) +/* 802C2374 002BF2D4 90 03 00 00 */ stw r0, 0(r3) +/* 802C2378 002BF2D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C237C 002BF2DC 4E 80 00 20 */ blr + +.global SortDrawOrder__9CGuiFrameFv +SortDrawOrder__9CGuiFrameFv: +/* 802C2380 002BF2E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2384 002BF2E4 7C 08 02 A6 */ mflr r0 +/* 802C2388 002BF2E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C238C 002BF2EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 802C2390 002BF2F0 88 01 00 08 */ lbz r0, 8(r1) +/* 802C2394 002BF2F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C2398 002BF2F8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C239C 002BF2FC 80 03 00 30 */ lwz r0, 0x30(r3) +/* 802C23A0 002BF300 80 C3 00 38 */ lwz r6, 0x38(r3) +/* 802C23A4 002BF304 54 00 10 3A */ slwi r0, r0, 2 +/* 802C23A8 002BF308 7C C6 02 14 */ add r6, r6, r0 +/* 802C23AC 002BF30C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802C23B0 002BF310 80 03 00 38 */ lwz r0, 0x38(r3) +/* 802C23B4 002BF314 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C23B8 002BF318 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802C23BC 002BF31C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C23C0 002BF320 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C23C4 002BF324 48 00 0B 09 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +/* 802C23C8 002BF328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C23CC 002BF32C 7C 08 03 A6 */ mtlr r0 +/* 802C23D0 002BF330 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C23D4 002BF334 4E 80 00 20 */ blr + +.global EnableLights__9CGuiFrameCFUi +EnableLights__9CGuiFrameCFUi: +/* 802C23D8 002BF338 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C23DC 002BF33C 7C 08 02 A6 */ mflr r0 +/* 802C23E0 002BF340 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C23E4 002BF344 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 802C23E8 002BF348 7C 7E 1B 78 */ mr r30, r3 +/* 802C23EC 002BF34C 7C 9F 23 78 */ mr r31, r4 +/* 802C23F0 002BF350 48 04 A5 8D */ bl DisableAllLights__9CGraphicsFv +/* 802C23F4 002BF354 48 08 7B C1 */ bl Black__6CColorFv +/* 802C23F8 002BF358 80 03 00 00 */ lwz r0, 0(r3) +/* 802C23FC 002BF35C 3B 80 00 00 */ li r28, 0 +/* 802C2400 002BF360 3B 60 00 00 */ li r27, 0 +/* 802C2404 002BF364 3B A0 00 00 */ li r29, 0 +/* 802C2408 002BF368 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C240C 002BF36C 48 00 00 B0 */ b lbl_802C24BC +lbl_802C2410: +/* 802C2410 002BF370 38 00 00 01 */ li r0, 1 +/* 802C2414 002BF374 7C 00 D8 30 */ slw r0, r0, r27 +/* 802C2418 002BF378 7F E0 00 39 */ and. r0, r31, r0 +/* 802C241C 002BF37C 41 82 00 98 */ beq lbl_802C24B4 +/* 802C2420 002BF380 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802C2424 002BF384 7F 43 E8 2E */ lwzx r26, r3, r29 +/* 802C2428 002BF388 28 1A 00 00 */ cmplwi r26, 0 +/* 802C242C 002BF38C 41 82 00 88 */ beq lbl_802C24B4 +/* 802C2430 002BF390 7F 43 D3 78 */ mr r3, r26 +/* 802C2434 002BF394 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2438 002BF398 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C243C 002BF39C 7D 89 03 A6 */ mtctr r12 +/* 802C2440 002BF3A0 4E 80 04 21 */ bctrl +/* 802C2444 002BF3A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C2448 002BF3A8 41 82 00 6C */ beq lbl_802C24B4 +/* 802C244C 002BF3AC 88 1A 00 A8 */ lbz r0, 0xa8(r26) +/* 802C2450 002BF3B0 28 00 00 00 */ cmplwi r0, 0 +/* 802C2454 002BF3B4 40 82 00 1C */ bne lbl_802C2470 +/* 802C2458 002BF3B8 88 1A 00 A9 */ lbz r0, 0xa9(r26) +/* 802C245C 002BF3BC 28 00 00 00 */ cmplwi r0, 0 +/* 802C2460 002BF3C0 40 82 00 10 */ bne lbl_802C2470 +/* 802C2464 002BF3C4 88 1A 00 AA */ lbz r0, 0xaa(r26) +/* 802C2468 002BF3C8 28 00 00 00 */ cmplwi r0, 0 +/* 802C246C 002BF3CC 41 82 00 24 */ beq lbl_802C2490 +lbl_802C2470: +/* 802C2470 002BF3D0 7F 44 D3 78 */ mr r4, r26 +/* 802C2474 002BF3D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C2478 002BF3D8 48 00 12 D5 */ bl BuildLight__9CGuiLightCFv +/* 802C247C 002BF3DC 7F 63 DB 78 */ mr r3, r27 +/* 802C2480 002BF3E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 802C2484 002BF3E4 48 04 A5 41 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802C2488 002BF3E8 7F 63 DB 78 */ mr r3, r27 +/* 802C248C 002BF3EC 48 04 A8 A5 */ bl EnableLight__9CGraphicsF9ERglLight +lbl_802C2490: +/* 802C2490 002BF3F0 80 1A 00 DC */ lwz r0, 0xdc(r26) +/* 802C2494 002BF3F4 38 61 00 0C */ addi r3, r1, 0xc +/* 802C2498 002BF3F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 802C249C 002BF3FC 38 A1 00 08 */ addi r5, r1, 8 +/* 802C24A0 002BF400 90 01 00 08 */ stw r0, 8(r1) +/* 802C24A4 002BF404 48 0A 0C 0D */ bl Add__6CColorFRC6CColorRC6CColor +/* 802C24A8 002BF408 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802C24AC 002BF40C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802C24B0 002BF410 90 01 00 10 */ stw r0, 0x10(r1) +lbl_802C24B4: +/* 802C24B4 002BF414 3B BD 00 04 */ addi r29, r29, 4 +/* 802C24B8 002BF418 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802C24BC: +/* 802C24BC 002BF41C 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802C24C0 002BF420 7C 1B 00 00 */ cmpw r27, r0 +/* 802C24C4 002BF424 41 80 FF 4C */ blt lbl_802C2410 +/* 802C24C8 002BF428 2C 1C 00 00 */ cmpwi r28, 0 +/* 802C24CC 002BF42C 40 82 00 10 */ bne lbl_802C24DC +/* 802C24D0 002BF430 48 08 7A DD */ bl White__6CColorFv +/* 802C24D4 002BF434 48 04 9B 49 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802C24D8 002BF438 48 00 00 0C */ b lbl_802C24E4 +lbl_802C24DC: +/* 802C24DC 002BF43C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802C24E0 002BF440 48 04 9B 3D */ bl SetAmbientColor__9CGraphicsFRC6CColor +lbl_802C24E4: +/* 802C24E4 002BF444 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 802C24E8 002BF448 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C24EC 002BF44C 7C 08 03 A6 */ mtlr r0 +/* 802C24F0 002BF450 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C24F4 002BF454 4E 80 00 20 */ blr + +.global DisableLights__9CGuiFrameCFv +DisableLights__9CGuiFrameCFv: +/* 802C24F8 002BF458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C24FC 002BF45C 7C 08 02 A6 */ mflr r0 +/* 802C2500 002BF460 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2504 002BF464 48 04 A4 79 */ bl DisableAllLights__9CGraphicsFv +/* 802C2508 002BF468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C250C 002BF46C 7C 08 03 A6 */ mtlr r0 +/* 802C2510 002BF470 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2514 002BF474 4E 80 00 20 */ blr + +.global RemoveLight__9CGuiFrameFP9CGuiLight +RemoveLight__9CGuiFrameFP9CGuiLight: +/* 802C2518 002BF478 80 04 00 D8 */ lwz r0, 0xd8(r4) +/* 802C251C 002BF47C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 802C2520 002BF480 54 03 10 3A */ slwi r3, r0, 2 +/* 802C2524 002BF484 7C 05 18 2E */ lwzx r0, r5, r3 +/* 802C2528 002BF488 7C 00 20 40 */ cmplw r0, r4 +/* 802C252C 002BF48C 4C 82 00 20 */ bnelr +/* 802C2530 002BF490 38 00 00 00 */ li r0, 0 +/* 802C2534 002BF494 7C 05 19 2E */ stwx r0, r5, r3 +/* 802C2538 002BF498 4E 80 00 20 */ blr + +.global AddLight__9CGuiFrameFP9CGuiLight +AddLight__9CGuiFrameFP9CGuiLight: +/* 802C253C 002BF49C 80 04 00 D8 */ lwz r0, 0xd8(r4) +/* 802C2540 002BF4A0 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802C2544 002BF4A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2548 002BF4A8 7C 83 01 2E */ stwx r4, r3, r0 +/* 802C254C 002BF4AC 4E 80 00 20 */ blr + +.global GetIsFinishedLoading__9CGuiFrameCFv +GetIsFinishedLoading__9CGuiFrameCFv: +/* 802C2550 002BF4B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2554 002BF4B4 7C 08 02 A6 */ mflr r0 +/* 802C2558 002BF4B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C255C 002BF4BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2560 002BF4C0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2564 002BF4C4 7C 7E 1B 78 */ mr r30, r3 +/* 802C2568 002BF4C8 88 63 00 58 */ lbz r3, 0x58(r3) +/* 802C256C 002BF4CC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802C2570 002BF4D0 41 82 00 0C */ beq lbl_802C257C +/* 802C2574 002BF4D4 38 60 00 01 */ li r3, 1 +/* 802C2578 002BF4D8 48 00 00 60 */ b lbl_802C25D8 +lbl_802C257C: +/* 802C257C 002BF4DC 38 00 00 01 */ li r0, 1 +/* 802C2580 002BF4E0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 802C2584 002BF4E4 98 7E 00 58 */ stb r3, 0x58(r30) +/* 802C2588 002BF4E8 83 FE 00 38 */ lwz r31, 0x38(r30) +/* 802C258C 002BF4EC 48 00 00 30 */ b lbl_802C25BC +lbl_802C2590: +/* 802C2590 002BF4F0 80 7F 00 00 */ lwz r3, 0(r31) +/* 802C2594 002BF4F4 48 00 83 A5 */ bl GetIsFinishedLoading__10CGuiWidgetCFv +/* 802C2598 002BF4F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C259C 002BF4FC 40 82 00 1C */ bne lbl_802C25B8 +/* 802C25A0 002BF500 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802C25A4 002BF504 38 60 00 00 */ li r3, 0 +/* 802C25A8 002BF508 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802C25AC 002BF50C 38 60 00 00 */ li r3, 0 +/* 802C25B0 002BF510 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802C25B4 002BF514 48 00 00 24 */ b lbl_802C25D8 +lbl_802C25B8: +/* 802C25B8 002BF518 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C25BC: +/* 802C25BC 002BF51C 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C25C0 002BF520 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C25C4 002BF524 54 00 10 3A */ slwi r0, r0, 2 +/* 802C25C8 002BF528 7C 03 02 14 */ add r0, r3, r0 +/* 802C25CC 002BF52C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C25D0 002BF530 40 82 FF C0 */ bne lbl_802C2590 +/* 802C25D4 002BF534 38 60 00 01 */ li r3, 1 +lbl_802C25D8: +/* 802C25D8 002BF538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C25DC 002BF53C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C25E0 002BF540 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C25E4 002BF544 7C 08 03 A6 */ mtlr r0 +/* 802C25E8 002BF548 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C25EC 002BF54C 4E 80 00 20 */ blr + +.global Touch__9CGuiFrameCFv +Touch__9CGuiFrameCFv: +/* 802C25F0 002BF550 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C25F4 002BF554 7C 08 02 A6 */ mflr r0 +/* 802C25F8 002BF558 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C25FC 002BF55C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2600 002BF560 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2604 002BF564 7C 7E 1B 78 */ mr r30, r3 +/* 802C2608 002BF568 83 E3 00 38 */ lwz r31, 0x38(r3) +/* 802C260C 002BF56C 48 00 00 1C */ b lbl_802C2628 +lbl_802C2610: +/* 802C2610 002BF570 80 7F 00 00 */ lwz r3, 0(r31) +/* 802C2614 002BF574 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2618 002BF578 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802C261C 002BF57C 7D 89 03 A6 */ mtctr r12 +/* 802C2620 002BF580 4E 80 04 21 */ bctrl +/* 802C2624 002BF584 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C2628: +/* 802C2628 002BF588 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C262C 002BF58C 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C2630 002BF590 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2634 002BF594 7C 03 02 14 */ add r0, r3, r0 +/* 802C2638 002BF598 7C 1F 00 40 */ cmplw r31, r0 +/* 802C263C 002BF59C 40 82 FF D4 */ bne lbl_802C2610 +/* 802C2640 002BF5A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2644 002BF5A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C2648 002BF5A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C264C 002BF5AC 7C 08 03 A6 */ mtlr r0 +/* 802C2650 002BF5B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2654 002BF5B4 4E 80 00 20 */ blr + +.global ProcessUserInput__9CGuiFrameFRC11CFinalInput +ProcessUserInput__9CGuiFrameFRC11CFinalInput: +/* 802C2658 002BF5B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C265C 002BF5BC 7C 08 02 A6 */ mflr r0 +/* 802C2660 002BF5C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2664 002BF5C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2668 002BF5C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C266C 002BF5CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C2670 002BF5D0 7C 9D 23 78 */ mr r29, r4 +/* 802C2674 002BF5D4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C2678 002BF5D8 7C 7C 1B 78 */ mr r28, r3 +/* 802C267C 002BF5DC 80 04 00 04 */ lwz r0, 4(r4) +/* 802C2680 002BF5E0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2684 002BF5E4 40 82 00 60 */ bne lbl_802C26E4 +/* 802C2688 002BF5E8 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802C268C 002BF5EC 48 00 00 40 */ b lbl_802C26CC +lbl_802C2690: +/* 802C2690 002BF5F0 83 DF 00 00 */ lwz r30, 0(r31) +/* 802C2694 002BF5F4 7F C3 F3 78 */ mr r3, r30 +/* 802C2698 002BF5F8 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C269C 002BF5FC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C26A0 002BF600 7D 89 03 A6 */ mtctr r12 +/* 802C26A4 002BF604 4E 80 04 21 */ bctrl +/* 802C26A8 002BF608 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C26AC 002BF60C 41 82 00 1C */ beq lbl_802C26C8 +/* 802C26B0 002BF610 7F C3 F3 78 */ mr r3, r30 +/* 802C26B4 002BF614 7F A4 EB 78 */ mr r4, r29 +/* 802C26B8 002BF618 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C26BC 002BF61C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802C26C0 002BF620 7D 89 03 A6 */ mtctr r12 +/* 802C26C4 002BF624 4E 80 04 21 */ bctrl +lbl_802C26C8: +/* 802C26C8 002BF628 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C26CC: +/* 802C26CC 002BF62C 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 802C26D0 002BF630 80 7C 00 38 */ lwz r3, 0x38(r28) +/* 802C26D4 002BF634 54 00 10 3A */ slwi r0, r0, 2 +/* 802C26D8 002BF638 7C 03 02 14 */ add r0, r3, r0 +/* 802C26DC 002BF63C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C26E0 002BF640 40 82 FF B0 */ bne lbl_802C2690 +lbl_802C26E4: +/* 802C26E4 002BF644 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C26E8 002BF648 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C26EC 002BF64C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C26F0 002BF650 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C26F4 002BF654 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C26F8 002BF658 7C 08 03 A6 */ mtlr r0 +/* 802C26FC 002BF65C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C2700 002BF660 4E 80 00 20 */ blr + +.global Update__9CGuiFrameFf +Update__9CGuiFrameFf: +/* 802C2704 002BF664 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2708 002BF668 7C 08 02 A6 */ mflr r0 +/* 802C270C 002BF66C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2710 002BF670 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802C2714 002BF674 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2718 002BF678 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C271C 002BF67C 7D 89 03 A6 */ mtctr r12 +/* 802C2720 002BF680 4E 80 04 21 */ bctrl +/* 802C2724 002BF684 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2728 002BF688 7C 08 03 A6 */ mtlr r0 +/* 802C272C 002BF68C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2730 002BF690 4E 80 00 20 */ blr + +.global Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms: +/* 802C2734 002BF694 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C2738 002BF698 7C 08 02 A6 */ mflr r0 +/* 802C273C 002BF69C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2740 002BF6A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C2744 002BF6A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C2748 002BF6A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C274C 002BF6AC 7C 9D 23 78 */ mr r29, r4 +/* 802C2750 002BF6B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C2754 002BF6B4 7C 7C 1B 78 */ mr r28, r3 +/* 802C2758 002BF6B8 38 60 00 00 */ li r3, 0 +/* 802C275C 002BF6BC 48 04 93 15 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802C2760 002BF6C0 48 04 7B 1D */ bl ResetGfxStates__9CGraphicsFv +/* 802C2764 002BF6C4 48 08 78 49 */ bl White__6CColorFv +/* 802C2768 002BF6C8 48 04 98 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802C276C 002BF6CC 7F 83 E3 78 */ mr r3, r28 +/* 802C2770 002BF6D0 4B FF FD 89 */ bl DisableLights__9CGuiFrameCFv +/* 802C2774 002BF6D4 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 802C2778 002BF6D8 7F A4 EB 78 */ mr r4, r29 +/* 802C277C 002BF6DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2780 002BF6E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C2784 002BF6E4 7D 89 03 A6 */ mtctr r12 +/* 802C2788 002BF6E8 4E 80 04 21 */ bctrl +/* 802C278C 002BF6EC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802C2790 002BF6F0 38 60 00 00 */ li r3, 0 +/* 802C2794 002BF6F4 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802C2798 002BF6F8 48 04 7B 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802C279C 002BF6FC 38 60 00 01 */ li r3, 1 +/* 802C27A0 002BF700 38 80 00 04 */ li r4, 4 +/* 802C27A4 002BF704 38 A0 00 05 */ li r5, 5 +/* 802C27A8 002BF708 38 C0 00 00 */ li r6, 0 +/* 802C27AC 002BF70C 48 04 92 A5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C27B0 002BF710 83 FC 00 38 */ lwz r31, 0x38(r28) +/* 802C27B4 002BF714 48 00 00 40 */ b lbl_802C27F4 +lbl_802C27B8: +/* 802C27B8 002BF718 83 DF 00 00 */ lwz r30, 0(r31) +/* 802C27BC 002BF71C 7F C3 F3 78 */ mr r3, r30 +/* 802C27C0 002BF720 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C27C4 002BF724 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C27C8 002BF728 7D 89 03 A6 */ mtctr r12 +/* 802C27CC 002BF72C 4E 80 04 21 */ bctrl +/* 802C27D0 002BF730 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C27D4 002BF734 41 82 00 1C */ beq lbl_802C27F0 +/* 802C27D8 002BF738 7F C3 F3 78 */ mr r3, r30 +/* 802C27DC 002BF73C 7F A4 EB 78 */ mr r4, r29 +/* 802C27E0 002BF740 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C27E4 002BF744 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C27E8 002BF748 7D 89 03 A6 */ mtctr r12 +/* 802C27EC 002BF74C 4E 80 04 21 */ bctrl +lbl_802C27F0: +/* 802C27F0 002BF750 3B FF 00 04 */ addi r31, r31, 4 +lbl_802C27F4: +/* 802C27F4 002BF754 80 1C 00 30 */ lwz r0, 0x30(r28) +/* 802C27F8 002BF758 80 7C 00 38 */ lwz r3, 0x38(r28) +/* 802C27FC 002BF75C 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2800 002BF760 7C 03 02 14 */ add r0, r3, r0 +/* 802C2804 002BF764 7C 1F 00 40 */ cmplw r31, r0 +/* 802C2808 002BF768 40 82 FF B0 */ bne lbl_802C27B8 +/* 802C280C 002BF76C 38 60 00 01 */ li r3, 1 +/* 802C2810 002BF770 48 04 92 61 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802C2814 002BF774 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C2818 002BF778 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C281C 002BF77C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C2820 002BF780 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C2824 002BF784 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C2828 002BF788 7C 08 03 A6 */ mtlr r0 +/* 802C282C 002BF78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C2830 002BF790 4E 80 00 20 */ blr + +.global Initialize__9CGuiFrameFv +Initialize__9CGuiFrameFv: +/* 802C2834 002BF794 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C2838 002BF798 7C 08 02 A6 */ mflr r0 +/* 802C283C 002BF79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2840 002BF7A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C2844 002BF7A4 7C 7F 1B 78 */ mr r31, r3 +/* 802C2848 002BF7A8 4B FF FB 39 */ bl SortDrawOrder__9CGuiFrameFv +/* 802C284C 002BF7AC 83 FF 00 0C */ lwz r31, 0xc(r31) +/* 802C2850 002BF7B0 7F E3 FB 78 */ mr r3, r31 +/* 802C2854 002BF7B4 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 802C2858 002BF7B8 48 00 80 15 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 802C285C 002BF7BC 7F E3 FB 78 */ mr r3, r31 +/* 802C2860 002BF7C0 48 00 81 05 */ bl DispatchInitialize__10CGuiWidgetFv +/* 802C2864 002BF7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C2868 002BF7C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C286C 002BF7CC 7C 08 03 A6 */ mtlr r0 +/* 802C2870 002BF7D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C2874 002BF7D4 4E 80 00 20 */ blr + +.global LoadWidgetsInGame__9CGuiFrameFR12CInputStream +LoadWidgetsInGame__9CGuiFrameFR12CInputStream: +/* 802C2878 002BF7D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C287C 002BF7DC 7C 08 02 A6 */ mflr r0 +/* 802C2880 002BF7E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2884 002BF7E4 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C2888 002BF7E8 7C 9E 23 78 */ mr r30, r4 +/* 802C288C 002BF7EC 7C 7D 1B 78 */ mr r29, r3 +/* 802C2890 002BF7F0 7C BF 2B 78 */ mr r31, r5 +/* 802C2894 002BF7F4 7F C3 F3 78 */ mr r3, r30 +/* 802C2898 002BF7F8 48 07 C3 ED */ bl ReadLong__12CInputStreamFv +/* 802C289C 002BF7FC 7C 7C 1B 78 */ mr r28, r3 +/* 802C28A0 002BF800 38 7D 00 2C */ addi r3, r29, 0x2c +/* 802C28A4 002BF804 7F 84 E3 78 */ mr r4, r28 +/* 802C28A8 002BF808 48 00 08 59 */ bl "reserve__Q24rstl48vectorFi" +/* 802C28AC 002BF80C 7F 84 E3 78 */ mr r4, r28 +/* 802C28B0 002BF810 38 7D 00 18 */ addi r3, r29, 0x18 +/* 802C28B4 002BF814 48 00 87 F1 */ bl sub_802cb0a4 +/* 802C28B8 002BF818 3B 60 00 00 */ li r27, 0 +/* 802C28BC 002BF81C 48 00 00 CC */ b lbl_802C2988 +lbl_802C28C0: +/* 802C28C0 002BF820 7F C3 F3 78 */ mr r3, r30 +/* 802C28C4 002BF824 48 07 C3 C1 */ bl ReadLong__12CInputStreamFv +/* 802C28C8 002BF828 7F C4 F3 78 */ mr r4, r30 +/* 802C28CC 002BF82C 7F A5 EB 78 */ mr r5, r29 +/* 802C28D0 002BF830 7F E6 FB 78 */ mr r6, r31 +/* 802C28D4 002BF834 48 00 3B 11 */ bl CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame +/* 802C28D8 002BF838 81 83 00 00 */ lwz r12, 0(r3) +/* 802C28DC 002BF83C 7C 7A 1B 78 */ mr r26, r3 +/* 802C28E0 002BF840 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C28E4 002BF844 7D 89 03 A6 */ mtctr r12 +/* 802C28E8 002BF848 4E 80 04 21 */ bctrl +/* 802C28EC 002BF84C 3C 03 BC BF */ addis r0, r3, 0xbcbf +/* 802C28F0 002BF850 28 00 4D 52 */ cmplwi r0, 0x4d52 +/* 802C28F4 002BF854 41 82 00 90 */ beq lbl_802C2984 +/* 802C28F8 002BF858 7F 43 D3 78 */ mr r3, r26 +/* 802C28FC 002BF85C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2900 002BF860 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C2904 002BF864 7D 89 03 A6 */ mtctr r12 +/* 802C2908 002BF868 4E 80 04 21 */ bctrl +/* 802C290C 002BF86C 3C 03 B3 B7 */ addis r0, r3, 0xb3b7 +/* 802C2910 002BF870 28 00 54 45 */ cmplwi r0, 0x5445 +/* 802C2914 002BF874 41 82 00 70 */ beq lbl_802C2984 +/* 802C2918 002BF878 7F 43 D3 78 */ mr r3, r26 +/* 802C291C 002BF87C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C2920 002BF880 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 802C2924 002BF884 7D 89 03 A6 */ mtctr r12 +/* 802C2928 002BF888 4E 80 04 21 */ bctrl +/* 802C292C 002BF88C 3C 03 BD B9 */ addis r0, r3, 0xbdb9 +/* 802C2930 002BF890 28 00 4E 44 */ cmplwi r0, 0x4e44 +/* 802C2934 002BF894 41 82 00 50 */ beq lbl_802C2984 +/* 802C2938 002BF898 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 802C293C 002BF89C 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802C2940 002BF8A0 7C 00 28 00 */ cmpw r0, r5 +/* 802C2944 002BF8A4 41 80 00 1C */ blt lbl_802C2960 +/* 802C2948 002BF8A8 2C 05 00 00 */ cmpwi r5, 0 +/* 802C294C 002BF8AC 38 7D 00 2C */ addi r3, r29, 0x2c +/* 802C2950 002BF8B0 38 80 00 04 */ li r4, 4 +/* 802C2954 002BF8B4 41 82 00 08 */ beq lbl_802C295C +/* 802C2958 002BF8B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802C295C: +/* 802C295C 002BF8BC 48 00 07 A5 */ bl "reserve__Q24rstl48vectorFi" +lbl_802C2960: +/* 802C2960 002BF8C0 80 1D 00 30 */ lwz r0, 0x30(r29) +/* 802C2964 002BF8C4 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 802C2968 002BF8C8 54 00 10 3A */ slwi r0, r0, 2 +/* 802C296C 002BF8CC 7C 63 02 15 */ add. r3, r3, r0 +/* 802C2970 002BF8D0 41 82 00 08 */ beq lbl_802C2978 +/* 802C2974 002BF8D4 93 43 00 00 */ stw r26, 0(r3) +lbl_802C2978: +/* 802C2978 002BF8D8 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 802C297C 002BF8DC 38 03 00 01 */ addi r0, r3, 1 +/* 802C2980 002BF8E0 90 1D 00 30 */ stw r0, 0x30(r29) +lbl_802C2984: +/* 802C2984 002BF8E4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802C2988: +/* 802C2988 002BF8E8 7C 1B E0 00 */ cmpw r27, r28 +/* 802C298C 002BF8EC 41 80 FF 34 */ blt lbl_802C28C0 +/* 802C2990 002BF8F0 7F A3 EB 78 */ mr r3, r29 +/* 802C2994 002BF8F4 4B FF FE A1 */ bl Initialize__9CGuiFrameFv +/* 802C2998 002BF8F8 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C299C 002BF8FC 38 60 00 00 */ li r3, 0 +/* 802C29A0 002BF900 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C29A4 002BF904 7C 08 03 A6 */ mtlr r0 +/* 802C29A8 002BF908 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C29AC 002BF90C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__10CGuiWidgetCFv +GetWidgetTypeID__10CGuiWidgetCFv: +/* 802C29B0 002BF910 3C 60 42 57 */ lis r3, 0x42574947@ha +/* 802C29B4 002BF914 38 63 49 47 */ addi r3, r3, 0x42574947@l +/* 802C29B8 002BF918 4E 80 00 20 */ blr + +.global CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami +CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami: +/* 802C29BC 002BF91C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C29C0 002BF920 7C 08 02 A6 */ mflr r0 +/* 802C29C4 002BF924 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C29C8 002BF928 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 802C29CC 002BF92C 7C BA 2B 78 */ mr r26, r5 +/* 802C29D0 002BF930 7C 78 1B 78 */ mr r24, r3 +/* 802C29D4 002BF934 7C 99 23 78 */ mr r25, r4 +/* 802C29D8 002BF938 7C DB 33 78 */ mr r27, r6 +/* 802C29DC 002BF93C 7F 43 D3 78 */ mr r3, r26 +/* 802C29E0 002BF940 48 07 C2 A5 */ bl ReadLong__12CInputStreamFv +/* 802C29E4 002BF944 7F 43 D3 78 */ mr r3, r26 +/* 802C29E8 002BF948 48 07 C2 9D */ bl ReadLong__12CInputStreamFv +/* 802C29EC 002BF94C 7C 60 1B 78 */ mr r0, r3 +/* 802C29F0 002BF950 7F 43 D3 78 */ mr r3, r26 +/* 802C29F4 002BF954 7C 1E 03 78 */ mr r30, r0 +/* 802C29F8 002BF958 48 07 C2 8D */ bl ReadLong__12CInputStreamFv +/* 802C29FC 002BF95C 7C 60 1B 78 */ mr r0, r3 +/* 802C2A00 002BF960 7F 43 D3 78 */ mr r3, r26 +/* 802C2A04 002BF964 7C 1D 03 78 */ mr r29, r0 +/* 802C2A08 002BF968 48 07 C2 7D */ bl ReadLong__12CInputStreamFv +/* 802C2A0C 002BF96C 7C 60 1B 78 */ mr r0, r3 +/* 802C2A10 002BF970 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2A14 002BF974 38 60 00 5C */ li r3, 0x5c +/* 802C2A18 002BF978 38 A0 00 00 */ li r5, 0 +/* 802C2A1C 002BF97C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2A20 002BF980 7C 1C 03 78 */ mr r28, r0 +/* 802C2A24 002BF984 48 05 2E 49 */ bl __nw__FUlPCcPCc +/* 802C2A28 002BF988 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C2A2C 002BF98C 41 82 00 24 */ beq lbl_802C2A50 +/* 802C2A30 002BF990 7F 04 C3 78 */ mr r4, r24 +/* 802C2A34 002BF994 7F 25 CB 78 */ mr r5, r25 +/* 802C2A38 002BF998 7F C6 F3 78 */ mr r6, r30 +/* 802C2A3C 002BF99C 7F A7 EB 78 */ mr r7, r29 +/* 802C2A40 002BF9A0 7F 88 E3 78 */ mr r8, r28 +/* 802C2A44 002BF9A4 7F 69 DB 78 */ mr r9, r27 +/* 802C2A48 002BF9A8 48 00 01 F1 */ bl __ct__9CGuiFrameFUiR7CGuiSysiiii +/* 802C2A4C 002BF9AC 7C 7F 1B 78 */ mr r31, r3 +lbl_802C2A50: +/* 802C2A50 002BF9B0 93 ED A6 38 */ stw r31, lbl_805A91F8@sda21(r13) +/* 802C2A54 002BF9B4 7F E3 FB 78 */ mr r3, r31 +/* 802C2A58 002BF9B8 7F 44 D3 78 */ mr r4, r26 +/* 802C2A5C 002BF9BC 7F 65 DB 78 */ mr r5, r27 +/* 802C2A60 002BF9C0 4B FF FE 19 */ bl LoadWidgetsInGame__9CGuiFrameFR12CInputStream +/* 802C2A64 002BF9C4 7F E3 FB 78 */ mr r3, r31 +/* 802C2A68 002BF9C8 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 802C2A6C 002BF9CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2A70 002BF9D0 7C 08 03 A6 */ mtlr r0 +/* 802C2A74 002BF9D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2A78 002BF9D8 4E 80 00 20 */ blr + +.global __dt__9CGuiFrameFv +__dt__9CGuiFrameFv: +/* 802C2A7C 002BF9DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C2A80 002BF9E0 7C 08 02 A6 */ mflr r0 +/* 802C2A84 002BF9E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2A88 002BF9E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C2A8C 002BF9EC 7C 9F 23 78 */ mr r31, r4 +/* 802C2A90 002BF9F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C2A94 002BF9F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C2A98 002BF9F8 41 82 00 D4 */ beq lbl_802C2B6C +/* 802C2A9C 002BF9FC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802C2AA0 002BFA00 28 03 00 00 */ cmplwi r3, 0 +/* 802C2AA4 002BFA04 41 82 00 1C */ beq lbl_802C2AC0 +/* 802C2AA8 002BFA08 41 82 00 18 */ beq lbl_802C2AC0 +/* 802C2AAC 002BFA0C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C2AB0 002BFA10 38 80 00 01 */ li r4, 1 +/* 802C2AB4 002BFA14 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C2AB8 002BFA18 7D 89 03 A6 */ mtctr r12 +/* 802C2ABC 002BFA1C 4E 80 04 21 */ bctrl +lbl_802C2AC0: +/* 802C2AC0 002BFA20 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 802C2AC4 002BFA24 41 82 00 44 */ beq lbl_802C2B08 +/* 802C2AC8 002BFA28 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802C2ACC 002BFA2C 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802C2AD0 002BFA30 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2AD4 002BFA34 7C 03 02 14 */ add r0, r3, r0 +/* 802C2AD8 002BFA38 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802C2ADC 002BFA3C 7C 64 1B 78 */ mr r4, r3 +/* 802C2AE0 002BFA40 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2AE4 002BFA44 90 01 00 20 */ stw r0, 0x20(r1) +/* 802C2AE8 002BFA48 90 61 00 18 */ stw r3, 0x18(r1) +/* 802C2AEC 002BFA4C 48 00 00 08 */ b lbl_802C2AF4 +lbl_802C2AF0: +/* 802C2AF0 002BFA50 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2AF4: +/* 802C2AF4 002BFA54 7C 04 00 40 */ cmplw r4, r0 +/* 802C2AF8 002BFA58 40 82 FF F8 */ bne lbl_802C2AF0 +/* 802C2AFC 002BFA5C 28 03 00 00 */ cmplwi r3, 0 +/* 802C2B00 002BFA60 41 82 00 08 */ beq lbl_802C2B08 +/* 802C2B04 002BFA64 48 05 2E 2D */ bl Free__7CMemoryFPCv +lbl_802C2B08: +/* 802C2B08 002BFA68 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 802C2B0C 002BFA6C 41 82 00 44 */ beq lbl_802C2B50 +/* 802C2B10 002BFA70 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802C2B14 002BFA74 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802C2B18 002BFA78 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2B1C 002BFA7C 7C 03 02 14 */ add r0, r3, r0 +/* 802C2B20 002BFA80 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C2B24 002BFA84 7C 64 1B 78 */ mr r4, r3 +/* 802C2B28 002BFA88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2B2C 002BFA8C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C2B30 002BFA90 90 61 00 08 */ stw r3, 8(r1) +/* 802C2B34 002BFA94 48 00 00 08 */ b lbl_802C2B3C +lbl_802C2B38: +/* 802C2B38 002BFA98 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2B3C: +/* 802C2B3C 002BFA9C 7C 04 00 40 */ cmplw r4, r0 +/* 802C2B40 002BFAA0 40 82 FF F8 */ bne lbl_802C2B38 +/* 802C2B44 002BFAA4 28 03 00 00 */ cmplwi r3, 0 +/* 802C2B48 002BFAA8 41 82 00 08 */ beq lbl_802C2B50 +/* 802C2B4C 002BFAAC 48 05 2D E5 */ bl Free__7CMemoryFPCv +lbl_802C2B50: +/* 802C2B50 002BFAB0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802C2B54 002BFAB4 38 80 FF FF */ li r4, -1 +/* 802C2B58 002BFAB8 48 00 00 31 */ bl sub_802c2b88 +/* 802C2B5C 002BFABC 7F E0 07 35 */ extsh. r0, r31 +/* 802C2B60 002BFAC0 40 81 00 0C */ ble lbl_802C2B6C +/* 802C2B64 002BFAC4 7F C3 F3 78 */ mr r3, r30 +/* 802C2B68 002BFAC8 48 05 2D C9 */ bl Free__7CMemoryFPCv +lbl_802C2B6C: +/* 802C2B6C 002BFACC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2B70 002BFAD0 7F C3 F3 78 */ mr r3, r30 +/* 802C2B74 002BFAD4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C2B78 002BFAD8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C2B7C 002BFADC 7C 08 03 A6 */ mtlr r0 +/* 802C2B80 002BFAE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2B84 002BFAE4 4E 80 00 20 */ blr + +.global sub_802c2b88 +sub_802c2b88: +/* 802C2B88 002BFAE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C2B8C 002BFAEC 7C 08 02 A6 */ mflr r0 +/* 802C2B90 002BFAF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2B94 002BFAF4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C2B98 002BFAF8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C2B9C 002BFAFC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C2BA0 002BFB00 7C 9D 23 78 */ mr r29, r4 +/* 802C2BA4 002BFB04 93 81 00 20 */ stw r28, 0x20(r1) +/* 802C2BA8 002BFB08 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C2BAC 002BFB0C 41 82 00 68 */ beq lbl_802C2C14 +/* 802C2BB0 002BFB10 41 82 00 54 */ beq lbl_802C2C04 +/* 802C2BB4 002BFB14 80 1C 00 04 */ lwz r0, 4(r28) +/* 802C2BB8 002BFB18 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802C2BBC 002BFB1C 54 00 20 36 */ slwi r0, r0, 4 +/* 802C2BC0 002BFB20 7F FE 02 14 */ add r31, r30, r0 +/* 802C2BC4 002BFB24 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802C2BC8 002BFB28 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C2BCC 002BFB2C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802C2BD0 002BFB30 93 C1 00 08 */ stw r30, 8(r1) +/* 802C2BD4 002BFB34 48 00 00 18 */ b lbl_802C2BEC +lbl_802C2BD8: +/* 802C2BD8 002BFB38 28 1E 00 00 */ cmplwi r30, 0 +/* 802C2BDC 002BFB3C 41 82 00 0C */ beq lbl_802C2BE8 +/* 802C2BE0 002BFB40 7F C3 F3 78 */ mr r3, r30 +/* 802C2BE4 002BFB44 48 07 AE FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C2BE8: +/* 802C2BE8 002BFB48 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_802C2BEC: +/* 802C2BEC 002BFB4C 7C 1E F8 40 */ cmplw r30, r31 +/* 802C2BF0 002BFB50 40 82 FF E8 */ bne lbl_802C2BD8 +/* 802C2BF4 002BFB54 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802C2BF8 002BFB58 28 03 00 00 */ cmplwi r3, 0 +/* 802C2BFC 002BFB5C 41 82 00 08 */ beq lbl_802C2C04 +/* 802C2C00 002BFB60 48 05 2D 31 */ bl Free__7CMemoryFPCv +lbl_802C2C04: +/* 802C2C04 002BFB64 7F A0 07 35 */ extsh. r0, r29 +/* 802C2C08 002BFB68 40 81 00 0C */ ble lbl_802C2C14 +/* 802C2C0C 002BFB6C 7F 83 E3 78 */ mr r3, r28 +/* 802C2C10 002BFB70 48 05 2D 21 */ bl Free__7CMemoryFPCv +lbl_802C2C14: +/* 802C2C14 002BFB74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C2C18 002BFB78 7F 83 E3 78 */ mr r3, r28 +/* 802C2C1C 002BFB7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C2C20 002BFB80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C2C24 002BFB84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C2C28 002BFB88 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802C2C2C 002BFB8C 7C 08 03 A6 */ mtlr r0 +/* 802C2C30 002BFB90 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C2C34 002BFB94 4E 80 00 20 */ blr + +.global __ct__9CGuiFrameFUiR7CGuiSysiiii +__ct__9CGuiFrameFUiR7CGuiSysiiii: +/* 802C2C38 002BFB98 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C2C3C 002BFB9C 7C 08 02 A6 */ mflr r0 +/* 802C2C40 002BFBA0 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C2C44 002BFBA4 38 00 00 00 */ li r0, 0 +/* 802C2C48 002BFBA8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802C2C4C 002BFBAC 7D 1F 43 78 */ mr r31, r8 +/* 802C2C50 002BFBB0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802C2C54 002BFBB4 7C FE 3B 78 */ mr r30, r7 +/* 802C2C58 002BFBB8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802C2C5C 002BFBBC 7C DD 33 78 */ mr r29, r6 +/* 802C2C60 002BFBC0 93 81 00 50 */ stw r28, 0x50(r1) +/* 802C2C64 002BFBC4 7C 7C 1B 78 */ mr r28, r3 +/* 802C2C68 002BFBC8 90 83 00 00 */ stw r4, 0(r3) +/* 802C2C6C 002BFBCC 90 03 00 04 */ stw r0, 4(r3) +/* 802C2C70 002BFBD0 38 7C 00 18 */ addi r3, r28, 0x18 +/* 802C2C74 002BFBD4 90 BC 00 08 */ stw r5, 8(r28) +/* 802C2C78 002BFBD8 90 1C 00 0C */ stw r0, 0xc(r28) +/* 802C2C7C 002BFBDC 90 1C 00 10 */ stw r0, 0x10(r28) +/* 802C2C80 002BFBE0 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802C2C84 002BFBE4 48 00 84 49 */ bl __ct__14CGuiWidgetIdDBFv +/* 802C2C88 002BFBE8 38 80 00 00 */ li r4, 0 +/* 802C2C8C 002BFBEC 38 00 00 08 */ li r0, 8 +/* 802C2C90 002BFBF0 90 9C 00 30 */ stw r4, 0x30(r28) +/* 802C2C94 002BFBF4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C2C98 002BFBF8 90 9C 00 34 */ stw r4, 0x34(r28) +/* 802C2C9C 002BFBFC 90 9C 00 38 */ stw r4, 0x38(r28) +/* 802C2CA0 002BFC00 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802C2CA4 002BFC04 90 01 00 30 */ stw r0, 0x30(r1) +/* 802C2CA8 002BFC08 40 82 00 0C */ bne lbl_802C2CB4 +/* 802C2CAC 002BFC0C 90 81 00 34 */ stw r4, 0x34(r1) +/* 802C2CB0 002BFC10 48 00 00 18 */ b lbl_802C2CC8 +lbl_802C2CB4: +/* 802C2CB4 002BFC14 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2CB8 002BFC18 38 A0 00 00 */ li r5, 0 +/* 802C2CBC 002BFC1C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2CC0 002BFC20 48 05 2B 59 */ bl __nwa__FUlPCcPCc +/* 802C2CC4 002BFC24 90 61 00 34 */ stw r3, 0x34(r1) +lbl_802C2CC8: +/* 802C2CC8 002BFC28 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802C2CCC 002BFC2C 38 00 00 00 */ li r0, 0 +/* 802C2CD0 002BFC30 28 03 00 00 */ cmplwi r3, 0 +/* 802C2CD4 002BFC34 41 82 00 08 */ beq lbl_802C2CDC +/* 802C2CD8 002BFC38 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CDC: +/* 802C2CDC 002BFC3C 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CE0 002BFC40 41 82 00 08 */ beq lbl_802C2CE8 +/* 802C2CE4 002BFC44 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CE8: +/* 802C2CE8 002BFC48 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CEC 002BFC4C 41 82 00 08 */ beq lbl_802C2CF4 +/* 802C2CF0 002BFC50 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2CF4: +/* 802C2CF4 002BFC54 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2CF8 002BFC58 41 82 00 08 */ beq lbl_802C2D00 +/* 802C2CFC 002BFC5C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D00: +/* 802C2D00 002BFC60 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D04 002BFC64 41 82 00 08 */ beq lbl_802C2D0C +/* 802C2D08 002BFC68 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D0C: +/* 802C2D0C 002BFC6C 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D10 002BFC70 41 82 00 08 */ beq lbl_802C2D18 +/* 802C2D14 002BFC74 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D18: +/* 802C2D18 002BFC78 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D1C 002BFC7C 41 82 00 08 */ beq lbl_802C2D24 +/* 802C2D20 002BFC80 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D24: +/* 802C2D24 002BFC84 34 63 00 04 */ addic. r3, r3, 4 +/* 802C2D28 002BFC88 41 82 00 08 */ beq lbl_802C2D30 +/* 802C2D2C 002BFC8C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2D30: +/* 802C2D30 002BFC90 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802C2D34 002BFC94 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802C2D38 002BFC98 90 7C 00 40 */ stw r3, 0x40(r28) +/* 802C2D3C 002BFC9C 2C 03 00 00 */ cmpwi r3, 0 +/* 802C2D40 002BFCA0 90 1C 00 44 */ stw r0, 0x44(r28) +/* 802C2D44 002BFCA4 40 82 00 18 */ bne lbl_802C2D5C +/* 802C2D48 002BFCA8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2D4C 002BFCAC 40 82 00 10 */ bne lbl_802C2D5C +/* 802C2D50 002BFCB0 38 00 00 00 */ li r0, 0 +/* 802C2D54 002BFCB4 90 1C 00 48 */ stw r0, 0x48(r28) +/* 802C2D58 002BFCB8 48 00 00 64 */ b lbl_802C2DBC +lbl_802C2D5C: +/* 802C2D5C 002BFCBC 80 1C 00 44 */ lwz r0, 0x44(r28) +/* 802C2D60 002BFCC0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C2D64 002BFCC4 40 82 00 10 */ bne lbl_802C2D74 +/* 802C2D68 002BFCC8 38 00 00 00 */ li r0, 0 +/* 802C2D6C 002BFCCC 90 1C 00 48 */ stw r0, 0x48(r28) +/* 802C2D70 002BFCD0 48 00 00 18 */ b lbl_802C2D88 +lbl_802C2D74: +/* 802C2D74 002BFCD4 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C2D78 002BFCD8 38 A0 00 00 */ li r5, 0 +/* 802C2D7C 002BFCDC 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C2D80 002BFCE0 48 05 2A 99 */ bl __nwa__FUlPCcPCc +/* 802C2D84 002BFCE4 90 7C 00 48 */ stw r3, 0x48(r28) +lbl_802C2D88: +/* 802C2D88 002BFCE8 80 1C 00 40 */ lwz r0, 0x40(r28) +/* 802C2D8C 002BFCEC 80 81 00 34 */ lwz r4, 0x34(r1) +/* 802C2D90 002BFCF0 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 802C2D94 002BFCF4 7C 09 03 A6 */ mtctr r0 +/* 802C2D98 002BFCF8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C2D9C 002BFCFC 40 81 00 20 */ ble lbl_802C2DBC +lbl_802C2DA0: +/* 802C2DA0 002BFD00 28 03 00 00 */ cmplwi r3, 0 +/* 802C2DA4 002BFD04 41 82 00 0C */ beq lbl_802C2DB0 +/* 802C2DA8 002BFD08 80 04 00 00 */ lwz r0, 0(r4) +/* 802C2DAC 002BFD0C 90 03 00 00 */ stw r0, 0(r3) +lbl_802C2DB0: +/* 802C2DB0 002BFD10 38 63 00 04 */ addi r3, r3, 4 +/* 802C2DB4 002BFD14 38 84 00 04 */ addi r4, r4, 4 +/* 802C2DB8 002BFD18 42 00 FF E8 */ bdnz lbl_802C2DA0 +lbl_802C2DBC: +/* 802C2DBC 002BFD1C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802C2DC0 002BFD20 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802C2DC4 002BFD24 54 00 10 3A */ slwi r0, r0, 2 +/* 802C2DC8 002BFD28 7C 03 02 14 */ add r0, r3, r0 +/* 802C2DCC 002BFD2C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802C2DD0 002BFD30 7C 64 1B 78 */ mr r4, r3 +/* 802C2DD4 002BFD34 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C2DD8 002BFD38 90 01 00 20 */ stw r0, 0x20(r1) +/* 802C2DDC 002BFD3C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802C2DE0 002BFD40 48 00 00 08 */ b lbl_802C2DE8 +lbl_802C2DE4: +/* 802C2DE4 002BFD44 38 84 00 04 */ addi r4, r4, 4 +lbl_802C2DE8: +/* 802C2DE8 002BFD48 7C 04 00 40 */ cmplw r4, r0 +/* 802C2DEC 002BFD4C 40 82 FF F8 */ bne lbl_802C2DE4 +/* 802C2DF0 002BFD50 28 03 00 00 */ cmplwi r3, 0 +/* 802C2DF4 002BFD54 41 82 00 08 */ beq lbl_802C2DFC +/* 802C2DF8 002BFD58 48 05 2B 39 */ bl Free__7CMemoryFPCv +lbl_802C2DFC: +/* 802C2DFC 002BFD5C 93 BC 00 4C */ stw r29, 0x4c(r28) +/* 802C2E00 002BFD60 3C 60 80 3D */ lis r3, lbl_803D6890@ha +/* 802C2E04 002BFD64 38 83 68 90 */ addi r4, r3, lbl_803D6890@l +/* 802C2E08 002BFD68 38 C0 00 00 */ li r6, 0 +/* 802C2E0C 002BFD6C 93 DC 00 50 */ stw r30, 0x50(r28) +/* 802C2E10 002BFD70 38 60 00 B8 */ li r3, 0xb8 +/* 802C2E14 002BFD74 38 A0 00 00 */ li r5, 0 +/* 802C2E18 002BFD78 93 FC 00 54 */ stw r31, 0x54(r28) +/* 802C2E1C 002BFD7C 88 1C 00 58 */ lbz r0, 0x58(r28) +/* 802C2E20 002BFD80 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802C2E24 002BFD84 98 1C 00 58 */ stb r0, 0x58(r28) +/* 802C2E28 002BFD88 48 05 2A 45 */ bl __nw__FUlPCcPCc +/* 802C2E2C 002BFD8C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C2E30 002BFD90 41 82 00 74 */ beq lbl_802C2EA4 +/* 802C2E34 002BFD94 80 7C 00 08 */ lwz r3, 8(r28) +/* 802C2E38 002BFD98 AB E2 C4 10 */ lha r31, lbl_805AE130@sda21(r2) +/* 802C2E3C 002BFD9C 80 03 00 08 */ lwz r0, 8(r3) +/* 802C2E40 002BFDA0 7C 00 00 34 */ cntlzw r0, r0 +/* 802C2E44 002BFDA4 54 1E D9 7E */ srwi r30, r0, 5 +/* 802C2E48 002BFDA8 48 08 71 65 */ bl White__6CColorFv +/* 802C2E4C 002BFDAC 90 61 00 08 */ stw r3, 8(r1) +/* 802C2E50 002BFDB0 38 80 00 02 */ li r4, 2 +/* 802C2E54 002BFDB4 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 802C2E58 002BFDB8 38 60 00 00 */ li r3, 0 +/* 802C2E5C 002BFDBC 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C2E60 002BFDC0 7C 00 00 34 */ cntlzw r0, r0 +/* 802C2E64 002BFDC4 54 00 D9 7E */ srwi r0, r0, 5 +/* 802C2E68 002BFDC8 7F 84 E3 78 */ mr r4, r28 +/* 802C2E6C 002BFDCC 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C2E70 002BFDD0 7F E6 FB 78 */ mr r6, r31 +/* 802C2E74 002BFDD4 7F E7 FB 78 */ mr r7, r31 +/* 802C2E78 002BFDD8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C2E7C 002BFDDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C2E80 002BFDE0 38 A0 00 00 */ li r5, 0 +/* 802C2E84 002BFDE4 39 00 00 00 */ li r8, 0 +/* 802C2E88 002BFDE8 39 20 00 00 */ li r9, 0 +/* 802C2E8C 002BFDEC 39 40 00 00 */ li r10, 0 +/* 802C2E90 002BFDF0 48 00 80 A1 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb +/* 802C2E94 002BFDF4 7C 64 1B 78 */ mr r4, r3 +/* 802C2E98 002BFDF8 7F A3 EB 78 */ mr r3, r29 +/* 802C2E9C 002BFDFC 48 00 7D 89 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C2EA0 002BFE00 7C 7D 1B 78 */ mr r29, r3 +lbl_802C2EA4: +/* 802C2EA4 002BFE04 93 BC 00 10 */ stw r29, 0x10(r28) +/* 802C2EA8 002BFE08 7F 83 E3 78 */ mr r3, r28 +/* 802C2EAC 002BFE0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C2EB0 002BFE10 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802C2EB4 002BFE14 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802C2EB8 002BFE18 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802C2EBC 002BFE1C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802C2EC0 002BFE20 7C 08 03 A6 */ mtlr r0 +/* 802C2EC4 002BFE24 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C2EC8 002BFE28 4E 80 00 20 */ blr + +.global "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +"sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera": +/* 802C2ECC 002BFE2C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802C2ED0 002BFE30 7C 08 02 A6 */ mflr r0 +/* 802C2ED4 002BFE34 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802C2ED8 002BFE38 BF 61 00 AC */ stmw r27, 0xac(r1) +/* 802C2EDC 002BFE3C 7C 7C 1B 78 */ mr r28, r3 +/* 802C2EE0 002BFE40 7C BE 2B 78 */ mr r30, r5 +/* 802C2EE4 002BFE44 7C 9D 23 78 */ mr r29, r4 +/* 802C2EE8 002BFE48 80 63 00 00 */ lwz r3, 0(r3) +/* 802C2EEC 002BFE4C 80 A4 00 00 */ lwz r5, 0(r4) +/* 802C2EF0 002BFE50 7C 03 28 50 */ subf r0, r3, r5 +/* 802C2EF4 002BFE54 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C2EF8 002BFE58 7C 80 01 94 */ addze r4, r0 +/* 802C2EFC 002BFE5C 2C 04 00 01 */ cmpwi r4, 1 +/* 802C2F00 002BFE60 40 81 01 EC */ ble lbl_802C30EC +/* 802C2F04 002BFE64 2C 04 00 14 */ cmpwi r4, 0x14 +/* 802C2F08 002BFE68 41 81 00 30 */ bgt lbl_802C2F38 +/* 802C2F0C 002BFE6C 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C2F10 002BFE70 38 61 00 34 */ addi r3, r1, 0x34 +/* 802C2F14 002BFE74 80 DD 00 00 */ lwz r6, 0(r29) +/* 802C2F18 002BFE78 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C2F1C 002BFE7C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C2F20 002BFE80 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C2F24 002BFE84 98 E1 00 14 */ stb r7, 0x14(r1) +/* 802C2F28 002BFE88 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802C2F2C 002BFE8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C2F30 002BFE90 48 00 03 B1 */ bl sub_802c32e0 +/* 802C2F34 002BFE94 48 00 01 B8 */ b lbl_802C30EC +lbl_802C2F38: +/* 802C2F38 002BFE98 54 80 0F FE */ srwi r0, r4, 0x1f +/* 802C2F3C 002BFE9C 38 A5 FF FC */ addi r5, r5, -4 +/* 802C2F40 002BFEA0 7C 80 22 14 */ add r4, r0, r4 +/* 802C2F44 002BFEA4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802C2F48 002BFEA8 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C2F4C 002BFEAC 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802C2F50 002BFEB0 54 84 10 3A */ slwi r4, r4, 2 +/* 802C2F54 002BFEB4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C2F58 002BFEB8 7F 63 22 14 */ add r27, r3, r4 +/* 802C2F5C 002BFEBC 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C2F60 002BFEC0 7F 64 DB 78 */ mr r4, r27 +/* 802C2F64 002BFEC4 48 00 02 89 */ bl sub_802c31ec +/* 802C2F68 002BFEC8 80 9C 00 00 */ lwz r4, 0(r28) +/* 802C2F6C 002BFECC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C2F70 002BFED0 38 84 00 04 */ addi r4, r4, 4 +/* 802C2F74 002BFED4 83 FB 00 00 */ lwz r31, 0(r27) +/* 802C2F78 002BFED8 38 03 FF FC */ addi r0, r3, -4 +/* 802C2F7C 002BFEDC 90 81 00 38 */ stw r4, 0x38(r1) +/* 802C2F80 002BFEE0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802C2F84 002BFEE4 48 00 00 10 */ b lbl_802C2F94 +lbl_802C2F88: +/* 802C2F88 002BFEE8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802C2F8C 002BFEEC 38 03 00 04 */ addi r0, r3, 4 +/* 802C2F90 002BFEF0 90 01 00 38 */ stw r0, 0x38(r1) +lbl_802C2F94: +/* 802C2F94 002BFEF4 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802C2F98 002BFEF8 38 61 00 88 */ addi r3, r1, 0x88 +/* 802C2F9C 002BFEFC 80 84 00 00 */ lwz r4, 0(r4) +/* 802C2FA0 002BFF00 48 00 22 99 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C2FA4 002BFF04 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 802C2FA8 002BFF08 7F E4 FB 78 */ mr r4, r31 +/* 802C2FAC 002BFF0C C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 802C2FB0 002BFF10 38 61 00 94 */ addi r3, r1, 0x94 +/* 802C2FB4 002BFF14 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 802C2FB8 002BFF18 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802C2FBC 002BFF1C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802C2FC0 002BFF20 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802C2FC4 002BFF24 48 00 22 75 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C2FC8 002BFF28 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802C2FCC 002BFF2C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802C2FD0 002BFF30 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802C2FD4 002BFF34 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802C2FD8 002BFF38 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C2FDC 002BFF3C D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 802C2FE0 002BFF40 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802C2FE4 002BFF44 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802C2FE8 002BFF48 41 81 FF A0 */ bgt lbl_802C2F88 +/* 802C2FEC 002BFF4C 48 00 00 10 */ b lbl_802C2FFC +lbl_802C2FF0: +/* 802C2FF0 002BFF50 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C2FF4 002BFF54 38 03 FF FC */ addi r0, r3, -4 +/* 802C2FF8 002BFF58 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_802C2FFC: +/* 802C2FFC 002BFF5C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802C3000 002BFF60 7F E4 FB 78 */ mr r4, r31 +/* 802C3004 002BFF64 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C3008 002BFF68 83 65 00 00 */ lwz r27, 0(r5) +/* 802C300C 002BFF6C 48 00 22 2D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3010 002BFF70 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802C3014 002BFF74 7F 64 DB 78 */ mr r4, r27 +/* 802C3018 002BFF78 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802C301C 002BFF7C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802C3020 002BFF80 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802C3024 002BFF84 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802C3028 002BFF88 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802C302C 002BFF8C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802C3030 002BFF90 48 00 22 09 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3034 002BFF94 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802C3038 002BFF98 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802C303C 002BFF9C C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802C3040 002BFFA0 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802C3044 002BFFA4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C3048 002BFFA8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802C304C 002BFFAC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802C3050 002BFFB0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802C3054 002BFFB4 41 81 FF 9C */ bgt lbl_802C2FF0 +/* 802C3058 002BFFB8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802C305C 002BFFBC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802C3060 002BFFC0 7C 03 00 40 */ cmplw r3, r0 +/* 802C3064 002BFFC4 40 80 00 38 */ bge lbl_802C309C +/* 802C3068 002BFFC8 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 802C306C 002BFFCC 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 802C3070 002BFFD0 80 86 00 00 */ lwz r4, 0(r6) +/* 802C3074 002BFFD4 38 06 FF FC */ addi r0, r6, -4 +/* 802C3078 002BFFD8 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C307C 002BFFDC 38 65 00 04 */ addi r3, r5, 4 +/* 802C3080 002BFFE0 90 C1 00 28 */ stw r6, 0x28(r1) +/* 802C3084 002BFFE4 90 85 00 00 */ stw r4, 0(r5) +/* 802C3088 002BFFE8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 802C308C 002BFFEC 90 E6 00 00 */ stw r7, 0(r6) +/* 802C3090 002BFFF0 90 61 00 38 */ stw r3, 0x38(r1) +/* 802C3094 002BFFF4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802C3098 002BFFF8 4B FF FE FC */ b lbl_802C2F94 +lbl_802C309C: +/* 802C309C 002BFFFC 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C30A0 002C0000 38 61 00 24 */ addi r3, r1, 0x24 +/* 802C30A4 002C0004 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 802C30A8 002C0008 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C30AC 002C000C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C30B0 002C0010 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C30B4 002C0014 98 E1 00 0C */ stb r7, 0xc(r1) +/* 802C30B8 002C0018 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802C30BC 002C001C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C30C0 002C0020 4B FF FE 0D */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +/* 802C30C4 002C0024 88 FE 00 00 */ lbz r7, 0(r30) +/* 802C30C8 002C0028 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C30CC 002C002C 80 DD 00 00 */ lwz r6, 0(r29) +/* 802C30D0 002C0030 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C30D4 002C0034 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802C30D8 002C0038 38 A1 00 08 */ addi r5, r1, 8 +/* 802C30DC 002C003C 98 E1 00 08 */ stb r7, 8(r1) +/* 802C30E0 002C0040 90 C1 00 18 */ stw r6, 0x18(r1) +/* 802C30E4 002C0044 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C30E8 002C0048 4B FF FD E5 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" +lbl_802C30EC: +/* 802C30EC 002C004C BB 61 00 AC */ lmw r27, 0xac(r1) +/* 802C30F0 002C0050 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802C30F4 002C0054 7C 08 03 A6 */ mtlr r0 +/* 802C30F8 002C0058 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802C30FC 002C005C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vectorFi" +"reserve__Q24rstl48vectorFi": +/* 802C3100 002C0060 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C3104 002C0064 7C 08 02 A6 */ mflr r0 +/* 802C3108 002C0068 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C310C 002C006C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C3110 002C0070 7C 9F 23 78 */ mr r31, r4 +/* 802C3114 002C0074 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C3118 002C0078 7C 7E 1B 78 */ mr r30, r3 +/* 802C311C 002C007C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C3120 002C0080 80 03 00 08 */ lwz r0, 8(r3) +/* 802C3124 002C0084 7C 1F 00 00 */ cmpw r31, r0 +/* 802C3128 002C0088 40 81 00 A8 */ ble lbl_802C31D0 +/* 802C312C 002C008C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802C3130 002C0090 40 82 00 0C */ bne lbl_802C313C +/* 802C3134 002C0094 3B A0 00 00 */ li r29, 0 +/* 802C3138 002C0098 48 00 00 18 */ b lbl_802C3150 +lbl_802C313C: +/* 802C313C 002C009C 3C 80 80 3D */ lis r4, lbl_803D6890@ha +/* 802C3140 002C00A0 38 A0 00 00 */ li r5, 0 +/* 802C3144 002C00A4 38 84 68 90 */ addi r4, r4, lbl_803D6890@l +/* 802C3148 002C00A8 48 05 26 D1 */ bl __nwa__FUlPCcPCc +/* 802C314C 002C00AC 7C 7D 1B 78 */ mr r29, r3 +lbl_802C3150: +/* 802C3150 002C00B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C3154 002C00B4 7F A4 EB 78 */ mr r4, r29 +/* 802C3158 002C00B8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C315C 002C00BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802C3160 002C00C0 7C 65 02 14 */ add r3, r5, r0 +/* 802C3164 002C00C4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C3168 002C00C8 90 61 00 08 */ stw r3, 8(r1) +/* 802C316C 002C00CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C3170 002C00D0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C3174 002C00D4 48 00 00 1C */ b lbl_802C3190 +lbl_802C3178: +/* 802C3178 002C00D8 28 04 00 00 */ cmplwi r4, 0 +/* 802C317C 002C00DC 41 82 00 0C */ beq lbl_802C3188 +/* 802C3180 002C00E0 80 05 00 00 */ lwz r0, 0(r5) +/* 802C3184 002C00E4 90 04 00 00 */ stw r0, 0(r4) +lbl_802C3188: +/* 802C3188 002C00E8 38 84 00 04 */ addi r4, r4, 4 +/* 802C318C 002C00EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C3190: +/* 802C3190 002C00F0 7C 05 18 40 */ cmplw r5, r3 +/* 802C3194 002C00F4 40 82 FF E4 */ bne lbl_802C3178 +/* 802C3198 002C00F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C319C 002C00FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C31A0 002C0100 54 00 10 3A */ slwi r0, r0, 2 +/* 802C31A4 002C0104 7C 64 1B 78 */ mr r4, r3 +/* 802C31A8 002C0108 7C 03 02 14 */ add r0, r3, r0 +/* 802C31AC 002C010C 48 00 00 08 */ b lbl_802C31B4 +lbl_802C31B0: +/* 802C31B0 002C0110 38 84 00 04 */ addi r4, r4, 4 +lbl_802C31B4: +/* 802C31B4 002C0114 7C 04 00 40 */ cmplw r4, r0 +/* 802C31B8 002C0118 40 82 FF F8 */ bne lbl_802C31B0 +/* 802C31BC 002C011C 28 03 00 00 */ cmplwi r3, 0 +/* 802C31C0 002C0120 41 82 00 08 */ beq lbl_802C31C8 +/* 802C31C4 002C0124 48 05 27 6D */ bl Free__7CMemoryFPCv +lbl_802C31C8: +/* 802C31C8 002C0128 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C31CC 002C012C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C31D0: +/* 802C31D0 002C0130 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C31D4 002C0134 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C31D8 002C0138 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C31DC 002C013C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C31E0 002C0140 7C 08 03 A6 */ mtlr r0 +/* 802C31E4 002C0144 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C31E8 002C0148 4E 80 00 20 */ blr + +.global sub_802c31ec +sub_802c31ec: +/* 802C31EC 002C014C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C31F0 002C0150 7C 08 02 A6 */ mflr r0 +/* 802C31F4 002C0154 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C31F8 002C0158 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802C31FC 002C015C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802C3200 002C0160 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 802C3204 002C0164 7C 7B 1B 78 */ mr r27, r3 +/* 802C3208 002C0168 7C 9C 23 78 */ mr r28, r4 +/* 802C320C 002C016C 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C3210 002C0170 7C BD 2B 78 */ mr r29, r5 +/* 802C3214 002C0174 80 84 00 00 */ lwz r4, 0(r4) +/* 802C3218 002C0178 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C321C 002C017C 48 00 20 1D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3220 002C0180 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 802C3224 002C0184 7F E4 FB 78 */ mr r4, r31 +/* 802C3228 002C0188 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C322C 002C018C 48 00 20 0D */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3230 002C0190 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802C3234 002C0194 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C3238 002C0198 40 81 00 14 */ ble lbl_802C324C +/* 802C323C 002C019C 80 7B 00 00 */ lwz r3, 0(r27) +/* 802C3240 002C01A0 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C3244 002C01A4 90 1B 00 00 */ stw r0, 0(r27) +/* 802C3248 002C01A8 90 7C 00 00 */ stw r3, 0(r28) +lbl_802C324C: +/* 802C324C 002C01AC 83 FC 00 00 */ lwz r31, 0(r28) +/* 802C3250 002C01B0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C3254 002C01B4 80 9D 00 00 */ lwz r4, 0(r29) +/* 802C3258 002C01B8 48 00 1F E1 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C325C 002C01BC C3 E1 00 24 */ lfs f31, 0x24(r1) +/* 802C3260 002C01C0 7F E4 FB 78 */ mr r4, r31 +/* 802C3264 002C01C4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C3268 002C01C8 48 00 1F D1 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C326C 002C01CC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802C3270 002C01D0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C3274 002C01D4 40 81 00 50 */ ble lbl_802C32C4 +/* 802C3278 002C01D8 83 DD 00 00 */ lwz r30, 0(r29) +/* 802C327C 002C01DC 38 61 00 08 */ addi r3, r1, 8 +/* 802C3280 002C01E0 80 1C 00 00 */ lwz r0, 0(r28) +/* 802C3284 002C01E4 7F C4 F3 78 */ mr r4, r30 +/* 802C3288 002C01E8 90 1D 00 00 */ stw r0, 0(r29) +/* 802C328C 002C01EC 83 FB 00 00 */ lwz r31, 0(r27) +/* 802C3290 002C01F0 48 00 1F A9 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3294 002C01F4 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 802C3298 002C01F8 7F E4 FB 78 */ mr r4, r31 +/* 802C329C 002C01FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C32A0 002C0200 48 00 1F 99 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C32A4 002C0204 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802C32A8 002C0208 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802C32AC 002C020C 40 81 00 14 */ ble lbl_802C32C0 +/* 802C32B0 002C0210 80 1B 00 00 */ lwz r0, 0(r27) +/* 802C32B4 002C0214 90 1C 00 00 */ stw r0, 0(r28) +/* 802C32B8 002C0218 93 DB 00 00 */ stw r30, 0(r27) +/* 802C32BC 002C021C 48 00 00 08 */ b lbl_802C32C4 +lbl_802C32C0: +/* 802C32C0 002C0220 93 DC 00 00 */ stw r30, 0(r28) +lbl_802C32C4: +/* 802C32C4 002C0224 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802C32C8 002C0228 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802C32CC 002C022C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802C32D0 002C0230 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C32D4 002C0234 7C 08 03 A6 */ mtlr r0 +/* 802C32D8 002C0238 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C32DC 002C023C 4E 80 00 20 */ blr + +.global sub_802c32e0 +sub_802c32e0: +/* 802C32E0 002C0240 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802C32E4 002C0244 7C 08 02 A6 */ mflr r0 +/* 802C32E8 002C0248 90 01 00 64 */ stw r0, 0x64(r1) +/* 802C32EC 002C024C BF 21 00 44 */ stmw r25, 0x44(r1) +/* 802C32F0 002C0250 7C 79 1B 78 */ mr r25, r3 +/* 802C32F4 002C0254 7C 9A 23 78 */ mr r26, r4 +/* 802C32F8 002C0258 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C32FC 002C025C 3B DE 00 04 */ addi r30, r30, 4 +/* 802C3300 002C0260 48 00 00 90 */ b lbl_802C3390 +lbl_802C3304: +/* 802C3304 002C0264 83 7E 00 00 */ lwz r27, 0(r30) +/* 802C3308 002C0268 7F DC F3 78 */ mr r28, r30 +/* 802C330C 002C026C 3B BE FF FC */ addi r29, r30, -4 +/* 802C3310 002C0270 48 00 00 14 */ b lbl_802C3324 +lbl_802C3314: +/* 802C3314 002C0274 80 1D 00 00 */ lwz r0, 0(r29) +/* 802C3318 002C0278 3B BD FF FC */ addi r29, r29, -4 +/* 802C331C 002C027C 90 1C 00 00 */ stw r0, 0(r28) +/* 802C3320 002C0280 3B 9C FF FC */ addi r28, r28, -4 +lbl_802C3324: +/* 802C3324 002C0284 80 19 00 00 */ lwz r0, 0(r25) +/* 802C3328 002C0288 7C 00 E0 40 */ cmplw r0, r28 +/* 802C332C 002C028C 40 80 00 5C */ bge lbl_802C3388 +/* 802C3330 002C0290 83 FD 00 00 */ lwz r31, 0(r29) +/* 802C3334 002C0294 7F 64 DB 78 */ mr r4, r27 +/* 802C3338 002C0298 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C333C 002C029C 48 00 1E FD */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3340 002C02A0 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802C3344 002C02A4 7F E4 FB 78 */ mr r4, r31 +/* 802C3348 002C02A8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802C334C 002C02AC 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C3350 002C02B0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802C3354 002C02B4 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C3358 002C02B8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C335C 002C02BC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C3360 002C02C0 48 00 1E D9 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C3364 002C02C4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802C3368 002C02C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802C336C 002C02CC C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802C3370 002C02D0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802C3374 002C02D4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C3378 002C02D8 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802C337C 002C02DC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802C3380 002C02E0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802C3384 002C02E4 41 81 FF 90 */ bgt lbl_802C3314 +lbl_802C3388: +/* 802C3388 002C02E8 93 7C 00 00 */ stw r27, 0(r28) +/* 802C338C 002C02EC 3B DE 00 04 */ addi r30, r30, 4 +lbl_802C3390: +/* 802C3390 002C02F0 80 1A 00 00 */ lwz r0, 0(r26) +/* 802C3394 002C02F4 7C 1E 00 40 */ cmplw r30, r0 +/* 802C3398 002C02F8 41 80 FF 6C */ blt lbl_802C3304 +/* 802C339C 002C02FC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 802C33A0 002C0300 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802C33A4 002C0304 7C 08 03 A6 */ mtlr r0 +/* 802C33A8 002C0308 38 21 00 60 */ addi r1, r1, 0x60 +/* 802C33AC 002C030C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__9CGuiGroupCFv +GetWidgetTypeID__9CGuiGroupCFv: +/* 802C33B0 002C0310 3C 60 47 52 */ lis r3, 0x47525550@ha +/* 802C33B4 002C0314 38 63 55 50 */ addi r3, r3, 0x47525550@l +/* 802C33B8 002C0318 4E 80 00 20 */ blr + +.global GetSelectedWidget__9CGuiGroupFv +GetSelectedWidget__9CGuiGroupFv: +/* 802C33BC 002C031C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C33C0 002C0320 7C 08 02 A6 */ mflr r0 +/* 802C33C4 002C0324 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C33C8 002C0328 81 83 00 00 */ lwz r12, 0(r3) +/* 802C33CC 002C032C 80 83 00 BC */ lwz r4, 0xbc(r3) +/* 802C33D0 002C0330 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C33D4 002C0334 7D 89 03 A6 */ mtctr r12 +/* 802C33D8 002C0338 4E 80 04 21 */ bctrl +/* 802C33DC 002C033C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C33E0 002C0340 7C 08 03 A6 */ mtlr r0 +/* 802C33E4 002C0344 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C33E8 002C0348 4E 80 00 20 */ blr + +.global AddWorkerWidget__9CGuiGroupFP10CGuiWidget +AddWorkerWidget__9CGuiGroupFP10CGuiWidget: +/* 802C33EC 002C034C 80 83 00 B8 */ lwz r4, 0xb8(r3) +/* 802C33F0 002C0350 38 04 00 01 */ addi r0, r4, 1 +/* 802C33F4 002C0354 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 802C33F8 002C0358 38 60 00 01 */ li r3, 1 +/* 802C33FC 002C035C 4E 80 00 20 */ blr + +.global OnActivate__9CGuiGroupFv +OnActivate__9CGuiGroupFv: +/* 802C3400 002C0360 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3404 002C0364 7C 08 02 A6 */ mflr r0 +/* 802C3408 002C0368 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C340C 002C036C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3410 002C0370 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3414 002C0374 7C 7E 1B 78 */ mr r30, r3 +/* 802C3418 002C0378 4B FF FF A5 */ bl GetSelectedWidget__9CGuiGroupFv +/* 802C341C 002C037C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C3420 002C0380 41 82 00 24 */ beq lbl_802C3444 +/* 802C3424 002C0384 7F C3 F3 78 */ mr r3, r30 +/* 802C3428 002C0388 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C342C 002C038C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C3430 002C0390 7D 89 03 A6 */ mtctr r12 +/* 802C3434 002C0394 4E 80 04 21 */ bctrl +/* 802C3438 002C0398 7C 64 1B 78 */ mr r4, r3 +/* 802C343C 002C039C 7F E3 FB 78 */ mr r3, r31 +/* 802C3440 002C03A0 48 00 71 A5 */ bl SetIsActive__10CGuiWidgetFb +lbl_802C3444: +/* 802C3444 002C03A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3448 002C03A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C344C 002C03AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3450 002C03B0 7C 08 03 A6 */ mtlr r0 +/* 802C3454 002C03B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3458 002C03B8 4E 80 00 20 */ blr + +.global __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib +__ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib: +/* 802C345C 002C03BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C3460 002C03C0 7C 08 02 A6 */ mflr r0 +/* 802C3464 002C03C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C3468 002C03C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C346C 002C03CC 7C DF 33 78 */ mr r31, r6 +/* 802C3470 002C03D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C3474 002C03D4 7C BE 2B 78 */ mr r30, r5 +/* 802C3478 002C03D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C347C 002C03DC 7C 7D 1B 78 */ mr r29, r3 +/* 802C3480 002C03E0 4B FF E7 11 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C3484 002C03E4 3C 60 80 3F */ lis r3, lbl_803EC7C8@ha +/* 802C3488 002C03E8 38 00 00 00 */ li r0, 0 +/* 802C348C 002C03EC 38 83 C7 C8 */ addi r4, r3, lbl_803EC7C8@l +/* 802C3490 002C03F0 7F A3 EB 78 */ mr r3, r29 +/* 802C3494 002C03F4 90 9D 00 00 */ stw r4, 0(r29) +/* 802C3498 002C03F8 90 1D 00 B8 */ stw r0, 0xb8(r29) +/* 802C349C 002C03FC 93 DD 00 BC */ stw r30, 0xbc(r29) +/* 802C34A0 002C0400 9B FD 00 C0 */ stb r31, 0xc0(r29) +/* 802C34A4 002C0404 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C34A8 002C0408 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C34AC 002C040C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C34B0 002C0410 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C34B4 002C0414 7C 08 03 A6 */ mtlr r0 +/* 802C34B8 002C0418 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C34BC 002C041C 4E 80 00 20 */ blr + +.global Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb +Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb: +/* 802C34C0 002C0420 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C34C4 002C0424 7C 08 02 A6 */ mflr r0 +/* 802C34C8 002C0428 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C34CC 002C042C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802C34D0 002C0430 7C 7E 1B 78 */ mr r30, r3 +/* 802C34D4 002C0434 7C 9F 23 78 */ mr r31, r4 +/* 802C34D8 002C0438 38 61 00 08 */ addi r3, r1, 8 +/* 802C34DC 002C043C 7F C4 F3 78 */ mr r4, r30 +/* 802C34E0 002C0440 7F E5 FB 78 */ mr r5, r31 +/* 802C34E4 002C0444 48 00 78 6D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C34E8 002C0448 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C34EC 002C044C 7F E3 FB 78 */ mr r3, r31 +/* 802C34F0 002C0450 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C34F4 002C0454 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C34F8 002C0458 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C34FC 002C045C 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C3500 002C0460 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C3504 002C0464 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C3508 002C0468 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C350C 002C046C 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C3510 002C0470 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C3514 002C0474 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C3518 002C0478 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C351C 002C047C 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C3520 002C0480 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C3524 002C0484 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C3528 002C0488 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C352C 002C048C 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C3530 002C0490 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C3534 002C0494 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C3538 002C0498 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C353C 002C049C 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C3540 002C04A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C3544 002C04A4 48 07 B7 6D */ bl ReadShort__12CInputStreamFv +/* 802C3548 002C04A8 7C 60 07 34 */ extsh r0, r3 +/* 802C354C 002C04AC 7F E3 FB 78 */ mr r3, r31 +/* 802C3550 002C04B0 7C 1B 03 78 */ mr r27, r0 +/* 802C3554 002C04B4 48 07 B7 89 */ bl ReadBool__12CInputStreamFv +/* 802C3558 002C04B8 3C 80 80 3D */ lis r4, lbl_803D6898@ha +/* 802C355C 002C04BC 7C 7D 1B 78 */ mr r29, r3 +/* 802C3560 002C04C0 38 84 68 98 */ addi r4, r4, lbl_803D6898@l +/* 802C3564 002C04C4 38 60 00 C4 */ li r3, 0xc4 +/* 802C3568 002C04C8 38 A0 00 00 */ li r5, 0 +/* 802C356C 002C04CC 48 05 23 01 */ bl __nw__FUlPCcPCc +/* 802C3570 002C04D0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C3574 002C04D4 41 82 00 18 */ beq lbl_802C358C +/* 802C3578 002C04D8 7F 65 DB 78 */ mr r5, r27 +/* 802C357C 002C04DC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C3580 002C04E0 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 802C3584 002C04E4 4B FF FE D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib +/* 802C3588 002C04E8 7C 7C 1B 78 */ mr r28, r3 +lbl_802C358C: +/* 802C358C 002C04EC 7F 83 E3 78 */ mr r3, r28 +/* 802C3590 002C04F0 7F C4 F3 78 */ mr r4, r30 +/* 802C3594 002C04F4 7F E5 FB 78 */ mr r5, r31 +/* 802C3598 002C04F8 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C359C 002C04FC 48 00 74 ED */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C35A0 002C0500 7F 83 E3 78 */ mr r3, r28 +/* 802C35A4 002C0504 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802C35A8 002C0508 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C35AC 002C050C 7C 08 03 A6 */ mtlr r0 +/* 802C35B0 002C0510 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C35B4 002C0514 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiHeadWidget.s b/asm/GuiSys/CGuiHeadWidget.s new file mode 100644 index 00000000..69817d50 --- /dev/null +++ b/asm/GuiSys/CGuiHeadWidget.s @@ -0,0 +1,115 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms +__ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms: +/* 802C35B8 002C0518 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C35BC 002C051C 7C 08 02 A6 */ mflr r0 +/* 802C35C0 002C0520 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C35C4 002C0524 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C35C8 002C0528 7C 7F 1B 78 */ mr r31, r3 +/* 802C35CC 002C052C 48 00 76 59 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C35D0 002C0530 3C 80 80 3F */ lis r4, lbl_803EC808@ha +/* 802C35D4 002C0534 7F E3 FB 78 */ mr r3, r31 +/* 802C35D8 002C0538 38 04 C8 08 */ addi r0, r4, lbl_803EC808@l +/* 802C35DC 002C053C 90 1F 00 00 */ stw r0, 0(r31) +/* 802C35E0 002C0540 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C35E4 002C0544 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C35E8 002C0548 7C 08 03 A6 */ mtlr r0 +/* 802C35EC 002C054C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C35F0 002C0550 4E 80 00 20 */ blr + +.global Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb +Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb: +/* 802C35F4 002C0554 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C35F8 002C0558 7C 08 02 A6 */ mflr r0 +/* 802C35FC 002C055C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C3600 002C0560 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802C3604 002C0564 7C 7E 1B 78 */ mr r30, r3 +/* 802C3608 002C0568 7C 9F 23 78 */ mr r31, r4 +/* 802C360C 002C056C 38 61 00 08 */ addi r3, r1, 8 +/* 802C3610 002C0570 7F C4 F3 78 */ mr r4, r30 +/* 802C3614 002C0574 7F E5 FB 78 */ mr r5, r31 +/* 802C3618 002C0578 48 00 77 39 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C361C 002C057C 83 61 00 08 */ lwz r27, 8(r1) +/* 802C3620 002C0580 3C 60 80 3D */ lis r3, lbl_803D68A0@ha +/* 802C3624 002C0584 8B 81 00 0C */ lbz r28, 0xc(r1) +/* 802C3628 002C0588 38 83 68 A0 */ addi r4, r3, lbl_803D68A0@l +/* 802C362C 002C058C AB A1 00 0E */ lha r29, 0xe(r1) +/* 802C3630 002C0590 38 60 00 B8 */ li r3, 0xb8 +/* 802C3634 002C0594 A9 81 00 10 */ lha r12, 0x10(r1) +/* 802C3638 002C0598 38 A0 00 00 */ li r5, 0 +/* 802C363C 002C059C 89 61 00 12 */ lbz r11, 0x12(r1) +/* 802C3640 002C05A0 89 41 00 13 */ lbz r10, 0x13(r1) +/* 802C3644 002C05A4 89 21 00 14 */ lbz r9, 0x14(r1) +/* 802C3648 002C05A8 89 01 00 15 */ lbz r8, 0x15(r1) +/* 802C364C 002C05AC 88 E1 00 16 */ lbz r7, 0x16(r1) +/* 802C3650 002C05B0 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 802C3654 002C05B4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C3658 002C05B8 93 61 00 20 */ stw r27, 0x20(r1) +/* 802C365C 002C05BC 9B 81 00 24 */ stb r28, 0x24(r1) +/* 802C3660 002C05C0 B3 A1 00 26 */ sth r29, 0x26(r1) +/* 802C3664 002C05C4 B1 81 00 28 */ sth r12, 0x28(r1) +/* 802C3668 002C05C8 99 61 00 2A */ stb r11, 0x2a(r1) +/* 802C366C 002C05CC 99 41 00 2B */ stb r10, 0x2b(r1) +/* 802C3670 002C05D0 99 21 00 2C */ stb r9, 0x2c(r1) +/* 802C3674 002C05D4 99 01 00 2D */ stb r8, 0x2d(r1) +/* 802C3678 002C05D8 98 E1 00 2E */ stb r7, 0x2e(r1) +/* 802C367C 002C05DC 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802C3680 002C05E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C3684 002C05E4 48 05 21 E9 */ bl __nw__FUlPCcPCc +/* 802C3688 002C05E8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802C368C 002C05EC 41 82 00 10 */ beq lbl_802C369C +/* 802C3690 002C05F0 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C3694 002C05F4 4B FF FF 25 */ bl __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C3698 002C05F8 7C 7B 1B 78 */ mr r27, r3 +lbl_802C369C: +/* 802C369C 002C05FC 7F C3 F3 78 */ mr r3, r30 +/* 802C36A0 002C0600 7F 64 DB 78 */ mr r4, r27 +/* 802C36A4 002C0604 4B FF EB 05 */ bl SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget +/* 802C36A8 002C0608 7F 63 DB 78 */ mr r3, r27 +/* 802C36AC 002C060C 7F C4 F3 78 */ mr r4, r30 +/* 802C36B0 002C0610 7F E5 FB 78 */ mr r5, r31 +/* 802C36B4 002C0614 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C36B8 002C0618 48 00 73 D1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C36BC 002C061C 7F 63 DB 78 */ mr r3, r27 +/* 802C36C0 002C0620 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802C36C4 002C0624 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C36C8 002C0628 7C 08 03 A6 */ mtlr r0 +/* 802C36CC 002C062C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C36D0 002C0630 4E 80 00 20 */ blr + +.global __dt__14CGuiHeadWidgetFv +__dt__14CGuiHeadWidgetFv: +/* 802C36D4 002C0634 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C36D8 002C0638 7C 08 02 A6 */ mflr r0 +/* 802C36DC 002C063C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C36E0 002C0640 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C36E4 002C0644 7C 9F 23 78 */ mr r31, r4 +/* 802C36E8 002C0648 93 C1 00 08 */ stw r30, 8(r1) +/* 802C36EC 002C064C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C36F0 002C0650 41 82 00 28 */ beq lbl_802C3718 +/* 802C36F4 002C0654 3C A0 80 3F */ lis r5, lbl_803EC808@ha +/* 802C36F8 002C0658 38 80 00 00 */ li r4, 0 +/* 802C36FC 002C065C 38 05 C8 08 */ addi r0, r5, lbl_803EC808@l +/* 802C3700 002C0660 90 1E 00 00 */ stw r0, 0(r30) +/* 802C3704 002C0664 48 00 74 B1 */ bl __dt__10CGuiWidgetFv +/* 802C3708 002C0668 7F E0 07 35 */ extsh. r0, r31 +/* 802C370C 002C066C 40 81 00 0C */ ble lbl_802C3718 +/* 802C3710 002C0670 7F C3 F3 78 */ mr r3, r30 +/* 802C3714 002C0674 48 05 22 1D */ bl Free__7CMemoryFPCv +lbl_802C3718: +/* 802C3718 002C0678 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C371C 002C067C 7F C3 F3 78 */ mr r3, r30 +/* 802C3720 002C0680 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C3724 002C0684 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3728 002C0688 7C 08 03 A6 */ mtlr r0 +/* 802C372C 002C068C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3730 002C0690 4E 80 00 20 */ blr + +.global GetWidgetTypeID__14CGuiHeadWidgetCFv +GetWidgetTypeID__14CGuiHeadWidgetCFv: +/* 802C3734 002C0694 3C 60 48 57 */ lis r3, 0x48574947@ha +/* 802C3738 002C0698 38 63 49 47 */ addi r3, r3, 0x48574947@l +/* 802C373C 002C069C 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiLight.s b/asm/GuiSys/CGuiLight.s new file mode 100644 index 00000000..f70efb58 --- /dev/null +++ b/asm/GuiSys/CGuiLight.s @@ -0,0 +1,559 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetWidgetTypeID__9CGuiLightCFv +GetWidgetTypeID__9CGuiLightCFv: +/* 802C3740 002C06A0 3C 60 4C 49 */ lis r3, 0x4C495445@ha +/* 802C3744 002C06A4 38 63 54 45 */ addi r3, r3, 0x4C495445@l +/* 802C3748 002C06A8 4E 80 00 20 */ blr + +.global BuildLight__9CGuiLightCFv +BuildLight__9CGuiLightCFv: +/* 802C374C 002C06AC 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 802C3750 002C06B0 7C 08 02 A6 */ mflr r0 +/* 802C3754 002C06B4 C0 22 C3 80 */ lfs f1, lbl_805AE0A0@sda21(r2) +/* 802C3758 002C06B8 90 01 02 24 */ stw r0, 0x224(r1) +/* 802C375C 002C06BC FC 40 08 90 */ fmr f2, f1 +/* 802C3760 002C06C0 C0 82 C3 84 */ lfs f4, lbl_805AE0A4@sda21(r2) +/* 802C3764 002C06C4 93 E1 02 1C */ stw r31, 0x21c(r1) +/* 802C3768 002C06C8 FC 60 08 90 */ fmr f3, f1 +/* 802C376C 002C06CC 7C 9F 23 78 */ mr r31, r4 +/* 802C3770 002C06D0 93 C1 02 18 */ stw r30, 0x218(r1) +/* 802C3774 002C06D4 7C 7E 1B 78 */ mr r30, r3 +/* 802C3778 002C06D8 38 61 00 08 */ addi r3, r1, 8 +/* 802C377C 002C06DC 48 09 FC 71 */ bl __ct__6CColorFffff +/* 802C3780 002C06E0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802C3784 002C06E4 7C 65 1B 78 */ mr r5, r3 +/* 802C3788 002C06E8 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802C378C 002C06EC 38 61 01 74 */ addi r3, r1, 0x174 +/* 802C3790 002C06F0 48 04 2D 15 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 802C3794 002C06F4 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 802C3798 002C06F8 38 81 01 74 */ addi r4, r1, 0x174 +/* 802C379C 002C06FC 4B D7 7D D5 */ bl __ct__6CLightFCR6CLight +/* 802C37A0 002C0700 7F E4 FB 78 */ mr r4, r31 +/* 802C37A4 002C0704 38 61 00 10 */ addi r3, r1, 0x10 +/* 802C37A8 002C0708 48 00 1A 91 */ bl GetWorldPosition__10CGuiObjectCFv +/* 802C37AC 002C070C 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 802C37B0 002C0710 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802C37B4 002C0714 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802C37B8 002C0718 2C 00 00 02 */ cmpwi r0, 2 +/* 802C37BC 002C071C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802C37C0 002C0720 C0 BF 00 58 */ lfs f5, 0x58(r31) +/* 802C37C4 002C0724 C0 9F 00 48 */ lfs f4, 0x48(r31) +/* 802C37C8 002C0728 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802C37CC 002C072C 80 7F 00 A4 */ lwz r3, 0xa4(r31) +/* 802C37D0 002C0730 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802C37D4 002C0734 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802C37D8 002C0738 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802C37DC 002C073C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802C37E0 002C0740 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802C37E4 002C0744 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 802C37E8 002C0748 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C37EC 002C074C 41 82 01 94 */ beq lbl_802C3980 +/* 802C37F0 002C0750 40 80 00 14 */ bge lbl_802C3804 +/* 802C37F4 002C0754 2C 00 00 00 */ cmpwi r0, 0 +/* 802C37F8 002C0758 41 82 00 18 */ beq lbl_802C3810 +/* 802C37FC 002C075C 40 80 00 D0 */ bge lbl_802C38CC +/* 802C3800 002C0760 48 00 03 00 */ b lbl_802C3B00 +lbl_802C3804: +/* 802C3804 002C0764 2C 00 00 04 */ cmpwi r0, 4 +/* 802C3808 002C0768 41 82 02 2C */ beq lbl_802C3A34 +/* 802C380C 002C076C 48 00 02 F4 */ b lbl_802C3B00 +lbl_802C3810: +/* 802C3810 002C0770 C0 3F 00 BC */ lfs f1, 0xbc(r31) +/* 802C3814 002C0774 38 61 01 24 */ addi r3, r1, 0x124 +/* 802C3818 002C0778 38 81 00 28 */ addi r4, r1, 0x28 +/* 802C381C 002C077C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802C3820 002C0780 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C3824 002C0784 48 04 2B D9 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 802C3828 002C0788 81 81 01 24 */ lwz r12, 0x124(r1) +/* 802C382C 002C078C 81 61 01 28 */ lwz r11, 0x128(r1) +/* 802C3830 002C0790 81 41 01 2C */ lwz r10, 0x12c(r1) +/* 802C3834 002C0794 81 21 01 30 */ lwz r9, 0x130(r1) +/* 802C3838 002C0798 81 01 01 34 */ lwz r8, 0x134(r1) +/* 802C383C 002C079C 80 E1 01 38 */ lwz r7, 0x138(r1) +/* 802C3840 002C07A0 80 C1 01 3C */ lwz r6, 0x13c(r1) +/* 802C3844 002C07A4 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 802C3848 002C07A8 C1 01 01 44 */ lfs f8, 0x144(r1) +/* 802C384C 002C07AC C0 E1 01 48 */ lfs f7, 0x148(r1) +/* 802C3850 002C07B0 C0 C1 01 4C */ lfs f6, 0x14c(r1) +/* 802C3854 002C07B4 C0 A1 01 50 */ lfs f5, 0x150(r1) +/* 802C3858 002C07B8 C0 81 01 54 */ lfs f4, 0x154(r1) +/* 802C385C 002C07BC C0 61 01 58 */ lfs f3, 0x158(r1) +/* 802C3860 002C07C0 C0 41 01 5C */ lfs f2, 0x15c(r1) +/* 802C3864 002C07C4 80 81 01 60 */ lwz r4, 0x160(r1) +/* 802C3868 002C07C8 80 61 01 64 */ lwz r3, 0x164(r1) +/* 802C386C 002C07CC C0 21 01 68 */ lfs f1, 0x168(r1) +/* 802C3870 002C07D0 C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 802C3874 002C07D4 88 01 01 70 */ lbz r0, 0x170(r1) +/* 802C3878 002C07D8 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 802C387C 002C07DC 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 802C3880 002C07E0 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 802C3884 002C07E4 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 802C3888 002C07E8 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 802C388C 002C07EC 90 E1 01 D8 */ stw r7, 0x1d8(r1) +/* 802C3890 002C07F0 90 C1 01 DC */ stw r6, 0x1dc(r1) +/* 802C3894 002C07F4 90 A1 01 E0 */ stw r5, 0x1e0(r1) +/* 802C3898 002C07F8 D1 01 01 E4 */ stfs f8, 0x1e4(r1) +/* 802C389C 002C07FC D0 E1 01 E8 */ stfs f7, 0x1e8(r1) +/* 802C38A0 002C0800 D0 C1 01 EC */ stfs f6, 0x1ec(r1) +/* 802C38A4 002C0804 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 802C38A8 002C0808 D0 81 01 F4 */ stfs f4, 0x1f4(r1) +/* 802C38AC 002C080C D0 61 01 F8 */ stfs f3, 0x1f8(r1) +/* 802C38B0 002C0810 D0 41 01 FC */ stfs f2, 0x1fc(r1) +/* 802C38B4 002C0814 90 81 02 00 */ stw r4, 0x200(r1) +/* 802C38B8 002C0818 90 61 02 04 */ stw r3, 0x204(r1) +/* 802C38BC 002C081C D0 21 02 08 */ stfs f1, 0x208(r1) +/* 802C38C0 002C0820 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802C38C4 002C0824 98 01 02 10 */ stb r0, 0x210(r1) +/* 802C38C8 002C0828 48 00 02 38 */ b lbl_802C3B00 +lbl_802C38CC: +/* 802C38CC 002C082C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802C38D0 002C0830 38 81 00 28 */ addi r4, r1, 0x28 +/* 802C38D4 002C0834 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C38D8 002C0838 48 04 2B 5D */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor +/* 802C38DC 002C083C 81 81 00 D4 */ lwz r12, 0xd4(r1) +/* 802C38E0 002C0840 81 61 00 D8 */ lwz r11, 0xd8(r1) +/* 802C38E4 002C0844 81 41 00 DC */ lwz r10, 0xdc(r1) +/* 802C38E8 002C0848 81 21 00 E0 */ lwz r9, 0xe0(r1) +/* 802C38EC 002C084C 81 01 00 E4 */ lwz r8, 0xe4(r1) +/* 802C38F0 002C0850 80 E1 00 E8 */ lwz r7, 0xe8(r1) +/* 802C38F4 002C0854 80 C1 00 EC */ lwz r6, 0xec(r1) +/* 802C38F8 002C0858 80 A1 00 F0 */ lwz r5, 0xf0(r1) +/* 802C38FC 002C085C C1 01 00 F4 */ lfs f8, 0xf4(r1) +/* 802C3900 002C0860 C0 E1 00 F8 */ lfs f7, 0xf8(r1) +/* 802C3904 002C0864 C0 C1 00 FC */ lfs f6, 0xfc(r1) +/* 802C3908 002C0868 C0 A1 01 00 */ lfs f5, 0x100(r1) +/* 802C390C 002C086C C0 81 01 04 */ lfs f4, 0x104(r1) +/* 802C3910 002C0870 C0 61 01 08 */ lfs f3, 0x108(r1) +/* 802C3914 002C0874 C0 41 01 0C */ lfs f2, 0x10c(r1) +/* 802C3918 002C0878 80 81 01 10 */ lwz r4, 0x110(r1) +/* 802C391C 002C087C 80 61 01 14 */ lwz r3, 0x114(r1) +/* 802C3920 002C0880 C0 21 01 18 */ lfs f1, 0x118(r1) +/* 802C3924 002C0884 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 802C3928 002C0888 88 01 01 20 */ lbz r0, 0x120(r1) +/* 802C392C 002C088C 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 802C3930 002C0890 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 802C3934 002C0894 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 802C3938 002C0898 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 802C393C 002C089C 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 802C3940 002C08A0 90 E1 01 D8 */ stw r7, 0x1d8(r1) +/* 802C3944 002C08A4 90 C1 01 DC */ stw r6, 0x1dc(r1) +/* 802C3948 002C08A8 90 A1 01 E0 */ stw r5, 0x1e0(r1) +/* 802C394C 002C08AC D1 01 01 E4 */ stfs f8, 0x1e4(r1) +/* 802C3950 002C08B0 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) +/* 802C3954 002C08B4 D0 C1 01 EC */ stfs f6, 0x1ec(r1) +/* 802C3958 002C08B8 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 802C395C 002C08BC D0 81 01 F4 */ stfs f4, 0x1f4(r1) +/* 802C3960 002C08C0 D0 61 01 F8 */ stfs f3, 0x1f8(r1) +/* 802C3964 002C08C4 D0 41 01 FC */ stfs f2, 0x1fc(r1) +/* 802C3968 002C08C8 90 81 02 00 */ stw r4, 0x200(r1) +/* 802C396C 002C08CC 90 61 02 04 */ stw r3, 0x204(r1) +/* 802C3970 002C08D0 D0 21 02 08 */ stfs f1, 0x208(r1) +/* 802C3974 002C08D4 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802C3978 002C08D8 98 01 02 10 */ stb r0, 0x210(r1) +/* 802C397C 002C08DC 48 00 01 84 */ b lbl_802C3B00 +lbl_802C3980: +/* 802C3980 002C08E0 38 61 00 84 */ addi r3, r1, 0x84 +/* 802C3984 002C08E4 38 81 00 1C */ addi r4, r1, 0x1c +/* 802C3988 002C08E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C398C 002C08EC 48 04 2A E1 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 802C3990 002C08F0 81 81 00 84 */ lwz r12, 0x84(r1) +/* 802C3994 002C08F4 81 61 00 88 */ lwz r11, 0x88(r1) +/* 802C3998 002C08F8 81 41 00 8C */ lwz r10, 0x8c(r1) +/* 802C399C 002C08FC 81 21 00 90 */ lwz r9, 0x90(r1) +/* 802C39A0 002C0900 81 01 00 94 */ lwz r8, 0x94(r1) +/* 802C39A4 002C0904 80 E1 00 98 */ lwz r7, 0x98(r1) +/* 802C39A8 002C0908 80 C1 00 9C */ lwz r6, 0x9c(r1) +/* 802C39AC 002C090C 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 802C39B0 002C0910 C1 01 00 A4 */ lfs f8, 0xa4(r1) +/* 802C39B4 002C0914 C0 E1 00 A8 */ lfs f7, 0xa8(r1) +/* 802C39B8 002C0918 C0 C1 00 AC */ lfs f6, 0xac(r1) +/* 802C39BC 002C091C C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 802C39C0 002C0920 C0 81 00 B4 */ lfs f4, 0xb4(r1) +/* 802C39C4 002C0924 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 802C39C8 002C0928 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 802C39CC 002C092C 80 81 00 C0 */ lwz r4, 0xc0(r1) +/* 802C39D0 002C0930 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802C39D4 002C0934 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 802C39D8 002C0938 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 802C39DC 002C093C 88 01 00 D0 */ lbz r0, 0xd0(r1) +/* 802C39E0 002C0940 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 802C39E4 002C0944 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 802C39E8 002C0948 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 802C39EC 002C094C 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 802C39F0 002C0950 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 802C39F4 002C0954 90 E1 01 D8 */ stw r7, 0x1d8(r1) +/* 802C39F8 002C0958 90 C1 01 DC */ stw r6, 0x1dc(r1) +/* 802C39FC 002C095C 90 A1 01 E0 */ stw r5, 0x1e0(r1) +/* 802C3A00 002C0960 D1 01 01 E4 */ stfs f8, 0x1e4(r1) +/* 802C3A04 002C0964 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) +/* 802C3A08 002C0968 D0 C1 01 EC */ stfs f6, 0x1ec(r1) +/* 802C3A0C 002C096C D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 802C3A10 002C0970 D0 81 01 F4 */ stfs f4, 0x1f4(r1) +/* 802C3A14 002C0974 D0 61 01 F8 */ stfs f3, 0x1f8(r1) +/* 802C3A18 002C0978 D0 41 01 FC */ stfs f2, 0x1fc(r1) +/* 802C3A1C 002C097C 90 81 02 00 */ stw r4, 0x200(r1) +/* 802C3A20 002C0980 90 61 02 04 */ stw r3, 0x204(r1) +/* 802C3A24 002C0984 D0 21 02 08 */ stfs f1, 0x208(r1) +/* 802C3A28 002C0988 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802C3A2C 002C098C 98 01 02 10 */ stb r0, 0x210(r1) +/* 802C3A30 002C0990 48 00 00 D0 */ b lbl_802C3B00 +lbl_802C3A34: +/* 802C3A34 002C0994 C0 3F 00 C0 */ lfs f1, 0xc0(r31) +/* 802C3A38 002C0998 38 61 00 34 */ addi r3, r1, 0x34 +/* 802C3A3C 002C099C C0 5F 00 C4 */ lfs f2, 0xc4(r31) +/* 802C3A40 002C09A0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802C3A44 002C09A4 C0 7F 00 C8 */ lfs f3, 0xc8(r31) +/* 802C3A48 002C09A8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802C3A4C 002C09AC C0 9F 00 CC */ lfs f4, 0xcc(r31) +/* 802C3A50 002C09B0 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C3A54 002C09B4 C0 BF 00 D0 */ lfs f5, 0xd0(r31) +/* 802C3A58 002C09B8 C0 DF 00 D4 */ lfs f6, 0xd4(r31) +/* 802C3A5C 002C09BC 48 04 29 81 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +/* 802C3A60 002C09C0 81 81 00 34 */ lwz r12, 0x34(r1) +/* 802C3A64 002C09C4 81 61 00 38 */ lwz r11, 0x38(r1) +/* 802C3A68 002C09C8 81 41 00 3C */ lwz r10, 0x3c(r1) +/* 802C3A6C 002C09CC 81 21 00 40 */ lwz r9, 0x40(r1) +/* 802C3A70 002C09D0 81 01 00 44 */ lwz r8, 0x44(r1) +/* 802C3A74 002C09D4 80 E1 00 48 */ lwz r7, 0x48(r1) +/* 802C3A78 002C09D8 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802C3A7C 002C09DC 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802C3A80 002C09E0 C1 01 00 54 */ lfs f8, 0x54(r1) +/* 802C3A84 002C09E4 C0 E1 00 58 */ lfs f7, 0x58(r1) +/* 802C3A88 002C09E8 C0 C1 00 5C */ lfs f6, 0x5c(r1) +/* 802C3A8C 002C09EC C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 802C3A90 002C09F0 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 802C3A94 002C09F4 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 802C3A98 002C09F8 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 802C3A9C 002C09FC 80 81 00 70 */ lwz r4, 0x70(r1) +/* 802C3AA0 002C0A00 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802C3AA4 002C0A04 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 802C3AA8 002C0A08 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802C3AAC 002C0A0C 88 01 00 80 */ lbz r0, 0x80(r1) +/* 802C3AB0 002C0A10 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 802C3AB4 002C0A14 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 802C3AB8 002C0A18 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 802C3ABC 002C0A1C 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 802C3AC0 002C0A20 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 802C3AC4 002C0A24 90 E1 01 D8 */ stw r7, 0x1d8(r1) +/* 802C3AC8 002C0A28 90 C1 01 DC */ stw r6, 0x1dc(r1) +/* 802C3ACC 002C0A2C 90 A1 01 E0 */ stw r5, 0x1e0(r1) +/* 802C3AD0 002C0A30 D1 01 01 E4 */ stfs f8, 0x1e4(r1) +/* 802C3AD4 002C0A34 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) +/* 802C3AD8 002C0A38 D0 C1 01 EC */ stfs f6, 0x1ec(r1) +/* 802C3ADC 002C0A3C D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 802C3AE0 002C0A40 D0 81 01 F4 */ stfs f4, 0x1f4(r1) +/* 802C3AE4 002C0A44 D0 61 01 F8 */ stfs f3, 0x1f8(r1) +/* 802C3AE8 002C0A48 D0 41 01 FC */ stfs f2, 0x1fc(r1) +/* 802C3AEC 002C0A4C 90 81 02 00 */ stw r4, 0x200(r1) +/* 802C3AF0 002C0A50 90 61 02 04 */ stw r3, 0x204(r1) +/* 802C3AF4 002C0A54 D0 21 02 08 */ stfs f1, 0x208(r1) +/* 802C3AF8 002C0A58 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802C3AFC 002C0A5C 98 01 02 10 */ stb r0, 0x210(r1) +lbl_802C3B00: +/* 802C3B00 002C0A60 C0 3F 00 C0 */ lfs f1, 0xc0(r31) +/* 802C3B04 002C0A64 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 802C3B08 002C0A68 C0 5F 00 C4 */ lfs f2, 0xc4(r31) +/* 802C3B0C 002C0A6C C0 7F 00 C8 */ lfs f3, 0xc8(r31) +/* 802C3B10 002C0A70 48 04 28 A1 */ bl SetAttenuation__6CLightFfff +/* 802C3B14 002C0A74 C0 3F 00 CC */ lfs f1, 0xcc(r31) +/* 802C3B18 002C0A78 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 802C3B1C 002C0A7C C0 5F 00 D0 */ lfs f2, 0xd0(r31) +/* 802C3B20 002C0A80 C0 7F 00 D4 */ lfs f3, 0xd4(r31) +/* 802C3B24 002C0A84 48 04 28 61 */ bl SetAngleAttenuation__6CLightFfff +/* 802C3B28 002C0A88 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 802C3B2C 002C0A8C 7F C3 F3 78 */ mr r3, r30 +/* 802C3B30 002C0A90 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 802C3B34 002C0A94 90 01 02 04 */ stw r0, 0x204(r1) +/* 802C3B38 002C0A98 4B D7 7A 39 */ bl __ct__6CLightFCR6CLight +/* 802C3B3C 002C0A9C 80 01 02 24 */ lwz r0, 0x224(r1) +/* 802C3B40 002C0AA0 83 E1 02 1C */ lwz r31, 0x21c(r1) +/* 802C3B44 002C0AA4 83 C1 02 18 */ lwz r30, 0x218(r1) +/* 802C3B48 002C0AA8 7C 08 03 A6 */ mtlr r0 +/* 802C3B4C 002C0AAC 38 21 02 20 */ addi r1, r1, 0x220 +/* 802C3B50 002C0AB0 4E 80 00 20 */ blr + +.global SetIsVisible__9CGuiLightFb +SetIsVisible__9CGuiLightFb: +/* 802C3B54 002C0AB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3B58 002C0AB8 7C 08 02 A6 */ mflr r0 +/* 802C3B5C 002C0ABC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C3B60 002C0AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802C3B64 002C0AC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3B68 002C0AC8 7C 9F 23 78 */ mr r31, r4 +/* 802C3B6C 002C0ACC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3B70 002C0AD0 7C 7E 1B 78 */ mr r30, r3 +/* 802C3B74 002C0AD4 41 82 00 14 */ beq lbl_802C3B88 +/* 802C3B78 002C0AD8 80 7E 00 B0 */ lwz r3, 0xb0(r30) +/* 802C3B7C 002C0ADC 7F C4 F3 78 */ mr r4, r30 +/* 802C3B80 002C0AE0 4B FF E9 BD */ bl AddLight__9CGuiFrameFP9CGuiLight +/* 802C3B84 002C0AE4 48 00 00 10 */ b lbl_802C3B94 +lbl_802C3B88: +/* 802C3B88 002C0AE8 80 7E 00 B0 */ lwz r3, 0xb0(r30) +/* 802C3B8C 002C0AEC 7F C4 F3 78 */ mr r4, r30 +/* 802C3B90 002C0AF0 4B FF E9 89 */ bl RemoveLight__9CGuiFrameFP9CGuiLight +lbl_802C3B94: +/* 802C3B94 002C0AF4 7F C3 F3 78 */ mr r3, r30 +/* 802C3B98 002C0AF8 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802C3B9C 002C0AFC 48 00 6A 91 */ bl SetIsVisible__10CGuiWidgetFb +/* 802C3BA0 002C0B00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3BA4 002C0B04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C3BA8 002C0B08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3BAC 002C0B0C 7C 08 03 A6 */ mtlr r0 +/* 802C3BB0 002C0B10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3BB4 002C0B14 4E 80 00 20 */ blr + +.global __dt__9CGuiLightFv +__dt__9CGuiLightFv: +/* 802C3BB8 002C0B18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3BBC 002C0B1C 7C 08 02 A6 */ mflr r0 +/* 802C3BC0 002C0B20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C3BC4 002C0B24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3BC8 002C0B28 7C 9F 23 78 */ mr r31, r4 +/* 802C3BCC 002C0B2C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3BD0 002C0B30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C3BD4 002C0B34 41 82 00 38 */ beq lbl_802C3C0C +/* 802C3BD8 002C0B38 3C 60 80 3F */ lis r3, lbl_803EC848@ha +/* 802C3BDC 002C0B3C 7F C4 F3 78 */ mr r4, r30 +/* 802C3BE0 002C0B40 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l +/* 802C3BE4 002C0B44 90 1E 00 00 */ stw r0, 0(r30) +/* 802C3BE8 002C0B48 80 7E 00 B0 */ lwz r3, 0xb0(r30) +/* 802C3BEC 002C0B4C 4B FF E9 2D */ bl RemoveLight__9CGuiFrameFP9CGuiLight +/* 802C3BF0 002C0B50 7F C3 F3 78 */ mr r3, r30 +/* 802C3BF4 002C0B54 38 80 00 00 */ li r4, 0 +/* 802C3BF8 002C0B58 48 00 6F BD */ bl __dt__10CGuiWidgetFv +/* 802C3BFC 002C0B5C 7F E0 07 35 */ extsh. r0, r31 +/* 802C3C00 002C0B60 40 81 00 0C */ ble lbl_802C3C0C +/* 802C3C04 002C0B64 7F C3 F3 78 */ mr r3, r30 +/* 802C3C08 002C0B68 48 05 1D 29 */ bl Free__7CMemoryFPCv +lbl_802C3C0C: +/* 802C3C0C 002C0B6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3C10 002C0B70 7F C3 F3 78 */ mr r3, r30 +/* 802C3C14 002C0B74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C3C18 002C0B78 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3C1C 002C0B7C 7C 08 03 A6 */ mtlr r0 +/* 802C3C20 002C0B80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3C24 002C0B84 4E 80 00 20 */ blr + +.global __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight +__ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight: +/* 802C3C28 002C0B88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3C2C 002C0B8C 7C 08 02 A6 */ mflr r0 +/* 802C3C30 002C0B90 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C3C34 002C0B94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3C38 002C0B98 7C BF 2B 78 */ mr r31, r5 +/* 802C3C3C 002C0B9C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3C40 002C0BA0 7C 7E 1B 78 */ mr r30, r3 +/* 802C3C44 002C0BA4 48 00 6F E1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C3C48 002C0BA8 3C 60 80 3F */ lis r3, lbl_803EC848@ha +/* 802C3C4C 002C0BAC 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l +/* 802C3C50 002C0BB0 90 1E 00 00 */ stw r0, 0(r30) +/* 802C3C54 002C0BB4 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 802C3C58 002C0BB8 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 802C3C5C 002C0BBC C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 802C3C60 002C0BC0 D0 1E 00 BC */ stfs f0, 0xbc(r30) +/* 802C3C64 002C0BC4 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 802C3C68 002C0BC8 D0 1E 00 C0 */ stfs f0, 0xc0(r30) +/* 802C3C6C 002C0BCC C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 802C3C70 002C0BD0 D0 1E 00 C4 */ stfs f0, 0xc4(r30) +/* 802C3C74 002C0BD4 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 802C3C78 002C0BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30) +/* 802C3C7C 002C0BDC C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 802C3C80 002C0BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30) +/* 802C3C84 002C0BE4 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 802C3C88 002C0BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 802C3C8C 002C0BEC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802C3C90 002C0BF0 D0 1E 00 D4 */ stfs f0, 0xd4(r30) +/* 802C3C94 002C0BF4 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 802C3C98 002C0BF8 90 1E 00 D8 */ stw r0, 0xd8(r30) +/* 802C3C9C 002C0BFC 48 08 63 19 */ bl Black__6CColorFv +/* 802C3CA0 002C0C00 80 03 00 00 */ lwz r0, 0(r3) +/* 802C3CA4 002C0C04 7F C3 F3 78 */ mr r3, r30 +/* 802C3CA8 002C0C08 90 1E 00 DC */ stw r0, 0xdc(r30) +/* 802C3CAC 002C0C0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C3CB0 002C0C10 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3CB4 002C0C14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3CB8 002C0C18 7C 08 03 A6 */ mtlr r0 +/* 802C3CBC 002C0C1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3CC0 002C0C20 4E 80 00 20 */ blr + +.global Create__9CGuiLightFP9CGuiFrameR12CInputStreamb +Create__9CGuiLightFP9CGuiFrameR12CInputStreamb: +/* 802C3CC4 002C0C24 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 802C3CC8 002C0C28 7C 08 02 A6 */ mflr r0 +/* 802C3CCC 002C0C2C 90 01 02 74 */ stw r0, 0x274(r1) +/* 802C3CD0 002C0C30 39 61 02 70 */ addi r11, r1, 0x270 +/* 802C3CD4 002C0C34 48 0C 5D 0D */ bl func_803899E0 +/* 802C3CD8 002C0C38 BF 61 02 2C */ stmw r27, 0x22c(r1) +/* 802C3CDC 002C0C3C 7C 7E 1B 78 */ mr r30, r3 +/* 802C3CE0 002C0C40 7C 9F 23 78 */ mr r31, r4 +/* 802C3CE4 002C0C44 7F C4 F3 78 */ mr r4, r30 +/* 802C3CE8 002C0C48 38 61 00 0C */ addi r3, r1, 0xc +/* 802C3CEC 002C0C4C 7F E5 FB 78 */ mr r5, r31 +/* 802C3CF0 002C0C50 48 00 70 61 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C3CF4 002C0C54 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802C3CF8 002C0C58 7F E3 FB 78 */ mr r3, r31 +/* 802C3CFC 002C0C5C 83 81 00 0C */ lwz r28, 0xc(r1) +/* 802C3D00 002C0C60 89 81 00 10 */ lbz r12, 0x10(r1) +/* 802C3D04 002C0C64 A9 61 00 12 */ lha r11, 0x12(r1) +/* 802C3D08 002C0C68 A9 41 00 14 */ lha r10, 0x14(r1) +/* 802C3D0C 002C0C6C 89 21 00 16 */ lbz r9, 0x16(r1) +/* 802C3D10 002C0C70 89 01 00 17 */ lbz r8, 0x17(r1) +/* 802C3D14 002C0C74 88 E1 00 18 */ lbz r7, 0x18(r1) +/* 802C3D18 002C0C78 88 C1 00 19 */ lbz r6, 0x19(r1) +/* 802C3D1C 002C0C7C 88 A1 00 1A */ lbz r5, 0x1a(r1) +/* 802C3D20 002C0C80 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802C3D24 002C0C84 93 81 00 24 */ stw r28, 0x24(r1) +/* 802C3D28 002C0C88 99 81 00 28 */ stb r12, 0x28(r1) +/* 802C3D2C 002C0C8C B1 61 00 2A */ sth r11, 0x2a(r1) +/* 802C3D30 002C0C90 B1 41 00 2C */ sth r10, 0x2c(r1) +/* 802C3D34 002C0C94 99 21 00 2E */ stb r9, 0x2e(r1) +/* 802C3D38 002C0C98 99 01 00 2F */ stb r8, 0x2f(r1) +/* 802C3D3C 002C0C9C 98 E1 00 30 */ stb r7, 0x30(r1) +/* 802C3D40 002C0CA0 98 C1 00 31 */ stb r6, 0x31(r1) +/* 802C3D44 002C0CA4 98 A1 00 32 */ stb r5, 0x32(r1) +/* 802C3D48 002C0CA8 90 81 00 34 */ stw r4, 0x34(r1) +/* 802C3D4C 002C0CAC 90 01 00 38 */ stw r0, 0x38(r1) +/* 802C3D50 002C0CB0 90 81 00 08 */ stw r4, 8(r1) +/* 802C3D54 002C0CB4 48 07 AF 31 */ bl ReadLong__12CInputStreamFv +/* 802C3D58 002C0CB8 7C 7C 1B 78 */ mr r28, r3 +/* 802C3D5C 002C0CBC 7F E3 FB 78 */ mr r3, r31 +/* 802C3D60 002C0CC0 48 07 AE C9 */ bl ReadFloat__12CInputStreamFv +/* 802C3D64 002C0CC4 FF E0 08 90 */ fmr f31, f1 +/* 802C3D68 002C0CC8 7F E3 FB 78 */ mr r3, r31 +/* 802C3D6C 002C0CCC 48 07 AE BD */ bl ReadFloat__12CInputStreamFv +/* 802C3D70 002C0CD0 FF C0 08 90 */ fmr f30, f1 +/* 802C3D74 002C0CD4 7F E3 FB 78 */ mr r3, r31 +/* 802C3D78 002C0CD8 48 07 AE B1 */ bl ReadFloat__12CInputStreamFv +/* 802C3D7C 002C0CDC FF A0 08 90 */ fmr f29, f1 +/* 802C3D80 002C0CE0 7F E3 FB 78 */ mr r3, r31 +/* 802C3D84 002C0CE4 48 07 AE A5 */ bl ReadFloat__12CInputStreamFv +/* 802C3D88 002C0CE8 FF 80 08 90 */ fmr f28, f1 +/* 802C3D8C 002C0CEC 7F E3 FB 78 */ mr r3, r31 +/* 802C3D90 002C0CF0 48 07 AE 99 */ bl ReadFloat__12CInputStreamFv +/* 802C3D94 002C0CF4 FF 60 08 90 */ fmr f27, f1 +/* 802C3D98 002C0CF8 7F E3 FB 78 */ mr r3, r31 +/* 802C3D9C 002C0CFC 48 07 AE 8D */ bl ReadFloat__12CInputStreamFv +/* 802C3DA0 002C0D00 FF 40 08 90 */ fmr f26, f1 +/* 802C3DA4 002C0D04 7F E3 FB 78 */ mr r3, r31 +/* 802C3DA8 002C0D08 48 07 AE DD */ bl ReadLong__12CInputStreamFv +/* 802C3DAC 002C0D0C 2C 1C 00 01 */ cmpwi r28, 1 +/* 802C3DB0 002C0D10 7C 7D 1B 78 */ mr r29, r3 +/* 802C3DB4 002C0D14 3B 60 00 00 */ li r27, 0 +/* 802C3DB8 002C0D18 41 82 00 AC */ beq lbl_802C3E64 +/* 802C3DBC 002C0D1C 40 80 00 10 */ bge lbl_802C3DCC +/* 802C3DC0 002C0D20 2C 1C 00 00 */ cmpwi r28, 0 +/* 802C3DC4 002C0D24 40 80 00 14 */ bge lbl_802C3DD8 +/* 802C3DC8 002C0D28 48 00 01 5C */ b lbl_802C3F24 +lbl_802C3DCC: +/* 802C3DCC 002C0D2C 2C 1C 00 03 */ cmpwi r28, 3 +/* 802C3DD0 002C0D30 40 80 01 54 */ bge lbl_802C3F24 +/* 802C3DD4 002C0D34 48 00 00 FC */ b lbl_802C3ED0 +lbl_802C3DD8: +/* 802C3DD8 002C0D38 7F E3 FB 78 */ mr r3, r31 +/* 802C3DDC 002C0D3C 48 07 AE 4D */ bl ReadFloat__12CInputStreamFv +/* 802C3DE0 002C0D40 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802C3DE4 002C0D44 38 61 00 DC */ addi r3, r1, 0xdc +/* 802C3DE8 002C0D48 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802C3DEC 002C0D4C 38 C1 00 08 */ addi r6, r1, 8 +/* 802C3DF0 002C0D50 7C 85 23 78 */ mr r5, r4 +/* 802C3DF4 002C0D54 48 04 26 09 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 802C3DF8 002C0D58 38 61 01 CC */ addi r3, r1, 0x1cc +/* 802C3DFC 002C0D5C 38 81 00 DC */ addi r4, r1, 0xdc +/* 802C3E00 002C0D60 4B D7 77 71 */ bl __ct__6CLightFCR6CLight +/* 802C3E04 002C0D64 FC 20 F8 90 */ fmr f1, f31 +/* 802C3E08 002C0D68 38 61 01 CC */ addi r3, r1, 0x1cc +/* 802C3E0C 002C0D6C FC 40 F0 90 */ fmr f2, f30 +/* 802C3E10 002C0D70 FC 60 E8 90 */ fmr f3, f29 +/* 802C3E14 002C0D74 48 04 25 9D */ bl SetAttenuation__6CLightFfff +/* 802C3E18 002C0D78 FC 20 E0 90 */ fmr f1, f28 +/* 802C3E1C 002C0D7C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 802C3E20 002C0D80 FC 40 D8 90 */ fmr f2, f27 +/* 802C3E24 002C0D84 FC 60 D0 90 */ fmr f3, f26 +/* 802C3E28 002C0D88 48 04 25 5D */ bl SetAngleAttenuation__6CLightFfff +/* 802C3E2C 002C0D8C 3C 60 80 3D */ lis r3, lbl_803D68A8@ha +/* 802C3E30 002C0D90 93 A1 02 0C */ stw r29, 0x20c(r1) +/* 802C3E34 002C0D94 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l +/* 802C3E38 002C0D98 38 A0 00 00 */ li r5, 0 +/* 802C3E3C 002C0D9C 38 60 00 E0 */ li r3, 0xe0 +/* 802C3E40 002C0DA0 48 05 1A 2D */ bl __nw__FUlPCcPCc +/* 802C3E44 002C0DA4 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C3E48 002C0DA8 41 82 00 14 */ beq lbl_802C3E5C +/* 802C3E4C 002C0DAC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802C3E50 002C0DB0 38 A1 01 CC */ addi r5, r1, 0x1cc +/* 802C3E54 002C0DB4 4B FF FD D5 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight +/* 802C3E58 002C0DB8 7C 60 1B 78 */ mr r0, r3 +lbl_802C3E5C: +/* 802C3E5C 002C0DBC 7C 1B 03 78 */ mr r27, r0 +/* 802C3E60 002C0DC0 48 00 00 C4 */ b lbl_802C3F24 +lbl_802C3E64: +/* 802C3E64 002C0DC4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802C3E68 002C0DC8 38 61 00 8C */ addi r3, r1, 0x8c +/* 802C3E6C 002C0DCC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802C3E70 002C0DD0 38 A1 00 08 */ addi r5, r1, 8 +/* 802C3E74 002C0DD4 48 04 25 C1 */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor +/* 802C3E78 002C0DD8 38 61 01 7C */ addi r3, r1, 0x17c +/* 802C3E7C 002C0DDC 38 81 00 8C */ addi r4, r1, 0x8c +/* 802C3E80 002C0DE0 4B D7 76 F1 */ bl __ct__6CLightFCR6CLight +/* 802C3E84 002C0DE4 FC 20 F8 90 */ fmr f1, f31 +/* 802C3E88 002C0DE8 38 61 01 7C */ addi r3, r1, 0x17c +/* 802C3E8C 002C0DEC FC 40 F0 90 */ fmr f2, f30 +/* 802C3E90 002C0DF0 FC 60 E8 90 */ fmr f3, f29 +/* 802C3E94 002C0DF4 48 04 25 1D */ bl SetAttenuation__6CLightFfff +/* 802C3E98 002C0DF8 3C 60 80 3D */ lis r3, lbl_803D68A8@ha +/* 802C3E9C 002C0DFC 93 A1 01 BC */ stw r29, 0x1bc(r1) +/* 802C3EA0 002C0E00 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l +/* 802C3EA4 002C0E04 38 A0 00 00 */ li r5, 0 +/* 802C3EA8 002C0E08 38 60 00 E0 */ li r3, 0xe0 +/* 802C3EAC 002C0E0C 48 05 19 C1 */ bl __nw__FUlPCcPCc +/* 802C3EB0 002C0E10 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C3EB4 002C0E14 41 82 00 14 */ beq lbl_802C3EC8 +/* 802C3EB8 002C0E18 38 81 00 24 */ addi r4, r1, 0x24 +/* 802C3EBC 002C0E1C 38 A1 01 7C */ addi r5, r1, 0x17c +/* 802C3EC0 002C0E20 4B FF FD 69 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight +/* 802C3EC4 002C0E24 7C 60 1B 78 */ mr r0, r3 +lbl_802C3EC8: +/* 802C3EC8 002C0E28 7C 1B 03 78 */ mr r27, r0 +/* 802C3ECC 002C0E2C 48 00 00 58 */ b lbl_802C3F24 +lbl_802C3ED0: +/* 802C3ED0 002C0E30 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802C3ED4 002C0E34 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C3ED8 002C0E38 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802C3EDC 002C0E3C 38 A1 00 08 */ addi r5, r1, 8 +/* 802C3EE0 002C0E40 48 04 25 8D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 802C3EE4 002C0E44 38 61 01 2C */ addi r3, r1, 0x12c +/* 802C3EE8 002C0E48 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C3EEC 002C0E4C 4B D7 76 85 */ bl __ct__6CLightFCR6CLight +/* 802C3EF0 002C0E50 3C 60 80 3D */ lis r3, lbl_803D68A8@ha +/* 802C3EF4 002C0E54 93 A1 01 6C */ stw r29, 0x16c(r1) +/* 802C3EF8 002C0E58 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l +/* 802C3EFC 002C0E5C 38 A0 00 00 */ li r5, 0 +/* 802C3F00 002C0E60 38 60 00 E0 */ li r3, 0xe0 +/* 802C3F04 002C0E64 48 05 19 69 */ bl __nw__FUlPCcPCc +/* 802C3F08 002C0E68 7C 60 1B 79 */ or. r0, r3, r3 +/* 802C3F0C 002C0E6C 41 82 00 14 */ beq lbl_802C3F20 +/* 802C3F10 002C0E70 38 81 00 24 */ addi r4, r1, 0x24 +/* 802C3F14 002C0E74 38 A1 01 2C */ addi r5, r1, 0x12c +/* 802C3F18 002C0E78 4B FF FD 11 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight +/* 802C3F1C 002C0E7C 7C 60 1B 78 */ mr r0, r3 +lbl_802C3F20: +/* 802C3F20 002C0E80 7C 1B 03 78 */ mr r27, r0 +lbl_802C3F24: +/* 802C3F24 002C0E84 7F 63 DB 78 */ mr r3, r27 +/* 802C3F28 002C0E88 7F C4 F3 78 */ mr r4, r30 +/* 802C3F2C 002C0E8C 7F E5 FB 78 */ mr r5, r31 +/* 802C3F30 002C0E90 38 C1 00 24 */ addi r6, r1, 0x24 +/* 802C3F34 002C0E94 48 00 6B 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C3F38 002C0E98 7F C3 F3 78 */ mr r3, r30 +/* 802C3F3C 002C0E9C 7F 64 DB 78 */ mr r4, r27 +/* 802C3F40 002C0EA0 4B FF E5 FD */ bl AddLight__9CGuiFrameFP9CGuiLight +/* 802C3F44 002C0EA4 7F 63 DB 78 */ mr r3, r27 +/* 802C3F48 002C0EA8 39 61 02 70 */ addi r11, r1, 0x270 +/* 802C3F4C 002C0EAC 48 0C 5A E1 */ bl func_80389A2C +/* 802C3F50 002C0EB0 BB 61 02 2C */ lmw r27, 0x22c(r1) +/* 802C3F54 002C0EB4 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802C3F58 002C0EB8 7C 08 03 A6 */ mtlr r0 +/* 802C3F5C 002C0EBC 38 21 02 70 */ addi r1, r1, 0x270 +/* 802C3F60 002C0EC0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiModel.s b/asm/GuiSys/CGuiModel.s new file mode 100644 index 00000000..a383782b --- /dev/null +++ b/asm/GuiSys/CGuiModel.s @@ -0,0 +1,560 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetWidgetTypeID__9CGuiModelCFv +GetWidgetTypeID__9CGuiModelCFv: +/* 802C3F64 002C0EC4 3C 60 4D 4F */ lis r3, 0x4D4F444C@ha +/* 802C3F68 002C0EC8 38 63 44 4C */ addi r3, r3, 0x4D4F444C@l +/* 802C3F6C 002C0ECC 4E 80 00 20 */ blr + +.global GetModelAssets__9CGuiModelCFv +GetModelAssets__9CGuiModelCFv: +/* 802C3F70 002C0ED0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3F74 002C0ED4 7C 08 02 A6 */ mflr r0 +/* 802C3F78 002C0ED8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C3F7C 002C0EDC 38 00 00 01 */ li r0, 1 +/* 802C3F80 002C0EE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C3F84 002C0EE4 7C 9F 23 78 */ mr r31, r4 +/* 802C3F88 002C0EE8 93 C1 00 08 */ stw r30, 8(r1) +/* 802C3F8C 002C0EEC 7C 7E 1B 78 */ mr r30, r3 +/* 802C3F90 002C0EF0 90 03 00 04 */ stw r0, 4(r3) +/* 802C3F94 002C0EF4 90 03 00 08 */ stw r0, 8(r3) +/* 802C3F98 002C0EF8 80 03 00 04 */ lwz r0, 4(r3) +/* 802C3F9C 002C0EFC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C3FA0 002C0F00 40 82 00 10 */ bne lbl_802C3FB0 +/* 802C3FA4 002C0F04 38 00 00 00 */ li r0, 0 +/* 802C3FA8 002C0F08 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C3FAC 002C0F0C 48 00 00 18 */ b lbl_802C3FC4 +lbl_802C3FB0: +/* 802C3FB0 002C0F10 3C 80 80 3D */ lis r4, lbl_803D68B0@ha +/* 802C3FB4 002C0F14 38 A0 00 00 */ li r5, 0 +/* 802C3FB8 002C0F18 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l +/* 802C3FBC 002C0F1C 48 05 18 5D */ bl __nwa__FUlPCcPCc +/* 802C3FC0 002C0F20 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802C3FC4: +/* 802C3FC4 002C0F24 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C3FC8 002C0F28 28 03 00 00 */ cmplwi r3, 0 +/* 802C3FCC 002C0F2C 41 82 00 0C */ beq lbl_802C3FD8 +/* 802C3FD0 002C0F30 80 1F 00 C8 */ lwz r0, 0xc8(r31) +/* 802C3FD4 002C0F34 90 03 00 00 */ stw r0, 0(r3) +lbl_802C3FD8: +/* 802C3FD8 002C0F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C3FDC 002C0F3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C3FE0 002C0F40 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C3FE4 002C0F44 7C 08 03 A6 */ mtlr r0 +/* 802C3FE8 002C0F48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C3FEC 002C0F4C 4E 80 00 20 */ blr + +.global GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv +GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv: +/* 802C3FF0 002C0F50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C3FF4 002C0F54 7C 08 02 A6 */ mflr r0 +/* 802C3FF8 002C0F58 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C3FFC 002C0F5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C4000 002C0F60 93 C1 00 08 */ stw r30, 8(r1) +/* 802C4004 002C0F64 7C 7E 1B 78 */ mr r30, r3 +/* 802C4008 002C0F68 88 03 00 C4 */ lbz r0, 0xc4(r3) +/* 802C400C 002C0F6C 28 00 00 00 */ cmplwi r0, 0 +/* 802C4010 002C0F70 40 82 00 0C */ bne lbl_802C401C +/* 802C4014 002C0F74 38 60 00 01 */ li r3, 1 +/* 802C4018 002C0F78 48 00 00 6C */ b lbl_802C4084 +lbl_802C401C: +/* 802C401C 002C0F7C 3B FE 00 B8 */ addi r31, r30, 0xb8 +/* 802C4020 002C0F80 80 1E 00 C0 */ lwz r0, 0xc0(r30) +/* 802C4024 002C0F84 28 00 00 00 */ cmplwi r0, 0 +/* 802C4028 002C0F88 40 82 00 30 */ bne lbl_802C4058 +/* 802C402C 002C0F8C 88 1F 00 04 */ lbz r0, 4(r31) +/* 802C4030 002C0F90 28 00 00 00 */ cmplwi r0, 0 +/* 802C4034 002C0F94 41 82 00 24 */ beq lbl_802C4058 +/* 802C4038 002C0F98 80 7F 00 00 */ lwz r3, 0(r31) +/* 802C403C 002C0F9C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802C4040 002C0FA0 28 00 00 00 */ cmplwi r0, 0 +/* 802C4044 002C0FA4 41 82 00 14 */ beq lbl_802C4058 +/* 802C4048 002C0FA8 7F E3 FB 78 */ mr r3, r31 +/* 802C404C 002C0FAC 48 07 CD C1 */ bl GetObj__6CTokenFv +/* 802C4050 002C0FB0 80 03 00 04 */ lwz r0, 4(r3) +/* 802C4054 002C0FB4 90 1F 00 08 */ stw r0, 8(r31) +lbl_802C4058: +/* 802C4058 002C0FB8 83 FE 00 C0 */ lwz r31, 0xc0(r30) +/* 802C405C 002C0FBC 28 1F 00 00 */ cmplwi r31, 0 +/* 802C4060 002C0FC0 41 82 00 20 */ beq lbl_802C4080 +/* 802C4064 002C0FC4 7F E3 FB 78 */ mr r3, r31 +/* 802C4068 002C0FC8 38 80 00 00 */ li r4, 0 +/* 802C406C 002C0FCC 48 09 15 C9 */ bl Touch__6CModelCFi +/* 802C4070 002C0FD0 7F E3 FB 78 */ mr r3, r31 +/* 802C4074 002C0FD4 38 80 00 00 */ li r4, 0 +/* 802C4078 002C0FD8 48 09 15 31 */ bl IsLoaded__6CModelCFi +/* 802C407C 002C0FDC 48 00 00 08 */ b lbl_802C4084 +lbl_802C4080: +/* 802C4080 002C0FE0 38 60 00 00 */ li r3, 0 +lbl_802C4084: +/* 802C4084 002C0FE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C4088 002C0FE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C408C 002C0FEC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C4090 002C0FF0 7C 08 03 A6 */ mtlr r0 +/* 802C4094 002C0FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C4098 002C0FF8 4E 80 00 20 */ blr + +.global Touch__9CGuiModelCFv +Touch__9CGuiModelCFv: +/* 802C409C 002C0FFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C40A0 002C1000 7C 08 02 A6 */ mflr r0 +/* 802C40A4 002C1004 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C40A8 002C1008 88 03 00 C4 */ lbz r0, 0xc4(r3) +/* 802C40AC 002C100C 28 00 00 00 */ cmplwi r0, 0 +/* 802C40B0 002C1010 41 82 00 18 */ beq lbl_802C40C8 +/* 802C40B4 002C1014 80 63 00 C0 */ lwz r3, 0xc0(r3) +/* 802C40B8 002C1018 28 03 00 00 */ cmplwi r3, 0 +/* 802C40BC 002C101C 41 82 00 0C */ beq lbl_802C40C8 +/* 802C40C0 002C1020 38 80 00 00 */ li r4, 0 +/* 802C40C4 002C1024 48 09 15 71 */ bl Touch__6CModelCFi +lbl_802C40C8: +/* 802C40C8 002C1028 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C40CC 002C102C 7C 08 03 A6 */ mtlr r0 +/* 802C40D0 002C1030 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C40D4 002C1034 4E 80 00 20 */ blr + +.global Draw__9CGuiModelCFRC19CGuiWidgetDrawParms +Draw__9CGuiModelCFRC19CGuiWidgetDrawParms: +/* 802C40D8 002C1038 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C40DC 002C103C 7C 08 02 A6 */ mflr r0 +/* 802C40E0 002C1040 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C40E4 002C1044 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802C40E8 002C1048 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802C40EC 002C104C BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802C40F0 002C1050 7C 7A 1B 78 */ mr r26, r3 +/* 802C40F4 002C1054 7C 9B 23 78 */ mr r27, r4 +/* 802C40F8 002C1058 38 7A 00 34 */ addi r3, r26, 0x34 +/* 802C40FC 002C105C 48 04 84 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C4100 002C1060 88 1A 00 C4 */ lbz r0, 0xc4(r26) +/* 802C4104 002C1064 28 00 00 00 */ cmplwi r0, 0 +/* 802C4108 002C1068 41 82 03 44 */ beq lbl_802C444C +/* 802C410C 002C106C 7F 43 D3 78 */ mr r3, r26 +/* 802C4110 002C1070 48 00 68 29 */ bl GetIsFinishedLoading__10CGuiWidgetCFv +/* 802C4114 002C1074 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C4118 002C1078 41 82 03 34 */ beq lbl_802C444C +/* 802C411C 002C107C 83 BA 00 C0 */ lwz r29, 0xc0(r26) +/* 802C4120 002C1080 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4124 002C1084 41 82 03 28 */ beq lbl_802C444C +/* 802C4128 002C1088 7F 43 D3 78 */ mr r3, r26 +/* 802C412C 002C108C 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C4130 002C1090 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C4134 002C1094 7D 89 03 A6 */ mtctr r12 +/* 802C4138 002C1098 4E 80 04 21 */ bctrl +/* 802C413C 002C109C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C4140 002C10A0 41 82 03 00 */ beq lbl_802C4440 +/* 802C4144 002C10A4 88 7A 00 AB */ lbz r3, 0xab(r26) +/* 802C4148 002C10A8 3C 00 43 30 */ lis r0, 0x4330 +/* 802C414C 002C10AC 90 01 00 48 */ stw r0, 0x48(r1) +/* 802C4150 002C10B0 C8 22 C3 90 */ lfd f1, lbl_805AE0B0@sda21(r2) +/* 802C4154 002C10B4 90 61 00 4C */ stw r3, 0x4c(r1) +/* 802C4158 002C10B8 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802C415C 002C10BC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802C4160 002C10C0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C4164 002C10C4 EF E2 00 32 */ fmuls f31, f2, f0 +/* 802C4168 002C10C8 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 802C416C 002C10CC 80 1A 00 A8 */ lwz r0, 0xa8(r26) +/* 802C4170 002C10D0 8B C1 00 08 */ lbz r30, 8(r1) +/* 802C4174 002C10D4 80 7A 00 B0 */ lwz r3, 0xb0(r26) +/* 802C4178 002C10D8 50 1E 00 2E */ rlwimi r30, r0, 0, 0, 0x17 +/* 802C417C 002C10DC 80 9A 00 CC */ lwz r4, 0xcc(r26) +/* 802C4180 002C10E0 4B FF E2 59 */ bl EnableLights__9CGuiFrameCFUi +/* 802C4184 002C10E4 88 1A 00 B6 */ lbz r0, 0xb6(r26) +/* 802C4188 002C10E8 54 1F F7 FF */ rlwinm. r31, r0, 0x1e, 0x1f, 0x1f +/* 802C418C 002C10EC 41 82 00 0C */ beq lbl_802C4198 +/* 802C4190 002C10F0 38 60 00 01 */ li r3, 1 +/* 802C4194 002C10F4 48 04 78 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode +lbl_802C4198: +/* 802C4198 002C10F8 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2) +/* 802C419C 002C10FC 38 80 00 00 */ li r4, 0 +/* 802C41A0 002C1100 38 00 00 03 */ li r0, 3 +/* 802C41A4 002C1104 98 81 00 34 */ stb r4, 0x34(r1) +/* 802C41A8 002C1108 FC 40 08 90 */ fmr f2, f1 +/* 802C41AC 002C110C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C41B0 002C1110 FC 60 08 90 */ fmr f3, f1 +/* 802C41B4 002C1114 98 81 00 35 */ stb r4, 0x35(r1) +/* 802C41B8 002C1118 FC 80 08 90 */ fmr f4, f1 +/* 802C41BC 002C111C B0 01 00 36 */ sth r0, 0x36(r1) +/* 802C41C0 002C1120 48 09 F2 2D */ bl __ct__6CColorFffff +/* 802C41C4 002C1124 80 1A 00 AC */ lwz r0, 0xac(r26) +/* 802C41C8 002C1128 3B 80 00 01 */ li r28, 1 +/* 802C41CC 002C112C 88 C1 00 34 */ lbz r6, 0x34(r1) +/* 802C41D0 002C1130 88 A1 00 35 */ lbz r5, 0x35(r1) +/* 802C41D4 002C1134 2C 00 00 02 */ cmpwi r0, 2 +/* 802C41D8 002C1138 A0 81 00 36 */ lhz r4, 0x36(r1) +/* 802C41DC 002C113C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802C41E0 002C1140 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 802C41E4 002C1144 98 A1 00 3D */ stb r5, 0x3d(r1) +/* 802C41E8 002C1148 B0 81 00 3E */ sth r4, 0x3e(r1) +/* 802C41EC 002C114C 90 61 00 40 */ stw r3, 0x40(r1) +/* 802C41F0 002C1150 41 82 00 98 */ beq lbl_802C4288 +/* 802C41F4 002C1154 40 80 00 14 */ bge lbl_802C4208 +/* 802C41F8 002C1158 2C 00 00 00 */ cmpwi r0, 0 +/* 802C41FC 002C115C 41 82 00 1C */ beq lbl_802C4218 +/* 802C4200 002C1160 40 80 00 68 */ bge lbl_802C4268 +/* 802C4204 002C1164 48 00 01 E4 */ b lbl_802C43E8 +lbl_802C4208: +/* 802C4208 002C1168 2C 00 00 04 */ cmpwi r0, 4 +/* 802C420C 002C116C 41 82 01 04 */ beq lbl_802C4310 +/* 802C4210 002C1170 40 80 01 D8 */ bge lbl_802C43E8 +/* 802C4214 002C1174 48 00 00 B8 */ b lbl_802C42CC +lbl_802C4218: +/* 802C4218 002C1178 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2) +/* 802C421C 002C117C 38 80 00 00 */ li r4, 0 +/* 802C4220 002C1180 38 00 00 03 */ li r0, 3 +/* 802C4224 002C1184 98 81 00 2C */ stb r4, 0x2c(r1) +/* 802C4228 002C1188 FC 40 08 90 */ fmr f2, f1 +/* 802C422C 002C118C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802C4230 002C1190 FC 60 08 90 */ fmr f3, f1 +/* 802C4234 002C1194 98 81 00 2D */ stb r4, 0x2d(r1) +/* 802C4238 002C1198 FC 80 08 90 */ fmr f4, f1 +/* 802C423C 002C119C B0 01 00 2E */ sth r0, 0x2e(r1) +/* 802C4240 002C11A0 48 09 F1 AD */ bl __ct__6CColorFffff +/* 802C4244 002C11A4 88 A1 00 2C */ lbz r5, 0x2c(r1) +/* 802C4248 002C11A8 88 81 00 2D */ lbz r4, 0x2d(r1) +/* 802C424C 002C11AC A0 61 00 2E */ lhz r3, 0x2e(r1) +/* 802C4250 002C11B0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802C4254 002C11B4 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 802C4258 002C11B8 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C425C 002C11BC B0 61 00 3E */ sth r3, 0x3e(r1) +/* 802C4260 002C11C0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802C4264 002C11C4 48 00 01 88 */ b lbl_802C43EC +lbl_802C4268: +/* 802C4268 002C11C8 38 80 00 01 */ li r4, 1 +/* 802C426C 002C11CC 38 60 00 00 */ li r3, 0 +/* 802C4270 002C11D0 38 00 00 03 */ li r0, 3 +/* 802C4274 002C11D4 98 81 00 3C */ stb r4, 0x3c(r1) +/* 802C4278 002C11D8 98 61 00 3D */ stb r3, 0x3d(r1) +/* 802C427C 002C11DC B0 01 00 3E */ sth r0, 0x3e(r1) +/* 802C4280 002C11E0 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802C4284 002C11E4 48 00 01 68 */ b lbl_802C43EC +lbl_802C4288: +/* 802C4288 002C11E8 88 1A 00 B7 */ lbz r0, 0xb7(r26) +/* 802C428C 002C11EC 38 A0 00 05 */ li r5, 5 +/* 802C4290 002C11F0 38 60 00 03 */ li r3, 3 +/* 802C4294 002C11F4 88 DA 00 B6 */ lbz r6, 0xb6(r26) +/* 802C4298 002C11F8 38 80 00 00 */ li r4, 0 +/* 802C429C 002C11FC 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e +/* 802C42A0 002C1200 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802C42A4 002C1204 98 A1 00 24 */ stb r5, 0x24(r1) +/* 802C42A8 002C1208 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d +/* 802C42AC 002C120C 98 81 00 25 */ stb r4, 0x25(r1) +/* 802C42B0 002C1210 B0 61 00 26 */ sth r3, 0x26(r1) +/* 802C42B4 002C1214 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C42B8 002C1218 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 802C42BC 002C121C 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C42C0 002C1220 B0 01 00 3E */ sth r0, 0x3e(r1) +/* 802C42C4 002C1224 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802C42C8 002C1228 48 00 01 24 */ b lbl_802C43EC +lbl_802C42CC: +/* 802C42CC 002C122C 88 1A 00 B7 */ lbz r0, 0xb7(r26) +/* 802C42D0 002C1230 38 A0 00 07 */ li r5, 7 +/* 802C42D4 002C1234 38 60 00 03 */ li r3, 3 +/* 802C42D8 002C1238 88 DA 00 B6 */ lbz r6, 0xb6(r26) +/* 802C42DC 002C123C 38 80 00 00 */ li r4, 0 +/* 802C42E0 002C1240 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e +/* 802C42E4 002C1244 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802C42E8 002C1248 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 802C42EC 002C124C 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d +/* 802C42F0 002C1250 98 81 00 1D */ stb r4, 0x1d(r1) +/* 802C42F4 002C1254 B0 61 00 1E */ sth r3, 0x1e(r1) +/* 802C42F8 002C1258 93 C1 00 20 */ stw r30, 0x20(r1) +/* 802C42FC 002C125C 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 802C4300 002C1260 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C4304 002C1264 B0 01 00 3E */ sth r0, 0x3e(r1) +/* 802C4308 002C1268 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802C430C 002C126C 48 00 00 E0 */ b lbl_802C43EC +lbl_802C4310: +/* 802C4310 002C1270 88 1A 00 B6 */ lbz r0, 0xb6(r26) +/* 802C4314 002C1274 38 A0 00 05 */ li r5, 5 +/* 802C4318 002C1278 38 60 00 03 */ li r3, 3 +/* 802C431C 002C127C 38 80 00 00 */ li r4, 0 +/* 802C4320 002C1280 54 06 07 FE */ clrlwi r6, r0, 0x1f +/* 802C4324 002C1284 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802C4328 002C1288 50 66 04 3A */ rlwimi r6, r3, 0, 0x10, 0x1d +/* 802C432C 002C128C 98 A1 00 14 */ stb r5, 0x14(r1) +/* 802C4330 002C1290 54 C0 04 3E */ clrlwi r0, r6, 0x10 +/* 802C4334 002C1294 98 81 00 15 */ stb r4, 0x15(r1) +/* 802C4338 002C1298 B0 61 00 16 */ sth r3, 0x16(r1) +/* 802C433C 002C129C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C4340 002C12A0 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 802C4344 002C12A4 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C4348 002C12A8 B0 C1 00 3E */ sth r6, 0x3e(r1) +/* 802C434C 002C12AC 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802C4350 002C12B0 41 82 00 18 */ beq lbl_802C4368 +/* 802C4354 002C12B4 60 00 00 08 */ ori r0, r0, 8 +/* 802C4358 002C12B8 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 802C435C 002C12BC 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C4360 002C12C0 B0 01 00 3E */ sth r0, 0x3e(r1) +/* 802C4364 002C12C4 93 C1 00 40 */ stw r30, 0x40(r1) +lbl_802C4368: +/* 802C4368 002C12C8 7F A3 EB 78 */ mr r3, r29 +/* 802C436C 002C12CC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C4370 002C12D0 48 09 18 65 */ bl Draw__6CModelCFRC11CModelFlags +/* 802C4374 002C12D4 88 1A 00 B7 */ lbz r0, 0xb7(r26) +/* 802C4378 002C12D8 38 C0 00 08 */ li r6, 8 +/* 802C437C 002C12DC 38 80 00 03 */ li r4, 3 +/* 802C4380 002C12E0 88 FA 00 B6 */ lbz r7, 0xb6(r26) +/* 802C4384 002C12E4 54 03 D7 BC */ rlwinm r3, r0, 0x1a, 0x1e, 0x1e +/* 802C4388 002C12E8 38 A0 00 00 */ li r5, 0 +/* 802C438C 002C12EC 50 E3 07 FE */ rlwimi r3, r7, 0, 0x1f, 0x1f +/* 802C4390 002C12F0 54 E0 FF FF */ rlwinm. r0, r7, 0x1f, 0x1f, 0x1f +/* 802C4394 002C12F4 50 83 04 3A */ rlwimi r3, r4, 0, 0x10, 0x1d +/* 802C4398 002C12F8 98 C1 00 0C */ stb r6, 0xc(r1) +/* 802C439C 002C12FC 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 802C43A0 002C1300 98 A1 00 0D */ stb r5, 0xd(r1) +/* 802C43A4 002C1304 B0 81 00 0E */ sth r4, 0xe(r1) +/* 802C43A8 002C1308 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802C43AC 002C130C 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 802C43B0 002C1310 98 A1 00 3D */ stb r5, 0x3d(r1) +/* 802C43B4 002C1314 B0 61 00 3E */ sth r3, 0x3e(r1) +/* 802C43B8 002C1318 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802C43BC 002C131C 41 82 00 18 */ beq lbl_802C43D4 +/* 802C43C0 002C1320 60 00 00 08 */ ori r0, r0, 8 +/* 802C43C4 002C1324 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 802C43C8 002C1328 98 A1 00 3D */ stb r5, 0x3d(r1) +/* 802C43CC 002C132C B0 01 00 3E */ sth r0, 0x3e(r1) +/* 802C43D0 002C1330 93 C1 00 40 */ stw r30, 0x40(r1) +lbl_802C43D4: +/* 802C43D4 002C1334 7F A3 EB 78 */ mr r3, r29 +/* 802C43D8 002C1338 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C43DC 002C133C 48 09 17 F9 */ bl Draw__6CModelCFRC11CModelFlags +/* 802C43E0 002C1340 3B 80 00 00 */ li r28, 0 +/* 802C43E4 002C1344 48 00 00 08 */ b lbl_802C43EC +lbl_802C43E8: +/* 802C43E8 002C1348 3B 80 00 00 */ li r28, 0 +lbl_802C43EC: +/* 802C43EC 002C134C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802C43F0 002C1350 41 82 00 38 */ beq lbl_802C4428 +/* 802C43F4 002C1354 88 1A 00 B6 */ lbz r0, 0xb6(r26) +/* 802C43F8 002C1358 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802C43FC 002C135C 41 82 00 20 */ beq lbl_802C441C +/* 802C4400 002C1360 A0 61 00 3E */ lhz r3, 0x3e(r1) +/* 802C4404 002C1364 88 81 00 3D */ lbz r4, 0x3d(r1) +/* 802C4408 002C1368 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 802C440C 002C136C 60 63 00 08 */ ori r3, r3, 8 +/* 802C4410 002C1370 98 81 00 3D */ stb r4, 0x3d(r1) +/* 802C4414 002C1374 B0 61 00 3E */ sth r3, 0x3e(r1) +/* 802C4418 002C1378 90 A1 00 40 */ stw r5, 0x40(r1) +lbl_802C441C: +/* 802C441C 002C137C 7F A3 EB 78 */ mr r3, r29 +/* 802C4420 002C1380 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C4424 002C1384 48 09 17 B1 */ bl Draw__6CModelCFRC11CModelFlags +lbl_802C4428: +/* 802C4428 002C1388 28 1F 00 00 */ cmplwi r31, 0 +/* 802C442C 002C138C 41 82 00 0C */ beq lbl_802C4438 +/* 802C4430 002C1390 38 60 00 00 */ li r3, 0 +/* 802C4434 002C1394 48 04 76 3D */ bl SetCullMode__9CGraphicsF12ERglCullMode +lbl_802C4438: +/* 802C4438 002C1398 80 7A 00 B0 */ lwz r3, 0xb0(r26) +/* 802C443C 002C139C 4B FF E0 BD */ bl DisableLights__9CGuiFrameCFv +lbl_802C4440: +/* 802C4440 002C13A0 7F 43 D3 78 */ mr r3, r26 +/* 802C4444 002C13A4 7F 64 DB 78 */ mr r4, r27 +/* 802C4448 002C13A8 48 00 66 19 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms +lbl_802C444C: +/* 802C444C 002C13AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802C4450 002C13B0 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802C4454 002C13B4 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802C4458 002C13B8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C445C 002C13BC 7C 08 03 A6 */ mtlr r0 +/* 802C4460 002C13C0 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C4464 002C13C4 4E 80 00 20 */ blr + +.global __dt__9CGuiModelFv +__dt__9CGuiModelFv: +/* 802C4468 002C13C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C446C 002C13CC 7C 08 02 A6 */ mflr r0 +/* 802C4470 002C13D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C4474 002C13D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C4478 002C13D8 7C 9F 23 78 */ mr r31, r4 +/* 802C447C 002C13DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C4480 002C13E0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C4484 002C13E4 41 82 00 60 */ beq lbl_802C44E4 +/* 802C4488 002C13E8 3C 60 80 3F */ lis r3, lbl_803EC888@ha +/* 802C448C 002C13EC 34 1E 00 B8 */ addic. r0, r30, 0xb8 +/* 802C4490 002C13F0 38 03 C8 88 */ addi r0, r3, lbl_803EC888@l +/* 802C4494 002C13F4 90 1E 00 00 */ stw r0, 0(r30) +/* 802C4498 002C13F8 41 82 00 30 */ beq lbl_802C44C8 +/* 802C449C 002C13FC 88 1E 00 C4 */ lbz r0, 0xc4(r30) +/* 802C44A0 002C1400 28 00 00 00 */ cmplwi r0, 0 +/* 802C44A4 002C1404 41 82 00 1C */ beq lbl_802C44C0 +/* 802C44A8 002C1408 34 7E 00 B8 */ addic. r3, r30, 0xb8 +/* 802C44AC 002C140C 41 82 00 14 */ beq lbl_802C44C0 +/* 802C44B0 002C1410 28 03 00 00 */ cmplwi r3, 0 +/* 802C44B4 002C1414 41 82 00 0C */ beq lbl_802C44C0 +/* 802C44B8 002C1418 38 80 00 00 */ li r4, 0 +/* 802C44BC 002C141C 48 07 C9 85 */ bl __dt__6CTokenFv +lbl_802C44C0: +/* 802C44C0 002C1420 38 00 00 00 */ li r0, 0 +/* 802C44C4 002C1424 98 1E 00 C4 */ stb r0, 0xc4(r30) +lbl_802C44C8: +/* 802C44C8 002C1428 7F C3 F3 78 */ mr r3, r30 +/* 802C44CC 002C142C 38 80 00 00 */ li r4, 0 +/* 802C44D0 002C1430 48 00 66 E5 */ bl __dt__10CGuiWidgetFv +/* 802C44D4 002C1434 7F E0 07 35 */ extsh. r0, r31 +/* 802C44D8 002C1438 40 81 00 0C */ ble lbl_802C44E4 +/* 802C44DC 002C143C 7F C3 F3 78 */ mr r3, r30 +/* 802C44E0 002C1440 48 05 14 51 */ bl Free__7CMemoryFPCv +lbl_802C44E4: +/* 802C44E4 002C1444 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C44E8 002C1448 7F C3 F3 78 */ mr r3, r30 +/* 802C44EC 002C144C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C44F0 002C1450 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C44F4 002C1454 7C 08 03 A6 */ mtlr r0 +/* 802C44F8 002C1458 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C44FC 002C145C 4E 80 00 20 */ blr + +.global __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib +__ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib: +/* 802C4500 002C1460 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C4504 002C1464 7C 08 02 A6 */ mflr r0 +/* 802C4508 002C1468 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C450C 002C146C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802C4510 002C1470 7C 7F 1B 78 */ mr r31, r3 +/* 802C4514 002C1474 7C BB 2B 78 */ mr r27, r5 +/* 802C4518 002C1478 7C DC 33 78 */ mr r28, r6 +/* 802C451C 002C147C 7C FD 3B 78 */ mr r29, r7 +/* 802C4520 002C1480 7D 1E 43 78 */ mr r30, r8 +/* 802C4524 002C1484 48 00 67 01 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C4528 002C1488 3C 60 80 3F */ lis r3, lbl_803EC888@ha +/* 802C452C 002C148C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802C4530 002C1490 38 83 C8 88 */ addi r4, r3, lbl_803EC888@l +/* 802C4534 002C1494 90 9F 00 00 */ stw r4, 0(r31) +/* 802C4538 002C1498 38 60 00 00 */ li r3, 0 +/* 802C453C 002C149C 98 7F 00 C4 */ stb r3, 0xc4(r31) +/* 802C4540 002C14A0 93 9F 00 C8 */ stw r28, 0xc8(r31) +/* 802C4544 002C14A4 93 BF 00 CC */ stw r29, 0xcc(r31) +/* 802C4548 002C14A8 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13) +/* 802C454C 002C14AC 41 82 00 CC */ beq lbl_802C4618 +/* 802C4550 002C14B0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 802C4554 002C14B4 3C 03 00 01 */ addis r0, r3, 1 +/* 802C4558 002C14B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802C455C 002C14BC 41 82 00 BC */ beq lbl_802C4618 +/* 802C4560 002C14C0 80 04 00 08 */ lwz r0, 8(r4) +/* 802C4564 002C14C4 2C 00 00 02 */ cmpwi r0, 2 +/* 802C4568 002C14C8 41 82 00 B0 */ beq lbl_802C4618 +/* 802C456C 002C14CC 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 802C4570 002C14D0 93 81 00 14 */ stw r28, 0x14(r1) +/* 802C4574 002C14D4 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 802C4578 002C14D8 7F 64 DB 78 */ mr r4, r27 +/* 802C457C 002C14DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C4580 002C14E0 38 61 00 08 */ addi r3, r1, 8 +/* 802C4584 002C14E4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C4588 002C14E8 81 9B 00 00 */ lwz r12, 0(r27) +/* 802C458C 002C14EC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C4590 002C14F0 7D 89 03 A6 */ mtctr r12 +/* 802C4594 002C14F4 4E 80 04 21 */ bctrl +/* 802C4598 002C14F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C459C 002C14FC 38 81 00 08 */ addi r4, r1, 8 +/* 802C45A0 002C1500 48 07 C9 09 */ bl __ct__6CTokenFRC6CToken +/* 802C45A4 002C1504 38 00 00 00 */ li r0, 0 +/* 802C45A8 002C1508 90 01 00 20 */ stw r0, 0x20(r1) +/* 802C45AC 002C150C 88 1F 00 C4 */ lbz r0, 0xc4(r31) +/* 802C45B0 002C1510 28 00 00 00 */ cmplwi r0, 0 +/* 802C45B4 002C1514 40 82 00 2C */ bne lbl_802C45E0 +/* 802C45B8 002C1518 37 DF 00 B8 */ addic. r30, r31, 0xb8 +/* 802C45BC 002C151C 41 82 00 18 */ beq lbl_802C45D4 +/* 802C45C0 002C1520 7F C3 F3 78 */ mr r3, r30 +/* 802C45C4 002C1524 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C45C8 002C1528 48 07 C8 E1 */ bl __ct__6CTokenFRC6CToken +/* 802C45CC 002C152C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802C45D0 002C1530 90 1E 00 08 */ stw r0, 8(r30) +lbl_802C45D4: +/* 802C45D4 002C1534 38 00 00 01 */ li r0, 1 +/* 802C45D8 002C1538 98 1F 00 C4 */ stb r0, 0xc4(r31) +/* 802C45DC 002C153C 48 00 00 1C */ b lbl_802C45F8 +lbl_802C45E0: +/* 802C45E0 002C1540 3B DF 00 B8 */ addi r30, r31, 0xb8 +/* 802C45E4 002C1544 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C45E8 002C1548 7F C3 F3 78 */ mr r3, r30 +/* 802C45EC 002C154C 48 07 C6 D9 */ bl __as__6CTokenFRC6CToken +/* 802C45F0 002C1550 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802C45F4 002C1554 90 1E 00 08 */ stw r0, 8(r30) +lbl_802C45F8: +/* 802C45F8 002C1558 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C45FC 002C155C 38 80 00 00 */ li r4, 0 +/* 802C4600 002C1560 48 07 C8 41 */ bl __dt__6CTokenFv +/* 802C4604 002C1564 38 61 00 08 */ addi r3, r1, 8 +/* 802C4608 002C1568 38 80 FF FF */ li r4, -1 +/* 802C460C 002C156C 48 07 C8 35 */ bl __dt__6CTokenFv +/* 802C4610 002C1570 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802C4614 002C1574 48 07 C7 71 */ bl Lock__6CTokenFv +lbl_802C4618: +/* 802C4618 002C1578 7F E3 FB 78 */ mr r3, r31 +/* 802C461C 002C157C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802C4620 002C1580 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C4624 002C1584 7C 08 03 A6 */ mtlr r0 +/* 802C4628 002C1588 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C462C 002C158C 4E 80 00 20 */ blr + +.global Create__9CGuiModelFP9CGuiFrameR12CInputStreamb +Create__9CGuiModelFP9CGuiFrameR12CInputStreamb: +/* 802C4630 002C1590 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C4634 002C1594 7C 08 02 A6 */ mflr r0 +/* 802C4638 002C1598 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C463C 002C159C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802C4640 002C15A0 7C 7D 1B 78 */ mr r29, r3 +/* 802C4644 002C15A4 7C 9E 23 78 */ mr r30, r4 +/* 802C4648 002C15A8 7C BF 2B 78 */ mr r31, r5 +/* 802C464C 002C15AC 38 61 00 08 */ addi r3, r1, 8 +/* 802C4650 002C15B0 7F A4 EB 78 */ mr r4, r29 +/* 802C4654 002C15B4 7F C5 F3 78 */ mr r5, r30 +/* 802C4658 002C15B8 48 00 66 F9 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C465C 002C15BC 83 81 00 08 */ lwz r28, 8(r1) +/* 802C4660 002C15C0 7F C3 F3 78 */ mr r3, r30 +/* 802C4664 002C15C4 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C4668 002C15C8 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C466C 002C15CC A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C4670 002C15D0 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C4674 002C15D4 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C4678 002C15D8 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C467C 002C15DC 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C4680 002C15E0 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C4684 002C15E4 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C4688 002C15E8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C468C 002C15EC 93 81 00 20 */ stw r28, 0x20(r1) +/* 802C4690 002C15F0 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C4694 002C15F4 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C4698 002C15F8 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C469C 002C15FC 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C46A0 002C1600 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C46A4 002C1604 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C46A8 002C1608 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C46AC 002C160C 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C46B0 002C1610 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C46B4 002C1614 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C46B8 002C1618 48 07 A5 CD */ bl ReadLong__12CInputStreamFv +/* 802C46BC 002C161C 7C 7C 1B 78 */ mr r28, r3 +/* 802C46C0 002C1620 7F C3 F3 78 */ mr r3, r30 +/* 802C46C4 002C1624 48 07 A5 C1 */ bl ReadLong__12CInputStreamFv +/* 802C46C8 002C1628 7F C3 F3 78 */ mr r3, r30 +/* 802C46CC 002C162C 48 07 A5 B9 */ bl ReadLong__12CInputStreamFv +/* 802C46D0 002C1630 3C 80 80 3D */ lis r4, lbl_803D68B0@ha +/* 802C46D4 002C1634 7C 7B 1B 78 */ mr r27, r3 +/* 802C46D8 002C1638 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l +/* 802C46DC 002C163C 38 60 00 D0 */ li r3, 0xd0 +/* 802C46E0 002C1640 38 A0 00 00 */ li r5, 0 +/* 802C46E4 002C1644 48 05 11 89 */ bl __nw__FUlPCcPCc +/* 802C46E8 002C1648 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802C46EC 002C164C 41 82 00 20 */ beq lbl_802C470C +/* 802C46F0 002C1650 7F E5 FB 78 */ mr r5, r31 +/* 802C46F4 002C1654 7F 86 E3 78 */ mr r6, r28 +/* 802C46F8 002C1658 7F 67 DB 78 */ mr r7, r27 +/* 802C46FC 002C165C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C4700 002C1660 39 00 00 01 */ li r8, 1 +/* 802C4704 002C1664 4B FF FD FD */ bl __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib +/* 802C4708 002C1668 7C 7A 1B 78 */ mr r26, r3 +lbl_802C470C: +/* 802C470C 002C166C 7F 43 D3 78 */ mr r3, r26 +/* 802C4710 002C1670 7F A4 EB 78 */ mr r4, r29 +/* 802C4714 002C1674 7F C5 F3 78 */ mr r5, r30 +/* 802C4718 002C1678 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C471C 002C167C 48 00 63 6D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C4720 002C1680 7F 43 D3 78 */ mr r3, r26 +/* 802C4724 002C1684 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802C4728 002C1688 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C472C 002C168C 7C 08 03 A6 */ mtlr r0 +/* 802C4730 002C1690 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C4734 002C1694 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiObject.s b/asm/GuiSys/CGuiObject.s new file mode 100644 index 00000000..a5482e19 --- /dev/null +++ b/asm/GuiSys/CGuiObject.s @@ -0,0 +1,1001 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetO2WTransform__10CGuiObjectFRC12CTransform4f +SetO2WTransform__10CGuiObjectFRC12CTransform4f: +/* 802C4738 002C1698 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802C473C 002C169C 7C 08 02 A6 */ mflr r0 +/* 802C4740 002C16A0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802C4744 002C16A4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802C4748 002C16A8 7C 9F 23 78 */ mr r31, r4 +/* 802C474C 002C16AC 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802C4750 002C16B0 7C 7E 1B 78 */ mr r30, r3 +/* 802C4754 002C16B4 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C4758 002C16B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C475C 002C16BC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4760 002C16C0 48 04 E5 3D */ bl GetQuickInverse__12CTransform4fCFv +/* 802C4764 002C16C4 38 61 00 98 */ addi r3, r1, 0x98 +/* 802C4768 002C16C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 802C476C 002C16CC 48 04 E4 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C4770 002C16D0 7F E5 FB 78 */ mr r5, r31 +/* 802C4774 002C16D4 38 61 00 08 */ addi r3, r1, 8 +/* 802C4778 002C16D8 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C477C 002C16DC 48 04 E1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4780 002C16E0 38 61 00 68 */ addi r3, r1, 0x68 +/* 802C4784 002C16E4 38 81 00 08 */ addi r4, r1, 8 +/* 802C4788 002C16E8 48 04 E3 ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C478C 002C16EC 7F C3 F3 78 */ mr r3, r30 +/* 802C4790 002C16F0 38 81 00 68 */ addi r4, r1, 0x68 +/* 802C4794 002C16F4 48 00 00 1D */ bl sub_802c47b0 +/* 802C4798 002C16F8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802C479C 002C16FC 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802C47A0 002C1700 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802C47A4 002C1704 7C 08 03 A6 */ mtlr r0 +/* 802C47A8 002C1708 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802C47AC 002C170C 4E 80 00 20 */ blr + +.global sub_802c47b0 +sub_802c47b0: +/* 802C47B0 002C1710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C47B4 002C1714 7C 08 02 A6 */ mflr r0 +/* 802C47B8 002C1718 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C47BC 002C171C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C47C0 002C1720 7C 7F 1B 78 */ mr r31, r3 +/* 802C47C4 002C1724 38 7F 00 04 */ addi r3, r31, 4 +/* 802C47C8 002C1728 48 04 E3 79 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C47CC 002C172C 7F E3 FB 78 */ mr r3, r31 +/* 802C47D0 002C1730 48 00 00 19 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C47D4 002C1734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C47D8 002C1738 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C47DC 002C173C 7C 08 03 A6 */ mtlr r0 +/* 802C47E0 002C1740 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C47E4 002C1744 4E 80 00 20 */ blr + +.global RecalculateTransforms__10CGuiObjectFv +RecalculateTransforms__10CGuiObjectFv: +/* 802C47E8 002C1748 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 802C47EC 002C174C 7C 08 02 A6 */ mflr r0 +/* 802C47F0 002C1750 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 802C47F4 002C1754 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 802C47F8 002C1758 7C 7F 1B 78 */ mr r31, r3 +/* 802C47FC 002C175C 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 802C4800 002C1760 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 802C4804 002C1764 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 802C4808 002C1768 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C480C 002C176C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4810 002C1770 41 82 00 24 */ beq lbl_802C4834 +/* 802C4814 002C1774 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 802C4818 002C1778 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C481C 002C177C 38 BF 00 04 */ addi r5, r31, 4 +/* 802C4820 002C1780 48 04 E1 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4824 002C1784 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C4828 002C1788 38 81 02 A8 */ addi r4, r1, 0x2a8 +/* 802C482C 002C178C 48 04 E3 15 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4830 002C1790 48 00 00 10 */ b lbl_802C4840 +lbl_802C4834: +/* 802C4834 002C1794 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C4838 002C1798 38 9F 00 04 */ addi r4, r31, 4 +/* 802C483C 002C179C 48 04 E3 05 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4840: +/* 802C4840 002C17A0 83 DF 00 6C */ lwz r30, 0x6c(r31) +/* 802C4844 002C17A4 28 1E 00 00 */ cmplwi r30, 0 +/* 802C4848 002C17A8 41 82 02 54 */ beq lbl_802C4A9C +/* 802C484C 002C17AC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802C4850 002C17B0 28 04 00 00 */ cmplwi r4, 0 +/* 802C4854 002C17B4 41 82 00 24 */ beq lbl_802C4878 +/* 802C4858 002C17B8 38 61 02 78 */ addi r3, r1, 0x278 +/* 802C485C 002C17BC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4860 002C17C0 38 BE 00 04 */ addi r5, r30, 4 +/* 802C4864 002C17C4 48 04 E0 ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4868 002C17C8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C486C 002C17CC 38 81 02 78 */ addi r4, r1, 0x278 +/* 802C4870 002C17D0 48 04 E2 D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4874 002C17D4 48 00 00 10 */ b lbl_802C4884 +lbl_802C4878: +/* 802C4878 002C17D8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C487C 002C17DC 38 9E 00 04 */ addi r4, r30, 4 +/* 802C4880 002C17E0 48 04 E2 C1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4884: +/* 802C4884 002C17E4 83 BE 00 6C */ lwz r29, 0x6c(r30) +/* 802C4888 002C17E8 28 1D 00 00 */ cmplwi r29, 0 +/* 802C488C 002C17EC 41 82 01 04 */ beq lbl_802C4990 +/* 802C4890 002C17F0 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4894 002C17F4 28 04 00 00 */ cmplwi r4, 0 +/* 802C4898 002C17F8 41 82 00 24 */ beq lbl_802C48BC +/* 802C489C 002C17FC 38 61 02 18 */ addi r3, r1, 0x218 +/* 802C48A0 002C1800 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C48A4 002C1804 38 BD 00 04 */ addi r5, r29, 4 +/* 802C48A8 002C1808 48 04 E0 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C48AC 002C180C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C48B0 002C1810 38 81 02 18 */ addi r4, r1, 0x218 +/* 802C48B4 002C1814 48 04 E2 8D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C48B8 002C1818 48 00 00 10 */ b lbl_802C48C8 +lbl_802C48BC: +/* 802C48BC 002C181C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C48C0 002C1820 38 9D 00 04 */ addi r4, r29, 4 +/* 802C48C4 002C1824 48 04 E2 7D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C48C8: +/* 802C48C8 002C1828 83 9D 00 6C */ lwz r28, 0x6c(r29) +/* 802C48CC 002C182C 28 1C 00 00 */ cmplwi r28, 0 +/* 802C48D0 002C1830 41 82 00 5C */ beq lbl_802C492C +/* 802C48D4 002C1834 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C48D8 002C1838 28 04 00 00 */ cmplwi r4, 0 +/* 802C48DC 002C183C 41 82 00 24 */ beq lbl_802C4900 +/* 802C48E0 002C1840 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C48E4 002C1844 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C48E8 002C1848 38 BC 00 04 */ addi r5, r28, 4 +/* 802C48EC 002C184C 48 04 E0 65 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C48F0 002C1850 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C48F4 002C1854 38 81 01 58 */ addi r4, r1, 0x158 +/* 802C48F8 002C1858 48 04 E2 49 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C48FC 002C185C 48 00 00 10 */ b lbl_802C490C +lbl_802C4900: +/* 802C4900 002C1860 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4904 002C1864 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4908 002C1868 48 04 E2 39 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C490C: +/* 802C490C 002C186C 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4910 002C1870 28 03 00 00 */ cmplwi r3, 0 +/* 802C4914 002C1874 41 82 00 08 */ beq lbl_802C491C +/* 802C4918 002C1878 4B FF FE D1 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C491C: +/* 802C491C 002C187C 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4920 002C1880 28 03 00 00 */ cmplwi r3, 0 +/* 802C4924 002C1884 41 82 00 08 */ beq lbl_802C492C +/* 802C4928 002C1888 4B FF FE C1 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C492C: +/* 802C492C 002C188C 83 9D 00 68 */ lwz r28, 0x68(r29) +/* 802C4930 002C1890 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4934 002C1894 41 82 00 5C */ beq lbl_802C4990 +/* 802C4938 002C1898 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C493C 002C189C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4940 002C18A0 41 82 00 24 */ beq lbl_802C4964 +/* 802C4944 002C18A4 38 61 01 28 */ addi r3, r1, 0x128 +/* 802C4948 002C18A8 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C494C 002C18AC 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4950 002C18B0 48 04 E0 01 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4954 002C18B4 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4958 002C18B8 38 81 01 28 */ addi r4, r1, 0x128 +/* 802C495C 002C18BC 48 04 E1 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4960 002C18C0 48 00 00 10 */ b lbl_802C4970 +lbl_802C4964: +/* 802C4964 002C18C4 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4968 002C18C8 38 9C 00 04 */ addi r4, r28, 4 +/* 802C496C 002C18CC 48 04 E1 D5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4970: +/* 802C4970 002C18D0 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4974 002C18D4 28 03 00 00 */ cmplwi r3, 0 +/* 802C4978 002C18D8 41 82 00 08 */ beq lbl_802C4980 +/* 802C497C 002C18DC 4B FF FE 6D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4980: +/* 802C4980 002C18E0 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4984 002C18E4 28 03 00 00 */ cmplwi r3, 0 +/* 802C4988 002C18E8 41 82 00 08 */ beq lbl_802C4990 +/* 802C498C 002C18EC 4B FF FE 5D */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4990: +/* 802C4990 002C18F0 83 9E 00 68 */ lwz r28, 0x68(r30) +/* 802C4994 002C18F4 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4998 002C18F8 41 82 01 04 */ beq lbl_802C4A9C +/* 802C499C 002C18FC 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C49A0 002C1900 28 04 00 00 */ cmplwi r4, 0 +/* 802C49A4 002C1904 41 82 00 24 */ beq lbl_802C49C8 +/* 802C49A8 002C1908 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802C49AC 002C190C 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C49B0 002C1910 38 BC 00 04 */ addi r5, r28, 4 +/* 802C49B4 002C1914 48 04 DF 9D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C49B8 002C1918 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C49BC 002C191C 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802C49C0 002C1920 48 04 E1 81 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C49C4 002C1924 48 00 00 10 */ b lbl_802C49D4 +lbl_802C49C8: +/* 802C49C8 002C1928 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C49CC 002C192C 38 9C 00 04 */ addi r4, r28, 4 +/* 802C49D0 002C1930 48 04 E1 71 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C49D4: +/* 802C49D4 002C1934 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C49D8 002C1938 28 1D 00 00 */ cmplwi r29, 0 +/* 802C49DC 002C193C 41 82 00 5C */ beq lbl_802C4A38 +/* 802C49E0 002C1940 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C49E4 002C1944 28 04 00 00 */ cmplwi r4, 0 +/* 802C49E8 002C1948 41 82 00 24 */ beq lbl_802C4A0C +/* 802C49EC 002C194C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802C49F0 002C1950 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C49F4 002C1954 38 BD 00 04 */ addi r5, r29, 4 +/* 802C49F8 002C1958 48 04 DF 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C49FC 002C195C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4A00 002C1960 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 802C4A04 002C1964 48 04 E1 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4A08 002C1968 48 00 00 10 */ b lbl_802C4A18 +lbl_802C4A0C: +/* 802C4A0C 002C196C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4A10 002C1970 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4A14 002C1974 48 04 E1 2D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4A18: +/* 802C4A18 002C1978 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4A1C 002C197C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A20 002C1980 41 82 00 08 */ beq lbl_802C4A28 +/* 802C4A24 002C1984 4B FF FD C5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A28: +/* 802C4A28 002C1988 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4A2C 002C198C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A30 002C1990 41 82 00 08 */ beq lbl_802C4A38 +/* 802C4A34 002C1994 4B FF FD B5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A38: +/* 802C4A38 002C1998 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4A3C 002C199C 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4A40 002C19A0 41 82 00 5C */ beq lbl_802C4A9C +/* 802C4A44 002C19A4 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4A48 002C19A8 28 04 00 00 */ cmplwi r4, 0 +/* 802C4A4C 002C19AC 41 82 00 24 */ beq lbl_802C4A70 +/* 802C4A50 002C19B0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802C4A54 002C19B4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4A58 002C19B8 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4A5C 002C19BC 48 04 DE F5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4A60 002C19C0 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4A64 002C19C4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802C4A68 002C19C8 48 04 E0 D9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4A6C 002C19CC 48 00 00 10 */ b lbl_802C4A7C +lbl_802C4A70: +/* 802C4A70 002C19D0 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4A74 002C19D4 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4A78 002C19D8 48 04 E0 C9 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4A7C: +/* 802C4A7C 002C19DC 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4A80 002C19E0 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A84 002C19E4 41 82 00 08 */ beq lbl_802C4A8C +/* 802C4A88 002C19E8 4B FF FD 61 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A8C: +/* 802C4A8C 002C19EC 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4A90 002C19F0 28 03 00 00 */ cmplwi r3, 0 +/* 802C4A94 002C19F4 41 82 00 08 */ beq lbl_802C4A9C +/* 802C4A98 002C19F8 4B FF FD 51 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4A9C: +/* 802C4A9C 002C19FC 83 9F 00 68 */ lwz r28, 0x68(r31) +/* 802C4AA0 002C1A00 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4AA4 002C1A04 41 82 02 54 */ beq lbl_802C4CF8 +/* 802C4AA8 002C1A08 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4AAC 002C1A0C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4AB0 002C1A10 41 82 00 24 */ beq lbl_802C4AD4 +/* 802C4AB4 002C1A14 38 61 02 48 */ addi r3, r1, 0x248 +/* 802C4AB8 002C1A18 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4ABC 002C1A1C 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4AC0 002C1A20 48 04 DE 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4AC4 002C1A24 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4AC8 002C1A28 38 81 02 48 */ addi r4, r1, 0x248 +/* 802C4ACC 002C1A2C 48 04 E0 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4AD0 002C1A30 48 00 00 10 */ b lbl_802C4AE0 +lbl_802C4AD4: +/* 802C4AD4 002C1A34 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4AD8 002C1A38 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4ADC 002C1A3C 48 04 E0 65 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4AE0: +/* 802C4AE0 002C1A40 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C4AE4 002C1A44 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4AE8 002C1A48 41 82 01 04 */ beq lbl_802C4BEC +/* 802C4AEC 002C1A4C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4AF0 002C1A50 28 04 00 00 */ cmplwi r4, 0 +/* 802C4AF4 002C1A54 41 82 00 24 */ beq lbl_802C4B18 +/* 802C4AF8 002C1A58 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802C4AFC 002C1A5C 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4B00 002C1A60 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4B04 002C1A64 48 04 DE 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4B08 002C1A68 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4B0C 002C1A6C 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802C4B10 002C1A70 48 04 E0 31 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4B14 002C1A74 48 00 00 10 */ b lbl_802C4B24 +lbl_802C4B18: +/* 802C4B18 002C1A78 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4B1C 002C1A7C 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4B20 002C1A80 48 04 E0 21 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4B24: +/* 802C4B24 002C1A84 83 DD 00 6C */ lwz r30, 0x6c(r29) +/* 802C4B28 002C1A88 28 1E 00 00 */ cmplwi r30, 0 +/* 802C4B2C 002C1A8C 41 82 00 5C */ beq lbl_802C4B88 +/* 802C4B30 002C1A90 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802C4B34 002C1A94 28 04 00 00 */ cmplwi r4, 0 +/* 802C4B38 002C1A98 41 82 00 24 */ beq lbl_802C4B5C +/* 802C4B3C 002C1A9C 38 61 00 98 */ addi r3, r1, 0x98 +/* 802C4B40 002C1AA0 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4B44 002C1AA4 38 BE 00 04 */ addi r5, r30, 4 +/* 802C4B48 002C1AA8 48 04 DE 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4B4C 002C1AAC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C4B50 002C1AB0 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C4B54 002C1AB4 48 04 DF ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4B58 002C1AB8 48 00 00 10 */ b lbl_802C4B68 +lbl_802C4B5C: +/* 802C4B5C 002C1ABC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C4B60 002C1AC0 38 9E 00 04 */ addi r4, r30, 4 +/* 802C4B64 002C1AC4 48 04 DF DD */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4B68: +/* 802C4B68 002C1AC8 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C4B6C 002C1ACC 28 03 00 00 */ cmplwi r3, 0 +/* 802C4B70 002C1AD0 41 82 00 08 */ beq lbl_802C4B78 +/* 802C4B74 002C1AD4 4B FF FC 75 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4B78: +/* 802C4B78 002C1AD8 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 802C4B7C 002C1ADC 28 03 00 00 */ cmplwi r3, 0 +/* 802C4B80 002C1AE0 41 82 00 08 */ beq lbl_802C4B88 +/* 802C4B84 002C1AE4 4B FF FC 65 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4B88: +/* 802C4B88 002C1AE8 83 BD 00 68 */ lwz r29, 0x68(r29) +/* 802C4B8C 002C1AEC 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4B90 002C1AF0 41 82 00 5C */ beq lbl_802C4BEC +/* 802C4B94 002C1AF4 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4B98 002C1AF8 28 04 00 00 */ cmplwi r4, 0 +/* 802C4B9C 002C1AFC 41 82 00 24 */ beq lbl_802C4BC0 +/* 802C4BA0 002C1B00 38 61 00 68 */ addi r3, r1, 0x68 +/* 802C4BA4 002C1B04 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4BA8 002C1B08 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4BAC 002C1B0C 48 04 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4BB0 002C1B10 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4BB4 002C1B14 38 81 00 68 */ addi r4, r1, 0x68 +/* 802C4BB8 002C1B18 48 04 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4BBC 002C1B1C 48 00 00 10 */ b lbl_802C4BCC +lbl_802C4BC0: +/* 802C4BC0 002C1B20 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4BC4 002C1B24 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4BC8 002C1B28 48 04 DF 79 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4BCC: +/* 802C4BCC 002C1B2C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4BD0 002C1B30 28 03 00 00 */ cmplwi r3, 0 +/* 802C4BD4 002C1B34 41 82 00 08 */ beq lbl_802C4BDC +/* 802C4BD8 002C1B38 4B FF FC 11 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4BDC: +/* 802C4BDC 002C1B3C 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4BE0 002C1B40 28 03 00 00 */ cmplwi r3, 0 +/* 802C4BE4 002C1B44 41 82 00 08 */ beq lbl_802C4BEC +/* 802C4BE8 002C1B48 4B FF FC 01 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4BEC: +/* 802C4BEC 002C1B4C 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4BF0 002C1B50 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4BF4 002C1B54 41 82 01 04 */ beq lbl_802C4CF8 +/* 802C4BF8 002C1B58 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4BFC 002C1B5C 28 04 00 00 */ cmplwi r4, 0 +/* 802C4C00 002C1B60 41 82 00 24 */ beq lbl_802C4C24 +/* 802C4C04 002C1B64 38 61 01 88 */ addi r3, r1, 0x188 +/* 802C4C08 002C1B68 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4C0C 002C1B6C 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4C10 002C1B70 48 04 DD 41 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4C14 002C1B74 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4C18 002C1B78 38 81 01 88 */ addi r4, r1, 0x188 +/* 802C4C1C 002C1B7C 48 04 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4C20 002C1B80 48 00 00 10 */ b lbl_802C4C30 +lbl_802C4C24: +/* 802C4C24 002C1B84 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4C28 002C1B88 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4C2C 002C1B8C 48 04 DF 15 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4C30: +/* 802C4C30 002C1B90 83 BC 00 6C */ lwz r29, 0x6c(r28) +/* 802C4C34 002C1B94 28 1D 00 00 */ cmplwi r29, 0 +/* 802C4C38 002C1B98 41 82 00 5C */ beq lbl_802C4C94 +/* 802C4C3C 002C1B9C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 802C4C40 002C1BA0 28 04 00 00 */ cmplwi r4, 0 +/* 802C4C44 002C1BA4 41 82 00 24 */ beq lbl_802C4C68 +/* 802C4C48 002C1BA8 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C4C4C 002C1BAC 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4C50 002C1BB0 38 BD 00 04 */ addi r5, r29, 4 +/* 802C4C54 002C1BB4 48 04 DC FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4C58 002C1BB8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4C5C 002C1BBC 38 81 00 38 */ addi r4, r1, 0x38 +/* 802C4C60 002C1BC0 48 04 DE E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4C64 002C1BC4 48 00 00 10 */ b lbl_802C4C74 +lbl_802C4C68: +/* 802C4C68 002C1BC8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802C4C6C 002C1BCC 38 9D 00 04 */ addi r4, r29, 4 +/* 802C4C70 002C1BD0 48 04 DE D1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4C74: +/* 802C4C74 002C1BD4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 802C4C78 002C1BD8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4C7C 002C1BDC 41 82 00 08 */ beq lbl_802C4C84 +/* 802C4C80 002C1BE0 4B FF FB 69 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4C84: +/* 802C4C84 002C1BE4 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 802C4C88 002C1BE8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4C8C 002C1BEC 41 82 00 08 */ beq lbl_802C4C94 +/* 802C4C90 002C1BF0 4B FF FB 59 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4C94: +/* 802C4C94 002C1BF4 83 9C 00 68 */ lwz r28, 0x68(r28) +/* 802C4C98 002C1BF8 28 1C 00 00 */ cmplwi r28, 0 +/* 802C4C9C 002C1BFC 41 82 00 5C */ beq lbl_802C4CF8 +/* 802C4CA0 002C1C00 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 802C4CA4 002C1C04 28 04 00 00 */ cmplwi r4, 0 +/* 802C4CA8 002C1C08 41 82 00 24 */ beq lbl_802C4CCC +/* 802C4CAC 002C1C0C 38 61 00 08 */ addi r3, r1, 8 +/* 802C4CB0 002C1C10 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C4CB4 002C1C14 38 BC 00 04 */ addi r5, r28, 4 +/* 802C4CB8 002C1C18 48 04 DC 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4CBC 002C1C1C 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4CC0 002C1C20 38 81 00 08 */ addi r4, r1, 8 +/* 802C4CC4 002C1C24 48 04 DE 7D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4CC8 002C1C28 48 00 00 10 */ b lbl_802C4CD8 +lbl_802C4CCC: +/* 802C4CCC 002C1C2C 38 7C 00 34 */ addi r3, r28, 0x34 +/* 802C4CD0 002C1C30 38 9C 00 04 */ addi r4, r28, 4 +/* 802C4CD4 002C1C34 48 04 DE 6D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4CD8: +/* 802C4CD8 002C1C38 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 802C4CDC 002C1C3C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4CE0 002C1C40 41 82 00 08 */ beq lbl_802C4CE8 +/* 802C4CE4 002C1C44 4B FF FB 05 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4CE8: +/* 802C4CE8 002C1C48 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802C4CEC 002C1C4C 28 03 00 00 */ cmplwi r3, 0 +/* 802C4CF0 002C1C50 41 82 00 08 */ beq lbl_802C4CF8 +/* 802C4CF4 002C1C54 4B FF FA F5 */ bl RecalculateTransforms__10CGuiObjectFv +lbl_802C4CF8: +/* 802C4CF8 002C1C58 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802C4CFC 002C1C5C 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 802C4D00 002C1C60 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 802C4D04 002C1C64 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 802C4D08 002C1C68 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 802C4D0C 002C1C6C 7C 08 03 A6 */ mtlr r0 +/* 802C4D10 002C1C70 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 802C4D14 002C1C74 4E 80 00 20 */ blr + +.global GetParent__10CGuiObjectFv +GetParent__10CGuiObjectFv: +/* 802C4D18 002C1C78 80 63 00 64 */ lwz r3, 0x64(r3) +/* 802C4D1C 002C1C7C 4E 80 00 20 */ blr + +.global GetNextSibling__10CGuiObjectFv +GetNextSibling__10CGuiObjectFv: +/* 802C4D20 002C1C80 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 802C4D24 002C1C84 4E 80 00 20 */ blr + +.global GetNextSibling__18CGuiCompoundWidgetFv +GetNextSibling__18CGuiCompoundWidgetFv: +/* 802C4D28 002C1C88 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 802C4D2C 002C1C8C 4E 80 00 20 */ blr + +.global GetChildObject__10CGuiObjectFv +GetChildObject__10CGuiObjectFv: +/* 802C4D30 002C1C90 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D34 002C1C94 4E 80 00 20 */ blr + +.global GetChildObject__18CGuiCompoundWidgetFv +GetChildObject__18CGuiCompoundWidgetFv: +/* 802C4D38 002C1C98 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D3C 002C1C9C 4E 80 00 20 */ blr + +.global AddChildObject__10CGuiObjectFP10CGuiObjectbb +AddChildObject__10CGuiObjectFP10CGuiObjectbb: +/* 802C4D40 002C1CA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802C4D44 002C1CA4 7C 08 02 A6 */ mflr r0 +/* 802C4D48 002C1CA8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802C4D4C 002C1CAC DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 802C4D50 002C1CB0 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 802C4D54 002C1CB4 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 802C4D58 002C1CB8 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 802C4D5C 002C1CBC 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 802C4D60 002C1CC0 93 C1 01 98 */ stw r30, 0x198(r1) +/* 802C4D64 002C1CC4 93 A1 01 94 */ stw r29, 0x194(r1) +/* 802C4D68 002C1CC8 7C 7D 1B 78 */ mr r29, r3 +/* 802C4D6C 002C1CCC 7C 9E 23 78 */ mr r30, r4 +/* 802C4D70 002C1CD0 93 A4 00 64 */ stw r29, 0x64(r4) +/* 802C4D74 002C1CD4 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C4D78 002C1CD8 28 03 00 00 */ cmplwi r3, 0 +/* 802C4D7C 002C1CDC 40 82 00 0C */ bne lbl_802C4D88 +/* 802C4D80 002C1CE0 93 DD 00 68 */ stw r30, 0x68(r29) +/* 802C4D84 002C1CE4 48 00 00 30 */ b lbl_802C4DB4 +lbl_802C4D88: +/* 802C4D88 002C1CE8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802C4D8C 002C1CEC 41 82 00 20 */ beq lbl_802C4DAC +lbl_802C4D90: +/* 802C4D90 002C1CF0 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 802C4D94 002C1CF4 28 00 00 00 */ cmplwi r0, 0 +/* 802C4D98 002C1CF8 40 82 00 0C */ bne lbl_802C4DA4 +/* 802C4D9C 002C1CFC 93 C3 00 6C */ stw r30, 0x6c(r3) +/* 802C4DA0 002C1D00 48 00 00 14 */ b lbl_802C4DB4 +lbl_802C4DA4: +/* 802C4DA4 002C1D04 7C 03 03 78 */ mr r3, r0 +/* 802C4DA8 002C1D08 4B FF FF E8 */ b lbl_802C4D90 +lbl_802C4DAC: +/* 802C4DAC 002C1D0C 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 802C4DB0 002C1D10 93 DD 00 68 */ stw r30, 0x68(r29) +lbl_802C4DB4: +/* 802C4DB4 002C1D14 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802C4DB8 002C1D18 41 82 02 3C */ beq lbl_802C4FF4 +/* 802C4DBC 002C1D1C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C4DC0 002C1D20 83 FE 00 64 */ lwz r31, 0x64(r30) +/* 802C4DC4 002C1D24 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C4DC8 002C1D28 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C4DCC 002C1D2C 48 04 DD A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C4DD0 002C1D30 C0 62 C3 98 */ lfs f3, lbl_805AE0B8@sda21(r2) +/* 802C4DD4 002C1D34 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 802C4DD8 002C1D38 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802C4DDC 002C1D3C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 802C4DE0 002C1D40 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802C4DE4 002C1D44 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802C4DE8 002C1D48 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802C4DEC 002C1D4C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802C4DF0 002C1D50 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802C4DF4 002C1D54 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802C4DF8 002C1D58 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802C4DFC 002C1D5C C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 802C4E00 002C1D60 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 802C4E04 002C1D64 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802C4E08 002C1D68 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802C4E0C 002C1D6C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802C4E10 002C1D70 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 802C4E14 002C1D74 48 04 FA A5 */ bl Magnitude__9CVector3fCFv +/* 802C4E18 002C1D78 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 802C4E1C 002C1D7C FF C0 08 90 */ fmr f30, f1 +/* 802C4E20 002C1D80 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802C4E24 002C1D84 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802C4E28 002C1D88 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802C4E2C 002C1D8C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802C4E30 002C1D90 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 802C4E34 002C1D94 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802C4E38 002C1D98 48 04 FA 81 */ bl Magnitude__9CVector3fCFv +/* 802C4E3C 002C1D9C C0 5F 00 54 */ lfs f2, 0x54(r31) +/* 802C4E40 002C1DA0 FF E0 08 90 */ fmr f31, f1 +/* 802C4E44 002C1DA4 C0 3F 00 44 */ lfs f1, 0x44(r31) +/* 802C4E48 002C1DA8 38 61 00 BC */ addi r3, r1, 0xbc +/* 802C4E4C 002C1DAC C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 802C4E50 002C1DB0 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802C4E54 002C1DB4 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 802C4E58 002C1DB8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 802C4E5C 002C1DBC 48 04 FA 5D */ bl Magnitude__9CVector3fCFv +/* 802C4E60 002C1DC0 C0 62 C3 9C */ lfs f3, lbl_805AE0BC@sda21(r2) +/* 802C4E64 002C1DC4 38 61 01 34 */ addi r3, r1, 0x134 +/* 802C4E68 002C1DC8 C0 DF 00 5C */ lfs f6, 0x5c(r31) +/* 802C4E6C 002C1DCC 38 81 00 98 */ addi r4, r1, 0x98 +/* 802C4E70 002C1DD0 EC A3 F0 24 */ fdivs f5, f3, f30 +/* 802C4E74 002C1DD4 C0 5F 00 4C */ lfs f2, 0x4c(r31) +/* 802C4E78 002C1DD8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802C4E7C 002C1DDC 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802C4E80 002C1DE0 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802C4E84 002C1DE4 38 C1 00 68 */ addi r6, r1, 0x68 +/* 802C4E88 002C1DE8 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 802C4E8C 002C1DEC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802C4E90 002C1DF0 EC 45 01 B2 */ fmuls f2, f5, f6 +/* 802C4E94 002C1DF4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802C4E98 002C1DF8 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802C4E9C 002C1DFC EC A3 F8 24 */ fdivs f5, f3, f31 +/* 802C4EA0 002C1E00 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802C4EA4 002C1E04 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802C4EA8 002C1E08 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802C4EAC 002C1E0C C1 1F 00 58 */ lfs f8, 0x58(r31) +/* 802C4EB0 002C1E10 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 802C4EB4 002C1E14 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 802C4EB8 002C1E18 EC C5 00 32 */ fmuls f6, f5, f0 +/* 802C4EBC 002C1E1C EC 85 02 32 */ fmuls f4, f5, f8 +/* 802C4EC0 002C1E20 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802C4EC4 002C1E24 EC 05 00 B2 */ fmuls f0, f5, f2 +/* 802C4EC8 002C1E28 EC A3 08 24 */ fdivs f5, f3, f1 +/* 802C4ECC 002C1E2C D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 802C4ED0 002C1E30 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802C4ED4 002C1E34 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 802C4ED8 002C1E38 C0 FF 00 54 */ lfs f7, 0x54(r31) +/* 802C4EDC 002C1E3C C0 DF 00 44 */ lfs f6, 0x44(r31) +/* 802C4EE0 002C1E40 C0 3F 00 34 */ lfs f1, 0x34(r31) +/* 802C4EE4 002C1E44 EC 85 01 B2 */ fmuls f4, f5, f6 +/* 802C4EE8 002C1E48 EC 65 01 F2 */ fmuls f3, f5, f7 +/* 802C4EEC 002C1E4C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802C4EF0 002C1E50 EC 05 00 72 */ fmuls f0, f5, f1 +/* 802C4EF4 002C1E54 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802C4EF8 002C1E58 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802C4EFC 002C1E5C D0 C1 00 90 */ stfs f6, 0x90(r1) +/* 802C4F00 002C1E60 D0 E1 00 94 */ stfs f7, 0x94(r1) +/* 802C4F04 002C1E64 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802C4F08 002C1E68 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 802C4F0C 002C1E6C D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 802C4F10 002C1E70 48 04 B7 6D */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802C4F14 002C1E74 38 61 00 50 */ addi r3, r1, 0x50 +/* 802C4F18 002C1E78 38 81 01 34 */ addi r4, r1, 0x134 +/* 802C4F1C 002C1E7C 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 802C4F20 002C1E80 48 04 B3 75 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 802C4F24 002C1E84 C0 A1 01 54 */ lfs f5, 0x154(r1) +/* 802C4F28 002C1E88 38 61 01 58 */ addi r3, r1, 0x158 +/* 802C4F2C 002C1E8C C0 81 01 48 */ lfs f4, 0x148(r1) +/* 802C4F30 002C1E90 38 81 01 04 */ addi r4, r1, 0x104 +/* 802C4F34 002C1E94 C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 802C4F38 002C1E98 C0 E1 01 50 */ lfs f7, 0x150(r1) +/* 802C4F3C 002C1E9C C0 C1 01 44 */ lfs f6, 0x144(r1) +/* 802C4F40 002C1EA0 C0 41 01 38 */ lfs f2, 0x138(r1) +/* 802C4F44 002C1EA4 C1 21 01 4C */ lfs f9, 0x14c(r1) +/* 802C4F48 002C1EA8 C1 01 01 40 */ lfs f8, 0x140(r1) +/* 802C4F4C 002C1EAC C0 21 01 34 */ lfs f1, 0x134(r1) +/* 802C4F50 002C1EB0 C1 41 00 54 */ lfs f10, 0x54(r1) +/* 802C4F54 002C1EB4 C1 61 00 58 */ lfs f11, 0x58(r1) +/* 802C4F58 002C1EB8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802C4F5C 002C1EBC D0 61 00 08 */ stfs f3, 8(r1) +/* 802C4F60 002C1EC0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802C4F64 002C1EC4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802C4F68 002C1EC8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802C4F6C 002C1ECC D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802C4F70 002C1ED0 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802C4F74 002C1ED4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802C4F78 002C1ED8 D1 01 00 24 */ stfs f8, 0x24(r1) +/* 802C4F7C 002C1EDC D1 21 00 28 */ stfs f9, 0x28(r1) +/* 802C4F80 002C1EE0 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 802C4F84 002C1EE4 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802C4F88 002C1EE8 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802C4F8C 002C1EEC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802C4F90 002C1EF0 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 802C4F94 002C1EF4 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 802C4F98 002C1EF8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802C4F9C 002C1EFC D1 01 00 48 */ stfs f8, 0x48(r1) +/* 802C4FA0 002C1F00 D1 21 00 4C */ stfs f9, 0x4c(r1) +/* 802C4FA4 002C1F04 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 802C4FA8 002C1F08 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 802C4FAC 002C1F0C D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802C4FB0 002C1F10 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 802C4FB4 002C1F14 D1 01 01 14 */ stfs f8, 0x114(r1) +/* 802C4FB8 002C1F18 D0 C1 01 18 */ stfs f6, 0x118(r1) +/* 802C4FBC 002C1F1C D0 81 01 1C */ stfs f4, 0x11c(r1) +/* 802C4FC0 002C1F20 D1 41 01 20 */ stfs f10, 0x120(r1) +/* 802C4FC4 002C1F24 D1 21 01 24 */ stfs f9, 0x124(r1) +/* 802C4FC8 002C1F28 D0 E1 01 28 */ stfs f7, 0x128(r1) +/* 802C4FCC 002C1F2C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 802C4FD0 002C1F30 D1 61 01 30 */ stfs f11, 0x130(r1) +/* 802C4FD4 002C1F34 48 04 DB 6D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C4FD8 002C1F38 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802C4FDC 002C1F3C 38 81 01 58 */ addi r4, r1, 0x158 +/* 802C4FE0 002C1F40 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802C4FE4 002C1F44 48 04 D9 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C4FE8 002C1F48 38 7E 00 04 */ addi r3, r30, 4 +/* 802C4FEC 002C1F4C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802C4FF0 002C1F50 48 04 DB 51 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802C4FF4: +/* 802C4FF4 002C1F54 7F A3 EB 78 */ mr r3, r29 +/* 802C4FF8 002C1F58 4B FF F7 F1 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C4FFC 002C1F5C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 802C5000 002C1F60 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 802C5004 002C1F64 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 802C5008 002C1F68 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 802C500C 002C1F6C 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 802C5010 002C1F70 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 802C5014 002C1F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802C5018 002C1F78 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 802C501C 002C1F7C 7C 08 03 A6 */ mtlr r0 +/* 802C5020 002C1F80 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802C5024 002C1F84 4E 80 00 20 */ blr + +.global MultiplyO2P__10CGuiObjectFRC12CTransform4f +MultiplyO2P__10CGuiObjectFRC12CTransform4f: +/* 802C5028 002C1F88 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C502C 002C1F8C 7C 08 02 A6 */ mflr r0 +/* 802C5030 002C1F90 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C5034 002C1F94 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C5038 002C1F98 7C 7F 1B 78 */ mr r31, r3 +/* 802C503C 002C1F9C 38 61 00 08 */ addi r3, r1, 8 +/* 802C5040 002C1FA0 38 BF 00 04 */ addi r5, r31, 4 +/* 802C5044 002C1FA4 48 04 D9 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C5048 002C1FA8 38 7F 00 04 */ addi r3, r31, 4 +/* 802C504C 002C1FAC 38 81 00 08 */ addi r4, r1, 8 +/* 802C5050 002C1FB0 48 04 DA F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C5054 002C1FB4 7F E3 FB 78 */ mr r3, r31 +/* 802C5058 002C1FB8 4B FF F7 91 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C505C 002C1FBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C5060 002C1FC0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C5064 002C1FC4 7C 08 03 A6 */ mtlr r0 +/* 802C5068 002C1FC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C506C 002C1FCC 4E 80 00 20 */ blr + +.global RotateTranslateW2O__10CGuiObjectCFRC9CVector3f +RotateTranslateW2O__10CGuiObjectCFRC9CVector3f: +/* 802C5070 002C1FD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C5074 002C1FD4 7C 08 02 A6 */ mflr r0 +/* 802C5078 002C1FD8 7C 86 23 78 */ mr r6, r4 +/* 802C507C 002C1FDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C5080 002C1FE0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C5084 002C1FE4 7C 7F 1B 78 */ mr r31, r3 +/* 802C5088 002C1FE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C508C 002C1FEC C0 04 00 60 */ lfs f0, 0x60(r4) +/* 802C5090 002C1FF0 38 86 00 34 */ addi r4, r6, 0x34 +/* 802C5094 002C1FF4 C0 25 00 08 */ lfs f1, 8(r5) +/* 802C5098 002C1FF8 C0 65 00 04 */ lfs f3, 4(r5) +/* 802C509C 002C1FFC EC 81 00 28 */ fsubs f4, f1, f0 +/* 802C50A0 002C2000 C0 46 00 50 */ lfs f2, 0x50(r6) +/* 802C50A4 002C2004 C0 25 00 00 */ lfs f1, 0(r5) +/* 802C50A8 002C2008 38 A1 00 08 */ addi r5, r1, 8 +/* 802C50AC 002C200C C0 06 00 40 */ lfs f0, 0x40(r6) +/* 802C50B0 002C2010 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802C50B4 002C2014 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802C50B8 002C2018 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802C50BC 002C201C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802C50C0 002C2020 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C50C4 002C2024 48 04 D9 61 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802C50C8 002C2028 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802C50CC 002C202C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802C50D0 002C2030 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802C50D4 002C2034 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802C50D8 002C2038 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802C50DC 002C203C D0 5F 00 08 */ stfs f2, 8(r31) +/* 802C50E0 002C2040 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C50E4 002C2044 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C50E8 002C2048 7C 08 03 A6 */ mtlr r0 +/* 802C50EC 002C204C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C50F0 002C2050 4E 80 00 20 */ blr + +.global RotateO2P__10CGuiObjectCFRC9CVector3f +RotateO2P__10CGuiObjectCFRC9CVector3f: +/* 802C50F4 002C2054 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C50F8 002C2058 7C 08 02 A6 */ mflr r0 +/* 802C50FC 002C205C 38 84 00 04 */ addi r4, r4, 4 +/* 802C5100 002C2060 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C5104 002C2064 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C5108 002C2068 7C 7F 1B 78 */ mr r31, r3 +/* 802C510C 002C206C 38 61 00 08 */ addi r3, r1, 8 +/* 802C5110 002C2070 48 04 D9 71 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802C5114 002C2074 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802C5118 002C2078 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802C511C 002C207C C0 01 00 08 */ lfs f0, 8(r1) +/* 802C5120 002C2080 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802C5124 002C2084 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802C5128 002C2088 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802C512C 002C208C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C5130 002C2090 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C5134 002C2094 7C 08 03 A6 */ mtlr r0 +/* 802C5138 002C2098 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C513C 002C209C 4E 80 00 20 */ blr + +.global RotateReset__10CGuiObjectFv +RotateReset__10CGuiObjectFv: +/* 802C5140 002C20A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C5144 002C20A4 7C 08 02 A6 */ mflr r0 +/* 802C5148 002C20A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C514C 002C20AC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802C5150 002C20B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802C5154 002C20B4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 802C5158 002C20B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 802C515C 002C20BC DB A1 00 10 */ stfd f29, 0x10(r1) +/* 802C5160 002C20C0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 802C5164 002C20C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5168 002C20C8 7C 7F 1B 78 */ mr r31, r3 +/* 802C516C 002C20CC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C5170 002C20D0 C3 BF 00 30 */ lfs f29, 0x30(r31) +/* 802C5174 002C20D4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C5178 002C20D8 C3 DF 00 20 */ lfs f30, 0x20(r31) +/* 802C517C 002C20DC 38 7F 00 04 */ addi r3, r31, 4 +/* 802C5180 002C20E0 C3 FF 00 10 */ lfs f31, 0x10(r31) +/* 802C5184 002C20E4 48 04 D9 BD */ bl __as__12CTransform4fFRC12CTransform4f +/* 802C5188 002C20E8 D3 FF 00 10 */ stfs f31, 0x10(r31) +/* 802C518C 002C20EC 7F E3 FB 78 */ mr r3, r31 +/* 802C5190 002C20F0 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 802C5194 002C20F4 D3 BF 00 30 */ stfs f29, 0x30(r31) +/* 802C5198 002C20F8 4B FF F6 51 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C519C 002C20FC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802C51A0 002C2100 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802C51A4 002C2104 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 802C51A8 002C2108 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 802C51AC 002C210C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 802C51B0 002C2110 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 802C51B4 002C2114 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C51B8 002C2118 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C51BC 002C211C 7C 08 03 A6 */ mtlr r0 +/* 802C51C0 002C2120 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C51C4 002C2124 4E 80 00 20 */ blr + +.global SetLocalPosition__10CGuiObjectFRC9CVector3f +SetLocalPosition__10CGuiObjectFRC9CVector3f: +/* 802C51C8 002C2128 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C51CC 002C212C 7C 08 02 A6 */ mflr r0 +/* 802C51D0 002C2130 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C51D4 002C2134 C0 24 00 04 */ lfs f1, 4(r4) +/* 802C51D8 002C2138 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802C51DC 002C213C C0 64 00 08 */ lfs f3, 8(r4) +/* 802C51E0 002C2140 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802C51E4 002C2144 C0 43 00 30 */ lfs f2, 0x30(r3) +/* 802C51E8 002C2148 C0 24 00 00 */ lfs f1, 0(r4) +/* 802C51EC 002C214C 38 81 00 08 */ addi r4, r1, 8 +/* 802C51F0 002C2150 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802C51F4 002C2154 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802C51F8 002C2158 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802C51FC 002C215C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802C5200 002C2160 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802C5204 002C2164 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C5208 002C2168 48 00 00 4D */ bl MoveInWorld__10CGuiObjectFRC9CVector3f +/* 802C520C 002C216C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C5210 002C2170 7C 08 03 A6 */ mtlr r0 +/* 802C5214 002C2174 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C5218 002C2178 4E 80 00 20 */ blr + +.global GetLocalPosition__10CGuiObjectCFv +GetLocalPosition__10CGuiObjectCFv: +/* 802C521C 002C217C C0 44 00 30 */ lfs f2, 0x30(r4) +/* 802C5220 002C2180 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 802C5224 002C2184 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802C5228 002C2188 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C522C 002C218C D0 23 00 04 */ stfs f1, 4(r3) +/* 802C5230 002C2190 D0 43 00 08 */ stfs f2, 8(r3) +/* 802C5234 002C2194 4E 80 00 20 */ blr + +.global GetWorldPosition__10CGuiObjectCFv +GetWorldPosition__10CGuiObjectCFv: +/* 802C5238 002C2198 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802C523C 002C219C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802C5240 002C21A0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802C5244 002C21A4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C5248 002C21A8 D0 23 00 04 */ stfs f1, 4(r3) +/* 802C524C 002C21AC D0 43 00 08 */ stfs f2, 8(r3) +/* 802C5250 002C21B0 4E 80 00 20 */ blr + +.global MoveInWorld__10CGuiObjectFRC9CVector3f +MoveInWorld__10CGuiObjectFRC9CVector3f: +/* 802C5254 002C21B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C5258 002C21B8 7C 08 02 A6 */ mflr r0 +/* 802C525C 002C21BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C5260 002C21C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C5264 002C21C4 7C 9F 23 78 */ mr r31, r4 +/* 802C5268 002C21C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C526C 002C21CC 7C 7E 1B 78 */ mr r30, r3 +/* 802C5270 002C21D0 80 83 00 64 */ lwz r4, 0x64(r3) +/* 802C5274 002C21D4 28 04 00 00 */ cmplwi r4, 0 +/* 802C5278 002C21D8 41 82 00 2C */ beq lbl_802C52A4 +/* 802C527C 002C21DC 7F E5 FB 78 */ mr r5, r31 +/* 802C5280 002C21E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C5284 002C21E4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802C5288 002C21E8 48 04 D7 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802C528C 002C21EC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802C5290 002C21F0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802C5294 002C21F4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802C5298 002C21F8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C529C 002C21FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C52A0 002C2200 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_802C52A4: +/* 802C52A4 002C2204 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802C52A8 002C2208 7F C3 F3 78 */ mr r3, r30 +/* 802C52AC 002C220C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802C52B0 002C2210 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52B4 002C2214 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802C52B8 002C2218 C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 802C52BC 002C221C C0 1F 00 04 */ lfs f0, 4(r31) +/* 802C52C0 002C2220 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52C4 002C2224 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802C52C8 002C2228 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 802C52CC 002C222C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C52D0 002C2230 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C52D4 002C2234 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 802C52D8 002C2238 4B FF F5 11 */ bl RecalculateTransforms__10CGuiObjectFv +/* 802C52DC 002C223C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C52E0 002C2240 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C52E4 002C2244 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C52E8 002C2248 7C 08 03 A6 */ mtlr r0 +/* 802C52EC 002C224C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C52F0 002C2250 4E 80 00 20 */ blr + +.global Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms +Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms: +/* 802C52F4 002C2254 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C52F8 002C2258 7C 08 02 A6 */ mflr r0 +/* 802C52FC 002C225C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5300 002C2260 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5304 002C2264 7C 9F 23 78 */ mr r31, r4 +/* 802C5308 002C2268 93 C1 00 08 */ stw r30, 8(r1) +/* 802C530C 002C226C 7C 7E 1B 78 */ mr r30, r3 +/* 802C5310 002C2270 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C5314 002C2274 28 03 00 00 */ cmplwi r3, 0 +/* 802C5318 002C2278 41 82 00 14 */ beq lbl_802C532C +/* 802C531C 002C227C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5320 002C2280 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C5324 002C2284 7D 89 03 A6 */ mtctr r12 +/* 802C5328 002C2288 4E 80 04 21 */ bctrl +lbl_802C532C: +/* 802C532C 002C228C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C5330 002C2290 28 03 00 00 */ cmplwi r3, 0 +/* 802C5334 002C2294 41 82 00 18 */ beq lbl_802C534C +/* 802C5338 002C2298 81 83 00 00 */ lwz r12, 0(r3) +/* 802C533C 002C229C 7F E4 FB 78 */ mr r4, r31 +/* 802C5340 002C22A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802C5344 002C22A4 7D 89 03 A6 */ mtctr r12 +/* 802C5348 002C22A8 4E 80 04 21 */ bctrl +lbl_802C534C: +/* 802C534C 002C22AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5350 002C22B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C5354 002C22B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5358 002C22B8 7C 08 03 A6 */ mtlr r0 +/* 802C535C 002C22BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5360 002C22C0 4E 80 00 20 */ blr + +.global Update__10CGuiObjectFf +Update__10CGuiObjectFf: +/* 802C5364 002C22C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C5368 002C22C8 7C 08 02 A6 */ mflr r0 +/* 802C536C 002C22CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C5370 002C22D0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802C5374 002C22D4 FF E0 08 90 */ fmr f31, f1 +/* 802C5378 002C22D8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C537C 002C22DC 7C 7F 1B 78 */ mr r31, r3 +/* 802C5380 002C22E0 80 63 00 68 */ lwz r3, 0x68(r3) +/* 802C5384 002C22E4 28 03 00 00 */ cmplwi r3, 0 +/* 802C5388 002C22E8 41 82 00 14 */ beq lbl_802C539C +/* 802C538C 002C22EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5390 002C22F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C5394 002C22F4 7D 89 03 A6 */ mtctr r12 +/* 802C5398 002C22F8 4E 80 04 21 */ bctrl +lbl_802C539C: +/* 802C539C 002C22FC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 802C53A0 002C2300 28 03 00 00 */ cmplwi r3, 0 +/* 802C53A4 002C2304 41 82 00 18 */ beq lbl_802C53BC +/* 802C53A8 002C2308 81 83 00 00 */ lwz r12, 0(r3) +/* 802C53AC 002C230C FC 20 F8 90 */ fmr f1, f31 +/* 802C53B0 002C2310 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C53B4 002C2314 7D 89 03 A6 */ mtctr r12 +/* 802C53B8 002C2318 4E 80 04 21 */ bctrl +lbl_802C53BC: +/* 802C53BC 002C231C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C53C0 002C2320 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802C53C4 002C2324 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802C53C8 002C2328 7C 08 03 A6 */ mtlr r0 +/* 802C53CC 002C232C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C53D0 002C2330 4E 80 00 20 */ blr + +.global __dt__10CGuiObjectFv +__dt__10CGuiObjectFv: +/* 802C53D4 002C2334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C53D8 002C2338 7C 08 02 A6 */ mflr r0 +/* 802C53DC 002C233C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C53E0 002C2340 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C53E4 002C2344 7C 9F 23 78 */ mr r31, r4 +/* 802C53E8 002C2348 93 C1 00 08 */ stw r30, 8(r1) +/* 802C53EC 002C234C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C53F0 002C2350 41 82 00 70 */ beq lbl_802C5460 +/* 802C53F4 002C2354 3C 60 80 3F */ lis r3, lbl_803EC8C8@ha +/* 802C53F8 002C2358 38 03 C8 C8 */ addi r0, r3, lbl_803EC8C8@l +/* 802C53FC 002C235C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C5400 002C2360 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 802C5404 002C2364 28 03 00 00 */ cmplwi r3, 0 +/* 802C5408 002C2368 41 82 00 18 */ beq lbl_802C5420 +/* 802C540C 002C236C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5410 002C2370 38 80 00 01 */ li r4, 1 +/* 802C5414 002C2374 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C5418 002C2378 7D 89 03 A6 */ mtctr r12 +/* 802C541C 002C237C 4E 80 04 21 */ bctrl +lbl_802C5420: +/* 802C5420 002C2380 38 00 00 00 */ li r0, 0 +/* 802C5424 002C2384 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802C5428 002C2388 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802C542C 002C238C 28 03 00 00 */ cmplwi r3, 0 +/* 802C5430 002C2390 41 82 00 18 */ beq lbl_802C5448 +/* 802C5434 002C2394 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5438 002C2398 38 80 00 01 */ li r4, 1 +/* 802C543C 002C239C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802C5440 002C23A0 7D 89 03 A6 */ mtctr r12 +/* 802C5444 002C23A4 4E 80 04 21 */ bctrl +lbl_802C5448: +/* 802C5448 002C23A8 38 60 00 00 */ li r3, 0 +/* 802C544C 002C23AC 7F E0 07 35 */ extsh. r0, r31 +/* 802C5450 002C23B0 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 802C5454 002C23B4 40 81 00 0C */ ble lbl_802C5460 +/* 802C5458 002C23B8 7F C3 F3 78 */ mr r3, r30 +/* 802C545C 002C23BC 48 05 04 D5 */ bl Free__7CMemoryFPCv +lbl_802C5460: +/* 802C5460 002C23C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5464 002C23C4 7F C3 F3 78 */ mr r3, r30 +/* 802C5468 002C23C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C546C 002C23CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5470 002C23D0 7C 08 03 A6 */ mtlr r0 +/* 802C5474 002C23D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5478 002C23D8 4E 80 00 20 */ blr + +.global __ct__10CGuiObjectFv +__ct__10CGuiObjectFv: +/* 802C547C 002C23DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5480 002C23E0 7C 08 02 A6 */ mflr r0 +/* 802C5484 002C23E4 3C 80 80 3F */ lis r4, lbl_803EC8C8@ha +/* 802C5488 002C23E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C548C 002C23EC 38 04 C8 C8 */ addi r0, r4, lbl_803EC8C8@l +/* 802C5490 002C23F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5494 002C23F4 7C 7F 1B 78 */ mr r31, r3 +/* 802C5498 002C23F8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802C549C 002C23FC 90 1F 00 00 */ stw r0, 0(r31) +/* 802C54A0 002C2400 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802C54A4 002C2404 38 7F 00 04 */ addi r3, r31, 4 +/* 802C54A8 002C2408 48 04 D6 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C54AC 002C240C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802C54B0 002C2410 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802C54B4 002C2414 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802C54B8 002C2418 48 04 D6 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C54BC 002C241C 38 00 00 00 */ li r0, 0 +/* 802C54C0 002C2420 7F E3 FB 78 */ mr r3, r31 +/* 802C54C4 002C2424 90 1F 00 64 */ stw r0, 0x64(r31) +/* 802C54C8 002C2428 90 1F 00 68 */ stw r0, 0x68(r31) +/* 802C54CC 002C242C 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 802C54D0 002C2430 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C54D4 002C2434 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C54D8 002C2438 7C 08 03 A6 */ mtlr r0 +/* 802C54DC 002C243C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C54E0 002C2440 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiPane.s b/asm/GuiSys/CGuiPane.s new file mode 100644 index 00000000..3b09e301 --- /dev/null +++ b/asm/GuiSys/CGuiPane.s @@ -0,0 +1,469 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetWidgetTypeID__8CGuiPaneCFv +GetWidgetTypeID__8CGuiPaneCFv: +/* 802C54E4 002C2444 3C 60 50 41 */ lis r3, 0x50414E45@ha +/* 802C54E8 002C2448 38 63 4E 45 */ addi r3, r3, 0x50414E45@l +/* 802C54EC 002C244C 4E 80 00 20 */ blr + +.global GetDimensions__8CGuiPaneCFv +GetDimensions__8CGuiPaneCFv: +/* 802C54F0 002C2450 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C54F4 002C2454 7C 08 02 A6 */ mflr r0 +/* 802C54F8 002C2458 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C54FC 002C245C C0 24 00 B8 */ lfs f1, 0xb8(r4) +/* 802C5500 002C2460 C0 44 00 BC */ lfs f2, 0xbc(r4) +/* 802C5504 002C2464 48 04 EC FD */ bl __ct__9CVector2fFff +/* 802C5508 002C2468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C550C 002C246C 7C 08 03 A6 */ mtlr r0 +/* 802C5510 002C2470 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5514 002C2474 4E 80 00 20 */ blr + +.global SetDimensions__8CGuiPaneFRC9CVector2fb +SetDimensions__8CGuiPaneFRC9CVector2fb: +/* 802C5518 002C2478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C551C 002C247C 7C 08 02 A6 */ mflr r0 +/* 802C5520 002C2480 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5524 002C2484 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802C5528 002C2488 C0 04 00 00 */ lfs f0, 0(r4) +/* 802C552C 002C248C D0 03 00 B8 */ stfs f0, 0xb8(r3) +/* 802C5530 002C2490 C0 04 00 04 */ lfs f0, 4(r4) +/* 802C5534 002C2494 D0 03 00 BC */ stfs f0, 0xbc(r3) +/* 802C5538 002C2498 41 82 00 14 */ beq lbl_802C554C +/* 802C553C 002C249C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5540 002C24A0 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802C5544 002C24A4 7D 89 03 A6 */ mtctr r12 +/* 802C5548 002C24A8 4E 80 04 21 */ bctrl +lbl_802C554C: +/* 802C554C 002C24AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5550 002C24B0 7C 08 03 A6 */ mtlr r0 +/* 802C5554 002C24B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5558 002C24B8 4E 80 00 20 */ blr + +.global InitializeBuffers__8CGuiPaneFv +InitializeBuffers__8CGuiPaneFv: +/* 802C555C 002C24BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5560 002C24C0 7C 08 02 A6 */ mflr r0 +/* 802C5564 002C24C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5568 002C24C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C556C 002C24CC 7C 7F 1B 78 */ mr r31, r3 +/* 802C5570 002C24D0 80 03 00 C0 */ lwz r0, 0xc0(r3) +/* 802C5574 002C24D4 28 00 00 00 */ cmplwi r0, 0 +/* 802C5578 002C24D8 40 82 00 24 */ bne lbl_802C559C +/* 802C557C 002C24DC 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802C5580 002C24E0 3C 60 80 3D */ lis r3, lbl_803D68B8@ha +/* 802C5584 002C24E4 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l +/* 802C5588 002C24E8 38 A0 00 00 */ li r5, 0 +/* 802C558C 002C24EC 1C 00 00 03 */ mulli r0, r0, 3 +/* 802C5590 002C24F0 54 03 10 3A */ slwi r3, r0, 2 +/* 802C5594 002C24F4 48 05 02 85 */ bl __nwa__FUlPCcPCc +/* 802C5598 002C24F8 90 7F 00 C0 */ stw r3, 0xc0(r31) +lbl_802C559C: +/* 802C559C 002C24FC C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802C55A0 002C2500 C0 42 C3 A0 */ lfs f2, lbl_805AE0C0@sda21(r2) +/* 802C55A4 002C2504 FC 00 00 50 */ fneg f0, f0 +/* 802C55A8 002C2508 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55AC 002C250C C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2) +/* 802C55B0 002C2510 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C55B4 002C2514 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C55B8 002C2518 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55BC 002C251C D0 23 00 04 */ stfs f1, 4(r3) +/* 802C55C0 002C2520 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C55C4 002C2524 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55C8 002C2528 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C55CC 002C252C D0 03 00 08 */ stfs f0, 8(r3) +/* 802C55D0 002C2530 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802C55D4 002C2534 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55D8 002C2538 FC 00 00 50 */ fneg f0, f0 +/* 802C55DC 002C253C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C55E0 002C2540 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802C55E4 002C2544 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55E8 002C2548 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 802C55EC 002C254C C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C55F0 002C2550 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C55F4 002C2554 FC 00 00 50 */ fneg f0, f0 +/* 802C55F8 002C2558 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C55FC 002C255C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802C5600 002C2560 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802C5604 002C2564 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C5608 002C2568 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C560C 002C256C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802C5610 002C2570 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C5614 002C2574 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 802C5618 002C2578 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C561C 002C257C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C5620 002C2580 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C5624 002C2584 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802C5628 002C2588 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802C562C 002C258C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C5630 002C2590 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C5634 002C2594 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802C5638 002C2598 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C563C 002C259C D0 23 00 28 */ stfs f1, 0x28(r3) +/* 802C5640 002C25A0 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C5644 002C25A4 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C5648 002C25A8 FC 00 00 50 */ fneg f0, f0 +/* 802C564C 002C25AC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802C5650 002C25B0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802C5654 002C25B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C5658 002C25B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C565C 002C25BC 7C 08 03 A6 */ mtlr r0 +/* 802C5660 002C25C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5664 002C25C4 4E 80 00 20 */ blr + +.global ScaleDimensions__8CGuiPaneFRC9CVector3f +ScaleDimensions__8CGuiPaneFRC9CVector3f: +/* 802C5668 002C25C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C566C 002C25CC 7C 08 02 A6 */ mflr r0 +/* 802C5670 002C25D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5674 002C25D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5678 002C25D8 7C 9F 23 78 */ mr r31, r4 +/* 802C567C 002C25DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C5680 002C25E0 7C 7E 1B 78 */ mr r30, r3 +/* 802C5684 002C25E4 81 83 00 00 */ lwz r12, 0(r3) +/* 802C5688 002C25E8 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802C568C 002C25EC 7D 89 03 A6 */ mtctr r12 +/* 802C5690 002C25F0 4E 80 04 21 */ bctrl +/* 802C5694 002C25F4 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802C5698 002C25F8 38 DE 00 C8 */ addi r6, r30, 0xc8 +/* 802C569C 002C25FC 38 83 55 56 */ addi r4, r3, 0x55555556@l +/* 802C56A0 002C2600 39 00 00 00 */ li r8, 0 +/* 802C56A4 002C2604 38 E0 00 00 */ li r7, 0 +/* 802C56A8 002C2608 48 00 00 54 */ b lbl_802C56FC +lbl_802C56AC: +/* 802C56AC 002C260C 7C A4 40 96 */ mulhw r5, r4, r8 +/* 802C56B0 002C2610 80 7E 00 C0 */ lwz r3, 0xc0(r30) +/* 802C56B4 002C2614 7C 43 3C 2E */ lfsx f2, r3, r7 +/* 802C56B8 002C2618 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802C56BC 002C261C 7C 05 02 14 */ add r0, r5, r0 +/* 802C56C0 002C2620 1C 00 00 03 */ mulli r0, r0, 3 +/* 802C56C4 002C2624 7C 00 40 50 */ subf r0, r0, r8 +/* 802C56C8 002C2628 39 08 00 01 */ addi r8, r8, 1 +/* 802C56CC 002C262C 54 00 10 3A */ slwi r0, r0, 2 +/* 802C56D0 002C2630 7C 26 04 2E */ lfsx f1, r6, r0 +/* 802C56D4 002C2634 7C 1F 04 2E */ lfsx f0, r31, r0 +/* 802C56D8 002C2638 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802C56DC 002C263C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802C56E0 002C2640 7C 03 3D 2E */ stfsx f0, r3, r7 +/* 802C56E4 002C2644 80 7E 00 C0 */ lwz r3, 0xc0(r30) +/* 802C56E8 002C2648 7C 06 04 2E */ lfsx f0, r6, r0 +/* 802C56EC 002C264C 7C 23 3C 2E */ lfsx f1, r3, r7 +/* 802C56F0 002C2650 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C56F4 002C2654 7C 03 3D 2E */ stfsx f0, r3, r7 +/* 802C56F8 002C2658 38 E7 00 04 */ addi r7, r7, 4 +lbl_802C56FC: +/* 802C56FC 002C265C 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C5700 002C2660 1C 00 00 03 */ mulli r0, r0, 3 +/* 802C5704 002C2664 7C 08 00 00 */ cmpw r8, r0 +/* 802C5708 002C2668 41 80 FF A4 */ blt lbl_802C56AC +/* 802C570C 002C266C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5710 002C2670 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C5714 002C2674 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5718 002C2678 7C 08 03 A6 */ mtlr r0 +/* 802C571C 002C267C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5720 002C2680 4E 80 00 20 */ blr + +.global Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms +Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms: +/* 802C5724 002C2684 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802C5728 002C2688 7C 08 02 A6 */ mflr r0 +/* 802C572C 002C268C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802C5730 002C2690 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802C5734 002C2694 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802C5738 002C2698 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802C573C 002C269C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802C5740 002C26A0 7C 7E 1B 78 */ mr r30, r3 +/* 802C5744 002C26A4 7C 9F 23 78 */ mr r31, r4 +/* 802C5748 002C26A8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C574C 002C26AC 38 9E 00 C8 */ addi r4, r30, 0xc8 +/* 802C5750 002C26B0 48 04 D9 F1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802C5754 002C26B4 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C5758 002C26B8 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802C575C 002C26BC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802C5760 002C26C0 48 04 D1 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C5764 002C26C4 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C5768 002C26C8 48 04 6E 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C576C 002C26CC 7F C3 F3 78 */ mr r3, r30 +/* 802C5770 002C26D0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C5774 002C26D4 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C5778 002C26D8 7D 89 03 A6 */ mtctr r12 +/* 802C577C 002C26DC 4E 80 04 21 */ bctrl +/* 802C5780 002C26E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C5784 002C26E4 41 82 00 74 */ beq lbl_802C57F8 +/* 802C5788 002C26E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802C578C 002C26EC 38 60 00 00 */ li r3, 0 +/* 802C5790 002C26F0 48 04 4B 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802C5794 002C26F4 88 7E 00 AB */ lbz r3, 0xab(r30) +/* 802C5798 002C26F8 3C 00 43 30 */ lis r0, 0x4330 +/* 802C579C 002C26FC 90 01 00 80 */ stw r0, 0x80(r1) +/* 802C57A0 002C2700 C8 22 C3 B0 */ lfd f1, lbl_805AE0D0@sda21(r2) +/* 802C57A4 002C2704 90 61 00 84 */ stw r3, 0x84(r1) +/* 802C57A8 002C2708 C0 5F 00 00 */ lfs f2, 0(r31) +/* 802C57AC 002C270C C8 01 00 80 */ lfd f0, 0x80(r1) +/* 802C57B0 002C2710 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C57B4 002C2714 EF E2 00 32 */ fmuls f31, f2, f0 +/* 802C57B8 002C2718 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 802C57BC 002C271C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C57C0 002C2720 C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2) +/* 802C57C4 002C2724 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C57C8 002C2728 C0 02 C3 A8 */ lfs f0, lbl_805AE0C8@sda21(r2) +/* 802C57CC 002C272C 38 60 00 98 */ li r3, 0x98 +/* 802C57D0 002C2730 80 9E 00 A8 */ lwz r4, 0xa8(r30) +/* 802C57D4 002C2734 88 01 00 08 */ lbz r0, 8(r1) +/* 802C57D8 002C2738 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 802C57DC 002C273C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802C57E0 002C2740 80 9E 00 C0 */ lwz r4, 0xc0(r30) +/* 802C57E4 002C2744 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C57E8 002C2748 80 FE 00 C4 */ lwz r7, 0xc4(r30) +/* 802C57EC 002C274C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802C57F0 002C2750 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802C57F4 002C2754 48 04 5E E1 */ bl DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori +lbl_802C57F8: +/* 802C57F8 002C2758 7F C3 F3 78 */ mr r3, r30 +/* 802C57FC 002C275C 7F E4 FB 78 */ mr r4, r31 +/* 802C5800 002C2760 48 00 52 61 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms +/* 802C5804 002C2764 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802C5808 002C2768 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802C580C 002C276C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802C5810 002C2770 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802C5814 002C2774 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802C5818 002C2778 7C 08 03 A6 */ mtlr r0 +/* 802C581C 002C277C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802C5820 002C2780 4E 80 00 20 */ blr + +.global __dt__8CGuiPaneFv +__dt__8CGuiPaneFv: +/* 802C5824 002C2784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5828 002C2788 7C 08 02 A6 */ mflr r0 +/* 802C582C 002C278C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5830 002C2790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5834 002C2794 7C 9F 23 78 */ mr r31, r4 +/* 802C5838 002C2798 93 C1 00 08 */ stw r30, 8(r1) +/* 802C583C 002C279C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C5840 002C27A0 41 82 00 40 */ beq lbl_802C5880 +/* 802C5844 002C27A4 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha +/* 802C5848 002C27A8 38 03 C8 E0 */ addi r0, r3, lbl_803EC8E0@l +/* 802C584C 002C27AC 90 1E 00 00 */ stw r0, 0(r30) +/* 802C5850 002C27B0 80 7E 00 C0 */ lwz r3, 0xc0(r30) +/* 802C5854 002C27B4 28 03 00 00 */ cmplwi r3, 0 +/* 802C5858 002C27B8 41 82 00 0C */ beq lbl_802C5864 +/* 802C585C 002C27BC 41 82 00 08 */ beq lbl_802C5864 +/* 802C5860 002C27C0 48 05 00 D1 */ bl Free__7CMemoryFPCv +lbl_802C5864: +/* 802C5864 002C27C4 7F C3 F3 78 */ mr r3, r30 +/* 802C5868 002C27C8 38 80 00 00 */ li r4, 0 +/* 802C586C 002C27CC 48 00 53 49 */ bl __dt__10CGuiWidgetFv +/* 802C5870 002C27D0 7F E0 07 35 */ extsh. r0, r31 +/* 802C5874 002C27D4 40 81 00 0C */ ble lbl_802C5880 +/* 802C5878 002C27D8 7F C3 F3 78 */ mr r3, r30 +/* 802C587C 002C27DC 48 05 00 B5 */ bl Free__7CMemoryFPCv +lbl_802C5880: +/* 802C5880 002C27E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5884 002C27E4 7F C3 F3 78 */ mr r3, r30 +/* 802C5888 002C27E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C588C 002C27EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5890 002C27F0 7C 08 03 A6 */ mtlr r0 +/* 802C5894 002C27F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5898 002C27F8 4E 80 00 20 */ blr + +.global __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f +__ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f: +/* 802C589C 002C27FC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C58A0 002C2800 7C 08 02 A6 */ mflr r0 +/* 802C58A4 002C2804 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C58A8 002C2808 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802C58AC 002C280C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802C58B0 002C2810 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 802C58B4 002C2814 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 802C58B8 002C2818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C58BC 002C281C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C58C0 002C2820 FF C0 08 90 */ fmr f30, f1 +/* 802C58C4 002C2824 7C 7E 1B 78 */ mr r30, r3 +/* 802C58C8 002C2828 FF E0 10 90 */ fmr f31, f2 +/* 802C58CC 002C282C 7C BF 2B 78 */ mr r31, r5 +/* 802C58D0 002C2830 48 00 53 55 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C58D4 002C2834 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha +/* 802C58D8 002C2838 38 80 00 00 */ li r4, 0 +/* 802C58DC 002C283C 38 63 C8 E0 */ addi r3, r3, lbl_803EC8E0@l +/* 802C58E0 002C2840 38 00 00 04 */ li r0, 4 +/* 802C58E4 002C2844 90 7E 00 00 */ stw r3, 0(r30) +/* 802C58E8 002C2848 7F C3 F3 78 */ mr r3, r30 +/* 802C58EC 002C284C D3 DE 00 B8 */ stfs f30, 0xb8(r30) +/* 802C58F0 002C2850 D3 FE 00 BC */ stfs f31, 0xbc(r30) +/* 802C58F4 002C2854 90 9E 00 C0 */ stw r4, 0xc0(r30) +/* 802C58F8 002C2858 90 1E 00 C4 */ stw r0, 0xc4(r30) +/* 802C58FC 002C285C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802C5900 002C2860 D0 1E 00 C8 */ stfs f0, 0xc8(r30) +/* 802C5904 002C2864 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802C5908 002C2868 D0 1E 00 CC */ stfs f0, 0xcc(r30) +/* 802C590C 002C286C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C5910 002C2870 D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 802C5914 002C2874 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C5918 002C2878 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802C591C 002C287C 7D 89 03 A6 */ mtctr r12 +/* 802C5920 002C2880 4E 80 04 21 */ bctrl +/* 802C5924 002C2884 7F C3 F3 78 */ mr r3, r30 +/* 802C5928 002C2888 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802C592C 002C288C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802C5930 002C2890 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 802C5934 002C2894 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 802C5938 002C2898 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C593C 002C289C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C5940 002C28A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5944 002C28A4 7C 08 03 A6 */ mtlr r0 +/* 802C5948 002C28A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C594C 002C28AC 4E 80 00 20 */ blr + +.global WriteData__8CGuiPaneCFR13COutputStreamb +WriteData__8CGuiPaneCFR13COutputStreamb: +/* 802C5950 002C28B0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C5954 002C28B4 7C 08 02 A6 */ mflr r0 +/* 802C5958 002C28B8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C595C 002C28BC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C5960 002C28C0 7C 9F 23 78 */ mr r31, r4 +/* 802C5964 002C28C4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802C5968 002C28C8 7C 7E 1B 78 */ mr r30, r3 +/* 802C596C 002C28CC C0 03 00 B8 */ lfs f0, 0xb8(r3) +/* 802C5970 002C28D0 7F E3 FB 78 */ mr r3, r31 +/* 802C5974 002C28D4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802C5978 002C28D8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802C597C 002C28DC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C5980 002C28E0 48 07 9B 39 */ bl FlushShiftRegister__13COutputStreamFv +/* 802C5984 002C28E4 7F E3 FB 78 */ mr r3, r31 +/* 802C5988 002C28E8 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C598C 002C28EC 38 A0 00 04 */ li r5, 4 +/* 802C5990 002C28F0 48 07 9C 19 */ bl DoPut__13COutputStreamFPCvUl +/* 802C5994 002C28F4 C0 1E 00 BC */ lfs f0, 0xbc(r30) +/* 802C5998 002C28F8 7F E3 FB 78 */ mr r3, r31 +/* 802C599C 002C28FC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802C59A0 002C2900 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802C59A4 002C2904 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C59A8 002C2908 48 07 9B 11 */ bl FlushShiftRegister__13COutputStreamFv +/* 802C59AC 002C290C 7F E3 FB 78 */ mr r3, r31 +/* 802C59B0 002C2910 38 81 00 14 */ addi r4, r1, 0x14 +/* 802C59B4 002C2914 38 A0 00 04 */ li r5, 4 +/* 802C59B8 002C2918 48 07 9B F1 */ bl DoPut__13COutputStreamFPCvUl +/* 802C59BC 002C291C C0 1E 00 C8 */ lfs f0, 0xc8(r30) +/* 802C59C0 002C2920 7F E3 FB 78 */ mr r3, r31 +/* 802C59C4 002C2924 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802C59C8 002C2928 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C59CC 002C292C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C59D0 002C2930 48 07 9A E9 */ bl FlushShiftRegister__13COutputStreamFv +/* 802C59D4 002C2934 7F E3 FB 78 */ mr r3, r31 +/* 802C59D8 002C2938 38 81 00 10 */ addi r4, r1, 0x10 +/* 802C59DC 002C293C 38 A0 00 04 */ li r5, 4 +/* 802C59E0 002C2940 48 07 9B C9 */ bl DoPut__13COutputStreamFPCvUl +/* 802C59E4 002C2944 C0 1E 00 CC */ lfs f0, 0xcc(r30) +/* 802C59E8 002C2948 7F E3 FB 78 */ mr r3, r31 +/* 802C59EC 002C294C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802C59F0 002C2950 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802C59F4 002C2954 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C59F8 002C2958 48 07 9A C1 */ bl FlushShiftRegister__13COutputStreamFv +/* 802C59FC 002C295C 7F E3 FB 78 */ mr r3, r31 +/* 802C5A00 002C2960 38 81 00 0C */ addi r4, r1, 0xc +/* 802C5A04 002C2964 38 A0 00 04 */ li r5, 4 +/* 802C5A08 002C2968 48 07 9B A1 */ bl DoPut__13COutputStreamFPCvUl +/* 802C5A0C 002C296C C0 1E 00 D0 */ lfs f0, 0xd0(r30) +/* 802C5A10 002C2970 7F E3 FB 78 */ mr r3, r31 +/* 802C5A14 002C2974 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802C5A18 002C2978 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C5A1C 002C297C 90 01 00 08 */ stw r0, 8(r1) +/* 802C5A20 002C2980 48 07 9A 99 */ bl FlushShiftRegister__13COutputStreamFv +/* 802C5A24 002C2984 7F E3 FB 78 */ mr r3, r31 +/* 802C5A28 002C2988 38 81 00 08 */ addi r4, r1, 8 +/* 802C5A2C 002C298C 38 A0 00 04 */ li r5, 4 +/* 802C5A30 002C2990 48 07 9B 79 */ bl DoPut__13COutputStreamFPCvUl +/* 802C5A34 002C2994 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C5A38 002C2998 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C5A3C 002C299C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802C5A40 002C29A0 7C 08 03 A6 */ mtlr r0 +/* 802C5A44 002C29A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C5A48 002C29A8 4E 80 00 20 */ blr + +.global Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb +Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb: +/* 802C5A4C 002C29AC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802C5A50 002C29B0 7C 08 02 A6 */ mflr r0 +/* 802C5A54 002C29B4 90 01 00 84 */ stw r0, 0x84(r1) +/* 802C5A58 002C29B8 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C5A5C 002C29BC 48 0C 3F 89 */ bl func_803899E4 +/* 802C5A60 002C29C0 93 E1 00 54 */ stw r31, 0x54(r1) +/* 802C5A64 002C29C4 93 C1 00 50 */ stw r30, 0x50(r1) +/* 802C5A68 002C29C8 93 A1 00 4C */ stw r29, 0x4c(r1) +/* 802C5A6C 002C29CC 7C 7E 1B 78 */ mr r30, r3 +/* 802C5A70 002C29D0 7C 9F 23 78 */ mr r31, r4 +/* 802C5A74 002C29D4 7F C4 F3 78 */ mr r4, r30 +/* 802C5A78 002C29D8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C5A7C 002C29DC 7F E5 FB 78 */ mr r5, r31 +/* 802C5A80 002C29E0 48 00 52 D1 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C5A84 002C29E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C5A88 002C29E8 7F E3 FB 78 */ mr r3, r31 +/* 802C5A8C 002C29EC 89 81 00 18 */ lbz r12, 0x18(r1) +/* 802C5A90 002C29F0 A9 61 00 1A */ lha r11, 0x1a(r1) +/* 802C5A94 002C29F4 A9 41 00 1C */ lha r10, 0x1c(r1) +/* 802C5A98 002C29F8 89 21 00 1E */ lbz r9, 0x1e(r1) +/* 802C5A9C 002C29FC 89 01 00 1F */ lbz r8, 0x1f(r1) +/* 802C5AA0 002C2A00 88 E1 00 20 */ lbz r7, 0x20(r1) +/* 802C5AA4 002C2A04 88 C1 00 21 */ lbz r6, 0x21(r1) +/* 802C5AA8 002C2A08 88 A1 00 22 */ lbz r5, 0x22(r1) +/* 802C5AAC 002C2A0C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802C5AB0 002C2A10 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802C5AB4 002C2A14 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 802C5AB8 002C2A18 99 81 00 30 */ stb r12, 0x30(r1) +/* 802C5ABC 002C2A1C B1 61 00 32 */ sth r11, 0x32(r1) +/* 802C5AC0 002C2A20 B1 41 00 34 */ sth r10, 0x34(r1) +/* 802C5AC4 002C2A24 99 21 00 36 */ stb r9, 0x36(r1) +/* 802C5AC8 002C2A28 99 01 00 37 */ stb r8, 0x37(r1) +/* 802C5ACC 002C2A2C 98 E1 00 38 */ stb r7, 0x38(r1) +/* 802C5AD0 002C2A30 98 C1 00 39 */ stb r6, 0x39(r1) +/* 802C5AD4 002C2A34 98 A1 00 3A */ stb r5, 0x3a(r1) +/* 802C5AD8 002C2A38 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802C5ADC 002C2A3C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802C5AE0 002C2A40 48 07 91 49 */ bl ReadFloat__12CInputStreamFv +/* 802C5AE4 002C2A44 FF 80 08 90 */ fmr f28, f1 +/* 802C5AE8 002C2A48 7F E3 FB 78 */ mr r3, r31 +/* 802C5AEC 002C2A4C 48 07 91 3D */ bl ReadFloat__12CInputStreamFv +/* 802C5AF0 002C2A50 FF 60 08 90 */ fmr f27, f1 +/* 802C5AF4 002C2A54 7F E3 FB 78 */ mr r3, r31 +/* 802C5AF8 002C2A58 48 07 91 31 */ bl ReadFloat__12CInputStreamFv +/* 802C5AFC 002C2A5C FF A0 08 90 */ fmr f29, f1 +/* 802C5B00 002C2A60 7F E3 FB 78 */ mr r3, r31 +/* 802C5B04 002C2A64 48 07 91 25 */ bl ReadFloat__12CInputStreamFv +/* 802C5B08 002C2A68 FF C0 08 90 */ fmr f30, f1 +/* 802C5B0C 002C2A6C 7F E3 FB 78 */ mr r3, r31 +/* 802C5B10 002C2A70 48 07 91 19 */ bl ReadFloat__12CInputStreamFv +/* 802C5B14 002C2A74 FF E0 08 90 */ fmr f31, f1 +/* 802C5B18 002C2A78 3C 60 80 3D */ lis r3, lbl_803D68B8@ha +/* 802C5B1C 002C2A7C 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l +/* 802C5B20 002C2A80 38 A0 00 00 */ li r5, 0 +/* 802C5B24 002C2A84 38 60 00 D4 */ li r3, 0xd4 +/* 802C5B28 002C2A88 48 04 FD 45 */ bl __nw__FUlPCcPCc +/* 802C5B2C 002C2A8C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C5B30 002C2A90 41 82 00 28 */ beq lbl_802C5B58 +/* 802C5B34 002C2A94 FC 20 E0 90 */ fmr f1, f28 +/* 802C5B38 002C2A98 D3 A1 00 08 */ stfs f29, 8(r1) +/* 802C5B3C 002C2A9C FC 40 D8 90 */ fmr f2, f27 +/* 802C5B40 002C2AA0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802C5B44 002C2AA4 D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 802C5B48 002C2AA8 38 A1 00 08 */ addi r5, r1, 8 +/* 802C5B4C 002C2AAC D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 802C5B50 002C2AB0 4B FF FD 4D */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f +/* 802C5B54 002C2AB4 7C 7D 1B 78 */ mr r29, r3 +lbl_802C5B58: +/* 802C5B58 002C2AB8 7F A3 EB 78 */ mr r3, r29 +/* 802C5B5C 002C2ABC 7F C4 F3 78 */ mr r4, r30 +/* 802C5B60 002C2AC0 7F E5 FB 78 */ mr r5, r31 +/* 802C5B64 002C2AC4 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802C5B68 002C2AC8 48 00 4F 21 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C5B6C 002C2ACC 7F A3 EB 78 */ mr r3, r29 +/* 802C5B70 002C2AD0 39 61 00 80 */ addi r11, r1, 0x80 +/* 802C5B74 002C2AD4 48 0C 3E BD */ bl func_80389A30 +/* 802C5B78 002C2AD8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802C5B7C 002C2ADC 83 E1 00 54 */ lwz r31, 0x54(r1) +/* 802C5B80 002C2AE0 83 C1 00 50 */ lwz r30, 0x50(r1) +/* 802C5B84 002C2AE4 83 A1 00 4C */ lwz r29, 0x4c(r1) +/* 802C5B88 002C2AE8 7C 08 03 A6 */ mtlr r0 +/* 802C5B8C 002C2AEC 38 21 00 80 */ addi r1, r1, 0x80 +/* 802C5B90 002C2AF0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiSliderGroup.s b/asm/GuiSys/CGuiSliderGroup.s new file mode 100644 index 00000000..676b6bb0 --- /dev/null +++ b/asm/GuiSys/CGuiSliderGroup.s @@ -0,0 +1,628 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CGuiSliderGroupFv +__dt__15CGuiSliderGroupFv: +/* 802C5B94 002C2AF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5B98 002C2AF8 7C 08 02 A6 */ mflr r0 +/* 802C5B9C 002C2AFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5BA0 002C2B00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C5BA4 002C2B04 7C 9F 23 78 */ mr r31, r4 +/* 802C5BA8 002C2B08 93 C1 00 08 */ stw r30, 8(r1) +/* 802C5BAC 002C2B0C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C5BB0 002C2B10 41 82 00 88 */ beq lbl_802C5C38 +/* 802C5BB4 002C2B14 3C 60 80 3F */ lis r3, lbl_803EC930@ha +/* 802C5BB8 002C2B18 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 802C5BBC 002C2B1C 38 03 C9 30 */ addi r0, r3, lbl_803EC930@l +/* 802C5BC0 002C2B20 90 1E 00 00 */ stw r0, 0(r30) +/* 802C5BC4 002C2B24 41 82 00 58 */ beq lbl_802C5C1C +/* 802C5BC8 002C2B28 80 BE 00 CC */ lwz r5, 0xcc(r30) +/* 802C5BCC 002C2B2C 38 60 00 00 */ li r3, 0 +/* 802C5BD0 002C2B30 2C 05 00 00 */ cmpwi r5, 0 +/* 802C5BD4 002C2B34 40 81 00 40 */ ble lbl_802C5C14 +/* 802C5BD8 002C2B38 2C 05 00 08 */ cmpwi r5, 8 +/* 802C5BDC 002C2B3C 38 85 FF F8 */ addi r4, r5, -8 +/* 802C5BE0 002C2B40 40 81 00 20 */ ble lbl_802C5C00 +/* 802C5BE4 002C2B44 38 04 00 07 */ addi r0, r4, 7 +/* 802C5BE8 002C2B48 54 00 E8 FE */ srwi r0, r0, 3 +/* 802C5BEC 002C2B4C 7C 09 03 A6 */ mtctr r0 +/* 802C5BF0 002C2B50 2C 04 00 00 */ cmpwi r4, 0 +/* 802C5BF4 002C2B54 40 81 00 0C */ ble lbl_802C5C00 +lbl_802C5BF8: +/* 802C5BF8 002C2B58 38 63 00 08 */ addi r3, r3, 8 +/* 802C5BFC 002C2B5C 42 00 FF FC */ bdnz lbl_802C5BF8 +lbl_802C5C00: +/* 802C5C00 002C2B60 7C 03 28 50 */ subf r0, r3, r5 +/* 802C5C04 002C2B64 7C 09 03 A6 */ mtctr r0 +/* 802C5C08 002C2B68 7C 03 28 00 */ cmpw r3, r5 +/* 802C5C0C 002C2B6C 40 80 00 08 */ bge lbl_802C5C14 +lbl_802C5C10: +/* 802C5C10 002C2B70 42 00 00 00 */ bdnz lbl_802C5C10 +lbl_802C5C14: +/* 802C5C14 002C2B74 38 00 00 00 */ li r0, 0 +/* 802C5C18 002C2B78 90 1E 00 CC */ stw r0, 0xcc(r30) +lbl_802C5C1C: +/* 802C5C1C 002C2B7C 7F C3 F3 78 */ mr r3, r30 +/* 802C5C20 002C2B80 38 80 00 00 */ li r4, 0 +/* 802C5C24 002C2B84 4B FF BF 0D */ bl __dt__18CGuiCompoundWidgetFv +/* 802C5C28 002C2B88 7F E0 07 35 */ extsh. r0, r31 +/* 802C5C2C 002C2B8C 40 81 00 0C */ ble lbl_802C5C38 +/* 802C5C30 002C2B90 7F C3 F3 78 */ mr r3, r30 +/* 802C5C34 002C2B94 48 04 FC FD */ bl Free__7CMemoryFPCv +lbl_802C5C38: +/* 802C5C38 002C2B98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5C3C 002C2B9C 7F C3 F3 78 */ mr r3, r30 +/* 802C5C40 002C2BA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C5C44 002C2BA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C5C48 002C2BA8 7C 08 03 A6 */ mtlr r0 +/* 802C5C4C 002C2BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5C50 002C2BB0 4E 80 00 20 */ blr + +.global GetWidgetTypeID__15CGuiSliderGroupCFv +GetWidgetTypeID__15CGuiSliderGroupCFv: +/* 802C5C54 002C2BB4 3C 60 53 4C */ lis r3, 0x534C4750@ha +/* 802C5C58 002C2BB8 38 63 47 50 */ addi r3, r3, 0x534C4750@l +/* 802C5C5C 002C2BBC 4E 80 00 20 */ blr + +.global "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" +"SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2": +/* 802C5C60 002C2BC0 80 04 00 00 */ lwz r0, 0(r4) +/* 802C5C64 002C2BC4 90 03 00 D8 */ stw r0, 0xd8(r3) +/* 802C5C68 002C2BC8 80 04 00 04 */ lwz r0, 4(r4) +/* 802C5C6C 002C2BCC 90 03 00 DC */ stw r0, 0xdc(r3) +/* 802C5C70 002C2BD0 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C5C74 002C2BD4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C5C78 002C2BD8 90 A3 00 E0 */ stw r5, 0xe0(r3) +/* 802C5C7C 002C2BDC 90 03 00 E4 */ stw r0, 0xe4(r3) +/* 802C5C80 002C2BE0 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C5C84 002C2BE4 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C5C88 002C2BE8 90 A3 00 E8 */ stw r5, 0xe8(r3) +/* 802C5C8C 002C2BEC 90 03 00 EC */ stw r0, 0xec(r3) +/* 802C5C90 002C2BF0 4E 80 00 20 */ blr + +.global StartDecreasing__15CGuiSliderGroupFv +StartDecreasing__15CGuiSliderGroupFv: +/* 802C5C94 002C2BF4 38 80 00 01 */ li r4, 1 +/* 802C5C98 002C2BF8 90 83 00 F0 */ stw r4, 0xf0(r3) +/* 802C5C9C 002C2BFC 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 802C5CA0 002C2C00 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802C5CA4 002C2C04 98 03 00 F4 */ stb r0, 0xf4(r3) +/* 802C5CA8 002C2C08 38 60 00 01 */ li r3, 1 +/* 802C5CAC 002C2C0C 4E 80 00 20 */ blr + +.global StartIncreasing__15CGuiSliderGroupFv +StartIncreasing__15CGuiSliderGroupFv: +/* 802C5CB0 002C2C10 38 00 00 02 */ li r0, 2 +/* 802C5CB4 002C2C14 38 80 00 01 */ li r4, 1 +/* 802C5CB8 002C2C18 90 03 00 F0 */ stw r0, 0xf0(r3) +/* 802C5CBC 002C2C1C 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 802C5CC0 002C2C20 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802C5CC4 002C2C24 98 03 00 F4 */ stb r0, 0xf4(r3) +/* 802C5CC8 002C2C28 38 60 00 01 */ li r3, 1 +/* 802C5CCC 002C2C2C 4E 80 00 20 */ blr + +.global SetIncrement__15CGuiSliderGroupFf +SetIncrement__15CGuiSliderGroupFf: +/* 802C5CD0 002C2C30 D0 23 00 C8 */ stfs f1, 0xc8(r3) +/* 802C5CD4 002C2C34 4E 80 00 20 */ blr + +.global SetMinVal__15CGuiSliderGroupFf +SetMinVal__15CGuiSliderGroupFf: +/* 802C5CD8 002C2C38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5CDC 002C2C3C 7C 08 02 A6 */ mflr r0 +/* 802C5CE0 002C2C40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5CE4 002C2C44 D0 23 00 B8 */ stfs f1, 0xb8(r3) +/* 802C5CE8 002C2C48 C0 23 00 C0 */ lfs f1, 0xc0(r3) +/* 802C5CEC 002C2C4C 48 00 00 3D */ bl SetCurVal__15CGuiSliderGroupFf +/* 802C5CF0 002C2C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5CF4 002C2C54 7C 08 03 A6 */ mtlr r0 +/* 802C5CF8 002C2C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5CFC 002C2C5C 4E 80 00 20 */ blr + +.global SetMaxVal__15CGuiSliderGroupFf +SetMaxVal__15CGuiSliderGroupFf: +/* 802C5D00 002C2C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C5D04 002C2C64 7C 08 02 A6 */ mflr r0 +/* 802C5D08 002C2C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C5D0C 002C2C6C D0 23 00 BC */ stfs f1, 0xbc(r3) +/* 802C5D10 002C2C70 C0 23 00 C0 */ lfs f1, 0xc0(r3) +/* 802C5D14 002C2C74 48 00 00 15 */ bl SetCurVal__15CGuiSliderGroupFf +/* 802C5D18 002C2C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C5D1C 002C2C7C 7C 08 03 A6 */ mtlr r0 +/* 802C5D20 002C2C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C5D24 002C2C84 4E 80 00 20 */ blr + +.global SetCurVal__15CGuiSliderGroupFf +SetCurVal__15CGuiSliderGroupFf: +/* 802C5D28 002C2C88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C5D2C 002C2C8C 7C 08 02 A6 */ mflr r0 +/* 802C5D30 002C2C90 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C5D34 002C2C94 38 81 00 08 */ addi r4, r1, 8 +/* 802C5D38 002C2C98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C5D3C 002C2C9C 7C 7F 1B 78 */ mr r31, r3 +/* 802C5D40 002C2CA0 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 802C5D44 002C2CA4 D0 21 00 08 */ stfs f1, 8(r1) +/* 802C5D48 002C2CA8 38 BF 00 BC */ addi r5, r31, 0xbc +/* 802C5D4C 002C2CAC 4B D4 65 69 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802C5D50 002C2CB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802C5D54 002C2CB4 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 802C5D58 002C2CB8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 802C5D5C 002C2CBC D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802C5D60 002C2CC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C5D64 002C2CC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C5D68 002C2CC8 7C 08 03 A6 */ mtlr r0 +/* 802C5D6C 002C2CCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C5D70 002C2CD0 4E 80 00 20 */ blr + +.global Update__15CGuiSliderGroupFf +Update__15CGuiSliderGroupFf: +/* 802C5D74 002C2CD4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802C5D78 002C2CD8 7C 08 02 A6 */ mflr r0 +/* 802C5D7C 002C2CDC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802C5D80 002C2CE0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802C5D84 002C2CE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802C5D88 002C2CE8 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 802C5D8C 002C2CEC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 802C5D90 002C2CF0 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 802C5D94 002C2CF4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 802C5D98 002C2CF8 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802C5D9C 002C2CFC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802C5DA0 002C2D00 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802C5DA4 002C2D04 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802C5DA8 002C2D08 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802C5DAC 002C2D0C 7C 7F 1B 78 */ mr r31, r3 +/* 802C5DB0 002C2D10 C0 03 00 BC */ lfs f0, 0xbc(r3) +/* 802C5DB4 002C2D14 C0 43 00 B8 */ lfs f2, 0xb8(r3) +/* 802C5DB8 002C2D18 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802C5DBC 002C2D1C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802C5DC0 002C2D20 EC 81 00 32 */ fmuls f4, f1, f0 +/* 802C5DC4 002C2D24 48 00 00 14 */ b lbl_802C5DD8 +lbl_802C5DC8: +/* 802C5DC8 002C2D28 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802C5DCC 002C2D2C C0 1F 00 C8 */ lfs f0, 0xc8(r31) +/* 802C5DD0 002C2D30 EC 01 00 2A */ fadds f0, f1, f0 +/* 802C5DD4 002C2D34 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_802C5DD8: +/* 802C5DD8 002C2D38 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 802C5DDC 002C2D3C C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 802C5DE0 002C2D40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C5DE4 002C2D44 4C 40 13 82 */ cror 2, 0, 2 +/* 802C5DE8 002C2D48 41 82 FF E0 */ beq lbl_802C5DC8 +/* 802C5DEC 002C2D4C C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C5DF0 002C2D50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C5DF4 002C2D54 40 80 00 0C */ bge lbl_802C5E00 +/* 802C5DF8 002C2D58 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C5DFC 002C2D5C 48 00 00 08 */ b lbl_802C5E04 +lbl_802C5E00: +/* 802C5E00 002C2D60 38 7F 00 BC */ addi r3, r31, 0xbc +lbl_802C5E04: +/* 802C5E04 002C2D64 C0 43 00 00 */ lfs f2, 0(r3) +/* 802C5E08 002C2D68 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802C5E0C 002C2D6C C0 1F 00 C8 */ lfs f0, 0xc8(r31) +/* 802C5E10 002C2D70 EC 22 00 28 */ fsubs f1, f2, f0 +/* 802C5E14 002C2D74 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802C5E18 002C2D78 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 802C5E1C 002C2D7C C0 7F 00 C4 */ lfs f3, 0xc4(r31) +/* 802C5E20 002C2D80 2C 00 00 01 */ cmpwi r0, 1 +/* 802C5E24 002C2D84 40 82 00 64 */ bne lbl_802C5E88 +/* 802C5E28 002C2D88 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 802C5E2C 002C2D8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802C5E30 002C2D90 41 82 00 30 */ beq lbl_802C5E60 +/* 802C5E34 002C2D94 EC 23 20 28 */ fsubs f1, f3, f4 +/* 802C5E38 002C2D98 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802C5E3C 002C2D9C C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802C5E40 002C2DA0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C5E44 002C2DA4 40 80 00 0C */ bge lbl_802C5E50 +/* 802C5E48 002C2DA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C5E4C 002C2DAC 48 00 00 08 */ b lbl_802C5E54 +lbl_802C5E50: +/* 802C5E50 002C2DB0 38 7F 00 B8 */ addi r3, r31, 0xb8 +lbl_802C5E54: +/* 802C5E54 002C2DB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 802C5E58 002C2DB8 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802C5E5C 002C2DBC 48 00 00 98 */ b lbl_802C5EF4 +lbl_802C5E60: +/* 802C5E60 002C2DC0 EC 03 20 28 */ fsubs f0, f3, f4 +/* 802C5E64 002C2DC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C5E68 002C2DC8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C5E6C 002C2DCC 40 80 00 0C */ bge lbl_802C5E78 +/* 802C5E70 002C2DD0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802C5E74 002C2DD4 48 00 00 08 */ b lbl_802C5E7C +lbl_802C5E78: +/* 802C5E78 002C2DD8 38 61 00 18 */ addi r3, r1, 0x18 +lbl_802C5E7C: +/* 802C5E7C 002C2DDC C0 03 00 00 */ lfs f0, 0(r3) +/* 802C5E80 002C2DE0 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802C5E84 002C2DE4 48 00 00 70 */ b lbl_802C5EF4 +lbl_802C5E88: +/* 802C5E88 002C2DE8 2C 00 00 02 */ cmpwi r0, 2 +/* 802C5E8C 002C2DEC 40 82 00 68 */ bne lbl_802C5EF4 +/* 802C5E90 002C2DF0 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 802C5E94 002C2DF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802C5E98 002C2DF8 41 82 00 30 */ beq lbl_802C5EC8 +/* 802C5E9C 002C2DFC EC 23 20 2A */ fadds f1, f3, f4 +/* 802C5EA0 002C2E00 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C5EA4 002C2E04 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C5EA8 002C2E08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C5EAC 002C2E0C 40 80 00 0C */ bge lbl_802C5EB8 +/* 802C5EB0 002C2E10 38 61 00 0C */ addi r3, r1, 0xc +/* 802C5EB4 002C2E14 48 00 00 08 */ b lbl_802C5EBC +lbl_802C5EB8: +/* 802C5EB8 002C2E18 38 7F 00 BC */ addi r3, r31, 0xbc +lbl_802C5EBC: +/* 802C5EBC 002C2E1C C0 03 00 00 */ lfs f0, 0(r3) +/* 802C5EC0 002C2E20 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802C5EC4 002C2E24 48 00 00 30 */ b lbl_802C5EF4 +lbl_802C5EC8: +/* 802C5EC8 002C2E28 FC 03 08 00 */ fcmpu cr0, f3, f1 +/* 802C5ECC 002C2E2C 41 82 00 28 */ beq lbl_802C5EF4 +/* 802C5ED0 002C2E30 EC 03 20 2A */ fadds f0, f3, f4 +/* 802C5ED4 002C2E34 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802C5ED8 002C2E38 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C5EDC 002C2E3C 40 80 00 0C */ bge lbl_802C5EE8 +/* 802C5EE0 002C2E40 38 61 00 08 */ addi r3, r1, 8 +/* 802C5EE4 002C2E44 48 00 00 08 */ b lbl_802C5EEC +lbl_802C5EE8: +/* 802C5EE8 002C2E48 38 61 00 1C */ addi r3, r1, 0x1c +lbl_802C5EEC: +/* 802C5EEC 002C2E4C C0 03 00 00 */ lfs f0, 0(r3) +/* 802C5EF0 002C2E50 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +lbl_802C5EF4: +/* 802C5EF4 002C2E54 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 802C5EF8 002C2E58 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 802C5EFC 002C2E5C 40 82 00 0C */ bne lbl_802C5F08 +/* 802C5F00 002C2E60 38 00 00 00 */ li r0, 0 +/* 802C5F04 002C2E64 90 1F 00 F0 */ stw r0, 0xf0(r31) +lbl_802C5F08: +/* 802C5F08 002C2E68 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 802C5F0C 002C2E6C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802C5F10 002C2E70 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802C5F14 002C2E74 EC 44 00 28 */ fsubs f2, f4, f0 +/* 802C5F18 002C2E78 C0 3F 00 C0 */ lfs f1, 0xc0(r31) +/* 802C5F1C 002C2E7C EC 00 18 28 */ fsubs f0, f0, f3 +/* 802C5F20 002C2E80 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802C5F24 002C2E84 40 81 00 08 */ ble lbl_802C5F2C +/* 802C5F28 002C2E88 48 00 00 08 */ b lbl_802C5F30 +lbl_802C5F2C: +/* 802C5F2C 002C2E8C FC 60 20 90 */ fmr f3, f4 +lbl_802C5F30: +/* 802C5F30 002C2E90 D0 7F 00 C0 */ stfs f3, 0xc0(r31) +/* 802C5F34 002C2E94 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 802C5F38 002C2E98 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802C5F3C 002C2E9C 41 82 00 FC */ beq lbl_802C6038 +/* 802C5F40 002C2EA0 38 00 00 02 */ li r0, 2 +/* 802C5F44 002C2EA4 38 60 00 00 */ li r3, 0 +/* 802C5F48 002C2EA8 7C 09 03 A6 */ mtctr r0 +lbl_802C5F4C: +/* 802C5F4C 002C2EAC 38 03 00 E0 */ addi r0, r3, 0xe0 +/* 802C5F50 002C2EB0 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5F54 002C2EB4 7C 00 07 75 */ extsb. r0, r0 +/* 802C5F58 002C2EB8 41 82 00 0C */ beq lbl_802C5F64 +/* 802C5F5C 002C2EBC 38 00 00 00 */ li r0, 0 +/* 802C5F60 002C2EC0 48 00 00 B8 */ b lbl_802C6018 +lbl_802C5F64: +/* 802C5F64 002C2EC4 38 03 00 E1 */ addi r0, r3, 0xe1 +/* 802C5F68 002C2EC8 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5F6C 002C2ECC 7C 00 07 75 */ extsb. r0, r0 +/* 802C5F70 002C2ED0 41 82 00 0C */ beq lbl_802C5F7C +/* 802C5F74 002C2ED4 38 00 00 00 */ li r0, 0 +/* 802C5F78 002C2ED8 48 00 00 A0 */ b lbl_802C6018 +lbl_802C5F7C: +/* 802C5F7C 002C2EDC 38 03 00 E2 */ addi r0, r3, 0xe2 +/* 802C5F80 002C2EE0 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5F84 002C2EE4 7C 00 07 75 */ extsb. r0, r0 +/* 802C5F88 002C2EE8 41 82 00 0C */ beq lbl_802C5F94 +/* 802C5F8C 002C2EEC 38 00 00 00 */ li r0, 0 +/* 802C5F90 002C2EF0 48 00 00 88 */ b lbl_802C6018 +lbl_802C5F94: +/* 802C5F94 002C2EF4 38 03 00 E3 */ addi r0, r3, 0xe3 +/* 802C5F98 002C2EF8 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5F9C 002C2EFC 7C 00 07 75 */ extsb. r0, r0 +/* 802C5FA0 002C2F00 41 82 00 0C */ beq lbl_802C5FAC +/* 802C5FA4 002C2F04 38 00 00 00 */ li r0, 0 +/* 802C5FA8 002C2F08 48 00 00 70 */ b lbl_802C6018 +lbl_802C5FAC: +/* 802C5FAC 002C2F0C 38 03 00 E4 */ addi r0, r3, 0xe4 +/* 802C5FB0 002C2F10 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5FB4 002C2F14 7C 00 07 75 */ extsb. r0, r0 +/* 802C5FB8 002C2F18 41 82 00 0C */ beq lbl_802C5FC4 +/* 802C5FBC 002C2F1C 38 00 00 00 */ li r0, 0 +/* 802C5FC0 002C2F20 48 00 00 58 */ b lbl_802C6018 +lbl_802C5FC4: +/* 802C5FC4 002C2F24 38 03 00 E5 */ addi r0, r3, 0xe5 +/* 802C5FC8 002C2F28 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5FCC 002C2F2C 7C 00 07 75 */ extsb. r0, r0 +/* 802C5FD0 002C2F30 41 82 00 0C */ beq lbl_802C5FDC +/* 802C5FD4 002C2F34 38 00 00 00 */ li r0, 0 +/* 802C5FD8 002C2F38 48 00 00 40 */ b lbl_802C6018 +lbl_802C5FDC: +/* 802C5FDC 002C2F3C 38 03 00 E6 */ addi r0, r3, 0xe6 +/* 802C5FE0 002C2F40 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5FE4 002C2F44 7C 00 07 75 */ extsb. r0, r0 +/* 802C5FE8 002C2F48 41 82 00 0C */ beq lbl_802C5FF4 +/* 802C5FEC 002C2F4C 38 00 00 00 */ li r0, 0 +/* 802C5FF0 002C2F50 48 00 00 28 */ b lbl_802C6018 +lbl_802C5FF4: +/* 802C5FF4 002C2F54 38 03 00 E7 */ addi r0, r3, 0xe7 +/* 802C5FF8 002C2F58 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 802C5FFC 002C2F5C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6000 002C2F60 41 82 00 0C */ beq lbl_802C600C +/* 802C6004 002C2F64 38 00 00 00 */ li r0, 0 +/* 802C6008 002C2F68 48 00 00 10 */ b lbl_802C6018 +lbl_802C600C: +/* 802C600C 002C2F6C 38 63 00 08 */ addi r3, r3, 8 +/* 802C6010 002C2F70 42 00 FF 3C */ bdnz lbl_802C5F4C +/* 802C6014 002C2F74 38 00 00 01 */ li r0, 1 +lbl_802C6018: +/* 802C6018 002C2F78 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C601C 002C2F7C 40 82 00 1C */ bne lbl_802C6038 +/* 802C6020 002C2F80 81 9F 00 D8 */ lwz r12, 0xd8(r31) +/* 802C6024 002C2F84 7F E5 FB 78 */ mr r5, r31 +/* 802C6028 002C2F88 38 9F 00 E0 */ addi r4, r31, 0xe0 +/* 802C602C 002C2F8C 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 802C6030 002C2F90 7D 89 03 A6 */ mtctr r12 +/* 802C6034 002C2F94 4E 80 04 21 */ bctrl +lbl_802C6038: +/* 802C6038 002C2F98 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802C603C 002C2F9C C0 5F 00 B8 */ lfs f2, 0xb8(r31) +/* 802C6040 002C2FA0 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 802C6044 002C2FA4 40 82 00 0C */ bne lbl_802C6050 +/* 802C6048 002C2FA8 C3 E2 C3 B8 */ lfs f31, lbl_805AE0D8@sda21(r2) +/* 802C604C 002C2FAC 48 00 00 14 */ b lbl_802C6060 +lbl_802C6050: +/* 802C6050 002C2FB0 C0 3F 00 C4 */ lfs f1, 0xc4(r31) +/* 802C6054 002C2FB4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802C6058 002C2FB8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802C605C 002C2FBC EF E1 00 24 */ fdivs f31, f1, f0 +lbl_802C6060: +/* 802C6060 002C2FC0 83 DF 00 D0 */ lwz r30, 0xd0(r31) +/* 802C6064 002C2FC4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C6068 002C2FC8 83 BF 00 D4 */ lwz r29, 0xd4(r31) +/* 802C606C 002C2FCC 7F C4 F3 78 */ mr r4, r30 +/* 802C6070 002C2FD0 48 00 46 3D */ bl GetIdlePosition__10CGuiWidgetFv +/* 802C6074 002C2FD4 C3 C1 00 2C */ lfs f30, 0x2c(r1) +/* 802C6078 002C2FD8 7F A4 EB 78 */ mr r4, r29 +/* 802C607C 002C2FDC C3 A1 00 30 */ lfs f29, 0x30(r1) +/* 802C6080 002C2FE0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C6084 002C2FE4 C3 81 00 34 */ lfs f28, 0x34(r1) +/* 802C6088 002C2FE8 48 00 46 25 */ bl GetIdlePosition__10CGuiWidgetFv +/* 802C608C 002C2FEC C0 02 C3 BC */ lfs f0, lbl_805AE0DC@sda21(r2) +/* 802C6090 002C2FF0 7F C3 F3 78 */ mr r3, r30 +/* 802C6094 002C2FF4 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 802C6098 002C2FF8 38 81 00 38 */ addi r4, r1, 0x38 +/* 802C609C 002C2FFC C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802C60A0 002C3000 EC 60 F8 28 */ fsubs f3, f0, f31 +/* 802C60A4 002C3004 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802C60A8 002C3008 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 802C60AC 002C300C EC 21 07 F2 */ fmuls f1, f1, f31 +/* 802C60B0 002C3010 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802C60B4 002C3014 EC 5E 10 FA */ fmadds f2, f30, f3, f2 +/* 802C60B8 002C3018 EC 3D 08 FA */ fmadds f1, f29, f3, f1 +/* 802C60BC 002C301C EC 1C 00 FA */ fmadds f0, f28, f3, f0 +/* 802C60C0 002C3020 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802C60C4 002C3024 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802C60C8 002C3028 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802C60CC 002C302C 4B FF F0 FD */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f +/* 802C60D0 002C3030 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 802C60D4 002C3034 38 60 00 00 */ li r3, 0 +/* 802C60D8 002C3038 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802C60DC 002C303C 98 1F 00 F4 */ stb r0, 0xf4(r31) +/* 802C60E0 002C3040 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802C60E4 002C3044 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802C60E8 002C3048 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 802C60EC 002C304C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 802C60F0 002C3050 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 802C60F4 002C3054 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 802C60F8 002C3058 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 802C60FC 002C305C CB 81 00 60 */ lfd f28, 0x60(r1) +/* 802C6100 002C3060 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802C6104 002C3064 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802C6108 002C3068 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802C610C 002C306C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802C6110 002C3070 7C 08 03 A6 */ mtlr r0 +/* 802C6114 002C3074 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802C6118 002C3078 4E 80 00 20 */ blr + +.global ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput +ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput: +/* 802C611C 002C307C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6120 002C3080 7C 08 02 A6 */ mflr r0 +/* 802C6124 002C3084 C0 42 CC 28 */ lfs f2, lbl_805AE948@sda21(r2) +/* 802C6128 002C3088 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C612C 002C308C FC 00 10 50 */ fneg f0, f2 +/* 802C6130 002C3090 C0 24 00 08 */ lfs f1, 8(r4) +/* 802C6134 002C3094 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C6138 002C3098 40 81 00 0C */ ble lbl_802C6144 +/* 802C613C 002C309C 38 00 00 01 */ li r0, 1 +/* 802C6140 002C30A0 48 00 00 08 */ b lbl_802C6148 +lbl_802C6144: +/* 802C6144 002C30A4 38 00 00 00 */ li r0, 0 +lbl_802C6148: +/* 802C6148 002C30A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C614C 002C30AC 41 82 00 14 */ beq lbl_802C6160 +/* 802C6150 002C30B0 38 80 00 00 */ li r4, 0 +/* 802C6154 002C30B4 38 A0 00 00 */ li r5, 0 +/* 802C6158 002C30B8 4B FF FB 3D */ bl StartDecreasing__15CGuiSliderGroupFv +/* 802C615C 002C30BC 48 00 00 4C */ b lbl_802C61A8 +lbl_802C6160: +/* 802C6160 002C30C0 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802C6164 002C30C4 40 80 00 14 */ bge lbl_802C6178 +/* 802C6168 002C30C8 38 80 00 00 */ li r4, 0 +/* 802C616C 002C30CC 38 A0 00 00 */ li r5, 0 +/* 802C6170 002C30D0 4B FF FB 41 */ bl StartIncreasing__15CGuiSliderGroupFv +/* 802C6174 002C30D4 48 00 00 34 */ b lbl_802C61A8 +lbl_802C6178: +/* 802C6178 002C30D8 88 84 00 2E */ lbz r4, 0x2e(r4) +/* 802C617C 002C30DC 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f +/* 802C6180 002C30E0 41 82 00 14 */ beq lbl_802C6194 +/* 802C6184 002C30E4 38 80 00 00 */ li r4, 0 +/* 802C6188 002C30E8 38 A0 00 00 */ li r5, 0 +/* 802C618C 002C30EC 4B FF FB 09 */ bl StartDecreasing__15CGuiSliderGroupFv +/* 802C6190 002C30F0 48 00 00 18 */ b lbl_802C61A8 +lbl_802C6194: +/* 802C6194 002C30F4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 802C6198 002C30F8 41 82 00 10 */ beq lbl_802C61A8 +/* 802C619C 002C30FC 38 80 00 00 */ li r4, 0 +/* 802C61A0 002C3100 38 A0 00 00 */ li r5, 0 +/* 802C61A4 002C3104 4B FF FB 0D */ bl StartIncreasing__15CGuiSliderGroupFv +lbl_802C61A8: +/* 802C61A8 002C3108 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C61AC 002C310C 7C 08 03 A6 */ mtlr r0 +/* 802C61B0 002C3110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C61B4 002C3114 4E 80 00 20 */ blr + +.global AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget +AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget: +/* 802C61B8 002C3118 A8 04 00 B4 */ lha r0, 0xb4(r4) +/* 802C61BC 002C311C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C61C0 002C3120 41 80 00 18 */ blt lbl_802C61D8 +/* 802C61C4 002C3124 2C 00 00 01 */ cmpwi r0, 1 +/* 802C61C8 002C3128 41 81 00 10 */ bgt lbl_802C61D8 +/* 802C61CC 002C312C 54 00 10 3A */ slwi r0, r0, 2 +/* 802C61D0 002C3130 7C 63 02 14 */ add r3, r3, r0 +/* 802C61D4 002C3134 90 83 00 D0 */ stw r4, 0xd0(r3) +lbl_802C61D8: +/* 802C61D8 002C3138 38 60 00 01 */ li r3, 1 +/* 802C61DC 002C313C 4E 80 00 20 */ blr + +.global __ct__15CGuiSliderGroupFv +__ct__15CGuiSliderGroupFv: +/* 802C61E0 002C3140 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C61E4 002C3144 7C 08 02 A6 */ mflr r0 +/* 802C61E8 002C3148 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C61EC 002C314C 39 61 00 30 */ addi r11, r1, 0x30 +/* 802C61F0 002C3150 48 0C 37 F9 */ bl sub_803899e8 +/* 802C61F4 002C3154 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C61F8 002C3158 FF 80 08 90 */ fmr f28, f1 +/* 802C61FC 002C315C 7C 7F 1B 78 */ mr r31, r3 +/* 802C6200 002C3160 FF A0 10 90 */ fmr f29, f2 +/* 802C6204 002C3164 FF C0 18 90 */ fmr f30, f3 +/* 802C6208 002C3168 FF E0 20 90 */ fmr f31, f4 +/* 802C620C 002C316C 4B FF B9 85 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C6210 002C3170 3C 60 80 3F */ lis r3, lbl_803EC930@ha +/* 802C6214 002C3174 34 9F 00 D0 */ addic. r4, r31, 0xd0 +/* 802C6218 002C3178 38 63 C9 30 */ addi r3, r3, lbl_803EC930@l +/* 802C621C 002C317C 38 00 00 02 */ li r0, 2 +/* 802C6220 002C3180 90 7F 00 00 */ stw r3, 0(r31) +/* 802C6224 002C3184 38 60 00 00 */ li r3, 0 +/* 802C6228 002C3188 D3 9F 00 B8 */ stfs f28, 0xb8(r31) +/* 802C622C 002C318C D3 BF 00 BC */ stfs f29, 0xbc(r31) +/* 802C6230 002C3190 D3 DF 00 C0 */ stfs f30, 0xc0(r31) +/* 802C6234 002C3194 D3 DF 00 C4 */ stfs f30, 0xc4(r31) +/* 802C6238 002C3198 D3 FF 00 C8 */ stfs f31, 0xc8(r31) +/* 802C623C 002C319C 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 802C6240 002C31A0 41 82 00 08 */ beq lbl_802C6248 +/* 802C6244 002C31A4 90 64 00 00 */ stw r3, 0(r4) +lbl_802C6248: +/* 802C6248 002C31A8 34 84 00 04 */ addic. r4, r4, 4 +/* 802C624C 002C31AC 41 82 00 08 */ beq lbl_802C6254 +/* 802C6250 002C31B0 90 64 00 00 */ stw r3, 0(r4) +lbl_802C6254: +/* 802C6254 002C31B4 38 00 00 00 */ li r0, 0 +/* 802C6258 002C31B8 38 7F 00 E0 */ addi r3, r31, 0xe0 +/* 802C625C 002C31BC 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 802C6260 002C31C0 38 80 00 00 */ li r4, 0 +/* 802C6264 002C31C4 38 A0 00 10 */ li r5, 0x10 +/* 802C6268 002C31C8 90 1F 00 DC */ stw r0, 0xdc(r31) +/* 802C626C 002C31CC 4B D3 D1 3D */ bl memset +/* 802C6270 002C31D0 38 80 00 00 */ li r4, 0 +/* 802C6274 002C31D4 7F E3 FB 78 */ mr r3, r31 +/* 802C6278 002C31D8 90 9F 00 F0 */ stw r4, 0xf0(r31) +/* 802C627C 002C31DC 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 802C6280 002C31E0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802C6284 002C31E4 98 1F 00 F4 */ stb r0, 0xf4(r31) +/* 802C6288 002C31E8 39 61 00 30 */ addi r11, r1, 0x30 +/* 802C628C 002C31EC 48 0C 37 A9 */ bl sub_80389a34 +/* 802C6290 002C31F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C6294 002C31F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C6298 002C31F8 7C 08 03 A6 */ mtlr r0 +/* 802C629C 002C31FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C62A0 002C3200 4E 80 00 20 */ blr + +.global GetWorkerWidget__15CGuiSliderGroupFi +GetWorkerWidget__15CGuiSliderGroupFi: +/* 802C62A4 002C3204 2C 04 00 00 */ cmpwi r4, 0 +/* 802C62A8 002C3208 41 80 00 1C */ blt lbl_802C62C4 +/* 802C62AC 002C320C 2C 04 00 01 */ cmpwi r4, 1 +/* 802C62B0 002C3210 41 81 00 14 */ bgt lbl_802C62C4 +/* 802C62B4 002C3214 54 80 10 3A */ slwi r0, r4, 2 +/* 802C62B8 002C3218 7C 63 02 14 */ add r3, r3, r0 +/* 802C62BC 002C321C 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 802C62C0 002C3220 4E 80 00 20 */ blr +lbl_802C62C4: +/* 802C62C4 002C3224 38 60 00 00 */ li r3, 0 +/* 802C62C8 002C3228 4E 80 00 20 */ blr + +.global Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb +Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb: +/* 802C62CC 002C322C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C62D0 002C3230 7C 08 02 A6 */ mflr r0 +/* 802C62D4 002C3234 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C62D8 002C3238 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802C62DC 002C323C 7C 9F 23 78 */ mr r31, r4 +/* 802C62E0 002C3240 7F E5 FB 78 */ mr r5, r31 +/* 802C62E4 002C3244 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802C62E8 002C3248 7C 7E 1B 78 */ mr r30, r3 +/* 802C62EC 002C324C 7F C4 F3 78 */ mr r4, r30 +/* 802C62F0 002C3250 38 61 00 08 */ addi r3, r1, 8 +/* 802C62F4 002C3254 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802C62F8 002C3258 48 00 4A 59 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C62FC 002C325C 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C6300 002C3260 7F E3 FB 78 */ mr r3, r31 +/* 802C6304 002C3264 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C6308 002C3268 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C630C 002C326C A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C6310 002C3270 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C6314 002C3274 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C6318 002C3278 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C631C 002C327C 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C6320 002C3280 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C6324 002C3284 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C6328 002C3288 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C632C 002C328C 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C6330 002C3290 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C6334 002C3294 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C6338 002C3298 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C633C 002C329C 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C6340 002C32A0 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C6344 002C32A4 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C6348 002C32A8 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C634C 002C32AC 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C6350 002C32B0 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C6354 002C32B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C6358 002C32B8 48 07 88 D1 */ bl ReadFloat__12CInputStreamFv +/* 802C635C 002C32BC 7F E3 FB 78 */ mr r3, r31 +/* 802C6360 002C32C0 48 07 88 C9 */ bl ReadFloat__12CInputStreamFv +/* 802C6364 002C32C4 7F E3 FB 78 */ mr r3, r31 +/* 802C6368 002C32C8 48 07 88 C1 */ bl ReadFloat__12CInputStreamFv +/* 802C636C 002C32CC 7F E3 FB 78 */ mr r3, r31 +/* 802C6370 002C32D0 48 07 88 B9 */ bl ReadFloat__12CInputStreamFv +/* 802C6374 002C32D4 3C 80 80 3D */ lis r4, lbl_803D68C0@ha +/* 802C6378 002C32D8 38 60 00 F8 */ li r3, 0xf8 +/* 802C637C 002C32DC 38 84 68 C0 */ addi r4, r4, lbl_803D68C0@l +/* 802C6380 002C32E0 38 A0 00 00 */ li r5, 0 +/* 802C6384 002C32E4 48 04 F4 E9 */ bl __nw__FUlPCcPCc +/* 802C6388 002C32E8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C638C 002C32EC 41 82 00 20 */ beq lbl_802C63AC +/* 802C6390 002C32F0 C0 22 C3 B8 */ lfs f1, lbl_805AE0D8@sda21(r2) +/* 802C6394 002C32F4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C6398 002C32F8 C0 42 C3 C0 */ lfs f2, lbl_805AE0E0@sda21(r2) +/* 802C639C 002C32FC FC 60 08 90 */ fmr f3, f1 +/* 802C63A0 002C3300 C0 82 C3 C4 */ lfs f4, lbl_805AE0E4@sda21(r2) +/* 802C63A4 002C3304 4B FF FE 3D */ bl __ct__15CGuiSliderGroupFv +/* 802C63A8 002C3308 7C 7D 1B 78 */ mr r29, r3 +lbl_802C63AC: +/* 802C63AC 002C330C 7F A3 EB 78 */ mr r3, r29 +/* 802C63B0 002C3310 7F C4 F3 78 */ mr r4, r30 +/* 802C63B4 002C3314 7F E5 FB 78 */ mr r5, r31 +/* 802C63B8 002C3318 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C63BC 002C331C 48 00 46 CD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C63C0 002C3320 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C63C4 002C3324 7F A3 EB 78 */ mr r3, r29 +/* 802C63C8 002C3328 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802C63CC 002C332C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802C63D0 002C3330 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802C63D4 002C3334 7C 08 03 A6 */ mtlr r0 +/* 802C63D8 002C3338 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C63DC 002C333C 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiSys.s b/asm/GuiSys/CGuiSys.s new file mode 100644 index 00000000..fd46e09a --- /dev/null +++ b/asm/GuiSys/CGuiSys.s @@ -0,0 +1,156 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global nullsub_7 +nullsub_7: +/* 802C63E0 002C3340 4E 80 00 20 */ blr + +.global CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame +CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame: +/* 802C63E4 002C3344 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C63E8 002C3348 7C 08 02 A6 */ mflr r0 +/* 802C63EC 002C334C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C63F0 002C3350 7C 80 23 78 */ mr r0, r4 +/* 802C63F4 002C3354 7C A4 2B 78 */ mr r4, r5 +/* 802C63F8 002C3358 7C 05 03 78 */ mr r5, r0 +/* 802C63FC 002C335C 4B FF B7 D1 */ bl FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb +/* 802C6400 002C3360 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6404 002C3364 7C 08 03 A6 */ mtlr r0 +/* 802C6408 002C3368 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C640C 002C336C 4E 80 00 20 */ blr + +.global sub_802c6410 +sub_802c6410: +/* 802C6410 002C3370 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6414 002C3374 7C 08 02 A6 */ mflr r0 +/* 802C6418 002C3378 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C641C 002C337C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6420 002C3380 7C 9F 23 78 */ mr r31, r4 +/* 802C6424 002C3384 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6428 002C3388 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C642C 002C338C 41 82 00 30 */ beq lbl_802C645C +/* 802C6430 002C3390 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802C6434 002C3394 41 82 00 0C */ beq lbl_802C6440 +/* 802C6438 002C3398 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802C643C 002C339C 48 04 F4 F5 */ bl Free__7CMemoryFPCv +lbl_802C6440: +/* 802C6440 002C33A0 38 7E 00 0C */ addi r3, r30, 0xc +/* 802C6444 002C33A4 38 80 FF FF */ li r4, -1 +/* 802C6448 002C33A8 48 00 00 31 */ bl sub_802c6478 +/* 802C644C 002C33AC 7F E0 07 35 */ extsh. r0, r31 +/* 802C6450 002C33B0 40 81 00 0C */ ble lbl_802C645C +/* 802C6454 002C33B4 7F C3 F3 78 */ mr r3, r30 +/* 802C6458 002C33B8 48 04 F4 D9 */ bl Free__7CMemoryFPCv +lbl_802C645C: +/* 802C645C 002C33BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6460 002C33C0 7F C3 F3 78 */ mr r3, r30 +/* 802C6464 002C33C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C6468 002C33C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C646C 002C33CC 7C 08 03 A6 */ mtlr r0 +/* 802C6470 002C33D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6474 002C33D4 4E 80 00 20 */ blr + +.global sub_802c6478 +sub_802c6478: +/* 802C6478 002C33D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C647C 002C33DC 7C 08 02 A6 */ mflr r0 +/* 802C6480 002C33E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6484 002C33E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6488 002C33E8 7C 9F 23 78 */ mr r31, r4 +/* 802C648C 002C33EC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6490 002C33F0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C6494 002C33F4 41 82 00 20 */ beq lbl_802C64B4 +/* 802C6498 002C33F8 80 7E 00 00 */ lwz r3, 0(r30) +/* 802C649C 002C33FC 38 80 00 01 */ li r4, 1 +/* 802C64A0 002C3400 4B D6 28 15 */ bl __dt__18CTextExecuteBufferFv +/* 802C64A4 002C3404 7F E0 07 35 */ extsh. r0, r31 +/* 802C64A8 002C3408 40 81 00 0C */ ble lbl_802C64B4 +/* 802C64AC 002C340C 7F C3 F3 78 */ mr r3, r30 +/* 802C64B0 002C3410 48 04 F4 81 */ bl Free__7CMemoryFPCv +lbl_802C64B4: +/* 802C64B4 002C3414 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C64B8 002C3418 7F C3 F3 78 */ mr r3, r30 +/* 802C64BC 002C341C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C64C0 002C3420 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C64C4 002C3424 7C 08 03 A6 */ mtlr r0 +/* 802C64C8 002C3428 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C64CC 002C342C 4E 80 00 20 */ blr + +.global __ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode +__ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode: +/* 802C64D0 002C3430 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C64D4 002C3434 7C 08 02 A6 */ mflr r0 +/* 802C64D8 002C3438 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C64DC 002C343C 38 00 00 00 */ li r0, 0 +/* 802C64E0 002C3440 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C64E4 002C3444 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C64E8 002C3448 7C BE 2B 78 */ mr r30, r5 +/* 802C64EC 002C344C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C64F0 002C3450 7C 7D 1B 78 */ mr r29, r3 +/* 802C64F4 002C3454 90 83 00 00 */ stw r4, 0(r3) +/* 802C64F8 002C3458 93 C3 00 04 */ stw r30, 4(r3) +/* 802C64FC 002C345C 90 C3 00 08 */ stw r6, 8(r3) +/* 802C6500 002C3460 90 03 00 0C */ stw r0, 0xc(r3) +/* 802C6504 002C3464 90 03 00 10 */ stw r0, 0x10(r3) +/* 802C6508 002C3468 80 83 00 08 */ lwz r4, 8(r3) +/* 802C650C 002C346C 4B FF FE D5 */ bl nullsub_7 +/* 802C6510 002C3470 3C 80 80 3D */ lis r4, lbl_803D68C8@ha +/* 802C6514 002C3474 38 60 00 DC */ li r3, 0xdc +/* 802C6518 002C3478 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l +/* 802C651C 002C347C 38 A0 00 00 */ li r5, 0 +/* 802C6520 002C3480 48 04 F3 4D */ bl __nw__FUlPCcPCc +/* 802C6524 002C3484 7C 64 1B 79 */ or. r4, r3, r3 +/* 802C6528 002C3488 41 82 00 0C */ beq lbl_802C6534 +/* 802C652C 002C348C 48 03 D8 4D */ bl __ct__18CTextExecuteBufferFv +/* 802C6530 002C3490 7C 64 1B 78 */ mr r4, r3 +lbl_802C6534: +/* 802C6534 002C3494 38 7D 00 0C */ addi r3, r29, 0xc +/* 802C6538 002C3498 48 00 00 69 */ bl sub_802c65a0 +/* 802C653C 002C349C 3C 80 80 3D */ lis r4, lbl_803D68C8@ha +/* 802C6540 002C34A0 38 60 00 04 */ li r3, 4 +/* 802C6544 002C34A4 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l +/* 802C6548 002C34A8 38 A0 00 00 */ li r5, 0 +/* 802C654C 002C34AC 48 04 F3 21 */ bl __nw__FUlPCcPCc +/* 802C6550 002C34B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C6554 002C34B4 41 82 00 10 */ beq lbl_802C6564 +/* 802C6558 002C34B8 7F C4 F3 78 */ mr r4, r30 +/* 802C655C 002C34BC 48 03 F3 45 */ bl __ct__11CTextParserFR12IObjectStore +/* 802C6560 002C34C0 7C 7F 1B 78 */ mr r31, r3 +lbl_802C6564: +/* 802C6564 002C34C4 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802C6568 002C34C8 48 04 F3 C9 */ bl Free__7CMemoryFPCv +/* 802C656C 002C34CC 93 FD 00 10 */ stw r31, 0x10(r29) +/* 802C6570 002C34D0 7F A3 EB 78 */ mr r3, r29 +/* 802C6574 002C34D4 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802C6578 002C34D8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802C657C 002C34DC 90 0D A6 48 */ stw r0, lbl_805A9208@sda21(r13) +/* 802C6580 002C34E0 90 8D A6 4C */ stw r4, lbl_805A920C@sda21(r13) +/* 802C6584 002C34E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6588 002C34E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C658C 002C34EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C6590 002C34F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6594 002C34F4 7C 08 03 A6 */ mtlr r0 +/* 802C6598 002C34F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C659C 002C34FC 4E 80 00 20 */ blr + +.global sub_802c65a0 +sub_802c65a0: +/* 802C65A0 002C3500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C65A4 002C3504 7C 08 02 A6 */ mflr r0 +/* 802C65A8 002C3508 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C65AC 002C350C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C65B0 002C3510 7C 9F 23 78 */ mr r31, r4 +/* 802C65B4 002C3514 38 80 00 01 */ li r4, 1 +/* 802C65B8 002C3518 93 C1 00 08 */ stw r30, 8(r1) +/* 802C65BC 002C351C 7C 7E 1B 78 */ mr r30, r3 +/* 802C65C0 002C3520 80 63 00 00 */ lwz r3, 0(r3) +/* 802C65C4 002C3524 4B D6 26 F1 */ bl __dt__18CTextExecuteBufferFv +/* 802C65C8 002C3528 93 FE 00 00 */ stw r31, 0(r30) +/* 802C65CC 002C352C 7F C3 F3 78 */ mr r3, r30 +/* 802C65D0 002C3530 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C65D4 002C3534 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C65D8 002C3538 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C65DC 002C353C 7C 08 03 A6 */ mtlr r0 +/* 802C65E0 002C3540 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C65E4 002C3544 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiTableGroup.s b/asm/GuiSys/CGuiTableGroup.s new file mode 100644 index 00000000..217dd78d --- /dev/null +++ b/asm/GuiSys/CGuiTableGroup.s @@ -0,0 +1,1194 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget +AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget: +/* 802C65E8 002C3548 38 60 00 01 */ li r3, 1 +/* 802C65EC 002C354C 4E 80 00 20 */ blr + +.global GetWidgetTypeID__14CGuiTableGroupCFv +GetWidgetTypeID__14CGuiTableGroupCFv: +/* 802C65F0 002C3550 3C 60 54 42 */ lis r3, 0x54424750@ha +/* 802C65F4 002C3554 38 63 47 50 */ addi r3, r3, 0x54424750@l +/* 802C65F8 002C3558 4E 80 00 20 */ blr + +.global SetColors__14CGuiTableGroupCFRC6CColorRC6CColor +SetColors__14CGuiTableGroupCFRC6CColorRC6CColor: +/* 802C65FC 002C355C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6600 002C3560 7C 08 02 A6 */ mflr r0 +/* 802C6604 002C3564 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6608 002C3568 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802C660C 002C356C 7C 7B 1B 78 */ mr r27, r3 +/* 802C6610 002C3570 7C 9C 23 78 */ mr r28, r4 +/* 802C6614 002C3574 7C BD 2B 78 */ mr r29, r5 +/* 802C6618 002C3578 3B C0 00 00 */ li r30, 0 +/* 802C661C 002C357C 83 E3 00 C4 */ lwz r31, 0xc4(r3) +lbl_802C6620: +/* 802C6620 002C3580 7F 63 DB 78 */ mr r3, r27 +/* 802C6624 002C3584 7F C4 F3 78 */ mr r4, r30 +/* 802C6628 002C3588 81 9B 00 00 */ lwz r12, 0(r27) +/* 802C662C 002C358C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C6630 002C3590 7D 89 03 A6 */ mtctr r12 +/* 802C6634 002C3594 4E 80 04 21 */ bctrl +/* 802C6638 002C3598 28 03 00 00 */ cmplwi r3, 0 +/* 802C663C 002C359C 41 82 00 24 */ beq lbl_802C6660 +/* 802C6640 002C35A0 7C 1E F8 00 */ cmpw r30, r31 +/* 802C6644 002C35A4 40 82 00 0C */ bne lbl_802C6650 +/* 802C6648 002C35A8 7F 84 E3 78 */ mr r4, r28 +/* 802C664C 002C35AC 48 00 00 08 */ b lbl_802C6654 +lbl_802C6650: +/* 802C6650 002C35B0 7F A4 EB 78 */ mr r4, r29 +lbl_802C6654: +/* 802C6654 002C35B4 48 00 42 19 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 802C6658 002C35B8 3B DE 00 01 */ addi r30, r30, 1 +/* 802C665C 002C35BC 4B FF FF C4 */ b lbl_802C6620 +lbl_802C6660: +/* 802C6660 002C35C0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802C6664 002C35C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6668 002C35C8 7C 08 03 A6 */ mtlr r0 +/* 802C666C 002C35CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6670 002C35D0 4E 80 00 20 */ blr + +.global DecrementSelectedRow__14CGuiTableGroupFv +DecrementSelectedRow__14CGuiTableGroupFv: +/* 802C6674 002C35D4 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C6678 002C35D8 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C667C 002C35DC 80 83 00 C4 */ lwz r4, 0xc4(r3) +/* 802C6680 002C35E0 34 04 FF FF */ addic. r0, r4, -1 +/* 802C6684 002C35E4 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C6688 002C35E8 40 80 00 40 */ bge lbl_802C66C8 +/* 802C668C 002C35EC 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6690 002C35F0 28 00 00 00 */ cmplwi r0, 0 +/* 802C6694 002C35F4 41 82 00 10 */ beq lbl_802C66A4 +/* 802C6698 002C35F8 80 83 00 C0 */ lwz r4, 0xc0(r3) +/* 802C669C 002C35FC 38 04 FF FF */ addi r0, r4, -1 +/* 802C66A0 002C3600 48 00 00 08 */ b lbl_802C66A8 +lbl_802C66A4: +/* 802C66A4 002C3604 38 00 00 00 */ li r0, 0 +lbl_802C66A8: +/* 802C66A8 002C3608 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C66AC 002C360C 38 80 00 01 */ li r4, 1 +/* 802C66B0 002C3610 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C66B4 002C3614 28 00 00 00 */ cmplwi r0, 0 +/* 802C66B8 002C3618 41 82 00 08 */ beq lbl_802C66C0 +/* 802C66BC 002C361C 38 80 00 02 */ li r4, 2 +lbl_802C66C0: +/* 802C66C0 002C3620 7C 83 23 78 */ mr r3, r4 +/* 802C66C4 002C3624 4E 80 00 20 */ blr +lbl_802C66C8: +/* 802C66C8 002C3628 38 60 00 00 */ li r3, 0 +/* 802C66CC 002C362C 4E 80 00 20 */ blr + +.global IncrementSelectedRow__14CGuiTableGroupFv +IncrementSelectedRow__14CGuiTableGroupFv: +/* 802C66D0 002C3630 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C66D4 002C3634 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C66D8 002C3638 80 83 00 C4 */ lwz r4, 0xc4(r3) +/* 802C66DC 002C363C 38 04 00 01 */ addi r0, r4, 1 +/* 802C66E0 002C3640 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C66E4 002C3644 80 83 00 C0 */ lwz r4, 0xc0(r3) +/* 802C66E8 002C3648 7C 00 20 00 */ cmpw r0, r4 +/* 802C66EC 002C364C 41 80 00 3C */ blt lbl_802C6728 +/* 802C66F0 002C3650 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C66F4 002C3654 28 00 00 00 */ cmplwi r0, 0 +/* 802C66F8 002C3658 41 82 00 0C */ beq lbl_802C6704 +/* 802C66FC 002C365C 38 00 00 00 */ li r0, 0 +/* 802C6700 002C3660 48 00 00 08 */ b lbl_802C6708 +lbl_802C6704: +/* 802C6704 002C3664 38 04 FF FF */ addi r0, r4, -1 +lbl_802C6708: +/* 802C6708 002C3668 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C670C 002C366C 38 80 00 01 */ li r4, 1 +/* 802C6710 002C3670 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6714 002C3674 28 00 00 00 */ cmplwi r0, 0 +/* 802C6718 002C3678 41 82 00 08 */ beq lbl_802C6720 +/* 802C671C 002C367C 38 80 00 02 */ li r4, 2 +lbl_802C6720: +/* 802C6720 002C3680 7C 83 23 78 */ mr r3, r4 +/* 802C6724 002C3684 4E 80 00 20 */ blr +lbl_802C6728: +/* 802C6728 002C3688 38 60 00 00 */ li r3, 0 +/* 802C672C 002C368C 4E 80 00 20 */ blr + +.global DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +DeactivateWorker__14CGuiTableGroupFP10CGuiWidget: +/* 802C6730 002C3690 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6734 002C3694 7C 08 02 A6 */ mflr r0 +/* 802C6738 002C3698 7C 83 23 78 */ mr r3, r4 +/* 802C673C 002C369C 38 80 00 00 */ li r4, 0 +/* 802C6740 002C36A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6744 002C36A4 48 00 3E A1 */ bl SetIsActive__10CGuiWidgetFb +/* 802C6748 002C36A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C674C 002C36AC 7C 08 03 A6 */ mtlr r0 +/* 802C6750 002C36B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6754 002C36B4 4E 80 00 20 */ blr + +.global ActivateWorker__14CGuiTableGroupFP10CGuiWidget +ActivateWorker__14CGuiTableGroupFP10CGuiWidget: +/* 802C6758 002C36B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C675C 002C36BC 7C 08 02 A6 */ mflr r0 +/* 802C6760 002C36C0 7C 83 23 78 */ mr r3, r4 +/* 802C6764 002C36C4 38 80 00 01 */ li r4, 1 +/* 802C6768 002C36C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C676C 002C36CC 48 00 3E 79 */ bl SetIsActive__10CGuiWidgetFb +/* 802C6770 002C36D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6774 002C36D4 7C 08 03 A6 */ mtlr r0 +/* 802C6778 002C36D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C677C 002C36DC 4E 80 00 20 */ blr + +.global OnActivate__14CGuiTableGroupFb +OnActivate__14CGuiTableGroupFb: +/* 802C6780 002C36E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6784 002C36E4 7C 08 02 A6 */ mflr r0 +/* 802C6788 002C36E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C678C 002C36EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6790 002C36F0 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6794 002C36F4 7C 7E 1B 78 */ mr r30, r3 +/* 802C6798 002C36F8 48 00 3E 45 */ bl OnActivate__10CGuiWidgetFv +/* 802C679C 002C36FC 7F C3 F3 78 */ mr r3, r30 +/* 802C67A0 002C3700 80 9E 00 C4 */ lwz r4, 0xc4(r30) +/* 802C67A4 002C3704 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C67A8 002C3708 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C67AC 002C370C 7D 89 03 A6 */ mtctr r12 +/* 802C67B0 002C3710 4E 80 04 21 */ bctrl +/* 802C67B4 002C3714 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C67B8 002C3718 7C 7F 1B 78 */ mr r31, r3 +/* 802C67BC 002C371C 7F C3 F3 78 */ mr r3, r30 +/* 802C67C0 002C3720 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802C67C4 002C3724 7D 89 03 A6 */ mtctr r12 +/* 802C67C8 002C3728 4E 80 04 21 */ bctrl +/* 802C67CC 002C372C 7C 64 1B 78 */ mr r4, r3 +/* 802C67D0 002C3730 7F E3 FB 78 */ mr r3, r31 +/* 802C67D4 002C3734 48 00 3E 11 */ bl SetIsActive__10CGuiWidgetFb +/* 802C67D8 002C3738 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C67DC 002C373C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C67E0 002C3740 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C67E4 002C3744 7C 08 03 A6 */ mtlr r0 +/* 802C67E8 002C3748 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C67EC 002C374C 4E 80 00 20 */ blr + +.global "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +"SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3": +/* 802C67F0 002C3750 80 04 00 00 */ lwz r0, 0(r4) +/* 802C67F4 002C3754 90 03 01 04 */ stw r0, 0x104(r3) +/* 802C67F8 002C3758 80 04 00 04 */ lwz r0, 4(r4) +/* 802C67FC 002C375C 90 03 01 08 */ stw r0, 0x108(r3) +/* 802C6800 002C3760 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C6804 002C3764 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C6808 002C3768 90 A3 01 0C */ stw r5, 0x10c(r3) +/* 802C680C 002C376C 90 03 01 10 */ stw r0, 0x110(r3) +/* 802C6810 002C3770 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C6814 002C3774 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C6818 002C3778 90 A3 01 14 */ stw r5, 0x114(r3) +/* 802C681C 002C377C 90 03 01 18 */ stw r0, 0x118(r3) +/* 802C6820 002C3780 4E 80 00 20 */ blr + +.global "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" +"SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1": +/* 802C6824 002C3784 80 04 00 00 */ lwz r0, 0(r4) +/* 802C6828 002C3788 90 03 00 EC */ stw r0, 0xec(r3) +/* 802C682C 002C378C 80 04 00 04 */ lwz r0, 4(r4) +/* 802C6830 002C3790 90 03 00 F0 */ stw r0, 0xf0(r3) +/* 802C6834 002C3794 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C6838 002C3798 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C683C 002C379C 90 A3 00 F4 */ stw r5, 0xf4(r3) +/* 802C6840 002C37A0 90 03 00 F8 */ stw r0, 0xf8(r3) +/* 802C6844 002C37A4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C6848 002C37A8 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C684C 002C37AC 90 A3 00 FC */ stw r5, 0xfc(r3) +/* 802C6850 002C37B0 90 03 01 00 */ stw r0, 0x100(r3) +/* 802C6854 002C37B4 4E 80 00 20 */ blr + +.global "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +"SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1": +/* 802C6858 002C37B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802C685C 002C37BC 90 03 00 D4 */ stw r0, 0xd4(r3) +/* 802C6860 002C37C0 80 04 00 04 */ lwz r0, 4(r4) +/* 802C6864 002C37C4 90 03 00 D8 */ stw r0, 0xd8(r3) +/* 802C6868 002C37C8 80 A4 00 08 */ lwz r5, 8(r4) +/* 802C686C 002C37CC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C6870 002C37D0 90 A3 00 DC */ stw r5, 0xdc(r3) +/* 802C6874 002C37D4 90 03 00 E0 */ stw r0, 0xe0(r3) +/* 802C6878 002C37D8 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 802C687C 002C37DC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802C6880 002C37E0 90 A3 00 E4 */ stw r5, 0xe4(r3) +/* 802C6884 002C37E4 90 03 00 E8 */ stw r0, 0xe8(r3) +/* 802C6888 002C37E8 4E 80 00 20 */ blr + +.global DoCancel__14CGuiTableGroupFv +DoCancel__14CGuiTableGroupFv: +/* 802C688C 002C37EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6890 002C37F0 7C 08 02 A6 */ mflr r0 +/* 802C6894 002C37F4 38 80 00 00 */ li r4, 0 +/* 802C6898 002C37F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C689C 002C37FC 38 00 00 02 */ li r0, 2 +/* 802C68A0 002C3800 7C 09 03 A6 */ mtctr r0 +lbl_802C68A4: +/* 802C68A4 002C3804 38 04 00 F4 */ addi r0, r4, 0xf4 +/* 802C68A8 002C3808 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68AC 002C380C 7C 00 07 75 */ extsb. r0, r0 +/* 802C68B0 002C3810 41 82 00 0C */ beq lbl_802C68BC +/* 802C68B4 002C3814 38 00 00 00 */ li r0, 0 +/* 802C68B8 002C3818 48 00 00 B8 */ b lbl_802C6970 +lbl_802C68BC: +/* 802C68BC 002C381C 38 04 00 F5 */ addi r0, r4, 0xf5 +/* 802C68C0 002C3820 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68C4 002C3824 7C 00 07 75 */ extsb. r0, r0 +/* 802C68C8 002C3828 41 82 00 0C */ beq lbl_802C68D4 +/* 802C68CC 002C382C 38 00 00 00 */ li r0, 0 +/* 802C68D0 002C3830 48 00 00 A0 */ b lbl_802C6970 +lbl_802C68D4: +/* 802C68D4 002C3834 38 04 00 F6 */ addi r0, r4, 0xf6 +/* 802C68D8 002C3838 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68DC 002C383C 7C 00 07 75 */ extsb. r0, r0 +/* 802C68E0 002C3840 41 82 00 0C */ beq lbl_802C68EC +/* 802C68E4 002C3844 38 00 00 00 */ li r0, 0 +/* 802C68E8 002C3848 48 00 00 88 */ b lbl_802C6970 +lbl_802C68EC: +/* 802C68EC 002C384C 38 04 00 F7 */ addi r0, r4, 0xf7 +/* 802C68F0 002C3850 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C68F4 002C3854 7C 00 07 75 */ extsb. r0, r0 +/* 802C68F8 002C3858 41 82 00 0C */ beq lbl_802C6904 +/* 802C68FC 002C385C 38 00 00 00 */ li r0, 0 +/* 802C6900 002C3860 48 00 00 70 */ b lbl_802C6970 +lbl_802C6904: +/* 802C6904 002C3864 38 04 00 F8 */ addi r0, r4, 0xf8 +/* 802C6908 002C3868 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C690C 002C386C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6910 002C3870 41 82 00 0C */ beq lbl_802C691C +/* 802C6914 002C3874 38 00 00 00 */ li r0, 0 +/* 802C6918 002C3878 48 00 00 58 */ b lbl_802C6970 +lbl_802C691C: +/* 802C691C 002C387C 38 04 00 F9 */ addi r0, r4, 0xf9 +/* 802C6920 002C3880 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6924 002C3884 7C 00 07 75 */ extsb. r0, r0 +/* 802C6928 002C3888 41 82 00 0C */ beq lbl_802C6934 +/* 802C692C 002C388C 38 00 00 00 */ li r0, 0 +/* 802C6930 002C3890 48 00 00 40 */ b lbl_802C6970 +lbl_802C6934: +/* 802C6934 002C3894 38 04 00 FA */ addi r0, r4, 0xfa +/* 802C6938 002C3898 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C693C 002C389C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6940 002C38A0 41 82 00 0C */ beq lbl_802C694C +/* 802C6944 002C38A4 38 00 00 00 */ li r0, 0 +/* 802C6948 002C38A8 48 00 00 28 */ b lbl_802C6970 +lbl_802C694C: +/* 802C694C 002C38AC 38 04 00 FB */ addi r0, r4, 0xfb +/* 802C6950 002C38B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6954 002C38B4 7C 00 07 75 */ extsb. r0, r0 +/* 802C6958 002C38B8 41 82 00 0C */ beq lbl_802C6964 +/* 802C695C 002C38BC 38 00 00 00 */ li r0, 0 +/* 802C6960 002C38C0 48 00 00 10 */ b lbl_802C6970 +lbl_802C6964: +/* 802C6964 002C38C4 38 84 00 08 */ addi r4, r4, 8 +/* 802C6968 002C38C8 42 00 FF 3C */ bdnz lbl_802C68A4 +/* 802C696C 002C38CC 38 00 00 01 */ li r0, 1 +lbl_802C6970: +/* 802C6970 002C38D0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6974 002C38D4 40 82 00 1C */ bne lbl_802C6990 +/* 802C6978 002C38D8 81 83 00 EC */ lwz r12, 0xec(r3) +/* 802C697C 002C38DC 7C 65 1B 78 */ mr r5, r3 +/* 802C6980 002C38E0 38 83 00 F4 */ addi r4, r3, 0xf4 +/* 802C6984 002C38E4 80 63 00 F0 */ lwz r3, 0xf0(r3) +/* 802C6988 002C38E8 7D 89 03 A6 */ mtctr r12 +/* 802C698C 002C38EC 4E 80 04 21 */ bctrl +lbl_802C6990: +/* 802C6990 002C38F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6994 002C38F4 38 60 00 01 */ li r3, 1 +/* 802C6998 002C38F8 7C 08 03 A6 */ mtlr r0 +/* 802C699C 002C38FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C69A0 002C3900 4E 80 00 20 */ blr + +.global DoAdvance__14CGuiTableGroupFv +DoAdvance__14CGuiTableGroupFv: +/* 802C69A4 002C3904 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C69A8 002C3908 7C 08 02 A6 */ mflr r0 +/* 802C69AC 002C390C 38 80 00 00 */ li r4, 0 +/* 802C69B0 002C3910 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C69B4 002C3914 38 00 00 02 */ li r0, 2 +/* 802C69B8 002C3918 7C 09 03 A6 */ mtctr r0 +lbl_802C69BC: +/* 802C69BC 002C391C 38 04 00 DC */ addi r0, r4, 0xdc +/* 802C69C0 002C3920 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69C4 002C3924 7C 00 07 75 */ extsb. r0, r0 +/* 802C69C8 002C3928 41 82 00 0C */ beq lbl_802C69D4 +/* 802C69CC 002C392C 38 00 00 00 */ li r0, 0 +/* 802C69D0 002C3930 48 00 00 B8 */ b lbl_802C6A88 +lbl_802C69D4: +/* 802C69D4 002C3934 38 04 00 DD */ addi r0, r4, 0xdd +/* 802C69D8 002C3938 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69DC 002C393C 7C 00 07 75 */ extsb. r0, r0 +/* 802C69E0 002C3940 41 82 00 0C */ beq lbl_802C69EC +/* 802C69E4 002C3944 38 00 00 00 */ li r0, 0 +/* 802C69E8 002C3948 48 00 00 A0 */ b lbl_802C6A88 +lbl_802C69EC: +/* 802C69EC 002C394C 38 04 00 DE */ addi r0, r4, 0xde +/* 802C69F0 002C3950 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C69F4 002C3954 7C 00 07 75 */ extsb. r0, r0 +/* 802C69F8 002C3958 41 82 00 0C */ beq lbl_802C6A04 +/* 802C69FC 002C395C 38 00 00 00 */ li r0, 0 +/* 802C6A00 002C3960 48 00 00 88 */ b lbl_802C6A88 +lbl_802C6A04: +/* 802C6A04 002C3964 38 04 00 DF */ addi r0, r4, 0xdf +/* 802C6A08 002C3968 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A0C 002C396C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A10 002C3970 41 82 00 0C */ beq lbl_802C6A1C +/* 802C6A14 002C3974 38 00 00 00 */ li r0, 0 +/* 802C6A18 002C3978 48 00 00 70 */ b lbl_802C6A88 +lbl_802C6A1C: +/* 802C6A1C 002C397C 38 04 00 E0 */ addi r0, r4, 0xe0 +/* 802C6A20 002C3980 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A24 002C3984 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A28 002C3988 41 82 00 0C */ beq lbl_802C6A34 +/* 802C6A2C 002C398C 38 00 00 00 */ li r0, 0 +/* 802C6A30 002C3990 48 00 00 58 */ b lbl_802C6A88 +lbl_802C6A34: +/* 802C6A34 002C3994 38 04 00 E1 */ addi r0, r4, 0xe1 +/* 802C6A38 002C3998 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A3C 002C399C 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A40 002C39A0 41 82 00 0C */ beq lbl_802C6A4C +/* 802C6A44 002C39A4 38 00 00 00 */ li r0, 0 +/* 802C6A48 002C39A8 48 00 00 40 */ b lbl_802C6A88 +lbl_802C6A4C: +/* 802C6A4C 002C39AC 38 04 00 E2 */ addi r0, r4, 0xe2 +/* 802C6A50 002C39B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A54 002C39B4 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A58 002C39B8 41 82 00 0C */ beq lbl_802C6A64 +/* 802C6A5C 002C39BC 38 00 00 00 */ li r0, 0 +/* 802C6A60 002C39C0 48 00 00 28 */ b lbl_802C6A88 +lbl_802C6A64: +/* 802C6A64 002C39C4 38 04 00 E3 */ addi r0, r4, 0xe3 +/* 802C6A68 002C39C8 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802C6A6C 002C39CC 7C 00 07 75 */ extsb. r0, r0 +/* 802C6A70 002C39D0 41 82 00 0C */ beq lbl_802C6A7C +/* 802C6A74 002C39D4 38 00 00 00 */ li r0, 0 +/* 802C6A78 002C39D8 48 00 00 10 */ b lbl_802C6A88 +lbl_802C6A7C: +/* 802C6A7C 002C39DC 38 84 00 08 */ addi r4, r4, 8 +/* 802C6A80 002C39E0 42 00 FF 3C */ bdnz lbl_802C69BC +/* 802C6A84 002C39E4 38 00 00 01 */ li r0, 1 +lbl_802C6A88: +/* 802C6A88 002C39E8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6A8C 002C39EC 40 82 00 1C */ bne lbl_802C6AA8 +/* 802C6A90 002C39F0 81 83 00 D4 */ lwz r12, 0xd4(r3) +/* 802C6A94 002C39F4 7C 65 1B 78 */ mr r5, r3 +/* 802C6A98 002C39F8 38 83 00 DC */ addi r4, r3, 0xdc +/* 802C6A9C 002C39FC 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 802C6AA0 002C3A00 7D 89 03 A6 */ mtctr r12 +/* 802C6AA4 002C3A04 4E 80 04 21 */ bctrl +lbl_802C6AA8: +/* 802C6AA8 002C3A08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6AAC 002C3A0C 38 60 00 01 */ li r3, 1 +/* 802C6AB0 002C3A10 7C 08 03 A6 */ mtlr r0 +/* 802C6AB4 002C3A14 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6AB8 002C3A18 4E 80 00 20 */ blr + +.global SelectWorker__14CGuiTableGroupFi +SelectWorker__14CGuiTableGroupFi: +/* 802C6ABC 002C3A1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6AC0 002C3A20 7C 08 02 A6 */ mflr r0 +/* 802C6AC4 002C3A24 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6AC8 002C3A28 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C6ACC 002C3A2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6AD0 002C3A30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6AD4 002C3A34 7C 7E 1B 78 */ mr r30, r3 +/* 802C6AD8 002C3A38 80 C3 00 C0 */ lwz r6, 0xc0(r3) +/* 802C6ADC 002C3A3C 38 6D 9B 04 */ addi r3, r13, lbl_805A86C4@sda21 +/* 802C6AE0 002C3A40 90 81 00 08 */ stw r4, 8(r1) +/* 802C6AE4 002C3A44 38 81 00 08 */ addi r4, r1, 8 +/* 802C6AE8 002C3A48 38 06 FF FF */ addi r0, r6, -1 +/* 802C6AEC 002C3A4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C6AF0 002C3A50 4B D9 35 75 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 802C6AF4 002C3A54 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C6AF8 002C3A58 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6AFC 002C3A5C 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B00 002C3A60 40 80 00 2C */ bge lbl_802C6B2C +/* 802C6B04 002C3A64 48 00 00 0C */ b lbl_802C6B10 +lbl_802C6B08: +/* 802C6B08 002C3A68 7F C3 F3 78 */ mr r3, r30 +/* 802C6B0C 002C3A6C 48 00 05 31 */ bl DoSelectPrevRow__14CGuiTableGroupFv +lbl_802C6B10: +/* 802C6B10 002C3A70 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6B14 002C3A74 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B18 002C3A78 40 82 FF F0 */ bne lbl_802C6B08 +/* 802C6B1C 002C3A7C 48 00 00 1C */ b lbl_802C6B38 +/* 802C6B20 002C3A80 48 00 00 0C */ b lbl_802C6B2C +lbl_802C6B24: +/* 802C6B24 002C3A84 7F C3 F3 78 */ mr r3, r30 +/* 802C6B28 002C3A88 48 00 05 89 */ bl DoSelectNextRow__14CGuiTableGroupFv +lbl_802C6B2C: +/* 802C6B2C 002C3A8C 80 1E 00 C4 */ lwz r0, 0xc4(r30) +/* 802C6B30 002C3A90 7C 1F 00 00 */ cmpw r31, r0 +/* 802C6B34 002C3A94 40 82 FF F0 */ bne lbl_802C6B24 +lbl_802C6B38: +/* 802C6B38 002C3A98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6B3C 002C3A9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6B40 002C3AA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6B44 002C3AA4 7C 08 03 A6 */ mtlr r0 +/* 802C6B48 002C3AA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6B4C 002C3AAC 4E 80 00 20 */ blr + +.global PreDecrement__14CGuiTableGroupFv +PreDecrement__14CGuiTableGroupFv: +/* 802C6B50 002C3AB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6B54 002C3AB4 7C 08 02 A6 */ mflr r0 +/* 802C6B58 002C3AB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6B5C 002C3ABC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6B60 002C3AC0 7C 7F 1B 78 */ mr r31, r3 +/* 802C6B64 002C3AC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6B68 002C3AC8 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6B6C 002C3ACC 28 00 00 00 */ cmplwi r0, 0 +/* 802C6B70 002C3AD0 41 82 00 74 */ beq lbl_802C6BE4 +/* 802C6B74 002C3AD4 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 802C6B78 002C3AD8 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802C6B7C 002C3ADC 38 04 FF FF */ addi r0, r4, -1 +/* 802C6B80 002C3AE0 7C 63 02 14 */ add r3, r3, r0 +/* 802C6B84 002C3AE4 7C 03 23 D6 */ divw r0, r3, r4 +/* 802C6B88 002C3AE8 7C 00 21 D6 */ mullw r0, r0, r4 +/* 802C6B8C 002C3AEC 7F C0 18 50 */ subf r30, r0, r3 +/* 802C6B90 002C3AF0 48 00 00 44 */ b lbl_802C6BD4 +lbl_802C6B94: +/* 802C6B94 002C3AF4 7F E3 FB 78 */ mr r3, r31 +/* 802C6B98 002C3AF8 7F C4 F3 78 */ mr r4, r30 +/* 802C6B9C 002C3AFC 48 00 03 15 */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6BA0 002C3B00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6BA4 002C3B04 41 82 00 18 */ beq lbl_802C6BBC +/* 802C6BA8 002C3B08 7F E3 FB 78 */ mr r3, r31 +/* 802C6BAC 002C3B0C 7F C4 F3 78 */ mr r4, r30 +/* 802C6BB0 002C3B10 4B FF FF 0D */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6BB4 002C3B14 38 60 00 01 */ li r3, 1 +/* 802C6BB8 002C3B18 48 00 00 8C */ b lbl_802C6C44 +lbl_802C6BBC: +/* 802C6BBC 002C3B1C 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 802C6BC0 002C3B20 38 04 FF FF */ addi r0, r4, -1 +/* 802C6BC4 002C3B24 7C 7E 02 14 */ add r3, r30, r0 +/* 802C6BC8 002C3B28 7C 03 23 D6 */ divw r0, r3, r4 +/* 802C6BCC 002C3B2C 7C 00 21 D6 */ mullw r0, r0, r4 +/* 802C6BD0 002C3B30 7F C0 18 50 */ subf r30, r0, r3 +lbl_802C6BD4: +/* 802C6BD4 002C3B34 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802C6BD8 002C3B38 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6BDC 002C3B3C 40 82 FF B8 */ bne lbl_802C6B94 +/* 802C6BE0 002C3B40 48 00 00 60 */ b lbl_802C6C40 +lbl_802C6BE4: +/* 802C6BE4 002C3B44 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C6BE8 002C3B48 38 6D 9B 00 */ addi r3, r13, lbl_805A86C0@sda21 +/* 802C6BEC 002C3B4C 80 0D 9B 00 */ lwz r0, lbl_805A86C0@sda21(r13) +/* 802C6BF0 002C3B50 38 84 FF FF */ addi r4, r4, -1 +/* 802C6BF4 002C3B54 7C 00 20 00 */ cmpw r0, r4 +/* 802C6BF8 002C3B58 90 81 00 08 */ stw r4, 8(r1) +/* 802C6BFC 002C3B5C 40 80 00 08 */ bge lbl_802C6C04 +/* 802C6C00 002C3B60 38 61 00 08 */ addi r3, r1, 8 +lbl_802C6C04: +/* 802C6C04 002C3B64 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C6C08 002C3B68 48 00 00 30 */ b lbl_802C6C38 +lbl_802C6C0C: +/* 802C6C0C 002C3B6C 7F E3 FB 78 */ mr r3, r31 +/* 802C6C10 002C3B70 7F C4 F3 78 */ mr r4, r30 +/* 802C6C14 002C3B74 48 00 02 9D */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6C18 002C3B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6C1C 002C3B7C 41 82 00 18 */ beq lbl_802C6C34 +/* 802C6C20 002C3B80 7F E3 FB 78 */ mr r3, r31 +/* 802C6C24 002C3B84 7F C4 F3 78 */ mr r4, r30 +/* 802C6C28 002C3B88 4B FF FE 95 */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6C2C 002C3B8C 38 60 00 01 */ li r3, 1 +/* 802C6C30 002C3B90 48 00 00 14 */ b lbl_802C6C44 +lbl_802C6C34: +/* 802C6C34 002C3B94 3B DE FF FF */ addi r30, r30, -1 +lbl_802C6C38: +/* 802C6C38 002C3B98 2C 1E 00 00 */ cmpwi r30, 0 +/* 802C6C3C 002C3B9C 40 80 FF D0 */ bge lbl_802C6C0C +lbl_802C6C40: +/* 802C6C40 002C3BA0 38 60 00 00 */ li r3, 0 +lbl_802C6C44: +/* 802C6C44 002C3BA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6C48 002C3BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6C4C 002C3BAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6C50 002C3BB0 7C 08 03 A6 */ mtlr r0 +/* 802C6C54 002C3BB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6C58 002C3BB8 4E 80 00 20 */ blr + +.global DoDecrement__14CGuiTableGroupFv +DoDecrement__14CGuiTableGroupFv: +/* 802C6C5C 002C3BBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6C60 002C3BC0 7C 08 02 A6 */ mflr r0 +/* 802C6C64 002C3BC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6C68 002C3BC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6C6C 002C3BCC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6C70 002C3BD0 7C 7E 1B 78 */ mr r30, r3 +/* 802C6C74 002C3BD4 83 E3 00 C4 */ lwz r31, 0xc4(r3) +/* 802C6C78 002C3BD8 4B FF FE D9 */ bl PreDecrement__14CGuiTableGroupFv +/* 802C6C7C 002C3BDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6C80 002C3BE0 41 82 01 08 */ beq lbl_802C6D88 +/* 802C6C84 002C3BE4 38 00 00 02 */ li r0, 2 +/* 802C6C88 002C3BE8 38 60 00 00 */ li r3, 0 +/* 802C6C8C 002C3BEC 7C 09 03 A6 */ mtctr r0 +lbl_802C6C90: +/* 802C6C90 002C3BF0 38 03 01 0C */ addi r0, r3, 0x10c +/* 802C6C94 002C3BF4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6C98 002C3BF8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6C9C 002C3BFC 41 82 00 0C */ beq lbl_802C6CA8 +/* 802C6CA0 002C3C00 38 00 00 00 */ li r0, 0 +/* 802C6CA4 002C3C04 48 00 00 B8 */ b lbl_802C6D5C +lbl_802C6CA8: +/* 802C6CA8 002C3C08 38 03 01 0D */ addi r0, r3, 0x10d +/* 802C6CAC 002C3C0C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CB0 002C3C10 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CB4 002C3C14 41 82 00 0C */ beq lbl_802C6CC0 +/* 802C6CB8 002C3C18 38 00 00 00 */ li r0, 0 +/* 802C6CBC 002C3C1C 48 00 00 A0 */ b lbl_802C6D5C +lbl_802C6CC0: +/* 802C6CC0 002C3C20 38 03 01 0E */ addi r0, r3, 0x10e +/* 802C6CC4 002C3C24 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CC8 002C3C28 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CCC 002C3C2C 41 82 00 0C */ beq lbl_802C6CD8 +/* 802C6CD0 002C3C30 38 00 00 00 */ li r0, 0 +/* 802C6CD4 002C3C34 48 00 00 88 */ b lbl_802C6D5C +lbl_802C6CD8: +/* 802C6CD8 002C3C38 38 03 01 0F */ addi r0, r3, 0x10f +/* 802C6CDC 002C3C3C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CE0 002C3C40 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CE4 002C3C44 41 82 00 0C */ beq lbl_802C6CF0 +/* 802C6CE8 002C3C48 38 00 00 00 */ li r0, 0 +/* 802C6CEC 002C3C4C 48 00 00 70 */ b lbl_802C6D5C +lbl_802C6CF0: +/* 802C6CF0 002C3C50 38 03 01 10 */ addi r0, r3, 0x110 +/* 802C6CF4 002C3C54 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6CF8 002C3C58 7C 00 07 75 */ extsb. r0, r0 +/* 802C6CFC 002C3C5C 41 82 00 0C */ beq lbl_802C6D08 +/* 802C6D00 002C3C60 38 00 00 00 */ li r0, 0 +/* 802C6D04 002C3C64 48 00 00 58 */ b lbl_802C6D5C +lbl_802C6D08: +/* 802C6D08 002C3C68 38 03 01 11 */ addi r0, r3, 0x111 +/* 802C6D0C 002C3C6C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D10 002C3C70 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D14 002C3C74 41 82 00 0C */ beq lbl_802C6D20 +/* 802C6D18 002C3C78 38 00 00 00 */ li r0, 0 +/* 802C6D1C 002C3C7C 48 00 00 40 */ b lbl_802C6D5C +lbl_802C6D20: +/* 802C6D20 002C3C80 38 03 01 12 */ addi r0, r3, 0x112 +/* 802C6D24 002C3C84 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D28 002C3C88 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D2C 002C3C8C 41 82 00 0C */ beq lbl_802C6D38 +/* 802C6D30 002C3C90 38 00 00 00 */ li r0, 0 +/* 802C6D34 002C3C94 48 00 00 28 */ b lbl_802C6D5C +lbl_802C6D38: +/* 802C6D38 002C3C98 38 03 01 13 */ addi r0, r3, 0x113 +/* 802C6D3C 002C3C9C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6D40 002C3CA0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6D44 002C3CA4 41 82 00 0C */ beq lbl_802C6D50 +/* 802C6D48 002C3CA8 38 00 00 00 */ li r0, 0 +/* 802C6D4C 002C3CAC 48 00 00 10 */ b lbl_802C6D5C +lbl_802C6D50: +/* 802C6D50 002C3CB0 38 63 00 08 */ addi r3, r3, 8 +/* 802C6D54 002C3CB4 42 00 FF 3C */ bdnz lbl_802C6C90 +/* 802C6D58 002C3CB8 38 00 00 01 */ li r0, 1 +lbl_802C6D5C: +/* 802C6D5C 002C3CBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6D60 002C3CC0 40 82 00 20 */ bne lbl_802C6D80 +/* 802C6D64 002C3CC4 81 9E 01 04 */ lwz r12, 0x104(r30) +/* 802C6D68 002C3CC8 7F C5 F3 78 */ mr r5, r30 +/* 802C6D6C 002C3CCC 7F E6 FB 78 */ mr r6, r31 +/* 802C6D70 002C3CD0 38 9E 01 0C */ addi r4, r30, 0x10c +/* 802C6D74 002C3CD4 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 802C6D78 002C3CD8 7D 89 03 A6 */ mtctr r12 +/* 802C6D7C 002C3CDC 4E 80 04 21 */ bctrl +lbl_802C6D80: +/* 802C6D80 002C3CE0 38 60 00 01 */ li r3, 1 +/* 802C6D84 002C3CE4 48 00 00 08 */ b lbl_802C6D8C +lbl_802C6D88: +/* 802C6D88 002C3CE8 38 60 00 00 */ li r3, 0 +lbl_802C6D8C: +/* 802C6D8C 002C3CEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6D90 002C3CF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C6D94 002C3CF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C6D98 002C3CF8 7C 08 03 A6 */ mtlr r0 +/* 802C6D9C 002C3CFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6DA0 002C3D00 4E 80 00 20 */ blr + +.global PreIncrement__14CGuiTableGroupFv +PreIncrement__14CGuiTableGroupFv: +/* 802C6DA4 002C3D04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C6DA8 002C3D08 7C 08 02 A6 */ mflr r0 +/* 802C6DAC 002C3D0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C6DB0 002C3D10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C6DB4 002C3D14 7C 7F 1B 78 */ mr r31, r3 +/* 802C6DB8 002C3D18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C6DBC 002C3D1C 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 802C6DC0 002C3D20 28 00 00 00 */ cmplwi r0, 0 +/* 802C6DC4 002C3D24 41 82 00 6C */ beq lbl_802C6E30 +/* 802C6DC8 002C3D28 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C6DCC 002C3D2C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C6DD0 002C3D30 38 84 00 01 */ addi r4, r4, 1 +/* 802C6DD4 002C3D34 7C 04 1B D6 */ divw r0, r4, r3 +/* 802C6DD8 002C3D38 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802C6DDC 002C3D3C 7F C0 20 50 */ subf r30, r0, r4 +/* 802C6DE0 002C3D40 48 00 00 40 */ b lbl_802C6E20 +lbl_802C6DE4: +/* 802C6DE4 002C3D44 7F E3 FB 78 */ mr r3, r31 +/* 802C6DE8 002C3D48 7F C4 F3 78 */ mr r4, r30 +/* 802C6DEC 002C3D4C 48 00 00 C5 */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6DF0 002C3D50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6DF4 002C3D54 41 82 00 18 */ beq lbl_802C6E0C +/* 802C6DF8 002C3D58 7F E3 FB 78 */ mr r3, r31 +/* 802C6DFC 002C3D5C 7F C4 F3 78 */ mr r4, r30 +/* 802C6E00 002C3D60 4B FF FC BD */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6E04 002C3D64 38 60 00 01 */ li r3, 1 +/* 802C6E08 002C3D68 48 00 00 90 */ b lbl_802C6E98 +lbl_802C6E0C: +/* 802C6E0C 002C3D6C 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 802C6E10 002C3D70 38 9E 00 01 */ addi r4, r30, 1 +/* 802C6E14 002C3D74 7C 04 1B D6 */ divw r0, r4, r3 +/* 802C6E18 002C3D78 7C 00 19 D6 */ mullw r0, r0, r3 +/* 802C6E1C 002C3D7C 7F C0 20 50 */ subf r30, r0, r4 +lbl_802C6E20: +/* 802C6E20 002C3D80 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 802C6E24 002C3D84 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6E28 002C3D88 40 82 FF BC */ bne lbl_802C6DE4 +/* 802C6E2C 002C3D8C 48 00 00 68 */ b lbl_802C6E94 +lbl_802C6E30: +/* 802C6E30 002C3D90 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802C6E34 002C3D94 38 63 00 01 */ addi r3, r3, 1 +/* 802C6E38 002C3D98 90 61 00 08 */ stw r3, 8(r1) +/* 802C6E3C 002C3D9C 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 802C6E40 002C3DA0 7C 00 18 00 */ cmpw r0, r3 +/* 802C6E44 002C3DA4 40 80 00 0C */ bge lbl_802C6E50 +/* 802C6E48 002C3DA8 38 7F 00 C0 */ addi r3, r31, 0xc0 +/* 802C6E4C 002C3DAC 48 00 00 08 */ b lbl_802C6E54 +lbl_802C6E50: +/* 802C6E50 002C3DB0 38 61 00 08 */ addi r3, r1, 8 +lbl_802C6E54: +/* 802C6E54 002C3DB4 83 C3 00 00 */ lwz r30, 0(r3) +/* 802C6E58 002C3DB8 48 00 00 30 */ b lbl_802C6E88 +lbl_802C6E5C: +/* 802C6E5C 002C3DBC 7F E3 FB 78 */ mr r3, r31 +/* 802C6E60 002C3DC0 7F C4 F3 78 */ mr r4, r30 +/* 802C6E64 002C3DC4 48 00 00 4D */ bl IsWorkerSelectable__14CGuiTableGroupFi +/* 802C6E68 002C3DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6E6C 002C3DCC 41 82 00 18 */ beq lbl_802C6E84 +/* 802C6E70 002C3DD0 7F E3 FB 78 */ mr r3, r31 +/* 802C6E74 002C3DD4 7F C4 F3 78 */ mr r4, r30 +/* 802C6E78 002C3DD8 4B FF FC 45 */ bl SelectWorker__14CGuiTableGroupFi +/* 802C6E7C 002C3DDC 38 60 00 01 */ li r3, 1 +/* 802C6E80 002C3DE0 48 00 00 18 */ b lbl_802C6E98 +lbl_802C6E84: +/* 802C6E84 002C3DE4 3B DE 00 01 */ addi r30, r30, 1 +lbl_802C6E88: +/* 802C6E88 002C3DE8 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 802C6E8C 002C3DEC 7C 1E 00 00 */ cmpw r30, r0 +/* 802C6E90 002C3DF0 41 80 FF CC */ blt lbl_802C6E5C +lbl_802C6E94: +/* 802C6E94 002C3DF4 38 60 00 00 */ li r3, 0 +lbl_802C6E98: +/* 802C6E98 002C3DF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C6E9C 002C3DFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C6EA0 002C3E00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C6EA4 002C3E04 7C 08 03 A6 */ mtlr r0 +/* 802C6EA8 002C3E08 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C6EAC 002C3E0C 4E 80 00 20 */ blr + +.global IsWorkerSelectable__14CGuiTableGroupFi +IsWorkerSelectable__14CGuiTableGroupFi: +/* 802C6EB0 002C3E10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6EB4 002C3E14 7C 08 02 A6 */ mflr r0 +/* 802C6EB8 002C3E18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6EBC 002C3E1C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C6EC0 002C3E20 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C6EC4 002C3E24 7D 89 03 A6 */ mtctr r12 +/* 802C6EC8 002C3E28 4E 80 04 21 */ bctrl +/* 802C6ECC 002C3E2C 28 03 00 00 */ cmplwi r3, 0 +/* 802C6ED0 002C3E30 41 82 00 10 */ beq lbl_802C6EE0 +/* 802C6ED4 002C3E34 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 802C6ED8 002C3E38 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802C6EDC 002C3E3C 48 00 00 08 */ b lbl_802C6EE4 +lbl_802C6EE0: +/* 802C6EE0 002C3E40 38 60 00 00 */ li r3, 0 +lbl_802C6EE4: +/* 802C6EE4 002C3E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C6EE8 002C3E48 7C 08 03 A6 */ mtlr r0 +/* 802C6EEC 002C3E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C6EF0 002C3E50 4E 80 00 20 */ blr + +.global DoIncrement__14CGuiTableGroupFv +DoIncrement__14CGuiTableGroupFv: +/* 802C6EF4 002C3E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C6EF8 002C3E58 7C 08 02 A6 */ mflr r0 +/* 802C6EFC 002C3E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C6F00 002C3E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C6F04 002C3E64 93 C1 00 08 */ stw r30, 8(r1) +/* 802C6F08 002C3E68 7C 7E 1B 78 */ mr r30, r3 +/* 802C6F0C 002C3E6C 83 E3 00 C4 */ lwz r31, 0xc4(r3) +/* 802C6F10 002C3E70 4B FF FE 95 */ bl PreIncrement__14CGuiTableGroupFv +/* 802C6F14 002C3E74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C6F18 002C3E78 41 82 01 08 */ beq lbl_802C7020 +/* 802C6F1C 002C3E7C 38 00 00 02 */ li r0, 2 +/* 802C6F20 002C3E80 38 60 00 00 */ li r3, 0 +/* 802C6F24 002C3E84 7C 09 03 A6 */ mtctr r0 +lbl_802C6F28: +/* 802C6F28 002C3E88 38 03 01 0C */ addi r0, r3, 0x10c +/* 802C6F2C 002C3E8C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F30 002C3E90 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F34 002C3E94 41 82 00 0C */ beq lbl_802C6F40 +/* 802C6F38 002C3E98 38 00 00 00 */ li r0, 0 +/* 802C6F3C 002C3E9C 48 00 00 B8 */ b lbl_802C6FF4 +lbl_802C6F40: +/* 802C6F40 002C3EA0 38 03 01 0D */ addi r0, r3, 0x10d +/* 802C6F44 002C3EA4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F48 002C3EA8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F4C 002C3EAC 41 82 00 0C */ beq lbl_802C6F58 +/* 802C6F50 002C3EB0 38 00 00 00 */ li r0, 0 +/* 802C6F54 002C3EB4 48 00 00 A0 */ b lbl_802C6FF4 +lbl_802C6F58: +/* 802C6F58 002C3EB8 38 03 01 0E */ addi r0, r3, 0x10e +/* 802C6F5C 002C3EBC 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F60 002C3EC0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F64 002C3EC4 41 82 00 0C */ beq lbl_802C6F70 +/* 802C6F68 002C3EC8 38 00 00 00 */ li r0, 0 +/* 802C6F6C 002C3ECC 48 00 00 88 */ b lbl_802C6FF4 +lbl_802C6F70: +/* 802C6F70 002C3ED0 38 03 01 0F */ addi r0, r3, 0x10f +/* 802C6F74 002C3ED4 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F78 002C3ED8 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F7C 002C3EDC 41 82 00 0C */ beq lbl_802C6F88 +/* 802C6F80 002C3EE0 38 00 00 00 */ li r0, 0 +/* 802C6F84 002C3EE4 48 00 00 70 */ b lbl_802C6FF4 +lbl_802C6F88: +/* 802C6F88 002C3EE8 38 03 01 10 */ addi r0, r3, 0x110 +/* 802C6F8C 002C3EEC 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6F90 002C3EF0 7C 00 07 75 */ extsb. r0, r0 +/* 802C6F94 002C3EF4 41 82 00 0C */ beq lbl_802C6FA0 +/* 802C6F98 002C3EF8 38 00 00 00 */ li r0, 0 +/* 802C6F9C 002C3EFC 48 00 00 58 */ b lbl_802C6FF4 +lbl_802C6FA0: +/* 802C6FA0 002C3F00 38 03 01 11 */ addi r0, r3, 0x111 +/* 802C6FA4 002C3F04 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FA8 002C3F08 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FAC 002C3F0C 41 82 00 0C */ beq lbl_802C6FB8 +/* 802C6FB0 002C3F10 38 00 00 00 */ li r0, 0 +/* 802C6FB4 002C3F14 48 00 00 40 */ b lbl_802C6FF4 +lbl_802C6FB8: +/* 802C6FB8 002C3F18 38 03 01 12 */ addi r0, r3, 0x112 +/* 802C6FBC 002C3F1C 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FC0 002C3F20 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FC4 002C3F24 41 82 00 0C */ beq lbl_802C6FD0 +/* 802C6FC8 002C3F28 38 00 00 00 */ li r0, 0 +/* 802C6FCC 002C3F2C 48 00 00 28 */ b lbl_802C6FF4 +lbl_802C6FD0: +/* 802C6FD0 002C3F30 38 03 01 13 */ addi r0, r3, 0x113 +/* 802C6FD4 002C3F34 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 802C6FD8 002C3F38 7C 00 07 75 */ extsb. r0, r0 +/* 802C6FDC 002C3F3C 41 82 00 0C */ beq lbl_802C6FE8 +/* 802C6FE0 002C3F40 38 00 00 00 */ li r0, 0 +/* 802C6FE4 002C3F44 48 00 00 10 */ b lbl_802C6FF4 +lbl_802C6FE8: +/* 802C6FE8 002C3F48 38 63 00 08 */ addi r3, r3, 8 +/* 802C6FEC 002C3F4C 42 00 FF 3C */ bdnz lbl_802C6F28 +/* 802C6FF0 002C3F50 38 00 00 01 */ li r0, 1 +lbl_802C6FF4: +/* 802C6FF4 002C3F54 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C6FF8 002C3F58 40 82 00 20 */ bne lbl_802C7018 +/* 802C6FFC 002C3F5C 81 9E 01 04 */ lwz r12, 0x104(r30) +/* 802C7000 002C3F60 7F C5 F3 78 */ mr r5, r30 +/* 802C7004 002C3F64 7F E6 FB 78 */ mr r6, r31 +/* 802C7008 002C3F68 38 9E 01 0C */ addi r4, r30, 0x10c +/* 802C700C 002C3F6C 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 802C7010 002C3F70 7D 89 03 A6 */ mtctr r12 +/* 802C7014 002C3F74 4E 80 04 21 */ bctrl +lbl_802C7018: +/* 802C7018 002C3F78 38 60 00 01 */ li r3, 1 +/* 802C701C 002C3F7C 48 00 00 08 */ b lbl_802C7024 +lbl_802C7020: +/* 802C7020 002C3F80 38 60 00 00 */ li r3, 0 +lbl_802C7024: +/* 802C7024 002C3F84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7028 002C3F88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C702C 002C3F8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C7030 002C3F90 7C 08 03 A6 */ mtlr r0 +/* 802C7034 002C3F94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7038 002C3F98 4E 80 00 20 */ blr + +.global DoSelectPrevRow__14CGuiTableGroupFv +DoSelectPrevRow__14CGuiTableGroupFv: +/* 802C703C 002C3F9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7040 002C3FA0 7C 08 02 A6 */ mflr r0 +/* 802C7044 002C3FA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7048 002C3FA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C704C 002C3FAC 7C 7F 1B 78 */ mr r31, r3 +/* 802C7050 002C3FB0 4B FF F6 25 */ bl DecrementSelectedRow__14CGuiTableGroupFv +/* 802C7054 002C3FB4 7F E3 FB 78 */ mr r3, r31 +/* 802C7058 002C3FB8 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802C705C 002C3FBC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7060 002C3FC0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7064 002C3FC4 7D 89 03 A6 */ mtctr r12 +/* 802C7068 002C3FC8 4E 80 04 21 */ bctrl +/* 802C706C 002C3FCC 7C 64 1B 78 */ mr r4, r3 +/* 802C7070 002C3FD0 7F E3 FB 78 */ mr r3, r31 +/* 802C7074 002C3FD4 4B FF F6 BD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7078 002C3FD8 7F E3 FB 78 */ mr r3, r31 +/* 802C707C 002C3FDC 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C7080 002C3FE0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7084 002C3FE4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7088 002C3FE8 7D 89 03 A6 */ mtctr r12 +/* 802C708C 002C3FEC 4E 80 04 21 */ bctrl +/* 802C7090 002C3FF0 7C 64 1B 78 */ mr r4, r3 +/* 802C7094 002C3FF4 7F E3 FB 78 */ mr r3, r31 +/* 802C7098 002C3FF8 4B FF F6 C1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C709C 002C3FFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C70A0 002C4000 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C70A4 002C4004 7C 08 03 A6 */ mtlr r0 +/* 802C70A8 002C4008 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C70AC 002C400C 4E 80 00 20 */ blr + +.global DoSelectNextRow__14CGuiTableGroupFv +DoSelectNextRow__14CGuiTableGroupFv: +/* 802C70B0 002C4010 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C70B4 002C4014 7C 08 02 A6 */ mflr r0 +/* 802C70B8 002C4018 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C70BC 002C401C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C70C0 002C4020 7C 7F 1B 78 */ mr r31, r3 +/* 802C70C4 002C4024 4B FF F6 0D */ bl IncrementSelectedRow__14CGuiTableGroupFv +/* 802C70C8 002C4028 7F E3 FB 78 */ mr r3, r31 +/* 802C70CC 002C402C 80 9F 00 C8 */ lwz r4, 0xc8(r31) +/* 802C70D0 002C4030 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C70D4 002C4034 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C70D8 002C4038 7D 89 03 A6 */ mtctr r12 +/* 802C70DC 002C403C 4E 80 04 21 */ bctrl +/* 802C70E0 002C4040 7C 64 1B 78 */ mr r4, r3 +/* 802C70E4 002C4044 7F E3 FB 78 */ mr r3, r31 +/* 802C70E8 002C4048 4B FF F6 49 */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C70EC 002C404C 7F E3 FB 78 */ mr r3, r31 +/* 802C70F0 002C4050 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C70F4 002C4054 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C70F8 002C4058 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C70FC 002C405C 7D 89 03 A6 */ mtctr r12 +/* 802C7100 002C4060 4E 80 04 21 */ bctrl +/* 802C7104 002C4064 7C 64 1B 78 */ mr r4, r3 +/* 802C7108 002C4068 7F E3 FB 78 */ mr r3, r31 +/* 802C710C 002C406C 4B FF F6 4D */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7110 002C4070 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7114 002C4074 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7118 002C4078 7C 08 03 A6 */ mtlr r0 +/* 802C711C 002C407C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7120 002C4080 4E 80 00 20 */ blr + +.global sub_802c7124 +sub_802c7124: +/* 802C7124 002C4084 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7128 002C4088 7C 08 02 A6 */ mflr r0 +/* 802C712C 002C408C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7130 002C4090 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7134 002C4094 7C 7F 1B 78 */ mr r31, r3 +/* 802C7138 002C4098 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802C713C 002C409C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802C7140 002C40A0 80 03 00 CC */ lwz r0, 0xcc(r3) +/* 802C7144 002C40A4 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 802C7148 002C40A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802C714C 002C40AC 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 802C7150 002C40B0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7154 002C40B4 7D 89 03 A6 */ mtctr r12 +/* 802C7158 002C40B8 4E 80 04 21 */ bctrl +/* 802C715C 002C40BC 7C 64 1B 78 */ mr r4, r3 +/* 802C7160 002C40C0 7F E3 FB 78 */ mr r3, r31 +/* 802C7164 002C40C4 4B FF F5 CD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C7168 002C40C8 7F E3 FB 78 */ mr r3, r31 +/* 802C716C 002C40CC 80 9F 00 C4 */ lwz r4, 0xc4(r31) +/* 802C7170 002C40D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7174 002C40D4 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 802C7178 002C40D8 7D 89 03 A6 */ mtctr r12 +/* 802C717C 002C40DC 4E 80 04 21 */ bctrl +/* 802C7180 002C40E0 7C 64 1B 78 */ mr r4, r3 +/* 802C7184 002C40E4 7F E3 FB 78 */ mr r3, r31 +/* 802C7188 002C40E8 4B FF F5 D1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget +/* 802C718C 002C40EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7190 002C40F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7194 002C40F4 7C 08 03 A6 */ mtlr r0 +/* 802C7198 002C40F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C719C 002C40FC 4E 80 00 20 */ blr + +.global __dt__14CGuiTableGroupCFv +__dt__14CGuiTableGroupCFv: +/* 802C71A0 002C4100 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C71A4 002C4104 7C 08 02 A6 */ mflr r0 +/* 802C71A8 002C4108 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C71AC 002C410C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C71B0 002C4110 7C 9F 23 78 */ mr r31, r4 +/* 802C71B4 002C4114 93 C1 00 08 */ stw r30, 8(r1) +/* 802C71B8 002C4118 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C71BC 002C411C 41 82 00 28 */ beq lbl_802C71E4 +/* 802C71C0 002C4120 3C A0 80 3F */ lis r5, lbl_803EC970@ha +/* 802C71C4 002C4124 38 80 00 00 */ li r4, 0 +/* 802C71C8 002C4128 38 05 C9 70 */ addi r0, r5, lbl_803EC970@l +/* 802C71CC 002C412C 90 1E 00 00 */ stw r0, 0(r30) +/* 802C71D0 002C4130 4B FF A9 61 */ bl __dt__18CGuiCompoundWidgetFv +/* 802C71D4 002C4134 7F E0 07 35 */ extsh. r0, r31 +/* 802C71D8 002C4138 40 81 00 0C */ ble lbl_802C71E4 +/* 802C71DC 002C413C 7F C3 F3 78 */ mr r3, r30 +/* 802C71E0 002C4140 48 04 E7 51 */ bl Free__7CMemoryFPCv +lbl_802C71E4: +/* 802C71E4 002C4144 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C71E8 002C4148 7F C3 F3 78 */ mr r3, r30 +/* 802C71EC 002C414C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C71F0 002C4150 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C71F4 002C4154 7C 08 03 A6 */ mtlr r0 +/* 802C71F8 002C4158 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C71FC 002C415C 4E 80 00 20 */ blr + +.global __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox +__ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox: +/* 802C7200 002C4160 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7204 002C4164 7C 08 02 A6 */ mflr r0 +/* 802C7208 002C4168 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C720C 002C416C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7210 002C4170 7C FF 3B 78 */ mr r31, r7 +/* 802C7214 002C4174 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C7218 002C4178 7C DE 33 78 */ mr r30, r6 +/* 802C721C 002C417C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C7220 002C4180 7C BD 2B 78 */ mr r29, r5 +/* 802C7224 002C4184 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C7228 002C4188 7C 7C 1B 78 */ mr r28, r3 +/* 802C722C 002C418C 4B FF A9 65 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802C7230 002C4190 3C 80 80 3F */ lis r4, lbl_803EC970@ha +/* 802C7234 002C4194 38 7C 00 B8 */ addi r3, r28, 0xb8 +/* 802C7238 002C4198 38 04 C9 70 */ addi r0, r4, lbl_803EC970@l +/* 802C723C 002C419C 90 1C 00 00 */ stw r0, 0(r28) +/* 802C7240 002C41A0 48 00 62 7D */ bl sub_802cd4bc +/* 802C7244 002C41A4 38 7C 00 BC */ addi r3, r28, 0xbc +/* 802C7248 002C41A8 48 00 62 75 */ bl sub_802cd4bc +/* 802C724C 002C41AC 93 BC 00 C0 */ stw r29, 0xc0(r28) +/* 802C7250 002C41B0 38 C0 00 01 */ li r6, 1 +/* 802C7254 002C41B4 38 00 00 00 */ li r0, 0 +/* 802C7258 002C41B8 38 7C 00 DC */ addi r3, r28, 0xdc +/* 802C725C 002C41BC 93 DC 00 C4 */ stw r30, 0xc4(r28) +/* 802C7260 002C41C0 38 80 00 00 */ li r4, 0 +/* 802C7264 002C41C4 38 A0 00 10 */ li r5, 0x10 +/* 802C7268 002C41C8 93 DC 00 C8 */ stw r30, 0xc8(r28) +/* 802C726C 002C41CC 93 DC 00 CC */ stw r30, 0xcc(r28) +/* 802C7270 002C41D0 9B FC 00 D0 */ stb r31, 0xd0(r28) +/* 802C7274 002C41D4 98 DC 00 D1 */ stb r6, 0xd1(r28) +/* 802C7278 002C41D8 90 1C 00 D4 */ stw r0, 0xd4(r28) +/* 802C727C 002C41DC 90 1C 00 D8 */ stw r0, 0xd8(r28) +/* 802C7280 002C41E0 4B D3 C1 29 */ bl memset +/* 802C7284 002C41E4 38 00 00 00 */ li r0, 0 +/* 802C7288 002C41E8 38 7C 00 F4 */ addi r3, r28, 0xf4 +/* 802C728C 002C41EC 90 1C 00 EC */ stw r0, 0xec(r28) +/* 802C7290 002C41F0 38 80 00 00 */ li r4, 0 +/* 802C7294 002C41F4 38 A0 00 10 */ li r5, 0x10 +/* 802C7298 002C41F8 90 1C 00 F0 */ stw r0, 0xf0(r28) +/* 802C729C 002C41FC 4B D3 C1 0D */ bl memset +/* 802C72A0 002C4200 38 00 00 00 */ li r0, 0 +/* 802C72A4 002C4204 38 7C 01 0C */ addi r3, r28, 0x10c +/* 802C72A8 002C4208 90 1C 01 04 */ stw r0, 0x104(r28) +/* 802C72AC 002C420C 38 80 00 00 */ li r4, 0 +/* 802C72B0 002C4210 38 A0 00 10 */ li r5, 0x10 +/* 802C72B4 002C4214 90 1C 01 08 */ stw r0, 0x108(r28) +/* 802C72B8 002C4218 4B D3 C0 F1 */ bl memset +/* 802C72BC 002C421C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C72C0 002C4220 7F 83 E3 78 */ mr r3, r28 +/* 802C72C4 002C4224 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C72C8 002C4228 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C72CC 002C422C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C72D0 002C4230 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C72D4 002C4234 7C 08 03 A6 */ mtlr r0 +/* 802C72D8 002C4238 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C72DC 002C423C 4E 80 00 20 */ blr + +.global Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb +Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb: +/* 802C72E0 002C4240 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C72E4 002C4244 7C 08 02 A6 */ mflr r0 +/* 802C72E8 002C4248 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C72EC 002C424C BF 41 00 38 */ stmw r26, 0x38(r1) +/* 802C72F0 002C4250 7C 7E 1B 78 */ mr r30, r3 +/* 802C72F4 002C4254 7C 9F 23 78 */ mr r31, r4 +/* 802C72F8 002C4258 38 61 00 08 */ addi r3, r1, 8 +/* 802C72FC 002C425C 7F C4 F3 78 */ mr r4, r30 +/* 802C7300 002C4260 7F E5 FB 78 */ mr r5, r31 +/* 802C7304 002C4264 48 00 3A 4D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C7308 002C4268 83 A1 00 08 */ lwz r29, 8(r1) +/* 802C730C 002C426C 7F E3 FB 78 */ mr r3, r31 +/* 802C7310 002C4270 89 81 00 0C */ lbz r12, 0xc(r1) +/* 802C7314 002C4274 A9 61 00 0E */ lha r11, 0xe(r1) +/* 802C7318 002C4278 A9 41 00 10 */ lha r10, 0x10(r1) +/* 802C731C 002C427C 89 21 00 12 */ lbz r9, 0x12(r1) +/* 802C7320 002C4280 89 01 00 13 */ lbz r8, 0x13(r1) +/* 802C7324 002C4284 88 E1 00 14 */ lbz r7, 0x14(r1) +/* 802C7328 002C4288 88 C1 00 15 */ lbz r6, 0x15(r1) +/* 802C732C 002C428C 88 A1 00 16 */ lbz r5, 0x16(r1) +/* 802C7330 002C4290 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C7334 002C4294 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802C7338 002C4298 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C733C 002C429C 99 81 00 24 */ stb r12, 0x24(r1) +/* 802C7340 002C42A0 B1 61 00 26 */ sth r11, 0x26(r1) +/* 802C7344 002C42A4 B1 41 00 28 */ sth r10, 0x28(r1) +/* 802C7348 002C42A8 99 21 00 2A */ stb r9, 0x2a(r1) +/* 802C734C 002C42AC 99 01 00 2B */ stb r8, 0x2b(r1) +/* 802C7350 002C42B0 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 802C7354 002C42B4 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 802C7358 002C42B8 98 A1 00 2E */ stb r5, 0x2e(r1) +/* 802C735C 002C42BC 90 81 00 30 */ stw r4, 0x30(r1) +/* 802C7360 002C42C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C7364 002C42C4 48 07 79 4D */ bl ReadShort__12CInputStreamFv +/* 802C7368 002C42C8 7C 60 07 34 */ extsh r0, r3 +/* 802C736C 002C42CC 7F E3 FB 78 */ mr r3, r31 +/* 802C7370 002C42D0 7C 1C 03 78 */ mr r28, r0 +/* 802C7374 002C42D4 48 07 79 3D */ bl ReadShort__12CInputStreamFv +/* 802C7378 002C42D8 7F E3 FB 78 */ mr r3, r31 +/* 802C737C 002C42DC 48 07 79 09 */ bl ReadLong__12CInputStreamFv +/* 802C7380 002C42E0 7F E3 FB 78 */ mr r3, r31 +/* 802C7384 002C42E4 48 07 79 2D */ bl ReadShort__12CInputStreamFv +/* 802C7388 002C42E8 7C 60 07 34 */ extsh r0, r3 +/* 802C738C 002C42EC 7F E3 FB 78 */ mr r3, r31 +/* 802C7390 002C42F0 7C 1B 03 78 */ mr r27, r0 +/* 802C7394 002C42F4 48 07 79 1D */ bl ReadShort__12CInputStreamFv +/* 802C7398 002C42F8 7F E3 FB 78 */ mr r3, r31 +/* 802C739C 002C42FC 48 07 79 41 */ bl ReadBool__12CInputStreamFv +/* 802C73A0 002C4300 7C 60 1B 78 */ mr r0, r3 +/* 802C73A4 002C4304 7F E3 FB 78 */ mr r3, r31 +/* 802C73A8 002C4308 7C 1A 03 78 */ mr r26, r0 +/* 802C73AC 002C430C 48 07 79 31 */ bl ReadBool__12CInputStreamFv +/* 802C73B0 002C4310 7F E3 FB 78 */ mr r3, r31 +/* 802C73B4 002C4314 48 07 78 75 */ bl ReadFloat__12CInputStreamFv +/* 802C73B8 002C4318 7F E3 FB 78 */ mr r3, r31 +/* 802C73BC 002C431C 48 07 78 6D */ bl ReadFloat__12CInputStreamFv +/* 802C73C0 002C4320 7F E3 FB 78 */ mr r3, r31 +/* 802C73C4 002C4324 48 07 79 19 */ bl ReadBool__12CInputStreamFv +/* 802C73C8 002C4328 7F E3 FB 78 */ mr r3, r31 +/* 802C73CC 002C432C 48 07 78 5D */ bl ReadFloat__12CInputStreamFv +/* 802C73D0 002C4330 7F E3 FB 78 */ mr r3, r31 +/* 802C73D4 002C4334 48 07 78 DD */ bl ReadShort__12CInputStreamFv +/* 802C73D8 002C4338 7F E3 FB 78 */ mr r3, r31 +/* 802C73DC 002C433C 48 07 78 D5 */ bl ReadShort__12CInputStreamFv +/* 802C73E0 002C4340 7F E3 FB 78 */ mr r3, r31 +/* 802C73E4 002C4344 48 07 78 CD */ bl ReadShort__12CInputStreamFv +/* 802C73E8 002C4348 7F E3 FB 78 */ mr r3, r31 +/* 802C73EC 002C434C 48 07 78 C5 */ bl ReadShort__12CInputStreamFv +/* 802C73F0 002C4350 3C 80 80 3D */ lis r4, lbl_803D68D0@ha +/* 802C73F4 002C4354 38 60 01 1C */ li r3, 0x11c +/* 802C73F8 002C4358 38 84 68 D0 */ addi r4, r4, lbl_803D68D0@l +/* 802C73FC 002C435C 38 A0 00 00 */ li r5, 0 +/* 802C7400 002C4360 48 04 E4 6D */ bl __nw__FUlPCcPCc +/* 802C7404 002C4364 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C7408 002C4368 41 82 00 1C */ beq lbl_802C7424 +/* 802C740C 002C436C 7F 85 E3 78 */ mr r5, r28 +/* 802C7410 002C4370 7F 66 DB 78 */ mr r6, r27 +/* 802C7414 002C4374 7F 47 D3 78 */ mr r7, r26 +/* 802C7418 002C4378 38 81 00 20 */ addi r4, r1, 0x20 +/* 802C741C 002C437C 4B FF FD E5 */ bl __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox +/* 802C7420 002C4380 7C 7D 1B 78 */ mr r29, r3 +lbl_802C7424: +/* 802C7424 002C4384 7F A3 EB 78 */ mr r3, r29 +/* 802C7428 002C4388 7F C4 F3 78 */ mr r4, r30 +/* 802C742C 002C438C 7F E5 FB 78 */ mr r5, r31 +/* 802C7430 002C4390 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802C7434 002C4394 48 00 36 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C7438 002C4398 7F A3 EB 78 */ mr r3, r29 +/* 802C743C 002C439C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 802C7440 002C43A0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C7444 002C43A4 7C 08 03 A6 */ mtlr r0 +/* 802C7448 002C43A8 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C744C 002C43AC 4E 80 00 20 */ blr + +.global ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput +ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput: +/* 802C7450 002C43B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7454 002C43B4 7C 08 02 A6 */ mflr r0 +/* 802C7458 002C43B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C745C 002C43BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7460 002C43C0 7C 9F 23 78 */ mr r31, r4 +/* 802C7464 002C43C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C7468 002C43C8 7C 7E 1B 78 */ mr r30, r3 +/* 802C746C 002C43CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C7470 002C43D0 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C7474 002C43D4 88 84 00 2D */ lbz r4, 0x2d(r4) +/* 802C7478 002C43D8 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 802C747C 002C43DC 41 82 00 0C */ beq lbl_802C7488 +/* 802C7480 002C43E0 4B FF F5 25 */ bl DoAdvance__14CGuiTableGroupFv +/* 802C7484 002C43E4 48 00 01 20 */ b lbl_802C75A4 +lbl_802C7488: +/* 802C7488 002C43E8 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f +/* 802C748C 002C43EC 41 82 00 0C */ beq lbl_802C7498 +/* 802C7490 002C43F0 4B FF F3 FD */ bl DoCancel__14CGuiTableGroupFv +/* 802C7494 002C43F4 48 00 01 10 */ b lbl_802C75A4 +lbl_802C7498: +/* 802C7498 002C43F8 88 7E 00 D1 */ lbz r3, 0xd1(r30) +/* 802C749C 002C43FC 28 03 00 00 */ cmplwi r3, 0 +/* 802C74A0 002C4400 41 82 00 2C */ beq lbl_802C74CC +/* 802C74A4 002C4404 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74A8 002C4408 3B A0 00 01 */ li r29, 1 +/* 802C74AC 002C440C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802C74B0 002C4410 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C74B4 002C4414 41 80 00 3C */ blt lbl_802C74F0 +/* 802C74B8 002C4418 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 802C74BC 002C441C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802C74C0 002C4420 40 82 00 30 */ bne lbl_802C74F0 +/* 802C74C4 002C4424 3B A0 00 00 */ li r29, 0 +/* 802C74C8 002C4428 48 00 00 28 */ b lbl_802C74F0 +lbl_802C74CC: +/* 802C74CC 002C442C C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74D0 002C4430 3B A0 00 01 */ li r29, 1 +/* 802C74D4 002C4434 C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C74D8 002C4438 FC 20 08 50 */ fneg f1, f1 +/* 802C74DC 002C443C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C74E0 002C4440 41 81 00 10 */ bgt lbl_802C74F0 +/* 802C74E4 002C4444 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 802C74E8 002C4448 40 82 00 08 */ bne lbl_802C74F0 +/* 802C74EC 002C444C 3B A0 00 00 */ li r29, 0 +lbl_802C74F0: +/* 802C74F0 002C4450 28 03 00 00 */ cmplwi r3, 0 +/* 802C74F4 002C4454 41 82 00 30 */ beq lbl_802C7524 +/* 802C74F8 002C4458 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C74FC 002C445C 3B 80 00 01 */ li r28, 1 +/* 802C7500 002C4460 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802C7504 002C4464 FC 20 08 50 */ fneg f1, f1 +/* 802C7508 002C4468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C750C 002C446C 41 81 00 3C */ bgt lbl_802C7548 +/* 802C7510 002C4470 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 802C7514 002C4474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802C7518 002C4478 40 82 00 30 */ bne lbl_802C7548 +/* 802C751C 002C447C 3B 80 00 00 */ li r28, 0 +/* 802C7520 002C4480 48 00 00 28 */ b lbl_802C7548 +lbl_802C7524: +/* 802C7524 002C4484 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) +/* 802C7528 002C4488 3B 80 00 01 */ li r28, 1 +/* 802C752C 002C448C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802C7530 002C4490 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C7534 002C4494 41 80 00 14 */ blt lbl_802C7548 +/* 802C7538 002C4498 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 802C753C 002C449C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802C7540 002C44A0 40 82 00 08 */ bne lbl_802C7548 +/* 802C7544 002C44A4 3B 80 00 00 */ li r28, 0 +lbl_802C7548: +/* 802C7548 002C44A8 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802C754C 002C44AC 7F A4 EB 78 */ mr r4, r29 +/* 802C7550 002C44B0 38 7E 00 B8 */ addi r3, r30, 0xb8 +/* 802C7554 002C44B4 48 00 5F 01 */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb +/* 802C7558 002C44B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C755C 002C44BC 41 82 00 18 */ beq lbl_802C7574 +/* 802C7560 002C44C0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802C7564 002C44C4 41 82 00 10 */ beq lbl_802C7574 +/* 802C7568 002C44C8 7F C3 F3 78 */ mr r3, r30 +/* 802C756C 002C44CC 4B FF F6 F1 */ bl DoDecrement__14CGuiTableGroupFv +/* 802C7570 002C44D0 48 00 00 34 */ b lbl_802C75A4 +lbl_802C7574: +/* 802C7574 002C44D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802C7578 002C44D8 40 82 00 2C */ bne lbl_802C75A4 +/* 802C757C 002C44DC C0 3F 00 00 */ lfs f1, 0(r31) +/* 802C7580 002C44E0 7F 84 E3 78 */ mr r4, r28 +/* 802C7584 002C44E4 38 7E 00 BC */ addi r3, r30, 0xbc +/* 802C7588 002C44E8 48 00 5E CD */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb +/* 802C758C 002C44EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C7590 002C44F0 41 82 00 14 */ beq lbl_802C75A4 +/* 802C7594 002C44F4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802C7598 002C44F8 41 82 00 0C */ beq lbl_802C75A4 +/* 802C759C 002C44FC 7F C3 F3 78 */ mr r3, r30 +/* 802C75A0 002C4500 4B FF F9 55 */ bl DoIncrement__14CGuiTableGroupFv +lbl_802C75A4: +/* 802C75A4 002C4504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C75A8 002C4508 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C75AC 002C450C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C75B0 002C4510 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C75B4 002C4514 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C75B8 002C4518 7C 08 03 A6 */ mtlr r0 +/* 802C75BC 002C451C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C75C0 002C4520 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiTextPane.s b/asm/GuiSys/CGuiTextPane.s new file mode 100644 index 00000000..3da5f558 --- /dev/null +++ b/asm/GuiSys/CGuiTextPane.s @@ -0,0 +1,511 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetWidgetTypeID__12CGuiTextPaneCFv +GetWidgetTypeID__12CGuiTextPaneCFv: +/* 802C75C4 002C4524 3C 60 54 58 */ lis r3, 0x5458504E@ha +/* 802C75C8 002C4528 38 63 50 4E */ addi r3, r3, 0x5458504E@l +/* 802C75CC 002C452C 4E 80 00 20 */ blr + +.global Update__12CGuiTextPaneFf +Update__12CGuiTextPaneFf: +/* 802C75D0 002C4530 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C75D4 002C4534 7C 08 02 A6 */ mflr r0 +/* 802C75D8 002C4538 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C75DC 002C453C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802C75E0 002C4540 FF E0 08 90 */ fmr f31, f1 +/* 802C75E4 002C4544 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C75E8 002C4548 7C 7F 1B 78 */ mr r31, r3 +/* 802C75EC 002C454C 48 00 33 E9 */ bl Update__10CGuiWidgetFf +/* 802C75F0 002C4550 FC 20 F8 90 */ fmr f1, f31 +/* 802C75F4 002C4554 38 7F 00 D4 */ addi r3, r31, 0xd4 +/* 802C75F8 002C4558 48 00 0B 81 */ bl Update__15CGuiTextSupportFf +/* 802C75FC 002C455C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C7600 002C4560 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802C7604 002C4564 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802C7608 002C4568 7C 08 03 A6 */ mtlr r0 +/* 802C760C 002C456C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C7610 002C4570 4E 80 00 20 */ blr + +.global GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv +GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv: +/* 802C7614 002C4574 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7618 002C4578 7C 08 02 A6 */ mflr r0 +/* 802C761C 002C457C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 802C7620 002C4580 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7624 002C4584 48 00 26 41 */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 802C7628 002C4588 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C762C 002C458C 7C 08 03 A6 */ mtlr r0 +/* 802C7630 002C4590 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7634 002C4594 4E 80 00 20 */ blr + +.global sub_802c7638 +sub_802c7638: +/* 802C7638 002C4598 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C763C 002C459C 7C 08 02 A6 */ mflr r0 +/* 802C7640 002C45A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7644 002C45A4 38 00 00 01 */ li r0, 1 +/* 802C7648 002C45A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C764C 002C45AC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C7650 002C45B0 7C 7E 1B 78 */ mr r30, r3 +/* 802C7654 002C45B4 83 E4 01 30 */ lwz r31, 0x130(r4) +/* 802C7658 002C45B8 90 03 00 04 */ stw r0, 4(r3) +/* 802C765C 002C45BC 90 03 00 08 */ stw r0, 8(r3) +/* 802C7660 002C45C0 80 03 00 04 */ lwz r0, 4(r3) +/* 802C7664 002C45C4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C7668 002C45C8 40 82 00 10 */ bne lbl_802C7678 +/* 802C766C 002C45CC 38 00 00 00 */ li r0, 0 +/* 802C7670 002C45D0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C7674 002C45D4 48 00 00 18 */ b lbl_802C768C +lbl_802C7678: +/* 802C7678 002C45D8 3C 80 80 3D */ lis r4, lbl_803D68D8@ha +/* 802C767C 002C45DC 38 A0 00 00 */ li r5, 0 +/* 802C7680 002C45E0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l +/* 802C7684 002C45E4 48 04 E1 95 */ bl __nwa__FUlPCcPCc +/* 802C7688 002C45E8 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802C768C: +/* 802C768C 002C45EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C7690 002C45F0 28 03 00 00 */ cmplwi r3, 0 +/* 802C7694 002C45F4 41 82 00 08 */ beq lbl_802C769C +/* 802C7698 002C45F8 93 E3 00 00 */ stw r31, 0(r3) +lbl_802C769C: +/* 802C769C 002C45FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C76A0 002C4600 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C76A4 002C4604 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C76A8 002C4608 7C 08 03 A6 */ mtlr r0 +/* 802C76AC 002C460C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C76B0 002C4610 4E 80 00 20 */ blr + +.global SetDimensions__12CGuiTextPaneFRC9CVector2fb +SetDimensions__12CGuiTextPaneFRC9CVector2fb: +/* 802C76B4 002C4614 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C76B8 002C4618 7C 08 02 A6 */ mflr r0 +/* 802C76BC 002C461C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C76C0 002C4620 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C76C4 002C4624 7C BF 2B 78 */ mr r31, r5 +/* 802C76C8 002C4628 93 C1 00 08 */ stw r30, 8(r1) +/* 802C76CC 002C462C 7C 7E 1B 78 */ mr r30, r3 +/* 802C76D0 002C4630 4B FF DE 49 */ bl SetDimensions__8CGuiPaneFRC9CVector2fb +/* 802C76D4 002C4634 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802C76D8 002C4638 41 82 00 18 */ beq lbl_802C76F0 +/* 802C76DC 002C463C 7F C3 F3 78 */ mr r3, r30 +/* 802C76E0 002C4640 81 9E 00 00 */ lwz r12, 0(r30) +/* 802C76E4 002C4644 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802C76E8 002C4648 7D 89 03 A6 */ mtctr r12 +/* 802C76EC 002C464C 4E 80 04 21 */ bctrl +lbl_802C76F0: +/* 802C76F0 002C4650 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C76F4 002C4654 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C76F8 002C4658 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C76FC 002C465C 7C 08 03 A6 */ mtlr r0 +/* 802C7700 002C4660 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7704 002C4664 4E 80 00 20 */ blr + +.global ScaleDimensions__12CGuiTextPaneFRC9CVector3f +ScaleDimensions__12CGuiTextPaneFRC9CVector3f: +/* 802C7708 002C4668 4E 80 00 20 */ blr + +.global Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms +Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms: +/* 802C770C 002C466C 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 802C7710 002C4670 7C 08 02 A6 */ mflr r0 +/* 802C7714 002C4674 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802C7718 002C4678 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 802C771C 002C467C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 802C7720 002C4680 93 E1 01 8C */ stw r31, 0x18c(r1) +/* 802C7724 002C4684 93 C1 01 88 */ stw r30, 0x188(r1) +/* 802C7728 002C4688 93 A1 01 84 */ stw r29, 0x184(r1) +/* 802C772C 002C468C 81 83 00 00 */ lwz r12, 0(r3) +/* 802C7730 002C4690 7C 7F 1B 78 */ mr r31, r3 +/* 802C7734 002C4694 7C 9D 23 78 */ mr r29, r4 +/* 802C7738 002C4698 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802C773C 002C469C 7D 89 03 A6 */ mtctr r12 +/* 802C7740 002C46A0 4E 80 04 21 */ bctrl +/* 802C7744 002C46A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C7748 002C46A8 41 82 02 88 */ beq lbl_802C79D0 +/* 802C774C 002C46AC 7F E4 FB 78 */ mr r4, r31 +/* 802C7750 002C46B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C7754 002C46B4 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C7758 002C46B8 83 DF 00 C0 */ lwz r30, 0xc0(r31) +/* 802C775C 002C46BC 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 802C7760 002C46C0 7D 89 03 A6 */ mtctr r12 +/* 802C7764 002C46C4 4E 80 04 21 */ bctrl +/* 802C7768 002C46C8 80 1F 01 08 */ lwz r0, 0x108(r31) +/* 802C776C 002C46CC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802C7770 002C46D0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C7774 002C46D4 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802C7778 002C46D8 40 82 00 0C */ bne lbl_802C7784 +/* 802C777C 002C46DC C0 22 C3 C8 */ lfs f1, lbl_805AE0E8@sda21(r2) +/* 802C7780 002C46E0 48 00 00 24 */ b lbl_802C77A4 +lbl_802C7784: +/* 802C7784 002C46E4 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 802C7788 002C46E8 3C 00 43 30 */ lis r0, 0x4330 +/* 802C778C 002C46EC 90 61 01 64 */ stw r3, 0x164(r1) +/* 802C7790 002C46F0 C8 22 C3 D0 */ lfd f1, lbl_805AE0F0@sda21(r2) +/* 802C7794 002C46F4 90 01 01 60 */ stw r0, 0x160(r1) +/* 802C7798 002C46F8 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 802C779C 002C46FC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C77A0 002C4700 EC 22 00 24 */ fdivs f1, f2, f0 +lbl_802C77A4: +/* 802C77A4 002C4704 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 802C77A8 002C4708 2C 00 00 00 */ cmpwi r0, 0 +/* 802C77AC 002C470C 40 82 00 0C */ bne lbl_802C77B8 +/* 802C77B0 002C4710 C0 62 C3 C8 */ lfs f3, lbl_805AE0E8@sda21(r2) +/* 802C77B4 002C4714 48 00 00 24 */ b lbl_802C77D8 +lbl_802C77B8: +/* 802C77B8 002C4718 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 802C77BC 002C471C 3C 00 43 30 */ lis r0, 0x4330 +/* 802C77C0 002C4720 90 61 01 6C */ stw r3, 0x16c(r1) +/* 802C77C4 002C4724 C8 42 C3 D0 */ lfd f2, lbl_805AE0F0@sda21(r2) +/* 802C77C8 002C4728 90 01 01 68 */ stw r0, 0x168(r1) +/* 802C77CC 002C472C C8 01 01 68 */ lfd f0, 0x168(r1) +/* 802C77D0 002C4730 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802C77D4 002C4734 EC 63 00 24 */ fdivs f3, f3, f0 +lbl_802C77D8: +/* 802C77D8 002C4738 C0 FE 00 08 */ lfs f7, 8(r30) +/* 802C77DC 002C473C 38 61 00 6C */ addi r3, r1, 0x6c +/* 802C77E0 002C4740 C0 DE 00 04 */ lfs f6, 4(r30) +/* 802C77E4 002C4744 C0 BE 00 00 */ lfs f5, 0(r30) +/* 802C77E8 002C4748 C0 9F 00 CC */ lfs f4, 0xcc(r31) +/* 802C77EC 002C474C C0 1F 00 C8 */ lfs f0, 0xc8(r31) +/* 802C77F0 002C4750 ED 06 20 2A */ fadds f8, f6, f4 +/* 802C77F4 002C4754 C0 5F 00 D0 */ lfs f2, 0xd0(r31) +/* 802C77F8 002C4758 EC 05 00 2A */ fadds f0, f5, f0 +/* 802C77FC 002C475C D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 802C7800 002C4760 EC 87 10 2A */ fadds f4, f7, f2 +/* 802C7804 002C4764 C0 42 C3 CC */ lfs f2, lbl_805AE0EC@sda21(r2) +/* 802C7808 002C4768 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802C780C 002C476C D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 802C7810 002C4770 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802C7814 002C4774 D1 01 00 34 */ stfs f8, 0x34(r1) +/* 802C7818 002C4778 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802C781C 002C477C 48 04 B9 ED */ bl Scale__12CTransform4fFfff +/* 802C7820 002C4780 38 61 00 9C */ addi r3, r1, 0x9c +/* 802C7824 002C4784 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C7828 002C4788 48 04 B9 19 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802C782C 002C478C 38 61 00 CC */ addi r3, r1, 0xcc +/* 802C7830 002C4790 38 81 00 9C */ addi r4, r1, 0x9c +/* 802C7834 002C4794 38 A1 00 6C */ addi r5, r1, 0x6c +/* 802C7838 002C4798 48 04 B1 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C783C 002C479C 38 61 01 2C */ addi r3, r1, 0x12c +/* 802C7840 002C47A0 38 81 00 CC */ addi r4, r1, 0xcc +/* 802C7844 002C47A4 48 04 B3 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C7848 002C47A8 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C784C 002C47AC 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802C7850 002C47B0 38 A1 01 2C */ addi r5, r1, 0x12c +/* 802C7854 002C47B4 48 04 B0 FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C7858 002C47B8 38 61 00 FC */ addi r3, r1, 0xfc +/* 802C785C 002C47BC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C7860 002C47C0 48 04 B3 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C7864 002C47C4 38 61 00 FC */ addi r3, r1, 0xfc +/* 802C7868 002C47C8 48 04 4D 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C786C 002C47CC 88 7F 00 AB */ lbz r3, 0xab(r31) +/* 802C7870 002C47D0 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7874 002C47D4 90 01 01 70 */ stw r0, 0x170(r1) +/* 802C7878 002C47D8 C8 22 C3 D8 */ lfd f1, lbl_805AE0F8@sda21(r2) +/* 802C787C 002C47DC 90 61 01 74 */ stw r3, 0x174(r1) +/* 802C7880 002C47E0 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802C7884 002C47E4 C8 01 01 70 */ lfd f0, 0x170(r1) +/* 802C7888 002C47E8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C788C 002C47EC EF E2 00 32 */ fmuls f31, f2, f0 +/* 802C7890 002C47F0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 802C7894 002C47F4 3B DF 00 D4 */ addi r30, r31, 0xd4 +/* 802C7898 002C47F8 80 BF 00 A8 */ lwz r5, 0xa8(r31) +/* 802C789C 002C47FC 7F C3 F3 78 */ mr r3, r30 +/* 802C78A0 002C4800 88 01 00 08 */ lbz r0, 8(r1) +/* 802C78A4 002C4804 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C78A8 002C4808 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 802C78AC 002C480C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C78B0 002C4810 48 00 1D 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 802C78B4 002C4814 88 7F 00 B6 */ lbz r3, 0xb6(r31) +/* 802C78B8 002C4818 38 80 00 03 */ li r4, 3 +/* 802C78BC 002C481C 88 1F 00 B7 */ lbz r0, 0xb7(r31) +/* 802C78C0 002C4820 54 63 07 FE */ clrlwi r3, r3, 0x1f +/* 802C78C4 002C4824 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 802C78C8 002C4828 48 04 41 CD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802C78CC 002C482C 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 802C78D0 002C4830 2C 00 00 03 */ cmpwi r0, 3 +/* 802C78D4 002C4834 41 82 00 68 */ beq lbl_802C793C +/* 802C78D8 002C4838 40 80 00 18 */ bge lbl_802C78F0 +/* 802C78DC 002C483C 2C 00 00 02 */ cmpwi r0, 2 +/* 802C78E0 002C4840 40 80 00 3C */ bge lbl_802C791C +/* 802C78E4 002C4844 2C 00 00 00 */ cmpwi r0, 0 +/* 802C78E8 002C4848 40 80 00 14 */ bge lbl_802C78FC +/* 802C78EC 002C484C 48 00 00 E4 */ b lbl_802C79D0 +lbl_802C78F0: +/* 802C78F0 002C4850 2C 00 00 05 */ cmpwi r0, 5 +/* 802C78F4 002C4854 40 80 00 DC */ bge lbl_802C79D0 +/* 802C78F8 002C4858 48 00 00 64 */ b lbl_802C795C +lbl_802C78FC: +/* 802C78FC 002C485C 38 60 00 01 */ li r3, 1 +/* 802C7900 002C4860 38 80 00 01 */ li r4, 1 +/* 802C7904 002C4864 38 A0 00 00 */ li r5, 0 +/* 802C7908 002C4868 38 C0 00 00 */ li r6, 0 +/* 802C790C 002C486C 48 04 41 45 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C7910 002C4870 7F C3 F3 78 */ mr r3, r30 +/* 802C7914 002C4874 48 00 1C 31 */ bl Render__15CGuiTextSupportFv +/* 802C7918 002C4878 48 00 00 B8 */ b lbl_802C79D0 +lbl_802C791C: +/* 802C791C 002C487C 38 60 00 01 */ li r3, 1 +/* 802C7920 002C4880 38 80 00 04 */ li r4, 4 +/* 802C7924 002C4884 38 A0 00 05 */ li r5, 5 +/* 802C7928 002C4888 38 C0 00 00 */ li r6, 0 +/* 802C792C 002C488C 48 04 41 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C7930 002C4890 7F C3 F3 78 */ mr r3, r30 +/* 802C7934 002C4894 48 00 1C 11 */ bl Render__15CGuiTextSupportFv +/* 802C7938 002C4898 48 00 00 98 */ b lbl_802C79D0 +lbl_802C793C: +/* 802C793C 002C489C 38 60 00 01 */ li r3, 1 +/* 802C7940 002C48A0 38 80 00 04 */ li r4, 4 +/* 802C7944 002C48A4 38 A0 00 01 */ li r5, 1 +/* 802C7948 002C48A8 38 C0 00 00 */ li r6, 0 +/* 802C794C 002C48AC 48 04 41 05 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C7950 002C48B0 7F C3 F3 78 */ mr r3, r30 +/* 802C7954 002C48B4 48 00 1B F1 */ bl Render__15CGuiTextSupportFv +/* 802C7958 002C48B8 48 00 00 78 */ b lbl_802C79D0 +lbl_802C795C: +/* 802C795C 002C48BC 38 60 00 01 */ li r3, 1 +/* 802C7960 002C48C0 38 80 00 04 */ li r4, 4 +/* 802C7964 002C48C4 38 A0 00 05 */ li r5, 5 +/* 802C7968 002C48C8 38 C0 00 00 */ li r6, 0 +/* 802C796C 002C48CC 48 04 40 E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C7970 002C48D0 7F C3 F3 78 */ mr r3, r30 +/* 802C7974 002C48D4 48 00 1B D1 */ bl Render__15CGuiTextSupportFv +/* 802C7978 002C48D8 88 C1 00 1B */ lbz r6, 0x1b(r1) +/* 802C797C 002C48DC 38 00 00 FF */ li r0, 0xff +/* 802C7980 002C48E0 98 01 00 17 */ stb r0, 0x17(r1) +/* 802C7984 002C48E4 38 61 00 0C */ addi r3, r1, 0xc +/* 802C7988 002C48E8 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C798C 002C48EC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C7990 002C48F0 98 C1 00 14 */ stb r6, 0x14(r1) +/* 802C7994 002C48F4 98 C1 00 15 */ stb r6, 0x15(r1) +/* 802C7998 002C48F8 98 C1 00 16 */ stb r6, 0x16(r1) +/* 802C799C 002C48FC 48 09 B7 DD */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802C79A0 002C4900 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802C79A4 002C4904 7F C3 F3 78 */ mr r3, r30 +/* 802C79A8 002C4908 38 81 00 10 */ addi r4, r1, 0x10 +/* 802C79AC 002C490C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C79B0 002C4910 48 00 1C 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 802C79B4 002C4914 38 60 00 01 */ li r3, 1 +/* 802C79B8 002C4918 38 80 00 01 */ li r4, 1 +/* 802C79BC 002C491C 38 A0 00 01 */ li r5, 1 +/* 802C79C0 002C4920 38 C0 00 00 */ li r6, 0 +/* 802C79C4 002C4924 48 04 40 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802C79C8 002C4928 7F C3 F3 78 */ mr r3, r30 +/* 802C79CC 002C492C 48 00 1B 79 */ bl Render__15CGuiTextSupportFv +lbl_802C79D0: +/* 802C79D0 002C4930 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 802C79D4 002C4934 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802C79D8 002C4938 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 802C79DC 002C493C 83 E1 01 8C */ lwz r31, 0x18c(r1) +/* 802C79E0 002C4940 83 C1 01 88 */ lwz r30, 0x188(r1) +/* 802C79E4 002C4944 83 A1 01 84 */ lwz r29, 0x184(r1) +/* 802C79E8 002C4948 7C 08 03 A6 */ mtlr r0 +/* 802C79EC 002C494C 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 802C79F0 002C4950 4E 80 00 20 */ blr + +.global __dt__12CGuiTextPaneFv +__dt__12CGuiTextPaneFv: +/* 802C79F4 002C4954 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C79F8 002C4958 7C 08 02 A6 */ mflr r0 +/* 802C79FC 002C495C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7A00 002C4960 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7A04 002C4964 7C 9F 23 78 */ mr r31, r4 +/* 802C7A08 002C4968 93 C1 00 08 */ stw r30, 8(r1) +/* 802C7A0C 002C496C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C7A10 002C4970 41 82 00 38 */ beq lbl_802C7A48 +/* 802C7A14 002C4974 3C 80 80 3F */ lis r4, lbl_803EC9B8@ha +/* 802C7A18 002C4978 38 7E 00 D4 */ addi r3, r30, 0xd4 +/* 802C7A1C 002C497C 38 04 C9 B8 */ addi r0, r4, lbl_803EC9B8@l +/* 802C7A20 002C4980 38 80 FF FF */ li r4, -1 +/* 802C7A24 002C4984 90 1E 00 00 */ stw r0, 0(r30) +/* 802C7A28 002C4988 48 00 22 71 */ bl __dt__15CGuiTextSupportFv +/* 802C7A2C 002C498C 7F C3 F3 78 */ mr r3, r30 +/* 802C7A30 002C4990 38 80 00 00 */ li r4, 0 +/* 802C7A34 002C4994 4B FF DD F1 */ bl __dt__8CGuiPaneFv +/* 802C7A38 002C4998 7F E0 07 35 */ extsh. r0, r31 +/* 802C7A3C 002C499C 40 81 00 0C */ ble lbl_802C7A48 +/* 802C7A40 002C49A0 7F C3 F3 78 */ mr r3, r30 +/* 802C7A44 002C49A4 48 04 DE ED */ bl Free__7CMemoryFPCv +lbl_802C7A48: +/* 802C7A48 002C49A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7A4C 002C49AC 7F C3 F3 78 */ mr r3, r30 +/* 802C7A50 002C49B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7A54 002C49B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C7A58 002C49B8 7C 08 03 A6 */ mtlr r0 +/* 802C7A5C 002C49BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7A60 002C49C0 4E 80 00 20 */ blr + +.global __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii +__ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii: +/* 802C7A64 002C49C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C7A68 002C49C8 7C 08 02 A6 */ mflr r0 +/* 802C7A6C 002C49CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C7A70 002C49D0 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 802C7A74 002C49D4 7C B9 2B 78 */ mr r25, r5 +/* 802C7A78 002C49D8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802C7A7C 002C49DC 7C 78 1B 78 */ mr r24, r3 +/* 802C7A80 002C49E0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C7A84 002C49E4 7C FA 3B 78 */ mr r26, r7 +/* 802C7A88 002C49E8 7D 1B 43 78 */ mr r27, r8 +/* 802C7A8C 002C49EC 7D 3C 4B 78 */ mr r28, r9 +/* 802C7A90 002C49F0 7D 5D 53 78 */ mr r29, r10 +/* 802C7A94 002C49F4 7C C5 33 78 */ mr r5, r6 +/* 802C7A98 002C49F8 4B FF DE 05 */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f +/* 802C7A9C 002C49FC 3C 60 80 3F */ lis r3, lbl_803EC9B8@ha +/* 802C7AA0 002C4A00 38 03 C9 B8 */ addi r0, r3, lbl_803EC9B8@l +/* 802C7AA4 002C4A04 90 18 00 00 */ stw r0, 0(r24) +/* 802C7AA8 002C4A08 48 08 25 05 */ bl White__6CColorFv +/* 802C7AAC 002C4A0C 93 21 00 08 */ stw r25, 8(r1) +/* 802C7AB0 002C4A10 7C 68 1B 78 */ mr r8, r3 +/* 802C7AB4 002C4A14 7F 44 D3 78 */ mr r4, r26 +/* 802C7AB8 002C4A18 7F 65 DB 78 */ mr r5, r27 +/* 802C7ABC 002C4A1C 7F 86 E3 78 */ mr r6, r28 +/* 802C7AC0 002C4A20 7F A7 EB 78 */ mr r7, r29 +/* 802C7AC4 002C4A24 7F C9 F3 78 */ mr r9, r30 +/* 802C7AC8 002C4A28 7F EA FB 78 */ mr r10, r31 +/* 802C7ACC 002C4A2C 38 78 00 D4 */ addi r3, r24, 0xd4 +/* 802C7AD0 002C4A30 48 00 23 6D */ bl __ct__15CGuiTextSupportFv +/* 802C7AD4 002C4A34 7F 03 C3 78 */ mr r3, r24 +/* 802C7AD8 002C4A38 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 802C7ADC 002C4A3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C7AE0 002C4A40 7C 08 03 A6 */ mtlr r0 +/* 802C7AE4 002C4A44 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C7AE8 002C4A48 4E 80 00 20 */ blr + +.global Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb +Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb: +/* 802C7AEC 002C4A4C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802C7AF0 002C4A50 7C 08 02 A6 */ mflr r0 +/* 802C7AF4 002C4A54 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802C7AF8 002C4A58 DB E1 00 B8 */ stfd f31, 0xb8(r1) +/* 802C7AFC 002C4A5C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802C7B00 002C4A60 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802C7B04 002C4A64 7C 7D 1B 78 */ mr r29, r3 +/* 802C7B08 002C4A68 7C 9E 23 78 */ mr r30, r4 +/* 802C7B0C 002C4A6C 7C BF 2B 78 */ mr r31, r5 +/* 802C7B10 002C4A70 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C7B14 002C4A74 7F A4 EB 78 */ mr r4, r29 +/* 802C7B18 002C4A78 7F C5 F3 78 */ mr r5, r30 +/* 802C7B1C 002C4A7C 48 00 32 35 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802C7B20 002C4A80 83 61 00 44 */ lwz r27, 0x44(r1) +/* 802C7B24 002C4A84 7F C3 F3 78 */ mr r3, r30 +/* 802C7B28 002C4A88 89 81 00 48 */ lbz r12, 0x48(r1) +/* 802C7B2C 002C4A8C A9 61 00 4A */ lha r11, 0x4a(r1) +/* 802C7B30 002C4A90 A9 41 00 4C */ lha r10, 0x4c(r1) +/* 802C7B34 002C4A94 89 21 00 4E */ lbz r9, 0x4e(r1) +/* 802C7B38 002C4A98 89 01 00 4F */ lbz r8, 0x4f(r1) +/* 802C7B3C 002C4A9C 88 E1 00 50 */ lbz r7, 0x50(r1) +/* 802C7B40 002C4AA0 88 C1 00 51 */ lbz r6, 0x51(r1) +/* 802C7B44 002C4AA4 88 A1 00 52 */ lbz r5, 0x52(r1) +/* 802C7B48 002C4AA8 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802C7B4C 002C4AAC 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802C7B50 002C4AB0 93 61 00 5C */ stw r27, 0x5c(r1) +/* 802C7B54 002C4AB4 99 81 00 60 */ stb r12, 0x60(r1) +/* 802C7B58 002C4AB8 B1 61 00 62 */ sth r11, 0x62(r1) +/* 802C7B5C 002C4ABC B1 41 00 64 */ sth r10, 0x64(r1) +/* 802C7B60 002C4AC0 99 21 00 66 */ stb r9, 0x66(r1) +/* 802C7B64 002C4AC4 99 01 00 67 */ stb r8, 0x67(r1) +/* 802C7B68 002C4AC8 98 E1 00 68 */ stb r7, 0x68(r1) +/* 802C7B6C 002C4ACC 98 C1 00 69 */ stb r6, 0x69(r1) +/* 802C7B70 002C4AD0 98 A1 00 6A */ stb r5, 0x6a(r1) +/* 802C7B74 002C4AD4 90 81 00 6C */ stw r4, 0x6c(r1) +/* 802C7B78 002C4AD8 90 01 00 70 */ stw r0, 0x70(r1) +/* 802C7B7C 002C4ADC 48 07 70 AD */ bl ReadFloat__12CInputStreamFv +/* 802C7B80 002C4AE0 FF E0 08 90 */ fmr f31, f1 +/* 802C7B84 002C4AE4 7F C3 F3 78 */ mr r3, r30 +/* 802C7B88 002C4AE8 48 07 70 A1 */ bl ReadFloat__12CInputStreamFv +/* 802C7B8C 002C4AEC FF C0 08 90 */ fmr f30, f1 +/* 802C7B90 002C4AF0 7F C4 F3 78 */ mr r4, r30 +/* 802C7B94 002C4AF4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802C7B98 002C4AF8 48 04 CF F5 */ bl __ct__9CVector3fFR12CInputStream +/* 802C7B9C 002C4AFC 7F C3 F3 78 */ mr r3, r30 +/* 802C7BA0 002C4B00 48 07 70 E5 */ bl ReadLong__12CInputStreamFv +/* 802C7BA4 002C4B04 7C 60 1B 78 */ mr r0, r3 +/* 802C7BA8 002C4B08 7F C3 F3 78 */ mr r3, r30 +/* 802C7BAC 002C4B0C 7C 17 03 78 */ mr r23, r0 +/* 802C7BB0 002C4B10 48 07 71 2D */ bl ReadBool__12CInputStreamFv +/* 802C7BB4 002C4B14 7C 7B 1B 78 */ mr r27, r3 +/* 802C7BB8 002C4B18 7F C3 F3 78 */ mr r3, r30 +/* 802C7BBC 002C4B1C 48 07 71 21 */ bl ReadBool__12CInputStreamFv +/* 802C7BC0 002C4B20 7C 7C 1B 78 */ mr r28, r3 +/* 802C7BC4 002C4B24 7F C3 F3 78 */ mr r3, r30 +/* 802C7BC8 002C4B28 48 07 70 BD */ bl ReadLong__12CInputStreamFv +/* 802C7BCC 002C4B2C 7C 7A 1B 78 */ mr r26, r3 +/* 802C7BD0 002C4B30 7F C3 F3 78 */ mr r3, r30 +/* 802C7BD4 002C4B34 48 07 70 B1 */ bl ReadLong__12CInputStreamFv +/* 802C7BD8 002C4B38 7C 79 1B 78 */ mr r25, r3 +/* 802C7BDC 002C4B3C 7F C4 F3 78 */ mr r4, r30 +/* 802C7BE0 002C4B40 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C7BE4 002C4B44 48 09 B8 69 */ bl __ct__6CColorFR12CInputStream +/* 802C7BE8 002C4B48 7F C4 F3 78 */ mr r4, r30 +/* 802C7BEC 002C4B4C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802C7BF0 002C4B50 48 09 B8 5D */ bl __ct__6CColorFR12CInputStream +/* 802C7BF4 002C4B54 7F C3 F3 78 */ mr r3, r30 +/* 802C7BF8 002C4B58 48 07 70 31 */ bl ReadFloat__12CInputStreamFv +/* 802C7BFC 002C4B5C FC 00 08 1E */ fctiwz f0, f1 +/* 802C7C00 002C4B60 7F C3 F3 78 */ mr r3, r30 +/* 802C7C04 002C4B64 D8 01 00 78 */ stfd f0, 0x78(r1) +/* 802C7C08 002C4B68 83 01 00 7C */ lwz r24, 0x7c(r1) +/* 802C7C0C 002C4B6C 48 07 70 1D */ bl ReadFloat__12CInputStreamFv +/* 802C7C10 002C4B70 FC 00 08 1E */ fctiwz f0, f1 +/* 802C7C14 002C4B74 7F 46 D3 78 */ mr r6, r26 +/* 802C7C18 002C4B78 7F 27 CB 78 */ mr r7, r25 +/* 802C7C1C 002C4B7C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802C7C20 002C4B80 57 64 06 3E */ clrlwi r4, r27, 0x18 +/* 802C7C24 002C4B84 57 85 06 3E */ clrlwi r5, r28, 0x18 +/* 802C7C28 002C4B88 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 802C7C2C 002C4B8C 39 00 00 00 */ li r8, 0 +/* 802C7C30 002C4B90 83 21 00 84 */ lwz r25, 0x84(r1) +/* 802C7C34 002C4B94 48 00 24 11 */ bl __ct__18CGuiTextPropertiesFv +/* 802C7C38 002C4B98 3C 80 80 3D */ lis r4, lbl_803D68D8@ha +/* 802C7C3C 002C4B9C 38 60 03 E0 */ li r3, 0x3e0 +/* 802C7C40 002C4BA0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l +/* 802C7C44 002C4BA4 38 A0 00 00 */ li r5, 0 +/* 802C7C48 002C4BA8 48 04 DC 25 */ bl __nw__FUlPCcPCc +/* 802C7C4C 002C4BAC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802C7C50 002C4BB0 41 82 00 38 */ beq lbl_802C7C88 +/* 802C7C54 002C4BB4 93 01 00 08 */ stw r24, 8(r1) +/* 802C7C58 002C4BB8 FC 20 F8 90 */ fmr f1, f31 +/* 802C7C5C 002C4BBC FC 40 F0 90 */ fmr f2, f30 +/* 802C7C60 002C4BC0 7F E5 FB 78 */ mr r5, r31 +/* 802C7C64 002C4BC4 93 21 00 0C */ stw r25, 0xc(r1) +/* 802C7C68 002C4BC8 7E E7 BB 78 */ mr r7, r23 +/* 802C7C6C 002C4BCC 38 81 00 5C */ addi r4, r1, 0x5c +/* 802C7C70 002C4BD0 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802C7C74 002C4BD4 39 01 00 28 */ addi r8, r1, 0x28 +/* 802C7C78 002C4BD8 39 21 00 14 */ addi r9, r1, 0x14 +/* 802C7C7C 002C4BDC 39 41 00 10 */ addi r10, r1, 0x10 +/* 802C7C80 002C4BE0 4B FF FD E5 */ bl __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii +/* 802C7C84 002C4BE4 7C 7A 1B 78 */ mr r26, r3 +lbl_802C7C88: +/* 802C7C88 002C4BE8 7F 43 D3 78 */ mr r3, r26 +/* 802C7C8C 002C4BEC 7F A4 EB 78 */ mr r4, r29 +/* 802C7C90 002C4BF0 7F C5 F3 78 */ mr r5, r30 +/* 802C7C94 002C4BF4 38 C1 00 5C */ addi r6, r1, 0x5c +/* 802C7C98 002C4BF8 48 00 2D F1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802C7C9C 002C4BFC 7F 43 D3 78 */ mr r3, r26 +/* 802C7CA0 002C4C00 81 9A 00 00 */ lwz r12, 0(r26) +/* 802C7CA4 002C4C04 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 802C7CA8 002C4C08 7D 89 03 A6 */ mtctr r12 +/* 802C7CAC 002C4C0C 4E 80 04 21 */ bctrl +/* 802C7CB0 002C4C10 3C 80 80 3D */ lis r4, lbl_803D68D8@ha +/* 802C7CB4 002C4C14 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C7CB8 002C4C18 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l +/* 802C7CBC 002C4C1C 38 84 00 07 */ addi r4, r4, 7 +/* 802C7CC0 002C4C20 4B D3 CF F9 */ bl string_l__4rstlFPCc +/* 802C7CC4 002C4C24 38 7A 00 D4 */ addi r3, r26, 0xd4 +/* 802C7CC8 002C4C28 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C7CCC 002C4C2C 38 A0 00 00 */ li r5, 0 +/* 802C7CD0 002C4C30 48 00 1E 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C7CD4 002C4C34 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C7CD8 002C4C38 48 07 5E 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C7CDC 002C4C3C CB E1 00 B8 */ lfd f31, 0xb8(r1) +/* 802C7CE0 002C4C40 7F 43 D3 78 */ mr r3, r26 +/* 802C7CE4 002C4C44 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802C7CE8 002C4C48 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802C7CEC 002C4C4C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802C7CF0 002C4C50 7C 08 03 A6 */ mtlr r0 +/* 802C7CF4 002C4C54 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802C7CF8 002C4C58 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiTextSupport.s b/asm/GuiSys/CGuiTextSupport.s new file mode 100644 index 00000000..59202ff7 --- /dev/null +++ b/asm/GuiSys/CGuiTextSupport.s @@ -0,0 +1,3057 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802c7cfc +sub_802c7cfc: +/* 802C7CFC 002C4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D00 002C4C60 7C 08 02 A6 */ mflr r0 +/* 802C7D04 002C4C64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D08 002C4C68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7D0C 002C4C6C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C7D10 002C4C70 7C 9E 23 78 */ mr r30, r4 +/* 802C7D14 002C4C74 83 E3 00 00 */ lwz r31, 0(r3) +/* 802C7D18 002C4C78 48 00 00 10 */ b lbl_802C7D28 +lbl_802C7D1C: +/* 802C7D1C 002C4C7C 7F E3 FB 78 */ mr r3, r31 +/* 802C7D20 002C4C80 48 00 00 2D */ bl sub_802c7d4c +/* 802C7D24 002C4C84 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802C7D28: +/* 802C7D28 002C4C88 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C7D2C 002C4C8C 7C 1F 00 40 */ cmplw r31, r0 +/* 802C7D30 002C4C90 40 82 FF EC */ bne lbl_802C7D1C +/* 802C7D34 002C4C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D38 002C4C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7D3C 002C4C9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C7D40 002C4CA0 7C 08 03 A6 */ mtlr r0 +/* 802C7D44 002C4CA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D48 002C4CA8 4E 80 00 20 */ blr + +.global sub_802c7d4c +sub_802c7d4c: +/* 802C7D4C 002C4CAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D50 002C4CB0 7C 08 02 A6 */ mflr r0 +/* 802C7D54 002C4CB4 38 80 FF FF */ li r4, -1 +/* 802C7D58 002C4CB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D5C 002C4CBC 4B D6 0E A1 */ bl sub_80028bfc +/* 802C7D60 002C4CC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D64 002C4CC4 7C 08 03 A6 */ mtlr r0 +/* 802C7D68 002C4CC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D6C 002C4CCC 4E 80 00 20 */ blr + +.global GetBounds__15CGuiTextSupportFv +GetBounds__15CGuiTextSupportFv: +/* 802C7D70 002C4CD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7D74 002C4CD4 7C 08 02 A6 */ mflr r0 +/* 802C7D78 002C4CD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7D7C 002C4CDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7D80 002C4CE0 7C 7F 1B 78 */ mr r31, r3 +/* 802C7D84 002C4CE4 48 00 0D A9 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C7D88 002C4CE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7D8C 002C4CEC 38 7F 02 DC */ addi r3, r31, 0x2dc +/* 802C7D90 002C4CF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7D94 002C4CF4 7C 08 03 A6 */ mtlr r0 +/* 802C7D98 002C4CF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7D9C 002C4CFC 4E 80 00 20 */ blr + +.global GetCurrentPageRenderBuffer__15CGuiTextSupportFv +GetCurrentPageRenderBuffer__15CGuiTextSupportFv: +/* 802C7DA0 002C4D00 88 03 02 B8 */ lbz r0, 0x2b8(r3) +/* 802C7DA4 002C4D04 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DA8 002C4D08 41 82 00 18 */ beq lbl_802C7DC0 +/* 802C7DAC 002C4D0C 88 03 03 08 */ lbz r0, 0x308(r3) +/* 802C7DB0 002C4D10 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DB4 002C4D14 40 82 00 0C */ bne lbl_802C7DC0 +/* 802C7DB8 002C4D18 38 63 00 60 */ addi r3, r3, 0x60 +/* 802C7DBC 002C4D1C 4E 80 00 20 */ blr +lbl_802C7DC0: +/* 802C7DC0 002C4D20 88 03 03 08 */ lbz r0, 0x308(r3) +/* 802C7DC4 002C4D24 28 00 00 00 */ cmplwi r0, 0 +/* 802C7DC8 002C4D28 41 82 00 38 */ beq lbl_802C7E00 +/* 802C7DCC 002C4D2C 80 03 03 00 */ lwz r0, 0x300(r3) +/* 802C7DD0 002C4D30 80 83 03 04 */ lwz r4, 0x304(r3) +/* 802C7DD4 002C4D34 7C 00 20 00 */ cmpw r0, r4 +/* 802C7DD8 002C4D38 40 81 00 28 */ ble lbl_802C7E00 +/* 802C7DDC 002C4D3C 38 A0 00 00 */ li r5, 0 +/* 802C7DE0 002C4D40 80 63 02 F0 */ lwz r3, 0x2f0(r3) +lbl_802C7DE4: +/* 802C7DE4 002C4D44 7C 05 20 00 */ cmpw r5, r4 +/* 802C7DE8 002C4D48 40 82 00 0C */ bne lbl_802C7DF4 +/* 802C7DEC 002C4D4C 38 63 00 08 */ addi r3, r3, 8 +/* 802C7DF0 002C4D50 4E 80 00 20 */ blr +lbl_802C7DF4: +/* 802C7DF4 002C4D54 80 63 00 04 */ lwz r3, 4(r3) +/* 802C7DF8 002C4D58 38 A5 00 01 */ addi r5, r5, 1 +/* 802C7DFC 002C4D5C 4B FF FF E8 */ b lbl_802C7DE4 +lbl_802C7E00: +/* 802C7E00 002C4D60 38 60 00 00 */ li r3, 0 +/* 802C7E04 002C4D64 4E 80 00 20 */ blr + +.global SetPage__15CGuiTextSupportFi +SetPage__15CGuiTextSupportFi: +/* 802C7E08 002C4D68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7E0C 002C4D6C 90 83 03 04 */ stw r4, 0x304(r3) +/* 802C7E10 002C4D70 80 03 00 44 */ lwz r0, 0x44(r3) +/* 802C7E14 002C4D74 80 83 00 4C */ lwz r4, 0x4c(r3) +/* 802C7E18 002C4D78 54 00 18 38 */ slwi r0, r0, 3 +/* 802C7E1C 002C4D7C 7C 04 02 14 */ add r0, r4, r0 +/* 802C7E20 002C4D80 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C7E24 002C4D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7E28 002C4D88 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C7E2C 002C4D8C 90 81 00 08 */ stw r4, 8(r1) +/* 802C7E30 002C4D90 48 00 00 08 */ b lbl_802C7E38 +lbl_802C7E34: +/* 802C7E34 002C4D94 38 84 00 08 */ addi r4, r4, 8 +lbl_802C7E38: +/* 802C7E38 002C4D98 7C 04 00 40 */ cmplw r4, r0 +/* 802C7E3C 002C4D9C 40 82 FF F8 */ bne lbl_802C7E34 +/* 802C7E40 002C4DA0 38 00 00 00 */ li r0, 0 +/* 802C7E44 002C4DA4 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C7E48 002C4DA8 90 03 00 44 */ stw r0, 0x44(r3) +/* 802C7E4C 002C4DAC D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802C7E50 002C4DB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C7E54 002C4DB4 4E 80 00 20 */ blr + +.global GetTotalPageCount__15CGuiTextSupportFv +GetTotalPageCount__15CGuiTextSupportFv: +/* 802C7E58 002C4DB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C7E5C 002C4DBC 7C 08 02 A6 */ mflr r0 +/* 802C7E60 002C4DC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C7E64 002C4DC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C7E68 002C4DC8 7C 7F 1B 78 */ mr r31, r3 +/* 802C7E6C 002C4DCC 48 00 0C C1 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C7E70 002C4DD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C7E74 002C4DD4 41 82 00 0C */ beq lbl_802C7E80 +/* 802C7E78 002C4DD8 80 7F 03 00 */ lwz r3, 0x300(r31) +/* 802C7E7C 002C4DDC 48 00 00 08 */ b lbl_802C7E84 +lbl_802C7E80: +/* 802C7E80 002C4DE0 38 60 FF FF */ li r3, -1 +lbl_802C7E84: +/* 802C7E84 002C4DE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C7E88 002C4DE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C7E8C 002C4DEC 7C 08 03 A6 */ mtlr r0 +/* 802C7E90 002C4DF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C7E94 002C4DF4 4E 80 00 20 */ blr + +.global GetCurrentAnimationOverAge__15CGuiTextSupportFv +GetCurrentAnimationOverAge__15CGuiTextSupportFv: +/* 802C7E98 002C4DF8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C7E9C 002C4DFC 7C 08 02 A6 */ mflr r0 +/* 802C7EA0 002C4E00 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C7EA4 002C4E04 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C7EA8 002C4E08 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C7EAC 002C4E0C 7C 7F 1B 78 */ mr r31, r3 +/* 802C7EB0 002C4E10 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C7EB4 002C4E14 4B FF FE ED */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C7EB8 002C4E18 28 03 00 00 */ cmplwi r3, 0 +/* 802C7EBC 002C4E1C 41 82 00 D8 */ beq lbl_802C7F94 +/* 802C7EC0 002C4E20 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C7EC4 002C4E24 28 00 00 00 */ cmplwi r0, 0 +/* 802C7EC8 002C4E28 41 82 00 CC */ beq lbl_802C7F94 +/* 802C7ECC 002C4E2C 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 802C7ED0 002C4E30 2C 04 00 00 */ cmpwi r4, 0 +/* 802C7ED4 002C4E34 41 82 00 74 */ beq lbl_802C7F48 +/* 802C7ED8 002C4E38 38 04 FF FF */ addi r0, r4, -1 +/* 802C7EDC 002C4E3C 80 BF 00 4C */ lwz r5, 0x4c(r31) +/* 802C7EE0 002C4E40 54 04 18 38 */ slwi r4, r0, 3 +/* 802C7EE4 002C4E44 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7EE8 002C4E48 7C A5 22 14 */ add r5, r5, r4 +/* 802C7EEC 002C4E4C 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7EF0 002C4E50 80 85 00 04 */ lwz r4, 4(r5) +/* 802C7EF4 002C4E54 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C7EF8 002C4E58 7C 04 18 50 */ subf r0, r4, r3 +/* 802C7EFC 002C4E5C C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) +/* 802C7F00 002C4E60 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C7F04 002C4E64 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802C7F08 002C4E68 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C7F0C 002C4E6C C0 85 00 00 */ lfs f4, 0(r5) +/* 802C7F10 002C4E70 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 802C7F14 002C4E74 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802C7F18 002C4E78 EC 42 18 28 */ fsubs f2, f2, f3 +/* 802C7F1C 002C4E7C EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C7F20 002C4E80 EC 24 08 2A */ fadds f1, f4, f1 +/* 802C7F24 002C4E84 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C7F28 002C4E88 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C7F2C 002C4E8C 40 80 00 0C */ bge lbl_802C7F38 +/* 802C7F30 002C4E90 38 61 00 0C */ addi r3, r1, 0xc +/* 802C7F34 002C4E94 48 00 00 08 */ b lbl_802C7F3C +lbl_802C7F38: +/* 802C7F38 002C4E98 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802C7F3C: +/* 802C7F3C 002C4E9C C0 03 00 00 */ lfs f0, 0(r3) +/* 802C7F40 002C4EA0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C7F44 002C4EA4 48 00 00 50 */ b lbl_802C7F94 +lbl_802C7F48: +/* 802C7F48 002C4EA8 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7F4C 002C4EAC 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7F50 002C4EB0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C7F54 002C4EB4 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C7F58 002C4EB8 C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) +/* 802C7F5C 002C4EBC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C7F60 002C4EC0 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802C7F64 002C4EC4 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 802C7F68 002C4EC8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802C7F6C 002C4ECC EC 42 18 28 */ fsubs f2, f2, f3 +/* 802C7F70 002C4ED0 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C7F74 002C4ED4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C7F78 002C4ED8 D0 21 00 08 */ stfs f1, 8(r1) +/* 802C7F7C 002C4EDC 40 80 00 0C */ bge lbl_802C7F88 +/* 802C7F80 002C4EE0 38 61 00 08 */ addi r3, r1, 8 +/* 802C7F84 002C4EE4 48 00 00 08 */ b lbl_802C7F8C +lbl_802C7F88: +/* 802C7F88 002C4EE8 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802C7F8C: +/* 802C7F8C 002C4EEC C0 03 00 00 */ lfs f0, 0(r3) +/* 802C7F90 002C4EF0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_802C7F94: +/* 802C7F94 002C4EF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C7F98 002C4EF8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802C7F9C 002C4EFC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C7FA0 002C4F00 7C 08 03 A6 */ mtlr r0 +/* 802C7FA4 002C4F04 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C7FA8 002C4F08 4E 80 00 20 */ blr + +.global GetNumCharsTotal__15CGuiTextSupportCFv +GetNumCharsTotal__15CGuiTextSupportCFv: +/* 802C7FAC 002C4F0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C7FB0 002C4F10 7C 08 02 A6 */ mflr r0 +/* 802C7FB4 002C4F14 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C7FB8 002C4F18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C7FBC 002C4F1C 7C 7F 1B 78 */ mr r31, r3 +/* 802C7FC0 002C4F20 4B FF FD E1 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C7FC4 002C4F24 28 03 00 00 */ cmplwi r3, 0 +/* 802C7FC8 002C4F28 41 82 00 34 */ beq lbl_802C7FFC +/* 802C7FCC 002C4F2C 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C7FD0 002C4F30 28 00 00 00 */ cmplwi r0, 0 +/* 802C7FD4 002C4F34 41 82 00 28 */ beq lbl_802C7FFC +/* 802C7FD8 002C4F38 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C7FDC 002C4F3C 3C 00 43 30 */ lis r0, 0x4330 +/* 802C7FE0 002C4F40 90 01 00 08 */ stw r0, 8(r1) +/* 802C7FE4 002C4F44 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C7FE8 002C4F48 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) +/* 802C7FEC 002C4F4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C7FF0 002C4F50 C8 01 00 08 */ lfd f0, 8(r1) +/* 802C7FF4 002C4F54 EC 20 08 28 */ fsubs f1, f0, f1 +/* 802C7FF8 002C4F58 48 00 00 08 */ b lbl_802C8000 +lbl_802C7FFC: +/* 802C7FFC 002C4F5C C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8000: +/* 802C8000 002C4F60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8004 002C4F64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C8008 002C4F68 7C 08 03 A6 */ mtlr r0 +/* 802C800C 002C4F6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8010 002C4F70 4E 80 00 20 */ blr + +.global GetNumCharactersPrinted__15CGuiTextSupportCFv +GetNumCharactersPrinted__15CGuiTextSupportCFv: +/* 802C8014 002C4F74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8018 002C4F78 7C 08 02 A6 */ mflr r0 +/* 802C801C 002C4F7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8020 002C4F80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8024 002C4F84 7C 7F 1B 78 */ mr r31, r3 +/* 802C8028 002C4F88 4B FF FD 79 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C802C 002C4F8C 28 03 00 00 */ cmplwi r3, 0 +/* 802C8030 002C4F90 41 82 00 60 */ beq lbl_802C8090 +/* 802C8034 002C4F94 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C8038 002C4F98 28 00 00 00 */ cmplwi r0, 0 +/* 802C803C 002C4F9C 41 82 00 54 */ beq lbl_802C8090 +/* 802C8040 002C4FA0 C0 3F 00 3C */ lfs f1, 0x3c(r31) +/* 802C8044 002C4FA4 3C 00 43 30 */ lis r0, 0x4330 +/* 802C8048 002C4FA8 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 802C804C 002C4FAC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C8050 002C4FB0 EC 41 00 32 */ fmuls f2, f1, f0 +/* 802C8054 002C4FB4 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) +/* 802C8058 002C4FB8 D0 41 00 08 */ stfs f2, 8(r1) +/* 802C805C 002C4FBC 80 03 00 28 */ lwz r0, 0x28(r3) +/* 802C8060 002C4FC0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802C8064 002C4FC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8068 002C4FC8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802C806C 002C4FCC EC 00 08 28 */ fsubs f0, f0, f1 +/* 802C8070 002C4FD0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802C8074 002C4FD4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802C8078 002C4FD8 40 80 00 0C */ bge lbl_802C8084 +/* 802C807C 002C4FDC 38 61 00 08 */ addi r3, r1, 8 +/* 802C8080 002C4FE0 48 00 00 08 */ b lbl_802C8088 +lbl_802C8084: +/* 802C8084 002C4FE4 38 61 00 0C */ addi r3, r1, 0xc +lbl_802C8088: +/* 802C8088 002C4FE8 C0 23 00 00 */ lfs f1, 0(r3) +/* 802C808C 002C4FEC 48 00 00 08 */ b lbl_802C8094 +lbl_802C8090: +/* 802C8090 002C4FF0 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8094: +/* 802C8094 002C4FF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8098 002C4FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C809C 002C4FFC 7C 08 03 A6 */ mtlr r0 +/* 802C80A0 002C5000 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C80A4 002C5004 4E 80 00 20 */ blr + +.global GetTotalAnimationTime__15CGuiTextSupportCFv +GetTotalAnimationTime__15CGuiTextSupportCFv: +/* 802C80A8 002C5008 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C80AC 002C500C 7C 08 02 A6 */ mflr r0 +/* 802C80B0 002C5010 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C80B4 002C5014 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C80B8 002C5018 7C 7F 1B 78 */ mr r31, r3 +/* 802C80BC 002C501C 4B FF FC E5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C80C0 002C5020 28 03 00 00 */ cmplwi r3, 0 +/* 802C80C4 002C5024 41 82 00 3C */ beq lbl_802C8100 +/* 802C80C8 002C5028 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802C80CC 002C502C 28 00 00 00 */ cmplwi r0, 0 +/* 802C80D0 002C5030 41 82 00 30 */ beq lbl_802C8100 +/* 802C80D4 002C5034 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802C80D8 002C5038 3C 00 43 30 */ lis r0, 0x4330 +/* 802C80DC 002C503C 90 01 00 08 */ stw r0, 8(r1) +/* 802C80E0 002C5040 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802C80E4 002C5044 C8 42 C3 E8 */ lfd f2, lbl_805AE108@sda21(r2) +/* 802C80E8 002C5048 90 01 00 0C */ stw r0, 0xc(r1) +/* 802C80EC 002C504C C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 802C80F0 002C5050 C8 21 00 08 */ lfd f1, 8(r1) +/* 802C80F4 002C5054 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802C80F8 002C5058 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802C80FC 002C505C 48 00 00 08 */ b lbl_802C8104 +lbl_802C8100: +/* 802C8100 002C5060 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +lbl_802C8104: +/* 802C8104 002C5064 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8108 002C5068 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C810C 002C506C 7C 08 03 A6 */ mtlr r0 +/* 802C8110 002C5070 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8114 002C5074 4E 80 00 20 */ blr + +.global SetTypeWriteEffectOptions__15CGuiTextSupportFbff +SetTypeWriteEffectOptions__15CGuiTextSupportFbff: +/* 802C8118 002C5078 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C811C 002C507C D0 21 00 08 */ stfs f1, 8(r1) +/* 802C8120 002C5080 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802C8124 002C5084 98 83 00 50 */ stb r4, 0x50(r3) +/* 802C8128 002C5088 C0 21 00 08 */ lfs f1, 8(r1) +/* 802C812C 002C508C C0 0D 9B 10 */ lfs f0, lbl_805A86D0@sda21(r13) +/* 802C8130 002C5090 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C8134 002C5094 40 80 00 0C */ bge lbl_802C8140 +/* 802C8138 002C5098 38 8D 9B 10 */ addi r4, r13, lbl_805A86D0@sda21 +/* 802C813C 002C509C 48 00 00 08 */ b lbl_802C8144 +lbl_802C8140: +/* 802C8140 002C50A0 38 81 00 08 */ addi r4, r1, 8 +lbl_802C8144: +/* 802C8144 002C50A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802C8148 002C50A8 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 802C814C 002C50AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802C8150 002C50B0 C0 0D 9B 14 */ lfs f0, lbl_805A86D4@sda21(r13) +/* 802C8154 002C50B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C8158 002C50B8 40 80 00 0C */ bge lbl_802C8164 +/* 802C815C 002C50BC 38 8D 9B 14 */ addi r4, r13, lbl_805A86D4@sda21 +/* 802C8160 002C50C0 48 00 00 08 */ b lbl_802C8168 +lbl_802C8164: +/* 802C8164 002C50C4 38 81 00 0C */ addi r4, r1, 0xc +lbl_802C8168: +/* 802C8168 002C50C8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802C816C 002C50CC D0 03 00 58 */ stfs f0, 0x58(r3) +/* 802C8170 002C50D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8174 002C50D4 4E 80 00 20 */ blr + +.global Update__15CGuiTextSupportFf +Update__15CGuiTextSupportFf: +/* 802C8178 002C50D8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802C817C 002C50DC 7C 08 02 A6 */ mflr r0 +/* 802C8180 002C50E0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802C8184 002C50E4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 802C8188 002C50E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 802C818C 002C50EC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 802C8190 002C50F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 802C8194 002C50F4 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 802C8198 002C50F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 802C819C 002C50FC DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802C81A0 002C5100 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802C81A4 002C5104 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 802C81A8 002C5108 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 802C81AC 002C510C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802C81B0 002C5110 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802C81B4 002C5114 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802C81B8 002C5118 7C 7E 1B 78 */ mr r30, r3 +/* 802C81BC 002C511C FF 60 08 90 */ fmr f27, f1 +/* 802C81C0 002C5120 88 03 00 50 */ lbz r0, 0x50(r3) +/* 802C81C4 002C5124 28 00 00 00 */ cmplwi r0, 0 +/* 802C81C8 002C5128 41 82 01 40 */ beq lbl_802C8308 +/* 802C81CC 002C512C 4B FF FB D5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C81D0 002C5130 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C81D4 002C5134 41 82 01 28 */ beq lbl_802C82FC +/* 802C81D8 002C5138 C3 82 C3 E0 */ lfs f28, lbl_805AE100@sda21(r2) +/* 802C81DC 002C513C 3B E0 00 00 */ li r31, 0 +/* 802C81E0 002C5140 C3 C2 C3 F0 */ lfs f30, lbl_805AE110@sda21(r2) +/* 802C81E4 002C5144 C3 E2 C3 F4 */ lfs f31, lbl_805AE114@sda21(r2) +/* 802C81E8 002C5148 48 00 01 08 */ b lbl_802C82F0 +lbl_802C81EC: +/* 802C81EC 002C514C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802C81F0 002C5150 38 80 00 00 */ li r4, 0 +/* 802C81F4 002C5154 7C 09 03 A6 */ mtctr r0 +/* 802C81F8 002C5158 2C 00 00 00 */ cmpwi r0, 0 +/* 802C81FC 002C515C 40 81 00 2C */ ble lbl_802C8228 +lbl_802C8200: +/* 802C8200 002C5160 80 1E 00 4C */ lwz r0, 0x4c(r30) +/* 802C8204 002C5164 7C 60 22 14 */ add r3, r0, r4 +/* 802C8208 002C5168 80 03 00 04 */ lwz r0, 4(r3) +/* 802C820C 002C516C 7C 00 F8 00 */ cmpw r0, r31 +/* 802C8210 002C5170 41 80 00 10 */ blt lbl_802C8220 +/* 802C8214 002C5174 40 82 00 14 */ bne lbl_802C8228 +/* 802C8218 002C5178 C3 83 00 00 */ lfs f28, 0(r3) +/* 802C821C 002C517C 48 00 00 0C */ b lbl_802C8228 +lbl_802C8220: +/* 802C8220 002C5180 38 84 00 08 */ addi r4, r4, 8 +/* 802C8224 002C5184 42 00 FF DC */ bdnz lbl_802C8200 +lbl_802C8228: +/* 802C8228 002C5188 7F A4 EB 78 */ mr r4, r29 +/* 802C822C 002C518C 7F E5 FB 78 */ mr r5, r31 +/* 802C8230 002C5190 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C8234 002C5194 48 09 1F 8D */ bl GetPrimitive__17CTextRenderBufferCFi +/* 802C8238 002C5198 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802C823C 002C519C 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 802C8240 002C51A0 A8 A1 00 1C */ lha r5, 0x1c(r1) +/* 802C8244 002C51A4 A8 81 00 1E */ lha r4, 0x1e(r1) +/* 802C8248 002C51A8 A8 61 00 20 */ lha r3, 0x20(r1) +/* 802C824C 002C51AC 88 01 00 22 */ lbz r0, 0x22(r1) +/* 802C8250 002C51B0 90 E1 00 24 */ stw r7, 0x24(r1) +/* 802C8254 002C51B4 C0 0D 9B 08 */ lfs f0, lbl_805A86C8@sda21(r13) +/* 802C8258 002C51B8 90 C1 00 28 */ stw r6, 0x28(r1) +/* 802C825C 002C51BC B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 802C8260 002C51C0 B0 81 00 2E */ sth r4, 0x2e(r1) +/* 802C8264 002C51C4 B0 61 00 30 */ sth r3, 0x30(r1) +/* 802C8268 002C51C8 98 01 00 32 */ stb r0, 0x32(r1) +/* 802C826C 002C51CC C0 5E 00 3C */ lfs f2, 0x3c(r30) +/* 802C8270 002C51D0 C0 3E 00 54 */ lfs f1, 0x54(r30) +/* 802C8274 002C51D4 EC 42 E0 28 */ fsubs f2, f2, f28 +/* 802C8278 002C51D8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802C827C 002C51DC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C8280 002C51E0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C8284 002C51E4 40 80 00 0C */ bge lbl_802C8290 +/* 802C8288 002C51E8 38 61 00 0C */ addi r3, r1, 0xc +/* 802C828C 002C51EC 48 00 00 08 */ b lbl_802C8294 +lbl_802C8290: +/* 802C8290 002C51F0 38 6D 9B 08 */ addi r3, r13, lbl_805A86C8@sda21 +lbl_802C8294: +/* 802C8294 002C51F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 802C8298 002C51F8 C0 0D 9B 0C */ lfs f0, lbl_805A86CC@sda21(r13) +/* 802C829C 002C51FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C82A0 002C5200 40 80 00 08 */ bge lbl_802C82A8 +/* 802C82A4 002C5204 48 00 00 08 */ b lbl_802C82AC +lbl_802C82A8: +/* 802C82A8 002C5208 38 6D 9B 0C */ addi r3, r13, lbl_805A86CC@sda21 +lbl_802C82AC: +/* 802C82AC 002C520C C0 3E 00 58 */ lfs f1, 0x58(r30) +/* 802C82B0 002C5210 C0 03 00 00 */ lfs f0, 0(r3) +/* 802C82B4 002C5214 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802C82B8 002C5218 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C82BC 002C521C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C82C0 002C5220 EF BF 00 32 */ fmuls f29, f31, f0 +/* 802C82C4 002C5224 EF 9C 08 2A */ fadds f28, f28, f1 +/* 802C82C8 002C5228 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 802C82CC 002C522C 7F A3 EB 78 */ mr r3, r29 +/* 802C82D0 002C5230 7F E5 FB 78 */ mr r5, r31 +/* 802C82D4 002C5234 38 81 00 24 */ addi r4, r1, 0x24 +/* 802C82D8 002C5238 88 01 00 08 */ lbz r0, 8(r1) +/* 802C82DC 002C523C 98 01 00 13 */ stb r0, 0x13(r1) +/* 802C82E0 002C5240 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802C82E4 002C5244 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C82E8 002C5248 48 09 1C A1 */ bl SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei +/* 802C82EC 002C524C 3B FF 00 01 */ addi r31, r31, 1 +lbl_802C82F0: +/* 802C82F0 002C5250 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 802C82F4 002C5254 7C 1F 00 00 */ cmpw r31, r0 +/* 802C82F8 002C5258 41 80 FE F4 */ blt lbl_802C81EC +lbl_802C82FC: +/* 802C82FC 002C525C C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802C8300 002C5260 EC 00 D8 2A */ fadds f0, f0, f27 +/* 802C8304 002C5264 D0 1E 00 3C */ stfs f0, 0x3c(r30) +lbl_802C8308: +/* 802C8308 002C5268 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802C830C 002C526C C8 42 C3 F8 */ lfd f2, lbl_805AE118@sda21(r2) +/* 802C8310 002C5270 EC 20 D8 2A */ fadds f1, f0, f27 +/* 802C8314 002C5274 48 0C C9 99 */ bl fmod +/* 802C8318 002C5278 FC 00 08 18 */ frsp f0, f1 +/* 802C831C 002C527C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802C8320 002C5280 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802C8324 002C5284 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802C8328 002C5288 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 802C832C 002C528C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 802C8330 002C5290 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 802C8334 002C5294 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 802C8338 002C5298 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 802C833C 002C529C CB 81 00 60 */ lfd f28, 0x60(r1) +/* 802C8340 002C52A0 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 802C8344 002C52A4 CB 61 00 50 */ lfd f27, 0x50(r1) +/* 802C8348 002C52A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802C834C 002C52AC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802C8350 002C52B0 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802C8354 002C52B4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802C8358 002C52B8 7C 08 03 A6 */ mtlr r0 +/* 802C835C 002C52BC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802C8360 002C52C0 4E 80 00 20 */ blr + +.global ClearRenderBuffer__15CGuiTextSupportFv +ClearRenderBuffer__15CGuiTextSupportFv: +/* 802C8364 002C52C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C8368 002C52C8 7C 08 02 A6 */ mflr r0 +/* 802C836C 002C52CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C8370 002C52D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C8374 002C52D4 7C 7F 1B 78 */ mr r31, r3 +/* 802C8378 002C52D8 38 7F 00 60 */ addi r3, r31, 0x60 +/* 802C837C 002C52DC 48 00 07 4D */ bl sub_802c8ac8 +/* 802C8380 002C52E0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C8384 002C52E4 38 00 00 00 */ li r0, 0 +/* 802C8388 002C52E8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802C838C 002C52EC 38 7F 02 EC */ addi r3, r31, 0x2ec +/* 802C8390 002C52F0 38 81 00 08 */ addi r4, r1, 8 +/* 802C8394 002C52F4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802C8398 002C52F8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802C839C 002C52FC 90 A1 00 18 */ stw r5, 0x18(r1) +/* 802C83A0 002C5300 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802C83A4 002C5304 48 00 00 25 */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +/* 802C83A8 002C5308 38 61 00 08 */ addi r3, r1, 8 +/* 802C83AC 002C530C 38 80 FF FF */ li r4, -1 +/* 802C83B0 002C5310 48 00 1D 41 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C83B4 002C5314 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C83B8 002C5318 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C83BC 002C531C 7C 08 03 A6 */ mtlr r0 +/* 802C83C0 002C5320 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C83C4 002C5324 4E 80 00 20 */ blr + +.global "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +"__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv": +/* 802C83C8 002C5328 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C83CC 002C532C 7C 08 02 A6 */ mflr r0 +/* 802C83D0 002C5330 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C83D4 002C5334 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C83D8 002C5338 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C83DC 002C533C 7C 9E 23 78 */ mr r30, r4 +/* 802C83E0 002C5340 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C83E4 002C5344 7C 7D 1B 78 */ mr r29, r3 +/* 802C83E8 002C5348 7C 1D F0 40 */ cmplw r29, r30 +/* 802C83EC 002C534C 40 82 00 08 */ bne lbl_802C83F4 +/* 802C83F0 002C5350 48 00 00 5C */ b lbl_802C844C +lbl_802C83F4: +/* 802C83F4 002C5354 83 FD 00 08 */ lwz r31, 8(r29) +/* 802C83F8 002C5358 80 9D 00 04 */ lwz r4, 4(r29) +/* 802C83FC 002C535C 48 00 00 10 */ b lbl_802C840C +lbl_802C8400: +/* 802C8400 002C5360 7F A3 EB 78 */ mr r3, r29 +/* 802C8404 002C5364 48 00 1C 59 */ bl sub_802ca05c +/* 802C8408 002C5368 7C 64 1B 78 */ mr r4, r3 +lbl_802C840C: +/* 802C840C 002C536C 7C 04 F8 40 */ cmplw r4, r31 +/* 802C8410 002C5370 40 82 FF F0 */ bne lbl_802C8400 +/* 802C8414 002C5374 81 1E 00 08 */ lwz r8, 8(r30) +/* 802C8418 002C5378 7F A3 EB 78 */ mr r3, r29 +/* 802C841C 002C537C 80 FE 00 04 */ lwz r7, 4(r30) +/* 802C8420 002C5380 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C8424 002C5384 91 01 00 0C */ stw r8, 0xc(r1) +/* 802C8428 002C5388 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C842C 002C538C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802C8430 002C5390 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802C8434 002C5394 80 1D 00 08 */ lwz r0, 8(r29) +/* 802C8438 002C5398 91 01 00 08 */ stw r8, 8(r1) +/* 802C843C 002C539C 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802C8440 002C53A0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802C8444 002C53A4 48 00 00 25 */ bl sub_802c8468 +/* 802C8448 002C53A8 7F A3 EB 78 */ mr r3, r29 +lbl_802C844C: +/* 802C844C 002C53AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C8450 002C53B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C8454 002C53B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C8458 002C53B8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C845C 002C53BC 7C 08 03 A6 */ mtlr r0 +/* 802C8460 002C53C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C8464 002C53C4 4E 80 00 20 */ blr + +.global sub_802c8468 +sub_802c8468: +/* 802C8468 002C53C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C846C 002C53CC 7C 08 02 A6 */ mflr r0 +/* 802C8470 002C53D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8474 002C53D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8478 002C53D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C847C 002C53DC 7C DE 33 78 */ mr r30, r6 +/* 802C8480 002C53E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C8484 002C53E4 7C 9D 23 78 */ mr r29, r4 +/* 802C8488 002C53E8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C848C 002C53EC 7C 7C 1B 78 */ mr r28, r3 +/* 802C8490 002C53F0 83 E5 00 00 */ lwz r31, 0(r5) +/* 802C8494 002C53F4 48 00 00 1C */ b lbl_802C84B0 +lbl_802C8498: +/* 802C8498 002C53F8 7F 84 E3 78 */ mr r4, r28 +/* 802C849C 002C53FC 7F A5 EB 78 */ mr r5, r29 +/* 802C84A0 002C5400 38 61 00 08 */ addi r3, r1, 8 +/* 802C84A4 002C5404 38 DF 00 08 */ addi r6, r31, 8 +/* 802C84A8 002C5408 48 00 00 35 */ bl sub_802c84dc +/* 802C84AC 002C540C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802C84B0: +/* 802C84B0 002C5410 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C84B4 002C5414 7C 1F 00 40 */ cmplw r31, r0 +/* 802C84B8 002C5418 40 82 FF E0 */ bne lbl_802C8498 +/* 802C84BC 002C541C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C84C0 002C5420 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C84C4 002C5424 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C84C8 002C5428 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C84CC 002C542C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C84D0 002C5430 7C 08 03 A6 */ mtlr r0 +/* 802C84D4 002C5434 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C84D8 002C5438 4E 80 00 20 */ blr + +.global sub_802c84dc +sub_802c84dc: +/* 802C84DC 002C543C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C84E0 002C5440 7C 08 02 A6 */ mflr r0 +/* 802C84E4 002C5444 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C84E8 002C5448 7C 80 23 78 */ mr r0, r4 +/* 802C84EC 002C544C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C84F0 002C5450 7C 7F 1B 78 */ mr r31, r3 +/* 802C84F4 002C5454 7C 03 03 78 */ mr r3, r0 +/* 802C84F8 002C5458 80 85 00 00 */ lwz r4, 0(r5) +/* 802C84FC 002C545C 7C C5 33 78 */ mr r5, r6 +/* 802C8500 002C5460 48 00 00 1D */ bl sub_802c851c +/* 802C8504 002C5464 90 7F 00 00 */ stw r3, 0(r31) +/* 802C8508 002C5468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C850C 002C546C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8510 002C5470 7C 08 03 A6 */ mtlr r0 +/* 802C8514 002C5474 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8518 002C5478 4E 80 00 20 */ blr + +.global sub_802c851c +sub_802c851c: +/* 802C851C 002C547C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8520 002C5480 7C 08 02 A6 */ mflr r0 +/* 802C8524 002C5484 7C A6 2B 78 */ mr r6, r5 +/* 802C8528 002C5488 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C852C 002C548C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8530 002C5490 7C 9F 23 78 */ mr r31, r4 +/* 802C8534 002C5494 7F E5 FB 78 */ mr r5, r31 +/* 802C8538 002C5498 93 C1 00 08 */ stw r30, 8(r1) +/* 802C853C 002C549C 7C 7E 1B 78 */ mr r30, r3 +/* 802C8540 002C54A0 80 84 00 00 */ lwz r4, 0(r4) +/* 802C8544 002C54A4 48 00 00 49 */ bl sub_802c858c +/* 802C8548 002C54A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C854C 002C54AC 7C 1F 00 40 */ cmplw r31, r0 +/* 802C8550 002C54B0 40 82 00 08 */ bne lbl_802C8558 +/* 802C8554 002C54B4 90 7E 00 04 */ stw r3, 4(r30) +lbl_802C8558: +/* 802C8558 002C54B8 80 83 00 00 */ lwz r4, 0(r3) +/* 802C855C 002C54BC 90 64 00 04 */ stw r3, 4(r4) +/* 802C8560 002C54C0 80 83 00 04 */ lwz r4, 4(r3) +/* 802C8564 002C54C4 90 64 00 00 */ stw r3, 0(r4) +/* 802C8568 002C54C8 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802C856C 002C54CC 38 04 00 01 */ addi r0, r4, 1 +/* 802C8570 002C54D0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802C8574 002C54D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8578 002C54D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C857C 002C54DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C8580 002C54E0 7C 08 03 A6 */ mtlr r0 +/* 802C8584 002C54E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8588 002C54E8 4E 80 00 20 */ blr + +.global sub_802c858c +sub_802c858c: +/* 802C858C 002C54EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8590 002C54F0 7C 08 02 A6 */ mflr r0 +/* 802C8594 002C54F4 3C 60 80 3D */ lis r3, lbl_803D68E0@ha +/* 802C8598 002C54F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C859C 002C54FC 38 03 68 E0 */ addi r0, r3, lbl_803D68E0@l +/* 802C85A0 002C5500 38 60 02 60 */ li r3, 0x260 +/* 802C85A4 002C5504 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C85A8 002C5508 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C85AC 002C550C 7C DE 33 78 */ mr r30, r6 +/* 802C85B0 002C5510 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C85B4 002C5514 7C BD 2B 78 */ mr r29, r5 +/* 802C85B8 002C5518 38 A0 00 00 */ li r5, 0 +/* 802C85BC 002C551C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C85C0 002C5520 7C 9C 23 78 */ mr r28, r4 +/* 802C85C4 002C5524 7C 04 03 78 */ mr r4, r0 +/* 802C85C8 002C5528 48 04 D2 51 */ bl __nwa__FUlPCcPCc +/* 802C85CC 002C552C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C85D0 002C5530 41 82 00 0C */ beq lbl_802C85DC +/* 802C85D4 002C5534 93 9F 00 00 */ stw r28, 0(r31) +/* 802C85D8 002C5538 93 BF 00 04 */ stw r29, 4(r31) +lbl_802C85DC: +/* 802C85DC 002C553C 34 7F 00 08 */ addic. r3, r31, 8 +/* 802C85E0 002C5540 41 82 00 0C */ beq lbl_802C85EC +/* 802C85E4 002C5544 7F C4 F3 78 */ mr r4, r30 +/* 802C85E8 002C5548 48 00 00 29 */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +lbl_802C85EC: +/* 802C85EC 002C554C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C85F0 002C5550 7F E3 FB 78 */ mr r3, r31 +/* 802C85F4 002C5554 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C85F8 002C5558 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C85FC 002C555C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C8600 002C5560 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C8604 002C5564 7C 08 03 A6 */ mtlr r0 +/* 802C8608 002C5568 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C860C 002C556C 4E 80 00 20 */ blr + +.global __as__17CTextRenderBufferFRC17CTextRenderBuffer +__as__17CTextRenderBufferFRC17CTextRenderBuffer: +/* 802C8610 002C5570 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8614 002C5574 7C 08 02 A6 */ mflr r0 +/* 802C8618 002C5578 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C861C 002C557C BF 41 00 08 */ stmw r26, 8(r1) +/* 802C8620 002C5580 7C 9F 23 78 */ mr r31, r4 +/* 802C8624 002C5584 7C 7E 1B 78 */ mr r30, r3 +/* 802C8628 002C5588 80 04 00 00 */ lwz r0, 0(r4) +/* 802C862C 002C558C 90 03 00 00 */ stw r0, 0(r3) +/* 802C8630 002C5590 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8634 002C5594 90 03 00 08 */ stw r0, 8(r3) +/* 802C8638 002C5598 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C863C 002C559C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802C8640 002C55A0 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8644 002C55A4 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8648 002C55A8 40 82 00 1C */ bne lbl_802C8664 +/* 802C864C 002C55AC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802C8650 002C55B0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8654 002C55B4 40 82 00 10 */ bne lbl_802C8664 +/* 802C8658 002C55B8 38 00 00 00 */ li r0, 0 +/* 802C865C 002C55BC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802C8660 002C55C0 48 00 00 6C */ b lbl_802C86CC +lbl_802C8664: +/* 802C8664 002C55C4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 802C8668 002C55C8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802C866C 002C55CC 40 82 00 10 */ bne lbl_802C867C +/* 802C8670 002C55D0 38 00 00 00 */ li r0, 0 +/* 802C8674 002C55D4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 802C8678 002C55D8 48 00 00 18 */ b lbl_802C8690 +lbl_802C867C: +/* 802C867C 002C55DC 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8680 002C55E0 38 A0 00 00 */ li r5, 0 +/* 802C8684 002C55E4 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8688 002C55E8 48 04 D1 91 */ bl __nwa__FUlPCcPCc +/* 802C868C 002C55EC 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_802C8690: +/* 802C8690 002C55F0 83 5E 00 08 */ lwz r26, 8(r30) +/* 802C8694 002C55F4 3B A0 00 00 */ li r29, 0 +/* 802C8698 002C55F8 83 7F 00 10 */ lwz r27, 0x10(r31) +/* 802C869C 002C55FC 83 9E 00 10 */ lwz r28, 0x10(r30) +/* 802C86A0 002C5600 48 00 00 24 */ b lbl_802C86C4 +lbl_802C86A4: +/* 802C86A4 002C5604 28 1C 00 00 */ cmplwi r28, 0 +/* 802C86A8 002C5608 41 82 00 10 */ beq lbl_802C86B8 +/* 802C86AC 002C560C 7F 83 E3 78 */ mr r3, r28 +/* 802C86B0 002C5610 7F 64 DB 78 */ mr r4, r27 +/* 802C86B4 002C5614 48 07 87 F5 */ bl __ct__6CTokenFRC6CToken +lbl_802C86B8: +/* 802C86B8 002C5618 3B 9C 00 08 */ addi r28, r28, 8 +/* 802C86BC 002C561C 3B BD 00 01 */ addi r29, r29, 1 +/* 802C86C0 002C5620 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802C86C4: +/* 802C86C4 002C5624 7C 1D D0 00 */ cmpw r29, r26 +/* 802C86C8 002C5628 41 80 FF DC */ blt lbl_802C86A4 +lbl_802C86CC: +/* 802C86CC 002C562C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802C86D0 002C5630 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802C86D4 002C5634 48 00 01 C9 */ bl sub_802c889c +/* 802C86D8 002C5638 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802C86DC 002C563C 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802C86E0 002C5640 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 802C86E4 002C5644 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802C86E8 002C5648 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802C86EC 002C564C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C86F0 002C5650 40 82 00 1C */ bne lbl_802C870C +/* 802C86F4 002C5654 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 802C86F8 002C5658 2C 00 00 00 */ cmpwi r0, 0 +/* 802C86FC 002C565C 40 82 00 10 */ bne lbl_802C870C +/* 802C8700 002C5660 38 00 00 00 */ li r0, 0 +/* 802C8704 002C5664 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802C8708 002C5668 48 00 00 64 */ b lbl_802C876C +lbl_802C870C: +/* 802C870C 002C566C 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 802C8710 002C5670 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802C8714 002C5674 40 82 00 10 */ bne lbl_802C8724 +/* 802C8718 002C5678 38 00 00 00 */ li r0, 0 +/* 802C871C 002C567C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802C8720 002C5680 48 00 00 18 */ b lbl_802C8738 +lbl_802C8724: +/* 802C8724 002C5684 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8728 002C5688 38 A0 00 00 */ li r5, 0 +/* 802C872C 002C568C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8730 002C5690 48 04 D0 E9 */ bl __nwa__FUlPCcPCc +/* 802C8734 002C5694 90 7E 00 30 */ stw r3, 0x30(r30) +lbl_802C8738: +/* 802C8738 002C5698 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 802C873C 002C569C 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 802C8740 002C56A0 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 802C8744 002C56A4 7C 09 03 A6 */ mtctr r0 +/* 802C8748 002C56A8 2C 00 00 00 */ cmpwi r0, 0 +/* 802C874C 002C56AC 40 81 00 20 */ ble lbl_802C876C +lbl_802C8750: +/* 802C8750 002C56B0 28 03 00 00 */ cmplwi r3, 0 +/* 802C8754 002C56B4 41 82 00 0C */ beq lbl_802C8760 +/* 802C8758 002C56B8 80 04 00 00 */ lwz r0, 0(r4) +/* 802C875C 002C56BC 90 03 00 00 */ stw r0, 0(r3) +lbl_802C8760: +/* 802C8760 002C56C0 38 63 00 04 */ addi r3, r3, 4 +/* 802C8764 002C56C4 38 84 00 04 */ addi r4, r4, 4 +/* 802C8768 002C56C8 42 00 FF E8 */ bdnz lbl_802C8750 +lbl_802C876C: +/* 802C876C 002C56CC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802C8770 002C56D0 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802C8774 002C56D4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802C8778 002C56D8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802C877C 002C56DC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802C8780 002C56E0 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8784 002C56E4 40 82 00 1C */ bne lbl_802C87A0 +/* 802C8788 002C56E8 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 802C878C 002C56EC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8790 002C56F0 40 82 00 10 */ bne lbl_802C87A0 +/* 802C8794 002C56F4 38 00 00 00 */ li r0, 0 +/* 802C8798 002C56F8 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802C879C 002C56FC 48 00 00 64 */ b lbl_802C8800 +lbl_802C87A0: +/* 802C87A0 002C5700 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802C87A4 002C5704 2C 03 00 00 */ cmpwi r3, 0 +/* 802C87A8 002C5708 40 82 00 10 */ bne lbl_802C87B8 +/* 802C87AC 002C570C 38 00 00 00 */ li r0, 0 +/* 802C87B0 002C5710 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802C87B4 002C5714 48 00 00 18 */ b lbl_802C87CC +lbl_802C87B8: +/* 802C87B8 002C5718 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C87BC 002C571C 38 A0 00 00 */ li r5, 0 +/* 802C87C0 002C5720 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C87C4 002C5724 48 04 D0 55 */ bl __nwa__FUlPCcPCc +/* 802C87C8 002C5728 90 7E 00 40 */ stw r3, 0x40(r30) +lbl_802C87CC: +/* 802C87CC 002C572C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802C87D0 002C5730 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 802C87D4 002C5734 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802C87D8 002C5738 7C 09 03 A6 */ mtctr r0 +/* 802C87DC 002C573C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C87E0 002C5740 40 81 00 20 */ ble lbl_802C8800 +lbl_802C87E4: +/* 802C87E4 002C5744 28 03 00 00 */ cmplwi r3, 0 +/* 802C87E8 002C5748 41 82 00 0C */ beq lbl_802C87F4 +/* 802C87EC 002C574C 88 04 00 00 */ lbz r0, 0(r4) +/* 802C87F0 002C5750 98 03 00 00 */ stb r0, 0(r3) +lbl_802C87F4: +/* 802C87F4 002C5754 38 63 00 01 */ addi r3, r3, 1 +/* 802C87F8 002C5758 38 84 00 01 */ addi r4, r4, 1 +/* 802C87FC 002C575C 42 00 FF E8 */ bdnz lbl_802C87E4 +lbl_802C8800: +/* 802C8800 002C5760 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802C8804 002C5764 38 BE 00 54 */ addi r5, r30, 0x54 +/* 802C8808 002C5768 38 9F 00 54 */ addi r4, r31, 0x54 +/* 802C880C 002C576C 38 60 00 00 */ li r3, 0 +/* 802C8810 002C5770 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802C8814 002C5774 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802C8818 002C5778 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802C881C 002C577C 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 802C8820 002C5780 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802C8824 002C5784 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 802C8828 002C5788 98 1E 00 4D */ stb r0, 0x4d(r30) +/* 802C882C 002C578C 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 802C8830 002C5790 98 1E 00 4E */ stb r0, 0x4e(r30) +/* 802C8834 002C5794 88 1F 00 4F */ lbz r0, 0x4f(r31) +/* 802C8838 002C5798 98 1E 00 4F */ stb r0, 0x4f(r30) +/* 802C883C 002C579C 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8840 002C57A0 90 1E 00 50 */ stw r0, 0x50(r30) +/* 802C8844 002C57A4 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 802C8848 002C57A8 7C 09 03 A6 */ mtctr r0 +/* 802C884C 002C57AC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8850 002C57B0 40 81 00 2C */ ble lbl_802C887C +lbl_802C8854: +/* 802C8854 002C57B4 28 05 00 00 */ cmplwi r5, 0 +/* 802C8858 002C57B8 41 82 00 18 */ beq lbl_802C8870 +/* 802C885C 002C57BC 88 04 00 00 */ lbz r0, 0(r4) +/* 802C8860 002C57C0 98 05 00 00 */ stb r0, 0(r5) +/* 802C8864 002C57C4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C8868 002C57C8 90 05 00 04 */ stw r0, 4(r5) +/* 802C886C 002C57CC 98 64 00 00 */ stb r3, 0(r4) +lbl_802C8870: +/* 802C8870 002C57D0 38 A5 00 08 */ addi r5, r5, 8 +/* 802C8874 002C57D4 38 84 00 08 */ addi r4, r4, 8 +/* 802C8878 002C57D8 42 00 FF DC */ bdnz lbl_802C8854 +lbl_802C887C: +/* 802C887C 002C57DC 80 1F 02 54 */ lwz r0, 0x254(r31) +/* 802C8880 002C57E0 7F C3 F3 78 */ mr r3, r30 +/* 802C8884 002C57E4 90 1E 02 54 */ stw r0, 0x254(r30) +/* 802C8888 002C57E8 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C888C 002C57EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8890 002C57F0 7C 08 03 A6 */ mtlr r0 +/* 802C8894 002C57F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8898 002C57F8 4E 80 00 20 */ blr + +.global sub_802c889c +sub_802c889c: +/* 802C889C 002C57FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C88A0 002C5800 7C 08 02 A6 */ mflr r0 +/* 802C88A4 002C5804 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C88A8 002C5808 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C88AC 002C580C 7C 9F 23 78 */ mr r31, r4 +/* 802C88B0 002C5810 93 C1 00 08 */ stw r30, 8(r1) +/* 802C88B4 002C5814 7C 7E 1B 78 */ mr r30, r3 +/* 802C88B8 002C5818 80 04 00 04 */ lwz r0, 4(r4) +/* 802C88BC 002C581C 90 03 00 04 */ stw r0, 4(r3) +/* 802C88C0 002C5820 80 04 00 08 */ lwz r0, 8(r4) +/* 802C88C4 002C5824 90 03 00 08 */ stw r0, 8(r3) +/* 802C88C8 002C5828 80 04 00 04 */ lwz r0, 4(r4) +/* 802C88CC 002C582C 2C 00 00 00 */ cmpwi r0, 0 +/* 802C88D0 002C5830 40 82 00 1C */ bne lbl_802C88EC +/* 802C88D4 002C5834 80 1F 00 08 */ lwz r0, 8(r31) +/* 802C88D8 002C5838 2C 00 00 00 */ cmpwi r0, 0 +/* 802C88DC 002C583C 40 82 00 10 */ bne lbl_802C88EC +/* 802C88E0 002C5840 38 00 00 00 */ li r0, 0 +/* 802C88E4 002C5844 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C88E8 002C5848 48 00 00 44 */ b lbl_802C892C +lbl_802C88EC: +/* 802C88EC 002C584C 80 1E 00 08 */ lwz r0, 8(r30) +/* 802C88F0 002C5850 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 802C88F4 002C5854 2C 03 00 00 */ cmpwi r3, 0 +/* 802C88F8 002C5858 40 82 00 10 */ bne lbl_802C8908 +/* 802C88FC 002C585C 38 00 00 00 */ li r0, 0 +/* 802C8900 002C5860 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C8904 002C5864 48 00 00 18 */ b lbl_802C891C +lbl_802C8908: +/* 802C8908 002C5868 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C890C 002C586C 38 A0 00 00 */ li r5, 0 +/* 802C8910 002C5870 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8914 002C5874 48 04 CF 05 */ bl __nwa__FUlPCcPCc +/* 802C8918 002C5878 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802C891C: +/* 802C891C 002C587C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8920 002C5880 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8924 002C5884 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C8928 002C5888 48 00 00 21 */ bl sub_802c8948 +lbl_802C892C: +/* 802C892C 002C588C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8930 002C5890 7F C3 F3 78 */ mr r3, r30 +/* 802C8934 002C5894 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8938 002C5898 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C893C 002C589C 7C 08 03 A6 */ mtlr r0 +/* 802C8940 002C58A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8944 002C58A4 4E 80 00 20 */ blr + +.global sub_802c8948 +sub_802c8948: +/* 802C8948 002C58A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C894C 002C58AC 7C 08 02 A6 */ mflr r0 +/* 802C8950 002C58B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8954 002C58B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8958 002C58B8 7C 7F 1B 78 */ mr r31, r3 +/* 802C895C 002C58BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8960 002C58C0 7C BE 2B 78 */ mr r30, r5 +/* 802C8964 002C58C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C8968 002C58C8 3B A0 00 00 */ li r29, 0 +/* 802C896C 002C58CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C8970 002C58D0 7C 9C 23 78 */ mr r28, r4 +/* 802C8974 002C58D4 48 00 00 1C */ b lbl_802C8990 +lbl_802C8978: +/* 802C8978 002C58D8 7F C3 F3 78 */ mr r3, r30 +/* 802C897C 002C58DC 7F E4 FB 78 */ mr r4, r31 +/* 802C8980 002C58E0 48 00 00 3D */ bl sub_802c89bc +/* 802C8984 002C58E4 3B DE 00 1C */ addi r30, r30, 0x1c +/* 802C8988 002C58E8 3B BD 00 01 */ addi r29, r29, 1 +/* 802C898C 002C58EC 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802C8990: +/* 802C8990 002C58F0 7C 1D E0 00 */ cmpw r29, r28 +/* 802C8994 002C58F4 41 80 FF E4 */ blt lbl_802C8978 +/* 802C8998 002C58F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C899C 002C58FC 7F C3 F3 78 */ mr r3, r30 +/* 802C89A0 002C5900 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C89A4 002C5904 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C89A8 002C5908 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C89AC 002C590C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C89B0 002C5910 7C 08 03 A6 */ mtlr r0 +/* 802C89B4 002C5914 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C89B8 002C5918 4E 80 00 20 */ blr + +.global sub_802c89bc +sub_802c89bc: +/* 802C89BC 002C591C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C89C0 002C5920 7C 08 02 A6 */ mflr r0 +/* 802C89C4 002C5924 28 03 00 00 */ cmplwi r3, 0 +/* 802C89C8 002C5928 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C89CC 002C592C 41 82 00 08 */ beq lbl_802C89D4 +/* 802C89D0 002C5930 48 00 00 15 */ bl sub_802c89e4 +lbl_802C89D4: +/* 802C89D4 002C5934 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C89D8 002C5938 7C 08 03 A6 */ mtlr r0 +/* 802C89DC 002C593C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C89E0 002C5940 4E 80 00 20 */ blr + +.global sub_802c89e4 +sub_802c89e4: +/* 802C89E4 002C5944 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C89E8 002C5948 7C 08 02 A6 */ mflr r0 +/* 802C89EC 002C594C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C89F0 002C5950 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C89F4 002C5954 7C 9B 23 78 */ mr r27, r4 +/* 802C89F8 002C5958 7C 7A 1B 78 */ mr r26, r3 +/* 802C89FC 002C595C C0 04 00 00 */ lfs f0, 0(r4) +/* 802C8A00 002C5960 D0 03 00 00 */ stfs f0, 0(r3) +/* 802C8A04 002C5964 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8A08 002C5968 90 03 00 08 */ stw r0, 8(r3) +/* 802C8A0C 002C596C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802C8A10 002C5970 90 03 00 0C */ stw r0, 0xc(r3) +/* 802C8A14 002C5974 80 04 00 08 */ lwz r0, 8(r4) +/* 802C8A18 002C5978 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8A1C 002C597C 40 82 00 1C */ bne lbl_802C8A38 +/* 802C8A20 002C5980 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 802C8A24 002C5984 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8A28 002C5988 40 82 00 10 */ bne lbl_802C8A38 +/* 802C8A2C 002C598C 38 00 00 00 */ li r0, 0 +/* 802C8A30 002C5990 90 1A 00 10 */ stw r0, 0x10(r26) +/* 802C8A34 002C5994 48 00 00 6C */ b lbl_802C8AA0 +lbl_802C8A38: +/* 802C8A38 002C5998 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 802C8A3C 002C599C 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 802C8A40 002C59A0 40 82 00 10 */ bne lbl_802C8A50 +/* 802C8A44 002C59A4 38 00 00 00 */ li r0, 0 +/* 802C8A48 002C59A8 90 1A 00 10 */ stw r0, 0x10(r26) +/* 802C8A4C 002C59AC 48 00 00 18 */ b lbl_802C8A64 +lbl_802C8A50: +/* 802C8A50 002C59B0 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802C8A54 002C59B4 38 A0 00 00 */ li r5, 0 +/* 802C8A58 002C59B8 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802C8A5C 002C59BC 48 04 CD BD */ bl __nwa__FUlPCcPCc +/* 802C8A60 002C59C0 90 7A 00 10 */ stw r3, 0x10(r26) +lbl_802C8A64: +/* 802C8A64 002C59C4 83 9A 00 08 */ lwz r28, 8(r26) +/* 802C8A68 002C59C8 3B E0 00 00 */ li r31, 0 +/* 802C8A6C 002C59CC 83 BB 00 10 */ lwz r29, 0x10(r27) +/* 802C8A70 002C59D0 83 DA 00 10 */ lwz r30, 0x10(r26) +/* 802C8A74 002C59D4 48 00 00 24 */ b lbl_802C8A98 +lbl_802C8A78: +/* 802C8A78 002C59D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802C8A7C 002C59DC 41 82 00 10 */ beq lbl_802C8A8C +/* 802C8A80 002C59E0 7F C3 F3 78 */ mr r3, r30 +/* 802C8A84 002C59E4 7F A4 EB 78 */ mr r4, r29 +/* 802C8A88 002C59E8 48 07 84 21 */ bl __ct__6CTokenFRC6CToken +lbl_802C8A8C: +/* 802C8A8C 002C59EC 3B DE 00 08 */ addi r30, r30, 8 +/* 802C8A90 002C59F0 3B FF 00 01 */ addi r31, r31, 1 +/* 802C8A94 002C59F4 3B BD 00 08 */ addi r29, r29, 8 +lbl_802C8A98: +/* 802C8A98 002C59F8 7C 1F E0 00 */ cmpw r31, r28 +/* 802C8A9C 002C59FC 41 80 FF DC */ blt lbl_802C8A78 +lbl_802C8AA0: +/* 802C8AA0 002C5A00 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 802C8AA4 002C5A04 7F 43 D3 78 */ mr r3, r26 +/* 802C8AA8 002C5A08 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 802C8AAC 002C5A0C C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 802C8AB0 002C5A10 D0 1A 00 18 */ stfs f0, 0x18(r26) +/* 802C8AB4 002C5A14 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C8AB8 002C5A18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8ABC 002C5A1C 7C 08 03 A6 */ mtlr r0 +/* 802C8AC0 002C5A20 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8AC4 002C5A24 4E 80 00 20 */ blr + +.global sub_802c8ac8 +sub_802c8ac8: +/* 802C8AC8 002C5A28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8ACC 002C5A2C 7C 08 02 A6 */ mflr r0 +/* 802C8AD0 002C5A30 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8AD4 002C5A34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8AD8 002C5A38 7C 7F 1B 78 */ mr r31, r3 +/* 802C8ADC 002C5A3C 88 03 02 58 */ lbz r0, 0x258(r3) +/* 802C8AE0 002C5A40 28 00 00 00 */ cmplwi r0, 0 +/* 802C8AE4 002C5A44 41 82 00 08 */ beq lbl_802C8AEC +/* 802C8AE8 002C5A48 48 00 00 21 */ bl sub_802c8b08 +lbl_802C8AEC: +/* 802C8AEC 002C5A4C 38 00 00 00 */ li r0, 0 +/* 802C8AF0 002C5A50 98 1F 02 58 */ stb r0, 0x258(r31) +/* 802C8AF4 002C5A54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8AF8 002C5A58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8AFC 002C5A5C 7C 08 03 A6 */ mtlr r0 +/* 802C8B00 002C5A60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8B04 002C5A64 4E 80 00 20 */ blr + +.global sub_802c8b08 +sub_802c8b08: +/* 802C8B08 002C5A68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8B0C 002C5A6C 7C 08 02 A6 */ mflr r0 +/* 802C8B10 002C5A70 38 80 FF FF */ li r4, -1 +/* 802C8B14 002C5A74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8B18 002C5A78 4B D5 FE 45 */ bl __dt__17CTextRenderBufferFv +/* 802C8B1C 002C5A7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8B20 002C5A80 7C 08 03 A6 */ mtlr r0 +/* 802C8B24 002C5A84 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8B28 002C5A88 4E 80 00 20 */ blr + +.global CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +CheckAndRebuildRenderBuffer__15CGuiTextSupportFv: +/* 802C8B2C 002C5A8C 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802C8B30 002C5A90 7C 08 02 A6 */ mflr r0 +/* 802C8B34 002C5A94 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802C8B38 002C5A98 93 E1 02 BC */ stw r31, 0x2bc(r1) +/* 802C8B3C 002C5A9C 93 C1 02 B8 */ stw r30, 0x2b8(r1) +/* 802C8B40 002C5AA0 93 A1 02 B4 */ stw r29, 0x2b4(r1) +/* 802C8B44 002C5AA4 7C 7D 1B 78 */ mr r29, r3 +/* 802C8B48 002C5AA8 88 63 03 08 */ lbz r3, 0x308(r3) +/* 802C8B4C 002C5AAC 28 03 00 00 */ cmplwi r3, 0 +/* 802C8B50 002C5AB0 40 82 00 10 */ bne lbl_802C8B60 +/* 802C8B54 002C5AB4 88 1D 02 B8 */ lbz r0, 0x2b8(r29) +/* 802C8B58 002C5AB8 28 00 00 00 */ cmplwi r0, 0 +/* 802C8B5C 002C5ABC 41 82 00 18 */ beq lbl_802C8B74 +lbl_802C8B60: +/* 802C8B60 002C5AC0 28 03 00 00 */ cmplwi r3, 0 +/* 802C8B64 002C5AC4 41 82 01 4C */ beq lbl_802C8CB0 +/* 802C8B68 002C5AC8 80 1D 03 00 */ lwz r0, 0x300(r29) +/* 802C8B6C 002C5ACC 2C 00 00 00 */ cmpwi r0, 0 +/* 802C8B70 002C5AD0 40 82 01 40 */ bne lbl_802C8CB0 +lbl_802C8B74: +/* 802C8B74 002C5AD4 7F A3 EB 78 */ mr r3, r29 +/* 802C8B78 002C5AD8 48 00 07 91 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv +/* 802C8B7C 002C5ADC 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8B80 002C5AE0 38 61 00 30 */ addi r3, r1, 0x30 +/* 802C8B84 002C5AE4 48 03 97 31 */ bl GetAssets__18CTextExecuteBufferFv +/* 802C8B88 002C5AE8 38 7D 02 BC */ addi r3, r29, 0x2bc +/* 802C8B8C 002C5AEC 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C8B90 002C5AF0 4B D3 DC 75 */ bl sub_80006804 +/* 802C8B94 002C5AF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C8B98 002C5AF8 83 C1 00 3C */ lwz r30, 0x3c(r1) +/* 802C8B9C 002C5AFC 54 00 18 38 */ slwi r0, r0, 3 +/* 802C8BA0 002C5B00 7F FE 02 14 */ add r31, r30, r0 +/* 802C8BA4 002C5B04 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802C8BA8 002C5B08 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802C8BAC 002C5B0C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 802C8BB0 002C5B10 93 C1 00 08 */ stw r30, 8(r1) +/* 802C8BB4 002C5B14 48 00 00 14 */ b lbl_802C8BC8 +lbl_802C8BB8: +/* 802C8BB8 002C5B18 7F C3 F3 78 */ mr r3, r30 +/* 802C8BBC 002C5B1C 38 80 FF FF */ li r4, -1 +/* 802C8BC0 002C5B20 48 07 82 81 */ bl __dt__6CTokenFv +/* 802C8BC4 002C5B24 3B DE 00 08 */ addi r30, r30, 8 +lbl_802C8BC8: +/* 802C8BC8 002C5B28 7C 1E F8 40 */ cmplw r30, r31 +/* 802C8BCC 002C5B2C 40 82 FF EC */ bne lbl_802C8BB8 +/* 802C8BD0 002C5B30 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802C8BD4 002C5B34 28 03 00 00 */ cmplwi r3, 0 +/* 802C8BD8 002C5B38 41 82 00 08 */ beq lbl_802C8BE0 +/* 802C8BDC 002C5B3C 48 04 CD 55 */ bl Free__7CMemoryFPCv +lbl_802C8BE0: +/* 802C8BE0 002C5B40 7F A3 EB 78 */ mr r3, r29 +/* 802C8BE4 002C5B44 48 00 0F 8D */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 802C8BE8 002C5B48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C8BEC 002C5B4C 41 82 00 B0 */ beq lbl_802C8C9C +/* 802C8BF0 002C5B50 7F A3 EB 78 */ mr r3, r29 +/* 802C8BF4 002C5B54 48 00 07 15 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv +/* 802C8BF8 002C5B58 88 1D 03 08 */ lbz r0, 0x308(r29) +/* 802C8BFC 002C5B5C 28 00 00 00 */ cmplwi r0, 0 +/* 802C8C00 002C5B60 41 82 00 40 */ beq lbl_802C8C40 +/* 802C8C04 002C5B64 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 802C8C08 002C5B68 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C8C0C 002C5B6C 80 BD 00 38 */ lwz r5, 0x38(r29) +/* 802C8C10 002C5B70 48 04 B7 3D */ bl __ct__9CVector2iFii +/* 802C8C14 002C5B74 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8C18 002C5B78 7C 65 1B 78 */ mr r5, r3 +/* 802C8C1C 002C5B7C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C8C20 002C5B80 48 03 8F 11 */ bl BuildRenderBufferPages__18CTextExecuteBufferFRC9CVector2i +/* 802C8C24 002C5B84 38 7D 02 EC */ addi r3, r29, 0x2ec +/* 802C8C28 002C5B88 38 81 00 40 */ addi r4, r1, 0x40 +/* 802C8C2C 002C5B8C 4B FF F7 9D */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" +/* 802C8C30 002C5B90 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C8C34 002C5B94 38 80 FF FF */ li r4, -1 +/* 802C8C38 002C5B98 48 00 14 B9 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C8C3C 002C5B9C 48 00 00 54 */ b lbl_802C8C90 +lbl_802C8C40: +/* 802C8C40 002C5BA0 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C8C44 002C5BA4 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C8C48 002C5BA8 48 03 95 69 */ bl BuildRenderBuffer__18CTextExecuteBufferFv +/* 802C8C4C 002C5BAC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 802C8C50 002C5BB0 38 81 00 58 */ addi r4, r1, 0x58 +/* 802C8C54 002C5BB4 48 00 00 7D */ bl sub_802c8cd0 +/* 802C8C58 002C5BB8 38 61 00 58 */ addi r3, r1, 0x58 +/* 802C8C5C 002C5BBC 38 80 FF FF */ li r4, -1 +/* 802C8C60 002C5BC0 4B D5 FC FD */ bl __dt__17CTextRenderBufferFv +/* 802C8C64 002C5BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C8C68 002C5BC8 38 9D 00 60 */ addi r4, r29, 0x60 +/* 802C8C6C 002C5BCC 48 09 0E 81 */ bl AccumulateTextBounds__17CTextRenderBufferFv +/* 802C8C70 002C5BD0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802C8C74 002C5BD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8C78 002C5BD8 90 7D 02 DC */ stw r3, 0x2dc(r29) +/* 802C8C7C 002C5BDC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802C8C80 002C5BE0 90 1D 02 E0 */ stw r0, 0x2e0(r29) +/* 802C8C84 002C5BE4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802C8C88 002C5BE8 90 7D 02 E4 */ stw r3, 0x2e4(r29) +/* 802C8C8C 002C5BEC 90 1D 02 E8 */ stw r0, 0x2e8(r29) +lbl_802C8C90: +/* 802C8C90 002C5BF0 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C8C94 002C5BF4 48 03 B0 55 */ bl Clear__18CTextExecuteBufferFv +/* 802C8C98 002C5BF8 48 00 00 0C */ b lbl_802C8CA4 +lbl_802C8C9C: +/* 802C8C9C 002C5BFC 38 60 00 00 */ li r3, 0 +/* 802C8CA0 002C5C00 48 00 00 14 */ b lbl_802C8CB4 +lbl_802C8CA4: +/* 802C8CA4 002C5C04 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) +/* 802C8CA8 002C5C08 7F A3 EB 78 */ mr r3, r29 +/* 802C8CAC 002C5C0C 4B FF F4 CD */ bl Update__15CGuiTextSupportFf +lbl_802C8CB0: +/* 802C8CB0 002C5C10 38 60 00 01 */ li r3, 1 +lbl_802C8CB4: +/* 802C8CB4 002C5C14 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802C8CB8 002C5C18 83 E1 02 BC */ lwz r31, 0x2bc(r1) +/* 802C8CBC 002C5C1C 83 C1 02 B8 */ lwz r30, 0x2b8(r1) +/* 802C8CC0 002C5C20 83 A1 02 B4 */ lwz r29, 0x2b4(r1) +/* 802C8CC4 002C5C24 7C 08 03 A6 */ mtlr r0 +/* 802C8CC8 002C5C28 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802C8CCC 002C5C2C 4E 80 00 20 */ blr + +.global sub_802c8cd0 +sub_802c8cd0: +/* 802C8CD0 002C5C30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8CD4 002C5C34 7C 08 02 A6 */ mflr r0 +/* 802C8CD8 002C5C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8CDC 002C5C3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8CE0 002C5C40 7C 7F 1B 78 */ mr r31, r3 +/* 802C8CE4 002C5C44 48 00 00 1D */ bl sub_802c8d00 +/* 802C8CE8 002C5C48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8CEC 002C5C4C 7F E3 FB 78 */ mr r3, r31 +/* 802C8CF0 002C5C50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8CF4 002C5C54 7C 08 03 A6 */ mtlr r0 +/* 802C8CF8 002C5C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8CFC 002C5C5C 4E 80 00 20 */ blr + +.global sub_802c8d00 +sub_802c8d00: +/* 802C8D00 002C5C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C8D04 002C5C64 7C 08 02 A6 */ mflr r0 +/* 802C8D08 002C5C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8D0C 002C5C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C8D10 002C5C70 7C 7F 1B 78 */ mr r31, r3 +/* 802C8D14 002C5C74 88 03 02 58 */ lbz r0, 0x258(r3) +/* 802C8D18 002C5C78 28 00 00 00 */ cmplwi r0, 0 +/* 802C8D1C 002C5C7C 40 82 00 14 */ bne lbl_802C8D30 +/* 802C8D20 002C5C80 48 00 05 C1 */ bl sub_802c92e0 +/* 802C8D24 002C5C84 38 00 00 01 */ li r0, 1 +/* 802C8D28 002C5C88 98 1F 02 58 */ stb r0, 0x258(r31) +/* 802C8D2C 002C5C8C 48 00 00 08 */ b lbl_802C8D34 +lbl_802C8D30: +/* 802C8D30 002C5C90 48 00 00 19 */ bl sub_802c8d48 +lbl_802C8D34: +/* 802C8D34 002C5C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C8D38 002C5C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C8D3C 002C5C9C 7C 08 03 A6 */ mtlr r0 +/* 802C8D40 002C5CA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C8D44 002C5CA4 4E 80 00 20 */ blr + +.global sub_802c8d48 +sub_802c8d48: +/* 802C8D48 002C5CA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8D4C 002C5CAC 7C 08 02 A6 */ mflr r0 +/* 802C8D50 002C5CB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8D54 002C5CB4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802C8D58 002C5CB8 7C 7E 1B 78 */ mr r30, r3 +/* 802C8D5C 002C5CBC 7C 9F 23 78 */ mr r31, r4 +/* 802C8D60 002C5CC0 38 7E 00 04 */ addi r3, r30, 4 +/* 802C8D64 002C5CC4 80 04 00 00 */ lwz r0, 0(r4) +/* 802C8D68 002C5CC8 38 9F 00 04 */ addi r4, r31, 4 +/* 802C8D6C 002C5CCC 90 1E 00 00 */ stw r0, 0(r30) +/* 802C8D70 002C5CD0 48 00 04 6D */ bl sub_802c91dc +/* 802C8D74 002C5CD4 38 7E 00 14 */ addi r3, r30, 0x14 +/* 802C8D78 002C5CD8 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802C8D7C 002C5CDC 48 00 02 FD */ bl sub_802c9078 +/* 802C8D80 002C5CE0 38 7E 00 24 */ addi r3, r30, 0x24 +/* 802C8D84 002C5CE4 38 9F 00 24 */ addi r4, r31, 0x24 +/* 802C8D88 002C5CE8 48 00 01 FD */ bl sub_802c8f84 +/* 802C8D8C 002C5CEC 38 7E 00 34 */ addi r3, r30, 0x34 +/* 802C8D90 002C5CF0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802C8D94 002C5CF4 48 00 00 F9 */ bl sub_802c8e8c +/* 802C8D98 002C5CF8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 802C8D9C 002C5CFC 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802C8DA0 002C5D00 38 1F 00 50 */ addi r0, r31, 0x50 +/* 802C8DA4 002C5D04 90 9E 00 44 */ stw r4, 0x44(r30) +/* 802C8DA8 002C5D08 7C 03 00 40 */ cmplw r3, r0 +/* 802C8DAC 002C5D0C 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802C8DB0 002C5D10 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802C8DB4 002C5D14 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 802C8DB8 002C5D18 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802C8DBC 002C5D1C 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 802C8DC0 002C5D20 98 1E 00 4D */ stb r0, 0x4d(r30) +/* 802C8DC4 002C5D24 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 802C8DC8 002C5D28 98 1E 00 4E */ stb r0, 0x4e(r30) +/* 802C8DCC 002C5D2C 88 1F 00 4F */ lbz r0, 0x4f(r31) +/* 802C8DD0 002C5D30 98 1E 00 4F */ stb r0, 0x4f(r30) +/* 802C8DD4 002C5D34 41 82 00 98 */ beq lbl_802C8E6C +/* 802C8DD8 002C5D38 3B 7E 00 54 */ addi r27, r30, 0x54 +/* 802C8DDC 002C5D3C 3B A0 00 00 */ li r29, 0 +/* 802C8DE0 002C5D40 7F 7C DB 78 */ mr r28, r27 +/* 802C8DE4 002C5D44 48 00 00 2C */ b lbl_802C8E10 +lbl_802C8DE8: +/* 802C8DE8 002C5D48 28 1C 00 00 */ cmplwi r28, 0 +/* 802C8DEC 002C5D4C 41 82 00 1C */ beq lbl_802C8E08 +/* 802C8DF0 002C5D50 88 1C 00 00 */ lbz r0, 0(r28) +/* 802C8DF4 002C5D54 28 00 00 00 */ cmplwi r0, 0 +/* 802C8DF8 002C5D58 41 82 00 10 */ beq lbl_802C8E08 +/* 802C8DFC 002C5D5C 80 7C 00 04 */ lwz r3, 4(r28) +/* 802C8E00 002C5D60 38 80 00 01 */ li r4, 1 +/* 802C8E04 002C5D64 48 04 50 FD */ bl __dt__16CGraphicsPaletteFv +lbl_802C8E08: +/* 802C8E08 002C5D68 3B 9C 00 08 */ addi r28, r28, 8 +/* 802C8E0C 002C5D6C 3B BD 00 01 */ addi r29, r29, 1 +lbl_802C8E10: +/* 802C8E10 002C5D70 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 802C8E14 002C5D74 7C 1D 00 00 */ cmpw r29, r0 +/* 802C8E18 002C5D78 41 80 FF D0 */ blt lbl_802C8DE8 +/* 802C8E1C 002C5D7C 38 60 00 00 */ li r3, 0 +/* 802C8E20 002C5D80 38 BF 00 54 */ addi r5, r31, 0x54 +/* 802C8E24 002C5D84 90 7E 00 50 */ stw r3, 0x50(r30) +/* 802C8E28 002C5D88 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8E2C 002C5D8C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C8E30 002C5D90 7C 85 02 14 */ add r4, r5, r0 +/* 802C8E34 002C5D94 48 00 00 28 */ b lbl_802C8E5C +lbl_802C8E38: +/* 802C8E38 002C5D98 28 1B 00 00 */ cmplwi r27, 0 +/* 802C8E3C 002C5D9C 41 82 00 18 */ beq lbl_802C8E54 +/* 802C8E40 002C5DA0 88 05 00 00 */ lbz r0, 0(r5) +/* 802C8E44 002C5DA4 98 1B 00 00 */ stb r0, 0(r27) +/* 802C8E48 002C5DA8 80 05 00 04 */ lwz r0, 4(r5) +/* 802C8E4C 002C5DAC 90 1B 00 04 */ stw r0, 4(r27) +/* 802C8E50 002C5DB0 98 65 00 00 */ stb r3, 0(r5) +lbl_802C8E54: +/* 802C8E54 002C5DB4 3B 7B 00 08 */ addi r27, r27, 8 +/* 802C8E58 002C5DB8 38 A5 00 08 */ addi r5, r5, 8 +lbl_802C8E5C: +/* 802C8E5C 002C5DBC 7C 05 20 40 */ cmplw r5, r4 +/* 802C8E60 002C5DC0 40 82 FF D8 */ bne lbl_802C8E38 +/* 802C8E64 002C5DC4 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 802C8E68 002C5DC8 90 1E 00 50 */ stw r0, 0x50(r30) +lbl_802C8E6C: +/* 802C8E6C 002C5DCC 80 1F 02 54 */ lwz r0, 0x254(r31) +/* 802C8E70 002C5DD0 7F C3 F3 78 */ mr r3, r30 +/* 802C8E74 002C5DD4 90 1E 02 54 */ stw r0, 0x254(r30) +/* 802C8E78 002C5DD8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802C8E7C 002C5DDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8E80 002C5DE0 7C 08 03 A6 */ mtlr r0 +/* 802C8E84 002C5DE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8E88 002C5DE8 4E 80 00 20 */ blr + +.global sub_802c8e8c +sub_802c8e8c: +/* 802C8E8C 002C5DEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8E90 002C5DF0 7C 08 02 A6 */ mflr r0 +/* 802C8E94 002C5DF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8E98 002C5DF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8E9C 002C5DFC 7C 7F 1B 78 */ mr r31, r3 +/* 802C8EA0 002C5E00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8EA4 002C5E04 7C 9E 23 78 */ mr r30, r4 +/* 802C8EA8 002C5E08 7C 1F F0 40 */ cmplw r31, r30 +/* 802C8EAC 002C5E0C 40 82 00 08 */ bne lbl_802C8EB4 +/* 802C8EB0 002C5E10 48 00 00 BC */ b lbl_802C8F6C +lbl_802C8EB4: +/* 802C8EB4 002C5E14 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802C8EB8 002C5E18 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C8EBC 002C5E1C 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C8EC0 002C5E20 7C 64 02 14 */ add r3, r4, r0 +/* 802C8EC4 002C5E24 7C 04 18 50 */ subf r0, r4, r3 +/* 802C8EC8 002C5E28 90 61 00 14 */ stw r3, 0x14(r1) +/* 802C8ECC 002C5E2C 90 61 00 10 */ stw r3, 0x10(r1) +/* 802C8ED0 002C5E30 90 81 00 08 */ stw r4, 8(r1) +/* 802C8ED4 002C5E34 7C 09 03 A6 */ mtctr r0 +/* 802C8ED8 002C5E38 7C 04 18 40 */ cmplw r4, r3 +/* 802C8EDC 002C5E3C 41 82 00 08 */ beq lbl_802C8EE4 +lbl_802C8EE0: +/* 802C8EE0 002C5E40 42 00 00 00 */ bdnz lbl_802C8EE0 +lbl_802C8EE4: +/* 802C8EE4 002C5E44 38 00 00 00 */ li r0, 0 +/* 802C8EE8 002C5E48 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8EEC 002C5E4C 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8EF0 002C5E50 2C 04 00 00 */ cmpwi r4, 0 +/* 802C8EF4 002C5E54 40 82 00 28 */ bne lbl_802C8F1C +/* 802C8EF8 002C5E58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8EFC 002C5E5C 28 03 00 00 */ cmplwi r3, 0 +/* 802C8F00 002C5E60 41 82 00 08 */ beq lbl_802C8F08 +/* 802C8F04 002C5E64 48 04 CA 2D */ bl Free__7CMemoryFPCv +lbl_802C8F08: +/* 802C8F08 002C5E68 38 00 00 00 */ li r0, 0 +/* 802C8F0C 002C5E6C 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8F10 002C5E70 90 1F 00 08 */ stw r0, 8(r31) +/* 802C8F14 002C5E74 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C8F18 002C5E78 48 00 00 50 */ b lbl_802C8F68 +lbl_802C8F1C: +/* 802C8F1C 002C5E7C 7F E3 FB 78 */ mr r3, r31 +/* 802C8F20 002C5E80 48 00 14 DD */ bl "reserve__Q24rstl37vectorFi" +/* 802C8F24 002C5E84 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C8F28 002C5E88 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C8F2C 002C5E8C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8F30 002C5E90 7C 85 02 14 */ add r4, r5, r0 +/* 802C8F34 002C5E94 7C 05 20 50 */ subf r0, r5, r4 +/* 802C8F38 002C5E98 7C 09 03 A6 */ mtctr r0 +/* 802C8F3C 002C5E9C 7C 05 20 40 */ cmplw r5, r4 +/* 802C8F40 002C5EA0 41 82 00 20 */ beq lbl_802C8F60 +lbl_802C8F44: +/* 802C8F44 002C5EA4 28 03 00 00 */ cmplwi r3, 0 +/* 802C8F48 002C5EA8 41 82 00 0C */ beq lbl_802C8F54 +/* 802C8F4C 002C5EAC 88 05 00 00 */ lbz r0, 0(r5) +/* 802C8F50 002C5EB0 98 03 00 00 */ stb r0, 0(r3) +lbl_802C8F54: +/* 802C8F54 002C5EB4 38 63 00 01 */ addi r3, r3, 1 +/* 802C8F58 002C5EB8 38 A5 00 01 */ addi r5, r5, 1 +/* 802C8F5C 002C5EBC 42 00 FF E8 */ bdnz lbl_802C8F44 +lbl_802C8F60: +/* 802C8F60 002C5EC0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C8F64 002C5EC4 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C8F68: +/* 802C8F68 002C5EC8 7F E3 FB 78 */ mr r3, r31 +lbl_802C8F6C: +/* 802C8F6C 002C5ECC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C8F70 002C5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C8F74 002C5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C8F78 002C5ED8 7C 08 03 A6 */ mtlr r0 +/* 802C8F7C 002C5EDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C8F80 002C5EE0 4E 80 00 20 */ blr + +.global sub_802c8f84 +sub_802c8f84: +/* 802C8F84 002C5EE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C8F88 002C5EE8 7C 08 02 A6 */ mflr r0 +/* 802C8F8C 002C5EEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C8F90 002C5EF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C8F94 002C5EF4 7C 7F 1B 78 */ mr r31, r3 +/* 802C8F98 002C5EF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C8F9C 002C5EFC 7C 9E 23 78 */ mr r30, r4 +/* 802C8FA0 002C5F00 7C 1F F0 40 */ cmplw r31, r30 +/* 802C8FA4 002C5F04 40 82 00 08 */ bne lbl_802C8FAC +/* 802C8FA8 002C5F08 48 00 00 B8 */ b lbl_802C9060 +lbl_802C8FAC: +/* 802C8FAC 002C5F0C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C8FB0 002C5F10 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8FB4 002C5F14 54 00 10 3A */ slwi r0, r0, 2 +/* 802C8FB8 002C5F18 7C 03 02 14 */ add r0, r3, r0 +/* 802C8FBC 002C5F1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C8FC0 002C5F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C8FC4 002C5F24 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C8FC8 002C5F28 90 61 00 08 */ stw r3, 8(r1) +/* 802C8FCC 002C5F2C 48 00 00 08 */ b lbl_802C8FD4 +lbl_802C8FD0: +/* 802C8FD0 002C5F30 38 63 00 04 */ addi r3, r3, 4 +lbl_802C8FD4: +/* 802C8FD4 002C5F34 7C 03 00 40 */ cmplw r3, r0 +/* 802C8FD8 002C5F38 40 82 FF F8 */ bne lbl_802C8FD0 +/* 802C8FDC 002C5F3C 38 00 00 00 */ li r0, 0 +/* 802C8FE0 002C5F40 90 1F 00 04 */ stw r0, 4(r31) +/* 802C8FE4 002C5F44 80 9E 00 04 */ lwz r4, 4(r30) +/* 802C8FE8 002C5F48 2C 04 00 00 */ cmpwi r4, 0 +/* 802C8FEC 002C5F4C 40 82 00 28 */ bne lbl_802C9014 +/* 802C8FF0 002C5F50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C8FF4 002C5F54 28 03 00 00 */ cmplwi r3, 0 +/* 802C8FF8 002C5F58 41 82 00 08 */ beq lbl_802C9000 +/* 802C8FFC 002C5F5C 48 04 C9 35 */ bl Free__7CMemoryFPCv +lbl_802C9000: +/* 802C9000 002C5F60 38 00 00 00 */ li r0, 0 +/* 802C9004 002C5F64 90 1F 00 04 */ stw r0, 4(r31) +/* 802C9008 002C5F68 90 1F 00 08 */ stw r0, 8(r31) +/* 802C900C 002C5F6C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C9010 002C5F70 48 00 00 4C */ b lbl_802C905C +lbl_802C9014: +/* 802C9014 002C5F74 7F E3 FB 78 */ mr r3, r31 +/* 802C9018 002C5F78 4B D9 0C 91 */ bl "reserve__Q24rstl36vectorFi" +/* 802C901C 002C5F7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C9020 002C5F80 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C9024 002C5F84 54 00 10 3A */ slwi r0, r0, 2 +/* 802C9028 002C5F88 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C902C 002C5F8C 7C 85 02 14 */ add r4, r5, r0 +/* 802C9030 002C5F90 48 00 00 1C */ b lbl_802C904C +lbl_802C9034: +/* 802C9034 002C5F94 28 03 00 00 */ cmplwi r3, 0 +/* 802C9038 002C5F98 41 82 00 0C */ beq lbl_802C9044 +/* 802C903C 002C5F9C 80 05 00 00 */ lwz r0, 0(r5) +/* 802C9040 002C5FA0 90 03 00 00 */ stw r0, 0(r3) +lbl_802C9044: +/* 802C9044 002C5FA4 38 63 00 04 */ addi r3, r3, 4 +/* 802C9048 002C5FA8 38 A5 00 04 */ addi r5, r5, 4 +lbl_802C904C: +/* 802C904C 002C5FAC 7C 05 20 40 */ cmplw r5, r4 +/* 802C9050 002C5FB0 40 82 FF E4 */ bne lbl_802C9034 +/* 802C9054 002C5FB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C9058 002C5FB8 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C905C: +/* 802C905C 002C5FBC 7F E3 FB 78 */ mr r3, r31 +lbl_802C9060: +/* 802C9060 002C5FC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C9064 002C5FC4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9068 002C5FC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C906C 002C5FCC 7C 08 03 A6 */ mtlr r0 +/* 802C9070 002C5FD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C9074 002C5FD4 4E 80 00 20 */ blr + +.global sub_802c9078 +sub_802c9078: +/* 802C9078 002C5FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C907C 002C5FDC 7C 08 02 A6 */ mflr r0 +/* 802C9080 002C5FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9084 002C5FE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9088 002C5FE8 7C 9F 23 78 */ mr r31, r4 +/* 802C908C 002C5FEC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9090 002C5FF0 7C 7E 1B 78 */ mr r30, r3 +/* 802C9094 002C5FF4 7C 1E F8 40 */ cmplw r30, r31 +/* 802C9098 002C5FF8 40 82 00 08 */ bne lbl_802C90A0 +/* 802C909C 002C5FFC 48 00 00 64 */ b lbl_802C9100 +lbl_802C90A0: +/* 802C90A0 002C6000 48 00 00 DD */ bl sub_802c917c +/* 802C90A4 002C6004 80 9F 00 04 */ lwz r4, 4(r31) +/* 802C90A8 002C6008 2C 04 00 00 */ cmpwi r4, 0 +/* 802C90AC 002C600C 40 82 00 28 */ bne lbl_802C90D4 +/* 802C90B0 002C6010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C90B4 002C6014 28 03 00 00 */ cmplwi r3, 0 +/* 802C90B8 002C6018 41 82 00 08 */ beq lbl_802C90C0 +/* 802C90BC 002C601C 48 04 C8 75 */ bl Free__7CMemoryFPCv +lbl_802C90C0: +/* 802C90C0 002C6020 38 00 00 00 */ li r0, 0 +/* 802C90C4 002C6024 90 1E 00 04 */ stw r0, 4(r30) +/* 802C90C8 002C6028 90 1E 00 08 */ stw r0, 8(r30) +/* 802C90CC 002C602C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802C90D0 002C6030 48 00 00 2C */ b lbl_802C90FC +lbl_802C90D4: +/* 802C90D4 002C6034 7F C3 F3 78 */ mr r3, r30 +/* 802C90D8 002C6038 48 00 11 A1 */ bl sub_802ca278 +/* 802C90DC 002C603C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C90E0 002C6040 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C90E4 002C6044 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802C90E8 002C6048 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802C90EC 002C604C 7C 83 02 14 */ add r4, r3, r0 +/* 802C90F0 002C6050 48 00 00 29 */ bl sub_802c9118 +/* 802C90F4 002C6054 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C90F8 002C6058 90 1E 00 04 */ stw r0, 4(r30) +lbl_802C90FC: +/* 802C90FC 002C605C 7F C3 F3 78 */ mr r3, r30 +lbl_802C9100: +/* 802C9100 002C6060 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9104 002C6064 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9108 002C6068 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C910C 002C606C 7C 08 03 A6 */ mtlr r0 +/* 802C9110 002C6070 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9114 002C6074 4E 80 00 20 */ blr + +.global sub_802c9118 +sub_802c9118: +/* 802C9118 002C6078 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C911C 002C607C 7C 08 02 A6 */ mflr r0 +/* 802C9120 002C6080 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C9124 002C6084 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9128 002C6088 7C BF 2B 78 */ mr r31, r5 +/* 802C912C 002C608C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C9130 002C6090 7C 7E 1B 78 */ mr r30, r3 +/* 802C9134 002C6094 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C9138 002C6098 7C 9D 23 78 */ mr r29, r4 +/* 802C913C 002C609C 48 00 00 18 */ b lbl_802C9154 +lbl_802C9140: +/* 802C9140 002C60A0 7F E3 FB 78 */ mr r3, r31 +/* 802C9144 002C60A4 7F C4 F3 78 */ mr r4, r30 +/* 802C9148 002C60A8 4B FF F8 75 */ bl sub_802c89bc +/* 802C914C 002C60AC 3B FF 00 1C */ addi r31, r31, 0x1c +/* 802C9150 002C60B0 3B DE 00 1C */ addi r30, r30, 0x1c +lbl_802C9154: +/* 802C9154 002C60B4 7C 1E E8 40 */ cmplw r30, r29 +/* 802C9158 002C60B8 40 82 FF E8 */ bne lbl_802C9140 +/* 802C915C 002C60BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C9160 002C60C0 7F E3 FB 78 */ mr r3, r31 +/* 802C9164 002C60C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9168 002C60C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C916C 002C60CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C9170 002C60D0 7C 08 03 A6 */ mtlr r0 +/* 802C9174 002C60D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C9178 002C60D8 4E 80 00 20 */ blr + +.global sub_802c917c +sub_802c917c: +/* 802C917C 002C60DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C9180 002C60E0 7C 08 02 A6 */ mflr r0 +/* 802C9184 002C60E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C9188 002C60E8 38 81 00 0C */ addi r4, r1, 0xc +/* 802C918C 002C60EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9190 002C60F0 7C 7F 1B 78 */ mr r31, r3 +/* 802C9194 002C60F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C9198 002C60F8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C919C 002C60FC 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802C91A0 002C6100 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802C91A4 002C6104 7C A5 02 14 */ add r5, r5, r0 +/* 802C91A8 002C6108 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802C91AC 002C610C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802C91B0 002C6110 90 A1 00 08 */ stw r5, 8(r1) +/* 802C91B4 002C6114 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C91B8 002C6118 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C91BC 002C611C 4B FF EB 41 */ bl sub_802c7cfc +/* 802C91C0 002C6120 38 00 00 00 */ li r0, 0 +/* 802C91C4 002C6124 90 1F 00 04 */ stw r0, 4(r31) +/* 802C91C8 002C6128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C91CC 002C612C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C91D0 002C6130 7C 08 03 A6 */ mtlr r0 +/* 802C91D4 002C6134 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C91D8 002C6138 4E 80 00 20 */ blr + +.global sub_802c91dc +sub_802c91dc: +/* 802C91DC 002C613C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C91E0 002C6140 7C 08 02 A6 */ mflr r0 +/* 802C91E4 002C6144 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C91E8 002C6148 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C91EC 002C614C 7C 7F 1B 78 */ mr r31, r3 +/* 802C91F0 002C6150 7C 9B 23 78 */ mr r27, r4 +/* 802C91F4 002C6154 7C 1F D8 40 */ cmplw r31, r27 +/* 802C91F8 002C6158 40 82 00 08 */ bne lbl_802C9200 +/* 802C91FC 002C615C 48 00 00 D0 */ b lbl_802C92CC +lbl_802C9200: +/* 802C9200 002C6160 80 1F 00 04 */ lwz r0, 4(r31) +/* 802C9204 002C6164 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802C9208 002C6168 54 00 18 38 */ slwi r0, r0, 3 +/* 802C920C 002C616C 7F DD 02 14 */ add r30, r29, r0 +/* 802C9210 002C6170 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802C9214 002C6174 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802C9218 002C6178 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802C921C 002C617C 93 A1 00 08 */ stw r29, 8(r1) +/* 802C9220 002C6180 48 00 00 1C */ b lbl_802C923C +lbl_802C9224: +/* 802C9224 002C6184 28 1D 00 00 */ cmplwi r29, 0 +/* 802C9228 002C6188 41 82 00 10 */ beq lbl_802C9238 +/* 802C922C 002C618C 7F A3 EB 78 */ mr r3, r29 +/* 802C9230 002C6190 38 80 00 00 */ li r4, 0 +/* 802C9234 002C6194 48 07 7C 0D */ bl __dt__6CTokenFv +lbl_802C9238: +/* 802C9238 002C6198 3B BD 00 08 */ addi r29, r29, 8 +lbl_802C923C: +/* 802C923C 002C619C 7C 1D F0 40 */ cmplw r29, r30 +/* 802C9240 002C61A0 40 82 FF E4 */ bne lbl_802C9224 +/* 802C9244 002C61A4 38 00 00 00 */ li r0, 0 +/* 802C9248 002C61A8 90 1F 00 04 */ stw r0, 4(r31) +/* 802C924C 002C61AC 80 9B 00 04 */ lwz r4, 4(r27) +/* 802C9250 002C61B0 2C 04 00 00 */ cmpwi r4, 0 +/* 802C9254 002C61B4 40 82 00 28 */ bne lbl_802C927C +/* 802C9258 002C61B8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802C925C 002C61BC 28 03 00 00 */ cmplwi r3, 0 +/* 802C9260 002C61C0 41 82 00 08 */ beq lbl_802C9268 +/* 802C9264 002C61C4 48 04 C6 CD */ bl Free__7CMemoryFPCv +lbl_802C9268: +/* 802C9268 002C61C8 38 00 00 00 */ li r0, 0 +/* 802C926C 002C61CC 90 1F 00 04 */ stw r0, 4(r31) +/* 802C9270 002C61D0 90 1F 00 08 */ stw r0, 8(r31) +/* 802C9274 002C61D4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802C9278 002C61D8 48 00 00 50 */ b lbl_802C92C8 +lbl_802C927C: +/* 802C927C 002C61DC 7F E3 FB 78 */ mr r3, r31 +/* 802C9280 002C61E0 48 00 0F 05 */ bl sub_802ca184 +/* 802C9284 002C61E4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802C9288 002C61E8 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 802C928C 002C61EC 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9290 002C61F0 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 802C9294 002C61F4 7F BC 02 14 */ add r29, r28, r0 +/* 802C9298 002C61F8 48 00 00 20 */ b lbl_802C92B8 +lbl_802C929C: +/* 802C929C 002C61FC 28 1E 00 00 */ cmplwi r30, 0 +/* 802C92A0 002C6200 41 82 00 10 */ beq lbl_802C92B0 +/* 802C92A4 002C6204 7F C3 F3 78 */ mr r3, r30 +/* 802C92A8 002C6208 7F 84 E3 78 */ mr r4, r28 +/* 802C92AC 002C620C 48 07 7B FD */ bl __ct__6CTokenFRC6CToken +lbl_802C92B0: +/* 802C92B0 002C6210 3B DE 00 08 */ addi r30, r30, 8 +/* 802C92B4 002C6214 3B 9C 00 08 */ addi r28, r28, 8 +lbl_802C92B8: +/* 802C92B8 002C6218 7C 1C E8 40 */ cmplw r28, r29 +/* 802C92BC 002C621C 40 82 FF E0 */ bne lbl_802C929C +/* 802C92C0 002C6220 80 1B 00 04 */ lwz r0, 4(r27) +/* 802C92C4 002C6224 90 1F 00 04 */ stw r0, 4(r31) +lbl_802C92C8: +/* 802C92C8 002C6228 7F E3 FB 78 */ mr r3, r31 +lbl_802C92CC: +/* 802C92CC 002C622C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C92D0 002C6230 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C92D4 002C6234 7C 08 03 A6 */ mtlr r0 +/* 802C92D8 002C6238 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C92DC 002C623C 4E 80 00 20 */ blr + +.global sub_802c92e0 +sub_802c92e0: +/* 802C92E0 002C6240 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C92E4 002C6244 7C 08 02 A6 */ mflr r0 +/* 802C92E8 002C6248 28 03 00 00 */ cmplwi r3, 0 +/* 802C92EC 002C624C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C92F0 002C6250 41 82 00 08 */ beq lbl_802C92F8 +/* 802C92F4 002C6254 4B FF F3 1D */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer +lbl_802C92F8: +/* 802C92F8 002C6258 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C92FC 002C625C 7C 08 03 A6 */ mtlr r0 +/* 802C9300 002C6260 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9304 002C6264 4E 80 00 20 */ blr + +.global CheckAndRebuildTextBuffer__15CGuiTextSupportFv +CheckAndRebuildTextBuffer__15CGuiTextSupportFv: +/* 802C9308 002C6268 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802C930C 002C626C 7C 08 02 A6 */ mflr r0 +/* 802C9310 002C6270 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802C9314 002C6274 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C9318 002C6278 7C 7F 1B 78 */ mr r31, r3 +/* 802C931C 002C627C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9320 002C6280 48 03 A9 C9 */ bl Clear__18CTextExecuteBufferFv +/* 802C9324 002C6284 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802C9328 002C6288 38 80 00 00 */ li r4, 0 +/* 802C932C 002C628C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9330 002C6290 38 A0 00 00 */ li r5, 0 +/* 802C9334 002C6294 98 03 00 94 */ stb r0, 0x94(r3) +/* 802C9338 002C6298 81 5F 00 18 */ lwz r10, 0x18(r31) +/* 802C933C 002C629C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 802C9340 002C62A0 90 01 00 08 */ stw r0, 8(r1) +/* 802C9344 002C62A4 88 1F 00 15 */ lbz r0, 0x15(r31) +/* 802C9348 002C62A8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C934C 002C62AC 7C 00 00 34 */ cntlzw r0, r0 +/* 802C9350 002C62B0 80 DF 00 34 */ lwz r6, 0x34(r31) +/* 802C9354 002C62B4 80 FF 00 38 */ lwz r7, 0x38(r31) +/* 802C9358 002C62B8 54 09 D9 7E */ srwi r9, r0, 5 +/* 802C935C 002C62BC 89 1F 00 30 */ lbz r8, 0x30(r31) +/* 802C9360 002C62C0 48 03 A8 0D */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification +/* 802C9364 002C62C4 E0 BF A0 27 */ psq_l f5, 39(r31), 1, qr2 +/* 802C9368 002C62C8 E0 3F A0 26 */ psq_l f1, 38(r31), 1, qr2 +/* 802C936C 002C62CC E0 5F A0 25 */ psq_l f2, 37(r31), 1, qr2 +/* 802C9370 002C62D0 E0 7F A0 24 */ psq_l f3, 36(r31), 1, qr2 +/* 802C9374 002C62D4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802C9378 002C62D8 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) +/* 802C937C 002C62DC 38 80 00 00 */ li r4, 0 +/* 802C9380 002C62E0 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) +/* 802C9384 002C62E4 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 802C9388 002C62E8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C938C 002C62EC EC 40 00 B2 */ fmuls f2, f0, f2 +/* 802C9390 002C62F0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802C9394 002C62F4 EC 00 01 72 */ fmuls f0, f0, f5 +/* 802C9398 002C62F8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802C939C 002C62FC EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802C93A0 002C6300 EC 24 00 72 */ fmuls f1, f4, f1 +/* 802C93A4 002C6304 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802C93A8 002C6308 FC 60 18 1E */ fctiwz f3, f3 +/* 802C93AC 002C630C FC 40 10 1E */ fctiwz f2, f2 +/* 802C93B0 002C6310 FC 20 08 1E */ fctiwz f1, f1 +/* 802C93B4 002C6314 FC 00 00 1E */ fctiwz f0, f0 +/* 802C93B8 002C6318 D8 61 00 60 */ stfd f3, 0x60(r1) +/* 802C93BC 002C631C D8 41 00 68 */ stfd f2, 0x68(r1) +/* 802C93C0 002C6320 81 01 00 64 */ lwz r8, 0x64(r1) +/* 802C93C4 002C6324 D8 21 00 70 */ stfd f1, 0x70(r1) +/* 802C93C8 002C6328 80 E1 00 6C */ lwz r7, 0x6c(r1) +/* 802C93CC 002C632C D8 01 00 78 */ stfd f0, 0x78(r1) +/* 802C93D0 002C6330 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 802C93D4 002C6334 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 802C93D8 002C6338 99 01 00 18 */ stb r8, 0x18(r1) +/* 802C93DC 002C633C 98 E1 00 19 */ stb r7, 0x19(r1) +/* 802C93E0 002C6340 98 C1 00 1A */ stb r6, 0x1a(r1) +/* 802C93E4 002C6344 98 01 00 1B */ stb r0, 0x1b(r1) +/* 802C93E8 002C6348 48 03 A0 DD */ bl __ct__17CColorInstructionFiRC6CColor +/* 802C93EC 002C634C E0 BF A0 2B */ psq_l f5, 43(r31), 1, qr2 +/* 802C93F0 002C6350 E0 3F A0 2A */ psq_l f1, 42(r31), 1, qr2 +/* 802C93F4 002C6354 E0 5F A0 29 */ psq_l f2, 41(r31), 1, qr2 +/* 802C93F8 002C6358 E0 7F A0 28 */ psq_l f3, 40(r31), 1, qr2 +/* 802C93FC 002C635C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C9400 002C6360 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) +/* 802C9404 002C6364 38 80 00 01 */ li r4, 1 +/* 802C9408 002C6368 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) +/* 802C940C 002C636C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 802C9410 002C6370 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9414 002C6374 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 802C9418 002C6378 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802C941C 002C637C EC 00 01 72 */ fmuls f0, f0, f5 +/* 802C9420 002C6380 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802C9424 002C6384 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 802C9428 002C6388 EC 24 00 72 */ fmuls f1, f4, f1 +/* 802C942C 002C638C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802C9430 002C6390 FC 60 18 1E */ fctiwz f3, f3 +/* 802C9434 002C6394 FC 40 10 1E */ fctiwz f2, f2 +/* 802C9438 002C6398 FC 20 08 1E */ fctiwz f1, f1 +/* 802C943C 002C639C FC 00 00 1E */ fctiwz f0, f0 +/* 802C9440 002C63A0 D8 61 00 80 */ stfd f3, 0x80(r1) +/* 802C9444 002C63A4 D8 41 00 88 */ stfd f2, 0x88(r1) +/* 802C9448 002C63A8 81 01 00 84 */ lwz r8, 0x84(r1) +/* 802C944C 002C63AC D8 21 00 90 */ stfd f1, 0x90(r1) +/* 802C9450 002C63B0 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 802C9454 002C63B4 D8 01 00 98 */ stfd f0, 0x98(r1) +/* 802C9458 002C63B8 80 C1 00 94 */ lwz r6, 0x94(r1) +/* 802C945C 002C63BC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802C9460 002C63C0 99 01 00 14 */ stb r8, 0x14(r1) +/* 802C9464 002C63C4 98 E1 00 15 */ stb r7, 0x15(r1) +/* 802C9468 002C63C8 98 C1 00 16 */ stb r6, 0x16(r1) +/* 802C946C 002C63CC 98 01 00 17 */ stb r0, 0x17(r1) +/* 802C9470 002C63D0 48 03 A0 55 */ bl __ct__17CColorInstructionFiRC6CColor +/* 802C9474 002C63D4 80 9F 00 5C */ lwz r4, 0x5c(r31) +/* 802C9478 002C63D8 38 60 00 00 */ li r3, 0 +/* 802C947C 002C63DC 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 +/* 802C9480 002C63E0 90 61 00 50 */ stw r3, 0x50(r1) +/* 802C9484 002C63E4 3C 04 00 01 */ addis r0, r4, 1 +/* 802C9488 002C63E8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802C948C 002C63EC 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 802C9490 002C63F0 90 61 00 54 */ stw r3, 0x54(r1) +/* 802C9494 002C63F4 41 82 00 68 */ beq lbl_802C94FC +/* 802C9498 002C63F8 3C 60 80 3D */ lis r3, lbl_803D68E0@ha +/* 802C949C 002C63FC 38 63 68 E0 */ addi r3, r3, lbl_803D68E0@l +/* 802C94A0 002C6400 38 63 00 07 */ addi r3, r3, 7 +/* 802C94A4 002C6404 4C C6 31 82 */ crclr 6 +/* 802C94A8 002C6408 48 00 CD 09 */ bl Stringize__7CBasicsFPCce +/* 802C94AC 002C640C 7C 64 1B 78 */ mr r4, r3 +/* 802C94B0 002C6410 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C94B4 002C6414 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C94B8 002C6418 38 A0 FF FF */ li r5, -1 +/* 802C94BC 002C641C 48 07 4C D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802C94C0 002C6420 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C94C4 002C6424 38 81 00 3C */ addi r4, r1, 0x3c +/* 802C94C8 002C6428 48 07 52 59 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C94CC 002C642C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C94D0 002C6430 38 81 00 2C */ addi r4, r1, 0x2c +/* 802C94D4 002C6434 48 07 42 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C94D8 002C6438 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C94DC 002C643C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802C94E0 002C6440 48 07 3E 6D */ bl sub_8033d34c +/* 802C94E4 002C6444 38 61 00 1C */ addi r3, r1, 0x1c +/* 802C94E8 002C6448 48 07 3C 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C94EC 002C644C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802C94F0 002C6450 48 07 3C 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C94F4 002C6454 38 61 00 3C */ addi r3, r1, 0x3c +/* 802C94F8 002C6458 48 07 45 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C94FC: +/* 802C94FC 002C645C 7F E4 FB 78 */ mr r4, r31 +/* 802C9500 002C6460 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C9504 002C6464 48 07 41 49 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9508 002C6468 80 6D A6 4C */ lwz r3, lbl_805A920C@sda21(r13) +/* 802C950C 002C646C 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) +/* 802C9510 002C6470 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 802C9514 002C6474 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 802C9518 002C6478 80 FF 00 20 */ lwz r7, 0x20(r31) +/* 802C951C 002C647C 48 03 C2 31 */ bl ParseText__11CTextParserFR18CTextExecuteBufferPCwi +/* 802C9520 002C6480 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) +/* 802C9524 002C6484 48 03 A6 05 */ bl EndBlock__18CTextExecuteBufferFv +/* 802C9528 002C6488 38 61 00 4C */ addi r3, r1, 0x4c +/* 802C952C 002C648C 48 07 3C 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9530 002C6490 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802C9534 002C6494 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C9538 002C6498 7C 08 03 A6 */ mtlr r0 +/* 802C953C 002C649C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802C9540 002C64A0 4E 80 00 20 */ blr + +.global Render__15CGuiTextSupportFv +Render__15CGuiTextSupportFv: +/* 802C9544 002C64A4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802C9548 002C64A8 7C 08 02 A6 */ mflr r0 +/* 802C954C 002C64AC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802C9550 002C64B0 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802C9554 002C64B4 7C 7F 1B 78 */ mr r31, r3 +/* 802C9558 002C64B8 4B FF F5 D5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C955C 002C64BC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 802C9560 002C64C0 38 61 00 74 */ addi r3, r1, 0x74 +/* 802C9564 002C64C4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 802C9568 002C64C8 48 04 96 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802C956C 002C64CC C0 22 C3 F0 */ lfs f1, lbl_805AE110@sda21(r2) +/* 802C9570 002C64D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C9574 002C64D4 C0 02 C4 04 */ lfs f0, lbl_805AE124@sda21(r2) +/* 802C9578 002C64D8 38 81 00 08 */ addi r4, r1, 8 +/* 802C957C 002C64DC D0 21 00 08 */ stfs f1, 8(r1) +/* 802C9580 002C64E0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C9584 002C64E4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802C9588 002C64E8 48 04 9C 3D */ bl Scale__12CTransform4fFRC9CVector3f +/* 802C958C 002C64EC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C9590 002C64F0 38 81 00 74 */ addi r4, r1, 0x74 +/* 802C9594 002C64F4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C9598 002C64F8 48 04 93 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802C959C 002C64FC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802C95A0 002C6500 48 04 30 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C95A4 002C6504 7F E3 FB 78 */ mr r3, r31 +/* 802C95A8 002C6508 4B FF E7 F9 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv +/* 802C95AC 002C650C 28 03 00 00 */ cmplwi r3, 0 +/* 802C95B0 002C6510 41 82 00 10 */ beq lbl_802C95C0 +/* 802C95B4 002C6514 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802C95B8 002C6518 38 9F 00 2C */ addi r4, r31, 0x2c +/* 802C95BC 002C651C 48 09 0F 01 */ bl Render__17CTextRenderBufferCFRC6CColorf +lbl_802C95C0: +/* 802C95C0 002C6520 38 61 00 74 */ addi r3, r1, 0x74 +/* 802C95C4 002C6524 48 04 30 1D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802C95C8 002C6528 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802C95CC 002C652C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802C95D0 002C6530 7C 08 03 A6 */ mtlr r0 +/* 802C95D4 002C6534 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802C95D8 002C6538 4E 80 00 20 */ blr + +.global "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" +"SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>": +/* 802C95DC 002C653C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C95E0 002C6540 7C 08 02 A6 */ mflr r0 +/* 802C95E4 002C6544 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C95E8 002C6548 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802C95EC 002C654C 7C 00 20 40 */ cmplw r0, r4 +/* 802C95F0 002C6550 41 82 00 0C */ beq lbl_802C95FC +/* 802C95F4 002C6554 90 83 00 20 */ stw r4, 0x20(r3) +/* 802C95F8 002C6558 4B FF ED 6D */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C95FC: +/* 802C95FC 002C655C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9600 002C6560 7C 08 03 A6 */ mtlr r0 +/* 802C9604 002C6564 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9608 002C6568 4E 80 00 20 */ blr + +.global SetGeometryColor__15CGuiTextSupportFRC6CColor +SetGeometryColor__15CGuiTextSupportFRC6CColor: +/* 802C960C 002C656C 80 04 00 00 */ lwz r0, 0(r4) +/* 802C9610 002C6570 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802C9614 002C6574 4E 80 00 20 */ blr + +.global SetOutlineColor__15CGuiTextSupportFRC6CColor +SetOutlineColor__15CGuiTextSupportFRC6CColor: +/* 802C9618 002C6578 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C961C 002C657C 7C 08 02 A6 */ mflr r0 +/* 802C9620 002C6580 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9624 002C6584 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9628 002C6588 7C 9F 23 78 */ mr r31, r4 +/* 802C962C 002C658C 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9630 002C6590 7C 7E 1B 78 */ mr r30, r3 +/* 802C9634 002C6594 80 83 00 28 */ lwz r4, 0x28(r3) +/* 802C9638 002C6598 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C963C 002C659C 7C 04 00 40 */ cmplw r4, r0 +/* 802C9640 002C65A0 41 82 00 10 */ beq lbl_802C9650 +/* 802C9644 002C65A4 4B FF ED 21 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9648 002C65A8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C964C 002C65AC 90 1E 00 28 */ stw r0, 0x28(r30) +lbl_802C9650: +/* 802C9650 002C65B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9654 002C65B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9658 002C65B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C965C 002C65BC 7C 08 03 A6 */ mtlr r0 +/* 802C9660 002C65C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9664 002C65C4 4E 80 00 20 */ blr + +.global SetFontColor__15CGuiTextSupportFRC6CColor +SetFontColor__15CGuiTextSupportFRC6CColor: +/* 802C9668 002C65C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C966C 002C65CC 7C 08 02 A6 */ mflr r0 +/* 802C9670 002C65D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9674 002C65D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9678 002C65D8 7C 9F 23 78 */ mr r31, r4 +/* 802C967C 002C65DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9680 002C65E0 7C 7E 1B 78 */ mr r30, r3 +/* 802C9684 002C65E4 80 83 00 24 */ lwz r4, 0x24(r3) +/* 802C9688 002C65E8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C968C 002C65EC 7C 04 00 40 */ cmplw r4, r0 +/* 802C9690 002C65F0 41 82 00 10 */ beq lbl_802C96A0 +/* 802C9694 002C65F4 4B FF EC D1 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9698 002C65F8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802C969C 002C65FC 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_802C96A0: +/* 802C96A0 002C6600 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C96A4 002C6604 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C96A8 002C6608 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C96AC 002C660C 7C 08 03 A6 */ mtlr r0 +/* 802C96B0 002C6610 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C96B4 002C6614 4E 80 00 20 */ blr + +.global SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification +SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification: +/* 802C96B8 002C6618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C96BC 002C661C 7C 08 02 A6 */ mflr r0 +/* 802C96C0 002C6620 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C96C4 002C6624 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 802C96C8 002C6628 7C 04 00 00 */ cmpw r4, r0 +/* 802C96CC 002C662C 41 82 00 0C */ beq lbl_802C96D8 +/* 802C96D0 002C6630 90 83 00 1C */ stw r4, 0x1c(r3) +/* 802C96D4 002C6634 4B FF EC 91 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C96D8: +/* 802C96D8 002C6638 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C96DC 002C663C 7C 08 03 A6 */ mtlr r0 +/* 802C96E0 002C6640 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C96E4 002C6644 4E 80 00 20 */ blr + +.global SetJustification__15CGuiTextSupportF14EJustification +SetJustification__15CGuiTextSupportF14EJustification: +/* 802C96E8 002C6648 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C96EC 002C664C 7C 08 02 A6 */ mflr r0 +/* 802C96F0 002C6650 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C96F4 002C6654 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802C96F8 002C6658 7C 04 00 00 */ cmpw r4, r0 +/* 802C96FC 002C665C 41 82 00 0C */ beq lbl_802C9708 +/* 802C9700 002C6660 90 83 00 18 */ stw r4, 0x18(r3) +/* 802C9704 002C6664 4B FF EC 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C9708: +/* 802C9708 002C6668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C970C 002C666C 7C 08 03 A6 */ mtlr r0 +/* 802C9710 002C6670 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9714 002C6674 4E 80 00 20 */ blr + +.global SetImageBaseline__15CGuiTextSupportFb +SetImageBaseline__15CGuiTextSupportFb: +/* 802C9718 002C6678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C971C 002C667C 7C 08 02 A6 */ mflr r0 +/* 802C9720 002C6680 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9724 002C6684 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 802C9728 002C6688 88 A3 00 30 */ lbz r5, 0x30(r3) +/* 802C972C 002C668C 7C 05 00 40 */ cmplw r5, r0 +/* 802C9730 002C6690 41 82 00 0C */ beq lbl_802C973C +/* 802C9734 002C6694 98 83 00 30 */ stb r4, 0x30(r3) +/* 802C9738 002C6698 4B FF EC 2D */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C973C: +/* 802C973C 002C669C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9740 002C66A0 7C 08 03 A6 */ mtlr r0 +/* 802C9744 002C66A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9748 002C66A8 4E 80 00 20 */ blr + +.global sub_802c974c +sub_802c974c: +/* 802C974C 002C66AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9750 002C66B0 7C 08 02 A6 */ mflr r0 +/* 802C9754 002C66B4 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 802C9758 002C66B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C975C 002C66BC 88 03 00 14 */ lbz r0, 0x14(r3) +/* 802C9760 002C66C0 7C 05 00 40 */ cmplw r5, r0 +/* 802C9764 002C66C4 41 82 00 0C */ beq lbl_802C9770 +/* 802C9768 002C66C8 98 83 00 14 */ stb r4, 0x14(r3) +/* 802C976C 002C66CC 4B FF EB F9 */ bl ClearRenderBuffer__15CGuiTextSupportFv +lbl_802C9770: +/* 802C9770 002C66D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9774 002C66D4 7C 08 03 A6 */ mtlr r0 +/* 802C9778 002C66D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C977C 002C66DC 4E 80 00 20 */ blr + +.global AddText__15CGuiTextSupportFQ24rstl7wstring +AddText__15CGuiTextSupportFQ24rstl7wstring: +/* 802C9780 002C66E0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9784 002C66E4 7C 08 02 A6 */ mflr r0 +/* 802C9788 002C66E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C978C 002C66EC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802C9790 002C66F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802C9794 002C66F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C9798 002C66F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C979C 002C66FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C97A0 002C6700 7C 7D 1B 78 */ mr r29, r3 +/* 802C97A4 002C6704 7C 9E 23 78 */ mr r30, r4 +/* 802C97A8 002C6708 88 03 02 B8 */ lbz r0, 0x2b8(r3) +/* 802C97AC 002C670C 28 00 00 00 */ cmplwi r0, 0 +/* 802C97B0 002C6710 41 82 00 9C */ beq lbl_802C984C +/* 802C97B4 002C6714 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 802C97B8 002C6718 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802C97BC 002C671C 38 84 00 01 */ addi r4, r4, 1 +/* 802C97C0 002C6720 48 00 0D 29 */ bl sub_802ca4e8 +/* 802C97C4 002C6724 83 FD 00 88 */ lwz r31, 0x88(r29) +/* 802C97C8 002C6728 7F A3 EB 78 */ mr r3, r29 +/* 802C97CC 002C672C C0 1D 00 3C */ lfs f0, 0x3c(r29) +/* 802C97D0 002C6730 D0 01 00 08 */ stfs f0, 8(r1) +/* 802C97D4 002C6734 4B FF E6 C5 */ bl GetCurrentAnimationOverAge__15CGuiTextSupportFv +/* 802C97D8 002C6738 FC 40 08 18 */ frsp f2, f1 +/* 802C97DC 002C673C C0 01 00 08 */ lfs f0, 8(r1) +/* 802C97E0 002C6740 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802C97E4 002C6744 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802C97E8 002C6748 40 80 00 0C */ bge lbl_802C97F4 +/* 802C97EC 002C674C 38 61 00 08 */ addi r3, r1, 8 +/* 802C97F0 002C6750 48 00 00 08 */ b lbl_802C97F8 +lbl_802C97F4: +/* 802C97F4 002C6754 38 61 00 0C */ addi r3, r1, 0xc +lbl_802C97F8: +/* 802C97F8 002C6758 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C97FC 002C675C 80 BD 00 48 */ lwz r5, 0x48(r29) +/* 802C9800 002C6760 C3 E3 00 00 */ lfs f31, 0(r3) +/* 802C9804 002C6764 7C 00 28 00 */ cmpw r0, r5 +/* 802C9808 002C6768 41 80 00 1C */ blt lbl_802C9824 +/* 802C980C 002C676C 2C 05 00 00 */ cmpwi r5, 0 +/* 802C9810 002C6770 38 7D 00 40 */ addi r3, r29, 0x40 +/* 802C9814 002C6774 38 80 00 04 */ li r4, 4 +/* 802C9818 002C6778 41 82 00 08 */ beq lbl_802C9820 +/* 802C981C 002C677C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802C9820: +/* 802C9820 002C6780 48 00 0C C9 */ bl sub_802ca4e8 +lbl_802C9824: +/* 802C9824 002C6784 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C9828 002C6788 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 802C982C 002C678C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9830 002C6790 7C 63 02 15 */ add. r3, r3, r0 +/* 802C9834 002C6794 41 82 00 0C */ beq lbl_802C9840 +/* 802C9838 002C6798 D3 E3 00 00 */ stfs f31, 0(r3) +/* 802C983C 002C679C 93 E3 00 04 */ stw r31, 4(r3) +lbl_802C9840: +/* 802C9840 002C67A0 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802C9844 002C67A4 38 03 00 01 */ addi r0, r3, 1 +/* 802C9848 002C67A8 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_802C984C: +/* 802C984C 002C67AC 7F A3 EB 78 */ mr r3, r29 +/* 802C9850 002C67B0 7F C4 F3 78 */ mr r4, r30 +/* 802C9854 002C67B4 48 07 3D F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9858 002C67B8 7F A3 EB 78 */ mr r3, r29 +/* 802C985C 002C67BC 4B FF EB 09 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9860 002C67C0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802C9864 002C67C4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9868 002C67C8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802C986C 002C67CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C9870 002C67D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C9874 002C67D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C9878 002C67D8 7C 08 03 A6 */ mtlr r0 +/* 802C987C 002C67DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9880 002C67E0 4E 80 00 20 */ blr + +.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C9884 002C67E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9888 002C67E8 7C 08 02 A6 */ mflr r0 +/* 802C988C 002C67EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9890 002C67F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9894 002C67F4 7C BF 2B 78 */ mr r31, r5 +/* 802C9898 002C67F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C989C 002C67FC 7C 9E 23 78 */ mr r30, r4 +/* 802C98A0 002C6800 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C98A4 002C6804 7C 7D 1B 78 */ mr r29, r3 +/* 802C98A8 002C6808 48 00 00 89 */ bl sub_802c9930 +/* 802C98AC 002C680C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C98B0 002C6810 41 82 00 64 */ beq lbl_802C9914 +/* 802C98B4 002C6814 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 802C98B8 002C6818 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 802C98BC 002C681C 54 00 18 38 */ slwi r0, r0, 3 +/* 802C98C0 002C6820 7C 03 02 14 */ add r0, r3, r0 +/* 802C98C4 002C6824 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C98C8 002C6828 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C98CC 002C682C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C98D0 002C6830 90 61 00 08 */ stw r3, 8(r1) +/* 802C98D4 002C6834 48 00 00 08 */ b lbl_802C98DC +lbl_802C98D8: +/* 802C98D8 002C6838 38 63 00 08 */ addi r3, r3, 8 +lbl_802C98DC: +/* 802C98DC 002C683C 7C 03 00 40 */ cmplw r3, r0 +/* 802C98E0 002C6840 40 82 FF F8 */ bne lbl_802C98D8 +/* 802C98E4 002C6844 38 00 00 00 */ li r0, 0 +/* 802C98E8 002C6848 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) +/* 802C98EC 002C684C 90 1D 00 44 */ stw r0, 0x44(r29) +/* 802C98F0 002C6850 7F A3 EB 78 */ mr r3, r29 +/* 802C98F4 002C6854 7F C4 F3 78 */ mr r4, r30 +/* 802C98F8 002C6858 D0 1D 00 3C */ stfs f0, 0x3c(r29) +/* 802C98FC 002C685C 48 07 3A 51 */ bl sub_8033d34c +/* 802C9900 002C6860 7F A3 EB 78 */ mr r3, r29 +/* 802C9904 002C6864 4B FF EA 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv +/* 802C9908 002C6868 9B FD 03 08 */ stb r31, 0x308(r29) +/* 802C990C 002C686C 38 00 00 00 */ li r0, 0 +/* 802C9910 002C6870 90 1D 03 04 */ stw r0, 0x304(r29) +lbl_802C9914: +/* 802C9914 002C6874 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9918 002C6878 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C991C 002C687C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9920 002C6880 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C9924 002C6884 7C 08 03 A6 */ mtlr r0 +/* 802C9928 002C6888 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C992C 002C688C 4E 80 00 20 */ blr + +.global sub_802c9930 +sub_802c9930: +/* 802C9930 002C6890 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9934 002C6894 7C 08 02 A6 */ mflr r0 +/* 802C9938 002C6898 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C993C 002C689C 48 00 00 21 */ bl sub_802c995c +/* 802C9940 002C68A0 7C 03 00 D0 */ neg r0, r3 +/* 802C9944 002C68A4 7C 00 1B 78 */ or r0, r0, r3 +/* 802C9948 002C68A8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802C994C 002C68AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9950 002C68B0 7C 08 03 A6 */ mtlr r0 +/* 802C9954 002C68B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9958 002C68B8 4E 80 00 20 */ blr + +.global sub_802c995c +sub_802c995c: +/* 802C995C 002C68BC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802C9960 002C68C0 7C 08 02 A6 */ mflr r0 +/* 802C9964 002C68C4 38 E0 00 00 */ li r7, 0 +/* 802C9968 002C68C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802C996C 002C68CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802C9970 002C68D0 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C9974 002C68D4 81 04 00 08 */ lwz r8, 8(r4) +/* 802C9978 002C68D8 80 03 00 08 */ lwz r0, 8(r3) +/* 802C997C 002C68DC 90 81 00 08 */ stw r4, 8(r1) +/* 802C9980 002C68E0 91 01 00 0C */ stw r8, 0xc(r1) +/* 802C9984 002C68E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 802C9988 002C68E8 91 01 00 14 */ stw r8, 0x14(r1) +/* 802C998C 002C68EC 90 81 00 18 */ stw r4, 0x18(r1) +/* 802C9990 002C68F0 90 81 00 20 */ stw r4, 0x20(r1) +/* 802C9994 002C68F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 802C9998 002C68F8 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 802C999C 002C68FC 90 E1 00 24 */ stw r7, 0x24(r1) +/* 802C99A0 002C6900 90 61 00 28 */ stw r3, 0x28(r1) +/* 802C99A4 002C6904 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802C99A8 002C6908 90 61 00 30 */ stw r3, 0x30(r1) +/* 802C99AC 002C690C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C99B0 002C6910 90 61 00 38 */ stw r3, 0x38(r1) +/* 802C99B4 002C6914 90 61 00 40 */ stw r3, 0x40(r1) +/* 802C99B8 002C6918 38 61 00 40 */ addi r3, r1, 0x40 +/* 802C99BC 002C691C 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 802C99C0 002C6920 90 E1 00 44 */ stw r7, 0x44(r1) +/* 802C99C4 002C6924 48 00 00 15 */ bl sub_802c99d8 +/* 802C99C8 002C6928 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802C99CC 002C692C 7C 08 03 A6 */ mtlr r0 +/* 802C99D0 002C6930 38 21 00 50 */ addi r1, r1, 0x50 +/* 802C99D4 002C6934 4E 80 00 20 */ blr + +.global sub_802c99d8 +sub_802c99d8: +/* 802C99D8 002C6938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C99DC 002C693C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C99E0 002C6940 81 03 00 04 */ lwz r8, 4(r3) +/* 802C99E4 002C6944 81 45 00 04 */ lwz r10, 4(r5) +/* 802C99E8 002C6948 80 E3 00 00 */ lwz r7, 0(r3) +/* 802C99EC 002C694C 55 0C 08 3C */ slwi r12, r8, 1 +/* 802C99F0 002C6950 81 25 00 00 */ lwz r9, 0(r5) +/* 802C99F4 002C6954 55 4B 08 3C */ slwi r11, r10, 1 +/* 802C99F8 002C6958 83 E4 00 00 */ lwz r31, 0(r4) +/* 802C99FC 002C695C 48 00 00 30 */ b lbl_802C9A2C +lbl_802C9A00: +/* 802C9A00 002C6960 80 A9 00 00 */ lwz r5, 0(r9) +/* 802C9A04 002C6964 80 67 00 00 */ lwz r3, 0(r7) +/* 802C9A08 002C6968 7C A5 5A 2E */ lhzx r5, r5, r11 +/* 802C9A0C 002C696C 7C 03 62 2E */ lhzx r0, r3, r12 +/* 802C9A10 002C6970 7C 65 00 51 */ subf. r3, r5, r0 +/* 802C9A14 002C6974 41 82 00 08 */ beq lbl_802C9A1C +/* 802C9A18 002C6978 48 00 00 E4 */ b lbl_802C9AFC +lbl_802C9A1C: +/* 802C9A1C 002C697C 39 8C 00 02 */ addi r12, r12, 2 +/* 802C9A20 002C6980 39 08 00 01 */ addi r8, r8, 1 +/* 802C9A24 002C6984 39 6B 00 02 */ addi r11, r11, 2 +/* 802C9A28 002C6988 39 4A 00 01 */ addi r10, r10, 1 +lbl_802C9A2C: +/* 802C9A2C 002C698C 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9A30 002C6990 38 60 00 00 */ li r3, 0 +/* 802C9A34 002C6994 40 82 00 10 */ bne lbl_802C9A44 +/* 802C9A38 002C6998 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9A3C 002C699C 7C 08 00 00 */ cmpw r8, r0 +/* 802C9A40 002C69A0 41 82 00 08 */ beq lbl_802C9A48 +lbl_802C9A44: +/* 802C9A44 002C69A4 38 60 00 01 */ li r3, 1 +lbl_802C9A48: +/* 802C9A48 002C69A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A4C 002C69AC 41 82 00 2C */ beq lbl_802C9A78 +/* 802C9A50 002C69B0 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9A54 002C69B4 38 60 00 00 */ li r3, 0 +/* 802C9A58 002C69B8 7C 09 00 40 */ cmplw r9, r0 +/* 802C9A5C 002C69BC 40 82 00 10 */ bne lbl_802C9A6C +/* 802C9A60 002C69C0 80 06 00 04 */ lwz r0, 4(r6) +/* 802C9A64 002C69C4 7C 0A 00 00 */ cmpw r10, r0 +/* 802C9A68 002C69C8 41 82 00 08 */ beq lbl_802C9A70 +lbl_802C9A6C: +/* 802C9A6C 002C69CC 38 60 00 01 */ li r3, 1 +lbl_802C9A70: +/* 802C9A70 002C69D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A74 002C69D4 40 82 FF 8C */ bne lbl_802C9A00 +lbl_802C9A78: +/* 802C9A78 002C69D8 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9A7C 002C69DC 38 60 00 00 */ li r3, 0 +/* 802C9A80 002C69E0 40 82 00 14 */ bne lbl_802C9A94 +/* 802C9A84 002C69E4 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9A88 002C69E8 7C 08 00 00 */ cmpw r8, r0 +/* 802C9A8C 002C69EC 40 82 00 08 */ bne lbl_802C9A94 +/* 802C9A90 002C69F0 38 60 00 01 */ li r3, 1 +lbl_802C9A94: +/* 802C9A94 002C69F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9A98 002C69F8 41 82 00 34 */ beq lbl_802C9ACC +/* 802C9A9C 002C69FC 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9AA0 002C6A00 38 60 00 00 */ li r3, 0 +/* 802C9AA4 002C6A04 7C 09 00 40 */ cmplw r9, r0 +/* 802C9AA8 002C6A08 40 82 00 10 */ bne lbl_802C9AB8 +/* 802C9AAC 002C6A0C 80 06 00 04 */ lwz r0, 4(r6) +/* 802C9AB0 002C6A10 7C 0A 00 00 */ cmpw r10, r0 +/* 802C9AB4 002C6A14 41 82 00 08 */ beq lbl_802C9ABC +lbl_802C9AB8: +/* 802C9AB8 002C6A18 38 60 00 01 */ li r3, 1 +lbl_802C9ABC: +/* 802C9ABC 002C6A1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9AC0 002C6A20 41 82 00 0C */ beq lbl_802C9ACC +/* 802C9AC4 002C6A24 38 60 FF FF */ li r3, -1 +/* 802C9AC8 002C6A28 48 00 00 34 */ b lbl_802C9AFC +lbl_802C9ACC: +/* 802C9ACC 002C6A2C 7C 07 F8 40 */ cmplw r7, r31 +/* 802C9AD0 002C6A30 38 60 00 00 */ li r3, 0 +/* 802C9AD4 002C6A34 40 82 00 14 */ bne lbl_802C9AE8 +/* 802C9AD8 002C6A38 80 04 00 04 */ lwz r0, 4(r4) +/* 802C9ADC 002C6A3C 7C 08 00 00 */ cmpw r8, r0 +/* 802C9AE0 002C6A40 40 82 00 08 */ bne lbl_802C9AE8 +/* 802C9AE4 002C6A44 38 60 00 01 */ li r3, 1 +lbl_802C9AE8: +/* 802C9AE8 002C6A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802C9AEC 002C6A4C 41 82 00 0C */ beq lbl_802C9AF8 +/* 802C9AF0 002C6A50 38 60 00 00 */ li r3, 0 +/* 802C9AF4 002C6A54 48 00 00 08 */ b lbl_802C9AFC +lbl_802C9AF8: +/* 802C9AF8 002C6A58 38 60 00 01 */ li r3, 1 +lbl_802C9AFC: +/* 802C9AFC 002C6A5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9B00 002C6A60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9B04 002C6A64 4E 80 00 20 */ blr + +.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802C9B08 002C6A68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9B0C 002C6A6C 7C 08 02 A6 */ mflr r0 +/* 802C9B10 002C6A70 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9B14 002C6A74 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9B18 002C6A78 7C BF 2B 78 */ mr r31, r5 +/* 802C9B1C 002C6A7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C9B20 002C6A80 7C 7E 1B 78 */ mr r30, r3 +/* 802C9B24 002C6A84 38 61 00 08 */ addi r3, r1, 8 +/* 802C9B28 002C6A88 48 07 4B F9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B2C 002C6A8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9B30 002C6A90 38 81 00 08 */ addi r4, r1, 8 +/* 802C9B34 002C6A94 48 07 3C 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B38 002C6A98 38 61 00 08 */ addi r3, r1, 8 +/* 802C9B3C 002C6A9C 48 07 35 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9B40 002C6AA0 7F C3 F3 78 */ mr r3, r30 +/* 802C9B44 002C6AA4 7F E5 FB 78 */ mr r5, r31 +/* 802C9B48 002C6AA8 38 81 00 18 */ addi r4, r1, 0x18 +/* 802C9B4C 002C6AAC 4B FF FD 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802C9B50 002C6AB0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9B54 002C6AB4 48 07 35 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802C9B58 002C6AB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9B5C 002C6ABC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C9B60 002C6AC0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9B64 002C6AC4 7C 08 03 A6 */ mtlr r0 +/* 802C9B68 002C6AC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9B6C 002C6ACC 4E 80 00 20 */ blr + +.global _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +_GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: +/* 802C9B70 002C6AD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C9B74 002C6AD4 7C 08 02 A6 */ mflr r0 +/* 802C9B78 002C6AD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C9B7C 002C6ADC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802C9B80 002C6AE0 3B E0 00 00 */ li r31, 0 +/* 802C9B84 002C6AE4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802C9B88 002C6AE8 3B C0 00 00 */ li r30, 0 +/* 802C9B8C 002C6AEC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C9B90 002C6AF0 7C 7D 1B 78 */ mr r29, r3 +/* 802C9B94 002C6AF4 48 00 00 40 */ b lbl_802C9BD4 +lbl_802C9B98: +/* 802C9B98 002C6AF8 80 1D 02 C8 */ lwz r0, 0x2c8(r29) +/* 802C9B9C 002C6AFC 7C 60 FA 14 */ add r3, r0, r31 +/* 802C9BA0 002C6B00 88 03 00 04 */ lbz r0, 4(r3) +/* 802C9BA4 002C6B04 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BA8 002C6B08 40 82 00 08 */ bne lbl_802C9BB0 +/* 802C9BAC 002C6B0C 48 07 71 D9 */ bl Lock__6CTokenFv +lbl_802C9BB0: +/* 802C9BB0 002C6B10 80 7D 02 C8 */ lwz r3, 0x2c8(r29) +/* 802C9BB4 002C6B14 7C 63 F8 2E */ lwzx r3, r3, r31 +/* 802C9BB8 002C6B18 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802C9BBC 002C6B1C 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BC0 002C6B20 40 82 00 0C */ bne lbl_802C9BCC +/* 802C9BC4 002C6B24 38 60 00 00 */ li r3, 0 +/* 802C9BC8 002C6B28 48 00 00 80 */ b lbl_802C9C48 +lbl_802C9BCC: +/* 802C9BCC 002C6B2C 3B FF 00 08 */ addi r31, r31, 8 +/* 802C9BD0 002C6B30 3B DE 00 01 */ addi r30, r30, 1 +lbl_802C9BD4: +/* 802C9BD4 002C6B34 80 7D 02 C0 */ lwz r3, 0x2c0(r29) +/* 802C9BD8 002C6B38 7C 1E 18 00 */ cmpw r30, r3 +/* 802C9BDC 002C6B3C 41 80 FF BC */ blt lbl_802C9B98 +/* 802C9BE0 002C6B40 88 1D 02 D8 */ lbz r0, 0x2d8(r29) +/* 802C9BE4 002C6B44 28 00 00 00 */ cmplwi r0, 0 +/* 802C9BE8 002C6B48 41 82 00 48 */ beq lbl_802C9C30 +/* 802C9BEC 002C6B4C 3B FD 02 CC */ addi r31, r29, 0x2cc +/* 802C9BF0 002C6B50 3B A1 00 08 */ addi r29, r1, 8 +/* 802C9BF4 002C6B54 7F A3 EB 78 */ mr r3, r29 +/* 802C9BF8 002C6B58 7F E4 FB 78 */ mr r4, r31 +/* 802C9BFC 002C6B5C 48 07 72 AD */ bl __ct__6CTokenFRC6CToken +/* 802C9C00 002C6B60 80 1F 00 08 */ lwz r0, 8(r31) +/* 802C9C04 002C6B64 7F A3 EB 78 */ mr r3, r29 +/* 802C9C08 002C6B68 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9C0C 002C6B6C 48 07 71 79 */ bl Lock__6CTokenFv +/* 802C9C10 002C6B70 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802C9C14 002C6B74 48 03 63 1D */ bl IsFinishedLoading__11CRasterFontFv +/* 802C9C18 002C6B78 7C 7F 1B 78 */ mr r31, r3 +/* 802C9C1C 002C6B7C 7F A3 EB 78 */ mr r3, r29 +/* 802C9C20 002C6B80 38 80 00 00 */ li r4, 0 +/* 802C9C24 002C6B84 48 07 72 1D */ bl __dt__6CTokenFv +/* 802C9C28 002C6B88 7F E3 FB 78 */ mr r3, r31 +/* 802C9C2C 002C6B8C 48 00 00 1C */ b lbl_802C9C48 +lbl_802C9C30: +/* 802C9C30 002C6B90 40 82 00 14 */ bne lbl_802C9C44 +/* 802C9C34 002C6B94 2C 03 00 00 */ cmpwi r3, 0 +/* 802C9C38 002C6B98 40 82 00 0C */ bne lbl_802C9C44 +/* 802C9C3C 002C6B9C 38 60 00 00 */ li r3, 0 +/* 802C9C40 002C6BA0 48 00 00 08 */ b lbl_802C9C48 +lbl_802C9C44: +/* 802C9C44 002C6BA4 38 60 00 01 */ li r3, 1 +lbl_802C9C48: +/* 802C9C48 002C6BA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C9C4C 002C6BAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802C9C50 002C6BB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802C9C54 002C6BB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802C9C58 002C6BB8 7C 08 03 A6 */ mtlr r0 +/* 802C9C5C 002C6BBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C9C60 002C6BC0 4E 80 00 20 */ blr + +.global GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: +/* 802C9C64 002C6BC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9C68 002C6BC8 7C 08 02 A6 */ mflr r0 +/* 802C9C6C 002C6BCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9C70 002C6BD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9C74 002C6BD4 7C 7F 1B 78 */ mr r31, r3 +/* 802C9C78 002C6BD8 4B FF EE B5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv +/* 802C9C7C 002C6BDC 7F E3 FB 78 */ mr r3, r31 +/* 802C9C80 002C6BE0 4B FF FE F1 */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv +/* 802C9C84 002C6BE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9C88 002C6BE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9C8C 002C6BEC 7C 08 03 A6 */ mtlr r0 +/* 802C9C90 002C6BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9C94 002C6BF4 4E 80 00 20 */ blr + +.global __dt__15CGuiTextSupportFv +__dt__15CGuiTextSupportFv: +/* 802C9C98 002C6BF8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C9C9C 002C6BFC 7C 08 02 A6 */ mflr r0 +/* 802C9CA0 002C6C00 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C9CA4 002C6C04 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C9CA8 002C6C08 7C 9F 23 78 */ mr r31, r4 +/* 802C9CAC 002C6C0C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802C9CB0 002C6C10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C9CB4 002C6C14 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802C9CB8 002C6C18 93 81 00 30 */ stw r28, 0x30(r1) +/* 802C9CBC 002C6C1C 41 82 01 0C */ beq lbl_802C9DC8 +/* 802C9CC0 002C6C20 38 7E 02 EC */ addi r3, r30, 0x2ec +/* 802C9CC4 002C6C24 38 80 FF FF */ li r4, -1 +/* 802C9CC8 002C6C28 48 00 04 29 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +/* 802C9CCC 002C6C2C 34 1E 02 CC */ addic. r0, r30, 0x2cc +/* 802C9CD0 002C6C30 41 82 00 30 */ beq lbl_802C9D00 +/* 802C9CD4 002C6C34 88 1E 02 D8 */ lbz r0, 0x2d8(r30) +/* 802C9CD8 002C6C38 28 00 00 00 */ cmplwi r0, 0 +/* 802C9CDC 002C6C3C 41 82 00 1C */ beq lbl_802C9CF8 +/* 802C9CE0 002C6C40 34 7E 02 CC */ addic. r3, r30, 0x2cc +/* 802C9CE4 002C6C44 41 82 00 14 */ beq lbl_802C9CF8 +/* 802C9CE8 002C6C48 28 03 00 00 */ cmplwi r3, 0 +/* 802C9CEC 002C6C4C 41 82 00 0C */ beq lbl_802C9CF8 +/* 802C9CF0 002C6C50 38 80 00 00 */ li r4, 0 +/* 802C9CF4 002C6C54 48 07 71 4D */ bl __dt__6CTokenFv +lbl_802C9CF8: +/* 802C9CF8 002C6C58 38 00 00 00 */ li r0, 0 +/* 802C9CFC 002C6C5C 98 1E 02 D8 */ stb r0, 0x2d8(r30) +lbl_802C9D00: +/* 802C9D00 002C6C60 34 1E 02 BC */ addic. r0, r30, 0x2bc +/* 802C9D04 002C6C64 41 82 00 50 */ beq lbl_802C9D54 +/* 802C9D08 002C6C68 80 1E 02 C0 */ lwz r0, 0x2c0(r30) +/* 802C9D0C 002C6C6C 83 9E 02 C8 */ lwz r28, 0x2c8(r30) +/* 802C9D10 002C6C70 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9D14 002C6C74 7F BC 02 14 */ add r29, r28, r0 +/* 802C9D18 002C6C78 93 81 00 1C */ stw r28, 0x1c(r1) +/* 802C9D1C 002C6C7C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802C9D20 002C6C80 93 A1 00 20 */ stw r29, 0x20(r1) +/* 802C9D24 002C6C84 93 81 00 18 */ stw r28, 0x18(r1) +/* 802C9D28 002C6C88 48 00 00 14 */ b lbl_802C9D3C +lbl_802C9D2C: +/* 802C9D2C 002C6C8C 7F 83 E3 78 */ mr r3, r28 +/* 802C9D30 002C6C90 38 80 FF FF */ li r4, -1 +/* 802C9D34 002C6C94 48 07 71 0D */ bl __dt__6CTokenFv +/* 802C9D38 002C6C98 3B 9C 00 08 */ addi r28, r28, 8 +lbl_802C9D3C: +/* 802C9D3C 002C6C9C 7C 1C E8 40 */ cmplw r28, r29 +/* 802C9D40 002C6CA0 40 82 FF EC */ bne lbl_802C9D2C +/* 802C9D44 002C6CA4 80 7E 02 C8 */ lwz r3, 0x2c8(r30) +/* 802C9D48 002C6CA8 28 03 00 00 */ cmplwi r3, 0 +/* 802C9D4C 002C6CAC 41 82 00 08 */ beq lbl_802C9D54 +/* 802C9D50 002C6CB0 48 04 BB E1 */ bl Free__7CMemoryFPCv +lbl_802C9D54: +/* 802C9D54 002C6CB4 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802C9D58 002C6CB8 38 80 FF FF */ li r4, -1 +/* 802C9D5C 002C6CBC 48 00 00 91 */ bl sub_802c9dec +/* 802C9D60 002C6CC0 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802C9D64 002C6CC4 41 82 00 44 */ beq lbl_802C9DA8 +/* 802C9D68 002C6CC8 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802C9D6C 002C6CCC 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802C9D70 002C6CD0 54 00 18 38 */ slwi r0, r0, 3 +/* 802C9D74 002C6CD4 7C 03 02 14 */ add r0, r3, r0 +/* 802C9D78 002C6CD8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802C9D7C 002C6CDC 7C 64 1B 78 */ mr r4, r3 +/* 802C9D80 002C6CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9D84 002C6CE4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9D88 002C6CE8 90 61 00 08 */ stw r3, 8(r1) +/* 802C9D8C 002C6CEC 48 00 00 08 */ b lbl_802C9D94 +lbl_802C9D90: +/* 802C9D90 002C6CF0 38 84 00 08 */ addi r4, r4, 8 +lbl_802C9D94: +/* 802C9D94 002C6CF4 7C 04 00 40 */ cmplw r4, r0 +/* 802C9D98 002C6CF8 40 82 FF F8 */ bne lbl_802C9D90 +/* 802C9D9C 002C6CFC 28 03 00 00 */ cmplwi r3, 0 +/* 802C9DA0 002C6D00 41 82 00 08 */ beq lbl_802C9DA8 +/* 802C9DA4 002C6D04 48 04 BB 8D */ bl Free__7CMemoryFPCv +lbl_802C9DA8: +/* 802C9DA8 002C6D08 28 1E 00 00 */ cmplwi r30, 0 +/* 802C9DAC 002C6D0C 41 82 00 0C */ beq lbl_802C9DB8 +/* 802C9DB0 002C6D10 7F C3 F3 78 */ mr r3, r30 +/* 802C9DB4 002C6D14 48 07 33 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802C9DB8: +/* 802C9DB8 002C6D18 7F E0 07 35 */ extsh. r0, r31 +/* 802C9DBC 002C6D1C 40 81 00 0C */ ble lbl_802C9DC8 +/* 802C9DC0 002C6D20 7F C3 F3 78 */ mr r3, r30 +/* 802C9DC4 002C6D24 48 04 BB 6D */ bl Free__7CMemoryFPCv +lbl_802C9DC8: +/* 802C9DC8 002C6D28 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802C9DCC 002C6D2C 7F C3 F3 78 */ mr r3, r30 +/* 802C9DD0 002C6D30 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802C9DD4 002C6D34 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802C9DD8 002C6D38 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802C9DDC 002C6D3C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802C9DE0 002C6D40 7C 08 03 A6 */ mtlr r0 +/* 802C9DE4 002C6D44 38 21 00 40 */ addi r1, r1, 0x40 +/* 802C9DE8 002C6D48 4E 80 00 20 */ blr + +.global sub_802c9dec +sub_802c9dec: +/* 802C9DEC 002C6D4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C9DF0 002C6D50 7C 08 02 A6 */ mflr r0 +/* 802C9DF4 002C6D54 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C9DF8 002C6D58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C9DFC 002C6D5C 7C 9F 23 78 */ mr r31, r4 +/* 802C9E00 002C6D60 93 C1 00 08 */ stw r30, 8(r1) +/* 802C9E04 002C6D64 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802C9E08 002C6D68 41 82 00 18 */ beq lbl_802C9E20 +/* 802C9E0C 002C6D6C 4B FF EC BD */ bl sub_802c8ac8 +/* 802C9E10 002C6D70 7F E0 07 35 */ extsh. r0, r31 +/* 802C9E14 002C6D74 40 81 00 0C */ ble lbl_802C9E20 +/* 802C9E18 002C6D78 7F C3 F3 78 */ mr r3, r30 +/* 802C9E1C 002C6D7C 48 04 BB 15 */ bl Free__7CMemoryFPCv +lbl_802C9E20: +/* 802C9E20 002C6D80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C9E24 002C6D84 7F C3 F3 78 */ mr r3, r30 +/* 802C9E28 002C6D88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C9E2C 002C6D8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C9E30 002C6D90 7C 08 03 A6 */ mtlr r0 +/* 802C9E34 002C6D94 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C9E38 002C6D98 4E 80 00 20 */ blr + +.global __ct__15CGuiTextSupportFv +__ct__15CGuiTextSupportFv: +/* 802C9E3C 002C6D9C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802C9E40 002C6DA0 7C 08 02 A6 */ mflr r0 +/* 802C9E44 002C6DA4 39 60 00 00 */ li r11, 0 +/* 802C9E48 002C6DA8 C0 42 C3 E0 */ lfs f2, lbl_805AE100@sda21(r2) +/* 802C9E4C 002C6DAC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802C9E50 002C6DB0 38 0D A9 1A */ addi r0, r13, lbl_805A94DA@sda21 +/* 802C9E54 002C6DB4 C0 22 C4 08 */ lfs f1, lbl_805AE128@sda21(r2) +/* 802C9E58 002C6DB8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802C9E5C 002C6DBC C0 02 C4 0C */ lfs f0, lbl_805AE12C@sda21(r2) +/* 802C9E60 002C6DC0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802C9E64 002C6DC4 7C 7E 1B 78 */ mr r30, r3 +/* 802C9E68 002C6DC8 83 E1 00 48 */ lwz r31, 0x48(r1) +/* 802C9E6C 002C6DCC 90 03 00 00 */ stw r0, 0(r3) +/* 802C9E70 002C6DD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 802C9E74 002C6DD4 91 7E 00 04 */ stw r11, 4(r30) +/* 802C9E78 002C6DD8 91 7E 00 08 */ stw r11, 8(r30) +/* 802C9E7C 002C6DDC D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 802C9E80 002C6DE0 88 05 00 00 */ lbz r0, 0(r5) +/* 802C9E84 002C6DE4 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802C9E88 002C6DE8 88 05 00 01 */ lbz r0, 1(r5) +/* 802C9E8C 002C6DEC 98 1E 00 15 */ stb r0, 0x15(r30) +/* 802C9E90 002C6DF0 80 05 00 04 */ lwz r0, 4(r5) +/* 802C9E94 002C6DF4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802C9E98 002C6DF8 80 05 00 08 */ lwz r0, 8(r5) +/* 802C9E9C 002C6DFC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802C9EA0 002C6E00 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802C9EA4 002C6E04 38 A0 00 00 */ li r5, 0 +/* 802C9EA8 002C6E08 90 1E 00 20 */ stw r0, 0x20(r30) +/* 802C9EAC 002C6E0C 80 06 00 00 */ lwz r0, 0(r6) +/* 802C9EB0 002C6E10 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802C9EB4 002C6E14 80 07 00 00 */ lwz r0, 0(r7) +/* 802C9EB8 002C6E18 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802C9EBC 002C6E1C 80 08 00 00 */ lwz r0, 0(r8) +/* 802C9EC0 002C6E20 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802C9EC4 002C6E24 99 7E 00 30 */ stb r11, 0x30(r30) +/* 802C9EC8 002C6E28 91 3E 00 34 */ stw r9, 0x34(r30) +/* 802C9ECC 002C6E2C 91 5E 00 38 */ stw r10, 0x38(r30) +/* 802C9ED0 002C6E30 D0 5E 00 3C */ stfs f2, 0x3c(r30) +/* 802C9ED4 002C6E34 91 7E 00 44 */ stw r11, 0x44(r30) +/* 802C9ED8 002C6E38 91 7E 00 48 */ stw r11, 0x48(r30) +/* 802C9EDC 002C6E3C 91 7E 00 4C */ stw r11, 0x4c(r30) +/* 802C9EE0 002C6E40 99 7E 00 50 */ stb r11, 0x50(r30) +/* 802C9EE4 002C6E44 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 802C9EE8 002C6E48 D0 1E 00 58 */ stfs f0, 0x58(r30) +/* 802C9EEC 002C6E4C 90 9E 00 5C */ stw r4, 0x5c(r30) +/* 802C9EF0 002C6E50 38 80 00 00 */ li r4, 0 +/* 802C9EF4 002C6E54 99 7E 02 B8 */ stb r11, 0x2b8(r30) +/* 802C9EF8 002C6E58 91 7E 02 C0 */ stw r11, 0x2c0(r30) +/* 802C9EFC 002C6E5C 91 7E 02 C4 */ stw r11, 0x2c4(r30) +/* 802C9F00 002C6E60 91 7E 02 C8 */ stw r11, 0x2c8(r30) +/* 802C9F04 002C6E64 99 7E 02 D8 */ stb r11, 0x2d8(r30) +/* 802C9F08 002C6E68 48 04 A4 45 */ bl __ct__9CVector2iFii +/* 802C9F0C 002C6E6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802C9F10 002C6E70 38 80 00 00 */ li r4, 0 +/* 802C9F14 002C6E74 38 A0 00 00 */ li r5, 0 +/* 802C9F18 002C6E78 48 04 A4 35 */ bl __ct__9CVector2iFii +/* 802C9F1C 002C6E7C 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802C9F20 002C6E80 38 7E 02 F8 */ addi r3, r30, 0x2f8 +/* 802C9F24 002C6E84 38 00 00 00 */ li r0, 0 +/* 802C9F28 002C6E88 90 9E 02 DC */ stw r4, 0x2dc(r30) +/* 802C9F2C 002C6E8C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802C9F30 002C6E90 90 9E 02 E0 */ stw r4, 0x2e0(r30) +/* 802C9F34 002C6E94 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802C9F38 002C6E98 90 9E 02 E4 */ stw r4, 0x2e4(r30) +/* 802C9F3C 002C6E9C 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 802C9F40 002C6EA0 90 9E 02 E8 */ stw r4, 0x2e8(r30) +/* 802C9F44 002C6EA4 90 7E 02 F0 */ stw r3, 0x2f0(r30) +/* 802C9F48 002C6EA8 90 7E 02 F4 */ stw r3, 0x2f4(r30) +/* 802C9F4C 002C6EAC 90 7E 02 F8 */ stw r3, 0x2f8(r30) +/* 802C9F50 002C6EB0 90 7E 02 FC */ stw r3, 0x2fc(r30) +/* 802C9F54 002C6EB4 90 1E 03 00 */ stw r0, 0x300(r30) +/* 802C9F58 002C6EB8 90 1E 03 04 */ stw r0, 0x304(r30) +/* 802C9F5C 002C6EBC 98 1E 03 08 */ stb r0, 0x308(r30) +/* 802C9F60 002C6EC0 80 9E 00 5C */ lwz r4, 0x5c(r30) +/* 802C9F64 002C6EC4 3C 04 00 01 */ addis r0, r4, 1 +/* 802C9F68 002C6EC8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802C9F6C 002C6ECC 41 82 00 BC */ beq lbl_802CA028 +/* 802C9F70 002C6ED0 3C 60 46 4F */ lis r3, 0x464F4E54@ha +/* 802C9F74 002C6ED4 90 81 00 14 */ stw r4, 0x14(r1) +/* 802C9F78 002C6ED8 38 03 4E 54 */ addi r0, r3, 0x464F4E54@l +/* 802C9F7C 002C6EDC 7F E4 FB 78 */ mr r4, r31 +/* 802C9F80 002C6EE0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802C9F84 002C6EE4 38 61 00 08 */ addi r3, r1, 8 +/* 802C9F88 002C6EE8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802C9F8C 002C6EEC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802C9F90 002C6EF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802C9F94 002C6EF4 7D 89 03 A6 */ mtctr r12 +/* 802C9F98 002C6EF8 4E 80 04 21 */ bctrl +/* 802C9F9C 002C6EFC 3B E1 00 28 */ addi r31, r1, 0x28 +/* 802C9FA0 002C6F00 38 81 00 08 */ addi r4, r1, 8 +/* 802C9FA4 002C6F04 7F E3 FB 78 */ mr r3, r31 +/* 802C9FA8 002C6F08 48 07 6F 01 */ bl __ct__6CTokenFRC6CToken +/* 802C9FAC 002C6F0C 7F E3 FB 78 */ mr r3, r31 +/* 802C9FB0 002C6F10 48 07 6E 5D */ bl GetObj__6CTokenFv +/* 802C9FB4 002C6F14 80 03 00 04 */ lwz r0, 4(r3) +/* 802C9FB8 002C6F18 90 01 00 30 */ stw r0, 0x30(r1) +/* 802C9FBC 002C6F1C 88 1E 02 D8 */ lbz r0, 0x2d8(r30) +/* 802C9FC0 002C6F20 28 00 00 00 */ cmplwi r0, 0 +/* 802C9FC4 002C6F24 40 82 00 34 */ bne lbl_802C9FF8 +/* 802C9FC8 002C6F28 37 FE 02 CC */ addic. r31, r30, 0x2cc +/* 802C9FCC 002C6F2C 41 82 00 20 */ beq lbl_802C9FEC +/* 802C9FD0 002C6F30 7F E3 FB 78 */ mr r3, r31 +/* 802C9FD4 002C6F34 38 81 00 28 */ addi r4, r1, 0x28 +/* 802C9FD8 002C6F38 48 07 6E D1 */ bl __ct__6CTokenFRC6CToken +/* 802C9FDC 002C6F3C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802C9FE0 002C6F40 7F E3 FB 78 */ mr r3, r31 +/* 802C9FE4 002C6F44 90 1F 00 08 */ stw r0, 8(r31) +/* 802C9FE8 002C6F48 48 07 6D 9D */ bl Lock__6CTokenFv +lbl_802C9FEC: +/* 802C9FEC 002C6F4C 38 00 00 01 */ li r0, 1 +/* 802C9FF0 002C6F50 98 1E 02 D8 */ stb r0, 0x2d8(r30) +/* 802C9FF4 002C6F54 48 00 00 1C */ b lbl_802CA010 +lbl_802C9FF8: +/* 802C9FF8 002C6F58 3B FE 02 CC */ addi r31, r30, 0x2cc +/* 802C9FFC 002C6F5C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CA000 002C6F60 7F E3 FB 78 */ mr r3, r31 +/* 802CA004 002C6F64 48 07 6C C1 */ bl __as__6CTokenFRC6CToken +/* 802CA008 002C6F68 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802CA00C 002C6F6C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802CA010: +/* 802CA010 002C6F70 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CA014 002C6F74 38 80 00 00 */ li r4, 0 +/* 802CA018 002C6F78 48 07 6E 29 */ bl __dt__6CTokenFv +/* 802CA01C 002C6F7C 38 61 00 08 */ addi r3, r1, 8 +/* 802CA020 002C6F80 38 80 FF FF */ li r4, -1 +/* 802CA024 002C6F84 48 07 6E 1D */ bl __dt__6CTokenFv +lbl_802CA028: +/* 802CA028 002C6F88 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802CA02C 002C6F8C 7F C3 F3 78 */ mr r3, r30 +/* 802CA030 002C6F90 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802CA034 002C6F94 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802CA038 002C6F98 7C 08 03 A6 */ mtlr r0 +/* 802CA03C 002C6F9C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802CA040 002C6FA0 4E 80 00 20 */ blr + +.global __ct__18CGuiTextPropertiesFv +__ct__18CGuiTextPropertiesFv: +/* 802CA044 002C6FA4 98 83 00 00 */ stb r4, 0(r3) +/* 802CA048 002C6FA8 98 A3 00 01 */ stb r5, 1(r3) +/* 802CA04C 002C6FAC 90 C3 00 04 */ stw r6, 4(r3) +/* 802CA050 002C6FB0 90 E3 00 08 */ stw r7, 8(r3) +/* 802CA054 002C6FB4 91 03 00 0C */ stw r8, 0xc(r3) +/* 802CA058 002C6FB8 4E 80 00 20 */ blr + +.global sub_802ca05c +sub_802ca05c: +/* 802CA05C 002C6FBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA060 002C6FC0 7C 08 02 A6 */ mflr r0 +/* 802CA064 002C6FC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA068 002C6FC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA06C 002C6FCC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA070 002C6FD0 7C 9E 23 78 */ mr r30, r4 +/* 802CA074 002C6FD4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA078 002C6FD8 7C 7D 1B 78 */ mr r29, r3 +/* 802CA07C 002C6FDC 80 03 00 04 */ lwz r0, 4(r3) +/* 802CA080 002C6FE0 83 E4 00 04 */ lwz r31, 4(r4) +/* 802CA084 002C6FE4 7C 1E 00 40 */ cmplw r30, r0 +/* 802CA088 002C6FE8 40 82 00 08 */ bne lbl_802CA090 +/* 802CA08C 002C6FEC 93 FD 00 04 */ stw r31, 4(r29) +lbl_802CA090: +/* 802CA090 002C6FF0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA094 002C6FF4 38 7E 00 08 */ addi r3, r30, 8 +/* 802CA098 002C6FF8 80 BE 00 00 */ lwz r5, 0(r30) +/* 802CA09C 002C6FFC 38 80 FF FF */ li r4, -1 +/* 802CA0A0 002C7000 90 05 00 04 */ stw r0, 4(r5) +/* 802CA0A4 002C7004 80 1E 00 00 */ lwz r0, 0(r30) +/* 802CA0A8 002C7008 80 BE 00 04 */ lwz r5, 4(r30) +/* 802CA0AC 002C700C 90 05 00 00 */ stw r0, 0(r5) +/* 802CA0B0 002C7010 4B D5 E8 AD */ bl __dt__17CTextRenderBufferFv +/* 802CA0B4 002C7014 28 1E 00 00 */ cmplwi r30, 0 +/* 802CA0B8 002C7018 41 82 00 0C */ beq lbl_802CA0C4 +/* 802CA0BC 002C701C 7F C3 F3 78 */ mr r3, r30 +/* 802CA0C0 002C7020 48 04 B8 71 */ bl Free__7CMemoryFPCv +lbl_802CA0C4: +/* 802CA0C4 002C7024 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802CA0C8 002C7028 7F E3 FB 78 */ mr r3, r31 +/* 802CA0CC 002C702C 38 04 FF FF */ addi r0, r4, -1 +/* 802CA0D0 002C7030 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802CA0D4 002C7034 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA0D8 002C7038 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA0DC 002C703C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA0E0 002C7040 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA0E4 002C7044 7C 08 03 A6 */ mtlr r0 +/* 802CA0E8 002C7048 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA0EC 002C704C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" +"__dt__Q24rstl25list<17CTextRenderBuffer>Fv": +/* 802CA0F0 002C7050 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA0F4 002C7054 7C 08 02 A6 */ mflr r0 +/* 802CA0F8 002C7058 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA0FC 002C705C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA100 002C7060 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA104 002C7064 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA108 002C7068 7C 9D 23 78 */ mr r29, r4 +/* 802CA10C 002C706C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802CA110 002C7070 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802CA114 002C7074 41 82 00 4C */ beq lbl_802CA160 +/* 802CA118 002C7078 83 FC 00 04 */ lwz r31, 4(r28) +/* 802CA11C 002C707C 48 00 00 28 */ b lbl_802CA144 +lbl_802CA120: +/* 802CA120 002C7080 7F FE FB 78 */ mr r30, r31 +/* 802CA124 002C7084 83 FF 00 04 */ lwz r31, 4(r31) +/* 802CA128 002C7088 38 7E 00 08 */ addi r3, r30, 8 +/* 802CA12C 002C708C 38 80 FF FF */ li r4, -1 +/* 802CA130 002C7090 4B D5 E8 2D */ bl __dt__17CTextRenderBufferFv +/* 802CA134 002C7094 28 1E 00 00 */ cmplwi r30, 0 +/* 802CA138 002C7098 41 82 00 0C */ beq lbl_802CA144 +/* 802CA13C 002C709C 7F C3 F3 78 */ mr r3, r30 +/* 802CA140 002C70A0 48 04 B7 F1 */ bl Free__7CMemoryFPCv +lbl_802CA144: +/* 802CA144 002C70A4 80 1C 00 08 */ lwz r0, 8(r28) +/* 802CA148 002C70A8 7C 1F 00 40 */ cmplw r31, r0 +/* 802CA14C 002C70AC 40 82 FF D4 */ bne lbl_802CA120 +/* 802CA150 002C70B0 7F A0 07 35 */ extsh. r0, r29 +/* 802CA154 002C70B4 40 81 00 0C */ ble lbl_802CA160 +/* 802CA158 002C70B8 7F 83 E3 78 */ mr r3, r28 +/* 802CA15C 002C70BC 48 04 B7 D5 */ bl Free__7CMemoryFPCv +lbl_802CA160: +/* 802CA160 002C70C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA164 002C70C4 7F 83 E3 78 */ mr r3, r28 +/* 802CA168 002C70C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA16C 002C70CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA170 002C70D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA174 002C70D4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802CA178 002C70D8 7C 08 03 A6 */ mtlr r0 +/* 802CA17C 002C70DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA180 002C70E0 4E 80 00 20 */ blr + +.global sub_802ca184 +sub_802ca184: +/* 802CA184 002C70E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA188 002C70E8 7C 08 02 A6 */ mflr r0 +/* 802CA18C 002C70EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA190 002C70F0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802CA194 002C70F4 7C 9F 23 78 */ mr r31, r4 +/* 802CA198 002C70F8 7C 7E 1B 78 */ mr r30, r3 +/* 802CA19C 002C70FC 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA1A0 002C7100 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA1A4 002C7104 40 81 00 C0 */ ble lbl_802CA264 +/* 802CA1A8 002C7108 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CA1AC 002C710C 40 82 00 0C */ bne lbl_802CA1B8 +/* 802CA1B0 002C7110 3B 80 00 00 */ li r28, 0 +/* 802CA1B4 002C7114 48 00 00 18 */ b lbl_802CA1CC +lbl_802CA1B8: +/* 802CA1B8 002C7118 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA1BC 002C711C 38 A0 00 00 */ li r5, 0 +/* 802CA1C0 002C7120 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA1C4 002C7124 48 04 B6 55 */ bl __nwa__FUlPCcPCc +/* 802CA1C8 002C7128 7C 7C 1B 78 */ mr r28, r3 +lbl_802CA1CC: +/* 802CA1CC 002C712C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA1D0 002C7130 7F 9B E3 78 */ mr r27, r28 +/* 802CA1D4 002C7134 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802CA1D8 002C7138 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA1DC 002C713C 7F BA 02 14 */ add r29, r26, r0 +/* 802CA1E0 002C7140 93 41 00 10 */ stw r26, 0x10(r1) +/* 802CA1E4 002C7144 93 A1 00 08 */ stw r29, 8(r1) +/* 802CA1E8 002C7148 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802CA1EC 002C714C 93 41 00 14 */ stw r26, 0x14(r1) +/* 802CA1F0 002C7150 48 00 00 20 */ b lbl_802CA210 +lbl_802CA1F4: +/* 802CA1F4 002C7154 28 1B 00 00 */ cmplwi r27, 0 +/* 802CA1F8 002C7158 41 82 00 10 */ beq lbl_802CA208 +/* 802CA1FC 002C715C 7F 63 DB 78 */ mr r3, r27 +/* 802CA200 002C7160 7F 44 D3 78 */ mr r4, r26 +/* 802CA204 002C7164 48 07 6C A5 */ bl __ct__6CTokenFRC6CToken +lbl_802CA208: +/* 802CA208 002C7168 3B 7B 00 08 */ addi r27, r27, 8 +/* 802CA20C 002C716C 3B 5A 00 08 */ addi r26, r26, 8 +lbl_802CA210: +/* 802CA210 002C7170 7C 1A E8 40 */ cmplw r26, r29 +/* 802CA214 002C7174 40 82 FF E0 */ bne lbl_802CA1F4 +/* 802CA218 002C7178 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA21C 002C717C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802CA220 002C7180 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA224 002C7184 7F 7A 02 14 */ add r27, r26, r0 +/* 802CA228 002C7188 48 00 00 1C */ b lbl_802CA244 +lbl_802CA22C: +/* 802CA22C 002C718C 28 1A 00 00 */ cmplwi r26, 0 +/* 802CA230 002C7190 41 82 00 10 */ beq lbl_802CA240 +/* 802CA234 002C7194 7F 43 D3 78 */ mr r3, r26 +/* 802CA238 002C7198 38 80 00 00 */ li r4, 0 +/* 802CA23C 002C719C 48 07 6C 05 */ bl __dt__6CTokenFv +lbl_802CA240: +/* 802CA240 002C71A0 3B 5A 00 08 */ addi r26, r26, 8 +lbl_802CA244: +/* 802CA244 002C71A4 7C 1A D8 40 */ cmplw r26, r27 +/* 802CA248 002C71A8 40 82 FF E4 */ bne lbl_802CA22C +/* 802CA24C 002C71AC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA250 002C71B0 28 03 00 00 */ cmplwi r3, 0 +/* 802CA254 002C71B4 41 82 00 08 */ beq lbl_802CA25C +/* 802CA258 002C71B8 48 04 B6 D9 */ bl Free__7CMemoryFPCv +lbl_802CA25C: +/* 802CA25C 002C71BC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802CA260 002C71C0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA264: +/* 802CA264 002C71C4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802CA268 002C71C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA26C 002C71CC 7C 08 03 A6 */ mtlr r0 +/* 802CA270 002C71D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA274 002C71D4 4E 80 00 20 */ blr + +.global sub_802ca278 +sub_802ca278: +/* 802CA278 002C71D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA27C 002C71DC 7C 08 02 A6 */ mflr r0 +/* 802CA280 002C71E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA284 002C71E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA288 002C71E8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA28C 002C71EC 7C 9E 23 78 */ mr r30, r4 +/* 802CA290 002C71F0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA294 002C71F4 7C 7D 1B 78 */ mr r29, r3 +/* 802CA298 002C71F8 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA29C 002C71FC 7C 1E 00 00 */ cmpw r30, r0 +/* 802CA2A0 002C7200 40 81 00 8C */ ble lbl_802CA32C +/* 802CA2A4 002C7204 1C 7E 00 1C */ mulli r3, r30, 0x1c +/* 802CA2A8 002C7208 2C 03 00 00 */ cmpwi r3, 0 +/* 802CA2AC 002C720C 40 82 00 0C */ bne lbl_802CA2B8 +/* 802CA2B0 002C7210 3B E0 00 00 */ li r31, 0 +/* 802CA2B4 002C7214 48 00 00 18 */ b lbl_802CA2CC +lbl_802CA2B8: +/* 802CA2B8 002C7218 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA2BC 002C721C 38 A0 00 00 */ li r5, 0 +/* 802CA2C0 002C7220 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA2C4 002C7224 48 04 B5 55 */ bl __nwa__FUlPCcPCc +/* 802CA2C8 002C7228 7C 7F 1B 78 */ mr r31, r3 +lbl_802CA2CC: +/* 802CA2CC 002C722C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802CA2D0 002C7230 7F E5 FB 78 */ mr r5, r31 +/* 802CA2D4 002C7234 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 802CA2D8 002C7238 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CA2DC 002C723C 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802CA2E0 002C7240 38 81 00 0C */ addi r4, r1, 0xc +/* 802CA2E4 002C7244 7C C6 02 14 */ add r6, r6, r0 +/* 802CA2E8 002C7248 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802CA2EC 002C724C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802CA2F0 002C7250 90 C1 00 08 */ stw r6, 8(r1) +/* 802CA2F4 002C7254 90 01 00 10 */ stw r0, 0x10(r1) +/* 802CA2F8 002C7258 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA2FC 002C725C 48 00 00 99 */ bl sub_802ca394 +/* 802CA300 002C7260 80 1D 00 04 */ lwz r0, 4(r29) +/* 802CA304 002C7264 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802CA308 002C7268 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 802CA30C 002C726C 7C 83 02 14 */ add r4, r3, r0 +/* 802CA310 002C7270 48 00 00 39 */ bl sub_802ca348 +/* 802CA314 002C7274 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802CA318 002C7278 28 03 00 00 */ cmplwi r3, 0 +/* 802CA31C 002C727C 41 82 00 08 */ beq lbl_802CA324 +/* 802CA320 002C7280 48 04 B6 11 */ bl Free__7CMemoryFPCv +lbl_802CA324: +/* 802CA324 002C7284 93 FD 00 0C */ stw r31, 0xc(r29) +/* 802CA328 002C7288 93 DD 00 08 */ stw r30, 8(r29) +lbl_802CA32C: +/* 802CA32C 002C728C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA330 002C7290 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA334 002C7294 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA338 002C7298 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA33C 002C729C 7C 08 03 A6 */ mtlr r0 +/* 802CA340 002C72A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA344 002C72A4 4E 80 00 20 */ blr + +.global sub_802ca348 +sub_802ca348: +/* 802CA348 002C72A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA34C 002C72AC 7C 08 02 A6 */ mflr r0 +/* 802CA350 002C72B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA354 002C72B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA358 002C72B8 7C 7F 1B 78 */ mr r31, r3 +/* 802CA35C 002C72BC 93 C1 00 08 */ stw r30, 8(r1) +/* 802CA360 002C72C0 7C 9E 23 78 */ mr r30, r4 +/* 802CA364 002C72C4 48 00 00 10 */ b lbl_802CA374 +lbl_802CA368: +/* 802CA368 002C72C8 7F E3 FB 78 */ mr r3, r31 +/* 802CA36C 002C72CC 4B FF D9 E1 */ bl sub_802c7d4c +/* 802CA370 002C72D0 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802CA374: +/* 802CA374 002C72D4 7C 1F F0 40 */ cmplw r31, r30 +/* 802CA378 002C72D8 40 82 FF F0 */ bne lbl_802CA368 +/* 802CA37C 002C72DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA380 002C72E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA384 002C72E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CA388 002C72E8 7C 08 03 A6 */ mtlr r0 +/* 802CA38C 002C72EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA390 002C72F0 4E 80 00 20 */ blr + +.global sub_802ca394 +sub_802ca394: +/* 802CA394 002C72F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA398 002C72F8 7C 08 02 A6 */ mflr r0 +/* 802CA39C 002C72FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA3A0 002C7300 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA3A4 002C7304 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA3A8 002C7308 7C BE 2B 78 */ mr r30, r5 +/* 802CA3AC 002C730C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CA3B0 002C7310 7C 9D 23 78 */ mr r29, r4 +/* 802CA3B4 002C7314 83 E3 00 00 */ lwz r31, 0(r3) +/* 802CA3B8 002C7318 48 00 00 18 */ b lbl_802CA3D0 +lbl_802CA3BC: +/* 802CA3BC 002C731C 7F C3 F3 78 */ mr r3, r30 +/* 802CA3C0 002C7320 7F E4 FB 78 */ mr r4, r31 +/* 802CA3C4 002C7324 4B FF E5 F9 */ bl sub_802c89bc +/* 802CA3C8 002C7328 3B DE 00 1C */ addi r30, r30, 0x1c +/* 802CA3CC 002C732C 3B FF 00 1C */ addi r31, r31, 0x1c +lbl_802CA3D0: +/* 802CA3D0 002C7330 80 1D 00 00 */ lwz r0, 0(r29) +/* 802CA3D4 002C7334 7C 1F 00 40 */ cmplw r31, r0 +/* 802CA3D8 002C7338 40 82 FF E4 */ bne lbl_802CA3BC +/* 802CA3DC 002C733C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA3E0 002C7340 7F C3 F3 78 */ mr r3, r30 +/* 802CA3E4 002C7344 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA3E8 002C7348 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA3EC 002C734C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CA3F0 002C7350 7C 08 03 A6 */ mtlr r0 +/* 802CA3F4 002C7354 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA3F8 002C7358 4E 80 00 20 */ blr + +.global "reserve__Q24rstl37vectorFi" +"reserve__Q24rstl37vectorFi": +/* 802CA3FC 002C735C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA400 002C7360 7C 08 02 A6 */ mflr r0 +/* 802CA404 002C7364 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA408 002C7368 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA40C 002C736C 7C 9F 23 78 */ mr r31, r4 +/* 802CA410 002C7370 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA414 002C7374 7C 7E 1B 78 */ mr r30, r3 +/* 802CA418 002C7378 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA41C 002C737C 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA420 002C7380 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA424 002C7384 40 81 00 A8 */ ble lbl_802CA4CC +/* 802CA428 002C7388 7F E3 FB 79 */ or. r3, r31, r31 +/* 802CA42C 002C738C 40 82 00 0C */ bne lbl_802CA438 +/* 802CA430 002C7390 3B A0 00 00 */ li r29, 0 +/* 802CA434 002C7394 48 00 00 18 */ b lbl_802CA44C +lbl_802CA438: +/* 802CA438 002C7398 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA43C 002C739C 38 A0 00 00 */ li r5, 0 +/* 802CA440 002C73A0 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA444 002C73A4 48 04 B3 D5 */ bl __nwa__FUlPCcPCc +/* 802CA448 002C73A8 7C 7D 1B 78 */ mr r29, r3 +lbl_802CA44C: +/* 802CA44C 002C73AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CA450 002C73B0 7F A4 EB 78 */ mr r4, r29 +/* 802CA454 002C73B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA458 002C73B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CA45C 002C73BC 7C 65 02 14 */ add r3, r5, r0 +/* 802CA460 002C73C0 7C 05 18 50 */ subf r0, r5, r3 +/* 802CA464 002C73C4 90 61 00 08 */ stw r3, 8(r1) +/* 802CA468 002C73C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CA46C 002C73CC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CA470 002C73D0 7C 09 03 A6 */ mtctr r0 +/* 802CA474 002C73D4 7C 05 18 40 */ cmplw r5, r3 +/* 802CA478 002C73D8 41 82 00 20 */ beq lbl_802CA498 +lbl_802CA47C: +/* 802CA47C 002C73DC 28 04 00 00 */ cmplwi r4, 0 +/* 802CA480 002C73E0 41 82 00 0C */ beq lbl_802CA48C +/* 802CA484 002C73E4 88 05 00 00 */ lbz r0, 0(r5) +/* 802CA488 002C73E8 98 04 00 00 */ stb r0, 0(r4) +lbl_802CA48C: +/* 802CA48C 002C73EC 38 84 00 01 */ addi r4, r4, 1 +/* 802CA490 002C73F0 38 A5 00 01 */ addi r5, r5, 1 +/* 802CA494 002C73F4 42 00 FF E8 */ bdnz lbl_802CA47C +lbl_802CA498: +/* 802CA498 002C73F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA49C 002C73FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA4A0 002C7400 7C 83 02 14 */ add r4, r3, r0 +/* 802CA4A4 002C7404 7C 03 20 50 */ subf r0, r3, r4 +/* 802CA4A8 002C7408 7C 09 03 A6 */ mtctr r0 +/* 802CA4AC 002C740C 7C 03 20 40 */ cmplw r3, r4 +/* 802CA4B0 002C7410 41 82 00 08 */ beq lbl_802CA4B8 +lbl_802CA4B4: +/* 802CA4B4 002C7414 42 00 00 00 */ bdnz lbl_802CA4B4 +lbl_802CA4B8: +/* 802CA4B8 002C7418 28 03 00 00 */ cmplwi r3, 0 +/* 802CA4BC 002C741C 41 82 00 08 */ beq lbl_802CA4C4 +/* 802CA4C0 002C7420 48 04 B4 71 */ bl Free__7CMemoryFPCv +lbl_802CA4C4: +/* 802CA4C4 002C7424 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CA4C8 002C7428 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA4CC: +/* 802CA4CC 002C742C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA4D0 002C7430 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA4D4 002C7434 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA4D8 002C7438 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA4DC 002C743C 7C 08 03 A6 */ mtlr r0 +/* 802CA4E0 002C7440 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA4E4 002C7444 4E 80 00 20 */ blr + +.global sub_802ca4e8 +sub_802ca4e8: +/* 802CA4E8 002C7448 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802CA4EC 002C744C 7C 08 02 A6 */ mflr r0 +/* 802CA4F0 002C7450 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CA4F4 002C7454 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802CA4F8 002C7458 7C 9F 23 78 */ mr r31, r4 +/* 802CA4FC 002C745C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802CA500 002C7460 7C 7E 1B 78 */ mr r30, r3 +/* 802CA504 002C7464 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802CA508 002C7468 80 03 00 08 */ lwz r0, 8(r3) +/* 802CA50C 002C746C 7C 1F 00 00 */ cmpw r31, r0 +/* 802CA510 002C7470 40 81 00 B0 */ ble lbl_802CA5C0 +/* 802CA514 002C7474 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802CA518 002C7478 40 82 00 0C */ bne lbl_802CA524 +/* 802CA51C 002C747C 3B A0 00 00 */ li r29, 0 +/* 802CA520 002C7480 48 00 00 18 */ b lbl_802CA538 +lbl_802CA524: +/* 802CA524 002C7484 3C 80 80 3D */ lis r4, lbl_803D68E0@ha +/* 802CA528 002C7488 38 A0 00 00 */ li r5, 0 +/* 802CA52C 002C748C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l +/* 802CA530 002C7490 48 04 B2 E9 */ bl __nwa__FUlPCcPCc +/* 802CA534 002C7494 7C 7D 1B 78 */ mr r29, r3 +lbl_802CA538: +/* 802CA538 002C7498 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA53C 002C749C 7F A4 EB 78 */ mr r4, r29 +/* 802CA540 002C74A0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802CA544 002C74A4 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA548 002C74A8 7C 65 02 14 */ add r3, r5, r0 +/* 802CA54C 002C74AC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802CA550 002C74B0 90 61 00 08 */ stw r3, 8(r1) +/* 802CA554 002C74B4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CA558 002C74B8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802CA55C 002C74BC 48 00 00 24 */ b lbl_802CA580 +lbl_802CA560: +/* 802CA560 002C74C0 28 04 00 00 */ cmplwi r4, 0 +/* 802CA564 002C74C4 41 82 00 14 */ beq lbl_802CA578 +/* 802CA568 002C74C8 C0 05 00 00 */ lfs f0, 0(r5) +/* 802CA56C 002C74CC D0 04 00 00 */ stfs f0, 0(r4) +/* 802CA570 002C74D0 80 05 00 04 */ lwz r0, 4(r5) +/* 802CA574 002C74D4 90 04 00 04 */ stw r0, 4(r4) +lbl_802CA578: +/* 802CA578 002C74D8 38 84 00 08 */ addi r4, r4, 8 +/* 802CA57C 002C74DC 38 A5 00 08 */ addi r5, r5, 8 +lbl_802CA580: +/* 802CA580 002C74E0 7C 05 18 40 */ cmplw r5, r3 +/* 802CA584 002C74E4 40 82 FF DC */ bne lbl_802CA560 +/* 802CA588 002C74E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CA58C 002C74EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CA590 002C74F0 54 00 18 38 */ slwi r0, r0, 3 +/* 802CA594 002C74F4 7C 64 1B 78 */ mr r4, r3 +/* 802CA598 002C74F8 7C 03 02 14 */ add r0, r3, r0 +/* 802CA59C 002C74FC 48 00 00 08 */ b lbl_802CA5A4 +lbl_802CA5A0: +/* 802CA5A0 002C7500 38 84 00 08 */ addi r4, r4, 8 +lbl_802CA5A4: +/* 802CA5A4 002C7504 7C 04 00 40 */ cmplw r4, r0 +/* 802CA5A8 002C7508 40 82 FF F8 */ bne lbl_802CA5A0 +/* 802CA5AC 002C750C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA5B0 002C7510 41 82 00 08 */ beq lbl_802CA5B8 +/* 802CA5B4 002C7514 48 04 B3 7D */ bl Free__7CMemoryFPCv +lbl_802CA5B8: +/* 802CA5B8 002C7518 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802CA5BC 002C751C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802CA5C0: +/* 802CA5C0 002C7520 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802CA5C4 002C7524 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802CA5C8 002C7528 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802CA5CC 002C752C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802CA5D0 002C7530 7C 08 03 A6 */ mtlr r0 +/* 802CA5D4 002C7534 38 21 00 30 */ addi r1, r1, 0x30 +/* 802CA5D8 002C7538 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiWidget.s b/asm/GuiSys/CGuiWidget.s new file mode 100644 index 00000000..a9f4b64c --- /dev/null +++ b/asm/GuiSys/CGuiWidget.s @@ -0,0 +1,708 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global OnActivate__10CGuiWidgetFv +OnActivate__10CGuiWidgetFv: +/* 802CA5DC 002C753C 4E 80 00 20 */ blr + +.global OnVisible__10CGuiWidgetFv +OnVisible__10CGuiWidgetFv: +/* 802CA5E0 002C7540 4E 80 00 20 */ blr + +.global SetIsActive__10CGuiWidgetFb +SetIsActive__10CGuiWidgetFb: +/* 802CA5E4 002C7544 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA5E8 002C7548 7C 08 02 A6 */ mflr r0 +/* 802CA5EC 002C754C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA5F0 002C7550 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 802CA5F4 002C7554 88 A3 00 B6 */ lbz r5, 0xb6(r3) +/* 802CA5F8 002C7558 54 A4 DF FE */ rlwinm r4, r5, 0x1b, 0x1f, 0x1f +/* 802CA5FC 002C755C 7C 04 00 40 */ cmplw r4, r0 +/* 802CA600 002C7560 41 82 00 1C */ beq lbl_802CA61C +/* 802CA604 002C7564 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a +/* 802CA608 002C7568 98 A3 00 B6 */ stb r5, 0xb6(r3) +/* 802CA60C 002C756C 81 83 00 00 */ lwz r12, 0(r3) +/* 802CA610 002C7570 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802CA614 002C7574 7D 89 03 A6 */ mtctr r12 +/* 802CA618 002C7578 4E 80 04 21 */ bctrl +lbl_802CA61C: +/* 802CA61C 002C757C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA620 002C7580 7C 08 03 A6 */ mtlr r0 +/* 802CA624 002C7584 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA628 002C7588 4E 80 00 20 */ blr + +.global SetIsVisible__10CGuiWidgetFb +SetIsVisible__10CGuiWidgetFb: +/* 802CA62C 002C758C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA630 002C7590 7C 08 02 A6 */ mflr r0 +/* 802CA634 002C7594 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA638 002C7598 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 802CA63C 002C759C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802CA640 002C75A0 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 802CA644 002C75A4 81 83 00 00 */ lwz r12, 0(r3) +/* 802CA648 002C75A8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802CA64C 002C75AC 7D 89 03 A6 */ mtctr r12 +/* 802CA650 002C75B0 4E 80 04 21 */ bctrl +/* 802CA654 002C75B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA658 002C75B8 7C 08 03 A6 */ mtlr r0 +/* 802CA65C 002C75BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA660 002C75C0 4E 80 00 20 */ blr + +.global ReapplyXform__10CGuiWidgetFv +ReapplyXform__10CGuiWidgetFv: +/* 802CA664 002C75C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA668 002C75C8 7C 08 02 A6 */ mflr r0 +/* 802CA66C 002C75CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA670 002C75D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA674 002C75D4 7C 7F 1B 78 */ mr r31, r3 +/* 802CA678 002C75D8 4B FF AA C9 */ bl RotateReset__10CGuiObjectFv +/* 802CA67C 002C75DC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802CA680 002C75E0 7F E3 FB 78 */ mr r3, r31 +/* 802CA684 002C75E4 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802CA688 002C75E8 4B FF AB 41 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f +/* 802CA68C 002C75EC 7F E3 FB 78 */ mr r3, r31 +/* 802CA690 002C75F0 38 9F 00 74 */ addi r4, r31, 0x74 +/* 802CA694 002C75F4 4B FF A9 95 */ bl MultiplyO2P__10CGuiObjectFRC12CTransform4f +/* 802CA698 002C75F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA69C 002C75FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA6A0 002C7600 7C 08 03 A6 */ mtlr r0 +/* 802CA6A4 002C7604 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA6A8 002C7608 4E 80 00 20 */ blr + +.global GetIdlePosition__10CGuiWidgetFv +GetIdlePosition__10CGuiWidgetFv: +/* 802CA6AC 002C760C C0 24 00 A0 */ lfs f1, 0xa0(r4) +/* 802CA6B0 002C7610 C0 44 00 90 */ lfs f2, 0x90(r4) +/* 802CA6B4 002C7614 C0 04 00 80 */ lfs f0, 0x80(r4) +/* 802CA6B8 002C7618 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CA6BC 002C761C D0 43 00 04 */ stfs f2, 4(r3) +/* 802CA6C0 002C7620 D0 23 00 08 */ stfs f1, 8(r3) +/* 802CA6C4 002C7624 4E 80 00 20 */ blr + +.global AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb +AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb: +/* 802CA6C8 002C7628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA6CC 002C762C 7C 08 02 A6 */ mflr r0 +/* 802CA6D0 002C7630 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA6D4 002C7634 4B FF A6 6D */ bl AddChildObject__10CGuiObjectFP10CGuiObjectbb +/* 802CA6D8 002C7638 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA6DC 002C763C 7C 08 03 A6 */ mtlr r0 +/* 802CA6E0 002C7640 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA6E4 002C7644 4E 80 00 20 */ blr + +.global SetVisibility__10CGuiWidgetFb14ETraversalMode +SetVisibility__10CGuiWidgetFb14ETraversalMode: +/* 802CA6E8 002C7648 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA6EC 002C764C 7C 08 02 A6 */ mflr r0 +/* 802CA6F0 002C7650 2C 05 00 01 */ cmpwi r5, 1 +/* 802CA6F4 002C7654 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA6F8 002C7658 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA6FC 002C765C 7C 9F 23 78 */ mr r31, r4 +/* 802CA700 002C7660 93 C1 00 08 */ stw r30, 8(r1) +/* 802CA704 002C7664 7C 7E 1B 78 */ mr r30, r3 +/* 802CA708 002C7668 41 82 00 18 */ beq lbl_802CA720 +/* 802CA70C 002C766C 40 80 00 7C */ bge lbl_802CA788 +/* 802CA710 002C7670 2C 05 00 00 */ cmpwi r5, 0 +/* 802CA714 002C7674 40 80 00 30 */ bge lbl_802CA744 +/* 802CA718 002C7678 48 00 00 70 */ b lbl_802CA788 +/* 802CA71C 002C767C 48 00 00 6C */ b lbl_802CA788 +lbl_802CA720: +/* 802CA720 002C7680 4B FF A6 11 */ bl GetChildObject__10CGuiObjectFv +/* 802CA724 002C7684 28 03 00 00 */ cmplwi r3, 0 +/* 802CA728 002C7688 41 82 00 60 */ beq lbl_802CA788 +/* 802CA72C 002C768C 7F C3 F3 78 */ mr r3, r30 +/* 802CA730 002C7690 4B FF A6 01 */ bl GetChildObject__10CGuiObjectFv +/* 802CA734 002C7694 7F E4 FB 78 */ mr r4, r31 +/* 802CA738 002C7698 38 A0 00 00 */ li r5, 0 +/* 802CA73C 002C769C 4B FF FF AD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +/* 802CA740 002C76A0 48 00 00 48 */ b lbl_802CA788 +lbl_802CA744: +/* 802CA744 002C76A4 4B FF A5 ED */ bl GetChildObject__10CGuiObjectFv +/* 802CA748 002C76A8 28 03 00 00 */ cmplwi r3, 0 +/* 802CA74C 002C76AC 41 82 00 18 */ beq lbl_802CA764 +/* 802CA750 002C76B0 7F C3 F3 78 */ mr r3, r30 +/* 802CA754 002C76B4 4B FF A5 DD */ bl GetChildObject__10CGuiObjectFv +/* 802CA758 002C76B8 7F E4 FB 78 */ mr r4, r31 +/* 802CA75C 002C76BC 38 A0 00 00 */ li r5, 0 +/* 802CA760 002C76C0 4B FF FF 89 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +lbl_802CA764: +/* 802CA764 002C76C4 7F C3 F3 78 */ mr r3, r30 +/* 802CA768 002C76C8 4B FF A5 B9 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA76C 002C76CC 28 03 00 00 */ cmplwi r3, 0 +/* 802CA770 002C76D0 41 82 00 18 */ beq lbl_802CA788 +/* 802CA774 002C76D4 7F C3 F3 78 */ mr r3, r30 +/* 802CA778 002C76D8 4B FF A5 A9 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA77C 002C76DC 7F E4 FB 78 */ mr r4, r31 +/* 802CA780 002C76E0 38 A0 00 00 */ li r5, 0 +/* 802CA784 002C76E4 4B FF FF 65 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode +lbl_802CA788: +/* 802CA788 002C76E8 7F C3 F3 78 */ mr r3, r30 +/* 802CA78C 002C76EC 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802CA790 002C76F0 4B FF FE 9D */ bl SetIsVisible__10CGuiWidgetFb +/* 802CA794 002C76F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA798 002C76F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA79C 002C76FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CA7A0 002C7700 7C 08 03 A6 */ mtlr r0 +/* 802CA7A4 002C7704 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA7A8 002C7708 4E 80 00 20 */ blr + +.global RecalcWidgetColor__10CGuiWidgetF14ETraversalMode +RecalcWidgetColor__10CGuiWidgetF14ETraversalMode: +/* 802CA7AC 002C770C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA7B0 002C7710 7C 08 02 A6 */ mflr r0 +/* 802CA7B4 002C7714 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA7B8 002C7718 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CA7BC 002C771C 7C 9F 23 78 */ mr r31, r4 +/* 802CA7C0 002C7720 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CA7C4 002C7724 7C 7E 1B 78 */ mr r30, r3 +/* 802CA7C8 002C7728 4B FF A5 51 */ bl GetParent__10CGuiObjectFv +/* 802CA7CC 002C772C 7C 65 1B 79 */ or. r5, r3, r3 +/* 802CA7D0 002C7730 41 82 00 20 */ beq lbl_802CA7F0 +/* 802CA7D4 002C7734 38 61 00 08 */ addi r3, r1, 8 +/* 802CA7D8 002C7738 38 9E 00 A4 */ addi r4, r30, 0xa4 +/* 802CA7DC 002C773C 38 A5 00 A8 */ addi r5, r5, 0xa8 +/* 802CA7E0 002C7740 48 09 89 99 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 802CA7E4 002C7744 80 01 00 08 */ lwz r0, 8(r1) +/* 802CA7E8 002C7748 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 802CA7EC 002C774C 48 00 00 0C */ b lbl_802CA7F8 +lbl_802CA7F0: +/* 802CA7F0 002C7750 80 1E 00 A4 */ lwz r0, 0xa4(r30) +/* 802CA7F4 002C7754 90 1E 00 A8 */ stw r0, 0xa8(r30) +lbl_802CA7F8: +/* 802CA7F8 002C7758 2C 1F 00 01 */ cmpwi r31, 1 +/* 802CA7FC 002C775C 41 82 00 38 */ beq lbl_802CA834 +/* 802CA800 002C7760 40 80 00 54 */ bge lbl_802CA854 +/* 802CA804 002C7764 2C 1F 00 00 */ cmpwi r31, 0 +/* 802CA808 002C7768 40 80 00 0C */ bge lbl_802CA814 +/* 802CA80C 002C776C 48 00 00 48 */ b lbl_802CA854 +/* 802CA810 002C7770 48 00 00 44 */ b lbl_802CA854 +lbl_802CA814: +/* 802CA814 002C7774 7F C3 F3 78 */ mr r3, r30 +/* 802CA818 002C7778 4B FF A5 09 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA81C 002C777C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA820 002C7780 41 82 00 14 */ beq lbl_802CA834 +/* 802CA824 002C7784 7F C3 F3 78 */ mr r3, r30 +/* 802CA828 002C7788 4B FF A4 F9 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA82C 002C778C 38 80 00 00 */ li r4, 0 +/* 802CA830 002C7790 4B FF FF 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode +lbl_802CA834: +/* 802CA834 002C7794 7F C3 F3 78 */ mr r3, r30 +/* 802CA838 002C7798 4B FF A4 F9 */ bl GetChildObject__10CGuiObjectFv +/* 802CA83C 002C779C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA840 002C77A0 41 82 00 14 */ beq lbl_802CA854 +/* 802CA844 002C77A4 7F C3 F3 78 */ mr r3, r30 +/* 802CA848 002C77A8 4B FF A4 E9 */ bl GetChildObject__10CGuiObjectFv +/* 802CA84C 002C77AC 38 80 00 00 */ li r4, 0 +/* 802CA850 002C77B0 4B FF FF 5D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode +lbl_802CA854: +/* 802CA854 002C77B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CA858 002C77B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CA85C 002C77BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CA860 002C77C0 7C 08 03 A6 */ mtlr r0 +/* 802CA864 002C77C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CA868 002C77C8 4E 80 00 20 */ blr + +.global SetColor__10CGuiWidgetFRC6CColor +SetColor__10CGuiWidgetFRC6CColor: +/* 802CA86C 002C77CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA870 002C77D0 7C 08 02 A6 */ mflr r0 +/* 802CA874 002C77D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA878 002C77D8 80 04 00 00 */ lwz r0, 0(r4) +/* 802CA87C 002C77DC 38 80 00 01 */ li r4, 1 +/* 802CA880 002C77E0 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 802CA884 002C77E4 4B FF FF 29 */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode +/* 802CA888 002C77E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA88C 002C77EC 7C 08 03 A6 */ mtlr r0 +/* 802CA890 002C77F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA894 002C77F4 4E 80 00 20 */ blr + +.global FindWidget__10CGuiWidgetFs +FindWidget__10CGuiWidgetFs: +/* 802CA898 002C77F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA89C 002C77FC 7C 08 02 A6 */ mflr r0 +/* 802CA8A0 002C7800 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA8A4 002C7804 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA8A8 002C7808 7C 9F 23 78 */ mr r31, r4 +/* 802CA8AC 002C780C 7F E0 07 34 */ extsh r0, r31 +/* 802CA8B0 002C7810 93 C1 00 08 */ stw r30, 8(r1) +/* 802CA8B4 002C7814 7C 7E 1B 78 */ mr r30, r3 +/* 802CA8B8 002C7818 A8 83 00 70 */ lha r4, 0x70(r3) +/* 802CA8BC 002C781C 7C 04 00 00 */ cmpw r4, r0 +/* 802CA8C0 002C7820 40 82 00 08 */ bne lbl_802CA8C8 +/* 802CA8C4 002C7824 48 00 00 5C */ b lbl_802CA920 +lbl_802CA8C8: +/* 802CA8C8 002C7828 4B FF A4 69 */ bl GetChildObject__10CGuiObjectFv +/* 802CA8CC 002C782C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA8D0 002C7830 41 82 00 20 */ beq lbl_802CA8F0 +/* 802CA8D4 002C7834 7F C3 F3 78 */ mr r3, r30 +/* 802CA8D8 002C7838 4B FF A4 59 */ bl GetChildObject__10CGuiObjectFv +/* 802CA8DC 002C783C 7F E4 FB 78 */ mr r4, r31 +/* 802CA8E0 002C7840 4B FF FF B9 */ bl FindWidget__10CGuiWidgetFs +/* 802CA8E4 002C7844 28 03 00 00 */ cmplwi r3, 0 +/* 802CA8E8 002C7848 41 82 00 08 */ beq lbl_802CA8F0 +/* 802CA8EC 002C784C 48 00 00 34 */ b lbl_802CA920 +lbl_802CA8F0: +/* 802CA8F0 002C7850 7F C3 F3 78 */ mr r3, r30 +/* 802CA8F4 002C7854 4B FF A4 2D */ bl GetNextSibling__10CGuiObjectFv +/* 802CA8F8 002C7858 28 03 00 00 */ cmplwi r3, 0 +/* 802CA8FC 002C785C 41 82 00 20 */ beq lbl_802CA91C +/* 802CA900 002C7860 7F C3 F3 78 */ mr r3, r30 +/* 802CA904 002C7864 4B FF A4 1D */ bl GetNextSibling__10CGuiObjectFv +/* 802CA908 002C7868 7F E4 FB 78 */ mr r4, r31 +/* 802CA90C 002C786C 4B FF FF 8D */ bl FindWidget__10CGuiWidgetFs +/* 802CA910 002C7870 28 03 00 00 */ cmplwi r3, 0 +/* 802CA914 002C7874 41 82 00 08 */ beq lbl_802CA91C +/* 802CA918 002C7878 48 00 00 08 */ b lbl_802CA920 +lbl_802CA91C: +/* 802CA91C 002C787C 38 60 00 00 */ li r3, 0 +lbl_802CA920: +/* 802CA920 002C7880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA924 002C7884 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA928 002C7888 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CA92C 002C788C 7C 08 03 A6 */ mtlr r0 +/* 802CA930 002C7890 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA934 002C7894 4E 80 00 20 */ blr + +.global GetIsFinishedLoading__10CGuiWidgetCFv +GetIsFinishedLoading__10CGuiWidgetCFv: +/* 802CA938 002C7898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA93C 002C789C 7C 08 02 A6 */ mflr r0 +/* 802CA940 002C78A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA944 002C78A4 81 83 00 00 */ lwz r12, 0(r3) +/* 802CA948 002C78A8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802CA94C 002C78AC 7D 89 03 A6 */ mtctr r12 +/* 802CA950 002C78B0 4E 80 04 21 */ bctrl +/* 802CA954 002C78B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA958 002C78B8 7C 08 03 A6 */ mtlr r0 +/* 802CA95C 002C78BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA960 002C78C0 4E 80 00 20 */ blr + +.global DispatchInitialize__10CGuiWidgetFv +DispatchInitialize__10CGuiWidgetFv: +/* 802CA964 002C78C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CA968 002C78C8 7C 08 02 A6 */ mflr r0 +/* 802CA96C 002C78CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CA970 002C78D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CA974 002C78D4 7C 7F 1B 78 */ mr r31, r3 +/* 802CA978 002C78D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802CA97C 002C78DC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802CA980 002C78E0 7D 89 03 A6 */ mtctr r12 +/* 802CA984 002C78E4 4E 80 04 21 */ bctrl +/* 802CA988 002C78E8 7F E3 FB 78 */ mr r3, r31 +/* 802CA98C 002C78EC 4B FF A3 A5 */ bl GetChildObject__10CGuiObjectFv +/* 802CA990 002C78F0 28 03 00 00 */ cmplwi r3, 0 +/* 802CA994 002C78F4 41 82 00 10 */ beq lbl_802CA9A4 +/* 802CA998 002C78F8 7F E3 FB 78 */ mr r3, r31 +/* 802CA99C 002C78FC 4B FF A3 95 */ bl GetChildObject__10CGuiObjectFv +/* 802CA9A0 002C7900 4B FF FF C5 */ bl DispatchInitialize__10CGuiWidgetFv +lbl_802CA9A4: +/* 802CA9A4 002C7904 7F E3 FB 78 */ mr r3, r31 +/* 802CA9A8 002C7908 4B FF A3 79 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA9AC 002C790C 28 03 00 00 */ cmplwi r3, 0 +/* 802CA9B0 002C7910 41 82 00 10 */ beq lbl_802CA9C0 +/* 802CA9B4 002C7914 7F E3 FB 78 */ mr r3, r31 +/* 802CA9B8 002C7918 4B FF A3 69 */ bl GetNextSibling__10CGuiObjectFv +/* 802CA9BC 002C791C 4B FF FF A9 */ bl DispatchInitialize__10CGuiWidgetFv +lbl_802CA9C0: +/* 802CA9C0 002C7920 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CA9C4 002C7924 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CA9C8 002C7928 7C 08 03 A6 */ mtlr r0 +/* 802CA9CC 002C792C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CA9D0 002C7930 4E 80 00 20 */ blr + +.global Update__10CGuiWidgetFf +Update__10CGuiWidgetFf: +/* 802CA9D4 002C7934 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CA9D8 002C7938 7C 08 02 A6 */ mflr r0 +/* 802CA9DC 002C793C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CA9E0 002C7940 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802CA9E4 002C7944 FF E0 08 90 */ fmr f31, f1 +/* 802CA9E8 002C7948 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802CA9EC 002C794C 7C 7F 1B 78 */ mr r31, r3 +/* 802CA9F0 002C7950 4B FF A3 41 */ bl GetChildObject__10CGuiObjectFv +/* 802CA9F4 002C7954 28 03 00 00 */ cmplwi r3, 0 +/* 802CA9F8 002C7958 41 82 00 20 */ beq lbl_802CAA18 +/* 802CA9FC 002C795C 7F E3 FB 78 */ mr r3, r31 +/* 802CAA00 002C7960 4B FF A3 31 */ bl GetChildObject__10CGuiObjectFv +/* 802CAA04 002C7964 81 83 00 00 */ lwz r12, 0(r3) +/* 802CAA08 002C7968 FC 20 F8 90 */ fmr f1, f31 +/* 802CAA0C 002C796C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802CAA10 002C7970 7D 89 03 A6 */ mtctr r12 +/* 802CAA14 002C7974 4E 80 04 21 */ bctrl +lbl_802CAA18: +/* 802CAA18 002C7978 7F E3 FB 78 */ mr r3, r31 +/* 802CAA1C 002C797C 4B FF A3 05 */ bl GetNextSibling__10CGuiObjectFv +/* 802CAA20 002C7980 28 03 00 00 */ cmplwi r3, 0 +/* 802CAA24 002C7984 41 82 00 20 */ beq lbl_802CAA44 +/* 802CAA28 002C7988 7F E3 FB 78 */ mr r3, r31 +/* 802CAA2C 002C798C 4B FF A2 F5 */ bl GetNextSibling__10CGuiObjectFv +/* 802CAA30 002C7990 81 83 00 00 */ lwz r12, 0(r3) +/* 802CAA34 002C7994 FC 20 F8 90 */ fmr f1, f31 +/* 802CAA38 002C7998 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802CAA3C 002C799C 7D 89 03 A6 */ mtctr r12 +/* 802CAA40 002C79A0 4E 80 04 21 */ bctrl +lbl_802CAA44: +/* 802CAA44 002C79A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CAA48 002C79A8 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 802CAA4C 002C79AC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 802CAA50 002C79B0 7C 08 03 A6 */ mtlr r0 +/* 802CAA54 002C79B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CAA58 002C79B8 4E 80 00 20 */ blr + +.global ProcessUserInput__10CGuiWidgetFRC11CFinalInput +ProcessUserInput__10CGuiWidgetFRC11CFinalInput: +/* 802CAA5C 002C79BC 4E 80 00 20 */ blr + +.global Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms +Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms: +/* 802CAA60 002C79C0 4E 80 00 20 */ blr + +.global ReadUnusedThing__10CGuiWidgetFR12CInputStream +ReadUnusedThing__10CGuiWidgetFR12CInputStream: +/* 802CAA64 002C79C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CAA68 002C79C8 7C 08 02 A6 */ mflr r0 +/* 802CAA6C 002C79CC 7C 83 23 78 */ mr r3, r4 +/* 802CAA70 002C79D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CAA74 002C79D4 48 07 42 11 */ bl ReadLong__12CInputStreamFv +/* 802CAA78 002C79D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CAA7C 002C79DC 7C 08 03 A6 */ mtlr r0 +/* 802CAA80 002C79E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CAA84 002C79E4 4E 80 00 20 */ blr + +.global ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms: +/* 802CAA88 002C79E8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802CAA8C 002C79EC 7C 08 02 A6 */ mflr r0 +/* 802CAA90 002C79F0 90 01 00 94 */ stw r0, 0x94(r1) +/* 802CAA94 002C79F4 7C 80 23 78 */ mr r0, r4 +/* 802CAA98 002C79F8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 802CAA9C 002C79FC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 802CAAA0 002C7A00 93 A1 00 84 */ stw r29, 0x84(r1) +/* 802CAAA4 002C7A04 7C BD 2B 78 */ mr r29, r5 +/* 802CAAA8 002C7A08 93 81 00 80 */ stw r28, 0x80(r1) +/* 802CAAAC 002C7A0C 7C 7C 1B 78 */ mr r28, r3 +/* 802CAAB0 002C7A10 7C 03 03 78 */ mr r3, r0 +/* 802CAAB4 002C7A14 A8 86 00 08 */ lha r4, 8(r6) +/* 802CAAB8 002C7A18 4B FF 76 F9 */ bl FindWidget__9CGuiFrameCFs +/* 802CAABC 002C7A1C 7C 60 1B 78 */ mr r0, r3 +/* 802CAAC0 002C7A20 7F A3 EB 78 */ mr r3, r29 +/* 802CAAC4 002C7A24 7C 1E 03 78 */ mr r30, r0 +/* 802CAAC8 002C7A28 48 07 42 15 */ bl ReadBool__12CInputStreamFv +/* 802CAACC 002C7A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CAAD0 002C7A30 7C 7F 1B 78 */ mr r31, r3 +/* 802CAAD4 002C7A34 41 82 00 10 */ beq lbl_802CAAE4 +/* 802CAAD8 002C7A38 7F A3 EB 78 */ mr r3, r29 +/* 802CAADC 002C7A3C 48 07 41 D5 */ bl ReadShort__12CInputStreamFv +/* 802CAAE0 002C7A40 B0 7C 00 B4 */ sth r3, 0xb4(r28) +lbl_802CAAE4: +/* 802CAAE4 002C7A44 7F A4 EB 78 */ mr r4, r29 +/* 802CAAE8 002C7A48 38 61 00 14 */ addi r3, r1, 0x14 +/* 802CAAEC 002C7A4C 48 04 A0 A1 */ bl __ct__9CVector3fFR12CInputStream +/* 802CAAF0 002C7A50 7F A4 EB 78 */ mr r4, r29 +/* 802CAAF4 002C7A54 38 61 00 50 */ addi r3, r1, 0x50 +/* 802CAAF8 002C7A58 48 04 5A 29 */ bl __ct__9CMatrix3fFR12CInputStream +/* 802CAAFC 002C7A5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802CAB00 002C7A60 38 81 00 50 */ addi r4, r1, 0x50 +/* 802CAB04 002C7A64 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802CAB08 002C7A68 48 04 87 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 802CAB0C 002C7A6C 38 7C 00 74 */ addi r3, r28, 0x74 +/* 802CAB10 002C7A70 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CAB14 002C7A74 48 04 80 2D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802CAB18 002C7A78 7F 83 E3 78 */ mr r3, r28 +/* 802CAB1C 002C7A7C 4B FF FB 49 */ bl ReapplyXform__10CGuiWidgetFv +/* 802CAB20 002C7A80 7F A4 EB 78 */ mr r4, r29 +/* 802CAB24 002C7A84 38 61 00 08 */ addi r3, r1, 8 +/* 802CAB28 002C7A88 48 04 A0 65 */ bl __ct__9CVector3fFR12CInputStream +/* 802CAB2C 002C7A8C 7F 83 E3 78 */ mr r3, r28 +/* 802CAB30 002C7A90 7F A4 EB 78 */ mr r4, r29 +/* 802CAB34 002C7A94 4B FF FF 31 */ bl ReadUnusedThing__10CGuiWidgetFR12CInputStream +/* 802CAB38 002C7A98 7F A3 EB 78 */ mr r3, r29 +/* 802CAB3C 002C7A9C 48 07 41 75 */ bl ReadShort__12CInputStreamFv +/* 802CAB40 002C7AA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802CAB44 002C7AA4 41 82 00 3C */ beq lbl_802CAB80 +/* 802CAB48 002C7AA8 7F C3 F3 78 */ mr r3, r30 +/* 802CAB4C 002C7AAC 7F 84 E3 78 */ mr r4, r28 +/* 802CAB50 002C7AB0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802CAB54 002C7AB4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802CAB58 002C7AB8 7D 89 03 A6 */ mtctr r12 +/* 802CAB5C 002C7ABC 4E 80 04 21 */ bctrl +/* 802CAB60 002C7AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CAB64 002C7AC4 40 82 00 1C */ bne lbl_802CAB80 +/* 802CAB68 002C7AC8 3C 60 80 3D */ lis r3, lbl_803D68F8@ha +/* 802CAB6C 002C7ACC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l +/* 802CAB70 002C7AD0 4C C6 31 82 */ crclr 6 +/* 802CAB74 002C7AD4 48 0C 33 3D */ bl printf +/* 802CAB78 002C7AD8 38 00 FF FF */ li r0, -1 +/* 802CAB7C 002C7ADC B0 1C 00 B4 */ sth r0, 0xb4(r28) +lbl_802CAB80: +/* 802CAB80 002C7AE0 7F C3 F3 78 */ mr r3, r30 +/* 802CAB84 002C7AE4 7F 84 E3 78 */ mr r4, r28 +/* 802CAB88 002C7AE8 38 A0 00 00 */ li r5, 0 +/* 802CAB8C 002C7AEC 38 C0 00 01 */ li r6, 1 +/* 802CAB90 002C7AF0 4B FF FB 39 */ bl AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb +/* 802CAB94 002C7AF4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802CAB98 002C7AF8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802CAB9C 002C7AFC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802CABA0 002C7B00 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802CABA4 002C7B04 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802CABA8 002C7B08 7C 08 03 A6 */ mtlr r0 +/* 802CABAC 002C7B0C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802CABB0 002C7B10 4E 80 00 20 */ blr + +.global __dt__10CGuiWidgetFv +__dt__10CGuiWidgetFv: +/* 802CABB4 002C7B14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CABB8 002C7B18 7C 08 02 A6 */ mflr r0 +/* 802CABBC 002C7B1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CABC0 002C7B20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CABC4 002C7B24 7C 9F 23 78 */ mr r31, r4 +/* 802CABC8 002C7B28 93 C1 00 08 */ stw r30, 8(r1) +/* 802CABCC 002C7B2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802CABD0 002C7B30 41 82 00 38 */ beq lbl_802CAC08 +/* 802CABD4 002C7B34 3C 60 80 3F */ lis r3, lbl_803ECA10@ha +/* 802CABD8 002C7B38 7F C4 F3 78 */ mr r4, r30 +/* 802CABDC 002C7B3C 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l +/* 802CABE0 002C7B40 90 1E 00 00 */ stw r0, 0(r30) +/* 802CABE4 002C7B44 80 7E 00 B0 */ lwz r3, 0xb0(r30) +/* 802CABE8 002C7B48 4B FF 76 3D */ bl sub_802c2224 +/* 802CABEC 002C7B4C 7F C3 F3 78 */ mr r3, r30 +/* 802CABF0 002C7B50 38 80 00 00 */ li r4, 0 +/* 802CABF4 002C7B54 4B FF A7 E1 */ bl __dt__10CGuiObjectFv +/* 802CABF8 002C7B58 7F E0 07 35 */ extsh. r0, r31 +/* 802CABFC 002C7B5C 40 81 00 0C */ ble lbl_802CAC08 +/* 802CAC00 002C7B60 7F C3 F3 78 */ mr r3, r30 +/* 802CAC04 002C7B64 48 04 AD 2D */ bl Free__7CMemoryFPCv +lbl_802CAC08: +/* 802CAC08 002C7B68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CAC0C 002C7B6C 7F C3 F3 78 */ mr r3, r30 +/* 802CAC10 002C7B70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CAC14 002C7B74 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CAC18 002C7B78 7C 08 03 A6 */ mtlr r0 +/* 802CAC1C 002C7B7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CAC20 002C7B80 4E 80 00 20 */ blr + +.global __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +__ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms: +/* 802CAC24 002C7B84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CAC28 002C7B88 7C 08 02 A6 */ mflr r0 +/* 802CAC2C 002C7B8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CAC30 002C7B90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CAC34 002C7B94 7C 9F 23 78 */ mr r31, r4 +/* 802CAC38 002C7B98 93 C1 00 08 */ stw r30, 8(r1) +/* 802CAC3C 002C7B9C 7C 7E 1B 78 */ mr r30, r3 +/* 802CAC40 002C7BA0 4B FF A8 3D */ bl __ct__10CGuiObjectFv +/* 802CAC44 002C7BA4 3C 60 80 3F */ lis r3, lbl_803ECA10@ha +/* 802CAC48 002C7BA8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802CAC4C 002C7BAC 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l +/* 802CAC50 002C7BB0 90 1E 00 00 */ stw r0, 0(r30) +/* 802CAC54 002C7BB4 38 7E 00 74 */ addi r3, r30, 0x74 +/* 802CAC58 002C7BB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802CAC5C 002C7BBC A8 1F 00 06 */ lha r0, 6(r31) +/* 802CAC60 002C7BC0 B0 1E 00 70 */ sth r0, 0x70(r30) +/* 802CAC64 002C7BC4 A8 1F 00 08 */ lha r0, 8(r31) +/* 802CAC68 002C7BC8 B0 1E 00 72 */ sth r0, 0x72(r30) +/* 802CAC6C 002C7BCC 48 04 7F 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802CAC70 002C7BD0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802CAC74 002C7BD4 38 00 FF FF */ li r0, -1 +/* 802CAC78 002C7BD8 38 E0 00 01 */ li r7, 1 +/* 802CAC7C 002C7BDC 38 C0 00 00 */ li r6, 0 +/* 802CAC80 002C7BE0 90 7E 00 A4 */ stw r3, 0xa4(r30) +/* 802CAC84 002C7BE4 7F C3 F3 78 */ mr r3, r30 +/* 802CAC88 002C7BE8 38 80 00 02 */ li r4, 2 +/* 802CAC8C 002C7BEC 80 BE 00 A4 */ lwz r5, 0xa4(r30) +/* 802CAC90 002C7BF0 90 BE 00 A8 */ stw r5, 0xa8(r30) +/* 802CAC94 002C7BF4 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802CAC98 002C7BF8 90 BE 00 AC */ stw r5, 0xac(r30) +/* 802CAC9C 002C7BFC 80 BF 00 00 */ lwz r5, 0(r31) +/* 802CACA0 002C7C00 90 BE 00 B0 */ stw r5, 0xb0(r30) +/* 802CACA4 002C7C04 B0 1E 00 B4 */ sth r0, 0xb4(r30) +/* 802CACA8 002C7C08 88 BF 00 0D */ lbz r5, 0xd(r31) +/* 802CACAC 002C7C0C 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACB0 002C7C10 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802CACB4 002C7C14 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CACB8 002C7C18 88 BF 00 0A */ lbz r5, 0xa(r31) +/* 802CACBC 002C7C1C 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACC0 002C7C20 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802CACC4 002C7C24 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CACC8 002C7C28 88 BF 00 0B */ lbz r5, 0xb(r31) +/* 802CACCC 002C7C2C 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACD0 002C7C30 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 802CACD4 002C7C34 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CACD8 002C7C38 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACDC 002C7C3C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 802CACE0 002C7C40 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CACE4 002C7C44 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACE8 002C7C48 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 802CACEC 002C7C4C 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CACF0 002C7C50 88 BF 00 0C */ lbz r5, 0xc(r31) +/* 802CACF4 002C7C54 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CACF8 002C7C58 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 802CACFC 002C7C5C 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CAD00 002C7C60 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CAD04 002C7C64 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 802CAD08 002C7C68 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CAD0C 002C7C6C 88 1E 00 B6 */ lbz r0, 0xb6(r30) +/* 802CAD10 002C7C70 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f +/* 802CAD14 002C7C74 98 1E 00 B6 */ stb r0, 0xb6(r30) +/* 802CAD18 002C7C78 88 1E 00 B7 */ lbz r0, 0xb7(r30) +/* 802CAD1C 002C7C7C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802CAD20 002C7C80 98 1E 00 B7 */ stb r0, 0xb7(r30) +/* 802CAD24 002C7C84 88 1E 00 B7 */ lbz r0, 0xb7(r30) +/* 802CAD28 002C7C88 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 802CAD2C 002C7C8C 98 1E 00 B7 */ stb r0, 0xb7(r30) +/* 802CAD30 002C7C90 4B FF FA 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode +/* 802CAD34 002C7C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CAD38 002C7C98 7F C3 F3 78 */ mr r3, r30 +/* 802CAD3C 002C7C9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CAD40 002C7CA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CAD44 002C7CA4 7C 08 03 A6 */ mtlr r0 +/* 802CAD48 002C7CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CAD4C 002C7CAC 4E 80 00 20 */ blr + +.global ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb: +/* 802CAD50 002C7CB0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802CAD54 002C7CB4 7C 08 02 A6 */ mflr r0 +/* 802CAD58 002C7CB8 90 01 00 74 */ stw r0, 0x74(r1) +/* 802CAD5C 002C7CBC BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 802CAD60 002C7CC0 7C B9 2B 78 */ mr r25, r5 +/* 802CAD64 002C7CC4 7C 77 1B 78 */ mr r23, r3 +/* 802CAD68 002C7CC8 7C 98 23 78 */ mr r24, r4 +/* 802CAD6C 002C7CCC 38 61 00 34 */ addi r3, r1, 0x34 +/* 802CAD70 002C7CD0 7F 24 CB 78 */ mr r4, r25 +/* 802CAD74 002C7CD4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802CAD78 002C7CD8 48 07 35 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802CAD7C 002C7CDC 38 78 00 18 */ addi r3, r24, 0x18 +/* 802CAD80 002C7CE0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802CAD84 002C7CE4 48 00 02 79 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CAD88 002C7CE8 7C 7C 1B 78 */ mr r28, r3 +/* 802CAD8C 002C7CEC 7F 24 CB 78 */ mr r4, r25 +/* 802CAD90 002C7CF0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CAD94 002C7CF4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802CAD98 002C7CF8 48 07 35 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802CAD9C 002C7CFC 38 78 00 18 */ addi r3, r24, 0x18 +/* 802CADA0 002C7D00 38 81 00 24 */ addi r4, r1, 0x24 +/* 802CADA4 002C7D04 48 00 02 59 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CADA8 002C7D08 7C 7B 1B 78 */ mr r27, r3 +/* 802CADAC 002C7D0C 7F 23 CB 78 */ mr r3, r25 +/* 802CADB0 002C7D10 48 07 3F 2D */ bl ReadBool__12CInputStreamFv +/* 802CADB4 002C7D14 7C 60 1B 78 */ mr r0, r3 +/* 802CADB8 002C7D18 7F 23 CB 78 */ mr r3, r25 +/* 802CADBC 002C7D1C 7C 1A 03 78 */ mr r26, r0 +/* 802CADC0 002C7D20 48 07 3F 1D */ bl ReadBool__12CInputStreamFv +/* 802CADC4 002C7D24 7C 7D 1B 78 */ mr r29, r3 +/* 802CADC8 002C7D28 7F 23 CB 78 */ mr r3, r25 +/* 802CADCC 002C7D2C 48 07 3F 11 */ bl ReadBool__12CInputStreamFv +/* 802CADD0 002C7D30 7C 7E 1B 78 */ mr r30, r3 +/* 802CADD4 002C7D34 7F 23 CB 78 */ mr r3, r25 +/* 802CADD8 002C7D38 48 07 3F 05 */ bl ReadBool__12CInputStreamFv +/* 802CADDC 002C7D3C 7C 7F 1B 78 */ mr r31, r3 +/* 802CADE0 002C7D40 7F 24 CB 78 */ mr r4, r25 +/* 802CADE4 002C7D44 38 61 00 20 */ addi r3, r1, 0x20 +/* 802CADE8 002C7D48 48 09 86 65 */ bl __ct__6CColorFR12CInputStream +/* 802CADEC 002C7D4C 7F 23 CB 78 */ mr r3, r25 +/* 802CADF0 002C7D50 48 07 3E 95 */ bl ReadLong__12CInputStreamFv +/* 802CADF4 002C7D54 38 01 00 20 */ addi r0, r1, 0x20 +/* 802CADF8 002C7D58 39 00 00 01 */ li r8, 1 +/* 802CADFC 002C7D5C 90 01 00 08 */ stw r0, 8(r1) +/* 802CAE00 002C7D60 38 00 00 00 */ li r0, 0 +/* 802CAE04 002C7D64 7F 04 C3 78 */ mr r4, r24 +/* 802CAE08 002C7D68 7F 45 D3 78 */ mr r5, r26 +/* 802CAE0C 002C7D6C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802CAE10 002C7D70 7E E3 BB 78 */ mr r3, r23 +/* 802CAE14 002C7D74 7F 86 E3 78 */ mr r6, r28 +/* 802CAE18 002C7D78 7F 67 DB 78 */ mr r7, r27 +/* 802CAE1C 002C7D7C 91 01 00 10 */ stw r8, 0x10(r1) +/* 802CAE20 002C7D80 57 A8 06 3E */ clrlwi r8, r29, 0x18 +/* 802CAE24 002C7D84 57 C9 06 3E */ clrlwi r9, r30, 0x18 +/* 802CAE28 002C7D88 57 EA 06 3E */ clrlwi r10, r31, 0x18 +/* 802CAE2C 002C7D8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CAE30 002C7D90 48 00 01 01 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb +/* 802CAE34 002C7D94 38 61 00 24 */ addi r3, r1, 0x24 +/* 802CAE38 002C7D98 48 07 2C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CAE3C 002C7D9C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802CAE40 002C7DA0 48 07 2C A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CAE44 002C7DA4 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 802CAE48 002C7DA8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802CAE4C 002C7DAC 7C 08 03 A6 */ mtlr r0 +/* 802CAE50 002C7DB0 38 21 00 70 */ addi r1, r1, 0x70 +/* 802CAE54 002C7DB4 4E 80 00 20 */ blr + +.global Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb: +/* 802CAE58 002C7DB8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802CAE5C 002C7DBC 7C 08 02 A6 */ mflr r0 +/* 802CAE60 002C7DC0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802CAE64 002C7DC4 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802CAE68 002C7DC8 7C 7E 1B 78 */ mr r30, r3 +/* 802CAE6C 002C7DCC 7C 9F 23 78 */ mr r31, r4 +/* 802CAE70 002C7DD0 38 61 00 08 */ addi r3, r1, 8 +/* 802CAE74 002C7DD4 7F C4 F3 78 */ mr r4, r30 +/* 802CAE78 002C7DD8 7F E5 FB 78 */ mr r5, r31 +/* 802CAE7C 002C7DDC 4B FF FE D5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb +/* 802CAE80 002C7DE0 83 61 00 08 */ lwz r27, 8(r1) +/* 802CAE84 002C7DE4 3C 60 80 3D */ lis r3, lbl_803D68F8@ha +/* 802CAE88 002C7DE8 8B 81 00 0C */ lbz r28, 0xc(r1) +/* 802CAE8C 002C7DEC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l +/* 802CAE90 002C7DF0 AB A1 00 0E */ lha r29, 0xe(r1) +/* 802CAE94 002C7DF4 38 83 00 49 */ addi r4, r3, 0x49 +/* 802CAE98 002C7DF8 A9 81 00 10 */ lha r12, 0x10(r1) +/* 802CAE9C 002C7DFC 38 60 00 B8 */ li r3, 0xb8 +/* 802CAEA0 002C7E00 89 61 00 12 */ lbz r11, 0x12(r1) +/* 802CAEA4 002C7E04 38 A0 00 00 */ li r5, 0 +/* 802CAEA8 002C7E08 89 41 00 13 */ lbz r10, 0x13(r1) +/* 802CAEAC 002C7E0C 89 21 00 14 */ lbz r9, 0x14(r1) +/* 802CAEB0 002C7E10 89 01 00 15 */ lbz r8, 0x15(r1) +/* 802CAEB4 002C7E14 88 E1 00 16 */ lbz r7, 0x16(r1) +/* 802CAEB8 002C7E18 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 802CAEBC 002C7E1C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802CAEC0 002C7E20 93 61 00 20 */ stw r27, 0x20(r1) +/* 802CAEC4 002C7E24 9B 81 00 24 */ stb r28, 0x24(r1) +/* 802CAEC8 002C7E28 B3 A1 00 26 */ sth r29, 0x26(r1) +/* 802CAECC 002C7E2C B1 81 00 28 */ sth r12, 0x28(r1) +/* 802CAED0 002C7E30 99 61 00 2A */ stb r11, 0x2a(r1) +/* 802CAED4 002C7E34 99 41 00 2B */ stb r10, 0x2b(r1) +/* 802CAED8 002C7E38 99 21 00 2C */ stb r9, 0x2c(r1) +/* 802CAEDC 002C7E3C 99 01 00 2D */ stb r8, 0x2d(r1) +/* 802CAEE0 002C7E40 98 E1 00 2E */ stb r7, 0x2e(r1) +/* 802CAEE4 002C7E44 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802CAEE8 002C7E48 90 01 00 34 */ stw r0, 0x34(r1) +/* 802CAEEC 002C7E4C 48 04 A9 81 */ bl __nw__FUlPCcPCc +/* 802CAEF0 002C7E50 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802CAEF4 002C7E54 41 82 00 10 */ beq lbl_802CAF04 +/* 802CAEF8 002C7E58 38 81 00 20 */ addi r4, r1, 0x20 +/* 802CAEFC 002C7E5C 4B FF FD 29 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms +/* 802CAF00 002C7E60 7C 7B 1B 78 */ mr r27, r3 +lbl_802CAF04: +/* 802CAF04 002C7E64 7F 63 DB 78 */ mr r3, r27 +/* 802CAF08 002C7E68 7F C4 F3 78 */ mr r4, r30 +/* 802CAF0C 002C7E6C 7F E5 FB 78 */ mr r5, r31 +/* 802CAF10 002C7E70 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802CAF14 002C7E74 4B FF FB 75 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms +/* 802CAF18 002C7E78 7F 63 DB 78 */ mr r3, r27 +/* 802CAF1C 002C7E7C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802CAF20 002C7E80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802CAF24 002C7E84 7C 08 03 A6 */ mtlr r0 +/* 802CAF28 002C7E88 38 21 00 50 */ addi r1, r1, 0x50 +/* 802CAF2C 002C7E8C 4E 80 00 20 */ blr + +.global __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb +__ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb: +/* 802CAF30 002C7E90 90 83 00 00 */ stw r4, 0(r3) +/* 802CAF34 002C7E94 88 81 00 13 */ lbz r4, 0x13(r1) +/* 802CAF38 002C7E98 98 A3 00 04 */ stb r5, 4(r3) +/* 802CAF3C 002C7E9C 88 01 00 17 */ lbz r0, 0x17(r1) +/* 802CAF40 002C7EA0 B0 C3 00 06 */ sth r6, 6(r3) +/* 802CAF44 002C7EA4 80 C1 00 08 */ lwz r6, 8(r1) +/* 802CAF48 002C7EA8 B0 E3 00 08 */ sth r7, 8(r3) +/* 802CAF4C 002C7EAC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802CAF50 002C7EB0 99 03 00 0A */ stb r8, 0xa(r3) +/* 802CAF54 002C7EB4 99 23 00 0B */ stb r9, 0xb(r3) +/* 802CAF58 002C7EB8 99 43 00 0C */ stb r10, 0xc(r3) +/* 802CAF5C 002C7EBC 98 83 00 0D */ stb r4, 0xd(r3) +/* 802CAF60 002C7EC0 98 03 00 0E */ stb r0, 0xe(r3) +/* 802CAF64 002C7EC4 80 06 00 00 */ lwz r0, 0(r6) +/* 802CAF68 002C7EC8 90 03 00 10 */ stw r0, 0x10(r3) +/* 802CAF6C 002C7ECC 90 A3 00 14 */ stw r5, 0x14(r3) +/* 802CAF70 002C7ED0 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiWidgetDrawParms.s b/asm/GuiSys/CGuiWidgetDrawParms.s new file mode 100644 index 00000000..e40564c3 --- /dev/null +++ b/asm/GuiSys/CGuiWidgetDrawParms.s @@ -0,0 +1,14 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __sinit_CGuiWidgetDrawParms_cpp +__sinit_CGuiWidgetDrawParms_cpp: +/* 802CB1B0 002C8110 C0 22 C4 18 */ lfs f1, lbl_805AE138@sda21(r2) +/* 802CB1B4 002C8114 3C 60 80 5A */ lis r3, lbl_8059FD08@ha +/* 802CB1B8 002C8118 C0 02 C4 1C */ lfs f0, lbl_805AE13C@sda21(r2) +/* 802CB1BC 002C811C D4 23 FD 08 */ stfsu f1, lbl_8059FD08@l(r3) +/* 802CB1C0 002C8120 D0 03 00 04 */ stfs f0, 4(r3) +/* 802CB1C4 002C8124 D0 03 00 08 */ stfs f0, 8(r3) +/* 802CB1C8 002C8128 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802CB1CC 002C812C 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CGuiWidgetIdDB.s b/asm/GuiSys/CGuiWidgetIdDB.s new file mode 100644 index 00000000..a32a00c8 --- /dev/null +++ b/asm/GuiSys/CGuiWidgetIdDB.s @@ -0,0 +1,166 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802CAF74 002C7ED4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802CAF78 002C7ED8 7C 08 02 A6 */ mflr r0 +/* 802CAF7C 002C7EDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802CAF80 002C7EE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802CAF84 002C7EE4 3B E0 00 00 */ li r31, 0 +/* 802CAF88 002C7EE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802CAF8C 002C7EEC 3B C0 00 00 */ li r30, 0 +/* 802CAF90 002C7EF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802CAF94 002C7EF4 7C 9D 23 78 */ mr r29, r4 +/* 802CAF98 002C7EF8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802CAF9C 002C7EFC 7C 7C 1B 78 */ mr r28, r3 +/* 802CAFA0 002C7F00 48 00 00 2C */ b lbl_802CAFCC +lbl_802CAFA4: +/* 802CAFA4 002C7F04 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 802CAFA8 002C7F08 7F A4 EB 78 */ mr r4, r29 +/* 802CAFAC 002C7F0C 7C 60 FA 14 */ add r3, r0, r31 +/* 802CAFB0 002C7F10 4B D8 76 31 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 802CAFB4 002C7F14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802CAFB8 002C7F18 41 82 00 0C */ beq lbl_802CAFC4 +/* 802CAFBC 002C7F1C 7F C3 07 34 */ extsh r3, r30 +/* 802CAFC0 002C7F20 48 00 00 1C */ b lbl_802CAFDC +lbl_802CAFC4: +/* 802CAFC4 002C7F24 3B FF 00 10 */ addi r31, r31, 0x10 +/* 802CAFC8 002C7F28 3B DE 00 01 */ addi r30, r30, 1 +lbl_802CAFCC: +/* 802CAFCC 002C7F2C 80 1C 00 04 */ lwz r0, 4(r28) +/* 802CAFD0 002C7F30 7C 1E 00 00 */ cmpw r30, r0 +/* 802CAFD4 002C7F34 41 80 FF D0 */ blt lbl_802CAFA4 +/* 802CAFD8 002C7F38 A8 62 C4 12 */ lha r3, lbl_805AE132@sda21(r2) +lbl_802CAFDC: +/* 802CAFDC 002C7F3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802CAFE0 002C7F40 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802CAFE4 002C7F44 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802CAFE8 002C7F48 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802CAFEC 002C7F4C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802CAFF0 002C7F50 7C 08 03 A6 */ mtlr r0 +/* 802CAFF4 002C7F54 38 21 00 20 */ addi r1, r1, 0x20 +/* 802CAFF8 002C7F58 4E 80 00 20 */ blr + +.global "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 802CAFFC 002C7F5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CB000 002C7F60 7C 08 02 A6 */ mflr r0 +/* 802CB004 002C7F64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CB008 002C7F68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802CB00C 002C7F6C 7C 9F 23 78 */ mr r31, r4 +/* 802CB010 002C7F70 93 C1 00 08 */ stw r30, 8(r1) +/* 802CB014 002C7F74 7C 7E 1B 78 */ mr r30, r3 +/* 802CB018 002C7F78 4B FF FF 5D */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CB01C 002C7F7C A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2) +/* 802CB020 002C7F80 7C 64 07 34 */ extsh r4, r3 +/* 802CB024 002C7F84 7C 04 00 00 */ cmpw r4, r0 +/* 802CB028 002C7F88 40 82 00 60 */ bne lbl_802CB088 +/* 802CB02C 002C7F8C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CB030 002C7F90 80 BE 00 08 */ lwz r5, 8(r30) +/* 802CB034 002C7F94 7C 00 28 00 */ cmpw r0, r5 +/* 802CB038 002C7F98 41 80 00 1C */ blt lbl_802CB054 +/* 802CB03C 002C7F9C 2C 05 00 00 */ cmpwi r5, 0 +/* 802CB040 002C7FA0 7F C3 F3 78 */ mr r3, r30 +/* 802CB044 002C7FA4 38 80 00 04 */ li r4, 4 +/* 802CB048 002C7FA8 41 82 00 08 */ beq lbl_802CB050 +/* 802CB04C 002C7FAC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802CB050: +/* 802CB050 002C7FB0 4B D8 EB 65 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_802CB054: +/* 802CB054 002C7FB4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802CB058 002C7FB8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802CB05C 002C7FBC 54 00 20 36 */ slwi r0, r0, 4 +/* 802CB060 002C7FC0 7C 63 02 15 */ add. r3, r3, r0 +/* 802CB064 002C7FC4 41 82 00 0C */ beq lbl_802CB070 +/* 802CB068 002C7FC8 7F E4 FB 78 */ mr r4, r31 +/* 802CB06C 002C7FCC 48 07 30 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_802CB070: +/* 802CB070 002C7FD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802CB074 002C7FD4 38 03 00 01 */ addi r0, r3, 1 +/* 802CB078 002C7FD8 90 1E 00 04 */ stw r0, 4(r30) +/* 802CB07C 002C7FDC 80 7E 00 04 */ lwz r3, 4(r30) +/* 802CB080 002C7FE0 38 03 FF FF */ addi r0, r3, -1 +/* 802CB084 002C7FE4 7C 03 07 34 */ extsh r3, r0 +lbl_802CB088: +/* 802CB088 002C7FE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CB08C 002C7FEC 7C 63 07 34 */ extsh r3, r3 +/* 802CB090 002C7FF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802CB094 002C7FF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802CB098 002C7FF8 7C 08 03 A6 */ mtlr r0 +/* 802CB09C 002C7FFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CB0A0 002C8000 4E 80 00 20 */ blr + +.global sub_802cb0a4 +sub_802cb0a4: +/* 802CB0A4 002C8004 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802CB0A8 002C8008 7C 08 02 A6 */ mflr r0 +/* 802CB0AC 002C800C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802CB0B0 002C8010 80 03 00 04 */ lwz r0, 4(r3) +/* 802CB0B4 002C8014 7C 84 02 14 */ add r4, r4, r0 +/* 802CB0B8 002C8018 4B D8 EA FD */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +/* 802CB0BC 002C801C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802CB0C0 002C8020 7C 08 03 A6 */ mtlr r0 +/* 802CB0C4 002C8024 38 21 00 10 */ addi r1, r1, 0x10 +/* 802CB0C8 002C8028 4E 80 00 20 */ blr + +.global __ct__14CGuiWidgetIdDBFv +__ct__14CGuiWidgetIdDBFv: +/* 802CB0CC 002C802C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802CB0D0 002C8030 7C 08 02 A6 */ mflr r0 +/* 802CB0D4 002C8034 38 80 00 04 */ li r4, 4 +/* 802CB0D8 002C8038 90 01 00 54 */ stw r0, 0x54(r1) +/* 802CB0DC 002C803C 38 00 00 00 */ li r0, 0 +/* 802CB0E0 002C8040 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802CB0E4 002C8044 7C 7F 1B 78 */ mr r31, r3 +/* 802CB0E8 002C8048 90 03 00 04 */ stw r0, 4(r3) +/* 802CB0EC 002C804C 90 03 00 08 */ stw r0, 8(r3) +/* 802CB0F0 002C8050 90 03 00 0C */ stw r0, 0xc(r3) +/* 802CB0F4 002C8054 4B D8 EA C1 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +/* 802CB0F8 002C8058 3C 80 80 3D */ lis r4, lbl_803D6948@ha +/* 802CB0FC 002C805C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CB100 002C8060 38 84 69 48 */ addi r4, r4, lbl_803D6948@l +/* 802CB104 002C8064 38 84 00 0A */ addi r4, r4, 0xa +/* 802CB108 002C8068 4B D3 9B B1 */ bl string_l__4rstlFPCc +/* 802CB10C 002C806C 7F E3 FB 78 */ mr r3, r31 +/* 802CB110 002C8070 38 81 00 38 */ addi r4, r1, 0x38 +/* 802CB114 002C8074 4B FF FE E9 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CB118 002C8078 38 61 00 38 */ addi r3, r1, 0x38 +/* 802CB11C 002C807C 48 07 29 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CB120 002C8080 3C 80 80 3D */ lis r4, lbl_803D6948@ha +/* 802CB124 002C8084 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CB128 002C8088 38 84 69 48 */ addi r4, r4, lbl_803D6948@l +/* 802CB12C 002C808C 38 84 00 1E */ addi r4, r4, 0x1e +/* 802CB130 002C8090 4B D3 9B 89 */ bl string_l__4rstlFPCc +/* 802CB134 002C8094 7F E3 FB 78 */ mr r3, r31 +/* 802CB138 002C8098 38 81 00 28 */ addi r4, r1, 0x28 +/* 802CB13C 002C809C 4B FF FE C1 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CB140 002C80A0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802CB144 002C80A4 48 07 29 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CB148 002C80A8 3C 80 80 3D */ lis r4, lbl_803D6948@ha +/* 802CB14C 002C80AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CB150 002C80B0 38 84 69 48 */ addi r4, r4, lbl_803D6948@l +/* 802CB154 002C80B4 38 84 00 31 */ addi r4, r4, 0x31 +/* 802CB158 002C80B8 4B D3 9B 61 */ bl string_l__4rstlFPCc +/* 802CB15C 002C80BC 7F E3 FB 78 */ mr r3, r31 +/* 802CB160 002C80C0 38 81 00 18 */ addi r4, r1, 0x18 +/* 802CB164 002C80C4 4B FF FE 99 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CB168 002C80C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802CB16C 002C80CC 48 07 29 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CB170 002C80D0 3C 80 80 3D */ lis r4, lbl_803D6948@ha +/* 802CB174 002C80D4 38 61 00 08 */ addi r3, r1, 8 +/* 802CB178 002C80D8 38 84 69 48 */ addi r4, r4, lbl_803D6948@l +/* 802CB17C 002C80DC 38 84 00 47 */ addi r4, r4, 0x47 +/* 802CB180 002C80E0 4B D3 9B 39 */ bl string_l__4rstlFPCc +/* 802CB184 002C80E4 7F E3 FB 78 */ mr r3, r31 +/* 802CB188 002C80E8 38 81 00 08 */ addi r4, r1, 8 +/* 802CB18C 002C80EC 4B FF FE 71 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802CB190 002C80F0 38 61 00 08 */ addi r3, r1, 8 +/* 802CB194 002C80F4 48 07 29 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802CB198 002C80F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802CB19C 002C80FC 7F E3 FB 78 */ mr r3, r31 +/* 802CB1A0 002C8100 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802CB1A4 002C8104 7C 08 03 A6 */ mtlr r0 +/* 802CB1A8 002C8108 38 21 00 50 */ addi r1, r1, 0x50 +/* 802CB1AC 002C810C 4E 80 00 20 */ blr diff --git a/asm/GuiSys/CRepeatState.s b/asm/GuiSys/CRepeatState.s new file mode 100644 index 00000000..85d98aac --- /dev/null +++ b/asm/GuiSys/CRepeatState.s @@ -0,0 +1,41 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Update__Q214CGuiTableGroup12CRepeatStateFfb +Update__Q214CGuiTableGroup12CRepeatStateFfb: +/* 802CD454 002CA3B4 C0 42 C4 70 */ lfs f2, lbl_805AE190@sda21(r2) +/* 802CD458 002CA3B8 38 A0 00 00 */ li r5, 0 +/* 802CD45C 002CA3BC C0 03 00 00 */ lfs f0, 0(r3) +/* 802CD460 002CA3C0 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 802CD464 002CA3C4 40 82 00 1C */ bne lbl_802CD480 +/* 802CD468 002CA3C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802CD46C 002CA3CC 41 82 00 48 */ beq lbl_802CD4B4 +/* 802CD470 002CA3D0 C0 02 C4 74 */ lfs f0, lbl_805AE194@sda21(r2) +/* 802CD474 002CA3D4 38 A0 00 01 */ li r5, 1 +/* 802CD478 002CA3D8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CD47C 002CA3DC 48 00 00 38 */ b lbl_802CD4B4 +lbl_802CD480: +/* 802CD480 002CA3E0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802CD484 002CA3E4 41 82 00 2C */ beq lbl_802CD4B0 +/* 802CD488 002CA3E8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802CD48C 002CA3EC D0 03 00 00 */ stfs f0, 0(r3) +/* 802CD490 002CA3F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 802CD494 002CA3F4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802CD498 002CA3F8 4C 40 13 82 */ cror 2, 0, 2 +/* 802CD49C 002CA3FC 40 82 00 18 */ bne lbl_802CD4B4 +/* 802CD4A0 002CA400 C0 02 C4 78 */ lfs f0, lbl_805AE198@sda21(r2) +/* 802CD4A4 002CA404 38 A0 00 01 */ li r5, 1 +/* 802CD4A8 002CA408 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CD4AC 002CA40C 48 00 00 08 */ b lbl_802CD4B4 +lbl_802CD4B0: +/* 802CD4B0 002CA410 D0 43 00 00 */ stfs f2, 0(r3) +lbl_802CD4B4: +/* 802CD4B4 002CA414 54 A3 06 3E */ clrlwi r3, r5, 0x18 +/* 802CD4B8 002CA418 4E 80 00 20 */ blr + +.global sub_802cd4bc +sub_802cd4bc: +/* 802CD4BC 002CA41C C0 02 C4 70 */ lfs f0, lbl_805AE190@sda21(r2) +/* 802CD4C0 002CA420 D0 03 00 00 */ stfs f0, 0(r3) +/* 802CD4C4 002CA424 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CArtifactDoll.s b/asm/Kyoto_CWD/CArtifactDoll.s new file mode 100644 index 00000000..d0a4f699 --- /dev/null +++ b/asm/Kyoto_CWD/CArtifactDoll.s @@ -0,0 +1,999 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetArtifactHeadScanIndex__13CArtifactDollFUi +GetArtifactHeadScanIndex__13CArtifactDollFUi: +/* 8029C884 002997E4 3C 80 80 3D */ lis r4, lbl_803D5D80@ha +/* 8029C888 002997E8 38 00 00 02 */ li r0, 2 +/* 8029C88C 002997EC 38 84 5D 80 */ addi r4, r4, lbl_803D5D80@l +/* 8029C890 002997F0 38 A0 00 00 */ li r5, 0 +/* 8029C894 002997F4 7C 09 03 A6 */ mtctr r0 +lbl_8029C898: +/* 8029C898 002997F8 80 04 00 00 */ lwz r0, 0(r4) +/* 8029C89C 002997FC 7C 03 00 40 */ cmplw r3, r0 +/* 8029C8A0 00299800 40 82 00 0C */ bne lbl_8029C8AC +/* 8029C8A4 00299804 7C A3 2B 78 */ mr r3, r5 +/* 8029C8A8 00299808 4E 80 00 20 */ blr +lbl_8029C8AC: +/* 8029C8AC 0029980C 84 04 00 04 */ lwzu r0, 4(r4) +/* 8029C8B0 00299810 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C8B4 00299814 7C 03 00 40 */ cmplw r3, r0 +/* 8029C8B8 00299818 40 82 00 0C */ bne lbl_8029C8C4 +/* 8029C8BC 0029981C 7C A3 2B 78 */ mr r3, r5 +/* 8029C8C0 00299820 4E 80 00 20 */ blr +lbl_8029C8C4: +/* 8029C8C4 00299824 84 04 00 04 */ lwzu r0, 4(r4) +/* 8029C8C8 00299828 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C8CC 0029982C 7C 03 00 40 */ cmplw r3, r0 +/* 8029C8D0 00299830 40 82 00 0C */ bne lbl_8029C8DC +/* 8029C8D4 00299834 7C A3 2B 78 */ mr r3, r5 +/* 8029C8D8 00299838 4E 80 00 20 */ blr +lbl_8029C8DC: +/* 8029C8DC 0029983C 84 04 00 04 */ lwzu r0, 4(r4) +/* 8029C8E0 00299840 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C8E4 00299844 7C 03 00 40 */ cmplw r3, r0 +/* 8029C8E8 00299848 40 82 00 0C */ bne lbl_8029C8F4 +/* 8029C8EC 0029984C 7C A3 2B 78 */ mr r3, r5 +/* 8029C8F0 00299850 4E 80 00 20 */ blr +lbl_8029C8F4: +/* 8029C8F4 00299854 84 04 00 04 */ lwzu r0, 4(r4) +/* 8029C8F8 00299858 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C8FC 0029985C 7C 03 00 40 */ cmplw r3, r0 +/* 8029C900 00299860 40 82 00 0C */ bne lbl_8029C90C +/* 8029C904 00299864 7C A3 2B 78 */ mr r3, r5 +/* 8029C908 00299868 4E 80 00 20 */ blr +lbl_8029C90C: +/* 8029C90C 0029986C 84 04 00 04 */ lwzu r0, 4(r4) +/* 8029C910 00299870 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C914 00299874 7C 03 00 40 */ cmplw r3, r0 +/* 8029C918 00299878 40 82 00 0C */ bne lbl_8029C924 +/* 8029C91C 0029987C 7C A3 2B 78 */ mr r3, r5 +/* 8029C920 00299880 4E 80 00 20 */ blr +lbl_8029C924: +/* 8029C924 00299884 38 84 00 04 */ addi r4, r4, 4 +/* 8029C928 00299888 38 A5 00 01 */ addi r5, r5, 1 +/* 8029C92C 0029988C 42 00 FF 6C */ bdnz lbl_8029C898 +/* 8029C930 00299890 38 60 FF FF */ li r3, -1 +/* 8029C934 00299894 4E 80 00 20 */ blr + +.global GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType +GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType: +/* 8029C938 00299898 2C 03 00 1D */ cmpwi r3, 0x1d +/* 8029C93C 0029989C 41 80 00 24 */ blt lbl_8029C960 +/* 8029C940 002998A0 2C 03 00 28 */ cmpwi r3, 0x28 +/* 8029C944 002998A4 41 81 00 1C */ bgt lbl_8029C960 +/* 8029C948 002998A8 38 03 FF E3 */ addi r0, r3, -29 +/* 8029C94C 002998AC 3C 60 80 3D */ lis r3, lbl_803D5D80@ha +/* 8029C950 002998B0 54 00 10 3A */ slwi r0, r0, 2 +/* 8029C954 002998B4 38 63 5D 80 */ addi r3, r3, lbl_803D5D80@l +/* 8029C958 002998B8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8029C95C 002998BC 4E 80 00 20 */ blr +lbl_8029C960: +/* 8029C960 002998C0 38 60 FF FF */ li r3, -1 +/* 8029C964 002998C4 4E 80 00 20 */ blr + +.global Draw__13CArtifactDollFfRC13CStateManagerbUi +Draw__13CArtifactDollFfRC13CStateManagerbUi: +/* 8029C968 002998C8 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 8029C96C 002998CC 7C 08 02 A6 */ mflr r0 +/* 8029C970 002998D0 90 01 02 74 */ stw r0, 0x274(r1) +/* 8029C974 002998D4 DB E1 02 60 */ stfd f31, 0x260(r1) +/* 8029C978 002998D8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 8029C97C 002998DC DB C1 02 50 */ stfd f30, 0x250(r1) +/* 8029C980 002998E0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 8029C984 002998E4 DB A1 02 40 */ stfd f29, 0x240(r1) +/* 8029C988 002998E8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 8029C98C 002998EC DB 81 02 30 */ stfd f28, 0x230(r1) +/* 8029C990 002998F0 F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 +/* 8029C994 002998F4 DB 61 02 20 */ stfd f27, 0x220(r1) +/* 8029C998 002998F8 F3 61 02 28 */ psq_st f27, 552(r1), 0, qr0 +/* 8029C99C 002998FC DB 41 02 10 */ stfd f26, 0x210(r1) +/* 8029C9A0 00299900 F3 41 02 18 */ psq_st f26, 536(r1), 0, qr0 +/* 8029C9A4 00299904 BE C1 01 E8 */ stmw r22, 0x1e8(r1) +/* 8029C9A8 00299908 FF 40 08 90 */ fmr f26, f1 +/* 8029C9AC 0029990C 7C 7D 1B 78 */ mr r29, r3 +/* 8029C9B0 00299910 7C 9E 23 78 */ mr r30, r4 +/* 8029C9B4 00299914 7C B6 2B 78 */ mr r22, r5 +/* 8029C9B8 00299918 7C DF 33 78 */ mr r31, r6 +/* 8029C9BC 0029991C 48 00 0A 65 */ bl IsLoaded__13CArtifactDollCFv +/* 8029C9C0 00299920 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029C9C4 00299924 41 82 03 F4 */ beq lbl_8029CDB8 +/* 8029C9C8 00299928 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8029C9CC 0029992C 3C 80 43 30 */ lis r4, 0x4330 +/* 8029C9D0 00299930 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 8029C9D4 00299934 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029C9D8 00299938 80 A6 00 08 */ lwz r5, 8(r6) +/* 8029C9DC 0029993C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8029C9E0 00299940 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8029C9E4 00299944 81 83 00 00 */ lwz r12, 0(r3) +/* 8029C9E8 00299948 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029C9EC 0029994C 90 A1 01 DC */ stw r5, 0x1dc(r1) +/* 8029C9F0 00299950 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8029C9F4 00299954 90 81 01 D8 */ stw r4, 0x1d8(r1) +/* 8029C9F8 00299958 C8 62 C0 78 */ lfd f3, lbl_805ADD98@sda21(r2) +/* 8029C9FC 0029995C EF BA 00 32 */ fmuls f29, f26, f0 +/* 8029CA00 00299960 C8 01 01 D8 */ lfd f0, 0x1d8(r1) +/* 8029CA04 00299964 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 8029CA08 00299968 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8029CA0C 0029996C EC 40 18 28 */ fsubs f2, f0, f3 +/* 8029CA10 00299970 90 81 01 E0 */ stw r4, 0x1e0(r1) +/* 8029CA14 00299974 C0 22 C0 40 */ lfs f1, lbl_805ADD60@sda21(r2) +/* 8029CA18 00299978 C8 01 01 E0 */ lfd f0, 0x1e0(r1) +/* 8029CA1C 0029997C C0 82 C0 44 */ lfs f4, lbl_805ADD64@sda21(r2) +/* 8029CA20 00299980 EC 60 18 28 */ fsubs f3, f0, f3 +/* 8029CA24 00299984 C0 A2 C0 48 */ lfs f5, lbl_805ADD68@sda21(r2) +/* 8029CA28 00299988 7D 89 03 A6 */ mtctr r12 +/* 8029CA2C 0029998C 4E 80 04 21 */ bctrl +/* 8029CA30 00299990 C0 22 C0 4C */ lfs f1, lbl_805ADD6C@sda21(r2) +/* 8029CA34 00299994 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 8029CA38 00299998 C0 42 C0 50 */ lfs f2, lbl_805ADD70@sda21(r2) +/* 8029CA3C 0029999C FC 60 08 90 */ fmr f3, f1 +/* 8029CA40 002999A0 48 07 67 49 */ bl Translate__12CTransform4fFfff +/* 8029CA44 002999A4 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 8029CA48 002999A8 48 06 FD 05 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029CA4C 002999AC 80 7D 00 20 */ lwz r3, 0x20(r29) +/* 8029CA50 002999B0 4B E6 83 39 */ bl ActivateLights__12CActorLightsCFv +/* 8029CA54 002999B4 48 06 D4 8D */ bl GetSecondsMod900__9CGraphicsFv +/* 8029CA58 002999B8 C0 02 C0 5C */ lfs f0, lbl_805ADD7C@sda21(r2) +/* 8029CA5C 002999BC C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2) +/* 8029CA60 002999C0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8029CA64 002999C4 C0 02 C0 54 */ lfs f0, lbl_805ADD74@sda21(r2) +/* 8029CA68 002999C8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8029CA6C 002999CC EF 60 00 72 */ fmuls f27, f0, f1 +/* 8029CA70 002999D0 FC 20 D8 90 */ fmr f1, f27 +/* 8029CA74 002999D4 48 07 88 95 */ bl SlowSineR__5CMathFf +/* 8029CA78 002999D8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2) +/* 8029CA7C 002999DC EF 80 00 72 */ fmuls f28, f0, f1 +/* 8029CA80 002999E0 FC 20 D8 90 */ fmr f1, f27 +/* 8029CA84 002999E4 48 07 88 61 */ bl SlowCosineR__5CMathFf +/* 8029CA88 002999E8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2) +/* 8029CA8C 002999EC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8029CA90 002999F0 C0 42 C0 68 */ lfs f2, lbl_805ADD88@sda21(r2) +/* 8029CA94 002999F4 EC 80 00 72 */ fmuls f4, f0, f1 +/* 8029CA98 002999F8 C0 62 C0 64 */ lfs f3, lbl_805ADD84@sda21(r2) +/* 8029CA9C 002999FC EC 02 07 32 */ fmuls f0, f2, f28 +/* 8029CAA0 00299A00 C0 22 C0 44 */ lfs f1, lbl_805ADD64@sda21(r2) +/* 8029CAA4 00299A04 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8029CAA8 00299A08 EC 42 01 32 */ fmuls f2, f2, f4 +/* 8029CAAC 00299A0C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029CAB0 00299A10 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8029CAB4 00299A14 48 07 67 8D */ bl Scale__12CTransform4fFf +/* 8029CAB8 00299A18 38 61 00 84 */ addi r3, r1, 0x84 +/* 8029CABC 00299A1C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029CAC0 00299A20 48 07 6E 81 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8029CAC4 00299A24 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8029CAC8 00299A28 38 81 00 20 */ addi r4, r1, 0x20 +/* 8029CACC 00299A2C 48 07 6D 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8029CAD0 00299A30 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8029CAD4 00299A34 38 81 00 24 */ addi r4, r1, 0x24 +/* 8029CAD8 00299A38 48 07 6E 69 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8029CADC 00299A3C 38 61 01 14 */ addi r3, r1, 0x114 +/* 8029CAE0 00299A40 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 8029CAE4 00299A44 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8029CAE8 00299A48 48 07 5E 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029CAEC 00299A4C 38 61 01 44 */ addi r3, r1, 0x144 +/* 8029CAF0 00299A50 38 81 01 14 */ addi r4, r1, 0x114 +/* 8029CAF4 00299A54 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8029CAF8 00299A58 48 07 5E 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029CAFC 00299A5C 38 61 01 74 */ addi r3, r1, 0x174 +/* 8029CB00 00299A60 38 81 01 44 */ addi r4, r1, 0x144 +/* 8029CB04 00299A64 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8029CB08 00299A68 48 07 5E 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029CB0C 00299A6C 38 61 01 74 */ addi r3, r1, 0x174 +/* 8029CB10 00299A70 48 06 FA D1 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029CB14 00299A74 80 9E 08 B8 */ lwz r4, 0x8b8(r30) +/* 8029CB18 00299A78 38 60 00 00 */ li r3, 0 +/* 8029CB1C 00299A7C 83 44 00 00 */ lwz r26, 0(r4) +/* 8029CB20 00299A80 48 06 EF 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8029CB24 00299A84 3C 60 80 3D */ lis r3, lbl_803D5D80@ha +/* 8029CB28 00299A88 CB 82 C0 80 */ lfd f28, lbl_805ADDA0@sda21(r2) +/* 8029CB2C 00299A8C 56 DB 06 3E */ clrlwi r27, r22, 0x18 +/* 8029CB30 00299A90 3A E1 00 40 */ addi r23, r1, 0x40 +/* 8029CB34 00299A94 3B 03 5D 80 */ addi r24, r3, lbl_803D5D80@l +/* 8029CB38 00299A98 3A C0 00 00 */ li r22, 0 +/* 8029CB3C 00299A9C 3B 20 00 00 */ li r25, 0 +/* 8029CB40 00299AA0 3F 80 43 30 */ lis r28, 0x4330 +/* 8029CB44 00299AA4 48 00 02 5C */ b lbl_8029CDA0 +lbl_8029CB48: +/* 8029CB48 00299AA8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029CB4C 00299AAC 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029CB50 00299AB0 7C 80 CA 14 */ add r4, r0, r25 +/* 8029CB54 00299AB4 48 0A 43 55 */ bl __ct__6CTokenFRC6CToken +/* 8029CB58 00299AB8 7F 43 D3 78 */ mr r3, r26 +/* 8029CB5C 00299ABC 38 96 00 1D */ addi r4, r22, 0x1d +/* 8029CB60 00299AC0 4B DF 4F 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8029CB64 00299AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029CB68 00299AC8 80 6D A5 B4 */ lwz r3, lbl_805A9174@sda21(r13) +/* 8029CB6C 00299ACC 90 61 00 28 */ stw r3, 0x28(r1) +/* 8029CB70 00299AD0 41 82 00 98 */ beq lbl_8029CC08 +/* 8029CB74 00299AD4 80 98 00 00 */ lwz r4, 0(r24) +/* 8029CB78 00299AD8 3C 04 00 01 */ addis r0, r4, 1 +/* 8029CB7C 00299ADC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8029CB80 00299AE0 41 82 00 80 */ beq lbl_8029CC00 +/* 8029CB84 00299AE4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8029CB88 00299AE8 80 63 00 00 */ lwz r3, 0(r3) +/* 8029CB8C 00299AEC 4B DF 4B 05 */ bl GetScanTime__12CPlayerStateCFUi +/* 8029CB90 00299AF0 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2) +/* 8029CB94 00299AF4 C0 62 C0 58 */ lfs f3, lbl_805ADD78@sda21(r2) +/* 8029CB98 00299AF8 EC 01 10 28 */ fsubs f0, f1, f2 +/* 8029CB9C 00299AFC EF 63 00 32 */ fmuls f27, f3, f0 +/* 8029CBA0 00299B00 FC 1B 10 40 */ fcmpo cr0, f27, f2 +/* 8029CBA4 00299B04 40 80 00 2C */ bge lbl_8029CBD0 +/* 8029CBA8 00299B08 48 0A D4 05 */ bl White__6CColorFv +/* 8029CBAC 00299B0C C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2) +/* 8029CBB0 00299B10 7C 65 1B 78 */ mr r5, r3 +/* 8029CBB4 00299B14 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029CBB8 00299B18 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21 +/* 8029CBBC 00299B1C EC 20 06 F2 */ fmuls f1, f0, f27 +/* 8029CBC0 00299B20 48 0C 66 ED */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8029CBC4 00299B24 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8029CBC8 00299B28 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029CBCC 00299B2C 48 00 00 3C */ b lbl_8029CC08 +lbl_8029CBD0: +/* 8029CBD0 00299B30 48 0A D3 DD */ bl White__6CColorFv +/* 8029CBD4 00299B34 C0 02 C0 6C */ lfs f0, lbl_805ADD8C@sda21(r2) +/* 8029CBD8 00299B38 7C 64 1B 78 */ mr r4, r3 +/* 8029CBDC 00299B3C C0 22 C0 58 */ lfs f1, lbl_805ADD78@sda21(r2) +/* 8029CBE0 00299B40 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029CBE4 00299B44 EC 1B 00 28 */ fsubs f0, f27, f0 +/* 8029CBE8 00299B48 38 AD A5 B0 */ addi r5, r13, lbl_805A9170@sda21 +/* 8029CBEC 00299B4C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8029CBF0 00299B50 48 0C 66 BD */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8029CBF4 00299B54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029CBF8 00299B58 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029CBFC 00299B5C 48 00 00 0C */ b lbl_8029CC08 +lbl_8029CC00: +/* 8029CC00 00299B60 80 0D A5 B0 */ lwz r0, lbl_805A9170@sda21(r13) +/* 8029CC04 00299B64 90 01 00 28 */ stw r0, 0x28(r1) +lbl_8029CC08: +/* 8029CC08 00299B68 28 1B 00 00 */ cmplwi r27, 0 +/* 8029CC0C 00299B6C 41 82 00 A0 */ beq lbl_8029CCAC +/* 8029CC10 00299B70 7C 16 F8 00 */ cmpw r22, r31 +/* 8029CC14 00299B74 40 82 00 98 */ bne lbl_8029CCAC +/* 8029CC18 00299B78 48 06 D2 C9 */ bl GetSecondsMod900__9CGraphicsFv +/* 8029CC1C 00299B7C C0 42 C0 5C */ lfs f2, lbl_805ADD7C@sda21(r2) +/* 8029CC20 00299B80 C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2) +/* 8029CC24 00299B84 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8029CC28 00299B88 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8029CC2C 00299B8C 48 07 86 DD */ bl SlowSineR__5CMathFf +/* 8029CC30 00299B90 C0 02 C0 70 */ lfs f0, lbl_805ADD90@sda21(r2) +/* 8029CC34 00299B94 38 81 00 0C */ addi r4, r1, 0xc +/* 8029CC38 00299B98 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2) +/* 8029CC3C 00299B9C 38 6D 9A 18 */ addi r3, r13, lbl_805A85D8@sda21 +/* 8029CC40 00299BA0 EC 20 08 2A */ fadds f1, f0, f1 +/* 8029CC44 00299BA4 C0 02 C0 74 */ lfs f0, lbl_805ADD94@sda21(r2) +/* 8029CC48 00299BA8 38 AD 9A 1C */ addi r5, r13, lbl_805A85DC@sda21 +/* 8029CC4C 00299BAC EF 42 00 72 */ fmuls f26, f2, f1 +/* 8029CC50 00299BB0 EC 00 D0 28 */ fsubs f0, f0, f26 +/* 8029CC54 00299BB4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8029CC58 00299BB8 4B D6 F6 5D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029CC5C 00299BBC C3 63 00 00 */ lfs f27, 0(r3) +/* 8029CC60 00299BC0 48 0A D3 4D */ bl White__6CColorFv +/* 8029CC64 00299BC4 FC 20 D0 90 */ fmr f1, f26 +/* 8029CC68 00299BC8 7C 64 1B 78 */ mr r4, r3 +/* 8029CC6C 00299BCC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029CC70 00299BD0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8029CC74 00299BD4 48 0C 66 39 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8029CC78 00299BD8 88 61 00 13 */ lbz r3, 0x13(r1) +/* 8029CC7C 00299BDC 3C 00 43 30 */ lis r0, 0x4330 +/* 8029CC80 00299BE0 90 01 01 E0 */ stw r0, 0x1e0(r1) +/* 8029CC84 00299BE4 C8 22 C0 80 */ lfd f1, lbl_805ADDA0@sda21(r2) +/* 8029CC88 00299BE8 90 61 01 E4 */ stw r3, 0x1e4(r1) +/* 8029CC8C 00299BEC C8 01 01 E0 */ lfd f0, 0x1e0(r1) +/* 8029CC90 00299BF0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8029CC94 00299BF4 EF DB 00 32 */ fmuls f30, f27, f0 +/* 8029CC98 00299BF8 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 8029CC9C 00299BFC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8029CCA0 00299C00 88 01 00 08 */ lbz r0, 8(r1) +/* 8029CCA4 00299C04 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 8029CCA8 00299C08 90 01 00 28 */ stw r0, 0x28(r1) +lbl_8029CCAC: +/* 8029CCAC 00299C0C C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) +/* 8029CCB0 00299C10 38 80 00 07 */ li r4, 7 +/* 8029CCB4 00299C14 38 60 00 00 */ li r3, 0 +/* 8029CCB8 00299C18 38 00 00 03 */ li r0, 3 +/* 8029CCBC 00299C1C FC 40 08 90 */ fmr f2, f1 +/* 8029CCC0 00299C20 98 81 00 3C */ stb r4, 0x3c(r1) +/* 8029CCC4 00299C24 FC 60 08 90 */ fmr f3, f1 +/* 8029CCC8 00299C28 C0 82 C0 4C */ lfs f4, lbl_805ADD6C@sda21(r2) +/* 8029CCCC 00299C2C 98 61 00 3D */ stb r3, 0x3d(r1) +/* 8029CCD0 00299C30 7E E3 BB 78 */ mr r3, r23 +/* 8029CCD4 00299C34 B0 01 00 3E */ sth r0, 0x3e(r1) +/* 8029CCD8 00299C38 48 0C 67 15 */ bl __ct__6CColorFffff +/* 8029CCDC 00299C3C A0 01 00 3E */ lhz r0, 0x3e(r1) +/* 8029CCE0 00299C40 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029CCE4 00299C44 88 C1 00 3C */ lbz r6, 0x3c(r1) +/* 8029CCE8 00299C48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8029CCEC 00299C4C 88 A1 00 3D */ lbz r5, 0x3d(r1) +/* 8029CCF0 00299C50 60 04 00 03 */ ori r4, r0, 3 +/* 8029CCF4 00299C54 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8029CCF8 00299C58 98 C1 00 44 */ stb r6, 0x44(r1) +/* 8029CCFC 00299C5C 98 A1 00 45 */ stb r5, 0x45(r1) +/* 8029CD00 00299C60 B0 81 00 46 */ sth r4, 0x46(r1) +/* 8029CD04 00299C64 90 01 00 48 */ stw r0, 0x48(r1) +/* 8029CD08 00299C68 48 0A 41 05 */ bl GetObj__6CTokenFv +/* 8029CD0C 00299C6C 80 63 00 04 */ lwz r3, 4(r3) +/* 8029CD10 00299C70 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029CD14 00299C74 48 0B 8E C1 */ bl Draw__6CModelCFRC11CModelFlags +/* 8029CD18 00299C78 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029CD1C 00299C7C 48 0A 40 F1 */ bl GetObj__6CTokenFv +/* 8029CD20 00299C80 88 01 00 2B */ lbz r0, 0x2b(r1) +/* 8029CD24 00299C84 93 81 01 E0 */ stw r28, 0x1e0(r1) +/* 8029CD28 00299C88 80 63 00 04 */ lwz r3, 4(r3) +/* 8029CD2C 00299C8C 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 8029CD30 00299C90 C8 01 01 E0 */ lfd f0, 0x1e0(r1) +/* 8029CD34 00299C94 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 8029CD38 00299C98 EF FD 00 32 */ fmuls f31, f29, f0 +/* 8029CD3C 00299C9C F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 8029CD40 00299CA0 38 A0 00 03 */ li r5, 3 +/* 8029CD44 00299CA4 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d +/* 8029CD48 00299CA8 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8029CD4C 00299CAC 38 E0 00 08 */ li r7, 8 +/* 8029CD50 00299CB0 38 C0 00 00 */ li r6, 0 +/* 8029CD54 00299CB4 89 01 00 09 */ lbz r8, 9(r1) +/* 8029CD58 00299CB8 50 88 00 2E */ rlwimi r8, r4, 0, 0, 0x17 +/* 8029CD5C 00299CBC 60 00 00 01 */ ori r0, r0, 1 +/* 8029CD60 00299CC0 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 8029CD64 00299CC4 38 81 00 34 */ addi r4, r1, 0x34 +/* 8029CD68 00299CC8 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 8029CD6C 00299CCC B0 A1 00 2E */ sth r5, 0x2e(r1) +/* 8029CD70 00299CD0 91 01 00 30 */ stw r8, 0x30(r1) +/* 8029CD74 00299CD4 98 E1 00 34 */ stb r7, 0x34(r1) +/* 8029CD78 00299CD8 98 C1 00 35 */ stb r6, 0x35(r1) +/* 8029CD7C 00299CDC B0 01 00 36 */ sth r0, 0x36(r1) +/* 8029CD80 00299CE0 91 01 00 38 */ stw r8, 0x38(r1) +/* 8029CD84 00299CE4 48 0B 8E 51 */ bl Draw__6CModelCFRC11CModelFlags +/* 8029CD88 00299CE8 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029CD8C 00299CEC 38 80 00 00 */ li r4, 0 +/* 8029CD90 00299CF0 48 0A 40 B1 */ bl __dt__6CTokenFv +/* 8029CD94 00299CF4 3B 39 00 08 */ addi r25, r25, 8 +/* 8029CD98 00299CF8 3B 18 00 04 */ addi r24, r24, 4 +/* 8029CD9C 00299CFC 3A D6 00 01 */ addi r22, r22, 1 +lbl_8029CDA0: +/* 8029CDA0 00299D00 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029CDA4 00299D04 7C 16 00 00 */ cmpw r22, r0 +/* 8029CDA8 00299D08 41 80 FD A0 */ blt lbl_8029CB48 +/* 8029CDAC 00299D0C 38 60 00 01 */ li r3, 1 +/* 8029CDB0 00299D10 48 06 EC C1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8029CDB4 00299D14 48 06 FB C9 */ bl DisableAllLights__9CGraphicsFv +lbl_8029CDB8: +/* 8029CDB8 00299D18 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 8029CDBC 00299D1C CB E1 02 60 */ lfd f31, 0x260(r1) +/* 8029CDC0 00299D20 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 8029CDC4 00299D24 CB C1 02 50 */ lfd f30, 0x250(r1) +/* 8029CDC8 00299D28 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 8029CDCC 00299D2C CB A1 02 40 */ lfd f29, 0x240(r1) +/* 8029CDD0 00299D30 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 +/* 8029CDD4 00299D34 CB 81 02 30 */ lfd f28, 0x230(r1) +/* 8029CDD8 00299D38 E3 61 02 28 */ psq_l f27, 552(r1), 0, qr0 +/* 8029CDDC 00299D3C CB 61 02 20 */ lfd f27, 0x220(r1) +/* 8029CDE0 00299D40 E3 41 02 18 */ psq_l f26, 536(r1), 0, qr0 +/* 8029CDE4 00299D44 CB 41 02 10 */ lfd f26, 0x210(r1) +/* 8029CDE8 00299D48 BA C1 01 E8 */ lmw r22, 0x1e8(r1) +/* 8029CDEC 00299D4C 80 01 02 74 */ lwz r0, 0x274(r1) +/* 8029CDF0 00299D50 7C 08 03 A6 */ mtlr r0 +/* 8029CDF4 00299D54 38 21 02 70 */ addi r1, r1, 0x270 +/* 8029CDF8 00299D58 4E 80 00 20 */ blr + +.global UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf +UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf: +/* 8029CDFC 00299D5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029CE00 00299D60 7C 08 02 A6 */ mflr r0 +/* 8029CE04 00299D64 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029CE08 00299D68 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8029CE0C 00299D6C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8029CE10 00299D70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029CE14 00299D74 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029CE18 00299D78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029CE1C 00299D7C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8029CE20 00299D80 FF E0 08 90 */ fmr f31, f1 +/* 8029CE24 00299D84 3C 80 80 3D */ lis r4, lbl_803D5D80@ha +/* 8029CE28 00299D88 3B E4 5D 80 */ addi r31, r4, lbl_803D5D80@l +/* 8029CE2C 00299D8C 7C 7C 1B 78 */ mr r28, r3 +/* 8029CE30 00299D90 3B C0 00 00 */ li r30, 0 +lbl_8029CE34: +/* 8029CE34 00299D94 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 8029CE38 00299D98 38 9E 00 1D */ addi r4, r30, 0x1d +/* 8029CE3C 00299D9C 80 63 00 00 */ lwz r3, 0(r3) +/* 8029CE40 00299DA0 4B DF 4C 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8029CE44 00299DA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029CE48 00299DA8 41 82 00 4C */ beq lbl_8029CE94 +/* 8029CE4C 00299DAC 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 8029CE50 00299DB0 83 BF 00 00 */ lwz r29, 0(r31) +/* 8029CE54 00299DB4 80 63 00 00 */ lwz r3, 0(r3) +/* 8029CE58 00299DB8 7F A4 EB 78 */ mr r4, r29 +/* 8029CE5C 00299DBC 4B DF 48 35 */ bl GetScanTime__12CPlayerStateCFUi +/* 8029CE60 00299DC0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8029CE64 00299DC4 C0 0D 9A 14 */ lfs f0, lbl_805A85D4@sda21(r13) +/* 8029CE68 00299DC8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029CE6C 00299DCC D0 21 00 08 */ stfs f1, 8(r1) +/* 8029CE70 00299DD0 40 80 00 0C */ bge lbl_8029CE7C +/* 8029CE74 00299DD4 38 A1 00 08 */ addi r5, r1, 8 +/* 8029CE78 00299DD8 48 00 00 08 */ b lbl_8029CE80 +lbl_8029CE7C: +/* 8029CE7C 00299DDC 38 AD 9A 14 */ addi r5, r13, lbl_805A85D4@sda21 +lbl_8029CE80: +/* 8029CE80 00299DE0 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 8029CE84 00299DE4 7F A4 EB 78 */ mr r4, r29 +/* 8029CE88 00299DE8 C0 25 00 00 */ lfs f1, 0(r5) +/* 8029CE8C 00299DEC 80 63 00 00 */ lwz r3, 0(r3) +/* 8029CE90 00299DF0 4B DF 47 45 */ bl SetScanTime__12CPlayerStateFUif +lbl_8029CE94: +/* 8029CE94 00299DF4 3B DE 00 01 */ addi r30, r30, 1 +/* 8029CE98 00299DF8 3B FF 00 04 */ addi r31, r31, 4 +/* 8029CE9C 00299DFC 2C 1E 00 0C */ cmpwi r30, 0xc +/* 8029CEA0 00299E00 41 80 FF 94 */ blt lbl_8029CE34 +/* 8029CEA4 00299E04 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8029CEA8 00299E08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029CEAC 00299E0C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8029CEB0 00299E10 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029CEB4 00299E14 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029CEB8 00299E18 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029CEBC 00299E1C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8029CEC0 00299E20 7C 08 03 A6 */ mtlr r0 +/* 8029CEC4 00299E24 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029CEC8 00299E28 4E 80 00 20 */ blr + +.global CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager +CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager: +/* 8029CECC 00299E2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029CED0 00299E30 7C 08 02 A6 */ mflr r0 +/* 8029CED4 00299E34 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) +/* 8029CED8 00299E38 7C 83 23 78 */ mr r3, r4 +/* 8029CEDC 00299E3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029CEE0 00299E40 4B FF FF 1D */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf +/* 8029CEE4 00299E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029CEE8 00299E48 7C 08 03 A6 */ mtlr r0 +/* 8029CEEC 00299E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029CEF0 00299E50 4E 80 00 20 */ blr + +.global Update__13CArtifactDollFfRC13CStateManager +Update__13CArtifactDollFfRC13CStateManager: +/* 8029CEF4 00299E54 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029CEF8 00299E58 7C 08 02 A6 */ mflr r0 +/* 8029CEFC 00299E5C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029CF00 00299E60 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8029CF04 00299E64 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8029CF08 00299E68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029CF0C 00299E6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029CF10 00299E70 FF E0 08 90 */ fmr f31, f1 +/* 8029CF14 00299E74 7C 7E 1B 78 */ mr r30, r3 +/* 8029CF18 00299E78 7C 9F 23 78 */ mr r31, r4 +/* 8029CF1C 00299E7C 48 00 05 1D */ bl CheckLoadComplete__13CArtifactDollFv +/* 8029CF20 00299E80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029CF24 00299E84 41 82 00 6C */ beq lbl_8029CF90 +/* 8029CF28 00299E88 C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2) +/* 8029CF2C 00299E8C C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 8029CF30 00299E90 C0 0D 9A 10 */ lfs f0, lbl_805A85D0@sda21(r13) +/* 8029CF34 00299E94 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8029CF38 00299E98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029CF3C 00299E9C D0 21 00 08 */ stfs f1, 8(r1) +/* 8029CF40 00299EA0 40 80 00 0C */ bge lbl_8029CF4C +/* 8029CF44 00299EA4 38 61 00 08 */ addi r3, r1, 8 +/* 8029CF48 00299EA8 48 00 00 08 */ b lbl_8029CF50 +lbl_8029CF4C: +/* 8029CF4C 00299EAC 38 6D 9A 10 */ addi r3, r13, lbl_805A85D0@sda21 +lbl_8029CF50: +/* 8029CF50 00299EB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029CF54 00299EB4 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) +/* 8029CF58 00299EB8 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8029CF5C 00299EBC C0 02 C0 88 */ lfs f0, lbl_805ADDA8@sda21(r2) +/* 8029CF60 00299EC0 C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 8029CF64 00299EC4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8029CF68 00299EC8 FC 20 0A 10 */ fabs f1, f1 +/* 8029CF6C 00299ECC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029CF70 00299ED0 40 80 00 18 */ bge lbl_8029CF88 +/* 8029CF74 00299ED4 C0 22 C0 6C */ lfs f1, lbl_805ADD8C@sda21(r2) +/* 8029CF78 00299ED8 7F E3 FB 78 */ mr r3, r31 +/* 8029CF7C 00299EDC EC 01 07 F2 */ fmuls f0, f1, f31 +/* 8029CF80 00299EE0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8029CF84 00299EE4 4B FF FE 79 */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf +lbl_8029CF88: +/* 8029CF88 00299EE8 7F C3 F3 78 */ mr r3, r30 +/* 8029CF8C 00299EEC 48 00 00 B9 */ bl UpdateActorLights__13CArtifactDollFv +lbl_8029CF90: +/* 8029CF90 00299EF0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8029CF94 00299EF4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029CF98 00299EF8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8029CF9C 00299EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029CFA0 00299F00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029CFA4 00299F04 7C 08 03 A6 */ mtlr r0 +/* 8029CFA8 00299F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029CFAC 00299F0C 4E 80 00 20 */ blr + +.global Touch__13CArtifactDollFv +Touch__13CArtifactDollFv: +/* 8029CFB0 00299F10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029CFB4 00299F14 7C 08 02 A6 */ mflr r0 +/* 8029CFB8 00299F18 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029CFBC 00299F1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029CFC0 00299F20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029CFC4 00299F24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029CFC8 00299F28 7C 7D 1B 78 */ mr r29, r3 +/* 8029CFCC 00299F2C 48 00 04 6D */ bl CheckLoadComplete__13CArtifactDollFv +/* 8029CFD0 00299F30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029CFD4 00299F34 41 82 00 54 */ beq lbl_8029D028 +/* 8029CFD8 00299F38 3B C0 00 00 */ li r30, 0 +/* 8029CFDC 00299F3C 3B E0 00 00 */ li r31, 0 +/* 8029CFE0 00299F40 48 00 00 3C */ b lbl_8029D01C +lbl_8029CFE4: +/* 8029CFE4 00299F44 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029CFE8 00299F48 38 61 00 08 */ addi r3, r1, 8 +/* 8029CFEC 00299F4C 7C 80 FA 14 */ add r4, r0, r31 +/* 8029CFF0 00299F50 48 0A 3E B9 */ bl __ct__6CTokenFRC6CToken +/* 8029CFF4 00299F54 38 61 00 08 */ addi r3, r1, 8 +/* 8029CFF8 00299F58 48 0A 3E 15 */ bl GetObj__6CTokenFv +/* 8029CFFC 00299F5C 80 63 00 04 */ lwz r3, 4(r3) +/* 8029D000 00299F60 38 80 00 00 */ li r4, 0 +/* 8029D004 00299F64 48 0B 86 31 */ bl Touch__6CModelCFi +/* 8029D008 00299F68 38 61 00 08 */ addi r3, r1, 8 +/* 8029D00C 00299F6C 38 80 00 00 */ li r4, 0 +/* 8029D010 00299F70 48 0A 3E 31 */ bl __dt__6CTokenFv +/* 8029D014 00299F74 3B FF 00 08 */ addi r31, r31, 8 +/* 8029D018 00299F78 3B DE 00 01 */ addi r30, r30, 1 +lbl_8029D01C: +/* 8029D01C 00299F7C 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029D020 00299F80 7C 1E 00 00 */ cmpw r30, r0 +/* 8029D024 00299F84 41 80 FF C0 */ blt lbl_8029CFE4 +lbl_8029D028: +/* 8029D028 00299F88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029D02C 00299F8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029D030 00299F90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029D034 00299F94 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029D038 00299F98 7C 08 03 A6 */ mtlr r0 +/* 8029D03C 00299F9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029D040 00299FA0 4E 80 00 20 */ blr + +.global UpdateActorLights__13CArtifactDollFv +UpdateActorLights__13CArtifactDollFv: +/* 8029D044 00299FA4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8029D048 00299FA8 7C 08 02 A6 */ mflr r0 +/* 8029D04C 00299FAC 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 8029D050 00299FB0 3C C0 80 5A */ lis r6, lbl_805A6700@ha +/* 8029D054 00299FB4 90 01 01 14 */ stw r0, 0x114(r1) +/* 8029D058 00299FB8 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l +/* 8029D05C 00299FBC C0 62 C0 54 */ lfs f3, lbl_805ADD74@sda21(r2) +/* 8029D060 00299FC0 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8029D064 00299FC4 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8029D068 00299FC8 3B E4 67 24 */ addi r31, r4, lbl_805A6724@l +/* 8029D06C 00299FCC 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l +/* 8029D070 00299FD0 C0 C2 C0 8C */ lfs f6, lbl_805ADDAC@sda21(r2) +/* 8029D074 00299FD4 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8029D078 00299FD8 7C 7E 1B 78 */ mr r30, r3 +/* 8029D07C 00299FDC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029D080 00299FE0 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029D084 00299FE4 C0 45 00 08 */ lfs f2, 8(r5) +/* 8029D088 00299FE8 C0 25 00 00 */ lfs f1, 0(r5) +/* 8029D08C 00299FEC EC E3 00 B2 */ fmuls f7, f3, f2 +/* 8029D090 00299FF0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8029D094 00299FF4 EC 83 00 72 */ fmuls f4, f3, f1 +/* 8029D098 00299FF8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8029D09C 00299FFC EC 63 00 32 */ fmuls f3, f3, f0 +/* 8029D0A0 0029A000 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8029D0A4 0029A004 ED 01 38 2A */ fadds f8, f1, f7 +/* 8029D0A8 0029A008 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8029D0AC 0029A00C EC 20 20 2A */ fadds f1, f0, f4 +/* 8029D0B0 0029A010 C0 06 00 00 */ lfs f0, 0(r6) +/* 8029D0B4 0029A014 ED 22 18 2A */ fadds f9, f2, f3 +/* 8029D0B8 0029A018 C0 46 00 08 */ lfs f2, 8(r6) +/* 8029D0BC 0029A01C EC A6 00 32 */ fmuls f5, f6, f0 +/* 8029D0C0 0029A020 C0 06 00 04 */ lfs f0, 4(r6) +/* 8029D0C4 0029A024 ED 46 00 B2 */ fmuls f10, f6, f2 +/* 8029D0C8 0029A028 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8029D0CC 0029A02C EC 46 00 32 */ fmuls f2, f6, f0 +/* 8029D0D0 0029A030 EC 01 28 2A */ fadds f0, f1, f5 +/* 8029D0D4 0029A034 EC 88 50 2A */ fadds f4, f8, f10 +/* 8029D0D8 0029A038 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 8029D0DC 0029A03C EC A9 10 2A */ fadds f5, f9, f2 +/* 8029D0E0 0029A040 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8029D0E4 0029A044 D1 41 00 28 */ stfs f10, 0x28(r1) +/* 8029D0E8 0029A048 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8029D0EC 0029A04C D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 8029D0F0 0029A050 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8029D0F4 0029A054 D1 21 00 3C */ stfs f9, 0x3c(r1) +/* 8029D0F8 0029A058 D1 01 00 40 */ stfs f8, 0x40(r1) +/* 8029D0FC 0029A05C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8029D100 0029A060 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8029D104 0029A064 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 8029D108 0029A068 48 07 77 49 */ bl AsNormalized__9CVector3fCFv +/* 8029D10C 0029A06C 38 00 00 FF */ li r0, 0xff +/* 8029D110 0029A070 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8029D114 0029A074 98 01 00 10 */ stb r0, 0x10(r1) +/* 8029D118 0029A078 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8029D11C 0029A07C 38 61 00 AC */ addi r3, r1, 0xac +/* 8029D120 0029A080 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8029D124 0029A084 98 01 00 11 */ stb r0, 0x11(r1) +/* 8029D128 0029A088 98 01 00 12 */ stb r0, 0x12(r1) +/* 8029D12C 0029A08C 98 01 00 13 */ stb r0, 0x13(r1) +/* 8029D130 0029A090 48 06 93 3D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029D134 0029A094 81 5E 00 1C */ lwz r10, 0x1c(r30) +/* 8029D138 0029A098 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8029D13C 0029A09C 80 81 00 AC */ lwz r4, 0xac(r1) +/* 8029D140 0029A0A0 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l +/* 8029D144 0029A0A4 81 01 00 B0 */ lwz r8, 0xb0(r1) +/* 8029D148 0029A0A8 38 E0 00 00 */ li r7, 0 +/* 8029D14C 0029A0AC 38 00 00 FF */ li r0, 0xff +/* 8029D150 0029A0B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029D154 0029A0B4 90 8A 00 00 */ stw r4, 0(r10) +/* 8029D158 0029A0B8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029D15C 0029A0BC 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029D160 0029A0C0 91 0A 00 04 */ stw r8, 4(r10) +/* 8029D164 0029A0C4 81 01 00 B4 */ lwz r8, 0xb4(r1) +/* 8029D168 0029A0C8 91 0A 00 08 */ stw r8, 8(r10) +/* 8029D16C 0029A0CC 81 21 00 B8 */ lwz r9, 0xb8(r1) +/* 8029D170 0029A0D0 81 01 00 BC */ lwz r8, 0xbc(r1) +/* 8029D174 0029A0D4 91 2A 00 0C */ stw r9, 0xc(r10) +/* 8029D178 0029A0D8 91 0A 00 10 */ stw r8, 0x10(r10) +/* 8029D17C 0029A0DC 81 01 00 C0 */ lwz r8, 0xc0(r1) +/* 8029D180 0029A0E0 91 0A 00 14 */ stw r8, 0x14(r10) +/* 8029D184 0029A0E4 81 01 00 C4 */ lwz r8, 0xc4(r1) +/* 8029D188 0029A0E8 91 0A 00 18 */ stw r8, 0x18(r10) +/* 8029D18C 0029A0EC 81 01 00 C8 */ lwz r8, 0xc8(r1) +/* 8029D190 0029A0F0 91 0A 00 1C */ stw r8, 0x1c(r10) +/* 8029D194 0029A0F4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 8029D198 0029A0F8 D0 0A 00 20 */ stfs f0, 0x20(r10) +/* 8029D19C 0029A0FC C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 8029D1A0 0029A100 D0 0A 00 24 */ stfs f0, 0x24(r10) +/* 8029D1A4 0029A104 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8029D1A8 0029A108 D0 0A 00 28 */ stfs f0, 0x28(r10) +/* 8029D1AC 0029A10C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 8029D1B0 0029A110 D0 0A 00 2C */ stfs f0, 0x2c(r10) +/* 8029D1B4 0029A114 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 8029D1B8 0029A118 D0 0A 00 30 */ stfs f0, 0x30(r10) +/* 8029D1BC 0029A11C C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 8029D1C0 0029A120 D0 0A 00 34 */ stfs f0, 0x34(r10) +/* 8029D1C4 0029A124 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 8029D1C8 0029A128 D0 0A 00 38 */ stfs f0, 0x38(r10) +/* 8029D1CC 0029A12C 81 01 00 E8 */ lwz r8, 0xe8(r1) +/* 8029D1D0 0029A130 91 0A 00 3C */ stw r8, 0x3c(r10) +/* 8029D1D4 0029A134 81 01 00 EC */ lwz r8, 0xec(r1) +/* 8029D1D8 0029A138 91 0A 00 40 */ stw r8, 0x40(r10) +/* 8029D1DC 0029A13C C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 8029D1E0 0029A140 D0 0A 00 44 */ stfs f0, 0x44(r10) +/* 8029D1E4 0029A144 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 8029D1E8 0029A148 D0 0A 00 48 */ stfs f0, 0x48(r10) +/* 8029D1EC 0029A14C 89 01 00 F8 */ lbz r8, 0xf8(r1) +/* 8029D1F0 0029A150 99 0A 00 4C */ stb r8, 0x4c(r10) +/* 8029D1F4 0029A154 C0 46 00 00 */ lfs f2, 0(r6) +/* 8029D1F8 0029A158 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8029D1FC 0029A15C C0 1F 00 08 */ lfs f0, 8(r31) +/* 8029D200 0029A160 FC 40 10 50 */ fneg f2, f2 +/* 8029D204 0029A164 FC 20 08 50 */ fneg f1, f1 +/* 8029D208 0029A168 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8029D20C 0029A16C FC 00 00 50 */ fneg f0, f0 +/* 8029D210 0029A170 98 E1 00 0D */ stb r7, 0xd(r1) +/* 8029D214 0029A174 98 E1 00 0E */ stb r7, 0xe(r1) +/* 8029D218 0029A178 98 01 00 0F */ stb r0, 0xf(r1) +/* 8029D21C 0029A17C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8029D220 0029A180 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8029D224 0029A184 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029D228 0029A188 48 06 92 45 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029D22C 0029A18C 80 BE 00 1C */ lwz r5, 0x1c(r30) +/* 8029D230 0029A190 38 61 00 08 */ addi r3, r1, 8 +/* 8029D234 0029A194 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 8029D238 0029A198 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8029D23C 0029A19C C0 22 C0 54 */ lfs f1, lbl_805ADD74@sda21(r2) +/* 8029D240 0029A1A0 90 85 00 50 */ stw r4, 0x50(r5) +/* 8029D244 0029A1A4 FC 40 08 90 */ fmr f2, f1 +/* 8029D248 0029A1A8 C0 82 C0 70 */ lfs f4, lbl_805ADD90@sda21(r2) +/* 8029D24C 0029A1AC 90 05 00 54 */ stw r0, 0x54(r5) +/* 8029D250 0029A1B0 FC 60 08 90 */ fmr f3, f1 +/* 8029D254 0029A1B4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029D258 0029A1B8 90 05 00 58 */ stw r0, 0x58(r5) +/* 8029D25C 0029A1BC 80 81 00 68 */ lwz r4, 0x68(r1) +/* 8029D260 0029A1C0 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 8029D264 0029A1C4 90 85 00 5C */ stw r4, 0x5c(r5) +/* 8029D268 0029A1C8 90 05 00 60 */ stw r0, 0x60(r5) +/* 8029D26C 0029A1CC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8029D270 0029A1D0 90 05 00 64 */ stw r0, 0x64(r5) +/* 8029D274 0029A1D4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8029D278 0029A1D8 90 05 00 68 */ stw r0, 0x68(r5) +/* 8029D27C 0029A1DC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8029D280 0029A1E0 90 05 00 6C */ stw r0, 0x6c(r5) +/* 8029D284 0029A1E4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8029D288 0029A1E8 D0 05 00 70 */ stfs f0, 0x70(r5) +/* 8029D28C 0029A1EC C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8029D290 0029A1F0 D0 05 00 74 */ stfs f0, 0x74(r5) +/* 8029D294 0029A1F4 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8029D298 0029A1F8 D0 05 00 78 */ stfs f0, 0x78(r5) +/* 8029D29C 0029A1FC C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8029D2A0 0029A200 D0 05 00 7C */ stfs f0, 0x7c(r5) +/* 8029D2A4 0029A204 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8029D2A8 0029A208 D0 05 00 80 */ stfs f0, 0x80(r5) +/* 8029D2AC 0029A20C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8029D2B0 0029A210 D0 05 00 84 */ stfs f0, 0x84(r5) +/* 8029D2B4 0029A214 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8029D2B8 0029A218 D0 05 00 88 */ stfs f0, 0x88(r5) +/* 8029D2BC 0029A21C 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8029D2C0 0029A220 90 05 00 8C */ stw r0, 0x8c(r5) +/* 8029D2C4 0029A224 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8029D2C8 0029A228 90 05 00 90 */ stw r0, 0x90(r5) +/* 8029D2CC 0029A22C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 8029D2D0 0029A230 D0 05 00 94 */ stfs f0, 0x94(r5) +/* 8029D2D4 0029A234 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8029D2D8 0029A238 D0 05 00 98 */ stfs f0, 0x98(r5) +/* 8029D2DC 0029A23C 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 8029D2E0 0029A240 98 05 00 9C */ stb r0, 0x9c(r5) +/* 8029D2E4 0029A244 83 FE 00 20 */ lwz r31, 0x20(r30) +/* 8029D2E8 0029A248 48 0C 61 05 */ bl __ct__6CColorFffff +/* 8029D2EC 0029A24C 7C 65 1B 78 */ mr r5, r3 +/* 8029D2F0 0029A250 7F E3 FB 78 */ mr r3, r31 +/* 8029D2F4 0029A254 38 9E 00 10 */ addi r4, r30, 0x10 +/* 8029D2F8 0029A258 4B E6 5E 35 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" +/* 8029D2FC 0029A25C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8029D300 0029A260 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8029D304 0029A264 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8029D308 0029A268 7C 08 03 A6 */ mtlr r0 +/* 8029D30C 0029A26C 38 21 01 10 */ addi r1, r1, 0x110 +/* 8029D310 0029A270 4E 80 00 20 */ blr + +.global __dt__13CArtifactDollFv +__dt__13CArtifactDollFv: +/* 8029D314 0029A274 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029D318 0029A278 7C 08 02 A6 */ mflr r0 +/* 8029D31C 0029A27C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029D320 0029A280 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8029D324 0029A284 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029D328 0029A288 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029D32C 0029A28C 7C 9D 23 78 */ mr r29, r4 +/* 8029D330 0029A290 93 81 00 30 */ stw r28, 0x30(r1) +/* 8029D334 0029A294 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8029D338 0029A298 41 82 00 C4 */ beq lbl_8029D3FC +/* 8029D33C 0029A29C 34 1C 00 20 */ addic. r0, r28, 0x20 +/* 8029D340 0029A2A0 41 82 00 10 */ beq lbl_8029D350 +/* 8029D344 0029A2A4 80 7C 00 20 */ lwz r3, 0x20(r28) +/* 8029D348 0029A2A8 38 80 00 01 */ li r4, 1 +/* 8029D34C 0029A2AC 4B E6 7D 89 */ bl __dt__12CActorLightsFv +lbl_8029D350: +/* 8029D350 0029A2B0 34 1C 00 10 */ addic. r0, r28, 0x10 +/* 8029D354 0029A2B4 41 82 00 44 */ beq lbl_8029D398 +/* 8029D358 0029A2B8 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 8029D35C 0029A2BC 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8029D360 0029A2C0 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 8029D364 0029A2C4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8029D368 0029A2C8 7C 64 1B 78 */ mr r4, r3 +/* 8029D36C 0029A2CC 7C 03 02 14 */ add r0, r3, r0 +/* 8029D370 0029A2D0 90 61 00 18 */ stw r3, 0x18(r1) +/* 8029D374 0029A2D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029D378 0029A2D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029D37C 0029A2DC 48 00 00 08 */ b lbl_8029D384 +lbl_8029D380: +/* 8029D380 0029A2E0 38 84 00 50 */ addi r4, r4, 0x50 +lbl_8029D384: +/* 8029D384 0029A2E4 7C 04 00 40 */ cmplw r4, r0 +/* 8029D388 0029A2E8 40 82 FF F8 */ bne lbl_8029D380 +/* 8029D38C 0029A2EC 28 03 00 00 */ cmplwi r3, 0 +/* 8029D390 0029A2F0 41 82 00 08 */ beq lbl_8029D398 +/* 8029D394 0029A2F4 48 07 85 9D */ bl Free__7CMemoryFPCv +lbl_8029D398: +/* 8029D398 0029A2F8 28 1C 00 00 */ cmplwi r28, 0 +/* 8029D39C 0029A2FC 41 82 00 50 */ beq lbl_8029D3EC +/* 8029D3A0 0029A300 80 1C 00 04 */ lwz r0, 4(r28) +/* 8029D3A4 0029A304 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8029D3A8 0029A308 54 00 18 38 */ slwi r0, r0, 3 +/* 8029D3AC 0029A30C 7F FE 02 14 */ add r31, r30, r0 +/* 8029D3B0 0029A310 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8029D3B4 0029A314 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8029D3B8 0029A318 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8029D3BC 0029A31C 93 C1 00 08 */ stw r30, 8(r1) +/* 8029D3C0 0029A320 48 00 00 14 */ b lbl_8029D3D4 +lbl_8029D3C4: +/* 8029D3C4 0029A324 7F C3 F3 78 */ mr r3, r30 +/* 8029D3C8 0029A328 38 80 FF FF */ li r4, -1 +/* 8029D3CC 0029A32C 48 0A 3A 75 */ bl __dt__6CTokenFv +/* 8029D3D0 0029A330 3B DE 00 08 */ addi r30, r30, 8 +lbl_8029D3D4: +/* 8029D3D4 0029A334 7C 1E F8 40 */ cmplw r30, r31 +/* 8029D3D8 0029A338 40 82 FF EC */ bne lbl_8029D3C4 +/* 8029D3DC 0029A33C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8029D3E0 0029A340 28 03 00 00 */ cmplwi r3, 0 +/* 8029D3E4 0029A344 41 82 00 08 */ beq lbl_8029D3EC +/* 8029D3E8 0029A348 48 07 85 49 */ bl Free__7CMemoryFPCv +lbl_8029D3EC: +/* 8029D3EC 0029A34C 7F A0 07 35 */ extsh. r0, r29 +/* 8029D3F0 0029A350 40 81 00 0C */ ble lbl_8029D3FC +/* 8029D3F4 0029A354 7F 83 E3 78 */ mr r3, r28 +/* 8029D3F8 0029A358 48 07 85 39 */ bl Free__7CMemoryFPCv +lbl_8029D3FC: +/* 8029D3FC 0029A35C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029D400 0029A360 7F 83 E3 78 */ mr r3, r28 +/* 8029D404 0029A364 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8029D408 0029A368 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8029D40C 0029A36C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8029D410 0029A370 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8029D414 0029A374 7C 08 03 A6 */ mtlr r0 +/* 8029D418 0029A378 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029D41C 0029A37C 4E 80 00 20 */ blr + +.global IsLoaded__13CArtifactDollCFv +IsLoaded__13CArtifactDollCFv: +/* 8029D420 0029A380 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8029D424 0029A384 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8029D428 0029A388 7C 03 00 D0 */ neg r0, r3 +/* 8029D42C 0029A38C 7C 00 1B 78 */ or r0, r0, r3 +/* 8029D430 0029A390 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8029D434 0029A394 4E 80 00 20 */ blr + +.global CheckLoadComplete__13CArtifactDollFv +CheckLoadComplete__13CArtifactDollFv: +/* 8029D438 0029A398 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029D43C 0029A39C 7C 08 02 A6 */ mflr r0 +/* 8029D440 0029A3A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029D444 0029A3A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029D448 0029A3A8 7C 7F 1B 78 */ mr r31, r3 +/* 8029D44C 0029A3AC 4B FF FF D5 */ bl IsLoaded__13CArtifactDollCFv +/* 8029D450 0029A3B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029D454 0029A3B4 41 82 00 0C */ beq lbl_8029D460 +/* 8029D458 0029A3B8 38 60 00 01 */ li r3, 1 +/* 8029D45C 0029A3BC 48 00 00 50 */ b lbl_8029D4AC +lbl_8029D460: +/* 8029D460 0029A3C0 80 1F 00 04 */ lwz r0, 4(r31) +/* 8029D464 0029A3C4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8029D468 0029A3C8 54 00 18 38 */ slwi r0, r0, 3 +/* 8029D46C 0029A3CC 7C 85 02 14 */ add r4, r5, r0 +/* 8029D470 0029A3D0 48 00 00 20 */ b lbl_8029D490 +lbl_8029D474: +/* 8029D474 0029A3D4 80 65 00 00 */ lwz r3, 0(r5) +/* 8029D478 0029A3D8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029D47C 0029A3DC 28 00 00 00 */ cmplwi r0, 0 +/* 8029D480 0029A3E0 40 82 00 0C */ bne lbl_8029D48C +/* 8029D484 0029A3E4 38 60 00 00 */ li r3, 0 +/* 8029D488 0029A3E8 48 00 00 24 */ b lbl_8029D4AC +lbl_8029D48C: +/* 8029D48C 0029A3EC 38 A5 00 08 */ addi r5, r5, 8 +lbl_8029D490: +/* 8029D490 0029A3F0 7C 05 20 40 */ cmplw r5, r4 +/* 8029D494 0029A3F4 40 82 FF E0 */ bne lbl_8029D474 +/* 8029D498 0029A3F8 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 8029D49C 0029A3FC 38 60 00 01 */ li r3, 1 +/* 8029D4A0 0029A400 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029D4A4 0029A404 38 60 00 01 */ li r3, 1 +/* 8029D4A8 0029A408 98 1F 00 28 */ stb r0, 0x28(r31) +lbl_8029D4AC: +/* 8029D4AC 0029A40C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029D4B0 0029A410 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029D4B4 0029A414 7C 08 03 A6 */ mtlr r0 +/* 8029D4B8 0029A418 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029D4BC 0029A41C 4E 80 00 20 */ blr + +.global __ct__13CArtifactDollFv +__ct__13CArtifactDollFv: +/* 8029D4C0 0029A420 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8029D4C4 0029A424 7C 08 02 A6 */ mflr r0 +/* 8029D4C8 0029A428 38 C0 00 00 */ li r6, 0 +/* 8029D4CC 0029A42C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8029D4D0 0029A430 38 00 FF FF */ li r0, -1 +/* 8029D4D4 0029A434 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029D4D8 0029A438 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8029D4DC 0029A43C 7C 7F 1B 78 */ mr r31, r3 +/* 8029D4E0 0029A440 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8029D4E4 0029A444 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8029D4E8 0029A448 90 C3 00 04 */ stw r6, 4(r3) +/* 8029D4EC 0029A44C 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8029D4F0 0029A450 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8029D4F4 0029A454 90 DF 00 08 */ stw r6, 8(r31) +/* 8029D4F8 0029A458 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029D4FC 0029A45C 90 DF 00 0C */ stw r6, 0xc(r31) +/* 8029D500 0029A460 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029D504 0029A464 48 06 8F 69 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029D508 0029A468 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8029D50C 0029A46C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8029D510 0029A470 38 C1 00 08 */ addi r6, r1, 8 +/* 8029D514 0029A474 38 80 00 02 */ li r4, 2 +/* 8029D518 0029A478 4B E4 11 B1 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" +/* 8029D51C 0029A47C 3C 80 80 3D */ lis r4, lbl_803D5DB0@ha +/* 8029D520 0029A480 38 60 02 E0 */ li r3, 0x2e0 +/* 8029D524 0029A484 38 84 5D B0 */ addi r4, r4, lbl_803D5DB0@l +/* 8029D528 0029A488 38 A0 00 00 */ li r5, 0 +/* 8029D52C 0029A48C 38 84 00 93 */ addi r4, r4, 0x93 +/* 8029D530 0029A490 48 07 83 3D */ bl __nw__FUlPCcPCc +/* 8029D534 0029A494 7C 60 1B 79 */ or. r0, r3, r3 +/* 8029D538 0029A498 41 82 00 4C */ beq lbl_8029D584 +/* 8029D53C 0029A49C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8029D540 0029A4A0 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 8029D544 0029A4A4 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8029D548 0029A4A8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8029D54C 0029A4AC 81 07 00 00 */ lwz r8, 0(r7) +/* 8029D550 0029A4B0 38 80 00 08 */ li r4, 8 +/* 8029D554 0029A4B4 81 67 00 04 */ lwz r11, 4(r7) +/* 8029D558 0029A4B8 38 C0 00 04 */ li r6, 4 +/* 8029D55C 0029A4BC 80 07 00 08 */ lwz r0, 8(r7) +/* 8029D560 0029A4C0 38 E0 00 04 */ li r7, 4 +/* 8029D564 0029A4C4 91 01 00 20 */ stw r8, 0x20(r1) +/* 8029D568 0029A4C8 39 00 00 00 */ li r8, 0 +/* 8029D56C 0029A4CC 39 20 00 00 */ li r9, 0 +/* 8029D570 0029A4D0 39 40 00 00 */ li r10, 0 +/* 8029D574 0029A4D4 91 61 00 24 */ stw r11, 0x24(r1) +/* 8029D578 0029A4D8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029D57C 0029A4DC 4B E6 7C 51 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 8029D580 0029A4E0 7C 60 1B 78 */ mr r0, r3 +lbl_8029D584: +/* 8029D584 0029A4E4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8029D588 0029A4E8 38 A0 00 00 */ li r5, 0 +/* 8029D58C 0029A4EC C0 02 C0 4C */ lfs f0, lbl_805ADD6C@sda21(r2) +/* 8029D590 0029A4F0 7F E3 FB 78 */ mr r3, r31 +/* 8029D594 0029A4F4 38 80 00 0C */ li r4, 0xc +/* 8029D598 0029A4F8 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8029D59C 0029A4FC 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 8029D5A0 0029A500 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8029D5A4 0029A504 98 1F 00 28 */ stb r0, 0x28(r31) +/* 8029D5A8 0029A508 4B D6 B3 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8029D5AC 0029A50C 3C 60 80 3D */ lis r3, lbl_803D5D50@ha +/* 8029D5B0 0029A510 3B A0 00 00 */ li r29, 0 +/* 8029D5B4 0029A514 3B C3 5D 50 */ addi r30, r3, lbl_803D5D50@l +lbl_8029D5B8: +/* 8029D5B8 0029A518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029D5BC 0029A51C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029D5C0 0029A520 80 BE 00 00 */ lwz r5, 0(r30) +/* 8029D5C4 0029A524 81 84 00 00 */ lwz r12, 0(r4) +/* 8029D5C8 0029A528 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8029D5CC 0029A52C 7D 89 03 A6 */ mtctr r12 +/* 8029D5D0 0029A530 4E 80 04 21 */ bctrl +/* 8029D5D4 0029A534 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029D5D8 0029A538 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029D5DC 0029A53C 48 0A 38 CD */ bl __ct__6CTokenFRC6CToken +/* 8029D5E0 0029A540 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029D5E4 0029A544 38 80 FF FF */ li r4, -1 +/* 8029D5E8 0029A548 48 0A 38 59 */ bl __dt__6CTokenFv +/* 8029D5EC 0029A54C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029D5F0 0029A550 48 0A 37 95 */ bl Lock__6CTokenFv +/* 8029D5F4 0029A554 80 1F 00 04 */ lwz r0, 4(r31) +/* 8029D5F8 0029A558 80 BF 00 08 */ lwz r5, 8(r31) +/* 8029D5FC 0029A55C 7C 00 28 00 */ cmpw r0, r5 +/* 8029D600 0029A560 41 80 00 1C */ blt lbl_8029D61C +/* 8029D604 0029A564 2C 05 00 00 */ cmpwi r5, 0 +/* 8029D608 0029A568 7F E3 FB 78 */ mr r3, r31 +/* 8029D60C 0029A56C 38 80 00 04 */ li r4, 4 +/* 8029D610 0029A570 41 82 00 08 */ beq lbl_8029D618 +/* 8029D614 0029A574 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029D618: +/* 8029D618 0029A578 4B D6 B3 45 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8029D61C: +/* 8029D61C 0029A57C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8029D620 0029A580 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8029D624 0029A584 54 00 18 38 */ slwi r0, r0, 3 +/* 8029D628 0029A588 7C 63 02 15 */ add. r3, r3, r0 +/* 8029D62C 0029A58C 41 82 00 0C */ beq lbl_8029D638 +/* 8029D630 0029A590 38 81 00 18 */ addi r4, r1, 0x18 +/* 8029D634 0029A594 48 0A 38 75 */ bl __ct__6CTokenFRC6CToken +lbl_8029D638: +/* 8029D638 0029A598 80 BF 00 04 */ lwz r5, 4(r31) +/* 8029D63C 0029A59C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029D640 0029A5A0 38 80 FF FF */ li r4, -1 +/* 8029D644 0029A5A4 38 05 00 01 */ addi r0, r5, 1 +/* 8029D648 0029A5A8 90 1F 00 04 */ stw r0, 4(r31) +/* 8029D64C 0029A5AC 48 0A 37 F5 */ bl __dt__6CTokenFv +/* 8029D650 0029A5B0 3B BD 00 01 */ addi r29, r29, 1 +/* 8029D654 0029A5B4 3B DE 00 04 */ addi r30, r30, 4 +/* 8029D658 0029A5B8 2C 1D 00 0C */ cmpwi r29, 0xc +/* 8029D65C 0029A5BC 41 80 FF 5C */ blt lbl_8029D5B8 +/* 8029D660 0029A5C0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8029D664 0029A5C4 7F E3 FB 78 */ mr r3, r31 +/* 8029D668 0029A5C8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8029D66C 0029A5CC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8029D670 0029A5D0 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8029D674 0029A5D4 7C 08 03 A6 */ mtlr r0 +/* 8029D678 0029A5D8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8029D67C 0029A5DC 4E 80 00 20 */ blr + +.global __sinit_CArtifactDoll_cpp +__sinit_CArtifactDoll_cpp: +/* 8029D680 0029A5E0 39 40 00 FF */ li r10, 0xff +/* 8029D684 0029A5E4 39 0D A5 B0 */ addi r8, r13, lbl_805A9170@sda21 +/* 8029D688 0029A5E8 39 20 00 A0 */ li r9, 0xa0 +/* 8029D68C 0029A5EC 38 E0 00 05 */ li r7, 5 +/* 8029D690 0029A5F0 38 C0 00 67 */ li r6, 0x67 +/* 8029D694 0029A5F4 38 A0 00 AE */ li r5, 0xae +/* 8029D698 0029A5F8 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21 +/* 8029D69C 0029A5FC 38 60 00 E1 */ li r3, 0xe1 +/* 8029D6A0 0029A600 38 00 00 CD */ li r0, 0xcd +/* 8029D6A4 0029A604 99 4D A5 B0 */ stb r10, lbl_805A9170@sda21(r13) +/* 8029D6A8 0029A608 99 28 00 01 */ stb r9, 1(r8) +/* 8029D6AC 0029A60C 98 E8 00 02 */ stb r7, 2(r8) +/* 8029D6B0 0029A610 99 48 00 03 */ stb r10, 3(r8) +/* 8029D6B4 0029A614 98 CD A5 B4 */ stb r6, lbl_805A9174@sda21(r13) +/* 8029D6B8 0029A618 98 A4 00 01 */ stb r5, 1(r4) +/* 8029D6BC 0029A61C 98 64 00 02 */ stb r3, 2(r4) +/* 8029D6C0 0029A620 98 04 00 03 */ stb r0, 3(r4) +/* 8029D6C4 0029A624 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CErrorOutputWindow.s b/asm/Kyoto_CWD/CErrorOutputWindow.s new file mode 100644 index 00000000..75c4e3cc --- /dev/null +++ b/asm/Kyoto_CWD/CErrorOutputWindow.s @@ -0,0 +1,575 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80269478 +sub_80269478: +/* 80269478 002663D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026947C 002663DC 7C 08 02 A6 */ mflr r0 +/* 80269480 002663E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80269484 002663E4 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80269488 002663E8 28 00 00 00 */ cmplwi r0, 0 +/* 8026948C 002663EC 41 82 00 08 */ beq lbl_80269494 +/* 80269490 002663F0 48 00 01 69 */ bl sub_802695f8 +lbl_80269494: +/* 80269494 002663F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80269498 002663F8 7C 08 03 A6 */ mtlr r0 +/* 8026949C 002663FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802694A0 00266400 4E 80 00 20 */ blr + +.global sub_802694a4 +sub_802694a4: +/* 802694A4 00266404 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802694A8 00266408 7C 08 02 A6 */ mflr r0 +/* 802694AC 0026640C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802694B0 00266410 48 00 04 89 */ bl UpdateWindow__18CErrorOutputWindowFv +/* 802694B4 00266414 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802694B8 00266418 7C 08 03 A6 */ mtlr r0 +/* 802694BC 0026641C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802694C0 00266420 4E 80 00 20 */ blr + +.global sub_802694c4 +sub_802694c4: +/* 802694C4 00266424 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802694C8 00266428 7C 08 02 A6 */ mflr r0 +/* 802694CC 0026642C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802694D0 00266430 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802694D4 00266434 7C 9F 23 79 */ or. r31, r4, r4 +/* 802694D8 00266438 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802694DC 0026643C 7C 7E 1B 78 */ mr r30, r3 +/* 802694E0 00266440 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802694E4 00266444 41 82 00 3C */ beq lbl_80269520 +/* 802694E8 00266448 80 0D A0 7C */ lwz r0, gpController@sda21(r13) +/* 802694EC 0026644C 28 00 00 00 */ cmplwi r0, 0 +/* 802694F0 00266450 41 82 00 30 */ beq lbl_80269520 +/* 802694F4 00266454 3B A0 00 00 */ li r29, 0 +lbl_802694F8: +/* 802694F8 00266458 80 6D A0 7C */ lwz r3, gpController@sda21(r13) +/* 802694FC 0026645C 7F A4 EB 78 */ mr r4, r29 +/* 80269500 00266460 38 A0 00 00 */ li r5, 0 +/* 80269504 00266464 81 83 00 00 */ lwz r12, 0(r3) +/* 80269508 00266468 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8026950C 0026646C 7D 89 03 A6 */ mtctr r12 +/* 80269510 00266470 4E 80 04 21 */ bctrl +/* 80269514 00266474 3B BD 00 01 */ addi r29, r29, 1 +/* 80269518 00266478 2C 1D 00 04 */ cmpwi r29, 4 +/* 8026951C 0026647C 41 80 FF DC */ blt lbl_802694F8 +lbl_80269520: +/* 80269520 00266480 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80269524 00266484 7C 1F 00 00 */ cmpw r31, r0 +/* 80269528 00266488 41 82 00 B4 */ beq lbl_802695DC +/* 8026952C 0026648C 2C 00 00 00 */ cmpwi r0, 0 +/* 80269530 00266490 40 82 00 74 */ bne lbl_802695A4 +/* 80269534 00266494 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80269538 00266498 28 04 00 00 */ cmplwi r4, 0 +/* 8026953C 0026649C 41 82 00 14 */ beq lbl_80269550 +/* 80269540 002664A0 88 04 03 18 */ lbz r0, 0x318(r4) +/* 80269544 002664A4 38 60 00 01 */ li r3, 1 +/* 80269548 002664A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8026954C 002664AC 98 04 03 18 */ stb r0, 0x318(r4) +lbl_80269550: +/* 80269550 002664B0 88 7E 00 18 */ lbz r3, 0x18(r30) +/* 80269554 002664B4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80269558 002664B8 41 82 00 80 */ beq lbl_802695D8 +/* 8026955C 002664BC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 80269560 002664C0 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 80269564 002664C4 98 7E 00 18 */ stb r3, 0x18(r30) +/* 80269568 002664C8 88 6D 9E 81 */ lbz r3, lbl_805A8A41@sda21(r13) +/* 8026956C 002664CC 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269570 002664D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80269574 002664D4 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269578 002664D8 48 0F 20 95 */ bl sub_8035b60c +/* 8026957C 002664DC 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269580 002664E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80269584 002664E4 38 60 00 00 */ li r3, 0 +/* 80269588 002664E8 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8026958C 002664EC 48 0F C3 3D */ bl SetMusicUnmute__19CStreamAudioManagerFb +/* 80269590 002664F0 38 00 00 00 */ li r0, 0 +/* 80269594 002664F4 38 60 00 00 */ li r3, 0 +/* 80269598 002664F8 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13) +/* 8026959C 002664FC 48 0F 20 79 */ bl sub_8035b614 +/* 802695A0 00266500 48 00 00 38 */ b lbl_802695D8 +lbl_802695A4: +/* 802695A4 00266504 2C 1F 00 00 */ cmpwi r31, 0 +/* 802695A8 00266508 40 82 00 30 */ bne lbl_802695D8 +/* 802695AC 0026650C 88 7E 00 18 */ lbz r3, 0x18(r30) +/* 802695B0 00266510 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 802695B4 00266514 41 82 00 24 */ beq lbl_802695D8 +/* 802695B8 00266518 54 63 DF FE */ rlwinm r3, r3, 0x1b, 0x1f, 0x1f +/* 802695BC 0026651C 48 0F C3 0D */ bl SetMusicUnmute__19CStreamAudioManagerFb +/* 802695C0 00266520 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802695C4 00266524 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f +/* 802695C8 00266528 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13) +/* 802695CC 0026652C 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802695D0 00266530 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 802695D4 00266534 48 0F 20 41 */ bl sub_8035b614 +lbl_802695D8: +/* 802695D8 00266538 93 FE 00 14 */ stw r31, 0x14(r30) +lbl_802695DC: +/* 802695DC 0026653C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802695E0 00266540 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802695E4 00266544 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802695E8 00266548 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802695EC 0026654C 7C 08 03 A6 */ mtlr r0 +/* 802695F0 00266550 38 21 00 20 */ addi r1, r1, 0x20 +/* 802695F4 00266554 4E 80 00 20 */ blr + +.global sub_802695f8 +sub_802695f8: +/* 802695F8 00266558 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 802695FC 0026655C 7C 08 02 A6 */ mflr r0 +/* 80269600 00266560 90 01 04 34 */ stw r0, 0x434(r1) +/* 80269604 00266564 DB E1 04 20 */ stfd f31, 0x420(r1) +/* 80269608 00266568 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0 +/* 8026960C 0026656C 93 E1 04 1C */ stw r31, 0x41c(r1) +/* 80269610 00266570 93 C1 04 18 */ stw r30, 0x418(r1) +/* 80269614 00266574 93 A1 04 14 */ stw r29, 0x414(r1) +/* 80269618 00266578 7C 7D 1B 78 */ mr r29, r3 +/* 8026961C 0026657C 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80269620 00266580 28 00 00 00 */ cmplwi r0, 0 +/* 80269624 00266584 41 82 02 80 */ beq lbl_802698A4 +/* 80269628 00266588 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8026962C 0026658C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80269630 00266590 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l +/* 80269634 00266594 81 09 00 00 */ lwz r8, 0(r9) +/* 80269638 00266598 80 E9 00 04 */ lwz r7, 4(r9) +/* 8026963C 0026659C 80 C9 00 08 */ lwz r6, 8(r9) +/* 80269640 002665A0 80 A9 00 0C */ lwz r5, 0xc(r9) +/* 80269644 002665A4 80 89 00 10 */ lwz r4, 0x10(r9) +/* 80269648 002665A8 80 09 00 14 */ lwz r0, 0x14(r9) +/* 8026964C 002665AC 91 01 00 3C */ stw r8, 0x3c(r1) +/* 80269650 002665B0 90 E1 00 40 */ stw r7, 0x40(r1) +/* 80269654 002665B4 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80269658 002665B8 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8026965C 002665BC 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80269660 002665C0 90 01 00 50 */ stw r0, 0x50(r1) +/* 80269664 002665C4 48 09 A7 15 */ bl __ct__18CTextExecuteBufferFv +/* 80269668 002665C8 38 00 00 01 */ li r0, 1 +/* 8026966C 002665CC 83 C1 00 44 */ lwz r30, 0x44(r1) +/* 80269670 002665D0 98 01 01 48 */ stb r0, 0x148(r1) +/* 80269674 002665D4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80269678 002665D8 83 E1 00 48 */ lwz r31, 0x48(r1) +/* 8026967C 002665DC 7F C6 F3 78 */ mr r6, r30 +/* 80269680 002665E0 90 01 00 08 */ stw r0, 8(r1) +/* 80269684 002665E4 38 80 00 00 */ li r4, 0 +/* 80269688 002665E8 7F E7 FB 78 */ mr r7, r31 +/* 8026968C 002665EC 38 A0 00 00 */ li r5, 0 +/* 80269690 002665F0 39 00 00 00 */ li r8, 0 +/* 80269694 002665F4 39 20 00 00 */ li r9, 0 +/* 80269698 002665F8 39 40 00 01 */ li r10, 1 +/* 8026969C 002665FC 48 09 A4 D1 */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification +/* 802696A0 00266600 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13) +/* 802696A4 00266604 38 61 00 18 */ addi r3, r1, 0x18 +/* 802696A8 00266608 48 0D 78 01 */ bl __ct__6CTokenFRC6CToken +/* 802696AC 0026660C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802696B0 00266610 38 81 00 18 */ addi r4, r1, 0x18 +/* 802696B4 00266614 48 09 A2 A1 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" +/* 802696B8 00266618 38 61 00 18 */ addi r3, r1, 0x18 +/* 802696BC 0026661C 38 80 00 00 */ li r4, 0 +/* 802696C0 00266620 48 0D 77 81 */ bl __dt__6CTokenFv +/* 802696C4 00266624 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802696C8 00266628 38 61 00 2C */ addi r3, r1, 0x2c +/* 802696CC 0026662C 4B DA C3 25 */ bl wstring_l__4rstlFPCw +/* 802696D0 00266630 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 802696D4 00266634 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802696D8 00266638 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 802696DC 0026663C 48 09 8D 95 */ bl AddString__18CTextExecuteBufferFPCwi +/* 802696E0 00266640 38 61 00 2C */ addi r3, r1, 0x2c +/* 802696E4 00266644 48 0D 3A 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802696E8 00266648 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802696EC 0026664C 48 09 A4 3D */ bl EndBlock__18CTextExecuteBufferFv +/* 802696F0 00266650 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 802696F4 00266654 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802696F8 00266658 41 82 00 38 */ beq lbl_80269730 +/* 802696FC 0026665C 48 0E 08 B9 */ bl Black__6CColorFv +/* 80269700 00266660 C3 E2 BB 28 */ lfs f31, lbl_805AD848@sda21(r2) +/* 80269704 00266664 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 +/* 80269708 00266668 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8026970C 0026666C 80 E3 00 00 */ lwz r7, 0(r3) +/* 80269710 00266670 38 60 00 05 */ li r3, 5 +/* 80269714 00266674 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80269718 00266678 38 80 00 00 */ li r4, 0 +/* 8026971C 0026667C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80269720 00266680 C0 22 BB 2C */ lfs f1, lbl_805AD84C@sda21(r2) +/* 80269724 00266684 90 01 00 14 */ stw r0, 0x14(r1) +/* 80269728 00266688 38 C0 00 00 */ li r6, 0 +/* 8026972C 0026668C 4B E8 2A 1D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80269730: +/* 80269730 00266690 83 A1 00 40 */ lwz r29, 0x40(r1) +/* 80269734 00266694 3C 00 43 30 */ lis r0, 0x4330 +/* 80269738 00266698 90 01 03 E8 */ stw r0, 0x3e8(r1) +/* 8026973C 0026669C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80269740 002666A0 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 80269744 002666A4 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2) +/* 80269748 002666A8 90 01 03 EC */ stw r0, 0x3ec(r1) +/* 8026974C 002666AC 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80269750 002666B0 C8 01 03 E8 */ lfd f0, 0x3e8(r1) +/* 80269754 002666B4 EF E0 08 28 */ fsubs f31, f0, f1 +/* 80269758 002666B8 48 0A 2F F5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8026975C 002666BC 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80269760 002666C0 3C 80 43 30 */ lis r4, 0x4330 +/* 80269764 002666C4 7C 1D FA 14 */ add r0, r29, r31 +/* 80269768 002666C8 90 81 03 F0 */ stw r4, 0x3f0(r1) +/* 8026976C 002666CC 7C 65 F2 14 */ add r3, r5, r30 +/* 80269770 002666D0 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80269774 002666D4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80269778 002666D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026977C 002666DC 90 A1 03 F4 */ stw r5, 0x3f4(r1) +/* 80269780 002666E0 FC 80 F8 90 */ fmr f4, f31 +/* 80269784 002666E4 C8 62 BB 40 */ lfd f3, lbl_805AD860@sda21(r2) +/* 80269788 002666E8 C8 01 03 F0 */ lfd f0, 0x3f0(r1) +/* 8026978C 002666EC 90 61 03 FC */ stw r3, 0x3fc(r1) +/* 80269790 002666F0 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80269794 002666F4 C0 A2 BB 30 */ lfs f5, lbl_805AD850@sda21(r2) +/* 80269798 002666F8 90 81 03 F8 */ stw r4, 0x3f8(r1) +/* 8026979C 002666FC C0 C2 BB 34 */ lfs f6, lbl_805AD854@sda21(r2) +/* 802697A0 00266700 C8 01 03 F8 */ lfd f0, 0x3f8(r1) +/* 802697A4 00266704 90 01 04 04 */ stw r0, 0x404(r1) +/* 802697A8 00266708 EC 40 18 28 */ fsubs f2, f0, f3 +/* 802697AC 0026670C 90 81 04 00 */ stw r4, 0x400(r1) +/* 802697B0 00266710 C8 01 04 00 */ lfd f0, 0x400(r1) +/* 802697B4 00266714 EC 60 18 28 */ fsubs f3, f0, f3 +/* 802697B8 00266718 48 0A 2D 9D */ bl SetOrtho__9CGraphicsFffffff +/* 802697BC 0026671C 38 60 00 01 */ li r3, 1 +/* 802697C0 00266720 38 80 00 04 */ li r4, 4 +/* 802697C4 00266724 38 A0 00 05 */ li r5, 5 +/* 802697C8 00266728 38 C0 00 00 */ li r6, 0 +/* 802697CC 0026672C 48 0A 22 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802697D0 00266730 38 60 00 00 */ li r3, 0 +/* 802697D4 00266734 48 0A 22 9D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802697D8 00266738 38 60 00 01 */ li r3, 1 +/* 802697DC 0026673C 38 80 00 07 */ li r4, 7 +/* 802697E0 00266740 38 A0 00 00 */ li r5, 0 +/* 802697E4 00266744 48 0A 22 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802697E8 00266748 38 60 00 07 */ li r3, 7 +/* 802697EC 0026674C 38 80 00 00 */ li r4, 0 +/* 802697F0 00266750 38 A0 00 00 */ li r5, 0 +/* 802697F4 00266754 38 C0 00 07 */ li r6, 7 +/* 802697F8 00266758 38 E0 00 00 */ li r7, 0 +/* 802697FC 0026675C 48 0A 22 2D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80269800 00266760 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 80269804 00266764 3C 00 43 30 */ lis r0, 0x4330 +/* 80269808 00266768 90 61 04 0C */ stw r3, 0x40c(r1) +/* 8026980C 0026676C 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 80269810 00266770 C0 42 BB 38 */ lfs f2, lbl_805AD858@sda21(r2) +/* 80269814 00266774 3C A0 80 5A */ lis r5, lbl_805A6724@ha +/* 80269818 00266778 90 01 04 08 */ stw r0, 0x408(r1) +/* 8026981C 0026677C 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80269820 00266780 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2) +/* 80269824 00266784 38 C3 67 00 */ addi r6, r3, lbl_805A6700@l +/* 80269828 00266788 C8 01 04 08 */ lfd f0, 0x408(r1) +/* 8026982C 0026678C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l +/* 80269830 00266790 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80269834 00266794 38 A5 67 24 */ addi r5, r5, lbl_805A6724@l +/* 80269838 00266798 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8026983C 0026679C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80269840 002667A0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80269844 002667A4 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80269848 002667A8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8026984C 002667AC 48 0A 96 11 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 80269850 002667B0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80269854 002667B4 38 81 00 54 */ addi r4, r1, 0x54 +/* 80269858 002667B8 48 0A 93 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8026985C 002667BC 38 61 00 84 */ addi r3, r1, 0x84 +/* 80269860 002667C0 48 0A 2D 81 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80269864 002667C4 38 61 01 90 */ addi r3, r1, 0x190 +/* 80269868 002667C8 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8026986C 002667CC 48 09 89 45 */ bl BuildRenderBuffer__18CTextExecuteBufferFv +/* 80269870 002667D0 48 0E 07 3D */ bl White__6CColorFv +/* 80269874 002667D4 C0 22 BB 38 */ lfs f1, lbl_805AD858@sda21(r2) +/* 80269878 002667D8 7C 64 1B 78 */ mr r4, r3 +/* 8026987C 002667DC 38 61 01 90 */ addi r3, r1, 0x190 +/* 80269880 002667E0 48 0F 0C 3D */ bl Render__17CTextRenderBufferCFRC6CColorf +/* 80269884 002667E4 38 61 01 90 */ addi r3, r1, 0x190 +/* 80269888 002667E8 38 80 FF FF */ li r4, -1 +/* 8026988C 002667EC 4B DB F0 D1 */ bl __dt__17CTextRenderBufferFv +/* 80269890 002667F0 38 60 00 01 */ li r3, 1 +/* 80269894 002667F4 48 0A 21 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80269898 002667F8 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8026989C 002667FC 38 80 FF FF */ li r4, -1 +/* 802698A0 00266800 4B DB F4 15 */ bl __dt__18CTextExecuteBufferFv +lbl_802698A4: +/* 802698A4 00266804 E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0 +/* 802698A8 00266808 80 01 04 34 */ lwz r0, 0x434(r1) +/* 802698AC 0026680C CB E1 04 20 */ lfd f31, 0x420(r1) +/* 802698B0 00266810 83 E1 04 1C */ lwz r31, 0x41c(r1) +/* 802698B4 00266814 83 C1 04 18 */ lwz r30, 0x418(r1) +/* 802698B8 00266818 83 A1 04 14 */ lwz r29, 0x414(r1) +/* 802698BC 0026681C 7C 08 03 A6 */ mtlr r0 +/* 802698C0 00266820 38 21 04 30 */ addi r1, r1, 0x430 +/* 802698C4 00266824 4E 80 00 20 */ blr + +.global Draw__18CErrorOutputWindowCFv +Draw__18CErrorOutputWindowCFv: +/* 802698C8 00266828 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802698CC 0026682C 7C 08 02 A6 */ mflr r0 +/* 802698D0 00266830 90 01 00 14 */ stw r0, 0x14(r1) +/* 802698D4 00266834 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802698D8 00266838 2C 00 00 02 */ cmpwi r0, 2 +/* 802698DC 0026683C 41 82 00 24 */ beq lbl_80269900 +/* 802698E0 00266840 40 80 00 14 */ bge lbl_802698F4 +/* 802698E4 00266844 2C 00 00 00 */ cmpwi r0, 0 +/* 802698E8 00266848 41 82 00 40 */ beq lbl_80269928 +/* 802698EC 0026684C 40 80 00 18 */ bge lbl_80269904 +/* 802698F0 00266850 48 00 00 38 */ b lbl_80269928 +lbl_802698F4: +/* 802698F4 00266854 2C 00 00 04 */ cmpwi r0, 4 +/* 802698F8 00266858 40 80 00 30 */ bge lbl_80269928 +/* 802698FC 0026685C 48 00 00 08 */ b lbl_80269904 +lbl_80269900: +/* 80269900 00266860 4B FF FC F9 */ bl sub_802695f8 +lbl_80269904: +/* 80269904 00266864 38 60 00 00 */ li r3, 0 +/* 80269908 00266868 48 09 FB A1 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +/* 8026990C 0026686C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80269910 00266870 28 04 00 00 */ cmplwi r4, 0 +/* 80269914 00266874 41 82 00 14 */ beq lbl_80269928 +/* 80269918 00266878 88 04 03 18 */ lbz r0, 0x318(r4) +/* 8026991C 0026687C 38 60 00 01 */ li r3, 1 +/* 80269920 00266880 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80269924 00266884 98 04 03 18 */ stb r0, 0x318(r4) +lbl_80269928: +/* 80269928 00266888 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026992C 0026688C 7C 08 03 A6 */ mtlr r0 +/* 80269930 00266890 38 21 00 10 */ addi r1, r1, 0x10 +/* 80269934 00266894 4E 80 00 20 */ blr + +.global UpdateWindow__18CErrorOutputWindowFv +UpdateWindow__18CErrorOutputWindowFv: +/* 80269938 00266898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026993C 0026689C 7C 08 02 A6 */ mflr r0 +/* 80269940 002668A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80269944 002668A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80269948 002668A8 7C 7F 1B 78 */ mr r31, r3 +/* 8026994C 002668AC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80269950 002668B0 2C 00 00 01 */ cmpwi r0, 1 +/* 80269954 002668B4 40 82 00 10 */ bne lbl_80269964 +/* 80269958 002668B8 38 80 00 02 */ li r4, 2 +/* 8026995C 002668BC 4B FF FB 69 */ bl sub_802694c4 +/* 80269960 002668C0 48 00 01 94 */ b lbl_80269AF4 +lbl_80269964: +/* 80269964 002668C4 48 10 A7 ED */ bl DVDGetDriveStatus +/* 80269968 002668C8 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 8026996C 002668CC 38 C0 00 00 */ li r6, 0 +/* 80269970 002668D0 88 0D A5 6C */ lbz r0, lbl_805A912C@sda21(r13) +/* 80269974 002668D4 7C 85 00 D0 */ neg r4, r5 +/* 80269978 002668D8 7C 84 2B 78 */ or r4, r4, r5 +/* 8026997C 002668DC 7C 00 07 75 */ extsb. r0, r0 +/* 80269980 002668E0 54 85 0F FE */ srwi r5, r4, 0x1f +/* 80269984 002668E4 40 82 00 14 */ bne lbl_80269998 +/* 80269988 002668E8 38 80 00 00 */ li r4, 0 +/* 8026998C 002668EC 38 00 00 01 */ li r0, 1 +/* 80269990 002668F0 90 8D A5 68 */ stw r4, lbl_805A9128@sda21(r13) +/* 80269994 002668F4 98 0D A5 6C */ stb r0, lbl_805A912C@sda21(r13) +lbl_80269998: +/* 80269998 002668F8 80 0D A5 68 */ lwz r0, lbl_805A9128@sda21(r13) +/* 8026999C 002668FC 7C 03 00 00 */ cmpw r3, r0 +/* 802699A0 00266900 41 82 00 08 */ beq lbl_802699A8 +/* 802699A4 00266904 90 6D A5 68 */ stw r3, lbl_805A9128@sda21(r13) +lbl_802699A8: +/* 802699A8 00266908 38 03 00 01 */ addi r0, r3, 1 +/* 802699AC 0026690C 28 00 00 0C */ cmplwi r0, 0xc +/* 802699B0 00266910 41 81 00 68 */ bgt lbl_80269A18 +/* 802699B4 00266914 3C 80 80 3F */ lis r4, lbl_803EA3DC@ha +/* 802699B8 00266918 54 00 10 3A */ slwi r0, r0, 2 +/* 802699BC 0026691C 38 84 A3 DC */ addi r4, r4, lbl_803EA3DC@l +/* 802699C0 00266920 7C 04 00 2E */ lwzx r0, r4, r0 +/* 802699C4 00266924 7C 09 03 A6 */ mtctr r0 +/* 802699C8 00266928 4E 80 04 20 */ bctr +/* 802699CC 0026692C 3C 80 80 3F */ lis r4, lbl_803EA410@ha +/* 802699D0 00266930 38 04 A4 10 */ addi r0, r4, lbl_803EA410@l +/* 802699D4 00266934 7C 06 03 78 */ mr r6, r0 +/* 802699D8 00266938 48 00 00 40 */ b lbl_80269A18 +/* 802699DC 0026693C 3C 80 80 3F */ lis r4, lbl_803EA410@ha +/* 802699E0 00266940 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l +/* 802699E4 00266944 38 C4 00 AE */ addi r6, r4, 0xae +/* 802699E8 00266948 48 00 00 30 */ b lbl_80269A18 +/* 802699EC 0026694C 3C 80 80 3F */ lis r4, lbl_803EA410@ha +/* 802699F0 00266950 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l +/* 802699F4 00266954 38 C4 01 04 */ addi r6, r4, 0x104 +/* 802699F8 00266958 48 00 00 20 */ b lbl_80269A18 +/* 802699FC 0026695C 3C 80 80 3F */ lis r4, lbl_803EA410@ha +/* 80269A00 00266960 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l +/* 80269A04 00266964 38 C4 01 B0 */ addi r6, r4, 0x1b0 +/* 80269A08 00266968 48 00 00 10 */ b lbl_80269A18 +/* 80269A0C 0026696C 3C 80 80 3F */ lis r4, lbl_803EA410@ha +/* 80269A10 00266970 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l +/* 80269A14 00266974 38 C4 02 A6 */ addi r6, r4, 0x2a6 +lbl_80269A18: +/* 80269A18 00266978 2C 03 00 02 */ cmpwi r3, 2 +/* 80269A1C 0026697C 38 80 00 00 */ li r4, 0 +/* 80269A20 00266980 41 82 00 3C */ beq lbl_80269A5C +/* 80269A24 00266984 2C 03 00 01 */ cmpwi r3, 1 +/* 80269A28 00266988 41 82 00 34 */ beq lbl_80269A5C +/* 80269A2C 0026698C 7C 06 00 D0 */ neg r0, r6 +/* 80269A30 00266990 28 06 00 00 */ cmplwi r6, 0 +/* 80269A34 00266994 7C 00 33 78 */ or r0, r0, r6 +/* 80269A38 00266998 54 05 0F FE */ srwi r5, r0, 0x1f +/* 80269A3C 0026699C 41 82 00 20 */ beq lbl_80269A5C +/* 80269A40 002669A0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80269A44 002669A4 28 00 00 00 */ cmplwi r0, 0 +/* 80269A48 002669A8 41 82 00 10 */ beq lbl_80269A58 +/* 80269A4C 002669AC 7C 06 00 40 */ cmplw r6, r0 +/* 80269A50 002669B0 41 82 00 08 */ beq lbl_80269A58 +/* 80269A54 002669B4 38 80 00 01 */ li r4, 1 +lbl_80269A58: +/* 80269A58 002669B8 90 DF 00 1C */ stw r6, 0x1c(r31) +lbl_80269A5C: +/* 80269A5C 002669BC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80269A60 002669C0 40 82 00 34 */ bne lbl_80269A94 +/* 80269A64 002669C4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80269A68 002669C8 2C 00 00 00 */ cmpwi r0, 0 +/* 80269A6C 002669CC 41 82 00 88 */ beq lbl_80269AF4 +/* 80269A70 002669D0 88 7F 00 18 */ lbz r3, 0x18(r31) +/* 80269A74 002669D4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80269A78 002669D8 41 82 00 0C */ beq lbl_80269A84 +/* 80269A7C 002669DC 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80269A80 002669E0 48 09 FA 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +lbl_80269A84: +/* 80269A84 002669E4 7F E3 FB 78 */ mr r3, r31 +/* 80269A88 002669E8 38 80 00 00 */ li r4, 0 +/* 80269A8C 002669EC 4B FF FA 39 */ bl sub_802694c4 +/* 80269A90 002669F0 48 00 00 64 */ b lbl_80269AF4 +lbl_80269A94: +/* 80269A94 002669F4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80269A98 002669F8 2C 00 00 03 */ cmpwi r0, 3 +/* 80269A9C 002669FC 41 82 00 30 */ beq lbl_80269ACC +/* 80269AA0 00266A00 2C 00 00 00 */ cmpwi r0, 0 +/* 80269AA4 00266A04 40 82 00 14 */ bne lbl_80269AB8 +/* 80269AA8 00266A08 88 6D 9C 6C */ lbz r3, lbl_805A882C@sda21(r13) +/* 80269AAC 00266A0C 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 80269AB0 00266A10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80269AB4 00266A14 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_80269AB8: +/* 80269AB8 00266A18 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80269ABC 00266A1C 7F E3 FB 78 */ mr r3, r31 +/* 80269AC0 00266A20 38 84 00 01 */ addi r4, r4, 1 +/* 80269AC4 00266A24 4B FF FA 01 */ bl sub_802694c4 +/* 80269AC8 00266A28 48 00 00 2C */ b lbl_80269AF4 +lbl_80269ACC: +/* 80269ACC 00266A2C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80269AD0 00266A30 41 82 00 24 */ beq lbl_80269AF4 +/* 80269AD4 00266A34 88 7F 00 18 */ lbz r3, 0x18(r31) +/* 80269AD8 00266A38 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80269ADC 00266A3C 41 82 00 0C */ beq lbl_80269AE8 +/* 80269AE0 00266A40 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80269AE4 00266A44 48 09 F9 C5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +lbl_80269AE8: +/* 80269AE8 00266A48 7F E3 FB 78 */ mr r3, r31 +/* 80269AEC 00266A4C 38 80 00 02 */ li r4, 2 +/* 80269AF0 00266A50 4B FF F9 D5 */ bl sub_802694c4 +lbl_80269AF4: +/* 80269AF4 00266A54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80269AF8 00266A58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80269AFC 00266A5C 7C 08 03 A6 */ mtlr r0 +/* 80269B00 00266A60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80269B04 00266A64 4E 80 00 20 */ blr + +.global OnMessage__18CErrorOutputWindowCFv +OnMessage__18CErrorOutputWindowCFv: +/* 80269B08 00266A68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80269B0C 00266A6C 7C 08 02 A6 */ mflr r0 +/* 80269B10 00266A70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80269B14 00266A74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80269B18 00266A78 7C 7F 1B 78 */ mr r31, r3 +/* 80269B1C 00266A7C 80 04 00 04 */ lwz r0, 4(r4) +/* 80269B20 00266A80 2C 00 00 0A */ cmpwi r0, 0xa +/* 80269B24 00266A84 41 82 00 40 */ beq lbl_80269B64 +/* 80269B28 00266A88 40 80 00 1C */ bge lbl_80269B44 +/* 80269B2C 00266A8C 2C 00 00 05 */ cmpwi r0, 5 +/* 80269B30 00266A90 41 82 00 20 */ beq lbl_80269B50 +/* 80269B34 00266A94 40 80 00 54 */ bge lbl_80269B88 +/* 80269B38 00266A98 2C 00 00 04 */ cmpwi r0, 4 +/* 80269B3C 00266A9C 40 80 00 2C */ bge lbl_80269B68 +/* 80269B40 00266AA0 48 00 00 48 */ b lbl_80269B88 +lbl_80269B44: +/* 80269B44 00266AA4 2C 00 00 0C */ cmpwi r0, 0xc +/* 80269B48 00266AA8 40 80 00 40 */ bge lbl_80269B88 +/* 80269B4C 00266AAC 48 00 00 1C */ b lbl_80269B68 +lbl_80269B50: +/* 80269B50 00266AB0 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80269B54 00266AB4 7C 03 00 D0 */ neg r0, r3 +/* 80269B58 00266AB8 7C 00 1B 78 */ or r0, r0, r3 +/* 80269B5C 00266ABC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80269B60 00266AC0 48 00 00 2C */ b lbl_80269B8C +lbl_80269B64: +/* 80269B64 00266AC4 4B FF FD D5 */ bl UpdateWindow__18CErrorOutputWindowFv +lbl_80269B68: +/* 80269B68 00266AC8 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80269B6C 00266ACC 38 00 00 01 */ li r0, 1 +/* 80269B70 00266AD0 7C 80 02 78 */ xor r0, r4, r0 +/* 80269B74 00266AD4 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80269B78 00266AD8 7C 00 20 38 */ and r0, r0, r4 +/* 80269B7C 00266ADC 7C 00 18 50 */ subf r0, r0, r3 +/* 80269B80 00266AE0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80269B84 00266AE4 48 00 00 08 */ b lbl_80269B8C +lbl_80269B88: +/* 80269B88 00266AE8 38 60 00 00 */ li r3, 0 +lbl_80269B8C: +/* 80269B8C 00266AEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80269B90 00266AF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80269B94 00266AF4 7C 08 03 A6 */ mtlr r0 +/* 80269B98 00266AF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80269B9C 00266AFC 4E 80 00 20 */ blr + +.global GetIsContinueDraw__18CErrorOutputWindowCFv +GetIsContinueDraw__18CErrorOutputWindowCFv: +/* 80269BA0 00266B00 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80269BA4 00266B04 38 80 00 02 */ li r4, 2 +/* 80269BA8 00266B08 7C 80 02 78 */ xor r0, r4, r0 +/* 80269BAC 00266B0C 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80269BB0 00266B10 7C 00 20 38 */ and r0, r0, r4 +/* 80269BB4 00266B14 7C 00 18 50 */ subf r0, r0, r3 +/* 80269BB8 00266B18 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80269BBC 00266B1C 4E 80 00 20 */ blr + +.global __ct__18CErrorOutputWindowFiff +__ct__18CErrorOutputWindowFiff: +/* 80269BC0 00266B20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269BC4 00266B24 7C 08 02 A6 */ mflr r0 +/* 80269BC8 00266B28 3C A0 80 3D */ lis r5, lbl_803D53E0@ha +/* 80269BCC 00266B2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80269BD0 00266B30 38 05 53 E0 */ addi r0, r5, lbl_803D53E0@l +/* 80269BD4 00266B34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80269BD8 00266B38 7C 9F 23 78 */ mr r31, r4 +/* 80269BDC 00266B3C 7C 04 03 78 */ mr r4, r0 +/* 80269BE0 00266B40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80269BE4 00266B44 7C 7E 1B 78 */ mr r30, r3 +/* 80269BE8 00266B48 38 61 00 08 */ addi r3, r1, 8 +/* 80269BEC 00266B4C 4B D9 B0 CD */ bl string_l__4rstlFPCc +/* 80269BF0 00266B50 7F C3 F3 78 */ mr r3, r30 +/* 80269BF4 00266B54 38 81 00 08 */ addi r4, r1, 8 +/* 80269BF8 00266B58 4B DE 90 15 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80269BFC 00266B5C 38 61 00 08 */ addi r3, r1, 8 +/* 80269C00 00266B60 48 0D 3E E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80269C04 00266B64 3C 60 80 3F */ lis r3, lbl_803EA3C0@ha +/* 80269C08 00266B68 7F E0 00 34 */ cntlzw r0, r31 +/* 80269C0C 00266B6C 38 63 A3 C0 */ addi r3, r3, lbl_803EA3C0@l +/* 80269C10 00266B70 38 C0 00 00 */ li r6, 0 +/* 80269C14 00266B74 90 7E 00 00 */ stw r3, 0(r30) +/* 80269C18 00266B78 38 A0 00 01 */ li r5, 1 +/* 80269C1C 00266B7C 54 04 D9 7E */ srwi r4, r0, 5 +/* 80269C20 00266B80 7F C3 F3 78 */ mr r3, r30 +/* 80269C24 00266B84 90 DE 00 14 */ stw r6, 0x14(r30) +/* 80269C28 00266B88 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269C2C 00266B8C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80269C30 00266B90 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269C34 00266B94 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269C38 00266B98 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80269C3C 00266B9C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269C40 00266BA0 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269C44 00266BA4 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80269C48 00266BA8 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269C4C 00266BAC 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269C50 00266BB0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80269C54 00266BB4 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269C58 00266BB8 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80269C5C 00266BBC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80269C60 00266BC0 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80269C64 00266BC4 90 DE 00 1C */ stw r6, 0x1c(r30) +/* 80269C68 00266BC8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80269C6C 00266BCC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80269C70 00266BD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80269C74 00266BD4 7C 08 03 A6 */ mtlr r0 +/* 80269C78 00266BD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269C7C 00266BDC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CFluidPlaneRender.s b/asm/Kyoto_CWD/CFluidPlaneRender.s new file mode 100644 index 00000000..c2d36c2c --- /dev/null +++ b/asm/Kyoto_CWD/CFluidPlaneRender.s @@ -0,0 +1,4375 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob +RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob: +/* 8026BBF0 00268B50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8026BBF4 00268B54 7C 08 02 A6 */ mflr r0 +/* 8026BBF8 00268B58 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026BBFC 00268B5C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8026BC00 00268B60 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8026BC04 00268B64 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8026BC08 00268B68 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8026BC0C 00268B6C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8026BC10 00268B70 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8026BC14 00268B74 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8026BC18 00268B78 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8026BC1C 00268B7C BE C1 00 18 */ stmw r22, 0x18(r1) +/* 8026BC20 00268B80 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026BC24 00268B84 7C 76 1B 78 */ mr r22, r3 +/* 8026BC28 00268B88 41 82 0C E0 */ beq lbl_8026C908 +/* 8026BC2C 00268B8C 88 F6 00 01 */ lbz r7, 1(r22) +/* 8026BC30 00268B90 3C 80 43 30 */ lis r4, 0x4330 +/* 8026BC34 00268B94 89 36 00 00 */ lbz r9, 0(r22) +/* 8026BC38 00268B98 7C E7 07 74 */ extsb r7, r7 +/* 8026BC3C 00268B9C 88 16 00 37 */ lbz r0, 0x37(r22) +/* 8026BC40 00268BA0 38 C7 FF FE */ addi r6, r7, -2 +/* 8026BC44 00268BA4 7D 29 07 74 */ extsb r9, r9 +/* 8026BC48 00268BA8 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 8026BC4C 00268BAC 7C 00 07 74 */ extsb r0, r0 +/* 8026BC50 00268BB0 38 69 FF FE */ addi r3, r9, -2 +/* 8026BC54 00268BB4 90 81 00 08 */ stw r4, 8(r1) +/* 8026BC58 00268BB8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8026BC5C 00268BBC C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026BC60 00268BC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026BC64 00268BC4 2C 00 00 02 */ cmpwi r0, 2 +/* 8026BC68 00268BC8 C3 F6 00 04 */ lfs f31, 4(r22) +/* 8026BC6C 00268BCC C8 01 00 08 */ lfd f0, 8(r1) +/* 8026BC70 00268BD0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8026BC74 00268BD4 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8026BC78 00268BD8 C3 96 00 08 */ lfs f28, 8(r22) +/* 8026BC7C 00268BDC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8026BC80 00268BE0 C0 76 00 18 */ lfs f3, 0x18(r22) +/* 8026BC84 00268BE4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8026BC88 00268BE8 EF C3 E0 7A */ fmadds f30, f3, f1, f28 +/* 8026BC8C 00268BEC EC 00 10 28 */ fsubs f0, f0, f2 +/* 8026BC90 00268BF0 EF A3 F8 3A */ fmadds f29, f3, f0, f31 +/* 8026BC94 00268BF4 41 82 01 0C */ beq lbl_8026BDA0 +/* 8026BC98 00268BF8 40 80 00 14 */ bge lbl_8026BCAC +/* 8026BC9C 00268BFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8026BCA0 00268C00 41 82 00 18 */ beq lbl_8026BCB8 +/* 8026BCA4 00268C04 40 80 00 64 */ bge lbl_8026BD08 +/* 8026BCA8 00268C08 48 00 0C AC */ b lbl_8026C954 +lbl_8026BCAC: +/* 8026BCAC 00268C0C 2C 00 00 04 */ cmpwi r0, 4 +/* 8026BCB0 00268C10 40 80 0C A4 */ bge lbl_8026C954 +/* 8026BCB4 00268C14 48 00 09 58 */ b lbl_8026C60C +lbl_8026BCB8: +/* 8026BCB8 00268C18 38 60 00 98 */ li r3, 0x98 +/* 8026BCBC 00268C1C 38 80 00 00 */ li r4, 0 +/* 8026BCC0 00268C20 38 A0 00 04 */ li r5, 4 +/* 8026BCC4 00268C24 48 09 C8 C1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BCC8 00268C28 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026BCCC 00268C2C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BCD0 00268C30 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8026BCD4 00268C34 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026BCD8 00268C38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCDC 00268C3C D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8026BCE0 00268C40 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026BCE4 00268C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCE8 00268C48 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026BCEC 00268C4C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026BCF0 00268C50 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BCF4 00268C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026BCF8 00268C58 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026BCFC 00268C5C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026BD00 00268C60 48 09 C8 81 */ bl End__3CGXFv +/* 8026BD04 00268C64 48 00 0C 50 */ b lbl_8026C954 +lbl_8026BD08: +/* 8026BD08 00268C68 38 60 00 98 */ li r3, 0x98 +/* 8026BD0C 00268C6C 38 80 00 00 */ li r4, 0 +/* 8026BD10 00268C70 38 A0 00 04 */ li r5, 4 +/* 8026BD14 00268C74 48 09 C8 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BD18 00268C78 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8026BD1C 00268C7C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BD20 00268C80 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 8026BD24 00268C84 38 60 00 00 */ li r3, 0 +/* 8026BD28 00268C88 38 00 00 FF */ li r0, 0xff +/* 8026BD2C 00268C8C D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) +/* 8026BD30 00268C90 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD34 00268C94 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD38 00268C98 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD3C 00268C9C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD40 00268CA0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD44 00268CA4 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 8026BD48 00268CA8 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026BD4C 00268CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD50 00268CB0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD54 00268CB4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD58 00268CB8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD5C 00268CBC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD60 00268CC0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026BD64 00268CC4 D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) +/* 8026BD68 00268CC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD6C 00268CCC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD70 00268CD0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD74 00268CD4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD78 00268CD8 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD7C 00268CDC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026BD80 00268CE0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026BD84 00268CE4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8026BD88 00268CE8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD8C 00268CEC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD90 00268CF0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 8026BD94 00268CF4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 8026BD98 00268CF8 48 09 C7 E9 */ bl End__3CGXFv +/* 8026BD9C 00268CFC 48 00 0B B8 */ b lbl_8026C954 +lbl_8026BDA0: +/* 8026BDA0 00268D00 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) +/* 8026BDA4 00268D04 38 07 FF FD */ addi r0, r7, -3 +/* 8026BDA8 00268D08 38 A9 FF FD */ addi r5, r9, -3 +/* 8026BDAC 00268D0C A8 76 00 2E */ lha r3, 0x2e(r22) +/* 8026BDB0 00268D10 7C C0 43 D6 */ divw r6, r0, r8 +/* 8026BDB4 00268D14 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026BDB8 00268D18 FF C0 E0 90 */ fmr f30, f28 +/* 8026BDBC 00268D1C A8 96 00 28 */ lha r4, 0x28(r22) +/* 8026BDC0 00268D20 7C A5 43 D6 */ divw r5, r5, r8 +/* 8026BDC4 00268D24 3B C6 00 01 */ addi r30, r6, 1 +/* 8026BDC8 00268D28 7F DB F3 78 */ mr r27, r30 +/* 8026BDCC 00268D2C 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8026BDD0 00268D30 3B A5 00 01 */ addi r29, r5, 1 +/* 8026BDD4 00268D34 7F 84 02 14 */ add r28, r4, r0 +/* 8026BDD8 00268D38 48 00 08 28 */ b lbl_8026C600 +lbl_8026BDDC: +/* 8026BDDC 00268D3C 7C 7B F0 50 */ subf r3, r27, r30 +/* 8026BDE0 00268D40 20 1B 00 01 */ subfic r0, r27, 1 +/* 8026BDE4 00268D44 7C 63 00 34 */ cntlzw r3, r3 +/* 8026BDE8 00268D48 FF A0 F8 90 */ fmr f29, f31 +/* 8026BDEC 00268D4C 7C 00 00 34 */ cntlzw r0, r0 +/* 8026BDF0 00268D50 3B 00 00 00 */ li r24, 0 +/* 8026BDF4 00268D54 54 7A D9 7E */ srwi r26, r3, 5 +/* 8026BDF8 00268D58 54 19 D9 7E */ srwi r25, r0, 5 +/* 8026BDFC 00268D5C 48 00 07 E8 */ b lbl_8026C5E4 +lbl_8026BE00: +/* 8026BE00 00268D60 80 D6 00 30 */ lwz r6, 0x30(r22) +/* 8026BE04 00268D64 28 06 00 00 */ cmplwi r6, 0 +/* 8026BE08 00268D68 41 82 00 18 */ beq lbl_8026BE20 +/* 8026BE0C 00268D6C 41 82 07 A4 */ beq lbl_8026C5B0 +/* 8026BE10 00268D70 7C 06 C2 14 */ add r0, r6, r24 +/* 8026BE14 00268D74 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026BE18 00268D78 7C 00 07 75 */ extsb. r0, r0 +/* 8026BE1C 00268D7C 41 82 07 94 */ beq lbl_8026C5B0 +lbl_8026BE20: +/* 8026BE20 00268D80 38 9D FF FF */ addi r4, r29, -1 +/* 8026BE24 00268D84 7F 05 00 34 */ cntlzw r5, r24 +/* 8026BE28 00268D88 7C 78 20 50 */ subf r3, r24, r4 +/* 8026BE2C 00268D8C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026BE30 00268D90 7C 63 00 34 */ cntlzw r3, r3 +/* 8026BE34 00268D94 54 BF D9 7E */ srwi r31, r5, 5 +/* 8026BE38 00268D98 54 77 D9 7E */ srwi r23, r3, 5 +/* 8026BE3C 00268D9C 40 82 00 1C */ bne lbl_8026BE58 +/* 8026BE40 00268DA0 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BE44 00268DA4 40 82 00 14 */ bne lbl_8026BE58 +/* 8026BE48 00268DA8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026BE4C 00268DAC 40 82 00 0C */ bne lbl_8026BE58 +/* 8026BE50 00268DB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026BE54 00268DB4 41 82 06 68 */ beq lbl_8026C4BC +lbl_8026BE58: +/* 8026BE58 00268DB8 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BE5C 00268DBC 38 60 00 01 */ li r3, 1 +/* 8026BE60 00268DC0 41 82 00 08 */ beq lbl_8026BE68 +/* 8026BE64 00268DC4 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE68: +/* 8026BE68 00268DC8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026BE6C 00268DCC 38 83 00 02 */ addi r4, r3, 2 +/* 8026BE70 00268DD0 38 60 00 01 */ li r3, 1 +/* 8026BE74 00268DD4 41 82 00 08 */ beq lbl_8026BE7C +/* 8026BE78 00268DD8 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE7C: +/* 8026BE7C 00268DDC 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026BE80 00268DE0 7C 84 1A 14 */ add r4, r4, r3 +/* 8026BE84 00268DE4 38 60 00 01 */ li r3, 1 +/* 8026BE88 00268DE8 41 82 00 08 */ beq lbl_8026BE90 +/* 8026BE8C 00268DEC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026BE90: +/* 8026BE90 00268DF0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026BE94 00268DF4 7C 84 1A 14 */ add r4, r4, r3 +/* 8026BE98 00268DF8 38 00 00 01 */ li r0, 1 +/* 8026BE9C 00268DFC 41 82 00 08 */ beq lbl_8026BEA4 +/* 8026BEA0 00268E00 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026BEA4: +/* 8026BEA4 00268E04 7C 84 02 14 */ add r4, r4, r0 +/* 8026BEA8 00268E08 38 60 00 A0 */ li r3, 0xa0 +/* 8026BEAC 00268E0C 54 85 04 3E */ clrlwi r5, r4, 0x10 +/* 8026BEB0 00268E10 38 80 00 00 */ li r4, 0 +/* 8026BEB4 00268E14 48 09 C6 D1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026BEB8 00268E18 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) +/* 8026BEBC 00268E1C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8026BEC0 00268E20 C0 36 00 14 */ lfs f1, 0x14(r22) +/* 8026BEC4 00268E24 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8026BEC8 00268E28 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026BECC 00268E2C 38 A0 00 00 */ li r5, 0 +/* 8026BED0 00268E30 EC 42 00 72 */ fmuls f2, f2, f1 +/* 8026BED4 00268E34 38 80 00 3F */ li r4, 0x3f +/* 8026BED8 00268E38 38 60 00 FF */ li r3, 0xff +/* 8026BEDC 00268E3C 38 00 00 01 */ li r0, 1 +/* 8026BEE0 00268E40 EC 3D 10 2A */ fadds f1, f29, f2 +/* 8026BEE4 00268E44 EC 5E 10 2A */ fadds f2, f30, f2 +/* 8026BEE8 00268E48 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026BEEC 00268E4C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8026BEF0 00268E50 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026BEF4 00268E54 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BEF8 00268E58 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BEFC 00268E5C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026BF00 00268E60 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF04 00268E64 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF08 00268E68 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) +/* 8026BF0C 00268E6C 98 66 80 00 */ stb r3, 0xCC008000@l(r6) +/* 8026BF10 00268E70 41 82 00 08 */ beq lbl_8026BF18 +/* 8026BF14 00268E74 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026BF18: +/* 8026BF18 00268E78 FC 60 E8 90 */ fmr f3, f29 +/* 8026BF1C 00268E7C 2C 00 00 00 */ cmpwi r0, 0 +/* 8026BF20 00268E80 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026BF24 00268E84 7C 03 03 78 */ mr r3, r0 +/* 8026BF28 00268E88 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026BF2C 00268E8C 38 80 00 FF */ li r4, 0xff +/* 8026BF30 00268E90 38 C0 00 00 */ li r6, 0 +/* 8026BF34 00268E94 38 A0 00 3F */ li r5, 0x3f +/* 8026BF38 00268E98 40 81 01 3C */ ble lbl_8026C074 +/* 8026BF3C 00268E9C 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8026BF40 00268EA0 7C 09 03 A6 */ mtctr r0 +/* 8026BF44 00268EA4 41 82 00 F0 */ beq lbl_8026C034 +lbl_8026BF48: +/* 8026BF48 00268EA8 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BF4C 00268EAC EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BF50 00268EB0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BF54 00268EB4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BF58 00268EB8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BF5C 00268EBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF60 00268EC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF64 00268EC4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BF68 00268EC8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF6C 00268ECC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF70 00268ED0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF74 00268ED4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BF78 00268ED8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BF7C 00268EDC C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BF80 00268EE0 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BF84 00268EE4 EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BF88 00268EE8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BF8C 00268EEC D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BF90 00268EF0 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BF94 00268EF4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF98 00268EF8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BF9C 00268EFC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BFA0 00268F00 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFA4 00268F04 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFA8 00268F08 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFAC 00268F0C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BFB0 00268F10 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BFB4 00268F14 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BFB8 00268F18 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BFBC 00268F1C EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BFC0 00268F20 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BFC4 00268F24 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026BFC8 00268F28 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026BFCC 00268F2C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFD0 00268F30 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFD4 00268F34 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026BFD8 00268F38 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFDC 00268F3C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFE0 00268F40 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026BFE4 00268F44 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026BFE8 00268F48 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026BFEC 00268F4C C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026BFF0 00268F50 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026BFF4 00268F54 EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026BFF8 00268F58 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026BFFC 00268F5C D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026C000 00268F60 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C004 00268F64 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C008 00268F68 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C00C 00268F6C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C010 00268F70 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C014 00268F74 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C018 00268F78 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C01C 00268F7C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C020 00268F80 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C024 00268F84 EC 63 00 2A */ fadds f3, f3, f0 +/* 8026C028 00268F88 42 00 FF 20 */ bdnz lbl_8026BF48 +/* 8026C02C 00268F8C 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C030 00268F90 41 82 00 44 */ beq lbl_8026C074 +lbl_8026C034: +/* 8026C034 00268F94 7C 69 03 A6 */ mtctr r3 +lbl_8026C038: +/* 8026C038 00268F98 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C03C 00268F9C EC 1E 10 2A */ fadds f0, f30, f2 +/* 8026C040 00268FA0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C044 00268FA4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) +/* 8026C048 00268FA8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C04C 00268FAC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C050 00268FB0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C054 00268FB4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C058 00268FB8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C05C 00268FBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C060 00268FC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C064 00268FC4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C068 00268FC8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C06C 00268FCC EC 63 00 2A */ fadds f3, f3, f0 +/* 8026C070 00268FD0 42 00 FF C8 */ bdnz lbl_8026C038 +lbl_8026C074: +/* 8026C074 00268FD4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026C078 00268FD8 38 60 00 01 */ li r3, 1 +/* 8026C07C 00268FDC 41 82 00 08 */ beq lbl_8026C084 +/* 8026C080 00268FE0 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C084: +/* 8026C084 00268FE4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C088 00268FE8 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C08C 00268FEC C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C090 00268FF0 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C094 00268FF4 EC 7E 00 2A */ fadds f3, f30, f0 +/* 8026C098 00268FF8 38 80 00 FF */ li r4, 0xff +/* 8026C09C 00268FFC 38 C0 00 00 */ li r6, 0 +/* 8026C0A0 00269000 38 A0 00 3F */ li r5, 0x3f +/* 8026C0A4 00269004 40 81 01 3C */ ble lbl_8026C1E0 +/* 8026C0A8 00269008 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C0AC 0026900C 7C 09 03 A6 */ mtctr r0 +/* 8026C0B0 00269010 41 82 00 F0 */ beq lbl_8026C1A0 +lbl_8026C0B4: +/* 8026C0B4 00269014 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C0B8 00269018 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C0BC 0026901C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C0C0 00269020 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C0C4 00269024 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C0C8 00269028 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0CC 0026902C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0D0 00269030 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C0D4 00269034 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0D8 00269038 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0DC 0026903C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C0E0 00269040 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C0E4 00269044 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C0E8 00269048 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C0EC 0026904C EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C0F0 00269050 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C0F4 00269054 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C0F8 00269058 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C0FC 0026905C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C100 00269060 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C104 00269064 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C108 00269068 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C10C 0026906C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C110 00269070 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C114 00269074 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C118 00269078 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C11C 0026907C C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C120 00269080 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C124 00269084 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C128 00269088 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C12C 0026908C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C130 00269090 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C134 00269094 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C138 00269098 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C13C 0026909C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C140 002690A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C144 002690A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C148 002690A8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C14C 002690AC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C150 002690B0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C154 002690B4 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C158 002690B8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C15C 002690BC EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C160 002690C0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C164 002690C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C168 002690C8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C16C 002690CC D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C170 002690D0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C174 002690D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C178 002690D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C17C 002690DC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C180 002690E0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C184 002690E4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C188 002690E8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C18C 002690EC C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C190 002690F0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C194 002690F4 42 00 FF 20 */ bdnz lbl_8026C0B4 +/* 8026C198 002690F8 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C19C 002690FC 41 82 00 44 */ beq lbl_8026C1E0 +lbl_8026C1A0: +/* 8026C1A0 00269100 7C 69 03 A6 */ mtctr r3 +lbl_8026C1A4: +/* 8026C1A4 00269104 C0 56 00 14 */ lfs f2, 0x14(r22) +/* 8026C1A8 00269108 EC 5D 10 2A */ fadds f2, f29, f2 +/* 8026C1AC 0026910C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C1B0 00269110 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026C1B4 00269114 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C1B8 00269118 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1BC 0026911C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1C0 00269120 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C1C4 00269124 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1C8 00269128 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1CC 0026912C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C1D0 00269130 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C1D4 00269134 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C1D8 00269138 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026C1DC 0026913C 42 00 FF C8 */ bdnz lbl_8026C1A4 +lbl_8026C1E0: +/* 8026C1E0 00269140 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8026C1E4 00269144 38 60 00 01 */ li r3, 1 +/* 8026C1E8 00269148 41 82 00 08 */ beq lbl_8026C1F0 +/* 8026C1EC 0026914C 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C1F0: +/* 8026C1F0 00269150 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C1F4 00269154 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C1F8 00269158 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C1FC 0026915C 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C200 00269160 EC 5D 00 2A */ fadds f2, f29, f0 +/* 8026C204 00269164 38 A0 00 00 */ li r5, 0 +/* 8026C208 00269168 38 80 00 FF */ li r4, 0xff +/* 8026C20C 0026916C 38 C0 00 3F */ li r6, 0x3f +/* 8026C210 00269170 40 81 01 14 */ ble lbl_8026C324 +/* 8026C214 00269174 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C218 00269178 7C 09 03 A6 */ mtctr r0 +/* 8026C21C 0026917C 41 82 00 D0 */ beq lbl_8026C2EC +lbl_8026C220: +/* 8026C220 00269180 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C224 00269184 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C228 00269188 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C22C 0026918C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C230 00269190 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C234 00269194 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C238 00269198 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C23C 0026919C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C240 002691A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C244 002691A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C248 002691A8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C24C 002691AC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C250 002691B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C254 002691B4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C258 002691B8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C25C 002691BC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C260 002691C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C264 002691C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C268 002691C8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C26C 002691CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C270 002691D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C274 002691D4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C278 002691D8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C27C 002691DC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C280 002691E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C284 002691E4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C288 002691E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C28C 002691EC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C290 002691F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C294 002691F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C298 002691F8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C29C 002691FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2A0 00269200 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2A4 00269204 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C2A8 00269208 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C2AC 0026920C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C2B0 00269210 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C2B4 00269214 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C2B8 00269218 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C2BC 0026921C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2C0 00269220 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2C4 00269224 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C2C8 00269228 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2CC 0026922C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2D0 00269230 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C2D4 00269234 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C2D8 00269238 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C2DC 0026923C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C2E0 00269240 42 00 FF 40 */ bdnz lbl_8026C220 +/* 8026C2E4 00269244 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C2E8 00269248 41 82 00 3C */ beq lbl_8026C324 +lbl_8026C2EC: +/* 8026C2EC 0026924C 7C 69 03 A6 */ mtctr r3 +lbl_8026C2F0: +/* 8026C2F0 00269250 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C2F4 00269254 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) +/* 8026C2F8 00269258 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C2FC 0026925C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C300 00269260 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C304 00269264 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C308 00269268 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C30C 0026926C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C310 00269270 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C314 00269274 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C318 00269278 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C31C 0026927C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026C320 00269280 42 00 FF D0 */ bdnz lbl_8026C2F0 +lbl_8026C324: +/* 8026C324 00269284 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8026C328 00269288 38 60 00 01 */ li r3, 1 +/* 8026C32C 0026928C 41 82 00 08 */ beq lbl_8026C334 +/* 8026C330 00269290 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +lbl_8026C334: +/* 8026C334 00269294 FC 40 F0 90 */ fmr f2, f30 +/* 8026C338 00269298 2C 03 00 00 */ cmpwi r3, 0 +/* 8026C33C 0026929C C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C340 002692A0 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026C344 002692A4 38 A0 00 00 */ li r5, 0 +/* 8026C348 002692A8 38 80 00 FF */ li r4, 0xff +/* 8026C34C 002692AC 38 C0 00 3F */ li r6, 0x3f +/* 8026C350 002692B0 40 81 01 14 */ ble lbl_8026C464 +/* 8026C354 002692B4 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f +/* 8026C358 002692B8 7C 09 03 A6 */ mtctr r0 +/* 8026C35C 002692BC 41 82 00 D0 */ beq lbl_8026C42C +lbl_8026C360: +/* 8026C360 002692C0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C364 002692C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C368 002692C8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C36C 002692CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C370 002692D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C374 002692D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C378 002692D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C37C 002692DC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C380 002692E0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C384 002692E4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C388 002692E8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C38C 002692EC EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C390 002692F0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C394 002692F4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C398 002692F8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C39C 002692FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3A0 00269300 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3A4 00269304 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C3A8 00269308 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3AC 0026930C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3B0 00269310 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3B4 00269314 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C3B8 00269318 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C3BC 0026931C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C3C0 00269320 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C3C4 00269324 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C3C8 00269328 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C3CC 0026932C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3D0 00269330 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3D4 00269334 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C3D8 00269338 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3DC 0026933C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3E0 00269340 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C3E4 00269344 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C3E8 00269348 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C3EC 0026934C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C3F0 00269350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C3F4 00269354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C3F8 00269358 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C3FC 0026935C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C400 00269360 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C404 00269364 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C408 00269368 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C40C 0026936C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C410 00269370 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C414 00269374 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C418 00269378 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C41C 0026937C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C420 00269380 42 00 FF 40 */ bdnz lbl_8026C360 +/* 8026C424 00269384 70 63 00 03 */ andi. r3, r3, 3 +/* 8026C428 00269388 41 82 00 3C */ beq lbl_8026C464 +lbl_8026C42C: +/* 8026C42C 0026938C 7C 69 03 A6 */ mtctr r3 +lbl_8026C430: +/* 8026C430 00269390 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026C434 00269394 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026C438 00269398 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026C43C 0026939C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C440 002693A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C444 002693A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026C448 002693A8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C44C 002693AC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C450 002693B0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026C454 002693B4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026C458 002693B8 C0 16 00 18 */ lfs f0, 0x18(r22) +/* 8026C45C 002693BC EC 42 00 2A */ fadds f2, f2, f0 +/* 8026C460 002693C0 42 00 FF D0 */ bdnz lbl_8026C430 +lbl_8026C464: +/* 8026C464 002693C4 C0 36 00 14 */ lfs f1, 0x14(r22) +/* 8026C468 002693C8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026C46C 002693CC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026C470 002693D0 38 80 00 00 */ li r4, 0 +/* 8026C474 002693D4 EC 3E 08 2A */ fadds f1, f30, f1 +/* 8026C478 002693D8 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C47C 002693DC 38 60 00 3F */ li r3, 0x3f +/* 8026C480 002693E0 38 00 00 FF */ li r0, 0xff +/* 8026C484 002693E4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C488 002693E8 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C48C 002693EC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C490 002693F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C494 002693F4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C498 002693F8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C49C 002693FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C4A0 00269400 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C4A4 00269404 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C4A8 00269408 48 09 C0 D9 */ bl End__3CGXFv +/* 8026C4AC 0026940C C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C4B0 00269410 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C4B4 00269414 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C4B8 00269418 48 00 01 28 */ b lbl_8026C5E0 +lbl_8026C4BC: +/* 8026C4BC 0026941C 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C4C0 00269420 48 00 00 08 */ b lbl_8026C4C8 +lbl_8026C4C4: +/* 8026C4C4 00269424 3B FF 00 01 */ addi r31, r31, 1 +lbl_8026C4C8: +/* 8026C4C8 00269428 7C 1F 20 00 */ cmpw r31, r4 +/* 8026C4CC 0026942C 40 80 00 20 */ bge lbl_8026C4EC +/* 8026C4D0 00269430 28 06 00 00 */ cmplwi r6, 0 +/* 8026C4D4 00269434 41 82 FF F0 */ beq lbl_8026C4C4 +/* 8026C4D8 00269438 41 82 00 14 */ beq lbl_8026C4EC +/* 8026C4DC 0026943C 7C 06 FA 14 */ add r0, r6, r31 +/* 8026C4E0 00269440 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026C4E4 00269444 7C 00 07 75 */ extsb. r0, r0 +/* 8026C4E8 00269448 40 82 FF DC */ bne lbl_8026C4C4 +lbl_8026C4EC: +/* 8026C4EC 0026944C 7C 98 F8 50 */ subf r4, r24, r31 +/* 8026C4F0 00269450 38 60 00 98 */ li r3, 0x98 +/* 8026C4F4 00269454 3A E4 00 01 */ addi r23, r4, 1 +/* 8026C4F8 00269458 38 80 00 00 */ li r4, 0 +/* 8026C4FC 0026945C 56 E5 0C 3C */ rlwinm r5, r23, 1, 0x10, 0x1e +/* 8026C500 00269460 48 09 C0 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C504 00269464 7E E6 BB 78 */ mr r6, r23 +/* 8026C508 00269468 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C50C 0026946C 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8026C510 00269470 7E E9 03 A6 */ mtctr r23 +/* 8026C514 00269474 2C 17 00 00 */ cmpwi r23, 0 +/* 8026C518 00269478 40 81 00 78 */ ble lbl_8026C590 +lbl_8026C51C: +/* 8026C51C 0026947C D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C520 00269480 38 80 00 00 */ li r4, 0 +/* 8026C524 00269484 38 60 00 3F */ li r3, 0x3f +/* 8026C528 00269488 38 00 00 FF */ li r0, 0xff +/* 8026C52C 0026948C D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C530 00269490 38 C6 FF FF */ addi r6, r6, -1 +/* 8026C534 00269494 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C538 00269498 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C53C 0026949C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C540 002694A0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C544 002694A4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C548 002694A8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C54C 002694AC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C550 002694B0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C554 002694B4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C558 002694B8 EC 1E 00 2A */ fadds f0, f30, f0 +/* 8026C55C 002694BC D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C560 002694C0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C564 002694C4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C568 002694C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C56C 002694CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C570 002694D0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C574 002694D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C578 002694D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C57C 002694DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C580 002694E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C584 002694E4 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C588 002694E8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C58C 002694EC 42 00 FF 90 */ bdnz lbl_8026C51C +lbl_8026C590: +/* 8026C590 002694F0 48 09 BF F1 */ bl End__3CGXFv +/* 8026C594 002694F4 3B FF 00 01 */ addi r31, r31, 1 +/* 8026C598 002694F8 7C 1F E8 00 */ cmpw r31, r29 +/* 8026C59C 002694FC 40 82 00 44 */ bne lbl_8026C5E0 +/* 8026C5A0 00269500 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5A4 00269504 3B FF FF FF */ addi r31, r31, -1 +/* 8026C5A8 00269508 EF BD 00 28 */ fsubs f29, f29, f0 +/* 8026C5AC 0026950C 48 00 00 34 */ b lbl_8026C5E0 +lbl_8026C5B0: +/* 8026C5B0 00269510 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5B4 00269514 3B F8 00 01 */ addi r31, r24, 1 +/* 8026C5B8 00269518 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C5BC 0026951C 48 00 00 0C */ b lbl_8026C5C8 +lbl_8026C5C0: +/* 8026C5C0 00269520 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C5C4 00269524 3B FF 00 01 */ addi r31, r31, 1 +lbl_8026C5C8: +/* 8026C5C8 00269528 7C 1F E8 00 */ cmpw r31, r29 +/* 8026C5CC 0026952C 40 80 00 14 */ bge lbl_8026C5E0 +/* 8026C5D0 00269530 7C 06 FA 14 */ add r0, r6, r31 +/* 8026C5D4 00269534 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8026C5D8 00269538 7C 00 07 75 */ extsb. r0, r0 +/* 8026C5DC 0026953C 41 82 FF E4 */ beq lbl_8026C5C0 +lbl_8026C5E0: +/* 8026C5E0 00269540 7F F8 FB 78 */ mr r24, r31 +lbl_8026C5E4: +/* 8026C5E4 00269544 7C 18 E8 00 */ cmpw r24, r29 +/* 8026C5E8 00269548 41 80 F8 18 */ blt lbl_8026BE00 +/* 8026C5EC 0026954C C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C5F0 00269550 3B 7B FF FF */ addi r27, r27, -1 +/* 8026C5F4 00269554 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026C5F8 00269558 EF DE 00 2A */ fadds f30, f30, f0 +/* 8026C5FC 0026955C 7F 9C 02 14 */ add r28, r28, r0 +lbl_8026C600: +/* 8026C600 00269560 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026C604 00269564 41 81 F7 D8 */ bgt lbl_8026BDDC +/* 8026C608 00269568 48 00 03 4C */ b lbl_8026C954 +lbl_8026C60C: +/* 8026C60C 0026956C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026C610 00269570 40 82 00 10 */ bne lbl_8026C620 +/* 8026C614 00269574 80 16 00 30 */ lwz r0, 0x30(r22) +/* 8026C618 00269578 28 00 00 00 */ cmplwi r0, 0 +/* 8026C61C 0026957C 40 82 01 30 */ bne lbl_8026C74C +lbl_8026C620: +/* 8026C620 00269580 38 60 00 98 */ li r3, 0x98 +/* 8026C624 00269584 38 80 00 00 */ li r4, 0 +/* 8026C628 00269588 38 A0 00 04 */ li r5, 4 +/* 8026C62C 0026958C 48 09 BF 59 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C630 00269590 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026C634 00269594 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026C638 00269598 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) +/* 8026C63C 0026959C 38 80 00 00 */ li r4, 0 +/* 8026C640 002695A0 38 60 00 3F */ li r3, 0x3f +/* 8026C644 002695A4 38 00 00 FF */ li r0, 0xff +/* 8026C648 002695A8 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C64C 002695AC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C650 002695B0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C654 002695B4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C658 002695B8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C65C 002695BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C660 002695C0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C664 002695C4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C668 002695C8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C66C 002695CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C670 002695D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C674 002695D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C678 002695D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C67C 002695DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C680 002695E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C684 002695E4 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) +/* 8026C688 002695E8 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C68C 002695EC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C690 002695F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C694 002695F4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C698 002695F8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C69C 002695FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6A0 00269600 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6A4 00269604 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6A8 00269608 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6AC 0026960C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B0 00269610 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B4 00269614 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6B8 00269618 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6BC 0026961C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6C0 00269620 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C6C4 00269624 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C6C8 00269628 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C6CC 0026962C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C6D0 00269630 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6D4 00269634 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6D8 00269638 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6DC 0026963C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6E0 00269640 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6E4 00269644 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6E8 00269648 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C6EC 0026964C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F0 00269650 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F4 00269654 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6F8 00269658 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C6FC 0026965C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C700 00269660 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C704 00269664 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C708 00269668 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) +/* 8026C70C 0026966C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C710 00269670 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C714 00269674 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C718 00269678 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C71C 0026967C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C720 00269680 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C724 00269684 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C728 00269688 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C72C 0026968C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C730 00269690 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C734 00269694 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C738 00269698 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C73C 0026969C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C740 002696A0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C744 002696A4 48 09 BE 3D */ bl End__3CGXFv +/* 8026C748 002696A8 48 00 02 0C */ b lbl_8026C954 +lbl_8026C74C: +/* 8026C74C 002696AC 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) +/* 8026C750 002696B0 38 69 FF FD */ addi r3, r9, -3 +/* 8026C754 002696B4 38 07 FF FD */ addi r0, r7, -3 +/* 8026C758 002696B8 A8 B6 00 2E */ lha r5, 0x2e(r22) +/* 8026C75C 002696BC 7C E3 43 D6 */ divw r7, r3, r8 +/* 8026C760 002696C0 A8 96 00 2A */ lha r4, 0x2a(r22) +/* 8026C764 002696C4 A8 D6 00 28 */ lha r6, 0x28(r22) +/* 8026C768 002696C8 7C 60 43 D6 */ divw r3, r0, r8 +/* 8026C76C 002696CC 3A E7 00 01 */ addi r23, r7, 1 +/* 8026C770 002696D0 7C 05 21 D6 */ mullw r0, r5, r4 +/* 8026C774 002696D4 3B 23 00 01 */ addi r25, r3, 1 +/* 8026C778 002696D8 7F 06 02 14 */ add r24, r6, r0 +/* 8026C77C 002696DC 48 00 01 80 */ b lbl_8026C8FC +lbl_8026C780: +/* 8026C780 002696E0 FF A0 F8 90 */ fmr f29, f31 +/* 8026C784 002696E4 38 80 00 00 */ li r4, 0 +/* 8026C788 002696E8 48 00 01 58 */ b lbl_8026C8E0 +lbl_8026C78C: +/* 8026C78C 002696EC 80 16 00 30 */ lwz r0, 0x30(r22) +/* 8026C790 002696F0 7C 78 02 14 */ add r3, r24, r0 +/* 8026C794 002696F4 7C 03 20 AE */ lbzx r0, r3, r4 +/* 8026C798 002696F8 7C 00 07 75 */ extsb. r0, r0 +/* 8026C79C 002696FC 41 82 01 0C */ beq lbl_8026C8A8 +/* 8026C7A0 00269700 3B 44 00 01 */ addi r26, r4, 1 +/* 8026C7A4 00269704 7C 63 D2 14 */ add r3, r3, r26 +/* 8026C7A8 00269708 48 00 00 0C */ b lbl_8026C7B4 +lbl_8026C7AC: +/* 8026C7AC 0026970C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C7B0 00269710 38 63 00 01 */ addi r3, r3, 1 +lbl_8026C7B4: +/* 8026C7B4 00269714 7C 1A B8 00 */ cmpw r26, r23 +/* 8026C7B8 00269718 40 80 00 10 */ bge lbl_8026C7C8 +/* 8026C7BC 0026971C 88 03 00 00 */ lbz r0, 0(r3) +/* 8026C7C0 00269720 7C 00 07 75 */ extsb. r0, r0 +/* 8026C7C4 00269724 40 82 FF E8 */ bne lbl_8026C7AC +lbl_8026C7C8: +/* 8026C7C8 00269728 7C 84 D0 50 */ subf r4, r4, r26 +/* 8026C7CC 0026972C 38 60 00 98 */ li r3, 0x98 +/* 8026C7D0 00269730 3B 64 00 01 */ addi r27, r4, 1 +/* 8026C7D4 00269734 38 80 00 00 */ li r4, 0 +/* 8026C7D8 00269738 57 65 0C 3C */ rlwinm r5, r27, 1, 0x10, 0x1e +/* 8026C7DC 0026973C 48 09 BD A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026C7E0 00269740 7F 66 DB 78 */ mr r6, r27 +/* 8026C7E4 00269744 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) +/* 8026C7E8 00269748 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8026C7EC 0026974C 7F 69 03 A6 */ mtctr r27 +/* 8026C7F0 00269750 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026C7F4 00269754 40 81 00 A8 */ ble lbl_8026C89C +lbl_8026C7F8: +/* 8026C7F8 00269758 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C7FC 0026975C 38 80 00 00 */ li r4, 0 +/* 8026C800 00269760 38 60 00 3F */ li r3, 0x3f +/* 8026C804 00269764 38 00 00 FF */ li r0, 0xff +/* 8026C808 00269768 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) +/* 8026C80C 0026976C 38 C6 FF FF */ addi r6, r6, -1 +/* 8026C810 00269770 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C814 00269774 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C818 00269778 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C81C 0026977C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C820 00269780 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C824 00269784 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C828 00269788 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C82C 0026978C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C830 00269790 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C834 00269794 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C838 00269798 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C83C 0026979C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C840 002697A0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C844 002697A4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C848 002697A8 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C84C 002697AC EC 1C 00 2A */ fadds f0, f28, f0 +/* 8026C850 002697B0 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) +/* 8026C854 002697B4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026C858 002697B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026C85C 002697BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C860 002697C0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C864 002697C4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C868 002697C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C86C 002697CC 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C870 002697D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C874 002697D4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026C878 002697D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C87C 002697DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C880 002697E0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C884 002697E4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C888 002697E8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) +/* 8026C88C 002697EC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026C890 002697F0 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C894 002697F4 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C898 002697F8 42 00 FF 60 */ bdnz lbl_8026C7F8 +lbl_8026C89C: +/* 8026C89C 002697FC 48 09 BC E5 */ bl End__3CGXFv +/* 8026C8A0 00269800 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C8A4 00269804 48 00 00 38 */ b lbl_8026C8DC +lbl_8026C8A8: +/* 8026C8A8 00269808 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C8AC 0026980C 3B 44 00 01 */ addi r26, r4, 1 +/* 8026C8B0 00269810 7C 63 D2 14 */ add r3, r3, r26 +/* 8026C8B4 00269814 EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C8B8 00269818 48 00 00 10 */ b lbl_8026C8C8 +lbl_8026C8BC: +/* 8026C8BC 0026981C EF BD 00 2A */ fadds f29, f29, f0 +/* 8026C8C0 00269820 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026C8C4 00269824 38 63 00 01 */ addi r3, r3, 1 +lbl_8026C8C8: +/* 8026C8C8 00269828 7C 1A B8 00 */ cmpw r26, r23 +/* 8026C8CC 0026982C 40 80 00 10 */ bge lbl_8026C8DC +/* 8026C8D0 00269830 88 03 00 00 */ lbz r0, 0(r3) +/* 8026C8D4 00269834 7C 00 07 75 */ extsb. r0, r0 +/* 8026C8D8 00269838 41 82 FF E4 */ beq lbl_8026C8BC +lbl_8026C8DC: +/* 8026C8DC 0026983C 7F 44 D3 78 */ mr r4, r26 +lbl_8026C8E0: +/* 8026C8E0 00269840 7C 04 B8 00 */ cmpw r4, r23 +/* 8026C8E4 00269844 41 80 FE A8 */ blt lbl_8026C78C +/* 8026C8E8 00269848 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C8EC 0026984C 3B 39 FF FF */ addi r25, r25, -1 +/* 8026C8F0 00269850 A8 16 00 2A */ lha r0, 0x2a(r22) +/* 8026C8F4 00269854 EF 9C 00 2A */ fadds f28, f28, f0 +/* 8026C8F8 00269858 7F 18 02 14 */ add r24, r24, r0 +lbl_8026C8FC: +/* 8026C8FC 0026985C 2C 19 00 00 */ cmpwi r25, 0 +/* 8026C900 00269860 41 81 FE 80 */ bgt lbl_8026C780 +/* 8026C904 00269864 48 00 00 50 */ b lbl_8026C954 +lbl_8026C908: +/* 8026C908 00269868 C3 96 00 08 */ lfs f28, 8(r22) +/* 8026C90C 0026986C 3B 00 00 01 */ li r24, 1 +/* 8026C910 00269870 3E E0 E0 00 */ lis r23, 0xe000 +/* 8026C914 00269874 48 00 00 2C */ b lbl_8026C940 +lbl_8026C918: +/* 8026C918 00269878 FC 20 E0 90 */ fmr f1, f28 +/* 8026C91C 0026987C 7F 05 C3 78 */ mr r5, r24 +/* 8026C920 00269880 7E C6 B3 78 */ mr r6, r22 +/* 8026C924 00269884 38 77 00 A0 */ addi r3, r23, 0xa0 +/* 8026C928 00269888 38 97 00 40 */ addi r4, r23, 0x40 +/* 8026C92C 0026988C 48 00 0B C5 */ bl RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026C930 00269890 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8026C934 00269894 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026C938 00269898 EF 9C 00 2A */ fadds f28, f28, f0 +/* 8026C93C 0026989C 7F 18 02 14 */ add r24, r24, r0 +lbl_8026C940: +/* 8026C940 002698A0 88 16 00 01 */ lbz r0, 1(r22) +/* 8026C944 002698A4 7C 03 07 74 */ extsb r3, r0 +/* 8026C948 002698A8 38 03 FF FE */ addi r0, r3, -2 +/* 8026C94C 002698AC 7C 18 00 00 */ cmpw r24, r0 +/* 8026C950 002698B0 41 80 FF C8 */ blt lbl_8026C918 +lbl_8026C954: +/* 8026C954 002698B4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026C958 002698B8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026C95C 002698BC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026C960 002698C0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026C964 002698C4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026C968 002698C8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026C96C 002698CC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026C970 002698D0 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026C974 002698D4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 8026C978 002698D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026C97C 002698DC 7C 08 03 A6 */ mtlr r0 +/* 8026C980 002698E0 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026C984 002698E4 4E 80 00 20 */ blr + +.global ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo +ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026C988 002698E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026C98C 002698EC 7C 08 02 A6 */ mflr r0 +/* 8026C990 002698F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026C994 002698F4 BF 41 00 08 */ stmw r26, 8(r1) +/* 8026C998 002698F8 7C 7A 1B 78 */ mr r26, r3 +/* 8026C99C 002698FC 7C 9B 23 78 */ mr r27, r4 +/* 8026C9A0 00269900 7C BF 2B 78 */ mr r31, r5 +/* 8026C9A4 00269904 7C DC 33 78 */ mr r28, r6 +/* 8026C9A8 00269908 7C FD 3B 78 */ mr r29, r7 +/* 8026C9AC 0026990C 38 60 00 00 */ li r3, 0 +/* 8026C9B0 00269910 48 11 25 15 */ bl LCQueueWait +/* 8026C9B4 00269914 3B DA 00 04 */ addi r30, r26, 4 +/* 8026C9B8 00269918 48 00 00 20 */ b lbl_8026C9D8 +lbl_8026C9BC: +/* 8026C9BC 0026991C 7F C3 F3 78 */ mr r3, r30 +/* 8026C9C0 00269920 7F 64 DB 78 */ mr r4, r27 +/* 8026C9C4 00269924 7F E5 FB 78 */ mr r5, r31 +/* 8026C9C8 00269928 7F 86 E3 78 */ mr r6, r28 +/* 8026C9CC 0026992C 7F A7 EB 78 */ mr r7, r29 +/* 8026C9D0 00269930 48 00 02 E1 */ bl ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof +/* 8026C9D4 00269934 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_8026C9D8: +/* 8026C9D8 00269938 80 1A 00 00 */ lwz r0, 0(r26) +/* 8026C9DC 0026993C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8026C9E0 00269940 7C 7A 02 14 */ add r3, r26, r0 +/* 8026C9E4 00269944 38 03 00 04 */ addi r0, r3, 4 +/* 8026C9E8 00269948 7C 1E 00 40 */ cmplw r30, r0 +/* 8026C9EC 0026994C 40 82 FF D0 */ bne lbl_8026C9BC +/* 8026C9F0 00269950 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026C9F4 00269954 38 9F 00 01 */ addi r4, r31, 1 +/* 8026C9F8 00269958 2C 00 00 00 */ cmpwi r0, 0 +/* 8026C9FC 0026995C 7C 03 03 78 */ mr r3, r0 +/* 8026CA00 00269960 41 82 00 98 */ beq lbl_8026CA98 +/* 8026CA04 00269964 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CA08 00269968 7C 09 03 A6 */ mtctr r0 +/* 8026CA0C 0026996C 41 82 00 74 */ beq lbl_8026CA80 +lbl_8026CA10: +/* 8026CA10 00269970 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CA14 00269974 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA18 00269978 98 04 00 00 */ stb r0, 0(r4) +/* 8026CA1C 0026997C 88 04 00 01 */ lbz r0, 1(r4) +/* 8026CA20 00269980 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA24 00269984 98 04 00 01 */ stb r0, 1(r4) +/* 8026CA28 00269988 88 04 00 02 */ lbz r0, 2(r4) +/* 8026CA2C 0026998C 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA30 00269990 98 04 00 02 */ stb r0, 2(r4) +/* 8026CA34 00269994 88 04 00 03 */ lbz r0, 3(r4) +/* 8026CA38 00269998 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA3C 0026999C 98 04 00 03 */ stb r0, 3(r4) +/* 8026CA40 002699A0 88 04 00 04 */ lbz r0, 4(r4) +/* 8026CA44 002699A4 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA48 002699A8 98 04 00 04 */ stb r0, 4(r4) +/* 8026CA4C 002699AC 88 04 00 05 */ lbz r0, 5(r4) +/* 8026CA50 002699B0 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA54 002699B4 98 04 00 05 */ stb r0, 5(r4) +/* 8026CA58 002699B8 88 04 00 06 */ lbz r0, 6(r4) +/* 8026CA5C 002699BC 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA60 002699C0 98 04 00 06 */ stb r0, 6(r4) +/* 8026CA64 002699C4 88 04 00 07 */ lbz r0, 7(r4) +/* 8026CA68 002699C8 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA6C 002699CC 98 04 00 07 */ stb r0, 7(r4) +/* 8026CA70 002699D0 38 84 00 08 */ addi r4, r4, 8 +/* 8026CA74 002699D4 42 00 FF 9C */ bdnz lbl_8026CA10 +/* 8026CA78 002699D8 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CA7C 002699DC 41 82 00 1C */ beq lbl_8026CA98 +lbl_8026CA80: +/* 8026CA80 002699E0 7C 69 03 A6 */ mtctr r3 +lbl_8026CA84: +/* 8026CA84 002699E4 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CA88 002699E8 60 00 00 01 */ ori r0, r0, 1 +/* 8026CA8C 002699EC 98 04 00 00 */ stb r0, 0(r4) +/* 8026CA90 002699F0 38 84 00 01 */ addi r4, r4, 1 +/* 8026CA94 002699F4 42 00 FF F0 */ bdnz lbl_8026CA84 +lbl_8026CA98: +/* 8026CA98 002699F8 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026CA9C 002699FC 38 9F 00 09 */ addi r4, r31, 9 +/* 8026CAA0 00269A00 2C 00 00 00 */ cmpwi r0, 0 +/* 8026CAA4 00269A04 7C 03 03 78 */ mr r3, r0 +/* 8026CAA8 00269A08 41 82 00 98 */ beq lbl_8026CB40 +/* 8026CAAC 00269A0C 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CAB0 00269A10 7C 09 03 A6 */ mtctr r0 +/* 8026CAB4 00269A14 41 82 00 74 */ beq lbl_8026CB28 +lbl_8026CAB8: +/* 8026CAB8 00269A18 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CABC 00269A1C 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAC0 00269A20 98 04 00 00 */ stb r0, 0(r4) +/* 8026CAC4 00269A24 88 04 00 09 */ lbz r0, 9(r4) +/* 8026CAC8 00269A28 60 00 00 08 */ ori r0, r0, 8 +/* 8026CACC 00269A2C 98 04 00 09 */ stb r0, 9(r4) +/* 8026CAD0 00269A30 88 04 00 12 */ lbz r0, 0x12(r4) +/* 8026CAD4 00269A34 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAD8 00269A38 98 04 00 12 */ stb r0, 0x12(r4) +/* 8026CADC 00269A3C 88 04 00 1B */ lbz r0, 0x1b(r4) +/* 8026CAE0 00269A40 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAE4 00269A44 98 04 00 1B */ stb r0, 0x1b(r4) +/* 8026CAE8 00269A48 88 04 00 24 */ lbz r0, 0x24(r4) +/* 8026CAEC 00269A4C 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAF0 00269A50 98 04 00 24 */ stb r0, 0x24(r4) +/* 8026CAF4 00269A54 88 04 00 2D */ lbz r0, 0x2d(r4) +/* 8026CAF8 00269A58 60 00 00 08 */ ori r0, r0, 8 +/* 8026CAFC 00269A5C 98 04 00 2D */ stb r0, 0x2d(r4) +/* 8026CB00 00269A60 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026CB04 00269A64 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB08 00269A68 98 04 00 36 */ stb r0, 0x36(r4) +/* 8026CB0C 00269A6C 88 04 00 3F */ lbz r0, 0x3f(r4) +/* 8026CB10 00269A70 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB14 00269A74 98 04 00 3F */ stb r0, 0x3f(r4) +/* 8026CB18 00269A78 38 84 00 48 */ addi r4, r4, 0x48 +/* 8026CB1C 00269A7C 42 00 FF 9C */ bdnz lbl_8026CAB8 +/* 8026CB20 00269A80 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CB24 00269A84 41 82 00 1C */ beq lbl_8026CB40 +lbl_8026CB28: +/* 8026CB28 00269A88 7C 69 03 A6 */ mtctr r3 +lbl_8026CB2C: +/* 8026CB2C 00269A8C 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CB30 00269A90 60 00 00 08 */ ori r0, r0, 8 +/* 8026CB34 00269A94 98 04 00 00 */ stb r0, 0(r4) +/* 8026CB38 00269A98 38 84 00 09 */ addi r4, r4, 9 +/* 8026CB3C 00269A9C 42 00 FF F0 */ bdnz lbl_8026CB2C +lbl_8026CB40: +/* 8026CB40 00269AA0 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) +/* 8026CB44 00269AA4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026CB48 00269AA8 7C 80 FA 14 */ add r4, r0, r31 +/* 8026CB4C 00269AAC 7C 03 03 78 */ mr r3, r0 +/* 8026CB50 00269AB0 38 84 00 0A */ addi r4, r4, 0xa +/* 8026CB54 00269AB4 41 82 00 98 */ beq lbl_8026CBEC +/* 8026CB58 00269AB8 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026CB5C 00269ABC 7C 09 03 A6 */ mtctr r0 +/* 8026CB60 00269AC0 41 82 00 74 */ beq lbl_8026CBD4 +lbl_8026CB64: +/* 8026CB64 00269AC4 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CB68 00269AC8 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB6C 00269ACC 98 04 00 00 */ stb r0, 0(r4) +/* 8026CB70 00269AD0 88 04 00 09 */ lbz r0, 9(r4) +/* 8026CB74 00269AD4 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB78 00269AD8 98 04 00 09 */ stb r0, 9(r4) +/* 8026CB7C 00269ADC 88 04 00 12 */ lbz r0, 0x12(r4) +/* 8026CB80 00269AE0 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB84 00269AE4 98 04 00 12 */ stb r0, 0x12(r4) +/* 8026CB88 00269AE8 88 04 00 1B */ lbz r0, 0x1b(r4) +/* 8026CB8C 00269AEC 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB90 00269AF0 98 04 00 1B */ stb r0, 0x1b(r4) +/* 8026CB94 00269AF4 88 04 00 24 */ lbz r0, 0x24(r4) +/* 8026CB98 00269AF8 60 00 00 04 */ ori r0, r0, 4 +/* 8026CB9C 00269AFC 98 04 00 24 */ stb r0, 0x24(r4) +/* 8026CBA0 00269B00 88 04 00 2D */ lbz r0, 0x2d(r4) +/* 8026CBA4 00269B04 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBA8 00269B08 98 04 00 2D */ stb r0, 0x2d(r4) +/* 8026CBAC 00269B0C 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026CBB0 00269B10 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBB4 00269B14 98 04 00 36 */ stb r0, 0x36(r4) +/* 8026CBB8 00269B18 88 04 00 3F */ lbz r0, 0x3f(r4) +/* 8026CBBC 00269B1C 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBC0 00269B20 98 04 00 3F */ stb r0, 0x3f(r4) +/* 8026CBC4 00269B24 38 84 00 48 */ addi r4, r4, 0x48 +/* 8026CBC8 00269B28 42 00 FF 9C */ bdnz lbl_8026CB64 +/* 8026CBCC 00269B2C 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CBD0 00269B30 41 82 00 1C */ beq lbl_8026CBEC +lbl_8026CBD4: +/* 8026CBD4 00269B34 7C 69 03 A6 */ mtctr r3 +lbl_8026CBD8: +/* 8026CBD8 00269B38 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CBDC 00269B3C 60 00 00 04 */ ori r0, r0, 4 +/* 8026CBE0 00269B40 98 04 00 00 */ stb r0, 0(r4) +/* 8026CBE4 00269B44 38 84 00 09 */ addi r4, r4, 9 +/* 8026CBE8 00269B48 42 00 FF F0 */ bdnz lbl_8026CBD8 +lbl_8026CBEC: +/* 8026CBEC 00269B4C 80 6D A5 70 */ lwz r3, lbl_805A9130@sda21(r13) +/* 8026CBF0 00269B50 38 03 00 01 */ addi r0, r3, 1 +/* 8026CBF4 00269B54 2C 03 00 00 */ cmpwi r3, 0 +/* 8026CBF8 00269B58 1C 80 00 09 */ mulli r4, r0, 9 +/* 8026CBFC 00269B5C 38 84 00 01 */ addi r4, r4, 1 +/* 8026CC00 00269B60 7C 9F 22 14 */ add r4, r31, r4 +/* 8026CC04 00269B64 41 82 00 98 */ beq lbl_8026CC9C +/* 8026CC08 00269B68 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8026CC0C 00269B6C 7C 09 03 A6 */ mtctr r0 +/* 8026CC10 00269B70 41 82 00 74 */ beq lbl_8026CC84 +lbl_8026CC14: +/* 8026CC14 00269B74 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CC18 00269B78 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC1C 00269B7C 98 04 00 00 */ stb r0, 0(r4) +/* 8026CC20 00269B80 88 04 00 01 */ lbz r0, 1(r4) +/* 8026CC24 00269B84 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC28 00269B88 98 04 00 01 */ stb r0, 1(r4) +/* 8026CC2C 00269B8C 88 04 00 02 */ lbz r0, 2(r4) +/* 8026CC30 00269B90 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC34 00269B94 98 04 00 02 */ stb r0, 2(r4) +/* 8026CC38 00269B98 88 04 00 03 */ lbz r0, 3(r4) +/* 8026CC3C 00269B9C 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC40 00269BA0 98 04 00 03 */ stb r0, 3(r4) +/* 8026CC44 00269BA4 88 04 00 04 */ lbz r0, 4(r4) +/* 8026CC48 00269BA8 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC4C 00269BAC 98 04 00 04 */ stb r0, 4(r4) +/* 8026CC50 00269BB0 88 04 00 05 */ lbz r0, 5(r4) +/* 8026CC54 00269BB4 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC58 00269BB8 98 04 00 05 */ stb r0, 5(r4) +/* 8026CC5C 00269BBC 88 04 00 06 */ lbz r0, 6(r4) +/* 8026CC60 00269BC0 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC64 00269BC4 98 04 00 06 */ stb r0, 6(r4) +/* 8026CC68 00269BC8 88 04 00 07 */ lbz r0, 7(r4) +/* 8026CC6C 00269BCC 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC70 00269BD0 98 04 00 07 */ stb r0, 7(r4) +/* 8026CC74 00269BD4 38 84 00 08 */ addi r4, r4, 8 +/* 8026CC78 00269BD8 42 00 FF 9C */ bdnz lbl_8026CC14 +/* 8026CC7C 00269BDC 70 63 00 07 */ andi. r3, r3, 7 +/* 8026CC80 00269BE0 41 82 00 1C */ beq lbl_8026CC9C +lbl_8026CC84: +/* 8026CC84 00269BE4 7C 69 03 A6 */ mtctr r3 +lbl_8026CC88: +/* 8026CC88 00269BE8 88 04 00 00 */ lbz r0, 0(r4) +/* 8026CC8C 00269BEC 60 00 00 02 */ ori r0, r0, 2 +/* 8026CC90 00269BF0 98 04 00 00 */ stb r0, 0(r4) +/* 8026CC94 00269BF4 38 84 00 01 */ addi r4, r4, 1 +/* 8026CC98 00269BF8 42 00 FF F0 */ bdnz lbl_8026CC88 +lbl_8026CC9C: +/* 8026CC9C 00269BFC BB 41 00 08 */ lmw r26, 8(r1) +/* 8026CCA0 00269C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026CCA4 00269C04 7C 08 03 A6 */ mtlr r0 +/* 8026CCA8 00269C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026CCAC 00269C0C 4E 80 00 20 */ blr + +.global ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof +ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof: +/* 8026CCB0 00269C10 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8026CCB4 00269C14 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8026CCB8 00269C18 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8026CCBC 00269C1C DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8026CCC0 00269C20 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8026CCC4 00269C24 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8026CCC8 00269C28 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8026CCCC 00269C2C DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8026CCD0 00269C30 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8026CCD4 00269C34 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8026CCD8 00269C38 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8026CCDC 00269C3C DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 8026CCE0 00269C40 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 8026CCE4 00269C44 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 8026CCE8 00269C48 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 8026CCEC 00269C4C DB 01 00 B0 */ stfd f24, 0xb0(r1) +/* 8026CCF0 00269C50 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 +/* 8026CCF4 00269C54 DA E1 00 A0 */ stfd f23, 0xa0(r1) +/* 8026CCF8 00269C58 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 +/* 8026CCFC 00269C5C BD C1 00 58 */ stmw r14, 0x58(r1) +/* 8026CD00 00269C60 81 83 00 00 */ lwz r12, 0(r3) +/* 8026CD04 00269C64 3D 00 80 57 */ lis r8, lbl_8057194C@ha +/* 8026CD08 00269C68 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CD0C 00269C6C C0 42 BB A8 */ lfs f2, lbl_805AD8C8@sda21(r2) +/* 8026CD10 00269C70 C0 0C 00 04 */ lfs f0, 4(r12) +/* 8026CD14 00269C74 39 08 19 4C */ addi r8, r8, lbl_8057194C@l +/* 8026CD18 00269C78 C1 6C 00 28 */ lfs f11, 0x28(r12) +/* 8026CD1C 00269C7C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CD20 00269C80 ED A0 02 F2 */ fmuls f13, f0, f11 +/* 8026CD24 00269C84 C1 42 BB A4 */ lfs f10, lbl_805AD8C4@sda21(r2) +/* 8026CD28 00269C88 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) +/* 8026CD2C 00269C8C C0 0C 00 18 */ lfs f0, 0x18(r12) +/* 8026CD30 00269C90 ED 02 03 72 */ fmuls f8, f2, f13 +/* 8026CD34 00269C94 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026CD38 00269C98 ED 81 00 32 */ fmuls f12, f1, f0 +/* 8026CD3C 00269C9C C1 2C 00 1C */ lfs f9, 0x1c(r12) +/* 8026CD40 00269CA0 ED 4D 52 FC */ fnmsubs f10, f13, f11, f10 +/* 8026CD44 00269CA4 C1 62 BB A0 */ lfs f11, lbl_805AD8C0@sda21(r2) +/* 8026CD48 00269CA8 FC 20 40 1E */ fctiwz f1, f8 +/* 8026CD4C 00269CAC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CD50 00269CB0 ED 0A 02 72 */ fmuls f8, f10, f9 +/* 8026CD54 00269CB4 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 8026CD58 00269CB8 ED 4B 02 32 */ fmuls f10, f11, f8 +/* 8026CD5C 00269CBC 82 41 00 1C */ lwz r18, 0x1c(r1) +/* 8026CD60 00269CC0 7C 08 90 AE */ lbzx r0, r8, r18 +/* 8026CD64 00269CC4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026CD68 00269CC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CD6C 00269CCC C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8026CD70 00269CD0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026CD74 00269CD4 EC 2C 00 72 */ fmuls f1, f12, f1 +/* 8026CD78 00269CD8 ED 01 00 72 */ fmuls f8, f1, f1 +/* 8026CD7C 00269CDC FC 60 40 90 */ fmr f3, f8 +/* 8026CD80 00269CE0 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 8026CD84 00269CE4 40 82 00 08 */ bne lbl_8026CD8C +/* 8026CD88 00269CE8 48 00 00 10 */ b lbl_8026CD98 +lbl_8026CD8C: +/* 8026CD8C 00269CEC 10 00 18 34 */ ps_rsqrte f0, f3 +/* 8026CD90 00269CF0 10 00 00 F2 */ ps_mul f0, f0, f3 +/* 8026CD94 00269CF4 FC 60 00 90 */ fmr f3, f0 +lbl_8026CD98: +/* 8026CD98 00269CF8 3D 00 80 57 */ lis r8, lbl_8057198C@ha +/* 8026CD9C 00269CFC 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CDA0 00269D00 39 08 19 8C */ addi r8, r8, lbl_8057198C@l +/* 8026CDA4 00269D04 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CDA8 00269D08 7C 08 90 AE */ lbzx r0, r8, r18 +/* 8026CDAC 00269D0C C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026CDB0 00269D10 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026CDB4 00269D14 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CDB8 00269D18 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CDBC 00269D1C C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8026CDC0 00269D20 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026CDC4 00269D24 EC 2C 00 72 */ fmuls f1, f12, f1 +/* 8026CDC8 00269D28 ED 21 00 72 */ fmuls f9, f1, f1 +/* 8026CDCC 00269D2C FC 80 48 90 */ fmr f4, f9 +/* 8026CDD0 00269D30 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8026CDD4 00269D34 40 82 00 08 */ bne lbl_8026CDDC +/* 8026CDD8 00269D38 48 00 00 10 */ b lbl_8026CDE8 +lbl_8026CDDC: +/* 8026CDDC 00269D3C 10 00 20 34 */ ps_rsqrte f0, f4 +/* 8026CDE0 00269D40 10 00 01 32 */ ps_mul f0, f0, f4 +/* 8026CDE4 00269D44 FC 80 00 90 */ fmr f4, f0 +lbl_8026CDE8: +/* 8026CDE8 00269D48 81 6D A5 74 */ lwz r11, lbl_805A9134@sda21(r13) +/* 8026CDEC 00269D4C 3D C0 80 57 */ lis r14, lbl_8057094C@ha +/* 8026CDF0 00269D50 81 03 00 1C */ lwz r8, 0x1c(r3) +/* 8026CDF4 00269D54 3A 2B FF FF */ addi r17, r11, -1 +/* 8026CDF8 00269D58 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8026CDFC 00269D5C 7D 08 8A 14 */ add r8, r8, r17 +/* 8026CE00 00269D60 81 E3 00 20 */ lwz r15, 0x20(r3) +/* 8026CE04 00269D64 7D 48 5B D6 */ divw r10, r8, r11 +/* 8026CE08 00269D68 81 23 00 18 */ lwz r9, 0x18(r3) +/* 8026CE0C 00269D6C 7D 00 8A 14 */ add r8, r0, r17 +/* 8026CE10 00269D70 82 07 00 30 */ lwz r16, 0x30(r7) +/* 8026CE14 00269D74 7D 29 8A 14 */ add r9, r9, r17 +/* 8026CE18 00269D78 C8 22 BB 98 */ lfd f1, lbl_805AD8B8@sda21(r2) +/* 8026CE1C 00269D7C 7D 08 5B D6 */ divw r8, r8, r11 +/* 8026CE20 00269D80 7E 8F 8A 14 */ add r20, r15, r17 +/* 8026CE24 00269D84 3A 2A FF FF */ addi r17, r10, -1 +/* 8026CE28 00269D88 C1 A7 00 14 */ lfs f13, 0x14(r7) +/* 8026CE2C 00269D8C 56 40 30 32 */ slwi r0, r18, 6 +/* 8026CE30 00269D90 AA 47 00 2E */ lha r18, 0x2e(r7) +/* 8026CE34 00269D94 6E 2F 80 00 */ xoris r15, r17, 0x8000 +/* 8026CE38 00269D98 91 01 00 3C */ stw r8, 0x3c(r1) +/* 8026CE3C 00269D9C 3D 00 43 30 */ lis r8, 0x4330 +/* 8026CE40 00269DA0 7E 32 8A 14 */ add r17, r18, r17 +/* 8026CE44 00269DA4 91 01 00 20 */ stw r8, 0x20(r1) +/* 8026CE48 00269DA8 7D 10 00 D0 */ neg r8, r16 +/* 8026CE4C 00269DAC 7D 08 83 78 */ or r8, r8, r16 +/* 8026CE50 00269DB0 3A 0E 09 4C */ addi r16, r14, lbl_8057094C@l +/* 8026CE54 00269DB4 91 E1 00 24 */ stw r15, 0x24(r1) +/* 8026CE58 00269DB8 7D 29 5B D6 */ divw r9, r9, r11 +/* 8026CE5C 00269DBC 81 C1 00 3C */ lwz r14, 0x3c(r1) +/* 8026CE60 00269DC0 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8026CE64 00269DC4 AA 47 00 2A */ lha r18, 0x2a(r7) +/* 8026CE68 00269DC8 39 EE FF FF */ addi r15, r14, -1 +/* 8026CE6C 00269DCC EC 00 08 28 */ fsubs f0, f0, f1 +/* 8026CE70 00269DD0 1E 6A 00 09 */ mulli r19, r10, 9 +/* 8026CE74 00269DD4 EC 00 03 72 */ fmuls f0, f0, f13 +/* 8026CE78 00269DD8 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) +/* 8026CE7C 00269DDC C1 8C 00 0C */ lfs f12, 0xc(r12) +/* 8026CE80 00269DE0 7D D3 72 14 */ add r14, r19, r14 +/* 8026CE84 00269DE4 C1 67 00 10 */ lfs f11, 0x10(r7) +/* 8026CE88 00269DE8 91 C1 00 34 */ stw r14, 0x34(r1) +/* 8026CE8C 00269DEC 7D D4 5B D6 */ divw r14, r20, r11 +/* 8026CE90 00269DF0 EC 02 03 7A */ fmadds f0, f2, f13, f0 +/* 8026CE94 00269DF4 A9 67 00 28 */ lha r11, 0x28(r7) +/* 8026CE98 00269DF8 ED 8C 58 28 */ fsubs f12, f12, f11 +/* 8026CE9C 00269DFC 91 21 00 40 */ stw r9, 0x40(r1) +/* 8026CEA0 00269E00 81 21 00 34 */ lwz r9, 0x34(r1) +/* 8026CEA4 00269E04 91 C1 00 44 */ stw r14, 0x44(r1) +/* 8026CEA8 00269E08 7D 25 4A 14 */ add r9, r5, r9 +/* 8026CEAC 00269E0C 81 C1 00 3C */ lwz r14, 0x3c(r1) +/* 8026CEB0 00269E10 ED 8C 00 28 */ fsubs f12, f12, f0 +/* 8026CEB4 00269E14 7F F2 89 D6 */ mullw r31, r18, r17 +/* 8026CEB8 00269E18 C1 A2 BB A8 */ lfs f13, lbl_805AD8C8@sda21(r2) +/* 8026CEBC 00269E1C 39 CE FF FF */ addi r14, r14, -1 +/* 8026CEC0 00269E20 C1 6C 00 2C */ lfs f11, 0x2c(r12) +/* 8026CEC4 00269E24 91 C1 00 30 */ stw r14, 0x30(r1) +/* 8026CEC8 00269E28 A9 C7 00 2C */ lha r14, 0x2c(r7) +/* 8026CECC 00269E2C 7F D2 71 D6 */ mullw r30, r18, r14 +/* 8026CED0 00269E30 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8026CED4 00269E34 ED 6D 02 F2 */ fmuls f11, f13, f11 +/* 8026CED8 00269E38 91 41 00 38 */ stw r10, 0x38(r1) +/* 8026CEDC 00269E3C 7C AB 2A 14 */ add r5, r11, r5 +/* 8026CEE0 00269E40 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 8026CEE4 00269E44 7D 70 02 14 */ add r11, r16, r0 +/* 8026CEE8 00269E48 6D E0 80 00 */ xoris r0, r15, 0x8000 +/* 8026CEEC 00269E4C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026CEF0 00269E50 55 0E 0F FE */ srwi r14, r8, 0x1f +/* 8026CEF4 00269E54 91 21 00 34 */ stw r9, 0x34(r1) +/* 8026CEF8 00269E58 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8026CEFC 00269E5C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8026CF00 00269E60 48 00 05 8C */ b lbl_8026D48C +lbl_8026CF04: +/* 8026CF04 00269E64 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8026CF08 00269E68 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8026CF0C 00269E6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CF10 00269E70 3C 00 43 30 */ lis r0, 0x4330 +/* 8026CF14 00269E74 39 05 00 01 */ addi r8, r5, 1 +/* 8026CF18 00269E78 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026CF1C 00269E7C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026CF20 00269E80 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8026CF24 00269E84 38 A5 00 01 */ addi r5, r5, 1 +/* 8026CF28 00269E88 C9 A1 00 20 */ lfd f13, 0x20(r1) +/* 8026CF2C 00269E8C 7D 00 40 50 */ subf r8, r0, r8 +/* 8026CF30 00269E90 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026CF34 00269E94 EE ED 08 28 */ fsubs f23, f13, f1 +/* 8026CF38 00269E98 C3 47 00 14 */ lfs f26, 0x14(r7) +/* 8026CF3C 00269E9C C3 2C 00 08 */ lfs f25, 8(r12) +/* 8026CF40 00269EA0 7F 25 01 D6 */ mullw r25, r5, r0 +/* 8026CF44 00269EA4 C3 07 00 0C */ lfs f24, 0xc(r7) +/* 8026CF48 00269EA8 ED AC 03 32 */ fmuls f13, f12, f12 +/* 8026CF4C 00269EAC EE F7 06 B2 */ fmuls f23, f23, f26 +/* 8026CF50 00269EB0 83 01 00 3C */ lwz r24, 0x3c(r1) +/* 8026CF54 00269EB4 EF 19 C0 28 */ fsubs f24, f25, f24 +/* 8026CF58 00269EB8 EE E2 BE BA */ fmadds f23, f2, f26, f23 +/* 8026CF5C 00269EBC 83 81 00 34 */ lwz r28, 0x34(r1) +/* 8026CF60 00269EC0 83 61 00 30 */ lwz r27, 0x30(r1) +/* 8026CF64 00269EC4 83 43 00 04 */ lwz r26, 4(r3) +/* 8026CF68 00269EC8 EF F8 B8 28 */ fsubs f31, f24, f23 +/* 8026CF6C 00269ECC 7D 09 03 A6 */ mtctr r8 +/* 8026CF70 00269ED0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8026CF74 00269ED4 7F 05 C3 78 */ mr r5, r24 +/* 8026CF78 00269ED8 7C 05 00 00 */ cmpw r5, r0 +/* 8026CF7C 00269EDC 41 81 04 E4 */ bgt lbl_8026D460 +lbl_8026CF80: +/* 8026CF80 00269EE0 EC BF 6F FA */ fmadds f5, f31, f31, f13 +/* 8026CF84 00269EE4 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 8026CF88 00269EE8 40 82 00 0C */ bne lbl_8026CF94 +/* 8026CF8C 00269EEC FF 00 28 90 */ fmr f24, f5 +/* 8026CF90 00269EF0 48 00 00 0C */ b lbl_8026CF9C +lbl_8026CF94: +/* 8026CF94 00269EF4 13 00 28 34 */ ps_rsqrte f24, f5 +/* 8026CF98 00269EF8 13 18 01 72 */ ps_mul f24, f24, f5 +lbl_8026CF9C: +/* 8026CF9C 00269EFC C3 27 00 1C */ lfs f25, 0x1c(r7) +/* 8026CFA0 00269F00 EE F8 C8 28 */ fsubs f23, f24, f25 +/* 8026CFA4 00269F04 FC 04 B8 40 */ fcmpo cr0, f4, f23 +/* 8026CFA8 00269F08 41 80 04 A0 */ blt lbl_8026D448 +/* 8026CFAC 00269F0C EE F8 C8 2A */ fadds f23, f24, f25 +/* 8026CFB0 00269F10 FC 03 B8 40 */ fcmpo cr0, f3, f23 +/* 8026CFB4 00269F14 41 81 04 94 */ bgt lbl_8026D448 +/* 8026CFB8 00269F18 3D 00 43 30 */ lis r8, 0x4330 +/* 8026CFBC 00269F1C 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 8026CFC0 00269F20 6F A5 80 00 */ xoris r5, r29, 0x8000 +/* 8026CFC4 00269F24 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026CFC8 00269F28 CB 82 BB 98 */ lfd f28, lbl_805AD8B8@sda21(r2) +/* 8026CFCC 00269F2C 38 18 00 01 */ addi r0, r24, 1 +/* 8026CFD0 00269F30 91 01 00 20 */ stw r8, 0x20(r1) +/* 8026CFD4 00269F34 28 0E 00 00 */ cmplwi r14, 0 +/* 8026CFD8 00269F38 81 2D A5 74 */ lwz r9, lbl_805A9134@sda21(r13) +/* 8026CFDC 00269F3C 3A E0 00 00 */ li r23, 0 +/* 8026CFE0 00269F40 CA E1 00 20 */ lfd f23, 0x20(r1) +/* 8026CFE4 00269F44 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8026CFE8 00269F48 7E C0 49 D6 */ mullw r22, r0, r9 +/* 8026CFEC 00269F4C C3 4C 00 08 */ lfs f26, 8(r12) +/* 8026CFF0 00269F50 EF 77 E0 28 */ fsubs f27, f23, f28 +/* 8026CFF4 00269F54 91 01 00 18 */ stw r8, 0x18(r1) +/* 8026CFF8 00269F58 C2 E7 00 0C */ lfs f23, 0xc(r7) +/* 8026CFFC 00269F5C CB 21 00 18 */ lfd f25, 0x18(r1) +/* 8026D000 00269F60 C3 0C 00 0C */ lfs f24, 0xc(r12) +/* 8026D004 00269F64 EF 5A B8 28 */ fsubs f26, f26, f23 +/* 8026D008 00269F68 C2 E7 00 10 */ lfs f23, 0x10(r7) +/* 8026D00C 00269F6C EF 39 E0 28 */ fsubs f25, f25, f28 +/* 8026D010 00269F70 C3 87 00 18 */ lfs f28, 0x18(r7) +/* 8026D014 00269F74 EE F8 B8 28 */ fsubs f23, f24, f23 +/* 8026D018 00269F78 EF DC D6 FC */ fnmsubs f30, f28, f27, f26 +/* 8026D01C 00269F7C EF BC BE 7C */ fnmsubs f29, f28, f25, f23 +/* 8026D020 00269F80 41 82 00 40 */ beq lbl_8026D060 +/* 8026D024 00269F84 41 82 01 A0 */ beq lbl_8026D1C4 +/* 8026D028 00269F88 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D02C 00269F8C 41 80 01 98 */ blt lbl_8026D1C4 +/* 8026D030 00269F90 7C 1F F0 00 */ cmpw r31, r30 +/* 8026D034 00269F94 40 80 01 90 */ bge lbl_8026D1C4 +/* 8026D038 00269F98 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D03C 00269F9C 41 80 01 88 */ blt lbl_8026D1C4 +/* 8026D040 00269FA0 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D044 00269FA4 7C 1B 00 00 */ cmpw r27, r0 +/* 8026D048 00269FA8 40 80 01 7C */ bge lbl_8026D1C4 +/* 8026D04C 00269FAC 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D050 00269FB0 7C 00 DA 14 */ add r0, r0, r27 +/* 8026D054 00269FB4 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D058 00269FB8 7C 00 07 75 */ extsb. r0, r0 +/* 8026D05C 00269FBC 41 82 01 68 */ beq lbl_8026D1C4 +lbl_8026D060: +/* 8026D060 00269FC0 1C BD 01 68 */ mulli r5, r29, 0x168 +/* 8026D064 00269FC4 7F A9 EB 78 */ mr r9, r29 +/* 8026D068 00269FC8 3A 36 FF FF */ addi r17, r22, -1 +/* 8026D06C 00269FCC 57 40 18 38 */ slwi r0, r26, 3 +/* 8026D070 00269FD0 7D 04 2A 14 */ add r8, r4, r5 +/* 8026D074 00269FD4 39 F9 FF FF */ addi r15, r25, -1 +/* 8026D078 00269FD8 48 00 01 10 */ b lbl_8026D188 +lbl_8026D07C: +/* 8026D07C 00269FDC FF 60 F0 90 */ fmr f27, f30 +/* 8026D080 00269FE0 7F 4A D3 78 */ mr r10, r26 +/* 8026D084 00269FE4 EF 9D 07 72 */ fmuls f28, f29, f29 +/* 8026D088 00269FE8 7C A8 02 14 */ add r5, r8, r0 +/* 8026D08C 00269FEC 48 00 00 C4 */ b lbl_8026D150 +lbl_8026D090: +/* 8026D090 00269FF0 EE FB E6 FA */ fmadds f23, f27, f27, f28 +/* 8026D094 00269FF4 FC 17 40 40 */ fcmpo cr0, f23, f8 +/* 8026D098 00269FF8 41 80 00 A8 */ blt lbl_8026D140 +/* 8026D09C 00269FFC FC 17 48 40 */ fcmpo cr0, f23, f9 +/* 8026D0A0 0026A000 41 81 00 A0 */ bgt lbl_8026D140 +/* 8026D0A4 0026A004 FC C0 B8 90 */ fmr f6, f23 +/* 8026D0A8 0026A008 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +/* 8026D0AC 0026A00C FC 17 30 00 */ fcmpu cr0, f23, f6 +/* 8026D0B0 0026A010 40 82 00 0C */ bne lbl_8026D0BC +/* 8026D0B4 0026A014 FF 00 30 90 */ fmr f24, f6 +/* 8026D0B8 0026A018 48 00 00 0C */ b lbl_8026D0C4 +lbl_8026D0BC: +/* 8026D0BC 0026A01C 13 00 30 34 */ ps_rsqrte f24, f6 +/* 8026D0C0 0026A020 13 18 01 B2 */ ps_mul f24, f24, f6 +lbl_8026D0C4: +/* 8026D0C4 0026A024 EE F8 02 F2 */ fmuls f23, f24, f11 +/* 8026D0C8 0026A028 FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D0CC 0026A02C DA E1 00 20 */ stfd f23, 0x20(r1) +/* 8026D0D0 0026A030 82 01 00 24 */ lwz r16, 0x24(r1) +/* 8026D0D4 0026A034 7E 0B 80 AE */ lbzx r16, r11, r16 +/* 8026D0D8 0026A038 28 10 00 00 */ cmplwi r16, 0 +/* 8026D0DC 0026A03C 41 82 00 50 */ beq lbl_8026D12C +/* 8026D0E0 0026A040 C2 EC 00 38 */ lfs f23, 0x38(r12) +/* 8026D0E4 0026A044 56 10 06 3E */ clrlwi r16, r16, 0x18 +/* 8026D0E8 0026A048 6E 12 80 00 */ xoris r18, r16, 0x8000 +/* 8026D0EC 0026A04C CB 22 BB 98 */ lfd f25, lbl_805AD8B8@sda21(r2) +/* 8026D0F0 0026A050 EE F8 55 FA */ fmadds f23, f24, f23, f10 +/* 8026D0F4 0026A054 3E 00 43 30 */ lis r16, 0x4330 +/* 8026D0F8 0026A058 92 41 00 2C */ stw r18, 0x2c(r1) +/* 8026D0FC 0026A05C FF 40 B8 1E */ fctiwz f26, f23 +/* 8026D100 0026A060 92 01 00 28 */ stw r16, 0x28(r1) +/* 8026D104 0026A064 C2 EC 00 24 */ lfs f23, 0x24(r12) +/* 8026D108 0026A068 CB 01 00 28 */ lfd f24, 0x28(r1) +/* 8026D10C 0026A06C DB 41 00 18 */ stfd f26, 0x18(r1) +/* 8026D110 0026A070 EF 18 C8 28 */ fsubs f24, f24, f25 +/* 8026D114 0026A074 82 01 00 1C */ lwz r16, 0x1c(r1) +/* 8026D118 0026A078 EE F8 05 F2 */ fmuls f23, f24, f23 +/* 8026D11C 0026A07C 56 10 15 BA */ rlwinm r16, r16, 2, 0x16, 0x1d +/* 8026D120 0026A080 7F 06 84 2E */ lfsx f24, r6, r16 +/* 8026D124 0026A084 EF 18 05 F2 */ fmuls f24, f24, f23 +/* 8026D128 0026A088 48 00 00 08 */ b lbl_8026D130 +lbl_8026D12C: +/* 8026D12C 0026A08C C3 02 BB 90 */ lfs f24, lbl_805AD8B0@sda21(r2) +lbl_8026D130: +/* 8026D130 0026A090 C2 E5 00 00 */ lfs f23, 0(r5) +/* 8026D134 0026A094 3A E0 00 01 */ li r23, 1 +/* 8026D138 0026A098 EE F7 C0 2A */ fadds f23, f23, f24 +/* 8026D13C 0026A09C D2 E5 00 00 */ stfs f23, 0(r5) +lbl_8026D140: +/* 8026D140 0026A0A0 C2 E7 00 18 */ lfs f23, 0x18(r7) +/* 8026D144 0026A0A4 38 A5 00 08 */ addi r5, r5, 8 +/* 8026D148 0026A0A8 39 4A 00 01 */ addi r10, r10, 1 +/* 8026D14C 0026A0AC EF 7B B8 28 */ fsubs f27, f27, f23 +lbl_8026D150: +/* 8026D150 0026A0B0 82 03 00 08 */ lwz r16, 8(r3) +/* 8026D154 0026A0B4 92 21 00 14 */ stw r17, 0x14(r1) +/* 8026D158 0026A0B8 7C 10 88 00 */ cmpw r16, r17 +/* 8026D15C 0026A0BC 40 80 00 0C */ bge lbl_8026D168 +/* 8026D160 0026A0C0 3A 03 00 08 */ addi r16, r3, 8 +/* 8026D164 0026A0C4 48 00 00 08 */ b lbl_8026D16C +lbl_8026D168: +/* 8026D168 0026A0C8 3A 01 00 14 */ addi r16, r1, 0x14 +lbl_8026D16C: +/* 8026D16C 0026A0CC 82 10 00 00 */ lwz r16, 0(r16) +/* 8026D170 0026A0D0 7C 0A 80 00 */ cmpw r10, r16 +/* 8026D174 0026A0D4 40 81 FF 1C */ ble lbl_8026D090 +/* 8026D178 0026A0D8 C2 E7 00 18 */ lfs f23, 0x18(r7) +/* 8026D17C 0026A0DC 39 08 01 68 */ addi r8, r8, 0x168 +/* 8026D180 0026A0E0 39 29 00 01 */ addi r9, r9, 1 +/* 8026D184 0026A0E4 EF BD B8 28 */ fsubs f29, f29, f23 +lbl_8026D188: +/* 8026D188 0026A0E8 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8026D18C 0026A0EC 91 E1 00 10 */ stw r15, 0x10(r1) +/* 8026D190 0026A0F0 7C 05 78 00 */ cmpw r5, r15 +/* 8026D194 0026A0F4 40 80 00 0C */ bge lbl_8026D1A0 +/* 8026D198 0026A0F8 38 A3 00 10 */ addi r5, r3, 0x10 +/* 8026D19C 0026A0FC 48 00 00 08 */ b lbl_8026D1A4 +lbl_8026D1A0: +/* 8026D1A0 0026A100 38 A1 00 10 */ addi r5, r1, 0x10 +lbl_8026D1A4: +/* 8026D1A4 0026A104 80 A5 00 00 */ lwz r5, 0(r5) +/* 8026D1A8 0026A108 7C 09 28 00 */ cmpw r9, r5 +/* 8026D1AC 0026A10C 40 81 FE D0 */ ble lbl_8026D07C +/* 8026D1B0 0026A110 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026D1B4 0026A114 41 82 02 90 */ beq lbl_8026D444 +/* 8026D1B8 0026A118 38 00 00 1F */ li r0, 0x1f +/* 8026D1BC 0026A11C 98 1C 00 00 */ stb r0, 0(r28) +/* 8026D1C0 0026A120 48 00 02 84 */ b lbl_8026D444 +lbl_8026D1C4: +/* 8026D1C4 0026A124 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D1C8 0026A128 7D 09 C8 50 */ subf r8, r9, r25 +/* 8026D1CC 0026A12C 7C A9 B0 50 */ subf r5, r9, r22 +/* 8026D1D0 0026A130 3A 99 FF FF */ addi r20, r25, -1 +/* 8026D1D4 0026A134 3A A8 00 01 */ addi r21, r8, 1 +/* 8026D1D8 0026A138 3A 56 FF FF */ addi r18, r22, -1 +/* 8026D1DC 0026A13C 3A 65 00 01 */ addi r19, r5, 1 +/* 8026D1E0 0026A140 41 80 00 30 */ blt lbl_8026D210 +/* 8026D1E4 0026A144 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D1E8 0026A148 7C 1B 00 00 */ cmpw r27, r0 +/* 8026D1EC 0026A14C 40 80 00 24 */ bge lbl_8026D210 +/* 8026D1F0 0026A150 7C 00 F8 51 */ subf. r0, r0, r31 +/* 8026D1F4 0026A154 41 80 00 1C */ blt lbl_8026D210 +/* 8026D1F8 0026A158 80 A7 00 30 */ lwz r5, 0x30(r7) +/* 8026D1FC 0026A15C 7C 1B 02 14 */ add r0, r27, r0 +/* 8026D200 0026A160 7C 05 00 AE */ lbzx r0, r5, r0 +/* 8026D204 0026A164 7C 00 07 75 */ extsb. r0, r0 +/* 8026D208 0026A168 40 82 00 08 */ bne lbl_8026D210 +/* 8026D20C 0026A16C 3A B5 FF FE */ addi r21, r21, -2 +lbl_8026D210: +/* 8026D210 0026A170 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D214 0026A174 41 80 00 38 */ blt lbl_8026D24C +/* 8026D218 0026A178 A8 A7 00 2A */ lha r5, 0x2a(r7) +/* 8026D21C 0026A17C 7C 1B 28 00 */ cmpw r27, r5 +/* 8026D220 0026A180 40 80 00 2C */ bge lbl_8026D24C +/* 8026D224 0026A184 7C 1F 2A 14 */ add r0, r31, r5 +/* 8026D228 0026A188 7C 00 F0 00 */ cmpw r0, r30 +/* 8026D22C 0026A18C 40 80 00 20 */ bge lbl_8026D24C +/* 8026D230 0026A190 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D234 0026A194 7C 00 DA 14 */ add r0, r0, r27 +/* 8026D238 0026A198 7C 00 2A 14 */ add r0, r0, r5 +/* 8026D23C 0026A19C 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D240 0026A1A0 7C 00 07 75 */ extsb. r0, r0 +/* 8026D244 0026A1A4 40 82 00 08 */ bne lbl_8026D24C +/* 8026D248 0026A1A8 3A 94 00 02 */ addi r20, r20, 2 +lbl_8026D24C: +/* 8026D24C 0026A1AC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D250 0026A1B0 41 80 00 34 */ blt lbl_8026D284 +/* 8026D254 0026A1B4 A8 07 00 2C */ lha r0, 0x2c(r7) +/* 8026D258 0026A1B8 7C 1F 00 00 */ cmpw r31, r0 +/* 8026D25C 0026A1BC 40 80 00 28 */ bge lbl_8026D284 +/* 8026D260 0026A1C0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8026D264 0026A1C4 40 81 00 20 */ ble lbl_8026D284 +/* 8026D268 0026A1C8 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D26C 0026A1CC 7C A0 DA 14 */ add r5, r0, r27 +/* 8026D270 0026A1D0 38 05 FF FF */ addi r0, r5, -1 +/* 8026D274 0026A1D4 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D278 0026A1D8 7C 00 07 75 */ extsb. r0, r0 +/* 8026D27C 0026A1DC 40 82 00 08 */ bne lbl_8026D284 +/* 8026D280 0026A1E0 3A 73 FF FE */ addi r19, r19, -2 +lbl_8026D284: +/* 8026D284 0026A1E4 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026D288 0026A1E8 41 80 00 3C */ blt lbl_8026D2C4 +/* 8026D28C 0026A1EC A8 07 00 2C */ lha r0, 0x2c(r7) +/* 8026D290 0026A1F0 7C 1F 00 00 */ cmpw r31, r0 +/* 8026D294 0026A1F4 40 80 00 30 */ bge lbl_8026D2C4 +/* 8026D298 0026A1F8 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D29C 0026A1FC 38 BB 00 01 */ addi r5, r27, 1 +/* 8026D2A0 0026A200 7C 05 00 00 */ cmpw r5, r0 +/* 8026D2A4 0026A204 40 80 00 20 */ bge lbl_8026D2C4 +/* 8026D2A8 0026A208 80 07 00 30 */ lwz r0, 0x30(r7) +/* 8026D2AC 0026A20C 7C A0 DA 14 */ add r5, r0, r27 +/* 8026D2B0 0026A210 38 05 00 01 */ addi r0, r5, 1 +/* 8026D2B4 0026A214 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8026D2B8 0026A218 7C 00 07 75 */ extsb. r0, r0 +/* 8026D2BC 0026A21C 40 82 00 08 */ bne lbl_8026D2C4 +/* 8026D2C0 0026A220 3A 52 00 02 */ addi r18, r18, 2 +lbl_8026D2C4: +/* 8026D2C4 0026A224 1D 1D 01 68 */ mulli r8, r29, 0x168 +/* 8026D2C8 0026A228 7F B1 EB 78 */ mr r17, r29 +/* 8026D2CC 0026A22C 38 16 FF FF */ addi r0, r22, -1 +/* 8026D2D0 0026A230 57 45 18 38 */ slwi r5, r26, 3 +/* 8026D2D4 0026A234 7D 44 42 14 */ add r10, r4, r8 +/* 8026D2D8 0026A238 39 F9 FF FF */ addi r15, r25, -1 +/* 8026D2DC 0026A23C 48 00 01 30 */ b lbl_8026D40C +lbl_8026D2E0: +/* 8026D2E0 0026A240 FF 80 F0 90 */ fmr f28, f30 +/* 8026D2E4 0026A244 7F 50 D3 78 */ mr r16, r26 +/* 8026D2E8 0026A248 EF 7D 07 72 */ fmuls f27, f29, f29 +/* 8026D2EC 0026A24C 7D 2A 2A 14 */ add r9, r10, r5 +/* 8026D2F0 0026A250 48 00 00 E4 */ b lbl_8026D3D4 +lbl_8026D2F4: +/* 8026D2F4 0026A254 7C 11 A8 00 */ cmpw r17, r21 +/* 8026D2F8 0026A258 40 81 00 1C */ ble lbl_8026D314 +/* 8026D2FC 0026A25C 7C 11 A0 00 */ cmpw r17, r20 +/* 8026D300 0026A260 40 80 00 14 */ bge lbl_8026D314 +/* 8026D304 0026A264 7C 10 98 00 */ cmpw r16, r19 +/* 8026D308 0026A268 40 81 00 0C */ ble lbl_8026D314 +/* 8026D30C 0026A26C 7C 10 90 00 */ cmpw r16, r18 +/* 8026D310 0026A270 41 80 00 B4 */ blt lbl_8026D3C4 +lbl_8026D314: +/* 8026D314 0026A274 EE FC DF 3A */ fmadds f23, f28, f28, f27 +/* 8026D318 0026A278 FC 17 40 40 */ fcmpo cr0, f23, f8 +/* 8026D31C 0026A27C 41 80 00 A8 */ blt lbl_8026D3C4 +/* 8026D320 0026A280 FC 17 48 40 */ fcmpo cr0, f23, f9 +/* 8026D324 0026A284 41 81 00 A0 */ bgt lbl_8026D3C4 +/* 8026D328 0026A288 FC E0 B8 90 */ fmr f7, f23 +/* 8026D32C 0026A28C C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +/* 8026D330 0026A290 FC 17 38 00 */ fcmpu cr0, f23, f7 +/* 8026D334 0026A294 40 82 00 0C */ bne lbl_8026D340 +/* 8026D338 0026A298 FF 00 38 90 */ fmr f24, f7 +/* 8026D33C 0026A29C 48 00 00 0C */ b lbl_8026D348 +lbl_8026D340: +/* 8026D340 0026A2A0 13 00 38 34 */ ps_rsqrte f24, f7 +/* 8026D344 0026A2A4 13 18 01 F2 */ ps_mul f24, f24, f7 +lbl_8026D348: +/* 8026D348 0026A2A8 EE F8 02 F2 */ fmuls f23, f24, f11 +/* 8026D34C 0026A2AC FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D350 0026A2B0 DA E1 00 28 */ stfd f23, 0x28(r1) +/* 8026D354 0026A2B4 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 8026D358 0026A2B8 7D 0B 40 AE */ lbzx r8, r11, r8 +/* 8026D35C 0026A2BC 28 08 00 00 */ cmplwi r8, 0 +/* 8026D360 0026A2C0 41 82 00 50 */ beq lbl_8026D3B0 +/* 8026D364 0026A2C4 C2 EC 00 38 */ lfs f23, 0x38(r12) +/* 8026D368 0026A2C8 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8026D36C 0026A2CC 6D 08 80 00 */ xoris r8, r8, 0x8000 +/* 8026D370 0026A2D0 3E E0 43 30 */ lis r23, 0x4330 +/* 8026D374 0026A2D4 EE F8 55 FA */ fmadds f23, f24, f23, f10 +/* 8026D378 0026A2D8 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8026D37C 0026A2DC CB 02 BB 98 */ lfd f24, lbl_805AD8B8@sda21(r2) +/* 8026D380 0026A2E0 92 E1 00 18 */ stw r23, 0x18(r1) +/* 8026D384 0026A2E4 FE E0 B8 1E */ fctiwz f23, f23 +/* 8026D388 0026A2E8 C3 4C 00 24 */ lfs f26, 0x24(r12) +/* 8026D38C 0026A2EC CB 21 00 18 */ lfd f25, 0x18(r1) +/* 8026D390 0026A2F0 DA E1 00 20 */ stfd f23, 0x20(r1) +/* 8026D394 0026A2F4 EF 39 C0 28 */ fsubs f25, f25, f24 +/* 8026D398 0026A2F8 81 01 00 24 */ lwz r8, 0x24(r1) +/* 8026D39C 0026A2FC EF 59 06 B2 */ fmuls f26, f25, f26 +/* 8026D3A0 0026A300 55 08 15 BA */ rlwinm r8, r8, 2, 0x16, 0x1d +/* 8026D3A4 0026A304 7F 06 44 2E */ lfsx f24, r6, r8 +/* 8026D3A8 0026A308 EE F8 06 B2 */ fmuls f23, f24, f26 +/* 8026D3AC 0026A30C 48 00 00 08 */ b lbl_8026D3B4 +lbl_8026D3B0: +/* 8026D3B0 0026A310 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) +lbl_8026D3B4: +/* 8026D3B4 0026A314 C3 49 00 00 */ lfs f26, 0(r9) +/* 8026D3B8 0026A318 3A E0 00 01 */ li r23, 1 +/* 8026D3BC 0026A31C EF 5A B8 2A */ fadds f26, f26, f23 +/* 8026D3C0 0026A320 D3 49 00 00 */ stfs f26, 0(r9) +lbl_8026D3C4: +/* 8026D3C4 0026A324 C3 47 00 18 */ lfs f26, 0x18(r7) +/* 8026D3C8 0026A328 39 29 00 08 */ addi r9, r9, 8 +/* 8026D3CC 0026A32C 3A 10 00 01 */ addi r16, r16, 1 +/* 8026D3D0 0026A330 EF 9C D0 28 */ fsubs f28, f28, f26 +lbl_8026D3D4: +/* 8026D3D4 0026A334 81 03 00 08 */ lwz r8, 8(r3) +/* 8026D3D8 0026A338 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026D3DC 0026A33C 7C 08 00 00 */ cmpw r8, r0 +/* 8026D3E0 0026A340 40 80 00 0C */ bge lbl_8026D3EC +/* 8026D3E4 0026A344 39 03 00 08 */ addi r8, r3, 8 +/* 8026D3E8 0026A348 48 00 00 08 */ b lbl_8026D3F0 +lbl_8026D3EC: +/* 8026D3EC 0026A34C 39 01 00 0C */ addi r8, r1, 0xc +lbl_8026D3F0: +/* 8026D3F0 0026A350 81 08 00 00 */ lwz r8, 0(r8) +/* 8026D3F4 0026A354 7C 10 40 00 */ cmpw r16, r8 +/* 8026D3F8 0026A358 40 81 FE FC */ ble lbl_8026D2F4 +/* 8026D3FC 0026A35C C3 67 00 18 */ lfs f27, 0x18(r7) +/* 8026D400 0026A360 39 4A 01 68 */ addi r10, r10, 0x168 +/* 8026D404 0026A364 3A 31 00 01 */ addi r17, r17, 1 +/* 8026D408 0026A368 EF BD D8 28 */ fsubs f29, f29, f27 +lbl_8026D40C: +/* 8026D40C 0026A36C 81 03 00 10 */ lwz r8, 0x10(r3) +/* 8026D410 0026A370 91 E1 00 08 */ stw r15, 8(r1) +/* 8026D414 0026A374 7C 08 78 00 */ cmpw r8, r15 +/* 8026D418 0026A378 40 80 00 0C */ bge lbl_8026D424 +/* 8026D41C 0026A37C 39 03 00 10 */ addi r8, r3, 0x10 +/* 8026D420 0026A380 48 00 00 08 */ b lbl_8026D428 +lbl_8026D424: +/* 8026D424 0026A384 39 01 00 08 */ addi r8, r1, 8 +lbl_8026D428: +/* 8026D428 0026A388 81 08 00 00 */ lwz r8, 0(r8) +/* 8026D42C 0026A38C 7C 11 40 00 */ cmpw r17, r8 +/* 8026D430 0026A390 40 81 FE B0 */ ble lbl_8026D2E0 +/* 8026D434 0026A394 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 8026D438 0026A398 41 82 00 0C */ beq lbl_8026D444 +/* 8026D43C 0026A39C 38 00 00 0F */ li r0, 0xf +/* 8026D440 0026A3A0 98 1C 00 00 */ stb r0, 0(r28) +lbl_8026D444: +/* 8026D444 0026A3A4 7E DA B3 78 */ mr r26, r22 +lbl_8026D448: +/* 8026D448 0026A3A8 C3 67 00 14 */ lfs f27, 0x14(r7) +/* 8026D44C 0026A3AC 3B 18 00 01 */ addi r24, r24, 1 +/* 8026D450 0026A3B0 3B 9C 00 01 */ addi r28, r28, 1 +/* 8026D454 0026A3B4 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026D458 0026A3B8 EF FF D8 28 */ fsubs f31, f31, f27 +/* 8026D45C 0026A3BC 42 00 FB 24 */ bdnz lbl_8026CF80 +lbl_8026D460: +/* 8026D460 0026A3C0 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026D464 0026A3C4 7F 3D CB 78 */ mr r29, r25 +/* 8026D468 0026A3C8 C1 A7 00 14 */ lfs f13, 0x14(r7) +/* 8026D46C 0026A3CC 38 A5 00 01 */ addi r5, r5, 1 +/* 8026D470 0026A3D0 A8 07 00 2A */ lha r0, 0x2a(r7) +/* 8026D474 0026A3D4 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8026D478 0026A3D8 ED 8C 68 28 */ fsubs f12, f12, f13 +/* 8026D47C 0026A3DC 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 8026D480 0026A3E0 7F FF 02 14 */ add r31, r31, r0 +/* 8026D484 0026A3E4 38 A5 00 09 */ addi r5, r5, 9 +/* 8026D488 0026A3E8 90 A1 00 34 */ stw r5, 0x34(r1) +lbl_8026D48C: +/* 8026D48C 0026A3EC 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8026D490 0026A3F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026D494 0026A3F4 7C 05 00 00 */ cmpw r5, r0 +/* 8026D498 0026A3F8 40 81 FA 6C */ ble lbl_8026CF04 +/* 8026D49C 0026A3FC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8026D4A0 0026A400 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8026D4A4 0026A404 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8026D4A8 0026A408 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8026D4AC 0026A40C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8026D4B0 0026A410 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8026D4B4 0026A414 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8026D4B8 0026A418 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8026D4BC 0026A41C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8026D4C0 0026A420 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8026D4C4 0026A424 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 8026D4C8 0026A428 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 8026D4CC 0026A42C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 8026D4D0 0026A430 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 8026D4D4 0026A434 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 +/* 8026D4D8 0026A438 CB 01 00 B0 */ lfd f24, 0xb0(r1) +/* 8026D4DC 0026A43C E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 +/* 8026D4E0 0026A440 CA E1 00 A0 */ lfd f23, 0xa0(r1) +/* 8026D4E4 0026A444 B9 C1 00 58 */ lmw r14, 0x58(r1) +/* 8026D4E8 0026A448 38 21 01 30 */ addi r1, r1, 0x130 +/* 8026D4EC 0026A44C 4E 80 00 20 */ blr + +.global RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo +RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026D4F0 0026A450 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8026D4F4 0026A454 7C 08 02 A6 */ mflr r0 +/* 8026D4F8 0026A458 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8026D4FC 0026A45C DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8026D500 0026A460 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8026D504 0026A464 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8026D508 0026A468 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8026D50C 0026A46C DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8026D510 0026A470 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8026D514 0026A474 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8026D518 0026A478 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8026D51C 0026A47C DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8026D520 0026A480 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8026D524 0026A484 DB 41 00 60 */ stfd f26, 0x60(r1) +/* 8026D528 0026A488 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 8026D52C 0026A48C BD C1 00 18 */ stmw r14, 0x18(r1) +/* 8026D530 0026A490 80 ED A5 74 */ lwz r7, lbl_805A9134@sda21(r13) +/* 8026D534 0026A494 7C D5 33 78 */ mr r21, r6 +/* 8026D538 0026A498 88 C6 00 00 */ lbz r6, 0(r6) +/* 8026D53C 0026A49C 3D C0 43 30 */ lis r14, 0x4330 +/* 8026D540 0026A4A0 39 07 FF FF */ addi r8, r7, -1 +/* 8026D544 0026A4A4 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8026D548 0026A4A8 7D 05 42 14 */ add r8, r5, r8 +/* 8026D54C 0026A4AC 7C C6 07 74 */ extsb r6, r6 +/* 8026D550 0026A4B0 7D 88 3B D6 */ divw r12, r8, r7 +/* 8026D554 0026A4B4 7C 00 3A 14 */ add r0, r0, r7 +/* 8026D558 0026A4B8 7C C6 3A 14 */ add r6, r6, r7 +/* 8026D55C 0026A4BC 91 C1 00 08 */ stw r14, 8(r1) +/* 8026D560 0026A4C0 7C 0F 0E 70 */ srawi r15, r0, 1 +/* 8026D564 0026A4C4 CB E2 BB 98 */ lfd f31, lbl_805AD8B8@sda21(r2) +/* 8026D568 0026A4C8 39 66 FF FC */ addi r11, r6, -4 +/* 8026D56C 0026A4CC 6D E0 80 00 */ xoris r0, r15, 0x8000 +/* 8026D570 0026A4D0 1C C5 01 68 */ mulli r6, r5, 0x168 +/* 8026D574 0026A4D4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026D578 0026A4D8 A9 55 00 2E */ lha r10, 0x2e(r21) +/* 8026D57C 0026A4DC 39 2C FF FF */ addi r9, r12, -1 +/* 8026D580 0026A4E0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026D584 0026A4E4 FF A0 08 90 */ fmr f29, f1 +/* 8026D588 0026A4E8 1E 07 00 2D */ mulli r16, r7, 0x2d +/* 8026D58C 0026A4EC 3A E6 00 08 */ addi r23, r6, 8 +/* 8026D590 0026A4F0 EC 20 F8 28 */ fsubs f1, f0, f31 +/* 8026D594 0026A4F4 7D 2A 4A 14 */ add r9, r10, r9 +/* 8026D598 0026A4F8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026D59C 0026A4FC 7E E3 BA 14 */ add r23, r3, r23 +/* 8026D5A0 0026A500 A9 55 00 2A */ lha r10, 0x2a(r21) +/* 8026D5A4 0026A504 EF 60 00 72 */ fmuls f27, f0, f1 +/* 8026D5A8 0026A508 56 08 0F FE */ srwi r8, r16, 0x1f +/* 8026D5AC 0026A50C 7C 07 82 14 */ add r0, r7, r16 +/* 8026D5B0 0026A510 7D 08 82 14 */ add r8, r8, r16 +/* 8026D5B4 0026A514 A8 D5 00 28 */ lha r6, 0x28(r21) +/* 8026D5B8 0026A518 7C 6A 49 D6 */ mullw r3, r10, r9 +/* 8026D5BC 0026A51C 7D 08 0E 70 */ srawi r8, r8, 1 +/* 8026D5C0 0026A520 EF 9B E8 2A */ fadds f28, f27, f29 +/* 8026D5C4 0026A524 C3 D5 00 04 */ lfs f30, 4(r21) +/* 8026D5C8 0026A528 56 1D 18 38 */ slwi r29, r16, 3 +/* 8026D5CC 0026A52C 7D 0F 42 14 */ add r8, r15, r8 +/* 8026D5D0 0026A530 1C AC 00 09 */ mulli r5, r12, 9 +/* 8026D5D4 0026A534 55 1E 18 38 */ slwi r30, r8, 3 +/* 8026D5D8 0026A538 54 1C 18 38 */ slwi r28, r0, 3 +/* 8026D5DC 0026A53C 54 FB 18 38 */ slwi r27, r7, 3 +/* 8026D5E0 0026A540 7F EB 3B D6 */ divw r31, r11, r7 +/* 8026D5E4 0026A544 7F 06 1A 14 */ add r24, r6, r3 +/* 8026D5E8 0026A548 7D E4 2A 14 */ add r15, r4, r5 +/* 8026D5EC 0026A54C 3B 40 00 01 */ li r26, 1 +/* 8026D5F0 0026A550 3B 20 00 01 */ li r25, 1 +/* 8026D5F4 0026A554 48 00 17 38 */ b lbl_8026ED2C +lbl_8026D5F8: +/* 8026D5F8 0026A558 80 75 00 30 */ lwz r3, 0x30(r21) +/* 8026D5FC 0026A55C 3A C0 00 01 */ li r22, 1 +/* 8026D600 0026A560 28 03 00 00 */ cmplwi r3, 0 +/* 8026D604 0026A564 41 82 00 14 */ beq lbl_8026D618 +/* 8026D608 0026A568 41 82 16 EC */ beq lbl_8026ECF4 +/* 8026D60C 0026A56C 7C 03 C0 AE */ lbzx r0, r3, r24 +/* 8026D610 0026A570 7C 00 07 75 */ extsb. r0, r0 +/* 8026D614 0026A574 41 82 16 E0 */ beq lbl_8026ECF4 +lbl_8026D618: +/* 8026D618 0026A578 7D 0F D2 14 */ add r8, r15, r26 +/* 8026D61C 0026A57C 88 08 00 00 */ lbz r0, 0(r8) +/* 8026D620 0026A580 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D624 0026A584 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D628 0026A588 40 82 02 0C */ bne lbl_8026D834 +/* 8026D62C 0026A58C 38 88 00 01 */ addi r4, r8, 1 +/* 8026D630 0026A590 48 00 00 34 */ b lbl_8026D664 +lbl_8026D634: +/* 8026D634 0026A594 88 04 00 00 */ lbz r0, 0(r4) +/* 8026D638 0026A598 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D63C 0026A59C 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D640 0026A5A0 40 82 00 30 */ bne lbl_8026D670 +/* 8026D644 0026A5A4 28 03 00 00 */ cmplwi r3, 0 +/* 8026D648 0026A5A8 41 82 00 14 */ beq lbl_8026D65C +/* 8026D64C 0026A5AC 7C 18 B2 14 */ add r0, r24, r22 +/* 8026D650 0026A5B0 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8026D654 0026A5B4 7C 00 07 75 */ extsb. r0, r0 +/* 8026D658 0026A5B8 41 82 00 18 */ beq lbl_8026D670 +lbl_8026D65C: +/* 8026D65C 0026A5BC 38 84 00 01 */ addi r4, r4, 1 +/* 8026D660 0026A5C0 3A D6 00 01 */ addi r22, r22, 1 +lbl_8026D664: +/* 8026D664 0026A5C4 7C 1A B2 14 */ add r0, r26, r22 +/* 8026D668 0026A5C8 7C 00 F8 00 */ cmpw r0, r31 +/* 8026D66C 0026A5CC 40 81 FF C8 */ ble lbl_8026D634 +lbl_8026D670: +/* 8026D670 0026A5D0 82 0D A5 74 */ lwz r16, lbl_805A9134@sda21(r13) +/* 8026D674 0026A5D4 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D678 0026A5D8 7C 76 81 D6 */ mullw r3, r22, r16 +/* 8026D67C 0026A5DC 7C 00 07 74 */ extsb r0, r0 +/* 8026D680 0026A5E0 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D684 0026A5E4 38 83 00 01 */ addi r4, r3, 1 +/* 8026D688 0026A5E8 41 82 01 7C */ beq lbl_8026D804 +/* 8026D68C 0026A5EC 40 80 00 14 */ bge lbl_8026D6A0 +/* 8026D690 0026A5F0 2C 00 00 00 */ cmpwi r0, 0 +/* 8026D694 0026A5F4 41 82 00 18 */ beq lbl_8026D6AC +/* 8026D698 0026A5F8 40 80 01 54 */ bge lbl_8026D7EC +/* 8026D69C 0026A5FC 48 00 16 58 */ b lbl_8026ECF4 +lbl_8026D6A0: +/* 8026D6A0 0026A600 2C 00 00 04 */ cmpwi r0, 4 +/* 8026D6A4 0026A604 40 80 16 50 */ bge lbl_8026ECF4 +/* 8026D6A8 0026A608 48 00 01 74 */ b lbl_8026D81C +lbl_8026D6AC: +/* 8026D6AC 0026A60C FF 40 E8 90 */ fmr f26, f29 +/* 8026D6B0 0026A610 7E F3 BB 78 */ mr r19, r23 +/* 8026D6B4 0026A614 7C 91 23 78 */ mr r17, r4 +/* 8026D6B8 0026A618 54 92 08 3C */ slwi r18, r4, 1 +/* 8026D6BC 0026A61C 3E 80 CC 01 */ lis r20, 0xcc01 +/* 8026D6C0 0026A620 48 00 01 20 */ b lbl_8026D7E0 +lbl_8026D6C4: +/* 8026D6C4 0026A624 56 45 04 3E */ clrlwi r5, r18, 0x10 +/* 8026D6C8 0026A628 38 60 00 98 */ li r3, 0x98 +/* 8026D6CC 0026A62C 38 80 00 00 */ li r4, 0 +/* 8026D6D0 0026A630 48 09 AE B5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026D6D4 0026A634 C0 35 00 18 */ lfs f1, 0x18(r21) +/* 8026D6D8 0026A638 FC 00 F0 90 */ fmr f0, f30 +/* 8026D6DC 0026A63C 2C 11 00 00 */ cmpwi r17, 0 +/* 8026D6E0 0026A640 7E 64 9B 78 */ mr r4, r19 +/* 8026D6E4 0026A644 EC 7A 08 2A */ fadds f3, f26, f1 +/* 8026D6E8 0026A648 7E 23 8B 78 */ mr r3, r17 +/* 8026D6EC 0026A64C 41 82 00 E0 */ beq lbl_8026D7CC +/* 8026D6F0 0026A650 56 20 F0 BF */ rlwinm. r0, r17, 0x1e, 2, 0x1f +/* 8026D6F4 0026A654 7C 09 03 A6 */ mtctr r0 +/* 8026D6F8 0026A658 41 82 00 A4 */ beq lbl_8026D79C +lbl_8026D6FC: +/* 8026D6FC 0026A65C C0 44 00 00 */ lfs f2, 0(r4) +/* 8026D700 0026A660 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D704 0026A664 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D708 0026A668 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D70C 0026A66C C0 44 01 68 */ lfs f2, 0x168(r4) +/* 8026D710 0026A670 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D714 0026A674 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D718 0026A678 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D71C 0026A67C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D720 0026A680 C0 44 00 08 */ lfs f2, 8(r4) +/* 8026D724 0026A684 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D728 0026A688 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D72C 0026A68C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D730 0026A690 C0 44 01 70 */ lfs f2, 0x170(r4) +/* 8026D734 0026A694 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D738 0026A698 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D73C 0026A69C D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D740 0026A6A0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D744 0026A6A4 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8026D748 0026A6A8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D74C 0026A6AC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D750 0026A6B0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D754 0026A6B4 C0 44 01 78 */ lfs f2, 0x178(r4) +/* 8026D758 0026A6B8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D75C 0026A6BC EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D760 0026A6C0 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D764 0026A6C4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D768 0026A6C8 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8026D76C 0026A6CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D770 0026A6D0 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D774 0026A6D4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D778 0026A6D8 C0 44 01 80 */ lfs f2, 0x180(r4) +/* 8026D77C 0026A6DC 38 84 00 20 */ addi r4, r4, 0x20 +/* 8026D780 0026A6E0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D784 0026A6E4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D788 0026A6E8 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D78C 0026A6EC D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D790 0026A6F0 42 00 FF 6C */ bdnz lbl_8026D6FC +/* 8026D794 0026A6F4 70 63 00 03 */ andi. r3, r3, 3 +/* 8026D798 0026A6F8 41 82 00 34 */ beq lbl_8026D7CC +lbl_8026D79C: +/* 8026D79C 0026A6FC 7C 69 03 A6 */ mtctr r3 +lbl_8026D7A0: +/* 8026D7A0 0026A700 C0 44 00 00 */ lfs f2, 0(r4) +/* 8026D7A4 0026A704 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D7A8 0026A708 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8026D7AC 0026A70C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D7B0 0026A710 C0 44 01 68 */ lfs f2, 0x168(r4) +/* 8026D7B4 0026A714 38 84 00 08 */ addi r4, r4, 8 +/* 8026D7B8 0026A718 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8026D7BC 0026A71C EC 00 08 2A */ fadds f0, f0, f1 +/* 8026D7C0 0026A720 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) +/* 8026D7C4 0026A724 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) +/* 8026D7C8 0026A728 42 00 FF D8 */ bdnz lbl_8026D7A0 +lbl_8026D7CC: +/* 8026D7CC 0026A72C 48 09 AD B5 */ bl End__3CGXFv +/* 8026D7D0 0026A730 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026D7D4 0026A734 3A 10 FF FF */ addi r16, r16, -1 +/* 8026D7D8 0026A738 3A 73 01 68 */ addi r19, r19, 0x168 +/* 8026D7DC 0026A73C EF 5A 00 2A */ fadds f26, f26, f0 +lbl_8026D7E0: +/* 8026D7E0 0026A740 2C 10 00 00 */ cmpwi r16, 0 +/* 8026D7E4 0026A744 41 81 FE E0 */ bgt lbl_8026D6C4 +/* 8026D7E8 0026A748 48 00 15 0C */ b lbl_8026ECF4 +lbl_8026D7EC: +/* 8026D7EC 0026A74C FC 20 F0 90 */ fmr f1, f30 +/* 8026D7F0 0026A750 7E E3 BB 78 */ mr r3, r23 +/* 8026D7F4 0026A754 FC 40 E8 90 */ fmr f2, f29 +/* 8026D7F8 0026A758 7E A5 AB 78 */ mr r5, r21 +/* 8026D7FC 0026A75C 48 00 1E C9 */ bl RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D800 0026A760 48 00 14 F4 */ b lbl_8026ECF4 +lbl_8026D804: +/* 8026D804 0026A764 FC 20 F0 90 */ fmr f1, f30 +/* 8026D808 0026A768 7E E3 BB 78 */ mr r3, r23 +/* 8026D80C 0026A76C FC 40 E8 90 */ fmr f2, f29 +/* 8026D810 0026A770 7E A5 AB 78 */ mr r5, r21 +/* 8026D814 0026A774 48 00 1D 35 */ bl RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D818 0026A778 48 00 14 DC */ b lbl_8026ECF4 +lbl_8026D81C: +/* 8026D81C 0026A77C FC 20 F0 90 */ fmr f1, f30 +/* 8026D820 0026A780 7E E3 BB 78 */ mr r3, r23 +/* 8026D824 0026A784 FC 40 E8 90 */ fmr f2, f29 +/* 8026D828 0026A788 7E A5 AB 78 */ mr r5, r21 +/* 8026D82C 0026A78C 48 00 1B 31 */ bl RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +/* 8026D830 0026A790 48 00 14 C4 */ b lbl_8026ECF4 +lbl_8026D834: +/* 8026D834 0026A794 88 C8 00 09 */ lbz r6, 9(r8) +/* 8026D838 0026A798 38 88 00 01 */ addi r4, r8, 1 +/* 8026D83C 0026A79C 88 08 FF FF */ lbz r0, -1(r8) +/* 8026D840 0026A7A0 38 A0 00 01 */ li r5, 1 +/* 8026D844 0026A7A4 54 D3 FF FF */ rlwinm. r19, r6, 0x1f, 0x1f, 0x1f +/* 8026D848 0026A7A8 88 E8 00 01 */ lbz r7, 1(r8) +/* 8026D84C 0026A7AC 88 C8 FF F7 */ lbz r6, -9(r8) +/* 8026D850 0026A7B0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8026D854 0026A7B4 7C 10 03 78 */ mr r16, r0 +/* 8026D858 0026A7B8 54 F2 F7 FE */ rlwinm r18, r7, 0x1e, 0x1f, 0x1f +/* 8026D85C 0026A7BC 54 D1 07 FE */ clrlwi r17, r6, 0x1f +/* 8026D860 0026A7C0 41 82 00 08 */ beq lbl_8026D868 +/* 8026D864 0026A7C4 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +lbl_8026D868: +/* 8026D868 0026A7C8 28 12 00 00 */ cmplwi r18, 0 +/* 8026D86C 0026A7CC 38 C5 00 02 */ addi r6, r5, 2 +/* 8026D870 0026A7D0 38 00 00 01 */ li r0, 1 +/* 8026D874 0026A7D4 41 82 00 08 */ beq lbl_8026D87C +/* 8026D878 0026A7D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026D87C: +/* 8026D87C 0026A7DC 28 11 00 00 */ cmplwi r17, 0 +/* 8026D880 0026A7E0 7C C6 02 14 */ add r6, r6, r0 +/* 8026D884 0026A7E4 38 A0 00 01 */ li r5, 1 +/* 8026D888 0026A7E8 41 82 00 08 */ beq lbl_8026D890 +/* 8026D88C 0026A7EC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +lbl_8026D890: +/* 8026D890 0026A7F0 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 8026D894 0026A7F4 7C C6 2A 14 */ add r6, r6, r5 +/* 8026D898 0026A7F8 38 00 00 01 */ li r0, 1 +/* 8026D89C 0026A7FC 41 82 00 08 */ beq lbl_8026D8A4 +/* 8026D8A0 0026A800 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026D8A4: +/* 8026D8A4 0026A804 7C C6 02 14 */ add r6, r6, r0 +/* 8026D8A8 0026A808 2C 06 00 06 */ cmpwi r6, 6 +/* 8026D8AC 0026A80C 40 82 03 20 */ bne lbl_8026DBCC +/* 8026D8B0 0026A810 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D8B4 0026A814 7C 00 07 74 */ extsb r0, r0 +/* 8026D8B8 0026A818 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D8BC 0026A81C 41 82 00 64 */ beq lbl_8026D920 +/* 8026D8C0 0026A820 2C 00 00 03 */ cmpwi r0, 3 +/* 8026D8C4 0026A824 40 82 03 08 */ bne lbl_8026DBCC +/* 8026D8C8 0026A828 48 00 00 58 */ b lbl_8026D920 +lbl_8026D8CC: +/* 8026D8CC 0026A82C 88 04 00 00 */ lbz r0, 0(r4) +/* 8026D8D0 0026A830 54 00 06 FE */ clrlwi r0, r0, 0x1b +/* 8026D8D4 0026A834 2C 00 00 1F */ cmpwi r0, 0x1f +/* 8026D8D8 0026A838 41 82 00 54 */ beq lbl_8026D92C +/* 8026D8DC 0026A83C 28 03 00 00 */ cmplwi r3, 0 +/* 8026D8E0 0026A840 41 82 00 14 */ beq lbl_8026D8F4 +/* 8026D8E4 0026A844 7C 18 B2 14 */ add r0, r24, r22 +/* 8026D8E8 0026A848 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8026D8EC 0026A84C 7C 00 07 75 */ extsb. r0, r0 +/* 8026D8F0 0026A850 41 82 00 3C */ beq lbl_8026D92C +lbl_8026D8F4: +/* 8026D8F4 0026A854 88 04 00 09 */ lbz r0, 9(r4) +/* 8026D8F8 0026A858 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8026D8FC 0026A85C 40 82 00 30 */ bne lbl_8026D92C +/* 8026D900 0026A860 88 04 00 01 */ lbz r0, 1(r4) +/* 8026D904 0026A864 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8026D908 0026A868 40 82 00 24 */ bne lbl_8026D92C +/* 8026D90C 0026A86C 88 04 FF F7 */ lbz r0, -9(r4) +/* 8026D910 0026A870 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8026D914 0026A874 40 82 00 18 */ bne lbl_8026D92C +/* 8026D918 0026A878 38 84 00 01 */ addi r4, r4, 1 +/* 8026D91C 0026A87C 3A D6 00 01 */ addi r22, r22, 1 +lbl_8026D920: +/* 8026D920 0026A880 7C 1A B2 14 */ add r0, r26, r22 +/* 8026D924 0026A884 7C 00 F8 00 */ cmpw r0, r31 +/* 8026D928 0026A888 40 81 FF A4 */ ble lbl_8026D8CC +lbl_8026D92C: +/* 8026D92C 0026A88C 3A 16 00 01 */ addi r16, r22, 1 +/* 8026D930 0026A890 38 60 00 98 */ li r3, 0x98 +/* 8026D934 0026A894 38 80 00 00 */ li r4, 0 +/* 8026D938 0026A898 56 05 0C 3C */ rlwinm r5, r16, 1, 0x10, 0x1e +/* 8026D93C 0026A89C 48 09 AC 49 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026D940 0026A8A0 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026D944 0026A8A4 7C 00 07 74 */ extsb r0, r0 +/* 8026D948 0026A8A8 2C 00 00 03 */ cmpwi r0, 3 +/* 8026D94C 0026A8AC 41 82 01 10 */ beq lbl_8026DA5C +/* 8026D950 0026A8B0 40 80 02 74 */ bge lbl_8026DBC4 +/* 8026D954 0026A8B4 2C 00 00 02 */ cmpwi r0, 2 +/* 8026D958 0026A8B8 40 80 00 08 */ bge lbl_8026D960 +/* 8026D95C 0026A8BC 48 00 02 68 */ b lbl_8026DBC4 +lbl_8026D960: +/* 8026D960 0026A8C0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026D964 0026A8C4 FC 40 F0 90 */ fmr f2, f30 +/* 8026D968 0026A8C8 7E E4 BB 78 */ mr r4, r23 +/* 8026D96C 0026A8CC 7E 06 83 78 */ mr r6, r16 +/* 8026D970 0026A8D0 1C A0 01 68 */ mulli r5, r0, 0x168 +/* 8026D974 0026A8D4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026D978 0026A8D8 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026D97C 0026A8DC 7C B7 2A 14 */ add r5, r23, r5 +/* 8026D980 0026A8E0 7E 09 03 A6 */ mtctr r16 +/* 8026D984 0026A8E4 2C 10 00 00 */ cmpwi r16, 0 +/* 8026D988 0026A8E8 40 81 02 3C */ ble lbl_8026DBC4 +lbl_8026D98C: +/* 8026D98C 0026A8EC C0 04 00 00 */ lfs f0, 0(r4) +/* 8026D990 0026A8F0 39 40 00 FF */ li r10, 0xff +/* 8026D994 0026A8F4 38 C6 FF FF */ addi r6, r6, -1 +/* 8026D998 0026A8F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026D99C 0026A8FC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026D9A0 0026A900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026D9A4 0026A904 89 24 00 06 */ lbz r9, 6(r4) +/* 8026D9A8 0026A908 89 04 00 05 */ lbz r8, 5(r4) +/* 8026D9AC 0026A90C 88 E4 00 04 */ lbz r7, 4(r4) +/* 8026D9B0 0026A910 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026D9B4 0026A914 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026D9B8 0026A918 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026D9BC 0026A91C 89 64 00 07 */ lbz r11, 7(r4) +/* 8026D9C0 0026A920 7C 84 02 14 */ add r4, r4, r0 +/* 8026D9C4 0026A924 88 F5 00 36 */ lbz r7, 0x36(r21) +/* 8026D9C8 0026A928 89 15 00 35 */ lbz r8, 0x35(r21) +/* 8026D9CC 0026A92C 7D 69 3E 30 */ sraw r9, r11, r7 +/* 8026D9D0 0026A930 88 F5 00 34 */ lbz r7, 0x34(r21) +/* 8026D9D4 0026A934 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026D9D8 0026A938 7D 67 3E 30 */ sraw r7, r11, r7 +/* 8026D9DC 0026A93C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026D9E0 0026A940 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026D9E4 0026A944 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026D9E8 0026A948 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026D9EC 0026A94C C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026D9F0 0026A950 C0 25 00 00 */ lfs f1, 0(r5) +/* 8026D9F4 0026A954 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8026D9F8 0026A958 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026D9FC 0026A95C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DA00 0026A960 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026DA04 0026A964 89 25 00 06 */ lbz r9, 6(r5) +/* 8026DA08 0026A968 89 05 00 05 */ lbz r8, 5(r5) +/* 8026DA0C 0026A96C 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026DA10 0026A970 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026DA14 0026A974 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DA18 0026A978 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DA1C 0026A97C 89 65 00 07 */ lbz r11, 7(r5) +/* 8026DA20 0026A980 7C A5 02 14 */ add r5, r5, r0 +/* 8026DA24 0026A984 88 F5 00 36 */ lbz r7, 0x36(r21) +/* 8026DA28 0026A988 89 15 00 35 */ lbz r8, 0x35(r21) +/* 8026DA2C 0026A98C 7D 69 3E 30 */ sraw r9, r11, r7 +/* 8026DA30 0026A990 88 F5 00 34 */ lbz r7, 0x34(r21) +/* 8026DA34 0026A994 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DA38 0026A998 7D 67 3E 30 */ sraw r7, r11, r7 +/* 8026DA3C 0026A99C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026DA40 0026A9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DA44 0026A9A4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DA48 0026A9A8 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DA4C 0026A9AC C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DA50 0026A9B0 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026DA54 0026A9B4 42 00 FF 38 */ bdnz lbl_8026D98C +/* 8026DA58 0026A9B8 48 00 01 6C */ b lbl_8026DBC4 +lbl_8026DA5C: +/* 8026DA5C 0026A9BC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +/* 8026DA60 0026A9C0 FC 40 F0 90 */ fmr f2, f30 +/* 8026DA64 0026A9C4 7E E5 BB 78 */ mr r5, r23 +/* 8026DA68 0026A9C8 7E 07 83 78 */ mr r7, r16 +/* 8026DA6C 0026A9CC 1C 03 01 68 */ mulli r0, r3, 0x168 +/* 8026DA70 0026A9D0 54 64 18 38 */ slwi r4, r3, 3 +/* 8026DA74 0026A9D4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026DA78 0026A9D8 7C D7 02 14 */ add r6, r23, r0 +/* 8026DA7C 0026A9DC 7E 09 03 A6 */ mtctr r16 +/* 8026DA80 0026A9E0 2C 10 00 00 */ cmpwi r16, 0 +/* 8026DA84 0026A9E4 40 81 01 40 */ ble lbl_8026DBC4 +lbl_8026DA88: +/* 8026DA88 0026A9E8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026DA8C 0026A9EC 38 00 00 FF */ li r0, 0xff +/* 8026DA90 0026A9F0 38 E7 FF FF */ addi r7, r7, -1 +/* 8026DA94 0026A9F4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DA98 0026A9F8 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026DA9C 0026A9FC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DAA0 0026AA00 89 45 00 06 */ lbz r10, 6(r5) +/* 8026DAA4 0026AA04 89 25 00 05 */ lbz r9, 5(r5) +/* 8026DAA8 0026AA08 89 05 00 04 */ lbz r8, 4(r5) +/* 8026DAAC 0026AA0C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DAB0 0026AA10 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAB4 0026AA14 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAB8 0026AA18 89 25 00 05 */ lbz r9, 5(r5) +/* 8026DABC 0026AA1C 89 45 00 06 */ lbz r10, 6(r5) +/* 8026DAC0 0026AA20 89 05 00 04 */ lbz r8, 4(r5) +/* 8026DAC4 0026AA24 7D 29 00 D0 */ neg r9, r9 +/* 8026DAC8 0026AA28 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DACC 0026AA2C 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAD0 0026AA30 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAD4 0026AA34 89 25 00 04 */ lbz r9, 4(r5) +/* 8026DAD8 0026AA38 89 45 00 05 */ lbz r10, 5(r5) +/* 8026DADC 0026AA3C 89 05 00 06 */ lbz r8, 6(r5) +/* 8026DAE0 0026AA40 7D 29 00 D0 */ neg r9, r9 +/* 8026DAE4 0026AA44 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DAE8 0026AA48 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DAEC 0026AA4C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DAF0 0026AA50 89 65 00 07 */ lbz r11, 7(r5) +/* 8026DAF4 0026AA54 7C A5 22 14 */ add r5, r5, r4 +/* 8026DAF8 0026AA58 89 15 00 36 */ lbz r8, 0x36(r21) +/* 8026DAFC 0026AA5C 89 35 00 35 */ lbz r9, 0x35(r21) +/* 8026DB00 0026AA60 7D 6A 46 30 */ sraw r10, r11, r8 +/* 8026DB04 0026AA64 89 15 00 34 */ lbz r8, 0x34(r21) +/* 8026DB08 0026AA68 7D 69 4E 30 */ sraw r9, r11, r9 +/* 8026DB0C 0026AA6C 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DB10 0026AA70 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB14 0026AA74 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB18 0026AA78 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB1C 0026AA7C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026DB20 0026AA80 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DB24 0026AA84 C0 26 00 00 */ lfs f1, 0(r6) +/* 8026DB28 0026AA88 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8026DB2C 0026AA8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DB30 0026AA90 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DB34 0026AA94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026DB38 0026AA98 89 46 00 06 */ lbz r10, 6(r6) +/* 8026DB3C 0026AA9C 89 26 00 05 */ lbz r9, 5(r6) +/* 8026DB40 0026AAA0 89 06 00 04 */ lbz r8, 4(r6) +/* 8026DB44 0026AAA4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB48 0026AAA8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB4C 0026AAAC 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB50 0026AAB0 89 26 00 05 */ lbz r9, 5(r6) +/* 8026DB54 0026AAB4 89 46 00 06 */ lbz r10, 6(r6) +/* 8026DB58 0026AAB8 89 06 00 04 */ lbz r8, 4(r6) +/* 8026DB5C 0026AABC 7D 29 00 D0 */ neg r9, r9 +/* 8026DB60 0026AAC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB64 0026AAC4 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB68 0026AAC8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB6C 0026AACC 89 26 00 04 */ lbz r9, 4(r6) +/* 8026DB70 0026AAD0 89 46 00 05 */ lbz r10, 5(r6) +/* 8026DB74 0026AAD4 89 06 00 06 */ lbz r8, 6(r6) +/* 8026DB78 0026AAD8 7D 29 00 D0 */ neg r9, r9 +/* 8026DB7C 0026AADC 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DB80 0026AAE0 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DB84 0026AAE4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DB88 0026AAE8 89 66 00 07 */ lbz r11, 7(r6) +/* 8026DB8C 0026AAEC 7C C6 22 14 */ add r6, r6, r4 +/* 8026DB90 0026AAF0 89 15 00 36 */ lbz r8, 0x36(r21) +/* 8026DB94 0026AAF4 89 35 00 35 */ lbz r9, 0x35(r21) +/* 8026DB98 0026AAF8 7D 6A 46 30 */ sraw r10, r11, r8 +/* 8026DB9C 0026AAFC 89 15 00 34 */ lbz r8, 0x34(r21) +/* 8026DBA0 0026AB00 7D 69 4E 30 */ sraw r9, r11, r9 +/* 8026DBA4 0026AB04 7D 68 46 30 */ sraw r8, r11, r8 +/* 8026DBA8 0026AB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026DBAC 0026AB0C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026DBB0 0026AB10 99 43 80 00 */ stb r10, 0xCC008000@l(r3) +/* 8026DBB4 0026AB14 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026DBB8 0026AB18 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DBBC 0026AB1C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026DBC0 0026AB20 42 00 FE C8 */ bdnz lbl_8026DA88 +lbl_8026DBC4: +/* 8026DBC4 0026AB24 48 09 A9 BD */ bl End__3CGXFv +/* 8026DBC8 0026AB28 48 00 11 2C */ b lbl_8026ECF4 +lbl_8026DBCC: +/* 8026DBCC 0026AB2C 54 C5 04 3E */ clrlwi r5, r6, 0x10 +/* 8026DBD0 0026AB30 38 60 00 A0 */ li r3, 0xa0 +/* 8026DBD4 0026AB34 38 80 00 00 */ li r4, 0 +/* 8026DBD8 0026AB38 48 09 A9 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026DBDC 0026AB3C 88 15 00 37 */ lbz r0, 0x37(r21) +/* 8026DBE0 0026AB40 7C 00 07 74 */ extsb r0, r0 +/* 8026DBE4 0026AB44 2C 00 00 02 */ cmpwi r0, 2 +/* 8026DBE8 0026AB48 41 82 09 04 */ beq lbl_8026E4EC +/* 8026DBEC 0026AB4C 40 80 00 14 */ bge lbl_8026DC00 +/* 8026DBF0 0026AB50 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DBF4 0026AB54 41 82 00 18 */ beq lbl_8026DC0C +/* 8026DBF8 0026AB58 40 80 05 18 */ bge lbl_8026E110 +/* 8026DBFC 0026AB5C 48 00 10 F4 */ b lbl_8026ECF0 +lbl_8026DC00: +/* 8026DC00 0026AB60 2C 00 00 04 */ cmpwi r0, 4 +/* 8026DC04 0026AB64 40 80 10 EC */ bge lbl_8026ECF0 +/* 8026DC08 0026AB68 48 00 0D BC */ b lbl_8026E9C4 +lbl_8026DC0C: +/* 8026DC0C 0026AB6C EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026DC10 0026AB70 7C 5E BC 2E */ lfsx f2, r30, r23 +/* 8026DC14 0026AB74 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026DC18 0026AB78 FC 20 F0 90 */ fmr f1, f30 +/* 8026DC1C 0026AB7C 28 13 00 00 */ cmplwi r19, 0 +/* 8026DC20 0026AB80 7C B7 EA 14 */ add r5, r23, r29 +/* 8026DC24 0026AB84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026DC28 0026AB88 38 00 00 01 */ li r0, 1 +/* 8026DC2C 0026AB8C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026DC30 0026AB90 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026DC34 0026AB94 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DC38 0026AB98 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026DC3C 0026AB9C 41 82 00 08 */ beq lbl_8026DC44 +/* 8026DC40 0026ABA0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DC44: +/* 8026DC44 0026ABA4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DC48 0026ABA8 7C 03 03 78 */ mr r3, r0 +/* 8026DC4C 0026ABAC 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DC50 0026ABB0 40 81 01 04 */ ble lbl_8026DD54 +/* 8026DC54 0026ABB4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DC58 0026ABB8 7C 09 03 A6 */ mtctr r0 +/* 8026DC5C 0026ABBC 41 82 00 D4 */ beq lbl_8026DD30 +lbl_8026DC60: +/* 8026DC60 0026ABC0 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DC64 0026ABC4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC68 0026ABC8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC6C 0026ABCC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DC70 0026ABD0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DC74 0026ABD4 C0 65 00 08 */ lfs f3, 8(r5) +/* 8026DC78 0026ABD8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DC7C 0026ABDC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC80 0026ABE0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC84 0026ABE4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DC88 0026ABE8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DC8C 0026ABEC C0 65 00 10 */ lfs f3, 0x10(r5) +/* 8026DC90 0026ABF0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DC94 0026ABF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DC98 0026ABF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DC9C 0026ABFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCA0 0026AC00 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCA4 0026AC04 C0 65 00 18 */ lfs f3, 0x18(r5) +/* 8026DCA8 0026AC08 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCAC 0026AC0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCB0 0026AC10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCB4 0026AC14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCB8 0026AC18 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCBC 0026AC1C C0 65 00 20 */ lfs f3, 0x20(r5) +/* 8026DCC0 0026AC20 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCC4 0026AC24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCC8 0026AC28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCCC 0026AC2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCD0 0026AC30 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCD4 0026AC34 C0 65 00 28 */ lfs f3, 0x28(r5) +/* 8026DCD8 0026AC38 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCDC 0026AC3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCE0 0026AC40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCE4 0026AC44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DCE8 0026AC48 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DCEC 0026AC4C C0 65 00 30 */ lfs f3, 0x30(r5) +/* 8026DCF0 0026AC50 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DCF4 0026AC54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DCF8 0026AC58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DCFC 0026AC5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD00 0026AC60 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD04 0026AC64 C0 65 00 38 */ lfs f3, 0x38(r5) +/* 8026DD08 0026AC68 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8026DD0C 0026AC6C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD10 0026AC70 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD14 0026AC74 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD18 0026AC78 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD1C 0026AC7C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD20 0026AC80 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD24 0026AC84 42 00 FF 3C */ bdnz lbl_8026DC60 +/* 8026DD28 0026AC88 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DD2C 0026AC8C 41 82 00 28 */ beq lbl_8026DD54 +lbl_8026DD30: +/* 8026DD30 0026AC90 7C 69 03 A6 */ mtctr r3 +lbl_8026DD34: +/* 8026DD34 0026AC94 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DD38 0026AC98 38 A5 00 08 */ addi r5, r5, 8 +/* 8026DD3C 0026AC9C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD40 0026ACA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD44 0026ACA4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DD48 0026ACA8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DD4C 0026ACAC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DD50 0026ACB0 42 00 FF E4 */ bdnz lbl_8026DD34 +lbl_8026DD54: +/* 8026DD54 0026ACB4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DD58 0026ACB8 28 12 00 00 */ cmplwi r18, 0 +/* 8026DD5C 0026ACBC 7C B7 E2 14 */ add r5, r23, r28 +/* 8026DD60 0026ACC0 38 00 00 01 */ li r0, 1 +/* 8026DD64 0026ACC4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026DD68 0026ACC8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026DD6C 0026ACCC 41 82 00 08 */ beq lbl_8026DD74 +/* 8026DD70 0026ACD0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DD74: +/* 8026DD74 0026ACD4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DD78 0026ACD8 7C 03 03 78 */ mr r3, r0 +/* 8026DD7C 0026ACDC 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DD80 0026ACE0 40 81 01 04 */ ble lbl_8026DE84 +/* 8026DD84 0026ACE4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DD88 0026ACE8 7C 09 03 A6 */ mtctr r0 +/* 8026DD8C 0026ACEC 41 82 00 D4 */ beq lbl_8026DE60 +lbl_8026DD90: +/* 8026DD90 0026ACF0 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DD94 0026ACF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DD98 0026ACF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DD9C 0026ACFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDA0 0026AD00 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDA4 0026AD04 C0 65 FE 98 */ lfs f3, -0x168(r5) +/* 8026DDA8 0026AD08 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDAC 0026AD0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDB0 0026AD10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDB4 0026AD14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDB8 0026AD18 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDBC 0026AD1C C0 65 FD 30 */ lfs f3, -0x2d0(r5) +/* 8026DDC0 0026AD20 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDC4 0026AD24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDC8 0026AD28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDCC 0026AD2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDD0 0026AD30 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDD4 0026AD34 C0 65 FB C8 */ lfs f3, -0x438(r5) +/* 8026DDD8 0026AD38 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDDC 0026AD3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDE0 0026AD40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDE4 0026AD44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DDE8 0026AD48 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DDEC 0026AD4C C0 65 FA 60 */ lfs f3, -0x5a0(r5) +/* 8026DDF0 0026AD50 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DDF4 0026AD54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DDF8 0026AD58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DDFC 0026AD5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE00 0026AD60 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE04 0026AD64 C0 65 F8 F8 */ lfs f3, -0x708(r5) +/* 8026DE08 0026AD68 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE0C 0026AD6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE10 0026AD70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE14 0026AD74 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE18 0026AD78 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE1C 0026AD7C C0 65 F7 90 */ lfs f3, -0x870(r5) +/* 8026DE20 0026AD80 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE24 0026AD84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE28 0026AD88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE2C 0026AD8C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE30 0026AD90 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE34 0026AD94 C0 65 F6 28 */ lfs f3, -0x9d8(r5) +/* 8026DE38 0026AD98 38 A5 F4 C0 */ addi r5, r5, -2880 +/* 8026DE3C 0026AD9C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE40 0026ADA0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE44 0026ADA4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE48 0026ADA8 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE4C 0026ADAC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE50 0026ADB0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE54 0026ADB4 42 00 FF 3C */ bdnz lbl_8026DD90 +/* 8026DE58 0026ADB8 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DE5C 0026ADBC 41 82 00 28 */ beq lbl_8026DE84 +lbl_8026DE60: +/* 8026DE60 0026ADC0 7C 69 03 A6 */ mtctr r3 +lbl_8026DE64: +/* 8026DE64 0026ADC4 C0 65 00 00 */ lfs f3, 0(r5) +/* 8026DE68 0026ADC8 38 A5 FE 98 */ addi r5, r5, -360 +/* 8026DE6C 0026ADCC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DE70 0026ADD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DE74 0026ADD4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8026DE78 0026ADD8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DE7C 0026ADDC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026DE80 0026ADE0 42 00 FF E4 */ bdnz lbl_8026DE64 +lbl_8026DE84: +/* 8026DE84 0026ADE4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026DE88 0026ADE8 28 11 00 00 */ cmplwi r17, 0 +/* 8026DE8C 0026ADEC 7C B7 DA 14 */ add r5, r23, r27 +/* 8026DE90 0026ADF0 38 00 00 01 */ li r0, 1 +/* 8026DE94 0026ADF4 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026DE98 0026ADF8 41 82 00 08 */ beq lbl_8026DEA0 +/* 8026DE9C 0026ADFC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026DEA0: +/* 8026DEA0 0026AE00 2C 00 00 00 */ cmpwi r0, 0 +/* 8026DEA4 0026AE04 7C 03 03 78 */ mr r3, r0 +/* 8026DEA8 0026AE08 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DEAC 0026AE0C 40 81 01 04 */ ble lbl_8026DFB0 +/* 8026DEB0 0026AE10 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8026DEB4 0026AE14 7C 09 03 A6 */ mtctr r0 +/* 8026DEB8 0026AE18 41 82 00 D4 */ beq lbl_8026DF8C +lbl_8026DEBC: +/* 8026DEBC 0026AE1C C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DEC0 0026AE20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEC4 0026AE24 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEC8 0026AE28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DECC 0026AE2C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DED0 0026AE30 C0 45 FF F8 */ lfs f2, -8(r5) +/* 8026DED4 0026AE34 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DED8 0026AE38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEDC 0026AE3C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEE0 0026AE40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DEE4 0026AE44 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DEE8 0026AE48 C0 45 FF F0 */ lfs f2, -0x10(r5) +/* 8026DEEC 0026AE4C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DEF0 0026AE50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DEF4 0026AE54 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DEF8 0026AE58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DEFC 0026AE5C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF00 0026AE60 C0 45 FF E8 */ lfs f2, -0x18(r5) +/* 8026DF04 0026AE64 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF08 0026AE68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF0C 0026AE6C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF10 0026AE70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF14 0026AE74 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF18 0026AE78 C0 45 FF E0 */ lfs f2, -0x20(r5) +/* 8026DF1C 0026AE7C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF20 0026AE80 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF24 0026AE84 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF28 0026AE88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF2C 0026AE8C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF30 0026AE90 C0 45 FF D8 */ lfs f2, -0x28(r5) +/* 8026DF34 0026AE94 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF38 0026AE98 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF3C 0026AE9C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF40 0026AEA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF44 0026AEA4 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF48 0026AEA8 C0 45 FF D0 */ lfs f2, -0x30(r5) +/* 8026DF4C 0026AEAC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF50 0026AEB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF54 0026AEB4 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF58 0026AEB8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF5C 0026AEBC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF60 0026AEC0 C0 45 FF C8 */ lfs f2, -0x38(r5) +/* 8026DF64 0026AEC4 38 A5 FF C0 */ addi r5, r5, -64 +/* 8026DF68 0026AEC8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF6C 0026AECC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF70 0026AED0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DF74 0026AED4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DF78 0026AED8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DF7C 0026AEDC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DF80 0026AEE0 42 00 FF 3C */ bdnz lbl_8026DEBC +/* 8026DF84 0026AEE4 70 63 00 07 */ andi. r3, r3, 7 +/* 8026DF88 0026AEE8 41 82 00 28 */ beq lbl_8026DFB0 +lbl_8026DF8C: +/* 8026DF8C 0026AEEC 7C 69 03 A6 */ mtctr r3 +lbl_8026DF90: +/* 8026DF90 0026AEF0 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DF94 0026AEF4 38 A5 FF F8 */ addi r5, r5, -8 +/* 8026DF98 0026AEF8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DF9C 0026AEFC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) +/* 8026DFA0 0026AF00 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DFA4 0026AF04 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DFA8 0026AF08 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026DFAC 0026AF0C 42 00 FF E4 */ bdnz lbl_8026DF90 +lbl_8026DFB0: +/* 8026DFB0 0026AF10 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 8026DFB4 0026AF14 FC 20 E8 90 */ fmr f1, f29 +/* 8026DFB8 0026AF18 7E E5 BB 78 */ mr r5, r23 +/* 8026DFBC 0026AF1C 41 82 01 1C */ beq lbl_8026E0D8 +/* 8026DFC0 0026AF20 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) +/* 8026DFC4 0026AF24 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8026DFC8 0026AF28 2C 03 00 00 */ cmpwi r3, 0 +/* 8026DFCC 0026AF2C 38 63 00 01 */ addi r3, r3, 1 +/* 8026DFD0 0026AF30 41 80 0D 20 */ blt lbl_8026ECF0 +/* 8026DFD4 0026AF34 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8026DFD8 0026AF38 7C 09 03 A6 */ mtctr r0 +/* 8026DFDC 0026AF3C 41 82 00 D4 */ beq lbl_8026E0B0 +lbl_8026DFE0: +/* 8026DFE0 0026AF40 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026DFE4 0026AF44 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026DFE8 0026AF48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026DFEC 0026AF4C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026DFF0 0026AF50 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026DFF4 0026AF54 C0 45 01 68 */ lfs f2, 0x168(r5) +/* 8026DFF8 0026AF58 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026DFFC 0026AF5C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E000 0026AF60 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E004 0026AF64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E008 0026AF68 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E00C 0026AF6C C0 45 02 D0 */ lfs f2, 0x2d0(r5) +/* 8026E010 0026AF70 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E014 0026AF74 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E018 0026AF78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E01C 0026AF7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E020 0026AF80 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E024 0026AF84 C0 45 04 38 */ lfs f2, 0x438(r5) +/* 8026E028 0026AF88 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E02C 0026AF8C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E030 0026AF90 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E034 0026AF94 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E038 0026AF98 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E03C 0026AF9C C0 45 05 A0 */ lfs f2, 0x5a0(r5) +/* 8026E040 0026AFA0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E044 0026AFA4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E048 0026AFA8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E04C 0026AFAC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E050 0026AFB0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E054 0026AFB4 C0 45 07 08 */ lfs f2, 0x708(r5) +/* 8026E058 0026AFB8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E05C 0026AFBC D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E060 0026AFC0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E064 0026AFC4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E068 0026AFC8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E06C 0026AFCC C0 45 08 70 */ lfs f2, 0x870(r5) +/* 8026E070 0026AFD0 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E074 0026AFD4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E078 0026AFD8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E07C 0026AFDC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E080 0026AFE0 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E084 0026AFE4 C0 45 09 D8 */ lfs f2, 0x9d8(r5) +/* 8026E088 0026AFE8 38 A5 0B 40 */ addi r5, r5, 0xb40 +/* 8026E08C 0026AFEC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E090 0026AFF0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E094 0026AFF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E098 0026AFF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E09C 0026AFFC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E0A0 0026B000 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E0A4 0026B004 42 00 FF 3C */ bdnz lbl_8026DFE0 +/* 8026E0A8 0026B008 70 63 00 07 */ andi. r3, r3, 7 +/* 8026E0AC 0026B00C 41 82 0C 44 */ beq lbl_8026ECF0 +lbl_8026E0B0: +/* 8026E0B0 0026B010 7C 69 03 A6 */ mtctr r3 +lbl_8026E0B4: +/* 8026E0B4 0026B014 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026E0B8 0026B018 38 A5 01 68 */ addi r5, r5, 0x168 +/* 8026E0BC 0026B01C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 8026E0C0 0026B020 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8026E0C4 0026B024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8026E0C8 0026B028 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E0CC 0026B02C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E0D0 0026B030 42 00 FF E4 */ bdnz lbl_8026E0B4 +/* 8026E0D4 0026B034 48 00 0C 1C */ b lbl_8026ECF0 +lbl_8026E0D8: +/* 8026E0D8 0026B038 C0 17 00 00 */ lfs f0, 0(r23) +/* 8026E0DC 0026B03C 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E0E0 0026B040 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026E0E4 0026B044 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026E0E8 0026B048 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E0EC 0026B04C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026E0F0 0026B050 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E0F4 0026B054 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026E0F8 0026B058 EC 1D 00 2A */ fadds f0, f29, f0 +/* 8026E0FC 0026B05C 7C 37 04 2E */ lfsx f1, r23, r0 +/* 8026E100 0026B060 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8026E104 0026B064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E108 0026B068 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E10C 0026B06C 48 00 0B E4 */ b lbl_8026ECF0 +lbl_8026E110: +/* 8026E110 0026B070 7C BE BA 14 */ add r5, r30, r23 +/* 8026E114 0026B074 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E118 0026B078 C0 45 00 00 */ lfs f2, 0(r5) +/* 8026E11C 0026B07C 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026E120 0026B080 38 80 00 FF */ li r4, 0xff +/* 8026E124 0026B084 FC 20 F0 90 */ fmr f1, f30 +/* 8026E128 0026B088 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026E12C 0026B08C 28 13 00 00 */ cmplwi r19, 0 +/* 8026E130 0026B090 7C 77 EA 14 */ add r3, r23, r29 +/* 8026E134 0026B094 D3 88 80 00 */ stfs f28, 0xCC008000@l(r8) +/* 8026E138 0026B098 38 00 00 01 */ li r0, 1 +/* 8026E13C 0026B09C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E140 0026B0A0 89 25 00 07 */ lbz r9, 7(r5) +/* 8026E144 0026B0A4 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E148 0026B0A8 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E14C 0026B0AC 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E150 0026B0B0 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E154 0026B0B4 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E158 0026B0B8 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E15C 0026B0BC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E160 0026B0C0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E164 0026B0C4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E168 0026B0C8 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026E16C 0026B0CC C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E170 0026B0D0 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E174 0026B0D4 41 82 00 08 */ beq lbl_8026E17C +/* 8026E178 0026B0D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E17C: +/* 8026E17C 0026B0DC 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E180 0026B0E0 7C 04 03 78 */ mr r4, r0 +/* 8026E184 0026B0E4 3D 00 CC 01 */ lis r8, 0xcc01 +/* 8026E188 0026B0E8 38 A0 00 FF */ li r5, 0xff +/* 8026E18C 0026B0EC 40 81 00 F8 */ ble lbl_8026E284 +/* 8026E190 0026B0F0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E194 0026B0F4 7C 09 03 A6 */ mtctr r0 +/* 8026E198 0026B0F8 41 82 00 9C */ beq lbl_8026E234 +lbl_8026E19C: +/* 8026E19C 0026B0FC C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E1A0 0026B100 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E1A4 0026B104 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E1A8 0026B108 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E1AC 0026B10C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E1B0 0026B110 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E1B4 0026B114 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E1B8 0026B118 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E1BC 0026B11C 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E1C0 0026B120 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E1C4 0026B124 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E1C8 0026B128 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E1CC 0026B12C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E1D0 0026B130 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E1D4 0026B134 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E1D8 0026B138 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E1DC 0026B13C C0 63 00 08 */ lfs f3, 8(r3) +/* 8026E1E0 0026B140 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E1E4 0026B144 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E1E8 0026B148 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E1EC 0026B14C D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E1F0 0026B150 89 23 00 0F */ lbz r9, 0xf(r3) +/* 8026E1F4 0026B154 38 63 00 10 */ addi r3, r3, 0x10 +/* 8026E1F8 0026B158 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E1FC 0026B15C 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E200 0026B160 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E204 0026B164 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E208 0026B168 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E20C 0026B16C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E210 0026B170 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E214 0026B174 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E218 0026B178 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E21C 0026B17C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E220 0026B180 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E224 0026B184 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E228 0026B188 42 00 FF 74 */ bdnz lbl_8026E19C +/* 8026E22C 0026B18C 70 84 00 01 */ andi. r4, r4, 1 +/* 8026E230 0026B190 41 82 00 54 */ beq lbl_8026E284 +lbl_8026E234: +/* 8026E234 0026B194 7C 89 03 A6 */ mtctr r4 +lbl_8026E238: +/* 8026E238 0026B198 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E23C 0026B19C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E240 0026B1A0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E244 0026B1A4 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E248 0026B1A8 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E24C 0026B1AC 38 63 00 08 */ addi r3, r3, 8 +/* 8026E250 0026B1B0 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E254 0026B1B4 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E258 0026B1B8 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026E25C 0026B1BC 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E260 0026B1C0 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E264 0026B1C4 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E268 0026B1C8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E26C 0026B1CC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E270 0026B1D0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E274 0026B1D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E278 0026B1D8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E27C 0026B1DC EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E280 0026B1E0 42 00 FF B8 */ bdnz lbl_8026E238 +lbl_8026E284: +/* 8026E284 0026B1E4 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E288 0026B1E8 28 12 00 00 */ cmplwi r18, 0 +/* 8026E28C 0026B1EC 7D 17 E2 14 */ add r8, r23, r28 +/* 8026E290 0026B1F0 38 00 00 01 */ li r0, 1 +/* 8026E294 0026B1F4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E298 0026B1F8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E29C 0026B1FC 41 82 00 08 */ beq lbl_8026E2A4 +/* 8026E2A0 0026B200 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E2A4: +/* 8026E2A4 0026B204 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E2A8 0026B208 7C 03 03 78 */ mr r3, r0 +/* 8026E2AC 0026B20C 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E2B0 0026B210 38 80 00 FF */ li r4, 0xff +/* 8026E2B4 0026B214 40 81 00 F8 */ ble lbl_8026E3AC +/* 8026E2B8 0026B218 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E2BC 0026B21C 7C 09 03 A6 */ mtctr r0 +/* 8026E2C0 0026B220 41 82 00 9C */ beq lbl_8026E35C +lbl_8026E2C4: +/* 8026E2C4 0026B224 C0 68 00 00 */ lfs f3, 0(r8) +/* 8026E2C8 0026B228 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E2CC 0026B22C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E2D0 0026B230 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E2D4 0026B234 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E2D8 0026B238 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E2DC 0026B23C 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E2E0 0026B240 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E2E4 0026B244 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E2E8 0026B248 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E2EC 0026B24C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E2F0 0026B250 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E2F4 0026B254 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E2F8 0026B258 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E2FC 0026B25C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E300 0026B260 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E304 0026B264 C0 68 FE 98 */ lfs f3, -0x168(r8) +/* 8026E308 0026B268 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E30C 0026B26C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E310 0026B270 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E314 0026B274 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E318 0026B278 89 28 FE 9F */ lbz r9, -0x161(r8) +/* 8026E31C 0026B27C 39 08 FD 30 */ addi r8, r8, -720 +/* 8026E320 0026B280 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E324 0026B284 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E328 0026B288 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E32C 0026B28C 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E330 0026B290 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E334 0026B294 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E338 0026B298 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E33C 0026B29C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E340 0026B2A0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E344 0026B2A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E348 0026B2A8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E34C 0026B2AC EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E350 0026B2B0 42 00 FF 74 */ bdnz lbl_8026E2C4 +/* 8026E354 0026B2B4 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E358 0026B2B8 41 82 00 54 */ beq lbl_8026E3AC +lbl_8026E35C: +/* 8026E35C 0026B2BC 7C 69 03 A6 */ mtctr r3 +lbl_8026E360: +/* 8026E360 0026B2C0 C0 68 00 00 */ lfs f3, 0(r8) +/* 8026E364 0026B2C4 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E368 0026B2C8 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E36C 0026B2CC D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) +/* 8026E370 0026B2D0 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E374 0026B2D4 39 08 FE 98 */ addi r8, r8, -360 +/* 8026E378 0026B2D8 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E37C 0026B2DC 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E380 0026B2E0 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E384 0026B2E4 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E388 0026B2E8 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E38C 0026B2EC 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E390 0026B2F0 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E394 0026B2F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E398 0026B2F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E39C 0026B2FC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E3A0 0026B300 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E3A4 0026B304 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E3A8 0026B308 42 00 FF B8 */ bdnz lbl_8026E360 +lbl_8026E3AC: +/* 8026E3AC 0026B30C C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E3B0 0026B310 28 11 00 00 */ cmplwi r17, 0 +/* 8026E3B4 0026B314 7D 17 DA 14 */ add r8, r23, r27 +/* 8026E3B8 0026B318 38 00 00 01 */ li r0, 1 +/* 8026E3BC 0026B31C EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E3C0 0026B320 41 82 00 08 */ beq lbl_8026E3C8 +/* 8026E3C4 0026B324 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E3C8: +/* 8026E3C8 0026B328 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E3CC 0026B32C 7C 03 03 78 */ mr r3, r0 +/* 8026E3D0 0026B330 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E3D4 0026B334 38 80 00 FF */ li r4, 0xff +/* 8026E3D8 0026B338 40 81 00 F8 */ ble lbl_8026E4D0 +/* 8026E3DC 0026B33C 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E3E0 0026B340 7C 09 03 A6 */ mtctr r0 +/* 8026E3E4 0026B344 41 82 00 9C */ beq lbl_8026E480 +lbl_8026E3E8: +/* 8026E3E8 0026B348 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E3EC 0026B34C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E3F0 0026B350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E3F4 0026B354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E3F8 0026B358 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E3FC 0026B35C 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E400 0026B360 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E404 0026B364 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E408 0026B368 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E40C 0026B36C 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E410 0026B370 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E414 0026B374 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E418 0026B378 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E41C 0026B37C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E420 0026B380 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E424 0026B384 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E428 0026B388 C0 48 FF F8 */ lfs f2, -8(r8) +/* 8026E42C 0026B38C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E430 0026B390 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E434 0026B394 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E438 0026B398 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E43C 0026B39C 89 28 FF FF */ lbz r9, -1(r8) +/* 8026E440 0026B3A0 39 08 FF F0 */ addi r8, r8, -16 +/* 8026E444 0026B3A4 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E448 0026B3A8 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E44C 0026B3AC 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E450 0026B3B0 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E454 0026B3B4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E458 0026B3B8 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E45C 0026B3BC 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E460 0026B3C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E464 0026B3C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E468 0026B3C8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E46C 0026B3CC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E470 0026B3D0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E474 0026B3D4 42 00 FF 74 */ bdnz lbl_8026E3E8 +/* 8026E478 0026B3D8 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E47C 0026B3DC 41 82 00 54 */ beq lbl_8026E4D0 +lbl_8026E480: +/* 8026E480 0026B3E0 7C 69 03 A6 */ mtctr r3 +lbl_8026E484: +/* 8026E484 0026B3E4 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E488 0026B3E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E48C 0026B3EC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E490 0026B3F0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E494 0026B3F4 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E498 0026B3F8 39 08 FF F8 */ addi r8, r8, -8 +/* 8026E49C 0026B3FC 88 15 00 36 */ lbz r0, 0x36(r21) +/* 8026E4A0 0026B400 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E4A4 0026B404 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026E4A8 0026B408 88 15 00 34 */ lbz r0, 0x34(r21) +/* 8026E4AC 0026B40C 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E4B0 0026B410 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026E4B4 0026B414 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E4B8 0026B418 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E4BC 0026B41C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E4C0 0026B420 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E4C4 0026B424 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E4C8 0026B428 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E4CC 0026B42C 42 00 FF B8 */ bdnz lbl_8026E484 +lbl_8026E4D0: +/* 8026E4D0 0026B430 FC 20 F0 90 */ fmr f1, f30 +/* 8026E4D4 0026B434 7E E3 BB 78 */ mr r3, r23 +/* 8026E4D8 0026B438 FC 40 E8 90 */ fmr f2, f29 +/* 8026E4DC 0026B43C 7E A4 AB 78 */ mr r4, r21 +/* 8026E4E0 0026B440 7E 05 83 78 */ mr r5, r16 +/* 8026E4E4 0026B444 48 00 0C C9 */ bl sub_8026f1ac +/* 8026E4E8 0026B448 48 00 08 08 */ b lbl_8026ECF0 +lbl_8026E4EC: +/* 8026E4EC 0026B44C 7D 3E BA 14 */ add r9, r30, r23 +/* 8026E4F0 0026B450 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E4F4 0026B454 C0 49 00 00 */ lfs f2, 0(r9) +/* 8026E4F8 0026B458 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E4FC 0026B45C 38 A0 00 FF */ li r5, 0xff +/* 8026E500 0026B460 FC 20 F0 90 */ fmr f1, f30 +/* 8026E504 0026B464 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E508 0026B468 28 13 00 00 */ cmplwi r19, 0 +/* 8026E50C 0026B46C 7C 97 EA 14 */ add r4, r23, r29 +/* 8026E510 0026B470 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026E514 0026B474 38 00 00 01 */ li r0, 1 +/* 8026E518 0026B478 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E51C 0026B47C 89 09 00 06 */ lbz r8, 6(r9) +/* 8026E520 0026B480 88 E9 00 05 */ lbz r7, 5(r9) +/* 8026E524 0026B484 88 C9 00 04 */ lbz r6, 4(r9) +/* 8026E528 0026B488 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E52C 0026B48C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E530 0026B490 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E534 0026B494 89 29 00 07 */ lbz r9, 7(r9) +/* 8026E538 0026B498 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E53C 0026B49C 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E540 0026B4A0 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E544 0026B4A4 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E548 0026B4A8 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E54C 0026B4AC 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E550 0026B4B0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E554 0026B4B4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E558 0026B4B8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E55C 0026B4BC 98 A3 80 00 */ stb r5, 0xCC008000@l(r3) +/* 8026E560 0026B4C0 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E564 0026B4C4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E568 0026B4C8 41 82 00 08 */ beq lbl_8026E570 +/* 8026E56C 0026B4CC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E570: +/* 8026E570 0026B4D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E574 0026B4D4 7C 05 03 78 */ mr r5, r0 +/* 8026E578 0026B4D8 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026E57C 0026B4DC 40 81 01 48 */ ble lbl_8026E6C4 +/* 8026E580 0026B4E0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E584 0026B4E4 7C 09 03 A6 */ mtctr r0 +/* 8026E588 0026B4E8 41 82 00 D0 */ beq lbl_8026E658 +lbl_8026E58C: +/* 8026E58C 0026B4EC C0 64 00 00 */ lfs f3, 0(r4) +/* 8026E590 0026B4F0 38 00 00 FF */ li r0, 0xff +/* 8026E594 0026B4F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E598 0026B4F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E59C 0026B4FC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E5A0 0026B500 89 04 00 06 */ lbz r8, 6(r4) +/* 8026E5A4 0026B504 88 E4 00 05 */ lbz r7, 5(r4) +/* 8026E5A8 0026B508 88 C4 00 04 */ lbz r6, 4(r4) +/* 8026E5AC 0026B50C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E5B0 0026B510 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E5B4 0026B514 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E5B8 0026B518 89 24 00 07 */ lbz r9, 7(r4) +/* 8026E5BC 0026B51C 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E5C0 0026B520 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E5C4 0026B524 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E5C8 0026B528 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E5CC 0026B52C 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E5D0 0026B530 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E5D4 0026B534 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E5D8 0026B538 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E5DC 0026B53C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E5E0 0026B540 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E5E4 0026B544 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E5E8 0026B548 C0 64 00 08 */ lfs f3, 8(r4) +/* 8026E5EC 0026B54C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E5F0 0026B550 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E5F4 0026B554 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E5F8 0026B558 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E5FC 0026B55C 89 04 00 0E */ lbz r8, 0xe(r4) +/* 8026E600 0026B560 88 E4 00 0D */ lbz r7, 0xd(r4) +/* 8026E604 0026B564 88 C4 00 0C */ lbz r6, 0xc(r4) +/* 8026E608 0026B568 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E60C 0026B56C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E610 0026B570 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E614 0026B574 89 24 00 0F */ lbz r9, 0xf(r4) +/* 8026E618 0026B578 38 84 00 10 */ addi r4, r4, 0x10 +/* 8026E61C 0026B57C 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E620 0026B580 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E624 0026B584 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E628 0026B588 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E62C 0026B58C 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E630 0026B590 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E634 0026B594 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E638 0026B598 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E63C 0026B59C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E640 0026B5A0 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E644 0026B5A4 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E648 0026B5A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E64C 0026B5AC 42 00 FF 40 */ bdnz lbl_8026E58C +/* 8026E650 0026B5B0 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026E654 0026B5B4 41 82 00 70 */ beq lbl_8026E6C4 +lbl_8026E658: +/* 8026E658 0026B5B8 7C A9 03 A6 */ mtctr r5 +lbl_8026E65C: +/* 8026E65C 0026B5BC C0 64 00 00 */ lfs f3, 0(r4) +/* 8026E660 0026B5C0 38 00 00 FF */ li r0, 0xff +/* 8026E664 0026B5C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026E668 0026B5C8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E66C 0026B5CC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8026E670 0026B5D0 89 04 00 06 */ lbz r8, 6(r4) +/* 8026E674 0026B5D4 88 E4 00 05 */ lbz r7, 5(r4) +/* 8026E678 0026B5D8 88 C4 00 04 */ lbz r6, 4(r4) +/* 8026E67C 0026B5DC 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E680 0026B5E0 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E684 0026B5E4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E688 0026B5E8 89 24 00 07 */ lbz r9, 7(r4) +/* 8026E68C 0026B5EC 38 84 00 08 */ addi r4, r4, 8 +/* 8026E690 0026B5F0 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026E694 0026B5F4 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026E698 0026B5F8 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026E69C 0026B5FC 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026E6A0 0026B600 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026E6A4 0026B604 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E6A8 0026B608 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026E6AC 0026B60C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026E6B0 0026B610 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026E6B4 0026B614 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026E6B8 0026B618 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E6BC 0026B61C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026E6C0 0026B620 42 00 FF 9C */ bdnz lbl_8026E65C +lbl_8026E6C4: +/* 8026E6C4 0026B624 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E6C8 0026B628 28 12 00 00 */ cmplwi r18, 0 +/* 8026E6CC 0026B62C 7C 77 E2 14 */ add r3, r23, r28 +/* 8026E6D0 0026B630 38 00 00 01 */ li r0, 1 +/* 8026E6D4 0026B634 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026E6D8 0026B638 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E6DC 0026B63C 41 82 00 08 */ beq lbl_8026E6E4 +/* 8026E6E0 0026B640 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E6E4: +/* 8026E6E4 0026B644 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E6E8 0026B648 7C 04 03 78 */ mr r4, r0 +/* 8026E6EC 0026B64C 3D 00 CC 01 */ lis r8, 0xcc01 +/* 8026E6F0 0026B650 40 81 01 48 */ ble lbl_8026E838 +/* 8026E6F4 0026B654 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E6F8 0026B658 7C 09 03 A6 */ mtctr r0 +/* 8026E6FC 0026B65C 41 82 00 D0 */ beq lbl_8026E7CC +lbl_8026E700: +/* 8026E700 0026B660 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E704 0026B664 38 00 00 FF */ li r0, 0xff +/* 8026E708 0026B668 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E70C 0026B66C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E710 0026B670 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E714 0026B674 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026E718 0026B678 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026E71C 0026B67C 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026E720 0026B680 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E724 0026B684 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E728 0026B688 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E72C 0026B68C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E730 0026B690 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E734 0026B694 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E738 0026B698 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E73C 0026B69C 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E740 0026B6A0 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E744 0026B6A4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E748 0026B6A8 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E74C 0026B6AC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E750 0026B6B0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E754 0026B6B4 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E758 0026B6B8 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E75C 0026B6BC C0 63 FE 98 */ lfs f3, -0x168(r3) +/* 8026E760 0026B6C0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E764 0026B6C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E768 0026B6C8 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E76C 0026B6CC D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E770 0026B6D0 88 E3 FE 9E */ lbz r7, -0x162(r3) +/* 8026E774 0026B6D4 88 C3 FE 9D */ lbz r6, -0x163(r3) +/* 8026E778 0026B6D8 88 A3 FE 9C */ lbz r5, -0x164(r3) +/* 8026E77C 0026B6DC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E780 0026B6E0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E784 0026B6E4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E788 0026B6E8 89 23 FE 9F */ lbz r9, -0x161(r3) +/* 8026E78C 0026B6EC 38 63 FD 30 */ addi r3, r3, -720 +/* 8026E790 0026B6F0 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E794 0026B6F4 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E798 0026B6F8 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E79C 0026B6FC 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E7A0 0026B700 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E7A4 0026B704 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E7A8 0026B708 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E7AC 0026B70C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E7B0 0026B710 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E7B4 0026B714 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E7B8 0026B718 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E7BC 0026B71C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E7C0 0026B720 42 00 FF 40 */ bdnz lbl_8026E700 +/* 8026E7C4 0026B724 70 84 00 01 */ andi. r4, r4, 1 +/* 8026E7C8 0026B728 41 82 00 70 */ beq lbl_8026E838 +lbl_8026E7CC: +/* 8026E7CC 0026B72C 7C 89 03 A6 */ mtctr r4 +lbl_8026E7D0: +/* 8026E7D0 0026B730 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026E7D4 0026B734 38 00 00 FF */ li r0, 0xff +/* 8026E7D8 0026B738 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026E7DC 0026B73C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026E7E0 0026B740 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) +/* 8026E7E4 0026B744 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026E7E8 0026B748 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026E7EC 0026B74C 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026E7F0 0026B750 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E7F4 0026B754 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E7F8 0026B758 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E7FC 0026B75C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026E800 0026B760 38 63 FE 98 */ addi r3, r3, -360 +/* 8026E804 0026B764 88 B5 00 36 */ lbz r5, 0x36(r21) +/* 8026E808 0026B768 88 D5 00 35 */ lbz r6, 0x35(r21) +/* 8026E80C 0026B76C 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026E810 0026B770 88 B5 00 34 */ lbz r5, 0x34(r21) +/* 8026E814 0026B774 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026E818 0026B778 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E81C 0026B77C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026E820 0026B780 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026E824 0026B784 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026E828 0026B788 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026E82C 0026B78C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E830 0026B790 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026E834 0026B794 42 00 FF 9C */ bdnz lbl_8026E7D0 +lbl_8026E838: +/* 8026E838 0026B798 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026E83C 0026B79C 28 11 00 00 */ cmplwi r17, 0 +/* 8026E840 0026B7A0 7D 17 DA 14 */ add r8, r23, r27 +/* 8026E844 0026B7A4 38 00 00 01 */ li r0, 1 +/* 8026E848 0026B7A8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026E84C 0026B7AC 41 82 00 08 */ beq lbl_8026E854 +/* 8026E850 0026B7B0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +lbl_8026E854: +/* 8026E854 0026B7B4 2C 00 00 00 */ cmpwi r0, 0 +/* 8026E858 0026B7B8 7C 03 03 78 */ mr r3, r0 +/* 8026E85C 0026B7BC 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8026E860 0026B7C0 40 81 01 48 */ ble lbl_8026E9A8 +/* 8026E864 0026B7C4 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8026E868 0026B7C8 7C 09 03 A6 */ mtctr r0 +/* 8026E86C 0026B7CC 41 82 00 D0 */ beq lbl_8026E93C +lbl_8026E870: +/* 8026E870 0026B7D0 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E874 0026B7D4 38 00 00 FF */ li r0, 0xff +/* 8026E878 0026B7D8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E87C 0026B7DC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E880 0026B7E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E884 0026B7E4 88 C8 00 06 */ lbz r6, 6(r8) +/* 8026E888 0026B7E8 88 A8 00 05 */ lbz r5, 5(r8) +/* 8026E88C 0026B7EC 88 88 00 04 */ lbz r4, 4(r8) +/* 8026E890 0026B7F0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E894 0026B7F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E898 0026B7F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E89C 0026B7FC 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E8A0 0026B800 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E8A4 0026B804 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E8A8 0026B808 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E8AC 0026B80C 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E8B0 0026B810 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E8B4 0026B814 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E8B8 0026B818 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E8BC 0026B81C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E8C0 0026B820 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E8C4 0026B824 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E8C8 0026B828 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E8CC 0026B82C C0 48 FF F8 */ lfs f2, -8(r8) +/* 8026E8D0 0026B830 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E8D4 0026B834 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E8D8 0026B838 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E8DC 0026B83C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E8E0 0026B840 88 C8 FF FE */ lbz r6, -2(r8) +/* 8026E8E4 0026B844 88 A8 FF FD */ lbz r5, -3(r8) +/* 8026E8E8 0026B848 88 88 FF FC */ lbz r4, -4(r8) +/* 8026E8EC 0026B84C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E8F0 0026B850 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E8F4 0026B854 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E8F8 0026B858 89 28 FF FF */ lbz r9, -1(r8) +/* 8026E8FC 0026B85C 39 08 FF F0 */ addi r8, r8, -16 +/* 8026E900 0026B860 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E904 0026B864 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E908 0026B868 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E90C 0026B86C 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E910 0026B870 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E914 0026B874 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E918 0026B878 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E91C 0026B87C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E920 0026B880 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E924 0026B884 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E928 0026B888 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E92C 0026B88C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E930 0026B890 42 00 FF 40 */ bdnz lbl_8026E870 +/* 8026E934 0026B894 70 63 00 01 */ andi. r3, r3, 1 +/* 8026E938 0026B898 41 82 00 70 */ beq lbl_8026E9A8 +lbl_8026E93C: +/* 8026E93C 0026B89C 7C 69 03 A6 */ mtctr r3 +lbl_8026E940: +/* 8026E940 0026B8A0 C0 48 00 00 */ lfs f2, 0(r8) +/* 8026E944 0026B8A4 38 00 00 FF */ li r0, 0xff +/* 8026E948 0026B8A8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) +/* 8026E94C 0026B8AC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) +/* 8026E950 0026B8B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) +/* 8026E954 0026B8B4 88 C8 00 06 */ lbz r6, 6(r8) +/* 8026E958 0026B8B8 88 A8 00 05 */ lbz r5, 5(r8) +/* 8026E95C 0026B8BC 88 88 00 04 */ lbz r4, 4(r8) +/* 8026E960 0026B8C0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E964 0026B8C4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E968 0026B8C8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E96C 0026B8CC 89 28 00 07 */ lbz r9, 7(r8) +/* 8026E970 0026B8D0 39 08 FF F8 */ addi r8, r8, -8 +/* 8026E974 0026B8D4 88 95 00 36 */ lbz r4, 0x36(r21) +/* 8026E978 0026B8D8 88 B5 00 35 */ lbz r5, 0x35(r21) +/* 8026E97C 0026B8DC 7D 26 26 30 */ sraw r6, r9, r4 +/* 8026E980 0026B8E0 88 95 00 34 */ lbz r4, 0x34(r21) +/* 8026E984 0026B8E4 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026E988 0026B8E8 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026E98C 0026B8EC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) +/* 8026E990 0026B8F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) +/* 8026E994 0026B8F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) +/* 8026E998 0026B8F8 98 07 80 00 */ stb r0, 0xCC008000@l(r7) +/* 8026E99C 0026B8FC C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026E9A0 0026B900 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026E9A4 0026B904 42 00 FF 9C */ bdnz lbl_8026E940 +lbl_8026E9A8: +/* 8026E9A8 0026B908 FC 20 F0 90 */ fmr f1, f30 +/* 8026E9AC 0026B90C 7E E3 BB 78 */ mr r3, r23 +/* 8026E9B0 0026B910 FC 40 E8 90 */ fmr f2, f29 +/* 8026E9B4 0026B914 7E A4 AB 78 */ mr r4, r21 +/* 8026E9B8 0026B918 7E 05 83 78 */ mr r5, r16 +/* 8026E9BC 0026B91C 48 00 05 C5 */ bl sub_8026ef80 +/* 8026E9C0 0026B920 48 00 03 30 */ b lbl_8026ECF0 +lbl_8026E9C4: +/* 8026E9C4 0026B924 7C DE BA 14 */ add r6, r30, r23 +/* 8026E9C8 0026B928 EC 1B F0 2A */ fadds f0, f27, f30 +/* 8026E9CC 0026B92C C0 46 00 00 */ lfs f2, 0(r6) +/* 8026E9D0 0026B930 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8026E9D4 0026B934 38 00 00 FF */ li r0, 0xff +/* 8026E9D8 0026B938 FC 20 F0 90 */ fmr f1, f30 +/* 8026E9DC 0026B93C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026E9E0 0026B940 28 13 00 00 */ cmplwi r19, 0 +/* 8026E9E4 0026B944 7C B7 EA 14 */ add r5, r23, r29 +/* 8026E9E8 0026B948 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8026E9EC 0026B94C 38 80 00 01 */ li r4, 1 +/* 8026E9F0 0026B950 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026E9F4 0026B954 89 26 00 06 */ lbz r9, 6(r6) +/* 8026E9F8 0026B958 89 06 00 05 */ lbz r8, 5(r6) +/* 8026E9FC 0026B95C 88 E6 00 04 */ lbz r7, 4(r6) +/* 8026EA00 0026B960 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA04 0026B964 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA08 0026B968 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA0C 0026B96C 89 06 00 05 */ lbz r8, 5(r6) +/* 8026EA10 0026B970 89 26 00 06 */ lbz r9, 6(r6) +/* 8026EA14 0026B974 88 E6 00 04 */ lbz r7, 4(r6) +/* 8026EA18 0026B978 7D 08 00 D0 */ neg r8, r8 +/* 8026EA1C 0026B97C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA20 0026B980 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA24 0026B984 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA28 0026B988 89 06 00 04 */ lbz r8, 4(r6) +/* 8026EA2C 0026B98C 89 26 00 05 */ lbz r9, 5(r6) +/* 8026EA30 0026B990 88 E6 00 06 */ lbz r7, 6(r6) +/* 8026EA34 0026B994 7D 08 00 D0 */ neg r8, r8 +/* 8026EA38 0026B998 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA3C 0026B99C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) +/* 8026EA40 0026B9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA44 0026B9A4 89 26 00 07 */ lbz r9, 7(r6) +/* 8026EA48 0026B9A8 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EA4C 0026B9AC 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EA50 0026B9B0 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EA54 0026B9B4 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EA58 0026B9B8 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EA5C 0026B9BC 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EA60 0026B9C0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EA64 0026B9C4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EA68 0026B9C8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EA6C 0026B9CC 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EA70 0026B9D0 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EA74 0026B9D4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026EA78 0026B9D8 41 82 00 08 */ beq lbl_8026EA80 +/* 8026EA7C 0026B9DC 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EA80: +/* 8026EA80 0026B9E0 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EA84 0026B9E4 7C 89 03 A6 */ mtctr r4 +/* 8026EA88 0026B9E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EA8C 0026B9EC 40 81 00 A8 */ ble lbl_8026EB34 +lbl_8026EA90: +/* 8026EA90 0026B9F0 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EA94 0026B9F4 38 00 00 FF */ li r0, 0xff +/* 8026EA98 0026B9F8 38 84 FF FF */ addi r4, r4, -1 +/* 8026EA9C 0026B9FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EAA0 0026BA00 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026EAA4 0026BA04 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EAA8 0026BA08 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EAAC 0026BA0C 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EAB0 0026BA10 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EAB4 0026BA14 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAB8 0026BA18 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EABC 0026BA1C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAC0 0026BA20 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EAC4 0026BA24 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EAC8 0026BA28 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EACC 0026BA2C 7C E7 00 D0 */ neg r7, r7 +/* 8026EAD0 0026BA30 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAD4 0026BA34 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAD8 0026BA38 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EADC 0026BA3C 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EAE0 0026BA40 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EAE4 0026BA44 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EAE8 0026BA48 7C E7 00 D0 */ neg r7, r7 +/* 8026EAEC 0026BA4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EAF0 0026BA50 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EAF4 0026BA54 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EAF8 0026BA58 89 25 00 07 */ lbz r9, 7(r5) +/* 8026EAFC 0026BA5C 38 A5 00 08 */ addi r5, r5, 8 +/* 8026EB00 0026BA60 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EB04 0026BA64 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EB08 0026BA68 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EB0C 0026BA6C 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EB10 0026BA70 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EB14 0026BA74 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EB18 0026BA78 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EB1C 0026BA7C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EB20 0026BA80 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EB24 0026BA84 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EB28 0026BA88 C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026EB2C 0026BA8C EC 21 00 2A */ fadds f1, f1, f0 +/* 8026EB30 0026BA90 42 00 FF 60 */ bdnz lbl_8026EA90 +lbl_8026EB34: +/* 8026EB34 0026BA94 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EB38 0026BA98 28 12 00 00 */ cmplwi r18, 0 +/* 8026EB3C 0026BA9C 7C B7 E2 14 */ add r5, r23, r28 +/* 8026EB40 0026BAA0 38 80 00 01 */ li r4, 1 +/* 8026EB44 0026BAA4 EC 40 E8 2A */ fadds f2, f0, f29 +/* 8026EB48 0026BAA8 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026EB4C 0026BAAC 41 82 00 08 */ beq lbl_8026EB54 +/* 8026EB50 0026BAB0 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EB54: +/* 8026EB54 0026BAB4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EB58 0026BAB8 7C 89 03 A6 */ mtctr r4 +/* 8026EB5C 0026BABC 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EB60 0026BAC0 40 81 00 A8 */ ble lbl_8026EC08 +lbl_8026EB64: +/* 8026EB64 0026BAC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EB68 0026BAC8 38 00 00 FF */ li r0, 0xff +/* 8026EB6C 0026BACC 38 84 FF FF */ addi r4, r4, -1 +/* 8026EB70 0026BAD0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EB74 0026BAD4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8026EB78 0026BAD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EB7C 0026BADC 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EB80 0026BAE0 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EB84 0026BAE4 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EB88 0026BAE8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EB8C 0026BAEC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EB90 0026BAF0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EB94 0026BAF4 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EB98 0026BAF8 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EB9C 0026BAFC 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EBA0 0026BB00 7C E7 00 D0 */ neg r7, r7 +/* 8026EBA4 0026BB04 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBA8 0026BB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBAC 0026BB0C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBB0 0026BB10 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EBB4 0026BB14 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EBB8 0026BB18 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EBBC 0026BB1C 7C E7 00 D0 */ neg r7, r7 +/* 8026EBC0 0026BB20 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBC4 0026BB24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBC8 0026BB28 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBCC 0026BB2C 89 25 00 07 */ lbz r9, 7(r5) +/* 8026EBD0 0026BB30 38 A5 FE 98 */ addi r5, r5, -360 +/* 8026EBD4 0026BB34 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026EBD8 0026BB38 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026EBDC 0026BB3C 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026EBE0 0026BB40 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026EBE4 0026BB44 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026EBE8 0026BB48 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EBEC 0026BB4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EBF0 0026BB50 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EBF4 0026BB54 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EBF8 0026BB58 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026EBFC 0026BB5C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026EC00 0026BB60 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8026EC04 0026BB64 42 00 FF 60 */ bdnz lbl_8026EB64 +lbl_8026EC08: +/* 8026EC08 0026BB68 C0 15 00 14 */ lfs f0, 0x14(r21) +/* 8026EC0C 0026BB6C 28 11 00 00 */ cmplwi r17, 0 +/* 8026EC10 0026BB70 7C B7 DA 14 */ add r5, r23, r27 +/* 8026EC14 0026BB74 38 80 00 01 */ li r4, 1 +/* 8026EC18 0026BB78 EC 20 F0 2A */ fadds f1, f0, f30 +/* 8026EC1C 0026BB7C 41 82 00 08 */ beq lbl_8026EC24 +/* 8026EC20 0026BB80 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) +lbl_8026EC24: +/* 8026EC24 0026BB84 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8026EC28 0026BB88 7C 89 03 A6 */ mtctr r4 +/* 8026EC2C 0026BB8C 2C 04 00 00 */ cmpwi r4, 0 +/* 8026EC30 0026BB90 40 81 00 A8 */ ble lbl_8026ECD8 +lbl_8026EC34: +/* 8026EC34 0026BB94 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026EC38 0026BB98 38 00 00 FF */ li r0, 0xff +/* 8026EC3C 0026BB9C 38 84 FF FF */ addi r4, r4, -1 +/* 8026EC40 0026BBA0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8026EC44 0026BBA4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8026EC48 0026BBA8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8026EC4C 0026BBAC 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EC50 0026BBB0 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EC54 0026BBB4 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EC58 0026BBB8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC5C 0026BBBC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC60 0026BBC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC64 0026BBC4 88 E5 00 05 */ lbz r7, 5(r5) +/* 8026EC68 0026BBC8 89 05 00 06 */ lbz r8, 6(r5) +/* 8026EC6C 0026BBCC 88 C5 00 04 */ lbz r6, 4(r5) +/* 8026EC70 0026BBD0 7C E7 00 D0 */ neg r7, r7 +/* 8026EC74 0026BBD4 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC78 0026BBD8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC7C 0026BBDC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC80 0026BBE0 88 E5 00 04 */ lbz r7, 4(r5) +/* 8026EC84 0026BBE4 89 05 00 05 */ lbz r8, 5(r5) +/* 8026EC88 0026BBE8 88 C5 00 06 */ lbz r6, 6(r5) +/* 8026EC8C 0026BBEC 7C E7 00 D0 */ neg r7, r7 +/* 8026EC90 0026BBF0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026EC94 0026BBF4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026EC98 0026BBF8 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026EC9C 0026BBFC 89 25 00 07 */ lbz r9, 7(r5) +/* 8026ECA0 0026BC00 38 A5 FF F8 */ addi r5, r5, -8 +/* 8026ECA4 0026BC04 88 D5 00 36 */ lbz r6, 0x36(r21) +/* 8026ECA8 0026BC08 88 F5 00 35 */ lbz r7, 0x35(r21) +/* 8026ECAC 0026BC0C 7D 28 36 30 */ sraw r8, r9, r6 +/* 8026ECB0 0026BC10 88 D5 00 34 */ lbz r6, 0x34(r21) +/* 8026ECB4 0026BC14 7D 27 3E 30 */ sraw r7, r9, r7 +/* 8026ECB8 0026BC18 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026ECBC 0026BC1C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) +/* 8026ECC0 0026BC20 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) +/* 8026ECC4 0026BC24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) +/* 8026ECC8 0026BC28 98 03 80 00 */ stb r0, 0xCC008000@l(r3) +/* 8026ECCC 0026BC2C C0 15 00 18 */ lfs f0, 0x18(r21) +/* 8026ECD0 0026BC30 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8026ECD4 0026BC34 42 00 FF 60 */ bdnz lbl_8026EC34 +lbl_8026ECD8: +/* 8026ECD8 0026BC38 FC 20 F0 90 */ fmr f1, f30 +/* 8026ECDC 0026BC3C 7E E3 BB 78 */ mr r3, r23 +/* 8026ECE0 0026BC40 FC 40 E8 90 */ fmr f2, f29 +/* 8026ECE4 0026BC44 7E A4 AB 78 */ mr r4, r21 +/* 8026ECE8 0026BC48 7E 05 83 78 */ mr r5, r16 +/* 8026ECEC 0026BC4C 48 00 00 99 */ bl sub_8026ed84 +lbl_8026ECF0: +/* 8026ECF0 0026BC50 48 09 98 91 */ bl End__3CGXFv +lbl_8026ECF4: +/* 8026ECF4 0026BC54 6E C3 80 00 */ xoris r3, r22, 0x8000 +/* 8026ECF8 0026BC58 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026ECFC 0026BC5C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026ED00 0026BC60 7F 5A B2 14 */ add r26, r26, r22 +/* 8026ED04 0026BC64 7C 60 B1 D6 */ mullw r3, r0, r22 +/* 8026ED08 0026BC68 C0 35 00 14 */ lfs f1, 0x14(r21) +/* 8026ED0C 0026BC6C 91 C1 00 08 */ stw r14, 8(r1) +/* 8026ED10 0026BC70 7F 18 B2 14 */ add r24, r24, r22 +/* 8026ED14 0026BC74 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026ED18 0026BC78 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8026ED1C 0026BC7C 54 60 18 38 */ slwi r0, r3, 3 +/* 8026ED20 0026BC80 7F 39 1A 14 */ add r25, r25, r3 +/* 8026ED24 0026BC84 7E F7 02 14 */ add r23, r23, r0 +/* 8026ED28 0026BC88 EF C1 F0 3A */ fmadds f30, f1, f0, f30 +lbl_8026ED2C: +/* 8026ED2C 0026BC8C 88 15 00 00 */ lbz r0, 0(r21) +/* 8026ED30 0026BC90 7C 03 07 74 */ extsb r3, r0 +/* 8026ED34 0026BC94 38 03 FF FE */ addi r0, r3, -2 +/* 8026ED38 0026BC98 7C 19 00 00 */ cmpw r25, r0 +/* 8026ED3C 0026BC9C 41 80 E8 BC */ blt lbl_8026D5F8 +/* 8026ED40 0026BCA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8026ED44 0026BCA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8026ED48 0026BCA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8026ED4C 0026BCAC CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8026ED50 0026BCB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8026ED54 0026BCB4 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8026ED58 0026BCB8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8026ED5C 0026BCBC CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8026ED60 0026BCC0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8026ED64 0026BCC4 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8026ED68 0026BCC8 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 8026ED6C 0026BCCC CB 41 00 60 */ lfd f26, 0x60(r1) +/* 8026ED70 0026BCD0 B9 C1 00 18 */ lmw r14, 0x18(r1) +/* 8026ED74 0026BCD4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8026ED78 0026BCD8 7C 08 03 A6 */ mtlr r0 +/* 8026ED7C 0026BCDC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8026ED80 0026BCE0 4E 80 00 20 */ blr + +.global sub_8026ed84 +sub_8026ed84: +/* 8026ED84 0026BCE4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026ED88 0026BCE8 41 82 00 C0 */ beq lbl_8026EE48 +/* 8026ED8C 0026BCEC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026ED90 0026BCF0 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026ED94 0026BCF4 38 05 00 01 */ addi r0, r5, 1 +/* 8026ED98 0026BCF8 7C 09 03 A6 */ mtctr r0 +/* 8026ED9C 0026BCFC 2C 05 00 00 */ cmpwi r5, 0 +/* 8026EDA0 0026BD00 4D 80 00 20 */ bltlr +lbl_8026EDA4: +/* 8026EDA4 0026BD04 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026EDA8 0026BD08 38 00 00 FF */ li r0, 0xff +/* 8026EDAC 0026BD0C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026EDB0 0026BD10 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026EDB4 0026BD14 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026EDB8 0026BD18 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026EDBC 0026BD1C 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EDC0 0026BD20 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026EDC4 0026BD24 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EDC8 0026BD28 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EDCC 0026BD2C 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EDD0 0026BD30 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EDD4 0026BD34 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026EDD8 0026BD38 88 A3 00 04 */ lbz r5, 4(r3) +/* 8026EDDC 0026BD3C 7C C6 00 D0 */ neg r6, r6 +/* 8026EDE0 0026BD40 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EDE4 0026BD44 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EDE8 0026BD48 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EDEC 0026BD4C 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EDF0 0026BD50 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026EDF4 0026BD54 88 A3 00 06 */ lbz r5, 6(r3) +/* 8026EDF8 0026BD58 7C C6 00 D0 */ neg r6, r6 +/* 8026EDFC 0026BD5C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EE00 0026BD60 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EE04 0026BD64 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EE08 0026BD68 89 23 00 07 */ lbz r9, 7(r3) +/* 8026EE0C 0026BD6C 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026EE10 0026BD70 88 A4 00 36 */ lbz r5, 0x36(r4) +/* 8026EE14 0026BD74 88 C4 00 35 */ lbz r6, 0x35(r4) +/* 8026EE18 0026BD78 7D 27 2E 30 */ sraw r7, r9, r5 +/* 8026EE1C 0026BD7C 88 A4 00 34 */ lbz r5, 0x34(r4) +/* 8026EE20 0026BD80 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EE24 0026BD84 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026EE28 0026BD88 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026EE2C 0026BD8C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026EE30 0026BD90 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026EE34 0026BD94 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026EE38 0026BD98 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026EE3C 0026BD9C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026EE40 0026BDA0 42 00 FF 64 */ bdnz lbl_8026EDA4 + +.global sub_8026ee44 +sub_8026ee44: +/* 8026EE44 0026BDA4 4E 80 00 20 */ blr +lbl_8026EE48: +/* 8026EE48 0026BDA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026EE4C 0026BDAC 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8026EE50 0026BDB0 38 E0 00 FF */ li r7, 0xff +/* 8026EE54 0026BDB4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026EE58 0026BDB8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8026EE5C 0026BDBC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026EE60 0026BDC0 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EE64 0026BDC4 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EE68 0026BDC8 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EE6C 0026BDCC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EE70 0026BDD0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EE74 0026BDD4 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EE78 0026BDD8 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EE7C 0026BDDC 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EE80 0026BDE0 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EE84 0026BDE4 7C C6 00 D0 */ neg r6, r6 +/* 8026EE88 0026BDE8 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EE8C 0026BDEC 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EE90 0026BDF0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EE94 0026BDF4 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EE98 0026BDF8 89 03 00 05 */ lbz r8, 5(r3) +/* 8026EE9C 0026BDFC 88 03 00 06 */ lbz r0, 6(r3) +/* 8026EEA0 0026BE00 7C C6 00 D0 */ neg r6, r6 +/* 8026EEA4 0026BE04 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EEA8 0026BE08 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EEAC 0026BE0C 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EEB0 0026BE10 89 23 00 07 */ lbz r9, 7(r3) +/* 8026EEB4 0026BE14 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026EEB8 0026BE18 88 C4 00 35 */ lbz r6, 0x35(r4) +/* 8026EEBC 0026BE1C 7D 28 06 30 */ sraw r8, r9, r0 +/* 8026EEC0 0026BE20 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026EEC4 0026BE24 7D 26 36 30 */ sraw r6, r9, r6 +/* 8026EEC8 0026BE28 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026EECC 0026BE2C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EED0 0026BE30 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EED4 0026BE34 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EED8 0026BE38 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) +/* 8026EEDC 0026BE3C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026EEE0 0026BE40 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026EEE4 0026BE44 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026EEE8 0026BE48 EC 02 00 2A */ fadds f0, f2, f0 +/* 8026EEEC 0026BE4C 7C 63 02 14 */ add r3, r3, r0 +/* 8026EEF0 0026BE50 C0 43 00 00 */ lfs f2, 0(r3) +/* 8026EEF4 0026BE54 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8026EEF8 0026BE58 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8026EEFC 0026BE5C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8026EF00 0026BE60 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EF04 0026BE64 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EF08 0026BE68 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EF0C 0026BE6C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF10 0026BE70 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF14 0026BE74 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF18 0026BE78 88 C3 00 05 */ lbz r6, 5(r3) +/* 8026EF1C 0026BE7C 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EF20 0026BE80 88 03 00 04 */ lbz r0, 4(r3) +/* 8026EF24 0026BE84 7C C6 00 D0 */ neg r6, r6 +/* 8026EF28 0026BE88 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF2C 0026BE8C 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF30 0026BE90 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF34 0026BE94 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EF38 0026BE98 89 03 00 05 */ lbz r8, 5(r3) +/* 8026EF3C 0026BE9C 88 03 00 06 */ lbz r0, 6(r3) +/* 8026EF40 0026BEA0 7C C6 00 D0 */ neg r6, r6 +/* 8026EF44 0026BEA4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF48 0026BEA8 99 05 80 00 */ stb r8, 0xCC008000@l(r5) +/* 8026EF4C 0026BEAC 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF50 0026BEB0 89 03 00 07 */ lbz r8, 7(r3) +/* 8026EF54 0026BEB4 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026EF58 0026BEB8 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026EF5C 0026BEBC 7D 06 06 30 */ sraw r6, r8, r0 +/* 8026EF60 0026BEC0 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026EF64 0026BEC4 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026EF68 0026BEC8 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026EF6C 0026BECC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) +/* 8026EF70 0026BED0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) +/* 8026EF74 0026BED4 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) +/* 8026EF78 0026BED8 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) +/* 8026EF7C 0026BEDC 4E 80 00 20 */ blr + +.global sub_8026ef80 +sub_8026ef80: +/* 8026EF80 0026BEE0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026EF84 0026BEE4 41 82 01 60 */ beq lbl_8026F0E4 +/* 8026EF88 0026BEE8 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026EF8C 0026BEEC 3D 20 CC 01 */ lis r9, 0xcc01 +/* 8026EF90 0026BEF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8026EF94 0026BEF4 38 A5 00 01 */ addi r5, r5, 1 +/* 8026EF98 0026BEF8 4D 80 00 20 */ bltlr +/* 8026EF9C 0026BEFC 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f +/* 8026EFA0 0026BF00 7C 09 03 A6 */ mtctr r0 +/* 8026EFA4 0026BF04 41 82 00 D0 */ beq lbl_8026F074 +lbl_8026EFA8: +/* 8026EFA8 0026BF08 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026EFAC 0026BF0C 38 00 00 FF */ li r0, 0xff +/* 8026EFB0 0026BF10 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026EFB4 0026BF14 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026EFB8 0026BF18 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026EFBC 0026BF1C 89 03 00 06 */ lbz r8, 6(r3) +/* 8026EFC0 0026BF20 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026EFC4 0026BF24 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026EFC8 0026BF28 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026EFCC 0026BF2C 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026EFD0 0026BF30 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026EFD4 0026BF34 89 43 00 07 */ lbz r10, 7(r3) +/* 8026EFD8 0026BF38 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026EFDC 0026BF3C 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026EFE0 0026BF40 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026EFE4 0026BF44 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026EFE8 0026BF48 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026EFEC 0026BF4C 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026EFF0 0026BF50 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026EFF4 0026BF54 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026EFF8 0026BF58 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026EFFC 0026BF5C 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F000 0026BF60 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F004 0026BF64 C0 63 01 68 */ lfs f3, 0x168(r3) +/* 8026F008 0026BF68 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F00C 0026BF6C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F010 0026BF70 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F014 0026BF74 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F018 0026BF78 89 03 01 6E */ lbz r8, 0x16e(r3) +/* 8026F01C 0026BF7C 88 E3 01 6D */ lbz r7, 0x16d(r3) +/* 8026F020 0026BF80 88 C3 01 6C */ lbz r6, 0x16c(r3) +/* 8026F024 0026BF84 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F028 0026BF88 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F02C 0026BF8C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F030 0026BF90 89 43 01 6F */ lbz r10, 0x16f(r3) +/* 8026F034 0026BF94 38 63 02 D0 */ addi r3, r3, 0x2d0 +/* 8026F038 0026BF98 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026F03C 0026BF9C 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F040 0026BFA0 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026F044 0026BFA4 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026F048 0026BFA8 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F04C 0026BFAC 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026F050 0026BFB0 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F054 0026BFB4 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F058 0026BFB8 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F05C 0026BFBC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F060 0026BFC0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F064 0026BFC4 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F068 0026BFC8 42 00 FF 40 */ bdnz lbl_8026EFA8 +/* 8026F06C 0026BFCC 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026F070 0026BFD0 4D 82 00 20 */ beqlr +lbl_8026F074: +/* 8026F074 0026BFD4 7C A9 03 A6 */ mtctr r5 +lbl_8026F078: +/* 8026F078 0026BFD8 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F07C 0026BFDC 38 00 00 FF */ li r0, 0xff +/* 8026F080 0026BFE0 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F084 0026BFE4 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F088 0026BFE8 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F08C 0026BFEC 89 03 00 06 */ lbz r8, 6(r3) +/* 8026F090 0026BFF0 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026F094 0026BFF4 88 C3 00 04 */ lbz r6, 4(r3) +/* 8026F098 0026BFF8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F09C 0026BFFC 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F0A0 0026C000 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F0A4 0026C004 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F0A8 0026C008 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026F0AC 0026C00C 88 C4 00 36 */ lbz r6, 0x36(r4) +/* 8026F0B0 0026C010 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F0B4 0026C014 7D 48 36 30 */ sraw r8, r10, r6 +/* 8026F0B8 0026C018 88 C4 00 34 */ lbz r6, 0x34(r4) +/* 8026F0BC 0026C01C 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F0C0 0026C020 7D 46 36 30 */ sraw r6, r10, r6 +/* 8026F0C4 0026C024 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F0C8 0026C028 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F0CC 0026C02C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F0D0 0026C030 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F0D4 0026C034 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F0D8 0026C038 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F0DC 0026C03C 42 00 FF 9C */ bdnz lbl_8026F078 + +.global sub_8026f0e0 +sub_8026f0e0: +/* 8026F0E0 0026C040 4E 80 00 20 */ blr +lbl_8026F0E4: +/* 8026F0E4 0026C044 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F0E8 0026C048 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F0EC 0026C04C 38 C0 00 FF */ li r6, 0xff +/* 8026F0F0 0026C050 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F0F4 0026C054 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F0F8 0026C058 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F0FC 0026C05C 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F100 0026C060 88 A3 00 05 */ lbz r5, 5(r3) +/* 8026F104 0026C064 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F108 0026C068 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F10C 0026C06C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F110 0026C070 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F114 0026C074 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F118 0026C078 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F11C 0026C07C 88 A4 00 35 */ lbz r5, 0x35(r4) +/* 8026F120 0026C080 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F124 0026C084 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F128 0026C088 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026F12C 0026C08C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F130 0026C090 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F134 0026C094 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F138 0026C098 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F13C 0026C09C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F140 0026C0A0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026F144 0026C0A4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026F148 0026C0A8 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026F14C 0026C0AC EC 02 00 2A */ fadds f0, f2, f0 +/* 8026F150 0026C0B0 7C 63 02 14 */ add r3, r3, r0 +/* 8026F154 0026C0B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8026F158 0026C0B8 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F15C 0026C0BC D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F160 0026C0C0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F164 0026C0C4 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F168 0026C0C8 88 A3 00 05 */ lbz r5, 5(r3) +/* 8026F16C 0026C0CC 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F170 0026C0D0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F174 0026C0D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F178 0026C0D8 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F17C 0026C0DC 88 E3 00 07 */ lbz r7, 7(r3) +/* 8026F180 0026C0E0 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F184 0026C0E4 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026F188 0026C0E8 7C E5 06 30 */ sraw r5, r7, r0 +/* 8026F18C 0026C0EC 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F190 0026C0F0 7C E3 1E 30 */ sraw r3, r7, r3 +/* 8026F194 0026C0F4 7C E0 06 30 */ sraw r0, r7, r0 +/* 8026F198 0026C0F8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F19C 0026C0FC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) +/* 8026F1A0 0026C100 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F1A4 0026C104 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F1A8 0026C108 4E 80 00 20 */ blr + +.global sub_8026f1ac +sub_8026f1ac: +/* 8026F1AC 0026C10C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026F1B0 0026C110 41 82 01 14 */ beq lbl_8026F2C4 +/* 8026F1B4 0026C114 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) +/* 8026F1B8 0026C118 3D 20 CC 01 */ lis r9, 0xcc01 +/* 8026F1BC 0026C11C 38 C0 00 FF */ li r6, 0xff +/* 8026F1C0 0026C120 2C 05 00 00 */ cmpwi r5, 0 +/* 8026F1C4 0026C124 38 A5 00 01 */ addi r5, r5, 1 +/* 8026F1C8 0026C128 4D 80 00 20 */ bltlr +/* 8026F1CC 0026C12C 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f +/* 8026F1D0 0026C130 7C 09 03 A6 */ mtctr r0 +/* 8026F1D4 0026C134 41 82 00 9C */ beq lbl_8026F270 +lbl_8026F1D8: +/* 8026F1D8 0026C138 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F1DC 0026C13C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F1E0 0026C140 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F1E4 0026C144 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F1E8 0026C148 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F1EC 0026C14C 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F1F0 0026C150 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F1F4 0026C154 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F1F8 0026C158 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F1FC 0026C15C 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F200 0026C160 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F204 0026C164 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F208 0026C168 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F20C 0026C16C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F210 0026C170 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F214 0026C174 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F218 0026C178 C0 63 01 68 */ lfs f3, 0x168(r3) +/* 8026F21C 0026C17C EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F220 0026C180 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F224 0026C184 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F228 0026C188 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F22C 0026C18C 89 43 01 6F */ lbz r10, 0x16f(r3) +/* 8026F230 0026C190 38 63 02 D0 */ addi r3, r3, 0x2d0 +/* 8026F234 0026C194 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F238 0026C198 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F23C 0026C19C 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F240 0026C1A0 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F244 0026C1A4 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F248 0026C1A8 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F24C 0026C1AC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F250 0026C1B0 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F254 0026C1B4 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F258 0026C1B8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F25C 0026C1BC C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F260 0026C1C0 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F264 0026C1C4 42 00 FF 74 */ bdnz lbl_8026F1D8 +/* 8026F268 0026C1C8 70 A5 00 01 */ andi. r5, r5, 1 +/* 8026F26C 0026C1CC 4D 82 00 20 */ beqlr +lbl_8026F270: +/* 8026F270 0026C1D0 7C A9 03 A6 */ mtctr r5 +lbl_8026F274: +/* 8026F274 0026C1D4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8026F278 0026C1D8 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) +/* 8026F27C 0026C1DC D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) +/* 8026F280 0026C1E0 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) +/* 8026F284 0026C1E4 89 43 00 07 */ lbz r10, 7(r3) +/* 8026F288 0026C1E8 38 63 01 68 */ addi r3, r3, 0x168 +/* 8026F28C 0026C1EC 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F290 0026C1F0 88 E4 00 35 */ lbz r7, 0x35(r4) +/* 8026F294 0026C1F4 7D 48 06 30 */ sraw r8, r10, r0 +/* 8026F298 0026C1F8 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F29C 0026C1FC 7D 47 3E 30 */ sraw r7, r10, r7 +/* 8026F2A0 0026C200 7D 40 06 30 */ sraw r0, r10, r0 +/* 8026F2A4 0026C204 98 09 80 00 */ stb r0, 0xCC008000@l(r9) +/* 8026F2A8 0026C208 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) +/* 8026F2AC 0026C20C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) +/* 8026F2B0 0026C210 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) +/* 8026F2B4 0026C214 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8026F2B8 0026C218 EC 42 00 2A */ fadds f2, f2, f0 +/* 8026F2BC 0026C21C 42 00 FF B8 */ bdnz lbl_8026F274 + +.global sub_8026f2c0 +sub_8026f2c0: +/* 8026F2C0 0026C220 4E 80 00 20 */ blr +lbl_8026F2C4: +/* 8026F2C4 0026C224 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F2C8 0026C228 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F2CC 0026C22C 38 C0 00 FF */ li r6, 0xff +/* 8026F2D0 0026C230 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F2D4 0026C234 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F2D8 0026C238 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F2DC 0026C23C 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F2E0 0026C240 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F2E4 0026C244 88 A4 00 35 */ lbz r5, 0x35(r4) +/* 8026F2E8 0026C248 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F2EC 0026C24C 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F2F0 0026C250 7D 25 2E 30 */ sraw r5, r9, r5 +/* 8026F2F4 0026C254 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F2F8 0026C258 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F2FC 0026C25C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F300 0026C260 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F304 0026C264 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F308 0026C268 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) +/* 8026F30C 0026C26C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8026F310 0026C270 1C 00 01 68 */ mulli r0, r0, 0x168 +/* 8026F314 0026C274 EC 02 00 2A */ fadds f0, f2, f0 +/* 8026F318 0026C278 7C 63 02 14 */ add r3, r3, r0 +/* 8026F31C 0026C27C C0 43 00 00 */ lfs f2, 0(r3) +/* 8026F320 0026C280 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F324 0026C284 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F328 0026C288 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F32C 0026C28C 88 E3 00 07 */ lbz r7, 7(r3) +/* 8026F330 0026C290 88 04 00 36 */ lbz r0, 0x36(r4) +/* 8026F334 0026C294 88 64 00 35 */ lbz r3, 0x35(r4) +/* 8026F338 0026C298 7C E5 06 30 */ sraw r5, r7, r0 +/* 8026F33C 0026C29C 88 04 00 34 */ lbz r0, 0x34(r4) +/* 8026F340 0026C2A0 7C E3 1E 30 */ sraw r3, r7, r3 +/* 8026F344 0026C2A4 7C E0 06 30 */ sraw r0, r7, r0 +/* 8026F348 0026C2A8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F34C 0026C2AC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) +/* 8026F350 0026C2B0 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) +/* 8026F354 0026C2B4 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F358 0026C2B8 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F35C 0026C2BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F360 0026C2C0 7C 08 02 A6 */ mflr r0 +/* 8026F364 0026C2C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F368 0026C2C8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F36C 0026C2CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F370 0026C2D0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F374 0026C2D4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F378 0026C2D8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8026F37C 0026C2DC FF C0 08 90 */ fmr f30, f1 +/* 8026F380 0026C2E0 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) +/* 8026F384 0026C2E4 FF E0 10 90 */ fmr f31, f2 +/* 8026F388 0026C2E8 7C 7B 1B 78 */ mr r27, r3 +/* 8026F38C 0026C2EC 7C BC 2B 78 */ mr r28, r5 +/* 8026F390 0026C2F0 7C 9E 23 78 */ mr r30, r4 +/* 8026F394 0026C2F4 54 9F 08 3C */ slwi r31, r4, 1 +/* 8026F398 0026C2F8 48 00 00 44 */ b lbl_8026F3DC +lbl_8026F39C: +/* 8026F39C 0026C2FC 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 8026F3A0 0026C300 38 60 00 98 */ li r3, 0x98 +/* 8026F3A4 0026C304 38 80 00 00 */ li r4, 0 +/* 8026F3A8 0026C308 48 09 91 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F3AC 0026C30C FC 20 F0 90 */ fmr f1, f30 +/* 8026F3B0 0026C310 C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8026F3B4 0026C314 FC 40 F8 90 */ fmr f2, f31 +/* 8026F3B8 0026C318 7F 63 DB 78 */ mr r3, r27 +/* 8026F3BC 0026C31C 7F C4 F3 78 */ mr r4, r30 +/* 8026F3C0 0026C320 7F 85 E3 78 */ mr r5, r28 +/* 8026F3C4 0026C324 48 00 00 45 */ bl sub_8026f408 +/* 8026F3C8 0026C328 48 09 91 B9 */ bl End__3CGXFv +/* 8026F3CC 0026C32C C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8026F3D0 0026C330 3B BD FF FF */ addi r29, r29, -1 +/* 8026F3D4 0026C334 3B 7B 01 68 */ addi r27, r27, 0x168 +/* 8026F3D8 0026C338 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F3DC: +/* 8026F3DC 0026C33C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F3E0 0026C340 41 81 FF BC */ bgt lbl_8026F39C +/* 8026F3E4 0026C344 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F3E8 0026C348 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F3EC 0026C34C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F3F0 0026C350 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F3F4 0026C354 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8026F3F8 0026C358 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F3FC 0026C35C 7C 08 03 A6 */ mtlr r0 +/* 8026F400 0026C360 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F404 0026C364 4E 80 00 20 */ blr + +.global sub_8026f408 +sub_8026f408: +/* 8026F408 0026C368 EC 82 18 2A */ fadds f4, f2, f3 +/* 8026F40C 0026C36C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8026F410 0026C370 7C 89 03 A6 */ mtctr r4 +/* 8026F414 0026C374 2C 04 00 00 */ cmpwi r4, 0 +/* 8026F418 0026C378 4D 82 00 20 */ beqlr +lbl_8026F41C: +/* 8026F41C 0026C37C C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F420 0026C380 39 00 00 FF */ li r8, 0xff +/* 8026F424 0026C384 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026F428 0026C388 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8026F42C 0026C38C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026F430 0026C390 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F434 0026C394 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F438 0026C398 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F43C 0026C39C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F440 0026C3A0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F444 0026C3A4 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F448 0026C3A8 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F44C 0026C3AC 88 E3 00 06 */ lbz r7, 6(r3) +/* 8026F450 0026C3B0 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F454 0026C3B4 7C 84 00 D0 */ neg r4, r4 +/* 8026F458 0026C3B8 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F45C 0026C3BC 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F460 0026C3C0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F464 0026C3C4 88 83 00 04 */ lbz r4, 4(r3) +/* 8026F468 0026C3C8 88 E3 00 05 */ lbz r7, 5(r3) +/* 8026F46C 0026C3CC 88 03 00 06 */ lbz r0, 6(r3) +/* 8026F470 0026C3D0 7C 84 00 D0 */ neg r4, r4 +/* 8026F474 0026C3D4 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F478 0026C3D8 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F47C 0026C3DC 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F480 0026C3E0 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F484 0026C3E4 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F488 0026C3E8 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F48C 0026C3EC 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F490 0026C3F0 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F494 0026C3F4 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F498 0026C3F8 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F49C 0026C3FC 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4A0 0026C400 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4A4 0026C404 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4A8 0026C408 99 06 80 00 */ stb r8, 0xCC008000@l(r6) +/* 8026F4AC 0026C40C C0 03 01 68 */ lfs f0, 0x168(r3) +/* 8026F4B0 0026C410 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8026F4B4 0026C414 EC 21 18 2A */ fadds f1, f1, f3 +/* 8026F4B8 0026C418 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8026F4BC 0026C41C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8026F4C0 0026C420 88 E3 01 6E */ lbz r7, 0x16e(r3) +/* 8026F4C4 0026C424 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F4C8 0026C428 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F4CC 0026C42C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4D0 0026C430 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4D4 0026C434 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4D8 0026C438 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F4DC 0026C43C 88 E3 01 6E */ lbz r7, 0x16e(r3) +/* 8026F4E0 0026C440 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F4E4 0026C444 7C 84 00 D0 */ neg r4, r4 +/* 8026F4E8 0026C448 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F4EC 0026C44C 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F4F0 0026C450 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F4F4 0026C454 88 83 01 6C */ lbz r4, 0x16c(r3) +/* 8026F4F8 0026C458 88 E3 01 6D */ lbz r7, 0x16d(r3) +/* 8026F4FC 0026C45C 88 03 01 6E */ lbz r0, 0x16e(r3) +/* 8026F500 0026C460 7C 84 00 D0 */ neg r4, r4 +/* 8026F504 0026C464 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F508 0026C468 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F50C 0026C46C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F510 0026C470 89 23 01 6F */ lbz r9, 0x16f(r3) +/* 8026F514 0026C474 38 63 00 08 */ addi r3, r3, 8 +/* 8026F518 0026C478 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F51C 0026C47C 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F520 0026C480 7D 27 06 30 */ sraw r7, r9, r0 +/* 8026F524 0026C484 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F528 0026C488 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F52C 0026C48C 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F530 0026C490 98 06 80 00 */ stb r0, 0xCC008000@l(r6) +/* 8026F534 0026C494 98 86 80 00 */ stb r4, 0xCC008000@l(r6) +/* 8026F538 0026C498 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) +/* 8026F53C 0026C49C 99 06 80 00 */ stb r8, 0xCC008000@l(r6) +/* 8026F540 0026C4A0 42 00 FE DC */ bdnz lbl_8026F41C +/* 8026F544 0026C4A4 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F548 0026C4A8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F54C 0026C4AC 7C 08 02 A6 */ mflr r0 +/* 8026F550 0026C4B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F554 0026C4B4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F558 0026C4B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F55C 0026C4BC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F560 0026C4C0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F564 0026C4C4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8026F568 0026C4C8 FF C0 08 90 */ fmr f30, f1 +/* 8026F56C 0026C4CC 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) +/* 8026F570 0026C4D0 FF E0 10 90 */ fmr f31, f2 +/* 8026F574 0026C4D4 7C 7B 1B 78 */ mr r27, r3 +/* 8026F578 0026C4D8 7C BC 2B 78 */ mr r28, r5 +/* 8026F57C 0026C4DC 7C 9E 23 78 */ mr r30, r4 +/* 8026F580 0026C4E0 54 9F 08 3C */ slwi r31, r4, 1 +/* 8026F584 0026C4E4 48 00 00 44 */ b lbl_8026F5C8 +lbl_8026F588: +/* 8026F588 0026C4E8 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 8026F58C 0026C4EC 38 60 00 98 */ li r3, 0x98 +/* 8026F590 0026C4F0 38 80 00 00 */ li r4, 0 +/* 8026F594 0026C4F4 48 09 8F F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F598 0026C4F8 FC 20 F0 90 */ fmr f1, f30 +/* 8026F59C 0026C4FC C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8026F5A0 0026C500 FC 40 F8 90 */ fmr f2, f31 +/* 8026F5A4 0026C504 7F 63 DB 78 */ mr r3, r27 +/* 8026F5A8 0026C508 7F C4 F3 78 */ mr r4, r30 +/* 8026F5AC 0026C50C 7F 85 E3 78 */ mr r5, r28 +/* 8026F5B0 0026C510 48 00 00 45 */ bl sub_8026f5f4 +/* 8026F5B4 0026C514 48 09 8F CD */ bl End__3CGXFv +/* 8026F5B8 0026C518 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8026F5BC 0026C51C 3B BD FF FF */ addi r29, r29, -1 +/* 8026F5C0 0026C520 3B 7B 01 68 */ addi r27, r27, 0x168 +/* 8026F5C4 0026C524 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F5C8: +/* 8026F5C8 0026C528 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F5CC 0026C52C 41 81 FF BC */ bgt lbl_8026F588 +/* 8026F5D0 0026C530 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F5D4 0026C534 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F5D8 0026C538 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F5DC 0026C53C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F5E0 0026C540 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8026F5E4 0026C544 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F5E8 0026C548 7C 08 03 A6 */ mtlr r0 +/* 8026F5EC 0026C54C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F5F0 0026C550 4E 80 00 20 */ blr + +.global sub_8026f5f4 +sub_8026f5f4: +/* 8026F5F4 0026C554 EC 82 18 2A */ fadds f4, f2, f3 +/* 8026F5F8 0026C558 3D 00 CC 01 */ lis r8, 0xCC008000@ha +/* 8026F5FC 0026C55C 7C 89 03 A6 */ mtctr r4 +/* 8026F600 0026C560 2C 04 00 00 */ cmpwi r4, 0 +/* 8026F604 0026C564 4D 82 00 20 */ beqlr +lbl_8026F608: +/* 8026F608 0026C568 C0 03 00 00 */ lfs f0, 0(r3) +/* 8026F60C 0026C56C 38 E0 00 FF */ li r7, 0xff +/* 8026F610 0026C570 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F614 0026C574 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) +/* 8026F618 0026C578 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F61C 0026C57C 88 C3 00 06 */ lbz r6, 6(r3) +/* 8026F620 0026C580 88 83 00 05 */ lbz r4, 5(r3) +/* 8026F624 0026C584 88 03 00 04 */ lbz r0, 4(r3) +/* 8026F628 0026C588 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F62C 0026C58C 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F630 0026C590 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F634 0026C594 89 23 00 07 */ lbz r9, 7(r3) +/* 8026F638 0026C598 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F63C 0026C59C 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F640 0026C5A0 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026F644 0026C5A4 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F648 0026C5A8 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F64C 0026C5AC 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F650 0026C5B0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F654 0026C5B4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F658 0026C5B8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F65C 0026C5BC 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F660 0026C5C0 C0 03 01 68 */ lfs f0, 0x168(r3) +/* 8026F664 0026C5C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) +/* 8026F668 0026C5C8 EC 21 18 2A */ fadds f1, f1, f3 +/* 8026F66C 0026C5CC D0 88 80 00 */ stfs f4, 0xCC008000@l(r8) +/* 8026F670 0026C5D0 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) +/* 8026F674 0026C5D4 88 C3 01 6E */ lbz r6, 0x16e(r3) +/* 8026F678 0026C5D8 88 83 01 6D */ lbz r4, 0x16d(r3) +/* 8026F67C 0026C5DC 88 03 01 6C */ lbz r0, 0x16c(r3) +/* 8026F680 0026C5E0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F684 0026C5E4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F688 0026C5E8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F68C 0026C5EC 89 23 01 6F */ lbz r9, 0x16f(r3) +/* 8026F690 0026C5F0 38 63 00 08 */ addi r3, r3, 8 +/* 8026F694 0026C5F4 88 05 00 36 */ lbz r0, 0x36(r5) +/* 8026F698 0026C5F8 88 85 00 35 */ lbz r4, 0x35(r5) +/* 8026F69C 0026C5FC 7D 26 06 30 */ sraw r6, r9, r0 +/* 8026F6A0 0026C600 88 05 00 34 */ lbz r0, 0x34(r5) +/* 8026F6A4 0026C604 7D 24 26 30 */ sraw r4, r9, r4 +/* 8026F6A8 0026C608 7D 20 06 30 */ sraw r0, r9, r0 +/* 8026F6AC 0026C60C 98 08 80 00 */ stb r0, 0xCC008000@l(r8) +/* 8026F6B0 0026C610 98 88 80 00 */ stb r4, 0xCC008000@l(r8) +/* 8026F6B4 0026C614 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) +/* 8026F6B8 0026C618 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) +/* 8026F6BC 0026C61C 42 00 FF 4C */ bdnz lbl_8026F608 +/* 8026F6C0 0026C620 4E 80 00 20 */ blr + +.global RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo +RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: +/* 8026F6C4 0026C624 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F6C8 0026C628 7C 08 02 A6 */ mflr r0 +/* 8026F6CC 0026C62C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026F6D0 0026C630 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8026F6D4 0026C634 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8026F6D8 0026C638 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026F6DC 0026C63C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8026F6E0 0026C640 BF 41 00 08 */ stmw r26, 8(r1) +/* 8026F6E4 0026C644 FF C0 08 90 */ fmr f30, f1 +/* 8026F6E8 0026C648 83 8D A5 74 */ lwz r28, lbl_805A9134@sda21(r13) +/* 8026F6EC 0026C64C FF E0 10 90 */ fmr f31, f2 +/* 8026F6F0 0026C650 7C 7A 1B 78 */ mr r26, r3 +/* 8026F6F4 0026C654 7C BB 2B 78 */ mr r27, r5 +/* 8026F6F8 0026C658 7C 9D 23 78 */ mr r29, r4 +/* 8026F6FC 0026C65C 54 9E 08 3C */ slwi r30, r4, 1 +/* 8026F700 0026C660 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8026F704 0026C664 48 00 00 D4 */ b lbl_8026F7D8 +lbl_8026F708: +/* 8026F708 0026C668 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8026F70C 0026C66C 38 60 00 98 */ li r3, 0x98 +/* 8026F710 0026C670 38 80 00 00 */ li r4, 0 +/* 8026F714 0026C674 48 09 8E 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026F718 0026C678 C0 3B 00 18 */ lfs f1, 0x18(r27) +/* 8026F71C 0026C67C 7F A7 EB 78 */ mr r7, r29 +/* 8026F720 0026C680 FC 00 F0 90 */ fmr f0, f30 +/* 8026F724 0026C684 7F 46 D3 78 */ mr r6, r26 +/* 8026F728 0026C688 EC 7F 08 2A */ fadds f3, f31, f1 +/* 8026F72C 0026C68C 7F A9 03 A6 */ mtctr r29 +/* 8026F730 0026C690 2C 1D 00 00 */ cmpwi r29, 0 +/* 8026F734 0026C694 41 82 00 90 */ beq lbl_8026F7C4 +lbl_8026F738: +/* 8026F738 0026C698 C0 46 00 00 */ lfs f2, 0(r6) +/* 8026F73C 0026C69C 38 A0 00 FF */ li r5, 0xff +/* 8026F740 0026C6A0 38 E7 FF FF */ addi r7, r7, -1 +/* 8026F744 0026C6A4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026F748 0026C6A8 D3 FF 80 00 */ stfs f31, 0xCC008000@l(r31) +/* 8026F74C 0026C6AC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8026F750 0026C6B0 89 06 00 07 */ lbz r8, 7(r6) +/* 8026F754 0026C6B4 88 1B 00 36 */ lbz r0, 0x36(r27) +/* 8026F758 0026C6B8 88 7B 00 35 */ lbz r3, 0x35(r27) +/* 8026F75C 0026C6BC 7D 04 06 30 */ sraw r4, r8, r0 +/* 8026F760 0026C6C0 88 1B 00 34 */ lbz r0, 0x34(r27) +/* 8026F764 0026C6C4 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026F768 0026C6C8 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026F76C 0026C6CC 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) +/* 8026F770 0026C6D0 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) +/* 8026F774 0026C6D4 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) +/* 8026F778 0026C6D8 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) +/* 8026F77C 0026C6DC C0 46 01 68 */ lfs f2, 0x168(r6) +/* 8026F780 0026C6E0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026F784 0026C6E4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8026F788 0026C6E8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8026F78C 0026C6EC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8026F790 0026C6F0 89 06 01 6F */ lbz r8, 0x16f(r6) +/* 8026F794 0026C6F4 38 C6 00 08 */ addi r6, r6, 8 +/* 8026F798 0026C6F8 88 1B 00 36 */ lbz r0, 0x36(r27) +/* 8026F79C 0026C6FC 88 7B 00 35 */ lbz r3, 0x35(r27) +/* 8026F7A0 0026C700 7D 04 06 30 */ sraw r4, r8, r0 +/* 8026F7A4 0026C704 88 1B 00 34 */ lbz r0, 0x34(r27) +/* 8026F7A8 0026C708 7D 03 1E 30 */ sraw r3, r8, r3 +/* 8026F7AC 0026C70C 7D 00 06 30 */ sraw r0, r8, r0 +/* 8026F7B0 0026C710 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) +/* 8026F7B4 0026C714 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) +/* 8026F7B8 0026C718 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) +/* 8026F7BC 0026C71C 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) +/* 8026F7C0 0026C720 42 00 FF 78 */ bdnz lbl_8026F738 +lbl_8026F7C4: +/* 8026F7C4 0026C724 48 09 8D BD */ bl End__3CGXFv +/* 8026F7C8 0026C728 C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 8026F7CC 0026C72C 3B 9C FF FF */ addi r28, r28, -1 +/* 8026F7D0 0026C730 3B 5A 01 68 */ addi r26, r26, 0x168 +/* 8026F7D4 0026C734 EF FF 00 2A */ fadds f31, f31, f0 +lbl_8026F7D8: +/* 8026F7D8 0026C738 2C 1C 00 00 */ cmpwi r28, 0 +/* 8026F7DC 0026C73C 41 81 FF 2C */ bgt lbl_8026F708 +/* 8026F7E0 0026C740 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026F7E4 0026C744 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8026F7E8 0026C748 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8026F7EC 0026C74C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8026F7F0 0026C750 BB 41 00 08 */ lmw r26, 8(r1) +/* 8026F7F4 0026C754 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026F7F8 0026C758 7C 08 03 A6 */ mtlr r0 +/* 8026F7FC 0026C75C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026F800 0026C760 4E 80 00 20 */ blr + +.global PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo +PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo: +/* 8026F804 0026C764 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026F808 0026C768 3C 00 43 30 */ lis r0, 0x4330 +/* 8026F80C 0026C76C 3C C0 80 57 */ lis r6, lbl_8057198C@ha +/* 8026F810 0026C770 C0 82 BB A4 */ lfs f4, lbl_805AD8C4@sda21(r2) +/* 8026F814 0026C774 C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8026F818 0026C778 38 C6 19 8C */ addi r6, r6, lbl_8057198C@l +/* 8026F81C 0026C77C C0 03 00 04 */ lfs f0, 4(r3) +/* 8026F820 0026C780 C0 A2 BB A8 */ lfs f5, lbl_805AD8C8@sda21(r2) +/* 8026F824 0026C784 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8026F828 0026C788 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) +/* 8026F82C 0026C78C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8026F830 0026C790 C1 23 00 08 */ lfs f9, 8(r3) +/* 8026F834 0026C794 EC 60 10 24 */ fdivs f3, f0, f2 +/* 8026F838 0026C798 C1 04 00 0C */ lfs f8, 0xc(r4) +/* 8026F83C 0026C79C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8026F840 0026C7A0 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) +/* 8026F844 0026C7A4 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 8026F848 0026C7A8 C0 C4 00 10 */ lfs f6, 0x10(r4) +/* 8026F84C 0026C7AC EC 84 18 28 */ fsubs f4, f4, f3 +/* 8026F850 0026C7B0 C1 64 00 24 */ lfs f11, 0x24(r4) +/* 8026F854 0026C7B4 EC 61 00 32 */ fmuls f3, f1, f0 +/* 8026F858 0026C7B8 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) +/* 8026F85C 0026C7BC ED 09 40 28 */ fsubs f8, f9, f8 +/* 8026F860 0026C7C0 EC 25 01 32 */ fmuls f1, f5, f4 +/* 8026F864 0026C7C4 EC 87 30 28 */ fsubs f4, f7, f6 +/* 8026F868 0026C7C8 EC AB 02 32 */ fmuls f5, f11, f8 +/* 8026F86C 0026C7CC FC 20 08 1E */ fctiwz f1, f1 +/* 8026F870 0026C7D0 EC 8B 01 32 */ fmuls f4, f11, f4 +/* 8026F874 0026C7D4 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 8026F878 0026C7D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026F87C 0026C7DC 7C 06 00 AE */ lbzx r0, r6, r0 +/* 8026F880 0026C7E0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8026F884 0026C7E4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8026F888 0026C7E8 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 8026F88C 0026C7EC EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026F890 0026C7F0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8026F894 0026C7F4 ED 41 00 72 */ fmuls f10, f1, f1 +/* 8026F898 0026C7F8 FC 00 50 00 */ fcmpu cr0, f0, f10 +/* 8026F89C 0026C7FC 40 82 00 08 */ bne lbl_8026F8A4 +/* 8026F8A0 0026C800 48 00 00 10 */ b lbl_8026F8B0 +lbl_8026F8A4: +/* 8026F8A4 0026C804 10 00 50 34 */ ps_rsqrte f0, f10 +/* 8026F8A8 0026C808 10 00 02 B2 */ ps_mul f0, f0, f10 +/* 8026F8AC 0026C80C FD 40 00 90 */ fmr f10, f0 +lbl_8026F8B0: +/* 8026F8B0 0026C810 C0 02 BB A4 */ lfs f0, lbl_805AD8C4@sda21(r2) +/* 8026F8B4 0026C814 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026F8B8 0026C818 80 0D 98 48 */ lwz r0, lbl_805A8408@sda21(r13) +/* 8026F8BC 0026C81C EC 0B 02 BA */ fmadds f0, f11, f10, f0 +/* 8026F8C0 0026C820 EC 65 00 28 */ fsubs f3, f5, f0 +/* 8026F8C4 0026C824 EC 44 00 28 */ fsubs f2, f4, f0 +/* 8026F8C8 0026C828 EC 25 00 2A */ fadds f1, f5, f0 +/* 8026F8CC 0026C82C EC 04 00 2A */ fadds f0, f4, f0 +/* 8026F8D0 0026C830 FC 60 18 1E */ fctiwz f3, f3 +/* 8026F8D4 0026C834 FC 40 10 1E */ fctiwz f2, f2 +/* 8026F8D8 0026C838 FC 20 08 1E */ fctiwz f1, f1 +/* 8026F8DC 0026C83C FC 00 00 1E */ fctiwz f0, f0 +/* 8026F8E0 0026C840 D8 61 00 28 */ stfd f3, 0x28(r1) +/* 8026F8E4 0026C844 D8 41 00 20 */ stfd f2, 0x20(r1) +/* 8026F8E8 0026C848 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 8026F8EC 0026C84C D8 21 00 30 */ stfd f1, 0x30(r1) +/* 8026F8F0 0026C850 39 26 FF FF */ addi r9, r6, -1 +/* 8026F8F4 0026C854 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8026F8F8 0026C858 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 8026F8FC 0026C85C 7C 09 00 00 */ cmpw r9, r0 +/* 8026F900 0026C860 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8026F904 0026C864 39 06 FF FF */ addi r8, r6, -1 +/* 8026F908 0026C868 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8026F90C 0026C86C 38 E7 00 01 */ addi r7, r7, 1 +/* 8026F910 0026C870 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8026F914 0026C874 38 06 00 01 */ addi r0, r6, 1 +/* 8026F918 0026C878 91 01 00 18 */ stw r8, 0x18(r1) +/* 8026F91C 0026C87C 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8026F920 0026C880 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026F924 0026C884 40 80 00 08 */ bge lbl_8026F92C +/* 8026F928 0026C888 38 6D 98 48 */ addi r3, r13, lbl_805A8408@sda21 +lbl_8026F92C: +/* 8026F92C 0026C88C 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F930 0026C890 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026F934 0026C894 90 05 00 04 */ stw r0, 4(r5) +/* 8026F938 0026C898 88 C4 00 00 */ lbz r6, 0(r4) +/* 8026F93C 0026C89C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026F940 0026C8A0 7C C6 07 74 */ extsb r6, r6 +/* 8026F944 0026C8A4 7C 06 00 00 */ cmpw r6, r0 +/* 8026F948 0026C8A8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026F94C 0026C8AC 40 80 00 08 */ bge lbl_8026F954 +/* 8026F950 0026C8B0 38 61 00 0C */ addi r3, r1, 0xc +lbl_8026F954: +/* 8026F954 0026C8B4 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F958 0026C8B8 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8026F95C 0026C8BC 90 05 00 08 */ stw r0, 8(r5) +/* 8026F960 0026C8C0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8026F964 0026C8C4 80 0D 98 4C */ lwz r0, lbl_805A840C@sda21(r13) +/* 8026F968 0026C8C8 7C 03 00 00 */ cmpw r3, r0 +/* 8026F96C 0026C8CC 40 80 00 08 */ bge lbl_8026F974 +/* 8026F970 0026C8D0 38 CD 98 4C */ addi r6, r13, lbl_805A840C@sda21 +lbl_8026F974: +/* 8026F974 0026C8D4 80 06 00 00 */ lwz r0, 0(r6) +/* 8026F978 0026C8D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026F97C 0026C8DC 90 05 00 0C */ stw r0, 0xc(r5) +/* 8026F980 0026C8E0 88 84 00 01 */ lbz r4, 1(r4) +/* 8026F984 0026C8E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026F988 0026C8E8 7C 84 07 74 */ extsb r4, r4 +/* 8026F98C 0026C8EC 7C 04 00 00 */ cmpw r4, r0 +/* 8026F990 0026C8F0 90 81 00 08 */ stw r4, 8(r1) +/* 8026F994 0026C8F4 40 80 00 08 */ bge lbl_8026F99C +/* 8026F998 0026C8F8 38 61 00 08 */ addi r3, r1, 8 +lbl_8026F99C: +/* 8026F99C 0026C8FC 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9A0 0026C900 90 05 00 10 */ stw r0, 0x10(r5) +/* 8026F9A4 0026C904 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8026F9A8 0026C908 80 05 00 14 */ lwz r0, 0x14(r5) +/* 8026F9AC 0026C90C 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9B0 0026C910 40 80 00 0C */ bge lbl_8026F9BC +/* 8026F9B4 0026C914 38 65 00 14 */ addi r3, r5, 0x14 +/* 8026F9B8 0026C918 48 00 00 08 */ b lbl_8026F9C0 +lbl_8026F9BC: +/* 8026F9BC 0026C91C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_8026F9C0: +/* 8026F9C0 0026C920 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9C4 0026C924 90 05 00 14 */ stw r0, 0x14(r5) +/* 8026F9C8 0026C928 80 65 00 18 */ lwz r3, 0x18(r5) +/* 8026F9CC 0026C92C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026F9D0 0026C930 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9D4 0026C934 40 80 00 0C */ bge lbl_8026F9E0 +/* 8026F9D8 0026C938 38 65 00 18 */ addi r3, r5, 0x18 +/* 8026F9DC 0026C93C 48 00 00 08 */ b lbl_8026F9E4 +lbl_8026F9E0: +/* 8026F9E0 0026C940 38 61 00 14 */ addi r3, r1, 0x14 +lbl_8026F9E4: +/* 8026F9E4 0026C944 80 03 00 00 */ lwz r0, 0(r3) +/* 8026F9E8 0026C948 90 05 00 18 */ stw r0, 0x18(r5) +/* 8026F9EC 0026C94C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8026F9F0 0026C950 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 8026F9F4 0026C954 7C 03 00 00 */ cmpw r3, r0 +/* 8026F9F8 0026C958 40 80 00 0C */ bge lbl_8026FA04 +/* 8026F9FC 0026C95C 38 65 00 1C */ addi r3, r5, 0x1c +/* 8026FA00 0026C960 48 00 00 08 */ b lbl_8026FA08 +lbl_8026FA04: +/* 8026FA04 0026C964 38 61 00 18 */ addi r3, r1, 0x18 +lbl_8026FA08: +/* 8026FA08 0026C968 80 03 00 00 */ lwz r0, 0(r3) +/* 8026FA0C 0026C96C 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8026FA10 0026C970 80 65 00 20 */ lwz r3, 0x20(r5) +/* 8026FA14 0026C974 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026FA18 0026C978 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA1C 0026C97C 40 80 00 0C */ bge lbl_8026FA28 +/* 8026FA20 0026C980 38 65 00 20 */ addi r3, r5, 0x20 +/* 8026FA24 0026C984 48 00 00 08 */ b lbl_8026FA2C +lbl_8026FA28: +/* 8026FA28 0026C988 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8026FA2C: +/* 8026FA2C 0026C98C 80 03 00 00 */ lwz r0, 0(r3) +/* 8026FA30 0026C990 90 05 00 20 */ stw r0, 0x20(r5) +/* 8026FA34 0026C994 80 65 00 14 */ lwz r3, 0x14(r5) +/* 8026FA38 0026C998 80 05 00 18 */ lwz r0, 0x18(r5) +/* 8026FA3C 0026C99C 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA40 0026C9A0 41 81 00 14 */ bgt lbl_8026FA54 +/* 8026FA44 0026C9A4 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 8026FA48 0026C9A8 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8026FA4C 0026C9AC 7C 03 00 00 */ cmpw r3, r0 +/* 8026FA50 0026C9B0 40 81 00 0C */ ble lbl_8026FA5C +lbl_8026FA54: +/* 8026FA54 0026C9B4 38 60 00 00 */ li r3, 0 +/* 8026FA58 0026C9B8 48 00 00 08 */ b lbl_8026FA60 +lbl_8026FA5C: +/* 8026FA5C 0026C9BC 38 60 00 01 */ li r3, 1 +lbl_8026FA60: +/* 8026FA60 0026C9C0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8026FA64 0026C9C4 4E 80 00 20 */ blr + +.global GetGlobalSineWave__Fv +GetGlobalSineWave__Fv: +/* 8026FA68 0026C9C8 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FA6C 0026C9CC 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l +/* 8026FA70 0026C9D0 4E 80 00 20 */ blr + +.global InitializeSineWave__Fv +InitializeSineWave__Fv: +/* 8026FA74 0026C9D4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8026FA78 0026C9D8 7C 08 02 A6 */ mflr r0 +/* 8026FA7C 0026C9DC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026FA80 0026C9E0 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8026FA84 0026C9E4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8026FA88 0026C9E8 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8026FA8C 0026C9EC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8026FA90 0026C9F0 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 8026FA94 0026C9F4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 8026FA98 0026C9F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FA9C 0026C9FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026FAA0 0026CA00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026FAA4 0026CA04 88 0D A5 7C */ lbz r0, lbl_805A913C@sda21(r13) +/* 8026FAA8 0026CA08 28 00 00 00 */ cmplwi r0, 0 +/* 8026FAAC 0026CA0C 40 82 00 60 */ bne lbl_8026FB0C +/* 8026FAB0 0026CA10 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FAB4 0026CA14 C3 A2 BB B0 */ lfs f29, lbl_805AD8D0@sda21(r2) +/* 8026FAB8 0026CA18 CB C2 BB 98 */ lfd f30, lbl_805AD8B8@sda21(r2) +/* 8026FABC 0026CA1C 3B C3 DC C0 */ addi r30, r3, lbl_8046DCC0@l +/* 8026FAC0 0026CA20 C3 E2 BB B4 */ lfs f31, lbl_805AD8D4@sda21(r2) +/* 8026FAC4 0026CA24 3B A0 00 00 */ li r29, 0 +/* 8026FAC8 0026CA28 3F E0 43 30 */ lis r31, 0x4330 +lbl_8026FACC: +/* 8026FACC 0026CA2C 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 8026FAD0 0026CA30 93 E1 00 08 */ stw r31, 8(r1) +/* 8026FAD4 0026CA34 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026FAD8 0026CA38 C8 01 00 08 */ lfd f0, 8(r1) +/* 8026FADC 0026CA3C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8026FAE0 0026CA40 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8026FAE4 0026CA44 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 8026FAE8 0026CA48 48 12 4F F5 */ bl sin +/* 8026FAEC 0026CA4C FC 00 08 18 */ frsp f0, f1 +/* 8026FAF0 0026CA50 3B BD 00 01 */ addi r29, r29, 1 +/* 8026FAF4 0026CA54 2C 1D 01 00 */ cmpwi r29, 0x100 +/* 8026FAF8 0026CA58 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026FAFC 0026CA5C 3B DE 00 04 */ addi r30, r30, 4 +/* 8026FB00 0026CA60 41 80 FF CC */ blt lbl_8026FACC +/* 8026FB04 0026CA64 38 00 00 01 */ li r0, 1 +/* 8026FB08 0026CA68 98 0D A5 7C */ stb r0, lbl_805A913C@sda21(r13) +lbl_8026FB0C: +/* 8026FB0C 0026CA6C 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha +/* 8026FB10 0026CA70 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l +/* 8026FB14 0026CA74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8026FB18 0026CA78 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8026FB1C 0026CA7C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8026FB20 0026CA80 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8026FB24 0026CA84 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 8026FB28 0026CA88 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8026FB2C 0026CA8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FB30 0026CA90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026FB34 0026CA94 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8026FB38 0026CA98 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026FB3C 0026CA9C 7C 08 03 A6 */ mtlr r0 +/* 8026FB40 0026CAA0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8026FB44 0026CAA4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CGameArea.s b/asm/Kyoto_CWD/CGameArea.s index 372875e2..09bd60ed 100644 --- a/asm/Kyoto_CWD/CGameArea.s +++ b/asm/Kyoto_CWD/CGameArea.s @@ -4336,7 +4336,7 @@ lbl_80061700: /* 80061734 0005E694 41 82 00 14 */ beq lbl_80061748 /* 80061738 0005E698 38 81 01 C8 */ addi r4, r1, 0x1c8 /* 8006173C 0005E69C 38 BF 00 0C */ addi r5, r31, 0xc -/* 80061740 0005E6A0 48 24 11 E1 */ bl sub_802a2920 +/* 80061740 0005E6A0 48 24 11 E1 */ bl __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f /* 80061744 0005E6A4 7C 7D 1B 78 */ mr r29, r3 lbl_80061748: /* 80061748 0005E6A8 83 3F 01 2C */ lwz r25, 0x12c(r31) diff --git a/asm/Kyoto_CWD/CGameCubeDoll.s b/asm/Kyoto_CWD/CGameCubeDoll.s new file mode 100644 index 00000000..05c6ea1b --- /dev/null +++ b/asm/Kyoto_CWD/CGameCubeDoll.s @@ -0,0 +1,462 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Draw__13CGameCubeDollFf +Draw__13CGameCubeDollFf: +/* 8029E644 0029B5A4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8029E648 0029B5A8 7C 08 02 A6 */ mflr r0 +/* 8029E64C 0029B5AC 90 01 01 14 */ stw r0, 0x114(r1) +/* 8029E650 0029B5B0 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 8029E654 0029B5B4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 8029E658 0029B5B8 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8029E65C 0029B5BC 7C 7F 1B 78 */ mr r31, r3 +/* 8029E660 0029B5C0 FF E0 08 90 */ fmr f31, f1 +/* 8029E664 0029B5C4 48 00 04 D5 */ bl IsLoaded__13CGameCubeDollCFv +/* 8029E668 0029B5C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029E66C 0029B5CC 41 82 01 44 */ beq lbl_8029E7B0 +/* 8029E670 0029B5D0 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8029E674 0029B5D4 3C 80 43 30 */ lis r4, 0x4330 +/* 8029E678 0029B5D8 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 8029E67C 0029B5DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029E680 0029B5E0 80 A6 00 08 */ lwz r5, 8(r6) +/* 8029E684 0029B5E4 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8029E688 0029B5E8 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8029E68C 0029B5EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8029E690 0029B5F0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029E694 0029B5F4 90 A1 00 E4 */ stw r5, 0xe4(r1) +/* 8029E698 0029B5F8 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8029E69C 0029B5FC 90 81 00 E0 */ stw r4, 0xe0(r1) +/* 8029E6A0 0029B600 C8 62 C0 D8 */ lfd f3, lbl_805ADDF8@sda21(r2) +/* 8029E6A4 0029B604 EF FF 00 32 */ fmuls f31, f31, f0 +/* 8029E6A8 0029B608 C8 01 00 E0 */ lfd f0, 0xe0(r1) +/* 8029E6AC 0029B60C 90 01 00 EC */ stw r0, 0xec(r1) +/* 8029E6B0 0029B610 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8029E6B4 0029B614 EC 40 18 28 */ fsubs f2, f0, f3 +/* 8029E6B8 0029B618 90 81 00 E8 */ stw r4, 0xe8(r1) +/* 8029E6BC 0029B61C C0 22 C0 B0 */ lfs f1, lbl_805ADDD0@sda21(r2) +/* 8029E6C0 0029B620 C8 01 00 E8 */ lfd f0, 0xe8(r1) +/* 8029E6C4 0029B624 C0 82 C0 B4 */ lfs f4, lbl_805ADDD4@sda21(r2) +/* 8029E6C8 0029B628 EC 60 18 28 */ fsubs f3, f0, f3 +/* 8029E6CC 0029B62C C0 A2 C0 B8 */ lfs f5, lbl_805ADDD8@sda21(r2) +/* 8029E6D0 0029B630 7D 89 03 A6 */ mtctr r12 +/* 8029E6D4 0029B634 4E 80 04 21 */ bctrl +/* 8029E6D8 0029B638 C0 22 C0 BC */ lfs f1, lbl_805ADDDC@sda21(r2) +/* 8029E6DC 0029B63C 38 61 00 AC */ addi r3, r1, 0xac +/* 8029E6E0 0029B640 C0 42 C0 C0 */ lfs f2, lbl_805ADDE0@sda21(r2) +/* 8029E6E4 0029B644 FC 60 08 90 */ fmr f3, f1 +/* 8029E6E8 0029B648 48 07 4A A1 */ bl Translate__12CTransform4fFfff +/* 8029E6EC 0029B64C 38 61 00 AC */ addi r3, r1, 0xac +/* 8029E6F0 0029B650 48 06 E0 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029E6F4 0029B654 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8029E6F8 0029B658 4B E6 66 91 */ bl ActivateLights__12CActorLightsCFv +/* 8029E6FC 0029B65C 48 06 B7 E5 */ bl GetSecondsMod900__9CGraphicsFv +/* 8029E700 0029B660 C0 42 C0 C8 */ lfs f2, lbl_805ADDE8@sda21(r2) +/* 8029E704 0029B664 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029E708 0029B668 C0 02 C0 C4 */ lfs f0, lbl_805ADDE4@sda21(r2) +/* 8029E70C 0029B66C EC 62 00 72 */ fmuls f3, f2, f1 +/* 8029E710 0029B670 C0 42 C0 CC */ lfs f2, lbl_805ADDEC@sda21(r2) +/* 8029E714 0029B674 C0 22 C0 B4 */ lfs f1, lbl_805ADDD4@sda21(r2) +/* 8029E718 0029B678 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8029E71C 0029B67C FC 00 00 50 */ fneg f0, f0 +/* 8029E720 0029B680 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8029E724 0029B684 D0 01 00 08 */ stfs f0, 8(r1) +/* 8029E728 0029B688 48 07 4B 19 */ bl Scale__12CTransform4fFf +/* 8029E72C 0029B68C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029E730 0029B690 38 81 00 08 */ addi r4, r1, 8 +/* 8029E734 0029B694 48 07 50 DD */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8029E738 0029B698 38 61 00 7C */ addi r3, r1, 0x7c +/* 8029E73C 0029B69C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8029E740 0029B6A0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029E744 0029B6A4 48 07 42 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029E748 0029B6A8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8029E74C 0029B6AC 48 06 DE 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029E750 0029B6B0 7F E4 FB 78 */ mr r4, r31 +/* 8029E754 0029B6B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029E758 0029B6B8 48 0A 27 51 */ bl __ct__6CTokenFRC6CToken +/* 8029E75C 0029B6BC C0 22 C0 D0 */ lfs f1, lbl_805ADDF0@sda21(r2) +/* 8029E760 0029B6C0 38 60 00 05 */ li r3, 5 +/* 8029E764 0029B6C4 38 80 00 00 */ li r4, 0 +/* 8029E768 0029B6C8 38 00 00 03 */ li r0, 3 +/* 8029E76C 0029B6CC FC 40 08 90 */ fmr f2, f1 +/* 8029E770 0029B6D0 98 61 00 0C */ stb r3, 0xc(r1) +/* 8029E774 0029B6D4 FC 60 08 90 */ fmr f3, f1 +/* 8029E778 0029B6D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029E77C 0029B6DC FC 80 F8 90 */ fmr f4, f31 +/* 8029E780 0029B6E0 98 81 00 0D */ stb r4, 0xd(r1) +/* 8029E784 0029B6E4 B0 01 00 0E */ sth r0, 0xe(r1) +/* 8029E788 0029B6E8 48 0C 4C 65 */ bl __ct__6CColorFffff +/* 8029E78C 0029B6EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029E790 0029B6F0 48 0A 26 7D */ bl GetObj__6CTokenFv +/* 8029E794 0029B6F4 80 63 00 04 */ lwz r3, 4(r3) +/* 8029E798 0029B6F8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029E79C 0029B6FC 48 0B 74 39 */ bl Draw__6CModelCFRC11CModelFlags +/* 8029E7A0 0029B700 48 06 E1 DD */ bl DisableAllLights__9CGraphicsFv +/* 8029E7A4 0029B704 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029E7A8 0029B708 38 80 00 00 */ li r4, 0 +/* 8029E7AC 0029B70C 48 0A 26 95 */ bl __dt__6CTokenFv +lbl_8029E7B0: +/* 8029E7B0 0029B710 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 8029E7B4 0029B714 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8029E7B8 0029B718 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 8029E7BC 0029B71C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8029E7C0 0029B720 7C 08 03 A6 */ mtlr r0 +/* 8029E7C4 0029B724 38 21 01 10 */ addi r1, r1, 0x110 +/* 8029E7C8 0029B728 4E 80 00 20 */ blr + +.global Update__13CGameCubeDollFf +Update__13CGameCubeDollFf: +/* 8029E7CC 0029B72C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029E7D0 0029B730 7C 08 02 A6 */ mflr r0 +/* 8029E7D4 0029B734 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029E7D8 0029B738 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8029E7DC 0029B73C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8029E7E0 0029B740 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029E7E4 0029B744 7C 7F 1B 78 */ mr r31, r3 +/* 8029E7E8 0029B748 FF E0 08 90 */ fmr f31, f1 +/* 8029E7EC 0029B74C 48 00 03 65 */ bl CheckLoadComplete__13CGameCubeDollFv +/* 8029E7F0 0029B750 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029E7F4 0029B754 41 82 00 3C */ beq lbl_8029E830 +/* 8029E7F8 0029B758 C0 42 C0 E0 */ lfs f2, lbl_805ADE00@sda21(r2) +/* 8029E7FC 0029B75C C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8029E800 0029B760 C0 0D 9A 28 */ lfs f0, lbl_805A85E8@sda21(r13) +/* 8029E804 0029B764 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8029E808 0029B768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029E80C 0029B76C D0 21 00 08 */ stfs f1, 8(r1) +/* 8029E810 0029B770 40 80 00 0C */ bge lbl_8029E81C +/* 8029E814 0029B774 38 61 00 08 */ addi r3, r1, 8 +/* 8029E818 0029B778 48 00 00 08 */ b lbl_8029E820 +lbl_8029E81C: +/* 8029E81C 0029B77C 38 6D 9A 28 */ addi r3, r13, lbl_805A85E8@sda21 +lbl_8029E820: +/* 8029E820 0029B780 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029E824 0029B784 7F E3 FB 78 */ mr r3, r31 +/* 8029E828 0029B788 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8029E82C 0029B78C 48 00 00 81 */ bl UpdateActorLights__13CGameCubeDollFv +lbl_8029E830: +/* 8029E830 0029B790 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8029E834 0029B794 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029E838 0029B798 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8029E83C 0029B79C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029E840 0029B7A0 7C 08 03 A6 */ mtlr r0 +/* 8029E844 0029B7A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029E848 0029B7A8 4E 80 00 20 */ blr + +.global Touch__13CGameCubeDollFv +Touch__13CGameCubeDollFv: +/* 8029E84C 0029B7AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029E850 0029B7B0 7C 08 02 A6 */ mflr r0 +/* 8029E854 0029B7B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029E858 0029B7B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029E85C 0029B7BC 7C 7F 1B 78 */ mr r31, r3 +/* 8029E860 0029B7C0 48 00 02 F1 */ bl CheckLoadComplete__13CGameCubeDollFv +/* 8029E864 0029B7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029E868 0029B7C8 41 82 00 30 */ beq lbl_8029E898 +/* 8029E86C 0029B7CC 7F E4 FB 78 */ mr r4, r31 +/* 8029E870 0029B7D0 38 61 00 08 */ addi r3, r1, 8 +/* 8029E874 0029B7D4 48 0A 26 35 */ bl __ct__6CTokenFRC6CToken +/* 8029E878 0029B7D8 38 61 00 08 */ addi r3, r1, 8 +/* 8029E87C 0029B7DC 48 0A 25 91 */ bl GetObj__6CTokenFv +/* 8029E880 0029B7E0 80 63 00 04 */ lwz r3, 4(r3) +/* 8029E884 0029B7E4 38 80 00 00 */ li r4, 0 +/* 8029E888 0029B7E8 48 0B 6D AD */ bl Touch__6CModelCFi +/* 8029E88C 0029B7EC 38 61 00 08 */ addi r3, r1, 8 +/* 8029E890 0029B7F0 38 80 00 00 */ li r4, 0 +/* 8029E894 0029B7F4 48 0A 25 AD */ bl __dt__6CTokenFv +lbl_8029E898: +/* 8029E898 0029B7F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029E89C 0029B7FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029E8A0 0029B800 7C 08 03 A6 */ mtlr r0 +/* 8029E8A4 0029B804 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029E8A8 0029B808 4E 80 00 20 */ blr + +.global UpdateActorLights__13CGameCubeDollFv +UpdateActorLights__13CGameCubeDollFv: +/* 8029E8AC 0029B80C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8029E8B0 0029B810 7C 08 02 A6 */ mflr r0 +/* 8029E8B4 0029B814 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 8029E8B8 0029B818 3C C0 80 5A */ lis r6, lbl_805A6700@ha +/* 8029E8BC 0029B81C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8029E8C0 0029B820 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l +/* 8029E8C4 0029B824 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8029E8C8 0029B828 C0 62 C0 C4 */ lfs f3, lbl_805ADDE4@sda21(r2) +/* 8029E8CC 0029B82C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8029E8D0 0029B830 7C 7F 1B 78 */ mr r31, r3 +/* 8029E8D4 0029B834 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 8029E8D8 0029B838 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l +/* 8029E8DC 0029B83C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8029E8E0 0029B840 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029E8E4 0029B844 C0 C2 C0 E4 */ lfs f6, lbl_805ADE04@sda21(r2) +/* 8029E8E8 0029B848 C0 45 00 08 */ lfs f2, 8(r5) +/* 8029E8EC 0029B84C C0 25 00 00 */ lfs f1, 0(r5) +/* 8029E8F0 0029B850 EC E3 00 B2 */ fmuls f7, f3, f2 +/* 8029E8F4 0029B854 C0 05 00 04 */ lfs f0, 4(r5) +/* 8029E8F8 0029B858 EC 83 00 72 */ fmuls f4, f3, f1 +/* 8029E8FC 0029B85C C0 24 00 08 */ lfs f1, 8(r4) +/* 8029E900 0029B860 EC 63 00 32 */ fmuls f3, f3, f0 +/* 8029E904 0029B864 C0 04 00 00 */ lfs f0, 0(r4) +/* 8029E908 0029B868 C0 44 00 04 */ lfs f2, 4(r4) +/* 8029E90C 0029B86C ED 01 38 2A */ fadds f8, f1, f7 +/* 8029E910 0029B870 EC 20 20 2A */ fadds f1, f0, f4 +/* 8029E914 0029B874 C0 06 00 00 */ lfs f0, 0(r6) +/* 8029E918 0029B878 ED 22 18 2A */ fadds f9, f2, f3 +/* 8029E91C 0029B87C C0 46 00 08 */ lfs f2, 8(r6) +/* 8029E920 0029B880 EC A6 00 32 */ fmuls f5, f6, f0 +/* 8029E924 0029B884 ED 46 00 B2 */ fmuls f10, f6, f2 +/* 8029E928 0029B888 C0 06 00 04 */ lfs f0, 4(r6) +/* 8029E92C 0029B88C 38 81 00 34 */ addi r4, r1, 0x34 +/* 8029E930 0029B890 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8029E934 0029B894 EC 46 00 32 */ fmuls f2, f6, f0 +/* 8029E938 0029B898 EC 88 50 2A */ fadds f4, f8, f10 +/* 8029E93C 0029B89C D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8029E940 0029B8A0 EC 01 28 2A */ fadds f0, f1, f5 +/* 8029E944 0029B8A4 EC A9 10 2A */ fadds f5, f9, f2 +/* 8029E948 0029B8A8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8029E94C 0029B8AC D1 41 00 18 */ stfs f10, 0x18(r1) +/* 8029E950 0029B8B0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8029E954 0029B8B4 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 8029E958 0029B8B8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8029E95C 0029B8BC D1 21 00 2C */ stfs f9, 0x2c(r1) +/* 8029E960 0029B8C0 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 8029E964 0029B8C4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8029E968 0029B8C8 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 8029E96C 0029B8CC D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8029E970 0029B8D0 48 07 5E E1 */ bl AsNormalized__9CVector3fCFv +/* 8029E974 0029B8D4 38 00 00 FF */ li r0, 0xff +/* 8029E978 0029B8D8 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8029E97C 0029B8DC 98 01 00 0C */ stb r0, 0xc(r1) +/* 8029E980 0029B8E0 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8029E984 0029B8E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029E988 0029B8E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029E98C 0029B8EC 98 01 00 0D */ stb r0, 0xd(r1) +/* 8029E990 0029B8F0 98 01 00 0E */ stb r0, 0xe(r1) +/* 8029E994 0029B8F4 98 01 00 0F */ stb r0, 0xf(r1) +/* 8029E998 0029B8F8 48 06 7A D5 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029E99C 0029B8FC 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 8029E9A0 0029B900 38 61 00 08 */ addi r3, r1, 8 +/* 8029E9A4 0029B904 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 8029E9A8 0029B908 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8029E9AC 0029B90C C0 22 C0 C4 */ lfs f1, lbl_805ADDE4@sda21(r2) +/* 8029E9B0 0029B910 90 85 00 00 */ stw r4, 0(r5) +/* 8029E9B4 0029B914 FC 40 08 90 */ fmr f2, f1 +/* 8029E9B8 0029B918 C0 82 C0 D0 */ lfs f4, lbl_805ADDF0@sda21(r2) +/* 8029E9BC 0029B91C 90 05 00 04 */ stw r0, 4(r5) +/* 8029E9C0 0029B920 FC 60 08 90 */ fmr f3, f1 +/* 8029E9C4 0029B924 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8029E9C8 0029B928 90 05 00 08 */ stw r0, 8(r5) +/* 8029E9CC 0029B92C 80 81 00 58 */ lwz r4, 0x58(r1) +/* 8029E9D0 0029B930 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8029E9D4 0029B934 90 85 00 0C */ stw r4, 0xc(r5) +/* 8029E9D8 0029B938 90 05 00 10 */ stw r0, 0x10(r5) +/* 8029E9DC 0029B93C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8029E9E0 0029B940 90 05 00 14 */ stw r0, 0x14(r5) +/* 8029E9E4 0029B944 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029E9E8 0029B948 90 05 00 18 */ stw r0, 0x18(r5) +/* 8029E9EC 0029B94C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8029E9F0 0029B950 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8029E9F4 0029B954 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8029E9F8 0029B958 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8029E9FC 0029B95C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8029EA00 0029B960 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8029EA04 0029B964 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8029EA08 0029B968 D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8029EA0C 0029B96C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8029EA10 0029B970 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8029EA14 0029B974 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8029EA18 0029B978 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8029EA1C 0029B97C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8029EA20 0029B980 D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8029EA24 0029B984 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8029EA28 0029B988 D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8029EA2C 0029B98C 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8029EA30 0029B990 90 05 00 3C */ stw r0, 0x3c(r5) +/* 8029EA34 0029B994 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8029EA38 0029B998 90 05 00 40 */ stw r0, 0x40(r5) +/* 8029EA3C 0029B99C C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8029EA40 0029B9A0 D0 05 00 44 */ stfs f0, 0x44(r5) +/* 8029EA44 0029B9A4 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8029EA48 0029B9A8 D0 05 00 48 */ stfs f0, 0x48(r5) +/* 8029EA4C 0029B9AC 88 01 00 98 */ lbz r0, 0x98(r1) +/* 8029EA50 0029B9B0 98 05 00 4C */ stb r0, 0x4c(r5) +/* 8029EA54 0029B9B4 83 DF 00 18 */ lwz r30, 0x18(r31) +/* 8029EA58 0029B9B8 48 0C 49 95 */ bl __ct__6CColorFffff +/* 8029EA5C 0029B9BC 7C 65 1B 78 */ mr r5, r3 +/* 8029EA60 0029B9C0 7F C3 F3 78 */ mr r3, r30 +/* 8029EA64 0029B9C4 38 9F 00 08 */ addi r4, r31, 8 +/* 8029EA68 0029B9C8 4B E6 46 C5 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" +/* 8029EA6C 0029B9CC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8029EA70 0029B9D0 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8029EA74 0029B9D4 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8029EA78 0029B9D8 7C 08 03 A6 */ mtlr r0 +/* 8029EA7C 0029B9DC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8029EA80 0029B9E0 4E 80 00 20 */ blr + +.global __dt__13CGameCubeDollFv +__dt__13CGameCubeDollFv: +/* 8029EA84 0029B9E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029EA88 0029B9E8 7C 08 02 A6 */ mflr r0 +/* 8029EA8C 0029B9EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029EA90 0029B9F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029EA94 0029B9F4 7C 9F 23 78 */ mr r31, r4 +/* 8029EA98 0029B9F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029EA9C 0029B9FC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029EAA0 0029BA00 41 82 00 7C */ beq lbl_8029EB1C +/* 8029EAA4 0029BA04 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8029EAA8 0029BA08 41 82 00 10 */ beq lbl_8029EAB8 +/* 8029EAAC 0029BA0C 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8029EAB0 0029BA10 38 80 00 01 */ li r4, 1 +/* 8029EAB4 0029BA14 4B E6 66 21 */ bl __dt__12CActorLightsFv +lbl_8029EAB8: +/* 8029EAB8 0029BA18 34 1E 00 08 */ addic. r0, r30, 8 +/* 8029EABC 0029BA1C 41 82 00 44 */ beq lbl_8029EB00 +/* 8029EAC0 0029BA20 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8029EAC4 0029BA24 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8029EAC8 0029BA28 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 8029EACC 0029BA2C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029EAD0 0029BA30 7C 64 1B 78 */ mr r4, r3 +/* 8029EAD4 0029BA34 7C 03 02 14 */ add r0, r3, r0 +/* 8029EAD8 0029BA38 90 61 00 08 */ stw r3, 8(r1) +/* 8029EADC 0029BA3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029EAE0 0029BA40 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029EAE4 0029BA44 48 00 00 08 */ b lbl_8029EAEC +lbl_8029EAE8: +/* 8029EAE8 0029BA48 38 84 00 50 */ addi r4, r4, 0x50 +lbl_8029EAEC: +/* 8029EAEC 0029BA4C 7C 04 00 40 */ cmplw r4, r0 +/* 8029EAF0 0029BA50 40 82 FF F8 */ bne lbl_8029EAE8 +/* 8029EAF4 0029BA54 28 03 00 00 */ cmplwi r3, 0 +/* 8029EAF8 0029BA58 41 82 00 08 */ beq lbl_8029EB00 +/* 8029EAFC 0029BA5C 48 07 6E 35 */ bl Free__7CMemoryFPCv +lbl_8029EB00: +/* 8029EB00 0029BA60 7F C3 F3 78 */ mr r3, r30 +/* 8029EB04 0029BA64 38 80 FF FF */ li r4, -1 +/* 8029EB08 0029BA68 48 0A 23 39 */ bl __dt__6CTokenFv +/* 8029EB0C 0029BA6C 7F E0 07 35 */ extsh. r0, r31 +/* 8029EB10 0029BA70 40 81 00 0C */ ble lbl_8029EB1C +/* 8029EB14 0029BA74 7F C3 F3 78 */ mr r3, r30 +/* 8029EB18 0029BA78 48 07 6E 19 */ bl Free__7CMemoryFPCv +lbl_8029EB1C: +/* 8029EB1C 0029BA7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029EB20 0029BA80 7F C3 F3 78 */ mr r3, r30 +/* 8029EB24 0029BA84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029EB28 0029BA88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029EB2C 0029BA8C 7C 08 03 A6 */ mtlr r0 +/* 8029EB30 0029BA90 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029EB34 0029BA94 4E 80 00 20 */ blr + +.global IsLoaded__13CGameCubeDollCFv +IsLoaded__13CGameCubeDollCFv: +/* 8029EB38 0029BA98 88 03 00 20 */ lbz r0, 0x20(r3) +/* 8029EB3C 0029BA9C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8029EB40 0029BAA0 7C 03 00 D0 */ neg r0, r3 +/* 8029EB44 0029BAA4 7C 00 1B 78 */ or r0, r0, r3 +/* 8029EB48 0029BAA8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8029EB4C 0029BAAC 4E 80 00 20 */ blr + +.global CheckLoadComplete__13CGameCubeDollFv +CheckLoadComplete__13CGameCubeDollFv: +/* 8029EB50 0029BAB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029EB54 0029BAB4 7C 08 02 A6 */ mflr r0 +/* 8029EB58 0029BAB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029EB5C 0029BABC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029EB60 0029BAC0 7C 7F 1B 78 */ mr r31, r3 +/* 8029EB64 0029BAC4 4B FF FF D5 */ bl IsLoaded__13CGameCubeDollCFv +/* 8029EB68 0029BAC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029EB6C 0029BACC 41 82 00 0C */ beq lbl_8029EB78 +/* 8029EB70 0029BAD0 38 60 00 01 */ li r3, 1 +/* 8029EB74 0029BAD4 48 00 00 30 */ b lbl_8029EBA4 +lbl_8029EB78: +/* 8029EB78 0029BAD8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029EB7C 0029BADC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029EB80 0029BAE0 28 00 00 00 */ cmplwi r0, 0 +/* 8029EB84 0029BAE4 40 82 00 0C */ bne lbl_8029EB90 +/* 8029EB88 0029BAE8 38 60 00 00 */ li r3, 0 +/* 8029EB8C 0029BAEC 48 00 00 18 */ b lbl_8029EBA4 +lbl_8029EB90: +/* 8029EB90 0029BAF0 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 8029EB94 0029BAF4 38 60 00 01 */ li r3, 1 +/* 8029EB98 0029BAF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029EB9C 0029BAFC 38 60 00 01 */ li r3, 1 +/* 8029EBA0 0029BB00 98 1F 00 20 */ stb r0, 0x20(r31) +lbl_8029EBA4: +/* 8029EBA4 0029BB04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029EBA8 0029BB08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029EBAC 0029BB0C 7C 08 03 A6 */ mtlr r0 +/* 8029EBB0 0029BB10 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029EBB4 0029BB14 4E 80 00 20 */ blr + +.global __ct__13CGameCubeDollFv +__ct__13CGameCubeDollFv: +/* 8029EBB8 0029BB18 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8029EBBC 0029BB1C 7C 08 02 A6 */ mflr r0 +/* 8029EBC0 0029BB20 3C A0 80 3D */ lis r5, lbl_803D5E98@ha +/* 8029EBC4 0029BB24 90 01 00 84 */ stw r0, 0x84(r1) +/* 8029EBC8 0029BB28 38 A5 5E 98 */ addi r5, r5, lbl_803D5E98@l +/* 8029EBCC 0029BB2C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8029EBD0 0029BB30 7C 7F 1B 78 */ mr r31, r3 +/* 8029EBD4 0029BB34 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029EBD8 0029BB38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029EBDC 0029BB3C 81 84 00 00 */ lwz r12, 0(r4) +/* 8029EBE0 0029BB40 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8029EBE4 0029BB44 7D 89 03 A6 */ mtctr r12 +/* 8029EBE8 0029BB48 4E 80 04 21 */ bctrl +/* 8029EBEC 0029BB4C 7F E3 FB 78 */ mr r3, r31 +/* 8029EBF0 0029BB50 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029EBF4 0029BB54 48 0A 22 B5 */ bl __ct__6CTokenFRC6CToken +/* 8029EBF8 0029BB58 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029EBFC 0029BB5C 38 80 FF FF */ li r4, -1 +/* 8029EC00 0029BB60 48 0A 22 41 */ bl __dt__6CTokenFv +/* 8029EC04 0029BB64 38 00 FF FF */ li r0, -1 +/* 8029EC08 0029BB68 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8029EC0C 0029BB6C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029EC10 0029BB70 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8029EC14 0029BB74 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029EC18 0029BB78 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029EC1C 0029BB7C 48 06 78 51 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029EC20 0029BB80 38 7F 00 08 */ addi r3, r31, 8 +/* 8029EC24 0029BB84 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8029EC28 0029BB88 38 C1 00 08 */ addi r6, r1, 8 +/* 8029EC2C 0029BB8C 38 80 00 01 */ li r4, 1 +/* 8029EC30 0029BB90 4B E3 FA 99 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" +/* 8029EC34 0029BB94 3C 80 80 3D */ lis r4, lbl_803D5E98@ha +/* 8029EC38 0029BB98 38 60 02 E0 */ li r3, 0x2e0 +/* 8029EC3C 0029BB9C 38 84 5E 98 */ addi r4, r4, lbl_803D5E98@l +/* 8029EC40 0029BBA0 38 A0 00 00 */ li r5, 0 +/* 8029EC44 0029BBA4 38 84 00 0E */ addi r4, r4, 0xe +/* 8029EC48 0029BBA8 48 07 6C 25 */ bl __nw__FUlPCcPCc +/* 8029EC4C 0029BBAC 7C 60 1B 79 */ or. r0, r3, r3 +/* 8029EC50 0029BBB0 41 82 00 4C */ beq lbl_8029EC9C +/* 8029EC54 0029BBB4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8029EC58 0029BBB8 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 8029EC5C 0029BBBC 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8029EC60 0029BBC0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8029EC64 0029BBC4 81 07 00 00 */ lwz r8, 0(r7) +/* 8029EC68 0029BBC8 38 80 00 08 */ li r4, 8 +/* 8029EC6C 0029BBCC 81 67 00 04 */ lwz r11, 4(r7) +/* 8029EC70 0029BBD0 38 C0 00 04 */ li r6, 4 +/* 8029EC74 0029BBD4 80 07 00 08 */ lwz r0, 8(r7) +/* 8029EC78 0029BBD8 38 E0 00 04 */ li r7, 4 +/* 8029EC7C 0029BBDC 91 01 00 18 */ stw r8, 0x18(r1) +/* 8029EC80 0029BBE0 39 00 00 00 */ li r8, 0 +/* 8029EC84 0029BBE4 39 20 00 00 */ li r9, 0 +/* 8029EC88 0029BBE8 39 40 00 00 */ li r10, 0 +/* 8029EC8C 0029BBEC 91 61 00 1C */ stw r11, 0x1c(r1) +/* 8029EC90 0029BBF0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029EC94 0029BBF4 4B E6 65 39 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 8029EC98 0029BBF8 7C 60 1B 78 */ mr r0, r3 +lbl_8029EC9C: +/* 8029EC9C 0029BBFC 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8029ECA0 0029BC00 38 80 00 00 */ li r4, 0 +/* 8029ECA4 0029BC04 C0 02 C0 BC */ lfs f0, lbl_805ADDDC@sda21(r2) +/* 8029ECA8 0029BC08 7F E3 FB 78 */ mr r3, r31 +/* 8029ECAC 0029BC0C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8029ECB0 0029BC10 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 8029ECB4 0029BC14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8029ECB8 0029BC18 98 1F 00 20 */ stb r0, 0x20(r31) +/* 8029ECBC 0029BC1C 48 0A 20 C9 */ bl Lock__6CTokenFv +/* 8029ECC0 0029BC20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8029ECC4 0029BC24 7F E3 FB 78 */ mr r3, r31 +/* 8029ECC8 0029BC28 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8029ECCC 0029BC2C 7C 08 03 A6 */ mtlr r0 +/* 8029ECD0 0029BC30 38 21 00 80 */ addi r1, r1, 0x80 +/* 8029ECD4 0029BC34 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CNESEmulator.s b/asm/Kyoto_CWD/CNESEmulator.s new file mode 100644 index 00000000..0a0115f6 --- /dev/null +++ b/asm/Kyoto_CWD/CNESEmulator.s @@ -0,0 +1,1289 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPassword__12CNESEmulatorFv +GetPassword__12CNESEmulatorFv: +/* 80293B00 00290A60 38 63 00 21 */ addi r3, r3, 0x21 +/* 80293B04 00290A64 4E 80 00 20 */ blr + +.global IsGameOver__12CNESEmulatorFv +IsGameOver__12CNESEmulatorFv: +/* 80293B08 00290A68 88 63 00 20 */ lbz r3, 0x20(r3) +/* 80293B0C 00290A6C 4E 80 00 20 */ blr + +.global LoadPassword__12CNESEmulatorFPCc +LoadPassword__12CNESEmulatorFPCc: +/* 80293B10 00290A70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80293B14 00290A74 7C 08 02 A6 */ mflr r0 +/* 80293B18 00290A78 38 A0 00 12 */ li r5, 0x12 +/* 80293B1C 00290A7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80293B20 00290A80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80293B24 00290A84 7C 7F 1B 78 */ mr r31, r3 +/* 80293B28 00290A88 38 7F 00 39 */ addi r3, r31, 0x39 +/* 80293B2C 00290A8C 4B D6 F9 65 */ bl memcpy +/* 80293B30 00290A90 38 00 00 01 */ li r0, 1 +/* 80293B34 00290A94 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80293B38 00290A98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80293B3C 00290A9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80293B40 00290AA0 7C 08 03 A6 */ mtlr r0 +/* 80293B44 00290AA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80293B48 00290AA8 4E 80 00 20 */ blr + +.global GetPasswordEntryState__12CNESEmulatorFv +GetPasswordEntryState__12CNESEmulatorFv: +/* 80293B4C 00290AAC 80 63 00 34 */ lwz r3, 0x34(r3) +/* 80293B50 00290AB0 4E 80 00 20 */ blr + +.global Draw__12CNESEmulatorFRC6CColorb +Draw__12CNESEmulatorFRC6CColorb: +/* 80293B54 00290AB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80293B58 00290AB8 7C 08 02 A6 */ mflr r0 +/* 80293B5C 00290ABC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80293B60 00290AC0 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80293B64 00290AC4 7C 7C 1B 78 */ mr r28, r3 +/* 80293B68 00290AC8 7C 9F 23 78 */ mr r31, r4 +/* 80293B6C 00290ACC 7C BB 2B 78 */ mr r27, r5 +/* 80293B70 00290AD0 80 03 00 00 */ lwz r0, 0(r3) +/* 80293B74 00290AD4 28 00 00 00 */ cmplwi r0, 0 +/* 80293B78 00290AD8 40 82 02 A0 */ bne lbl_80293E18 +/* 80293B7C 00290ADC 38 60 00 02 */ li r3, 2 +/* 80293B80 00290AE0 48 0E 4F D9 */ bl GXSetCullMode +/* 80293B84 00290AE4 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 80293B88 00290AE8 C0 62 BF 44 */ lfs f3, lbl_805ADC64@sda21(r2) +/* 80293B8C 00290AEC FC 40 08 90 */ fmr f2, f1 +/* 80293B90 00290AF0 C0 82 BF 48 */ lfs f4, lbl_805ADC68@sda21(r2) +/* 80293B94 00290AF4 C0 A2 BF 4C */ lfs f5, lbl_805ADC6C@sda21(r2) +/* 80293B98 00290AF8 C0 C2 BF 50 */ lfs f6, lbl_805ADC70@sda21(r2) +/* 80293B9C 00290AFC 48 0E 8A AD */ bl GXSetViewport +/* 80293BA0 00290B00 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 80293BA4 00290B04 80 7C 00 08 */ lwz r3, 8(r28) +/* 80293BA8 00290B08 81 84 00 18 */ lwz r12, 0x18(r4) +/* 80293BAC 00290B0C 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80293BB0 00290B10 7D 89 03 A6 */ mtctr r12 +/* 80293BB4 00290B14 4E 80 04 21 */ bctrl +/* 80293BB8 00290B18 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 80293BBC 00290B1C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80293BC0 00290B20 81 84 00 1C */ lwz r12, 0x1c(r4) +/* 80293BC4 00290B24 7D 89 03 A6 */ mtctr r12 +/* 80293BC8 00290B28 4E 80 04 21 */ bctrl +/* 80293BCC 00290B2C 38 60 00 00 */ li r3, 0 +/* 80293BD0 00290B30 48 0E 8B 6D */ bl GXSetClipMode +/* 80293BD4 00290B34 38 60 00 00 */ li r3, 0 +/* 80293BD8 00290B38 38 80 00 09 */ li r4, 9 +/* 80293BDC 00290B3C 38 A0 00 01 */ li r5, 1 +/* 80293BE0 00290B40 38 C0 00 04 */ li r6, 4 +/* 80293BE4 00290B44 38 E0 00 00 */ li r7, 0 +/* 80293BE8 00290B48 48 0E 3B A5 */ bl GXSetVtxAttrFmt +/* 80293BEC 00290B4C 38 60 00 00 */ li r3, 0 +/* 80293BF0 00290B50 38 80 00 0A */ li r4, 0xa +/* 80293BF4 00290B54 38 A0 00 00 */ li r5, 0 +/* 80293BF8 00290B58 38 C0 00 04 */ li r6, 4 +/* 80293BFC 00290B5C 38 E0 00 00 */ li r7, 0 +/* 80293C00 00290B60 48 0E 3B 8D */ bl GXSetVtxAttrFmt +/* 80293C04 00290B64 38 60 00 00 */ li r3, 0 +/* 80293C08 00290B68 38 80 00 0B */ li r4, 0xb +/* 80293C0C 00290B6C 38 A0 00 01 */ li r5, 1 +/* 80293C10 00290B70 38 C0 00 05 */ li r6, 5 +/* 80293C14 00290B74 38 E0 00 00 */ li r7, 0 +/* 80293C18 00290B78 48 0E 3B 75 */ bl GXSetVtxAttrFmt +/* 80293C1C 00290B7C 38 60 00 00 */ li r3, 0 +/* 80293C20 00290B80 38 80 00 0D */ li r4, 0xd +/* 80293C24 00290B84 38 A0 00 01 */ li r5, 1 +/* 80293C28 00290B88 38 C0 00 04 */ li r6, 4 +/* 80293C2C 00290B8C 38 E0 00 00 */ li r7, 0 +/* 80293C30 00290B90 48 0E 3B 5D */ bl GXSetVtxAttrFmt +/* 80293C34 00290B94 3B C0 00 01 */ li r30, 1 +lbl_80293C38: +/* 80293C38 00290B98 38 9E 00 0D */ addi r4, r30, 0xd +/* 80293C3C 00290B9C 38 60 00 00 */ li r3, 0 +/* 80293C40 00290BA0 38 A0 00 01 */ li r5, 1 +/* 80293C44 00290BA4 38 C0 00 04 */ li r6, 4 +/* 80293C48 00290BA8 38 E0 00 00 */ li r7, 0 +/* 80293C4C 00290BAC 48 0E 3B 41 */ bl GXSetVtxAttrFmt +/* 80293C50 00290BB0 3B DE 00 01 */ addi r30, r30, 1 +/* 80293C54 00290BB4 2C 1E 00 07 */ cmpwi r30, 7 +/* 80293C58 00290BB8 40 81 FF E0 */ ble lbl_80293C38 +/* 80293C5C 00290BBC 38 60 00 00 */ li r3, 0 +/* 80293C60 00290BC0 38 80 00 03 */ li r4, 3 +/* 80293C64 00290BC4 48 0E 77 B5 */ bl GXSetTevOp +/* 80293C68 00290BC8 38 60 00 00 */ li r3, 0 +/* 80293C6C 00290BCC 38 80 00 00 */ li r4, 0 +/* 80293C70 00290BD0 38 A0 00 00 */ li r5, 0 +/* 80293C74 00290BD4 38 C0 00 00 */ li r6, 0 +/* 80293C78 00290BD8 48 0E 6C 39 */ bl GXSetTexCoordCylWrap +/* 80293C7C 00290BDC 48 07 44 59 */ bl sub_803080d4 +/* 80293C80 00290BE0 38 60 00 00 */ li r3, 0 +/* 80293C84 00290BE4 48 07 51 CD */ bl SetNumChans__3CGXFUc +/* 80293C88 00290BE8 38 60 00 01 */ li r3, 1 +/* 80293C8C 00290BEC 48 07 51 89 */ bl SetNumTexGens__3CGXFUc +/* 80293C90 00290BF0 38 60 00 01 */ li r3, 1 +/* 80293C94 00290BF4 48 07 4F FD */ bl SetNumTevStages__3CGXFUc +/* 80293C98 00290BF8 38 60 00 00 */ li r3, 0 +/* 80293C9C 00290BFC 48 07 49 F5 */ bl SetNumIndStages__3CGXFUc +/* 80293CA0 00290C00 38 60 00 00 */ li r3, 0 +/* 80293CA4 00290C04 38 80 00 01 */ li r4, 1 +/* 80293CA8 00290C08 38 A0 00 04 */ li r5, 4 +/* 80293CAC 00290C0C 38 C0 00 3C */ li r6, 0x3c +/* 80293CB0 00290C10 38 E0 00 00 */ li r7, 0 +/* 80293CB4 00290C14 39 00 00 7D */ li r8, 0x7d +/* 80293CB8 00290C18 48 07 4A 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80293CBC 00290C1C 38 60 00 00 */ li r3, 0 +/* 80293CC0 00290C20 48 07 4A 85 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80293CC4 00290C24 38 60 00 00 */ li r3, 0 +/* 80293CC8 00290C28 38 80 00 00 */ li r4, 0 +/* 80293CCC 00290C2C 38 A0 00 00 */ li r5, 0 +/* 80293CD0 00290C30 38 C0 00 FF */ li r6, 0xff +/* 80293CD4 00290C34 48 07 4C 79 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80293CD8 00290C38 38 60 00 07 */ li r3, 7 +/* 80293CDC 00290C3C 38 80 00 00 */ li r4, 0 +/* 80293CE0 00290C40 38 A0 00 00 */ li r5, 0 +/* 80293CE4 00290C44 38 C0 00 07 */ li r6, 7 +/* 80293CE8 00290C48 38 E0 00 00 */ li r7, 0 +/* 80293CEC 00290C4C 48 07 7D 3D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80293CF0 00290C50 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293CF4 00290C54 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80293CF8 00290C58 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80293CFC 00290C5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293D00 00290C60 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80293D04 00290C64 7D 89 03 A6 */ mtctr r12 +/* 80293D08 00290C68 4E 80 04 21 */ bctrl +/* 80293D0C 00290C6C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80293D10 00290C70 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80293D14 00290C74 48 07 8A 39 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80293D18 00290C78 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293D1C 00290C7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293D20 00290C80 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 80293D24 00290C84 7D 89 03 A6 */ mtctr r12 +/* 80293D28 00290C88 4E 80 04 21 */ bctrl +/* 80293D2C 00290C8C 57 65 06 3E */ clrlwi r5, r27, 0x18 +/* 80293D30 00290C90 80 9C 00 04 */ lwz r4, 4(r28) +/* 80293D34 00290C94 7C 05 00 D0 */ neg r0, r5 +/* 80293D38 00290C98 38 61 00 08 */ addi r3, r1, 8 +/* 80293D3C 00290C9C 7C 00 2B 78 */ or r0, r0, r5 +/* 80293D40 00290CA0 38 A0 01 00 */ li r5, 0x100 +/* 80293D44 00290CA4 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 80293D48 00290CA8 38 C0 00 E4 */ li r6, 0xe4 +/* 80293D4C 00290CAC 38 E0 00 04 */ li r7, 4 +/* 80293D50 00290CB0 39 00 00 00 */ li r8, 0 +/* 80293D54 00290CB4 39 20 00 00 */ li r9, 0 +/* 80293D58 00290CB8 39 40 00 00 */ li r10, 0 +/* 80293D5C 00290CBC 48 0E 61 09 */ bl GXInitTexObj +/* 80293D60 00290CC0 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 80293D64 00290CC4 7F C4 F3 78 */ mr r4, r30 +/* 80293D68 00290CC8 7F C5 F3 78 */ mr r5, r30 +/* 80293D6C 00290CCC 38 61 00 08 */ addi r3, r1, 8 +/* 80293D70 00290CD0 FC 40 08 90 */ fmr f2, f1 +/* 80293D74 00290CD4 38 C0 00 00 */ li r6, 0 +/* 80293D78 00290CD8 FC 60 08 90 */ fmr f3, f1 +/* 80293D7C 00290CDC 38 E0 00 00 */ li r7, 0 +/* 80293D80 00290CE0 39 00 00 00 */ li r8, 0 +/* 80293D84 00290CE4 48 0E 63 9D */ bl GXInitTexObjLOD +/* 80293D88 00290CE8 38 60 00 00 */ li r3, 0 +/* 80293D8C 00290CEC 48 07 A3 BD */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80293D90 00290CF0 48 0E 6A B1 */ bl GXInvalidateTexAll +/* 80293D94 00290CF4 38 61 00 08 */ addi r3, r1, 8 +/* 80293D98 00290CF8 38 80 00 00 */ li r4, 0 +/* 80293D9C 00290CFC 48 0E 66 F9 */ bl GXLoadTexObj +/* 80293DA0 00290D00 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80293DA4 00290D04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80293DA8 00290D08 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l +/* 80293DAC 00290D0C 83 C5 00 00 */ lwz r30, 0(r5) +/* 80293DB0 00290D10 38 60 00 00 */ li r3, 0 +/* 80293DB4 00290D14 83 A5 00 04 */ lwz r29, 4(r5) +/* 80293DB8 00290D18 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80293DBC 00290D1C 83 85 00 08 */ lwz r28, 8(r5) +/* 80293DC0 00290D20 83 65 00 0C */ lwz r27, 0xc(r5) +/* 80293DC4 00290D24 48 07 64 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80293DC8 00290D28 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80293DCC 00290D2C 38 80 00 00 */ li r4, 0 +/* 80293DD0 00290D30 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80293DD4 00290D34 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 80293DD8 00290D38 7C 03 00 D0 */ neg r0, r3 +/* 80293DDC 00290D3C 7C 00 1B 78 */ or r0, r0, r3 +/* 80293DE0 00290D40 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80293DE4 00290D44 48 0E 81 E1 */ bl GXSetPixelFmt +/* 80293DE8 00290D48 7F C3 F3 78 */ mr r3, r30 +/* 80293DEC 00290D4C 7F 85 E3 78 */ mr r5, r28 +/* 80293DF0 00290D50 7F E7 FB 78 */ mr r7, r31 +/* 80293DF4 00290D54 7C 9D DA 14 */ add r4, r29, r27 +/* 80293DF8 00290D58 7C DB 00 D0 */ neg r6, r27 +/* 80293DFC 00290D5C 48 00 00 31 */ bl sub_80293e2c +/* 80293E00 00290D60 38 60 00 07 */ li r3, 7 +/* 80293E04 00290D64 38 80 00 00 */ li r4, 0 +/* 80293E08 00290D68 38 A0 00 00 */ li r5, 0 +/* 80293E0C 00290D6C 38 C0 00 07 */ li r6, 7 +/* 80293E10 00290D70 38 E0 00 00 */ li r7, 0 +/* 80293E14 00290D74 48 07 4A 01 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +lbl_80293E18: +/* 80293E18 00290D78 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80293E1C 00290D7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80293E20 00290D80 7C 08 03 A6 */ mtlr r0 +/* 80293E24 00290D84 38 21 00 40 */ addi r1, r1, 0x40 +/* 80293E28 00290D88 4E 80 00 20 */ blr + +.global sub_80293e2c +sub_80293e2c: +/* 80293E2C 00290D8C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80293E30 00290D90 7C 08 02 A6 */ mflr r0 +/* 80293E34 00290D94 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80293E38 00290D98 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80293E3C 00290D9C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80293E40 00290DA0 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80293E44 00290DA4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80293E48 00290DA8 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 80293E4C 00290DAC 3D 00 80 3F */ lis r8, lbl_803ED910@ha +/* 80293E50 00290DB0 7C 79 1B 78 */ mr r25, r3 +/* 80293E54 00290DB4 39 48 D9 10 */ addi r10, r8, lbl_803ED910@l +/* 80293E58 00290DB8 7C 9A 23 78 */ mr r26, r4 +/* 80293E5C 00290DBC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80293E60 00290DC0 7C BB 2B 78 */ mr r27, r5 +/* 80293E64 00290DC4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80293E68 00290DC8 7C DC 33 78 */ mr r28, r6 +/* 80293E6C 00290DCC 80 AA 00 08 */ lwz r5, 8(r10) +/* 80293E70 00290DD0 7C FD 3B 78 */ mr r29, r7 +/* 80293E74 00290DD4 80 8A 00 0C */ lwz r4, 0xc(r10) +/* 80293E78 00290DD8 80 6A 00 10 */ lwz r3, 0x10(r10) +/* 80293E7C 00290DDC 80 0A 00 14 */ lwz r0, 0x14(r10) +/* 80293E80 00290DE0 91 21 00 24 */ stw r9, 0x24(r1) +/* 80293E84 00290DE4 91 01 00 28 */ stw r8, 0x28(r1) +/* 80293E88 00290DE8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80293E8C 00290DEC 90 81 00 30 */ stw r4, 0x30(r1) +/* 80293E90 00290DF0 90 61 00 34 */ stw r3, 0x34(r1) +/* 80293E94 00290DF4 90 01 00 38 */ stw r0, 0x38(r1) +/* 80293E98 00290DF8 48 07 5F C5 */ bl GetProjectionState__9CGraphicsFv +/* 80293E9C 00290DFC 88 03 00 00 */ lbz r0, 0(r3) +/* 80293EA0 00290E00 3C C0 43 30 */ lis r6, 0x4330 +/* 80293EA4 00290E04 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80293EA8 00290E08 98 01 00 08 */ stb r0, 8(r1) +/* 80293EAC 00290E0C 81 01 00 30 */ lwz r8, 0x30(r1) +/* 80293EB0 00290E10 7C 85 00 D0 */ neg r4, r5 +/* 80293EB4 00290E14 C0 03 00 04 */ lfs f0, 4(r3) +/* 80293EB8 00290E18 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80293EBC 00290E1C 7C 80 22 14 */ add r4, r0, r4 +/* 80293EC0 00290E20 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80293EC4 00290E24 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80293EC8 00290E28 7C 87 0E 70 */ srawi r7, r4, 1 +/* 80293ECC 00290E2C 7C A0 2A 14 */ add r5, r0, r5 +/* 80293ED0 00290E30 55 00 0F FE */ srwi r0, r8, 0x1f +/* 80293ED4 00290E34 C0 03 00 08 */ lfs f0, 8(r3) +/* 80293ED8 00290E38 7C 88 00 D0 */ neg r4, r8 +/* 80293EDC 00290E3C 7C BF 0E 70 */ srawi r31, r5, 1 +/* 80293EE0 00290E40 7C A0 42 14 */ add r5, r0, r8 +/* 80293EE4 00290E44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80293EE8 00290E48 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80293EEC 00290E4C 7C BE 0E 70 */ srawi r30, r5, 1 +/* 80293EF0 00290E50 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80293EF4 00290E54 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80293EF8 00290E58 7C 00 22 14 */ add r0, r0, r4 +/* 80293EFC 00290E5C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80293F00 00290E60 6F E5 80 00 */ xoris r5, r31, 0x8000 +/* 80293F04 00290E64 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80293F08 00290E68 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 80293F0C 00290E6C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80293F10 00290E70 C8 82 BF 60 */ lfd f4, lbl_805ADC80@sda21(r2) +/* 80293F14 00290E74 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80293F18 00290E78 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80293F1C 00290E7C C0 A2 BF 40 */ lfs f5, lbl_805ADC60@sda21(r2) +/* 80293F20 00290E80 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80293F24 00290E84 C0 C2 BF 54 */ lfs f6, lbl_805ADC74@sda21(r2) +/* 80293F28 00290E88 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80293F2C 00290E8C 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80293F30 00290E90 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80293F34 00290E94 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80293F38 00290E98 C0 E3 00 18 */ lfs f7, 0x18(r3) +/* 80293F3C 00290E9C 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80293F40 00290EA0 EC 20 20 28 */ fsubs f1, f0, f4 +/* 80293F44 00290EA4 90 C1 00 48 */ stw r6, 0x48(r1) +/* 80293F48 00290EA8 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80293F4C 00290EAC 90 81 00 54 */ stw r4, 0x54(r1) +/* 80293F50 00290EB0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 80293F54 00290EB4 90 C1 00 50 */ stw r6, 0x50(r1) +/* 80293F58 00290EB8 C8 01 00 50 */ lfd f0, 0x50(r1) +/* 80293F5C 00290EBC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80293F60 00290EC0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 80293F64 00290EC4 90 C1 00 58 */ stw r6, 0x58(r1) +/* 80293F68 00290EC8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80293F6C 00290ECC D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 80293F70 00290ED0 EC 80 20 28 */ fsubs f4, f0, f4 +/* 80293F74 00290ED4 48 07 85 E1 */ bl SetOrtho__9CGraphicsFffffff +/* 80293F78 00290ED8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80293F7C 00290EDC 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80293F80 00290EE0 48 07 86 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80293F84 00290EE4 7C BF C8 50 */ subf r5, r31, r25 +/* 80293F88 00290EE8 3C 80 43 30 */ lis r4, 0x4330 +/* 80293F8C 00290EEC 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80293F90 00290EF0 7C 1E D0 50 */ subf r0, r30, r26 +/* 80293F94 00290EF4 90 A1 00 64 */ stw r5, 0x64(r1) +/* 80293F98 00290EF8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80293F9C 00290EFC 3C 60 80 3D */ lis r3, lbl_803D5B8C@ha +/* 80293FA0 00290F00 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) +/* 80293FA4 00290F04 90 81 00 60 */ stw r4, 0x60(r1) +/* 80293FA8 00290F08 38 63 5B 8C */ addi r3, r3, lbl_803D5B8C@l +/* 80293FAC 00290F0C C8 01 00 60 */ lfd f0, 0x60(r1) +/* 80293FB0 00290F10 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80293FB4 00290F14 EF E0 08 28 */ fsubs f31, f0, f1 +/* 80293FB8 00290F18 90 81 00 68 */ stw r4, 0x68(r1) +/* 80293FBC 00290F1C C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80293FC0 00290F20 EF C0 08 28 */ fsubs f30, f0, f1 +/* 80293FC4 00290F24 48 07 3E 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80293FC8 00290F28 48 07 89 B5 */ bl DisableAllLights__9CGraphicsFv +/* 80293FCC 00290F2C 38 60 00 00 */ li r3, 0 +/* 80293FD0 00290F30 38 80 00 0F */ li r4, 0xf +/* 80293FD4 00290F34 38 A0 00 08 */ li r5, 8 +/* 80293FD8 00290F38 38 C0 00 0E */ li r6, 0xe +/* 80293FDC 00290F3C 38 E0 00 0F */ li r7, 0xf +/* 80293FE0 00290F40 48 07 4C 0D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80293FE4 00290F44 38 60 00 00 */ li r3, 0 +/* 80293FE8 00290F48 38 80 00 07 */ li r4, 7 +/* 80293FEC 00290F4C 38 A0 00 07 */ li r5, 7 +/* 80293FF0 00290F50 38 C0 00 07 */ li r6, 7 +/* 80293FF4 00290F54 38 E0 00 04 */ li r7, 4 +/* 80293FF8 00290F58 48 07 4B 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80293FFC 00290F5C 38 60 00 00 */ li r3, 0 +/* 80294000 00290F60 38 80 00 00 */ li r4, 0 +/* 80294004 00290F64 38 A0 00 00 */ li r5, 0 +/* 80294008 00290F68 38 C0 00 FF */ li r6, 0xff +/* 8029400C 00290F6C 48 07 49 41 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80294010 00290F70 38 60 00 00 */ li r3, 0 +/* 80294014 00290F74 38 80 00 00 */ li r4, 0 +/* 80294018 00290F78 38 A0 00 04 */ li r5, 4 +/* 8029401C 00290F7C 38 C0 00 3C */ li r6, 0x3c +/* 80294020 00290F80 38 E0 00 00 */ li r7, 0 +/* 80294024 00290F84 39 00 00 7D */ li r8, 0x7d +/* 80294028 00290F88 48 07 46 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8029402C 00290F8C 38 60 00 00 */ li r3, 0 +/* 80294030 00290F90 48 07 4E 21 */ bl SetNumChans__3CGXFUc +/* 80294034 00290F94 38 60 00 01 */ li r3, 1 +/* 80294038 00290F98 48 07 4D DD */ bl SetNumTexGens__3CGXFUc +/* 8029403C 00290F9C 38 60 00 01 */ li r3, 1 +/* 80294040 00290FA0 48 07 4C 51 */ bl SetNumTevStages__3CGXFUc +/* 80294044 00290FA4 38 60 00 01 */ li r3, 1 +/* 80294048 00290FA8 38 80 00 07 */ li r4, 7 +/* 8029404C 00290FAC 38 A0 00 00 */ li r5, 0 +/* 80294050 00290FB0 48 07 48 2D */ bl SetZMode__3CGXFb10_GXCompareb +/* 80294054 00290FB4 7F A4 EB 78 */ mr r4, r29 +/* 80294058 00290FB8 38 60 00 00 */ li r3, 0 +/* 8029405C 00290FBC 48 07 4B E9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80294060 00290FC0 38 60 00 00 */ li r3, 0 +/* 80294064 00290FC4 38 80 00 0C */ li r4, 0xc +/* 80294068 00290FC8 48 07 49 79 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8029406C 00290FCC 38 60 00 00 */ li r3, 0 +/* 80294070 00290FD0 48 0E 4A E9 */ bl GXSetCullMode +/* 80294074 00290FD4 38 60 00 98 */ li r3, 0x98 +/* 80294078 00290FD8 38 80 00 00 */ li r4, 0 +/* 8029407C 00290FDC 38 A0 00 04 */ li r5, 4 +/* 80294080 00290FE0 48 07 45 05 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80294084 00290FE4 3C 60 43 30 */ lis r3, 0x4330 +/* 80294088 00290FE8 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8029408C 00290FEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 80294090 00290FF0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80294094 00290FF4 C0 62 BF 58 */ lfs f3, lbl_805ADC78@sda21(r2) +/* 80294098 00290FF8 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 8029409C 00290FFC D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 802940A0 00291000 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) +/* 802940A4 00291004 90 61 00 70 */ stw r3, 0x70(r1) +/* 802940A8 00291008 C0 42 BF 40 */ lfs f2, lbl_805ADC60@sda21(r2) +/* 802940AC 0029100C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940B0 00291010 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802940B4 00291014 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 802940B8 00291018 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802940BC 0029101C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940C0 00291020 EC 9F 00 2A */ fadds f4, f31, f0 +/* 802940C4 00291024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940C8 00291028 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802940CC 0029102C D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) +/* 802940D0 00291030 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940D4 00291034 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) +/* 802940D8 00291038 90 61 00 78 */ stw r3, 0x78(r1) +/* 802940DC 0029103C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940E0 00291040 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802940E4 00291044 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 802940E8 00291048 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802940EC 0029104C D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) +/* 802940F0 00291050 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802940F4 00291054 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 802940F8 00291058 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 802940FC 0029105C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 80294100 00291060 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294104 00291064 D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) +/* 80294108 00291068 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8029410C 0029106C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 80294110 00291070 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294114 00291074 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 80294118 00291078 48 07 44 69 */ bl End__3CGXFv +/* 8029411C 0029107C 38 60 00 01 */ li r3, 1 +/* 80294120 00291080 48 0E 4A 39 */ bl GXSetCullMode +/* 80294124 00291084 38 61 00 08 */ addi r3, r1, 8 +/* 80294128 00291088 48 07 5C D9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 8029412C 0029108C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80294130 00291090 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80294134 00291094 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80294138 00291098 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8029413C 0029109C BB 21 00 84 */ lmw r25, 0x84(r1) +/* 80294140 002910A0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80294144 002910A4 7C 08 03 A6 */ mtlr r0 +/* 80294148 002910A8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8029414C 002910AC 4E 80 00 20 */ blr + +.global Update__12CNESEmulatorFv +Update__12CNESEmulatorFv: +/* 80294150 002910B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294154 002910B4 7C 08 02 A6 */ mflr r0 +/* 80294158 002910B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029415C 002910BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294160 002910C0 7C 7F 1B 78 */ mr r31, r3 +/* 80294164 002910C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80294168 002910C8 28 03 00 00 */ cmplwi r3, 0 +/* 8029416C 002910CC 41 82 00 FC */ beq lbl_80294268 +/* 80294170 002910D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80294174 002910D4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80294178 002910D8 7D 89 03 A6 */ mtctr r12 +/* 8029417C 002910DC 4E 80 04 21 */ bctrl +/* 80294180 002910E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80294184 002910E4 41 82 01 58 */ beq lbl_802942DC +/* 80294188 002910E8 3C 60 80 3D */ lis r3, lbl_803D5BA4@ha +/* 8029418C 002910EC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294190 002910F0 38 A3 5B A4 */ addi r5, r3, lbl_803D5BA4@l +/* 80294194 002910F4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294198 002910F8 38 61 00 08 */ addi r3, r1, 8 +/* 8029419C 002910FC 38 80 FF FF */ li r4, -1 +/* 802941A0 00291100 48 04 22 35 */ bl __ct__10CCallStackFUiPCcPCc +/* 802941A4 00291104 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 802941A8 00291108 7C 67 1B 78 */ mr r7, r3 +/* 802941AC 0029110C 38 80 00 02 */ li r4, 2 +/* 802941B0 00291110 38 C0 00 00 */ li r6, 0 +/* 802941B4 00291114 80 65 00 20 */ lwz r3, 0x20(r5) +/* 802941B8 00291118 38 A0 00 01 */ li r5, 1 +/* 802941BC 0029111C 48 08 17 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802941C0 00291120 90 7F 00 14 */ stw r3, 0x14(r31) +/* 802941C4 00291124 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802941C8 00291128 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 802941CC 0029112C 48 0E DF C5 */ bl OSLink +/* 802941D0 00291130 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802941D4 00291134 81 83 00 34 */ lwz r12, 0x34(r3) +/* 802941D8 00291138 7D 89 03 A6 */ mtctr r12 +/* 802941DC 0029113C 4E 80 04 21 */ bctrl +/* 802941E0 00291140 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 802941E4 00291144 81 83 00 00 */ lwz r12, 0(r3) +/* 802941E8 00291148 7D 89 03 A6 */ mtctr r12 +/* 802941EC 0029114C 4E 80 04 21 */ bctrl +/* 802941F0 00291150 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 802941F4 00291154 38 A0 00 00 */ li r5, 0 +/* 802941F8 00291158 80 7F 00 08 */ lwz r3, 8(r31) +/* 802941FC 0029115C 81 84 00 0C */ lwz r12, 0xc(r4) +/* 80294200 00291160 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80294204 00291164 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 80294208 00291168 80 FF 00 1C */ lwz r7, 0x1c(r31) +/* 8029420C 0029116C 7D 89 03 A6 */ mtctr r12 +/* 80294210 00291170 4E 80 04 21 */ bctrl +/* 80294214 00291174 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294218 00291178 38 00 00 00 */ li r0, 0 +/* 8029421C 0029117C 90 03 00 20 */ stw r0, 0x20(r3) +/* 80294220 00291180 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294224 00291184 90 03 00 28 */ stw r0, 0x28(r3) +/* 80294228 00291188 80 7F 00 08 */ lwz r3, 8(r31) +/* 8029422C 0029118C 90 03 00 24 */ stw r0, 0x24(r3) +/* 80294230 00291190 80 7F 00 08 */ lwz r3, 8(r31) +/* 80294234 00291194 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80294238 00291198 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029423C 0029119C 28 03 00 00 */ cmplwi r3, 0 +/* 80294240 002911A0 41 82 00 18 */ beq lbl_80294258 +/* 80294244 002911A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80294248 002911A8 38 80 00 01 */ li r4, 1 +/* 8029424C 002911AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294250 002911B0 7D 89 03 A6 */ mtctr r12 +/* 80294254 002911B4 4E 80 04 21 */ bctrl +lbl_80294258: +/* 80294258 002911B8 38 00 00 00 */ li r0, 0 +/* 8029425C 002911BC 90 1F 00 00 */ stw r0, 0(r31) +/* 80294260 002911C0 48 00 00 08 */ b lbl_80294268 +/* 80294264 002911C4 48 00 00 78 */ b lbl_802942DC +lbl_80294268: +/* 80294268 002911C8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8029426C 002911CC 38 9F 00 21 */ addi r4, r31, 0x21 +/* 80294270 002911D0 38 63 08 00 */ addi r3, r3, 0x800 +/* 80294274 002911D4 48 00 07 15 */ bl CheckForGameOver__12CNESEmulatorFPCcPc +/* 80294278 002911D8 98 7F 00 20 */ stb r3, 0x20(r31) +/* 8029427C 002911DC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80294280 002911E0 38 63 08 00 */ addi r3, r3, 0x800 +/* 80294284 002911E4 48 00 0A 45 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc +/* 80294288 002911E8 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8029428C 002911EC 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80294290 002911F0 2C 00 00 01 */ cmpwi r0, 1 +/* 80294294 002911F4 40 82 00 2C */ bne lbl_802942C0 +/* 80294298 002911F8 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 8029429C 002911FC 28 00 00 00 */ cmplwi r0, 0 +/* 802942A0 00291200 41 82 00 20 */ beq lbl_802942C0 +/* 802942A4 00291204 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802942A8 00291208 38 BF 00 39 */ addi r5, r31, 0x39 +/* 802942AC 0029120C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 802942B0 00291210 38 63 08 00 */ addi r3, r3, 0x800 +/* 802942B4 00291214 48 00 08 39 */ bl SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc +/* 802942B8 00291218 38 00 00 00 */ li r0, 0 +/* 802942BC 0029121C 98 1F 00 38 */ stb r0, 0x38(r31) +lbl_802942C0: +/* 802942C0 00291220 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) +/* 802942C4 00291224 38 A0 00 00 */ li r5, 0 +/* 802942C8 00291228 80 7F 00 08 */ lwz r3, 8(r31) +/* 802942CC 0029122C 81 84 00 10 */ lwz r12, 0x10(r4) +/* 802942D0 00291230 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802942D4 00291234 7D 89 03 A6 */ mtctr r12 +/* 802942D8 00291238 4E 80 04 21 */ bctrl +lbl_802942DC: +/* 802942DC 0029123C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802942E0 00291240 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802942E4 00291244 7C 08 03 A6 */ mtlr r0 +/* 802942E8 00291248 38 21 00 20 */ addi r1, r1, 0x20 +/* 802942EC 0029124C 4E 80 00 20 */ blr + +.global ProcessUserInput__12CNESEmulatorFRC11CFinalInputi +ProcessUserInput__12CNESEmulatorFRC11CFinalInputi: +/* 802942F0 00291250 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802942F4 00291254 7C 08 02 A6 */ mflr r0 +/* 802942F8 00291258 90 01 00 24 */ stw r0, 0x24(r1) +/* 802942FC 0029125C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294300 00291260 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294304 00291264 7C BE 2B 78 */ mr r30, r5 +/* 80294308 00291268 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029430C 0029126C 7C 9D 23 78 */ mr r29, r4 +/* 80294310 00291270 93 81 00 10 */ stw r28, 0x10(r1) +/* 80294314 00291274 7C 7C 1B 78 */ mr r28, r3 +/* 80294318 00291278 80 03 00 00 */ lwz r0, 0(r3) +/* 8029431C 0029127C 28 00 00 00 */ cmplwi r0, 0 +/* 80294320 00291280 40 82 01 E4 */ bne lbl_80294504 +/* 80294324 00291284 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294328 00291288 3B E0 00 00 */ li r31, 0 +/* 8029432C 0029128C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80294330 00291290 40 82 00 24 */ bne lbl_80294354 +/* 80294334 00291294 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 80294338 00291298 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029433C 0029129C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80294340 002912A0 40 81 00 08 */ ble lbl_80294348 +/* 80294344 002912A4 FC 20 10 90 */ fmr f1, f2 +lbl_80294348: +/* 80294348 002912A8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 8029434C 002912AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80294350 002912B0 40 81 00 0C */ ble lbl_8029435C +lbl_80294354: +/* 80294354 002912B4 83 E2 BF 68 */ lwz r31, lbl_805ADC88@sda21(r2) +/* 80294358 002912B8 48 00 00 30 */ b lbl_80294388 +lbl_8029435C: +/* 8029435C 002912BC 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 80294360 002912C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80294364 002912C4 40 82 00 20 */ bne lbl_80294384 +/* 80294368 002912C8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029436C 002912CC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80294370 002912D0 40 80 00 08 */ bge lbl_80294378 +/* 80294374 002912D4 FC 20 10 50 */ fneg f1, f2 +lbl_80294378: +/* 80294378 002912D8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 8029437C 002912DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80294380 002912E0 40 81 00 08 */ ble lbl_80294388 +lbl_80294384: +/* 80294384 002912E4 83 E2 BF 6C */ lwz r31, lbl_805ADC8C@sda21(r2) +lbl_80294388: +/* 80294388 002912E8 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8029438C 002912EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80294390 002912F0 40 82 00 24 */ bne lbl_802943B4 +/* 80294394 002912F4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 80294398 002912F8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) +/* 8029439C 002912FC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802943A0 00291300 40 80 00 08 */ bge lbl_802943A8 +/* 802943A4 00291304 FC 20 10 50 */ fneg f1, f2 +lbl_802943A8: +/* 802943A8 00291308 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 802943AC 0029130C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802943B0 00291310 40 81 00 10 */ ble lbl_802943C0 +lbl_802943B4: +/* 802943B4 00291314 80 02 BF 70 */ lwz r0, lbl_805ADC90@sda21(r2) +/* 802943B8 00291318 7F FF 03 78 */ or r31, r31, r0 +/* 802943BC 0029131C 48 00 00 38 */ b lbl_802943F4 +lbl_802943C0: +/* 802943C0 00291320 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 802943C4 00291324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802943C8 00291328 40 82 00 24 */ bne lbl_802943EC +/* 802943CC 0029132C C0 02 BF 40 */ lfs f0, lbl_805ADC60@sda21(r2) +/* 802943D0 00291330 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802943D4 00291334 40 81 00 08 */ ble lbl_802943DC +/* 802943D8 00291338 48 00 00 08 */ b lbl_802943E0 +lbl_802943DC: +/* 802943DC 0029133C FC 40 00 90 */ fmr f2, f0 +lbl_802943E0: +/* 802943E0 00291340 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) +/* 802943E4 00291344 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802943E8 00291348 40 81 00 0C */ ble lbl_802943F4 +lbl_802943EC: +/* 802943EC 0029134C 80 02 BF 74 */ lwz r0, lbl_805ADC94@sda21(r2) +/* 802943F0 00291350 7F FF 03 78 */ or r31, r31, r0 +lbl_802943F4: +/* 802943F4 00291354 7F 83 E3 78 */ mr r3, r28 +/* 802943F8 00291358 4B FF F7 55 */ bl GetPasswordEntryState__12CNESEmulatorFv +/* 802943FC 0029135C 2C 03 00 00 */ cmpwi r3, 0 +/* 80294400 00291360 40 82 00 10 */ bne lbl_80294410 +/* 80294404 00291364 80 1D 00 04 */ lwz r0, 4(r29) +/* 80294408 00291368 2C 00 00 00 */ cmpwi r0, 0 +/* 8029440C 0029136C 41 82 00 30 */ beq lbl_8029443C +lbl_80294410: +/* 80294410 00291370 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294414 00291374 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80294418 00291378 41 82 00 0C */ beq lbl_80294424 +/* 8029441C 0029137C 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) +/* 80294420 00291380 7F FF 03 78 */ or r31, r31, r0 +lbl_80294424: +/* 80294424 00291384 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294428 00291388 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029442C 0029138C 41 82 00 48 */ beq lbl_80294474 +/* 80294430 00291390 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) +/* 80294434 00291394 7F FF 03 78 */ or r31, r31, r0 +/* 80294438 00291398 48 00 00 3C */ b lbl_80294474 +lbl_8029443C: +/* 8029443C 0029139C 88 7D 00 2C */ lbz r3, 0x2c(r29) +/* 80294440 002913A0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80294444 002913A4 40 82 00 0C */ bne lbl_80294450 +/* 80294448 002913A8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8029444C 002913AC 41 82 00 0C */ beq lbl_80294458 +lbl_80294450: +/* 80294450 002913B0 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) +/* 80294454 002913B4 7F FF 03 78 */ or r31, r31, r0 +lbl_80294458: +/* 80294458 002913B8 88 7D 00 2C */ lbz r3, 0x2c(r29) +/* 8029445C 002913BC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80294460 002913C0 40 82 00 0C */ bne lbl_8029446C +/* 80294464 002913C4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80294468 002913C8 41 82 00 0C */ beq lbl_80294474 +lbl_8029446C: +/* 8029446C 002913CC 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) +/* 80294470 002913D0 7F FF 03 78 */ or r31, r31, r0 +lbl_80294474: +/* 80294474 002913D4 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 80294478 002913D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8029447C 002913DC 41 82 00 0C */ beq lbl_80294488 +/* 80294480 002913E0 80 02 BF 80 */ lwz r0, lbl_805ADCA0@sda21(r2) +/* 80294484 002913E4 7F FF 03 78 */ or r31, r31, r0 +lbl_80294488: +/* 80294488 002913E8 88 1D 00 2D */ lbz r0, 0x2d(r29) +/* 8029448C 002913EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80294490 002913F0 41 82 00 0C */ beq lbl_8029449C +/* 80294494 002913F4 80 02 BF 84 */ lwz r0, lbl_805ADCA4@sda21(r2) +/* 80294498 002913F8 7F FF 03 78 */ or r31, r31, r0 +lbl_8029449C: +/* 8029449C 002913FC 2C 1E 00 04 */ cmpwi r30, 4 +/* 802944A0 00291400 40 82 00 0C */ bne lbl_802944AC +/* 802944A4 00291404 80 1D 00 04 */ lwz r0, 4(r29) +/* 802944A8 00291408 48 00 00 08 */ b lbl_802944B0 +lbl_802944AC: +/* 802944AC 0029140C 7F C0 F3 78 */ mr r0, r30 +lbl_802944B0: +/* 802944B0 00291410 2C 00 00 02 */ cmpwi r0, 2 +/* 802944B4 00291414 41 82 00 3C */ beq lbl_802944F0 +/* 802944B8 00291418 40 80 00 14 */ bge lbl_802944CC +/* 802944BC 0029141C 2C 00 00 00 */ cmpwi r0, 0 +/* 802944C0 00291420 41 82 00 18 */ beq lbl_802944D8 +/* 802944C4 00291424 40 80 00 20 */ bge lbl_802944E4 +/* 802944C8 00291428 48 00 00 3C */ b lbl_80294504 +lbl_802944CC: +/* 802944CC 0029142C 2C 00 00 04 */ cmpwi r0, 4 +/* 802944D0 00291430 40 80 00 34 */ bge lbl_80294504 +/* 802944D4 00291434 48 00 00 28 */ b lbl_802944FC +lbl_802944D8: +/* 802944D8 00291438 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944DC 0029143C 93 E3 00 20 */ stw r31, 0x20(r3) +/* 802944E0 00291440 48 00 00 24 */ b lbl_80294504 +lbl_802944E4: +/* 802944E4 00291444 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944E8 00291448 93 E3 00 28 */ stw r31, 0x28(r3) +/* 802944EC 0029144C 48 00 00 18 */ b lbl_80294504 +lbl_802944F0: +/* 802944F0 00291450 80 7C 00 08 */ lwz r3, 8(r28) +/* 802944F4 00291454 93 E3 00 24 */ stw r31, 0x24(r3) +/* 802944F8 00291458 48 00 00 0C */ b lbl_80294504 +lbl_802944FC: +/* 802944FC 0029145C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80294500 00291460 93 E3 00 2C */ stw r31, 0x2c(r3) +lbl_80294504: +/* 80294504 00291464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80294508 00291468 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029450C 0029146C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294510 00291470 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80294514 00291474 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80294518 00291478 7C 08 03 A6 */ mtlr r0 +/* 8029451C 0029147C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294520 00291480 4E 80 00 20 */ blr + +.global __dt__12CNESEmulatorFv +__dt__12CNESEmulatorFv: +/* 80294524 00291484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294528 00291488 7C 08 02 A6 */ mflr r0 +/* 8029452C 0029148C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80294530 00291490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294534 00291494 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294538 00291498 7C 9E 23 78 */ mr r30, r4 +/* 8029453C 0029149C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80294540 002914A0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80294544 002914A4 41 82 01 04 */ beq lbl_80294648 +/* 80294548 002914A8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8029454C 002914AC 28 00 00 00 */ cmplwi r0, 0 +/* 80294550 002914B0 40 82 00 58 */ bne lbl_802945A8 +/* 80294554 002914B4 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 80294558 002914B8 81 83 00 08 */ lwz r12, 8(r3) +/* 8029455C 002914BC 7D 89 03 A6 */ mtctr r12 +/* 80294560 002914C0 4E 80 04 21 */ bctrl +/* 80294564 002914C4 7C 60 1B 78 */ mr r0, r3 +/* 80294568 002914C8 38 80 00 00 */ li r4, 0 +/* 8029456C 002914CC 38 A0 00 40 */ li r5, 0x40 +/* 80294570 002914D0 38 C0 00 40 */ li r6, 0x40 +/* 80294574 002914D4 7C 1F 03 78 */ mr r31, r0 +/* 80294578 002914D8 38 E0 00 00 */ li r7, 0 +/* 8029457C 002914DC 48 10 A1 A9 */ bl sndStreamMixParameter +/* 80294580 002914E0 7F E3 FB 78 */ mr r3, r31 +/* 80294584 002914E4 48 10 BF 9D */ bl sndStreamDeactivate +/* 80294588 002914E8 7F E3 FB 78 */ mr r3, r31 +/* 8029458C 002914EC 48 10 B2 69 */ bl sndStreamFree +/* 80294590 002914F0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80294594 002914F4 81 83 00 38 */ lwz r12, 0x38(r3) +/* 80294598 002914F8 7D 89 03 A6 */ mtctr r12 +/* 8029459C 002914FC 4E 80 04 21 */ bctrl +/* 802945A0 00291500 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802945A4 00291504 48 0E E0 81 */ bl OSUnlink +lbl_802945A8: +/* 802945A8 00291508 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945AC 0029150C 80 63 00 00 */ lwz r3, 0(r3) +/* 802945B0 00291510 48 08 13 81 */ bl Free__7CMemoryFPCv +/* 802945B4 00291514 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945B8 00291518 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802945BC 0029151C 48 08 13 75 */ bl Free__7CMemoryFPCv +/* 802945C0 00291520 80 7D 00 08 */ lwz r3, 8(r29) +/* 802945C4 00291524 48 08 13 6D */ bl Free__7CMemoryFPCv +/* 802945C8 00291528 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802945CC 0029152C 48 08 13 65 */ bl Free__7CMemoryFPCv +/* 802945D0 00291530 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 802945D4 00291534 48 08 13 5D */ bl Free__7CMemoryFPCv +/* 802945D8 00291538 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 802945DC 0029153C 48 08 13 55 */ bl Free__7CMemoryFPCv +/* 802945E0 00291540 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) +/* 802945E4 00291544 48 08 13 4D */ bl Free__7CMemoryFPCv +/* 802945E8 00291548 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 802945EC 0029154C 48 08 13 45 */ bl Free__7CMemoryFPCv +/* 802945F0 00291550 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 802945F4 00291554 28 03 00 00 */ cmplwi r3, 0 +/* 802945F8 00291558 41 82 00 08 */ beq lbl_80294600 +/* 802945FC 0029155C 48 08 13 35 */ bl Free__7CMemoryFPCv +lbl_80294600: +/* 80294600 00291560 34 1D 00 04 */ addic. r0, r29, 4 +/* 80294604 00291564 41 82 00 0C */ beq lbl_80294610 +/* 80294608 00291568 80 7D 00 04 */ lwz r3, 4(r29) +/* 8029460C 0029156C 48 08 13 25 */ bl Free__7CMemoryFPCv +lbl_80294610: +/* 80294610 00291570 28 1D 00 00 */ cmplwi r29, 0 +/* 80294614 00291574 41 82 00 24 */ beq lbl_80294638 +/* 80294618 00291578 80 7D 00 00 */ lwz r3, 0(r29) +/* 8029461C 0029157C 28 03 00 00 */ cmplwi r3, 0 +/* 80294620 00291580 41 82 00 18 */ beq lbl_80294638 +/* 80294624 00291584 81 83 00 00 */ lwz r12, 0(r3) +/* 80294628 00291588 38 80 00 01 */ li r4, 1 +/* 8029462C 0029158C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294630 00291590 7D 89 03 A6 */ mtctr r12 +/* 80294634 00291594 4E 80 04 21 */ bctrl +lbl_80294638: +/* 80294638 00291598 7F C0 07 35 */ extsh. r0, r30 +/* 8029463C 0029159C 40 81 00 0C */ ble lbl_80294648 +/* 80294640 002915A0 7F A3 EB 78 */ mr r3, r29 +/* 80294644 002915A4 48 08 12 ED */ bl Free__7CMemoryFPCv +lbl_80294648: +/* 80294648 002915A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029464C 002915AC 7F A3 EB 78 */ mr r3, r29 +/* 80294650 002915B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80294654 002915B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294658 002915B8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029465C 002915BC 7C 08 03 A6 */ mtlr r0 +/* 80294660 002915C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294664 002915C4 4E 80 00 20 */ blr + +.global __ct__12CNESEmulatorFv +__ct__12CNESEmulatorFv: +/* 80294668 002915C8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8029466C 002915CC 7C 08 02 A6 */ mflr r0 +/* 80294670 002915D0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 80294674 002915D4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80294678 002915D8 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 8029467C 002915DC 38 00 00 00 */ li r0, 0 +/* 80294680 002915E0 38 80 FF FF */ li r4, -1 +/* 80294684 002915E4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80294688 002915E8 7C 7F 1B 78 */ mr r31, r3 +/* 8029468C 002915EC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80294690 002915F0 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80294694 002915F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80294698 002915F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8029469C 002915FC 90 1F 00 00 */ stw r0, 0(r31) +/* 802946A0 00291600 48 04 1D 35 */ bl __ct__10CCallStackFUiPCcPCc +/* 802946A4 00291604 3C A0 00 02 */ lis r5, 0x0001C800@ha +/* 802946A8 00291608 7C 67 1B 78 */ mr r7, r3 +/* 802946AC 0029160C 38 65 C8 00 */ addi r3, r5, 0x0001C800@l +/* 802946B0 00291610 38 80 00 02 */ li r4, 2 +/* 802946B4 00291614 38 A0 00 01 */ li r5, 1 +/* 802946B8 00291618 38 C0 00 00 */ li r6, 0 +/* 802946BC 0029161C 48 08 12 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802946C0 00291620 90 7F 00 04 */ stw r3, 4(r31) +/* 802946C4 00291624 38 00 00 00 */ li r0, 0 +/* 802946C8 00291628 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 802946CC 0029162C 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 802946D0 00291630 90 1F 00 08 */ stw r0, 8(r31) +/* 802946D4 00291634 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 802946D8 00291638 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 802946DC 0029163C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802946E0 00291640 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802946E4 00291644 38 80 FF FF */ li r4, -1 +/* 802946E8 00291648 90 1F 00 10 */ stw r0, 0x10(r31) +/* 802946EC 0029164C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802946F0 00291650 90 1F 00 18 */ stw r0, 0x18(r31) +/* 802946F4 00291654 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802946F8 00291658 98 1F 00 20 */ stb r0, 0x20(r31) +/* 802946FC 0029165C 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80294700 00291660 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80294704 00291664 48 04 1C D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294708 00291668 7C 67 1B 78 */ mr r7, r3 +/* 8029470C 0029166C 38 60 00 20 */ li r3, 0x20 +/* 80294710 00291670 38 80 00 02 */ li r4, 2 +/* 80294714 00291674 38 A0 00 01 */ li r5, 1 +/* 80294718 00291678 38 C0 00 00 */ li r6, 0 +/* 8029471C 0029167C 48 08 12 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294720 00291680 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294724 00291684 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294728 00291688 90 6D A5 A0 */ stw r3, lbl_805A9160@sda21(r13) +/* 8029472C 0029168C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294730 00291690 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294734 00291694 38 61 00 38 */ addi r3, r1, 0x38 +/* 80294738 00291698 38 80 FF FF */ li r4, -1 +/* 8029473C 0029169C 48 04 1C 99 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294740 002916A0 3C A0 00 01 */ lis r5, 0x00008E70@ha +/* 80294744 002916A4 7C 67 1B 78 */ mr r7, r3 +/* 80294748 002916A8 38 65 8E 70 */ addi r3, r5, 0x00008E70@l +/* 8029474C 002916AC 38 80 00 02 */ li r4, 2 +/* 80294750 002916B0 38 A0 00 01 */ li r5, 1 +/* 80294754 002916B4 38 C0 00 00 */ li r6, 0 +/* 80294758 002916B8 48 08 12 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8029475C 002916BC 90 7F 00 08 */ stw r3, 8(r31) +/* 80294760 002916C0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha +/* 80294764 002916C4 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80294768 002916C8 3C 00 00 02 */ lis r0, 2 +/* 8029476C 002916CC 80 FF 00 08 */ lwz r7, 8(r31) +/* 80294770 002916D0 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l +/* 80294774 002916D4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80294778 002916D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029477C 002916DC 90 07 00 48 */ stw r0, 0x48(r7) +/* 80294780 002916E0 38 80 FF FF */ li r4, -1 +/* 80294784 002916E4 48 04 1C 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294788 002916E8 80 BF 00 08 */ lwz r5, 8(r31) +/* 8029478C 002916EC 7C 67 1B 78 */ mr r7, r3 +/* 80294790 002916F0 38 80 00 02 */ li r4, 2 +/* 80294794 002916F4 38 C0 00 00 */ li r6, 0 +/* 80294798 002916F8 80 65 00 48 */ lwz r3, 0x48(r5) +/* 8029479C 002916FC 38 A0 00 01 */ li r5, 1 +/* 802947A0 00291700 48 08 11 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802947A4 00291704 80 DF 00 08 */ lwz r6, 8(r31) +/* 802947A8 00291708 3C E0 00 01 */ lis r7, 0x00008000@ha +/* 802947AC 0029170C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802947B0 00291710 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 802947B4 00291714 90 66 00 00 */ stw r3, 0(r6) +/* 802947B8 00291718 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 802947BC 0029171C 38 07 80 00 */ addi r0, r7, 0x00008000@l +/* 802947C0 00291720 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 802947C4 00291724 80 9F 00 08 */ lwz r4, 8(r31) +/* 802947C8 00291728 38 61 00 28 */ addi r3, r1, 0x28 +/* 802947CC 0029172C 90 04 00 08 */ stw r0, 8(r4) +/* 802947D0 00291730 38 80 FF FF */ li r4, -1 +/* 802947D4 00291734 48 04 1C 01 */ bl __ct__10CCallStackFUiPCcPCc +/* 802947D8 00291738 80 BF 00 08 */ lwz r5, 8(r31) +/* 802947DC 0029173C 7C 67 1B 78 */ mr r7, r3 +/* 802947E0 00291740 38 80 00 02 */ li r4, 2 +/* 802947E4 00291744 38 C0 00 00 */ li r6, 0 +/* 802947E8 00291748 80 65 00 08 */ lwz r3, 8(r5) +/* 802947EC 0029174C 38 A0 00 01 */ li r5, 1 +/* 802947F0 00291750 48 08 11 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802947F4 00291754 80 FF 00 08 */ lwz r7, 8(r31) +/* 802947F8 00291758 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802947FC 0029175C 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha +/* 80294800 00291760 38 80 FF FF */ li r4, -1 +/* 80294804 00291764 90 67 00 0C */ stw r3, 0xc(r7) +/* 80294808 00291768 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 8029480C 0029176C 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l +/* 80294810 00291770 38 61 00 20 */ addi r3, r1, 0x20 +/* 80294814 00291774 80 1F 00 04 */ lwz r0, 4(r31) +/* 80294818 00291778 80 FF 00 08 */ lwz r7, 8(r31) +/* 8029481C 0029177C 90 07 00 10 */ stw r0, 0x10(r7) +/* 80294820 00291780 48 04 1B B5 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294824 00291784 7C 67 1B 78 */ mr r7, r3 +/* 80294828 00291788 38 60 15 0C */ li r3, 0x150c +/* 8029482C 0029178C 38 80 00 02 */ li r4, 2 +/* 80294830 00291790 38 A0 00 01 */ li r5, 1 +/* 80294834 00291794 38 C0 00 00 */ li r6, 0 +/* 80294838 00291798 48 08 11 5D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8029483C 0029179C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294840 002917A0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80294844 002917A4 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80294848 002917A8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8029484C 002917AC 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294850 002917B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80294854 002917B4 38 80 FF FF */ li r4, -1 +/* 80294858 002917B8 48 04 1B 7D */ bl __ct__10CCallStackFUiPCcPCc +/* 8029485C 002917BC 7C 67 1B 78 */ mr r7, r3 +/* 80294860 002917C0 38 60 20 00 */ li r3, 0x2000 +/* 80294864 002917C4 38 80 00 02 */ li r4, 2 +/* 80294868 002917C8 38 A0 00 01 */ li r5, 1 +/* 8029486C 002917CC 38 C0 00 00 */ li r6, 0 +/* 80294870 002917D0 48 08 11 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294874 002917D4 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 80294878 002917D8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8029487C 002917DC 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80294880 002917E0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80294884 002917E4 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 80294888 002917E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029488C 002917EC 38 80 FF FF */ li r4, -1 +/* 80294890 002917F0 48 04 1B 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294894 002917F4 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 80294898 002917F8 7C 67 1B 78 */ mr r7, r3 +/* 8029489C 002917FC 38 65 80 00 */ addi r3, r5, 0x00008000@l +/* 802948A0 00291800 38 80 00 02 */ li r4, 2 +/* 802948A4 00291804 38 A0 00 01 */ li r5, 1 +/* 802948A8 00291808 38 C0 00 00 */ li r6, 0 +/* 802948AC 0029180C 48 08 10 E9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 802948B0 00291810 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802948B4 00291814 3C 60 80 3D */ lis r3, lbl_803D5B80@ha +/* 802948B8 00291818 38 E3 5B 80 */ addi r7, r3, lbl_803D5B80@l +/* 802948BC 0029181C 38 61 00 5C */ addi r3, r1, 0x5c +/* 802948C0 00291820 80 C7 00 00 */ lwz r6, 0(r7) +/* 802948C4 00291824 38 81 00 50 */ addi r4, r1, 0x50 +/* 802948C8 00291828 80 A7 00 04 */ lwz r5, 4(r7) +/* 802948CC 0029182C 80 07 00 08 */ lwz r0, 8(r7) +/* 802948D0 00291830 90 C1 00 50 */ stw r6, 0x50(r1) +/* 802948D4 00291834 90 A1 00 54 */ stw r5, 0x54(r1) +/* 802948D8 00291838 90 01 00 58 */ stw r0, 0x58(r1) +/* 802948DC 0029183C 48 0B B3 F5 */ bl __ct__8CDvdFileFPCc +/* 802948E0 00291840 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 802948E4 00291844 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha +/* 802948E8 00291848 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 802948EC 0029184C 38 61 00 08 */ addi r3, r1, 8 +/* 802948F0 00291850 38 06 00 1F */ addi r0, r6, 0x1f +/* 802948F4 00291854 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l +/* 802948F8 00291858 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 802948FC 0029185C 38 80 FF FF */ li r4, -1 +/* 80294900 00291860 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80294904 00291864 48 04 1A D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 80294908 00291868 7C 67 1B 78 */ mr r7, r3 +/* 8029490C 0029186C 7F C3 F3 78 */ mr r3, r30 +/* 80294910 00291870 38 80 00 02 */ li r4, 2 +/* 80294914 00291874 38 A0 00 01 */ li r5, 1 +/* 80294918 00291878 38 C0 00 00 */ li r6, 0 +/* 8029491C 0029187C 48 08 10 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80294920 00291880 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80294924 00291884 7F C5 F3 78 */ mr r5, r30 +/* 80294928 00291888 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029492C 0029188C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80294930 00291890 48 0B B2 B9 */ bl SyncRead__8CDvdFileFPvUi +/* 80294934 00291894 80 1F 00 00 */ lwz r0, 0(r31) +/* 80294938 00291898 7C 7E 1B 78 */ mr r30, r3 +/* 8029493C 0029189C 28 00 00 00 */ cmplwi r0, 0 +/* 80294940 002918A0 41 82 00 1C */ beq lbl_8029495C +/* 80294944 002918A4 7C 03 03 78 */ mr r3, r0 +/* 80294948 002918A8 38 80 00 01 */ li r4, 1 +/* 8029494C 002918AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80294950 002918B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80294954 002918B4 7D 89 03 A6 */ mtctr r12 +/* 80294958 002918B8 4E 80 04 21 */ bctrl +lbl_8029495C: +/* 8029495C 002918BC 93 DF 00 00 */ stw r30, 0(r31) +/* 80294960 002918C0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80294964 002918C4 38 80 FF FF */ li r4, -1 +/* 80294968 002918C8 48 0B B2 A9 */ bl __dt__8CDvdFileFv +/* 8029496C 002918CC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80294970 002918D0 7F E3 FB 78 */ mr r3, r31 +/* 80294974 002918D4 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80294978 002918D8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8029497C 002918DC 7C 08 03 A6 */ mtlr r0 +/* 80294980 002918E0 38 21 00 90 */ addi r1, r1, 0x90 +/* 80294984 002918E4 4E 80 00 20 */ blr + +.global CheckForGameOver__12CNESEmulatorFPCcPc +CheckForGameOver__12CNESEmulatorFPCcPc: +/* 80294988 002918E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029498C 002918EC 7C 08 02 A6 */ mflr r0 +/* 80294990 002918F0 3C A0 80 3F */ lis r5, lbl_803EBC60@ha +/* 80294994 002918F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80294998 002918F8 38 05 BC 60 */ addi r0, r5, lbl_803EBC60@l +/* 8029499C 002918FC 38 A0 00 09 */ li r5, 9 +/* 802949A0 00291900 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802949A4 00291904 7C 9F 23 78 */ mr r31, r4 +/* 802949A8 00291908 7C 04 03 78 */ mr r4, r0 +/* 802949AC 0029190C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802949B0 00291910 7C 7E 1B 78 */ mr r30, r3 +/* 802949B4 00291914 38 7E 01 4B */ addi r3, r30, 0x14b +/* 802949B8 00291918 48 0F 8E C5 */ bl memcmp +/* 802949BC 0029191C 2C 03 00 00 */ cmpwi r3, 0 +/* 802949C0 00291920 41 82 00 0C */ beq lbl_802949CC +/* 802949C4 00291924 38 60 00 00 */ li r3, 0 +/* 802949C8 00291928 48 00 01 0C */ b lbl_80294AD4 +lbl_802949CC: +/* 802949CC 0029192C 38 00 00 18 */ li r0, 0x18 +/* 802949D0 00291930 39 00 00 00 */ li r8, 0 +/* 802949D4 00291934 39 20 00 00 */ li r9, 0 +/* 802949D8 00291938 38 C0 00 00 */ li r6, 0 +/* 802949DC 0029193C 7C 09 03 A6 */ mtctr r0 +lbl_802949E0: +/* 802949E0 00291940 38 09 01 A9 */ addi r0, r9, 0x1a9 +/* 802949E4 00291944 39 29 00 01 */ addi r9, r9, 1 +/* 802949E8 00291948 28 09 00 06 */ cmplwi r9, 6 +/* 802949EC 0029194C 7C FE 00 AE */ lbzx r7, r30, r0 +/* 802949F0 00291950 41 82 00 0C */ beq lbl_802949FC +/* 802949F4 00291954 28 09 00 46 */ cmplwi r9, 0x46 +/* 802949F8 00291958 40 82 00 0C */ bne lbl_80294A04 +lbl_802949FC: +/* 802949FC 0029195C 39 29 00 01 */ addi r9, r9, 1 +/* 80294A00 00291960 48 00 00 10 */ b lbl_80294A10 +lbl_80294A04: +/* 80294A04 00291964 28 09 00 0D */ cmplwi r9, 0xd +/* 80294A08 00291968 40 82 00 08 */ bne lbl_80294A10 +/* 80294A0C 0029196C 39 20 00 40 */ li r9, 0x40 +lbl_80294A10: +/* 80294A10 00291970 28 07 00 3F */ cmplwi r7, 0x3f +/* 80294A14 00291974 40 81 00 0C */ ble lbl_80294A20 +/* 80294A18 00291978 38 60 00 00 */ li r3, 0 +/* 80294A1C 0029197C 48 00 00 B8 */ b lbl_80294AD4 +lbl_80294A20: +/* 80294A20 00291980 54 C0 07 BE */ clrlwi r0, r6, 0x1e +/* 80294A24 00291984 2C 00 00 02 */ cmpwi r0, 2 +/* 80294A28 00291988 41 82 00 54 */ beq lbl_80294A7C +/* 80294A2C 0029198C 40 80 00 14 */ bge lbl_80294A40 +/* 80294A30 00291990 2C 00 00 00 */ cmpwi r0, 0 +/* 80294A34 00291994 41 82 00 18 */ beq lbl_80294A4C +/* 80294A38 00291998 40 80 00 20 */ bge lbl_80294A58 +/* 80294A3C 0029199C 48 00 00 7C */ b lbl_80294AB8 +lbl_80294A40: +/* 80294A40 002919A0 2C 00 00 04 */ cmpwi r0, 4 +/* 80294A44 002919A4 40 80 00 74 */ bge lbl_80294AB8 +/* 80294A48 002919A8 48 00 00 58 */ b lbl_80294AA0 +lbl_80294A4C: +/* 80294A4C 002919AC 38 61 00 08 */ addi r3, r1, 8 +/* 80294A50 002919B0 7C E3 41 AE */ stbx r7, r3, r8 +/* 80294A54 002919B4 48 00 00 64 */ b lbl_80294AB8 +lbl_80294A58: +/* 80294A58 002919B8 38 A1 00 08 */ addi r5, r1, 8 +/* 80294A5C 002919BC 54 E3 30 32 */ slwi r3, r7, 6 +/* 80294A60 002919C0 7C 85 40 AE */ lbzx r4, r5, r8 +/* 80294A64 002919C4 54 E0 F6 3E */ rlwinm r0, r7, 0x1e, 0x18, 0x1f +/* 80294A68 002919C8 7C 83 1B 78 */ or r3, r4, r3 +/* 80294A6C 002919CC 7C 65 41 AE */ stbx r3, r5, r8 +/* 80294A70 002919D0 39 08 00 01 */ addi r8, r8, 1 +/* 80294A74 002919D4 7C 05 41 AE */ stbx r0, r5, r8 +/* 80294A78 002919D8 48 00 00 40 */ b lbl_80294AB8 +lbl_80294A7C: +/* 80294A7C 002919DC 38 A1 00 08 */ addi r5, r1, 8 +/* 80294A80 002919E0 54 E3 20 36 */ slwi r3, r7, 4 +/* 80294A84 002919E4 7C 85 40 AE */ lbzx r4, r5, r8 +/* 80294A88 002919E8 54 E0 E6 3E */ rlwinm r0, r7, 0x1c, 0x18, 0x1f +/* 80294A8C 002919EC 7C 83 1B 78 */ or r3, r4, r3 +/* 80294A90 002919F0 7C 65 41 AE */ stbx r3, r5, r8 +/* 80294A94 002919F4 39 08 00 01 */ addi r8, r8, 1 +/* 80294A98 002919F8 7C 05 41 AE */ stbx r0, r5, r8 +/* 80294A9C 002919FC 48 00 00 1C */ b lbl_80294AB8 +lbl_80294AA0: +/* 80294AA0 00291A00 38 81 00 08 */ addi r4, r1, 8 +/* 80294AA4 00291A04 54 E0 10 3A */ slwi r0, r7, 2 +/* 80294AA8 00291A08 7C 64 40 AE */ lbzx r3, r4, r8 +/* 80294AAC 00291A0C 7C 60 03 78 */ or r0, r3, r0 +/* 80294AB0 00291A10 7C 04 41 AE */ stbx r0, r4, r8 +/* 80294AB4 00291A14 39 08 00 01 */ addi r8, r8, 1 +lbl_80294AB8: +/* 80294AB8 00291A18 38 C6 00 01 */ addi r6, r6, 1 +/* 80294ABC 00291A1C 42 00 FF 24 */ bdnz lbl_802949E0 +/* 80294AC0 00291A20 7F E3 FB 78 */ mr r3, r31 +/* 80294AC4 00291A24 38 81 00 08 */ addi r4, r1, 8 +/* 80294AC8 00291A28 38 A0 00 12 */ li r5, 0x12 +/* 80294ACC 00291A2C 4B D6 E9 C5 */ bl memcpy +/* 80294AD0 00291A30 38 60 00 01 */ li r3, 1 +lbl_80294AD4: +/* 80294AD4 00291A34 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80294AD8 00291A38 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80294ADC 00291A3C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80294AE0 00291A40 7C 08 03 A6 */ mtlr r0 +/* 80294AE4 00291A44 38 21 00 30 */ addi r1, r1, 0x30 +/* 80294AE8 00291A48 4E 80 00 20 */ blr + +.global SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc +SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc: +/* 80294AEC 00291A4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80294AF0 00291A50 7C 08 02 A6 */ mflr r0 +/* 80294AF4 00291A54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80294AF8 00291A58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80294AFC 00291A5C 7C 9F 23 78 */ mr r31, r4 +/* 80294B00 00291A60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80294B04 00291A64 7C 7E 1B 78 */ mr r30, r3 +/* 80294B08 00291A68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80294B0C 00291A6C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80294B10 00291A70 7C BC 2B 78 */ mr r28, r5 +/* 80294B14 00291A74 48 00 01 B5 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc +/* 80294B18 00291A78 2C 03 00 01 */ cmpwi r3, 1 +/* 80294B1C 00291A7C 41 82 00 0C */ beq lbl_80294B28 +/* 80294B20 00291A80 38 60 00 00 */ li r3, 0 +/* 80294B24 00291A84 48 00 01 84 */ b lbl_80294CA8 +lbl_80294B28: +/* 80294B28 00291A88 38 00 00 02 */ li r0, 2 +/* 80294B2C 00291A8C 7F 83 E3 78 */ mr r3, r28 +/* 80294B30 00291A90 38 80 00 00 */ li r4, 0 +/* 80294B34 00291A94 7C 09 03 A6 */ mtctr r0 +lbl_80294B38: +/* 80294B38 00291A98 88 03 00 00 */ lbz r0, 0(r3) +/* 80294B3C 00291A9C 28 00 00 00 */ cmplwi r0, 0 +/* 80294B40 00291AA0 40 82 00 90 */ bne lbl_80294BD0 +/* 80294B44 00291AA4 88 03 00 01 */ lbz r0, 1(r3) +/* 80294B48 00291AA8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B4C 00291AAC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B50 00291AB0 40 82 00 80 */ bne lbl_80294BD0 +/* 80294B54 00291AB4 88 03 00 02 */ lbz r0, 2(r3) +/* 80294B58 00291AB8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B5C 00291ABC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B60 00291AC0 40 82 00 70 */ bne lbl_80294BD0 +/* 80294B64 00291AC4 88 03 00 03 */ lbz r0, 3(r3) +/* 80294B68 00291AC8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B6C 00291ACC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B70 00291AD0 40 82 00 60 */ bne lbl_80294BD0 +/* 80294B74 00291AD4 88 03 00 04 */ lbz r0, 4(r3) +/* 80294B78 00291AD8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B7C 00291ADC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B80 00291AE0 40 82 00 50 */ bne lbl_80294BD0 +/* 80294B84 00291AE4 88 03 00 05 */ lbz r0, 5(r3) +/* 80294B88 00291AE8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B8C 00291AEC 28 00 00 00 */ cmplwi r0, 0 +/* 80294B90 00291AF0 40 82 00 40 */ bne lbl_80294BD0 +/* 80294B94 00291AF4 88 03 00 06 */ lbz r0, 6(r3) +/* 80294B98 00291AF8 38 84 00 01 */ addi r4, r4, 1 +/* 80294B9C 00291AFC 28 00 00 00 */ cmplwi r0, 0 +/* 80294BA0 00291B00 40 82 00 30 */ bne lbl_80294BD0 +/* 80294BA4 00291B04 88 03 00 07 */ lbz r0, 7(r3) +/* 80294BA8 00291B08 38 84 00 01 */ addi r4, r4, 1 +/* 80294BAC 00291B0C 28 00 00 00 */ cmplwi r0, 0 +/* 80294BB0 00291B10 40 82 00 20 */ bne lbl_80294BD0 +/* 80294BB4 00291B14 88 03 00 08 */ lbz r0, 8(r3) +/* 80294BB8 00291B18 38 84 00 01 */ addi r4, r4, 1 +/* 80294BBC 00291B1C 28 00 00 00 */ cmplwi r0, 0 +/* 80294BC0 00291B20 40 82 00 10 */ bne lbl_80294BD0 +/* 80294BC4 00291B24 38 84 00 01 */ addi r4, r4, 1 +/* 80294BC8 00291B28 38 63 00 09 */ addi r3, r3, 9 +/* 80294BCC 00291B2C 42 00 FF 6C */ bdnz lbl_80294B38 +lbl_80294BD0: +/* 80294BD0 00291B30 28 04 00 12 */ cmplwi r4, 0x12 +/* 80294BD4 00291B34 40 82 00 0C */ bne lbl_80294BE0 +/* 80294BD8 00291B38 38 60 00 00 */ li r3, 0 +/* 80294BDC 00291B3C 48 00 00 CC */ b lbl_80294CA8 +lbl_80294BE0: +/* 80294BE0 00291B40 38 00 00 18 */ li r0, 0x18 +/* 80294BE4 00291B44 7F 83 E3 78 */ mr r3, r28 +/* 80294BE8 00291B48 38 E0 00 00 */ li r7, 0 +/* 80294BEC 00291B4C 38 C0 00 00 */ li r6, 0 +/* 80294BF0 00291B50 7C 09 03 A6 */ mtctr r0 +lbl_80294BF4: +/* 80294BF4 00291B54 54 C0 07 BE */ clrlwi r0, r6, 0x1e +/* 80294BF8 00291B58 2C 00 00 02 */ cmpwi r0, 2 +/* 80294BFC 00291B5C 41 82 00 48 */ beq lbl_80294C44 +/* 80294C00 00291B60 40 80 00 14 */ bge lbl_80294C14 +/* 80294C04 00291B64 2C 00 00 00 */ cmpwi r0, 0 +/* 80294C08 00291B68 41 82 00 18 */ beq lbl_80294C20 +/* 80294C0C 00291B6C 40 80 00 20 */ bge lbl_80294C2C +/* 80294C10 00291B70 48 00 00 50 */ b lbl_80294C60 +lbl_80294C14: +/* 80294C14 00291B74 2C 00 00 04 */ cmpwi r0, 4 +/* 80294C18 00291B78 40 80 00 48 */ bge lbl_80294C60 +/* 80294C1C 00291B7C 48 00 00 40 */ b lbl_80294C5C +lbl_80294C20: +/* 80294C20 00291B80 8B A3 00 00 */ lbz r29, 0(r3) +/* 80294C24 00291B84 38 63 00 01 */ addi r3, r3, 1 +/* 80294C28 00291B88 48 00 00 38 */ b lbl_80294C60 +lbl_80294C2C: +/* 80294C2C 00291B8C 88 03 00 00 */ lbz r0, 0(r3) +/* 80294C30 00291B90 57 A4 D1 BE */ srwi r4, r29, 6 +/* 80294C34 00291B94 38 63 00 01 */ addi r3, r3, 1 +/* 80294C38 00291B98 54 00 10 3A */ slwi r0, r0, 2 +/* 80294C3C 00291B9C 7C 9D 03 78 */ or r29, r4, r0 +/* 80294C40 00291BA0 48 00 00 20 */ b lbl_80294C60 +lbl_80294C44: +/* 80294C44 00291BA4 88 03 00 00 */ lbz r0, 0(r3) +/* 80294C48 00291BA8 57 A4 D1 BE */ srwi r4, r29, 6 +/* 80294C4C 00291BAC 38 63 00 01 */ addi r3, r3, 1 +/* 80294C50 00291BB0 54 00 20 36 */ slwi r0, r0, 4 +/* 80294C54 00291BB4 7C 9D 03 78 */ or r29, r4, r0 +/* 80294C58 00291BB8 48 00 00 08 */ b lbl_80294C60 +lbl_80294C5C: +/* 80294C5C 00291BBC 57 BD D1 BE */ srwi r29, r29, 6 +lbl_80294C60: +/* 80294C60 00291BC0 57 A5 06 BE */ clrlwi r5, r29, 0x1a +/* 80294C64 00291BC4 38 86 09 9A */ addi r4, r6, 0x99a +/* 80294C68 00291BC8 38 07 01 09 */ addi r0, r7, 0x109 +/* 80294C6C 00291BCC 7C BF 21 AE */ stbx r5, r31, r4 +/* 80294C70 00291BD0 38 E7 00 01 */ addi r7, r7, 1 +/* 80294C74 00291BD4 28 07 00 06 */ cmplwi r7, 6 +/* 80294C78 00291BD8 7C BE 01 AE */ stbx r5, r30, r0 +/* 80294C7C 00291BDC 41 82 00 0C */ beq lbl_80294C88 +/* 80294C80 00291BE0 28 07 00 46 */ cmplwi r7, 0x46 +/* 80294C84 00291BE4 40 82 00 0C */ bne lbl_80294C90 +lbl_80294C88: +/* 80294C88 00291BE8 38 E7 00 01 */ addi r7, r7, 1 +/* 80294C8C 00291BEC 48 00 00 10 */ b lbl_80294C9C +lbl_80294C90: +/* 80294C90 00291BF0 28 07 00 0D */ cmplwi r7, 0xd +/* 80294C94 00291BF4 40 82 00 08 */ bne lbl_80294C9C +/* 80294C98 00291BF8 38 E0 00 40 */ li r7, 0x40 +lbl_80294C9C: +/* 80294C9C 00291BFC 38 C6 00 01 */ addi r6, r6, 1 +/* 80294CA0 00291C00 42 00 FF 54 */ bdnz lbl_80294BF4 +/* 80294CA4 00291C04 38 60 00 01 */ li r3, 1 +lbl_80294CA8: +/* 80294CA8 00291C08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80294CAC 00291C0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80294CB0 00291C10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80294CB4 00291C14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80294CB8 00291C18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80294CBC 00291C1C 7C 08 03 A6 */ mtlr r0 +/* 80294CC0 00291C20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80294CC4 00291C24 4E 80 00 20 */ blr + +.global CheckForPasswordEntryScreen__12CNESEmulatorFPCc +CheckForPasswordEntryScreen__12CNESEmulatorFPCc: +/* 80294CC8 00291C28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294CCC 00291C2C 7C 08 02 A6 */ mflr r0 +/* 80294CD0 00291C30 3C 80 80 3F */ lis r4, lbl_803EBC50@ha +/* 80294CD4 00291C34 38 A0 00 10 */ li r5, 0x10 +/* 80294CD8 00291C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294CDC 00291C3C 38 84 BC 50 */ addi r4, r4, lbl_803EBC50@l +/* 80294CE0 00291C40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294CE4 00291C44 7C 7F 1B 78 */ mr r31, r3 +/* 80294CE8 00291C48 38 7F 00 88 */ addi r3, r31, 0x88 +/* 80294CEC 00291C4C 48 0F 8B 91 */ bl memcmp +/* 80294CF0 00291C50 2C 03 00 00 */ cmpwi r3, 0 +/* 80294CF4 00291C54 41 82 00 0C */ beq lbl_80294D00 +/* 80294CF8 00291C58 38 60 00 00 */ li r3, 0 +/* 80294CFC 00291C5C 48 00 00 40 */ b lbl_80294D3C +lbl_80294D00: +/* 80294D00 00291C60 38 00 00 0D */ li r0, 0xd +/* 80294D04 00291C64 38 80 00 00 */ li r4, 0 +/* 80294D08 00291C68 7C 09 03 A6 */ mtctr r0 +lbl_80294D0C: +/* 80294D0C 00291C6C 7C 7F 22 14 */ add r3, r31, r4 +/* 80294D10 00291C70 88 03 01 09 */ lbz r0, 0x109(r3) +/* 80294D14 00291C74 28 00 00 40 */ cmplwi r0, 0x40 +/* 80294D18 00291C78 41 80 00 10 */ blt lbl_80294D28 +/* 80294D1C 00291C7C 88 03 01 49 */ lbz r0, 0x149(r3) +/* 80294D20 00291C80 28 00 00 40 */ cmplwi r0, 0x40 +/* 80294D24 00291C84 40 80 00 0C */ bge lbl_80294D30 +lbl_80294D28: +/* 80294D28 00291C88 38 60 00 02 */ li r3, 2 +/* 80294D2C 00291C8C 48 00 00 10 */ b lbl_80294D3C +lbl_80294D30: +/* 80294D30 00291C90 38 84 00 01 */ addi r4, r4, 1 +/* 80294D34 00291C94 42 00 FF D8 */ bdnz lbl_80294D0C +/* 80294D38 00291C98 38 60 00 01 */ li r3, 1 +lbl_80294D3C: +/* 80294D3C 00291C9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294D40 00291CA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294D44 00291CA4 7C 08 03 A6 */ mtlr r0 +/* 80294D48 00291CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294D4C 00291CAC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPauseScreenBlur.s b/asm/Kyoto_CWD/CPauseScreenBlur.s new file mode 100644 index 00000000..8482af0f --- /dev/null +++ b/asm/Kyoto_CWD/CPauseScreenBlur.s @@ -0,0 +1,448 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetBlurAmt__16CPauseScreenBlurCFv +GetBlurAmt__16CPauseScreenBlurCFv: +/* 8025D5B4 0025A514 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8025D5B8 0025A518 FC 00 02 10 */ fabs f0, f0 +/* 8025D5BC 0025A51C FC 20 00 18 */ frsp f1, f0 +/* 8025D5C0 0025A520 4E 80 00 20 */ blr + +.global SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState: +/* 8025D5C4 0025A524 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025D5C8 0025A528 7C 08 02 A6 */ mflr r0 +/* 8025D5CC 0025A52C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025D5D0 0025A530 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025D5D4 0025A534 7C 9F 23 78 */ mr r31, r4 +/* 8025D5D8 0025A538 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025D5DC 0025A53C 7C 7E 1B 78 */ mr r30, r3 +/* 8025D5E0 0025A540 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8025D5E4 0025A544 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D5E8 0025A548 41 82 00 0C */ beq lbl_8025D5F4 +/* 8025D5EC 0025A54C 41 80 00 7C */ blt lbl_8025D668 +/* 8025D5F0 0025A550 48 00 00 78 */ b lbl_8025D668 +lbl_8025D5F4: +/* 8025D5F4 0025A554 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025D5F8 0025A558 41 82 00 70 */ beq lbl_8025D668 +/* 8025D5FC 0025A55C 38 60 00 02 */ li r3, 2 +/* 8025D600 0025A560 48 08 C2 B5 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 8025D604 0025A564 2C 1F 00 03 */ cmpwi r31, 3 +/* 8025D608 0025A568 40 82 00 2C */ bne lbl_8025D634 +/* 8025D60C 0025A56C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8025D610 0025A570 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025D614 0025A574 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8025D618 0025A578 38 80 05 87 */ li r4, 0x587 +/* 8025D61C 0025A57C 38 A0 00 7F */ li r5, 0x7f +/* 8025D620 0025A580 38 C0 00 40 */ li r6, 0x40 +/* 8025D624 0025A584 38 E0 00 00 */ li r7, 0 +/* 8025D628 0025A588 39 20 00 00 */ li r9, 0 +/* 8025D62C 0025A58C 48 08 C7 49 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8025D630 0025A590 48 00 00 30 */ b lbl_8025D660 +lbl_8025D634: +/* 8025D634 0025A594 2C 1F 00 01 */ cmpwi r31, 1 +/* 8025D638 0025A598 40 82 00 28 */ bne lbl_8025D660 +/* 8025D63C 0025A59C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8025D640 0025A5A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025D644 0025A5A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8025D648 0025A5A8 38 80 05 62 */ li r4, 0x562 +/* 8025D64C 0025A5AC 38 A0 00 7F */ li r5, 0x7f +/* 8025D650 0025A5B0 38 C0 00 40 */ li r6, 0x40 +/* 8025D654 0025A5B4 38 E0 00 00 */ li r7, 0 +/* 8025D658 0025A5B8 39 20 00 00 */ li r9, 0 +/* 8025D65C 0025A5BC 48 08 C7 19 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8025D660: +/* 8025D660 0025A5C0 C0 02 BA 10 */ lfs f0, lbl_805AD730@sda21(r2) +/* 8025D664 0025A5C4 D0 1E 00 18 */ stfs f0, 0x18(r30) +lbl_8025D668: +/* 8025D668 0025A5C8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025D66C 0025A5CC 41 82 00 0C */ beq lbl_8025D678 +/* 8025D670 0025A5D0 41 80 00 A0 */ blt lbl_8025D710 +/* 8025D674 0025A5D4 48 00 00 9C */ b lbl_8025D710 +lbl_8025D678: +/* 8025D678 0025A5D8 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8025D67C 0025A5DC 38 60 00 01 */ li r3, 1 +/* 8025D680 0025A5E0 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D684 0025A5E4 40 82 00 14 */ bne lbl_8025D698 +/* 8025D688 0025A5E8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8025D68C 0025A5EC 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D690 0025A5F0 40 82 00 08 */ bne lbl_8025D698 +/* 8025D694 0025A5F4 38 60 00 00 */ li r3, 0 +lbl_8025D698: +/* 8025D698 0025A5F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025D69C 0025A5FC 41 82 00 74 */ beq lbl_8025D710 +/* 8025D6A0 0025A600 38 60 00 01 */ li r3, 1 +/* 8025D6A4 0025A604 48 08 C2 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 8025D6A8 0025A608 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8025D6AC 0025A60C 2C 00 00 03 */ cmpwi r0, 3 +/* 8025D6B0 0025A610 40 82 00 2C */ bne lbl_8025D6DC +/* 8025D6B4 0025A614 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8025D6B8 0025A618 38 61 00 0C */ addi r3, r1, 0xc +/* 8025D6BC 0025A61C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8025D6C0 0025A620 38 80 05 88 */ li r4, 0x588 +/* 8025D6C4 0025A624 38 A0 00 7F */ li r5, 0x7f +/* 8025D6C8 0025A628 38 C0 00 40 */ li r6, 0x40 +/* 8025D6CC 0025A62C 38 E0 00 00 */ li r7, 0 +/* 8025D6D0 0025A630 39 20 00 00 */ li r9, 0 +/* 8025D6D4 0025A634 48 08 C6 A1 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8025D6D8 0025A638 48 00 00 30 */ b lbl_8025D708 +lbl_8025D6DC: +/* 8025D6DC 0025A63C 2C 00 00 01 */ cmpwi r0, 1 +/* 8025D6E0 0025A640 40 82 00 28 */ bne lbl_8025D708 +/* 8025D6E4 0025A644 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8025D6E8 0025A648 38 61 00 08 */ addi r3, r1, 8 +/* 8025D6EC 0025A64C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8025D6F0 0025A650 38 80 05 64 */ li r4, 0x564 +/* 8025D6F4 0025A654 38 A0 00 7F */ li r5, 0x7f +/* 8025D6F8 0025A658 38 C0 00 40 */ li r6, 0x40 +/* 8025D6FC 0025A65C 38 E0 00 00 */ li r7, 0 +/* 8025D700 0025A660 39 20 00 00 */ li r9, 0 +/* 8025D704 0025A664 48 08 C6 71 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8025D708: +/* 8025D708 0025A668 C0 02 BA 14 */ lfs f0, lbl_805AD734@sda21(r2) +/* 8025D70C 0025A66C D0 1E 00 18 */ stfs f0, 0x18(r30) +lbl_8025D710: +/* 8025D710 0025A670 93 FE 00 14 */ stw r31, 0x14(r30) +/* 8025D714 0025A674 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025D718 0025A678 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025D71C 0025A67C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025D720 0025A680 7C 08 03 A6 */ mtlr r0 +/* 8025D724 0025A684 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025D728 0025A688 4E 80 00 20 */ blr + +.global sub_8025d72c +sub_8025d72c: +/* 8025D72C 0025A68C 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8025D730 0025A690 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D734 0025A694 40 82 00 0C */ bne lbl_8025D740 +/* 8025D738 0025A698 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8025D73C 0025A69C 4D 82 00 20 */ beqlr +lbl_8025D740: +/* 8025D740 0025A6A0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8025D744 0025A6A4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8025D748 0025A6A8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8025D74C 0025A6AC 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D750 0025A6B0 4C 82 00 20 */ bnelr +/* 8025D754 0025A6B4 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8025D758 0025A6B8 38 80 00 01 */ li r4, 1 +/* 8025D75C 0025A6BC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8025D760 0025A6C0 98 03 00 50 */ stb r0, 0x50(r3) +/* 8025D764 0025A6C4 4E 80 00 20 */ blr + +.global Draw__16CPauseScreenBlurFRC13CStateManager +Draw__16CPauseScreenBlurFRC13CStateManager: +/* 8025D768 0025A6C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025D76C 0025A6CC 7C 08 02 A6 */ mflr r0 +/* 8025D770 0025A6D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025D774 0025A6D4 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8025D778 0025A6D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8025D77C 0025A6DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025D780 0025A6E0 7C 7F 1B 78 */ mr r31, r3 +/* 8025D784 0025A6E4 38 7F 00 1C */ addi r3, r31, 0x1c +/* 8025D788 0025A6E8 4B E8 D3 01 */ bl Draw__15CCameraBlurPassCFv +/* 8025D78C 0025A6EC 48 0A F1 F1 */ bl DisableAllLights__9CGraphicsFv +/* 8025D790 0025A6F0 38 00 FF FF */ li r0, -1 +/* 8025D794 0025A6F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025D798 0025A6F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025D79C 0025A6FC 48 0A E8 81 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 8025D7A0 0025A700 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8025D7A4 0025A704 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8025D7A8 0025A708 FC 00 02 10 */ fabs f0, f0 +/* 8025D7AC 0025A70C 2C 00 00 00 */ cmpwi r0, 0 +/* 8025D7B0 0025A710 FF E0 00 18 */ frsp f31, f0 +/* 8025D7B4 0025A714 41 82 00 74 */ beq lbl_8025D828 +/* 8025D7B8 0025A718 48 0E C7 F5 */ bl White__6CColorFv +/* 8025D7BC 0025A71C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 8025D7C0 0025A720 FC 20 F8 90 */ fmr f1, f31 +/* 8025D7C4 0025A724 7C 64 1B 78 */ mr r4, r3 +/* 8025D7C8 0025A728 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025D7CC 0025A72C 38 A5 00 04 */ addi r5, r5, 4 +/* 8025D7D0 0025A730 48 10 5A DD */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8025D7D4 0025A734 FC 20 F8 90 */ fmr f1, f31 +/* 8025D7D8 0025A738 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8025D7DC 0025A73C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8025D7E0 0025A740 38 60 00 01 */ li r3, 1 +/* 8025D7E4 0025A744 38 80 00 03 */ li r4, 3 +/* 8025D7E8 0025A748 4B E8 E9 61 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 8025D7EC 0025A74C 3C 60 C0 C1 */ lis r3, 0xC0C0C0FF@ha +/* 8025D7F0 0025A750 38 03 C0 FF */ addi r0, r3, 0xC0C0C0FF@l +/* 8025D7F4 0025A754 90 01 00 08 */ stw r0, 8(r1) +/* 8025D7F8 0025A758 48 0E C7 B5 */ bl White__6CColorFv +/* 8025D7FC 0025A75C FC 20 F8 90 */ fmr f1, f31 +/* 8025D800 0025A760 7C 64 1B 78 */ mr r4, r3 +/* 8025D804 0025A764 38 61 00 0C */ addi r3, r1, 0xc +/* 8025D808 0025A768 38 A1 00 08 */ addi r5, r1, 8 +/* 8025D80C 0025A76C 48 10 5A A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8025D810 0025A770 FC 20 F8 90 */ fmr f1, f31 +/* 8025D814 0025A774 38 A1 00 0C */ addi r5, r1, 0xc +/* 8025D818 0025A778 38 60 00 01 */ li r3, 1 +/* 8025D81C 0025A77C 38 80 00 05 */ li r4, 5 +/* 8025D820 0025A780 38 C0 00 00 */ li r6, 0 +/* 8025D824 0025A784 4B E8 E9 25 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_8025D828: +/* 8025D828 0025A788 88 9F 00 50 */ lbz r4, 0x50(r31) +/* 8025D82C 0025A78C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 8025D830 0025A790 41 82 00 28 */ beq lbl_8025D858 +/* 8025D834 0025A794 88 1F 00 49 */ lbz r0, 0x49(r31) +/* 8025D838 0025A798 28 00 00 00 */ cmplwi r0, 0 +/* 8025D83C 0025A79C 41 82 00 1C */ beq lbl_8025D858 +/* 8025D840 0025A7A0 38 60 00 00 */ li r3, 0 +/* 8025D844 0025A7A4 50 64 3E 30 */ rlwimi r4, r3, 7, 0x18, 0x18 +/* 8025D848 0025A7A8 98 9F 00 50 */ stb r4, 0x50(r31) +/* 8025D84C 0025A7AC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 8025D850 0025A7B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025D854 0025A7B4 98 1F 00 50 */ stb r0, 0x50(r31) +lbl_8025D858: +/* 8025D858 0025A7B8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8025D85C 0025A7BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025D860 0025A7C0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8025D864 0025A7C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025D868 0025A7C8 7C 08 03 A6 */ mtlr r0 +/* 8025D86C 0025A7CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025D870 0025A7D0 4E 80 00 20 */ blr + +.global Update__16CPauseScreenBlurfRC13CStateManagerb +Update__16CPauseScreenBlurfRC13CStateManagerb: +/* 8025D874 0025A7D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025D878 0025A7D8 7C 08 02 A6 */ mflr r0 +/* 8025D87C 0025A7DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025D880 0025A7E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025D884 0025A7E4 7C BF 2B 78 */ mr r31, r5 +/* 8025D888 0025A7E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025D88C 0025A7EC 7C 7E 1B 78 */ mr r30, r3 +/* 8025D890 0025A7F0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8025D894 0025A7F4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8025D898 0025A7F8 7C 03 00 00 */ cmpw r3, r0 +/* 8025D89C 0025A7FC 41 82 00 F8 */ beq lbl_8025D994 +/* 8025D8A0 0025A800 C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 8025D8A4 0025A804 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) +/* 8025D8A8 0025A808 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8025D8AC 0025A80C 40 80 00 34 */ bge lbl_8025D8E0 +/* 8025D8B0 0025A810 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2) +/* 8025D8B4 0025A814 C0 0D 97 D8 */ lfs f0, lbl_805A8398@sda21(r13) +/* 8025D8B8 0025A818 EC 22 18 7A */ fmadds f1, f2, f1, f3 +/* 8025D8BC 0025A81C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025D8C0 0025A820 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025D8C4 0025A824 40 80 00 0C */ bge lbl_8025D8D0 +/* 8025D8C8 0025A828 38 61 00 0C */ addi r3, r1, 0xc +/* 8025D8CC 0025A82C 48 00 00 08 */ b lbl_8025D8D4 +lbl_8025D8D0: +/* 8025D8D0 0025A830 38 6D 97 D8 */ addi r3, r13, lbl_805A8398@sda21 +lbl_8025D8D4: +/* 8025D8D4 0025A834 C0 03 00 00 */ lfs f0, 0(r3) +/* 8025D8D8 0025A838 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8025D8DC 0025A83C 48 00 00 34 */ b lbl_8025D910 +lbl_8025D8E0: +/* 8025D8E0 0025A840 40 81 00 30 */ ble lbl_8025D910 +/* 8025D8E4 0025A844 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2) +/* 8025D8E8 0025A848 C0 0D 97 DC */ lfs f0, lbl_805A839C@sda21(r13) +/* 8025D8EC 0025A84C EC 22 18 7A */ fmadds f1, f2, f1, f3 +/* 8025D8F0 0025A850 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025D8F4 0025A854 D0 21 00 08 */ stfs f1, 8(r1) +/* 8025D8F8 0025A858 40 80 00 0C */ bge lbl_8025D904 +/* 8025D8FC 0025A85C 38 61 00 08 */ addi r3, r1, 8 +/* 8025D900 0025A860 48 00 00 08 */ b lbl_8025D908 +lbl_8025D904: +/* 8025D904 0025A864 38 6D 97 DC */ addi r3, r13, lbl_805A839C@sda21 +lbl_8025D908: +/* 8025D908 0025A868 C0 03 00 00 */ lfs f0, 0(r3) +/* 8025D90C 0025A86C D0 1E 00 18 */ stfs f0, 0x18(r30) +lbl_8025D910: +/* 8025D910 0025A870 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) +/* 8025D914 0025A874 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 8025D918 0025A878 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8025D91C 0025A87C 41 82 00 10 */ beq lbl_8025D92C +/* 8025D920 0025A880 C0 02 BA 20 */ lfs f0, lbl_805AD740@sda21(r2) +/* 8025D924 0025A884 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8025D928 0025A888 40 82 00 10 */ bne lbl_8025D938 +lbl_8025D92C: +/* 8025D92C 0025A88C 7F C3 F3 78 */ mr r3, r30 +/* 8025D930 0025A890 7F E4 FB 78 */ mr r4, r31 +/* 8025D934 0025A894 4B FF FD F9 */ bl sub_8025d72c +lbl_8025D938: +/* 8025D938 0025A898 C0 22 BA 18 */ lfs f1, lbl_805AD738@sda21(r2) +/* 8025D93C 0025A89C C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 8025D940 0025A8A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8025D944 0025A8A4 40 82 00 18 */ bne lbl_8025D95C +/* 8025D948 0025A8A8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8025D94C 0025A8AC 41 82 00 10 */ beq lbl_8025D95C +/* 8025D950 0025A8B0 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8025D954 0025A8B4 4B E8 E0 21 */ bl DisableBlur__15CCameraBlurPassFf +/* 8025D958 0025A8B8 48 00 00 3C */ b lbl_8025D994 +lbl_8025D95C: +/* 8025D95C 0025A8BC FC 00 02 10 */ fabs f0, f0 +/* 8025D960 0025A8C0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 8025D964 0025A8C4 C0 42 BA 18 */ lfs f2, lbl_805AD738@sda21(r2) +/* 8025D968 0025A8C8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8025D96C 0025A8CC C0 24 00 0C */ lfs f1, 0xc(r4) +/* 8025D970 0025A8D0 38 80 00 02 */ li r4, 2 +/* 8025D974 0025A8D4 FC 00 00 18 */ frsp f0, f0 +/* 8025D978 0025A8D8 38 A0 00 01 */ li r5, 1 +/* 8025D97C 0025A8DC EC 21 00 32 */ fmuls f1, f1, f0 +/* 8025D980 0025A8E0 4B E8 E0 25 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 8025D984 0025A8E4 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8025D988 0025A8E8 38 60 00 01 */ li r3, 1 +/* 8025D98C 0025A8EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025D990 0025A8F0 98 1E 00 50 */ stb r0, 0x50(r30) +lbl_8025D994: +/* 8025D994 0025A8F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025D998 0025A8F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025D99C 0025A8FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025D9A0 0025A900 7C 08 03 A6 */ mtlr r0 +/* 8025D9A4 0025A904 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025D9A8 0025A908 4E 80 00 20 */ blr + +.global OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager +OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager: +/* 8025D9AC 0025A90C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025D9B0 0025A910 7C 08 02 A6 */ mflr r0 +/* 8025D9B4 0025A914 2C 04 00 00 */ cmpwi r4, 0 +/* 8025D9B8 0025A918 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025D9BC 0025A91C 38 00 00 00 */ li r0, 0 +/* 8025D9C0 0025A920 41 80 00 10 */ blt lbl_8025D9D0 +/* 8025D9C4 0025A924 2C 04 00 01 */ cmpwi r4, 1 +/* 8025D9C8 0025A928 41 81 00 08 */ bgt lbl_8025D9D0 +/* 8025D9CC 0025A92C 38 00 00 01 */ li r0, 1 +lbl_8025D9D0: +/* 8025D9D0 0025A930 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8025D9D4 0025A934 41 82 00 10 */ beq lbl_8025D9E4 +/* 8025D9D8 0025A938 38 80 00 00 */ li r4, 0 +/* 8025D9DC 0025A93C 4B FF FB E9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +/* 8025D9E0 0025A940 48 00 00 58 */ b lbl_8025DA38 +lbl_8025D9E4: +/* 8025D9E4 0025A944 2C 04 00 05 */ cmpwi r4, 5 +/* 8025D9E8 0025A948 41 82 00 30 */ beq lbl_8025DA18 +/* 8025D9EC 0025A94C 40 80 00 14 */ bge lbl_8025DA00 +/* 8025D9F0 0025A950 2C 04 00 02 */ cmpwi r4, 2 +/* 8025D9F4 0025A954 41 82 00 18 */ beq lbl_8025DA0C +/* 8025D9F8 0025A958 40 80 00 38 */ bge lbl_8025DA30 +/* 8025D9FC 0025A95C 48 00 00 3C */ b lbl_8025DA38 +lbl_8025DA00: +/* 8025DA00 0025A960 2C 04 00 07 */ cmpwi r4, 7 +/* 8025DA04 0025A964 40 80 00 34 */ bge lbl_8025DA38 +/* 8025DA08 0025A968 48 00 00 1C */ b lbl_8025DA24 +lbl_8025DA0C: +/* 8025DA0C 0025A96C 38 80 00 01 */ li r4, 1 +/* 8025DA10 0025A970 4B FF FB B5 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +/* 8025DA14 0025A974 48 00 00 24 */ b lbl_8025DA38 +lbl_8025DA18: +/* 8025DA18 0025A978 38 80 00 02 */ li r4, 2 +/* 8025DA1C 0025A97C 4B FF FB A9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +/* 8025DA20 0025A980 48 00 00 18 */ b lbl_8025DA38 +lbl_8025DA24: +/* 8025DA24 0025A984 38 80 00 03 */ li r4, 3 +/* 8025DA28 0025A988 4B FF FB 9D */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +/* 8025DA2C 0025A98C 48 00 00 0C */ b lbl_8025DA38 +lbl_8025DA30: +/* 8025DA30 0025A990 38 80 00 04 */ li r4, 4 +/* 8025DA34 0025A994 4B FF FB 91 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState +lbl_8025DA38: +/* 8025DA38 0025A998 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025DA3C 0025A99C 7C 08 03 A6 */ mtlr r0 +/* 8025DA40 0025A9A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025DA44 0025A9A4 4E 80 00 20 */ blr + +.global __dt__16CPauseScreenBlurFv +__dt__16CPauseScreenBlurFv: +/* 8025DA48 0025A9A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025DA4C 0025A9AC 7C 08 02 A6 */ mflr r0 +/* 8025DA50 0025A9B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025DA54 0025A9B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025DA58 0025A9B8 7C 9F 23 78 */ mr r31, r4 +/* 8025DA5C 0025A9BC 93 C1 00 08 */ stw r30, 8(r1) +/* 8025DA60 0025A9C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8025DA64 0025A9C4 41 82 00 78 */ beq lbl_8025DADC +/* 8025DA68 0025A9C8 3C 60 80 3F */ lis r3, lbl_803E9A00@ha +/* 8025DA6C 0025A9CC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8025DA70 0025A9D0 38 03 9A 00 */ addi r0, r3, lbl_803E9A00@l +/* 8025DA74 0025A9D4 90 1E 00 00 */ stw r0, 0(r30) +/* 8025DA78 0025A9D8 41 82 00 38 */ beq lbl_8025DAB0 +/* 8025DA7C 0025A9DC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8025DA80 0025A9E0 41 82 00 30 */ beq lbl_8025DAB0 +/* 8025DA84 0025A9E4 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8025DA88 0025A9E8 28 00 00 00 */ cmplwi r0, 0 +/* 8025DA8C 0025A9EC 41 82 00 1C */ beq lbl_8025DAA8 +/* 8025DA90 0025A9F0 34 7E 00 1C */ addic. r3, r30, 0x1c +/* 8025DA94 0025A9F4 41 82 00 14 */ beq lbl_8025DAA8 +/* 8025DA98 0025A9F8 28 03 00 00 */ cmplwi r3, 0 +/* 8025DA9C 0025A9FC 41 82 00 0C */ beq lbl_8025DAA8 +/* 8025DAA0 0025AA00 38 80 00 00 */ li r4, 0 +/* 8025DAA4 0025AA04 48 0E 33 9D */ bl __dt__6CTokenFv +lbl_8025DAA8: +/* 8025DAA8 0025AA08 38 00 00 00 */ li r0, 0 +/* 8025DAAC 0025AA0C 98 1E 00 28 */ stb r0, 0x28(r30) +lbl_8025DAB0: +/* 8025DAB0 0025AA10 34 1E 00 04 */ addic. r0, r30, 4 +/* 8025DAB4 0025AA14 41 82 00 18 */ beq lbl_8025DACC +/* 8025DAB8 0025AA18 34 1E 00 04 */ addic. r0, r30, 4 +/* 8025DABC 0025AA1C 41 82 00 10 */ beq lbl_8025DACC +/* 8025DAC0 0025AA20 38 7E 00 04 */ addi r3, r30, 4 +/* 8025DAC4 0025AA24 38 80 00 00 */ li r4, 0 +/* 8025DAC8 0025AA28 48 0E 33 79 */ bl __dt__6CTokenFv +lbl_8025DACC: +/* 8025DACC 0025AA2C 7F E0 07 35 */ extsh. r0, r31 +/* 8025DAD0 0025AA30 40 81 00 0C */ ble lbl_8025DADC +/* 8025DAD4 0025AA34 7F C3 F3 78 */ mr r3, r30 +/* 8025DAD8 0025AA38 48 0B 7E 59 */ bl Free__7CMemoryFPCv +lbl_8025DADC: +/* 8025DADC 0025AA3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025DAE0 0025AA40 7F C3 F3 78 */ mr r3, r30 +/* 8025DAE4 0025AA44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025DAE8 0025AA48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8025DAEC 0025AA4C 7C 08 03 A6 */ mtlr r0 +/* 8025DAF0 0025AA50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025DAF4 0025AA54 4E 80 00 20 */ blr + +.global __ct__16CPauseScreenBlurFv +__ct__16CPauseScreenBlurFv: +/* 8025DAF8 0025AA58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025DAFC 0025AA5C 7C 08 02 A6 */ mflr r0 +/* 8025DB00 0025AA60 3C 80 80 3F */ lis r4, lbl_803E9A00@ha +/* 8025DB04 0025AA64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025DB08 0025AA68 38 04 9A 00 */ addi r0, r4, lbl_803E9A00@l +/* 8025DB0C 0025AA6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025DB10 0025AA70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025DB14 0025AA74 7C 7E 1B 78 */ mr r30, r3 +/* 8025DB18 0025AA78 3C 60 80 3D */ lis r3, lbl_803D5240@ha +/* 8025DB1C 0025AA7C 90 1E 00 00 */ stw r0, 0(r30) +/* 8025DB20 0025AA80 38 A3 52 40 */ addi r5, r3, lbl_803D5240@l +/* 8025DB24 0025AA84 38 61 00 08 */ addi r3, r1, 8 +/* 8025DB28 0025AA88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8025DB2C 0025AA8C 81 84 00 00 */ lwz r12, 0(r4) +/* 8025DB30 0025AA90 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8025DB34 0025AA94 7D 89 03 A6 */ mtctr r12 +/* 8025DB38 0025AA98 4E 80 04 21 */ bctrl +/* 8025DB3C 0025AA9C 3B FE 00 04 */ addi r31, r30, 4 +/* 8025DB40 0025AAA0 38 81 00 08 */ addi r4, r1, 8 +/* 8025DB44 0025AAA4 7F E3 FB 78 */ mr r3, r31 +/* 8025DB48 0025AAA8 48 0E 33 61 */ bl __ct__6CTokenFRC6CToken +/* 8025DB4C 0025AAAC 7F E3 FB 78 */ mr r3, r31 +/* 8025DB50 0025AAB0 48 0E 32 BD */ bl GetObj__6CTokenFv +/* 8025DB54 0025AAB4 80 03 00 04 */ lwz r0, 4(r3) +/* 8025DB58 0025AAB8 38 61 00 08 */ addi r3, r1, 8 +/* 8025DB5C 0025AABC 38 80 FF FF */ li r4, -1 +/* 8025DB60 0025AAC0 90 1F 00 08 */ stw r0, 8(r31) +/* 8025DB64 0025AAC4 48 0E 32 DD */ bl __dt__6CTokenFv +/* 8025DB68 0025AAC8 38 00 00 00 */ li r0, 0 +/* 8025DB6C 0025AACC C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) +/* 8025DB70 0025AAD0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8025DB74 0025AAD4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8025DB78 0025AAD8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8025DB7C 0025AADC D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8025DB80 0025AAE0 4B E8 E4 BD */ bl __ct__15CCameraBlurPassFv +/* 8025DB84 0025AAE4 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8025DB88 0025AAE8 38 60 00 00 */ li r3, 0 +/* 8025DB8C 0025AAEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025DB90 0025AAF0 38 80 00 01 */ li r4, 1 +/* 8025DB94 0025AAF4 98 1E 00 50 */ stb r0, 0x50(r30) +/* 8025DB98 0025AAF8 7F C3 F3 78 */ mr r3, r30 +/* 8025DB9C 0025AAFC 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8025DBA0 0025AB00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8025DBA4 0025AB04 98 1E 00 50 */ stb r0, 0x50(r30) +/* 8025DBA8 0025AB08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025DBAC 0025AB0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025DBB0 0025AB10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025DBB4 0025AB14 7C 08 03 A6 */ mtlr r0 +/* 8025DBB8 0025AB18 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025DBBC 0025AB1C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPreFrontEnd.s b/asm/Kyoto_CWD/CPreFrontEnd.s new file mode 100644 index 00000000..e31a6045 --- /dev/null +++ b/asm/Kyoto_CWD/CPreFrontEnd.s @@ -0,0 +1,125 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CPreFrontEndFv +__dt__12CPreFrontEndFv: +/* 8029E4A4 0029B404 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029E4A8 0029B408 7C 08 02 A6 */ mflr r0 +/* 8029E4AC 0029B40C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029E4B0 0029B410 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029E4B4 0029B414 7C 9F 23 78 */ mr r31, r4 +/* 8029E4B8 0029B418 93 C1 00 08 */ stw r30, 8(r1) +/* 8029E4BC 0029B41C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029E4C0 0029B420 41 82 00 28 */ beq lbl_8029E4E8 +/* 8029E4C4 0029B424 3C A0 80 3F */ lis r5, lbl_803EC010@ha +/* 8029E4C8 0029B428 38 80 00 00 */ li r4, 0 +/* 8029E4CC 0029B42C 38 05 C0 10 */ addi r0, r5, lbl_803EC010@l +/* 8029E4D0 0029B430 90 1E 00 00 */ stw r0, 0(r30) +/* 8029E4D4 0029B434 4B DB 46 D1 */ bl __dt__6CIOWinFv +/* 8029E4D8 0029B438 7F E0 07 35 */ extsh. r0, r31 +/* 8029E4DC 0029B43C 40 81 00 0C */ ble lbl_8029E4E8 +/* 8029E4E0 0029B440 7F C3 F3 78 */ mr r3, r30 +/* 8029E4E4 0029B444 48 07 74 4D */ bl Free__7CMemoryFPCv +lbl_8029E4E8: +/* 8029E4E8 0029B448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029E4EC 0029B44C 7F C3 F3 78 */ mr r3, r30 +/* 8029E4F0 0029B450 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029E4F4 0029B454 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029E4F8 0029B458 7C 08 03 A6 */ mtlr r0 +/* 8029E4FC 0029B45C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029E500 0029B460 4E 80 00 20 */ blr + +.global Draw__12CPreFrontEndCFv +Draw__12CPreFrontEndCFv: +/* 8029E504 0029B464 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029E508 0029B468 7C 08 02 A6 */ mflr r0 +/* 8029E50C 0029B46C 38 60 00 01 */ li r3, 1 +/* 8029E510 0029B470 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029E514 0029B474 48 06 AF 95 */ bl SetIsBeginSceneClearFb__9CGraphicsFb +/* 8029E518 0029B478 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029E51C 0029B47C 7C 08 03 A6 */ mtlr r0 +/* 8029E520 0029B480 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029E524 0029B484 4E 80 00 20 */ blr + +.global OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage +OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage: +/* 8029E528 0029B488 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029E52C 0029B48C 7C 08 02 A6 */ mflr r0 +/* 8029E530 0029B490 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029E534 0029B494 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029E538 0029B498 7C 7F 1B 78 */ mr r31, r3 +/* 8029E53C 0029B49C 80 04 00 04 */ lwz r0, 4(r4) +/* 8029E540 0029B4A0 2C 00 00 04 */ cmpwi r0, 4 +/* 8029E544 0029B4A4 40 82 00 84 */ bne lbl_8029E5C8 +/* 8029E548 0029B4A8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029E54C 0029B4AC 38 63 00 04 */ addi r3, r3, 4 +/* 8029E550 0029B4B0 48 09 D8 61 */ bl AreAllPaksLoaded__10CResLoaderCFv +/* 8029E554 0029B4B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029E558 0029B4B8 40 82 00 0C */ bne lbl_8029E564 +/* 8029E55C 0029B4BC 38 60 00 01 */ li r3, 1 +/* 8029E560 0029B4C0 48 00 00 6C */ b lbl_8029E5CC +lbl_8029E564: +/* 8029E564 0029B4C4 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 8029E568 0029B4C8 28 00 00 00 */ cmplwi r0, 0 +/* 8029E56C 0029B4CC 40 82 00 14 */ bne lbl_8029E580 +/* 8029E570 0029B4D0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8029E574 0029B4D4 4B D6 51 09 */ bl RegisterResourceTweaks__5CMainFv +/* 8029E578 0029B4D8 38 00 00 01 */ li r0, 1 +/* 8029E57C 0029B4DC 98 1F 00 14 */ stb r0, 0x14(r31) +lbl_8029E580: +/* 8029E580 0029B4E0 3C 80 00 0F */ lis r4, 0x000F4240@ha +/* 8029E584 0029B4E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029E588 0029B4E8 38 84 42 40 */ addi r4, r4, 0x000F4240@l +/* 8029E58C 0029B4EC 48 09 B6 45 */ bl AsyncIdle__11CResFactoryFUl +/* 8029E590 0029B4F0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8029E594 0029B4F4 4B D6 80 A9 */ bl MemoryCardInitializePump__5CMainFv +/* 8029E598 0029B4F8 80 0D A0 84 */ lwz r0, gpMemoryCard@sda21(r13) +/* 8029E59C 0029B4FC 28 00 00 00 */ cmplwi r0, 0 +/* 8029E5A0 0029B500 40 82 00 0C */ bne lbl_8029E5AC +/* 8029E5A4 0029B504 38 60 00 01 */ li r3, 1 +/* 8029E5A8 0029B508 48 00 00 24 */ b lbl_8029E5CC +lbl_8029E5AC: +/* 8029E5AC 0029B50C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8029E5B0 0029B510 4B D6 83 51 */ bl LoadAudio__5CMainFv +/* 8029E5B4 0029B514 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029E5B8 0029B518 38 60 00 01 */ li r3, 1 +/* 8029E5BC 0029B51C 41 82 00 10 */ beq lbl_8029E5CC +/* 8029E5C0 0029B520 38 60 00 02 */ li r3, 2 +/* 8029E5C4 0029B524 48 00 00 08 */ b lbl_8029E5CC +lbl_8029E5C8: +/* 8029E5C8 0029B528 38 60 00 00 */ li r3, 0 +lbl_8029E5CC: +/* 8029E5CC 0029B52C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029E5D0 0029B530 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029E5D4 0029B534 7C 08 03 A6 */ mtlr r0 +/* 8029E5D8 0029B538 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029E5DC 0029B53C 4E 80 00 20 */ blr + +.global __ct__12CPreFrontEndFv +__ct__12CPreFrontEndFv: +/* 8029E5E0 0029B540 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029E5E4 0029B544 7C 08 02 A6 */ mflr r0 +/* 8029E5E8 0029B548 3C 80 80 3D */ lis r4, lbl_803D5E80@ha +/* 8029E5EC 0029B54C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029E5F0 0029B550 38 84 5E 80 */ addi r4, r4, lbl_803D5E80@l +/* 8029E5F4 0029B554 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029E5F8 0029B558 7C 7F 1B 78 */ mr r31, r3 +/* 8029E5FC 0029B55C 38 61 00 08 */ addi r3, r1, 8 +/* 8029E600 0029B560 4B D6 66 B9 */ bl string_l__4rstlFPCc +/* 8029E604 0029B564 7F E3 FB 78 */ mr r3, r31 +/* 8029E608 0029B568 38 81 00 08 */ addi r4, r1, 8 +/* 8029E60C 0029B56C 4B DB 46 01 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029E610 0029B570 38 61 00 08 */ addi r3, r1, 8 +/* 8029E614 0029B574 48 09 F4 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029E618 0029B578 3C 60 80 3F */ lis r3, lbl_803EC010@ha +/* 8029E61C 0029B57C 38 00 00 00 */ li r0, 0 +/* 8029E620 0029B580 38 83 C0 10 */ addi r4, r3, lbl_803EC010@l +/* 8029E624 0029B584 7F E3 FB 78 */ mr r3, r31 +/* 8029E628 0029B588 90 9F 00 00 */ stw r4, 0(r31) +/* 8029E62C 0029B58C 98 1F 00 14 */ stb r0, 0x14(r31) +/* 8029E630 0029B590 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029E634 0029B594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029E638 0029B598 7C 08 03 A6 */ mtlr r0 +/* 8029E63C 0029B59C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029E640 0029B5A0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CProjectedShadow.s b/asm/Kyoto_CWD/CProjectedShadow.s new file mode 100644 index 00000000..f3425f81 --- /dev/null +++ b/asm/Kyoto_CWD/CProjectedShadow.s @@ -0,0 +1,931 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8029d6c8 +sub_8029d6c8: +/* 8029D6C8 0029A628 38 00 00 00 */ li r0, 0 +/* 8029D6CC 0029A62C 98 03 00 80 */ stb r0, 0x80(r3) +/* 8029D6D0 0029A630 4E 80 00 20 */ blr + +.global Render__16CProjectedShadowFRC13CStateManager +Render__16CProjectedShadowFRC13CStateManager: +/* 8029D6D4 0029A634 94 21 F4 D0 */ stwu r1, -0xb30(r1) +/* 8029D6D8 0029A638 7C 08 02 A6 */ mflr r0 +/* 8029D6DC 0029A63C 90 01 0B 34 */ stw r0, 0xb34(r1) +/* 8029D6E0 0029A640 DB E1 0B 20 */ stfd f31, 0xb20(r1) +/* 8029D6E4 0029A644 F3 E1 0B 28 */ psq_st f31, -1240(r1), 0, qr0 +/* 8029D6E8 0029A648 DB C1 0B 10 */ stfd f30, 0xb10(r1) +/* 8029D6EC 0029A64C F3 C1 0B 18 */ psq_st f30, -1256(r1), 0, qr0 +/* 8029D6F0 0029A650 BF 41 0A F8 */ stmw r26, 0xaf8(r1) +/* 8029D6F4 0029A654 7C 7E 1B 78 */ mr r30, r3 +/* 8029D6F8 0029A658 7C 9F 23 78 */ mr r31, r4 +/* 8029D6FC 0029A65C 88 03 00 80 */ lbz r0, 0x80(r3) +/* 8029D700 0029A660 28 00 00 00 */ cmplwi r0, 0 +/* 8029D704 0029A664 41 82 05 70 */ beq lbl_8029DC74 +/* 8029D708 0029A668 C0 2D 9A 20 */ lfs f1, lbl_805A85E0@sda21(r13) +/* 8029D70C 0029A66C C0 1E 00 84 */ lfs f0, 0x84(r30) +/* 8029D710 0029A670 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029D714 0029A674 40 80 00 0C */ bge lbl_8029D720 +/* 8029D718 0029A678 38 7E 00 84 */ addi r3, r30, 0x84 +/* 8029D71C 0029A67C 48 00 00 08 */ b lbl_8029D724 +lbl_8029D720: +/* 8029D720 0029A680 38 6D 9A 20 */ addi r3, r13, lbl_805A85E0@sda21 +lbl_8029D724: +/* 8029D724 0029A684 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029D728 0029A688 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029D72C 0029A68C 38 9E 00 68 */ addi r4, r30, 0x68 +/* 8029D730 0029A690 38 BE 00 88 */ addi r5, r30, 0x88 +/* 8029D734 0029A694 48 00 05 65 */ bl sub_8029dc98 +/* 8029D738 0029A698 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 8029D73C 0029A69C 7F C3 F3 78 */ mr r3, r30 +/* 8029D740 0029A6A0 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8029D744 0029A6A4 3B 81 00 8C */ addi r28, r1, 0x8c +/* 8029D748 0029A6A8 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 8029D74C 0029A6AC 38 80 00 07 */ li r4, 7 +/* 8029D750 0029A6B0 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8029D754 0029A6B4 38 A0 00 00 */ li r5, 0 +/* 8029D758 0029A6B8 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8029D75C 0029A6BC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8029D760 0029A6C0 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8029D764 0029A6C4 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8029D768 0029A6C8 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8029D76C 0029A6CC D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8029D770 0029A6D0 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8029D774 0029A6D4 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8029D778 0029A6D8 48 07 1F C5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8029D77C 0029A6DC 48 06 F2 01 */ bl DisableAllLights__9CGraphicsFv +/* 8029D780 0029A6E0 88 1E 00 81 */ lbz r0, 0x81(r30) +/* 8029D784 0029A6E4 28 00 00 00 */ cmplwi r0, 0 +/* 8029D788 0029A6E8 41 82 00 BC */ beq lbl_8029D844 +/* 8029D78C 0029A6EC C0 22 C0 94 */ lfs f1, lbl_805ADDB4@sda21(r2) +/* 8029D790 0029A6F0 C0 1E 00 98 */ lfs f0, 0x98(r30) +/* 8029D794 0029A6F4 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8029D798 0029A6F8 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 8029D79C 0029A6FC 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 8029D7A0 0029A700 38 83 67 00 */ addi r4, r3, lbl_805A6700@l +/* 8029D7A4 0029A704 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029D7A8 0029A708 88 01 00 09 */ lbz r0, 9(r1) +/* 8029D7AC 0029A70C 38 61 02 48 */ addi r3, r1, 0x248 +/* 8029D7B0 0029A710 98 01 00 1C */ stb r0, 0x1c(r1) +/* 8029D7B4 0029A714 98 01 00 1D */ stb r0, 0x1d(r1) +/* 8029D7B8 0029A718 98 01 00 1E */ stb r0, 0x1e(r1) +/* 8029D7BC 0029A71C 98 01 00 1F */ stb r0, 0x1f(r1) +/* 8029D7C0 0029A720 48 06 8C AD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 8029D7C4 0029A724 38 61 02 98 */ addi r3, r1, 0x298 +/* 8029D7C8 0029A728 38 81 02 48 */ addi r4, r1, 0x248 +/* 8029D7CC 0029A72C 4B D9 DD A5 */ bl __ct__6CLightFCR6CLight +/* 8029D7D0 0029A730 38 81 02 98 */ addi r4, r1, 0x298 +/* 8029D7D4 0029A734 38 60 00 00 */ li r3, 0 +/* 8029D7D8 0029A738 48 06 F1 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 8029D7DC 0029A73C 38 60 00 00 */ li r3, 0 +/* 8029D7E0 0029A740 48 06 F5 51 */ bl EnableLight__9CGraphicsF9ERglLight +/* 8029D7E4 0029A744 80 02 D7 60 */ lwz r0, lbl_805AF480@sda21(r2) +/* 8029D7E8 0029A748 38 81 00 18 */ addi r4, r1, 0x18 +/* 8029D7EC 0029A74C 38 60 00 00 */ li r3, 0 +/* 8029D7F0 0029A750 90 01 00 18 */ stw r0, 0x18(r1) +/* 8029D7F4 0029A754 48 06 B5 D1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8029D7F8 0029A758 80 02 C0 90 */ lwz r0, lbl_805ADDB0@sda21(r2) +/* 8029D7FC 0029A75C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029D800 0029A760 38 60 00 00 */ li r3, 0 +/* 8029D804 0029A764 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029D808 0029A768 48 06 B5 55 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8029D80C 0029A76C 38 60 00 00 */ li r3, 0 +/* 8029D810 0029A770 48 06 B6 41 */ bl SetNumChans__3CGXFUc +/* 8029D814 0029A774 48 06 A7 D1 */ bl FlushState__3CGXFv +/* 8029D818 0029A778 38 60 00 02 */ li r3, 2 +/* 8029D81C 0029A77C 38 80 00 01 */ li r4, 1 +/* 8029D820 0029A780 38 A0 00 00 */ li r5, 0 +/* 8029D824 0029A784 38 C0 00 00 */ li r6, 0 +/* 8029D828 0029A788 38 E0 00 01 */ li r7, 1 +/* 8029D82C 0029A78C 39 00 00 02 */ li r8, 2 +/* 8029D830 0029A790 39 20 00 01 */ li r9, 1 +/* 8029D834 0029A794 48 0D C3 41 */ bl GXSetChanCtrl +/* 8029D838 0029A798 38 60 00 01 */ li r3, 1 +/* 8029D83C 0029A79C 48 0D C2 F5 */ bl GXSetNumChans +/* 8029D840 0029A7A0 48 00 00 0C */ b lbl_8029D84C +lbl_8029D844: +/* 8029D844 0029A7A4 38 60 00 00 */ li r3, 0 +/* 8029D848 0029A7A8 48 06 B6 09 */ bl SetNumChans__3CGXFUc +lbl_8029D84C: +/* 8029D84C 0029A7AC 38 60 00 00 */ li r3, 0 +/* 8029D850 0029A7B0 48 06 AE 41 */ bl SetNumIndStages__3CGXFUc +/* 8029D854 0029A7B4 38 60 00 00 */ li r3, 0 +/* 8029D858 0029A7B8 48 06 AE ED */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 8029D85C 0029A7BC 38 60 00 01 */ li r3, 1 +/* 8029D860 0029A7C0 48 06 B4 31 */ bl SetNumTevStages__3CGXFUc +/* 8029D864 0029A7C4 38 60 00 01 */ li r3, 1 +/* 8029D868 0029A7C8 48 06 B5 AD */ bl SetNumTexGens__3CGXFUc +/* 8029D86C 0029A7CC 38 60 00 00 */ li r3, 0 +/* 8029D870 0029A7D0 38 80 00 0F */ li r4, 0xf +/* 8029D874 0029A7D4 38 A0 00 0F */ li r5, 0xf +/* 8029D878 0029A7D8 38 C0 00 0F */ li r6, 0xf +/* 8029D87C 0029A7DC 38 E0 00 0F */ li r7, 0xf +/* 8029D880 0029A7E0 48 06 B3 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8029D884 0029A7E4 88 1E 00 81 */ lbz r0, 0x81(r30) +/* 8029D888 0029A7E8 28 00 00 00 */ cmplwi r0, 0 +/* 8029D88C 0029A7EC 41 82 00 34 */ beq lbl_8029D8C0 +/* 8029D890 0029A7F0 38 60 00 00 */ li r3, 0 +/* 8029D894 0029A7F4 38 80 00 07 */ li r4, 7 +/* 8029D898 0029A7F8 38 A0 00 04 */ li r5, 4 +/* 8029D89C 0029A7FC 38 C0 00 05 */ li r6, 5 +/* 8029D8A0 0029A800 38 E0 00 07 */ li r7, 7 +/* 8029D8A4 0029A804 48 06 B2 F1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8029D8A8 0029A808 38 60 00 00 */ li r3, 0 +/* 8029D8AC 0029A80C 38 80 00 00 */ li r4, 0 +/* 8029D8B0 0029A810 38 A0 00 07 */ li r5, 7 +/* 8029D8B4 0029A814 38 C0 00 04 */ li r6, 4 +/* 8029D8B8 0029A818 48 06 B0 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8029D8BC 0029A81C 48 00 00 6C */ b lbl_8029D928 +lbl_8029D8C0: +/* 8029D8C0 0029A820 38 60 00 00 */ li r3, 0 +/* 8029D8C4 0029A824 38 80 00 07 */ li r4, 7 +/* 8029D8C8 0029A828 38 A0 00 04 */ li r5, 4 +/* 8029D8CC 0029A82C 38 C0 00 06 */ li r6, 6 +/* 8029D8D0 0029A830 38 E0 00 07 */ li r7, 7 +/* 8029D8D4 0029A834 48 06 B2 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8029D8D8 0029A838 38 60 00 00 */ li r3, 0 +/* 8029D8DC 0029A83C 38 80 00 00 */ li r4, 0 +/* 8029D8E0 0029A840 38 A0 00 07 */ li r5, 7 +/* 8029D8E4 0029A844 38 C0 00 FF */ li r6, 0xff +/* 8029D8E8 0029A848 48 06 B0 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8029D8EC 0029A84C C3 FE 00 98 */ lfs f31, 0x98(r30) +/* 8029D8F0 0029A850 48 0A C6 BD */ bl White__6CColorFv +/* 8029D8F4 0029A854 C0 02 C0 94 */ lfs f0, lbl_805ADDB4@sda21(r2) +/* 8029D8F8 0029A858 EF C0 07 F2 */ fmuls f30, f0, f31 +/* 8029D8FC 0029A85C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 8029D900 0029A860 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029D904 0029A864 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029D908 0029A868 38 60 00 00 */ li r3, 0 +/* 8029D90C 0029A86C 88 01 00 08 */ lbz r0, 8(r1) +/* 8029D910 0029A870 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 8029D914 0029A874 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029D918 0029A878 48 06 B3 2D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8029D91C 0029A87C 38 60 00 00 */ li r3, 0 +/* 8029D920 0029A880 38 80 00 1C */ li r4, 0x1c +/* 8029D924 0029A884 48 06 B0 79 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +lbl_8029D928: +/* 8029D928 0029A888 38 60 00 00 */ li r3, 0 +/* 8029D92C 0029A88C 48 06 A3 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8029D930 0029A890 38 60 00 01 */ li r3, 1 +/* 8029D934 0029A894 38 80 00 02 */ li r4, 2 +/* 8029D938 0029A898 38 A0 00 00 */ li r5, 0 +/* 8029D93C 0029A89C 48 06 AF 41 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8029D940 0029A8A0 38 60 00 01 */ li r3, 1 +/* 8029D944 0029A8A4 38 80 00 04 */ li r4, 4 +/* 8029D948 0029A8A8 38 A0 00 05 */ li r5, 5 +/* 8029D94C 0029A8AC 38 C0 00 00 */ li r6, 0 +/* 8029D950 0029A8B0 48 06 AF 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8029D954 0029A8B4 38 60 00 04 */ li r3, 4 +/* 8029D958 0029A8B8 38 80 00 00 */ li r4, 0 +/* 8029D95C 0029A8BC 38 A0 00 00 */ li r5, 0 +/* 8029D960 0029A8C0 38 C0 00 07 */ li r6, 7 +/* 8029D964 0029A8C4 38 E0 00 00 */ li r7, 0 +/* 8029D968 0029A8C8 48 06 AE AD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8029D96C 0029A8CC 3C 60 80 3D */ lis r3, lbl_803D5E50@ha +/* 8029D970 0029A8D0 38 80 00 40 */ li r4, 0x40 +/* 8029D974 0029A8D4 38 63 5E 50 */ addi r3, r3, lbl_803D5E50@l +/* 8029D978 0029A8D8 38 A0 00 00 */ li r5, 0 +/* 8029D97C 0029A8DC 48 0D EB 15 */ bl GXLoadTexMtxImm +/* 8029D980 0029A8E0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8029D984 0029A8E4 38 61 01 28 */ addi r3, r1, 0x128 +/* 8029D988 0029A8E8 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8029D98C 0029A8EC 38 81 00 38 */ addi r4, r1, 0x38 +/* 8029D990 0029A8F0 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 8029D994 0029A8F4 FC 20 10 50 */ fneg f1, f2 +/* 8029D998 0029A8F8 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 8029D99C 0029A8FC EC C0 10 28 */ fsubs f6, f0, f2 +/* 8029D9A0 0029A900 C0 E1 00 88 */ lfs f7, 0x88(r1) +/* 8029D9A4 0029A904 FC 00 20 50 */ fneg f0, f4 +/* 8029D9A8 0029A908 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8029D9AC 0029A90C EC A3 20 28 */ fsubs f5, f3, f4 +/* 8029D9B0 0029A910 C0 62 C0 98 */ lfs f3, lbl_805ADDB8@sda21(r2) +/* 8029D9B4 0029A914 EC 82 38 28 */ fsubs f4, f2, f7 +/* 8029D9B8 0029A918 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 8029D9BC 0029A91C EC 43 30 24 */ fdivs f2, f3, f6 +/* 8029D9C0 0029A920 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8029D9C4 0029A924 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 8029D9C8 0029A928 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8029D9CC 0029A92C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8029D9D0 0029A930 EC 03 28 24 */ fdivs f0, f3, f5 +/* 8029D9D4 0029A934 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8029D9D8 0029A938 EC 23 20 24 */ fdivs f1, f3, f4 +/* 8029D9DC 0029A93C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8029D9E0 0029A940 FC 00 38 50 */ fneg f0, f7 +/* 8029D9E4 0029A944 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8029D9E8 0029A948 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029D9EC 0029A94C 48 07 57 55 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8029D9F0 0029A950 38 61 01 58 */ addi r3, r1, 0x158 +/* 8029D9F4 0029A954 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029D9F8 0029A958 48 07 57 CD */ bl Scale__12CTransform4fFRC9CVector3f +/* 8029D9FC 0029A95C 38 61 01 88 */ addi r3, r1, 0x188 +/* 8029DA00 0029A960 38 81 01 58 */ addi r4, r1, 0x158 +/* 8029DA04 0029A964 38 A1 01 28 */ addi r5, r1, 0x128 +/* 8029DA08 0029A968 48 07 4F 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029DA0C 0029A96C 38 61 02 18 */ addi r3, r1, 0x218 +/* 8029DA10 0029A970 38 81 01 88 */ addi r4, r1, 0x188 +/* 8029DA14 0029A974 48 07 51 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029DA18 0029A978 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 8029DA1C 0029A97C 7F 85 E3 78 */ mr r5, r28 +/* 8029DA20 0029A980 C0 62 C0 9C */ lfs f3, lbl_805ADDBC@sda21(r2) +/* 8029DA24 0029A984 38 61 00 68 */ addi r3, r1, 0x68 +/* 8029DA28 0029A988 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8029DA2C 0029A98C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029DA30 0029A990 EC 81 18 28 */ fsubs f4, f1, f3 +/* 8029DA34 0029A994 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8029DA38 0029A998 C0 3E 00 94 */ lfs f1, 0x94(r30) +/* 8029DA3C 0029A99C EC 00 18 28 */ fsubs f0, f0, f3 +/* 8029DA40 0029A9A0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8029DA44 0029A9A4 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8029DA48 0029A9A8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8029DA4C 0029A9AC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8029DA50 0029A9B0 48 09 AA B9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8029DA54 0029A9B4 38 00 00 00 */ li r0, 0 +/* 8029DA58 0029A9B8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8029DA5C 0029A9BC 90 01 02 E8 */ stw r0, 0x2e8(r1) +/* 8029DA60 0029A9C0 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l +/* 8029DA64 0029A9C4 7F E3 FB 78 */ mr r3, r31 +/* 8029DA68 0029A9C8 38 81 02 E8 */ addi r4, r1, 0x2e8 +/* 8029DA6C 0029A9CC 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8029DA70 0029A9D0 38 E0 00 00 */ li r7, 0 +/* 8029DA74 0029A9D4 4B DA EC AD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8029DA78 0029A9D8 38 60 00 00 */ li r3, 0 +/* 8029DA7C 0029A9DC 38 80 00 00 */ li r4, 0 +/* 8029DA80 0029A9E0 38 A0 00 00 */ li r5, 0 +/* 8029DA84 0029A9E4 38 C0 00 1E */ li r6, 0x1e +/* 8029DA88 0029A9E8 38 E0 00 00 */ li r7, 0 +/* 8029DA8C 0029A9EC 39 00 00 40 */ li r8, 0x40 +/* 8029DA90 0029A9F0 48 06 AC 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8029DA94 0029A9F4 3B 61 02 EC */ addi r27, r1, 0x2ec +/* 8029DA98 0029A9F8 7F 7A DB 78 */ mr r26, r27 +/* 8029DA9C 0029A9FC 48 00 00 E4 */ b lbl_8029DB80 +lbl_8029DAA0: +/* 8029DAA0 0029AA00 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8029DAA4 0029AA04 7F E3 FB 78 */ mr r3, r31 +/* 8029DAA8 0029AA08 38 81 00 0C */ addi r4, r1, 0xc +/* 8029DAAC 0029AA0C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8029DAB0 0029AA10 4B DA EA F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8029DAB4 0029AA14 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8029DAB8 0029AA18 41 82 00 C4 */ beq lbl_8029DB7C +/* 8029DABC 0029AA1C 4B DB 52 19 */ bl CanDrawStatic__6CActorCFv +/* 8029DAC0 0029AA20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029DAC4 0029AA24 41 82 00 B8 */ beq lbl_8029DB7C +/* 8029DAC8 0029AA28 83 9D 00 64 */ lwz r28, 0x64(r29) +/* 8029DACC 0029AA2C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8029DAD0 0029AA30 38 81 00 20 */ addi r4, r1, 0x20 +/* 8029DAD4 0029AA34 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8029DAD8 0029AA38 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029DADC 0029AA3C C0 1C 00 04 */ lfs f0, 4(r28) +/* 8029DAE0 0029AA40 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029DAE4 0029AA44 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8029DAE8 0029AA48 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029DAEC 0029AA4C 48 07 56 D9 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8029DAF0 0029AA50 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8029DAF4 0029AA54 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8029DAF8 0029AA58 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 8029DAFC 0029AA5C 48 07 4E 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029DB00 0029AA60 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8029DB04 0029AA64 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8029DB08 0029AA68 48 07 50 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029DB0C 0029AA6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029DB10 0029AA70 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 8029DB14 0029AA74 81 83 00 00 */ lwz r12, 0(r3) +/* 8029DB18 0029AA78 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8029DB1C 0029AA7C 7D 89 03 A6 */ mtctr r12 +/* 8029DB20 0029AA80 4E 80 04 21 */ bctrl +/* 8029DB24 0029AA84 38 61 00 98 */ addi r3, r1, 0x98 +/* 8029DB28 0029AA88 38 81 02 18 */ addi r4, r1, 0x218 +/* 8029DB2C 0029AA8C 38 A1 01 E8 */ addi r5, r1, 0x1e8 +/* 8029DB30 0029AA90 48 07 4E 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029DB34 0029AA94 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8029DB38 0029AA98 38 81 00 98 */ addi r4, r1, 0x98 +/* 8029DB3C 0029AA9C 48 07 50 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029DB40 0029AAA0 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8029DB44 0029AAA4 38 80 00 1E */ li r4, 0x1e +/* 8029DB48 0029AAA8 38 A0 00 00 */ li r5, 0 +/* 8029DB4C 0029AAAC 48 0D E9 45 */ bl GXLoadTexMtxImm +/* 8029DB50 0029AAB0 7F 83 E3 78 */ mr r3, r28 +/* 8029DB54 0029AAB4 38 80 00 00 */ li r4, 0 +/* 8029DB58 0029AAB8 4B E7 74 55 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 8029DB5C 0029AABC 83 83 00 08 */ lwz r28, 8(r3) +/* 8029DB60 0029AAC0 7F 83 E3 78 */ mr r3, r28 +/* 8029DB64 0029AAC4 48 0B 75 BD */ bl UpdateLastFrame__6CModelFv +/* 8029DB68 0029AAC8 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8029DB6C 0029AACC 38 80 00 00 */ li r4, 0 +/* 8029DB70 0029AAD0 38 A0 00 00 */ li r5, 0 +/* 8029DB74 0029AAD4 38 C0 00 00 */ li r6, 0 +/* 8029DB78 0029AAD8 48 06 8E 79 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +lbl_8029DB7C: +/* 8029DB7C 0029AADC 3B 5A 00 02 */ addi r26, r26, 2 +lbl_8029DB80: +/* 8029DB80 0029AAE0 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 8029DB84 0029AAE4 54 00 08 3C */ slwi r0, r0, 1 +/* 8029DB88 0029AAE8 7C 1B 02 14 */ add r0, r27, r0 +/* 8029DB8C 0029AAEC 7C 1A 00 40 */ cmplw r26, r0 +/* 8029DB90 0029AAF0 40 82 FF 10 */ bne lbl_8029DAA0 +/* 8029DB94 0029AAF4 38 61 02 18 */ addi r3, r1, 0x218 +/* 8029DB98 0029AAF8 38 80 00 1E */ li r4, 0x1e +/* 8029DB9C 0029AAFC 38 A0 00 00 */ li r5, 0 +/* 8029DBA0 0029AB00 48 0D E8 F1 */ bl GXLoadTexMtxImm +/* 8029DBA4 0029AB04 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029DBA8 0029AB08 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 8029DBAC 0029AB0C 48 06 EA 35 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029DBB0 0029AB10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029DBB4 0029AB14 38 81 00 68 */ addi r4, r1, 0x68 +/* 8029DBB8 0029AB18 38 A0 00 00 */ li r5, 0 +/* 8029DBBC 0029AB1C 38 C0 00 00 */ li r6, 0 +/* 8029DBC0 0029AB20 48 01 81 F9 */ bl DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf +/* 8029DBC4 0029AB24 38 60 00 01 */ li r3, 1 +/* 8029DBC8 0029AB28 38 80 00 03 */ li r4, 3 +/* 8029DBCC 0029AB2C 38 A0 00 01 */ li r5, 1 +/* 8029DBD0 0029AB30 48 06 AC AD */ bl SetZMode__3CGXFb10_GXCompareb +/* 8029DBD4 0029AB34 38 60 00 07 */ li r3, 7 +/* 8029DBD8 0029AB38 38 80 00 00 */ li r4, 0 +/* 8029DBDC 0029AB3C 38 A0 00 00 */ li r5, 0 +/* 8029DBE0 0029AB40 38 C0 00 07 */ li r6, 7 +/* 8029DBE4 0029AB44 38 E0 00 00 */ li r7, 0 +/* 8029DBE8 0029AB48 48 06 AC 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8029DBEC 0029AB4C 88 1E 00 81 */ lbz r0, 0x81(r30) +/* 8029DBF0 0029AB50 28 00 00 00 */ cmplwi r0, 0 +/* 8029DBF4 0029AB54 41 82 00 2C */ beq lbl_8029DC20 +/* 8029DBF8 0029AB58 38 60 00 02 */ li r3, 2 +/* 8029DBFC 0029AB5C 38 80 00 00 */ li r4, 0 +/* 8029DC00 0029AB60 38 A0 00 00 */ li r5, 0 +/* 8029DC04 0029AB64 38 C0 00 01 */ li r6, 1 +/* 8029DC08 0029AB68 38 E0 00 00 */ li r7, 0 +/* 8029DC0C 0029AB6C 39 00 00 00 */ li r8, 0 +/* 8029DC10 0029AB70 39 20 00 02 */ li r9, 2 +/* 8029DC14 0029AB74 48 0D BF 61 */ bl GXSetChanCtrl +/* 8029DC18 0029AB78 38 60 00 00 */ li r3, 0 +/* 8029DC1C 0029AB7C 48 0D BF 15 */ bl GXSetNumChans +lbl_8029DC20: +/* 8029DC20 0029AB80 80 A1 02 E8 */ lwz r5, 0x2e8(r1) +/* 8029DC24 0029AB84 38 60 00 00 */ li r3, 0 +/* 8029DC28 0029AB88 2C 05 00 00 */ cmpwi r5, 0 +/* 8029DC2C 0029AB8C 40 81 00 40 */ ble lbl_8029DC6C +/* 8029DC30 0029AB90 2C 05 00 08 */ cmpwi r5, 8 +/* 8029DC34 0029AB94 38 85 FF F8 */ addi r4, r5, -8 +/* 8029DC38 0029AB98 40 81 00 20 */ ble lbl_8029DC58 +/* 8029DC3C 0029AB9C 38 04 00 07 */ addi r0, r4, 7 +/* 8029DC40 0029ABA0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8029DC44 0029ABA4 7C 09 03 A6 */ mtctr r0 +/* 8029DC48 0029ABA8 2C 04 00 00 */ cmpwi r4, 0 +/* 8029DC4C 0029ABAC 40 81 00 0C */ ble lbl_8029DC58 +lbl_8029DC50: +/* 8029DC50 0029ABB0 38 63 00 08 */ addi r3, r3, 8 +/* 8029DC54 0029ABB4 42 00 FF FC */ bdnz lbl_8029DC50 +lbl_8029DC58: +/* 8029DC58 0029ABB8 7C 03 28 50 */ subf r0, r3, r5 +/* 8029DC5C 0029ABBC 7C 09 03 A6 */ mtctr r0 +/* 8029DC60 0029ABC0 7C 03 28 00 */ cmpw r3, r5 +/* 8029DC64 0029ABC4 40 80 00 08 */ bge lbl_8029DC6C +lbl_8029DC68: +/* 8029DC68 0029ABC8 42 00 00 00 */ bdnz lbl_8029DC68 +lbl_8029DC6C: +/* 8029DC6C 0029ABCC 38 00 00 00 */ li r0, 0 +/* 8029DC70 0029ABD0 90 01 02 E8 */ stw r0, 0x2e8(r1) +lbl_8029DC74: +/* 8029DC74 0029ABD4 E3 E1 0B 28 */ psq_l f31, -1240(r1), 0, qr0 +/* 8029DC78 0029ABD8 CB E1 0B 20 */ lfd f31, 0xb20(r1) +/* 8029DC7C 0029ABDC E3 C1 0B 18 */ psq_l f30, -1256(r1), 0, qr0 +/* 8029DC80 0029ABE0 CB C1 0B 10 */ lfd f30, 0xb10(r1) +/* 8029DC84 0029ABE4 BB 41 0A F8 */ lmw r26, 0xaf8(r1) +/* 8029DC88 0029ABE8 80 01 0B 34 */ lwz r0, 0xb34(r1) +/* 8029DC8C 0029ABEC 7C 08 03 A6 */ mtlr r0 +/* 8029DC90 0029ABF0 38 21 0B 30 */ addi r1, r1, 0xb30 +/* 8029DC94 0029ABF4 4E 80 00 20 */ blr + +.global sub_8029dc98 +sub_8029dc98: +/* 8029DC98 0029ABF8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8029DC9C 0029ABFC 7C 08 02 A6 */ mflr r0 +/* 8029DCA0 0029AC00 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029DCA4 0029AC04 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8029DCA8 0029AC08 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8029DCAC 0029AC0C C1 84 00 0C */ lfs f12, 0xc(r4) +/* 8029DCB0 0029AC10 C1 64 00 00 */ lfs f11, 0(r4) +/* 8029DCB4 0029AC14 C1 44 00 10 */ lfs f10, 0x10(r4) +/* 8029DCB8 0029AC18 C1 24 00 04 */ lfs f9, 4(r4) +/* 8029DCBC 0029AC1C EC 6C 58 28 */ fsubs f3, f12, f11 +/* 8029DCC0 0029AC20 C1 04 00 14 */ lfs f8, 0x14(r4) +/* 8029DCC4 0029AC24 C0 E4 00 08 */ lfs f7, 8(r4) +/* 8029DCC8 0029AC28 EF EA 48 28 */ fsubs f31, f10, f9 +/* 8029DCCC 0029AC2C EC 01 00 F2 */ fmuls f0, f1, f3 +/* 8029DCD0 0029AC30 C0 C2 C0 A0 */ lfs f6, lbl_805ADDC0@sda21(r2) +/* 8029DCD4 0029AC34 ED A8 38 28 */ fsubs f13, f8, f7 +/* 8029DCD8 0029AC38 C0 85 00 04 */ lfs f4, 4(r5) +/* 8029DCDC 0029AC3C EC 41 07 F2 */ fmuls f2, f1, f31 +/* 8029DCE0 0029AC40 EC A0 18 28 */ fsubs f5, f0, f3 +/* 8029DCE4 0029AC44 EC 01 03 72 */ fmuls f0, f1, f13 +/* 8029DCE8 0029AC48 C0 65 00 08 */ lfs f3, 8(r5) +/* 8029DCEC 0029AC4C EC 22 F8 28 */ fsubs f1, f2, f31 +/* 8029DCF0 0029AC50 C0 45 00 00 */ lfs f2, 0(r5) +/* 8029DCF4 0029AC54 EF E6 01 72 */ fmuls f31, f6, f5 +/* 8029DCF8 0029AC58 EC 00 68 28 */ fsubs f0, f0, f13 +/* 8029DCFC 0029AC5C EC A6 00 72 */ fmuls f5, f6, f1 +/* 8029DD00 0029AC60 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029DD04 0029AC64 EC 2C F8 2A */ fadds f1, f12, f31 +/* 8029DD08 0029AC68 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8029DD0C 0029AC6C EC 06 00 32 */ fmuls f0, f6, f0 +/* 8029DD10 0029AC70 ED 4A 28 2A */ fadds f10, f10, f5 +/* 8029DD14 0029AC74 EC C9 28 28 */ fsubs f6, f9, f5 +/* 8029DD18 0029AC78 D0 21 00 08 */ stfs f1, 8(r1) +/* 8029DD1C 0029AC7C ED 08 00 2A */ fadds f8, f8, f0 +/* 8029DD20 0029AC80 EC A7 00 28 */ fsubs f5, f7, f0 +/* 8029DD24 0029AC84 D1 41 00 0C */ stfs f10, 0xc(r1) +/* 8029DD28 0029AC88 EC 0B F8 28 */ fsubs f0, f11, f31 +/* 8029DD2C 0029AC8C ED 2A 20 2A */ fadds f9, f10, f4 +/* 8029DD30 0029AC90 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 8029DD34 0029AC94 EC E8 18 2A */ fadds f7, f8, f3 +/* 8029DD38 0029AC98 EC 21 10 2A */ fadds f1, f1, f2 +/* 8029DD3C 0029AC9C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029DD40 0029ACA0 EC 86 20 2A */ fadds f4, f6, f4 +/* 8029DD44 0029ACA4 EC 65 18 2A */ fadds f3, f5, f3 +/* 8029DD48 0029ACA8 D1 21 00 18 */ stfs f9, 0x18(r1) +/* 8029DD4C 0029ACAC EC 00 10 2A */ fadds f0, f0, f2 +/* 8029DD50 0029ACB0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8029DD54 0029ACB4 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 8029DD58 0029ACB8 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 8029DD5C 0029ACBC D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8029DD60 0029ACC0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8029DD64 0029ACC4 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8029DD68 0029ACC8 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8029DD6C 0029ACCC 48 09 A7 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8029DD70 0029ACD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8029DD74 0029ACD4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8029DD78 0029ACD8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8029DD7C 0029ACDC 7C 08 03 A6 */ mtlr r0 +/* 8029DD80 0029ACE0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8029DD84 0029ACE4 4E 80 00 20 */ blr + +.global RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff: +/* 8029DD88 0029ACE8 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 8029DD8C 0029ACEC 7C 08 02 A6 */ mflr r0 +/* 8029DD90 0029ACF0 90 01 02 04 */ stw r0, 0x204(r1) +/* 8029DD94 0029ACF4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 8029DD98 0029ACF8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 8029DD9C 0029ACFC DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 8029DDA0 0029AD00 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 8029DDA4 0029AD04 BE A1 01 B4 */ stmw r21, 0x1b4(r1) +/* 8029DDA8 0029AD08 FF E0 08 90 */ fmr f31, f1 +/* 8029DDAC 0029AD0C 7C 77 1B 78 */ mr r23, r3 +/* 8029DDB0 0029AD10 FF C0 10 90 */ fmr f30, f2 +/* 8029DDB4 0029AD14 7C B9 2B 78 */ mr r25, r5 +/* 8029DDB8 0029AD18 7C DA 33 78 */ mr r26, r6 +/* 8029DDBC 0029AD1C 7C 98 23 78 */ mr r24, r4 +/* 8029DDC0 0029AD20 7C FB 3B 78 */ mr r27, r7 +/* 8029DDC4 0029AD24 7D 15 43 78 */ mr r21, r8 +/* 8029DDC8 0029AD28 7F 24 CB 78 */ mr r4, r25 +/* 8029DDCC 0029AD2C 7F 45 D3 78 */ mr r5, r26 +/* 8029DDD0 0029AD30 38 61 00 28 */ addi r3, r1, 0x28 +/* 8029DDD4 0029AD34 4B E7 79 E1 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 8029DDD8 0029AD38 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8029DDDC 0029AD3C 38 00 00 01 */ li r0, 1 +/* 8029DDE0 0029AD40 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8029DDE4 0029AD44 7E E3 BB 78 */ mr r3, r23 +/* 8029DDE8 0029AD48 90 B7 00 68 */ stw r5, 0x68(r23) +/* 8029DDEC 0029AD4C 90 97 00 6C */ stw r4, 0x6c(r23) +/* 8029DDF0 0029AD50 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8029DDF4 0029AD54 90 97 00 70 */ stw r4, 0x70(r23) +/* 8029DDF8 0029AD58 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 8029DDFC 0029AD5C 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8029DE00 0029AD60 90 B7 00 74 */ stw r5, 0x74(r23) +/* 8029DE04 0029AD64 90 97 00 78 */ stw r4, 0x78(r23) +/* 8029DE08 0029AD68 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 8029DE0C 0029AD6C 90 97 00 7C */ stw r4, 0x7c(r23) +/* 8029DE10 0029AD70 D3 F7 00 84 */ stfs f31, 0x84(r23) +/* 8029DE14 0029AD74 C0 15 00 00 */ lfs f0, 0(r21) +/* 8029DE18 0029AD78 D0 17 00 88 */ stfs f0, 0x88(r23) +/* 8029DE1C 0029AD7C C0 15 00 04 */ lfs f0, 4(r21) +/* 8029DE20 0029AD80 D0 17 00 8C */ stfs f0, 0x8c(r23) +/* 8029DE24 0029AD84 C0 15 00 08 */ lfs f0, 8(r21) +/* 8029DE28 0029AD88 D0 17 00 90 */ stfs f0, 0x90(r23) +/* 8029DE2C 0029AD8C D3 D7 00 94 */ stfs f30, 0x94(r23) +/* 8029DE30 0029AD90 98 17 00 80 */ stb r0, 0x80(r23) +/* 8029DE34 0029AD94 48 00 03 E1 */ bl sub_8029e214 +/* 8029DE38 0029AD98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8029DE3C 0029AD9C 38 61 01 34 */ addi r3, r1, 0x134 +/* 8029DE40 0029ADA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 8029DE44 0029ADA4 48 07 4D 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029DE48 0029ADA8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) +/* 8029DE4C 0029ADAC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) +/* 8029DE50 0029ADB0 48 06 C0 0D */ bl GetProjectionState__9CGraphicsFv +/* 8029DE54 0029ADB4 88 03 00 00 */ lbz r0, 0(r3) +/* 8029DE58 0029ADB8 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8029DE5C 0029ADBC 3B 84 D9 10 */ addi r28, r4, lbl_803ED910@l +/* 8029DE60 0029ADC0 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 8029DE64 0029ADC4 98 01 00 58 */ stb r0, 0x58(r1) +/* 8029DE68 0029ADC8 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 8029DE6C 0029ADCC 81 9C 00 00 */ lwz r12, 0(r28) +/* 8029DE70 0029ADD0 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 8029DE74 0029ADD4 C0 03 00 04 */ lfs f0, 4(r3) +/* 8029DE78 0029ADD8 38 84 67 18 */ addi r4, r4, lbl_805A6718@l +/* 8029DE7C 0029ADDC 81 7C 00 04 */ lwz r11, 4(r28) +/* 8029DE80 0029ADE0 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l +/* 8029DE84 0029ADE4 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8029DE88 0029ADE8 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l +/* 8029DE8C 0029ADEC 81 5C 00 08 */ lwz r10, 8(r28) +/* 8029DE90 0029ADF0 38 E1 00 1C */ addi r7, r1, 0x1c +/* 8029DE94 0029ADF4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8029DE98 0029ADF8 81 3C 00 0C */ lwz r9, 0xc(r28) +/* 8029DE9C 0029ADFC D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8029DEA0 0029AE00 81 1C 00 10 */ lwz r8, 0x10(r28) +/* 8029DEA4 0029AE04 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029DEA8 0029AE08 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 8029DEAC 0029AE0C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8029DEB0 0029AE10 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2) +/* 8029DEB4 0029AE14 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8029DEB8 0029AE18 91 81 00 40 */ stw r12, 0x40(r1) +/* 8029DEBC 0029AE1C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8029DEC0 0029AE20 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8029DEC4 0029AE24 91 61 00 44 */ stw r11, 0x44(r1) +/* 8029DEC8 0029AE28 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8029DECC 0029AE2C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8029DED0 0029AE30 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8029DED4 0029AE34 91 41 00 48 */ stw r10, 0x48(r1) +/* 8029DED8 0029AE38 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8029DEDC 0029AE3C C0 77 00 6C */ lfs f3, 0x6c(r23) +/* 8029DEE0 0029AE40 C0 57 00 78 */ lfs f2, 0x78(r23) +/* 8029DEE4 0029AE44 C0 37 00 68 */ lfs f1, 0x68(r23) +/* 8029DEE8 0029AE48 C0 17 00 74 */ lfs f0, 0x74(r23) +/* 8029DEEC 0029AE4C EC 43 10 2A */ fadds f2, f3, f2 +/* 8029DEF0 0029AE50 AB F7 00 04 */ lha r31, 4(r23) +/* 8029DEF4 0029AE54 EC 01 00 2A */ fadds f0, f1, f0 +/* 8029DEF8 0029AE58 AB D7 00 06 */ lha r30, 6(r23) +/* 8029DEFC 0029AE5C C0 77 00 7C */ lfs f3, 0x7c(r23) +/* 8029DF00 0029AE60 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 8029DF04 0029AE64 91 21 00 4C */ stw r9, 0x4c(r1) +/* 8029DF08 0029AE68 57 FD 08 3C */ slwi r29, r31, 1 +/* 8029DF0C 0029AE6C EC 04 00 32 */ fmuls f0, f4, f0 +/* 8029DF10 0029AE70 91 01 00 50 */ stw r8, 0x50(r1) +/* 8029DF14 0029AE74 57 DC 08 3C */ slwi r28, r30, 1 +/* 8029DF18 0029AE78 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029DF1C 0029AE7C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029DF20 0029AE80 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8029DF24 0029AE84 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8029DF28 0029AE88 48 07 4F 35 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8029DF2C 0029AE8C 38 61 01 04 */ addi r3, r1, 0x104 +/* 8029DF30 0029AE90 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8029DF34 0029AE94 48 07 4C 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029DF38 0029AE98 38 61 01 04 */ addi r3, r1, 0x104 +/* 8029DF3C 0029AE9C 48 06 E8 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029DF40 0029AEA0 C0 22 C0 9C */ lfs f1, lbl_805ADDBC@sda21(r2) +/* 8029DF44 0029AEA4 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2) +/* 8029DF48 0029AEA8 48 06 C4 99 */ bl SetDepthRange__9CGraphicsFff +/* 8029DF4C 0029AEAC C0 77 00 74 */ lfs f3, 0x74(r23) +/* 8029DF50 0029AEB0 C0 57 00 68 */ lfs f2, 0x68(r23) +/* 8029DF54 0029AEB4 C0 37 00 78 */ lfs f1, 0x78(r23) +/* 8029DF58 0029AEB8 C0 17 00 6C */ lfs f0, 0x6c(r23) +/* 8029DF5C 0029AEBC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8029DF60 0029AEC0 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2) +/* 8029DF64 0029AEC4 EC 61 00 28 */ fsubs f3, f1, f0 +/* 8029DF68 0029AEC8 C0 37 00 7C */ lfs f1, 0x7c(r23) +/* 8029DF6C 0029AECC C0 17 00 70 */ lfs f0, 0x70(r23) +/* 8029DF70 0029AED0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8029DF74 0029AED4 C0 C2 C0 A4 */ lfs f6, lbl_805ADDC4@sda21(r2) +/* 8029DF78 0029AED8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8029DF7C 0029AEDC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8029DF80 0029AEE0 C0 A2 C0 9C */ lfs f5, lbl_805ADDBC@sda21(r2) +/* 8029DF84 0029AEE4 FC 20 10 50 */ fneg f1, f2 +/* 8029DF88 0029AEE8 EC C6 00 2A */ fadds f6, f6, f0 +/* 8029DF8C 0029AEEC FC 80 18 50 */ fneg f4, f3 +/* 8029DF90 0029AEF0 48 06 E5 C5 */ bl SetOrtho__9CGraphicsFffffff +/* 8029DF94 0029AEF4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029DF98 0029AEF8 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 8029DF9C 0029AEFC 38 84 65 00 */ addi r4, r4, lbl_805A6500@l +/* 8029DFA0 0029AF00 7F A6 EB 78 */ mr r6, r29 +/* 8029DFA4 0029AF04 81 83 00 00 */ lwz r12, 0(r3) +/* 8029DFA8 0029AF08 7F 87 E3 78 */ mr r7, r28 +/* 8029DFAC 0029AF0C A0 04 00 06 */ lhz r0, 6(r4) +/* 8029DFB0 0029AF10 38 80 00 00 */ li r4, 0 +/* 8029DFB4 0029AF14 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8029DFB8 0029AF18 7C BC 00 50 */ subf r5, r28, r0 +/* 8029DFBC 0029AF1C 7D 89 03 A6 */ mtctr r12 +/* 8029DFC0 0029AF20 4E 80 04 21 */ bctrl +/* 8029DFC4 0029AF24 38 60 00 01 */ li r3, 1 +/* 8029DFC8 0029AF28 48 06 AC C9 */ bl SetNumTevStages__3CGXFUc +/* 8029DFCC 0029AF2C 38 60 00 01 */ li r3, 1 +/* 8029DFD0 0029AF30 48 06 AE 45 */ bl SetNumTexGens__3CGXFUc +/* 8029DFD4 0029AF34 38 60 00 00 */ li r3, 0 +/* 8029DFD8 0029AF38 48 06 AE 79 */ bl SetNumChans__3CGXFUc +/* 8029DFDC 0029AF3C 48 06 E9 A1 */ bl DisableAllLights__9CGraphicsFv +/* 8029DFE0 0029AF40 38 60 00 00 */ li r3, 0 +/* 8029DFE4 0029AF44 48 06 A6 AD */ bl SetNumIndStages__3CGXFUc +/* 8029DFE8 0029AF48 38 60 00 00 */ li r3, 0 +/* 8029DFEC 0029AF4C 48 06 A7 59 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 8029DFF0 0029AF50 38 60 00 00 */ li r3, 0 +/* 8029DFF4 0029AF54 38 80 00 0F */ li r4, 0xf +/* 8029DFF8 0029AF58 38 A0 00 0F */ li r5, 0xf +/* 8029DFFC 0029AF5C 38 C0 00 0F */ li r6, 0xf +/* 8029E000 0029AF60 38 E0 00 0C */ li r7, 0xc +/* 8029E004 0029AF64 48 06 AB E9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8029E008 0029AF68 38 60 00 00 */ li r3, 0 +/* 8029E00C 0029AF6C 38 80 00 07 */ li r4, 7 +/* 8029E010 0029AF70 38 A0 00 07 */ li r5, 7 +/* 8029E014 0029AF74 38 C0 00 07 */ li r6, 7 +/* 8029E018 0029AF78 38 E0 00 06 */ li r7, 6 +/* 8029E01C 0029AF7C 48 06 AB 79 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8029E020 0029AF80 38 60 00 00 */ li r3, 0 +/* 8029E024 0029AF84 38 80 00 00 */ li r4, 0 +/* 8029E028 0029AF88 48 06 A9 75 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8029E02C 0029AF8C 38 60 00 00 */ li r3, 0 +/* 8029E030 0029AF90 48 06 9C 21 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8029E034 0029AF94 38 60 00 00 */ li r3, 0 +/* 8029E038 0029AF98 38 80 00 FF */ li r4, 0xff +/* 8029E03C 0029AF9C 38 A0 00 FF */ li r5, 0xff +/* 8029E040 0029AFA0 38 C0 00 FF */ li r6, 0xff +/* 8029E044 0029AFA4 48 06 A9 09 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8029E048 0029AFA8 38 60 00 00 */ li r3, 0 +/* 8029E04C 0029AFAC 38 80 00 01 */ li r4, 1 +/* 8029E050 0029AFB0 38 A0 00 00 */ li r5, 0 +/* 8029E054 0029AFB4 38 C0 00 3C */ li r6, 0x3c +/* 8029E058 0029AFB8 38 E0 00 00 */ li r7, 0 +/* 8029E05C 0029AFBC 39 00 00 7D */ li r8, 0x7d +/* 8029E060 0029AFC0 48 06 A6 6D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8029E064 0029AFC4 38 60 00 01 */ li r3, 1 +/* 8029E068 0029AFC8 38 80 00 01 */ li r4, 1 +/* 8029E06C 0029AFCC 38 A0 00 00 */ li r5, 0 +/* 8029E070 0029AFD0 38 C0 00 00 */ li r6, 0 +/* 8029E074 0029AFD4 48 06 A8 5D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8029E078 0029AFD8 38 60 00 07 */ li r3, 7 +/* 8029E07C 0029AFDC 38 80 00 00 */ li r4, 0 +/* 8029E080 0029AFE0 38 A0 00 00 */ li r5, 0 +/* 8029E084 0029AFE4 38 C0 00 07 */ li r6, 7 +/* 8029E088 0029AFE8 38 E0 00 00 */ li r7, 0 +/* 8029E08C 0029AFEC 48 06 A7 89 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8029E090 0029AFF0 82 D9 00 10 */ lwz r22, 0x10(r25) +/* 8029E094 0029AFF4 7F 23 CB 78 */ mr r3, r25 +/* 8029E098 0029AFF8 38 80 00 00 */ li r4, 0 +/* 8029E09C 0029AFFC 4B E7 6E C1 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 8029E0A0 0029B000 38 00 00 00 */ li r0, 0 +/* 8029E0A4 0029B004 7C 75 1B 78 */ mr r21, r3 +/* 8029E0A8 0029B008 98 01 01 AC */ stb r0, 0x1ac(r1) +/* 8029E0AC 0029B00C 7E C3 B3 78 */ mr r3, r22 +/* 8029E0B0 0029B010 38 A1 01 64 */ addi r5, r1, 0x164 +/* 8029E0B4 0029B014 7E A4 AB 78 */ mr r4, r21 +/* 8029E0B8 0029B018 38 C0 00 00 */ li r6, 0 +/* 8029E0BC 0029B01C 4B D8 E8 BD */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8029E0C0 0029B020 38 61 01 64 */ addi r3, r1, 0x164 +/* 8029E0C4 0029B024 38 80 FF FF */ li r4, -1 +/* 8029E0C8 0029B028 4B DD 9B C5 */ bl sub_80077c8c +/* 8029E0CC 0029B02C 7F 60 00 34 */ cntlzw r0, r27 +/* 8029E0D0 0029B030 C0 59 00 00 */ lfs f2, 0(r25) +/* 8029E0D4 0029B034 C0 39 00 04 */ lfs f1, 4(r25) +/* 8029E0D8 0029B038 54 00 D9 7E */ srwi r0, r0, 5 +/* 8029E0DC 0029B03C C0 19 00 08 */ lfs f0, 8(r25) +/* 8029E0E0 0029B040 38 61 00 74 */ addi r3, r1, 0x74 +/* 8029E0E4 0029B044 92 A1 00 08 */ stw r21, 8(r1) +/* 8029E0E8 0029B048 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029E0EC 0029B04C 98 01 00 0C */ stb r0, 0xc(r1) +/* 8029E0F0 0029B050 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8029E0F4 0029B054 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8029E0F8 0029B058 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8029E0FC 0029B05C 48 07 50 C9 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8029E100 0029B060 7F 44 D3 78 */ mr r4, r26 +/* 8029E104 0029B064 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8029E108 0029B068 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8029E10C 0029B06C 48 07 48 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029E110 0029B070 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8029E114 0029B074 48 06 E4 CD */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029E118 0029B078 3C 80 80 2A */ lis r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@ha +/* 8029E11C 0029B07C 7E A3 AB 78 */ mr r3, r21 +/* 8029E120 0029B080 38 84 E3 04 */ addi r4, r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@l +/* 8029E124 0029B084 38 A1 00 08 */ addi r5, r1, 8 +/* 8029E128 0029B088 48 0B 4D F9 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 8029E12C 0029B08C 48 06 B6 D9 */ bl GetUseVideoFilter__9CGraphicsFv +/* 8029E130 0029B090 7C 79 1B 78 */ mr r25, r3 +/* 8029E134 0029B094 38 60 00 00 */ li r3, 0 +/* 8029E138 0029B098 48 06 B6 D5 */ bl SetUseVideoFilter__9CGraphicsFb +/* 8029E13C 0029B09C 38 60 00 01 */ li r3, 1 +/* 8029E140 0029B0A0 38 80 00 03 */ li r4, 3 +/* 8029E144 0029B0A4 38 A0 00 01 */ li r5, 1 +/* 8029E148 0029B0A8 48 06 A7 35 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8029E14C 0029B0AC 57 A5 04 3E */ clrlwi r5, r29, 0x10 +/* 8029E150 0029B0B0 57 86 04 3E */ clrlwi r6, r28, 0x10 +/* 8029E154 0029B0B4 38 60 00 00 */ li r3, 0 +/* 8029E158 0029B0B8 38 80 00 00 */ li r4, 0 +/* 8029E15C 0029B0BC 48 0D AC 59 */ bl GXSetTexCopySrc +/* 8029E160 0029B0C0 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 8029E164 0029B0C4 57 C4 04 3E */ clrlwi r4, r30, 0x10 +/* 8029E168 0029B0C8 38 A0 00 20 */ li r5, 0x20 +/* 8029E16C 0029B0CC 38 C0 00 01 */ li r6, 1 +/* 8029E170 0029B0D0 48 0D AD 11 */ bl GXSetTexCopyDst +/* 8029E174 0029B0D4 88 17 00 0A */ lbz r0, 0xa(r23) +/* 8029E178 0029B0D8 38 60 00 01 */ li r3, 1 +/* 8029E17C 0029B0DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029E180 0029B0E0 7E E3 BB 78 */ mr r3, r23 +/* 8029E184 0029B0E4 98 17 00 0A */ stb r0, 0xa(r23) +/* 8029E188 0029B0E8 38 80 00 00 */ li r4, 0 +/* 8029E18C 0029B0EC 48 07 04 49 */ bl GetBitMapData__8CTextureFi +/* 8029E190 0029B0F0 38 80 00 01 */ li r4, 1 +/* 8029E194 0029B0F4 48 0D B3 A1 */ bl GXCopyTex +/* 8029E198 0029B0F8 7E E3 BB 78 */ mr r3, r23 +/* 8029E19C 0029B0FC 48 07 07 81 */ bl UnLock__8CTextureFv +/* 8029E1A0 0029B100 48 0D A3 C5 */ bl GXPixModeSync +/* 8029E1A4 0029B104 57 23 06 3E */ clrlwi r3, r25, 0x18 +/* 8029E1A8 0029B108 48 06 B6 65 */ bl SetUseVideoFilter__9CGraphicsFb +/* 8029E1AC 0029B10C 38 61 01 34 */ addi r3, r1, 0x134 +/* 8029E1B0 0029B110 48 06 E5 9D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029E1B4 0029B114 38 61 00 58 */ addi r3, r1, 0x58 +/* 8029E1B8 0029B118 48 06 BC 49 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 8029E1BC 0029B11C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029E1C0 0029B120 80 81 00 40 */ lwz r4, 0x40(r1) +/* 8029E1C4 0029B124 81 83 00 00 */ lwz r12, 0(r3) +/* 8029E1C8 0029B128 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8029E1CC 0029B12C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8029E1D0 0029B130 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 8029E1D4 0029B134 80 E1 00 4C */ lwz r7, 0x4c(r1) +/* 8029E1D8 0029B138 7D 89 03 A6 */ mtctr r12 +/* 8029E1DC 0029B13C 4E 80 04 21 */ bctrl +/* 8029E1E0 0029B140 FC 20 F8 90 */ fmr f1, f31 +/* 8029E1E4 0029B144 FC 40 F0 90 */ fmr f2, f30 +/* 8029E1E8 0029B148 48 06 C1 F9 */ bl SetDepthRange__9CGraphicsFff +/* 8029E1EC 0029B14C 92 F8 0F 7C */ stw r23, 0xf7c(r24) +/* 8029E1F0 0029B150 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 8029E1F4 0029B154 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 8029E1F8 0029B158 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 8029E1FC 0029B15C CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 8029E200 0029B160 BA A1 01 B4 */ lmw r21, 0x1b4(r1) +/* 8029E204 0029B164 80 01 02 04 */ lwz r0, 0x204(r1) +/* 8029E208 0029B168 7C 08 03 A6 */ mtlr r0 +/* 8029E20C 0029B16C 38 21 02 00 */ addi r1, r1, 0x200 +/* 8029E210 0029B170 4E 80 00 20 */ blr + +.global sub_8029e214 +sub_8029e214: +/* 8029E214 0029B174 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8029E218 0029B178 7C 08 02 A6 */ mflr r0 +/* 8029E21C 0029B17C C8 22 C0 A8 */ lfd f1, lbl_805ADDC8@sda21(r2) +/* 8029E220 0029B180 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029E224 0029B184 3C 00 43 30 */ lis r0, 0x4330 +/* 8029E228 0029B188 C0 E2 C0 98 */ lfs f7, lbl_805ADDB8@sda21(r2) +/* 8029E22C 0029B18C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029E230 0029B190 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8029E234 0029B194 7C 7F 1B 78 */ mr r31, r3 +/* 8029E238 0029B198 A8 A3 00 04 */ lha r5, 4(r3) +/* 8029E23C 0029B19C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029E240 0029B1A0 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029E244 0029B1A4 38 05 FF FE */ addi r0, r5, -2 +/* 8029E248 0029B1A8 C0 DF 00 78 */ lfs f6, 0x78(r31) +/* 8029E24C 0029B1AC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029E250 0029B1B0 C0 BF 00 6C */ lfs f5, 0x6c(r31) +/* 8029E254 0029B1B4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8029E258 0029B1B8 38 A1 00 08 */ addi r5, r1, 8 +/* 8029E25C 0029B1BC C0 9F 00 74 */ lfs f4, 0x74(r31) +/* 8029E260 0029B1C0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 8029E264 0029B1C4 C0 7F 00 68 */ lfs f3, 0x68(r31) +/* 8029E268 0029B1C8 EC 40 08 28 */ fsubs f2, f0, f1 +/* 8029E26C 0029B1CC C0 1F 00 7C */ lfs f0, 0x7c(r31) +/* 8029E270 0029B1D0 EC 26 28 28 */ fsubs f1, f6, f5 +/* 8029E274 0029B1D4 ED 27 10 24 */ fdivs f9, f7, f2 +/* 8029E278 0029B1D8 C0 42 C0 9C */ lfs f2, lbl_805ADDBC@sda21(r2) +/* 8029E27C 0029B1DC EC E9 00 72 */ fmuls f7, f9, f1 +/* 8029E280 0029B1E0 EC 24 18 28 */ fsubs f1, f4, f3 +/* 8029E284 0029B1E4 ED 00 10 2A */ fadds f8, f0, f2 +/* 8029E288 0029B1E8 EC C6 38 2A */ fadds f6, f6, f7 +/* 8029E28C 0029B1EC EC 09 00 72 */ fmuls f0, f9, f1 +/* 8029E290 0029B1F0 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 8029E294 0029B1F4 EC A5 38 28 */ fsubs f5, f5, f7 +/* 8029E298 0029B1F8 EC 24 00 2A */ fadds f1, f4, f0 +/* 8029E29C 0029B1FC D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 8029E2A0 0029B200 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8029E2A4 0029B204 D0 21 00 08 */ stfs f1, 8(r1) +/* 8029E2A8 0029B208 C0 3F 00 70 */ lfs f1, 0x70(r31) +/* 8029E2AC 0029B20C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8029E2B0 0029B210 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8029E2B4 0029B214 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8029E2B8 0029B218 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8029E2BC 0029B21C 48 09 A2 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8029E2C0 0029B220 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8029E2C4 0029B224 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029E2C8 0029B228 90 7F 00 68 */ stw r3, 0x68(r31) +/* 8029E2CC 0029B22C 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 8029E2D0 0029B230 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8029E2D4 0029B234 90 1F 00 70 */ stw r0, 0x70(r31) +/* 8029E2D8 0029B238 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8029E2DC 0029B23C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8029E2E0 0029B240 90 7F 00 74 */ stw r3, 0x74(r31) +/* 8029E2E4 0029B244 90 1F 00 78 */ stw r0, 0x78(r31) +/* 8029E2E8 0029B248 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029E2EC 0029B24C 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 8029E2F0 0029B250 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8029E2F4 0029B254 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8029E2F8 0029B258 7C 08 03 A6 */ mtlr r0 +/* 8029E2FC 0029B25C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8029E300 0029B260 4E 80 00 20 */ blr + +.global ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext +ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext: +/* 8029E304 0029B264 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029E308 0029B268 7C 08 02 A6 */ mflr r0 +/* 8029E30C 0029B26C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029E310 0029B270 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029E314 0029B274 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029E318 0029B278 7C BE 2B 78 */ mr r30, r5 +/* 8029E31C 0029B27C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029E320 0029B280 7C 9D 23 78 */ mr r29, r4 +/* 8029E324 0029B284 93 81 00 10 */ stw r28, 0x10(r1) +/* 8029E328 0029B288 7C 7C 1B 78 */ mr r28, r3 +/* 8029E32C 0029B28C 80 65 00 00 */ lwz r3, 0(r5) +/* 8029E330 0029B290 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8029E334 0029B294 83 E3 00 28 */ lwz r31, 0x28(r3) +/* 8029E338 0029B298 48 0B 6D E9 */ bl UpdateLastFrame__6CModelFv +/* 8029E33C 0029B29C 88 1E 00 04 */ lbz r0, 4(r30) +/* 8029E340 0029B2A0 7F E3 FB 78 */ mr r3, r31 +/* 8029E344 0029B2A4 7F 84 E3 78 */ mr r4, r28 +/* 8029E348 0029B2A8 7F A5 EB 78 */ mr r5, r29 +/* 8029E34C 0029B2AC 28 00 00 00 */ cmplwi r0, 0 +/* 8029E350 0029B2B0 38 C0 00 00 */ li r6, 0 +/* 8029E354 0029B2B4 41 82 00 08 */ beq lbl_8029E35C +/* 8029E358 0029B2B8 38 C0 00 02 */ li r6, 2 +lbl_8029E35C: +/* 8029E35C 0029B2BC 48 06 86 95 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 8029E360 0029B2C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029E364 0029B2C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029E368 0029B2C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029E36C 0029B2CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029E370 0029B2D0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8029E374 0029B2D4 7C 08 03 A6 */ mtlr r0 +/* 8029E378 0029B2D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029E37C 0029B2DC 4E 80 00 20 */ blr + +.global __dt__16CProjectedShadowFv +__dt__16CProjectedShadowFv: +/* 8029E380 0029B2E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029E384 0029B2E4 7C 08 02 A6 */ mflr r0 +/* 8029E388 0029B2E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029E38C 0029B2EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029E390 0029B2F0 7C 9F 23 78 */ mr r31, r4 +/* 8029E394 0029B2F4 93 C1 00 08 */ stw r30, 8(r1) +/* 8029E398 0029B2F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029E39C 0029B2FC 41 82 00 24 */ beq lbl_8029E3C0 +/* 8029E3A0 0029B300 48 06 FD 6D */ bl sub_8030e10c +/* 8029E3A4 0029B304 7F C3 F3 78 */ mr r3, r30 +/* 8029E3A8 0029B308 38 80 FF FF */ li r4, -1 +/* 8029E3AC 0029B30C 48 07 16 4D */ bl __dt__8CTextureFv +/* 8029E3B0 0029B310 7F E0 07 35 */ extsh. r0, r31 +/* 8029E3B4 0029B314 40 81 00 0C */ ble lbl_8029E3C0 +/* 8029E3B8 0029B318 7F C3 F3 78 */ mr r3, r30 +/* 8029E3BC 0029B31C 48 07 75 75 */ bl Free__7CMemoryFPCv +lbl_8029E3C0: +/* 8029E3C0 0029B320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029E3C4 0029B324 7F C3 F3 78 */ mr r3, r30 +/* 8029E3C8 0029B328 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029E3CC 0029B32C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029E3D0 0029B330 7C 08 03 A6 */ mtlr r0 +/* 8029E3D4 0029B334 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029E3D8 0029B338 4E 80 00 20 */ blr + +.global __ct__16CProjectedShadowFv +__ct__16CProjectedShadowFv: +/* 8029E3DC 0029B33C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029E3E0 0029B340 7C 08 02 A6 */ mflr r0 +/* 8029E3E4 0029B344 38 E0 00 01 */ li r7, 1 +/* 8029E3E8 0029B348 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029E3EC 0029B34C 7C A0 2B 78 */ mr r0, r5 +/* 8029E3F0 0029B350 7C 85 07 34 */ extsh r5, r4 +/* 8029E3F4 0029B354 38 80 00 00 */ li r4, 0 +/* 8029E3F8 0029B358 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029E3FC 0029B35C 7C DF 33 78 */ mr r31, r6 +/* 8029E400 0029B360 7C 06 07 34 */ extsh r6, r0 +/* 8029E404 0029B364 93 C1 00 08 */ stw r30, 8(r1) +/* 8029E408 0029B368 7C 7E 1B 78 */ mr r30, r3 +/* 8029E40C 0029B36C 48 07 1A 21 */ bl __ct__8CTextureF12ETexelFormatssi +/* 8029E410 0029B370 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 8029E414 0029B374 38 00 00 00 */ li r0, 0 +/* 8029E418 0029B378 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l +/* 8029E41C 0029B37C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8029E420 0029B380 C0 05 00 00 */ lfs f0, 0(r5) +/* 8029E424 0029B384 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8029E428 0029B388 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2) +/* 8029E42C 0029B38C 7F C3 F3 78 */ mr r3, r30 +/* 8029E430 0029B390 D0 1E 00 68 */ stfs f0, 0x68(r30) +/* 8029E434 0029B394 C0 02 C0 9C */ lfs f0, lbl_805ADDBC@sda21(r2) +/* 8029E438 0029B398 C0 25 00 04 */ lfs f1, 4(r5) +/* 8029E43C 0029B39C D0 3E 00 6C */ stfs f1, 0x6c(r30) +/* 8029E440 0029B3A0 C0 25 00 08 */ lfs f1, 8(r5) +/* 8029E444 0029B3A4 D0 3E 00 70 */ stfs f1, 0x70(r30) +/* 8029E448 0029B3A8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 8029E44C 0029B3AC D0 3E 00 74 */ stfs f1, 0x74(r30) +/* 8029E450 0029B3B0 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8029E454 0029B3B4 D0 3E 00 78 */ stfs f1, 0x78(r30) +/* 8029E458 0029B3B8 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8029E45C 0029B3BC D0 3E 00 7C */ stfs f1, 0x7c(r30) +/* 8029E460 0029B3C0 98 1E 00 80 */ stb r0, 0x80(r30) +/* 8029E464 0029B3C4 9B FE 00 81 */ stb r31, 0x81(r30) +/* 8029E468 0029B3C8 D0 5E 00 84 */ stfs f2, 0x84(r30) +/* 8029E46C 0029B3CC C0 24 00 00 */ lfs f1, 0(r4) +/* 8029E470 0029B3D0 D0 3E 00 88 */ stfs f1, 0x88(r30) +/* 8029E474 0029B3D4 C0 24 00 04 */ lfs f1, 4(r4) +/* 8029E478 0029B3D8 D0 3E 00 8C */ stfs f1, 0x8c(r30) +/* 8029E47C 0029B3DC C0 24 00 08 */ lfs f1, 8(r4) +/* 8029E480 0029B3E0 D0 3E 00 90 */ stfs f1, 0x90(r30) +/* 8029E484 0029B3E4 D0 1E 00 94 */ stfs f0, 0x94(r30) +/* 8029E488 0029B3E8 D0 5E 00 98 */ stfs f2, 0x98(r30) +/* 8029E48C 0029B3EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029E490 0029B3F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029E494 0029B3F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029E498 0029B3F8 7C 08 03 A6 */ mtlr r0 +/* 8029E49C 0029B3FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029E4A0 0029B400 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CRainSplashGenerator.s b/asm/Kyoto_CWD/CRainSplashGenerator.s new file mode 100644 index 00000000..f4635fb2 --- /dev/null +++ b/asm/Kyoto_CWD/CRainSplashGenerator.s @@ -0,0 +1,1223 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f +SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f: +/* 80269C80 00266BE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269C84 00266BE4 7C 08 02 A6 */ mflr r0 +/* 80269C88 00266BE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80269C8C 00266BEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80269C90 00266BF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80269C94 00266BF4 7C 9E 23 78 */ mr r30, r4 +/* 80269C98 00266BF8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80269C9C 00266BFC 7C 7D 1B 78 */ mr r29, r3 +/* 80269CA0 00266C00 3B FD 00 04 */ addi r31, r29, 4 +/* 80269CA4 00266C04 48 00 00 10 */ b lbl_80269CB4 +lbl_80269CA8: +/* 80269CA8 00266C08 7F E3 FB 78 */ mr r3, r31 +/* 80269CAC 00266C0C 48 00 05 41 */ bl SetActive__Q220CRainSplashGenerator11SSplashLine +/* 80269CB0 00266C10 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269CB4: +/* 80269CB4 00266C14 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269CB8 00266C18 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269CBC 00266C1C 7C 7D 02 14 */ add r3, r29, r0 +/* 80269CC0 00266C20 38 03 00 04 */ addi r0, r3, 4 +/* 80269CC4 00266C24 7C 1F 00 40 */ cmplw r31, r0 +/* 80269CC8 00266C28 40 82 FF E0 */ bne lbl_80269CA8 +/* 80269CCC 00266C2C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80269CD0 00266C30 D0 1D 00 64 */ stfs f0, 0x64(r29) +/* 80269CD4 00266C34 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80269CD8 00266C38 D0 1D 00 68 */ stfs f0, 0x68(r29) +/* 80269CDC 00266C3C C0 1E 00 08 */ lfs f0, 8(r30) +/* 80269CE0 00266C40 D0 1D 00 6C */ stfs f0, 0x6c(r29) +/* 80269CE4 00266C44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80269CE8 00266C48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80269CEC 00266C4C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80269CF0 00266C50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80269CF4 00266C54 7C 08 03 A6 */ mtlr r0 +/* 80269CF8 00266C58 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269CFC 00266C5C 4E 80 00 20 */ blr + +.global IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager +IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager: +/* 80269D00 00266C60 80 03 00 00 */ lwz r0, 0(r3) +/* 80269D04 00266C64 38 A3 00 04 */ addi r5, r3, 4 +/* 80269D08 00266C68 38 80 00 00 */ li r4, 0 +/* 80269D0C 00266C6C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269D10 00266C70 7C 63 02 14 */ add r3, r3, r0 +/* 80269D14 00266C74 38 63 00 04 */ addi r3, r3, 4 +/* 80269D18 00266C78 48 00 00 18 */ b lbl_80269D30 +lbl_80269D1C: +/* 80269D1C 00266C7C 88 05 00 16 */ lbz r0, 0x16(r5) +/* 80269D20 00266C80 38 A5 00 18 */ addi r5, r5, 0x18 +/* 80269D24 00266C84 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80269D28 00266C88 7C 80 03 78 */ or r0, r4, r0 +/* 80269D2C 00266C8C 54 04 06 3E */ clrlwi r4, r0, 0x18 +lbl_80269D30: +/* 80269D30 00266C90 7C 05 18 40 */ cmplw r5, r3 +/* 80269D34 00266C94 40 82 FF E8 */ bne lbl_80269D1C +/* 80269D38 00266C98 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 80269D3C 00266C9C 4E 80 00 20 */ blr + +.global Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f: +/* 80269D40 00266CA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80269D44 00266CA4 7C 08 02 A6 */ mflr r0 +/* 80269D48 00266CA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80269D4C 00266CAC DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80269D50 00266CB0 FF E0 10 90 */ fmr f31, f2 +/* 80269D54 00266CB4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80269D58 00266CB8 FF C0 08 90 */ fmr f30, f1 +/* 80269D5C 00266CBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80269D60 00266CC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80269D64 00266CC4 7C 9E 23 78 */ mr r30, r4 +/* 80269D68 00266CC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80269D6C 00266CCC 7C 7D 1B 78 */ mr r29, r3 +/* 80269D70 00266CD0 3B FD 00 04 */ addi r31, r29, 4 +/* 80269D74 00266CD4 48 00 00 1C */ b lbl_80269D90 +lbl_80269D78: +/* 80269D78 00266CD8 FC 20 F0 90 */ fmr f1, f30 +/* 80269D7C 00266CDC 7F E3 FB 78 */ mr r3, r31 +/* 80269D80 00266CE0 FC 40 F8 90 */ fmr f2, f31 +/* 80269D84 00266CE4 7F C4 F3 78 */ mr r4, r30 +/* 80269D88 00266CE8 48 00 01 DD */ bl Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f +/* 80269D8C 00266CEC 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269D90: +/* 80269D90 00266CF0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269D94 00266CF4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269D98 00266CF8 7C 7D 02 14 */ add r3, r29, r0 +/* 80269D9C 00266CFC 38 03 00 04 */ addi r0, r3, 4 +/* 80269DA0 00266D00 7C 1F 00 40 */ cmplw r31, r0 +/* 80269DA4 00266D04 40 82 FF D4 */ bne lbl_80269D78 +/* 80269DA8 00266D08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80269DAC 00266D0C CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80269DB0 00266D10 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80269DB4 00266D14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80269DB8 00266D18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80269DBC 00266D1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80269DC0 00266D20 7C 08 03 A6 */ mtlr r0 +/* 80269DC4 00266D24 38 21 00 30 */ addi r1, r1, 0x30 +/* 80269DC8 00266D28 4E 80 00 20 */ blr + +.global Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager +Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager: +/* 80269DCC 00266D2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269DD0 00266D30 7C 08 02 A6 */ mflr r0 +/* 80269DD4 00266D34 90 01 00 24 */ stw r0, 0x24(r1) +/* 80269DD8 00266D38 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80269DDC 00266D3C FF E0 08 90 */ fmr f31, f1 +/* 80269DE0 00266D40 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80269DE4 00266D44 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80269DE8 00266D48 7C 9E 23 78 */ mr r30, r4 +/* 80269DEC 00266D4C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80269DF0 00266D50 7C 7D 1B 78 */ mr r29, r3 +/* 80269DF4 00266D54 3B FD 00 04 */ addi r31, r29, 4 +/* 80269DF8 00266D58 48 00 00 18 */ b lbl_80269E10 +lbl_80269DFC: +/* 80269DFC 00266D5C FC 20 F8 90 */ fmr f1, f31 +/* 80269E00 00266D60 7F E3 FB 78 */ mr r3, r31 +/* 80269E04 00266D64 7F C4 F3 78 */ mr r4, r30 +/* 80269E08 00266D68 48 00 02 C9 */ bl Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager +/* 80269E0C 00266D6C 3B FF 00 18 */ addi r31, r31, 0x18 +lbl_80269E10: +/* 80269E10 00266D70 80 1D 00 00 */ lwz r0, 0(r29) +/* 80269E14 00266D74 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80269E18 00266D78 7C 7D 02 14 */ add r3, r29, r0 +/* 80269E1C 00266D7C 38 03 00 04 */ addi r0, r3, 4 +/* 80269E20 00266D80 7C 1F 00 40 */ cmplw r31, r0 +/* 80269E24 00266D84 40 82 FF D8 */ bne lbl_80269DFC +/* 80269E28 00266D88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80269E2C 00266D8C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80269E30 00266D90 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80269E34 00266D94 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80269E38 00266D98 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80269E3C 00266D9C 7C 08 03 A6 */ mtlr r0 +/* 80269E40 00266DA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269E44 00266DA4 4E 80 00 20 */ blr + +.global __ct__Q220CRainSplashGenerator11SRainSplash +__ct__Q220CRainSplashGenerator11SRainSplash: +/* 80269E48 00266DA8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80269E4C 00266DAC 38 A0 00 01 */ li r5, 1 +/* 80269E50 00266DB0 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) +/* 80269E54 00266DB4 38 00 00 04 */ li r0, 4 +/* 80269E58 00266DB8 C0 42 BB 48 */ lfs f2, lbl_805AD868@sda21(r2) +/* 80269E5C 00266DBC 34 E3 00 04 */ addic. r7, r3, 4 +/* 80269E60 00266DC0 C0 22 BB 4C */ lfs f1, lbl_805AD86C@sda21(r2) +/* 80269E64 00266DC4 FC 00 18 18 */ frsp f0, f3 +/* 80269E68 00266DC8 88 C2 BB 50 */ lbz r6, lbl_805AD870@sda21(r2) +/* 80269E6C 00266DCC 88 81 00 1E */ lbz r4, 0x1e(r1) +/* 80269E70 00266DD0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 +/* 80269E74 00266DD4 D0 61 00 08 */ stfs f3, 8(r1) +/* 80269E78 00266DD8 54 88 06 3E */ clrlwi r8, r4, 0x18 +/* 80269E7C 00266DDC D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80269E80 00266DE0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80269E84 00266DE4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80269E88 00266DE8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80269E8C 00266DEC 98 C1 00 1C */ stb r6, 0x1c(r1) +/* 80269E90 00266DF0 98 A1 00 1D */ stb r5, 0x1d(r1) +/* 80269E94 00266DF4 98 81 00 1E */ stb r4, 0x1e(r1) +/* 80269E98 00266DF8 90 03 00 00 */ stw r0, 0(r3) +/* 80269E9C 00266DFC 41 82 00 24 */ beq lbl_80269EC0 +/* 80269EA0 00266E00 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269EA4 00266E04 D0 67 00 04 */ stfs f3, 4(r7) +/* 80269EA8 00266E08 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269EAC 00266E0C D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269EB0 00266E10 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269EB4 00266E14 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269EB8 00266E18 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269EBC 00266E1C 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269EC0: +/* 80269EC0 00266E20 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269EC4 00266E24 41 82 00 24 */ beq lbl_80269EE8 +/* 80269EC8 00266E28 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269ECC 00266E2C D0 67 00 04 */ stfs f3, 4(r7) +/* 80269ED0 00266E30 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269ED4 00266E34 D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269ED8 00266E38 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269EDC 00266E3C 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269EE0 00266E40 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269EE4 00266E44 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269EE8: +/* 80269EE8 00266E48 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269EEC 00266E4C 41 82 00 24 */ beq lbl_80269F10 +/* 80269EF0 00266E50 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269EF4 00266E54 D0 67 00 04 */ stfs f3, 4(r7) +/* 80269EF8 00266E58 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269EFC 00266E5C D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269F00 00266E60 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269F04 00266E64 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269F08 00266E68 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269F0C 00266E6C 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269F10: +/* 80269F10 00266E70 34 E7 00 18 */ addic. r7, r7, 0x18 +/* 80269F14 00266E74 41 82 00 24 */ beq lbl_80269F38 +/* 80269F18 00266E78 D0 07 00 00 */ stfs f0, 0(r7) +/* 80269F1C 00266E7C D0 67 00 04 */ stfs f3, 4(r7) +/* 80269F20 00266E80 D0 67 00 08 */ stfs f3, 8(r7) +/* 80269F24 00266E84 D0 47 00 0C */ stfs f2, 0xc(r7) +/* 80269F28 00266E88 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 80269F2C 00266E8C 98 C7 00 14 */ stb r6, 0x14(r7) +/* 80269F30 00266E90 98 A7 00 15 */ stb r5, 0x15(r7) +/* 80269F34 00266E94 99 07 00 16 */ stb r8, 0x16(r7) +lbl_80269F38: +/* 80269F38 00266E98 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80269F3C 00266E9C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 80269F40 00266EA0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 80269F44 00266EA4 D0 23 00 64 */ stfs f1, 0x64(r3) +/* 80269F48 00266EA8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80269F4C 00266EAC D0 23 00 68 */ stfs f1, 0x68(r3) +/* 80269F50 00266EB0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80269F54 00266EB4 D0 23 00 6C */ stfs f1, 0x6c(r3) +/* 80269F58 00266EB8 D0 03 00 70 */ stfs f0, 0x70(r3) +/* 80269F5C 00266EBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80269F60 00266EC0 4E 80 00 20 */ blr + +.global Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f +Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f: +/* 80269F64 00266EC4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80269F68 00266EC8 7C 08 02 A6 */ mflr r0 +/* 80269F6C 00266ECC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80269F70 00266ED0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80269F74 00266ED4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80269F78 00266ED8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80269F7C 00266EDC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80269F80 00266EE0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80269F84 00266EE4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80269F88 00266EE8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80269F8C 00266EEC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80269F90 00266EF0 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 80269F94 00266EF4 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 80269F98 00266EF8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80269F9C 00266EFC 7C 7B 1B 78 */ mr r27, r3 +/* 80269FA0 00266F00 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) +/* 80269FA4 00266F04 C0 83 00 00 */ lfs f4, 0(r3) +/* 80269FA8 00266F08 FF A0 08 90 */ fmr f29, f1 +/* 80269FAC 00266F0C 7C 9C 23 78 */ mr r28, r4 +/* 80269FB0 00266F10 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 80269FB4 00266F14 40 81 00 E0 */ ble lbl_8026A094 +/* 80269FB8 00266F18 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80269FBC 00266F1C EF E2 00 32 */ fmuls f31, f2, f0 +/* 80269FC0 00266F20 E0 1B A0 15 */ psq_l f0, 21(r27), 1, qr2 +/* 80269FC4 00266F24 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80269FC8 00266F28 EF C4 00 28 */ fsubs f30, f4, f0 +/* 80269FCC 00266F2C FC 1E 18 40 */ fcmpo cr0, f30, f3 +/* 80269FD0 00266F30 40 80 00 08 */ bge lbl_80269FD8 +/* 80269FD4 00266F34 FF C0 18 90 */ fmr f30, f3 +lbl_80269FD8: +/* 80269FD8 00266F38 EC 04 F0 28 */ fsubs f0, f4, f30 +/* 80269FDC 00266F3C 88 1B 00 14 */ lbz r0, 0x14(r27) +/* 80269FE0 00266F40 C0 22 BB 58 */ lfs f1, lbl_805AD878@sda21(r2) +/* 80269FE4 00266F44 38 80 00 00 */ li r4, 0 +/* 80269FE8 00266F48 1C 00 00 06 */ mulli r0, r0, 6 +/* 80269FEC 00266F4C EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80269FF0 00266F50 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80269FF4 00266F54 EC 01 00 2A */ fadds f0, f1, f0 +/* 80269FF8 00266F58 FC 00 00 1E */ fctiwz f0, f0 +/* 80269FFC 00266F5C D8 01 00 08 */ stfd f0, 8(r1) +/* 8026A000 00266F60 83 C1 00 0C */ lwz r30, 0xc(r1) +/* 8026A004 00266F64 48 09 E4 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 8026A008 00266F68 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8026A00C 00266F6C 38 60 00 B0 */ li r3, 0xb0 +/* 8026A010 00266F70 38 80 00 00 */ li r4, 0 +/* 8026A014 00266F74 48 09 E5 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8026A018 00266F78 C3 62 BB 5C */ lfs f27, lbl_805AD87C@sda21(r2) +/* 8026A01C 00266F7C 3B A0 00 00 */ li r29, 0 +/* 8026A020 00266F80 C3 82 BB 58 */ lfs f28, lbl_805AD878@sda21(r2) +/* 8026A024 00266F84 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8026A028 00266F88 48 00 00 60 */ b lbl_8026A088 +lbl_8026A02C: +/* 8026A02C 00266F8C EC 9B 07 B2 */ fmuls f4, f27, f30 +/* 8026A030 00266F90 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8026A034 00266F94 EC 7E E0 28 */ fsubs f3, f30, f28 +/* 8026A038 00266F98 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8026A03C 00266F9C C0 DB 00 10 */ lfs f6, 0x10(r27) +/* 8026A040 00266FA0 EC 3E 07 72 */ fmuls f1, f30, f29 +/* 8026A044 00266FA4 EC A4 00 F2 */ fmuls f5, f4, f3 +/* 8026A048 00266FA8 C0 9B 00 08 */ lfs f4, 8(r27) +/* 8026A04C 00266FAC C0 7C 00 04 */ lfs f3, 4(r28) +/* 8026A050 00266FB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0 +/* 8026A054 00266FB4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 8026A058 00266FB8 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8026A05C 00266FBC EC 7E 19 3A */ fmadds f3, f30, f4, f3 +/* 8026A060 00266FC0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026A064 00266FC4 EC 05 10 2A */ fadds f0, f5, f2 +/* 8026A068 00266FC8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8026A06C 00266FCC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8026A070 00266FD0 48 11 F8 E5 */ bl __cvt_fp2unsigned +/* 8026A074 00266FD4 64 60 FF FF */ oris r0, r3, 0xffff +/* 8026A078 00266FD8 EF DE F8 2A */ fadds f30, f30, f31 +/* 8026A07C 00266FDC 60 00 FF 00 */ ori r0, r0, 0xff00 +/* 8026A080 00266FE0 3B BD 00 01 */ addi r29, r29, 1 +/* 8026A084 00266FE4 90 1F 80 00 */ stw r0, 0xCC008000@l(r31) +lbl_8026A088: +/* 8026A088 00266FE8 7C 1D F0 00 */ cmpw r29, r30 +/* 8026A08C 00266FEC 41 80 FF A0 */ blt lbl_8026A02C +/* 8026A090 00266FF0 48 09 E4 F1 */ bl End__3CGXFv +lbl_8026A094: +/* 8026A094 00266FF4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026A098 00266FF8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026A09C 00266FFC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026A0A0 00267000 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026A0A4 00267004 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026A0A8 00267008 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026A0AC 0026700C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026A0B0 00267010 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026A0B4 00267014 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 8026A0B8 00267018 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 8026A0BC 0026701C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8026A0C0 00267020 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026A0C4 00267024 7C 08 03 A6 */ mtlr r0 +/* 8026A0C8 00267028 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026A0CC 0026702C 4E 80 00 20 */ blr + +.global Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager +Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager: +/* 8026A0D0 00267030 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A0D4 00267034 7C 08 02 A6 */ mflr r0 +/* 8026A0D8 00267038 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A0DC 0026703C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026A0E0 00267040 7C 9F 23 78 */ mr r31, r4 +/* 8026A0E4 00267044 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026A0E8 00267048 7C 7E 1B 78 */ mr r30, r3 +/* 8026A0EC 0026704C 88 83 00 16 */ lbz r4, 0x16(r3) +/* 8026A0F0 00267050 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 8026A0F4 00267054 41 82 00 E0 */ beq lbl_8026A1D4 +/* 8026A0F8 00267058 C0 BE 00 00 */ lfs f5, 0(r30) +/* 8026A0FC 0026705C C0 02 BB 60 */ lfs f0, lbl_805AD880@sda21(r2) +/* 8026A100 00267060 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 8026A104 00267064 4C 40 13 82 */ cror 2, 0, 2 +/* 8026A108 00267068 40 82 00 3C */ bne lbl_8026A144 +/* 8026A10C 0026706C C0 42 BB 58 */ lfs f2, lbl_805AD878@sda21(r2) +/* 8026A110 00267070 C0 02 BB 68 */ lfs f0, lbl_805AD888@sda21(r2) +/* 8026A114 00267074 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8026A118 00267078 C0 62 BB 64 */ lfs f3, lbl_805AD884@sda21(r2) +/* 8026A11C 0026707C EC 00 01 72 */ fmuls f0, f0, f5 +/* 8026A120 00267080 EC 83 00 BA */ fmadds f4, f3, f2, f0 +/* 8026A124 00267084 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 +/* 8026A128 00267088 88 01 00 08 */ lbz r0, 8(r1) +/* 8026A12C 0026708C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 8026A130 00267090 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 8026A134 00267094 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8026A138 00267098 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8026A13C 0026709C D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026A140 002670A0 48 00 00 94 */ b lbl_8026A1D4 +lbl_8026A144: +/* 8026A144 002670A4 88 7E 00 15 */ lbz r3, 0x15(r30) +/* 8026A148 002670A8 28 03 00 00 */ cmplwi r3, 0 +/* 8026A14C 002670AC 41 82 00 10 */ beq lbl_8026A15C +/* 8026A150 002670B0 38 03 FF FF */ addi r0, r3, -1 +/* 8026A154 002670B4 98 1E 00 15 */ stb r0, 0x15(r30) +/* 8026A158 002670B8 48 00 00 7C */ b lbl_8026A1D4 +lbl_8026A15C: +/* 8026A15C 002670BC 38 00 00 00 */ li r0, 0 +/* 8026A160 002670C0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A164 002670C4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 8026A168 002670C8 C0 22 BB 6C */ lfs f1, lbl_805AD88C@sda21(r2) +/* 8026A16C 002670CC 98 9E 00 16 */ stb r4, 0x16(r30) +/* 8026A170 002670D0 C0 42 BB 70 */ lfs f2, lbl_805AD890@sda21(r2) +/* 8026A174 002670D4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8026A178 002670D8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A17C 002670DC 48 0A 83 C9 */ bl Range__9CRandom16Fff +/* 8026A180 002670E0 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 8026A184 002670E4 C0 22 BB 74 */ lfs f1, lbl_805AD894@sda21(r2) +/* 8026A188 002670E8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A18C 002670EC C0 42 BB 78 */ lfs f2, lbl_805AD898@sda21(r2) +/* 8026A190 002670F0 48 0A 83 B5 */ bl Range__9CRandom16Fff +/* 8026A194 002670F4 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8026A198 002670F8 C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) +/* 8026A19C 002670FC 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1A0 00267100 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) +/* 8026A1A4 00267104 48 0A 83 A1 */ bl Range__9CRandom16Fff +/* 8026A1A8 00267108 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8026A1AC 0026710C C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) +/* 8026A1B0 00267110 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1B4 00267114 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) +/* 8026A1B8 00267118 48 0A 83 8D */ bl Range__9CRandom16Fff +/* 8026A1BC 0026711C D0 3E 00 08 */ stfs f1, 8(r30) +/* 8026A1C0 00267120 38 80 00 01 */ li r4, 1 +/* 8026A1C4 00267124 38 A0 00 02 */ li r5, 2 +/* 8026A1C8 00267128 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8026A1CC 0026712C 48 0A 83 C9 */ bl Range__9CRandom16Fii +/* 8026A1D0 00267130 98 7E 00 15 */ stb r3, 0x15(r30) +lbl_8026A1D4: +/* 8026A1D4 00267134 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A1D8 00267138 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026A1DC 0026713C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026A1E0 00267140 7C 08 03 A6 */ mtlr r0 +/* 8026A1E4 00267144 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A1E8 00267148 4E 80 00 20 */ blr + +.global SetActive__Q220CRainSplashGenerator11SSplashLine +SetActive__Q220CRainSplashGenerator11SSplashLine: +/* 8026A1EC 0026714C 88 03 00 16 */ lbz r0, 0x16(r3) +/* 8026A1F0 00267150 38 80 00 01 */ li r4, 1 +/* 8026A1F4 00267154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026A1F8 00267158 98 03 00 16 */ stb r0, 0x16(r3) +/* 8026A1FC 0026715C 4E 80 00 20 */ blr + +.global DoDraw__20CRainSplashGeneratorCFRC12CTransform4f +DoDraw__20CRainSplashGeneratorCFRC12CTransform4f: +/* 8026A200 00267160 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A204 00267164 7C 08 02 A6 */ mflr r0 +/* 8026A208 00267168 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A20C 0026716C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A210 00267170 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026A214 00267174 7C 7F 1B 78 */ mr r31, r3 +/* 8026A218 00267178 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026A21C 0026717C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026A220 00267180 7C 9D 23 78 */ mr r29, r4 +/* 8026A224 00267184 C0 23 00 28 */ lfs f1, 0x28(r3) +/* 8026A228 00267188 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026A22C 0026718C 4C 40 13 82 */ cror 2, 0, 2 +/* 8026A230 00267190 41 82 01 74 */ beq lbl_8026A3A4 +/* 8026A234 00267194 3C 60 80 3D */ lis r3, lbl_803D53F8@ha +/* 8026A238 00267198 38 63 53 F8 */ addi r3, r3, lbl_803D53F8@l +/* 8026A23C 0026719C 48 09 DB ED */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8026A240 002671A0 38 60 00 01 */ li r3, 1 +/* 8026A244 002671A4 48 09 EC 0D */ bl SetNumChans__3CGXFUc +/* 8026A248 002671A8 38 60 00 01 */ li r3, 1 +/* 8026A24C 002671AC 48 09 EA 45 */ bl SetNumTevStages__3CGXFUc +/* 8026A250 002671B0 38 60 00 00 */ li r3, 0 +/* 8026A254 002671B4 38 80 00 00 */ li r4, 0 +/* 8026A258 002671B8 38 A0 00 01 */ li r5, 1 +/* 8026A25C 002671BC 38 C0 00 01 */ li r6, 1 +/* 8026A260 002671C0 38 E0 00 00 */ li r7, 0 +/* 8026A264 002671C4 39 00 00 00 */ li r8, 0 +/* 8026A268 002671C8 39 20 00 02 */ li r9, 2 +/* 8026A26C 002671CC 48 09 EA 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8026A270 002671D0 38 60 00 01 */ li r3, 1 +/* 8026A274 002671D4 38 80 00 04 */ li r4, 4 +/* 8026A278 002671D8 38 A0 00 05 */ li r5, 5 +/* 8026A27C 002671DC 38 C0 00 00 */ li r6, 0 +/* 8026A280 002671E0 48 09 E6 51 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8026A284 002671E4 38 60 00 00 */ li r3, 0 +/* 8026A288 002671E8 48 09 EB 8D */ bl SetNumTexGens__3CGXFUc +/* 8026A28C 002671EC 38 60 00 00 */ li r3, 0 +/* 8026A290 002671F0 38 80 00 FF */ li r4, 0xff +/* 8026A294 002671F4 38 A0 00 FF */ li r5, 0xff +/* 8026A298 002671F8 38 C0 00 04 */ li r6, 4 +/* 8026A29C 002671FC 48 09 E6 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8026A2A0 00267200 38 60 00 01 */ li r3, 1 +/* 8026A2A4 00267204 38 80 00 03 */ li r4, 3 +/* 8026A2A8 00267208 38 A0 00 00 */ li r5, 0 +/* 8026A2AC 0026720C 48 09 E5 D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8026A2B0 00267210 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8026A2B4 00267214 38 60 00 00 */ li r3, 0 +/* 8026A2B8 00267218 48 0A 00 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8026A2BC 0026721C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8026A2C0 00267220 38 60 00 01 */ li r3, 1 +/* 8026A2C4 00267224 48 09 FF F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8026A2C8 00267228 7F A3 EB 78 */ mr r3, r29 +/* 8026A2CC 0026722C 48 0A 23 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8026A2D0 00267230 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8026A2D4 00267234 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A2D8 00267238 40 81 00 C0 */ ble lbl_8026A398 +/* 8026A2DC 0026723C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A2E0 00267240 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8026A2E4 00267244 7C 00 18 00 */ cmpw r0, r3 +/* 8026A2E8 00267248 41 81 00 78 */ bgt lbl_8026A360 +/* 8026A2EC 0026724C 1F C3 00 74 */ mulli r30, r3, 0x74 +/* 8026A2F0 00267250 7C 7D 1B 78 */ mr r29, r3 +/* 8026A2F4 00267254 48 00 00 24 */ b lbl_8026A318 +lbl_8026A2F8: +/* 8026A2F8 00267258 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A2FC 0026725C C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A300 00267260 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A304 00267264 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A308 00267268 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A30C 0026726C 4B FF FA 35 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A310 00267270 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A314 00267274 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A318: +/* 8026A318 00267278 80 1F 00 04 */ lwz r0, 4(r31) +/* 8026A31C 0026727C 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A320 00267280 41 80 FF D8 */ blt lbl_8026A2F8 +/* 8026A324 00267284 3B A0 00 00 */ li r29, 0 +/* 8026A328 00267288 3B C0 00 00 */ li r30, 0 +/* 8026A32C 0026728C 48 00 00 24 */ b lbl_8026A350 +lbl_8026A330: +/* 8026A330 00267290 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A334 00267294 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A338 00267298 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A33C 0026729C C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A340 002672A0 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A344 002672A4 4B FF F9 FD */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A348 002672A8 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A34C 002672AC 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A350: +/* 8026A350 002672B0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A354 002672B4 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A358 002672B8 41 80 FF D8 */ blt lbl_8026A330 +/* 8026A35C 002672BC 48 00 00 3C */ b lbl_8026A398 +lbl_8026A360: +/* 8026A360 002672C0 1F C3 00 74 */ mulli r30, r3, 0x74 +/* 8026A364 002672C4 7C 7D 1B 78 */ mr r29, r3 +/* 8026A368 002672C8 48 00 00 24 */ b lbl_8026A38C +lbl_8026A36C: +/* 8026A36C 002672CC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8026A370 002672D0 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8026A374 002672D4 7C 60 F2 14 */ add r3, r0, r30 +/* 8026A378 002672D8 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 8026A37C 002672DC 38 83 00 64 */ addi r4, r3, 0x64 +/* 8026A380 002672E0 4B FF F9 C1 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f +/* 8026A384 002672E4 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A388 002672E8 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A38C: +/* 8026A38C 002672EC 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A390 002672F0 7C 1D 00 00 */ cmpw r29, r0 +/* 8026A394 002672F4 41 80 FF D8 */ blt lbl_8026A36C +lbl_8026A398: +/* 8026A398 002672F8 38 60 00 06 */ li r3, 6 +/* 8026A39C 002672FC 38 80 00 00 */ li r4, 0 +/* 8026A3A0 00267300 48 09 E1 19 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +lbl_8026A3A4: +/* 8026A3A4 00267304 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A3A8 00267308 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026A3AC 0026730C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026A3B0 00267310 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026A3B4 00267314 7C 08 03 A6 */ mtlr r0 +/* 8026A3B8 00267318 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A3BC 0026731C 4E 80 00 20 */ blr + +.global Draw__20CRainSplashGeneratorCFRC12CTransform4f +Draw__20CRainSplashGeneratorCFRC12CTransform4f: +/* 8026A3C0 00267320 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A3C4 00267324 7C 08 02 A6 */ mflr r0 +/* 8026A3C8 00267328 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A3CC 0026732C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A3D0 00267330 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026A3D4 00267334 41 82 00 08 */ beq lbl_8026A3DC +/* 8026A3D8 00267338 4B FF FE 29 */ bl DoDraw__20CRainSplashGeneratorCFRC12CTransform4f +lbl_8026A3DC: +/* 8026A3DC 0026733C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A3E0 00267340 7C 08 03 A6 */ mtlr r0 +/* 8026A3E4 00267344 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A3E8 00267348 4E 80 00 20 */ blr + +.global Update__20CRainSplashGeneratorFfR13CStateManager +Update__20CRainSplashGeneratorFfR13CStateManager: +/* 8026A3EC 0026734C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A3F0 00267350 7C 08 02 A6 */ mflr r0 +/* 8026A3F4 00267354 FC 40 08 90 */ fmr f2, f1 +/* 8026A3F8 00267358 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A3FC 0026735C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A400 00267360 7C 7F 1B 78 */ mr r31, r3 +/* 8026A404 00267364 80 A4 08 50 */ lwz r5, 0x850(r4) +/* 8026A408 00267368 80 C4 08 80 */ lwz r6, 0x880(r4) +/* 8026A40C 0026736C 80 E5 00 C4 */ lwz r7, 0xc4(r5) +/* 8026A410 00267370 38 A0 00 00 */ li r5, 0 +/* 8026A414 00267374 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 8026A418 00267378 2C 07 00 00 */ cmpwi r7, 0 +/* 8026A41C 0026737C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A420 00267380 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8026A424 00267384 98 03 00 48 */ stb r0, 0x48(r3) +/* 8026A428 00267388 41 82 00 40 */ beq lbl_8026A468 +/* 8026A42C 0026738C 88 06 00 24 */ lbz r0, 0x24(r6) +/* 8026A430 00267390 28 00 00 00 */ cmplwi r0, 0 +/* 8026A434 00267394 41 82 00 34 */ beq lbl_8026A468 +/* 8026A438 00267398 C0 26 00 30 */ lfs f1, 0x30(r6) +/* 8026A43C 0026739C C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A440 002673A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8026A444 002673A4 41 82 00 24 */ beq lbl_8026A468 +/* 8026A448 002673A8 2C 07 00 02 */ cmpwi r7, 2 +/* 8026A44C 002673AC 41 82 00 08 */ beq lbl_8026A454 +/* 8026A450 002673B0 48 00 00 18 */ b lbl_8026A468 +lbl_8026A454: +/* 8026A454 002673B4 48 00 00 29 */ bl UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff +/* 8026A458 002673B8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A45C 002673BC 38 60 00 01 */ li r3, 1 +/* 8026A460 002673C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8026A464 002673C4 98 1F 00 48 */ stb r0, 0x48(r31) +lbl_8026A468: +/* 8026A468 002673C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A46C 002673CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A470 002673D0 7C 08 03 A6 */ mtlr r0 +/* 8026A474 002673D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A478 002673D8 4E 80 00 20 */ blr + +.global UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff +UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff: +/* 8026A47C 002673DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026A480 002673E0 7C 08 02 A6 */ mflr r0 +/* 8026A484 002673E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026A488 002673E8 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8026A48C 002673EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8026A490 002673F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A494 002673F4 93 C1 00 08 */ stw r30, 8(r1) +/* 8026A498 002673F8 C0 02 BB 84 */ lfs f0, lbl_805AD8A4@sda21(r2) +/* 8026A49C 002673FC 7C 7E 1B 78 */ mr r30, r3 +/* 8026A4A0 00267400 C0 62 BB 58 */ lfs f3, lbl_805AD878@sda21(r2) +/* 8026A4A4 00267404 FF E0 10 90 */ fmr f31, f2 +/* 8026A4A8 00267408 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8026A4AC 0026740C C0 23 00 20 */ lfs f1, 0x20(r3) +/* 8026A4B0 00267410 7C 9F 23 78 */ mr r31, r4 +/* 8026A4B4 00267414 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8026A4B8 00267418 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8026A4BC 0026741C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8026A4C0 00267420 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8026A4C4 00267424 80 03 00 40 */ lwz r0, 0x40(r3) +/* 8026A4C8 00267428 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A4CC 0026742C 40 81 00 44 */ ble lbl_8026A510 +/* 8026A4D0 00267430 80 DE 00 38 */ lwz r6, 0x38(r30) +/* 8026A4D4 00267434 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 8026A4D8 00267438 7C 06 28 00 */ cmpw r6, r5 +/* 8026A4DC 0026743C 41 81 00 2C */ bgt lbl_8026A508 +/* 8026A4E0 00267440 FC 20 F8 90 */ fmr f1, f31 +/* 8026A4E4 00267444 80 DE 00 04 */ lwz r6, 4(r30) +/* 8026A4E8 00267448 48 00 00 49 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +/* 8026A4EC 0026744C FC 20 F8 90 */ fmr f1, f31 +/* 8026A4F0 00267450 80 DE 00 38 */ lwz r6, 0x38(r30) +/* 8026A4F4 00267454 7F C3 F3 78 */ mr r3, r30 +/* 8026A4F8 00267458 7F E4 FB 78 */ mr r4, r31 +/* 8026A4FC 0026745C 38 A0 00 00 */ li r5, 0 +/* 8026A500 00267460 48 00 00 31 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +/* 8026A504 00267464 48 00 00 0C */ b lbl_8026A510 +lbl_8026A508: +/* 8026A508 00267468 FC 20 F8 90 */ fmr f1, f31 +/* 8026A50C 0026746C 48 00 00 25 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +lbl_8026A510: +/* 8026A510 00267470 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8026A514 00267474 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026A518 00267478 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8026A51C 0026747C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A520 00267480 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026A524 00267484 7C 08 03 A6 */ mtlr r0 +/* 8026A528 00267488 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026A52C 0026748C 4E 80 00 20 */ blr + +.global UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif +UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif: +/* 8026A530 00267490 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026A534 00267494 7C 08 02 A6 */ mflr r0 +/* 8026A538 00267498 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026A53C 0026749C DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8026A540 002674A0 FF E0 08 90 */ fmr f31, f1 +/* 8026A544 002674A4 BF 41 00 10 */ stmw r26, 0x10(r1) +/* 8026A548 002674A8 7C BD 2B 78 */ mr r29, r5 +/* 8026A54C 002674AC 1F DD 00 74 */ mulli r30, r29, 0x74 +/* 8026A550 002674B0 7C 7A 1B 78 */ mr r26, r3 +/* 8026A554 002674B4 7C 9B 23 78 */ mr r27, r4 +/* 8026A558 002674B8 7C DC 33 78 */ mr r28, r6 +/* 8026A55C 002674BC 48 00 00 64 */ b lbl_8026A5C0 +lbl_8026A560: +/* 8026A560 002674C0 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 8026A564 002674C4 FC 20 F8 90 */ fmr f1, f31 +/* 8026A568 002674C8 7F 64 DB 78 */ mr r4, r27 +/* 8026A56C 002674CC 7F E0 F2 14 */ add r31, r0, r30 +/* 8026A570 002674D0 7F E3 FB 78 */ mr r3, r31 +/* 8026A574 002674D4 4B FF F8 59 */ bl Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager +/* 8026A578 002674D8 7F E3 FB 78 */ mr r3, r31 +/* 8026A57C 002674DC 4B FF F7 85 */ bl IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager +/* 8026A580 002674E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026A584 002674E4 40 82 00 34 */ bne lbl_8026A5B8 +/* 8026A588 002674E8 80 7A 00 40 */ lwz r3, 0x40(r26) +/* 8026A58C 002674EC 38 03 FF FF */ addi r0, r3, -1 +/* 8026A590 002674F0 90 1A 00 40 */ stw r0, 0x40(r26) +/* 8026A594 002674F4 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8026A598 002674F8 38 03 00 01 */ addi r0, r3, 1 +/* 8026A59C 002674FC 90 1A 00 3C */ stw r0, 0x3c(r26) +/* 8026A5A0 00267500 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8026A5A4 00267504 80 1A 00 04 */ lwz r0, 4(r26) +/* 8026A5A8 00267508 7C 03 00 00 */ cmpw r3, r0 +/* 8026A5AC 0026750C 41 80 00 0C */ blt lbl_8026A5B8 +/* 8026A5B0 00267510 38 00 00 00 */ li r0, 0 +/* 8026A5B4 00267514 90 1A 00 3C */ stw r0, 0x3c(r26) +lbl_8026A5B8: +/* 8026A5B8 00267518 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026A5BC 0026751C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8026A5C0: +/* 8026A5C0 00267520 7C 1D E0 00 */ cmpw r29, r28 +/* 8026A5C4 00267524 41 80 FF 9C */ blt lbl_8026A560 +/* 8026A5C8 00267528 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8026A5CC 0026752C BB 41 00 10 */ lmw r26, 0x10(r1) +/* 8026A5D0 00267530 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026A5D4 00267534 7C 08 03 A6 */ mtlr r0 +/* 8026A5D8 00267538 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026A5DC 0026753C 4E 80 00 20 */ blr + +.global GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi +GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi: +/* 8026A5E0 00267540 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026A5E4 00267544 7C 08 02 A6 */ mflr r0 +/* 8026A5E8 00267548 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026A5EC 0026754C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8026A5F0 00267550 7C 7A 1B 78 */ mr r26, r3 +/* 8026A5F4 00267554 7C 9B 23 78 */ mr r27, r4 +/* 8026A5F8 00267558 7C BC 2B 78 */ mr r28, r5 +/* 8026A5FC 0026755C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8026A600 00267560 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026A604 00267564 41 82 00 B4 */ beq lbl_8026A6B8 +/* 8026A608 00267568 C0 3A 00 20 */ lfs f1, 0x20(r26) +/* 8026A60C 0026756C C0 1A 00 24 */ lfs f0, 0x24(r26) +/* 8026A610 00267570 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026A614 00267574 40 81 00 A4 */ ble lbl_8026A6B8 +/* 8026A618 00267578 80 7A 00 34 */ lwz r3, 0x34(r26) +/* 8026A61C 0026757C 7C DF 33 78 */ mr r31, r6 +/* 8026A620 00267580 3B C0 00 00 */ li r30, 0 +/* 8026A624 00267584 48 00 00 7C */ b lbl_8026A6A0 +lbl_8026A628: +/* 8026A628 00267588 80 9A 00 40 */ lwz r4, 0x40(r26) +/* 8026A62C 0026758C 80 1A 00 04 */ lwz r0, 4(r26) +/* 8026A630 00267590 7C 04 00 00 */ cmpw r4, r0 +/* 8026A634 00267594 40 80 00 78 */ bge lbl_8026A6AC +/* 8026A638 00267598 C0 3A 00 2C */ lfs f1, 0x2c(r26) +/* 8026A63C 0026759C 7F 64 DB 78 */ mr r4, r27 +/* 8026A640 002675A0 7F 85 E3 78 */ mr r5, r28 +/* 8026A644 002675A4 7F E6 FB 78 */ mr r6, r31 +/* 8026A648 002675A8 38 FA 00 10 */ addi r7, r26, 0x10 +/* 8026A64C 002675AC 48 00 03 D9 */ bl GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f +/* 8026A650 002675B0 7C 7D 1B 78 */ mr r29, r3 +/* 8026A654 002675B4 C0 BA 00 1C */ lfs f5, 0x1c(r26) +/* 8026A658 002675B8 1C 1D 00 0C */ mulli r0, r29, 0xc +/* 8026A65C 002675BC C0 7A 00 18 */ lfs f3, 0x18(r26) +/* 8026A660 002675C0 C0 3A 00 14 */ lfs f1, 0x14(r26) +/* 8026A664 002675C4 7F 43 D3 78 */ mr r3, r26 +/* 8026A668 002675C8 38 81 00 08 */ addi r4, r1, 8 +/* 8026A66C 002675CC 7C BB 02 14 */ add r5, r27, r0 +/* 8026A670 002675D0 C0 85 00 08 */ lfs f4, 8(r5) +/* 8026A674 002675D4 C0 45 00 04 */ lfs f2, 4(r5) +/* 8026A678 002675D8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8026A67C 002675DC EC 85 01 32 */ fmuls f4, f5, f4 +/* 8026A680 002675E0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8026A684 002675E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8026A688 002675E8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8026A68C 002675EC D0 01 00 08 */ stfs f0, 8(r1) +/* 8026A690 002675F0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8026A694 002675F4 48 00 00 39 */ bl AddPoint__20CRainSplashGeneratorFRC9CVector3f +/* 8026A698 002675F8 7F A3 EB 78 */ mr r3, r29 +/* 8026A69C 002675FC 3B DE 00 01 */ addi r30, r30, 1 +lbl_8026A6A0: +/* 8026A6A0 00267600 80 1A 00 44 */ lwz r0, 0x44(r26) +/* 8026A6A4 00267604 7C 1E 00 00 */ cmpw r30, r0 +/* 8026A6A8 00267608 41 80 FF 80 */ blt lbl_8026A628 +lbl_8026A6AC: +/* 8026A6AC 0026760C 90 7A 00 34 */ stw r3, 0x34(r26) +/* 8026A6B0 00267610 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) +/* 8026A6B4 00267614 D0 1A 00 20 */ stfs f0, 0x20(r26) +lbl_8026A6B8: +/* 8026A6B8 00267618 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8026A6BC 0026761C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026A6C0 00267620 7C 08 03 A6 */ mtlr r0 +/* 8026A6C4 00267624 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026A6C8 00267628 4E 80 00 20 */ blr + +.global AddPoint__20CRainSplashGeneratorFRC9CVector3f +AddPoint__20CRainSplashGeneratorFRC9CVector3f: +/* 8026A6CC 0026762C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A6D0 00267630 7C 08 02 A6 */ mflr r0 +/* 8026A6D4 00267634 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A6D8 00267638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A6DC 0026763C 7C 7F 1B 78 */ mr r31, r3 +/* 8026A6E0 00267640 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8026A6E4 00267644 80 1F 00 04 */ lwz r0, 4(r31) +/* 8026A6E8 00267648 7C 03 00 00 */ cmpw r3, r0 +/* 8026A6EC 0026764C 41 80 00 0C */ blt lbl_8026A6F8 +/* 8026A6F0 00267650 38 00 00 00 */ li r0, 0 +/* 8026A6F4 00267654 90 1F 00 38 */ stw r0, 0x38(r31) +lbl_8026A6F8: +/* 8026A6F8 00267658 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026A6FC 0026765C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8026A700 00267660 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026A704 00267664 7C 63 02 14 */ add r3, r3, r0 +/* 8026A708 00267668 4B FF F5 79 */ bl SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f +/* 8026A70C 0026766C 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026A710 00267670 38 03 00 01 */ addi r0, r3, 1 +/* 8026A714 00267674 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026A718 00267678 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8026A71C 0026767C 38 03 00 01 */ addi r0, r3, 1 +/* 8026A720 00267680 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026A724 00267684 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A728 00267688 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A72C 0026768C 7C 08 03 A6 */ mtlr r0 +/* 8026A730 00267690 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A734 00267694 4E 80 00 20 */ blr + +.global __ct__20CRainSplashGeneratorFRC9CVector3fiiff +__ct__20CRainSplashGeneratorFRC9CVector3fiiff: +/* 8026A738 00267698 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8026A73C 0026769C 7C 08 02 A6 */ mflr r0 +/* 8026A740 002676A0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8026A744 002676A4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8026A748 002676A8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8026A74C 002676AC DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8026A750 002676B0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8026A754 002676B4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8026A758 002676B8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8026A75C 002676BC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8026A760 002676C0 93 81 00 80 */ stw r28, 0x80(r1) +/* 8026A764 002676C4 7C 7F 1B 78 */ mr r31, r3 +/* 8026A768 002676C8 38 00 00 00 */ li r0, 0 +/* 8026A76C 002676CC 90 03 00 04 */ stw r0, 4(r3) +/* 8026A770 002676D0 7C 9C 23 78 */ mr r28, r4 +/* 8026A774 002676D4 FF C0 08 90 */ fmr f30, f1 +/* 8026A778 002676D8 7C BD 2B 78 */ mr r29, r5 +/* 8026A77C 002676DC 90 03 00 08 */ stw r0, 8(r3) +/* 8026A780 002676E0 FF E0 10 90 */ fmr f31, f2 +/* 8026A784 002676E4 7C DE 33 78 */ mr r30, r6 +/* 8026A788 002676E8 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8026A78C 002676EC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026A790 002676F0 38 80 00 63 */ li r4, 0x63 +/* 8026A794 002676F4 48 0A 7E 59 */ bl __ct__9CRandom16FUi +/* 8026A798 002676F8 C0 3C 00 00 */ lfs f1, 0(r28) +/* 8026A79C 002676FC C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) +/* 8026A7A0 00267700 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8026A7A4 00267704 C0 22 BB 54 */ lfs f1, lbl_805AD874@sda21(r2) +/* 8026A7A8 00267708 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8026A7AC 0026770C C0 1C 00 04 */ lfs f0, 4(r28) +/* 8026A7B0 00267710 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8026A7B4 00267714 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8026A7B8 00267718 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8026A7BC 0026771C D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 8026A7C0 00267720 D0 3F 00 28 */ stfs f1, 0x28(r31) +/* 8026A7C4 00267724 D3 DF 00 2C */ stfs f30, 0x2c(r31) +/* 8026A7C8 00267728 40 81 00 0C */ ble lbl_8026A7D4 +/* 8026A7CC 0026772C C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) +/* 8026A7D0 00267730 48 00 00 0C */ b lbl_8026A7DC +lbl_8026A7D4: +/* 8026A7D4 00267734 C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) +/* 8026A7D8 00267738 EC 00 07 F2 */ fmuls f0, f0, f31 +lbl_8026A7DC: +/* 8026A7DC 0026773C D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8026A7E0 00267740 38 60 00 00 */ li r3, 0 +/* 8026A7E4 00267744 7C 1E E8 00 */ cmpw r30, r29 +/* 8026A7E8 00267748 7F C0 F3 78 */ mr r0, r30 +/* 8026A7EC 0026774C 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8026A7F0 00267750 90 7F 00 38 */ stw r3, 0x38(r31) +/* 8026A7F4 00267754 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 8026A7F8 00267758 90 7F 00 40 */ stw r3, 0x40(r31) +/* 8026A7FC 0026775C 40 81 00 08 */ ble lbl_8026A804 +/* 8026A800 00267760 7F A0 EB 78 */ mr r0, r29 +lbl_8026A804: +/* 8026A804 00267764 90 1F 00 44 */ stw r0, 0x44(r31) +/* 8026A808 00267768 38 80 00 00 */ li r4, 0 +/* 8026A80C 0026776C 38 A0 00 01 */ li r5, 1 +/* 8026A810 00267770 7F E3 FB 78 */ mr r3, r31 +/* 8026A814 00267774 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A818 00267778 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026A81C 0026777C 7F A4 EB 78 */ mr r4, r29 +/* 8026A820 00267780 98 1F 00 48 */ stb r0, 0x48(r31) +/* 8026A824 00267784 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8026A828 00267788 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8026A82C 0026778C 98 1F 00 48 */ stb r0, 0x48(r31) +/* 8026A830 00267790 48 00 03 89 */ bl sub_8026abb8 +/* 8026A834 00267794 3B C0 00 00 */ li r30, 0 +/* 8026A838 00267798 48 00 00 74 */ b lbl_8026A8AC +lbl_8026A83C: +/* 8026A83C 0026779C 38 61 00 08 */ addi r3, r1, 8 +/* 8026A840 002677A0 4B FF F6 09 */ bl __ct__Q220CRainSplashGenerator11SRainSplash +/* 8026A844 002677A4 7F E3 FB 78 */ mr r3, r31 +/* 8026A848 002677A8 38 81 00 08 */ addi r4, r1, 8 +/* 8026A84C 002677AC 48 00 00 9D */ bl "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" +/* 8026A850 002677B0 80 A1 00 08 */ lwz r5, 8(r1) +/* 8026A854 002677B4 38 60 00 00 */ li r3, 0 +/* 8026A858 002677B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026A85C 002677BC 40 81 00 44 */ ble lbl_8026A8A0 +/* 8026A860 002677C0 2C 05 00 08 */ cmpwi r5, 8 +/* 8026A864 002677C4 38 85 FF F8 */ addi r4, r5, -8 +/* 8026A868 002677C8 40 81 00 20 */ ble lbl_8026A888 +/* 8026A86C 002677CC 38 04 00 07 */ addi r0, r4, 7 +/* 8026A870 002677D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026A874 002677D4 7C 09 03 A6 */ mtctr r0 +/* 8026A878 002677D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026A87C 002677DC 40 81 00 0C */ ble lbl_8026A888 +lbl_8026A880: +/* 8026A880 002677E0 38 63 00 08 */ addi r3, r3, 8 +/* 8026A884 002677E4 42 00 FF FC */ bdnz lbl_8026A880 +lbl_8026A888: +/* 8026A888 002677E8 7C 03 28 50 */ subf r0, r3, r5 +/* 8026A88C 002677EC 7C 09 03 A6 */ mtctr r0 +/* 8026A890 002677F0 7C 03 28 00 */ cmpw r3, r5 +/* 8026A894 002677F4 40 80 00 0C */ bge lbl_8026A8A0 +lbl_8026A898: +/* 8026A898 002677F8 38 63 00 01 */ addi r3, r3, 1 +/* 8026A89C 002677FC 42 00 FF FC */ bdnz lbl_8026A898 +lbl_8026A8A0: +/* 8026A8A0 00267800 38 00 00 00 */ li r0, 0 +/* 8026A8A4 00267804 3B DE 00 01 */ addi r30, r30, 1 +/* 8026A8A8 00267808 90 01 00 08 */ stw r0, 8(r1) +lbl_8026A8AC: +/* 8026A8AC 0026780C 7C 1E E8 00 */ cmpw r30, r29 +/* 8026A8B0 00267810 41 80 FF 8C */ blt lbl_8026A83C +/* 8026A8B4 00267814 7F E3 FB 78 */ mr r3, r31 +/* 8026A8B8 00267818 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8026A8BC 0026781C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8026A8C0 00267820 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8026A8C4 00267824 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8026A8C8 00267828 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8026A8CC 0026782C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8026A8D0 00267830 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8026A8D4 00267834 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8026A8D8 00267838 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8026A8DC 0026783C 7C 08 03 A6 */ mtlr r0 +/* 8026A8E0 00267840 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8026A8E4 00267844 4E 80 00 20 */ blr + +.global "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" +"push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash": +/* 8026A8E8 00267848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A8EC 0026784C 7C 08 02 A6 */ mflr r0 +/* 8026A8F0 00267850 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A8F4 00267854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026A8F8 00267858 7C 9F 23 78 */ mr r31, r4 +/* 8026A8FC 0026785C 93 C1 00 08 */ stw r30, 8(r1) +/* 8026A900 00267860 7C 7E 1B 78 */ mr r30, r3 +/* 8026A904 00267864 80 03 00 04 */ lwz r0, 4(r3) +/* 8026A908 00267868 80 A3 00 08 */ lwz r5, 8(r3) +/* 8026A90C 0026786C 7C 00 28 00 */ cmpw r0, r5 +/* 8026A910 00267870 41 80 00 18 */ blt lbl_8026A928 +/* 8026A914 00267874 2C 05 00 00 */ cmpwi r5, 0 +/* 8026A918 00267878 38 80 00 04 */ li r4, 4 +/* 8026A91C 0026787C 41 82 00 08 */ beq lbl_8026A924 +/* 8026A920 00267880 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026A924: +/* 8026A924 00267884 48 00 02 95 */ bl sub_8026abb8 +lbl_8026A928: +/* 8026A928 00267888 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026A92C 0026788C 7F E4 FB 78 */ mr r4, r31 +/* 8026A930 00267890 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026A934 00267894 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026A938 00267898 7C 63 02 14 */ add r3, r3, r0 +/* 8026A93C 0026789C 48 00 00 29 */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +/* 8026A940 002678A0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026A944 002678A4 38 03 00 01 */ addi r0, r3, 1 +/* 8026A948 002678A8 90 1E 00 04 */ stw r0, 4(r30) +/* 8026A94C 002678AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026A950 002678B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026A954 002678B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A958 002678B8 7C 08 03 A6 */ mtlr r0 +/* 8026A95C 002678BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A960 002678C0 4E 80 00 20 */ blr + +.global __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +__ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: +/* 8026A964 002678C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026A968 002678C8 7C 08 02 A6 */ mflr r0 +/* 8026A96C 002678CC 28 03 00 00 */ cmplwi r3, 0 +/* 8026A970 002678D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026A974 002678D4 41 82 00 08 */ beq lbl_8026A97C +/* 8026A978 002678D8 48 00 00 15 */ bl __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +lbl_8026A97C: +/* 8026A97C 002678DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026A980 002678E0 7C 08 03 A6 */ mtlr r0 +/* 8026A984 002678E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026A988 002678E8 4E 80 00 20 */ blr + +.global __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +__as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: +/* 8026A98C 002678EC 80 04 00 00 */ lwz r0, 0(r4) +/* 8026A990 002678F0 38 C4 00 04 */ addi r6, r4, 4 +/* 8026A994 002678F4 38 A3 00 04 */ addi r5, r3, 4 +/* 8026A998 002678F8 90 03 00 00 */ stw r0, 0(r3) +/* 8026A99C 002678FC 80 03 00 00 */ lwz r0, 0(r3) +/* 8026A9A0 00267900 7C 09 03 A6 */ mtctr r0 +/* 8026A9A4 00267904 2C 00 00 00 */ cmpwi r0, 0 +/* 8026A9A8 00267908 40 81 00 58 */ ble lbl_8026AA00 +lbl_8026A9AC: +/* 8026A9AC 0026790C 28 05 00 00 */ cmplwi r5, 0 +/* 8026A9B0 00267910 41 82 00 44 */ beq lbl_8026A9F4 +/* 8026A9B4 00267914 C0 06 00 00 */ lfs f0, 0(r6) +/* 8026A9B8 00267918 D0 05 00 00 */ stfs f0, 0(r5) +/* 8026A9BC 0026791C C0 06 00 04 */ lfs f0, 4(r6) +/* 8026A9C0 00267920 D0 05 00 04 */ stfs f0, 4(r5) +/* 8026A9C4 00267924 C0 06 00 08 */ lfs f0, 8(r6) +/* 8026A9C8 00267928 D0 05 00 08 */ stfs f0, 8(r5) +/* 8026A9CC 0026792C C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8026A9D0 00267930 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8026A9D4 00267934 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8026A9D8 00267938 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8026A9DC 0026793C 88 06 00 14 */ lbz r0, 0x14(r6) +/* 8026A9E0 00267940 98 05 00 14 */ stb r0, 0x14(r5) +/* 8026A9E4 00267944 88 06 00 15 */ lbz r0, 0x15(r6) +/* 8026A9E8 00267948 98 05 00 15 */ stb r0, 0x15(r5) +/* 8026A9EC 0026794C 88 06 00 16 */ lbz r0, 0x16(r6) +/* 8026A9F0 00267950 98 05 00 16 */ stb r0, 0x16(r5) +lbl_8026A9F4: +/* 8026A9F4 00267954 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8026A9F8 00267958 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8026A9FC 0026795C 42 00 FF B0 */ bdnz lbl_8026A9AC +lbl_8026AA00: +/* 8026AA00 00267960 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 8026AA04 00267964 D0 03 00 64 */ stfs f0, 0x64(r3) +/* 8026AA08 00267968 C0 04 00 68 */ lfs f0, 0x68(r4) +/* 8026AA0C 0026796C D0 03 00 68 */ stfs f0, 0x68(r3) +/* 8026AA10 00267970 C0 04 00 6C */ lfs f0, 0x6c(r4) +/* 8026AA14 00267974 D0 03 00 6C */ stfs f0, 0x6c(r3) +/* 8026AA18 00267978 C0 04 00 70 */ lfs f0, 0x70(r4) +/* 8026AA1C 0026797C D0 03 00 70 */ stfs f0, 0x70(r3) +/* 8026AA20 00267980 4E 80 00 20 */ blr + +.global GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f +GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f: +/* 8026AA24 00267984 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8026AA28 00267988 7C 08 02 A6 */ mflr r0 +/* 8026AA2C 0026798C 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026AA30 00267990 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8026AA34 00267994 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8026AA38 00267998 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8026AA3C 0026799C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8026AA40 002679A0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8026AA44 002679A4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8026AA48 002679A8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8026AA4C 002679AC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8026AA50 002679B0 BF 01 00 20 */ stmw r24, 0x20(r1) +/* 8026AA54 002679B4 C3 E2 BB 54 */ lfs f31, lbl_805AD874@sda21(r2) +/* 8026AA58 002679B8 7C 9C 23 78 */ mr r28, r4 +/* 8026AA5C 002679BC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8026AA60 002679C0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8026AA64 002679C4 FF C0 08 90 */ fmr f30, f1 +/* 8026AA68 002679C8 7C BD 2B 78 */ mr r29, r5 +/* 8026AA6C 002679CC FF 80 F8 90 */ fmr f28, f31 +/* 8026AA70 002679D0 7C DE 33 78 */ mr r30, r6 +/* 8026AA74 002679D4 FF A0 F8 90 */ fmr f29, f31 +/* 8026AA78 002679D8 7C FF 3B 78 */ mr r31, r7 +/* 8026AA7C 002679DC 7C 7A 1B 78 */ mr r26, r3 +/* 8026AA80 002679E0 7F 3C 02 14 */ add r25, r28, r0 +/* 8026AA84 002679E4 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l +/* 8026AA88 002679E8 3B 00 00 00 */ li r24, 0 +lbl_8026AA8C: +/* 8026AA8C 002679EC 7F E3 FB 78 */ mr r3, r31 +/* 8026AA90 002679F0 38 BE FF FF */ addi r5, r30, -1 +/* 8026AA94 002679F4 38 80 00 00 */ li r4, 0 +/* 8026AA98 002679F8 48 0A 7A FD */ bl Range__9CRandom16Fii +/* 8026AA9C 002679FC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8026AAA0 00267A00 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8026AAA4 00267A04 C0 F9 00 04 */ lfs f7, 4(r25) +/* 8026AAA8 00267A08 38 80 00 00 */ li r4, 0 +/* 8026AAAC 00267A0C C0 99 00 00 */ lfs f4, 0(r25) +/* 8026AAB0 00267A10 7C BD 02 14 */ add r5, r29, r0 +/* 8026AAB4 00267A14 7C DC 02 14 */ add r6, r28, r0 +/* 8026AAB8 00267A18 C0 25 00 04 */ lfs f1, 4(r5) +/* 8026AABC 00267A1C C0 C6 00 04 */ lfs f6, 4(r6) +/* 8026AAC0 00267A20 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8026AAC4 00267A24 C0 66 00 00 */ lfs f3, 0(r6) +/* 8026AAC8 00267A28 ED 07 30 28 */ fsubs f8, f7, f6 +/* 8026AACC 00267A2C C0 5B 00 00 */ lfs f2, 0(r27) +/* 8026AAD0 00267A30 EC C4 18 28 */ fsubs f6, f4, f3 +/* 8026AAD4 00267A34 C0 25 00 00 */ lfs f1, 0(r5) +/* 8026AAD8 00267A38 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 8026AADC 00267A3C C0 B9 00 08 */ lfs f5, 8(r25) +/* 8026AAE0 00267A40 C0 66 00 08 */ lfs f3, 8(r6) +/* 8026AAE4 00267A44 EC 86 01 B2 */ fmuls f4, f6, f6 +/* 8026AAE8 00267A48 C0 45 00 08 */ lfs f2, 8(r5) +/* 8026AAEC 00267A4C EC E5 18 28 */ fsubs f7, f5, f3 +/* 8026AAF0 00267A50 C0 3B 00 08 */ lfs f1, 8(r27) +/* 8026AAF4 00267A54 EC 68 02 32 */ fmuls f3, f8, f8 +/* 8026AAF8 00267A58 D0 C1 00 08 */ stfs f6, 8(r1) +/* 8026AAFC 00267A5C EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 8026AB00 00267A60 EC A7 01 F2 */ fmuls f5, f7, f7 +/* 8026AB04 00267A64 D1 01 00 0C */ stfs f8, 0xc(r1) +/* 8026AB08 00267A68 EC 04 18 2A */ fadds f0, f4, f3 +/* 8026AB0C 00267A6C FC 02 E0 40 */ fcmpo cr0, f2, f28 +/* 8026AB10 00267A70 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 8026AB14 00267A74 EC 25 00 2A */ fadds f1, f5, f0 +/* 8026AB18 00267A78 4C 41 13 82 */ cror 2, 1, 2 +/* 8026AB1C 00267A7C 40 82 00 18 */ bne lbl_8026AB34 +/* 8026AB20 00267A80 C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) +/* 8026AB24 00267A84 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8026AB28 00267A88 4C 40 13 82 */ cror 2, 0, 2 +/* 8026AB2C 00267A8C 40 82 00 08 */ bne lbl_8026AB34 +/* 8026AB30 00267A90 38 80 00 01 */ li r4, 1 +lbl_8026AB34: +/* 8026AB34 00267A94 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 8026AB38 00267A98 40 81 00 18 */ ble lbl_8026AB50 +/* 8026AB3C 00267A9C C0 06 00 08 */ lfs f0, 8(r6) +/* 8026AB40 00267AA0 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8026AB44 00267AA4 7C 00 00 26 */ mfcr r0 +/* 8026AB48 00267AA8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 8026AB4C 00267AAC 48 00 00 08 */ b lbl_8026AB54 +lbl_8026AB50: +/* 8026AB50 00267AB0 38 A0 00 01 */ li r5, 1 +lbl_8026AB54: +/* 8026AB54 00267AB4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8026AB58 00267AB8 40 81 00 1C */ ble lbl_8026AB74 +/* 8026AB5C 00267ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026AB60 00267AC0 41 82 00 14 */ beq lbl_8026AB74 +/* 8026AB64 00267AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8026AB68 00267AC8 41 82 00 0C */ beq lbl_8026AB74 +/* 8026AB6C 00267ACC 7C 7A 1B 78 */ mr r26, r3 +/* 8026AB70 00267AD0 FF E0 08 90 */ fmr f31, f1 +lbl_8026AB74: +/* 8026AB74 00267AD4 3B 18 00 01 */ addi r24, r24, 1 +/* 8026AB78 00267AD8 2C 18 00 03 */ cmpwi r24, 3 +/* 8026AB7C 00267ADC 41 80 FF 10 */ blt lbl_8026AA8C +/* 8026AB80 00267AE0 7F 43 D3 78 */ mr r3, r26 +/* 8026AB84 00267AE4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8026AB88 00267AE8 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8026AB8C 00267AEC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8026AB90 00267AF0 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8026AB94 00267AF4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8026AB98 00267AF8 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8026AB9C 00267AFC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8026ABA0 00267B00 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8026ABA4 00267B04 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 8026ABA8 00267B08 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8026ABAC 00267B0C 7C 08 03 A6 */ mtlr r0 +/* 8026ABB0 00267B10 38 21 00 80 */ addi r1, r1, 0x80 +/* 8026ABB4 00267B14 4E 80 00 20 */ blr + +.global sub_8026abb8 +sub_8026abb8: +/* 8026ABB8 00267B18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026ABBC 00267B1C 7C 08 02 A6 */ mflr r0 +/* 8026ABC0 00267B20 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026ABC4 00267B24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8026ABC8 00267B28 7C 9F 23 78 */ mr r31, r4 +/* 8026ABCC 00267B2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026ABD0 00267B30 7C 7E 1B 78 */ mr r30, r3 +/* 8026ABD4 00267B34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8026ABD8 00267B38 80 03 00 08 */ lwz r0, 8(r3) +/* 8026ABDC 00267B3C 7C 1F 00 00 */ cmpw r31, r0 +/* 8026ABE0 00267B40 40 81 00 FC */ ble lbl_8026ACDC +/* 8026ABE4 00267B44 1C 7F 00 74 */ mulli r3, r31, 0x74 +/* 8026ABE8 00267B48 2C 03 00 00 */ cmpwi r3, 0 +/* 8026ABEC 00267B4C 40 82 00 0C */ bne lbl_8026ABF8 +/* 8026ABF0 00267B50 3B A0 00 00 */ li r29, 0 +/* 8026ABF4 00267B54 48 00 00 18 */ b lbl_8026AC0C +lbl_8026ABF8: +/* 8026ABF8 00267B58 3C 80 80 3D */ lis r4, lbl_803D5410@ha +/* 8026ABFC 00267B5C 38 A0 00 00 */ li r5, 0 +/* 8026AC00 00267B60 38 84 54 10 */ addi r4, r4, lbl_803D5410@l +/* 8026AC04 00267B64 48 0A AC 15 */ bl __nwa__FUlPCcPCc +/* 8026AC08 00267B68 7C 7D 1B 78 */ mr r29, r3 +lbl_8026AC0C: +/* 8026AC0C 00267B6C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026AC10 00267B70 7F A5 EB 78 */ mr r5, r29 +/* 8026AC14 00267B74 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8026AC18 00267B78 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026AC1C 00267B7C 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026AC20 00267B80 38 81 00 0C */ addi r4, r1, 0xc +/* 8026AC24 00267B84 7C C6 02 14 */ add r6, r6, r0 +/* 8026AC28 00267B88 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026AC2C 00267B8C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8026AC30 00267B90 90 C1 00 08 */ stw r6, 8(r1) +/* 8026AC34 00267B94 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026AC38 00267B98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AC3C 00267B9C 48 00 00 BD */ bl sub_8026acf8 +/* 8026AC40 00267BA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026AC44 00267BA4 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8026AC48 00267BA8 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8026AC4C 00267BAC 7C 66 02 14 */ add r3, r6, r0 +/* 8026AC50 00267BB0 48 00 00 6C */ b lbl_8026ACBC +lbl_8026AC54: +/* 8026AC54 00267BB4 28 06 00 00 */ cmplwi r6, 0 +/* 8026AC58 00267BB8 41 82 00 60 */ beq lbl_8026ACB8 +/* 8026AC5C 00267BBC 41 82 00 5C */ beq lbl_8026ACB8 +/* 8026AC60 00267BC0 80 E6 00 00 */ lwz r7, 0(r6) +/* 8026AC64 00267BC4 38 80 00 00 */ li r4, 0 +/* 8026AC68 00267BC8 2C 07 00 00 */ cmpwi r7, 0 +/* 8026AC6C 00267BCC 40 81 00 44 */ ble lbl_8026ACB0 +/* 8026AC70 00267BD0 2C 07 00 08 */ cmpwi r7, 8 +/* 8026AC74 00267BD4 38 A7 FF F8 */ addi r5, r7, -8 +/* 8026AC78 00267BD8 40 81 00 20 */ ble lbl_8026AC98 +/* 8026AC7C 00267BDC 38 05 00 07 */ addi r0, r5, 7 +/* 8026AC80 00267BE0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026AC84 00267BE4 7C 09 03 A6 */ mtctr r0 +/* 8026AC88 00267BE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026AC8C 00267BEC 40 81 00 0C */ ble lbl_8026AC98 +lbl_8026AC90: +/* 8026AC90 00267BF0 38 84 00 08 */ addi r4, r4, 8 +/* 8026AC94 00267BF4 42 00 FF FC */ bdnz lbl_8026AC90 +lbl_8026AC98: +/* 8026AC98 00267BF8 7C 04 38 50 */ subf r0, r4, r7 +/* 8026AC9C 00267BFC 7C 09 03 A6 */ mtctr r0 +/* 8026ACA0 00267C00 7C 04 38 00 */ cmpw r4, r7 +/* 8026ACA4 00267C04 40 80 00 0C */ bge lbl_8026ACB0 +lbl_8026ACA8: +/* 8026ACA8 00267C08 38 84 00 01 */ addi r4, r4, 1 +/* 8026ACAC 00267C0C 42 00 FF FC */ bdnz lbl_8026ACA8 +lbl_8026ACB0: +/* 8026ACB0 00267C10 38 00 00 00 */ li r0, 0 +/* 8026ACB4 00267C14 90 06 00 00 */ stw r0, 0(r6) +lbl_8026ACB8: +/* 8026ACB8 00267C18 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_8026ACBC: +/* 8026ACBC 00267C1C 7C 06 18 40 */ cmplw r6, r3 +/* 8026ACC0 00267C20 40 82 FF 94 */ bne lbl_8026AC54 +/* 8026ACC4 00267C24 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026ACC8 00267C28 28 03 00 00 */ cmplwi r3, 0 +/* 8026ACCC 00267C2C 41 82 00 08 */ beq lbl_8026ACD4 +/* 8026ACD0 00267C30 48 0A AC 61 */ bl Free__7CMemoryFPCv +lbl_8026ACD4: +/* 8026ACD4 00267C34 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8026ACD8 00267C38 93 FE 00 08 */ stw r31, 8(r30) +lbl_8026ACDC: +/* 8026ACDC 00267C3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026ACE0 00267C40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026ACE4 00267C44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026ACE8 00267C48 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8026ACEC 00267C4C 7C 08 03 A6 */ mtlr r0 +/* 8026ACF0 00267C50 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026ACF4 00267C54 4E 80 00 20 */ blr + +.global sub_8026acf8 +sub_8026acf8: +/* 8026ACF8 00267C58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026ACFC 00267C5C 7C 08 02 A6 */ mflr r0 +/* 8026AD00 00267C60 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026AD04 00267C64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026AD08 00267C68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026AD0C 00267C6C 7C BE 2B 78 */ mr r30, r5 +/* 8026AD10 00267C70 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026AD14 00267C74 7C 9D 23 78 */ mr r29, r4 +/* 8026AD18 00267C78 83 E3 00 00 */ lwz r31, 0(r3) +/* 8026AD1C 00267C7C 48 00 00 18 */ b lbl_8026AD34 +lbl_8026AD20: +/* 8026AD20 00267C80 7F C3 F3 78 */ mr r3, r30 +/* 8026AD24 00267C84 7F E4 FB 78 */ mr r4, r31 +/* 8026AD28 00267C88 4B FF FC 3D */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash +/* 8026AD2C 00267C8C 3B DE 00 74 */ addi r30, r30, 0x74 +/* 8026AD30 00267C90 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_8026AD34: +/* 8026AD34 00267C94 80 1D 00 00 */ lwz r0, 0(r29) +/* 8026AD38 00267C98 7C 1F 00 40 */ cmplw r31, r0 +/* 8026AD3C 00267C9C 40 82 FF E4 */ bne lbl_8026AD20 +/* 8026AD40 00267CA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026AD44 00267CA4 7F C3 F3 78 */ mr r3, r30 +/* 8026AD48 00267CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026AD4C 00267CAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026AD50 00267CB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026AD54 00267CB4 7C 08 03 A6 */ mtlr r0 +/* 8026AD58 00267CB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026AD5C 00267CBC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSaveGameScreen.s b/asm/Kyoto_CWD/CSaveGameScreen.s new file mode 100644 index 00000000..fc1b3605 --- /dev/null +++ b/asm/Kyoto_CWD/CSaveGameScreen.s @@ -0,0 +1,1812 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetInGame__15CSaveGameScreenb +SetInGame__15CSaveGameScreenb: +/* 8024F16C 0024C0CC 98 83 00 93 */ stb r4, 0x93(r3) +/* 8024F170 0024C0D0 4E 80 00 20 */ blr + +.global SetUIColors__15CSaveGameScreenFv +SetUIColors__15CSaveGameScreenFv: +/* 8024F174 0024C0D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F178 0024C0D8 7C 08 02 A6 */ mflr r0 +/* 8024F17C 0024C0DC 38 C0 00 A0 */ li r6, 0xa0 +/* 8024F180 0024C0E0 38 80 FF FF */ li r4, -1 +/* 8024F184 0024C0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F188 0024C0E8 38 00 00 C8 */ li r0, 0xc8 +/* 8024F18C 0024C0EC 38 A1 00 08 */ addi r5, r1, 8 +/* 8024F190 0024C0F0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8024F194 0024C0F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8024F198 0024C0F8 98 C1 00 08 */ stb r6, 8(r1) +/* 8024F19C 0024C0FC 98 C1 00 09 */ stb r6, 9(r1) +/* 8024F1A0 0024C100 98 C1 00 0A */ stb r6, 0xa(r1) +/* 8024F1A4 0024C104 98 01 00 0B */ stb r0, 0xb(r1) +/* 8024F1A8 0024C108 80 63 00 58 */ lwz r3, 0x58(r3) +/* 8024F1AC 0024C10C 48 07 74 51 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor +/* 8024F1B0 0024C110 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F1B4 0024C114 7C 08 03 A6 */ mtlr r0 +/* 8024F1B8 0024C118 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F1BC 0024C11C 4E 80 00 20 */ blr + +.global DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup +DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup: +/* 8024F1C0 0024C120 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F1C4 0024C124 7C 08 02 A6 */ mflr r0 +/* 8024F1C8 0024C128 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F1CC 0024C12C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F1D0 0024C130 7C 7F 1B 78 */ mr r31, r3 +/* 8024F1D4 0024C134 4B FF FF A1 */ bl SetUIColors__15CSaveGameScreenFv +/* 8024F1D8 0024C138 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 8024F1DC 0024C13C 38 61 00 08 */ addi r3, r1, 8 +/* 8024F1E0 0024C140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8024F1E4 0024C144 38 A0 00 7F */ li r5, 0x7f +/* 8024F1E8 0024C148 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8024F1EC 0024C14C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8024F1F0 0024C150 38 C0 00 40 */ li r6, 0x40 +/* 8024F1F4 0024C154 38 E0 00 00 */ li r7, 0 +/* 8024F1F8 0024C158 39 20 00 00 */ li r9, 0 +/* 8024F1FC 0024C15C 48 09 AB 79 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8024F200 0024C160 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F204 0024C164 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F208 0024C168 7C 08 03 A6 */ mtlr r0 +/* 8024F20C 0024C16C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F210 0024C170 4E 80 00 20 */ blr + +.global DoAdvance__15CSaveGameScreenFP14CGuiTableGroup +DoAdvance__15CSaveGameScreenFP14CGuiTableGroup: +/* 8024F214 0024C174 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F218 0024C178 7C 08 02 A6 */ mflr r0 +/* 8024F21C 0024C17C 38 C0 FF FF */ li r6, -1 +/* 8024F220 0024C180 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F224 0024C184 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F228 0024C188 7C 7F 1B 78 */ mr r31, r3 +/* 8024F22C 0024C18C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024F230 0024C190 80 83 00 58 */ lwz r4, 0x58(r3) +/* 8024F234 0024C194 28 00 00 10 */ cmplwi r0, 0x10 +/* 8024F238 0024C198 80 A4 00 C4 */ lwz r5, 0xc4(r4) +/* 8024F23C 0024C19C 41 81 03 78 */ bgt lbl_8024F5B4 +/* 8024F240 0024C1A0 3C 80 80 3F */ lis r4, lbl_803E8DB8@ha +/* 8024F244 0024C1A4 54 00 10 3A */ slwi r0, r0, 2 +/* 8024F248 0024C1A8 38 84 8D B8 */ addi r4, r4, lbl_803E8DB8@l +/* 8024F24C 0024C1AC 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8024F250 0024C1B0 7C 09 03 A6 */ mtctr r0 +/* 8024F254 0024C1B4 4E 80 04 20 */ bctr +/* 8024F258 0024C1B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F25C 0024C1BC 40 82 00 2C */ bne lbl_8024F288 +/* 8024F260 0024C1C0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F264 0024C1C4 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F268 0024C1C8 40 82 00 10 */ bne lbl_8024F278 +/* 8024F26C 0024C1CC 38 00 00 02 */ li r0, 2 +/* 8024F270 0024C1D0 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F274 0024C1D4 48 00 00 0C */ b lbl_8024F280 +lbl_8024F278: +/* 8024F278 0024C1D8 7F E3 FB 78 */ mr r3, r31 +/* 8024F27C 0024C1DC 48 00 04 D9 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F280: +/* 8024F280 0024C1E0 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F284 0024C1E4 48 00 03 30 */ b lbl_8024F5B4 +lbl_8024F288: +/* 8024F288 0024C1E8 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F28C 0024C1EC 40 82 03 28 */ bne lbl_8024F5B4 +/* 8024F290 0024C1F0 7F E3 FB 78 */ mr r3, r31 +/* 8024F294 0024C1F4 48 00 0A F9 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F298 0024C1F8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F29C 0024C1FC 48 00 03 18 */ b lbl_8024F5B4 +/* 8024F2A0 0024C200 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F2A4 0024C204 40 82 00 2C */ bne lbl_8024F2D0 +/* 8024F2A8 0024C208 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F2AC 0024C20C 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F2B0 0024C210 40 82 00 10 */ bne lbl_8024F2C0 +/* 8024F2B4 0024C214 38 00 00 02 */ li r0, 2 +/* 8024F2B8 0024C218 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F2BC 0024C21C 48 00 00 0C */ b lbl_8024F2C8 +lbl_8024F2C0: +/* 8024F2C0 0024C220 7F E3 FB 78 */ mr r3, r31 +/* 8024F2C4 0024C224 48 00 04 91 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F2C8: +/* 8024F2C8 0024C228 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F2CC 0024C22C 48 00 02 E8 */ b lbl_8024F5B4 +lbl_8024F2D0: +/* 8024F2D0 0024C230 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F2D4 0024C234 40 82 00 14 */ bne lbl_8024F2E8 +/* 8024F2D8 0024C238 7F E3 FB 78 */ mr r3, r31 +/* 8024F2DC 0024C23C 48 00 0A B1 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F2E0 0024C240 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F2E4 0024C244 48 00 02 D0 */ b lbl_8024F5B4 +lbl_8024F2E8: +/* 8024F2E8 0024C248 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F2EC 0024C24C 40 82 02 C8 */ bne lbl_8024F5B4 +/* 8024F2F0 0024C250 38 60 00 0F */ li r3, 0xf +/* 8024F2F4 0024C254 38 00 00 01 */ li r0, 1 +/* 8024F2F8 0024C258 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F2FC 0024C25C 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F300 0024C260 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F304 0024C264 48 00 02 B0 */ b lbl_8024F5B4 +/* 8024F308 0024C268 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F30C 0024C26C 40 82 00 2C */ bne lbl_8024F338 +/* 8024F310 0024C270 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F314 0024C274 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F318 0024C278 40 82 00 10 */ bne lbl_8024F328 +/* 8024F31C 0024C27C 38 00 00 02 */ li r0, 2 +/* 8024F320 0024C280 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F324 0024C284 48 00 00 0C */ b lbl_8024F330 +lbl_8024F328: +/* 8024F328 0024C288 7F E3 FB 78 */ mr r3, r31 +/* 8024F32C 0024C28C 48 00 04 29 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F330: +/* 8024F330 0024C290 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F334 0024C294 48 00 02 80 */ b lbl_8024F5B4 +lbl_8024F338: +/* 8024F338 0024C298 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F33C 0024C29C 40 82 00 14 */ bne lbl_8024F350 +/* 8024F340 0024C2A0 7F E3 FB 78 */ mr r3, r31 +/* 8024F344 0024C2A4 48 00 0A 49 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F348 0024C2A8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F34C 0024C2AC 48 00 02 68 */ b lbl_8024F5B4 +lbl_8024F350: +/* 8024F350 0024C2B0 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F354 0024C2B4 40 82 02 60 */ bne lbl_8024F5B4 +/* 8024F358 0024C2B8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F35C 0024C2BC 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F360 0024C2C0 40 82 00 1C */ bne lbl_8024F37C +/* 8024F364 0024C2C4 38 60 00 0D */ li r3, 0xd +/* 8024F368 0024C2C8 38 00 00 01 */ li r0, 1 +/* 8024F36C 0024C2CC 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F370 0024C2D0 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F374 0024C2D4 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F378 0024C2D8 48 00 02 3C */ b lbl_8024F5B4 +lbl_8024F37C: +/* 8024F37C 0024C2DC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F380 0024C2E0 38 80 00 01 */ li r4, 1 +/* 8024F384 0024C2E4 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F388 0024C2E8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F38C 0024C2EC 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F390 0024C2F0 48 00 02 24 */ b lbl_8024F5B4 +/* 8024F394 0024C2F4 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F398 0024C2F8 40 82 00 14 */ bne lbl_8024F3AC +/* 8024F39C 0024C2FC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F3A0 0024C300 4B FF E6 A9 */ bl StartFileDeleteBad__17CMemoryCardDriverFv +/* 8024F3A4 0024C304 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F3A8 0024C308 48 00 02 0C */ b lbl_8024F5B4 +lbl_8024F3AC: +/* 8024F3AC 0024C30C 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F3B0 0024C310 40 82 00 28 */ bne lbl_8024F3D8 +/* 8024F3B4 0024C314 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F3B8 0024C318 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F3BC 0024C31C 40 82 00 10 */ bne lbl_8024F3CC +/* 8024F3C0 0024C320 38 00 00 02 */ li r0, 2 +/* 8024F3C4 0024C324 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F3C8 0024C328 48 00 00 08 */ b lbl_8024F3D0 +lbl_8024F3CC: +/* 8024F3CC 0024C32C 48 00 03 89 */ bl ContinueWithoutSaving__15CSaveGameScreenFv +lbl_8024F3D0: +/* 8024F3D0 0024C330 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F3D4 0024C334 48 00 01 E0 */ b lbl_8024F5B4 +lbl_8024F3D8: +/* 8024F3D8 0024C338 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F3DC 0024C33C 40 82 01 D8 */ bne lbl_8024F5B4 +/* 8024F3E0 0024C340 48 00 09 AD */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F3E4 0024C344 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F3E8 0024C348 48 00 01 CC */ b lbl_8024F5B4 +/* 8024F3EC 0024C34C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F3F0 0024C350 2C 00 00 01 */ cmpwi r0, 1 +/* 8024F3F4 0024C354 40 82 00 50 */ bne lbl_8024F444 +/* 8024F3F8 0024C358 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F3FC 0024C35C 40 82 00 14 */ bne lbl_8024F410 +/* 8024F400 0024C360 38 00 00 02 */ li r0, 2 +/* 8024F404 0024C364 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F408 0024C368 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F40C 0024C36C 48 00 01 A8 */ b lbl_8024F5B4 +lbl_8024F410: +/* 8024F410 0024C370 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F414 0024C374 40 82 00 10 */ bne lbl_8024F424 +/* 8024F418 0024C378 48 00 09 75 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F41C 0024C37C 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F420 0024C380 48 00 01 94 */ b lbl_8024F5B4 +lbl_8024F424: +/* 8024F424 0024C384 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F428 0024C388 40 82 01 8C */ bne lbl_8024F5B4 +/* 8024F42C 0024C38C 38 60 00 0D */ li r3, 0xd +/* 8024F430 0024C390 38 00 00 01 */ li r0, 1 +/* 8024F434 0024C394 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024F438 0024C398 98 1F 00 91 */ stb r0, 0x91(r31) +/* 8024F43C 0024C39C 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F440 0024C3A0 48 00 01 74 */ b lbl_8024F5B4 +lbl_8024F444: +/* 8024F444 0024C3A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F448 0024C3A8 40 82 00 38 */ bne lbl_8024F480 +/* 8024F44C 0024C3AC 88 1F 00 93 */ lbz r0, 0x93(r31) +/* 8024F450 0024C3B0 28 00 00 00 */ cmplwi r0, 0 +/* 8024F454 0024C3B4 41 82 00 14 */ beq lbl_8024F468 +/* 8024F458 0024C3B8 38 00 00 02 */ li r0, 2 +/* 8024F45C 0024C3BC 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F460 0024C3C0 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F464 0024C3C4 48 00 01 50 */ b lbl_8024F5B4 +lbl_8024F468: +/* 8024F468 0024C3C8 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F46C 0024C3CC 4B FF E8 F1 */ bl ClearError__17CMemoryCardDriverFv +/* 8024F470 0024C3D0 38 00 00 01 */ li r0, 1 +/* 8024F474 0024C3D4 98 1F 00 92 */ stb r0, 0x92(r31) +/* 8024F478 0024C3D8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F47C 0024C3DC 48 00 01 38 */ b lbl_8024F5B4 +lbl_8024F480: +/* 8024F480 0024C3E0 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F484 0024C3E4 40 82 00 10 */ bne lbl_8024F494 +/* 8024F488 0024C3E8 48 00 09 05 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F48C 0024C3EC 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F490 0024C3F0 48 00 01 24 */ b lbl_8024F5B4 +lbl_8024F494: +/* 8024F494 0024C3F4 2C 05 00 02 */ cmpwi r5, 2 +/* 8024F498 0024C3F8 40 82 01 1C */ bne lbl_8024F5B4 +/* 8024F49C 0024C3FC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F4A0 0024C400 38 80 00 01 */ li r4, 1 +/* 8024F4A4 0024C404 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F4A8 0024C408 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F4AC 0024C40C 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F4B0 0024C410 48 00 01 04 */ b lbl_8024F5B4 +/* 8024F4B4 0024C414 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F4B8 0024C418 40 82 00 1C */ bne lbl_8024F4D4 +/* 8024F4BC 0024C41C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 8024F4C0 0024C420 38 80 00 01 */ li r4, 1 +/* 8024F4C4 0024C424 88 03 01 60 */ lbz r0, 0x160(r3) +/* 8024F4C8 0024C428 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8024F4CC 0024C42C 98 03 01 60 */ stb r0, 0x160(r3) +/* 8024F4D0 0024C430 48 00 00 E4 */ b lbl_8024F5B4 +lbl_8024F4D4: +/* 8024F4D4 0024C434 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F4D8 0024C438 40 82 00 DC */ bne lbl_8024F5B4 +/* 8024F4DC 0024C43C 38 00 00 02 */ li r0, 2 +/* 8024F4E0 0024C440 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F4E4 0024C444 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F4E8 0024C448 48 00 00 CC */ b lbl_8024F5B4 +/* 8024F4EC 0024C44C 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F4F0 0024C450 40 82 00 30 */ bne lbl_8024F520 +/* 8024F4F4 0024C454 80 9F 00 6C */ lwz r4, 0x6c(r31) +/* 8024F4F8 0024C458 38 00 00 00 */ li r0, 0 +/* 8024F4FC 0024C45C 80 64 00 28 */ lwz r3, 0x28(r4) +/* 8024F500 0024C460 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 8024F504 0024C464 90 9F 00 0C */ stw r4, 0xc(r31) +/* 8024F508 0024C468 90 7F 00 08 */ stw r3, 8(r31) +/* 8024F50C 0024C46C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024F510 0024C470 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F514 0024C474 4B FF E5 C1 */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F518 0024C478 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F51C 0024C47C 48 00 00 98 */ b lbl_8024F5B4 +lbl_8024F520: +/* 8024F520 0024C480 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F524 0024C484 40 82 00 90 */ bne lbl_8024F5B4 +/* 8024F528 0024C488 38 00 00 02 */ li r0, 2 +/* 8024F52C 0024C48C 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F530 0024C490 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F534 0024C494 48 00 00 80 */ b lbl_8024F5B4 +/* 8024F538 0024C498 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F53C 0024C49C 40 82 00 1C */ bne lbl_8024F558 +/* 8024F540 0024C4A0 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F544 0024C4A4 4B FF DE 9D */ bl StartCardFormat__17CMemoryCardDriverFv +/* 8024F548 0024C4A8 38 00 00 00 */ li r0, 0 +/* 8024F54C 0024C4AC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024F550 0024C4B0 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F554 0024C4B4 48 00 00 60 */ b lbl_8024F5B4 +lbl_8024F558: +/* 8024F558 0024C4B8 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F55C 0024C4BC 40 82 00 58 */ bne lbl_8024F5B4 +/* 8024F560 0024C4C0 48 00 08 2D */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F564 0024C4C4 80 DF 00 8C */ lwz r6, 0x8c(r31) +/* 8024F568 0024C4C8 48 00 00 4C */ b lbl_8024F5B4 +/* 8024F56C 0024C4CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024F570 0024C4D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8024F574 0024C4D4 41 82 00 40 */ beq lbl_8024F5B4 +/* 8024F578 0024C4D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8024F57C 0024C4DC 40 82 00 24 */ bne lbl_8024F5A0 +/* 8024F580 0024C4E0 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8024F584 0024C4E4 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F588 0024C4E8 80 84 02 0C */ lwz r4, 0x20c(r4) +/* 8024F58C 0024C4EC 4B FF D3 61 */ bl BuildExistingFileSlot__17CMemoryCardDriverFi +/* 8024F590 0024C4F0 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F594 0024C4F4 4B FF DF 79 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F598 0024C4F8 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 8024F59C 0024C4FC 48 00 00 18 */ b lbl_8024F5B4 +lbl_8024F5A0: +/* 8024F5A0 0024C500 2C 05 00 01 */ cmpwi r5, 1 +/* 8024F5A4 0024C504 40 82 00 10 */ bne lbl_8024F5B4 +/* 8024F5A8 0024C508 38 00 00 02 */ li r0, 2 +/* 8024F5AC 0024C50C 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8024F5B0 0024C510 80 DF 00 8C */ lwz r6, 0x8c(r31) +lbl_8024F5B4: +/* 8024F5B4 0024C514 2C 06 00 00 */ cmpwi r6, 0 +/* 8024F5B8 0024C518 41 80 00 28 */ blt lbl_8024F5E0 +/* 8024F5BC 0024C51C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8024F5C0 0024C520 38 61 00 08 */ addi r3, r1, 8 +/* 8024F5C4 0024C524 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8024F5C8 0024C528 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8024F5CC 0024C52C 38 A0 00 7F */ li r5, 0x7f +/* 8024F5D0 0024C530 38 C0 00 40 */ li r6, 0x40 +/* 8024F5D4 0024C534 38 E0 00 00 */ li r7, 0 +/* 8024F5D8 0024C538 39 20 00 00 */ li r9, 0 +/* 8024F5DC 0024C53C 48 09 A7 99 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8024F5E0: +/* 8024F5E0 0024C540 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F5E4 0024C544 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F5E8 0024C548 7C 08 03 A6 */ mtlr r0 +/* 8024F5EC 0024C54C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F5F0 0024C550 4E 80 00 20 */ blr + +.global StartGame__15CSaveGameScreenFi +StartGame__15CSaveGameScreenFi: +/* 8024F5F4 0024C554 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024F5F8 0024C558 7C 08 02 A6 */ mflr r0 +/* 8024F5FC 0024C55C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024F600 0024C560 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024F604 0024C564 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8024F608 0024C568 7C 9E 23 78 */ mr r30, r4 +/* 8024F60C 0024C56C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8024F610 0024C570 7C 7D 1B 78 */ mr r29, r3 +/* 8024F614 0024C574 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F618 0024C578 4B FF CC CD */ bl GetGameFileStateInfo__17CMemoryCardDriverFi +/* 8024F61C 0024C57C 7C 60 00 34 */ cntlzw r0, r3 +/* 8024F620 0024C580 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F624 0024C584 54 1F D9 7E */ srwi r31, r0, 5 +/* 8024F628 0024C588 4B FF D1 B5 */ bl ExportPersistentOptions__17CMemoryCardDriverFv +/* 8024F62C 0024C58C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F630 0024C590 7F C4 F3 78 */ mr r4, r30 +/* 8024F634 0024C594 4B FF D4 89 */ bl BuildNewFileSlot__17CMemoryCardDriverFi +/* 8024F638 0024C598 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8024F63C 0024C59C 41 82 00 10 */ beq lbl_8024F64C +/* 8024F640 0024C5A0 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F644 0024C5A4 4B FF DE C9 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F648 0024C5A8 48 00 00 0C */ b lbl_8024F654 +lbl_8024F64C: +/* 8024F64C 0024C5AC 38 00 00 01 */ li r0, 1 +/* 8024F650 0024C5B0 90 1D 00 80 */ stw r0, 0x80(r29) +lbl_8024F654: +/* 8024F654 0024C5B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024F658 0024C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024F65C 0024C5BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8024F660 0024C5C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8024F664 0024C5C4 7C 08 03 A6 */ mtlr r0 +/* 8024F668 0024C5C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024F66C 0024C5CC 4E 80 00 20 */ blr + +.global SaveNESState__15CSaveGameScreenFv +SaveNESState__15CSaveGameScreenFv: +/* 8024F670 0024C5D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F674 0024C5D4 7C 08 02 A6 */ mflr r0 +/* 8024F678 0024C5D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F67C 0024C5DC 88 03 00 92 */ lbz r0, 0x92(r3) +/* 8024F680 0024C5E0 28 00 00 00 */ cmplwi r0, 0 +/* 8024F684 0024C5E4 40 82 00 28 */ bne lbl_8024F6AC +/* 8024F688 0024C5E8 38 00 00 01 */ li r0, 1 +/* 8024F68C 0024C5EC 98 03 00 90 */ stb r0, 0x90(r3) +/* 8024F690 0024C5F0 80 83 00 6C */ lwz r4, 0x6c(r3) +/* 8024F694 0024C5F4 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8024F698 0024C5F8 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 8024F69C 0024C5FC 90 83 00 0C */ stw r4, 0xc(r3) +/* 8024F6A0 0024C600 90 03 00 08 */ stw r0, 8(r3) +/* 8024F6A4 0024C604 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F6A8 0024C608 4B FF DE 65 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +lbl_8024F6AC: +/* 8024F6AC 0024C60C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F6B0 0024C610 7C 08 03 A6 */ mtlr r0 +/* 8024F6B4 0024C614 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F6B8 0024C618 4E 80 00 20 */ blr + +.global EraseGame__15CSaveGameScreenFi +EraseGame__15CSaveGameScreenFi: +/* 8024F6BC 0024C61C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F6C0 0024C620 7C 08 02 A6 */ mflr r0 +/* 8024F6C4 0024C624 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F6C8 0024C628 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8024F6CC 0024C62C 7C 7F 1B 78 */ mr r31, r3 +/* 8024F6D0 0024C630 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F6D4 0024C634 4B FF D6 09 */ bl EraseFileSlot__17CMemoryCardDriverFi +/* 8024F6D8 0024C638 38 00 00 01 */ li r0, 1 +/* 8024F6DC 0024C63C 98 1F 00 90 */ stb r0, 0x90(r31) +/* 8024F6E0 0024C640 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024F6E4 0024C644 4B FF DE 29 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +/* 8024F6E8 0024C648 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F6EC 0024C64C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8024F6F0 0024C650 7C 08 03 A6 */ mtlr r0 +/* 8024F6F4 0024C654 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F6F8 0024C658 4E 80 00 20 */ blr + +.global GetGameData__15CSaveGameScreenFi +GetGameData__15CSaveGameScreenFi: +/* 8024F6FC 0024C65C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F700 0024C660 7C 08 02 A6 */ mflr r0 +/* 8024F704 0024C664 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F708 0024C668 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024F70C 0024C66C 4B FF CB D9 */ bl GetGameFileStateInfo__17CMemoryCardDriverFi +/* 8024F710 0024C670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F714 0024C674 7C 08 03 A6 */ mtlr r0 +/* 8024F718 0024C678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F71C 0024C67C 4E 80 00 20 */ blr + +.global Draw__15CSaveGameScreenFv +Draw__15CSaveGameScreenFv: +/* 8024F720 0024C680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F724 0024C684 7C 08 02 A6 */ mflr r0 +/* 8024F728 0024C688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F72C 0024C68C 80 63 00 50 */ lwz r3, 0x50(r3) +/* 8024F730 0024C690 28 03 00 00 */ cmplwi r3, 0 +/* 8024F734 0024C694 41 82 00 10 */ beq lbl_8024F744 +/* 8024F738 0024C698 3C 80 80 5A */ lis r4, lbl_8059FD08@ha +/* 8024F73C 0024C69C 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l +/* 8024F740 0024C6A0 48 07 2F F5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms +lbl_8024F744: +/* 8024F744 0024C6A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F748 0024C6A8 7C 08 03 A6 */ mtlr r0 +/* 8024F74C 0024C6AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F750 0024C6B0 4E 80 00 20 */ blr + +.global ContinueWithoutSaving__15CSaveGameScreenFv +ContinueWithoutSaving__15CSaveGameScreenFv: +/* 8024F754 0024C6B4 38 80 00 03 */ li r4, 3 +/* 8024F758 0024C6B8 38 00 00 00 */ li r0, 0 +/* 8024F75C 0024C6BC 90 83 00 80 */ stw r4, 0x80(r3) +/* 8024F760 0024C6C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8024F764 0024C6C4 90 03 02 14 */ stw r0, 0x214(r3) +/* 8024F768 0024C6C8 90 03 02 10 */ stw r0, 0x210(r3) +/* 8024F76C 0024C6CC 4E 80 00 20 */ blr + +.global ProcessUserInput__15CSaveGameScreenFRC11CFinalInput +ProcessUserInput__15CSaveGameScreenFRC11CFinalInput: +/* 8024F770 0024C6D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024F774 0024C6D4 7C 08 02 A6 */ mflr r0 +/* 8024F778 0024C6D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024F77C 0024C6DC 80 63 00 50 */ lwz r3, 0x50(r3) +/* 8024F780 0024C6E0 28 03 00 00 */ cmplwi r3, 0 +/* 8024F784 0024C6E4 41 82 00 08 */ beq lbl_8024F78C +/* 8024F788 0024C6E8 48 07 2E D1 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput +lbl_8024F78C: +/* 8024F78C 0024C6EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024F790 0024C6F0 7C 08 03 A6 */ mtlr r0 +/* 8024F794 0024C6F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024F798 0024C6F8 4E 80 00 20 */ blr + +.global Update__15CSaveGameScreenFf +Update__15CSaveGameScreenFf: +/* 8024F79C 0024C6FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8024F7A0 0024C700 7C 08 02 A6 */ mflr r0 +/* 8024F7A4 0024C704 90 01 00 44 */ stw r0, 0x44(r1) +/* 8024F7A8 0024C708 DB E1 00 38 */ stfd f31, 0x38(r1) +/* 8024F7AC 0024C70C FF E0 08 90 */ fmr f31, f1 +/* 8024F7B0 0024C710 93 E1 00 34 */ stw r31, 0x34(r1) +/* 8024F7B4 0024C714 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8024F7B8 0024C718 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8024F7BC 0024C71C 7C 7D 1B 78 */ mr r29, r3 +/* 8024F7C0 0024C720 93 81 00 28 */ stw r28, 0x28(r1) +/* 8024F7C4 0024C724 48 00 01 E1 */ bl PumpLoad__15CSaveGameScreenFv +/* 8024F7C8 0024C728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024F7CC 0024C72C 40 82 00 0C */ bne lbl_8024F7D8 +/* 8024F7D0 0024C730 38 60 00 00 */ li r3, 0 +/* 8024F7D4 0024C734 48 00 01 AC */ b lbl_8024F980 +lbl_8024F7D8: +/* 8024F7D8 0024C738 FC 20 F8 90 */ fmr f1, f31 +/* 8024F7DC 0024C73C 80 7D 00 50 */ lwz r3, 0x50(r29) +/* 8024F7E0 0024C740 48 07 2F 25 */ bl Update__9CGuiFrameFf +/* 8024F7E4 0024C744 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F7E8 0024C748 4B FF EE 29 */ bl Update__17CMemoryCardDriverFv +/* 8024F7EC 0024C74C 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F7F0 0024C750 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8024F7F4 0024C754 83 C3 00 14 */ lwz r30, 0x14(r3) +/* 8024F7F8 0024C758 2C 1F 00 03 */ cmpwi r31, 3 +/* 8024F7FC 0024C75C 40 82 00 30 */ bne lbl_8024F82C +/* 8024F800 0024C760 88 1D 00 90 */ lbz r0, 0x90(r29) +/* 8024F804 0024C764 28 00 00 00 */ cmplwi r0, 0 +/* 8024F808 0024C768 41 82 00 18 */ beq lbl_8024F820 +/* 8024F80C 0024C76C 7F A3 EB 78 */ mr r3, r29 +/* 8024F810 0024C770 48 00 05 7D */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F814 0024C774 38 00 00 00 */ li r0, 0 +/* 8024F818 0024C778 98 1D 00 90 */ stb r0, 0x90(r29) +/* 8024F81C 0024C77C 48 00 00 AC */ b lbl_8024F8C8 +lbl_8024F820: +/* 8024F820 0024C780 38 00 00 01 */ li r0, 1 +/* 8024F824 0024C784 90 1D 00 80 */ stw r0, 0x80(r29) +/* 8024F828 0024C788 48 00 00 A0 */ b lbl_8024F8C8 +lbl_8024F82C: +/* 8024F82C 0024C78C 2C 1F 00 07 */ cmpwi r31, 7 +/* 8024F830 0024C790 40 82 00 80 */ bne lbl_8024F8B0 +/* 8024F834 0024C794 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8024F838 0024C798 2C 00 00 0E */ cmpwi r0, 0xe +/* 8024F83C 0024C79C 41 82 00 74 */ beq lbl_8024F8B0 +/* 8024F840 0024C7A0 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 8024F844 0024C7A4 38 80 00 00 */ li r4, 0 +/* 8024F848 0024C7A8 80 C3 00 2C */ lwz r6, 0x2c(r3) +/* 8024F84C 0024C7AC 7C A0 22 78 */ xor r0, r5, r4 +/* 8024F850 0024C7B0 7C C4 22 78 */ xor r4, r6, r4 +/* 8024F854 0024C7B4 7C 80 03 79 */ or. r0, r4, r0 +/* 8024F858 0024C7B8 41 82 00 50 */ beq lbl_8024F8A8 +/* 8024F85C 0024C7BC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8024F860 0024C7C0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8024F864 0024C7C4 7C A0 02 78 */ xor r0, r5, r0 +/* 8024F868 0024C7C8 7C C4 22 78 */ xor r4, r6, r4 +/* 8024F86C 0024C7CC 7C 80 03 79 */ or. r0, r4, r0 +/* 8024F870 0024C7D0 41 82 00 38 */ beq lbl_8024F8A8 +/* 8024F874 0024C7D4 88 1D 00 93 */ lbz r0, 0x93(r29) +/* 8024F878 0024C7D8 28 00 00 00 */ cmplwi r0, 0 +/* 8024F87C 0024C7DC 41 82 00 18 */ beq lbl_8024F894 +/* 8024F880 0024C7E0 38 60 00 0E */ li r3, 0xe +/* 8024F884 0024C7E4 38 00 00 01 */ li r0, 1 +/* 8024F888 0024C7E8 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8024F88C 0024C7EC 98 1D 00 91 */ stb r0, 0x91(r29) +/* 8024F890 0024C7F0 48 00 00 38 */ b lbl_8024F8C8 +lbl_8024F894: +/* 8024F894 0024C7F4 90 DD 00 0C */ stw r6, 0xc(r29) +/* 8024F898 0024C7F8 90 BD 00 08 */ stw r5, 8(r29) +/* 8024F89C 0024C7FC 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F8A0 0024C800 4B FF E2 35 */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F8A4 0024C804 48 00 00 24 */ b lbl_8024F8C8 +lbl_8024F8A8: +/* 8024F8A8 0024C808 4B FF E2 2D */ bl IndexFiles__17CMemoryCardDriverFv +/* 8024F8AC 0024C80C 48 00 00 1C */ b lbl_8024F8C8 +lbl_8024F8B0: +/* 8024F8B0 0024C810 2C 1F 00 01 */ cmpwi r31, 1 +/* 8024F8B4 0024C814 40 82 00 14 */ bne lbl_8024F8C8 +/* 8024F8B8 0024C818 88 1D 00 90 */ lbz r0, 0x90(r29) +/* 8024F8BC 0024C81C 28 00 00 00 */ cmplwi r0, 0 +/* 8024F8C0 0024C820 41 82 00 08 */ beq lbl_8024F8C8 +/* 8024F8C4 0024C824 4B FF DC 49 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv +lbl_8024F8C8: +/* 8024F8C8 0024C828 80 7D 00 80 */ lwz r3, 0x80(r29) +/* 8024F8CC 0024C82C 2C 03 00 00 */ cmpwi r3, 0 +/* 8024F8D0 0024C830 41 82 00 08 */ beq lbl_8024F8D8 +/* 8024F8D4 0024C834 48 00 00 AC */ b lbl_8024F980 +lbl_8024F8D8: +/* 8024F8D8 0024C838 83 9D 00 10 */ lwz r28, 0x10(r29) +/* 8024F8DC 0024C83C 7F A3 EB 78 */ mr r3, r29 +/* 8024F8E0 0024C840 48 00 0F 45 */ bl SelectUIType__15CSaveGameScreenFv +/* 8024F8E4 0024C844 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8024F8E8 0024C848 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8024F8EC 0024C84C 7C 1C 00 00 */ cmpw r28, r0 +/* 8024F8F0 0024C850 40 82 00 10 */ bne lbl_8024F900 +/* 8024F8F4 0024C854 88 1D 00 91 */ lbz r0, 0x91(r29) +/* 8024F8F8 0024C858 28 00 00 00 */ cmplwi r0, 0 +/* 8024F8FC 0024C85C 41 82 00 0C */ beq lbl_8024F908 +lbl_8024F900: +/* 8024F900 0024C860 7F A3 EB 78 */ mr r3, r29 +/* 8024F904 0024C864 48 00 0A 89 */ bl SetUIText__15CSaveGameScreenFv +lbl_8024F908: +/* 8024F908 0024C868 2C 1F 00 02 */ cmpwi r31, 2 +/* 8024F90C 0024C86C 40 82 00 44 */ bne lbl_8024F950 +/* 8024F910 0024C870 38 61 00 08 */ addi r3, r1, 8 +/* 8024F914 0024C874 38 80 00 00 */ li r4, 0 +/* 8024F918 0024C878 48 0F EA F5 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8024F91C 0024C87C 80 81 00 08 */ lwz r4, 8(r1) +/* 8024F920 0024C880 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8024F924 0024C884 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8024F928 0024C888 2C 04 00 00 */ cmpwi r4, 0 +/* 8024F92C 0024C88C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8024F930 0024C890 90 61 00 18 */ stw r3, 0x18(r1) +/* 8024F934 0024C894 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8024F938 0024C898 41 82 00 0C */ beq lbl_8024F944 +/* 8024F93C 0024C89C 2C 04 FF FE */ cmpwi r4, -2 +/* 8024F940 0024C8A0 40 82 00 3C */ bne lbl_8024F97C +lbl_8024F944: +/* 8024F944 0024C8A4 7F A3 EB 78 */ mr r3, r29 +/* 8024F948 0024C8A8 48 00 04 45 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F94C 0024C8AC 48 00 00 30 */ b lbl_8024F97C +lbl_8024F950: +/* 8024F950 0024C8B0 2C 1F 00 04 */ cmpwi r31, 4 +/* 8024F954 0024C8B4 40 82 00 10 */ bne lbl_8024F964 +/* 8024F958 0024C8B8 7F A3 EB 78 */ mr r3, r29 +/* 8024F95C 0024C8BC 48 00 04 31 */ bl ResetCardDriver__15CSaveGameScreenFv +/* 8024F960 0024C8C0 48 00 00 1C */ b lbl_8024F97C +lbl_8024F964: +/* 8024F964 0024C8C4 2C 1F 00 11 */ cmpwi r31, 0x11 +/* 8024F968 0024C8C8 40 82 00 14 */ bne lbl_8024F97C +/* 8024F96C 0024C8CC 2C 1E 00 08 */ cmpwi r30, 8 +/* 8024F970 0024C8D0 40 82 00 0C */ bne lbl_8024F97C +/* 8024F974 0024C8D4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8024F978 0024C8D8 4B FF DE C9 */ bl StartFileCreate__17CMemoryCardDriverFv +lbl_8024F97C: +/* 8024F97C 0024C8DC 38 60 00 00 */ li r3, 0 +lbl_8024F980: +/* 8024F980 0024C8E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8024F984 0024C8E4 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 8024F988 0024C8E8 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8024F98C 0024C8EC 83 C1 00 30 */ lwz r30, 0x30(r1) +/* 8024F990 0024C8F0 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 8024F994 0024C8F4 83 81 00 28 */ lwz r28, 0x28(r1) +/* 8024F998 0024C8F8 7C 08 03 A6 */ mtlr r0 +/* 8024F99C 0024C8FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8024F9A0 0024C900 4E 80 00 20 */ blr + +.global PumpLoad__15CSaveGameScreenFv +PumpLoad__15CSaveGameScreenFv: +/* 8024F9A4 0024C904 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8024F9A8 0024C908 7C 08 02 A6 */ mflr r0 +/* 8024F9AC 0024C90C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8024F9B0 0024C910 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8024F9B4 0024C914 7C 7F 1B 78 */ mr r31, r3 +/* 8024F9B8 0024C918 80 03 00 50 */ lwz r0, 0x50(r3) +/* 8024F9BC 0024C91C 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9C0 0024C920 41 82 00 0C */ beq lbl_8024F9CC +/* 8024F9C4 0024C924 38 60 00 01 */ li r3, 1 +/* 8024F9C8 0024C928 48 00 02 F8 */ b lbl_8024FCC0 +lbl_8024F9CC: +/* 8024F9CC 0024C92C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8024F9D0 0024C930 38 80 00 00 */ li r4, 0 +/* 8024F9D4 0024C934 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9D8 0024C938 40 82 00 14 */ bne lbl_8024F9EC +/* 8024F9DC 0024C93C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8024F9E0 0024C940 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024F9E4 0024C944 28 00 00 00 */ cmplwi r0, 0 +/* 8024F9E8 0024C948 41 82 00 08 */ beq lbl_8024F9F0 +lbl_8024F9EC: +/* 8024F9EC 0024C94C 38 80 00 01 */ li r4, 1 +lbl_8024F9F0: +/* 8024F9F0 0024C950 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024F9F4 0024C954 41 82 00 B0 */ beq lbl_8024FAA4 +/* 8024F9F8 0024C958 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8024F9FC 0024C95C 38 80 00 00 */ li r4, 0 +/* 8024FA00 0024C960 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA04 0024C964 40 82 00 14 */ bne lbl_8024FA18 +/* 8024FA08 0024C968 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8024FA0C 0024C96C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA10 0024C970 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA14 0024C974 41 82 00 08 */ beq lbl_8024FA1C +lbl_8024FA18: +/* 8024FA18 0024C978 38 80 00 01 */ li r4, 1 +lbl_8024FA1C: +/* 8024FA1C 0024C97C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024FA20 0024C980 41 82 00 84 */ beq lbl_8024FAA4 +/* 8024FA24 0024C984 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8024FA28 0024C988 38 80 00 00 */ li r4, 0 +/* 8024FA2C 0024C98C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA30 0024C990 40 82 00 14 */ bne lbl_8024FA44 +/* 8024FA34 0024C994 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8024FA38 0024C998 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA3C 0024C99C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA40 0024C9A0 41 82 00 08 */ beq lbl_8024FA48 +lbl_8024FA44: +/* 8024FA44 0024C9A4 38 80 00 01 */ li r4, 1 +lbl_8024FA48: +/* 8024FA48 0024C9A8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8024FA4C 0024C9AC 41 82 00 58 */ beq lbl_8024FAA4 +/* 8024FA50 0024C9B0 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8024FA54 0024C9B4 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA58 0024C9B8 41 82 00 0C */ beq lbl_8024FA64 +/* 8024FA5C 0024C9BC 38 60 00 01 */ li r3, 1 +/* 8024FA60 0024C9C0 48 00 00 3C */ b lbl_8024FA9C +lbl_8024FA64: +/* 8024FA64 0024C9C4 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 8024FA68 0024C9C8 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA6C 0024C9CC 41 82 00 2C */ beq lbl_8024FA98 +/* 8024FA70 0024C9D0 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8024FA74 0024C9D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FA78 0024C9D8 28 00 00 00 */ cmplwi r0, 0 +/* 8024FA7C 0024C9DC 41 82 00 1C */ beq lbl_8024FA98 +/* 8024FA80 0024C9E0 38 7F 00 38 */ addi r3, r31, 0x38 +/* 8024FA84 0024C9E4 48 0F 13 89 */ bl GetObj__6CTokenFv +/* 8024FA88 0024C9E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8024FA8C 0024C9EC 38 60 00 01 */ li r3, 1 +/* 8024FA90 0024C9F0 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8024FA94 0024C9F4 48 00 00 08 */ b lbl_8024FA9C +lbl_8024FA98: +/* 8024FA98 0024C9F8 38 60 00 00 */ li r3, 0 +lbl_8024FA9C: +/* 8024FA9C 0024C9FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024FAA0 0024CA00 40 82 00 0C */ bne lbl_8024FAAC +lbl_8024FAA4: +/* 8024FAA4 0024CA04 38 60 00 00 */ li r3, 0 +/* 8024FAA8 0024CA08 48 00 02 18 */ b lbl_8024FCC0 +lbl_8024FAAC: +/* 8024FAAC 0024CA0C 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 8024FAB0 0024CA10 80 BF 00 7C */ lwz r5, 0x7c(r31) +/* 8024FAB4 0024CA14 54 00 18 38 */ slwi r0, r0, 3 +/* 8024FAB8 0024CA18 7C 85 02 14 */ add r4, r5, r0 +/* 8024FABC 0024CA1C 48 00 00 20 */ b lbl_8024FADC +lbl_8024FAC0: +/* 8024FAC0 0024CA20 80 65 00 00 */ lwz r3, 0(r5) +/* 8024FAC4 0024CA24 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FAC8 0024CA28 28 00 00 00 */ cmplwi r0, 0 +/* 8024FACC 0024CA2C 40 82 00 0C */ bne lbl_8024FAD8 +/* 8024FAD0 0024CA30 38 60 00 00 */ li r3, 0 +/* 8024FAD4 0024CA34 48 00 01 EC */ b lbl_8024FCC0 +lbl_8024FAD8: +/* 8024FAD8 0024CA38 38 A5 00 08 */ addi r5, r5, 8 +lbl_8024FADC: +/* 8024FADC 0024CA3C 7C 05 20 40 */ cmplw r5, r4 +/* 8024FAE0 0024CA40 40 82 FF E0 */ bne lbl_8024FAC0 +/* 8024FAE4 0024CA44 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8024FAE8 0024CA48 28 00 00 00 */ cmplwi r0, 0 +/* 8024FAEC 0024CA4C 41 82 00 0C */ beq lbl_8024FAF8 +/* 8024FAF0 0024CA50 38 60 00 01 */ li r3, 1 +/* 8024FAF4 0024CA54 48 00 00 3C */ b lbl_8024FB30 +lbl_8024FAF8: +/* 8024FAF8 0024CA58 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8024FAFC 0024CA5C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FB00 0024CA60 41 82 00 2C */ beq lbl_8024FB2C +/* 8024FB04 0024CA64 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8024FB08 0024CA68 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8024FB0C 0024CA6C 28 00 00 00 */ cmplwi r0, 0 +/* 8024FB10 0024CA70 41 82 00 1C */ beq lbl_8024FB2C +/* 8024FB14 0024CA74 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8024FB18 0024CA78 48 0F 12 F5 */ bl GetObj__6CTokenFv +/* 8024FB1C 0024CA7C 80 03 00 04 */ lwz r0, 4(r3) +/* 8024FB20 0024CA80 38 60 00 01 */ li r3, 1 +/* 8024FB24 0024CA84 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8024FB28 0024CA88 48 00 00 08 */ b lbl_8024FB30 +lbl_8024FB2C: +/* 8024FB2C 0024CA8C 38 60 00 00 */ li r3, 0 +lbl_8024FB30: +/* 8024FB30 0024CA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8024FB34 0024CA94 41 82 01 58 */ beq lbl_8024FC8C +/* 8024FB38 0024CA98 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8024FB3C 0024CA9C 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB40 0024CAA0 38 63 4A 90 */ addi r3, r3, lbl_803D4A90@l +/* 8024FB44 0024CAA4 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8024FB48 0024CAA8 38 83 00 4F */ addi r4, r3, 0x4f +/* 8024FB4C 0024CAAC 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB50 0024CAB0 48 07 26 05 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB54 0024CAB4 90 7F 00 54 */ stw r3, 0x54(r31) +/* 8024FB58 0024CAB8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB5C 0024CABC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB60 0024CAC0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB64 0024CAC4 38 84 00 60 */ addi r4, r4, 0x60 +/* 8024FB68 0024CAC8 48 07 25 ED */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB6C 0024CACC 90 7F 00 58 */ stw r3, 0x58(r31) +/* 8024FB70 0024CAD0 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB74 0024CAD4 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB78 0024CAD8 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB7C 0024CADC 38 84 00 73 */ addi r4, r4, 0x73 +/* 8024FB80 0024CAE0 48 07 25 D5 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB84 0024CAE4 90 7F 00 5C */ stw r3, 0x5c(r31) +/* 8024FB88 0024CAE8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FB8C 0024CAEC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FB90 0024CAF0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FB94 0024CAF4 38 84 00 84 */ addi r4, r4, 0x84 +/* 8024FB98 0024CAF8 48 07 25 BD */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FB9C 0024CAFC 90 7F 00 60 */ stw r3, 0x60(r31) +/* 8024FBA0 0024CB00 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FBA4 0024CB04 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FBA8 0024CB08 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FBAC 0024CB0C 38 84 00 95 */ addi r4, r4, 0x95 +/* 8024FBB0 0024CB10 48 07 25 A5 */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FBB4 0024CB14 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8024FBB8 0024CB18 3C 60 80 3D */ lis r3, lbl_803D4A90@ha +/* 8024FBBC 0024CB1C 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l +/* 8024FBC0 0024CB20 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8024FBC4 0024CB24 38 84 00 A6 */ addi r4, r4, 0xa6 +/* 8024FBC8 0024CB28 48 07 25 8D */ bl FindWidget__9CGuiFrameCFPCc +/* 8024FBCC 0024CB2C 90 7F 00 68 */ stw r3, 0x68(r31) +/* 8024FBD0 0024CB30 3C 60 80 3F */ lis r3, lbl_803E8DA0@ha +/* 8024FBD4 0024CB34 39 03 8D A0 */ addi r8, r3, lbl_803E8DA0@l +/* 8024FBD8 0024CB38 38 61 00 14 */ addi r3, r1, 0x14 +/* 8024FBDC 0024CB3C 80 E8 00 00 */ lwz r7, 0(r8) +/* 8024FBE0 0024CB40 38 81 00 2C */ addi r4, r1, 0x2c +/* 8024FBE4 0024CB44 80 C8 00 04 */ lwz r6, 4(r8) +/* 8024FBE8 0024CB48 38 A0 00 0C */ li r5, 0xc +/* 8024FBEC 0024CB4C 80 08 00 08 */ lwz r0, 8(r8) +/* 8024FBF0 0024CB50 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8024FBF4 0024CB54 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8024FBF8 0024CB58 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FBFC 0024CB5C 4B DB 38 95 */ bl memcpy +/* 8024FC00 0024CB60 3C 60 80 25 */ lis r3, sub_8024fd38@ha +/* 8024FC04 0024CB64 93 E1 00 54 */ stw r31, 0x54(r1) +/* 8024FC08 0024CB68 38 03 FD 38 */ addi r0, r3, sub_8024fd38@l +/* 8024FC0C 0024CB6C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8024FC10 0024CB70 90 01 00 50 */ stw r0, 0x50(r1) +/* 8024FC14 0024CB74 38 81 00 14 */ addi r4, r1, 0x14 +/* 8024FC18 0024CB78 38 A0 00 0C */ li r5, 0xc +/* 8024FC1C 0024CB7C 4B DB 38 75 */ bl memcpy +/* 8024FC20 0024CB80 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8024FC24 0024CB84 38 81 00 50 */ addi r4, r1, 0x50 +/* 8024FC28 0024CB88 48 07 6C 31 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" +/* 8024FC2C 0024CB8C 3C 80 80 3F */ lis r4, lbl_803E8DAC@ha +/* 8024FC30 0024CB90 38 61 00 08 */ addi r3, r1, 8 +/* 8024FC34 0024CB94 39 04 8D AC */ addi r8, r4, lbl_803E8DAC@l +/* 8024FC38 0024CB98 38 81 00 20 */ addi r4, r1, 0x20 +/* 8024FC3C 0024CB9C 80 E8 00 00 */ lwz r7, 0(r8) +/* 8024FC40 0024CBA0 38 A0 00 0C */ li r5, 0xc +/* 8024FC44 0024CBA4 80 C8 00 04 */ lwz r6, 4(r8) +/* 8024FC48 0024CBA8 80 08 00 08 */ lwz r0, 8(r8) +/* 8024FC4C 0024CBAC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8024FC50 0024CBB0 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8024FC54 0024CBB4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8024FC58 0024CBB8 4B DB 38 39 */ bl memcpy +/* 8024FC5C 0024CBBC 3C 60 80 25 */ lis r3, sub_8024fcd4@ha +/* 8024FC60 0024CBC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8024FC64 0024CBC4 38 03 FC D4 */ addi r0, r3, sub_8024fcd4@l +/* 8024FC68 0024CBC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8024FC6C 0024CBCC 90 01 00 38 */ stw r0, 0x38(r1) +/* 8024FC70 0024CBD0 38 81 00 08 */ addi r4, r1, 8 +/* 8024FC74 0024CBD4 38 A0 00 0C */ li r5, 0xc +/* 8024FC78 0024CBD8 4B DB 38 19 */ bl memcpy +/* 8024FC7C 0024CBDC 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8024FC80 0024CBE0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8024FC84 0024CBE4 48 07 6B 6D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" +/* 8024FC88 0024CBE8 48 00 00 0C */ b lbl_8024FC94 +lbl_8024FC8C: +/* 8024FC8C 0024CBEC 38 60 00 00 */ li r3, 0 +/* 8024FC90 0024CBF0 48 00 00 30 */ b lbl_8024FCC0 +lbl_8024FC94: +/* 8024FC94 0024CBF4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8024FC98 0024CBF8 2C 00 00 01 */ cmpwi r0, 1 +/* 8024FC9C 0024CBFC 40 82 00 0C */ bne lbl_8024FCA8 +/* 8024FCA0 0024CC00 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 8024FCA4 0024CC04 4B FF E2 15 */ bl StartCardProbe__17CMemoryCardDriverFv +lbl_8024FCA8: +/* 8024FCA8 0024CC08 7F E3 FB 78 */ mr r3, r31 +/* 8024FCAC 0024CC0C 48 00 0B 79 */ bl SelectUIType__15CSaveGameScreenFv +/* 8024FCB0 0024CC10 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8024FCB4 0024CC14 7F E3 FB 78 */ mr r3, r31 +/* 8024FCB8 0024CC18 48 00 06 D5 */ bl SetUIText__15CSaveGameScreenFv +/* 8024FCBC 0024CC1C 38 60 00 01 */ li r3, 1 +lbl_8024FCC0: +/* 8024FCC0 0024CC20 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8024FCC4 0024CC24 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8024FCC8 0024CC28 7C 08 03 A6 */ mtlr r0 +/* 8024FCCC 0024CC2C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8024FCD0 0024CC30 4E 80 00 20 */ blr + +.global sub_8024fcd4 +sub_8024fcd4: +/* 8024FCD4 0024CC34 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8024FCD8 0024CC38 7C 08 02 A6 */ mflr r0 +/* 8024FCDC 0024CC3C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FCE0 0024CC40 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8024FCE4 0024CC44 7C DF 33 78 */ mr r31, r6 +/* 8024FCE8 0024CC48 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8024FCEC 0024CC4C 7C BE 2B 78 */ mr r30, r5 +/* 8024FCF0 0024CC50 38 A0 00 0C */ li r5, 0xc +/* 8024FCF4 0024CC54 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8024FCF8 0024CC58 7C 7D 1B 78 */ mr r29, r3 +/* 8024FCFC 0024CC5C 38 61 00 08 */ addi r3, r1, 8 +/* 8024FD00 0024CC60 4B DB 37 91 */ bl memcpy +/* 8024FD04 0024CC64 7F A3 EB 78 */ mr r3, r29 +/* 8024FD08 0024CC68 7F C4 F3 78 */ mr r4, r30 +/* 8024FD0C 0024CC6C 7F E5 FB 78 */ mr r5, r31 +/* 8024FD10 0024CC70 39 81 00 08 */ addi r12, r1, 8 +/* 8024FD14 0024CC74 48 13 9C 19 */ bl __ptmf_scall +/* 8024FD18 0024CC78 60 00 00 00 */ nop +/* 8024FD1C 0024CC7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8024FD20 0024CC80 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8024FD24 0024CC84 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8024FD28 0024CC88 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8024FD2C 0024CC8C 7C 08 03 A6 */ mtlr r0 +/* 8024FD30 0024CC90 38 21 00 30 */ addi r1, r1, 0x30 +/* 8024FD34 0024CC94 4E 80 00 20 */ blr + +.global sub_8024fd38 +sub_8024fd38: +/* 8024FD38 0024CC98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8024FD3C 0024CC9C 7C 08 02 A6 */ mflr r0 +/* 8024FD40 0024CCA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8024FD44 0024CCA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8024FD48 0024CCA8 7C BF 2B 78 */ mr r31, r5 +/* 8024FD4C 0024CCAC 38 A0 00 0C */ li r5, 0xc +/* 8024FD50 0024CCB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8024FD54 0024CCB4 7C 7E 1B 78 */ mr r30, r3 +/* 8024FD58 0024CCB8 38 61 00 08 */ addi r3, r1, 8 +/* 8024FD5C 0024CCBC 4B DB 37 35 */ bl memcpy +/* 8024FD60 0024CCC0 7F C3 F3 78 */ mr r3, r30 +/* 8024FD64 0024CCC4 7F E4 FB 78 */ mr r4, r31 +/* 8024FD68 0024CCC8 39 81 00 08 */ addi r12, r1, 8 +/* 8024FD6C 0024CCCC 48 13 9B C1 */ bl __ptmf_scall +/* 8024FD70 0024CCD0 60 00 00 00 */ nop +/* 8024FD74 0024CCD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8024FD78 0024CCD8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8024FD7C 0024CCDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8024FD80 0024CCE0 7C 08 03 A6 */ mtlr r0 +/* 8024FD84 0024CCE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8024FD88 0024CCE8 4E 80 00 20 */ blr + +.global ResetCardDriver__15CSaveGameScreenFv +ResetCardDriver__15CSaveGameScreenFv: +/* 8024FD8C 0024CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8024FD90 0024CCF0 7C 08 02 A6 */ mflr r0 +/* 8024FD94 0024CCF4 38 80 00 01 */ li r4, 1 +/* 8024FD98 0024CCF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8024FD9C 0024CCFC 38 00 00 00 */ li r0, 0 +/* 8024FDA0 0024CD00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8024FDA4 0024CD04 93 C1 00 08 */ stw r30, 8(r1) +/* 8024FDA8 0024CD08 7C 7E 1B 78 */ mr r30, r3 +/* 8024FDAC 0024CD0C 98 03 00 92 */ stb r0, 0x92(r3) +/* 8024FDB0 0024CD10 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8024FDB4 0024CD14 4B FF EA 35 */ bl __dt__17CMemoryCardDriverFv +/* 8024FDB8 0024CD18 38 60 00 00 */ li r3, 0 +/* 8024FDBC 0024CD1C 90 7E 00 6C */ stw r3, 0x6c(r30) +/* 8024FDC0 0024CD20 80 1E 00 00 */ lwz r0, 0(r30) +/* 8024FDC4 0024CD24 2C 00 00 00 */ cmpwi r0, 0 +/* 8024FDC8 0024CD28 40 82 00 14 */ bne lbl_8024FDDC +/* 8024FDCC 0024CD2C 88 1E 00 90 */ lbz r0, 0x90(r30) +/* 8024FDD0 0024CD30 28 00 00 00 */ cmplwi r0, 0 +/* 8024FDD4 0024CD34 40 82 00 08 */ bne lbl_8024FDDC +/* 8024FDD8 0024CD38 38 60 00 01 */ li r3, 1 +lbl_8024FDDC: +/* 8024FDDC 0024CD3C 48 00 04 DD */ bl ConstructCardDriver__15CSaveGameScreen +/* 8024FDE0 0024CD40 7C 7F 1B 78 */ mr r31, r3 +/* 8024FDE4 0024CD44 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FDE8 0024CD48 38 80 00 01 */ li r4, 1 +/* 8024FDEC 0024CD4C 4B FF E9 FD */ bl __dt__17CMemoryCardDriverFv +/* 8024FDF0 0024CD50 93 FE 00 6C */ stw r31, 0x6c(r30) +/* 8024FDF4 0024CD54 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FDF8 0024CD58 4B FF E0 C1 */ bl StartCardProbe__17CMemoryCardDriverFv +/* 8024FDFC 0024CD5C 38 00 00 00 */ li r0, 0 +/* 8024FE00 0024CD60 7F C3 F3 78 */ mr r3, r30 +/* 8024FE04 0024CD64 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8024FE08 0024CD68 48 00 05 85 */ bl SetUIText__15CSaveGameScreenFv +/* 8024FE0C 0024CD6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8024FE10 0024CD70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8024FE14 0024CD74 83 C1 00 08 */ lwz r30, 8(r1) +/* 8024FE18 0024CD78 7C 08 03 A6 */ mtlr r0 +/* 8024FE1C 0024CD7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8024FE20 0024CD80 4E 80 00 20 */ blr + +.global __dt__15CSaveGameScreenFv +__dt__15CSaveGameScreenFv: +/* 8024FE24 0024CD84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8024FE28 0024CD88 7C 08 02 A6 */ mflr r0 +/* 8024FE2C 0024CD8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8024FE30 0024CD90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8024FE34 0024CD94 7C 9F 23 78 */ mr r31, r4 +/* 8024FE38 0024CD98 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8024FE3C 0024CD9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8024FE40 0024CDA0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8024FE44 0024CDA4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8024FE48 0024CDA8 41 82 01 10 */ beq lbl_8024FF58 +/* 8024FE4C 0024CDAC 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 8024FE50 0024CDB0 41 82 00 58 */ beq lbl_8024FEA8 +/* 8024FE54 0024CDB4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8024FE58 0024CDB8 83 9E 00 7C */ lwz r28, 0x7c(r30) +/* 8024FE5C 0024CDBC 54 00 18 38 */ slwi r0, r0, 3 +/* 8024FE60 0024CDC0 7F BC 02 14 */ add r29, r28, r0 +/* 8024FE64 0024CDC4 93 81 00 0C */ stw r28, 0xc(r1) +/* 8024FE68 0024CDC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8024FE6C 0024CDCC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8024FE70 0024CDD0 93 81 00 08 */ stw r28, 8(r1) +/* 8024FE74 0024CDD4 48 00 00 1C */ b lbl_8024FE90 +lbl_8024FE78: +/* 8024FE78 0024CDD8 28 1C 00 00 */ cmplwi r28, 0 +/* 8024FE7C 0024CDDC 41 82 00 10 */ beq lbl_8024FE8C +/* 8024FE80 0024CDE0 7F 83 E3 78 */ mr r3, r28 +/* 8024FE84 0024CDE4 38 80 00 00 */ li r4, 0 +/* 8024FE88 0024CDE8 48 0F 0F B9 */ bl __dt__6CTokenFv +lbl_8024FE8C: +/* 8024FE8C 0024CDEC 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8024FE90: +/* 8024FE90 0024CDF0 7C 1C E8 40 */ cmplw r28, r29 +/* 8024FE94 0024CDF4 40 82 FF E4 */ bne lbl_8024FE78 +/* 8024FE98 0024CDF8 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 8024FE9C 0024CDFC 28 03 00 00 */ cmplwi r3, 0 +/* 8024FEA0 0024CE00 41 82 00 08 */ beq lbl_8024FEA8 +/* 8024FEA4 0024CE04 48 0C 5A 8D */ bl Free__7CMemoryFPCv +lbl_8024FEA8: +/* 8024FEA8 0024CE08 34 1E 00 6C */ addic. r0, r30, 0x6c +/* 8024FEAC 0024CE0C 41 82 00 10 */ beq lbl_8024FEBC +/* 8024FEB0 0024CE10 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8024FEB4 0024CE14 38 80 00 01 */ li r4, 1 +/* 8024FEB8 0024CE18 4B FF E9 31 */ bl __dt__17CMemoryCardDriverFv +lbl_8024FEBC: +/* 8024FEBC 0024CE1C 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8024FEC0 0024CE20 41 82 00 18 */ beq lbl_8024FED8 +/* 8024FEC4 0024CE24 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8024FEC8 0024CE28 41 82 00 10 */ beq lbl_8024FED8 +/* 8024FECC 0024CE2C 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8024FED0 0024CE30 38 80 00 00 */ li r4, 0 +/* 8024FED4 0024CE34 48 0F 0F 6D */ bl __dt__6CTokenFv +lbl_8024FED8: +/* 8024FED8 0024CE38 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8024FEDC 0024CE3C 41 82 00 18 */ beq lbl_8024FEF4 +/* 8024FEE0 0024CE40 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8024FEE4 0024CE44 41 82 00 10 */ beq lbl_8024FEF4 +/* 8024FEE8 0024CE48 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8024FEEC 0024CE4C 38 80 00 00 */ li r4, 0 +/* 8024FEF0 0024CE50 48 0F 0F 51 */ bl __dt__6CTokenFv +lbl_8024FEF4: +/* 8024FEF4 0024CE54 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 8024FEF8 0024CE58 41 82 00 18 */ beq lbl_8024FF10 +/* 8024FEFC 0024CE5C 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 8024FF00 0024CE60 41 82 00 10 */ beq lbl_8024FF10 +/* 8024FF04 0024CE64 38 7E 00 2C */ addi r3, r30, 0x2c +/* 8024FF08 0024CE68 38 80 00 00 */ li r4, 0 +/* 8024FF0C 0024CE6C 48 0F 0F 35 */ bl __dt__6CTokenFv +lbl_8024FF10: +/* 8024FF10 0024CE70 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8024FF14 0024CE74 41 82 00 18 */ beq lbl_8024FF2C +/* 8024FF18 0024CE78 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8024FF1C 0024CE7C 41 82 00 10 */ beq lbl_8024FF2C +/* 8024FF20 0024CE80 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8024FF24 0024CE84 38 80 00 00 */ li r4, 0 +/* 8024FF28 0024CE88 48 0F 0F 19 */ bl __dt__6CTokenFv +lbl_8024FF2C: +/* 8024FF2C 0024CE8C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8024FF30 0024CE90 41 82 00 18 */ beq lbl_8024FF48 +/* 8024FF34 0024CE94 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8024FF38 0024CE98 41 82 00 10 */ beq lbl_8024FF48 +/* 8024FF3C 0024CE9C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8024FF40 0024CEA0 38 80 00 00 */ li r4, 0 +/* 8024FF44 0024CEA4 48 0F 0E FD */ bl __dt__6CTokenFv +lbl_8024FF48: +/* 8024FF48 0024CEA8 7F E0 07 35 */ extsh. r0, r31 +/* 8024FF4C 0024CEAC 40 81 00 0C */ ble lbl_8024FF58 +/* 8024FF50 0024CEB0 7F C3 F3 78 */ mr r3, r30 +/* 8024FF54 0024CEB4 48 0C 59 DD */ bl Free__7CMemoryFPCv +lbl_8024FF58: +/* 8024FF58 0024CEB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8024FF5C 0024CEBC 7F C3 F3 78 */ mr r3, r30 +/* 8024FF60 0024CEC0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8024FF64 0024CEC4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8024FF68 0024CEC8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8024FF6C 0024CECC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8024FF70 0024CED0 7C 08 03 A6 */ mtlr r0 +/* 8024FF74 0024CED4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8024FF78 0024CED8 4E 80 00 20 */ blr + +.global __ct__15CSaveGameScreen +__ct__15CSaveGameScreen: +/* 8024FF7C 0024CEDC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8024FF80 0024CEE0 7C 08 02 A6 */ mflr r0 +/* 8024FF84 0024CEE4 90 01 00 64 */ stw r0, 0x64(r1) +/* 8024FF88 0024CEE8 38 00 00 00 */ li r0, 0 +/* 8024FF8C 0024CEEC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8024FF90 0024CEF0 7C 7F 1B 78 */ mr r31, r3 +/* 8024FF94 0024CEF4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8024FF98 0024CEF8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8024FF9C 0024CEFC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8024FFA0 0024CF00 90 83 00 00 */ stw r4, 0(r3) +/* 8024FFA4 0024CF04 38 61 00 38 */ addi r3, r1, 0x38 +/* 8024FFA8 0024CF08 90 DF 00 0C */ stw r6, 0xc(r31) +/* 8024FFAC 0024CF0C 90 BF 00 08 */ stw r5, 8(r31) +/* 8024FFB0 0024CF10 80 A2 B8 B8 */ lwz r5, lbl_805AD5D8@sda21(r2) +/* 8024FFB4 0024CF14 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8024FFB8 0024CF18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8024FFBC 0024CF1C 81 84 00 00 */ lwz r12, 0(r4) +/* 8024FFC0 0024CF20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8024FFC4 0024CF24 7D 89 03 A6 */ mtctr r12 +/* 8024FFC8 0024CF28 4E 80 04 21 */ bctrl +/* 8024FFCC 0024CF2C 3B 9F 00 14 */ addi r28, r31, 0x14 +/* 8024FFD0 0024CF30 38 81 00 38 */ addi r4, r1, 0x38 +/* 8024FFD4 0024CF34 7F 83 E3 78 */ mr r3, r28 +/* 8024FFD8 0024CF38 48 0F 0E D1 */ bl __ct__6CTokenFRC6CToken +/* 8024FFDC 0024CF3C 38 00 00 00 */ li r0, 0 +/* 8024FFE0 0024CF40 38 61 00 38 */ addi r3, r1, 0x38 +/* 8024FFE4 0024CF44 90 1C 00 08 */ stw r0, 8(r28) +/* 8024FFE8 0024CF48 38 80 FF FF */ li r4, -1 +/* 8024FFEC 0024CF4C 48 0F 0E 55 */ bl __dt__6CTokenFv +/* 8024FFF0 0024CF50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8024FFF4 0024CF54 38 61 00 30 */ addi r3, r1, 0x30 +/* 8024FFF8 0024CF58 80 A2 B8 BC */ lwz r5, lbl_805AD5DC@sda21(r2) +/* 8024FFFC 0024CF5C 81 84 00 00 */ lwz r12, 0(r4) +/* 80250000 0024CF60 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250004 0024CF64 7D 89 03 A6 */ mtctr r12 +/* 80250008 0024CF68 4E 80 04 21 */ bctrl +/* 8025000C 0024CF6C 3B 9F 00 20 */ addi r28, r31, 0x20 +/* 80250010 0024CF70 38 81 00 30 */ addi r4, r1, 0x30 +/* 80250014 0024CF74 7F 83 E3 78 */ mr r3, r28 +/* 80250018 0024CF78 48 0F 0E 91 */ bl __ct__6CTokenFRC6CToken +/* 8025001C 0024CF7C 38 00 00 00 */ li r0, 0 +/* 80250020 0024CF80 38 61 00 30 */ addi r3, r1, 0x30 +/* 80250024 0024CF84 90 1C 00 08 */ stw r0, 8(r28) +/* 80250028 0024CF88 38 80 FF FF */ li r4, -1 +/* 8025002C 0024CF8C 48 0F 0E 15 */ bl __dt__6CTokenFv +/* 80250030 0024CF90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80250034 0024CF94 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250038 0024CF98 80 A2 B8 C0 */ lwz r5, lbl_805AD5E0@sda21(r2) +/* 8025003C 0024CF9C 81 84 00 00 */ lwz r12, 0(r4) +/* 80250040 0024CFA0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250044 0024CFA4 7D 89 03 A6 */ mtctr r12 +/* 80250048 0024CFA8 4E 80 04 21 */ bctrl +/* 8025004C 0024CFAC 3B 9F 00 2C */ addi r28, r31, 0x2c +/* 80250050 0024CFB0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80250054 0024CFB4 7F 83 E3 78 */ mr r3, r28 +/* 80250058 0024CFB8 48 0F 0E 51 */ bl __ct__6CTokenFRC6CToken +/* 8025005C 0024CFBC 38 00 00 00 */ li r0, 0 +/* 80250060 0024CFC0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250064 0024CFC4 90 1C 00 08 */ stw r0, 8(r28) +/* 80250068 0024CFC8 38 80 FF FF */ li r4, -1 +/* 8025006C 0024CFCC 48 0F 0D D5 */ bl __dt__6CTokenFv +/* 80250070 0024CFD0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80250074 0024CFD4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80250078 0024CFD8 80 A2 B8 C4 */ lwz r5, lbl_805AD5E4@sda21(r2) +/* 8025007C 0024CFDC 81 84 00 00 */ lwz r12, 0(r4) +/* 80250080 0024CFE0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80250084 0024CFE4 7D 89 03 A6 */ mtctr r12 +/* 80250088 0024CFE8 4E 80 04 21 */ bctrl +/* 8025008C 0024CFEC 3B 9F 00 38 */ addi r28, r31, 0x38 +/* 80250090 0024CFF0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80250094 0024CFF4 7F 83 E3 78 */ mr r3, r28 +/* 80250098 0024CFF8 48 0F 0E 11 */ bl __ct__6CTokenFRC6CToken +/* 8025009C 0024CFFC 38 00 00 00 */ li r0, 0 +/* 802500A0 0024D000 38 61 00 20 */ addi r3, r1, 0x20 +/* 802500A4 0024D004 90 1C 00 08 */ stw r0, 8(r28) +/* 802500A8 0024D008 38 80 FF FF */ li r4, -1 +/* 802500AC 0024D00C 48 0F 0D 95 */ bl __dt__6CTokenFv +/* 802500B0 0024D010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802500B4 0024D014 38 61 00 18 */ addi r3, r1, 0x18 +/* 802500B8 0024D018 80 A2 B8 C8 */ lwz r5, lbl_805AD5E8@sda21(r2) +/* 802500BC 0024D01C 81 84 00 00 */ lwz r12, 0(r4) +/* 802500C0 0024D020 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802500C4 0024D024 7D 89 03 A6 */ mtctr r12 +/* 802500C8 0024D028 4E 80 04 21 */ bctrl +/* 802500CC 0024D02C 3B 9F 00 44 */ addi r28, r31, 0x44 +/* 802500D0 0024D030 38 81 00 18 */ addi r4, r1, 0x18 +/* 802500D4 0024D034 7F 83 E3 78 */ mr r3, r28 +/* 802500D8 0024D038 48 0F 0D D1 */ bl __ct__6CTokenFRC6CToken +/* 802500DC 0024D03C 38 00 00 00 */ li r0, 0 +/* 802500E0 0024D040 38 61 00 18 */ addi r3, r1, 0x18 +/* 802500E4 0024D044 90 1C 00 08 */ stw r0, 8(r28) +/* 802500E8 0024D048 38 80 FF FF */ li r4, -1 +/* 802500EC 0024D04C 48 0F 0D 55 */ bl __dt__6CTokenFv +/* 802500F0 0024D050 38 00 00 00 */ li r0, 0 +/* 802500F4 0024D054 90 1F 00 50 */ stw r0, 0x50(r31) +/* 802500F8 0024D058 80 1F 00 00 */ lwz r0, 0(r31) +/* 802500FC 0024D05C 7C 00 00 34 */ cntlzw r0, r0 +/* 80250100 0024D060 54 03 D9 7E */ srwi r3, r0, 5 +/* 80250104 0024D064 48 00 01 B5 */ bl ConstructCardDriver__15CSaveGameScreen +/* 80250108 0024D068 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 8025010C 0024D06C 38 00 00 00 */ li r0, 0 +/* 80250110 0024D070 38 60 05 B4 */ li r3, 0x5b4 +/* 80250114 0024D074 90 1F 00 74 */ stw r0, 0x74(r31) +/* 80250118 0024D078 90 1F 00 78 */ stw r0, 0x78(r31) +/* 8025011C 0024D07C 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 80250120 0024D080 90 1F 00 80 */ stw r0, 0x80(r31) +/* 80250124 0024D084 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250128 0024D088 2C 00 00 01 */ cmpwi r0, 1 +/* 8025012C 0024D08C 40 82 00 08 */ bne lbl_80250134 +/* 80250130 0024D090 38 60 05 98 */ li r3, 0x598 +lbl_80250134: +/* 80250134 0024D094 90 7F 00 84 */ stw r3, 0x84(r31) +/* 80250138 0024D098 38 60 05 B5 */ li r3, 0x5b5 +/* 8025013C 0024D09C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250140 0024D0A0 2C 00 00 01 */ cmpwi r0, 1 +/* 80250144 0024D0A4 40 82 00 08 */ bne lbl_8025014C +/* 80250148 0024D0A8 38 60 05 9C */ li r3, 0x59c +lbl_8025014C: +/* 8025014C 0024D0AC 90 7F 00 88 */ stw r3, 0x88(r31) +/* 80250150 0024D0B0 38 60 05 B3 */ li r3, 0x5b3 +/* 80250154 0024D0B4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250158 0024D0B8 2C 00 00 01 */ cmpwi r0, 1 +/* 8025015C 0024D0BC 40 82 00 08 */ bne lbl_80250164 +/* 80250160 0024D0C0 38 60 05 97 */ li r3, 0x597 +lbl_80250164: +/* 80250164 0024D0C4 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 80250168 0024D0C8 38 00 00 00 */ li r0, 0 +/* 8025016C 0024D0CC 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80250170 0024D0D0 98 1F 00 90 */ stb r0, 0x90(r31) +/* 80250174 0024D0D4 98 1F 00 91 */ stb r0, 0x91(r31) +/* 80250178 0024D0D8 98 1F 00 92 */ stb r0, 0x92(r31) +/* 8025017C 0024D0DC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250180 0024D0E0 20 00 00 01 */ subfic r0, r0, 1 +/* 80250184 0024D0E4 7C 00 00 34 */ cntlzw r0, r0 +/* 80250188 0024D0E8 54 00 D9 7E */ srwi r0, r0, 5 +/* 8025018C 0024D0EC 98 1F 00 93 */ stb r0, 0x93(r31) +/* 80250190 0024D0F0 48 0F 0B F5 */ bl Lock__6CTokenFv +/* 80250194 0024D0F4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80250198 0024D0F8 48 0F 0B ED */ bl Lock__6CTokenFv +/* 8025019C 0024D0FC 38 7F 00 2C */ addi r3, r31, 0x2c +/* 802501A0 0024D100 48 0F 0B E5 */ bl Lock__6CTokenFv +/* 802501A4 0024D104 38 7F 00 38 */ addi r3, r31, 0x38 +/* 802501A8 0024D108 48 0F 0B DD */ bl Lock__6CTokenFv +/* 802501AC 0024D10C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802501B0 0024D110 48 0F 0B D5 */ bl Lock__6CTokenFv +/* 802501B4 0024D114 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13) +/* 802501B8 0024D118 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802501BC 0024D11C 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 802501C0 0024D120 48 00 07 C5 */ bl sub_80250984 +/* 802501C4 0024D124 3C 60 53 41 */ lis r3, 0x53415657@ha +/* 802501C8 0024D128 83 9D 00 18 */ lwz r28, 0x18(r29) +/* 802501CC 0024D12C 3B C3 56 57 */ addi r30, r3, 0x53415657@l +/* 802501D0 0024D130 48 00 00 AC */ b lbl_8025027C +lbl_802501D4: +/* 802501D4 0024D134 80 1C 00 08 */ lwz r0, 8(r28) +/* 802501D8 0024D138 38 61 00 08 */ addi r3, r1, 8 +/* 802501DC 0024D13C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802501E0 0024D140 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802501E4 0024D144 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802501E8 0024D148 90 01 00 14 */ stw r0, 0x14(r1) +/* 802501EC 0024D14C 81 84 00 00 */ lwz r12, 0(r4) +/* 802501F0 0024D150 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802501F4 0024D154 7D 89 03 A6 */ mtctr r12 +/* 802501F8 0024D158 4E 80 04 21 */ bctrl +/* 802501FC 0024D15C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250200 0024D160 38 81 00 08 */ addi r4, r1, 8 +/* 80250204 0024D164 48 0F 0C A5 */ bl __ct__6CTokenFRC6CToken +/* 80250208 0024D168 38 61 00 08 */ addi r3, r1, 8 +/* 8025020C 0024D16C 38 80 FF FF */ li r4, -1 +/* 80250210 0024D170 48 0F 0C 31 */ bl __dt__6CTokenFv +/* 80250214 0024D174 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250218 0024D178 48 0F 0B 6D */ bl Lock__6CTokenFv +/* 8025021C 0024D17C 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80250220 0024D180 80 BF 00 78 */ lwz r5, 0x78(r31) +/* 80250224 0024D184 7C 00 28 00 */ cmpw r0, r5 +/* 80250228 0024D188 41 80 00 1C */ blt lbl_80250244 +/* 8025022C 0024D18C 2C 05 00 00 */ cmpwi r5, 0 +/* 80250230 0024D190 38 7F 00 70 */ addi r3, r31, 0x70 +/* 80250234 0024D194 38 80 00 04 */ li r4, 4 +/* 80250238 0024D198 41 82 00 08 */ beq lbl_80250240 +/* 8025023C 0024D19C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80250240: +/* 80250240 0024D1A0 48 00 07 45 */ bl sub_80250984 +lbl_80250244: +/* 80250244 0024D1A4 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80250248 0024D1A8 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 8025024C 0024D1AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80250250 0024D1B0 7C 63 02 15 */ add. r3, r3, r0 +/* 80250254 0024D1B4 41 82 00 0C */ beq lbl_80250260 +/* 80250258 0024D1B8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025025C 0024D1BC 48 0F 0C 4D */ bl __ct__6CTokenFRC6CToken +lbl_80250260: +/* 80250260 0024D1C0 80 BF 00 74 */ lwz r5, 0x74(r31) +/* 80250264 0024D1C4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80250268 0024D1C8 38 80 00 00 */ li r4, 0 +/* 8025026C 0024D1CC 38 05 00 01 */ addi r0, r5, 1 +/* 80250270 0024D1D0 90 1F 00 74 */ stw r0, 0x74(r31) +/* 80250274 0024D1D4 48 0F 0B CD */ bl __dt__6CTokenFv +/* 80250278 0024D1D8 3B 9C 00 4C */ addi r28, r28, 0x4c +lbl_8025027C: +/* 8025027C 0024D1DC 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80250280 0024D1E0 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 80250284 0024D1E4 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 80250288 0024D1E8 7C 03 02 14 */ add r0, r3, r0 +/* 8025028C 0024D1EC 7C 1C 00 40 */ cmplw r28, r0 +/* 80250290 0024D1F0 40 82 FF 44 */ bne lbl_802501D4 +/* 80250294 0024D1F4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80250298 0024D1F8 7F E3 FB 78 */ mr r3, r31 +/* 8025029C 0024D1FC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802502A0 0024D200 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802502A4 0024D204 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802502A8 0024D208 83 81 00 50 */ lwz r28, 0x50(r1) +/* 802502AC 0024D20C 7C 08 03 A6 */ mtlr r0 +/* 802502B0 0024D210 38 21 00 60 */ addi r1, r1, 0x60 +/* 802502B4 0024D214 4E 80 00 20 */ blr + +.global ConstructCardDriver__15CSaveGameScreen +ConstructCardDriver__15CSaveGameScreen: +/* 802502B8 0024D218 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802502BC 0024D21C 7C 08 02 A6 */ mflr r0 +/* 802502C0 0024D220 3C 80 80 3D */ lis r4, lbl_803D4A90@ha +/* 802502C4 0024D224 38 A0 00 00 */ li r5, 0 +/* 802502C8 0024D228 90 01 00 24 */ stw r0, 0x24(r1) +/* 802502CC 0024D22C 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l +/* 802502D0 0024D230 38 84 00 B7 */ addi r4, r4, 0xb7 +/* 802502D4 0024D234 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802502D8 0024D238 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802502DC 0024D23C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802502E0 0024D240 93 81 00 10 */ stw r28, 0x10(r1) +/* 802502E4 0024D244 7C 7C 1B 78 */ mr r28, r3 +/* 802502E8 0024D248 38 60 01 A0 */ li r3, 0x1a0 +/* 802502EC 0024D24C 48 0C 55 81 */ bl __nw__FUlPCcPCc +/* 802502F0 0024D250 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802502F4 0024D254 41 82 00 74 */ beq lbl_80250368 +/* 802502F8 0024D258 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 802502FC 0024D25C 80 82 B8 C0 */ lwz r4, lbl_805AD5E0@sda21(r2) +/* 80250300 0024D260 81 83 00 00 */ lwz r12, 0(r3) +/* 80250304 0024D264 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250308 0024D268 7D 89 03 A6 */ mtctr r12 +/* 8025030C 0024D26C 4E 80 04 21 */ bctrl +/* 80250310 0024D270 7C 7E 1B 78 */ mr r30, r3 +/* 80250314 0024D274 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80250318 0024D278 80 82 B8 BC */ lwz r4, lbl_805AD5DC@sda21(r2) +/* 8025031C 0024D27C 81 83 00 00 */ lwz r12, 0(r3) +/* 80250320 0024D280 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250324 0024D284 7D 89 03 A6 */ mtctr r12 +/* 80250328 0024D288 4E 80 04 21 */ bctrl +/* 8025032C 0024D28C 7C 7F 1B 78 */ mr r31, r3 +/* 80250330 0024D290 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80250334 0024D294 80 82 B8 B8 */ lwz r4, lbl_805AD5D8@sda21(r2) +/* 80250338 0024D298 81 83 00 00 */ lwz r12, 0(r3) +/* 8025033C 0024D29C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80250340 0024D2A0 7D 89 03 A6 */ mtctr r12 +/* 80250344 0024D2A4 4E 80 04 21 */ bctrl +/* 80250348 0024D2A8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025034C 0024D2AC 7F A3 EB 78 */ mr r3, r29 +/* 80250350 0024D2B0 80 DF 00 04 */ lwz r6, 4(r31) +/* 80250354 0024D2B4 7F 88 E3 78 */ mr r8, r28 +/* 80250358 0024D2B8 80 FE 00 04 */ lwz r7, 4(r30) +/* 8025035C 0024D2BC 38 80 00 00 */ li r4, 0 +/* 80250360 0024D2C0 4B FF E8 B9 */ bl __ct__17CMemoryCardDriverFv +/* 80250364 0024D2C4 7C 7D 1B 78 */ mr r29, r3 +lbl_80250368: +/* 80250368 0024D2C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025036C 0024D2CC 7F A3 EB 78 */ mr r3, r29 +/* 80250370 0024D2D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250374 0024D2D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250378 0024D2D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025037C 0024D2DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250380 0024D2E0 7C 08 03 A6 */ mtlr r0 +/* 80250384 0024D2E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250388 0024D2E8 4E 80 00 20 */ blr + +.global SetUIText__15CSaveGameScreenFv +SetUIText__15CSaveGameScreenFv: +/* 8025038C 0024D2EC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80250390 0024D2F0 7C 08 02 A6 */ mflr r0 +/* 80250394 0024D2F4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80250398 0024D2F8 38 00 00 00 */ li r0, 0 +/* 8025039C 0024D2FC BF 01 00 B0 */ stmw r24, 0xb0(r1) +/* 802503A0 0024D300 7C 7C 1B 78 */ mr r28, r3 +/* 802503A4 0024D304 3B 40 FF FF */ li r26, -1 +/* 802503A8 0024D308 3B 20 FF FF */ li r25, -1 +/* 802503AC 0024D30C 3B E0 FF FF */ li r31, -1 +/* 802503B0 0024D310 3B C0 FF FF */ li r30, -1 +/* 802503B4 0024D314 3B A0 FF FF */ li r29, -1 +/* 802503B8 0024D318 98 03 00 91 */ stb r0, 0x91(r3) +/* 802503BC 0024D31C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802503C0 0024D320 83 63 00 40 */ lwz r27, 0x40(r3) +/* 802503C4 0024D324 28 00 00 10 */ cmplwi r0, 0x10 +/* 802503C8 0024D328 41 81 01 80 */ bgt lbl_80250548 +/* 802503CC 0024D32C 3C 60 80 3F */ lis r3, lbl_803E8DFC@ha +/* 802503D0 0024D330 54 00 10 3A */ slwi r0, r0, 2 +/* 802503D4 0024D334 38 63 8D FC */ addi r3, r3, lbl_803E8DFC@l +/* 802503D8 0024D338 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802503DC 0024D33C 7C 09 03 A6 */ mtctr r0 +/* 802503E0 0024D340 4E 80 04 20 */ bctr +/* 802503E4 0024D344 3B 20 00 18 */ li r25, 0x18 +/* 802503E8 0024D348 48 00 01 60 */ b lbl_80250548 +/* 802503EC 0024D34C 3B 20 00 19 */ li r25, 0x19 +/* 802503F0 0024D350 48 00 01 58 */ b lbl_80250548 +/* 802503F4 0024D354 3B 20 00 00 */ li r25, 0 +/* 802503F8 0024D358 3B E0 00 11 */ li r31, 0x11 +/* 802503FC 0024D35C 3B C0 00 12 */ li r30, 0x12 +/* 80250400 0024D360 48 00 01 48 */ b lbl_80250548 +/* 80250404 0024D364 3B 20 00 01 */ li r25, 1 +/* 80250408 0024D368 3B E0 00 11 */ li r31, 0x11 +/* 8025040C 0024D36C 3B C0 00 12 */ li r30, 0x12 +/* 80250410 0024D370 3B A0 00 14 */ li r29, 0x14 +/* 80250414 0024D374 48 00 01 34 */ b lbl_80250548 +/* 80250418 0024D378 3B 20 00 02 */ li r25, 2 +/* 8025041C 0024D37C 3B E0 00 11 */ li r31, 0x11 +/* 80250420 0024D380 3B C0 00 12 */ li r30, 0x12 +/* 80250424 0024D384 3B A0 00 14 */ li r29, 0x14 +/* 80250428 0024D388 48 00 01 20 */ b lbl_80250548 +/* 8025042C 0024D38C 3B 20 00 03 */ li r25, 3 +/* 80250430 0024D390 3B E0 00 11 */ li r31, 0x11 +/* 80250434 0024D394 3B C0 00 12 */ li r30, 0x12 +/* 80250438 0024D398 48 00 01 10 */ b lbl_80250548 +/* 8025043C 0024D39C 3B 20 00 05 */ li r25, 5 +/* 80250440 0024D3A0 3B E0 00 11 */ li r31, 0x11 +/* 80250444 0024D3A4 3B C0 00 12 */ li r30, 0x12 +/* 80250448 0024D3A8 48 00 01 00 */ b lbl_80250548 +/* 8025044C 0024D3AC 3B 20 00 06 */ li r25, 6 +/* 80250450 0024D3B0 3B E0 00 11 */ li r31, 0x11 +/* 80250454 0024D3B4 3B C0 00 12 */ li r30, 0x12 +/* 80250458 0024D3B8 3B A0 00 13 */ li r29, 0x13 +/* 8025045C 0024D3BC 48 00 00 EC */ b lbl_80250548 +/* 80250460 0024D3C0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80250464 0024D3C4 3B E0 00 11 */ li r31, 0x11 +/* 80250468 0024D3C8 3B C0 00 12 */ li r30, 0x12 +/* 8025046C 0024D3CC 3B A0 00 13 */ li r29, 0x13 +/* 80250470 0024D3D0 20 00 00 01 */ subfic r0, r0, 1 +/* 80250474 0024D3D4 7C 00 00 34 */ cntlzw r0, r0 +/* 80250478 0024D3D8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8025047C 0024D3DC 38 03 00 09 */ addi r0, r3, 9 +/* 80250480 0024D3E0 7C 19 03 78 */ mr r25, r0 +/* 80250484 0024D3E4 48 00 00 C4 */ b lbl_80250548 +/* 80250488 0024D3E8 3B 20 00 07 */ li r25, 7 +/* 8025048C 0024D3EC 3B E0 00 11 */ li r31, 0x11 +/* 80250490 0024D3F0 3B C0 00 12 */ li r30, 0x12 +/* 80250494 0024D3F4 48 00 00 B4 */ b lbl_80250548 +/* 80250498 0024D3F8 3B 20 00 04 */ li r25, 4 +/* 8025049C 0024D3FC 3B E0 00 16 */ li r31, 0x16 +/* 802504A0 0024D400 3B C0 00 11 */ li r30, 0x11 +/* 802504A4 0024D404 3B A0 00 12 */ li r29, 0x12 +/* 802504A8 0024D408 48 00 00 A0 */ b lbl_80250548 +/* 802504AC 0024D40C 80 1C 00 00 */ lwz r0, 0(r28) +/* 802504B0 0024D410 2C 00 00 01 */ cmpwi r0, 1 +/* 802504B4 0024D414 40 82 00 18 */ bne lbl_802504CC +/* 802504B8 0024D418 3B 20 00 0A */ li r25, 0xa +/* 802504BC 0024D41C 3B E0 00 11 */ li r31, 0x11 +/* 802504C0 0024D420 3B C0 00 12 */ li r30, 0x12 +/* 802504C4 0024D424 3B A0 00 13 */ li r29, 0x13 +/* 802504C8 0024D428 48 00 00 80 */ b lbl_80250548 +lbl_802504CC: +/* 802504CC 0024D42C 3B 20 00 09 */ li r25, 9 +/* 802504D0 0024D430 3B E0 00 11 */ li r31, 0x11 +/* 802504D4 0024D434 3B C0 00 12 */ li r30, 0x12 +/* 802504D8 0024D438 3B A0 00 13 */ li r29, 0x13 +/* 802504DC 0024D43C 48 00 00 6C */ b lbl_80250548 +/* 802504E0 0024D440 3B 40 00 1C */ li r26, 0x1c +/* 802504E4 0024D444 3B 20 00 0B */ li r25, 0xb +/* 802504E8 0024D448 3B E0 00 15 */ li r31, 0x15 +/* 802504EC 0024D44C 3B C0 00 10 */ li r30, 0x10 +/* 802504F0 0024D450 48 00 00 58 */ b lbl_80250548 +/* 802504F4 0024D454 80 1C 00 00 */ lwz r0, 0(r28) +/* 802504F8 0024D458 3B 40 00 1C */ li r26, 0x1c +/* 802504FC 0024D45C 3B 20 00 0C */ li r25, 0xc +/* 80250500 0024D460 38 60 00 11 */ li r3, 0x11 +/* 80250504 0024D464 2C 00 00 01 */ cmpwi r0, 1 +/* 80250508 0024D468 40 82 00 08 */ bne lbl_80250510 +/* 8025050C 0024D46C 38 60 00 15 */ li r3, 0x15 +lbl_80250510: +/* 80250510 0024D470 7C 7F 1B 78 */ mr r31, r3 +/* 80250514 0024D474 3B C0 00 10 */ li r30, 0x10 +/* 80250518 0024D478 48 00 00 30 */ b lbl_80250548 +/* 8025051C 0024D47C 3B 40 00 1C */ li r26, 0x1c +/* 80250520 0024D480 3B 20 00 0D */ li r25, 0xd +/* 80250524 0024D484 3B E0 00 10 */ li r31, 0x10 +/* 80250528 0024D488 3B C0 00 15 */ li r30, 0x15 +/* 8025052C 0024D48C 48 00 00 1C */ b lbl_80250548 +/* 80250530 0024D490 80 1C 00 00 */ lwz r0, 0(r28) +/* 80250534 0024D494 2C 00 00 01 */ cmpwi r0, 1 +/* 80250538 0024D498 40 82 00 10 */ bne lbl_80250548 +/* 8025053C 0024D49C 3B 20 00 08 */ li r25, 8 +/* 80250540 0024D4A0 3B E0 00 0E */ li r31, 0xe +/* 80250544 0024D4A4 3B C0 00 0F */ li r30, 0xf +lbl_80250548: +/* 80250548 0024D4A8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8025054C 0024D4AC 38 8D 97 18 */ addi r4, r13, lbl_805A82D8@sda21 +/* 80250550 0024D4B0 4B DC 54 A1 */ bl wstring_l__4rstlFPCw +/* 80250554 0024D4B4 38 61 00 98 */ addi r3, r1, 0x98 +/* 80250558 0024D4B8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025055C 0024D4BC 48 0E D2 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250560 0024D4C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80250564 0024D4C4 48 0E CB D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250568 0024D4C8 2C 1A FF FF */ cmpwi r26, -1 +/* 8025056C 0024D4CC 3B 00 00 00 */ li r24, 0 +/* 80250570 0024D4D0 40 82 00 0C */ bne lbl_8025057C +/* 80250574 0024D4D4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250578 0024D4D8 48 00 00 24 */ b lbl_8025059C +lbl_8025057C: +/* 8025057C 0024D4DC 7F 63 DB 78 */ mr r3, r27 +/* 80250580 0024D4E0 7F 44 D3 78 */ mr r4, r26 +/* 80250584 0024D4E4 48 10 61 79 */ bl GetString__12CStringTableCFi +/* 80250588 0024D4E8 7C 64 1B 78 */ mr r4, r3 +/* 8025058C 0024D4EC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80250590 0024D4F0 4B DC 54 61 */ bl wstring_l__4rstlFPCw +/* 80250594 0024D4F4 3B 00 00 01 */ li r24, 1 +/* 80250598 0024D4F8 38 81 00 58 */ addi r4, r1, 0x58 +lbl_8025059C: +/* 8025059C 0024D4FC 38 61 00 88 */ addi r3, r1, 0x88 +/* 802505A0 0024D500 48 0E D1 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802505A4 0024D504 7F 00 07 75 */ extsb. r0, r24 +/* 802505A8 0024D508 41 82 00 0C */ beq lbl_802505B4 +/* 802505AC 0024D50C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802505B0 0024D510 48 0E CB 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802505B4: +/* 802505B4 0024D514 2C 19 FF FF */ cmpwi r25, -1 +/* 802505B8 0024D518 3B 00 00 00 */ li r24, 0 +/* 802505BC 0024D51C 40 82 00 0C */ bne lbl_802505C8 +/* 802505C0 0024D520 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802505C4 0024D524 48 00 00 24 */ b lbl_802505E8 +lbl_802505C8: +/* 802505C8 0024D528 7F 63 DB 78 */ mr r3, r27 +/* 802505CC 0024D52C 7F 24 CB 78 */ mr r4, r25 +/* 802505D0 0024D530 48 10 61 2D */ bl GetString__12CStringTableCFi +/* 802505D4 0024D534 7C 64 1B 78 */ mr r4, r3 +/* 802505D8 0024D538 38 61 00 48 */ addi r3, r1, 0x48 +/* 802505DC 0024D53C 4B DC 54 15 */ bl wstring_l__4rstlFPCw +/* 802505E0 0024D540 3B 00 00 01 */ li r24, 1 +/* 802505E4 0024D544 38 A1 00 48 */ addi r5, r1, 0x48 +lbl_802505E8: +/* 802505E8 0024D548 38 61 00 38 */ addi r3, r1, 0x38 +/* 802505EC 0024D54C 38 81 00 88 */ addi r4, r1, 0x88 +/* 802505F0 0024D550 4B DC FA 75 */ bl sub_80020064 +/* 802505F4 0024D554 38 61 00 78 */ addi r3, r1, 0x78 +/* 802505F8 0024D558 38 81 00 38 */ addi r4, r1, 0x38 +/* 802505FC 0024D55C 48 0E D1 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250600 0024D560 38 61 00 38 */ addi r3, r1, 0x38 +/* 80250604 0024D564 48 0E CB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250608 0024D568 7F 00 07 75 */ extsb. r0, r24 +/* 8025060C 0024D56C 41 82 00 0C */ beq lbl_80250618 +/* 80250610 0024D570 38 61 00 48 */ addi r3, r1, 0x48 +/* 80250614 0024D574 48 0E CB 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250618: +/* 80250618 0024D578 80 7C 00 54 */ lwz r3, 0x54(r28) +/* 8025061C 0024D57C 38 81 00 78 */ addi r4, r1, 0x78 +/* 80250620 0024D580 38 A0 00 00 */ li r5, 0 +/* 80250624 0024D584 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250628 0024D588 48 07 92 5D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025062C 0024D58C 2C 1F FF FF */ cmpwi r31, -1 +/* 80250630 0024D590 3B 00 00 00 */ li r24, 0 +/* 80250634 0024D594 40 82 00 0C */ bne lbl_80250640 +/* 80250638 0024D598 38 81 00 98 */ addi r4, r1, 0x98 +/* 8025063C 0024D59C 48 00 00 24 */ b lbl_80250660 +lbl_80250640: +/* 80250640 0024D5A0 7F 63 DB 78 */ mr r3, r27 +/* 80250644 0024D5A4 7F E4 FB 78 */ mr r4, r31 +/* 80250648 0024D5A8 48 10 60 B5 */ bl GetString__12CStringTableCFi +/* 8025064C 0024D5AC 7C 64 1B 78 */ mr r4, r3 +/* 80250650 0024D5B0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80250654 0024D5B4 4B DC 53 9D */ bl wstring_l__4rstlFPCw +/* 80250658 0024D5B8 3B 00 00 01 */ li r24, 1 +/* 8025065C 0024D5BC 38 81 00 28 */ addi r4, r1, 0x28 +lbl_80250660: +/* 80250660 0024D5C0 80 7C 00 5C */ lwz r3, 0x5c(r28) +/* 80250664 0024D5C4 38 A0 00 00 */ li r5, 0 +/* 80250668 0024D5C8 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 8025066C 0024D5CC 48 07 92 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250670 0024D5D0 7F 00 07 75 */ extsb. r0, r24 +/* 80250674 0024D5D4 41 82 00 0C */ beq lbl_80250680 +/* 80250678 0024D5D8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025067C 0024D5DC 48 0E CA B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250680: +/* 80250680 0024D5E0 2C 1E FF FF */ cmpwi r30, -1 +/* 80250684 0024D5E4 3B 00 00 00 */ li r24, 0 +/* 80250688 0024D5E8 40 82 00 0C */ bne lbl_80250694 +/* 8025068C 0024D5EC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250690 0024D5F0 48 00 00 24 */ b lbl_802506B4 +lbl_80250694: +/* 80250694 0024D5F4 7F 63 DB 78 */ mr r3, r27 +/* 80250698 0024D5F8 7F C4 F3 78 */ mr r4, r30 +/* 8025069C 0024D5FC 48 10 60 61 */ bl GetString__12CStringTableCFi +/* 802506A0 0024D600 7C 64 1B 78 */ mr r4, r3 +/* 802506A4 0024D604 38 61 00 18 */ addi r3, r1, 0x18 +/* 802506A8 0024D608 4B DC 53 49 */ bl wstring_l__4rstlFPCw +/* 802506AC 0024D60C 3B 00 00 01 */ li r24, 1 +/* 802506B0 0024D610 38 81 00 18 */ addi r4, r1, 0x18 +lbl_802506B4: +/* 802506B4 0024D614 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 802506B8 0024D618 38 A0 00 00 */ li r5, 0 +/* 802506BC 0024D61C 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 802506C0 0024D620 48 07 91 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802506C4 0024D624 7F 00 07 75 */ extsb. r0, r24 +/* 802506C8 0024D628 41 82 00 0C */ beq lbl_802506D4 +/* 802506CC 0024D62C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802506D0 0024D630 48 0E CA 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802506D4: +/* 802506D4 0024D634 2C 1D FF FF */ cmpwi r29, -1 +/* 802506D8 0024D638 3B 00 00 00 */ li r24, 0 +/* 802506DC 0024D63C 40 82 00 0C */ bne lbl_802506E8 +/* 802506E0 0024D640 38 81 00 98 */ addi r4, r1, 0x98 +/* 802506E4 0024D644 48 00 00 24 */ b lbl_80250708 +lbl_802506E8: +/* 802506E8 0024D648 7F 63 DB 78 */ mr r3, r27 +/* 802506EC 0024D64C 7F A4 EB 78 */ mr r4, r29 +/* 802506F0 0024D650 48 10 60 0D */ bl GetString__12CStringTableCFi +/* 802506F4 0024D654 7C 64 1B 78 */ mr r4, r3 +/* 802506F8 0024D658 38 61 00 08 */ addi r3, r1, 8 +/* 802506FC 0024D65C 4B DC 52 F5 */ bl wstring_l__4rstlFPCw +/* 80250700 0024D660 3B 00 00 01 */ li r24, 1 +/* 80250704 0024D664 38 81 00 08 */ addi r4, r1, 8 +lbl_80250708: +/* 80250708 0024D668 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8025070C 0024D66C 38 A0 00 00 */ li r5, 0 +/* 80250710 0024D670 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250714 0024D674 48 07 91 71 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80250718 0024D678 7F 00 07 75 */ extsb. r0, r24 +/* 8025071C 0024D67C 41 82 00 0C */ beq lbl_80250728 +/* 80250720 0024D680 38 61 00 08 */ addi r3, r1, 8 +/* 80250724 0024D684 48 0E CA 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80250728: +/* 80250728 0024D688 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 8025072C 0024D68C 38 81 00 98 */ addi r4, r1, 0x98 +/* 80250730 0024D690 38 A0 00 00 */ li r5, 0 +/* 80250734 0024D694 38 63 00 D4 */ addi r3, r3, 0xd4 +/* 80250738 0024D698 48 07 91 4D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025073C 0024D69C 80 DC 00 5C */ lwz r6, 0x5c(r28) +/* 80250740 0024D6A0 20 7F FF FF */ subfic r3, r31, -1 +/* 80250744 0024D6A4 38 1F 00 01 */ addi r0, r31, 1 +/* 80250748 0024D6A8 38 A0 00 00 */ li r5, 0 +/* 8025074C 0024D6AC 7C 60 03 78 */ or r0, r3, r0 +/* 80250750 0024D6B0 88 86 00 B6 */ lbz r4, 0xb6(r6) +/* 80250754 0024D6B4 50 04 2E F6 */ rlwimi r4, r0, 5, 0x1b, 0x1b +/* 80250758 0024D6B8 20 7E FF FF */ subfic r3, r30, -1 +/* 8025075C 0024D6BC 98 86 00 B6 */ stb r4, 0xb6(r6) +/* 80250760 0024D6C0 38 1E 00 01 */ addi r0, r30, 1 +/* 80250764 0024D6C4 7C 60 03 78 */ or r0, r3, r0 +/* 80250768 0024D6C8 20 7D FF FF */ subfic r3, r29, -1 +/* 8025076C 0024D6CC 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 80250770 0024D6D0 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80250774 0024D6D4 38 1D 00 01 */ addi r0, r29, 1 +/* 80250778 0024D6D8 2C 1F FF FF */ cmpwi r31, -1 +/* 8025077C 0024D6DC 7C 60 03 78 */ or r0, r3, r0 +/* 80250780 0024D6E0 88 64 00 B6 */ lbz r3, 0xb6(r4) +/* 80250784 0024D6E4 50 C3 26 F6 */ rlwimi r3, r6, 4, 0x1b, 0x1b +/* 80250788 0024D6E8 98 64 00 B6 */ stb r3, 0xb6(r4) +/* 8025078C 0024D6EC 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80250790 0024D6F0 38 80 00 01 */ li r4, 1 +/* 80250794 0024D6F4 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80250798 0024D6F8 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 8025079C 0024D6FC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802507A0 0024D700 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 802507A4 0024D704 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 802507A8 0024D708 88 03 00 B6 */ lbz r0, 0xb6(r3) +/* 802507AC 0024D70C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802507B0 0024D710 98 03 00 B6 */ stb r0, 0xb6(r3) +/* 802507B4 0024D714 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 802507B8 0024D718 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 802507BC 0024D71C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 802507C0 0024D720 90 A3 00 C4 */ stw r5, 0xc4(r3) +/* 802507C4 0024D724 40 82 00 14 */ bne lbl_802507D8 +/* 802507C8 0024D728 2C 1E FF FF */ cmpwi r30, -1 +/* 802507CC 0024D72C 40 82 00 0C */ bne lbl_802507D8 +/* 802507D0 0024D730 2C 1D FF FF */ cmpwi r29, -1 +/* 802507D4 0024D734 41 82 00 08 */ beq lbl_802507DC +lbl_802507D8: +/* 802507D8 0024D738 38 A0 00 01 */ li r5, 1 +lbl_802507DC: +/* 802507DC 0024D73C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802507E0 0024D740 40 82 00 08 */ bne lbl_802507E8 +/* 802507E4 0024D744 38 80 00 00 */ li r4, 0 +lbl_802507E8: +/* 802507E8 0024D748 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 802507EC 0024D74C 48 07 9D F9 */ bl SetIsActive__10CGuiWidgetFb +/* 802507F0 0024D750 7F 83 E3 78 */ mr r3, r28 +/* 802507F4 0024D754 4B FF E9 81 */ bl SetUIColors__15CSaveGameScreenFv +/* 802507F8 0024D758 38 61 00 78 */ addi r3, r1, 0x78 +/* 802507FC 0024D75C 48 0E C9 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250800 0024D760 38 61 00 88 */ addi r3, r1, 0x88 +/* 80250804 0024D764 48 0E C9 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250808 0024D768 38 61 00 98 */ addi r3, r1, 0x98 +/* 8025080C 0024D76C 48 0E C9 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80250810 0024D770 BB 01 00 B0 */ lmw r24, 0xb0(r1) +/* 80250814 0024D774 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80250818 0024D778 7C 08 03 A6 */ mtlr r0 +/* 8025081C 0024D77C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80250820 0024D780 4E 80 00 20 */ blr + +.global SelectUIType__15CSaveGameScreenFv +SelectUIType__15CSaveGameScreenFv: +/* 80250824 0024D784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250828 0024D788 7C 08 02 A6 */ mflr r0 +/* 8025082C 0024D78C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250830 0024D790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250834 0024D794 93 C1 00 08 */ stw r30, 8(r1) +/* 80250838 0024D798 80 83 00 6C */ lwz r4, 0x6c(r3) +/* 8025083C 0024D79C 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 80250840 0024D7A0 83 C4 00 14 */ lwz r30, 0x14(r4) +/* 80250844 0024D7A4 2C 1F 00 02 */ cmpwi r31, 2 +/* 80250848 0024D7A8 40 82 00 0C */ bne lbl_80250854 +/* 8025084C 0024D7AC 38 60 00 03 */ li r3, 3 +/* 80250850 0024D7B0 48 00 00 EC */ b lbl_8025093C +lbl_80250854: +/* 80250854 0024D7B4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80250858 0024D7B8 2C 00 00 0D */ cmpwi r0, 0xd +/* 8025085C 0024D7BC 41 82 00 14 */ beq lbl_80250870 +/* 80250860 0024D7C0 2C 00 00 0F */ cmpwi r0, 0xf +/* 80250864 0024D7C4 41 82 00 0C */ beq lbl_80250870 +/* 80250868 0024D7C8 2C 00 00 0E */ cmpwi r0, 0xe +/* 8025086C 0024D7CC 40 82 00 0C */ bne lbl_80250878 +lbl_80250870: +/* 80250870 0024D7D0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80250874 0024D7D4 48 00 00 C8 */ b lbl_8025093C +lbl_80250878: +/* 80250878 0024D7D8 7F E3 FB 78 */ mr r3, r31 +/* 8025087C 0024D7DC 4B FF E8 D1 */ bl IsCardBusy__17CMemoryCardDriverF6EState +/* 80250880 0024D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250884 0024D7E4 41 82 00 20 */ beq lbl_802508A4 +/* 80250888 0024D7E8 7F E3 FB 78 */ mr r3, r31 +/* 8025088C 0024D7EC 4B FF E8 65 */ bl IsCardWriting__17CMemoryCardDriverF6EState +/* 80250890 0024D7F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250894 0024D7F4 38 60 00 02 */ li r3, 2 +/* 80250898 0024D7F8 41 82 00 A4 */ beq lbl_8025093C +/* 8025089C 0024D7FC 38 60 00 01 */ li r3, 1 +/* 802508A0 0024D800 48 00 00 9C */ b lbl_8025093C +lbl_802508A4: +/* 802508A4 0024D804 2C 1F 00 01 */ cmpwi r31, 1 +/* 802508A8 0024D808 40 82 00 18 */ bne lbl_802508C0 +/* 802508AC 0024D80C 2C 1E 00 06 */ cmpwi r30, 6 +/* 802508B0 0024D810 38 60 00 10 */ li r3, 0x10 +/* 802508B4 0024D814 40 82 00 88 */ bne lbl_8025093C +/* 802508B8 0024D818 38 60 00 0C */ li r3, 0xc +/* 802508BC 0024D81C 48 00 00 80 */ b lbl_8025093C +lbl_802508C0: +/* 802508C0 0024D820 2C 1E 00 01 */ cmpwi r30, 1 +/* 802508C4 0024D824 40 82 00 0C */ bne lbl_802508D0 +/* 802508C8 0024D828 38 60 00 04 */ li r3, 4 +/* 802508CC 0024D82C 48 00 00 70 */ b lbl_8025093C +lbl_802508D0: +/* 802508D0 0024D830 2C 1E 00 02 */ cmpwi r30, 2 +/* 802508D4 0024D834 40 82 00 0C */ bne lbl_802508E0 +/* 802508D8 0024D838 38 60 00 05 */ li r3, 5 +/* 802508DC 0024D83C 48 00 00 60 */ b lbl_8025093C +lbl_802508E0: +/* 802508E0 0024D840 2C 1E 00 04 */ cmpwi r30, 4 +/* 802508E4 0024D844 40 82 00 0C */ bne lbl_802508F0 +/* 802508E8 0024D848 38 60 00 07 */ li r3, 7 +/* 802508EC 0024D84C 48 00 00 50 */ b lbl_8025093C +lbl_802508F0: +/* 802508F0 0024D850 2C 1E 00 05 */ cmpwi r30, 5 +/* 802508F4 0024D854 40 82 00 18 */ bne lbl_8025090C +/* 802508F8 0024D858 2C 1F 00 14 */ cmpwi r31, 0x14 +/* 802508FC 0024D85C 38 60 00 09 */ li r3, 9 +/* 80250900 0024D860 40 82 00 3C */ bne lbl_8025093C +/* 80250904 0024D864 38 60 00 08 */ li r3, 8 +/* 80250908 0024D868 48 00 00 34 */ b lbl_8025093C +lbl_8025090C: +/* 8025090C 0024D86C 2C 1E 00 07 */ cmpwi r30, 7 +/* 80250910 0024D870 40 82 00 0C */ bne lbl_8025091C +/* 80250914 0024D874 38 60 00 0A */ li r3, 0xa +/* 80250918 0024D878 48 00 00 24 */ b lbl_8025093C +lbl_8025091C: +/* 8025091C 0024D87C 2C 1E 00 09 */ cmpwi r30, 9 +/* 80250920 0024D880 40 82 00 0C */ bne lbl_8025092C +/* 80250924 0024D884 38 60 00 0B */ li r3, 0xb +/* 80250928 0024D888 48 00 00 14 */ b lbl_8025093C +lbl_8025092C: +/* 8025092C 0024D88C 2C 1E 00 03 */ cmpwi r30, 3 +/* 80250930 0024D890 38 60 00 00 */ li r3, 0 +/* 80250934 0024D894 40 82 00 08 */ bne lbl_8025093C +/* 80250938 0024D898 38 60 00 06 */ li r3, 6 +lbl_8025093C: +/* 8025093C 0024D89C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250940 0024D8A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250944 0024D8A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80250948 0024D8A8 7C 08 03 A6 */ mtlr r0 +/* 8025094C 0024D8AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250950 0024D8B0 4E 80 00 20 */ blr + +.global IsHiddenFromFrontEnd__15CSaveGameScreenFv +IsHiddenFromFrontEnd__15CSaveGameScreenFv: +/* 80250954 0024D8B4 2C 03 00 10 */ cmpwi r3, 0x10 +/* 80250958 0024D8B8 41 82 00 1C */ beq lbl_80250974 +/* 8025095C 0024D8BC 40 80 00 20 */ bge lbl_8025097C +/* 80250960 0024D8C0 2C 03 00 03 */ cmpwi r3, 3 +/* 80250964 0024D8C4 40 80 00 18 */ bge lbl_8025097C +/* 80250968 0024D8C8 2C 03 00 00 */ cmpwi r3, 0 +/* 8025096C 0024D8CC 40 80 00 08 */ bge lbl_80250974 +/* 80250970 0024D8D0 48 00 00 0C */ b lbl_8025097C +lbl_80250974: +/* 80250974 0024D8D4 38 60 00 00 */ li r3, 0 +/* 80250978 0024D8D8 4E 80 00 20 */ blr +lbl_8025097C: +/* 8025097C 0024D8DC 38 60 00 01 */ li r3, 1 +/* 80250980 0024D8E0 4E 80 00 20 */ blr + +.global sub_80250984 +sub_80250984: +/* 80250984 0024D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80250988 0024D8E8 7C 08 02 A6 */ mflr r0 +/* 8025098C 0024D8EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80250990 0024D8F0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80250994 0024D8F4 7C 9F 23 78 */ mr r31, r4 +/* 80250998 0024D8F8 7C 7E 1B 78 */ mr r30, r3 +/* 8025099C 0024D8FC 80 03 00 08 */ lwz r0, 8(r3) +/* 802509A0 0024D900 7C 1F 00 00 */ cmpw r31, r0 +/* 802509A4 0024D904 40 81 00 C4 */ ble lbl_80250A68 +/* 802509A8 0024D908 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802509AC 0024D90C 40 82 00 0C */ bne lbl_802509B8 +/* 802509B0 0024D910 3B 80 00 00 */ li r28, 0 +/* 802509B4 0024D914 48 00 00 1C */ b lbl_802509D0 +lbl_802509B8: +/* 802509B8 0024D918 3C 80 80 3D */ lis r4, lbl_803D4A90@ha +/* 802509BC 0024D91C 38 A0 00 00 */ li r5, 0 +/* 802509C0 0024D920 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l +/* 802509C4 0024D924 38 84 00 B7 */ addi r4, r4, 0xb7 +/* 802509C8 0024D928 48 0C 4E 51 */ bl __nwa__FUlPCcPCc +/* 802509CC 0024D92C 7C 7C 1B 78 */ mr r28, r3 +lbl_802509D0: +/* 802509D0 0024D930 80 1E 00 04 */ lwz r0, 4(r30) +/* 802509D4 0024D934 7F 9B E3 78 */ mr r27, r28 +/* 802509D8 0024D938 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802509DC 0024D93C 54 00 18 38 */ slwi r0, r0, 3 +/* 802509E0 0024D940 7F BA 02 14 */ add r29, r26, r0 +/* 802509E4 0024D944 93 41 00 10 */ stw r26, 0x10(r1) +/* 802509E8 0024D948 93 A1 00 08 */ stw r29, 8(r1) +/* 802509EC 0024D94C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802509F0 0024D950 93 41 00 14 */ stw r26, 0x14(r1) +/* 802509F4 0024D954 48 00 00 20 */ b lbl_80250A14 +lbl_802509F8: +/* 802509F8 0024D958 28 1B 00 00 */ cmplwi r27, 0 +/* 802509FC 0024D95C 41 82 00 10 */ beq lbl_80250A0C +/* 80250A00 0024D960 7F 63 DB 78 */ mr r3, r27 +/* 80250A04 0024D964 7F 44 D3 78 */ mr r4, r26 +/* 80250A08 0024D968 48 0F 04 A1 */ bl __ct__6CTokenFRC6CToken +lbl_80250A0C: +/* 80250A0C 0024D96C 3B 7B 00 08 */ addi r27, r27, 8 +/* 80250A10 0024D970 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80250A14: +/* 80250A14 0024D974 7C 1A E8 40 */ cmplw r26, r29 +/* 80250A18 0024D978 40 82 FF E0 */ bne lbl_802509F8 +/* 80250A1C 0024D97C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80250A20 0024D980 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80250A24 0024D984 54 00 18 38 */ slwi r0, r0, 3 +/* 80250A28 0024D988 7F 7A 02 14 */ add r27, r26, r0 +/* 80250A2C 0024D98C 48 00 00 1C */ b lbl_80250A48 +lbl_80250A30: +/* 80250A30 0024D990 28 1A 00 00 */ cmplwi r26, 0 +/* 80250A34 0024D994 41 82 00 10 */ beq lbl_80250A44 +/* 80250A38 0024D998 7F 43 D3 78 */ mr r3, r26 +/* 80250A3C 0024D99C 38 80 00 00 */ li r4, 0 +/* 80250A40 0024D9A0 48 0F 04 01 */ bl __dt__6CTokenFv +lbl_80250A44: +/* 80250A44 0024D9A4 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80250A48: +/* 80250A48 0024D9A8 7C 1A D8 40 */ cmplw r26, r27 +/* 80250A4C 0024D9AC 40 82 FF E4 */ bne lbl_80250A30 +/* 80250A50 0024D9B0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80250A54 0024D9B4 28 03 00 00 */ cmplwi r3, 0 +/* 80250A58 0024D9B8 41 82 00 08 */ beq lbl_80250A60 +/* 80250A5C 0024D9BC 48 0C 4E D5 */ bl Free__7CMemoryFPCv +lbl_80250A60: +/* 80250A60 0024D9C0 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80250A64 0024D9C4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80250A68: +/* 80250A68 0024D9C8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80250A6C 0024D9CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80250A70 0024D9D0 7C 08 03 A6 */ mtlr r0 +/* 80250A74 0024D9D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80250A78 0024D9D8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSlideShow.s b/asm/Kyoto_CWD/CSlideShow.s new file mode 100644 index 00000000..3336c9e8 --- /dev/null +++ b/asm/Kyoto_CWD/CSlideShow.s @@ -0,0 +1,5343 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetIsContinueDraw__10CSlideShowFv +GetIsContinueDraw__10CSlideShowFv: +/* 802979E4 00294944 38 60 00 00 */ li r3, 0 +/* 802979E8 00294948 4E 80 00 20 */ blr + +.global sub_802979ec +sub_802979ec: +/* 802979EC 0029494C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802979F0 00294950 7C 08 02 A6 */ mflr r0 +/* 802979F4 00294954 90 01 00 34 */ stw r0, 0x34(r1) +/* 802979F8 00294958 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802979FC 0029495C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80297A00 00294960 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80297A04 00294964 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80297A08 00294968 7C 7E 1B 78 */ mr r30, r3 +/* 80297A0C 0029496C 38 A0 FF FF */ li r5, -1 +/* 80297A10 00294970 90 A3 00 04 */ stw r5, 4(r3) +/* 80297A14 00294974 38 61 00 0C */ addi r3, r1, 0xc +/* 80297A18 00294978 38 1E 00 0C */ addi r0, r30, 0xc +/* 80297A1C 0029497C 38 80 00 00 */ li r4, 0 +/* 80297A20 00294980 90 BE 00 08 */ stw r5, 8(r30) +/* 80297A24 00294984 7C 03 00 40 */ cmplw r3, r0 +/* 80297A28 00294988 98 81 00 0C */ stb r4, 0xc(r1) +/* 80297A2C 0029498C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80297A30 00294990 41 82 00 48 */ beq lbl_80297A78 +/* 80297A34 00294994 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 80297A38 00294998 28 00 00 00 */ cmplwi r0, 0 +/* 80297A3C 0029499C 41 82 00 24 */ beq lbl_80297A60 +/* 80297A40 002949A0 83 FE 00 10 */ lwz r31, 0x10(r30) +/* 80297A44 002949A4 28 1F 00 00 */ cmplwi r31, 0 +/* 80297A48 002949A8 41 82 00 18 */ beq lbl_80297A60 +/* 80297A4C 002949AC 7F E3 FB 78 */ mr r3, r31 +/* 80297A50 002949B0 38 80 00 00 */ li r4, 0 +/* 80297A54 002949B4 48 0A 93 ED */ bl __dt__6CTokenFv +/* 80297A58 002949B8 7F E3 FB 78 */ mr r3, r31 +/* 80297A5C 002949BC 48 07 DE D5 */ bl Free__7CMemoryFPCv +lbl_80297A60: +/* 80297A60 002949C0 88 61 00 0C */ lbz r3, 0xc(r1) +/* 80297A64 002949C4 38 00 00 00 */ li r0, 0 +/* 80297A68 002949C8 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80297A6C 002949CC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80297A70 002949D0 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80297A74 002949D4 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80297A78: +/* 80297A78 002949D8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80297A7C 002949DC 28 00 00 00 */ cmplwi r0, 0 +/* 80297A80 002949E0 41 82 00 24 */ beq lbl_80297AA4 +/* 80297A84 002949E4 83 E1 00 10 */ lwz r31, 0x10(r1) +/* 80297A88 002949E8 28 1F 00 00 */ cmplwi r31, 0 +/* 80297A8C 002949EC 41 82 00 18 */ beq lbl_80297AA4 +/* 80297A90 002949F0 7F E3 FB 78 */ mr r3, r31 +/* 80297A94 002949F4 38 80 00 00 */ li r4, 0 +/* 80297A98 002949F8 48 0A 93 A9 */ bl __dt__6CTokenFv +/* 80297A9C 002949FC 7F E3 FB 78 */ mr r3, r31 +/* 80297AA0 00294A00 48 07 DE 91 */ bl Free__7CMemoryFPCv +lbl_80297AA4: +/* 80297AA4 00294A04 38 00 00 00 */ li r0, 0 +/* 80297AA8 00294A08 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 80297AAC 00294A0C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 80297AB0 00294A10 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AB4 00294A14 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80297AB8 00294A18 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ABC 00294A1C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80297AC0 00294A20 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AC4 00294A24 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80297AC8 00294A28 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ACC 00294A2C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80297AD0 00294A30 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297AD4 00294A34 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80297AD8 00294A38 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297ADC 00294A3C D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80297AE0 00294A40 48 0B 24 CD */ bl White__6CColorFv +/* 80297AE4 00294A44 80 03 00 00 */ lwz r0, 0(r3) +/* 80297AE8 00294A48 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 80297AEC 00294A4C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80297AF0 00294A50 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80297AF4 00294A54 88 01 00 08 */ lbz r0, 8(r1) +/* 80297AF8 00294A58 98 1E 00 33 */ stb r0, 0x33(r30) +/* 80297AFC 00294A5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80297B00 00294A60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80297B04 00294A64 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80297B08 00294A68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80297B0C 00294A6C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80297B10 00294A70 7C 08 03 A6 */ mtlr r0 +/* 80297B14 00294A74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80297B18 00294A78 4E 80 00 20 */ blr + +.global sub_80297b1c +sub_80297b1c: +/* 80297B1C 00294A7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80297B20 00294A80 7C 08 02 A6 */ mflr r0 +/* 80297B24 00294A84 38 A0 00 00 */ li r5, 0 +/* 80297B28 00294A88 90 01 00 34 */ stw r0, 0x34(r1) +/* 80297B2C 00294A8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80297B30 00294A90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80297B34 00294A94 7C 7E 1B 78 */ mr r30, r3 +/* 80297B38 00294A98 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297B3C 00294A9C 28 03 00 00 */ cmplwi r3, 0 +/* 80297B40 00294AA0 41 82 00 24 */ beq lbl_80297B64 +/* 80297B44 00294AA4 80 83 00 00 */ lwz r4, 0(r3) +/* 80297B48 00294AA8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297B4C 00294AAC 28 00 00 00 */ cmplwi r0, 0 +/* 80297B50 00294AB0 41 82 00 14 */ beq lbl_80297B64 +/* 80297B54 00294AB4 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80297B58 00294AB8 28 00 00 00 */ cmplwi r0, 0 +/* 80297B5C 00294ABC 41 82 00 08 */ beq lbl_80297B64 +/* 80297B60 00294AC0 38 A0 00 01 */ li r5, 1 +lbl_80297B64: +/* 80297B64 00294AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297B68 00294AC8 41 82 00 94 */ beq lbl_80297BFC +/* 80297B6C 00294ACC 48 0A 92 A1 */ bl GetObj__6CTokenFv +/* 80297B70 00294AD0 80 83 00 04 */ lwz r4, 4(r3) +/* 80297B74 00294AD4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80297B78 00294AD8 AB E4 00 04 */ lha r31, 4(r4) +/* 80297B7C 00294ADC 48 0A 92 91 */ bl GetObj__6CTokenFv +/* 80297B80 00294AE0 80 63 00 04 */ lwz r3, 4(r3) +/* 80297B84 00294AE4 3D 00 43 30 */ lis r8, 0x4330 +/* 80297B88 00294AE8 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 80297B8C 00294AEC 91 01 00 18 */ stw r8, 0x18(r1) +/* 80297B90 00294AF0 A8 A3 00 06 */ lha r5, 6(r3) +/* 80297B94 00294AF4 38 7E 00 0C */ addi r3, r30, 0xc +/* 80297B98 00294AF8 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80297B9C 00294AFC 38 81 00 08 */ addi r4, r1, 8 +/* 80297BA0 00294B00 6C A6 80 00 */ xoris r6, r5, 0x8000 +/* 80297BA4 00294B04 90 01 00 24 */ stw r0, 0x24(r1) +/* 80297BA8 00294B08 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 80297BAC 00294B0C 38 BE 00 30 */ addi r5, r30, 0x30 +/* 80297BB0 00294B10 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 80297BB4 00294B14 38 DE 00 18 */ addi r6, r30, 0x18 +/* 80297BB8 00294B18 C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 80297BBC 00294B1C 38 FE 00 20 */ addi r7, r30, 0x20 +/* 80297BC0 00294B20 91 01 00 20 */ stw r8, 0x20(r1) +/* 80297BC4 00294B24 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80297BC8 00294B28 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80297BCC 00294B2C EC 82 18 28 */ fsubs f4, f2, f3 +/* 80297BD0 00294B30 C0 5E 00 28 */ lfs f2, 0x28(r30) +/* 80297BD4 00294B34 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80297BD8 00294B38 C0 62 BF F4 */ lfs f3, lbl_805ADD14@sda21(r2) +/* 80297BDC 00294B3C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80297BE0 00294B40 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80297BE4 00294B44 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80297BE8 00294B48 EC 24 00 F2 */ fmuls f1, f4, f3 +/* 80297BEC 00294B4C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80297BF0 00294B50 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80297BF4 00294B54 D0 01 00 08 */ stfs f0, 8(r1) +/* 80297BF8 00294B58 48 00 41 2D */ bl sub_8029bd24 +lbl_80297BFC: +/* 80297BFC 00294B5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80297C00 00294B60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80297C04 00294B64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80297C08 00294B68 7C 08 03 A6 */ mtlr r0 +/* 80297C0C 00294B6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80297C10 00294B70 4E 80 00 20 */ blr + +.global sub_80297c14 +sub_80297c14: +/* 80297C14 00294B74 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80297C18 00294B78 7C 08 02 A6 */ mflr r0 +/* 80297C1C 00294B7C 38 A0 00 00 */ li r5, 0 +/* 80297C20 00294B80 90 01 00 44 */ stw r0, 0x44(r1) +/* 80297C24 00294B84 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80297C28 00294B88 7C 7F 1B 78 */ mr r31, r3 +/* 80297C2C 00294B8C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297C30 00294B90 28 03 00 00 */ cmplwi r3, 0 +/* 80297C34 00294B94 41 82 00 18 */ beq lbl_80297C4C +/* 80297C38 00294B98 80 83 00 00 */ lwz r4, 0(r3) +/* 80297C3C 00294B9C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297C40 00294BA0 28 00 00 00 */ cmplwi r0, 0 +/* 80297C44 00294BA4 41 82 00 08 */ beq lbl_80297C4C +/* 80297C48 00294BA8 38 A0 00 01 */ li r5, 1 +lbl_80297C4C: +/* 80297C4C 00294BAC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297C50 00294BB0 41 82 00 FC */ beq lbl_80297D4C +/* 80297C54 00294BB4 48 0A 91 B9 */ bl GetObj__6CTokenFv +/* 80297C58 00294BB8 80 83 00 04 */ lwz r4, 4(r3) +/* 80297C5C 00294BBC 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80297C60 00294BC0 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l +/* 80297C64 00294BC4 3C E0 43 30 */ lis r7, 0x4330 +/* 80297C68 00294BC8 A8 04 00 04 */ lha r0, 4(r4) +/* 80297C6C 00294BCC 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 80297C70 00294BD0 A8 C4 00 06 */ lha r6, 6(r4) +/* 80297C74 00294BD4 80 85 00 08 */ lwz r4, 8(r5) +/* 80297C78 00294BD8 6C 08 80 00 */ xoris r8, r0, 0x8000 +/* 80297C7C 00294BDC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80297C80 00294BE0 6C C5 80 00 */ xoris r5, r6, 0x8000 +/* 80297C84 00294BE4 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80297C88 00294BE8 91 01 00 1C */ stw r8, 0x1c(r1) +/* 80297C8C 00294BEC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80297C90 00294BF0 C8 A2 BF F8 */ lfd f5, lbl_805ADD18@sda21(r2) +/* 80297C94 00294BF4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80297C98 00294BF8 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) +/* 80297C9C 00294BFC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 80297CA0 00294C00 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80297CA4 00294C04 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80297CA8 00294C08 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80297CAC 00294C0C C8 41 00 20 */ lfd f2, 0x20(r1) +/* 80297CB0 00294C10 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80297CB4 00294C14 EC 42 28 28 */ fsubs f2, f2, f5 +/* 80297CB8 00294C18 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80297CBC 00294C1C C8 81 00 28 */ lfd f4, 0x28(r1) +/* 80297CC0 00294C20 EC C1 10 24 */ fdivs f6, f1, f2 +/* 80297CC4 00294C24 90 01 00 34 */ stw r0, 0x34(r1) +/* 80297CC8 00294C28 90 E1 00 30 */ stw r7, 0x30(r1) +/* 80297CCC 00294C2C C8 61 00 30 */ lfd f3, 0x30(r1) +/* 80297CD0 00294C30 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80297CD4 00294C34 C0 03 00 04 */ lfs f0, 4(r3) +/* 80297CD8 00294C38 EC 84 28 28 */ fsubs f4, f4, f5 +/* 80297CDC 00294C3C D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80297CE0 00294C40 EC 03 28 28 */ fsubs f0, f3, f5 +/* 80297CE4 00294C44 EC 04 00 24 */ fdivs f0, f4, f0 +/* 80297CE8 00294C48 FC 06 00 00 */ fcmpu cr0, f6, f0 +/* 80297CEC 00294C4C 41 82 00 48 */ beq lbl_80297D34 +/* 80297CF0 00294C50 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80297CF4 00294C54 40 81 00 24 */ ble lbl_80297D18 +/* 80297CF8 00294C58 EC 41 00 24 */ fdivs f2, f1, f0 +/* 80297CFC 00294C5C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80297D00 00294C60 48 07 C5 01 */ bl __ct__9CVector2fFff +/* 80297D04 00294C64 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80297D08 00294C68 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80297D0C 00294C6C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80297D10 00294C70 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80297D14 00294C74 48 00 00 20 */ b lbl_80297D34 +lbl_80297D18: +/* 80297D18 00294C78 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80297D1C 00294C7C 38 61 00 08 */ addi r3, r1, 8 +/* 80297D20 00294C80 48 07 C4 E1 */ bl __ct__9CVector2fFff +/* 80297D24 00294C84 C0 01 00 08 */ lfs f0, 8(r1) +/* 80297D28 00294C88 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80297D2C 00294C8C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80297D30 00294C90 D0 1F 00 24 */ stfs f0, 0x24(r31) +lbl_80297D34: +/* 80297D34 00294C94 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80297D38 00294C98 38 00 00 01 */ li r0, 1 +/* 80297D3C 00294C9C D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80297D40 00294CA0 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 80297D44 00294CA4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80297D48 00294CA8 98 1F 00 14 */ stb r0, 0x14(r31) +lbl_80297D4C: +/* 80297D4C 00294CAC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80297D50 00294CB0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80297D54 00294CB4 7C 08 03 A6 */ mtlr r0 +/* 80297D58 00294CB8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80297D5C 00294CBC 4E 80 00 20 */ blr + +.global sub_80297d60 +sub_80297d60: +/* 80297D60 00294CC0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80297D64 00294CC4 7C 08 02 A6 */ mflr r0 +/* 80297D68 00294CC8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80297D6C 00294CCC DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80297D70 00294CD0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80297D74 00294CD4 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80297D78 00294CD8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80297D7C 00294CDC DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 80297D80 00294CE0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80297D84 00294CE4 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 80297D88 00294CE8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 80297D8C 00294CEC DB 61 00 90 */ stfd f27, 0x90(r1) +/* 80297D90 00294CF0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 80297D94 00294CF4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80297D98 00294CF8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80297D9C 00294CFC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80297DA0 00294D00 93 81 00 80 */ stw r28, 0x80(r1) +/* 80297DA4 00294D04 7C 7E 1B 78 */ mr r30, r3 +/* 80297DA8 00294D08 7C 9F 23 78 */ mr r31, r4 +/* 80297DAC 00294D0C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80297DB0 00294D10 38 A0 00 00 */ li r5, 0 +/* 80297DB4 00294D14 28 03 00 00 */ cmplwi r3, 0 +/* 80297DB8 00294D18 41 82 00 24 */ beq lbl_80297DDC +/* 80297DBC 00294D1C 80 83 00 00 */ lwz r4, 0(r3) +/* 80297DC0 00294D20 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80297DC4 00294D24 28 00 00 00 */ cmplwi r0, 0 +/* 80297DC8 00294D28 41 82 00 14 */ beq lbl_80297DDC +/* 80297DCC 00294D2C 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80297DD0 00294D30 28 00 00 00 */ cmplwi r0, 0 +/* 80297DD4 00294D34 41 82 00 08 */ beq lbl_80297DDC +/* 80297DD8 00294D38 38 A0 00 01 */ li r5, 1 +lbl_80297DDC: +/* 80297DDC 00294D3C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80297DE0 00294D40 41 82 03 98 */ beq lbl_80298178 +/* 80297DE4 00294D44 48 0A 90 29 */ bl GetObj__6CTokenFv +/* 80297DE8 00294D48 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80297DEC 00294D4C 3C C0 43 30 */ lis r6, 0x4330 +/* 80297DF0 00294D50 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80297DF4 00294D54 81 03 00 04 */ lwz r8, 4(r3) +/* 80297DF8 00294D58 83 A5 00 08 */ lwz r29, 8(r5) +/* 80297DFC 00294D5C 7F E4 FB 78 */ mr r4, r31 +/* 80297E00 00294D60 83 85 00 0C */ lwz r28, 0xc(r5) +/* 80297E04 00294D64 38 60 00 2E */ li r3, 0x2e +/* 80297E08 00294D68 6F A5 80 00 */ xoris r5, r29, 0x8000 +/* 80297E0C 00294D6C A8 E8 00 04 */ lha r7, 4(r8) +/* 80297E10 00294D70 6F 80 80 00 */ xoris r0, r28, 0x8000 +/* 80297E14 00294D74 90 A1 00 74 */ stw r5, 0x74(r1) +/* 80297E18 00294D78 A8 A8 00 06 */ lha r5, 6(r8) +/* 80297E1C 00294D7C 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80297E20 00294D80 90 C1 00 70 */ stw r6, 0x70(r1) +/* 80297E24 00294D84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80297E28 00294D88 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80297E2C 00294D8C C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80297E30 00294D90 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80297E34 00294D94 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80297E38 00294D98 90 C1 00 78 */ stw r6, 0x78(r1) +/* 80297E3C 00294D9C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80297E40 00294DA0 90 E1 00 64 */ stw r7, 0x64(r1) +/* 80297E44 00294DA4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80297E48 00294DA8 90 C1 00 60 */ stw r6, 0x60(r1) +/* 80297E4C 00294DAC EF 81 00 24 */ fdivs f28, f1, f0 +/* 80297E50 00294DB0 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 80297E54 00294DB4 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 80297E58 00294DB8 90 C1 00 68 */ stw r6, 0x68(r1) +/* 80297E5C 00294DBC C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80297E60 00294DC0 EF E1 10 28 */ fsubs f31, f1, f2 +/* 80297E64 00294DC4 EF A0 10 28 */ fsubs f29, f0, f2 +/* 80297E68 00294DC8 4B D7 4A B1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297E6C 00294DCC FF 60 08 90 */ fmr f27, f1 +/* 80297E70 00294DD0 7F E4 FB 78 */ mr r4, r31 +/* 80297E74 00294DD4 38 60 00 2F */ li r3, 0x2f +/* 80297E78 00294DD8 4B D7 4A A1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297E7C 00294DDC C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 80297E80 00294DE0 EC 61 D8 28 */ fsubs f3, f1, f27 +/* 80297E84 00294DE4 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80297E88 00294DE8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80297E8C 00294DEC FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 80297E90 00294DF0 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80297E94 00294DF4 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80297E98 00294DF8 41 82 00 E4 */ beq lbl_80297F7C +/* 80297E9C 00294DFC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80297EA0 00294E00 6F A6 80 00 */ xoris r6, r29, 0x8000 +/* 80297EA4 00294E04 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80297EA8 00294E08 3C 00 43 30 */ lis r0, 0x4330 +/* 80297EAC 00294E0C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80297EB0 00294E10 38 61 00 44 */ addi r3, r1, 0x44 +/* 80297EB4 00294E14 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80297EB8 00294E18 38 81 00 40 */ addi r4, r1, 0x40 +/* 80297EBC 00294E1C C0 45 00 38 */ lfs f2, 0x38(r5) +/* 80297EC0 00294E20 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80297EC4 00294E24 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80297EC8 00294E28 EC 62 00 F2 */ fmuls f3, f2, f3 +/* 80297ECC 00294E2C 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 80297ED0 00294E30 90 01 00 78 */ stw r0, 0x78(r1) +/* 80297ED4 00294E34 EC 5C 00 FA */ fmadds f2, f28, f3, f0 +/* 80297ED8 00294E38 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80297EDC 00294E3C D0 5E 00 20 */ stfs f2, 0x20(r30) +/* 80297EE0 00294E40 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80297EE4 00294E44 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 80297EE8 00294E48 EC 21 18 2A */ fadds f1, f1, f3 +/* 80297EEC 00294E4C D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80297EF0 00294E50 C0 3E 00 28 */ lfs f1, 0x28(r30) +/* 80297EF4 00294E54 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80297EF8 00294E58 C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 80297EFC 00294E5C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80297F00 00294E60 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80297F04 00294E64 4B D7 43 B1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80297F08 00294E68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80297F0C 00294E6C 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 80297F10 00294E70 3C 00 43 30 */ lis r0, 0x4330 +/* 80297F14 00294E74 90 61 00 74 */ stw r3, 0x74(r1) +/* 80297F18 00294E78 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80297F1C 00294E7C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80297F20 00294E80 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80297F24 00294E84 38 81 00 34 */ addi r4, r1, 0x34 +/* 80297F28 00294E88 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80297F2C 00294E8C 90 01 00 70 */ stw r0, 0x70(r1) +/* 80297F30 00294E90 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 80297F34 00294E94 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80297F38 00294E98 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80297F3C 00294E9C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80297F40 00294EA0 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 80297F44 00294EA4 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80297F48 00294EA8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80297F4C 00294EAC 4B D7 43 69 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80297F50 00294EB0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80297F54 00294EB4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80297F58 00294EB8 38 9E 00 20 */ addi r4, r30, 0x20 +/* 80297F5C 00294EBC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80297F60 00294EC0 48 07 C2 09 */ bl sub_80314168 +/* 80297F64 00294EC4 C0 22 C0 00 */ lfs f1, lbl_805ADD20@sda21(r2) +/* 80297F68 00294EC8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80297F6C 00294ECC 48 07 C1 BD */ bl sub_80314128 +/* 80297F70 00294ED0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80297F74 00294ED4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80297F78 00294ED8 48 07 C2 15 */ bl __apl__9CVector2fFRC9CVector2f +lbl_80297F7C: +/* 80297F7C 00294EDC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80297F80 00294EE0 38 9E 00 20 */ addi r4, r30, 0x20 +/* 80297F84 00294EE4 48 07 BF 85 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 80297F88 00294EE8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80297F8C 00294EEC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80297F90 00294EF0 7C 00 00 34 */ cntlzw r0, r0 +/* 80297F94 00294EF4 54 04 D9 7E */ srwi r4, r0, 5 +/* 80297F98 00294EF8 48 00 0B 39 */ bl sub_80298ad0 +/* 80297F9C 00294EFC C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80297FA0 00294F00 7F E4 FB 78 */ mr r4, r31 +/* 80297FA4 00294F04 38 60 00 2A */ li r3, 0x2a +/* 80297FA8 00294F08 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80297FAC 00294F0C C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80297FB0 00294F10 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80297FB4 00294F14 4B D7 49 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FB8 00294F18 FF 60 08 90 */ fmr f27, f1 +/* 80297FBC 00294F1C 7F E4 FB 78 */ mr r4, r31 +/* 80297FC0 00294F20 38 60 00 2B */ li r3, 0x2b +/* 80297FC4 00294F24 4B D7 49 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FC8 00294F28 FF 80 08 90 */ fmr f28, f1 +/* 80297FCC 00294F2C 7F E4 FB 78 */ mr r4, r31 +/* 80297FD0 00294F30 38 60 00 2C */ li r3, 0x2c +/* 80297FD4 00294F34 4B D7 49 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FD8 00294F38 FF C0 08 90 */ fmr f30, f1 +/* 80297FDC 00294F3C 7F E4 FB 78 */ mr r4, r31 +/* 80297FE0 00294F40 38 60 00 2D */ li r3, 0x2d +/* 80297FE4 00294F44 4B D7 49 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80297FE8 00294F48 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80297FEC 00294F4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80297FF0 00294F50 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80297FF4 00294F54 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80297FF8 00294F58 C0 43 00 34 */ lfs f2, 0x34(r3) +/* 80297FFC 00294F5C 38 6D 9A 04 */ addi r3, r13, lbl_805A85C4@sda21 +/* 80298000 00294F60 EC 02 07 BC */ fnmsubs f0, f2, f30, f0 +/* 80298004 00294F64 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298008 00294F68 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 8029800C 00294F6C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80298010 00294F70 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298014 00294F74 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298018 00294F78 EC 02 06 FA */ fmadds f0, f2, f27, f0 +/* 8029801C 00294F7C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298020 00294F80 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298024 00294F84 EC 02 07 3C */ fnmsubs f0, f2, f28, f0 +/* 80298028 00294F88 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8029802C 00294F8C C0 3E 00 28 */ lfs f1, 0x28(r30) +/* 80298030 00294F90 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80298034 00294F94 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298038 00294F98 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029803C 00294F9C C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80298040 00294FA0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80298044 00294FA4 4B D7 42 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298048 00294FA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029804C 00294FAC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80298050 00294FB0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80298054 00294FB4 38 6D 9A 08 */ addi r3, r13, lbl_805A85C8@sda21 +/* 80298058 00294FB8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8029805C 00294FBC C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 80298060 00294FC0 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80298064 00294FC4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298068 00294FC8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029806C 00294FCC C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298070 00294FD0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80298074 00294FD4 4B D7 42 41 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298078 00294FD8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029807C 00294FDC C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) +/* 80298080 00294FE0 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298084 00294FE4 C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) +/* 80298088 00294FE8 C3 DE 00 20 */ lfs f30, 0x20(r30) +/* 8029808C 00294FEC EC 1E 00 72 */ fmuls f0, f30, f1 +/* 80298090 00294FF0 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 +/* 80298094 00294FF4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80298098 00294FF8 40 81 00 08 */ ble lbl_802980A0 +/* 8029809C 00294FFC FC 60 00 90 */ fmr f3, f0 +lbl_802980A0: +/* 802980A0 00295000 C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) +/* 802980A4 00295004 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 802980A8 00295008 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 802980AC 0029500C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802980B0 00295010 EC 1D 00 78 */ fmsubs f0, f29, f1, f0 +/* 802980B4 00295014 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802980B8 00295018 40 81 00 08 */ ble lbl_802980C0 +/* 802980BC 0029501C FF E0 00 90 */ fmr f31, f0 +lbl_802980C0: +/* 802980C0 00295020 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802980C4 00295024 38 61 00 1C */ addi r3, r1, 0x1c +/* 802980C8 00295028 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) +/* 802980CC 0029502C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802980D0 00295030 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802980D4 00295034 EC 00 18 BA */ fmadds f0, f0, f2, f3 +/* 802980D8 00295038 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802980DC 0029503C C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 802980E0 00295040 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 802980E4 00295044 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 802980E8 00295048 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802980EC 0029504C C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 802980F0 00295050 EC 00 18 B8 */ fmsubs f0, f0, f2, f3 +/* 802980F4 00295054 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802980F8 00295058 4B D7 41 BD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802980FC 0029505C C0 03 00 00 */ lfs f0, 0(r3) +/* 80298100 00295060 38 61 00 10 */ addi r3, r1, 0x10 +/* 80298104 00295064 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) +/* 80298108 00295068 38 81 00 0C */ addi r4, r1, 0xc +/* 8029810C 0029506C 38 A1 00 08 */ addi r5, r1, 8 +/* 80298110 00295070 EC 1E 00 BC */ fnmsubs f0, f30, f2, f0 +/* 80298114 00295074 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80298118 00295078 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8029811C 0029507C C3 7E 00 24 */ lfs f27, 0x24(r30) +/* 80298120 00295080 EC 00 F8 BA */ fmadds f0, f0, f2, f31 +/* 80298124 00295084 D0 01 00 08 */ stfs f0, 8(r1) +/* 80298128 00295088 C0 3E 00 24 */ lfs f1, 0x24(r30) +/* 8029812C 0029508C C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80298130 00295090 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80298134 00295094 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80298138 00295098 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8029813C 0029509C EC 00 F8 B8 */ fmsubs f0, f0, f2, f31 +/* 80298140 002950A0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80298144 002950A4 4B D7 41 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298148 002950A8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029814C 002950AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80298150 002950B0 C0 02 BF F4 */ lfs f0, lbl_805ADD14@sda21(r2) +/* 80298154 002950B4 38 9E 00 18 */ addi r4, r30, 0x18 +/* 80298158 002950B8 EC 1B 08 3C */ fnmsubs f0, f27, f0, f1 +/* 8029815C 002950BC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80298160 002950C0 48 07 BD A9 */ bl __eq__FRC9CVector2fRC9CVector2f +/* 80298164 002950C4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80298168 002950C8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8029816C 002950CC 7C 00 00 34 */ cntlzw r0, r0 +/* 80298170 002950D0 54 04 D9 7E */ srwi r4, r0, 5 +/* 80298174 002950D4 48 00 09 E1 */ bl sub_80298b54 +lbl_80298178: +/* 80298178 002950D8 38 60 00 01 */ li r3, 1 +/* 8029817C 002950DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80298180 002950E0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80298184 002950E4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80298188 002950E8 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8029818C 002950EC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 80298190 002950F0 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 80298194 002950F4 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 80298198 002950F8 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8029819C 002950FC E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802981A0 00295100 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802981A4 00295104 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802981A8 00295108 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 802981AC 0029510C 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 802981B0 00295110 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802981B4 00295114 83 81 00 80 */ lwz r28, 0x80(r1) +/* 802981B8 00295118 7C 08 03 A6 */ mtlr r0 +/* 802981BC 0029511C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802981C0 00295120 4E 80 00 20 */ blr + +.global sub_802981c4 +sub_802981c4: +/* 802981C4 00295124 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802981C8 00295128 7C 08 02 A6 */ mflr r0 +/* 802981CC 0029512C 90 01 01 54 */ stw r0, 0x154(r1) +/* 802981D0 00295130 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 802981D4 00295134 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 802981D8 00295138 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 802981DC 0029513C 93 C1 01 38 */ stw r30, 0x138(r1) +/* 802981E0 00295140 93 A1 01 34 */ stw r29, 0x134(r1) +/* 802981E4 00295144 7C 7F 1B 78 */ mr r31, r3 +/* 802981E8 00295148 80 03 00 38 */ lwz r0, 0x38(r3) +/* 802981EC 0029514C 28 00 00 00 */ cmplwi r0, 0 +/* 802981F0 00295150 41 82 02 5C */ beq lbl_8029844C +/* 802981F4 00295154 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 802981F8 00295158 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802981FC 0029515C 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 80298200 00295160 38 61 00 34 */ addi r3, r1, 0x34 +/* 80298204 00295164 81 84 00 00 */ lwz r12, 0(r4) +/* 80298208 00295168 38 A0 00 01 */ li r5, 1 +/* 8029820C 0029516C 83 C6 00 08 */ lwz r30, 8(r6) +/* 80298210 00295170 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80298214 00295174 83 A6 00 0C */ lwz r29, 0xc(r6) +/* 80298218 00295178 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 8029821C 0029517C C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 80298220 00295180 7D 89 03 A6 */ mtctr r12 +/* 80298224 00295184 4E 80 04 21 */ bctrl +/* 80298228 00295188 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029822C 0029518C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80298230 00295190 48 07 45 1D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80298234 00295194 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80298238 00295198 48 0A 8B D5 */ bl GetObj__6CTokenFv +/* 8029823C 0029519C 80 83 00 04 */ lwz r4, 4(r3) +/* 80298240 002951A0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80298244 002951A4 3C 00 43 30 */ lis r0, 0x4330 +/* 80298248 002951A8 90 61 01 24 */ stw r3, 0x124(r1) +/* 8029824C 002951AC 80 A4 00 28 */ lwz r5, 0x28(r4) +/* 80298250 002951B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80298254 002951B4 90 01 01 20 */ stw r0, 0x120(r1) +/* 80298258 002951B8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029825C 002951BC C0 65 00 20 */ lfs f3, 0x20(r5) +/* 80298260 002951C0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298264 002951C4 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80298268 002951C8 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 8029826C 002951CC C0 45 00 24 */ lfs f2, 0x24(r5) +/* 80298270 002951D0 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80298274 002951D4 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80298278 002951D8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8029827C 002951DC C0 45 00 28 */ lfs f2, 0x28(r5) +/* 80298280 002951E0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80298284 002951E4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80298288 002951E8 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8029828C 002951EC EC 02 18 28 */ fsubs f0, f2, f3 +/* 80298290 002951F0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80298294 002951F4 C0 45 00 30 */ lfs f2, 0x30(r5) +/* 80298298 002951F8 EF E1 00 24 */ fdivs f31, f1, f0 +/* 8029829C 002951FC D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802982A0 00295200 C0 05 00 34 */ lfs f0, 0x34(r5) +/* 802982A4 00295204 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802982A8 00295208 48 09 F3 65 */ bl GetCenterPoint__6CAABoxCFv +/* 802982AC 0029520C C0 62 C0 10 */ lfs f3, lbl_805ADD30@sda21(r2) +/* 802982B0 00295210 38 61 00 BC */ addi r3, r1, 0xbc +/* 802982B4 00295214 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802982B8 00295218 38 81 00 28 */ addi r4, r1, 0x28 +/* 802982BC 0029521C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802982C0 00295220 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802982C4 00295224 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802982C8 00295228 EC 43 00 72 */ fmuls f2, f3, f1 +/* 802982CC 0029522C EC 23 00 32 */ fmuls f1, f3, f0 +/* 802982D0 00295230 EC 7F 01 32 */ fmuls f3, f31, f4 +/* 802982D4 00295234 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802982D8 00295238 EC 1F 00 B2 */ fmuls f0, f31, f2 +/* 802982DC 0029523C EC 9F 00 72 */ fmuls f4, f31, f1 +/* 802982E0 00295240 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802982E4 00295244 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802982E8 00295248 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802982EC 0029524C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802982F0 00295250 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802982F4 00295254 48 07 AE 4D */ bl Translate__12CTransform4fFRC9CVector3f +/* 802982F8 00295258 38 61 00 EC */ addi r3, r1, 0xec +/* 802982FC 0029525C 38 81 00 BC */ addi r4, r1, 0xbc +/* 80298300 00295260 48 07 A8 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80298304 00295264 FC 20 F8 90 */ fmr f1, f31 +/* 80298308 00295268 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) +/* 8029830C 0029526C FC 60 F8 90 */ fmr f3, f31 +/* 80298310 00295270 38 61 00 8C */ addi r3, r1, 0x8c +/* 80298314 00295274 48 07 AE F5 */ bl Scale__12CTransform4fFfff +/* 80298318 00295278 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029831C 0029527C 38 81 00 EC */ addi r4, r1, 0xec +/* 80298320 00295280 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80298324 00295284 48 07 A6 2D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80298328 00295288 38 61 00 EC */ addi r3, r1, 0xec +/* 8029832C 0029528C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80298330 00295290 48 07 A8 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80298334 00295294 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 80298338 00295298 3C 00 43 30 */ lis r0, 0x4330 +/* 8029833C 0029529C 90 61 01 2C */ stw r3, 0x12c(r1) +/* 80298340 002952A0 7F E3 FB 78 */ mr r3, r31 +/* 80298344 002952A4 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80298348 002952A8 90 01 01 28 */ stw r0, 0x128(r1) +/* 8029834C 002952AC C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80298350 002952B0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298354 002952B4 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 80298358 002952B8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8029835C 002952BC C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) +/* 80298360 002952C0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298364 002952C4 C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 80298368 002952C8 EC DF 00 F2 */ fmuls f6, f31, f3 +/* 8029836C 002952CC C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) +/* 80298370 002952D0 C0 21 01 08 */ lfs f1, 0x108(r1) +/* 80298374 002952D4 EC 80 01 72 */ fmuls f4, f0, f5 +/* 80298378 002952D8 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 8029837C 002952DC EC 42 18 2A */ fadds f2, f2, f3 +/* 80298380 002952E0 EC 21 18 2A */ fadds f1, f1, f3 +/* 80298384 002952E4 EC 66 21 78 */ fmsubs f3, f6, f5, f4 +/* 80298388 002952E8 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8029838C 002952EC EC 00 18 2A */ fadds f0, f0, f3 +/* 80298390 002952F0 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 80298394 002952F4 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 80298398 002952F8 48 00 10 B5 */ bl sub_8029944c +/* 8029839C 002952FC C0 42 C0 18 */ lfs f2, lbl_805ADD38@sda21(r2) +/* 802983A0 00295300 38 61 00 EC */ addi r3, r1, 0xec +/* 802983A4 00295304 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802983A8 00295308 C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) +/* 802983AC 0029530C EC 02 00 2A */ fadds f0, f2, f0 +/* 802983B0 00295310 C0 61 00 F8 */ lfs f3, 0xf8(r1) +/* 802983B4 00295314 C0 82 BF F0 */ lfs f4, lbl_805ADD10@sda21(r2) +/* 802983B8 00295318 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 802983BC 0029531C EC A1 01 7A */ fmadds f5, f1, f5, f0 +/* 802983C0 00295320 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 802983C4 00295324 EC 63 20 2A */ fadds f3, f3, f4 +/* 802983C8 00295328 EC 22 20 2A */ fadds f1, f2, f4 +/* 802983CC 0029532C EC 00 28 2A */ fadds f0, f0, f5 +/* 802983D0 00295330 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 802983D4 00295334 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802983D8 00295338 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 802983DC 0029533C 48 07 42 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802983E0 00295340 38 80 00 01 */ li r4, 1 +/* 802983E4 00295344 38 60 00 00 */ li r3, 0 +/* 802983E8 00295348 38 00 00 03 */ li r0, 3 +/* 802983EC 0029534C 98 81 00 08 */ stb r4, 8(r1) +/* 802983F0 00295350 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 802983F4 00295354 98 61 00 09 */ stb r3, 9(r1) +/* 802983F8 00295358 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 802983FC 0029535C B0 01 00 0A */ sth r0, 0xa(r1) +/* 80298400 00295360 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80298404 00295364 90 01 00 0C */ stw r0, 0xc(r1) +/* 80298408 00295368 48 0A 8A 05 */ bl GetObj__6CTokenFv +/* 8029840C 0029536C 7C 64 1B 78 */ mr r4, r3 +/* 80298410 00295370 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80298414 00295374 38 A1 00 08 */ addi r5, r1, 8 +/* 80298418 00295378 80 84 00 04 */ lwz r4, 4(r4) +/* 8029841C 0029537C 81 83 00 00 */ lwz r12, 0(r3) +/* 80298420 00295380 38 C0 00 00 */ li r6, 0 +/* 80298424 00295384 38 E0 00 00 */ li r7, 0 +/* 80298428 00295388 39 00 00 00 */ li r8, 0 +/* 8029842C 0029538C 81 8C 00 D8 */ lwz r12, 0xd8(r12) +/* 80298430 00295390 7D 89 03 A6 */ mtctr r12 +/* 80298434 00295394 4E 80 04 21 */ bctrl +/* 80298438 00295398 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029843C 0029539C 81 83 00 00 */ lwz r12, 0(r3) +/* 80298440 002953A0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80298444 002953A4 7D 89 03 A6 */ mtctr r12 +/* 80298448 002953A8 4E 80 04 21 */ bctrl +lbl_8029844C: +/* 8029844C 002953AC E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 80298450 002953B0 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80298454 002953B4 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 80298458 002953B8 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8029845C 002953BC 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 80298460 002953C0 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80298464 002953C4 7C 08 03 A6 */ mtlr r0 +/* 80298468 002953C8 38 21 01 50 */ addi r1, r1, 0x150 +/* 8029846C 002953CC 4E 80 00 20 */ blr + +.global sub_80298470 +sub_80298470: +/* 80298470 002953D0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80298474 002953D4 7C 08 02 A6 */ mflr r0 +/* 80298478 002953D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029847C 002953DC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80298480 002953E0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80298484 002953E4 7C 7E 1B 78 */ mr r30, r3 +/* 80298488 002953E8 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 8029848C 002953EC 28 00 00 00 */ cmplwi r0, 0 +/* 80298490 002953F0 41 82 00 B4 */ beq lbl_80298544 +/* 80298494 002953F4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80298498 002953F8 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8029849C 002953FC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802984A0 00295400 38 61 00 08 */ addi r3, r1, 8 +/* 802984A4 00295404 81 84 00 00 */ lwz r12, 0(r4) +/* 802984A8 00295408 38 A0 00 00 */ li r5, 0 +/* 802984AC 0029540C 83 E6 00 0C */ lwz r31, 0xc(r6) +/* 802984B0 00295410 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 802984B4 00295414 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 802984B8 00295418 C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 802984BC 0029541C 7D 89 03 A6 */ mtctr r12 +/* 802984C0 00295420 4E 80 04 21 */ bctrl +/* 802984C4 00295424 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 802984C8 00295428 3C 00 43 30 */ lis r0, 0x4330 +/* 802984CC 0029542C 90 61 00 4C */ stw r3, 0x4c(r1) +/* 802984D0 00295430 38 61 00 18 */ addi r3, r1, 0x18 +/* 802984D4 00295434 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 802984D8 00295438 90 01 00 48 */ stw r0, 0x48(r1) +/* 802984DC 0029543C C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) +/* 802984E0 00295440 FC 40 08 90 */ fmr f2, f1 +/* 802984E4 00295444 C8 61 00 48 */ lfd f3, 0x48(r1) +/* 802984E8 00295448 C0 1E 01 28 */ lfs f0, 0x128(r30) +/* 802984EC 0029544C EC 63 20 28 */ fsubs f3, f3, f4 +/* 802984F0 00295450 EC 63 00 2A */ fadds f3, f3, f0 +/* 802984F4 00295454 48 07 AC 95 */ bl Translate__12CTransform4fFfff +/* 802984F8 00295458 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802984FC 0029545C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80298500 00295460 81 83 00 00 */ lwz r12, 0(r3) +/* 80298504 00295464 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80298508 00295468 7D 89 03 A6 */ mtctr r12 +/* 8029850C 0029546C 4E 80 04 21 */ bctrl +/* 80298510 00295470 38 60 00 00 */ li r3, 0 +/* 80298514 00295474 48 07 35 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80298518 00295478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029851C 0029547C 38 80 00 00 */ li r4, 0 +/* 80298520 00295480 38 A0 00 00 */ li r5, 0 +/* 80298524 00295484 81 83 00 00 */ lwz r12, 0(r3) +/* 80298528 00295488 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8029852C 0029548C 7D 89 03 A6 */ mtctr r12 +/* 80298530 00295490 4E 80 04 21 */ bctrl +/* 80298534 00295494 80 7E 00 C4 */ lwz r3, 0xc4(r30) +/* 80298538 00295498 48 03 10 0D */ bl Render__15CGuiTextSupportFv +/* 8029853C 0029549C 7F C3 F3 78 */ mr r3, r30 +/* 80298540 002954A0 4B FF FC 85 */ bl sub_802981c4 +lbl_80298544: +/* 80298544 002954A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80298548 002954A8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8029854C 002954AC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80298550 002954B0 7C 08 03 A6 */ mtlr r0 +/* 80298554 002954B4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80298558 002954B8 4E 80 00 20 */ blr + +.global sub_8029855c +sub_8029855c: +/* 8029855C 002954BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80298560 002954C0 7C 08 02 A6 */ mflr r0 +/* 80298564 002954C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80298568 002954C8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8029856C 002954CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80298570 002954D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80298574 002954D4 7C 7F 1B 78 */ mr r31, r3 +/* 80298578 002954D8 FF E0 08 90 */ fmr f31, f1 +/* 8029857C 002954DC 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 80298580 002954E0 28 00 00 00 */ cmplwi r0, 0 +/* 80298584 002954E4 41 82 01 1C */ beq lbl_802986A0 +/* 80298588 002954E8 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029858C 002954EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80298590 002954F0 41 82 01 10 */ beq lbl_802986A0 +/* 80298594 002954F4 80 BF 00 44 */ lwz r5, 0x44(r31) +/* 80298598 002954F8 39 20 00 00 */ li r9, 0 +/* 8029859C 002954FC 81 1F 00 48 */ lwz r8, 0x48(r31) +/* 802985A0 00295500 2C 05 00 00 */ cmpwi r5, 0 +/* 802985A4 00295504 40 81 00 A8 */ ble lbl_8029864C +/* 802985A8 00295508 2C 05 00 08 */ cmpwi r5, 8 +/* 802985AC 0029550C 38 65 FF F8 */ addi r3, r5, -8 +/* 802985B0 00295510 40 81 00 70 */ ble lbl_80298620 +/* 802985B4 00295514 38 03 00 07 */ addi r0, r3, 7 +/* 802985B8 00295518 38 80 00 00 */ li r4, 0 +/* 802985BC 0029551C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802985C0 00295520 7C 09 03 A6 */ mtctr r0 +/* 802985C4 00295524 2C 03 00 00 */ cmpwi r3, 0 +/* 802985C8 00295528 40 81 00 58 */ ble lbl_80298620 +lbl_802985CC: +/* 802985CC 0029552C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802985D0 00295530 39 29 00 08 */ addi r9, r9, 8 +/* 802985D4 00295534 7C 60 22 14 */ add r3, r0, r4 +/* 802985D8 00295538 38 84 00 A0 */ addi r4, r4, 0xa0 +/* 802985DC 0029553C 80 03 00 08 */ lwz r0, 8(r3) +/* 802985E0 00295540 80 E3 00 1C */ lwz r7, 0x1c(r3) +/* 802985E4 00295544 7D 08 02 14 */ add r8, r8, r0 +/* 802985E8 00295548 80 C3 00 30 */ lwz r6, 0x30(r3) +/* 802985EC 0029554C 7D 08 3A 14 */ add r8, r8, r7 +/* 802985F0 00295550 80 03 00 44 */ lwz r0, 0x44(r3) +/* 802985F4 00295554 7D 08 32 14 */ add r8, r8, r6 +/* 802985F8 00295558 80 C3 00 58 */ lwz r6, 0x58(r3) +/* 802985FC 0029555C 7D 08 02 14 */ add r8, r8, r0 +/* 80298600 00295560 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80298604 00295564 7D 08 32 14 */ add r8, r8, r6 +/* 80298608 00295568 80 C3 00 80 */ lwz r6, 0x80(r3) +/* 8029860C 0029556C 7D 08 02 14 */ add r8, r8, r0 +/* 80298610 00295570 80 03 00 94 */ lwz r0, 0x94(r3) +/* 80298614 00295574 7D 08 32 14 */ add r8, r8, r6 +/* 80298618 00295578 7D 08 02 14 */ add r8, r8, r0 +/* 8029861C 0029557C 42 00 FF B0 */ bdnz lbl_802985CC +lbl_80298620: +/* 80298620 00295580 7C 09 28 50 */ subf r0, r9, r5 +/* 80298624 00295584 1C 89 00 14 */ mulli r4, r9, 0x14 +/* 80298628 00295588 7C 09 03 A6 */ mtctr r0 +/* 8029862C 0029558C 7C 09 28 00 */ cmpw r9, r5 +/* 80298630 00295590 40 80 00 1C */ bge lbl_8029864C +lbl_80298634: +/* 80298634 00295594 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80298638 00295598 38 04 00 08 */ addi r0, r4, 8 +/* 8029863C 0029559C 38 84 00 14 */ addi r4, r4, 0x14 +/* 80298640 002955A0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80298644 002955A4 7D 08 02 14 */ add r8, r8, r0 +/* 80298648 002955A8 42 00 FF EC */ bdnz lbl_80298634 +lbl_8029864C: +/* 8029864C 002955AC 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80298650 002955B0 80 BF 00 40 */ lwz r5, 0x40(r31) +/* 80298654 002955B4 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l +/* 80298658 002955B8 38 88 00 01 */ addi r4, r8, 1 +/* 8029865C 002955BC 38 63 00 8D */ addi r3, r3, 0x8d +/* 80298660 002955C0 4C C6 31 82 */ crclr 6 +/* 80298664 002955C4 48 03 DB 4D */ bl Stringize__7CBasicsFPCce +/* 80298668 002955C8 7C 64 1B 78 */ mr r4, r3 +/* 8029866C 002955CC 38 61 00 0C */ addi r3, r1, 0xc +/* 80298670 002955D0 38 C1 00 08 */ addi r6, r1, 8 +/* 80298674 002955D4 38 A0 FF FF */ li r5, -1 +/* 80298678 002955D8 48 0A 5B 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029867C 002955DC 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298680 002955E0 38 81 00 0C */ addi r4, r1, 0xc +/* 80298684 002955E4 38 A0 00 00 */ li r5, 0 +/* 80298688 002955E8 48 03 14 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029868C 002955EC FC 20 F8 90 */ fmr f1, f31 +/* 80298690 002955F0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298694 002955F4 48 02 FA E5 */ bl Update__15CGuiTextSupportFf +/* 80298698 002955F8 38 61 00 0C */ addi r3, r1, 0xc +/* 8029869C 002955FC 48 0A 54 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802986A0: +/* 802986A0 00295600 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 802986A4 00295604 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 802986A8 00295608 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 802986AC 0029560C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802986B0 00295610 40 82 00 14 */ bne lbl_802986C4 +/* 802986B4 00295614 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 802986B8 00295618 38 60 00 00 */ li r3, 0 +/* 802986BC 0029561C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802986C0 00295620 98 1F 01 35 */ stb r0, 0x135(r31) +lbl_802986C4: +/* 802986C4 00295624 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802986C8 00295628 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802986CC 0029562C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802986D0 00295630 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802986D4 00295634 7C 08 03 A6 */ mtlr r0 +/* 802986D8 00295638 38 21 00 40 */ addi r1, r1, 0x40 +/* 802986DC 0029563C 4E 80 00 20 */ blr + +.global sub_802986e0 +sub_802986e0: +/* 802986E0 00295640 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802986E4 00295644 7C 08 02 A6 */ mflr r0 +/* 802986E8 00295648 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802986EC 0029564C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802986F0 00295650 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802986F4 00295654 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802986F8 00295658 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802986FC 0029565C DB A1 00 80 */ stfd f29, 0x80(r1) +/* 80298700 00295660 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 80298704 00295664 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80298708 00295668 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8029870C 0029566C 7C 7F 1B 78 */ mr r31, r3 +/* 80298710 00295670 80 03 00 C8 */ lwz r0, 0xc8(r3) +/* 80298714 00295674 28 00 00 00 */ cmplwi r0, 0 +/* 80298718 00295678 41 82 01 AC */ beq lbl_802988C4 +/* 8029871C 0029567C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80298720 00295680 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80298724 00295684 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80298728 00295688 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029872C 0029568C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80298730 00295690 38 81 00 14 */ addi r4, r1, 0x14 +/* 80298734 00295694 83 C5 00 0C */ lwz r30, 0xc(r5) +/* 80298738 00295698 38 6D 99 FC */ addi r3, r13, lbl_805A85BC@sda21 +/* 8029873C 0029569C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80298740 002956A0 38 AD 9A 00 */ addi r5, r13, lbl_805A85C0@sda21 +/* 80298744 002956A4 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80298748 002956A8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8029874C 002956AC 4B D7 3B 69 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298750 002956B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80298754 002956B4 38 A0 00 00 */ li r5, 0 +/* 80298758 002956B8 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8029875C 002956BC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80298760 002956C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80298764 002956C4 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) +/* 80298768 002956C8 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 8029876C 002956CC C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) +/* 80298770 002956D0 7D 89 03 A6 */ mtctr r12 +/* 80298774 002956D4 4E 80 04 21 */ bctrl +/* 80298778 002956D8 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 8029877C 002956DC 3C 00 43 30 */ lis r0, 0x4330 +/* 80298780 002956E0 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80298784 002956E4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80298788 002956E8 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 8029878C 002956EC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80298790 002956F0 C0 1F 01 2C */ lfs f0, 0x12c(r31) +/* 80298794 002956F4 C8 41 00 68 */ lfd f2, 0x68(r1) +/* 80298798 002956F8 C0 22 C0 1C */ lfs f1, lbl_805ADD3C@sda21(r2) +/* 8029879C 002956FC EC 62 18 28 */ fsubs f3, f2, f3 +/* 802987A0 00295700 C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) +/* 802987A4 00295704 EC 63 00 2A */ fadds f3, f3, f0 +/* 802987A8 00295708 48 07 A9 E1 */ bl Translate__12CTransform4fFfff +/* 802987AC 0029570C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802987B0 00295710 38 81 00 34 */ addi r4, r1, 0x34 +/* 802987B4 00295714 81 83 00 00 */ lwz r12, 0(r3) +/* 802987B8 00295718 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802987BC 0029571C 7D 89 03 A6 */ mtctr r12 +/* 802987C0 00295720 4E 80 04 21 */ bctrl +/* 802987C4 00295724 38 60 00 00 */ li r3, 0 +/* 802987C8 00295728 48 07 32 A9 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802987CC 0029572C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802987D0 00295730 38 80 00 00 */ li r4, 0 +/* 802987D4 00295734 38 A0 00 00 */ li r5, 0 +/* 802987D8 00295738 81 83 00 00 */ lwz r12, 0(r3) +/* 802987DC 0029573C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 802987E0 00295740 7D 89 03 A6 */ mtctr r12 +/* 802987E4 00295744 4E 80 04 21 */ bctrl +/* 802987E8 00295748 83 DF 00 C8 */ lwz r30, 0xc8(r31) +/* 802987EC 0029574C 48 0B 17 C1 */ bl White__6CColorFv +/* 802987F0 00295750 88 83 00 03 */ lbz r4, 3(r3) +/* 802987F4 00295754 3C 00 43 30 */ lis r0, 0x4330 +/* 802987F8 00295758 90 01 00 70 */ stw r0, 0x70(r1) +/* 802987FC 0029575C C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) +/* 80298800 00295760 90 81 00 74 */ stw r4, 0x74(r1) +/* 80298804 00295764 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80298808 00295768 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8029880C 0029576C EF FD 00 32 */ fmuls f31, f29, f0 +/* 80298810 00295770 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80298814 00295774 38 81 00 10 */ addi r4, r1, 0x10 +/* 80298818 00295778 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029881C 0029577C 7F C3 F3 78 */ mr r3, r30 +/* 80298820 00295780 88 01 00 09 */ lbz r0, 9(r1) +/* 80298824 00295784 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 80298828 00295788 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029882C 0029578C 48 03 0D E1 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor +/* 80298830 00295790 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 80298834 00295794 48 03 0D 11 */ bl Render__15CGuiTextSupportFv +/* 80298838 00295798 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8029883C 0029579C 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 80298840 002957A0 54 00 18 38 */ slwi r0, r0, 3 +/* 80298844 002957A4 7C 63 02 14 */ add r3, r3, r0 +/* 80298848 002957A8 80 03 00 04 */ lwz r0, 4(r3) +/* 8029884C 002957AC 28 00 00 00 */ cmplwi r0, 0 +/* 80298850 002957B0 41 82 00 74 */ beq lbl_802988C4 +/* 80298854 002957B4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 80298858 002957B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029885C 002957BC 41 82 00 68 */ beq lbl_802988C4 +/* 80298860 002957C0 C0 5F 01 2C */ lfs f2, 0x12c(r31) +/* 80298864 002957C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80298868 002957C8 C0 22 C0 0C */ lfs f1, lbl_805ADD2C@sda21(r2) +/* 8029886C 002957CC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298870 002957D0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80298874 002957D4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80298878 002957D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029887C 002957DC C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) +/* 80298880 002957E0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80298884 002957E4 88 85 00 27 */ lbz r4, 0x27(r5) +/* 80298888 002957E8 90 01 00 70 */ stw r0, 0x70(r1) +/* 8029888C 002957EC 90 81 00 74 */ stw r4, 0x74(r1) +/* 80298890 002957F0 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80298894 002957F4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298898 002957F8 EF DD 00 32 */ fmuls f30, f29, f0 +/* 8029889C 002957FC F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 802988A0 00295800 38 81 00 18 */ addi r4, r1, 0x18 +/* 802988A4 00295804 81 05 00 24 */ lwz r8, 0x24(r5) +/* 802988A8 00295808 38 A1 00 0C */ addi r5, r1, 0xc +/* 802988AC 0029580C 88 01 00 08 */ lbz r0, 8(r1) +/* 802988B0 00295810 38 C0 00 00 */ li r6, 0 +/* 802988B4 00295814 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17 +/* 802988B8 00295818 38 E0 00 00 */ li r7, 0 +/* 802988BC 0029581C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802988C0 00295820 48 00 34 65 */ bl sub_8029bd24 +lbl_802988C4: +/* 802988C4 00295824 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802988C8 00295828 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802988CC 0029582C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802988D0 00295830 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802988D4 00295834 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802988D8 00295838 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802988DC 0029583C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802988E0 00295840 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802988E4 00295844 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802988E8 00295848 7C 08 03 A6 */ mtlr r0 +/* 802988EC 0029584C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802988F0 00295850 4E 80 00 20 */ blr + +.global sub_802988f4 +sub_802988f4: +/* 802988F4 00295854 80 04 00 04 */ lwz r0, 4(r4) +/* 802988F8 00295858 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802988FC 0029585C 54 00 18 38 */ slwi r0, r0, 3 +/* 80298900 00295860 7C 85 02 14 */ add r4, r5, r0 +/* 80298904 00295864 48 00 00 20 */ b lbl_80298924 +lbl_80298908: +/* 80298908 00295868 80 65 00 00 */ lwz r3, 0(r5) +/* 8029890C 0029586C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80298910 00295870 28 00 00 00 */ cmplwi r0, 0 +/* 80298914 00295874 40 82 00 0C */ bne lbl_80298920 +/* 80298918 00295878 38 60 00 00 */ li r3, 0 +/* 8029891C 0029587C 4E 80 00 20 */ blr +lbl_80298920: +/* 80298920 00295880 38 A5 00 08 */ addi r5, r5, 8 +lbl_80298924: +/* 80298924 00295884 7C 05 20 40 */ cmplw r5, r4 +/* 80298928 00295888 40 82 FF E0 */ bne lbl_80298908 +/* 8029892C 0029588C 38 60 00 01 */ li r3, 1 +/* 80298930 00295890 4E 80 00 20 */ blr + +.global sub_80298934 +sub_80298934: +/* 80298934 00295894 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298938 00295898 7C 08 02 A6 */ mflr r0 +/* 8029893C 0029589C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298940 002958A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298944 002958A4 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 80298948 002958A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029894C 002958AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80298950 002958B0 7C 9D 23 78 */ mr r29, r4 +/* 80298954 002958B4 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 80298958 002958B8 48 00 00 24 */ b lbl_8029897C +lbl_8029895C: +/* 8029895C 002958BC 28 1F 00 00 */ cmplwi r31, 0 +/* 80298960 002958C0 41 82 00 10 */ beq lbl_80298970 +/* 80298964 002958C4 7F C3 F3 78 */ mr r3, r30 +/* 80298968 002958C8 48 0A 84 1D */ bl Lock__6CTokenFv +/* 8029896C 002958CC 48 00 00 0C */ b lbl_80298978 +lbl_80298970: +/* 80298970 002958D0 7F C3 F3 78 */ mr r3, r30 +/* 80298974 002958D4 48 0A 83 CD */ bl Unlock__6CTokenFv +lbl_80298978: +/* 80298978 002958D8 3B DE 00 08 */ addi r30, r30, 8 +lbl_8029897C: +/* 8029897C 002958DC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80298980 002958E0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80298984 002958E4 54 00 18 38 */ slwi r0, r0, 3 +/* 80298988 002958E8 7C 03 02 14 */ add r0, r3, r0 +/* 8029898C 002958EC 7C 1E 00 40 */ cmplw r30, r0 +/* 80298990 002958F0 40 82 FF CC */ bne lbl_8029895C +/* 80298994 002958F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298998 002958F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029899C 002958FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802989A0 00295900 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802989A4 00295904 7C 08 03 A6 */ mtlr r0 +/* 802989A8 00295908 38 21 00 20 */ addi r1, r1, 0x20 +/* 802989AC 0029590C 4E 80 00 20 */ blr + +.global sub_802989b0 +sub_802989b0: +/* 802989B0 00295910 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802989B4 00295914 7C 08 02 A6 */ mflr r0 +/* 802989B8 00295918 90 01 00 24 */ stw r0, 0x24(r1) +/* 802989BC 0029591C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802989C0 00295920 54 BF 06 3E */ clrlwi r31, r5, 0x18 +/* 802989C4 00295924 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802989C8 00295928 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802989CC 0029592C 7C 9D 23 78 */ mr r29, r4 +/* 802989D0 00295930 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 802989D4 00295934 48 00 00 24 */ b lbl_802989F8 +lbl_802989D8: +/* 802989D8 00295938 28 1F 00 00 */ cmplwi r31, 0 +/* 802989DC 0029593C 41 82 00 10 */ beq lbl_802989EC +/* 802989E0 00295940 7F C3 F3 78 */ mr r3, r30 +/* 802989E4 00295944 48 0A 83 A1 */ bl Lock__6CTokenFv +/* 802989E8 00295948 48 00 00 0C */ b lbl_802989F4 +lbl_802989EC: +/* 802989EC 0029594C 7F C3 F3 78 */ mr r3, r30 +/* 802989F0 00295950 48 0A 83 51 */ bl Unlock__6CTokenFv +lbl_802989F4: +/* 802989F4 00295954 3B DE 00 08 */ addi r30, r30, 8 +lbl_802989F8: +/* 802989F8 00295958 80 1D 00 04 */ lwz r0, 4(r29) +/* 802989FC 0029595C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80298A00 00295960 54 00 18 38 */ slwi r0, r0, 3 +/* 80298A04 00295964 7C 03 02 14 */ add r0, r3, r0 +/* 80298A08 00295968 7C 1E 00 40 */ cmplw r30, r0 +/* 80298A0C 0029596C 40 82 FF CC */ bne lbl_802989D8 +/* 80298A10 00295970 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298A14 00295974 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298A18 00295978 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80298A1C 0029597C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80298A20 00295980 7C 08 03 A6 */ mtlr r0 +/* 80298A24 00295984 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298A28 00295988 4E 80 00 20 */ blr + +.global sub_80298a2c +sub_80298a2c: +/* 80298A2C 0029598C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80298A30 00295990 7C 08 02 A6 */ mflr r0 +/* 80298A34 00295994 90 01 00 34 */ stw r0, 0x34(r1) +/* 80298A38 00295998 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80298A3C 0029599C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80298A40 002959A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298A44 002959A4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 80298A48 002959A8 7C 7F 1B 78 */ mr r31, r3 +/* 80298A4C 002959AC 38 81 00 0C */ addi r4, r1, 0xc +/* 80298A50 002959B0 38 6D 99 F4 */ addi r3, r13, lbl_805A85B4@sda21 +/* 80298A54 002959B4 C0 05 00 58 */ lfs f0, 0x58(r5) +/* 80298A58 002959B8 38 AD 99 F8 */ addi r5, r13, lbl_805A85B8@sda21 +/* 80298A5C 002959BC EC 01 00 24 */ fdivs f0, f1, f0 +/* 80298A60 002959C0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80298A64 002959C4 4B D7 38 51 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80298A68 002959C8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80298A6C 002959CC 3C 00 43 30 */ lis r0, 0x4330 +/* 80298A70 002959D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80298A74 002959D4 80 04 01 D8 */ lwz r0, 0x1d8(r4) +/* 80298A78 002959D8 C0 43 00 00 */ lfs f2, 0(r3) +/* 80298A7C 002959DC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80298A80 002959E0 C0 02 C0 28 */ lfs f0, lbl_805ADD48@sda21(r2) +/* 80298A84 002959E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80298A88 002959E8 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 80298A8C 002959EC C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80298A90 002959F0 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80298A94 002959F4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80298A98 002959F8 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80298A9C 002959FC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80298AA0 00295A00 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 80298AA4 00295A04 88 81 00 08 */ lbz r4, 8(r1) +/* 80298AA8 00295A08 48 0D 31 8D */ bl SetVolume__18CStaticAudioPlayerFc +/* 80298AAC 00295A0C 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 80298AB0 00295A10 48 0D 35 81 */ bl StartMixOut__18CStaticAudioPlayerFv +/* 80298AB4 00295A14 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80298AB8 00295A18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80298ABC 00295A1C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80298AC0 00295A20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298AC4 00295A24 7C 08 03 A6 */ mtlr r0 +/* 80298AC8 00295A28 38 21 00 30 */ addi r1, r1, 0x30 +/* 80298ACC 00295A2C 4E 80 00 20 */ blr + +.global sub_80298ad0 +sub_80298ad0: +/* 80298AD0 00295A30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298AD4 00295A34 7C 08 02 A6 */ mflr r0 +/* 80298AD8 00295A38 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298ADC 00295A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80298AE0 00295A40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298AE4 00295A44 7C 7F 1B 78 */ mr r31, r3 +/* 80298AE8 00295A48 41 82 00 40 */ beq lbl_80298B28 +/* 80298AEC 00295A4C 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80298AF0 00295A50 28 00 00 00 */ cmplwi r0, 0 +/* 80298AF4 00295A54 40 82 00 4C */ bne lbl_80298B40 +/* 80298AF8 00295A58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80298AFC 00295A5C 38 61 00 0C */ addi r3, r1, 0xc +/* 80298B00 00295A60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80298B04 00295A64 38 80 05 AF */ li r4, 0x5af +/* 80298B08 00295A68 38 A0 00 7F */ li r5, 0x7f +/* 80298B0C 00295A6C 38 C0 00 40 */ li r6, 0x40 +/* 80298B10 00295A70 38 E0 00 00 */ li r7, 0 +/* 80298B14 00295A74 39 20 00 01 */ li r9, 1 +/* 80298B18 00295A78 48 05 12 5D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80298B1C 00295A7C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80298B20 00295A80 90 1F 00 E4 */ stw r0, 0xe4(r31) +/* 80298B24 00295A84 48 00 00 1C */ b lbl_80298B40 +lbl_80298B28: +/* 80298B28 00295A88 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80298B2C 00295A8C 38 61 00 08 */ addi r3, r1, 8 +/* 80298B30 00295A90 90 01 00 08 */ stw r0, 8(r1) +/* 80298B34 00295A94 48 05 12 15 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80298B38 00295A98 38 00 00 00 */ li r0, 0 +/* 80298B3C 00295A9C 90 1F 00 E4 */ stw r0, 0xe4(r31) +lbl_80298B40: +/* 80298B40 00295AA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298B44 00295AA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298B48 00295AA8 7C 08 03 A6 */ mtlr r0 +/* 80298B4C 00295AAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298B50 00295AB0 4E 80 00 20 */ blr + +.global sub_80298b54 +sub_80298b54: +/* 80298B54 00295AB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80298B58 00295AB8 7C 08 02 A6 */ mflr r0 +/* 80298B5C 00295ABC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80298B60 00295AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80298B64 00295AC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80298B68 00295AC8 7C 7F 1B 78 */ mr r31, r3 +/* 80298B6C 00295ACC 41 82 00 40 */ beq lbl_80298BAC +/* 80298B70 00295AD0 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 80298B74 00295AD4 28 00 00 00 */ cmplwi r0, 0 +/* 80298B78 00295AD8 40 82 00 4C */ bne lbl_80298BC4 +/* 80298B7C 00295ADC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80298B80 00295AE0 38 61 00 0C */ addi r3, r1, 0xc +/* 80298B84 00295AE4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80298B88 00295AE8 38 80 05 AE */ li r4, 0x5ae +/* 80298B8C 00295AEC 38 A0 00 7F */ li r5, 0x7f +/* 80298B90 00295AF0 38 C0 00 40 */ li r6, 0x40 +/* 80298B94 00295AF4 38 E0 00 00 */ li r7, 0 +/* 80298B98 00295AF8 39 20 00 01 */ li r9, 1 +/* 80298B9C 00295AFC 48 05 11 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80298BA0 00295B00 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80298BA4 00295B04 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 80298BA8 00295B08 48 00 00 1C */ b lbl_80298BC4 +lbl_80298BAC: +/* 80298BAC 00295B0C 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 80298BB0 00295B10 38 61 00 08 */ addi r3, r1, 8 +/* 80298BB4 00295B14 90 01 00 08 */ stw r0, 8(r1) +/* 80298BB8 00295B18 48 05 11 91 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80298BBC 00295B1C 38 00 00 00 */ li r0, 0 +/* 80298BC0 00295B20 90 1F 00 E0 */ stw r0, 0xe0(r31) +lbl_80298BC4: +/* 80298BC4 00295B24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80298BC8 00295B28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80298BCC 00295B2C 7C 08 03 A6 */ mtlr r0 +/* 80298BD0 00295B30 38 21 00 20 */ addi r1, r1, 0x20 +/* 80298BD4 00295B34 4E 80 00 20 */ blr + +.global sub_80298bd8 +sub_80298bd8: +/* 80298BD8 00295B38 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80298BDC 00295B3C 7C 08 02 A6 */ mflr r0 +/* 80298BE0 00295B40 90 01 02 34 */ stw r0, 0x234(r1) +/* 80298BE4 00295B44 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80298BE8 00295B48 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80298BEC 00295B4C DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80298BF0 00295B50 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 80298BF4 00295B54 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80298BF8 00295B58 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80298BFC 00295B5C 93 E1 01 FC */ stw r31, 0x1fc(r1) +/* 80298C00 00295B60 93 C1 01 F8 */ stw r30, 0x1f8(r1) +/* 80298C04 00295B64 7C 7F 1B 78 */ mr r31, r3 +/* 80298C08 00295B68 7C 9E 23 78 */ mr r30, r4 +/* 80298C0C 00295B6C 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 80298C10 00295B70 28 00 00 00 */ cmplwi r0, 0 +/* 80298C14 00295B74 41 82 06 10 */ beq lbl_80299224 +/* 80298C18 00295B78 38 60 00 2D */ li r3, 0x2d +/* 80298C1C 00295B7C 4B D7 3C FD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C20 00295B80 FF E0 08 90 */ fmr f31, f1 +/* 80298C24 00295B84 7F C4 F3 78 */ mr r4, r30 +/* 80298C28 00295B88 38 60 00 2C */ li r3, 0x2c +/* 80298C2C 00295B8C 4B D7 3C ED */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C30 00295B90 FF C0 08 90 */ fmr f30, f1 +/* 80298C34 00295B94 7F C4 F3 78 */ mr r4, r30 +/* 80298C38 00295B98 38 60 00 2B */ li r3, 0x2b +/* 80298C3C 00295B9C 4B D7 3C DD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C40 00295BA0 FF A0 08 90 */ fmr f29, f1 +/* 80298C44 00295BA4 7F C4 F3 78 */ mr r4, r30 +/* 80298C48 00295BA8 38 60 00 2A */ li r3, 0x2a +/* 80298C4C 00295BAC 4B D7 3C CD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C50 00295BB0 FC 40 E8 90 */ fmr f2, f29 +/* 80298C54 00295BB4 FC 60 F0 90 */ fmr f3, f30 +/* 80298C58 00295BB8 FC 80 F8 90 */ fmr f4, f31 +/* 80298C5C 00295BBC 48 00 33 31 */ bl sub_8029bf8c +/* 80298C60 00295BC0 90 7F 00 EC */ stw r3, 0xec(r31) +/* 80298C64 00295BC4 7F C4 F3 78 */ mr r4, r30 +/* 80298C68 00295BC8 38 60 00 29 */ li r3, 0x29 +/* 80298C6C 00295BCC 4B D7 3C AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C70 00295BD0 FF A0 08 90 */ fmr f29, f1 +/* 80298C74 00295BD4 7F C4 F3 78 */ mr r4, r30 +/* 80298C78 00295BD8 38 60 00 28 */ li r3, 0x28 +/* 80298C7C 00295BDC 4B D7 3C 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C80 00295BE0 FF C0 08 90 */ fmr f30, f1 +/* 80298C84 00295BE4 7F C4 F3 78 */ mr r4, r30 +/* 80298C88 00295BE8 38 60 00 26 */ li r3, 0x26 +/* 80298C8C 00295BEC 4B D7 3C 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298C90 00295BF0 FF E0 08 90 */ fmr f31, f1 +/* 80298C94 00295BF4 7F C4 F3 78 */ mr r4, r30 +/* 80298C98 00295BF8 38 60 00 27 */ li r3, 0x27 +/* 80298C9C 00295BFC 4B D7 3C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CA0 00295C00 FC 40 F8 90 */ fmr f2, f31 +/* 80298CA4 00295C04 FC 60 F0 90 */ fmr f3, f30 +/* 80298CA8 00295C08 FC 80 E8 90 */ fmr f4, f29 +/* 80298CAC 00295C0C 48 00 32 E1 */ bl sub_8029bf8c +/* 80298CB0 00295C10 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80298CB4 00295C14 7F C4 F3 78 */ mr r4, r30 +/* 80298CB8 00295C18 38 60 00 2E */ li r3, 0x2e +/* 80298CBC 00295C1C 4B D7 3C 5D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CC0 00295C20 FF E0 08 90 */ fmr f31, f1 +/* 80298CC4 00295C24 7F C4 F3 78 */ mr r4, r30 +/* 80298CC8 00295C28 38 60 00 2F */ li r3, 0x2f +/* 80298CCC 00295C2C 4B D7 3C 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80298CD0 00295C30 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298CD4 00295C34 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80298CD8 00295C38 40 81 00 0C */ ble lbl_80298CE4 +/* 80298CDC 00295C3C 38 00 00 01 */ li r0, 1 +/* 80298CE0 00295C40 48 00 00 08 */ b lbl_80298CE8 +lbl_80298CE4: +/* 80298CE4 00295C44 38 00 00 00 */ li r0, 0 +lbl_80298CE8: +/* 80298CE8 00295C48 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80298CEC 00295C4C 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 80298CF0 00295C50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80298CF4 00295C54 40 81 00 0C */ ble lbl_80298D00 +/* 80298CF8 00295C58 38 00 00 01 */ li r0, 1 +/* 80298CFC 00295C5C 48 00 00 08 */ b lbl_80298D04 +lbl_80298D00: +/* 80298D00 00295C60 38 00 00 00 */ li r0, 0 +lbl_80298D04: +/* 80298D04 00295C64 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 80298D08 00295C68 38 00 00 00 */ li r0, 0 +/* 80298D0C 00295C6C 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 80298D10 00295C70 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298D14 00295C74 90 81 01 E0 */ stw r4, 0x1e0(r1) +/* 80298D18 00295C78 38 80 01 00 */ li r4, 0x100 +/* 80298D1C 00295C7C 83 CD A0 74 */ lwz r30, gpStringTable@sda21(r13) +/* 80298D20 00295C80 38 A0 00 01 */ li r5, 1 +/* 80298D24 00295C84 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80298D28 00295C88 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80298D2C 00295C8C 48 0A 42 49 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 80298D30 00295C90 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 80298D34 00295C94 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298D38 00295C98 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298D3C 00295C9C 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298D40 00295CA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80298D44 00295CA4 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298D48 00295CA8 7C A3 02 14 */ add r5, r3, r0 +/* 80298D4C 00295CAC 38 66 00 93 */ addi r3, r6, 0x93 +/* 80298D50 00295CB0 80 A5 00 24 */ lwz r5, 0x24(r5) +/* 80298D54 00295CB4 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298D58 00295CB8 4C C6 31 82 */ crclr 6 +/* 80298D5C 00295CBC 48 03 D4 55 */ bl Stringize__7CBasicsFPCce +/* 80298D60 00295CC0 7C 64 1B 78 */ mr r4, r3 +/* 80298D64 00295CC4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80298D68 00295CC8 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80298D6C 00295CCC 38 A0 FF FF */ li r5, -1 +/* 80298D70 00295CD0 48 0A 54 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298D74 00295CD4 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80298D78 00295CD8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80298D7C 00295CDC 48 0A 59 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298D80 00295CE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298D84 00295CE4 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 80298D88 00295CE8 48 0A 48 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298D8C 00295CEC 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 80298D90 00295CF0 48 0A 43 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298D94 00295CF4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80298D98 00295CF8 48 0A 4D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298D9C 00295CFC 7F C3 F3 78 */ mr r3, r30 +/* 80298DA0 00295D00 38 80 00 38 */ li r4, 0x38 +/* 80298DA4 00295D04 48 0B D9 59 */ bl GetString__12CStringTableCFi +/* 80298DA8 00295D08 7C 64 1B 78 */ mr r4, r3 +/* 80298DAC 00295D0C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298DB0 00295D10 38 A0 FF FF */ li r5, -1 +/* 80298DB4 00295D14 48 0A 47 31 */ bl sub_8033d4e4 +/* 80298DB8 00295D18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298DBC 00295D1C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80298DC0 00295D20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298DC4 00295D24 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80298DC8 00295D28 4B D6 BE F1 */ bl string_l__4rstlFPCc +/* 80298DCC 00295D2C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80298DD0 00295D30 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 80298DD4 00295D34 48 0A 59 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298DD8 00295D38 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298DDC 00295D3C 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80298DE0 00295D40 48 0A 48 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298DE4 00295D44 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80298DE8 00295D48 48 0A 43 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298DEC 00295D4C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80298DF0 00295D50 48 0A 4C F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298DF4 00295D54 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80298DF8 00295D58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298DFC 00295D5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298E00 00295D60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298E04 00295D64 54 00 10 3A */ slwi r0, r0, 2 +/* 80298E08 00295D68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298E0C 00295D6C 7C A3 02 14 */ add r5, r3, r0 +/* 80298E10 00295D70 38 66 00 AC */ addi r3, r6, 0xac +/* 80298E14 00295D74 80 A5 00 74 */ lwz r5, 0x74(r5) +/* 80298E18 00295D78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298E1C 00295D7C 4C C6 31 82 */ crclr 6 +/* 80298E20 00295D80 48 03 D3 91 */ bl Stringize__7CBasicsFPCce +/* 80298E24 00295D84 7C 64 1B 78 */ mr r4, r3 +/* 80298E28 00295D88 38 61 01 90 */ addi r3, r1, 0x190 +/* 80298E2C 00295D8C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80298E30 00295D90 38 A0 FF FF */ li r5, -1 +/* 80298E34 00295D94 48 0A 53 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298E38 00295D98 38 61 01 80 */ addi r3, r1, 0x180 +/* 80298E3C 00295D9C 38 81 01 90 */ addi r4, r1, 0x190 +/* 80298E40 00295DA0 48 0A 58 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E44 00295DA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298E48 00295DA8 38 81 01 80 */ addi r4, r1, 0x180 +/* 80298E4C 00295DAC 48 0A 48 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E50 00295DB0 38 61 01 80 */ addi r3, r1, 0x180 +/* 80298E54 00295DB4 48 0A 42 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E58 00295DB8 38 61 01 90 */ addi r3, r1, 0x190 +/* 80298E5C 00295DBC 48 0A 4C 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E60 00295DC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298E64 00295DC4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80298E68 00295DC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298E6C 00295DCC 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 80298E70 00295DD0 4B D6 BE 49 */ bl string_l__4rstlFPCc +/* 80298E74 00295DD4 38 61 01 60 */ addi r3, r1, 0x160 +/* 80298E78 00295DD8 38 81 01 70 */ addi r4, r1, 0x170 +/* 80298E7C 00295DDC 48 0A 58 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E80 00295DE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298E84 00295DE4 38 81 01 60 */ addi r4, r1, 0x160 +/* 80298E88 00295DE8 48 0A 47 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298E8C 00295DEC 38 61 01 60 */ addi r3, r1, 0x160 +/* 80298E90 00295DF0 48 0A 42 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E94 00295DF4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80298E98 00295DF8 48 0A 4C 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298E9C 00295DFC 7F C3 F3 78 */ mr r3, r30 +/* 80298EA0 00295E00 38 80 00 3A */ li r4, 0x3a +/* 80298EA4 00295E04 48 0B D8 59 */ bl GetString__12CStringTableCFi +/* 80298EA8 00295E08 7C 64 1B 78 */ mr r4, r3 +/* 80298EAC 00295E0C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298EB0 00295E10 38 A0 FF FF */ li r5, -1 +/* 80298EB4 00295E14 48 0A 46 31 */ bl sub_8033d4e4 +/* 80298EB8 00295E18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298EBC 00295E1C 38 61 01 50 */ addi r3, r1, 0x150 +/* 80298EC0 00295E20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298EC4 00295E24 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 80298EC8 00295E28 4B D6 BD F1 */ bl string_l__4rstlFPCc +/* 80298ECC 00295E2C 38 61 01 40 */ addi r3, r1, 0x140 +/* 80298ED0 00295E30 38 81 01 50 */ addi r4, r1, 0x150 +/* 80298ED4 00295E34 48 0A 58 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298ED8 00295E38 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298EDC 00295E3C 38 81 01 40 */ addi r4, r1, 0x140 +/* 80298EE0 00295E40 48 0A 47 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298EE4 00295E44 38 61 01 40 */ addi r3, r1, 0x140 +/* 80298EE8 00295E48 48 0A 42 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298EEC 00295E4C 38 61 01 50 */ addi r3, r1, 0x150 +/* 80298EF0 00295E50 48 0A 4B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298EF4 00295E54 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 80298EF8 00295E58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298EFC 00295E5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298F00 00295E60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298F04 00295E64 54 00 10 3A */ slwi r0, r0, 2 +/* 80298F08 00295E68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298F0C 00295E6C 7C A3 02 14 */ add r5, r3, r0 +/* 80298F10 00295E70 38 66 00 AC */ addi r3, r6, 0xac +/* 80298F14 00295E74 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 80298F18 00295E78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298F1C 00295E7C 4C C6 31 82 */ crclr 6 +/* 80298F20 00295E80 48 03 D2 91 */ bl Stringize__7CBasicsFPCce +/* 80298F24 00295E84 7C 64 1B 78 */ mr r4, r3 +/* 80298F28 00295E88 38 61 01 30 */ addi r3, r1, 0x130 +/* 80298F2C 00295E8C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80298F30 00295E90 38 A0 FF FF */ li r5, -1 +/* 80298F34 00295E94 48 0A 52 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298F38 00295E98 38 61 01 20 */ addi r3, r1, 0x120 +/* 80298F3C 00295E9C 38 81 01 30 */ addi r4, r1, 0x130 +/* 80298F40 00295EA0 48 0A 57 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F44 00295EA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298F48 00295EA8 38 81 01 20 */ addi r4, r1, 0x120 +/* 80298F4C 00295EAC 48 0A 47 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F50 00295EB0 38 61 01 20 */ addi r3, r1, 0x120 +/* 80298F54 00295EB4 48 0A 41 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F58 00295EB8 38 61 01 30 */ addi r3, r1, 0x130 +/* 80298F5C 00295EBC 48 0A 4B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F60 00295EC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298F64 00295EC4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80298F68 00295EC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80298F6C 00295ECC 38 84 00 B8 */ addi r4, r4, 0xb8 +/* 80298F70 00295ED0 4B D6 BD 49 */ bl string_l__4rstlFPCc +/* 80298F74 00295ED4 38 61 01 00 */ addi r3, r1, 0x100 +/* 80298F78 00295ED8 38 81 01 10 */ addi r4, r1, 0x110 +/* 80298F7C 00295EDC 48 0A 57 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F80 00295EE0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298F84 00295EE4 38 81 01 00 */ addi r4, r1, 0x100 +/* 80298F88 00295EE8 48 0A 46 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298F8C 00295EEC 38 61 01 00 */ addi r3, r1, 0x100 +/* 80298F90 00295EF0 48 0A 41 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F94 00295EF4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80298F98 00295EF8 48 0A 4B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80298F9C 00295EFC 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 80298FA0 00295F00 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80298FA4 00295F04 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80298FA8 00295F08 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80298FAC 00295F0C 54 00 10 3A */ slwi r0, r0, 2 +/* 80298FB0 00295F10 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80298FB4 00295F14 7C A3 02 14 */ add r5, r3, r0 +/* 80298FB8 00295F18 38 66 00 93 */ addi r3, r6, 0x93 +/* 80298FBC 00295F1C 80 A5 00 4C */ lwz r5, 0x4c(r5) +/* 80298FC0 00295F20 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80298FC4 00295F24 4C C6 31 82 */ crclr 6 +/* 80298FC8 00295F28 48 03 D1 E9 */ bl Stringize__7CBasicsFPCce +/* 80298FCC 00295F2C 7C 64 1B 78 */ mr r4, r3 +/* 80298FD0 00295F30 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80298FD4 00295F34 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80298FD8 00295F38 38 A0 FF FF */ li r5, -1 +/* 80298FDC 00295F3C 48 0A 51 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80298FE0 00295F40 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80298FE4 00295F44 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 80298FE8 00295F48 48 0A 57 39 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298FEC 00295F4C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80298FF0 00295F50 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80298FF4 00295F54 48 0A 46 59 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80298FF8 00295F58 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80298FFC 00295F5C 48 0A 41 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299000 00295F60 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80299004 00295F64 48 0A 4A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299008 00295F68 7F C3 F3 78 */ mr r3, r30 +/* 8029900C 00295F6C 38 80 00 39 */ li r4, 0x39 +/* 80299010 00295F70 48 0B D6 ED */ bl GetString__12CStringTableCFi +/* 80299014 00295F74 7C 64 1B 78 */ mr r4, r3 +/* 80299018 00295F78 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029901C 00295F7C 38 A0 FF FF */ li r5, -1 +/* 80299020 00295F80 48 0A 44 C5 */ bl sub_8033d4e4 +/* 80299024 00295F84 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80299028 00295F88 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8029902C 00295F8C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80299030 00295F90 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80299034 00295F94 4B D6 BC 85 */ bl string_l__4rstlFPCc +/* 80299038 00295F98 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8029903C 00295F9C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80299040 00295FA0 48 0A 56 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299044 00295FA4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299048 00295FA8 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8029904C 00295FAC 48 0A 46 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299050 00295FB0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80299054 00295FB4 48 0A 40 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299058 00295FB8 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8029905C 00295FBC 48 0A 4A 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299060 00295FC0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80299064 00295FC4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 80299068 00295FC8 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 8029906C 00295FCC 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80299070 00295FD0 80 A3 00 BC */ lwz r5, 0xbc(r3) +/* 80299074 00295FD4 38 66 00 BB */ addi r3, r6, 0xbb +/* 80299078 00295FD8 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 8029907C 00295FDC 4C C6 31 82 */ crclr 6 +/* 80299080 00295FE0 48 03 D1 31 */ bl Stringize__7CBasicsFPCce +/* 80299084 00295FE4 7C 64 1B 78 */ mr r4, r3 +/* 80299088 00295FE8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8029908C 00295FEC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80299090 00295FF0 38 A0 FF FF */ li r5, -1 +/* 80299094 00295FF4 48 0A 51 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80299098 00295FF8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8029909C 00295FFC 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802990A0 00296000 48 0A 56 81 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990A4 00296004 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802990A8 00296008 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802990AC 0029600C 48 0A 45 A1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990B0 00296010 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802990B4 00296014 48 0A 40 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990B8 00296018 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802990BC 0029601C 48 0A 4A 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990C0 00296020 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 802990C4 00296024 38 61 00 90 */ addi r3, r1, 0x90 +/* 802990C8 00296028 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 802990CC 0029602C 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 802990D0 00296030 4B D6 BB E9 */ bl string_l__4rstlFPCc +/* 802990D4 00296034 38 61 00 80 */ addi r3, r1, 0x80 +/* 802990D8 00296038 38 81 00 90 */ addi r4, r1, 0x90 +/* 802990DC 0029603C 48 0A 56 45 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990E0 00296040 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802990E4 00296044 38 81 00 80 */ addi r4, r1, 0x80 +/* 802990E8 00296048 48 0A 45 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802990EC 0029604C 38 61 00 80 */ addi r3, r1, 0x80 +/* 802990F0 00296050 48 0A 40 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990F4 00296054 38 61 00 90 */ addi r3, r1, 0x90 +/* 802990F8 00296058 48 0A 49 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802990FC 0029605C 7F C3 F3 78 */ mr r3, r30 +/* 80299100 00296060 38 80 00 37 */ li r4, 0x37 +/* 80299104 00296064 48 0B D5 F9 */ bl GetString__12CStringTableCFi +/* 80299108 00296068 7C 64 1B 78 */ mr r4, r3 +/* 8029910C 0029606C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299110 00296070 38 A0 FF FF */ li r5, -1 +/* 80299114 00296074 48 0A 43 D1 */ bl sub_8033d4e4 +/* 80299118 00296078 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029911C 0029607C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80299120 00296080 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 80299124 00296084 38 84 00 A8 */ addi r4, r4, 0xa8 +/* 80299128 00296088 4B D6 BB 91 */ bl string_l__4rstlFPCc +/* 8029912C 0029608C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80299130 00296090 38 81 00 70 */ addi r4, r1, 0x70 +/* 80299134 00296094 48 0A 55 ED */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299138 00296098 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029913C 0029609C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80299140 002960A0 48 0A 45 0D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299144 002960A4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80299148 002960A8 48 0A 3F ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029914C 002960AC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80299150 002960B0 48 0A 49 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299154 002960B4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 80299158 002960B8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029915C 002960BC 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l +/* 80299160 002960C0 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 +/* 80299164 002960C4 80 A3 00 A4 */ lwz r5, 0xa4(r3) +/* 80299168 002960C8 38 66 00 93 */ addi r3, r6, 0x93 +/* 8029916C 002960CC 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 +/* 80299170 002960D0 4C C6 31 82 */ crclr 6 +/* 80299174 002960D4 48 03 D0 3D */ bl Stringize__7CBasicsFPCce +/* 80299178 002960D8 7C 64 1B 78 */ mr r4, r3 +/* 8029917C 002960DC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80299180 002960E0 38 C1 00 08 */ addi r6, r1, 8 +/* 80299184 002960E4 38 A0 FF FF */ li r5, -1 +/* 80299188 002960E8 48 0A 50 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029918C 002960EC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80299190 002960F0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80299194 002960F4 48 0A 55 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299198 002960F8 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8029919C 002960FC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802991A0 00296100 48 0A 44 AD */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991A4 00296104 38 61 00 40 */ addi r3, r1, 0x40 +/* 802991A8 00296108 48 0A 3F 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991AC 0029610C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802991B0 00296110 48 0A 49 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991B4 00296114 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 802991B8 00296118 38 61 00 30 */ addi r3, r1, 0x30 +/* 802991BC 0029611C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 802991C0 00296120 38 84 00 B6 */ addi r4, r4, 0xb6 +/* 802991C4 00296124 4B D6 BA F5 */ bl string_l__4rstlFPCc +/* 802991C8 00296128 38 61 00 20 */ addi r3, r1, 0x20 +/* 802991CC 0029612C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802991D0 00296130 48 0A 55 51 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991D4 00296134 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802991D8 00296138 38 81 00 20 */ addi r4, r1, 0x20 +/* 802991DC 0029613C 48 0A 44 71 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802991E0 00296140 38 61 00 20 */ addi r3, r1, 0x20 +/* 802991E4 00296144 48 0A 3F 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991E8 00296148 38 61 00 30 */ addi r3, r1, 0x30 +/* 802991EC 0029614C 48 0A 48 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802991F0 00296150 7F C3 F3 78 */ mr r3, r30 +/* 802991F4 00296154 38 80 00 3D */ li r4, 0x3d +/* 802991F8 00296158 48 0B D5 05 */ bl GetString__12CStringTableCFi +/* 802991FC 0029615C 7C 64 1B 78 */ mr r4, r3 +/* 80299200 00296160 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299204 00296164 38 A0 FF FF */ li r5, -1 +/* 80299208 00296168 48 0A 42 DD */ bl sub_8033d4e4 +/* 8029920C 0029616C 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 80299210 00296170 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 80299214 00296174 38 A0 00 00 */ li r5, 0 +/* 80299218 00296178 48 03 06 6D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029921C 0029617C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80299220 00296180 48 0A 3F 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80299224: +/* 80299224 00296184 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 80299228 00296188 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 8029922C 0029618C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 80299230 00296190 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 80299234 00296194 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 80299238 00296198 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 8029923C 0029619C 83 E1 01 FC */ lwz r31, 0x1fc(r1) +/* 80299240 002961A0 80 01 02 34 */ lwz r0, 0x234(r1) +/* 80299244 002961A4 83 C1 01 F8 */ lwz r30, 0x1f8(r1) +/* 80299248 002961A8 7C 08 03 A6 */ mtlr r0 +/* 8029924C 002961AC 38 21 02 30 */ addi r1, r1, 0x230 +/* 80299250 002961B0 4E 80 00 20 */ blr + +.global sub_80299254 +sub_80299254: +/* 80299254 002961B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80299258 002961B8 7C 08 02 A6 */ mflr r0 +/* 8029925C 002961BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299260 002961C0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80299264 002961C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80299268 002961C8 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8029926C 002961CC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80299270 002961D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80299274 002961D4 7C 7F 1B 78 */ mr r31, r3 +/* 80299278 002961D8 FF E0 08 90 */ fmr f31, f1 +/* 8029927C 002961DC 80 03 00 C4 */ lwz r0, 0xc4(r3) +/* 80299280 002961E0 28 00 00 00 */ cmplwi r0, 0 +/* 80299284 002961E4 41 82 01 20 */ beq lbl_802993A4 +/* 80299288 002961E8 48 00 02 11 */ bl sub_80299498 +/* 8029928C 002961EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299290 002961F0 40 82 00 18 */ bne lbl_802992A8 +/* 80299294 002961F4 7F E3 FB 78 */ mr r3, r31 +/* 80299298 002961F8 48 00 01 31 */ bl sub_802993c8 +/* 8029929C 002961FC FC 00 08 50 */ fneg f0, f1 +/* 802992A0 00296200 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802992A4 00296204 48 00 00 CC */ b lbl_80299370 +lbl_802992A8: +/* 802992A8 00296208 88 7F 01 34 */ lbz r3, 0x134(r31) +/* 802992AC 0029620C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802992B0 00296210 41 82 00 54 */ beq lbl_80299304 +/* 802992B4 00296214 7F E3 FB 78 */ mr r3, r31 +/* 802992B8 00296218 48 00 01 11 */ bl sub_802993c8 +/* 802992BC 0029621C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 802992C0 00296220 C0 82 C0 0C */ lfs f4, lbl_805ADD2C@sda21(r2) +/* 802992C4 00296224 C0 43 00 44 */ lfs f2, 0x44(r3) +/* 802992C8 00296228 EC 64 08 2A */ fadds f3, f4, f1 +/* 802992CC 0029622C C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802992D0 00296230 EC 3F 10 24 */ fdivs f1, f31, f2 +/* 802992D4 00296234 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802992D8 00296238 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802992DC 0029623C C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 802992E0 00296240 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 802992E4 00296244 4C 41 13 82 */ cror 2, 1, 2 +/* 802992E8 00296248 40 82 00 88 */ bne lbl_80299370 +/* 802992EC 0029624C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 802992F0 00296250 38 60 00 00 */ li r3, 0 +/* 802992F4 00296254 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802992F8 00296258 98 1F 01 34 */ stb r0, 0x134(r31) +/* 802992FC 0029625C D0 9F 01 28 */ stfs f4, 0x128(r31) +/* 80299300 00296260 48 00 00 70 */ b lbl_80299370 +lbl_80299304: +/* 80299304 00296264 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80299308 00296268 41 82 00 68 */ beq lbl_80299370 +/* 8029930C 0029626C 7F E3 FB 78 */ mr r3, r31 +/* 80299310 00296270 48 00 00 B9 */ bl sub_802993c8 +/* 80299314 00296274 FF C0 08 50 */ fneg f30, f1 +/* 80299318 00296278 7F E3 FB 78 */ mr r3, r31 +/* 8029931C 0029627C 48 00 00 AD */ bl sub_802993c8 +/* 80299320 00296280 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 80299324 00296284 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299328 00296288 C0 43 00 44 */ lfs f2, 0x44(r3) +/* 8029932C 0029628C EC 60 08 2A */ fadds f3, f0, f1 +/* 80299330 00296290 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 80299334 00296294 EC 3F 10 24 */ fdivs f1, f31, f2 +/* 80299338 00296298 EC 01 00 FC */ fnmsubs f0, f1, f3, f0 +/* 8029933C 0029629C D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 80299340 002962A0 C0 1F 01 28 */ lfs f0, 0x128(r31) +/* 80299344 002962A4 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 80299348 002962A8 4C 40 13 82 */ cror 2, 0, 2 +/* 8029934C 002962AC 40 82 00 24 */ bne lbl_80299370 +/* 80299350 002962B0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 80299354 002962B4 38 60 00 00 */ li r3, 0 +/* 80299358 002962B8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8029935C 002962BC 98 1F 01 34 */ stb r0, 0x134(r31) +/* 80299360 002962C0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 80299364 002962C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80299368 002962C8 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029936C 002962CC D3 DF 01 28 */ stfs f30, 0x128(r31) +lbl_80299370: +/* 80299370 002962D0 7F E3 FB 78 */ mr r3, r31 +/* 80299374 002962D4 48 00 00 55 */ bl sub_802993c8 +/* 80299378 002962D8 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8029937C 002962DC C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299380 002962E0 EC 22 08 2A */ fadds f1, f2, f1 +/* 80299384 002962E4 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 80299388 002962E8 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8029938C 002962EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299390 002962F0 40 80 00 08 */ bge lbl_80299398 +/* 80299394 002962F4 D0 1F 01 2C */ stfs f0, 0x12c(r31) +lbl_80299398: +/* 80299398 002962F8 FC 20 F8 90 */ fmr f1, f31 +/* 8029939C 002962FC 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 802993A0 00296300 48 02 ED D9 */ bl Update__15CGuiTextSupportFf +lbl_802993A4: +/* 802993A4 00296304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802993A8 00296308 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802993AC 0029630C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 802993B0 00296310 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 802993B4 00296314 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802993B8 00296318 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802993BC 0029631C 7C 08 03 A6 */ mtlr r0 +/* 802993C0 00296320 38 21 00 30 */ addi r1, r1, 0x30 +/* 802993C4 00296324 4E 80 00 20 */ blr + +.global sub_802993c8 +sub_802993c8: +/* 802993C8 00296328 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802993CC 0029632C 7C 08 02 A6 */ mflr r0 +/* 802993D0 00296330 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802993D4 00296334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802993D8 00296338 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802993DC 0029633C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802993E0 00296340 80 63 00 38 */ lwz r3, 0x38(r3) +/* 802993E4 00296344 83 E4 00 08 */ lwz r31, 8(r4) +/* 802993E8 00296348 48 0A 7A 25 */ bl GetObj__6CTokenFv +/* 802993EC 0029634C 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 802993F0 00296350 3C 00 43 30 */ lis r0, 0x4330 +/* 802993F4 00296354 90 81 00 0C */ stw r4, 0xc(r1) +/* 802993F8 00296358 80 63 00 04 */ lwz r3, 4(r3) +/* 802993FC 0029635C 90 01 00 08 */ stw r0, 8(r1) +/* 80299400 00296360 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80299404 00296364 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80299408 00296368 C8 21 00 08 */ lfd f1, 8(r1) +/* 8029940C 0029636C C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 80299410 00296370 EC 81 10 28 */ fsubs f4, f1, f2 +/* 80299414 00296374 C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80299418 00296378 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 8029941C 0029637C C0 23 00 34 */ lfs f1, 0x34(r3) +/* 80299420 00296380 EC 84 00 28 */ fsubs f4, f4, f0 +/* 80299424 00296384 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80299428 00296388 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8029942C 0029638C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80299430 00296390 EC 24 10 24 */ fdivs f1, f4, f2 +/* 80299434 00296394 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80299438 00296398 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029943C 0029639C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80299440 002963A0 7C 08 03 A6 */ mtlr r0 +/* 80299444 002963A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80299448 002963A8 4E 80 00 20 */ blr + +.global sub_8029944c +sub_8029944c: +/* 8029944C 002963AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80299450 002963B0 7C 08 02 A6 */ mflr r0 +/* 80299454 002963B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80299458 002963B8 80 63 00 C4 */ lwz r3, 0xc4(r3) +/* 8029945C 002963BC 48 02 E9 15 */ bl GetBounds__15CGuiTextSupportFv +/* 80299460 002963C0 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80299464 002963C4 3C 00 43 30 */ lis r0, 0x4330 +/* 80299468 002963C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8029946C 002963CC 90 01 00 08 */ stw r0, 8(r1) +/* 80299470 002963D0 7C 04 18 50 */ subf r0, r4, r3 +/* 80299474 002963D4 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) +/* 80299478 002963D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029947C 002963DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80299480 002963E0 C8 01 00 08 */ lfd f0, 8(r1) +/* 80299484 002963E4 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80299488 002963E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029948C 002963EC 7C 08 03 A6 */ mtlr r0 +/* 80299490 002963F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80299494 002963F4 4E 80 00 20 */ blr + +.global sub_80299498 +sub_80299498: +/* 80299498 002963F8 88 83 01 34 */ lbz r4, 0x134(r3) +/* 8029949C 002963FC 38 60 00 00 */ li r3, 0 +/* 802994A0 00296400 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 802994A4 00296404 40 82 00 14 */ bne lbl_802994B8 +/* 802994A8 00296408 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 802994AC 0029640C 40 82 00 0C */ bne lbl_802994B8 +/* 802994B0 00296410 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 802994B4 00296414 4D 82 00 20 */ beqlr +lbl_802994B8: +/* 802994B8 00296418 38 60 00 01 */ li r3, 1 +/* 802994BC 0029641C 4E 80 00 20 */ blr + +.global sub_802994c0 +sub_802994c0: +/* 802994C0 00296420 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 802994C4 00296424 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994C8 00296428 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802994CC 0029642C 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994D0 00296430 7C A0 00 34 */ cntlzw r0, r5 +/* 802994D4 00296434 54 04 D9 7E */ srwi r4, r0, 5 +/* 802994D8 00296438 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994DC 0029643C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802994E0 00296440 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994E4 00296444 88 03 01 34 */ lbz r0, 0x134(r3) +/* 802994E8 00296448 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802994EC 0029644C 98 03 01 34 */ stb r0, 0x134(r3) +/* 802994F0 00296450 4E 80 00 20 */ blr + +.global sub_802994f4 +sub_802994f4: +/* 802994F4 00296454 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802994F8 00296458 7C 08 02 A6 */ mflr r0 +/* 802994FC 0029645C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299500 00296460 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80299504 00296464 7C 7F 1B 78 */ mr r31, r3 +/* 80299508 00296468 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029950C 0029646C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80299510 00296470 93 81 00 20 */ stw r28, 0x20(r1) +/* 80299514 00296474 80 03 00 A0 */ lwz r0, 0xa0(r3) +/* 80299518 00296478 28 00 00 00 */ cmplwi r0, 0 +/* 8029951C 0029647C 40 82 01 7C */ bne lbl_80299698 +/* 80299520 00296480 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80299524 00296484 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80299528 00296488 7C 00 20 00 */ cmpw r0, r4 +/* 8029952C 0029648C 40 82 00 14 */ bne lbl_80299540 +/* 80299530 00296490 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80299534 00296494 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80299538 00296498 7C 03 00 00 */ cmpw r3, r0 +/* 8029953C 0029649C 41 82 01 5C */ beq lbl_80299698 +lbl_80299540: +/* 80299540 002964A0 1C 64 00 14 */ mulli r3, r4, 0x14 +/* 80299544 002964A4 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80299548 002964A8 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 8029954C 002964AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80299550 002964B0 38 63 00 10 */ addi r3, r3, 0x10 +/* 80299554 002964B4 7C 64 18 2E */ lwzx r3, r4, r3 +/* 80299558 002964B8 7F 83 00 2E */ lwzx r28, r3, r0 +/* 8029955C 002964BC 28 1C 00 00 */ cmplwi r28, 0 +/* 80299560 002964C0 41 82 01 38 */ beq lbl_80299698 +/* 80299564 002964C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80299568 002964C8 80 9C 00 04 */ lwz r4, 4(r28) +/* 8029956C 002964CC 38 63 00 04 */ addi r3, r3, 4 +/* 80299570 002964D0 48 0A 27 5D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 80299574 002964D4 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 80299578 002964D8 28 00 54 52 */ cmplwi r0, 0x5452 +/* 8029957C 002964DC 40 82 01 1C */ bne lbl_80299698 +/* 80299580 002964E0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80299584 002964E4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80299588 002964E8 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l +/* 8029958C 002964EC 3B C0 00 00 */ li r30, 0 +/* 80299590 002964F0 90 1F 00 94 */ stw r0, 0x94(r31) +/* 80299594 002964F4 38 83 00 D0 */ addi r4, r3, 0xd0 +/* 80299598 002964F8 38 60 00 08 */ li r3, 8 +/* 8029959C 002964FC 38 A0 00 00 */ li r5, 0 +/* 802995A0 00296500 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802995A4 00296504 90 1F 00 98 */ stw r0, 0x98(r31) +/* 802995A8 00296508 48 07 C2 C5 */ bl __nw__FUlPCcPCc +/* 802995AC 0029650C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802995B0 00296510 41 82 00 30 */ beq lbl_802995E0 +/* 802995B4 00296514 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802995B8 00296518 7F 85 E3 78 */ mr r5, r28 +/* 802995BC 0029651C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802995C0 00296520 81 84 00 00 */ lwz r12, 0(r4) +/* 802995C4 00296524 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802995C8 00296528 7D 89 03 A6 */ mtctr r12 +/* 802995CC 0029652C 4E 80 04 21 */ bctrl +/* 802995D0 00296530 7F A3 EB 78 */ mr r3, r29 +/* 802995D4 00296534 38 81 00 10 */ addi r4, r1, 0x10 +/* 802995D8 00296538 3B C0 00 01 */ li r30, 1 +/* 802995DC 0029653C 48 0A 78 CD */ bl __ct__6CTokenFRC6CToken +lbl_802995E0: +/* 802995E0 00296540 7C 1D 00 D0 */ neg r0, r29 +/* 802995E4 00296544 38 61 00 08 */ addi r3, r1, 8 +/* 802995E8 00296548 7C 04 EB 78 */ or r4, r0, r29 +/* 802995EC 0029654C 38 1F 00 9C */ addi r0, r31, 0x9c +/* 802995F0 00296550 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802995F4 00296554 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802995F8 00296558 7C 03 00 40 */ cmplw r3, r0 +/* 802995FC 0029655C 98 81 00 08 */ stb r4, 8(r1) +/* 80299600 00296560 41 82 00 48 */ beq lbl_80299648 +/* 80299604 00296564 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 80299608 00296568 28 00 00 00 */ cmplwi r0, 0 +/* 8029960C 0029656C 41 82 00 24 */ beq lbl_80299630 +/* 80299610 00296570 83 BF 00 A0 */ lwz r29, 0xa0(r31) +/* 80299614 00296574 28 1D 00 00 */ cmplwi r29, 0 +/* 80299618 00296578 41 82 00 18 */ beq lbl_80299630 +/* 8029961C 0029657C 7F A3 EB 78 */ mr r3, r29 +/* 80299620 00296580 38 80 00 00 */ li r4, 0 +/* 80299624 00296584 48 0A 78 1D */ bl __dt__6CTokenFv +/* 80299628 00296588 7F A3 EB 78 */ mr r3, r29 +/* 8029962C 0029658C 48 07 C3 05 */ bl Free__7CMemoryFPCv +lbl_80299630: +/* 80299630 00296590 88 61 00 08 */ lbz r3, 8(r1) +/* 80299634 00296594 38 00 00 00 */ li r0, 0 +/* 80299638 00296598 98 7F 00 9C */ stb r3, 0x9c(r31) +/* 8029963C 0029659C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80299640 002965A0 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 80299644 002965A4 98 01 00 08 */ stb r0, 8(r1) +lbl_80299648: +/* 80299648 002965A8 88 01 00 08 */ lbz r0, 8(r1) +/* 8029964C 002965AC 28 00 00 00 */ cmplwi r0, 0 +/* 80299650 002965B0 41 82 00 24 */ beq lbl_80299674 +/* 80299654 002965B4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80299658 002965B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8029965C 002965BC 41 82 00 18 */ beq lbl_80299674 +/* 80299660 002965C0 7F A3 EB 78 */ mr r3, r29 +/* 80299664 002965C4 38 80 00 00 */ li r4, 0 +/* 80299668 002965C8 48 0A 77 D9 */ bl __dt__6CTokenFv +/* 8029966C 002965CC 7F A3 EB 78 */ mr r3, r29 +/* 80299670 002965D0 48 07 C2 C1 */ bl Free__7CMemoryFPCv +lbl_80299674: +/* 80299674 002965D4 7F C0 07 75 */ extsb. r0, r30 +/* 80299678 002965D8 41 82 00 10 */ beq lbl_80299688 +/* 8029967C 002965DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299680 002965E0 38 80 FF FF */ li r4, -1 +/* 80299684 002965E4 48 0A 77 BD */ bl __dt__6CTokenFv +lbl_80299688: +/* 80299688 002965E8 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029968C 002965EC 48 0A 76 F9 */ bl Lock__6CTokenFv +/* 80299690 002965F0 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80299694 002965F4 4B FF E5 81 */ bl sub_80297c14 +lbl_80299698: +/* 80299698 002965F8 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029969C 002965FC 38 80 00 00 */ li r4, 0 +/* 802996A0 00296600 28 03 00 00 */ cmplwi r3, 0 +/* 802996A4 00296604 41 82 00 18 */ beq lbl_802996BC +/* 802996A8 00296608 80 63 00 00 */ lwz r3, 0(r3) +/* 802996AC 0029660C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802996B0 00296610 28 00 00 00 */ cmplwi r0, 0 +/* 802996B4 00296614 41 82 00 08 */ beq lbl_802996BC +/* 802996B8 00296618 38 80 00 01 */ li r4, 1 +lbl_802996BC: +/* 802996BC 0029661C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802996C0 00296620 41 82 00 18 */ beq lbl_802996D8 +/* 802996C4 00296624 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 802996C8 00296628 28 00 00 00 */ cmplwi r0, 0 +/* 802996CC 0029662C 40 82 00 0C */ bne lbl_802996D8 +/* 802996D0 00296630 38 7F 00 90 */ addi r3, r31, 0x90 +/* 802996D4 00296634 4B FF E5 41 */ bl sub_80297c14 +lbl_802996D8: +/* 802996D8 00296638 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802996DC 0029663C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802996E0 00296640 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802996E4 00296644 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802996E8 00296648 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802996EC 0029664C 7C 08 03 A6 */ mtlr r0 +/* 802996F0 00296650 38 21 00 30 */ addi r1, r1, 0x30 +/* 802996F4 00296654 4E 80 00 20 */ blr + +.global sub_802996f8 +sub_802996f8: +/* 802996F8 00296658 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802996FC 0029665C 7C 08 02 A6 */ mflr r0 +/* 80299700 00296660 90 01 00 24 */ stw r0, 0x24(r1) +/* 80299704 00296664 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80299708 00296668 7C 7F 1B 78 */ mr r31, r3 +/* 8029970C 0029666C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80299710 00296670 7C 9E 23 78 */ mr r30, r4 +/* 80299714 00296674 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80299718 00296678 2C 00 00 00 */ cmpwi r0, 0 +/* 8029971C 0029667C 41 82 01 2C */ beq lbl_80299848 +/* 80299720 00296680 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80299724 00296684 38 61 00 08 */ addi r3, r1, 8 +/* 80299728 00296688 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029972C 0029668C 38 80 04 45 */ li r4, 0x445 +/* 80299730 00296690 38 A0 00 7F */ li r5, 0x7f +/* 80299734 00296694 38 C0 00 40 */ li r6, 0x40 +/* 80299738 00296698 38 E0 00 00 */ li r7, 0 +/* 8029973C 0029669C 39 20 00 00 */ li r9, 0 +/* 80299740 002966A0 48 05 06 35 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80299744 002966A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80299748 002966A8 41 82 00 14 */ beq lbl_8029975C +/* 8029974C 002966AC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80299750 002966B0 38 03 00 01 */ addi r0, r3, 1 +/* 80299754 002966B4 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299758 002966B8 48 00 00 10 */ b lbl_80299768 +lbl_8029975C: +/* 8029975C 002966BC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80299760 002966C0 38 03 FF FF */ addi r0, r3, -1 +/* 80299764 002966C4 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_80299768: +/* 80299768 002966C8 80 DF 00 48 */ lwz r6, 0x48(r31) +/* 8029976C 002966CC 80 BF 00 44 */ lwz r5, 0x44(r31) +/* 80299770 002966D0 2C 06 00 00 */ cmpwi r6, 0 +/* 80299774 002966D4 40 80 00 20 */ bge lbl_80299794 +/* 80299778 002966D8 38 05 FF FF */ addi r0, r5, -1 +/* 8029977C 002966DC 38 60 00 01 */ li r3, 1 +/* 80299780 002966E0 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80299784 002966E4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 80299788 002966E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029978C 002966EC 98 1F 01 35 */ stb r0, 0x135(r31) +/* 80299790 002966F0 48 00 00 34 */ b lbl_802997C4 +lbl_80299794: +/* 80299794 002966F4 1C 65 00 14 */ mulli r3, r5, 0x14 +/* 80299798 002966F8 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 8029979C 002966FC 38 03 00 08 */ addi r0, r3, 8 +/* 802997A0 00296700 7C 04 00 2E */ lwzx r0, r4, r0 +/* 802997A4 00296704 7C 06 00 00 */ cmpw r6, r0 +/* 802997A8 00296708 41 80 00 1C */ blt lbl_802997C4 +/* 802997AC 0029670C 38 05 00 01 */ addi r0, r5, 1 +/* 802997B0 00296710 38 60 00 01 */ li r3, 1 +/* 802997B4 00296714 90 1F 00 44 */ stw r0, 0x44(r31) +/* 802997B8 00296718 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 802997BC 0029671C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802997C0 00296720 98 1F 01 35 */ stb r0, 0x135(r31) +lbl_802997C4: +/* 802997C4 00296724 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 802997C8 00296728 2C 03 00 00 */ cmpwi r3, 0 +/* 802997CC 0029672C 40 80 00 30 */ bge lbl_802997FC +/* 802997D0 00296730 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802997D4 00296734 38 03 FF FF */ addi r0, r3, -1 +/* 802997D8 00296738 90 1F 00 44 */ stw r0, 0x44(r31) +/* 802997DC 0029673C 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802997E0 00296740 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 802997E4 00296744 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 802997E8 00296748 38 03 00 08 */ addi r0, r3, 8 +/* 802997EC 0029674C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802997F0 00296750 38 03 FF FF */ addi r0, r3, -1 +/* 802997F4 00296754 90 1F 00 48 */ stw r0, 0x48(r31) +/* 802997F8 00296758 48 00 00 50 */ b lbl_80299848 +lbl_802997FC: +/* 802997FC 0029675C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80299800 00296760 7C 03 00 00 */ cmpw r3, r0 +/* 80299804 00296764 41 80 00 14 */ blt lbl_80299818 +/* 80299808 00296768 38 00 00 00 */ li r0, 0 +/* 8029980C 0029676C 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299810 00296770 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80299814 00296774 48 00 00 34 */ b lbl_80299848 +lbl_80299818: +/* 80299818 00296778 7C 03 28 00 */ cmpw r3, r5 +/* 8029981C 0029677C 40 81 00 10 */ ble lbl_8029982C +/* 80299820 00296780 38 00 00 00 */ li r0, 0 +/* 80299824 00296784 90 1F 00 48 */ stw r0, 0x48(r31) +/* 80299828 00296788 48 00 00 20 */ b lbl_80299848 +lbl_8029982C: +/* 8029982C 0029678C 40 80 00 1C */ bge lbl_80299848 +/* 80299830 00296790 1C 63 00 14 */ mulli r3, r3, 0x14 +/* 80299834 00296794 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80299838 00296798 38 03 00 08 */ addi r0, r3, 8 +/* 8029983C 0029679C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80299840 002967A0 38 03 FF FF */ addi r0, r3, -1 +/* 80299844 002967A4 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_80299848: +/* 80299848 002967A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029984C 002967AC 38 60 00 01 */ li r3, 1 +/* 80299850 002967B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80299854 002967B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80299858 002967B8 7C 08 03 A6 */ mtlr r0 +/* 8029985C 002967BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80299860 002967C0 4E 80 00 20 */ blr + +.global ProcessUserInput__10CSlideShowFRC11CFinalInput +ProcessUserInput__10CSlideShowFRC11CFinalInput: +/* 80299864 002967C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80299868 002967C8 7C 08 02 A6 */ mflr r0 +/* 8029986C 002967CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80299870 002967D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80299874 002967D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80299878 002967D8 7C 9E 23 78 */ mr r30, r4 +/* 8029987C 002967DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80299880 002967E0 7C 7D 1B 78 */ mr r29, r3 +/* 80299884 002967E4 88 03 01 34 */ lbz r0, 0x134(r3) +/* 80299888 002967E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8029988C 002967EC 40 82 03 28 */ bne lbl_80299BB4 +/* 80299890 002967F0 4B FF FC 09 */ bl sub_80299498 +/* 80299894 002967F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299898 002967F8 41 82 00 10 */ beq lbl_802998A8 +/* 8029989C 002967FC 7F A3 EB 78 */ mr r3, r29 +/* 802998A0 00296800 7F C4 F3 78 */ mr r4, r30 +/* 802998A4 00296804 4B FF F3 35 */ bl sub_80298bd8 +lbl_802998A8: +/* 802998A8 00296808 88 7E 00 2D */ lbz r3, 0x2d(r30) +/* 802998AC 0029680C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 802998B0 00296810 41 82 00 64 */ beq lbl_80299914 +/* 802998B4 00296814 7F A3 EB 78 */ mr r3, r29 +/* 802998B8 00296818 38 80 00 00 */ li r4, 0 +/* 802998BC 0029681C 4B FF F2 99 */ bl sub_80298b54 +/* 802998C0 00296820 7F A3 EB 78 */ mr r3, r29 +/* 802998C4 00296824 38 80 00 00 */ li r4, 0 +/* 802998C8 00296828 4B FF F2 09 */ bl sub_80298ad0 +/* 802998CC 0029682C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 802998D0 00296830 38 61 00 10 */ addi r3, r1, 0x10 +/* 802998D4 00296834 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 802998D8 00296838 38 80 04 46 */ li r4, 0x446 +/* 802998DC 0029683C 38 A0 00 7F */ li r5, 0x7f +/* 802998E0 00296840 38 C0 00 40 */ li r6, 0x40 +/* 802998E4 00296844 38 E0 00 00 */ li r7, 0 +/* 802998E8 00296848 39 20 00 00 */ li r9, 0 +/* 802998EC 0029684C 48 05 04 89 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 802998F0 00296850 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 802998F4 00296854 38 80 00 01 */ li r4, 1 +/* 802998F8 00296858 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802998FC 0029685C 38 60 00 01 */ li r3, 1 +/* 80299900 00296860 98 1D 01 34 */ stb r0, 0x134(r29) +/* 80299904 00296864 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299908 00296868 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8029990C 0029686C 98 1D 01 34 */ stb r0, 0x134(r29) +/* 80299910 00296870 48 00 02 A8 */ b lbl_80299BB8 +lbl_80299914: +/* 80299914 00296874 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80299918 00296878 41 82 00 84 */ beq lbl_8029999C +/* 8029991C 0029687C 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299920 00296880 7F A3 EB 78 */ mr r3, r29 +/* 80299924 00296884 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80299928 00296888 7C 00 00 34 */ cntlzw r0, r0 +/* 8029992C 0029688C 54 04 D9 7E */ srwi r4, r0, 5 +/* 80299930 00296890 4B FF FB 91 */ bl sub_802994c0 +/* 80299934 00296894 88 1D 01 34 */ lbz r0, 0x134(r29) +/* 80299938 00296898 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029993C 0029689C 41 82 00 3C */ beq lbl_80299978 +/* 80299940 002968A0 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 80299944 002968A4 38 60 00 01 */ li r3, 1 +/* 80299948 002968A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029994C 002968AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80299950 002968B0 98 1D 01 35 */ stb r0, 0x135(r29) +/* 80299954 002968B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80299958 002968B8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029995C 002968BC 38 80 05 B1 */ li r4, 0x5b1 +/* 80299960 002968C0 38 A0 00 7F */ li r5, 0x7f +/* 80299964 002968C4 38 C0 00 40 */ li r6, 0x40 +/* 80299968 002968C8 38 E0 00 00 */ li r7, 0 +/* 8029996C 002968CC 39 20 00 00 */ li r9, 0 +/* 80299970 002968D0 48 05 04 05 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80299974 002968D4 48 00 00 28 */ b lbl_8029999C +lbl_80299978: +/* 80299978 002968D8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8029997C 002968DC 38 61 00 08 */ addi r3, r1, 8 +/* 80299980 002968E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80299984 002968E4 38 80 05 B0 */ li r4, 0x5b0 +/* 80299988 002968E8 38 A0 00 7F */ li r5, 0x7f +/* 8029998C 002968EC 38 C0 00 40 */ li r6, 0x40 +/* 80299990 002968F0 38 E0 00 00 */ li r7, 0 +/* 80299994 002968F4 39 20 00 00 */ li r9, 0 +/* 80299998 002968F8 48 05 03 DD */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_8029999C: +/* 8029999C 002968FC 88 7E 00 2E */ lbz r3, 0x2e(r30) +/* 802999A0 00296900 3B E0 00 00 */ li r31, 0 +/* 802999A4 00296904 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 802999A8 00296908 41 82 00 4C */ beq lbl_802999F4 +/* 802999AC 0029690C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802999B0 00296910 38 00 FF FF */ li r0, -1 +/* 802999B4 00296914 80 FD 00 2C */ lwz r7, 0x2c(r29) +/* 802999B8 00296918 38 A0 00 01 */ li r5, 1 +/* 802999BC 0029691C 39 03 00 01 */ addi r8, r3, 1 +/* 802999C0 00296920 7F A3 EB 78 */ mr r3, r29 +/* 802999C4 00296924 7C C8 3B D6 */ divw r6, r8, r7 +/* 802999C8 00296928 3B E0 00 01 */ li r31, 1 +/* 802999CC 0029692C 38 80 00 01 */ li r4, 1 +/* 802999D0 00296930 7C C6 39 D6 */ mullw r6, r6, r7 +/* 802999D4 00296934 7C C6 40 50 */ subf r6, r6, r8 +/* 802999D8 00296938 90 DD 00 44 */ stw r6, 0x44(r29) +/* 802999DC 0029693C 90 1D 00 48 */ stw r0, 0x48(r29) +/* 802999E0 00296940 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 802999E4 00296944 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802999E8 00296948 98 1D 01 35 */ stb r0, 0x135(r29) +/* 802999EC 0029694C 4B FF FD 0D */ bl sub_802996f8 +/* 802999F0 00296950 48 00 01 68 */ b lbl_80299B58 +lbl_802999F4: +/* 802999F4 00296954 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 802999F8 00296958 41 82 00 54 */ beq lbl_80299A4C +/* 802999FC 0029695C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80299A00 00296960 38 03 FF FF */ addi r0, r3, -1 +/* 80299A04 00296964 90 1D 00 44 */ stw r0, 0x44(r29) +/* 80299A08 00296968 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 80299A0C 0029696C 2C 00 00 00 */ cmpwi r0, 0 +/* 80299A10 00296970 40 80 00 10 */ bge lbl_80299A20 +/* 80299A14 00296974 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80299A18 00296978 38 03 FF FF */ addi r0, r3, -1 +/* 80299A1C 0029697C 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_80299A20: +/* 80299A20 00296980 38 00 FF FF */ li r0, -1 +/* 80299A24 00296984 38 A0 00 01 */ li r5, 1 +/* 80299A28 00296988 90 1D 00 48 */ stw r0, 0x48(r29) +/* 80299A2C 0029698C 7F A3 EB 78 */ mr r3, r29 +/* 80299A30 00296990 3B E0 00 01 */ li r31, 1 +/* 80299A34 00296994 38 80 00 01 */ li r4, 1 +/* 80299A38 00296998 88 1D 01 35 */ lbz r0, 0x135(r29) +/* 80299A3C 0029699C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80299A40 002969A0 98 1D 01 35 */ stb r0, 0x135(r29) +/* 80299A44 002969A4 4B FF FC B5 */ bl sub_802996f8 +/* 80299A48 002969A8 48 00 01 10 */ b lbl_80299B58 +lbl_80299A4C: +/* 80299A4C 002969AC 7F C4 F3 78 */ mr r4, r30 +/* 80299A50 002969B0 38 60 00 29 */ li r3, 0x29 +/* 80299A54 002969B4 4B D7 2D 7D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299A58 002969B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299A5C 002969BC 40 82 00 10 */ bne lbl_80299A6C +/* 80299A60 002969C0 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80299A64 002969C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80299A68 002969C8 41 82 00 18 */ beq lbl_80299A80 +lbl_80299A6C: +/* 80299A6C 002969CC 7F A3 EB 78 */ mr r3, r29 +/* 80299A70 002969D0 3B E0 00 01 */ li r31, 1 +/* 80299A74 002969D4 38 80 00 01 */ li r4, 1 +/* 80299A78 002969D8 4B FF FC 81 */ bl sub_802996f8 +/* 80299A7C 002969DC 48 00 00 DC */ b lbl_80299B58 +lbl_80299A80: +/* 80299A80 002969E0 7F C4 F3 78 */ mr r4, r30 +/* 80299A84 002969E4 38 60 00 28 */ li r3, 0x28 +/* 80299A88 002969E8 4B D7 2D 49 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299A8C 002969EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80299A90 002969F0 41 82 00 18 */ beq lbl_80299AA8 +/* 80299A94 002969F4 7F A3 EB 78 */ mr r3, r29 +/* 80299A98 002969F8 3B E0 00 01 */ li r31, 1 +/* 80299A9C 002969FC 38 80 00 00 */ li r4, 0 +/* 80299AA0 00296A00 4B FF FC 59 */ bl sub_802996f8 +/* 80299AA4 00296A04 48 00 00 B4 */ b lbl_80299B58 +lbl_80299AA8: +/* 80299AA8 00296A08 7F C4 F3 78 */ mr r4, r30 +/* 80299AAC 00296A0C 38 60 00 29 */ li r3, 0x29 +/* 80299AB0 00296A10 4B D7 2E 69 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299AB4 00296A14 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299AB8 00296A18 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299ABC 00296A1C 40 82 00 10 */ bne lbl_80299ACC +/* 80299AC0 00296A20 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80299AC4 00296A24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80299AC8 00296A28 41 82 00 3C */ beq lbl_80299B04 +lbl_80299ACC: +/* 80299ACC 00296A2C C0 2D 99 EC */ lfs f1, lbl_805A85AC@sda21(r13) +/* 80299AD0 00296A30 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 80299AD4 00296A34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299AD8 00296A38 40 80 00 0C */ bge lbl_80299AE4 +/* 80299ADC 00296A3C 38 7D 00 50 */ addi r3, r29, 0x50 +/* 80299AE0 00296A40 48 00 00 08 */ b lbl_80299AE8 +lbl_80299AE4: +/* 80299AE4 00296A44 38 6D 99 EC */ addi r3, r13, lbl_805A85AC@sda21 +lbl_80299AE8: +/* 80299AE8 00296A48 C0 03 00 00 */ lfs f0, 0(r3) +/* 80299AEC 00296A4C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299AF0 00296A50 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299AF4 00296A54 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80299AF8 00296A58 EC 01 00 2A */ fadds f0, f1, f0 +/* 80299AFC 00296A5C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B00 00296A60 48 00 00 58 */ b lbl_80299B58 +lbl_80299B04: +/* 80299B04 00296A64 7F C4 F3 78 */ mr r4, r30 +/* 80299B08 00296A68 38 60 00 28 */ li r3, 0x28 +/* 80299B0C 00296A6C 4B D7 2E 0D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80299B10 00296A70 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299B14 00296A74 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299B18 00296A78 41 82 00 3C */ beq lbl_80299B54 +/* 80299B1C 00296A7C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299B20 00296A80 C0 0D 99 F0 */ lfs f0, lbl_805A85B0@sda21(r13) +/* 80299B24 00296A84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80299B28 00296A88 40 80 00 0C */ bge lbl_80299B34 +/* 80299B2C 00296A8C 38 7D 00 50 */ addi r3, r29, 0x50 +/* 80299B30 00296A90 48 00 00 08 */ b lbl_80299B38 +lbl_80299B34: +/* 80299B34 00296A94 38 6D 99 F0 */ addi r3, r13, lbl_805A85B0@sda21 +lbl_80299B38: +/* 80299B38 00296A98 C0 03 00 00 */ lfs f0, 0(r3) +/* 80299B3C 00296A9C D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B40 00296AA0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80299B44 00296AA4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80299B48 00296AA8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80299B4C 00296AAC D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B50 00296AB0 48 00 00 08 */ b lbl_80299B58 +lbl_80299B54: +/* 80299B54 00296AB4 D0 1D 00 50 */ stfs f0, 0x50(r29) +lbl_80299B58: +/* 80299B58 00296AB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80299B5C 00296ABC 41 82 00 10 */ beq lbl_80299B6C +/* 80299B60 00296AC0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 80299B64 00296AC4 D0 1D 00 50 */ stfs f0, 0x50(r29) +/* 80299B68 00296AC8 D0 1D 00 54 */ stfs f0, 0x54(r29) +lbl_80299B6C: +/* 80299B6C 00296ACC 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 80299B70 00296AD0 38 80 00 00 */ li r4, 0 +/* 80299B74 00296AD4 28 03 00 00 */ cmplwi r3, 0 +/* 80299B78 00296AD8 41 82 00 24 */ beq lbl_80299B9C +/* 80299B7C 00296ADC 80 63 00 00 */ lwz r3, 0(r3) +/* 80299B80 00296AE0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299B84 00296AE4 28 00 00 00 */ cmplwi r0, 0 +/* 80299B88 00296AE8 41 82 00 14 */ beq lbl_80299B9C +/* 80299B8C 00296AEC 88 1D 00 70 */ lbz r0, 0x70(r29) +/* 80299B90 00296AF0 28 00 00 00 */ cmplwi r0, 0 +/* 80299B94 00296AF4 41 82 00 08 */ beq lbl_80299B9C +/* 80299B98 00296AF8 38 80 00 01 */ li r4, 1 +lbl_80299B9C: +/* 80299B9C 00296AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299BA0 00296B00 41 82 00 14 */ beq lbl_80299BB4 +/* 80299BA4 00296B04 7F C4 F3 78 */ mr r4, r30 +/* 80299BA8 00296B08 38 7D 00 5C */ addi r3, r29, 0x5c +/* 80299BAC 00296B0C 4B FF E1 B5 */ bl sub_80297d60 +/* 80299BB0 00296B10 48 00 00 08 */ b lbl_80299BB8 +lbl_80299BB4: +/* 80299BB4 00296B14 38 60 00 01 */ li r3, 1 +lbl_80299BB8: +/* 80299BB8 00296B18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80299BBC 00296B1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80299BC0 00296B20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80299BC4 00296B24 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80299BC8 00296B28 7C 08 03 A6 */ mtlr r0 +/* 80299BCC 00296B2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80299BD0 00296B30 4E 80 00 20 */ blr + +.global UpdatePersistentScanPercent__FUiUiUi +UpdatePersistentScanPercent__FUiUiUi: +/* 80299BD4 00296B34 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80299BD8 00296B38 7C 08 02 A6 */ mflr r0 +/* 80299BDC 00296B3C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80299BE0 00296B40 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80299BE4 00296B44 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80299BE8 00296B48 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 80299BEC 00296B4C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80299BF0 00296B50 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80299BF4 00296B54 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80299BF8 00296B58 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80299BFC 00296B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80299C00 00296B60 7C BD 2B 78 */ mr r29, r5 +/* 80299C04 00296B64 7C 1E 20 00 */ cmpw r30, r4 +/* 80299C08 00296B68 41 82 01 8C */ beq lbl_80299D94 +/* 80299C0C 00296B6C 3C A0 43 30 */ lis r5, 0x4330 +/* 80299C10 00296B70 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 80299C14 00296B74 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 80299C18 00296B78 90 61 00 44 */ stw r3, 0x44(r1) +/* 80299C1C 00296B7C 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 80299C20 00296B80 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80299C24 00296B84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 80299C28 00296B88 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80299C2C 00296B8C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80299C30 00296B90 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80299C34 00296B94 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80299C38 00296B98 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80299C3C 00296B9C C0 62 C0 2C */ lfs f3, lbl_805ADD4C@sda21(r2) +/* 80299C40 00296BA0 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 80299C44 00296BA4 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80299C48 00296BA8 C3 E4 00 2C */ lfs f31, 0x2c(r4) +/* 80299C4C 00296BAC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80299C50 00296BB0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80299C54 00296BB4 EF C3 00 32 */ fmuls f30, f3, f0 +/* 80299C58 00296BB8 4B F3 B5 B1 */ bl GetLogScanCount__14CSystemOptionsFv +/* 80299C5C 00296BBC 3C 80 43 30 */ lis r4, 0x4330 +/* 80299C60 00296BC0 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 80299C64 00296BC4 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 80299C68 00296BC8 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 80299C6C 00296BCC EC 1E F8 24 */ fdivs f0, f30, f31 +/* 80299C70 00296BD0 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) +/* 80299C74 00296BD4 90 81 00 58 */ stw r4, 0x58(r1) +/* 80299C78 00296BD8 C0 82 C0 2C */ lfs f4, lbl_805ADD4C@sda21(r2) +/* 80299C7C 00296BDC C8 21 00 58 */ lfd f1, 0x58(r1) +/* 80299C80 00296BE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80299C84 00296BE4 90 81 00 60 */ stw r4, 0x60(r1) +/* 80299C88 00296BE8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 80299C8C 00296BEC FC 00 00 1E */ fctiwz f0, f0 +/* 80299C90 00296BF0 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 80299C94 00296BF4 FC A0 F0 1E */ fctiwz f5, f30 +/* 80299C98 00296BF8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80299C9C 00296BFC D8 01 00 70 */ stfd f0, 0x70(r1) +/* 80299CA0 00296C00 D8 A1 00 50 */ stfd f5, 0x50(r1) +/* 80299CA4 00296C04 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80299CA8 00296C08 83 C1 00 74 */ lwz r30, 0x74(r1) +/* 80299CAC 00296C0C 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80299CB0 00296C10 7C 80 1A 78 */ xor r0, r4, r3 +/* 80299CB4 00296C14 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80299CB8 00296C18 7C 00 20 38 */ and r0, r0, r4 +/* 80299CBC 00296C1C EC 04 00 72 */ fmuls f0, f4, f1 +/* 80299CC0 00296C20 7C 00 18 50 */ subf r0, r0, r3 +/* 80299CC4 00296C24 54 1D 0F FF */ rlwinm. r29, r0, 1, 0x1f, 0x1f +/* 80299CC8 00296C28 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80299CCC 00296C2C FC 00 00 1E */ fctiwz f0, f0 +/* 80299CD0 00296C30 D8 01 00 68 */ stfd f0, 0x68(r1) +/* 80299CD4 00296C34 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80299CD8 00296C38 41 82 00 10 */ beq lbl_80299CE8 +/* 80299CDC 00296C3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80299CE0 00296C40 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 80299CE4 00296C44 4B F3 B5 1D */ bl SetLogScanCount__14CSystemOptionsFi +lbl_80299CE8: +/* 80299CE8 00296C48 7C 1E F8 00 */ cmpw r30, r31 +/* 80299CEC 00296C4C 40 81 00 A8 */ ble lbl_80299D94 +/* 80299CF0 00296C50 38 1E FF FF */ addi r0, r30, -1 +/* 80299CF4 00296C54 38 81 00 0C */ addi r4, r1, 0xc +/* 80299CF8 00296C58 90 01 00 0C */ stw r0, 0xc(r1) +/* 80299CFC 00296C5C 38 6D 99 E4 */ addi r3, r13, lbl_805A85A4@sda21 +/* 80299D00 00296C60 38 AD 99 E8 */ addi r5, r13, lbl_805A85A8@sda21 +/* 80299D04 00296C64 4B DC 03 61 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80299D08 00296C68 80 03 00 00 */ lwz r0, 0(r3) +/* 80299D0C 00296C6C 38 82 BF E8 */ addi r4, r2, lbl_805ADD08@sda21 +/* 80299D10 00296C70 38 61 00 20 */ addi r3, r1, 0x20 +/* 80299D14 00296C74 38 C1 00 08 */ addi r6, r1, 8 +/* 80299D18 00296C78 54 00 10 3A */ slwi r0, r0, 2 +/* 80299D1C 00296C7C 38 A0 FF FF */ li r5, -1 +/* 80299D20 00296C80 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80299D24 00296C84 48 0A 44 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80299D28 00296C88 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 80299D2C 00296C8C 28 1D 00 00 */ cmplwi r29, 0 +/* 80299D30 00296C90 38 C3 5C 48 */ addi r6, r3, lbl_803D5C48@l +/* 80299D34 00296C94 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299D38 00296C98 38 81 00 20 */ addi r4, r1, 0x20 +/* 80299D3C 00296C9C 38 A6 00 D9 */ addi r5, r6, 0xd9 +/* 80299D40 00296CA0 41 82 00 08 */ beq lbl_80299D48 +/* 80299D44 00296CA4 38 A6 00 D7 */ addi r5, r6, 0xd7 +lbl_80299D48: +/* 80299D48 00296CA8 4B F7 23 AD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 80299D4C 00296CAC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80299D50 00296CB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80299D54 00296CB4 48 0A 44 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80299D58 00296CB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80299D5C 00296CBC 48 0A 3D 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D60 00296CC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80299D64 00296CC4 48 0A 3D 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D68 00296CC8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80299D6C 00296CCC 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80299D70 00296CD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80299D74 00296CD4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80299D78 00296CD8 7D 89 03 A6 */ mtctr r12 +/* 80299D7C 00296CDC 4E 80 04 21 */ bctrl +/* 80299D80 00296CE0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80299D84 00296CE4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80299D88 00296CE8 48 0A 3D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80299D8C 00296CEC 7F E3 FB 78 */ mr r3, r31 +/* 80299D90 00296CF0 48 00 00 08 */ b lbl_80299D98 +lbl_80299D94: +/* 80299D94 00296CF4 38 60 FF FF */ li r3, -1 +lbl_80299D98: +/* 80299D98 00296CF8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80299D9C 00296CFC CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80299DA0 00296D00 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80299DA4 00296D04 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80299DA8 00296D08 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80299DAC 00296D0C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80299DB0 00296D10 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80299DB4 00296D14 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80299DB8 00296D18 7C 08 03 A6 */ mtlr r0 +/* 80299DBC 00296D1C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80299DC0 00296D20 4E 80 00 20 */ blr + +.global CalculateScanCompletionRate__13CStateManagerFv +CalculateScanCompletionRate__13CStateManagerFv: +/* 80299DC4 00296D24 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 80299DC8 00296D28 39 20 00 00 */ li r9, 0 +/* 80299DCC 00296D2C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) +/* 80299DD0 00296D30 39 40 00 00 */ li r10, 0 +/* 80299DD4 00296D34 80 E4 00 00 */ lwz r7, 0(r4) +/* 80299DD8 00296D38 39 00 00 00 */ li r8, 0 +/* 80299DDC 00296D3C 80 07 01 74 */ lwz r0, 0x174(r7) +/* 80299DE0 00296D40 7C 09 03 A6 */ mtctr r0 +/* 80299DE4 00296D44 2C 00 00 00 */ cmpwi r0, 0 +/* 80299DE8 00296D48 40 81 00 60 */ ble lbl_80299E48 +/* 80299DEC 00296D4C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +lbl_80299DF0: +/* 80299DF0 00296D50 80 86 00 2C */ lwz r4, 0x2c(r6) +/* 80299DF4 00296D54 38 08 00 04 */ addi r0, r8, 4 +/* 80299DF8 00296D58 80 A7 01 7C */ lwz r5, 0x17c(r7) +/* 80299DFC 00296D5C 7D 64 00 2E */ lwzx r11, r4, r0 +/* 80299E00 00296D60 7C 85 42 14 */ add r4, r5, r8 +/* 80299E04 00296D64 38 0B FF FF */ addi r0, r11, -1 +/* 80299E08 00296D68 28 00 00 01 */ cmplwi r0, 1 +/* 80299E0C 00296D6C 40 81 00 0C */ ble lbl_80299E18 +/* 80299E10 00296D70 28 0B 00 03 */ cmplwi r11, 3 +/* 80299E14 00296D74 40 82 00 0C */ bne lbl_80299E20 +lbl_80299E18: +/* 80299E18 00296D78 38 00 00 01 */ li r0, 1 +/* 80299E1C 00296D7C 48 00 00 08 */ b lbl_80299E24 +lbl_80299E20: +/* 80299E20 00296D80 38 00 00 00 */ li r0, 0 +lbl_80299E24: +/* 80299E24 00296D84 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80299E28 00296D88 41 82 00 18 */ beq lbl_80299E40 +/* 80299E2C 00296D8C C0 04 00 04 */ lfs f0, 4(r4) +/* 80299E30 00296D90 39 29 00 01 */ addi r9, r9, 1 +/* 80299E34 00296D94 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80299E38 00296D98 40 82 00 08 */ bne lbl_80299E40 +/* 80299E3C 00296D9C 39 4A 00 01 */ addi r10, r10, 1 +lbl_80299E40: +/* 80299E40 00296DA0 39 08 00 08 */ addi r8, r8, 8 +/* 80299E44 00296DA4 42 00 FF AC */ bdnz lbl_80299DF0 +lbl_80299E48: +/* 80299E48 00296DA8 91 43 00 00 */ stw r10, 0(r3) +/* 80299E4C 00296DAC 91 23 00 04 */ stw r9, 4(r3) +/* 80299E50 00296DB0 4E 80 00 20 */ blr + +.global IsDataLoreResearchScan__FUi +IsDataLoreResearchScan__FUi: +/* 80299E54 00296DB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80299E58 00296DB8 7C 08 02 A6 */ mflr r0 +/* 80299E5C 00296DBC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80299E60 00296DC0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80299E64 00296DC4 89 21 00 10 */ lbz r9, 0x10(r1) +/* 80299E68 00296DC8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80299E6C 00296DCC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80299E70 00296DD0 38 C1 00 08 */ addi r6, r1, 8 +/* 80299E74 00296DD4 38 E1 00 0C */ addi r7, r1, 0xc +/* 80299E78 00296DD8 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) +/* 80299E7C 00296DDC 90 61 00 08 */ stw r3, 8(r1) +/* 80299E80 00296DE0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80299E84 00296DE4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80299E88 00296DE8 81 1F 00 2C */ lwz r8, 0x2c(r31) +/* 80299E8C 00296DEC 54 00 18 38 */ slwi r0, r0, 3 +/* 80299E90 00296DF0 99 21 00 14 */ stb r9, 0x14(r1) +/* 80299E94 00296DF4 7D 08 02 14 */ add r8, r8, r0 +/* 80299E98 00296DF8 91 01 00 2C */ stw r8, 0x2c(r1) +/* 80299E9C 00296DFC 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80299EA0 00296E00 91 01 00 28 */ stw r8, 0x28(r1) +/* 80299EA4 00296E04 90 01 00 30 */ stw r0, 0x30(r1) +/* 80299EA8 00296E08 99 21 00 0C */ stb r9, 0xc(r1) +/* 80299EAC 00296E0C 91 01 00 24 */ stw r8, 0x24(r1) +/* 80299EB0 00296E10 90 01 00 20 */ stw r0, 0x20(r1) +/* 80299EB4 00296E14 48 00 21 85 */ bl sub_8029c038 +/* 80299EB8 00296E18 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80299EBC 00296E1C 38 80 00 00 */ li r4, 0 +/* 80299EC0 00296E20 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80299EC4 00296E24 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80299EC8 00296E28 7C 05 00 40 */ cmplw r5, r0 +/* 80299ECC 00296E2C 41 82 00 18 */ beq lbl_80299EE4 +/* 80299ED0 00296E30 80 61 00 08 */ lwz r3, 8(r1) +/* 80299ED4 00296E34 80 05 00 00 */ lwz r0, 0(r5) +/* 80299ED8 00296E38 7C 03 00 40 */ cmplw r3, r0 +/* 80299EDC 00296E3C 41 80 00 08 */ blt lbl_80299EE4 +/* 80299EE0 00296E40 38 80 00 01 */ li r4, 1 +lbl_80299EE4: +/* 80299EE4 00296E44 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299EE8 00296E48 38 81 00 2C */ addi r4, r1, 0x2c +/* 80299EEC 00296E4C 41 82 00 08 */ beq lbl_80299EF4 +/* 80299EF0 00296E50 38 81 00 18 */ addi r4, r1, 0x18 +lbl_80299EF4: +/* 80299EF4 00296E54 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80299EF8 00296E58 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80299EFC 00296E5C 54 00 18 38 */ slwi r0, r0, 3 +/* 80299F00 00296E60 80 84 00 00 */ lwz r4, 0(r4) +/* 80299F04 00296E64 7C 03 02 14 */ add r0, r3, r0 +/* 80299F08 00296E68 7C 04 00 40 */ cmplw r4, r0 +/* 80299F0C 00296E6C 41 82 00 38 */ beq lbl_80299F44 +/* 80299F10 00296E70 80 64 00 04 */ lwz r3, 4(r4) +/* 80299F14 00296E74 38 03 FF FF */ addi r0, r3, -1 +/* 80299F18 00296E78 28 00 00 01 */ cmplwi r0, 1 +/* 80299F1C 00296E7C 40 81 00 0C */ ble lbl_80299F28 +/* 80299F20 00296E80 28 03 00 03 */ cmplwi r3, 3 +/* 80299F24 00296E84 40 82 00 0C */ bne lbl_80299F30 +lbl_80299F28: +/* 80299F28 00296E88 38 00 00 01 */ li r0, 1 +/* 80299F2C 00296E8C 48 00 00 08 */ b lbl_80299F34 +lbl_80299F30: +/* 80299F30 00296E90 38 00 00 00 */ li r0, 0 +lbl_80299F34: +/* 80299F34 00296E94 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80299F38 00296E98 41 82 00 0C */ beq lbl_80299F44 +/* 80299F3C 00296E9C 38 60 00 01 */ li r3, 1 +/* 80299F40 00296EA0 48 00 00 08 */ b lbl_80299F48 +lbl_80299F44: +/* 80299F44 00296EA4 38 60 00 00 */ li r3, 0 +lbl_80299F48: +/* 80299F48 00296EA8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80299F4C 00296EAC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80299F50 00296EB0 7C 08 03 A6 */ mtlr r0 +/* 80299F54 00296EB4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80299F58 00296EB8 4E 80 00 20 */ blr + +.global Draw__10CSlideShowFv +Draw__10CSlideShowFv: +/* 80299F5C 00296EBC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80299F60 00296EC0 7C 08 02 A6 */ mflr r0 +/* 80299F64 00296EC4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80299F68 00296EC8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80299F6C 00296ECC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80299F70 00296ED0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80299F74 00296ED4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80299F78 00296ED8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80299F7C 00296EDC 7C 7F 1B 78 */ mr r31, r3 +/* 80299F80 00296EE0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80299F84 00296EE4 2C 00 00 05 */ cmpwi r0, 5 +/* 80299F88 00296EE8 40 82 01 48 */ bne lbl_8029A0D0 +/* 80299F8C 00296EEC 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 80299F90 00296EF0 38 80 00 00 */ li r4, 0 +/* 80299F94 00296EF4 28 03 00 00 */ cmplwi r3, 0 +/* 80299F98 00296EF8 41 82 00 24 */ beq lbl_80299FBC +/* 80299F9C 00296EFC 80 63 00 00 */ lwz r3, 0(r3) +/* 80299FA0 00296F00 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299FA4 00296F04 28 00 00 00 */ cmplwi r0, 0 +/* 80299FA8 00296F08 41 82 00 14 */ beq lbl_80299FBC +/* 80299FAC 00296F0C 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80299FB0 00296F10 28 00 00 00 */ cmplwi r0, 0 +/* 80299FB4 00296F14 41 82 00 08 */ beq lbl_80299FBC +/* 80299FB8 00296F18 38 80 00 01 */ li r4, 1 +lbl_80299FBC: +/* 80299FBC 00296F1C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80299FC0 00296F20 41 82 00 0C */ beq lbl_80299FCC +/* 80299FC4 00296F24 38 7F 00 5C */ addi r3, r31, 0x5c +/* 80299FC8 00296F28 4B FF DB 55 */ bl sub_80297b1c +lbl_80299FCC: +/* 80299FCC 00296F2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 80299FD0 00296F30 38 80 00 00 */ li r4, 0 +/* 80299FD4 00296F34 28 03 00 00 */ cmplwi r3, 0 +/* 80299FD8 00296F38 41 82 00 24 */ beq lbl_80299FFC +/* 80299FDC 00296F3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80299FE0 00296F40 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80299FE4 00296F44 28 00 00 00 */ cmplwi r0, 0 +/* 80299FE8 00296F48 41 82 00 14 */ beq lbl_80299FFC +/* 80299FEC 00296F4C 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 80299FF0 00296F50 28 00 00 00 */ cmplwi r0, 0 +/* 80299FF4 00296F54 41 82 00 08 */ beq lbl_80299FFC +/* 80299FF8 00296F58 38 80 00 01 */ li r4, 1 +lbl_80299FFC: +/* 80299FFC 00296F5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8029A000 00296F60 41 82 00 0C */ beq lbl_8029A00C +/* 8029A004 00296F64 38 7F 00 90 */ addi r3, r31, 0x90 +/* 8029A008 00296F68 4B FF DB 15 */ bl sub_80297b1c +lbl_8029A00C: +/* 8029A00C 00296F6C 80 1F 00 C8 */ lwz r0, 0xc8(r31) +/* 8029A010 00296F70 28 00 00 00 */ cmplwi r0, 0 +/* 8029A014 00296F74 41 82 00 20 */ beq lbl_8029A034 +/* 8029A018 00296F78 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A01C 00296F7C C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 8029A020 00296F80 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8029A024 00296F84 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8029A028 00296F88 41 82 00 0C */ beq lbl_8029A034 +/* 8029A02C 00296F8C 7F E3 FB 78 */ mr r3, r31 +/* 8029A030 00296F90 4B FF E6 B1 */ bl sub_802986e0 +lbl_8029A034: +/* 8029A034 00296F94 7F E3 FB 78 */ mr r3, r31 +/* 8029A038 00296F98 4B FF F4 61 */ bl sub_80299498 +/* 8029A03C 00296F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A040 00296FA0 41 82 00 0C */ beq lbl_8029A04C +/* 8029A044 00296FA4 7F E3 FB 78 */ mr r3, r31 +/* 8029A048 00296FA8 4B FF E4 29 */ bl sub_80298470 +lbl_8029A04C: +/* 8029A04C 00296FAC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A050 00296FB0 54 03 FF FF */ rlwinm. r3, r0, 0x1f, 0x1f, 0x1f +/* 8029A054 00296FB4 40 82 00 0C */ bne lbl_8029A060 +/* 8029A058 00296FB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029A05C 00296FBC 41 82 00 74 */ beq lbl_8029A0D0 +lbl_8029A060: +/* 8029A060 00296FC0 28 03 00 00 */ cmplwi r3, 0 +/* 8029A064 00296FC4 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A068 00296FC8 41 82 00 10 */ beq lbl_8029A078 +/* 8029A06C 00296FCC 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A070 00296FD0 C0 03 00 54 */ lfs f0, 0x54(r3) +/* 8029A074 00296FD4 48 00 00 0C */ b lbl_8029A080 +lbl_8029A078: +/* 8029A078 00296FD8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A07C 00296FDC C0 03 00 58 */ lfs f0, 0x58(r3) +lbl_8029A080: +/* 8029A080 00296FE0 EF C1 00 24 */ fdivs f30, f1, f0 +/* 8029A084 00296FE4 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A088 00296FE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029A08C 00296FEC 41 82 00 0C */ beq lbl_8029A098 +/* 8029A090 00296FF0 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) +/* 8029A094 00296FF4 EF C0 F0 28 */ fsubs f30, f0, f30 +lbl_8029A098: +/* 8029A098 00296FF8 48 0A FF 1D */ bl Black__6CColorFv +/* 8029A09C 00296FFC C0 02 C0 30 */ lfs f0, lbl_805ADD50@sda21(r2) +/* 8029A0A0 00297000 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 8029A0A4 00297004 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8029A0A8 00297008 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029A0AC 0029700C 80 E3 00 00 */ lwz r7, 0(r3) +/* 8029A0B0 00297010 38 60 00 05 */ li r3, 5 +/* 8029A0B4 00297014 88 01 00 08 */ lbz r0, 8(r1) +/* 8029A0B8 00297018 38 80 00 00 */ li r4, 0 +/* 8029A0BC 0029701C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 8029A0C0 00297020 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029A0C4 00297024 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029A0C8 00297028 38 C0 00 00 */ li r6, 0 +/* 8029A0CC 0029702C 4B E5 20 7D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_8029A0D0: +/* 8029A0D0 00297030 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8029A0D4 00297034 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8029A0D8 00297038 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8029A0DC 0029703C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8029A0E0 00297040 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029A0E4 00297044 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029A0E8 00297048 7C 08 03 A6 */ mtlr r0 +/* 8029A0EC 0029704C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029A0F0 00297050 4E 80 00 20 */ blr + +.global OnMessage__10CSlideShowFv +OnMessage__10CSlideShowFv: +/* 8029A0F4 00297054 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8029A0F8 00297058 7C 08 02 A6 */ mflr r0 +/* 8029A0FC 0029705C 90 01 01 24 */ stw r0, 0x124(r1) +/* 8029A100 00297060 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8029A104 00297064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8029A108 00297068 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8029A10C 0029706C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8029A110 00297070 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8029A114 00297074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8029A118 00297078 BF 21 00 D4 */ stmw r25, 0xd4(r1) +/* 8029A11C 0029707C 80 04 00 04 */ lwz r0, 4(r4) +/* 8029A120 00297080 7C 7F 1B 78 */ mr r31, r3 +/* 8029A124 00297084 2C 00 00 05 */ cmpwi r0, 5 +/* 8029A128 00297088 41 82 08 EC */ beq lbl_8029AA14 +/* 8029A12C 0029708C 40 80 0A 58 */ bge lbl_8029AB84 +/* 8029A130 00297090 2C 00 00 04 */ cmpwi r0, 4 +/* 8029A134 00297094 40 80 00 08 */ bge lbl_8029A13C +/* 8029A138 00297098 48 00 0A 4C */ b lbl_8029AB84 +lbl_8029A13C: +/* 8029A13C 0029709C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A140 002970A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8029A144 002970A4 41 82 00 0C */ beq lbl_8029A150 +/* 8029A148 002970A8 38 60 00 02 */ li r3, 2 +/* 8029A14C 002970AC 48 00 0A 3C */ b lbl_8029AB88 +lbl_8029A150: +/* 8029A150 002970B0 7C 83 23 78 */ mr r3, r4 +/* 8029A154 002970B4 4B DB 7A 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 8029A158 002970B8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8029A15C 002970BC C3 E3 00 04 */ lfs f31, 4(r3) +/* 8029A160 002970C0 2C 00 00 03 */ cmpwi r0, 3 +/* 8029A164 002970C4 41 82 01 10 */ beq lbl_8029A274 +/* 8029A168 002970C8 40 80 00 1C */ bge lbl_8029A184 +/* 8029A16C 002970CC 2C 00 00 01 */ cmpwi r0, 1 +/* 8029A170 002970D0 41 82 00 50 */ beq lbl_8029A1C0 +/* 8029A174 002970D4 40 80 01 5C */ bge lbl_8029A2D0 +/* 8029A178 002970D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A17C 002970DC 40 80 00 18 */ bge lbl_8029A194 +/* 8029A180 002970E0 48 00 0A 04 */ b lbl_8029AB84 +lbl_8029A184: +/* 8029A184 002970E4 2C 00 00 05 */ cmpwi r0, 5 +/* 8029A188 002970E8 41 82 05 48 */ beq lbl_8029A6D0 +/* 8029A18C 002970EC 40 80 09 F8 */ bge lbl_8029AB84 +/* 8029A190 002970F0 48 00 04 90 */ b lbl_8029A620 +lbl_8029A194: +/* 8029A194 002970F4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A198 002970F8 38 63 00 04 */ addi r3, r3, 4 +/* 8029A19C 002970FC 48 0A 1C 15 */ bl AreAllPaksLoaded__10CResLoaderCFv +/* 8029A1A0 00297100 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A1A4 00297104 40 82 00 14 */ bne lbl_8029A1B8 +/* 8029A1A8 00297108 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A1AC 0029710C 38 63 00 04 */ addi r3, r3, 4 +/* 8029A1B0 00297110 48 0A 1C 11 */ bl AsyncIdlePakLoading__10CResLoaderFv +/* 8029A1B4 00297114 48 00 09 D0 */ b lbl_8029AB84 +lbl_8029A1B8: +/* 8029A1B8 00297118 38 00 00 01 */ li r0, 1 +/* 8029A1BC 0029711C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A1C0: +/* 8029A1C0 00297120 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8029A1C4 00297124 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A1C8 00297128 40 82 00 90 */ bne lbl_8029A258 +/* 8029A1CC 0029712C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8029A1D0 00297130 38 80 00 05 */ li r4, 5 +/* 8029A1D4 00297134 4B E7 06 39 */ bl sub_8010a80c +/* 8029A1D8 00297138 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A1DC 0029713C 3B 40 00 01 */ li r26, 1 +/* 8029A1E0 00297140 3B 63 5C 48 */ addi r27, r3, lbl_803D5C48@l +lbl_8029A1E4: +/* 8029A1E4 00297144 80 82 BF C8 */ lwz r4, lbl_805ADCE8@sda21(r2) +/* 8029A1E8 00297148 7F 45 D3 78 */ mr r5, r26 +/* 8029A1EC 0029714C 38 7B 00 DB */ addi r3, r27, 0xdb +/* 8029A1F0 00297150 4C C6 31 82 */ crclr 6 +/* 8029A1F4 00297154 48 03 BF BD */ bl Stringize__7CBasicsFPCce +/* 8029A1F8 00297158 7C 64 1B 78 */ mr r4, r3 +/* 8029A1FC 0029715C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A200 00297160 38 C1 00 0C */ addi r6, r1, 0xc +/* 8029A204 00297164 38 A0 FF FF */ li r5, -1 +/* 8029A208 00297168 48 0A 3F 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8029A20C 0029716C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8029A210 00297170 7F E3 FB 78 */ mr r3, r31 +/* 8029A214 00297174 48 00 09 A1 */ bl sub_8029abb4 +/* 8029A218 00297178 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A21C 0029717C 40 82 00 10 */ bne lbl_8029A22C +/* 8029A220 00297180 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A224 00297184 48 0A 38 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029A228 00297188 48 00 00 14 */ b lbl_8029A23C +lbl_8029A22C: +/* 8029A22C 0029718C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8029A230 00297190 48 0A 38 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029A234 00297194 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029A238 00297198 4B FF FF AC */ b lbl_8029A1E4 +lbl_8029A23C: +/* 8029A23C 0029719C 80 82 BF CC */ lwz r4, lbl_805ADCEC@sda21(r2) +/* 8029A240 002971A0 7F E3 FB 78 */ mr r3, r31 +/* 8029A244 002971A4 48 00 09 71 */ bl sub_8029abb4 +/* 8029A248 002971A8 7F E3 FB 78 */ mr r3, r31 +/* 8029A24C 002971AC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8029A250 002971B0 38 A0 00 01 */ li r5, 1 +/* 8029A254 002971B4 4B FF E6 E1 */ bl sub_80298934 +lbl_8029A258: +/* 8029A258 002971B8 7F E3 FB 78 */ mr r3, r31 +/* 8029A25C 002971BC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8029A260 002971C0 4B FF E6 95 */ bl sub_802988f4 +/* 8029A264 002971C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A268 002971C8 41 82 09 1C */ beq lbl_8029AB84 +/* 8029A26C 002971CC 38 00 00 03 */ li r0, 3 +/* 8029A270 002971D0 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A274: +/* 8029A274 002971D4 48 00 0F 61 */ bl SlideShowGalleryFlags__10CSlideShowFv +/* 8029A278 002971D8 7C 64 1B 78 */ mr r4, r3 +/* 8029A27C 002971DC 7F E3 FB 78 */ mr r3, r31 +/* 8029A280 002971E0 48 00 0A 4D */ bl sub_8029accc +/* 8029A284 002971E4 38 C0 00 00 */ li r6, 0 +/* 8029A288 002971E8 38 A0 00 00 */ li r5, 0 +/* 8029A28C 002971EC 48 00 00 24 */ b lbl_8029A2B0 +lbl_8029A290: +/* 8029A290 002971F0 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8029A294 002971F4 38 05 00 08 */ addi r0, r5, 8 +/* 8029A298 002971F8 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 8029A29C 002971FC 38 A5 00 14 */ addi r5, r5, 0x14 +/* 8029A2A0 00297200 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8029A2A4 00297204 38 C6 00 01 */ addi r6, r6, 1 +/* 8029A2A8 00297208 7C 04 02 14 */ add r0, r4, r0 +/* 8029A2AC 0029720C 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_8029A2B0: +/* 8029A2B0 00297210 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029A2B4 00297214 7C 06 00 00 */ cmpw r6, r0 +/* 8029A2B8 00297218 41 80 FF D8 */ blt lbl_8029A290 +/* 8029A2BC 0029721C 7F E3 FB 78 */ mr r3, r31 +/* 8029A2C0 00297220 38 80 00 01 */ li r4, 1 +/* 8029A2C4 00297224 4B FF F4 35 */ bl sub_802996f8 +/* 8029A2C8 00297228 38 00 00 02 */ li r0, 2 +/* 8029A2CC 0029722C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A2D0: +/* 8029A2D0 00297230 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A2D4 00297234 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 8029A2D8 00297238 7C 00 20 00 */ cmpw r0, r4 +/* 8029A2DC 0029723C 41 82 02 E8 */ beq lbl_8029A5C4 +/* 8029A2E0 00297240 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A2E4 00297244 48 00 21 29 */ bl sub_8029c40c +/* 8029A2E8 00297248 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A2EC 0029724C 3B 80 00 00 */ li r28, 0 +/* 8029A2F0 00297250 3B C3 5C 48 */ addi r30, r3, lbl_803D5C48@l +/* 8029A2F4 00297254 3B A0 00 00 */ li r29, 0 +/* 8029A2F8 00297258 48 00 02 08 */ b lbl_8029A500 +lbl_8029A2FC: +/* 8029A2FC 0029725C 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 8029A300 00297260 38 7E 00 E7 */ addi r3, r30, 0xe7 +/* 8029A304 00297264 80 82 BF D0 */ lwz r4, lbl_805ADCF0@sda21(r2) +/* 8029A308 00297268 7C A5 E8 2E */ lwzx r5, r5, r29 +/* 8029A30C 0029726C 38 A5 00 01 */ addi r5, r5, 1 +/* 8029A310 00297270 4C C6 31 82 */ crclr 6 +/* 8029A314 00297274 48 03 BE 9D */ bl Stringize__7CBasicsFPCce +/* 8029A318 00297278 7C 60 1B 78 */ mr r0, r3 +/* 8029A31C 0029727C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A320 00297280 7C 04 03 78 */ mr r4, r0 +/* 8029A324 00297284 81 83 00 00 */ lwz r12, 0(r3) +/* 8029A328 00297288 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029A32C 0029728C 7D 89 03 A6 */ mtctr r12 +/* 8029A330 00297290 4E 80 04 21 */ bctrl +/* 8029A334 00297294 7C 79 1B 79 */ or. r25, r3, r3 +/* 8029A338 00297298 40 82 00 A0 */ bne lbl_8029A3D8 +/* 8029A33C 0029729C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A340 002972A0 38 60 00 00 */ li r3, 0 +/* 8029A344 002972A4 80 BF 00 D8 */ lwz r5, 0xd8(r31) +/* 8029A348 002972A8 98 61 00 38 */ stb r3, 0x38(r1) +/* 8029A34C 002972AC 7C 00 28 00 */ cmpw r0, r5 +/* 8029A350 002972B0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8029A354 002972B4 41 80 00 1C */ blt lbl_8029A370 +/* 8029A358 002972B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029A35C 002972BC 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A360 002972C0 38 80 00 04 */ li r4, 4 +/* 8029A364 002972C4 41 82 00 08 */ beq lbl_8029A36C +/* 8029A368 002972C8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029A36C: +/* 8029A36C 002972CC 48 00 20 A1 */ bl sub_8029c40c +lbl_8029A370: +/* 8029A370 002972D0 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A374 002972D4 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 8029A378 002972D8 54 00 18 38 */ slwi r0, r0, 3 +/* 8029A37C 002972DC 7C A3 02 15 */ add. r5, r3, r0 +/* 8029A380 002972E0 41 82 00 1C */ beq lbl_8029A39C +/* 8029A384 002972E4 88 81 00 38 */ lbz r4, 0x38(r1) +/* 8029A388 002972E8 38 00 00 00 */ li r0, 0 +/* 8029A38C 002972EC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8029A390 002972F0 98 85 00 00 */ stb r4, 0(r5) +/* 8029A394 002972F4 90 65 00 04 */ stw r3, 4(r5) +/* 8029A398 002972F8 98 01 00 38 */ stb r0, 0x38(r1) +lbl_8029A39C: +/* 8029A39C 002972FC 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A3A0 00297300 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8029A3A4 00297304 38 63 00 01 */ addi r3, r3, 1 +/* 8029A3A8 00297308 28 00 00 00 */ cmplwi r0, 0 +/* 8029A3AC 0029730C 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8029A3B0 00297310 41 82 01 48 */ beq lbl_8029A4F8 +/* 8029A3B4 00297314 83 61 00 3C */ lwz r27, 0x3c(r1) +/* 8029A3B8 00297318 28 1B 00 00 */ cmplwi r27, 0 +/* 8029A3BC 0029731C 41 82 01 3C */ beq lbl_8029A4F8 +/* 8029A3C0 00297320 7F 63 DB 78 */ mr r3, r27 +/* 8029A3C4 00297324 38 80 00 00 */ li r4, 0 +/* 8029A3C8 00297328 48 0A 6A 79 */ bl __dt__6CTokenFv +/* 8029A3CC 0029732C 7F 63 DB 78 */ mr r3, r27 +/* 8029A3D0 00297330 48 07 B5 61 */ bl Free__7CMemoryFPCv +/* 8029A3D4 00297334 48 00 01 24 */ b lbl_8029A4F8 +lbl_8029A3D8: +/* 8029A3D8 00297338 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A3DC 0029733C 3B 60 00 00 */ li r27, 0 +/* 8029A3E0 00297340 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029A3E4 00297344 38 60 00 08 */ li r3, 8 +/* 8029A3E8 00297348 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A3EC 0029734C 38 A0 00 00 */ li r5, 0 +/* 8029A3F0 00297350 48 07 B4 7D */ bl __nw__FUlPCcPCc +/* 8029A3F4 00297354 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A3F8 00297358 41 82 00 30 */ beq lbl_8029A428 +/* 8029A3FC 0029735C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029A400 00297360 7F 25 CB 78 */ mr r5, r25 +/* 8029A404 00297364 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029A408 00297368 81 84 00 00 */ lwz r12, 0(r4) +/* 8029A40C 0029736C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029A410 00297370 7D 89 03 A6 */ mtctr r12 +/* 8029A414 00297374 4E 80 04 21 */ bctrl +/* 8029A418 00297378 7F 43 D3 78 */ mr r3, r26 +/* 8029A41C 0029737C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8029A420 00297380 3B 60 00 01 */ li r27, 1 +/* 8029A424 00297384 48 0A 6A 85 */ bl __ct__6CTokenFRC6CToken +lbl_8029A428: +/* 8029A428 00297388 7C 7A 00 D0 */ neg r3, r26 +/* 8029A42C 0029738C 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A430 00297390 80 BF 00 D8 */ lwz r5, 0xd8(r31) +/* 8029A434 00297394 7C 63 D3 78 */ or r3, r3, r26 +/* 8029A438 00297398 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8029A43C 0029739C 93 41 00 2C */ stw r26, 0x2c(r1) +/* 8029A440 002973A0 7C 00 28 00 */ cmpw r0, r5 +/* 8029A444 002973A4 98 61 00 28 */ stb r3, 0x28(r1) +/* 8029A448 002973A8 41 80 00 1C */ blt lbl_8029A464 +/* 8029A44C 002973AC 2C 05 00 00 */ cmpwi r5, 0 +/* 8029A450 002973B0 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8029A454 002973B4 38 80 00 04 */ li r4, 4 +/* 8029A458 002973B8 41 82 00 08 */ beq lbl_8029A460 +/* 8029A45C 002973BC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029A460: +/* 8029A460 002973C0 48 00 1F AD */ bl sub_8029c40c +lbl_8029A464: +/* 8029A464 002973C4 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A468 002973C8 80 7F 00 DC */ lwz r3, 0xdc(r31) +/* 8029A46C 002973CC 54 00 18 38 */ slwi r0, r0, 3 +/* 8029A470 002973D0 7C A3 02 15 */ add. r5, r3, r0 +/* 8029A474 002973D4 41 82 00 1C */ beq lbl_8029A490 +/* 8029A478 002973D8 88 81 00 28 */ lbz r4, 0x28(r1) +/* 8029A47C 002973DC 38 00 00 00 */ li r0, 0 +/* 8029A480 002973E0 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8029A484 002973E4 98 85 00 00 */ stb r4, 0(r5) +/* 8029A488 002973E8 90 65 00 04 */ stw r3, 4(r5) +/* 8029A48C 002973EC 98 01 00 28 */ stb r0, 0x28(r1) +lbl_8029A490: +/* 8029A490 002973F0 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A494 002973F4 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8029A498 002973F8 38 63 00 01 */ addi r3, r3, 1 +/* 8029A49C 002973FC 28 00 00 00 */ cmplwi r0, 0 +/* 8029A4A0 00297400 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8029A4A4 00297404 41 82 00 24 */ beq lbl_8029A4C8 +/* 8029A4A8 00297408 83 41 00 2C */ lwz r26, 0x2c(r1) +/* 8029A4AC 0029740C 28 1A 00 00 */ cmplwi r26, 0 +/* 8029A4B0 00297410 41 82 00 18 */ beq lbl_8029A4C8 +/* 8029A4B4 00297414 7F 43 D3 78 */ mr r3, r26 +/* 8029A4B8 00297418 38 80 00 00 */ li r4, 0 +/* 8029A4BC 0029741C 48 0A 69 85 */ bl __dt__6CTokenFv +/* 8029A4C0 00297420 7F 43 D3 78 */ mr r3, r26 +/* 8029A4C4 00297424 48 07 B4 6D */ bl Free__7CMemoryFPCv +lbl_8029A4C8: +/* 8029A4C8 00297428 7F 60 07 75 */ extsb. r0, r27 +/* 8029A4CC 0029742C 41 82 00 10 */ beq lbl_8029A4DC +/* 8029A4D0 00297430 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029A4D4 00297434 38 80 FF FF */ li r4, -1 +/* 8029A4D8 00297438 48 0A 69 69 */ bl __dt__6CTokenFv +lbl_8029A4DC: +/* 8029A4DC 0029743C 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8029A4E0 00297440 80 9F 00 DC */ lwz r4, 0xdc(r31) +/* 8029A4E4 00297444 38 03 FF FF */ addi r0, r3, -1 +/* 8029A4E8 00297448 54 03 18 38 */ slwi r3, r0, 3 +/* 8029A4EC 0029744C 38 03 00 04 */ addi r0, r3, 4 +/* 8029A4F0 00297450 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8029A4F4 00297454 48 0A 68 91 */ bl Lock__6CTokenFv +lbl_8029A4F8: +/* 8029A4F8 00297458 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8029A4FC 0029745C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8029A500: +/* 8029A500 00297460 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8029A504 00297464 7C 1C 00 00 */ cmpw r28, r0 +/* 8029A508 00297468 41 80 FD F4 */ blt lbl_8029A2FC +/* 8029A50C 0029746C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8029A510 00297470 28 00 00 00 */ cmplwi r0, 0 +/* 8029A514 00297474 40 82 00 B0 */ bne lbl_8029A5C4 +/* 8029A518 00297478 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029A51C 0029747C 80 82 BF D4 */ lwz r4, lbl_805ADCF4@sda21(r2) +/* 8029A520 00297480 81 83 00 00 */ lwz r12, 0(r3) +/* 8029A524 00297484 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029A528 00297488 7D 89 03 A6 */ mtctr r12 +/* 8029A52C 0029748C 4E 80 04 21 */ bctrl +/* 8029A530 00297490 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029A534 00297494 7C 79 1B 78 */ mr r25, r3 +/* 8029A538 00297498 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029A53C 0029749C 3B 80 00 00 */ li r28, 0 +/* 8029A540 002974A0 38 60 00 08 */ li r3, 8 +/* 8029A544 002974A4 38 A0 00 00 */ li r5, 0 +/* 8029A548 002974A8 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A54C 002974AC 48 07 B3 21 */ bl __nw__FUlPCcPCc +/* 8029A550 002974B0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A554 002974B4 41 82 00 30 */ beq lbl_8029A584 +/* 8029A558 002974B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029A55C 002974BC 7F 25 CB 78 */ mr r5, r25 +/* 8029A560 002974C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029A564 002974C4 81 84 00 00 */ lwz r12, 0(r4) +/* 8029A568 002974C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029A56C 002974CC 7D 89 03 A6 */ mtctr r12 +/* 8029A570 002974D0 4E 80 04 21 */ bctrl +/* 8029A574 002974D4 7F 43 D3 78 */ mr r3, r26 +/* 8029A578 002974D8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8029A57C 002974DC 3B 80 00 01 */ li r28, 1 +/* 8029A580 002974E0 48 0A 69 29 */ bl __ct__6CTokenFRC6CToken +lbl_8029A584: +/* 8029A584 002974E4 83 7F 00 38 */ lwz r27, 0x38(r31) +/* 8029A588 002974E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8029A58C 002974EC 41 82 00 18 */ beq lbl_8029A5A4 +/* 8029A590 002974F0 7F 63 DB 78 */ mr r3, r27 +/* 8029A594 002974F4 38 80 00 00 */ li r4, 0 +/* 8029A598 002974F8 48 0A 68 A9 */ bl __dt__6CTokenFv +/* 8029A59C 002974FC 7F 63 DB 78 */ mr r3, r27 +/* 8029A5A0 00297500 48 07 B3 91 */ bl Free__7CMemoryFPCv +lbl_8029A5A4: +/* 8029A5A4 00297504 7F 80 07 75 */ extsb. r0, r28 +/* 8029A5A8 00297508 93 5F 00 38 */ stw r26, 0x38(r31) +/* 8029A5AC 0029750C 41 82 00 10 */ beq lbl_8029A5BC +/* 8029A5B0 00297510 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029A5B4 00297514 38 80 FF FF */ li r4, -1 +/* 8029A5B8 00297518 48 0A 68 89 */ bl __dt__6CTokenFv +lbl_8029A5BC: +/* 8029A5BC 0029751C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A5C0 00297520 48 0A 67 C5 */ bl Lock__6CTokenFv +lbl_8029A5C4: +/* 8029A5C4 00297524 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A5C8 00297528 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A5CC 0029752C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A5D0 00297530 28 00 00 00 */ cmplwi r0, 0 +/* 8029A5D4 00297534 41 82 05 B0 */ beq lbl_8029AB84 +/* 8029A5D8 00297538 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8029A5DC 0029753C 38 80 00 00 */ li r4, 0 +/* 8029A5E0 00297540 7C 09 03 A6 */ mtctr r0 +/* 8029A5E4 00297544 2C 00 00 00 */ cmpwi r0, 0 +/* 8029A5E8 00297548 40 81 00 30 */ ble lbl_8029A618 +lbl_8029A5EC: +/* 8029A5EC 0029754C 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8029A5F0 00297550 7C 60 22 14 */ add r3, r0, r4 +/* 8029A5F4 00297554 80 63 00 04 */ lwz r3, 4(r3) +/* 8029A5F8 00297558 28 03 00 00 */ cmplwi r3, 0 +/* 8029A5FC 0029755C 41 82 00 14 */ beq lbl_8029A610 +/* 8029A600 00297560 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A604 00297564 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A608 00297568 28 00 00 00 */ cmplwi r0, 0 +/* 8029A60C 0029756C 41 82 00 0C */ beq lbl_8029A618 +lbl_8029A610: +/* 8029A610 00297570 38 84 00 08 */ addi r4, r4, 8 +/* 8029A614 00297574 42 00 FF D8 */ bdnz lbl_8029A5EC +lbl_8029A618: +/* 8029A618 00297578 38 00 00 04 */ li r0, 4 +/* 8029A61C 0029757C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A620: +/* 8029A620 00297580 80 1F 00 CC */ lwz r0, 0xcc(r31) +/* 8029A624 00297584 28 00 00 00 */ cmplwi r0, 0 +/* 8029A628 00297588 40 82 00 78 */ bne lbl_8029A6A0 +/* 8029A62C 0029758C 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029A630 00297590 3B 20 00 00 */ li r25, 0 +/* 8029A634 00297594 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029A638 00297598 38 60 00 C4 */ li r3, 0xc4 +/* 8029A63C 0029759C 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029A640 002975A0 38 A0 00 00 */ li r5, 0 +/* 8029A644 002975A4 48 07 B2 29 */ bl __nw__FUlPCcPCc +/* 8029A648 002975A8 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8029A64C 002975AC 41 82 00 34 */ beq lbl_8029A680 +/* 8029A650 002975B0 80 82 BF D8 */ lwz r4, lbl_805ADCF8@sda21(r2) +/* 8029A654 002975B4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029A658 002975B8 4B D6 A6 61 */ bl string_l__4rstlFPCc +/* 8029A65C 002975BC 3C A0 00 06 */ lis r5, 0x00065AF0@ha +/* 8029A660 002975C0 3C C0 00 1E */ lis r6, 0x001E1DB0@ha +/* 8029A664 002975C4 7F 43 D3 78 */ mr r3, r26 +/* 8029A668 002975C8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8029A66C 002975CC 38 A5 5A F0 */ addi r5, r5, 0x00065AF0@l +/* 8029A670 002975D0 38 C6 1D B0 */ addi r6, r6, 0x001E1DB0@l +/* 8029A674 002975D4 3B 20 00 01 */ li r25, 1 +/* 8029A678 002975D8 48 0D 1C 61 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +/* 8029A67C 002975DC 7C 7A 1B 78 */ mr r26, r3 +lbl_8029A680: +/* 8029A680 002975E0 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A684 002975E4 38 80 00 01 */ li r4, 1 +/* 8029A688 002975E8 48 0D 1A D1 */ bl __dt__18CStaticAudioPlayer +/* 8029A68C 002975EC 7F 20 07 75 */ extsb. r0, r25 +/* 8029A690 002975F0 93 5F 00 CC */ stw r26, 0xcc(r31) +/* 8029A694 002975F4 41 82 00 0C */ beq lbl_8029A6A0 +/* 8029A698 002975F8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029A69C 002975FC 48 0A 34 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029A6A0: +/* 8029A6A0 00297600 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A6A4 00297604 48 0D 1A 61 */ bl IsReady__18CStaticAudioPlayer +/* 8029A6A8 00297608 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A6AC 0029760C 41 82 04 D8 */ beq lbl_8029AB84 +/* 8029A6B0 00297610 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029A6B4 00297614 7F E3 FB 78 */ mr r3, r31 +/* 8029A6B8 00297618 C0 24 00 58 */ lfs f1, 0x58(r4) +/* 8029A6BC 0029761C 4B FF E3 71 */ bl sub_80298a2c +/* 8029A6C0 00297620 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8029A6C4 00297624 48 0D 19 6D */ bl StartMixOut__18CStaticAudioPlayerFv +/* 8029A6C8 00297628 38 00 00 05 */ li r0, 5 +/* 8029A6CC 0029762C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_8029A6D0: +/* 8029A6D0 00297630 88 7F 01 34 */ lbz r3, 0x134(r31) +/* 8029A6D4 00297634 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8029A6D8 00297638 40 82 00 0C */ bne lbl_8029A6E4 +/* 8029A6DC 0029763C 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8029A6E0 00297640 41 82 00 84 */ beq lbl_8029A764 +lbl_8029A6E4: +/* 8029A6E4 00297644 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A6E8 00297648 C0 0D 99 D0 */ lfs f0, lbl_805A8590@sda21(r13) +/* 8029A6EC 0029764C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8029A6F0 00297650 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8029A6F4 00297654 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8029A6F8 00297658 40 80 00 0C */ bge lbl_8029A704 +/* 8029A6FC 0029765C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029A700 00297660 48 00 00 08 */ b lbl_8029A708 +lbl_8029A704: +/* 8029A704 00297664 38 6D 99 D0 */ addi r3, r13, lbl_805A8590@sda21 +lbl_8029A708: +/* 8029A708 00297668 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029A70C 0029766C C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A710 00297670 D0 3F 01 30 */ stfs f1, 0x130(r31) +/* 8029A714 00297674 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029A718 00297678 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A71C 0029767C 4C 40 13 82 */ cror 2, 0, 2 +/* 8029A720 00297680 40 82 00 44 */ bne lbl_8029A764 +/* 8029A724 00297684 88 9F 01 34 */ lbz r4, 0x134(r31) +/* 8029A728 00297688 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8029A72C 0029768C 41 82 00 14 */ beq lbl_8029A740 +/* 8029A730 00297690 38 00 00 01 */ li r0, 1 +/* 8029A734 00297694 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d +/* 8029A738 00297698 98 9F 01 34 */ stb r4, 0x134(r31) +/* 8029A73C 0029769C 48 00 00 28 */ b lbl_8029A764 +lbl_8029A740: +/* 8029A740 002976A0 38 60 00 00 */ li r3, 0 +/* 8029A744 002976A4 50 64 0F BC */ rlwimi r4, r3, 1, 0x1e, 0x1e +/* 8029A748 002976A8 98 9F 01 34 */ stb r4, 0x134(r31) +/* 8029A74C 002976AC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A750 002976B0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8029A754 002976B4 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029A758 002976B8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A75C 002976BC C0 03 00 58 */ lfs f0, 0x58(r3) +/* 8029A760 002976C0 D0 1F 01 30 */ stfs f0, 0x130(r31) +lbl_8029A764: +/* 8029A764 002976C4 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8029A768 002976C8 48 0A 66 A5 */ bl GetObj__6CTokenFv +/* 8029A76C 002976CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8029A770 002976D0 38 80 00 00 */ li r4, 0 +/* 8029A774 002976D4 48 0B AE C1 */ bl Touch__6CModelCFi +/* 8029A778 002976D8 7F E3 FB 78 */ mr r3, r31 +/* 8029A77C 002976DC 4B FF ED 79 */ bl sub_802994f4 +/* 8029A780 002976E0 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029A784 002976E4 38 80 00 00 */ li r4, 0 +/* 8029A788 002976E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029A78C 002976EC 41 82 00 24 */ beq lbl_8029A7B0 +/* 8029A790 002976F0 80 63 00 00 */ lwz r3, 0(r3) +/* 8029A794 002976F4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8029A798 002976F8 28 00 00 00 */ cmplwi r0, 0 +/* 8029A79C 002976FC 41 82 00 14 */ beq lbl_8029A7B0 +/* 8029A7A0 00297700 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 8029A7A4 00297704 28 00 00 00 */ cmplwi r0, 0 +/* 8029A7A8 00297708 41 82 00 08 */ beq lbl_8029A7B0 +/* 8029A7AC 0029770C 38 80 00 01 */ li r4, 1 +lbl_8029A7B0: +/* 8029A7B0 00297710 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8029A7B4 00297714 41 82 01 58 */ beq lbl_8029A90C +/* 8029A7B8 00297718 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A7BC 0029771C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 8029A7C0 00297720 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8029A7C4 00297724 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8029A7C8 00297728 40 81 00 EC */ ble lbl_8029A8B4 +/* 8029A7CC 0029772C 80 9F 00 90 */ lwz r4, 0x90(r31) +/* 8029A7D0 00297730 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8029A7D4 00297734 38 1F 00 68 */ addi r0, r31, 0x68 +/* 8029A7D8 00297738 90 9F 00 5C */ stw r4, 0x5c(r31) +/* 8029A7DC 0029773C 7C 03 00 40 */ cmplw r3, r0 +/* 8029A7E0 00297740 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 8029A7E4 00297744 90 1F 00 60 */ stw r0, 0x60(r31) +/* 8029A7E8 00297748 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8029A7EC 0029774C 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8029A7F0 00297750 41 82 00 48 */ beq lbl_8029A838 +/* 8029A7F4 00297754 88 1F 00 68 */ lbz r0, 0x68(r31) +/* 8029A7F8 00297758 28 00 00 00 */ cmplwi r0, 0 +/* 8029A7FC 0029775C 41 82 00 24 */ beq lbl_8029A820 +/* 8029A800 00297760 83 5F 00 6C */ lwz r26, 0x6c(r31) +/* 8029A804 00297764 28 1A 00 00 */ cmplwi r26, 0 +/* 8029A808 00297768 41 82 00 18 */ beq lbl_8029A820 +/* 8029A80C 0029776C 7F 43 D3 78 */ mr r3, r26 +/* 8029A810 00297770 38 80 00 00 */ li r4, 0 +/* 8029A814 00297774 48 0A 66 2D */ bl __dt__6CTokenFv +/* 8029A818 00297778 7F 43 D3 78 */ mr r3, r26 +/* 8029A81C 0029777C 48 07 B1 15 */ bl Free__7CMemoryFPCv +lbl_8029A820: +/* 8029A820 00297780 88 7F 00 9C */ lbz r3, 0x9c(r31) +/* 8029A824 00297784 38 00 00 00 */ li r0, 0 +/* 8029A828 00297788 98 7F 00 68 */ stb r3, 0x68(r31) +/* 8029A82C 0029778C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8029A830 00297790 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 8029A834 00297794 98 1F 00 9C */ stb r0, 0x9c(r31) +lbl_8029A838: +/* 8029A838 00297798 88 1F 00 A4 */ lbz r0, 0xa4(r31) +/* 8029A83C 0029779C 7F E3 FB 78 */ mr r3, r31 +/* 8029A840 002977A0 38 80 00 00 */ li r4, 0 +/* 8029A844 002977A4 98 1F 00 70 */ stb r0, 0x70(r31) +/* 8029A848 002977A8 80 BF 00 A8 */ lwz r5, 0xa8(r31) +/* 8029A84C 002977AC 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 8029A850 002977B0 90 BF 00 74 */ stw r5, 0x74(r31) +/* 8029A854 002977B4 90 1F 00 78 */ stw r0, 0x78(r31) +/* 8029A858 002977B8 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 8029A85C 002977BC 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8029A860 002977C0 90 BF 00 7C */ stw r5, 0x7c(r31) +/* 8029A864 002977C4 90 1F 00 80 */ stw r0, 0x80(r31) +/* 8029A868 002977C8 80 BF 00 B8 */ lwz r5, 0xb8(r31) +/* 8029A86C 002977CC 80 1F 00 BC */ lwz r0, 0xbc(r31) +/* 8029A870 002977D0 90 BF 00 84 */ stw r5, 0x84(r31) +/* 8029A874 002977D4 90 1F 00 88 */ stw r0, 0x88(r31) +/* 8029A878 002977D8 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 8029A87C 002977DC 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 8029A880 002977E0 4B FF E2 D5 */ bl sub_80298b54 +/* 8029A884 002977E4 7F E3 FB 78 */ mr r3, r31 +/* 8029A888 002977E8 38 80 00 00 */ li r4, 0 +/* 8029A88C 002977EC 4B FF E2 45 */ bl sub_80298ad0 +/* 8029A890 002977F0 C3 C2 C0 30 */ lfs f30, lbl_805ADD50@sda21(r2) +/* 8029A894 002977F4 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 +/* 8029A898 002977F8 38 7F 00 90 */ addi r3, r31, 0x90 +/* 8029A89C 002977FC 88 01 00 0A */ lbz r0, 0xa(r1) +/* 8029A8A0 00297800 98 1F 00 8F */ stb r0, 0x8f(r31) +/* 8029A8A4 00297804 4B FF D1 49 */ bl sub_802979ec +/* 8029A8A8 00297808 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A8AC 0029780C D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 8029A8B0 00297810 48 00 00 98 */ b lbl_8029A948 +lbl_8029A8B4: +/* 8029A8B4 00297814 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8029A8B8 00297818 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029A8BC 0029781C 38 6D 99 D4 */ addi r3, r13, lbl_805A8594@sda21 +/* 8029A8C0 00297820 38 AD 99 D8 */ addi r5, r13, lbl_805A8598@sda21 +/* 8029A8C4 00297824 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8029A8C8 00297828 4B D7 19 ED */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A8CC 0029782C C0 43 00 00 */ lfs f2, 0(r3) +/* 8029A8D0 00297830 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) +/* 8029A8D4 00297834 C0 22 C0 30 */ lfs f1, lbl_805ADD50@sda21(r2) +/* 8029A8D8 00297838 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8029A8DC 0029783C EF C1 00 32 */ fmuls f30, f1, f0 +/* 8029A8E0 00297840 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 8029A8E4 00297844 EF A1 00 B2 */ fmuls f29, f1, f2 +/* 8029A8E8 00297848 88 01 00 09 */ lbz r0, 9(r1) +/* 8029A8EC 0029784C 98 1F 00 8F */ stb r0, 0x8f(r31) +/* 8029A8F0 00297850 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 8029A8F4 00297854 88 01 00 08 */ lbz r0, 8(r1) +/* 8029A8F8 00297858 98 1F 00 C3 */ stb r0, 0xc3(r31) +/* 8029A8FC 0029785C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 8029A900 00297860 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A904 00297864 D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 8029A908 00297868 48 00 00 40 */ b lbl_8029A948 +lbl_8029A90C: +/* 8029A90C 0029786C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8029A910 00297870 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A914 00297874 FC 20 12 10 */ fabs f1, f2 +/* 8029A918 00297878 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 8029A91C 0029787C FC 20 08 18 */ frsp f1, f1 +/* 8029A920 00297880 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A924 00297884 40 81 00 24 */ ble lbl_8029A948 +/* 8029A928 00297888 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A92C 0029788C 7F E3 FB 78 */ mr r3, r31 +/* 8029A930 00297890 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8029A934 00297894 7C 00 00 26 */ mfcr r0 +/* 8029A938 00297898 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f +/* 8029A93C 0029789C 4B FF ED BD */ bl sub_802996f8 +/* 8029A940 002978A0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029A944 002978A4 D0 1F 00 50 */ stfs f0, 0x50(r31) +lbl_8029A948: +/* 8029A948 002978A8 7F E3 FB 78 */ mr r3, r31 +/* 8029A94C 002978AC 4B FF EB 4D */ bl sub_80299498 +/* 8029A950 002978B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029A954 002978B4 41 82 00 0C */ beq lbl_8029A960 +/* 8029A958 002978B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029A95C 002978BC 48 00 00 0C */ b lbl_8029A968 +lbl_8029A960: +/* 8029A960 002978C0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A964 002978C4 C0 23 00 4C */ lfs f1, 0x4c(r3) +lbl_8029A968: +/* 8029A968 002978C8 C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 8029A96C 002978CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029A970 002978D0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8029A974 002978D4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029A978 002978D8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A97C 002978DC 38 6D 99 DC */ addi r3, r13, lbl_805A859C@sda21 +/* 8029A980 002978E0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8029A984 002978E4 4B D7 19 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A988 002978E8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029A98C 002978EC D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 8029A990 002978F0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) +/* 8029A994 002978F4 C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 8029A998 002978F8 C0 03 00 4C */ lfs f0, 0x4c(r3) +/* 8029A99C 002978FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029A9A0 00297900 4C 41 13 82 */ cror 2, 1, 2 +/* 8029A9A4 00297904 40 82 00 14 */ bne lbl_8029A9B8 +/* 8029A9A8 00297908 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029A9AC 0029790C EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029A9B0 00297910 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 8029A9B4 00297914 48 00 00 10 */ b lbl_8029A9C4 +lbl_8029A9B8: +/* 8029A9B8 00297918 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8029A9BC 0029791C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8029A9C0 00297920 D0 1F 00 58 */ stfs f0, 0x58(r31) +lbl_8029A9C4: +/* 8029A9C4 00297924 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 8029A9C8 00297928 38 9F 00 58 */ addi r4, r31, 0x58 +/* 8029A9CC 0029792C 38 6D 99 E0 */ addi r3, r13, lbl_805A85A0@sda21 +/* 8029A9D0 00297930 38 A5 00 50 */ addi r5, r5, 0x50 +/* 8029A9D4 00297934 4B D7 18 E1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8029A9D8 00297938 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029A9DC 0029793C FC 20 F8 90 */ fmr f1, f31 +/* 8029A9E0 00297940 7F E3 FB 78 */ mr r3, r31 +/* 8029A9E4 00297944 D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 8029A9E8 00297948 4B FF E8 6D */ bl sub_80299254 +/* 8029A9EC 0029794C FC 20 F8 90 */ fmr f1, f31 +/* 8029A9F0 00297950 7F E3 FB 78 */ mr r3, r31 +/* 8029A9F4 00297954 4B FF DB 69 */ bl sub_8029855c +/* 8029A9F8 00297958 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029A9FC 0029795C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8029AA00 00297960 41 82 01 84 */ beq lbl_8029AB84 +/* 8029AA04 00297964 C0 3F 01 30 */ lfs f1, 0x130(r31) +/* 8029AA08 00297968 7F E3 FB 78 */ mr r3, r31 +/* 8029AA0C 0029796C 4B FF E0 21 */ bl sub_80298a2c +/* 8029AA10 00297970 48 00 01 74 */ b lbl_8029AB84 +lbl_8029AA14: +/* 8029AA14 00297974 7C 83 23 78 */ mr r3, r4 +/* 8029AA18 00297978 4B DB 70 CD */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage +/* 8029AA1C 0029797C 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha +/* 8029AA20 00297980 3C 80 80 3E */ lis r4, lbl_803D9810@ha +/* 8029AA24 00297984 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l +/* 8029AA28 00297988 90 01 00 90 */ stw r0, 0x90(r1) +/* 8029AA2C 0029798C 38 04 98 10 */ addi r0, r4, lbl_803D9810@l +/* 8029AA30 00297990 90 01 00 90 */ stw r0, 0x90(r1) +/* 8029AA34 00297994 C0 03 00 04 */ lfs f0, 4(r3) +/* 8029AA38 00297998 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8029AA3C 0029799C 80 03 00 08 */ lwz r0, 8(r3) +/* 8029AA40 002979A0 90 01 00 98 */ stw r0, 0x98(r1) +/* 8029AA44 002979A4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029AA48 002979A8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8029AA4C 002979AC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8029AA50 002979B0 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8029AA54 002979B4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8029AA58 002979B8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8029AA5C 002979BC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8029AA60 002979C0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8029AA64 002979C4 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8029AA68 002979C8 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8029AA6C 002979CC C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8029AA70 002979D0 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8029AA74 002979D4 88 03 00 24 */ lbz r0, 0x24(r3) +/* 8029AA78 002979D8 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 8029AA7C 002979DC 88 03 00 25 */ lbz r0, 0x25(r3) +/* 8029AA80 002979E0 98 01 00 B5 */ stb r0, 0xb5(r1) +/* 8029AA84 002979E4 88 03 00 26 */ lbz r0, 0x26(r3) +/* 8029AA88 002979E8 98 01 00 B6 */ stb r0, 0xb6(r1) +/* 8029AA8C 002979EC 88 03 00 27 */ lbz r0, 0x27(r3) +/* 8029AA90 002979F0 98 01 00 B7 */ stb r0, 0xb7(r1) +/* 8029AA94 002979F4 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8029AA98 002979F8 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8029AA9C 002979FC C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 8029AAA0 00297A00 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8029AAA4 00297A04 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8029AAA8 00297A08 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 8029AAAC 00297A0C 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8029AAB0 00297A10 98 01 00 C1 */ stb r0, 0xc1(r1) +/* 8029AAB4 00297A14 88 03 00 32 */ lbz r0, 0x32(r3) +/* 8029AAB8 00297A18 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AABC 00297A1C 98 01 00 C2 */ stb r0, 0xc2(r1) +/* 8029AAC0 00297A20 4B D8 0F 25 */ bl GetUserInput__21CArchMsgParmUserInputCFv +/* 8029AAC4 00297A24 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029AAC8 00297A28 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8029AACC 00297A2C 80 03 00 04 */ lwz r0, 4(r3) +/* 8029AAD0 00297A30 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029AAD4 00297A34 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AAD8 00297A38 C0 03 00 08 */ lfs f0, 8(r3) +/* 8029AADC 00297A3C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8029AAE0 00297A40 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029AAE4 00297A44 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8029AAE8 00297A48 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8029AAEC 00297A4C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8029AAF0 00297A50 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8029AAF4 00297A54 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8029AAF8 00297A58 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8029AAFC 00297A5C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8029AB00 00297A60 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8029AB04 00297A64 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8029AB08 00297A68 88 03 00 20 */ lbz r0, 0x20(r3) +/* 8029AB0C 00297A6C 98 01 00 80 */ stb r0, 0x80(r1) +/* 8029AB10 00297A70 88 03 00 21 */ lbz r0, 0x21(r3) +/* 8029AB14 00297A74 98 01 00 81 */ stb r0, 0x81(r1) +/* 8029AB18 00297A78 88 03 00 22 */ lbz r0, 0x22(r3) +/* 8029AB1C 00297A7C 98 01 00 82 */ stb r0, 0x82(r1) +/* 8029AB20 00297A80 88 03 00 23 */ lbz r0, 0x23(r3) +/* 8029AB24 00297A84 98 01 00 83 */ stb r0, 0x83(r1) +/* 8029AB28 00297A88 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 8029AB2C 00297A8C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8029AB30 00297A90 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8029AB34 00297A94 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8029AB38 00297A98 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 8029AB3C 00297A9C 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8029AB40 00297AA0 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 8029AB44 00297AA4 98 01 00 8D */ stb r0, 0x8d(r1) +/* 8029AB48 00297AA8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8029AB4C 00297AAC 98 01 00 8E */ stb r0, 0x8e(r1) +/* 8029AB50 00297AB0 40 82 00 28 */ bne lbl_8029AB78 +/* 8029AB54 00297AB4 7F E3 FB 78 */ mr r3, r31 +/* 8029AB58 00297AB8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8029AB5C 00297ABC 4B FF ED 09 */ bl ProcessUserInput__10CSlideShowFRC11CFinalInput +/* 8029AB60 00297AC0 7C 7B 1B 78 */ mr r27, r3 +/* 8029AB64 00297AC4 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AB68 00297AC8 38 80 FF FF */ li r4, -1 +/* 8029AB6C 00297ACC 4B D8 0E 81 */ bl __dt__21CArchMsgParmUserInputFv +/* 8029AB70 00297AD0 7F 63 DB 78 */ mr r3, r27 +/* 8029AB74 00297AD4 48 00 00 14 */ b lbl_8029AB88 +lbl_8029AB78: +/* 8029AB78 00297AD8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8029AB7C 00297ADC 38 80 FF FF */ li r4, -1 +/* 8029AB80 00297AE0 4B D8 0E 6D */ bl __dt__21CArchMsgParmUserInputFv +lbl_8029AB84: +/* 8029AB84 00297AE4 38 60 00 01 */ li r3, 1 +lbl_8029AB88: +/* 8029AB88 00297AE8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8029AB8C 00297AEC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8029AB90 00297AF0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8029AB94 00297AF4 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8029AB98 00297AF8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8029AB9C 00297AFC CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8029ABA0 00297B00 BB 21 00 D4 */ lmw r25, 0xd4(r1) +/* 8029ABA4 00297B04 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8029ABA8 00297B08 7C 08 03 A6 */ mtlr r0 +/* 8029ABAC 00297B0C 38 21 01 20 */ addi r1, r1, 0x120 +/* 8029ABB0 00297B10 4E 80 00 20 */ blr + +.global sub_8029abb4 +sub_8029abb4: +/* 8029ABB4 00297B14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029ABB8 00297B18 7C 08 02 A6 */ mflr r0 +/* 8029ABBC 00297B1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029ABC0 00297B20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029ABC4 00297B24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029ABC8 00297B28 7C 7E 1B 78 */ mr r30, r3 +/* 8029ABCC 00297B2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029ABD0 00297B30 81 83 00 00 */ lwz r12, 0(r3) +/* 8029ABD4 00297B34 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029ABD8 00297B38 7D 89 03 A6 */ mtctr r12 +/* 8029ABDC 00297B3C 4E 80 04 21 */ bctrl +/* 8029ABE0 00297B40 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8029ABE4 00297B44 41 82 00 C4 */ beq lbl_8029ACA8 +/* 8029ABE8 00297B48 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029ABEC 00297B4C 3C 03 BB B9 */ addis r0, r3, 0xbbb9 +/* 8029ABF0 00297B50 28 00 52 50 */ cmplwi r0, 0x5250 +/* 8029ABF4 00297B54 40 82 00 B4 */ bne lbl_8029ACA8 +/* 8029ABF8 00297B58 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8029ABFC 00297B5C 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8029AC00 00297B60 38 83 00 01 */ addi r4, r3, 1 +/* 8029AC04 00297B64 7C 04 00 00 */ cmpw r4, r0 +/* 8029AC08 00297B68 40 81 00 0C */ ble lbl_8029AC14 +/* 8029AC0C 00297B6C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8029AC10 00297B70 4B E6 FB FD */ bl sub_8010a80c +lbl_8029AC14: +/* 8029AC14 00297B74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029AC18 00297B78 7F E5 FB 78 */ mr r5, r31 +/* 8029AC1C 00297B7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029AC20 00297B80 81 84 00 00 */ lwz r12, 0(r4) +/* 8029AC24 00297B84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029AC28 00297B88 7D 89 03 A6 */ mtctr r12 +/* 8029AC2C 00297B8C 4E 80 04 21 */ bctrl +/* 8029AC30 00297B90 38 61 00 08 */ addi r3, r1, 8 +/* 8029AC34 00297B94 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029AC38 00297B98 48 0A 62 71 */ bl __ct__6CTokenFRC6CToken +/* 8029AC3C 00297B9C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029AC40 00297BA0 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8029AC44 00297BA4 7C 00 28 00 */ cmpw r0, r5 +/* 8029AC48 00297BA8 41 80 00 1C */ blt lbl_8029AC64 +/* 8029AC4C 00297BAC 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AC50 00297BB0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8029AC54 00297BB4 38 80 00 04 */ li r4, 4 +/* 8029AC58 00297BB8 41 82 00 08 */ beq lbl_8029AC60 +/* 8029AC5C 00297BBC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AC60: +/* 8029AC60 00297BC0 4B E6 FB AD */ bl sub_8010a80c +lbl_8029AC64: +/* 8029AC64 00297BC4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029AC68 00297BC8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8029AC6C 00297BCC 54 00 18 38 */ slwi r0, r0, 3 +/* 8029AC70 00297BD0 7C 63 02 15 */ add. r3, r3, r0 +/* 8029AC74 00297BD4 41 82 00 0C */ beq lbl_8029AC80 +/* 8029AC78 00297BD8 38 81 00 08 */ addi r4, r1, 8 +/* 8029AC7C 00297BDC 48 0A 62 2D */ bl __ct__6CTokenFRC6CToken +lbl_8029AC80: +/* 8029AC80 00297BE0 80 BE 00 1C */ lwz r5, 0x1c(r30) +/* 8029AC84 00297BE4 38 61 00 08 */ addi r3, r1, 8 +/* 8029AC88 00297BE8 38 80 00 00 */ li r4, 0 +/* 8029AC8C 00297BEC 38 05 00 01 */ addi r0, r5, 1 +/* 8029AC90 00297BF0 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8029AC94 00297BF4 48 0A 61 AD */ bl __dt__6CTokenFv +/* 8029AC98 00297BF8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029AC9C 00297BFC 38 80 FF FF */ li r4, -1 +/* 8029ACA0 00297C00 48 0A 61 A1 */ bl __dt__6CTokenFv +/* 8029ACA4 00297C04 48 00 00 0C */ b lbl_8029ACB0 +lbl_8029ACA8: +/* 8029ACA8 00297C08 38 60 00 00 */ li r3, 0 +/* 8029ACAC 00297C0C 48 00 00 08 */ b lbl_8029ACB4 +lbl_8029ACB0: +/* 8029ACB0 00297C10 38 60 00 01 */ li r3, 1 +lbl_8029ACB4: +/* 8029ACB4 00297C14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029ACB8 00297C18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029ACBC 00297C1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029ACC0 00297C20 7C 08 03 A6 */ mtlr r0 +/* 8029ACC4 00297C24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029ACC8 00297C28 4E 80 00 20 */ blr + +.global sub_8029accc +sub_8029accc: +/* 8029ACCC 00297C2C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8029ACD0 00297C30 7C 08 02 A6 */ mflr r0 +/* 8029ACD4 00297C34 90 01 00 84 */ stw r0, 0x84(r1) +/* 8029ACD8 00297C38 BE C1 00 58 */ stmw r22, 0x58(r1) +/* 8029ACDC 00297C3C 7C 98 23 78 */ mr r24, r4 +/* 8029ACE0 00297C40 7C 77 1B 78 */ mr r23, r3 +/* 8029ACE4 00297C44 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 8029ACE8 00297C48 38 77 00 28 */ addi r3, r23, 0x28 +/* 8029ACEC 00297C4C 3B 64 FF FF */ addi r27, r4, -1 +/* 8029ACF0 00297C50 7F 64 DB 78 */ mr r4, r27 +/* 8029ACF4 00297C54 48 00 14 F5 */ bl sub_8029c1e8 +/* 8029ACF8 00297C58 80 17 00 24 */ lwz r0, 0x24(r23) +/* 8029ACFC 00297C5C 3B 81 00 48 */ addi r28, r1, 0x48 +/* 8029AD00 00297C60 3B 40 00 00 */ li r26, 0 +/* 8029AD04 00297C64 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029AD08 00297C68 48 00 02 40 */ b lbl_8029AF48 +lbl_8029AD0C: +/* 8029AD0C 00297C6C 38 00 00 01 */ li r0, 1 +/* 8029AD10 00297C70 7C 00 D0 30 */ slw r0, r0, r26 +/* 8029AD14 00297C74 7F 00 00 39 */ and. r0, r24, r0 +/* 8029AD18 00297C78 40 82 00 28 */ bne lbl_8029AD40 +/* 8029AD1C 00297C7C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8029AD20 00297C80 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029AD24 00297C84 38 97 00 18 */ addi r4, r23, 0x18 +/* 8029AD28 00297C88 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8029AD2C 00297C8C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029AD30 00297C90 48 00 03 71 */ bl sub_8029b0a0 +/* 8029AD34 00297C94 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8029AD38 00297C98 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029AD3C 00297C9C 48 00 02 08 */ b lbl_8029AF44 +lbl_8029AD40: +/* 8029AD40 00297CA0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8029AD44 00297CA4 48 0A 60 C9 */ bl GetObj__6CTokenFv +/* 8029AD48 00297CA8 80 63 00 04 */ lwz r3, 4(r3) +/* 8029AD4C 00297CAC 38 00 00 00 */ li r0, 0 +/* 8029AD50 00297CB0 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AD54 00297CB4 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029AD58 00297CB8 83 C3 00 04 */ lwz r30, 4(r3) +/* 8029AD5C 00297CBC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8029AD60 00297CC0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8029AD64 00297CC4 93 41 00 44 */ stw r26, 0x44(r1) +/* 8029AD68 00297CC8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8029AD6C 00297CCC 90 01 00 50 */ stw r0, 0x50(r1) +/* 8029AD70 00297CD0 40 82 00 10 */ bne lbl_8029AD80 +/* 8029AD74 00297CD4 40 82 00 0C */ bne lbl_8029AD80 +/* 8029AD78 00297CD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029AD7C 00297CDC 48 00 00 68 */ b lbl_8029ADE4 +lbl_8029AD80: +/* 8029AD80 00297CE0 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8029AD84 00297CE4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029AD88 00297CE8 40 82 00 10 */ bne lbl_8029AD98 +/* 8029AD8C 00297CEC 38 00 00 00 */ li r0, 0 +/* 8029AD90 00297CF0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029AD94 00297CF4 48 00 00 1C */ b lbl_8029ADB0 +lbl_8029AD98: +/* 8029AD98 00297CF8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029AD9C 00297CFC 38 A0 00 00 */ li r5, 0 +/* 8029ADA0 00297D00 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029ADA4 00297D04 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029ADA8 00297D08 48 07 AA 71 */ bl __nwa__FUlPCcPCc +/* 8029ADAC 00297D0C 90 61 00 54 */ stw r3, 0x54(r1) +lbl_8029ADB0: +/* 8029ADB0 00297D10 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8029ADB4 00297D14 80 81 00 40 */ lwz r4, 0x40(r1) +/* 8029ADB8 00297D18 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8029ADBC 00297D1C 7C 09 03 A6 */ mtctr r0 +/* 8029ADC0 00297D20 2C 00 00 00 */ cmpwi r0, 0 +/* 8029ADC4 00297D24 40 81 00 20 */ ble lbl_8029ADE4 +lbl_8029ADC8: +/* 8029ADC8 00297D28 28 03 00 00 */ cmplwi r3, 0 +/* 8029ADCC 00297D2C 41 82 00 0C */ beq lbl_8029ADD8 +/* 8029ADD0 00297D30 80 04 00 00 */ lwz r0, 0(r4) +/* 8029ADD4 00297D34 90 03 00 00 */ stw r0, 0(r3) +lbl_8029ADD8: +/* 8029ADD8 00297D38 38 63 00 04 */ addi r3, r3, 4 +/* 8029ADDC 00297D3C 38 84 00 04 */ addi r4, r4, 4 +/* 8029ADE0 00297D40 42 00 FF E8 */ bdnz lbl_8029ADC8 +lbl_8029ADE4: +/* 8029ADE4 00297D44 38 77 00 28 */ addi r3, r23, 0x28 +/* 8029ADE8 00297D48 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029ADEC 00297D4C 48 00 01 95 */ bl sub_8029af80 +/* 8029ADF0 00297D50 28 1C 00 00 */ cmplwi r28, 0 +/* 8029ADF4 00297D54 41 82 00 44 */ beq lbl_8029AE38 +/* 8029ADF8 00297D58 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8029ADFC 00297D5C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8029AE00 00297D60 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AE04 00297D64 7C 03 02 14 */ add r0, r3, r0 +/* 8029AE08 00297D68 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029AE0C 00297D6C 7C 64 1B 78 */ mr r4, r3 +/* 8029AE10 00297D70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029AE14 00297D74 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029AE18 00297D78 90 61 00 08 */ stw r3, 8(r1) +/* 8029AE1C 00297D7C 48 00 00 08 */ b lbl_8029AE24 +lbl_8029AE20: +/* 8029AE20 00297D80 38 84 00 04 */ addi r4, r4, 4 +lbl_8029AE24: +/* 8029AE24 00297D84 7C 04 00 40 */ cmplw r4, r0 +/* 8029AE28 00297D88 40 82 FF F8 */ bne lbl_8029AE20 +/* 8029AE2C 00297D8C 28 03 00 00 */ cmplwi r3, 0 +/* 8029AE30 00297D90 41 82 00 08 */ beq lbl_8029AE38 +/* 8029AE34 00297D94 48 07 AA FD */ bl Free__7CMemoryFPCv +lbl_8029AE38: +/* 8029AE38 00297D98 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8029AE3C 00297D9C 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8029AE40 00297DA0 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AE44 00297DA4 7C 03 02 14 */ add r0, r3, r0 +/* 8029AE48 00297DA8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8029AE4C 00297DAC 7C 64 1B 78 */ mr r4, r3 +/* 8029AE50 00297DB0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029AE54 00297DB4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029AE58 00297DB8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8029AE5C 00297DBC 48 00 00 08 */ b lbl_8029AE64 +lbl_8029AE60: +/* 8029AE60 00297DC0 38 84 00 04 */ addi r4, r4, 4 +lbl_8029AE64: +/* 8029AE64 00297DC4 7C 04 00 40 */ cmplw r4, r0 +/* 8029AE68 00297DC8 40 82 FF F8 */ bne lbl_8029AE60 +/* 8029AE6C 00297DCC 28 03 00 00 */ cmplwi r3, 0 +/* 8029AE70 00297DD0 41 82 00 08 */ beq lbl_8029AE78 +/* 8029AE74 00297DD4 48 07 AA BD */ bl Free__7CMemoryFPCv +lbl_8029AE78: +/* 8029AE78 00297DD8 80 77 00 2C */ lwz r3, 0x2c(r23) +/* 8029AE7C 00297DDC 7F C4 F3 78 */ mr r4, r30 +/* 8029AE80 00297DE0 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 8029AE84 00297DE4 38 03 FF FF */ addi r0, r3, -1 +/* 8029AE88 00297DE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029AE8C 00297DEC 7F A5 02 14 */ add r29, r5, r0 +/* 8029AE90 00297DF0 38 7D 00 04 */ addi r3, r29, 4 +/* 8029AE94 00297DF4 48 00 12 65 */ bl sub_8029c0f8 +/* 8029AE98 00297DF8 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029AE9C 00297DFC 3B 20 00 00 */ li r25, 0 +/* 8029AEA0 00297E00 3B E3 5C 48 */ addi r31, r3, lbl_803D5C48@l +/* 8029AEA4 00297E04 48 00 00 8C */ b lbl_8029AF30 +lbl_8029AEA8: +/* 8029AEA8 00297E08 7F E4 FB 78 */ mr r4, r31 +/* 8029AEAC 00297E0C 7F 45 D3 78 */ mr r5, r26 +/* 8029AEB0 00297E10 7F 26 CB 78 */ mr r6, r25 +/* 8029AEB4 00297E14 38 7F 00 EE */ addi r3, r31, 0xee +/* 8029AEB8 00297E18 4C C6 31 82 */ crclr 6 +/* 8029AEBC 00297E1C 48 03 B2 F5 */ bl Stringize__7CBasicsFPCce +/* 8029AEC0 00297E20 7C 60 1B 78 */ mr r0, r3 +/* 8029AEC4 00297E24 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029AEC8 00297E28 7C 04 03 78 */ mr r4, r0 +/* 8029AECC 00297E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8029AED0 00297E30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029AED4 00297E34 7D 89 03 A6 */ mtctr r12 +/* 8029AED8 00297E38 4E 80 04 21 */ bctrl +/* 8029AEDC 00297E3C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029AEE0 00297E40 7C 76 1B 78 */ mr r22, r3 +/* 8029AEE4 00297E44 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 8029AEE8 00297E48 7C 00 28 00 */ cmpw r0, r5 +/* 8029AEEC 00297E4C 41 80 00 1C */ blt lbl_8029AF08 +/* 8029AEF0 00297E50 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AEF4 00297E54 38 7D 00 04 */ addi r3, r29, 4 +/* 8029AEF8 00297E58 38 80 00 04 */ li r4, 4 +/* 8029AEFC 00297E5C 41 82 00 08 */ beq lbl_8029AF04 +/* 8029AF00 00297E60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AF04: +/* 8029AF04 00297E64 48 00 11 F5 */ bl sub_8029c0f8 +lbl_8029AF08: +/* 8029AF08 00297E68 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029AF0C 00297E6C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8029AF10 00297E70 54 00 10 3A */ slwi r0, r0, 2 +/* 8029AF14 00297E74 7C 63 02 15 */ add. r3, r3, r0 +/* 8029AF18 00297E78 41 82 00 08 */ beq lbl_8029AF20 +/* 8029AF1C 00297E7C 92 C3 00 00 */ stw r22, 0(r3) +lbl_8029AF20: +/* 8029AF20 00297E80 80 7D 00 08 */ lwz r3, 8(r29) +/* 8029AF24 00297E84 3B 39 00 01 */ addi r25, r25, 1 +/* 8029AF28 00297E88 38 03 00 01 */ addi r0, r3, 1 +/* 8029AF2C 00297E8C 90 1D 00 08 */ stw r0, 8(r29) +lbl_8029AF30: +/* 8029AF30 00297E90 7C 19 F0 00 */ cmpw r25, r30 +/* 8029AF34 00297E94 41 80 FF 74 */ blt lbl_8029AEA8 +/* 8029AF38 00297E98 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8029AF3C 00297E9C 38 03 00 08 */ addi r0, r3, 8 +/* 8029AF40 00297EA0 90 01 00 30 */ stw r0, 0x30(r1) +lbl_8029AF44: +/* 8029AF44 00297EA4 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8029AF48: +/* 8029AF48 00297EA8 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 8029AF4C 00297EAC 80 77 00 24 */ lwz r3, 0x24(r23) +/* 8029AF50 00297EB0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029AF54 00297EB4 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8029AF58 00297EB8 7C 03 02 14 */ add r0, r3, r0 +/* 8029AF5C 00297EBC 7C 04 00 40 */ cmplw r4, r0 +/* 8029AF60 00297EC0 41 82 00 0C */ beq lbl_8029AF6C +/* 8029AF64 00297EC4 7C 1A D8 00 */ cmpw r26, r27 +/* 8029AF68 00297EC8 41 80 FD A4 */ blt lbl_8029AD0C +lbl_8029AF6C: +/* 8029AF6C 00297ECC BA C1 00 58 */ lmw r22, 0x58(r1) +/* 8029AF70 00297ED0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8029AF74 00297ED4 7C 08 03 A6 */ mtlr r0 +/* 8029AF78 00297ED8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8029AF7C 00297EDC 4E 80 00 20 */ blr + +.global sub_8029af80 +sub_8029af80: +/* 8029AF80 00297EE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029AF84 00297EE4 7C 08 02 A6 */ mflr r0 +/* 8029AF88 00297EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029AF8C 00297EEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029AF90 00297EF0 7C 9F 23 78 */ mr r31, r4 +/* 8029AF94 00297EF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029AF98 00297EF8 7C 7E 1B 78 */ mr r30, r3 +/* 8029AF9C 00297EFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029AFA0 00297F00 80 03 00 04 */ lwz r0, 4(r3) +/* 8029AFA4 00297F04 80 A3 00 08 */ lwz r5, 8(r3) +/* 8029AFA8 00297F08 7C 00 28 00 */ cmpw r0, r5 +/* 8029AFAC 00297F0C 41 80 00 18 */ blt lbl_8029AFC4 +/* 8029AFB0 00297F10 2C 05 00 00 */ cmpwi r5, 0 +/* 8029AFB4 00297F14 38 80 00 04 */ li r4, 4 +/* 8029AFB8 00297F18 41 82 00 08 */ beq lbl_8029AFC0 +/* 8029AFBC 00297F1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029AFC0: +/* 8029AFC0 00297F20 48 00 12 29 */ bl sub_8029c1e8 +lbl_8029AFC4: +/* 8029AFC4 00297F24 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029AFC8 00297F28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029AFCC 00297F2C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029AFD0 00297F30 7F A3 02 15 */ add. r29, r3, r0 +/* 8029AFD4 00297F34 41 82 00 A4 */ beq lbl_8029B078 +/* 8029AFD8 00297F38 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029AFDC 00297F3C 90 1D 00 00 */ stw r0, 0(r29) +/* 8029AFE0 00297F40 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029AFE4 00297F44 90 1D 00 08 */ stw r0, 8(r29) +/* 8029AFE8 00297F48 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029AFEC 00297F4C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8029AFF0 00297F50 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029AFF4 00297F54 2C 00 00 00 */ cmpwi r0, 0 +/* 8029AFF8 00297F58 40 82 00 1C */ bne lbl_8029B014 +/* 8029AFFC 00297F5C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029B000 00297F60 2C 00 00 00 */ cmpwi r0, 0 +/* 8029B004 00297F64 40 82 00 10 */ bne lbl_8029B014 +/* 8029B008 00297F68 38 00 00 00 */ li r0, 0 +/* 8029B00C 00297F6C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029B010 00297F70 48 00 00 68 */ b lbl_8029B078 +lbl_8029B014: +/* 8029B014 00297F74 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029B018 00297F78 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029B01C 00297F7C 40 82 00 10 */ bne lbl_8029B02C +/* 8029B020 00297F80 38 00 00 00 */ li r0, 0 +/* 8029B024 00297F84 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029B028 00297F88 48 00 00 1C */ b lbl_8029B044 +lbl_8029B02C: +/* 8029B02C 00297F8C 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B030 00297F90 38 A0 00 00 */ li r5, 0 +/* 8029B034 00297F94 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B038 00297F98 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029B03C 00297F9C 48 07 A7 DD */ bl __nwa__FUlPCcPCc +/* 8029B040 00297FA0 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_8029B044: +/* 8029B044 00297FA4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029B048 00297FA8 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8029B04C 00297FAC 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8029B050 00297FB0 7C 09 03 A6 */ mtctr r0 +/* 8029B054 00297FB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8029B058 00297FB8 40 81 00 20 */ ble lbl_8029B078 +lbl_8029B05C: +/* 8029B05C 00297FBC 28 03 00 00 */ cmplwi r3, 0 +/* 8029B060 00297FC0 41 82 00 0C */ beq lbl_8029B06C +/* 8029B064 00297FC4 80 04 00 00 */ lwz r0, 0(r4) +/* 8029B068 00297FC8 90 03 00 00 */ stw r0, 0(r3) +lbl_8029B06C: +/* 8029B06C 00297FCC 38 63 00 04 */ addi r3, r3, 4 +/* 8029B070 00297FD0 38 84 00 04 */ addi r4, r4, 4 +/* 8029B074 00297FD4 42 00 FF E8 */ bdnz lbl_8029B05C +lbl_8029B078: +/* 8029B078 00297FD8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8029B07C 00297FDC 38 03 00 01 */ addi r0, r3, 1 +/* 8029B080 00297FE0 90 1E 00 04 */ stw r0, 4(r30) +/* 8029B084 00297FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B088 00297FE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029B08C 00297FEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029B090 00297FF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B094 00297FF4 7C 08 03 A6 */ mtlr r0 +/* 8029B098 00297FF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B09C 00297FFC 4E 80 00 20 */ blr + +.global sub_8029b0a0 +sub_8029b0a0: +/* 8029B0A0 00298000 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B0A4 00298004 7C 08 02 A6 */ mflr r0 +/* 8029B0A8 00298008 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B0AC 0029800C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029B0B0 00298010 7C 7F 1B 78 */ mr r31, r3 +/* 8029B0B4 00298014 80 C5 00 00 */ lwz r6, 0(r5) +/* 8029B0B8 00298018 80 05 00 00 */ lwz r0, 0(r5) +/* 8029B0BC 0029801C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8029B0C0 00298020 38 E6 00 08 */ addi r7, r6, 8 +/* 8029B0C4 00298024 38 C1 00 0C */ addi r6, r1, 0xc +/* 8029B0C8 00298028 90 E1 00 08 */ stw r7, 8(r1) +/* 8029B0CC 0029802C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8029B0D0 00298030 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B0D4 00298034 48 00 00 19 */ bl sub_8029b0ec +/* 8029B0D8 00298038 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B0DC 0029803C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B0E0 00298040 7C 08 03 A6 */ mtlr r0 +/* 8029B0E4 00298044 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B0E8 00298048 4E 80 00 20 */ blr + +.global sub_8029b0ec +sub_8029b0ec: +/* 8029B0EC 0029804C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029B0F0 00298050 7C 08 02 A6 */ mflr r0 +/* 8029B0F4 00298054 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029B0F8 00298058 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8029B0FC 0029805C 7C BF 2B 78 */ mr r31, r5 +/* 8029B100 00298060 7C DA 33 78 */ mr r26, r6 +/* 8029B104 00298064 7C 7D 1B 78 */ mr r29, r3 +/* 8029B108 00298068 7C 9E 23 78 */ mr r30, r4 +/* 8029B10C 0029806C 83 65 00 00 */ lwz r27, 0(r5) +/* 8029B110 00298070 83 86 00 00 */ lwz r28, 0(r6) +/* 8029B114 00298074 93 61 00 0C */ stw r27, 0xc(r1) +/* 8029B118 00298078 93 81 00 08 */ stw r28, 8(r1) +/* 8029B11C 0029807C 48 00 00 1C */ b lbl_8029B138 +lbl_8029B120: +/* 8029B120 00298080 28 1B 00 00 */ cmplwi r27, 0 +/* 8029B124 00298084 41 82 00 10 */ beq lbl_8029B134 +/* 8029B128 00298088 7F 63 DB 78 */ mr r3, r27 +/* 8029B12C 0029808C 38 80 00 00 */ li r4, 0 +/* 8029B130 00298090 48 0A 5D 11 */ bl __dt__6CTokenFv +lbl_8029B134: +/* 8029B134 00298094 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8029B138: +/* 8029B138 00298098 7C 1B E0 40 */ cmplw r27, r28 +/* 8029B13C 0029809C 40 82 FF E4 */ bne lbl_8029B120 +/* 8029B140 002980A0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8029B144 002980A4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029B148 002980A8 83 7A 00 00 */ lwz r27, 0(r26) +/* 8029B14C 002980AC 7C 04 00 50 */ subf r0, r4, r0 +/* 8029B150 002980B0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8029B154 002980B4 7C 60 01 94 */ addze r3, r0 +/* 8029B158 002980B8 54 60 18 38 */ slwi r0, r3, 3 +/* 8029B15C 002980BC 7C 7A 1B 78 */ mr r26, r3 +/* 8029B160 002980C0 7F 84 02 14 */ add r28, r4, r0 +/* 8029B164 002980C4 48 00 00 38 */ b lbl_8029B19C +lbl_8029B168: +/* 8029B168 002980C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8029B16C 002980CC 41 82 00 10 */ beq lbl_8029B17C +/* 8029B170 002980D0 7F 83 E3 78 */ mr r3, r28 +/* 8029B174 002980D4 7F 64 DB 78 */ mr r4, r27 +/* 8029B178 002980D8 48 0A 5D 31 */ bl __ct__6CTokenFRC6CToken +lbl_8029B17C: +/* 8029B17C 002980DC 28 1B 00 00 */ cmplwi r27, 0 +/* 8029B180 002980E0 41 82 00 10 */ beq lbl_8029B190 +/* 8029B184 002980E4 7F 63 DB 78 */ mr r3, r27 +/* 8029B188 002980E8 38 80 00 00 */ li r4, 0 +/* 8029B18C 002980EC 48 0A 5C B5 */ bl __dt__6CTokenFv +lbl_8029B190: +/* 8029B190 002980F0 3B 9C 00 08 */ addi r28, r28, 8 +/* 8029B194 002980F4 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029B198 002980F8 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8029B19C: +/* 8029B19C 002980FC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029B1A0 00298100 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029B1A4 00298104 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B1A8 00298108 7C 03 02 14 */ add r0, r3, r0 +/* 8029B1AC 0029810C 7C 1B 00 40 */ cmplw r27, r0 +/* 8029B1B0 00298110 40 82 FF B8 */ bne lbl_8029B168 +/* 8029B1B4 00298114 93 5E 00 04 */ stw r26, 4(r30) +/* 8029B1B8 00298118 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029B1BC 0029811C 90 1D 00 00 */ stw r0, 0(r29) +/* 8029B1C0 00298120 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8029B1C4 00298124 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029B1C8 00298128 7C 08 03 A6 */ mtlr r0 +/* 8029B1CC 0029812C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029B1D0 00298130 4E 80 00 20 */ blr + +.global SlideShowGalleryFlags__10CSlideShowFv +SlideShowGalleryFlags__10CSlideShowFv: +/* 8029B1D4 00298134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029B1D8 00298138 7C 08 02 A6 */ mflr r0 +/* 8029B1DC 0029813C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B1E0 00298140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B1E4 00298144 3B E0 00 00 */ li r31, 0 +/* 8029B1E8 00298148 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8029B1EC 0029814C 28 03 00 00 */ cmplwi r3, 0 +/* 8029B1F0 00298150 41 82 00 48 */ beq lbl_8029B238 +/* 8029B1F4 00298154 38 63 00 A8 */ addi r3, r3, 0xa8 +/* 8029B1F8 00298158 4B F3 A0 11 */ bl GetLogScanCount__14CSystemOptionsFv +/* 8029B1FC 0029815C 2C 03 00 32 */ cmpwi r3, 0x32 +/* 8029B200 00298160 41 80 00 08 */ blt lbl_8029B208 +/* 8029B204 00298164 63 FF 00 01 */ ori r31, r31, 1 +lbl_8029B208: +/* 8029B208 00298168 2C 03 00 64 */ cmpwi r3, 0x64 +/* 8029B20C 0029816C 40 82 00 08 */ bne lbl_8029B214 +/* 8029B210 00298170 63 FF 00 02 */ ori r31, r31, 2 +lbl_8029B214: +/* 8029B214 00298174 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 8029B218 00298178 88 03 01 78 */ lbz r0, 0x178(r3) +/* 8029B21C 0029817C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8029B220 00298180 41 82 00 08 */ beq lbl_8029B228 +/* 8029B224 00298184 63 FF 00 04 */ ori r31, r31, 4 +lbl_8029B228: +/* 8029B228 00298188 88 03 01 78 */ lbz r0, 0x178(r3) +/* 8029B22C 0029818C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8029B230 00298190 41 82 00 08 */ beq lbl_8029B238 +/* 8029B234 00298194 63 FF 00 08 */ ori r31, r31, 8 +lbl_8029B238: +/* 8029B238 00298198 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029B23C 0029819C 7F E3 FB 78 */ mr r3, r31 +/* 8029B240 002981A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029B244 002981A4 7C 08 03 A6 */ mtlr r0 +/* 8029B248 002981A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029B24C 002981AC 4E 80 00 20 */ blr + +.global __dt__10CSlideShowFv +__dt__10CSlideShowFv: +/* 8029B250 002981B0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029B254 002981B4 7C 08 02 A6 */ mflr r0 +/* 8029B258 002981B8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029B25C 002981BC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8029B260 002981C0 7C 9F 23 78 */ mr r31, r4 +/* 8029B264 002981C4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8029B268 002981C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029B26C 002981CC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8029B270 002981D0 93 81 00 50 */ stw r28, 0x50(r1) +/* 8029B274 002981D4 41 82 02 8C */ beq lbl_8029B500 +/* 8029B278 002981D8 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha +/* 8029B27C 002981DC 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l +/* 8029B280 002981E0 90 1E 00 00 */ stw r0, 0(r30) +/* 8029B284 002981E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B288 002981E8 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B28C 002981EC 38 63 00 04 */ addi r3, r3, 4 +/* 8029B290 002981F0 38 84 00 04 */ addi r4, r4, 4 +/* 8029B294 002981F4 48 0A 01 89 */ bl sub_8033b41c +/* 8029B298 002981F8 34 1E 01 18 */ addic. r0, r30, 0x118 +/* 8029B29C 002981FC 41 82 00 50 */ beq lbl_8029B2EC +/* 8029B2A0 00298200 80 1E 01 1C */ lwz r0, 0x11c(r30) +/* 8029B2A4 00298204 83 9E 01 24 */ lwz r28, 0x124(r30) +/* 8029B2A8 00298208 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B2AC 0029820C 7F BC 02 14 */ add r29, r28, r0 +/* 8029B2B0 00298210 93 81 00 3C */ stw r28, 0x3c(r1) +/* 8029B2B4 00298214 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8029B2B8 00298218 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8029B2BC 0029821C 93 81 00 38 */ stw r28, 0x38(r1) +/* 8029B2C0 00298220 48 00 00 14 */ b lbl_8029B2D4 +lbl_8029B2C4: +/* 8029B2C4 00298224 7F 83 E3 78 */ mr r3, r28 +/* 8029B2C8 00298228 38 80 FF FF */ li r4, -1 +/* 8029B2CC 0029822C 48 0A 5B 75 */ bl __dt__6CTokenFv +/* 8029B2D0 00298230 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B2D4: +/* 8029B2D4 00298234 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B2D8 00298238 40 82 FF EC */ bne lbl_8029B2C4 +/* 8029B2DC 0029823C 80 7E 01 24 */ lwz r3, 0x124(r30) +/* 8029B2E0 00298240 28 03 00 00 */ cmplwi r3, 0 +/* 8029B2E4 00298244 41 82 00 08 */ beq lbl_8029B2EC +/* 8029B2E8 00298248 48 07 A6 49 */ bl Free__7CMemoryFPCv +lbl_8029B2EC: +/* 8029B2EC 0029824C 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 8029B2F0 00298250 41 82 00 50 */ beq lbl_8029B340 +/* 8029B2F4 00298254 80 1E 01 0C */ lwz r0, 0x10c(r30) +/* 8029B2F8 00298258 83 9E 01 14 */ lwz r28, 0x114(r30) +/* 8029B2FC 0029825C 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B300 00298260 7F BC 02 14 */ add r29, r28, r0 +/* 8029B304 00298264 93 81 00 2C */ stw r28, 0x2c(r1) +/* 8029B308 00298268 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029B30C 0029826C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 8029B310 00298270 93 81 00 28 */ stw r28, 0x28(r1) +/* 8029B314 00298274 48 00 00 14 */ b lbl_8029B328 +lbl_8029B318: +/* 8029B318 00298278 7F 83 E3 78 */ mr r3, r28 +/* 8029B31C 0029827C 38 80 FF FF */ li r4, -1 +/* 8029B320 00298280 48 0A 5B 21 */ bl __dt__6CTokenFv +/* 8029B324 00298284 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B328: +/* 8029B328 00298288 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B32C 0029828C 40 82 FF EC */ bne lbl_8029B318 +/* 8029B330 00298290 80 7E 01 14 */ lwz r3, 0x114(r30) +/* 8029B334 00298294 28 03 00 00 */ cmplwi r3, 0 +/* 8029B338 00298298 41 82 00 08 */ beq lbl_8029B340 +/* 8029B33C 0029829C 48 07 A5 F5 */ bl Free__7CMemoryFPCv +lbl_8029B340: +/* 8029B340 002982A0 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 8029B344 002982A4 41 82 00 50 */ beq lbl_8029B394 +/* 8029B348 002982A8 80 1E 00 FC */ lwz r0, 0xfc(r30) +/* 8029B34C 002982AC 83 9E 01 04 */ lwz r28, 0x104(r30) +/* 8029B350 002982B0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B354 002982B4 7F BC 02 14 */ add r29, r28, r0 +/* 8029B358 002982B8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 8029B35C 002982BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029B360 002982C0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8029B364 002982C4 93 81 00 18 */ stw r28, 0x18(r1) +/* 8029B368 002982C8 48 00 00 14 */ b lbl_8029B37C +lbl_8029B36C: +/* 8029B36C 002982CC 7F 83 E3 78 */ mr r3, r28 +/* 8029B370 002982D0 38 80 FF FF */ li r4, -1 +/* 8029B374 002982D4 48 0A 5A CD */ bl __dt__6CTokenFv +/* 8029B378 002982D8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B37C: +/* 8029B37C 002982DC 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B380 002982E0 40 82 FF EC */ bne lbl_8029B36C +/* 8029B384 002982E4 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 8029B388 002982E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029B38C 002982EC 41 82 00 08 */ beq lbl_8029B394 +/* 8029B390 002982F0 48 07 A5 A1 */ bl Free__7CMemoryFPCv +lbl_8029B394: +/* 8029B394 002982F4 38 7E 00 D0 */ addi r3, r30, 0xd0 +/* 8029B398 002982F8 38 80 FF FF */ li r4, -1 +/* 8029B39C 002982FC 48 00 02 D1 */ bl sub_8029b66c +/* 8029B3A0 00298300 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 8029B3A4 00298304 41 82 00 10 */ beq lbl_8029B3B4 +/* 8029B3A8 00298308 80 7E 00 CC */ lwz r3, 0xcc(r30) +/* 8029B3AC 0029830C 38 80 00 01 */ li r4, 1 +/* 8029B3B0 00298310 48 0D 0D A9 */ bl __dt__18CStaticAudioPlayer +lbl_8029B3B4: +/* 8029B3B4 00298314 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 8029B3B8 00298318 41 82 00 10 */ beq lbl_8029B3C8 +/* 8029B3BC 0029831C 80 7E 00 C8 */ lwz r3, 0xc8(r30) +/* 8029B3C0 00298320 38 80 00 01 */ li r4, 1 +/* 8029B3C4 00298324 48 02 E8 D5 */ bl __dt__15CGuiTextSupportFv +lbl_8029B3C8: +/* 8029B3C8 00298328 34 1E 00 C4 */ addic. r0, r30, 0xc4 +/* 8029B3CC 0029832C 41 82 00 10 */ beq lbl_8029B3DC +/* 8029B3D0 00298330 80 7E 00 C4 */ lwz r3, 0xc4(r30) +/* 8029B3D4 00298334 38 80 00 01 */ li r4, 1 +/* 8029B3D8 00298338 48 02 E8 C1 */ bl __dt__15CGuiTextSupportFv +lbl_8029B3DC: +/* 8029B3DC 0029833C 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 8029B3E0 00298340 41 82 00 38 */ beq lbl_8029B418 +/* 8029B3E4 00298344 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8029B3E8 00298348 41 82 00 30 */ beq lbl_8029B418 +/* 8029B3EC 0029834C 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8029B3F0 00298350 28 00 00 00 */ cmplwi r0, 0 +/* 8029B3F4 00298354 41 82 00 24 */ beq lbl_8029B418 +/* 8029B3F8 00298358 83 BE 00 A0 */ lwz r29, 0xa0(r30) +/* 8029B3FC 0029835C 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B400 00298360 41 82 00 18 */ beq lbl_8029B418 +/* 8029B404 00298364 7F A3 EB 78 */ mr r3, r29 +/* 8029B408 00298368 38 80 00 00 */ li r4, 0 +/* 8029B40C 0029836C 48 0A 5A 35 */ bl __dt__6CTokenFv +/* 8029B410 00298370 7F A3 EB 78 */ mr r3, r29 +/* 8029B414 00298374 48 07 A5 1D */ bl Free__7CMemoryFPCv +lbl_8029B418: +/* 8029B418 00298378 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 8029B41C 0029837C 41 82 00 38 */ beq lbl_8029B454 +/* 8029B420 00298380 34 1E 00 68 */ addic. r0, r30, 0x68 +/* 8029B424 00298384 41 82 00 30 */ beq lbl_8029B454 +/* 8029B428 00298388 88 1E 00 68 */ lbz r0, 0x68(r30) +/* 8029B42C 0029838C 28 00 00 00 */ cmplwi r0, 0 +/* 8029B430 00298390 41 82 00 24 */ beq lbl_8029B454 +/* 8029B434 00298394 83 BE 00 6C */ lwz r29, 0x6c(r30) +/* 8029B438 00298398 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B43C 0029839C 41 82 00 18 */ beq lbl_8029B454 +/* 8029B440 002983A0 7F A3 EB 78 */ mr r3, r29 +/* 8029B444 002983A4 38 80 00 00 */ li r4, 0 +/* 8029B448 002983A8 48 0A 59 F9 */ bl __dt__6CTokenFv +/* 8029B44C 002983AC 7F A3 EB 78 */ mr r3, r29 +/* 8029B450 002983B0 48 07 A4 E1 */ bl Free__7CMemoryFPCv +lbl_8029B454: +/* 8029B454 002983B4 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 8029B458 002983B8 41 82 00 24 */ beq lbl_8029B47C +/* 8029B45C 002983BC 83 BE 00 38 */ lwz r29, 0x38(r30) +/* 8029B460 002983C0 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B464 002983C4 41 82 00 18 */ beq lbl_8029B47C +/* 8029B468 002983C8 7F A3 EB 78 */ mr r3, r29 +/* 8029B46C 002983CC 38 80 00 00 */ li r4, 0 +/* 8029B470 002983D0 48 0A 59 D1 */ bl __dt__6CTokenFv +/* 8029B474 002983D4 7F A3 EB 78 */ mr r3, r29 +/* 8029B478 002983D8 48 07 A4 B9 */ bl Free__7CMemoryFPCv +lbl_8029B47C: +/* 8029B47C 002983DC 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8029B480 002983E0 38 80 FF FF */ li r4, -1 +/* 8029B484 002983E4 48 00 00 A1 */ bl sub_8029b524 +/* 8029B488 002983E8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8029B48C 002983EC 41 82 00 58 */ beq lbl_8029B4E4 +/* 8029B490 002983F0 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8029B494 002983F4 83 9E 00 24 */ lwz r28, 0x24(r30) +/* 8029B498 002983F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B49C 002983FC 7F BC 02 14 */ add r29, r28, r0 +/* 8029B4A0 00298400 93 81 00 0C */ stw r28, 0xc(r1) +/* 8029B4A4 00298404 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029B4A8 00298408 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8029B4AC 0029840C 93 81 00 08 */ stw r28, 8(r1) +/* 8029B4B0 00298410 48 00 00 1C */ b lbl_8029B4CC +lbl_8029B4B4: +/* 8029B4B4 00298414 28 1C 00 00 */ cmplwi r28, 0 +/* 8029B4B8 00298418 41 82 00 10 */ beq lbl_8029B4C8 +/* 8029B4BC 0029841C 7F 83 E3 78 */ mr r3, r28 +/* 8029B4C0 00298420 38 80 00 00 */ li r4, 0 +/* 8029B4C4 00298424 48 0A 59 7D */ bl __dt__6CTokenFv +lbl_8029B4C8: +/* 8029B4C8 00298428 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8029B4CC: +/* 8029B4CC 0029842C 7C 1C E8 40 */ cmplw r28, r29 +/* 8029B4D0 00298430 40 82 FF E4 */ bne lbl_8029B4B4 +/* 8029B4D4 00298434 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8029B4D8 00298438 28 03 00 00 */ cmplwi r3, 0 +/* 8029B4DC 0029843C 41 82 00 08 */ beq lbl_8029B4E4 +/* 8029B4E0 00298440 48 07 A4 51 */ bl Free__7CMemoryFPCv +lbl_8029B4E4: +/* 8029B4E4 00298444 7F C3 F3 78 */ mr r3, r30 +/* 8029B4E8 00298448 38 80 00 00 */ li r4, 0 +/* 8029B4EC 0029844C 4B DB 76 B9 */ bl __dt__6CIOWinFv +/* 8029B4F0 00298450 7F E0 07 35 */ extsh. r0, r31 +/* 8029B4F4 00298454 40 81 00 0C */ ble lbl_8029B500 +/* 8029B4F8 00298458 7F C3 F3 78 */ mr r3, r30 +/* 8029B4FC 0029845C 48 07 A4 35 */ bl Free__7CMemoryFPCv +lbl_8029B500: +/* 8029B500 00298460 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029B504 00298464 7F C3 F3 78 */ mr r3, r30 +/* 8029B508 00298468 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8029B50C 0029846C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8029B510 00298470 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8029B514 00298474 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8029B518 00298478 7C 08 03 A6 */ mtlr r0 +/* 8029B51C 0029847C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029B520 00298480 4E 80 00 20 */ blr + +.global sub_8029b524 +sub_8029b524: +/* 8029B524 00298484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B528 00298488 7C 08 02 A6 */ mflr r0 +/* 8029B52C 0029848C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B530 00298490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029B534 00298494 7C 9F 23 78 */ mr r31, r4 +/* 8029B538 00298498 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029B53C 0029849C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029B540 002984A0 41 82 00 54 */ beq lbl_8029B594 +/* 8029B544 002984A4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029B548 002984A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029B54C 002984AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8029B550 002984B0 38 81 00 0C */ addi r4, r1, 0xc +/* 8029B554 002984B4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029B558 002984B8 7C A5 02 14 */ add r5, r5, r0 +/* 8029B55C 002984BC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8029B560 002984C0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8029B564 002984C4 90 A1 00 08 */ stw r5, 8(r1) +/* 8029B568 002984C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B56C 002984CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B570 002984D0 48 00 00 41 */ bl sub_8029b5b0 +/* 8029B574 002984D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029B578 002984D8 28 03 00 00 */ cmplwi r3, 0 +/* 8029B57C 002984DC 41 82 00 08 */ beq lbl_8029B584 +/* 8029B580 002984E0 48 07 A3 B1 */ bl Free__7CMemoryFPCv +lbl_8029B584: +/* 8029B584 002984E4 7F E0 07 35 */ extsh. r0, r31 +/* 8029B588 002984E8 40 81 00 0C */ ble lbl_8029B594 +/* 8029B58C 002984EC 7F C3 F3 78 */ mr r3, r30 +/* 8029B590 002984F0 48 07 A3 A1 */ bl Free__7CMemoryFPCv +lbl_8029B594: +/* 8029B594 002984F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B598 002984F8 7F C3 F3 78 */ mr r3, r30 +/* 8029B59C 002984FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029B5A0 00298500 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029B5A4 00298504 7C 08 03 A6 */ mtlr r0 +/* 8029B5A8 00298508 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B5AC 0029850C 4E 80 00 20 */ blr + +.global sub_8029b5b0 +sub_8029b5b0: +/* 8029B5B0 00298510 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029B5B4 00298514 7C 08 02 A6 */ mflr r0 +/* 8029B5B8 00298518 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B5BC 0029851C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B5C0 00298520 93 C1 00 08 */ stw r30, 8(r1) +/* 8029B5C4 00298524 7C 9E 23 78 */ mr r30, r4 +/* 8029B5C8 00298528 83 E3 00 00 */ lwz r31, 0(r3) +/* 8029B5CC 0029852C 48 00 00 10 */ b lbl_8029B5DC +lbl_8029B5D0: +/* 8029B5D0 00298530 7F E3 FB 78 */ mr r3, r31 +/* 8029B5D4 00298534 48 00 00 2D */ bl sub_8029b600 +/* 8029B5D8 00298538 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029B5DC: +/* 8029B5DC 0029853C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029B5E0 00298540 7C 1F 00 40 */ cmplw r31, r0 +/* 8029B5E4 00298544 40 82 FF EC */ bne lbl_8029B5D0 +/* 8029B5E8 00298548 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029B5EC 0029854C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029B5F0 00298550 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029B5F4 00298554 7C 08 03 A6 */ mtlr r0 +/* 8029B5F8 00298558 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029B5FC 0029855C 4E 80 00 20 */ blr + +.global sub_8029b600 +sub_8029b600: +/* 8029B600 00298560 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029B604 00298564 7C 08 02 A6 */ mflr r0 +/* 8029B608 00298568 28 03 00 00 */ cmplwi r3, 0 +/* 8029B60C 0029856C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029B610 00298570 41 82 00 4C */ beq lbl_8029B65C +/* 8029B614 00298574 34 03 00 04 */ addic. r0, r3, 4 +/* 8029B618 00298578 41 82 00 44 */ beq lbl_8029B65C +/* 8029B61C 0029857C 80 03 00 08 */ lwz r0, 8(r3) +/* 8029B620 00298580 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029B624 00298584 54 00 10 3A */ slwi r0, r0, 2 +/* 8029B628 00298588 7C 03 02 14 */ add r0, r3, r0 +/* 8029B62C 0029858C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029B630 00298590 7C 64 1B 78 */ mr r4, r3 +/* 8029B634 00298594 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029B638 00298598 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029B63C 0029859C 90 61 00 08 */ stw r3, 8(r1) +/* 8029B640 002985A0 48 00 00 08 */ b lbl_8029B648 +lbl_8029B644: +/* 8029B644 002985A4 38 84 00 04 */ addi r4, r4, 4 +lbl_8029B648: +/* 8029B648 002985A8 7C 04 00 40 */ cmplw r4, r0 +/* 8029B64C 002985AC 40 82 FF F8 */ bne lbl_8029B644 +/* 8029B650 002985B0 28 03 00 00 */ cmplwi r3, 0 +/* 8029B654 002985B4 41 82 00 08 */ beq lbl_8029B65C +/* 8029B658 002985B8 48 07 A2 D9 */ bl Free__7CMemoryFPCv +lbl_8029B65C: +/* 8029B65C 002985BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029B660 002985C0 7C 08 03 A6 */ mtlr r0 +/* 8029B664 002985C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029B668 002985C8 4E 80 00 20 */ blr + +.global sub_8029b66c +sub_8029b66c: +/* 8029B66C 002985CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029B670 002985D0 7C 08 02 A6 */ mflr r0 +/* 8029B674 002985D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029B678 002985D8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029B67C 002985DC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8029B680 002985E0 7C 9C 23 78 */ mr r28, r4 +/* 8029B684 002985E4 41 82 00 88 */ beq lbl_8029B70C +/* 8029B688 002985E8 80 1B 00 04 */ lwz r0, 4(r27) +/* 8029B68C 002985EC 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 8029B690 002985F0 54 00 18 38 */ slwi r0, r0, 3 +/* 8029B694 002985F4 7F FD 02 14 */ add r31, r29, r0 +/* 8029B698 002985F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8029B69C 002985FC 93 E1 00 08 */ stw r31, 8(r1) +/* 8029B6A0 00298600 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029B6A4 00298604 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029B6A8 00298608 48 00 00 3C */ b lbl_8029B6E4 +lbl_8029B6AC: +/* 8029B6AC 0029860C 28 1D 00 00 */ cmplwi r29, 0 +/* 8029B6B0 00298610 41 82 00 30 */ beq lbl_8029B6E0 +/* 8029B6B4 00298614 88 1D 00 00 */ lbz r0, 0(r29) +/* 8029B6B8 00298618 28 00 00 00 */ cmplwi r0, 0 +/* 8029B6BC 0029861C 41 82 00 24 */ beq lbl_8029B6E0 +/* 8029B6C0 00298620 83 DD 00 04 */ lwz r30, 4(r29) +/* 8029B6C4 00298624 28 1E 00 00 */ cmplwi r30, 0 +/* 8029B6C8 00298628 41 82 00 18 */ beq lbl_8029B6E0 +/* 8029B6CC 0029862C 7F C3 F3 78 */ mr r3, r30 +/* 8029B6D0 00298630 38 80 00 00 */ li r4, 0 +/* 8029B6D4 00298634 48 0A 57 6D */ bl __dt__6CTokenFv +/* 8029B6D8 00298638 7F C3 F3 78 */ mr r3, r30 +/* 8029B6DC 0029863C 48 07 A2 55 */ bl Free__7CMemoryFPCv +lbl_8029B6E0: +/* 8029B6E0 00298640 3B BD 00 08 */ addi r29, r29, 8 +lbl_8029B6E4: +/* 8029B6E4 00298644 7C 1D F8 40 */ cmplw r29, r31 +/* 8029B6E8 00298648 40 82 FF C4 */ bne lbl_8029B6AC +/* 8029B6EC 0029864C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8029B6F0 00298650 28 03 00 00 */ cmplwi r3, 0 +/* 8029B6F4 00298654 41 82 00 08 */ beq lbl_8029B6FC +/* 8029B6F8 00298658 48 07 A2 39 */ bl Free__7CMemoryFPCv +lbl_8029B6FC: +/* 8029B6FC 0029865C 7F 80 07 35 */ extsh. r0, r28 +/* 8029B700 00298660 40 81 00 0C */ ble lbl_8029B70C +/* 8029B704 00298664 7F 63 DB 78 */ mr r3, r27 +/* 8029B708 00298668 48 07 A2 29 */ bl Free__7CMemoryFPCv +lbl_8029B70C: +/* 8029B70C 0029866C 7F 63 DB 78 */ mr r3, r27 +/* 8029B710 00298670 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029B714 00298674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029B718 00298678 7C 08 03 A6 */ mtlr r0 +/* 8029B71C 0029867C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029B720 00298680 4E 80 00 20 */ blr + +.global __ct__10CSlideShowFv +__ct__10CSlideShowFv: +/* 8029B724 00298684 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8029B728 00298688 7C 08 02 A6 */ mflr r0 +/* 8029B72C 0029868C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8029B730 00298690 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8029B734 00298694 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8029B738 00298698 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8029B73C 0029869C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8029B740 002986A0 BF 01 00 80 */ stmw r24, 0x80(r1) +/* 8029B744 002986A4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B748 002986A8 7C 7F 1B 78 */ mr r31, r3 +/* 8029B74C 002986AC 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B750 002986B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029B754 002986B4 38 84 00 FB */ addi r4, r4, 0xfb +/* 8029B758 002986B8 4B D6 95 61 */ bl string_l__4rstlFPCc +/* 8029B75C 002986BC 7F E3 FB 78 */ mr r3, r31 +/* 8029B760 002986C0 38 81 00 5C */ addi r4, r1, 0x5c +/* 8029B764 002986C4 4B DB 74 A9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029B768 002986C8 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029B76C 002986CC 48 0A 23 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029B770 002986D0 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha +/* 8029B774 002986D4 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B778 002986D8 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l +/* 8029B77C 002986DC 38 80 00 00 */ li r4, 0 +/* 8029B780 002986E0 90 1F 00 00 */ stw r0, 0(r31) +/* 8029B784 002986E4 38 00 FF FF */ li r0, -1 +/* 8029B788 002986E8 FC 40 08 90 */ fmr f2, f1 +/* 8029B78C 002986EC 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8029B790 002986F0 90 9F 00 14 */ stw r4, 0x14(r31) +/* 8029B794 002986F4 90 9F 00 1C */ stw r4, 0x1c(r31) +/* 8029B798 002986F8 90 9F 00 20 */ stw r4, 0x20(r31) +/* 8029B79C 002986FC 90 9F 00 24 */ stw r4, 0x24(r31) +/* 8029B7A0 00298700 90 9F 00 2C */ stw r4, 0x2c(r31) +/* 8029B7A4 00298704 90 9F 00 30 */ stw r4, 0x30(r31) +/* 8029B7A8 00298708 90 9F 00 34 */ stw r4, 0x34(r31) +/* 8029B7AC 0029870C 90 9F 00 38 */ stw r4, 0x38(r31) +/* 8029B7B0 00298710 90 9F 00 3C */ stw r4, 0x3c(r31) +/* 8029B7B4 00298714 90 9F 00 40 */ stw r4, 0x40(r31) +/* 8029B7B8 00298718 90 9F 00 44 */ stw r4, 0x44(r31) +/* 8029B7BC 0029871C 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8029B7C0 00298720 D0 3F 00 4C */ stfs f1, 0x4c(r31) +/* 8029B7C4 00298724 D0 3F 00 50 */ stfs f1, 0x50(r31) +/* 8029B7C8 00298728 D0 3F 00 54 */ stfs f1, 0x54(r31) +/* 8029B7CC 0029872C D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 8029B7D0 00298730 90 9F 00 5C */ stw r4, 0x5c(r31) +/* 8029B7D4 00298734 90 1F 00 60 */ stw r0, 0x60(r31) +/* 8029B7D8 00298738 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8029B7DC 0029873C 98 9F 00 68 */ stb r4, 0x68(r31) +/* 8029B7E0 00298740 90 9F 00 6C */ stw r4, 0x6c(r31) +/* 8029B7E4 00298744 98 9F 00 70 */ stb r4, 0x70(r31) +/* 8029B7E8 00298748 48 07 8A 19 */ bl __ct__9CVector2fFff +/* 8029B7EC 0029874C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B7F0 00298750 38 7F 00 7C */ addi r3, r31, 0x7c +/* 8029B7F4 00298754 FC 40 08 90 */ fmr f2, f1 +/* 8029B7F8 00298758 48 07 8A 09 */ bl __ct__9CVector2fFff +/* 8029B7FC 0029875C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B800 00298760 38 7F 00 84 */ addi r3, r31, 0x84 +/* 8029B804 00298764 FC 40 08 90 */ fmr f2, f1 +/* 8029B808 00298768 48 07 89 F9 */ bl __ct__9CVector2fFff +/* 8029B80C 0029876C 48 0A E7 A1 */ bl White__6CColorFv +/* 8029B810 00298770 80 03 00 00 */ lwz r0, 0(r3) +/* 8029B814 00298774 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) +/* 8029B818 00298778 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 8029B81C 0029877C F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 +/* 8029B820 00298780 38 80 00 00 */ li r4, 0 +/* 8029B824 00298784 38 00 FF FF */ li r0, -1 +/* 8029B828 00298788 10 20 F8 90 */ ps_mr f1, f31 +/* 8029B82C 0029878C 88 A1 00 11 */ lbz r5, 0x11(r1) +/* 8029B830 00298790 10 40 F8 90 */ ps_mr f2, f31 +/* 8029B834 00298794 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8029B838 00298798 98 BF 00 8F */ stb r5, 0x8f(r31) +/* 8029B83C 0029879C 90 9F 00 90 */ stw r4, 0x90(r31) +/* 8029B840 002987A0 90 1F 00 94 */ stw r0, 0x94(r31) +/* 8029B844 002987A4 90 1F 00 98 */ stw r0, 0x98(r31) +/* 8029B848 002987A8 98 9F 00 9C */ stb r4, 0x9c(r31) +/* 8029B84C 002987AC 90 9F 00 A0 */ stw r4, 0xa0(r31) +/* 8029B850 002987B0 98 9F 00 A4 */ stb r4, 0xa4(r31) +/* 8029B854 002987B4 48 07 89 AD */ bl __ct__9CVector2fFff +/* 8029B858 002987B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B85C 002987BC 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8029B860 002987C0 FC 40 08 90 */ fmr f2, f1 +/* 8029B864 002987C4 48 07 89 9D */ bl __ct__9CVector2fFff +/* 8029B868 002987C8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029B86C 002987CC 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 8029B870 002987D0 FC 40 08 90 */ fmr f2, f1 +/* 8029B874 002987D4 48 07 89 8D */ bl __ct__9CVector2fFff +/* 8029B878 002987D8 48 0A E7 35 */ bl White__6CColorFv +/* 8029B87C 002987DC 80 03 00 00 */ lwz r0, 0(r3) +/* 8029B880 002987E0 C3 C2 BF F0 */ lfs f30, lbl_805ADD10@sda21(r2) +/* 8029B884 002987E4 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8029B888 002987E8 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 +/* 8029B88C 002987EC 38 E0 00 00 */ li r7, 0 +/* 8029B890 002987F0 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) +/* 8029B894 002987F4 38 60 00 01 */ li r3, 1 +/* 8029B898 002987F8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8029B89C 002987FC 38 A0 00 00 */ li r5, 0 +/* 8029B8A0 00298800 38 C0 00 00 */ li r6, 0 +/* 8029B8A4 00298804 98 1F 00 C3 */ stb r0, 0xc3(r31) +/* 8029B8A8 00298808 90 FF 00 C4 */ stw r7, 0xc4(r31) +/* 8029B8AC 0029880C 90 FF 00 C8 */ stw r7, 0xc8(r31) +/* 8029B8B0 00298810 90 FF 00 CC */ stw r7, 0xcc(r31) +/* 8029B8B4 00298814 90 FF 00 D4 */ stw r7, 0xd4(r31) +/* 8029B8B8 00298818 90 FF 00 D8 */ stw r7, 0xd8(r31) +/* 8029B8BC 0029881C 90 FF 00 DC */ stw r7, 0xdc(r31) +/* 8029B8C0 00298820 90 FF 00 E0 */ stw r7, 0xe0(r31) +/* 8029B8C4 00298824 90 FF 00 E4 */ stw r7, 0xe4(r31) +/* 8029B8C8 00298828 90 FF 00 E8 */ stw r7, 0xe8(r31) +/* 8029B8CC 0029882C 90 FF 00 EC */ stw r7, 0xec(r31) +/* 8029B8D0 00298830 90 FF 00 F0 */ stw r7, 0xf0(r31) +/* 8029B8D4 00298834 90 FF 00 F4 */ stw r7, 0xf4(r31) +/* 8029B8D8 00298838 90 FF 00 FC */ stw r7, 0xfc(r31) +/* 8029B8DC 0029883C 90 FF 01 00 */ stw r7, 0x100(r31) +/* 8029B8E0 00298840 90 FF 01 04 */ stw r7, 0x104(r31) +/* 8029B8E4 00298844 90 FF 01 0C */ stw r7, 0x10c(r31) +/* 8029B8E8 00298848 90 FF 01 10 */ stw r7, 0x110(r31) +/* 8029B8EC 0029884C 90 FF 01 14 */ stw r7, 0x114(r31) +/* 8029B8F0 00298850 90 FF 01 1C */ stw r7, 0x11c(r31) +/* 8029B8F4 00298854 90 FF 01 20 */ stw r7, 0x120(r31) +/* 8029B8F8 00298858 90 FF 01 24 */ stw r7, 0x124(r31) +/* 8029B8FC 0029885C D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 8029B900 00298860 D0 1F 01 2C */ stfs f0, 0x12c(r31) +/* 8029B904 00298864 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B908 00298868 C0 04 00 54 */ lfs f0, 0x54(r4) +/* 8029B90C 0029886C D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8029B910 00298870 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B914 00298874 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029B918 00298878 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B91C 0029887C 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B920 00298880 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 8029B924 00298884 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B928 00298888 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B92C 0029888C 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8029B930 00298890 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B934 00298894 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B938 00298898 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8029B93C 0029889C 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B940 002988A0 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B944 002988A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8029B948 002988A8 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B94C 002988AC 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B950 002988B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8029B954 002988B4 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B958 002988B8 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 8029B95C 002988BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f +/* 8029B960 002988C0 98 1F 01 34 */ stb r0, 0x134(r31) +/* 8029B964 002988C4 88 1F 01 35 */ lbz r0, 0x135(r31) +/* 8029B968 002988C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8029B96C 002988CC 98 1F 01 35 */ stb r0, 0x135(r31) +/* 8029B970 002988D0 93 FF 00 5C */ stw r31, 0x5c(r31) +/* 8029B974 002988D4 93 FF 00 90 */ stw r31, 0x90(r31) +/* 8029B978 002988D8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B97C 002988DC 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) +/* 8029B980 002988E0 38 63 00 04 */ addi r3, r3, 4 +/* 8029B984 002988E4 38 84 00 04 */ addi r4, r4, 4 +/* 8029B988 002988E8 48 09 FB D5 */ bl "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +/* 8029B98C 002988EC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8029B990 002988F0 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8029B994 002988F4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) +/* 8029B998 002988F8 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 8029B99C 002988FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8029B9A0 00298900 3B 65 00 24 */ addi r27, r5, 0x24 +/* 8029B9A4 00298904 3B 45 00 28 */ addi r26, r5, 0x28 +/* 8029B9A8 00298908 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8029B9AC 0029890C 83 A4 00 08 */ lwz r29, 8(r4) +/* 8029B9B0 00298910 83 84 00 0C */ lwz r28, 0xc(r4) +/* 8029B9B4 00298914 80 85 00 14 */ lwz r4, 0x14(r5) +/* 8029B9B8 00298918 7D 89 03 A6 */ mtctr r12 +/* 8029B9BC 0029891C 4E 80 04 21 */ bctrl +/* 8029B9C0 00298920 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029B9C4 00298924 7C 7E 1B 78 */ mr r30, r3 +/* 8029B9C8 00298928 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029B9CC 0029892C 38 60 03 0C */ li r3, 0x30c +/* 8029B9D0 00298930 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029B9D4 00298934 38 A0 00 00 */ li r5, 0 +/* 8029B9D8 00298938 48 07 9E 95 */ bl __nw__FUlPCcPCc +/* 8029B9DC 0029893C 7C 78 1B 79 */ or. r24, r3, r3 +/* 8029B9E0 00298940 41 82 00 58 */ beq lbl_8029BA38 +/* 8029B9E4 00298944 48 0A E5 C9 */ bl White__6CColorFv +/* 8029B9E8 00298948 7C 79 1B 78 */ mr r25, r3 +/* 8029B9EC 0029894C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029B9F0 00298950 38 80 00 00 */ li r4, 0 +/* 8029B9F4 00298954 38 A0 00 01 */ li r5, 1 +/* 8029B9F8 00298958 38 C0 00 01 */ li r6, 1 +/* 8029B9FC 0029895C 38 E0 00 02 */ li r7, 2 +/* 8029BA00 00298960 39 00 00 00 */ li r8, 0 +/* 8029BA04 00298964 48 02 E6 41 */ bl __ct__18CGuiTextPropertiesFv +/* 8029BA08 00298968 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 8029BA0C 0029896C 7C 65 1B 78 */ mr r5, r3 +/* 8029BA10 00298970 7F 03 C3 78 */ mr r3, r24 +/* 8029BA14 00298974 7F 66 DB 78 */ mr r6, r27 +/* 8029BA18 00298978 90 01 00 08 */ stw r0, 8(r1) +/* 8029BA1C 0029897C 7F 47 D3 78 */ mr r7, r26 +/* 8029BA20 00298980 7F 28 CB 78 */ mr r8, r25 +/* 8029BA24 00298984 7F A9 EB 78 */ mr r9, r29 +/* 8029BA28 00298988 80 9E 00 04 */ lwz r4, 4(r30) +/* 8029BA2C 0029898C 7F 8A E3 78 */ mr r10, r28 +/* 8029BA30 00298990 48 02 E4 0D */ bl __ct__15CGuiTextSupportFv +/* 8029BA34 00298994 7C 78 1B 78 */ mr r24, r3 +lbl_8029BA38: +/* 8029BA38 00298998 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8029BA3C 0029899C 38 80 00 01 */ li r4, 1 +/* 8029BA40 002989A0 48 02 E2 59 */ bl __dt__15CGuiTextSupportFv +/* 8029BA44 002989A4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha +/* 8029BA48 002989A8 93 1F 00 C4 */ stw r24, 0xc4(r31) +/* 8029BA4C 002989AC 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l +/* 8029BA50 002989B0 38 60 03 0C */ li r3, 0x30c +/* 8029BA54 002989B4 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029BA58 002989B8 38 A0 00 00 */ li r5, 0 +/* 8029BA5C 002989BC 48 07 9E 11 */ bl __nw__FUlPCcPCc +/* 8029BA60 002989C0 7C 78 1B 79 */ or. r24, r3, r3 +/* 8029BA64 002989C4 41 82 00 58 */ beq lbl_8029BABC +/* 8029BA68 002989C8 48 0A E5 45 */ bl White__6CColorFv +/* 8029BA6C 002989CC 7C 79 1B 78 */ mr r25, r3 +/* 8029BA70 002989D0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029BA74 002989D4 38 80 00 00 */ li r4, 0 +/* 8029BA78 002989D8 38 A0 00 01 */ li r5, 1 +/* 8029BA7C 002989DC 38 C0 00 02 */ li r6, 2 +/* 8029BA80 002989E0 38 E0 00 02 */ li r7, 2 +/* 8029BA84 002989E4 39 00 00 00 */ li r8, 0 +/* 8029BA88 002989E8 48 02 E5 BD */ bl __ct__18CGuiTextPropertiesFv +/* 8029BA8C 002989EC 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) +/* 8029BA90 002989F0 7C 65 1B 78 */ mr r5, r3 +/* 8029BA94 002989F4 7F 03 C3 78 */ mr r3, r24 +/* 8029BA98 002989F8 7F 66 DB 78 */ mr r6, r27 +/* 8029BA9C 002989FC 90 01 00 08 */ stw r0, 8(r1) +/* 8029BAA0 00298A00 7F 47 D3 78 */ mr r7, r26 +/* 8029BAA4 00298A04 7F 28 CB 78 */ mr r8, r25 +/* 8029BAA8 00298A08 7F A9 EB 78 */ mr r9, r29 +/* 8029BAAC 00298A0C 80 9E 00 04 */ lwz r4, 4(r30) +/* 8029BAB0 00298A10 7F 8A E3 78 */ mr r10, r28 +/* 8029BAB4 00298A14 48 02 E3 89 */ bl __ct__15CGuiTextSupportFv +/* 8029BAB8 00298A18 7C 78 1B 78 */ mr r24, r3 +lbl_8029BABC: +/* 8029BABC 00298A1C 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8029BAC0 00298A20 38 80 00 01 */ li r4, 1 +/* 8029BAC4 00298A24 48 02 E1 D5 */ bl __dt__15CGuiTextSupportFv +/* 8029BAC8 00298A28 93 1F 00 C8 */ stw r24, 0xc8(r31) +/* 8029BACC 00298A2C 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8029BAD0 00298A30 38 80 00 12 */ li r4, 0x12 +/* 8029BAD4 00298A34 80 02 D7 58 */ lwz r0, lbl_805AF478@sda21(r2) +/* 8029BAD8 00298A38 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13) +/* 8029BADC 00298A3C 80 C2 D7 5C */ lwz r6, lbl_805AF47C@sda21(r2) +/* 8029BAE0 00298A40 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029BAE4 00298A44 38 A7 00 20 */ addi r5, r7, 0x20 +/* 8029BAE8 00298A48 38 07 00 48 */ addi r0, r7, 0x48 +/* 8029BAEC 00298A4C 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8029BAF0 00298A50 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8029BAF4 00298A54 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029BAF8 00298A58 4B D6 CE 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8029BAFC 00298A5C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8029BB00 00298A60 3B C1 00 34 */ addi r30, r1, 0x34 +/* 8029BB04 00298A64 3B 83 54 52 */ addi r28, r3, 0x54585452@l +/* 8029BB08 00298A68 3B 40 00 00 */ li r26, 0 +lbl_8029BB0C: +/* 8029BB0C 00298A6C 3B 60 00 00 */ li r27, 0 +/* 8029BB10 00298A70 3B 00 00 00 */ li r24, 0 +lbl_8029BB14: +/* 8029BB14 00298A74 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029BB18 00298A78 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029BB1C 00298A7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029BB20 00298A80 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8029BB24 00298A84 7C C0 C2 14 */ add r6, r0, r24 +/* 8029BB28 00298A88 80 06 00 04 */ lwz r0, 4(r6) +/* 8029BB2C 00298A8C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 8029BB30 00298A90 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029BB34 00298A94 81 84 00 00 */ lwz r12, 0(r4) +/* 8029BB38 00298A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029BB3C 00298A9C 7D 89 03 A6 */ mtctr r12 +/* 8029BB40 00298AA0 4E 80 04 21 */ bctrl +/* 8029BB44 00298AA4 80 1F 00 FC */ lwz r0, 0xfc(r31) +/* 8029BB48 00298AA8 80 BF 01 00 */ lwz r5, 0x100(r31) +/* 8029BB4C 00298AAC 7C 00 28 00 */ cmpw r0, r5 +/* 8029BB50 00298AB0 41 80 00 1C */ blt lbl_8029BB6C +/* 8029BB54 00298AB4 2C 05 00 00 */ cmpwi r5, 0 +/* 8029BB58 00298AB8 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8029BB5C 00298ABC 38 80 00 04 */ li r4, 4 +/* 8029BB60 00298AC0 41 82 00 08 */ beq lbl_8029BB68 +/* 8029BB64 00298AC4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029BB68: +/* 8029BB68 00298AC8 4B D6 CD F5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8029BB6C: +/* 8029BB6C 00298ACC 80 1F 00 FC */ lwz r0, 0xfc(r31) +/* 8029BB70 00298AD0 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 8029BB74 00298AD4 54 00 18 38 */ slwi r0, r0, 3 +/* 8029BB78 00298AD8 7C 63 02 15 */ add. r3, r3, r0 +/* 8029BB7C 00298ADC 41 82 00 0C */ beq lbl_8029BB88 +/* 8029BB80 00298AE0 38 81 00 24 */ addi r4, r1, 0x24 +/* 8029BB84 00298AE4 48 0A 53 25 */ bl __ct__6CTokenFRC6CToken +lbl_8029BB88: +/* 8029BB88 00298AE8 80 BF 00 FC */ lwz r5, 0xfc(r31) +/* 8029BB8C 00298AEC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029BB90 00298AF0 38 80 FF FF */ li r4, -1 +/* 8029BB94 00298AF4 38 05 00 01 */ addi r0, r5, 1 +/* 8029BB98 00298AF8 90 1F 00 FC */ stw r0, 0xfc(r31) +/* 8029BB9C 00298AFC 48 0A 52 A5 */ bl __dt__6CTokenFv +/* 8029BBA0 00298B00 3B 7B 00 01 */ addi r27, r27, 1 +/* 8029BBA4 00298B04 3B 18 00 04 */ addi r24, r24, 4 +/* 8029BBA8 00298B08 2C 1B 00 09 */ cmpwi r27, 9 +/* 8029BBAC 00298B0C 41 80 FF 68 */ blt lbl_8029BB14 +/* 8029BBB0 00298B10 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029BBB4 00298B14 3B DE 00 04 */ addi r30, r30, 4 +/* 8029BBB8 00298B18 2C 1A 00 02 */ cmpwi r26, 2 +/* 8029BBBC 00298B1C 41 80 FF 50 */ blt lbl_8029BB0C +/* 8029BBC0 00298B20 7F E3 FB 78 */ mr r3, r31 +/* 8029BBC4 00298B24 38 9F 00 F8 */ addi r4, r31, 0xf8 +/* 8029BBC8 00298B28 38 A0 00 01 */ li r5, 1 +/* 8029BBCC 00298B2C 4B FF CD E5 */ bl sub_802989b0 +/* 8029BBD0 00298B30 3C 60 80 3D */ lis r3, lbl_803D5C38@ha +/* 8029BBD4 00298B34 81 6D A1 4C */ lwz r11, gpTweakPlayerRes@sda21(r13) +/* 8029BBD8 00298B38 39 03 5C 38 */ addi r8, r3, lbl_803D5C38@l +/* 8029BBDC 00298B3C 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8029BBE0 00298B40 80 88 00 00 */ lwz r4, 0(r8) +/* 8029BBE4 00298B44 38 EB 00 70 */ addi r7, r11, 0x70 +/* 8029BBE8 00298B48 81 48 00 04 */ lwz r10, 4(r8) +/* 8029BBEC 00298B4C 38 CB 00 7C */ addi r6, r11, 0x7c +/* 8029BBF0 00298B50 81 28 00 08 */ lwz r9, 8(r8) +/* 8029BBF4 00298B54 38 AB 00 A0 */ addi r5, r11, 0xa0 +/* 8029BBF8 00298B58 81 08 00 0C */ lwz r8, 0xc(r8) +/* 8029BBFC 00298B5C 38 0B 00 B8 */ addi r0, r11, 0xb8 +/* 8029BC00 00298B60 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8029BC04 00298B64 38 80 00 08 */ li r4, 8 +/* 8029BC08 00298B68 91 41 00 70 */ stw r10, 0x70(r1) +/* 8029BC0C 00298B6C 91 21 00 74 */ stw r9, 0x74(r1) +/* 8029BC10 00298B70 91 01 00 78 */ stw r8, 0x78(r1) +/* 8029BC14 00298B74 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 8029BC18 00298B78 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8029BC1C 00298B7C 90 A1 00 74 */ stw r5, 0x74(r1) +/* 8029BC20 00298B80 90 01 00 78 */ stw r0, 0x78(r1) +/* 8029BC24 00298B84 4B D6 CD 39 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8029BC28 00298B88 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8029BC2C 00298B8C 3B C1 00 6C */ addi r30, r1, 0x6c +/* 8029BC30 00298B90 3B 83 54 52 */ addi r28, r3, 0x54585452@l +/* 8029BC34 00298B94 3B 40 00 00 */ li r26, 0 +lbl_8029BC38: +/* 8029BC38 00298B98 3B 60 00 00 */ li r27, 0 +/* 8029BC3C 00298B9C 3B 00 00 00 */ li r24, 0 +lbl_8029BC40: +/* 8029BC40 00298BA0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8029BC44 00298BA4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BC48 00298BA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029BC4C 00298BAC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029BC50 00298BB0 7C C0 C2 14 */ add r6, r0, r24 +/* 8029BC54 00298BB4 80 06 00 04 */ lwz r0, 4(r6) +/* 8029BC58 00298BB8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 8029BC5C 00298BBC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029BC60 00298BC0 81 84 00 00 */ lwz r12, 0(r4) +/* 8029BC64 00298BC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029BC68 00298BC8 7D 89 03 A6 */ mtctr r12 +/* 8029BC6C 00298BCC 4E 80 04 21 */ bctrl +/* 8029BC70 00298BD0 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 8029BC74 00298BD4 80 BF 01 10 */ lwz r5, 0x110(r31) +/* 8029BC78 00298BD8 7C 00 28 00 */ cmpw r0, r5 +/* 8029BC7C 00298BDC 41 80 00 1C */ blt lbl_8029BC98 +/* 8029BC80 00298BE0 2C 05 00 00 */ cmpwi r5, 0 +/* 8029BC84 00298BE4 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8029BC88 00298BE8 38 80 00 04 */ li r4, 4 +/* 8029BC8C 00298BEC 41 82 00 08 */ beq lbl_8029BC94 +/* 8029BC90 00298BF0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8029BC94: +/* 8029BC94 00298BF4 4B D6 CC C9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8029BC98: +/* 8029BC98 00298BF8 80 1F 01 0C */ lwz r0, 0x10c(r31) +/* 8029BC9C 00298BFC 80 7F 01 14 */ lwz r3, 0x114(r31) +/* 8029BCA0 00298C00 54 00 18 38 */ slwi r0, r0, 3 +/* 8029BCA4 00298C04 7C 63 02 15 */ add. r3, r3, r0 +/* 8029BCA8 00298C08 41 82 00 0C */ beq lbl_8029BCB4 +/* 8029BCAC 00298C0C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029BCB0 00298C10 48 0A 51 F9 */ bl __ct__6CTokenFRC6CToken +lbl_8029BCB4: +/* 8029BCB4 00298C14 80 BF 01 0C */ lwz r5, 0x10c(r31) +/* 8029BCB8 00298C18 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BCBC 00298C1C 38 80 FF FF */ li r4, -1 +/* 8029BCC0 00298C20 38 05 00 01 */ addi r0, r5, 1 +/* 8029BCC4 00298C24 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8029BCC8 00298C28 48 0A 51 79 */ bl __dt__6CTokenFv +/* 8029BCCC 00298C2C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8029BCD0 00298C30 3B 18 00 04 */ addi r24, r24, 4 +/* 8029BCD4 00298C34 2C 1B 00 02 */ cmpwi r27, 2 +/* 8029BCD8 00298C38 41 80 FF 68 */ blt lbl_8029BC40 +/* 8029BCDC 00298C3C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8029BCE0 00298C40 3B DE 00 04 */ addi r30, r30, 4 +/* 8029BCE4 00298C44 2C 1A 00 04 */ cmpwi r26, 4 +/* 8029BCE8 00298C48 41 80 FF 50 */ blt lbl_8029BC38 +/* 8029BCEC 00298C4C 7F E3 FB 78 */ mr r3, r31 +/* 8029BCF0 00298C50 38 9F 01 08 */ addi r4, r31, 0x108 +/* 8029BCF4 00298C54 38 A0 00 01 */ li r5, 1 +/* 8029BCF8 00298C58 4B FF CC B9 */ bl sub_802989b0 +/* 8029BCFC 00298C5C 7F E3 FB 78 */ mr r3, r31 +/* 8029BD00 00298C60 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8029BD04 00298C64 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8029BD08 00298C68 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8029BD0C 00298C6C CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8029BD10 00298C70 BB 01 00 80 */ lmw r24, 0x80(r1) +/* 8029BD14 00298C74 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8029BD18 00298C78 7C 08 03 A6 */ mtlr r0 +/* 8029BD1C 00298C7C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8029BD20 00298C80 4E 80 00 20 */ blr + +.global sub_8029bd24 +sub_8029bd24: +/* 8029BD24 00298C84 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8029BD28 00298C88 7C 08 02 A6 */ mflr r0 +/* 8029BD2C 00298C8C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8029BD30 00298C90 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8029BD34 00298C94 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8029BD38 00298C98 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8029BD3C 00298C9C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8029BD40 00298CA0 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 8029BD44 00298CA4 80 63 00 04 */ lwz r3, 4(r3) +/* 8029BD48 00298CA8 7C 9D 23 78 */ mr r29, r4 +/* 8029BD4C 00298CAC 7C BE 2B 78 */ mr r30, r5 +/* 8029BD50 00298CB0 7C D7 33 78 */ mr r23, r6 +/* 8029BD54 00298CB4 28 03 00 00 */ cmplwi r3, 0 +/* 8029BD58 00298CB8 7C F8 3B 78 */ mr r24, r7 +/* 8029BD5C 00298CBC 41 82 02 0C */ beq lbl_8029BF68 +/* 8029BD60 00298CC0 48 0A 50 AD */ bl GetObj__6CTokenFv +/* 8029BD64 00298CC4 83 E3 00 04 */ lwz r31, 4(r3) +/* 8029BD68 00298CC8 3C 80 43 30 */ lis r4, 0x4330 +/* 8029BD6C 00298CCC 3C 60 80 3F */ lis r3, lbl_803F0004@ha +/* 8029BD70 00298CD0 87 83 D9 10 */ lwzu r28, -0x26f0(r3) +/* 8029BD74 00298CD4 A8 BF 00 04 */ lha r5, 4(r31) +/* 8029BD78 00298CD8 28 17 00 00 */ cmplwi r23, 0 +/* 8029BD7C 00298CDC A8 1F 00 06 */ lha r0, 6(r31) +/* 8029BD80 00298CE0 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8029BD84 00298CE4 90 81 00 60 */ stw r4, 0x60(r1) +/* 8029BD88 00298CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8029BD8C 00298CEC C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) +/* 8029BD90 00298CF0 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8029BD94 00298CF4 83 63 00 04 */ lwz r27, lbl_803F0004@l(r3) +/* 8029BD98 00298CF8 C8 21 00 60 */ lfd f1, 0x60(r1) +/* 8029BD9C 00298CFC 90 81 00 68 */ stw r4, 0x68(r1) +/* 8029BDA0 00298D00 EF E1 10 28 */ fsubs f31, f1, f2 +/* 8029BDA4 00298D04 83 43 00 08 */ lwz r26, 8(r3) +/* 8029BDA8 00298D08 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8029BDAC 00298D0C 83 23 00 0C */ lwz r25, 0xc(r3) +/* 8029BDB0 00298D10 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8029BDB4 00298D14 EF C0 10 28 */ fsubs f30, f0, f2 +/* 8029BDB8 00298D18 41 82 00 24 */ beq lbl_8029BDDC +/* 8029BDBC 00298D1C C0 37 00 00 */ lfs f1, 0(r23) +/* 8029BDC0 00298D20 C0 17 00 04 */ lfs f0, 4(r23) +/* 8029BDC4 00298D24 FC 20 08 1E */ fctiwz f1, f1 +/* 8029BDC8 00298D28 FC 00 00 1E */ fctiwz f0, f0 +/* 8029BDCC 00298D2C D8 21 00 68 */ stfd f1, 0x68(r1) +/* 8029BDD0 00298D30 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8029BDD4 00298D34 83 81 00 6C */ lwz r28, 0x6c(r1) +/* 8029BDD8 00298D38 83 61 00 64 */ lwz r27, 0x64(r1) +lbl_8029BDDC: +/* 8029BDDC 00298D3C 28 18 00 00 */ cmplwi r24, 0 +/* 8029BDE0 00298D40 41 82 00 24 */ beq lbl_8029BE04 +/* 8029BDE4 00298D44 C0 38 00 00 */ lfs f1, 0(r24) +/* 8029BDE8 00298D48 C0 18 00 04 */ lfs f0, 4(r24) +/* 8029BDEC 00298D4C FC 20 08 1E */ fctiwz f1, f1 +/* 8029BDF0 00298D50 FC 00 00 1E */ fctiwz f0, f0 +/* 8029BDF4 00298D54 D8 21 00 68 */ stfd f1, 0x68(r1) +/* 8029BDF8 00298D58 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8029BDFC 00298D5C 83 41 00 6C */ lwz r26, 0x6c(r1) +/* 8029BE00 00298D60 83 21 00 64 */ lwz r25, 0x64(r1) +lbl_8029BE04: +/* 8029BE04 00298D64 38 60 00 01 */ li r3, 1 +/* 8029BE08 00298D68 38 80 00 04 */ li r4, 4 +/* 8029BE0C 00298D6C 38 A0 00 05 */ li r5, 5 +/* 8029BE10 00298D70 38 C0 00 00 */ li r6, 0 +/* 8029BE14 00298D74 48 06 FC 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8029BE18 00298D78 7C 7C D2 14 */ add r3, r28, r26 +/* 8029BE1C 00298D7C 7C 1B CA 14 */ add r0, r27, r25 +/* 8029BE20 00298D80 3C A0 43 30 */ lis r5, 0x4330 +/* 8029BE24 00298D84 6F 86 80 00 */ xoris r6, r28, 0x8000 +/* 8029BE28 00298D88 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8029BE2C 00298D8C 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8029BE30 00298D90 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8029BE34 00298D94 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8029BE38 00298D98 C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) +/* 8029BE3C 00298D9C 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8029BE40 00298DA0 C0 A2 C0 10 */ lfs f5, lbl_805ADD30@sda21(r2) +/* 8029BE44 00298DA4 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8029BE48 00298DA8 90 81 00 64 */ stw r4, 0x64(r1) +/* 8029BE4C 00298DAC EC 20 20 28 */ fsubs f1, f0, f4 +/* 8029BE50 00298DB0 C0 C2 C0 14 */ lfs f6, lbl_805ADD34@sda21(r2) +/* 8029BE54 00298DB4 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8029BE58 00298DB8 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 8029BE5C 00298DBC 90 61 00 74 */ stw r3, 0x74(r1) +/* 8029BE60 00298DC0 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8029BE64 00298DC4 90 A1 00 70 */ stw r5, 0x70(r1) +/* 8029BE68 00298DC8 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8029BE6C 00298DCC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8029BE70 00298DD0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8029BE74 00298DD4 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8029BE78 00298DD8 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8029BE7C 00298DDC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8029BE80 00298DE0 48 07 06 D5 */ bl SetOrtho__9CGraphicsFffffff +/* 8029BE84 00298DE4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029BE88 00298DE8 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 8029BE8C 00298DEC 48 07 08 C1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029BE90 00298DF0 7F A4 EB 78 */ mr r4, r29 +/* 8029BE94 00298DF4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029BE98 00298DF8 48 07 72 A9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8029BE9C 00298DFC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029BEA0 00298E00 48 07 07 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8029BEA4 00298E04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8029BEA8 00298E08 38 60 00 00 */ li r3, 0 +/* 8029BEAC 00298E0C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8029BEB0 00298E10 48 06 E4 09 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8029BEB4 00298E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8029BEB8 00298E18 38 60 00 01 */ li r3, 1 +/* 8029BEBC 00298E1C 48 06 E3 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8029BEC0 00298E20 7F E3 FB 78 */ mr r3, r31 +/* 8029BEC4 00298E24 38 80 00 00 */ li r4, 0 +/* 8029BEC8 00298E28 38 A0 00 01 */ li r5, 1 +/* 8029BECC 00298E2C 48 07 38 71 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8029BED0 00298E30 38 60 00 80 */ li r3, 0x80 +/* 8029BED4 00298E34 48 06 F7 95 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8029BED8 00298E38 7F C3 F3 78 */ mr r3, r30 +/* 8029BEDC 00298E3C 48 06 F6 6D */ bl StreamColor__9CGraphicsFRC6CColor +/* 8029BEE0 00298E40 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029BEE4 00298E44 FC 40 08 90 */ fmr f2, f1 +/* 8029BEE8 00298E48 48 06 F5 7D */ bl StreamTexcoord__9CGraphicsFff +/* 8029BEEC 00298E4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8029BEF0 00298E50 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8029BEF4 00298E54 48 06 F6 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BEF8 00298E58 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029BEFC 00298E5C C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) +/* 8029BF00 00298E60 48 06 F5 65 */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF04 00298E64 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF08 00298E68 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029BF0C 00298E6C D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 8029BF10 00298E70 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029BF14 00298E74 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029BF18 00298E78 48 06 F6 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF1C 00298E7C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) +/* 8029BF20 00298E80 FC 40 08 90 */ fmr f2, f1 +/* 8029BF24 00298E84 48 06 F5 41 */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF28 00298E88 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF2C 00298E8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029BF30 00298E90 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 8029BF34 00298E94 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8029BF38 00298E98 D3 C1 00 1C */ stfs f30, 0x1c(r1) +/* 8029BF3C 00298E9C 48 06 F6 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF40 00298EA0 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029BF44 00298EA4 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) +/* 8029BF48 00298EA8 48 06 F5 1D */ bl StreamTexcoord__9CGraphicsFff +/* 8029BF4C 00298EAC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF50 00298EB0 38 61 00 08 */ addi r3, r1, 8 +/* 8029BF54 00298EB4 D3 C1 00 10 */ stfs f30, 0x10(r1) +/* 8029BF58 00298EB8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8029BF5C 00298EBC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8029BF60 00298EC0 48 06 F6 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8029BF64 00298EC4 48 06 F4 AD */ bl StreamEnd__9CGraphicsFv +lbl_8029BF68: +/* 8029BF68 00298EC8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8029BF6C 00298ECC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8029BF70 00298ED0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8029BF74 00298ED4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8029BF78 00298ED8 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 8029BF7C 00298EDC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8029BF80 00298EE0 7C 08 03 A6 */ mtlr r0 +/* 8029BF84 00298EE4 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8029BF88 00298EE8 4E 80 00 20 */ blr + +.global sub_8029bf8c +sub_8029bf8c: +/* 8029BF8C 00298EEC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BF90 00298EF0 38 00 00 00 */ li r0, 0 +/* 8029BF94 00298EF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029BF98 00298EF8 40 81 00 08 */ ble lbl_8029BFA0 +/* 8029BF9C 00298EFC 60 00 00 01 */ ori r0, r0, 1 +lbl_8029BFA0: +/* 8029BFA0 00298F00 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFA4 00298F04 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8029BFA8 00298F08 40 81 00 08 */ ble lbl_8029BFB0 +/* 8029BFAC 00298F0C 60 00 00 02 */ ori r0, r0, 2 +lbl_8029BFB0: +/* 8029BFB0 00298F10 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFB4 00298F14 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8029BFB8 00298F18 40 81 00 08 */ ble lbl_8029BFC0 +/* 8029BFBC 00298F1C 60 00 00 04 */ ori r0, r0, 4 +lbl_8029BFC0: +/* 8029BFC0 00298F20 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) +/* 8029BFC4 00298F24 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8029BFC8 00298F28 40 81 00 08 */ ble lbl_8029BFD0 +/* 8029BFCC 00298F2C 60 00 00 08 */ ori r0, r0, 8 +lbl_8029BFD0: +/* 8029BFD0 00298F30 28 00 00 0A */ cmplwi r0, 0xa +/* 8029BFD4 00298F34 41 81 00 5C */ bgt lbl_8029C030 +/* 8029BFD8 00298F38 3C 60 80 3F */ lis r3, lbl_803EBFD4@ha +/* 8029BFDC 00298F3C 54 00 10 3A */ slwi r0, r0, 2 +/* 8029BFE0 00298F40 38 63 BF D4 */ addi r3, r3, lbl_803EBFD4@l +/* 8029BFE4 00298F44 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8029BFE8 00298F48 7C 09 03 A6 */ mtctr r0 +/* 8029BFEC 00298F4C 4E 80 04 20 */ bctr +/* 8029BFF0 00298F50 38 60 00 01 */ li r3, 1 +/* 8029BFF4 00298F54 4E 80 00 20 */ blr +/* 8029BFF8 00298F58 38 60 00 02 */ li r3, 2 +/* 8029BFFC 00298F5C 4E 80 00 20 */ blr +/* 8029C000 00298F60 38 60 00 03 */ li r3, 3 +/* 8029C004 00298F64 4E 80 00 20 */ blr +/* 8029C008 00298F68 38 60 00 04 */ li r3, 4 +/* 8029C00C 00298F6C 4E 80 00 20 */ blr +/* 8029C010 00298F70 38 60 00 05 */ li r3, 5 +/* 8029C014 00298F74 4E 80 00 20 */ blr +/* 8029C018 00298F78 38 60 00 06 */ li r3, 6 +/* 8029C01C 00298F7C 4E 80 00 20 */ blr +/* 8029C020 00298F80 38 60 00 07 */ li r3, 7 +/* 8029C024 00298F84 4E 80 00 20 */ blr +/* 8029C028 00298F88 38 60 00 08 */ li r3, 8 +/* 8029C02C 00298F8C 4E 80 00 20 */ blr +lbl_8029C030: +/* 8029C030 00298F90 38 60 00 00 */ li r3, 0 +/* 8029C034 00298F94 4E 80 00 20 */ blr + +.global sub_8029c038 +sub_8029c038: +/* 8029C038 00298F98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C03C 00298F9C 7C 08 02 A6 */ mflr r0 +/* 8029C040 00298FA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C044 00298FA4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029C048 00298FA8 7C 9F 23 78 */ mr r31, r4 +/* 8029C04C 00298FAC 7C 7E 1B 78 */ mr r30, r3 +/* 8029C050 00298FB0 7C DB 33 78 */ mr r27, r6 +/* 8029C054 00298FB4 38 61 00 0C */ addi r3, r1, 0xc +/* 8029C058 00298FB8 80 85 00 00 */ lwz r4, 0(r5) +/* 8029C05C 00298FBC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C060 00298FC0 90 81 00 08 */ stw r4, 8(r1) +/* 8029C064 00298FC4 38 81 00 08 */ addi r4, r1, 8 +/* 8029C068 00298FC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029C06C 00298FCC 48 00 05 05 */ bl sub_8029c570 +/* 8029C070 00298FD0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C074 00298FD4 7C 7D 1B 78 */ mr r29, r3 +/* 8029C078 00298FD8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C07C 00298FDC 48 00 00 58 */ b lbl_8029C0D4 +lbl_8029C080: +/* 8029C080 00298FE0 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 8029C084 00298FE4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C088 00298FE8 7C 83 EA 14 */ add r4, r3, r29 +/* 8029C08C 00298FEC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029C090 00298FF0 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 8029C094 00298FF4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C098 00298FF8 7F 84 E3 78 */ mr r4, r28 +/* 8029C09C 00298FFC 48 00 04 95 */ bl sub_8029c530 +/* 8029C0A0 00299000 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8029C0A4 00299004 80 1B 00 00 */ lwz r0, 0(r27) +/* 8029C0A8 00299008 80 64 00 00 */ lwz r3, 0(r4) +/* 8029C0AC 0029900C 7C 03 00 40 */ cmplw r3, r0 +/* 8029C0B0 00299010 40 80 00 20 */ bge lbl_8029C0D0 +/* 8029C0B4 00299014 90 9F 00 00 */ stw r4, 0(r31) +/* 8029C0B8 00299018 7C 7C E8 50 */ subf r3, r28, r29 +/* 8029C0BC 0029901C 3B A3 FF FF */ addi r29, r3, -1 +/* 8029C0C0 00299020 80 7F 00 00 */ lwz r3, 0(r31) +/* 8029C0C4 00299024 38 03 00 08 */ addi r0, r3, 8 +/* 8029C0C8 00299028 90 1F 00 00 */ stw r0, 0(r31) +/* 8029C0CC 0029902C 48 00 00 08 */ b lbl_8029C0D4 +lbl_8029C0D0: +/* 8029C0D0 00299030 7F 9D E3 78 */ mr r29, r28 +lbl_8029C0D4: +/* 8029C0D4 00299034 2C 1D 00 00 */ cmpwi r29, 0 +/* 8029C0D8 00299038 41 81 FF A8 */ bgt lbl_8029C080 +/* 8029C0DC 0029903C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C0E0 00299040 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C0E4 00299044 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029C0E8 00299048 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C0EC 0029904C 7C 08 03 A6 */ mtlr r0 +/* 8029C0F0 00299050 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C0F4 00299054 4E 80 00 20 */ blr + +.global sub_8029c0f8 +sub_8029c0f8: +/* 8029C0F8 00299058 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C0FC 0029905C 7C 08 02 A6 */ mflr r0 +/* 8029C100 00299060 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C104 00299064 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029C108 00299068 7C 9F 23 78 */ mr r31, r4 +/* 8029C10C 0029906C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029C110 00299070 7C 7E 1B 78 */ mr r30, r3 +/* 8029C114 00299074 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029C118 00299078 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C11C 0029907C 7C 1F 00 00 */ cmpw r31, r0 +/* 8029C120 00299080 40 81 00 AC */ ble lbl_8029C1CC +/* 8029C124 00299084 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 8029C128 00299088 40 82 00 0C */ bne lbl_8029C134 +/* 8029C12C 0029908C 3B A0 00 00 */ li r29, 0 +/* 8029C130 00299090 48 00 00 1C */ b lbl_8029C14C +lbl_8029C134: +/* 8029C134 00299094 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C138 00299098 38 A0 00 00 */ li r5, 0 +/* 8029C13C 0029909C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C140 002990A0 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C144 002990A4 48 07 96 D5 */ bl __nwa__FUlPCcPCc +/* 8029C148 002990A8 7C 7D 1B 78 */ mr r29, r3 +lbl_8029C14C: +/* 8029C14C 002990AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C150 002990B0 7F A4 EB 78 */ mr r4, r29 +/* 8029C154 002990B4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8029C158 002990B8 54 00 10 3A */ slwi r0, r0, 2 +/* 8029C15C 002990BC 7C 65 02 14 */ add r3, r5, r0 +/* 8029C160 002990C0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8029C164 002990C4 90 61 00 08 */ stw r3, 8(r1) +/* 8029C168 002990C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029C16C 002990CC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8029C170 002990D0 48 00 00 1C */ b lbl_8029C18C +lbl_8029C174: +/* 8029C174 002990D4 28 04 00 00 */ cmplwi r4, 0 +/* 8029C178 002990D8 41 82 00 0C */ beq lbl_8029C184 +/* 8029C17C 002990DC 80 05 00 00 */ lwz r0, 0(r5) +/* 8029C180 002990E0 90 04 00 00 */ stw r0, 0(r4) +lbl_8029C184: +/* 8029C184 002990E4 38 84 00 04 */ addi r4, r4, 4 +/* 8029C188 002990E8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8029C18C: +/* 8029C18C 002990EC 7C 05 18 40 */ cmplw r5, r3 +/* 8029C190 002990F0 40 82 FF E4 */ bne lbl_8029C174 +/* 8029C194 002990F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C198 002990F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029C19C 002990FC 54 00 10 3A */ slwi r0, r0, 2 +/* 8029C1A0 00299100 7C 64 1B 78 */ mr r4, r3 +/* 8029C1A4 00299104 7C 03 02 14 */ add r0, r3, r0 +/* 8029C1A8 00299108 48 00 00 08 */ b lbl_8029C1B0 +lbl_8029C1AC: +/* 8029C1AC 0029910C 38 84 00 04 */ addi r4, r4, 4 +lbl_8029C1B0: +/* 8029C1B0 00299110 7C 04 00 40 */ cmplw r4, r0 +/* 8029C1B4 00299114 40 82 FF F8 */ bne lbl_8029C1AC +/* 8029C1B8 00299118 28 03 00 00 */ cmplwi r3, 0 +/* 8029C1BC 0029911C 41 82 00 08 */ beq lbl_8029C1C4 +/* 8029C1C0 00299120 48 07 97 71 */ bl Free__7CMemoryFPCv +lbl_8029C1C4: +/* 8029C1C4 00299124 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8029C1C8 00299128 93 FE 00 08 */ stw r31, 8(r30) +lbl_8029C1CC: +/* 8029C1CC 0029912C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C1D0 00299130 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029C1D4 00299134 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8029C1D8 00299138 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029C1DC 0029913C 7C 08 03 A6 */ mtlr r0 +/* 8029C1E0 00299140 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C1E4 00299144 4E 80 00 20 */ blr + +.global sub_8029c1e8 +sub_8029c1e8: +/* 8029C1E8 00299148 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C1EC 0029914C 7C 08 02 A6 */ mflr r0 +/* 8029C1F0 00299150 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C1F4 00299154 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029C1F8 00299158 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029C1FC 0029915C 7C 9E 23 78 */ mr r30, r4 +/* 8029C200 00299160 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029C204 00299164 7C 7D 1B 78 */ mr r29, r3 +/* 8029C208 00299168 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C20C 0029916C 7C 1E 00 00 */ cmpw r30, r0 +/* 8029C210 00299170 40 81 00 90 */ ble lbl_8029C2A0 +/* 8029C214 00299174 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 8029C218 00299178 2C 03 00 00 */ cmpwi r3, 0 +/* 8029C21C 0029917C 40 82 00 0C */ bne lbl_8029C228 +/* 8029C220 00299180 3B E0 00 00 */ li r31, 0 +/* 8029C224 00299184 48 00 00 1C */ b lbl_8029C240 +lbl_8029C228: +/* 8029C228 00299188 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C22C 0029918C 38 A0 00 00 */ li r5, 0 +/* 8029C230 00299190 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C234 00299194 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C238 00299198 48 07 95 E1 */ bl __nwa__FUlPCcPCc +/* 8029C23C 0029919C 7C 7F 1B 78 */ mr r31, r3 +lbl_8029C240: +/* 8029C240 002991A0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029C244 002991A4 7F E5 FB 78 */ mr r5, r31 +/* 8029C248 002991A8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8029C24C 002991AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029C250 002991B0 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029C254 002991B4 38 81 00 0C */ addi r4, r1, 0xc +/* 8029C258 002991B8 7C C6 02 14 */ add r6, r6, r0 +/* 8029C25C 002991BC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8029C260 002991C0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029C264 002991C4 90 C1 00 08 */ stw r6, 8(r1) +/* 8029C268 002991C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029C26C 002991CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C270 002991D0 48 00 00 99 */ bl sub_8029c308 +/* 8029C274 002991D4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029C278 002991D8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8029C27C 002991DC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029C280 002991E0 7C 83 02 14 */ add r4, r3, r0 +/* 8029C284 002991E4 48 00 00 39 */ bl sub_8029c2bc +/* 8029C288 002991E8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8029C28C 002991EC 28 03 00 00 */ cmplwi r3, 0 +/* 8029C290 002991F0 41 82 00 08 */ beq lbl_8029C298 +/* 8029C294 002991F4 48 07 96 9D */ bl Free__7CMemoryFPCv +lbl_8029C298: +/* 8029C298 002991F8 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8029C29C 002991FC 93 DD 00 08 */ stw r30, 8(r29) +lbl_8029C2A0: +/* 8029C2A0 00299200 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C2A4 00299204 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029C2A8 00299208 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8029C2AC 0029920C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029C2B0 00299210 7C 08 03 A6 */ mtlr r0 +/* 8029C2B4 00299214 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C2B8 00299218 4E 80 00 20 */ blr + +.global sub_8029c2bc +sub_8029c2bc: +/* 8029C2BC 0029921C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C2C0 00299220 7C 08 02 A6 */ mflr r0 +/* 8029C2C4 00299224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C2C8 00299228 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029C2CC 0029922C 7C 7F 1B 78 */ mr r31, r3 +/* 8029C2D0 00299230 93 C1 00 08 */ stw r30, 8(r1) +/* 8029C2D4 00299234 7C 9E 23 78 */ mr r30, r4 +/* 8029C2D8 00299238 48 00 00 10 */ b lbl_8029C2E8 +lbl_8029C2DC: +/* 8029C2DC 0029923C 7F E3 FB 78 */ mr r3, r31 +/* 8029C2E0 00299240 4B FF F3 21 */ bl sub_8029b600 +/* 8029C2E4 00299244 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029C2E8: +/* 8029C2E8 00299248 7C 1F F0 40 */ cmplw r31, r30 +/* 8029C2EC 0029924C 40 82 FF F0 */ bne lbl_8029C2DC +/* 8029C2F0 00299250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C2F4 00299254 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029C2F8 00299258 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029C2FC 0029925C 7C 08 03 A6 */ mtlr r0 +/* 8029C300 00299260 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C304 00299264 4E 80 00 20 */ blr + +.global sub_8029c308 +sub_8029c308: +/* 8029C308 00299268 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029C30C 0029926C 7C 08 02 A6 */ mflr r0 +/* 8029C310 00299270 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029C314 00299274 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029C318 00299278 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029C31C 0029927C 7C BE 2B 78 */ mr r30, r5 +/* 8029C320 00299280 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029C324 00299284 7C 9D 23 78 */ mr r29, r4 +/* 8029C328 00299288 83 E3 00 00 */ lwz r31, 0(r3) +/* 8029C32C 0029928C 48 00 00 B4 */ b lbl_8029C3E0 +lbl_8029C330: +/* 8029C330 00299290 28 1E 00 00 */ cmplwi r30, 0 +/* 8029C334 00299294 41 82 00 A4 */ beq lbl_8029C3D8 +/* 8029C338 00299298 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029C33C 0029929C 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C340 002992A0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029C344 002992A4 90 1E 00 08 */ stw r0, 8(r30) +/* 8029C348 002992A8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029C34C 002992AC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8029C350 002992B0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8029C354 002992B4 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C358 002992B8 40 82 00 1C */ bne lbl_8029C374 +/* 8029C35C 002992BC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029C360 002992C0 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C364 002992C4 40 82 00 10 */ bne lbl_8029C374 +/* 8029C368 002992C8 38 00 00 00 */ li r0, 0 +/* 8029C36C 002992CC 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029C370 002992D0 48 00 00 68 */ b lbl_8029C3D8 +lbl_8029C374: +/* 8029C374 002992D4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8029C378 002992D8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 8029C37C 002992DC 40 82 00 10 */ bne lbl_8029C38C +/* 8029C380 002992E0 38 00 00 00 */ li r0, 0 +/* 8029C384 002992E4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029C388 002992E8 48 00 00 1C */ b lbl_8029C3A4 +lbl_8029C38C: +/* 8029C38C 002992EC 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C390 002992F0 38 A0 00 00 */ li r5, 0 +/* 8029C394 002992F4 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C398 002992F8 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C39C 002992FC 48 07 94 7D */ bl __nwa__FUlPCcPCc +/* 8029C3A0 00299300 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_8029C3A4: +/* 8029C3A4 00299304 80 1E 00 08 */ lwz r0, 8(r30) +/* 8029C3A8 00299308 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8029C3AC 0029930C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8029C3B0 00299310 7C 09 03 A6 */ mtctr r0 +/* 8029C3B4 00299314 2C 00 00 00 */ cmpwi r0, 0 +/* 8029C3B8 00299318 40 81 00 20 */ ble lbl_8029C3D8 +lbl_8029C3BC: +/* 8029C3BC 0029931C 28 03 00 00 */ cmplwi r3, 0 +/* 8029C3C0 00299320 41 82 00 0C */ beq lbl_8029C3CC +/* 8029C3C4 00299324 80 04 00 00 */ lwz r0, 0(r4) +/* 8029C3C8 00299328 90 03 00 00 */ stw r0, 0(r3) +lbl_8029C3CC: +/* 8029C3CC 0029932C 38 63 00 04 */ addi r3, r3, 4 +/* 8029C3D0 00299330 38 84 00 04 */ addi r4, r4, 4 +/* 8029C3D4 00299334 42 00 FF E8 */ bdnz lbl_8029C3BC +lbl_8029C3D8: +/* 8029C3D8 00299338 3B DE 00 14 */ addi r30, r30, 0x14 +/* 8029C3DC 0029933C 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_8029C3E0: +/* 8029C3E0 00299340 80 1D 00 00 */ lwz r0, 0(r29) +/* 8029C3E4 00299344 7C 1F 00 40 */ cmplw r31, r0 +/* 8029C3E8 00299348 40 82 FF 48 */ bne lbl_8029C330 +/* 8029C3EC 0029934C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029C3F0 00299350 7F C3 F3 78 */ mr r3, r30 +/* 8029C3F4 00299354 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029C3F8 00299358 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029C3FC 0029935C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029C400 00299360 7C 08 03 A6 */ mtlr r0 +/* 8029C404 00299364 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029C408 00299368 4E 80 00 20 */ blr + +.global sub_8029c40c +sub_8029c40c: +/* 8029C40C 0029936C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029C410 00299370 7C 08 02 A6 */ mflr r0 +/* 8029C414 00299374 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029C418 00299378 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8029C41C 0029937C 7C 9F 23 78 */ mr r31, r4 +/* 8029C420 00299380 7C 7E 1B 78 */ mr r30, r3 +/* 8029C424 00299384 80 03 00 08 */ lwz r0, 8(r3) +/* 8029C428 00299388 7C 1F 00 00 */ cmpw r31, r0 +/* 8029C42C 0029938C 40 81 00 F0 */ ble lbl_8029C51C +/* 8029C430 00299390 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8029C434 00299394 40 82 00 0C */ bne lbl_8029C440 +/* 8029C438 00299398 3B A0 00 00 */ li r29, 0 +/* 8029C43C 0029939C 48 00 00 1C */ b lbl_8029C458 +lbl_8029C440: +/* 8029C440 002993A0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha +/* 8029C444 002993A4 38 A0 00 00 */ li r5, 0 +/* 8029C448 002993A8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l +/* 8029C44C 002993AC 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8029C450 002993B0 48 07 93 C9 */ bl __nwa__FUlPCcPCc +/* 8029C454 002993B4 7C 7D 1B 78 */ mr r29, r3 +lbl_8029C458: +/* 8029C458 002993B8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8029C45C 002993BC 7F A5 EB 78 */ mr r5, r29 +/* 8029C460 002993C0 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8029C464 002993C4 38 00 00 00 */ li r0, 0 +/* 8029C468 002993C8 54 63 18 38 */ slwi r3, r3, 3 +/* 8029C46C 002993CC 7C 86 1A 14 */ add r4, r6, r3 +/* 8029C470 002993D0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8029C474 002993D4 90 81 00 08 */ stw r4, 8(r1) +/* 8029C478 002993D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8029C47C 002993DC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8029C480 002993E0 48 00 00 28 */ b lbl_8029C4A8 +lbl_8029C484: +/* 8029C484 002993E4 28 05 00 00 */ cmplwi r5, 0 +/* 8029C488 002993E8 41 82 00 18 */ beq lbl_8029C4A0 +/* 8029C48C 002993EC 88 66 00 00 */ lbz r3, 0(r6) +/* 8029C490 002993F0 98 65 00 00 */ stb r3, 0(r5) +/* 8029C494 002993F4 80 66 00 04 */ lwz r3, 4(r6) +/* 8029C498 002993F8 90 65 00 04 */ stw r3, 4(r5) +/* 8029C49C 002993FC 98 06 00 00 */ stb r0, 0(r6) +lbl_8029C4A0: +/* 8029C4A0 00299400 38 A5 00 08 */ addi r5, r5, 8 +/* 8029C4A4 00299404 38 C6 00 08 */ addi r6, r6, 8 +lbl_8029C4A8: +/* 8029C4A8 00299408 7C 06 20 40 */ cmplw r6, r4 +/* 8029C4AC 0029940C 40 82 FF D8 */ bne lbl_8029C484 +/* 8029C4B0 00299410 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029C4B4 00299414 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8029C4B8 00299418 54 00 18 38 */ slwi r0, r0, 3 +/* 8029C4BC 0029941C 7F 9A 02 14 */ add r28, r26, r0 +/* 8029C4C0 00299420 48 00 00 3C */ b lbl_8029C4FC +lbl_8029C4C4: +/* 8029C4C4 00299424 28 1A 00 00 */ cmplwi r26, 0 +/* 8029C4C8 00299428 41 82 00 30 */ beq lbl_8029C4F8 +/* 8029C4CC 0029942C 88 1A 00 00 */ lbz r0, 0(r26) +/* 8029C4D0 00299430 28 00 00 00 */ cmplwi r0, 0 +/* 8029C4D4 00299434 41 82 00 24 */ beq lbl_8029C4F8 +/* 8029C4D8 00299438 83 7A 00 04 */ lwz r27, 4(r26) +/* 8029C4DC 0029943C 28 1B 00 00 */ cmplwi r27, 0 +/* 8029C4E0 00299440 41 82 00 18 */ beq lbl_8029C4F8 +/* 8029C4E4 00299444 7F 63 DB 78 */ mr r3, r27 +/* 8029C4E8 00299448 38 80 00 00 */ li r4, 0 +/* 8029C4EC 0029944C 48 0A 49 55 */ bl __dt__6CTokenFv +/* 8029C4F0 00299450 7F 63 DB 78 */ mr r3, r27 +/* 8029C4F4 00299454 48 07 94 3D */ bl Free__7CMemoryFPCv +lbl_8029C4F8: +/* 8029C4F8 00299458 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8029C4FC: +/* 8029C4FC 0029945C 7C 1A E0 40 */ cmplw r26, r28 +/* 8029C500 00299460 40 82 FF C4 */ bne lbl_8029C4C4 +/* 8029C504 00299464 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8029C508 00299468 28 03 00 00 */ cmplwi r3, 0 +/* 8029C50C 0029946C 41 82 00 08 */ beq lbl_8029C514 +/* 8029C510 00299470 48 07 94 21 */ bl Free__7CMemoryFPCv +lbl_8029C514: +/* 8029C514 00299474 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8029C518 00299478 93 FE 00 08 */ stw r31, 8(r30) +lbl_8029C51C: +/* 8029C51C 0029947C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8029C520 00299480 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029C524 00299484 7C 08 03 A6 */ mtlr r0 +/* 8029C528 00299488 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029C52C 0029948C 4E 80 00 20 */ blr + +.global sub_8029c530 +sub_8029c530: +/* 8029C530 00299490 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C534 00299494 7C 08 02 A6 */ mflr r0 +/* 8029C538 00299498 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C53C 0029949C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029C540 002994A0 88 01 00 08 */ lbz r0, 8(r1) +/* 8029C544 002994A4 98 01 00 0C */ stb r0, 0xc(r1) +/* 8029C548 002994A8 48 00 00 15 */ bl sub_8029c55c +/* 8029C54C 002994AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C550 002994B0 7C 08 03 A6 */ mtlr r0 +/* 8029C554 002994B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C558 002994B8 4E 80 00 20 */ blr + +.global sub_8029c55c +sub_8029c55c: +/* 8029C55C 002994BC 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029C560 002994C0 54 80 18 38 */ slwi r0, r4, 3 +/* 8029C564 002994C4 7C 05 02 14 */ add r0, r5, r0 +/* 8029C568 002994C8 90 03 00 00 */ stw r0, 0(r3) +/* 8029C56C 002994CC 4E 80 00 20 */ blr + +.global sub_8029c570 +sub_8029c570: +/* 8029C570 002994D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029C574 002994D4 7C 08 02 A6 */ mflr r0 +/* 8029C578 002994D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029C57C 002994DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029C580 002994E0 88 E1 00 08 */ lbz r7, 8(r1) +/* 8029C584 002994E4 80 C4 00 00 */ lwz r6, 0(r4) +/* 8029C588 002994E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029C58C 002994EC 80 03 00 00 */ lwz r0, 0(r3) +/* 8029C590 002994F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029C594 002994F4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8029C598 002994F8 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8029C59C 002994FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C5A0 00299500 48 00 00 15 */ bl sub_8029c5b4 +/* 8029C5A4 00299504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029C5A8 00299508 7C 08 03 A6 */ mtlr r0 +/* 8029C5AC 0029950C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029C5B0 00299510 4E 80 00 20 */ blr + +.global sub_8029c5b4 +sub_8029c5b4: +/* 8029C5B4 00299514 80 63 00 00 */ lwz r3, 0(r3) +/* 8029C5B8 00299518 80 04 00 00 */ lwz r0, 0(r4) +/* 8029C5BC 0029951C 7C 03 00 50 */ subf r0, r3, r0 +/* 8029C5C0 00299520 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8029C5C4 00299524 7C 60 01 94 */ addze r3, r0 +/* 8029C5C8 00299528 4E 80 00 20 */ blr + +.global __sinit_CSlideShow_cpp +__sinit_CSlideShow_cpp: +/* 8029C5CC 0029952C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C5D0 00299530 7C 08 02 A6 */ mflr r0 +/* 8029C5D4 00299534 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) +/* 8029C5D8 00299538 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 +/* 8029C5DC 0029953C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C5E0 00299540 FC 40 08 90 */ fmr f2, f1 +/* 8029C5E4 00299544 48 07 7C 1D */ bl __ct__9CVector2fFff +/* 8029C5E8 00299548 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C5EC 0029954C 7C 08 03 A6 */ mtlr r0 +/* 8029C5F0 00299550 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C5F4 00299554 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CBallCamera.s b/asm/Kyoto_CWD/Cameras/CBallCamera.s similarity index 100% rename from asm/Kyoto_CWD/CBallCamera.s rename to asm/Kyoto_CWD/Cameras/CBallCamera.s diff --git a/asm/Kyoto_CWD/CBallCameraFailsafeState.s b/asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.s similarity index 100% rename from asm/Kyoto_CWD/CBallCameraFailsafeState.s rename to asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.s diff --git a/asm/Kyoto_CWD/CCameraFilter.s b/asm/Kyoto_CWD/Cameras/CCameraFilter.s similarity index 100% rename from asm/Kyoto_CWD/CCameraFilter.s rename to asm/Kyoto_CWD/Cameras/CCameraFilter.s diff --git a/asm/Kyoto_CWD/CCameraHint.s b/asm/Kyoto_CWD/Cameras/CCameraHint.s similarity index 100% rename from asm/Kyoto_CWD/CCameraHint.s rename to asm/Kyoto_CWD/Cameras/CCameraHint.s diff --git a/asm/Kyoto_CWD/CCameraManager.s b/asm/Kyoto_CWD/Cameras/CCameraManager.s similarity index 100% rename from asm/Kyoto_CWD/CCameraManager.s rename to asm/Kyoto_CWD/Cameras/CCameraManager.s diff --git a/asm/Kyoto_CWD/CCameraShakeData.s b/asm/Kyoto_CWD/Cameras/CCameraShakeData.s similarity index 100% rename from asm/Kyoto_CWD/CCameraShakeData.s rename to asm/Kyoto_CWD/Cameras/CCameraShakeData.s diff --git a/asm/Kyoto_CWD/CCinematicCamera.s b/asm/Kyoto_CWD/Cameras/CCinematicCamera.s similarity index 100% rename from asm/Kyoto_CWD/CCinematicCamera.s rename to asm/Kyoto_CWD/Cameras/CCinematicCamera.s diff --git a/asm/Kyoto_CWD/CFirstPersonCamera.s b/asm/Kyoto_CWD/Cameras/CFirstPersonCamera.s similarity index 100% rename from asm/Kyoto_CWD/CFirstPersonCamera.s rename to asm/Kyoto_CWD/Cameras/CFirstPersonCamera.s diff --git a/asm/Kyoto_CWD/CGameCamera.s b/asm/Kyoto_CWD/Cameras/CGameCamera.s similarity index 100% rename from asm/Kyoto_CWD/CGameCamera.s rename to asm/Kyoto_CWD/Cameras/CGameCamera.s diff --git a/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s b/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s new file mode 100644 index 00000000..837eab28 --- /dev/null +++ b/asm/Kyoto_CWD/Cameras/CInterpolationCamera.s @@ -0,0 +1,1138 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80264FBC 00261F1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264FC0 00261F20 7C 08 02 A6 */ mflr r0 +/* 80264FC4 00261F24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264FC8 00261F28 A0 05 00 00 */ lhz r0, 0(r5) +/* 80264FCC 00261F2C 38 A1 00 08 */ addi r5, r1, 8 +/* 80264FD0 00261F30 B0 01 00 08 */ sth r0, 8(r1) +/* 80264FD4 00261F34 4B DF 63 75 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80264FD8 00261F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80264FDC 00261F3C 7C 08 03 A6 */ mtlr r0 +/* 80264FE0 00261F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264FE4 00261F44 4E 80 00 20 */ blr + +.global Render__20CInterpolationCameraCFRC13CStateManager +Render__20CInterpolationCameraCFRC13CStateManager: +/* 80264FE8 00261F48 4E 80 00 20 */ blr + +.global Accept__20CInterpolationCameraFR8IVisitor +Accept__20CInterpolationCameraFR8IVisitor: +/* 80264FEC 00261F4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264FF0 00261F50 7C 08 02 A6 */ mflr r0 +/* 80264FF4 00261F54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264FF8 00261F58 7C 60 1B 78 */ mr r0, r3 +/* 80264FFC 00261F5C 7C 83 23 78 */ mr r3, r4 +/* 80265000 00261F60 81 84 00 00 */ lwz r12, 0(r4) +/* 80265004 00261F64 7C 04 03 78 */ mr r4, r0 +/* 80265008 00261F68 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8026500C 00261F6C 7D 89 03 A6 */ mtctr r12 +/* 80265010 00261F70 4E 80 04 21 */ bctrl +/* 80265014 00261F74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80265018 00261F78 7C 08 03 A6 */ mtlr r0 +/* 8026501C 00261F7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80265020 00261F80 4E 80 00 20 */ blr + +.global ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager +ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager: +/* 80265024 00261F84 4E 80 00 20 */ blr + +.global Think__20CInterpolationCameraFfR13CStateManager +Think__20CInterpolationCameraFfR13CStateManager: +/* 80265028 00261F88 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8026502C 00261F8C 7C 08 02 A6 */ mflr r0 +/* 80265030 00261F90 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80265034 00261F94 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 80265038 00261F98 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8026503C 00261F9C DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 80265040 00261FA0 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 80265044 00261FA4 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 80265048 00261FA8 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8026504C 00261FAC DB 81 00 B0 */ stfd f28, 0xb0(r1) +/* 80265050 00261FB0 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 +/* 80265054 00261FB4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80265058 00261FB8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8026505C 00261FBC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80265060 00261FC0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80265064 00261FC4 FF E0 08 90 */ fmr f31, f1 +/* 80265068 00261FC8 7C 7E 1B 78 */ mr r30, r3 +/* 8026506C 00261FCC 7C 9F 23 78 */ mr r31, r4 +/* 80265070 00261FD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80265074 00261FD4 41 82 02 64 */ beq lbl_802652D8 +/* 80265078 00261FD8 80 DF 08 70 */ lwz r6, 0x870(r31) +/* 8026507C 00261FDC 38 A0 00 01 */ li r5, 1 +/* 80265080 00261FE0 80 C6 00 80 */ lwz r6, 0x80(r6) +/* 80265084 00261FE4 C0 06 01 5C */ lfs f0, 0x15c(r6) +/* 80265088 00261FE8 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8026508C 00261FEC 88 1E 01 70 */ lbz r0, 0x170(r30) +/* 80265090 00261FF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80265094 00261FF4 98 1E 01 70 */ stb r0, 0x170(r30) +/* 80265098 00261FF8 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8026509C 00261FFC 80 05 02 F8 */ lwz r0, 0x2f8(r5) +/* 802650A0 00262000 2C 00 00 03 */ cmpwi r0, 3 +/* 802650A4 00262004 40 82 00 08 */ bne lbl_802650AC +/* 802650A8 00262008 48 00 02 6D */ bl sub_80265314 +lbl_802650AC: +/* 802650AC 0026200C C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 802650B0 00262010 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802650B4 00262014 D0 1E 01 8C */ stfs f0, 0x18c(r30) +/* 802650B8 00262018 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 802650BC 0026201C C0 3E 01 90 */ lfs f1, 0x190(r30) +/* 802650C0 00262020 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802650C4 00262024 40 81 00 08 */ ble lbl_802650CC +/* 802650C8 00262028 D0 3E 01 8C */ stfs f1, 0x18c(r30) +lbl_802650CC: +/* 802650CC 0026202C 38 61 00 6C */ addi r3, r1, 0x6c +/* 802650D0 00262030 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802650D4 00262034 48 0A DA A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802650D8 00262038 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 802650DC 0026203C 7F E3 FB 78 */ mr r3, r31 +/* 802650E0 00262040 38 81 00 10 */ addi r4, r1, 0x10 +/* 802650E4 00262044 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802650E8 00262048 4B DE 74 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802650EC 0026204C 7C 64 1B 78 */ mr r4, r3 +/* 802650F0 00262050 38 61 00 1C */ addi r3, r1, 0x1c +/* 802650F4 00262054 4B E4 8C F5 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" +/* 802650F8 00262058 80 63 00 04 */ lwz r3, 4(r3) +/* 802650FC 0026205C 28 03 00 00 */ cmplwi r3, 0 +/* 80265100 00262060 40 82 00 14 */ bne lbl_80265114 +/* 80265104 00262064 7F C3 F3 78 */ mr r3, r30 +/* 80265108 00262068 7F E4 FB 78 */ mr r4, r31 +/* 8026510C 0026206C 48 00 02 09 */ bl sub_80265314 +/* 80265110 00262070 48 00 01 C8 */ b lbl_802652D8 +lbl_80265114: +/* 80265114 00262074 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80265118 00262078 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8026511C 0026207C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80265120 00262080 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80265124 00262084 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80265128 00262088 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8026512C 0026208C 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80265130 00262090 80 64 00 80 */ lwz r3, 0x80(r4) +/* 80265134 00262094 C0 03 01 D8 */ lfs f0, 0x1d8(r3) +/* 80265138 00262098 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8026513C 0026209C C0 03 01 DC */ lfs f0, 0x1dc(r3) +/* 80265140 002620A0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265144 002620A4 C0 03 01 E0 */ lfs f0, 0x1e0(r3) +/* 80265148 002620A8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8026514C 002620AC 80 03 01 88 */ lwz r0, 0x188(r3) +/* 80265150 002620B0 2C 00 00 08 */ cmpwi r0, 8 +/* 80265154 002620B4 41 82 00 08 */ beq lbl_8026515C +/* 80265158 002620B8 48 00 00 C4 */ b lbl_8026521C +lbl_8026515C: +/* 8026515C 002620BC 38 61 00 08 */ addi r3, r1, 8 +/* 80265160 002620C0 4B DA 40 A5 */ bl GetSpindleCameraId__14CCameraManagerCFv +/* 80265164 002620C4 A0 01 00 08 */ lhz r0, 8(r1) +/* 80265168 002620C8 7F E3 FB 78 */ mr r3, r31 +/* 8026516C 002620CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80265170 002620D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80265174 002620D4 4B DE 74 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80265178 002620D8 7C 64 1B 78 */ mr r4, r3 +/* 8026517C 002620DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80265180 002620E0 4B E4 0D A5 */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" +/* 80265184 002620E4 83 A3 00 04 */ lwz r29, 4(r3) +/* 80265188 002620E8 28 1D 00 00 */ cmplwi r29, 0 +/* 8026518C 002620EC 41 82 00 90 */ beq lbl_8026521C +/* 80265190 002620F0 C3 9D 00 60 */ lfs f28, 0x60(r29) +/* 80265194 002620F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265198 002620F8 C3 BD 00 50 */ lfs f29, 0x50(r29) +/* 8026519C 002620FC C3 DD 00 40 */ lfs f30, 0x40(r29) +/* 802651A0 00262100 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 802651A4 00262104 48 01 FB A5 */ bl GetBallPosition__7CPlayerCFv +/* 802651A8 00262108 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802651AC 0026210C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802651B0 00262110 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802651B4 00262114 EC 40 E0 28 */ fsubs f2, f0, f28 +/* 802651B8 00262118 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802651BC 0026211C EC 21 F0 28 */ fsubs f1, f1, f30 +/* 802651C0 00262120 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 802651C4 00262124 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802651C8 00262128 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802651CC 0026212C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802651D0 00262130 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802651D4 00262134 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802651D8 00262138 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802651DC 0026213C 48 0A F6 DD */ bl Magnitude__9CVector3fCFv +/* 802651E0 00262140 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 802651E4 00262144 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 802651E8 00262148 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 802651EC 0026214C EC 81 00 F2 */ fmuls f4, f1, f3 +/* 802651F0 00262150 C0 BD 00 50 */ lfs f5, 0x50(r29) +/* 802651F4 00262154 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 802651F8 00262158 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 802651FC 0026215C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265200 00262160 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80265204 00262164 EC 85 20 2A */ fadds f4, f5, f4 +/* 80265208 00262168 EC 43 10 2A */ fadds f2, f3, f2 +/* 8026520C 0026216C EC 01 00 2A */ fadds f0, f1, f0 +/* 80265210 00262170 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80265214 00262174 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80265218 00262178 D0 41 00 5C */ stfs f2, 0x5c(r1) +lbl_8026521C: +/* 8026521C 0026217C 88 1E 01 D8 */ lbz r0, 0x1d8(r30) +/* 80265220 00262180 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80265224 00262184 41 82 00 40 */ beq lbl_80265264 +/* 80265228 00262188 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 8026522C 0026218C 7F C3 F3 78 */ mr r3, r30 +/* 80265230 00262190 80 E1 00 58 */ lwz r7, 0x58(r1) +/* 80265234 00262194 38 81 00 6C */ addi r4, r1, 0x6c +/* 80265238 00262198 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8026523C 0026219C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80265240 002621A0 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80265244 002621A4 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80265248 002621A8 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8026524C 002621AC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80265250 002621B0 C0 3E 01 90 */ lfs f1, 0x190(r30) +/* 80265254 002621B4 C0 5E 01 8C */ lfs f2, 0x18c(r30) +/* 80265258 002621B8 48 00 02 81 */ bl InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff +/* 8026525C 002621BC 7C 7D 1B 78 */ mr r29, r3 +/* 80265260 002621C0 48 00 00 30 */ b lbl_80265290 +lbl_80265264: +/* 80265264 002621C4 FC 60 F8 90 */ fmr f3, f31 +/* 80265268 002621C8 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 8026526C 002621CC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) +/* 80265270 002621D0 7F C3 F3 78 */ mr r3, r30 +/* 80265274 002621D4 C0 9E 01 90 */ lfs f4, 0x190(r30) +/* 80265278 002621D8 38 81 00 6C */ addi r4, r1, 0x6c +/* 8026527C 002621DC C0 BE 01 8C */ lfs f5, 0x18c(r30) +/* 80265280 002621E0 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80265284 002621E4 38 C1 00 54 */ addi r6, r1, 0x54 +/* 80265288 002621E8 48 00 06 39 */ bl InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff +/* 8026528C 002621EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80265290: +/* 80265290 002621F0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80265294 002621F4 38 81 00 6C */ addi r4, r1, 0x6c +/* 80265298 002621F8 48 0A D8 A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8026529C 002621FC 88 7E 00 E4 */ lbz r3, 0xe4(r30) +/* 802652A0 00262200 38 80 00 01 */ li r4, 1 +/* 802652A4 00262204 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 802652A8 00262208 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802652AC 0026220C 98 7E 00 E4 */ stb r3, 0xe4(r30) +/* 802652B0 00262210 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 802652B4 00262214 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802652B8 00262218 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 802652BC 0026221C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 802652C0 00262220 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 802652C4 00262224 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 802652C8 00262228 41 82 00 10 */ beq lbl_802652D8 +/* 802652CC 0026222C 7F C3 F3 78 */ mr r3, r30 +/* 802652D0 00262230 7F E4 FB 78 */ mr r4, r31 +/* 802652D4 00262234 48 00 00 41 */ bl sub_80265314 +lbl_802652D8: +/* 802652D8 00262238 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802652DC 0026223C CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802652E0 00262240 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802652E4 00262244 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802652E8 00262248 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802652EC 0026224C CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802652F0 00262250 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 +/* 802652F4 00262254 CB 81 00 B0 */ lfd f28, 0xb0(r1) +/* 802652F8 00262258 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802652FC 0026225C 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80265300 00262260 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80265304 00262264 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80265308 00262268 7C 08 03 A6 */ mtlr r0 +/* 8026530C 0026226C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80265310 00262270 4E 80 00 20 */ blr + +.global sub_80265314 +sub_80265314: +/* 80265314 00262274 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80265318 00262278 7C 08 02 A6 */ mflr r0 +/* 8026531C 0026227C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80265320 00262280 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80265324 00262284 7C 9F 23 78 */ mr r31, r4 +/* 80265328 00262288 38 80 00 00 */ li r4, 0 +/* 8026532C 0026228C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80265330 00262290 7C 7E 1B 78 */ mr r30, r3 +/* 80265334 00262294 81 83 00 00 */ lwz r12, 0(r3) +/* 80265338 00262298 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8026533C 0026229C 7D 89 03 A6 */ mtctr r12 +/* 80265340 002622A0 4E 80 04 21 */ bctrl +/* 80265344 002622A4 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80265348 002622A8 4B DA 55 85 */ bl ShouldBypassInterpolationCamera__14CCameraManagerCFv +/* 8026534C 002622AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265350 002622B0 40 82 00 18 */ bne lbl_80265368 +/* 80265354 002622B4 A0 1E 01 88 */ lhz r0, 0x188(r30) +/* 80265358 002622B8 38 81 00 08 */ addi r4, r1, 8 +/* 8026535C 002622BC B0 01 00 08 */ sth r0, 8(r1) +/* 80265360 002622C0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80265364 002622C4 4B DA 67 61 */ bl SetCurrentCameraId__14CCameraManagerF9TUniqueIdR13CStateManager +lbl_80265368: +/* 80265368 002622C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026536C 002622CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80265370 002622D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80265374 002622D4 7C 08 03 A6 */ mtlr r0 +/* 80265378 002622D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026537C 002622DC 4E 80 00 20 */ blr + +.global SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager +SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager: +/* 80265380 002622E0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80265384 002622E4 7C 08 02 A6 */ mflr r0 +/* 80265388 002622E8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026538C 002622EC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80265390 002622F0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80265394 002622F4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80265398 002622F8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8026539C 002622FC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802653A0 00262300 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802653A4 00262304 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802653A8 00262308 81 83 00 00 */ lwz r12, 0(r3) +/* 802653AC 0026230C 7C 9A 23 78 */ mr r26, r4 +/* 802653B0 00262310 FF A0 08 90 */ fmr f29, f1 +/* 802653B4 00262314 7C 7F 1B 78 */ mr r31, r3 +/* 802653B8 00262318 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802653BC 0026231C FF C0 10 90 */ fmr f30, f2 +/* 802653C0 00262320 FF E0 18 90 */ fmr f31, f3 +/* 802653C4 00262324 7C BB 2B 78 */ mr r27, r5 +/* 802653C8 00262328 7C DC 33 78 */ mr r28, r6 +/* 802653CC 0026232C 7C FD 3B 78 */ mr r29, r7 +/* 802653D0 00262330 7D 1E 43 78 */ mr r30, r8 +/* 802653D4 00262334 38 80 00 01 */ li r4, 1 +/* 802653D8 00262338 7D 89 03 A6 */ mtctr r12 +/* 802653DC 0026233C 4E 80 04 21 */ bctrl +/* 802653E0 00262340 7F 44 D3 78 */ mr r4, r26 +/* 802653E4 00262344 38 7F 00 34 */ addi r3, r31, 0x34 +/* 802653E8 00262348 48 0A D7 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802653EC 0026234C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 802653F0 00262350 38 A0 00 01 */ li r5, 1 +/* 802653F4 00262354 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802653F8 00262358 7F 44 D3 78 */ mr r4, r26 +/* 802653FC 0026235C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80265400 00262360 38 7F 01 94 */ addi r3, r31, 0x194 +/* 80265404 00262364 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80265408 00262368 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8026540C 0026236C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80265410 00262370 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80265414 00262374 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80265418 00262378 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8026541C 0026237C 48 0A D7 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265420 00262380 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80265424 00262384 7F C3 F3 78 */ mr r3, r30 +/* 80265428 00262388 C0 22 BA 98 */ lfs f1, lbl_805AD7B8@sda21(r2) +/* 8026542C 0026238C 38 81 00 08 */ addi r4, r1, 8 +/* 80265430 00262390 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 80265434 00262394 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265438 00262398 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8026543C 0026239C D0 5F 01 C8 */ stfs f2, 0x1c8(r31) +/* 80265440 002623A0 C0 5B 00 08 */ lfs f2, 8(r27) +/* 80265444 002623A4 D0 5F 01 CC */ stfs f2, 0x1cc(r31) +/* 80265448 002623A8 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8026544C 002623AC B0 1F 01 88 */ sth r0, 0x188(r31) +/* 80265450 002623B0 88 1F 01 D8 */ lbz r0, 0x1d8(r31) +/* 80265454 002623B4 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 80265458 002623B8 98 1F 01 D8 */ stb r0, 0x1d8(r31) +/* 8026545C 002623BC D3 BF 01 90 */ stfs f29, 0x190(r31) +/* 80265460 002623C0 D3 DF 01 D0 */ stfs f30, 0x1d0(r31) +/* 80265464 002623C4 D3 FF 01 D4 */ stfs f31, 0x1d4(r31) +/* 80265468 002623C8 D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8026546C 002623CC D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80265470 002623D0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80265474 002623D4 B0 01 00 08 */ sth r0, 8(r1) +/* 80265478 002623D8 4B DE 71 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8026547C 002623DC 7C 64 1B 78 */ mr r4, r3 +/* 80265480 002623E0 38 61 00 0C */ addi r3, r1, 0xc +/* 80265484 002623E4 4B E4 89 65 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" +/* 80265488 002623E8 80 63 00 04 */ lwz r3, 4(r3) +/* 8026548C 002623EC 28 03 00 00 */ cmplwi r3, 0 +/* 80265490 002623F0 41 82 00 1C */ beq lbl_802654AC +/* 80265494 002623F4 C0 03 01 5C */ lfs f0, 0x15c(r3) +/* 80265498 002623F8 38 60 00 01 */ li r3, 1 +/* 8026549C 002623FC D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 802654A0 00262400 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 802654A4 00262404 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802654A8 00262408 98 1F 01 70 */ stb r0, 0x170(r31) +lbl_802654AC: +/* 802654AC 0026240C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802654B0 00262410 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802654B4 00262414 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802654B8 00262418 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802654BC 0026241C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802654C0 00262420 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802654C4 00262424 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802654C8 00262428 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802654CC 0026242C 7C 08 03 A6 */ mtlr r0 +/* 802654D0 00262430 38 21 00 60 */ addi r1, r1, 0x60 +/* 802654D4 00262434 4E 80 00 20 */ blr + +.global InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff +InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff: +/* 802654D8 00262438 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802654DC 0026243C 7C 08 02 A6 */ mflr r0 +/* 802654E0 00262440 90 01 01 84 */ stw r0, 0x184(r1) +/* 802654E4 00262444 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802654E8 00262448 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802654EC 0026244C DB C1 01 60 */ stfd f30, 0x160(r1) +/* 802654F0 00262450 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 802654F4 00262454 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 802654F8 00262458 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 802654FC 0026245C DB 81 01 40 */ stfd f28, 0x140(r1) +/* 80265500 00262460 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80265504 00262464 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 80265508 00262468 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8026550C 0026246C 93 A1 01 34 */ stw r29, 0x134(r1) +/* 80265510 00262470 93 81 01 30 */ stw r28, 0x130(r1) +/* 80265514 00262474 FF 80 08 90 */ fmr f28, f1 +/* 80265518 00262478 7C 7C 1B 78 */ mr r28, r3 +/* 8026551C 0026247C FF A0 10 90 */ fmr f29, f2 +/* 80265520 00262480 7C 9D 23 78 */ mr r29, r4 +/* 80265524 00262484 7C BE 2B 78 */ mr r30, r5 +/* 80265528 00262488 7C DF 33 78 */ mr r31, r6 +/* 8026552C 0026248C FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 80265530 00262490 40 81 00 08 */ ble lbl_80265538 +/* 80265534 00262494 FF A0 E0 90 */ fmr f29, f28 +lbl_80265538: +/* 80265538 00262498 EF DD E0 24 */ fdivs f30, f29, f28 +/* 8026553C 0026249C C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265540 002624A0 FC 20 F2 10 */ fabs f1, f30 +/* 80265544 002624A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265548 002624A8 40 81 00 14 */ ble lbl_8026555C +/* 8026554C 002624AC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265550 002624B0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265554 002624B4 FC 1E 00 6E */ fsel f0, f30, f1, f0 +/* 80265558 002624B8 EF C1 00 32 */ fmuls f30, f1, f0 +lbl_8026555C: +/* 8026555C 002624BC C0 02 BA B0 */ lfs f0, lbl_805AD7D0@sda21(r2) +/* 80265560 002624C0 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80265564 002624C4 48 12 F5 79 */ bl sin +/* 80265568 002624C8 FC 40 08 18 */ frsp f2, f1 +/* 8026556C 002624CC C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265570 002624D0 FC 20 12 10 */ fabs f1, f2 +/* 80265574 002624D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265578 002624D8 40 81 00 14 */ ble lbl_8026558C +/* 8026557C 002624DC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265580 002624E0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265584 002624E4 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80265588 002624E8 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_8026558C: +/* 8026558C 002624EC C0 22 BA B4 */ lfs f1, lbl_805AD7D4@sda21(r2) +/* 80265590 002624F0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80265594 002624F4 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80265598 002624F8 EF C1 07 B2 */ fmuls f30, f1, f30 +/* 8026559C 002624FC C0 FE 00 00 */ lfs f7, 0(r30) +/* 802655A0 00262500 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 802655A4 00262504 C1 1E 00 04 */ lfs f8, 4(r30) +/* 802655A8 00262508 EC A0 38 28 */ fsubs f5, f0, f7 +/* 802655AC 0026250C EC 5E 10 28 */ fsubs f2, f30, f2 +/* 802655B0 00262510 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) +/* 802655B4 00262514 EC 81 40 28 */ fsubs f4, f1, f8 +/* 802655B8 00262518 C0 3C 00 60 */ lfs f1, 0x60(r28) +/* 802655BC 0026251C EC C0 10 28 */ fsubs f6, f0, f2 +/* 802655C0 00262520 C1 3E 00 08 */ lfs f9, 8(r30) +/* 802655C4 00262524 C0 5F 00 04 */ lfs f2, 4(r31) +/* 802655C8 00262528 EC 61 48 28 */ fsubs f3, f1, f9 +/* 802655CC 0026252C C0 3F 00 08 */ lfs f1, 8(r31) +/* 802655D0 00262530 EC A6 01 72 */ fmuls f5, f6, f5 +/* 802655D4 00262534 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802655D8 00262538 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802655DC 0026253C EC 66 00 F2 */ fmuls f3, f6, f3 +/* 802655E0 00262540 EC A7 28 2A */ fadds f5, f7, f5 +/* 802655E4 00262544 EC 88 20 2A */ fadds f4, f8, f4 +/* 802655E8 00262548 EC 69 18 2A */ fadds f3, f9, f3 +/* 802655EC 0026254C EC 00 28 28 */ fsubs f0, f0, f5 +/* 802655F0 00262550 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802655F4 00262554 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802655F8 00262558 EC 21 18 28 */ fsubs f1, f1, f3 +/* 802655FC 0026255C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 80265600 00262560 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 80265604 00262564 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80265608 00262568 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8026560C 0026256C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80265610 00262570 48 0A F0 E9 */ bl CanBeNormalized__9CVector3fCFv +/* 80265614 00262574 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265618 00262578 41 82 00 10 */ beq lbl_80265628 +/* 8026561C 0026257C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80265620 00262580 48 0A F2 D9 */ bl Normalize__9CVector3fFv +/* 80265624 00262584 48 00 00 1C */ b lbl_80265640 +lbl_80265628: +/* 80265628 00262588 C0 5C 00 58 */ lfs f2, 0x58(r28) +/* 8026562C 0026258C C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265630 00262590 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 80265634 00262594 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80265638 00262598 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 8026563C 0026259C D0 41 00 88 */ stfs f2, 0x88(r1) +lbl_80265640: +/* 80265640 002625A0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265644 002625A4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265648 002625A8 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8026564C 002625AC C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265650 002625B0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80265654 002625B4 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265658 002625B8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8026565C 002625BC D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80265660 002625C0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80265664 002625C4 48 0A F0 95 */ bl CanBeNormalized__9CVector3fCFv +/* 80265668 002625C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026566C 002625CC 41 82 01 E0 */ beq lbl_8026584C +/* 80265670 002625D0 C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265674 002625D4 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265678 002625D8 C0 5C 00 38 */ lfs f2, 0x38(r28) +/* 8026567C 002625DC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265680 002625E0 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80265684 002625E4 C0 9C 00 58 */ lfs f4, 0x58(r28) +/* 80265688 002625E8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 8026568C 002625EC EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80265690 002625F0 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265694 002625F4 EF E4 08 FA */ fmadds f31, f4, f3, f1 +/* 80265698 002625F8 FC 20 FA 10 */ fabs f1, f31 +/* 8026569C 002625FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802656A0 00262600 40 81 00 14 */ ble lbl_802656B4 +/* 802656A4 00262604 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802656A8 00262608 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 802656AC 0026260C FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 802656B0 00262610 EF E1 00 32 */ fmuls f31, f1, f0 +lbl_802656B4: +/* 802656B4 00262614 FC 20 F8 90 */ fmr f1, f31 +/* 802656B8 00262618 48 12 F5 75 */ bl acos +/* 802656BC 0026261C FC 40 F2 10 */ fabs f2, f30 +/* 802656C0 00262620 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 802656C4 00262624 FC 20 08 18 */ frsp f1, f1 +/* 802656C8 00262628 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802656CC 0026262C 40 81 00 14 */ ble lbl_802656E0 +/* 802656D0 00262630 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802656D4 00262634 C0 42 BA AC */ lfs f2, lbl_805AD7CC@sda21(r2) +/* 802656D8 00262638 FC 1E 00 AE */ fsel f0, f30, f2, f0 +/* 802656DC 0026263C EF C2 00 32 */ fmuls f30, f2, f0 +lbl_802656E0: +/* 802656E0 00262640 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) +/* 802656E4 00262644 C0 5C 01 DC */ lfs f2, 0x1dc(r28) +/* 802656E8 00262648 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802656EC 0026264C EF C1 00 32 */ fmuls f30, f1, f0 +/* 802656F0 00262650 FC 1E 10 40 */ fcmpo cr0, f30, f2 +/* 802656F4 00262654 40 81 00 0C */ ble lbl_80265700 +/* 802656F8 00262658 FF C0 10 90 */ fmr f30, f2 +/* 802656FC 0026265C 48 00 00 08 */ b lbl_80265704 +lbl_80265700: +/* 80265700 00262660 D3 DC 01 DC */ stfs f30, 0x1dc(r28) +lbl_80265704: +/* 80265704 00262664 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 80265708 00262668 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8026570C 0026266C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265710 00262670 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80265714 00262674 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 80265718 00262678 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8026571C 0026267C EC 81 00 2A */ fadds f4, f1, f0 +/* 80265720 00262680 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 80265724 00262684 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80265728 00262688 38 81 00 8C */ addi r4, r1, 0x8c +/* 8026572C 0026268C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265730 00262690 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265734 00262694 EC 01 00 2A */ fadds f0, f1, f0 +/* 80265738 00262698 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 8026573C 0026269C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80265740 002626A0 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80265744 002626A4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265748 002626A8 48 0A E3 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8026574C 002626AC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265750 002626B0 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80265754 002626B4 48 0A D4 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265758 002626B8 FC 20 FA 10 */ fabs f1, f31 +/* 8026575C 002626BC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) +/* 80265760 002626C0 FC 20 08 18 */ frsp f1, f1 +/* 80265764 002626C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265768 002626C8 40 80 00 D4 */ bge lbl_8026583C +/* 8026576C 002626CC D3 C1 00 08 */ stfs f30, 8(r1) +/* 80265770 002626D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265774 002626D4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80265778 002626D8 C0 5C 00 58 */ lfs f2, 0x58(r28) +/* 8026577C 002626DC C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 80265780 002626E0 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 80265784 002626E4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80265788 002626E8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8026578C 002626EC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80265790 002626F0 48 0A E6 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265794 002626F4 7C 7F 1B 78 */ mr r31, r3 +/* 80265798 002626F8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8026579C 002626FC 38 81 00 80 */ addi r4, r1, 0x80 +/* 802657A0 00262700 48 0A E6 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802657A4 00262704 7C 64 1B 78 */ mr r4, r3 +/* 802657A8 00262708 7F E5 FB 78 */ mr r5, r31 +/* 802657AC 0026270C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802657B0 00262710 38 C1 00 08 */ addi r6, r1, 8 +/* 802657B4 00262714 48 0A BE E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 802657B8 00262718 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802657BC 0026271C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802657C0 00262720 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802657C4 00262724 38 81 00 64 */ addi r4, r1, 0x64 +/* 802657C8 00262728 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802657CC 0026272C 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802657D0 00262730 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802657D4 00262734 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802657D8 00262738 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802657DC 0026273C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802657E0 00262740 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802657E4 00262744 48 0A BA 81 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 802657E8 00262748 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802657EC 0026274C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802657F0 00262750 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802657F4 00262754 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802657F8 00262758 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 802657FC 0026275C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80265800 00262760 EC 81 00 2A */ fadds f4, f1, f0 +/* 80265804 00262764 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80265808 00262768 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 8026580C 0026276C 38 81 00 8C */ addi r4, r1, 0x8c +/* 80265810 00262770 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80265814 00262774 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265818 00262778 EC 01 00 2A */ fadds f0, f1, f0 +/* 8026581C 0026277C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80265820 00262780 38 A1 00 0C */ addi r5, r1, 0xc +/* 80265824 00262784 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80265828 00262788 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8026582C 0026278C 48 0A E2 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80265830 00262790 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265834 00262794 38 81 00 98 */ addi r4, r1, 0x98 +/* 80265838 00262798 48 0A D3 09 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8026583C: +/* 8026583C 0026279C 7F A3 EB 78 */ mr r3, r29 +/* 80265840 002627A0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80265844 002627A4 48 0A D2 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265848 002627A8 48 00 00 28 */ b lbl_80265870 +lbl_8026584C: +/* 8026584C 002627AC 7F A3 EB 78 */ mr r3, r29 +/* 80265850 002627B0 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80265854 002627B4 48 0A D2 ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265858 002627B8 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8026585C 002627BC D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80265860 002627C0 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80265864 002627C4 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80265868 002627C8 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8026586C 002627CC D0 1D 00 2C */ stfs f0, 0x2c(r29) +lbl_80265870: +/* 80265870 002627D0 FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 80265874 002627D4 4C 41 13 82 */ cror 2, 1, 2 +/* 80265878 002627D8 7C 00 00 26 */ mfcr r0 +/* 8026587C 002627DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80265880 002627E0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80265884 002627E4 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80265888 002627E8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8026588C 002627EC CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80265890 002627F0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80265894 002627F4 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80265898 002627F8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8026589C 002627FC CB 81 01 40 */ lfd f28, 0x140(r1) +/* 802658A0 00262800 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 802658A4 00262804 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 802658A8 00262808 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 802658AC 0026280C 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802658B0 00262810 83 81 01 30 */ lwz r28, 0x130(r1) +/* 802658B4 00262814 7C 08 03 A6 */ mtlr r0 +/* 802658B8 00262818 38 21 01 80 */ addi r1, r1, 0x180 +/* 802658BC 0026281C 4E 80 00 20 */ blr + +.global InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff +InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff: +/* 802658C0 00262820 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 802658C4 00262824 7C 08 02 A6 */ mflr r0 +/* 802658C8 00262828 90 01 02 04 */ stw r0, 0x204(r1) +/* 802658CC 0026282C DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 802658D0 00262830 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 802658D4 00262834 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 802658D8 00262838 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 802658DC 0026283C DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 802658E0 00262840 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 802658E4 00262844 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 802658E8 00262848 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 802658EC 0026284C DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 802658F0 00262850 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 802658F4 00262854 DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 802658F8 00262858 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 802658FC 0026285C BF 41 01 88 */ stmw r26, 0x188(r1) +/* 80265900 00262860 7C 9B 23 78 */ mr r27, r4 +/* 80265904 00262864 7C BF 2B 78 */ mr r31, r5 +/* 80265908 00262868 C1 05 00 04 */ lfs f8, 4(r5) +/* 8026590C 0026286C FF 80 18 90 */ fmr f28, f3 +/* 80265910 00262870 C0 E4 00 1C */ lfs f7, 0x1c(r4) +/* 80265914 00262874 7C 7A 1B 78 */ mr r26, r3 +/* 80265918 00262878 C0 C5 00 08 */ lfs f6, 8(r5) +/* 8026591C 0026287C FF 60 10 90 */ fmr f27, f2 +/* 80265920 00262880 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 80265924 00262884 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80265928 00262888 ED 08 38 28 */ fsubs f8, f8, f7 +/* 8026592C 0026288C C0 45 00 00 */ lfs f2, 0(r5) +/* 80265930 00262890 EC C6 18 28 */ fsubs f6, f6, f3 +/* 80265934 00262894 FF A0 20 90 */ fmr f29, f4 +/* 80265938 00262898 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8026593C 0026289C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80265940 002628A0 FF C0 28 90 */ fmr f30, f5 +/* 80265944 002628A4 D1 01 00 90 */ stfs f8, 0x90(r1) +/* 80265948 002628A8 EF E1 07 32 */ fmuls f31, f1, f28 +/* 8026594C 002628AC D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80265950 002628B0 7C DC 33 78 */ mr r28, r6 +/* 80265954 002628B4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80265958 002628B8 D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 8026595C 002628BC 3B C0 00 00 */ li r30, 0 +/* 80265960 002628C0 3B A0 00 00 */ li r29, 0 +/* 80265964 002628C4 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 80265968 002628C8 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8026596C 002628CC 48 0A ED 8D */ bl CanBeNormalized__9CVector3fCFv +/* 80265970 002628D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265974 002628D4 41 82 00 B8 */ beq lbl_80265A2C +/* 80265978 002628D8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8026597C 002628DC 48 0A EF 3D */ bl Magnitude__9CVector3fCFv +/* 80265980 002628E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80265984 002628E4 40 81 00 A8 */ ble lbl_80265A2C +/* 80265988 002628E8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8026598C 002628EC 48 0A EF 2D */ bl Magnitude__9CVector3fCFv +/* 80265990 002628F0 FF 40 08 90 */ fmr f26, f1 +/* 80265994 002628F4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80265998 002628F8 48 0A EF 61 */ bl Normalize__9CVector3fFv +/* 8026599C 002628FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) +/* 802659A0 00262900 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 802659A4 00262904 EC 5A 08 24 */ fdivs f2, f26, f1 +/* 802659A8 00262908 FC 20 12 10 */ fabs f1, f2 +/* 802659AC 0026290C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802659B0 00262910 40 81 00 14 */ ble lbl_802659C4 +/* 802659B4 00262914 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 802659B8 00262918 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 802659BC 0026291C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 802659C0 00262920 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_802659C4: +/* 802659C4 00262924 EC C2 07 F2 */ fmuls f6, f2, f31 +/* 802659C8 00262928 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 802659CC 0026292C C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802659D0 00262930 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 802659D4 00262934 EC A6 00 B2 */ fmuls f5, f6, f2 +/* 802659D8 00262938 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802659DC 0026293C EC 86 00 72 */ fmuls f4, f6, f1 +/* 802659E0 00262940 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 802659E4 00262944 EC 66 00 32 */ fmuls f3, f6, f0 +/* 802659E8 00262948 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802659EC 0026294C EC 42 28 2A */ fadds f2, f2, f5 +/* 802659F0 00262950 EC 21 20 2A */ fadds f1, f1, f4 +/* 802659F4 00262954 EC 00 18 2A */ fadds f0, f0, f3 +/* 802659F8 00262958 FC 1A 30 40 */ fcmpo cr0, f26, f6 +/* 802659FC 0026295C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A00 00262960 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A04 00262964 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80265A08 00262968 40 80 00 40 */ bge lbl_80265A48 +/* 80265A0C 0026296C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80265A10 00262970 3B A0 00 01 */ li r29, 1 +/* 80265A14 00262974 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80265A18 00262978 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80265A1C 0026297C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A20 00262980 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A24 00262984 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80265A28 00262988 48 00 00 20 */ b lbl_80265A48 +lbl_80265A2C: +/* 80265A2C 0026298C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80265A30 00262990 3B A0 00 01 */ li r29, 1 +/* 80265A34 00262994 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80265A38 00262998 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80265A3C 0026299C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80265A40 002629A0 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80265A44 002629A4 D0 01 00 88 */ stfs f0, 0x88(r1) +lbl_80265A48: +/* 80265A48 002629A8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 80265A4C 002629AC 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A50 002629B0 C0 1A 01 C8 */ lfs f0, 0x1c8(r26) +/* 80265A54 002629B4 C0 7C 00 08 */ lfs f3, 8(r28) +/* 80265A58 002629B8 C0 5A 01 CC */ lfs f2, 0x1cc(r26) +/* 80265A5C 002629BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80265A60 002629C0 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) +/* 80265A64 002629C4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 80265A68 002629C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80265A6C 002629CC D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80265A70 002629D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80265A74 002629D4 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80265A78 002629D8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80265A7C 002629DC 48 0A EE 3D */ bl Magnitude__9CVector3fCFv +/* 80265A80 002629E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80265A84 002629E4 40 81 00 84 */ ble lbl_80265B08 +/* 80265A88 002629E8 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A8C 002629EC 48 0A EE 2D */ bl Magnitude__9CVector3fCFv +/* 80265A90 002629F0 FF 40 08 90 */ fmr f26, f1 +/* 80265A94 002629F4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80265A98 002629F8 48 0A EE 61 */ bl Normalize__9CVector3fFv +/* 80265A9C 002629FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) +/* 80265AA0 00262A00 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265AA4 00262A04 EC 5A 08 24 */ fdivs f2, f26, f1 +/* 80265AA8 00262A08 FC 20 12 10 */ fabs f1, f2 +/* 80265AAC 00262A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265AB0 00262A10 40 81 00 14 */ ble lbl_80265AC4 +/* 80265AB4 00262A14 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265AB8 00262A18 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265ABC 00262A1C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80265AC0 00262A20 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80265AC4: +/* 80265AC4 00262A24 EC 82 07 F2 */ fmuls f4, f2, f31 +/* 80265AC8 00262A28 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80265ACC 00262A2C C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80265AD0 00262A30 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80265AD4 00262A34 EC 64 00 32 */ fmuls f3, f4, f0 +/* 80265AD8 00262A38 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) +/* 80265ADC 00262A3C EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80265AE0 00262A40 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80265AE4 00262A44 EC 00 18 2A */ fadds f0, f0, f3 +/* 80265AE8 00262A48 D0 1A 01 C4 */ stfs f0, 0x1c4(r26) +/* 80265AEC 00262A4C C0 1A 01 C8 */ lfs f0, 0x1c8(r26) +/* 80265AF0 00262A50 EC 00 10 2A */ fadds f0, f0, f2 +/* 80265AF4 00262A54 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) +/* 80265AF8 00262A58 C0 1A 01 CC */ lfs f0, 0x1cc(r26) +/* 80265AFC 00262A5C EC 00 08 2A */ fadds f0, f0, f1 +/* 80265B00 00262A60 D0 1A 01 CC */ stfs f0, 0x1cc(r26) +/* 80265B04 00262A64 48 00 00 1C */ b lbl_80265B20 +lbl_80265B08: +/* 80265B08 00262A68 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80265B0C 00262A6C D0 1A 01 C4 */ stfs f0, 0x1c4(r26) +/* 80265B10 00262A70 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80265B14 00262A74 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) +/* 80265B18 00262A78 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80265B1C 00262A7C D0 1A 01 CC */ stfs f0, 0x1cc(r26) +lbl_80265B20: +/* 80265B20 00262A80 C0 3A 01 C8 */ lfs f1, 0x1c8(r26) +/* 80265B24 00262A84 38 61 00 68 */ addi r3, r1, 0x68 +/* 80265B28 00262A88 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265B2C 00262A8C C0 7A 01 CC */ lfs f3, 0x1cc(r26) +/* 80265B30 00262A90 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 80265B34 00262A94 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80265B38 00262A98 C0 3A 01 C4 */ lfs f1, 0x1c4(r26) +/* 80265B3C 00262A9C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265B40 00262AA0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80265B44 00262AA4 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80265B48 00262AA8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80265B4C 00262AAC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80265B50 00262AB0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80265B54 00262AB4 48 0A EB A5 */ bl CanBeNormalized__9CVector3fCFv +/* 80265B58 00262AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265B5C 00262ABC 41 82 00 10 */ beq lbl_80265B6C +/* 80265B60 00262AC0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80265B64 00262AC4 48 0A ED 95 */ bl Normalize__9CVector3fFv +/* 80265B68 00262AC8 48 00 00 1C */ b lbl_80265B84 +lbl_80265B6C: +/* 80265B6C 00262ACC C0 5A 00 58 */ lfs f2, 0x58(r26) +/* 80265B70 00262AD0 C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 80265B74 00262AD4 C0 1A 00 38 */ lfs f0, 0x38(r26) +/* 80265B78 00262AD8 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80265B7C 00262ADC D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80265B80 00262AE0 D0 41 00 70 */ stfs f2, 0x70(r1) +lbl_80265B84: +/* 80265B84 00262AE4 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80265B88 00262AE8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80265B8C 00262AEC C0 5B 00 04 */ lfs f2, 4(r27) +/* 80265B90 00262AF0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80265B94 00262AF4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80265B98 00262AF8 C0 9B 00 24 */ lfs f4, 0x24(r27) +/* 80265B9C 00262AFC C0 61 00 70 */ lfs f3, 0x70(r1) +/* 80265BA0 00262B00 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80265BA4 00262B04 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265BA8 00262B08 EF E4 08 FA */ fmadds f31, f4, f3, f1 +/* 80265BAC 00262B0C FC 20 FA 10 */ fabs f1, f31 +/* 80265BB0 00262B10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265BB4 00262B14 40 81 00 14 */ ble lbl_80265BC8 +/* 80265BB8 00262B18 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265BBC 00262B1C C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265BC0 00262B20 FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 80265BC4 00262B24 EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80265BC8: +/* 80265BC8 00262B28 FC 20 F8 90 */ fmr f1, f31 +/* 80265BCC 00262B2C 48 12 F0 61 */ bl acos +/* 80265BD0 00262B30 FC 40 08 18 */ frsp f2, f1 +/* 80265BD4 00262B34 C0 22 BA C0 */ lfs f1, lbl_805AD7E0@sda21(r2) +/* 80265BD8 00262B38 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) +/* 80265BDC 00262B3C EC 82 08 24 */ fdivs f4, f2, f1 +/* 80265BE0 00262B40 FC 20 22 10 */ fabs f1, f4 +/* 80265BE4 00262B44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80265BE8 00262B48 40 81 00 14 */ ble lbl_80265BFC +/* 80265BEC 00262B4C C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) +/* 80265BF0 00262B50 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) +/* 80265BF4 00262B54 FC 04 00 6E */ fsel f0, f4, f1, f0 +/* 80265BF8 00262B58 EC 81 00 32 */ fmuls f4, f1, f0 +lbl_80265BFC: +/* 80265BFC 00262B5C EC 7B 07 32 */ fmuls f3, f27, f28 +/* 80265C00 00262B60 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80265C04 00262B64 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80265C08 00262B68 38 61 00 5C */ addi r3, r1, 0x5c +/* 80265C0C 00262B6C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 80265C10 00262B70 3B 80 00 00 */ li r28, 0 +/* 80265C14 00262B74 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80265C18 00262B78 EF 44 00 F2 */ fmuls f26, f4, f3 +/* 80265C1C 00262B7C C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265C20 00262B80 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80265C24 00262B84 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80265C28 00262B88 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80265C2C 00262B8C 48 0A EA CD */ bl CanBeNormalized__9CVector3fCFv +/* 80265C30 00262B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80265C34 00262B94 41 82 01 34 */ beq lbl_80265D68 +/* 80265C38 00262B98 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265C3C 00262B9C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80265C40 00262BA0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80265C44 00262BA4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80265C48 00262BA8 C0 61 00 88 */ lfs f3, 0x88(r1) +/* 80265C4C 00262BAC 38 61 01 28 */ addi r3, r1, 0x128 +/* 80265C50 00262BB0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80265C54 00262BB4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80265C58 00262BB8 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80265C5C 00262BBC 38 81 00 80 */ addi r4, r1, 0x80 +/* 80265C60 00262BC0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80265C64 00262BC4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80265C68 00262BC8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80265C6C 00262BCC D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80265C70 00262BD0 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80265C74 00262BD4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80265C78 00262BD8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80265C7C 00262BDC 48 0A DE 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80265C80 00262BE0 38 61 01 58 */ addi r3, r1, 0x158 +/* 80265C84 00262BE4 38 81 01 28 */ addi r4, r1, 0x128 +/* 80265C88 00262BE8 48 0A CE ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265C8C 00262BEC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) +/* 80265C90 00262BF0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80265C94 00262BF4 40 80 00 A8 */ bge lbl_80265D3C +/* 80265C98 00262BF8 D3 41 00 08 */ stfs f26, 8(r1) +/* 80265C9C 00262BFC 38 61 00 0C */ addi r3, r1, 0xc +/* 80265CA0 00262C00 38 81 00 68 */ addi r4, r1, 0x68 +/* 80265CA4 00262C04 C0 5B 00 24 */ lfs f2, 0x24(r27) +/* 80265CA8 00262C08 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80265CAC 00262C0C C0 1B 00 04 */ lfs f0, 4(r27) +/* 80265CB0 00262C10 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80265CB4 00262C14 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80265CB8 00262C18 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80265CBC 00262C1C 48 0A E1 15 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265CC0 00262C20 7C 7F 1B 78 */ mr r31, r3 +/* 80265CC4 00262C24 38 61 00 24 */ addi r3, r1, 0x24 +/* 80265CC8 00262C28 38 81 00 18 */ addi r4, r1, 0x18 +/* 80265CCC 00262C2C 48 0A E1 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80265CD0 00262C30 7C 64 1B 78 */ mr r4, r3 +/* 80265CD4 00262C34 7F E5 FB 78 */ mr r5, r31 +/* 80265CD8 00262C38 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265CDC 00262C3C 38 C1 00 08 */ addi r6, r1, 8 +/* 80265CE0 00262C40 48 0A B9 B5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 80265CE4 00262C44 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 80265CE8 00262C48 7F 64 DB 78 */ mr r4, r27 +/* 80265CEC 00262C4C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80265CF0 00262C50 38 61 00 98 */ addi r3, r1, 0x98 +/* 80265CF4 00262C54 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80265CF8 00262C58 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80265CFC 00262C5C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80265D00 00262C60 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80265D04 00262C64 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80265D08 00262C68 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80265D0C 00262C6C 48 0A CF 35 */ bl GetRotation__12CTransform4fCFv +/* 80265D10 00262C70 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80265D14 00262C74 38 81 00 4C */ addi r4, r1, 0x4c +/* 80265D18 00262C78 48 0A C2 A1 */ bl BuildTransform4f__11CQuaternionCFv +/* 80265D1C 00262C7C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80265D20 00262C80 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80265D24 00262C84 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80265D28 00262C88 48 0A CC 29 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80265D2C 00262C8C 38 61 01 58 */ addi r3, r1, 0x158 +/* 80265D30 00262C90 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80265D34 00262C94 48 0A CE 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D38 00262C98 48 00 00 08 */ b lbl_80265D40 +lbl_80265D3C: +/* 80265D3C 00262C9C 3B 80 00 01 */ li r28, 1 +lbl_80265D40: +/* 80265D40 00262CA0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 80265D44 00262CA4 7F 63 DB 78 */ mr r3, r27 +/* 80265D48 00262CA8 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80265D4C 00262CAC 38 81 01 58 */ addi r4, r1, 0x158 +/* 80265D50 00262CB0 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265D54 00262CB4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 80265D58 00262CB8 D0 21 01 74 */ stfs f1, 0x174(r1) +/* 80265D5C 00262CBC D0 01 01 84 */ stfs f0, 0x184(r1) +/* 80265D60 00262CC0 48 0A CD E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D64 00262CC4 48 00 00 2C */ b lbl_80265D90 +lbl_80265D68: +/* 80265D68 00262CC8 7F 63 DB 78 */ mr r3, r27 +/* 80265D6C 00262CCC 38 9A 00 34 */ addi r4, r26, 0x34 +/* 80265D70 00262CD0 48 0A CD D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80265D74 00262CD4 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80265D78 00262CD8 3B 80 00 01 */ li r28, 1 +/* 80265D7C 00262CDC D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 80265D80 00262CE0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80265D84 00262CE4 D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 80265D88 00262CE8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80265D8C 00262CEC D0 1B 00 2C */ stfs f0, 0x2c(r27) +lbl_80265D90: +/* 80265D90 00262CF0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80265D94 00262CF4 41 82 00 10 */ beq lbl_80265DA4 +/* 80265D98 00262CF8 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80265D9C 00262CFC 41 82 00 08 */ beq lbl_80265DA4 +/* 80265DA0 00262D00 3B C0 00 01 */ li r30, 1 +lbl_80265DA4: +/* 80265DA4 00262D04 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80265DA8 00262D08 4C 41 13 82 */ cror 2, 1, 2 +/* 80265DAC 00262D0C 40 82 00 18 */ bne lbl_80265DC4 +/* 80265DB0 00262D10 C0 02 BA C4 */ lfs f0, lbl_805AD7E4@sda21(r2) +/* 80265DB4 00262D14 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80265DB8 00262D18 4C 41 13 82 */ cror 2, 1, 2 +/* 80265DBC 00262D1C 40 82 00 08 */ bne lbl_80265DC4 +/* 80265DC0 00262D20 3B C0 00 01 */ li r30, 1 +lbl_80265DC4: +/* 80265DC4 00262D24 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80265DC8 00262D28 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 80265DCC 00262D2C CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 80265DD0 00262D30 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 80265DD4 00262D34 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 80265DD8 00262D38 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 80265DDC 00262D3C CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 80265DE0 00262D40 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 80265DE4 00262D44 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 80265DE8 00262D48 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 80265DEC 00262D4C CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 80265DF0 00262D50 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 80265DF4 00262D54 CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 80265DF8 00262D58 BB 41 01 88 */ lmw r26, 0x188(r1) +/* 80265DFC 00262D5C 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80265E00 00262D60 7C 08 03 A6 */ mtlr r0 +/* 80265E04 00262D64 38 21 02 00 */ addi r1, r1, 0x200 +/* 80265E08 00262D68 4E 80 00 20 */ blr + +.global Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager +Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager: +/* 80265E0C 00262D6C 4E 80 00 20 */ blr + +.global __dt__20CInterpolationCamera +__dt__20CInterpolationCamera: +/* 80265E10 00262D70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80265E14 00262D74 7C 08 02 A6 */ mflr r0 +/* 80265E18 00262D78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80265E1C 00262D7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80265E20 00262D80 7C 9F 23 78 */ mr r31, r4 +/* 80265E24 00262D84 93 C1 00 08 */ stw r30, 8(r1) +/* 80265E28 00262D88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80265E2C 00262D8C 41 82 00 28 */ beq lbl_80265E54 +/* 80265E30 00262D90 3C A0 80 3F */ lis r5, lbl_803E9D80@ha +/* 80265E34 00262D94 38 80 00 00 */ li r4, 0 +/* 80265E38 00262D98 38 05 9D 80 */ addi r0, r5, lbl_803E9D80@l +/* 80265E3C 00262D9C 90 1E 00 00 */ stw r0, 0(r30) +/* 80265E40 00262DA0 4B DF 7C 1D */ bl __dt__11CGameCameraFv +/* 80265E44 00262DA4 7F E0 07 35 */ extsh. r0, r31 +/* 80265E48 00262DA8 40 81 00 0C */ ble lbl_80265E54 +/* 80265E4C 00262DAC 7F C3 F3 78 */ mr r3, r30 +/* 80265E50 00262DB0 48 0A FA E1 */ bl Free__7CMemoryFPCv +lbl_80265E54: +/* 80265E54 00262DB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80265E58 00262DB8 7F C3 F3 78 */ mr r3, r30 +/* 80265E5C 00262DBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80265E60 00262DC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80265E64 00262DC4 7C 08 03 A6 */ mtlr r0 +/* 80265E68 00262DC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80265E6C 00262DCC 4E 80 00 20 */ blr + +.global __ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f +__ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f: +/* 80265E70 00262DD0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80265E74 00262DD4 7C 08 02 A6 */ mflr r0 +/* 80265E78 00262DD8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80265E7C 00262DDC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80265E80 00262DE0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80265E84 00262DE4 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80265E88 00262DE8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80265E8C 00262DEC DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80265E90 00262DF0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80265E94 00262DF4 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80265E98 00262DF8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80265E9C 00262DFC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80265EA0 00262E00 3C C0 80 3D */ lis r6, lbl_803D5298@ha +/* 80265EA4 00262E04 7C 7F 1B 78 */ mr r31, r3 +/* 80265EA8 00262E08 38 06 52 98 */ addi r0, r6, lbl_803D5298@l +/* 80265EAC 00262E0C 7C 9D 23 78 */ mr r29, r4 +/* 80265EB0 00262E10 7C BE 2B 78 */ mr r30, r5 +/* 80265EB4 00262E14 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265EB8 00262E18 7C 04 03 78 */ mr r4, r0 +/* 80265EBC 00262E1C 4B D9 ED FD */ bl string_l__4rstlFPCc +/* 80265EC0 00262E20 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) +/* 80265EC4 00262E24 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80265EC8 00262E28 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80265ECC 00262E2C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80265ED0 00262E30 90 81 00 28 */ stw r4, 0x28(r1) +/* 80265ED4 00262E34 38 61 00 40 */ addi r3, r1, 0x40 +/* 80265ED8 00262E38 38 81 00 2C */ addi r4, r1, 0x2c +/* 80265EDC 00262E3C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80265EE0 00262E40 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80265EE4 00262E44 4B DE B5 A1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80265EE8 00262E48 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80265EEC 00262E4C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80265EF0 00262E50 B0 61 00 10 */ sth r3, 0x10(r1) +/* 80265EF4 00262E54 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80265EF8 00262E58 4B DA 61 C1 */ bl DefaultAspect__14CCameraManagerFv +/* 80265EFC 00262E5C FF A0 08 90 */ fmr f29, f1 +/* 80265F00 00262E60 4B DA 61 C1 */ bl DefaultFarPlane__14CCameraManagerFv +/* 80265F04 00262E64 FF C0 08 90 */ fmr f30, f1 +/* 80265F08 00262E68 4B DA 61 C1 */ bl DefaultNearPlane__14CCameraManagerFv +/* 80265F0C 00262E6C FF E0 08 90 */ fmr f31, f1 +/* 80265F10 00262E70 4B DA 61 C9 */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 80265F14 00262E74 38 00 00 00 */ li r0, 0 +/* 80265F18 00262E78 FC 40 F8 90 */ fmr f2, f31 +/* 80265F1C 00262E7C FC 60 F0 90 */ fmr f3, f30 +/* 80265F20 00262E80 90 01 00 08 */ stw r0, 8(r1) +/* 80265F24 00262E84 FC 80 E8 90 */ fmr f4, f29 +/* 80265F28 00262E88 7F E3 FB 78 */ mr r3, r31 +/* 80265F2C 00262E8C 7F C8 F3 78 */ mr r8, r30 +/* 80265F30 00262E90 38 81 00 14 */ addi r4, r1, 0x14 +/* 80265F34 00262E94 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80265F38 00262E98 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80265F3C 00262E9C 39 21 00 10 */ addi r9, r1, 0x10 +/* 80265F40 00262EA0 38 A0 00 00 */ li r5, 0 +/* 80265F44 00262EA4 39 40 00 00 */ li r10, 0 +/* 80265F48 00262EA8 4B DF 7B 75 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +/* 80265F4C 00262EAC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80265F50 00262EB0 80 61 00 50 */ lwz r3, 0x50(r1) +/* 80265F54 00262EB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80265F58 00262EB8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80265F5C 00262EBC 7C 64 1B 78 */ mr r4, r3 +/* 80265F60 00262EC0 7C 03 02 14 */ add r0, r3, r0 +/* 80265F64 00262EC4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80265F68 00262EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80265F6C 00262ECC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80265F70 00262ED0 48 00 00 08 */ b lbl_80265F78 +lbl_80265F74: +/* 80265F74 00262ED4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80265F78: +/* 80265F78 00262ED8 7C 04 00 40 */ cmplw r4, r0 +/* 80265F7C 00262EDC 40 82 FF F8 */ bne lbl_80265F74 +/* 80265F80 00262EE0 28 03 00 00 */ cmplwi r3, 0 +/* 80265F84 00262EE4 41 82 00 08 */ beq lbl_80265F8C +/* 80265F88 00262EE8 48 0A F9 A9 */ bl Free__7CMemoryFPCv +lbl_80265F8C: +/* 80265F8C 00262EEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80265F90 00262EF0 48 0D 7B 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80265F94 00262EF4 3C 80 80 3F */ lis r4, lbl_803E9D80@ha +/* 80265F98 00262EF8 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) +/* 80265F9C 00262EFC 38 04 9D 80 */ addi r0, r4, lbl_803E9D80@l +/* 80265FA0 00262F00 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80265FA4 00262F04 90 1F 00 00 */ stw r0, 0(r31) +/* 80265FA8 00262F08 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80265FAC 00262F0C 38 7F 01 94 */ addi r3, r31, 0x194 +/* 80265FB0 00262F10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80265FB4 00262F14 B0 1F 01 88 */ sth r0, 0x188(r31) +/* 80265FB8 00262F18 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 80265FBC 00262F1C D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 80265FC0 00262F20 48 0A CB B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80265FC4 00262F24 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80265FC8 00262F28 C0 22 BA 9C */ lfs f1, lbl_805AD7BC@sda21(r2) +/* 80265FCC 00262F2C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80265FD0 00262F30 38 80 00 00 */ li r4, 0 +/* 80265FD4 00262F34 C0 45 00 00 */ lfs f2, 0(r5) +/* 80265FD8 00262F38 7F E3 FB 78 */ mr r3, r31 +/* 80265FDC 00262F3C C0 02 BA 98 */ lfs f0, lbl_805AD7B8@sda21(r2) +/* 80265FE0 00262F40 D0 5F 01 C4 */ stfs f2, 0x1c4(r31) +/* 80265FE4 00262F44 C0 45 00 04 */ lfs f2, 4(r5) +/* 80265FE8 00262F48 D0 5F 01 C8 */ stfs f2, 0x1c8(r31) +/* 80265FEC 00262F4C C0 45 00 08 */ lfs f2, 8(r5) +/* 80265FF0 00262F50 D0 5F 01 CC */ stfs f2, 0x1cc(r31) +/* 80265FF4 00262F54 D0 3F 01 D0 */ stfs f1, 0x1d0(r31) +/* 80265FF8 00262F58 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) +/* 80265FFC 00262F5C 88 1F 01 D8 */ lbz r0, 0x1d8(r31) +/* 80266000 00262F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80266004 00262F64 98 1F 01 D8 */ stb r0, 0x1d8(r31) +/* 80266008 00262F68 D0 1F 01 DC */ stfs f0, 0x1dc(r31) +/* 8026600C 00262F6C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80266010 00262F70 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80266014 00262F74 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80266018 00262F78 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8026601C 00262F7C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80266020 00262F80 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80266024 00262F84 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80266028 00262F88 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8026602C 00262F8C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80266030 00262F90 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80266034 00262F94 7C 08 03 A6 */ mtlr r0 +/* 80266038 00262F98 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8026603C 00262F9C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPathCamera.s b/asm/Kyoto_CWD/Cameras/CPathCamera.s similarity index 100% rename from asm/Kyoto_CWD/CPathCamera.s rename to asm/Kyoto_CWD/Cameras/CPathCamera.s diff --git a/asm/Kyoto_CWD/Enemies/CAtomicBeta.s b/asm/Kyoto_CWD/Enemies/CAtomicBeta.s new file mode 100644 index 00000000..6dc9ffe8 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CAtomicBeta.s @@ -0,0 +1,1198 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetDamageVulnerability__11CAtomicBetaFv +GetDamageVulnerability__11CAtomicBetaFv: +/* 80250A7C 0024D9DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250A80 0024D9E0 7C 08 02 A6 */ mflr r0 +/* 80250A84 0024D9E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250A88 0024D9E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250A8C 0024D9EC 7C DF 33 78 */ mr r31, r6 +/* 80250A90 0024D9F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80250A94 0024D9F4 7C BE 2B 78 */ mr r30, r5 +/* 80250A98 0024D9F8 38 A0 00 00 */ li r5, 0 +/* 80250A9C 0024D9FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80250AA0 0024DA00 7C 9D 23 78 */ mr r29, r4 +/* 80250AA4 0024DA04 93 81 00 10 */ stw r28, 0x10(r1) +/* 80250AA8 0024DA08 7C 7C 1B 78 */ mr r28, r3 +/* 80250AAC 0024DA0C 48 00 08 2D */ bl sub_802512d8 +/* 80250AB0 0024DA10 7F 83 E3 78 */ mr r3, r28 +/* 80250AB4 0024DA14 38 9C 06 50 */ addi r4, r28, 0x650 +/* 80250AB8 0024DA18 48 00 02 19 */ bl sub_80250cd0 +/* 80250ABC 0024DA1C 7F 83 E3 78 */ mr r3, r28 +/* 80250AC0 0024DA20 38 9C 06 54 */ addi r4, r28, 0x654 +/* 80250AC4 0024DA24 48 00 02 0D */ bl sub_80250cd0 +/* 80250AC8 0024DA28 7F 83 E3 78 */ mr r3, r28 +/* 80250ACC 0024DA2C 38 9C 06 4C */ addi r4, r28, 0x64c +/* 80250AD0 0024DA30 48 00 02 01 */ bl sub_80250cd0 +/* 80250AD4 0024DA34 7F 83 E3 78 */ mr r3, r28 +/* 80250AD8 0024DA38 7F A4 EB 78 */ mr r4, r29 +/* 80250ADC 0024DA3C 7F C5 F3 78 */ mr r5, r30 +/* 80250AE0 0024DA40 7F E6 FB 78 */ mr r6, r31 +/* 80250AE4 0024DA44 4B E2 A8 C1 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 80250AE8 0024DA48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250AEC 0024DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250AF0 0024DA50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250AF4 0024DA54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80250AF8 0024DA58 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250AFC 0024DA5C 7C 08 03 A6 */ mtlr r0 +/* 80250B00 0024DA60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250B04 0024DA64 4E 80 00 20 */ blr + +.global GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80250B08 0024DA68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250B0C 0024DA6C 7C 08 02 A6 */ mflr r0 +/* 80250B10 0024DA70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250B14 0024DA74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250B18 0024DA78 7C DF 33 78 */ mr r31, r6 +/* 80250B1C 0024DA7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80250B20 0024DA80 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80250B24 0024DA84 7D 89 03 A6 */ mtctr r12 +/* 80250B28 0024DA88 4E 80 04 21 */ bctrl +/* 80250B2C 0024DA8C 7F E4 FB 78 */ mr r4, r31 +/* 80250B30 0024DA90 38 A0 00 00 */ li r5, 0 +/* 80250B34 0024DA94 4B EB 1A 51 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei +/* 80250B38 0024DA98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250B3C 0024DA9C 38 60 00 5C */ li r3, 0x5c +/* 80250B40 0024DAA0 41 82 00 08 */ beq lbl_80250B48 +/* 80250B44 0024DAA4 38 60 00 2A */ li r3, 0x2a +lbl_80250B48: +/* 80250B48 0024DAA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250B4C 0024DAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250B50 0024DAB0 7C 08 03 A6 */ mtlr r0 +/* 80250B54 0024DAB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250B58 0024DAB8 4E 80 00 20 */ blr + +.global Touch__11CAtomicBetaFR6CActorR13CStateManager +Touch__11CAtomicBetaFR6CActorR13CStateManager: +/* 80250B5C 0024DABC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250B60 0024DAC0 7C 08 02 A6 */ mflr r0 +/* 80250B64 0024DAC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250B68 0024DAC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250B6C 0024DACC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80250B70 0024DAD0 7C BE 2B 78 */ mr r30, r5 +/* 80250B74 0024DAD4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80250B78 0024DAD8 7C 9D 23 78 */ mr r29, r4 +/* 80250B7C 0024DADC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80250B80 0024DAE0 7C 7C 1B 78 */ mr r28, r3 +/* 80250B84 0024DAE4 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80250B88 0024DAE8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80250B8C 0024DAEC 41 82 00 90 */ beq lbl_80250C1C +/* 80250B90 0024DAF0 38 61 00 08 */ addi r3, r1, 8 +/* 80250B94 0024DAF4 4B E5 CB E5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80250B98 0024DAF8 83 E3 00 04 */ lwz r31, 4(r3) +/* 80250B9C 0024DAFC 28 1F 00 00 */ cmplwi r31, 0 +/* 80250BA0 0024DB00 41 82 00 6C */ beq lbl_80250C0C +/* 80250BA4 0024DB04 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80250BA8 0024DB08 A0 9F 00 EC */ lhz r4, 0xec(r31) +/* 80250BAC 0024DB0C A0 03 00 08 */ lhz r0, 8(r3) +/* 80250BB0 0024DB10 7C 04 00 40 */ cmplw r4, r0 +/* 80250BB4 0024DB14 40 82 00 58 */ bne lbl_80250C0C +/* 80250BB8 0024DB18 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 80250BBC 0024DB1C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c +/* 80250BC0 0024DB20 2C 00 00 08 */ cmpwi r0, 8 +/* 80250BC4 0024DB24 40 82 00 48 */ bne lbl_80250C0C +/* 80250BC8 0024DB28 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80250BCC 0024DB2C 4B EE 95 01 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80250BD0 0024DB30 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) +/* 80250BD4 0024DB34 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80250BD8 0024DB38 40 82 00 34 */ bne lbl_80250C0C +/* 80250BDC 0024DB3C 81 9C 00 00 */ lwz r12, 0(r28) +/* 80250BE0 0024DB40 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80250BE4 0024DB44 FC 20 00 90 */ fmr f1, f0 +/* 80250BE8 0024DB48 7F 83 E3 78 */ mr r3, r28 +/* 80250BEC 0024DB4C 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 80250BF0 0024DB50 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 80250BF4 0024DB54 7F C5 F3 78 */ mr r5, r30 +/* 80250BF8 0024DB58 38 DF 01 2C */ addi r6, r31, 0x12c +/* 80250BFC 0024DB5C 38 E0 00 01 */ li r7, 1 +/* 80250C00 0024DB60 39 00 00 00 */ li r8, 0 +/* 80250C04 0024DB64 7D 89 03 A6 */ mtctr r12 +/* 80250C08 0024DB68 4E 80 04 21 */ bctrl +lbl_80250C0C: +/* 80250C0C 0024DB6C 7F 83 E3 78 */ mr r3, r28 +/* 80250C10 0024DB70 7F A4 EB 78 */ mr r4, r29 +/* 80250C14 0024DB74 7F C5 F3 78 */ mr r5, r30 +/* 80250C18 0024DB78 4B E2 8E 89 */ bl Touch__10CPatternedFR6CActorR13CStateManager +lbl_80250C1C: +/* 80250C1C 0024DB7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250C20 0024DB80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250C24 0024DB84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80250C28 0024DB88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80250C2C 0024DB8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80250C30 0024DB90 7C 08 03 A6 */ mtlr r0 +/* 80250C34 0024DB94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250C38 0024DB98 4E 80 00 20 */ blr + +.global GetDamageVulnerability__11CAtomicBetaCFv +GetDamageVulnerability__11CAtomicBetaCFv: +/* 80250C3C 0024DB9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80250C40 0024DBA0 7C 08 02 A6 */ mflr r0 +/* 80250C44 0024DBA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80250C48 0024DBA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80250C4C 0024DBAC 7C 7F 1B 78 */ mr r31, r3 +/* 80250C50 0024DBB0 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80250C54 0024DBB4 4B EE 94 79 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80250C58 0024DBB8 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) +/* 80250C5C 0024DBBC C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) +/* 80250C60 0024DBC0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80250C64 0024DBC4 FC 20 0A 10 */ fabs f1, f1 +/* 80250C68 0024DBC8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250C6C 0024DBCC 40 80 00 10 */ bge lbl_80250C7C +/* 80250C70 0024DBD0 7F E3 FB 78 */ mr r3, r31 +/* 80250C74 0024DBD4 4B E5 20 FD */ bl GetDamageVulnerability__3CAiCFv +/* 80250C78 0024DBD8 48 00 00 08 */ b lbl_80250C80 +lbl_80250C7C: +/* 80250C7C 0024DBDC 38 7F 05 88 */ addi r3, r31, 0x588 +lbl_80250C80: +/* 80250C80 0024DBE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250C84 0024DBE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80250C88 0024DBE8 7C 08 03 A6 */ mtlr r0 +/* 80250C8C 0024DBEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80250C90 0024DBF0 4E 80 00 20 */ blr + +.global sub_80250c94 +sub_80250c94: +/* 80250C94 0024DBF4 80 63 08 4C */ lwz r3, 0x84c(r3) +/* 80250C98 0024DBF8 80 63 04 90 */ lwz r3, 0x490(r3) +/* 80250C9C 0024DBFC 88 03 08 34 */ lbz r0, 0x834(r3) +/* 80250CA0 0024DC00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80250CA4 0024DC04 41 82 00 0C */ beq lbl_80250CB0 +/* 80250CA8 0024DC08 C0 23 03 40 */ lfs f1, 0x340(r3) +/* 80250CAC 0024DC0C 48 00 00 08 */ b lbl_80250CB4 +lbl_80250CB0: +/* 80250CB0 0024DC10 C0 22 B8 D0 */ lfs f1, lbl_805AD5F0@sda21(r2) +lbl_80250CB4: +/* 80250CB4 0024DC14 C0 02 B8 D8 */ lfs f0, lbl_805AD5F8@sda21(r2) +/* 80250CB8 0024DC18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250CBC 0024DC1C 40 81 00 0C */ ble lbl_80250CC8 +/* 80250CC0 0024DC20 38 60 00 01 */ li r3, 1 +/* 80250CC4 0024DC24 4E 80 00 20 */ blr +lbl_80250CC8: +/* 80250CC8 0024DC28 38 60 00 00 */ li r3, 0 +/* 80250CCC 0024DC2C 4E 80 00 20 */ blr + +.global sub_80250cd0 +sub_80250cd0: +/* 80250CD0 0024DC30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250CD4 0024DC34 7C 08 02 A6 */ mflr r0 +/* 80250CD8 0024DC38 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250CDC 0024DC3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250CE0 0024DC40 7C 9F 23 78 */ mr r31, r4 +/* 80250CE4 0024DC44 80 04 00 00 */ lwz r0, 0(r4) +/* 80250CE8 0024DC48 28 00 00 00 */ cmplwi r0, 0 +/* 80250CEC 0024DC4C 41 82 00 1C */ beq lbl_80250D08 +/* 80250CF0 0024DC50 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250CF4 0024DC54 38 61 00 08 */ addi r3, r1, 8 +/* 80250CF8 0024DC58 90 01 00 08 */ stw r0, 8(r1) +/* 80250CFC 0024DC5C 48 09 91 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80250D00 0024DC60 38 00 00 00 */ li r0, 0 +/* 80250D04 0024DC64 90 1F 00 00 */ stw r0, 0(r31) +lbl_80250D08: +/* 80250D08 0024DC68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250D0C 0024DC6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250D10 0024DC70 7C 08 03 A6 */ mtlr r0 +/* 80250D14 0024DC74 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250D18 0024DC78 4E 80 00 20 */ blr + +.global sub_80250d1c +sub_80250d1c: +/* 80250D1C 0024DC7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80250D20 0024DC80 7C 08 02 A6 */ mflr r0 +/* 80250D24 0024DC84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80250D28 0024DC88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80250D2C 0024DC8C 7C 9F 23 78 */ mr r31, r4 +/* 80250D30 0024DC90 80 04 00 00 */ lwz r0, 0(r4) +/* 80250D34 0024DC94 28 00 00 00 */ cmplwi r0, 0 +/* 80250D38 0024DC98 40 82 00 40 */ bne lbl_80250D78 +/* 80250D3C 0024DC9C 80 83 00 04 */ lwz r4, 4(r3) +/* 80250D40 0024DCA0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80250D44 0024DCA4 38 03 66 A0 */ addi r0, r3, skZero3f@l +/* 80250D48 0024DCA8 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80250D4C 0024DCAC 90 81 00 08 */ stw r4, 8(r1) +/* 80250D50 0024DCB0 7C A4 2B 78 */ mr r4, r5 +/* 80250D54 0024DCB4 7C C5 33 78 */ mr r5, r6 +/* 80250D58 0024DCB8 7C 06 03 78 */ mr r6, r0 +/* 80250D5C 0024DCBC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80250D60 0024DCC0 39 00 00 01 */ li r8, 1 +/* 80250D64 0024DCC4 39 20 00 01 */ li r9, 1 +/* 80250D68 0024DCC8 48 09 94 51 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 80250D6C 0024DCCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80250D70 0024DCD0 90 1F 00 00 */ stw r0, 0(r31) +/* 80250D74 0024DCD4 48 00 00 24 */ b lbl_80250D98 +lbl_80250D78: +/* 80250D78 0024DCD8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80250D7C 0024DCDC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80250D80 0024DCE0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80250D84 0024DCE4 7C C4 33 78 */ mr r4, r6 +/* 80250D88 0024DCE8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80250D8C 0024DCEC 7C E6 3B 78 */ mr r6, r7 +/* 80250D90 0024DCF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80250D94 0024DCF4 48 09 91 1D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80250D98: +/* 80250D98 0024DCF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80250D9C 0024DCFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80250DA0 0024DD00 7C 08 03 A6 */ mtlr r0 +/* 80250DA4 0024DD04 38 21 00 20 */ addi r1, r1, 0x20 +/* 80250DA8 0024DD08 4E 80 00 20 */ blr + +.global Think__11CAtomicBetaFfR13CStateManager +Think__11CAtomicBetaFfR13CStateManager: +/* 80250DAC 0024DD0C 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 80250DB0 0024DD10 7C 08 02 A6 */ mflr r0 +/* 80250DB4 0024DD14 90 01 02 04 */ stw r0, 0x204(r1) +/* 80250DB8 0024DD18 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 80250DBC 0024DD1C F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 80250DC0 0024DD20 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 80250DC4 0024DD24 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 80250DC8 0024DD28 DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 80250DCC 0024DD2C F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 80250DD0 0024DD30 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 80250DD4 0024DD34 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 80250DD8 0024DD38 BF 41 01 A8 */ stmw r26, 0x1a8(r1) +/* 80250DDC 0024DD3C FF E0 08 90 */ fmr f31, f1 +/* 80250DE0 0024DD40 7C 7E 1B 78 */ mr r30, r3 +/* 80250DE4 0024DD44 7C 9F 23 78 */ mr r31, r4 +/* 80250DE8 0024DD48 4B E2 8D 31 */ bl Think__10CPatternedFfR13CStateManager +/* 80250DEC 0024DD4C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80250DF0 0024DD50 C7 C3 00 04 */ lfsu f30, 4(r3) +/* 80250DF4 0024DD54 C3 A3 00 04 */ lfs f29, 4(r3) +/* 80250DF8 0024DD58 C3 83 00 08 */ lfs f28, 8(r3) +/* 80250DFC 0024DD5C 4B EE 06 AD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 80250E00 0024DD60 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) +/* 80250E04 0024DD64 38 00 00 00 */ li r0, 0 +/* 80250E08 0024DD68 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 80250E0C 0024DD6C 40 82 00 14 */ bne lbl_80250E20 +/* 80250E10 0024DD70 FC 00 E8 00 */ fcmpu cr0, f0, f29 +/* 80250E14 0024DD74 40 82 00 0C */ bne lbl_80250E20 +/* 80250E18 0024DD78 FC 00 E0 00 */ fcmpu cr0, f0, f28 +/* 80250E1C 0024DD7C 41 82 00 08 */ beq lbl_80250E24 +lbl_80250E20: +/* 80250E20 0024DD80 38 00 00 01 */ li r0, 1 +lbl_80250E24: +/* 80250E24 0024DD84 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80250E28 0024DD88 41 82 00 40 */ beq lbl_80250E68 +/* 80250E2C 0024DD8C D3 C1 00 9C */ stfs f30, 0x9c(r1) +/* 80250E30 0024DD90 38 81 00 9C */ addi r4, r1, 0x9c +/* 80250E34 0024DD94 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) +/* 80250E38 0024DD98 D3 A1 00 A0 */ stfs f29, 0xa0(r1) +/* 80250E3C 0024DD9C D3 81 00 A4 */ stfs f28, 0xa4(r1) +/* 80250E40 0024DDA0 C0 3E 05 F4 */ lfs f1, 0x5f4(r30) +/* 80250E44 0024DDA4 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80250E48 0024DDA8 C0 3E 05 F8 */ lfs f1, 0x5f8(r30) +/* 80250E4C 0024DDAC D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80250E50 0024DDB0 C0 3E 05 FC */ lfs f1, 0x5fc(r30) +/* 80250E54 0024DDB4 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80250E58 0024DDB8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80250E5C 0024DDBC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80250E60 0024DDC0 38 63 00 04 */ addi r3, r3, 4 +/* 80250E64 0024DDC4 4B EE 08 B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80250E68: +/* 80250E68 0024DDC8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80250E6C 0024DDCC C0 3E 06 40 */ lfs f1, 0x640(r30) +/* 80250E70 0024DDD0 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80250E74 0024DDD4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80250E78 0024DDD8 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80250E7C 0024DDDC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 80250E80 0024DDE0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80250E84 0024DDE4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80250E88 0024DDE8 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80250E8C 0024DDEC EC A4 00 28 */ fsubs f5, f4, f0 +/* 80250E90 0024DDF0 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250E94 0024DDF4 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80250E98 0024DDF8 EC 83 00 28 */ fsubs f4, f3, f0 +/* 80250E9C 0024DDFC C0 62 B8 DC */ lfs f3, lbl_805AD5FC@sda21(r2) +/* 80250EA0 0024DE00 C0 0D 97 20 */ lfs f0, lbl_805A82E0@sda21(r13) +/* 80250EA4 0024DE04 EC 45 11 7A */ fmadds f2, f5, f5, f2 +/* 80250EA8 0024DE08 EC 44 11 3A */ fmadds f2, f4, f4, f2 +/* 80250EAC 0024DE0C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80250EB0 0024DE10 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80250EB4 0024DE14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80250EB8 0024DE18 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80250EBC 0024DE1C 40 80 00 0C */ bge lbl_80250EC8 +/* 80250EC0 0024DE20 38 6D 97 20 */ addi r3, r13, lbl_805A82E0@sda21 +/* 80250EC4 0024DE24 48 00 00 08 */ b lbl_80250ECC +lbl_80250EC8: +/* 80250EC8 0024DE28 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80250ECC: +/* 80250ECC 0024DE2C C0 3E 06 3C */ lfs f1, 0x63c(r30) +/* 80250ED0 0024DE30 C0 03 00 00 */ lfs f0, 0(r3) +/* 80250ED4 0024DE34 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) +/* 80250ED8 0024DE38 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80250EDC 0024DE3C C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) +/* 80250EE0 0024DE40 EC 41 10 28 */ fsubs f2, f1, f2 +/* 80250EE4 0024DE44 FC 40 12 10 */ fabs f2, f2 +/* 80250EE8 0024DE48 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80250EEC 0024DE4C 41 80 00 28 */ blt lbl_80250F14 +/* 80250EF0 0024DE50 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80250EF4 0024DE54 38 81 00 14 */ addi r4, r1, 0x14 +/* 80250EF8 0024DE58 C0 42 B8 E0 */ lfs f2, lbl_805AD600@sda21(r2) +/* 80250EFC 0024DE5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80250F00 0024DE60 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80250F04 0024DE64 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80250F08 0024DE68 80 63 00 00 */ lwz r3, 0(r3) +/* 80250F0C 0024DE6C 38 63 01 88 */ addi r3, r3, 0x188 +/* 80250F10 0024DE70 4B F6 FC 29 */ bl AddSource__19CStaticInterferenceF9TUniqueId +lbl_80250F14: +/* 80250F14 0024DE74 7F C3 F3 78 */ mr r3, r30 +/* 80250F18 0024DE78 FC 20 F8 90 */ fmr f1, f31 +/* 80250F1C 0024DE7C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80250F20 0024DE80 7F E4 FB 78 */ mr r4, r31 +/* 80250F24 0024DE84 81 8C 01 A4 */ lwz r12, 0x1a4(r12) +/* 80250F28 0024DE88 7D 89 03 A6 */ mtctr r12 +/* 80250F2C 0024DE8C 4E 80 04 21 */ bctrl +/* 80250F30 0024DE90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80250F34 0024DE94 41 82 00 B4 */ beq lbl_80250FE8 +/* 80250F38 0024DE98 7F C3 F3 78 */ mr r3, r30 +/* 80250F3C 0024DE9C 7F E4 FB 78 */ mr r4, r31 +/* 80250F40 0024DEA0 38 A0 00 01 */ li r5, 1 +/* 80250F44 0024DEA4 48 00 03 95 */ bl sub_802512d8 +/* 80250F48 0024DEA8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80250F4C 0024DEAC 7F C3 F3 78 */ mr r3, r30 +/* 80250F50 0024DEB0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80250F54 0024DEB4 38 9E 06 50 */ addi r4, r30, 0x650 +/* 80250F58 0024DEB8 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250F5C 0024DEBC 38 C1 00 90 */ addi r6, r1, 0x90 +/* 80250F60 0024DEC0 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80250F64 0024DEC4 38 E0 00 60 */ li r7, 0x60 +/* 80250F68 0024DEC8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80250F6C 0024DECC 81 01 00 84 */ lwz r8, 0x84(r1) +/* 80250F70 0024DED0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80250F74 0024DED4 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 80250F78 0024DED8 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80250F7C 0024DEDC 91 01 00 90 */ stw r8, 0x90(r1) +/* 80250F80 0024DEE0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80250F84 0024DEE4 90 01 00 98 */ stw r0, 0x98(r1) +/* 80250F88 0024DEE8 A0 BE 06 46 */ lhz r5, 0x646(r30) +/* 80250F8C 0024DEEC 4B FF FD 91 */ bl sub_80250d1c +/* 80250F90 0024DEF0 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80250F94 0024DEF4 7F C3 F3 78 */ mr r3, r30 +/* 80250F98 0024DEF8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80250F9C 0024DEFC 38 9E 06 54 */ addi r4, r30, 0x654 +/* 80250FA0 0024DF00 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80250FA4 0024DF04 38 C1 00 78 */ addi r6, r1, 0x78 +/* 80250FA8 0024DF08 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80250FAC 0024DF0C 38 E0 00 60 */ li r7, 0x60 +/* 80250FB0 0024DF10 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80250FB4 0024DF14 81 01 00 6C */ lwz r8, 0x6c(r1) +/* 80250FB8 0024DF18 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80250FBC 0024DF1C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 80250FC0 0024DF20 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80250FC4 0024DF24 91 01 00 78 */ stw r8, 0x78(r1) +/* 80250FC8 0024DF28 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 80250FCC 0024DF2C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80250FD0 0024DF30 A0 BE 06 48 */ lhz r5, 0x648(r30) +/* 80250FD4 0024DF34 4B FF FD 49 */ bl sub_80250d1c +/* 80250FD8 0024DF38 7F C3 F3 78 */ mr r3, r30 +/* 80250FDC 0024DF3C 38 9E 06 4C */ addi r4, r30, 0x64c +/* 80250FE0 0024DF40 4B FF FC F1 */ bl sub_80250cd0 +/* 80250FE4 0024DF44 48 00 00 74 */ b lbl_80251058 +lbl_80250FE8: +/* 80250FE8 0024DF48 7F C3 F3 78 */ mr r3, r30 +/* 80250FEC 0024DF4C 7F E4 FB 78 */ mr r4, r31 +/* 80250FF0 0024DF50 38 A0 00 00 */ li r5, 0 +/* 80250FF4 0024DF54 48 00 02 E5 */ bl sub_802512d8 +/* 80250FF8 0024DF58 7F C3 F3 78 */ mr r3, r30 +/* 80250FFC 0024DF5C 38 9E 06 50 */ addi r4, r30, 0x650 +/* 80251000 0024DF60 4B FF FC D1 */ bl sub_80250cd0 +/* 80251004 0024DF64 7F C3 F3 78 */ mr r3, r30 +/* 80251008 0024DF68 38 9E 06 54 */ addi r4, r30, 0x654 +/* 8025100C 0024DF6C 4B FF FC C5 */ bl sub_80250cd0 +/* 80251010 0024DF70 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80251014 0024DF74 7F C3 F3 78 */ mr r3, r30 +/* 80251018 0024DF78 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8025101C 0024DF7C 38 9E 06 4C */ addi r4, r30, 0x64c +/* 80251020 0024DF80 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80251024 0024DF84 38 C1 00 60 */ addi r6, r1, 0x60 +/* 80251028 0024DF88 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8025102C 0024DF8C 38 E0 00 60 */ li r7, 0x60 +/* 80251030 0024DF90 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80251034 0024DF94 81 01 00 54 */ lwz r8, 0x54(r1) +/* 80251038 0024DF98 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8025103C 0024DF9C 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 80251040 0024DFA0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80251044 0024DFA4 91 01 00 60 */ stw r8, 0x60(r1) +/* 80251048 0024DFA8 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8025104C 0024DFAC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80251050 0024DFB0 A0 BE 06 44 */ lhz r5, 0x644(r30) +/* 80251054 0024DFB4 4B FF FC C9 */ bl sub_80250d1c +lbl_80251058: +/* 80251058 0024DFB8 3C 60 80 3F */ lis r3, lbl_803E8E40@ha +/* 8025105C 0024DFBC 3B BE 05 6C */ addi r29, r30, 0x56c +/* 80251060 0024DFC0 3B 83 8E 40 */ addi r28, r3, lbl_803E8E40@l +/* 80251064 0024DFC4 3B 60 00 00 */ li r27, 0 +lbl_80251068: +/* 80251068 0024DFC8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8025106C 0024DFCC 7F E3 FB 78 */ mr r3, r31 +/* 80251070 0024DFD0 38 81 00 0C */ addi r4, r1, 0xc +/* 80251074 0024DFD4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80251078 0024DFD8 4B DF B4 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025107C 0024DFDC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80251080 0024DFE0 41 82 00 E4 */ beq lbl_80251164 +/* 80251084 0024DFE4 88 1A 00 30 */ lbz r0, 0x30(r26) +/* 80251088 0024DFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025108C 0024DFEC 41 82 00 D8 */ beq lbl_80251164 +/* 80251090 0024DFF0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80251094 0024DFF4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80251098 0024DFF8 38 C1 00 08 */ addi r6, r1, 8 +/* 8025109C 0024DFFC 38 A0 FF FF */ li r5, -1 +/* 802510A0 0024E000 48 0E D0 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 802510A4 0024E004 7F C4 F3 78 */ mr r4, r30 +/* 802510A8 0024E008 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802510AC 0024E00C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802510B0 0024E010 4B E0 1E 21 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802510B4 0024E014 38 61 01 18 */ addi r3, r1, 0x118 +/* 802510B8 0024E018 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802510BC 0024E01C 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 802510C0 0024E020 48 0C 18 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802510C4 0024E024 38 61 01 78 */ addi r3, r1, 0x178 +/* 802510C8 0024E028 38 81 01 18 */ addi r4, r1, 0x118 +/* 802510CC 0024E02C 48 0C 1A A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802510D0 0024E030 38 61 00 44 */ addi r3, r1, 0x44 +/* 802510D4 0024E034 48 0E CA 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802510D8 0024E038 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 802510DC 0024E03C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802510E0 0024E040 C0 41 01 94 */ lfs f2, 0x194(r1) +/* 802510E4 0024E044 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802510E8 0024E048 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 802510EC 0024E04C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802510F0 0024E050 C0 81 01 9C */ lfs f4, 0x19c(r1) +/* 802510F4 0024E054 38 81 00 38 */ addi r4, r1, 0x38 +/* 802510F8 0024E058 C0 A1 01 8C */ lfs f5, 0x18c(r1) +/* 802510FC 0024E05C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80251100 0024E060 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 80251104 0024E064 EC 81 20 2A */ fadds f4, f1, f4 +/* 80251108 0024E068 EC A2 28 2A */ fadds f5, f2, f5 +/* 8025110C 0024E06C D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80251110 0024E070 EC 03 00 2A */ fadds f0, f3, f0 +/* 80251114 0024E074 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80251118 0024E078 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025111C 0024E07C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80251120 0024E080 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80251124 0024E084 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80251128 0024E088 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8025112C 0024E08C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80251130 0024E090 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80251134 0024E094 48 0C 29 DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80251138 0024E098 38 61 01 48 */ addi r3, r1, 0x148 +/* 8025113C 0024E09C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80251140 0024E0A0 48 0C 1A 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80251144 0024E0A4 7F 43 D3 78 */ mr r3, r26 +/* 80251148 0024E0A8 FC 20 F8 90 */ fmr f1, f31 +/* 8025114C 0024E0AC 81 9A 00 00 */ lwz r12, 0(r26) +/* 80251150 0024E0B0 7F E5 FB 78 */ mr r5, r31 +/* 80251154 0024E0B4 38 81 01 48 */ addi r4, r1, 0x148 +/* 80251158 0024E0B8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8025115C 0024E0BC 7D 89 03 A6 */ mtctr r12 +/* 80251160 0024E0C0 4E 80 04 21 */ bctrl +lbl_80251164: +/* 80251164 0024E0C4 3B 7B 00 01 */ addi r27, r27, 1 +/* 80251168 0024E0C8 3B 9C 00 04 */ addi r28, r28, 4 +/* 8025116C 0024E0CC 2C 1B 00 03 */ cmpwi r27, 3 +/* 80251170 0024E0D0 3B BD 00 02 */ addi r29, r29, 2 +/* 80251174 0024E0D4 41 80 FE F4 */ blt lbl_80251068 +/* 80251178 0024E0D8 7F E3 FB 78 */ mr r3, r31 +/* 8025117C 0024E0DC 4B FF FB 19 */ bl sub_80250c94 +/* 80251180 0024E0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80251184 0024E0E4 41 82 00 0C */ beq lbl_80251190 +/* 80251188 0024E0E8 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) +/* 8025118C 0024E0EC 48 00 00 08 */ b lbl_80251194 +lbl_80251190: +/* 80251190 0024E0F0 C0 02 B8 E4 */ lfs f0, lbl_805AD604@sda21(r2) +lbl_80251194: +/* 80251194 0024E0F4 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80251198 0024E0F8 C0 5E 05 80 */ lfs f2, 0x580(r30) +/* 8025119C 0024E0FC C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511A0 0024E100 38 7E 05 78 */ addi r3, r30, 0x578 +/* 802511A4 0024E104 38 81 00 18 */ addi r4, r1, 0x18 +/* 802511A8 0024E108 38 BE 05 7C */ addi r5, r30, 0x57c +/* 802511AC 0024E10C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802511B0 0024E110 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802511B4 0024E114 4B DB B1 01 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802511B8 0024E118 C0 03 00 00 */ lfs f0, 0(r3) +/* 802511BC 0024E11C D0 1E 05 84 */ stfs f0, 0x584(r30) +/* 802511C0 0024E120 C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511C4 0024E124 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +/* 802511C8 0024E128 C0 3E 05 F0 */ lfs f1, 0x5f0(r30) +/* 802511CC 0024E12C C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802511D0 0024E130 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802511D4 0024E134 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802511D8 0024E138 D0 03 03 30 */ stfs f0, 0x330(r3) +/* 802511DC 0024E13C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 802511E0 0024E140 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 802511E4 0024E144 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 802511E8 0024E148 CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 802511EC 0024E14C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 802511F0 0024E150 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 802511F4 0024E154 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 802511F8 0024E158 CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 802511FC 0024E15C BB 41 01 A8 */ lmw r26, 0x1a8(r1) +/* 80251200 0024E160 80 01 02 04 */ lwz r0, 0x204(r1) +/* 80251204 0024E164 7C 08 03 A6 */ mtlr r0 +/* 80251208 0024E168 38 21 02 00 */ addi r1, r1, 0x200 +/* 8025120C 0024E16C 4E 80 00 20 */ blr + +.global sub_80251210 +sub_80251210: +/* 80251210 0024E170 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80251214 0024E174 7C 08 02 A6 */ mflr r0 +/* 80251218 0024E178 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025121C 0024E17C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80251220 0024E180 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80251224 0024E184 3B C0 00 00 */ li r30, 0 +/* 80251228 0024E188 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025122C 0024E18C 7C 9D 23 78 */ mr r29, r4 +/* 80251230 0024E190 93 81 00 10 */ stw r28, 0x10(r1) +/* 80251234 0024E194 7C 7C 1B 78 */ mr r28, r3 +/* 80251238 0024E198 3B FC 05 6C */ addi r31, r28, 0x56c +/* 8025123C 0024E19C 48 00 00 20 */ b lbl_8025125C +lbl_80251240: +/* 80251240 0024E1A0 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80251244 0024E1A4 7F A3 EB 78 */ mr r3, r29 +/* 80251248 0024E1A8 38 81 00 08 */ addi r4, r1, 8 +/* 8025124C 0024E1AC B0 01 00 08 */ sth r0, 8(r1) +/* 80251250 0024E1B0 4B DF B0 1D */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80251254 0024E1B4 3B FF 00 02 */ addi r31, r31, 2 +/* 80251258 0024E1B8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8025125C: +/* 8025125C 0024E1BC 80 BC 05 68 */ lwz r5, 0x568(r28) +/* 80251260 0024E1C0 7C 1E 28 00 */ cmpw r30, r5 +/* 80251264 0024E1C4 41 80 FF DC */ blt lbl_80251240 +/* 80251268 0024E1C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025126C 0024E1CC 38 60 00 00 */ li r3, 0 +/* 80251270 0024E1D0 40 81 00 40 */ ble lbl_802512B0 +/* 80251274 0024E1D4 2C 05 00 08 */ cmpwi r5, 8 +/* 80251278 0024E1D8 38 85 FF F8 */ addi r4, r5, -8 +/* 8025127C 0024E1DC 40 81 00 20 */ ble lbl_8025129C +/* 80251280 0024E1E0 38 04 00 07 */ addi r0, r4, 7 +/* 80251284 0024E1E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80251288 0024E1E8 7C 09 03 A6 */ mtctr r0 +/* 8025128C 0024E1EC 2C 04 00 00 */ cmpwi r4, 0 +/* 80251290 0024E1F0 40 81 00 0C */ ble lbl_8025129C +lbl_80251294: +/* 80251294 0024E1F4 38 63 00 08 */ addi r3, r3, 8 +/* 80251298 0024E1F8 42 00 FF FC */ bdnz lbl_80251294 +lbl_8025129C: +/* 8025129C 0024E1FC 7C 03 28 50 */ subf r0, r3, r5 +/* 802512A0 0024E200 7C 09 03 A6 */ mtctr r0 +/* 802512A4 0024E204 7C 03 28 00 */ cmpw r3, r5 +/* 802512A8 0024E208 40 80 00 08 */ bge lbl_802512B0 +lbl_802512AC: +/* 802512AC 0024E20C 42 00 00 00 */ bdnz lbl_802512AC +lbl_802512B0: +/* 802512B0 0024E210 38 00 00 00 */ li r0, 0 +/* 802512B4 0024E214 90 1C 05 68 */ stw r0, 0x568(r28) +/* 802512B8 0024E218 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802512BC 0024E21C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802512C0 0024E220 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802512C4 0024E224 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802512C8 0024E228 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802512CC 0024E22C 7C 08 03 A6 */ mtlr r0 +/* 802512D0 0024E230 38 21 00 20 */ addi r1, r1, 0x20 +/* 802512D4 0024E234 4E 80 00 20 */ blr + +.global sub_802512d8 +sub_802512d8: +/* 802512D8 0024E238 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802512DC 0024E23C 7C 08 02 A6 */ mflr r0 +/* 802512E0 0024E240 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802512E4 0024E244 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 802512E8 0024E248 BF 01 01 B0 */ stmw r24, 0x1b0(r1) +/* 802512EC 0024E24C 7C 78 1B 78 */ mr r24, r3 +/* 802512F0 0024E250 7C BA 2B 78 */ mr r26, r5 +/* 802512F4 0024E254 7C 99 23 78 */ mr r25, r4 +/* 802512F8 0024E258 88 63 05 74 */ lbz r3, 0x574(r3) +/* 802512FC 0024E25C 7C 03 00 40 */ cmplw r3, r0 +/* 80251300 0024E260 41 82 01 80 */ beq lbl_80251480 +/* 80251304 0024E264 3C 80 80 3F */ lis r4, lbl_803E8E40@ha +/* 80251308 0024E268 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8025130C 0024E26C 3B C4 8E 40 */ addi r30, r4, lbl_803E8E40@l +/* 80251310 0024E270 3B B8 05 6C */ addi r29, r24, 0x56c +/* 80251314 0024E274 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 80251318 0024E278 3B 80 00 00 */ li r28, 0 +lbl_8025131C: +/* 8025131C 0024E27C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80251320 0024E280 38 61 00 48 */ addi r3, r1, 0x48 +/* 80251324 0024E284 38 C1 00 0C */ addi r6, r1, 0xc +/* 80251328 0024E288 38 A0 FF FF */ li r5, -1 +/* 8025132C 0024E28C 48 0E CE 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80251330 0024E290 7F 04 C3 78 */ mr r4, r24 +/* 80251334 0024E294 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80251338 0024E298 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8025133C 0024E29C 4B E0 1B 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80251340 0024E2A0 38 61 01 18 */ addi r3, r1, 0x118 +/* 80251344 0024E2A4 38 98 00 34 */ addi r4, r24, 0x34 +/* 80251348 0024E2A8 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 8025134C 0024E2AC 48 0C 16 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80251350 0024E2B0 38 61 01 78 */ addi r3, r1, 0x178 +/* 80251354 0024E2B4 38 81 01 18 */ addi r4, r1, 0x118 +/* 80251358 0024E2B8 48 0C 18 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025135C 0024E2BC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80251360 0024E2C0 48 0E C7 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80251364 0024E2C4 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 80251368 0024E2C8 7F E6 FB 78 */ mr r6, r31 +/* 8025136C 0024E2CC C0 41 01 94 */ lfs f2, 0x194(r1) +/* 80251370 0024E2D0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80251374 0024E2D4 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 80251378 0024E2D8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025137C 0024E2DC C0 81 01 9C */ lfs f4, 0x19c(r1) +/* 80251380 0024E2E0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80251384 0024E2E4 C0 A1 01 8C */ lfs f5, 0x18c(r1) +/* 80251388 0024E2E8 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 8025138C 0024E2EC EC 81 20 2A */ fadds f4, f1, f4 +/* 80251390 0024E2F0 EC A2 28 2A */ fadds f5, f2, f5 +/* 80251394 0024E2F4 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80251398 0024E2F8 EC 03 00 2A */ fadds f0, f3, f0 +/* 8025139C 0024E2FC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802513A0 0024E300 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802513A4 0024E304 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802513A8 0024E308 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802513AC 0024E30C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802513B0 0024E310 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802513B4 0024E314 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802513B8 0024E318 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802513BC 0024E31C 48 0C 27 55 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802513C0 0024E320 38 61 01 48 */ addi r3, r1, 0x148 +/* 802513C4 0024E324 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802513C8 0024E328 48 0C 17 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802513CC 0024E32C A0 1D 00 00 */ lhz r0, 0(r29) +/* 802513D0 0024E330 7F 23 CB 78 */ mr r3, r25 +/* 802513D4 0024E334 38 81 00 10 */ addi r4, r1, 0x10 +/* 802513D8 0024E338 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802513DC 0024E33C 4B DF B1 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802513E0 0024E340 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802513E4 0024E344 41 82 00 84 */ beq lbl_80251468 +/* 802513E8 0024E348 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802513EC 0024E34C 41 82 00 64 */ beq lbl_80251450 +/* 802513F0 0024E350 80 9E 00 00 */ lwz r4, 0(r30) +/* 802513F4 0024E354 38 61 00 14 */ addi r3, r1, 0x14 +/* 802513F8 0024E358 38 C1 00 08 */ addi r6, r1, 8 +/* 802513FC 0024E35C 38 A0 FF FF */ li r5, -1 +/* 80251400 0024E360 48 0E CD 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80251404 0024E364 7F 04 C3 78 */ mr r4, r24 +/* 80251408 0024E368 38 61 00 58 */ addi r3, r1, 0x58 +/* 8025140C 0024E36C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80251410 0024E370 4B E0 1A C1 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80251414 0024E374 38 61 00 88 */ addi r3, r1, 0x88 +/* 80251418 0024E378 38 98 00 34 */ addi r4, r24, 0x34 +/* 8025141C 0024E37C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80251420 0024E380 48 0C 15 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80251424 0024E384 7F 63 DB 78 */ mr r3, r27 +/* 80251428 0024E388 7F 25 CB 78 */ mr r5, r25 +/* 8025142C 0024E38C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80251430 0024E390 38 81 00 88 */ addi r4, r1, 0x88 +/* 80251434 0024E394 38 C0 00 00 */ li r6, 0 +/* 80251438 0024E398 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 8025143C 0024E39C 7D 89 03 A6 */ mtctr r12 +/* 80251440 0024E3A0 4E 80 04 21 */ bctrl +/* 80251444 0024E3A4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80251448 0024E3A8 48 0E C6 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025144C 0024E3AC 48 00 00 1C */ b lbl_80251468 +lbl_80251450: +/* 80251450 0024E3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80251454 0024E3B4 7F 24 CB 78 */ mr r4, r25 +/* 80251458 0024E3B8 38 A0 00 00 */ li r5, 0 +/* 8025145C 0024E3BC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80251460 0024E3C0 7D 89 03 A6 */ mtctr r12 +/* 80251464 0024E3C4 4E 80 04 21 */ bctrl +lbl_80251468: +/* 80251468 0024E3C8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8025146C 0024E3CC 3B BD 00 02 */ addi r29, r29, 2 +/* 80251470 0024E3D0 2C 1C 00 03 */ cmpwi r28, 3 +/* 80251474 0024E3D4 3B DE 00 04 */ addi r30, r30, 4 +/* 80251478 0024E3D8 41 80 FE A4 */ blt lbl_8025131C +/* 8025147C 0024E3DC 9B 58 05 74 */ stb r26, 0x574(r24) +lbl_80251480: +/* 80251480 0024E3E0 BB 01 01 B0 */ lmw r24, 0x1b0(r1) +/* 80251484 0024E3E4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80251488 0024E3E8 7C 08 03 A6 */ mtlr r0 +/* 8025148C 0024E3EC 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 80251490 0024E3F0 4E 80 00 20 */ blr + +.global sub_80251494 +sub_80251494: +/* 80251494 0024E3F4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80251498 0024E3F8 7C 08 02 A6 */ mflr r0 +/* 8025149C 0024E3FC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802514A0 0024E400 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802514A4 0024E404 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802514A8 0024E408 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802514AC 0024E40C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802514B0 0024E410 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 802514B4 0024E414 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 802514B8 0024E418 BF 21 00 64 */ stmw r25, 0x64(r1) +/* 802514BC 0024E41C 7C 7C 1B 78 */ mr r28, r3 +/* 802514C0 0024E420 7C 9D 23 78 */ mr r29, r4 +/* 802514C4 0024E424 C3 A3 06 38 */ lfs f29, 0x638(r3) +/* 802514C8 0024E428 38 61 00 34 */ addi r3, r1, 0x34 +/* 802514CC 0024E42C C3 DC 06 30 */ lfs f30, 0x630(r28) +/* 802514D0 0024E430 38 9C 06 00 */ addi r4, r28, 0x600 +/* 802514D4 0024E434 83 5C 06 2C */ lwz r26, 0x62c(r28) +/* 802514D8 0024E438 C3 FC 06 34 */ lfs f31, 0x634(r28) +/* 802514DC 0024E43C 48 0E F9 CD */ bl __ct__6CTokenFRC6CToken +/* 802514E0 0024E440 C0 22 B8 E8 */ lfs f1, lbl_805AD608@sda21(r2) +/* 802514E4 0024E444 3C 60 80 3D */ lis r3, lbl_803D4B50@ha +/* 802514E8 0024E448 C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) +/* 802514EC 0024E44C 3B FC 05 6C */ addi r31, r28, 0x56c +/* 802514F0 0024E450 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802514F4 0024E454 3B 23 4B 50 */ addi r25, r3, lbl_803D4B50@l +/* 802514F8 0024E458 3B C0 00 00 */ li r30, 0 +/* 802514FC 0024E45C D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 80251500 0024E460 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80251504 0024E464 93 41 00 48 */ stw r26, 0x48(r1) +/* 80251508 0024E468 D3 C1 00 4C */ stfs f30, 0x4c(r1) +/* 8025150C 0024E46C D3 A1 00 50 */ stfs f29, 0x50(r1) +lbl_80251510: +/* 80251510 0024E470 7F A4 EB 78 */ mr r4, r29 +/* 80251514 0024E474 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251518 0024E478 4B DF BB C5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8025151C 0024E47C 80 1C 05 68 */ lwz r0, 0x568(r28) +/* 80251520 0024E480 A0 61 00 24 */ lhz r3, 0x24(r1) +/* 80251524 0024E484 54 00 08 3C */ slwi r0, r0, 1 +/* 80251528 0024E488 7C 9F 02 15 */ add. r4, r31, r0 +/* 8025152C 0024E48C B0 61 00 28 */ sth r3, 0x28(r1) +/* 80251530 0024E490 41 82 00 08 */ beq lbl_80251538 +/* 80251534 0024E494 B0 64 00 00 */ sth r3, 0(r4) +lbl_80251538: +/* 80251538 0024E498 80 DC 05 68 */ lwz r6, 0x568(r28) +/* 8025153C 0024E49C 38 99 00 21 */ addi r4, r25, 0x21 +/* 80251540 0024E4A0 38 60 04 90 */ li r3, 0x490 +/* 80251544 0024E4A4 38 A0 00 00 */ li r5, 0 +/* 80251548 0024E4A8 38 06 00 01 */ addi r0, r6, 1 +/* 8025154C 0024E4AC 90 1C 05 68 */ stw r0, 0x568(r28) +/* 80251550 0024E4B0 48 0C 43 1D */ bl __nw__FUlPCcPCc +/* 80251554 0024E4B4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80251558 0024E4B8 41 82 00 64 */ beq lbl_802515BC +/* 8025155C 0024E4BC A0 BC 00 08 */ lhz r5, 8(r28) +/* 80251560 0024E4C0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80251564 0024E4C4 38 E4 66 70 */ addi r7, r4, skIdentity4f@l +/* 80251568 0024E4C8 A3 61 00 28 */ lhz r27, 0x28(r1) +/* 8025156C 0024E4CC B0 A1 00 20 */ sth r5, 0x20(r1) +/* 80251570 0024E4D0 39 81 00 30 */ addi r12, r1, 0x30 +/* 80251574 0024E4D4 39 61 00 20 */ addi r11, r1, 0x20 +/* 80251578 0024E4D8 38 00 00 00 */ li r0, 0 +/* 8025157C 0024E4DC 83 5C 00 04 */ lwz r26, 4(r28) +/* 80251580 0024E4E0 38 9C 06 08 */ addi r4, r28, 0x608 +/* 80251584 0024E4E4 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 80251588 0024E4E8 38 C1 00 34 */ addi r6, r1, 0x34 +/* 8025158C 0024E4EC 39 3C 06 10 */ addi r9, r28, 0x610 +/* 80251590 0024E4F0 39 41 00 18 */ addi r10, r1, 0x18 +/* 80251594 0024E4F4 93 41 00 30 */ stw r26, 0x30(r1) +/* 80251598 0024E4F8 38 A0 00 09 */ li r5, 9 +/* 8025159C 0024E4FC 39 00 00 21 */ li r8, 0x21 +/* 802515A0 0024E500 B3 61 00 18 */ sth r27, 0x18(r1) +/* 802515A4 0024E504 91 81 00 08 */ stw r12, 8(r1) +/* 802515A8 0024E508 91 61 00 0C */ stw r11, 0xc(r1) +/* 802515AC 0024E50C 93 41 00 2C */ stw r26, 0x2c(r1) +/* 802515B0 0024E510 90 01 00 10 */ stw r0, 0x10(r1) +/* 802515B4 0024E514 48 00 0D 89 */ bl __ct__23CElectricBeamProjectile +/* 802515B8 0024E518 7C 64 1B 78 */ mr r4, r3 +lbl_802515BC: +/* 802515BC 0024E51C 7F A3 EB 78 */ mr r3, r29 +/* 802515C0 0024E520 4B DF B7 35 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 802515C4 0024E524 3B DE 00 01 */ addi r30, r30, 1 +/* 802515C8 0024E528 2C 1E 00 03 */ cmpwi r30, 3 +/* 802515CC 0024E52C 41 80 FF 44 */ blt lbl_80251510 +/* 802515D0 0024E530 38 61 00 34 */ addi r3, r1, 0x34 +/* 802515D4 0024E534 38 80 00 00 */ li r4, 0 +/* 802515D8 0024E538 48 0E F8 69 */ bl __dt__6CTokenFv +/* 802515DC 0024E53C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802515E0 0024E540 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802515E4 0024E544 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802515E8 0024E548 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802515EC 0024E54C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802515F0 0024E550 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802515F4 0024E554 BB 21 00 64 */ lmw r25, 0x64(r1) +/* 802515F8 0024E558 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802515FC 0024E55C 7C 08 03 A6 */ mtlr r0 +/* 80251600 0024E560 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80251604 0024E564 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80251608 0024E568 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025160C 0024E56C 7C 08 02 A6 */ mflr r0 +/* 80251610 0024E570 90 01 00 24 */ stw r0, 0x24(r1) +/* 80251614 0024E574 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80251618 0024E578 7C DF 33 78 */ mr r31, r6 +/* 8025161C 0024E57C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80251620 0024E580 7C BE 2B 78 */ mr r30, r5 +/* 80251624 0024E584 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80251628 0024E588 7C 9D 23 78 */ mr r29, r4 +/* 8025162C 0024E58C 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 80251630 0024E590 93 81 00 10 */ stw r28, 0x10(r1) +/* 80251634 0024E594 7C 7C 1B 78 */ mr r28, r3 +/* 80251638 0024E598 41 82 00 20 */ beq lbl_80251658 +/* 8025163C 0024E59C 40 80 00 10 */ bge lbl_8025164C +/* 80251640 0024E5A0 2C 1D 00 04 */ cmpwi r29, 4 +/* 80251644 0024E5A4 41 82 00 30 */ beq lbl_80251674 +/* 80251648 0024E5A8 48 00 00 68 */ b lbl_802516B0 +lbl_8025164C: +/* 8025164C 0024E5AC 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 80251650 0024E5B0 40 80 00 60 */ bge lbl_802516B0 +/* 80251654 0024E5B4 48 00 00 54 */ b lbl_802516A8 +lbl_80251658: +/* 80251658 0024E5B8 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8025165C 0024E5BC 7F E4 FB 78 */ mr r4, r31 +/* 80251660 0024E5C0 4B EE 96 91 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80251664 0024E5C4 7F 83 E3 78 */ mr r3, r28 +/* 80251668 0024E5C8 7F E4 FB 78 */ mr r4, r31 +/* 8025166C 0024E5CC 4B FF FE 29 */ bl sub_80251494 +/* 80251670 0024E5D0 48 00 00 40 */ b lbl_802516B0 +lbl_80251674: +/* 80251674 0024E5D4 7F E4 FB 78 */ mr r4, r31 +/* 80251678 0024E5D8 38 A0 00 00 */ li r5, 0 +/* 8025167C 0024E5DC 4B FF FC 5D */ bl sub_802512d8 +/* 80251680 0024E5E0 7F 83 E3 78 */ mr r3, r28 +/* 80251684 0024E5E4 38 9C 06 50 */ addi r4, r28, 0x650 +/* 80251688 0024E5E8 4B FF F6 49 */ bl sub_80250cd0 +/* 8025168C 0024E5EC 7F 83 E3 78 */ mr r3, r28 +/* 80251690 0024E5F0 38 9C 06 54 */ addi r4, r28, 0x654 +/* 80251694 0024E5F4 4B FF F6 3D */ bl sub_80250cd0 +/* 80251698 0024E5F8 7F 83 E3 78 */ mr r3, r28 +/* 8025169C 0024E5FC 38 9C 06 4C */ addi r4, r28, 0x64c +/* 802516A0 0024E600 4B FF F6 31 */ bl sub_80250cd0 +/* 802516A4 0024E604 48 00 00 0C */ b lbl_802516B0 +lbl_802516A8: +/* 802516A8 0024E608 7F E4 FB 78 */ mr r4, r31 +/* 802516AC 0024E60C 4B FF FB 65 */ bl sub_80251210 +lbl_802516B0: +/* 802516B0 0024E610 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802516B4 0024E614 7F 83 E3 78 */ mr r3, r28 +/* 802516B8 0024E618 7F A4 EB 78 */ mr r4, r29 +/* 802516BC 0024E61C 7F E6 FB 78 */ mr r6, r31 +/* 802516C0 0024E620 B0 01 00 08 */ sth r0, 8(r1) +/* 802516C4 0024E624 38 A1 00 08 */ addi r5, r1, 8 +/* 802516C8 0024E628 4B E2 B4 B1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802516CC 0024E62C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802516D0 0024E630 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802516D4 0024E634 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802516D8 0024E638 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802516DC 0024E63C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802516E0 0024E640 7C 08 03 A6 */ mtlr r0 +/* 802516E4 0024E644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802516E8 0024E648 4E 80 00 20 */ blr + +.global Accept__11CAtomicBetaFR8IVisitor +Accept__11CAtomicBetaFR8IVisitor: +/* 802516EC 0024E64C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802516F0 0024E650 7C 08 02 A6 */ mflr r0 +/* 802516F4 0024E654 90 01 00 14 */ stw r0, 0x14(r1) +/* 802516F8 0024E658 7C 60 1B 78 */ mr r0, r3 +/* 802516FC 0024E65C 7C 83 23 78 */ mr r3, r4 +/* 80251700 0024E660 81 84 00 00 */ lwz r12, 0(r4) +/* 80251704 0024E664 7C 04 03 78 */ mr r4, r0 +/* 80251708 0024E668 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8025170C 0024E66C 7D 89 03 A6 */ mtctr r12 +/* 80251710 0024E670 4E 80 04 21 */ bctrl +/* 80251714 0024E674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251718 0024E678 7C 08 03 A6 */ mtlr r0 +/* 8025171C 0024E67C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251720 0024E680 4E 80 00 20 */ blr + +.global __dt__11CAtomicBetaFv +__dt__11CAtomicBetaFv: +/* 80251724 0024E684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251728 0024E688 7C 08 02 A6 */ mflr r0 +/* 8025172C 0024E68C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251730 0024E690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251734 0024E694 7C 9F 23 78 */ mr r31, r4 +/* 80251738 0024E698 93 C1 00 08 */ stw r30, 8(r1) +/* 8025173C 0024E69C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80251740 0024E6A0 41 82 00 D0 */ beq lbl_80251810 +/* 80251744 0024E6A4 3C A0 80 3F */ lis r5, lbl_803E8E4C@ha +/* 80251748 0024E6A8 38 9E 06 50 */ addi r4, r30, 0x650 +/* 8025174C 0024E6AC 38 05 8E 4C */ addi r0, r5, lbl_803E8E4C@l +/* 80251750 0024E6B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80251754 0024E6B4 4B FF F5 7D */ bl sub_80250cd0 +/* 80251758 0024E6B8 7F C3 F3 78 */ mr r3, r30 +/* 8025175C 0024E6BC 38 9E 06 54 */ addi r4, r30, 0x654 +/* 80251760 0024E6C0 4B FF F5 71 */ bl sub_80250cd0 +/* 80251764 0024E6C4 7F C3 F3 78 */ mr r3, r30 +/* 80251768 0024E6C8 38 9E 06 4C */ addi r4, r30, 0x64c +/* 8025176C 0024E6CC 4B FF F5 65 */ bl sub_80250cd0 +/* 80251770 0024E6D0 34 1E 06 08 */ addic. r0, r30, 0x608 +/* 80251774 0024E6D4 41 82 00 10 */ beq lbl_80251784 +/* 80251778 0024E6D8 38 7E 06 08 */ addi r3, r30, 0x608 +/* 8025177C 0024E6DC 38 80 00 00 */ li r4, 0 +/* 80251780 0024E6E0 48 0E F6 C1 */ bl __dt__6CTokenFv +lbl_80251784: +/* 80251784 0024E6E4 34 1E 06 00 */ addic. r0, r30, 0x600 +/* 80251788 0024E6E8 41 82 00 10 */ beq lbl_80251798 +/* 8025178C 0024E6EC 38 7E 06 00 */ addi r3, r30, 0x600 +/* 80251790 0024E6F0 38 80 00 00 */ li r4, 0 +/* 80251794 0024E6F4 48 0E F6 AD */ bl __dt__6CTokenFv +lbl_80251798: +/* 80251798 0024E6F8 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 8025179C 0024E6FC 41 82 00 58 */ beq lbl_802517F4 +/* 802517A0 0024E700 80 BE 05 68 */ lwz r5, 0x568(r30) +/* 802517A4 0024E704 38 60 00 00 */ li r3, 0 +/* 802517A8 0024E708 2C 05 00 00 */ cmpwi r5, 0 +/* 802517AC 0024E70C 40 81 00 40 */ ble lbl_802517EC +/* 802517B0 0024E710 2C 05 00 08 */ cmpwi r5, 8 +/* 802517B4 0024E714 38 85 FF F8 */ addi r4, r5, -8 +/* 802517B8 0024E718 40 81 00 20 */ ble lbl_802517D8 +/* 802517BC 0024E71C 38 04 00 07 */ addi r0, r4, 7 +/* 802517C0 0024E720 54 00 E8 FE */ srwi r0, r0, 3 +/* 802517C4 0024E724 7C 09 03 A6 */ mtctr r0 +/* 802517C8 0024E728 2C 04 00 00 */ cmpwi r4, 0 +/* 802517CC 0024E72C 40 81 00 0C */ ble lbl_802517D8 +lbl_802517D0: +/* 802517D0 0024E730 38 63 00 08 */ addi r3, r3, 8 +/* 802517D4 0024E734 42 00 FF FC */ bdnz lbl_802517D0 +lbl_802517D8: +/* 802517D8 0024E738 7C 03 28 50 */ subf r0, r3, r5 +/* 802517DC 0024E73C 7C 09 03 A6 */ mtctr r0 +/* 802517E0 0024E740 7C 03 28 00 */ cmpw r3, r5 +/* 802517E4 0024E744 40 80 00 08 */ bge lbl_802517EC +lbl_802517E8: +/* 802517E8 0024E748 42 00 00 00 */ bdnz lbl_802517E8 +lbl_802517EC: +/* 802517EC 0024E74C 38 00 00 00 */ li r0, 0 +/* 802517F0 0024E750 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_802517F4: +/* 802517F4 0024E754 7F C3 F3 78 */ mr r3, r30 +/* 802517F8 0024E758 38 80 00 00 */ li r4, 0 +/* 802517FC 0024E75C 4B E2 5D 75 */ bl __dt__10CPatternedFv +/* 80251800 0024E760 7F E0 07 35 */ extsh. r0, r31 +/* 80251804 0024E764 40 81 00 0C */ ble lbl_80251810 +/* 80251808 0024E768 7F C3 F3 78 */ mr r3, r30 +/* 8025180C 0024E76C 48 0C 41 25 */ bl Free__7CMemoryFPCv +lbl_80251810: +/* 80251810 0024E770 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251814 0024E774 7F C3 F3 78 */ mr r3, r30 +/* 80251818 0024E778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025181C 0024E77C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80251820 0024E780 7C 08 03 A6 */ mtlr r0 +/* 80251824 0024E784 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251828 0024E788 4E 80 00 20 */ blr + +.global __ct__11CAtomicBeta +__ct__11CAtomicBeta: +/* 8025182C 0024E78C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80251830 0024E790 7C 08 02 A6 */ mflr r0 +/* 80251834 0024E794 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80251838 0024E798 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8025183C 0024E79C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80251840 0024E7A0 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80251844 0024E7A4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80251848 0024E7A8 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8025184C 0024E7AC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 80251850 0024E7B0 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 80251854 0024E7B4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 80251858 0024E7B8 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8025185C 0024E7BC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 80251860 0024E7C0 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 80251864 0024E7C4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 80251868 0024E7C8 DB 21 00 70 */ stfd f25, 0x70(r1) +/* 8025186C 0024E7CC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 80251870 0024E7D0 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 80251874 0024E7D4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80251878 0024E7D8 7C CB 33 78 */ mr r11, r6 +/* 8025187C 0024E7DC 7C F7 3B 78 */ mr r23, r7 +/* 80251880 0024E7E0 7D 07 43 78 */ mr r7, r8 +/* 80251884 0024E7E4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80251888 0024E7E8 38 C0 00 01 */ li r6, 1 +/* 8025188C 0024E7EC 38 80 00 05 */ li r4, 5 +/* 80251890 0024E7F0 FF 20 08 90 */ fmr f25, f1 +/* 80251894 0024E7F4 91 41 00 08 */ stw r10, 8(r1) +/* 80251898 0024E7F8 7C EA 3B 78 */ mr r10, r7 +/* 8025189C 0024E7FC FF 40 10 90 */ fmr f26, f2 +/* 802518A0 0024E800 38 00 00 00 */ li r0, 0 +/* 802518A4 0024E804 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802518A8 0024E808 FF 60 18 90 */ fmr f27, f3 +/* 802518AC 0024E80C 83 01 00 E8 */ lwz r24, 0xe8(r1) +/* 802518B0 0024E810 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802518B4 0024E814 7C A6 2B 78 */ mr r6, r5 +/* 802518B8 0024E818 FF 80 20 90 */ fmr f28, f4 +/* 802518BC 0024E81C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802518C0 0024E820 FF A0 28 90 */ fmr f29, f5 +/* 802518C4 0024E824 83 21 00 EC */ lwz r25, 0xec(r1) +/* 802518C8 0024E828 91 21 00 18 */ stw r9, 0x18(r1) +/* 802518CC 0024E82C FF C0 30 90 */ fmr f30, f6 +/* 802518D0 0024E830 FF E0 38 90 */ fmr f31, f7 +/* 802518D4 0024E834 83 41 00 F0 */ lwz r26, 0xf0(r1) +/* 802518D8 0024E838 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802518DC 0024E83C 7C 76 1B 78 */ mr r22, r3 +/* 802518E0 0024E840 83 61 00 F4 */ lwz r27, 0xf4(r1) +/* 802518E4 0024E844 7D 68 5B 78 */ mr r8, r11 +/* 802518E8 0024E848 83 81 00 F8 */ lwz r28, 0xf8(r1) +/* 802518EC 0024E84C 7E E9 BB 78 */ mr r9, r23 +/* 802518F0 0024E850 A3 A1 00 FE */ lhz r29, 0xfe(r1) +/* 802518F4 0024E854 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802518F8 0024E858 A3 C1 01 02 */ lhz r30, 0x102(r1) +/* 802518FC 0024E85C 38 80 00 01 */ li r4, 1 +/* 80251900 0024E860 A3 E1 01 06 */ lhz r31, 0x106(r1) +/* 80251904 0024E864 38 E0 00 00 */ li r7, 0 +/* 80251908 0024E868 4B E2 BB 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8025190C 0024E86C 3C 80 80 3F */ lis r4, lbl_803E8E4C@ha +/* 80251910 0024E870 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 80251914 0024E874 38 04 8E 4C */ addi r0, r4, lbl_803E8E4C@l +/* 80251918 0024E878 38 80 00 00 */ li r4, 0 +/* 8025191C 0024E87C 90 16 00 00 */ stw r0, 0(r22) +/* 80251920 0024E880 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 80251924 0024E884 38 61 00 34 */ addi r3, r1, 0x34 +/* 80251928 0024E888 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8025192C 0024E88C 90 96 05 68 */ stw r4, 0x568(r22) +/* 80251930 0024E890 98 96 05 74 */ stb r4, 0x574(r22) +/* 80251934 0024E894 D3 B6 05 78 */ stfs f29, 0x578(r22) +/* 80251938 0024E898 D3 D6 05 7C */ stfs f30, 0x57c(r22) +/* 8025193C 0024E89C D3 F6 05 80 */ stfs f31, 0x580(r22) +/* 80251940 0024E8A0 C0 16 05 78 */ lfs f0, 0x578(r22) +/* 80251944 0024E8A4 D0 16 05 84 */ stfs f0, 0x584(r22) +/* 80251948 0024E8A8 80 DC 00 00 */ lwz r6, 0(r28) +/* 8025194C 0024E8AC 80 9C 00 04 */ lwz r4, 4(r28) +/* 80251950 0024E8B0 90 D6 05 88 */ stw r6, 0x588(r22) +/* 80251954 0024E8B4 90 96 05 8C */ stw r4, 0x58c(r22) +/* 80251958 0024E8B8 80 DC 00 08 */ lwz r6, 8(r28) +/* 8025195C 0024E8BC 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80251960 0024E8C0 90 D6 05 90 */ stw r6, 0x590(r22) +/* 80251964 0024E8C4 90 96 05 94 */ stw r4, 0x594(r22) +/* 80251968 0024E8C8 80 DC 00 10 */ lwz r6, 0x10(r28) +/* 8025196C 0024E8CC 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 80251970 0024E8D0 90 D6 05 98 */ stw r6, 0x598(r22) +/* 80251974 0024E8D4 90 96 05 9C */ stw r4, 0x59c(r22) +/* 80251978 0024E8D8 80 DC 00 18 */ lwz r6, 0x18(r28) +/* 8025197C 0024E8DC 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80251980 0024E8E0 90 D6 05 A0 */ stw r6, 0x5a0(r22) +/* 80251984 0024E8E4 90 96 05 A4 */ stw r4, 0x5a4(r22) +/* 80251988 0024E8E8 80 DC 00 20 */ lwz r6, 0x20(r28) +/* 8025198C 0024E8EC 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80251990 0024E8F0 90 D6 05 A8 */ stw r6, 0x5a8(r22) +/* 80251994 0024E8F4 90 96 05 AC */ stw r4, 0x5ac(r22) +/* 80251998 0024E8F8 80 DC 00 28 */ lwz r6, 0x28(r28) +/* 8025199C 0024E8FC 80 9C 00 2C */ lwz r4, 0x2c(r28) +/* 802519A0 0024E900 90 D6 05 B0 */ stw r6, 0x5b0(r22) +/* 802519A4 0024E904 90 96 05 B4 */ stw r4, 0x5b4(r22) +/* 802519A8 0024E908 80 DC 00 30 */ lwz r6, 0x30(r28) +/* 802519AC 0024E90C 80 9C 00 34 */ lwz r4, 0x34(r28) +/* 802519B0 0024E910 90 D6 05 B8 */ stw r6, 0x5b8(r22) +/* 802519B4 0024E914 90 96 05 BC */ stw r4, 0x5bc(r22) +/* 802519B8 0024E918 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 802519BC 0024E91C 90 96 05 C0 */ stw r4, 0x5c0(r22) +/* 802519C0 0024E920 80 DC 00 3C */ lwz r6, 0x3c(r28) +/* 802519C4 0024E924 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802519C8 0024E928 90 D6 05 C4 */ stw r6, 0x5c4(r22) +/* 802519CC 0024E92C 90 96 05 C8 */ stw r4, 0x5c8(r22) +/* 802519D0 0024E930 80 DC 00 44 */ lwz r6, 0x44(r28) +/* 802519D4 0024E934 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802519D8 0024E938 90 D6 05 CC */ stw r6, 0x5cc(r22) +/* 802519DC 0024E93C 90 96 05 D0 */ stw r4, 0x5d0(r22) +/* 802519E0 0024E940 80 DC 00 4C */ lwz r6, 0x4c(r28) +/* 802519E4 0024E944 80 9C 00 50 */ lwz r4, 0x50(r28) +/* 802519E8 0024E948 90 D6 05 D4 */ stw r6, 0x5d4(r22) +/* 802519EC 0024E94C 90 96 05 D8 */ stw r4, 0x5d8(r22) +/* 802519F0 0024E950 80 DC 00 54 */ lwz r6, 0x54(r28) +/* 802519F4 0024E954 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802519F8 0024E958 90 D6 05 DC */ stw r6, 0x5dc(r22) +/* 802519FC 0024E95C 90 96 05 E0 */ stw r4, 0x5e0(r22) +/* 80251A00 0024E960 80 9C 00 5C */ lwz r4, 0x5c(r28) +/* 80251A04 0024E964 90 96 05 E4 */ stw r4, 0x5e4(r22) +/* 80251A08 0024E968 80 9C 00 60 */ lwz r4, 0x60(r28) +/* 80251A0C 0024E96C 90 96 05 E8 */ stw r4, 0x5e8(r22) +/* 80251A10 0024E970 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80251A14 0024E974 90 96 05 EC */ stw r4, 0x5ec(r22) +/* 80251A18 0024E978 D3 96 05 F0 */ stfs f28, 0x5f0(r22) +/* 80251A1C 0024E97C C0 57 00 24 */ lfs f2, 0x24(r23) +/* 80251A20 0024E980 C0 37 00 14 */ lfs f1, 0x14(r23) +/* 80251A24 0024E984 C0 17 00 04 */ lfs f0, 4(r23) +/* 80251A28 0024E988 D0 16 05 F4 */ stfs f0, 0x5f4(r22) +/* 80251A2C 0024E98C D0 36 05 F8 */ stfs f1, 0x5f8(r22) +/* 80251A30 0024E990 D0 56 05 FC */ stfs f2, 0x5fc(r22) +/* 80251A34 0024E994 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80251A38 0024E998 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80251A3C 0024E99C 93 01 00 40 */ stw r24, 0x40(r1) +/* 80251A40 0024E9A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80251A44 0024E9A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80251A48 0024E9A8 7D 89 03 A6 */ mtctr r12 +/* 80251A4C 0024E9AC 4E 80 04 21 */ bctrl +/* 80251A50 0024E9B0 38 76 06 00 */ addi r3, r22, 0x600 +/* 80251A54 0024E9B4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80251A58 0024E9B8 48 0E F4 51 */ bl __ct__6CTokenFRC6CToken +/* 80251A5C 0024E9BC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80251A60 0024E9C0 38 80 FF FF */ li r4, -1 +/* 80251A64 0024E9C4 48 0E F3 DD */ bl __dt__6CTokenFv +/* 80251A68 0024E9C8 3C 60 57 50 */ lis r3, 0x57505343@ha +/* 80251A6C 0024E9CC 93 21 00 30 */ stw r25, 0x30(r1) +/* 80251A70 0024E9D0 38 03 53 43 */ addi r0, r3, 0x57505343@l +/* 80251A74 0024E9D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80251A78 0024E9D8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80251A7C 0024E9DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251A80 0024E9E0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80251A84 0024E9E4 81 84 00 00 */ lwz r12, 0(r4) +/* 80251A88 0024E9E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80251A8C 0024E9EC 7D 89 03 A6 */ mtctr r12 +/* 80251A90 0024E9F0 4E 80 04 21 */ bctrl +/* 80251A94 0024E9F4 38 76 06 08 */ addi r3, r22, 0x608 +/* 80251A98 0024E9F8 38 81 00 24 */ addi r4, r1, 0x24 +/* 80251A9C 0024E9FC 48 0E F4 0D */ bl __ct__6CTokenFRC6CToken +/* 80251AA0 0024EA00 38 61 00 24 */ addi r3, r1, 0x24 +/* 80251AA4 0024EA04 38 80 FF FF */ li r4, -1 +/* 80251AA8 0024EA08 48 0E F3 99 */ bl __dt__6CTokenFv +/* 80251AAC 0024EA0C 80 1A 00 00 */ lwz r0, 0(r26) +/* 80251AB0 0024EA10 7F A3 EB 78 */ mr r3, r29 +/* 80251AB4 0024EA14 C0 22 B8 DC */ lfs f1, lbl_805AD5FC@sda21(r2) +/* 80251AB8 0024EA18 90 16 06 10 */ stw r0, 0x610(r22) +/* 80251ABC 0024EA1C C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) +/* 80251AC0 0024EA20 88 1A 00 04 */ lbz r0, 4(r26) +/* 80251AC4 0024EA24 98 16 06 14 */ stb r0, 0x614(r22) +/* 80251AC8 0024EA28 C0 5A 00 08 */ lfs f2, 8(r26) +/* 80251ACC 0024EA2C D0 56 06 18 */ stfs f2, 0x618(r22) +/* 80251AD0 0024EA30 C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 80251AD4 0024EA34 D0 56 06 1C */ stfs f2, 0x61c(r22) +/* 80251AD8 0024EA38 C0 5A 00 10 */ lfs f2, 0x10(r26) +/* 80251ADC 0024EA3C D0 56 06 20 */ stfs f2, 0x620(r22) +/* 80251AE0 0024EA40 C0 5A 00 14 */ lfs f2, 0x14(r26) +/* 80251AE4 0024EA44 D0 56 06 24 */ stfs f2, 0x624(r22) +/* 80251AE8 0024EA48 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80251AEC 0024EA4C 98 16 06 28 */ stb r0, 0x628(r22) +/* 80251AF0 0024EA50 93 76 06 2C */ stw r27, 0x62c(r22) +/* 80251AF4 0024EA54 D3 36 06 30 */ stfs f25, 0x630(r22) +/* 80251AF8 0024EA58 D3 56 06 34 */ stfs f26, 0x634(r22) +/* 80251AFC 0024EA5C D3 76 06 38 */ stfs f27, 0x638(r22) +/* 80251B00 0024EA60 D0 36 06 3C */ stfs f1, 0x63c(r22) +/* 80251B04 0024EA64 D0 16 06 40 */ stfs f0, 0x640(r22) +/* 80251B08 0024EA68 48 09 6E A9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B0C 0024EA6C B0 76 06 44 */ sth r3, 0x644(r22) +/* 80251B10 0024EA70 7F C3 F3 78 */ mr r3, r30 +/* 80251B14 0024EA74 48 09 6E 9D */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B18 0024EA78 B0 76 06 46 */ sth r3, 0x646(r22) +/* 80251B1C 0024EA7C 7F E3 FB 78 */ mr r3, r31 +/* 80251B20 0024EA80 48 09 6E 91 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80251B24 0024EA84 B0 76 06 48 */ sth r3, 0x648(r22) +/* 80251B28 0024EA88 38 00 00 00 */ li r0, 0 +/* 80251B2C 0024EA8C 38 76 04 60 */ addi r3, r22, 0x460 +/* 80251B30 0024EA90 38 80 00 00 */ li r4, 0 +/* 80251B34 0024EA94 90 16 06 4C */ stw r0, 0x64c(r22) +/* 80251B38 0024EA98 90 16 06 50 */ stw r0, 0x650(r22) +/* 80251B3C 0024EA9C 90 16 06 54 */ stw r0, 0x654(r22) +/* 80251B40 0024EAA0 4B FE 22 25 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80251B44 0024EAA4 88 16 04 E1 */ lbz r0, 0x4e1(r22) +/* 80251B48 0024EAA8 38 80 00 00 */ li r4, 0 +/* 80251B4C 0024EAAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80251B50 0024EAB0 7E C3 B3 78 */ mr r3, r22 +/* 80251B54 0024EAB4 98 16 04 E1 */ stb r0, 0x4e1(r22) +/* 80251B58 0024EAB8 88 16 04 E2 */ lbz r0, 0x4e2(r22) +/* 80251B5C 0024EABC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80251B60 0024EAC0 98 16 04 E2 */ stb r0, 0x4e2(r22) +/* 80251B64 0024EAC4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80251B68 0024EAC8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80251B6C 0024EACC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80251B70 0024EAD0 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 80251B74 0024EAD4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 80251B78 0024EAD8 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 80251B7C 0024EADC E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 80251B80 0024EAE0 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 80251B84 0024EAE4 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 80251B88 0024EAE8 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 80251B8C 0024EAEC E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 80251B90 0024EAF0 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 80251B94 0024EAF4 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 80251B98 0024EAF8 CB 21 00 70 */ lfd f25, 0x70(r1) +/* 80251B9C 0024EAFC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 80251BA0 0024EB00 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80251BA4 0024EB04 7C 08 03 A6 */ mtlr r0 +/* 80251BA8 0024EB08 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80251BAC 0024EB0C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CBurrower.s b/asm/Kyoto_CWD/Enemies/CBurrower.s new file mode 100644 index 00000000..02b2cef9 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CBurrower.s @@ -0,0 +1,1668 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__9CBurrowerFv +GetSearchPath__9CBurrowerFv: +/* 8026FB48 0026CAA8 38 63 05 68 */ addi r3, r3, 0x568 +/* 8026FB4C 0026CAAC 4E 80 00 20 */ blr + +.global sub_8026fb50 +sub_8026fb50: +/* 8026FB50 0026CAB0 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FB54 0026CAB4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FB58 0026CAB8 41 82 00 0C */ beq lbl_8026FB64 +/* 8026FB5C 0026CABC 38 63 06 8C */ addi r3, r3, 0x68c +/* 8026FB60 0026CAC0 4E 80 00 20 */ blr +lbl_8026FB64: +/* 8026FB64 0026CAC4 38 63 05 20 */ addi r3, r3, 0x520 +/* 8026FB68 0026CAC8 4E 80 00 20 */ blr + +.global TurnAround__9CBurrowerFR13CStateManager9EStateMsgf +TurnAround__9CBurrowerFR13CStateManager9EStateMsgf: +/* 8026FB6C 0026CACC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026FB70 0026CAD0 7C 08 02 A6 */ mflr r0 +/* 8026FB74 0026CAD4 2C 05 00 00 */ cmpwi r5, 0 +/* 8026FB78 0026CAD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026FB7C 0026CADC 41 82 00 0C */ beq lbl_8026FB88 +/* 8026FB80 0026CAE0 41 80 00 50 */ blt lbl_8026FBD0 +/* 8026FB84 0026CAE4 48 00 00 4C */ b lbl_8026FBD0 +lbl_8026FB88: +/* 8026FB88 0026CAE8 C0 C3 00 58 */ lfs f6, 0x58(r3) +/* 8026FB8C 0026CAEC 38 81 00 08 */ addi r4, r1, 8 +/* 8026FB90 0026CAF0 C0 A3 00 48 */ lfs f5, 0x48(r3) +/* 8026FB94 0026CAF4 C0 83 00 38 */ lfs f4, 0x38(r3) +/* 8026FB98 0026CAF8 FC 20 30 50 */ fneg f1, f6 +/* 8026FB9C 0026CAFC FC 40 28 50 */ fneg f2, f5 +/* 8026FBA0 0026CB00 C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 8026FBA4 0026CB04 FC 60 20 50 */ fneg f3, f4 +/* 8026FBA8 0026CB08 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8026FBAC 0026CB0C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8026FBB0 0026CB10 D0 61 00 08 */ stfs f3, 8(r1) +/* 8026FBB4 0026CB14 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8026FBB8 0026CB18 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8026FBBC 0026CB1C D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8026FBC0 0026CB20 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8026FBC4 0026CB24 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8026FBC8 0026CB28 38 63 00 04 */ addi r3, r3, 4 +/* 8026FBCC 0026CB2C 4B EC 1B 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8026FBD0: +/* 8026FBD0 0026CB30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026FBD4 0026CB34 7C 08 03 A6 */ mtlr r0 +/* 8026FBD8 0026CB38 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026FBDC 0026CB3C 4E 80 00 20 */ blr + +.global Death__9CBurrowerFRC9CVector3fR13CStateManager +Death__9CBurrowerFRC9CVector3fR13CStateManager: +/* 8026FBE0 0026CB40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FBE4 0026CB44 7C 08 02 A6 */ mflr r0 +/* 8026FBE8 0026CB48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FBEC 0026CB4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026FBF0 0026CB50 7C 7F 1B 78 */ mr r31, r3 +/* 8026FBF4 0026CB54 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8026FBF8 0026CB58 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FBFC 0026CB5C 41 82 00 28 */ beq lbl_8026FC24 +/* 8026FC00 0026CB60 4B E0 B7 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8026FC04 0026CB64 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 8026FC08 0026CB68 28 03 00 00 */ cmplwi r3, 0 +/* 8026FC0C 0026CB6C 41 82 00 18 */ beq lbl_8026FC24 +/* 8026FC10 0026CB70 81 83 00 00 */ lwz r12, 0(r3) +/* 8026FC14 0026CB74 38 80 00 00 */ li r4, 0 +/* 8026FC18 0026CB78 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026FC1C 0026CB7C 7D 89 03 A6 */ mtctr r12 +/* 8026FC20 0026CB80 4E 80 04 21 */ bctrl +lbl_8026FC24: +/* 8026FC24 0026CB84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FC28 0026CB88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026FC2C 0026CB8C 7C 08 03 A6 */ mtlr r0 +/* 8026FC30 0026CB90 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FC34 0026CB94 4E 80 00 20 */ blr + +.global AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager: +/* 8026FC38 0026CB98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FC3C 0026CB9C 7C 08 02 A6 */ mflr r0 +/* 8026FC40 0026CBA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FC44 0026CBA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FC48 0026CBA8 7C BF 2B 78 */ mr r31, r5 +/* 8026FC4C 0026CBAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8026FC50 0026CBB0 7C 9E 23 78 */ mr r30, r4 +/* 8026FC54 0026CBB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026FC58 0026CBB8 7C 7D 1B 78 */ mr r29, r3 +/* 8026FC5C 0026CBBC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8026FC60 0026CBC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8026FC64 0026CBC4 41 82 00 24 */ beq lbl_8026FC88 +/* 8026FC68 0026CBC8 80 9D 06 78 */ lwz r4, 0x678(r29) +/* 8026FC6C 0026CBCC 28 04 00 00 */ cmplwi r4, 0 +/* 8026FC70 0026CBD0 41 82 00 18 */ beq lbl_8026FC88 +/* 8026FC74 0026CBD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8026FC78 0026CBD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8026FC7C 0026CBDC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8026FC80 0026CBE0 7D 89 03 A6 */ mtctr r12 +/* 8026FC84 0026CBE4 4E 80 04 21 */ bctrl +lbl_8026FC88: +/* 8026FC88 0026CBE8 7F A3 EB 78 */ mr r3, r29 +/* 8026FC8C 0026CBEC 7F C4 F3 78 */ mr r4, r30 +/* 8026FC90 0026CBF0 7F E5 FB 78 */ mr r5, r31 +/* 8026FC94 0026CBF4 4B E0 7C 25 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8026FC98 0026CBF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FC9C 0026CBFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FCA0 0026CC00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026FCA4 0026CC04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8026FCA8 0026CC08 7C 08 03 A6 */ mtlr r0 +/* 8026FCAC 0026CC0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FCB0 0026CC10 4E 80 00 20 */ blr + +.global GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo +GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo: +/* 8026FCB4 0026CC14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FCB8 0026CC18 7C 08 02 A6 */ mflr r0 +/* 8026FCBC 0026CC1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FCC0 0026CC20 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FCC4 0026CC24 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FCC8 0026CC28 28 00 00 01 */ cmplwi r0, 1 +/* 8026FCCC 0026CC2C 41 82 00 10 */ beq lbl_8026FCDC +/* 8026FCD0 0026CC30 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 8026FCD4 0026CC34 38 63 26 94 */ addi r3, r3, lbl_80572694@l +/* 8026FCD8 0026CC38 48 00 00 08 */ b lbl_8026FCE0 +lbl_8026FCDC: +/* 8026FCDC 0026CC3C 4B E3 30 95 */ bl GetDamageVulnerability__3CAiCFv +lbl_8026FCE0: +/* 8026FCE0 0026CC40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FCE4 0026CC44 7C 08 03 A6 */ mtlr r0 +/* 8026FCE8 0026CC48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FCEC 0026CC4C 4E 80 00 20 */ blr + +.global GetDamageVulnerability__9CBurrowerCFv +GetDamageVulnerability__9CBurrowerCFv: +/* 8026FCF0 0026CC50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026FCF4 0026CC54 7C 08 02 A6 */ mflr r0 +/* 8026FCF8 0026CC58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026FCFC 0026CC5C 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 8026FD00 0026CC60 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8026FD04 0026CC64 28 00 00 01 */ cmplwi r0, 1 +/* 8026FD08 0026CC68 41 82 00 10 */ beq lbl_8026FD18 +/* 8026FD0C 0026CC6C 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 8026FD10 0026CC70 38 63 26 94 */ addi r3, r3, lbl_80572694@l +/* 8026FD14 0026CC74 48 00 00 08 */ b lbl_8026FD1C +lbl_8026FD18: +/* 8026FD18 0026CC78 4B E3 30 59 */ bl GetDamageVulnerability__3CAiCFv +lbl_8026FD1C: +/* 8026FD1C 0026CC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026FD20 0026CC80 7C 08 03 A6 */ mtlr r0 +/* 8026FD24 0026CC84 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026FD28 0026CC88 4E 80 00 20 */ blr + +.global ShouldAttack__9CBurrowerFR13CStateManagerf +ShouldAttack__9CBurrowerFR13CStateManagerf: +/* 8026FD2C 0026CC8C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FD30 0026CC90 7C 08 02 A6 */ mflr r0 +/* 8026FD34 0026CC94 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 8026FD38 0026CC98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FD3C 0026CC9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026FD40 0026CCA0 C0 03 06 A4 */ lfs f0, 0x6a4(r3) +/* 8026FD44 0026CCA4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8026FD48 0026CCA8 4C 40 13 82 */ cror 2, 0, 2 +/* 8026FD4C 0026CCAC 40 82 00 4C */ bne lbl_8026FD98 +/* 8026FD50 0026CCB0 C0 03 06 9C */ lfs f0, 0x69c(r3) +/* 8026FD54 0026CCB4 3B E0 00 00 */ li r31, 0 +/* 8026FD58 0026CCB8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8026FD5C 0026CCBC 4C 40 13 82 */ cror 2, 0, 2 +/* 8026FD60 0026CCC0 40 82 00 30 */ bne lbl_8026FD90 +/* 8026FD64 0026CCC4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8026FD68 0026CCC8 7C 83 23 78 */ mr r3, r4 +/* 8026FD6C 0026CCCC 38 81 00 0C */ addi r4, r1, 0xc +/* 8026FD70 0026CCD0 38 A0 00 09 */ li r5, 9 +/* 8026FD74 0026CCD4 B0 01 00 08 */ sth r0, 8(r1) +/* 8026FD78 0026CCD8 38 C0 00 01 */ li r6, 1 +/* 8026FD7C 0026CCDC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8026FD80 0026CCE0 4B DD 59 B1 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 8026FD84 0026CCE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026FD88 0026CCE8 41 82 00 08 */ beq lbl_8026FD90 +/* 8026FD8C 0026CCEC 3B E0 00 01 */ li r31, 1 +lbl_8026FD90: +/* 8026FD90 0026CCF0 7F E3 FB 78 */ mr r3, r31 +/* 8026FD94 0026CCF4 48 00 00 08 */ b lbl_8026FD9C +lbl_8026FD98: +/* 8026FD98 0026CCF8 38 60 00 00 */ li r3, 0 +lbl_8026FD9C: +/* 8026FD9C 0026CCFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FDA0 0026CD00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026FDA4 0026CD04 7C 08 03 A6 */ mtlr r0 +/* 8026FDA8 0026CD08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FDAC 0026CD0C 4E 80 00 20 */ blr + +.global PathShagged__9CBurrowerFR13CStateManagerf +PathShagged__9CBurrowerFR13CStateManagerf: +/* 8026FDB0 0026CD10 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026FDB4 0026CD14 7C 08 02 A6 */ mflr r0 +/* 8026FDB8 0026CD18 7C 65 1B 78 */ mr r5, r3 +/* 8026FDBC 0026CD1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026FDC0 0026CD20 38 81 00 08 */ addi r4, r1, 8 +/* 8026FDC4 0026CD24 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8026FDC8 0026CD28 38 65 05 68 */ addi r3, r5, 0x568 +/* 8026FDCC 0026CD2C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8026FDD0 0026CD30 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8026FDD4 0026CD34 D0 01 00 08 */ stfs f0, 8(r1) +/* 8026FDD8 0026CD38 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8026FDDC 0026CD3C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8026FDE0 0026CD40 4B F5 6D 55 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 8026FDE4 0026CD44 2C 03 00 01 */ cmpwi r3, 1 +/* 8026FDE8 0026CD48 41 82 00 08 */ beq lbl_8026FDF0 +/* 8026FDEC 0026CD4C 48 00 00 0C */ b lbl_8026FDF8 +lbl_8026FDF0: +/* 8026FDF0 0026CD50 38 60 00 01 */ li r3, 1 +/* 8026FDF4 0026CD54 48 00 00 08 */ b lbl_8026FDFC +lbl_8026FDF8: +/* 8026FDF8 0026CD58 38 60 00 00 */ li r3, 0 +lbl_8026FDFC: +/* 8026FDFC 0026CD5C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026FE00 0026CD60 7C 08 03 A6 */ mtlr r0 +/* 8026FE04 0026CD64 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026FE08 0026CD68 4E 80 00 20 */ blr + +.global DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8026FE0C 0026CD6C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8026FE10 0026CD70 7C 08 02 A6 */ mflr r0 +/* 8026FE14 0026CD74 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8026FE18 0026CD78 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8026FE1C 0026CD7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8026FE20 0026CD80 BF 61 00 BC */ stmw r27, 0xbc(r1) +/* 8026FE24 0026CD84 7C DF 33 78 */ mr r31, r6 +/* 8026FE28 0026CD88 FF E0 08 90 */ fmr f31, f1 +/* 8026FE2C 0026CD8C 2C 1F 00 0C */ cmpwi r31, 0xc +/* 8026FE30 0026CD90 7C 7C 1B 78 */ mr r28, r3 +/* 8026FE34 0026CD94 7C 9D 23 78 */ mr r29, r4 +/* 8026FE38 0026CD98 7C BE 2B 78 */ mr r30, r5 +/* 8026FE3C 0026CD9C 38 80 00 00 */ li r4, 0 +/* 8026FE40 0026CDA0 41 82 01 80 */ beq lbl_8026FFC0 +/* 8026FE44 0026CDA4 40 80 00 10 */ bge lbl_8026FE54 +/* 8026FE48 0026CDA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8026FE4C 0026CDAC 41 82 00 14 */ beq lbl_8026FE60 +/* 8026FE50 0026CDB0 48 00 01 A0 */ b lbl_8026FFF0 +lbl_8026FE54: +/* 8026FE54 0026CDB4 2C 1F 00 0E */ cmpwi r31, 0xe +/* 8026FE58 0026CDB8 40 80 01 98 */ bge lbl_8026FFF0 +/* 8026FE5C 0026CDBC 48 00 01 24 */ b lbl_8026FF80 +lbl_8026FE60: +/* 8026FE60 0026CDC0 83 7D 08 4C */ lwz r27, 0x84c(r29) +/* 8026FE64 0026CDC4 7F A5 EB 78 */ mr r5, r29 +/* 8026FE68 0026CDC8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8026FE6C 0026CDCC C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 8026FE70 0026CDD0 7F 64 DB 78 */ mr r4, r27 +/* 8026FE74 0026CDD4 81 9B 00 00 */ lwz r12, 0(r27) +/* 8026FE78 0026CDD8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8026FE7C 0026CDDC 7D 89 03 A6 */ mtctr r12 +/* 8026FE80 0026CDE0 4E 80 04 21 */ bctrl +/* 8026FE84 0026CDE4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8026FE88 0026CDE8 7F 84 E3 78 */ mr r4, r28 +/* 8026FE8C 0026CDEC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8026FE90 0026CDF0 38 61 00 88 */ addi r3, r1, 0x88 +/* 8026FE94 0026CDF4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8026FE98 0026CDF8 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8026FE9C 0026CDFC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8026FEA0 0026CE00 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8026FEA4 0026CE04 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8026FEA8 0026CE08 4B E0 8A D1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026FEAC 0026CE0C C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8026FEB0 0026CE10 7F 83 E3 78 */ mr r3, r28 +/* 8026FEB4 0026CE14 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8026FEB8 0026CE18 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8026FEBC 0026CE1C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8026FEC0 0026CE20 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8026FEC4 0026CE24 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8026FEC8 0026CE28 81 9C 00 00 */ lwz r12, 0(r28) +/* 8026FECC 0026CE2C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8026FED0 0026CE30 7D 89 03 A6 */ mtctr r12 +/* 8026FED4 0026CE34 4E 80 04 21 */ bctrl +/* 8026FED8 0026CE38 FC 20 F8 90 */ fmr f1, f31 +/* 8026FEDC 0026CE3C 7C 64 1B 78 */ mr r4, r3 +/* 8026FEE0 0026CE40 7F 67 DB 78 */ mr r7, r27 +/* 8026FEE4 0026CE44 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026FEE8 0026CE48 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8026FEEC 0026CE4C 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8026FEF0 0026CE50 39 00 00 01 */ li r8, 1 +/* 8026FEF4 0026CE54 4B FA BF F9 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf +/* 8026FEF8 0026CE58 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8026FEFC 0026CE5C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8026FF00 0026CE60 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8026FF04 0026CE64 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8026FF08 0026CE68 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8026FF0C 0026CE6C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8026FF10 0026CE70 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8026FF14 0026CE74 38 81 00 40 */ addi r4, r1, 0x40 +/* 8026FF18 0026CE78 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8026FF1C 0026CE7C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8026FF20 0026CE80 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8026FF24 0026CE84 80 FC 00 64 */ lwz r7, 0x64(r28) +/* 8026FF28 0026CE88 C0 07 00 00 */ lfs f0, 0(r7) +/* 8026FF2C 0026CE8C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8026FF30 0026CE90 C0 07 00 04 */ lfs f0, 4(r7) +/* 8026FF34 0026CE94 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8026FF38 0026CE98 C0 07 00 08 */ lfs f0, 8(r7) +/* 8026FF3C 0026CE9C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8026FF40 0026CEA0 48 0A 3B D1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8026FF44 0026CEA4 38 60 00 00 */ li r3, 0 +/* 8026FF48 0026CEA8 38 01 00 10 */ addi r0, r1, 0x10 +/* 8026FF4C 0026CEAC 90 61 00 08 */ stw r3, 8(r1) +/* 8026FF50 0026CEB0 7F 83 E3 78 */ mr r3, r28 +/* 8026FF54 0026CEB4 7F A5 EB 78 */ mr r5, r29 +/* 8026FF58 0026CEB8 38 81 00 58 */ addi r4, r1, 0x58 +/* 8026FF5C 0026CEBC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026FF60 0026CEC0 39 3C 06 7C */ addi r9, r28, 0x67c +/* 8026FF64 0026CEC4 38 C0 00 01 */ li r6, 1 +/* 8026FF68 0026CEC8 38 E0 00 00 */ li r7, 0 +/* 8026FF6C 0026CECC A1 5C 06 AA */ lhz r10, 0x6aa(r28) +/* 8026FF70 0026CED0 39 00 00 00 */ li r8, 0 +/* 8026FF74 0026CED4 4B E0 7A 85 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8026FF78 0026CED8 38 80 00 01 */ li r4, 1 +/* 8026FF7C 0026CEDC 48 00 00 74 */ b lbl_8026FFF0 +lbl_8026FF80: +/* 8026FF80 0026CEE0 7F A5 EB 78 */ mr r5, r29 +/* 8026FF84 0026CEE4 38 80 00 25 */ li r4, 0x25 +/* 8026FF88 0026CEE8 4B DE 3F F9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8026FF8C 0026CEEC 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8026FF90 0026CEF0 38 60 00 01 */ li r3, 1 +/* 8026FF94 0026CEF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8026FF98 0026CEF8 38 80 00 01 */ li r4, 1 +/* 8026FF9C 0026CEFC 98 1C 03 28 */ stb r0, 0x328(r28) +/* 8026FFA0 0026CF00 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8026FFA4 0026CF04 C0 23 00 04 */ lfs f1, 4(r3) +/* 8026FFA8 0026CF08 C0 43 00 08 */ lfs f2, 8(r3) +/* 8026FFAC 0026CF0C C0 03 00 00 */ lfs f0, 0(r3) +/* 8026FFB0 0026CF10 D0 1C 05 5C */ stfs f0, 0x55c(r28) +/* 8026FFB4 0026CF14 D0 3C 05 60 */ stfs f1, 0x560(r28) +/* 8026FFB8 0026CF18 D0 5C 05 64 */ stfs f2, 0x564(r28) +/* 8026FFBC 0026CF1C 48 00 00 34 */ b lbl_8026FFF0 +lbl_8026FFC0: +/* 8026FFC0 0026CF20 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 8026FFC4 0026CF24 38 80 00 00 */ li r4, 0 +/* 8026FFC8 0026CF28 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8026FFCC 0026CF2C 7F A5 EB 78 */ mr r5, r29 +/* 8026FFD0 0026CF30 98 1C 03 28 */ stb r0, 0x328(r28) +/* 8026FFD4 0026CF34 38 80 00 25 */ li r4, 0x25 +/* 8026FFD8 0026CF38 4B DE 43 79 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8026FFDC 0026CF3C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 8026FFE0 0026CF40 38 80 00 01 */ li r4, 1 +/* 8026FFE4 0026CF44 D0 1C 05 5C */ stfs f0, 0x55c(r28) +/* 8026FFE8 0026CF48 D0 1C 05 60 */ stfs f0, 0x560(r28) +/* 8026FFEC 0026CF4C D0 1C 05 64 */ stfs f0, 0x564(r28) +lbl_8026FFF0: +/* 8026FFF0 0026CF50 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8026FFF4 0026CF54 40 82 00 1C */ bne lbl_80270010 +/* 8026FFF8 0026CF58 FC 20 F8 90 */ fmr f1, f31 +/* 8026FFFC 0026CF5C 7F 83 E3 78 */ mr r3, r28 +/* 80270000 0026CF60 7F A4 EB 78 */ mr r4, r29 +/* 80270004 0026CF64 7F C5 F3 78 */ mr r5, r30 +/* 80270008 0026CF68 7F E6 FB 78 */ mr r6, r31 +/* 8027000C 0026CF6C 4B E0 8E A5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80270010: +/* 80270010 0026CF70 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80270014 0026CF74 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80270018 0026CF78 BB 61 00 BC */ lmw r27, 0xbc(r1) +/* 8027001C 0026CF7C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80270020 0026CF80 7C 08 03 A6 */ mtlr r0 +/* 80270024 0026CF84 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80270028 0026CF88 4E 80 00 20 */ blr + +.global ProjectileInfo__9CBurrowerFv +ProjectileInfo__9CBurrowerFv: +/* 8027002C 0026CF8C 38 63 06 4C */ addi r3, r3, 0x64c +/* 80270030 0026CF90 4E 80 00 20 */ blr + +.global Lurk__9CBurrowerFR13CStateManager9EStateMsgf +Lurk__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270034 0026CF94 2C 05 00 00 */ cmpwi r5, 0 +/* 80270038 0026CF98 41 82 00 0C */ beq lbl_80270044 +/* 8027003C 0026CF9C 4D 80 00 20 */ bltlr + +.global sub_80270040 +sub_80270040: +/* 80270040 0026CFA0 4E 80 00 20 */ blr +lbl_80270044: +/* 80270044 0026CFA4 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 80270048 0026CFA8 38 80 00 00 */ li r4, 0 +/* 8027004C 0026CFAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80270050 0026CFB0 C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) +/* 80270054 0026CFB4 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 80270058 0026CFB8 D0 03 06 A0 */ stfs f0, 0x6a0(r3) +/* 8027005C 0026CFBC 4E 80 00 20 */ blr + +.global TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf +TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270060 0026CFC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80270064 0026CFC4 7C 08 02 A6 */ mflr r0 +/* 80270068 0026CFC8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027006C 0026CFCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80270070 0026CFD0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80270074 0026CFD4 7C 9F 23 78 */ mr r31, r4 +/* 80270078 0026CFD8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027007C 0026CFDC 7C 7E 1B 78 */ mr r30, r3 +/* 80270080 0026CFE0 41 82 00 0C */ beq lbl_8027008C +/* 80270084 0026CFE4 41 80 00 B0 */ blt lbl_80270134 +/* 80270088 0026CFE8 48 00 00 AC */ b lbl_80270134 +lbl_8027008C: +/* 8027008C 0026CFEC A0 7E 06 A8 */ lhz r3, 0x6a8(r30) +/* 80270090 0026CFF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80270094 0026CFF4 7C 03 00 40 */ cmplw r3, r0 +/* 80270098 0026CFF8 41 82 00 0C */ beq lbl_802700A4 +/* 8027009C 0026CFFC 38 7E 06 A8 */ addi r3, r30, 0x6a8 +/* 802700A0 0026D000 48 00 00 20 */ b lbl_802700C0 +lbl_802700A4: +/* 802700A4 0026D004 7F C4 F3 78 */ mr r4, r30 +/* 802700A8 0026D008 7F E5 FB 78 */ mr r5, r31 +/* 802700AC 0026D00C 38 61 00 0C */ addi r3, r1, 0xc +/* 802700B0 0026D010 38 C0 00 0D */ li r6, 0xd +/* 802700B4 0026D014 38 E0 00 06 */ li r7, 6 +/* 802700B8 0026D018 4B F8 4E E1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 802700BC 0026D01C 38 61 00 0C */ addi r3, r1, 0xc +lbl_802700C0: +/* 802700C0 0026D020 A0 03 00 00 */ lhz r0, 0(r3) +/* 802700C4 0026D024 7F E3 FB 78 */ mr r3, r31 +/* 802700C8 0026D028 38 81 00 08 */ addi r4, r1, 8 +/* 802700CC 0026D02C B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 802700D0 0026D030 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802700D4 0026D034 B0 01 00 08 */ sth r0, 8(r1) +/* 802700D8 0026D038 4B DD C4 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802700DC 0026D03C 7C 64 1B 78 */ mr r4, r3 +/* 802700E0 0026D040 38 61 00 14 */ addi r3, r1, 0x14 +/* 802700E4 0026D044 4B E3 FB AD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802700E8 0026D048 80 83 00 04 */ lwz r4, 4(r3) +/* 802700EC 0026D04C 28 04 00 00 */ cmplwi r4, 0 +/* 802700F0 0026D050 41 82 00 44 */ beq lbl_80270134 +/* 802700F4 0026D054 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 802700F8 0026D058 38 60 00 00 */ li r3, 0 +/* 802700FC 0026D05C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80270100 0026D060 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80270104 0026D064 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) +/* 80270108 0026D068 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 8027010C 0026D06C D0 5E 02 E8 */ stfs f2, 0x2e8(r30) +/* 80270110 0026D070 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80270114 0026D074 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80270118 0026D078 98 1E 03 28 */ stb r0, 0x328(r30) +/* 8027011C 0026D07C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80270120 0026D080 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80270124 0026D084 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80270128 0026D088 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 8027012C 0026D08C D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 80270130 0026D090 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +lbl_80270134: +/* 80270134 0026D094 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80270138 0026D098 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027013C 0026D09C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80270140 0026D0A0 7C 08 03 A6 */ mtlr r0 +/* 80270144 0026D0A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80270148 0026D0A8 4E 80 00 20 */ blr + +.global Retreat__9CBurrowerFR13CStateManager9EStateMsgf +Retreat__9CBurrowerFR13CStateManager9EStateMsgf: +/* 8027014C 0026D0AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270150 0026D0B0 7C 08 02 A6 */ mflr r0 +/* 80270154 0026D0B4 2C 05 00 01 */ cmpwi r5, 1 +/* 80270158 0026D0B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027015C 0026D0BC 41 82 00 2C */ beq lbl_80270188 +/* 80270160 0026D0C0 40 80 00 10 */ bge lbl_80270170 +/* 80270164 0026D0C4 2C 05 00 00 */ cmpwi r5, 0 +/* 80270168 0026D0C8 40 80 00 14 */ bge lbl_8027017C +/* 8027016C 0026D0CC 48 00 00 88 */ b lbl_802701F4 +lbl_80270170: +/* 80270170 0026D0D0 2C 05 00 03 */ cmpwi r5, 3 +/* 80270174 0026D0D4 40 80 00 80 */ bge lbl_802701F4 +/* 80270178 0026D0D8 48 00 00 44 */ b lbl_802701BC +lbl_8027017C: +/* 8027017C 0026D0DC 38 00 00 01 */ li r0, 1 +/* 80270180 0026D0E0 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80270184 0026D0E4 48 00 00 70 */ b lbl_802701F4 +lbl_80270188: +/* 80270188 0026D0E8 3C A0 80 3F */ lis r5, lbl_803EA7B8@ha +/* 8027018C 0026D0EC 38 C1 00 08 */ addi r6, r1, 8 +/* 80270190 0026D0F0 39 45 A7 B8 */ addi r10, r5, lbl_803EA7B8@l +/* 80270194 0026D0F4 38 A0 00 0C */ li r5, 0xc +/* 80270198 0026D0F8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027019C 0026D0FC 38 E0 00 01 */ li r7, 1 +/* 802701A0 0026D100 81 0A 00 04 */ lwz r8, 4(r10) +/* 802701A4 0026D104 80 0A 00 08 */ lwz r0, 8(r10) +/* 802701A8 0026D108 91 21 00 08 */ stw r9, 8(r1) +/* 802701AC 0026D10C 91 01 00 0C */ stw r8, 0xc(r1) +/* 802701B0 0026D110 90 01 00 10 */ stw r0, 0x10(r1) +/* 802701B4 0026D114 4B E0 C6 01 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802701B8 0026D118 48 00 00 3C */ b lbl_802701F4 +lbl_802701BC: +/* 802701BC 0026D11C 38 80 00 00 */ li r4, 0 +/* 802701C0 0026D120 90 83 03 2C */ stw r4, 0x32c(r3) +/* 802701C4 0026D124 80 03 06 78 */ lwz r0, 0x678(r3) +/* 802701C8 0026D128 28 00 00 00 */ cmplwi r0, 0 +/* 802701CC 0026D12C 41 82 00 28 */ beq lbl_802701F4 +/* 802701D0 0026D130 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802701D4 0026D134 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802701D8 0026D138 38 80 00 01 */ li r4, 1 +/* 802701DC 0026D13C 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802701E0 0026D140 80 63 06 78 */ lwz r3, 0x678(r3) +/* 802701E4 0026D144 81 83 00 00 */ lwz r12, 0(r3) +/* 802701E8 0026D148 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802701EC 0026D14C 7D 89 03 A6 */ mtctr r12 +/* 802701F0 0026D150 4E 80 04 21 */ bctrl +lbl_802701F4: +/* 802701F4 0026D154 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802701F8 0026D158 7C 08 03 A6 */ mtlr r0 +/* 802701FC 0026D15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80270200 0026D160 4E 80 00 20 */ blr + +.global ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf +ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270204 0026D164 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270208 0026D168 7C 08 02 A6 */ mflr r0 +/* 8027020C 0026D16C 2C 05 00 01 */ cmpwi r5, 1 +/* 80270210 0026D170 90 01 00 24 */ stw r0, 0x24(r1) +/* 80270214 0026D174 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80270218 0026D178 7C 9F 23 78 */ mr r31, r4 +/* 8027021C 0026D17C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80270220 0026D180 7C 7E 1B 78 */ mr r30, r3 +/* 80270224 0026D184 41 82 00 68 */ beq lbl_8027028C +/* 80270228 0026D188 40 80 00 10 */ bge lbl_80270238 +/* 8027022C 0026D18C 2C 05 00 00 */ cmpwi r5, 0 +/* 80270230 0026D190 40 80 00 14 */ bge lbl_80270244 +/* 80270234 0026D194 48 00 00 E8 */ b lbl_8027031C +lbl_80270238: +/* 80270238 0026D198 2C 05 00 03 */ cmpwi r5, 3 +/* 8027023C 0026D19C 40 80 00 E0 */ bge lbl_8027031C +/* 80270240 0026D1A0 48 00 00 80 */ b lbl_802702C0 +lbl_80270244: +/* 80270244 0026D1A4 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 80270248 0026D1A8 38 60 00 01 */ li r3, 1 +/* 8027024C 0026D1AC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80270250 0026D1B0 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 80270254 0026D1B4 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 80270258 0026D1B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8027025C 0026D1BC 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 80270260 0026D1C0 80 7E 06 78 */ lwz r3, 0x678(r30) +/* 80270264 0026D1C4 28 03 00 00 */ cmplwi r3, 0 +/* 80270268 0026D1C8 41 82 00 18 */ beq lbl_80270280 +/* 8027026C 0026D1CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270270 0026D1D0 38 80 00 00 */ li r4, 0 +/* 80270274 0026D1D4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270278 0026D1D8 7D 89 03 A6 */ mtctr r12 +/* 8027027C 0026D1DC 4E 80 04 21 */ bctrl +lbl_80270280: +/* 80270280 0026D1E0 38 00 00 01 */ li r0, 1 +/* 80270284 0026D1E4 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80270288 0026D1E8 48 00 00 94 */ b lbl_8027031C +lbl_8027028C: +/* 8027028C 0026D1EC 3C A0 80 3F */ lis r5, lbl_803EA7AC@ha +/* 80270290 0026D1F0 38 C1 00 08 */ addi r6, r1, 8 +/* 80270294 0026D1F4 39 45 A7 AC */ addi r10, r5, lbl_803EA7AC@l +/* 80270298 0026D1F8 38 A0 00 12 */ li r5, 0x12 +/* 8027029C 0026D1FC 81 2A 00 00 */ lwz r9, 0(r10) +/* 802702A0 0026D200 38 E0 00 00 */ li r7, 0 +/* 802702A4 0026D204 81 0A 00 04 */ lwz r8, 4(r10) +/* 802702A8 0026D208 80 0A 00 08 */ lwz r0, 8(r10) +/* 802702AC 0026D20C 91 21 00 08 */ stw r9, 8(r1) +/* 802702B0 0026D210 91 01 00 0C */ stw r8, 0xc(r1) +/* 802702B4 0026D214 90 01 00 10 */ stw r0, 0x10(r1) +/* 802702B8 0026D218 4B E0 C4 FD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802702BC 0026D21C 48 00 00 60 */ b lbl_8027031C +lbl_802702C0: +/* 802702C0 0026D220 38 00 00 00 */ li r0, 0 +/* 802702C4 0026D224 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802702C8 0026D228 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 802702CC 0026D22C 48 0A 22 11 */ bl Float__9CRandom16Fv +/* 802702D0 0026D230 C0 5E 03 08 */ lfs f2, 0x308(r30) +/* 802702D4 0026D234 38 C0 00 00 */ li r6, 0 +/* 802702D8 0026D238 C0 1E 03 04 */ lfs f0, 0x304(r30) +/* 802702DC 0026D23C 7F C3 F3 78 */ mr r3, r30 +/* 802702E0 0026D240 7F E5 FB 78 */ mr r5, r31 +/* 802702E4 0026D244 38 80 00 25 */ li r4, 0x25 +/* 802702E8 0026D248 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802702EC 0026D24C D0 1E 06 9C */ stfs f0, 0x69c(r30) +/* 802702F0 0026D250 88 1E 06 AC */ lbz r0, 0x6ac(r30) +/* 802702F4 0026D254 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802702F8 0026D258 98 1E 06 AC */ stb r0, 0x6ac(r30) +/* 802702FC 0026D25C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80270300 0026D260 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80270304 0026D264 98 1E 03 28 */ stb r0, 0x328(r30) +/* 80270308 0026D268 4B DE 40 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027030C 0026D26C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 80270310 0026D270 D0 1E 05 5C */ stfs f0, 0x55c(r30) +/* 80270314 0026D274 D0 1E 05 60 */ stfs f0, 0x560(r30) +/* 80270318 0026D278 D0 1E 05 64 */ stfs f0, 0x564(r30) +lbl_8027031C: +/* 8027031C 0026D27C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80270320 0026D280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80270324 0026D284 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80270328 0026D288 7C 08 03 A6 */ mtlr r0 +/* 8027032C 0026D28C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80270330 0026D290 4E 80 00 20 */ blr + +.global Active__9CBurrowerFR13CStateManager9EStateMsgf +Active__9CBurrowerFR13CStateManager9EStateMsgf: +/* 80270334 0026D294 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80270338 0026D298 7C 08 02 A6 */ mflr r0 +/* 8027033C 0026D29C 2C 05 00 01 */ cmpwi r5, 1 +/* 80270340 0026D2A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80270344 0026D2A4 41 82 00 38 */ beq lbl_8027037C +/* 80270348 0026D2A8 40 80 00 10 */ bge lbl_80270358 +/* 8027034C 0026D2AC 2C 05 00 00 */ cmpwi r5, 0 +/* 80270350 0026D2B0 40 80 00 14 */ bge lbl_80270364 +/* 80270354 0026D2B4 48 00 00 80 */ b lbl_802703D4 +lbl_80270358: +/* 80270358 0026D2B8 2C 05 00 03 */ cmpwi r5, 3 +/* 8027035C 0026D2BC 40 80 00 78 */ bge lbl_802703D4 +/* 80270360 0026D2C0 48 00 00 50 */ b lbl_802703B0 +lbl_80270364: +/* 80270364 0026D2C4 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 80270368 0026D2C8 38 80 00 01 */ li r4, 1 +/* 8027036C 0026D2CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80270370 0026D2D0 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 80270374 0026D2D4 90 83 03 2C */ stw r4, 0x32c(r3) +/* 80270378 0026D2D8 48 00 00 5C */ b lbl_802703D4 +lbl_8027037C: +/* 8027037C 0026D2DC 3C A0 80 3F */ lis r5, lbl_803EA7A0@ha +/* 80270380 0026D2E0 38 C1 00 08 */ addi r6, r1, 8 +/* 80270384 0026D2E4 39 45 A7 A0 */ addi r10, r5, lbl_803EA7A0@l +/* 80270388 0026D2E8 38 A0 00 0C */ li r5, 0xc +/* 8027038C 0026D2EC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80270390 0026D2F0 38 E0 00 00 */ li r7, 0 +/* 80270394 0026D2F4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80270398 0026D2F8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027039C 0026D2FC 91 21 00 08 */ stw r9, 8(r1) +/* 802703A0 0026D300 91 01 00 0C */ stw r8, 0xc(r1) +/* 802703A4 0026D304 90 01 00 10 */ stw r0, 0x10(r1) +/* 802703A8 0026D308 4B E0 C4 0D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802703AC 0026D30C 48 00 00 28 */ b lbl_802703D4 +lbl_802703B0: +/* 802703B0 0026D310 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802703B4 0026D314 38 A0 00 00 */ li r5, 0 +/* 802703B8 0026D318 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802703BC 0026D31C 38 80 00 01 */ li r4, 1 +/* 802703C0 0026D320 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802703C4 0026D324 88 03 06 AC */ lbz r0, 0x6ac(r3) +/* 802703C8 0026D328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802703CC 0026D32C 98 03 06 AC */ stb r0, 0x6ac(r3) +/* 802703D0 0026D330 90 A3 03 2C */ stw r5, 0x32c(r3) +lbl_802703D4: +/* 802703D4 0026D334 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802703D8 0026D338 7C 08 03 A6 */ mtlr r0 +/* 802703DC 0026D33C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802703E0 0026D340 4E 80 00 20 */ blr + +.global Patrol__9CBurrowerFR13CStateManager9EStateMsgf +Patrol__9CBurrowerFR13CStateManager9EStateMsgf: +/* 802703E4 0026D344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802703E8 0026D348 7C 08 02 A6 */ mflr r0 +/* 802703EC 0026D34C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802703F0 0026D350 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802703F4 0026D354 FF E0 08 90 */ fmr f31, f1 +/* 802703F8 0026D358 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802703FC 0026D35C 7C BF 2B 78 */ mr r31, r5 +/* 80270400 0026D360 2C 1F 00 01 */ cmpwi r31, 1 +/* 80270404 0026D364 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80270408 0026D368 7C 9E 23 78 */ mr r30, r4 +/* 8027040C 0026D36C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80270410 0026D370 7C 7D 1B 78 */ mr r29, r3 +/* 80270414 0026D374 41 82 00 5C */ beq lbl_80270470 +/* 80270418 0026D378 40 80 00 10 */ bge lbl_80270428 +/* 8027041C 0026D37C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80270420 0026D380 40 80 00 14 */ bge lbl_80270434 +/* 80270424 0026D384 48 00 00 4C */ b lbl_80270470 +lbl_80270428: +/* 80270428 0026D388 2C 1F 00 03 */ cmpwi r31, 3 +/* 8027042C 0026D38C 40 80 00 44 */ bge lbl_80270470 +/* 80270430 0026D390 48 00 00 38 */ b lbl_80270468 +lbl_80270434: +/* 80270434 0026D394 88 1D 06 AC */ lbz r0, 0x6ac(r29) +/* 80270438 0026D398 38 60 00 00 */ li r3, 0 +/* 8027043C 0026D39C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80270440 0026D3A0 98 1D 06 AC */ stb r0, 0x6ac(r29) +/* 80270444 0026D3A4 80 7D 06 78 */ lwz r3, 0x678(r29) +/* 80270448 0026D3A8 28 03 00 00 */ cmplwi r3, 0 +/* 8027044C 0026D3AC 41 82 00 24 */ beq lbl_80270470 +/* 80270450 0026D3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80270454 0026D3B4 38 80 00 01 */ li r4, 1 +/* 80270458 0026D3B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027045C 0026D3BC 7D 89 03 A6 */ mtctr r12 +/* 80270460 0026D3C0 4E 80 04 21 */ bctrl +/* 80270464 0026D3C4 48 00 00 0C */ b lbl_80270470 +lbl_80270468: +/* 80270468 0026D3C8 A0 1D 02 DC */ lhz r0, 0x2dc(r29) +/* 8027046C 0026D3CC B0 1D 06 A8 */ sth r0, 0x6a8(r29) +lbl_80270470: +/* 80270470 0026D3D0 FC 20 F8 90 */ fmr f1, f31 +/* 80270474 0026D3D4 7F A3 EB 78 */ mr r3, r29 +/* 80270478 0026D3D8 7F C4 F3 78 */ mr r4, r30 +/* 8027047C 0026D3DC 7F E5 FB 78 */ mr r5, r31 +/* 80270480 0026D3E0 4B F8 69 F5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80270484 0026D3E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80270488 0026D3E8 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8027048C 0026D3EC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80270490 0026D3F0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80270494 0026D3F4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80270498 0026D3F8 7C 08 03 A6 */ mtlr r0 +/* 8027049C 0026D3FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802704A0 0026D400 4E 80 00 20 */ blr + +.global Think__9CBurrowerFfR13CStateManager +Think__9CBurrowerFfR13CStateManager: +/* 802704A4 0026D404 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802704A8 0026D408 7C 08 02 A6 */ mflr r0 +/* 802704AC 0026D40C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802704B0 0026D410 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802704B4 0026D414 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802704B8 0026D418 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 802704BC 0026D41C 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 802704C0 0026D420 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802704C4 0026D424 FF E0 08 90 */ fmr f31, f1 +/* 802704C8 0026D428 7C 7F 1B 78 */ mr r31, r3 +/* 802704CC 0026D42C 7C 9E 23 78 */ mr r30, r4 +/* 802704D0 0026D430 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802704D4 0026D434 41 82 03 00 */ beq lbl_802707D4 +/* 802704D8 0026D438 4B E0 96 41 */ bl Think__10CPatternedFfR13CStateManager +/* 802704DC 0026D43C C0 3F 06 A4 */ lfs f1, 0x6a4(r31) +/* 802704E0 0026D440 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 802704E4 0026D444 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802704E8 0026D448 40 81 00 0C */ ble lbl_802704F4 +/* 802704EC 0026D44C EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802704F0 0026D450 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) +lbl_802704F4: +/* 802704F4 0026D454 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 802704F8 0026D458 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802704FC 0026D45C 41 82 01 44 */ beq lbl_80270640 +/* 80270500 0026D460 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80270504 0026D464 38 61 00 84 */ addi r3, r1, 0x84 +/* 80270508 0026D468 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8027050C 0026D46C C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80270510 0026D470 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270514 0026D474 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80270518 0026D478 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8027051C 0026D47C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80270520 0026D480 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80270524 0026D484 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80270528 0026D488 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8027052C 0026D48C C0 84 00 60 */ lfs f4, 0x60(r4) +/* 80270530 0026D490 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80270534 0026D494 EC A2 08 28 */ fsubs f5, f2, f1 +/* 80270538 0026D498 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8027053C 0026D49C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80270540 0026D4A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80270544 0026D4A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80270548 0026D4A8 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 8027054C 0026D4AC D0 61 00 80 */ stfs f3, 0x80(r1) +/* 80270550 0026D4B0 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80270554 0026D4B4 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80270558 0026D4B8 48 0A 43 A1 */ bl Normalize__9CVector3fFv +/* 8027055C 0026D4BC C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270560 0026D4C0 38 61 00 78 */ addi r3, r1, 0x78 +/* 80270564 0026D4C4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80270568 0026D4C8 48 0A 43 91 */ bl Normalize__9CVector3fFv +/* 8027056C 0026D4CC C0 C1 00 88 */ lfs f6, 0x88(r1) +/* 80270570 0026D4D0 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 80270574 0026D4D4 C0 A1 00 84 */ lfs f5, 0x84(r1) +/* 80270578 0026D4D8 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 8027057C 0026D4DC C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80270580 0026D4E0 C0 E1 00 8C */ lfs f7, 0x8c(r1) +/* 80270584 0026D4E4 C0 81 00 80 */ lfs f4, 0x80(r1) +/* 80270588 0026D4E8 EC 25 00 BA */ fmadds f1, f5, f2, f0 +/* 8027058C 0026D4EC C0 02 BB C4 */ lfs f0, lbl_805AD8E4@sda21(r2) +/* 80270590 0026D4F0 EC 27 09 3A */ fmadds f1, f7, f4, f1 +/* 80270594 0026D4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80270598 0026D4F8 40 80 00 C0 */ bge lbl_80270658 +/* 8027059C 0026D4FC C0 02 BB CC */ lfs f0, lbl_805AD8EC@sda21(r2) +/* 802705A0 0026D500 38 61 00 58 */ addi r3, r1, 0x58 +/* 802705A4 0026D504 C0 22 BB C8 */ lfs f1, lbl_805AD8E8@sda21(r2) +/* 802705A8 0026D508 38 81 00 4C */ addi r4, r1, 0x4c +/* 802705AC 0026D50C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802705B0 0026D510 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802705B4 0026D514 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802705B8 0026D518 38 C1 00 08 */ addi r6, r1, 8 +/* 802705BC 0026D51C D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802705C0 0026D520 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802705C4 0026D524 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802705C8 0026D528 D0 01 00 08 */ stfs f0, 8(r1) +/* 802705CC 0026D52C D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802705D0 0026D530 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802705D4 0026D534 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802705D8 0026D538 48 0A 10 BD */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 802705DC 0026D53C C0 61 00 58 */ lfs f3, 0x58(r1) +/* 802705E0 0026D540 38 A1 00 6C */ addi r5, r1, 0x6c +/* 802705E4 0026D544 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 802705E8 0026D548 38 61 00 24 */ addi r3, r1, 0x24 +/* 802705EC 0026D54C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802705F0 0026D550 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802705F4 0026D554 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802705F8 0026D558 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802705FC 0026D55C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80270600 0026D560 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80270604 0026D564 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80270608 0026D568 48 0A 24 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8027060C 0026D56C C0 81 00 68 */ lfs f4, 0x68(r1) +/* 80270610 0026D570 FC 20 F8 90 */ fmr f1, f31 +/* 80270614 0026D574 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80270618 0026D578 7F E3 FB 78 */ mr r3, r31 +/* 8027061C 0026D57C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80270620 0026D580 38 81 00 30 */ addi r4, r1, 0x30 +/* 80270624 0026D584 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80270628 0026D588 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8027062C 0026D58C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80270630 0026D590 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80270634 0026D594 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80270638 0026D598 4B EA A7 DD */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf +/* 8027063C 0026D59C 48 00 00 1C */ b lbl_80270658 +lbl_80270640: +/* 80270640 0026D5A0 C0 3F 06 9C */ lfs f1, 0x69c(r31) +/* 80270644 0026D5A4 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270648 0026D5A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027064C 0026D5AC 40 81 00 0C */ ble lbl_80270658 +/* 80270650 0026D5B0 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80270654 0026D5B4 D0 1F 06 9C */ stfs f0, 0x69c(r31) +lbl_80270658: +/* 80270658 0026D5B8 80 1F 06 74 */ lwz r0, 0x674(r31) +/* 8027065C 0026D5BC 28 00 00 00 */ cmplwi r0, 0 +/* 80270660 0026D5C0 41 82 01 0C */ beq lbl_8027076C +/* 80270664 0026D5C4 C0 1F 06 A0 */ lfs f0, 0x6a0(r31) +/* 80270668 0026D5C8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8027066C 0026D5CC D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +/* 80270670 0026D5D0 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270674 0026D5D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270678 0026D5D8 40 82 00 DC */ bne lbl_80270754 +/* 8027067C 0026D5DC C0 3F 06 A0 */ lfs f1, 0x6a0(r31) +/* 80270680 0026D5E0 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270684 0026D5E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80270688 0026D5E8 4C 40 13 82 */ cror 2, 0, 2 +/* 8027068C 0026D5EC 40 82 00 C8 */ bne lbl_80270754 +/* 80270690 0026D5F0 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80270694 0026D5F4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270698 0026D5F8 41 82 00 B4 */ beq lbl_8027074C +/* 8027069C 0026D5FC 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 802706A0 0026D600 38 80 00 01 */ li r4, 1 +/* 802706A4 0026D604 81 83 00 00 */ lwz r12, 0(r3) +/* 802706A8 0026D608 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802706AC 0026D60C 7D 89 03 A6 */ mtctr r12 +/* 802706B0 0026D610 4E 80 04 21 */ bctrl +/* 802706B4 0026D614 83 DF 06 74 */ lwz r30, 0x674(r31) +/* 802706B8 0026D618 38 61 00 90 */ addi r3, r1, 0x90 +/* 802706BC 0026D61C 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802706C0 0026D620 48 0A 25 81 */ bl GetRotation__12CTransform4fCFv +/* 802706C4 0026D624 7F C3 F3 78 */ mr r3, r30 +/* 802706C8 0026D628 38 81 00 90 */ addi r4, r1, 0x90 +/* 802706CC 0026D62C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802706D0 0026D630 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802706D4 0026D634 7D 89 03 A6 */ mtctr r12 +/* 802706D8 0026D638 4E 80 04 21 */ bctrl +/* 802706DC 0026D63C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802706E0 0026D640 38 81 00 18 */ addi r4, r1, 0x18 +/* 802706E4 0026D644 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802706E8 0026D648 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802706EC 0026D64C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802706F0 0026D650 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802706F4 0026D654 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802706F8 0026D658 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 802706FC 0026D65C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270700 0026D660 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80270704 0026D664 7D 89 03 A6 */ mtctr r12 +/* 80270708 0026D668 4E 80 04 21 */ bctrl +/* 8027070C 0026D66C 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270710 0026D670 38 80 00 01 */ li r4, 1 +/* 80270714 0026D674 48 0A C1 AD */ bl ForceParticleCreation__11CElementGenFi +/* 80270718 0026D678 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 8027071C 0026D67C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80270720 0026D680 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80270724 0026D684 81 83 00 00 */ lwz r12, 0(r3) +/* 80270728 0026D688 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8027072C 0026D68C 7D 89 03 A6 */ mtctr r12 +/* 80270730 0026D690 4E 80 04 21 */ bctrl +/* 80270734 0026D694 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270738 0026D698 38 80 00 00 */ li r4, 0 +/* 8027073C 0026D69C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270740 0026D6A0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270744 0026D6A4 7D 89 03 A6 */ mtctr r12 +/* 80270748 0026D6A8 4E 80 04 21 */ bctrl +lbl_8027074C: +/* 8027074C 0026D6AC C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) +/* 80270750 0026D6B0 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +lbl_80270754: +/* 80270754 0026D6B4 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270758 0026D6B8 FC 20 F8 90 */ fmr f1, f31 +/* 8027075C 0026D6BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270760 0026D6C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270764 0026D6C4 7D 89 03 A6 */ mtctr r12 +/* 80270768 0026D6C8 4E 80 04 21 */ bctrl +lbl_8027076C: +/* 8027076C 0026D6CC 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270770 0026D6D0 28 03 00 00 */ cmplwi r3, 0 +/* 80270774 0026D6D4 41 82 00 60 */ beq lbl_802707D4 +/* 80270778 0026D6D8 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8027077C 0026D6DC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80270780 0026D6E0 41 82 00 3C */ beq lbl_802707BC +/* 80270784 0026D6E4 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270788 0026D6E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027078C 0026D6EC 40 82 00 30 */ bne lbl_802707BC +/* 80270790 0026D6F0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80270794 0026D6F4 38 81 00 0C */ addi r4, r1, 0xc +/* 80270798 0026D6F8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8027079C 0026D6FC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802707A0 0026D700 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802707A4 0026D704 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802707A8 0026D708 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802707AC 0026D70C 81 83 00 00 */ lwz r12, 0(r3) +/* 802707B0 0026D710 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802707B4 0026D714 7D 89 03 A6 */ mtctr r12 +/* 802707B8 0026D718 4E 80 04 21 */ bctrl +lbl_802707BC: +/* 802707BC 0026D71C 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 802707C0 0026D720 FC 20 F8 90 */ fmr f1, f31 +/* 802707C4 0026D724 81 83 00 00 */ lwz r12, 0(r3) +/* 802707C8 0026D728 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802707CC 0026D72C 7D 89 03 A6 */ mtctr r12 +/* 802707D0 0026D730 4E 80 04 21 */ bctrl +lbl_802707D4: +/* 802707D4 0026D734 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802707D8 0026D738 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802707DC 0026D73C CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802707E0 0026D740 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 802707E4 0026D744 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 802707E8 0026D748 7C 08 03 A6 */ mtlr r0 +/* 802707EC 0026D74C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802707F0 0026D750 4E 80 00 20 */ blr + +.global Render__9CBurrowerFRC13CStateManager +Render__9CBurrowerFRC13CStateManager: +/* 802707F4 0026D754 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802707F8 0026D758 7C 08 02 A6 */ mflr r0 +/* 802707FC 0026D75C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80270800 0026D760 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80270804 0026D764 7C 9F 23 78 */ mr r31, r4 +/* 80270808 0026D768 93 C1 00 08 */ stw r30, 8(r1) +/* 8027080C 0026D76C 7C 7E 1B 78 */ mr r30, r3 +/* 80270810 0026D770 80 63 00 90 */ lwz r3, 0x90(r3) +/* 80270814 0026D774 28 03 00 00 */ cmplwi r3, 0 +/* 80270818 0026D778 41 82 00 28 */ beq lbl_80270840 +/* 8027081C 0026D77C 80 1E 06 74 */ lwz r0, 0x674(r30) +/* 80270820 0026D780 28 00 00 00 */ cmplwi r0, 0 +/* 80270824 0026D784 41 82 00 1C */ beq lbl_80270840 +/* 80270828 0026D788 4B E9 45 61 */ bl ActivateLights__12CActorLightsCFv +/* 8027082C 0026D78C 80 7E 06 74 */ lwz r3, 0x674(r30) +/* 80270830 0026D790 81 83 00 00 */ lwz r12, 0(r3) +/* 80270834 0026D794 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80270838 0026D798 7D 89 03 A6 */ mtctr r12 +/* 8027083C 0026D79C 4E 80 04 21 */ bctrl +lbl_80270840: +/* 80270840 0026D7A0 7F C3 F3 78 */ mr r3, r30 +/* 80270844 0026D7A4 7F E4 FB 78 */ mr r4, r31 +/* 80270848 0026D7A8 4B E0 77 E5 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027084C 0026D7AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80270850 0026D7B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80270854 0026D7B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80270858 0026D7B8 7C 08 03 A6 */ mtlr r0 +/* 8027085C 0026D7BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80270860 0026D7C0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80270864 0026D7C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80270868 0026D7C8 7C 08 02 A6 */ mflr r0 +/* 8027086C 0026D7CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80270870 0026D7D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80270874 0026D7D4 7C DF 33 78 */ mr r31, r6 +/* 80270878 0026D7D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027087C 0026D7DC 7C 9E 23 78 */ mr r30, r4 +/* 80270880 0026D7E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80270884 0026D7E4 7C 7D 1B 78 */ mr r29, r3 +/* 80270888 0026D7E8 A0 05 00 00 */ lhz r0, 0(r5) +/* 8027088C 0026D7EC 38 A1 00 08 */ addi r5, r1, 8 +/* 80270890 0026D7F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80270894 0026D7F4 4B E0 C2 E5 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80270898 0026D7F8 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 8027089C 0026D7FC 41 82 00 30 */ beq lbl_802708CC +/* 802708A0 0026D800 40 80 00 10 */ bge lbl_802708B0 +/* 802708A4 0026D804 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 802708A8 0026D808 41 82 00 14 */ beq lbl_802708BC +/* 802708AC 0026D80C 48 00 00 98 */ b lbl_80270944 +lbl_802708B0: +/* 802708B0 0026D810 2C 1E 00 2A */ cmpwi r30, 0x2a +/* 802708B4 0026D814 41 82 00 88 */ beq lbl_8027093C +/* 802708B8 0026D818 48 00 00 8C */ b lbl_80270944 +lbl_802708BC: +/* 802708BC 0026D81C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802708C0 0026D820 7F E4 FB 78 */ mr r4, r31 +/* 802708C4 0026D824 4B EC A4 2D */ bl Activate__15CBodyControllerFR13CStateManager +/* 802708C8 0026D828 48 00 00 7C */ b lbl_80270944 +lbl_802708CC: +/* 802708CC 0026D82C 80 FD 00 04 */ lwz r7, 4(r29) +/* 802708D0 0026D830 7F A3 EB 78 */ mr r3, r29 +/* 802708D4 0026D834 80 DF 08 50 */ lwz r6, 0x850(r31) +/* 802708D8 0026D838 7F E4 FB 78 */ mr r4, r31 +/* 802708DC 0026D83C 54 E5 18 38 */ slwi r5, r7, 3 +/* 802708E0 0026D840 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802708E4 0026D844 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 802708E8 0026D848 38 05 00 04 */ addi r0, r5, 4 +/* 802708EC 0026D84C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802708F0 0026D850 7C A6 00 2E */ lwzx r5, r6, r0 +/* 802708F4 0026D854 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) +/* 802708F8 0026D858 80 A5 01 2C */ lwz r5, 0x12c(r5) +/* 802708FC 0026D85C 80 05 10 BC */ lwz r0, 0x10bc(r5) +/* 80270900 0026D860 90 1D 05 68 */ stw r0, 0x568(r29) +/* 80270904 0026D864 4B F8 52 91 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf +/* 80270908 0026D868 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027090C 0026D86C 40 82 00 38 */ bne lbl_80270944 +/* 80270910 0026D870 80 7D 06 78 */ lwz r3, 0x678(r29) +/* 80270914 0026D874 28 03 00 00 */ cmplwi r3, 0 +/* 80270918 0026D878 41 82 00 18 */ beq lbl_80270930 +/* 8027091C 0026D87C 81 83 00 00 */ lwz r12, 0(r3) +/* 80270920 0026D880 38 80 00 01 */ li r4, 1 +/* 80270924 0026D884 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270928 0026D888 7D 89 03 A6 */ mtctr r12 +/* 8027092C 0026D88C 4E 80 04 21 */ bctrl +lbl_80270930: +/* 80270930 0026D890 38 00 00 00 */ li r0, 0 +/* 80270934 0026D894 90 1D 06 78 */ stw r0, 0x678(r29) +/* 80270938 0026D898 48 00 00 0C */ b lbl_80270944 +lbl_8027093C: +/* 8027093C 0026D89C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) +/* 80270940 0026D8A0 D0 1D 06 A4 */ stfs f0, 0x6a4(r29) +lbl_80270944: +/* 80270944 0026D8A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80270948 0026D8A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027094C 0026D8AC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80270950 0026D8B0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80270954 0026D8B4 7C 08 03 A6 */ mtlr r0 +/* 80270958 0026D8B8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027095C 0026D8BC 4E 80 00 20 */ blr + +.global __dt__9CBurrowerFv +__dt__9CBurrowerFv: +/* 80270960 0026D8C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80270964 0026D8C4 7C 08 02 A6 */ mflr r0 +/* 80270968 0026D8C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027096C 0026D8CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80270970 0026D8D0 7C 9F 23 78 */ mr r31, r4 +/* 80270974 0026D8D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80270978 0026D8D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8027097C 0026D8DC 41 82 01 6C */ beq lbl_80270AE8 +/* 80270980 0026D8E0 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha +/* 80270984 0026D8E4 34 1E 06 8C */ addic. r0, r30, 0x68c +/* 80270988 0026D8E8 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l +/* 8027098C 0026D8EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80270990 0026D8F0 41 82 00 30 */ beq lbl_802709C0 +/* 80270994 0026D8F4 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 80270998 0026D8F8 28 00 00 00 */ cmplwi r0, 0 +/* 8027099C 0026D8FC 41 82 00 1C */ beq lbl_802709B8 +/* 802709A0 0026D900 34 7E 06 8C */ addic. r3, r30, 0x68c +/* 802709A4 0026D904 41 82 00 14 */ beq lbl_802709B8 +/* 802709A8 0026D908 28 03 00 00 */ cmplwi r3, 0 +/* 802709AC 0026D90C 41 82 00 0C */ beq lbl_802709B8 +/* 802709B0 0026D910 38 80 00 00 */ li r4, 0 +/* 802709B4 0026D914 48 0D 04 8D */ bl __dt__6CTokenFv +lbl_802709B8: +/* 802709B8 0026D918 38 00 00 00 */ li r0, 0 +/* 802709BC 0026D91C 98 1E 06 98 */ stb r0, 0x698(r30) +lbl_802709C0: +/* 802709C0 0026D920 34 1E 06 7C */ addic. r0, r30, 0x67c +/* 802709C4 0026D924 41 82 00 30 */ beq lbl_802709F4 +/* 802709C8 0026D928 88 1E 06 88 */ lbz r0, 0x688(r30) +/* 802709CC 0026D92C 28 00 00 00 */ cmplwi r0, 0 +/* 802709D0 0026D930 41 82 00 1C */ beq lbl_802709EC +/* 802709D4 0026D934 34 7E 06 7C */ addic. r3, r30, 0x67c +/* 802709D8 0026D938 41 82 00 14 */ beq lbl_802709EC +/* 802709DC 0026D93C 28 03 00 00 */ cmplwi r3, 0 +/* 802709E0 0026D940 41 82 00 0C */ beq lbl_802709EC +/* 802709E4 0026D944 38 80 00 00 */ li r4, 0 +/* 802709E8 0026D948 48 0D 04 59 */ bl __dt__6CTokenFv +lbl_802709EC: +/* 802709EC 0026D94C 38 00 00 00 */ li r0, 0 +/* 802709F0 0026D950 98 1E 06 88 */ stb r0, 0x688(r30) +lbl_802709F4: +/* 802709F4 0026D954 34 1E 06 78 */ addic. r0, r30, 0x678 +/* 802709F8 0026D958 41 82 00 24 */ beq lbl_80270A1C +/* 802709FC 0026D95C 80 7E 06 78 */ lwz r3, 0x678(r30) +/* 80270A00 0026D960 28 03 00 00 */ cmplwi r3, 0 +/* 80270A04 0026D964 41 82 00 18 */ beq lbl_80270A1C +/* 80270A08 0026D968 81 83 00 00 */ lwz r12, 0(r3) +/* 80270A0C 0026D96C 38 80 00 01 */ li r4, 1 +/* 80270A10 0026D970 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270A14 0026D974 7D 89 03 A6 */ mtctr r12 +/* 80270A18 0026D978 4E 80 04 21 */ bctrl +lbl_80270A1C: +/* 80270A1C 0026D97C 34 1E 06 74 */ addic. r0, r30, 0x674 +/* 80270A20 0026D980 41 82 00 24 */ beq lbl_80270A44 +/* 80270A24 0026D984 80 7E 06 74 */ lwz r3, 0x674(r30) +/* 80270A28 0026D988 28 03 00 00 */ cmplwi r3, 0 +/* 80270A2C 0026D98C 41 82 00 18 */ beq lbl_80270A44 +/* 80270A30 0026D990 81 83 00 00 */ lwz r12, 0(r3) +/* 80270A34 0026D994 38 80 00 01 */ li r4, 1 +/* 80270A38 0026D998 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270A3C 0026D99C 7D 89 03 A6 */ mtctr r12 +/* 80270A40 0026D9A0 4E 80 04 21 */ bctrl +lbl_80270A44: +/* 80270A44 0026D9A4 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A48 0026D9A8 41 82 00 20 */ beq lbl_80270A68 +/* 80270A4C 0026D9AC 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A50 0026D9B0 41 82 00 18 */ beq lbl_80270A68 +/* 80270A54 0026D9B4 34 1E 06 4C */ addic. r0, r30, 0x64c +/* 80270A58 0026D9B8 41 82 00 10 */ beq lbl_80270A68 +/* 80270A5C 0026D9BC 38 7E 06 4C */ addi r3, r30, 0x64c +/* 80270A60 0026D9C0 38 80 00 00 */ li r4, 0 +/* 80270A64 0026D9C4 48 0D 03 DD */ bl __dt__6CTokenFv +lbl_80270A68: +/* 80270A68 0026D9C8 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80270A6C 0026D9CC 41 82 00 60 */ beq lbl_80270ACC +/* 80270A70 0026D9D0 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80270A74 0026D9D4 41 82 00 58 */ beq lbl_80270ACC +/* 80270A78 0026D9D8 80 BE 05 6C */ lwz r5, 0x56c(r30) +/* 80270A7C 0026D9DC 38 60 00 00 */ li r3, 0 +/* 80270A80 0026D9E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80270A84 0026D9E4 40 81 00 40 */ ble lbl_80270AC4 +/* 80270A88 0026D9E8 2C 05 00 08 */ cmpwi r5, 8 +/* 80270A8C 0026D9EC 38 85 FF F8 */ addi r4, r5, -8 +/* 80270A90 0026D9F0 40 81 00 20 */ ble lbl_80270AB0 +/* 80270A94 0026D9F4 38 04 00 07 */ addi r0, r4, 7 +/* 80270A98 0026D9F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80270A9C 0026D9FC 7C 09 03 A6 */ mtctr r0 +/* 80270AA0 0026DA00 2C 04 00 00 */ cmpwi r4, 0 +/* 80270AA4 0026DA04 40 81 00 0C */ ble lbl_80270AB0 +lbl_80270AA8: +/* 80270AA8 0026DA08 38 63 00 08 */ addi r3, r3, 8 +/* 80270AAC 0026DA0C 42 00 FF FC */ bdnz lbl_80270AA8 +lbl_80270AB0: +/* 80270AB0 0026DA10 7C 03 28 50 */ subf r0, r3, r5 +/* 80270AB4 0026DA14 7C 09 03 A6 */ mtctr r0 +/* 80270AB8 0026DA18 7C 03 28 00 */ cmpw r3, r5 +/* 80270ABC 0026DA1C 40 80 00 08 */ bge lbl_80270AC4 +lbl_80270AC0: +/* 80270AC0 0026DA20 42 00 00 00 */ bdnz lbl_80270AC0 +lbl_80270AC4: +/* 80270AC4 0026DA24 38 00 00 00 */ li r0, 0 +/* 80270AC8 0026DA28 90 1E 05 6C */ stw r0, 0x56c(r30) +lbl_80270ACC: +/* 80270ACC 0026DA2C 7F C3 F3 78 */ mr r3, r30 +/* 80270AD0 0026DA30 38 80 00 00 */ li r4, 0 +/* 80270AD4 0026DA34 4B E0 6A 9D */ bl __dt__10CPatternedFv +/* 80270AD8 0026DA38 7F E0 07 35 */ extsh. r0, r31 +/* 80270ADC 0026DA3C 40 81 00 0C */ ble lbl_80270AE8 +/* 80270AE0 0026DA40 7F C3 F3 78 */ mr r3, r30 +/* 80270AE4 0026DA44 48 0A 4E 4D */ bl Free__7CMemoryFPCv +lbl_80270AE8: +/* 80270AE8 0026DA48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80270AEC 0026DA4C 7F C3 F3 78 */ mr r3, r30 +/* 80270AF0 0026DA50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80270AF4 0026DA54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80270AF8 0026DA58 7C 08 03 A6 */ mtlr r0 +/* 80270AFC 0026DA5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80270B00 0026DA60 4E 80 00 20 */ blr + +.global __ct__9CBurrower +__ct__9CBurrower: +/* 80270B04 0026DA64 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80270B08 0026DA68 7C 08 02 A6 */ mflr r0 +/* 80270B0C 0026DA6C 39 60 00 00 */ li r11, 0 +/* 80270B10 0026DA70 7D 0C 43 78 */ mr r12, r8 +/* 80270B14 0026DA74 90 01 01 14 */ stw r0, 0x114(r1) +/* 80270B18 0026DA78 BE E1 00 EC */ stmw r23, 0xec(r1) +/* 80270B1C 0026DA7C 7D 37 4B 78 */ mr r23, r9 +/* 80270B20 0026DA80 7C E9 3B 78 */ mr r9, r7 +/* 80270B24 0026DA84 83 61 01 18 */ lwz r27, 0x118(r1) +/* 80270B28 0026DA88 83 81 01 1C */ lwz r28, 0x11c(r1) +/* 80270B2C 0026DA8C 7C 7F 1B 78 */ mr r31, r3 +/* 80270B30 0026DA90 83 01 01 20 */ lwz r24, 0x120(r1) +/* 80270B34 0026DA94 38 E0 00 00 */ li r7, 0 +/* 80270B38 0026DA98 83 21 01 24 */ lwz r25, 0x124(r1) +/* 80270B3C 0026DA9C 83 A1 01 28 */ lwz r29, 0x128(r1) +/* 80270B40 0026DAA0 83 41 01 2C */ lwz r26, 0x12c(r1) +/* 80270B44 0026DAA4 83 C1 01 30 */ lwz r30, 0x130(r1) +/* 80270B48 0026DAA8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80270B4C 0026DAAC 7C C4 33 78 */ mr r4, r6 +/* 80270B50 0026DAB0 7C A6 2B 78 */ mr r6, r5 +/* 80270B54 0026DAB4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80270B58 0026DAB8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80270B5C 0026DABC 7C 88 23 78 */ mr r8, r4 +/* 80270B60 0026DAC0 38 00 00 01 */ li r0, 1 +/* 80270B64 0026DAC4 38 80 00 05 */ li r4, 5 +/* 80270B68 0026DAC8 92 E1 00 08 */ stw r23, 8(r1) +/* 80270B6C 0026DACC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80270B70 0026DAD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80270B74 0026DAD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80270B78 0026DAD8 91 41 00 18 */ stw r10, 0x18(r1) +/* 80270B7C 0026DADC 7D 8A 63 78 */ mr r10, r12 +/* 80270B80 0026DAE0 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80270B84 0026DAE4 4B E0 C8 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80270B88 0026DAE8 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha +/* 80270B8C 0026DAEC C0 22 BB B8 */ lfs f1, lbl_805AD8D8@sda21(r2) +/* 80270B90 0026DAF0 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l +/* 80270B94 0026DAF4 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80270B98 0026DAF8 90 1F 00 00 */ stw r0, 0(r31) +/* 80270B9C 0026DAFC FC 40 08 90 */ fmr f2, f1 +/* 80270BA0 0026DB00 38 80 00 00 */ li r4, 0 +/* 80270BA4 0026DB04 38 A0 00 01 */ li r5, 1 +/* 80270BA8 0026DB08 80 D7 01 0C */ lwz r6, 0x10c(r23) +/* 80270BAC 0026DB0C 4B F5 81 E9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80270BB0 0026DB10 80 98 00 00 */ lwz r4, 0(r24) +/* 80270BB4 0026DB14 7F 25 CB 78 */ mr r5, r25 +/* 80270BB8 0026DB18 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80270BBC 0026DB1C 4B FA B4 ED */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80270BC0 0026DB20 38 00 00 00 */ li r0, 0 +/* 80270BC4 0026DB24 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) +/* 80270BC8 0026DB28 90 1F 06 74 */ stw r0, 0x674(r31) +/* 80270BCC 0026DB2C 57 43 04 3E */ clrlwi r3, r26, 0x10 +/* 80270BD0 0026DB30 90 1F 06 78 */ stw r0, 0x678(r31) +/* 80270BD4 0026DB34 98 1F 06 88 */ stb r0, 0x688(r31) +/* 80270BD8 0026DB38 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80270BDC 0026DB3C D0 1F 06 9C */ stfs f0, 0x69c(r31) +/* 80270BE0 0026DB40 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +/* 80270BE4 0026DB44 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) +/* 80270BE8 0026DB48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80270BEC 0026DB4C B0 1F 06 A8 */ sth r0, 0x6a8(r31) +/* 80270BF0 0026DB50 48 07 7D C1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80270BF4 0026DB54 B0 7F 06 AA */ sth r3, 0x6aa(r31) +/* 80270BF8 0026DB58 38 A0 00 00 */ li r5, 0 +/* 80270BFC 0026DB5C 7F E3 FB 78 */ mr r3, r31 +/* 80270C00 0026DB60 38 80 00 00 */ li r4, 0 +/* 80270C04 0026DB64 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270C08 0026DB68 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80270C0C 0026DB6C 98 1F 06 AC */ stb r0, 0x6ac(r31) +/* 80270C10 0026DB70 88 1F 06 AC */ lbz r0, 0x6ac(r31) +/* 80270C14 0026DB74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80270C18 0026DB78 98 1F 06 AC */ stb r0, 0x6ac(r31) +/* 80270C1C 0026DB7C 4B DE 21 51 */ bl CreateShadow__6CActorFb +/* 80270C20 0026DB80 7F E3 FB 78 */ mr r3, r31 +/* 80270C24 0026DB84 4B E0 6C 71 */ bl MakeThermalColdAndHot__10CPatternedFv +/* 80270C28 0026DB88 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80270C2C 0026DB8C 48 0D 01 59 */ bl Lock__6CTokenFv +/* 80270C30 0026DB90 80 9B 00 00 */ lwz r4, 0(r27) +/* 80270C34 0026DB94 3C 04 00 01 */ addis r0, r4, 1 +/* 80270C38 0026DB98 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270C3C 0026DB9C 41 82 01 7C */ beq lbl_80270DB8 +/* 80270C40 0026DBA0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270C44 0026DBA4 90 81 00 70 */ stw r4, 0x70(r1) +/* 80270C48 0026DBA8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270C4C 0026DBAC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270C50 0026DBB0 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80270C54 0026DBB4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80270C58 0026DBB8 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80270C5C 0026DBBC 81 84 00 00 */ lwz r12, 0(r4) +/* 80270C60 0026DBC0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270C64 0026DBC4 7D 89 03 A6 */ mtctr r12 +/* 80270C68 0026DBC8 4E 80 04 21 */ bctrl +/* 80270C6C 0026DBCC 3A E1 00 C0 */ addi r23, r1, 0xc0 +/* 80270C70 0026DBD0 38 81 00 64 */ addi r4, r1, 0x64 +/* 80270C74 0026DBD4 7E E3 BB 78 */ mr r3, r23 +/* 80270C78 0026DBD8 48 0D 02 31 */ bl __ct__6CTokenFRC6CToken +/* 80270C7C 0026DBDC 7E E3 BB 78 */ mr r3, r23 +/* 80270C80 0026DBE0 48 0D 01 8D */ bl GetObj__6CTokenFv +/* 80270C84 0026DBE4 80 03 00 04 */ lwz r0, 4(r3) +/* 80270C88 0026DBE8 3A E1 00 D8 */ addi r23, r1, 0xd8 +/* 80270C8C 0026DBEC 7E E3 BB 78 */ mr r3, r23 +/* 80270C90 0026DBF0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80270C94 0026DBF4 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80270C98 0026DBF8 48 0D 02 11 */ bl __ct__6CTokenFRC6CToken +/* 80270C9C 0026DBFC 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 80270CA0 0026DC00 7E E3 BB 78 */ mr r3, r23 +/* 80270CA4 0026DC04 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80270CA8 0026DC08 48 0D 00 DD */ bl Lock__6CTokenFv +/* 80270CAC 0026DC0C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80270CB0 0026DC10 38 80 00 00 */ li r4, 0 +/* 80270CB4 0026DC14 48 0D 01 8D */ bl __dt__6CTokenFv +/* 80270CB8 0026DC18 38 61 00 64 */ addi r3, r1, 0x64 +/* 80270CBC 0026DC1C 38 80 FF FF */ li r4, -1 +/* 80270CC0 0026DC20 48 0D 01 81 */ bl __dt__6CTokenFv +/* 80270CC4 0026DC24 3C 60 80 3D */ lis r3, lbl_803D5420@ha +/* 80270CC8 0026DC28 3A E0 00 00 */ li r23, 0 +/* 80270CCC 0026DC2C 38 83 54 20 */ addi r4, r3, lbl_803D5420@l +/* 80270CD0 0026DC30 38 A0 00 00 */ li r5, 0 +/* 80270CD4 0026DC34 38 60 03 40 */ li r3, 0x340 +/* 80270CD8 0026DC38 48 0A 4B 95 */ bl __nw__FUlPCcPCc +/* 80270CDC 0026DC3C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80270CE0 0026DC40 41 82 00 2C */ beq lbl_80270D0C +/* 80270CE4 0026DC44 38 61 00 5C */ addi r3, r1, 0x5c +/* 80270CE8 0026DC48 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80270CEC 0026DC4C 48 0D 01 BD */ bl __ct__6CTokenFRC6CToken +/* 80270CF0 0026DC50 7F 63 DB 78 */ mr r3, r27 +/* 80270CF4 0026DC54 38 81 00 5C */ addi r4, r1, 0x5c +/* 80270CF8 0026DC58 3A E0 00 01 */ li r23, 1 +/* 80270CFC 0026DC5C 38 A0 00 01 */ li r5, 1 +/* 80270D00 0026DC60 38 C0 00 01 */ li r6, 1 +/* 80270D04 0026DC64 48 0A E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80270D08 0026DC68 7C 7B 1B 78 */ mr r27, r3 +lbl_80270D0C: +/* 80270D0C 0026DC6C 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D10 0026DC70 28 03 00 00 */ cmplwi r3, 0 +/* 80270D14 0026DC74 41 82 00 18 */ beq lbl_80270D2C +/* 80270D18 0026DC78 81 83 00 00 */ lwz r12, 0(r3) +/* 80270D1C 0026DC7C 38 80 00 01 */ li r4, 1 +/* 80270D20 0026DC80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270D24 0026DC84 7D 89 03 A6 */ mtctr r12 +/* 80270D28 0026DC88 4E 80 04 21 */ bctrl +lbl_80270D2C: +/* 80270D2C 0026DC8C 7E E0 07 75 */ extsb. r0, r23 +/* 80270D30 0026DC90 93 7F 06 74 */ stw r27, 0x674(r31) +/* 80270D34 0026DC94 41 82 00 10 */ beq lbl_80270D44 +/* 80270D38 0026DC98 38 61 00 5C */ addi r3, r1, 0x5c +/* 80270D3C 0026DC9C 38 80 00 00 */ li r4, 0 +/* 80270D40 0026DCA0 48 0D 01 01 */ bl __dt__6CTokenFv +lbl_80270D44: +/* 80270D44 0026DCA4 80 BF 06 74 */ lwz r5, 0x674(r31) +/* 80270D48 0026DCA8 28 05 00 00 */ cmplwi r5, 0 +/* 80270D4C 0026DCAC 41 82 00 60 */ beq lbl_80270DAC +/* 80270D50 0026DCB0 88 05 02 6D */ lbz r0, 0x26d(r5) +/* 80270D54 0026DCB4 38 60 00 01 */ li r3, 1 +/* 80270D58 0026DCB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80270D5C 0026DCBC 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80270D60 0026DCC0 98 05 02 6D */ stb r0, 0x26d(r5) +/* 80270D64 0026DCC4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80270D68 0026DCC8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80270D6C 0026DCCC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80270D70 0026DCD0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80270D74 0026DCD4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80270D78 0026DCD8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80270D7C 0026DCDC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80270D80 0026DCE0 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D84 0026DCE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80270D88 0026DCE8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80270D8C 0026DCEC 7D 89 03 A6 */ mtctr r12 +/* 80270D90 0026DCF0 4E 80 04 21 */ bctrl +/* 80270D94 0026DCF4 80 7F 06 74 */ lwz r3, 0x674(r31) +/* 80270D98 0026DCF8 38 80 00 00 */ li r4, 0 +/* 80270D9C 0026DCFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80270DA0 0026DD00 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270DA4 0026DD04 7D 89 03 A6 */ mtctr r12 +/* 80270DA8 0026DD08 4E 80 04 21 */ bctrl +lbl_80270DAC: +/* 80270DAC 0026DD0C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80270DB0 0026DD10 38 80 00 00 */ li r4, 0 +/* 80270DB4 0026DD14 48 0D 00 8D */ bl __dt__6CTokenFv +lbl_80270DB8: +/* 80270DB8 0026DD18 80 9C 00 00 */ lwz r4, 0(r28) +/* 80270DBC 0026DD1C 3C 04 00 01 */ addis r0, r4, 1 +/* 80270DC0 0026DD20 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270DC4 0026DD24 41 82 01 68 */ beq lbl_80270F2C +/* 80270DC8 0026DD28 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270DCC 0026DD2C 90 81 00 58 */ stw r4, 0x58(r1) +/* 80270DD0 0026DD30 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270DD4 0026DD34 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270DD8 0026DD38 90 01 00 54 */ stw r0, 0x54(r1) +/* 80270DDC 0026DD3C 38 61 00 4C */ addi r3, r1, 0x4c +/* 80270DE0 0026DD40 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80270DE4 0026DD44 81 84 00 00 */ lwz r12, 0(r4) +/* 80270DE8 0026DD48 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270DEC 0026DD4C 7D 89 03 A6 */ mtctr r12 +/* 80270DF0 0026DD50 4E 80 04 21 */ bctrl +/* 80270DF4 0026DD54 3A E1 00 A8 */ addi r23, r1, 0xa8 +/* 80270DF8 0026DD58 38 81 00 4C */ addi r4, r1, 0x4c +/* 80270DFC 0026DD5C 7E E3 BB 78 */ mr r3, r23 +/* 80270E00 0026DD60 48 0D 00 A9 */ bl __ct__6CTokenFRC6CToken +/* 80270E04 0026DD64 7E E3 BB 78 */ mr r3, r23 +/* 80270E08 0026DD68 48 0D 00 05 */ bl GetObj__6CTokenFv +/* 80270E0C 0026DD6C 80 03 00 04 */ lwz r0, 4(r3) +/* 80270E10 0026DD70 3A E1 00 CC */ addi r23, r1, 0xcc +/* 80270E14 0026DD74 7E E3 BB 78 */ mr r3, r23 +/* 80270E18 0026DD78 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80270E1C 0026DD7C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80270E20 0026DD80 48 0D 00 89 */ bl __ct__6CTokenFRC6CToken +/* 80270E24 0026DD84 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 80270E28 0026DD88 7E E3 BB 78 */ mr r3, r23 +/* 80270E2C 0026DD8C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80270E30 0026DD90 48 0C FF 55 */ bl Lock__6CTokenFv +/* 80270E34 0026DD94 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80270E38 0026DD98 38 80 00 00 */ li r4, 0 +/* 80270E3C 0026DD9C 48 0D 00 05 */ bl __dt__6CTokenFv +/* 80270E40 0026DDA0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80270E44 0026DDA4 38 80 FF FF */ li r4, -1 +/* 80270E48 0026DDA8 48 0C FF F9 */ bl __dt__6CTokenFv +/* 80270E4C 0026DDAC 3C 60 80 3D */ lis r3, lbl_803D5420@ha +/* 80270E50 0026DDB0 3A E0 00 00 */ li r23, 0 +/* 80270E54 0026DDB4 38 83 54 20 */ addi r4, r3, lbl_803D5420@l +/* 80270E58 0026DDB8 38 A0 00 00 */ li r5, 0 +/* 80270E5C 0026DDBC 38 60 03 40 */ li r3, 0x340 +/* 80270E60 0026DDC0 48 0A 4A 0D */ bl __nw__FUlPCcPCc +/* 80270E64 0026DDC4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80270E68 0026DDC8 41 82 00 2C */ beq lbl_80270E94 +/* 80270E6C 0026DDCC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80270E70 0026DDD0 38 81 00 CC */ addi r4, r1, 0xcc +/* 80270E74 0026DDD4 48 0D 00 35 */ bl __ct__6CTokenFRC6CToken +/* 80270E78 0026DDD8 7F 63 DB 78 */ mr r3, r27 +/* 80270E7C 0026DDDC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80270E80 0026DDE0 3A E0 00 01 */ li r23, 1 +/* 80270E84 0026DDE4 38 A0 00 00 */ li r5, 0 +/* 80270E88 0026DDE8 38 C0 00 01 */ li r6, 1 +/* 80270E8C 0026DDEC 48 0A E5 55 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80270E90 0026DDF0 7C 7B 1B 78 */ mr r27, r3 +lbl_80270E94: +/* 80270E94 0026DDF4 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270E98 0026DDF8 28 03 00 00 */ cmplwi r3, 0 +/* 80270E9C 0026DDFC 41 82 00 18 */ beq lbl_80270EB4 +/* 80270EA0 0026DE00 81 83 00 00 */ lwz r12, 0(r3) +/* 80270EA4 0026DE04 38 80 00 01 */ li r4, 1 +/* 80270EA8 0026DE08 81 8C 00 08 */ lwz r12, 8(r12) +/* 80270EAC 0026DE0C 7D 89 03 A6 */ mtctr r12 +/* 80270EB0 0026DE10 4E 80 04 21 */ bctrl +lbl_80270EB4: +/* 80270EB4 0026DE14 7E E0 07 75 */ extsb. r0, r23 +/* 80270EB8 0026DE18 93 7F 06 78 */ stw r27, 0x678(r31) +/* 80270EBC 0026DE1C 41 82 00 10 */ beq lbl_80270ECC +/* 80270EC0 0026DE20 38 61 00 44 */ addi r3, r1, 0x44 +/* 80270EC4 0026DE24 38 80 00 00 */ li r4, 0 +/* 80270EC8 0026DE28 48 0C FF 79 */ bl __dt__6CTokenFv +lbl_80270ECC: +/* 80270ECC 0026DE2C 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270ED0 0026DE30 28 03 00 00 */ cmplwi r3, 0 +/* 80270ED4 0026DE34 41 82 00 4C */ beq lbl_80270F20 +/* 80270ED8 0026DE38 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80270EDC 0026DE3C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80270EE0 0026DE40 C0 05 00 00 */ lfs f0, 0(r5) +/* 80270EE4 0026DE44 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80270EE8 0026DE48 C0 05 00 04 */ lfs f0, 4(r5) +/* 80270EEC 0026DE4C D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80270EF0 0026DE50 C0 05 00 08 */ lfs f0, 8(r5) +/* 80270EF4 0026DE54 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80270EF8 0026DE58 81 83 00 00 */ lwz r12, 0(r3) +/* 80270EFC 0026DE5C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80270F00 0026DE60 7D 89 03 A6 */ mtctr r12 +/* 80270F04 0026DE64 4E 80 04 21 */ bctrl +/* 80270F08 0026DE68 80 7F 06 78 */ lwz r3, 0x678(r31) +/* 80270F0C 0026DE6C 38 80 00 00 */ li r4, 0 +/* 80270F10 0026DE70 81 83 00 00 */ lwz r12, 0(r3) +/* 80270F14 0026DE74 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80270F18 0026DE78 7D 89 03 A6 */ mtctr r12 +/* 80270F1C 0026DE7C 4E 80 04 21 */ bctrl +lbl_80270F20: +/* 80270F20 0026DE80 38 61 00 CC */ addi r3, r1, 0xcc +/* 80270F24 0026DE84 38 80 00 00 */ li r4, 0 +/* 80270F28 0026DE88 48 0C FF 19 */ bl __dt__6CTokenFv +lbl_80270F2C: +/* 80270F2C 0026DE8C 80 9D 00 00 */ lwz r4, 0(r29) +/* 80270F30 0026DE90 3C 04 00 01 */ addis r0, r4, 1 +/* 80270F34 0026DE94 28 00 FF FF */ cmplwi r0, 0xffff +/* 80270F38 0026DE98 41 82 01 58 */ beq lbl_80271090 +/* 80270F3C 0026DE9C 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80270F40 0026DEA0 90 81 00 40 */ stw r4, 0x40(r1) +/* 80270F44 0026DEA4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80270F48 0026DEA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80270F4C 0026DEAC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80270F50 0026DEB0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80270F54 0026DEB4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80270F58 0026DEB8 81 84 00 00 */ lwz r12, 0(r4) +/* 80270F5C 0026DEBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80270F60 0026DEC0 7D 89 03 A6 */ mtctr r12 +/* 80270F64 0026DEC4 4E 80 04 21 */ bctrl +/* 80270F68 0026DEC8 3A E1 00 90 */ addi r23, r1, 0x90 +/* 80270F6C 0026DECC 38 81 00 34 */ addi r4, r1, 0x34 +/* 80270F70 0026DED0 7E E3 BB 78 */ mr r3, r23 +/* 80270F74 0026DED4 48 0C FF 35 */ bl __ct__6CTokenFRC6CToken +/* 80270F78 0026DED8 7E E3 BB 78 */ mr r3, r23 +/* 80270F7C 0026DEDC 48 0C FE 91 */ bl GetObj__6CTokenFv +/* 80270F80 0026DEE0 80 63 00 04 */ lwz r3, 4(r3) +/* 80270F84 0026DEE4 38 00 00 01 */ li r0, 1 +/* 80270F88 0026DEE8 37 61 00 80 */ addic. r27, r1, 0x80 +/* 80270F8C 0026DEEC 90 61 00 98 */ stw r3, 0x98(r1) +/* 80270F90 0026DEF0 98 01 00 8C */ stb r0, 0x8c(r1) +/* 80270F94 0026DEF4 41 82 00 20 */ beq lbl_80270FB4 +/* 80270F98 0026DEF8 7F 63 DB 78 */ mr r3, r27 +/* 80270F9C 0026DEFC 7E E4 BB 78 */ mr r4, r23 +/* 80270FA0 0026DF00 48 0C FF 09 */ bl __ct__6CTokenFRC6CToken +/* 80270FA4 0026DF04 80 01 00 98 */ lwz r0, 0x98(r1) +/* 80270FA8 0026DF08 7F 63 DB 78 */ mr r3, r27 +/* 80270FAC 0026DF0C 90 1B 00 08 */ stw r0, 8(r27) +/* 80270FB0 0026DF10 48 0C FD D5 */ bl Lock__6CTokenFv +lbl_80270FB4: +/* 80270FB4 0026DF14 3B 7F 06 7C */ addi r27, r31, 0x67c +/* 80270FB8 0026DF18 38 81 00 80 */ addi r4, r1, 0x80 +/* 80270FBC 0026DF1C 7C 1B 20 40 */ cmplw r27, r4 +/* 80270FC0 0026DF20 41 82 00 8C */ beq lbl_8027104C +/* 80270FC4 0026DF24 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 80270FC8 0026DF28 28 00 00 00 */ cmplwi r0, 0 +/* 80270FCC 0026DF2C 41 82 00 54 */ beq lbl_80271020 +/* 80270FD0 0026DF30 88 1F 06 88 */ lbz r0, 0x688(r31) +/* 80270FD4 0026DF34 28 00 00 00 */ cmplwi r0, 0 +/* 80270FD8 0026DF38 40 82 00 34 */ bne lbl_8027100C +/* 80270FDC 0026DF3C 28 1B 00 00 */ cmplwi r27, 0 +/* 80270FE0 0026DF40 41 82 00 20 */ beq lbl_80271000 +/* 80270FE4 0026DF44 7F 77 DB 78 */ mr r23, r27 +/* 80270FE8 0026DF48 7F 63 DB 78 */ mr r3, r27 +/* 80270FEC 0026DF4C 48 0C FE BD */ bl __ct__6CTokenFRC6CToken +/* 80270FF0 0026DF50 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80270FF4 0026DF54 7E E3 BB 78 */ mr r3, r23 +/* 80270FF8 0026DF58 90 17 00 08 */ stw r0, 8(r23) +/* 80270FFC 0026DF5C 48 0C FD 89 */ bl Lock__6CTokenFv +lbl_80271000: +/* 80271000 0026DF60 38 00 00 01 */ li r0, 1 +/* 80271004 0026DF64 98 1F 06 88 */ stb r0, 0x688(r31) +/* 80271008 0026DF68 48 00 00 44 */ b lbl_8027104C +lbl_8027100C: +/* 8027100C 0026DF6C 7F 63 DB 78 */ mr r3, r27 +/* 80271010 0026DF70 48 0C FC B5 */ bl __as__6CTokenFRC6CToken +/* 80271014 0026DF74 80 01 00 88 */ lwz r0, 0x88(r1) +/* 80271018 0026DF78 90 1B 00 08 */ stw r0, 8(r27) +/* 8027101C 0026DF7C 48 00 00 30 */ b lbl_8027104C +lbl_80271020: +/* 80271020 0026DF80 88 1F 06 88 */ lbz r0, 0x688(r31) +/* 80271024 0026DF84 28 00 00 00 */ cmplwi r0, 0 +/* 80271028 0026DF88 41 82 00 1C */ beq lbl_80271044 +/* 8027102C 0026DF8C 28 1B 00 00 */ cmplwi r27, 0 +/* 80271030 0026DF90 41 82 00 14 */ beq lbl_80271044 +/* 80271034 0026DF94 41 82 00 10 */ beq lbl_80271044 +/* 80271038 0026DF98 7F 63 DB 78 */ mr r3, r27 +/* 8027103C 0026DF9C 38 80 00 00 */ li r4, 0 +/* 80271040 0026DFA0 48 0C FE 01 */ bl __dt__6CTokenFv +lbl_80271044: +/* 80271044 0026DFA4 38 00 00 00 */ li r0, 0 +/* 80271048 0026DFA8 98 1F 06 88 */ stb r0, 0x688(r31) +lbl_8027104C: +/* 8027104C 0026DFAC 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 80271050 0026DFB0 28 00 00 00 */ cmplwi r0, 0 +/* 80271054 0026DFB4 41 82 00 1C */ beq lbl_80271070 +/* 80271058 0026DFB8 34 61 00 80 */ addic. r3, r1, 0x80 +/* 8027105C 0026DFBC 41 82 00 14 */ beq lbl_80271070 +/* 80271060 0026DFC0 28 03 00 00 */ cmplwi r3, 0 +/* 80271064 0026DFC4 41 82 00 0C */ beq lbl_80271070 +/* 80271068 0026DFC8 38 80 00 00 */ li r4, 0 +/* 8027106C 0026DFCC 48 0C FD D5 */ bl __dt__6CTokenFv +lbl_80271070: +/* 80271070 0026DFD0 38 00 00 00 */ li r0, 0 +/* 80271074 0026DFD4 38 61 00 90 */ addi r3, r1, 0x90 +/* 80271078 0026DFD8 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8027107C 0026DFDC 38 80 00 00 */ li r4, 0 +/* 80271080 0026DFE0 48 0C FD C1 */ bl __dt__6CTokenFv +/* 80271084 0026DFE4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80271088 0026DFE8 38 80 FF FF */ li r4, -1 +/* 8027108C 0026DFEC 48 0C FD B5 */ bl __dt__6CTokenFv +lbl_80271090: +/* 80271090 0026DFF0 3C 1E 00 01 */ addis r0, r30, 1 +/* 80271094 0026DFF4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80271098 0026DFF8 41 82 00 B0 */ beq lbl_80271148 +/* 8027109C 0026DFFC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802710A0 0026E000 93 C1 00 30 */ stw r30, 0x30(r1) +/* 802710A4 0026E004 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802710A8 0026E008 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802710AC 0026E00C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802710B0 0026E010 38 61 00 24 */ addi r3, r1, 0x24 +/* 802710B4 0026E014 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802710B8 0026E018 81 84 00 00 */ lwz r12, 0(r4) +/* 802710BC 0026E01C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802710C0 0026E020 7D 89 03 A6 */ mtctr r12 +/* 802710C4 0026E024 4E 80 04 21 */ bctrl +/* 802710C8 0026E028 38 61 00 74 */ addi r3, r1, 0x74 +/* 802710CC 0026E02C 38 81 00 24 */ addi r4, r1, 0x24 +/* 802710D0 0026E030 48 0C FD D9 */ bl __ct__6CTokenFRC6CToken +/* 802710D4 0026E034 38 00 00 00 */ li r0, 0 +/* 802710D8 0026E038 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802710DC 0026E03C 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 802710E0 0026E040 28 00 00 00 */ cmplwi r0, 0 +/* 802710E4 0026E044 40 82 00 2C */ bne lbl_80271110 +/* 802710E8 0026E048 37 7F 06 8C */ addic. r27, r31, 0x68c +/* 802710EC 0026E04C 41 82 00 18 */ beq lbl_80271104 +/* 802710F0 0026E050 7F 63 DB 78 */ mr r3, r27 +/* 802710F4 0026E054 38 81 00 74 */ addi r4, r1, 0x74 +/* 802710F8 0026E058 48 0C FD B1 */ bl __ct__6CTokenFRC6CToken +/* 802710FC 0026E05C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80271100 0026E060 90 1B 00 08 */ stw r0, 8(r27) +lbl_80271104: +/* 80271104 0026E064 38 00 00 01 */ li r0, 1 +/* 80271108 0026E068 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8027110C 0026E06C 48 00 00 1C */ b lbl_80271128 +lbl_80271110: +/* 80271110 0026E070 3B 7F 06 8C */ addi r27, r31, 0x68c +/* 80271114 0026E074 38 81 00 74 */ addi r4, r1, 0x74 +/* 80271118 0026E078 7F 63 DB 78 */ mr r3, r27 +/* 8027111C 0026E07C 48 0C FB A9 */ bl __as__6CTokenFRC6CToken +/* 80271120 0026E080 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80271124 0026E084 90 1B 00 08 */ stw r0, 8(r27) +lbl_80271128: +/* 80271128 0026E088 38 61 00 74 */ addi r3, r1, 0x74 +/* 8027112C 0026E08C 38 80 00 00 */ li r4, 0 +/* 80271130 0026E090 48 0C FD 11 */ bl __dt__6CTokenFv +/* 80271134 0026E094 38 61 00 24 */ addi r3, r1, 0x24 +/* 80271138 0026E098 38 80 FF FF */ li r4, -1 +/* 8027113C 0026E09C 48 0C FD 05 */ bl __dt__6CTokenFv +/* 80271140 0026E0A0 38 7F 06 8C */ addi r3, r31, 0x68c +/* 80271144 0026E0A4 48 0C FC 41 */ bl Lock__6CTokenFv +lbl_80271148: +/* 80271148 0026E0A8 7F E3 FB 78 */ mr r3, r31 +/* 8027114C 0026E0AC BA E1 00 EC */ lmw r23, 0xec(r1) +/* 80271150 0026E0B0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80271154 0026E0B4 7C 08 03 A6 */ mtlr r0 +/* 80271158 0026E0B8 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027115C 0026E0BC 4E 80 00 20 */ blr + +.global __sinit_CBurrower_cpp +__sinit_CBurrower_cpp: +/* 80271160 0026E0C0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80271164 0026E0C4 7C 08 02 A6 */ mflr r0 +/* 80271168 0026E0C8 39 60 00 02 */ li r11, 2 +/* 8027116C 0026E0CC 38 80 00 02 */ li r4, 2 +/* 80271170 0026E0D0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80271174 0026E0D4 38 00 00 00 */ li r0, 0 +/* 80271178 0026E0D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8027117C 0026E0DC 38 A0 00 02 */ li r5, 2 +/* 80271180 0026E0E0 BE 01 00 A0 */ stmw r16, 0xa0(r1) +/* 80271184 0026E0E4 38 C0 00 02 */ li r6, 2 +/* 80271188 0026E0E8 38 E0 00 02 */ li r7, 2 +/* 8027118C 0026E0EC 39 00 00 01 */ li r8, 1 +/* 80271190 0026E0F0 39 20 00 01 */ li r9, 1 +/* 80271194 0026E0F4 39 40 00 02 */ li r10, 2 +/* 80271198 0026E0F8 91 61 00 08 */ stw r11, 8(r1) +/* 8027119C 0026E0FC 91 61 00 0C */ stw r11, 0xc(r1) +/* 802711A0 0026E100 91 61 00 10 */ stw r11, 0x10(r1) +/* 802711A4 0026E104 91 61 00 14 */ stw r11, 0x14(r1) +/* 802711A8 0026E108 91 61 00 18 */ stw r11, 0x18(r1) +/* 802711AC 0026E10C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 802711B0 0026E110 91 61 00 20 */ stw r11, 0x20(r1) +/* 802711B4 0026E114 91 61 00 24 */ stw r11, 0x24(r1) +/* 802711B8 0026E118 90 01 00 28 */ stw r0, 0x28(r1) +/* 802711BC 0026E11C 4B E9 17 79 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 802711C0 0026E120 3C 60 80 57 */ lis r3, lbl_80572694@ha +/* 802711C4 0026E124 82 21 00 30 */ lwz r17, 0x30(r1) +/* 802711C8 0026E128 3A 03 26 94 */ addi r16, r3, lbl_80572694@l +/* 802711CC 0026E12C 82 41 00 34 */ lwz r18, 0x34(r1) +/* 802711D0 0026E130 82 61 00 38 */ lwz r19, 0x38(r1) +/* 802711D4 0026E134 82 81 00 3C */ lwz r20, 0x3c(r1) +/* 802711D8 0026E138 82 A1 00 40 */ lwz r21, 0x40(r1) +/* 802711DC 0026E13C 82 C1 00 44 */ lwz r22, 0x44(r1) +/* 802711E0 0026E140 82 E1 00 48 */ lwz r23, 0x48(r1) +/* 802711E4 0026E144 83 01 00 4C */ lwz r24, 0x4c(r1) +/* 802711E8 0026E148 83 21 00 50 */ lwz r25, 0x50(r1) +/* 802711EC 0026E14C 83 41 00 54 */ lwz r26, 0x54(r1) +/* 802711F0 0026E150 83 61 00 58 */ lwz r27, 0x58(r1) +/* 802711F4 0026E154 83 81 00 5C */ lwz r28, 0x5c(r1) +/* 802711F8 0026E158 83 A1 00 60 */ lwz r29, 0x60(r1) +/* 802711FC 0026E15C 83 C1 00 64 */ lwz r30, 0x64(r1) +/* 80271200 0026E160 83 E1 00 68 */ lwz r31, 0x68(r1) +/* 80271204 0026E164 81 81 00 6C */ lwz r12, 0x6c(r1) +/* 80271208 0026E168 81 61 00 70 */ lwz r11, 0x70(r1) +/* 8027120C 0026E16C 81 41 00 74 */ lwz r10, 0x74(r1) +/* 80271210 0026E170 81 21 00 78 */ lwz r9, 0x78(r1) +/* 80271214 0026E174 81 01 00 7C */ lwz r8, 0x7c(r1) +/* 80271218 0026E178 80 E1 00 80 */ lwz r7, 0x80(r1) +/* 8027121C 0026E17C 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 80271220 0026E180 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 80271224 0026E184 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 80271228 0026E188 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8027122C 0026E18C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80271230 0026E190 92 30 00 00 */ stw r17, 0(r16) +/* 80271234 0026E194 92 50 00 04 */ stw r18, 4(r16) +/* 80271238 0026E198 92 70 00 08 */ stw r19, 8(r16) +/* 8027123C 0026E19C 92 90 00 0C */ stw r20, 0xc(r16) +/* 80271240 0026E1A0 92 B0 00 10 */ stw r21, 0x10(r16) +/* 80271244 0026E1A4 92 D0 00 14 */ stw r22, 0x14(r16) +/* 80271248 0026E1A8 92 F0 00 18 */ stw r23, 0x18(r16) +/* 8027124C 0026E1AC 93 10 00 1C */ stw r24, 0x1c(r16) +/* 80271250 0026E1B0 93 30 00 20 */ stw r25, 0x20(r16) +/* 80271254 0026E1B4 93 50 00 24 */ stw r26, 0x24(r16) +/* 80271258 0026E1B8 93 70 00 28 */ stw r27, 0x28(r16) +/* 8027125C 0026E1BC 93 90 00 2C */ stw r28, 0x2c(r16) +/* 80271260 0026E1C0 93 B0 00 30 */ stw r29, 0x30(r16) +/* 80271264 0026E1C4 93 D0 00 34 */ stw r30, 0x34(r16) +/* 80271268 0026E1C8 93 F0 00 38 */ stw r31, 0x38(r16) +/* 8027126C 0026E1CC 91 90 00 3C */ stw r12, 0x3c(r16) +/* 80271270 0026E1D0 91 70 00 40 */ stw r11, 0x40(r16) +/* 80271274 0026E1D4 91 50 00 44 */ stw r10, 0x44(r16) +/* 80271278 0026E1D8 91 30 00 48 */ stw r9, 0x48(r16) +/* 8027127C 0026E1DC 91 10 00 4C */ stw r8, 0x4c(r16) +/* 80271280 0026E1E0 90 F0 00 50 */ stw r7, 0x50(r16) +/* 80271284 0026E1E4 90 D0 00 54 */ stw r6, 0x54(r16) +/* 80271288 0026E1E8 90 B0 00 58 */ stw r5, 0x58(r16) +/* 8027128C 0026E1EC 90 90 00 5C */ stw r4, 0x5c(r16) +/* 80271290 0026E1F0 90 70 00 60 */ stw r3, 0x60(r16) +/* 80271294 0026E1F4 90 10 00 64 */ stw r0, 0x64(r16) +/* 80271298 0026E1F8 BA 01 00 A0 */ lmw r16, 0xa0(r1) +/* 8027129C 0026E1FC 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802712A0 0026E200 7C 08 03 A6 */ mtlr r0 +/* 802712A4 0026E204 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802712A8 0026E208 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s new file mode 100644 index 00000000..8fc3055a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.s @@ -0,0 +1,3996 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__20CMetroidPrimeEssenceFv +GetSearchPath__20CMetroidPrimeEssenceFv: +/* 8027CB38 00279A98 38 63 05 74 */ addi r3, r3, 0x574 +/* 8027CB3C 00279A9C 4E 80 00 20 */ blr + +.global sub_8027cb40 +sub_8027cb40: +/* 8027CB40 00279AA0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8027CB44 00279AA4 7C 08 02 A6 */ mflr r0 +/* 8027CB48 00279AA8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8027CB4C 00279AAC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027CB50 00279AB0 7C 9F 23 78 */ mr r31, r4 +/* 8027CB54 00279AB4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8027CB58 00279AB8 7C 7E 1B 78 */ mr r30, r3 +/* 8027CB5C 00279ABC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8027CB60 00279AC0 93 81 00 50 */ stw r28, 0x50(r1) +/* 8027CB64 00279AC4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8027CB68 00279AC8 38 84 00 04 */ addi r4, r4, 4 +/* 8027CB6C 00279ACC 4B F7 81 A1 */ bl GetStepDirection__10CPatternedFRC9CVector3f +/* 8027CB70 00279AD0 80 9E 04 50 */ lwz r4, 0x450(r30) +/* 8027CB74 00279AD4 7C 7C 1B 78 */ mr r28, r3 +/* 8027CB78 00279AD8 38 64 00 04 */ addi r3, r4, 4 +/* 8027CB7C 00279ADC 4B EB 49 2D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 8027CB80 00279AE0 2C 1C 00 00 */ cmpwi r28, 0 +/* 8027CB84 00279AE4 40 82 00 98 */ bne lbl_8027CC1C +/* 8027CB88 00279AE8 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 8027CB8C 00279AEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027CB90 00279AF0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8027CB94 00279AF4 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027CB98 00279AF8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 8027CB9C 00279AFC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027CBA0 00279B00 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8027CBA4 00279B04 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 8027CBA8 00279B08 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027CBAC 00279B0C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8027CBB0 00279B10 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027CBB4 00279B14 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 8027CBB8 00279B18 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8027CBBC 00279B1C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8027CBC0 00279B20 48 09 7C 91 */ bl AsNormalized__9CVector3fCFv +/* 8027CBC4 00279B24 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8027CBC8 00279B28 38 61 00 30 */ addi r3, r1, 0x30 +/* 8027CBCC 00279B2C C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8027CBD0 00279B30 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027CBD4 00279B34 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8027CBD8 00279B38 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8027CBDC 00279B3C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8027CBE0 00279B40 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8027CBE4 00279B44 48 09 7C 6D */ bl AsNormalized__9CVector3fCFv +/* 8027CBE8 00279B48 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8027CBEC 00279B4C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8027CBF0 00279B50 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8027CBF4 00279B54 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027CBF8 00279B58 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8027CBFC 00279B5C C0 81 00 38 */ lfs f4, 0x38(r1) +/* 8027CC00 00279B60 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8027CC04 00279B64 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8027CC08 00279B68 C0 02 BD 0C */ lfs f0, lbl_805ADA2C@sda21(r2) +/* 8027CC0C 00279B6C EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8027CC10 00279B70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CC14 00279B74 40 80 00 08 */ bge lbl_8027CC1C +/* 8027CC18 00279B78 3B 80 00 01 */ li r28, 1 +lbl_8027CC1C: +/* 8027CC1C 00279B7C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8027CC20 00279B80 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027CC24 00279B84 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8027CC28 00279B88 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 8027CC2C 00279B8C 90 01 00 08 */ stw r0, 8(r1) +/* 8027CC30 00279B90 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l +/* 8027CC34 00279B94 38 80 00 01 */ li r4, 1 +/* 8027CC38 00279B98 38 00 00 00 */ li r0, 0 +/* 8027CC3C 00279B9C 3B A3 00 04 */ addi r29, r3, 4 +/* 8027CC40 00279BA0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8027CC44 00279BA4 7F A3 EB 78 */ mr r3, r29 +/* 8027CC48 00279BA8 38 80 00 01 */ li r4, 1 +/* 8027CC4C 00279BAC 90 A1 00 08 */ stw r5, 8(r1) +/* 8027CC50 00279BB0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8027CC54 00279BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027CC58 00279BB8 4B EB 47 E1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8027CC5C 00279BBC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027CC60 00279BC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8027CC64 00279BC4 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8027CC68 00279BC8 7F 85 E3 78 */ mr r5, r28 +/* 8027CC6C 00279BCC 90 1D 00 C8 */ stw r0, 0xc8(r29) +/* 8027CC70 00279BD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027CC74 00279BD4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8027CC78 00279BD8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8027CC7C 00279BDC 90 BD 00 CC */ stw r5, 0xcc(r29) +/* 8027CC80 00279BE0 90 7D 00 D0 */ stw r3, 0xd0(r29) +/* 8027CC84 00279BE4 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8027CC88 00279BE8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027CC8C 00279BEC C0 9F 00 04 */ lfs f4, 4(r31) +/* 8027CC90 00279BF0 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8027CC94 00279BF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027CC98 00279BF8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8027CC9C 00279BFC C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8027CCA0 00279C00 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8027CCA4 00279C04 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027CCA8 00279C08 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8027CCAC 00279C0C 90 81 00 08 */ stw r4, 8(r1) +/* 8027CCB0 00279C10 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8027CCB4 00279C14 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8027CCB8 00279C18 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8027CCBC 00279C1C 90 01 00 08 */ stw r0, 8(r1) +/* 8027CCC0 00279C20 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027CCC4 00279C24 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8027CCC8 00279C28 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8027CCCC 00279C2C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027CCD0 00279C30 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8027CCD4 00279C34 7C 08 03 A6 */ mtlr r0 +/* 8027CCD8 00279C38 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027CCDC 00279C3C 4E 80 00 20 */ blr + +.global sub_8027cce0 +sub_8027cce0: +/* 8027CCE0 00279C40 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027CCE4 00279C44 7C 08 02 A6 */ mflr r0 +/* 8027CCE8 00279C48 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027CCEC 00279C4C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027CCF0 00279C50 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027CCF4 00279C54 7C 9E 23 78 */ mr r30, r4 +/* 8027CCF8 00279C58 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8027CCFC 00279C5C 7C 7D 1B 78 */ mr r29, r3 +/* 8027CD00 00279C60 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8027CD04 00279C64 38 61 00 0C */ addi r3, r1, 0xc +/* 8027CD08 00279C68 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027CD0C 00279C6C 48 06 C0 C9 */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8027CD10 00279C70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027CD14 00279C74 40 82 00 CC */ bne lbl_8027CDE0 +/* 8027CD18 00279C78 83 FD 00 04 */ lwz r31, 4(r29) +/* 8027CD1C 00279C7C 38 E0 00 00 */ li r7, 0 +/* 8027CD20 00279C80 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +/* 8027CD24 00279C84 39 00 00 01 */ li r8, 1 +/* 8027CD28 00279C88 C0 22 BD 14 */ lfs f1, lbl_805ADA34@sda21(r2) +/* 8027CD2C 00279C8C 38 C0 00 7F */ li r6, 0x7f +/* 8027CD30 00279C90 C0 02 BD 18 */ lfs f0, lbl_805ADA38@sda21(r2) +/* 8027CD34 00279C94 38 A0 00 14 */ li r5, 0x14 +/* 8027CD38 00279C98 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 8027CD3C 00279C9C 7F A3 EB 78 */ mr r3, r29 +/* 8027CD40 00279CA0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027CD44 00279CA4 7F C4 F3 78 */ mr r4, r30 +/* 8027CD48 00279CA8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8027CD4C 00279CAC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027CD50 00279CB0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027CD54 00279CB4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8027CD58 00279CB8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8027CD5C 00279CBC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8027CD60 00279CC0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027CD64 00279CC4 91 01 00 30 */ stw r8, 0x30(r1) +/* 8027CD68 00279CC8 B0 E1 00 34 */ sth r7, 0x34(r1) +/* 8027CD6C 00279CCC 98 C1 00 36 */ stb r6, 0x36(r1) +/* 8027CD70 00279CD0 98 A1 00 37 */ stb r5, 0x37(r1) +/* 8027CD74 00279CD4 98 E1 00 38 */ stb r7, 0x38(r1) +/* 8027CD78 00279CD8 98 01 00 39 */ stb r0, 0x39(r1) +/* 8027CD7C 00279CDC 48 00 00 81 */ bl sub_8027cdfc +/* 8027CD80 00279CE0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027CD84 00279CE4 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8027CD88 00279CE8 C0 A3 00 2C */ lfs f5, 0x2c(r3) +/* 8027CD8C 00279CEC 38 00 0B 67 */ li r0, 0xb67 +/* 8027CD90 00279CF0 C0 83 00 1C */ lfs f4, 0x1c(r3) +/* 8027CD94 00279CF4 7F E8 FB 78 */ mr r8, r31 +/* 8027CD98 00279CF8 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 8027CD9C 00279CFC 38 61 00 08 */ addi r3, r1, 8 +/* 8027CDA0 00279D00 C0 24 00 04 */ lfs f1, 4(r4) +/* 8027CDA4 00279D04 38 A0 00 01 */ li r5, 1 +/* 8027CDA8 00279D08 C0 04 00 08 */ lfs f0, 8(r4) +/* 8027CDAC 00279D0C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027CDB0 00279D10 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8027CDB4 00279D14 38 E0 00 00 */ li r7, 0 +/* 8027CDB8 00279D18 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 8027CDBC 00279D1C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8027CDC0 00279D20 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8027CDC4 00279D24 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027CDC8 00279D28 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8027CDCC 00279D2C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8027CDD0 00279D30 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8027CDD4 00279D34 48 06 D2 0D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8027CDD8 00279D38 80 01 00 08 */ lwz r0, 8(r1) +/* 8027CDDC 00279D3C 90 1D 07 08 */ stw r0, 0x708(r29) +lbl_8027CDE0: +/* 8027CDE0 00279D40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027CDE4 00279D44 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027CDE8 00279D48 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027CDEC 00279D4C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027CDF0 00279D50 7C 08 03 A6 */ mtlr r0 +/* 8027CDF4 00279D54 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027CDF8 00279D58 4E 80 00 20 */ blr + +.global sub_8027cdfc +sub_8027cdfc: +/* 8027CDFC 00279D5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027CE00 00279D60 7C 08 02 A6 */ mflr r0 +/* 8027CE04 00279D64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027CE08 00279D68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027CE0C 00279D6C 7C 7F 1B 78 */ mr r31, r3 +/* 8027CE10 00279D70 A0 03 07 06 */ lhz r0, 0x706(r3) +/* 8027CE14 00279D74 7C 83 23 78 */ mr r3, r4 +/* 8027CE18 00279D78 38 81 00 08 */ addi r4, r1, 8 +/* 8027CE1C 00279D7C B0 01 00 08 */ sth r0, 8(r1) +/* 8027CE20 00279D80 4B DC F7 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027CE24 00279D84 7C 64 1B 78 */ mr r4, r3 +/* 8027CE28 00279D88 38 61 00 0C */ addi r3, r1, 0xc +/* 8027CE2C 00279D8C 4B E3 25 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027CE30 00279D90 80 63 00 04 */ lwz r3, 4(r3) +/* 8027CE34 00279D94 28 03 00 00 */ cmplwi r3, 0 +/* 8027CE38 00279D98 41 82 00 0C */ beq lbl_8027CE44 +/* 8027CE3C 00279D9C 38 63 00 34 */ addi r3, r3, 0x34 +/* 8027CE40 00279DA0 48 00 00 08 */ b lbl_8027CE48 +lbl_8027CE44: +/* 8027CE44 00279DA4 38 7F 00 34 */ addi r3, r31, 0x34 +lbl_8027CE48: +/* 8027CE48 00279DA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027CE4C 00279DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027CE50 00279DB0 7C 08 03 A6 */ mtlr r0 +/* 8027CE54 00279DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027CE58 00279DB8 4E 80 00 20 */ blr + +.global sub_8027ce5c +sub_8027ce5c: +/* 8027CE5C 00279DBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027CE60 00279DC0 7C 08 02 A6 */ mflr r0 +/* 8027CE64 00279DC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027CE68 00279DC8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8027CE6C 00279DCC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8027CE70 00279DD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027CE74 00279DD4 7C 7F 1B 78 */ mr r31, r3 +/* 8027CE78 00279DD8 FF E0 08 90 */ fmr f31, f1 +/* 8027CE7C 00279DDC 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027CE80 00279DE0 4B E9 7D C9 */ bl GetNumMaterialSets__10CModelDataCFv +/* 8027CE84 00279DE4 38 63 FF FE */ addi r3, r3, -2 +/* 8027CE88 00279DE8 3C 00 43 30 */ lis r0, 0x4330 +/* 8027CE8C 00279DEC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027CE90 00279DF0 90 01 00 08 */ stw r0, 8(r1) +/* 8027CE94 00279DF4 C8 22 BD 20 */ lfd f1, lbl_805ADA40@sda21(r2) +/* 8027CE98 00279DF8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8027CE9C 00279DFC 80 1F 06 FC */ lwz r0, 0x6fc(r31) +/* 8027CEA0 00279E00 C8 01 00 08 */ lfd f0, 8(r1) +/* 8027CEA4 00279E04 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027CEA8 00279E08 EC 00 07 FC */ fnmsubs f0, f0, f31, f0 +/* 8027CEAC 00279E0C FC 00 00 1E */ fctiwz f0, f0 +/* 8027CEB0 00279E10 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 8027CEB4 00279E14 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8027CEB8 00279E18 7C 00 18 00 */ cmpw r0, r3 +/* 8027CEBC 00279E1C 41 82 00 08 */ beq lbl_8027CEC4 +/* 8027CEC0 00279E20 90 7F 06 FC */ stw r3, 0x6fc(r31) +lbl_8027CEC4: +/* 8027CEC4 00279E24 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8027CEC8 00279E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027CECC 00279E2C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8027CED0 00279E30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027CED4 00279E34 7C 08 03 A6 */ mtlr r0 +/* 8027CED8 00279E38 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027CEDC 00279E3C 4E 80 00 20 */ blr + +.global sub_8027cee0 +sub_8027cee0: +/* 8027CEE0 00279E40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027CEE4 00279E44 7C 08 02 A6 */ mflr r0 +/* 8027CEE8 00279E48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027CEEC 00279E4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027CEF0 00279E50 7C 9F 23 78 */ mr r31, r4 +/* 8027CEF4 00279E54 93 C1 00 08 */ stw r30, 8(r1) +/* 8027CEF8 00279E58 7C 7E 1B 78 */ mr r30, r3 +/* 8027CEFC 00279E5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027CF00 00279E60 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027CF04 00279E64 7D 89 03 A6 */ mtctr r12 +/* 8027CF08 00279E68 4E 80 04 21 */ bctrl +/* 8027CF0C 00279E6C C0 5E 06 C4 */ lfs f2, 0x6c4(r30) +/* 8027CF10 00279E70 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027CF14 00279E74 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027CF18 00279E78 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8027CF1C 00279E7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF20 00279E80 4C 41 13 82 */ cror 2, 1, 2 +/* 8027CF24 00279E84 40 82 00 98 */ bne lbl_8027CFBC +/* 8027CF28 00279E88 80 1E 06 D8 */ lwz r0, 0x6d8(r30) +/* 8027CF2C 00279E8C 38 60 00 00 */ li r3, 0 +/* 8027CF30 00279E90 2C 00 00 01 */ cmpwi r0, 1 +/* 8027CF34 00279E94 41 82 00 38 */ beq lbl_8027CF6C +/* 8027CF38 00279E98 40 80 00 10 */ bge lbl_8027CF48 +/* 8027CF3C 00279E9C 2C 00 00 00 */ cmpwi r0, 0 +/* 8027CF40 00279EA0 40 80 00 14 */ bge lbl_8027CF54 +/* 8027CF44 00279EA4 48 00 00 5C */ b lbl_8027CFA0 +lbl_8027CF48: +/* 8027CF48 00279EA8 2C 00 00 03 */ cmpwi r0, 3 +/* 8027CF4C 00279EAC 40 80 00 54 */ bge lbl_8027CFA0 +/* 8027CF50 00279EB0 48 00 00 38 */ b lbl_8027CF88 +lbl_8027CF54: +/* 8027CF54 00279EB4 C0 02 BD 28 */ lfs f0, lbl_805ADA48@sda21(r2) +/* 8027CF58 00279EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF5C 00279EBC 40 80 00 44 */ bge lbl_8027CFA0 +/* 8027CF60 00279EC0 38 00 00 01 */ li r0, 1 +/* 8027CF64 00279EC4 90 1E 06 D8 */ stw r0, 0x6d8(r30) +/* 8027CF68 00279EC8 48 00 00 38 */ b lbl_8027CFA0 +lbl_8027CF6C: +/* 8027CF6C 00279ECC C0 02 BD 2C */ lfs f0, lbl_805ADA4C@sda21(r2) +/* 8027CF70 00279ED0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF74 00279ED4 40 80 00 2C */ bge lbl_8027CFA0 +/* 8027CF78 00279ED8 38 00 00 02 */ li r0, 2 +/* 8027CF7C 00279EDC 38 60 00 01 */ li r3, 1 +/* 8027CF80 00279EE0 90 1E 06 D8 */ stw r0, 0x6d8(r30) +/* 8027CF84 00279EE4 48 00 00 1C */ b lbl_8027CFA0 +lbl_8027CF88: +/* 8027CF88 00279EE8 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) +/* 8027CF8C 00279EEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027CF90 00279EF0 40 80 00 10 */ bge lbl_8027CFA0 +/* 8027CF94 00279EF4 38 00 00 03 */ li r0, 3 +/* 8027CF98 00279EF8 38 60 00 01 */ li r3, 1 +/* 8027CF9C 00279EFC 90 1E 06 D8 */ stw r0, 0x6d8(r30) +lbl_8027CFA0: +/* 8027CFA0 00279F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027CFA4 00279F04 41 82 00 18 */ beq lbl_8027CFBC +/* 8027CFA8 00279F08 7F C3 F3 78 */ mr r3, r30 +/* 8027CFAC 00279F0C 7F E5 FB 78 */ mr r5, r31 +/* 8027CFB0 00279F10 38 80 00 11 */ li r4, 0x11 +/* 8027CFB4 00279F14 38 C0 FF FF */ li r6, -1 +/* 8027CFB8 00279F18 4B DD 41 09 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8027CFBC: +/* 8027CFBC 00279F1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027CFC0 00279F20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027CFC4 00279F24 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027CFC8 00279F28 7C 08 03 A6 */ mtlr r0 +/* 8027CFCC 00279F2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027CFD0 00279F30 4E 80 00 20 */ blr + +.global sub_8027cfd4 +sub_8027cfd4: +/* 8027CFD4 00279F34 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8027CFD8 00279F38 7C 08 02 A6 */ mflr r0 +/* 8027CFDC 00279F3C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8027CFE0 00279F40 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 8027CFE4 00279F44 7C 9D 23 78 */ mr r29, r4 +/* 8027CFE8 00279F48 7C B8 2B 78 */ mr r24, r5 +/* 8027CFEC 00279F4C 4B FF FE 11 */ bl sub_8027cdfc +/* 8027CFF0 00279F50 7C 7A 1B 78 */ mr r26, r3 +/* 8027CFF4 00279F54 57 00 06 3E */ clrlwi r0, r24, 0x18 +/* 8027CFF8 00279F58 C0 43 00 24 */ lfs f2, 0x24(r3) +/* 8027CFFC 00279F5C 7C 00 00 34 */ cntlzw r0, r0 +/* 8027D000 00279F60 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8027D004 00279F64 54 1F D9 7E */ srwi r31, r0, 5 +/* 8027D008 00279F68 C0 03 00 04 */ lfs f0, 4(r3) +/* 8027D00C 00279F6C FC 40 10 50 */ fneg f2, f2 +/* 8027D010 00279F70 FC 20 08 50 */ fneg f1, f1 +/* 8027D014 00279F74 3B 60 00 01 */ li r27, 1 +/* 8027D018 00279F78 FC 00 00 50 */ fneg f0, f0 +/* 8027D01C 00279F7C 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8027D020 00279F80 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8027D024 00279F84 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 8027D028 00279F88 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8027D02C 00279F8C 3B 21 00 48 */ addi r25, r1, 0x48 +/* 8027D030 00279F90 7F F8 FB 78 */ mr r24, r31 +/* 8027D034 00279F94 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8027D038 00279F98 7F 7E F8 30 */ slw r30, r27, r31 +/* 8027D03C 00279F9C 7F 39 02 14 */ add r25, r25, r0 +/* 8027D040 00279FA0 3B 83 FD 18 */ addi r28, r3, lbl_8059FD18@l +/* 8027D044 00279FA4 C0 7A 00 20 */ lfs f3, 0x20(r26) +/* 8027D048 00279FA8 C0 5A 00 10 */ lfs f2, 0x10(r26) +/* 8027D04C 00279FAC C0 3A 00 00 */ lfs f1, 0(r26) +/* 8027D050 00279FB0 FC A0 18 50 */ fneg f5, f3 +/* 8027D054 00279FB4 FC 80 10 50 */ fneg f4, f2 +/* 8027D058 00279FB8 FC 00 08 50 */ fneg f0, f1 +/* 8027D05C 00279FBC D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8027D060 00279FC0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8027D064 00279FC4 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8027D068 00279FC8 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8027D06C 00279FCC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8027D070 00279FD0 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8027D074 00279FD4 48 00 00 54 */ b lbl_8027D0C8 +lbl_8027D078: +/* 8027D078 00279FD8 C0 7A 00 2C */ lfs f3, 0x2c(r26) +/* 8027D07C 00279FDC 7F A4 EB 78 */ mr r4, r29 +/* 8027D080 00279FE0 C0 5A 00 1C */ lfs f2, 0x1c(r26) +/* 8027D084 00279FE4 7F 26 CB 78 */ mr r6, r25 +/* 8027D088 00279FE8 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 8027D08C 00279FEC 7F 87 E3 78 */ mr r7, r28 +/* 8027D090 00279FF0 C0 22 BD 34 */ lfs f1, lbl_805ADA54@sda21(r2) +/* 8027D094 00279FF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D098 00279FF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8027D09C 00279FFC 38 A1 00 08 */ addi r5, r1, 8 +/* 8027D0A0 0027A000 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8027D0A4 0027A004 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8027D0A8 0027A008 4B DC FE F1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027D0AC 0027A00C 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8027D0B0 0027A010 28 00 00 00 */ cmplwi r0, 0 +/* 8027D0B4 0027A014 40 82 00 0C */ bne lbl_8027D0C0 +/* 8027D0B8 0027A018 7F 60 C0 30 */ slw r0, r27, r24 +/* 8027D0BC 0027A01C 7F DE 03 78 */ or r30, r30, r0 +lbl_8027D0C0: +/* 8027D0C0 0027A020 3B 39 00 0C */ addi r25, r25, 0xc +/* 8027D0C4 0027A024 3B 18 00 01 */ addi r24, r24, 1 +lbl_8027D0C8: +/* 8027D0C8 0027A028 2C 18 00 03 */ cmpwi r24, 3 +/* 8027D0CC 0027A02C 41 80 FF AC */ blt lbl_8027D078 +/* 8027D0D0 0027A030 2C 1E 00 07 */ cmpwi r30, 7 +/* 8027D0D4 0027A034 38 60 00 00 */ li r3, 0 +/* 8027D0D8 0027A038 41 81 00 F8 */ bgt lbl_8027D1D0 +/* 8027D0DC 0027A03C 3C 80 AA AB */ lis r4, 0xAAAAAAAA@ha +/* 8027D0E0 0027A040 3C C0 55 55 */ lis r6, 0x55555555@ha +/* 8027D0E4 0027A044 38 04 AA AA */ addi r0, r4, 0xAAAAAAAA@l +/* 8027D0E8 0027A048 3C A0 CC CD */ lis r5, 0xCCCCCCCC@ha +/* 8027D0EC 0027A04C 39 06 55 55 */ addi r8, r6, 0x55555555@l +/* 8027D0F0 0027A050 3C C0 33 33 */ lis r6, 0x33333333@ha +/* 8027D0F4 0027A054 7F C7 00 38 */ and r7, r30, r0 +/* 8027D0F8 0027A058 38 05 CC CC */ addi r0, r5, 0xCCCCCCCC@l +/* 8027D0FC 0027A05C 54 E5 F8 7E */ srwi r5, r7, 1 +/* 8027D100 0027A060 7F C8 40 38 */ and r8, r30, r8 +/* 8027D104 0027A064 7D 08 2A 14 */ add r8, r8, r5 +/* 8027D108 0027A068 38 E6 33 33 */ addi r7, r6, 0x33333333@l +/* 8027D10C 0027A06C 7D 06 00 38 */ and r6, r8, r0 +/* 8027D110 0027A070 3C 80 F0 F1 */ lis r4, 0xF0F0F0F0@ha +/* 8027D114 0027A074 38 04 F0 F0 */ addi r0, r4, 0xF0F0F0F0@l +/* 8027D118 0027A078 3C A0 0F 0F */ lis r5, 0x0F0F0F0F@ha +/* 8027D11C 0027A07C 7D 08 38 38 */ and r8, r8, r7 +/* 8027D120 0027A080 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha +/* 8027D124 0027A084 38 E5 0F 0F */ addi r7, r5, 0x0F0F0F0F@l +/* 8027D128 0027A088 54 C5 F0 BE */ srwi r5, r6, 2 +/* 8027D12C 0027A08C 7D 08 2A 14 */ add r8, r8, r5 +/* 8027D130 0027A090 7D 06 00 38 */ and r6, r8, r0 +/* 8027D134 0027A094 3C A0 00 FF */ lis r5, 0x00FF00FF@ha +/* 8027D138 0027A098 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l +/* 8027D13C 0027A09C 7D 07 38 38 */ and r7, r8, r7 +/* 8027D140 0027A0A0 38 85 00 FF */ addi r4, r5, 0x00FF00FF@l +/* 8027D144 0027A0A4 54 C5 E1 3E */ srwi r5, r6, 4 +/* 8027D148 0027A0A8 7C A7 2A 14 */ add r5, r7, r5 +/* 8027D14C 0027A0AC 7C A0 00 38 */ and r0, r5, r0 +/* 8027D150 0027A0B0 7C A4 20 38 */ and r4, r5, r4 +/* 8027D154 0027A0B4 54 00 C2 3E */ srwi r0, r0, 8 +/* 8027D158 0027A0B8 7C 04 02 14 */ add r0, r4, r0 +/* 8027D15C 0027A0BC 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 8027D160 0027A0C0 54 00 84 3E */ srwi r0, r0, 0x10 +/* 8027D164 0027A0C4 7C 04 02 14 */ add r0, r4, r0 +/* 8027D168 0027A0C8 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D16C 0027A0CC 41 82 00 28 */ beq lbl_8027D194 +/* 8027D170 0027A0D0 40 80 00 10 */ bge lbl_8027D180 +/* 8027D174 0027A0D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8027D178 0027A0D8 40 80 00 14 */ bge lbl_8027D18C +/* 8027D17C 0027A0DC 48 00 00 54 */ b lbl_8027D1D0 +lbl_8027D180: +/* 8027D180 0027A0E0 2C 00 00 04 */ cmpwi r0, 4 +/* 8027D184 0027A0E4 40 80 00 4C */ bge lbl_8027D1D0 +/* 8027D188 0027A0E8 48 00 00 38 */ b lbl_8027D1C0 +lbl_8027D18C: +/* 8027D18C 0027A0EC 7F C3 0E 70 */ srawi r3, r30, 1 +/* 8027D190 0027A0F0 48 00 00 40 */ b lbl_8027D1D0 +lbl_8027D194: +/* 8027D194 0027A0F4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027D198 0027A0F8 48 09 53 89 */ bl Next__9CRandom16Fv +/* 8027D19C 0027A0FC 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8027D1A0 0027A100 41 82 00 14 */ beq lbl_8027D1B4 +/* 8027D1A4 0027A104 57 C3 F7 FE */ rlwinm r3, r30, 0x1e, 0x1f, 0x1f +/* 8027D1A8 0027A108 38 03 00 01 */ addi r0, r3, 1 +/* 8027D1AC 0027A10C 7C 03 03 78 */ mr r3, r0 +/* 8027D1B0 0027A110 48 00 00 20 */ b lbl_8027D1D0 +lbl_8027D1B4: +/* 8027D1B4 0027A114 57 C0 07 FE */ clrlwi r0, r30, 0x1f +/* 8027D1B8 0027A118 68 03 00 01 */ xori r3, r0, 1 +/* 8027D1BC 0027A11C 48 00 00 14 */ b lbl_8027D1D0 +lbl_8027D1C0: +/* 8027D1C0 0027A120 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027D1C4 0027A124 7F E4 FB 78 */ mr r4, r31 +/* 8027D1C8 0027A128 38 A0 00 02 */ li r5, 2 +/* 8027D1CC 0027A12C 48 09 53 C9 */ bl Range__9CRandom16Fii +lbl_8027D1D0: +/* 8027D1D0 0027A130 3C 80 80 3D */ lis r4, lbl_803D5890@ha +/* 8027D1D4 0027A134 54 60 10 3A */ slwi r0, r3, 2 +/* 8027D1D8 0027A138 38 64 58 90 */ addi r3, r4, lbl_803D5890@l +/* 8027D1DC 0027A13C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8027D1E0 0027A140 BB 01 00 70 */ lmw r24, 0x70(r1) +/* 8027D1E4 0027A144 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8027D1E8 0027A148 7C 08 03 A6 */ mtlr r0 +/* 8027D1EC 0027A14C 38 21 00 90 */ addi r1, r1, 0x90 +/* 8027D1F0 0027A150 4E 80 00 20 */ blr + +.global sub_8027d1f4 +sub_8027d1f4: +/* 8027D1F4 0027A154 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8027D1F8 0027A158 7C 08 02 A6 */ mflr r0 +/* 8027D1FC 0027A15C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027D200 0027A160 38 C0 00 01 */ li r6, 1 +/* 8027D204 0027A164 90 01 00 84 */ stw r0, 0x84(r1) +/* 8027D208 0027A168 38 A0 00 00 */ li r5, 0 +/* 8027D20C 0027A16C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8027D210 0027A170 7C 7E 1B 78 */ mr r30, r3 +/* 8027D214 0027A174 3C 60 80 3D */ lis r3, lbl_803D5880@ha +/* 8027D218 0027A178 7C 9F 23 78 */ mr r31, r4 +/* 8027D21C 0027A17C 38 63 58 80 */ addi r3, r3, lbl_803D5880@l +/* 8027D220 0027A180 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 8027D224 0027A184 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027D228 0027A188 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D22C 0027A18C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8027D230 0027A190 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D234 0027A194 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D238 0027A198 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8027D23C 0027A19C 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D240 0027A1A0 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) +/* 8027D244 0027A1A4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027D248 0027A1A8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8027D24C 0027A1AC 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027D250 0027A1B0 80 84 08 B8 */ lwz r4, 0x8b8(r4) +/* 8027D254 0027A1B4 80 BE 06 DC */ lwz r5, 0x6dc(r30) +/* 8027D258 0027A1B8 80 84 00 00 */ lwz r4, 0(r4) +/* 8027D25C 0027A1BC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8027D260 0027A1C0 54 00 10 3A */ slwi r0, r0, 2 +/* 8027D264 0027A1C4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8027D268 0027A1C8 7C 03 28 50 */ subf r0, r3, r5 +/* 8027D26C 0027A1CC 7C 03 28 00 */ cmpw r3, r5 +/* 8027D270 0027A1D0 7C 00 00 34 */ cntlzw r0, r0 +/* 8027D274 0027A1D4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027D278 0027A1D8 3B 83 0B 7D */ addi r28, r3, 0xb7d +/* 8027D27C 0027A1DC 40 82 01 30 */ bne lbl_8027D3AC +/* 8027D280 0027A1E0 3C 60 80 3D */ lis r3, lbl_803D589C@ha +/* 8027D284 0027A1E4 3B 60 00 00 */ li r27, 0 +/* 8027D288 0027A1E8 38 83 58 9C */ addi r4, r3, lbl_803D589C@l +/* 8027D28C 0027A1EC 38 60 03 40 */ li r3, 0x340 +/* 8027D290 0027A1F0 38 84 00 1D */ addi r4, r4, 0x1d +/* 8027D294 0027A1F4 38 A0 00 00 */ li r5, 0 +/* 8027D298 0027A1F8 48 09 85 D5 */ bl __nw__FUlPCcPCc +/* 8027D29C 0027A1FC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8027D2A0 0027A200 41 82 00 2C */ beq lbl_8027D2CC +/* 8027D2A4 0027A204 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D2A8 0027A208 38 9E 05 68 */ addi r4, r30, 0x568 +/* 8027D2AC 0027A20C 48 0C 3B FD */ bl __ct__6CTokenFRC6CToken +/* 8027D2B0 0027A210 7F A3 EB 78 */ mr r3, r29 +/* 8027D2B4 0027A214 38 81 00 0C */ addi r4, r1, 0xc +/* 8027D2B8 0027A218 3B 60 00 01 */ li r27, 1 +/* 8027D2BC 0027A21C 38 A0 00 00 */ li r5, 0 +/* 8027D2C0 0027A220 38 C0 00 01 */ li r6, 1 +/* 8027D2C4 0027A224 48 0A 21 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027D2C8 0027A228 7C 7D 1B 78 */ mr r29, r3 +lbl_8027D2CC: +/* 8027D2CC 0027A22C 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D2D0 0027A230 28 03 00 00 */ cmplwi r3, 0 +/* 8027D2D4 0027A234 41 82 00 18 */ beq lbl_8027D2EC +/* 8027D2D8 0027A238 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D2DC 0027A23C 38 80 00 01 */ li r4, 1 +/* 8027D2E0 0027A240 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027D2E4 0027A244 7D 89 03 A6 */ mtctr r12 +/* 8027D2E8 0027A248 4E 80 04 21 */ bctrl +lbl_8027D2EC: +/* 8027D2EC 0027A24C 7F 60 07 75 */ extsb. r0, r27 +/* 8027D2F0 0027A250 93 BE 06 5C */ stw r29, 0x65c(r30) +/* 8027D2F4 0027A254 41 82 00 10 */ beq lbl_8027D304 +/* 8027D2F8 0027A258 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D2FC 0027A25C 38 80 00 00 */ li r4, 0 +/* 8027D300 0027A260 48 0C 3B 41 */ bl __dt__6CTokenFv +lbl_8027D304: +/* 8027D304 0027A264 80 1E 06 5C */ lwz r0, 0x65c(r30) +/* 8027D308 0027A268 28 00 00 00 */ cmplwi r0, 0 +/* 8027D30C 0027A26C 41 82 00 A0 */ beq lbl_8027D3AC +/* 8027D310 0027A270 7F C3 F3 78 */ mr r3, r30 +/* 8027D314 0027A274 7F E4 FB 78 */ mr r4, r31 +/* 8027D318 0027A278 4B FF FA E5 */ bl sub_8027cdfc +/* 8027D31C 0027A27C 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 8027D320 0027A280 7C 7F 1B 78 */ mr r31, r3 +/* 8027D324 0027A284 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027D328 0027A288 C0 05 00 00 */ lfs f0, 0(r5) +/* 8027D32C 0027A28C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027D330 0027A290 C0 05 00 04 */ lfs f0, 4(r5) +/* 8027D334 0027A294 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8027D338 0027A298 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027D33C 0027A29C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8027D340 0027A2A0 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D344 0027A2A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D348 0027A2A8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8027D34C 0027A2AC 7D 89 03 A6 */ mtctr r12 +/* 8027D350 0027A2B0 4E 80 04 21 */ bctrl +/* 8027D354 0027A2B4 83 BE 06 5C */ lwz r29, 0x65c(r30) +/* 8027D358 0027A2B8 7F E4 FB 78 */ mr r4, r31 +/* 8027D35C 0027A2BC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027D360 0027A2C0 48 09 58 E1 */ bl GetRotation__12CTransform4fCFv +/* 8027D364 0027A2C4 7F A3 EB 78 */ mr r3, r29 +/* 8027D368 0027A2C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8027D36C 0027A2CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027D370 0027A2D0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027D374 0027A2D4 7D 89 03 A6 */ mtctr r12 +/* 8027D378 0027A2D8 4E 80 04 21 */ bctrl +/* 8027D37C 0027A2DC C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 8027D380 0027A2E0 38 81 00 20 */ addi r4, r1, 0x20 +/* 8027D384 0027A2E4 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8027D388 0027A2E8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8027D38C 0027A2EC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8027D390 0027A2F0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8027D394 0027A2F4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8027D398 0027A2F8 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027D39C 0027A2FC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027D3A0 0027A300 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8027D3A4 0027A304 7D 89 03 A6 */ mtctr r12 +/* 8027D3A8 0027A308 4E 80 04 21 */ bctrl +lbl_8027D3AC: +/* 8027D3AC 0027A30C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027D3B0 0027A310 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027D3B4 0027A314 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027D3B8 0027A318 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8027D3BC 0027A31C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027D3C0 0027A320 7F 84 E3 78 */ mr r4, r28 +/* 8027D3C4 0027A324 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8027D3C8 0027A328 38 61 00 08 */ addi r3, r1, 8 +/* 8027D3CC 0027A32C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027D3D0 0027A330 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027D3D4 0027A334 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8027D3D8 0027A338 38 E0 00 01 */ li r7, 1 +/* 8027D3DC 0027A33C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8027D3E0 0027A340 39 00 00 00 */ li r8, 0 +/* 8027D3E4 0027A344 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027D3E8 0027A348 48 06 CE C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 8027D3EC 0027A34C 80 1E 06 DC */ lwz r0, 0x6dc(r30) +/* 8027D3F0 0027A350 90 1E 06 E0 */ stw r0, 0x6e0(r30) +/* 8027D3F4 0027A354 80 7E 06 DC */ lwz r3, 0x6dc(r30) +/* 8027D3F8 0027A358 38 03 00 01 */ addi r0, r3, 1 +/* 8027D3FC 0027A35C 90 1E 06 DC */ stw r0, 0x6dc(r30) +/* 8027D400 0027A360 80 1E 06 DC */ lwz r0, 0x6dc(r30) +/* 8027D404 0027A364 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D408 0027A368 40 81 00 0C */ ble lbl_8027D414 +/* 8027D40C 0027A36C 38 00 00 00 */ li r0, 0 +/* 8027D410 0027A370 90 1E 06 DC */ stw r0, 0x6dc(r30) +lbl_8027D414: +/* 8027D414 0027A374 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8027D418 0027A378 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8027D41C 0027A37C 7C 08 03 A6 */ mtlr r0 +/* 8027D420 0027A380 38 21 00 80 */ addi r1, r1, 0x80 +/* 8027D424 0027A384 4E 80 00 20 */ blr + +.global sub_8027d428 +sub_8027d428: +/* 8027D428 0027A388 38 60 00 02 */ li r3, 2 +/* 8027D42C 0027A38C 4E 80 00 20 */ blr + +.global sub_8027d430 +sub_8027d430: +/* 8027D430 0027A390 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8027D434 0027A394 7C 08 02 A6 */ mflr r0 +/* 8027D438 0027A398 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8027D43C 0027A39C 93 E1 00 EC */ stw r31, 0xec(r1) +/* 8027D440 0027A3A0 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 8027D444 0027A3A4 7C 9E 23 78 */ mr r30, r4 +/* 8027D448 0027A3A8 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8027D44C 0027A3AC C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8027D450 0027A3B0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8027D454 0027A3B4 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 8027D458 0027A3B8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8027D45C 0027A3BC EC 84 00 28 */ fsubs f4, f4, f0 +/* 8027D460 0027A3C0 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8027D464 0027A3C4 38 61 00 08 */ addi r3, r1, 8 +/* 8027D468 0027A3C8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8027D46C 0027A3CC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8027D470 0027A3D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8027D474 0027A3D4 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8027D478 0027A3D8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027D47C 0027A3DC D0 01 00 08 */ stfs f0, 8(r1) +/* 8027D480 0027A3E0 48 09 74 39 */ bl Magnitude__9CVector3fCFv +/* 8027D484 0027A3E4 C0 62 BD 40 */ lfs f3, lbl_805ADA60@sda21(r2) +/* 8027D488 0027A3E8 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027D48C 0027A3EC C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027D490 0027A3F0 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 +/* 8027D494 0027A3F4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8027D498 0027A3F8 40 81 00 7C */ ble lbl_8027D514 +/* 8027D49C 0027A3FC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 8027D4A0 0027A400 2C 00 00 02 */ cmpwi r0, 2 +/* 8027D4A4 0027A404 40 82 00 0C */ bne lbl_8027D4B0 +/* 8027D4A8 0027A408 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8027D4AC 0027A40C 48 00 00 08 */ b lbl_8027D4B4 +lbl_8027D4B0: +/* 8027D4B0 0027A410 38 00 00 04 */ li r0, 4 +lbl_8027D4B4: +/* 8027D4B4 0027A414 2C 00 00 01 */ cmpwi r0, 1 +/* 8027D4B8 0027A418 41 82 00 5C */ beq lbl_8027D514 +/* 8027D4BC 0027A41C C0 22 BD 2C */ lfs f1, lbl_805ADA4C@sda21(r2) +/* 8027D4C0 0027A420 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027D4C4 0027A424 4B EE 03 6D */ bl __ct__16CCameraShakeDataFff +/* 8027D4C8 0027A428 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027D4CC 0027A42C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027D4D0 0027A430 38 A0 00 01 */ li r5, 1 +/* 8027D4D4 0027A434 4B D8 D5 4D */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 8027D4D8 0027A438 34 81 00 94 */ addic. r4, r1, 0x94 +/* 8027D4DC 0027A43C 41 82 00 10 */ beq lbl_8027D4EC +/* 8027D4E0 0027A440 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D4E4 0027A444 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D4E8 0027A448 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D4EC: +/* 8027D4EC 0027A44C 34 81 00 58 */ addic. r4, r1, 0x58 +/* 8027D4F0 0027A450 41 82 00 10 */ beq lbl_8027D500 +/* 8027D4F4 0027A454 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D4F8 0027A458 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D4FC 0027A45C 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D500: +/* 8027D500 0027A460 34 81 00 1C */ addic. r4, r1, 0x1c +/* 8027D504 0027A464 41 82 00 10 */ beq lbl_8027D514 +/* 8027D508 0027A468 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027D50C 0027A46C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027D510 0027A470 90 04 00 00 */ stw r0, 0(r4) +lbl_8027D514: +/* 8027D514 0027A474 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8027D518 0027A478 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 8027D51C 0027A47C 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 8027D520 0027A480 7C 08 03 A6 */ mtlr r0 +/* 8027D524 0027A484 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8027D528 0027A488 4E 80 00 20 */ blr + +.global sub_8027d52c +sub_8027d52c: +/* 8027D52C 0027A48C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8027D530 0027A490 7C 08 02 A6 */ mflr r0 +/* 8027D534 0027A494 90 01 01 14 */ stw r0, 0x114(r1) +/* 8027D538 0027A498 BF 21 00 F4 */ stmw r25, 0xf4(r1) +/* 8027D53C 0027A49C 7C 7B 1B 78 */ mr r27, r3 +/* 8027D540 0027A4A0 7C 9D 23 78 */ mr r29, r4 +/* 8027D544 0027A4A4 7C BE 2B 78 */ mr r30, r5 +/* 8027D548 0027A4A8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8027D54C 0027A4AC 7F 64 DB 78 */ mr r4, r27 +/* 8027D550 0027A4B0 7F A5 EB 78 */ mr r5, r29 +/* 8027D554 0027A4B4 48 00 01 B1 */ bl sub_8027d704 +/* 8027D558 0027A4B8 88 81 00 B0 */ lbz r4, 0xb0(r1) +/* 8027D55C 0027A4BC 3B E1 00 C4 */ addi r31, r1, 0xc4 +/* 8027D560 0027A4C0 C0 E1 00 90 */ lfs f7, 0x90(r1) +/* 8027D564 0027A4C4 C0 C1 00 94 */ lfs f6, 0x94(r1) +/* 8027D568 0027A4C8 28 04 00 00 */ cmplwi r4, 0 +/* 8027D56C 0027A4CC C0 A1 00 98 */ lfs f5, 0x98(r1) +/* 8027D570 0027A4D0 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 8027D574 0027A4D4 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 8027D578 0027A4D8 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 8027D57C 0027A4DC C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 8027D580 0027A4E0 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8027D584 0027A4E4 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8027D588 0027A4E8 80 61 00 BC */ lwz r3, 0xbc(r1) +/* 8027D58C 0027A4EC D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 8027D590 0027A4F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 8027D594 0027A4F4 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 8027D598 0027A4F8 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 8027D59C 0027A4FC D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 8027D5A0 0027A500 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8027D5A4 0027A504 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8027D5A8 0027A508 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8027D5AC 0027A50C 98 81 00 E0 */ stb r4, 0xe0(r1) +/* 8027D5B0 0027A510 90 61 00 EC */ stw r3, 0xec(r1) +/* 8027D5B4 0027A514 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8027D5B8 0027A518 41 82 01 38 */ beq lbl_8027D6F0 +/* 8027D5BC 0027A51C 3C 60 80 3D */ lis r3, lbl_803D589C@ha +/* 8027D5C0 0027A520 3B 40 00 00 */ li r26, 0 +/* 8027D5C4 0027A524 38 63 58 9C */ addi r3, r3, lbl_803D589C@l +/* 8027D5C8 0027A528 3B 20 00 00 */ li r25, 0 +/* 8027D5CC 0027A52C 38 83 00 1D */ addi r4, r3, 0x1d +/* 8027D5D0 0027A530 38 60 09 88 */ li r3, 0x988 +/* 8027D5D4 0027A534 38 A0 00 00 */ li r5, 0 +/* 8027D5D8 0027A538 48 09 82 95 */ bl __nw__FUlPCcPCc +/* 8027D5DC 0027A53C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8027D5E0 0027A540 41 82 00 A4 */ beq lbl_8027D684 +/* 8027D5E4 0027A544 A0 FB 00 08 */ lhz r7, 8(r27) +/* 8027D5E8 0027A548 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8027D5EC 0027A54C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8027D5F0 0027A550 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8027D5F4 0027A554 B0 E1 00 14 */ sth r7, 0x14(r1) +/* 8027D5F8 0027A558 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027D5FC 0027A55C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027D600 0027A560 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8027D604 0027A564 90 01 00 30 */ stw r0, 0x30(r1) +/* 8027D608 0027A568 80 1B 00 04 */ lwz r0, 4(r27) +/* 8027D60C 0027A56C B0 E1 00 10 */ sth r7, 0x10(r1) +/* 8027D610 0027A570 90 01 00 28 */ stw r0, 0x28(r1) +/* 8027D614 0027A574 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8027D618 0027A578 4B DD 3E 6D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8027D61C 0027A57C 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027D620 0027A580 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027D624 0027A584 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027D628 0027A588 3B 40 00 01 */ li r26, 1 +/* 8027D62C 0027A58C 38 84 00 24 */ addi r4, r4, 0x24 +/* 8027D630 0027A590 4B D8 76 89 */ bl string_l__4rstlFPCc +/* 8027D634 0027A594 7F A4 EB 78 */ mr r4, r29 +/* 8027D638 0027A598 38 61 00 08 */ addi r3, r1, 8 +/* 8027D63C 0027A59C 3B 20 00 01 */ li r25, 1 +/* 8027D640 0027A5A0 4B DC FA 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 8027D644 0027A5A4 A0 01 00 08 */ lhz r0, 8(r1) +/* 8027D648 0027A5A8 7F E4 FB 78 */ mr r4, r31 +/* 8027D64C 0027A5AC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027D650 0027A5B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027D654 0027A5B4 48 09 5A ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 8027D658 0027A5B8 C0 22 BD 44 */ lfs f1, lbl_805ADA64@sda21(r2) +/* 8027D65C 0027A5BC 7F 83 E3 78 */ mr r3, r28 +/* 8027D660 0027A5C0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027D664 0027A5C4 7F C9 F3 78 */ mr r9, r30 +/* 8027D668 0027A5C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8027D66C 0027A5CC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8027D670 0027A5D0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8027D674 0027A5D4 38 E1 00 5C */ addi r7, r1, 0x5c +/* 8027D678 0027A5D8 39 01 00 14 */ addi r8, r1, 0x14 +/* 8027D67C 0027A5DC 4B FB 4C DD */ bl __ct__10CShockWaveFv +/* 8027D680 0027A5E0 7C 7C 1B 78 */ mr r28, r3 +lbl_8027D684: +/* 8027D684 0027A5E4 7F 20 07 75 */ extsb. r0, r25 +/* 8027D688 0027A5E8 41 82 00 0C */ beq lbl_8027D694 +/* 8027D68C 0027A5EC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027D690 0027A5F0 48 0C 04 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027D694: +/* 8027D694 0027A5F4 7F 40 07 75 */ extsb. r0, r26 +/* 8027D698 0027A5F8 41 82 00 44 */ beq lbl_8027D6DC +/* 8027D69C 0027A5FC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8027D6A0 0027A600 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8027D6A4 0027A604 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8027D6A8 0027A608 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8027D6AC 0027A60C 7C 64 1B 78 */ mr r4, r3 +/* 8027D6B0 0027A610 7C 03 02 14 */ add r0, r3, r0 +/* 8027D6B4 0027A614 90 61 00 18 */ stw r3, 0x18(r1) +/* 8027D6B8 0027A618 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027D6BC 0027A61C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8027D6C0 0027A620 48 00 00 08 */ b lbl_8027D6C8 +lbl_8027D6C4: +/* 8027D6C4 0027A624 38 84 00 0C */ addi r4, r4, 0xc +lbl_8027D6C8: +/* 8027D6C8 0027A628 7C 04 00 40 */ cmplw r4, r0 +/* 8027D6CC 0027A62C 40 82 FF F8 */ bne lbl_8027D6C4 +/* 8027D6D0 0027A630 28 03 00 00 */ cmplwi r3, 0 +/* 8027D6D4 0027A634 41 82 00 08 */ beq lbl_8027D6DC +/* 8027D6D8 0027A638 48 09 82 59 */ bl Free__7CMemoryFPCv +lbl_8027D6DC: +/* 8027D6DC 0027A63C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027D6E0 0027A640 41 82 00 10 */ beq lbl_8027D6F0 +/* 8027D6E4 0027A644 7F A3 EB 78 */ mr r3, r29 +/* 8027D6E8 0027A648 7F 84 E3 78 */ mr r4, r28 +/* 8027D6EC 0027A64C 4B DC F6 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_8027D6F0: +/* 8027D6F0 0027A650 BB 21 00 F4 */ lmw r25, 0xf4(r1) +/* 8027D6F4 0027A654 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8027D6F8 0027A658 7C 08 03 A6 */ mtlr r0 +/* 8027D6FC 0027A65C 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027D700 0027A660 4E 80 00 20 */ blr + +.global sub_8027d704 +sub_8027d704: +/* 8027D704 0027A664 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027D708 0027A668 7C 08 02 A6 */ mflr r0 +/* 8027D70C 0027A66C 3C E0 80 5A */ lis r7, lbl_805A66F4@ha +/* 8027D710 0027A670 3C C0 80 5A */ lis r6, lbl_8059FD18@ha +/* 8027D714 0027A674 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027D718 0027A678 39 07 66 F4 */ addi r8, r7, lbl_805A66F4@l +/* 8027D71C 0027A67C 7C A0 2B 78 */ mr r0, r5 +/* 8027D720 0027A680 38 E6 FD 18 */ addi r7, r6, lbl_8059FD18@l +/* 8027D724 0027A684 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027D728 0027A688 7C 7F 1B 78 */ mr r31, r3 +/* 8027D72C 0027A68C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027D730 0027A690 38 C1 00 08 */ addi r6, r1, 8 +/* 8027D734 0027A694 C0 48 00 00 */ lfs f2, 0(r8) +/* 8027D738 0027A698 C0 08 00 08 */ lfs f0, 8(r8) +/* 8027D73C 0027A69C FC 60 10 50 */ fneg f3, f2 +/* 8027D740 0027A6A0 C0 28 00 04 */ lfs f1, 4(r8) +/* 8027D744 0027A6A4 FC 00 00 50 */ fneg f0, f0 +/* 8027D748 0027A6A8 FC 40 08 50 */ fneg f2, f1 +/* 8027D74C 0027A6AC C0 22 BD 48 */ lfs f1, lbl_805ADA68@sda21(r2) +/* 8027D750 0027A6B0 D0 61 00 08 */ stfs f3, 8(r1) +/* 8027D754 0027A6B4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8027D758 0027A6B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027D75C 0027A6BC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8027D760 0027A6C0 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8027D764 0027A6C4 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8027D768 0027A6C8 7C 04 03 78 */ mr r4, r0 +/* 8027D76C 0027A6CC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027D770 0027A6D0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027D774 0027A6D4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8027D778 0027A6D8 4B DC F8 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027D77C 0027A6DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027D780 0027A6E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027D784 0027A6E4 7C 08 03 A6 */ mtlr r0 +/* 8027D788 0027A6E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027D78C 0027A6EC 4E 80 00 20 */ blr + +.global sub_8027d790 +sub_8027d790: +/* 8027D790 0027A6F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027D794 0027A6F4 7C 08 02 A6 */ mflr r0 +/* 8027D798 0027A6F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027D79C 0027A6FC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8027D7A0 0027A700 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8027D7A4 0027A704 7C BE 2B 78 */ mr r30, r5 +/* 8027D7A8 0027A708 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8027D7AC 0027A70C 7C 9D 23 78 */ mr r29, r4 +/* 8027D7B0 0027A710 80 82 BD 04 */ lwz r4, lbl_805ADA24@sda21(r2) +/* 8027D7B4 0027A714 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027D7B8 0027A718 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8027D7BC 0027A71C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D7C0 0027A720 4B D8 74 F9 */ bl string_l__4rstlFPCc +/* 8027D7C4 0027A724 7F E3 FB 78 */ mr r3, r31 +/* 8027D7C8 0027A728 7F C5 F3 78 */ mr r5, r30 +/* 8027D7CC 0027A72C 7F A6 EB 78 */ mr r6, r29 +/* 8027D7D0 0027A730 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027D7D4 0027A734 4B DA D5 ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8027D7D8 0027A738 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027D7DC 0027A73C 48 0C 03 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027D7E0 0027A740 80 82 BD 08 */ lwz r4, lbl_805ADA28@sda21(r2) +/* 8027D7E4 0027A744 38 61 00 08 */ addi r3, r1, 8 +/* 8027D7E8 0027A748 4B D8 74 D1 */ bl string_l__4rstlFPCc +/* 8027D7EC 0027A74C 7F E3 FB 78 */ mr r3, r31 +/* 8027D7F0 0027A750 7F C5 F3 78 */ mr r5, r30 +/* 8027D7F4 0027A754 7F A6 EB 78 */ mr r6, r29 +/* 8027D7F8 0027A758 38 81 00 08 */ addi r4, r1, 8 +/* 8027D7FC 0027A75C 4B DA D5 C5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8027D800 0027A760 38 61 00 08 */ addi r3, r1, 8 +/* 8027D804 0027A764 48 0C 02 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027D808 0027A768 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027D80C 0027A76C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8027D810 0027A770 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8027D814 0027A774 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8027D818 0027A778 7C 08 03 A6 */ mtlr r0 +/* 8027D81C 0027A77C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027D820 0027A780 4E 80 00 20 */ blr + +.global sub_8027d824 +sub_8027d824: +/* 8027D824 0027A784 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8027D828 0027A788 7C 08 02 A6 */ mflr r0 +/* 8027D82C 0027A78C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8027D830 0027A790 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8027D834 0027A794 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8027D838 0027A798 7C 9E 23 78 */ mr r30, r4 +/* 8027D83C 0027A79C 7F C5 F3 78 */ mr r5, r30 +/* 8027D840 0027A7A0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8027D844 0027A7A4 7C 7D 1B 78 */ mr r29, r3 +/* 8027D848 0027A7A8 7F A4 EB 78 */ mr r4, r29 +/* 8027D84C 0027A7AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027D850 0027A7B0 4B FF FE B5 */ bl sub_8027d704 +/* 8027D854 0027A7B4 88 A1 00 68 */ lbz r5, 0x68(r1) +/* 8027D858 0027A7B8 38 81 00 7C */ addi r4, r1, 0x7c +/* 8027D85C 0027A7BC C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 8027D860 0027A7C0 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 8027D864 0027A7C4 28 05 00 00 */ cmplwi r5, 0 +/* 8027D868 0027A7C8 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 8027D86C 0027A7CC C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8027D870 0027A7D0 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 8027D874 0027A7D4 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8027D878 0027A7D8 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8027D87C 0027A7DC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8027D880 0027A7E0 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8027D884 0027A7E4 80 61 00 74 */ lwz r3, 0x74(r1) +/* 8027D888 0027A7E8 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 8027D88C 0027A7EC D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 8027D890 0027A7F0 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8027D894 0027A7F4 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8027D898 0027A7F8 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8027D89C 0027A7FC D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8027D8A0 0027A800 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8027D8A4 0027A804 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8027D8A8 0027A808 98 A1 00 98 */ stb r5, 0x98(r1) +/* 8027D8AC 0027A80C 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8027D8B0 0027A810 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8027D8B4 0027A814 41 82 00 9C */ beq lbl_8027D950 +/* 8027D8B8 0027A818 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027D8BC 0027A81C 48 09 58 85 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8027D8C0 0027A820 38 7D 06 68 */ addi r3, r29, 0x668 +/* 8027D8C4 0027A824 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027D8C8 0027A828 48 09 52 79 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027D8CC 0027A82C A0 1D 07 04 */ lhz r0, 0x704(r29) +/* 8027D8D0 0027A830 7F C3 F3 78 */ mr r3, r30 +/* 8027D8D4 0027A834 38 81 00 08 */ addi r4, r1, 8 +/* 8027D8D8 0027A838 B0 01 00 08 */ sth r0, 8(r1) +/* 8027D8DC 0027A83C 4B DC EC 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027D8E0 0027A840 7C 64 1B 78 */ mr r4, r3 +/* 8027D8E4 0027A844 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D8E8 0027A848 4B E2 8C 65 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027D8EC 0027A84C 83 E3 00 04 */ lwz r31, 4(r3) +/* 8027D8F0 0027A850 28 1F 00 00 */ cmplwi r31, 0 +/* 8027D8F4 0027A854 41 82 00 5C */ beq lbl_8027D950 +/* 8027D8F8 0027A858 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8027D8FC 0027A85C 38 9D 06 68 */ addi r4, r29, 0x668 +/* 8027D900 0027A860 48 09 52 41 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027D904 0027A864 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D908 0027A868 38 E0 00 01 */ li r7, 1 +/* 8027D90C 0027A86C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 8027D910 0027A870 7F A3 EB 78 */ mr r3, r29 +/* 8027D914 0027A874 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D918 0027A878 7F C5 F3 78 */ mr r5, r30 +/* 8027D91C 0027A87C 38 80 00 15 */ li r4, 0x15 +/* 8027D920 0027A880 38 C0 FF FF */ li r6, -1 +/* 8027D924 0027A884 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D928 0027A888 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8027D92C 0027A88C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D930 0027A890 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027D934 0027A894 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8027D938 0027A898 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027D93C 0027A89C 4B DD 37 85 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027D940 0027A8A0 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 8027D944 0027A8A4 38 60 00 01 */ li r3, 1 +/* 8027D948 0027A8A8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027D94C 0027A8AC 98 1D 07 0E */ stb r0, 0x70e(r29) +lbl_8027D950: +/* 8027D950 0027A8B0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8027D954 0027A8B4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8027D958 0027A8B8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8027D95C 0027A8BC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8027D960 0027A8C0 7C 08 03 A6 */ mtlr r0 +/* 8027D964 0027A8C4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8027D968 0027A8C8 4E 80 00 20 */ blr + +.global Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager +Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager: +/* 8027D96C 0027A8CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027D970 0027A8D0 7C 08 02 A6 */ mflr r0 +/* 8027D974 0027A8D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027D978 0027A8D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027D97C 0027A8DC 7C DF 33 78 */ mr r31, r6 +/* 8027D980 0027A8E0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027D984 0027A8E4 7C BE 2B 78 */ mr r30, r5 +/* 8027D988 0027A8E8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027D98C 0027A8EC 7C 9D 23 78 */ mr r29, r4 +/* 8027D990 0027A8F0 93 81 00 20 */ stw r28, 0x20(r1) +/* 8027D994 0027A8F4 7C 7C 1B 78 */ mr r28, r3 +/* 8027D998 0027A8F8 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8027D99C 0027A8FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027D9A0 0027A900 41 82 00 64 */ beq lbl_8027DA04 +/* 8027D9A4 0027A904 48 00 14 E5 */ bl sub_8027ee88 +/* 8027D9A8 0027A908 7F 83 E3 78 */ mr r3, r28 +/* 8027D9AC 0027A90C 7F A4 EB 78 */ mr r4, r29 +/* 8027D9B0 0027A910 38 A0 00 00 */ li r5, 0 +/* 8027D9B4 0027A914 4B FF FD DD */ bl sub_8027d790 +/* 8027D9B8 0027A918 A0 1C 07 06 */ lhz r0, 0x706(r28) +/* 8027D9BC 0027A91C 7F A3 EB 78 */ mr r3, r29 +/* 8027D9C0 0027A920 38 81 00 08 */ addi r4, r1, 8 +/* 8027D9C4 0027A924 B0 01 00 08 */ sth r0, 8(r1) +/* 8027D9C8 0027A928 4B DC EB AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027D9CC 0027A92C 7C 64 1B 78 */ mr r4, r3 +/* 8027D9D0 0027A930 38 61 00 0C */ addi r3, r1, 0xc +/* 8027D9D4 0027A934 4B E3 19 79 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027D9D8 0027A938 80 63 00 04 */ lwz r3, 4(r3) +/* 8027D9DC 0027A93C 28 03 00 00 */ cmplwi r3, 0 +/* 8027D9E0 0027A940 41 82 00 10 */ beq lbl_8027D9F0 +/* 8027D9E4 0027A944 7F A5 EB 78 */ mr r5, r29 +/* 8027D9E8 0027A948 38 80 00 12 */ li r4, 0x12 +/* 8027D9EC 0027A94C 4B DD 69 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8027D9F0: +/* 8027D9F0 0027A950 7F 83 E3 78 */ mr r3, r28 +/* 8027D9F4 0027A954 7F A4 EB 78 */ mr r4, r29 +/* 8027D9F8 0027A958 7F C5 F3 78 */ mr r5, r30 +/* 8027D9FC 0027A95C 7F E6 FB 78 */ mr r6, r31 +/* 8027DA00 0027A960 4B DF D9 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +lbl_8027DA04: +/* 8027DA04 0027A964 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DA08 0027A968 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027DA0C 0027A96C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027DA10 0027A970 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027DA14 0027A974 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8027DA18 0027A978 7C 08 03 A6 */ mtlr r0 +/* 8027DA1C 0027A97C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DA20 0027A980 4E 80 00 20 */ blr + +.global CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf +CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA24 0027A984 C0 23 02 E4 */ lfs f1, 0x2e4(r3) +/* 8027DA28 0027A988 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8027DA2C 0027A98C C0 63 02 E0 */ lfs f3, 0x2e0(r3) +/* 8027DA30 0027A990 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8027DA34 0027A994 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027DA38 0027A998 C0 43 02 E8 */ lfs f2, 0x2e8(r3) +/* 8027DA3C 0027A99C EC 63 00 28 */ fsubs f3, f3, f0 +/* 8027DA40 0027A9A0 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 8027DA44 0027A9A4 EC 21 00 72 */ fmuls f1, f1, f1 +/* 8027DA48 0027A9A8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8027DA4C 0027A9AC C0 02 BD 4C */ lfs f0, lbl_805ADA6C@sda21(r2) +/* 8027DA50 0027A9B0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8027DA54 0027A9B4 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8027DA58 0027A9B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DA5C 0027A9BC 7C 00 00 26 */ mfcr r0 +/* 8027DA60 0027A9C0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8027DA64 0027A9C4 4E 80 00 20 */ blr + +.global ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA68 0027A9C8 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027DA6C 0027A9CC 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8027DA70 0027A9D0 7C 00 00 34 */ cntlzw r0, r0 +/* 8027DA74 0027A9D4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027DA78 0027A9D8 4E 80 00 20 */ blr + +.global HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf +HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DA7C 0027A9DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DA80 0027A9E0 7C 08 02 A6 */ mflr r0 +/* 8027DA84 0027A9E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DA88 0027A9E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DA8C 0027A9EC 3B E0 00 00 */ li r31, 0 +/* 8027DA90 0027A9F0 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027DA94 0027A9F4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8027DA98 0027A9F8 40 82 00 14 */ bne lbl_8027DAAC +/* 8027DA9C 0027A9FC 4B F7 80 F9 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf +/* 8027DAA0 0027AA00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027DAA4 0027AA04 41 82 00 08 */ beq lbl_8027DAAC +/* 8027DAA8 0027AA08 3B E0 00 01 */ li r31, 1 +lbl_8027DAAC: +/* 8027DAAC 0027AA0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DAB0 0027AA10 7F E3 FB 78 */ mr r3, r31 +/* 8027DAB4 0027AA14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DAB8 0027AA18 7C 08 03 A6 */ mtlr r0 +/* 8027DABC 0027AA1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DAC0 0027AA20 4E 80 00 20 */ blr + +.global InPosition__20CMetroidPrimeEssenceFR13CStateManagerf +InPosition__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DAC4 0027AA24 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8027DAC8 0027AA28 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8027DACC 0027AA2C C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8027DAD0 0027AA30 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) +/* 8027DAD4 0027AA34 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8027DAD8 0027AA38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DADC 0027AA3C 7C 00 00 26 */ mfcr r0 +/* 8027DAE0 0027AA40 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8027DAE4 0027AA44 4E 80 00 20 */ blr + +.global ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DAE8 0027AA48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DAEC 0027AA4C 7C 08 02 A6 */ mflr r0 +/* 8027DAF0 0027AA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DAF4 0027AA54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DAF8 0027AA58 7C 9F 23 78 */ mr r31, r4 +/* 8027DAFC 0027AA5C 93 C1 00 08 */ stw r30, 8(r1) +/* 8027DB00 0027AA60 7C 7E 1B 78 */ mr r30, r3 +/* 8027DB04 0027AA64 81 83 00 00 */ lwz r12, 0(r3) +/* 8027DB08 0027AA68 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027DB0C 0027AA6C 7D 89 03 A6 */ mtctr r12 +/* 8027DB10 0027AA70 4E 80 04 21 */ bctrl +/* 8027DB14 0027AA74 28 03 00 00 */ cmplwi r3, 0 +/* 8027DB18 0027AA78 41 82 00 58 */ beq lbl_8027DB70 +/* 8027DB1C 0027AA7C C0 23 00 00 */ lfs f1, 0(r3) +/* 8027DB20 0027AA80 C0 1E 06 C0 */ lfs f0, 0x6c0(r30) +/* 8027DB24 0027AA84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027DB28 0027AA88 40 81 00 48 */ ble lbl_8027DB70 +/* 8027DB2C 0027AA8C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8027DB30 0027AA90 48 09 49 F1 */ bl Next__9CRandom16Fv +/* 8027DB34 0027AA94 3C A0 51 EC */ lis r5, 0x51EB851F@ha +/* 8027DB38 0027AA98 38 80 00 32 */ li r4, 0x32 +/* 8027DB3C 0027AA9C 38 05 85 1F */ addi r0, r5, 0x51EB851F@l +/* 8027DB40 0027AAA0 7C 00 18 96 */ mulhw r0, r0, r3 +/* 8027DB44 0027AAA4 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8027DB48 0027AAA8 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8027DB4C 0027AAAC 7C 00 2A 14 */ add r0, r0, r5 +/* 8027DB50 0027AAB0 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 8027DB54 0027AAB4 7C 00 18 50 */ subf r0, r0, r3 +/* 8027DB58 0027AAB8 7C 80 02 78 */ xor r0, r4, r0 +/* 8027DB5C 0027AABC 7C 03 0E 70 */ srawi r3, r0, 1 +/* 8027DB60 0027AAC0 7C 00 20 38 */ and r0, r0, r4 +/* 8027DB64 0027AAC4 7C 00 18 50 */ subf r0, r0, r3 +/* 8027DB68 0027AAC8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8027DB6C 0027AACC 48 00 00 08 */ b lbl_8027DB74 +lbl_8027DB70: +/* 8027DB70 0027AAD0 38 60 00 00 */ li r3, 0 +lbl_8027DB74: +/* 8027DB74 0027AAD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DB78 0027AAD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DB7C 0027AADC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027DB80 0027AAE0 7C 08 03 A6 */ mtlr r0 +/* 8027DB84 0027AAE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DB88 0027AAE8 4E 80 00 20 */ blr + +.global ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DB8C 0027AAEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DB90 0027AAF0 7C 08 02 A6 */ mflr r0 +/* 8027DB94 0027AAF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DB98 0027AAF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DB9C 0027AAFC 7C 7F 1B 78 */ mr r31, r3 +/* 8027DBA0 0027AB00 80 A3 06 F0 */ lwz r5, 0x6f0(r3) +/* 8027DBA4 0027AB04 80 03 06 F4 */ lwz r0, 0x6f4(r3) +/* 8027DBA8 0027AB08 7C 05 00 00 */ cmpw r5, r0 +/* 8027DBAC 0027AB0C 40 80 00 14 */ bge lbl_8027DBC0 +/* 8027DBB0 0027AB10 38 05 00 01 */ addi r0, r5, 1 +/* 8027DBB4 0027AB14 38 60 00 00 */ li r3, 0 +/* 8027DBB8 0027AB18 90 1F 06 F0 */ stw r0, 0x6f0(r31) +/* 8027DBBC 0027AB1C 48 00 00 74 */ b lbl_8027DC30 +lbl_8027DBC0: +/* 8027DBC0 0027AB20 81 83 00 00 */ lwz r12, 0(r3) +/* 8027DBC4 0027AB24 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027DBC8 0027AB28 7D 89 03 A6 */ mtctr r12 +/* 8027DBCC 0027AB2C 4E 80 04 21 */ bctrl +/* 8027DBD0 0027AB30 C0 3F 06 C4 */ lfs f1, 0x6c4(r31) +/* 8027DBD4 0027AB34 C0 03 00 00 */ lfs f0, 0(r3) +/* 8027DBD8 0027AB38 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027DBDC 0027AB3C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027DBE0 0027AB40 C0 22 BD 50 */ lfs f1, lbl_805ADA70@sda21(r2) +/* 8027DBE4 0027AB44 80 7F 06 E8 */ lwz r3, 0x6e8(r31) +/* 8027DBE8 0027AB48 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8027DBEC 0027AB4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027DBF0 0027AB50 FC 00 00 1E */ fctiwz f0, f0 +/* 8027DBF4 0027AB54 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 8027DBF8 0027AB58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DBFC 0027AB5C 7C 63 02 14 */ add r3, r3, r0 +/* 8027DC00 0027AB60 90 61 00 08 */ stw r3, 8(r1) +/* 8027DC04 0027AB64 80 1F 06 EC */ lwz r0, 0x6ec(r31) +/* 8027DC08 0027AB68 7C 00 18 00 */ cmpw r0, r3 +/* 8027DC0C 0027AB6C 40 80 00 0C */ bge lbl_8027DC18 +/* 8027DC10 0027AB70 38 7F 06 EC */ addi r3, r31, 0x6ec +/* 8027DC14 0027AB74 48 00 00 08 */ b lbl_8027DC1C +lbl_8027DC18: +/* 8027DC18 0027AB78 38 61 00 08 */ addi r3, r1, 8 +lbl_8027DC1C: +/* 8027DC1C 0027AB7C 80 83 00 00 */ lwz r4, 0(r3) +/* 8027DC20 0027AB80 38 00 00 00 */ li r0, 0 +/* 8027DC24 0027AB84 38 60 00 01 */ li r3, 1 +/* 8027DC28 0027AB88 90 9F 06 F4 */ stw r4, 0x6f4(r31) +/* 8027DC2C 0027AB8C 90 1F 06 F0 */ stw r0, 0x6f0(r31) +lbl_8027DC30: +/* 8027DC30 0027AB90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DC34 0027AB94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027DC38 0027AB98 7C 08 03 A6 */ mtlr r0 +/* 8027DC3C 0027AB9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DC40 0027ABA0 4E 80 00 20 */ blr + +.global ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf +ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf: +/* 8027DC44 0027ABA4 88 63 07 0E */ lbz r3, 0x70e(r3) +/* 8027DC48 0027ABA8 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 8027DC4C 0027ABAC 41 82 00 0C */ beq lbl_8027DC58 +/* 8027DC50 0027ABB0 54 63 D7 FE */ rlwinm r3, r3, 0x1a, 0x1f, 0x1f +/* 8027DC54 0027ABB4 4E 80 00 20 */ blr +lbl_8027DC58: +/* 8027DC58 0027ABB8 38 60 00 01 */ li r3, 1 +/* 8027DC5C 0027ABBC 4E 80 00 20 */ blr + +.global Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DC60 0027ABC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027DC64 0027ABC4 7C 08 02 A6 */ mflr r0 +/* 8027DC68 0027ABC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027DC6C 0027ABCC DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8027DC70 0027ABD0 FF E0 08 90 */ fmr f31, f1 +/* 8027DC74 0027ABD4 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8027DC78 0027ABD8 7C BF 2B 78 */ mr r31, r5 +/* 8027DC7C 0027ABDC 93 C1 00 20 */ stw r30, 0x20(r1) +/* 8027DC80 0027ABE0 7C 9E 23 78 */ mr r30, r4 +/* 8027DC84 0027ABE4 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 8027DC88 0027ABE8 7C 7D 1B 78 */ mr r29, r3 +/* 8027DC8C 0027ABEC 4B F7 8D 39 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DC90 0027ABF0 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DC94 0027ABF4 41 82 00 08 */ beq lbl_8027DC9C +/* 8027DC98 0027ABF8 48 00 00 4C */ b lbl_8027DCE4 +lbl_8027DC9C: +/* 8027DC9C 0027ABFC 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027DCA0 0027AC00 38 61 00 08 */ addi r3, r1, 8 +/* 8027DCA4 0027AC04 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027DCA8 0027AC08 38 84 00 2E */ addi r4, r4, 0x2e +/* 8027DCAC 0027AC0C 4B D8 70 0D */ bl string_l__4rstlFPCc +/* 8027DCB0 0027AC10 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8027DCB4 0027AC14 FC 20 F8 90 */ fmr f1, f31 +/* 8027DCB8 0027AC18 38 81 00 08 */ addi r4, r1, 8 +/* 8027DCBC 0027AC1C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027DCC0 0027AC20 4B DA E7 2D */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027DCC4 0027AC24 7C 7F 1B 78 */ mr r31, r3 +/* 8027DCC8 0027AC28 38 61 00 08 */ addi r3, r1, 8 +/* 8027DCCC 0027AC2C 48 0B FE 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027DCD0 0027AC30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8027DCD4 0027AC34 40 82 00 10 */ bne lbl_8027DCE4 +/* 8027DCD8 0027AC38 7F A3 EB 78 */ mr r3, r29 +/* 8027DCDC 0027AC3C 7F C4 F3 78 */ mr r4, r30 +/* 8027DCE0 0027AC40 4B DF AD 21 */ bl DeathDelete__10CPatternedFR13CStateManager +lbl_8027DCE4: +/* 8027DCE4 0027AC44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DCE8 0027AC48 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8027DCEC 0027AC4C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 8027DCF0 0027AC50 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 8027DCF4 0027AC54 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 8027DCF8 0027AC58 7C 08 03 A6 */ mtlr r0 +/* 8027DCFC 0027AC5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DD00 0027AC60 4E 80 00 20 */ blr + +.global Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DD04 0027AC64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DD08 0027AC68 7C 08 02 A6 */ mflr r0 +/* 8027DD0C 0027AC6C 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DD10 0027AC70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DD14 0027AC74 41 82 00 2C */ beq lbl_8027DD40 +/* 8027DD18 0027AC78 40 80 00 10 */ bge lbl_8027DD28 +/* 8027DD1C 0027AC7C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DD20 0027AC80 40 80 00 14 */ bge lbl_8027DD34 +/* 8027DD24 0027AC84 48 00 00 58 */ b lbl_8027DD7C +lbl_8027DD28: +/* 8027DD28 0027AC88 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DD2C 0027AC8C 40 80 00 50 */ bge lbl_8027DD7C +/* 8027DD30 0027AC90 48 00 00 44 */ b lbl_8027DD74 +lbl_8027DD34: +/* 8027DD34 0027AC94 38 00 00 01 */ li r0, 1 +/* 8027DD38 0027AC98 90 03 03 2C */ stw r0, 0x32c(r3) +/* 8027DD3C 0027AC9C 48 00 00 40 */ b lbl_8027DD7C +lbl_8027DD40: +/* 8027DD40 0027ACA0 3C A0 80 3F */ lis r5, lbl_803EB238@ha +/* 8027DD44 0027ACA4 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DD48 0027ACA8 39 45 B2 38 */ addi r10, r5, lbl_803EB238@l +/* 8027DD4C 0027ACAC 38 A0 00 10 */ li r5, 0x10 +/* 8027DD50 0027ACB0 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027DD54 0027ACB4 38 E0 00 02 */ li r7, 2 +/* 8027DD58 0027ACB8 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027DD5C 0027ACBC 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027DD60 0027ACC0 91 21 00 08 */ stw r9, 8(r1) +/* 8027DD64 0027ACC4 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027DD68 0027ACC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DD6C 0027ACCC 4B DF EA 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DD70 0027ACD0 48 00 00 0C */ b lbl_8027DD7C +lbl_8027DD74: +/* 8027DD74 0027ACD4 38 00 00 00 */ li r0, 0 +/* 8027DD78 0027ACD8 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_8027DD7C: +/* 8027DD7C 0027ACDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DD80 0027ACE0 7C 08 03 A6 */ mtlr r0 +/* 8027DD84 0027ACE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DD88 0027ACE8 4E 80 00 20 */ blr + +.global Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DD8C 0027ACEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DD90 0027ACF0 7C 08 02 A6 */ mflr r0 +/* 8027DD94 0027ACF4 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DD98 0027ACF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DD9C 0027ACFC 41 82 00 2C */ beq lbl_8027DDC8 +/* 8027DDA0 0027AD00 40 80 00 10 */ bge lbl_8027DDB0 +/* 8027DDA4 0027AD04 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DDA8 0027AD08 40 80 00 14 */ bge lbl_8027DDBC +/* 8027DDAC 0027AD0C 48 00 00 58 */ b lbl_8027DE04 +lbl_8027DDB0: +/* 8027DDB0 0027AD10 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DDB4 0027AD14 40 80 00 50 */ bge lbl_8027DE04 +/* 8027DDB8 0027AD18 48 00 00 44 */ b lbl_8027DDFC +lbl_8027DDBC: +/* 8027DDBC 0027AD1C 38 00 00 01 */ li r0, 1 +/* 8027DDC0 0027AD20 90 03 03 2C */ stw r0, 0x32c(r3) +/* 8027DDC4 0027AD24 48 00 00 40 */ b lbl_8027DE04 +lbl_8027DDC8: +/* 8027DDC8 0027AD28 3C A0 80 3F */ lis r5, lbl_803EB22C@ha +/* 8027DDCC 0027AD2C 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DDD0 0027AD30 39 45 B2 2C */ addi r10, r5, lbl_803EB22C@l +/* 8027DDD4 0027AD34 38 A0 00 03 */ li r5, 3 +/* 8027DDD8 0027AD38 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027DDDC 0027AD3C 38 E0 00 05 */ li r7, 5 +/* 8027DDE0 0027AD40 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027DDE4 0027AD44 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027DDE8 0027AD48 91 21 00 08 */ stw r9, 8(r1) +/* 8027DDEC 0027AD4C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027DDF0 0027AD50 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DDF4 0027AD54 4B DF E9 C1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DDF8 0027AD58 48 00 00 0C */ b lbl_8027DE04 +lbl_8027DDFC: +/* 8027DDFC 0027AD5C 38 00 00 00 */ li r0, 0 +/* 8027DE00 0027AD60 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_8027DE04: +/* 8027DE04 0027AD64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DE08 0027AD68 7C 08 03 A6 */ mtlr r0 +/* 8027DE0C 0027AD6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DE10 0027AD70 4E 80 00 20 */ blr + +.global JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DE14 0027AD74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DE18 0027AD78 7C 08 02 A6 */ mflr r0 +/* 8027DE1C 0027AD7C 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DE20 0027AD80 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DE24 0027AD84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DE28 0027AD88 7C 7F 1B 78 */ mr r31, r3 +/* 8027DE2C 0027AD8C 41 82 00 38 */ beq lbl_8027DE64 +/* 8027DE30 0027AD90 40 80 00 10 */ bge lbl_8027DE40 +/* 8027DE34 0027AD94 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DE38 0027AD98 40 80 00 14 */ bge lbl_8027DE4C +/* 8027DE3C 0027AD9C 48 00 00 64 */ b lbl_8027DEA0 +lbl_8027DE40: +/* 8027DE40 0027ADA0 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DE44 0027ADA4 40 80 00 5C */ bge lbl_8027DEA0 +/* 8027DE48 0027ADA8 48 00 00 50 */ b lbl_8027DE98 +lbl_8027DE4C: +/* 8027DE4C 0027ADAC 38 00 00 01 */ li r0, 1 +/* 8027DE50 0027ADB0 38 A0 00 01 */ li r5, 1 +/* 8027DE54 0027ADB4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8027DE58 0027ADB8 4B FF F1 7D */ bl sub_8027cfd4 +/* 8027DE5C 0027ADBC 90 7F 07 00 */ stw r3, 0x700(r31) +/* 8027DE60 0027ADC0 48 00 00 40 */ b lbl_8027DEA0 +lbl_8027DE64: +/* 8027DE64 0027ADC4 3C A0 80 3F */ lis r5, lbl_803EB220@ha +/* 8027DE68 0027ADC8 38 C1 00 08 */ addi r6, r1, 8 +/* 8027DE6C 0027ADCC 39 25 B2 20 */ addi r9, r5, lbl_803EB220@l +/* 8027DE70 0027ADD0 38 A0 00 03 */ li r5, 3 +/* 8027DE74 0027ADD4 81 09 00 00 */ lwz r8, 0(r9) +/* 8027DE78 0027ADD8 80 E9 00 04 */ lwz r7, 4(r9) +/* 8027DE7C 0027ADDC 80 09 00 08 */ lwz r0, 8(r9) +/* 8027DE80 0027ADE0 91 01 00 08 */ stw r8, 8(r1) +/* 8027DE84 0027ADE4 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8027DE88 0027ADE8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027DE8C 0027ADEC 80 FF 07 00 */ lwz r7, 0x700(r31) +/* 8027DE90 0027ADF0 4B DF E9 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027DE94 0027ADF4 48 00 00 0C */ b lbl_8027DEA0 +lbl_8027DE98: +/* 8027DE98 0027ADF8 38 00 00 00 */ li r0, 0 +/* 8027DE9C 0027ADFC 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8027DEA0: +/* 8027DEA0 0027AE00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027DEA4 0027AE04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027DEA8 0027AE08 7C 08 03 A6 */ mtlr r0 +/* 8027DEAC 0027AE0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027DEB0 0027AE10 4E 80 00 20 */ blr + +.global PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DEB4 0027AE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027DEB8 0027AE18 7C 08 02 A6 */ mflr r0 +/* 8027DEBC 0027AE1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027DEC0 0027AE20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027DEC4 0027AE24 7C BF 2B 78 */ mr r31, r5 +/* 8027DEC8 0027AE28 93 C1 00 08 */ stw r30, 8(r1) +/* 8027DECC 0027AE2C 7C 7E 1B 78 */ mr r30, r3 +/* 8027DED0 0027AE30 4B F7 87 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DED4 0027AE34 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DED8 0027AE38 41 82 00 34 */ beq lbl_8027DF0C +/* 8027DEDC 0027AE3C 40 80 00 10 */ bge lbl_8027DEEC +/* 8027DEE0 0027AE40 2C 1F 00 00 */ cmpwi r31, 0 +/* 8027DEE4 0027AE44 40 80 00 14 */ bge lbl_8027DEF8 +/* 8027DEE8 0027AE48 48 00 00 44 */ b lbl_8027DF2C +lbl_8027DEEC: +/* 8027DEEC 0027AE4C 2C 1F 00 03 */ cmpwi r31, 3 +/* 8027DEF0 0027AE50 40 80 00 3C */ bge lbl_8027DF2C +/* 8027DEF4 0027AE54 48 00 00 28 */ b lbl_8027DF1C +lbl_8027DEF8: +/* 8027DEF8 0027AE58 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027DEFC 0027AE5C 38 60 00 01 */ li r3, 1 +/* 8027DF00 0027AE60 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027DF04 0027AE64 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027DF08 0027AE68 48 00 00 24 */ b lbl_8027DF2C +lbl_8027DF0C: +/* 8027DF0C 0027AE6C 7F C3 F3 78 */ mr r3, r30 +/* 8027DF10 0027AE70 38 9E 02 E0 */ addi r4, r30, 0x2e0 +/* 8027DF14 0027AE74 4B FF EC 2D */ bl sub_8027cb40 +/* 8027DF18 0027AE78 48 00 00 14 */ b lbl_8027DF2C +lbl_8027DF1C: +/* 8027DF1C 0027AE7C 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027DF20 0027AE80 38 60 00 00 */ li r3, 0 +/* 8027DF24 0027AE84 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027DF28 0027AE88 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027DF2C: +/* 8027DF2C 0027AE8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027DF30 0027AE90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027DF34 0027AE94 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027DF38 0027AE98 7C 08 03 A6 */ mtlr r0 +/* 8027DF3C 0027AE9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027DF40 0027AEA0 4E 80 00 20 */ blr + +.global PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DF44 0027AEA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027DF48 0027AEA8 7C 08 02 A6 */ mflr r0 +/* 8027DF4C 0027AEAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027DF50 0027AEB0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027DF54 0027AEB4 7C BF 2B 78 */ mr r31, r5 +/* 8027DF58 0027AEB8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027DF5C 0027AEBC 7C 9E 23 78 */ mr r30, r4 +/* 8027DF60 0027AEC0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027DF64 0027AEC4 7C 7D 1B 78 */ mr r29, r3 +/* 8027DF68 0027AEC8 4B F7 87 65 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8027DF6C 0027AECC 2C 1F 00 01 */ cmpwi r31, 1 +/* 8027DF70 0027AED0 41 82 00 08 */ beq lbl_8027DF78 +/* 8027DF74 0027AED4 48 00 00 2C */ b lbl_8027DFA0 +lbl_8027DF78: +/* 8027DF78 0027AED8 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 8027DF7C 0027AEDC 7F A3 EB 78 */ mr r3, r29 +/* 8027DF80 0027AEE0 38 81 00 08 */ addi r4, r1, 8 +/* 8027DF84 0027AEE4 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8027DF88 0027AEE8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8027DF8C 0027AEEC C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8027DF90 0027AEF0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8027DF94 0027AEF4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8027DF98 0027AEF8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8027DF9C 0027AEFC 4B FF EB A5 */ bl sub_8027cb40 +lbl_8027DFA0: +/* 8027DFA0 0027AF00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027DFA4 0027AF04 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027DFA8 0027AF08 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027DFAC 0027AF0C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027DFB0 0027AF10 7C 08 03 A6 */ mtlr r0 +/* 8027DFB4 0027AF14 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027DFB8 0027AF18 4E 80 00 20 */ blr + +.global Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DFBC 0027AF1C 4E 80 00 20 */ blr + +.global Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027DFC0 0027AF20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027DFC4 0027AF24 7C 08 02 A6 */ mflr r0 +/* 8027DFC8 0027AF28 2C 05 00 01 */ cmpwi r5, 1 +/* 8027DFCC 0027AF2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027DFD0 0027AF30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027DFD4 0027AF34 7C 7F 1B 78 */ mr r31, r3 +/* 8027DFD8 0027AF38 41 82 00 38 */ beq lbl_8027E010 +/* 8027DFDC 0027AF3C 40 80 00 10 */ bge lbl_8027DFEC +/* 8027DFE0 0027AF40 2C 05 00 00 */ cmpwi r5, 0 +/* 8027DFE4 0027AF44 40 80 00 14 */ bge lbl_8027DFF8 +/* 8027DFE8 0027AF48 48 00 00 64 */ b lbl_8027E04C +lbl_8027DFEC: +/* 8027DFEC 0027AF4C 2C 05 00 03 */ cmpwi r5, 3 +/* 8027DFF0 0027AF50 40 80 00 5C */ bge lbl_8027E04C +/* 8027DFF4 0027AF54 48 00 00 50 */ b lbl_8027E044 +lbl_8027DFF8: +/* 8027DFF8 0027AF58 38 00 00 01 */ li r0, 1 +/* 8027DFFC 0027AF5C 38 A0 00 00 */ li r5, 0 +/* 8027E000 0027AF60 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8027E004 0027AF64 4B FF EF D1 */ bl sub_8027cfd4 +/* 8027E008 0027AF68 90 7F 07 00 */ stw r3, 0x700(r31) +/* 8027E00C 0027AF6C 48 00 00 40 */ b lbl_8027E04C +lbl_8027E010: +/* 8027E010 0027AF70 3C A0 80 3F */ lis r5, lbl_803EB214@ha +/* 8027E014 0027AF74 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E018 0027AF78 39 25 B2 14 */ addi r9, r5, lbl_803EB214@l +/* 8027E01C 0027AF7C 38 A0 00 03 */ li r5, 3 +/* 8027E020 0027AF80 81 09 00 00 */ lwz r8, 0(r9) +/* 8027E024 0027AF84 80 E9 00 04 */ lwz r7, 4(r9) +/* 8027E028 0027AF88 80 09 00 08 */ lwz r0, 8(r9) +/* 8027E02C 0027AF8C 91 01 00 08 */ stw r8, 8(r1) +/* 8027E030 0027AF90 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8027E034 0027AF94 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E038 0027AF98 80 FF 07 00 */ lwz r7, 0x700(r31) +/* 8027E03C 0027AF9C 4B DF E7 79 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E040 0027AFA0 48 00 00 0C */ b lbl_8027E04C +lbl_8027E044: +/* 8027E044 0027AFA4 38 00 00 00 */ li r0, 0 +/* 8027E048 0027AFA8 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8027E04C: +/* 8027E04C 0027AFAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E050 0027AFB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E054 0027AFB4 7C 08 03 A6 */ mtlr r0 +/* 8027E058 0027AFB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E05C 0027AFBC 4E 80 00 20 */ blr + +.global FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E060 0027AFC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027E064 0027AFC4 7C 08 02 A6 */ mflr r0 +/* 8027E068 0027AFC8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E06C 0027AFCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027E070 0027AFD0 41 82 00 0C */ beq lbl_8027E07C +/* 8027E074 0027AFD4 41 80 00 0C */ blt lbl_8027E080 +/* 8027E078 0027AFD8 48 00 00 08 */ b lbl_8027E080 +lbl_8027E07C: +/* 8027E07C 0027AFDC 4B FF F1 79 */ bl sub_8027d1f4 +lbl_8027E080: +/* 8027E080 0027AFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027E084 0027AFE4 7C 08 03 A6 */ mtlr r0 +/* 8027E088 0027AFE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027E08C 0027AFEC 4E 80 00 20 */ blr + +.global FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E090 0027AFF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E094 0027AFF4 7C 08 02 A6 */ mflr r0 +/* 8027E098 0027AFF8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E09C 0027AFFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E0A0 0027B000 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027E0A4 0027B004 7C 7F 1B 78 */ mr r31, r3 +/* 8027E0A8 0027B008 41 82 00 40 */ beq lbl_8027E0E8 +/* 8027E0AC 0027B00C 40 80 00 10 */ bge lbl_8027E0BC +/* 8027E0B0 0027B010 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E0B4 0027B014 40 80 00 14 */ bge lbl_8027E0C8 +/* 8027E0B8 0027B018 48 00 00 9C */ b lbl_8027E154 +lbl_8027E0BC: +/* 8027E0BC 0027B01C 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E0C0 0027B020 40 80 00 94 */ bge lbl_8027E154 +/* 8027E0C4 0027B024 48 00 00 58 */ b lbl_8027E11C +lbl_8027E0C8: +/* 8027E0C8 0027B028 4B FF F3 61 */ bl sub_8027d428 +/* 8027E0CC 0027B02C 90 7F 06 F8 */ stw r3, 0x6f8(r31) +/* 8027E0D0 0027B030 38 60 00 01 */ li r3, 1 +/* 8027E0D4 0027B034 90 7F 03 2C */ stw r3, 0x32c(r31) +/* 8027E0D8 0027B038 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E0DC 0027B03C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027E0E0 0027B040 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E0E4 0027B044 48 00 00 70 */ b lbl_8027E154 +lbl_8027E0E8: +/* 8027E0E8 0027B048 3C A0 80 3F */ lis r5, lbl_803EB208@ha +/* 8027E0EC 0027B04C 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E0F0 0027B050 39 45 B2 08 */ addi r10, r5, lbl_803EB208@l +/* 8027E0F4 0027B054 38 A0 00 12 */ li r5, 0x12 +/* 8027E0F8 0027B058 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E0FC 0027B05C 38 E0 00 00 */ li r7, 0 +/* 8027E100 0027B060 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E104 0027B064 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E108 0027B068 91 21 00 08 */ stw r9, 8(r1) +/* 8027E10C 0027B06C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027E110 0027B070 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E114 0027B074 4B DF E6 A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E118 0027B078 48 00 00 3C */ b lbl_8027E154 +lbl_8027E11C: +/* 8027E11C 0027B07C 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E120 0027B080 38 60 00 00 */ li r3, 0 +/* 8027E124 0027B084 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027E128 0027B088 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E12C 0027B08C 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E130 0027B090 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E134 0027B094 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E138 0027B098 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E13C 0027B09C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027E140 0027B0A0 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E144 0027B0A4 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027E148 0027B0A8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8027E14C 0027B0AC 98 1F 07 0E */ stb r0, 0x70e(r31) +/* 8027E150 0027B0B0 90 7F 03 2C */ stw r3, 0x32c(r31) +lbl_8027E154: +/* 8027E154 0027B0B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E158 0027B0B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E15C 0027B0BC 7C 08 03 A6 */ mtlr r0 +/* 8027E160 0027B0C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E164 0027B0C4 4E 80 00 20 */ blr + +.global TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E168 0027B0C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E16C 0027B0CC 7C 08 02 A6 */ mflr r0 +/* 8027E170 0027B0D0 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E174 0027B0D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E178 0027B0D8 41 82 00 38 */ beq lbl_8027E1B0 +/* 8027E17C 0027B0DC 40 80 00 10 */ bge lbl_8027E18C +/* 8027E180 0027B0E0 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E184 0027B0E4 40 80 00 14 */ bge lbl_8027E198 +/* 8027E188 0027B0E8 48 00 00 B8 */ b lbl_8027E240 +lbl_8027E18C: +/* 8027E18C 0027B0EC 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E190 0027B0F0 40 80 00 B0 */ bge lbl_8027E240 +/* 8027E194 0027B0F4 48 00 00 90 */ b lbl_8027E224 +lbl_8027E198: +/* 8027E198 0027B0F8 38 80 00 01 */ li r4, 1 +/* 8027E19C 0027B0FC 90 83 03 2C */ stw r4, 0x32c(r3) +/* 8027E1A0 0027B100 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E1A4 0027B104 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8027E1A8 0027B108 98 03 07 0E */ stb r0, 0x70e(r3) +/* 8027E1AC 0027B10C 48 00 00 94 */ b lbl_8027E240 +lbl_8027E1B0: +/* 8027E1B0 0027B110 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E1B4 0027B114 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8027E1B8 0027B118 41 82 00 38 */ beq lbl_8027E1F0 +/* 8027E1BC 0027B11C 3C A0 80 3F */ lis r5, lbl_803EB1F0@ha +/* 8027E1C0 0027B120 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8027E1C4 0027B124 39 45 B1 F0 */ addi r10, r5, lbl_803EB1F0@l +/* 8027E1C8 0027B128 38 A0 00 12 */ li r5, 0x12 +/* 8027E1CC 0027B12C 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E1D0 0027B130 38 E0 00 05 */ li r7, 5 +/* 8027E1D4 0027B134 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E1D8 0027B138 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E1DC 0027B13C 91 21 00 14 */ stw r9, 0x14(r1) +/* 8027E1E0 0027B140 91 01 00 18 */ stw r8, 0x18(r1) +/* 8027E1E4 0027B144 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8027E1E8 0027B148 4B DF E5 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E1EC 0027B14C 48 00 00 54 */ b lbl_8027E240 +lbl_8027E1F0: +/* 8027E1F0 0027B150 3C A0 80 3F */ lis r5, lbl_803EB1FC@ha +/* 8027E1F4 0027B154 38 C1 00 08 */ addi r6, r1, 8 +/* 8027E1F8 0027B158 39 45 B1 FC */ addi r10, r5, lbl_803EB1FC@l +/* 8027E1FC 0027B15C 38 A0 00 07 */ li r5, 7 +/* 8027E200 0027B160 81 2A 00 00 */ lwz r9, 0(r10) +/* 8027E204 0027B164 38 E0 00 02 */ li r7, 2 +/* 8027E208 0027B168 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027E20C 0027B16C 80 0A 00 08 */ lwz r0, 8(r10) +/* 8027E210 0027B170 91 21 00 08 */ stw r9, 8(r1) +/* 8027E214 0027B174 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027E218 0027B178 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027E21C 0027B17C 4B DF E5 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8027E220 0027B180 48 00 00 20 */ b lbl_8027E240 +lbl_8027E224: +/* 8027E224 0027B184 38 80 00 00 */ li r4, 0 +/* 8027E228 0027B188 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027E22C 0027B18C 90 83 03 2C */ stw r4, 0x32c(r3) +/* 8027E230 0027B190 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027E234 0027B194 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8027E238 0027B198 98 03 07 0E */ stb r0, 0x70e(r3) +/* 8027E23C 0027B19C 4B FF EC 21 */ bl sub_8027ce5c +lbl_8027E240: +/* 8027E240 0027B1A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E244 0027B1A4 7C 08 03 A6 */ mtlr r0 +/* 8027E248 0027B1A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E24C 0027B1AC 4E 80 00 20 */ blr + +.global Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf +Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: +/* 8027E250 0027B1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8027E254 0027B1B4 7C 08 02 A6 */ mflr r0 +/* 8027E258 0027B1B8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027E25C 0027B1BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8027E260 0027B1C0 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8027E264 0027B1C4 7C 9F 23 78 */ mr r31, r4 +/* 8027E268 0027B1C8 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8027E26C 0027B1CC 7C 7E 1B 78 */ mr r30, r3 +/* 8027E270 0027B1D0 41 82 01 18 */ beq lbl_8027E388 +/* 8027E274 0027B1D4 40 80 00 10 */ bge lbl_8027E284 +/* 8027E278 0027B1D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027E27C 0027B1DC 40 80 00 14 */ bge lbl_8027E290 +/* 8027E280 0027B1E0 48 00 01 08 */ b lbl_8027E388 +lbl_8027E284: +/* 8027E284 0027B1E4 2C 05 00 03 */ cmpwi r5, 3 +/* 8027E288 0027B1E8 40 80 01 00 */ bge lbl_8027E388 +/* 8027E28C 0027B1EC 48 00 00 BC */ b lbl_8027E348 +lbl_8027E290: +/* 8027E290 0027B1F0 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027E294 0027B1F4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027E298 0027B1F8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8027E29C 0027B1FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027E2A0 0027B200 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8027E2A4 0027B204 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027E2A8 0027B208 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8027E2AC 0027B20C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8027E2B0 0027B210 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8027E2B4 0027B214 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027E2B8 0027B218 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8027E2BC 0027B21C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8027E2C0 0027B220 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027E2C4 0027B224 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027E2C8 0027B228 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027E2CC 0027B22C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8027E2D0 0027B230 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8027E2D4 0027B234 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8027E2D8 0027B238 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8027E2DC 0027B23C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027E2E0 0027B240 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8027E2E4 0027B244 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8027E2E8 0027B248 48 09 58 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027E2EC 0027B24C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027E2F0 0027B250 38 81 00 34 */ addi r4, r1, 0x34 +/* 8027E2F4 0027B254 48 09 48 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027E2F8 0027B258 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8027E2FC 0027B25C 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8027E300 0027B260 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8027E304 0027B264 38 81 00 64 */ addi r4, r1, 0x64 +/* 8027E308 0027B268 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8027E30C 0027B26C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8027E310 0027B270 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8027E314 0027B274 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8027E318 0027B278 48 09 48 29 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027E31C 0027B27C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E320 0027B280 38 60 00 01 */ li r3, 1 +/* 8027E324 0027B284 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E328 0027B288 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E32C 0027B28C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E330 0027B290 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027E334 0027B294 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E338 0027B298 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8027E33C 0027B29C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8027E340 0027B2A0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8027E344 0027B2A4 48 00 00 44 */ b lbl_8027E388 +lbl_8027E348: +/* 8027E348 0027B2A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027E34C 0027B2AC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027E350 0027B2B0 7D 89 03 A6 */ mtctr r12 +/* 8027E354 0027B2B4 4E 80 04 21 */ bctrl +/* 8027E358 0027B2B8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027E35C 0027B2BC 7F E3 FB 78 */ mr r3, r31 +/* 8027E360 0027B2C0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027E364 0027B2C4 38 81 00 0C */ addi r4, r1, 0xc +/* 8027E368 0027B2C8 38 A0 00 5B */ li r5, 0x5b +/* 8027E36C 0027B2CC B0 01 00 08 */ sth r0, 8(r1) +/* 8027E370 0027B2D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027E374 0027B2D4 4B DC 5B D1 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8027E378 0027B2D8 7F C3 F3 78 */ mr r3, r30 +/* 8027E37C 0027B2DC 7F E4 FB 78 */ mr r4, r31 +/* 8027E380 0027B2E0 38 A0 00 01 */ li r5, 1 +/* 8027E384 0027B2E4 4B FF F4 0D */ bl sub_8027d790 +lbl_8027E388: +/* 8027E388 0027B2E8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8027E38C 0027B2EC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8027E390 0027B2F0 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8027E394 0027B2F4 7C 08 03 A6 */ mtlr r0 +/* 8027E398 0027B2F8 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8027E39C 0027B2FC 4E 80 00 20 */ blr + +.global AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager: +/* 8027E3A0 0027B300 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027E3A4 0027B304 7C 08 02 A6 */ mflr r0 +/* 8027E3A8 0027B308 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027E3AC 0027B30C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027E3B0 0027B310 7C BF 2B 78 */ mr r31, r5 +/* 8027E3B4 0027B314 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027E3B8 0027B318 7C 9E 23 78 */ mr r30, r4 +/* 8027E3BC 0027B31C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027E3C0 0027B320 7C 7D 1B 78 */ mr r29, r3 +/* 8027E3C4 0027B324 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027E3C8 0027B328 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027E3CC 0027B32C 41 82 00 24 */ beq lbl_8027E3F0 +/* 8027E3D0 0027B330 80 9D 06 5C */ lwz r4, 0x65c(r29) +/* 8027E3D4 0027B334 28 04 00 00 */ cmplwi r4, 0 +/* 8027E3D8 0027B338 41 82 00 18 */ beq lbl_8027E3F0 +/* 8027E3DC 0027B33C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8027E3E0 0027B340 81 83 00 00 */ lwz r12, 0(r3) +/* 8027E3E4 0027B344 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027E3E8 0027B348 7D 89 03 A6 */ mtctr r12 +/* 8027E3EC 0027B34C 4E 80 04 21 */ bctrl +lbl_8027E3F0: +/* 8027E3F0 0027B350 7F A3 EB 78 */ mr r3, r29 +/* 8027E3F4 0027B354 7F C4 F3 78 */ mr r4, r30 +/* 8027E3F8 0027B358 7F E5 FB 78 */ mr r5, r31 +/* 8027E3FC 0027B35C 4B DF 94 BD */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8027E400 0027B360 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027E404 0027B364 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027E408 0027B368 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027E40C 0027B36C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027E410 0027B370 7C 08 03 A6 */ mtlr r0 +/* 8027E414 0027B374 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027E418 0027B378 4E 80 00 20 */ blr + +.global GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf +GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf: +/* 8027E41C 0027B37C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027E420 0027B380 7C 08 02 A6 */ mflr r0 +/* 8027E424 0027B384 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027E428 0027B388 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027E42C 0027B38C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027E430 0027B390 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027E434 0027B394 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027E438 0027B398 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027E43C 0027B39C 7C 9E 23 78 */ mr r30, r4 +/* 8027E440 0027B3A0 FF E0 08 90 */ fmr f31, f1 +/* 8027E444 0027B3A4 A0 04 07 06 */ lhz r0, 0x706(r4) +/* 8027E448 0027B3A8 7C BF 2B 78 */ mr r31, r5 +/* 8027E44C 0027B3AC 7C 7D 1B 78 */ mr r29, r3 +/* 8027E450 0027B3B0 38 81 00 08 */ addi r4, r1, 8 +/* 8027E454 0027B3B4 B0 01 00 08 */ sth r0, 8(r1) +/* 8027E458 0027B3B8 7F E3 FB 78 */ mr r3, r31 +/* 8027E45C 0027B3BC 4B DC E1 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027E460 0027B3C0 7C 64 1B 78 */ mr r4, r3 +/* 8027E464 0027B3C4 38 61 00 0C */ addi r3, r1, 0xc +/* 8027E468 0027B3C8 4B E3 0E E5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027E46C 0027B3CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8027E470 0027B3D0 28 03 00 00 */ cmplwi r3, 0 +/* 8027E474 0027B3D4 41 82 00 20 */ beq lbl_8027E494 +/* 8027E478 0027B3D8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8027E47C 0027B3DC C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8027E480 0027B3E0 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027E484 0027B3E4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8027E488 0027B3E8 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8027E48C 0027B3EC D0 5D 00 08 */ stfs f2, 8(r29) +/* 8027E490 0027B3F0 48 00 00 18 */ b lbl_8027E4A8 +lbl_8027E494: +/* 8027E494 0027B3F4 FC 20 F8 90 */ fmr f1, f31 +/* 8027E498 0027B3F8 7F A3 EB 78 */ mr r3, r29 +/* 8027E49C 0027B3FC 7F C4 F3 78 */ mr r4, r30 +/* 8027E4A0 0027B400 7F E5 FB 78 */ mr r5, r31 +/* 8027E4A4 0027B404 4B DF A1 45 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf +lbl_8027E4A8: +/* 8027E4A8 0027B408 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027E4AC 0027B40C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027E4B0 0027B410 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027E4B4 0027B414 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027E4B8 0027B418 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027E4BC 0027B41C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027E4C0 0027B420 7C 08 03 A6 */ mtlr r0 +/* 8027E4C4 0027B424 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027E4C8 0027B428 4E 80 00 20 */ blr + +.global DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8027E4CC 0027B42C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8027E4D0 0027B430 7C 08 02 A6 */ mflr r0 +/* 8027E4D4 0027B434 90 01 01 34 */ stw r0, 0x134(r1) +/* 8027E4D8 0027B438 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8027E4DC 0027B43C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8027E4E0 0027B440 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8027E4E4 0027B444 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8027E4E8 0027B448 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8027E4EC 0027B44C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8027E4F0 0027B450 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8027E4F4 0027B454 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8027E4F8 0027B458 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8027E4FC 0027B45C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8027E500 0027B460 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 8027E504 0027B464 7C DF 33 78 */ mr r31, r6 +/* 8027E508 0027B468 FF E0 08 90 */ fmr f31, f1 +/* 8027E50C 0027B46C 28 1F 00 1E */ cmplwi r31, 0x1e +/* 8027E510 0027B470 7C 7C 1B 78 */ mr r28, r3 +/* 8027E514 0027B474 7C 9D 23 78 */ mr r29, r4 +/* 8027E518 0027B478 7C BE 2B 78 */ mr r30, r5 +/* 8027E51C 0027B47C 38 C0 00 00 */ li r6, 0 +/* 8027E520 0027B480 41 81 02 F4 */ bgt lbl_8027E814 +/* 8027E524 0027B484 3C A0 80 3F */ lis r5, lbl_803EB510@ha +/* 8027E528 0027B488 57 E0 10 3A */ slwi r0, r31, 2 +/* 8027E52C 0027B48C 38 A5 B5 10 */ addi r5, r5, lbl_803EB510@l +/* 8027E530 0027B490 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8027E534 0027B494 7C 09 03 A6 */ mtctr r0 +/* 8027E538 0027B498 4E 80 04 20 */ bctr +/* 8027E53C 0027B49C 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E540 0027B4A0 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8027E544 0027B4A4 28 00 00 01 */ cmplwi r0, 1 +/* 8027E548 0027B4A8 41 82 00 24 */ beq lbl_8027E56C +/* 8027E54C 0027B4AC 7F A5 EB 78 */ mr r5, r29 +/* 8027E550 0027B4B0 38 80 00 10 */ li r4, 0x10 +/* 8027E554 0027B4B4 38 C0 FF FF */ li r6, -1 +/* 8027E558 0027B4B8 4B DD 2B 69 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027E55C 0027B4BC 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E560 0027B4C0 38 60 00 01 */ li r3, 1 +/* 8027E564 0027B4C4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8027E568 0027B4C8 98 1C 07 0E */ stb r0, 0x70e(r28) +lbl_8027E56C: +/* 8027E56C 0027B4CC 38 C0 00 01 */ li r6, 1 +/* 8027E570 0027B4D0 48 00 02 A4 */ b lbl_8027E814 +/* 8027E574 0027B4D4 A0 DC 07 0C */ lhz r6, 0x70c(r28) +/* 8027E578 0027B4D8 38 00 00 08 */ li r0, 8 +/* 8027E57C 0027B4DC 81 1C 06 64 */ lwz r8, 0x664(r28) +/* 8027E580 0027B4E0 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8027E584 0027B4E4 80 FC 06 60 */ lwz r7, 0x660(r28) +/* 8027E588 0027B4E8 C0 62 BD 10 */ lfs f3, lbl_805ADA30@sda21(r2) +/* 8027E58C 0027B4EC 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027E590 0027B4F0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027E594 0027B4F4 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8027E598 0027B4F8 C0 22 BD 38 */ lfs f1, lbl_805ADA58@sda21(r2) +/* 8027E59C 0027B4FC 80 1C 06 98 */ lwz r0, 0x698(r28) +/* 8027E5A0 0027B500 C0 02 BD 54 */ lfs f0, lbl_805ADA74@sda21(r2) +/* 8027E5A4 0027B504 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8027E5A8 0027B508 88 1C 06 9C */ lbz r0, 0x69c(r28) +/* 8027E5AC 0027B50C 98 01 00 80 */ stb r0, 0x80(r1) +/* 8027E5B0 0027B510 C0 9C 06 A0 */ lfs f4, 0x6a0(r28) +/* 8027E5B4 0027B514 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8027E5B8 0027B518 C0 9C 06 A4 */ lfs f4, 0x6a4(r28) +/* 8027E5BC 0027B51C D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8027E5C0 0027B520 C0 9C 06 A8 */ lfs f4, 0x6a8(r28) +/* 8027E5C4 0027B524 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 8027E5C8 0027B528 C0 9C 06 AC */ lfs f4, 0x6ac(r28) +/* 8027E5CC 0027B52C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8027E5D0 0027B530 88 1C 06 B0 */ lbz r0, 0x6b0(r28) +/* 8027E5D4 0027B534 98 01 00 94 */ stb r0, 0x94(r1) +/* 8027E5D8 0027B538 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8027E5DC 0027B53C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 8027E5E0 0027B540 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8027E5E4 0027B544 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8027E5E8 0027B548 91 01 00 A8 */ stw r8, 0xa8(r1) +/* 8027E5EC 0027B54C B0 C1 00 AC */ sth r6, 0xac(r1) +/* 8027E5F0 0027B550 4B FF EF 3D */ bl sub_8027d52c +/* 8027E5F4 0027B554 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027E5F8 0027B558 7F 83 E3 78 */ mr r3, r28 +/* 8027E5FC 0027B55C 7F A4 EB 78 */ mr r4, r29 +/* 8027E600 0027B560 4B FF EE 31 */ bl sub_8027d430 +/* 8027E604 0027B564 38 C0 00 01 */ li r6, 1 +/* 8027E608 0027B568 48 00 02 0C */ b lbl_8027E814 +/* 8027E60C 0027B56C 4B FF F2 19 */ bl sub_8027d824 +/* 8027E610 0027B570 38 C0 00 01 */ li r6, 1 +/* 8027E614 0027B574 48 00 02 00 */ b lbl_8027E814 +/* 8027E618 0027B578 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E61C 0027B57C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8027E620 0027B580 41 82 01 DC */ beq lbl_8027E7FC +/* 8027E624 0027B584 80 1C 06 D8 */ lwz r0, 0x6d8(r28) +/* 8027E628 0027B588 2C 00 00 00 */ cmpwi r0, 0 +/* 8027E62C 0027B58C 41 82 01 D0 */ beq lbl_8027E7FC +/* 8027E630 0027B590 80 7C 06 E4 */ lwz r3, 0x6e4(r28) +/* 8027E634 0027B594 80 1C 06 F8 */ lwz r0, 0x6f8(r28) +/* 8027E638 0027B598 7C 03 00 00 */ cmpw r3, r0 +/* 8027E63C 0027B59C 40 80 01 C0 */ bge lbl_8027E7FC +/* 8027E640 0027B5A0 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027E644 0027B5A4 38 80 FF FF */ li r4, -1 +/* 8027E648 0027B5A8 38 A0 00 01 */ li r5, 1 +/* 8027E64C 0027B5AC 48 09 3F 49 */ bl Range__9CRandom16Fii +/* 8027E650 0027B5B0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027E654 0027B5B4 3C 00 43 30 */ lis r0, 0x4330 +/* 8027E658 0027B5B8 90 61 00 B4 */ stw r3, 0xb4(r1) +/* 8027E65C 0027B5BC 38 80 FF FF */ li r4, -1 +/* 8027E660 0027B5C0 C8 42 BD 20 */ lfd f2, lbl_805ADA40@sda21(r2) +/* 8027E664 0027B5C4 38 A0 00 01 */ li r5, 1 +/* 8027E668 0027B5C8 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 8027E66C 0027B5CC C0 02 BD 58 */ lfs f0, lbl_805ADA78@sda21(r2) +/* 8027E670 0027B5D0 C8 21 00 B0 */ lfd f1, 0xb0(r1) +/* 8027E674 0027B5D4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8027E678 0027B5D8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8027E67C 0027B5DC EF C0 00 72 */ fmuls f30, f0, f1 +/* 8027E680 0027B5E0 48 09 3F 15 */ bl Range__9CRandom16Fii +/* 8027E684 0027B5E4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8027E688 0027B5E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8027E68C 0027B5EC 90 61 00 BC */ stw r3, 0xbc(r1) +/* 8027E690 0027B5F0 FC 20 F0 90 */ fmr f1, f30 +/* 8027E694 0027B5F4 C8 62 BD 20 */ lfd f3, lbl_805ADA40@sda21(r2) +/* 8027E698 0027B5F8 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8027E69C 0027B5FC C0 02 BD 5C */ lfs f0, lbl_805ADA7C@sda21(r2) +/* 8027E6A0 0027B600 C8 41 00 B8 */ lfd f2, 0xb8(r1) +/* 8027E6A4 0027B604 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8027E6A8 0027B608 EF 80 00 B2 */ fmuls f28, f0, f2 +/* 8027E6AC 0027B60C 48 09 66 99 */ bl FastCosR__5CMathFf +/* 8027E6B0 0027B610 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E6B4 0027B614 EF 60 00 72 */ fmuls f27, f0, f1 +/* 8027E6B8 0027B618 FC 20 E0 90 */ fmr f1, f28 +/* 8027E6BC 0027B61C 48 09 66 89 */ bl FastCosR__5CMathFf +/* 8027E6C0 0027B620 EF BB 00 72 */ fmuls f29, f27, f1 +/* 8027E6C4 0027B624 FC 20 F0 90 */ fmr f1, f30 +/* 8027E6C8 0027B628 48 09 67 29 */ bl FastSinR__5CMathFf +/* 8027E6CC 0027B62C FF C0 08 50 */ fneg f30, f1 +/* 8027E6D0 0027B630 FC 20 E0 90 */ fmr f1, f28 +/* 8027E6D4 0027B634 48 09 67 1D */ bl FastSinR__5CMathFf +/* 8027E6D8 0027B638 EC 5B 00 72 */ fmuls f2, f27, f1 +/* 8027E6DC 0027B63C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E6E0 0027B640 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027E6E4 0027B644 38 9C 06 68 */ addi r4, r28, 0x668 +/* 8027E6E8 0027B648 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8027E6EC 0027B64C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027E6F0 0027B650 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8027E6F4 0027B654 EC 00 07 72 */ fmuls f0, f0, f29 +/* 8027E6F8 0027B658 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8027E6FC 0027B65C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8027E700 0027B660 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027E704 0027B664 48 09 43 E5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8027E708 0027B668 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8027E70C 0027B66C 7F A3 EB 78 */ mr r3, r29 +/* 8027E710 0027B670 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8027E714 0027B674 38 81 00 08 */ addi r4, r1, 8 +/* 8027E718 0027B678 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8027E71C 0027B67C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8027E720 0027B680 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8027E724 0027B684 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8027E728 0027B688 A0 1C 07 04 */ lhz r0, 0x704(r28) +/* 8027E72C 0027B68C B0 01 00 08 */ sth r0, 8(r1) +/* 8027E730 0027B690 4B DC DE 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027E734 0027B694 7C 64 1B 78 */ mr r4, r3 +/* 8027E738 0027B698 38 61 00 0C */ addi r3, r1, 0xc +/* 8027E73C 0027B69C 4B E2 7E 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027E740 0027B6A0 83 63 00 04 */ lwz r27, 4(r3) +/* 8027E744 0027B6A4 28 1B 00 00 */ cmplwi r27, 0 +/* 8027E748 0027B6A8 41 82 00 B4 */ beq lbl_8027E7FC +/* 8027E74C 0027B6AC 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8027E750 0027B6B0 7F A5 EB 78 */ mr r5, r29 +/* 8027E754 0027B6B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027E758 0027B6B8 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) +/* 8027E75C 0027B6BC 81 84 00 00 */ lwz r12, 0(r4) +/* 8027E760 0027B6C0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8027E764 0027B6C4 7D 89 03 A6 */ mtctr r12 +/* 8027E768 0027B6C8 4E 80 04 21 */ bctrl +/* 8027E76C 0027B6CC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8027E770 0027B6D0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027E774 0027B6D4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8027E778 0027B6D8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027E77C 0027B6DC 38 81 00 38 */ addi r4, r1, 0x38 +/* 8027E780 0027B6E0 48 09 53 91 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027E784 0027B6E4 38 7B 00 34 */ addi r3, r27, 0x34 +/* 8027E788 0027B6E8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027E78C 0027B6EC 48 09 43 B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027E790 0027B6F0 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E794 0027B6F4 38 C0 00 01 */ li r6, 1 +/* 8027E798 0027B6F8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8027E79C 0027B6FC 7F 83 E3 78 */ mr r3, r28 +/* 8027E7A0 0027B700 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7A4 0027B704 7F A5 EB 78 */ mr r5, r29 +/* 8027E7A8 0027B708 38 9B 00 34 */ addi r4, r27, 0x34 +/* 8027E7AC 0027B70C 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E7B0 0027B710 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8027E7B4 0027B714 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7B8 0027B718 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 8027E7BC 0027B71C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8027E7C0 0027B720 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 8027E7C4 0027B724 48 00 00 AD */ bl sub_8027e870 +/* 8027E7C8 0027B728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027E7CC 0027B72C 41 82 00 30 */ beq lbl_8027E7FC +/* 8027E7D0 0027B730 7F 83 E3 78 */ mr r3, r28 +/* 8027E7D4 0027B734 7F A5 EB 78 */ mr r5, r29 +/* 8027E7D8 0027B738 38 80 00 09 */ li r4, 9 +/* 8027E7DC 0027B73C 38 C0 FF FF */ li r6, -1 +/* 8027E7E0 0027B740 4B DD 28 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8027E7E4 0027B744 C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 8027E7E8 0027B748 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 8027E7EC 0027B74C C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 8027E7F0 0027B750 D0 1C 06 B4 */ stfs f0, 0x6b4(r28) +/* 8027E7F4 0027B754 D0 3C 06 B8 */ stfs f1, 0x6b8(r28) +/* 8027E7F8 0027B758 D0 5C 06 BC */ stfs f2, 0x6bc(r28) +lbl_8027E7FC: +/* 8027E7FC 0027B75C 38 C0 00 01 */ li r6, 1 +/* 8027E800 0027B760 48 00 00 14 */ b lbl_8027E814 +/* 8027E804 0027B764 88 1C 07 0E */ lbz r0, 0x70e(r28) +/* 8027E808 0027B768 38 60 00 00 */ li r3, 0 +/* 8027E80C 0027B76C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027E810 0027B770 98 1C 07 0E */ stb r0, 0x70e(r28) +lbl_8027E814: +/* 8027E814 0027B774 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8027E818 0027B778 40 82 00 1C */ bne lbl_8027E834 +/* 8027E81C 0027B77C FC 20 F8 90 */ fmr f1, f31 +/* 8027E820 0027B780 7F 83 E3 78 */ mr r3, r28 +/* 8027E824 0027B784 7F A4 EB 78 */ mr r4, r29 +/* 8027E828 0027B788 7F C5 F3 78 */ mr r5, r30 +/* 8027E82C 0027B78C 7F E6 FB 78 */ mr r6, r31 +/* 8027E830 0027B790 4B DF A6 81 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8027E834: +/* 8027E834 0027B794 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8027E838 0027B798 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8027E83C 0027B79C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8027E840 0027B7A0 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8027E844 0027B7A4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8027E848 0027B7A8 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8027E84C 0027B7AC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8027E850 0027B7B0 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8027E854 0027B7B4 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8027E858 0027B7B8 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8027E85C 0027B7BC BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 8027E860 0027B7C0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8027E864 0027B7C4 7C 08 03 A6 */ mtlr r0 +/* 8027E868 0027B7C8 38 21 01 30 */ addi r1, r1, 0x130 +/* 8027E86C 0027B7CC 4E 80 00 20 */ blr + +.global sub_8027e870 +sub_8027e870: +/* 8027E870 0027B7D0 94 21 EA 30 */ stwu r1, -0x15d0(r1) +/* 8027E874 0027B7D4 7C 08 02 A6 */ mflr r0 +/* 8027E878 0027B7D8 90 01 15 D4 */ stw r0, 0x15d4(r1) +/* 8027E87C 0027B7DC 38 00 15 C8 */ li r0, 0x15c8 +/* 8027E880 0027B7E0 DB E1 15 C0 */ stfd f31, 0x15c0(r1) +/* 8027E884 0027B7E4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 8027E888 0027B7E8 38 00 15 B8 */ li r0, 0x15b8 +/* 8027E88C 0027B7EC DB C1 15 B0 */ stfd f30, 0x15b0(r1) +/* 8027E890 0027B7F0 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 8027E894 0027B7F4 38 00 15 A8 */ li r0, 0x15a8 +/* 8027E898 0027B7F8 DB A1 15 A0 */ stfd f29, 0x15a0(r1) +/* 8027E89C 0027B7FC 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 8027E8A0 0027B800 38 00 15 98 */ li r0, 0x1598 +/* 8027E8A4 0027B804 DB 81 15 90 */ stfd f28, 0x1590(r1) +/* 8027E8A8 0027B808 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 8027E8AC 0027B80C 38 00 15 88 */ li r0, 0x1588 +/* 8027E8B0 0027B810 DB 61 15 80 */ stfd f27, 0x1580(r1) +/* 8027E8B4 0027B814 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 8027E8B8 0027B818 38 00 15 78 */ li r0, 0x1578 +/* 8027E8BC 0027B81C DB 41 15 70 */ stfd f26, 0x1570(r1) +/* 8027E8C0 0027B820 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 8027E8C4 0027B824 BF 21 15 54 */ stmw r25, 0x1554(r1) +/* 8027E8C8 0027B828 38 00 00 00 */ li r0, 0 +/* 8027E8CC 0027B82C 80 CD 98 FC */ lwz r6, lbl_805A84BC@sda21(r13) +/* 8027E8D0 0027B830 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027E8D4 0027B834 7C 7D 1B 78 */ mr r29, r3 +/* 8027E8D8 0027B838 7C 9E 23 78 */ mr r30, r4 +/* 8027E8DC 0027B83C 7C BF 2B 78 */ mr r31, r5 +/* 8027E8E0 0027B840 7C C5 33 78 */ mr r5, r6 +/* 8027E8E4 0027B844 38 60 00 00 */ li r3, 0 +/* 8027E8E8 0027B848 38 80 00 01 */ li r4, 1 +/* 8027E8EC 0027B84C 48 10 B6 09 */ bl __shl2i +/* 8027E8F0 0027B850 80 AD 99 00 */ lwz r5, lbl_805A84C0@sda21(r13) +/* 8027E8F4 0027B854 7C 9B 23 78 */ mr r27, r4 +/* 8027E8F8 0027B858 7C 7C 1B 78 */ mr r28, r3 +/* 8027E8FC 0027B85C 38 60 00 00 */ li r3, 0 +/* 8027E900 0027B860 38 80 00 01 */ li r4, 1 +/* 8027E904 0027B864 48 10 B5 F1 */ bl __shl2i +/* 8027E908 0027B868 80 AD 99 04 */ lwz r5, lbl_805A84C4@sda21(r13) +/* 8027E90C 0027B86C 7F 7B 23 78 */ or r27, r27, r4 +/* 8027E910 0027B870 7F 9C 1B 78 */ or r28, r28, r3 +/* 8027E914 0027B874 38 60 00 00 */ li r3, 0 +/* 8027E918 0027B878 38 80 00 01 */ li r4, 1 +/* 8027E91C 0027B87C 48 10 B5 D9 */ bl __shl2i +/* 8027E920 0027B880 C3 BE 00 2C */ lfs f29, 0x2c(r30) +/* 8027E924 0027B884 7F 7B 23 78 */ or r27, r27, r4 +/* 8027E928 0027B888 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027E92C 0027B88C 7F 9C 1B 78 */ or r28, r28, r3 +/* 8027E930 0027B890 C3 DE 00 1C */ lfs f30, 0x1c(r30) +/* 8027E934 0027B894 38 C0 00 01 */ li r6, 1 +/* 8027E938 0027B898 C3 FE 00 0C */ lfs f31, 0xc(r30) +/* 8027E93C 0027B89C EC 7D 00 2A */ fadds f3, f29, f0 +/* 8027E940 0027B8A0 38 00 00 00 */ li r0, 0 +/* 8027E944 0027B8A4 EC 9E 00 2A */ fadds f4, f30, f0 +/* 8027E948 0027B8A8 EC BF 00 2A */ fadds f5, f31, f0 +/* 8027E94C 0027B8AC 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 8027E950 0027B8B0 EC 5F 00 28 */ fsubs f2, f31, f0 +/* 8027E954 0027B8B4 EC 3E 00 28 */ fsubs f1, f30, f0 +/* 8027E958 0027B8B8 93 61 00 FC */ stw r27, 0xfc(r1) +/* 8027E95C 0027B8BC EC 1D 00 28 */ fsubs f0, f29, f0 +/* 8027E960 0027B8C0 93 81 00 F8 */ stw r28, 0xf8(r1) +/* 8027E964 0027B8C4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8027E968 0027B8C8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027E96C 0027B8CC 90 01 01 04 */ stw r0, 0x104(r1) +/* 8027E970 0027B8D0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8027E974 0027B8D4 90 01 01 00 */ stw r0, 0x100(r1) +/* 8027E978 0027B8D8 90 C1 01 08 */ stw r6, 0x108(r1) +/* 8027E97C 0027B8DC D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 8027E980 0027B8E0 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8027E984 0027B8E4 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8027E988 0027B8E8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8027E98C 0027B8EC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8027E990 0027B8F0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8027E994 0027B8F4 48 0B 9B 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8027E998 0027B8F8 80 AD 99 18 */ lwz r5, lbl_805A84D8@sda21(r13) +/* 8027E99C 0027B8FC 38 60 00 00 */ li r3, 0 +/* 8027E9A0 0027B900 38 80 00 01 */ li r4, 1 +/* 8027E9A4 0027B904 48 10 B5 51 */ bl __shl2i +/* 8027E9A8 0027B908 80 AD 99 08 */ lwz r5, lbl_805A84C8@sda21(r13) +/* 8027E9AC 0027B90C 7C 9C 23 78 */ mr r28, r4 +/* 8027E9B0 0027B910 7C 7B 1B 78 */ mr r27, r3 +/* 8027E9B4 0027B914 38 60 00 00 */ li r3, 0 +/* 8027E9B8 0027B918 38 80 00 01 */ li r4, 1 +/* 8027E9BC 0027B91C 48 10 B5 39 */ bl __shl2i +/* 8027E9C0 0027B920 80 AD 99 0C */ lwz r5, lbl_805A84CC@sda21(r13) +/* 8027E9C4 0027B924 7C 99 23 78 */ mr r25, r4 +/* 8027E9C8 0027B928 7C 7A 1B 78 */ mr r26, r3 +/* 8027E9CC 0027B92C 38 60 00 00 */ li r3, 0 +/* 8027E9D0 0027B930 38 80 00 01 */ li r4, 1 +/* 8027E9D4 0027B934 48 10 B5 21 */ bl __shl2i +/* 8027E9D8 0027B938 80 AD 99 10 */ lwz r5, lbl_805A84D0@sda21(r13) +/* 8027E9DC 0027B93C 7F 39 23 78 */ or r25, r25, r4 +/* 8027E9E0 0027B940 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027E9E4 0027B944 38 60 00 00 */ li r3, 0 +/* 8027E9E8 0027B948 38 80 00 01 */ li r4, 1 +/* 8027E9EC 0027B94C 48 10 B5 09 */ bl __shl2i +/* 8027E9F0 0027B950 80 AD 99 14 */ lwz r5, lbl_805A84D4@sda21(r13) +/* 8027E9F4 0027B954 7F 39 23 78 */ or r25, r25, r4 +/* 8027E9F8 0027B958 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027E9FC 0027B95C 38 60 00 00 */ li r3, 0 +/* 8027EA00 0027B960 38 80 00 01 */ li r4, 1 +/* 8027EA04 0027B964 48 10 B4 F1 */ bl __shl2i +/* 8027EA08 0027B968 7F 39 23 78 */ or r25, r25, r4 +/* 8027EA0C 0027B96C 7F 5A 1B 78 */ or r26, r26, r3 +/* 8027EA10 0027B970 38 00 00 03 */ li r0, 3 +/* 8027EA14 0027B974 93 21 00 CC */ stw r25, 0xcc(r1) +/* 8027EA18 0027B978 7F E3 FB 78 */ mr r3, r31 +/* 8027EA1C 0027B97C 7F A7 EB 78 */ mr r7, r29 +/* 8027EA20 0027B980 90 01 00 88 */ stw r0, 0x88(r1) +/* 8027EA24 0027B984 38 81 0D 44 */ addi r4, r1, 0xd44 +/* 8027EA28 0027B988 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8027EA2C 0027B98C 38 C1 00 F8 */ addi r6, r1, 0xf8 +/* 8027EA30 0027B990 93 41 00 C8 */ stw r26, 0xc8(r1) +/* 8027EA34 0027B994 93 81 00 D4 */ stw r28, 0xd4(r1) +/* 8027EA38 0027B998 93 61 00 D0 */ stw r27, 0xd0(r1) +/* 8027EA3C 0027B99C 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8027EA40 0027B9A0 4B DC DC E1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8027EA44 0027B9A4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8027EA48 0027B9A8 38 00 00 00 */ li r0, 0 +/* 8027EA4C 0027B9AC 80 AD 99 1C */ lwz r5, lbl_805A84DC@sda21(r13) +/* 8027EA50 0027B9B0 38 60 00 00 */ li r3, 0 +/* 8027EA54 0027B9B4 B0 81 00 0C */ sth r4, 0xc(r1) +/* 8027EA58 0027B9B8 38 80 00 01 */ li r4, 1 +/* 8027EA5C 0027B9BC 90 01 01 40 */ stw r0, 0x140(r1) +/* 8027EA60 0027B9C0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8027EA64 0027B9C4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EA68 0027B9C8 48 10 B4 8D */ bl __shl2i +/* 8027EA6C 0027B9CC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8027EA70 0027B9D0 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8027EA74 0027B9D4 7C 00 1B 78 */ or r0, r0, r3 +/* 8027EA78 0027B9D8 80 AD 99 20 */ lwz r5, lbl_805A84E0@sda21(r13) +/* 8027EA7C 0027B9DC 7C C4 23 78 */ or r4, r6, r4 +/* 8027EA80 0027B9E0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EA84 0027B9E4 38 60 00 00 */ li r3, 0 +/* 8027EA88 0027B9E8 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8027EA8C 0027B9EC 38 80 00 01 */ li r4, 1 +/* 8027EA90 0027B9F0 48 10 B4 65 */ bl __shl2i +/* 8027EA94 0027B9F4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8027EA98 0027B9F8 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8027EA9C 0027B9FC C7 85 66 A0 */ lfsu f28, skZero3f@l(r5) +/* 8027EAA0 0027BA00 7C 00 1B 78 */ or r0, r0, r3 +/* 8027EAA4 0027BA04 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8027EAA8 0027BA08 90 01 00 18 */ stw r0, 0x18(r1) +/* 8027EAAC 0027BA0C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8027EAB0 0027BA10 7C C4 23 78 */ or r4, r6, r4 +/* 8027EAB4 0027BA14 C3 65 00 04 */ lfs f27, 4(r5) +/* 8027EAB8 0027BA18 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8027EABC 0027BA1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027EAC0 0027BA20 C3 45 00 08 */ lfs f26, 8(r5) +/* 8027EAC4 0027BA24 48 05 0D F1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8027EAC8 0027BA28 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) +/* 8027EACC 0027BA2C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027EAD0 0027BA30 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027EAD4 0027BA34 D3 81 00 B8 */ stfs f28, 0xb8(r1) +/* 8027EAD8 0027BA38 7F E3 FB 78 */ mr r3, r31 +/* 8027EADC 0027BA3C 7F C5 F3 78 */ mr r5, r30 +/* 8027EAE0 0027BA40 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EAE4 0027BA44 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8027EAE8 0027BA48 38 C1 00 C8 */ addi r6, r1, 0xc8 +/* 8027EAEC 0027BA4C 38 E1 0D 44 */ addi r7, r1, 0xd44 +/* 8027EAF0 0027BA50 D3 61 00 BC */ stfs f27, 0xbc(r1) +/* 8027EAF4 0027BA54 39 01 00 0C */ addi r8, r1, 0xc +/* 8027EAF8 0027BA58 39 21 01 40 */ addi r9, r1, 0x140 +/* 8027EAFC 0027BA5C D3 41 00 C0 */ stfs f26, 0xc0(r1) +/* 8027EB00 0027BA60 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8027EB04 0027BA64 4B F0 59 A1 */ bl "DetectCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList" +/* 8027EB08 0027BA68 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027EB0C 0027BA6C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EB10 0027BA70 40 81 00 C0 */ ble lbl_8027EBD0 +/* 8027EB14 0027BA74 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8027EB18 0027BA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027EB1C 0027BA7C 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8027EB20 0027BA80 38 80 00 00 */ li r4, 0 +/* 8027EB24 0027BA84 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EB28 0027BA88 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027EB2C 0027BA8C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027EB30 0027BA90 40 81 00 40 */ ble lbl_8027EB70 +/* 8027EB34 0027BA94 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EB38 0027BA98 38 65 FF F8 */ addi r3, r5, -8 +/* 8027EB3C 0027BA9C 40 81 00 20 */ ble lbl_8027EB5C +/* 8027EB40 0027BAA0 38 03 00 07 */ addi r0, r3, 7 +/* 8027EB44 0027BAA4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EB48 0027BAA8 7C 09 03 A6 */ mtctr r0 +/* 8027EB4C 0027BAAC 2C 03 00 00 */ cmpwi r3, 0 +/* 8027EB50 0027BAB0 40 81 00 0C */ ble lbl_8027EB5C +lbl_8027EB54: +/* 8027EB54 0027BAB4 38 84 00 08 */ addi r4, r4, 8 +/* 8027EB58 0027BAB8 42 00 FF FC */ bdnz lbl_8027EB54 +lbl_8027EB5C: +/* 8027EB5C 0027BABC 7C 04 28 50 */ subf r0, r4, r5 +/* 8027EB60 0027BAC0 7C 09 03 A6 */ mtctr r0 +/* 8027EB64 0027BAC4 7C 04 28 00 */ cmpw r4, r5 +/* 8027EB68 0027BAC8 40 80 00 08 */ bge lbl_8027EB70 +lbl_8027EB6C: +/* 8027EB6C 0027BACC 42 00 00 00 */ bdnz lbl_8027EB6C +lbl_8027EB70: +/* 8027EB70 0027BAD0 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027EB74 0027BAD4 38 60 00 00 */ li r3, 0 +/* 8027EB78 0027BAD8 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027EB7C 0027BADC 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EB80 0027BAE0 40 81 00 40 */ ble lbl_8027EBC0 +/* 8027EB84 0027BAE4 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EB88 0027BAE8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027EB8C 0027BAEC 40 81 00 20 */ ble lbl_8027EBAC +/* 8027EB90 0027BAF0 38 04 00 07 */ addi r0, r4, 7 +/* 8027EB94 0027BAF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EB98 0027BAF8 7C 09 03 A6 */ mtctr r0 +/* 8027EB9C 0027BAFC 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EBA0 0027BB00 40 81 00 0C */ ble lbl_8027EBAC +lbl_8027EBA4: +/* 8027EBA4 0027BB04 38 63 00 08 */ addi r3, r3, 8 +/* 8027EBA8 0027BB08 42 00 FF FC */ bdnz lbl_8027EBA4 +lbl_8027EBAC: +/* 8027EBAC 0027BB0C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EBB0 0027BB10 7C 09 03 A6 */ mtctr r0 +/* 8027EBB4 0027BB14 7C 03 28 00 */ cmpw r3, r5 +/* 8027EBB8 0027BB18 40 80 00 08 */ bge lbl_8027EBC0 +lbl_8027EBBC: +/* 8027EBBC 0027BB1C 42 00 00 00 */ bdnz lbl_8027EBBC +lbl_8027EBC0: +/* 8027EBC0 0027BB20 38 00 00 00 */ li r0, 0 +/* 8027EBC4 0027BB24 38 60 00 00 */ li r3, 0 +/* 8027EBC8 0027BB28 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027EBCC 0027BB2C 48 00 02 60 */ b lbl_8027EE2C +lbl_8027EBD0: +/* 8027EBD0 0027BB30 A0 1D 07 06 */ lhz r0, 0x706(r29) +/* 8027EBD4 0027BB34 7F E3 FB 78 */ mr r3, r31 +/* 8027EBD8 0027BB38 38 81 00 08 */ addi r4, r1, 8 +/* 8027EBDC 0027BB3C B0 01 00 08 */ sth r0, 8(r1) +/* 8027EBE0 0027BB40 4B DC D9 95 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027EBE4 0027BB44 7C 64 1B 78 */ mr r4, r3 +/* 8027EBE8 0027BB48 38 61 00 10 */ addi r3, r1, 0x10 +/* 8027EBEC 0027BB4C 4B E3 07 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027EBF0 0027BB50 83 23 00 04 */ lwz r25, 4(r3) +/* 8027EBF4 0027BB54 28 19 00 00 */ cmplwi r25, 0 +/* 8027EBF8 0027BB58 41 82 01 74 */ beq lbl_8027ED6C +/* 8027EBFC 0027BB5C C0 59 00 50 */ lfs f2, 0x50(r25) +/* 8027EC00 0027BB60 38 61 00 50 */ addi r3, r1, 0x50 +/* 8027EC04 0027BB64 C0 39 00 60 */ lfs f1, 0x60(r25) +/* 8027EC08 0027BB68 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 8027EC0C 0027BB6C EC 5E 10 28 */ fsubs f2, f30, f2 +/* 8027EC10 0027BB70 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 8027EC14 0027BB74 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 8027EC18 0027BB78 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8027EC1C 0027BB7C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8027EC20 0027BB80 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8027EC24 0027BB84 48 09 5C 95 */ bl Magnitude__9CVector3fCFv +/* 8027EC28 0027BB88 FF 40 08 90 */ fmr f26, f1 +/* 8027EC2C 0027BB8C 80 AD 99 24 */ lwz r5, lbl_805A84E4@sda21(r13) +/* 8027EC30 0027BB90 38 60 00 00 */ li r3, 0 +/* 8027EC34 0027BB94 38 80 00 01 */ li r4, 1 +/* 8027EC38 0027BB98 48 10 B2 BD */ bl __shl2i +/* 8027EC3C 0027BB9C 38 C0 FF FF */ li r6, -1 +/* 8027EC40 0027BBA0 38 A0 00 00 */ li r5, 0 +/* 8027EC44 0027BBA4 38 00 00 02 */ li r0, 2 +/* 8027EC48 0027BBA8 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8027EC4C 0027BBAC 38 81 00 50 */ addi r4, r1, 0x50 +/* 8027EC50 0027BBB0 90 61 00 68 */ stw r3, 0x68(r1) +/* 8027EC54 0027BBB4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027EC58 0027BBB8 90 C1 00 64 */ stw r6, 0x64(r1) +/* 8027EC5C 0027BBBC 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8027EC60 0027BBC0 90 01 00 70 */ stw r0, 0x70(r1) +/* 8027EC64 0027BBC4 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 8027EC68 0027BBC8 C0 39 00 50 */ lfs f1, 0x50(r25) +/* 8027EC6C 0027BBCC C0 19 00 40 */ lfs f0, 0x40(r25) +/* 8027EC70 0027BBD0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8027EC74 0027BBD4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8027EC78 0027BBD8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8027EC7C 0027BBDC 48 09 5B D5 */ bl AsNormalized__9CVector3fCFv +/* 8027EC80 0027BBE0 FC 20 D0 90 */ fmr f1, f26 +/* 8027EC84 0027BBE4 7F E4 FB 78 */ mr r4, r31 +/* 8027EC88 0027BBE8 38 61 01 10 */ addi r3, r1, 0x110 +/* 8027EC8C 0027BBEC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8027EC90 0027BBF0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8027EC94 0027BBF4 38 E1 00 60 */ addi r7, r1, 0x60 +/* 8027EC98 0027BBF8 4B DC E3 01 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8027EC9C 0027BBFC 88 01 01 30 */ lbz r0, 0x130(r1) +/* 8027ECA0 0027BC00 28 00 00 00 */ cmplwi r0, 0 +/* 8027ECA4 0027BC04 40 82 00 C8 */ bne lbl_8027ED6C +/* 8027ECA8 0027BC08 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027ECAC 0027BC0C 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027ECB0 0027BC10 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027ECB4 0027BC14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027ECB8 0027BC18 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ECBC 0027BC1C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027ECC0 0027BC20 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ECC4 0027BC24 38 60 00 00 */ li r3, 0 +/* 8027ECC8 0027BC28 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ECCC 0027BC2C 40 81 00 40 */ ble lbl_8027ED0C +/* 8027ECD0 0027BC30 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ECD4 0027BC34 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ECD8 0027BC38 40 81 00 20 */ ble lbl_8027ECF8 +/* 8027ECDC 0027BC3C 38 04 00 07 */ addi r0, r4, 7 +/* 8027ECE0 0027BC40 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027ECE4 0027BC44 7C 09 03 A6 */ mtctr r0 +/* 8027ECE8 0027BC48 2C 04 00 00 */ cmpwi r4, 0 +/* 8027ECEC 0027BC4C 40 81 00 0C */ ble lbl_8027ECF8 +lbl_8027ECF0: +/* 8027ECF0 0027BC50 38 63 00 08 */ addi r3, r3, 8 +/* 8027ECF4 0027BC54 42 00 FF FC */ bdnz lbl_8027ECF0 +lbl_8027ECF8: +/* 8027ECF8 0027BC58 7C 03 28 50 */ subf r0, r3, r5 +/* 8027ECFC 0027BC5C 7C 09 03 A6 */ mtctr r0 +/* 8027ED00 0027BC60 7C 03 28 00 */ cmpw r3, r5 +/* 8027ED04 0027BC64 40 80 00 08 */ bge lbl_8027ED0C +lbl_8027ED08: +/* 8027ED08 0027BC68 42 00 00 00 */ bdnz lbl_8027ED08 +lbl_8027ED0C: +/* 8027ED0C 0027BC6C 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027ED10 0027BC70 38 60 00 00 */ li r3, 0 +/* 8027ED14 0027BC74 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027ED18 0027BC78 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ED1C 0027BC7C 40 81 00 40 */ ble lbl_8027ED5C +/* 8027ED20 0027BC80 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ED24 0027BC84 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ED28 0027BC88 40 81 00 20 */ ble lbl_8027ED48 +/* 8027ED2C 0027BC8C 38 04 00 07 */ addi r0, r4, 7 +/* 8027ED30 0027BC90 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027ED34 0027BC94 7C 09 03 A6 */ mtctr r0 +/* 8027ED38 0027BC98 2C 04 00 00 */ cmpwi r4, 0 +/* 8027ED3C 0027BC9C 40 81 00 0C */ ble lbl_8027ED48 +lbl_8027ED40: +/* 8027ED40 0027BCA0 38 63 00 08 */ addi r3, r3, 8 +/* 8027ED44 0027BCA4 42 00 FF FC */ bdnz lbl_8027ED40 +lbl_8027ED48: +/* 8027ED48 0027BCA8 7C 03 28 50 */ subf r0, r3, r5 +/* 8027ED4C 0027BCAC 7C 09 03 A6 */ mtctr r0 +/* 8027ED50 0027BCB0 7C 03 28 00 */ cmpw r3, r5 +/* 8027ED54 0027BCB4 40 80 00 08 */ bge lbl_8027ED5C +lbl_8027ED58: +/* 8027ED58 0027BCB8 42 00 00 00 */ bdnz lbl_8027ED58 +lbl_8027ED5C: +/* 8027ED5C 0027BCBC 38 00 00 00 */ li r0, 0 +/* 8027ED60 0027BCC0 38 60 00 01 */ li r3, 1 +/* 8027ED64 0027BCC4 90 01 0D 44 */ stw r0, 0xd44(r1) +/* 8027ED68 0027BCC8 48 00 00 C4 */ b lbl_8027EE2C +lbl_8027ED6C: +/* 8027ED6C 0027BCCC 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8027ED70 0027BCD0 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 8027ED74 0027BCD4 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8027ED78 0027BCD8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8027ED7C 0027BCDC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ED80 0027BCE0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8027ED84 0027BCE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8027ED88 0027BCE8 38 60 00 00 */ li r3, 0 +/* 8027ED8C 0027BCEC 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8027ED90 0027BCF0 40 81 00 40 */ ble lbl_8027EDD0 +/* 8027ED94 0027BCF4 2C 05 00 08 */ cmpwi r5, 8 +/* 8027ED98 0027BCF8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027ED9C 0027BCFC 40 81 00 20 */ ble lbl_8027EDBC +/* 8027EDA0 0027BD00 38 04 00 07 */ addi r0, r4, 7 +/* 8027EDA4 0027BD04 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EDA8 0027BD08 7C 09 03 A6 */ mtctr r0 +/* 8027EDAC 0027BD0C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EDB0 0027BD10 40 81 00 0C */ ble lbl_8027EDBC +lbl_8027EDB4: +/* 8027EDB4 0027BD14 38 63 00 08 */ addi r3, r3, 8 +/* 8027EDB8 0027BD18 42 00 FF FC */ bdnz lbl_8027EDB4 +lbl_8027EDBC: +/* 8027EDBC 0027BD1C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EDC0 0027BD20 7C 09 03 A6 */ mtctr r0 +/* 8027EDC4 0027BD24 7C 03 28 00 */ cmpw r3, r5 +/* 8027EDC8 0027BD28 40 80 00 08 */ bge lbl_8027EDD0 +lbl_8027EDCC: +/* 8027EDCC 0027BD2C 42 00 00 00 */ bdnz lbl_8027EDCC +lbl_8027EDD0: +/* 8027EDD0 0027BD30 80 A1 0D 44 */ lwz r5, 0xd44(r1) +/* 8027EDD4 0027BD34 38 60 00 00 */ li r3, 0 +/* 8027EDD8 0027BD38 90 61 01 40 */ stw r3, 0x140(r1) +/* 8027EDDC 0027BD3C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027EDE0 0027BD40 40 81 00 40 */ ble lbl_8027EE20 +/* 8027EDE4 0027BD44 2C 05 00 08 */ cmpwi r5, 8 +/* 8027EDE8 0027BD48 38 85 FF F8 */ addi r4, r5, -8 +/* 8027EDEC 0027BD4C 40 81 00 20 */ ble lbl_8027EE0C +/* 8027EDF0 0027BD50 38 04 00 07 */ addi r0, r4, 7 +/* 8027EDF4 0027BD54 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027EDF8 0027BD58 7C 09 03 A6 */ mtctr r0 +/* 8027EDFC 0027BD5C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027EE00 0027BD60 40 81 00 0C */ ble lbl_8027EE0C +lbl_8027EE04: +/* 8027EE04 0027BD64 38 63 00 08 */ addi r3, r3, 8 +/* 8027EE08 0027BD68 42 00 FF FC */ bdnz lbl_8027EE04 +lbl_8027EE0C: +/* 8027EE0C 0027BD6C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027EE10 0027BD70 7C 09 03 A6 */ mtctr r0 +/* 8027EE14 0027BD74 7C 03 28 00 */ cmpw r3, r5 +/* 8027EE18 0027BD78 40 80 00 08 */ bge lbl_8027EE20 +lbl_8027EE1C: +/* 8027EE1C 0027BD7C 42 00 00 00 */ bdnz lbl_8027EE1C +lbl_8027EE20: +/* 8027EE20 0027BD80 38 00 00 00 */ li r0, 0 +/* 8027EE24 0027BD84 38 60 00 00 */ li r3, 0 +/* 8027EE28 0027BD88 90 01 0D 44 */ stw r0, 0xd44(r1) +lbl_8027EE2C: +/* 8027EE2C 0027BD8C 38 00 15 C8 */ li r0, 0x15c8 +/* 8027EE30 0027BD90 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 8027EE34 0027BD94 CB E1 15 C0 */ lfd f31, 0x15c0(r1) +/* 8027EE38 0027BD98 38 00 15 B8 */ li r0, 0x15b8 +/* 8027EE3C 0027BD9C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8027EE40 0027BDA0 CB C1 15 B0 */ lfd f30, 0x15b0(r1) +/* 8027EE44 0027BDA4 38 00 15 A8 */ li r0, 0x15a8 +/* 8027EE48 0027BDA8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 8027EE4C 0027BDAC CB A1 15 A0 */ lfd f29, 0x15a0(r1) +/* 8027EE50 0027BDB0 38 00 15 98 */ li r0, 0x1598 +/* 8027EE54 0027BDB4 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 8027EE58 0027BDB8 CB 81 15 90 */ lfd f28, 0x1590(r1) +/* 8027EE5C 0027BDBC 38 00 15 88 */ li r0, 0x1588 +/* 8027EE60 0027BDC0 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 8027EE64 0027BDC4 CB 61 15 80 */ lfd f27, 0x1580(r1) +/* 8027EE68 0027BDC8 38 00 15 78 */ li r0, 0x1578 +/* 8027EE6C 0027BDCC 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 8027EE70 0027BDD0 CB 41 15 70 */ lfd f26, 0x1570(r1) +/* 8027EE74 0027BDD4 BB 21 15 54 */ lmw r25, 0x1554(r1) +/* 8027EE78 0027BDD8 80 01 15 D4 */ lwz r0, 0x15d4(r1) +/* 8027EE7C 0027BDDC 7C 08 03 A6 */ mtlr r0 +/* 8027EE80 0027BDE0 38 21 15 D0 */ addi r1, r1, 0x15d0 +/* 8027EE84 0027BDE4 4E 80 00 20 */ blr + +.global sub_8027ee88 +sub_8027ee88: +/* 8027EE88 0027BDE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027EE8C 0027BDEC 7C 08 02 A6 */ mflr r0 +/* 8027EE90 0027BDF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027EE94 0027BDF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027EE98 0027BDF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027EE9C 0027BDFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027EEA0 0027BE00 7C 9D 23 78 */ mr r29, r4 +/* 8027EEA4 0027BE04 93 81 00 10 */ stw r28, 0x10(r1) +/* 8027EEA8 0027BE08 7C 7C 1B 78 */ mr r28, r3 +/* 8027EEAC 0027BE0C 83 E4 08 38 */ lwz r31, 0x838(r4) +/* 8027EEB0 0027BE10 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8027EEB4 0027BE14 48 00 00 7C */ b lbl_8027EF30 +lbl_8027EEB8: +/* 8027EEB8 0027BE18 7F E3 FB 78 */ mr r3, r31 +/* 8027EEBC 0027BE1C 7F C4 F3 78 */ mr r4, r30 +/* 8027EEC0 0027BE20 4B D9 0E 55 */ bl __vc__11CObjectListFi +/* 8027EEC4 0027BE24 7C 64 1B 78 */ mr r4, r3 +/* 8027EEC8 0027BE28 38 61 00 08 */ addi r3, r1, 8 +/* 8027EECC 0027BE2C 4B E2 DB 91 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8027EED0 0027BE30 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EED4 0027BE34 28 03 00 00 */ cmplwi r3, 0 +/* 8027EED8 0027BE38 41 82 00 3C */ beq lbl_8027EF14 +/* 8027EEDC 0027BE3C 7C 03 E0 40 */ cmplw r3, r28 +/* 8027EEE0 0027BE40 41 82 00 34 */ beq lbl_8027EF14 +/* 8027EEE4 0027BE44 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027EEE8 0027BE48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027EEEC 0027BE4C 41 82 00 28 */ beq lbl_8027EF14 +/* 8027EEF0 0027BE50 80 83 00 04 */ lwz r4, 4(r3) +/* 8027EEF4 0027BE54 80 1C 00 04 */ lwz r0, 4(r28) +/* 8027EEF8 0027BE58 7C 04 00 00 */ cmpw r4, r0 +/* 8027EEFC 0027BE5C 40 82 00 18 */ bne lbl_8027EF14 +/* 8027EF00 0027BE60 81 83 00 00 */ lwz r12, 0(r3) +/* 8027EF04 0027BE64 7F A4 EB 78 */ mr r4, r29 +/* 8027EF08 0027BE68 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 8027EF0C 0027BE6C 7D 89 03 A6 */ mtctr r12 +/* 8027EF10 0027BE70 4E 80 04 21 */ bctrl +lbl_8027EF14: +/* 8027EF14 0027BE74 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EF18 0027BE78 41 82 00 14 */ beq lbl_8027EF2C +/* 8027EF1C 0027BE7C 57 C3 18 38 */ slwi r3, r30, 3 +/* 8027EF20 0027BE80 38 03 00 08 */ addi r0, r3, 8 +/* 8027EF24 0027BE84 7F DF 02 AE */ lhax r30, r31, r0 +/* 8027EF28 0027BE88 48 00 00 08 */ b lbl_8027EF30 +lbl_8027EF2C: +/* 8027EF2C 0027BE8C 3B C0 FF FF */ li r30, -1 +lbl_8027EF30: +/* 8027EF30 0027BE90 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EF34 0027BE94 40 82 FF 84 */ bne lbl_8027EEB8 +/* 8027EF38 0027BE98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027EF3C 0027BE9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027EF40 0027BEA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027EF44 0027BEA4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027EF48 0027BEA8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8027EF4C 0027BEAC 7C 08 03 A6 */ mtlr r0 +/* 8027EF50 0027BEB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027EF54 0027BEB4 4E 80 00 20 */ blr + +.global sub_8027ef58 +sub_8027ef58: +/* 8027EF58 0027BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027EF5C 0027BEBC 7C 08 02 A6 */ mflr r0 +/* 8027EF60 0027BEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027EF64 0027BEC4 38 00 00 00 */ li r0, 0 +/* 8027EF68 0027BEC8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027EF6C 0027BECC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027EF70 0027BED0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8027EF74 0027BED4 7C 7D 1B 78 */ mr r29, r3 +/* 8027EF78 0027BED8 90 03 06 E4 */ stw r0, 0x6e4(r3) +/* 8027EF7C 0027BEDC 83 E4 08 38 */ lwz r31, 0x838(r4) +/* 8027EF80 0027BEE0 AB DF 20 08 */ lha r30, 0x2008(r31) +/* 8027EF84 0027BEE4 48 00 00 74 */ b lbl_8027EFF8 +lbl_8027EF88: +/* 8027EF88 0027BEE8 7F E3 FB 78 */ mr r3, r31 +/* 8027EF8C 0027BEEC 7F C4 F3 78 */ mr r4, r30 +/* 8027EF90 0027BEF0 4B D9 0D 85 */ bl __vc__11CObjectListFi +/* 8027EF94 0027BEF4 7C 64 1B 78 */ mr r4, r3 +/* 8027EF98 0027BEF8 38 61 00 08 */ addi r3, r1, 8 +/* 8027EF9C 0027BEFC 4B E2 DA C1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8027EFA0 0027BF00 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EFA4 0027BF04 28 03 00 00 */ cmplwi r3, 0 +/* 8027EFA8 0027BF08 41 82 00 34 */ beq lbl_8027EFDC +/* 8027EFAC 0027BF0C 7C 03 E8 40 */ cmplw r3, r29 +/* 8027EFB0 0027BF10 41 82 00 2C */ beq lbl_8027EFDC +/* 8027EFB4 0027BF14 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027EFB8 0027BF18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027EFBC 0027BF1C 41 82 00 20 */ beq lbl_8027EFDC +/* 8027EFC0 0027BF20 80 63 00 04 */ lwz r3, 4(r3) +/* 8027EFC4 0027BF24 80 1D 00 04 */ lwz r0, 4(r29) +/* 8027EFC8 0027BF28 7C 03 00 00 */ cmpw r3, r0 +/* 8027EFCC 0027BF2C 40 82 00 10 */ bne lbl_8027EFDC +/* 8027EFD0 0027BF30 80 7D 06 E4 */ lwz r3, 0x6e4(r29) +/* 8027EFD4 0027BF34 38 03 00 01 */ addi r0, r3, 1 +/* 8027EFD8 0027BF38 90 1D 06 E4 */ stw r0, 0x6e4(r29) +lbl_8027EFDC: +/* 8027EFDC 0027BF3C 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EFE0 0027BF40 41 82 00 14 */ beq lbl_8027EFF4 +/* 8027EFE4 0027BF44 57 C3 18 38 */ slwi r3, r30, 3 +/* 8027EFE8 0027BF48 38 03 00 08 */ addi r0, r3, 8 +/* 8027EFEC 0027BF4C 7F DF 02 AE */ lhax r30, r31, r0 +/* 8027EFF0 0027BF50 48 00 00 08 */ b lbl_8027EFF8 +lbl_8027EFF4: +/* 8027EFF4 0027BF54 3B C0 FF FF */ li r30, -1 +lbl_8027EFF8: +/* 8027EFF8 0027BF58 2C 1E FF FF */ cmpwi r30, -1 +/* 8027EFFC 0027BF5C 40 82 FF 8C */ bne lbl_8027EF88 +/* 8027F000 0027BF60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027F004 0027BF64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027F008 0027BF68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027F00C 0027BF6C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8027F010 0027BF70 7C 08 03 A6 */ mtlr r0 +/* 8027F014 0027BF74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027F018 0027BF78 4E 80 00 20 */ blr + +.global Render__20CMetroidPrimeEssenceCFRC13CStateManager +Render__20CMetroidPrimeEssenceCFRC13CStateManager: +/* 8027F01C 0027BF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027F020 0027BF80 7C 08 02 A6 */ mflr r0 +/* 8027F024 0027BF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027F028 0027BF88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027F02C 0027BF8C 7C 9F 23 78 */ mr r31, r4 +/* 8027F030 0027BF90 93 C1 00 08 */ stw r30, 8(r1) +/* 8027F034 0027BF94 7C 7E 1B 78 */ mr r30, r3 +/* 8027F038 0027BF98 88 03 07 0E */ lbz r0, 0x70e(r3) +/* 8027F03C 0027BF9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8027F040 0027BFA0 41 82 00 14 */ beq lbl_8027F054 +/* 8027F044 0027BFA4 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027F048 0027BFA8 7F E3 FB 78 */ mr r3, r31 +/* 8027F04C 0027BFAC 38 9E 06 B4 */ addi r4, r30, 0x6b4 +/* 8027F050 0027BFB0 4B DC 63 AD */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff +lbl_8027F054: +/* 8027F054 0027BFB4 7F C3 F3 78 */ mr r3, r30 +/* 8027F058 0027BFB8 7F E4 FB 78 */ mr r4, r31 +/* 8027F05C 0027BFBC 4B DF 8F D1 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027F060 0027BFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027F064 0027BFC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027F068 0027BFC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027F06C 0027BFCC 7C 08 03 A6 */ mtlr r0 +/* 8027F070 0027BFD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027F074 0027BFD4 4E 80 00 20 */ blr + +.global PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes +PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes: +/* 8027F078 0027BFD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027F07C 0027BFDC 7C 08 02 A6 */ mflr r0 +/* 8027F080 0027BFE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027F084 0027BFE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027F088 0027BFE8 7C 7F 1B 78 */ mr r31, r3 +/* 8027F08C 0027BFEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027F090 0027BFF0 7C 9E 23 78 */ mr r30, r4 +/* 8027F094 0027BFF4 4B DF 92 49 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 8027F098 0027BFF8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8027F09C 0027BFFC 7F C4 F3 78 */ mr r4, r30 +/* 8027F0A0 0027C000 80 63 00 00 */ lwz r3, 0(r3) +/* 8027F0A4 0027C004 4B E1 24 B5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8027F0A8 0027C008 88 1F 07 0E */ lbz r0, 0x70e(r31) +/* 8027F0AC 0027C00C 3C A0 80 3D */ lis r5, lbl_803D5880@ha +/* 8027F0B0 0027C010 20 83 00 01 */ subfic r4, r3, 1 +/* 8027F0B4 0027C014 54 66 10 3A */ slwi r6, r3, 2 +/* 8027F0B8 0027C018 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027F0BC 0027C01C 38 65 58 80 */ addi r3, r5, lbl_803D5880@l +/* 8027F0C0 0027C020 7C 80 00 34 */ cntlzw r0, r4 +/* 8027F0C4 0027C024 7C A3 30 2E */ lwzx r5, r3, r6 +/* 8027F0C8 0027C028 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027F0CC 0027C02C 41 82 00 B0 */ beq lbl_8027F17C +/* 8027F0D0 0027C030 80 1F 06 DC */ lwz r0, 0x6dc(r31) +/* 8027F0D4 0027C034 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F0D8 0027C038 C0 3F 06 C8 */ lfs f1, 0x6c8(r31) +/* 8027F0DC 0027C03C 7C 05 00 00 */ cmpw r5, r0 +/* 8027F0E0 0027C040 EC 80 08 28 */ fsubs f4, f0, f1 +/* 8027F0E4 0027C044 41 82 00 1C */ beq lbl_8027F100 +/* 8027F0E8 0027C048 80 1F 06 E0 */ lwz r0, 0x6e0(r31) +/* 8027F0EC 0027C04C 7C 05 00 00 */ cmpw r5, r0 +/* 8027F0F0 0027C050 40 82 00 0C */ bne lbl_8027F0FC +/* 8027F0F4 0027C054 FC 80 08 90 */ fmr f4, f1 +/* 8027F0F8 0027C058 48 00 00 08 */ b lbl_8027F100 +lbl_8027F0FC: +/* 8027F0FC 0027C05C C0 82 BD 10 */ lfs f4, lbl_805ADA30@sda21(r2) +lbl_8027F100: +/* 8027F100 0027C060 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F104 0027C064 41 82 00 0C */ beq lbl_8027F110 +/* 8027F108 0027C068 3B C0 00 00 */ li r30, 0 +/* 8027F10C 0027C06C 48 00 00 08 */ b lbl_8027F114 +lbl_8027F110: +/* 8027F110 0027C070 83 DF 06 FC */ lwz r30, 0x6fc(r31) +lbl_8027F114: +/* 8027F114 0027C074 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027F118 0027C078 38 A0 00 05 */ li r5, 5 +/* 8027F11C 0027C07C 38 80 00 00 */ li r4, 0 +/* 8027F120 0027C080 38 00 00 03 */ li r0, 3 +/* 8027F124 0027C084 FC 40 08 90 */ fmr f2, f1 +/* 8027F128 0027C088 98 A1 00 08 */ stb r5, 8(r1) +/* 8027F12C 0027C08C FC 60 08 90 */ fmr f3, f1 +/* 8027F130 0027C090 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F134 0027C094 98 81 00 09 */ stb r4, 9(r1) +/* 8027F138 0027C098 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8027F13C 0027C09C 48 0E 42 B1 */ bl __ct__6CColorFffff +/* 8027F140 0027C0A0 88 A1 00 08 */ lbz r5, 8(r1) +/* 8027F144 0027C0A4 88 81 00 09 */ lbz r4, 9(r1) +/* 8027F148 0027C0A8 A0 61 00 0A */ lhz r3, 0xa(r1) +/* 8027F14C 0027C0AC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027F150 0027C0B0 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 8027F154 0027C0B4 98 A1 00 10 */ stb r5, 0x10(r1) +/* 8027F158 0027C0B8 60 63 00 01 */ ori r3, r3, 1 +/* 8027F15C 0027C0BC 98 BF 00 B4 */ stb r5, 0xb4(r31) +/* 8027F160 0027C0C0 9B DF 00 B5 */ stb r30, 0xb5(r31) +/* 8027F164 0027C0C4 B0 7F 00 B6 */ sth r3, 0xb6(r31) +/* 8027F168 0027C0C8 98 81 00 11 */ stb r4, 0x11(r1) +/* 8027F16C 0027C0CC B0 61 00 12 */ sth r3, 0x12(r1) +/* 8027F170 0027C0D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027F174 0027C0D4 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8027F178 0027C0D8 48 00 00 60 */ b lbl_8027F1D8 +lbl_8027F17C: +/* 8027F17C 0027C0DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F180 0027C0E0 41 82 00 0C */ beq lbl_8027F18C +/* 8027F184 0027C0E4 38 60 00 00 */ li r3, 0 +/* 8027F188 0027C0E8 48 00 00 08 */ b lbl_8027F190 +lbl_8027F18C: +/* 8027F18C 0027C0EC 80 7F 06 FC */ lwz r3, 0x6fc(r31) +lbl_8027F190: +/* 8027F190 0027C0F0 80 1F 06 DC */ lwz r0, 0x6dc(r31) +/* 8027F194 0027C0F4 7C 64 07 74 */ extsb r4, r3 +/* 8027F198 0027C0F8 88 7F 00 B4 */ lbz r3, 0xb4(r31) +/* 8027F19C 0027C0FC 7C 05 00 00 */ cmpw r5, r0 +/* 8027F1A0 0027C100 A0 1F 00 B6 */ lhz r0, 0xb6(r31) +/* 8027F1A4 0027C104 80 BF 00 B8 */ lwz r5, 0xb8(r31) +/* 8027F1A8 0027C108 41 82 00 20 */ beq lbl_8027F1C8 +/* 8027F1AC 0027C10C 98 7F 00 B4 */ stb r3, 0xb4(r31) +/* 8027F1B0 0027C110 54 00 04 3A */ rlwinm r0, r0, 0, 0x10, 0x1d +/* 8027F1B4 0027C114 60 00 00 01 */ ori r0, r0, 1 +/* 8027F1B8 0027C118 98 9F 00 B5 */ stb r4, 0xb5(r31) +/* 8027F1BC 0027C11C B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8027F1C0 0027C120 90 BF 00 B8 */ stw r5, 0xb8(r31) +/* 8027F1C4 0027C124 48 00 00 14 */ b lbl_8027F1D8 +lbl_8027F1C8: +/* 8027F1C8 0027C128 98 7F 00 B4 */ stb r3, 0xb4(r31) +/* 8027F1CC 0027C12C 98 9F 00 B5 */ stb r4, 0xb5(r31) +/* 8027F1D0 0027C130 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8027F1D4 0027C134 90 BF 00 B8 */ stw r5, 0xb8(r31) +lbl_8027F1D8: +/* 8027F1D8 0027C138 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027F1DC 0027C13C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027F1E0 0027C140 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027F1E4 0027C144 7C 08 03 A6 */ mtlr r0 +/* 8027F1E8 0027C148 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027F1EC 0027C14C 4E 80 00 20 */ blr + +.global sub_8027f1f0 +sub_8027f1f0: +/* 8027F1F0 0027C150 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8027F1F4 0027C154 7C 08 02 A6 */ mflr r0 +/* 8027F1F8 0027C158 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027F1FC 0027C15C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8027F200 0027C160 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8027F204 0027C164 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027F208 0027C168 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8027F20C 0027C16C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8027F210 0027C170 7C 9F 23 78 */ mr r31, r4 +/* 8027F214 0027C174 3C 80 80 3D */ lis r4, lbl_803D5880@ha +/* 8027F218 0027C178 80 BF 08 B8 */ lwz r5, 0x8b8(r31) +/* 8027F21C 0027C17C 7C 7E 1B 78 */ mr r30, r3 +/* 8027F220 0027C180 38 84 58 80 */ addi r4, r4, lbl_803D5880@l +/* 8027F224 0027C184 80 03 06 DC */ lwz r0, 0x6dc(r3) +/* 8027F228 0027C188 80 A5 00 00 */ lwz r5, 0(r5) +/* 8027F22C 0027C18C FF E0 08 90 */ fmr f31, f1 +/* 8027F230 0027C190 80 A5 00 14 */ lwz r5, 0x14(r5) +/* 8027F234 0027C194 54 A5 10 3A */ slwi r5, r5, 2 +/* 8027F238 0027C198 7C 84 28 2E */ lwzx r4, r4, r5 +/* 8027F23C 0027C19C 7C 04 00 00 */ cmpw r4, r0 +/* 8027F240 0027C1A0 40 82 00 88 */ bne lbl_8027F2C8 +/* 8027F244 0027C1A4 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027F248 0027C1A8 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F24C 0027C1AC C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) +/* 8027F250 0027C1B0 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8027F254 0027C1B4 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 8027F258 0027C1B8 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 8027F25C 0027C1BC 88 01 00 09 */ lbz r0, 9(r1) +/* 8027F260 0027C1C0 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8027F264 0027C1C4 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) +/* 8027F268 0027C1C8 C0 1E 06 CC */ lfs f0, 0x6cc(r30) +/* 8027F26C 0027C1CC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8027F270 0027C1D0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027F274 0027C1D4 EC 02 08 3A */ fmadds f0, f2, f0, f1 +/* 8027F278 0027C1D8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8027F27C 0027C1DC D0 04 00 04 */ stfs f0, 4(r4) +/* 8027F280 0027C1E0 D0 04 00 08 */ stfs f0, 8(r4) +/* 8027F284 0027C1E4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F288 0027C1E8 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8027F28C 0027C1EC 28 00 00 01 */ cmplwi r0, 1 +/* 8027F290 0027C1F0 41 82 00 C4 */ beq lbl_8027F354 +/* 8027F294 0027C1F4 7F E6 FB 78 */ mr r6, r31 +/* 8027F298 0027C1F8 38 80 00 29 */ li r4, 0x29 +/* 8027F29C 0027C1FC 38 A0 00 28 */ li r5, 0x28 +/* 8027F2A0 0027C200 4B DD 50 15 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8027F2A4 0027C204 7F C3 F3 78 */ mr r3, r30 +/* 8027F2A8 0027C208 7F E4 FB 78 */ mr r4, r31 +/* 8027F2AC 0027C20C 38 A0 00 01 */ li r5, 1 +/* 8027F2B0 0027C210 4B FF E4 E1 */ bl sub_8027d790 +/* 8027F2B4 0027C214 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F2B8 0027C218 38 60 00 01 */ li r3, 1 +/* 8027F2BC 0027C21C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027F2C0 0027C220 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027F2C4 0027C224 48 00 00 90 */ b lbl_8027F354 +lbl_8027F2C8: +/* 8027F2C8 0027C228 80 1E 06 E0 */ lwz r0, 0x6e0(r30) +/* 8027F2CC 0027C22C 7C 04 00 00 */ cmpw r4, r0 +/* 8027F2D0 0027C230 40 82 00 0C */ bne lbl_8027F2DC +/* 8027F2D4 0027C234 C0 5E 06 C8 */ lfs f2, 0x6c8(r30) +/* 8027F2D8 0027C238 48 00 00 08 */ b lbl_8027F2E0 +lbl_8027F2DC: +/* 8027F2DC 0027C23C C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +lbl_8027F2E0: +/* 8027F2E0 0027C240 C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) +/* 8027F2E4 0027C244 EC 20 00 B2 */ fmuls f1, f0, f2 +/* 8027F2E8 0027C248 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 +/* 8027F2EC 0027C24C 88 01 00 08 */ lbz r0, 8(r1) +/* 8027F2F0 0027C250 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8027F2F4 0027C254 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) +/* 8027F2F8 0027C258 C0 1E 06 CC */ lfs f0, 0x6cc(r30) +/* 8027F2FC 0027C25C 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8027F300 0027C260 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8027F304 0027C264 EC 02 08 3A */ fmadds f0, f2, f0, f1 +/* 8027F308 0027C268 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027F30C 0027C26C D0 03 00 04 */ stfs f0, 4(r3) +/* 8027F310 0027C270 D0 03 00 08 */ stfs f0, 8(r3) +/* 8027F314 0027C274 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F318 0027C278 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8027F31C 0027C27C 41 82 00 38 */ beq lbl_8027F354 +/* 8027F320 0027C280 7F C3 F3 78 */ mr r3, r30 +/* 8027F324 0027C284 7F E6 FB 78 */ mr r6, r31 +/* 8027F328 0027C288 38 80 00 29 */ li r4, 0x29 +/* 8027F32C 0027C28C 38 A0 00 28 */ li r5, 0x28 +/* 8027F330 0027C290 4B DD 4B A5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8027F334 0027C294 7F C3 F3 78 */ mr r3, r30 +/* 8027F338 0027C298 7F E4 FB 78 */ mr r4, r31 +/* 8027F33C 0027C29C 38 A0 00 00 */ li r5, 0 +/* 8027F340 0027C2A0 4B FF E4 51 */ bl sub_8027d790 +/* 8027F344 0027C2A4 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F348 0027C2A8 38 60 00 00 */ li r3, 0 +/* 8027F34C 0027C2AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8027F350 0027C2B0 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027F354: +/* 8027F354 0027C2B4 7F C3 F3 78 */ mr r3, r30 +/* 8027F358 0027C2B8 7F E4 FB 78 */ mr r4, r31 +/* 8027F35C 0027C2BC 4B FF DA A1 */ bl sub_8027cdfc +/* 8027F360 0027C2C0 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F364 0027C2C4 7C 7D 1B 78 */ mr r29, r3 +/* 8027F368 0027C2C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027F36C 0027C2CC 41 82 00 5C */ beq lbl_8027F3C8 +/* 8027F370 0027C2D0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) +/* 8027F374 0027C2D4 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F378 0027C2D8 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F37C 0027C2DC EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 8027F380 0027C2E0 D0 3E 06 C8 */ stfs f1, 0x6c8(r30) +/* 8027F384 0027C2E4 C0 7D 00 2C */ lfs f3, 0x2c(r29) +/* 8027F388 0027C2E8 C0 5D 00 1C */ lfs f2, 0x1c(r29) +/* 8027F38C 0027C2EC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8027F390 0027C2F0 D0 3E 06 B4 */ stfs f1, 0x6b4(r30) +/* 8027F394 0027C2F4 D0 5E 06 B8 */ stfs f2, 0x6b8(r30) +/* 8027F398 0027C2F8 D0 7E 06 BC */ stfs f3, 0x6bc(r30) +/* 8027F39C 0027C2FC C0 3E 06 C8 */ lfs f1, 0x6c8(r30) +/* 8027F3A0 0027C300 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F3A4 0027C304 40 80 00 24 */ bge lbl_8027F3C8 +/* 8027F3A8 0027C308 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) +/* 8027F3AC 0027C30C 38 60 00 00 */ li r3, 0 +/* 8027F3B0 0027C310 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F3B4 0027C314 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8027F3B8 0027C318 98 1E 07 0E */ stb r0, 0x70e(r30) +/* 8027F3BC 0027C31C 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F3C0 0027C320 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027F3C4 0027C324 98 1E 07 0E */ stb r0, 0x70e(r30) +lbl_8027F3C8: +/* 8027F3C8 0027C328 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F3CC 0027C32C 28 03 00 00 */ cmplwi r3, 0 +/* 8027F3D0 0027C330 41 82 00 B8 */ beq lbl_8027F488 +/* 8027F3D4 0027C334 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F3D8 0027C338 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8027F3DC 0027C33C 7D 89 03 A6 */ mtctr r12 +/* 8027F3E0 0027C340 4E 80 04 21 */ bctrl +/* 8027F3E4 0027C344 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027F3E8 0027C348 40 82 00 78 */ bne lbl_8027F460 +/* 8027F3EC 0027C34C 83 FE 06 5C */ lwz r31, 0x65c(r30) +/* 8027F3F0 0027C350 7F A4 EB 78 */ mr r4, r29 +/* 8027F3F4 0027C354 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027F3F8 0027C358 48 09 38 49 */ bl GetRotation__12CTransform4fCFv +/* 8027F3FC 0027C35C 7F E3 FB 78 */ mr r3, r31 +/* 8027F400 0027C360 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027F404 0027C364 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027F408 0027C368 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027F40C 0027C36C 7D 89 03 A6 */ mtctr r12 +/* 8027F410 0027C370 4E 80 04 21 */ bctrl +/* 8027F414 0027C374 C0 5D 00 2C */ lfs f2, 0x2c(r29) +/* 8027F418 0027C378 38 81 00 0C */ addi r4, r1, 0xc +/* 8027F41C 0027C37C C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 8027F420 0027C380 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 8027F424 0027C384 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8027F428 0027C388 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8027F42C 0027C38C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8027F430 0027C390 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F434 0027C394 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F438 0027C398 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8027F43C 0027C39C 7D 89 03 A6 */ mtctr r12 +/* 8027F440 0027C3A0 4E 80 04 21 */ bctrl +/* 8027F444 0027C3A4 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F448 0027C3A8 FC 20 F8 90 */ fmr f1, f31 +/* 8027F44C 0027C3AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F450 0027C3B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027F454 0027C3B4 7D 89 03 A6 */ mtctr r12 +/* 8027F458 0027C3B8 4E 80 04 21 */ bctrl +/* 8027F45C 0027C3BC 48 00 00 2C */ b lbl_8027F488 +lbl_8027F460: +/* 8027F460 0027C3C0 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 8027F464 0027C3C4 28 03 00 00 */ cmplwi r3, 0 +/* 8027F468 0027C3C8 41 82 00 18 */ beq lbl_8027F480 +/* 8027F46C 0027C3CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F470 0027C3D0 38 80 00 01 */ li r4, 1 +/* 8027F474 0027C3D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027F478 0027C3D8 7D 89 03 A6 */ mtctr r12 +/* 8027F47C 0027C3DC 4E 80 04 21 */ bctrl +lbl_8027F480: +/* 8027F480 0027C3E0 38 00 00 00 */ li r0, 0 +/* 8027F484 0027C3E4 90 1E 06 5C */ stw r0, 0x65c(r30) +lbl_8027F488: +/* 8027F488 0027C3E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8027F48C 0027C3EC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8027F490 0027C3F0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8027F494 0027C3F4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027F498 0027C3F8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8027F49C 0027C3FC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8027F4A0 0027C400 7C 08 03 A6 */ mtlr r0 +/* 8027F4A4 0027C404 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027F4A8 0027C408 4E 80 00 20 */ blr + +.global Think__20CMetroidPrimeEssenceFfR13CStateManager +Think__20CMetroidPrimeEssenceFfR13CStateManager: +/* 8027F4AC 0027C40C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027F4B0 0027C410 7C 08 02 A6 */ mflr r0 +/* 8027F4B4 0027C414 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F4B8 0027C418 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027F4BC 0027C41C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027F4C0 0027C420 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F4C4 0027C424 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F4C8 0027C428 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027F4CC 0027C42C FF E0 08 90 */ fmr f31, f1 +/* 8027F4D0 0027C430 7C 7E 1B 78 */ mr r30, r3 +/* 8027F4D4 0027C434 7C 9F 23 78 */ mr r31, r4 +/* 8027F4D8 0027C438 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027F4DC 0027C43C 41 82 00 F8 */ beq lbl_8027F5D4 +/* 8027F4E0 0027C440 4B DF A6 39 */ bl Think__10CPatternedFfR13CStateManager +/* 8027F4E4 0027C444 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8027F4E8 0027C448 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027F4EC 0027C44C 41 82 00 14 */ beq lbl_8027F500 +/* 8027F4F0 0027C450 FC 20 F8 90 */ fmr f1, f31 +/* 8027F4F4 0027C454 7F C3 F3 78 */ mr r3, r30 +/* 8027F4F8 0027C458 7F E4 FB 78 */ mr r4, r31 +/* 8027F4FC 0027C45C 4B FF FC F5 */ bl sub_8027f1f0 +lbl_8027F500: +/* 8027F500 0027C460 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027F504 0027C464 FC 20 F8 90 */ fmr f1, f31 +/* 8027F508 0027C468 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8027F50C 0027C46C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027F510 0027C470 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 8027F514 0027C474 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 8027F518 0027C478 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8027F51C 0027C47C EC 46 00 28 */ fsubs f2, f6, f0 +/* 8027F520 0027C480 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8027F524 0027C484 C0 9E 00 40 */ lfs f4, 0x40(r30) +/* 8027F528 0027C488 EC 65 18 28 */ fsubs f3, f5, f3 +/* 8027F52C 0027C48C D0 01 00 08 */ stfs f0, 8(r1) +/* 8027F530 0027C490 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8027F534 0027C494 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8027F538 0027C498 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8027F53C 0027C49C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8027F540 0027C4A0 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8027F544 0027C4A4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027F548 0027C4A8 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 8027F54C 0027C4AC 4B EB B1 59 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 8027F550 0027C4B0 FC 20 F8 90 */ fmr f1, f31 +/* 8027F554 0027C4B4 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027F558 0027C4B8 7F E4 FB 78 */ mr r4, r31 +/* 8027F55C 0027C4BC 38 A0 00 00 */ li r5, 0 +/* 8027F560 0027C4C0 4B F2 7E F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8027F564 0027C4C4 7F C3 F3 78 */ mr r3, r30 +/* 8027F568 0027C4C8 7F E4 FB 78 */ mr r4, r31 +/* 8027F56C 0027C4CC 48 00 00 89 */ bl sub_8027f5f4 +/* 8027F570 0027C4D0 7F C3 F3 78 */ mr r3, r30 +/* 8027F574 0027C4D4 7F E4 FB 78 */ mr r4, r31 +/* 8027F578 0027C4D8 4B FF F9 E1 */ bl sub_8027ef58 +/* 8027F57C 0027C4DC 88 1E 07 0E */ lbz r0, 0x70e(r30) +/* 8027F580 0027C4E0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8027F584 0027C4E4 41 82 00 50 */ beq lbl_8027F5D4 +/* 8027F588 0027C4E8 C0 42 BD 38 */ lfs f2, lbl_805ADA58@sda21(r2) +/* 8027F58C 0027C4EC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) +/* 8027F590 0027C4F0 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F594 0027C4F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8027F598 0027C4F8 D0 3E 06 D4 */ stfs f1, 0x6d4(r30) +/* 8027F59C 0027C4FC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) +/* 8027F5A0 0027C500 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F5A4 0027C504 4C 41 13 82 */ cror 2, 1, 2 +/* 8027F5A8 0027C508 40 82 00 0C */ bne lbl_8027F5B4 +/* 8027F5AC 0027C50C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F5B0 0027C510 D0 1E 06 D4 */ stfs f0, 0x6d4(r30) +lbl_8027F5B4: +/* 8027F5B4 0027C514 C0 5E 06 D4 */ lfs f2, 0x6d4(r30) +/* 8027F5B8 0027C518 7F C3 F3 78 */ mr r3, r30 +/* 8027F5BC 0027C51C C0 22 BD 64 */ lfs f1, lbl_805ADA84@sda21(r2) +/* 8027F5C0 0027C520 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027F5C4 0027C524 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8027F5C8 0027C528 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8027F5CC 0027C52C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8027F5D0 0027C530 4B FF D8 8D */ bl sub_8027ce5c +lbl_8027F5D4: +/* 8027F5D4 0027C534 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027F5D8 0027C538 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027F5DC 0027C53C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027F5E0 0027C540 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F5E4 0027C544 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F5E8 0027C548 7C 08 03 A6 */ mtlr r0 +/* 8027F5EC 0027C54C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027F5F0 0027C550 4E 80 00 20 */ blr + +.global sub_8027f5f4 +sub_8027f5f4: +/* 8027F5F4 0027C554 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8027F5F8 0027C558 7C 08 02 A6 */ mflr r0 +/* 8027F5FC 0027C55C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F600 0027C560 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8027F604 0027C564 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8027F608 0027C568 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F60C 0027C56C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F610 0027C570 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027F614 0027C574 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8027F618 0027C578 7C 7D 1B 78 */ mr r29, r3 +/* 8027F61C 0027C57C 7C 9E 23 78 */ mr r30, r4 +/* 8027F620 0027C580 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027F624 0027C584 41 82 00 E0 */ beq lbl_8027F704 +/* 8027F628 0027C588 A0 1D 07 06 */ lhz r0, 0x706(r29) +/* 8027F62C 0027C58C 7F C3 F3 78 */ mr r3, r30 +/* 8027F630 0027C590 38 81 00 08 */ addi r4, r1, 8 +/* 8027F634 0027C594 B0 01 00 08 */ sth r0, 8(r1) +/* 8027F638 0027C598 4B DC CF 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027F63C 0027C59C 7C 64 1B 78 */ mr r4, r3 +/* 8027F640 0027C5A0 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F644 0027C5A4 4B E2 FD 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027F648 0027C5A8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8027F64C 0027C5AC 28 1F 00 00 */ cmplwi r31, 0 +/* 8027F650 0027C5B0 41 82 00 50 */ beq lbl_8027F6A0 +/* 8027F654 0027C5B4 7F A3 EB 78 */ mr r3, r29 +/* 8027F658 0027C5B8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F65C 0027C5BC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027F660 0027C5C0 7D 89 03 A6 */ mtctr r12 +/* 8027F664 0027C5C4 4E 80 04 21 */ bctrl +/* 8027F668 0027C5C8 7C 64 1B 78 */ mr r4, r3 +/* 8027F66C 0027C5CC 7F E3 FB 78 */ mr r3, r31 +/* 8027F670 0027C5D0 4B F2 95 29 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 8027F674 0027C5D4 7F E3 FB 78 */ mr r3, r31 +/* 8027F678 0027C5D8 7F C4 F3 78 */ mr r4, r30 +/* 8027F67C 0027C5DC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027F680 0027C5E0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F684 0027C5E4 7D 89 03 A6 */ mtctr r12 +/* 8027F688 0027C5E8 4E 80 04 21 */ bctrl +/* 8027F68C 0027C5EC C3 E3 00 00 */ lfs f31, 0(r3) +/* 8027F690 0027C5F0 7F A3 EB 78 */ mr r3, r29 +/* 8027F694 0027C5F4 7F C4 F3 78 */ mr r4, r30 +/* 8027F698 0027C5F8 4B E2 36 E1 */ bl HealthInfo__3CAiFR13CStateManager +/* 8027F69C 0027C5FC D3 E3 00 00 */ stfs f31, 0(r3) +lbl_8027F6A0: +/* 8027F6A0 0027C600 7F A3 EB 78 */ mr r3, r29 +/* 8027F6A4 0027C604 7F C4 F3 78 */ mr r4, r30 +/* 8027F6A8 0027C608 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F6AC 0027C60C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F6B0 0027C610 7D 89 03 A6 */ mtctr r12 +/* 8027F6B4 0027C614 4E 80 04 21 */ bctrl +/* 8027F6B8 0027C618 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027F6BC 0027C61C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027F6C0 0027C620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027F6C4 0027C624 4C 40 13 82 */ cror 2, 0, 2 +/* 8027F6C8 0027C628 40 82 00 3C */ bne lbl_8027F704 +/* 8027F6CC 0027C62C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027F6D0 0027C630 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027F6D4 0027C634 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8027F6D8 0027C638 7F A3 EB 78 */ mr r3, r29 +/* 8027F6DC 0027C63C 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 8027F6E0 0027C640 7F C4 F3 78 */ mr r4, r30 +/* 8027F6E4 0027C644 38 C0 00 14 */ li r6, 0x14 +/* 8027F6E8 0027C648 7D 89 03 A6 */ mtctr r12 +/* 8027F6EC 0027C64C 4E 80 04 21 */ bctrl +/* 8027F6F0 0027C650 7F A3 EB 78 */ mr r3, r29 +/* 8027F6F4 0027C654 7F C6 F3 78 */ mr r6, r30 +/* 8027F6F8 0027C658 38 80 00 29 */ li r4, 0x29 +/* 8027F6FC 0027C65C 38 A0 00 28 */ li r5, 0x28 +/* 8027F700 0027C660 4B DD 47 D5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_8027F704: +/* 8027F704 0027C664 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8027F708 0027C668 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027F70C 0027C66C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8027F710 0027C670 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F714 0027C674 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F718 0027C678 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027F71C 0027C67C 7C 08 03 A6 */ mtlr r0 +/* 8027F720 0027C680 38 21 00 40 */ addi r1, r1, 0x40 +/* 8027F724 0027C684 4E 80 00 20 */ blr + +.global sub_8027f728 +sub_8027f728: +/* 8027F728 0027C688 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027F72C 0027C68C 7C 08 02 A6 */ mflr r0 +/* 8027F730 0027C690 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027F734 0027C694 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027F738 0027C698 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027F73C 0027C69C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8027F740 0027C6A0 7C 9D 23 78 */ mr r29, r4 +/* 8027F744 0027C6A4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8027F748 0027C6A8 7C 7C 1B 78 */ mr r28, r3 +/* 8027F74C 0027C6AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8027F750 0027C6B0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F754 0027C6B4 7D 89 03 A6 */ mtctr r12 +/* 8027F758 0027C6B8 4E 80 04 21 */ bctrl +/* 8027F75C 0027C6BC A0 1C 07 06 */ lhz r0, 0x706(r28) +/* 8027F760 0027C6C0 7C 7F 1B 78 */ mr r31, r3 +/* 8027F764 0027C6C4 7F A3 EB 78 */ mr r3, r29 +/* 8027F768 0027C6C8 38 81 00 08 */ addi r4, r1, 8 +/* 8027F76C 0027C6CC B0 01 00 08 */ sth r0, 8(r1) +/* 8027F770 0027C6D0 4B DC CE 05 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027F774 0027C6D4 7C 64 1B 78 */ mr r4, r3 +/* 8027F778 0027C6D8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F77C 0027C6DC 4B E2 FB D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027F780 0027C6E0 83 C3 00 04 */ lwz r30, 4(r3) +/* 8027F784 0027C6E4 28 1E 00 00 */ cmplwi r30, 0 +/* 8027F788 0027C6E8 41 82 00 4C */ beq lbl_8027F7D4 +/* 8027F78C 0027C6EC 7F C3 F3 78 */ mr r3, r30 +/* 8027F790 0027C6F0 7F A4 EB 78 */ mr r4, r29 +/* 8027F794 0027C6F4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8027F798 0027C6F8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027F79C 0027C6FC 7D 89 03 A6 */ mtctr r12 +/* 8027F7A0 0027C700 4E 80 04 21 */ bctrl +/* 8027F7A4 0027C704 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8027F7A8 0027C708 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027F7AC 0027C70C C0 1F 00 04 */ lfs f0, 4(r31) +/* 8027F7B0 0027C710 D0 03 00 04 */ stfs f0, 4(r3) +/* 8027F7B4 0027C714 7F 83 E3 78 */ mr r3, r28 +/* 8027F7B8 0027C718 81 9C 00 00 */ lwz r12, 0(r28) +/* 8027F7BC 0027C71C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027F7C0 0027C720 7D 89 03 A6 */ mtctr r12 +/* 8027F7C4 0027C724 4E 80 04 21 */ bctrl +/* 8027F7C8 0027C728 7C 64 1B 78 */ mr r4, r3 +/* 8027F7CC 0027C72C 7F C3 F3 78 */ mr r3, r30 +/* 8027F7D0 0027C730 4B F2 93 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_8027F7D4: +/* 8027F7D4 0027C734 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027F7D8 0027C738 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8027F7DC 0027C73C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8027F7E0 0027C740 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8027F7E4 0027C744 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8027F7E8 0027C748 7C 08 03 A6 */ mtlr r0 +/* 8027F7EC 0027C74C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027F7F0 0027C750 4E 80 00 20 */ blr + +.global sub_8027f7f4 +sub_8027f7f4: +/* 8027F7F4 0027C754 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8027F7F8 0027C758 7C 08 02 A6 */ mflr r0 +/* 8027F7FC 0027C75C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8027F800 0027C760 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8027F804 0027C764 7C B9 2B 78 */ mr r25, r5 +/* 8027F808 0027C768 7C DA 33 78 */ mr r26, r6 +/* 8027F80C 0027C76C 7C 9E 23 78 */ mr r30, r4 +/* 8027F810 0027C770 3B A1 00 60 */ addi r29, r1, 0x60 +/* 8027F814 0027C774 3B 81 00 A4 */ addi r28, r1, 0xa4 +/* 8027F818 0027C778 3B 60 00 00 */ li r27, 0 +/* 8027F81C 0027C77C 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8027F820 0027C780 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8027F824 0027C784 48 00 01 20 */ b lbl_8027F944 +lbl_8027F828: +/* 8027F828 0027C788 80 9E 00 00 */ lwz r4, 0(r30) +/* 8027F82C 0027C78C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8027F830 0027C790 4B D8 54 89 */ bl string_l__4rstlFPCc +/* 8027F834 0027C794 7F E4 FB 78 */ mr r4, r31 +/* 8027F838 0027C798 38 61 00 0C */ addi r3, r1, 0xc +/* 8027F83C 0027C79C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8027F840 0027C7A0 4B DA EF F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027F844 0027C7A4 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8027F848 0027C7A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8027F84C 0027C7AC 98 01 00 10 */ stb r0, 0x10(r1) +/* 8027F850 0027C7B0 48 0B E2 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027F854 0027C7B4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8027F858 0027C7B8 28 00 00 FF */ cmplwi r0, 0xff +/* 8027F85C 0027C7BC 41 82 00 E0 */ beq lbl_8027F93C +/* 8027F860 0027C7C0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8027F864 0027C7C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027F868 0027C7C8 4B D8 54 51 */ bl string_l__4rstlFPCc +/* 8027F86C 0027C7CC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8027F870 0027C7D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8027F874 0027C7D4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8027F878 0027C7D8 38 81 00 08 */ addi r4, r1, 8 +/* 8027F87C 0027C7DC 98 01 00 08 */ stb r0, 8(r1) +/* 8027F880 0027C7E0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027F884 0027C7E4 C0 42 BD 14 */ lfs f2, lbl_805ADA34@sda21(r2) +/* 8027F888 0027C7E8 4B F2 8F 85 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8027F88C 0027C7EC 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8027F890 0027C7F0 7F 83 E3 78 */ mr r3, r28 +/* 8027F894 0027C7F4 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8027F898 0027C7F8 7F A4 EB 78 */ mr r4, r29 +/* 8027F89C 0027C7FC 88 A1 00 3C */ lbz r5, 0x3c(r1) +/* 8027F8A0 0027C800 88 01 00 3D */ lbz r0, 0x3d(r1) +/* 8027F8A4 0027C804 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 8027F8A8 0027C808 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 8027F8AC 0027C80C C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 8027F8B0 0027C810 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 8027F8B4 0027C814 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 8027F8B8 0027C818 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 8027F8BC 0027C81C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8027F8C0 0027C820 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8027F8C4 0027C824 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8027F8C8 0027C828 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8027F8CC 0027C82C 98 A1 00 80 */ stb r5, 0x80(r1) +/* 8027F8D0 0027C830 98 01 00 81 */ stb r0, 0x81(r1) +/* 8027F8D4 0027C834 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8027F8D8 0027C838 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 8027F8DC 0027C83C D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 8027F8E0 0027C840 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8027F8E4 0027C844 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8027F8E8 0027C848 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8027F8EC 0027C84C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8027F8F0 0027C850 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8027F8F4 0027C854 48 0B E8 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027F8F8 0027C858 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 8027F8FC 0027C85C 28 1D 00 00 */ cmplwi r29, 0 +/* 8027F900 0027C860 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8027F904 0027C864 B0 01 00 B4 */ sth r0, 0xb4(r1) +/* 8027F908 0027C868 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8027F90C 0027C86C 41 82 00 0C */ beq lbl_8027F918 +/* 8027F910 0027C870 7F A3 EB 78 */ mr r3, r29 +/* 8027F914 0027C874 48 0B E1 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027F918: +/* 8027F918 0027C878 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027F91C 0027C87C 48 0B E1 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027F920 0027C880 7F 43 D3 78 */ mr r3, r26 +/* 8027F924 0027C884 38 81 00 78 */ addi r4, r1, 0x78 +/* 8027F928 0027C888 4B ED 69 09 */ bl sub_80156230 +/* 8027F92C 0027C88C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027F930 0027C890 41 82 00 0C */ beq lbl_8027F93C +/* 8027F934 0027C894 7F 83 E3 78 */ mr r3, r28 +/* 8027F938 0027C898 48 0B E1 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027F93C: +/* 8027F93C 0027C89C 3B DE 00 08 */ addi r30, r30, 8 +/* 8027F940 0027C8A0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8027F944: +/* 8027F944 0027C8A4 7C 1B C8 00 */ cmpw r27, r25 +/* 8027F948 0027C8A8 41 80 FE E0 */ blt lbl_8027F828 +/* 8027F94C 0027C8AC BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8027F950 0027C8B0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8027F954 0027C8B4 7C 08 03 A6 */ mtlr r0 +/* 8027F958 0027C8B8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8027F95C 0027C8BC 4E 80 00 20 */ blr + +.global sub_8027f960 +sub_8027f960: +/* 8027F960 0027C8C0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8027F964 0027C8C4 7C 08 02 A6 */ mflr r0 +/* 8027F968 0027C8C8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027F96C 0027C8CC 38 00 00 00 */ li r0, 0 +/* 8027F970 0027C8D0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8027F974 0027C8D4 7C 9F 23 78 */ mr r31, r4 +/* 8027F978 0027C8D8 38 80 00 01 */ li r4, 1 +/* 8027F97C 0027C8DC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8027F980 0027C8E0 7C 7E 1B 78 */ mr r30, r3 +/* 8027F984 0027C8E4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027F988 0027C8E8 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8027F98C 0027C8EC 93 81 00 60 */ stw r28, 0x60(r1) +/* 8027F990 0027C8F0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8027F994 0027C8F4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8027F998 0027C8F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8027F99C 0027C8FC 4B ED 6E 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8027F9A0 0027C900 7F C3 F3 78 */ mr r3, r30 +/* 8027F9A4 0027C904 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8027F9A8 0027C908 38 8D 98 E4 */ addi r4, r13, lbl_805A84A4@sda21 +/* 8027F9AC 0027C90C 38 A0 00 01 */ li r5, 1 +/* 8027F9B0 0027C910 4B FF FE 45 */ bl sub_8027f7f4 +/* 8027F9B4 0027C914 3C 80 80 3D */ lis r4, lbl_803D589C@ha +/* 8027F9B8 0027C918 38 60 00 18 */ li r3, 0x18 +/* 8027F9BC 0027C91C 38 84 58 9C */ addi r4, r4, lbl_803D589C@l +/* 8027F9C0 0027C920 38 A0 00 00 */ li r5, 0 +/* 8027F9C4 0027C924 38 84 00 1D */ addi r4, r4, 0x1d +/* 8027F9C8 0027C928 48 09 5E A5 */ bl __nw__FUlPCcPCc +/* 8027F9CC 0027C92C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8027F9D0 0027C930 41 82 00 38 */ beq lbl_8027FA08 +/* 8027F9D4 0027C934 81 3E 00 04 */ lwz r9, 4(r30) +/* 8027F9D8 0027C938 7F E4 FB 78 */ mr r4, r31 +/* 8027F9DC 0027C93C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8027F9E0 0027C940 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8027F9E4 0027C944 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8027F9E8 0027C948 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8027F9EC 0027C94C 39 00 00 00 */ li r8, 0 +/* 8027F9F0 0027C950 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027F9F4 0027C954 91 21 00 18 */ stw r9, 0x18(r1) +/* 8027F9F8 0027C958 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027F9FC 0027C95C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027FA00 0027C960 4B F2 7F 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8027FA04 0027C964 7C 7D 1B 78 */ mr r29, r3 +lbl_8027FA08: +/* 8027FA08 0027C968 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA0C 0027C96C 38 80 00 01 */ li r4, 1 +/* 8027FA10 0027C970 4B F2 7E CD */ bl sub_801a78dc +/* 8027FA14 0027C974 93 BE 06 58 */ stw r29, 0x658(r30) +/* 8027FA18 0027C978 7F E4 FB 78 */ mr r4, r31 +/* 8027FA1C 0027C97C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8027FA20 0027C980 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA24 0027C984 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 8027FA28 0027C988 4B F2 78 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FA2C 0027C98C 3B 80 00 00 */ li r28, 0 +/* 8027FA30 0027C990 48 00 00 7C */ b lbl_8027FAAC +lbl_8027FA34: +/* 8027FA34 0027C994 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FA38 0027C998 7F 84 E3 78 */ mr r4, r28 +/* 8027FA3C 0027C99C 4B F2 77 FD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8027FA40 0027C9A0 7C 7D 1B 78 */ mr r29, r3 +/* 8027FA44 0027C9A4 7F E3 FB 78 */ mr r3, r31 +/* 8027FA48 0027C9A8 A0 1D 00 3C */ lhz r0, 0x3c(r29) +/* 8027FA4C 0027C9AC 38 81 00 08 */ addi r4, r1, 8 +/* 8027FA50 0027C9B0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8027FA54 0027C9B4 B0 01 00 08 */ sth r0, 8(r1) +/* 8027FA58 0027C9B8 4B DC CB 1D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FA5C 0027C9BC 7C 64 1B 78 */ mr r4, r3 +/* 8027FA60 0027C9C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027FA64 0027C9C4 4B E2 F8 E9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FA68 0027C9C8 80 03 00 04 */ lwz r0, 4(r3) +/* 8027FA6C 0027C9CC 28 00 00 00 */ cmplwi r0, 0 +/* 8027FA70 0027C9D0 41 82 00 38 */ beq lbl_8027FAA8 +/* 8027FA74 0027C9D4 80 82 BD 00 */ lwz r4, lbl_805ADA20@sda21(r2) +/* 8027FA78 0027C9D8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027FA7C 0027C9DC 4B D8 52 3D */ bl string_l__4rstlFPCc +/* 8027FA80 0027C9E0 38 7D 00 2C */ addi r3, r29, 0x2c +/* 8027FA84 0027C9E4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8027FA88 0027C9E8 4B DD 2B 59 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 8027FA8C 0027C9EC 7C 7D 1B 78 */ mr r29, r3 +/* 8027FA90 0027C9F0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027FA94 0027C9F4 48 0B E0 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027FA98 0027C9F8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8027FA9C 0027C9FC 41 82 00 0C */ beq lbl_8027FAA8 +/* 8027FAA0 0027CA00 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8027FAA4 0027CA04 B0 1E 07 06 */ sth r0, 0x706(r30) +lbl_8027FAA8: +/* 8027FAA8 0027CA08 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8027FAAC: +/* 8027FAAC 0027CA0C 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 8027FAB0 0027CA10 4B F2 77 99 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8027FAB4 0027CA14 7C 1C 18 40 */ cmplw r28, r3 +/* 8027FAB8 0027CA18 41 80 FF 7C */ blt lbl_8027FA34 +/* 8027FABC 0027CA1C 7F C3 F3 78 */ mr r3, r30 +/* 8027FAC0 0027CA20 7F E4 FB 78 */ mr r4, r31 +/* 8027FAC4 0027CA24 4B FF FC 65 */ bl sub_8027f728 +/* 8027FAC8 0027CA28 80 AD 98 F0 */ lwz r5, lbl_805A84B0@sda21(r13) +/* 8027FACC 0027CA2C 38 60 00 00 */ li r3, 0 +/* 8027FAD0 0027CA30 38 80 00 01 */ li r4, 1 +/* 8027FAD4 0027CA34 48 10 A4 21 */ bl __shl2i +/* 8027FAD8 0027CA38 80 AD 98 F4 */ lwz r5, lbl_805A84B4@sda21(r13) +/* 8027FADC 0027CA3C 7C 9C 23 78 */ mr r28, r4 +/* 8027FAE0 0027CA40 7C 7D 1B 78 */ mr r29, r3 +/* 8027FAE4 0027CA44 38 60 00 00 */ li r3, 0 +/* 8027FAE8 0027CA48 38 80 00 01 */ li r4, 1 +/* 8027FAEC 0027CA4C 48 10 A4 09 */ bl __shl2i +/* 8027FAF0 0027CA50 80 AD 98 F8 */ lwz r5, lbl_805A84B8@sda21(r13) +/* 8027FAF4 0027CA54 7F 9C 23 78 */ or r28, r28, r4 +/* 8027FAF8 0027CA58 7F BD 1B 78 */ or r29, r29, r3 +/* 8027FAFC 0027CA5C 38 60 00 00 */ li r3, 0 +/* 8027FB00 0027CA60 38 80 00 01 */ li r4, 1 +/* 8027FB04 0027CA64 48 10 A3 F1 */ bl __shl2i +/* 8027FB08 0027CA68 80 AD 98 EC */ lwz r5, lbl_805A84AC@sda21(r13) +/* 8027FB0C 0027CA6C 7F 9C 23 78 */ or r28, r28, r4 +/* 8027FB10 0027CA70 7F BD 1B 78 */ or r29, r29, r3 +/* 8027FB14 0027CA74 38 60 00 00 */ li r3, 0 +/* 8027FB18 0027CA78 38 80 00 01 */ li r4, 1 +/* 8027FB1C 0027CA7C 48 10 A3 D9 */ bl __shl2i +/* 8027FB20 0027CA80 38 00 00 03 */ li r0, 3 +/* 8027FB24 0027CA84 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8027FB28 0027CA88 38 81 00 48 */ addi r4, r1, 0x48 +/* 8027FB2C 0027CA8C 90 61 00 48 */ stw r3, 0x48(r1) +/* 8027FB30 0027CA90 7F C3 F3 78 */ mr r3, r30 +/* 8027FB34 0027CA94 93 81 00 54 */ stw r28, 0x54(r1) +/* 8027FB38 0027CA98 93 A1 00 50 */ stw r29, 0x50(r1) +/* 8027FB3C 0027CA9C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8027FB40 0027CAA0 4B DD 3D 61 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8027FB44 0027CAA4 7F C3 F3 78 */ mr r3, r30 +/* 8027FB48 0027CAA8 7F E5 FB 78 */ mr r5, r31 +/* 8027FB4C 0027CAAC 38 80 00 12 */ li r4, 0x12 +/* 8027FB50 0027CAB0 4B DD 48 01 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027FB54 0027CAB4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027FB58 0027CAB8 38 80 FF FF */ li r4, -1 +/* 8027FB5C 0027CABC 4B ED 67 D1 */ bl sub_8015632c +/* 8027FB60 0027CAC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8027FB64 0027CAC4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8027FB68 0027CAC8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8027FB6C 0027CACC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8027FB70 0027CAD0 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8027FB74 0027CAD4 7C 08 03 A6 */ mtlr r0 +/* 8027FB78 0027CAD8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027FB7C 0027CADC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8027FB80 0027CAE0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8027FB84 0027CAE4 7C 08 02 A6 */ mflr r0 +/* 8027FB88 0027CAE8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8027FB8C 0027CAEC 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8027FB90 0027CAF0 7C DF 33 78 */ mr r31, r6 +/* 8027FB94 0027CAF4 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8027FB98 0027CAF8 7C BE 2B 78 */ mr r30, r5 +/* 8027FB9C 0027CAFC 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8027FBA0 0027CB00 7C 7D 1B 78 */ mr r29, r3 +/* 8027FBA4 0027CB04 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 8027FBA8 0027CB08 7C 9C 23 78 */ mr r28, r4 +/* 8027FBAC 0027CB0C A0 05 00 00 */ lhz r0, 0(r5) +/* 8027FBB0 0027CB10 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8027FBB4 0027CB14 B0 01 00 50 */ sth r0, 0x50(r1) +/* 8027FBB8 0027CB18 4B DF CF C1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8027FBBC 0027CB1C 28 1C 00 2A */ cmplwi r28, 0x2a +/* 8027FBC0 0027CB20 41 81 04 B8 */ bgt lbl_80280078 +/* 8027FBC4 0027CB24 3C 60 80 3F */ lis r3, lbl_803EB58C@ha +/* 8027FBC8 0027CB28 57 80 10 3A */ slwi r0, r28, 2 +/* 8027FBCC 0027CB2C 38 63 B5 8C */ addi r3, r3, lbl_803EB58C@l +/* 8027FBD0 0027CB30 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8027FBD4 0027CB34 7C 09 03 A6 */ mtctr r0 +/* 8027FBD8 0027CB38 4E 80 04 20 */ bctr +/* 8027FBDC 0027CB3C 7F A3 EB 78 */ mr r3, r29 +/* 8027FBE0 0027CB40 7F E4 FB 78 */ mr r4, r31 +/* 8027FBE4 0027CB44 4B FF FD 7D */ bl sub_8027f960 +/* 8027FBE8 0027CB48 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FBEC 0027CB4C 7F E4 FB 78 */ mr r4, r31 +/* 8027FBF0 0027CB50 38 A0 00 01 */ li r5, 1 +/* 8027FBF4 0027CB54 4B F2 77 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FBF8 0027CB58 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8027FBFC 0027CB5C 7F A3 EB 78 */ mr r3, r29 +/* 8027FC00 0027CB60 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) +/* 8027FC04 0027CB64 7F E4 FB 78 */ mr r4, r31 +/* 8027FC08 0027CB68 C0 45 00 00 */ lfs f2, 0(r5) +/* 8027FC0C 0027CB6C C0 22 BD 6C */ lfs f1, lbl_805ADA8C@sda21(r2) +/* 8027FC10 0027CB70 D0 5D 06 CC */ stfs f2, 0x6cc(r29) +/* 8027FC14 0027CB74 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) +/* 8027FC18 0027CB78 C0 7D 06 CC */ lfs f3, 0x6cc(r29) +/* 8027FC1C 0027CB7C EC 00 18 FA */ fmadds f0, f0, f3, f3 +/* 8027FC20 0027CB80 D0 1D 06 D0 */ stfs f0, 0x6d0(r29) +/* 8027FC24 0027CB84 C0 1D 06 CC */ lfs f0, 0x6cc(r29) +/* 8027FC28 0027CB88 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8027FC2C 0027CB8C EC 02 00 24 */ fdivs f0, f2, f0 +/* 8027FC30 0027CB90 D0 1D 05 5C */ stfs f0, 0x55c(r29) +/* 8027FC34 0027CB94 D0 1D 05 60 */ stfs f0, 0x560(r29) +/* 8027FC38 0027CB98 D0 1D 05 64 */ stfs f0, 0x564(r29) +/* 8027FC3C 0027CB9C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FC40 0027CBA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027FC44 0027CBA4 7D 89 03 A6 */ mtctr r12 +/* 8027FC48 0027CBA8 4E 80 04 21 */ bctrl +/* 8027FC4C 0027CBAC C0 43 00 00 */ lfs f2, 0(r3) +/* 8027FC50 0027CBB0 C0 22 BD 70 */ lfs f1, lbl_805ADA90@sda21(r2) +/* 8027FC54 0027CBB4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027FC58 0027CBB8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8027FC5C 0027CBBC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8027FC60 0027CBC0 D0 3D 06 C0 */ stfs f1, 0x6c0(r29) +/* 8027FC64 0027CBC4 40 81 00 10 */ ble lbl_8027FC74 +/* 8027FC68 0027CBC8 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) +/* 8027FC6C 0027CBCC EC 00 10 24 */ fdivs f0, f0, f2 +/* 8027FC70 0027CBD0 D0 1D 06 C4 */ stfs f0, 0x6c4(r29) +lbl_8027FC74: +/* 8027FC74 0027CBD4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8027FC78 0027CBD8 7F E4 FB 78 */ mr r4, r31 +/* 8027FC7C 0027CBDC 4B EB B0 75 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8027FC80 0027CBE0 48 00 03 F8 */ b lbl_80280078 +/* 8027FC84 0027CBE4 80 FD 00 04 */ lwz r7, 4(r29) +/* 8027FC88 0027CBE8 7F A4 EB 78 */ mr r4, r29 +/* 8027FC8C 0027CBEC 80 DF 08 50 */ lwz r6, 0x850(r31) +/* 8027FC90 0027CBF0 7F E5 FB 78 */ mr r5, r31 +/* 8027FC94 0027CBF4 54 E3 18 38 */ slwi r3, r7, 3 +/* 8027FC98 0027CBF8 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 8027FC9C 0027CBFC 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 8027FCA0 0027CC00 38 03 00 04 */ addi r0, r3, 4 +/* 8027FCA4 0027CC04 90 E1 00 58 */ stw r7, 0x58(r1) +/* 8027FCA8 0027CC08 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027FCAC 0027CC0C 7D 06 00 2E */ lwzx r8, r6, r0 +/* 8027FCB0 0027CC10 38 C0 00 12 */ li r6, 0x12 +/* 8027FCB4 0027CC14 38 E0 00 01 */ li r7, 1 +/* 8027FCB8 0027CC18 81 08 01 2C */ lwz r8, 0x12c(r8) +/* 8027FCBC 0027CC1C 80 08 10 BC */ lwz r0, 0x10bc(r8) +/* 8027FCC0 0027CC20 90 1D 05 74 */ stw r0, 0x574(r29) +/* 8027FCC4 0027CC24 4B F7 52 D5 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8027FCC8 0027CC28 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 8027FCCC 0027CC2C B0 1D 07 04 */ sth r0, 0x704(r29) +/* 8027FCD0 0027CC30 48 00 03 A8 */ b lbl_80280078 +/* 8027FCD4 0027CC34 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FCD8 0027CC38 7F E4 FB 78 */ mr r4, r31 +/* 8027FCDC 0027CC3C 38 A0 00 01 */ li r5, 1 +/* 8027FCE0 0027CC40 4B F2 76 19 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FCE4 0027CC44 48 00 03 94 */ b lbl_80280078 +/* 8027FCE8 0027CC48 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FCEC 0027CC4C 7F E4 FB 78 */ mr r4, r31 +/* 8027FCF0 0027CC50 38 A0 00 00 */ li r5, 0 +/* 8027FCF4 0027CC54 4B F2 76 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027FCF8 0027CC58 48 00 03 80 */ b lbl_80280078 +/* 8027FCFC 0027CC5C 80 7D 06 58 */ lwz r3, 0x658(r29) +/* 8027FD00 0027CC60 7F E4 FB 78 */ mr r4, r31 +/* 8027FD04 0027CC64 4B F2 76 C1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 8027FD08 0027CC68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027FD0C 0027CC6C 7F E3 FB 78 */ mr r3, r31 +/* 8027FD10 0027CC70 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) +/* 8027FD14 0027CC74 38 81 00 48 */ addi r4, r1, 0x48 +/* 8027FD18 0027CC78 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8027FD1C 0027CC7C 38 A0 00 00 */ li r5, 0 +/* 8027FD20 0027CC80 4B DC 42 25 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8027FD24 0027CC84 48 00 03 54 */ b lbl_80280078 +/* 8027FD28 0027CC88 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FD2C 0027CC8C 7F E3 FB 78 */ mr r3, r31 +/* 8027FD30 0027CC90 38 81 00 44 */ addi r4, r1, 0x44 +/* 8027FD34 0027CC94 B0 01 00 44 */ sth r0, 0x44(r1) +/* 8027FD38 0027CC98 4B DC C8 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FD3C 0027CC9C 7C 64 1B 78 */ mr r4, r3 +/* 8027FD40 0027CCA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 8027FD44 0027CCA4 4B E2 F6 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FD48 0027CCA8 80 83 00 04 */ lwz r4, 4(r3) +/* 8027FD4C 0027CCAC 28 04 00 00 */ cmplwi r4, 0 +/* 8027FD50 0027CCB0 41 82 03 28 */ beq lbl_80280078 +/* 8027FD54 0027CCB4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027FD58 0027CCB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8027FD5C 0027CCBC A3 85 00 08 */ lhz r28, 8(r5) +/* 8027FD60 0027CCC0 4B F2 8E 2D */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8027FD64 0027CCC4 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 8027FD68 0027CCC8 7C 00 E0 40 */ cmplw r0, r28 +/* 8027FD6C 0027CCCC 40 82 03 0C */ bne lbl_80280078 +/* 8027FD70 0027CCD0 C0 3D 04 20 */ lfs f1, 0x420(r29) +/* 8027FD74 0027CCD4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) +/* 8027FD78 0027CCD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027FD7C 0027CCDC 4C 40 13 82 */ cror 2, 0, 2 +/* 8027FD80 0027CCE0 40 82 02 F8 */ bne lbl_80280078 +/* 8027FD84 0027CCE4 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) +/* 8027FD88 0027CCE8 38 60 00 00 */ li r3, 0 +/* 8027FD8C 0027CCEC 38 80 00 01 */ li r4, 1 +/* 8027FD90 0027CCF0 48 10 A1 65 */ bl __shl2i +/* 8027FD94 0027CCF4 38 A0 00 00 */ li r5, 0 +/* 8027FD98 0027CCF8 38 00 00 03 */ li r0, 3 +/* 8027FD9C 0027CCFC 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8027FDA0 0027CD00 7F A4 EB 78 */ mr r4, r29 +/* 8027FDA4 0027CD04 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8027FDA8 0027CD08 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8027FDAC 0027CD0C 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 8027FDB0 0027CD10 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 8027FDB4 0027CD14 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8027FDB8 0027CD18 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8027FDBC 0027CD1C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8027FDC0 0027CD20 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027FDC4 0027CD24 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8027FDC8 0027CD28 A0 A5 00 08 */ lhz r5, 8(r5) +/* 8027FDCC 0027CD2C B0 A1 00 34 */ sth r5, 0x34(r1) +/* 8027FDD0 0027CD30 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8027FDD4 0027CD34 B0 A1 00 30 */ sth r5, 0x30(r1) +/* 8027FDD8 0027CD38 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8027FDDC 0027CD3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FDE0 0027CD40 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8027FDE4 0027CD44 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8027FDE8 0027CD48 7D 89 03 A6 */ mtctr r12 +/* 8027FDEC 0027CD4C 4E 80 04 21 */ bctrl +/* 8027FDF0 0027CD50 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027FDF4 0027CD54 7F E3 FB 78 */ mr r3, r31 +/* 8027FDF8 0027CD58 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8027FDFC 0027CD5C 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8027FE00 0027CD60 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027FE04 0027CD64 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8027FE08 0027CD68 38 E1 00 C8 */ addi r7, r1, 0xc8 +/* 8027FE0C 0027CD6C 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8027FE10 0027CD70 4B DC A2 91 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 8027FE14 0027CD74 C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 8027FE18 0027CD78 D0 1D 04 20 */ stfs f0, 0x420(r29) +/* 8027FE1C 0027CD7C 48 00 02 5C */ b lbl_80280078 +/* 8027FE20 0027CD80 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FE24 0027CD84 7F E3 FB 78 */ mr r3, r31 +/* 8027FE28 0027CD88 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027FE2C 0027CD8C B0 01 00 24 */ sth r0, 0x24(r1) +/* 8027FE30 0027CD90 4B DC C7 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027FE34 0027CD94 7C 64 1B 78 */ mr r4, r3 +/* 8027FE38 0027CD98 38 61 00 70 */ addi r3, r1, 0x70 +/* 8027FE3C 0027CD9C 4B E2 F5 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027FE40 0027CDA0 83 83 00 04 */ lwz r28, 4(r3) +/* 8027FE44 0027CDA4 28 1C 00 00 */ cmplwi r28, 0 +/* 8027FE48 0027CDA8 41 82 01 70 */ beq lbl_8027FFB8 +/* 8027FE4C 0027CDAC 7F 84 E3 78 */ mr r4, r28 +/* 8027FE50 0027CDB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027FE54 0027CDB4 4B F2 8D 39 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8027FE58 0027CDB8 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 8027FE5C 0027CDBC 7F E3 FB 78 */ mr r3, r31 +/* 8027FE60 0027CDC0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8027FE64 0027CDC4 B0 01 00 54 */ sth r0, 0x54(r1) +/* 8027FE68 0027CDC8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8027FE6C 0027CDCC 4B DC C7 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027FE70 0027CDD0 7C 64 1B 78 */ mr r4, r3 +/* 8027FE74 0027CDD4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8027FE78 0027CDD8 4B E2 D8 95 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8027FE7C 0027CDDC 83 C3 00 04 */ lwz r30, 4(r3) +/* 8027FE80 0027CDE0 28 1E 00 00 */ cmplwi r30, 0 +/* 8027FE84 0027CDE4 41 82 01 F4 */ beq lbl_80280078 +/* 8027FE88 0027CDE8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027FE8C 0027CDEC A0 9E 00 EC */ lhz r4, 0xec(r30) +/* 8027FE90 0027CDF0 A0 03 00 08 */ lhz r0, 8(r3) +/* 8027FE94 0027CDF4 7C 04 00 40 */ cmplw r4, r0 +/* 8027FE98 0027CDF8 40 82 01 E0 */ bne lbl_80280078 +/* 8027FE9C 0027CDFC 7F 83 E3 78 */ mr r3, r28 +/* 8027FEA0 0027CE00 81 9C 00 00 */ lwz r12, 0(r28) +/* 8027FEA4 0027CE04 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8027FEA8 0027CE08 7D 89 03 A6 */ mtctr r12 +/* 8027FEAC 0027CE0C 4E 80 04 21 */ bctrl +/* 8027FEB0 0027CE10 3B DE 01 2C */ addi r30, r30, 0x12c +/* 8027FEB4 0027CE14 38 A0 00 00 */ li r5, 0 +/* 8027FEB8 0027CE18 7F C4 F3 78 */ mr r4, r30 +/* 8027FEBC 0027CE1C 4B E8 26 C9 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei +/* 8027FEC0 0027CE20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027FEC4 0027CE24 41 82 01 B4 */ beq lbl_80280078 +/* 8027FEC8 0027CE28 80 1E 00 00 */ lwz r0, 0(r30) +/* 8027FECC 0027CE2C 2C 00 00 08 */ cmpwi r0, 8 +/* 8027FED0 0027CE30 40 82 01 A8 */ bne lbl_80280078 +/* 8027FED4 0027CE34 7F A3 EB 78 */ mr r3, r29 +/* 8027FED8 0027CE38 7F E4 FB 78 */ mr r4, r31 +/* 8027FEDC 0027CE3C 4B FF D0 05 */ bl sub_8027cee0 +/* 8027FEE0 0027CE40 81 9D 00 00 */ lwz r12, 0(r29) +/* 8027FEE4 0027CE44 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8027FEE8 0027CE48 7F A3 EB 78 */ mr r3, r29 +/* 8027FEEC 0027CE4C C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 8027FEF0 0027CE50 81 8C 00 90 */ lwz r12, 0x90(r12) +/* 8027FEF4 0027CE54 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 8027FEF8 0027CE58 7D 89 03 A6 */ mtctr r12 +/* 8027FEFC 0027CE5C 4E 80 04 21 */ bctrl +/* 8027FF00 0027CE60 88 7D 07 0E */ lbz r3, 0x70e(r29) +/* 8027FF04 0027CE64 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8027FF08 0027CE68 40 82 01 70 */ bne lbl_80280078 +/* 8027FF0C 0027CE6C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8027FF10 0027CE70 40 82 01 68 */ bne lbl_80280078 +/* 8027FF14 0027CE74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027FF18 0027CE78 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 8027FF1C 0027CE7C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8027FF20 0027CE80 C0 3D 00 48 */ lfs f1, 0x48(r29) +/* 8027FF24 0027CE84 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 8027FF28 0027CE88 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8027FF2C 0027CE8C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8027FF30 0027CE90 38 C0 00 04 */ li r6, 4 +/* 8027FF34 0027CE94 38 00 00 01 */ li r0, 1 +/* 8027FF38 0027CE98 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FF3C 0027CE9C 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 8027FF40 0027CEA0 3B C3 00 04 */ addi r30, r3, 4 +/* 8027FF44 0027CEA4 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 8027FF48 0027CEA8 7F C3 F3 78 */ mr r3, r30 +/* 8027FF4C 0027CEAC 38 80 00 04 */ li r4, 4 +/* 8027FF50 0027CEB0 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FF54 0027CEB4 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8027FF58 0027CEB8 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8027FF5C 0027CEBC D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8027FF60 0027CEC0 90 01 00 AC */ stw r0, 0xac(r1) +/* 8027FF64 0027CEC4 4B EB 14 D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8027FF68 0027CEC8 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8027FF6C 0027CECC 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8027FF70 0027CED0 38 A3 AA 44 */ addi r5, r3, lbl_803DAA44@l +/* 8027FF74 0027CED4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027FF78 0027CED8 90 1E 00 F8 */ stw r0, 0xf8(r30) +/* 8027FF7C 0027CEDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8027FF80 0027CEE0 80 E1 00 A0 */ lwz r7, 0xa0(r1) +/* 8027FF84 0027CEE4 7F A3 EB 78 */ mr r3, r29 +/* 8027FF88 0027CEE8 80 C1 00 A4 */ lwz r6, 0xa4(r1) +/* 8027FF8C 0027CEEC 7F E4 FB 78 */ mr r4, r31 +/* 8027FF90 0027CEF0 90 FE 00 FC */ stw r7, 0xfc(r30) +/* 8027FF94 0027CEF4 80 E1 00 A8 */ lwz r7, 0xa8(r1) +/* 8027FF98 0027CEF8 90 DE 01 00 */ stw r6, 0x100(r30) +/* 8027FF9C 0027CEFC 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 8027FFA0 0027CF00 90 FE 01 04 */ stw r7, 0x104(r30) +/* 8027FFA4 0027CF04 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8027FFA8 0027CF08 90 DE 01 08 */ stw r6, 0x108(r30) +/* 8027FFAC 0027CF0C 90 01 00 98 */ stw r0, 0x98(r1) +/* 8027FFB0 0027CF10 4B FF CD 31 */ bl sub_8027cce0 +/* 8027FFB4 0027CF14 48 00 00 C4 */ b lbl_80280078 +lbl_8027FFB8: +/* 8027FFB8 0027CF18 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8027FFBC 0027CF1C 7F E3 FB 78 */ mr r3, r31 +/* 8027FFC0 0027CF20 38 81 00 18 */ addi r4, r1, 0x18 +/* 8027FFC4 0027CF24 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8027FFC8 0027CF28 4B DC C5 DD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027FFCC 0027CF2C 7C 64 1B 78 */ mr r4, r3 +/* 8027FFD0 0027CF30 38 61 00 60 */ addi r3, r1, 0x60 +/* 8027FFD4 0027CF34 4B E2 D7 39 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8027FFD8 0027CF38 83 83 00 04 */ lwz r28, 4(r3) +/* 8027FFDC 0027CF3C 28 1C 00 00 */ cmplwi r28, 0 +/* 8027FFE0 0027CF40 41 82 00 98 */ beq lbl_80280078 +/* 8027FFE4 0027CF44 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) +/* 8027FFE8 0027CF48 38 60 00 00 */ li r3, 0 +/* 8027FFEC 0027CF4C 38 80 00 01 */ li r4, 1 +/* 8027FFF0 0027CF50 48 10 9F 05 */ bl __shl2i +/* 8027FFF4 0027CF54 39 00 00 00 */ li r8, 0 +/* 8027FFF8 0027CF58 39 40 00 03 */ li r10, 3 +/* 8027FFFC 0027CF5C 90 81 00 84 */ stw r4, 0x84(r1) +/* 80280000 0027CF60 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80280004 0027CF64 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80280008 0027CF68 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8028000C 0027CF6C 90 61 00 80 */ stw r3, 0x80(r1) +/* 80280010 0027CF70 7F E3 FB 78 */ mr r3, r31 +/* 80280014 0027CF74 38 81 00 14 */ addi r4, r1, 0x14 +/* 80280018 0027CF78 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8028001C 0027CF7C 91 01 00 8C */ stw r8, 0x8c(r1) +/* 80280020 0027CF80 38 C1 00 0C */ addi r6, r1, 0xc +/* 80280024 0027CF84 38 FC 01 2C */ addi r7, r28, 0x12c +/* 80280028 0027CF88 91 01 00 88 */ stw r8, 0x88(r1) +/* 8028002C 0027CF8C 39 01 00 80 */ addi r8, r1, 0x80 +/* 80280030 0027CF90 91 41 00 90 */ stw r10, 0x90(r1) +/* 80280034 0027CF94 A1 7C 00 EC */ lhz r11, 0xec(r28) +/* 80280038 0027CF98 B1 61 00 0C */ sth r11, 0xc(r1) +/* 8028003C 0027CF9C A1 5D 07 06 */ lhz r10, 0x706(r29) +/* 80280040 0027CFA0 B1 61 00 08 */ sth r11, 8(r1) +/* 80280044 0027CFA4 B1 41 00 10 */ sth r10, 0x10(r1) +/* 80280048 0027CFA8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028004C 0027CFAC 4B DC A0 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80280050 0027CFB0 48 00 00 28 */ b lbl_80280078 +/* 80280054 0027CFB4 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 80280058 0027CFB8 38 60 00 01 */ li r3, 1 +/* 8028005C 0027CFBC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80280060 0027CFC0 98 1D 07 0E */ stb r0, 0x70e(r29) +/* 80280064 0027CFC4 48 00 00 14 */ b lbl_80280078 +/* 80280068 0027CFC8 88 1D 07 0E */ lbz r0, 0x70e(r29) +/* 8028006C 0027CFCC 38 60 00 00 */ li r3, 0 +/* 80280070 0027CFD0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80280074 0027CFD4 98 1D 07 0E */ stb r0, 0x70e(r29) +lbl_80280078: +/* 80280078 0027CFD8 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8028007C 0027CFDC 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80280080 0027CFE0 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80280084 0027CFE4 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80280088 0027CFE8 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 8028008C 0027CFEC 7C 08 03 A6 */ mtlr r0 +/* 80280090 0027CFF0 38 21 01 00 */ addi r1, r1, 0x100 +/* 80280094 0027CFF4 4E 80 00 20 */ blr + +.global __dt__20CMetroidPrimeEssenceFv +__dt__20CMetroidPrimeEssenceFv: +/* 80280098 0027CFF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028009C 0027CFFC 7C 08 02 A6 */ mflr r0 +/* 802800A0 0027D000 90 01 00 14 */ stw r0, 0x14(r1) +/* 802800A4 0027D004 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802800A8 0027D008 7C 9F 23 78 */ mr r31, r4 +/* 802800AC 0027D00C 93 C1 00 08 */ stw r30, 8(r1) +/* 802800B0 0027D010 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802800B4 0027D014 41 82 00 E8 */ beq lbl_8028019C +/* 802800B8 0027D018 3C 60 80 3F */ lis r3, lbl_803EB244@ha +/* 802800BC 0027D01C 34 1E 06 5C */ addic. r0, r30, 0x65c +/* 802800C0 0027D020 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l +/* 802800C4 0027D024 90 1E 00 00 */ stw r0, 0(r30) +/* 802800C8 0027D028 41 82 00 24 */ beq lbl_802800EC +/* 802800CC 0027D02C 80 7E 06 5C */ lwz r3, 0x65c(r30) +/* 802800D0 0027D030 28 03 00 00 */ cmplwi r3, 0 +/* 802800D4 0027D034 41 82 00 18 */ beq lbl_802800EC +/* 802800D8 0027D038 81 83 00 00 */ lwz r12, 0(r3) +/* 802800DC 0027D03C 38 80 00 01 */ li r4, 1 +/* 802800E0 0027D040 81 8C 00 08 */ lwz r12, 8(r12) +/* 802800E4 0027D044 7D 89 03 A6 */ mtctr r12 +/* 802800E8 0027D048 4E 80 04 21 */ bctrl +lbl_802800EC: +/* 802800EC 0027D04C 34 1E 06 58 */ addic. r0, r30, 0x658 +/* 802800F0 0027D050 41 82 00 10 */ beq lbl_80280100 +/* 802800F4 0027D054 80 7E 06 58 */ lwz r3, 0x658(r30) +/* 802800F8 0027D058 38 80 00 01 */ li r4, 1 +/* 802800FC 0027D05C 4B F2 77 E1 */ bl sub_801a78dc +lbl_80280100: +/* 80280100 0027D060 34 1E 05 74 */ addic. r0, r30, 0x574 +/* 80280104 0027D064 41 82 00 60 */ beq lbl_80280164 +/* 80280108 0027D068 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 8028010C 0027D06C 41 82 00 58 */ beq lbl_80280164 +/* 80280110 0027D070 80 BE 05 78 */ lwz r5, 0x578(r30) +/* 80280114 0027D074 38 60 00 00 */ li r3, 0 +/* 80280118 0027D078 2C 05 00 00 */ cmpwi r5, 0 +/* 8028011C 0027D07C 40 81 00 40 */ ble lbl_8028015C +/* 80280120 0027D080 2C 05 00 08 */ cmpwi r5, 8 +/* 80280124 0027D084 38 85 FF F8 */ addi r4, r5, -8 +/* 80280128 0027D088 40 81 00 20 */ ble lbl_80280148 +/* 8028012C 0027D08C 38 04 00 07 */ addi r0, r4, 7 +/* 80280130 0027D090 54 00 E8 FE */ srwi r0, r0, 3 +/* 80280134 0027D094 7C 09 03 A6 */ mtctr r0 +/* 80280138 0027D098 2C 04 00 00 */ cmpwi r4, 0 +/* 8028013C 0027D09C 40 81 00 0C */ ble lbl_80280148 +lbl_80280140: +/* 80280140 0027D0A0 38 63 00 08 */ addi r3, r3, 8 +/* 80280144 0027D0A4 42 00 FF FC */ bdnz lbl_80280140 +lbl_80280148: +/* 80280148 0027D0A8 7C 03 28 50 */ subf r0, r3, r5 +/* 8028014C 0027D0AC 7C 09 03 A6 */ mtctr r0 +/* 80280150 0027D0B0 7C 03 28 00 */ cmpw r3, r5 +/* 80280154 0027D0B4 40 80 00 08 */ bge lbl_8028015C +lbl_80280158: +/* 80280158 0027D0B8 42 00 00 00 */ bdnz lbl_80280158 +lbl_8028015C: +/* 8028015C 0027D0BC 38 00 00 00 */ li r0, 0 +/* 80280160 0027D0C0 90 1E 05 78 */ stw r0, 0x578(r30) +lbl_80280164: +/* 80280164 0027D0C4 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80280168 0027D0C8 41 82 00 18 */ beq lbl_80280180 +/* 8028016C 0027D0CC 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80280170 0027D0D0 41 82 00 10 */ beq lbl_80280180 +/* 80280174 0027D0D4 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80280178 0027D0D8 38 80 00 00 */ li r4, 0 +/* 8028017C 0027D0DC 48 0C 0C C5 */ bl __dt__6CTokenFv +lbl_80280180: +/* 80280180 0027D0E0 7F C3 F3 78 */ mr r3, r30 +/* 80280184 0027D0E4 38 80 00 00 */ li r4, 0 +/* 80280188 0027D0E8 4B DF 73 E9 */ bl __dt__10CPatternedFv +/* 8028018C 0027D0EC 7F E0 07 35 */ extsh. r0, r31 +/* 80280190 0027D0F0 40 81 00 0C */ ble lbl_8028019C +/* 80280194 0027D0F4 7F C3 F3 78 */ mr r3, r30 +/* 80280198 0027D0F8 48 09 57 99 */ bl Free__7CMemoryFPCv +lbl_8028019C: +/* 8028019C 0027D0FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802801A0 0027D100 7F C3 F3 78 */ mr r3, r30 +/* 802801A4 0027D104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802801A8 0027D108 83 C1 00 08 */ lwz r30, 8(r1) +/* 802801AC 0027D10C 7C 08 03 A6 */ mtlr r0 +/* 802801B0 0027D110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802801B4 0027D114 4E 80 00 20 */ blr + +.global __ct__20CMetroidPrimeEssence +__ct__20CMetroidPrimeEssence: +/* 802801B8 0027D118 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802801BC 0027D11C 7C 08 02 A6 */ mflr r0 +/* 802801C0 0027D120 39 60 00 01 */ li r11, 1 +/* 802801C4 0027D124 7D 0C 43 78 */ mr r12, r8 +/* 802801C8 0027D128 90 01 00 64 */ stw r0, 0x64(r1) +/* 802801CC 0027D12C BF 01 00 40 */ stmw r24, 0x40(r1) +/* 802801D0 0027D130 7C FB 3B 78 */ mr r27, r7 +/* 802801D4 0027D134 7D 38 4B 78 */ mr r24, r9 +/* 802801D8 0027D138 83 81 00 68 */ lwz r28, 0x68(r1) +/* 802801DC 0027D13C 83 A1 00 6C */ lwz r29, 0x6c(r1) +/* 802801E0 0027D140 7C 7A 1B 78 */ mr r26, r3 +/* 802801E4 0027D144 83 C1 00 70 */ lwz r30, 0x70(r1) +/* 802801E8 0027D148 7F 69 DB 78 */ mr r9, r27 +/* 802801EC 0027D14C 83 E1 00 74 */ lwz r31, 0x74(r1) +/* 802801F0 0027D150 38 E0 00 00 */ li r7, 0 +/* 802801F4 0027D154 83 21 00 78 */ lwz r25, 0x78(r1) +/* 802801F8 0027D158 A0 04 00 00 */ lhz r0, 0(r4) +/* 802801FC 0027D15C 7C C4 33 78 */ mr r4, r6 +/* 80280200 0027D160 7C A6 2B 78 */ mr r6, r5 +/* 80280204 0027D164 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80280208 0027D168 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8028020C 0027D16C 7C 88 23 78 */ mr r8, r4 +/* 80280210 0027D170 38 00 00 03 */ li r0, 3 +/* 80280214 0027D174 38 80 00 16 */ li r4, 0x16 +/* 80280218 0027D178 93 01 00 08 */ stw r24, 8(r1) +/* 8028021C 0027D17C 91 61 00 0C */ stw r11, 0xc(r1) +/* 80280220 0027D180 91 61 00 10 */ stw r11, 0x10(r1) +/* 80280224 0027D184 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280228 0027D188 91 41 00 18 */ stw r10, 0x18(r1) +/* 8028022C 0027D18C 7D 8A 63 78 */ mr r10, r12 +/* 80280230 0027D190 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80280234 0027D194 4B DF D2 1D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80280238 0027D198 3C 60 80 3F */ lis r3, lbl_803EB244@ha +/* 8028023C 0027D19C 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 80280240 0027D1A0 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l +/* 80280244 0027D1A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80280248 0027D1A8 90 1A 00 00 */ stw r0, 0(r26) +/* 8028024C 0027D1AC 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 80280250 0027D1B0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80280254 0027D1B4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80280258 0027D1B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8028025C 0027D1BC 93 21 00 30 */ stw r25, 0x30(r1) +/* 80280260 0027D1C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80280264 0027D1C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80280268 0027D1C8 7D 89 03 A6 */ mtctr r12 +/* 8028026C 0027D1CC 4E 80 04 21 */ bctrl +/* 80280270 0027D1D0 3B 3A 05 68 */ addi r25, r26, 0x568 +/* 80280274 0027D1D4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80280278 0027D1D8 7F 23 CB 78 */ mr r3, r25 +/* 8028027C 0027D1DC 48 0C 0C 2D */ bl __ct__6CTokenFRC6CToken +/* 80280280 0027D1E0 7F 23 CB 78 */ mr r3, r25 +/* 80280284 0027D1E4 48 0C 0B 89 */ bl GetObj__6CTokenFv +/* 80280288 0027D1E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8028028C 0027D1EC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80280290 0027D1F0 38 80 FF FF */ li r4, -1 +/* 80280294 0027D1F4 90 19 00 08 */ stw r0, 8(r25) +/* 80280298 0027D1F8 48 0C 0B A9 */ bl __dt__6CTokenFv +/* 8028029C 0027D1FC C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) +/* 802802A0 0027D200 38 7A 05 74 */ addi r3, r26, 0x574 +/* 802802A4 0027D204 80 D8 01 0C */ lwz r6, 0x10c(r24) +/* 802802A8 0027D208 38 80 00 00 */ li r4, 0 +/* 802802AC 0027D20C FC 40 08 90 */ fmr f2, f1 +/* 802802B0 0027D210 38 A0 00 03 */ li r5, 3 +/* 802802B4 0027D214 4B F4 8A E1 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 802802B8 0027D218 38 00 00 00 */ li r0, 0 +/* 802802BC 0027D21C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802802C0 0027D220 90 1A 06 58 */ stw r0, 0x658(r26) +/* 802802C4 0027D224 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802802C8 0027D228 38 7A 06 68 */ addi r3, r26, 0x668 +/* 802802CC 0027D22C 90 1A 06 5C */ stw r0, 0x65c(r26) +/* 802802D0 0027D230 93 9A 06 60 */ stw r28, 0x660(r26) +/* 802802D4 0027D234 93 DA 06 64 */ stw r30, 0x664(r26) +/* 802802D8 0027D238 48 09 28 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802802DC 0027D23C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802802E0 0027D240 38 E0 00 00 */ li r7, 0 +/* 802802E4 0027D244 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) +/* 802802E8 0027D248 38 A0 00 02 */ li r5, 2 +/* 802802EC 0027D24C 90 1A 06 98 */ stw r0, 0x698(r26) +/* 802802F0 0027D250 38 80 00 04 */ li r4, 4 +/* 802802F4 0027D254 C0 22 BD 74 */ lfs f1, lbl_805ADA94@sda21(r2) +/* 802802F8 0027D258 38 00 00 01 */ li r0, 1 +/* 802802FC 0027D25C 88 DD 00 04 */ lbz r6, 4(r29) +/* 80280300 0027D260 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 80280304 0027D264 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) +/* 80280308 0027D268 98 DA 06 9C */ stb r6, 0x69c(r26) +/* 8028030C 0027D26C C0 7D 00 08 */ lfs f3, 8(r29) +/* 80280310 0027D270 D0 7A 06 A0 */ stfs f3, 0x6a0(r26) +/* 80280314 0027D274 C0 7D 00 0C */ lfs f3, 0xc(r29) +/* 80280318 0027D278 D0 7A 06 A4 */ stfs f3, 0x6a4(r26) +/* 8028031C 0027D27C C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 80280320 0027D280 D0 7A 06 A8 */ stfs f3, 0x6a8(r26) +/* 80280324 0027D284 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80280328 0027D288 D0 7A 06 AC */ stfs f3, 0x6ac(r26) +/* 8028032C 0027D28C 88 DD 00 18 */ lbz r6, 0x18(r29) +/* 80280330 0027D290 98 DA 06 B0 */ stb r6, 0x6b0(r26) +/* 80280334 0027D294 C0 BB 00 2C */ lfs f5, 0x2c(r27) +/* 80280338 0027D298 C0 9B 00 1C */ lfs f4, 0x1c(r27) +/* 8028033C 0027D29C C0 7B 00 0C */ lfs f3, 0xc(r27) +/* 80280340 0027D2A0 D0 7A 06 B4 */ stfs f3, 0x6b4(r26) +/* 80280344 0027D2A4 D0 9A 06 B8 */ stfs f4, 0x6b8(r26) +/* 80280348 0027D2A8 D0 BA 06 BC */ stfs f5, 0x6bc(r26) +/* 8028034C 0027D2AC D0 5A 06 C0 */ stfs f2, 0x6c0(r26) +/* 80280350 0027D2B0 D0 5A 06 C4 */ stfs f2, 0x6c4(r26) +/* 80280354 0027D2B4 D0 5A 06 C8 */ stfs f2, 0x6c8(r26) +/* 80280358 0027D2B8 D0 3A 06 CC */ stfs f1, 0x6cc(r26) +/* 8028035C 0027D2BC C0 3A 06 CC */ lfs f1, 0x6cc(r26) +/* 80280360 0027D2C0 EC 00 08 7A */ fmadds f0, f0, f1, f1 +/* 80280364 0027D2C4 D0 1A 06 D0 */ stfs f0, 0x6d0(r26) +/* 80280368 0027D2C8 D0 5A 06 D4 */ stfs f2, 0x6d4(r26) +/* 8028036C 0027D2CC 90 FA 06 D8 */ stw r7, 0x6d8(r26) +/* 80280370 0027D2D0 90 FA 06 DC */ stw r7, 0x6dc(r26) +/* 80280374 0027D2D4 80 DA 06 DC */ lwz r6, 0x6dc(r26) +/* 80280378 0027D2D8 90 DA 06 E0 */ stw r6, 0x6e0(r26) +/* 8028037C 0027D2DC 90 FA 06 E4 */ stw r7, 0x6e4(r26) +/* 80280380 0027D2E0 90 BA 06 E8 */ stw r5, 0x6e8(r26) +/* 80280384 0027D2E4 90 9A 06 EC */ stw r4, 0x6ec(r26) +/* 80280388 0027D2E8 90 FA 06 F0 */ stw r7, 0x6f0(r26) +/* 8028038C 0027D2EC 80 9A 06 E8 */ lwz r4, 0x6e8(r26) +/* 80280390 0027D2F0 38 84 FF FF */ addi r4, r4, -1 +/* 80280394 0027D2F4 90 9A 06 F4 */ stw r4, 0x6f4(r26) +/* 80280398 0027D2F8 90 BA 06 F8 */ stw r5, 0x6f8(r26) +/* 8028039C 0027D2FC 90 FA 06 FC */ stw r7, 0x6fc(r26) +/* 802803A0 0027D300 90 1A 07 00 */ stw r0, 0x700(r26) +/* 802803A4 0027D304 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802803A8 0027D308 B0 1A 07 04 */ sth r0, 0x704(r26) +/* 802803AC 0027D30C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802803B0 0027D310 B0 1A 07 06 */ sth r0, 0x706(r26) +/* 802803B4 0027D314 90 FA 07 08 */ stw r7, 0x708(r26) +/* 802803B8 0027D318 48 06 85 F9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 802803BC 0027D31C B0 7A 07 0C */ sth r3, 0x70c(r26) +/* 802803C0 0027D320 38 C0 00 00 */ li r6, 0 +/* 802803C4 0027D324 38 A0 00 01 */ li r5, 1 +/* 802803C8 0027D328 7F 43 D3 78 */ mr r3, r26 +/* 802803CC 0027D32C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803D0 0027D330 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802803D4 0027D334 38 80 00 00 */ li r4, 0 +/* 802803D8 0027D338 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803DC 0027D33C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803E0 0027D340 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802803E4 0027D344 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803E8 0027D348 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803EC 0027D34C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802803F0 0027D350 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 802803F4 0027D354 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 802803F8 0027D358 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802803FC 0027D35C 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280400 0027D360 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280404 0027D364 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80280408 0027D368 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 8028040C 0027D36C 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280410 0027D370 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80280414 0027D374 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280418 0027D378 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 8028041C 0027D37C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 80280420 0027D380 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280424 0027D384 88 1A 07 0E */ lbz r0, 0x70e(r26) +/* 80280428 0027D388 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 8028042C 0027D38C 98 1A 07 0E */ stb r0, 0x70e(r26) +/* 80280430 0027D390 4B DD 29 3D */ bl CreateShadow__6CActorFb +/* 80280434 0027D394 7F 43 D3 78 */ mr r3, r26 +/* 80280438 0027D398 4B DF 74 5D */ bl MakeThermalColdAndHot__10CPatternedFv +/* 8028043C 0027D39C 7F 43 D3 78 */ mr r3, r26 +/* 80280440 0027D3A0 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 80280444 0027D3A4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80280448 0027D3A8 7C 08 03 A6 */ mtlr r0 +/* 8028044C 0027D3AC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80280450 0027D3B0 4E 80 00 20 */ blr + +.global __sinit_CMetroidPrimeEssence_cpp +__sinit_CMetroidPrimeEssence_cpp: +/* 80280454 0027D3B4 80 02 BD 00 */ lwz r0, lbl_805ADA20@sda21(r2) +/* 80280458 0027D3B8 90 0D 98 E4 */ stw r0, lbl_805A84A4@sda21(r13) +/* 8028045C 0027D3BC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s new file mode 100644 index 00000000..b4897024 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.s @@ -0,0 +1,12528 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__16CMetroidPrimeExo +__dt__16CMetroidPrimeExo: +/* 802712AC 0026E20C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802712B0 0026E210 7C 08 02 A6 */ mflr r0 +/* 802712B4 0026E214 90 01 00 24 */ stw r0, 0x24(r1) +/* 802712B8 0026E218 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802712BC 0026E21C 7C 9F 23 78 */ mr r31, r4 +/* 802712C0 0026E220 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802712C4 0026E224 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802712C8 0026E228 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802712CC 0026E22C 93 81 00 10 */ stw r28, 0x10(r1) +/* 802712D0 0026E230 41 82 09 48 */ beq lbl_80271C18 +/* 802712D4 0026E234 3C 60 80 3F */ lis r3, lbl_803EAD54@ha +/* 802712D8 0026E238 34 1E 14 3C */ addic. r0, r30, 0x143c +/* 802712DC 0026E23C 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l +/* 802712E0 0026E240 90 1E 00 00 */ stw r0, 0(r30) +/* 802712E4 0026E244 41 82 00 10 */ beq lbl_802712F4 +/* 802712E8 0026E248 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 802712EC 0026E24C 38 80 00 01 */ li r4, 1 +/* 802712F0 0026E250 48 02 D0 91 */ bl __dt__16CProjectedShadowFv +lbl_802712F4: +/* 802712F4 0026E254 34 1E 13 68 */ addic. r0, r30, 0x1368 +/* 802712F8 0026E258 41 82 00 40 */ beq lbl_80271338 +/* 802712FC 0026E25C 34 1E 13 E8 */ addic. r0, r30, 0x13e8 +/* 80271300 0026E260 41 82 00 10 */ beq lbl_80271310 +/* 80271304 0026E264 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271308 0026E268 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027130C 0026E26C 90 1E 13 E8 */ stw r0, 0x13e8(r30) +lbl_80271310: +/* 80271310 0026E270 34 1E 13 AC */ addic. r0, r30, 0x13ac +/* 80271314 0026E274 41 82 00 10 */ beq lbl_80271324 +/* 80271318 0026E278 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027131C 0026E27C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271320 0026E280 90 1E 13 AC */ stw r0, 0x13ac(r30) +lbl_80271324: +/* 80271324 0026E284 34 1E 13 70 */ addic. r0, r30, 0x1370 +/* 80271328 0026E288 41 82 00 10 */ beq lbl_80271338 +/* 8027132C 0026E28C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271330 0026E290 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271334 0026E294 90 1E 13 70 */ stw r0, 0x1370(r30) +lbl_80271338: +/* 80271338 0026E298 34 1E 12 94 */ addic. r0, r30, 0x1294 +/* 8027133C 0026E29C 41 82 00 40 */ beq lbl_8027137C +/* 80271340 0026E2A0 34 1E 13 14 */ addic. r0, r30, 0x1314 +/* 80271344 0026E2A4 41 82 00 10 */ beq lbl_80271354 +/* 80271348 0026E2A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027134C 0026E2AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271350 0026E2B0 90 1E 13 14 */ stw r0, 0x1314(r30) +lbl_80271354: +/* 80271354 0026E2B4 34 1E 12 D8 */ addic. r0, r30, 0x12d8 +/* 80271358 0026E2B8 41 82 00 10 */ beq lbl_80271368 +/* 8027135C 0026E2BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271360 0026E2C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271364 0026E2C4 90 1E 12 D8 */ stw r0, 0x12d8(r30) +lbl_80271368: +/* 80271368 0026E2C8 34 1E 12 9C */ addic. r0, r30, 0x129c +/* 8027136C 0026E2CC 41 82 00 10 */ beq lbl_8027137C +/* 80271370 0026E2D0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271374 0026E2D4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271378 0026E2D8 90 1E 12 9C */ stw r0, 0x129c(r30) +lbl_8027137C: +/* 8027137C 0026E2DC 34 1E 12 58 */ addic. r0, r30, 0x1258 +/* 80271380 0026E2E0 41 82 00 58 */ beq lbl_802713D8 +/* 80271384 0026E2E4 80 BE 12 58 */ lwz r5, 0x1258(r30) +/* 80271388 0026E2E8 38 60 00 00 */ li r3, 0 +/* 8027138C 0026E2EC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271390 0026E2F0 40 81 00 40 */ ble lbl_802713D0 +/* 80271394 0026E2F4 2C 05 00 08 */ cmpwi r5, 8 +/* 80271398 0026E2F8 38 85 FF F8 */ addi r4, r5, -8 +/* 8027139C 0026E2FC 40 81 00 20 */ ble lbl_802713BC +/* 802713A0 0026E300 38 04 00 07 */ addi r0, r4, 7 +/* 802713A4 0026E304 54 00 E8 FE */ srwi r0, r0, 3 +/* 802713A8 0026E308 7C 09 03 A6 */ mtctr r0 +/* 802713AC 0026E30C 2C 04 00 00 */ cmpwi r4, 0 +/* 802713B0 0026E310 40 81 00 0C */ ble lbl_802713BC +lbl_802713B4: +/* 802713B4 0026E314 38 63 00 08 */ addi r3, r3, 8 +/* 802713B8 0026E318 42 00 FF FC */ bdnz lbl_802713B4 +lbl_802713BC: +/* 802713BC 0026E31C 7C 03 28 50 */ subf r0, r3, r5 +/* 802713C0 0026E320 7C 09 03 A6 */ mtctr r0 +/* 802713C4 0026E324 7C 03 28 00 */ cmpw r3, r5 +/* 802713C8 0026E328 40 80 00 08 */ bge lbl_802713D0 +lbl_802713CC: +/* 802713CC 0026E32C 42 00 00 00 */ bdnz lbl_802713CC +lbl_802713D0: +/* 802713D0 0026E330 38 00 00 00 */ li r0, 0 +/* 802713D4 0026E334 90 1E 12 58 */ stw r0, 0x1258(r30) +lbl_802713D8: +/* 802713D8 0026E338 34 1E 11 60 */ addic. r0, r30, 0x1160 +/* 802713DC 0026E33C 41 82 00 90 */ beq lbl_8027146C +/* 802713E0 0026E340 38 DE 11 64 */ addi r6, r30, 0x1164 +/* 802713E4 0026E344 38 60 00 00 */ li r3, 0 +/* 802713E8 0026E348 48 00 00 70 */ b lbl_80271458 +lbl_802713EC: +/* 802713EC 0026E34C 28 06 00 00 */ cmplwi r6, 0 +/* 802713F0 0026E350 41 82 00 60 */ beq lbl_80271450 +/* 802713F4 0026E354 41 82 00 5C */ beq lbl_80271450 +/* 802713F8 0026E358 80 E6 00 00 */ lwz r7, 0(r6) +/* 802713FC 0026E35C 38 80 00 00 */ li r4, 0 +/* 80271400 0026E360 2C 07 00 00 */ cmpwi r7, 0 +/* 80271404 0026E364 40 81 00 44 */ ble lbl_80271448 +/* 80271408 0026E368 2C 07 00 08 */ cmpwi r7, 8 +/* 8027140C 0026E36C 38 A7 FF F8 */ addi r5, r7, -8 +/* 80271410 0026E370 40 81 00 20 */ ble lbl_80271430 +/* 80271414 0026E374 38 05 00 07 */ addi r0, r5, 7 +/* 80271418 0026E378 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027141C 0026E37C 7C 09 03 A6 */ mtctr r0 +/* 80271420 0026E380 2C 05 00 00 */ cmpwi r5, 0 +/* 80271424 0026E384 40 81 00 0C */ ble lbl_80271430 +lbl_80271428: +/* 80271428 0026E388 38 84 00 08 */ addi r4, r4, 8 +/* 8027142C 0026E38C 42 00 FF FC */ bdnz lbl_80271428 +lbl_80271430: +/* 80271430 0026E390 7C 04 38 50 */ subf r0, r4, r7 +/* 80271434 0026E394 7C 09 03 A6 */ mtctr r0 +/* 80271438 0026E398 7C 04 38 00 */ cmpw r4, r7 +/* 8027143C 0026E39C 40 80 00 0C */ bge lbl_80271448 +lbl_80271440: +/* 80271440 0026E3A0 38 84 00 01 */ addi r4, r4, 1 +/* 80271444 0026E3A4 42 00 FF FC */ bdnz lbl_80271440 +lbl_80271448: +/* 80271448 0026E3A8 38 00 00 00 */ li r0, 0 +/* 8027144C 0026E3AC 90 06 00 00 */ stw r0, 0(r6) +lbl_80271450: +/* 80271450 0026E3B0 38 C6 00 3C */ addi r6, r6, 0x3c +/* 80271454 0026E3B4 38 63 00 01 */ addi r3, r3, 1 +lbl_80271458: +/* 80271458 0026E3B8 80 1E 11 60 */ lwz r0, 0x1160(r30) +/* 8027145C 0026E3BC 7C 03 00 00 */ cmpw r3, r0 +/* 80271460 0026E3C0 41 80 FF 8C */ blt lbl_802713EC +/* 80271464 0026E3C4 38 00 00 00 */ li r0, 0 +/* 80271468 0026E3C8 90 1E 11 60 */ stw r0, 0x1160(r30) +lbl_8027146C: +/* 8027146C 0026E3CC 34 1E 10 8C */ addic. r0, r30, 0x108c +/* 80271470 0026E3D0 41 82 00 40 */ beq lbl_802714B0 +/* 80271474 0026E3D4 34 1E 11 0C */ addic. r0, r30, 0x110c +/* 80271478 0026E3D8 41 82 00 10 */ beq lbl_80271488 +/* 8027147C 0026E3DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271480 0026E3E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271484 0026E3E4 90 1E 11 0C */ stw r0, 0x110c(r30) +lbl_80271488: +/* 80271488 0026E3E8 34 1E 10 D0 */ addic. r0, r30, 0x10d0 +/* 8027148C 0026E3EC 41 82 00 10 */ beq lbl_8027149C +/* 80271490 0026E3F0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271494 0026E3F4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271498 0026E3F8 90 1E 10 D0 */ stw r0, 0x10d0(r30) +lbl_8027149C: +/* 8027149C 0026E3FC 34 1E 10 94 */ addic. r0, r30, 0x1094 +/* 802714A0 0026E400 41 82 00 10 */ beq lbl_802714B0 +/* 802714A4 0026E404 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802714A8 0026E408 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802714AC 0026E40C 90 1E 10 94 */ stw r0, 0x1094(r30) +lbl_802714B0: +/* 802714B0 0026E410 34 1E 10 6C */ addic. r0, r30, 0x106c +/* 802714B4 0026E414 41 82 00 58 */ beq lbl_8027150C +/* 802714B8 0026E418 80 BE 10 6C */ lwz r5, 0x106c(r30) +/* 802714BC 0026E41C 38 60 00 00 */ li r3, 0 +/* 802714C0 0026E420 2C 05 00 00 */ cmpwi r5, 0 +/* 802714C4 0026E424 40 81 00 40 */ ble lbl_80271504 +/* 802714C8 0026E428 2C 05 00 08 */ cmpwi r5, 8 +/* 802714CC 0026E42C 38 85 FF F8 */ addi r4, r5, -8 +/* 802714D0 0026E430 40 81 00 20 */ ble lbl_802714F0 +/* 802714D4 0026E434 38 04 00 07 */ addi r0, r4, 7 +/* 802714D8 0026E438 54 00 E8 FE */ srwi r0, r0, 3 +/* 802714DC 0026E43C 7C 09 03 A6 */ mtctr r0 +/* 802714E0 0026E440 2C 04 00 00 */ cmpwi r4, 0 +/* 802714E4 0026E444 40 81 00 0C */ ble lbl_802714F0 +lbl_802714E8: +/* 802714E8 0026E448 38 63 00 08 */ addi r3, r3, 8 +/* 802714EC 0026E44C 42 00 FF FC */ bdnz lbl_802714E8 +lbl_802714F0: +/* 802714F0 0026E450 7C 03 28 50 */ subf r0, r3, r5 +/* 802714F4 0026E454 7C 09 03 A6 */ mtctr r0 +/* 802714F8 0026E458 7C 03 28 00 */ cmpw r3, r5 +/* 802714FC 0026E45C 40 80 00 08 */ bge lbl_80271504 +lbl_80271500: +/* 80271500 0026E460 42 00 00 00 */ bdnz lbl_80271500 +lbl_80271504: +/* 80271504 0026E464 38 00 00 00 */ li r0, 0 +/* 80271508 0026E468 90 1E 10 6C */ stw r0, 0x106c(r30) +lbl_8027150C: +/* 8027150C 0026E46C 34 1E 10 58 */ addic. r0, r30, 0x1058 +/* 80271510 0026E470 41 82 00 58 */ beq lbl_80271568 +/* 80271514 0026E474 80 BE 10 58 */ lwz r5, 0x1058(r30) +/* 80271518 0026E478 38 60 00 00 */ li r3, 0 +/* 8027151C 0026E47C 2C 05 00 00 */ cmpwi r5, 0 +/* 80271520 0026E480 40 81 00 40 */ ble lbl_80271560 +/* 80271524 0026E484 2C 05 00 08 */ cmpwi r5, 8 +/* 80271528 0026E488 38 85 FF F8 */ addi r4, r5, -8 +/* 8027152C 0026E48C 40 81 00 20 */ ble lbl_8027154C +/* 80271530 0026E490 38 04 00 07 */ addi r0, r4, 7 +/* 80271534 0026E494 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271538 0026E498 7C 09 03 A6 */ mtctr r0 +/* 8027153C 0026E49C 2C 04 00 00 */ cmpwi r4, 0 +/* 80271540 0026E4A0 40 81 00 0C */ ble lbl_8027154C +lbl_80271544: +/* 80271544 0026E4A4 38 63 00 08 */ addi r3, r3, 8 +/* 80271548 0026E4A8 42 00 FF FC */ bdnz lbl_80271544 +lbl_8027154C: +/* 8027154C 0026E4AC 7C 03 28 50 */ subf r0, r3, r5 +/* 80271550 0026E4B0 7C 09 03 A6 */ mtctr r0 +/* 80271554 0026E4B4 7C 03 28 00 */ cmpw r3, r5 +/* 80271558 0026E4B8 40 80 00 08 */ bge lbl_80271560 +lbl_8027155C: +/* 8027155C 0026E4BC 42 00 00 00 */ bdnz lbl_8027155C +lbl_80271560: +/* 80271560 0026E4C0 38 00 00 00 */ li r0, 0 +/* 80271564 0026E4C4 90 1E 10 58 */ stw r0, 0x1058(r30) +lbl_80271568: +/* 80271568 0026E4C8 34 1E 10 38 */ addic. r0, r30, 0x1038 +/* 8027156C 0026E4CC 41 82 00 58 */ beq lbl_802715C4 +/* 80271570 0026E4D0 80 BE 10 38 */ lwz r5, 0x1038(r30) +/* 80271574 0026E4D4 38 60 00 00 */ li r3, 0 +/* 80271578 0026E4D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027157C 0026E4DC 40 81 00 40 */ ble lbl_802715BC +/* 80271580 0026E4E0 2C 05 00 08 */ cmpwi r5, 8 +/* 80271584 0026E4E4 38 85 FF F8 */ addi r4, r5, -8 +/* 80271588 0026E4E8 40 81 00 20 */ ble lbl_802715A8 +/* 8027158C 0026E4EC 38 04 00 07 */ addi r0, r4, 7 +/* 80271590 0026E4F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271594 0026E4F4 7C 09 03 A6 */ mtctr r0 +/* 80271598 0026E4F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8027159C 0026E4FC 40 81 00 0C */ ble lbl_802715A8 +lbl_802715A0: +/* 802715A0 0026E500 38 63 00 08 */ addi r3, r3, 8 +/* 802715A4 0026E504 42 00 FF FC */ bdnz lbl_802715A0 +lbl_802715A8: +/* 802715A8 0026E508 7C 03 28 50 */ subf r0, r3, r5 +/* 802715AC 0026E50C 7C 09 03 A6 */ mtctr r0 +/* 802715B0 0026E510 7C 03 28 00 */ cmpw r3, r5 +/* 802715B4 0026E514 40 80 00 08 */ bge lbl_802715BC +lbl_802715B8: +/* 802715B8 0026E518 42 00 00 00 */ bdnz lbl_802715B8 +lbl_802715BC: +/* 802715BC 0026E51C 38 00 00 00 */ li r0, 0 +/* 802715C0 0026E520 90 1E 10 38 */ stw r0, 0x1038(r30) +lbl_802715C4: +/* 802715C4 0026E524 34 1E 10 2C */ addic. r0, r30, 0x102c +/* 802715C8 0026E528 41 82 00 58 */ beq lbl_80271620 +/* 802715CC 0026E52C 80 BE 10 2C */ lwz r5, 0x102c(r30) +/* 802715D0 0026E530 38 60 00 00 */ li r3, 0 +/* 802715D4 0026E534 2C 05 00 00 */ cmpwi r5, 0 +/* 802715D8 0026E538 40 81 00 40 */ ble lbl_80271618 +/* 802715DC 0026E53C 2C 05 00 08 */ cmpwi r5, 8 +/* 802715E0 0026E540 38 85 FF F8 */ addi r4, r5, -8 +/* 802715E4 0026E544 40 81 00 20 */ ble lbl_80271604 +/* 802715E8 0026E548 38 04 00 07 */ addi r0, r4, 7 +/* 802715EC 0026E54C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802715F0 0026E550 7C 09 03 A6 */ mtctr r0 +/* 802715F4 0026E554 2C 04 00 00 */ cmpwi r4, 0 +/* 802715F8 0026E558 40 81 00 0C */ ble lbl_80271604 +lbl_802715FC: +/* 802715FC 0026E55C 38 63 00 08 */ addi r3, r3, 8 +/* 80271600 0026E560 42 00 FF FC */ bdnz lbl_802715FC +lbl_80271604: +/* 80271604 0026E564 7C 03 28 50 */ subf r0, r3, r5 +/* 80271608 0026E568 7C 09 03 A6 */ mtctr r0 +/* 8027160C 0026E56C 7C 03 28 00 */ cmpw r3, r5 +/* 80271610 0026E570 40 80 00 08 */ bge lbl_80271618 +lbl_80271614: +/* 80271614 0026E574 42 00 00 00 */ bdnz lbl_80271614 +lbl_80271618: +/* 80271618 0026E578 38 00 00 00 */ li r0, 0 +/* 8027161C 0026E57C 90 1E 10 2C */ stw r0, 0x102c(r30) +lbl_80271620: +/* 80271620 0026E580 34 1E 10 24 */ addic. r0, r30, 0x1024 +/* 80271624 0026E584 41 82 00 30 */ beq lbl_80271654 +/* 80271628 0026E588 88 1E 10 24 */ lbz r0, 0x1024(r30) +/* 8027162C 0026E58C 28 00 00 00 */ cmplwi r0, 0 +/* 80271630 0026E590 41 82 00 24 */ beq lbl_80271654 +/* 80271634 0026E594 80 7E 10 28 */ lwz r3, 0x1028(r30) +/* 80271638 0026E598 28 03 00 00 */ cmplwi r3, 0 +/* 8027163C 0026E59C 41 82 00 18 */ beq lbl_80271654 +/* 80271640 0026E5A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80271644 0026E5A4 38 80 00 01 */ li r4, 1 +/* 80271648 0026E5A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027164C 0026E5AC 7D 89 03 A6 */ mtctr r12 +/* 80271650 0026E5B0 4E 80 04 21 */ bctrl +lbl_80271654: +/* 80271654 0026E5B4 34 1E 10 1C */ addic. r0, r30, 0x101c +/* 80271658 0026E5B8 41 82 00 10 */ beq lbl_80271668 +/* 8027165C 0026E5BC 38 7E 10 1C */ addi r3, r30, 0x101c +/* 80271660 0026E5C0 38 80 00 00 */ li r4, 0 +/* 80271664 0026E5C4 48 0C F7 DD */ bl __dt__6CTokenFv +lbl_80271668: +/* 80271668 0026E5C8 34 1E 10 14 */ addic. r0, r30, 0x1014 +/* 8027166C 0026E5CC 41 82 00 10 */ beq lbl_8027167C +/* 80271670 0026E5D0 38 7E 10 14 */ addi r3, r30, 0x1014 +/* 80271674 0026E5D4 38 80 00 00 */ li r4, 0 +/* 80271678 0026E5D8 48 0C F7 C9 */ bl __dt__6CTokenFv +lbl_8027167C: +/* 8027167C 0026E5DC 34 1E 10 00 */ addic. r0, r30, 0x1000 +/* 80271680 0026E5E0 41 82 00 60 */ beq lbl_802716E0 +/* 80271684 0026E5E4 3B 9E 10 04 */ addi r28, r30, 0x1004 +/* 80271688 0026E5E8 3B A0 00 00 */ li r29, 0 +/* 8027168C 0026E5EC 48 00 00 40 */ b lbl_802716CC +lbl_80271690: +/* 80271690 0026E5F0 28 1C 00 00 */ cmplwi r28, 0 +/* 80271694 0026E5F4 41 82 00 30 */ beq lbl_802716C4 +/* 80271698 0026E5F8 88 1C 00 00 */ lbz r0, 0(r28) +/* 8027169C 0026E5FC 28 00 00 00 */ cmplwi r0, 0 +/* 802716A0 0026E600 41 82 00 24 */ beq lbl_802716C4 +/* 802716A4 0026E604 80 7C 00 04 */ lwz r3, 4(r28) +/* 802716A8 0026E608 28 03 00 00 */ cmplwi r3, 0 +/* 802716AC 0026E60C 41 82 00 18 */ beq lbl_802716C4 +/* 802716B0 0026E610 81 83 00 00 */ lwz r12, 0(r3) +/* 802716B4 0026E614 38 80 00 01 */ li r4, 1 +/* 802716B8 0026E618 81 8C 00 08 */ lwz r12, 8(r12) +/* 802716BC 0026E61C 7D 89 03 A6 */ mtctr r12 +/* 802716C0 0026E620 4E 80 04 21 */ bctrl +lbl_802716C4: +/* 802716C4 0026E624 3B 9C 00 08 */ addi r28, r28, 8 +/* 802716C8 0026E628 3B BD 00 01 */ addi r29, r29, 1 +lbl_802716CC: +/* 802716CC 0026E62C 80 1E 10 00 */ lwz r0, 0x1000(r30) +/* 802716D0 0026E630 7C 1D 00 00 */ cmpw r29, r0 +/* 802716D4 0026E634 41 80 FF BC */ blt lbl_80271690 +/* 802716D8 0026E638 38 00 00 00 */ li r0, 0 +/* 802716DC 0026E63C 90 1E 10 00 */ stw r0, 0x1000(r30) +lbl_802716E0: +/* 802716E0 0026E640 34 1E 0F EC */ addic. r0, r30, 0xfec +/* 802716E4 0026E644 41 82 00 60 */ beq lbl_80271744 +/* 802716E8 0026E648 3B 9E 0F F0 */ addi r28, r30, 0xff0 +/* 802716EC 0026E64C 3B A0 00 00 */ li r29, 0 +/* 802716F0 0026E650 48 00 00 40 */ b lbl_80271730 +lbl_802716F4: +/* 802716F4 0026E654 28 1C 00 00 */ cmplwi r28, 0 +/* 802716F8 0026E658 41 82 00 30 */ beq lbl_80271728 +/* 802716FC 0026E65C 88 1C 00 00 */ lbz r0, 0(r28) +/* 80271700 0026E660 28 00 00 00 */ cmplwi r0, 0 +/* 80271704 0026E664 41 82 00 24 */ beq lbl_80271728 +/* 80271708 0026E668 80 7C 00 04 */ lwz r3, 4(r28) +/* 8027170C 0026E66C 28 03 00 00 */ cmplwi r3, 0 +/* 80271710 0026E670 41 82 00 18 */ beq lbl_80271728 +/* 80271714 0026E674 81 83 00 00 */ lwz r12, 0(r3) +/* 80271718 0026E678 38 80 00 01 */ li r4, 1 +/* 8027171C 0026E67C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80271720 0026E680 7D 89 03 A6 */ mtctr r12 +/* 80271724 0026E684 4E 80 04 21 */ bctrl +lbl_80271728: +/* 80271728 0026E688 3B 9C 00 08 */ addi r28, r28, 8 +/* 8027172C 0026E68C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271730: +/* 80271730 0026E690 80 1E 0F EC */ lwz r0, 0xfec(r30) +/* 80271734 0026E694 7C 1D 00 00 */ cmpw r29, r0 +/* 80271738 0026E698 41 80 FF BC */ blt lbl_802716F4 +/* 8027173C 0026E69C 38 00 00 00 */ li r0, 0 +/* 80271740 0026E6A0 90 1E 0F EC */ stw r0, 0xfec(r30) +lbl_80271744: +/* 80271744 0026E6A4 34 1E 0F D8 */ addic. r0, r30, 0xfd8 +/* 80271748 0026E6A8 41 82 00 40 */ beq lbl_80271788 +/* 8027174C 0026E6AC 3B 9E 0F DC */ addi r28, r30, 0xfdc +/* 80271750 0026E6B0 3B A0 00 00 */ li r29, 0 +/* 80271754 0026E6B4 48 00 00 20 */ b lbl_80271774 +lbl_80271758: +/* 80271758 0026E6B8 28 1C 00 00 */ cmplwi r28, 0 +/* 8027175C 0026E6BC 41 82 00 10 */ beq lbl_8027176C +/* 80271760 0026E6C0 7F 83 E3 78 */ mr r3, r28 +/* 80271764 0026E6C4 38 80 00 00 */ li r4, 0 +/* 80271768 0026E6C8 48 0C F6 D9 */ bl __dt__6CTokenFv +lbl_8027176C: +/* 8027176C 0026E6CC 3B 9C 00 08 */ addi r28, r28, 8 +/* 80271770 0026E6D0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271774: +/* 80271774 0026E6D4 80 1E 0F D8 */ lwz r0, 0xfd8(r30) +/* 80271778 0026E6D8 7C 1D 00 00 */ cmpw r29, r0 +/* 8027177C 0026E6DC 41 80 FF DC */ blt lbl_80271758 +/* 80271780 0026E6E0 38 00 00 00 */ li r0, 0 +/* 80271784 0026E6E4 90 1E 0F D8 */ stw r0, 0xfd8(r30) +lbl_80271788: +/* 80271788 0026E6E8 34 1E 0F C4 */ addic. r0, r30, 0xfc4 +/* 8027178C 0026E6EC 41 82 00 40 */ beq lbl_802717CC +/* 80271790 0026E6F0 3B 9E 0F C8 */ addi r28, r30, 0xfc8 +/* 80271794 0026E6F4 3B A0 00 00 */ li r29, 0 +/* 80271798 0026E6F8 48 00 00 20 */ b lbl_802717B8 +lbl_8027179C: +/* 8027179C 0026E6FC 28 1C 00 00 */ cmplwi r28, 0 +/* 802717A0 0026E700 41 82 00 10 */ beq lbl_802717B0 +/* 802717A4 0026E704 7F 83 E3 78 */ mr r3, r28 +/* 802717A8 0026E708 38 80 00 00 */ li r4, 0 +/* 802717AC 0026E70C 48 0C F6 95 */ bl __dt__6CTokenFv +lbl_802717B0: +/* 802717B0 0026E710 3B 9C 00 08 */ addi r28, r28, 8 +/* 802717B4 0026E714 3B BD 00 01 */ addi r29, r29, 1 +lbl_802717B8: +/* 802717B8 0026E718 80 1E 0F C4 */ lwz r0, 0xfc4(r30) +/* 802717BC 0026E71C 7C 1D 00 00 */ cmpw r29, r0 +/* 802717C0 0026E720 41 80 FF DC */ blt lbl_8027179C +/* 802717C4 0026E724 38 00 00 00 */ li r0, 0 +/* 802717C8 0026E728 90 1E 0F C4 */ stw r0, 0xfc4(r30) +lbl_802717CC: +/* 802717CC 0026E72C 34 1E 0F AC */ addic. r0, r30, 0xfac +/* 802717D0 0026E730 41 82 00 30 */ beq lbl_80271800 +/* 802717D4 0026E734 88 1E 0F AC */ lbz r0, 0xfac(r30) +/* 802717D8 0026E738 28 00 00 00 */ cmplwi r0, 0 +/* 802717DC 0026E73C 41 82 00 24 */ beq lbl_80271800 +/* 802717E0 0026E740 80 7E 0F B0 */ lwz r3, 0xfb0(r30) +/* 802717E4 0026E744 28 03 00 00 */ cmplwi r3, 0 +/* 802717E8 0026E748 41 82 00 18 */ beq lbl_80271800 +/* 802717EC 0026E74C 81 83 00 00 */ lwz r12, 0(r3) +/* 802717F0 0026E750 38 80 00 01 */ li r4, 1 +/* 802717F4 0026E754 81 8C 00 08 */ lwz r12, 8(r12) +/* 802717F8 0026E758 7D 89 03 A6 */ mtctr r12 +/* 802717FC 0026E75C 4E 80 04 21 */ bctrl +lbl_80271800: +/* 80271800 0026E760 34 1E 0F A4 */ addic. r0, r30, 0xfa4 +/* 80271804 0026E764 41 82 00 10 */ beq lbl_80271814 +/* 80271808 0026E768 38 7E 0F A4 */ addi r3, r30, 0xfa4 +/* 8027180C 0026E76C 38 80 00 00 */ li r4, 0 +/* 80271810 0026E770 48 0C F6 31 */ bl __dt__6CTokenFv +lbl_80271814: +/* 80271814 0026E774 34 1E 0E D0 */ addic. r0, r30, 0xed0 +/* 80271818 0026E778 41 82 00 40 */ beq lbl_80271858 +/* 8027181C 0026E77C 34 1E 0F 50 */ addic. r0, r30, 0xf50 +/* 80271820 0026E780 41 82 00 10 */ beq lbl_80271830 +/* 80271824 0026E784 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271828 0026E788 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027182C 0026E78C 90 1E 0F 50 */ stw r0, 0xf50(r30) +lbl_80271830: +/* 80271830 0026E790 34 1E 0F 14 */ addic. r0, r30, 0xf14 +/* 80271834 0026E794 41 82 00 10 */ beq lbl_80271844 +/* 80271838 0026E798 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027183C 0026E79C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271840 0026E7A0 90 1E 0F 14 */ stw r0, 0xf14(r30) +lbl_80271844: +/* 80271844 0026E7A4 34 1E 0E D8 */ addic. r0, r30, 0xed8 +/* 80271848 0026E7A8 41 82 00 10 */ beq lbl_80271858 +/* 8027184C 0026E7AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271850 0026E7B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271854 0026E7B4 90 1E 0E D8 */ stw r0, 0xed8(r30) +lbl_80271858: +/* 80271858 0026E7B8 34 1E 0E 70 */ addic. r0, r30, 0xe70 +/* 8027185C 0026E7BC 41 82 00 14 */ beq lbl_80271870 +/* 80271860 0026E7C0 34 7E 0E 74 */ addic. r3, r30, 0xe74 +/* 80271864 0026E7C4 41 82 00 0C */ beq lbl_80271870 +/* 80271868 0026E7C8 38 80 00 00 */ li r4, 0 +/* 8027186C 0026E7CC 48 0C F5 D5 */ bl __dt__6CTokenFv +lbl_80271870: +/* 80271870 0026E7D0 34 1E 0D 9C */ addic. r0, r30, 0xd9c +/* 80271874 0026E7D4 41 82 00 40 */ beq lbl_802718B4 +/* 80271878 0026E7D8 34 1E 0E 1C */ addic. r0, r30, 0xe1c +/* 8027187C 0026E7DC 41 82 00 10 */ beq lbl_8027188C +/* 80271880 0026E7E0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271884 0026E7E4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271888 0026E7E8 90 1E 0E 1C */ stw r0, 0xe1c(r30) +lbl_8027188C: +/* 8027188C 0026E7EC 34 1E 0D E0 */ addic. r0, r30, 0xde0 +/* 80271890 0026E7F0 41 82 00 10 */ beq lbl_802718A0 +/* 80271894 0026E7F4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271898 0026E7F8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027189C 0026E7FC 90 1E 0D E0 */ stw r0, 0xde0(r30) +lbl_802718A0: +/* 802718A0 0026E800 34 1E 0D A4 */ addic. r0, r30, 0xda4 +/* 802718A4 0026E804 41 82 00 10 */ beq lbl_802718B4 +/* 802718A8 0026E808 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802718AC 0026E80C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802718B0 0026E810 90 1E 0D A4 */ stw r0, 0xda4(r30) +lbl_802718B4: +/* 802718B4 0026E814 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718B8 0026E818 41 82 00 20 */ beq lbl_802718D8 +/* 802718BC 0026E81C 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718C0 0026E820 41 82 00 18 */ beq lbl_802718D8 +/* 802718C4 0026E824 34 1E 0D 74 */ addic. r0, r30, 0xd74 +/* 802718C8 0026E828 41 82 00 10 */ beq lbl_802718D8 +/* 802718CC 0026E82C 38 7E 0D 74 */ addi r3, r30, 0xd74 +/* 802718D0 0026E830 38 80 00 00 */ li r4, 0 +/* 802718D4 0026E834 48 0C F5 6D */ bl __dt__6CTokenFv +lbl_802718D8: +/* 802718D8 0026E838 34 1E 0C A0 */ addic. r0, r30, 0xca0 +/* 802718DC 0026E83C 41 82 00 40 */ beq lbl_8027191C +/* 802718E0 0026E840 34 1E 0D 20 */ addic. r0, r30, 0xd20 +/* 802718E4 0026E844 41 82 00 10 */ beq lbl_802718F4 +/* 802718E8 0026E848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802718EC 0026E84C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802718F0 0026E850 90 1E 0D 20 */ stw r0, 0xd20(r30) +lbl_802718F4: +/* 802718F4 0026E854 34 1E 0C E4 */ addic. r0, r30, 0xce4 +/* 802718F8 0026E858 41 82 00 10 */ beq lbl_80271908 +/* 802718FC 0026E85C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271900 0026E860 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271904 0026E864 90 1E 0C E4 */ stw r0, 0xce4(r30) +lbl_80271908: +/* 80271908 0026E868 34 1E 0C A8 */ addic. r0, r30, 0xca8 +/* 8027190C 0026E86C 41 82 00 10 */ beq lbl_8027191C +/* 80271910 0026E870 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80271914 0026E874 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80271918 0026E878 90 1E 0C A8 */ stw r0, 0xca8(r30) +lbl_8027191C: +/* 8027191C 0026E87C 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271920 0026E880 41 82 00 20 */ beq lbl_80271940 +/* 80271924 0026E884 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271928 0026E888 41 82 00 18 */ beq lbl_80271940 +/* 8027192C 0026E88C 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 80271930 0026E890 41 82 00 10 */ beq lbl_80271940 +/* 80271934 0026E894 38 7E 0C 78 */ addi r3, r30, 0xc78 +/* 80271938 0026E898 38 80 00 00 */ li r4, 0 +/* 8027193C 0026E89C 48 0C F5 05 */ bl __dt__6CTokenFv +lbl_80271940: +/* 80271940 0026E8A0 34 1E 0C 50 */ addic. r0, r30, 0xc50 +/* 80271944 0026E8A4 41 82 00 30 */ beq lbl_80271974 +/* 80271948 0026E8A8 88 1E 0C 50 */ lbz r0, 0xc50(r30) +/* 8027194C 0026E8AC 28 00 00 00 */ cmplwi r0, 0 +/* 80271950 0026E8B0 41 82 00 24 */ beq lbl_80271974 +/* 80271954 0026E8B4 80 7E 0C 54 */ lwz r3, 0xc54(r30) +/* 80271958 0026E8B8 28 03 00 00 */ cmplwi r3, 0 +/* 8027195C 0026E8BC 41 82 00 18 */ beq lbl_80271974 +/* 80271960 0026E8C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80271964 0026E8C4 38 80 00 01 */ li r4, 1 +/* 80271968 0026E8C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027196C 0026E8CC 7D 89 03 A6 */ mtctr r12 +/* 80271970 0026E8D0 4E 80 04 21 */ bctrl +lbl_80271974: +/* 80271974 0026E8D4 34 1E 0C 48 */ addic. r0, r30, 0xc48 +/* 80271978 0026E8D8 41 82 00 10 */ beq lbl_80271988 +/* 8027197C 0026E8DC 38 7E 0C 48 */ addi r3, r30, 0xc48 +/* 80271980 0026E8E0 38 80 00 00 */ li r4, 0 +/* 80271984 0026E8E4 48 0C F4 BD */ bl __dt__6CTokenFv +lbl_80271988: +/* 80271988 0026E8E8 34 1E 0B C4 */ addic. r0, r30, 0xbc4 +/* 8027198C 0026E8EC 41 82 00 58 */ beq lbl_802719E4 +/* 80271990 0026E8F0 80 BE 0B C4 */ lwz r5, 0xbc4(r30) +/* 80271994 0026E8F4 38 60 00 00 */ li r3, 0 +/* 80271998 0026E8F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027199C 0026E8FC 40 81 00 40 */ ble lbl_802719DC +/* 802719A0 0026E900 2C 05 00 08 */ cmpwi r5, 8 +/* 802719A4 0026E904 38 85 FF F8 */ addi r4, r5, -8 +/* 802719A8 0026E908 40 81 00 20 */ ble lbl_802719C8 +/* 802719AC 0026E90C 38 04 00 07 */ addi r0, r4, 7 +/* 802719B0 0026E910 54 00 E8 FE */ srwi r0, r0, 3 +/* 802719B4 0026E914 7C 09 03 A6 */ mtctr r0 +/* 802719B8 0026E918 2C 04 00 00 */ cmpwi r4, 0 +/* 802719BC 0026E91C 40 81 00 0C */ ble lbl_802719C8 +lbl_802719C0: +/* 802719C0 0026E920 38 63 00 08 */ addi r3, r3, 8 +/* 802719C4 0026E924 42 00 FF FC */ bdnz lbl_802719C0 +lbl_802719C8: +/* 802719C8 0026E928 7C 03 28 50 */ subf r0, r3, r5 +/* 802719CC 0026E92C 7C 09 03 A6 */ mtctr r0 +/* 802719D0 0026E930 7C 03 28 00 */ cmpw r3, r5 +/* 802719D4 0026E934 40 80 00 08 */ bge lbl_802719DC +lbl_802719D8: +/* 802719D8 0026E938 42 00 00 00 */ bdnz lbl_802719D8 +lbl_802719DC: +/* 802719DC 0026E93C 38 00 00 00 */ li r0, 0 +/* 802719E0 0026E940 90 1E 0B C4 */ stw r0, 0xbc4(r30) +lbl_802719E4: +/* 802719E4 0026E944 34 1E 0B 30 */ addic. r0, r30, 0xb30 +/* 802719E8 0026E948 41 82 00 58 */ beq lbl_80271A40 +/* 802719EC 0026E94C 80 BE 0B 30 */ lwz r5, 0xb30(r30) +/* 802719F0 0026E950 38 60 00 00 */ li r3, 0 +/* 802719F4 0026E954 2C 05 00 00 */ cmpwi r5, 0 +/* 802719F8 0026E958 40 81 00 40 */ ble lbl_80271A38 +/* 802719FC 0026E95C 2C 05 00 08 */ cmpwi r5, 8 +/* 80271A00 0026E960 38 85 FF F8 */ addi r4, r5, -8 +/* 80271A04 0026E964 40 81 00 20 */ ble lbl_80271A24 +/* 80271A08 0026E968 38 04 00 07 */ addi r0, r4, 7 +/* 80271A0C 0026E96C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271A10 0026E970 7C 09 03 A6 */ mtctr r0 +/* 80271A14 0026E974 2C 04 00 00 */ cmpwi r4, 0 +/* 80271A18 0026E978 40 81 00 0C */ ble lbl_80271A24 +lbl_80271A1C: +/* 80271A1C 0026E97C 38 63 00 08 */ addi r3, r3, 8 +/* 80271A20 0026E980 42 00 FF FC */ bdnz lbl_80271A1C +lbl_80271A24: +/* 80271A24 0026E984 7C 03 28 50 */ subf r0, r3, r5 +/* 80271A28 0026E988 7C 09 03 A6 */ mtctr r0 +/* 80271A2C 0026E98C 7C 03 28 00 */ cmpw r3, r5 +/* 80271A30 0026E990 40 80 00 08 */ bge lbl_80271A38 +lbl_80271A34: +/* 80271A34 0026E994 42 00 00 00 */ bdnz lbl_80271A34 +lbl_80271A38: +/* 80271A38 0026E998 38 00 00 00 */ li r0, 0 +/* 80271A3C 0026E99C 90 1E 0B 30 */ stw r0, 0xb30(r30) +lbl_80271A40: +/* 80271A40 0026E9A0 34 1E 0B 24 */ addic. r0, r30, 0xb24 +/* 80271A44 0026E9A4 41 82 00 58 */ beq lbl_80271A9C +/* 80271A48 0026E9A8 80 BE 0B 24 */ lwz r5, 0xb24(r30) +/* 80271A4C 0026E9AC 38 60 00 00 */ li r3, 0 +/* 80271A50 0026E9B0 2C 05 00 00 */ cmpwi r5, 0 +/* 80271A54 0026E9B4 40 81 00 40 */ ble lbl_80271A94 +/* 80271A58 0026E9B8 2C 05 00 08 */ cmpwi r5, 8 +/* 80271A5C 0026E9BC 38 85 FF F8 */ addi r4, r5, -8 +/* 80271A60 0026E9C0 40 81 00 20 */ ble lbl_80271A80 +/* 80271A64 0026E9C4 38 04 00 07 */ addi r0, r4, 7 +/* 80271A68 0026E9C8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271A6C 0026E9CC 7C 09 03 A6 */ mtctr r0 +/* 80271A70 0026E9D0 2C 04 00 00 */ cmpwi r4, 0 +/* 80271A74 0026E9D4 40 81 00 0C */ ble lbl_80271A80 +lbl_80271A78: +/* 80271A78 0026E9D8 38 63 00 08 */ addi r3, r3, 8 +/* 80271A7C 0026E9DC 42 00 FF FC */ bdnz lbl_80271A78 +lbl_80271A80: +/* 80271A80 0026E9E0 7C 03 28 50 */ subf r0, r3, r5 +/* 80271A84 0026E9E4 7C 09 03 A6 */ mtctr r0 +/* 80271A88 0026E9E8 7C 03 28 00 */ cmpw r3, r5 +/* 80271A8C 0026E9EC 40 80 00 08 */ bge lbl_80271A94 +lbl_80271A90: +/* 80271A90 0026E9F0 42 00 00 00 */ bdnz lbl_80271A90 +lbl_80271A94: +/* 80271A94 0026E9F4 38 00 00 00 */ li r0, 0 +/* 80271A98 0026E9F8 90 1E 0B 24 */ stw r0, 0xb24(r30) +lbl_80271A9C: +/* 80271A9C 0026E9FC 34 1E 0A 80 */ addic. r0, r30, 0xa80 +/* 80271AA0 0026EA00 41 82 00 48 */ beq lbl_80271AE8 +/* 80271AA4 0026EA04 3B 9E 0A 84 */ addi r28, r30, 0xa84 +/* 80271AA8 0026EA08 3B A0 00 00 */ li r29, 0 +/* 80271AAC 0026EA0C 48 00 00 28 */ b lbl_80271AD4 +lbl_80271AB0: +/* 80271AB0 0026EA10 28 1C 00 00 */ cmplwi r28, 0 +/* 80271AB4 0026EA14 41 82 00 18 */ beq lbl_80271ACC +/* 80271AB8 0026EA18 41 82 00 14 */ beq lbl_80271ACC +/* 80271ABC 0026EA1C 41 82 00 10 */ beq lbl_80271ACC +/* 80271AC0 0026EA20 7F 83 E3 78 */ mr r3, r28 +/* 80271AC4 0026EA24 38 80 00 00 */ li r4, 0 +/* 80271AC8 0026EA28 48 0C F3 79 */ bl __dt__6CTokenFv +lbl_80271ACC: +/* 80271ACC 0026EA2C 3B 9C 00 28 */ addi r28, r28, 0x28 +/* 80271AD0 0026EA30 3B BD 00 01 */ addi r29, r29, 1 +lbl_80271AD4: +/* 80271AD4 0026EA34 80 1E 0A 80 */ lwz r0, 0xa80(r30) +/* 80271AD8 0026EA38 7C 1D 00 00 */ cmpw r29, r0 +/* 80271ADC 0026EA3C 41 80 FF D4 */ blt lbl_80271AB0 +/* 80271AE0 0026EA40 38 00 00 00 */ li r0, 0 +/* 80271AE4 0026EA44 90 1E 0A 80 */ stw r0, 0xa80(r30) +lbl_80271AE8: +/* 80271AE8 0026EA48 34 1E 09 6C */ addic. r0, r30, 0x96c +/* 80271AEC 0026EA4C 41 82 00 58 */ beq lbl_80271B44 +/* 80271AF0 0026EA50 80 BE 09 6C */ lwz r5, 0x96c(r30) +/* 80271AF4 0026EA54 38 60 00 00 */ li r3, 0 +/* 80271AF8 0026EA58 2C 05 00 00 */ cmpwi r5, 0 +/* 80271AFC 0026EA5C 40 81 00 40 */ ble lbl_80271B3C +/* 80271B00 0026EA60 2C 05 00 08 */ cmpwi r5, 8 +/* 80271B04 0026EA64 38 85 FF F8 */ addi r4, r5, -8 +/* 80271B08 0026EA68 40 81 00 20 */ ble lbl_80271B28 +/* 80271B0C 0026EA6C 38 04 00 07 */ addi r0, r4, 7 +/* 80271B10 0026EA70 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271B14 0026EA74 7C 09 03 A6 */ mtctr r0 +/* 80271B18 0026EA78 2C 04 00 00 */ cmpwi r4, 0 +/* 80271B1C 0026EA7C 40 81 00 0C */ ble lbl_80271B28 +lbl_80271B20: +/* 80271B20 0026EA80 38 63 00 08 */ addi r3, r3, 8 +/* 80271B24 0026EA84 42 00 FF FC */ bdnz lbl_80271B20 +lbl_80271B28: +/* 80271B28 0026EA88 7C 03 28 50 */ subf r0, r3, r5 +/* 80271B2C 0026EA8C 7C 09 03 A6 */ mtctr r0 +/* 80271B30 0026EA90 7C 03 28 00 */ cmpw r3, r5 +/* 80271B34 0026EA94 40 80 00 08 */ bge lbl_80271B3C +lbl_80271B38: +/* 80271B38 0026EA98 42 00 00 00 */ bdnz lbl_80271B38 +lbl_80271B3C: +/* 80271B3C 0026EA9C 38 00 00 00 */ li r0, 0 +/* 80271B40 0026EAA0 90 1E 09 6C */ stw r0, 0x96c(r30) +lbl_80271B44: +/* 80271B44 0026EAA4 34 1E 07 6C */ addic. r0, r30, 0x76c +/* 80271B48 0026EAA8 41 82 00 44 */ beq lbl_80271B8C +/* 80271B4C 0026EAAC 38 80 00 00 */ li r4, 0 +/* 80271B50 0026EAB0 38 BE 07 70 */ addi r5, r30, 0x770 +/* 80271B54 0026EAB4 7C 83 23 78 */ mr r3, r4 +/* 80271B58 0026EAB8 48 00 00 20 */ b lbl_80271B78 +lbl_80271B5C: +/* 80271B5C 0026EABC 28 05 00 00 */ cmplwi r5, 0 +/* 80271B60 0026EAC0 41 82 00 10 */ beq lbl_80271B70 +/* 80271B64 0026EAC4 34 05 00 24 */ addic. r0, r5, 0x24 +/* 80271B68 0026EAC8 41 82 00 08 */ beq lbl_80271B70 +/* 80271B6C 0026EACC 98 65 00 30 */ stb r3, 0x30(r5) +lbl_80271B70: +/* 80271B70 0026EAD0 38 A5 00 38 */ addi r5, r5, 0x38 +/* 80271B74 0026EAD4 38 84 00 01 */ addi r4, r4, 1 +lbl_80271B78: +/* 80271B78 0026EAD8 80 1E 07 6C */ lwz r0, 0x76c(r30) +/* 80271B7C 0026EADC 7C 04 00 00 */ cmpw r4, r0 +/* 80271B80 0026EAE0 41 80 FF DC */ blt lbl_80271B5C +/* 80271B84 0026EAE4 38 00 00 00 */ li r0, 0 +/* 80271B88 0026EAE8 90 1E 07 6C */ stw r0, 0x76c(r30) +lbl_80271B8C: +/* 80271B8C 0026EAEC 34 1E 05 88 */ addic. r0, r30, 0x588 +/* 80271B90 0026EAF0 41 82 00 58 */ beq lbl_80271BE8 +/* 80271B94 0026EAF4 80 BE 05 88 */ lwz r5, 0x588(r30) +/* 80271B98 0026EAF8 38 60 00 00 */ li r3, 0 +/* 80271B9C 0026EAFC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271BA0 0026EB00 40 81 00 40 */ ble lbl_80271BE0 +/* 80271BA4 0026EB04 2C 05 00 08 */ cmpwi r5, 8 +/* 80271BA8 0026EB08 38 85 FF F8 */ addi r4, r5, -8 +/* 80271BAC 0026EB0C 40 81 00 20 */ ble lbl_80271BCC +/* 80271BB0 0026EB10 38 04 00 07 */ addi r0, r4, 7 +/* 80271BB4 0026EB14 54 00 E8 FE */ srwi r0, r0, 3 +/* 80271BB8 0026EB18 7C 09 03 A6 */ mtctr r0 +/* 80271BBC 0026EB1C 2C 04 00 00 */ cmpwi r4, 0 +/* 80271BC0 0026EB20 40 81 00 0C */ ble lbl_80271BCC +lbl_80271BC4: +/* 80271BC4 0026EB24 38 63 00 08 */ addi r3, r3, 8 +/* 80271BC8 0026EB28 42 00 FF FC */ bdnz lbl_80271BC4 +lbl_80271BCC: +/* 80271BCC 0026EB2C 7C 03 28 50 */ subf r0, r3, r5 +/* 80271BD0 0026EB30 7C 09 03 A6 */ mtctr r0 +/* 80271BD4 0026EB34 7C 03 28 00 */ cmpw r3, r5 +/* 80271BD8 0026EB38 40 80 00 08 */ bge lbl_80271BE0 +lbl_80271BDC: +/* 80271BDC 0026EB3C 42 00 00 00 */ bdnz lbl_80271BDC +lbl_80271BE0: +/* 80271BE0 0026EB40 38 00 00 00 */ li r0, 0 +/* 80271BE4 0026EB44 90 1E 05 88 */ stw r0, 0x588(r30) +lbl_80271BE8: +/* 80271BE8 0026EB48 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80271BEC 0026EB4C 41 82 00 10 */ beq lbl_80271BFC +/* 80271BF0 0026EB50 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 80271BF4 0026EB54 38 80 00 01 */ li r4, 1 +/* 80271BF8 0026EB58 4B F3 5C E5 */ bl sub_801a78dc +lbl_80271BFC: +/* 80271BFC 0026EB5C 7F C3 F3 78 */ mr r3, r30 +/* 80271C00 0026EB60 38 80 00 00 */ li r4, 0 +/* 80271C04 0026EB64 4B E0 59 6D */ bl __dt__10CPatternedFv +/* 80271C08 0026EB68 7F E0 07 35 */ extsh. r0, r31 +/* 80271C0C 0026EB6C 40 81 00 0C */ ble lbl_80271C18 +/* 80271C10 0026EB70 7F C3 F3 78 */ mr r3, r30 +/* 80271C14 0026EB74 48 0A 3D 1D */ bl Free__7CMemoryFPCv +lbl_80271C18: +/* 80271C18 0026EB78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271C1C 0026EB7C 7F C3 F3 78 */ mr r3, r30 +/* 80271C20 0026EB80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80271C24 0026EB84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80271C28 0026EB88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80271C2C 0026EB8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80271C30 0026EB90 7C 08 03 A6 */ mtlr r0 +/* 80271C34 0026EB94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271C38 0026EB98 4E 80 00 20 */ blr + +.global Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271C3C 0026EB9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271C40 0026EBA0 7C 08 02 A6 */ mflr r0 +/* 80271C44 0026EBA4 2C 05 00 01 */ cmpwi r5, 1 +/* 80271C48 0026EBA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271C4C 0026EBAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80271C50 0026EBB0 7C 9F 23 78 */ mr r31, r4 +/* 80271C54 0026EBB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80271C58 0026EBB8 7C 7E 1B 78 */ mr r30, r3 +/* 80271C5C 0026EBBC 41 82 00 34 */ beq lbl_80271C90 +/* 80271C60 0026EBC0 40 80 00 10 */ bge lbl_80271C70 +/* 80271C64 0026EBC4 2C 05 00 00 */ cmpwi r5, 0 +/* 80271C68 0026EBC8 40 80 00 14 */ bge lbl_80271C7C +/* 80271C6C 0026EBCC 48 00 00 A4 */ b lbl_80271D10 +lbl_80271C70: +/* 80271C70 0026EBD0 2C 05 00 03 */ cmpwi r5, 3 +/* 80271C74 0026EBD4 40 80 00 9C */ bge lbl_80271D10 +/* 80271C78 0026EBD8 48 00 00 7C */ b lbl_80271CF4 +lbl_80271C7C: +/* 80271C7C 0026EBDC 38 00 00 01 */ li r0, 1 +/* 80271C80 0026EBE0 38 A0 00 00 */ li r5, 0 +/* 80271C84 0026EBE4 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80271C88 0026EBE8 48 00 6B 79 */ bl sub_80278800 +/* 80271C8C 0026EBEC 48 00 00 84 */ b lbl_80271D10 +lbl_80271C90: +/* 80271C90 0026EBF0 3C A0 80 3F */ lis r5, lbl_803EAD48@ha +/* 80271C94 0026EBF4 38 C1 00 08 */ addi r6, r1, 8 +/* 80271C98 0026EBF8 39 45 AD 48 */ addi r10, r5, lbl_803EAD48@l +/* 80271C9C 0026EBFC 38 A0 00 07 */ li r5, 7 +/* 80271CA0 0026EC00 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271CA4 0026EC04 38 E0 00 02 */ li r7, 2 +/* 80271CA8 0026EC08 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271CAC 0026EC0C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271CB0 0026EC10 91 21 00 08 */ stw r9, 8(r1) +/* 80271CB4 0026EC14 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271CB8 0026EC18 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271CBC 0026EC1C 4B E0 AA F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271CC0 0026EC20 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80271CC4 0026EC24 2C 00 00 02 */ cmpwi r0, 2 +/* 80271CC8 0026EC28 40 82 00 48 */ bne lbl_80271D10 +/* 80271CCC 0026EC2C 38 00 00 01 */ li r0, 1 +/* 80271CD0 0026EC30 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80271CD4 0026EC34 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80271CD8 0026EC38 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80271CDC 0026EC3C 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80271CE0 0026EC40 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80271CE4 0026EC44 54 00 10 3A */ slwi r0, r0, 2 +/* 80271CE8 0026EC48 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271CEC 0026EC4C 4B EC 8C ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271CF0 0026EC50 48 00 00 20 */ b lbl_80271D10 +lbl_80271CF4: +/* 80271CF4 0026EC54 38 00 00 00 */ li r0, 0 +/* 80271CF8 0026EC58 38 A0 00 01 */ li r5, 1 +/* 80271CFC 0026EC5C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80271D00 0026EC60 48 00 6B 01 */ bl sub_80278800 +/* 80271D04 0026EC64 7F C3 F3 78 */ mr r3, r30 +/* 80271D08 0026EC68 7F E4 FB 78 */ mr r4, r31 +/* 80271D0C 0026EC6C 48 00 1B C9 */ bl sub_802738d4 +lbl_80271D10: +/* 80271D10 0026EC70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271D14 0026EC74 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80271D18 0026EC78 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80271D1C 0026EC7C 7C 08 03 A6 */ mtlr r0 +/* 80271D20 0026EC80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271D24 0026EC84 4E 80 00 20 */ blr + +.global Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D28 0026EC88 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D2C 0026EC8C 4C 82 00 20 */ bnelr +/* 80271D30 0026EC90 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 80271D34 0026EC94 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 80271D38 0026EC98 4E 80 00 20 */ blr + +.global Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D3C 0026EC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80271D40 0026ECA0 7C 08 02 A6 */ mflr r0 +/* 80271D44 0026ECA4 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D48 0026ECA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80271D4C 0026ECAC 40 82 00 08 */ bne lbl_80271D54 +/* 80271D50 0026ECB0 48 00 69 AD */ bl sub_802786fc +lbl_80271D54: +/* 80271D54 0026ECB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80271D58 0026ECB8 7C 08 03 A6 */ mtlr r0 +/* 80271D5C 0026ECBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80271D60 0026ECC0 4E 80 00 20 */ blr + +.global Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D64 0026ECC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80271D68 0026ECC8 7C 08 02 A6 */ mflr r0 +/* 80271D6C 0026ECCC 2C 05 00 00 */ cmpwi r5, 0 +/* 80271D70 0026ECD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80271D74 0026ECD4 41 82 00 08 */ beq lbl_80271D7C +/* 80271D78 0026ECD8 48 00 00 08 */ b lbl_80271D80 +lbl_80271D7C: +/* 80271D7C 0026ECDC 48 00 69 81 */ bl sub_802786fc +lbl_80271D80: +/* 80271D80 0026ECE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80271D84 0026ECE4 7C 08 03 A6 */ mtlr r0 +/* 80271D88 0026ECE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80271D8C 0026ECEC 4E 80 00 20 */ blr + +.global Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271D90 0026ECF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271D94 0026ECF4 7C 08 02 A6 */ mflr r0 +/* 80271D98 0026ECF8 2C 05 00 01 */ cmpwi r5, 1 +/* 80271D9C 0026ECFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271DA0 0026ED00 41 82 00 4C */ beq lbl_80271DEC +/* 80271DA4 0026ED04 40 80 00 10 */ bge lbl_80271DB4 +/* 80271DA8 0026ED08 2C 05 00 00 */ cmpwi r5, 0 +/* 80271DAC 0026ED0C 40 80 00 14 */ bge lbl_80271DC0 +/* 80271DB0 0026ED10 48 00 00 78 */ b lbl_80271E28 +lbl_80271DB4: +/* 80271DB4 0026ED14 2C 05 00 03 */ cmpwi r5, 3 +/* 80271DB8 0026ED18 40 80 00 70 */ bge lbl_80271E28 +/* 80271DBC 0026ED1C 48 00 00 64 */ b lbl_80271E20 +lbl_80271DC0: +/* 80271DC0 0026ED20 38 00 00 01 */ li r0, 1 +/* 80271DC4 0026ED24 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 80271DC8 0026ED28 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271DCC 0026ED2C 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 80271DD0 0026ED30 90 03 10 78 */ stw r0, 0x1078(r3) +/* 80271DD4 0026ED34 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80271DD8 0026ED38 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80271DDC 0026ED3C 54 00 10 3A */ slwi r0, r0, 2 +/* 80271DE0 0026ED40 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271DE4 0026ED44 4B EC 8B F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271DE8 0026ED48 48 00 00 40 */ b lbl_80271E28 +lbl_80271DEC: +/* 80271DEC 0026ED4C 3C A0 80 3F */ lis r5, lbl_803EAD3C@ha +/* 80271DF0 0026ED50 38 C1 00 08 */ addi r6, r1, 8 +/* 80271DF4 0026ED54 39 45 AD 3C */ addi r10, r5, lbl_803EAD3C@l +/* 80271DF8 0026ED58 38 A0 00 03 */ li r5, 3 +/* 80271DFC 0026ED5C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271E00 0026ED60 38 E0 00 00 */ li r7, 0 +/* 80271E04 0026ED64 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271E08 0026ED68 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271E0C 0026ED6C 91 21 00 08 */ stw r9, 8(r1) +/* 80271E10 0026ED70 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271E14 0026ED74 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271E18 0026ED78 4B E0 A9 9D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271E1C 0026ED7C 48 00 00 0C */ b lbl_80271E28 +lbl_80271E20: +/* 80271E20 0026ED80 38 00 00 00 */ li r0, 0 +/* 80271E24 0026ED84 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80271E28: +/* 80271E28 0026ED88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271E2C 0026ED8C 7C 08 03 A6 */ mtlr r0 +/* 80271E30 0026ED90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271E34 0026ED94 4E 80 00 20 */ blr + +.global Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271E38 0026ED98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80271E3C 0026ED9C 7C 08 02 A6 */ mflr r0 +/* 80271E40 0026EDA0 2C 05 00 01 */ cmpwi r5, 1 +/* 80271E44 0026EDA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80271E48 0026EDA8 41 82 00 2C */ beq lbl_80271E74 +/* 80271E4C 0026EDAC 40 80 00 10 */ bge lbl_80271E5C +/* 80271E50 0026EDB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80271E54 0026EDB4 40 80 00 14 */ bge lbl_80271E68 +/* 80271E58 0026EDB8 48 00 00 5C */ b lbl_80271EB4 +lbl_80271E5C: +/* 80271E5C 0026EDBC 2C 05 00 03 */ cmpwi r5, 3 +/* 80271E60 0026EDC0 40 80 00 54 */ bge lbl_80271EB4 +/* 80271E64 0026EDC4 48 00 00 44 */ b lbl_80271EA8 +lbl_80271E68: +/* 80271E68 0026EDC8 38 00 00 01 */ li r0, 1 +/* 80271E6C 0026EDCC 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271E70 0026EDD0 48 00 00 44 */ b lbl_80271EB4 +lbl_80271E74: +/* 80271E74 0026EDD4 3C A0 80 3F */ lis r5, lbl_803EAD30@ha +/* 80271E78 0026EDD8 38 C1 00 08 */ addi r6, r1, 8 +/* 80271E7C 0026EDDC 39 45 AD 30 */ addi r10, r5, lbl_803EAD30@l +/* 80271E80 0026EDE0 38 A0 00 07 */ li r5, 7 +/* 80271E84 0026EDE4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80271E88 0026EDE8 38 E0 00 05 */ li r7, 5 +/* 80271E8C 0026EDEC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80271E90 0026EDF0 80 0A 00 08 */ lwz r0, 8(r10) +/* 80271E94 0026EDF4 91 21 00 08 */ stw r9, 8(r1) +/* 80271E98 0026EDF8 91 01 00 0C */ stw r8, 0xc(r1) +/* 80271E9C 0026EDFC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80271EA0 0026EE00 4B E0 A9 15 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271EA4 0026EE04 48 00 00 10 */ b lbl_80271EB4 +lbl_80271EA8: +/* 80271EA8 0026EE08 38 00 00 00 */ li r0, 0 +/* 80271EAC 0026EE0C 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80271EB0 0026EE10 48 00 1A 25 */ bl sub_802738d4 +lbl_80271EB4: +/* 80271EB4 0026EE14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80271EB8 0026EE18 7C 08 03 A6 */ mtlr r0 +/* 80271EBC 0026EE1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80271EC0 0026EE20 4E 80 00 20 */ blr + +.global Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80271EC4 0026EE24 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80271EC8 0026EE28 7C 08 02 A6 */ mflr r0 +/* 80271ECC 0026EE2C 2C 05 00 01 */ cmpwi r5, 1 +/* 80271ED0 0026EE30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80271ED4 0026EE34 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80271ED8 0026EE38 7C 7F 1B 78 */ mr r31, r3 +/* 80271EDC 0026EE3C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80271EE0 0026EE40 7C 9E 23 78 */ mr r30, r4 +/* 80271EE4 0026EE44 41 82 00 D8 */ beq lbl_80271FBC +/* 80271EE8 0026EE48 40 80 00 10 */ bge lbl_80271EF8 +/* 80271EEC 0026EE4C 2C 05 00 00 */ cmpwi r5, 0 +/* 80271EF0 0026EE50 40 80 00 14 */ bge lbl_80271F04 +/* 80271EF4 0026EE54 48 00 01 8C */ b lbl_80272080 +lbl_80271EF8: +/* 80271EF8 0026EE58 2C 05 00 03 */ cmpwi r5, 3 +/* 80271EFC 0026EE5C 40 80 01 84 */ bge lbl_80272080 +/* 80271F00 0026EE60 48 00 00 F0 */ b lbl_80271FF0 +lbl_80271F04: +/* 80271F04 0026EE64 38 00 00 01 */ li r0, 1 +/* 80271F08 0026EE68 7F C5 F3 78 */ mr r5, r30 +/* 80271F0C 0026EE6C 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80271F10 0026EE70 38 80 00 09 */ li r4, 9 +/* 80271F14 0026EE74 48 00 47 D1 */ bl sub_802766e4 +/* 80271F18 0026EE78 7F E4 FB 78 */ mr r4, r31 +/* 80271F1C 0026EE7C 7F C5 F3 78 */ mr r5, r30 +/* 80271F20 0026EE80 38 61 00 14 */ addi r3, r1, 0x14 +/* 80271F24 0026EE84 38 C0 00 0B */ li r6, 0xb +/* 80271F28 0026EE88 38 E0 00 06 */ li r7, 6 +/* 80271F2C 0026EE8C 48 00 4C 11 */ bl sub_80276b3c +/* 80271F30 0026EE90 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80271F34 0026EE94 7F C3 F3 78 */ mr r3, r30 +/* 80271F38 0026EE98 38 81 00 10 */ addi r4, r1, 0x10 +/* 80271F3C 0026EE9C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80271F40 0026EEA0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80271F44 0026EEA4 4B DD A6 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80271F48 0026EEA8 7C 64 1B 78 */ mr r4, r3 +/* 80271F4C 0026EEAC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80271F50 0026EEB0 4B E3 45 FD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80271F54 0026EEB4 80 83 00 04 */ lwz r4, 4(r3) +/* 80271F58 0026EEB8 28 04 00 00 */ cmplwi r4, 0 +/* 80271F5C 0026EEBC 41 82 00 38 */ beq lbl_80271F94 +/* 80271F60 0026EEC0 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80271F64 0026EEC4 38 84 00 34 */ addi r4, r4, 0x34 +/* 80271F68 0026EEC8 48 0A 0B D9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80271F6C 0026EECC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F70 0026EED0 38 60 00 01 */ li r3, 1 +/* 80271F74 0026EED4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80271F78 0026EED8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80271F7C 0026EEDC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F80 0026EEE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80271F84 0026EEE4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80271F88 0026EEE8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80271F8C 0026EEEC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80271F90 0026EEF0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80271F94: +/* 80271F94 0026EEF4 38 00 00 01 */ li r0, 1 +/* 80271F98 0026EEF8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80271F9C 0026EEFC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80271FA0 0026EF00 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80271FA4 0026EF04 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80271FA8 0026EF08 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80271FAC 0026EF0C 54 00 10 3A */ slwi r0, r0, 2 +/* 80271FB0 0026EF10 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80271FB4 0026EF14 4B EC 8A 25 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80271FB8 0026EF18 48 00 00 C8 */ b lbl_80272080 +lbl_80271FBC: +/* 80271FBC 0026EF1C 3C A0 80 3F */ lis r5, lbl_803EAD24@ha +/* 80271FC0 0026EF20 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80271FC4 0026EF24 39 25 AD 24 */ addi r9, r5, lbl_803EAD24@l +/* 80271FC8 0026EF28 38 A0 00 11 */ li r5, 0x11 +/* 80271FCC 0026EF2C 81 09 00 00 */ lwz r8, 0(r9) +/* 80271FD0 0026EF30 80 E9 00 04 */ lwz r7, 4(r9) +/* 80271FD4 0026EF34 80 09 00 08 */ lwz r0, 8(r9) +/* 80271FD8 0026EF38 91 01 00 30 */ stw r8, 0x30(r1) +/* 80271FDC 0026EF3C 90 E1 00 34 */ stw r7, 0x34(r1) +/* 80271FE0 0026EF40 90 01 00 38 */ stw r0, 0x38(r1) +/* 80271FE4 0026EF44 80 FF 09 18 */ lwz r7, 0x918(r31) +/* 80271FE8 0026EF48 4B E0 A7 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80271FEC 0026EF4C 48 00 00 94 */ b lbl_80272080 +lbl_80271FF0: +/* 80271FF0 0026EF50 38 00 00 00 */ li r0, 0 +/* 80271FF4 0026EF54 7F E4 FB 78 */ mr r4, r31 +/* 80271FF8 0026EF58 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80271FFC 0026EF5C 7F C5 F3 78 */ mr r5, r30 +/* 80272000 0026EF60 38 61 00 0C */ addi r3, r1, 0xc +/* 80272004 0026EF64 38 C0 00 0C */ li r6, 0xc +/* 80272008 0026EF68 38 E0 00 06 */ li r7, 6 +/* 8027200C 0026EF6C 48 00 4B 31 */ bl sub_80276b3c +/* 80272010 0026EF70 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80272014 0026EF74 7F C3 F3 78 */ mr r3, r30 +/* 80272018 0026EF78 38 81 00 08 */ addi r4, r1, 8 +/* 8027201C 0026EF7C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80272020 0026EF80 B0 01 00 08 */ sth r0, 8(r1) +/* 80272024 0026EF84 4B DD A5 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80272028 0026EF88 7C 64 1B 78 */ mr r4, r3 +/* 8027202C 0026EF8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80272030 0026EF90 4B E3 45 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80272034 0026EF94 80 83 00 04 */ lwz r4, 4(r3) +/* 80272038 0026EF98 28 04 00 00 */ cmplwi r4, 0 +/* 8027203C 0026EF9C 41 82 00 38 */ beq lbl_80272074 +/* 80272040 0026EFA0 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80272044 0026EFA4 38 84 00 34 */ addi r4, r4, 0x34 +/* 80272048 0026EFA8 48 0A 0A F9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8027204C 0026EFAC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80272050 0026EFB0 38 60 00 01 */ li r3, 1 +/* 80272054 0026EFB4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80272058 0026EFB8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8027205C 0026EFBC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80272060 0026EFC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80272064 0026EFC4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80272068 0026EFC8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8027206C 0026EFCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80272070 0026EFD0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80272074: +/* 80272074 0026EFD4 80 7F 09 1C */ lwz r3, 0x91c(r31) +/* 80272078 0026EFD8 38 03 00 01 */ addi r0, r3, 1 +/* 8027207C 0026EFDC 90 1F 09 1C */ stw r0, 0x91c(r31) +lbl_80272080: +/* 80272080 0026EFE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80272084 0026EFE4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80272088 0026EFE8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027208C 0026EFEC 7C 08 03 A6 */ mtlr r0 +/* 80272090 0026EFF0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80272094 0026EFF4 4E 80 00 20 */ blr + +.global Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272098 0026EFF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027209C 0026EFFC 7C 08 02 A6 */ mflr r0 +/* 802720A0 0026F000 2C 05 00 01 */ cmpwi r5, 1 +/* 802720A4 0026F004 90 01 00 24 */ stw r0, 0x24(r1) +/* 802720A8 0026F008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802720AC 0026F00C 7C 9F 23 78 */ mr r31, r4 +/* 802720B0 0026F010 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802720B4 0026F014 7C 7E 1B 78 */ mr r30, r3 +/* 802720B8 0026F018 41 82 00 5C */ beq lbl_80272114 +/* 802720BC 0026F01C 40 80 00 10 */ bge lbl_802720CC +/* 802720C0 0026F020 2C 05 00 00 */ cmpwi r5, 0 +/* 802720C4 0026F024 40 80 00 14 */ bge lbl_802720D8 +/* 802720C8 0026F028 48 00 00 DC */ b lbl_802721A4 +lbl_802720CC: +/* 802720CC 0026F02C 2C 05 00 03 */ cmpwi r5, 3 +/* 802720D0 0026F030 40 80 00 D4 */ bge lbl_802721A4 +/* 802720D4 0026F034 48 00 00 90 */ b lbl_80272164 +lbl_802720D8: +/* 802720D8 0026F038 38 00 00 01 */ li r0, 1 +/* 802720DC 0026F03C 38 A0 00 00 */ li r5, 0 +/* 802720E0 0026F040 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802720E4 0026F044 48 00 67 1D */ bl sub_80278800 +/* 802720E8 0026F048 7F C3 F3 78 */ mr r3, r30 +/* 802720EC 0026F04C 7F E4 FB 78 */ mr r4, r31 +/* 802720F0 0026F050 48 00 36 2D */ bl sub_8027571c +/* 802720F4 0026F054 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802720F8 0026F058 38 60 00 00 */ li r3, 0 +/* 802720FC 0026F05C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80272100 0026F060 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 80272104 0026F064 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 80272108 0026F068 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027210C 0026F06C 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 80272110 0026F070 48 00 00 94 */ b lbl_802721A4 +lbl_80272114: +/* 80272114 0026F074 3C A0 80 3F */ lis r5, lbl_803EAD18@ha +/* 80272118 0026F078 38 C1 00 08 */ addi r6, r1, 8 +/* 8027211C 0026F07C 39 45 AD 18 */ addi r10, r5, lbl_803EAD18@l +/* 80272120 0026F080 38 A0 00 06 */ li r5, 6 +/* 80272124 0026F084 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272128 0026F088 38 E0 00 05 */ li r7, 5 +/* 8027212C 0026F08C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80272130 0026F090 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272134 0026F094 91 21 00 08 */ stw r9, 8(r1) +/* 80272138 0026F098 91 01 00 0C */ stw r8, 0xc(r1) +/* 8027213C 0026F09C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272140 0026F0A0 4B E0 A6 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272144 0026F0A4 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 80272148 0026F0A8 C0 42 88 F0 */ lfs f2, lbl_805AA610@sda21(r2) +/* 8027214C 0026F0AC C0 3E 04 28 */ lfs f1, 0x428(r30) +/* 80272150 0026F0B0 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80272154 0026F0B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80272158 0026F0B8 40 80 00 4C */ bge lbl_802721A4 +/* 8027215C 0026F0BC D0 5E 04 28 */ stfs f2, 0x428(r30) +/* 80272160 0026F0C0 48 00 00 44 */ b lbl_802721A4 +lbl_80272164: +/* 80272164 0026F0C4 38 00 00 00 */ li r0, 0 +/* 80272168 0026F0C8 38 A0 00 01 */ li r5, 1 +/* 8027216C 0026F0CC 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272170 0026F0D0 48 00 66 91 */ bl sub_80278800 +/* 80272174 0026F0D4 38 00 00 01 */ li r0, 1 +/* 80272178 0026F0D8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 8027217C 0026F0DC 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272180 0026F0E0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272184 0026F0E4 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272188 0026F0E8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027218C 0026F0EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80272190 0026F0F0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272194 0026F0F4 4B EC 88 45 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272198 0026F0F8 7F C3 F3 78 */ mr r3, r30 +/* 8027219C 0026F0FC 7F E4 FB 78 */ mr r4, r31 +/* 802721A0 0026F100 48 00 35 19 */ bl sub_802756b8 +lbl_802721A4: +/* 802721A4 0026F104 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802721A8 0026F108 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802721AC 0026F10C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802721B0 0026F110 7C 08 03 A6 */ mtlr r0 +/* 802721B4 0026F114 38 21 00 20 */ addi r1, r1, 0x20 +/* 802721B8 0026F118 4E 80 00 20 */ blr + +.global Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 802721BC 0026F11C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802721C0 0026F120 7C 08 02 A6 */ mflr r0 +/* 802721C4 0026F124 2C 05 00 01 */ cmpwi r5, 1 +/* 802721C8 0026F128 90 01 00 74 */ stw r0, 0x74(r1) +/* 802721CC 0026F12C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802721D0 0026F130 7C 9F 23 78 */ mr r31, r4 +/* 802721D4 0026F134 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802721D8 0026F138 7C 7E 1B 78 */ mr r30, r3 +/* 802721DC 0026F13C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802721E0 0026F140 41 82 01 EC */ beq lbl_802723CC +/* 802721E4 0026F144 40 80 00 10 */ bge lbl_802721F4 +/* 802721E8 0026F148 2C 05 00 00 */ cmpwi r5, 0 +/* 802721EC 0026F14C 40 80 00 14 */ bge lbl_80272200 +/* 802721F0 0026F150 48 00 01 DC */ b lbl_802723CC +lbl_802721F4: +/* 802721F4 0026F154 2C 05 00 03 */ cmpwi r5, 3 +/* 802721F8 0026F158 40 80 01 D4 */ bge lbl_802723CC +/* 802721FC 0026F15C 48 00 00 5C */ b lbl_80272258 +lbl_80272200: +/* 80272200 0026F160 83 BE 04 50 */ lwz r29, 0x450(r30) +/* 80272204 0026F164 38 80 00 0A */ li r4, 0xa +/* 80272208 0026F168 48 00 3C 0D */ bl sub_80275e14 +/* 8027220C 0026F16C 7C 64 1B 78 */ mr r4, r3 +/* 80272210 0026F170 7F A3 EB 78 */ mr r3, r29 +/* 80272214 0026F174 4B EC 87 C5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272218 0026F178 38 00 00 0B */ li r0, 0xb +/* 8027221C 0026F17C 38 60 00 00 */ li r3, 0 +/* 80272220 0026F180 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272224 0026F184 38 81 00 24 */ addi r4, r1, 0x24 +/* 80272228 0026F188 C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) +/* 8027222C 0026F18C 38 A0 00 00 */ li r5, 0 +/* 80272230 0026F190 88 1E 10 54 */ lbz r0, 0x1054(r30) +/* 80272234 0026F194 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80272238 0026F198 98 1E 10 54 */ stb r0, 0x1054(r30) +/* 8027223C 0026F19C D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272240 0026F1A0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80272244 0026F1A4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80272248 0026F1A8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8027224C 0026F1AC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272250 0026F1B0 4B DA 27 81 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 80272254 0026F1B4 48 00 01 78 */ b lbl_802723CC +lbl_80272258: +/* 80272258 0026F1B8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8027225C 0026F1BC 4B DA 27 49 */ bl DetachActorFromPlayer__7CPlayerFv +/* 80272260 0026F1C0 38 00 00 01 */ li r0, 1 +/* 80272264 0026F1C4 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272268 0026F1C8 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 8027226C 0026F1CC 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272270 0026F1D0 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272274 0026F1D4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272278 0026F1D8 54 00 10 3A */ slwi r0, r0, 2 +/* 8027227C 0026F1DC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272280 0026F1E0 4B EC 87 59 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272284 0026F1E4 38 00 00 00 */ li r0, 0 +/* 80272288 0026F1E8 7F C3 F3 78 */ mr r3, r30 +/* 8027228C 0026F1EC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272290 0026F1F0 7F E4 FB 78 */ mr r4, r31 +/* 80272294 0026F1F4 38 A0 00 00 */ li r5, 0 +/* 80272298 0026F1F8 48 00 33 15 */ bl sub_802755ac +/* 8027229C 0026F1FC 7F C3 F3 78 */ mr r3, r30 +/* 802722A0 0026F200 7F E4 FB 78 */ mr r4, r31 +/* 802722A4 0026F204 48 00 16 31 */ bl sub_802738d4 +/* 802722A8 0026F208 C0 02 BC 00 */ lfs f0, lbl_805AD920@sda21(r2) +/* 802722AC 0026F20C D0 1E 10 88 */ stfs f0, 0x1088(r30) +/* 802722B0 0026F210 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802722B4 0026F214 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 802722B8 0026F218 2C 00 00 01 */ cmpwi r0, 1 +/* 802722BC 0026F21C 41 82 01 00 */ beq lbl_802723BC +/* 802722C0 0026F220 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802722C4 0026F224 7F E6 FB 78 */ mr r6, r31 +/* 802722C8 0026F228 38 81 00 1C */ addi r4, r1, 0x1c +/* 802722CC 0026F22C 38 A0 00 08 */ li r5, 8 +/* 802722D0 0026F230 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802722D4 0026F234 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802722D8 0026F238 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802722DC 0026F23C 4B F0 8F 79 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 802722E0 0026F240 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 802722E4 0026F244 38 60 00 01 */ li r3, 1 +/* 802722E8 0026F248 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 802722EC 0026F24C C0 02 BC 04 */ lfs f0, lbl_805AD924@sda21(r2) +/* 802722F0 0026F250 98 1E 04 02 */ stb r0, 0x402(r30) +/* 802722F4 0026F254 7F E3 FB 78 */ mr r3, r31 +/* 802722F8 0026F258 38 81 00 14 */ addi r4, r1, 0x14 +/* 802722FC 0026F25C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80272300 0026F260 D0 1E 05 04 */ stfs f0, 0x504(r30) +/* 80272304 0026F264 38 C0 00 29 */ li r6, 0x29 +/* 80272308 0026F268 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027230C 0026F26C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80272310 0026F270 80 FF 08 4C */ lwz r7, 0x84c(r31) +/* 80272314 0026F274 B0 01 00 08 */ sth r0, 8(r1) +/* 80272318 0026F278 A0 07 00 08 */ lhz r0, 8(r7) +/* 8027231C 0026F27C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80272320 0026F280 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80272324 0026F284 4B DD 1B 31 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId +/* 80272328 0026F288 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8027232C 0026F28C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80272330 0026F290 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272334 0026F294 38 81 00 4C */ addi r4, r1, 0x4c +/* 80272338 0026F298 C0 65 00 50 */ lfs f3, 0x50(r5) +/* 8027233C 0026F29C C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80272340 0026F2A0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80272344 0026F2A4 EC 63 00 28 */ fsubs f3, f3, f0 +/* 80272348 0026F2A8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027234C 0026F2AC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80272350 0026F2B0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80272354 0026F2B4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80272358 0026F2B8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8027235C 0026F2BC 48 0A 24 F5 */ bl AsNormalized__9CVector3fCFv +/* 80272360 0026F2C0 83 BF 08 4C */ lwz r29, 0x84c(r31) +/* 80272364 0026F2C4 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80272368 0026F2C8 C0 BD 00 E8 */ lfs f5, 0xe8(r29) +/* 8027236C 0026F2CC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80272370 0026F2D0 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80272374 0026F2D4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80272378 0026F2D8 EC 65 00 72 */ fmuls f3, f5, f1 +/* 8027237C 0026F2DC C0 22 BC 0C */ lfs f1, lbl_805AD92C@sda21(r2) +/* 80272380 0026F2E0 EC 45 00 32 */ fmuls f2, f5, f0 +/* 80272384 0026F2E4 EC A1 01 32 */ fmuls f5, f1, f4 +/* 80272388 0026F2E8 EC 01 00 F2 */ fmuls f0, f1, f3 +/* 8027238C 0026F2EC D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80272390 0026F2F0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80272394 0026F2F4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80272398 0026F2F8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8027239C 0026F2FC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802723A0 0026F300 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802723A4 0026F304 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802723A8 0026F308 4B DA 91 8D */ bl Identity__10CAxisAngleFv +/* 802723AC 0026F30C 7C 65 1B 78 */ mr r5, r3 +/* 802723B0 0026F310 7F A3 EB 78 */ mr r3, r29 +/* 802723B4 0026F314 38 81 00 40 */ addi r4, r1, 0x40 +/* 802723B8 0026F318 4B EA 9F E1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802723BC: +/* 802723BC 0026F31C 88 1E 10 54 */ lbz r0, 0x1054(r30) +/* 802723C0 0026F320 38 60 00 01 */ li r3, 1 +/* 802723C4 0026F324 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802723C8 0026F328 98 1E 10 54 */ stb r0, 0x1054(r30) +lbl_802723CC: +/* 802723CC 0026F32C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802723D0 0026F330 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802723D4 0026F334 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802723D8 0026F338 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802723DC 0026F33C 7C 08 03 A6 */ mtlr r0 +/* 802723E0 0026F340 38 21 00 70 */ addi r1, r1, 0x70 +/* 802723E4 0026F344 4E 80 00 20 */ blr + +.global Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 802723E8 0026F348 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802723EC 0026F34C 7C 08 02 A6 */ mflr r0 +/* 802723F0 0026F350 2C 05 00 01 */ cmpwi r5, 1 +/* 802723F4 0026F354 90 01 00 44 */ stw r0, 0x44(r1) +/* 802723F8 0026F358 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802723FC 0026F35C 7C 9F 23 78 */ mr r31, r4 +/* 80272400 0026F360 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80272404 0026F364 7C 7E 1B 78 */ mr r30, r3 +/* 80272408 0026F368 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8027240C 0026F36C 93 81 00 30 */ stw r28, 0x30(r1) +/* 80272410 0026F370 41 82 00 F8 */ beq lbl_80272508 +/* 80272414 0026F374 40 80 00 10 */ bge lbl_80272424 +/* 80272418 0026F378 2C 05 00 00 */ cmpwi r5, 0 +/* 8027241C 0026F37C 40 80 00 14 */ bge lbl_80272430 +/* 80272420 0026F380 48 00 01 38 */ b lbl_80272558 +lbl_80272424: +/* 80272424 0026F384 2C 05 00 03 */ cmpwi r5, 3 +/* 80272428 0026F388 40 80 01 30 */ bge lbl_80272558 +/* 8027242C 0026F38C 48 00 00 E4 */ b lbl_80272510 +lbl_80272430: +/* 80272430 0026F390 38 00 00 0A */ li r0, 0xa +/* 80272434 0026F394 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) +/* 80272438 0026F398 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 8027243C 0026F39C 7F C4 F3 78 */ mr r4, r30 +/* 80272440 0026F3A0 7F E5 FB 78 */ mr r5, r31 +/* 80272444 0026F3A4 38 61 00 0C */ addi r3, r1, 0xc +/* 80272448 0026F3A8 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 8027244C 0026F3AC 38 C0 00 01 */ li r6, 1 +/* 80272450 0026F3B0 48 00 45 91 */ bl sub_802769e0 +/* 80272454 0026F3B4 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80272458 0026F3B8 7F E3 FB 78 */ mr r3, r31 +/* 8027245C 0026F3BC 38 81 00 08 */ addi r4, r1, 8 +/* 80272460 0026F3C0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80272464 0026F3C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80272468 0026F3C8 4B DD A1 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027246C 0026F3CC 7C 64 1B 78 */ mr r4, r3 +/* 80272470 0026F3D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80272474 0026F3D4 4B E3 40 D9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80272478 0026F3D8 83 83 00 04 */ lwz r28, 4(r3) +/* 8027247C 0026F3DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80272480 0026F3E0 41 82 00 74 */ beq lbl_802724F4 +/* 80272484 0026F3E4 83 BE 04 50 */ lwz r29, 0x450(r30) +/* 80272488 0026F3E8 7F C3 F3 78 */ mr r3, r30 +/* 8027248C 0026F3EC 38 80 00 01 */ li r4, 1 +/* 80272490 0026F3F0 48 00 39 85 */ bl sub_80275e14 +/* 80272494 0026F3F4 7C 64 1B 78 */ mr r4, r3 +/* 80272498 0026F3F8 7F A3 EB 78 */ mr r3, r29 +/* 8027249C 0026F3FC 4B EC 85 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802724A0 0026F400 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802724A4 0026F404 7F C3 F3 78 */ mr r3, r30 +/* 802724A8 0026F408 38 81 00 1C */ addi r4, r1, 0x1c +/* 802724AC 0026F40C B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 802724B0 0026F410 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 802724B4 0026F414 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 802724B8 0026F418 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 802724BC 0026F41C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802724C0 0026F420 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802724C4 0026F424 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802724C8 0026F428 4B E0 A6 95 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802724CC 0026F42C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802724D0 0026F430 38 60 00 00 */ li r3, 0 +/* 802724D4 0026F434 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802724D8 0026F438 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802724DC 0026F43C D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 802724E0 0026F440 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 802724E4 0026F444 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +/* 802724E8 0026F448 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 802724EC 0026F44C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802724F0 0026F450 98 1E 03 28 */ stb r0, 0x328(r30) +lbl_802724F4: +/* 802724F4 0026F454 7F C3 F3 78 */ mr r3, r30 +/* 802724F8 0026F458 7F E4 FB 78 */ mr r4, r31 +/* 802724FC 0026F45C 38 A0 00 00 */ li r5, 0 +/* 80272500 0026F460 48 00 63 01 */ bl sub_80278800 +/* 80272504 0026F464 48 00 00 54 */ b lbl_80272558 +lbl_80272508: +/* 80272508 0026F468 4B F8 31 49 */ bl ApproachDest__10CPatternedFR13CStateManager +/* 8027250C 0026F46C 48 00 00 4C */ b lbl_80272558 +lbl_80272510: +/* 80272510 0026F470 38 00 00 00 */ li r0, 0 +/* 80272514 0026F474 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272518 0026F478 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 8027251C 0026F47C 38 00 00 01 */ li r0, 1 +/* 80272520 0026F480 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272524 0026F484 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272528 0026F488 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 8027252C 0026F48C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272530 0026F490 54 00 10 3A */ slwi r0, r0, 2 +/* 80272534 0026F494 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272538 0026F498 4B EC 84 A1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8027253C 0026F49C 7F C3 F3 78 */ mr r3, r30 +/* 80272540 0026F4A0 7F E4 FB 78 */ mr r4, r31 +/* 80272544 0026F4A4 38 A0 00 01 */ li r5, 1 +/* 80272548 0026F4A8 48 00 62 B9 */ bl sub_80278800 +/* 8027254C 0026F4AC 7F C3 F3 78 */ mr r3, r30 +/* 80272550 0026F4B0 7F E4 FB 78 */ mr r4, r31 +/* 80272554 0026F4B4 48 00 13 81 */ bl sub_802738d4 +lbl_80272558: +/* 80272558 0026F4B8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8027255C 0026F4BC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80272560 0026F4C0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80272564 0026F4C4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80272568 0026F4C8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8027256C 0026F4CC 7C 08 03 A6 */ mtlr r0 +/* 80272570 0026F4D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80272574 0026F4D4 4E 80 00 20 */ blr + +.global TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272578 0026F4D8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8027257C 0026F4DC 7C 08 02 A6 */ mflr r0 +/* 80272580 0026F4E0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80272584 0026F4E4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80272588 0026F4E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8027258C 0026F4EC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80272590 0026F4F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80272594 0026F4F4 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80272598 0026F4F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8027259C 0026F4FC DB 81 00 60 */ stfd f28, 0x60(r1) +/* 802725A0 0026F500 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 802725A4 0026F504 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802725A8 0026F508 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802725AC 0026F50C FF 80 08 90 */ fmr f28, f1 +/* 802725B0 0026F510 2C 05 00 01 */ cmpwi r5, 1 +/* 802725B4 0026F514 7C 7E 1B 78 */ mr r30, r3 +/* 802725B8 0026F518 7C 9F 23 78 */ mr r31, r4 +/* 802725BC 0026F51C 41 82 00 34 */ beq lbl_802725F0 +/* 802725C0 0026F520 40 80 00 10 */ bge lbl_802725D0 +/* 802725C4 0026F524 2C 05 00 00 */ cmpwi r5, 0 +/* 802725C8 0026F528 40 80 00 14 */ bge lbl_802725DC +/* 802725CC 0026F52C 48 00 01 58 */ b lbl_80272724 +lbl_802725D0: +/* 802725D0 0026F530 2C 05 00 03 */ cmpwi r5, 3 +/* 802725D4 0026F534 40 80 01 50 */ bge lbl_80272724 +/* 802725D8 0026F538 48 00 01 40 */ b lbl_80272718 +lbl_802725DC: +/* 802725DC 0026F53C 38 60 00 09 */ li r3, 9 +/* 802725E0 0026F540 38 00 00 01 */ li r0, 1 +/* 802725E4 0026F544 90 7E 09 2C */ stw r3, 0x92c(r30) +/* 802725E8 0026F548 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802725EC 0026F54C 48 00 01 38 */ b lbl_80272724 +lbl_802725F0: +/* 802725F0 0026F550 3C A0 80 3F */ lis r5, lbl_803EAD0C@ha +/* 802725F4 0026F554 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802725F8 0026F558 39 45 AD 0C */ addi r10, r5, lbl_803EAD0C@l +/* 802725FC 0026F55C 38 A0 00 03 */ li r5, 3 +/* 80272600 0026F560 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272604 0026F564 38 E0 00 03 */ li r7, 3 +/* 80272608 0026F568 81 0A 00 04 */ lwz r8, 4(r10) +/* 8027260C 0026F56C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272610 0026F570 91 21 00 44 */ stw r9, 0x44(r1) +/* 80272614 0026F574 91 01 00 48 */ stw r8, 0x48(r1) +/* 80272618 0026F578 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8027261C 0026F57C 4B E0 A1 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272620 0026F580 38 00 00 01 */ li r0, 1 +/* 80272624 0026F584 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272628 0026F588 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 8027262C 0026F58C 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272630 0026F590 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272634 0026F594 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272638 0026F598 54 00 10 3A */ slwi r0, r0, 2 +/* 8027263C 0026F59C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272640 0026F5A0 4B EC 83 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272644 0026F5A4 7F C4 F3 78 */ mr r4, r30 +/* 80272648 0026F5A8 7F E5 FB 78 */ mr r5, r31 +/* 8027264C 0026F5AC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80272650 0026F5B0 48 00 1F FD */ bl sub_8027464c +/* 80272654 0026F5B4 C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 80272658 0026F5B8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027265C 0026F5BC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80272660 0026F5C0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80272664 0026F5C4 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 80272668 0026F5C8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8027266C 0026F5CC EC 1D 00 28 */ fsubs f0, f29, f0 +/* 80272670 0026F5D0 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80272674 0026F5D4 C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 80272678 0026F5D8 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 8027267C 0026F5DC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80272680 0026F5E0 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 80272684 0026F5E4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80272688 0026F5E8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027268C 0026F5EC 48 0A 21 C5 */ bl AsNormalized__9CVector3fCFv +/* 80272690 0026F5F0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272694 0026F5F4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272698 0026F5F8 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8027269C 0026F5FC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 802726A0 0026F600 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802726A4 0026F604 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 802726A8 0026F608 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802726AC 0026F60C EC 64 18 28 */ fsubs f3, f4, f3 +/* 802726B0 0026F610 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 802726B4 0026F614 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802726B8 0026F618 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 802726BC 0026F61C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802726C0 0026F620 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802726C4 0026F624 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802726C8 0026F628 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802726CC 0026F62C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) +/* 802726D0 0026F630 EC 27 09 7A */ fmadds f1, f7, f5, f1 +/* 802726D4 0026F634 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802726D8 0026F638 40 80 00 4C */ bge lbl_80272724 +/* 802726DC 0026F63C EC BF 10 28 */ fsubs f5, f31, f2 +/* 802726E0 0026F640 D0 81 00 08 */ stfs f4, 8(r1) +/* 802726E4 0026F644 EC 7E 30 28 */ fsubs f3, f30, f6 +/* 802726E8 0026F648 7F C3 F3 78 */ mr r3, r30 +/* 802726EC 0026F64C EC 1D 20 28 */ fsubs f0, f29, f4 +/* 802726F0 0026F650 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802726F4 0026F654 FC 20 E0 90 */ fmr f1, f28 +/* 802726F8 0026F658 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 802726FC 0026F65C 7F E4 FB 78 */ mr r4, r31 +/* 80272700 0026F660 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80272704 0026F664 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80272708 0026F668 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8027270C 0026F66C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80272710 0026F670 48 00 20 A9 */ bl sub_802747b8 +/* 80272714 0026F674 48 00 00 10 */ b lbl_80272724 +lbl_80272718: +/* 80272718 0026F678 38 00 00 00 */ li r0, 0 +/* 8027271C 0026F67C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272720 0026F680 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80272724: +/* 80272724 0026F684 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80272728 0026F688 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8027272C 0026F68C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80272730 0026F690 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80272734 0026F694 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80272738 0026F698 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8027273C 0026F69C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 80272740 0026F6A0 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 80272744 0026F6A4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80272748 0026F6A8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8027274C 0026F6AC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80272750 0026F6B0 7C 08 03 A6 */ mtlr r0 +/* 80272754 0026F6B4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80272758 0026F6B8 4E 80 00 20 */ blr + +.global CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 8027275C 0026F6BC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80272760 0026F6C0 7C 08 02 A6 */ mflr r0 +/* 80272764 0026F6C4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80272768 0026F6C8 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8027276C 0026F6CC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80272770 0026F6D0 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80272774 0026F6D4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80272778 0026F6D8 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8027277C 0026F6DC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80272780 0026F6E0 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80272784 0026F6E4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80272788 0026F6E8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027278C 0026F6EC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80272790 0026F6F0 FF 80 08 90 */ fmr f28, f1 +/* 80272794 0026F6F4 2C 05 00 01 */ cmpwi r5, 1 +/* 80272798 0026F6F8 7C 7E 1B 78 */ mr r30, r3 +/* 8027279C 0026F6FC 7C 9F 23 78 */ mr r31, r4 +/* 802727A0 0026F700 41 82 00 38 */ beq lbl_802727D8 +/* 802727A4 0026F704 40 80 00 10 */ bge lbl_802727B4 +/* 802727A8 0026F708 2C 05 00 00 */ cmpwi r5, 0 +/* 802727AC 0026F70C 40 80 00 14 */ bge lbl_802727C0 +/* 802727B0 0026F710 48 00 01 78 */ b lbl_80272928 +lbl_802727B4: +/* 802727B4 0026F714 2C 05 00 03 */ cmpwi r5, 3 +/* 802727B8 0026F718 40 80 01 70 */ bge lbl_80272928 +/* 802727BC 0026F71C 48 00 01 3C */ b lbl_802728F8 +lbl_802727C0: +/* 802727C0 0026F720 38 00 00 01 */ li r0, 1 +/* 802727C4 0026F724 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) +/* 802727C8 0026F728 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802727CC 0026F72C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 802727D0 0026F730 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 802727D4 0026F734 48 00 01 54 */ b lbl_80272928 +lbl_802727D8: +/* 802727D8 0026F738 3C A0 80 3F */ lis r5, lbl_803EAD00@ha +/* 802727DC 0026F73C 38 80 00 00 */ li r4, 0 +/* 802727E0 0026F740 38 E5 AD 00 */ addi r7, r5, lbl_803EAD00@l +/* 802727E4 0026F744 80 C7 00 00 */ lwz r6, 0(r7) +/* 802727E8 0026F748 80 A7 00 04 */ lwz r5, 4(r7) +/* 802727EC 0026F74C 80 07 00 08 */ lwz r0, 8(r7) +/* 802727F0 0026F750 90 C1 00 38 */ stw r6, 0x38(r1) +/* 802727F4 0026F754 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802727F8 0026F758 90 01 00 40 */ stw r0, 0x40(r1) +/* 802727FC 0026F75C 48 00 36 39 */ bl sub_80275e34 +/* 80272800 0026F760 7C 67 1B 78 */ mr r7, r3 +/* 80272804 0026F764 7F C3 F3 78 */ mr r3, r30 +/* 80272808 0026F768 7F E4 FB 78 */ mr r4, r31 +/* 8027280C 0026F76C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80272810 0026F770 38 A0 00 07 */ li r5, 7 +/* 80272814 0026F774 4B E0 9F A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272818 0026F778 C0 62 BC 18 */ lfs f3, lbl_805AD938@sda21(r2) +/* 8027281C 0026F77C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80272820 0026F780 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80272824 0026F784 38 81 00 20 */ addi r4, r1, 0x20 +/* 80272828 0026F788 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8027282C 0026F78C C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 80272830 0026F790 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80272834 0026F794 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 80272838 0026F798 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8027283C 0026F79C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80272840 0026F7A0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80272844 0026F7A4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80272848 0026F7A8 EF A2 28 2A */ fadds f29, f2, f5 +/* 8027284C 0026F7AC EF C1 20 2A */ fadds f30, f1, f4 +/* 80272850 0026F7B0 EF E0 18 2A */ fadds f31, f0, f3 +/* 80272854 0026F7B4 EC 5D 28 28 */ fsubs f2, f29, f5 +/* 80272858 0026F7B8 EC 3E 20 28 */ fsubs f1, f30, f4 +/* 8027285C 0026F7BC EC 1F 18 28 */ fsubs f0, f31, f3 +/* 80272860 0026F7C0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80272864 0026F7C4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80272868 0026F7C8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027286C 0026F7CC 48 0A 1F E5 */ bl AsNormalized__9CVector3fCFv +/* 80272870 0026F7D0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80272874 0026F7D4 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80272878 0026F7D8 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8027287C 0026F7DC C0 83 00 40 */ lfs f4, 0x40(r3) +/* 80272880 0026F7E0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80272884 0026F7E4 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80272888 0026F7E8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8027288C 0026F7EC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80272890 0026F7F0 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 80272894 0026F7F4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80272898 0026F7F8 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 8027289C 0026F7FC C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802728A0 0026F800 EC A6 28 28 */ fsubs f5, f6, f5 +/* 802728A4 0026F804 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802728A8 0026F808 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802728AC 0026F80C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) +/* 802728B0 0026F810 EC 27 09 7A */ fmadds f1, f7, f5, f1 +/* 802728B4 0026F814 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802728B8 0026F818 40 80 00 70 */ bge lbl_80272928 +/* 802728BC 0026F81C EC BE 10 28 */ fsubs f5, f30, f2 +/* 802728C0 0026F820 D0 81 00 08 */ stfs f4, 8(r1) +/* 802728C4 0026F824 EC 7F 30 28 */ fsubs f3, f31, f6 +/* 802728C8 0026F828 7F C3 F3 78 */ mr r3, r30 +/* 802728CC 0026F82C EC 1D 20 28 */ fsubs f0, f29, f4 +/* 802728D0 0026F830 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802728D4 0026F834 FC 20 E0 90 */ fmr f1, f28 +/* 802728D8 0026F838 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 802728DC 0026F83C 7F E4 FB 78 */ mr r4, r31 +/* 802728E0 0026F840 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802728E4 0026F844 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802728E8 0026F848 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802728EC 0026F84C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802728F0 0026F850 48 00 1E C9 */ bl sub_802747b8 +/* 802728F4 0026F854 48 00 00 34 */ b lbl_80272928 +lbl_802728F8: +/* 802728F8 0026F858 38 A0 00 00 */ li r5, 0 +/* 802728FC 0026F85C 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272900 0026F860 90 BE 03 2C */ stw r5, 0x32c(r30) +/* 80272904 0026F864 38 00 00 01 */ li r0, 1 +/* 80272908 0026F868 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 8027290C 0026F86C 90 BE 09 2C */ stw r5, 0x92c(r30) +/* 80272910 0026F870 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272914 0026F874 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272918 0026F878 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8027291C 0026F87C 54 00 10 3A */ slwi r0, r0, 2 +/* 80272920 0026F880 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272924 0026F884 4B EC 80 B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80272928: +/* 80272928 0026F888 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8027292C 0026F88C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80272930 0026F890 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80272934 0026F894 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80272938 0026F898 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8027293C 0026F89C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80272940 0026F8A0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80272944 0026F8A4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80272948 0026F8A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027294C 0026F8AC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80272950 0026F8B0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80272954 0026F8B4 7C 08 03 A6 */ mtlr r0 +/* 80272958 0026F8B8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8027295C 0026F8BC 4E 80 00 20 */ blr + +.global Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272960 0026F8C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272964 0026F8C4 7C 08 02 A6 */ mflr r0 +/* 80272968 0026F8C8 2C 05 00 01 */ cmpwi r5, 1 +/* 8027296C 0026F8CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272970 0026F8D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272974 0026F8D4 7C 9F 23 78 */ mr r31, r4 +/* 80272978 0026F8D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027297C 0026F8DC 7C 7E 1B 78 */ mr r30, r3 +/* 80272980 0026F8E0 41 82 00 3C */ beq lbl_802729BC +/* 80272984 0026F8E4 40 80 00 10 */ bge lbl_80272994 +/* 80272988 0026F8E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8027298C 0026F8EC 40 80 00 14 */ bge lbl_802729A0 +/* 80272990 0026F8F0 48 00 00 B8 */ b lbl_80272A48 +lbl_80272994: +/* 80272994 0026F8F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80272998 0026F8F8 40 80 00 B0 */ bge lbl_80272A48 +/* 8027299C 0026F8FC 48 00 00 94 */ b lbl_80272A30 +lbl_802729A0: +/* 802729A0 0026F900 38 60 00 01 */ li r3, 1 +/* 802729A4 0026F904 38 00 00 0C */ li r0, 0xc +/* 802729A8 0026F908 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 802729AC 0026F90C C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) +/* 802729B0 0026F910 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 802729B4 0026F914 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 802729B8 0026F918 48 00 00 90 */ b lbl_80272A48 +lbl_802729BC: +/* 802729BC 0026F91C 3C A0 80 3F */ lis r5, lbl_803EACF4@ha +/* 802729C0 0026F920 38 80 00 0D */ li r4, 0xd +/* 802729C4 0026F924 38 E5 AC F4 */ addi r7, r5, lbl_803EACF4@l +/* 802729C8 0026F928 80 C7 00 00 */ lwz r6, 0(r7) +/* 802729CC 0026F92C 80 A7 00 04 */ lwz r5, 4(r7) +/* 802729D0 0026F930 80 07 00 08 */ lwz r0, 8(r7) +/* 802729D4 0026F934 90 C1 00 08 */ stw r6, 8(r1) +/* 802729D8 0026F938 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802729DC 0026F93C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802729E0 0026F940 48 00 34 55 */ bl sub_80275e34 +/* 802729E4 0026F944 7C 67 1B 78 */ mr r7, r3 +/* 802729E8 0026F948 7F C3 F3 78 */ mr r3, r30 +/* 802729EC 0026F94C 7F E4 FB 78 */ mr r4, r31 +/* 802729F0 0026F950 38 C1 00 08 */ addi r6, r1, 8 +/* 802729F4 0026F954 38 A0 00 12 */ li r5, 0x12 +/* 802729F8 0026F958 4B E0 9D BD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802729FC 0026F95C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80272A00 0026F960 2C 00 00 02 */ cmpwi r0, 2 +/* 80272A04 0026F964 40 82 00 44 */ bne lbl_80272A48 +/* 80272A08 0026F968 38 00 00 01 */ li r0, 1 +/* 80272A0C 0026F96C 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272A10 0026F970 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272A14 0026F974 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272A18 0026F978 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272A1C 0026F97C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272A20 0026F980 54 00 10 3A */ slwi r0, r0, 2 +/* 80272A24 0026F984 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272A28 0026F988 4B EC 7F B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272A2C 0026F98C 48 00 00 1C */ b lbl_80272A48 +lbl_80272A30: +/* 80272A30 0026F990 38 00 00 00 */ li r0, 0 +/* 80272A34 0026F994 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272A38 0026F998 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272A3C 0026F99C 48 00 0E 99 */ bl sub_802738d4 +/* 80272A40 0026F9A0 38 00 00 02 */ li r0, 2 +/* 80272A44 0026F9A4 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272A48: +/* 80272A48 0026F9A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272A4C 0026F9AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272A50 0026F9B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272A54 0026F9B4 7C 08 03 A6 */ mtlr r0 +/* 80272A58 0026F9B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272A5C 0026F9BC 4E 80 00 20 */ blr + +.global SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272A60 0026F9C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272A64 0026F9C4 7C 08 02 A6 */ mflr r0 +/* 80272A68 0026F9C8 2C 05 00 01 */ cmpwi r5, 1 +/* 80272A6C 0026F9CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272A70 0026F9D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272A74 0026F9D4 7C 7F 1B 78 */ mr r31, r3 +/* 80272A78 0026F9D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272A7C 0026F9DC 7C 9E 23 78 */ mr r30, r4 +/* 80272A80 0026F9E0 41 82 00 98 */ beq lbl_80272B18 +/* 80272A84 0026F9E4 40 80 00 10 */ bge lbl_80272A94 +/* 80272A88 0026F9E8 2C 05 00 00 */ cmpwi r5, 0 +/* 80272A8C 0026F9EC 40 80 00 14 */ bge lbl_80272AA0 +/* 80272A90 0026F9F0 48 00 01 0C */ b lbl_80272B9C +lbl_80272A94: +/* 80272A94 0026F9F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80272A98 0026F9F8 40 80 01 04 */ bge lbl_80272B9C +/* 80272A9C 0026F9FC 48 00 00 F0 */ b lbl_80272B8C +lbl_80272AA0: +/* 80272AA0 0026FA00 38 00 00 01 */ li r0, 1 +/* 80272AA4 0026FA04 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80272AA8 0026FA08 80 1F 12 54 */ lwz r0, 0x1254(r31) +/* 80272AAC 0026FA0C 2C 00 00 04 */ cmpwi r0, 4 +/* 80272AB0 0026FA10 41 82 00 3C */ beq lbl_80272AEC +/* 80272AB4 0026FA14 40 80 00 14 */ bge lbl_80272AC8 +/* 80272AB8 0026FA18 2C 00 00 02 */ cmpwi r0, 2 +/* 80272ABC 0026FA1C 41 82 00 18 */ beq lbl_80272AD4 +/* 80272AC0 0026FA20 40 80 00 20 */ bge lbl_80272AE0 +/* 80272AC4 0026FA24 48 00 00 3C */ b lbl_80272B00 +lbl_80272AC8: +/* 80272AC8 0026FA28 2C 00 00 06 */ cmpwi r0, 6 +/* 80272ACC 0026FA2C 40 80 00 34 */ bge lbl_80272B00 +/* 80272AD0 0026FA30 48 00 00 28 */ b lbl_80272AF8 +lbl_80272AD4: +/* 80272AD4 0026FA34 38 00 00 02 */ li r0, 2 +/* 80272AD8 0026FA38 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272ADC 0026FA3C 48 00 00 24 */ b lbl_80272B00 +lbl_80272AE0: +/* 80272AE0 0026FA40 38 00 00 03 */ li r0, 3 +/* 80272AE4 0026FA44 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272AE8 0026FA48 48 00 00 18 */ b lbl_80272B00 +lbl_80272AEC: +/* 80272AEC 0026FA4C 38 00 00 04 */ li r0, 4 +/* 80272AF0 0026FA50 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272AF4 0026FA54 48 00 00 0C */ b lbl_80272B00 +lbl_80272AF8: +/* 80272AF8 0026FA58 38 00 00 05 */ li r0, 5 +/* 80272AFC 0026FA5C 90 1F 09 2C */ stw r0, 0x92c(r31) +lbl_80272B00: +/* 80272B00 0026FA60 C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) +/* 80272B04 0026FA64 7F E3 FB 78 */ mr r3, r31 +/* 80272B08 0026FA68 7F C4 F3 78 */ mr r4, r30 +/* 80272B0C 0026FA6C D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80272B10 0026FA70 48 00 15 45 */ bl sub_80274054 +/* 80272B14 0026FA74 48 00 00 88 */ b lbl_80272B9C +lbl_80272B18: +/* 80272B18 0026FA78 3C 80 80 3F */ lis r4, lbl_803EACE8@ha +/* 80272B1C 0026FA7C 38 C4 AC E8 */ addi r6, r4, lbl_803EACE8@l +/* 80272B20 0026FA80 80 A6 00 00 */ lwz r5, 0(r6) +/* 80272B24 0026FA84 80 86 00 04 */ lwz r4, 4(r6) +/* 80272B28 0026FA88 80 06 00 08 */ lwz r0, 8(r6) +/* 80272B2C 0026FA8C 90 A1 00 08 */ stw r5, 8(r1) +/* 80272B30 0026FA90 90 81 00 0C */ stw r4, 0xc(r1) +/* 80272B34 0026FA94 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272B38 0026FA98 80 9F 12 54 */ lwz r4, 0x1254(r31) +/* 80272B3C 0026FA9C 48 00 32 F9 */ bl sub_80275e34 +/* 80272B40 0026FAA0 7C 67 1B 78 */ mr r7, r3 +/* 80272B44 0026FAA4 7F E3 FB 78 */ mr r3, r31 +/* 80272B48 0026FAA8 7F C4 F3 78 */ mr r4, r30 +/* 80272B4C 0026FAAC 38 C1 00 08 */ addi r6, r1, 8 +/* 80272B50 0026FAB0 38 A0 00 12 */ li r5, 0x12 +/* 80272B54 0026FAB4 4B E0 9C 61 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272B58 0026FAB8 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80272B5C 0026FABC 2C 00 00 02 */ cmpwi r0, 2 +/* 80272B60 0026FAC0 40 82 00 3C */ bne lbl_80272B9C +/* 80272B64 0026FAC4 38 00 00 01 */ li r0, 1 +/* 80272B68 0026FAC8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272B6C 0026FACC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80272B70 0026FAD0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272B74 0026FAD4 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272B78 0026FAD8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80272B7C 0026FADC 54 00 10 3A */ slwi r0, r0, 2 +/* 80272B80 0026FAE0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272B84 0026FAE4 4B EC 7E 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272B88 0026FAE8 48 00 00 14 */ b lbl_80272B9C +lbl_80272B8C: +/* 80272B8C 0026FAEC 38 00 00 00 */ li r0, 0 +/* 80272B90 0026FAF0 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80272B94 0026FAF4 90 1F 09 2C */ stw r0, 0x92c(r31) +/* 80272B98 0026FAF8 48 00 0D 3D */ bl sub_802738d4 +lbl_80272B9C: +/* 80272B9C 0026FAFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272BA0 0026FB00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272BA4 0026FB04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272BA8 0026FB08 7C 08 03 A6 */ mtlr r0 +/* 80272BAC 0026FB0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272BB0 0026FB10 4E 80 00 20 */ blr + +.global Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272BB4 0026FB14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272BB8 0026FB18 7C 08 02 A6 */ mflr r0 +/* 80272BBC 0026FB1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80272BC0 0026FB20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272BC4 0026FB24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272BC8 0026FB28 7C 9F 23 78 */ mr r31, r4 +/* 80272BCC 0026FB2C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272BD0 0026FB30 7C 7E 1B 78 */ mr r30, r3 +/* 80272BD4 0026FB34 41 82 00 3C */ beq lbl_80272C10 +/* 80272BD8 0026FB38 40 80 00 10 */ bge lbl_80272BE8 +/* 80272BDC 0026FB3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272BE0 0026FB40 40 80 00 14 */ bge lbl_80272BF4 +/* 80272BE4 0026FB44 48 00 00 88 */ b lbl_80272C6C +lbl_80272BE8: +/* 80272BE8 0026FB48 2C 05 00 03 */ cmpwi r5, 3 +/* 80272BEC 0026FB4C 40 80 00 80 */ bge lbl_80272C6C +/* 80272BF0 0026FB50 48 00 00 64 */ b lbl_80272C54 +lbl_80272BF4: +/* 80272BF4 0026FB54 38 60 00 01 */ li r3, 1 +/* 80272BF8 0026FB58 38 00 00 06 */ li r0, 6 +/* 80272BFC 0026FB5C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80272C00 0026FB60 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80272C04 0026FB64 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272C08 0026FB68 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272C0C 0026FB6C 48 00 00 60 */ b lbl_80272C6C +lbl_80272C10: +/* 80272C10 0026FB70 3C A0 80 3F */ lis r5, lbl_803EACDC@ha +/* 80272C14 0026FB74 38 80 00 09 */ li r4, 9 +/* 80272C18 0026FB78 38 E5 AC DC */ addi r7, r5, lbl_803EACDC@l +/* 80272C1C 0026FB7C 80 C7 00 00 */ lwz r6, 0(r7) +/* 80272C20 0026FB80 80 A7 00 04 */ lwz r5, 4(r7) +/* 80272C24 0026FB84 80 07 00 08 */ lwz r0, 8(r7) +/* 80272C28 0026FB88 90 C1 00 08 */ stw r6, 8(r1) +/* 80272C2C 0026FB8C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80272C30 0026FB90 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272C34 0026FB94 48 00 32 01 */ bl sub_80275e34 +/* 80272C38 0026FB98 7C 67 1B 78 */ mr r7, r3 +/* 80272C3C 0026FB9C 7F C3 F3 78 */ mr r3, r30 +/* 80272C40 0026FBA0 7F E4 FB 78 */ mr r4, r31 +/* 80272C44 0026FBA4 38 C1 00 08 */ addi r6, r1, 8 +/* 80272C48 0026FBA8 38 A0 00 07 */ li r5, 7 +/* 80272C4C 0026FBAC 4B E0 9B 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272C50 0026FBB0 48 00 00 1C */ b lbl_80272C6C +lbl_80272C54: +/* 80272C54 0026FBB4 38 00 00 00 */ li r0, 0 +/* 80272C58 0026FBB8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272C5C 0026FBBC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272C60 0026FBC0 48 00 0C 75 */ bl sub_802738d4 +/* 80272C64 0026FBC4 38 00 00 02 */ li r0, 2 +/* 80272C68 0026FBC8 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272C6C: +/* 80272C6C 0026FBCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272C70 0026FBD0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272C74 0026FBD4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272C78 0026FBD8 7C 08 03 A6 */ mtlr r0 +/* 80272C7C 0026FBDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272C80 0026FBE0 4E 80 00 20 */ blr + +.global ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272C84 0026FBE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272C88 0026FBE8 7C 08 02 A6 */ mflr r0 +/* 80272C8C 0026FBEC 2C 05 00 01 */ cmpwi r5, 1 +/* 80272C90 0026FBF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272C94 0026FBF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272C98 0026FBF8 7C 9F 23 78 */ mr r31, r4 +/* 80272C9C 0026FBFC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272CA0 0026FC00 7C 7E 1B 78 */ mr r30, r3 +/* 80272CA4 0026FC04 41 82 00 3C */ beq lbl_80272CE0 +/* 80272CA8 0026FC08 40 80 00 10 */ bge lbl_80272CB8 +/* 80272CAC 0026FC0C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272CB0 0026FC10 40 80 00 14 */ bge lbl_80272CC4 +/* 80272CB4 0026FC14 48 00 00 E8 */ b lbl_80272D9C +lbl_80272CB8: +/* 80272CB8 0026FC18 2C 05 00 03 */ cmpwi r5, 3 +/* 80272CBC 0026FC1C 40 80 00 E0 */ bge lbl_80272D9C +/* 80272CC0 0026FC20 48 00 00 94 */ b lbl_80272D54 +lbl_80272CC4: +/* 80272CC4 0026FC24 38 60 00 01 */ li r3, 1 +/* 80272CC8 0026FC28 38 00 00 07 */ li r0, 7 +/* 80272CCC 0026FC2C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80272CD0 0026FC30 C0 02 BC 24 */ lfs f0, lbl_805AD944@sda21(r2) +/* 80272CD4 0026FC34 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272CD8 0026FC38 D0 1E 10 84 */ stfs f0, 0x1084(r30) +/* 80272CDC 0026FC3C 48 00 00 C0 */ b lbl_80272D9C +lbl_80272CE0: +/* 80272CE0 0026FC40 3C 80 80 3F */ lis r4, lbl_803EACD0@ha +/* 80272CE4 0026FC44 38 C4 AC D0 */ addi r6, r4, lbl_803EACD0@l +/* 80272CE8 0026FC48 80 A6 00 00 */ lwz r5, 0(r6) +/* 80272CEC 0026FC4C 80 86 00 04 */ lwz r4, 4(r6) +/* 80272CF0 0026FC50 80 06 00 08 */ lwz r0, 8(r6) +/* 80272CF4 0026FC54 90 A1 00 08 */ stw r5, 8(r1) +/* 80272CF8 0026FC58 90 81 00 0C */ stw r4, 0xc(r1) +/* 80272CFC 0026FC5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272D00 0026FC60 80 9E 12 54 */ lwz r4, 0x1254(r30) +/* 80272D04 0026FC64 48 00 31 31 */ bl sub_80275e34 +/* 80272D08 0026FC68 7C 67 1B 78 */ mr r7, r3 +/* 80272D0C 0026FC6C 7F C3 F3 78 */ mr r3, r30 +/* 80272D10 0026FC70 7F E4 FB 78 */ mr r4, r31 +/* 80272D14 0026FC74 38 C1 00 08 */ addi r6, r1, 8 +/* 80272D18 0026FC78 38 A0 00 12 */ li r5, 0x12 +/* 80272D1C 0026FC7C 4B E0 9A 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272D20 0026FC80 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80272D24 0026FC84 2C 00 00 02 */ cmpwi r0, 2 +/* 80272D28 0026FC88 40 82 00 74 */ bne lbl_80272D9C +/* 80272D2C 0026FC8C 38 00 00 01 */ li r0, 1 +/* 80272D30 0026FC90 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 80272D34 0026FC94 90 1E 10 78 */ stw r0, 0x1078(r30) +/* 80272D38 0026FC98 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80272D3C 0026FC9C 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80272D40 0026FCA0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80272D44 0026FCA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80272D48 0026FCA8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272D4C 0026FCAC 4B EC 7C 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272D50 0026FCB0 48 00 00 4C */ b lbl_80272D9C +lbl_80272D54: +/* 80272D54 0026FCB4 38 00 00 00 */ li r0, 0 +/* 80272D58 0026FCB8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80272D5C 0026FCBC 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80272D60 0026FCC0 48 00 0B 75 */ bl sub_802738d4 +/* 80272D64 0026FCC4 C0 02 BC 28 */ lfs f0, lbl_805AD948@sda21(r2) +/* 80272D68 0026FCC8 38 80 00 00 */ li r4, 0 +/* 80272D6C 0026FCCC D0 1E 10 88 */ stfs f0, 0x1088(r30) +/* 80272D70 0026FCD0 80 7E 0C 54 */ lwz r3, 0xc54(r30) +/* 80272D74 0026FCD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80272D78 0026FCD8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80272D7C 0026FCDC 7D 89 03 A6 */ mtctr r12 +/* 80272D80 0026FCE0 4E 80 04 21 */ bctrl +/* 80272D84 0026FCE4 7F C3 F3 78 */ mr r3, r30 +/* 80272D88 0026FCE8 7F E4 FB 78 */ mr r4, r31 +/* 80272D8C 0026FCEC 38 A0 00 00 */ li r5, 0 +/* 80272D90 0026FCF0 48 00 45 F1 */ bl sub_80277380 +/* 80272D94 0026FCF4 38 00 00 02 */ li r0, 2 +/* 80272D98 0026FCF8 90 1E 12 54 */ stw r0, 0x1254(r30) +lbl_80272D9C: +/* 80272D9C 0026FCFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272DA0 0026FD00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272DA4 0026FD04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80272DA8 0026FD08 7C 08 03 A6 */ mtlr r0 +/* 80272DAC 0026FD0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272DB0 0026FD10 4E 80 00 20 */ blr + +.global Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272DB4 0026FD14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272DB8 0026FD18 7C 08 02 A6 */ mflr r0 +/* 80272DBC 0026FD1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80272DC0 0026FD20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272DC4 0026FD24 41 82 00 2C */ beq lbl_80272DF0 +/* 80272DC8 0026FD28 40 80 00 10 */ bge lbl_80272DD8 +/* 80272DCC 0026FD2C 2C 05 00 00 */ cmpwi r5, 0 +/* 80272DD0 0026FD30 40 80 00 14 */ bge lbl_80272DE4 +/* 80272DD4 0026FD34 48 00 00 68 */ b lbl_80272E3C +lbl_80272DD8: +/* 80272DD8 0026FD38 2C 05 00 03 */ cmpwi r5, 3 +/* 80272DDC 0026FD3C 40 80 00 60 */ bge lbl_80272E3C +/* 80272DE0 0026FD40 48 00 00 54 */ b lbl_80272E34 +lbl_80272DE4: +/* 80272DE4 0026FD44 38 00 00 01 */ li r0, 1 +/* 80272DE8 0026FD48 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80272DEC 0026FD4C 48 00 00 50 */ b lbl_80272E3C +lbl_80272DF0: +/* 80272DF0 0026FD50 3C C0 80 3F */ lis r6, lbl_803EACC4@ha +/* 80272DF4 0026FD54 3C A0 80 3D */ lis r5, lbl_803D5478@ha +/* 80272DF8 0026FD58 39 46 AC C4 */ addi r10, r6, lbl_803EACC4@l +/* 80272DFC 0026FD5C 38 C1 00 08 */ addi r6, r1, 8 +/* 80272E00 0026FD60 81 2A 00 00 */ lwz r9, 0(r10) +/* 80272E04 0026FD64 38 E5 54 78 */ addi r7, r5, lbl_803D5478@l +/* 80272E08 0026FD68 81 0A 00 04 */ lwz r8, 4(r10) +/* 80272E0C 0026FD6C 38 A0 00 10 */ li r5, 0x10 +/* 80272E10 0026FD70 80 0A 00 08 */ lwz r0, 8(r10) +/* 80272E14 0026FD74 91 21 00 08 */ stw r9, 8(r1) +/* 80272E18 0026FD78 91 01 00 0C */ stw r8, 0xc(r1) +/* 80272E1C 0026FD7C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80272E20 0026FD80 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80272E24 0026FD84 54 00 10 3A */ slwi r0, r0, 2 +/* 80272E28 0026FD88 7C E7 00 2E */ lwzx r7, r7, r0 +/* 80272E2C 0026FD8C 4B E0 99 89 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80272E30 0026FD90 48 00 00 0C */ b lbl_80272E3C +lbl_80272E34: +/* 80272E34 0026FD94 38 00 00 00 */ li r0, 0 +/* 80272E38 0026FD98 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80272E3C: +/* 80272E3C 0026FD9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272E40 0026FDA0 7C 08 03 A6 */ mtlr r0 +/* 80272E44 0026FDA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272E48 0026FDA8 4E 80 00 20 */ blr + +.global SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272E4C 0026FDAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272E50 0026FDB0 7C 08 02 A6 */ mflr r0 +/* 80272E54 0026FDB4 2C 05 00 01 */ cmpwi r5, 1 +/* 80272E58 0026FDB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272E5C 0026FDBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272E60 0026FDC0 7C 7F 1B 78 */ mr r31, r3 +/* 80272E64 0026FDC4 41 82 00 4C */ beq lbl_80272EB0 +/* 80272E68 0026FDC8 40 80 00 10 */ bge lbl_80272E78 +/* 80272E6C 0026FDCC 2C 05 00 00 */ cmpwi r5, 0 +/* 80272E70 0026FDD0 40 80 00 14 */ bge lbl_80272E84 +/* 80272E74 0026FDD4 48 00 00 58 */ b lbl_80272ECC +lbl_80272E78: +/* 80272E78 0026FDD8 2C 05 00 03 */ cmpwi r5, 3 +/* 80272E7C 0026FDDC 40 80 00 50 */ bge lbl_80272ECC +/* 80272E80 0026FDE0 48 00 00 38 */ b lbl_80272EB8 +lbl_80272E84: +/* 80272E84 0026FDE4 C0 3F 09 24 */ lfs f1, 0x924(r31) +/* 80272E88 0026FDE8 38 81 00 08 */ addi r4, r1, 8 +/* 80272E8C 0026FDEC C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 80272E90 0026FDF0 38 6D 98 D8 */ addi r3, r13, lbl_805A8498@sda21 +/* 80272E94 0026FDF4 38 AD 98 DC */ addi r5, r13, lbl_805A849C@sda21 +/* 80272E98 0026FDF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80272E9C 0026FDFC D0 01 00 08 */ stfs f0, 8(r1) +/* 80272EA0 0026FE00 4B D9 94 15 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80272EA4 0026FE04 C0 03 00 00 */ lfs f0, 0(r3) +/* 80272EA8 0026FE08 D0 1F 03 40 */ stfs f0, 0x340(r31) +/* 80272EAC 0026FE0C 48 00 00 20 */ b lbl_80272ECC +lbl_80272EB0: +/* 80272EB0 0026FE10 48 00 29 51 */ bl sub_80275800 +/* 80272EB4 0026FE14 48 00 00 18 */ b lbl_80272ECC +lbl_80272EB8: +/* 80272EB8 0026FE18 48 00 0A 1D */ bl sub_802738d4 +/* 80272EBC 0026FE1C 88 1F 10 54 */ lbz r0, 0x1054(r31) +/* 80272EC0 0026FE20 38 60 00 00 */ li r3, 0 +/* 80272EC4 0026FE24 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80272EC8 0026FE28 98 1F 10 54 */ stb r0, 0x1054(r31) +lbl_80272ECC: +/* 80272ECC 0026FE2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80272ED0 0026FE30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80272ED4 0026FE34 7C 08 03 A6 */ mtlr r0 +/* 80272ED8 0026FE38 38 21 00 20 */ addi r1, r1, 0x20 +/* 80272EDC 0026FE3C 4E 80 00 20 */ blr + +.global Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272EE0 0026FE40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80272EE4 0026FE44 7C 08 02 A6 */ mflr r0 +/* 80272EE8 0026FE48 2C 05 00 01 */ cmpwi r5, 1 +/* 80272EEC 0026FE4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80272EF0 0026FE50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80272EF4 0026FE54 7C 7F 1B 78 */ mr r31, r3 +/* 80272EF8 0026FE58 41 82 00 3C */ beq lbl_80272F34 +/* 80272EFC 0026FE5C 40 80 00 10 */ bge lbl_80272F0C +/* 80272F00 0026FE60 2C 05 00 00 */ cmpwi r5, 0 +/* 80272F04 0026FE64 40 80 00 14 */ bge lbl_80272F18 +/* 80272F08 0026FE68 48 00 00 C0 */ b lbl_80272FC8 +lbl_80272F0C: +/* 80272F0C 0026FE6C 2C 05 00 03 */ cmpwi r5, 3 +/* 80272F10 0026FE70 40 80 00 B8 */ bge lbl_80272FC8 +/* 80272F14 0026FE74 48 00 00 AC */ b lbl_80272FC0 +lbl_80272F18: +/* 80272F18 0026FE78 C0 22 BC 2C */ lfs f1, lbl_805AD94C@sda21(r2) +/* 80272F1C 0026FE7C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80272F20 0026FE80 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 80272F24 0026FE84 C0 3F 10 88 */ lfs f1, 0x1088(r31) +/* 80272F28 0026FE88 D0 3F 10 84 */ stfs f1, 0x1084(r31) +/* 80272F2C 0026FE8C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 80272F30 0026FE90 48 00 00 98 */ b lbl_80272FC8 +lbl_80272F34: +/* 80272F34 0026FE94 80 1F 05 70 */ lwz r0, 0x570(r31) +/* 80272F38 0026FE98 2C 00 00 00 */ cmpwi r0, 0 +/* 80272F3C 0026FE9C 40 82 00 10 */ bne lbl_80272F4C +/* 80272F40 0026FEA0 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272F44 0026FEA4 2C 00 00 01 */ cmpwi r0, 1 +/* 80272F48 0026FEA8 41 82 00 80 */ beq lbl_80272FC8 +lbl_80272F4C: +/* 80272F4C 0026FEAC C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 80272F50 0026FEB0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80272F54 0026FEB4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80272F58 0026FEB8 40 80 00 70 */ bge lbl_80272FC8 +/* 80272F5C 0026FEBC C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 80272F60 0026FEC0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80272F64 0026FEC4 40 80 00 64 */ bge lbl_80272FC8 +/* 80272F68 0026FEC8 C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 80272F6C 0026FECC C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) +/* 80272F70 0026FED0 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 80272F74 0026FED4 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80272F78 0026FED8 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80272F7C 0026FEDC 48 09 F5 A5 */ bl Next__9CRandom16Fv +/* 80272F80 0026FEE0 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 80272F84 0026FEE4 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 80272F88 0026FEE8 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 80272F8C 0026FEEC 7C A0 18 96 */ mulhw r5, r0, r3 +/* 80272F90 0026FEF0 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 80272F94 0026FEF4 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 80272F98 0026FEF8 7C 05 02 14 */ add r0, r5, r0 +/* 80272F9C 0026FEFC 1C 00 00 03 */ mulli r0, r0, 3 +/* 80272FA0 0026FF00 7C 00 18 50 */ subf r0, r0, r3 +/* 80272FA4 0026FF04 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80272FA8 0026FF08 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80272FAC 0026FF0C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80272FB0 0026FF10 54 00 10 3A */ slwi r0, r0, 2 +/* 80272FB4 0026FF14 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80272FB8 0026FF18 4B EC 7A 21 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80272FBC 0026FF1C 48 00 00 0C */ b lbl_80272FC8 +lbl_80272FC0: +/* 80272FC0 0026FF20 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80272FC4 0026FF24 D0 1F 10 88 */ stfs f0, 0x1088(r31) +lbl_80272FC8: +/* 80272FC8 0026FF28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80272FCC 0026FF2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80272FD0 0026FF30 7C 08 03 A6 */ mtlr r0 +/* 80272FD4 0026FF34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80272FD8 0026FF38 4E 80 00 20 */ blr + +.global InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf +InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: +/* 80272FDC 0026FF3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80272FE0 0026FF40 7C 08 02 A6 */ mflr r0 +/* 80272FE4 0026FF44 2C 05 00 01 */ cmpwi r5, 1 +/* 80272FE8 0026FF48 90 01 00 24 */ stw r0, 0x24(r1) +/* 80272FEC 0026FF4C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80272FF0 0026FF50 7C 7F 1B 78 */ mr r31, r3 +/* 80272FF4 0026FF54 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80272FF8 0026FF58 7C 9E 23 78 */ mr r30, r4 +/* 80272FFC 0026FF5C 41 82 00 94 */ beq lbl_80273090 +/* 80273000 0026FF60 40 80 00 10 */ bge lbl_80273010 +/* 80273004 0026FF64 2C 05 00 00 */ cmpwi r5, 0 +/* 80273008 0026FF68 40 80 00 14 */ bge lbl_8027301C +/* 8027300C 0026FF6C 48 00 01 60 */ b lbl_8027316C +lbl_80273010: +/* 80273010 0026FF70 2C 05 00 03 */ cmpwi r5, 3 +/* 80273014 0026FF74 40 80 01 58 */ bge lbl_8027316C +/* 80273018 0026FF78 48 00 00 EC */ b lbl_80273104 +lbl_8027301C: +/* 8027301C 0026FF7C C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 80273020 0026FF80 38 E0 00 00 */ li r7, 0 +/* 80273024 0026FF84 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) +/* 80273028 0026FF88 38 C0 00 01 */ li r6, 1 +/* 8027302C 0026FF8C D0 3F 10 84 */ stfs f1, 0x1084(r31) +/* 80273030 0026FF90 38 A0 00 00 */ li r5, 0 +/* 80273034 0026FF94 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80273038 0026FF98 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8027303C 0026FF9C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 80273040 0026FFA0 98 1F 04 00 */ stb r0, 0x400(r31) +/* 80273044 0026FFA4 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80273048 0026FFA8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8027304C 0026FFAC 98 1F 09 14 */ stb r0, 0x914(r31) +/* 80273050 0026FFB0 48 00 57 B1 */ bl sub_80278800 +/* 80273054 0026FFB4 38 00 00 01 */ li r0, 1 +/* 80273058 0026FFB8 3C 60 80 3D */ lis r3, lbl_803D546C@ha +/* 8027305C 0026FFBC 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 80273060 0026FFC0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l +/* 80273064 0026FFC4 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 80273068 0026FFC8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8027306C 0026FFCC 54 00 10 3A */ slwi r0, r0, 2 +/* 80273070 0026FFD0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80273074 0026FFD4 4B EC 79 65 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80273078 0026FFD8 7F E3 FB 78 */ mr r3, r31 +/* 8027307C 0026FFDC 7F C4 F3 78 */ mr r4, r30 +/* 80273080 0026FFE0 48 00 58 49 */ bl sub_802788c8 +/* 80273084 0026FFE4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80273088 0026FFE8 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 8027308C 0026FFEC 48 00 00 E0 */ b lbl_8027316C +lbl_80273090: +/* 80273090 0026FFF0 C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 80273094 0026FFF4 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80273098 0026FFF8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8027309C 0026FFFC 40 80 00 D0 */ bge lbl_8027316C +/* 802730A0 00270000 C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 802730A4 00270004 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802730A8 00270008 40 80 00 C4 */ bge lbl_8027316C +/* 802730AC 0027000C C0 3F 10 80 */ lfs f1, 0x1080(r31) +/* 802730B0 00270010 C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) +/* 802730B4 00270014 D0 3F 10 7C */ stfs f1, 0x107c(r31) +/* 802730B8 00270018 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 802730BC 0027001C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 802730C0 00270020 48 09 F4 61 */ bl Next__9CRandom16Fv +/* 802730C4 00270024 3C A0 55 55 */ lis r5, 0x55555556@ha +/* 802730C8 00270028 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 802730CC 0027002C 38 05 55 56 */ addi r0, r5, 0x55555556@l +/* 802730D0 00270030 7C A0 18 96 */ mulhw r5, r0, r3 +/* 802730D4 00270034 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 802730D8 00270038 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802730DC 0027003C 7C 05 02 14 */ add r0, r5, r0 +/* 802730E0 00270040 1C 00 00 03 */ mulli r0, r0, 3 +/* 802730E4 00270044 7C 00 18 50 */ subf r0, r0, r3 +/* 802730E8 00270048 90 1F 10 78 */ stw r0, 0x1078(r31) +/* 802730EC 0027004C 80 1F 10 78 */ lwz r0, 0x1078(r31) +/* 802730F0 00270050 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802730F4 00270054 54 00 10 3A */ slwi r0, r0, 2 +/* 802730F8 00270058 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802730FC 0027005C 4B EC 78 DD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80273100 00270060 48 00 00 6C */ b lbl_8027316C +lbl_80273104: +/* 80273104 00270064 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80273108 00270068 38 C0 00 00 */ li r6, 0 +/* 8027310C 0027006C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80273110 00270070 38 A0 00 01 */ li r5, 1 +/* 80273114 00270074 98 1F 09 14 */ stb r0, 0x914(r31) +/* 80273118 00270078 88 1F 14 44 */ lbz r0, 0x1444(r31) +/* 8027311C 0027007C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80273120 00270080 98 1F 14 44 */ stb r0, 0x1444(r31) +/* 80273124 00270084 48 00 56 DD */ bl sub_80278800 +/* 80273128 00270088 7F E3 FB 78 */ mr r3, r31 +/* 8027312C 0027008C 7F C4 F3 78 */ mr r4, r30 +/* 80273130 00270090 48 00 07 A5 */ bl sub_802738d4 +/* 80273134 00270094 C0 1F 10 80 */ lfs f0, 0x1080(r31) +/* 80273138 00270098 7F C3 F3 78 */ mr r3, r30 +/* 8027313C 0027009C C0 22 BC 38 */ lfs f1, lbl_805AD958@sda21(r2) +/* 80273140 002700A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80273144 002700A4 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 80273148 002700A8 38 A0 00 5B */ li r5, 0x5b +/* 8027314C 002700AC C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 80273150 002700B0 D0 1F 10 88 */ stfs f0, 0x1088(r31) +/* 80273154 002700B4 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80273158 002700B8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027315C 002700BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273160 002700C0 4B DD 0D E5 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 80273164 002700C4 80 1F 08 D4 */ lwz r0, 0x8d4(r31) +/* 80273168 002700C8 90 1F 08 D0 */ stw r0, 0x8d0(r31) +lbl_8027316C: +/* 8027316C 002700CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273170 002700D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273174 002700D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80273178 002700D8 7C 08 03 A6 */ mtlr r0 +/* 8027317C 002700DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273180 002700E0 4E 80 00 20 */ blr + +.global Stuck__16CMetroidPrimeExoFR13CStateManagerf +Stuck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273184 002700E4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80273188 002700E8 7C 08 02 A6 */ mflr r0 +/* 8027318C 002700EC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80273190 002700F0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80273194 002700F4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80273198 002700F8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8027319C 002700FC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802731A0 00270100 7C 9F 23 78 */ mr r31, r4 +/* 802731A4 00270104 7C 7E 1B 78 */ mr r30, r3 +/* 802731A8 00270108 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 802731AC 0027010C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802731B0 00270110 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 802731B4 00270114 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802731B8 00270118 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802731BC 0027011C C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 802731C0 00270120 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 802731C4 00270124 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802731C8 00270128 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 802731CC 0027012C C0 A4 00 40 */ lfs f5, 0x40(r4) +/* 802731D0 00270130 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802731D4 00270134 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802731D8 00270138 C0 84 00 60 */ lfs f4, 0x60(r4) +/* 802731DC 0027013C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802731E0 00270140 EC A5 00 28 */ fsubs f5, f5, f0 +/* 802731E4 00270144 C0 05 00 00 */ lfs f0, 0(r5) +/* 802731E8 00270148 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802731EC 0027014C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802731F0 00270150 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802731F4 00270154 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802731F8 00270158 C0 05 00 04 */ lfs f0, 4(r5) +/* 802731FC 0027015C EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 80273200 00270160 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 80273204 00270164 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80273208 00270168 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027320C 0027016C D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 80273210 00270170 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80273214 00270174 48 0A 16 A5 */ bl Magnitude__9CVector3fCFv +/* 80273218 00270178 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 8027321C 0027017C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +/* 80273220 00270180 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80273224 00270184 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80273228 00270188 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8027322C 0027018C 40 80 00 0C */ bge lbl_80273238 +/* 80273230 00270190 38 60 00 00 */ li r3, 0 +/* 80273234 00270194 48 00 00 D8 */ b lbl_8027330C +lbl_80273238: +/* 80273238 00270198 7F C4 F3 78 */ mr r4, r30 +/* 8027323C 0027019C 7F E5 FB 78 */ mr r5, r31 +/* 80273240 002701A0 38 61 00 0C */ addi r3, r1, 0xc +/* 80273244 002701A4 38 C0 00 01 */ li r6, 1 +/* 80273248 002701A8 48 00 37 99 */ bl sub_802769e0 +/* 8027324C 002701AC A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80273250 002701B0 7F E3 FB 78 */ mr r3, r31 +/* 80273254 002701B4 38 81 00 08 */ addi r4, r1, 8 +/* 80273258 002701B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027325C 002701BC B0 01 00 08 */ sth r0, 8(r1) +/* 80273260 002701C0 4B DD 93 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273264 002701C4 7C 64 1B 78 */ mr r4, r3 +/* 80273268 002701C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027326C 002701CC 4B E3 32 E1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80273270 002701D0 80 A3 00 04 */ lwz r5, 4(r3) +/* 80273274 002701D4 28 05 00 00 */ cmplwi r5, 0 +/* 80273278 002701D8 41 82 00 90 */ beq lbl_80273308 +/* 8027327C 002701DC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80273280 002701E0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80273284 002701E4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80273288 002701E8 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8027328C 002701EC C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 80273290 002701F0 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 80273294 002701F4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80273298 002701F8 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 8027329C 002701FC C0 A5 00 40 */ lfs f5, 0x40(r5) +/* 802732A0 00270200 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802732A4 00270204 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802732A8 00270208 C0 85 00 60 */ lfs f4, 0x60(r5) +/* 802732AC 0027020C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802732B0 00270210 EC A5 00 28 */ fsubs f5, f5, f0 +/* 802732B4 00270214 C0 04 00 00 */ lfs f0, 0(r4) +/* 802732B8 00270218 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802732BC 0027021C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802732C0 00270220 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802732C4 00270224 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802732C8 00270228 C0 04 00 04 */ lfs f0, 4(r4) +/* 802732CC 0027022C EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 802732D0 00270230 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802732D4 00270234 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802732D8 00270238 C0 04 00 08 */ lfs f0, 8(r4) +/* 802732DC 0027023C D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 802732E0 00270240 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802732E4 00270244 48 0A 15 D5 */ bl Magnitude__9CVector3fCFv +/* 802732E8 00270248 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 802732EC 0027024C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802732F0 00270250 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802732F4 00270254 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802732F8 00270258 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802732FC 0027025C 7C 00 00 26 */ mfcr r0 +/* 80273300 00270260 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273304 00270264 48 00 00 08 */ b lbl_8027330C +lbl_80273308: +/* 80273308 00270268 38 60 00 01 */ li r3, 1 +lbl_8027330C: +/* 8027330C 0027026C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80273310 00270270 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80273314 00270274 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80273318 00270278 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027331C 0027027C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80273320 00270280 7C 08 03 A6 */ mtlr r0 +/* 80273324 00270284 38 21 00 70 */ addi r1, r1, 0x70 +/* 80273328 00270288 4E 80 00 20 */ blr + +.global PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf +PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027332C 0027028C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273330 00270290 7C 08 02 A6 */ mflr r0 +/* 80273334 00270294 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273338 00270298 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8027333C 0027029C 4B DA 29 C1 */ bl GetFrozenState__7CPlayerCFv +/* 80273340 002702A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273344 002702A4 7C 08 03 A6 */ mtlr r0 +/* 80273348 002702A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027334C 002702AC 4E 80 00 20 */ blr + +.global CoverCheck__16CMetroidPrimeExoFR13CStateManagerf +CoverCheck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273350 002702B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273354 002702B4 7C 08 02 A6 */ mflr r0 +/* 80273358 002702B8 C0 22 BC 48 */ lfs f1, lbl_805AD968@sda21(r2) +/* 8027335C 002702BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273360 002702C0 48 00 3E C5 */ bl sub_80277224 +/* 80273364 002702C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273368 002702C8 7C 08 03 A6 */ mtlr r0 +/* 8027336C 002702CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273370 002702D0 4E 80 00 20 */ blr + +.global AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf +AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273374 002702D4 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80273378 002702D8 7C 08 02 A6 */ mflr r0 +/* 8027337C 002702DC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80273380 002702E0 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80273384 002702E4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80273388 002702E8 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8027338C 002702EC F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80273390 002702F0 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80273394 002702F4 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80273398 002702F8 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8027339C 002702FC F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 802733A0 00270300 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 802733A4 00270304 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 802733A8 00270308 DB 41 00 60 */ stfd f26, 0x60(r1) +/* 802733AC 0027030C F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 802733B0 00270310 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802733B4 00270314 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 802733B8 00270318 7C 7F 1B 78 */ mr r31, r3 +/* 802733BC 0027031C 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 802733C0 00270320 38 61 00 14 */ addi r3, r1, 0x14 +/* 802733C4 00270324 C3 45 00 60 */ lfs f26, 0x60(r5) +/* 802733C8 00270328 C3 65 00 50 */ lfs f27, 0x50(r5) +/* 802733CC 0027032C C3 85 00 40 */ lfs f28, 0x40(r5) +/* 802733D0 00270330 4B D9 18 E9 */ bl string_l__4rstlFPCc +/* 802733D4 00270334 7F E4 FB 78 */ mr r4, r31 +/* 802733D8 00270338 38 61 00 24 */ addi r3, r1, 0x24 +/* 802733DC 0027033C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802733E0 00270340 4B E0 55 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802733E4 00270344 C3 A1 00 50 */ lfs f29, 0x50(r1) +/* 802733E8 00270348 38 61 00 14 */ addi r3, r1, 0x14 +/* 802733EC 0027034C C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 802733F0 00270350 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 802733F4 00270354 48 0C A6 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802733F8 00270358 EC 3C F8 28 */ fsubs f1, f28, f31 +/* 802733FC 0027035C C0 02 BC 4C */ lfs f0, lbl_805AD96C@sda21(r2) +/* 80273400 00270360 EC BB F0 28 */ fsubs f5, f27, f30 +/* 80273404 00270364 EC 9A E8 28 */ fsubs f4, f26, f29 +/* 80273408 00270368 EC 41 00 72 */ fmuls f2, f1, f1 +/* 8027340C 0027036C D0 21 00 08 */ stfs f1, 8(r1) +/* 80273410 00270370 EC 25 01 72 */ fmuls f1, f5, f5 +/* 80273414 00270374 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80273418 00270378 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8027341C 0027037C EC 22 08 2A */ fadds f1, f2, f1 +/* 80273420 00270380 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80273424 00270384 EC 23 08 2A */ fadds f1, f3, f1 +/* 80273428 00270388 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027342C 0027038C 7C 00 00 26 */ mfcr r0 +/* 80273430 00270390 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273434 00270394 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80273438 00270398 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8027343C 0027039C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80273440 002703A0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80273444 002703A4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80273448 002703A8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8027344C 002703AC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 80273450 002703B0 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 80273454 002703B4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 80273458 002703B8 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8027345C 002703BC E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 80273460 002703C0 CB 41 00 60 */ lfd f26, 0x60(r1) +/* 80273464 002703C4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80273468 002703C8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8027346C 002703CC 7C 08 03 A6 */ mtlr r0 +/* 80273470 002703D0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80273474 002703D4 4E 80 00 20 */ blr + +.global AIStage__16CMetroidPrimeExoFR13CStateManagerf +AIStage__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273478 002703D8 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 8027347C 002703DC 38 80 00 00 */ li r4, 0 +/* 80273480 002703E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273484 002703E4 40 80 00 10 */ bge lbl_80273494 +/* 80273488 002703E8 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 8027348C 002703EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80273490 002703F0 41 82 00 48 */ beq lbl_802734D8 +lbl_80273494: +/* 80273494 002703F4 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 80273498 002703F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027349C 002703FC 40 81 00 10 */ ble lbl_802734AC +/* 802734A0 00270400 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 802734A4 00270404 2C 00 00 02 */ cmpwi r0, 2 +/* 802734A8 00270408 41 82 00 30 */ beq lbl_802734D8 +lbl_802734AC: +/* 802734AC 0027040C 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 802734B0 00270410 2C 00 00 01 */ cmpwi r0, 1 +/* 802734B4 00270414 40 82 00 28 */ bne lbl_802734DC +/* 802734B8 00270418 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) +/* 802734BC 0027041C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802734C0 00270420 4C 41 13 82 */ cror 2, 1, 2 +/* 802734C4 00270424 40 82 00 18 */ bne lbl_802734DC +/* 802734C8 00270428 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 802734CC 0027042C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802734D0 00270430 4C 40 13 82 */ cror 2, 0, 2 +/* 802734D4 00270434 40 82 00 08 */ bne lbl_802734DC +lbl_802734D8: +/* 802734D8 00270438 38 80 00 01 */ li r4, 1 +lbl_802734DC: +/* 802734DC 0027043C 7C 83 23 78 */ mr r3, r4 +/* 802734E0 00270440 4E 80 00 20 */ blr + +.global sub_802734e4 +sub_802734e4: +/* 802734E4 00270444 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 802734E8 00270448 20 00 00 0B */ subfic r0, r0, 0xb +/* 802734EC 0027044C 7C 00 00 34 */ cntlzw r0, r0 +/* 802734F0 00270450 54 03 D9 7E */ srwi r3, r0, 5 +/* 802734F4 00270454 4E 80 00 20 */ blr + +.global AttackOver__16CMetroidPrimeExoFR13CStateManagerf +AttackOver__16CMetroidPrimeExoFR13CStateManagerf: +/* 802734F8 00270458 88 83 08 F4 */ lbz r4, 0x8f4(r3) +/* 802734FC 0027045C 38 A0 00 00 */ li r5, 0 +/* 80273500 00270460 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 80273504 00270464 40 82 00 18 */ bne lbl_8027351C +/* 80273508 00270468 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8027350C 0027046C 40 82 00 10 */ bne lbl_8027351C +/* 80273510 00270470 88 03 10 54 */ lbz r0, 0x1054(r3) +/* 80273514 00270474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80273518 00270478 41 82 00 08 */ beq lbl_80273520 +lbl_8027351C: +/* 8027351C 0027047C 38 A0 00 01 */ li r5, 1 +lbl_80273520: +/* 80273520 00270480 7C A3 2B 78 */ mr r3, r5 +/* 80273524 00270484 4E 80 00 20 */ blr + +.global sub_80273528 +sub_80273528: +/* 80273528 00270488 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 8027352C 0027048C 20 00 00 0A */ subfic r0, r0, 0xa +/* 80273530 00270490 7C 00 00 34 */ cntlzw r0, r0 +/* 80273534 00270494 54 03 D9 7E */ srwi r3, r0, 5 +/* 80273538 00270498 4E 80 00 20 */ blr + +.global sub_8027353c +sub_8027353c: +/* 8027353C 0027049C 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273540 002704A0 20 00 00 0C */ subfic r0, r0, 0xc +/* 80273544 002704A4 7C 00 00 34 */ cntlzw r0, r0 +/* 80273548 002704A8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8027354C 002704AC 4E 80 00 20 */ blr + +.global sub_80273550 +sub_80273550: +/* 80273550 002704B0 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273554 002704B4 20 00 00 09 */ subfic r0, r0, 9 +/* 80273558 002704B8 7C 00 00 34 */ cntlzw r0, r0 +/* 8027355C 002704BC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80273560 002704C0 4E 80 00 20 */ blr + +.global sub_80273564 +sub_80273564: +/* 80273564 002704C4 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273568 002704C8 38 60 00 00 */ li r3, 0 +/* 8027356C 002704CC 2C 00 00 06 */ cmpwi r0, 6 +/* 80273570 002704D0 41 82 00 14 */ beq lbl_80273584 +/* 80273574 002704D4 2C 00 00 07 */ cmpwi r0, 7 +/* 80273578 002704D8 41 82 00 0C */ beq lbl_80273584 +/* 8027357C 002704DC 2C 00 00 08 */ cmpwi r0, 8 +/* 80273580 002704E0 4C 82 00 20 */ bnelr +lbl_80273584: +/* 80273584 002704E4 38 60 00 01 */ li r3, 1 +/* 80273588 002704E8 4E 80 00 20 */ blr + +.global sub_8027358c +sub_8027358c: +/* 8027358C 002704EC 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 80273590 002704F0 38 60 00 00 */ li r3, 0 +/* 80273594 002704F4 2C 00 00 02 */ cmpwi r0, 2 +/* 80273598 002704F8 41 82 00 1C */ beq lbl_802735B4 +/* 8027359C 002704FC 2C 00 00 03 */ cmpwi r0, 3 +/* 802735A0 00270500 41 82 00 14 */ beq lbl_802735B4 +/* 802735A4 00270504 2C 00 00 04 */ cmpwi r0, 4 +/* 802735A8 00270508 41 82 00 0C */ beq lbl_802735B4 +/* 802735AC 0027050C 2C 00 00 05 */ cmpwi r0, 5 +/* 802735B0 00270510 4C 82 00 20 */ bnelr +lbl_802735B4: +/* 802735B4 00270514 38 60 00 01 */ li r3, 1 +/* 802735B8 00270518 4E 80 00 20 */ blr + +.global ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf +ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf: +/* 802735BC 0027051C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802735C0 00270520 7C 08 02 A6 */ mflr r0 +/* 802735C4 00270524 90 01 00 34 */ stw r0, 0x34(r1) +/* 802735C8 00270528 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802735CC 0027052C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802735D0 00270530 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 802735D4 00270534 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 802735D8 00270538 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802735DC 0027053C C0 03 00 50 */ lfs f0, 0x50(r3) +/* 802735E0 00270540 C0 E3 00 58 */ lfs f7, 0x58(r3) +/* 802735E4 00270544 C0 C3 00 48 */ lfs f6, 0x48(r3) +/* 802735E8 00270548 EC 21 00 28 */ fsubs f1, f1, f0 +/* 802735EC 0027054C C0 43 00 38 */ lfs f2, 0x38(r3) +/* 802735F0 00270550 C0 A4 00 40 */ lfs f5, 0x40(r4) +/* 802735F4 00270554 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 802735F8 00270558 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802735FC 0027055C C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80273600 00270560 38 61 00 08 */ addi r3, r1, 8 +/* 80273604 00270564 C0 84 00 60 */ lfs f4, 0x60(r4) +/* 80273608 00270568 EC A5 00 28 */ fsubs f5, f5, f0 +/* 8027360C 0027056C C0 05 00 00 */ lfs f0, 0(r5) +/* 80273610 00270570 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80273614 00270574 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80273618 00270578 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 8027361C 0027057C D0 01 00 08 */ stfs f0, 8(r1) +/* 80273620 00270580 C0 05 00 04 */ lfs f0, 4(r5) +/* 80273624 00270584 EF E7 08 FA */ fmadds f31, f7, f3, f1 +/* 80273628 00270588 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8027362C 0027058C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80273630 00270590 C0 05 00 08 */ lfs f0, 8(r5) +/* 80273634 00270594 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 80273638 00270598 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027363C 0027059C 48 0A 12 7D */ bl Magnitude__9CVector3fCFv +/* 80273640 002705A0 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80273644 002705A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80273648 002705A8 7C 00 00 26 */ mfcr r0 +/* 8027364C 002705AC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80273650 002705B0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80273654 002705B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80273658 002705B8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8027365C 002705BC 7C 08 03 A6 */ mtlr r0 +/* 80273660 002705C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80273664 002705C4 4E 80 00 20 */ blr + +.global InMaxRange__16CMetroidPrimeExoFR13CStateManagerf +InMaxRange__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273668 002705C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027366C 002705CC 7C 08 02 A6 */ mflr r0 +/* 80273670 002705D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80273674 002705D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80273678 002705D8 3B E0 00 00 */ li r31, 0 +/* 8027367C 002705DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80273680 002705E0 7C 9E 23 78 */ mr r30, r4 +/* 80273684 002705E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80273688 002705E8 7C 7D 1B 78 */ mr r29, r3 +/* 8027368C 002705EC 4B F8 2D 59 */ bl InMaxRange__10CPatternedFR13CStateManagerf +/* 80273690 002705F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273694 002705F4 40 82 00 64 */ bne lbl_802736F8 +/* 80273698 002705F8 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 8027369C 002705FC 7F A3 EB 78 */ mr r3, r29 +/* 802736A0 00270600 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736A4 00270604 7F C4 F3 78 */ mr r4, r30 +/* 802736A8 00270608 C0 25 00 00 */ lfs f1, 0(r5) +/* 802736AC 0027060C 48 00 3B 79 */ bl sub_80277224 +/* 802736B0 00270610 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736B4 00270614 40 82 00 48 */ bne lbl_802736FC +/* 802736B8 00270618 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 802736BC 0027061C 7F A3 EB 78 */ mr r3, r29 +/* 802736C0 00270620 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736C4 00270624 7F C4 F3 78 */ mr r4, r30 +/* 802736C8 00270628 C0 25 00 04 */ lfs f1, 4(r5) +/* 802736CC 0027062C 48 00 3B 59 */ bl sub_80277224 +/* 802736D0 00270630 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736D4 00270634 40 82 00 28 */ bne lbl_802736FC +/* 802736D8 00270638 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 802736DC 0027063C 7F A3 EB 78 */ mr r3, r29 +/* 802736E0 00270640 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 802736E4 00270644 7F C4 F3 78 */ mr r4, r30 +/* 802736E8 00270648 C0 25 00 08 */ lfs f1, 8(r5) +/* 802736EC 0027064C 48 00 3B 39 */ bl sub_80277224 +/* 802736F0 00270650 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802736F4 00270654 40 82 00 08 */ bne lbl_802736FC +lbl_802736F8: +/* 802736F8 00270658 3B E0 00 01 */ li r31, 1 +lbl_802736FC: +/* 802736FC 0027065C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273700 00270660 7F E3 FB 78 */ mr r3, r31 +/* 80273704 00270664 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273708 00270668 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027370C 0027066C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80273710 00270670 7C 08 03 A6 */ mtlr r0 +/* 80273714 00270674 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273718 00270678 4E 80 00 20 */ blr + +.global TooClose__16CMetroidPrimeExoFR13CStateManagerf +TooClose__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027371C 0027067C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273720 00270680 7C 08 02 A6 */ mflr r0 +/* 80273724 00270684 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273728 00270688 4B F8 2D 31 */ bl TooClose__10CPatternedFR13CStateManagerf +/* 8027372C 0027068C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273730 00270690 7C 08 03 A6 */ mtlr r0 +/* 80273734 00270694 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273738 00270698 4E 80 00 20 */ blr + +.global ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf +ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf: +/* 8027373C 0027069C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80273740 002706A0 7C 08 02 A6 */ mflr r0 +/* 80273744 002706A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80273748 002706A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027374C 002706AC 3B E0 00 00 */ li r31, 0 +/* 80273750 002706B0 88 03 03 28 */ lbz r0, 0x328(r3) +/* 80273754 002706B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273758 002706B8 40 82 00 24 */ bne lbl_8027377C +/* 8027375C 002706BC A0 A3 02 DC */ lhz r5, 0x2dc(r3) +/* 80273760 002706C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80273764 002706C4 7C 05 00 40 */ cmplw r5, r0 +/* 80273768 002706C8 41 82 00 14 */ beq lbl_8027377C +/* 8027376C 002706CC C0 22 BC 54 */ lfs f1, lbl_805AD974@sda21(r2) +/* 80273770 002706D0 48 00 3A B5 */ bl sub_80277224 +/* 80273774 002706D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273778 002706D8 40 82 00 08 */ bne lbl_80273780 +lbl_8027377C: +/* 8027377C 002706DC 3B E0 00 01 */ li r31, 1 +lbl_80273780: +/* 80273780 002706E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273784 002706E4 7F E3 FB 78 */ mr r3, r31 +/* 80273788 002706E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027378C 002706EC 7C 08 03 A6 */ mtlr r0 +/* 80273790 002706F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80273794 002706F4 4E 80 00 20 */ blr + +.global sub_80273798 +sub_80273798: +/* 80273798 002706F8 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 8027379C 002706FC 20 00 00 0D */ subfic r0, r0, 0xd +/* 802737A0 00270700 7C 00 00 34 */ cntlzw r0, r0 +/* 802737A4 00270704 54 03 D9 7E */ srwi r3, r0, 5 +/* 802737A8 00270708 4E 80 00 20 */ blr + +.global sub_802737ac +sub_802737ac: +/* 802737AC 0027070C 80 03 12 54 */ lwz r0, 0x1254(r3) +/* 802737B0 00270710 20 00 00 01 */ subfic r0, r0, 1 +/* 802737B4 00270714 7C 00 00 34 */ cntlzw r0, r0 +/* 802737B8 00270718 54 03 D9 7E */ srwi r3, r0, 5 +/* 802737BC 0027071C 4E 80 00 20 */ blr + +.global StartAttack__16CMetroidPrimeExoFR13CStateManagerf +StartAttack__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737C0 00270720 C0 23 09 20 */ lfs f1, 0x920(r3) +/* 802737C4 00270724 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802737C8 00270728 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802737CC 0027072C 4C 40 13 82 */ cror 2, 0, 2 +/* 802737D0 00270730 7C 00 00 26 */ mfcr r0 +/* 802737D4 00270734 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802737D8 00270738 4E 80 00 20 */ blr + +.global ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf +ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737DC 0027073C 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 802737E0 00270740 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 802737E4 00270744 4E 80 00 20 */ blr + +.global ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf +ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737E8 00270748 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 802737EC 0027074C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802737F0 00270750 4E 80 00 20 */ blr + +.global InPosition__16CMetroidPrimeExoFR13CStateManagerf +InPosition__16CMetroidPrimeExoFR13CStateManagerf: +/* 802737F4 00270754 C0 23 10 84 */ lfs f1, 0x1084(r3) +/* 802737F8 00270758 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802737FC 0027075C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273800 00270760 4C 40 13 82 */ cror 2, 0, 2 +/* 80273804 00270764 7C 00 00 26 */ mfcr r0 +/* 80273808 00270768 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 8027380C 0027076C 4E 80 00 20 */ blr + +.global CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf +CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf: +/* 80273810 00270770 88 03 14 44 */ lbz r0, 0x1444(r3) +/* 80273814 00270774 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 80273818 00270778 4E 80 00 20 */ blr + +.global sub_8027381c +sub_8027381c: +/* 8027381C 0027077C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80273820 00270780 7C 08 02 A6 */ mflr r0 +/* 80273824 00270784 3C E0 80 3E */ lis r7, lbl_803DAA68@ha +/* 80273828 00270788 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027382C 0027078C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80273830 00270790 38 E7 AA 68 */ addi r7, r7, lbl_803DAA68@l +/* 80273834 00270794 39 00 00 13 */ li r8, 0x13 +/* 80273838 00270798 88 81 00 14 */ lbz r4, 0x14(r1) +/* 8027383C 0027079C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80273840 002707A0 38 C0 00 00 */ li r6, 0 +/* 80273844 002707A4 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 +/* 80273848 002707A8 81 23 04 50 */ lwz r9, 0x450(r3) +/* 8027384C 002707AC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 80273850 002707B0 90 E1 00 08 */ stw r7, 8(r1) +/* 80273854 002707B4 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80273858 002707B8 38 E3 FE 40 */ addi r7, r3, lbl_803DFE40@l +/* 8027385C 002707BC 3B E9 00 04 */ addi r31, r9, 4 +/* 80273860 002707C0 98 81 00 14 */ stb r4, 0x14(r1) +/* 80273864 002707C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80273868 002707C8 7F E3 FB 78 */ mr r3, r31 +/* 8027386C 002707CC 38 80 00 13 */ li r4, 0x13 +/* 80273870 002707D0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80273874 002707D4 90 E1 00 08 */ stw r7, 8(r1) +/* 80273878 002707D8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8027387C 002707DC 98 01 00 14 */ stb r0, 0x14(r1) +/* 80273880 002707E0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80273884 002707E4 4B EB DB B5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80273888 002707E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027388C 002707EC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 80273890 002707F0 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l +/* 80273894 002707F4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80273898 002707F8 90 1F 02 20 */ stw r0, 0x220(r31) +/* 8027389C 002707FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802738A0 00270800 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802738A4 00270804 88 61 00 14 */ lbz r3, 0x14(r1) +/* 802738A8 00270808 90 BF 02 24 */ stw r5, 0x224(r31) +/* 802738AC 0027080C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802738B0 00270810 98 7F 02 28 */ stb r3, 0x228(r31) +/* 802738B4 00270814 90 81 00 08 */ stw r4, 8(r1) +/* 802738B8 00270818 D0 1F 02 2C */ stfs f0, 0x22c(r31) +/* 802738BC 0027081C 90 01 00 08 */ stw r0, 8(r1) +/* 802738C0 00270820 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802738C4 00270824 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802738C8 00270828 7C 08 03 A6 */ mtlr r0 +/* 802738CC 0027082C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802738D0 00270830 4E 80 00 20 */ blr + +.global sub_802738d4 +sub_802738d4: +/* 802738D4 00270834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802738D8 00270838 7C 08 02 A6 */ mflr r0 +/* 802738DC 0027083C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802738E0 00270840 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802738E4 00270844 7C 7F 1B 78 */ mr r31, r3 +/* 802738E8 00270848 80 64 09 00 */ lwz r3, 0x900(r4) +/* 802738EC 0027084C C0 3F 09 24 */ lfs f1, 0x924(r31) +/* 802738F0 00270850 C0 5F 09 28 */ lfs f2, 0x928(r31) +/* 802738F4 00270854 48 09 EC 51 */ bl Range__9CRandom16Fff +/* 802738F8 00270858 D0 3F 09 20 */ stfs f1, 0x920(r31) +/* 802738FC 0027085C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80273900 00270860 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80273904 00270864 7C 08 03 A6 */ mtlr r0 +/* 80273908 00270868 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027390C 0027086C 4E 80 00 20 */ blr + +.global sub_80273910 +sub_80273910: +/* 80273910 00270870 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80273914 00270874 7C 08 02 A6 */ mflr r0 +/* 80273918 00270878 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027391C 0027087C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80273920 00270880 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 80273924 00270884 7C 7F 1B 78 */ mr r31, r3 +/* 80273928 00270888 7C 9A 23 78 */ mr r26, r4 +/* 8027392C 0027088C C0 43 10 74 */ lfs f2, 0x1074(r3) +/* 80273930 00270890 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80273934 00270894 4C 40 13 82 */ cror 2, 0, 2 +/* 80273938 00270898 40 82 00 5C */ bne lbl_80273994 +/* 8027393C 0027089C 80 BF 10 6C */ lwz r5, 0x106c(r31) +/* 80273940 002708A0 38 60 00 00 */ li r3, 0 +/* 80273944 002708A4 2C 05 00 00 */ cmpwi r5, 0 +/* 80273948 002708A8 40 81 00 40 */ ble lbl_80273988 +/* 8027394C 002708AC 2C 05 00 08 */ cmpwi r5, 8 +/* 80273950 002708B0 38 85 FF F8 */ addi r4, r5, -8 +/* 80273954 002708B4 40 81 00 20 */ ble lbl_80273974 +/* 80273958 002708B8 38 04 00 07 */ addi r0, r4, 7 +/* 8027395C 002708BC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273960 002708C0 7C 09 03 A6 */ mtctr r0 +/* 80273964 002708C4 2C 04 00 00 */ cmpwi r4, 0 +/* 80273968 002708C8 40 81 00 0C */ ble lbl_80273974 +lbl_8027396C: +/* 8027396C 002708CC 38 63 00 08 */ addi r3, r3, 8 +/* 80273970 002708D0 42 00 FF FC */ bdnz lbl_8027396C +lbl_80273974: +/* 80273974 002708D4 7C 03 28 50 */ subf r0, r3, r5 +/* 80273978 002708D8 7C 09 03 A6 */ mtctr r0 +/* 8027397C 002708DC 7C 03 28 00 */ cmpw r3, r5 +/* 80273980 002708E0 40 80 00 08 */ bge lbl_80273988 +lbl_80273984: +/* 80273984 002708E4 42 00 00 00 */ bdnz lbl_80273984 +lbl_80273988: +/* 80273988 002708E8 38 00 00 00 */ li r0, 0 +/* 8027398C 002708EC 90 1F 10 6C */ stw r0, 0x106c(r31) +/* 80273990 002708F0 48 00 00 C0 */ b lbl_80273A50 +lbl_80273994: +/* 80273994 002708F4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80273998 002708F8 3B 9F 10 70 */ addi r28, r31, 0x1070 +/* 8027399C 002708FC 7F 9B E3 78 */ mr r27, r28 +/* 802739A0 00270900 3B C0 00 00 */ li r30, 0 +/* 802739A4 00270904 D0 1F 10 74 */ stfs f0, 0x1074(r31) +/* 802739A8 00270908 48 00 00 94 */ b lbl_80273A3C +lbl_802739AC: +/* 802739AC 0027090C A0 1B 00 00 */ lhz r0, 0(r27) +/* 802739B0 00270910 7F 43 D3 78 */ mr r3, r26 +/* 802739B4 00270914 38 81 00 08 */ addi r4, r1, 8 +/* 802739B8 00270918 B0 01 00 08 */ sth r0, 8(r1) +/* 802739BC 0027091C 4B DD 8B B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802739C0 00270920 7C 64 1B 78 */ mr r4, r3 +/* 802739C4 00270924 38 61 00 0C */ addi r3, r1, 0xc +/* 802739C8 00270928 4B E3 1B DD */ bl sub_800a55a4 +/* 802739CC 0027092C 4B E3 1B AD */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 802739D0 00270930 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802739D4 00270934 41 82 00 64 */ beq lbl_80273A38 +/* 802739D8 00270938 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 +/* 802739DC 0027093C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802739E0 00270940 7C 84 F0 2E */ lwzx r4, r4, r30 +/* 802739E4 00270944 3B DE 00 04 */ addi r30, r30, 4 +/* 802739E8 00270948 4B D9 12 D1 */ bl string_l__4rstlFPCc +/* 802739EC 0027094C 7F E4 FB 78 */ mr r4, r31 +/* 802739F0 00270950 38 61 00 20 */ addi r3, r1, 0x20 +/* 802739F4 00270954 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802739F8 00270958 4B E0 4F 81 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802739FC 0027095C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80273A00 00270960 38 81 00 20 */ addi r4, r1, 0x20 +/* 80273A04 00270964 48 09 F1 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80273A08 00270968 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A0C 0027096C 38 80 00 01 */ li r4, 1 +/* 80273A10 00270970 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80273A14 00270974 38 61 00 10 */ addi r3, r1, 0x10 +/* 80273A18 00270978 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A1C 0027097C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A20 00270980 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80273A24 00270984 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A28 00270988 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80273A2C 0027098C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80273A30 00270990 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80273A34 00270994 48 0C A0 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80273A38: +/* 80273A38 00270998 3B 7B 00 02 */ addi r27, r27, 2 +lbl_80273A3C: +/* 80273A3C 0027099C 80 1F 10 6C */ lwz r0, 0x106c(r31) +/* 80273A40 002709A0 54 00 08 3C */ slwi r0, r0, 1 +/* 80273A44 002709A4 7C 1C 02 14 */ add r0, r28, r0 +/* 80273A48 002709A8 7C 1B 00 40 */ cmplw r27, r0 +/* 80273A4C 002709AC 40 82 FF 60 */ bne lbl_802739AC +lbl_80273A50: +/* 80273A50 002709B0 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 80273A54 002709B4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80273A58 002709B8 7C 08 03 A6 */ mtlr r0 +/* 80273A5C 002709BC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80273A60 002709C0 4E 80 00 20 */ blr + +.global sub_80273a64 +sub_80273a64: +/* 80273A64 002709C4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80273A68 002709C8 7C 08 02 A6 */ mflr r0 +/* 80273A6C 002709CC 90 01 00 94 */ stw r0, 0x94(r1) +/* 80273A70 002709D0 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 80273A74 002709D4 7C 7D 1B 78 */ mr r29, r3 +/* 80273A78 002709D8 7C 9E 23 78 */ mr r30, r4 +/* 80273A7C 002709DC 3B E0 FF FF */ li r31, -1 +/* 80273A80 002709E0 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80273A84 002709E4 2C 00 00 02 */ cmpwi r0, 2 +/* 80273A88 002709E8 41 82 00 34 */ beq lbl_80273ABC +/* 80273A8C 002709EC 40 80 00 14 */ bge lbl_80273AA0 +/* 80273A90 002709F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80273A94 002709F4 41 82 00 18 */ beq lbl_80273AAC +/* 80273A98 002709F8 40 80 00 1C */ bge lbl_80273AB4 +/* 80273A9C 002709FC 48 00 00 2C */ b lbl_80273AC8 +lbl_80273AA0: +/* 80273AA0 00270A00 2C 00 00 04 */ cmpwi r0, 4 +/* 80273AA4 00270A04 40 80 00 24 */ bge lbl_80273AC8 +/* 80273AA8 00270A08 48 00 00 1C */ b lbl_80273AC4 +lbl_80273AAC: +/* 80273AAC 00270A0C 3B E0 00 01 */ li r31, 1 +/* 80273AB0 00270A10 48 00 00 18 */ b lbl_80273AC8 +lbl_80273AB4: +/* 80273AB4 00270A14 3B E0 00 02 */ li r31, 2 +/* 80273AB8 00270A18 48 00 00 10 */ b lbl_80273AC8 +lbl_80273ABC: +/* 80273ABC 00270A1C 3B E0 00 03 */ li r31, 3 +/* 80273AC0 00270A20 48 00 00 08 */ b lbl_80273AC8 +lbl_80273AC4: +/* 80273AC4 00270A24 3B E0 00 00 */ li r31, 0 +lbl_80273AC8: +/* 80273AC8 00270A28 88 0D A5 88 */ lbz r0, lbl_805A9148@sda21(r13) +/* 80273ACC 00270A2C 7C 00 07 75 */ extsb. r0, r0 +/* 80273AD0 00270A30 40 82 00 14 */ bne lbl_80273AE4 +/* 80273AD4 00270A34 38 60 00 00 */ li r3, 0 +/* 80273AD8 00270A38 38 00 00 01 */ li r0, 1 +/* 80273ADC 00270A3C 90 6D A5 84 */ stw r3, lbl_805A9144@sda21(r13) +/* 80273AE0 00270A40 98 0D A5 88 */ stb r0, lbl_805A9148@sda21(r13) +lbl_80273AE4: +/* 80273AE4 00270A44 3B 9D 10 5C */ addi r28, r29, 0x105c +/* 80273AE8 00270A48 7F 9B E3 78 */ mr r27, r28 +/* 80273AEC 00270A4C 48 00 01 64 */ b lbl_80273C50 +lbl_80273AF0: +/* 80273AF0 00270A50 80 1B 00 00 */ lwz r0, 0(r27) +/* 80273AF4 00270A54 7F C4 F3 78 */ mr r4, r30 +/* 80273AF8 00270A58 38 61 00 14 */ addi r3, r1, 0x14 +/* 80273AFC 00270A5C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80273B00 00270A60 90 01 00 28 */ stw r0, 0x28(r1) +/* 80273B04 00270A64 4B DD 44 19 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80273B08 00270A68 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80273B0C 00270A6C 7F C3 F3 78 */ mr r3, r30 +/* 80273B10 00270A70 38 81 00 18 */ addi r4, r1, 0x18 +/* 80273B14 00270A74 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80273B18 00270A78 4B DD 8A 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273B1C 00270A7C 7C 64 1B 78 */ mr r4, r3 +/* 80273B20 00270A80 38 61 00 20 */ addi r3, r1, 0x20 +/* 80273B24 00270A84 4B E3 1A 81 */ bl sub_800a55a4 +/* 80273B28 00270A88 4B E3 1A 51 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273B2C 00270A8C 28 03 00 00 */ cmplwi r3, 0 +/* 80273B30 00270A90 41 82 01 1C */ beq lbl_80273C4C +/* 80273B34 00270A94 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80273B38 00270A98 7C 1F 00 00 */ cmpw r31, r0 +/* 80273B3C 00270A9C 40 82 01 10 */ bne lbl_80273C4C +/* 80273B40 00270AA0 7F C4 F3 78 */ mr r4, r30 +/* 80273B44 00270AA4 7F 65 DB 78 */ mr r5, r27 +/* 80273B48 00270AA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80273B4C 00270AAC 4B DD 47 9D */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80273B50 00270AB0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80273B54 00270AB4 7F C3 F3 78 */ mr r3, r30 +/* 80273B58 00270AB8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80273B5C 00270ABC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80273B60 00270AC0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80273B64 00270AC4 4B DD 8A 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273B68 00270AC8 7C 64 1B 78 */ mr r4, r3 +/* 80273B6C 00270ACC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80273B70 00270AD0 4B E3 1A 35 */ bl sub_800a55a4 +/* 80273B74 00270AD4 4B E3 1A 05 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273B78 00270AD8 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80273B7C 00270ADC 41 82 00 D0 */ beq lbl_80273C4C +/* 80273B80 00270AE0 80 CD A5 84 */ lwz r6, lbl_805A9144@sda21(r13) +/* 80273B84 00270AE4 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 +/* 80273B88 00270AE8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80273B8C 00270AEC 38 A6 00 01 */ addi r5, r6, 1 +/* 80273B90 00270AF0 54 C0 17 7A */ rlwinm r0, r6, 2, 0x1d, 0x1d +/* 80273B94 00270AF4 90 AD A5 84 */ stw r5, lbl_805A9144@sda21(r13) +/* 80273B98 00270AF8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80273B9C 00270AFC 4B D9 11 1D */ bl string_l__4rstlFPCc +/* 80273BA0 00270B00 7F A4 EB 78 */ mr r4, r29 +/* 80273BA4 00270B04 38 61 00 44 */ addi r3, r1, 0x44 +/* 80273BA8 00270B08 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80273BAC 00270B0C 4B E0 4D CD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80273BB0 00270B10 38 7A 00 34 */ addi r3, r26, 0x34 +/* 80273BB4 00270B14 38 81 00 44 */ addi r4, r1, 0x44 +/* 80273BB8 00270B18 48 09 EF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80273BBC 00270B1C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BC0 00270B20 38 80 00 01 */ li r4, 1 +/* 80273BC4 00270B24 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80273BC8 00270B28 38 61 00 34 */ addi r3, r1, 0x34 +/* 80273BCC 00270B2C 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BD0 00270B30 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BD4 00270B34 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80273BD8 00270B38 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BDC 00270B3C 88 1A 00 E4 */ lbz r0, 0xe4(r26) +/* 80273BE0 00270B40 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80273BE4 00270B44 98 1A 00 E4 */ stb r0, 0xe4(r26) +/* 80273BE8 00270B48 48 0C 9E F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80273BEC 00270B4C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80273BF0 00270B50 7F 43 D3 78 */ mr r3, r26 +/* 80273BF4 00270B54 7F C6 F3 78 */ mr r6, r30 +/* 80273BF8 00270B58 38 A1 00 0C */ addi r5, r1, 0xc +/* 80273BFC 00270B5C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273C00 00270B60 38 80 00 01 */ li r4, 1 +/* 80273C04 00270B64 81 9A 00 00 */ lwz r12, 0(r26) +/* 80273C08 00270B68 B0 01 00 08 */ sth r0, 8(r1) +/* 80273C0C 00270B6C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80273C10 00270B70 7D 89 03 A6 */ mtctr r12 +/* 80273C14 00270B74 4E 80 04 21 */ bctrl +/* 80273C18 00270B78 80 1D 10 6C */ lwz r0, 0x106c(r29) +/* 80273C1C 00270B7C 54 00 08 3C */ slwi r0, r0, 1 +/* 80273C20 00270B80 7C 7D 02 14 */ add r3, r29, r0 +/* 80273C24 00270B84 34 63 10 70 */ addic. r3, r3, 0x1070 +/* 80273C28 00270B88 41 82 00 0C */ beq lbl_80273C34 +/* 80273C2C 00270B8C A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80273C30 00270B90 B0 03 00 00 */ sth r0, 0(r3) +lbl_80273C34: +/* 80273C34 00270B94 80 7D 10 6C */ lwz r3, 0x106c(r29) +/* 80273C38 00270B98 C0 02 BC 58 */ lfs f0, lbl_805AD978@sda21(r2) +/* 80273C3C 00270B9C 38 03 00 01 */ addi r0, r3, 1 +/* 80273C40 00270BA0 90 1D 10 6C */ stw r0, 0x106c(r29) +/* 80273C44 00270BA4 D0 1D 10 74 */ stfs f0, 0x1074(r29) +/* 80273C48 00270BA8 48 00 00 1C */ b lbl_80273C64 +lbl_80273C4C: +/* 80273C4C 00270BAC 3B 7B 00 04 */ addi r27, r27, 4 +lbl_80273C50: +/* 80273C50 00270BB0 80 1D 10 58 */ lwz r0, 0x1058(r29) +/* 80273C54 00270BB4 54 00 10 3A */ slwi r0, r0, 2 +/* 80273C58 00270BB8 7C 1C 02 14 */ add r0, r28, r0 +/* 80273C5C 00270BBC 7C 1B 00 40 */ cmplw r27, r0 +/* 80273C60 00270BC0 40 82 FE 90 */ bne lbl_80273AF0 +lbl_80273C64: +/* 80273C64 00270BC4 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 80273C68 00270BC8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80273C6C 00270BCC 7C 08 03 A6 */ mtlr r0 +/* 80273C70 00270BD0 38 21 00 90 */ addi r1, r1, 0x90 +/* 80273C74 00270BD4 4E 80 00 20 */ blr + +.global sub_80273c78 +sub_80273c78: +/* 80273C78 00270BD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80273C7C 00270BDC 7C 08 02 A6 */ mflr r0 +/* 80273C80 00270BE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80273C84 00270BE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80273C88 00270BE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80273C8C 00270BEC 3B C0 00 00 */ li r30, 0 +/* 80273C90 00270BF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80273C94 00270BF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80273C98 00270BF8 7C 7C 1B 78 */ mr r28, r3 +/* 80273C9C 00270BFC 83 E4 08 20 */ lwz r31, 0x820(r4) +/* 80273CA0 00270C00 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 80273CA4 00270C04 48 00 00 68 */ b lbl_80273D0C +lbl_80273CA8: +/* 80273CA8 00270C08 7F E3 FB 78 */ mr r3, r31 +/* 80273CAC 00270C0C 7F A4 EB 78 */ mr r4, r29 +/* 80273CB0 00270C10 4B D9 C0 65 */ bl __vc__11CObjectListFi +/* 80273CB4 00270C14 7C 60 1B 78 */ mr r0, r3 +/* 80273CB8 00270C18 38 61 00 08 */ addi r3, r1, 8 +/* 80273CBC 00270C1C 7C 04 03 78 */ mr r4, r0 +/* 80273CC0 00270C20 4B E3 18 E5 */ bl sub_800a55a4 +/* 80273CC4 00270C24 4B E3 18 B5 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" +/* 80273CC8 00270C28 28 03 00 00 */ cmplwi r3, 0 +/* 80273CCC 00270C2C 41 82 00 24 */ beq lbl_80273CF0 +/* 80273CD0 00270C30 80 83 00 04 */ lwz r4, 4(r3) +/* 80273CD4 00270C34 80 1C 00 04 */ lwz r0, 4(r28) +/* 80273CD8 00270C38 7C 04 00 00 */ cmpw r4, r0 +/* 80273CDC 00270C3C 40 82 00 14 */ bne lbl_80273CF0 +/* 80273CE0 00270C40 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80273CE4 00270C44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273CE8 00270C48 41 82 00 08 */ beq lbl_80273CF0 +/* 80273CEC 00270C4C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80273CF0: +/* 80273CF0 00270C50 2C 1D FF FF */ cmpwi r29, -1 +/* 80273CF4 00270C54 41 82 00 14 */ beq lbl_80273D08 +/* 80273CF8 00270C58 57 A3 18 38 */ slwi r3, r29, 3 +/* 80273CFC 00270C5C 38 03 00 08 */ addi r0, r3, 8 +/* 80273D00 00270C60 7F BF 02 AE */ lhax r29, r31, r0 +/* 80273D04 00270C64 48 00 00 08 */ b lbl_80273D0C +lbl_80273D08: +/* 80273D08 00270C68 3B A0 FF FF */ li r29, -1 +lbl_80273D0C: +/* 80273D0C 00270C6C 2C 1D FF FF */ cmpwi r29, -1 +/* 80273D10 00270C70 40 82 FF 98 */ bne lbl_80273CA8 +/* 80273D14 00270C74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80273D18 00270C78 7F C3 F3 78 */ mr r3, r30 +/* 80273D1C 00270C7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80273D20 00270C80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80273D24 00270C84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80273D28 00270C88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80273D2C 00270C8C 7C 08 03 A6 */ mtlr r0 +/* 80273D30 00270C90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80273D34 00270C94 4E 80 00 20 */ blr + +.global sub_80273d38 +sub_80273d38: +/* 80273D38 00270C98 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80273D3C 00270C9C 7C 08 02 A6 */ mflr r0 +/* 80273D40 00270CA0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80273D44 00270CA4 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80273D48 00270CA8 7C 9C 23 78 */ mr r28, r4 +/* 80273D4C 00270CAC 7C 7B 1B 78 */ mr r27, r3 +/* 80273D50 00270CB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80273D54 00270CB4 A0 03 05 68 */ lhz r0, 0x568(r3) +/* 80273D58 00270CB8 7F 83 E3 78 */ mr r3, r28 +/* 80273D5C 00270CBC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80273D60 00270CC0 4B DD 88 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80273D64 00270CC4 7C 64 1B 78 */ mr r4, r3 +/* 80273D68 00270CC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80273D6C 00270CCC 4B E3 93 7D */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80273D70 00270CD0 80 BB 10 58 */ lwz r5, 0x1058(r27) +/* 80273D74 00270CD4 3B DB 10 5C */ addi r30, r27, 0x105c +/* 80273D78 00270CD8 83 A3 00 04 */ lwz r29, 4(r3) +/* 80273D7C 00270CDC 38 60 00 00 */ li r3, 0 +/* 80273D80 00270CE0 2C 05 00 00 */ cmpwi r5, 0 +/* 80273D84 00270CE4 40 81 00 40 */ ble lbl_80273DC4 +/* 80273D88 00270CE8 2C 05 00 08 */ cmpwi r5, 8 +/* 80273D8C 00270CEC 38 85 FF F8 */ addi r4, r5, -8 +/* 80273D90 00270CF0 40 81 00 20 */ ble lbl_80273DB0 +/* 80273D94 00270CF4 38 04 00 07 */ addi r0, r4, 7 +/* 80273D98 00270CF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273D9C 00270CFC 7C 09 03 A6 */ mtctr r0 +/* 80273DA0 00270D00 2C 04 00 00 */ cmpwi r4, 0 +/* 80273DA4 00270D04 40 81 00 0C */ ble lbl_80273DB0 +lbl_80273DA8: +/* 80273DA8 00270D08 38 63 00 08 */ addi r3, r3, 8 +/* 80273DAC 00270D0C 42 00 FF FC */ bdnz lbl_80273DA8 +lbl_80273DB0: +/* 80273DB0 00270D10 7C 03 28 50 */ subf r0, r3, r5 +/* 80273DB4 00270D14 7C 09 03 A6 */ mtctr r0 +/* 80273DB8 00270D18 7C 03 28 00 */ cmpw r3, r5 +/* 80273DBC 00270D1C 40 80 00 08 */ bge lbl_80273DC4 +lbl_80273DC0: +/* 80273DC0 00270D20 42 00 00 00 */ bdnz lbl_80273DC0 +lbl_80273DC4: +/* 80273DC4 00270D24 38 00 00 00 */ li r0, 0 +/* 80273DC8 00270D28 28 1D 00 00 */ cmplwi r29, 0 +/* 80273DCC 00270D2C 90 1B 10 58 */ stw r0, 0x1058(r27) +/* 80273DD0 00270D30 41 82 01 2C */ beq lbl_80273EFC +/* 80273DD4 00270D34 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80273DD8 00270D38 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 80273DDC 00270D3C 48 00 00 B4 */ b lbl_80273E90 +lbl_80273DE0: +/* 80273DE0 00270D40 80 1F 00 00 */ lwz r0, 0(r31) +/* 80273DE4 00270D44 2C 00 00 0D */ cmpwi r0, 0xd +/* 80273DE8 00270D48 40 82 00 A4 */ bne lbl_80273E8C +/* 80273DEC 00270D4C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80273DF0 00270D50 7F 84 E3 78 */ mr r4, r28 +/* 80273DF4 00270D54 38 61 00 14 */ addi r3, r1, 0x14 +/* 80273DF8 00270D58 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80273DFC 00270D5C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80273E00 00270D60 4B DD 41 1D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80273E04 00270D64 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80273E08 00270D68 7F 83 E3 78 */ mr r3, r28 +/* 80273E0C 00270D6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80273E10 00270D70 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80273E14 00270D74 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80273E18 00270D78 4B DD 87 5D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273E1C 00270D7C 28 03 00 00 */ cmplwi r3, 0 +/* 80273E20 00270D80 41 82 00 6C */ beq lbl_80273E8C +/* 80273E24 00270D84 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80273E28 00270D88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80273E2C 00270D8C 41 82 00 2C */ beq lbl_80273E58 +/* 80273E30 00270D90 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80273E34 00270D94 7F 86 E3 78 */ mr r6, r28 +/* 80273E38 00270D98 38 A1 00 0C */ addi r5, r1, 0xc +/* 80273E3C 00270D9C 38 80 00 04 */ li r4, 4 +/* 80273E40 00270DA0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80273E44 00270DA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80273E48 00270DA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80273E4C 00270DAC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80273E50 00270DB0 7D 89 03 A6 */ mtctr r12 +/* 80273E54 00270DB4 4E 80 04 21 */ bctrl +lbl_80273E58: +/* 80273E58 00270DB8 80 1B 10 58 */ lwz r0, 0x1058(r27) +/* 80273E5C 00270DBC 54 00 10 3A */ slwi r0, r0, 2 +/* 80273E60 00270DC0 7C 7E 02 15 */ add. r3, r30, r0 +/* 80273E64 00270DC4 41 82 00 0C */ beq lbl_80273E70 +/* 80273E68 00270DC8 80 1F 00 08 */ lwz r0, 8(r31) +/* 80273E6C 00270DCC 90 03 00 00 */ stw r0, 0(r3) +lbl_80273E70: +/* 80273E70 00270DD0 80 7B 10 58 */ lwz r3, 0x1058(r27) +/* 80273E74 00270DD4 38 03 00 01 */ addi r0, r3, 1 +/* 80273E78 00270DD8 90 1B 10 58 */ stw r0, 0x1058(r27) +/* 80273E7C 00270DDC 80 1B 10 58 */ lwz r0, 0x1058(r27) +/* 80273E80 00270DE0 20 00 00 04 */ subfic r0, r0, 4 +/* 80273E84 00270DE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80273E88 00270DE8 40 81 00 20 */ ble lbl_80273EA8 +lbl_80273E8C: +/* 80273E8C 00270DEC 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80273E90: +/* 80273E90 00270DF0 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80273E94 00270DF4 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80273E98 00270DF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80273E9C 00270DFC 7C 03 02 14 */ add r0, r3, r0 +/* 80273EA0 00270E00 7C 1F 00 40 */ cmplw r31, r0 +/* 80273EA4 00270E04 40 82 FF 3C */ bne lbl_80273DE0 +lbl_80273EA8: +/* 80273EA8 00270E08 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80273EAC 00270E0C 38 60 00 00 */ li r3, 0 +/* 80273EB0 00270E10 2C 05 00 00 */ cmpwi r5, 0 +/* 80273EB4 00270E14 40 81 00 40 */ ble lbl_80273EF4 +/* 80273EB8 00270E18 2C 05 00 08 */ cmpwi r5, 8 +/* 80273EBC 00270E1C 38 85 FF F8 */ addi r4, r5, -8 +/* 80273EC0 00270E20 40 81 00 20 */ ble lbl_80273EE0 +/* 80273EC4 00270E24 38 04 00 07 */ addi r0, r4, 7 +/* 80273EC8 00270E28 54 00 E8 FE */ srwi r0, r0, 3 +/* 80273ECC 00270E2C 7C 09 03 A6 */ mtctr r0 +/* 80273ED0 00270E30 2C 04 00 00 */ cmpwi r4, 0 +/* 80273ED4 00270E34 40 81 00 0C */ ble lbl_80273EE0 +lbl_80273ED8: +/* 80273ED8 00270E38 38 63 00 08 */ addi r3, r3, 8 +/* 80273EDC 00270E3C 42 00 FF FC */ bdnz lbl_80273ED8 +lbl_80273EE0: +/* 80273EE0 00270E40 7C 03 28 50 */ subf r0, r3, r5 +/* 80273EE4 00270E44 7C 09 03 A6 */ mtctr r0 +/* 80273EE8 00270E48 7C 03 28 00 */ cmpw r3, r5 +/* 80273EEC 00270E4C 40 80 00 08 */ bge lbl_80273EF4 +lbl_80273EF0: +/* 80273EF0 00270E50 42 00 00 00 */ bdnz lbl_80273EF0 +lbl_80273EF4: +/* 80273EF4 00270E54 38 00 00 00 */ li r0, 0 +/* 80273EF8 00270E58 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80273EFC: +/* 80273EFC 00270E5C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80273F00 00270E60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80273F04 00270E64 7C 08 03 A6 */ mtlr r0 +/* 80273F08 00270E68 38 21 00 60 */ addi r1, r1, 0x60 +/* 80273F0C 00270E6C 4E 80 00 20 */ blr + +.global sub_80273f10 +sub_80273f10: +/* 80273F10 00270E70 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80273F14 00270E74 7C 08 02 A6 */ mflr r0 +/* 80273F18 00270E78 90 01 00 64 */ stw r0, 0x64(r1) +/* 80273F1C 00270E7C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80273F20 00270E80 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80273F24 00270E84 7C 9E 23 78 */ mr r30, r4 +/* 80273F28 00270E88 38 81 00 08 */ addi r4, r1, 8 +/* 80273F2C 00270E8C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80273F30 00270E90 7C 7D 1B 78 */ mr r29, r3 +/* 80273F34 00270E94 A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 80273F38 00270E98 7F C3 F3 78 */ mr r3, r30 +/* 80273F3C 00270E9C B0 01 00 08 */ sth r0, 8(r1) +/* 80273F40 00270EA0 4B DD 86 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80273F44 00270EA4 7C 64 1B 78 */ mr r4, r3 +/* 80273F48 00270EA8 38 61 00 0C */ addi r3, r1, 0xc +/* 80273F4C 00270EAC 4B E3 87 99 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80273F50 00270EB0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80273F54 00270EB4 28 1F 00 00 */ cmplwi r31, 0 +/* 80273F58 00270EB8 41 82 00 E0 */ beq lbl_80274038 +/* 80273F5C 00270EBC 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80273F60 00270EC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80273F64 00270EC4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80273F68 00270EC8 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80273F6C 00270ECC C0 45 00 50 */ lfs f2, 0x50(r5) +/* 80273F70 00270ED0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80273F74 00270ED4 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 80273F78 00270ED8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80273F7C 00270EDC C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80273F80 00270EE0 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80273F84 00270EE4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80273F88 00270EE8 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80273F8C 00270EEC C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80273F90 00270EF0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80273F94 00270EF4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80273F98 00270EF8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80273F9C 00270EFC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80273FA0 00270F00 48 09 BF C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80273FA4 00270F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80273FA8 00270F08 40 82 00 80 */ bne lbl_80274028 +/* 80273FAC 00270F0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80273FB0 00270F10 38 81 00 38 */ addi r4, r1, 0x38 +/* 80273FB4 00270F14 48 0A 08 9D */ bl AsNormalized__9CVector3fCFv +/* 80273FB8 00270F18 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 80273FBC 00270F1C C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80273FC0 00270F20 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 80273FC4 00270F24 EC 03 01 72 */ fmuls f0, f3, f5 +/* 80273FC8 00270F28 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 80273FCC 00270F2C C0 9D 00 58 */ lfs f4, 0x58(r29) +/* 80273FD0 00270F30 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80273FD4 00270F34 EC 22 01 FA */ fmadds f1, f2, f7, f0 +/* 80273FD8 00270F38 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80273FDC 00270F3C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80273FE0 00270F40 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 80273FE4 00270F44 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80273FE8 00270F48 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80273FEC 00270F4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80273FF0 00270F50 40 81 00 0C */ ble lbl_80273FFC +/* 80273FF4 00270F54 C0 02 BC 60 */ lfs f0, lbl_805AD980@sda21(r2) +/* 80273FF8 00270F58 48 00 00 08 */ b lbl_80274000 +lbl_80273FFC: +/* 80273FFC 00270F5C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +lbl_80274000: +/* 80274000 00270F60 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 80274004 00270F64 7F E3 FB 78 */ mr r3, r31 +/* 80274008 00270F68 EC 20 01 72 */ fmuls f1, f0, f5 +/* 8027400C 00270F6C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80274010 00270F70 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80274014 00270F74 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80274018 00270F78 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8027401C 00270F7C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80274020 00270F80 4B EA 6C 81 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80274024 00270F84 48 00 00 14 */ b lbl_80274038 +lbl_80274028: +/* 80274028 00270F88 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027402C 00270F8C 7F E3 FB 78 */ mr r3, r31 +/* 80274030 00270F90 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80274034 00270F94 4B EA 6C 6D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80274038: +/* 80274038 00270F98 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027403C 00270F9C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80274040 00270FA0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80274044 00270FA4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80274048 00270FA8 7C 08 03 A6 */ mtlr r0 +/* 8027404C 00270FAC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80274050 00270FB0 4E 80 00 20 */ blr + +.global sub_80274054 +sub_80274054: +/* 80274054 00270FB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80274058 00270FB8 7C 08 02 A6 */ mflr r0 +/* 8027405C 00270FBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80274060 00270FC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80274064 00270FC4 7C 9F 23 78 */ mr r31, r4 +/* 80274068 00270FC8 38 81 00 08 */ addi r4, r1, 8 +/* 8027406C 00270FCC A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 80274070 00270FD0 7F E3 FB 78 */ mr r3, r31 +/* 80274074 00270FD4 B0 01 00 08 */ sth r0, 8(r1) +/* 80274078 00270FD8 4B DD 84 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027407C 00270FDC 7C 64 1B 78 */ mr r4, r3 +/* 80274080 00270FE0 38 61 00 0C */ addi r3, r1, 0xc +/* 80274084 00270FE4 4B E3 BC 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80274088 00270FE8 80 63 00 04 */ lwz r3, 4(r3) +/* 8027408C 00270FEC 28 03 00 00 */ cmplwi r3, 0 +/* 80274090 00270FF0 41 82 00 28 */ beq lbl_802740B8 +/* 80274094 00270FF4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80274098 00270FF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027409C 00270FFC C0 45 00 60 */ lfs f2, 0x60(r5) +/* 802740A0 00271000 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802740A4 00271004 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 802740A8 00271008 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802740AC 0027100C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802740B0 00271010 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802740B4 00271014 4B DD ED D9 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_802740B8: +/* 802740B8 00271018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802740BC 0027101C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802740C0 00271020 7C 08 03 A6 */ mtlr r0 +/* 802740C4 00271024 38 21 00 30 */ addi r1, r1, 0x30 +/* 802740C8 00271028 4E 80 00 20 */ blr + +.global sub_802740cc +sub_802740cc: +/* 802740CC 0027102C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802740D0 00271030 7C 08 02 A6 */ mflr r0 +/* 802740D4 00271034 90 01 00 14 */ stw r0, 0x14(r1) +/* 802740D8 00271038 A0 03 0E AC */ lhz r0, 0xeac(r3) +/* 802740DC 0027103C 7C 83 23 78 */ mr r3, r4 +/* 802740E0 00271040 38 81 00 08 */ addi r4, r1, 8 +/* 802740E4 00271044 B0 01 00 08 */ sth r0, 8(r1) +/* 802740E8 00271048 4B DD 81 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802740EC 0027104C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802740F0 00271050 7C 08 03 A6 */ mtlr r0 +/* 802740F4 00271054 38 21 00 10 */ addi r1, r1, 0x10 +/* 802740F8 00271058 4E 80 00 20 */ blr + +.global sub_802740fc +sub_802740fc: +/* 802740FC 0027105C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80274100 00271060 7C 08 02 A6 */ mflr r0 +/* 80274104 00271064 90 01 00 74 */ stw r0, 0x74(r1) +/* 80274108 00271068 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8027410C 0027106C 7C 7D 1B 78 */ mr r29, r3 +/* 80274110 00271070 7C 9F 23 78 */ mr r31, r4 +/* 80274114 00271074 38 61 00 0C */ addi r3, r1, 0xc +/* 80274118 00271078 4B DD 8F C5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8027411C 0027107C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80274120 00271080 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80274124 00271084 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 80274128 00271088 3B 80 00 00 */ li r28, 0 +/* 8027412C 0027108C B0 1D 0E AC */ sth r0, 0xeac(r29) +/* 80274130 00271090 38 83 02 20 */ addi r4, r3, 0x220 +/* 80274134 00271094 3B 60 00 00 */ li r27, 0 +/* 80274138 00271098 38 60 02 58 */ li r3, 0x258 +/* 8027413C 0027109C 38 A0 00 00 */ li r5, 0 +/* 80274140 002710A0 48 0A 17 2D */ bl __nw__FUlPCcPCc +/* 80274144 002710A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80274148 002710A8 41 82 00 70 */ beq lbl_802741B8 +/* 8027414C 002710AC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80274150 002710B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80274154 002710B4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80274158 002710B8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027415C 002710BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80274160 002710C0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80274164 002710C4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80274168 002710C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8027416C 002710CC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274170 002710D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80274174 002710D4 4B DD D3 11 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80274178 002710D8 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027417C 002710DC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80274180 002710E0 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80274184 002710E4 3B 80 00 01 */ li r28, 1 +/* 80274188 002710E8 38 84 02 27 */ addi r4, r4, 0x227 +/* 8027418C 002710EC 4B D9 0B 2D */ bl string_l__4rstlFPCc +/* 80274190 002710F0 A0 1D 0E AC */ lhz r0, 0xeac(r29) +/* 80274194 002710F4 7F C3 F3 78 */ mr r3, r30 +/* 80274198 002710F8 38 81 00 08 */ addi r4, r1, 8 +/* 8027419C 002710FC 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802741A0 00271100 B0 01 00 08 */ sth r0, 8(r1) +/* 802741A4 00271104 38 E1 00 3C */ addi r7, r1, 0x3c +/* 802741A8 00271108 3B 60 00 01 */ li r27, 1 +/* 802741AC 0027110C 38 A0 00 01 */ li r5, 1 +/* 802741B0 00271110 48 00 00 81 */ bl sub_80274230 +/* 802741B4 00271114 7C 7E 1B 78 */ mr r30, r3 +lbl_802741B8: +/* 802741B8 00271118 7F 60 07 75 */ extsb. r0, r27 +/* 802741BC 0027111C 41 82 00 0C */ beq lbl_802741C8 +/* 802741C0 00271120 38 61 00 2C */ addi r3, r1, 0x2c +/* 802741C4 00271124 48 0C 99 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802741C8: +/* 802741C8 00271128 7F 80 07 75 */ extsb. r0, r28 +/* 802741CC 0027112C 41 82 00 44 */ beq lbl_80274210 +/* 802741D0 00271130 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802741D4 00271134 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 802741D8 00271138 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802741DC 0027113C 90 61 00 14 */ stw r3, 0x14(r1) +/* 802741E0 00271140 7C 64 1B 78 */ mr r4, r3 +/* 802741E4 00271144 7C 03 02 14 */ add r0, r3, r0 +/* 802741E8 00271148 90 61 00 10 */ stw r3, 0x10(r1) +/* 802741EC 0027114C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802741F0 00271150 90 01 00 18 */ stw r0, 0x18(r1) +/* 802741F4 00271154 48 00 00 08 */ b lbl_802741FC +lbl_802741F8: +/* 802741F8 00271158 38 84 00 0C */ addi r4, r4, 0xc +lbl_802741FC: +/* 802741FC 0027115C 7C 04 00 40 */ cmplw r4, r0 +/* 80274200 00271160 40 82 FF F8 */ bne lbl_802741F8 +/* 80274204 00271164 28 03 00 00 */ cmplwi r3, 0 +/* 80274208 00271168 41 82 00 08 */ beq lbl_80274210 +/* 8027420C 0027116C 48 0A 17 25 */ bl Free__7CMemoryFPCv +lbl_80274210: +/* 80274210 00271170 7F E3 FB 78 */ mr r3, r31 +/* 80274214 00271174 7F C4 F3 78 */ mr r4, r30 +/* 80274218 00271178 4B DD 8A DD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8027421C 0027117C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80274220 00271180 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80274224 00271184 7C 08 03 A6 */ mtlr r0 +/* 80274228 00271188 38 21 00 70 */ addi r1, r1, 0x70 +/* 8027422C 0027118C 4E 80 00 20 */ blr + +.global sub_80274230 +sub_80274230: +/* 80274230 00271190 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80274234 00271194 7C 08 02 A6 */ mflr r0 +/* 80274238 00271198 90 01 01 64 */ stw r0, 0x164(r1) +/* 8027423C 0027119C BF 41 01 48 */ stmw r26, 0x148(r1) +/* 80274240 002711A0 7C 7B 1B 78 */ mr r27, r3 +/* 80274244 002711A4 7C 9C 23 78 */ mr r28, r4 +/* 80274248 002711A8 7C BD 2B 78 */ mr r29, r5 +/* 8027424C 002711AC 7C DE 33 78 */ mr r30, r6 +/* 80274250 002711B0 7C FF 3B 78 */ mr r31, r7 +/* 80274254 002711B4 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 80274258 002711B8 4B DC 65 4D */ bl CModelDataNull__10CModelDataFv +/* 8027425C 002711BC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80274260 002711C0 4B DA 6B D9 */ bl None__16CActorParametersFv +/* 80274264 002711C4 4B DA 72 D1 */ bl Identity__10CAxisAngleFv +/* 80274268 002711C8 7C 7A 1B 78 */ mr r26, r3 +/* 8027426C 002711CC 4B DA 72 C9 */ bl Identity__10CAxisAngleFv +/* 80274270 002711D0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80274274 002711D4 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) +/* 80274278 002711D8 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 8027427C 002711DC 38 00 00 00 */ li r0, 0 +/* 80274280 002711E0 C0 84 00 04 */ lfs f4, 4(r4) +/* 80274284 002711E4 C0 A4 00 08 */ lfs f5, 8(r4) +/* 80274288 002711E8 38 80 00 01 */ li r4, 1 +/* 8027428C 002711EC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80274290 002711F0 C0 02 BC 64 */ lfs f0, lbl_805AD984@sda21(r2) +/* 80274294 002711F4 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 80274298 002711F8 80 AD 98 50 */ lwz r5, lbl_805A8410@sda21(r13) +/* 8027429C 002711FC D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802742A0 00271200 C0 43 00 00 */ lfs f2, 0(r3) +/* 802742A4 00271204 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802742A8 00271208 C0 43 00 04 */ lfs f2, 4(r3) +/* 802742AC 0027120C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802742B0 00271210 C0 43 00 08 */ lfs f2, 8(r3) +/* 802742B4 00271214 38 60 00 00 */ li r3, 0 +/* 802742B8 00271218 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802742BC 0027121C D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802742C0 00271220 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802742C4 00271224 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802742C8 00271228 C0 5A 00 00 */ lfs f2, 0(r26) +/* 802742CC 0027122C D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802742D0 00271230 C0 5A 00 04 */ lfs f2, 4(r26) +/* 802742D4 00271234 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802742D8 00271238 C0 5A 00 08 */ lfs f2, 8(r26) +/* 802742DC 0027123C D0 41 00 84 */ stfs f2, 0x84(r1) +/* 802742E0 00271240 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802742E4 00271244 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802742E8 00271248 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802742EC 0027124C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802742F0 00271250 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802742F4 00271254 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802742F8 00271258 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802742FC 0027125C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80274300 00271260 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274304 00271264 48 11 5B F1 */ bl __shl2i +/* 80274308 00271268 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8027430C 0027126C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 80274310 00271270 7C 00 1B 78 */ or r0, r0, r3 +/* 80274314 00271274 80 AD 98 54 */ lwz r5, lbl_805A8414@sda21(r13) +/* 80274318 00271278 7C C4 23 78 */ or r4, r6, r4 +/* 8027431C 0027127C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80274320 00271280 38 60 00 00 */ li r3, 0 +/* 80274324 00271284 90 81 00 24 */ stw r4, 0x24(r1) +/* 80274328 00271288 38 80 00 01 */ li r4, 1 +/* 8027432C 0027128C 48 11 5B C9 */ bl __shl2i +/* 80274330 00271290 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80274334 00271294 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80274338 00271298 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8027433C 0027129C 7C 03 1B 78 */ or r3, r0, r3 +/* 80274340 002712A0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80274344 002712A4 7C C6 23 78 */ or r6, r6, r4 +/* 80274348 002712A8 90 61 00 20 */ stw r3, 0x20(r1) +/* 8027434C 002712AC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80274350 002712B0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80274354 002712B4 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80274358 002712B8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8027435C 002712BC 48 0C 41 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80274360 002712C0 90 61 00 08 */ stw r3, 8(r1) +/* 80274364 002712C4 38 81 00 58 */ addi r4, r1, 0x58 +/* 80274368 002712C8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8027436C 002712CC 38 01 00 8C */ addi r0, r1, 0x8c +/* 80274370 002712D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80274374 002712D4 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80274378 002712D8 C0 22 BC 68 */ lfs f1, lbl_805AD988@sda21(r2) +/* 8027437C 002712DC 7F 63 DB 78 */ mr r3, r27 +/* 80274380 002712E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80274384 002712E4 7F A5 EB 78 */ mr r5, r29 +/* 80274388 002712E8 C0 42 BC 6C */ lfs f2, lbl_805AD98C@sda21(r2) +/* 8027438C 002712EC 7F C6 F3 78 */ mr r6, r30 +/* 80274390 002712F0 7F E7 FB 78 */ mr r7, r31 +/* 80274394 002712F4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80274398 002712F8 39 21 00 F4 */ addi r9, r1, 0xf4 +/* 8027439C 002712FC 39 41 00 20 */ addi r10, r1, 0x20 +/* 802743A0 00271300 4B EA 81 11 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 802743A4 00271304 38 61 00 8C */ addi r3, r1, 0x8c +/* 802743A8 00271308 38 80 FF FF */ li r4, -1 +/* 802743AC 0027130C 4B E9 22 5D */ bl __dt__16CActorParametersFv +/* 802743B0 00271310 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802743B4 00271314 38 80 FF FF */ li r4, -1 +/* 802743B8 00271318 4B EA 26 95 */ bl __dt__10CModelDataFv +/* 802743BC 0027131C 3C 80 80 3F */ lis r4, lbl_803EB0FC@ha +/* 802743C0 00271320 7F 63 DB 78 */ mr r3, r27 +/* 802743C4 00271324 38 04 B0 FC */ addi r0, r4, lbl_803EB0FC@l +/* 802743C8 00271328 90 1B 00 00 */ stw r0, 0(r27) +/* 802743CC 0027132C BB 41 01 48 */ lmw r26, 0x148(r1) +/* 802743D0 00271330 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802743D4 00271334 7C 08 03 A6 */ mtlr r0 +/* 802743D8 00271338 38 21 01 60 */ addi r1, r1, 0x160 +/* 802743DC 0027133C 4E 80 00 20 */ blr + +.global sub_802743e0 +sub_802743e0: +/* 802743E0 00271340 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802743E4 00271344 7C 08 02 A6 */ mflr r0 +/* 802743E8 00271348 90 01 00 24 */ stw r0, 0x24(r1) +/* 802743EC 0027134C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802743F0 00271350 7C BF 2B 78 */ mr r31, r5 +/* 802743F4 00271354 A0 03 10 44 */ lhz r0, 0x1044(r3) +/* 802743F8 00271358 7C 83 23 78 */ mr r3, r4 +/* 802743FC 0027135C 38 81 00 08 */ addi r4, r1, 8 +/* 80274400 00271360 B0 01 00 08 */ sth r0, 8(r1) +/* 80274404 00271364 4B DD 81 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80274408 00271368 7C 64 1B 78 */ mr r4, r3 +/* 8027440C 0027136C 38 61 00 0C */ addi r3, r1, 0xc +/* 80274410 00271370 4B E3 8F ED */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" +/* 80274414 00271374 80 63 00 04 */ lwz r3, 4(r3) +/* 80274418 00271378 28 03 00 00 */ cmplwi r3, 0 +/* 8027441C 0027137C 41 82 00 1C */ beq lbl_80274438 +/* 80274420 00271380 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 80274424 00271384 7F E4 FB 78 */ mr r4, r31 +/* 80274428 00271388 81 83 00 00 */ lwz r12, 0(r3) +/* 8027442C 0027138C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274430 00271390 7D 89 03 A6 */ mtctr r12 +/* 80274434 00271394 4E 80 04 21 */ bctrl +lbl_80274438: +/* 80274438 00271398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027443C 0027139C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80274440 002713A0 7C 08 03 A6 */ mtlr r0 +/* 80274444 002713A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80274448 002713A8 4E 80 00 20 */ blr + +.global sub_8027444c +sub_8027444c: +/* 8027444C 002713AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80274450 002713B0 7C 08 02 A6 */ mflr r0 +/* 80274454 002713B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80274458 002713B8 A0 03 10 44 */ lhz r0, 0x1044(r3) +/* 8027445C 002713BC 7C 83 23 78 */ mr r3, r4 +/* 80274460 002713C0 38 81 00 08 */ addi r4, r1, 8 +/* 80274464 002713C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80274468 002713C8 4B DD 7E 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8027446C 002713CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80274470 002713D0 7C 08 03 A6 */ mtlr r0 +/* 80274474 002713D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80274478 002713D8 4E 80 00 20 */ blr + +.global sub_8027447c +sub_8027447c: +/* 8027447C 002713DC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80274480 002713E0 7C 08 02 A6 */ mflr r0 +/* 80274484 002713E4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80274488 002713E8 BF 21 00 64 */ stmw r25, 0x64(r1) +/* 8027448C 002713EC 7C 7B 1B 78 */ mr r27, r3 +/* 80274490 002713F0 7C 9E 23 78 */ mr r30, r4 +/* 80274494 002713F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80274498 002713F8 4B DD 8C 45 */ bl AllocateUniqueId__13CStateManagerFv +/* 8027449C 002713FC A0 01 00 14 */ lhz r0, 0x14(r1) +/* 802744A0 00271400 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802744A4 00271404 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 802744A8 00271408 3B A0 00 00 */ li r29, 0 +/* 802744AC 0027140C B0 1B 10 44 */ sth r0, 0x1044(r27) +/* 802744B0 00271410 38 83 02 20 */ addi r4, r3, 0x220 +/* 802744B4 00271414 3B 40 00 00 */ li r26, 0 +/* 802744B8 00271418 3B 20 00 00 */ li r25, 0 +/* 802744BC 0027141C 38 60 01 10 */ li r3, 0x110 +/* 802744C0 00271420 38 A0 00 00 */ li r5, 0 +/* 802744C4 00271424 48 0A 13 A9 */ bl __nw__FUlPCcPCc +/* 802744C8 00271428 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802744CC 0027142C 41 82 00 D0 */ beq lbl_8027459C +/* 802744D0 00271430 38 00 00 01 */ li r0, 1 +/* 802744D4 00271434 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802744D8 00271438 98 01 00 24 */ stb r0, 0x24(r1) +/* 802744DC 0027143C 41 82 00 0C */ beq lbl_802744E8 +/* 802744E0 00271440 38 9B 10 1C */ addi r4, r27, 0x101c +/* 802744E4 00271444 48 0C C9 C5 */ bl __ct__6CTokenFRC6CToken +lbl_802744E8: +/* 802744E8 00271448 38 00 00 00 */ li r0, 0 +/* 802744EC 0027144C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802744F0 00271450 98 01 00 30 */ stb r0, 0x30(r1) +/* 802744F4 00271454 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 802744F8 00271458 38 61 00 34 */ addi r3, r1, 0x34 +/* 802744FC 0027145C 3B 20 00 01 */ li r25, 1 +/* 80274500 00271460 A0 1B 10 44 */ lhz r0, 0x1044(r27) +/* 80274504 00271464 38 84 02 27 */ addi r4, r4, 0x227 +/* 80274508 00271468 3B 40 00 01 */ li r26, 1 +/* 8027450C 0027146C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80274510 00271470 4B D9 07 A9 */ bl string_l__4rstlFPCc +/* 80274514 00271474 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274518 00271478 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027451C 0027147C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274520 00271480 3B A0 00 01 */ li r29, 1 +/* 80274524 00271484 FC 40 08 90 */ fmr f2, f1 +/* 80274528 00271488 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8027452C 0027148C FC 60 08 90 */ fmr f3, f1 +/* 80274530 00271490 FC 80 08 90 */ fmr f4, f1 +/* 80274534 00271494 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80274538 00271498 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8027453C 0027149C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80274540 002714A0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80274544 002714A4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80274548 002714A8 48 0E EE A5 */ bl __ct__6CColorFffff +/* 8027454C 002714AC 7C 7B 1B 78 */ mr r27, r3 +/* 80274550 002714B0 7F C3 F3 78 */ mr r3, r30 +/* 80274554 002714B4 4B EB BC D9 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +/* 80274558 002714B8 7C 7C 1B 78 */ mr r28, r3 +/* 8027455C 002714BC 7F C3 F3 78 */ mr r3, r30 +/* 80274560 002714C0 4B EB BC 99 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +/* 80274564 002714C4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274568 002714C8 38 01 00 50 */ addi r0, r1, 0x50 +/* 8027456C 002714CC 90 61 00 08 */ stw r3, 8(r1) +/* 80274570 002714D0 7F E3 FB 78 */ mr r3, r31 +/* 80274574 002714D4 7F 89 E3 78 */ mr r9, r28 +/* 80274578 002714D8 7F 6A DB 78 */ mr r10, r27 +/* 8027457C 002714DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80274580 002714E0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80274584 002714E4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80274588 002714E8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8027458C 002714EC 39 01 00 34 */ addi r8, r1, 0x34 +/* 80274590 002714F0 38 E0 00 01 */ li r7, 1 +/* 80274594 002714F4 4B EB B9 65 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +/* 80274598 002714F8 7C 7F 1B 78 */ mr r31, r3 +lbl_8027459C: +/* 8027459C 002714FC 7F 20 07 75 */ extsb. r0, r25 +/* 802745A0 00271500 41 82 00 28 */ beq lbl_802745C8 +/* 802745A4 00271504 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802745A8 00271508 28 00 00 00 */ cmplwi r0, 0 +/* 802745AC 0027150C 41 82 00 14 */ beq lbl_802745C0 +/* 802745B0 00271510 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802745B4 00271514 41 82 00 0C */ beq lbl_802745C0 +/* 802745B8 00271518 38 80 00 00 */ li r4, 0 +/* 802745BC 0027151C 48 0C C8 85 */ bl __dt__6CTokenFv +lbl_802745C0: +/* 802745C0 00271520 38 00 00 00 */ li r0, 0 +/* 802745C4 00271524 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802745C8: +/* 802745C8 00271528 7F 40 07 75 */ extsb. r0, r26 +/* 802745CC 0027152C 41 82 00 28 */ beq lbl_802745F4 +/* 802745D0 00271530 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802745D4 00271534 28 00 00 00 */ cmplwi r0, 0 +/* 802745D8 00271538 41 82 00 14 */ beq lbl_802745EC +/* 802745DC 0027153C 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802745E0 00271540 41 82 00 0C */ beq lbl_802745EC +/* 802745E4 00271544 38 80 00 00 */ li r4, 0 +/* 802745E8 00271548 48 0C C8 59 */ bl __dt__6CTokenFv +lbl_802745EC: +/* 802745EC 0027154C 38 00 00 00 */ li r0, 0 +/* 802745F0 00271550 98 01 00 30 */ stb r0, 0x30(r1) +lbl_802745F4: +/* 802745F4 00271554 7F A0 07 75 */ extsb. r0, r29 +/* 802745F8 00271558 41 82 00 0C */ beq lbl_80274604 +/* 802745FC 0027155C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80274600 00271560 48 0C 94 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80274604: +/* 80274604 00271564 7F C3 F3 78 */ mr r3, r30 +/* 80274608 00271568 7F E4 FB 78 */ mr r4, r31 +/* 8027460C 0027156C 4B DD 86 E9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80274610 00271570 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 80274614 00271574 38 60 00 01 */ li r3, 1 +/* 80274618 00271578 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8027461C 0027157C 38 80 00 00 */ li r4, 0 +/* 80274620 00271580 98 1F 01 04 */ stb r0, 0x104(r31) +/* 80274624 00271584 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80274628 00271588 81 83 00 00 */ lwz r12, 0(r3) +/* 8027462C 0027158C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274630 00271590 7D 89 03 A6 */ mtctr r12 +/* 80274634 00271594 4E 80 04 21 */ bctrl +/* 80274638 00271598 BB 21 00 64 */ lmw r25, 0x64(r1) +/* 8027463C 0027159C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80274640 002715A0 7C 08 03 A6 */ mtlr r0 +/* 80274644 002715A4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80274648 002715A8 4E 80 00 20 */ blr + +.global sub_8027464c +sub_8027464c: +/* 8027464C 002715AC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80274650 002715B0 7C 08 02 A6 */ mflr r0 +/* 80274654 002715B4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80274658 002715B8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8027465C 002715BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80274660 002715C0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80274664 002715C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80274668 002715C8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8027466C 002715CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80274670 002715D0 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80274674 002715D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80274678 002715D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8027467C 002715DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80274680 002715E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80274684 002715E4 7C 7D 1B 78 */ mr r29, r3 +/* 80274688 002715E8 7C BE 2B 78 */ mr r30, r5 +/* 8027468C 002715EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80274690 002715F0 38 C0 00 0A */ li r6, 0xa +/* 80274694 002715F4 38 E0 00 06 */ li r7, 6 +/* 80274698 002715F8 48 00 24 A5 */ bl sub_80276b3c +/* 8027469C 002715FC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802746A0 00271600 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802746A4 00271604 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 802746A8 00271608 C3 82 BC 08 */ lfs f28, lbl_805AD928@sda21(r2) +/* 802746AC 0027160C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802746B0 00271610 C3 FF 00 00 */ lfs f31, 0(r31) +/* 802746B4 00271614 C3 DF 00 04 */ lfs f30, 4(r31) +/* 802746B8 00271618 C3 BF 00 08 */ lfs f29, 8(r31) +/* 802746BC 0027161C 48 00 00 64 */ b lbl_80274720 +lbl_802746C0: +/* 802746C0 00271620 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 802746C4 00271624 7F C3 F3 78 */ mr r3, r30 +/* 802746C8 00271628 38 81 00 0C */ addi r4, r1, 0xc +/* 802746CC 0027162C B0 01 00 0C */ sth r0, 0xc(r1) +/* 802746D0 00271630 4B DD 7E D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802746D4 00271634 7C 64 1B 78 */ mr r4, r3 +/* 802746D8 00271638 38 61 00 18 */ addi r3, r1, 0x18 +/* 802746DC 0027163C 4B E3 1E 71 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 802746E0 00271640 80 83 00 04 */ lwz r4, 4(r3) +/* 802746E4 00271644 28 04 00 00 */ cmplwi r4, 0 +/* 802746E8 00271648 41 82 00 24 */ beq lbl_8027470C +/* 802746EC 0027164C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802746F0 00271650 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 802746F4 00271654 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 802746F8 00271658 EF FF 00 2A */ fadds f31, f31, f0 +/* 802746FC 0027165C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80274700 00271660 EF DE 10 2A */ fadds f30, f30, f2 +/* 80274704 00271664 EF BD 08 2A */ fadds f29, f29, f1 +/* 80274708 00271668 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_8027470C: +/* 8027470C 0027166C 7F C5 F3 78 */ mr r5, r30 +/* 80274710 00271670 38 61 00 08 */ addi r3, r1, 8 +/* 80274714 00271674 4B E0 2A 21 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80274718 00271678 A0 01 00 08 */ lhz r0, 8(r1) +/* 8027471C 0027167C B0 01 00 14 */ sth r0, 0x14(r1) +lbl_80274720: +/* 80274720 00271680 A0 61 00 14 */ lhz r3, 0x14(r1) +/* 80274724 00271684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80274728 00271688 7C 03 00 40 */ cmplw r3, r0 +/* 8027472C 0027168C 40 82 FF 94 */ bne lbl_802746C0 +/* 80274730 00271690 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274734 00271694 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80274738 00271698 40 81 00 28 */ ble lbl_80274760 +/* 8027473C 0027169C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80274740 002716A0 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80274744 002716A4 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 80274748 002716A8 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8027474C 002716AC EC 00 07 72 */ fmuls f0, f0, f29 +/* 80274750 002716B0 D0 5D 00 00 */ stfs f2, 0(r29) +/* 80274754 002716B4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 80274758 002716B8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8027475C 002716BC 48 00 00 20 */ b lbl_8027477C +lbl_80274760: +/* 80274760 002716C0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274764 002716C4 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 80274768 002716C8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8027476C 002716CC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80274770 002716D0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80274774 002716D4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80274778 002716D8 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_8027477C: +/* 8027477C 002716DC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80274780 002716E0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80274784 002716E4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80274788 002716E8 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8027478C 002716EC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80274790 002716F0 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80274794 002716F4 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80274798 002716F8 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8027479C 002716FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802747A0 00271700 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802747A4 00271704 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802747A8 00271708 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802747AC 0027170C 7C 08 03 A6 */ mtlr r0 +/* 802747B0 00271710 38 21 00 70 */ addi r1, r1, 0x70 +/* 802747B4 00271714 4E 80 00 20 */ blr + +.global sub_802747b8 +sub_802747b8: +/* 802747B8 00271718 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802747BC 0027171C 7C 08 02 A6 */ mflr r0 +/* 802747C0 00271720 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802747C4 00271724 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 802747C8 00271728 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 802747CC 0027172C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 802747D0 00271730 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 802747D4 00271734 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 802747D8 00271738 C0 65 00 04 */ lfs f3, 4(r5) +/* 802747DC 0027173C 7C 9C 23 78 */ mr r28, r4 +/* 802747E0 00271740 C0 45 00 00 */ lfs f2, 0(r5) +/* 802747E4 00271744 7C 7B 1B 78 */ mr r27, r3 +/* 802747E8 00271748 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802747EC 0027174C FF E0 08 90 */ fmr f31, f1 +/* 802747F0 00271750 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802747F4 00271754 38 60 00 00 */ li r3, 0 +/* 802747F8 00271758 80 AD 98 D0 */ lwz r5, lbl_805A8490@sda21(r13) +/* 802747FC 0027175C 38 80 00 01 */ li r4, 1 +/* 80274800 00271760 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 80274804 00271764 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80274808 00271768 83 FC 08 4C */ lwz r31, 0x84c(r28) +/* 8027480C 0027176C 48 11 56 E9 */ bl __shl2i +/* 80274810 00271770 80 AD 98 D4 */ lwz r5, lbl_805A8494@sda21(r13) +/* 80274814 00271774 7C 9D 23 78 */ mr r29, r4 +/* 80274818 00271778 7C 7E 1B 78 */ mr r30, r3 +/* 8027481C 0027177C 38 60 00 00 */ li r3, 0 +/* 80274820 00271780 38 80 00 01 */ li r4, 1 +/* 80274824 00271784 48 11 56 D1 */ bl __shl2i +/* 80274828 00271788 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 8027482C 0027178C 7F BD 23 78 */ or r29, r29, r4 +/* 80274830 00271790 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l +/* 80274834 00271794 7F DE 1B 78 */ or r30, r30, r3 +/* 80274838 00271798 39 00 00 00 */ li r8, 0 +/* 8027483C 0027179C 38 00 00 01 */ li r0, 1 +/* 80274840 002717A0 C0 82 BC 20 */ lfs f4, lbl_805AD940@sda21(r2) +/* 80274844 002717A4 7F 83 E3 78 */ mr r3, r28 +/* 80274848 002717A8 C0 45 00 08 */ lfs f2, 8(r5) +/* 8027484C 002717AC 7F 67 DB 78 */ mr r7, r27 +/* 80274850 002717B0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80274854 002717B4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80274858 002717B8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8027485C 002717BC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 80274860 002717C0 EC 64 00 72 */ fmuls f3, f4, f1 +/* 80274864 002717C4 93 A1 00 6C */ stw r29, 0x6c(r1) +/* 80274868 002717C8 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8027486C 002717CC 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80274870 002717D0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80274874 002717D4 38 C1 00 68 */ addi r6, r1, 0x68 +/* 80274878 002717D8 91 01 00 74 */ stw r8, 0x74(r1) +/* 8027487C 002717DC 91 01 00 70 */ stw r8, 0x70(r1) +/* 80274880 002717E0 90 01 00 78 */ stw r0, 0x78(r1) +/* 80274884 002717E4 C1 1F 00 60 */ lfs f8, 0x60(r31) +/* 80274888 002717E8 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 8027488C 002717EC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80274890 002717F0 EC 88 28 2A */ fadds f4, f8, f5 +/* 80274894 002717F4 EC C7 10 2A */ fadds f6, f7, f2 +/* 80274898 002717F8 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8027489C 002717FC EC 01 18 2A */ fadds f0, f1, f3 +/* 802748A0 00271800 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802748A4 00271804 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802748A8 00271808 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802748AC 0027180C D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802748B0 00271810 D1 01 00 40 */ stfs f8, 0x40(r1) +/* 802748B4 00271814 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802748B8 00271818 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802748BC 0027181C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802748C0 00271820 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802748C4 00271824 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802748C8 00271828 D1 01 00 58 */ stfs f8, 0x58(r1) +/* 802748CC 0027182C 4B DD 85 71 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 802748D0 00271830 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802748D4 00271834 40 82 00 5C */ bne lbl_80274930 +/* 802748D8 00271838 C0 22 BC 70 */ lfs f1, lbl_805AD990@sda21(r2) +/* 802748DC 0027183C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802748E0 00271840 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 802748E4 00271844 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) +/* 802748E8 00271848 EC 61 00 32 */ fmuls f3, f1, f0 +/* 802748EC 0027184C C0 23 00 04 */ lfs f1, 4(r3) +/* 802748F0 00271850 C0 03 00 08 */ lfs f0, 8(r3) +/* 802748F4 00271854 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802748F8 00271858 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802748FC 0027185C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80274900 00271860 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80274904 00271864 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80274908 00271868 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8027490C 0027186C 4B DA 6C 29 */ bl Identity__10CAxisAngleFv +/* 80274910 00271870 7C 65 1B 78 */ mr r5, r3 +/* 80274914 00271874 7F E3 FB 78 */ mr r3, r31 +/* 80274918 00271878 38 81 00 20 */ addi r4, r1, 0x20 +/* 8027491C 0027187C 4B EA 7A 7D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80274920 00271880 7F E3 FB 78 */ mr r3, r31 +/* 80274924 00271884 7F 85 E3 78 */ mr r5, r28 +/* 80274928 00271888 38 80 00 02 */ li r4, 2 +/* 8027492C 0027188C 48 01 1A C1 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_80274930: +/* 80274930 00271890 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274934 00271894 C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80274938 00271898 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8027493C 0027189C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80274940 002718A0 48 09 B6 25 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80274944 002718A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80274948 002718A8 40 82 00 7C */ bne lbl_802749C4 +/* 8027494C 002718AC C3 DF 00 E8 */ lfs f30, 0xe8(r31) +/* 80274950 002718B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80274954 002718B4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80274958 002718B8 48 09 FE F9 */ bl AsNormalized__9CVector3fCFv +/* 8027495C 002718BC C0 62 BC 74 */ lfs f3, lbl_805AD994@sda21(r2) +/* 80274960 002718C0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80274964 002718C4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80274968 002718C8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8027496C 002718CC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80274970 002718D0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80274974 002718D4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80274978 002718D8 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8027497C 002718DC EC 3E 00 72 */ fmuls f1, f30, f1 +/* 80274980 002718E0 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80274984 002718E4 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80274988 002718E8 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8027498C 002718EC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80274990 002718F0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80274994 002718F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80274998 002718F8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8027499C 002718FC 4B DA 6B 99 */ bl Identity__10CAxisAngleFv +/* 802749A0 00271900 7C 65 1B 78 */ mr r5, r3 +/* 802749A4 00271904 7F E3 FB 78 */ mr r3, r31 +/* 802749A8 00271908 38 81 00 08 */ addi r4, r1, 8 +/* 802749AC 0027190C 4B EA 79 ED */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802749B0 00271910 7F E3 FB 78 */ mr r3, r31 +/* 802749B4 00271914 4B EA 67 C9 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 802749B8 00271918 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802749BC 0027191C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802749C0 00271920 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) +lbl_802749C4: +/* 802749C4 00271924 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 802749C8 00271928 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 802749CC 0027192C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 802749D0 00271930 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 802749D4 00271934 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 802749D8 00271938 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802749DC 0027193C 7C 08 03 A6 */ mtlr r0 +/* 802749E0 00271940 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802749E4 00271944 4E 80 00 20 */ blr + +.global sub_802749e8 +sub_802749e8: +/* 802749E8 00271948 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802749EC 0027194C 7C 08 02 A6 */ mflr r0 +/* 802749F0 00271950 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802749F4 00271954 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 802749F8 00271958 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 802749FC 0027195C DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 80274A00 00271960 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 80274A04 00271964 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 80274A08 00271968 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 80274A0C 0027196C DB 81 01 80 */ stfd f28, 0x180(r1) +/* 80274A10 00271970 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 80274A14 00271974 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 80274A18 00271978 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 80274A1C 0027197C DB 41 01 60 */ stfd f26, 0x160(r1) +/* 80274A20 00271980 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 +/* 80274A24 00271984 DB 21 01 50 */ stfd f25, 0x150(r1) +/* 80274A28 00271988 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 +/* 80274A2C 0027198C DB 01 01 40 */ stfd f24, 0x140(r1) +/* 80274A30 00271990 F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0 +/* 80274A34 00271994 DA E1 01 30 */ stfd f23, 0x130(r1) +/* 80274A38 00271998 F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0 +/* 80274A3C 0027199C DA C1 01 20 */ stfd f22, 0x120(r1) +/* 80274A40 002719A0 F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0 +/* 80274A44 002719A4 DA A1 01 10 */ stfd f21, 0x110(r1) +/* 80274A48 002719A8 F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0 +/* 80274A4C 002719AC DA 81 01 00 */ stfd f20, 0x100(r1) +/* 80274A50 002719B0 F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0 +/* 80274A54 002719B4 DA 61 00 F0 */ stfd f19, 0xf0(r1) +/* 80274A58 002719B8 F2 61 00 F8 */ psq_st f19, 248(r1), 0, qr0 +/* 80274A5C 002719BC DA 41 00 E0 */ stfd f18, 0xe0(r1) +/* 80274A60 002719C0 F2 41 00 E8 */ psq_st f18, 232(r1), 0, qr0 +/* 80274A64 002719C4 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 80274A68 002719C8 FE 80 08 90 */ fmr f20, f1 +/* 80274A6C 002719CC C0 25 00 08 */ lfs f1, 8(r5) +/* 80274A70 002719D0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80274A74 002719D4 FE A0 10 90 */ fmr f21, f2 +/* 80274A78 002719D8 C0 A5 00 04 */ lfs f5, 4(r5) +/* 80274A7C 002719DC 54 C0 18 38 */ slwi r0, r6, 3 +/* 80274A80 002719E0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 80274A84 002719E4 7C 63 02 14 */ add r3, r3, r0 +/* 80274A88 002719E8 C0 84 00 04 */ lfs f4, 4(r4) +/* 80274A8C 002719EC FE C0 18 90 */ fmr f22, f3 +/* 80274A90 002719F0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80274A94 002719F4 7C 9D 23 78 */ mr r29, r4 +/* 80274A98 002719F8 C0 04 00 00 */ lfs f0, 0(r4) +/* 80274A9C 002719FC EC 85 20 28 */ fsubs f4, f5, f4 +/* 80274AA0 00271A00 83 E3 0F F4 */ lwz r31, 0xff4(r3) +/* 80274AA4 00271A04 83 C3 10 08 */ lwz r30, 0x1008(r3) +/* 80274AA8 00271A08 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80274AAC 00271A0C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274AB0 00271A10 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80274AB4 00271A14 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80274AB8 00271A18 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80274ABC 00271A1C 48 09 FD FD */ bl Magnitude__9CVector3fCFv +/* 80274AC0 00271A20 FE E0 08 90 */ fmr f23, f1 +/* 80274AC4 00271A24 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274AC8 00271A28 C3 C1 00 44 */ lfs f30, 0x44(r1) +/* 80274ACC 00271A2C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80274AD0 00271A30 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 80274AD4 00271A34 38 61 00 44 */ addi r3, r1, 0x44 +/* 80274AD8 00271A38 C3 81 00 4C */ lfs f28, 0x4c(r1) +/* 80274ADC 00271A3C C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) +/* 80274AE0 00271A40 48 09 B4 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80274AE4 00271A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80274AE8 00271A48 40 82 03 00 */ bne lbl_80274DE8 +/* 80274AEC 00271A4C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80274AF0 00271A50 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80274AF4 00271A54 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80274AF8 00271A58 C3 7D 00 00 */ lfs f27, 0(r29) +/* 80274AFC 00271A5C C3 5D 00 04 */ lfs f26, 4(r29) +/* 80274B00 00271A60 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80274B04 00271A64 C3 3D 00 08 */ lfs f25, 8(r29) +/* 80274B08 00271A68 38 61 00 50 */ addi r3, r1, 0x50 +/* 80274B0C 00271A6C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80274B10 00271A70 48 09 F0 01 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80274B14 00271A74 38 61 00 80 */ addi r3, r1, 0x80 +/* 80274B18 00271A78 38 81 00 50 */ addi r4, r1, 0x50 +/* 80274B1C 00271A7C 48 09 E0 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80274B20 00271A80 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80274B24 00271A84 3C 00 43 30 */ lis r0, 0x4330 +/* 80274B28 00271A88 C0 A2 BC 30 */ lfs f5, lbl_805AD950@sda21(r2) +/* 80274B2C 00271A8C 7F E3 FB 78 */ mr r3, r31 +/* 80274B30 00271A90 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80274B34 00271A94 38 80 00 01 */ li r4, 1 +/* 80274B38 00271A98 EC 00 2D FA */ fmadds f0, f0, f23, f5 +/* 80274B3C 00271A9C C8 82 BC 78 */ lfd f4, lbl_805AD998@sda21(r2) +/* 80274B40 00271AA0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80274B44 00271AA4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80274B48 00271AA8 FC 60 00 1E */ fctiwz f3, f0 +/* 80274B4C 00271AAC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80274B50 00271AB0 D8 61 00 B0 */ stfd f3, 0xb0(r1) +/* 80274B54 00271AB4 83 61 00 B4 */ lwz r27, 0xb4(r1) +/* 80274B58 00271AB8 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80274B5C 00271ABC 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80274B60 00271AC0 C8 61 00 B8 */ lfd f3, 0xb8(r1) +/* 80274B64 00271AC4 EC 63 20 28 */ fsubs f3, f3, f4 +/* 80274B68 00271AC8 EC 65 18 24 */ fdivs f3, f5, f3 +/* 80274B6C 00271ACC EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80274B70 00271AD0 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80274B74 00271AD4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80274B78 00271AD8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80274B7C 00271ADC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80274B80 00271AE0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80274B84 00271AE4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274B88 00271AE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274B8C 00271AEC 7D 89 03 A6 */ mtctr r12 +/* 80274B90 00271AF0 4E 80 04 21 */ bctrl +/* 80274B94 00271AF4 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 80274B98 00271AF8 3F 80 43 30 */ lis r28, 0x4330 +/* 80274B9C 00271AFC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274BA0 00271B00 3B 40 00 00 */ li r26, 0 +/* 80274BA4 00271B04 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) +/* 80274BA8 00271B08 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274BAC 00271B0C C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274BB0 00271B10 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274BB4 00271B14 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274BB8 00271B18 EF 01 00 24 */ fdivs f24, f1, f0 +/* 80274BBC 00271B1C 48 00 00 D8 */ b lbl_80274C94 +lbl_80274BC0: +/* 80274BC0 00271B20 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 80274BC4 00271B24 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274BC8 00271B28 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274BCC 00271B2C C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274BD0 00271B30 EE E0 F8 28 */ fsubs f23, f0, f31 +/* 80274BD4 00271B34 EE 77 06 32 */ fmuls f19, f23, f24 +/* 80274BD8 00271B38 EC 37 B0 2A */ fadds f1, f23, f22 +/* 80274BDC 00271B3C 48 0A 01 69 */ bl FastCosR__5CMathFf +/* 80274BE0 00271B40 EC 13 00 72 */ fmuls f0, f19, f1 +/* 80274BE4 00271B44 FC 20 B8 90 */ fmr f1, f23 +/* 80274BE8 00271B48 EE F4 00 32 */ fmuls f23, f20, f0 +/* 80274BEC 00271B4C 48 0A 02 05 */ bl FastSinR__5CMathFf +/* 80274BF0 00271B50 EC 13 00 72 */ fmuls f0, f19, f1 +/* 80274BF4 00271B54 2C 1A 00 00 */ cmpwi r26, 0 +/* 80274BF8 00271B58 EC 35 00 32 */ fmuls f1, f21, f0 +/* 80274BFC 00271B5C 40 81 00 2C */ ble lbl_80274C28 +/* 80274C00 00271B60 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274C04 00271B64 38 61 00 20 */ addi r3, r1, 0x20 +/* 80274C08 00271B68 D2 E1 00 2C */ stfs f23, 0x2c(r1) +/* 80274C0C 00271B6C 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274C10 00271B70 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80274C14 00271B74 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80274C18 00271B78 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80274C1C 00271B7C 48 09 DE CD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80274C20 00271B80 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80274C24 00271B84 48 00 00 0C */ b lbl_80274C30 +lbl_80274C28: +/* 80274C28 00271B88 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274C2C 00271B8C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +lbl_80274C30: +/* 80274C30 00271B90 C0 45 00 04 */ lfs f2, 4(r5) +/* 80274C34 00271B94 7F E3 FB 78 */ mr r3, r31 +/* 80274C38 00271B98 C0 25 00 08 */ lfs f1, 8(r5) +/* 80274C3C 00271B9C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80274C40 00271BA0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80274C44 00271BA4 EC 5A 10 2A */ fadds f2, f26, f2 +/* 80274C48 00271BA8 EC 39 08 2A */ fadds f1, f25, f1 +/* 80274C4C 00271BAC EC 1B 00 2A */ fadds f0, f27, f0 +/* 80274C50 00271BB0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80274C54 00271BB4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80274C58 00271BB8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80274C5C 00271BBC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274C60 00271BC0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80274C64 00271BC4 7D 89 03 A6 */ mtctr r12 +/* 80274C68 00271BC8 4E 80 04 21 */ bctrl +/* 80274C6C 00271BCC 7F E3 FB 78 */ mr r3, r31 +/* 80274C70 00271BD0 38 80 00 01 */ li r4, 1 +/* 80274C74 00271BD4 48 0A 7C 4D */ bl ForceParticleCreation__11CElementGenFi +/* 80274C78 00271BD8 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80274C7C 00271BDC 3B 5A 00 01 */ addi r26, r26, 1 +/* 80274C80 00271BE0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80274C84 00271BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80274C88 00271BE8 EF 7B 10 2A */ fadds f27, f27, f2 +/* 80274C8C 00271BEC EF 5A 08 2A */ fadds f26, f26, f1 +/* 80274C90 00271BF0 EF 39 00 2A */ fadds f25, f25, f0 +lbl_80274C94: +/* 80274C94 00271BF4 7C 1A D8 00 */ cmpw r26, r27 +/* 80274C98 00271BF8 41 80 FF 28 */ blt lbl_80274BC0 +/* 80274C9C 00271BFC 7F E3 FB 78 */ mr r3, r31 +/* 80274CA0 00271C00 38 80 00 00 */ li r4, 0 +/* 80274CA4 00271C04 81 9F 00 00 */ lwz r12, 0(r31) +/* 80274CA8 00271C08 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80274CAC 00271C0C 7D 89 03 A6 */ mtctr r12 +/* 80274CB0 00271C10 4E 80 04 21 */ bctrl +/* 80274CB4 00271C14 80 7E 01 60 */ lwz r3, 0x160(r30) +/* 80274CB8 00271C18 3F 80 43 30 */ lis r28, 0x4330 +/* 80274CBC 00271C1C 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274CC0 00271C20 3B E0 00 00 */ li r31, 0 +/* 80274CC4 00271C24 38 63 FF FF */ addi r3, r3, -1 +/* 80274CC8 00271C28 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) +/* 80274CCC 00271C2C 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80274CD0 00271C30 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 80274CD4 00271C34 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274CD8 00271C38 54 60 38 30 */ slwi r0, r3, 7 +/* 80274CDC 00271C3C 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 80274CE0 00271C40 3B 40 00 00 */ li r26, 0 +/* 80274CE4 00271C44 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274CE8 00271C48 7C 63 02 14 */ add r3, r3, r0 +/* 80274CEC 00271C4C C3 3D 00 00 */ lfs f25, 0(r29) +/* 80274CF0 00271C50 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274CF4 00271C54 C3 5D 00 04 */ lfs f26, 4(r29) +/* 80274CF8 00271C58 C3 7D 00 08 */ lfs f27, 8(r29) +/* 80274CFC 00271C5C C3 03 00 30 */ lfs f24, 0x30(r3) +/* 80274D00 00271C60 EE E1 00 24 */ fdivs f23, f1, f0 +/* 80274D04 00271C64 EF DE 05 F2 */ fmuls f30, f30, f23 +/* 80274D08 00271C68 EF BD 05 F2 */ fmuls f29, f29, f23 +/* 80274D0C 00271C6C EF 9C 05 F2 */ fmuls f28, f28, f23 +/* 80274D10 00271C70 48 00 00 CC */ b lbl_80274DDC +lbl_80274D14: +/* 80274D14 00271C74 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 80274D18 00271C78 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 80274D1C 00271C7C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80274D20 00271C80 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 80274D24 00271C84 EE 60 F8 28 */ fsubs f19, f0, f31 +/* 80274D28 00271C88 EE 53 05 F2 */ fmuls f18, f19, f23 +/* 80274D2C 00271C8C EC 33 B0 2A */ fadds f1, f19, f22 +/* 80274D30 00271C90 48 0A 00 15 */ bl FastCosR__5CMathFf +/* 80274D34 00271C94 EC 12 00 72 */ fmuls f0, f18, f1 +/* 80274D38 00271C98 FC 20 98 90 */ fmr f1, f19 +/* 80274D3C 00271C9C EE 74 00 32 */ fmuls f19, f20, f0 +/* 80274D40 00271CA0 48 0A 00 B1 */ bl FastSinR__5CMathFf +/* 80274D44 00271CA4 EC 12 00 72 */ fmuls f0, f18, f1 +/* 80274D48 00271CA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 80274D4C 00271CAC EC 35 00 32 */ fmuls f1, f21, f0 +/* 80274D50 00271CB0 40 81 00 2C */ ble lbl_80274D7C +/* 80274D54 00271CB4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274D58 00271CB8 38 61 00 08 */ addi r3, r1, 8 +/* 80274D5C 00271CBC D2 61 00 14 */ stfs f19, 0x14(r1) +/* 80274D60 00271CC0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274D64 00271CC4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80274D68 00271CC8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80274D6C 00271CCC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80274D70 00271CD0 48 09 DD 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80274D74 00271CD4 38 61 00 08 */ addi r3, r1, 8 +/* 80274D78 00271CD8 48 00 00 0C */ b lbl_80274D84 +lbl_80274D7C: +/* 80274D7C 00271CDC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80274D80 00271CE0 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_80274D84: +/* 80274D84 00271CE4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80274D88 00271CE8 38 81 00 80 */ addi r4, r1, 0x80 +/* 80274D8C 00271CEC C0 43 00 04 */ lfs f2, 4(r3) +/* 80274D90 00271CF0 80 1E 01 68 */ lwz r0, 0x168(r30) +/* 80274D94 00271CF4 EC 19 00 2A */ fadds f0, f25, f0 +/* 80274D98 00271CF8 C0 23 00 08 */ lfs f1, 8(r3) +/* 80274D9C 00271CFC EC 5A 10 2A */ fadds f2, f26, f2 +/* 80274DA0 00271D00 7F 60 D2 14 */ add r27, r0, r26 +/* 80274DA4 00271D04 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 80274DA8 00271D08 EC 1B 08 2A */ fadds f0, f27, f1 +/* 80274DAC 00271D0C 38 7B 00 38 */ addi r3, r27, 0x38 +/* 80274DB0 00271D10 D0 5B 00 10 */ stfs f2, 0x10(r27) +/* 80274DB4 00271D14 D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 80274DB8 00271D18 48 09 DD 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80274DBC 00271D1C C0 1B 00 30 */ lfs f0, 0x30(r27) +/* 80274DC0 00271D20 EF 39 F0 2A */ fadds f25, f25, f30 +/* 80274DC4 00271D24 EF 5A E8 2A */ fadds f26, f26, f29 +/* 80274DC8 00271D28 3B FF 00 01 */ addi r31, r31, 1 +/* 80274DCC 00271D2C D3 1B 00 30 */ stfs f24, 0x30(r27) +/* 80274DD0 00271D30 FF 00 00 90 */ fmr f24, f0 +/* 80274DD4 00271D34 EF 7B E0 2A */ fadds f27, f27, f28 +/* 80274DD8 00271D38 3B 5A 00 80 */ addi r26, r26, 0x80 +lbl_80274DDC: +/* 80274DDC 00271D3C 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 80274DE0 00271D40 7C 1F 00 00 */ cmpw r31, r0 +/* 80274DE4 00271D44 41 80 FF 30 */ blt lbl_80274D14 +lbl_80274DE8: +/* 80274DE8 00271D48 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 80274DEC 00271D4C CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 80274DF0 00271D50 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 80274DF4 00271D54 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 80274DF8 00271D58 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 +/* 80274DFC 00271D5C CB A1 01 90 */ lfd f29, 0x190(r1) +/* 80274E00 00271D60 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 +/* 80274E04 00271D64 CB 81 01 80 */ lfd f28, 0x180(r1) +/* 80274E08 00271D68 E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 +/* 80274E0C 00271D6C CB 61 01 70 */ lfd f27, 0x170(r1) +/* 80274E10 00271D70 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 +/* 80274E14 00271D74 CB 41 01 60 */ lfd f26, 0x160(r1) +/* 80274E18 00271D78 E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 +/* 80274E1C 00271D7C CB 21 01 50 */ lfd f25, 0x150(r1) +/* 80274E20 00271D80 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0 +/* 80274E24 00271D84 CB 01 01 40 */ lfd f24, 0x140(r1) +/* 80274E28 00271D88 E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0 +/* 80274E2C 00271D8C CA E1 01 30 */ lfd f23, 0x130(r1) +/* 80274E30 00271D90 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0 +/* 80274E34 00271D94 CA C1 01 20 */ lfd f22, 0x120(r1) +/* 80274E38 00271D98 E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0 +/* 80274E3C 00271D9C CA A1 01 10 */ lfd f21, 0x110(r1) +/* 80274E40 00271DA0 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0 +/* 80274E44 00271DA4 CA 81 01 00 */ lfd f20, 0x100(r1) +/* 80274E48 00271DA8 E2 61 00 F8 */ psq_l f19, 248(r1), 0, qr0 +/* 80274E4C 00271DAC CA 61 00 F0 */ lfd f19, 0xf0(r1) +/* 80274E50 00271DB0 E2 41 00 E8 */ psq_l f18, 232(r1), 0, qr0 +/* 80274E54 00271DB4 CA 41 00 E0 */ lfd f18, 0xe0(r1) +/* 80274E58 00271DB8 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 80274E5C 00271DBC 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80274E60 00271DC0 7C 08 03 A6 */ mtlr r0 +/* 80274E64 00271DC4 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 80274E68 00271DC8 4E 80 00 20 */ blr + +.global sub_80274e6c +sub_80274e6c: +/* 80274E6C 00271DCC 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 80274E70 00271DD0 7C 08 02 A6 */ mflr r0 +/* 80274E74 00271DD4 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80274E78 00271DD8 DB E1 01 D0 */ stfd f31, 0x1d0(r1) +/* 80274E7C 00271DDC F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 +/* 80274E80 00271DE0 DB C1 01 C0 */ stfd f30, 0x1c0(r1) +/* 80274E84 00271DE4 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 +/* 80274E88 00271DE8 DB A1 01 B0 */ stfd f29, 0x1b0(r1) +/* 80274E8C 00271DEC F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 +/* 80274E90 00271DF0 DB 81 01 A0 */ stfd f28, 0x1a0(r1) +/* 80274E94 00271DF4 F3 81 01 A8 */ psq_st f28, 424(r1), 0, qr0 +/* 80274E98 00271DF8 DB 61 01 90 */ stfd f27, 0x190(r1) +/* 80274E9C 00271DFC F3 61 01 98 */ psq_st f27, 408(r1), 0, qr0 +/* 80274EA0 00271E00 DB 41 01 80 */ stfd f26, 0x180(r1) +/* 80274EA4 00271E04 F3 41 01 88 */ psq_st f26, 392(r1), 0, qr0 +/* 80274EA8 00271E08 DB 21 01 70 */ stfd f25, 0x170(r1) +/* 80274EAC 00271E0C F3 21 01 78 */ psq_st f25, 376(r1), 0, qr0 +/* 80274EB0 00271E10 DB 01 01 60 */ stfd f24, 0x160(r1) +/* 80274EB4 00271E14 F3 01 01 68 */ psq_st f24, 360(r1), 0, qr0 +/* 80274EB8 00271E18 DA E1 01 50 */ stfd f23, 0x150(r1) +/* 80274EBC 00271E1C F2 E1 01 58 */ psq_st f23, 344(r1), 0, qr0 +/* 80274EC0 00271E20 BE A1 01 24 */ stmw r21, 0x124(r1) +/* 80274EC4 00271E24 7C 77 1B 78 */ mr r23, r3 +/* 80274EC8 00271E28 FF E0 08 90 */ fmr f31, f1 +/* 80274ECC 00271E2C C3 02 BC 08 */ lfs f24, lbl_805AD928@sda21(r2) +/* 80274ED0 00271E30 7C 98 23 78 */ mr r24, r4 +/* 80274ED4 00271E34 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80274ED8 00271E38 4B EC 51 F5 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80274EDC 00271E3C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80274EE0 00271E40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80274EE4 00271E44 40 81 00 30 */ ble lbl_80274F14 +/* 80274EE8 00271E48 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80274EEC 00271E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80274EF0 00271E50 41 82 00 24 */ beq lbl_80274F14 +/* 80274EF4 00271E54 7E E3 BB 78 */ mr r3, r23 +/* 80274EF8 00271E58 7F 04 C3 78 */ mr r4, r24 +/* 80274EFC 00271E5C 38 A0 00 00 */ li r5, 0 +/* 80274F00 00271E60 48 00 06 AD */ bl sub_802755ac +/* 80274F04 00271E64 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80274F08 00271E68 38 60 00 01 */ li r3, 1 +/* 80274F0C 00271E6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80274F10 00271E70 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80274F14: +/* 80274F14 00271E74 C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) +/* 80274F18 00271E78 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80274F1C 00271E7C C3 C2 BC 68 */ lfs f30, lbl_805AD988@sda21(r2) +/* 80274F20 00271E80 3B D7 10 30 */ addi r30, r23, 0x1030 +/* 80274F24 00271E84 EF 20 07 F2 */ fmuls f25, f0, f31 +/* 80274F28 00271E88 3B B7 10 3C */ addi r29, r23, 0x103c +/* 80274F2C 00271E8C 3B 77 10 04 */ addi r27, r23, 0x1004 +/* 80274F30 00271E90 3B 57 0F F0 */ addi r26, r23, 0xff0 +/* 80274F34 00271E94 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 80274F38 00271E98 3B 20 00 00 */ li r25, 0 +/* 80274F3C 00271E9C 3B 82 BB DC */ addi r28, r2, lbl_805AD8FC@sda21 +lbl_80274F40: +/* 80274F40 00271EA0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80274F44 00271EA4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80274F48 00271EA8 80 9C 00 00 */ lwz r4, 0(r28) +/* 80274F4C 00271EAC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80274F50 00271EB0 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80274F54 00271EB4 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80274F58 00271EB8 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80274F5C 00271EBC D0 1D 00 00 */ stfs f0, 0(r29) +/* 80274F60 00271EC0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80274F64 00271EC4 EE E0 F0 24 */ fdivs f23, f0, f30 +/* 80274F68 00271EC8 4B D8 FD 51 */ bl string_l__4rstlFPCc +/* 80274F6C 00271ECC 7E E4 BB 78 */ mr r4, r23 +/* 80274F70 00271ED0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80274F74 00271ED4 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80274F78 00271ED8 4B E0 3A 01 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80274F7C 00271EDC C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 80274F80 00271EE0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80274F84 00271EE4 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 80274F88 00271EE8 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 80274F8C 00271EEC D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 80274F90 00271EF0 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80274F94 00271EF4 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80274F98 00271EF8 48 0C 8B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80274F9C 00271EFC 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80274FA0 00271F00 38 61 00 64 */ addi r3, r1, 0x64 +/* 80274FA4 00271F04 80 D8 08 4C */ lwz r6, 0x84c(r24) +/* 80274FA8 00271F08 38 81 00 58 */ addi r4, r1, 0x58 +/* 80274FAC 00271F0C C3 45 02 7C */ lfs f26, 0x27c(r5) +/* 80274FB0 00271F10 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80274FB4 00271F14 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80274FB8 00271F18 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80274FBC 00271F1C EC BA 00 B2 */ fmuls f5, f26, f2 +/* 80274FC0 00271F20 C0 C6 00 40 */ lfs f6, 0x40(r6) +/* 80274FC4 00271F24 EC 5A 00 72 */ fmuls f2, f26, f1 +/* 80274FC8 00271F28 C0 86 00 50 */ lfs f4, 0x50(r6) +/* 80274FCC 00271F2C EC 3A 00 32 */ fmuls f1, f26, f0 +/* 80274FD0 00271F30 C0 66 00 60 */ lfs f3, 0x60(r6) +/* 80274FD4 00271F34 EF 66 28 2A */ fadds f27, f6, f5 +/* 80274FD8 00271F38 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80274FDC 00271F3C EF 84 10 2A */ fadds f28, f4, f2 +/* 80274FE0 00271F40 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80274FE4 00271F44 EF A3 08 2A */ fadds f29, f3, f1 +/* 80274FE8 00271F48 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 80274FEC 00271F4C EC 42 E0 28 */ fsubs f2, f2, f28 +/* 80274FF0 00271F50 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80274FF4 00271F54 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 80274FF8 00271F58 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80274FFC 00271F5C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80275000 00271F60 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80275004 00271F64 48 09 F8 4D */ bl AsNormalized__9CVector3fCFv +/* 80275008 00271F68 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8027500C 00271F6C C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80275010 00271F70 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80275014 00271F74 EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 80275018 00271F78 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 8027501C 00271F7C 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275020 00271F80 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 80275024 00271F84 EF 5B 10 2A */ fadds f26, f27, f2 +/* 80275028 00271F88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027502C 00271F8C EF 9C 08 2A */ fadds f28, f28, f1 +/* 80275030 00271F90 EF 7D 00 2A */ fadds f27, f29, f0 +/* 80275034 00271F94 41 82 01 80 */ beq lbl_802751B4 +/* 80275038 00271F98 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 8027503C 00271F9C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80275040 00271FA0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275044 00271FA4 38 6D 98 A4 */ addi r3, r13, lbl_805A8464@sda21 +/* 80275048 00271FA8 38 AD 98 A8 */ addi r5, r13, lbl_805A8468@sda21 +/* 8027504C 00271FAC EC 01 05 F8 */ fmsubs f0, f1, f23, f0 +/* 80275050 00271FB0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80275054 00271FB4 4B D9 72 61 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275058 00271FB8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 8027505C 00271FBC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80275060 00271FC0 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80275064 00271FC4 38 6D 98 AC */ addi r3, r13, lbl_805A846C@sda21 +/* 80275068 00271FC8 EC 00 B8 2A */ fadds f0, f0, f23 +/* 8027506C 00271FCC 38 AD 98 B0 */ addi r5, r13, lbl_805A8470@sda21 +/* 80275070 00271FD0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80275074 00271FD4 4B D9 72 41 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275078 00271FD8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027507C 00271FDC 7F 26 CB 78 */ mr r6, r25 +/* 80275080 00271FE0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 80275084 00271FE4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275088 00271FE8 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8027508C 00271FEC EC A0 E8 28 */ fsubs f5, f0, f29 +/* 80275090 00271FF0 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 80275094 00271FF4 EC 62 07 72 */ fmuls f3, f2, f29 +/* 80275098 00271FF8 EC 41 07 72 */ fmuls f2, f1, f29 +/* 8027509C 00271FFC C2 E3 00 00 */ lfs f23, 0(r3) +/* 802750A0 00272000 EC 00 07 72 */ fmuls f0, f0, f29 +/* 802750A4 00272004 EC 9C 19 7A */ fmadds f4, f28, f5, f3 +/* 802750A8 00272008 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 802750AC 0027200C EC 7B 11 7A */ fmadds f3, f27, f5, f2 +/* 802750B0 00272010 EC 5A 01 7A */ fmadds f2, f26, f5, f0 +/* 802750B4 00272014 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 802750B8 00272018 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802750BC 0027201C EC 21 05 F2 */ fmuls f1, f1, f23 +/* 802750C0 00272020 7E E3 BB 78 */ mr r3, r23 +/* 802750C4 00272024 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802750C8 00272028 EC 40 05 F2 */ fmuls f2, f0, f23 +/* 802750CC 0027202C 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802750D0 00272030 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802750D4 00272034 C0 7D 00 00 */ lfs f3, 0(r29) +/* 802750D8 00272038 4B FF F9 11 */ bl sub_802749e8 +/* 802750DC 0027203C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802750E0 00272040 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802750E4 00272044 4C 40 13 82 */ cror 2, 0, 2 +/* 802750E8 00272048 40 82 00 98 */ bne lbl_80275180 +/* 802750EC 0027204C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 802750F0 00272050 38 60 00 00 */ li r3, 0 +/* 802750F4 00272054 80 AD 98 B8 */ lwz r5, lbl_805A8478@sda21(r13) +/* 802750F8 00272058 38 80 00 01 */ li r4, 1 +/* 802750FC 0027205C EF 18 00 2A */ fadds f24, f24, f0 +/* 80275100 00272060 48 11 4D F5 */ bl __shl2i +/* 80275104 00272064 80 AD 98 BC */ lwz r5, lbl_805A847C@sda21(r13) +/* 80275108 00272068 7C 95 23 78 */ mr r21, r4 +/* 8027510C 0027206C 7C 76 1B 78 */ mr r22, r3 +/* 80275110 00272070 38 60 00 00 */ li r3, 0 +/* 80275114 00272074 38 80 00 01 */ li r4, 1 +/* 80275118 00272078 48 11 4D DD */ bl __shl2i +/* 8027511C 0027207C 80 AD 98 B4 */ lwz r5, lbl_805A8474@sda21(r13) +/* 80275120 00272080 7E B5 23 78 */ or r21, r21, r4 +/* 80275124 00272084 7E D6 1B 78 */ or r22, r22, r3 +/* 80275128 00272088 38 60 00 00 */ li r3, 0 +/* 8027512C 0027208C 38 80 00 01 */ li r4, 1 +/* 80275130 00272090 48 11 4D C5 */ bl __shl2i +/* 80275134 00272094 38 00 00 03 */ li r0, 3 +/* 80275138 00272098 90 81 00 AC */ stw r4, 0xac(r1) +/* 8027513C 0027209C 7E E7 BB 78 */ mr r7, r23 +/* 80275140 002720A0 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275144 002720A4 90 61 00 A8 */ stw r3, 0xa8(r1) +/* 80275148 002720A8 7F 03 C3 78 */ mr r3, r24 +/* 8027514C 002720AC 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80275150 002720B0 38 C1 00 A8 */ addi r6, r1, 0xa8 +/* 80275154 002720B4 92 A1 00 B4 */ stw r21, 0xb4(r1) +/* 80275158 002720B8 92 C1 00 B0 */ stw r22, 0xb0(r1) +/* 8027515C 002720BC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80275160 002720C0 4B DD 7C DD */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 80275164 002720C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275168 002720C8 40 82 00 30 */ bne lbl_80275198 +/* 8027516C 002720CC 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275170 002720D0 38 60 00 01 */ li r3, 1 +/* 80275174 002720D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80275178 002720D8 98 17 10 54 */ stb r0, 0x1054(r23) +/* 8027517C 002720DC 48 00 00 1C */ b lbl_80275198 +lbl_80275180: +/* 80275180 002720E0 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80275184 002720E4 4C 40 13 82 */ cror 2, 0, 2 +/* 80275188 002720E8 40 82 00 10 */ bne lbl_80275198 +/* 8027518C 002720EC C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275190 002720F0 EC 00 B8 28 */ fsubs f0, f0, f23 +/* 80275194 002720F4 EF 18 00 2A */ fadds f24, f24, f0 +lbl_80275198: +/* 80275198 002720F8 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 8027519C 002720FC 38 81 00 8C */ addi r4, r1, 0x8c +/* 802751A0 00272100 81 83 00 00 */ lwz r12, 0(r3) +/* 802751A4 00272104 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802751A8 00272108 7D 89 03 A6 */ mtctr r12 +/* 802751AC 0027210C 4E 80 04 21 */ bctrl +/* 802751B0 00272110 48 00 00 C0 */ b lbl_80275270 +lbl_802751B4: +/* 802751B4 00272114 48 00 03 F1 */ bl sub_802755a4 +/* 802751B8 00272118 2C 03 00 00 */ cmpwi r3, 0 +/* 802751BC 0027211C 41 82 00 B4 */ beq lbl_80275270 +/* 802751C0 00272120 C0 22 BC 84 */ lfs f1, lbl_805AD9A4@sda21(r2) +/* 802751C4 00272124 38 81 00 0C */ addi r4, r1, 0xc +/* 802751C8 00272128 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 802751CC 0027212C 38 6D 98 C0 */ addi r3, r13, lbl_805A8480@sda21 +/* 802751D0 00272130 38 AD 98 C4 */ addi r5, r13, lbl_805A8484@sda21 +/* 802751D4 00272134 EC 01 05 F8 */ fmsubs f0, f1, f23, f0 +/* 802751D8 00272138 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802751DC 0027213C 4B D9 70 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802751E0 00272140 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 802751E4 00272144 38 81 00 08 */ addi r4, r1, 8 +/* 802751E8 00272148 C3 A3 00 00 */ lfs f29, 0(r3) +/* 802751EC 0027214C 38 6D 98 C8 */ addi r3, r13, lbl_805A8488@sda21 +/* 802751F0 00272150 EC 00 B8 2A */ fadds f0, f0, f23 +/* 802751F4 00272154 38 AD 98 CC */ addi r5, r13, lbl_805A848C@sda21 +/* 802751F8 00272158 D0 01 00 08 */ stfs f0, 8(r1) +/* 802751FC 0027215C 4B D9 70 B9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80275200 00272160 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80275204 00272164 EC BC 07 72 */ fmuls f5, f28, f29 +/* 80275208 00272168 C0 23 00 00 */ lfs f1, 0(r3) +/* 8027520C 0027216C EC 7B 07 72 */ fmuls f3, f27, f29 +/* 80275210 00272170 EC E0 E8 28 */ fsubs f7, f0, f29 +/* 80275214 00272174 C0 C1 00 9C */ lfs f6, 0x9c(r1) +/* 80275218 00272178 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 8027521C 0027217C EC 1A 07 72 */ fmuls f0, f26, f29 +/* 80275220 00272180 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 80275224 00272184 EC A6 29 FA */ fmadds f5, f6, f7, f5 +/* 80275228 00272188 EC 64 19 FA */ fmadds f3, f4, f7, f3 +/* 8027522C 0027218C 7E E3 BB 78 */ mr r3, r23 +/* 80275230 00272190 EC 02 01 FA */ fmadds f0, f2, f7, f0 +/* 80275234 00272194 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 80275238 00272198 FC 40 08 90 */ fmr f2, f1 +/* 8027523C 0027219C 7F 26 CB 78 */ mr r6, r25 +/* 80275240 002721A0 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80275244 002721A4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80275248 002721A8 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8027524C 002721AC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80275250 002721B0 C0 7D 00 00 */ lfs f3, 0(r29) +/* 80275254 002721B4 4B FF F7 95 */ bl sub_802749e8 +/* 80275258 002721B8 80 7B 00 04 */ lwz r3, 4(r27) +/* 8027525C 002721BC FC 20 F8 90 */ fmr f1, f31 +/* 80275260 002721C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80275264 002721C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275268 002721C8 7D 89 03 A6 */ mtctr r12 +/* 8027526C 002721CC 4E 80 04 21 */ bctrl +lbl_80275270: +/* 80275270 002721D0 80 7A 00 04 */ lwz r3, 4(r26) +/* 80275274 002721D4 FC 20 F8 90 */ fmr f1, f31 +/* 80275278 002721D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027527C 002721DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275280 002721E0 7D 89 03 A6 */ mtctr r12 +/* 80275284 002721E4 4E 80 04 21 */ bctrl +/* 80275288 002721E8 3B 39 00 01 */ addi r25, r25, 1 +/* 8027528C 002721EC 3B BD 00 04 */ addi r29, r29, 4 +/* 80275290 002721F0 2C 19 00 02 */ cmpwi r25, 2 +/* 80275294 002721F4 3B 9C 00 04 */ addi r28, r28, 4 +/* 80275298 002721F8 3B 7B 00 08 */ addi r27, r27, 8 +/* 8027529C 002721FC 3B 5A 00 08 */ addi r26, r26, 8 +/* 802752A0 00272200 3B DE 00 04 */ addi r30, r30, 4 +/* 802752A4 00272204 41 80 FC 9C */ blt lbl_80274F40 +/* 802752A8 00272208 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 802752AC 0027220C FC 20 F8 90 */ fmr f1, f31 +/* 802752B0 00272210 81 83 00 00 */ lwz r12, 0(r3) +/* 802752B4 00272214 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802752B8 00272218 7D 89 03 A6 */ mtctr r12 +/* 802752BC 0027221C 4E 80 04 21 */ bctrl +/* 802752C0 00272220 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) +/* 802752C4 00272224 C0 02 BC 88 */ lfs f0, lbl_805AD9A8@sda21(r2) +/* 802752C8 00272228 EF 21 06 32 */ fmuls f25, f1, f24 +/* 802752CC 0027222C FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 802752D0 00272230 40 81 00 38 */ ble lbl_80275308 +/* 802752D4 00272234 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 802752D8 00272238 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802752DC 0027223C 41 82 00 2C */ beq lbl_80275308 +/* 802752E0 00272240 80 77 10 28 */ lwz r3, 0x1028(r23) +/* 802752E4 00272244 38 80 00 01 */ li r4, 1 +/* 802752E8 00272248 81 83 00 00 */ lwz r12, 0(r3) +/* 802752EC 0027224C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802752F0 00272250 7D 89 03 A6 */ mtctr r12 +/* 802752F4 00272254 4E 80 04 21 */ bctrl +/* 802752F8 00272258 7E E3 BB 78 */ mr r3, r23 +/* 802752FC 0027225C 7F 04 C3 78 */ mr r4, r24 +/* 80275300 00272260 38 A0 00 01 */ li r5, 1 +/* 80275304 00272264 4B FF F0 DD */ bl sub_802743e0 +lbl_80275308: +/* 80275308 00272268 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 8027530C 0027226C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275310 00272270 EC 38 08 28 */ fsubs f1, f24, f1 +/* 80275314 00272274 FC 20 0A 10 */ fabs f1, f1 +/* 80275318 00272278 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027531C 0027227C 41 80 02 2C */ blt lbl_80275548 +/* 80275320 00272280 80 78 08 4C */ lwz r3, 0x84c(r24) +/* 80275324 00272284 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80275328 00272288 2C 00 00 01 */ cmpwi r0, 1 +/* 8027532C 0027228C 40 82 00 48 */ bne lbl_80275374 +/* 80275330 00272290 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80275334 00272294 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 80275338 00272298 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027533C 0027229C 41 82 00 14 */ beq lbl_80275350 +/* 80275340 002722A0 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275344 002722A4 38 60 00 01 */ li r3, 1 +/* 80275348 002722A8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8027534C 002722AC 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80275350: +/* 80275350 002722B0 80 78 08 4C */ lwz r3, 0x84c(r24) +/* 80275354 002722B4 4B D9 B9 05 */ bl GetAttachedActorStruggle__7CPlayerCFv +/* 80275358 002722B8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027535C 002722BC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80275360 002722C0 40 82 00 14 */ bne lbl_80275374 +/* 80275364 002722C4 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275368 002722C8 38 60 00 01 */ li r3, 1 +/* 8027536C 002722CC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80275370 002722D0 98 17 10 54 */ stb r0, 0x1054(r23) +lbl_80275374: +/* 80275374 002722D4 83 38 08 4C */ lwz r25, 0x84c(r24) +/* 80275378 002722D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027537C 002722DC 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 80275380 002722E0 4B D8 F9 39 */ bl string_l__4rstlFPCc +/* 80275384 002722E4 7E E4 BB 78 */ mr r4, r23 +/* 80275388 002722E8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8027538C 002722EC 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80275390 002722F0 4B E0 35 E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80275394 002722F4 C3 61 00 EC */ lfs f27, 0xec(r1) +/* 80275398 002722F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027539C 002722FC C3 41 00 DC */ lfs f26, 0xdc(r1) +/* 802753A0 00272300 C2 E1 00 CC */ lfs f23, 0xcc(r1) +/* 802753A4 00272304 48 0C 87 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802753A8 00272308 C0 59 00 50 */ lfs f2, 0x50(r25) +/* 802753AC 0027230C 38 61 00 3C */ addi r3, r1, 0x3c +/* 802753B0 00272310 C0 39 00 60 */ lfs f1, 0x60(r25) +/* 802753B4 00272314 38 81 00 30 */ addi r4, r1, 0x30 +/* 802753B8 00272318 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 802753BC 0027231C EC 5A 10 28 */ fsubs f2, f26, f2 +/* 802753C0 00272320 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802753C4 00272324 EC 17 00 28 */ fsubs f0, f23, f0 +/* 802753C8 00272328 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802753CC 0027232C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802753D0 00272330 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802753D4 00272334 48 09 F4 7D */ bl AsNormalized__9CVector3fCFv +/* 802753D8 00272338 80 19 02 F8 */ lwz r0, 0x2f8(r25) +/* 802753DC 0027233C C3 61 00 3C */ lfs f27, 0x3c(r1) +/* 802753E0 00272340 2C 00 00 01 */ cmpwi r0, 1 +/* 802753E4 00272344 C3 81 00 40 */ lfs f28, 0x40(r1) +/* 802753E8 00272348 C3 A1 00 44 */ lfs f29, 0x44(r1) +/* 802753EC 0027234C 40 82 00 0C */ bne lbl_802753F8 +/* 802753F0 00272350 C3 42 BC 90 */ lfs f26, lbl_805AD9B0@sda21(r2) +/* 802753F4 00272354 48 00 00 1C */ b lbl_80275410 +lbl_802753F8: +/* 802753F8 00272358 80 19 03 04 */ lwz r0, 0x304(r25) +/* 802753FC 0027235C 2C 00 00 00 */ cmpwi r0, 0 +/* 80275400 00272360 40 82 00 0C */ bne lbl_8027540C +/* 80275404 00272364 C3 42 BC 94 */ lfs f26, lbl_805AD9B4@sda21(r2) +/* 80275408 00272368 48 00 00 08 */ b lbl_80275410 +lbl_8027540C: +/* 8027540C 0027236C C3 42 BC 98 */ lfs f26, lbl_805AD9B8@sda21(r2) +lbl_80275410: +/* 80275410 00272370 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275414 00272374 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80275418 00272378 41 82 00 10 */ beq lbl_80275428 +/* 8027541C 0027237C C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) +/* 80275420 00272380 FC 18 00 40 */ fcmpo cr0, f24, f0 +/* 80275424 00272384 41 81 00 14 */ bgt lbl_80275438 +lbl_80275428: +/* 80275428 00272388 C0 37 10 48 */ lfs f1, 0x1048(r23) +/* 8027542C 0027238C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80275430 00272390 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275434 00272394 40 81 00 AC */ ble lbl_802754E0 +lbl_80275438: +/* 80275438 00272398 28 00 00 00 */ cmplwi r0, 0 +/* 8027543C 0027239C C2 F9 00 E8 */ lfs f23, 0xe8(r25) +/* 80275440 002723A0 C3 02 96 A0 */ lfs f24, lbl_805AB3C0@sda21(r2) +/* 80275444 002723A4 41 82 00 28 */ beq lbl_8027546C +/* 80275448 002723A8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027544C 002723AC 38 60 00 00 */ li r3, 0 +/* 80275450 002723B0 88 17 10 54 */ lbz r0, 0x1054(r23) +/* 80275454 002723B4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80275458 002723B8 EC 20 C0 24 */ fdivs f1, f0, f24 +/* 8027545C 002723BC 98 17 10 54 */ stb r0, 0x1054(r23) +/* 80275460 002723C0 48 0A 00 A1 */ bl SqrtF__5CMathFf +/* 80275464 002723C4 D0 37 10 48 */ stfs f1, 0x1048(r23) +/* 80275468 002723C8 48 00 00 10 */ b lbl_80275478 +lbl_8027546C: +/* 8027546C 002723CC C0 17 10 48 */ lfs f0, 0x1048(r23) +/* 80275470 002723D0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80275474 002723D4 D0 17 10 48 */ stfs f0, 0x1048(r23) +lbl_80275478: +/* 80275478 002723D8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027547C 002723DC EC 20 06 32 */ fmuls f1, f0, f24 +/* 80275480 002723E0 48 0A 00 81 */ bl SqrtF__5CMathFf +/* 80275484 002723E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80275488 002723E8 EC 77 00 72 */ fmuls f3, f23, f1 +/* 8027548C 002723EC C0 5F 00 04 */ lfs f2, 4(r31) +/* 80275490 002723F0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80275494 002723F4 C0 03 66 F4 */ lfs f0, lbl_805A66F4@l(r3) +/* 80275498 002723F8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8027549C 002723FC EC 23 00 72 */ fmuls f1, f3, f1 +/* 802754A0 00272400 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802754A4 00272404 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 802754A8 00272408 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802754AC 0027240C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802754B0 00272410 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802754B4 00272414 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802754B8 00272418 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802754BC 0027241C 4B DA 60 79 */ bl Identity__10CAxisAngleFv +/* 802754C0 00272420 7C 65 1B 78 */ mr r5, r3 +/* 802754C4 00272424 7F 23 CB 78 */ mr r3, r25 +/* 802754C8 00272428 38 81 00 24 */ addi r4, r1, 0x24 +/* 802754CC 0027242C 4B EA 6E CD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802754D0 00272430 7F 23 CB 78 */ mr r3, r25 +/* 802754D4 00272434 7F 05 C3 78 */ mr r5, r24 +/* 802754D8 00272438 38 80 00 02 */ li r4, 2 +/* 802754DC 0027243C 48 01 0F 11 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_802754E0: +/* 802754E0 00272440 C0 19 00 E8 */ lfs f0, 0xe8(r25) +/* 802754E4 00272444 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 802754E8 00272448 EC 20 07 32 */ fmuls f1, f0, f28 +/* 802754EC 0027244C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802754F0 00272450 EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 802754F4 00272454 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802754F8 00272458 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802754FC 0027245C EC 59 00 B2 */ fmuls f2, f25, f2 +/* 80275500 00272460 EC 39 00 72 */ fmuls f1, f25, f1 +/* 80275504 00272464 EC 19 00 32 */ fmuls f0, f25, f0 +/* 80275508 00272468 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8027550C 0027246C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80275510 00272470 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80275514 00272474 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80275518 00272478 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8027551C 0027247C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80275520 00272480 4B DA 60 15 */ bl Identity__10CAxisAngleFv +/* 80275524 00272484 7C 65 1B 78 */ mr r5, r3 +/* 80275528 00272488 7F 23 CB 78 */ mr r3, r25 +/* 8027552C 0027248C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80275530 00272490 4B EA 6E 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80275534 00272494 7F 23 CB 78 */ mr r3, r25 +/* 80275538 00272498 4B EA 5C 45 */ bl UseCollisionImpulses__13CPhysicsActorFv +/* 8027553C 0027249C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80275540 002724A0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80275544 002724A4 D0 19 02 D4 */ stfs f0, 0x2d4(r25) +lbl_80275548: +/* 80275548 002724A8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 +/* 8027554C 002724AC CB E1 01 D0 */ lfd f31, 0x1d0(r1) +/* 80275550 002724B0 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 +/* 80275554 002724B4 CB C1 01 C0 */ lfd f30, 0x1c0(r1) +/* 80275558 002724B8 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 +/* 8027555C 002724BC CB A1 01 B0 */ lfd f29, 0x1b0(r1) +/* 80275560 002724C0 E3 81 01 A8 */ psq_l f28, 424(r1), 0, qr0 +/* 80275564 002724C4 CB 81 01 A0 */ lfd f28, 0x1a0(r1) +/* 80275568 002724C8 E3 61 01 98 */ psq_l f27, 408(r1), 0, qr0 +/* 8027556C 002724CC CB 61 01 90 */ lfd f27, 0x190(r1) +/* 80275570 002724D0 E3 41 01 88 */ psq_l f26, 392(r1), 0, qr0 +/* 80275574 002724D4 CB 41 01 80 */ lfd f26, 0x180(r1) +/* 80275578 002724D8 E3 21 01 78 */ psq_l f25, 376(r1), 0, qr0 +/* 8027557C 002724DC CB 21 01 70 */ lfd f25, 0x170(r1) +/* 80275580 002724E0 E3 01 01 68 */ psq_l f24, 360(r1), 0, qr0 +/* 80275584 002724E4 CB 01 01 60 */ lfd f24, 0x160(r1) +/* 80275588 002724E8 E2 E1 01 58 */ psq_l f23, 344(r1), 0, qr0 +/* 8027558C 002724EC CA E1 01 50 */ lfd f23, 0x150(r1) +/* 80275590 002724F0 BA A1 01 24 */ lmw r21, 0x124(r1) +/* 80275594 002724F4 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 80275598 002724F8 7C 08 03 A6 */ mtlr r0 +/* 8027559C 002724FC 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 802755A0 00272500 4E 80 00 20 */ blr + +.global sub_802755a4 +sub_802755a4: +/* 802755A4 00272504 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 802755A8 00272508 4E 80 00 20 */ blr + +.global sub_802755ac +sub_802755ac: +/* 802755AC 0027250C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802755B0 00272510 7C 08 02 A6 */ mflr r0 +/* 802755B4 00272514 90 01 00 34 */ stw r0, 0x34(r1) +/* 802755B8 00272518 BE C1 00 08 */ stmw r22, 8(r1) +/* 802755BC 0027251C 7C 76 1B 78 */ mr r22, r3 +/* 802755C0 00272520 7C B8 2B 78 */ mr r24, r5 +/* 802755C4 00272524 7C 97 23 78 */ mr r23, r4 +/* 802755C8 00272528 3B 40 00 00 */ li r26, 0 +/* 802755CC 0027252C 3B 96 10 04 */ addi r28, r22, 0x1004 +/* 802755D0 00272530 3B 76 10 30 */ addi r27, r22, 0x1030 +/* 802755D4 00272534 54 BD 06 3E */ clrlwi r29, r5, 0x18 +lbl_802755D8: +/* 802755D8 00272538 80 7C 00 04 */ lwz r3, 4(r28) +/* 802755DC 0027253C 7F 04 C3 78 */ mr r4, r24 +/* 802755E0 00272540 81 83 00 00 */ lwz r12, 0(r3) +/* 802755E4 00272544 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802755E8 00272548 7D 89 03 A6 */ mtctr r12 +/* 802755EC 0027254C 4E 80 04 21 */ bctrl +/* 802755F0 00272550 28 1D 00 00 */ cmplwi r29, 0 +/* 802755F4 00272554 41 82 00 68 */ beq lbl_8027565C +/* 802755F8 00272558 88 16 10 54 */ lbz r0, 0x1054(r22) +/* 802755FC 0027255C 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80275600 00272560 7C 00 E8 40 */ cmplw r0, r29 +/* 80275604 00272564 41 82 00 80 */ beq lbl_80275684 +/* 80275608 00272568 C0 02 BC 68 */ lfs f0, lbl_805AD988@sda21(r2) +/* 8027560C 0027256C 3B 20 00 00 */ li r25, 0 +/* 80275610 00272570 3B E0 00 01 */ li r31, 1 +/* 80275614 00272574 D0 1B 00 00 */ stfs f0, 0(r27) +/* 80275618 00272578 83 DC 00 04 */ lwz r30, 4(r28) +/* 8027561C 0027257C 48 00 00 30 */ b lbl_8027564C +lbl_80275620: +/* 80275620 00272580 80 7C 00 04 */ lwz r3, 4(r28) +/* 80275624 00272584 C8 22 BC A0 */ lfd f1, lbl_805AD9C0@sda21(r2) +/* 80275628 00272588 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8027562C 0027258C 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a +/* 80275630 00272590 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 80275634 00272594 80 7C 00 04 */ lwz r3, 4(r28) +/* 80275638 00272598 81 83 00 00 */ lwz r12, 0(r3) +/* 8027563C 0027259C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80275640 002725A0 7D 89 03 A6 */ mtctr r12 +/* 80275644 002725A4 4E 80 04 21 */ bctrl +/* 80275648 002725A8 3B 39 00 01 */ addi r25, r25, 1 +lbl_8027564C: +/* 8027564C 002725AC 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 80275650 002725B0 7C 19 00 00 */ cmpw r25, r0 +/* 80275654 002725B4 41 80 FF CC */ blt lbl_80275620 +/* 80275658 002725B8 48 00 00 2C */ b lbl_80275684 +lbl_8027565C: +/* 8027565C 002725BC 80 76 10 28 */ lwz r3, 0x1028(r22) +/* 80275660 002725C0 38 80 00 00 */ li r4, 0 +/* 80275664 002725C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80275668 002725C8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027566C 002725CC 7D 89 03 A6 */ mtctr r12 +/* 80275670 002725D0 4E 80 04 21 */ bctrl +/* 80275674 002725D4 7E C3 B3 78 */ mr r3, r22 +/* 80275678 002725D8 7E E4 BB 78 */ mr r4, r23 +/* 8027567C 002725DC 38 A0 00 00 */ li r5, 0 +/* 80275680 002725E0 4B FF ED 61 */ bl sub_802743e0 +lbl_80275684: +/* 80275684 002725E4 3B 5A 00 01 */ addi r26, r26, 1 +/* 80275688 002725E8 3B 7B 00 04 */ addi r27, r27, 4 +/* 8027568C 002725EC 2C 1A 00 02 */ cmpwi r26, 2 +/* 80275690 002725F0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80275694 002725F4 41 80 FF 44 */ blt lbl_802755D8 +/* 80275698 002725F8 88 16 10 54 */ lbz r0, 0x1054(r22) +/* 8027569C 002725FC 53 00 3E 30 */ rlwimi r0, r24, 7, 0x18, 0x18 +/* 802756A0 00272600 98 16 10 54 */ stb r0, 0x1054(r22) +/* 802756A4 00272604 BA C1 00 08 */ lmw r22, 8(r1) +/* 802756A8 00272608 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802756AC 0027260C 7C 08 03 A6 */ mtlr r0 +/* 802756B0 00272610 38 21 00 30 */ addi r1, r1, 0x30 +/* 802756B4 00272614 4E 80 00 20 */ blr + +.global sub_802756b8 +sub_802756b8: +/* 802756B8 00272618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802756BC 0027261C 7C 08 02 A6 */ mflr r0 +/* 802756C0 00272620 90 01 00 24 */ stw r0, 0x24(r1) +/* 802756C4 00272624 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802756C8 00272628 7C 9F 23 78 */ mr r31, r4 +/* 802756CC 0027262C 38 81 00 08 */ addi r4, r1, 8 +/* 802756D0 00272630 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 802756D4 00272634 7F E3 FB 78 */ mr r3, r31 +/* 802756D8 00272638 B0 01 00 08 */ sth r0, 8(r1) +/* 802756DC 0027263C 4B DD 6E 99 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802756E0 00272640 7C 64 1B 78 */ mr r4, r3 +/* 802756E4 00272644 38 61 00 0C */ addi r3, r1, 0xc +/* 802756E8 00272648 4B E3 9C 65 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802756EC 0027264C 80 63 00 04 */ lwz r3, 4(r3) +/* 802756F0 00272650 28 03 00 00 */ cmplwi r3, 0 +/* 802756F4 00272654 41 82 00 14 */ beq lbl_80275708 +/* 802756F8 00272658 7F E6 FB 78 */ mr r6, r31 +/* 802756FC 0027265C 38 80 00 28 */ li r4, 0x28 +/* 80275700 00272660 38 A0 00 29 */ li r5, 0x29 +/* 80275704 00272664 4B DD EB B1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_80275708: +/* 80275708 00272668 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027570C 0027266C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80275710 00272670 7C 08 03 A6 */ mtlr r0 +/* 80275714 00272674 38 21 00 20 */ addi r1, r1, 0x20 +/* 80275718 00272678 4E 80 00 20 */ blr + +.global sub_8027571c +sub_8027571c: +/* 8027571C 0027267C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275720 00272680 7C 08 02 A6 */ mflr r0 +/* 80275724 00272684 90 01 00 24 */ stw r0, 0x24(r1) +/* 80275728 00272688 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8027572C 0027268C 7C 9F 23 78 */ mr r31, r4 +/* 80275730 00272690 38 81 00 08 */ addi r4, r1, 8 +/* 80275734 00272694 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 80275738 00272698 7F E3 FB 78 */ mr r3, r31 +/* 8027573C 0027269C B0 01 00 08 */ sth r0, 8(r1) +/* 80275740 002726A0 4B DD 6E 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80275744 002726A4 7C 64 1B 78 */ mr r4, r3 +/* 80275748 002726A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027574C 002726AC 4B E3 9C 01 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80275750 002726B0 80 63 00 04 */ lwz r3, 4(r3) +/* 80275754 002726B4 28 03 00 00 */ cmplwi r3, 0 +/* 80275758 002726B8 41 82 00 14 */ beq lbl_8027576C +/* 8027575C 002726BC 7F E6 FB 78 */ mr r6, r31 +/* 80275760 002726C0 38 80 00 28 */ li r4, 0x28 +/* 80275764 002726C4 38 A0 00 29 */ li r5, 0x29 +/* 80275768 002726C8 4B DD E7 6D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_8027576C: +/* 8027576C 002726CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80275770 002726D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80275774 002726D4 7C 08 03 A6 */ mtlr r0 +/* 80275778 002726D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027577C 002726DC 4E 80 00 20 */ blr + +.global sub_80275780 +sub_80275780: +/* 80275780 002726E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275784 002726E4 7C 08 02 A6 */ mflr r0 +/* 80275788 002726E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027578C 002726EC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80275790 002726F0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80275794 002726F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80275798 002726F8 7C 7F 1B 78 */ mr r31, r3 +/* 8027579C 002726FC FF E0 08 90 */ fmr f31, f1 +/* 802757A0 00272700 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802757A4 00272704 4B EC 49 29 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 802757A8 00272708 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802757AC 0027270C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802757B0 00272710 40 82 00 34 */ bne lbl_802757E4 +/* 802757B4 00272714 C0 1F 10 7C */ lfs f0, 0x107c(r31) +/* 802757B8 00272718 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802757BC 0027271C D0 1F 10 7C */ stfs f0, 0x107c(r31) +/* 802757C0 00272720 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802757C4 00272724 C0 1F 10 84 */ lfs f0, 0x1084(r31) +/* 802757C8 00272728 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802757CC 0027272C C0 23 02 00 */ lfs f1, 0x200(r3) +/* 802757D0 00272730 EC 1F 00 7C */ fnmsubs f0, f31, f1, f0 +/* 802757D4 00272734 D0 1F 10 84 */ stfs f0, 0x1084(r31) +/* 802757D8 00272738 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 802757DC 0027273C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802757E0 00272740 D0 1F 09 20 */ stfs f0, 0x920(r31) +lbl_802757E4: +/* 802757E4 00272744 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802757E8 00272748 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802757EC 0027274C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802757F0 00272750 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802757F4 00272754 7C 08 03 A6 */ mtlr r0 +/* 802757F8 00272758 38 21 00 20 */ addi r1, r1, 0x20 +/* 802757FC 0027275C 4E 80 00 20 */ blr + +.global sub_80275800 +sub_80275800: +/* 80275800 00272760 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80275804 00272764 7C 08 02 A6 */ mflr r0 +/* 80275808 00272768 38 C0 00 01 */ li r6, 1 +/* 8027580C 0027276C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80275810 00272770 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80275814 00272774 3B E0 13 C1 */ li r31, 0x13c1 +/* 80275818 00272778 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027581C 0027277C 7C 9E 23 78 */ mr r30, r4 +/* 80275820 00272780 7F C5 F3 78 */ mr r5, r30 +/* 80275824 00272784 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80275828 00272788 7C 7D 1B 78 */ mr r29, r3 +/* 8027582C 0027278C 38 61 00 0C */ addi r3, r1, 0xc +/* 80275830 00272790 7F A4 EB 78 */ mr r4, r29 +/* 80275834 00272794 48 00 11 AD */ bl sub_802769e0 +/* 80275838 00272798 A0 61 00 0C */ lhz r3, 0xc(r1) +/* 8027583C 0027279C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80275840 002727A0 B0 61 00 10 */ sth r3, 0x10(r1) +/* 80275844 002727A4 7C 03 00 40 */ cmplw r3, r0 +/* 80275848 002727A8 41 82 00 8C */ beq lbl_802758D4 +/* 8027584C 002727AC B0 61 00 08 */ sth r3, 8(r1) +/* 80275850 002727B0 7F C3 F3 78 */ mr r3, r30 +/* 80275854 002727B4 38 81 00 08 */ addi r4, r1, 8 +/* 80275858 002727B8 4B DD 6D 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8027585C 002727BC 7C 64 1B 78 */ mr r4, r3 +/* 80275860 002727C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80275864 002727C4 4B E3 0C E9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80275868 002727C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8027586C 002727CC 28 03 00 00 */ cmplwi r3, 0 +/* 80275870 002727D0 41 82 00 64 */ beq lbl_802758D4 +/* 80275874 002727D4 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 80275878 002727D8 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8027587C 002727DC C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80275880 002727E0 EC C7 00 28 */ fsubs f6, f7, f0 +/* 80275884 002727E4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275888 002727E8 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 8027588C 002727EC EC 83 00 28 */ fsubs f4, f3, f0 +/* 80275890 002727F0 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 80275894 002727F4 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 80275898 002727F8 EC A8 00 28 */ fsubs f5, f8, f0 +/* 8027589C 002727FC C0 02 BC 18 */ lfs f0, lbl_805AD938@sda21(r2) +/* 802758A0 00272800 EC 44 01 32 */ fmuls f2, f4, f4 +/* 802758A4 00272804 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802758A8 00272808 EC 65 01 72 */ fmuls f3, f5, f5 +/* 802758AC 0027280C EC 22 08 2A */ fadds f1, f2, f1 +/* 802758B0 00272810 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 802758B4 00272814 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 802758B8 00272818 EC 23 08 2A */ fadds f1, f3, f1 +/* 802758BC 0027281C D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802758C0 00272820 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802758C4 00272824 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 802758C8 00272828 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802758CC 0027282C 40 81 00 08 */ ble lbl_802758D4 +/* 802758D0 00272830 63 FF 00 02 */ ori r31, r31, 2 +lbl_802758D4: +/* 802758D4 00272834 88 1D 10 54 */ lbz r0, 0x1054(r29) +/* 802758D8 00272838 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802758DC 0027283C 40 82 00 08 */ bne lbl_802758E4 +/* 802758E0 00272840 63 FF 04 00 */ ori r31, r31, 0x400 +lbl_802758E4: +/* 802758E4 00272844 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802758E8 00272848 C0 DD 00 48 */ lfs f6, 0x48(r29) +/* 802758EC 0027284C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 802758F0 00272850 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 802758F4 00272854 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 802758F8 00272858 EC 61 00 28 */ fsubs f3, f1, f0 +/* 802758FC 0027285C C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80275900 00272860 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275904 00272864 C0 FD 00 58 */ lfs f7, 0x58(r29) +/* 80275908 00272868 EC A1 00 28 */ fsubs f5, f1, f0 +/* 8027590C 0027286C C0 83 00 60 */ lfs f4, 0x60(r3) +/* 80275910 00272870 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80275914 00272874 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80275918 00272878 C0 02 BC A8 */ lfs f0, lbl_805AD9C8@sda21(r2) +/* 8027591C 0027287C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80275920 00272880 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80275924 00272884 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80275928 00272888 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8027592C 0027288C EC 27 08 FA */ fmadds f1, f7, f3, f1 +/* 80275930 00272890 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80275934 00272894 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275938 00272898 40 81 00 08 */ ble lbl_80275940 +/* 8027593C 0027289C 63 FF 00 3C */ ori r31, r31, 0x3c +lbl_80275940: +/* 80275940 002728A0 7F A3 EB 78 */ mr r3, r29 +/* 80275944 002728A4 7F C4 F3 78 */ mr r4, r30 +/* 80275948 002728A8 4B FF E3 31 */ bl sub_80273c78 +/* 8027594C 002728AC 2C 03 00 00 */ cmpwi r3, 0 +/* 80275950 002728B0 40 82 00 08 */ bne lbl_80275958 +/* 80275954 002728B4 63 FF 20 00 */ ori r31, r31, 0x2000 +lbl_80275958: +/* 80275958 002728B8 3C 80 80 3D */ lis r4, lbl_803D5428@ha +/* 8027595C 002728BC 7F A3 EB 78 */ mr r3, r29 +/* 80275960 002728C0 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l +/* 80275964 002728C4 7F C4 F3 78 */ mr r4, r30 +/* 80275968 002728C8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8027596C 002728CC 48 00 18 B9 */ bl sub_80277224 +/* 80275970 002728D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275974 002728D4 41 82 00 08 */ beq lbl_8027597C +/* 80275978 002728D8 63 FF 08 00 */ ori r31, r31, 0x800 +lbl_8027597C: +/* 8027597C 002728DC 7F A3 EB 78 */ mr r3, r29 +/* 80275980 002728E0 7F C4 F3 78 */ mr r4, r30 +/* 80275984 002728E4 7F E5 FB 78 */ mr r5, r31 +/* 80275988 002728E8 48 00 00 21 */ bl sub_802759a8 +/* 8027598C 002728EC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80275990 002728F0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80275994 002728F4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80275998 002728F8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027599C 002728FC 7C 08 03 A6 */ mtlr r0 +/* 802759A0 00272900 38 21 00 50 */ addi r1, r1, 0x50 +/* 802759A4 00272904 4E 80 00 20 */ blr + +.global sub_802759a8 +sub_802759a8: +/* 802759A8 00272908 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802759AC 0027290C 7C 08 02 A6 */ mflr r0 +/* 802759B0 00272910 90 01 00 44 */ stw r0, 0x44(r1) +/* 802759B4 00272914 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802759B8 00272918 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802759BC 0027291C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 802759C0 00272920 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 802759C4 00272924 BF 41 00 08 */ stmw r26, 8(r1) +/* 802759C8 00272928 7C 7A 1B 78 */ mr r26, r3 +/* 802759CC 0027292C C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) +/* 802759D0 00272930 80 03 05 70 */ lwz r0, 0x570(r3) +/* 802759D4 00272934 7C 9B 23 78 */ mr r27, r4 +/* 802759D8 00272938 7C BC 2B 78 */ mr r28, r5 +/* 802759DC 0027293C 3B A0 00 00 */ li r29, 0 +/* 802759E0 00272940 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 802759E4 00272944 3B E0 00 01 */ li r31, 1 +/* 802759E8 00272948 7F DA 02 14 */ add r30, r26, r0 +/* 802759EC 0027294C 3B DE 11 64 */ addi r30, r30, 0x1164 +lbl_802759F0: +/* 802759F0 00272950 7F E0 E8 30 */ slw r0, r31, r29 +/* 802759F4 00272954 7F 80 00 39 */ and. r0, r28, r0 +/* 802759F8 00272958 41 82 00 2C */ beq lbl_80275A24 +/* 802759FC 0027295C 7F 43 D3 78 */ mr r3, r26 +/* 80275A00 00272960 7F A4 EB 78 */ mr r4, r29 +/* 80275A04 00272964 48 00 03 65 */ bl sub_80275d68 +/* 80275A08 00272968 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275A0C 0027296C 41 82 00 18 */ beq lbl_80275A24 +/* 80275A10 00272970 7F 43 D3 78 */ mr r3, r26 +/* 80275A14 00272974 7F C4 F3 78 */ mr r4, r30 +/* 80275A18 00272978 7F A5 EB 78 */ mr r5, r29 +/* 80275A1C 0027297C 48 00 00 E9 */ bl sub_80275b04 +/* 80275A20 00272980 EF FF 08 2A */ fadds f31, f31, f1 +lbl_80275A24: +/* 80275A24 00272984 3B BD 00 01 */ addi r29, r29, 1 +/* 80275A28 00272988 2C 1D 00 0D */ cmpwi r29, 0xd +/* 80275A2C 0027298C 40 81 FF C4 */ ble lbl_802759F0 +/* 80275A30 00272990 C0 02 BC AC */ lfs f0, lbl_805AD9CC@sda21(r2) +/* 80275A34 00272994 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80275A38 00272998 40 81 00 0C */ ble lbl_80275A44 +/* 80275A3C 0027299C 7F 43 D3 78 */ mr r3, r26 +/* 80275A40 002729A0 48 00 01 29 */ bl sub_80275b68 +lbl_80275A44: +/* 80275A44 002729A4 FC 40 F8 90 */ fmr f2, f31 +/* 80275A48 002729A8 80 7B 09 00 */ lwz r3, 0x900(r27) +/* 80275A4C 002729AC C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275A50 002729B0 48 09 CA F5 */ bl Range__9CRandom16Fff +/* 80275A54 002729B4 38 00 FF FF */ li r0, -1 +/* 80275A58 002729B8 FF E0 08 90 */ fmr f31, f1 +/* 80275A5C 002729BC 90 1A 12 54 */ stw r0, 0x1254(r26) +/* 80275A60 002729C0 3B A0 00 00 */ li r29, 0 +/* 80275A64 002729C4 C3 C2 BC 08 */ lfs f30, lbl_805AD928@sda21(r2) +/* 80275A68 002729C8 3B E0 00 01 */ li r31, 1 +lbl_80275A6C: +/* 80275A6C 002729CC 7F E0 E8 30 */ slw r0, r31, r29 +/* 80275A70 002729D0 7F 80 00 39 */ and. r0, r28, r0 +/* 80275A74 002729D4 41 82 00 60 */ beq lbl_80275AD4 +/* 80275A78 002729D8 7F 43 D3 78 */ mr r3, r26 +/* 80275A7C 002729DC 7F A4 EB 78 */ mr r4, r29 +/* 80275A80 002729E0 48 00 02 E9 */ bl sub_80275d68 +/* 80275A84 002729E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80275A88 002729E8 41 82 00 4C */ beq lbl_80275AD4 +/* 80275A8C 002729EC 7F 43 D3 78 */ mr r3, r26 +/* 80275A90 002729F0 7F C4 F3 78 */ mr r4, r30 +/* 80275A94 002729F4 7F A5 EB 78 */ mr r5, r29 +/* 80275A98 002729F8 48 00 00 6D */ bl sub_80275b04 +/* 80275A9C 002729FC FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80275AA0 00272A00 40 81 00 30 */ ble lbl_80275AD0 +/* 80275AA4 00272A04 EC 1E 08 2A */ fadds f0, f30, f1 +/* 80275AA8 00272A08 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80275AAC 00272A0C 40 80 00 24 */ bge lbl_80275AD0 +/* 80275AB0 00272A10 57 A0 10 3A */ slwi r0, r29, 2 +/* 80275AB4 00272A14 93 BA 12 54 */ stw r29, 0x1254(r26) +/* 80275AB8 00272A18 7C 7A 02 14 */ add r3, r26, r0 +/* 80275ABC 00272A1C C0 02 BC 84 */ lfs f0, lbl_805AD9A4@sda21(r2) +/* 80275AC0 00272A20 C0 23 12 5C */ lfs f1, 0x125c(r3) +/* 80275AC4 00272A24 EC 01 00 2A */ fadds f0, f1, f0 +/* 80275AC8 00272A28 D0 03 12 5C */ stfs f0, 0x125c(r3) +/* 80275ACC 00272A2C 48 00 00 14 */ b lbl_80275AE0 +lbl_80275AD0: +/* 80275AD0 00272A30 EF DE 08 2A */ fadds f30, f30, f1 +lbl_80275AD4: +/* 80275AD4 00272A34 3B BD 00 01 */ addi r29, r29, 1 +/* 80275AD8 00272A38 2C 1D 00 0D */ cmpwi r29, 0xd +/* 80275ADC 00272A3C 40 81 FF 90 */ ble lbl_80275A6C +lbl_80275AE0: +/* 80275AE0 00272A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80275AE4 00272A44 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80275AE8 00272A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80275AEC 00272A4C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80275AF0 00272A50 BB 41 00 08 */ lmw r26, 8(r1) +/* 80275AF4 00272A54 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80275AF8 00272A58 7C 08 03 A6 */ mtlr r0 +/* 80275AFC 00272A5C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80275B00 00272A60 4E 80 00 20 */ blr + +.global sub_80275b04 +sub_80275b04: +/* 80275B04 00272A64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80275B08 00272A68 7C 08 02 A6 */ mflr r0 +/* 80275B0C 00272A6C C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275B10 00272A70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80275B14 00272A74 54 A0 10 3A */ slwi r0, r5, 2 +/* 80275B18 00272A78 C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275B1C 00272A7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80275B20 00272A80 7F E3 02 14 */ add r31, r3, r0 +/* 80275B24 00272A84 C0 5F 12 5C */ lfs f2, 0x125c(r31) +/* 80275B28 00272A88 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80275B2C 00272A8C FC 40 12 10 */ fabs f2, f2 +/* 80275B30 00272A90 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80275B34 00272A94 40 80 00 08 */ bge lbl_80275B3C +/* 80275B38 00272A98 48 00 00 1C */ b lbl_80275B54 +lbl_80275B3C: +/* 80275B3C 00272A9C 7C 83 23 78 */ mr r3, r4 +/* 80275B40 00272AA0 7C A4 2B 78 */ mr r4, r5 +/* 80275B44 00272AA4 48 00 66 E9 */ bl sub_8027c22c +/* 80275B48 00272AA8 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80275B4C 00272AAC C0 1F 12 5C */ lfs f0, 0x125c(r31) +/* 80275B50 00272AB0 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_80275B54: +/* 80275B54 00272AB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80275B58 00272AB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80275B5C 00272ABC 7C 08 03 A6 */ mtlr r0 +/* 80275B60 00272AC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80275B64 00272AC4 4E 80 00 20 */ blr + +.global sub_80275b68 +sub_80275b68: +/* 80275B68 00272AC8 80 C3 12 58 */ lwz r6, 0x1258(r3) +/* 80275B6C 00272ACC 38 E0 00 00 */ li r7, 0 +/* 80275B70 00272AD0 C0 C2 BC 08 */ lfs f6, lbl_805AD928@sda21(r2) +/* 80275B74 00272AD4 2C 06 00 00 */ cmpwi r6, 0 +/* 80275B78 00272AD8 40 81 00 A0 */ ble lbl_80275C18 +/* 80275B7C 00272ADC 2C 06 00 08 */ cmpwi r6, 8 +/* 80275B80 00272AE0 38 86 FF F8 */ addi r4, r6, -8 +/* 80275B84 00272AE4 40 81 00 68 */ ble lbl_80275BEC +/* 80275B88 00272AE8 38 04 00 07 */ addi r0, r4, 7 +/* 80275B8C 00272AEC 38 A3 12 5C */ addi r5, r3, 0x125c +/* 80275B90 00272AF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80275B94 00272AF4 7C 09 03 A6 */ mtctr r0 +/* 80275B98 00272AF8 2C 04 00 00 */ cmpwi r4, 0 +/* 80275B9C 00272AFC 40 81 00 50 */ ble lbl_80275BEC +lbl_80275BA0: +/* 80275BA0 00272B00 C0 25 00 00 */ lfs f1, 0(r5) +/* 80275BA4 00272B04 38 E7 00 08 */ addi r7, r7, 8 +/* 80275BA8 00272B08 C0 05 00 04 */ lfs f0, 4(r5) +/* 80275BAC 00272B0C EC C6 08 2A */ fadds f6, f6, f1 +/* 80275BB0 00272B10 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80275BB4 00272B14 C0 85 00 0C */ lfs f4, 0xc(r5) +/* 80275BB8 00272B18 C0 65 00 10 */ lfs f3, 0x10(r5) +/* 80275BBC 00272B1C EC C6 00 2A */ fadds f6, f6, f0 +/* 80275BC0 00272B20 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 80275BC4 00272B24 C0 25 00 18 */ lfs f1, 0x18(r5) +/* 80275BC8 00272B28 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80275BCC 00272B2C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80275BD0 00272B30 EC C6 28 2A */ fadds f6, f6, f5 +/* 80275BD4 00272B34 EC C6 20 2A */ fadds f6, f6, f4 +/* 80275BD8 00272B38 EC C6 18 2A */ fadds f6, f6, f3 +/* 80275BDC 00272B3C EC C6 10 2A */ fadds f6, f6, f2 +/* 80275BE0 00272B40 EC C6 08 2A */ fadds f6, f6, f1 +/* 80275BE4 00272B44 EC C6 00 2A */ fadds f6, f6, f0 +/* 80275BE8 00272B48 42 00 FF B8 */ bdnz lbl_80275BA0 +lbl_80275BEC: +/* 80275BEC 00272B4C 54 E4 10 3A */ slwi r4, r7, 2 +/* 80275BF0 00272B50 7C 07 30 50 */ subf r0, r7, r6 +/* 80275BF4 00272B54 7C 83 22 14 */ add r4, r3, r4 +/* 80275BF8 00272B58 7C 09 03 A6 */ mtctr r0 +/* 80275BFC 00272B5C 7C 07 30 00 */ cmpw r7, r6 +/* 80275C00 00272B60 38 84 12 5C */ addi r4, r4, 0x125c +/* 80275C04 00272B64 40 80 00 14 */ bge lbl_80275C18 +lbl_80275C08: +/* 80275C08 00272B68 C0 04 00 00 */ lfs f0, 0(r4) +/* 80275C0C 00272B6C 38 84 00 04 */ addi r4, r4, 4 +/* 80275C10 00272B70 EC C6 00 2A */ fadds f6, f6, f0 +/* 80275C14 00272B74 42 00 FF F4 */ bdnz lbl_80275C08 +lbl_80275C18: +/* 80275C18 00272B78 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80275C1C 00272B7C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) +/* 80275C20 00272B80 EC 26 08 28 */ fsubs f1, f6, f1 +/* 80275C24 00272B84 FC 20 0A 10 */ fabs f1, f1 +/* 80275C28 00272B88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80275C2C 00272B8C 4D 80 00 20 */ bltlr +/* 80275C30 00272B90 38 83 12 5C */ addi r4, r3, 0x125c +/* 80275C34 00272B94 38 A0 00 00 */ li r5, 0 +/* 80275C38 00272B98 48 00 00 18 */ b lbl_80275C50 +lbl_80275C3C: +/* 80275C3C 00272B9C C0 04 00 00 */ lfs f0, 0(r4) +/* 80275C40 00272BA0 38 A5 00 01 */ addi r5, r5, 1 +/* 80275C44 00272BA4 EC 00 30 24 */ fdivs f0, f0, f6 +/* 80275C48 00272BA8 D0 04 00 00 */ stfs f0, 0(r4) +/* 80275C4C 00272BAC 38 84 00 04 */ addi r4, r4, 4 +lbl_80275C50: +/* 80275C50 00272BB0 80 03 12 58 */ lwz r0, 0x1258(r3) +/* 80275C54 00272BB4 7C 05 00 00 */ cmpw r5, r0 +/* 80275C58 00272BB8 41 80 FF E4 */ blt lbl_80275C3C + +.global sub_80275c5c +sub_80275c5c: +/* 80275C5C 00272BBC 4E 80 00 20 */ blr + +.global sub_80275c60 +sub_80275c60: +/* 80275C60 00272BC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80275C64 00272BC4 7C 08 02 A6 */ mflr r0 +/* 80275C68 00272BC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80275C6C 00272BCC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80275C70 00272BD0 7C 7E 1B 78 */ mr r30, r3 +/* 80275C74 00272BD4 7C 9F 23 78 */ mr r31, r4 +/* 80275C78 00272BD8 80 03 05 70 */ lwz r0, 0x570(r3) +/* 80275C7C 00272BDC 2C 00 FF FF */ cmpwi r0, -1 +/* 80275C80 00272BE0 41 82 00 D4 */ beq lbl_80275D54 +/* 80275C84 00272BE4 80 BE 12 58 */ lwz r5, 0x1258(r30) +/* 80275C88 00272BE8 3B 9E 12 5C */ addi r28, r30, 0x125c +/* 80275C8C 00272BEC 38 60 00 00 */ li r3, 0 +/* 80275C90 00272BF0 2C 05 00 00 */ cmpwi r5, 0 +/* 80275C94 00272BF4 40 81 00 40 */ ble lbl_80275CD4 +/* 80275C98 00272BF8 2C 05 00 08 */ cmpwi r5, 8 +/* 80275C9C 00272BFC 38 85 FF F8 */ addi r4, r5, -8 +/* 80275CA0 00272C00 40 81 00 20 */ ble lbl_80275CC0 +/* 80275CA4 00272C04 38 04 00 07 */ addi r0, r4, 7 +/* 80275CA8 00272C08 54 00 E8 FE */ srwi r0, r0, 3 +/* 80275CAC 00272C0C 7C 09 03 A6 */ mtctr r0 +/* 80275CB0 00272C10 2C 04 00 00 */ cmpwi r4, 0 +/* 80275CB4 00272C14 40 81 00 0C */ ble lbl_80275CC0 +lbl_80275CB8: +/* 80275CB8 00272C18 38 63 00 08 */ addi r3, r3, 8 +/* 80275CBC 00272C1C 42 00 FF FC */ bdnz lbl_80275CB8 +lbl_80275CC0: +/* 80275CC0 00272C20 7C 03 28 50 */ subf r0, r3, r5 +/* 80275CC4 00272C24 7C 09 03 A6 */ mtctr r0 +/* 80275CC8 00272C28 7C 03 28 00 */ cmpw r3, r5 +/* 80275CCC 00272C2C 40 80 00 08 */ bge lbl_80275CD4 +lbl_80275CD0: +/* 80275CD0 00272C30 42 00 00 00 */ bdnz lbl_80275CD0 +lbl_80275CD4: +/* 80275CD4 00272C34 38 00 00 00 */ li r0, 0 +/* 80275CD8 00272C38 3B 60 00 00 */ li r27, 0 +/* 80275CDC 00272C3C 90 1E 12 58 */ stw r0, 0x1258(r30) +/* 80275CE0 00272C40 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 80275CE4 00272C44 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 80275CE8 00272C48 7F BE 02 14 */ add r29, r30, r0 +/* 80275CEC 00272C4C 3B BD 11 64 */ addi r29, r29, 0x1164 +lbl_80275CF0: +/* 80275CF0 00272C50 7F A3 EB 78 */ mr r3, r29 +/* 80275CF4 00272C54 7F 64 DB 78 */ mr r4, r27 +/* 80275CF8 00272C58 48 00 65 35 */ bl sub_8027c22c +/* 80275CFC 00272C5C 80 1E 12 58 */ lwz r0, 0x1258(r30) +/* 80275D00 00272C60 54 00 10 3A */ slwi r0, r0, 2 +/* 80275D04 00272C64 7C 7C 02 15 */ add. r3, r28, r0 +/* 80275D08 00272C68 41 82 00 08 */ beq lbl_80275D10 +/* 80275D0C 00272C6C D0 23 00 00 */ stfs f1, 0(r3) +lbl_80275D10: +/* 80275D10 00272C70 80 7E 12 58 */ lwz r3, 0x1258(r30) +/* 80275D14 00272C74 3B 7B 00 01 */ addi r27, r27, 1 +/* 80275D18 00272C78 2C 1B 00 0D */ cmpwi r27, 0xd +/* 80275D1C 00272C7C 38 03 00 01 */ addi r0, r3, 1 +/* 80275D20 00272C80 90 1E 12 58 */ stw r0, 0x1258(r30) +/* 80275D24 00272C84 40 81 FF CC */ ble lbl_80275CF0 +/* 80275D28 00272C88 80 1E 10 78 */ lwz r0, 0x1078(r30) +/* 80275D2C 00272C8C 2C 00 FF FF */ cmpwi r0, -1 +/* 80275D30 00272C90 41 82 00 24 */ beq lbl_80275D54 +/* 80275D34 00272C94 3B 60 00 00 */ li r27, 0 +lbl_80275D38: +/* 80275D38 00272C98 7F C3 F3 78 */ mr r3, r30 +/* 80275D3C 00272C9C 7F E4 FB 78 */ mr r4, r31 +/* 80275D40 00272CA0 38 A0 FF FF */ li r5, -1 +/* 80275D44 00272CA4 4B FF FC 65 */ bl sub_802759a8 +/* 80275D48 00272CA8 3B 7B 00 01 */ addi r27, r27, 1 +/* 80275D4C 00272CAC 2C 1B 00 28 */ cmpwi r27, 0x28 +/* 80275D50 00272CB0 41 80 FF E8 */ blt lbl_80275D38 +lbl_80275D54: +/* 80275D54 00272CB4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80275D58 00272CB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80275D5C 00272CBC 7C 08 03 A6 */ mtlr r0 +/* 80275D60 00272CC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80275D64 00272CC4 4E 80 00 20 */ blr + +.global sub_80275d68 +sub_80275d68: +/* 80275D68 00272CC8 3C A0 80 3D */ lis r5, lbl_803D5428@ha +/* 80275D6C 00272CCC 54 80 10 3A */ slwi r0, r4, 2 +/* 80275D70 00272CD0 38 C5 54 28 */ addi r6, r5, lbl_803D5428@l +/* 80275D74 00272CD4 38 A6 00 5C */ addi r5, r6, 0x5c +/* 80275D78 00272CD8 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80275D7C 00272CDC 2C 00 00 07 */ cmpwi r0, 7 +/* 80275D80 00272CE0 41 82 00 2C */ beq lbl_80275DAC +/* 80275D84 00272CE4 40 80 00 10 */ bge lbl_80275D94 +/* 80275D88 00272CE8 2C 00 00 05 */ cmpwi r0, 5 +/* 80275D8C 00272CEC 41 82 00 4C */ beq lbl_80275DD8 +/* 80275D90 00272CF0 48 00 00 7C */ b lbl_80275E0C +lbl_80275D94: +/* 80275D94 00272CF4 2C 00 00 12 */ cmpwi r0, 0x12 +/* 80275D98 00272CF8 41 82 00 14 */ beq lbl_80275DAC +/* 80275D9C 00272CFC 40 80 00 70 */ bge lbl_80275E0C +/* 80275DA0 00272D00 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80275DA4 00272D04 40 80 00 60 */ bge lbl_80275E04 +/* 80275DA8 00272D08 48 00 00 64 */ b lbl_80275E0C +lbl_80275DAC: +/* 80275DAC 00272D0C 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275DB0 00272D10 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275DB4 00272D14 38 66 00 A0 */ addi r3, r6, 0xa0 +/* 80275DB8 00272D18 54 00 10 3A */ slwi r0, r0, 2 +/* 80275DBC 00272D1C 7C 04 02 14 */ add r0, r4, r0 +/* 80275DC0 00272D20 7C 83 00 2E */ lwzx r4, r3, r0 +/* 80275DC4 00272D24 20 64 FF FF */ subfic r3, r4, -1 +/* 80275DC8 00272D28 38 04 00 01 */ addi r0, r4, 1 +/* 80275DCC 00272D2C 7C 60 03 78 */ or r0, r3, r0 +/* 80275DD0 00272D30 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80275DD4 00272D34 4E 80 00 20 */ blr +lbl_80275DD8: +/* 80275DD8 00272D38 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275DDC 00272D3C 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275DE0 00272D40 38 66 01 48 */ addi r3, r6, 0x148 +/* 80275DE4 00272D44 54 00 10 3A */ slwi r0, r0, 2 +/* 80275DE8 00272D48 7C 04 02 14 */ add r0, r4, r0 +/* 80275DEC 00272D4C 7C 83 00 2E */ lwzx r4, r3, r0 +/* 80275DF0 00272D50 20 64 FF FF */ subfic r3, r4, -1 +/* 80275DF4 00272D54 38 04 00 01 */ addi r0, r4, 1 +/* 80275DF8 00272D58 7C 60 03 78 */ or r0, r3, r0 +/* 80275DFC 00272D5C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80275E00 00272D60 4E 80 00 20 */ blr +lbl_80275E04: +/* 80275E04 00272D64 38 60 00 01 */ li r3, 1 +/* 80275E08 00272D68 4E 80 00 20 */ blr +lbl_80275E0C: +/* 80275E0C 00272D6C 38 60 00 00 */ li r3, 0 +/* 80275E10 00272D70 4E 80 00 20 */ blr + +.global sub_80275e14 +sub_80275e14: +/* 80275E14 00272D74 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275E18 00272D78 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275E1C 00272D7C 3C 60 80 3D */ lis r3, lbl_803D5570@ha +/* 80275E20 00272D80 54 00 10 3A */ slwi r0, r0, 2 +/* 80275E24 00272D84 38 63 55 70 */ addi r3, r3, lbl_803D5570@l +/* 80275E28 00272D88 7C 63 22 14 */ add r3, r3, r4 +/* 80275E2C 00272D8C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80275E30 00272D90 4E 80 00 20 */ blr + +.global sub_80275e34 +sub_80275e34: +/* 80275E34 00272D94 1C 84 00 0C */ mulli r4, r4, 0xc +/* 80275E38 00272D98 80 03 10 78 */ lwz r0, 0x1078(r3) +/* 80275E3C 00272D9C 3C 60 80 3D */ lis r3, lbl_803D54C8@ha +/* 80275E40 00272DA0 54 00 10 3A */ slwi r0, r0, 2 +/* 80275E44 00272DA4 38 63 54 C8 */ addi r3, r3, lbl_803D54C8@l +/* 80275E48 00272DA8 7C 63 22 14 */ add r3, r3, r4 +/* 80275E4C 00272DAC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80275E50 00272DB0 4E 80 00 20 */ blr + +.global sub_80275e54 +sub_80275e54: +/* 80275E54 00272DB4 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80275E58 00272DB8 7C 08 02 A6 */ mflr r0 +/* 80275E5C 00272DBC 90 01 01 24 */ stw r0, 0x124(r1) +/* 80275E60 00272DC0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80275E64 00272DC4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80275E68 00272DC8 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80275E6C 00272DCC 7C 7D 1B 78 */ mr r29, r3 +/* 80275E70 00272DD0 FF E0 08 90 */ fmr f31, f1 +/* 80275E74 00272DD4 83 63 0F B0 */ lwz r27, 0xfb0(r3) +/* 80275E78 00272DD8 7C 9E 23 78 */ mr r30, r4 +/* 80275E7C 00272DDC 28 1B 00 00 */ cmplwi r27, 0 +/* 80275E80 00272DE0 41 82 02 C8 */ beq lbl_80276148 +/* 80275E84 00272DE4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80275E88 00272DE8 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80275E8C 00272DEC 48 09 CD B5 */ bl GetRotation__12CTransform4fCFv +/* 80275E90 00272DF0 7F 63 DB 78 */ mr r3, r27 +/* 80275E94 00272DF4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80275E98 00272DF8 81 9B 00 00 */ lwz r12, 0(r27) +/* 80275E9C 00272DFC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80275EA0 00272E00 7D 89 03 A6 */ mtctr r12 +/* 80275EA4 00272E04 4E 80 04 21 */ bctrl +/* 80275EA8 00272E08 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80275EAC 00272E0C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80275EB0 00272E10 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80275EB4 00272E14 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275EB8 00272E18 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80275EBC 00272E1C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80275EC0 00272E20 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80275EC4 00272E24 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275EC8 00272E28 81 83 00 00 */ lwz r12, 0(r3) +/* 80275ECC 00272E2C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80275ED0 00272E30 7D 89 03 A6 */ mtctr r12 +/* 80275ED4 00272E34 4E 80 04 21 */ bctrl +/* 80275ED8 00272E38 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80275EDC 00272E3C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80275EE0 00272E40 C0 03 00 00 */ lfs f0, 0(r3) +/* 80275EE4 00272E44 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80275EE8 00272E48 C0 03 00 04 */ lfs f0, 4(r3) +/* 80275EEC 00272E4C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80275EF0 00272E50 C0 03 00 08 */ lfs f0, 8(r3) +/* 80275EF4 00272E54 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80275EF8 00272E58 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275EFC 00272E5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80275F00 00272E60 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80275F04 00272E64 7D 89 03 A6 */ mtctr r12 +/* 80275F08 00272E68 4E 80 04 21 */ bctrl +/* 80275F0C 00272E6C 88 1D 0F C0 */ lbz r0, 0xfc0(r29) +/* 80275F10 00272E70 28 00 00 00 */ cmplwi r0, 0 +/* 80275F14 00272E74 41 82 02 1C */ beq lbl_80276130 +/* 80275F18 00272E78 80 1D 0F BC */ lwz r0, 0xfbc(r29) +/* 80275F1C 00272E7C 28 00 00 00 */ cmplwi r0, 0 +/* 80275F20 00272E80 41 82 00 3C */ beq lbl_80275F5C +/* 80275F24 00272E84 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80275F28 00272E88 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80275F2C 00272E8C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80275F30 00272E90 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80275F34 00272E94 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80275F38 00272E98 38 61 00 20 */ addi r3, r1, 0x20 +/* 80275F3C 00272E9C 38 81 00 44 */ addi r4, r1, 0x44 +/* 80275F40 00272EA0 38 C0 00 7F */ li r6, 0x7f +/* 80275F44 00272EA4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80275F48 00272EA8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80275F4C 00272EAC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80275F50 00272EB0 80 1D 0F BC */ lwz r0, 0xfbc(r29) +/* 80275F54 00272EB4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80275F58 00272EB8 48 07 3F 59 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80275F5C: +/* 80275F5C 00272EBC 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275F60 00272EC0 38 80 00 01 */ li r4, 1 +/* 80275F64 00272EC4 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80275F68 00272EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80275F6C 00272ECC 83 65 00 10 */ lwz r27, 0x10(r5) +/* 80275F70 00272ED0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80275F74 00272ED4 7D 89 03 A6 */ mtctr r12 +/* 80275F78 00272ED8 4E 80 04 21 */ bctrl +/* 80275F7C 00272EDC 3C 60 80 3F */ lis r3, lbl_803EAC74@ha +/* 80275F80 00272EE0 3B E0 00 00 */ li r31, 0 +/* 80275F84 00272EE4 3B 83 AC 74 */ addi r28, r3, lbl_803EAC74@l +lbl_80275F88: +/* 80275F88 00272EE8 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80275F8C 00272EEC 38 80 00 00 */ li r4, 0 +/* 80275F90 00272EF0 38 A0 00 13 */ li r5, 0x13 +/* 80275F94 00272EF4 48 09 C6 01 */ bl Range__9CRandom16Fii +/* 80275F98 00272EF8 54 60 10 3A */ slwi r0, r3, 2 +/* 80275F9C 00272EFC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80275FA0 00272F00 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 80275FA4 00272F04 4B D8 ED 15 */ bl string_l__4rstlFPCc +/* 80275FA8 00272F08 7F 64 DB 78 */ mr r4, r27 +/* 80275FAC 00272F0C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80275FB0 00272F10 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80275FB4 00272F14 4B DB 88 85 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80275FB8 00272F18 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80275FBC 00272F1C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80275FC0 00272F20 98 01 00 1C */ stb r0, 0x1c(r1) +/* 80275FC4 00272F24 48 0C 7B 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80275FC8 00272F28 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80275FCC 00272F2C 7F 64 DB 78 */ mr r4, r27 +/* 80275FD0 00272F30 38 61 00 98 */ addi r3, r1, 0x98 +/* 80275FD4 00272F34 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80275FD8 00272F38 98 01 00 10 */ stb r0, 0x10(r1) +/* 80275FDC 00272F3C 38 C0 00 00 */ li r6, 0 +/* 80275FE0 00272F40 4B DB 62 95 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80275FE4 00272F44 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80275FE8 00272F48 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 80275FEC 00272F4C 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80275FF0 00272F50 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80275FF4 00272F54 28 00 00 00 */ cmplwi r0, 0 +/* 80275FF8 00272F58 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80275FFC 00272F5C 40 82 00 24 */ bne lbl_80276020 +/* 80276000 00272F60 34 83 01 78 */ addic. r4, r3, 0x178 +/* 80276004 00272F64 41 82 00 10 */ beq lbl_80276014 +/* 80276008 00272F68 D0 04 00 00 */ stfs f0, 0(r4) +/* 8027600C 00272F6C D0 24 00 04 */ stfs f1, 4(r4) +/* 80276010 00272F70 D0 44 00 08 */ stfs f2, 8(r4) +lbl_80276014: +/* 80276014 00272F74 38 00 00 01 */ li r0, 1 +/* 80276018 00272F78 98 03 01 84 */ stb r0, 0x184(r3) +/* 8027601C 00272F7C 48 00 00 10 */ b lbl_8027602C +lbl_80276020: +/* 80276020 00272F80 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 80276024 00272F84 D0 23 01 7C */ stfs f1, 0x17c(r3) +/* 80276028 00272F88 D0 43 01 80 */ stfs f2, 0x180(r3) +lbl_8027602C: +/* 8027602C 00272F8C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80276030 00272F90 38 80 00 00 */ li r4, 0 +/* 80276034 00272F94 38 A0 00 13 */ li r5, 0x13 +/* 80276038 00272F98 48 09 C5 5D */ bl Range__9CRandom16Fii +/* 8027603C 00272F9C 54 60 10 3A */ slwi r0, r3, 2 +/* 80276040 00272FA0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80276044 00272FA4 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 80276048 00272FA8 4B D8 EC 71 */ bl string_l__4rstlFPCc +/* 8027604C 00272FAC 7F 64 DB 78 */ mr r4, r27 +/* 80276050 00272FB0 38 61 00 0C */ addi r3, r1, 0xc +/* 80276054 00272FB4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80276058 00272FB8 4B DB 87 E1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027605C 00272FBC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80276060 00272FC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80276064 00272FC4 98 01 00 18 */ stb r0, 0x18(r1) +/* 80276068 00272FC8 48 0C 7A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027606C 00272FCC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80276070 00272FD0 7F 64 DB 78 */ mr r4, r27 +/* 80276074 00272FD4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80276078 00272FD8 38 A1 00 08 */ addi r5, r1, 8 +/* 8027607C 00272FDC 98 01 00 08 */ stb r0, 8(r1) +/* 80276080 00272FE0 38 C0 00 00 */ li r6, 0 +/* 80276084 00272FE4 4B DB 61 F1 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80276088 00272FE8 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 8027608C 00272FEC C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80276090 00272FF0 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80276094 00272FF4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80276098 00272FF8 28 00 00 00 */ cmplwi r0, 0 +/* 8027609C 00272FFC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802760A0 00273000 40 82 00 24 */ bne lbl_802760C4 +/* 802760A4 00273004 34 83 01 98 */ addic. r4, r3, 0x198 +/* 802760A8 00273008 41 82 00 10 */ beq lbl_802760B8 +/* 802760AC 0027300C D0 04 00 00 */ stfs f0, 0(r4) +/* 802760B0 00273010 D0 24 00 04 */ stfs f1, 4(r4) +/* 802760B4 00273014 D0 44 00 08 */ stfs f2, 8(r4) +lbl_802760B8: +/* 802760B8 00273018 38 00 00 01 */ li r0, 1 +/* 802760BC 0027301C 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 802760C0 00273020 48 00 00 10 */ b lbl_802760D0 +lbl_802760C4: +/* 802760C4 00273024 D0 03 01 98 */ stfs f0, 0x198(r3) +/* 802760C8 00273028 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 802760CC 0027302C D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_802760D0: +/* 802760D0 00273030 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 802760D4 00273034 38 80 00 01 */ li r4, 1 +/* 802760D8 00273038 48 0E 8E 65 */ bl ForceParticleCreation__17CParticleElectricFi +/* 802760DC 0027303C 3B FF 00 01 */ addi r31, r31, 1 +/* 802760E0 00273040 2C 1F 00 04 */ cmpwi r31, 4 +/* 802760E4 00273044 41 80 FE A4 */ blt lbl_80275F88 +/* 802760E8 00273048 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 802760EC 0027304C 38 80 00 00 */ li r4, 0 +/* 802760F0 00273050 81 83 00 00 */ lwz r12, 0(r3) +/* 802760F4 00273054 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802760F8 00273058 7D 89 03 A6 */ mtctr r12 +/* 802760FC 0027305C 4E 80 04 21 */ bctrl +/* 80276100 00273060 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) +/* 80276104 00273064 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276108 00273068 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8027610C 0027306C D0 3D 0F B4 */ stfs f1, 0xfb4(r29) +/* 80276110 00273070 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) +/* 80276114 00273074 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276118 00273078 4C 40 13 82 */ cror 2, 0, 2 +/* 8027611C 0027307C 40 82 00 14 */ bne lbl_80276130 +/* 80276120 00273080 7F A3 EB 78 */ mr r3, r29 +/* 80276124 00273084 7F C4 F3 78 */ mr r4, r30 +/* 80276128 00273088 38 A0 00 00 */ li r5, 0 +/* 8027612C 0027308C 48 00 00 D9 */ bl sub_80276204 +lbl_80276130: +/* 80276130 00273090 80 7D 0F B0 */ lwz r3, 0xfb0(r29) +/* 80276134 00273094 FC 20 F8 90 */ fmr f1, f31 +/* 80276138 00273098 81 83 00 00 */ lwz r12, 0(r3) +/* 8027613C 0027309C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80276140 002730A0 7D 89 03 A6 */ mtctr r12 +/* 80276144 002730A4 4E 80 04 21 */ bctrl +lbl_80276148: +/* 80276148 002730A8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8027614C 002730AC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80276150 002730B0 BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 80276154 002730B4 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80276158 002730B8 7C 08 03 A6 */ mtlr r0 +/* 8027615C 002730BC 38 21 01 20 */ addi r1, r1, 0x120 +/* 80276160 002730C0 4E 80 00 20 */ blr + +.global sub_80276164 +sub_80276164: +/* 80276164 002730C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80276168 002730C8 7C 08 02 A6 */ mflr r0 +/* 8027616C 002730CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276170 002730D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80276174 002730D4 7C 7F 1B 78 */ mr r31, r3 +/* 80276178 002730D8 88 03 0F C1 */ lbz r0, 0xfc1(r3) +/* 8027617C 002730DC 28 00 00 00 */ cmplwi r0, 0 +/* 80276180 002730E0 41 82 00 70 */ beq lbl_802761F0 +/* 80276184 002730E4 C0 5F 0F B8 */ lfs f2, 0xfb8(r31) +/* 80276188 002730E8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027618C 002730EC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80276190 002730F0 D0 3F 0F B8 */ stfs f1, 0xfb8(r31) +/* 80276194 002730F4 C0 3F 0F B8 */ lfs f1, 0xfb8(r31) +/* 80276198 002730F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027619C 002730FC 4C 40 13 82 */ cror 2, 0, 2 +/* 802761A0 00273100 40 82 00 0C */ bne lbl_802761AC +/* 802761A4 00273104 38 A0 00 00 */ li r5, 0 +/* 802761A8 00273108 48 00 01 F5 */ bl sub_8027639c +lbl_802761AC: +/* 802761AC 0027310C 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 802761B0 00273110 28 00 00 00 */ cmplwi r0, 0 +/* 802761B4 00273114 41 82 00 3C */ beq lbl_802761F0 +/* 802761B8 00273118 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802761BC 0027311C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802761C0 00273120 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802761C4 00273124 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802761C8 00273128 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802761CC 0027312C 38 61 00 08 */ addi r3, r1, 8 +/* 802761D0 00273130 38 81 00 0C */ addi r4, r1, 0xc +/* 802761D4 00273134 38 C0 00 7F */ li r6, 0x7f +/* 802761D8 00273138 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802761DC 0027313C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802761E0 00273140 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802761E4 00273144 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 802761E8 00273148 90 01 00 08 */ stw r0, 8(r1) +/* 802761EC 0027314C 48 07 3C C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_802761F0: +/* 802761F0 00273150 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802761F4 00273154 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802761F8 00273158 7C 08 03 A6 */ mtlr r0 +/* 802761FC 0027315C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276200 00273160 4E 80 00 20 */ blr + +.global sub_80276204 +sub_80276204: +/* 80276204 00273164 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80276208 00273168 7C 08 02 A6 */ mflr r0 +/* 8027620C 0027316C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80276210 00273170 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80276214 00273174 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80276218 00273178 7C 7F 1B 78 */ mr r31, r3 +/* 8027621C 0027317C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80276220 00273180 7C BE 2B 78 */ mr r30, r5 +/* 80276224 00273184 41 82 00 18 */ beq lbl_8027623C +/* 80276228 00273188 88 1F 0F C1 */ lbz r0, 0xfc1(r31) +/* 8027622C 0027318C 28 00 00 00 */ cmplwi r0, 0 +/* 80276230 00273190 41 82 00 0C */ beq lbl_8027623C +/* 80276234 00273194 38 A0 00 00 */ li r5, 0 +/* 80276238 00273198 48 00 01 65 */ bl sub_8027639c +lbl_8027623C: +/* 8027623C 0027319C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276240 002731A0 9B DF 0F C0 */ stb r30, 0xfc0(r31) +/* 80276244 002731A4 41 82 00 F8 */ beq lbl_8027633C +/* 80276248 002731A8 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027624C 002731AC 28 00 00 00 */ cmplwi r0, 0 +/* 80276250 002731B0 41 82 00 14 */ beq lbl_80276264 +/* 80276254 002731B4 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276258 002731B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027625C 002731BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276260 002731C0 48 07 3C 25 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +lbl_80276264: +/* 80276264 002731C4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80276268 002731C8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027626C 002731CC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80276270 002731D0 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80276274 002731D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80276278 002731D8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027627C 002731DC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80276280 002731E0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80276284 002731E4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80276288 002731E8 38 80 05 19 */ li r4, 0x519 +/* 8027628C 002731EC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80276290 002731F0 38 E0 00 7F */ li r7, 0x7f +/* 80276294 002731F4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80276298 002731F8 39 00 00 01 */ li r8, 1 +/* 8027629C 002731FC 39 20 00 01 */ li r9, 1 +/* 802762A0 00273200 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802762A4 00273204 90 01 00 08 */ stw r0, 8(r1) +/* 802762A8 00273208 48 07 3F 11 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 802762AC 0027320C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802762B0 00273210 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802762B4 00273214 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l +/* 802762B8 00273218 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 802762BC 0027321C 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 802762C0 00273220 3C 80 80 3E */ lis r4, lbl_803E10C8@ha +/* 802762C4 00273224 38 E0 00 1A */ li r7, 0x1a +/* 802762C8 00273228 38 A0 00 00 */ li r5, 0 +/* 802762CC 0027322C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802762D0 00273230 38 00 00 01 */ li r0, 1 +/* 802762D4 00273234 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802762D8 00273238 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l +/* 802762DC 0027323C 3B E3 00 04 */ addi r31, r3, 4 +/* 802762E0 00273240 38 80 00 1A */ li r4, 0x1a +/* 802762E4 00273244 90 E1 00 34 */ stw r7, 0x34(r1) +/* 802762E8 00273248 7F E3 FB 78 */ mr r3, r31 +/* 802762EC 0027324C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802762F0 00273250 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802762F4 00273254 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802762F8 00273258 98 01 00 40 */ stb r0, 0x40(r1) +/* 802762FC 0027325C 4B EB B1 3D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80276300 00273260 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276304 00273264 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80276308 00273268 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 8027630C 0027326C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80276310 00273270 90 1F 02 88 */ stw r0, 0x288(r31) +/* 80276314 00273274 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80276318 00273278 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8027631C 0027327C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80276320 00273280 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80276324 00273284 88 61 00 40 */ lbz r3, 0x40(r1) +/* 80276328 00273288 90 BF 02 90 */ stw r5, 0x290(r31) +/* 8027632C 0027328C 90 81 00 30 */ stw r4, 0x30(r1) +/* 80276330 00273290 98 7F 02 94 */ stb r3, 0x294(r31) +/* 80276334 00273294 90 01 00 30 */ stw r0, 0x30(r1) +/* 80276338 00273298 48 00 00 4C */ b lbl_80276384 +lbl_8027633C: +/* 8027633C 0027329C 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276340 002732A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80276344 002732A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80276348 002732A8 48 07 3B 3D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 8027634C 002732AC 38 00 00 00 */ li r0, 0 +/* 80276350 002732B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80276354 002732B4 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 80276358 002732B8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8027635C 002732BC 38 00 00 1B */ li r0, 0x1b +/* 80276360 002732C0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80276364 002732C4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80276368 002732C8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8027636C 002732CC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80276370 002732D0 38 63 00 04 */ addi r3, r3, 4 +/* 80276374 002732D4 4B EB B4 45 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80276378 002732D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8027637C 002732DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80276380 002732E0 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_80276384: +/* 80276384 002732E4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80276388 002732E8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027638C 002732EC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80276390 002732F0 7C 08 03 A6 */ mtlr r0 +/* 80276394 002732F4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80276398 002732F8 4E 80 00 20 */ blr + +.global sub_8027639c +sub_8027639c: +/* 8027639C 002732FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802763A0 00273300 7C 08 02 A6 */ mflr r0 +/* 802763A4 00273304 90 01 00 54 */ stw r0, 0x54(r1) +/* 802763A8 00273308 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802763AC 0027330C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802763B0 00273310 7C BC 2B 78 */ mr r28, r5 +/* 802763B4 00273314 7C 7F 1B 78 */ mr r31, r3 +/* 802763B8 00273318 7C 9B 23 78 */ mr r27, r4 +/* 802763BC 0027331C 41 82 00 18 */ beq lbl_802763D4 +/* 802763C0 00273320 88 1F 0F C0 */ lbz r0, 0xfc0(r31) +/* 802763C4 00273324 28 00 00 00 */ cmplwi r0, 0 +/* 802763C8 00273328 41 82 00 0C */ beq lbl_802763D4 +/* 802763CC 0027332C 38 A0 00 00 */ li r5, 0 +/* 802763D0 00273330 4B FF FE 35 */ bl sub_80276204 +lbl_802763D4: +/* 802763D4 00273334 3C 60 80 3D */ lis r3, lbl_803D5444@ha +/* 802763D8 00273338 3B A0 00 00 */ li r29, 0 +/* 802763DC 0027333C 3B C3 54 44 */ addi r30, r3, lbl_803D5444@l +lbl_802763E0: +/* 802763E0 00273340 80 9E 00 00 */ lwz r4, 0(r30) +/* 802763E4 00273344 38 61 00 28 */ addi r3, r1, 0x28 +/* 802763E8 00273348 4B D8 E8 D1 */ bl string_l__4rstlFPCc +/* 802763EC 0027334C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802763F0 00273350 7F 85 E3 78 */ mr r5, r28 +/* 802763F4 00273354 7F 66 DB 78 */ mr r6, r27 +/* 802763F8 00273358 38 81 00 28 */ addi r4, r1, 0x28 +/* 802763FC 0027335C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80276400 00273360 4B DB 49 C1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80276404 00273364 38 61 00 28 */ addi r3, r1, 0x28 +/* 80276408 00273368 48 0C 76 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027640C 0027336C 3B BD 00 01 */ addi r29, r29, 1 +/* 80276410 00273370 3B DE 00 04 */ addi r30, r30, 4 +/* 80276414 00273374 28 1D 00 04 */ cmplwi r29, 4 +/* 80276418 00273378 41 80 FF C8 */ blt lbl_802763E0 +/* 8027641C 0027337C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80276420 00273380 9B 9F 0F C1 */ stb r28, 0xfc1(r31) +/* 80276424 00273384 41 82 00 74 */ beq lbl_80276498 +/* 80276428 00273388 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027642C 0027338C 28 00 00 00 */ cmplwi r0, 0 +/* 80276430 00273390 41 82 00 14 */ beq lbl_80276444 +/* 80276434 00273394 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 80276438 00273398 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027643C 0027339C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276440 002733A0 48 07 3A 45 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +lbl_80276444: +/* 80276444 002733A4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80276448 002733A8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027644C 002733AC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80276450 002733B0 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80276454 002733B4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80276458 002733B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8027645C 002733BC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80276460 002733C0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80276464 002733C4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80276468 002733C8 38 80 05 1A */ li r4, 0x51a +/* 8027646C 002733CC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80276470 002733D0 38 E0 00 7F */ li r7, 0x7f +/* 80276474 002733D4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80276478 002733D8 39 00 00 01 */ li r8, 1 +/* 8027647C 002733DC 39 20 00 01 */ li r9, 1 +/* 80276480 002733E0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80276484 002733E4 90 01 00 08 */ stw r0, 8(r1) +/* 80276488 002733E8 48 07 3D 31 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 8027648C 002733EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80276490 002733F0 90 1F 0F BC */ stw r0, 0xfbc(r31) +/* 80276494 002733F4 48 00 00 1C */ b lbl_802764B0 +lbl_80276498: +/* 80276498 002733F8 80 1F 0F BC */ lwz r0, 0xfbc(r31) +/* 8027649C 002733FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802764A0 00273400 90 01 00 10 */ stw r0, 0x10(r1) +/* 802764A4 00273404 48 07 39 E1 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 802764A8 00273408 38 00 00 00 */ li r0, 0 +/* 802764AC 0027340C 90 1F 0F BC */ stw r0, 0xfbc(r31) +lbl_802764B0: +/* 802764B0 00273410 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802764B4 00273414 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802764B8 00273418 7C 08 03 A6 */ mtlr r0 +/* 802764BC 0027341C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802764C0 00273420 4E 80 00 20 */ blr + +.global sub_802764c4 +sub_802764c4: +/* 802764C4 00273424 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802764C8 00273428 7C 08 02 A6 */ mflr r0 +/* 802764CC 0027342C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802764D0 00273430 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802764D4 00273434 7C DF 33 78 */ mr r31, r6 +/* 802764D8 00273438 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802764DC 0027343C 7C 9E 23 78 */ mr r30, r4 +/* 802764E0 00273440 38 81 00 08 */ addi r4, r1, 8 +/* 802764E4 00273444 A0 05 00 00 */ lhz r0, 0(r5) +/* 802764E8 00273448 7F C3 F3 78 */ mr r3, r30 +/* 802764EC 0027344C B0 01 00 08 */ sth r0, 8(r1) +/* 802764F0 00273450 4B DD 60 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802764F4 00273454 7C 64 1B 79 */ or. r4, r3, r3 +/* 802764F8 00273458 41 82 00 18 */ beq lbl_80276510 +/* 802764FC 0027345C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276500 00273460 7F C3 F3 78 */ mr r3, r30 +/* 80276504 00273464 38 A1 00 0C */ addi r5, r1, 0xc +/* 80276508 00273468 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027650C 0027346C 4B DC ED 6D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +lbl_80276510: +/* 80276510 00273470 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276514 00273474 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276518 00273478 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027651C 0027347C 7C 08 03 A6 */ mtlr r0 +/* 80276520 00273480 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276524 00273484 4E 80 00 20 */ blr + +.global sub_80276528 +sub_80276528: +/* 80276528 00273488 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027652C 0027348C 7C 08 02 A6 */ mflr r0 +/* 80276530 00273490 90 01 00 54 */ stw r0, 0x54(r1) +/* 80276534 00273494 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80276538 00273498 7C 9F 23 78 */ mr r31, r4 +/* 8027653C 0027349C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80276540 002734A0 7C 7E 1B 78 */ mr r30, r3 +/* 80276544 002734A4 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80276548 002734A8 93 81 00 40 */ stw r28, 0x40(r1) +/* 8027654C 002734AC 88 03 09 14 */ lbz r0, 0x914(r3) +/* 80276550 002734B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276554 002734B4 41 82 01 70 */ beq lbl_802766C4 +/* 80276558 002734B8 80 BF 08 50 */ lwz r5, 0x850(r31) +/* 8027655C 002734BC 80 A5 00 68 */ lwz r5, 0x68(r5) +/* 80276560 002734C0 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80276564 002734C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80276568 002734C8 7C 00 28 00 */ cmpw r0, r5 +/* 8027656C 002734CC 41 82 01 34 */ beq lbl_802766A0 +/* 80276570 002734D0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80276574 002734D4 48 00 09 4D */ bl sub_80276ec0 +/* 80276578 002734D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027657C 002734DC 41 82 01 10 */ beq lbl_8027668C +/* 80276580 002734E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276584 002734E4 7F C3 F3 78 */ mr r3, r30 +/* 80276588 002734E8 7F E4 FB 78 */ mr r4, r31 +/* 8027658C 002734EC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80276590 002734F0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80276594 002734F4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80276598 002734F8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8027659C 002734FC B0 01 00 18 */ sth r0, 0x18(r1) +/* 802765A0 00273500 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802765A4 00273504 4B FF FF 21 */ bl sub_802764c4 +/* 802765A8 00273508 3B A0 00 00 */ li r29, 0 +/* 802765AC 0027350C 48 00 00 3C */ b lbl_802765E8 +lbl_802765B0: +/* 802765B0 00273510 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 802765B4 00273514 7F A4 EB 78 */ mr r4, r29 +/* 802765B8 00273518 4B F3 0C 81 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 802765BC 0027351C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802765C0 00273520 7F E4 FB 78 */ mr r4, r31 +/* 802765C4 00273524 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802765C8 00273528 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802765CC 0027352C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802765D0 00273530 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 802765D4 00273534 7F C3 F3 78 */ mr r3, r30 +/* 802765D8 00273538 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802765DC 0027353C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802765E0 00273540 4B FF FE E5 */ bl sub_802764c4 +/* 802765E4 00273544 3B BD 00 01 */ addi r29, r29, 1 +lbl_802765E8: +/* 802765E8 00273548 80 7E 05 6C */ lwz r3, 0x56c(r30) +/* 802765EC 0027354C 4B F3 0C 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 802765F0 00273550 7C 1D 18 40 */ cmplw r29, r3 +/* 802765F4 00273554 41 80 FF BC */ blt lbl_802765B0 +/* 802765F8 00273558 3B BE 0B 28 */ addi r29, r30, 0xb28 +/* 802765FC 0027355C 3B 80 00 00 */ li r28, 0 +/* 80276600 00273560 48 00 00 30 */ b lbl_80276630 +lbl_80276604: +/* 80276604 00273564 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276608 00273568 7F C3 F3 78 */ mr r3, r30 +/* 8027660C 0027356C 7F E4 FB 78 */ mr r4, r31 +/* 80276610 00273570 38 A1 00 0C */ addi r5, r1, 0xc +/* 80276614 00273574 90 01 00 28 */ stw r0, 0x28(r1) +/* 80276618 00273578 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8027661C 0027357C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80276620 00273580 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276624 00273584 4B FF FE A1 */ bl sub_802764c4 +/* 80276628 00273588 3B BD 00 02 */ addi r29, r29, 2 +/* 8027662C 0027358C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80276630: +/* 80276630 00273590 80 1E 0B 24 */ lwz r0, 0xb24(r30) +/* 80276634 00273594 7C 1C 00 00 */ cmpw r28, r0 +/* 80276638 00273598 41 80 FF CC */ blt lbl_80276604 +/* 8027663C 0027359C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80276640 002735A0 7F C3 F3 78 */ mr r3, r30 +/* 80276644 002735A4 7F E4 FB 78 */ mr r4, r31 +/* 80276648 002735A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8027664C 002735AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276650 002735B0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80276654 002735B4 A0 1E 0E AC */ lhz r0, 0xeac(r30) +/* 80276658 002735B8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027665C 002735BC 4B FF FE 69 */ bl sub_802764c4 +/* 80276660 002735C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80276664 002735C4 7F C3 F3 78 */ mr r3, r30 +/* 80276668 002735C8 7F E4 FB 78 */ mr r4, r31 +/* 8027666C 002735CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80276670 002735D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80276674 002735D4 48 00 06 BD */ bl sub_80276d30 +/* 80276678 002735D8 7F C3 F3 78 */ mr r3, r30 +/* 8027667C 002735DC 7F E5 FB 78 */ mr r5, r31 +/* 80276680 002735E0 38 80 00 07 */ li r4, 7 +/* 80276684 002735E4 48 00 00 61 */ bl sub_802766e4 +/* 80276688 002735E8 48 00 00 3C */ b lbl_802766C4 +lbl_8027668C: +/* 8027668C 002735EC 88 1E 14 44 */ lbz r0, 0x1444(r30) +/* 80276690 002735F0 38 60 00 01 */ li r3, 1 +/* 80276694 002735F4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80276698 002735F8 98 1E 14 44 */ stb r0, 0x1444(r30) +/* 8027669C 002735FC 48 00 00 28 */ b lbl_802766C4 +lbl_802766A0: +/* 802766A0 00273600 88 9E 14 44 */ lbz r4, 0x1444(r30) +/* 802766A4 00273604 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 802766A8 00273608 41 82 00 1C */ beq lbl_802766C4 +/* 802766AC 0027360C 38 00 00 00 */ li r0, 0 +/* 802766B0 00273610 7F E5 FB 78 */ mr r5, r31 +/* 802766B4 00273614 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 802766B8 00273618 98 9E 14 44 */ stb r4, 0x1444(r30) +/* 802766BC 0027361C 38 80 00 07 */ li r4, 7 +/* 802766C0 00273620 48 00 00 25 */ bl sub_802766e4 +lbl_802766C4: +/* 802766C4 00273624 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802766C8 00273628 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802766CC 0027362C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802766D0 00273630 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802766D4 00273634 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802766D8 00273638 7C 08 03 A6 */ mtlr r0 +/* 802766DC 0027363C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802766E0 00273640 4E 80 00 20 */ blr + +.global sub_802766e4 +sub_802766e4: +/* 802766E4 00273644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802766E8 00273648 7C 08 02 A6 */ mflr r0 +/* 802766EC 0027364C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802766F0 00273650 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802766F4 00273654 7C BF 2B 78 */ mr r31, r5 +/* 802766F8 00273658 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802766FC 0027365C 7C 9E 23 78 */ mr r30, r4 +/* 80276700 00273660 38 81 00 08 */ addi r4, r1, 8 +/* 80276704 00273664 A0 03 05 68 */ lhz r0, 0x568(r3) +/* 80276708 00273668 7F E3 FB 78 */ mr r3, r31 +/* 8027670C 0027366C B0 01 00 08 */ sth r0, 8(r1) +/* 80276710 00273670 4B DD 5E 65 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276714 00273674 7C 64 1B 78 */ mr r4, r3 +/* 80276718 00273678 38 61 00 0C */ addi r3, r1, 0xc +/* 8027671C 0027367C 4B E3 69 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276720 00273680 80 63 00 04 */ lwz r3, 4(r3) +/* 80276724 00273684 28 03 00 00 */ cmplwi r3, 0 +/* 80276728 00273688 41 82 00 14 */ beq lbl_8027673C +/* 8027672C 0027368C 7F C4 F3 78 */ mr r4, r30 +/* 80276730 00273690 7F E5 FB 78 */ mr r5, r31 +/* 80276734 00273694 38 C0 FF FF */ li r6, -1 +/* 80276738 00273698 4B DD A9 89 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8027673C: +/* 8027673C 0027369C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276740 002736A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276744 002736A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80276748 002736A8 7C 08 03 A6 */ mtlr r0 +/* 8027674C 002736AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276750 002736B0 4E 80 00 20 */ blr + +.global sub_80276754 +sub_80276754: +/* 80276754 002736B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80276758 002736B8 7C 08 02 A6 */ mflr r0 +/* 8027675C 002736BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80276760 002736C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80276764 002736C4 7C 7F 1B 78 */ mr r31, r3 +/* 80276768 002736C8 38 DF 11 64 */ addi r6, r31, 0x1164 +/* 8027676C 002736CC 38 60 00 00 */ li r3, 0 +/* 80276770 002736D0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80276774 002736D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80276778 002736D8 7C 9D 23 78 */ mr r29, r4 +/* 8027677C 002736DC 48 00 00 70 */ b lbl_802767EC +lbl_80276780: +/* 80276780 002736E0 28 06 00 00 */ cmplwi r6, 0 +/* 80276784 002736E4 41 82 00 60 */ beq lbl_802767E4 +/* 80276788 002736E8 41 82 00 5C */ beq lbl_802767E4 +/* 8027678C 002736EC 80 E6 00 00 */ lwz r7, 0(r6) +/* 80276790 002736F0 38 80 00 00 */ li r4, 0 +/* 80276794 002736F4 2C 07 00 00 */ cmpwi r7, 0 +/* 80276798 002736F8 40 81 00 44 */ ble lbl_802767DC +/* 8027679C 002736FC 2C 07 00 08 */ cmpwi r7, 8 +/* 802767A0 00273700 38 A7 FF F8 */ addi r5, r7, -8 +/* 802767A4 00273704 40 81 00 20 */ ble lbl_802767C4 +/* 802767A8 00273708 38 05 00 07 */ addi r0, r5, 7 +/* 802767AC 0027370C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802767B0 00273710 7C 09 03 A6 */ mtctr r0 +/* 802767B4 00273714 2C 05 00 00 */ cmpwi r5, 0 +/* 802767B8 00273718 40 81 00 0C */ ble lbl_802767C4 +lbl_802767BC: +/* 802767BC 0027371C 38 84 00 08 */ addi r4, r4, 8 +/* 802767C0 00273720 42 00 FF FC */ bdnz lbl_802767BC +lbl_802767C4: +/* 802767C4 00273724 7C 04 38 50 */ subf r0, r4, r7 +/* 802767C8 00273728 7C 09 03 A6 */ mtctr r0 +/* 802767CC 0027372C 7C 04 38 00 */ cmpw r4, r7 +/* 802767D0 00273730 40 80 00 0C */ bge lbl_802767DC +lbl_802767D4: +/* 802767D4 00273734 38 84 00 01 */ addi r4, r4, 1 +/* 802767D8 00273738 42 00 FF FC */ bdnz lbl_802767D4 +lbl_802767DC: +/* 802767DC 0027373C 38 00 00 00 */ li r0, 0 +/* 802767E0 00273740 90 06 00 00 */ stw r0, 0(r6) +lbl_802767E4: +/* 802767E4 00273744 38 C6 00 3C */ addi r6, r6, 0x3c +/* 802767E8 00273748 38 63 00 01 */ addi r3, r3, 1 +lbl_802767EC: +/* 802767EC 0027374C 80 1F 11 60 */ lwz r0, 0x1160(r31) +/* 802767F0 00273750 7C 03 00 00 */ cmpw r3, r0 +/* 802767F4 00273754 41 80 FF 8C */ blt lbl_80276780 +/* 802767F8 00273758 38 00 00 00 */ li r0, 0 +/* 802767FC 0027375C 7F A3 EB 78 */ mr r3, r29 +/* 80276800 00273760 90 1F 11 60 */ stw r0, 0x1160(r31) +/* 80276804 00273764 38 81 00 08 */ addi r4, r1, 8 +/* 80276808 00273768 A0 1F 05 68 */ lhz r0, 0x568(r31) +/* 8027680C 0027376C B0 01 00 08 */ sth r0, 8(r1) +/* 80276810 00273770 4B DD 5D 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276814 00273774 7C 64 1B 78 */ mr r4, r3 +/* 80276818 00273778 38 61 00 0C */ addi r3, r1, 0xc +/* 8027681C 0027377C 4B E3 68 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276820 00273780 83 C3 00 04 */ lwz r30, 4(r3) +/* 80276824 00273784 28 1E 00 00 */ cmplwi r30, 0 +/* 80276828 00273788 41 82 00 8C */ beq lbl_802768B4 +/* 8027682C 0027378C 38 7F 11 60 */ addi r3, r31, 0x1160 +/* 80276830 00273790 38 9E 0C B8 */ addi r4, r30, 0xcb8 +/* 80276834 00273794 48 00 00 9D */ bl sub_802768d0 +/* 80276838 00273798 C0 1E 0C 9C */ lfs f0, 0xc9c(r30) +/* 8027683C 0027379C 38 00 00 00 */ li r0, 0 +/* 80276840 002737A0 7F E3 FB 78 */ mr r3, r31 +/* 80276844 002737A4 7F A4 EB 78 */ mr r4, r29 +/* 80276848 002737A8 D0 1F 08 C0 */ stfs f0, 0x8c0(r31) +/* 8027684C 002737AC C0 1E 0C A0 */ lfs f0, 0xca0(r30) +/* 80276850 002737B0 D0 1F 08 C4 */ stfs f0, 0x8c4(r31) +/* 80276854 002737B4 C0 1E 0C A4 */ lfs f0, 0xca4(r30) +/* 80276858 002737B8 D0 1F 10 4C */ stfs f0, 0x104c(r31) +/* 8027685C 002737BC C0 1E 0C A8 */ lfs f0, 0xca8(r30) +/* 80276860 002737C0 D0 1F 10 50 */ stfs f0, 0x1050(r31) +/* 80276864 002737C4 C0 1E 0C 84 */ lfs f0, 0xc84(r30) +/* 80276868 002737C8 D0 1F 09 24 */ stfs f0, 0x924(r31) +/* 8027686C 002737CC C0 1E 0C 88 */ lfs f0, 0xc88(r30) +/* 80276870 002737D0 D0 1F 09 28 */ stfs f0, 0x928(r31) +/* 80276874 002737D4 C0 1E 0C 8C */ lfs f0, 0xc8c(r30) +/* 80276878 002737D8 D0 1F 10 80 */ stfs f0, 0x1080(r31) +/* 8027687C 002737DC 80 BE 0C 90 */ lwz r5, 0xc90(r30) +/* 80276880 002737E0 90 BF 14 40 */ stw r5, 0x1440(r31) +/* 80276884 002737E4 80 BE 0C AC */ lwz r5, 0xcac(r30) +/* 80276888 002737E8 90 BF 09 18 */ stw r5, 0x918(r31) +/* 8027688C 002737EC 88 BE 0C 94 */ lbz r5, 0xc94(r30) +/* 80276890 002737F0 98 BF 05 84 */ stb r5, 0x584(r31) +/* 80276894 002737F4 80 BE 0C 98 */ lwz r5, 0xc98(r30) +/* 80276898 002737F8 90 BF 05 74 */ stw r5, 0x574(r31) +/* 8027689C 002737FC 80 BE 0C B0 */ lwz r5, 0xcb0(r30) +/* 802768A0 00273800 90 BF 08 D4 */ stw r5, 0x8d4(r31) +/* 802768A4 00273804 80 BE 0C B4 */ lwz r5, 0xcb4(r30) +/* 802768A8 00273808 90 BF 05 7C */ stw r5, 0x57c(r31) +/* 802768AC 0027380C 90 1F 05 80 */ stw r0, 0x580(r31) +/* 802768B0 00273810 4B FF F3 B1 */ bl sub_80275c60 +lbl_802768B4: +/* 802768B4 00273814 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802768B8 00273818 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802768BC 0027381C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802768C0 00273820 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802768C4 00273824 7C 08 03 A6 */ mtlr r0 +/* 802768C8 00273828 38 21 00 30 */ addi r1, r1, 0x30 +/* 802768CC 0027382C 4E 80 00 20 */ blr + +.global sub_802768d0 +sub_802768d0: +/* 802768D0 00273830 7C 03 20 40 */ cmplw r3, r4 +/* 802768D4 00273834 4D 82 00 20 */ beqlr +/* 802768D8 00273838 39 03 00 04 */ addi r8, r3, 4 +/* 802768DC 0027383C 38 A0 00 00 */ li r5, 0 +/* 802768E0 00273840 48 00 00 70 */ b lbl_80276950 +lbl_802768E4: +/* 802768E4 00273844 28 08 00 00 */ cmplwi r8, 0 +/* 802768E8 00273848 41 82 00 60 */ beq lbl_80276948 +/* 802768EC 0027384C 41 82 00 5C */ beq lbl_80276948 +/* 802768F0 00273850 81 28 00 00 */ lwz r9, 0(r8) +/* 802768F4 00273854 38 C0 00 00 */ li r6, 0 +/* 802768F8 00273858 2C 09 00 00 */ cmpwi r9, 0 +/* 802768FC 0027385C 40 81 00 44 */ ble lbl_80276940 +/* 80276900 00273860 2C 09 00 08 */ cmpwi r9, 8 +/* 80276904 00273864 38 E9 FF F8 */ addi r7, r9, -8 +/* 80276908 00273868 40 81 00 20 */ ble lbl_80276928 +/* 8027690C 0027386C 38 07 00 07 */ addi r0, r7, 7 +/* 80276910 00273870 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276914 00273874 7C 09 03 A6 */ mtctr r0 +/* 80276918 00273878 2C 07 00 00 */ cmpwi r7, 0 +/* 8027691C 0027387C 40 81 00 0C */ ble lbl_80276928 +lbl_80276920: +/* 80276920 00273880 38 C6 00 08 */ addi r6, r6, 8 +/* 80276924 00273884 42 00 FF FC */ bdnz lbl_80276920 +lbl_80276928: +/* 80276928 00273888 7C 06 48 50 */ subf r0, r6, r9 +/* 8027692C 0027388C 7C 09 03 A6 */ mtctr r0 +/* 80276930 00273890 7C 06 48 00 */ cmpw r6, r9 +/* 80276934 00273894 40 80 00 0C */ bge lbl_80276940 +lbl_80276938: +/* 80276938 00273898 38 C6 00 01 */ addi r6, r6, 1 +/* 8027693C 0027389C 42 00 FF FC */ bdnz lbl_80276938 +lbl_80276940: +/* 80276940 002738A0 38 00 00 00 */ li r0, 0 +/* 80276944 002738A4 90 08 00 00 */ stw r0, 0(r8) +lbl_80276948: +/* 80276948 002738A8 39 08 00 3C */ addi r8, r8, 0x3c +/* 8027694C 002738AC 38 A5 00 01 */ addi r5, r5, 1 +lbl_80276950: +/* 80276950 002738B0 80 03 00 00 */ lwz r0, 0(r3) +/* 80276954 002738B4 7C 05 00 00 */ cmpw r5, r0 +/* 80276958 002738B8 41 80 FF 8C */ blt lbl_802768E4 +/* 8027695C 002738BC 38 00 00 00 */ li r0, 0 +/* 80276960 002738C0 38 C3 00 04 */ addi r6, r3, 4 +/* 80276964 002738C4 90 03 00 00 */ stw r0, 0(r3) +/* 80276968 002738C8 38 A4 00 04 */ addi r5, r4, 4 +/* 8027696C 002738CC 80 04 00 00 */ lwz r0, 0(r4) +/* 80276970 002738D0 1C 00 00 3C */ mulli r0, r0, 0x3c +/* 80276974 002738D4 7C E4 02 14 */ add r7, r4, r0 +/* 80276978 002738D8 38 E7 00 04 */ addi r7, r7, 4 +/* 8027697C 002738DC 48 00 00 50 */ b lbl_802769CC +lbl_80276980: +/* 80276980 002738E0 28 06 00 00 */ cmplwi r6, 0 +/* 80276984 002738E4 41 82 00 40 */ beq lbl_802769C4 +/* 80276988 002738E8 80 05 00 00 */ lwz r0, 0(r5) +/* 8027698C 002738EC 39 25 00 04 */ addi r9, r5, 4 +/* 80276990 002738F0 39 06 00 04 */ addi r8, r6, 4 +/* 80276994 002738F4 90 06 00 00 */ stw r0, 0(r6) +/* 80276998 002738F8 80 06 00 00 */ lwz r0, 0(r6) +/* 8027699C 002738FC 7C 09 03 A6 */ mtctr r0 +/* 802769A0 00273900 2C 00 00 00 */ cmpwi r0, 0 +/* 802769A4 00273904 40 81 00 20 */ ble lbl_802769C4 +lbl_802769A8: +/* 802769A8 00273908 28 08 00 00 */ cmplwi r8, 0 +/* 802769AC 0027390C 41 82 00 0C */ beq lbl_802769B8 +/* 802769B0 00273910 C0 09 00 00 */ lfs f0, 0(r9) +/* 802769B4 00273914 D0 08 00 00 */ stfs f0, 0(r8) +lbl_802769B8: +/* 802769B8 00273918 39 08 00 04 */ addi r8, r8, 4 +/* 802769BC 0027391C 39 29 00 04 */ addi r9, r9, 4 +/* 802769C0 00273920 42 00 FF E8 */ bdnz lbl_802769A8 +lbl_802769C4: +/* 802769C4 00273924 38 C6 00 3C */ addi r6, r6, 0x3c +/* 802769C8 00273928 38 A5 00 3C */ addi r5, r5, 0x3c +lbl_802769CC: +/* 802769CC 0027392C 7C 05 38 40 */ cmplw r5, r7 +/* 802769D0 00273930 40 82 FF B0 */ bne lbl_80276980 +/* 802769D4 00273934 80 04 00 00 */ lwz r0, 0(r4) +/* 802769D8 00273938 90 03 00 00 */ stw r0, 0(r3) +/* 802769DC 0027393C 4E 80 00 20 */ blr + +.global sub_802769e0 +sub_802769e0: +/* 802769E0 00273940 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802769E4 00273944 7C 08 02 A6 */ mflr r0 +/* 802769E8 00273948 90 01 00 64 */ stw r0, 0x64(r1) +/* 802769EC 0027394C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802769F0 00273950 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802769F4 00273954 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802769F8 00273958 7C 7B 1B 78 */ mr r27, r3 +/* 802769FC 0027395C 7C DE 33 78 */ mr r30, r6 +/* 80276A00 00273960 7C 9C 23 78 */ mr r28, r4 +/* 80276A04 00273964 7C BD 2B 78 */ mr r29, r5 +/* 80276A08 00273968 38 61 00 10 */ addi r3, r1, 0x10 +/* 80276A0C 0027396C 38 C0 00 0A */ li r6, 0xa +/* 80276A10 00273970 38 E0 00 06 */ li r7, 6 +/* 80276A14 00273974 48 00 01 29 */ bl sub_80276b3c +/* 80276A18 00273978 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80276A1C 0027397C A3 ED A3 8C */ lhz r31, lbl_805A8F4C@sda21(r13) +/* 80276A20 00273980 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276A24 00273984 C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) +/* 80276A28 00273988 48 00 00 E4 */ b lbl_80276B0C +lbl_80276A2C: +/* 80276A2C 0027398C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276A30 00273990 7F A3 EB 78 */ mr r3, r29 +/* 80276A34 00273994 38 81 00 0C */ addi r4, r1, 0xc +/* 80276A38 00273998 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276A3C 0027399C 4B DD 5B 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276A40 002739A0 7C 64 1B 78 */ mr r4, r3 +/* 80276A44 002739A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80276A48 002739A8 4B E2 FB 05 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80276A4C 002739AC 80 83 00 04 */ lwz r4, 4(r3) +/* 80276A50 002739B0 28 04 00 00 */ cmplwi r4, 0 +/* 80276A54 002739B4 41 82 00 B0 */ beq lbl_80276B04 +/* 80276A58 002739B8 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80276A5C 002739BC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276A60 002739C0 C0 1C 00 50 */ lfs f0, 0x50(r28) +/* 80276A64 002739C4 C0 DC 00 48 */ lfs f6, 0x48(r28) +/* 80276A68 002739C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80276A6C 002739CC C0 44 00 40 */ lfs f2, 0x40(r4) +/* 80276A70 002739D0 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80276A74 002739D4 C0 3C 00 38 */ lfs f1, 0x38(r28) +/* 80276A78 002739D8 EC A2 00 28 */ fsubs f5, f2, f0 +/* 80276A7C 002739DC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80276A80 002739E0 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80276A84 002739E4 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80276A88 002739E8 C0 9C 00 58 */ lfs f4, 0x58(r28) +/* 80276A8C 002739EC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80276A90 002739F0 EC 01 01 7A */ fmadds f0, f1, f5, f0 +/* 80276A94 002739F4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80276A98 002739F8 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 80276A9C 002739FC EC 24 00 BA */ fmadds f1, f4, f2, f0 +/* 80276AA0 00273A00 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80276AA4 00273A04 41 82 00 24 */ beq lbl_80276AC8 +/* 80276AA8 00273A08 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276AAC 00273A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276AB0 00273A10 40 81 00 18 */ ble lbl_80276AC8 +/* 80276AB4 00273A14 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80276AB8 00273A18 40 81 00 10 */ ble lbl_80276AC8 +/* 80276ABC 00273A1C FF E0 08 90 */ fmr f31, f1 +/* 80276AC0 00273A20 A3 E1 00 14 */ lhz r31, 0x14(r1) +/* 80276AC4 00273A24 48 00 00 28 */ b lbl_80276AEC +lbl_80276AC8: +/* 80276AC8 00273A28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80276ACC 00273A2C 40 82 00 20 */ bne lbl_80276AEC +/* 80276AD0 00273A30 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80276AD4 00273A34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80276AD8 00273A38 40 80 00 14 */ bge lbl_80276AEC +/* 80276ADC 00273A3C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80276AE0 00273A40 40 80 00 0C */ bge lbl_80276AEC +/* 80276AE4 00273A44 A3 E1 00 14 */ lhz r31, 0x14(r1) +/* 80276AE8 00273A48 FF E0 08 90 */ fmr f31, f1 +lbl_80276AEC: +/* 80276AEC 00273A4C 7F A5 EB 78 */ mr r5, r29 +/* 80276AF0 00273A50 38 61 00 08 */ addi r3, r1, 8 +/* 80276AF4 00273A54 4B E0 06 41 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80276AF8 00273A58 A0 01 00 08 */ lhz r0, 8(r1) +/* 80276AFC 00273A5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276B00 00273A60 48 00 00 0C */ b lbl_80276B0C +lbl_80276B04: +/* 80276B04 00273A64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276B08 00273A68 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_80276B0C: +/* 80276B0C 00273A6C A0 61 00 14 */ lhz r3, 0x14(r1) +/* 80276B10 00273A70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276B14 00273A74 7C 03 00 40 */ cmplw r3, r0 +/* 80276B18 00273A78 40 82 FF 14 */ bne lbl_80276A2C +/* 80276B1C 00273A7C B3 FB 00 00 */ sth r31, 0(r27) +/* 80276B20 00273A80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80276B24 00273A84 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80276B28 00273A88 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80276B2C 00273A8C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276B30 00273A90 7C 08 03 A6 */ mtlr r0 +/* 80276B34 00273A94 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276B38 00273A98 4E 80 00 20 */ blr + +.global sub_80276b3c +sub_80276b3c: +/* 80276B3C 00273A9C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80276B40 00273AA0 7C 08 02 A6 */ mflr r0 +/* 80276B44 00273AA4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80276B48 00273AA8 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80276B4C 00273AAC 7C BA 2B 78 */ mr r26, r5 +/* 80276B50 00273AB0 7C 79 1B 78 */ mr r25, r3 +/* 80276B54 00273AB4 7C DB 33 78 */ mr r27, r6 +/* 80276B58 00273AB8 7C FC 3B 78 */ mr r28, r7 +/* 80276B5C 00273ABC 7F 43 D3 78 */ mr r3, r26 +/* 80276B60 00273AC0 A0 04 05 68 */ lhz r0, 0x568(r4) +/* 80276B64 00273AC4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80276B68 00273AC8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80276B6C 00273ACC 4B DD 5A 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276B70 00273AD0 7C 64 1B 78 */ mr r4, r3 +/* 80276B74 00273AD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80276B78 00273AD8 4B E3 65 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276B7C 00273ADC 83 A3 00 04 */ lwz r29, 4(r3) +/* 80276B80 00273AE0 28 1D 00 00 */ cmplwi r29, 0 +/* 80276B84 00273AE4 41 82 01 90 */ beq lbl_80276D14 +/* 80276B88 00273AE8 38 00 00 00 */ li r0, 0 +/* 80276B8C 00273AEC 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 80276B90 00273AF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276B94 00273AF4 3B C1 00 28 */ addi r30, r1, 0x28 +/* 80276B98 00273AF8 48 00 00 94 */ b lbl_80276C2C +lbl_80276B9C: +/* 80276B9C 00273AFC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276BA0 00273B00 7C 1B 00 00 */ cmpw r27, r0 +/* 80276BA4 00273B04 40 82 00 84 */ bne lbl_80276C28 +/* 80276BA8 00273B08 80 1F 00 04 */ lwz r0, 4(r31) +/* 80276BAC 00273B0C 7C 1C 00 00 */ cmpw r28, r0 +/* 80276BB0 00273B10 40 82 00 78 */ bne lbl_80276C28 +/* 80276BB4 00273B14 80 1F 00 08 */ lwz r0, 8(r31) +/* 80276BB8 00273B18 7F 44 D3 78 */ mr r4, r26 +/* 80276BBC 00273B1C 38 61 00 0C */ addi r3, r1, 0xc +/* 80276BC0 00273B20 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80276BC4 00273B24 90 01 00 18 */ stw r0, 0x18(r1) +/* 80276BC8 00273B28 4B DD 13 55 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80276BCC 00273B2C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80276BD0 00273B30 7F 43 D3 78 */ mr r3, r26 +/* 80276BD4 00273B34 38 81 00 08 */ addi r4, r1, 8 +/* 80276BD8 00273B38 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80276BDC 00273B3C B0 01 00 08 */ sth r0, 8(r1) +/* 80276BE0 00273B40 4B DD 59 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80276BE4 00273B44 28 03 00 00 */ cmplwi r3, 0 +/* 80276BE8 00273B48 41 82 00 40 */ beq lbl_80276C28 +/* 80276BEC 00273B4C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80276BF0 00273B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276BF4 00273B54 41 82 00 34 */ beq lbl_80276C28 +/* 80276BF8 00273B58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276BFC 00273B5C 54 00 08 3C */ slwi r0, r0, 1 +/* 80276C00 00273B60 7C 7E 02 15 */ add. r3, r30, r0 +/* 80276C04 00273B64 41 82 00 0C */ beq lbl_80276C10 +/* 80276C08 00273B68 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276C0C 00273B6C B0 03 00 00 */ sth r0, 0(r3) +lbl_80276C10: +/* 80276C10 00273B70 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80276C14 00273B74 38 63 00 01 */ addi r3, r3, 1 +/* 80276C18 00273B78 20 03 00 08 */ subfic r0, r3, 8 +/* 80276C1C 00273B7C 90 61 00 24 */ stw r3, 0x24(r1) +/* 80276C20 00273B80 2C 00 00 00 */ cmpwi r0, 0 +/* 80276C24 00273B84 40 81 00 20 */ ble lbl_80276C44 +lbl_80276C28: +/* 80276C28 00273B88 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80276C2C: +/* 80276C2C 00273B8C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80276C30 00273B90 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80276C34 00273B94 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80276C38 00273B98 7C 03 02 14 */ add r0, r3, r0 +/* 80276C3C 00273B9C 7C 1F 00 40 */ cmplw r31, r0 +/* 80276C40 00273BA0 40 82 FF 5C */ bne lbl_80276B9C +lbl_80276C44: +/* 80276C44 00273BA4 83 61 00 24 */ lwz r27, 0x24(r1) +/* 80276C48 00273BA8 2C 1B 00 00 */ cmpwi r27, 0 +/* 80276C4C 00273BAC 41 82 00 7C */ beq lbl_80276CC8 +/* 80276C50 00273BB0 80 7A 09 00 */ lwz r3, 0x900(r26) +/* 80276C54 00273BB4 48 09 B8 CD */ bl Next__9CRandom16Fv +/* 80276C58 00273BB8 7C 03 DB D6 */ divw r0, r3, r27 +/* 80276C5C 00273BBC 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80276C60 00273BC0 38 80 00 00 */ li r4, 0 +/* 80276C64 00273BC4 2C 05 00 00 */ cmpwi r5, 0 +/* 80276C68 00273BC8 7C 00 D9 D6 */ mullw r0, r0, r27 +/* 80276C6C 00273BCC 7C 00 18 50 */ subf r0, r0, r3 +/* 80276C70 00273BD0 54 00 08 3C */ slwi r0, r0, 1 +/* 80276C74 00273BD4 7C 1E 02 2E */ lhzx r0, r30, r0 +/* 80276C78 00273BD8 B0 19 00 00 */ sth r0, 0(r25) +/* 80276C7C 00273BDC 40 81 00 40 */ ble lbl_80276CBC +/* 80276C80 00273BE0 2C 05 00 08 */ cmpwi r5, 8 +/* 80276C84 00273BE4 38 65 FF F8 */ addi r3, r5, -8 +/* 80276C88 00273BE8 40 81 00 20 */ ble lbl_80276CA8 +/* 80276C8C 00273BEC 38 03 00 07 */ addi r0, r3, 7 +/* 80276C90 00273BF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276C94 00273BF4 7C 09 03 A6 */ mtctr r0 +/* 80276C98 00273BF8 2C 03 00 00 */ cmpwi r3, 0 +/* 80276C9C 00273BFC 40 81 00 0C */ ble lbl_80276CA8 +lbl_80276CA0: +/* 80276CA0 00273C00 38 84 00 08 */ addi r4, r4, 8 +/* 80276CA4 00273C04 42 00 FF FC */ bdnz lbl_80276CA0 +lbl_80276CA8: +/* 80276CA8 00273C08 7C 04 28 50 */ subf r0, r4, r5 +/* 80276CAC 00273C0C 7C 09 03 A6 */ mtctr r0 +/* 80276CB0 00273C10 7C 04 28 00 */ cmpw r4, r5 +/* 80276CB4 00273C14 40 80 00 08 */ bge lbl_80276CBC +lbl_80276CB8: +/* 80276CB8 00273C18 42 00 00 00 */ bdnz lbl_80276CB8 +lbl_80276CBC: +/* 80276CBC 00273C1C 38 00 00 00 */ li r0, 0 +/* 80276CC0 00273C20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276CC4 00273C24 48 00 00 58 */ b lbl_80276D1C +lbl_80276CC8: +/* 80276CC8 00273C28 38 60 00 00 */ li r3, 0 +/* 80276CCC 00273C2C 40 81 00 40 */ ble lbl_80276D0C +/* 80276CD0 00273C30 2C 1B 00 08 */ cmpwi r27, 8 +/* 80276CD4 00273C34 38 9B FF F8 */ addi r4, r27, -8 +/* 80276CD8 00273C38 40 81 00 20 */ ble lbl_80276CF8 +/* 80276CDC 00273C3C 38 04 00 07 */ addi r0, r4, 7 +/* 80276CE0 00273C40 54 00 E8 FE */ srwi r0, r0, 3 +/* 80276CE4 00273C44 7C 09 03 A6 */ mtctr r0 +/* 80276CE8 00273C48 2C 04 00 00 */ cmpwi r4, 0 +/* 80276CEC 00273C4C 40 81 00 0C */ ble lbl_80276CF8 +lbl_80276CF0: +/* 80276CF0 00273C50 38 63 00 08 */ addi r3, r3, 8 +/* 80276CF4 00273C54 42 00 FF FC */ bdnz lbl_80276CF0 +lbl_80276CF8: +/* 80276CF8 00273C58 7C 03 D8 50 */ subf r0, r3, r27 +/* 80276CFC 00273C5C 7C 09 03 A6 */ mtctr r0 +/* 80276D00 00273C60 7C 03 D8 00 */ cmpw r3, r27 +/* 80276D04 00273C64 40 80 00 08 */ bge lbl_80276D0C +lbl_80276D08: +/* 80276D08 00273C68 42 00 00 00 */ bdnz lbl_80276D08 +lbl_80276D0C: +/* 80276D0C 00273C6C 38 00 00 00 */ li r0, 0 +/* 80276D10 00273C70 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80276D14: +/* 80276D14 00273C74 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D18 00273C78 B0 19 00 00 */ sth r0, 0(r25) +lbl_80276D1C: +/* 80276D1C 00273C7C BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80276D20 00273C80 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276D24 00273C84 7C 08 03 A6 */ mtlr r0 +/* 80276D28 00273C88 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276D2C 00273C8C 4E 80 00 20 */ blr + +.global sub_80276d30 +sub_80276d30: +/* 80276D30 00273C90 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80276D34 00273C94 7C 08 02 A6 */ mflr r0 +/* 80276D38 00273C98 90 01 00 64 */ stw r0, 0x64(r1) +/* 80276D3C 00273C9C BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80276D40 00273CA0 7C 7D 1B 78 */ mr r29, r3 +/* 80276D44 00273CA4 7C 9E 23 78 */ mr r30, r4 +/* 80276D48 00273CA8 7C BF 2B 78 */ mr r31, r5 +/* 80276D4C 00273CAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D50 00273CB0 A0 63 05 68 */ lhz r3, 0x568(r3) +/* 80276D54 00273CB4 7C 03 00 40 */ cmplw r3, r0 +/* 80276D58 00273CB8 41 82 00 3C */ beq lbl_80276D94 +/* 80276D5C 00273CBC A0 1D 05 68 */ lhz r0, 0x568(r29) +/* 80276D60 00273CC0 7F C3 F3 78 */ mr r3, r30 +/* 80276D64 00273CC4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80276D68 00273CC8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80276D6C 00273CCC 4B DD 58 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276D70 00273CD0 7C 64 1B 78 */ mr r4, r3 +/* 80276D74 00273CD4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80276D78 00273CD8 4B E3 63 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276D7C 00273CDC 80 63 00 04 */ lwz r3, 4(r3) +/* 80276D80 00273CE0 28 03 00 00 */ cmplwi r3, 0 +/* 80276D84 00273CE4 41 82 00 10 */ beq lbl_80276D94 +/* 80276D88 00273CE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80276D8C 00273CEC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80276D90 00273CF0 B0 03 00 34 */ sth r0, 0x34(r3) +lbl_80276D94: +/* 80276D94 00273CF4 83 9E 08 10 */ lwz r28, 0x810(r30) +/* 80276D98 00273CF8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276D9C 00273CFC AB 7C 20 08 */ lha r27, 0x2008(r28) +/* 80276DA0 00273D00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276DA4 00273D04 48 00 00 6C */ b lbl_80276E10 +lbl_80276DA8: +/* 80276DA8 00273D08 7F 83 E3 78 */ mr r3, r28 +/* 80276DAC 00273D0C 7F 64 DB 78 */ mr r4, r27 +/* 80276DB0 00273D10 4B D9 8F 65 */ bl __vc__11CObjectListFi +/* 80276DB4 00273D14 7C 60 1B 78 */ mr r0, r3 +/* 80276DB8 00273D18 38 61 00 28 */ addi r3, r1, 0x28 +/* 80276DBC 00273D1C 7C 04 03 78 */ mr r4, r0 +/* 80276DC0 00273D20 4B E3 63 29 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276DC4 00273D24 80 83 00 04 */ lwz r4, 4(r3) +/* 80276DC8 00273D28 28 04 00 00 */ cmplwi r4, 0 +/* 80276DCC 00273D2C 41 82 00 28 */ beq lbl_80276DF4 +/* 80276DD0 00273D30 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80276DD4 00273D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276DD8 00273D38 41 82 00 1C */ beq lbl_80276DF4 +/* 80276DDC 00273D3C 80 64 00 04 */ lwz r3, 4(r4) +/* 80276DE0 00273D40 80 1F 00 00 */ lwz r0, 0(r31) +/* 80276DE4 00273D44 7C 03 00 00 */ cmpw r3, r0 +/* 80276DE8 00273D48 40 82 00 0C */ bne lbl_80276DF4 +/* 80276DEC 00273D4C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80276DF0 00273D50 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80276DF4: +/* 80276DF4 00273D54 2C 1B FF FF */ cmpwi r27, -1 +/* 80276DF8 00273D58 41 82 00 14 */ beq lbl_80276E0C +/* 80276DFC 00273D5C 57 63 18 38 */ slwi r3, r27, 3 +/* 80276E00 00273D60 38 03 00 08 */ addi r0, r3, 8 +/* 80276E04 00273D64 7F 7C 02 AE */ lhax r27, r28, r0 +/* 80276E08 00273D68 48 00 00 08 */ b lbl_80276E10 +lbl_80276E0C: +/* 80276E0C 00273D6C 3B 60 FF FF */ li r27, -1 +lbl_80276E10: +/* 80276E10 00273D70 2C 1B FF FF */ cmpwi r27, -1 +/* 80276E14 00273D74 40 82 FF 94 */ bne lbl_80276DA8 +/* 80276E18 00273D78 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80276E1C 00273D7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276E20 00273D80 B0 7D 05 68 */ sth r3, 0x568(r29) +/* 80276E24 00273D84 54 03 01 BE */ clrlwi r3, r0, 6 +/* 80276E28 00273D88 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276E2C 00273D8C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80276E30 00273D90 7C 03 00 40 */ cmplw r3, r0 +/* 80276E34 00273D94 41 82 00 60 */ beq lbl_80276E94 +/* 80276E38 00273D98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276E3C 00273D9C 7F C4 F3 78 */ mr r4, r30 +/* 80276E40 00273DA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80276E44 00273DA4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80276E48 00273DA8 90 01 00 20 */ stw r0, 0x20(r1) +/* 80276E4C 00273DAC 4B DD 10 D1 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80276E50 00273DB0 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80276E54 00273DB4 7F C3 F3 78 */ mr r3, r30 +/* 80276E58 00273DB8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80276E5C 00273DBC B0 1D 05 68 */ sth r0, 0x568(r29) +/* 80276E60 00273DC0 A0 1D 05 68 */ lhz r0, 0x568(r29) +/* 80276E64 00273DC4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80276E68 00273DC8 4B DD 57 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80276E6C 00273DCC 7C 64 1B 78 */ mr r4, r3 +/* 80276E70 00273DD0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80276E74 00273DD4 4B E3 62 75 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276E78 00273DD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80276E7C 00273DDC 28 03 00 00 */ cmplwi r3, 0 +/* 80276E80 00273DE0 41 82 00 14 */ beq lbl_80276E94 +/* 80276E84 00273DE4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80276E88 00273DE8 B0 01 00 08 */ sth r0, 8(r1) +/* 80276E8C 00273DEC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80276E90 00273DF0 B0 03 00 34 */ sth r0, 0x34(r3) +lbl_80276E94: +/* 80276E94 00273DF4 7F A3 EB 78 */ mr r3, r29 +/* 80276E98 00273DF8 7F C4 F3 78 */ mr r4, r30 +/* 80276E9C 00273DFC 4B FF F8 B9 */ bl sub_80276754 +/* 80276EA0 00273E00 7F A3 EB 78 */ mr r3, r29 +/* 80276EA4 00273E04 7F C4 F3 78 */ mr r4, r30 +/* 80276EA8 00273E08 4B FF CE 91 */ bl sub_80273d38 +/* 80276EAC 00273E0C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80276EB0 00273E10 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80276EB4 00273E14 7C 08 03 A6 */ mtlr r0 +/* 80276EB8 00273E18 38 21 00 60 */ addi r1, r1, 0x60 +/* 80276EBC 00273E1C 4E 80 00 20 */ blr + +.global sub_80276ec0 +sub_80276ec0: +/* 80276EC0 00273E20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80276EC4 00273E24 7C 08 02 A6 */ mflr r0 +/* 80276EC8 00273E28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80276ECC 00273E2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80276ED0 00273E30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80276ED4 00273E34 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80276ED8 00273E38 93 81 00 10 */ stw r28, 0x10(r1) +/* 80276EDC 00273E3C 7C BC 2B 78 */ mr r28, r5 +/* 80276EE0 00273E40 83 E4 08 10 */ lwz r31, 0x810(r4) +/* 80276EE4 00273E44 83 CD A3 88 */ lwz r30, lbl_805A8F48@sda21(r13) +/* 80276EE8 00273E48 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 80276EEC 00273E4C 48 00 00 68 */ b lbl_80276F54 +lbl_80276EF0: +/* 80276EF0 00273E50 7F E3 FB 78 */ mr r3, r31 +/* 80276EF4 00273E54 7F A4 EB 78 */ mr r4, r29 +/* 80276EF8 00273E58 4B D9 8D E5 */ bl __vc__11CObjectListCFi +/* 80276EFC 00273E5C 7C 60 1B 78 */ mr r0, r3 +/* 80276F00 00273E60 38 61 00 08 */ addi r3, r1, 8 +/* 80276F04 00273E64 7C 04 03 78 */ mr r4, r0 +/* 80276F08 00273E68 4B E3 61 E1 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" +/* 80276F0C 00273E6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80276F10 00273E70 28 04 00 00 */ cmplwi r4, 0 +/* 80276F14 00273E74 41 82 00 24 */ beq lbl_80276F38 +/* 80276F18 00273E78 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80276F1C 00273E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80276F20 00273E80 41 82 00 18 */ beq lbl_80276F38 +/* 80276F24 00273E84 80 64 00 04 */ lwz r3, 4(r4) +/* 80276F28 00273E88 80 1C 00 00 */ lwz r0, 0(r28) +/* 80276F2C 00273E8C 7C 03 00 00 */ cmpw r3, r0 +/* 80276F30 00273E90 40 82 00 08 */ bne lbl_80276F38 +/* 80276F34 00273E94 83 C4 00 0C */ lwz r30, 0xc(r4) +lbl_80276F38: +/* 80276F38 00273E98 2C 1D FF FF */ cmpwi r29, -1 +/* 80276F3C 00273E9C 41 82 00 14 */ beq lbl_80276F50 +/* 80276F40 00273EA0 57 A3 18 38 */ slwi r3, r29, 3 +/* 80276F44 00273EA4 38 03 00 08 */ addi r0, r3, 8 +/* 80276F48 00273EA8 7F BF 02 AE */ lhax r29, r31, r0 +/* 80276F4C 00273EAC 48 00 00 08 */ b lbl_80276F54 +lbl_80276F50: +/* 80276F50 00273EB0 3B A0 FF FF */ li r29, -1 +lbl_80276F54: +/* 80276F54 00273EB4 2C 1D FF FF */ cmpwi r29, -1 +/* 80276F58 00273EB8 40 82 FF 98 */ bne lbl_80276EF0 +/* 80276F5C 00273EBC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80276F60 00273EC0 57 C4 01 BE */ clrlwi r4, r30, 6 +/* 80276F64 00273EC4 54 00 01 BE */ clrlwi r0, r0, 6 +/* 80276F68 00273EC8 7C 64 00 50 */ subf r3, r4, r0 +/* 80276F6C 00273ECC 7C 00 20 50 */ subf r0, r0, r4 +/* 80276F70 00273ED0 7C 60 03 78 */ or r0, r3, r0 +/* 80276F74 00273ED4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80276F78 00273ED8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80276F7C 00273EDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80276F80 00273EE0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80276F84 00273EE4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80276F88 00273EE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80276F8C 00273EEC 7C 08 03 A6 */ mtlr r0 +/* 80276F90 00273EF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80276F94 00273EF4 4E 80 00 20 */ blr + +.global AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager: +/* 80276F98 00273EF8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80276F9C 00273EFC 7C 08 02 A6 */ mflr r0 +/* 80276FA0 00273F00 90 01 00 94 */ stw r0, 0x94(r1) +/* 80276FA4 00273F04 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80276FA8 00273F08 7C 7B 1B 78 */ mr r27, r3 +/* 80276FAC 00273F0C 7C 9C 23 78 */ mr r28, r4 +/* 80276FB0 00273F10 4B E0 09 09 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 80276FB4 00273F14 80 9B 0C 54 */ lwz r4, 0xc54(r27) +/* 80276FB8 00273F18 38 61 00 5C */ addi r3, r1, 0x5c +/* 80276FBC 00273F1C 81 84 00 00 */ lwz r12, 0(r4) +/* 80276FC0 00273F20 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80276FC4 00273F24 7D 89 03 A6 */ mtctr r12 +/* 80276FC8 00273F28 4E 80 04 21 */ bctrl +/* 80276FCC 00273F2C 7F 83 E3 78 */ mr r3, r28 +/* 80276FD0 00273F30 38 81 00 5C */ addi r4, r1, 0x5c +/* 80276FD4 00273F34 48 0C E1 B5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80276FD8 00273F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80276FDC 00273F3C 38 60 00 00 */ li r3, 0 +/* 80276FE0 00273F40 98 61 00 74 */ stb r3, 0x74(r1) +/* 80276FE4 00273F44 41 82 00 1C */ beq lbl_80277000 +/* 80276FE8 00273F48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80276FEC 00273F4C 80 9B 0C 54 */ lwz r4, 0xc54(r27) +/* 80276FF0 00273F50 81 83 00 00 */ lwz r12, 0(r3) +/* 80276FF4 00273F54 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80276FF8 00273F58 7D 89 03 A6 */ mtctr r12 +/* 80276FFC 00273F5C 4E 80 04 21 */ bctrl +lbl_80277000: +/* 80277000 00273F60 80 9B 0F B0 */ lwz r4, 0xfb0(r27) +/* 80277004 00273F64 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277008 00273F68 81 84 00 00 */ lwz r12, 0(r4) +/* 8027700C 00273F6C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80277010 00273F70 7D 89 03 A6 */ mtctr r12 +/* 80277014 00273F74 4E 80 04 21 */ bctrl +/* 80277018 00273F78 7F 83 E3 78 */ mr r3, r28 +/* 8027701C 00273F7C 38 81 00 40 */ addi r4, r1, 0x40 +/* 80277020 00273F80 48 0C E1 69 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80277024 00273F84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277028 00273F88 38 60 00 00 */ li r3, 0 +/* 8027702C 00273F8C 98 61 00 58 */ stb r3, 0x58(r1) +/* 80277030 00273F90 41 82 00 1C */ beq lbl_8027704C +/* 80277034 00273F94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277038 00273F98 80 9B 0F B0 */ lwz r4, 0xfb0(r27) +/* 8027703C 00273F9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80277040 00273FA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80277044 00273FA4 7D 89 03 A6 */ mtctr r12 +/* 80277048 00273FA8 4E 80 04 21 */ bctrl +lbl_8027704C: +/* 8027704C 00273FAC 80 9B 10 28 */ lwz r4, 0x1028(r27) +/* 80277050 00273FB0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80277054 00273FB4 81 84 00 00 */ lwz r12, 0(r4) +/* 80277058 00273FB8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8027705C 00273FBC 7D 89 03 A6 */ mtctr r12 +/* 80277060 00273FC0 4E 80 04 21 */ bctrl +/* 80277064 00273FC4 7F 83 E3 78 */ mr r3, r28 +/* 80277068 00273FC8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027706C 00273FCC 48 0C E1 1D */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80277070 00273FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277074 00273FD4 38 60 00 00 */ li r3, 0 +/* 80277078 00273FD8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8027707C 00273FDC 41 82 00 1C */ beq lbl_80277098 +/* 80277080 00273FE0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277084 00273FE4 80 9B 10 28 */ lwz r4, 0x1028(r27) +/* 80277088 00273FE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027708C 00273FEC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80277090 00273FF0 7D 89 03 A6 */ mtctr r12 +/* 80277094 00273FF4 4E 80 04 21 */ bctrl +lbl_80277098: +/* 80277098 00273FF8 3B FB 0F F0 */ addi r31, r27, 0xff0 +/* 8027709C 00273FFC 3B DB 10 04 */ addi r30, r27, 0x1004 +/* 802770A0 00274000 3B A0 00 00 */ li r29, 0 +lbl_802770A4: +/* 802770A4 00274004 80 9F 00 04 */ lwz r4, 4(r31) +/* 802770A8 00274008 38 61 00 08 */ addi r3, r1, 8 +/* 802770AC 0027400C 81 84 00 00 */ lwz r12, 0(r4) +/* 802770B0 00274010 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802770B4 00274014 7D 89 03 A6 */ mtctr r12 +/* 802770B8 00274018 4E 80 04 21 */ bctrl +/* 802770BC 0027401C 7F 83 E3 78 */ mr r3, r28 +/* 802770C0 00274020 38 81 00 08 */ addi r4, r1, 8 +/* 802770C4 00274024 48 0C E0 C5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 802770C8 00274028 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802770CC 0027402C 38 60 00 00 */ li r3, 0 +/* 802770D0 00274030 98 61 00 20 */ stb r3, 0x20(r1) +/* 802770D4 00274034 41 82 00 1C */ beq lbl_802770F0 +/* 802770D8 00274038 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802770DC 0027403C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802770E0 00274040 81 83 00 00 */ lwz r12, 0(r3) +/* 802770E4 00274044 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802770E8 00274048 7D 89 03 A6 */ mtctr r12 +/* 802770EC 0027404C 4E 80 04 21 */ bctrl +lbl_802770F0: +/* 802770F0 00274050 88 1B 10 54 */ lbz r0, 0x1054(r27) +/* 802770F4 00274054 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802770F8 00274058 41 82 00 1C */ beq lbl_80277114 +/* 802770FC 0027405C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277100 00274060 80 9E 00 04 */ lwz r4, 4(r30) +/* 80277104 00274064 81 83 00 00 */ lwz r12, 0(r3) +/* 80277108 00274068 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027710C 0027406C 7D 89 03 A6 */ mtctr r12 +/* 80277110 00274070 4E 80 04 21 */ bctrl +lbl_80277114: +/* 80277114 00274074 3B BD 00 01 */ addi r29, r29, 1 +/* 80277118 00274078 3B DE 00 08 */ addi r30, r30, 8 +/* 8027711C 0027407C 2C 1D 00 02 */ cmpwi r29, 2 +/* 80277120 00274080 3B FF 00 08 */ addi r31, r31, 8 +/* 80277124 00274084 41 80 FF 80 */ blt lbl_802770A4 +/* 80277128 00274088 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 8027712C 0027408C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80277130 00274090 7C 08 03 A6 */ mtlr r0 +/* 80277134 00274094 38 21 00 90 */ addi r1, r1, 0x90 +/* 80277138 00274098 4E 80 00 20 */ blr + +.global CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager +CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager: +/* 8027713C 0027409C 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80277140 002740A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80277144 002740A4 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80277148 002740A8 20 64 00 01 */ subfic r3, r4, 1 +/* 8027714C 002740AC 38 04 FF FF */ addi r0, r4, -1 +/* 80277150 002740B0 7C 60 03 78 */ or r0, r3, r0 +/* 80277154 002740B4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80277158 002740B8 4E 80 00 20 */ blr + +.global Render__16CMetroidPrimeExoCFRC13CStateManager +Render__16CMetroidPrimeExoCFRC13CStateManager: +/* 8027715C 002740BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80277160 002740C0 7C 08 02 A6 */ mflr r0 +/* 80277164 002740C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80277168 002740C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027716C 002740CC 7C 9F 23 78 */ mr r31, r4 +/* 80277170 002740D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80277174 002740D4 7C 7E 1B 78 */ mr r30, r3 +/* 80277178 002740D8 38 9E 08 D8 */ addi r4, r30, 0x8d8 +/* 8027717C 002740DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80277180 002740E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80277184 002740E4 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80277188 002740E8 7D 89 03 A6 */ mtctr r12 +/* 8027718C 002740EC 4E 80 04 21 */ bctrl +/* 80277190 002740F0 7F C3 F3 78 */ mr r3, r30 +/* 80277194 002740F4 7F E4 FB 78 */ mr r4, r31 +/* 80277198 002740F8 4B E0 0E 95 */ bl Render__10CPatternedCFRC13CStateManager +/* 8027719C 002740FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802771A0 00274100 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802771A4 00274104 83 C1 00 08 */ lwz r30, 8(r1) +/* 802771A8 00274108 7C 08 03 A6 */ mtlr r0 +/* 802771AC 0027410C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802771B0 00274110 4E 80 00 20 */ blr + +.global PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes +PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes: +/* 802771B4 00274114 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802771B8 00274118 7C 08 02 A6 */ mflr r0 +/* 802771BC 0027411C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802771C0 00274120 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802771C4 00274124 7C 9F 23 78 */ mr r31, r4 +/* 802771C8 00274128 93 C1 00 08 */ stw r30, 8(r1) +/* 802771CC 0027412C 7C 7E 1B 78 */ mr r30, r3 +/* 802771D0 00274130 4B E0 11 0D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 802771D4 00274134 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802771D8 00274138 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 802771DC 0027413C 39 04 66 A0 */ addi r8, r4, skZero3f@l +/* 802771E0 00274140 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 802771E4 00274144 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 802771E8 00274148 7F E4 FB 78 */ mr r4, r31 +/* 802771EC 0027414C C0 42 BC 40 */ lfs f2, lbl_805AD960@sda21(r2) +/* 802771F0 00274150 38 DE 00 34 */ addi r6, r30, 0x34 +/* 802771F4 00274154 38 E0 00 01 */ li r7, 1 +/* 802771F8 00274158 48 02 6B 91 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +/* 802771FC 0027415C C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) +/* 80277200 00274160 80 7E 14 3C */ lwz r3, 0x143c(r30) +/* 80277204 00274164 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 80277208 00274168 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027720C 0027416C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80277210 00274170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80277214 00274174 7C 08 03 A6 */ mtlr r0 +/* 80277218 00274178 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027721C 0027417C 4E 80 00 20 */ blr + +.global Touch__16CMetroidPrimeExoFR6CActorR13CStateManager +Touch__16CMetroidPrimeExoFR6CActorR13CStateManager: +/* 80277220 00274180 4E 80 00 20 */ blr + +.global sub_80277224 +sub_80277224: +/* 80277224 00274184 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80277228 00274188 7C 08 02 A6 */ mflr r0 +/* 8027722C 0027418C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80277230 00274190 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80277234 00274194 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80277238 00274198 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8027723C 0027419C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80277240 002741A0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80277244 002741A4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80277248 002741A8 FF E0 08 90 */ fmr f31, f1 +/* 8027724C 002741AC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277250 002741B0 7C 7E 1B 78 */ mr r30, r3 +/* 80277254 002741B4 7C 9F 23 78 */ mr r31, r4 +/* 80277258 002741B8 7F C4 F3 78 */ mr r4, r30 +/* 8027725C 002741BC 38 61 00 0C */ addi r3, r1, 0xc +/* 80277260 002741C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80277264 002741C4 7F E5 FB 78 */ mr r5, r31 +/* 80277268 002741C8 4C 41 13 82 */ cror 2, 1, 2 +/* 8027726C 002741CC 7C 00 00 26 */ mfcr r0 +/* 80277270 002741D0 54 06 1F FE */ rlwinm r6, r0, 3, 0x1f, 0x1f +/* 80277274 002741D4 4B FF F7 6D */ bl sub_802769e0 +/* 80277278 002741D8 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8027727C 002741DC 7F E3 FB 78 */ mr r3, r31 +/* 80277280 002741E0 38 81 00 08 */ addi r4, r1, 8 +/* 80277284 002741E4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80277288 002741E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027728C 002741EC 4B DD 53 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80277290 002741F0 7C 64 1B 78 */ mr r4, r3 +/* 80277294 002741F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80277298 002741F8 4B E2 F2 B5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8027729C 002741FC 80 A3 00 04 */ lwz r5, 4(r3) +/* 802772A0 00274200 28 05 00 00 */ cmplwi r5, 0 +/* 802772A4 00274204 41 82 00 B0 */ beq lbl_80277354 +/* 802772A8 00274208 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 802772AC 0027420C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802772B0 00274210 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802772B4 00274214 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802772B8 00274218 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 802772BC 0027421C EC 61 00 28 */ fsubs f3, f1, f0 +/* 802772C0 00274220 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 802772C4 00274224 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802772C8 00274228 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 802772CC 0027422C C0 85 00 60 */ lfs f4, 0x60(r5) +/* 802772D0 00274230 EC A1 00 28 */ fsubs f5, f1, f0 +/* 802772D4 00274234 C0 04 00 00 */ lfs f0, 0(r4) +/* 802772D8 00274238 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802772DC 0027423C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 802772E0 00274240 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802772E4 00274244 C0 FE 00 58 */ lfs f7, 0x58(r30) +/* 802772E8 00274248 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802772EC 0027424C C0 04 00 04 */ lfs f0, 4(r4) +/* 802772F0 00274250 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802772F4 00274254 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802772F8 00274258 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802772FC 0027425C EF C7 08 FA */ fmadds f30, f7, f3, f1 +/* 80277300 00274260 C0 04 00 08 */ lfs f0, 8(r4) +/* 80277304 00274264 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 80277308 00274268 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 8027730C 0027426C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80277310 00274270 48 09 D5 A9 */ bl Magnitude__9CVector3fCFv +/* 80277314 00274274 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277318 00274278 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) +/* 8027731C 0027427C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80277320 00274280 EC 02 00 72 */ fmuls f0, f2, f1 +/* 80277324 00274284 4C 41 13 82 */ cror 2, 1, 2 +/* 80277328 00274288 40 82 00 18 */ bne lbl_80277340 +/* 8027732C 0027428C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80277330 00274290 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80277334 00274294 7C 00 00 26 */ mfcr r0 +/* 80277338 00274298 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8027733C 0027429C 48 00 00 1C */ b lbl_80277358 +lbl_80277340: +/* 80277340 002742A0 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80277344 002742A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80277348 002742A8 7C 00 00 26 */ mfcr r0 +/* 8027734C 002742AC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80277350 002742B0 48 00 00 08 */ b lbl_80277358 +lbl_80277354: +/* 80277354 002742B4 38 60 00 00 */ li r3, 0 +lbl_80277358: +/* 80277358 002742B8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8027735C 002742BC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80277360 002742C0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80277364 002742C4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80277368 002742C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8027736C 002742CC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80277370 002742D0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80277374 002742D4 7C 08 03 A6 */ mtlr r0 +/* 80277378 002742D8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027737C 002742DC 4E 80 00 20 */ blr + +.global sub_80277380 +sub_80277380: +/* 80277380 002742E0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80277384 002742E4 7C 08 02 A6 */ mflr r0 +/* 80277388 002742E8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8027738C 002742EC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80277390 002742F0 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 80277394 002742F4 7C 9F 23 78 */ mr r31, r4 +/* 80277398 002742F8 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8027739C 002742FC 7C 7E 1B 78 */ mr r30, r3 +/* 802773A0 00274300 93 A1 01 04 */ stw r29, 0x104(r1) +/* 802773A4 00274304 93 81 01 00 */ stw r28, 0x100(r1) +/* 802773A8 00274308 7C BC 2B 78 */ mr r28, r5 +/* 802773AC 0027430C 41 82 01 34 */ beq lbl_802774E0 +/* 802773B0 00274310 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 802773B4 00274314 7F E3 FB 78 */ mr r3, r31 +/* 802773B8 00274318 38 81 00 0C */ addi r4, r1, 0xc +/* 802773BC 0027431C 90 1E 0C 58 */ stw r0, 0xc58(r30) +/* 802773C0 00274320 80 1E 0C 58 */ lwz r0, 0xc58(r30) +/* 802773C4 00274324 54 00 08 3C */ slwi r0, r0, 1 +/* 802773C8 00274328 7C BE 02 14 */ add r5, r30, r0 +/* 802773CC 0027432C A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 802773D0 00274330 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802773D4 00274334 4B DD 51 A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802773D8 00274338 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802773DC 0027433C 41 82 01 74 */ beq lbl_80277550 +/* 802773E0 00274340 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802773E4 00274344 41 82 01 6C */ beq lbl_80277550 +/* 802773E8 00274348 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 802773EC 0027434C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802773F0 00274350 40 82 01 60 */ bne lbl_80277550 +/* 802773F4 00274354 80 1D 01 2C */ lwz r0, 0x12c(r29) +/* 802773F8 00274358 2C 00 00 00 */ cmpwi r0, 0 +/* 802773FC 0027435C 40 82 00 18 */ bne lbl_80277414 +/* 80277400 00274360 80 1D 00 E8 */ lwz r0, 0xe8(r29) +/* 80277404 00274364 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 80277408 00274368 60 00 10 00 */ ori r0, r0, 0x1000 +/* 8027740C 0027436C 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 80277410 00274370 D0 1D 01 50 */ stfs f0, 0x150(r29) +lbl_80277414: +/* 80277414 00274374 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 80277418 00274378 38 61 00 28 */ addi r3, r1, 0x28 +/* 8027741C 0027437C 4B D8 D8 9D */ bl string_l__4rstlFPCc +/* 80277420 00274380 7F C4 F3 78 */ mr r4, r30 +/* 80277424 00274384 38 61 00 68 */ addi r3, r1, 0x68 +/* 80277428 00274388 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8027742C 0027438C 4B E0 15 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80277430 00274390 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80277434 00274394 38 81 00 68 */ addi r4, r1, 0x68 +/* 80277438 00274398 48 09 B7 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027743C 0027439C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80277440 002743A0 48 0C 66 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80277444 002743A4 7F C4 F3 78 */ mr r4, r30 +/* 80277448 002743A8 7F E5 FB 78 */ mr r5, r31 +/* 8027744C 002743AC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80277450 002743B0 48 00 04 75 */ bl sub_802778c4 +/* 80277454 002743B4 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80277458 002743B8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027745C 002743BC C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80277460 002743C0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80277464 002743C4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80277468 002743C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8027746C 002743CC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80277470 002743D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80277474 002743D4 D0 7E 0C 60 */ stfs f3, 0xc60(r30) +/* 80277478 002743D8 38 BE 0C 60 */ addi r5, r30, 0xc60 +/* 8027747C 002743DC D0 3E 0C 64 */ stfs f1, 0xc64(r30) +/* 80277480 002743E0 D0 5E 0C 68 */ stfs f2, 0xc68(r30) +/* 80277484 002743E4 D0 7E 0C 6C */ stfs f3, 0xc6c(r30) +/* 80277488 002743E8 D0 3E 0C 70 */ stfs f1, 0xc70(r30) +/* 8027748C 002743EC D0 5E 0C 74 */ stfs f2, 0xc74(r30) +/* 80277490 002743F0 D0 1E 0C 5C */ stfs f0, 0xc5c(r30) +/* 80277494 002743F4 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 80277498 002743F8 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 8027749C 002743FC C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802774A0 00274400 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802774A4 00274404 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802774A8 00274408 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802774AC 0027440C 48 09 C6 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802774B0 00274410 38 61 00 98 */ addi r3, r1, 0x98 +/* 802774B4 00274414 38 81 00 38 */ addi r4, r1, 0x38 +/* 802774B8 00274418 48 09 B6 BD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802774BC 0027441C 7F A3 EB 78 */ mr r3, r29 +/* 802774C0 00274420 7F E5 FB 78 */ mr r5, r31 +/* 802774C4 00274424 81 9D 00 00 */ lwz r12, 0(r29) +/* 802774C8 00274428 38 81 00 98 */ addi r4, r1, 0x98 +/* 802774CC 0027442C 38 C0 00 00 */ li r6, 0 +/* 802774D0 00274430 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 802774D4 00274434 7D 89 03 A6 */ mtctr r12 +/* 802774D8 00274438 4E 80 04 21 */ bctrl +/* 802774DC 0027443C 48 00 00 74 */ b lbl_80277550 +lbl_802774E0: +/* 802774E0 00274440 3B BE 0B 28 */ addi r29, r30, 0xb28 +/* 802774E4 00274444 3B 80 00 00 */ li r28, 0 +/* 802774E8 00274448 48 00 00 5C */ b lbl_80277544 +lbl_802774EC: +/* 802774EC 0027444C A0 7D 00 00 */ lhz r3, 0(r29) +/* 802774F0 00274450 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802774F4 00274454 7C 03 00 40 */ cmplw r3, r0 +/* 802774F8 00274458 41 82 00 44 */ beq lbl_8027753C +/* 802774FC 0027445C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80277500 00274460 7F E3 FB 78 */ mr r3, r31 +/* 80277504 00274464 38 81 00 08 */ addi r4, r1, 8 +/* 80277508 00274468 B0 01 00 08 */ sth r0, 8(r1) +/* 8027750C 0027446C 4B DD 50 69 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80277510 00274470 28 03 00 00 */ cmplwi r3, 0 +/* 80277514 00274474 41 82 00 28 */ beq lbl_8027753C +/* 80277518 00274478 88 03 05 48 */ lbz r0, 0x548(r3) +/* 8027751C 0027447C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80277520 00274480 41 82 00 1C */ beq lbl_8027753C +/* 80277524 00274484 81 83 00 00 */ lwz r12, 0(r3) +/* 80277528 00274488 7F E4 FB 78 */ mr r4, r31 +/* 8027752C 0027448C 38 A0 00 00 */ li r5, 0 +/* 80277530 00274490 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80277534 00274494 7D 89 03 A6 */ mtctr r12 +/* 80277538 00274498 4E 80 04 21 */ bctrl +lbl_8027753C: +/* 8027753C 0027449C 3B BD 00 02 */ addi r29, r29, 2 +/* 80277540 002744A0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80277544: +/* 80277544 002744A4 80 1E 09 6C */ lwz r0, 0x96c(r30) +/* 80277548 002744A8 7C 1C 00 00 */ cmpw r28, r0 +/* 8027754C 002744AC 41 80 FF A0 */ blt lbl_802774EC +lbl_80277550: +/* 80277550 002744B0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80277554 002744B4 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 80277558 002744B8 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8027755C 002744BC 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 80277560 002744C0 83 81 01 00 */ lwz r28, 0x100(r1) +/* 80277564 002744C4 7C 08 03 A6 */ mtlr r0 +/* 80277568 002744C8 38 21 01 10 */ addi r1, r1, 0x110 +/* 8027756C 002744CC 4E 80 00 20 */ blr + +.global sub_80277570 +sub_80277570: +/* 80277570 002744D0 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80277574 002744D4 7C 08 02 A6 */ mflr r0 +/* 80277578 002744D8 90 01 02 34 */ stw r0, 0x234(r1) +/* 8027757C 002744DC DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80277580 002744E0 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80277584 002744E4 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80277588 002744E8 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 8027758C 002744EC DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80277590 002744F0 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80277594 002744F4 DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 80277598 002744F8 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 8027759C 002744FC 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 802775A0 00274500 93 C1 01 E8 */ stw r30, 0x1e8(r1) +/* 802775A4 00274504 93 A1 01 E4 */ stw r29, 0x1e4(r1) +/* 802775A8 00274508 FF E0 08 90 */ fmr f31, f1 +/* 802775AC 0027450C 7C 9E 23 78 */ mr r30, r4 +/* 802775B0 00274510 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) +/* 802775B4 00274514 7C 7D 1B 78 */ mr r29, r3 +/* 802775B8 00274518 38 61 00 98 */ addi r3, r1, 0x98 +/* 802775BC 0027451C 4B D8 D6 FD */ bl string_l__4rstlFPCc +/* 802775C0 00274520 7F A4 EB 78 */ mr r4, r29 +/* 802775C4 00274524 38 61 01 44 */ addi r3, r1, 0x144 +/* 802775C8 00274528 38 A1 00 98 */ addi r5, r1, 0x98 +/* 802775CC 0027452C 4B E0 13 AD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802775D0 00274530 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802775D4 00274534 38 81 01 44 */ addi r4, r1, 0x144 +/* 802775D8 00274538 48 09 B5 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802775DC 0027453C 38 61 00 98 */ addi r3, r1, 0x98 +/* 802775E0 00274540 48 0C 65 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802775E4 00274544 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802775E8 00274548 38 81 00 8C */ addi r4, r1, 0x8c +/* 802775EC 0027454C C0 21 01 C0 */ lfs f1, 0x1c0(r1) +/* 802775F0 00274550 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802775F4 00274554 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802775F8 00274558 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802775FC 0027455C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80277600 00274560 80 7D 0C 54 */ lwz r3, 0xc54(r29) +/* 80277604 00274564 81 83 00 00 */ lwz r12, 0(r3) +/* 80277608 00274568 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8027760C 0027456C 7D 89 03 A6 */ mtctr r12 +/* 80277610 00274570 4E 80 04 21 */ bctrl +/* 80277614 00274574 83 FD 0C 54 */ lwz r31, 0xc54(r29) +/* 80277618 00274578 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027761C 0027457C 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80277620 00274580 48 09 B6 21 */ bl GetRotation__12CTransform4fCFv +/* 80277624 00274584 7F E3 FB 78 */ mr r3, r31 +/* 80277628 00274588 38 81 01 14 */ addi r4, r1, 0x114 +/* 8027762C 0027458C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277630 00274590 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80277634 00274594 7D 89 03 A6 */ mtctr r12 +/* 80277638 00274598 4E 80 04 21 */ bctrl +/* 8027763C 0027459C 80 7D 0C 54 */ lwz r3, 0xc54(r29) +/* 80277640 002745A0 FC 20 F8 90 */ fmr f1, f31 +/* 80277644 002745A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80277648 002745A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027764C 002745AC 7D 89 03 A6 */ mtctr r12 +/* 80277650 002745B0 4E 80 04 21 */ bctrl +/* 80277654 002745B4 80 1D 0C 58 */ lwz r0, 0xc58(r29) +/* 80277658 002745B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8027765C 002745BC 41 80 02 2C */ blt lbl_80277888 +/* 80277660 002745C0 2C 00 00 03 */ cmpwi r0, 3 +/* 80277664 002745C4 40 81 00 08 */ ble lbl_8027766C +/* 80277668 002745C8 48 00 02 20 */ b lbl_80277888 +lbl_8027766C: +/* 8027766C 002745CC 54 00 08 3C */ slwi r0, r0, 1 +/* 80277670 002745D0 7F C3 F3 78 */ mr r3, r30 +/* 80277674 002745D4 7C BD 02 14 */ add r5, r29, r0 +/* 80277678 002745D8 38 81 00 08 */ addi r4, r1, 8 +/* 8027767C 002745DC A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 80277680 002745E0 B0 01 00 08 */ sth r0, 8(r1) +/* 80277684 002745E4 4B DD 4E F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80277688 002745E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8027768C 002745EC 41 82 01 FC */ beq lbl_80277888 +/* 80277690 002745F0 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80277694 002745F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80277698 002745F8 41 82 01 F0 */ beq lbl_80277888 +/* 8027769C 002745FC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802776A0 00274600 4B EC 2A 2D */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 802776A4 00274604 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802776A8 00274608 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802776AC 0027460C 40 81 00 14 */ ble lbl_802776C0 +/* 802776B0 00274610 7F A3 EB 78 */ mr r3, r29 +/* 802776B4 00274614 7F C4 F3 78 */ mr r4, r30 +/* 802776B8 00274618 38 A0 00 00 */ li r5, 0 +/* 802776BC 0027461C 4B FF FC C5 */ bl sub_80277380 +lbl_802776C0: +/* 802776C0 00274620 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802776C4 00274624 38 61 01 74 */ addi r3, r1, 0x174 +/* 802776C8 00274628 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802776CC 0027462C 48 09 B4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802776D0 00274630 C0 1D 0C 5C */ lfs f0, 0xc5c(r29) +/* 802776D4 00274634 38 81 00 10 */ addi r4, r1, 0x10 +/* 802776D8 00274638 38 6D 98 9C */ addi r3, r13, lbl_805A845C@sda21 +/* 802776DC 0027463C 38 AD 98 A0 */ addi r5, r13, lbl_805A8460@sda21 +/* 802776E0 00274640 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802776E4 00274644 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802776E8 00274648 4B D9 4B CD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802776EC 0027464C C0 23 00 00 */ lfs f1, 0(r3) +/* 802776F0 00274650 38 61 00 80 */ addi r3, r1, 0x80 +/* 802776F4 00274654 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) +/* 802776F8 00274658 38 81 00 74 */ addi r4, r1, 0x74 +/* 802776FC 0027465C D0 3D 0C 5C */ stfs f1, 0xc5c(r29) +/* 80277700 00274660 C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) +/* 80277704 00274664 C0 7D 0C 5C */ lfs f3, 0xc5c(r29) +/* 80277708 00274668 C0 3D 0C 70 */ lfs f1, 0xc70(r29) +/* 8027770C 0027466C ED 43 00 24 */ fdivs f10, f3, f0 +/* 80277710 00274670 C0 1D 0C 74 */ lfs f0, 0xc74(r29) +/* 80277714 00274674 C0 7D 0C 6C */ lfs f3, 0xc6c(r29) +/* 80277718 00274678 C1 1D 0C 64 */ lfs f8, 0xc64(r29) +/* 8027771C 0027467C C0 DD 0C 68 */ lfs f6, 0xc68(r29) +/* 80277720 00274680 C0 9D 0C 60 */ lfs f4, 0xc60(r29) +/* 80277724 00274684 ED 22 50 28 */ fsubs f9, f2, f10 +/* 80277728 00274688 C0 41 01 C0 */ lfs f2, 0x1c0(r1) +/* 8027772C 0027468C EC E1 02 B2 */ fmuls f7, f1, f10 +/* 80277730 00274690 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 80277734 00274694 EC A0 02 B2 */ fmuls f5, f0, f10 +/* 80277738 00274698 C0 01 01 B0 */ lfs f0, 0x1b0(r1) +/* 8027773C 0027469C EC E8 3A 7A */ fmadds f7, f8, f9, f7 +/* 80277740 002746A0 EC A6 2A 7A */ fmadds f5, f6, f9, f5 +/* 80277744 002746A4 EC 63 02 B2 */ fmuls f3, f3, f10 +/* 80277748 002746A8 D0 E1 00 AC */ stfs f7, 0xac(r1) +/* 8027774C 002746AC EC C7 10 28 */ fsubs f6, f7, f2 +/* 80277750 002746B0 EC 45 08 28 */ fsubs f2, f5, f1 +/* 80277754 002746B4 EC 24 1A 7A */ fmadds f1, f4, f9, f3 +/* 80277758 002746B8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 8027775C 002746BC D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80277760 002746C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80277764 002746C4 C3 9D 00 58 */ lfs f28, 0x58(r29) +/* 80277768 002746C8 C3 BD 00 48 */ lfs f29, 0x48(r29) +/* 8027776C 002746CC C3 DD 00 38 */ lfs f30, 0x38(r29) +/* 80277770 002746D0 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80277774 002746D4 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 80277778 002746D8 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8027777C 002746DC 48 09 D0 D5 */ bl AsNormalized__9CVector3fCFv +/* 80277780 002746E0 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 80277784 002746E4 C0 C1 00 80 */ lfs f6, 0x80(r1) +/* 80277788 002746E8 EC 3D 01 32 */ fmuls f1, f29, f4 +/* 8027778C 002746EC C0 A1 00 88 */ lfs f5, 0x88(r1) +/* 80277790 002746F0 C0 02 BC B0 */ lfs f0, lbl_805AD9D0@sda21(r2) +/* 80277794 002746F4 EC 3E 09 BA */ fmadds f1, f30, f6, f1 +/* 80277798 002746F8 EC 3C 09 7A */ fmadds f1, f28, f5, f1 +/* 8027779C 002746FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802777A0 00274700 40 81 00 44 */ ble lbl_802777E4 +/* 802777A4 00274704 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802777A8 00274708 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802777AC 0027470C C0 21 01 C0 */ lfs f1, 0x1c0(r1) +/* 802777B0 00274710 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802777B4 00274714 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802777B8 00274718 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802777BC 0027471C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802777C0 00274720 38 81 00 68 */ addi r4, r1, 0x68 +/* 802777C4 00274724 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802777C8 00274728 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802777CC 0027472C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802777D0 00274730 48 09 C3 41 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802777D4 00274734 38 61 01 74 */ addi r3, r1, 0x174 +/* 802777D8 00274738 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802777DC 0027473C 48 09 B3 65 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802777E0 00274740 48 00 00 88 */ b lbl_80277868 +lbl_802777E4: +/* 802777E4 00274744 C0 61 01 B0 */ lfs f3, 0x1b0(r1) +/* 802777E8 00274748 38 61 00 20 */ addi r3, r1, 0x20 +/* 802777EC 0027474C C0 41 01 C0 */ lfs f2, 0x1c0(r1) +/* 802777F0 00274750 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802777F4 00274754 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 802777F8 00274758 C0 02 BC B4 */ lfs f0, lbl_805AD9D4@sda21(r2) +/* 802777FC 0027475C D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80277800 00274760 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80277804 00274764 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80277808 00274768 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8027780C 0027476C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80277810 00274770 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80277814 00274774 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80277818 00274778 D3 C1 00 3C */ stfs f30, 0x3c(r1) +/* 8027781C 0027477C D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80277820 00274780 D3 81 00 44 */ stfs f28, 0x44(r1) +/* 80277824 00274784 48 09 A9 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80277828 00274788 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027782C 0027478C 38 81 00 3C */ addi r4, r1, 0x3c +/* 80277830 00274790 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80277834 00274794 38 C1 00 0C */ addi r6, r1, 0xc +/* 80277838 00274798 48 09 9E 5D */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 8027783C 0027479C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80277840 002747A0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80277844 002747A4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80277848 002747A8 48 09 99 59 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8027784C 002747AC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80277850 002747B0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80277854 002747B4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80277858 002747B8 48 09 A6 65 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8027785C 002747BC 38 61 01 74 */ addi r3, r1, 0x174 +/* 80277860 002747C0 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80277864 002747C4 48 09 B2 DD */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80277868: +/* 80277868 002747C8 7F E3 FB 78 */ mr r3, r31 +/* 8027786C 002747CC FC 20 F8 90 */ fmr f1, f31 +/* 80277870 002747D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277874 002747D4 7F C5 F3 78 */ mr r5, r30 +/* 80277878 002747D8 38 81 01 74 */ addi r4, r1, 0x174 +/* 8027787C 002747DC 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80277880 002747E0 7D 89 03 A6 */ mtctr r12 +/* 80277884 002747E4 4E 80 04 21 */ bctrl +lbl_80277888: +/* 80277888 002747E8 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 8027788C 002747EC CB E1 02 20 */ lfd f31, 0x220(r1) +/* 80277890 002747F0 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 80277894 002747F4 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 80277898 002747F8 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 8027789C 002747FC CB A1 02 00 */ lfd f29, 0x200(r1) +/* 802778A0 00274800 E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 802778A4 00274804 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 802778A8 00274808 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 802778AC 0027480C 83 C1 01 E8 */ lwz r30, 0x1e8(r1) +/* 802778B0 00274810 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802778B4 00274814 83 A1 01 E4 */ lwz r29, 0x1e4(r1) +/* 802778B8 00274818 7C 08 03 A6 */ mtlr r0 +/* 802778BC 0027481C 38 21 02 30 */ addi r1, r1, 0x230 +/* 802778C0 00274820 4E 80 00 20 */ blr + +.global sub_802778c4 +sub_802778c4: +/* 802778C4 00274824 94 21 F7 00 */ stwu r1, -0x900(r1) +/* 802778C8 00274828 7C 08 02 A6 */ mflr r0 +/* 802778CC 0027482C 90 01 09 04 */ stw r0, 0x904(r1) +/* 802778D0 00274830 DB E1 08 F0 */ stfd f31, 0x8f0(r1) +/* 802778D4 00274834 F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 +/* 802778D8 00274838 DB C1 08 E0 */ stfd f30, 0x8e0(r1) +/* 802778DC 0027483C F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 +/* 802778E0 00274840 DB A1 08 D0 */ stfd f29, 0x8d0(r1) +/* 802778E4 00274844 F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 +/* 802778E8 00274848 BF 61 08 BC */ stmw r27, 0x8bc(r1) +/* 802778EC 0027484C 88 0D A5 80 */ lbz r0, lbl_805A9140@sda21(r13) +/* 802778F0 00274850 7C 7D 1B 78 */ mr r29, r3 +/* 802778F4 00274854 7C 9E 23 78 */ mr r30, r4 +/* 802778F8 00274858 7C BF 2B 78 */ mr r31, r5 +/* 802778FC 0027485C 7C 00 07 75 */ extsb. r0, r0 +/* 80277900 00274860 40 82 00 88 */ bne lbl_80277988 +/* 80277904 00274864 80 AD 98 90 */ lwz r5, lbl_805A8450@sda21(r13) +/* 80277908 00274868 38 60 00 00 */ li r3, 0 +/* 8027790C 0027486C 38 80 00 01 */ li r4, 1 +/* 80277910 00274870 48 11 25 E5 */ bl __shl2i +/* 80277914 00274874 80 AD 98 94 */ lwz r5, lbl_805A8454@sda21(r13) +/* 80277918 00274878 7C 9B 23 78 */ mr r27, r4 +/* 8027791C 0027487C 7C 7C 1B 78 */ mr r28, r3 +/* 80277920 00274880 38 60 00 00 */ li r3, 0 +/* 80277924 00274884 38 80 00 01 */ li r4, 1 +/* 80277928 00274888 48 11 25 CD */ bl __shl2i +/* 8027792C 0027488C 80 AD 98 98 */ lwz r5, lbl_805A8458@sda21(r13) +/* 80277930 00274890 7F 7B 23 78 */ or r27, r27, r4 +/* 80277934 00274894 7F 9C 1B 78 */ or r28, r28, r3 +/* 80277938 00274898 38 60 00 00 */ li r3, 0 +/* 8027793C 0027489C 38 80 00 01 */ li r4, 1 +/* 80277940 002748A0 48 11 25 B5 */ bl __shl2i +/* 80277944 002748A4 80 AD 98 8C */ lwz r5, lbl_805A844C@sda21(r13) +/* 80277948 002748A8 7F 7B 23 78 */ or r27, r27, r4 +/* 8027794C 002748AC 7F 9C 1B 78 */ or r28, r28, r3 +/* 80277950 002748B0 38 60 00 00 */ li r3, 0 +/* 80277954 002748B4 38 80 00 01 */ li r4, 1 +/* 80277958 002748B8 48 11 25 9D */ bl __shl2i +/* 8027795C 002748BC 3C A0 80 47 */ lis r5, lbl_8046E0C0@ha +/* 80277960 002748C0 38 C0 00 03 */ li r6, 3 +/* 80277964 002748C4 38 A5 E0 C0 */ addi r5, r5, lbl_8046E0C0@l +/* 80277968 002748C8 38 00 00 01 */ li r0, 1 +/* 8027796C 002748CC 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80277970 002748D0 90 85 00 04 */ stw r4, 4(r5) +/* 80277974 002748D4 90 65 00 00 */ stw r3, 0(r5) +/* 80277978 002748D8 93 65 00 0C */ stw r27, 0xc(r5) +/* 8027797C 002748DC 93 85 00 08 */ stw r28, 8(r5) +/* 80277980 002748E0 90 C5 00 10 */ stw r6, 0x10(r5) +/* 80277984 002748E4 98 0D A5 80 */ stb r0, lbl_805A9140@sda21(r13) +lbl_80277988: +/* 80277988 002748E8 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8027798C 002748EC 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80277990 002748F0 38 E3 67 00 */ addi r7, r3, lbl_805A6700@l +/* 80277994 002748F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277998 002748F8 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 8027799C 002748FC 38 C0 00 00 */ li r6, 0 +/* 802779A0 00274900 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 802779A4 00274904 7F E5 FB 78 */ mr r5, r31 +/* 802779A8 00274908 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 802779AC 0027490C 38 61 00 0C */ addi r3, r1, 0xc +/* 802779B0 00274910 C0 67 00 00 */ lfs f3, 0(r7) +/* 802779B4 00274914 C0 47 00 04 */ lfs f2, 4(r7) +/* 802779B8 00274918 C0 07 00 08 */ lfs f0, 8(r7) +/* 802779BC 0027491C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802779C0 00274920 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 802779C4 00274924 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802779C8 00274928 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802779CC 0027492C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802779D0 00274930 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802779D4 00274934 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802779D8 00274938 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 802779DC 0027493C B0 01 00 08 */ sth r0, 8(r1) +/* 802779E0 00274940 81 84 00 00 */ lwz r12, 0(r4) +/* 802779E4 00274944 C3 A4 00 60 */ lfs f29, 0x60(r4) +/* 802779E8 00274948 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 802779EC 0027494C C3 C4 00 50 */ lfs f30, 0x50(r4) +/* 802779F0 00274950 C3 E4 00 40 */ lfs f31, 0x40(r4) +/* 802779F4 00274954 7D 89 03 A6 */ mtctr r12 +/* 802779F8 00274958 4E 80 04 21 */ bctrl +/* 802779FC 0027495C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80277A00 00274960 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha +/* 80277A04 00274964 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80277A08 00274968 38 E3 E0 C0 */ addi r7, r3, lbl_8046E0C0@l +/* 80277A0C 0027496C EC 60 E8 2A */ fadds f3, f0, f29 +/* 80277A10 00274970 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80277A14 00274974 EC 41 F8 2A */ fadds f2, f1, f31 +/* 80277A18 00274978 C0 82 BC 80 */ lfs f4, lbl_805AD9A0@sda21(r2) +/* 80277A1C 0027497C EC 00 F0 2A */ fadds f0, f0, f30 +/* 80277A20 00274980 C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 80277A24 00274984 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 80277A28 00274988 7F E3 FB 78 */ mr r3, r31 +/* 80277A2C 0027498C EF A4 00 B2 */ fmuls f29, f4, f2 +/* 80277A30 00274990 7F C8 F3 78 */ mr r8, r30 +/* 80277A34 00274994 EF C4 00 32 */ fmuls f30, f4, f0 +/* 80277A38 00274998 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80277A3C 0027499C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80277A40 002749A0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80277A44 002749A4 4B DD 4C 95 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 80277A48 002749A8 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha +/* 80277A4C 002749AC C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 80277A50 002749B0 39 03 E0 C0 */ addi r8, r3, lbl_8046E0C0@l +/* 80277A54 002749B4 7F E4 FB 78 */ mr r4, r31 +/* 80277A58 002749B8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80277A5C 002749BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80277A60 002749C0 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80277A64 002749C4 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80277A68 002749C8 39 21 00 A8 */ addi r9, r1, 0xa8 +/* 80277A6C 002749CC 4B DD 55 59 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 80277A70 002749D0 88 81 00 68 */ lbz r4, 0x68(r1) +/* 80277A74 002749D4 C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 80277A78 002749D8 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80277A7C 002749DC 28 04 00 00 */ cmplwi r4, 0 +/* 80277A80 002749E0 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 80277A84 002749E4 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 80277A88 002749E8 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80277A8C 002749EC C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80277A90 002749F0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80277A94 002749F4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80277A98 002749F8 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80277A9C 002749FC 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80277AA0 00274A00 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 80277AA4 00274A04 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 80277AA8 00274A08 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 80277AAC 00274A0C D0 81 00 84 */ stfs f4, 0x84(r1) +/* 80277AB0 00274A10 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80277AB4 00274A14 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80277AB8 00274A18 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80277ABC 00274A1C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80277AC0 00274A20 98 81 00 98 */ stb r4, 0x98(r1) +/* 80277AC4 00274A24 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 80277AC8 00274A28 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80277ACC 00274A2C 41 82 00 1C */ beq lbl_80277AE8 +/* 80277AD0 00274A30 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80277AD4 00274A34 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80277AD8 00274A38 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80277ADC 00274A3C EF A6 08 2A */ fadds f29, f6, f1 +/* 80277AE0 00274A40 EF C5 08 2A */ fadds f30, f5, f1 +/* 80277AE4 00274A44 EF E4 00 2A */ fadds f31, f4, f0 +lbl_80277AE8: +/* 80277AE8 00274A48 D3 BD 00 00 */ stfs f29, 0(r29) +/* 80277AEC 00274A4C 38 60 00 00 */ li r3, 0 +/* 80277AF0 00274A50 D3 DD 00 04 */ stfs f30, 4(r29) +/* 80277AF4 00274A54 D3 FD 00 08 */ stfs f31, 8(r29) +/* 80277AF8 00274A58 80 A1 00 A8 */ lwz r5, 0xa8(r1) +/* 80277AFC 00274A5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80277B00 00274A60 40 81 00 40 */ ble lbl_80277B40 +/* 80277B04 00274A64 2C 05 00 08 */ cmpwi r5, 8 +/* 80277B08 00274A68 38 85 FF F8 */ addi r4, r5, -8 +/* 80277B0C 00274A6C 40 81 00 20 */ ble lbl_80277B2C +/* 80277B10 00274A70 38 04 00 07 */ addi r0, r4, 7 +/* 80277B14 00274A74 54 00 E8 FE */ srwi r0, r0, 3 +/* 80277B18 00274A78 7C 09 03 A6 */ mtctr r0 +/* 80277B1C 00274A7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80277B20 00274A80 40 81 00 0C */ ble lbl_80277B2C +lbl_80277B24: +/* 80277B24 00274A84 38 63 00 08 */ addi r3, r3, 8 +/* 80277B28 00274A88 42 00 FF FC */ bdnz lbl_80277B24 +lbl_80277B2C: +/* 80277B2C 00274A8C 7C 03 28 50 */ subf r0, r3, r5 +/* 80277B30 00274A90 7C 09 03 A6 */ mtctr r0 +/* 80277B34 00274A94 7C 03 28 00 */ cmpw r3, r5 +/* 80277B38 00274A98 40 80 00 08 */ bge lbl_80277B40 +lbl_80277B3C: +/* 80277B3C 00274A9C 42 00 00 00 */ bdnz lbl_80277B3C +lbl_80277B40: +/* 80277B40 00274AA0 38 00 00 00 */ li r0, 0 +/* 80277B44 00274AA4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80277B48 00274AA8 E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 +/* 80277B4C 00274AAC CB E1 08 F0 */ lfd f31, 0x8f0(r1) +/* 80277B50 00274AB0 E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 +/* 80277B54 00274AB4 CB C1 08 E0 */ lfd f30, 0x8e0(r1) +/* 80277B58 00274AB8 E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 +/* 80277B5C 00274ABC CB A1 08 D0 */ lfd f29, 0x8d0(r1) +/* 80277B60 00274AC0 BB 61 08 BC */ lmw r27, 0x8bc(r1) +/* 80277B64 00274AC4 80 01 09 04 */ lwz r0, 0x904(r1) +/* 80277B68 00274AC8 7C 08 03 A6 */ mtlr r0 +/* 80277B6C 00274ACC 38 21 09 00 */ addi r1, r1, 0x900 +/* 80277B70 00274AD0 4E 80 00 20 */ blr + +.global sub_80277b74 +sub_80277b74: +/* 80277B74 00274AD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80277B78 00274AD8 7C 08 02 A6 */ mflr r0 +/* 80277B7C 00274ADC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80277B80 00274AE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80277B84 00274AE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80277B88 00274AE8 3B C0 00 00 */ li r30, 0 +/* 80277B8C 00274AEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80277B90 00274AF0 7C 9D 23 78 */ mr r29, r4 +/* 80277B94 00274AF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80277B98 00274AF8 7C 7C 1B 78 */ mr r28, r3 +/* 80277B9C 00274AFC 3B FC 0B 28 */ addi r31, r28, 0xb28 +/* 80277BA0 00274B00 48 00 00 38 */ b lbl_80277BD8 +lbl_80277BA4: +/* 80277BA4 00274B04 A0 7F 00 00 */ lhz r3, 0(r31) +/* 80277BA8 00274B08 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277BAC 00274B0C 7C 03 00 40 */ cmplw r3, r0 +/* 80277BB0 00274B10 41 82 00 20 */ beq lbl_80277BD0 +/* 80277BB4 00274B14 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80277BB8 00274B18 7F A3 EB 78 */ mr r3, r29 +/* 80277BBC 00274B1C 38 81 00 08 */ addi r4, r1, 8 +/* 80277BC0 00274B20 B0 01 00 08 */ sth r0, 8(r1) +/* 80277BC4 00274B24 4B DD 46 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80277BC8 00274B28 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80277BCC 00274B2C B0 1F 00 00 */ sth r0, 0(r31) +lbl_80277BD0: +/* 80277BD0 00274B30 3B FF 00 02 */ addi r31, r31, 2 +/* 80277BD4 00274B34 3B DE 00 01 */ addi r30, r30, 1 +lbl_80277BD8: +/* 80277BD8 00274B38 80 1C 09 6C */ lwz r0, 0x96c(r28) +/* 80277BDC 00274B3C 7C 1E 00 00 */ cmpw r30, r0 +/* 80277BE0 00274B40 41 80 FF C4 */ blt lbl_80277BA4 +/* 80277BE4 00274B44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80277BE8 00274B48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80277BEC 00274B4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80277BF0 00274B50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80277BF4 00274B54 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80277BF8 00274B58 7C 08 03 A6 */ mtlr r0 +/* 80277BFC 00274B5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80277C00 00274B60 4E 80 00 20 */ blr + +.global sub_80277c04 +sub_80277c04: +/* 80277C04 00274B64 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80277C08 00274B68 7C 08 02 A6 */ mflr r0 +/* 80277C0C 00274B6C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80277C10 00274B70 BE 81 00 80 */ stmw r20, 0x80(r1) +/* 80277C14 00274B74 7C 74 1B 78 */ mr r20, r3 +/* 80277C18 00274B78 7C 95 23 78 */ mr r21, r4 +/* 80277C1C 00274B7C 38 80 00 00 */ li r4, 0 +/* 80277C20 00274B80 80 63 0C 54 */ lwz r3, 0xc54(r3) +/* 80277C24 00274B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80277C28 00274B88 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80277C2C 00274B8C 7D 89 03 A6 */ mtctr r12 +/* 80277C30 00274B90 4E 80 04 21 */ bctrl +/* 80277C34 00274B94 80 74 00 64 */ lwz r3, 0x64(r20) +/* 80277C38 00274B98 38 81 00 50 */ addi r4, r1, 0x50 +/* 80277C3C 00274B9C C0 03 00 00 */ lfs f0, 0(r3) +/* 80277C40 00274BA0 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80277C44 00274BA4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80277C48 00274BA8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80277C4C 00274BAC C0 03 00 08 */ lfs f0, 8(r3) +/* 80277C50 00274BB0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80277C54 00274BB4 80 74 0C 54 */ lwz r3, 0xc54(r20) +/* 80277C58 00274BB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80277C5C 00274BBC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80277C60 00274BC0 7D 89 03 A6 */ mtctr r12 +/* 80277C64 00274BC4 4E 80 04 21 */ bctrl +/* 80277C68 00274BC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80277C6C 00274BCC 3B 74 0B 28 */ addi r27, r20, 0xb28 +/* 80277C70 00274BD0 3B 54 0A 84 */ addi r26, r20, 0xa84 +/* 80277C74 00274BD4 3B 34 0B 34 */ addi r25, r20, 0xb34 +/* 80277C78 00274BD8 3B 14 09 70 */ addi r24, r20, 0x970 +/* 80277C7C 00274BDC 3A F4 0B C8 */ addi r23, r20, 0xbc8 +/* 80277C80 00274BE0 3B C3 56 18 */ addi r30, r3, lbl_803D5618@l +/* 80277C84 00274BE4 3A C0 00 00 */ li r22, 0 +/* 80277C88 00274BE8 48 00 01 88 */ b lbl_80277E10 +lbl_80277C8C: +/* 80277C8C 00274BEC 7E A4 AB 78 */ mr r4, r21 +/* 80277C90 00274BF0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80277C94 00274BF4 4B DD 54 49 */ bl AllocateUniqueId__13CStateManagerFv +/* 80277C98 00274BF8 A0 61 00 2C */ lhz r3, 0x2c(r1) +/* 80277C9C 00274BFC 38 A0 00 00 */ li r5, 0 +/* 80277CA0 00274C00 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 80277CA4 00274C04 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80277CA8 00274C08 B0 7B 00 00 */ sth r3, 0(r27) +/* 80277CAC 00274C0C 38 E0 00 0A */ li r7, 0xa +/* 80277CB0 00274C10 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 80277CB4 00274C14 38 60 00 01 */ li r3, 1 +/* 80277CB8 00274C18 98 01 00 3C */ stb r0, 0x3c(r1) +/* 80277CBC 00274C1C 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 80277CC0 00274C20 88 01 00 74 */ lbz r0, 0x74(r1) +/* 80277CC4 00274C24 54 86 06 3E */ clrlwi r6, r4, 0x18 +/* 80277CC8 00274C28 98 81 00 3C */ stb r4, 0x3c(r1) +/* 80277CCC 00274C2C 50 A6 2E B4 */ rlwimi r6, r5, 5, 0x1a, 0x1a +/* 80277CD0 00274C30 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80277CD4 00274C34 C0 1A 00 20 */ lfs f0, 0x20(r26) +/* 80277CD8 00274C38 C0 3A 00 1C */ lfs f1, 0x1c(r26) +/* 80277CDC 00274C3C 38 9E 02 20 */ addi r4, r30, 0x220 +/* 80277CE0 00274C40 C0 5A 00 14 */ lfs f2, 0x14(r26) +/* 80277CE4 00274C44 3B 80 00 00 */ li r28, 0 +/* 80277CE8 00274C48 90 E1 00 38 */ stw r7, 0x38(r1) +/* 80277CEC 00274C4C 38 60 05 50 */ li r3, 0x550 +/* 80277CF0 00274C50 38 A0 00 00 */ li r5, 0 +/* 80277CF4 00274C54 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 80277CF8 00274C58 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 80277CFC 00274C5C 98 C1 00 60 */ stb r6, 0x60(r1) +/* 80277D00 00274C60 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80277D04 00274C64 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80277D08 00274C68 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80277D0C 00274C6C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80277D10 00274C70 98 01 00 74 */ stb r0, 0x74(r1) +/* 80277D14 00274C74 48 09 DB 59 */ bl __nw__FUlPCcPCc +/* 80277D18 00274C78 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80277D1C 00274C7C 41 82 00 AC */ beq lbl_80277DC8 +/* 80277D20 00274C80 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 80277D24 00274C84 3C 60 00 01 */ lis r3, 0x00008000@ha +/* 80277D28 00274C88 3B E3 80 00 */ addi r31, r3, 0x00008000@l +/* 80277D2C 00274C8C 2C 00 00 01 */ cmpwi r0, 1 +/* 80277D30 00274C90 40 82 00 08 */ bne lbl_80277D38 +/* 80277D34 00274C94 3B E0 00 00 */ li r31, 0 +lbl_80277D38: +/* 80277D38 00274C98 A0 14 00 08 */ lhz r0, 8(r20) +/* 80277D3C 00274C9C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80277D40 00274CA0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80277D44 00274CA4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277D48 00274CA8 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80277D4C 00274CAC 38 84 02 27 */ addi r4, r4, 0x227 +/* 80277D50 00274CB0 80 B4 00 04 */ lwz r5, 4(r20) +/* 80277D54 00274CB4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80277D58 00274CB8 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80277D5C 00274CBC A0 1B 00 00 */ lhz r0, 0(r27) +/* 80277D60 00274CC0 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80277D64 00274CC4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80277D68 00274CC8 83 9A 00 0C */ lwz r28, 0xc(r26) +/* 80277D6C 00274CCC 4B D8 CF 4D */ bl string_l__4rstlFPCc +/* 80277D70 00274CD0 38 01 00 20 */ addi r0, r1, 0x20 +/* 80277D74 00274CD4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80277D78 00274CD8 90 01 00 08 */ stw r0, 8(r1) +/* 80277D7C 00274CDC 38 01 00 34 */ addi r0, r1, 0x34 +/* 80277D80 00274CE0 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80277D84 00274CE4 7F 86 E3 78 */ mr r6, r28 +/* 80277D88 00274CE8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80277D8C 00274CEC 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80277D90 00274CF0 38 00 00 01 */ li r0, 1 +/* 80277D94 00274CF4 7F A3 EB 78 */ mr r3, r29 +/* 80277D98 00274CF8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80277D9C 00274CFC 7F 44 D3 78 */ mr r4, r26 +/* 80277DA0 00274D00 7F 07 C3 78 */ mr r7, r24 +/* 80277DA4 00274D04 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80277DA8 00274D08 93 21 00 14 */ stw r25, 0x14(r1) +/* 80277DAC 00274D0C 39 41 00 5C */ addi r10, r1, 0x5c +/* 80277DB0 00274D10 3B 80 00 01 */ li r28, 1 +/* 80277DB4 00274D14 39 20 00 21 */ li r9, 0x21 +/* 80277DB8 00274D18 90 01 00 18 */ stw r0, 0x18(r1) +/* 80277DBC 00274D1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80277DC0 00274D20 4B F0 0E 69 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" +/* 80277DC4 00274D24 7C 7D 1B 78 */ mr r29, r3 +lbl_80277DC8: +/* 80277DC8 00274D28 7F 80 07 75 */ extsb. r0, r28 +/* 80277DCC 00274D2C 7F BC EB 78 */ mr r28, r29 +/* 80277DD0 00274D30 41 82 00 0C */ beq lbl_80277DDC +/* 80277DD4 00274D34 38 61 00 40 */ addi r3, r1, 0x40 +/* 80277DD8 00274D38 48 0C 5D 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80277DDC: +/* 80277DDC 00274D3C C0 37 00 00 */ lfs f1, 0(r23) +/* 80277DE0 00274D40 7F 83 E3 78 */ mr r3, r28 +/* 80277DE4 00274D44 38 97 00 04 */ addi r4, r23, 4 +/* 80277DE8 00274D48 4B EF F0 4D */ bl sub_80176e34 +/* 80277DEC 00274D4C 7E A3 AB 78 */ mr r3, r21 +/* 80277DF0 00274D50 7F 84 E3 78 */ mr r4, r28 +/* 80277DF4 00274D54 4B DD 4D 21 */ bl AddObject__13CStateManagerFR7CEntity +/* 80277DF8 00274D58 3B 7B 00 02 */ addi r27, r27, 2 +/* 80277DFC 00274D5C 3B 5A 00 28 */ addi r26, r26, 0x28 +/* 80277E00 00274D60 3B 39 00 24 */ addi r25, r25, 0x24 +/* 80277E04 00274D64 3B 18 00 44 */ addi r24, r24, 0x44 +/* 80277E08 00274D68 3A F7 00 20 */ addi r23, r23, 0x20 +/* 80277E0C 00274D6C 3A D6 00 01 */ addi r22, r22, 1 +lbl_80277E10: +/* 80277E10 00274D70 80 14 09 6C */ lwz r0, 0x96c(r20) +/* 80277E14 00274D74 7C 16 00 00 */ cmpw r22, r0 +/* 80277E18 00274D78 41 80 FE 74 */ blt lbl_80277C8C +/* 80277E1C 00274D7C BA 81 00 80 */ lmw r20, 0x80(r1) +/* 80277E20 00274D80 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80277E24 00274D84 7C 08 03 A6 */ mtlr r0 +/* 80277E28 00274D88 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80277E2C 00274D8C 4E 80 00 20 */ blr + +.global sub_80277e30 +sub_80277e30: +/* 80277E30 00274D90 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80277E34 00274D94 7C 08 02 A6 */ mflr r0 +/* 80277E38 00274D98 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80277E3C 00274D9C 93 E1 00 EC */ stw r31, 0xec(r1) +/* 80277E40 00274DA0 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 80277E44 00274DA4 7C 9E 23 78 */ mr r30, r4 +/* 80277E48 00274DA8 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 80277E4C 00274DAC 7C 7D 1B 78 */ mr r29, r3 +/* 80277E50 00274DB0 80 83 00 64 */ lwz r4, 0x64(r3) +/* 80277E54 00274DB4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80277E58 00274DB8 83 FE 08 4C */ lwz r31, 0x84c(r30) +/* 80277E5C 00274DBC C0 04 00 00 */ lfs f0, 0(r4) +/* 80277E60 00274DC0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80277E64 00274DC4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80277E68 00274DC8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80277E6C 00274DCC C0 04 00 08 */ lfs f0, 8(r4) +/* 80277E70 00274DD0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80277E74 00274DD4 48 09 CA 45 */ bl Magnitude__9CVector3fCFv +/* 80277E78 00274DD8 C0 02 BC 3C */ lfs f0, lbl_805AD95C@sda21(r2) +/* 80277E7C 00274DDC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80277E80 00274DE0 C1 3D 00 60 */ lfs f9, 0x60(r29) +/* 80277E84 00274DE4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80277E88 00274DE8 EC A0 00 72 */ fmuls f5, f0, f1 +/* 80277E8C 00274DEC C1 1D 00 50 */ lfs f8, 0x50(r29) +/* 80277E90 00274DF0 C0 22 BC BC */ lfs f1, lbl_805AD9DC@sda21(r2) +/* 80277E94 00274DF4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80277E98 00274DF8 C0 02 BC C0 */ lfs f0, lbl_805AD9E0@sda21(r2) +/* 80277E9C 00274DFC EC 45 00 72 */ fmuls f2, f5, f1 +/* 80277EA0 00274E00 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 80277EA4 00274E04 EC 85 00 32 */ fmuls f4, f5, f0 +/* 80277EA8 00274E08 C0 22 BC C4 */ lfs f1, lbl_805AD9E4@sda21(r2) +/* 80277EAC 00274E0C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 80277EB0 00274E10 EC E8 10 2A */ fadds f7, f8, f2 +/* 80277EB4 00274E14 ED 45 00 72 */ fmuls f10, f5, f1 +/* 80277EB8 00274E18 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80277EBC 00274E1C EC 25 00 32 */ fmuls f1, f5, f0 +/* 80277EC0 00274E20 EC C9 20 2A */ fadds f6, f9, f4 +/* 80277EC4 00274E24 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80277EC8 00274E28 EC 43 10 2A */ fadds f2, f3, f2 +/* 80277ECC 00274E2C EC A8 50 2A */ fadds f5, f8, f10 +/* 80277ED0 00274E30 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80277ED4 00274E34 EC 89 08 2A */ fadds f4, f9, f1 +/* 80277ED8 00274E38 EC 03 50 2A */ fadds f0, f3, f10 +/* 80277EDC 00274E3C D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80277EE0 00274E40 D1 01 00 30 */ stfs f8, 0x30(r1) +/* 80277EE4 00274E44 D1 21 00 34 */ stfs f9, 0x34(r1) +/* 80277EE8 00274E48 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80277EEC 00274E4C D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 80277EF0 00274E50 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 80277EF4 00274E54 D1 41 00 44 */ stfs f10, 0x44(r1) +/* 80277EF8 00274E58 D1 41 00 48 */ stfs f10, 0x48(r1) +/* 80277EFC 00274E5C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80277F00 00274E60 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80277F04 00274E64 D1 01 00 54 */ stfs f8, 0x54(r1) +/* 80277F08 00274E68 D1 21 00 58 */ stfs f9, 0x58(r1) +/* 80277F0C 00274E6C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80277F10 00274E70 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 80277F14 00274E74 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80277F18 00274E78 48 0C 05 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80277F1C 00274E7C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80277F20 00274E80 7F E4 FB 78 */ mr r4, r31 +/* 80277F24 00274E84 38 61 00 AC */ addi r3, r1, 0xac +/* 80277F28 00274E88 D0 1D 08 F8 */ stfs f0, 0x8f8(r29) +/* 80277F2C 00274E8C C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80277F30 00274E90 D0 1D 08 FC */ stfs f0, 0x8fc(r29) +/* 80277F34 00274E94 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80277F38 00274E98 D0 1D 09 00 */ stfs f0, 0x900(r29) +/* 80277F3C 00274E9C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80277F40 00274EA0 D0 1D 09 04 */ stfs f0, 0x904(r29) +/* 80277F44 00274EA4 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80277F48 00274EA8 D0 1D 09 08 */ stfs f0, 0x908(r29) +/* 80277F4C 00274EAC C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80277F50 00274EB0 D0 1D 09 0C */ stfs f0, 0x90c(r29) +/* 80277F54 00274EB4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80277F58 00274EB8 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80277F5C 00274EBC 7D 89 03 A6 */ mtctr r12 +/* 80277F60 00274EC0 4E 80 04 21 */ bctrl +/* 80277F64 00274EC4 38 61 00 AC */ addi r3, r1, 0xac +/* 80277F68 00274EC8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80277F6C 00274ECC 48 0B FC 19 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80277F70 00274ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80277F74 00274ED4 38 60 00 00 */ li r3, 0 +/* 80277F78 00274ED8 98 61 00 C4 */ stb r3, 0xc4(r1) +/* 80277F7C 00274EDC 41 82 00 AC */ beq lbl_80278028 +/* 80277F80 00274EE0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80277F84 00274EE4 C0 1D 04 20 */ lfs f0, 0x420(r29) +/* 80277F88 00274EE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80277F8C 00274EEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80277F90 00274EF0 40 82 00 98 */ bne lbl_80278028 +/* 80277F94 00274EF4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80277F98 00274EF8 38 60 00 00 */ li r3, 0 +/* 80277F9C 00274EFC 38 80 00 01 */ li r4, 1 +/* 80277FA0 00274F00 48 11 1F 55 */ bl __shl2i +/* 80277FA4 00274F04 38 A0 00 00 */ li r5, 0 +/* 80277FA8 00274F08 38 00 00 03 */ li r0, 3 +/* 80277FAC 00274F0C 90 81 00 7C */ stw r4, 0x7c(r1) +/* 80277FB0 00274F10 7F A4 EB 78 */ mr r4, r29 +/* 80277FB4 00274F14 90 61 00 78 */ stw r3, 0x78(r1) +/* 80277FB8 00274F18 38 61 00 90 */ addi r3, r1, 0x90 +/* 80277FBC 00274F1C 90 A1 00 84 */ stw r5, 0x84(r1) +/* 80277FC0 00274F20 90 A1 00 80 */ stw r5, 0x80(r1) +/* 80277FC4 00274F24 90 01 00 88 */ stw r0, 0x88(r1) +/* 80277FC8 00274F28 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80277FCC 00274F2C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80277FD0 00274F30 A0 BF 00 08 */ lhz r5, 8(r31) +/* 80277FD4 00274F34 B0 01 00 08 */ sth r0, 8(r1) +/* 80277FD8 00274F38 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80277FDC 00274F3C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80277FE0 00274F40 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80277FE4 00274F44 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80277FE8 00274F48 81 9D 00 00 */ lwz r12, 0(r29) +/* 80277FEC 00274F4C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80277FF0 00274F50 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80277FF4 00274F54 7D 89 03 A6 */ mtctr r12 +/* 80277FF8 00274F58 4E 80 04 21 */ bctrl +/* 80277FFC 00274F5C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278000 00274F60 7F C3 F3 78 */ mr r3, r30 +/* 80278004 00274F64 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278008 00274F68 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027800C 00274F6C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80278010 00274F70 38 C1 00 0C */ addi r6, r1, 0xc +/* 80278014 00274F74 38 E1 00 90 */ addi r7, r1, 0x90 +/* 80278018 00274F78 39 01 00 78 */ addi r8, r1, 0x78 +/* 8027801C 00274F7C 4B DD 20 85 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80278020 00274F80 C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 80278024 00274F84 D0 1D 04 20 */ stfs f0, 0x420(r29) +lbl_80278028: +/* 80278028 00274F88 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8027802C 00274F8C 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80278030 00274F90 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80278034 00274F94 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80278038 00274F98 7C 08 03 A6 */ mtlr r0 +/* 8027803C 00274F9C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80278040 00274FA0 4E 80 00 20 */ blr + +.global sub_80278044 +sub_80278044: +/* 80278044 00274FA4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278048 00274FA8 7C 08 02 A6 */ mflr r0 +/* 8027804C 00274FAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80278050 00274FB0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278054 00274FB4 7C 9F 23 78 */ mr r31, r4 +/* 80278058 00274FB8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027805C 00274FBC 7C 7E 1B 78 */ mr r30, r3 +/* 80278060 00274FC0 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 80278064 00274FC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80278068 00274FC8 41 82 00 B0 */ beq lbl_80278118 +/* 8027806C 00274FCC C0 7E 08 E4 */ lfs f3, 0x8e4(r30) +/* 80278070 00274FD0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80278074 00274FD4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80278078 00274FD8 40 80 00 54 */ bge lbl_802780CC +/* 8027807C 00274FDC C0 42 BC 68 */ lfs f2, lbl_805AD988@sda21(r2) +/* 80278080 00274FE0 C0 0D 98 88 */ lfs f0, lbl_805A8448@sda21(r13) +/* 80278084 00274FE4 EC 21 10 24 */ fdivs f1, f1, f2 +/* 80278088 00274FE8 EC 23 08 2A */ fadds f1, f3, f1 +/* 8027808C 00274FEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278090 00274FF0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80278094 00274FF4 40 80 00 0C */ bge lbl_802780A0 +/* 80278098 00274FF8 38 61 00 0C */ addi r3, r1, 0xc +/* 8027809C 00274FFC 48 00 00 08 */ b lbl_802780A4 +lbl_802780A0: +/* 802780A0 00275000 38 6D 98 88 */ addi r3, r13, lbl_805A8448@sda21 +lbl_802780A4: +/* 802780A4 00275004 C0 03 00 00 */ lfs f0, 0(r3) +/* 802780A8 00275008 38 61 00 08 */ addi r3, r1, 8 +/* 802780AC 0027500C 38 9E 08 DC */ addi r4, r30, 0x8dc +/* 802780B0 00275010 38 BE 08 E0 */ addi r5, r30, 0x8e0 +/* 802780B4 00275014 D0 1E 08 E4 */ stfs f0, 0x8e4(r30) +/* 802780B8 00275018 C0 3E 08 E4 */ lfs f1, 0x8e4(r30) +/* 802780BC 0027501C 48 0E B1 F1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 802780C0 00275020 80 01 00 08 */ lwz r0, 8(r1) +/* 802780C4 00275024 90 1E 08 D8 */ stw r0, 0x8d8(r30) +/* 802780C8 00275028 48 00 00 50 */ b lbl_80278118 +lbl_802780CC: +/* 802780CC 0027502C 80 1E 08 E0 */ lwz r0, 0x8e0(r30) +/* 802780D0 00275030 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 802780D4 00275034 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 802780D8 00275038 38 A0 00 00 */ li r5, 0 +/* 802780DC 0027503C 90 1E 08 D8 */ stw r0, 0x8d8(r30) +/* 802780E0 00275040 38 61 00 10 */ addi r3, r1, 0x10 +/* 802780E4 00275044 38 84 02 28 */ addi r4, r4, 0x228 +/* 802780E8 00275048 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802780EC 0027504C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802780F0 00275050 98 1E 08 F4 */ stb r0, 0x8f4(r30) +/* 802780F4 00275054 4B D8 CB C5 */ bl string_l__4rstlFPCc +/* 802780F8 00275058 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 802780FC 0027505C 7F E6 FB 78 */ mr r6, r31 +/* 80278100 00275060 38 81 00 10 */ addi r4, r1, 0x10 +/* 80278104 00275064 38 A0 00 00 */ li r5, 0 +/* 80278108 00275068 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027810C 0027506C 4B DB 2C B5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278110 00275070 38 61 00 10 */ addi r3, r1, 0x10 +/* 80278114 00275074 48 0C 59 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80278118: +/* 80278118 00275078 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027811C 0027507C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80278120 00275080 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80278124 00275084 7C 08 03 A6 */ mtlr r0 +/* 80278128 00275088 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027812C 0027508C 4E 80 00 20 */ blr + +.global sub_80278130 +sub_80278130: +/* 80278130 00275090 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80278134 00275094 38 A0 00 01 */ li r5, 1 +/* 80278138 00275098 D0 03 08 E4 */ stfs f0, 0x8e4(r3) +/* 8027813C 0027509C 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 80278140 002750A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80278144 002750A4 98 03 08 F4 */ stb r0, 0x8f4(r3) +/* 80278148 002750A8 80 04 00 00 */ lwz r0, 0(r4) +/* 8027814C 002750AC 90 03 08 E0 */ stw r0, 0x8e0(r3) +/* 80278150 002750B0 80 03 08 D8 */ lwz r0, 0x8d8(r3) +/* 80278154 002750B4 90 03 08 DC */ stw r0, 0x8dc(r3) +/* 80278158 002750B8 4E 80 00 20 */ blr + +.global sub_8027815c +sub_8027815c: +/* 8027815C 002750BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80278160 002750C0 7C 08 02 A6 */ mflr r0 +/* 80278164 002750C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80278168 002750C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027816C 002750CC 7C 7F 1B 78 */ mr r31, r3 +/* 80278170 002750D0 80 03 08 E8 */ lwz r0, 0x8e8(r3) +/* 80278174 002750D4 2C 00 FF FF */ cmpwi r0, -1 +/* 80278178 002750D8 41 82 00 F0 */ beq lbl_80278268 +/* 8027817C 002750DC 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278180 002750E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80278184 002750E4 41 82 00 3C */ beq lbl_802781C0 +/* 80278188 002750E8 C0 7F 08 EC */ lfs f3, 0x8ec(r31) +/* 8027818C 002750EC C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) +/* 80278190 002750F0 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80278194 002750F4 40 80 00 60 */ bge lbl_802781F4 +/* 80278198 002750F8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) +/* 8027819C 002750FC EC 01 00 24 */ fdivs f0, f1, f0 +/* 802781A0 00275100 EC 03 00 2A */ fadds f0, f3, f0 +/* 802781A4 00275104 D0 1F 08 EC */ stfs f0, 0x8ec(r31) +/* 802781A8 00275108 C0 1F 08 EC */ lfs f0, 0x8ec(r31) +/* 802781AC 0027510C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802781B0 00275110 4C 41 13 82 */ cror 2, 1, 2 +/* 802781B4 00275114 40 82 00 40 */ bne lbl_802781F4 +/* 802781B8 00275118 D0 5F 08 EC */ stfs f2, 0x8ec(r31) +/* 802781BC 0027511C 48 00 00 38 */ b lbl_802781F4 +lbl_802781C0: +/* 802781C0 00275120 C0 7F 08 EC */ lfs f3, 0x8ec(r31) +/* 802781C4 00275124 C0 42 BC 08 */ lfs f2, lbl_805AD928@sda21(r2) +/* 802781C8 00275128 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 802781CC 0027512C 40 81 00 28 */ ble lbl_802781F4 +/* 802781D0 00275130 C0 02 BC 6C */ lfs f0, lbl_805AD98C@sda21(r2) +/* 802781D4 00275134 EC 01 00 24 */ fdivs f0, f1, f0 +/* 802781D8 00275138 EC 03 00 28 */ fsubs f0, f3, f0 +/* 802781DC 0027513C D0 1F 08 EC */ stfs f0, 0x8ec(r31) +/* 802781E0 00275140 C0 1F 08 EC */ lfs f0, 0x8ec(r31) +/* 802781E4 00275144 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802781E8 00275148 4C 40 13 82 */ cror 2, 0, 2 +/* 802781EC 0027514C 40 82 00 08 */ bne lbl_802781F4 +/* 802781F0 00275150 D0 5F 08 EC */ stfs f2, 0x8ec(r31) +lbl_802781F4: +/* 802781F4 00275154 C0 3F 08 EC */ lfs f1, 0x8ec(r31) +/* 802781F8 00275158 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802781FC 0027515C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278200 00275160 41 81 00 10 */ bgt lbl_80278210 +/* 80278204 00275164 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278208 00275168 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8027820C 0027516C 41 82 00 5C */ beq lbl_80278268 +lbl_80278210: +/* 80278210 00275170 C0 02 BC 5C */ lfs f0, lbl_805AD97C@sda21(r2) +/* 80278214 00275174 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278218 00275178 40 81 00 30 */ ble lbl_80278248 +/* 8027821C 0027517C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80278220 00275180 38 A0 00 01 */ li r5, 1 +/* 80278224 00275184 80 9F 08 E8 */ lwz r4, 0x8e8(r31) +/* 80278228 00275188 38 C0 00 00 */ li r6, 0 +/* 8027822C 0027518C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278230 00275190 4B DB 1F A1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 80278234 00275194 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 80278238 00275198 38 60 00 01 */ li r3, 1 +/* 8027823C 0027519C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278240 002751A0 98 1F 08 F4 */ stb r0, 0x8f4(r31) +/* 80278244 002751A4 48 00 00 24 */ b lbl_80278268 +lbl_80278248: +/* 80278248 002751A8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8027824C 002751AC 80 9F 08 E8 */ lwz r4, 0x8e8(r31) +/* 80278250 002751B0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278254 002751B4 4B DB 1F 05 */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 80278258 002751B8 88 1F 08 F4 */ lbz r0, 0x8f4(r31) +/* 8027825C 002751BC 38 60 00 00 */ li r3, 0 +/* 80278260 002751C0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278264 002751C4 98 1F 08 F4 */ stb r0, 0x8f4(r31) +lbl_80278268: +/* 80278268 002751C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027826C 002751CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80278270 002751D0 7C 08 03 A6 */ mtlr r0 +/* 80278274 002751D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80278278 002751D8 4E 80 00 20 */ blr + +.global sub_8027827c +sub_8027827c: +/* 8027827C 002751DC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80278280 002751E0 7C 08 02 A6 */ mflr r0 +/* 80278284 002751E4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80278288 002751E8 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 8027828C 002751EC 7C 7C 1B 78 */ mr r28, r3 +/* 80278290 002751F0 7C 9B 23 78 */ mr r27, r4 +/* 80278294 002751F4 7C BD 2B 78 */ mr r29, r5 +/* 80278298 002751F8 A0 64 00 00 */ lhz r3, 0(r4) +/* 8027829C 002751FC A0 1C 08 CC */ lhz r0, 0x8cc(r28) +/* 802782A0 00275200 7C 03 00 40 */ cmplw r3, r0 +/* 802782A4 00275204 40 82 02 50 */ bne lbl_802784F4 +/* 802782A8 00275208 B0 61 00 14 */ sth r3, 0x14(r1) +/* 802782AC 0027520C 7F A3 EB 78 */ mr r3, r29 +/* 802782B0 00275210 38 81 00 14 */ addi r4, r1, 0x14 +/* 802782B4 00275214 4B DD 42 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802782B8 00275218 7C 64 1B 78 */ mr r4, r3 +/* 802782BC 0027521C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802782C0 00275220 4B E3 70 8D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802782C4 00275224 83 E3 00 04 */ lwz r31, 4(r3) +/* 802782C8 00275228 28 1F 00 00 */ cmplwi r31, 0 +/* 802782CC 0027522C 41 82 02 28 */ beq lbl_802784F4 +/* 802782D0 00275230 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 802782D4 00275234 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802782D8 00275238 41 82 02 1C */ beq lbl_802784F4 +/* 802782DC 0027523C 7F E4 FB 78 */ mr r4, r31 +/* 802782E0 00275240 38 61 00 10 */ addi r3, r1, 0x10 +/* 802782E4 00275244 4B F3 08 A9 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 802782E8 00275248 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802782EC 0027524C 7F A3 EB 78 */ mr r3, r29 +/* 802782F0 00275250 38 81 00 0C */ addi r4, r1, 0xc +/* 802782F4 00275254 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802782F8 00275258 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802782FC 0027525C 4B DD 42 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278300 00275260 7C 64 1B 78 */ mr r4, r3 +/* 80278304 00275264 38 61 00 1C */ addi r3, r1, 0x1c +/* 80278308 00275268 4B E2 D5 91 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" +/* 8027830C 0027526C 83 C3 00 04 */ lwz r30, 4(r3) +/* 80278310 00275270 28 1E 00 00 */ cmplwi r30, 0 +/* 80278314 00275274 41 82 01 E0 */ beq lbl_802784F4 +/* 80278318 00275278 7F E3 FB 78 */ mr r3, r31 +/* 8027831C 0027527C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80278320 00275280 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80278324 00275284 7D 89 03 A6 */ mtctr r12 +/* 80278328 00275288 4E 80 04 21 */ bctrl +/* 8027832C 0027528C 38 9E 01 2C */ addi r4, r30, 0x12c +/* 80278330 00275290 38 A0 00 00 */ li r5, 0 +/* 80278334 00275294 4B E8 A3 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80278338 00275298 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027833C 0027529C 41 82 01 B8 */ beq lbl_802784F4 +/* 80278340 002752A0 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80278344 002752A4 D0 1C 04 28 */ stfs f0, 0x428(r28) +/* 80278348 002752A8 A0 7B 00 00 */ lhz r3, 0(r27) +/* 8027834C 002752AC A0 1C 08 CC */ lhz r0, 0x8cc(r28) +/* 80278350 002752B0 7C 03 00 40 */ cmplw r3, r0 +/* 80278354 002752B4 40 82 01 A0 */ bne lbl_802784F4 +/* 80278358 002752B8 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 8027835C 002752BC 2C 00 00 01 */ cmpwi r0, 1 +/* 80278360 002752C0 40 82 00 60 */ bne lbl_802783C0 +/* 80278364 002752C4 B0 61 00 08 */ sth r3, 8(r1) +/* 80278368 002752C8 7F A3 EB 78 */ mr r3, r29 +/* 8027836C 002752CC 38 81 00 08 */ addi r4, r1, 8 +/* 80278370 002752D0 4B DD 42 05 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278374 002752D4 7C 64 1B 78 */ mr r4, r3 +/* 80278378 002752D8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027837C 002752DC 4B E3 6F D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278380 002752E0 80 63 00 04 */ lwz r3, 4(r3) +/* 80278384 002752E4 28 03 00 00 */ cmplwi r3, 0 +/* 80278388 002752E8 41 82 00 38 */ beq lbl_802783C0 +/* 8027838C 002752EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80278390 002752F0 7F A4 EB 78 */ mr r4, r29 +/* 80278394 002752F4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278398 002752F8 7D 89 03 A6 */ mtctr r12 +/* 8027839C 002752FC 4E 80 04 21 */ bctrl +/* 802783A0 00275300 28 03 00 00 */ cmplwi r3, 0 +/* 802783A4 00275304 41 82 00 1C */ beq lbl_802783C0 +/* 802783A8 00275308 C0 43 00 00 */ lfs f2, 0(r3) +/* 802783AC 0027530C C0 1C 08 C8 */ lfs f0, 0x8c8(r28) +/* 802783B0 00275310 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) +/* 802783B4 00275314 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802783B8 00275318 EC 01 10 3C */ fnmsubs f0, f1, f0, f2 +/* 802783BC 0027531C D0 03 00 00 */ stfs f0, 0(r3) +lbl_802783C0: +/* 802783C0 00275320 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 802783C4 00275324 2C 00 00 02 */ cmpwi r0, 2 +/* 802783C8 00275328 40 82 00 30 */ bne lbl_802783F8 +/* 802783CC 0027532C 88 7E 01 30 */ lbz r3, 0x130(r30) +/* 802783D0 00275330 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802783D4 00275334 40 82 00 0C */ bne lbl_802783E0 +/* 802783D8 00275338 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802783DC 0027533C 41 82 00 1C */ beq lbl_802783F8 +lbl_802783E0: +/* 802783E0 00275340 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 802783E4 00275344 7F 83 E3 78 */ mr r3, r28 +/* 802783E8 00275348 7F A4 EB 78 */ mr r4, r29 +/* 802783EC 0027534C 38 A0 00 01 */ li r5, 1 +/* 802783F0 00275350 D0 1C 0F B4 */ stfs f0, 0xfb4(r28) +/* 802783F4 00275354 4B FF DE 11 */ bl sub_80276204 +lbl_802783F8: +/* 802783F8 00275358 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 802783FC 0027535C 2C 00 00 03 */ cmpwi r0, 3 +/* 80278400 00275360 40 82 00 38 */ bne lbl_80278438 +/* 80278404 00275364 88 7E 01 30 */ lbz r3, 0x130(r30) +/* 80278408 00275368 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8027840C 0027536C 40 82 00 0C */ bne lbl_80278418 +/* 80278410 00275370 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80278414 00275374 41 82 00 24 */ beq lbl_80278438 +lbl_80278418: +/* 80278418 00275378 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027841C 0027537C 7F 83 E3 78 */ mr r3, r28 +/* 80278420 00275380 7F A4 EB 78 */ mr r4, r29 +/* 80278424 00275384 38 A0 00 01 */ li r5, 1 +/* 80278428 00275388 D0 1C 0F B8 */ stfs f0, 0xfb8(r28) +/* 8027842C 0027538C 4B FF DF 71 */ bl sub_8027639c +/* 80278430 00275390 38 00 00 01 */ li r0, 1 +/* 80278434 00275394 98 1C 0F C1 */ stb r0, 0xfc1(r28) +lbl_80278438: +/* 80278438 00275398 80 1E 01 2C */ lwz r0, 0x12c(r30) +/* 8027843C 0027539C 2C 00 00 01 */ cmpwi r0, 1 +/* 80278440 002753A0 40 82 00 B4 */ bne lbl_802784F4 +/* 80278444 002753A4 88 1E 01 30 */ lbz r0, 0x130(r30) +/* 80278448 002753A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8027844C 002753AC 41 82 00 A8 */ beq lbl_802784F4 +/* 80278450 002753B0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278454 002753B4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80278458 002753B8 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8027845C 002753BC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80278460 002753C0 C0 45 00 00 */ lfs f2, 0(r5) +/* 80278464 002753C4 C0 25 00 04 */ lfs f1, 4(r5) +/* 80278468 002753C8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8027846C 002753CC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80278470 002753D0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80278474 002753D4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80278478 002753D8 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 8027847C 002753DC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80278480 002753E0 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80278484 002753E4 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80278488 002753E8 EC 25 00 28 */ fsubs f1, f5, f0 +/* 8027848C 002753EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80278490 002753F0 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80278494 002753F4 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80278498 002753F8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8027849C 002753FC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802784A0 00275400 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802784A4 00275404 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802784A8 00275408 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802784AC 0027540C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802784B0 00275410 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802784B4 00275414 48 09 B9 1D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802784B8 00275418 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802784BC 0027541C 7F 83 E3 78 */ mr r3, r28 +/* 802784C0 00275420 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 802784C4 00275424 7F A4 EB 78 */ mr r4, r29 +/* 802784C8 00275428 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802784CC 0027542C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802784D0 00275430 90 C1 00 34 */ stw r6, 0x34(r1) +/* 802784D4 00275434 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802784D8 00275438 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) +/* 802784DC 0027543C 90 E1 00 38 */ stw r7, 0x38(r1) +/* 802784E0 00275440 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802784E4 00275444 81 9C 00 00 */ lwz r12, 0(r28) +/* 802784E8 00275448 81 8C 02 90 */ lwz r12, 0x290(r12) +/* 802784EC 0027544C 7D 89 03 A6 */ mtctr r12 +/* 802784F0 00275450 4E 80 04 21 */ bctrl +lbl_802784F4: +/* 802784F4 00275454 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802784F8 00275458 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802784FC 0027545C 7C 08 03 A6 */ mtlr r0 +/* 80278500 00275460 38 21 00 90 */ addi r1, r1, 0x90 +/* 80278504 00275464 4E 80 00 20 */ blr + +.global sub_80278508 +sub_80278508: +/* 80278508 00275468 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8027850C 0027546C 7C 08 02 A6 */ mflr r0 +/* 80278510 00275470 90 01 00 84 */ stw r0, 0x84(r1) +/* 80278514 00275474 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 80278518 00275478 7C BB 2B 78 */ mr r27, r5 +/* 8027851C 0027547C 7C 7D 1B 78 */ mr r29, r3 +/* 80278520 00275480 7C 9E 23 78 */ mr r30, r4 +/* 80278524 00275484 7C DF 33 78 */ mr r31, r6 +/* 80278528 00275488 80 03 05 70 */ lwz r0, 0x570(r3) +/* 8027852C 0027548C 7C 00 D8 00 */ cmpw r0, r27 +/* 80278530 00275490 41 82 00 EC */ beq lbl_8027861C +/* 80278534 00275494 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 80278538 00275498 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027853C 0027549C 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80278540 002754A0 38 84 02 28 */ addi r4, r4, 0x228 +/* 80278544 002754A4 4B D8 C7 75 */ bl string_l__4rstlFPCc +/* 80278548 002754A8 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8027854C 002754AC 7F C6 F3 78 */ mr r6, r30 +/* 80278550 002754B0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80278554 002754B4 38 A0 00 01 */ li r5, 1 +/* 80278558 002754B8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027855C 002754BC 4B DB 28 65 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278560 002754C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80278564 002754C4 48 0C 55 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278568 002754C8 81 1D 00 04 */ lwz r8, 4(r29) +/* 8027856C 002754CC 39 80 00 00 */ li r12, 0 +/* 80278570 002754D0 C0 A2 BC 08 */ lfs f5, lbl_805AD928@sda21(r2) +/* 80278574 002754D4 3B 80 00 01 */ li r28, 1 +/* 80278578 002754D8 C0 82 BC C8 */ lfs f4, lbl_805AD9E8@sda21(r2) +/* 8027857C 002754DC 39 60 00 7F */ li r11, 0x7f +/* 80278580 002754E0 C0 62 BC 6C */ lfs f3, lbl_805AD98C@sda21(r2) +/* 80278584 002754E4 39 40 00 14 */ li r10, 0x14 +/* 80278588 002754E8 89 22 CC 41 */ lbz r9, lbl_805AE961@sda21(r2) +/* 8027858C 002754EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80278590 002754F0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80278594 002754F4 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80278598 002754F8 C0 45 00 00 */ lfs f2, 0(r5) +/* 8027859C 002754FC 38 00 0B 9A */ li r0, 0xb9a +/* 802785A0 00275500 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802785A4 00275504 38 61 00 14 */ addi r3, r1, 0x14 +/* 802785A8 00275508 C0 25 00 04 */ lfs f1, 4(r5) +/* 802785AC 0027550C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802785B0 00275510 C0 05 00 08 */ lfs f0, 8(r5) +/* 802785B4 00275514 38 A0 00 01 */ li r5, 1 +/* 802785B8 00275518 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802785BC 0027551C 38 E0 00 00 */ li r7, 0 +/* 802785C0 00275520 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 802785C4 00275524 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802785C8 00275528 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 802785CC 0027552C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802785D0 00275530 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802785D4 00275534 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802785D8 00275538 93 81 00 50 */ stw r28, 0x50(r1) +/* 802785DC 0027553C B1 81 00 54 */ sth r12, 0x54(r1) +/* 802785E0 00275540 99 61 00 56 */ stb r11, 0x56(r1) +/* 802785E4 00275544 99 41 00 57 */ stb r10, 0x57(r1) +/* 802785E8 00275548 99 81 00 58 */ stb r12, 0x58(r1) +/* 802785EC 0027554C 99 21 00 59 */ stb r9, 0x59(r1) +/* 802785F0 00275550 C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 802785F4 00275554 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 802785F8 00275558 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 802785FC 0027555C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80278600 00275560 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80278604 00275564 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80278608 00275568 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8027860C 0027556C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80278610 00275570 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80278614 00275574 B0 01 00 54 */ sth r0, 0x54(r1) +/* 80278618 00275578 48 07 19 C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +lbl_8027861C: +/* 8027861C 0027557C 93 7D 05 70 */ stw r27, 0x570(r29) +/* 80278620 00275580 3B 9D 05 8C */ addi r28, r29, 0x58c +/* 80278624 00275584 7F A3 EB 78 */ mr r3, r29 +/* 80278628 00275588 7F C5 F3 78 */ mr r5, r30 +/* 8027862C 0027558C 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 80278630 00275590 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80278634 00275594 7C 9C 02 14 */ add r4, r28, r0 +/* 80278638 00275598 38 84 00 6C */ addi r4, r4, 0x6c +/* 8027863C 0027559C 4B FF FA F5 */ bl sub_80278130 +/* 80278640 002755A0 A0 1D 08 CC */ lhz r0, 0x8cc(r29) +/* 80278644 002755A4 7F C3 F3 78 */ mr r3, r30 +/* 80278648 002755A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027864C 002755AC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80278650 002755B0 4B DD 3F 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278654 002755B4 7C 64 1B 78 */ mr r4, r3 +/* 80278658 002755B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8027865C 002755BC 4B E3 6C F1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278660 002755C0 83 63 00 04 */ lwz r27, 4(r3) +/* 80278664 002755C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80278668 002755C8 41 82 00 80 */ beq lbl_802786E8 +/* 8027866C 002755CC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80278670 002755D0 41 82 00 34 */ beq lbl_802786A4 +/* 80278674 002755D4 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 80278678 002755D8 7F 63 DB 78 */ mr r3, r27 +/* 8027867C 002755DC 1C 80 00 78 */ mulli r4, r0, 0x78 +/* 80278680 002755E0 38 84 00 04 */ addi r4, r4, 4 +/* 80278684 002755E4 7C 9C 22 14 */ add r4, r28, r4 +/* 80278688 002755E8 4B F3 05 11 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 8027868C 002755EC 7F 63 DB 78 */ mr r3, r27 +/* 80278690 002755F0 7F C6 F3 78 */ mr r6, r30 +/* 80278694 002755F4 38 80 00 28 */ li r4, 0x28 +/* 80278698 002755F8 38 A0 00 29 */ li r5, 0x29 +/* 8027869C 002755FC 4B DD BC 19 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 802786A0 00275600 48 00 00 48 */ b lbl_802786E8 +lbl_802786A4: +/* 802786A4 00275604 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802786A8 00275608 7F 63 DB 78 */ mr r3, r27 +/* 802786AC 0027560C 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802786B0 00275610 4B F3 04 E9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802786B4 00275614 A0 1D 00 08 */ lhz r0, 8(r29) +/* 802786B8 00275618 7F C6 F3 78 */ mr r6, r30 +/* 802786BC 0027561C 38 81 00 0C */ addi r4, r1, 0xc +/* 802786C0 00275620 38 A0 00 08 */ li r5, 8 +/* 802786C4 00275624 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802786C8 00275628 B0 01 00 08 */ sth r0, 8(r1) +/* 802786CC 0027562C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802786D0 00275630 4B F0 2B 85 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 802786D4 00275634 7F 63 DB 78 */ mr r3, r27 +/* 802786D8 00275638 7F C6 F3 78 */ mr r6, r30 +/* 802786DC 0027563C 38 80 00 28 */ li r4, 0x28 +/* 802786E0 00275640 38 A0 00 29 */ li r5, 0x29 +/* 802786E4 00275644 4B DD B7 F1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_802786E8: +/* 802786E8 00275648 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 802786EC 0027564C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802786F0 00275650 7C 08 03 A6 */ mtlr r0 +/* 802786F4 00275654 38 21 00 80 */ addi r1, r1, 0x80 +/* 802786F8 00275658 4E 80 00 20 */ blr + +.global sub_802786fc +sub_802786fc: +/* 802786FC 0027565C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80278700 00275660 7C 08 02 A6 */ mflr r0 +/* 80278704 00275664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80278708 00275668 BF 41 00 08 */ stmw r26, 8(r1) +/* 8027870C 0027566C 7C 7E 1B 78 */ mr r30, r3 +/* 80278710 00275670 7C 9F 23 78 */ mr r31, r4 +/* 80278714 00275674 88 03 05 84 */ lbz r0, 0x584(r3) +/* 80278718 00275678 28 00 00 00 */ cmplwi r0, 0 +/* 8027871C 0027567C 41 82 00 2C */ beq lbl_80278748 +/* 80278720 00275680 80 1E 05 70 */ lwz r0, 0x570(r30) +/* 80278724 00275684 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80278728 00275688 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 8027872C 0027568C 7F BE 02 14 */ add r29, r30, r0 +/* 80278730 00275690 3B BD 05 8C */ addi r29, r29, 0x58c +/* 80278734 00275694 48 09 9D ED */ bl Next__9CRandom16Fv +/* 80278738 00275698 54 60 17 7A */ rlwinm r0, r3, 2, 0x1d, 0x1d +/* 8027873C 0027569C 7C 7D 02 14 */ add r3, r29, r0 +/* 80278740 002756A0 83 63 00 70 */ lwz r27, 0x70(r3) +/* 80278744 002756A4 48 00 00 84 */ b lbl_802787C8 +lbl_80278748: +/* 80278748 002756A8 83 7E 05 70 */ lwz r27, 0x570(r30) +/* 8027874C 002756AC 3B 9E 05 8C */ addi r28, r30, 0x58c +/* 80278750 002756B0 3B 40 00 00 */ li r26, 0 +/* 80278754 002756B4 3B A0 00 01 */ li r29, 1 +lbl_80278758: +/* 80278758 002756B8 3B 5A 00 01 */ addi r26, r26, 1 +/* 8027875C 002756BC 2C 1A 00 0A */ cmpwi r26, 0xa +/* 80278760 002756C0 40 80 00 24 */ bge lbl_80278784 +/* 80278764 002756C4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80278768 002756C8 48 09 9D B9 */ bl Next__9CRandom16Fv +/* 8027876C 002756CC 1C 1B 00 78 */ mulli r0, r27, 0x78 +/* 80278770 002756D0 54 63 17 7A */ rlwinm r3, r3, 2, 0x1d, 0x1d +/* 80278774 002756D4 7C 60 1A 14 */ add r3, r0, r3 +/* 80278778 002756D8 38 03 00 70 */ addi r0, r3, 0x70 +/* 8027877C 002756DC 7F 7C 00 2E */ lwzx r27, r28, r0 +/* 80278780 002756E0 48 00 00 18 */ b lbl_80278798 +lbl_80278784: +/* 80278784 002756E4 2C 1A 00 14 */ cmpwi r26, 0x14 +/* 80278788 002756E8 40 80 00 2C */ bge lbl_802787B4 +/* 8027878C 002756EC 1C 7B 00 78 */ mulli r3, r27, 0x78 +/* 80278790 002756F0 38 03 00 74 */ addi r0, r3, 0x74 +/* 80278794 002756F4 7F 7C 00 2E */ lwzx r27, r28, r0 +lbl_80278798: +/* 80278798 002756F8 80 1E 05 7C */ lwz r0, 0x57c(r30) +/* 8027879C 002756FC 7F A3 D8 30 */ slw r3, r29, r27 +/* 802787A0 00275700 7C 00 18 39 */ and. r0, r0, r3 +/* 802787A4 00275704 41 82 FF B4 */ beq lbl_80278758 +/* 802787A8 00275708 80 1E 05 80 */ lwz r0, 0x580(r30) +/* 802787AC 0027570C 7C 00 18 39 */ and. r0, r0, r3 +/* 802787B0 00275710 40 82 FF A8 */ bne lbl_80278758 +lbl_802787B4: +/* 802787B4 00275714 38 00 00 01 */ li r0, 1 +/* 802787B8 00275718 80 7E 05 80 */ lwz r3, 0x580(r30) +/* 802787BC 0027571C 7C 00 D8 30 */ slw r0, r0, r27 +/* 802787C0 00275720 7C 60 03 78 */ or r0, r3, r0 +/* 802787C4 00275724 90 1E 05 80 */ stw r0, 0x580(r30) +lbl_802787C8: +/* 802787C8 00275728 88 1E 08 F4 */ lbz r0, 0x8f4(r30) +/* 802787CC 0027572C 7F C3 F3 78 */ mr r3, r30 +/* 802787D0 00275730 7F E4 FB 78 */ mr r4, r31 +/* 802787D4 00275734 7F 65 DB 78 */ mr r5, r27 +/* 802787D8 00275738 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f +/* 802787DC 0027573C 4B FF FD 2D */ bl sub_80278508 +/* 802787E0 00275740 7F C3 F3 78 */ mr r3, r30 +/* 802787E4 00275744 7F E4 FB 78 */ mr r4, r31 +/* 802787E8 00275748 4B FF D4 79 */ bl sub_80275c60 +/* 802787EC 0027574C BB 41 00 08 */ lmw r26, 8(r1) +/* 802787F0 00275750 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802787F4 00275754 7C 08 03 A6 */ mtlr r0 +/* 802787F8 00275758 38 21 00 20 */ addi r1, r1, 0x20 +/* 802787FC 0027575C 4E 80 00 20 */ blr + +.global sub_80278800 +sub_80278800: +/* 80278800 00275760 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278804 00275764 7C 08 02 A6 */ mflr r0 +/* 80278808 00275768 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027880C 0027576C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278810 00275770 7C BF 2B 78 */ mr r31, r5 +/* 80278814 00275774 7F E6 FB 78 */ mr r6, r31 +/* 80278818 00275778 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8027881C 0027577C 7C 9E 23 78 */ mr r30, r4 +/* 80278820 00275780 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80278824 00275784 7C 7D 1B 78 */ mr r29, r3 +/* 80278828 00275788 88 03 08 F4 */ lbz r0, 0x8f4(r3) +/* 8027882C 0027578C 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 80278830 00275790 98 03 08 F4 */ stb r0, 0x8f4(r3) +/* 80278834 00275794 80 A3 05 70 */ lwz r5, 0x570(r3) +/* 80278838 00275798 4B FF FC D1 */ bl sub_80278508 +/* 8027883C 0027579C 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 80278840 002757A0 38 61 00 08 */ addi r3, r1, 8 +/* 80278844 002757A4 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 80278848 002757A8 38 84 02 34 */ addi r4, r4, 0x234 +/* 8027884C 002757AC 4B D8 C4 6D */ bl string_l__4rstlFPCc +/* 80278850 002757B0 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80278854 002757B4 7F E5 FB 78 */ mr r5, r31 +/* 80278858 002757B8 7F C6 F3 78 */ mr r6, r30 +/* 8027885C 002757BC 38 81 00 08 */ addi r4, r1, 8 +/* 80278860 002757C0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278864 002757C4 4B DB 25 5D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80278868 002757C8 38 61 00 08 */ addi r3, r1, 8 +/* 8027886C 002757CC 48 0C 52 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278870 002757D0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80278874 002757D4 41 82 00 24 */ beq lbl_80278898 +/* 80278878 002757D8 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 8027887C 002757DC 7F A3 EB 78 */ mr r3, r29 +/* 80278880 002757E0 7F C5 F3 78 */ mr r5, r30 +/* 80278884 002757E4 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80278888 002757E8 7C 9D 02 14 */ add r4, r29, r0 +/* 8027888C 002757EC 38 84 05 F8 */ addi r4, r4, 0x5f8 +/* 80278890 002757F0 4B FF F8 A1 */ bl sub_80278130 +/* 80278894 002757F4 48 00 00 18 */ b lbl_802788AC +lbl_80278898: +/* 80278898 002757F8 48 0D 17 1D */ bl Black__6CColorFv +/* 8027889C 002757FC 7C 64 1B 78 */ mr r4, r3 +/* 802788A0 00275800 7F A3 EB 78 */ mr r3, r29 +/* 802788A4 00275804 7F C5 F3 78 */ mr r5, r30 +/* 802788A8 00275808 4B FF F8 89 */ bl sub_80278130 +lbl_802788AC: +/* 802788AC 0027580C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802788B0 00275810 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802788B4 00275814 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802788B8 00275818 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802788BC 0027581C 7C 08 03 A6 */ mtlr r0 +/* 802788C0 00275820 38 21 00 30 */ addi r1, r1, 0x30 +/* 802788C4 00275824 4E 80 00 20 */ blr + +.global sub_802788c8 +sub_802788c8: +/* 802788C8 00275828 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802788CC 0027582C 7C 08 02 A6 */ mflr r0 +/* 802788D0 00275830 90 01 00 24 */ stw r0, 0x24(r1) +/* 802788D4 00275834 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802788D8 00275838 7C 9F 23 78 */ mr r31, r4 +/* 802788DC 0027583C 38 81 00 08 */ addi r4, r1, 8 +/* 802788E0 00275840 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802788E4 00275844 7C 7E 1B 78 */ mr r30, r3 +/* 802788E8 00275848 A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 802788EC 0027584C 7F E3 FB 78 */ mr r3, r31 +/* 802788F0 00275850 B0 01 00 08 */ sth r0, 8(r1) +/* 802788F4 00275854 4B DD 3C 81 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802788F8 00275858 7C 64 1B 78 */ mr r4, r3 +/* 802788FC 0027585C 38 61 00 0C */ addi r3, r1, 0xc +/* 80278900 00275860 4B E3 6A 4D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278904 00275864 80 63 00 04 */ lwz r3, 4(r3) +/* 80278908 00275868 28 03 00 00 */ cmplwi r3, 0 +/* 8027890C 0027586C 41 82 00 28 */ beq lbl_80278934 +/* 80278910 00275870 81 83 00 00 */ lwz r12, 0(r3) +/* 80278914 00275874 7F E4 FB 78 */ mr r4, r31 +/* 80278918 00275878 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8027891C 0027587C 7D 89 03 A6 */ mtctr r12 +/* 80278920 00275880 4E 80 04 21 */ bctrl +/* 80278924 00275884 C0 1E 08 C0 */ lfs f0, 0x8c0(r30) +/* 80278928 00275888 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027892C 0027588C C0 1E 08 C4 */ lfs f0, 0x8c4(r30) +/* 80278930 00275890 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80278934: +/* 80278934 00275894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80278938 00275898 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8027893C 0027589C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80278940 002758A0 7C 08 03 A6 */ mtlr r0 +/* 80278944 002758A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80278948 002758A8 4E 80 00 20 */ blr + +.global sub_8027894c +sub_8027894c: +/* 8027894C 002758AC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80278950 002758B0 7C 08 02 A6 */ mflr r0 +/* 80278954 002758B4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80278958 002758B8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8027895C 002758BC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80278960 002758C0 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80278964 002758C4 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80278968 002758C8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8027896C 002758CC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80278970 002758D0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80278974 002758D4 7C 7D 1B 78 */ mr r29, r3 +/* 80278978 002758D8 7C 9E 23 78 */ mr r30, r4 +/* 8027897C 002758DC A0 03 08 CC */ lhz r0, 0x8cc(r3) +/* 80278980 002758E0 7F C3 F3 78 */ mr r3, r30 +/* 80278984 002758E4 38 81 00 08 */ addi r4, r1, 8 +/* 80278988 002758E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8027898C 002758EC 4B DD 3B E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80278990 002758F0 7C 64 1B 78 */ mr r4, r3 +/* 80278994 002758F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278998 002758F8 4B E3 69 B5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8027899C 002758FC 83 E3 00 04 */ lwz r31, 4(r3) +/* 802789A0 00275900 28 1F 00 00 */ cmplwi r31, 0 +/* 802789A4 00275904 41 82 01 90 */ beq lbl_80278B34 +/* 802789A8 00275908 7F E3 FB 78 */ mr r3, r31 +/* 802789AC 0027590C 7F C4 F3 78 */ mr r4, r30 +/* 802789B0 00275910 81 9F 00 00 */ lwz r12, 0(r31) +/* 802789B4 00275914 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802789B8 00275918 7D 89 03 A6 */ mtctr r12 +/* 802789BC 0027591C 4E 80 04 21 */ bctrl +/* 802789C0 00275920 C0 23 00 00 */ lfs f1, 0(r3) +/* 802789C4 00275924 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 802789C8 00275928 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802789CC 0027592C 4C 40 13 82 */ cror 2, 0, 2 +/* 802789D0 00275930 40 82 00 40 */ bne lbl_80278A10 +/* 802789D4 00275934 88 7D 08 F4 */ lbz r3, 0x8f4(r29) +/* 802789D8 00275938 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 802789DC 0027593C 40 82 00 34 */ bne lbl_80278A10 +/* 802789E0 00275940 38 80 00 01 */ li r4, 1 +/* 802789E4 00275944 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 802789E8 00275948 98 7D 08 F4 */ stb r3, 0x8f4(r29) +/* 802789EC 0027594C 80 7D 08 D0 */ lwz r3, 0x8d0(r29) +/* 802789F0 00275950 38 03 FF FF */ addi r0, r3, -1 +/* 802789F4 00275954 90 1D 08 D0 */ stw r0, 0x8d0(r29) +/* 802789F8 00275958 80 1D 08 D0 */ lwz r0, 0x8d0(r29) +/* 802789FC 0027595C 2C 00 00 00 */ cmpwi r0, 0 +/* 80278A00 00275960 40 82 00 10 */ bne lbl_80278A10 +/* 80278A04 00275964 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80278A08 00275968 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80278A0C 0027596C 98 1D 04 00 */ stb r0, 0x400(r29) +lbl_80278A10: +/* 80278A10 00275970 88 1D 08 F4 */ lbz r0, 0x8f4(r29) +/* 80278A14 00275974 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80278A18 00275978 41 82 00 10 */ beq lbl_80278A28 +/* 80278A1C 0027597C 7F A3 EB 78 */ mr r3, r29 +/* 80278A20 00275980 7F C4 F3 78 */ mr r4, r30 +/* 80278A24 00275984 4B FF FE A5 */ bl sub_802788c8 +lbl_80278A28: +/* 80278A28 00275988 80 DD 09 1C */ lwz r6, 0x91c(r29) +/* 80278A2C 0027598C 2C 06 00 00 */ cmpwi r6, 0 +/* 80278A30 00275990 41 80 01 04 */ blt lbl_80278B34 +/* 80278A34 00275994 2C 06 00 04 */ cmpwi r6, 4 +/* 80278A38 00275998 40 80 00 FC */ bge lbl_80278B34 +/* 80278A3C 0027599C 88 1D 09 14 */ lbz r0, 0x914(r29) +/* 80278A40 002759A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80278A44 002759A4 41 82 00 54 */ beq lbl_80278A98 +/* 80278A48 002759A8 80 0D 98 80 */ lwz r0, lbl_805A8440@sda21(r13) +/* 80278A4C 002759AC 38 66 FF FF */ addi r3, r6, -1 +/* 80278A50 002759B0 90 61 00 10 */ stw r3, 0x10(r1) +/* 80278A54 002759B4 38 8D 98 80 */ addi r4, r13, lbl_805A8440@sda21 +/* 80278A58 002759B8 7C 00 18 00 */ cmpw r0, r3 +/* 80278A5C 002759BC 40 80 00 08 */ bge lbl_80278A64 +/* 80278A60 002759C0 38 81 00 10 */ addi r4, r1, 0x10 +lbl_80278A64: +/* 80278A64 002759C4 7F A3 EB 78 */ mr r3, r29 +/* 80278A68 002759C8 80 04 00 00 */ lwz r0, 0(r4) +/* 80278A6C 002759CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278A70 002759D0 3C A0 80 3D */ lis r5, lbl_803D5434@ha +/* 80278A74 002759D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80278A78 002759D8 7F C4 F3 78 */ mr r4, r30 +/* 80278A7C 002759DC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278A80 002759E0 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l +/* 80278A84 002759E4 7F E5 04 2E */ lfsx f31, r5, r0 +/* 80278A88 002759E8 7D 89 03 A6 */ mtctr r12 +/* 80278A8C 002759EC 4E 80 04 21 */ bctrl +/* 80278A90 002759F0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80278A94 002759F4 48 00 00 A0 */ b lbl_80278B34 +lbl_80278A98: +/* 80278A98 002759F8 80 9D 08 D0 */ lwz r4, 0x8d0(r29) +/* 80278A9C 002759FC 3C 00 43 30 */ lis r0, 0x4330 +/* 80278AA0 00275A00 7F E3 FB 78 */ mr r3, r31 +/* 80278AA4 00275A04 3C A0 80 3D */ lis r5, lbl_803D5434@ha +/* 80278AA8 00275A08 38 84 FF FF */ addi r4, r4, -1 +/* 80278AAC 00275A0C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80278AB0 00275A10 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80278AB4 00275A14 90 01 00 20 */ stw r0, 0x20(r1) +/* 80278AB8 00275A18 C8 42 BC 78 */ lfd f2, lbl_805AD998@sda21(r2) +/* 80278ABC 00275A1C 54 C0 10 3A */ slwi r0, r6, 2 +/* 80278AC0 00275A20 90 81 00 24 */ stw r4, 0x24(r1) +/* 80278AC4 00275A24 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l +/* 80278AC8 00275A28 C0 1D 08 C0 */ lfs f0, 0x8c0(r29) +/* 80278ACC 00275A2C 7F C4 F3 78 */ mr r4, r30 +/* 80278AD0 00275A30 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80278AD4 00275A34 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278AD8 00275A38 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80278ADC 00275A3C 7F E5 04 2E */ lfsx f31, r5, r0 +/* 80278AE0 00275A40 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80278AE4 00275A44 7D 89 03 A6 */ mtctr r12 +/* 80278AE8 00275A48 4E 80 04 21 */ bctrl +/* 80278AEC 00275A4C C0 23 00 00 */ lfs f1, 0(r3) +/* 80278AF0 00275A50 C0 0D 98 84 */ lfs f0, lbl_805A8444@sda21(r13) +/* 80278AF4 00275A54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80278AF8 00275A58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278AFC 00275A5C 40 80 00 0C */ bge lbl_80278B08 +/* 80278B00 00275A60 38 AD 98 84 */ addi r5, r13, lbl_805A8444@sda21 +/* 80278B04 00275A64 48 00 00 08 */ b lbl_80278B0C +lbl_80278B08: +/* 80278B08 00275A68 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80278B0C: +/* 80278B0C 00275A6C 7F A3 EB 78 */ mr r3, r29 +/* 80278B10 00275A70 EC 1F F0 2A */ fadds f0, f31, f30 +/* 80278B14 00275A74 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278B18 00275A78 7F C4 F3 78 */ mr r4, r30 +/* 80278B1C 00275A7C C0 25 00 00 */ lfs f1, 0(r5) +/* 80278B20 00275A80 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80278B24 00275A84 EF C1 00 2A */ fadds f30, f1, f0 +/* 80278B28 00275A88 7D 89 03 A6 */ mtctr r12 +/* 80278B2C 00275A8C 4E 80 04 21 */ bctrl +/* 80278B30 00275A90 D3 C3 00 00 */ stfs f30, 0(r3) +lbl_80278B34: +/* 80278B34 00275A94 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80278B38 00275A98 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80278B3C 00275A9C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80278B40 00275AA0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80278B44 00275AA4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80278B48 00275AA8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80278B4C 00275AAC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80278B50 00275AB0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80278B54 00275AB4 7C 08 03 A6 */ mtlr r0 +/* 80278B58 00275AB8 38 21 00 60 */ addi r1, r1, 0x60 +/* 80278B5C 00275ABC 4E 80 00 20 */ blr + +.global sub_80278b60 +sub_80278b60: +/* 80278B60 00275AC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80278B64 00275AC4 7C 08 02 A6 */ mflr r0 +/* 80278B68 00275AC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80278B6C 00275ACC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80278B70 00275AD0 7C 7B 1B 78 */ mr r27, r3 +/* 80278B74 00275AD4 7C 9C 23 78 */ mr r28, r4 +/* 80278B78 00275AD8 7C BD 2B 78 */ mr r29, r5 +/* 80278B7C 00275ADC 3B C0 00 00 */ li r30, 0 +/* 80278B80 00275AE0 3B FB 07 70 */ addi r31, r27, 0x770 +/* 80278B84 00275AE4 48 00 00 34 */ b lbl_80278BB8 +lbl_80278B88: +/* 80278B88 00275AE8 7F E3 FB 78 */ mr r3, r31 +/* 80278B8C 00275AEC 7F A4 EB 78 */ mr r4, r29 +/* 80278B90 00275AF0 4B EF C6 95 */ bl SetActive__13CBoneTrackingFb +/* 80278B94 00275AF4 80 BC 08 4C */ lwz r5, 0x84c(r28) +/* 80278B98 00275AF8 7F E3 FB 78 */ mr r3, r31 +/* 80278B9C 00275AFC 38 81 00 0C */ addi r4, r1, 0xc +/* 80278BA0 00275B00 A0 05 00 08 */ lhz r0, 8(r5) +/* 80278BA4 00275B04 B0 01 00 08 */ sth r0, 8(r1) +/* 80278BA8 00275B08 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80278BAC 00275B0C 4B EF C6 6D */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80278BB0 00275B10 3B FF 00 38 */ addi r31, r31, 0x38 +/* 80278BB4 00275B14 3B DE 00 01 */ addi r30, r30, 1 +lbl_80278BB8: +/* 80278BB8 00275B18 80 1B 07 6C */ lwz r0, 0x76c(r27) +/* 80278BBC 00275B1C 7C 1E 00 00 */ cmpw r30, r0 +/* 80278BC0 00275B20 41 80 FF C8 */ blt lbl_80278B88 +/* 80278BC4 00275B24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80278BC8 00275B28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80278BCC 00275B2C 7C 08 03 A6 */ mtlr r0 +/* 80278BD0 00275B30 38 21 00 30 */ addi r1, r1, 0x30 +/* 80278BD4 00275B34 4E 80 00 20 */ blr + +.global sub_80278bd8 +sub_80278bd8: +/* 80278BD8 00275B38 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80278BDC 00275B3C 7C 08 02 A6 */ mflr r0 +/* 80278BE0 00275B40 90 01 00 44 */ stw r0, 0x44(r1) +/* 80278BE4 00275B44 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80278BE8 00275B48 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80278BEC 00275B4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80278BF0 00275B50 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80278BF4 00275B54 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80278BF8 00275B58 93 81 00 20 */ stw r28, 0x20(r1) +/* 80278BFC 00275B5C 7C 7C 1B 78 */ mr r28, r3 +/* 80278C00 00275B60 FF E0 08 90 */ fmr f31, f1 +/* 80278C04 00275B64 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80278C08 00275B68 7C 9D 23 78 */ mr r29, r4 +/* 80278C0C 00275B6C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80278C10 00275B70 4B DB 3D F5 */ bl PreRender__9CAnimDataFv +/* 80278C14 00275B74 3B FC 07 70 */ addi r31, r28, 0x770 +/* 80278C18 00275B78 3B C0 00 00 */ li r30, 0 +/* 80278C1C 00275B7C 48 00 00 54 */ b lbl_80278C70 +lbl_80278C20: +/* 80278C20 00275B80 FC 20 F8 90 */ fmr f1, f31 +/* 80278C24 00275B84 7F E3 FB 78 */ mr r3, r31 +/* 80278C28 00275B88 4B EF CD 81 */ bl Update__13CBoneTrackingFf +/* 80278C2C 00275B8C 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80278C30 00275B90 7F E3 FB 78 */ mr r3, r31 +/* 80278C34 00275B94 81 1C 04 50 */ lwz r8, 0x450(r28) +/* 80278C38 00275B98 7F A4 EB 78 */ mr r4, r29 +/* 80278C3C 00275B9C C0 05 00 00 */ lfs f0, 0(r5) +/* 80278C40 00275BA0 38 DC 00 34 */ addi r6, r28, 0x34 +/* 80278C44 00275BA4 38 E1 00 08 */ addi r7, r1, 8 +/* 80278C48 00275BA8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80278C4C 00275BAC C0 05 00 04 */ lfs f0, 4(r5) +/* 80278C50 00275BB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80278C54 00275BB4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80278C58 00275BB8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80278C5C 00275BBC 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80278C60 00275BC0 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80278C64 00275BC4 4B EF CC AD */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80278C68 00275BC8 3B FF 00 38 */ addi r31, r31, 0x38 +/* 80278C6C 00275BCC 3B DE 00 01 */ addi r30, r30, 1 +lbl_80278C70: +/* 80278C70 00275BD0 80 1C 07 6C */ lwz r0, 0x76c(r28) +/* 80278C74 00275BD4 7C 1E 00 00 */ cmpw r30, r0 +/* 80278C78 00275BD8 41 80 FF A8 */ blt lbl_80278C20 +/* 80278C7C 00275BDC 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 80278C80 00275BE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80278C84 00275BE4 41 82 00 1C */ beq lbl_80278CA0 +/* 80278C88 00275BE8 88 7C 10 54 */ lbz r3, 0x1054(r28) +/* 80278C8C 00275BEC 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 80278C90 00275BF0 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80278C94 00275BF4 7C 63 00 34 */ cntlzw r3, r3 +/* 80278C98 00275BF8 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e +/* 80278C9C 00275BFC 98 1C 00 E4 */ stb r0, 0xe4(r28) +lbl_80278CA0: +/* 80278CA0 00275C00 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80278CA4 00275C04 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80278CA8 00275C08 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80278CAC 00275C0C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80278CB0 00275C10 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80278CB4 00275C14 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80278CB8 00275C18 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80278CBC 00275C1C 7C 08 03 A6 */ mtlr r0 +/* 80278CC0 00275C20 38 21 00 40 */ addi r1, r1, 0x40 +/* 80278CC4 00275C24 4E 80 00 20 */ blr + +.global sub_80278cc8 +sub_80278cc8: +/* 80278CC8 00275C28 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80278CCC 00275C2C 7C 08 02 A6 */ mflr r0 +/* 80278CD0 00275C30 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80278CD4 00275C34 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80278CD8 00275C38 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 80278CDC 00275C3C 7C BE 2B 78 */ mr r30, r5 +/* 80278CE0 00275C40 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80278CE4 00275C44 7C 7D 1B 78 */ mr r29, r3 +/* 80278CE8 00275C48 7F C3 F3 78 */ mr r3, r30 +/* 80278CEC 00275C4C A0 04 00 00 */ lhz r0, 0(r4) +/* 80278CF0 00275C50 38 81 00 38 */ addi r4, r1, 0x38 +/* 80278CF4 00275C54 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80278CF8 00275C58 4B DD 38 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278CFC 00275C5C 7C 64 1B 78 */ mr r4, r3 +/* 80278D00 00275C60 38 61 00 48 */ addi r3, r1, 0x48 +/* 80278D04 00275C64 4B E3 66 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80278D08 00275C68 80 83 00 04 */ lwz r4, 4(r3) +/* 80278D0C 00275C6C 28 04 00 00 */ cmplwi r4, 0 +/* 80278D10 00275C70 41 82 01 E8 */ beq lbl_80278EF8 +/* 80278D14 00275C74 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80278D18 00275C78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80278D1C 00275C7C 41 82 01 DC */ beq lbl_80278EF8 +/* 80278D20 00275C80 38 61 00 34 */ addi r3, r1, 0x34 +/* 80278D24 00275C84 4B F2 FE 69 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80278D28 00275C88 7F A4 EB 78 */ mr r4, r29 +/* 80278D2C 00275C8C A0 01 00 34 */ lhz r0, 0x34(r1) +/* 80278D30 00275C90 81 9D 00 00 */ lwz r12, 0(r29) +/* 80278D34 00275C94 38 61 00 88 */ addi r3, r1, 0x88 +/* 80278D38 00275C98 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80278D3C 00275C9C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80278D40 00275CA0 7D 89 03 A6 */ mtctr r12 +/* 80278D44 00275CA4 4E 80 04 21 */ bctrl +/* 80278D48 00275CA8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80278D4C 00275CAC 3B E1 00 88 */ addi r31, r1, 0x88 +/* 80278D50 00275CB0 A0 81 00 3C */ lhz r4, 0x3c(r1) +/* 80278D54 00275CB4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80278D58 00275CB8 7C 04 00 40 */ cmplw r4, r0 +/* 80278D5C 00275CBC 40 82 00 AC */ bne lbl_80278E08 +/* 80278D60 00275CC0 4B D9 CF 9D */ bl GetFrozenState__7CPlayerCFv +/* 80278D64 00275CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80278D68 00275CC8 41 82 00 10 */ beq lbl_80278D78 +/* 80278D6C 00275CCC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80278D70 00275CD0 7F C4 F3 78 */ mr r4, r30 +/* 80278D74 00275CD4 4B D9 CC B9 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_80278D78: +/* 80278D78 00275CD8 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 80278D7C 00275CDC C0 1D 04 20 */ lfs f0, 0x420(r29) +/* 80278D80 00275CE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80278D84 00275CE4 4C 41 13 82 */ cror 2, 1, 2 +/* 80278D88 00275CE8 40 82 01 70 */ bne lbl_80278EF8 +/* 80278D8C 00275CEC 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80278D90 00275CF0 38 60 00 00 */ li r3, 0 +/* 80278D94 00275CF4 38 80 00 01 */ li r4, 1 +/* 80278D98 00275CF8 48 11 11 5D */ bl __shl2i +/* 80278D9C 00275CFC 39 00 00 00 */ li r8, 0 +/* 80278DA0 00275D00 39 40 00 03 */ li r10, 3 +/* 80278DA4 00275D04 90 81 00 74 */ stw r4, 0x74(r1) +/* 80278DA8 00275D08 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278DAC 00275D0C 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278DB0 00275D10 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80278DB4 00275D14 90 61 00 70 */ stw r3, 0x70(r1) +/* 80278DB8 00275D18 7F C3 F3 78 */ mr r3, r30 +/* 80278DBC 00275D1C 7F E7 FB 78 */ mr r7, r31 +/* 80278DC0 00275D20 38 81 00 30 */ addi r4, r1, 0x30 +/* 80278DC4 00275D24 91 01 00 7C */ stw r8, 0x7c(r1) +/* 80278DC8 00275D28 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80278DCC 00275D2C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80278DD0 00275D30 91 01 00 78 */ stw r8, 0x78(r1) +/* 80278DD4 00275D34 39 01 00 70 */ addi r8, r1, 0x70 +/* 80278DD8 00275D38 91 41 00 80 */ stw r10, 0x80(r1) +/* 80278DDC 00275D3C A1 5D 00 08 */ lhz r10, 8(r29) +/* 80278DE0 00275D40 B1 41 00 24 */ sth r10, 0x24(r1) +/* 80278DE4 00275D44 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80278DE8 00275D48 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80278DEC 00275D4C B1 41 00 20 */ sth r10, 0x20(r1) +/* 80278DF0 00275D50 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80278DF4 00275D54 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80278DF8 00275D58 4B DD 12 A9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80278DFC 00275D5C C0 1D 04 24 */ lfs f0, 0x424(r29) +/* 80278E00 00275D60 D0 1D 04 20 */ stfs f0, 0x420(r29) +/* 80278E04 00275D64 48 00 00 F4 */ b lbl_80278EF8 +lbl_80278E08: +/* 80278E08 00275D68 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 80278E0C 00275D6C 7F C3 F3 78 */ mr r3, r30 +/* 80278E10 00275D70 38 81 00 1C */ addi r4, r1, 0x1c +/* 80278E14 00275D74 4B DD 37 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80278E18 00275D78 7C 64 1B 78 */ mr r4, r3 +/* 80278E1C 00275D7C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80278E20 00275D80 4B E3 6E 71 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80278E24 00275D84 80 83 00 04 */ lwz r4, 4(r3) +/* 80278E28 00275D88 28 04 00 00 */ cmplwi r4, 0 +/* 80278E2C 00275D8C 41 82 00 CC */ beq lbl_80278EF8 +/* 80278E30 00275D90 80 64 00 68 */ lwz r3, 0x68(r4) +/* 80278E34 00275D94 3C 00 00 02 */ lis r0, 2 +/* 80278E38 00275D98 80 84 00 6C */ lwz r4, 0x6c(r4) +/* 80278E3C 00275D9C 38 C0 00 00 */ li r6, 0 +/* 80278E40 00275DA0 7C 60 00 38 */ and r0, r3, r0 +/* 80278E44 00275DA4 7C 83 30 38 */ and r3, r4, r6 +/* 80278E48 00275DA8 7C 63 32 78 */ xor r3, r3, r6 +/* 80278E4C 00275DAC 7C 00 32 78 */ xor r0, r0, r6 +/* 80278E50 00275DB0 7C 60 03 79 */ or. r0, r3, r0 +/* 80278E54 00275DB4 41 82 00 A4 */ beq lbl_80278EF8 +/* 80278E58 00275DB8 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80278E5C 00275DBC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80278E60 00275DC0 38 80 00 09 */ li r4, 9 +/* 80278E64 00275DC4 38 60 00 01 */ li r3, 1 +/* 80278E68 00275DC8 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E6C 00275DCC 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80278E70 00275DD0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80278E74 00275DD4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 80278E78 00275DD8 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E7C 00275DDC 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80278E80 00275DE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80278E84 00275DE4 38 60 00 00 */ li r3, 0 +/* 80278E88 00275DE8 90 81 00 50 */ stw r4, 0x50(r1) +/* 80278E8C 00275DEC 38 80 00 01 */ li r4, 1 +/* 80278E90 00275DF0 98 01 00 54 */ stb r0, 0x54(r1) +/* 80278E94 00275DF4 48 11 10 61 */ bl __shl2i +/* 80278E98 00275DF8 39 00 00 00 */ li r8, 0 +/* 80278E9C 00275DFC 39 40 00 03 */ li r10, 3 +/* 80278EA0 00275E00 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80278EA4 00275E04 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80278EA8 00275E08 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80278EAC 00275E0C A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80278EB0 00275E10 90 61 00 58 */ stw r3, 0x58(r1) +/* 80278EB4 00275E14 7F C3 F3 78 */ mr r3, r30 +/* 80278EB8 00275E18 7F E7 FB 78 */ mr r7, r31 +/* 80278EBC 00275E1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80278EC0 00275E20 91 01 00 64 */ stw r8, 0x64(r1) +/* 80278EC4 00275E24 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80278EC8 00275E28 38 C1 00 0C */ addi r6, r1, 0xc +/* 80278ECC 00275E2C 91 01 00 60 */ stw r8, 0x60(r1) +/* 80278ED0 00275E30 39 01 00 58 */ addi r8, r1, 0x58 +/* 80278ED4 00275E34 91 41 00 68 */ stw r10, 0x68(r1) +/* 80278ED8 00275E38 A1 5D 00 08 */ lhz r10, 8(r29) +/* 80278EDC 00275E3C B1 41 00 0C */ sth r10, 0xc(r1) +/* 80278EE0 00275E40 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80278EE4 00275E44 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80278EE8 00275E48 B1 41 00 08 */ sth r10, 8(r1) +/* 80278EEC 00275E4C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80278EF0 00275E50 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80278EF4 00275E54 4B DD 11 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80278EF8: +/* 80278EF8 00275E58 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80278EFC 00275E5C 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80278F00 00275E60 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80278F04 00275E64 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80278F08 00275E68 7C 08 03 A6 */ mtlr r0 +/* 80278F0C 00275E6C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80278F10 00275E70 4E 80 00 20 */ blr + +.global sub_80278f14 +sub_80278f14: +/* 80278F14 00275E74 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80278F18 00275E78 7C 08 02 A6 */ mflr r0 +/* 80278F1C 00275E7C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80278F20 00275E80 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80278F24 00275E84 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80278F28 00275E88 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80278F2C 00275E8C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80278F30 00275E90 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80278F34 00275E94 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80278F38 00275E98 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80278F3C 00275E9C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 80278F40 00275EA0 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80278F44 00275EA4 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80278F48 00275EA8 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80278F4C 00275EAC F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 80278F50 00275EB0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80278F54 00275EB4 7C 7F 1B 78 */ mr r31, r3 +/* 80278F58 00275EB8 38 A0 00 00 */ li r5, 0 +/* 80278F5C 00275EBC 80 63 05 6C */ lwz r3, 0x56c(r3) +/* 80278F60 00275EC0 4B F2 E4 F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 80278F64 00275EC4 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80278F68 00275EC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80278F6C 00275ECC 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80278F70 00275ED0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278F74 00275ED4 C3 85 00 00 */ lfs f28, 0(r5) +/* 80278F78 00275ED8 38 84 00 CF */ addi r4, r4, 0xcf +/* 80278F7C 00275EDC C3 65 00 04 */ lfs f27, 4(r5) +/* 80278F80 00275EE0 C3 45 00 08 */ lfs f26, 8(r5) +/* 80278F84 00275EE4 4B D8 BD 35 */ bl string_l__4rstlFPCc +/* 80278F88 00275EE8 7F E4 FB 78 */ mr r4, r31 +/* 80278F8C 00275EEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80278F90 00275EF0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80278F94 00275EF4 4B DD 9F 6D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80278F98 00275EF8 C3 A1 00 5C */ lfs f29, 0x5c(r1) +/* 80278F9C 00275EFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80278FA0 00275F00 C3 C1 00 4C */ lfs f30, 0x4c(r1) +/* 80278FA4 00275F04 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 80278FA8 00275F08 48 0C 4B 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80278FAC 00275F0C EC 5C 07 F2 */ fmuls f2, f28, f31 +/* 80278FB0 00275F10 38 61 00 08 */ addi r3, r1, 8 +/* 80278FB4 00275F14 EC 3B 07 B2 */ fmuls f1, f27, f30 +/* 80278FB8 00275F18 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80278FBC 00275F1C EC 1A 07 72 */ fmuls f0, f26, f29 +/* 80278FC0 00275F20 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80278FC4 00275F24 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80278FC8 00275F28 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80278FCC 00275F2C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80278FD0 00275F30 48 09 9A B1 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80278FD4 00275F34 C0 41 00 08 */ lfs f2, 8(r1) +/* 80278FD8 00275F38 7F E3 FB 78 */ mr r3, r31 +/* 80278FDC 00275F3C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80278FE0 00275F40 38 81 00 24 */ addi r4, r1, 0x24 +/* 80278FE4 00275F44 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80278FE8 00275F48 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80278FEC 00275F4C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80278FF0 00275F50 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80278FF4 00275F54 4B EA 1A 45 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 80278FF8 00275F58 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80278FFC 00275F5C CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80279000 00275F60 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80279004 00275F64 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80279008 00275F68 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8027900C 00275F6C CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 80279010 00275F70 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80279014 00275F74 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80279018 00275F78 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8027901C 00275F7C CB 61 00 80 */ lfd f27, 0x80(r1) +/* 80279020 00275F80 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80279024 00275F84 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80279028 00275F88 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8027902C 00275F8C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80279030 00275F90 7C 08 03 A6 */ mtlr r0 +/* 80279034 00275F94 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80279038 00275F98 4E 80 00 20 */ blr + +.global sub_8027903c +sub_8027903c: +/* 8027903C 00275F9C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80279040 00275FA0 7C 08 02 A6 */ mflr r0 +/* 80279044 00275FA4 3C 80 80 3D */ lis r4, lbl_803D5454@ha +/* 80279048 00275FA8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027904C 00275FAC BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80279050 00275FB0 7C 7B 1B 78 */ mr r27, r3 +/* 80279054 00275FB4 3B C4 54 54 */ addi r30, r4, lbl_803D5454@l +/* 80279058 00275FB8 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8027905C 00275FBC 3B 80 00 00 */ li r28, 0 +/* 80279060 00275FC0 3B E0 00 00 */ li r31, 0 +lbl_80279064: +/* 80279064 00275FC4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80279068 00275FC8 38 61 00 08 */ addi r3, r1, 8 +/* 8027906C 00275FCC 4B D8 BC 4D */ bl string_l__4rstlFPCc +/* 80279070 00275FD0 80 9B 00 64 */ lwz r4, 0x64(r27) +/* 80279074 00275FD4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80279078 00275FD8 C0 22 BC CC */ lfs f1, lbl_805AD9EC@sda21(r2) +/* 8027907C 00275FDC 38 A1 00 08 */ addi r5, r1, 8 +/* 80279080 00275FE0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80279084 00275FE4 38 C0 00 02 */ li r6, 2 +/* 80279088 00275FE8 C0 42 BC D0 */ lfs f2, lbl_805AD9F0@sda21(r2) +/* 8027908C 00275FEC 4B EF C9 2D */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 80279090 00275FF0 38 7B 07 6C */ addi r3, r27, 0x76c +/* 80279094 00275FF4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80279098 00275FF8 48 00 00 3D */ bl sub_802790d4 +/* 8027909C 00275FFC 28 1D 00 00 */ cmplwi r29, 0 +/* 802790A0 00276000 41 82 00 08 */ beq lbl_802790A8 +/* 802790A4 00276004 9B E1 00 48 */ stb r31, 0x48(r1) +lbl_802790A8: +/* 802790A8 00276008 38 61 00 08 */ addi r3, r1, 8 +/* 802790AC 0027600C 48 0C 4A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802790B0 00276010 3B 9C 00 01 */ addi r28, r28, 1 +/* 802790B4 00276014 3B DE 00 04 */ addi r30, r30, 4 +/* 802790B8 00276018 28 1C 00 06 */ cmplwi r28, 6 +/* 802790BC 0027601C 41 80 FF A8 */ blt lbl_80279064 +/* 802790C0 00276020 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802790C4 00276024 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802790C8 00276028 7C 08 03 A6 */ mtlr r0 +/* 802790CC 0027602C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802790D0 00276030 4E 80 00 20 */ blr + +.global sub_802790d4 +sub_802790d4: +/* 802790D4 00276034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802790D8 00276038 7C 08 02 A6 */ mflr r0 +/* 802790DC 0027603C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802790E0 00276040 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802790E4 00276044 7C 7F 1B 78 */ mr r31, r3 +/* 802790E8 00276048 80 03 00 00 */ lwz r0, 0(r3) +/* 802790EC 0027604C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 802790F0 00276050 7C 7F 02 14 */ add r3, r31, r0 +/* 802790F4 00276054 38 63 00 04 */ addi r3, r3, 4 +/* 802790F8 00276058 48 00 00 25 */ bl sub_8027911c +/* 802790FC 0027605C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80279100 00276060 38 03 00 01 */ addi r0, r3, 1 +/* 80279104 00276064 90 1F 00 00 */ stw r0, 0(r31) +/* 80279108 00276068 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027910C 0027606C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80279110 00276070 7C 08 03 A6 */ mtlr r0 +/* 80279114 00276074 38 21 00 10 */ addi r1, r1, 0x10 +/* 80279118 00276078 4E 80 00 20 */ blr + +.global sub_8027911c +sub_8027911c: +/* 8027911C 0027607C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80279120 00276080 7C 08 02 A6 */ mflr r0 +/* 80279124 00276084 28 03 00 00 */ cmplwi r3, 0 +/* 80279128 00276088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027912C 0027608C 41 82 00 08 */ beq lbl_80279134 +/* 80279130 00276090 48 00 00 15 */ bl sub_80279144 +lbl_80279134: +/* 80279134 00276094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80279138 00276098 7C 08 03 A6 */ mtlr r0 +/* 8027913C 0027609C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80279140 002760A0 4E 80 00 20 */ blr + +.global sub_80279144 +sub_80279144: +/* 80279144 002760A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80279148 002760A8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8027914C 002760AC C0 04 00 04 */ lfs f0, 4(r4) +/* 80279150 002760B0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80279154 002760B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80279158 002760B8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8027915C 002760BC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80279160 002760C0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80279164 002760C4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80279168 002760C8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8027916C 002760CC 88 04 00 14 */ lbz r0, 0x14(r4) +/* 80279170 002760D0 98 03 00 14 */ stb r0, 0x14(r3) +/* 80279174 002760D4 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80279178 002760D8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8027917C 002760DC C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80279180 002760E0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80279184 002760E4 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80279188 002760E8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8027918C 002760EC 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80279190 002760F0 98 03 00 30 */ stb r0, 0x30(r3) +/* 80279194 002760F4 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80279198 002760F8 28 00 00 00 */ cmplwi r0, 0 +/* 8027919C 002760FC 41 82 00 24 */ beq lbl_802791C0 +/* 802791A0 00276100 34 A3 00 24 */ addic. r5, r3, 0x24 +/* 802791A4 00276104 41 82 00 1C */ beq lbl_802791C0 +/* 802791A8 00276108 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802791AC 0027610C D0 05 00 00 */ stfs f0, 0(r5) +/* 802791B0 00276110 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802791B4 00276114 D0 05 00 04 */ stfs f0, 4(r5) +/* 802791B8 00276118 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802791BC 0027611C D0 05 00 08 */ stfs f0, 8(r5) +lbl_802791C0: +/* 802791C0 00276120 A0 04 00 34 */ lhz r0, 0x34(r4) +/* 802791C4 00276124 B0 03 00 34 */ sth r0, 0x34(r3) +/* 802791C8 00276128 88 04 00 36 */ lbz r0, 0x36(r4) +/* 802791CC 0027612C 98 03 00 36 */ stb r0, 0x36(r3) +/* 802791D0 00276130 4E 80 00 20 */ blr + +.global sub_802791d4 +sub_802791d4: +/* 802791D4 00276134 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802791D8 00276138 7C 08 02 A6 */ mflr r0 +/* 802791DC 0027613C 90 01 02 34 */ stw r0, 0x234(r1) +/* 802791E0 00276140 38 00 00 00 */ li r0, 0 +/* 802791E4 00276144 BF 21 02 14 */ stmw r25, 0x214(r1) +/* 802791E8 00276148 7C 7D 1B 78 */ mr r29, r3 +/* 802791EC 0027614C 7C 9E 23 78 */ mr r30, r4 +/* 802791F0 00276150 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802791F4 00276154 38 80 00 1A */ li r4, 0x1a +/* 802791F8 00276158 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802791FC 0027615C 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80279200 00276160 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80279204 00276164 4B ED D5 B5 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 80279208 00276168 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8027920C 0027616C 3C 60 80 3F */ lis r3, lbl_803EAAA8@ha +/* 80279210 00276170 3B 83 AA A8 */ addi r28, r3, lbl_803EAAA8@l +/* 80279214 00276174 3B 61 01 70 */ addi r27, r1, 0x170 +/* 80279218 00276178 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 8027921C 0027617C 3B 41 01 F8 */ addi r26, r1, 0x1f8 +/* 80279220 00276180 3B 20 00 00 */ li r25, 0 +lbl_80279224: +/* 80279224 00276184 80 9C 00 00 */ lwz r4, 0(r28) +/* 80279228 00276188 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027922C 0027618C 4B D8 BA 8D */ bl string_l__4rstlFPCc +/* 80279230 00276190 80 9C 00 04 */ lwz r4, 4(r28) +/* 80279234 00276194 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80279238 00276198 4B D8 BA 81 */ bl string_l__4rstlFPCc +/* 8027923C 0027619C 80 9C 00 00 */ lwz r4, 0(r28) +/* 80279240 002761A0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80279244 002761A4 4B D8 BA 75 */ bl string_l__4rstlFPCc +/* 80279248 002761A8 80 9C 00 04 */ lwz r4, 4(r28) +/* 8027924C 002761AC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80279250 002761B0 4B D8 BA 69 */ bl string_l__4rstlFPCc +/* 80279254 002761B4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80279258 002761B8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8027925C 002761BC 38 A1 00 88 */ addi r5, r1, 0x88 +/* 80279260 002761C0 4B D8 B9 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279264 002761C4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 80279268 002761C8 7F E4 FB 78 */ mr r4, r31 +/* 8027926C 002761CC C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 80279270 002761D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80279274 002761D4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80279278 002761D8 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8027927C 002761DC D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80279280 002761E0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80279284 002761E4 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80279288 002761E8 4B DB 55 B1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027928C 002761EC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80279290 002761F0 7F E4 FB 78 */ mr r4, r31 +/* 80279294 002761F4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80279298 002761F8 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 8027929C 002761FC 98 01 00 14 */ stb r0, 0x14(r1) +/* 802792A0 00276200 4B DB 55 99 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802792A4 00276204 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802792A8 00276208 38 61 01 44 */ addi r3, r1, 0x144 +/* 802792AC 0027620C C0 22 BC D4 */ lfs f1, lbl_805AD9F4@sda21(r2) +/* 802792B0 00276210 38 81 00 1C */ addi r4, r1, 0x1c +/* 802792B4 00276214 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802792B8 00276218 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802792BC 0027621C 38 C1 00 A8 */ addi r6, r1, 0xa8 +/* 802792C0 00276220 39 01 00 78 */ addi r8, r1, 0x78 +/* 802792C4 00276224 38 E0 00 01 */ li r7, 1 +/* 802792C8 00276228 4B F2 F3 0D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 802792CC 0027622C 80 E1 01 44 */ lwz r7, 0x144(r1) +/* 802792D0 00276230 7F 43 D3 78 */ mr r3, r26 +/* 802792D4 00276234 80 C1 01 48 */ lwz r6, 0x148(r1) +/* 802792D8 00276238 7F 64 DB 78 */ mr r4, r27 +/* 802792DC 0027623C 88 A1 01 4C */ lbz r5, 0x14c(r1) +/* 802792E0 00276240 88 01 01 4D */ lbz r0, 0x14d(r1) +/* 802792E4 00276244 C0 E1 01 50 */ lfs f7, 0x150(r1) +/* 802792E8 00276248 C0 C1 01 54 */ lfs f6, 0x154(r1) +/* 802792EC 0027624C C0 A1 01 58 */ lfs f5, 0x158(r1) +/* 802792F0 00276250 C0 81 01 5C */ lfs f4, 0x15c(r1) +/* 802792F4 00276254 C0 61 01 60 */ lfs f3, 0x160(r1) +/* 802792F8 00276258 C0 41 01 64 */ lfs f2, 0x164(r1) +/* 802792FC 0027625C C0 21 01 68 */ lfs f1, 0x168(r1) +/* 80279300 00276260 C0 01 01 6C */ lfs f0, 0x16c(r1) +/* 80279304 00276264 90 E1 01 CC */ stw r7, 0x1cc(r1) +/* 80279308 00276268 90 C1 01 D0 */ stw r6, 0x1d0(r1) +/* 8027930C 0027626C 98 A1 01 D4 */ stb r5, 0x1d4(r1) +/* 80279310 00276270 98 01 01 D5 */ stb r0, 0x1d5(r1) +/* 80279314 00276274 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) +/* 80279318 00276278 D0 C1 01 DC */ stfs f6, 0x1dc(r1) +/* 8027931C 0027627C D0 A1 01 E0 */ stfs f5, 0x1e0(r1) +/* 80279320 00276280 D0 81 01 E4 */ stfs f4, 0x1e4(r1) +/* 80279324 00276284 D0 61 01 E8 */ stfs f3, 0x1e8(r1) +/* 80279328 00276288 D0 41 01 EC */ stfs f2, 0x1ec(r1) +/* 8027932C 0027628C D0 21 01 F0 */ stfs f1, 0x1f0(r1) +/* 80279330 00276290 D0 01 01 F4 */ stfs f0, 0x1f4(r1) +/* 80279334 00276294 48 0C 4E 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279338 00276298 A0 01 01 80 */ lhz r0, 0x180(r1) +/* 8027933C 0027629C 28 1B 00 00 */ cmplwi r27, 0 +/* 80279340 002762A0 C0 01 01 84 */ lfs f0, 0x184(r1) +/* 80279344 002762A4 B0 01 02 08 */ sth r0, 0x208(r1) +/* 80279348 002762A8 D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 8027934C 002762AC 41 82 00 0C */ beq lbl_80279358 +/* 80279350 002762B0 7F 63 DB 78 */ mr r3, r27 +/* 80279354 002762B4 48 0C 47 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80279358: +/* 80279358 002762B8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8027935C 002762BC 48 0C 47 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279360 002762C0 38 61 00 88 */ addi r3, r1, 0x88 +/* 80279364 002762C4 48 0C 47 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279368 002762C8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8027936C 002762CC 48 0C 47 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279370 002762D0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80279374 002762D4 48 0C 47 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279378 002762D8 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027937C 002762DC 48 0C 47 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279380 002762E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80279384 002762E4 38 81 01 CC */ addi r4, r1, 0x1cc +/* 80279388 002762E8 4B ED CE A9 */ bl sub_80156230 +/* 8027938C 002762EC 28 1A 00 00 */ cmplwi r26, 0 +/* 80279390 002762F0 41 82 00 0C */ beq lbl_8027939C +/* 80279394 002762F4 7F 43 D3 78 */ mr r3, r26 +/* 80279398 002762F8 48 0C 47 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027939C: +/* 8027939C 002762FC 3B 39 00 01 */ addi r25, r25, 1 +/* 802793A0 00276300 3B 9C 00 14 */ addi r28, r28, 0x14 +/* 802793A4 00276304 28 19 00 17 */ cmplwi r25, 0x17 +/* 802793A8 00276308 41 80 FE 7C */ blt lbl_80279224 +/* 802793AC 0027630C 3C 60 80 3F */ lis r3, lbl_803EAA90@ha +/* 802793B0 00276310 3B 61 01 2C */ addi r27, r1, 0x12c +/* 802793B4 00276314 3B 43 AA 90 */ addi r26, r3, lbl_803EAA90@l +/* 802793B8 00276318 3B 81 01 B4 */ addi r28, r1, 0x1b4 +/* 802793BC 0027631C 3B 20 00 00 */ li r25, 0 +lbl_802793C0: +/* 802793C0 00276320 80 9A 00 00 */ lwz r4, 0(r26) +/* 802793C4 00276324 38 61 00 68 */ addi r3, r1, 0x68 +/* 802793C8 00276328 4B D8 B8 F1 */ bl string_l__4rstlFPCc +/* 802793CC 0027632C 80 9A 00 00 */ lwz r4, 0(r26) +/* 802793D0 00276330 38 61 00 58 */ addi r3, r1, 0x58 +/* 802793D4 00276334 4B D8 B8 E5 */ bl string_l__4rstlFPCc +/* 802793D8 00276338 7F E4 FB 78 */ mr r4, r31 +/* 802793DC 0027633C 38 61 00 08 */ addi r3, r1, 8 +/* 802793E0 00276340 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802793E4 00276344 4B DB 54 55 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802793E8 00276348 88 01 00 08 */ lbz r0, 8(r1) +/* 802793EC 0027634C 38 61 01 00 */ addi r3, r1, 0x100 +/* 802793F0 00276350 C0 3A 00 04 */ lfs f1, 4(r26) +/* 802793F4 00276354 38 81 00 0C */ addi r4, r1, 0xc +/* 802793F8 00276358 98 01 00 0C */ stb r0, 0xc(r1) +/* 802793FC 0027635C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80279400 00276360 C0 42 BC D4 */ lfs f2, lbl_805AD9F4@sda21(r2) +/* 80279404 00276364 4B F2 F4 09 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 80279408 00276368 80 E1 01 00 */ lwz r7, 0x100(r1) +/* 8027940C 0027636C 7F 83 E3 78 */ mr r3, r28 +/* 80279410 00276370 80 C1 01 04 */ lwz r6, 0x104(r1) +/* 80279414 00276374 7F 64 DB 78 */ mr r4, r27 +/* 80279418 00276378 88 A1 01 08 */ lbz r5, 0x108(r1) +/* 8027941C 0027637C 88 01 01 09 */ lbz r0, 0x109(r1) +/* 80279420 00276380 C0 E1 01 0C */ lfs f7, 0x10c(r1) +/* 80279424 00276384 C0 C1 01 10 */ lfs f6, 0x110(r1) +/* 80279428 00276388 C0 A1 01 14 */ lfs f5, 0x114(r1) +/* 8027942C 0027638C C0 81 01 18 */ lfs f4, 0x118(r1) +/* 80279430 00276390 C0 61 01 1C */ lfs f3, 0x11c(r1) +/* 80279434 00276394 C0 41 01 20 */ lfs f2, 0x120(r1) +/* 80279438 00276398 C0 21 01 24 */ lfs f1, 0x124(r1) +/* 8027943C 0027639C C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80279440 002763A0 90 E1 01 88 */ stw r7, 0x188(r1) +/* 80279444 002763A4 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 80279448 002763A8 98 A1 01 90 */ stb r5, 0x190(r1) +/* 8027944C 002763AC 98 01 01 91 */ stb r0, 0x191(r1) +/* 80279450 002763B0 D0 E1 01 94 */ stfs f7, 0x194(r1) +/* 80279454 002763B4 D0 C1 01 98 */ stfs f6, 0x198(r1) +/* 80279458 002763B8 D0 A1 01 9C */ stfs f5, 0x19c(r1) +/* 8027945C 002763BC D0 81 01 A0 */ stfs f4, 0x1a0(r1) +/* 80279460 002763C0 D0 61 01 A4 */ stfs f3, 0x1a4(r1) +/* 80279464 002763C4 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 80279468 002763C8 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 8027946C 002763CC D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80279470 002763D0 48 0C 4C F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279474 002763D4 A0 01 01 3C */ lhz r0, 0x13c(r1) +/* 80279478 002763D8 28 1B 00 00 */ cmplwi r27, 0 +/* 8027947C 002763DC C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80279480 002763E0 B0 01 01 C4 */ sth r0, 0x1c4(r1) +/* 80279484 002763E4 D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 80279488 002763E8 41 82 00 0C */ beq lbl_80279494 +/* 8027948C 002763EC 7F 63 DB 78 */ mr r3, r27 +/* 80279490 002763F0 48 0C 46 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80279494: +/* 80279494 002763F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80279498 002763F8 48 0C 46 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027949C 002763FC 38 61 00 68 */ addi r3, r1, 0x68 +/* 802794A0 00276400 48 0C 46 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802794A4 00276404 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802794A8 00276408 38 81 01 88 */ addi r4, r1, 0x188 +/* 802794AC 0027640C 4B ED CD 85 */ bl sub_80156230 +/* 802794B0 00276410 28 1C 00 00 */ cmplwi r28, 0 +/* 802794B4 00276414 41 82 00 0C */ beq lbl_802794C0 +/* 802794B8 00276418 7F 83 E3 78 */ mr r3, r28 +/* 802794BC 0027641C 48 0C 46 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802794C0: +/* 802794C0 00276420 3B 39 00 01 */ addi r25, r25, 1 +/* 802794C4 00276424 3B 5A 00 08 */ addi r26, r26, 8 +/* 802794C8 00276428 28 19 00 03 */ cmplwi r25, 3 +/* 802794CC 0027642C 41 80 FE F4 */ blt lbl_802793C0 +/* 802794D0 00276430 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 802794D4 00276434 38 60 00 18 */ li r3, 0x18 +/* 802794D8 00276438 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 802794DC 0027643C 38 A0 00 00 */ li r5, 0 +/* 802794E0 00276440 38 84 02 20 */ addi r4, r4, 0x220 +/* 802794E4 00276444 48 09 C3 89 */ bl __nw__FUlPCcPCc +/* 802794E8 00276448 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802794EC 0027644C 41 82 00 3C */ beq lbl_80279528 +/* 802794F0 00276450 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 802794F4 00276454 7F C4 F3 78 */ mr r4, r30 +/* 802794F8 00276458 81 3D 00 04 */ lwz r9, 4(r29) +/* 802794FC 0027645C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80279500 00276460 54 08 CF FE */ rlwinm r8, r0, 0x19, 0x1f, 0x1f +/* 80279504 00276464 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80279508 00276468 91 21 00 34 */ stw r9, 0x34(r1) +/* 8027950C 0027646C 38 E1 00 D4 */ addi r7, r1, 0xd4 +/* 80279510 00276470 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80279514 00276474 91 21 00 30 */ stw r9, 0x30(r1) +/* 80279518 00276478 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8027951C 0027647C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80279520 00276480 4B F2 E4 11 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80279524 00276484 7C 7C 1B 78 */ mr r28, r3 +lbl_80279528: +/* 80279528 00276488 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 8027952C 0027648C 38 80 00 01 */ li r4, 1 +/* 80279530 00276490 4B F2 E3 AD */ bl sub_801a78dc +/* 80279534 00276494 93 9D 05 6C */ stw r28, 0x56c(r29) +/* 80279538 00276498 3B 20 00 00 */ li r25, 0 +/* 8027953C 0027649C 48 00 00 AC */ b lbl_802795E8 +lbl_80279540: +/* 80279540 002764A0 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 80279544 002764A4 7F 24 CB 78 */ mr r4, r25 +/* 80279548 002764A8 4B F2 DC F1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8027954C 002764AC 80 82 BB E4 */ lwz r4, lbl_805AD904@sda21(r2) +/* 80279550 002764B0 7C 7C 1B 78 */ mr r28, r3 +/* 80279554 002764B4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80279558 002764B8 4B D8 B7 61 */ bl string_l__4rstlFPCc +/* 8027955C 002764BC 38 7C 00 2C */ addi r3, r28, 0x2c +/* 80279560 002764C0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80279564 002764C4 4B DD 90 7D */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 80279568 002764C8 7C 7F 1B 78 */ mr r31, r3 +/* 8027956C 002764CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80279570 002764D0 48 0C 45 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80279574 002764D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80279578 002764D8 41 82 00 0C */ beq lbl_80279584 +/* 8027957C 002764DC A0 1C 00 3C */ lhz r0, 0x3c(r28) +/* 80279580 002764E0 B0 1D 08 CC */ sth r0, 0x8cc(r29) +lbl_80279584: +/* 80279584 002764E4 A0 1C 00 3C */ lhz r0, 0x3c(r28) +/* 80279588 002764E8 7F C3 F3 78 */ mr r3, r30 +/* 8027958C 002764EC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80279590 002764F0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80279594 002764F4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80279598 002764F8 4B DD 2F DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027959C 002764FC 7C 64 1B 78 */ mr r4, r3 +/* 802795A0 00276500 38 61 00 40 */ addi r3, r1, 0x40 +/* 802795A4 00276504 4B E3 5D A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802795A8 00276508 83 43 00 04 */ lwz r26, 4(r3) +/* 802795AC 0027650C 28 1A 00 00 */ cmplwi r26, 0 +/* 802795B0 00276510 41 82 00 34 */ beq lbl_802795E4 +/* 802795B4 00276514 A0 7C 00 3C */ lhz r3, 0x3c(r28) +/* 802795B8 00276518 A0 1D 10 46 */ lhz r0, 0x1046(r29) +/* 802795BC 0027651C 7C 03 00 40 */ cmplw r3, r0 +/* 802795C0 00276520 41 82 00 24 */ beq lbl_802795E4 +/* 802795C4 00276524 7F A3 EB 78 */ mr r3, r29 +/* 802795C8 00276528 81 9D 00 00 */ lwz r12, 0(r29) +/* 802795CC 0027652C 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 802795D0 00276530 7D 89 03 A6 */ mtctr r12 +/* 802795D4 00276534 4E 80 04 21 */ bctrl +/* 802795D8 00276538 7C 64 1B 78 */ mr r4, r3 +/* 802795DC 0027653C 7F 43 D3 78 */ mr r3, r26 +/* 802795E0 00276540 4B F2 F5 B9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_802795E4: +/* 802795E4 00276544 3B 39 00 01 */ addi r25, r25, 1 +lbl_802795E8: +/* 802795E8 00276548 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 802795EC 0027654C 4B F2 DC 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 802795F0 00276550 7C 19 18 40 */ cmplw r25, r3 +/* 802795F4 00276554 41 80 FF 4C */ blt lbl_80279540 +/* 802795F8 00276558 38 00 00 00 */ li r0, 0 +/* 802795FC 0027655C 80 AD 98 68 */ lwz r5, lbl_805A8428@sda21(r13) +/* 80279600 00276560 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80279604 00276564 38 60 00 00 */ li r3, 0 +/* 80279608 00276568 38 80 00 01 */ li r4, 1 +/* 8027960C 0027656C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80279610 00276570 48 11 08 E5 */ bl __shl2i +/* 80279614 00276574 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80279618 00276578 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8027961C 0027657C 7C 00 1B 78 */ or r0, r0, r3 +/* 80279620 00276580 80 AD 98 6C */ lwz r5, lbl_805A842C@sda21(r13) +/* 80279624 00276584 7C C4 23 78 */ or r4, r6, r4 +/* 80279628 00276588 90 01 00 38 */ stw r0, 0x38(r1) +/* 8027962C 0027658C 38 60 00 00 */ li r3, 0 +/* 80279630 00276590 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80279634 00276594 38 80 00 01 */ li r4, 1 +/* 80279638 00276598 48 11 08 BD */ bl __shl2i +/* 8027963C 0027659C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80279640 002765A0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80279644 002765A4 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 80279648 002765A8 7C 00 1B 78 */ or r0, r0, r3 +/* 8027964C 002765AC 7C C3 23 78 */ or r3, r6, r4 +/* 80279650 002765B0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80279654 002765B4 7F C4 F3 78 */ mr r4, r30 +/* 80279658 002765B8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8027965C 002765BC 80 7D 05 6C */ lwz r3, 0x56c(r29) +/* 80279660 002765C0 4B F2 DB F1 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80279664 002765C4 80 AD 98 74 */ lwz r5, lbl_805A8434@sda21(r13) +/* 80279668 002765C8 38 60 00 00 */ li r3, 0 +/* 8027966C 002765CC 38 80 00 01 */ li r4, 1 +/* 80279670 002765D0 48 11 08 85 */ bl __shl2i +/* 80279674 002765D4 80 AD 98 78 */ lwz r5, lbl_805A8438@sda21(r13) +/* 80279678 002765D8 7C 9F 23 78 */ mr r31, r4 +/* 8027967C 002765DC 7C 7C 1B 78 */ mr r28, r3 +/* 80279680 002765E0 38 60 00 00 */ li r3, 0 +/* 80279684 002765E4 38 80 00 01 */ li r4, 1 +/* 80279688 002765E8 48 11 08 6D */ bl __shl2i +/* 8027968C 002765EC 80 AD 98 7C */ lwz r5, lbl_805A843C@sda21(r13) +/* 80279690 002765F0 7F FF 23 78 */ or r31, r31, r4 +/* 80279694 002765F4 7F 9C 1B 78 */ or r28, r28, r3 +/* 80279698 002765F8 38 60 00 00 */ li r3, 0 +/* 8027969C 002765FC 38 80 00 01 */ li r4, 1 +/* 802796A0 00276600 48 11 08 55 */ bl __shl2i +/* 802796A4 00276604 80 AD 98 70 */ lwz r5, lbl_805A8430@sda21(r13) +/* 802796A8 00276608 7F FF 23 78 */ or r31, r31, r4 +/* 802796AC 0027660C 7F 9C 1B 78 */ or r28, r28, r3 +/* 802796B0 00276610 38 60 00 00 */ li r3, 0 +/* 802796B4 00276614 38 80 00 01 */ li r4, 1 +/* 802796B8 00276618 48 11 08 3D */ bl __shl2i +/* 802796BC 0027661C 38 00 00 03 */ li r0, 3 +/* 802796C0 00276620 90 81 00 EC */ stw r4, 0xec(r1) +/* 802796C4 00276624 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 802796C8 00276628 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802796CC 0027662C 7F A3 EB 78 */ mr r3, r29 +/* 802796D0 00276630 93 E1 00 F4 */ stw r31, 0xf4(r1) +/* 802796D4 00276634 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 802796D8 00276638 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802796DC 0027663C 4B DD A1 C5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 802796E0 00276640 7F A3 EB 78 */ mr r3, r29 +/* 802796E4 00276644 7F C5 F3 78 */ mr r5, r30 +/* 802796E8 00276648 38 80 00 12 */ li r4, 0x12 +/* 802796EC 0027664C 4B DD AC 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802796F0 00276650 7F A3 EB 78 */ mr r3, r29 +/* 802796F4 00276654 7F C7 F3 78 */ mr r7, r30 +/* 802796F8 00276658 38 80 00 13 */ li r4, 0x13 +/* 802796FC 0027665C 38 A0 00 29 */ li r5, 0x29 +/* 80279700 00276660 38 C0 00 28 */ li r6, 0x28 +/* 80279704 00276664 4B DD A6 E9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80279708 00276668 7F A3 EB 78 */ mr r3, r29 +/* 8027970C 0027666C 7F C4 F3 78 */ mr r4, r30 +/* 80279710 00276670 4B FF F1 B9 */ bl sub_802788c8 +/* 80279714 00276674 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80279718 00276678 38 80 FF FF */ li r4, -1 +/* 8027971C 0027667C 4B ED CC 11 */ bl sub_8015632c +/* 80279720 00276680 BB 21 02 14 */ lmw r25, 0x214(r1) +/* 80279724 00276684 80 01 02 34 */ lwz r0, 0x234(r1) +/* 80279728 00276688 7C 08 03 A6 */ mtlr r0 +/* 8027972C 0027668C 38 21 02 30 */ addi r1, r1, 0x230 +/* 80279730 00276690 4E 80 00 20 */ blr + +.global ProjectileInfo__16CMetroidPrimeExoFv +ProjectileInfo__16CMetroidPrimeExoFv: +/* 80279734 00276694 80 03 09 2C */ lwz r0, 0x92c(r3) +/* 80279738 00276698 2C 00 00 05 */ cmpwi r0, 5 +/* 8027973C 0027669C 41 82 00 1C */ beq lbl_80279758 +/* 80279740 002766A0 40 80 00 20 */ bge lbl_80279760 +/* 80279744 002766A4 2C 00 00 02 */ cmpwi r0, 2 +/* 80279748 002766A8 40 80 00 08 */ bge lbl_80279750 +/* 8027974C 002766AC 48 00 00 14 */ b lbl_80279760 +lbl_80279750: +/* 80279750 002766B0 38 63 0C 78 */ addi r3, r3, 0xc78 +/* 80279754 002766B4 4E 80 00 20 */ blr +lbl_80279758: +/* 80279758 002766B8 38 63 0D 74 */ addi r3, r3, 0xd74 +/* 8027975C 002766BC 4E 80 00 20 */ blr +lbl_80279760: +/* 80279760 002766C0 38 60 00 00 */ li r3, 0 +/* 80279764 002766C4 4E 80 00 20 */ blr + +.global Think__16CMetroidPrimeExoFfR13CStateManager +Think__16CMetroidPrimeExoFfR13CStateManager: +/* 80279768 002766C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027976C 002766CC 7C 08 02 A6 */ mflr r0 +/* 80279770 002766D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80279774 002766D4 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80279778 002766D8 FF E0 08 90 */ fmr f31, f1 +/* 8027977C 002766DC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80279780 002766E0 7C 9F 23 78 */ mr r31, r4 +/* 80279784 002766E4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80279788 002766E8 7C 7E 1B 78 */ mr r30, r3 +/* 8027978C 002766EC 4B E0 03 8D */ bl Think__10CPatternedFfR13CStateManager +/* 80279790 002766F0 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80279794 002766F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80279798 002766F8 41 82 00 D0 */ beq lbl_80279868 +/* 8027979C 002766FC 7F C3 F3 78 */ mr r3, r30 +/* 802797A0 00276700 7F E4 FB 78 */ mr r4, r31 +/* 802797A4 00276704 4B FF CD 85 */ bl sub_80276528 +/* 802797A8 00276708 FC 20 F8 90 */ fmr f1, f31 +/* 802797AC 0027670C 7F C3 F3 78 */ mr r3, r30 +/* 802797B0 00276710 7F E4 FB 78 */ mr r4, r31 +/* 802797B4 00276714 4B FF F4 25 */ bl sub_80278bd8 +/* 802797B8 00276718 FC 20 F8 90 */ fmr f1, f31 +/* 802797BC 0027671C 7F C3 F3 78 */ mr r3, r30 +/* 802797C0 00276720 7F E4 FB 78 */ mr r4, r31 +/* 802797C4 00276724 4B FF F7 51 */ bl sub_80278f14 +/* 802797C8 00276728 7F C3 F3 78 */ mr r3, r30 +/* 802797CC 0027672C 7F E4 FB 78 */ mr r4, r31 +/* 802797D0 00276730 4B FF F1 7D */ bl sub_8027894c +/* 802797D4 00276734 FC 20 F8 90 */ fmr f1, f31 +/* 802797D8 00276738 7F C3 F3 78 */ mr r3, r30 +/* 802797DC 0027673C 7F E4 FB 78 */ mr r4, r31 +/* 802797E0 00276740 4B FF E8 65 */ bl sub_80278044 +/* 802797E4 00276744 FC 20 F8 90 */ fmr f1, f31 +/* 802797E8 00276748 7F C3 F3 78 */ mr r3, r30 +/* 802797EC 0027674C 4B FF E9 71 */ bl sub_8027815c +/* 802797F0 00276750 FC 20 F8 90 */ fmr f1, f31 +/* 802797F4 00276754 7F C3 F3 78 */ mr r3, r30 +/* 802797F8 00276758 7F E4 FB 78 */ mr r4, r31 +/* 802797FC 0027675C 4B FF DD 75 */ bl sub_80277570 +/* 80279800 00276760 FC 20 F8 90 */ fmr f1, f31 +/* 80279804 00276764 7F C3 F3 78 */ mr r3, r30 +/* 80279808 00276768 7F E4 FB 78 */ mr r4, r31 +/* 8027980C 0027676C 4B FF B6 61 */ bl sub_80274e6c +/* 80279810 00276770 FC 20 F8 90 */ fmr f1, f31 +/* 80279814 00276774 7F C3 F3 78 */ mr r3, r30 +/* 80279818 00276778 7F E4 FB 78 */ mr r4, r31 +/* 8027981C 0027677C 4B FF A0 F5 */ bl sub_80273910 +/* 80279820 00276780 FC 20 F8 90 */ fmr f1, f31 +/* 80279824 00276784 7F C3 F3 78 */ mr r3, r30 +/* 80279828 00276788 7F E4 FB 78 */ mr r4, r31 +/* 8027982C 0027678C 4B FF A6 E5 */ bl sub_80273f10 +/* 80279830 00276790 7F C3 F3 78 */ mr r3, r30 +/* 80279834 00276794 7F E4 FB 78 */ mr r4, r31 +/* 80279838 00276798 4B FF E5 F9 */ bl sub_80277e30 +/* 8027983C 0027679C FC 20 F8 90 */ fmr f1, f31 +/* 80279840 002767A0 7F C3 F3 78 */ mr r3, r30 +/* 80279844 002767A4 4B FF BF 3D */ bl sub_80275780 +/* 80279848 002767A8 FC 20 F8 90 */ fmr f1, f31 +/* 8027984C 002767AC 7F C3 F3 78 */ mr r3, r30 +/* 80279850 002767B0 7F E4 FB 78 */ mr r4, r31 +/* 80279854 002767B4 4B FF C9 11 */ bl sub_80276164 +/* 80279858 002767B8 FC 20 F8 90 */ fmr f1, f31 +/* 8027985C 002767BC 7F C3 F3 78 */ mr r3, r30 +/* 80279860 002767C0 7F E4 FB 78 */ mr r4, r31 +/* 80279864 002767C4 4B FF C5 F1 */ bl sub_80275e54 +lbl_80279868: +/* 80279868 002767C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027986C 002767CC CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80279870 002767D0 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80279874 002767D4 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80279878 002767D8 7C 08 03 A6 */ mtlr r0 +/* 8027987C 002767DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80279880 002767E0 4E 80 00 20 */ blr + +.global PreThink__16CMetroidPrimeExoFfR13CStateManager +PreThink__16CMetroidPrimeExoFfR13CStateManager: +/* 80279884 002767E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80279888 002767E8 7C 08 02 A6 */ mflr r0 +/* 8027988C 002767EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80279890 002767F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80279894 002767F4 7C 9F 23 78 */ mr r31, r4 +/* 80279898 002767F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8027989C 002767FC 7C 7E 1B 78 */ mr r30, r3 +/* 802798A0 00276800 4B DF E0 F1 */ bl PreThink__10CPatternedFfR13CStateManager +/* 802798A4 00276804 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 802798A8 00276808 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802798AC 0027680C 41 82 00 54 */ beq lbl_80279900 +/* 802798B0 00276810 A0 1E 08 CC */ lhz r0, 0x8cc(r30) +/* 802798B4 00276814 7F E3 FB 78 */ mr r3, r31 +/* 802798B8 00276818 38 81 00 08 */ addi r4, r1, 8 +/* 802798BC 0027681C B0 01 00 08 */ sth r0, 8(r1) +/* 802798C0 00276820 4B DD 2C E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802798C4 00276824 7C 64 1B 78 */ mr r4, r3 +/* 802798C8 00276828 38 61 00 0C */ addi r3, r1, 0xc +/* 802798CC 0027682C 4B E3 5A 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802798D0 00276830 80 63 00 04 */ lwz r3, 4(r3) +/* 802798D4 00276834 28 03 00 00 */ cmplwi r3, 0 +/* 802798D8 00276838 41 82 00 28 */ beq lbl_80279900 +/* 802798DC 0027683C 81 83 00 00 */ lwz r12, 0(r3) +/* 802798E0 00276840 7F E4 FB 78 */ mr r4, r31 +/* 802798E4 00276844 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802798E8 00276848 7D 89 03 A6 */ mtctr r12 +/* 802798EC 0027684C 4E 80 04 21 */ bctrl +/* 802798F0 00276850 28 03 00 00 */ cmplwi r3, 0 +/* 802798F4 00276854 41 82 00 0C */ beq lbl_80279900 +/* 802798F8 00276858 C0 03 00 00 */ lfs f0, 0(r3) +/* 802798FC 0027685C D0 1E 08 C8 */ stfs f0, 0x8c8(r30) +lbl_80279900: +/* 80279900 00276860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80279904 00276864 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80279908 00276868 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8027990C 0027686C 7C 08 03 A6 */ mtlr r0 +/* 80279910 00276870 38 21 00 20 */ addi r1, r1, 0x20 +/* 80279914 00276874 4E 80 00 20 */ blr + +.global DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80279918 00276878 94 21 F9 60 */ stwu r1, -0x6a0(r1) +/* 8027991C 0027687C 7C 08 02 A6 */ mflr r0 +/* 80279920 00276880 90 01 06 A4 */ stw r0, 0x6a4(r1) +/* 80279924 00276884 DB E1 06 90 */ stfd f31, 0x690(r1) +/* 80279928 00276888 F3 E1 06 98 */ psq_st f31, 1688(r1), 0, qr0 +/* 8027992C 0027688C DB C1 06 80 */ stfd f30, 0x680(r1) +/* 80279930 00276890 F3 C1 06 88 */ psq_st f30, 1672(r1), 0, qr0 +/* 80279934 00276894 DB A1 06 70 */ stfd f29, 0x670(r1) +/* 80279938 00276898 F3 A1 06 78 */ psq_st f29, 1656(r1), 0, qr0 +/* 8027993C 0027689C DB 81 06 60 */ stfd f28, 0x660(r1) +/* 80279940 002768A0 F3 81 06 68 */ psq_st f28, 1640(r1), 0, qr0 +/* 80279944 002768A4 BE A1 06 34 */ stmw r21, 0x634(r1) +/* 80279948 002768A8 7C DD 33 78 */ mr r29, r6 +/* 8027994C 002768AC FF E0 08 90 */ fmr f31, f1 +/* 80279950 002768B0 2C 1D 00 10 */ cmpwi r29, 0x10 +/* 80279954 002768B4 7C 7F 1B 78 */ mr r31, r3 +/* 80279958 002768B8 7C 9E 23 78 */ mr r30, r4 +/* 8027995C 002768BC 7C BC 2B 78 */ mr r28, r5 +/* 80279960 002768C0 3B 40 00 00 */ li r26, 0 +/* 80279964 002768C4 41 82 09 D4 */ beq lbl_8027A338 +/* 80279968 002768C8 40 80 00 28 */ bge lbl_80279990 +/* 8027996C 002768CC 2C 1D 00 08 */ cmpwi r29, 8 +/* 80279970 002768D0 41 82 09 4C */ beq lbl_8027A2BC +/* 80279974 002768D4 40 80 00 10 */ bge lbl_80279984 +/* 80279978 002768D8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8027997C 002768DC 41 82 00 2C */ beq lbl_802799A8 +/* 80279980 002768E0 48 00 12 C8 */ b lbl_8027AC48 +lbl_80279984: +/* 80279984 002768E4 2C 1D 00 0A */ cmpwi r29, 0xa +/* 80279988 002768E8 40 80 12 C0 */ bge lbl_8027AC48 +/* 8027998C 002768EC 48 00 09 78 */ b lbl_8027A304 +lbl_80279990: +/* 80279990 002768F0 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 80279994 002768F4 41 82 12 9C */ beq lbl_8027AC30 +/* 80279998 002768F8 40 80 12 B0 */ bge lbl_8027AC48 +/* 8027999C 002768FC 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 802799A0 00276900 40 80 12 10 */ bge lbl_8027ABB0 +/* 802799A4 00276904 48 00 12 A4 */ b lbl_8027AC48 +lbl_802799A8: +/* 802799A8 00276908 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 802799AC 0027690C 2C 00 00 06 */ cmpwi r0, 6 +/* 802799B0 00276910 41 82 00 28 */ beq lbl_802799D8 +/* 802799B4 00276914 40 80 00 18 */ bge lbl_802799CC +/* 802799B8 00276918 2C 00 00 05 */ cmpwi r0, 5 +/* 802799BC 0027691C 40 80 03 38 */ bge lbl_80279CF4 +/* 802799C0 00276920 2C 00 00 02 */ cmpwi r0, 2 +/* 802799C4 00276924 40 80 06 1C */ bge lbl_80279FE0 +/* 802799C8 00276928 48 00 08 EC */ b lbl_8027A2B4 +lbl_802799CC: +/* 802799CC 0027692C 2C 00 00 0C */ cmpwi r0, 0xc +/* 802799D0 00276930 41 82 08 E0 */ beq lbl_8027A2B0 +/* 802799D4 00276934 48 00 08 E0 */ b lbl_8027A2B4 +lbl_802799D8: +/* 802799D8 00276938 7F E4 FB 78 */ mr r4, r31 +/* 802799DC 0027693C 38 61 04 04 */ addi r3, r1, 0x404 +/* 802799E0 00276940 38 BC 00 3C */ addi r5, r28, 0x3c +/* 802799E4 00276944 4B DF EF 95 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802799E8 00276948 38 61 05 24 */ addi r3, r1, 0x524 +/* 802799EC 0027694C 38 81 04 04 */ addi r4, r1, 0x404 +/* 802799F0 00276950 48 09 91 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802799F4 00276954 C0 81 05 30 */ lfs f4, 0x530(r1) +/* 802799F8 00276958 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802799FC 0027695C 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80279A00 00276960 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80279A04 00276964 C0 61 05 40 */ lfs f3, 0x540(r1) +/* 80279A08 00276968 38 61 03 D4 */ addi r3, r1, 0x3d4 +/* 80279A0C 0027696C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 80279A10 00276970 38 81 02 5C */ addi r4, r1, 0x25c +/* 80279A14 00276974 C0 41 05 50 */ lfs f2, 0x550(r1) +/* 80279A18 00276978 C0 22 BC 9C */ lfs f1, lbl_805AD9BC@sda21(r2) +/* 80279A1C 0027697C EC C3 00 2A */ fadds f6, f3, f0 +/* 80279A20 00276980 EC 04 00 2A */ fadds f0, f4, f0 +/* 80279A24 00276984 C1 05 00 60 */ lfs f8, 0x60(r5) +/* 80279A28 00276988 EC A2 08 2A */ fadds f5, f2, f1 +/* 80279A2C 0027698C C0 E5 00 50 */ lfs f7, 0x50(r5) +/* 80279A30 00276990 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 80279A34 00276994 D0 81 02 50 */ stfs f4, 0x250(r1) +/* 80279A38 00276998 38 A1 02 44 */ addi r5, r1, 0x244 +/* 80279A3C 0027699C D0 21 02 44 */ stfs f1, 0x244(r1) +/* 80279A40 002769A0 D0 E1 02 48 */ stfs f7, 0x248(r1) +/* 80279A44 002769A4 D1 01 02 4C */ stfs f8, 0x24c(r1) +/* 80279A48 002769A8 D0 61 02 54 */ stfs f3, 0x254(r1) +/* 80279A4C 002769AC D0 41 02 58 */ stfs f2, 0x258(r1) +/* 80279A50 002769B0 D0 01 02 5C */ stfs f0, 0x25c(r1) +/* 80279A54 002769B4 D0 C1 02 60 */ stfs f6, 0x260(r1) +/* 80279A58 002769B8 D0 A1 02 64 */ stfs f5, 0x264(r1) +/* 80279A5C 002769BC 48 09 A0 B5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80279A60 002769C0 38 61 04 F4 */ addi r3, r1, 0x4f4 +/* 80279A64 002769C4 38 81 03 D4 */ addi r4, r1, 0x3d4 +/* 80279A68 002769C8 48 09 91 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279A6C 002769CC 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279A70 002769D0 C0 22 BC D8 */ lfs f1, lbl_805AD9F8@sda21(r2) +/* 80279A74 002769D4 C0 42 BC DC */ lfs f2, lbl_805AD9FC@sda21(r2) +/* 80279A78 002769D8 48 09 8A CD */ bl Range__9CRandom16Fff +/* 80279A7C 002769DC C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 80279A80 002769E0 38 61 04 F4 */ addi r3, r1, 0x4f4 +/* 80279A84 002769E4 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80279A88 002769E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80279A8C 002769EC D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80279A90 002769F0 48 09 9A 2D */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 80279A94 002769F4 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80279A98 002769F8 3B 40 00 00 */ li r26, 0 +/* 80279A9C 002769FC 38 63 56 18 */ addi r3, r3, lbl_803D5618@l +/* 80279AA0 00276A00 3B 20 00 00 */ li r25, 0 +/* 80279AA4 00276A04 38 83 02 20 */ addi r4, r3, 0x220 +/* 80279AA8 00276A08 3B 00 00 00 */ li r24, 0 +/* 80279AAC 00276A0C 3A E0 00 00 */ li r23, 0 +/* 80279AB0 00276A10 3A C0 00 00 */ li r22, 0 +/* 80279AB4 00276A14 3A A0 00 00 */ li r21, 0 +/* 80279AB8 00276A18 38 60 01 98 */ li r3, 0x198 +/* 80279ABC 00276A1C 38 A0 00 00 */ li r5, 0 +/* 80279AC0 00276A20 48 09 BD AD */ bl __nw__FUlPCcPCc +/* 80279AC4 00276A24 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80279AC8 00276A28 41 82 01 9C */ beq lbl_80279C64 +/* 80279ACC 00276A2C 80 DF 09 34 */ lwz r6, 0x934(r31) +/* 80279AD0 00276A30 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279AD4 00276A34 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279AD8 00276A38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279ADC 00276A3C 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80279AE0 00276A40 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80279AE4 00276A44 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 80279AE8 00276A48 90 C1 00 C4 */ stw r6, 0xc4(r1) +/* 80279AEC 00276A4C 81 84 00 00 */ lwz r12, 0(r4) +/* 80279AF0 00276A50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279AF4 00276A54 7D 89 03 A6 */ mtctr r12 +/* 80279AF8 00276A58 4E 80 04 21 */ bctrl +/* 80279AFC 00276A5C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80279B00 00276A60 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80279B04 00276A64 3A C0 00 01 */ li r22, 1 +/* 80279B08 00276A68 48 0C 73 A1 */ bl __ct__6CTokenFRC6CToken +/* 80279B0C 00276A6C 80 DF 09 38 */ lwz r6, 0x938(r31) +/* 80279B10 00276A70 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279B14 00276A74 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279B18 00276A78 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279B1C 00276A7C 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 80279B20 00276A80 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80279B24 00276A84 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 80279B28 00276A88 3A A0 00 01 */ li r21, 1 +/* 80279B2C 00276A8C 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 80279B30 00276A90 81 84 00 00 */ lwz r12, 0(r4) +/* 80279B34 00276A94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279B38 00276A98 7D 89 03 A6 */ mtctr r12 +/* 80279B3C 00276A9C 4E 80 04 21 */ bctrl +/* 80279B40 00276AA0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80279B44 00276AA4 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80279B48 00276AA8 3B 00 00 01 */ li r24, 1 +/* 80279B4C 00276AAC 48 0C 73 5D */ bl __ct__6CTokenFRC6CToken +/* 80279B50 00276AB0 80 DF 09 3C */ lwz r6, 0x93c(r31) +/* 80279B54 00276AB4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80279B58 00276AB8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80279B5C 00276ABC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80279B60 00276AC0 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 80279B64 00276AC4 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80279B68 00276AC8 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 80279B6C 00276ACC 3A E0 00 01 */ li r23, 1 +/* 80279B70 00276AD0 90 C1 00 F4 */ stw r6, 0xf4(r1) +/* 80279B74 00276AD4 81 84 00 00 */ lwz r12, 0(r4) +/* 80279B78 00276AD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80279B7C 00276ADC 7D 89 03 A6 */ mtctr r12 +/* 80279B80 00276AE0 4E 80 04 21 */ bctrl +/* 80279B84 00276AE4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80279B88 00276AE8 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80279B8C 00276AEC 3B 40 00 01 */ li r26, 1 +/* 80279B90 00276AF0 48 0C 73 19 */ bl __ct__6CTokenFRC6CToken +/* 80279B94 00276AF4 7F C4 F3 78 */ mr r4, r30 +/* 80279B98 00276AF8 38 61 00 78 */ addi r3, r1, 0x78 +/* 80279B9C 00276AFC 3B 20 00 01 */ li r25, 1 +/* 80279BA0 00276B00 4B DD 35 3D */ bl AllocateUniqueId__13CStateManagerFv +/* 80279BA4 00276B04 A0 01 00 78 */ lhz r0, 0x78(r1) +/* 80279BA8 00276B08 38 61 02 80 */ addi r3, r1, 0x280 +/* 80279BAC 00276B0C C0 22 BC 64 */ lfs f1, lbl_805AD984@sda21(r2) +/* 80279BB0 00276B10 38 81 02 2C */ addi r4, r1, 0x22c +/* 80279BB4 00276B14 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80279BB8 00276B18 38 A1 02 38 */ addi r5, r1, 0x238 +/* 80279BBC 00276B1C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80279BC0 00276B20 80 1F 00 04 */ lwz r0, 4(r31) +/* 80279BC4 00276B24 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80279BC8 00276B28 80 DE 08 4C */ lwz r6, 0x84c(r30) +/* 80279BCC 00276B2C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80279BD0 00276B30 A0 06 00 08 */ lhz r0, 8(r6) +/* 80279BD4 00276B34 B0 01 00 80 */ sth r0, 0x80(r1) +/* 80279BD8 00276B38 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80279BDC 00276B3C D0 21 02 2C */ stfs f1, 0x22c(r1) +/* 80279BE0 00276B40 D0 21 02 30 */ stfs f1, 0x230(r1) +/* 80279BE4 00276B44 D0 21 02 34 */ stfs f1, 0x234(r1) +/* 80279BE8 00276B48 D0 01 02 38 */ stfs f0, 0x238(r1) +/* 80279BEC 00276B4C D0 01 02 3C */ stfs f0, 0x23c(r1) +/* 80279BF0 00276B50 D0 01 02 40 */ stfs f0, 0x240(r1) +/* 80279BF4 00276B54 48 0B E9 15 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80279BF8 00276B58 38 01 04 F4 */ addi r0, r1, 0x4f4 +/* 80279BFC 00276B5C 38 BF 09 40 */ addi r5, r31, 0x940 +/* 80279C00 00276B60 90 01 00 08 */ stw r0, 8(r1) +/* 80279C04 00276B64 38 00 FF FF */ li r0, -1 +/* 80279C08 00276B68 C0 42 BC E0 */ lfs f2, lbl_805ADA00@sda21(r2) +/* 80279C0C 00276B6C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80279C10 00276B70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80279C14 00276B74 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80279C18 00276B78 38 C1 00 E0 */ addi r6, r1, 0xe0 +/* 80279C1C 00276B7C 38 E1 00 7C */ addi r7, r1, 0x7c +/* 80279C20 00276B80 90 61 00 10 */ stw r3, 0x10(r1) +/* 80279C24 00276B84 7F 63 DB 78 */ mr r3, r27 +/* 80279C28 00276B88 39 01 00 A4 */ addi r8, r1, 0xa4 +/* 80279C2C 00276B8C 39 21 00 84 */ addi r9, r1, 0x84 +/* 80279C30 00276B90 81 7F 09 64 */ lwz r11, 0x964(r31) +/* 80279C34 00276B94 39 40 00 01 */ li r10, 1 +/* 80279C38 00276B98 91 61 00 14 */ stw r11, 0x14(r1) +/* 80279C3C 00276B9C A1 7F 09 68 */ lhz r11, 0x968(r31) +/* 80279C40 00276BA0 91 61 00 18 */ stw r11, 0x18(r1) +/* 80279C44 00276BA4 A1 7F 09 6A */ lhz r11, 0x96a(r31) +/* 80279C48 00276BA8 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80279C4C 00276BAC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80279C50 00276BB0 C0 1F 09 60 */ lfs f0, 0x960(r31) +/* 80279C54 00276BB4 C0 3F 09 5C */ lfs f1, 0x95c(r31) +/* 80279C58 00276BB8 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80279C5C 00276BBC 4B F7 9D 9D */ bl "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff" +/* 80279C60 00276BC0 7C 7B 1B 78 */ mr r27, r3 +lbl_80279C64: +/* 80279C64 00276BC4 7E A0 07 75 */ extsb. r0, r21 +/* 80279C68 00276BC8 41 82 00 10 */ beq lbl_80279C78 +/* 80279C6C 00276BCC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80279C70 00276BD0 38 80 00 00 */ li r4, 0 +/* 80279C74 00276BD4 48 0C 71 CD */ bl __dt__6CTokenFv +lbl_80279C78: +/* 80279C78 00276BD8 7E C0 07 75 */ extsb. r0, r22 +/* 80279C7C 00276BDC 41 82 00 10 */ beq lbl_80279C8C +/* 80279C80 00276BE0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80279C84 00276BE4 38 80 FF FF */ li r4, -1 +/* 80279C88 00276BE8 48 0C 71 B9 */ bl __dt__6CTokenFv +lbl_80279C8C: +/* 80279C8C 00276BEC 7E E0 07 75 */ extsb. r0, r23 +/* 80279C90 00276BF0 41 82 00 10 */ beq lbl_80279CA0 +/* 80279C94 00276BF4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80279C98 00276BF8 38 80 00 00 */ li r4, 0 +/* 80279C9C 00276BFC 48 0C 71 A5 */ bl __dt__6CTokenFv +lbl_80279CA0: +/* 80279CA0 00276C00 7F 00 07 75 */ extsb. r0, r24 +/* 80279CA4 00276C04 41 82 00 10 */ beq lbl_80279CB4 +/* 80279CA8 00276C08 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80279CAC 00276C0C 38 80 FF FF */ li r4, -1 +/* 80279CB0 00276C10 48 0C 71 91 */ bl __dt__6CTokenFv +lbl_80279CB4: +/* 80279CB4 00276C14 7F 20 07 75 */ extsb. r0, r25 +/* 80279CB8 00276C18 41 82 00 10 */ beq lbl_80279CC8 +/* 80279CBC 00276C1C 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80279CC0 00276C20 38 80 00 00 */ li r4, 0 +/* 80279CC4 00276C24 48 0C 71 7D */ bl __dt__6CTokenFv +lbl_80279CC8: +/* 80279CC8 00276C28 7F 40 07 75 */ extsb. r0, r26 +/* 80279CCC 00276C2C 41 82 00 10 */ beq lbl_80279CDC +/* 80279CD0 00276C30 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80279CD4 00276C34 38 80 FF FF */ li r4, -1 +/* 80279CD8 00276C38 48 0C 71 69 */ bl __dt__6CTokenFv +lbl_80279CDC: +/* 80279CDC 00276C3C 38 00 00 01 */ li r0, 1 +/* 80279CE0 00276C40 7F C3 F3 78 */ mr r3, r30 +/* 80279CE4 00276C44 98 1B 01 92 */ stb r0, 0x192(r27) +/* 80279CE8 00276C48 7F 64 DB 78 */ mr r4, r27 +/* 80279CEC 00276C4C 4B DD 30 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80279CF0 00276C50 48 00 05 C4 */ b lbl_8027A2B4 +lbl_80279CF4: +/* 80279CF4 00276C54 80 7F 0E B0 */ lwz r3, 0xeb0(r31) +/* 80279CF8 00276C58 54 60 07 BF */ clrlwi. r0, r3, 0x1e +/* 80279CFC 00276C5C 38 63 00 01 */ addi r3, r3, 1 +/* 80279D00 00276C60 90 7F 0E B0 */ stw r3, 0xeb0(r31) +/* 80279D04 00276C64 40 82 02 DC */ bne lbl_80279FE0 +/* 80279D08 00276C68 7F E4 FB 78 */ mr r4, r31 +/* 80279D0C 00276C6C 38 61 03 A4 */ addi r3, r1, 0x3a4 +/* 80279D10 00276C70 38 BC 00 3C */ addi r5, r28, 0x3c +/* 80279D14 00276C74 4B DF EC 65 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279D18 00276C78 38 61 04 C4 */ addi r3, r1, 0x4c4 +/* 80279D1C 00276C7C 38 81 03 A4 */ addi r4, r1, 0x3a4 +/* 80279D20 00276C80 48 09 8E 55 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279D24 00276C84 C1 BF 00 58 */ lfs f13, 0x58(r31) +/* 80279D28 00276C88 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80279D2C 00276C8C C1 9F 00 48 */ lfs f12, 0x48(r31) +/* 80279D30 00276C90 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80279D34 00276C94 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 80279D38 00276C98 38 61 03 74 */ addi r3, r1, 0x374 +/* 80279D3C 00276C9C C0 DF 00 38 */ lfs f6, 0x38(r31) +/* 80279D40 00276CA0 38 81 02 20 */ addi r4, r1, 0x220 +/* 80279D44 00276CA4 ED 20 03 32 */ fmuls f9, f0, f12 +/* 80279D48 00276CA8 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) +/* 80279D4C 00276CAC EC A0 01 B2 */ fmuls f5, f0, f6 +/* 80279D50 00276CB0 C0 21 04 E8 */ lfs f1, 0x4e8(r1) +/* 80279D54 00276CB4 ED 00 03 72 */ fmuls f8, f0, f13 +/* 80279D58 00276CB8 C0 01 04 C8 */ lfs f0, 0x4c8(r1) +/* 80279D5C 00276CBC C3 C1 04 D0 */ lfs f30, 0x4d0(r1) +/* 80279D60 00276CC0 EC 43 00 32 */ fmuls f2, f3, f0 +/* 80279D64 00276CC4 C3 A1 04 E0 */ lfs f29, 0x4e0(r1) +/* 80279D68 00276CC8 EC E3 00 72 */ fmuls f7, f3, f1 +/* 80279D6C 00276CCC C3 81 04 F0 */ lfs f28, 0x4f0(r1) +/* 80279D70 00276CD0 EC 9E 28 2A */ fadds f4, f30, f5 +/* 80279D74 00276CD4 C0 01 04 D8 */ lfs f0, 0x4d8(r1) +/* 80279D78 00276CD8 ED 7D 48 2A */ fadds f11, f29, f9 +/* 80279D7C 00276CDC D0 C1 01 D8 */ stfs f6, 0x1d8(r1) +/* 80279D80 00276CE0 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80279D84 00276CE4 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 80279D88 00276CE8 ED 5C 40 2A */ fadds f10, f28, f8 +/* 80279D8C 00276CEC D1 81 01 DC */ stfs f12, 0x1dc(r1) +/* 80279D90 00276CF0 EC 7C 38 2A */ fadds f3, f28, f7 +/* 80279D94 00276CF4 D1 A1 01 E0 */ stfs f13, 0x1e0(r1) +/* 80279D98 00276CF8 EC 1E 10 2A */ fadds f0, f30, f2 +/* 80279D9C 00276CFC EC DD 08 2A */ fadds f6, f29, f1 +/* 80279DA0 00276D00 D0 A1 01 E4 */ stfs f5, 0x1e4(r1) +/* 80279DA4 00276D04 D1 21 01 E8 */ stfs f9, 0x1e8(r1) +/* 80279DA8 00276D08 D1 01 01 EC */ stfs f8, 0x1ec(r1) +/* 80279DAC 00276D0C D3 C1 01 F0 */ stfs f30, 0x1f0(r1) +/* 80279DB0 00276D10 D3 A1 01 F4 */ stfs f29, 0x1f4(r1) +/* 80279DB4 00276D14 D3 81 01 F8 */ stfs f28, 0x1f8(r1) +/* 80279DB8 00276D18 D0 81 01 FC */ stfs f4, 0x1fc(r1) +/* 80279DBC 00276D1C D1 61 02 00 */ stfs f11, 0x200(r1) +/* 80279DC0 00276D20 D1 41 02 04 */ stfs f10, 0x204(r1) +/* 80279DC4 00276D24 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 80279DC8 00276D28 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 80279DCC 00276D2C D0 E1 02 10 */ stfs f7, 0x210(r1) +/* 80279DD0 00276D30 D3 C1 02 14 */ stfs f30, 0x214(r1) +/* 80279DD4 00276D34 D3 A1 02 18 */ stfs f29, 0x218(r1) +/* 80279DD8 00276D38 D3 81 02 1C */ stfs f28, 0x21c(r1) +/* 80279DDC 00276D3C D0 01 02 20 */ stfs f0, 0x220(r1) +/* 80279DE0 00276D40 D0 C1 02 24 */ stfs f6, 0x224(r1) +/* 80279DE4 00276D44 D0 61 02 28 */ stfs f3, 0x228(r1) +/* 80279DE8 00276D48 48 09 9D 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80279DEC 00276D4C 38 61 04 94 */ addi r3, r1, 0x494 +/* 80279DF0 00276D50 38 81 03 74 */ addi r4, r1, 0x374 +/* 80279DF4 00276D54 48 09 8D 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279DF8 00276D58 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279DFC 00276D5C C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) +/* 80279E00 00276D60 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) +/* 80279E04 00276D64 48 09 87 41 */ bl Range__9CRandom16Fff +/* 80279E08 00276D68 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 80279E0C 00276D6C 38 61 04 94 */ addi r3, r1, 0x494 +/* 80279E10 00276D70 38 81 00 9C */ addi r4, r1, 0x9c +/* 80279E14 00276D74 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80279E18 00276D78 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80279E1C 00276D7C 48 09 96 A1 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 80279E20 00276D80 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 80279E24 00276D84 3A A0 00 00 */ li r21, 0 +/* 80279E28 00276D88 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 80279E2C 00276D8C 38 60 04 18 */ li r3, 0x418 +/* 80279E30 00276D90 38 84 02 20 */ addi r4, r4, 0x220 +/* 80279E34 00276D94 38 A0 00 00 */ li r5, 0 +/* 80279E38 00276D98 48 09 BA 35 */ bl __nw__FUlPCcPCc +/* 80279E3C 00276D9C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80279E40 00276DA0 41 82 00 F4 */ beq lbl_80279F34 +/* 80279E44 00276DA4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 80279E48 00276DA8 38 00 00 00 */ li r0, 0 +/* 80279E4C 00276DAC 98 01 01 D4 */ stb r0, 0x1d4(r1) +/* 80279E50 00276DB0 7F C4 F3 78 */ mr r4, r30 +/* 80279E54 00276DB4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80279E58 00276DB8 3A A0 00 01 */ li r21, 1 +/* 80279E5C 00276DBC D0 01 01 BC */ stfs f0, 0x1bc(r1) +/* 80279E60 00276DC0 D0 01 01 C0 */ stfs f0, 0x1c0(r1) +/* 80279E64 00276DC4 D0 01 01 C4 */ stfs f0, 0x1c4(r1) +/* 80279E68 00276DC8 A0 1F 0E AC */ lhz r0, 0xeac(r31) +/* 80279E6C 00276DCC B0 01 00 74 */ sth r0, 0x74(r1) +/* 80279E70 00276DD0 A0 BF 00 08 */ lhz r5, 8(r31) +/* 80279E74 00276DD4 B0 A1 00 70 */ sth r5, 0x70(r1) +/* 80279E78 00276DD8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80279E7C 00276DDC B0 A1 00 6C */ sth r5, 0x6c(r1) +/* 80279E80 00276DE0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80279E84 00276DE4 90 01 00 98 */ stw r0, 0x98(r1) +/* 80279E88 00276DE8 4B DD 32 55 */ bl AllocateUniqueId__13CStateManagerFv +/* 80279E8C 00276DEC A0 01 00 64 */ lhz r0, 0x64(r1) +/* 80279E90 00276DF0 7F E3 FB 78 */ mr r3, r31 +/* 80279E94 00276DF4 B0 01 00 68 */ sth r0, 0x68(r1) +/* 80279E98 00276DF8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80279E9C 00276DFC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80279EA0 00276E00 7D 89 03 A6 */ mtctr r12 +/* 80279EA4 00276E04 4E 80 04 21 */ bctrl +/* 80279EA8 00276E08 7C 7B 1B 78 */ mr r27, r3 +/* 80279EAC 00276E0C 7F E3 FB 78 */ mr r3, r31 +/* 80279EB0 00276E10 81 9F 00 00 */ lwz r12, 0(r31) +/* 80279EB4 00276E14 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80279EB8 00276E18 7D 89 03 A6 */ mtctr r12 +/* 80279EBC 00276E1C 4E 80 04 21 */ bctrl +/* 80279EC0 00276E20 38 01 00 98 */ addi r0, r1, 0x98 +/* 80279EC4 00276E24 7C 65 1B 78 */ mr r5, r3 +/* 80279EC8 00276E28 90 01 00 08 */ stw r0, 8(r1) +/* 80279ECC 00276E2C 38 01 00 70 */ addi r0, r1, 0x70 +/* 80279ED0 00276E30 3C 80 00 01 */ lis r4, 0x00008400@ha +/* 80279ED4 00276E34 38 7F 0E 70 */ addi r3, r31, 0xe70 +/* 80279ED8 00276E38 90 01 00 0C */ stw r0, 0xc(r1) +/* 80279EDC 00276E3C 38 C4 84 00 */ addi r6, r4, 0x00008400@l +/* 80279EE0 00276E40 38 01 00 74 */ addi r0, r1, 0x74 +/* 80279EE4 00276E44 38 81 01 BC */ addi r4, r1, 0x1bc +/* 80279EE8 00276E48 90 61 00 10 */ stw r3, 0x10(r1) +/* 80279EEC 00276E4C 39 81 01 C8 */ addi r12, r1, 0x1c8 +/* 80279EF0 00276E50 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) +/* 80279EF4 00276E54 7F 43 D3 78 */ mr r3, r26 +/* 80279EF8 00276E58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80279EFC 00276E5C 38 00 00 00 */ li r0, 0 +/* 80279F00 00276E60 38 E1 04 94 */ addi r7, r1, 0x494 +/* 80279F04 00276E64 39 3B 00 0C */ addi r9, r27, 0xc +/* 80279F08 00276E68 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80279F0C 00276E6C 39 41 00 68 */ addi r10, r1, 0x68 +/* 80279F10 00276E70 38 C0 00 09 */ li r6, 9 +/* 80279F14 00276E74 39 00 00 21 */ li r8, 0x21 +/* 80279F18 00276E78 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80279F1C 00276E7C 38 80 00 01 */ li r4, 1 +/* 80279F20 00276E80 91 81 00 20 */ stw r12, 0x20(r1) +/* 80279F24 00276E84 91 61 00 24 */ stw r11, 0x24(r1) +/* 80279F28 00276E88 90 01 00 28 */ stw r0, 0x28(r1) +/* 80279F2C 00276E8C 48 02 67 99 */ bl "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80279F30 00276E90 7C 7A 1B 78 */ mr r26, r3 +lbl_80279F34: +/* 80279F34 00276E94 7E A0 07 75 */ extsb. r0, r21 +/* 80279F38 00276E98 7F 56 D3 78 */ mr r22, r26 +/* 80279F3C 00276E9C 41 82 00 30 */ beq lbl_80279F6C +/* 80279F40 00276EA0 88 01 01 D4 */ lbz r0, 0x1d4(r1) +/* 80279F44 00276EA4 28 00 00 00 */ cmplwi r0, 0 +/* 80279F48 00276EA8 41 82 00 1C */ beq lbl_80279F64 +/* 80279F4C 00276EAC 34 61 01 C8 */ addic. r3, r1, 0x1c8 +/* 80279F50 00276EB0 41 82 00 14 */ beq lbl_80279F64 +/* 80279F54 00276EB4 28 03 00 00 */ cmplwi r3, 0 +/* 80279F58 00276EB8 41 82 00 0C */ beq lbl_80279F64 +/* 80279F5C 00276EBC 38 80 00 00 */ li r4, 0 +/* 80279F60 00276EC0 48 0C 6E E1 */ bl __dt__6CTokenFv +lbl_80279F64: +/* 80279F64 00276EC4 38 00 00 00 */ li r0, 0 +/* 80279F68 00276EC8 98 01 01 D4 */ stb r0, 0x1d4(r1) +lbl_80279F6C: +/* 80279F6C 00276ECC 28 16 00 00 */ cmplwi r22, 0 +/* 80279F70 00276ED0 41 82 03 44 */ beq lbl_8027A2B4 +/* 80279F74 00276ED4 7F C3 F3 78 */ mr r3, r30 +/* 80279F78 00276ED8 7E C4 B3 78 */ mr r4, r22 +/* 80279F7C 00276EDC 4B DD 2D 79 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80279F80 00276EE0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80279F84 00276EE4 3A B6 01 70 */ addi r21, r22, 0x170 +/* 80279F88 00276EE8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) +/* 80279F8C 00276EEC C0 42 BC EC */ lfs f2, lbl_805ADA0C@sda21(r2) +/* 80279F90 00276EF0 48 09 85 B5 */ bl Range__9CRandom16Fff +/* 80279F94 00276EF4 FF C0 08 90 */ fmr f30, f1 +/* 80279F98 00276EF8 7E A3 AB 78 */ mr r3, r21 +/* 80279F9C 00276EFC 48 03 51 99 */ bl GetVelocity__17CProjectileWeaponCFv +/* 80279FA0 00276F00 C0 43 00 04 */ lfs f2, 4(r3) +/* 80279FA4 00276F04 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 80279FA8 00276F08 C0 23 00 08 */ lfs f1, 8(r3) +/* 80279FAC 00276F0C C0 03 00 00 */ lfs f0, 0(r3) +/* 80279FB0 00276F10 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80279FB4 00276F14 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 80279FB8 00276F18 7E A3 AB 78 */ mr r3, r21 +/* 80279FBC 00276F1C EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80279FC0 00276F20 D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 80279FC4 00276F24 D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 80279FC8 00276F28 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 80279FCC 00276F2C 48 03 51 71 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 80279FD0 00276F30 7E C3 B3 78 */ mr r3, r22 +/* 80279FD4 00276F34 38 9F 0C A0 */ addi r4, r31, 0xca0 +/* 80279FD8 00276F38 4B F9 9A F5 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 80279FDC 00276F3C 48 00 02 D8 */ b lbl_8027A2B4 +lbl_80279FE0: +/* 80279FE0 00276F40 7F E4 FB 78 */ mr r4, r31 +/* 80279FE4 00276F44 38 61 03 44 */ addi r3, r1, 0x344 +/* 80279FE8 00276F48 38 BC 00 3C */ addi r5, r28, 0x3c +/* 80279FEC 00276F4C 4B DF E9 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80279FF0 00276F50 38 61 04 64 */ addi r3, r1, 0x464 +/* 80279FF4 00276F54 38 81 03 44 */ addi r4, r1, 0x344 +/* 80279FF8 00276F58 48 09 8B 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80279FFC 00276F5C C1 BF 00 58 */ lfs f13, 0x58(r31) +/* 8027A000 00276F60 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8027A004 00276F64 C1 9F 00 48 */ lfs f12, 0x48(r31) +/* 8027A008 00276F68 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8027A00C 00276F6C C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) +/* 8027A010 00276F70 38 61 03 14 */ addi r3, r1, 0x314 +/* 8027A014 00276F74 C0 DF 00 38 */ lfs f6, 0x38(r31) +/* 8027A018 00276F78 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 8027A01C 00276F7C ED 20 03 32 */ fmuls f9, f0, f12 +/* 8027A020 00276F80 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) +/* 8027A024 00276F84 EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8027A028 00276F88 C0 21 04 88 */ lfs f1, 0x488(r1) +/* 8027A02C 00276F8C ED 00 03 72 */ fmuls f8, f0, f13 +/* 8027A030 00276F90 C0 01 04 68 */ lfs f0, 0x468(r1) +/* 8027A034 00276F94 C3 81 04 70 */ lfs f28, 0x470(r1) +/* 8027A038 00276F98 EC 43 00 32 */ fmuls f2, f3, f0 +/* 8027A03C 00276F9C C3 A1 04 80 */ lfs f29, 0x480(r1) +/* 8027A040 00276FA0 EC E3 00 72 */ fmuls f7, f3, f1 +/* 8027A044 00276FA4 C3 C1 04 90 */ lfs f30, 0x490(r1) +/* 8027A048 00276FA8 EC 9C 28 2A */ fadds f4, f28, f5 +/* 8027A04C 00276FAC C0 01 04 78 */ lfs f0, 0x478(r1) +/* 8027A050 00276FB0 ED 7D 48 2A */ fadds f11, f29, f9 +/* 8027A054 00276FB4 D0 C1 01 5C */ stfs f6, 0x15c(r1) +/* 8027A058 00276FB8 EC 23 00 32 */ fmuls f1, f3, f0 +/* 8027A05C 00276FBC 38 A1 01 80 */ addi r5, r1, 0x180 +/* 8027A060 00276FC0 ED 5E 40 2A */ fadds f10, f30, f8 +/* 8027A064 00276FC4 D1 81 01 60 */ stfs f12, 0x160(r1) +/* 8027A068 00276FC8 EC 7E 38 2A */ fadds f3, f30, f7 +/* 8027A06C 00276FCC D1 A1 01 64 */ stfs f13, 0x164(r1) +/* 8027A070 00276FD0 EC 1C 10 2A */ fadds f0, f28, f2 +/* 8027A074 00276FD4 EC DD 08 2A */ fadds f6, f29, f1 +/* 8027A078 00276FD8 D0 A1 01 68 */ stfs f5, 0x168(r1) +/* 8027A07C 00276FDC D1 21 01 6C */ stfs f9, 0x16c(r1) +/* 8027A080 00276FE0 D1 01 01 70 */ stfs f8, 0x170(r1) +/* 8027A084 00276FE4 D3 81 01 74 */ stfs f28, 0x174(r1) +/* 8027A088 00276FE8 D3 A1 01 78 */ stfs f29, 0x178(r1) +/* 8027A08C 00276FEC D3 C1 01 7C */ stfs f30, 0x17c(r1) +/* 8027A090 00276FF0 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 8027A094 00276FF4 D1 61 01 84 */ stfs f11, 0x184(r1) +/* 8027A098 00276FF8 D1 41 01 88 */ stfs f10, 0x188(r1) +/* 8027A09C 00276FFC D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 8027A0A0 00277000 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 8027A0A4 00277004 D0 E1 01 94 */ stfs f7, 0x194(r1) +/* 8027A0A8 00277008 D3 81 01 98 */ stfs f28, 0x198(r1) +/* 8027A0AC 0027700C D3 A1 01 9C */ stfs f29, 0x19c(r1) +/* 8027A0B0 00277010 D3 C1 01 A0 */ stfs f30, 0x1a0(r1) +/* 8027A0B4 00277014 D0 01 01 A4 */ stfs f0, 0x1a4(r1) +/* 8027A0B8 00277018 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) +/* 8027A0BC 0027701C D0 61 01 AC */ stfs f3, 0x1ac(r1) +/* 8027A0C0 00277020 48 09 9A 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8027A0C4 00277024 38 61 04 34 */ addi r3, r1, 0x434 +/* 8027A0C8 00277028 38 81 03 14 */ addi r4, r1, 0x314 +/* 8027A0CC 0027702C 48 09 8A A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8027A0D0 00277030 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8027A0D4 00277034 C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) +/* 8027A0D8 00277038 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) +/* 8027A0DC 0027703C 48 09 84 69 */ bl Range__9CRandom16Fff +/* 8027A0E0 00277040 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) +/* 8027A0E4 00277044 38 61 04 34 */ addi r3, r1, 0x434 +/* 8027A0E8 00277048 38 81 00 90 */ addi r4, r1, 0x90 +/* 8027A0EC 0027704C EC 00 00 72 */ fmuls f0, f0, f1 +/* 8027A0F0 00277050 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8027A0F4 00277054 48 09 93 C9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 8027A0F8 00277058 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027A0FC 0027705C 3A A0 00 00 */ li r21, 0 +/* 8027A100 00277060 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027A104 00277064 38 60 03 D8 */ li r3, 0x3d8 +/* 8027A108 00277068 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027A10C 0027706C 38 A0 00 00 */ li r5, 0 +/* 8027A110 00277070 48 09 B7 5D */ bl __nw__FUlPCcPCc +/* 8027A114 00277074 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8027A118 00277078 41 82 00 F0 */ beq lbl_8027A208 +/* 8027A11C 0027707C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) +/* 8027A120 00277080 38 00 00 00 */ li r0, 0 +/* 8027A124 00277084 98 01 01 58 */ stb r0, 0x158(r1) +/* 8027A128 00277088 7F C4 F3 78 */ mr r4, r30 +/* 8027A12C 0027708C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8027A130 00277090 3A A0 00 01 */ li r21, 1 +/* 8027A134 00277094 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 8027A138 00277098 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 8027A13C 0027709C D0 01 01 48 */ stfs f0, 0x148(r1) +/* 8027A140 002770A0 A0 1F 0E AC */ lhz r0, 0xeac(r31) +/* 8027A144 002770A4 B0 01 00 60 */ sth r0, 0x60(r1) +/* 8027A148 002770A8 A0 BF 00 08 */ lhz r5, 8(r31) +/* 8027A14C 002770AC B0 A1 00 5C */ sth r5, 0x5c(r1) +/* 8027A150 002770B0 80 1F 00 04 */ lwz r0, 4(r31) +/* 8027A154 002770B4 B0 A1 00 58 */ sth r5, 0x58(r1) +/* 8027A158 002770B8 90 01 00 88 */ stw r0, 0x88(r1) +/* 8027A15C 002770BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8027A160 002770C0 4B DD 2F 7D */ bl AllocateUniqueId__13CStateManagerFv +/* 8027A164 002770C4 A0 01 00 50 */ lhz r0, 0x50(r1) +/* 8027A168 002770C8 7F E3 FB 78 */ mr r3, r31 +/* 8027A16C 002770CC B0 01 00 54 */ sth r0, 0x54(r1) +/* 8027A170 002770D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027A174 002770D4 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8027A178 002770D8 7D 89 03 A6 */ mtctr r12 +/* 8027A17C 002770DC 4E 80 04 21 */ bctrl +/* 8027A180 002770E0 7C 7B 1B 78 */ mr r27, r3 +/* 8027A184 002770E4 7F E3 FB 78 */ mr r3, r31 +/* 8027A188 002770E8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8027A18C 002770EC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8027A190 002770F0 7D 89 03 A6 */ mtctr r12 +/* 8027A194 002770F4 4E 80 04 21 */ bctrl +/* 8027A198 002770F8 38 01 00 8C */ addi r0, r1, 0x8c +/* 8027A19C 002770FC 3C 80 00 01 */ lis r4, 0x00008400@ha +/* 8027A1A0 00277100 90 01 00 08 */ stw r0, 8(r1) +/* 8027A1A4 00277104 38 01 00 5C */ addi r0, r1, 0x5c +/* 8027A1A8 00277108 7C 65 1B 78 */ mr r5, r3 +/* 8027A1AC 0027710C 38 64 84 00 */ addi r3, r4, 0x00008400@l +/* 8027A1B0 00277110 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027A1B4 00277114 38 01 00 60 */ addi r0, r1, 0x60 +/* 8027A1B8 00277118 39 80 00 00 */ li r12, 0 +/* 8027A1BC 0027711C 38 C1 01 40 */ addi r6, r1, 0x140 +/* 8027A1C0 00277120 90 01 00 10 */ stw r0, 0x10(r1) +/* 8027A1C4 00277124 39 61 01 4C */ addi r11, r1, 0x14c +/* 8027A1C8 00277128 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8027A1CC 0027712C 38 E1 04 34 */ addi r7, r1, 0x434 +/* 8027A1D0 00277130 90 61 00 14 */ stw r3, 0x14(r1) +/* 8027A1D4 00277134 7F 43 D3 78 */ mr r3, r26 +/* 8027A1D8 00277138 39 3B 00 0C */ addi r9, r27, 0xc +/* 8027A1DC 0027713C 39 41 00 54 */ addi r10, r1, 0x54 +/* 8027A1E0 00277140 91 81 00 18 */ stw r12, 0x18(r1) +/* 8027A1E4 00277144 38 80 00 01 */ li r4, 1 +/* 8027A1E8 00277148 39 00 00 21 */ li r8, 0x21 +/* 8027A1EC 0027714C 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8027A1F0 00277150 38 C0 00 09 */ li r6, 9 +/* 8027A1F4 00277154 91 61 00 20 */ stw r11, 0x20(r1) +/* 8027A1F8 00277158 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027A1FC 0027715C 91 81 00 28 */ stw r12, 0x28(r1) +/* 8027A200 00277160 4B F9 B4 99 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 8027A204 00277164 7C 7A 1B 78 */ mr r26, r3 +lbl_8027A208: +/* 8027A208 00277168 7E A0 07 75 */ extsb. r0, r21 +/* 8027A20C 0027716C 41 82 00 30 */ beq lbl_8027A23C +/* 8027A210 00277170 88 01 01 58 */ lbz r0, 0x158(r1) +/* 8027A214 00277174 28 00 00 00 */ cmplwi r0, 0 +/* 8027A218 00277178 41 82 00 1C */ beq lbl_8027A234 +/* 8027A21C 0027717C 34 61 01 4C */ addic. r3, r1, 0x14c +/* 8027A220 00277180 41 82 00 14 */ beq lbl_8027A234 +/* 8027A224 00277184 28 03 00 00 */ cmplwi r3, 0 +/* 8027A228 00277188 41 82 00 0C */ beq lbl_8027A234 +/* 8027A22C 0027718C 38 80 00 00 */ li r4, 0 +/* 8027A230 00277190 48 0C 6C 11 */ bl __dt__6CTokenFv +lbl_8027A234: +/* 8027A234 00277194 38 00 00 00 */ li r0, 0 +/* 8027A238 00277198 98 01 01 58 */ stb r0, 0x158(r1) +lbl_8027A23C: +/* 8027A23C 0027719C 28 1A 00 00 */ cmplwi r26, 0 +/* 8027A240 002771A0 41 82 00 74 */ beq lbl_8027A2B4 +/* 8027A244 002771A4 7F C3 F3 78 */ mr r3, r30 +/* 8027A248 002771A8 7F 44 D3 78 */ mr r4, r26 +/* 8027A24C 002771AC 4B DD 2A A9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8027A250 002771B0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8027A254 002771B4 3A BA 01 70 */ addi r21, r26, 0x170 +/* 8027A258 002771B8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) +/* 8027A25C 002771BC C0 42 BC F0 */ lfs f2, lbl_805ADA10@sda21(r2) +/* 8027A260 002771C0 48 09 82 E5 */ bl Range__9CRandom16Fff +/* 8027A264 002771C4 FF C0 08 90 */ fmr f30, f1 +/* 8027A268 002771C8 7E A3 AB 78 */ mr r3, r21 +/* 8027A26C 002771CC 48 03 4E C9 */ bl GetVelocity__17CProjectileWeaponCFv +/* 8027A270 002771D0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8027A274 002771D4 38 81 01 34 */ addi r4, r1, 0x134 +/* 8027A278 002771D8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8027A27C 002771DC C0 03 00 00 */ lfs f0, 0(r3) +/* 8027A280 002771E0 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8027A284 002771E4 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 8027A288 002771E8 7E A3 AB 78 */ mr r3, r21 +/* 8027A28C 002771EC EC 1E 00 32 */ fmuls f0, f30, f0 +/* 8027A290 002771F0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 8027A294 002771F4 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8027A298 002771F8 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 8027A29C 002771FC 48 03 4E A1 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 8027A2A0 00277200 7F 43 D3 78 */ mr r3, r26 +/* 8027A2A4 00277204 38 9F 0C A0 */ addi r4, r31, 0xca0 +/* 8027A2A8 00277208 4B F9 98 25 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 8027A2AC 0027720C 48 00 00 08 */ b lbl_8027A2B4 +lbl_8027A2B0: +/* 8027A2B0 00277210 4B FF 97 B5 */ bl sub_80273a64 +lbl_8027A2B4: +/* 8027A2B4 00277214 3B 40 00 01 */ li r26, 1 +/* 8027A2B8 00277218 48 00 09 90 */ b lbl_8027AC48 +lbl_8027A2BC: +/* 8027A2BC 0027721C 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A2C0 00277220 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A2C4 00277224 41 82 00 20 */ beq lbl_8027A2E4 +/* 8027A2C8 00277228 40 80 00 34 */ bge lbl_8027A2FC +/* 8027A2CC 0027722C 2C 00 00 07 */ cmpwi r0, 7 +/* 8027A2D0 00277230 41 82 00 08 */ beq lbl_8027A2D8 +/* 8027A2D4 00277234 48 00 00 28 */ b lbl_8027A2FC +lbl_8027A2D8: +/* 8027A2D8 00277238 38 A0 00 01 */ li r5, 1 +/* 8027A2DC 0027723C 4B FF D0 A5 */ bl sub_80277380 +/* 8027A2E0 00277240 48 00 00 1C */ b lbl_8027A2FC +lbl_8027A2E4: +/* 8027A2E4 00277244 38 A0 00 01 */ li r5, 1 +/* 8027A2E8 00277248 4B FF B2 C5 */ bl sub_802755ac +/* 8027A2EC 0027724C 88 1F 10 54 */ lbz r0, 0x1054(r31) +/* 8027A2F0 00277250 38 60 00 01 */ li r3, 1 +/* 8027A2F4 00277254 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8027A2F8 00277258 98 1F 10 54 */ stb r0, 0x1054(r31) +lbl_8027A2FC: +/* 8027A2FC 0027725C 3B 40 00 01 */ li r26, 1 +/* 8027A300 00277260 48 00 09 48 */ b lbl_8027AC48 +lbl_8027A304: +/* 8027A304 00277264 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A308 00277268 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A30C 0027726C 41 82 00 20 */ beq lbl_8027A32C +/* 8027A310 00277270 40 80 09 38 */ bge lbl_8027AC48 +/* 8027A314 00277274 2C 00 00 07 */ cmpwi r0, 7 +/* 8027A318 00277278 41 82 00 08 */ beq lbl_8027A320 +/* 8027A31C 0027727C 48 00 09 2C */ b lbl_8027AC48 +lbl_8027A320: +/* 8027A320 00277280 38 A0 00 00 */ li r5, 0 +/* 8027A324 00277284 4B FF D0 5D */ bl sub_80277380 +/* 8027A328 00277288 48 00 09 20 */ b lbl_8027AC48 +lbl_8027A32C: +/* 8027A32C 0027728C 38 A0 00 00 */ li r5, 0 +/* 8027A330 00277290 4B FF B2 7D */ bl sub_802755ac +/* 8027A334 00277294 48 00 09 14 */ b lbl_8027AC48 +lbl_8027A338: +/* 8027A338 00277298 38 61 05 54 */ addi r3, r1, 0x554 +/* 8027A33C 0027729C 38 9F 10 8C */ addi r4, r31, 0x108c +/* 8027A340 002772A0 4B D9 0A 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027A344 002772A4 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027A348 002772A8 2C 00 00 09 */ cmpwi r0, 9 +/* 8027A34C 002772AC 41 82 01 C0 */ beq lbl_8027A50C +/* 8027A350 002772B0 40 80 00 1C */ bge lbl_8027A36C +/* 8027A354 002772B4 2C 00 00 01 */ cmpwi r0, 1 +/* 8027A358 002772B8 41 82 04 DC */ beq lbl_8027A834 +/* 8027A35C 002772BC 40 80 07 F4 */ bge lbl_8027AB50 +/* 8027A360 002772C0 2C 00 00 00 */ cmpwi r0, 0 +/* 8027A364 002772C4 40 80 00 14 */ bge lbl_8027A378 +/* 8027A368 002772C8 48 00 07 E8 */ b lbl_8027AB50 +lbl_8027A36C: +/* 8027A36C 002772CC 2C 00 00 0B */ cmpwi r0, 0xb +/* 8027A370 002772D0 40 80 07 E0 */ bge lbl_8027AB50 +/* 8027A374 002772D4 48 00 03 2C */ b lbl_8027A6A0 +lbl_8027A378: +/* 8027A378 002772D8 C0 1F 10 8C */ lfs f0, 0x108c(r31) +/* 8027A37C 002772DC D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A380 002772E0 C0 1F 10 90 */ lfs f0, 0x1090(r31) +/* 8027A384 002772E4 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A388 002772E8 80 1F 10 98 */ lwz r0, 0x1098(r31) +/* 8027A38C 002772EC 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A390 002772F0 80 7F 10 9C */ lwz r3, 0x109c(r31) +/* 8027A394 002772F4 80 1F 10 A0 */ lwz r0, 0x10a0(r31) +/* 8027A398 002772F8 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A39C 002772FC 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A3A0 00277300 80 7F 10 A4 */ lwz r3, 0x10a4(r31) +/* 8027A3A4 00277304 80 1F 10 A8 */ lwz r0, 0x10a8(r31) +/* 8027A3A8 00277308 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A3AC 0027730C 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A3B0 00277310 80 7F 10 AC */ lwz r3, 0x10ac(r31) +/* 8027A3B4 00277314 80 1F 10 B0 */ lwz r0, 0x10b0(r31) +/* 8027A3B8 00277318 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A3BC 0027731C 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A3C0 00277320 80 7F 10 B4 */ lwz r3, 0x10b4(r31) +/* 8027A3C4 00277324 80 1F 10 B8 */ lwz r0, 0x10b8(r31) +/* 8027A3C8 00277328 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A3CC 0027732C 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A3D0 00277330 80 7F 10 BC */ lwz r3, 0x10bc(r31) +/* 8027A3D4 00277334 80 1F 10 C0 */ lwz r0, 0x10c0(r31) +/* 8027A3D8 00277338 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A3DC 0027733C 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A3E0 00277340 80 7F 10 C4 */ lwz r3, 0x10c4(r31) +/* 8027A3E4 00277344 80 1F 10 C8 */ lwz r0, 0x10c8(r31) +/* 8027A3E8 00277348 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A3EC 0027734C 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A3F0 00277350 C0 1F 10 CC */ lfs f0, 0x10cc(r31) +/* 8027A3F4 00277354 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A3F8 00277358 80 1F 10 D4 */ lwz r0, 0x10d4(r31) +/* 8027A3FC 0027735C 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A400 00277360 80 7F 10 D8 */ lwz r3, 0x10d8(r31) +/* 8027A404 00277364 80 1F 10 DC */ lwz r0, 0x10dc(r31) +/* 8027A408 00277368 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A40C 0027736C 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A410 00277370 80 7F 10 E0 */ lwz r3, 0x10e0(r31) +/* 8027A414 00277374 80 1F 10 E4 */ lwz r0, 0x10e4(r31) +/* 8027A418 00277378 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A41C 0027737C 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A420 00277380 80 7F 10 E8 */ lwz r3, 0x10e8(r31) +/* 8027A424 00277384 80 1F 10 EC */ lwz r0, 0x10ec(r31) +/* 8027A428 00277388 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A42C 0027738C 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A430 00277390 80 7F 10 F0 */ lwz r3, 0x10f0(r31) +/* 8027A434 00277394 80 1F 10 F4 */ lwz r0, 0x10f4(r31) +/* 8027A438 00277398 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A43C 0027739C 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A440 002773A0 80 7F 10 F8 */ lwz r3, 0x10f8(r31) +/* 8027A444 002773A4 80 1F 10 FC */ lwz r0, 0x10fc(r31) +/* 8027A448 002773A8 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A44C 002773AC 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A450 002773B0 80 7F 11 00 */ lwz r3, 0x1100(r31) +/* 8027A454 002773B4 80 1F 11 04 */ lwz r0, 0x1104(r31) +/* 8027A458 002773B8 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A45C 002773BC 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A460 002773C0 C0 1F 11 08 */ lfs f0, 0x1108(r31) +/* 8027A464 002773C4 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A468 002773C8 80 1F 11 10 */ lwz r0, 0x1110(r31) +/* 8027A46C 002773CC 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A470 002773D0 80 7F 11 14 */ lwz r3, 0x1114(r31) +/* 8027A474 002773D4 80 1F 11 18 */ lwz r0, 0x1118(r31) +/* 8027A478 002773D8 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A47C 002773DC 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A480 002773E0 80 7F 11 1C */ lwz r3, 0x111c(r31) +/* 8027A484 002773E4 80 1F 11 20 */ lwz r0, 0x1120(r31) +/* 8027A488 002773E8 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A48C 002773EC 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A490 002773F0 80 7F 11 24 */ lwz r3, 0x1124(r31) +/* 8027A494 002773F4 80 1F 11 28 */ lwz r0, 0x1128(r31) +/* 8027A498 002773F8 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A49C 002773FC 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A4A0 00277400 80 7F 11 2C */ lwz r3, 0x112c(r31) +/* 8027A4A4 00277404 80 1F 11 30 */ lwz r0, 0x1130(r31) +/* 8027A4A8 00277408 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A4AC 0027740C 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A4B0 00277410 80 7F 11 34 */ lwz r3, 0x1134(r31) +/* 8027A4B4 00277414 80 1F 11 38 */ lwz r0, 0x1138(r31) +/* 8027A4B8 00277418 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A4BC 0027741C 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A4C0 00277420 80 7F 11 3C */ lwz r3, 0x113c(r31) +/* 8027A4C4 00277424 80 1F 11 40 */ lwz r0, 0x1140(r31) +/* 8027A4C8 00277428 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A4CC 0027742C 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A4D0 00277430 C0 1F 11 44 */ lfs f0, 0x1144(r31) +/* 8027A4D4 00277434 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A4D8 00277438 80 1F 11 48 */ lwz r0, 0x1148(r31) +/* 8027A4DC 0027743C 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A4E0 00277440 80 1F 11 4C */ lwz r0, 0x114c(r31) +/* 8027A4E4 00277444 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A4E8 00277448 80 7F 11 50 */ lwz r3, 0x1150(r31) +/* 8027A4EC 0027744C 80 1F 11 54 */ lwz r0, 0x1154(r31) +/* 8027A4F0 00277450 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A4F4 00277454 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A4F8 00277458 80 1F 11 58 */ lwz r0, 0x1158(r31) +/* 8027A4FC 0027745C 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A500 00277460 C0 1F 11 5C */ lfs f0, 0x115c(r31) +/* 8027A504 00277464 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A508 00277468 48 00 06 48 */ b lbl_8027AB50 +lbl_8027A50C: +/* 8027A50C 0027746C C0 1F 13 68 */ lfs f0, 0x1368(r31) +/* 8027A510 00277470 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A514 00277474 C0 1F 13 6C */ lfs f0, 0x136c(r31) +/* 8027A518 00277478 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A51C 0027747C 80 1F 13 74 */ lwz r0, 0x1374(r31) +/* 8027A520 00277480 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A524 00277484 80 7F 13 78 */ lwz r3, 0x1378(r31) +/* 8027A528 00277488 80 1F 13 7C */ lwz r0, 0x137c(r31) +/* 8027A52C 0027748C 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A530 00277490 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A534 00277494 80 7F 13 80 */ lwz r3, 0x1380(r31) +/* 8027A538 00277498 80 1F 13 84 */ lwz r0, 0x1384(r31) +/* 8027A53C 0027749C 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A540 002774A0 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A544 002774A4 80 7F 13 88 */ lwz r3, 0x1388(r31) +/* 8027A548 002774A8 80 1F 13 8C */ lwz r0, 0x138c(r31) +/* 8027A54C 002774AC 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A550 002774B0 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A554 002774B4 80 7F 13 90 */ lwz r3, 0x1390(r31) +/* 8027A558 002774B8 80 1F 13 94 */ lwz r0, 0x1394(r31) +/* 8027A55C 002774BC 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A560 002774C0 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A564 002774C4 80 7F 13 98 */ lwz r3, 0x1398(r31) +/* 8027A568 002774C8 80 1F 13 9C */ lwz r0, 0x139c(r31) +/* 8027A56C 002774CC 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A570 002774D0 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A574 002774D4 80 7F 13 A0 */ lwz r3, 0x13a0(r31) +/* 8027A578 002774D8 80 1F 13 A4 */ lwz r0, 0x13a4(r31) +/* 8027A57C 002774DC 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A580 002774E0 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A584 002774E4 C0 1F 13 A8 */ lfs f0, 0x13a8(r31) +/* 8027A588 002774E8 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A58C 002774EC 80 1F 13 B0 */ lwz r0, 0x13b0(r31) +/* 8027A590 002774F0 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A594 002774F4 80 7F 13 B4 */ lwz r3, 0x13b4(r31) +/* 8027A598 002774F8 80 1F 13 B8 */ lwz r0, 0x13b8(r31) +/* 8027A59C 002774FC 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A5A0 00277500 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A5A4 00277504 80 7F 13 BC */ lwz r3, 0x13bc(r31) +/* 8027A5A8 00277508 80 1F 13 C0 */ lwz r0, 0x13c0(r31) +/* 8027A5AC 0027750C 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A5B0 00277510 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A5B4 00277514 80 7F 13 C4 */ lwz r3, 0x13c4(r31) +/* 8027A5B8 00277518 80 1F 13 C8 */ lwz r0, 0x13c8(r31) +/* 8027A5BC 0027751C 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A5C0 00277520 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A5C4 00277524 80 7F 13 CC */ lwz r3, 0x13cc(r31) +/* 8027A5C8 00277528 80 1F 13 D0 */ lwz r0, 0x13d0(r31) +/* 8027A5CC 0027752C 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A5D0 00277530 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A5D4 00277534 80 7F 13 D4 */ lwz r3, 0x13d4(r31) +/* 8027A5D8 00277538 80 1F 13 D8 */ lwz r0, 0x13d8(r31) +/* 8027A5DC 0027753C 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A5E0 00277540 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A5E4 00277544 80 7F 13 DC */ lwz r3, 0x13dc(r31) +/* 8027A5E8 00277548 80 1F 13 E0 */ lwz r0, 0x13e0(r31) +/* 8027A5EC 0027754C 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A5F0 00277550 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A5F4 00277554 C0 1F 13 E4 */ lfs f0, 0x13e4(r31) +/* 8027A5F8 00277558 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A5FC 0027755C 80 1F 13 EC */ lwz r0, 0x13ec(r31) +/* 8027A600 00277560 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A604 00277564 80 7F 13 F0 */ lwz r3, 0x13f0(r31) +/* 8027A608 00277568 80 1F 13 F4 */ lwz r0, 0x13f4(r31) +/* 8027A60C 0027756C 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A610 00277570 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A614 00277574 80 7F 13 F8 */ lwz r3, 0x13f8(r31) +/* 8027A618 00277578 80 1F 13 FC */ lwz r0, 0x13fc(r31) +/* 8027A61C 0027757C 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A620 00277580 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A624 00277584 80 7F 14 00 */ lwz r3, 0x1400(r31) +/* 8027A628 00277588 80 1F 14 04 */ lwz r0, 0x1404(r31) +/* 8027A62C 0027758C 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A630 00277590 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A634 00277594 80 7F 14 08 */ lwz r3, 0x1408(r31) +/* 8027A638 00277598 80 1F 14 0C */ lwz r0, 0x140c(r31) +/* 8027A63C 0027759C 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A640 002775A0 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A644 002775A4 80 7F 14 10 */ lwz r3, 0x1410(r31) +/* 8027A648 002775A8 80 1F 14 14 */ lwz r0, 0x1414(r31) +/* 8027A64C 002775AC 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A650 002775B0 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A654 002775B4 80 7F 14 18 */ lwz r3, 0x1418(r31) +/* 8027A658 002775B8 80 1F 14 1C */ lwz r0, 0x141c(r31) +/* 8027A65C 002775BC 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A660 002775C0 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A664 002775C4 C0 1F 14 20 */ lfs f0, 0x1420(r31) +/* 8027A668 002775C8 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A66C 002775CC 80 1F 14 24 */ lwz r0, 0x1424(r31) +/* 8027A670 002775D0 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A674 002775D4 80 1F 14 28 */ lwz r0, 0x1428(r31) +/* 8027A678 002775D8 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A67C 002775DC 80 7F 14 2C */ lwz r3, 0x142c(r31) +/* 8027A680 002775E0 80 1F 14 30 */ lwz r0, 0x1430(r31) +/* 8027A684 002775E4 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A688 002775E8 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A68C 002775EC 80 1F 14 34 */ lwz r0, 0x1434(r31) +/* 8027A690 002775F0 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A694 002775F4 C0 1F 14 38 */ lfs f0, 0x1438(r31) +/* 8027A698 002775F8 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A69C 002775FC 48 00 04 B4 */ b lbl_8027AB50 +lbl_8027A6A0: +/* 8027A6A0 00277600 C0 1F 12 94 */ lfs f0, 0x1294(r31) +/* 8027A6A4 00277604 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A6A8 00277608 C0 1F 12 98 */ lfs f0, 0x1298(r31) +/* 8027A6AC 0027760C D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A6B0 00277610 80 1F 12 A0 */ lwz r0, 0x12a0(r31) +/* 8027A6B4 00277614 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A6B8 00277618 80 7F 12 A4 */ lwz r3, 0x12a4(r31) +/* 8027A6BC 0027761C 80 1F 12 A8 */ lwz r0, 0x12a8(r31) +/* 8027A6C0 00277620 90 61 05 64 */ stw r3, 0x564(r1) +/* 8027A6C4 00277624 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A6C8 00277628 80 7F 12 AC */ lwz r3, 0x12ac(r31) +/* 8027A6CC 0027762C 80 1F 12 B0 */ lwz r0, 0x12b0(r31) +/* 8027A6D0 00277630 90 61 05 6C */ stw r3, 0x56c(r1) +/* 8027A6D4 00277634 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A6D8 00277638 80 7F 12 B4 */ lwz r3, 0x12b4(r31) +/* 8027A6DC 0027763C 80 1F 12 B8 */ lwz r0, 0x12b8(r31) +/* 8027A6E0 00277640 90 61 05 74 */ stw r3, 0x574(r1) +/* 8027A6E4 00277644 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A6E8 00277648 80 7F 12 BC */ lwz r3, 0x12bc(r31) +/* 8027A6EC 0027764C 80 1F 12 C0 */ lwz r0, 0x12c0(r31) +/* 8027A6F0 00277650 90 61 05 7C */ stw r3, 0x57c(r1) +/* 8027A6F4 00277654 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A6F8 00277658 80 7F 12 C4 */ lwz r3, 0x12c4(r31) +/* 8027A6FC 0027765C 80 1F 12 C8 */ lwz r0, 0x12c8(r31) +/* 8027A700 00277660 90 61 05 84 */ stw r3, 0x584(r1) +/* 8027A704 00277664 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A708 00277668 80 7F 12 CC */ lwz r3, 0x12cc(r31) +/* 8027A70C 0027766C 80 1F 12 D0 */ lwz r0, 0x12d0(r31) +/* 8027A710 00277670 90 61 05 8C */ stw r3, 0x58c(r1) +/* 8027A714 00277674 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A718 00277678 C0 1F 12 D4 */ lfs f0, 0x12d4(r31) +/* 8027A71C 0027767C D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A720 00277680 80 1F 12 DC */ lwz r0, 0x12dc(r31) +/* 8027A724 00277684 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027A728 00277688 80 7F 12 E0 */ lwz r3, 0x12e0(r31) +/* 8027A72C 0027768C 80 1F 12 E4 */ lwz r0, 0x12e4(r31) +/* 8027A730 00277690 90 61 05 A0 */ stw r3, 0x5a0(r1) +/* 8027A734 00277694 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027A738 00277698 80 7F 12 E8 */ lwz r3, 0x12e8(r31) +/* 8027A73C 0027769C 80 1F 12 EC */ lwz r0, 0x12ec(r31) +/* 8027A740 002776A0 90 61 05 A8 */ stw r3, 0x5a8(r1) +/* 8027A744 002776A4 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027A748 002776A8 80 7F 12 F0 */ lwz r3, 0x12f0(r31) +/* 8027A74C 002776AC 80 1F 12 F4 */ lwz r0, 0x12f4(r31) +/* 8027A750 002776B0 90 61 05 B0 */ stw r3, 0x5b0(r1) +/* 8027A754 002776B4 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027A758 002776B8 80 7F 12 F8 */ lwz r3, 0x12f8(r31) +/* 8027A75C 002776BC 80 1F 12 FC */ lwz r0, 0x12fc(r31) +/* 8027A760 002776C0 90 61 05 B8 */ stw r3, 0x5b8(r1) +/* 8027A764 002776C4 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027A768 002776C8 80 7F 13 00 */ lwz r3, 0x1300(r31) +/* 8027A76C 002776CC 80 1F 13 04 */ lwz r0, 0x1304(r31) +/* 8027A770 002776D0 90 61 05 C0 */ stw r3, 0x5c0(r1) +/* 8027A774 002776D4 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027A778 002776D8 80 7F 13 08 */ lwz r3, 0x1308(r31) +/* 8027A77C 002776DC 80 1F 13 0C */ lwz r0, 0x130c(r31) +/* 8027A780 002776E0 90 61 05 C8 */ stw r3, 0x5c8(r1) +/* 8027A784 002776E4 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027A788 002776E8 C0 1F 13 10 */ lfs f0, 0x1310(r31) +/* 8027A78C 002776EC D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027A790 002776F0 80 1F 13 18 */ lwz r0, 0x1318(r31) +/* 8027A794 002776F4 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027A798 002776F8 80 7F 13 1C */ lwz r3, 0x131c(r31) +/* 8027A79C 002776FC 80 1F 13 20 */ lwz r0, 0x1320(r31) +/* 8027A7A0 00277700 90 61 05 DC */ stw r3, 0x5dc(r1) +/* 8027A7A4 00277704 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027A7A8 00277708 80 7F 13 24 */ lwz r3, 0x1324(r31) +/* 8027A7AC 0027770C 80 1F 13 28 */ lwz r0, 0x1328(r31) +/* 8027A7B0 00277710 90 61 05 E4 */ stw r3, 0x5e4(r1) +/* 8027A7B4 00277714 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027A7B8 00277718 80 7F 13 2C */ lwz r3, 0x132c(r31) +/* 8027A7BC 0027771C 80 1F 13 30 */ lwz r0, 0x1330(r31) +/* 8027A7C0 00277720 90 61 05 EC */ stw r3, 0x5ec(r1) +/* 8027A7C4 00277724 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027A7C8 00277728 80 7F 13 34 */ lwz r3, 0x1334(r31) +/* 8027A7CC 0027772C 80 1F 13 38 */ lwz r0, 0x1338(r31) +/* 8027A7D0 00277730 90 61 05 F4 */ stw r3, 0x5f4(r1) +/* 8027A7D4 00277734 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027A7D8 00277738 80 7F 13 3C */ lwz r3, 0x133c(r31) +/* 8027A7DC 0027773C 80 1F 13 40 */ lwz r0, 0x1340(r31) +/* 8027A7E0 00277740 90 61 05 FC */ stw r3, 0x5fc(r1) +/* 8027A7E4 00277744 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027A7E8 00277748 80 7F 13 44 */ lwz r3, 0x1344(r31) +/* 8027A7EC 0027774C 80 1F 13 48 */ lwz r0, 0x1348(r31) +/* 8027A7F0 00277750 90 61 06 04 */ stw r3, 0x604(r1) +/* 8027A7F4 00277754 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027A7F8 00277758 C0 1F 13 4C */ lfs f0, 0x134c(r31) +/* 8027A7FC 0027775C D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027A800 00277760 80 1F 13 50 */ lwz r0, 0x1350(r31) +/* 8027A804 00277764 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027A808 00277768 80 1F 13 54 */ lwz r0, 0x1354(r31) +/* 8027A80C 0027776C 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027A810 00277770 80 7F 13 58 */ lwz r3, 0x1358(r31) +/* 8027A814 00277774 80 1F 13 5C */ lwz r0, 0x135c(r31) +/* 8027A818 00277778 90 61 06 18 */ stw r3, 0x618(r1) +/* 8027A81C 0027777C 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027A820 00277780 80 1F 13 60 */ lwz r0, 0x1360(r31) +/* 8027A824 00277784 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027A828 00277788 C0 1F 13 64 */ lfs f0, 0x1364(r31) +/* 8027A82C 0027778C D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027A830 00277790 48 00 03 20 */ b lbl_8027AB50 +lbl_8027A834: +/* 8027A834 00277794 7F E4 FB 78 */ mr r4, r31 +/* 8027A838 00277798 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 8027A83C 0027779C 38 BC 00 3C */ addi r5, r28, 0x3c +/* 8027A840 002777A0 4B DF E1 39 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027A844 002777A4 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8027A848 002777A8 38 61 01 28 */ addi r3, r1, 0x128 +/* 8027A84C 002777AC C0 A1 03 10 */ lfs f5, 0x310(r1) +/* 8027A850 002777B0 C0 E4 00 60 */ lfs f7, 0x60(r4) +/* 8027A854 002777B4 C0 01 03 00 */ lfs f0, 0x300(r1) +/* 8027A858 002777B8 C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 8027A85C 002777BC EC 67 28 28 */ fsubs f3, f7, f5 +/* 8027A860 002777C0 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8027A864 002777C4 C0 41 02 F0 */ lfs f2, 0x2f0(r1) +/* 8027A868 002777C8 EC 86 00 28 */ fsubs f4, f6, f0 +/* 8027A86C 002777CC D0 01 01 14 */ stfs f0, 0x114(r1) +/* 8027A870 002777D0 EC 01 10 28 */ fsubs f0, f1, f2 +/* 8027A874 002777D4 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 8027A878 002777D8 D0 A1 01 18 */ stfs f5, 0x118(r1) +/* 8027A87C 002777DC D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 8027A880 002777E0 D0 C1 01 20 */ stfs f6, 0x120(r1) +/* 8027A884 002777E4 D0 E1 01 24 */ stfs f7, 0x124(r1) +/* 8027A888 002777E8 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8027A88C 002777EC D0 81 01 2C */ stfs f4, 0x12c(r1) +/* 8027A890 002777F0 D0 61 01 30 */ stfs f3, 0x130(r1) +/* 8027A894 002777F4 48 09 A0 25 */ bl Magnitude__9CVector3fCFv +/* 8027A898 002777F8 C0 1F 0E C4 */ lfs f0, 0xec4(r31) +/* 8027A89C 002777FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8027A8A0 00277800 40 80 00 D0 */ bge lbl_8027A970 +/* 8027A8A4 00277804 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8027A8A8 00277808 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) +/* 8027A8AC 0027780C C0 5F 0E C8 */ lfs f2, 0xec8(r31) +/* 8027A8B0 00277810 38 60 00 00 */ li r3, 0 +/* 8027A8B4 00277814 88 01 02 B0 */ lbz r0, 0x2b0(r1) +/* 8027A8B8 00277818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027A8BC 0027781C EC 61 00 28 */ fsubs f3, f1, f0 +/* 8027A8C0 00277820 C0 3F 0E C0 */ lfs f1, 0xec0(r31) +/* 8027A8C4 00277824 C0 1F 0E BC */ lfs f0, 0xebc(r31) +/* 8027A8C8 00277828 38 60 00 00 */ li r3, 0 +/* 8027A8CC 0027782C 80 DF 0E B4 */ lwz r6, 0xeb4(r31) +/* 8027A8D0 00277830 38 80 00 01 */ li r4, 1 +/* 8027A8D4 00277834 90 C1 02 98 */ stw r6, 0x298(r1) +/* 8027A8D8 00277838 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8027A8DC 0027783C EC 23 00 72 */ fmuls f1, f3, f1 +/* 8027A8E0 00277840 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) +/* 8027A8E4 00277844 88 DF 0E B8 */ lbz r6, 0xeb8(r31) +/* 8027A8E8 00277848 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8027A8EC 0027784C 98 C1 02 9C */ stb r6, 0x29c(r1) +/* 8027A8F0 00277850 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 8027A8F4 00277854 D0 01 02 A4 */ stfs f0, 0x2a4(r1) +/* 8027A8F8 00277858 D0 21 02 A8 */ stfs f1, 0x2a8(r1) +/* 8027A8FC 0027785C D0 41 02 AC */ stfs f2, 0x2ac(r1) +/* 8027A900 00277860 98 01 02 B0 */ stb r0, 0x2b0(r1) +/* 8027A904 00277864 48 10 F5 F1 */ bl __shl2i +/* 8027A908 00277868 39 40 00 00 */ li r10, 0 +/* 8027A90C 0027786C 38 00 00 03 */ li r0, 3 +/* 8027A910 00277870 90 81 02 6C */ stw r4, 0x26c(r1) +/* 8027A914 00277874 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027A918 00277878 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8027A91C 0027787C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8027A920 00277880 90 61 02 68 */ stw r3, 0x268(r1) +/* 8027A924 00277884 38 81 00 4C */ addi r4, r1, 0x4c +/* 8027A928 00277888 7F C3 F3 78 */ mr r3, r30 +/* 8027A92C 0027788C 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8027A930 00277890 91 41 02 74 */ stw r10, 0x274(r1) +/* 8027A934 00277894 38 E1 02 98 */ addi r7, r1, 0x298 +/* 8027A938 00277898 39 01 02 68 */ addi r8, r1, 0x268 +/* 8027A93C 0027789C 91 41 02 70 */ stw r10, 0x270(r1) +/* 8027A940 002778A0 90 01 02 78 */ stw r0, 0x278(r1) +/* 8027A944 002778A4 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8027A948 002778A8 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8027A94C 002778AC 81 5E 08 4C */ lwz r10, 0x84c(r30) +/* 8027A950 002778B0 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8027A954 002778B4 A1 4A 00 08 */ lhz r10, 8(r10) +/* 8027A958 002778B8 B1 41 00 44 */ sth r10, 0x44(r1) +/* 8027A95C 002778BC A0 1F 00 08 */ lhz r0, 8(r31) +/* 8027A960 002778C0 B1 41 00 40 */ sth r10, 0x40(r1) +/* 8027A964 002778C4 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8027A968 002778C8 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 8027A96C 002778CC 4B DC F7 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8027A970: +/* 8027A970 002778D0 C0 1F 0E D0 */ lfs f0, 0xed0(r31) +/* 8027A974 002778D4 7F E4 FB 78 */ mr r4, r31 +/* 8027A978 002778D8 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 8027A97C 002778DC 38 BC 00 3C */ addi r5, r28, 0x3c +/* 8027A980 002778E0 D0 01 05 54 */ stfs f0, 0x554(r1) +/* 8027A984 002778E4 C0 1F 0E D4 */ lfs f0, 0xed4(r31) +/* 8027A988 002778E8 D0 01 05 58 */ stfs f0, 0x558(r1) +/* 8027A98C 002778EC 80 1F 0E DC */ lwz r0, 0xedc(r31) +/* 8027A990 002778F0 90 01 05 60 */ stw r0, 0x560(r1) +/* 8027A994 002778F4 80 DF 0E E0 */ lwz r6, 0xee0(r31) +/* 8027A998 002778F8 80 1F 0E E4 */ lwz r0, 0xee4(r31) +/* 8027A99C 002778FC 90 C1 05 64 */ stw r6, 0x564(r1) +/* 8027A9A0 00277900 90 01 05 68 */ stw r0, 0x568(r1) +/* 8027A9A4 00277904 80 DF 0E E8 */ lwz r6, 0xee8(r31) +/* 8027A9A8 00277908 80 1F 0E EC */ lwz r0, 0xeec(r31) +/* 8027A9AC 0027790C 90 C1 05 6C */ stw r6, 0x56c(r1) +/* 8027A9B0 00277910 90 01 05 70 */ stw r0, 0x570(r1) +/* 8027A9B4 00277914 80 DF 0E F0 */ lwz r6, 0xef0(r31) +/* 8027A9B8 00277918 80 1F 0E F4 */ lwz r0, 0xef4(r31) +/* 8027A9BC 0027791C 90 C1 05 74 */ stw r6, 0x574(r1) +/* 8027A9C0 00277920 90 01 05 78 */ stw r0, 0x578(r1) +/* 8027A9C4 00277924 80 DF 0E F8 */ lwz r6, 0xef8(r31) +/* 8027A9C8 00277928 80 1F 0E FC */ lwz r0, 0xefc(r31) +/* 8027A9CC 0027792C 90 C1 05 7C */ stw r6, 0x57c(r1) +/* 8027A9D0 00277930 90 01 05 80 */ stw r0, 0x580(r1) +/* 8027A9D4 00277934 80 DF 0F 00 */ lwz r6, 0xf00(r31) +/* 8027A9D8 00277938 80 1F 0F 04 */ lwz r0, 0xf04(r31) +/* 8027A9DC 0027793C 90 C1 05 84 */ stw r6, 0x584(r1) +/* 8027A9E0 00277940 90 01 05 88 */ stw r0, 0x588(r1) +/* 8027A9E4 00277944 80 DF 0F 08 */ lwz r6, 0xf08(r31) +/* 8027A9E8 00277948 80 1F 0F 0C */ lwz r0, 0xf0c(r31) +/* 8027A9EC 0027794C 90 C1 05 8C */ stw r6, 0x58c(r1) +/* 8027A9F0 00277950 90 01 05 90 */ stw r0, 0x590(r1) +/* 8027A9F4 00277954 C0 1F 0F 10 */ lfs f0, 0xf10(r31) +/* 8027A9F8 00277958 D0 01 05 94 */ stfs f0, 0x594(r1) +/* 8027A9FC 0027795C 80 1F 0F 18 */ lwz r0, 0xf18(r31) +/* 8027AA00 00277960 90 01 05 9C */ stw r0, 0x59c(r1) +/* 8027AA04 00277964 80 DF 0F 1C */ lwz r6, 0xf1c(r31) +/* 8027AA08 00277968 80 1F 0F 20 */ lwz r0, 0xf20(r31) +/* 8027AA0C 0027796C 90 C1 05 A0 */ stw r6, 0x5a0(r1) +/* 8027AA10 00277970 90 01 05 A4 */ stw r0, 0x5a4(r1) +/* 8027AA14 00277974 80 DF 0F 24 */ lwz r6, 0xf24(r31) +/* 8027AA18 00277978 80 1F 0F 28 */ lwz r0, 0xf28(r31) +/* 8027AA1C 0027797C 90 C1 05 A8 */ stw r6, 0x5a8(r1) +/* 8027AA20 00277980 90 01 05 AC */ stw r0, 0x5ac(r1) +/* 8027AA24 00277984 80 DF 0F 2C */ lwz r6, 0xf2c(r31) +/* 8027AA28 00277988 80 1F 0F 30 */ lwz r0, 0xf30(r31) +/* 8027AA2C 0027798C 90 C1 05 B0 */ stw r6, 0x5b0(r1) +/* 8027AA30 00277990 90 01 05 B4 */ stw r0, 0x5b4(r1) +/* 8027AA34 00277994 80 DF 0F 34 */ lwz r6, 0xf34(r31) +/* 8027AA38 00277998 80 1F 0F 38 */ lwz r0, 0xf38(r31) +/* 8027AA3C 0027799C 90 C1 05 B8 */ stw r6, 0x5b8(r1) +/* 8027AA40 002779A0 90 01 05 BC */ stw r0, 0x5bc(r1) +/* 8027AA44 002779A4 80 DF 0F 3C */ lwz r6, 0xf3c(r31) +/* 8027AA48 002779A8 80 1F 0F 40 */ lwz r0, 0xf40(r31) +/* 8027AA4C 002779AC 90 C1 05 C0 */ stw r6, 0x5c0(r1) +/* 8027AA50 002779B0 90 01 05 C4 */ stw r0, 0x5c4(r1) +/* 8027AA54 002779B4 80 DF 0F 44 */ lwz r6, 0xf44(r31) +/* 8027AA58 002779B8 80 1F 0F 48 */ lwz r0, 0xf48(r31) +/* 8027AA5C 002779BC 90 C1 05 C8 */ stw r6, 0x5c8(r1) +/* 8027AA60 002779C0 90 01 05 CC */ stw r0, 0x5cc(r1) +/* 8027AA64 002779C4 C0 1F 0F 4C */ lfs f0, 0xf4c(r31) +/* 8027AA68 002779C8 D0 01 05 D0 */ stfs f0, 0x5d0(r1) +/* 8027AA6C 002779CC 80 1F 0F 54 */ lwz r0, 0xf54(r31) +/* 8027AA70 002779D0 90 01 05 D8 */ stw r0, 0x5d8(r1) +/* 8027AA74 002779D4 80 DF 0F 58 */ lwz r6, 0xf58(r31) +/* 8027AA78 002779D8 80 1F 0F 5C */ lwz r0, 0xf5c(r31) +/* 8027AA7C 002779DC 90 C1 05 DC */ stw r6, 0x5dc(r1) +/* 8027AA80 002779E0 90 01 05 E0 */ stw r0, 0x5e0(r1) +/* 8027AA84 002779E4 80 DF 0F 60 */ lwz r6, 0xf60(r31) +/* 8027AA88 002779E8 80 1F 0F 64 */ lwz r0, 0xf64(r31) +/* 8027AA8C 002779EC 90 C1 05 E4 */ stw r6, 0x5e4(r1) +/* 8027AA90 002779F0 90 01 05 E8 */ stw r0, 0x5e8(r1) +/* 8027AA94 002779F4 80 DF 0F 68 */ lwz r6, 0xf68(r31) +/* 8027AA98 002779F8 80 1F 0F 6C */ lwz r0, 0xf6c(r31) +/* 8027AA9C 002779FC 90 C1 05 EC */ stw r6, 0x5ec(r1) +/* 8027AAA0 00277A00 90 01 05 F0 */ stw r0, 0x5f0(r1) +/* 8027AAA4 00277A04 80 DF 0F 70 */ lwz r6, 0xf70(r31) +/* 8027AAA8 00277A08 80 1F 0F 74 */ lwz r0, 0xf74(r31) +/* 8027AAAC 00277A0C 90 C1 05 F4 */ stw r6, 0x5f4(r1) +/* 8027AAB0 00277A10 90 01 05 F8 */ stw r0, 0x5f8(r1) +/* 8027AAB4 00277A14 80 DF 0F 78 */ lwz r6, 0xf78(r31) +/* 8027AAB8 00277A18 80 1F 0F 7C */ lwz r0, 0xf7c(r31) +/* 8027AABC 00277A1C 90 C1 05 FC */ stw r6, 0x5fc(r1) +/* 8027AAC0 00277A20 90 01 06 00 */ stw r0, 0x600(r1) +/* 8027AAC4 00277A24 80 DF 0F 80 */ lwz r6, 0xf80(r31) +/* 8027AAC8 00277A28 80 1F 0F 84 */ lwz r0, 0xf84(r31) +/* 8027AACC 00277A2C 90 C1 06 04 */ stw r6, 0x604(r1) +/* 8027AAD0 00277A30 90 01 06 08 */ stw r0, 0x608(r1) +/* 8027AAD4 00277A34 C0 1F 0F 88 */ lfs f0, 0xf88(r31) +/* 8027AAD8 00277A38 D0 01 06 0C */ stfs f0, 0x60c(r1) +/* 8027AADC 00277A3C 80 1F 0F 8C */ lwz r0, 0xf8c(r31) +/* 8027AAE0 00277A40 90 01 06 10 */ stw r0, 0x610(r1) +/* 8027AAE4 00277A44 80 1F 0F 90 */ lwz r0, 0xf90(r31) +/* 8027AAE8 00277A48 90 01 06 14 */ stw r0, 0x614(r1) +/* 8027AAEC 00277A4C 80 DF 0F 94 */ lwz r6, 0xf94(r31) +/* 8027AAF0 00277A50 80 1F 0F 98 */ lwz r0, 0xf98(r31) +/* 8027AAF4 00277A54 90 C1 06 18 */ stw r6, 0x618(r1) +/* 8027AAF8 00277A58 90 01 06 1C */ stw r0, 0x61c(r1) +/* 8027AAFC 00277A5C 80 1F 0F 9C */ lwz r0, 0xf9c(r31) +/* 8027AB00 00277A60 90 01 06 20 */ stw r0, 0x620(r1) +/* 8027AB04 00277A64 C0 1F 0F A0 */ lfs f0, 0xfa0(r31) +/* 8027AB08 00277A68 D0 01 06 24 */ stfs f0, 0x624(r1) +/* 8027AB0C 00277A6C 4B DF DE 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027AB10 00277A70 C0 41 02 C0 */ lfs f2, 0x2c0(r1) +/* 8027AB14 00277A74 38 61 05 54 */ addi r3, r1, 0x554 +/* 8027AB18 00277A78 C0 21 02 D0 */ lfs f1, 0x2d0(r1) +/* 8027AB1C 00277A7C 38 81 01 04 */ addi r4, r1, 0x104 +/* 8027AB20 00277A80 C0 01 02 E0 */ lfs f0, 0x2e0(r1) +/* 8027AB24 00277A84 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8027AB28 00277A88 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 8027AB2C 00277A8C 80 C1 00 F8 */ lwz r6, 0xf8(r1) +/* 8027AB30 00277A90 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 8027AB34 00277A94 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 8027AB38 00277A98 80 01 01 00 */ lwz r0, 0x100(r1) +/* 8027AB3C 00277A9C 90 C1 01 04 */ stw r6, 0x104(r1) +/* 8027AB40 00277AA0 90 A1 01 08 */ stw r5, 0x108(r1) +/* 8027AB44 00277AA4 90 01 01 0C */ stw r0, 0x10c(r1) +/* 8027AB48 00277AA8 C0 3F 0E C4 */ lfs f1, 0xec4(r31) +/* 8027AB4C 00277AAC 4B EE 23 21 */ bl SetSfxPositionAndDistance__16CCameraShakeDataFRC9CVector3ff +lbl_8027AB50: +/* 8027AB50 00277AB0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027AB54 00277AB4 4B D8 FD AD */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 8027AB58 00277AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8027AB5C 00277ABC 40 82 00 14 */ bne lbl_8027AB70 +/* 8027AB60 00277AC0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8027AB64 00277AC4 38 81 05 54 */ addi r4, r1, 0x554 +/* 8027AB68 00277AC8 38 A0 00 01 */ li r5, 1 +/* 8027AB6C 00277ACC 4B D8 FE B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +lbl_8027AB70: +/* 8027AB70 00277AD0 34 81 05 D4 */ addic. r4, r1, 0x5d4 +/* 8027AB74 00277AD4 41 82 00 10 */ beq lbl_8027AB84 +/* 8027AB78 00277AD8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027AB7C 00277ADC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027AB80 00277AE0 90 04 00 00 */ stw r0, 0(r4) +lbl_8027AB84: +/* 8027AB84 00277AE4 34 81 05 98 */ addic. r4, r1, 0x598 +/* 8027AB88 00277AE8 41 82 00 10 */ beq lbl_8027AB98 +/* 8027AB8C 00277AEC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027AB90 00277AF0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027AB94 00277AF4 90 04 00 00 */ stw r0, 0(r4) +lbl_8027AB98: +/* 8027AB98 00277AF8 34 81 05 5C */ addic. r4, r1, 0x55c +/* 8027AB9C 00277AFC 41 82 00 AC */ beq lbl_8027AC48 +/* 8027ABA0 00277B00 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027ABA4 00277B04 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027ABA8 00277B08 90 04 00 00 */ stw r0, 0(r4) +/* 8027ABAC 00277B0C 48 00 00 9C */ b lbl_8027AC48 +lbl_8027ABB0: +/* 8027ABB0 00277B10 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 8027ABB4 00277B14 2C 00 00 07 */ cmpwi r0, 7 +/* 8027ABB8 00277B18 40 82 00 90 */ bne lbl_8027AC48 +/* 8027ABBC 00277B1C 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027ABC0 00277B20 38 80 00 01 */ li r4, 1 +/* 8027ABC4 00277B24 81 83 00 00 */ lwz r12, 0(r3) +/* 8027ABC8 00277B28 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027ABCC 00277B2C 7D 89 03 A6 */ mtctr r12 +/* 8027ABD0 00277B30 4E 80 04 21 */ bctrl +/* 8027ABD4 00277B34 80 1F 05 70 */ lwz r0, 0x570(r31) +/* 8027ABD8 00277B38 7F C3 F3 78 */ mr r3, r30 +/* 8027ABDC 00277B3C 38 81 00 34 */ addi r4, r1, 0x34 +/* 8027ABE0 00277B40 54 00 08 3C */ slwi r0, r0, 1 +/* 8027ABE4 00277B44 7C BF 02 14 */ add r5, r31, r0 +/* 8027ABE8 00277B48 A0 05 0B 28 */ lhz r0, 0xb28(r5) +/* 8027ABEC 00277B4C B0 01 00 34 */ sth r0, 0x34(r1) +/* 8027ABF0 00277B50 4B DD 19 85 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027ABF4 00277B54 28 03 00 00 */ cmplwi r3, 0 +/* 8027ABF8 00277B58 41 82 00 50 */ beq lbl_8027AC48 +/* 8027ABFC 00277B5C 80 03 04 90 */ lwz r0, 0x490(r3) +/* 8027AC00 00277B60 C3 C2 BC F4 */ lfs f30, lbl_805ADA14@sda21(r2) +/* 8027AC04 00277B64 90 01 00 AC */ stw r0, 0xac(r1) +/* 8027AC08 00277B68 F3 C1 A0 30 */ psq_st f30, 48(r1), 1, qr2 +/* 8027AC0C 00277B6C 38 81 00 AC */ addi r4, r1, 0xac +/* 8027AC10 00277B70 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8027AC14 00277B74 98 01 00 AF */ stb r0, 0xaf(r1) +/* 8027AC18 00277B78 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027AC1C 00277B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AC20 00277B80 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8027AC24 00277B84 7D 89 03 A6 */ mtctr r12 +/* 8027AC28 00277B88 4E 80 04 21 */ bctrl +/* 8027AC2C 00277B8C 48 00 00 1C */ b lbl_8027AC48 +lbl_8027AC30: +/* 8027AC30 00277B90 80 7F 0C 54 */ lwz r3, 0xc54(r31) +/* 8027AC34 00277B94 38 80 00 00 */ li r4, 0 +/* 8027AC38 00277B98 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AC3C 00277B9C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027AC40 00277BA0 7D 89 03 A6 */ mtctr r12 +/* 8027AC44 00277BA4 4E 80 04 21 */ bctrl +lbl_8027AC48: +/* 8027AC48 00277BA8 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8027AC4C 00277BAC 40 82 00 1C */ bne lbl_8027AC68 +/* 8027AC50 00277BB0 FC 20 F8 90 */ fmr f1, f31 +/* 8027AC54 00277BB4 7F E3 FB 78 */ mr r3, r31 +/* 8027AC58 00277BB8 7F C4 F3 78 */ mr r4, r30 +/* 8027AC5C 00277BBC 7F 85 E3 78 */ mr r5, r28 +/* 8027AC60 00277BC0 7F A6 EB 78 */ mr r6, r29 +/* 8027AC64 00277BC4 4B DF E2 4D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8027AC68: +/* 8027AC68 00277BC8 E3 E1 06 98 */ psq_l f31, 1688(r1), 0, qr0 +/* 8027AC6C 00277BCC CB E1 06 90 */ lfd f31, 0x690(r1) +/* 8027AC70 00277BD0 E3 C1 06 88 */ psq_l f30, 1672(r1), 0, qr0 +/* 8027AC74 00277BD4 CB C1 06 80 */ lfd f30, 0x680(r1) +/* 8027AC78 00277BD8 E3 A1 06 78 */ psq_l f29, 1656(r1), 0, qr0 +/* 8027AC7C 00277BDC CB A1 06 70 */ lfd f29, 0x670(r1) +/* 8027AC80 00277BE0 E3 81 06 68 */ psq_l f28, 1640(r1), 0, qr0 +/* 8027AC84 00277BE4 CB 81 06 60 */ lfd f28, 0x660(r1) +/* 8027AC88 00277BE8 BA A1 06 34 */ lmw r21, 0x634(r1) +/* 8027AC8C 00277BEC 80 01 06 A4 */ lwz r0, 0x6a4(r1) +/* 8027AC90 00277BF0 7C 08 03 A6 */ mtlr r0 +/* 8027AC94 00277BF4 38 21 06 A0 */ addi r1, r1, 0x6a0 +/* 8027AC98 00277BF8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8027AC9C 00277BFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8027ACA0 00277C00 7C 08 02 A6 */ mflr r0 +/* 8027ACA4 00277C04 90 01 00 34 */ stw r0, 0x34(r1) +/* 8027ACA8 00277C08 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8027ACAC 00277C0C 7C 9C 23 78 */ mr r28, r4 +/* 8027ACB0 00277C10 28 1C 00 2A */ cmplwi r28, 0x2a +/* 8027ACB4 00277C14 7C 7B 1B 78 */ mr r27, r3 +/* 8027ACB8 00277C18 7C BD 2B 78 */ mr r29, r5 +/* 8027ACBC 00277C1C 7C DE 33 78 */ mr r30, r6 +/* 8027ACC0 00277C20 3B E0 00 00 */ li r31, 0 +/* 8027ACC4 00277C24 41 81 01 DC */ bgt lbl_8027AEA0 +/* 8027ACC8 00277C28 3C 80 80 3F */ lis r4, lbl_803EB020@ha +/* 8027ACCC 00277C2C 57 80 10 3A */ slwi r0, r28, 2 +/* 8027ACD0 00277C30 38 84 B0 20 */ addi r4, r4, lbl_803EB020@l +/* 8027ACD4 00277C34 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8027ACD8 00277C38 7C 09 03 A6 */ mtctr r0 +/* 8027ACDC 00277C3C 4E 80 04 20 */ bctr +/* 8027ACE0 00277C40 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027ACE4 00277C44 7F C4 F3 78 */ mr r4, r30 +/* 8027ACE8 00277C48 38 A0 00 01 */ li r5, 1 +/* 8027ACEC 00277C4C 4B F2 C6 0D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027ACF0 00277C50 48 00 01 B0 */ b lbl_8027AEA0 +/* 8027ACF4 00277C54 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027ACF8 00277C58 7F C4 F3 78 */ mr r4, r30 +/* 8027ACFC 00277C5C 38 A0 00 00 */ li r5, 0 +/* 8027AD00 00277C60 4B F2 C5 F9 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8027AD04 00277C64 48 00 01 9C */ b lbl_8027AEA0 +/* 8027AD08 00277C68 38 80 00 00 */ li r4, 0 +/* 8027AD0C 00277C6C 4B DD 80 61 */ bl CreateShadow__6CActorFb +/* 8027AD10 00277C70 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8027AD14 00277C74 7F C4 F3 78 */ mr r4, r30 +/* 8027AD18 00277C78 4B EB FF D9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8027AD1C 00277C7C 3C 80 80 3D */ lis r4, lbl_803D546C@ha +/* 8027AD20 00277C80 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8027AD24 00277C84 38 84 54 6C */ addi r4, r4, lbl_803D546C@l +/* 8027AD28 00277C88 80 84 00 04 */ lwz r4, 4(r4) +/* 8027AD2C 00277C8C 4B EB FC AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8027AD30 00277C90 7F 63 DB 78 */ mr r3, r27 +/* 8027AD34 00277C94 4B FF E3 09 */ bl sub_8027903c +/* 8027AD38 00277C98 7F 63 DB 78 */ mr r3, r27 +/* 8027AD3C 00277C9C 7F C4 F3 78 */ mr r4, r30 +/* 8027AD40 00277CA0 4B FF E4 95 */ bl sub_802791d4 +/* 8027AD44 00277CA4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD48 00277CA8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD4C 00277CAC 38 A0 00 01 */ li r5, 1 +/* 8027AD50 00277CB0 4B FF DA B1 */ bl sub_80278800 +/* 8027AD54 00277CB4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD58 00277CB8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD5C 00277CBC 38 A0 00 01 */ li r5, 1 +/* 8027AD60 00277CC0 4B FF DE 01 */ bl sub_80278b60 +/* 8027AD64 00277CC4 7F 63 DB 78 */ mr r3, r27 +/* 8027AD68 00277CC8 7F C4 F3 78 */ mr r4, r30 +/* 8027AD6C 00277CCC 4B FF CE 99 */ bl sub_80277c04 +/* 8027AD70 00277CD0 7F 63 DB 78 */ mr r3, r27 +/* 8027AD74 00277CD4 7F C4 F3 78 */ mr r4, r30 +/* 8027AD78 00277CD8 4B FF 93 85 */ bl sub_802740fc +/* 8027AD7C 00277CDC 7F 63 DB 78 */ mr r3, r27 +/* 8027AD80 00277CE0 7F C4 F3 78 */ mr r4, r30 +/* 8027AD84 00277CE4 38 A0 00 00 */ li r5, 0 +/* 8027AD88 00277CE8 4B FF A8 25 */ bl sub_802755ac +/* 8027AD8C 00277CEC 7F 63 DB 78 */ mr r3, r27 +/* 8027AD90 00277CF0 7F C4 F3 78 */ mr r4, r30 +/* 8027AD94 00277CF4 4B FF 96 E9 */ bl sub_8027447c +/* 8027AD98 00277CF8 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) +/* 8027AD9C 00277CFC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8027ADA0 00277D00 D0 03 07 58 */ stfs f0, 0x758(r3) +/* 8027ADA4 00277D04 48 00 00 FC */ b lbl_8027AEA0 +/* 8027ADA8 00277D08 7F C5 F3 78 */ mr r5, r30 +/* 8027ADAC 00277D0C 38 80 00 30 */ li r4, 0x30 +/* 8027ADB0 00277D10 4B DD 91 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8027ADB4 00277D14 80 1B 00 04 */ lwz r0, 4(r27) +/* 8027ADB8 00277D18 7F 63 DB 78 */ mr r3, r27 +/* 8027ADBC 00277D1C 7F C4 F3 78 */ mr r4, r30 +/* 8027ADC0 00277D20 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8027ADC4 00277D24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027ADC8 00277D28 4B FF BF 69 */ bl sub_80276d30 +/* 8027ADCC 00277D2C 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 8027ADD0 00277D30 80 9B 00 04 */ lwz r4, 4(r27) +/* 8027ADD4 00277D34 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8027ADD8 00277D38 7C 04 00 00 */ cmpw r4, r0 +/* 8027ADDC 00277D3C 40 82 00 14 */ bne lbl_8027ADF0 +/* 8027ADE0 00277D40 7F 63 DB 78 */ mr r3, r27 +/* 8027ADE4 00277D44 7F C5 F3 78 */ mr r5, r30 +/* 8027ADE8 00277D48 38 80 00 07 */ li r4, 7 +/* 8027ADEC 00277D4C 4B FF B8 F9 */ bl sub_802766e4 +lbl_8027ADF0: +/* 8027ADF0 00277D50 80 7B 0F B0 */ lwz r3, 0xfb0(r27) +/* 8027ADF4 00277D54 28 03 00 00 */ cmplwi r3, 0 +/* 8027ADF8 00277D58 41 82 00 A8 */ beq lbl_8027AEA0 +/* 8027ADFC 00277D5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8027AE00 00277D60 38 80 00 00 */ li r4, 0 +/* 8027AE04 00277D64 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8027AE08 00277D68 7D 89 03 A6 */ mtctr r12 +/* 8027AE0C 00277D6C 4E 80 04 21 */ bctrl +/* 8027AE10 00277D70 48 00 00 90 */ b lbl_8027AEA0 +/* 8027AE14 00277D74 80 7B 05 6C */ lwz r3, 0x56c(r27) +/* 8027AE18 00277D78 7F C4 F3 78 */ mr r4, r30 +/* 8027AE1C 00277D7C 4B F2 C5 A9 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 8027AE20 00277D80 7F 63 DB 78 */ mr r3, r27 +/* 8027AE24 00277D84 7F C4 F3 78 */ mr r4, r30 +/* 8027AE28 00277D88 4B FF CD 4D */ bl sub_80277b74 +/* 8027AE2C 00277D8C 7F 63 DB 78 */ mr r3, r27 +/* 8027AE30 00277D90 7F C4 F3 78 */ mr r4, r30 +/* 8027AE34 00277D94 4B FF 92 99 */ bl sub_802740cc +/* 8027AE38 00277D98 7F 63 DB 78 */ mr r3, r27 +/* 8027AE3C 00277D9C 7F C4 F3 78 */ mr r4, r30 +/* 8027AE40 00277DA0 4B FF 96 0D */ bl sub_8027444c +/* 8027AE44 00277DA4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027AE48 00277DA8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8027AE4C 00277DAC D0 03 07 58 */ stfs f0, 0x758(r3) +/* 8027AE50 00277DB0 48 00 00 50 */ b lbl_8027AEA0 +/* 8027AE54 00277DB4 88 1B 14 44 */ lbz r0, 0x1444(r27) +/* 8027AE58 00277DB8 38 60 00 01 */ li r3, 1 +/* 8027AE5C 00277DBC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8027AE60 00277DC0 98 1B 14 44 */ stb r0, 0x1444(r27) +/* 8027AE64 00277DC4 48 00 00 3C */ b lbl_8027AEA0 +/* 8027AE68 00277DC8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AE6C 00277DCC 7F C5 F3 78 */ mr r5, r30 +/* 8027AE70 00277DD0 38 81 00 10 */ addi r4, r1, 0x10 +/* 8027AE74 00277DD4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027AE78 00277DD8 4B FF DE 51 */ bl sub_80278cc8 +/* 8027AE7C 00277DDC 48 00 00 24 */ b lbl_8027AEA0 +/* 8027AE80 00277DE0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AE84 00277DE4 7F C5 F3 78 */ mr r5, r30 +/* 8027AE88 00277DE8 38 81 00 0C */ addi r4, r1, 0xc +/* 8027AE8C 00277DEC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8027AE90 00277DF0 4B FF D3 ED */ bl sub_8027827c +/* 8027AE94 00277DF4 3B E0 00 01 */ li r31, 1 +/* 8027AE98 00277DF8 48 00 00 08 */ b lbl_8027AEA0 +/* 8027AE9C 00277DFC 3B E0 00 01 */ li r31, 1 +lbl_8027AEA0: +/* 8027AEA0 00277E00 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8027AEA4 00277E04 40 82 00 20 */ bne lbl_8027AEC4 +/* 8027AEA8 00277E08 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027AEAC 00277E0C 7F 63 DB 78 */ mr r3, r27 +/* 8027AEB0 00277E10 7F 84 E3 78 */ mr r4, r28 +/* 8027AEB4 00277E14 7F C6 F3 78 */ mr r6, r30 +/* 8027AEB8 00277E18 B0 01 00 08 */ sth r0, 8(r1) +/* 8027AEBC 00277E1C 38 A1 00 08 */ addi r5, r1, 8 +/* 8027AEC0 00277E20 4B E0 1C B9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_8027AEC4: +/* 8027AEC4 00277E24 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8027AEC8 00277E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8027AECC 00277E2C 7C 08 03 A6 */ mtlr r0 +/* 8027AED0 00277E30 38 21 00 30 */ addi r1, r1, 0x30 +/* 8027AED4 00277E34 4E 80 00 20 */ blr + +.global Accept__16CMetroidPrimeExoFR8IVisitor +Accept__16CMetroidPrimeExoFR8IVisitor: +/* 8027AED8 00277E38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027AEDC 00277E3C 7C 08 02 A6 */ mflr r0 +/* 8027AEE0 00277E40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027AEE4 00277E44 7C 60 1B 78 */ mr r0, r3 +/* 8027AEE8 00277E48 7C 83 23 78 */ mr r3, r4 +/* 8027AEEC 00277E4C 81 84 00 00 */ lwz r12, 0(r4) +/* 8027AEF0 00277E50 7C 04 03 78 */ mr r4, r0 +/* 8027AEF4 00277E54 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8027AEF8 00277E58 7D 89 03 A6 */ mtctr r12 +/* 8027AEFC 00277E5C 4E 80 04 21 */ bctrl +/* 8027AF00 00277E60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027AF04 00277E64 7C 08 03 A6 */ mtlr r0 +/* 8027AF08 00277E68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027AF0C 00277E6C 4E 80 00 20 */ blr + +.global __ct__16CMetroidPrimeExo +__ct__16CMetroidPrimeExo: +/* 8027AF10 00277E70 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 8027AF14 00277E74 7C 08 02 A6 */ mflr r0 +/* 8027AF18 00277E78 39 80 00 01 */ li r12, 1 +/* 8027AF1C 00277E7C 39 60 00 02 */ li r11, 2 +/* 8027AF20 00277E80 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 8027AF24 00277E84 BD C1 01 78 */ stmw r14, 0x178(r1) +/* 8027AF28 00277E88 7C CF 33 78 */ mr r15, r6 +/* 8027AF2C 00277E8C 7D 0E 43 78 */ mr r14, r8 +/* 8027AF30 00277E90 7C A6 2B 78 */ mr r6, r5 +/* 8027AF34 00277E94 7D E8 7B 78 */ mr r8, r15 +/* 8027AF38 00277E98 82 21 01 C8 */ lwz r17, 0x1c8(r1) +/* 8027AF3C 00277E9C 82 41 01 D8 */ lwz r18, 0x1d8(r1) +/* 8027AF40 00277EA0 7C 70 1B 78 */ mr r16, r3 +/* 8027AF44 00277EA4 82 61 01 DC */ lwz r19, 0x1dc(r1) +/* 8027AF48 00277EA8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027AF4C 00277EAC 82 81 01 E0 */ lwz r20, 0x1e0(r1) +/* 8027AF50 00277EB0 82 A1 01 E4 */ lwz r21, 0x1e4(r1) +/* 8027AF54 00277EB4 82 C1 01 E8 */ lwz r22, 0x1e8(r1) +/* 8027AF58 00277EB8 82 E1 01 EC */ lwz r23, 0x1ec(r1) +/* 8027AF5C 00277EBC 83 01 01 F0 */ lwz r24, 0x1f0(r1) +/* 8027AF60 00277EC0 83 21 01 F4 */ lwz r25, 0x1f4(r1) +/* 8027AF64 00277EC4 83 41 01 F8 */ lwz r26, 0x1f8(r1) +/* 8027AF68 00277EC8 83 61 01 FC */ lwz r27, 0x1fc(r1) +/* 8027AF6C 00277ECC 83 81 02 00 */ lwz r28, 0x200(r1) +/* 8027AF70 00277ED0 83 A1 02 04 */ lwz r29, 0x204(r1) +/* 8027AF74 00277ED4 83 C1 02 08 */ lwz r30, 0x208(r1) +/* 8027AF78 00277ED8 83 E1 02 0C */ lwz r31, 0x20c(r1) +/* 8027AF7C 00277EDC 81 E1 02 18 */ lwz r15, 0x218(r1) +/* 8027AF80 00277EE0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8027AF84 00277EE4 38 80 00 03 */ li r4, 3 +/* 8027AF88 00277EE8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8027AF8C 00277EEC 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 8027AF90 00277EF0 91 21 00 08 */ stw r9, 8(r1) +/* 8027AF94 00277EF4 7C E9 3B 78 */ mr r9, r7 +/* 8027AF98 00277EF8 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 8027AF9C 00277EFC 38 E0 00 00 */ li r7, 0 +/* 8027AFA0 00277F00 91 81 00 0C */ stw r12, 0xc(r1) +/* 8027AFA4 00277F04 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 8027AFA8 00277F08 91 81 00 10 */ stw r12, 0x10(r1) +/* 8027AFAC 00277F0C 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8027AFB0 00277F10 90 81 00 14 */ stw r4, 0x14(r1) +/* 8027AFB4 00277F14 38 80 00 15 */ li r4, 0x15 +/* 8027AFB8 00277F18 91 41 00 18 */ stw r10, 0x18(r1) +/* 8027AFBC 00277F1C 7D CA 73 78 */ mr r10, r14 +/* 8027AFC0 00277F20 81 C1 02 10 */ lwz r14, 0x210(r1) +/* 8027AFC4 00277F24 91 61 00 1C */ stw r11, 0x1c(r1) +/* 8027AFC8 00277F28 4B E0 24 89 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8027AFCC 00277F2C 3C 60 80 3F */ lis r3, lbl_803EAD54@ha +/* 8027AFD0 00277F30 38 A0 00 00 */ li r5, 0 +/* 8027AFD4 00277F34 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l +/* 8027AFD8 00277F38 38 90 05 8C */ addi r4, r16, 0x58c +/* 8027AFDC 00277F3C 90 10 00 00 */ stw r0, 0(r16) +/* 8027AFE0 00277F40 38 00 00 01 */ li r0, 1 +/* 8027AFE4 00277F44 38 6F 00 04 */ addi r3, r15, 4 +/* 8027AFE8 00277F48 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) +/* 8027AFEC 00277F4C B0 D0 05 68 */ sth r6, 0x568(r16) +/* 8027AFF0 00277F50 90 B0 05 6C */ stw r5, 0x56c(r16) +/* 8027AFF4 00277F54 90 10 05 70 */ stw r0, 0x570(r16) +/* 8027AFF8 00277F58 90 10 05 74 */ stw r0, 0x574(r16) +/* 8027AFFC 00277F5C 90 B0 05 78 */ stw r5, 0x578(r16) +/* 8027B000 00277F60 90 B0 05 7C */ stw r5, 0x57c(r16) +/* 8027B004 00277F64 90 B0 05 80 */ stw r5, 0x580(r16) +/* 8027B008 00277F68 98 B0 05 84 */ stb r5, 0x584(r16) +/* 8027B00C 00277F6C 80 0F 00 00 */ lwz r0, 0(r15) +/* 8027B010 00277F70 90 10 05 88 */ stw r0, 0x588(r16) +/* 8027B014 00277F74 80 10 05 88 */ lwz r0, 0x588(r16) +/* 8027B018 00277F78 7C 09 03 A6 */ mtctr r0 +/* 8027B01C 00277F7C 2C 00 00 00 */ cmpwi r0, 0 +/* 8027B020 00277F80 40 81 01 08 */ ble lbl_8027B128 +lbl_8027B024: +/* 8027B024 00277F84 28 04 00 00 */ cmplwi r4, 0 +/* 8027B028 00277F88 41 82 00 F4 */ beq lbl_8027B11C +/* 8027B02C 00277F8C 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B030 00277F90 90 04 00 00 */ stw r0, 0(r4) +/* 8027B034 00277F94 80 A3 00 04 */ lwz r5, 4(r3) +/* 8027B038 00277F98 80 03 00 08 */ lwz r0, 8(r3) +/* 8027B03C 00277F9C 90 A4 00 04 */ stw r5, 4(r4) +/* 8027B040 00277FA0 90 04 00 08 */ stw r0, 8(r4) +/* 8027B044 00277FA4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8027B048 00277FA8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8027B04C 00277FAC 90 A4 00 0C */ stw r5, 0xc(r4) +/* 8027B050 00277FB0 90 04 00 10 */ stw r0, 0x10(r4) +/* 8027B054 00277FB4 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8027B058 00277FB8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8027B05C 00277FBC 90 A4 00 14 */ stw r5, 0x14(r4) +/* 8027B060 00277FC0 90 04 00 18 */ stw r0, 0x18(r4) +/* 8027B064 00277FC4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 8027B068 00277FC8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 8027B06C 00277FCC 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 8027B070 00277FD0 90 04 00 20 */ stw r0, 0x20(r4) +/* 8027B074 00277FD4 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 8027B078 00277FD8 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8027B07C 00277FDC 90 A4 00 24 */ stw r5, 0x24(r4) +/* 8027B080 00277FE0 90 04 00 28 */ stw r0, 0x28(r4) +/* 8027B084 00277FE4 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 8027B088 00277FE8 80 03 00 30 */ lwz r0, 0x30(r3) +/* 8027B08C 00277FEC 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 8027B090 00277FF0 90 04 00 30 */ stw r0, 0x30(r4) +/* 8027B094 00277FF4 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 8027B098 00277FF8 80 03 00 38 */ lwz r0, 0x38(r3) +/* 8027B09C 00277FFC 90 A4 00 34 */ stw r5, 0x34(r4) +/* 8027B0A0 00278000 90 04 00 38 */ stw r0, 0x38(r4) +/* 8027B0A4 00278004 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8027B0A8 00278008 90 04 00 3C */ stw r0, 0x3c(r4) +/* 8027B0AC 0027800C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 8027B0B0 00278010 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8027B0B4 00278014 90 A4 00 40 */ stw r5, 0x40(r4) +/* 8027B0B8 00278018 90 04 00 44 */ stw r0, 0x44(r4) +/* 8027B0BC 0027801C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 8027B0C0 00278020 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 8027B0C4 00278024 90 A4 00 48 */ stw r5, 0x48(r4) +/* 8027B0C8 00278028 90 04 00 4C */ stw r0, 0x4c(r4) +/* 8027B0CC 0027802C 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 8027B0D0 00278030 80 03 00 54 */ lwz r0, 0x54(r3) +/* 8027B0D4 00278034 90 A4 00 50 */ stw r5, 0x50(r4) +/* 8027B0D8 00278038 90 04 00 54 */ stw r0, 0x54(r4) +/* 8027B0DC 0027803C 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 8027B0E0 00278040 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 8027B0E4 00278044 90 A4 00 58 */ stw r5, 0x58(r4) +/* 8027B0E8 00278048 90 04 00 5C */ stw r0, 0x5c(r4) +/* 8027B0EC 0027804C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 8027B0F0 00278050 90 04 00 60 */ stw r0, 0x60(r4) +/* 8027B0F4 00278054 80 03 00 64 */ lwz r0, 0x64(r3) +/* 8027B0F8 00278058 90 04 00 64 */ stw r0, 0x64(r4) +/* 8027B0FC 0027805C 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8027B100 00278060 90 04 00 68 */ stw r0, 0x68(r4) +/* 8027B104 00278064 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 8027B108 00278068 90 04 00 6C */ stw r0, 0x6c(r4) +/* 8027B10C 0027806C 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 8027B110 00278070 80 03 00 74 */ lwz r0, 0x74(r3) +/* 8027B114 00278074 90 A4 00 70 */ stw r5, 0x70(r4) +/* 8027B118 00278078 90 04 00 74 */ stw r0, 0x74(r4) +lbl_8027B11C: +/* 8027B11C 0027807C 38 84 00 78 */ addi r4, r4, 0x78 +/* 8027B120 00278080 38 63 00 78 */ addi r3, r3, 0x78 +/* 8027B124 00278084 42 00 FF 00 */ bdnz lbl_8027B024 +lbl_8027B128: +/* 8027B128 00278088 38 00 00 00 */ li r0, 0 +/* 8027B12C 0027808C C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) +/* 8027B130 00278090 90 10 07 6C */ stw r0, 0x76c(r16) +/* 8027B134 00278094 38 00 00 03 */ li r0, 3 +/* 8027B138 00278098 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B13C 0027809C D0 30 08 C0 */ stfs f1, 0x8c0(r16) +/* 8027B140 002780A0 D0 10 08 C4 */ stfs f0, 0x8c4(r16) +/* 8027B144 002780A4 D0 10 08 C8 */ stfs f0, 0x8c8(r16) +/* 8027B148 002780A8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8027B14C 002780AC B0 70 08 CC */ sth r3, 0x8cc(r16) +/* 8027B150 002780B0 90 10 08 D0 */ stw r0, 0x8d0(r16) +/* 8027B154 002780B4 90 10 08 D4 */ stw r0, 0x8d4(r16) +/* 8027B158 002780B8 48 0C EE 5D */ bl Black__6CColorFv +/* 8027B15C 002780BC 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B160 002780C0 90 10 08 D8 */ stw r0, 0x8d8(r16) +/* 8027B164 002780C4 48 0C EE 51 */ bl Black__6CColorFv +/* 8027B168 002780C8 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B16C 002780CC 90 10 08 DC */ stw r0, 0x8dc(r16) +/* 8027B170 002780D0 48 0C EE 45 */ bl Black__6CColorFv +/* 8027B174 002780D4 80 03 00 00 */ lwz r0, 0(r3) +/* 8027B178 002780D8 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027B17C 002780DC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B180 002780E0 90 10 08 E0 */ stw r0, 0x8e0(r16) +/* 8027B184 002780E4 80 82 BB F0 */ lwz r4, lbl_805AD910@sda21(r2) +/* 8027B188 002780E8 D0 10 08 E4 */ stfs f0, 0x8e4(r16) +/* 8027B18C 002780EC 4B D8 9B 2D */ bl string_l__4rstlFPCc +/* 8027B190 002780F0 80 70 00 64 */ lwz r3, 0x64(r16) +/* 8027B194 002780F4 38 81 01 14 */ addi r4, r1, 0x114 +/* 8027B198 002780F8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8027B19C 002780FC 38 63 00 0C */ addi r3, r3, 0xc +/* 8027B1A0 00278100 48 06 26 FD */ bl sub_802dd89c +/* 8027B1A4 00278104 90 70 08 E8 */ stw r3, 0x8e8(r16) +/* 8027B1A8 00278108 38 61 01 14 */ addi r3, r1, 0x114 +/* 8027B1AC 0027810C 48 0C 29 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027B1B0 00278110 C0 62 BC 08 */ lfs f3, lbl_805AD928@sda21(r2) +/* 8027B1B4 00278114 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8027B1B8 00278118 39 E4 66 A0 */ addi r15, r4, skZero3f@l +/* 8027B1BC 0027811C 38 00 00 00 */ li r0, 0 +/* 8027B1C0 00278120 D0 70 08 EC */ stfs f3, 0x8ec(r16) +/* 8027B1C4 00278124 38 A0 FF FF */ li r5, -1 +/* 8027B1C8 00278128 C0 22 BC 40 */ lfs f1, lbl_805AD960@sda21(r2) +/* 8027B1CC 0027812C 34 70 0B 28 */ addic. r3, r16, 0xb28 +/* 8027B1D0 00278130 D0 70 08 F0 */ stfs f3, 0x8f0(r16) +/* 8027B1D4 00278134 38 80 00 04 */ li r4, 4 +/* 8027B1D8 00278138 C0 02 BC F8 */ lfs f0, lbl_805ADA18@sda21(r2) +/* 8027B1DC 0027813C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1E0 00278140 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8027B1E4 00278144 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B1E8 00278148 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1EC 0027814C 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 +/* 8027B1F0 00278150 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B1F4 00278154 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B1F8 00278158 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 8027B1FC 0027815C 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B200 00278160 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B204 00278164 50 06 26 F6 */ rlwimi r6, r0, 4, 0x1b, 0x1b +/* 8027B208 00278168 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B20C 0027816C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) +/* 8027B210 00278170 50 06 1F 38 */ rlwimi r6, r0, 3, 0x1c, 0x1c +/* 8027B214 00278174 98 D0 08 F4 */ stb r6, 0x8f4(r16) +/* 8027B218 00278178 C0 4F 00 00 */ lfs f2, 0(r15) +/* 8027B21C 0027817C D0 50 08 F8 */ stfs f2, 0x8f8(r16) +/* 8027B220 00278180 C0 4F 00 04 */ lfs f2, 4(r15) +/* 8027B224 00278184 D0 50 08 FC */ stfs f2, 0x8fc(r16) +/* 8027B228 00278188 C0 4F 00 08 */ lfs f2, 8(r15) +/* 8027B22C 0027818C D0 50 09 00 */ stfs f2, 0x900(r16) +/* 8027B230 00278190 C0 4F 00 00 */ lfs f2, 0(r15) +/* 8027B234 00278194 D0 50 09 04 */ stfs f2, 0x904(r16) +/* 8027B238 00278198 C0 4F 00 04 */ lfs f2, 4(r15) +/* 8027B23C 0027819C D0 50 09 08 */ stfs f2, 0x908(r16) +/* 8027B240 002781A0 C0 4F 00 08 */ lfs f2, 8(r15) +/* 8027B244 002781A4 D0 50 09 0C */ stfs f2, 0x90c(r16) +/* 8027B248 002781A8 D0 30 09 10 */ stfs f1, 0x910(r16) +/* 8027B24C 002781AC 88 D0 09 14 */ lbz r6, 0x914(r16) +/* 8027B250 002781B0 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 8027B254 002781B4 98 D0 09 14 */ stb r6, 0x914(r16) +/* 8027B258 002781B8 90 B0 09 18 */ stw r5, 0x918(r16) +/* 8027B25C 002781BC 92 30 09 1C */ stw r17, 0x91c(r16) +/* 8027B260 002781C0 D0 70 09 20 */ stfs f3, 0x920(r16) +/* 8027B264 002781C4 D0 10 09 24 */ stfs f0, 0x924(r16) +/* 8027B268 002781C8 D0 30 09 28 */ stfs f1, 0x928(r16) +/* 8027B26C 002781CC 90 10 09 2C */ stw r0, 0x92c(r16) +/* 8027B270 002781D0 80 B2 00 00 */ lwz r5, 0(r18) +/* 8027B274 002781D4 90 B0 09 30 */ stw r5, 0x930(r16) +/* 8027B278 002781D8 80 B2 00 04 */ lwz r5, 4(r18) +/* 8027B27C 002781DC 90 B0 09 34 */ stw r5, 0x934(r16) +/* 8027B280 002781E0 80 B2 00 08 */ lwz r5, 8(r18) +/* 8027B284 002781E4 90 B0 09 38 */ stw r5, 0x938(r16) +/* 8027B288 002781E8 80 B2 00 0C */ lwz r5, 0xc(r18) +/* 8027B28C 002781EC 90 B0 09 3C */ stw r5, 0x93c(r16) +/* 8027B290 002781F0 80 B2 00 10 */ lwz r5, 0x10(r18) +/* 8027B294 002781F4 90 B0 09 40 */ stw r5, 0x940(r16) +/* 8027B298 002781F8 88 B2 00 14 */ lbz r5, 0x14(r18) +/* 8027B29C 002781FC 98 B0 09 44 */ stb r5, 0x944(r16) +/* 8027B2A0 00278200 C0 12 00 18 */ lfs f0, 0x18(r18) +/* 8027B2A4 00278204 D0 10 09 48 */ stfs f0, 0x948(r16) +/* 8027B2A8 00278208 C0 12 00 1C */ lfs f0, 0x1c(r18) +/* 8027B2AC 0027820C D0 10 09 4C */ stfs f0, 0x94c(r16) +/* 8027B2B0 00278210 C0 12 00 20 */ lfs f0, 0x20(r18) +/* 8027B2B4 00278214 D0 10 09 50 */ stfs f0, 0x950(r16) +/* 8027B2B8 00278218 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8027B2BC 0027821C D0 10 09 54 */ stfs f0, 0x954(r16) +/* 8027B2C0 00278220 88 B2 00 28 */ lbz r5, 0x28(r18) +/* 8027B2C4 00278224 98 B0 09 58 */ stb r5, 0x958(r16) +/* 8027B2C8 00278228 C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8027B2CC 0027822C D0 10 09 5C */ stfs f0, 0x95c(r16) +/* 8027B2D0 00278230 C0 12 00 30 */ lfs f0, 0x30(r18) +/* 8027B2D4 00278234 D0 10 09 60 */ stfs f0, 0x960(r16) +/* 8027B2D8 00278238 80 B2 00 34 */ lwz r5, 0x34(r18) +/* 8027B2DC 0027823C 90 B0 09 64 */ stw r5, 0x964(r16) +/* 8027B2E0 00278240 A0 B2 00 38 */ lhz r5, 0x38(r18) +/* 8027B2E4 00278244 B0 B0 09 68 */ sth r5, 0x968(r16) +/* 8027B2E8 00278248 A0 B2 00 3A */ lhz r5, 0x3a(r18) +/* 8027B2EC 0027824C B0 B0 09 6A */ sth r5, 0x96a(r16) +/* 8027B2F0 00278250 90 10 09 6C */ stw r0, 0x96c(r16) +/* 8027B2F4 00278254 90 10 0A 80 */ stw r0, 0xa80(r16) +/* 8027B2F8 00278258 90 90 0B 24 */ stw r4, 0xb24(r16) +/* 8027B2FC 0027825C 41 82 00 0C */ beq lbl_8027B308 +/* 8027B300 00278260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B304 00278264 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B308: +/* 8027B308 00278268 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B30C 0027826C 41 82 00 0C */ beq lbl_8027B318 +/* 8027B310 00278270 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B314 00278274 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B318: +/* 8027B318 00278278 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B31C 0027827C 41 82 00 0C */ beq lbl_8027B328 +/* 8027B320 00278280 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B324 00278284 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B328: +/* 8027B328 00278288 34 63 00 02 */ addic. r3, r3, 2 +/* 8027B32C 0027828C 41 82 00 0C */ beq lbl_8027B338 +/* 8027B330 00278290 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027B334 00278294 B0 03 00 00 */ sth r0, 0(r3) +lbl_8027B338: +/* 8027B338 00278298 38 80 00 00 */ li r4, 0 +/* 8027B33C 0027829C 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027B340 002782A0 90 90 0B 30 */ stw r4, 0xb30(r16) +/* 8027B344 002782A4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027B348 002782A8 38 61 01 04 */ addi r3, r1, 0x104 +/* 8027B34C 002782AC 38 A1 01 0C */ addi r5, r1, 0x10c +/* 8027B350 002782B0 90 90 0B C4 */ stw r4, 0xbc4(r16) +/* 8027B354 002782B4 90 01 01 0C */ stw r0, 0x10c(r1) +/* 8027B358 002782B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B35C 002782BC 92 61 01 10 */ stw r19, 0x110(r1) +/* 8027B360 002782C0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B364 002782C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B368 002782C8 7D 89 03 A6 */ mtctr r12 +/* 8027B36C 002782CC 4E 80 04 21 */ bctrl +/* 8027B370 002782D0 38 70 0C 48 */ addi r3, r16, 0xc48 +/* 8027B374 002782D4 38 81 01 04 */ addi r4, r1, 0x104 +/* 8027B378 002782D8 48 0C 5B 31 */ bl __ct__6CTokenFRC6CToken +/* 8027B37C 002782DC 38 61 01 04 */ addi r3, r1, 0x104 +/* 8027B380 002782E0 38 80 FF FF */ li r4, -1 +/* 8027B384 002782E4 48 0C 5A BD */ bl __dt__6CTokenFv +/* 8027B388 002782E8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B38C 002782EC 3A 40 00 00 */ li r18, 0 +/* 8027B390 002782F0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B394 002782F4 38 60 03 40 */ li r3, 0x340 +/* 8027B398 002782F8 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B39C 002782FC 38 A0 00 00 */ li r5, 0 +/* 8027B3A0 00278300 48 09 A4 CD */ bl __nw__FUlPCcPCc +/* 8027B3A4 00278304 7C 71 1B 79 */ or. r17, r3, r3 +/* 8027B3A8 00278308 41 82 00 2C */ beq lbl_8027B3D4 +/* 8027B3AC 0027830C 38 61 00 FC */ addi r3, r1, 0xfc +/* 8027B3B0 00278310 38 90 0C 48 */ addi r4, r16, 0xc48 +/* 8027B3B4 00278314 48 0C 5A F5 */ bl __ct__6CTokenFRC6CToken +/* 8027B3B8 00278318 7E 23 8B 78 */ mr r3, r17 +/* 8027B3BC 0027831C 38 81 00 FC */ addi r4, r1, 0xfc +/* 8027B3C0 00278320 3A 40 00 01 */ li r18, 1 +/* 8027B3C4 00278324 38 A0 00 00 */ li r5, 0 +/* 8027B3C8 00278328 38 C0 00 01 */ li r6, 1 +/* 8027B3CC 0027832C 48 0A 40 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027B3D0 00278330 7C 71 1B 78 */ mr r17, r3 +lbl_8027B3D4: +/* 8027B3D4 00278334 7C 71 00 D0 */ neg r3, r17 +/* 8027B3D8 00278338 7E 40 07 75 */ extsb. r0, r18 +/* 8027B3DC 0027833C 7C 60 8B 78 */ or r0, r3, r17 +/* 8027B3E0 00278340 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B3E4 00278344 98 10 0C 50 */ stb r0, 0xc50(r16) +/* 8027B3E8 00278348 92 30 0C 54 */ stw r17, 0xc54(r16) +/* 8027B3EC 0027834C 41 82 00 10 */ beq lbl_8027B3FC +/* 8027B3F0 00278350 38 61 00 FC */ addi r3, r1, 0xfc +/* 8027B3F4 00278354 38 80 00 00 */ li r4, 0 +/* 8027B3F8 00278358 48 0C 5A 49 */ bl __dt__6CTokenFv +lbl_8027B3FC: +/* 8027B3FC 0027835C 38 00 FF FF */ li r0, -1 +/* 8027B400 00278360 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027B404 00278364 90 10 0C 58 */ stw r0, 0xc58(r16) +/* 8027B408 00278368 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8027B40C 0027836C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B410 00278370 7E A4 AB 78 */ mr r4, r21 +/* 8027B414 00278374 7E C5 B3 78 */ mr r5, r22 +/* 8027B418 00278378 38 70 0C 78 */ addi r3, r16, 0xc78 +/* 8027B41C 0027837C D0 10 0C 5C */ stfs f0, 0xc5c(r16) +/* 8027B420 00278380 C0 06 00 00 */ lfs f0, 0(r6) +/* 8027B424 00278384 D0 10 0C 60 */ stfs f0, 0xc60(r16) +/* 8027B428 00278388 C0 0F 00 04 */ lfs f0, 4(r15) +/* 8027B42C 0027838C D0 10 0C 64 */ stfs f0, 0xc64(r16) +/* 8027B430 00278390 C0 0F 00 08 */ lfs f0, 8(r15) +/* 8027B434 00278394 D0 10 0C 68 */ stfs f0, 0xc68(r16) +/* 8027B438 00278398 C0 06 00 00 */ lfs f0, 0(r6) +/* 8027B43C 0027839C D0 10 0C 6C */ stfs f0, 0xc6c(r16) +/* 8027B440 002783A0 C0 0F 00 04 */ lfs f0, 4(r15) +/* 8027B444 002783A4 D0 10 0C 70 */ stfs f0, 0xc70(r16) +/* 8027B448 002783A8 C0 0F 00 08 */ lfs f0, 8(r15) +/* 8027B44C 002783AC D0 10 0C 74 */ stfs f0, 0xc74(r16) +/* 8027B450 002783B0 4B FA 0C 59 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B454 002783B4 7E E4 BB 78 */ mr r4, r23 +/* 8027B458 002783B8 38 70 0C A0 */ addi r3, r16, 0xca0 +/* 8027B45C 002783BC 4B D8 F9 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B460 002783C0 7F 04 C3 78 */ mr r4, r24 +/* 8027B464 002783C4 7F 25 CB 78 */ mr r5, r25 +/* 8027B468 002783C8 38 70 0D 74 */ addi r3, r16, 0xd74 +/* 8027B46C 002783CC 4B FA 0C 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B470 002783D0 7F 44 D3 78 */ mr r4, r26 +/* 8027B474 002783D4 38 70 0D 9C */ addi r3, r16, 0xd9c +/* 8027B478 002783D8 4B D8 F9 31 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B47C 002783DC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8027B480 002783E0 38 70 0E 74 */ addi r3, r16, 0xe74 +/* 8027B484 002783E4 38 9B 00 04 */ addi r4, r27, 4 +/* 8027B488 002783E8 90 10 0E 70 */ stw r0, 0xe70(r16) +/* 8027B48C 002783EC 48 0C 5A 1D */ bl __ct__6CTokenFRC6CToken +/* 8027B490 002783F0 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 8027B494 002783F4 38 00 00 00 */ li r0, 0 +/* 8027B498 002783F8 7F A4 EB 78 */ mr r4, r29 +/* 8027B49C 002783FC 38 70 0E D0 */ addi r3, r16, 0xed0 +/* 8027B4A0 00278400 90 B0 0E 7C */ stw r5, 0xe7c(r16) +/* 8027B4A4 00278404 88 BB 00 10 */ lbz r5, 0x10(r27) +/* 8027B4A8 00278408 98 B0 0E 80 */ stb r5, 0xe80(r16) +/* 8027B4AC 0027840C C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8027B4B0 00278410 D0 10 0E 84 */ stfs f0, 0xe84(r16) +/* 8027B4B4 00278414 C0 1B 00 18 */ lfs f0, 0x18(r27) +/* 8027B4B8 00278418 D0 10 0E 88 */ stfs f0, 0xe88(r16) +/* 8027B4BC 0027841C C0 1B 00 1C */ lfs f0, 0x1c(r27) +/* 8027B4C0 00278420 D0 10 0E 8C */ stfs f0, 0xe8c(r16) +/* 8027B4C4 00278424 C0 1B 00 20 */ lfs f0, 0x20(r27) +/* 8027B4C8 00278428 D0 10 0E 90 */ stfs f0, 0xe90(r16) +/* 8027B4CC 0027842C 88 BB 00 24 */ lbz r5, 0x24(r27) +/* 8027B4D0 00278430 98 B0 0E 94 */ stb r5, 0xe94(r16) +/* 8027B4D4 00278434 C0 1B 00 28 */ lfs f0, 0x28(r27) +/* 8027B4D8 00278438 D0 10 0E 98 */ stfs f0, 0xe98(r16) +/* 8027B4DC 0027843C C0 1B 00 2C */ lfs f0, 0x2c(r27) +/* 8027B4E0 00278440 D0 10 0E 9C */ stfs f0, 0xe9c(r16) +/* 8027B4E4 00278444 C0 1B 00 30 */ lfs f0, 0x30(r27) +/* 8027B4E8 00278448 D0 10 0E A0 */ stfs f0, 0xea0(r16) +/* 8027B4EC 0027844C 80 BB 00 34 */ lwz r5, 0x34(r27) +/* 8027B4F0 00278450 90 B0 0E A4 */ stw r5, 0xea4(r16) +/* 8027B4F4 00278454 88 BB 00 38 */ lbz r5, 0x38(r27) +/* 8027B4F8 00278458 98 B0 0E A8 */ stb r5, 0xea8(r16) +/* 8027B4FC 0027845C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B500 00278460 B0 B0 0E AC */ sth r5, 0xeac(r16) +/* 8027B504 00278464 90 10 0E B0 */ stw r0, 0xeb0(r16) +/* 8027B508 00278468 80 1C 00 00 */ lwz r0, 0(r28) +/* 8027B50C 0027846C 90 10 0E B4 */ stw r0, 0xeb4(r16) +/* 8027B510 00278470 88 1C 00 04 */ lbz r0, 4(r28) +/* 8027B514 00278474 98 10 0E B8 */ stb r0, 0xeb8(r16) +/* 8027B518 00278478 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8027B51C 0027847C D0 10 0E BC */ stfs f0, 0xebc(r16) +/* 8027B520 00278480 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8027B524 00278484 D0 10 0E C0 */ stfs f0, 0xec0(r16) +/* 8027B528 00278488 C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 8027B52C 0027848C D0 10 0E C4 */ stfs f0, 0xec4(r16) +/* 8027B530 00278490 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8027B534 00278494 D0 10 0E C8 */ stfs f0, 0xec8(r16) +/* 8027B538 00278498 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 8027B53C 0027849C 98 10 0E CC */ stb r0, 0xecc(r16) +/* 8027B540 002784A0 4B D8 F8 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B544 002784A4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8027B548 002784A8 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027B54C 002784AC 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 8027B550 002784B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8027B554 002784B4 38 84 02 39 */ addi r4, r4, 0x239 +/* 8027B558 002784B8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8027B55C 002784BC 7D 89 03 A6 */ mtctr r12 +/* 8027B560 002784C0 4E 80 04 21 */ bctrl +/* 8027B564 002784C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B568 002784C8 7C 65 1B 78 */ mr r5, r3 +/* 8027B56C 002784CC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8027B570 002784D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B574 002784D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B578 002784D8 7D 89 03 A6 */ mtctr r12 +/* 8027B57C 002784DC 4E 80 04 21 */ bctrl +/* 8027B580 002784E0 38 70 0F A4 */ addi r3, r16, 0xfa4 +/* 8027B584 002784E4 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 8027B588 002784E8 48 0C 59 21 */ bl __ct__6CTokenFRC6CToken +/* 8027B58C 002784EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8027B590 002784F0 38 80 FF FF */ li r4, -1 +/* 8027B594 002784F4 48 0C 58 AD */ bl __dt__6CTokenFv +/* 8027B598 002784F8 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B59C 002784FC 3A 20 00 00 */ li r17, 0 +/* 8027B5A0 00278500 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B5A4 00278504 38 60 04 58 */ li r3, 0x458 +/* 8027B5A8 00278508 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B5AC 0027850C 38 A0 00 00 */ li r5, 0 +/* 8027B5B0 00278510 48 09 A2 BD */ bl __nw__FUlPCcPCc +/* 8027B5B4 00278514 7C 6F 1B 79 */ or. r15, r3, r3 +/* 8027B5B8 00278518 41 82 00 24 */ beq lbl_8027B5DC +/* 8027B5BC 0027851C 38 61 00 EC */ addi r3, r1, 0xec +/* 8027B5C0 00278520 38 90 0F A4 */ addi r4, r16, 0xfa4 +/* 8027B5C4 00278524 48 0C 58 E5 */ bl __ct__6CTokenFRC6CToken +/* 8027B5C8 00278528 7D E3 7B 78 */ mr r3, r15 +/* 8027B5CC 0027852C 38 81 00 EC */ addi r4, r1, 0xec +/* 8027B5D0 00278530 3A 20 00 01 */ li r17, 1 +/* 8027B5D4 00278534 48 0E 6B 9D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8027B5D8 00278538 7C 6F 1B 78 */ mr r15, r3 +lbl_8027B5DC: +/* 8027B5DC 0027853C 7C 6F 00 D0 */ neg r3, r15 +/* 8027B5E0 00278540 7E 20 07 75 */ extsb. r0, r17 +/* 8027B5E4 00278544 7C 60 7B 78 */ or r0, r3, r15 +/* 8027B5E8 00278548 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B5EC 0027854C 98 10 0F AC */ stb r0, 0xfac(r16) +/* 8027B5F0 00278550 91 F0 0F B0 */ stw r15, 0xfb0(r16) +/* 8027B5F4 00278554 41 82 00 10 */ beq lbl_8027B604 +/* 8027B5F8 00278558 38 61 00 EC */ addi r3, r1, 0xec +/* 8027B5FC 0027855C 38 80 00 00 */ li r4, 0 +/* 8027B600 00278560 48 0C 58 41 */ bl __dt__6CTokenFv +lbl_8027B604: +/* 8027B604 00278564 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) +/* 8027B608 00278568 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8027B60C 0027856C 38 C0 00 00 */ li r6, 0 +/* 8027B610 00278570 38 61 00 DC */ addi r3, r1, 0xdc +/* 8027B614 00278574 D0 10 0F B4 */ stfs f0, 0xfb4(r16) +/* 8027B618 00278578 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 8027B61C 0027857C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 8027B620 00278580 D0 10 0F B8 */ stfs f0, 0xfb8(r16) +/* 8027B624 00278584 90 D0 0F BC */ stw r6, 0xfbc(r16) +/* 8027B628 00278588 98 D0 0F C0 */ stb r6, 0xfc0(r16) +/* 8027B62C 0027858C 98 D0 0F C1 */ stb r6, 0xfc1(r16) +/* 8027B630 00278590 90 D0 0F C4 */ stw r6, 0xfc4(r16) +/* 8027B634 00278594 90 D0 0F D8 */ stw r6, 0xfd8(r16) +/* 8027B638 00278598 90 D0 0F EC */ stw r6, 0xfec(r16) +/* 8027B63C 0027859C 90 D0 10 00 */ stw r6, 0x1000(r16) +/* 8027B640 002785A0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8027B644 002785A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B648 002785A8 91 C1 00 E8 */ stw r14, 0xe8(r1) +/* 8027B64C 002785AC 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B650 002785B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B654 002785B4 7D 89 03 A6 */ mtctr r12 +/* 8027B658 002785B8 4E 80 04 21 */ bctrl +/* 8027B65C 002785BC 38 70 10 14 */ addi r3, r16, 0x1014 +/* 8027B660 002785C0 38 81 00 DC */ addi r4, r1, 0xdc +/* 8027B664 002785C4 48 0C 58 45 */ bl __ct__6CTokenFRC6CToken +/* 8027B668 002785C8 38 61 00 DC */ addi r3, r1, 0xdc +/* 8027B66C 002785CC 38 80 FF FF */ li r4, -1 +/* 8027B670 002785D0 48 0C 57 D1 */ bl __dt__6CTokenFv +/* 8027B674 002785D4 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8027B678 002785D8 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027B67C 002785DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027B680 002785E0 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 8027B684 002785E4 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8027B688 002785E8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027B68C 002785EC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8027B690 002785F0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8027B694 002785F4 81 84 00 00 */ lwz r12, 0(r4) +/* 8027B698 002785F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027B69C 002785FC 7D 89 03 A6 */ mtctr r12 +/* 8027B6A0 00278600 4E 80 04 21 */ bctrl +/* 8027B6A4 00278604 38 70 10 1C */ addi r3, r16, 0x101c +/* 8027B6A8 00278608 38 81 00 CC */ addi r4, r1, 0xcc +/* 8027B6AC 0027860C 48 0C 57 FD */ bl __ct__6CTokenFRC6CToken +/* 8027B6B0 00278610 38 61 00 CC */ addi r3, r1, 0xcc +/* 8027B6B4 00278614 38 80 FF FF */ li r4, -1 +/* 8027B6B8 00278618 48 0C 57 89 */ bl __dt__6CTokenFv +/* 8027B6BC 0027861C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027B6C0 00278620 39 E0 00 00 */ li r15, 0 +/* 8027B6C4 00278624 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027B6C8 00278628 38 60 03 40 */ li r3, 0x340 +/* 8027B6CC 0027862C 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B6D0 00278630 38 A0 00 00 */ li r5, 0 +/* 8027B6D4 00278634 48 09 A1 99 */ bl __nw__FUlPCcPCc +/* 8027B6D8 00278638 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027B6DC 0027863C 41 82 00 2C */ beq lbl_8027B708 +/* 8027B6E0 00278640 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027B6E4 00278644 38 90 10 14 */ addi r4, r16, 0x1014 +/* 8027B6E8 00278648 48 0C 57 C1 */ bl __ct__6CTokenFRC6CToken +/* 8027B6EC 0027864C 7D C3 73 78 */ mr r3, r14 +/* 8027B6F0 00278650 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 8027B6F4 00278654 39 E0 00 01 */ li r15, 1 +/* 8027B6F8 00278658 38 A0 00 00 */ li r5, 0 +/* 8027B6FC 0027865C 38 C0 00 01 */ li r6, 1 +/* 8027B700 00278660 48 0A 3C E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027B704 00278664 7C 6E 1B 78 */ mr r14, r3 +lbl_8027B708: +/* 8027B708 00278668 7C 6E 00 D0 */ neg r3, r14 +/* 8027B70C 0027866C 7D E0 07 75 */ extsb. r0, r15 +/* 8027B710 00278670 7C 60 73 78 */ or r0, r3, r14 +/* 8027B714 00278674 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8027B718 00278678 98 10 10 24 */ stb r0, 0x1024(r16) +/* 8027B71C 0027867C 91 D0 10 28 */ stw r14, 0x1028(r16) +/* 8027B720 00278680 41 82 00 10 */ beq lbl_8027B730 +/* 8027B724 00278684 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8027B728 00278688 38 80 00 00 */ li r4, 0 +/* 8027B72C 0027868C 48 0C 57 15 */ bl __dt__6CTokenFv +lbl_8027B730: +/* 8027B730 00278690 38 C0 00 00 */ li r6, 0 +/* 8027B734 00278694 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) +/* 8027B738 00278698 90 D0 10 2C */ stw r6, 0x102c(r16) +/* 8027B73C 0027869C 38 00 FF FF */ li r0, -1 +/* 8027B740 002786A0 C0 02 BC FC */ lfs f0, lbl_805ADA1C@sda21(r2) +/* 8027B744 002786A4 38 70 10 8C */ addi r3, r16, 0x108c +/* 8027B748 002786A8 90 D0 10 38 */ stw r6, 0x1038(r16) +/* 8027B74C 002786AC 80 81 01 CC */ lwz r4, 0x1cc(r1) +/* 8027B750 002786B0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B754 002786B4 B0 B0 10 44 */ sth r5, 0x1044(r16) +/* 8027B758 002786B8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8027B75C 002786BC B0 B0 10 46 */ sth r5, 0x1046(r16) +/* 8027B760 002786C0 D0 30 10 48 */ stfs f1, 0x1048(r16) +/* 8027B764 002786C4 D0 10 10 4C */ stfs f0, 0x104c(r16) +/* 8027B768 002786C8 D0 30 10 50 */ stfs f1, 0x1050(r16) +/* 8027B76C 002786CC 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B770 002786D0 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 +/* 8027B774 002786D4 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B778 002786D8 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B77C 002786DC 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 +/* 8027B780 002786E0 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B784 002786E4 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B788 002786E8 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 8027B78C 002786EC 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B790 002786F0 88 B0 10 54 */ lbz r5, 0x1054(r16) +/* 8027B794 002786F4 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 8027B798 002786F8 98 B0 10 54 */ stb r5, 0x1054(r16) +/* 8027B79C 002786FC 90 D0 10 58 */ stw r6, 0x1058(r16) +/* 8027B7A0 00278700 90 D0 10 6C */ stw r6, 0x106c(r16) +/* 8027B7A4 00278704 D0 30 10 74 */ stfs f1, 0x1074(r16) +/* 8027B7A8 00278708 90 10 10 78 */ stw r0, 0x1078(r16) +/* 8027B7AC 0027870C D0 30 10 7C */ stfs f1, 0x107c(r16) +/* 8027B7B0 00278710 D0 30 10 84 */ stfs f1, 0x1084(r16) +/* 8027B7B4 00278714 D0 30 10 88 */ stfs f1, 0x1088(r16) +/* 8027B7B8 00278718 4B D8 F5 F1 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7BC 0027871C 38 00 00 00 */ li r0, 0 +/* 8027B7C0 00278720 80 81 01 D0 */ lwz r4, 0x1d0(r1) +/* 8027B7C4 00278724 90 10 11 60 */ stw r0, 0x1160(r16) +/* 8027B7C8 00278728 38 70 12 94 */ addi r3, r16, 0x1294 +/* 8027B7CC 0027872C 90 10 12 58 */ stw r0, 0x1258(r16) +/* 8027B7D0 00278730 4B D8 F5 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7D4 00278734 80 81 01 D4 */ lwz r4, 0x1d4(r1) +/* 8027B7D8 00278738 38 70 13 68 */ addi r3, r16, 0x1368 +/* 8027B7DC 0027873C 4B D8 F5 CD */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8027B7E0 00278740 3C 80 80 3D */ lis r4, lbl_803D5618@ha +/* 8027B7E4 00278744 38 60 00 9C */ li r3, 0x9c +/* 8027B7E8 00278748 38 84 56 18 */ addi r4, r4, lbl_803D5618@l +/* 8027B7EC 0027874C 38 A0 00 00 */ li r5, 0 +/* 8027B7F0 00278750 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027B7F4 00278754 48 09 A0 79 */ bl __nw__FUlPCcPCc +/* 8027B7F8 00278758 28 03 00 00 */ cmplwi r3, 0 +/* 8027B7FC 0027875C 41 82 00 14 */ beq lbl_8027B810 +/* 8027B800 00278760 38 80 00 80 */ li r4, 0x80 +/* 8027B804 00278764 38 A0 00 80 */ li r5, 0x80 +/* 8027B808 00278768 38 C0 00 01 */ li r6, 1 +/* 8027B80C 0027876C 48 02 2B D1 */ bl __ct__16CProjectedShadowFv +lbl_8027B810: +/* 8027B810 00278770 90 70 14 3C */ stw r3, 0x143c(r16) +/* 8027B814 00278774 38 00 FF FF */ li r0, -1 +/* 8027B818 00278778 39 E0 00 00 */ li r15, 0 +/* 8027B81C 0027877C 39 D4 00 04 */ addi r14, r20, 4 +/* 8027B820 00278780 90 10 14 40 */ stw r0, 0x1440(r16) +/* 8027B824 00278784 3A 30 0B 30 */ addi r17, r16, 0xb30 +/* 8027B828 00278788 3A 50 0B C4 */ addi r18, r16, 0xbc4 +/* 8027B82C 0027878C 3A 70 0A 80 */ addi r19, r16, 0xa80 +/* 8027B830 00278790 88 10 14 44 */ lbz r0, 0x1444(r16) +/* 8027B834 00278794 51 E0 3E 30 */ rlwimi r0, r15, 7, 0x18, 0x18 +/* 8027B838 00278798 3A A0 00 00 */ li r21, 0 +/* 8027B83C 0027879C 98 10 14 44 */ stb r0, 0x1444(r16) +/* 8027B840 002787A0 88 10 14 44 */ lbz r0, 0x1444(r16) +/* 8027B844 002787A4 51 E0 36 72 */ rlwimi r0, r15, 6, 0x19, 0x19 +/* 8027B848 002787A8 98 10 14 44 */ stb r0, 0x1444(r16) +/* 8027B84C 002787AC 48 00 01 94 */ b lbl_8027B9E0 +lbl_8027B850: +/* 8027B850 002787B0 7D C4 73 78 */ mr r4, r14 +/* 8027B854 002787B4 38 70 09 6C */ addi r3, r16, 0x96c +/* 8027B858 002787B8 48 00 07 CD */ bl sub_8027c024 +/* 8027B85C 002787BC 80 11 00 00 */ lwz r0, 0(r17) +/* 8027B860 002787C0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8027B864 002787C4 7C 71 02 14 */ add r3, r17, r0 +/* 8027B868 002787C8 34 63 00 04 */ addic. r3, r3, 4 +/* 8027B86C 002787CC 41 82 00 4C */ beq lbl_8027B8B8 +/* 8027B870 002787D0 80 0E 00 64 */ lwz r0, 0x64(r14) +/* 8027B874 002787D4 90 03 00 00 */ stw r0, 0(r3) +/* 8027B878 002787D8 80 0E 00 68 */ lwz r0, 0x68(r14) +/* 8027B87C 002787DC 90 03 00 04 */ stw r0, 4(r3) +/* 8027B880 002787E0 80 0E 00 6C */ lwz r0, 0x6c(r14) +/* 8027B884 002787E4 90 03 00 08 */ stw r0, 8(r3) +/* 8027B888 002787E8 80 0E 00 70 */ lwz r0, 0x70(r14) +/* 8027B88C 002787EC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8027B890 002787F0 80 0E 00 74 */ lwz r0, 0x74(r14) +/* 8027B894 002787F4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8027B898 002787F8 80 0E 00 78 */ lwz r0, 0x78(r14) +/* 8027B89C 002787FC 90 03 00 14 */ stw r0, 0x14(r3) +/* 8027B8A0 00278800 80 0E 00 7C */ lwz r0, 0x7c(r14) +/* 8027B8A4 00278804 90 03 00 18 */ stw r0, 0x18(r3) +/* 8027B8A8 00278808 80 0E 00 80 */ lwz r0, 0x80(r14) +/* 8027B8AC 0027880C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8027B8B0 00278810 80 0E 00 84 */ lwz r0, 0x84(r14) +/* 8027B8B4 00278814 90 03 00 20 */ stw r0, 0x20(r3) +lbl_8027B8B8: +/* 8027B8B8 00278818 80 70 0B 30 */ lwz r3, 0xb30(r16) +/* 8027B8BC 0027881C 38 03 00 01 */ addi r0, r3, 1 +/* 8027B8C0 00278820 90 10 0B 30 */ stw r0, 0xb30(r16) +/* 8027B8C4 00278824 80 12 00 00 */ lwz r0, 0(r18) +/* 8027B8C8 00278828 80 8E 00 8C */ lwz r4, 0x8c(r14) +/* 8027B8CC 0027882C 54 00 28 34 */ slwi r0, r0, 5 +/* 8027B8D0 00278830 88 6E 00 90 */ lbz r3, 0x90(r14) +/* 8027B8D4 00278834 7C B2 02 14 */ add r5, r18, r0 +/* 8027B8D8 00278838 C0 6E 00 94 */ lfs f3, 0x94(r14) +/* 8027B8DC 0027883C C0 4E 00 98 */ lfs f2, 0x98(r14) +/* 8027B8E0 00278840 34 A5 00 04 */ addic. r5, r5, 4 +/* 8027B8E4 00278844 C0 2E 00 9C */ lfs f1, 0x9c(r14) +/* 8027B8E8 00278848 C0 0E 00 A0 */ lfs f0, 0xa0(r14) +/* 8027B8EC 0027884C 88 0E 00 A4 */ lbz r0, 0xa4(r14) +/* 8027B8F0 00278850 90 81 01 28 */ stw r4, 0x128(r1) +/* 8027B8F4 00278854 C0 8E 00 88 */ lfs f4, 0x88(r14) +/* 8027B8F8 00278858 98 61 01 2C */ stb r3, 0x12c(r1) +/* 8027B8FC 0027885C D0 61 01 30 */ stfs f3, 0x130(r1) +/* 8027B900 00278860 D0 41 01 34 */ stfs f2, 0x134(r1) +/* 8027B904 00278864 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 8027B908 00278868 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8027B90C 0027886C 98 01 01 40 */ stb r0, 0x140(r1) +/* 8027B910 00278870 41 82 00 24 */ beq lbl_8027B934 +/* 8027B914 00278874 D0 85 00 00 */ stfs f4, 0(r5) +/* 8027B918 00278878 90 85 00 04 */ stw r4, 4(r5) +/* 8027B91C 0027887C 98 65 00 08 */ stb r3, 8(r5) +/* 8027B920 00278880 D0 65 00 0C */ stfs f3, 0xc(r5) +/* 8027B924 00278884 D0 45 00 10 */ stfs f2, 0x10(r5) +/* 8027B928 00278888 D0 25 00 14 */ stfs f1, 0x14(r5) +/* 8027B92C 0027888C D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8027B930 00278890 98 05 00 1C */ stb r0, 0x1c(r5) +lbl_8027B934: +/* 8027B934 00278894 80 90 0B C4 */ lwz r4, 0xbc4(r16) +/* 8027B938 00278898 38 61 01 44 */ addi r3, r1, 0x144 +/* 8027B93C 0027889C 38 AE 00 48 */ addi r5, r14, 0x48 +/* 8027B940 002788A0 38 04 00 01 */ addi r0, r4, 1 +/* 8027B944 002788A4 90 10 0B C4 */ stw r0, 0xbc4(r16) +/* 8027B948 002788A8 80 8E 00 44 */ lwz r4, 0x44(r14) +/* 8027B94C 002788AC 4B FA 07 5D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8027B950 002788B0 80 13 00 00 */ lwz r0, 0(r19) +/* 8027B954 002788B4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8027B958 002788B8 7E D3 02 14 */ add r22, r19, r0 +/* 8027B95C 002788BC 36 D6 00 04 */ addic. r22, r22, 4 +/* 8027B960 002788C0 41 82 00 50 */ beq lbl_8027B9B0 +/* 8027B964 002788C4 7E C3 B3 78 */ mr r3, r22 +/* 8027B968 002788C8 38 81 01 44 */ addi r4, r1, 0x144 +/* 8027B96C 002788CC 48 0C 55 3D */ bl __ct__6CTokenFRC6CToken +/* 8027B970 002788D0 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 8027B974 002788D4 90 16 00 08 */ stw r0, 8(r22) +/* 8027B978 002788D8 80 01 01 50 */ lwz r0, 0x150(r1) +/* 8027B97C 002788DC 90 16 00 0C */ stw r0, 0xc(r22) +/* 8027B980 002788E0 88 01 01 54 */ lbz r0, 0x154(r1) +/* 8027B984 002788E4 98 16 00 10 */ stb r0, 0x10(r22) +/* 8027B988 002788E8 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 8027B98C 002788EC D0 16 00 14 */ stfs f0, 0x14(r22) +/* 8027B990 002788F0 C0 01 01 5C */ lfs f0, 0x15c(r1) +/* 8027B994 002788F4 D0 16 00 18 */ stfs f0, 0x18(r22) +/* 8027B998 002788F8 C0 01 01 60 */ lfs f0, 0x160(r1) +/* 8027B99C 002788FC D0 16 00 1C */ stfs f0, 0x1c(r22) +/* 8027B9A0 00278900 C0 01 01 64 */ lfs f0, 0x164(r1) +/* 8027B9A4 00278904 D0 16 00 20 */ stfs f0, 0x20(r22) +/* 8027B9A8 00278908 88 01 01 68 */ lbz r0, 0x168(r1) +/* 8027B9AC 0027890C 98 16 00 24 */ stb r0, 0x24(r22) +lbl_8027B9B0: +/* 8027B9B0 00278910 80 B0 0A 80 */ lwz r5, 0xa80(r16) +/* 8027B9B4 00278914 38 61 01 44 */ addi r3, r1, 0x144 +/* 8027B9B8 00278918 38 80 00 00 */ li r4, 0 +/* 8027B9BC 0027891C 38 05 00 01 */ addi r0, r5, 1 +/* 8027B9C0 00278920 90 10 0A 80 */ stw r0, 0xa80(r16) +/* 8027B9C4 00278924 48 0C 54 7D */ bl __dt__6CTokenFv +/* 8027B9C8 00278928 7C 70 7A 14 */ add r3, r16, r15 +/* 8027B9CC 0027892C 38 63 0A 84 */ addi r3, r3, 0xa84 +/* 8027B9D0 00278930 48 0C 53 B5 */ bl Lock__6CTokenFv +/* 8027B9D4 00278934 39 CE 00 A8 */ addi r14, r14, 0xa8 +/* 8027B9D8 00278938 39 EF 00 28 */ addi r15, r15, 0x28 +/* 8027B9DC 0027893C 3A B5 00 01 */ addi r21, r21, 1 +lbl_8027B9E0: +/* 8027B9E0 00278940 80 14 00 00 */ lwz r0, 0(r20) +/* 8027B9E4 00278944 7C 15 00 00 */ cmpw r21, r0 +/* 8027B9E8 00278948 41 80 FE 68 */ blt lbl_8027B850 +/* 8027B9EC 0027894C 38 70 04 60 */ addi r3, r16, 0x460 +/* 8027B9F0 00278950 38 80 00 00 */ li r4, 0 +/* 8027B9F4 00278954 4B FB 83 71 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 8027B9F8 00278958 88 10 04 E1 */ lbz r0, 0x4e1(r16) +/* 8027B9FC 0027895C 38 80 00 00 */ li r4, 0 +/* 8027BA00 00278960 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8027BA04 00278964 38 70 0C 78 */ addi r3, r16, 0xc78 +/* 8027BA08 00278968 98 10 04 E1 */ stb r0, 0x4e1(r16) +/* 8027BA0C 0027896C 88 10 04 E1 */ lbz r0, 0x4e1(r16) +/* 8027BA10 00278970 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8027BA14 00278974 98 10 04 E1 */ stb r0, 0x4e1(r16) +/* 8027BA18 00278978 48 0C 53 6D */ bl Lock__6CTokenFv +/* 8027BA1C 0027897C 38 70 0D 74 */ addi r3, r16, 0xd74 +/* 8027BA20 00278980 48 0C 53 65 */ bl Lock__6CTokenFv +/* 8027BA24 00278984 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027BA28 00278988 93 C1 00 C0 */ stw r30, 0xc0(r1) +/* 8027BA2C 0027898C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027BA30 00278990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BA34 00278994 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8027BA38 00278998 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8027BA3C 0027899C 38 A1 00 BC */ addi r5, r1, 0xbc +/* 8027BA40 002789A0 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BA44 002789A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BA48 002789A8 7D 89 03 A6 */ mtctr r12 +/* 8027BA4C 002789AC 4E 80 04 21 */ bctrl +/* 8027BA50 002789B0 38 61 00 AC */ addi r3, r1, 0xac +/* 8027BA54 002789B4 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8027BA58 002789B8 48 0C 54 51 */ bl __ct__6CTokenFRC6CToken +/* 8027BA5C 002789BC 38 70 0F C4 */ addi r3, r16, 0xfc4 +/* 8027BA60 002789C0 80 10 0F C4 */ lwz r0, 0xfc4(r16) +/* 8027BA64 002789C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BA68 002789C8 7C 63 02 14 */ add r3, r3, r0 +/* 8027BA6C 002789CC 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BA70 002789D0 41 82 00 0C */ beq lbl_8027BA7C +/* 8027BA74 002789D4 38 81 00 AC */ addi r4, r1, 0xac +/* 8027BA78 002789D8 48 0C 54 31 */ bl __ct__6CTokenFRC6CToken +lbl_8027BA7C: +/* 8027BA7C 002789DC 80 B0 0F C4 */ lwz r5, 0xfc4(r16) +/* 8027BA80 002789E0 38 61 00 AC */ addi r3, r1, 0xac +/* 8027BA84 002789E4 38 80 00 00 */ li r4, 0 +/* 8027BA88 002789E8 38 05 00 01 */ addi r0, r5, 1 +/* 8027BA8C 002789EC 90 10 0F C4 */ stw r0, 0xfc4(r16) +/* 8027BA90 002789F0 48 0C 53 B1 */ bl __dt__6CTokenFv +/* 8027BA94 002789F4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8027BA98 002789F8 38 80 FF FF */ li r4, -1 +/* 8027BA9C 002789FC 48 0C 53 A5 */ bl __dt__6CTokenFv +/* 8027BAA0 00278A00 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8027BAA4 00278A04 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8027BAA8 00278A08 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8027BAAC 00278A0C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BAB0 00278A10 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8027BAB4 00278A14 38 61 00 9C */ addi r3, r1, 0x9c +/* 8027BAB8 00278A18 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8027BABC 00278A1C 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BAC0 00278A20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BAC4 00278A24 7D 89 03 A6 */ mtctr r12 +/* 8027BAC8 00278A28 4E 80 04 21 */ bctrl +/* 8027BACC 00278A2C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8027BAD0 00278A30 38 81 00 9C */ addi r4, r1, 0x9c +/* 8027BAD4 00278A34 48 0C 53 D5 */ bl __ct__6CTokenFRC6CToken +/* 8027BAD8 00278A38 38 70 0F C4 */ addi r3, r16, 0xfc4 +/* 8027BADC 00278A3C 80 10 0F C4 */ lwz r0, 0xfc4(r16) +/* 8027BAE0 00278A40 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BAE4 00278A44 7C 63 02 14 */ add r3, r3, r0 +/* 8027BAE8 00278A48 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BAEC 00278A4C 41 82 00 0C */ beq lbl_8027BAF8 +/* 8027BAF0 00278A50 38 81 00 94 */ addi r4, r1, 0x94 +/* 8027BAF4 00278A54 48 0C 53 B5 */ bl __ct__6CTokenFRC6CToken +lbl_8027BAF8: +/* 8027BAF8 00278A58 80 B0 0F C4 */ lwz r5, 0xfc4(r16) +/* 8027BAFC 00278A5C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8027BB00 00278A60 38 80 00 00 */ li r4, 0 +/* 8027BB04 00278A64 38 05 00 01 */ addi r0, r5, 1 +/* 8027BB08 00278A68 90 10 0F C4 */ stw r0, 0xfc4(r16) +/* 8027BB0C 00278A6C 48 0C 53 35 */ bl __dt__6CTokenFv +/* 8027BB10 00278A70 38 61 00 9C */ addi r3, r1, 0x9c +/* 8027BB14 00278A74 38 80 FF FF */ li r4, -1 +/* 8027BB18 00278A78 48 0C 53 29 */ bl __dt__6CTokenFv +/* 8027BB1C 00278A7C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8027BB20 00278A80 93 E1 00 90 */ stw r31, 0x90(r1) +/* 8027BB24 00278A84 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 8027BB28 00278A88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BB2C 00278A8C 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8027BB30 00278A90 38 61 00 84 */ addi r3, r1, 0x84 +/* 8027BB34 00278A94 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8027BB38 00278A98 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BB3C 00278A9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BB40 00278AA0 7D 89 03 A6 */ mtctr r12 +/* 8027BB44 00278AA4 4E 80 04 21 */ bctrl +/* 8027BB48 00278AA8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8027BB4C 00278AAC 38 81 00 84 */ addi r4, r1, 0x84 +/* 8027BB50 00278AB0 48 0C 53 59 */ bl __ct__6CTokenFRC6CToken +/* 8027BB54 00278AB4 38 70 0F D8 */ addi r3, r16, 0xfd8 +/* 8027BB58 00278AB8 80 10 0F D8 */ lwz r0, 0xfd8(r16) +/* 8027BB5C 00278ABC 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BB60 00278AC0 7C 63 02 14 */ add r3, r3, r0 +/* 8027BB64 00278AC4 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BB68 00278AC8 41 82 00 0C */ beq lbl_8027BB74 +/* 8027BB6C 00278ACC 38 81 00 7C */ addi r4, r1, 0x7c +/* 8027BB70 00278AD0 48 0C 53 39 */ bl __ct__6CTokenFRC6CToken +lbl_8027BB74: +/* 8027BB74 00278AD4 80 B0 0F D8 */ lwz r5, 0xfd8(r16) +/* 8027BB78 00278AD8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8027BB7C 00278ADC 38 80 00 00 */ li r4, 0 +/* 8027BB80 00278AE0 38 05 00 01 */ addi r0, r5, 1 +/* 8027BB84 00278AE4 90 10 0F D8 */ stw r0, 0xfd8(r16) +/* 8027BB88 00278AE8 48 0C 52 B9 */ bl __dt__6CTokenFv +/* 8027BB8C 00278AEC 38 61 00 84 */ addi r3, r1, 0x84 +/* 8027BB90 00278AF0 38 80 FF FF */ li r4, -1 +/* 8027BB94 00278AF4 48 0C 52 AD */ bl __dt__6CTokenFv +/* 8027BB98 00278AF8 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8027BB9C 00278AFC 93 E1 00 78 */ stw r31, 0x78(r1) +/* 8027BBA0 00278B00 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 8027BBA4 00278B04 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8027BBA8 00278B08 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027BBAC 00278B0C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8027BBB0 00278B10 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8027BBB4 00278B14 81 84 00 00 */ lwz r12, 0(r4) +/* 8027BBB8 00278B18 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8027BBBC 00278B1C 7D 89 03 A6 */ mtctr r12 +/* 8027BBC0 00278B20 4E 80 04 21 */ bctrl +/* 8027BBC4 00278B24 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027BBC8 00278B28 38 81 00 6C */ addi r4, r1, 0x6c +/* 8027BBCC 00278B2C 48 0C 52 DD */ bl __ct__6CTokenFRC6CToken +/* 8027BBD0 00278B30 38 70 0F D8 */ addi r3, r16, 0xfd8 +/* 8027BBD4 00278B34 80 10 0F D8 */ lwz r0, 0xfd8(r16) +/* 8027BBD8 00278B38 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BBDC 00278B3C 7C 63 02 14 */ add r3, r3, r0 +/* 8027BBE0 00278B40 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BBE4 00278B44 41 82 00 0C */ beq lbl_8027BBF0 +/* 8027BBE8 00278B48 38 81 00 64 */ addi r4, r1, 0x64 +/* 8027BBEC 00278B4C 48 0C 52 BD */ bl __ct__6CTokenFRC6CToken +lbl_8027BBF0: +/* 8027BBF0 00278B50 80 B0 0F D8 */ lwz r5, 0xfd8(r16) +/* 8027BBF4 00278B54 38 61 00 64 */ addi r3, r1, 0x64 +/* 8027BBF8 00278B58 38 80 00 00 */ li r4, 0 +/* 8027BBFC 00278B5C 38 05 00 01 */ addi r0, r5, 1 +/* 8027BC00 00278B60 90 10 0F D8 */ stw r0, 0xfd8(r16) +/* 8027BC04 00278B64 48 0C 52 3D */ bl __dt__6CTokenFv +/* 8027BC08 00278B68 38 61 00 6C */ addi r3, r1, 0x6c +/* 8027BC0C 00278B6C 38 80 FF FF */ li r4, -1 +/* 8027BC10 00278B70 48 0C 52 31 */ bl __dt__6CTokenFv +/* 8027BC14 00278B74 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BC18 00278B78 39 E0 00 00 */ li r15, 0 +/* 8027BC1C 00278B7C 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BC20 00278B80 38 60 03 40 */ li r3, 0x340 +/* 8027BC24 00278B84 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BC28 00278B88 38 A0 00 00 */ li r5, 0 +/* 8027BC2C 00278B8C 48 09 9C 41 */ bl __nw__FUlPCcPCc +/* 8027BC30 00278B90 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BC34 00278B94 41 82 00 2C */ beq lbl_8027BC60 +/* 8027BC38 00278B98 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027BC3C 00278B9C 38 90 0F C8 */ addi r4, r16, 0xfc8 +/* 8027BC40 00278BA0 48 0C 52 69 */ bl __ct__6CTokenFRC6CToken +/* 8027BC44 00278BA4 7D C3 73 78 */ mr r3, r14 +/* 8027BC48 00278BA8 38 81 00 5C */ addi r4, r1, 0x5c +/* 8027BC4C 00278BAC 39 E0 00 01 */ li r15, 1 +/* 8027BC50 00278BB0 38 A0 00 00 */ li r5, 0 +/* 8027BC54 00278BB4 38 C0 00 01 */ li r6, 1 +/* 8027BC58 00278BB8 48 0A 37 89 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027BC5C 00278BBC 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BC60: +/* 8027BC60 00278BC0 38 90 0F EC */ addi r4, r16, 0xfec +/* 8027BC64 00278BC4 7C 6E 00 D0 */ neg r3, r14 +/* 8027BC68 00278BC8 80 10 0F EC */ lwz r0, 0xfec(r16) +/* 8027BC6C 00278BCC 7C 63 73 78 */ or r3, r3, r14 +/* 8027BC70 00278BD0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BC74 00278BD4 91 C1 00 58 */ stw r14, 0x58(r1) +/* 8027BC78 00278BD8 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BC7C 00278BDC 7C 84 02 14 */ add r4, r4, r0 +/* 8027BC80 00278BE0 98 61 00 54 */ stb r3, 0x54(r1) +/* 8027BC84 00278BE4 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BC88 00278BE8 41 82 00 14 */ beq lbl_8027BC9C +/* 8027BC8C 00278BEC 98 64 00 00 */ stb r3, 0(r4) +/* 8027BC90 00278BF0 38 00 00 00 */ li r0, 0 +/* 8027BC94 00278BF4 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BC98 00278BF8 98 01 00 54 */ stb r0, 0x54(r1) +lbl_8027BC9C: +/* 8027BC9C 00278BFC 80 70 0F EC */ lwz r3, 0xfec(r16) +/* 8027BCA0 00278C00 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8027BCA4 00278C04 38 63 00 01 */ addi r3, r3, 1 +/* 8027BCA8 00278C08 28 00 00 00 */ cmplwi r0, 0 +/* 8027BCAC 00278C0C 90 70 0F EC */ stw r3, 0xfec(r16) +/* 8027BCB0 00278C10 41 82 00 24 */ beq lbl_8027BCD4 +/* 8027BCB4 00278C14 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8027BCB8 00278C18 28 03 00 00 */ cmplwi r3, 0 +/* 8027BCBC 00278C1C 41 82 00 18 */ beq lbl_8027BCD4 +/* 8027BCC0 00278C20 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BCC4 00278C24 38 80 00 01 */ li r4, 1 +/* 8027BCC8 00278C28 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BCCC 00278C2C 7D 89 03 A6 */ mtctr r12 +/* 8027BCD0 00278C30 4E 80 04 21 */ bctrl +lbl_8027BCD4: +/* 8027BCD4 00278C34 7D E0 07 75 */ extsb. r0, r15 +/* 8027BCD8 00278C38 41 82 00 10 */ beq lbl_8027BCE8 +/* 8027BCDC 00278C3C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8027BCE0 00278C40 38 80 00 00 */ li r4, 0 +/* 8027BCE4 00278C44 48 0C 51 5D */ bl __dt__6CTokenFv +lbl_8027BCE8: +/* 8027BCE8 00278C48 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BCEC 00278C4C 39 E0 00 00 */ li r15, 0 +/* 8027BCF0 00278C50 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BCF4 00278C54 38 60 03 40 */ li r3, 0x340 +/* 8027BCF8 00278C58 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BCFC 00278C5C 38 A0 00 00 */ li r5, 0 +/* 8027BD00 00278C60 48 09 9B 6D */ bl __nw__FUlPCcPCc +/* 8027BD04 00278C64 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BD08 00278C68 41 82 00 2C */ beq lbl_8027BD34 +/* 8027BD0C 00278C6C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027BD10 00278C70 38 90 0F D0 */ addi r4, r16, 0xfd0 +/* 8027BD14 00278C74 48 0C 51 95 */ bl __ct__6CTokenFRC6CToken +/* 8027BD18 00278C78 7D C3 73 78 */ mr r3, r14 +/* 8027BD1C 00278C7C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8027BD20 00278C80 39 E0 00 01 */ li r15, 1 +/* 8027BD24 00278C84 38 A0 00 00 */ li r5, 0 +/* 8027BD28 00278C88 38 C0 00 01 */ li r6, 1 +/* 8027BD2C 00278C8C 48 0A 36 B5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8027BD30 00278C90 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BD34: +/* 8027BD34 00278C94 38 90 0F EC */ addi r4, r16, 0xfec +/* 8027BD38 00278C98 7C 6E 00 D0 */ neg r3, r14 +/* 8027BD3C 00278C9C 80 10 0F EC */ lwz r0, 0xfec(r16) +/* 8027BD40 00278CA0 7C 63 73 78 */ or r3, r3, r14 +/* 8027BD44 00278CA4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BD48 00278CA8 91 C1 00 48 */ stw r14, 0x48(r1) +/* 8027BD4C 00278CAC 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BD50 00278CB0 7C 84 02 14 */ add r4, r4, r0 +/* 8027BD54 00278CB4 98 61 00 44 */ stb r3, 0x44(r1) +/* 8027BD58 00278CB8 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BD5C 00278CBC 41 82 00 14 */ beq lbl_8027BD70 +/* 8027BD60 00278CC0 98 64 00 00 */ stb r3, 0(r4) +/* 8027BD64 00278CC4 38 00 00 00 */ li r0, 0 +/* 8027BD68 00278CC8 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BD6C 00278CCC 98 01 00 44 */ stb r0, 0x44(r1) +lbl_8027BD70: +/* 8027BD70 00278CD0 80 70 0F EC */ lwz r3, 0xfec(r16) +/* 8027BD74 00278CD4 88 01 00 44 */ lbz r0, 0x44(r1) +/* 8027BD78 00278CD8 38 63 00 01 */ addi r3, r3, 1 +/* 8027BD7C 00278CDC 28 00 00 00 */ cmplwi r0, 0 +/* 8027BD80 00278CE0 90 70 0F EC */ stw r3, 0xfec(r16) +/* 8027BD84 00278CE4 41 82 00 24 */ beq lbl_8027BDA8 +/* 8027BD88 00278CE8 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8027BD8C 00278CEC 28 03 00 00 */ cmplwi r3, 0 +/* 8027BD90 00278CF0 41 82 00 18 */ beq lbl_8027BDA8 +/* 8027BD94 00278CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BD98 00278CF8 38 80 00 01 */ li r4, 1 +/* 8027BD9C 00278CFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BDA0 00278D00 7D 89 03 A6 */ mtctr r12 +/* 8027BDA4 00278D04 4E 80 04 21 */ bctrl +lbl_8027BDA8: +/* 8027BDA8 00278D08 7D E0 07 75 */ extsb. r0, r15 +/* 8027BDAC 00278D0C 41 82 00 10 */ beq lbl_8027BDBC +/* 8027BDB0 00278D10 38 61 00 4C */ addi r3, r1, 0x4c +/* 8027BDB4 00278D14 38 80 00 00 */ li r4, 0 +/* 8027BDB8 00278D18 48 0C 50 89 */ bl __dt__6CTokenFv +lbl_8027BDBC: +/* 8027BDBC 00278D1C 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BDC0 00278D20 39 E0 00 00 */ li r15, 0 +/* 8027BDC4 00278D24 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BDC8 00278D28 38 60 02 10 */ li r3, 0x210 +/* 8027BDCC 00278D2C 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BDD0 00278D30 38 A0 00 00 */ li r5, 0 +/* 8027BDD4 00278D34 48 09 9A 99 */ bl __nw__FUlPCcPCc +/* 8027BDD8 00278D38 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BDDC 00278D3C 41 82 00 28 */ beq lbl_8027BE04 +/* 8027BDE0 00278D40 38 61 00 3C */ addi r3, r1, 0x3c +/* 8027BDE4 00278D44 38 90 0F DC */ addi r4, r16, 0xfdc +/* 8027BDE8 00278D48 48 0C 50 C1 */ bl __ct__6CTokenFRC6CToken +/* 8027BDEC 00278D4C 7D C3 73 78 */ mr r3, r14 +/* 8027BDF0 00278D50 38 81 00 3C */ addi r4, r1, 0x3c +/* 8027BDF4 00278D54 39 E0 00 01 */ li r15, 1 +/* 8027BDF8 00278D58 38 A0 00 00 */ li r5, 0 +/* 8027BDFC 00278D5C 48 0B 2F E9 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8027BE00 00278D60 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BE04: +/* 8027BE04 00278D64 38 90 10 00 */ addi r4, r16, 0x1000 +/* 8027BE08 00278D68 7C 6E 00 D0 */ neg r3, r14 +/* 8027BE0C 00278D6C 80 10 10 00 */ lwz r0, 0x1000(r16) +/* 8027BE10 00278D70 7C 63 73 78 */ or r3, r3, r14 +/* 8027BE14 00278D74 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BE18 00278D78 91 C1 00 38 */ stw r14, 0x38(r1) +/* 8027BE1C 00278D7C 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BE20 00278D80 7C 84 02 14 */ add r4, r4, r0 +/* 8027BE24 00278D84 98 61 00 34 */ stb r3, 0x34(r1) +/* 8027BE28 00278D88 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BE2C 00278D8C 41 82 00 14 */ beq lbl_8027BE40 +/* 8027BE30 00278D90 98 64 00 00 */ stb r3, 0(r4) +/* 8027BE34 00278D94 38 00 00 00 */ li r0, 0 +/* 8027BE38 00278D98 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BE3C 00278D9C 98 01 00 34 */ stb r0, 0x34(r1) +lbl_8027BE40: +/* 8027BE40 00278DA0 80 70 10 00 */ lwz r3, 0x1000(r16) +/* 8027BE44 00278DA4 88 01 00 34 */ lbz r0, 0x34(r1) +/* 8027BE48 00278DA8 38 63 00 01 */ addi r3, r3, 1 +/* 8027BE4C 00278DAC 28 00 00 00 */ cmplwi r0, 0 +/* 8027BE50 00278DB0 90 70 10 00 */ stw r3, 0x1000(r16) +/* 8027BE54 00278DB4 41 82 00 24 */ beq lbl_8027BE78 +/* 8027BE58 00278DB8 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8027BE5C 00278DBC 28 03 00 00 */ cmplwi r3, 0 +/* 8027BE60 00278DC0 41 82 00 18 */ beq lbl_8027BE78 +/* 8027BE64 00278DC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BE68 00278DC8 38 80 00 01 */ li r4, 1 +/* 8027BE6C 00278DCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BE70 00278DD0 7D 89 03 A6 */ mtctr r12 +/* 8027BE74 00278DD4 4E 80 04 21 */ bctrl +lbl_8027BE78: +/* 8027BE78 00278DD8 7D E0 07 75 */ extsb. r0, r15 +/* 8027BE7C 00278DDC 41 82 00 10 */ beq lbl_8027BE8C +/* 8027BE80 00278DE0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8027BE84 00278DE4 38 80 00 00 */ li r4, 0 +/* 8027BE88 00278DE8 48 0C 4F B9 */ bl __dt__6CTokenFv +lbl_8027BE8C: +/* 8027BE8C 00278DEC 3C 60 80 3D */ lis r3, lbl_803D5618@ha +/* 8027BE90 00278DF0 39 E0 00 00 */ li r15, 0 +/* 8027BE94 00278DF4 38 83 56 18 */ addi r4, r3, lbl_803D5618@l +/* 8027BE98 00278DF8 38 60 02 10 */ li r3, 0x210 +/* 8027BE9C 00278DFC 38 84 02 20 */ addi r4, r4, 0x220 +/* 8027BEA0 00278E00 38 A0 00 00 */ li r5, 0 +/* 8027BEA4 00278E04 48 09 99 C9 */ bl __nw__FUlPCcPCc +/* 8027BEA8 00278E08 7C 6E 1B 79 */ or. r14, r3, r3 +/* 8027BEAC 00278E0C 41 82 00 28 */ beq lbl_8027BED4 +/* 8027BEB0 00278E10 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027BEB4 00278E14 38 90 0F E4 */ addi r4, r16, 0xfe4 +/* 8027BEB8 00278E18 48 0C 4F F1 */ bl __ct__6CTokenFRC6CToken +/* 8027BEBC 00278E1C 7D C3 73 78 */ mr r3, r14 +/* 8027BEC0 00278E20 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027BEC4 00278E24 39 E0 00 01 */ li r15, 1 +/* 8027BEC8 00278E28 38 A0 00 00 */ li r5, 0 +/* 8027BECC 00278E2C 48 0B 2F 19 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8027BED0 00278E30 7C 6E 1B 78 */ mr r14, r3 +lbl_8027BED4: +/* 8027BED4 00278E34 38 90 10 00 */ addi r4, r16, 0x1000 +/* 8027BED8 00278E38 7C 6E 00 D0 */ neg r3, r14 +/* 8027BEDC 00278E3C 80 10 10 00 */ lwz r0, 0x1000(r16) +/* 8027BEE0 00278E40 7C 63 73 78 */ or r3, r3, r14 +/* 8027BEE4 00278E44 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8027BEE8 00278E48 91 C1 00 28 */ stw r14, 0x28(r1) +/* 8027BEEC 00278E4C 54 00 18 38 */ slwi r0, r0, 3 +/* 8027BEF0 00278E50 7C 84 02 14 */ add r4, r4, r0 +/* 8027BEF4 00278E54 98 61 00 24 */ stb r3, 0x24(r1) +/* 8027BEF8 00278E58 34 84 00 04 */ addic. r4, r4, 4 +/* 8027BEFC 00278E5C 41 82 00 14 */ beq lbl_8027BF10 +/* 8027BF00 00278E60 98 64 00 00 */ stb r3, 0(r4) +/* 8027BF04 00278E64 38 00 00 00 */ li r0, 0 +/* 8027BF08 00278E68 91 C4 00 04 */ stw r14, 4(r4) +/* 8027BF0C 00278E6C 98 01 00 24 */ stb r0, 0x24(r1) +lbl_8027BF10: +/* 8027BF10 00278E70 80 70 10 00 */ lwz r3, 0x1000(r16) +/* 8027BF14 00278E74 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8027BF18 00278E78 38 63 00 01 */ addi r3, r3, 1 +/* 8027BF1C 00278E7C 28 00 00 00 */ cmplwi r0, 0 +/* 8027BF20 00278E80 90 70 10 00 */ stw r3, 0x1000(r16) +/* 8027BF24 00278E84 41 82 00 24 */ beq lbl_8027BF48 +/* 8027BF28 00278E88 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8027BF2C 00278E8C 28 03 00 00 */ cmplwi r3, 0 +/* 8027BF30 00278E90 41 82 00 18 */ beq lbl_8027BF48 +/* 8027BF34 00278E94 81 83 00 00 */ lwz r12, 0(r3) +/* 8027BF38 00278E98 38 80 00 01 */ li r4, 1 +/* 8027BF3C 00278E9C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027BF40 00278EA0 7D 89 03 A6 */ mtctr r12 +/* 8027BF44 00278EA4 4E 80 04 21 */ bctrl +lbl_8027BF48: +/* 8027BF48 00278EA8 7D E0 07 75 */ extsb. r0, r15 +/* 8027BF4C 00278EAC 41 82 00 10 */ beq lbl_8027BF5C +/* 8027BF50 00278EB0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8027BF54 00278EB4 38 80 00 00 */ li r4, 0 +/* 8027BF58 00278EB8 48 0C 4E E9 */ bl __dt__6CTokenFv +lbl_8027BF5C: +/* 8027BF5C 00278EBC 38 70 10 2C */ addi r3, r16, 0x102c +/* 8027BF60 00278EC0 80 10 10 2C */ lwz r0, 0x102c(r16) +/* 8027BF64 00278EC4 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BF68 00278EC8 7C 63 02 14 */ add r3, r3, r0 +/* 8027BF6C 00278ECC 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BF70 00278ED0 41 82 00 0C */ beq lbl_8027BF7C +/* 8027BF74 00278ED4 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) +/* 8027BF78 00278ED8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BF7C: +/* 8027BF7C 00278EDC 80 70 10 2C */ lwz r3, 0x102c(r16) +/* 8027BF80 00278EE0 38 90 10 2C */ addi r4, r16, 0x102c +/* 8027BF84 00278EE4 38 03 00 01 */ addi r0, r3, 1 +/* 8027BF88 00278EE8 90 10 10 2C */ stw r0, 0x102c(r16) +/* 8027BF8C 00278EEC 80 10 10 2C */ lwz r0, 0x102c(r16) +/* 8027BF90 00278EF0 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BF94 00278EF4 7C 64 02 14 */ add r3, r4, r0 +/* 8027BF98 00278EF8 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BF9C 00278EFC 41 82 00 0C */ beq lbl_8027BFA8 +/* 8027BFA0 00278F00 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) +/* 8027BFA4 00278F04 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BFA8: +/* 8027BFA8 00278F08 80 70 10 2C */ lwz r3, 0x102c(r16) +/* 8027BFAC 00278F0C 38 90 10 38 */ addi r4, r16, 0x1038 +/* 8027BFB0 00278F10 38 03 00 01 */ addi r0, r3, 1 +/* 8027BFB4 00278F14 90 10 10 2C */ stw r0, 0x102c(r16) +/* 8027BFB8 00278F18 80 10 10 38 */ lwz r0, 0x1038(r16) +/* 8027BFBC 00278F1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BFC0 00278F20 7C 64 02 14 */ add r3, r4, r0 +/* 8027BFC4 00278F24 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BFC8 00278F28 41 82 00 0C */ beq lbl_8027BFD4 +/* 8027BFCC 00278F2C C0 0D 98 60 */ lfs f0, lbl_805A8420@sda21(r13) +/* 8027BFD0 00278F30 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027BFD4: +/* 8027BFD4 00278F34 80 70 10 38 */ lwz r3, 0x1038(r16) +/* 8027BFD8 00278F38 38 90 10 38 */ addi r4, r16, 0x1038 +/* 8027BFDC 00278F3C 38 03 00 01 */ addi r0, r3, 1 +/* 8027BFE0 00278F40 90 10 10 38 */ stw r0, 0x1038(r16) +/* 8027BFE4 00278F44 80 10 10 38 */ lwz r0, 0x1038(r16) +/* 8027BFE8 00278F48 54 00 10 3A */ slwi r0, r0, 2 +/* 8027BFEC 00278F4C 7C 64 02 14 */ add r3, r4, r0 +/* 8027BFF0 00278F50 34 63 00 04 */ addic. r3, r3, 4 +/* 8027BFF4 00278F54 41 82 00 0C */ beq lbl_8027C000 +/* 8027BFF8 00278F58 C0 0D 98 64 */ lfs f0, lbl_805A8424@sda21(r13) +/* 8027BFFC 00278F5C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C000: +/* 8027C000 00278F60 80 90 10 38 */ lwz r4, 0x1038(r16) +/* 8027C004 00278F64 7E 03 83 78 */ mr r3, r16 +/* 8027C008 00278F68 38 04 00 01 */ addi r0, r4, 1 +/* 8027C00C 00278F6C 90 10 10 38 */ stw r0, 0x1038(r16) +/* 8027C010 00278F70 B9 C1 01 78 */ lmw r14, 0x178(r1) +/* 8027C014 00278F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 8027C018 00278F78 7C 08 03 A6 */ mtlr r0 +/* 8027C01C 00278F7C 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 8027C020 00278F80 4E 80 00 20 */ blr + +.global sub_8027c024 +sub_8027c024: +/* 8027C024 00278F84 80 03 00 00 */ lwz r0, 0(r3) +/* 8027C028 00278F88 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 8027C02C 00278F8C 7C A3 02 14 */ add r5, r3, r0 +/* 8027C030 00278F90 34 A5 00 04 */ addic. r5, r5, 4 +/* 8027C034 00278F94 41 82 00 8C */ beq lbl_8027C0C0 +/* 8027C038 00278F98 80 04 00 00 */ lwz r0, 0(r4) +/* 8027C03C 00278F9C 90 05 00 00 */ stw r0, 0(r5) +/* 8027C040 00278FA0 80 04 00 04 */ lwz r0, 4(r4) +/* 8027C044 00278FA4 90 05 00 04 */ stw r0, 4(r5) +/* 8027C048 00278FA8 80 04 00 08 */ lwz r0, 8(r4) +/* 8027C04C 00278FAC 90 05 00 08 */ stw r0, 8(r5) +/* 8027C050 00278FB0 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8027C054 00278FB4 90 05 00 0C */ stw r0, 0xc(r5) +/* 8027C058 00278FB8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8027C05C 00278FBC 90 05 00 10 */ stw r0, 0x10(r5) +/* 8027C060 00278FC0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8027C064 00278FC4 90 05 00 14 */ stw r0, 0x14(r5) +/* 8027C068 00278FC8 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8027C06C 00278FCC 90 05 00 18 */ stw r0, 0x18(r5) +/* 8027C070 00278FD0 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8027C074 00278FD4 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8027C078 00278FD8 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8027C07C 00278FDC D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8027C080 00278FE0 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8027C084 00278FE4 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8027C088 00278FE8 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8027C08C 00278FEC D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8027C090 00278FF0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8027C094 00278FF4 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8027C098 00278FF8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8027C09C 00278FFC D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8027C0A0 00279000 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8027C0A4 00279004 D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8027C0A8 00279008 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 8027C0AC 0027900C D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8027C0B0 00279010 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 8027C0B4 00279014 90 05 00 3C */ stw r0, 0x3c(r5) +/* 8027C0B8 00279018 80 04 00 40 */ lwz r0, 0x40(r4) +/* 8027C0BC 0027901C 90 05 00 40 */ stw r0, 0x40(r5) +lbl_8027C0C0: +/* 8027C0C0 00279020 80 83 00 00 */ lwz r4, 0(r3) +/* 8027C0C4 00279024 38 04 00 01 */ addi r0, r4, 1 +/* 8027C0C8 00279028 90 03 00 00 */ stw r0, 0(r3) +/* 8027C0CC 0027902C 4E 80 00 20 */ blr + +.global sub_8027c0d0 +sub_8027c0d0: +/* 8027C0D0 00279030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C0D4 00279034 7C 08 02 A6 */ mflr r0 +/* 8027C0D8 00279038 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C0DC 0027903C 7C 60 1B 78 */ mr r0, r3 +/* 8027C0E0 00279040 7C 83 23 78 */ mr r3, r4 +/* 8027C0E4 00279044 81 84 00 00 */ lwz r12, 0(r4) +/* 8027C0E8 00279048 7C 04 03 78 */ mr r4, r0 +/* 8027C0EC 0027904C 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 8027C0F0 00279050 7D 89 03 A6 */ mtctr r12 +/* 8027C0F4 00279054 4E 80 04 21 */ bctrl +/* 8027C0F8 00279058 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C0FC 0027905C 7C 08 03 A6 */ mtlr r0 +/* 8027C100 00279060 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C104 00279064 4E 80 00 20 */ blr + +.global sub_8027c108 +sub_8027c108: +/* 8027C108 00279068 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8027C10C 0027906C 7C 08 02 A6 */ mflr r0 +/* 8027C110 00279070 90 01 00 64 */ stw r0, 0x64(r1) +/* 8027C114 00279074 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8027C118 00279078 7C 9C 23 78 */ mr r28, r4 +/* 8027C11C 0027907C 7C 7B 1B 78 */ mr r27, r3 +/* 8027C120 00279080 7F 83 E3 78 */ mr r3, r28 +/* 8027C124 00279084 48 0C 2B 61 */ bl ReadLong__12CInputStreamFv +/* 8027C128 00279088 80 0D 98 5C */ lwz r0, lbl_805A841C@sda21(r13) +/* 8027C12C 0027908C 38 81 00 08 */ addi r4, r1, 8 +/* 8027C130 00279090 90 61 00 08 */ stw r3, 8(r1) +/* 8027C134 00279094 7C 00 18 00 */ cmpw r0, r3 +/* 8027C138 00279098 40 80 00 08 */ bge lbl_8027C140 +/* 8027C13C 0027909C 38 8D 98 5C */ addi r4, r13, lbl_805A841C@sda21 +lbl_8027C140: +/* 8027C140 002790A0 38 00 00 00 */ li r0, 0 +/* 8027C144 002790A4 83 C4 00 00 */ lwz r30, 0(r4) +/* 8027C148 002790A8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027C14C 002790AC 3B E1 00 10 */ addi r31, r1, 0x10 +/* 8027C150 002790B0 3B A0 00 00 */ li r29, 0 +/* 8027C154 002790B4 48 00 00 30 */ b lbl_8027C184 +lbl_8027C158: +/* 8027C158 002790B8 7F 83 E3 78 */ mr r3, r28 +/* 8027C15C 002790BC 48 0C 2A CD */ bl ReadFloat__12CInputStreamFv +/* 8027C160 002790C0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027C164 002790C4 54 00 10 3A */ slwi r0, r0, 2 +/* 8027C168 002790C8 7C 7F 02 15 */ add. r3, r31, r0 +/* 8027C16C 002790CC 41 82 00 08 */ beq lbl_8027C174 +/* 8027C170 002790D0 D0 23 00 00 */ stfs f1, 0(r3) +lbl_8027C174: +/* 8027C174 002790D4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8027C178 002790D8 3B BD 00 01 */ addi r29, r29, 1 +/* 8027C17C 002790DC 38 03 00 01 */ addi r0, r3, 1 +/* 8027C180 002790E0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8027C184: +/* 8027C184 002790E4 7C 1D F0 00 */ cmpw r29, r30 +/* 8027C188 002790E8 41 80 FF D0 */ blt lbl_8027C158 +/* 8027C18C 002790EC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8027C190 002790F0 38 7B 00 04 */ addi r3, r27, 4 +/* 8027C194 002790F4 90 1B 00 00 */ stw r0, 0(r27) +/* 8027C198 002790F8 80 1B 00 00 */ lwz r0, 0(r27) +/* 8027C19C 002790FC 7C 09 03 A6 */ mtctr r0 +/* 8027C1A0 00279100 2C 00 00 00 */ cmpwi r0, 0 +/* 8027C1A4 00279104 40 81 00 20 */ ble lbl_8027C1C4 +lbl_8027C1A8: +/* 8027C1A8 00279108 28 03 00 00 */ cmplwi r3, 0 +/* 8027C1AC 0027910C 41 82 00 0C */ beq lbl_8027C1B8 +/* 8027C1B0 00279110 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8027C1B4 00279114 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C1B8: +/* 8027C1B8 00279118 38 63 00 04 */ addi r3, r3, 4 +/* 8027C1BC 0027911C 3B FF 00 04 */ addi r31, r31, 4 +/* 8027C1C0 00279120 42 00 FF E8 */ bdnz lbl_8027C1A8 +lbl_8027C1C4: +/* 8027C1C4 00279124 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8027C1C8 00279128 38 60 00 00 */ li r3, 0 +/* 8027C1CC 0027912C 2C 05 00 00 */ cmpwi r5, 0 +/* 8027C1D0 00279130 40 81 00 40 */ ble lbl_8027C210 +/* 8027C1D4 00279134 2C 05 00 08 */ cmpwi r5, 8 +/* 8027C1D8 00279138 38 85 FF F8 */ addi r4, r5, -8 +/* 8027C1DC 0027913C 40 81 00 20 */ ble lbl_8027C1FC +/* 8027C1E0 00279140 38 04 00 07 */ addi r0, r4, 7 +/* 8027C1E4 00279144 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027C1E8 00279148 7C 09 03 A6 */ mtctr r0 +/* 8027C1EC 0027914C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027C1F0 00279150 40 81 00 0C */ ble lbl_8027C1FC +lbl_8027C1F4: +/* 8027C1F4 00279154 38 63 00 08 */ addi r3, r3, 8 +/* 8027C1F8 00279158 42 00 FF FC */ bdnz lbl_8027C1F4 +lbl_8027C1FC: +/* 8027C1FC 0027915C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027C200 00279160 7C 09 03 A6 */ mtctr r0 +/* 8027C204 00279164 7C 03 28 00 */ cmpw r3, r5 +/* 8027C208 00279168 40 80 00 08 */ bge lbl_8027C210 +lbl_8027C20C: +/* 8027C20C 0027916C 42 00 00 00 */ bdnz lbl_8027C20C +lbl_8027C210: +/* 8027C210 00279170 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8027C214 00279174 38 00 00 00 */ li r0, 0 +/* 8027C218 00279178 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027C21C 0027917C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8027C220 00279180 7C 08 03 A6 */ mtlr r0 +/* 8027C224 00279184 38 21 00 60 */ addi r1, r1, 0x60 +/* 8027C228 00279188 4E 80 00 20 */ blr + +.global sub_8027c22c +sub_8027c22c: +/* 8027C22C 0027918C 54 80 10 3A */ slwi r0, r4, 2 +/* 8027C230 00279190 7C 63 02 14 */ add r3, r3, r0 +/* 8027C234 00279194 C0 23 00 04 */ lfs f1, 4(r3) +/* 8027C238 00279198 4E 80 00 20 */ blr + +.global __ct__18SPrimeExoRoomParmsFR12CInputStream +__ct__18SPrimeExoRoomParmsFR12CInputStream: +/* 8027C23C 0027919C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027C240 002791A0 7C 08 02 A6 */ mflr r0 +/* 8027C244 002791A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027C248 002791A8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027C24C 002791AC 7C 7F 1B 78 */ mr r31, r3 +/* 8027C250 002791B0 38 61 00 08 */ addi r3, r1, 8 +/* 8027C254 002791B4 4B FF FE B5 */ bl sub_8027c108 +/* 8027C258 002791B8 80 01 00 08 */ lwz r0, 8(r1) +/* 8027C25C 002791BC 38 81 00 0C */ addi r4, r1, 0xc +/* 8027C260 002791C0 38 7F 00 04 */ addi r3, r31, 4 +/* 8027C264 002791C4 90 1F 00 00 */ stw r0, 0(r31) +/* 8027C268 002791C8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8027C26C 002791CC 7C 09 03 A6 */ mtctr r0 +/* 8027C270 002791D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8027C274 002791D4 40 81 00 20 */ ble lbl_8027C294 +lbl_8027C278: +/* 8027C278 002791D8 28 03 00 00 */ cmplwi r3, 0 +/* 8027C27C 002791DC 41 82 00 0C */ beq lbl_8027C288 +/* 8027C280 002791E0 C0 04 00 00 */ lfs f0, 0(r4) +/* 8027C284 002791E4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8027C288: +/* 8027C288 002791E8 38 63 00 04 */ addi r3, r3, 4 +/* 8027C28C 002791EC 38 84 00 04 */ addi r4, r4, 4 +/* 8027C290 002791F0 42 00 FF E8 */ bdnz lbl_8027C278 +lbl_8027C294: +/* 8027C294 002791F4 80 A1 00 08 */ lwz r5, 8(r1) +/* 8027C298 002791F8 38 60 00 00 */ li r3, 0 +/* 8027C29C 002791FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8027C2A0 00279200 40 81 00 40 */ ble lbl_8027C2E0 +/* 8027C2A4 00279204 2C 05 00 08 */ cmpwi r5, 8 +/* 8027C2A8 00279208 38 85 FF F8 */ addi r4, r5, -8 +/* 8027C2AC 0027920C 40 81 00 20 */ ble lbl_8027C2CC +/* 8027C2B0 00279210 38 04 00 07 */ addi r0, r4, 7 +/* 8027C2B4 00279214 54 00 E8 FE */ srwi r0, r0, 3 +/* 8027C2B8 00279218 7C 09 03 A6 */ mtctr r0 +/* 8027C2BC 0027921C 2C 04 00 00 */ cmpwi r4, 0 +/* 8027C2C0 00279220 40 81 00 0C */ ble lbl_8027C2CC +lbl_8027C2C4: +/* 8027C2C4 00279224 38 63 00 08 */ addi r3, r3, 8 +/* 8027C2C8 00279228 42 00 FF FC */ bdnz lbl_8027C2C4 +lbl_8027C2CC: +/* 8027C2CC 0027922C 7C 03 28 50 */ subf r0, r3, r5 +/* 8027C2D0 00279230 7C 09 03 A6 */ mtctr r0 +/* 8027C2D4 00279234 7C 03 28 00 */ cmpw r3, r5 +/* 8027C2D8 00279238 40 80 00 08 */ bge lbl_8027C2E0 +lbl_8027C2DC: +/* 8027C2DC 0027923C 42 00 00 00 */ bdnz lbl_8027C2DC +lbl_8027C2E0: +/* 8027C2E0 00279240 38 00 00 00 */ li r0, 0 +/* 8027C2E4 00279244 7F E3 FB 78 */ mr r3, r31 +/* 8027C2E8 00279248 90 01 00 08 */ stw r0, 8(r1) +/* 8027C2EC 0027924C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027C2F0 00279250 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027C2F4 00279254 7C 08 03 A6 */ mtlr r0 +/* 8027C2F8 00279258 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027C2FC 0027925C 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct6FR12CInputStream +__ct__13SPrimeStruct6FR12CInputStream: +/* 8027C300 00279260 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C304 00279264 7C 08 02 A6 */ mflr r0 +/* 8027C308 00279268 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C30C 0027926C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C310 00279270 7C 9F 23 78 */ mr r31, r4 +/* 8027C314 00279274 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C318 00279278 7C 7E 1B 78 */ mr r30, r3 +/* 8027C31C 0027927C 7F E3 FB 78 */ mr r3, r31 +/* 8027C320 00279280 48 0C 29 65 */ bl ReadLong__12CInputStreamFv +/* 8027C324 00279284 90 7E 00 00 */ stw r3, 0(r30) +/* 8027C328 00279288 7F E4 FB 78 */ mr r4, r31 +/* 8027C32C 0027928C 38 7E 00 04 */ addi r3, r30, 4 +/* 8027C330 00279290 4B E8 68 29 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 8027C334 00279294 7F E4 FB 78 */ mr r4, r31 +/* 8027C338 00279298 38 7E 00 6C */ addi r3, r30, 0x6c +/* 8027C33C 0027929C 48 0E 71 11 */ bl __ct__6CColorFR12CInputStream +/* 8027C340 002792A0 7F E3 FB 78 */ mr r3, r31 +/* 8027C344 002792A4 48 0C 29 41 */ bl ReadLong__12CInputStreamFv +/* 8027C348 002792A8 90 7E 00 70 */ stw r3, 0x70(r30) +/* 8027C34C 002792AC 7F E3 FB 78 */ mr r3, r31 +/* 8027C350 002792B0 48 0C 29 35 */ bl ReadLong__12CInputStreamFv +/* 8027C354 002792B4 90 7E 00 74 */ stw r3, 0x74(r30) +/* 8027C358 002792B8 7F C3 F3 78 */ mr r3, r30 +/* 8027C35C 002792BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C360 002792C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C364 002792C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C368 002792C8 7C 08 03 A6 */ mtlr r0 +/* 8027C36C 002792CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C370 002792D0 4E 80 00 20 */ blr + +.global BuildCameraShakeData__FRC21SPrimeCameraShakeData +BuildCameraShakeData__FRC21SPrimeCameraShakeData: +/* 8027C374 002792D4 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8027C378 002792D8 7C 08 02 A6 */ mflr r0 +/* 8027C37C 002792DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8027C380 002792E0 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 8027C384 002792E4 7C 9F 23 78 */ mr r31, r4 +/* 8027C388 002792E8 38 9F 00 0C */ addi r4, r31, 0xc +/* 8027C38C 002792EC 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 8027C390 002792F0 7C 7E 1B 78 */ mr r30, r3 +/* 8027C394 002792F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 8027C398 002792F8 48 00 00 A5 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C39C 002792FC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8027C3A0 00279300 38 9F 00 30 */ addi r4, r31, 0x30 +/* 8027C3A4 00279304 48 00 00 99 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C3A8 00279308 38 61 00 08 */ addi r3, r1, 8 +/* 8027C3AC 0027930C 38 9F 00 54 */ addi r4, r31, 0x54 +/* 8027C3B0 00279310 48 00 00 8D */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +/* 8027C3B4 00279314 88 9F 00 00 */ lbz r4, 0(r31) +/* 8027C3B8 00279318 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8027C3BC 0027931C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8027C3C0 00279320 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8027C3C4 00279324 7C 04 00 D0 */ neg r0, r4 +/* 8027C3C8 00279328 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8027C3CC 0027932C 7C 00 23 78 */ or r0, r0, r4 +/* 8027C3D0 00279330 7F C3 F3 78 */ mr r3, r30 +/* 8027C3D4 00279334 38 C1 00 80 */ addi r6, r1, 0x80 +/* 8027C3D8 00279338 38 E1 00 44 */ addi r7, r1, 0x44 +/* 8027C3DC 0027933C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8027C3E0 00279340 39 01 00 08 */ addi r8, r1, 8 +/* 8027C3E4 00279344 4B EE 0A B5 */ bl __ct__16CCameraShakeDataFffiRC9CVector3fRC22CCameraShakerComponentRC22CCameraShakerComponentRC22CCameraShakerComponent +/* 8027C3E8 00279348 34 01 00 08 */ addic. r0, r1, 8 +/* 8027C3EC 0027934C 41 82 00 10 */ beq lbl_8027C3FC +/* 8027C3F0 00279350 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C3F4 00279354 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C3F8 00279358 90 01 00 08 */ stw r0, 8(r1) +lbl_8027C3FC: +/* 8027C3FC 0027935C 34 01 00 44 */ addic. r0, r1, 0x44 +/* 8027C400 00279360 41 82 00 10 */ beq lbl_8027C410 +/* 8027C404 00279364 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C408 00279368 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C40C 0027936C 90 01 00 44 */ stw r0, 0x44(r1) +lbl_8027C410: +/* 8027C410 00279370 34 01 00 80 */ addic. r0, r1, 0x80 +/* 8027C414 00279374 41 82 00 10 */ beq lbl_8027C424 +/* 8027C418 00279378 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8027C41C 0027937C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8027C420 00279380 90 01 00 80 */ stw r0, 0x80(r1) +lbl_8027C424: +/* 8027C424 00279384 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8027C428 00279388 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 8027C42C 0027938C 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 8027C430 00279390 7C 08 03 A6 */ mtlr r0 +/* 8027C434 00279394 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8027C438 00279398 4E 80 00 20 */ blr + +.global BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent +BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent: +/* 8027C43C 0027939C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8027C440 002793A0 7C 08 02 A6 */ mflr r0 +/* 8027C444 002793A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8027C448 002793A8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8027C44C 002793AC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8027C450 002793B0 7C 9E 23 78 */ mr r30, r4 +/* 8027C454 002793B4 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8027C458 002793B8 7C 7D 1B 78 */ mr r29, r3 +/* 8027C45C 002793BC 38 61 00 08 */ addi r3, r1, 8 +/* 8027C460 002793C0 88 A4 00 00 */ lbz r5, 0(r4) +/* 8027C464 002793C4 38 9E 00 14 */ addi r4, r30, 0x14 +/* 8027C468 002793C8 7C 05 00 D0 */ neg r0, r5 +/* 8027C46C 002793CC 7C 00 2B 78 */ or r0, r0, r5 +/* 8027C470 002793D0 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 8027C474 002793D4 48 00 00 41 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +/* 8027C478 002793D8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027C47C 002793DC 38 9E 00 04 */ addi r4, r30, 4 +/* 8027C480 002793E0 48 00 00 35 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +/* 8027C484 002793E4 7F A3 EB 78 */ mr r3, r29 +/* 8027C488 002793E8 7F E4 FB 78 */ mr r4, r31 +/* 8027C48C 002793EC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027C490 002793F0 38 C1 00 08 */ addi r6, r1, 8 +/* 8027C494 002793F4 4B EE 0D BD */ bl __ct__22CCameraShakerComponentFiRC17SCameraShakePointRC17SCameraShakePoint +/* 8027C498 002793F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8027C49C 002793FC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8027C4A0 00279400 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8027C4A4 00279404 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8027C4A8 00279408 7C 08 03 A6 */ mtlr r0 +/* 8027C4AC 0027940C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8027C4B0 00279410 4E 80 00 20 */ blr + +.global BuildCameraShakePoint__FRC22SPrimeCameraShakePoint +BuildCameraShakePoint__FRC22SPrimeCameraShakePoint: +/* 8027C4B4 00279414 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C4B8 00279418 7C 08 02 A6 */ mflr r0 +/* 8027C4BC 0027941C 7C 85 23 78 */ mr r5, r4 +/* 8027C4C0 00279420 38 80 00 00 */ li r4, 0 +/* 8027C4C4 00279424 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C4C8 00279428 C0 25 00 00 */ lfs f1, 0(r5) +/* 8027C4CC 0027942C C0 45 00 04 */ lfs f2, 4(r5) +/* 8027C4D0 00279430 C0 65 00 08 */ lfs f3, 8(r5) +/* 8027C4D4 00279434 C0 85 00 0C */ lfs f4, 0xc(r5) +/* 8027C4D8 00279438 4B EE 0F CD */ bl __ct__17SCameraShakePointFiffff +/* 8027C4DC 0027943C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C4E0 00279440 7C 08 03 A6 */ mtlr r0 +/* 8027C4E4 00279444 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C4E8 00279448 4E 80 00 20 */ blr + +.global sub_8027c4ec +sub_8027c4ec: +/* 8027C4EC 0027944C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C4F0 00279450 7C 08 02 A6 */ mflr r0 +/* 8027C4F4 00279454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C4F8 00279458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C4FC 0027945C 7C 9F 23 78 */ mr r31, r4 +/* 8027C500 00279460 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C504 00279464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8027C508 00279468 41 82 00 28 */ beq lbl_8027C530 +/* 8027C50C 0027946C 3C A0 80 3F */ lis r5, lbl_803EB0FC@ha +/* 8027C510 00279470 38 80 00 00 */ li r4, 0 +/* 8027C514 00279474 38 05 B0 FC */ addi r0, r5, lbl_803EB0FC@l +/* 8027C518 00279478 90 1E 00 00 */ stw r0, 0(r30) +/* 8027C51C 0027947C 4B E9 FE F9 */ bl __dt__13CPhysicsActorFv +/* 8027C520 00279480 7F E0 07 35 */ extsh. r0, r31 +/* 8027C524 00279484 40 81 00 0C */ ble lbl_8027C530 +/* 8027C528 00279488 7F C3 F3 78 */ mr r3, r30 +/* 8027C52C 0027948C 48 09 94 05 */ bl Free__7CMemoryFPCv +lbl_8027C530: +/* 8027C530 00279490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C534 00279494 7F C3 F3 78 */ mr r3, r30 +/* 8027C538 00279498 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C53C 0027949C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C540 002794A0 7C 08 03 A6 */ mtlr r0 +/* 8027C544 002794A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C548 002794A8 4E 80 00 20 */ blr + +.global __sinit_CMetroidPrimeExo_cpp +__sinit_CMetroidPrimeExo_cpp: +/* 8027C54C 002794AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C550 002794B0 3C 60 80 3D */ lis r3, lbl_803D5454@ha +/* 8027C554 002794B4 39 23 54 54 */ addi r9, r3, lbl_803D5454@l +/* 8027C558 002794B8 3C 80 80 3F */ lis r4, lbl_803EAA90@ha +/* 8027C55C 002794BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C560 002794C0 38 64 AA 90 */ addi r3, r4, lbl_803EAA90@l +/* 8027C564 002794C4 81 82 BB E8 */ lwz r12, lbl_805AD908@sda21(r2) +/* 8027C568 002794C8 39 63 00 18 */ addi r11, r3, 0x18 +/* 8027C56C 002794CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C570 002794D0 3B E3 00 00 */ addi r31, r3, 0 +/* 8027C574 002794D4 83 C2 BB E4 */ lwz r30, lbl_805AD904@sda21(r2) +/* 8027C578 002794D8 38 E3 01 E4 */ addi r7, r3, 0x1e4 +/* 8027C57C 002794DC 81 42 BB EC */ lwz r10, lbl_805AD90C@sda21(r2) +/* 8027C580 002794E0 81 09 00 08 */ lwz r8, 8(r9) +/* 8027C584 002794E4 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 8027C588 002794E8 80 A9 00 00 */ lwz r5, 0(r9) +/* 8027C58C 002794EC 80 89 00 04 */ lwz r4, 4(r9) +/* 8027C590 002794F0 80 69 00 10 */ lwz r3, 0x10(r9) +/* 8027C594 002794F4 80 09 00 14 */ lwz r0, 0x14(r9) +/* 8027C598 002794F8 93 DF 00 10 */ stw r30, 0x10(r31) +/* 8027C59C 002794FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C5A0 00279500 91 8B 01 B8 */ stw r12, 0x1b8(r11) +/* 8027C5A4 00279504 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C5A8 00279508 91 4B 01 BC */ stw r10, 0x1bc(r11) +/* 8027C5AC 0027950C 91 07 00 10 */ stw r8, 0x10(r7) +/* 8027C5B0 00279510 90 C7 00 14 */ stw r6, 0x14(r7) +/* 8027C5B4 00279514 90 A7 00 20 */ stw r5, 0x20(r7) +/* 8027C5B8 00279518 90 87 00 24 */ stw r4, 0x24(r7) +/* 8027C5BC 0027951C 90 67 00 30 */ stw r3, 0x30(r7) +/* 8027C5C0 00279520 90 07 00 34 */ stw r0, 0x34(r7) +/* 8027C5C4 00279524 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C5C8 00279528 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s new file mode 100644 index 00000000..4f225777 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.s @@ -0,0 +1,324 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__23CMetroidPrimeProjectileFv +__dt__23CMetroidPrimeProjectileFv: +/* 802A0338 0029D298 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A033C 0029D29C 7C 08 02 A6 */ mflr r0 +/* 802A0340 0029D2A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0344 0029D2A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A0348 0029D2A8 7C 9F 23 78 */ mr r31, r4 +/* 802A034C 0029D2AC 93 C1 00 08 */ stw r30, 8(r1) +/* 802A0350 0029D2B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A0354 0029D2B4 41 82 00 44 */ beq lbl_802A0398 +/* 802A0358 0029D2B8 3C 60 80 3F */ lis r3, lbl_803EC390@ha +/* 802A035C 0029D2BC 34 1E 03 D8 */ addic. r0, r30, 0x3d8 +/* 802A0360 0029D2C0 38 03 C3 90 */ addi r0, r3, lbl_803EC390@l +/* 802A0364 0029D2C4 90 1E 00 00 */ stw r0, 0(r30) +/* 802A0368 0029D2C8 41 82 00 14 */ beq lbl_802A037C +/* 802A036C 0029D2CC 34 7E 03 DC */ addic. r3, r30, 0x3dc +/* 802A0370 0029D2D0 41 82 00 0C */ beq lbl_802A037C +/* 802A0374 0029D2D4 38 80 00 00 */ li r4, 0 +/* 802A0378 0029D2D8 48 0A 0A C9 */ bl __dt__6CTokenFv +lbl_802A037C: +/* 802A037C 0029D2DC 7F C3 F3 78 */ mr r3, r30 +/* 802A0380 0029D2E0 38 80 00 00 */ li r4, 0 +/* 802A0384 0029D2E4 4B E9 B5 71 */ bl __dt__17CEnergyProjectileFv +/* 802A0388 0029D2E8 7F E0 07 35 */ extsh. r0, r31 +/* 802A038C 0029D2EC 40 81 00 0C */ ble lbl_802A0398 +/* 802A0390 0029D2F0 7F C3 F3 78 */ mr r3, r30 +/* 802A0394 0029D2F4 48 07 55 9D */ bl Free__7CMemoryFPCv +lbl_802A0398: +/* 802A0398 0029D2F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A039C 0029D2FC 7F C3 F3 78 */ mr r3, r30 +/* 802A03A0 0029D300 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A03A4 0029D304 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A03A8 0029D308 7C 08 03 A6 */ mtlr r0 +/* 802A03AC 0029D30C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A03B0 0029D310 4E 80 00 20 */ blr + +.global __ct__20SPrimeProjectileInfoFR12CInputStream +__ct__20SPrimeProjectileInfoFR12CInputStream: +/* 802A03B4 0029D314 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A03B8 0029D318 7C 08 02 A6 */ mflr r0 +/* 802A03BC 0029D31C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A03C0 0029D320 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A03C4 0029D324 7C 9F 23 78 */ mr r31, r4 +/* 802A03C8 0029D328 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A03CC 0029D32C 7C 7E 1B 78 */ mr r30, r3 +/* 802A03D0 0029D330 7F E3 FB 78 */ mr r3, r31 +/* 802A03D4 0029D334 48 09 E8 B1 */ bl ReadLong__12CInputStreamFv +/* 802A03D8 0029D338 90 7E 00 00 */ stw r3, 0(r30) +/* 802A03DC 0029D33C 7F E3 FB 78 */ mr r3, r31 +/* 802A03E0 0029D340 48 09 E8 A5 */ bl ReadLong__12CInputStreamFv +/* 802A03E4 0029D344 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 802A03E8 0029D348 90 61 00 14 */ stw r3, 0x14(r1) +/* 802A03EC 0029D34C 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 802A03F0 0029D350 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802A03F4 0029D354 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A03F8 0029D358 38 61 00 08 */ addi r3, r1, 8 +/* 802A03FC 0029D35C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A0400 0029D360 81 84 00 00 */ lwz r12, 0(r4) +/* 802A0404 0029D364 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802A0408 0029D368 7D 89 03 A6 */ mtctr r12 +/* 802A040C 0029D36C 4E 80 04 21 */ bctrl +/* 802A0410 0029D370 38 7E 00 04 */ addi r3, r30, 4 +/* 802A0414 0029D374 38 81 00 08 */ addi r4, r1, 8 +/* 802A0418 0029D378 48 0A 0A 91 */ bl __ct__6CTokenFRC6CToken +/* 802A041C 0029D37C 38 61 00 08 */ addi r3, r1, 8 +/* 802A0420 0029D380 38 80 FF FF */ li r4, -1 +/* 802A0424 0029D384 48 0A 0A 1D */ bl __dt__6CTokenFv +/* 802A0428 0029D388 7F E4 FB 78 */ mr r4, r31 +/* 802A042C 0029D38C 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A0430 0029D390 4B E2 31 31 */ bl __ct__11CDamageInfoFR12CInputStream +/* 802A0434 0029D394 7F E3 FB 78 */ mr r3, r31 +/* 802A0438 0029D398 48 09 E7 F1 */ bl ReadFloat__12CInputStreamFv +/* 802A043C 0029D39C D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 802A0440 0029D3A0 7F E3 FB 78 */ mr r3, r31 +/* 802A0444 0029D3A4 48 09 E7 E5 */ bl ReadFloat__12CInputStreamFv +/* 802A0448 0029D3A8 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 802A044C 0029D3AC 7F E3 FB 78 */ mr r3, r31 +/* 802A0450 0029D3B0 48 09 E7 D9 */ bl ReadFloat__12CInputStreamFv +/* 802A0454 0029D3B4 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 802A0458 0029D3B8 7F E3 FB 78 */ mr r3, r31 +/* 802A045C 0029D3BC 48 09 E8 29 */ bl ReadLong__12CInputStreamFv +/* 802A0460 0029D3C0 90 7E 00 34 */ stw r3, 0x34(r30) +/* 802A0464 0029D3C4 7F E3 FB 78 */ mr r3, r31 +/* 802A0468 0029D3C8 48 09 E8 75 */ bl ReadBool__12CInputStreamFv +/* 802A046C 0029D3CC 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A0470 0029D3D0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802A0474 0029D3D4 7F E3 FB 78 */ mr r3, r31 +/* 802A0478 0029D3D8 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A047C 0029D3DC 48 09 E8 61 */ bl ReadBool__12CInputStreamFv +/* 802A0480 0029D3E0 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A0484 0029D3E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802A0488 0029D3E8 7F E3 FB 78 */ mr r3, r31 +/* 802A048C 0029D3EC 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A0490 0029D3F0 48 09 E8 4D */ bl ReadBool__12CInputStreamFv +/* 802A0494 0029D3F4 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A0498 0029D3F8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802A049C 0029D3FC 7F E3 FB 78 */ mr r3, r31 +/* 802A04A0 0029D400 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A04A4 0029D404 48 09 E8 39 */ bl ReadBool__12CInputStreamFv +/* 802A04A8 0029D408 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A04AC 0029D40C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802A04B0 0029D410 7F C3 F3 78 */ mr r3, r30 +/* 802A04B4 0029D414 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A04B8 0029D418 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A04BC 0029D41C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A04C0 0029D420 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A04C4 0029D424 7C 08 03 A6 */ mtlr r0 +/* 802A04C8 0029D428 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A04CC 0029D42C 4E 80 00 20 */ blr + +.global Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId +Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId: +/* 802A04D0 0029D430 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 802A04D4 0029D434 7C 08 02 A6 */ mflr r0 +/* 802A04D8 0029D438 90 01 01 44 */ stw r0, 0x144(r1) +/* 802A04DC 0029D43C BE E1 01 1C */ stmw r23, 0x11c(r1) +/* 802A04E0 0029D440 7C 7C 1B 78 */ mr r28, r3 +/* 802A04E4 0029D444 7C FD 3B 78 */ mr r29, r7 +/* 802A04E8 0029D448 A0 09 00 00 */ lhz r0, 0(r9) +/* 802A04EC 0029D44C 39 21 00 38 */ addi r9, r1, 0x38 +/* 802A04F0 0029D450 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802A04F4 0029D454 4B F7 47 05 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId +/* 802A04F8 0029D458 88 1C 02 E4 */ lbz r0, 0x2e4(r28) +/* 802A04FC 0029D45C 7C 7E 1B 78 */ mr r30, r3 +/* 802A0500 0029D460 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A0504 0029D464 40 82 01 70 */ bne lbl_802A0674 +/* 802A0508 0029D468 7F A4 EB 78 */ mr r4, r29 +/* 802A050C 0029D46C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A0510 0029D470 4B DA CB CD */ bl AllocateUniqueId__13CStateManagerFv +/* 802A0514 0029D474 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 802A0518 0029D478 3B FC 03 E4 */ addi r31, r28, 0x3e4 +/* 802A051C 0029D47C C0 3C 03 F4 */ lfs f1, 0x3f4(r28) +/* 802A0520 0029D480 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802A0524 0029D484 C0 42 C1 10 */ lfs f2, lbl_805ADE30@sda21(r2) +/* 802A0528 0029D488 C0 02 C1 14 */ lfs f0, lbl_805ADE34@sda21(r2) +/* 802A052C 0029D48C B0 01 00 3C */ sth r0, 0x3c(r1) +/* 802A0530 0029D490 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802A0534 0029D494 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A0538 0029D498 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802A053C 0029D49C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802A0540 0029D4A0 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802A0544 0029D4A4 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802A0548 0029D4A8 48 07 2C F9 */ bl Scale__12CTransform4fFf +/* 802A054C 0029D4AC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802A0550 0029D4B0 38 9C 00 34 */ addi r4, r28, 0x34 +/* 802A0554 0029D4B4 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 802A0558 0029D4B8 48 07 23 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802A055C 0029D4BC 38 61 00 6C */ addi r3, r1, 0x6c +/* 802A0560 0029D4C0 38 81 00 60 */ addi r4, r1, 0x60 +/* 802A0564 0029D4C4 38 A1 00 54 */ addi r5, r1, 0x54 +/* 802A0568 0029D4C8 48 09 7F A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A056C 0029D4CC 7C 64 1B 78 */ mr r4, r3 +/* 802A0570 0029D4D0 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A0574 0029D4D4 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 802A0578 0029D4D8 48 09 73 85 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802A057C 0029D4DC C0 A1 00 84 */ lfs f5, 0x84(r1) +/* 802A0580 0029D4E0 3C 60 80 3D */ lis r3, lbl_803D5EE8@ha +/* 802A0584 0029D4E4 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 802A0588 0029D4E8 38 83 5E E8 */ addi r4, r3, lbl_803D5EE8@l +/* 802A058C 0029D4EC C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 802A0590 0029D4F0 38 60 01 60 */ li r3, 0x160 +/* 802A0594 0029D4F4 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802A0598 0029D4F8 38 A0 00 00 */ li r5, 0 +/* 802A059C 0029D4FC C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802A05A0 0029D500 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802A05A4 0029D504 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 802A05A8 0029D508 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 802A05AC 0029D50C D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 802A05B0 0029D510 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 802A05B4 0029D514 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 802A05B8 0029D518 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 802A05BC 0029D51C 48 07 52 B1 */ bl __nw__FUlPCcPCc +/* 802A05C0 0029D520 7C 64 1B 79 */ or. r4, r3, r3 +/* 802A05C4 0029D524 41 82 00 A0 */ beq lbl_802A0664 +/* 802A05C8 0029D528 88 9C 04 10 */ lbz r4, 0x410(r28) +/* 802A05CC 0029D52C 7F EA FB 78 */ mr r10, r31 +/* 802A05D0 0029D530 C0 9C 04 08 */ lfs f4, 0x408(r28) +/* 802A05D4 0029D534 39 3C 00 34 */ addi r9, r28, 0x34 +/* 802A05D8 0029D538 C0 7C 04 04 */ lfs f3, 0x404(r28) +/* 802A05DC 0029D53C 54 97 E7 FE */ rlwinm r23, r4, 0x1c, 0x1f, 0x1f +/* 802A05E0 0029D540 C0 5C 04 00 */ lfs f2, 0x400(r28) +/* 802A05E4 0029D544 54 99 CF FE */ rlwinm r25, r4, 0x19, 0x1f, 0x1f +/* 802A05E8 0029D548 C0 22 C1 10 */ lfs f1, lbl_805ADE30@sda21(r2) +/* 802A05EC 0029D54C 54 9A D7 FE */ rlwinm r26, r4, 0x1a, 0x1f, 0x1f +/* 802A05F0 0029D550 83 1C 04 0C */ lwz r24, 0x40c(r28) +/* 802A05F4 0029D554 54 9B DF FE */ rlwinm r27, r4, 0x1b, 0x1f, 0x1f +/* 802A05F8 0029D558 A1 81 00 3C */ lhz r12, 0x3c(r1) +/* 802A05FC 0029D55C 38 9C 03 DC */ addi r4, r28, 0x3dc +/* 802A0600 0029D560 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802A0604 0029D564 39 61 00 9C */ addi r11, r1, 0x9c +/* 802A0608 0029D568 38 01 00 48 */ addi r0, r1, 0x48 +/* 802A060C 0029D56C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802A0610 0029D570 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802A0614 0029D574 38 C1 00 44 */ addi r6, r1, 0x44 +/* 802A0618 0029D578 39 01 00 30 */ addi r8, r1, 0x30 +/* 802A061C 0029D57C 38 E0 00 01 */ li r7, 1 +/* 802A0620 0029D580 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802A0624 0029D584 A3 FC 00 08 */ lhz r31, 8(r28) +/* 802A0628 0029D588 B3 E1 00 30 */ sth r31, 0x30(r1) +/* 802A062C 0029D58C 83 9C 00 04 */ lwz r28, 4(r28) +/* 802A0630 0029D590 B3 E1 00 2C */ sth r31, 0x2c(r1) +/* 802A0634 0029D594 93 81 00 44 */ stw r28, 0x44(r1) +/* 802A0638 0029D598 B1 81 00 28 */ sth r12, 0x28(r1) +/* 802A063C 0029D59C 91 61 00 08 */ stw r11, 8(r1) +/* 802A0640 0029D5A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802A0644 0029D5A4 92 E1 00 10 */ stw r23, 0x10(r1) +/* 802A0648 0029D5A8 93 01 00 14 */ stw r24, 0x14(r1) +/* 802A064C 0029D5AC 93 21 00 18 */ stw r25, 0x18(r1) +/* 802A0650 0029D5B0 93 41 00 1C */ stw r26, 0x1c(r1) +/* 802A0654 0029D5B4 93 81 00 40 */ stw r28, 0x40(r1) +/* 802A0658 0029D5B8 93 61 00 20 */ stw r27, 0x20(r1) +/* 802A065C 0029D5BC 4B FB CB 81 */ bl __ct__5CFire +/* 802A0660 0029D5C0 7C 64 1B 78 */ mr r4, r3 +lbl_802A0664: +/* 802A0664 0029D5C4 28 04 00 00 */ cmplwi r4, 0 +/* 802A0668 0029D5C8 41 82 00 0C */ beq lbl_802A0674 +/* 802A066C 0029D5CC 7F A3 EB 78 */ mr r3, r29 +/* 802A0670 0029D5D0 4B DA C6 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_802A0674: +/* 802A0674 0029D5D4 7F C3 F3 78 */ mr r3, r30 +/* 802A0678 0029D5D8 BA E1 01 1C */ lmw r23, 0x11c(r1) +/* 802A067C 0029D5DC 80 01 01 44 */ lwz r0, 0x144(r1) +/* 802A0680 0029D5E0 7C 08 03 A6 */ mtlr r0 +/* 802A0684 0029D5E4 38 21 01 40 */ addi r1, r1, 0x140 +/* 802A0688 0029D5E8 4E 80 00 20 */ blr + +.global Accept__23CMetroidPrimeProjectileFR8IVisitor +Accept__23CMetroidPrimeProjectileFR8IVisitor: +/* 802A068C 0029D5EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0690 0029D5F0 7C 08 02 A6 */ mflr r0 +/* 802A0694 0029D5F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0698 0029D5F8 7C 60 1B 78 */ mr r0, r3 +/* 802A069C 0029D5FC 7C 83 23 78 */ mr r3, r4 +/* 802A06A0 0029D600 81 84 00 00 */ lwz r12, 0(r4) +/* 802A06A4 0029D604 7C 04 03 78 */ mr r4, r0 +/* 802A06A8 0029D608 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802A06AC 0029D60C 7D 89 03 A6 */ mtctr r12 +/* 802A06B0 0029D610 4E 80 04 21 */ bctrl +/* 802A06B4 0029D614 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A06B8 0029D618 7C 08 03 A6 */ mtlr r0 +/* 802A06BC 0029D61C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A06C0 0029D620 4E 80 00 20 */ blr + +.global "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +"__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb": +/* 802A06C4 0029D624 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802A06C8 0029D628 7C 08 02 A6 */ mflr r0 +/* 802A06CC 0029D62C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A06D0 0029D630 39 81 00 34 */ addi r12, r1, 0x34 +/* 802A06D4 0029D634 81 61 00 74 */ lwz r11, 0x74(r1) +/* 802A06D8 0029D638 38 00 00 00 */ li r0, 0 +/* 802A06DC 0029D63C BF 01 00 40 */ stmw r24, 0x40(r1) +/* 802A06E0 0029D640 3B C1 00 3C */ addi r30, r1, 0x3c +/* 802A06E4 0029D644 83 01 00 6C */ lwz r24, 0x6c(r1) +/* 802A06E8 0029D648 7C 7F 1B 78 */ mr r31, r3 +/* 802A06EC 0029D64C 83 41 00 68 */ lwz r26, 0x68(r1) +/* 802A06F0 0029D650 83 21 00 7C */ lwz r25, 0x7c(r1) +/* 802A06F4 0029D654 A3 61 00 86 */ lhz r27, 0x86(r1) +/* 802A06F8 0029D658 A3 AA 00 00 */ lhz r29, 0(r10) +/* 802A06FC 0029D65C A1 4B 00 00 */ lhz r10, 0(r11) +/* 802A0700 0029D660 39 61 00 30 */ addi r11, r1, 0x30 +/* 802A0704 0029D664 B1 41 00 30 */ sth r10, 0x30(r1) +/* 802A0708 0029D668 39 41 00 38 */ addi r10, r1, 0x38 +/* 802A070C 0029D66C A3 98 00 00 */ lhz r28, 0(r24) +/* 802A0710 0029D670 83 01 00 78 */ lwz r24, 0x78(r1) +/* 802A0714 0029D674 B3 81 00 34 */ sth r28, 0x34(r1) +/* 802A0718 0029D678 83 9A 00 00 */ lwz r28, 0(r26) +/* 802A071C 0029D67C 83 41 00 80 */ lwz r26, 0x80(r1) +/* 802A0720 0029D680 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802A0724 0029D684 8B 81 00 8B */ lbz r28, 0x8b(r1) +/* 802A0728 0029D688 B3 A1 00 38 */ sth r29, 0x38(r1) +/* 802A072C 0029D68C 83 A1 00 70 */ lwz r29, 0x70(r1) +/* 802A0730 0029D690 93 C1 00 08 */ stw r30, 8(r1) +/* 802A0734 0029D694 91 81 00 0C */ stw r12, 0xc(r1) +/* 802A0738 0029D698 91 61 00 10 */ stw r11, 0x10(r1) +/* 802A073C 0029D69C 93 01 00 14 */ stw r24, 0x14(r1) +/* 802A0740 0029D6A0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802A0744 0029D6A4 93 21 00 1C */ stw r25, 0x1c(r1) +/* 802A0748 0029D6A8 93 41 00 20 */ stw r26, 0x20(r1) +/* 802A074C 0029D6AC 93 61 00 24 */ stw r27, 0x24(r1) +/* 802A0750 0029D6B0 93 81 00 28 */ stw r28, 0x28(r1) +/* 802A0754 0029D6B4 4B F7 4F 45 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 802A0758 0029D6B8 3C 80 80 3F */ lis r4, lbl_803EC390@ha +/* 802A075C 0029D6BC 38 7F 03 DC */ addi r3, r31, 0x3dc +/* 802A0760 0029D6C0 38 04 C3 90 */ addi r0, r4, lbl_803EC390@l +/* 802A0764 0029D6C4 38 9D 00 04 */ addi r4, r29, 4 +/* 802A0768 0029D6C8 90 1F 00 00 */ stw r0, 0(r31) +/* 802A076C 0029D6CC 80 1D 00 00 */ lwz r0, 0(r29) +/* 802A0770 0029D6D0 90 1F 03 D8 */ stw r0, 0x3d8(r31) +/* 802A0774 0029D6D4 48 0A 07 35 */ bl __ct__6CTokenFRC6CToken +/* 802A0778 0029D6D8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802A077C 0029D6DC 7F E3 FB 78 */ mr r3, r31 +/* 802A0780 0029D6E0 90 1F 03 E4 */ stw r0, 0x3e4(r31) +/* 802A0784 0029D6E4 88 1D 00 10 */ lbz r0, 0x10(r29) +/* 802A0788 0029D6E8 98 1F 03 E8 */ stb r0, 0x3e8(r31) +/* 802A078C 0029D6EC C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 802A0790 0029D6F0 D0 1F 03 EC */ stfs f0, 0x3ec(r31) +/* 802A0794 0029D6F4 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 802A0798 0029D6F8 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) +/* 802A079C 0029D6FC C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 802A07A0 0029D700 D0 1F 03 F4 */ stfs f0, 0x3f4(r31) +/* 802A07A4 0029D704 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 802A07A8 0029D708 D0 1F 03 F8 */ stfs f0, 0x3f8(r31) +/* 802A07AC 0029D70C 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 802A07B0 0029D710 98 1F 03 FC */ stb r0, 0x3fc(r31) +/* 802A07B4 0029D714 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 802A07B8 0029D718 D0 1F 04 00 */ stfs f0, 0x400(r31) +/* 802A07BC 0029D71C C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 802A07C0 0029D720 D0 1F 04 04 */ stfs f0, 0x404(r31) +/* 802A07C4 0029D724 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 802A07C8 0029D728 D0 1F 04 08 */ stfs f0, 0x408(r31) +/* 802A07CC 0029D72C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 802A07D0 0029D730 90 1F 04 0C */ stw r0, 0x40c(r31) +/* 802A07D4 0029D734 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 802A07D8 0029D738 98 1F 04 10 */ stb r0, 0x410(r31) +/* 802A07DC 0029D73C BB 01 00 40 */ lmw r24, 0x40(r1) +/* 802A07E0 0029D740 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802A07E4 0029D744 7C 08 03 A6 */ mtlr r0 +/* 802A07E8 0029D748 38 21 00 60 */ addi r1, r1, 0x60 +/* 802A07EC 0029D74C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s b/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s new file mode 100644 index 00000000..18323bac --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.s @@ -0,0 +1,1749 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__18CMetroidPrimeRelayFv +__dt__18CMetroidPrimeRelayFv: +/* 80280460 0027D3C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280464 0027D3C4 7C 08 02 A6 */ mflr r0 +/* 80280468 0027D3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028046C 0027D3CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280470 0027D3D0 7C 9F 23 78 */ mr r31, r4 +/* 80280474 0027D3D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80280478 0027D3D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028047C 0027D3DC 41 82 00 CC */ beq lbl_80280548 +/* 80280480 0027D3E0 3C 60 80 3F */ lis r3, lbl_803EB638@ha +/* 80280484 0027D3E4 34 1E 0C B8 */ addic. r0, r30, 0xcb8 +/* 80280488 0027D3E8 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l +/* 8028048C 0027D3EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80280490 0027D3F0 41 82 00 90 */ beq lbl_80280520 +/* 80280494 0027D3F4 38 DE 0C BC */ addi r6, r30, 0xcbc +/* 80280498 0027D3F8 38 60 00 00 */ li r3, 0 +/* 8028049C 0027D3FC 48 00 00 70 */ b lbl_8028050C +lbl_802804A0: +/* 802804A0 0027D400 28 06 00 00 */ cmplwi r6, 0 +/* 802804A4 0027D404 41 82 00 60 */ beq lbl_80280504 +/* 802804A8 0027D408 41 82 00 5C */ beq lbl_80280504 +/* 802804AC 0027D40C 80 E6 00 00 */ lwz r7, 0(r6) +/* 802804B0 0027D410 38 80 00 00 */ li r4, 0 +/* 802804B4 0027D414 2C 07 00 00 */ cmpwi r7, 0 +/* 802804B8 0027D418 40 81 00 44 */ ble lbl_802804FC +/* 802804BC 0027D41C 2C 07 00 08 */ cmpwi r7, 8 +/* 802804C0 0027D420 38 A7 FF F8 */ addi r5, r7, -8 +/* 802804C4 0027D424 40 81 00 20 */ ble lbl_802804E4 +/* 802804C8 0027D428 38 05 00 07 */ addi r0, r5, 7 +/* 802804CC 0027D42C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802804D0 0027D430 7C 09 03 A6 */ mtctr r0 +/* 802804D4 0027D434 2C 05 00 00 */ cmpwi r5, 0 +/* 802804D8 0027D438 40 81 00 0C */ ble lbl_802804E4 +lbl_802804DC: +/* 802804DC 0027D43C 38 84 00 08 */ addi r4, r4, 8 +/* 802804E0 0027D440 42 00 FF FC */ bdnz lbl_802804DC +lbl_802804E4: +/* 802804E4 0027D444 7C 04 38 50 */ subf r0, r4, r7 +/* 802804E8 0027D448 7C 09 03 A6 */ mtctr r0 +/* 802804EC 0027D44C 7C 04 38 00 */ cmpw r4, r7 +/* 802804F0 0027D450 40 80 00 0C */ bge lbl_802804FC +lbl_802804F4: +/* 802804F4 0027D454 38 84 00 01 */ addi r4, r4, 1 +/* 802804F8 0027D458 42 00 FF FC */ bdnz lbl_802804F4 +lbl_802804FC: +/* 802804FC 0027D45C 38 00 00 00 */ li r0, 0 +/* 80280500 0027D460 90 06 00 00 */ stw r0, 0(r6) +lbl_80280504: +/* 80280504 0027D464 38 C6 00 3C */ addi r6, r6, 0x3c +/* 80280508 0027D468 38 63 00 01 */ addi r3, r3, 1 +lbl_8028050C: +/* 8028050C 0027D46C 80 1E 0C B8 */ lwz r0, 0xcb8(r30) +/* 80280510 0027D470 7C 03 00 00 */ cmpw r3, r0 +/* 80280514 0027D474 41 80 FF 8C */ blt lbl_802804A0 +/* 80280518 0027D478 38 00 00 00 */ li r0, 0 +/* 8028051C 0027D47C 90 1E 0C B8 */ stw r0, 0xcb8(r30) +lbl_80280520: +/* 80280520 0027D480 38 7E 00 74 */ addi r3, r30, 0x74 +/* 80280524 0027D484 38 80 FF FF */ li r4, -1 +/* 80280528 0027D488 4B E4 68 65 */ bl sub_800c6d8c +/* 8028052C 0027D48C 7F C3 F3 78 */ mr r3, r30 +/* 80280530 0027D490 38 80 00 00 */ li r4, 0 +/* 80280534 0027D494 4B DD 0D 41 */ bl __dt__7CEntityFv +/* 80280538 0027D498 7F E0 07 35 */ extsh. r0, r31 +/* 8028053C 0027D49C 40 81 00 0C */ ble lbl_80280548 +/* 80280540 0027D4A0 7F C3 F3 78 */ mr r3, r30 +/* 80280544 0027D4A4 48 09 53 ED */ bl Free__7CMemoryFPCv +lbl_80280548: +/* 80280548 0027D4A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028054C 0027D4AC 7F C3 F3 78 */ mr r3, r30 +/* 80280550 0027D4B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280554 0027D4B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80280558 0027D4B8 7C 08 03 A6 */ mtlr r0 +/* 8028055C 0027D4BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280560 0027D4C0 4E 80 00 20 */ blr + +.global GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager +GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager: +/* 80280564 0027D4C4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 80280568 0027D4C8 7C 08 02 A6 */ mflr r0 +/* 8028056C 0027D4CC 90 01 01 54 */ stw r0, 0x154(r1) +/* 80280570 0027D4D0 BE 81 01 20 */ stmw r20, 0x120(r1) +/* 80280574 0027D4D4 7C 7D 1B 78 */ mr r29, r3 +/* 80280578 0027D4D8 7C 9E 23 78 */ mr r30, r4 +/* 8028057C 0027D4DC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80280580 0027D4E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80280584 0027D4E4 41 82 02 8C */ beq lbl_80280810 +/* 80280588 0027D4E8 82 9E 08 20 */ lwz r20, 0x820(r30) +/* 8028058C 0027D4EC AA B4 20 08 */ lha r21, 0x2008(r20) +/* 80280590 0027D4F0 48 00 00 48 */ b lbl_802805D8 +lbl_80280594: +/* 80280594 0027D4F4 7E 83 A3 78 */ mr r3, r20 +/* 80280598 0027D4F8 7E A4 AB 78 */ mr r4, r21 +/* 8028059C 0027D4FC 4B D8 F7 79 */ bl __vc__11CObjectListFi +/* 802805A0 0027D500 7C 60 1B 78 */ mr r0, r3 +/* 802805A4 0027D504 38 61 00 88 */ addi r3, r1, 0x88 +/* 802805A8 0027D508 7C 04 03 78 */ mr r4, r0 +/* 802805AC 0027D50C 4B E2 4E C1 */ bl sub_800a546c +/* 802805B0 0027D510 4B E2 4E 91 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" +/* 802805B4 0027D514 28 03 00 00 */ cmplwi r3, 0 +/* 802805B8 0027D518 40 82 02 58 */ bne lbl_80280810 +/* 802805BC 0027D51C 2C 15 FF FF */ cmpwi r21, -1 +/* 802805C0 0027D520 41 82 00 14 */ beq lbl_802805D4 +/* 802805C4 0027D524 56 A3 18 38 */ slwi r3, r21, 3 +/* 802805C8 0027D528 38 03 00 08 */ addi r0, r3, 8 +/* 802805CC 0027D52C 7E B4 02 AE */ lhax r21, r20, r0 +/* 802805D0 0027D530 48 00 00 08 */ b lbl_802805D8 +lbl_802805D4: +/* 802805D4 0027D534 3A A0 FF FF */ li r21, -1 +lbl_802805D8: +/* 802805D8 0027D538 2C 15 FF FF */ cmpwi r21, -1 +/* 802805DC 0027D53C 40 82 FF B8 */ bne lbl_80280594 +/* 802805E0 0027D540 3C 60 80 3D */ lis r3, lbl_803D58D8@ha +/* 802805E4 0027D544 3B 80 00 00 */ li r28, 0 +/* 802805E8 0027D548 38 83 58 D8 */ addi r4, r3, lbl_803D58D8@l +/* 802805EC 0027D54C 3B 60 00 00 */ li r27, 0 +/* 802805F0 0027D550 3B 40 00 00 */ li r26, 0 +/* 802805F4 0027D554 38 60 14 48 */ li r3, 0x1448 +/* 802805F8 0027D558 38 A0 00 00 */ li r5, 0 +/* 802805FC 0027D55C 48 09 52 71 */ bl __nw__FUlPCcPCc +/* 80280600 0027D560 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80280604 0027D564 41 82 01 78 */ beq lbl_8028077C +/* 80280608 0027D568 80 FD 01 6C */ lwz r7, 0x16c(r29) +/* 8028060C 0027D56C 38 00 00 01 */ li r0, 1 +/* 80280610 0027D570 80 DD 01 68 */ lwz r6, 0x168(r29) +/* 80280614 0027D574 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80280618 0027D578 80 BD 01 64 */ lwz r5, 0x164(r29) +/* 8028061C 0027D57C 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80280620 0027D580 C0 5D 00 68 */ lfs f2, 0x68(r29) +/* 80280624 0027D584 C0 3D 00 6C */ lfs f1, 0x6c(r29) +/* 80280628 0027D588 C0 1D 00 70 */ lfs f0, 0x70(r29) +/* 8028062C 0027D58C 90 A1 00 B4 */ stw r5, 0xb4(r1) +/* 80280630 0027D590 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 80280634 0027D594 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 80280638 0027D598 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 8028063C 0027D59C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 80280640 0027D5A0 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 80280644 0027D5A4 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 80280648 0027D5A8 4B E9 65 0D */ bl __ct__10CModelDataFRC8CAnimRes +/* 8028064C 0027D5AC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80280650 0027D5B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80280654 0027D5B4 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 80280658 0027D5B8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8028065C 0027D5BC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80280660 0027D5C0 38 61 00 9C */ addi r3, r1, 0x9c +/* 80280664 0027D5C4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80280668 0027D5C8 3B 80 00 01 */ li r28, 1 +/* 8028066C 0027D5CC 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80280670 0027D5D0 38 C1 00 84 */ addi r6, r1, 0x84 +/* 80280674 0027D5D4 90 01 00 80 */ stw r0, 0x80(r1) +/* 80280678 0027D5D8 4B DD 0E 0D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8028067C 0027D5DC 3C 80 80 3D */ lis r4, lbl_803D58D8@ha +/* 80280680 0027D5E0 38 61 00 8C */ addi r3, r1, 0x8c +/* 80280684 0027D5E4 38 84 58 D8 */ addi r4, r4, lbl_803D58D8@l +/* 80280688 0027D5E8 3B 60 00 01 */ li r27, 1 +/* 8028068C 0027D5EC 38 84 00 07 */ addi r4, r4, 7 +/* 80280690 0027D5F0 4B D8 46 29 */ bl string_l__4rstlFPCc +/* 80280694 0027D5F4 7F C4 F3 78 */ mr r4, r30 +/* 80280698 0027D5F8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8028069C 0027D5FC 3B 40 00 01 */ li r26, 1 +/* 802806A0 0027D600 4B DC CA 3D */ bl AllocateUniqueId__13CStateManagerFv +/* 802806A4 0027D604 A0 81 00 64 */ lhz r4, 0x64(r1) +/* 802806A8 0027D608 38 7D 02 1C */ addi r3, r29, 0x21c +/* 802806AC 0027D60C 80 BD 02 18 */ lwz r5, 0x218(r29) +/* 802806B0 0027D610 38 1D 02 F0 */ addi r0, r29, 0x2f0 +/* 802806B4 0027D614 B0 81 00 68 */ sth r4, 0x68(r1) +/* 802806B8 0027D618 38 9D 03 C4 */ addi r4, r29, 0x3c4 +/* 802806BC 0027D61C 38 FD 04 98 */ addi r7, r29, 0x498 +/* 802806C0 0027D620 3A 9D 04 D8 */ addi r20, r29, 0x4d8 +/* 802806C4 0027D624 90 A1 00 08 */ stw r5, 8(r1) +/* 802806C8 0027D628 3A BD 07 80 */ addi r21, r29, 0x780 +/* 802806CC 0027D62C 3A DD 07 9C */ addi r22, r29, 0x79c +/* 802806D0 0027D630 3A FD 08 74 */ addi r23, r29, 0x874 +/* 802806D4 0027D634 90 61 00 0C */ stw r3, 0xc(r1) +/* 802806D8 0027D638 3B 1D 08 90 */ addi r24, r29, 0x890 +/* 802806DC 0027D63C 3B 3D 09 64 */ addi r25, r29, 0x964 +/* 802806E0 0027D640 39 9D 09 A0 */ addi r12, r29, 0x9a0 +/* 802806E4 0027D644 90 01 00 10 */ stw r0, 0x10(r1) +/* 802806E8 0027D648 39 7D 09 BC */ addi r11, r29, 0x9bc +/* 802806EC 0027D64C 38 1D 0A A0 */ addi r0, r29, 0xaa0 +/* 802806F0 0027D650 7F E3 FB 78 */ mr r3, r31 +/* 802806F4 0027D654 90 81 00 14 */ stw r4, 0x14(r1) +/* 802806F8 0027D658 38 81 00 68 */ addi r4, r1, 0x68 +/* 802806FC 0027D65C 38 A1 00 8C */ addi r5, r1, 0x8c +/* 80280700 0027D660 38 C1 00 9C */ addi r6, r1, 0x9c +/* 80280704 0027D664 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80280708 0027D668 38 FD 00 38 */ addi r7, r29, 0x38 +/* 8028070C 0027D66C 39 01 00 D0 */ addi r8, r1, 0xd0 +/* 80280710 0027D670 39 3D 00 78 */ addi r9, r29, 0x78 +/* 80280714 0027D674 83 FD 04 D4 */ lwz r31, 0x4d4(r29) +/* 80280718 0027D678 39 5D 01 B0 */ addi r10, r29, 0x1b0 +/* 8028071C 0027D67C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80280720 0027D680 92 81 00 20 */ stw r20, 0x20(r1) +/* 80280724 0027D684 83 FD 07 7C */ lwz r31, 0x77c(r29) +/* 80280728 0027D688 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8028072C 0027D68C 92 A1 00 28 */ stw r21, 0x28(r1) +/* 80280730 0027D690 92 C1 00 2C */ stw r22, 0x2c(r1) +/* 80280734 0027D694 83 FD 08 70 */ lwz r31, 0x870(r29) +/* 80280738 0027D698 93 E1 00 30 */ stw r31, 0x30(r1) +/* 8028073C 0027D69C 92 E1 00 34 */ stw r23, 0x34(r1) +/* 80280740 0027D6A0 93 01 00 38 */ stw r24, 0x38(r1) +/* 80280744 0027D6A4 93 21 00 3C */ stw r25, 0x3c(r1) +/* 80280748 0027D6A8 91 81 00 40 */ stw r12, 0x40(r1) +/* 8028074C 0027D6AC 91 61 00 44 */ stw r11, 0x44(r1) +/* 80280750 0027D6B0 81 7D 0A 90 */ lwz r11, 0xa90(r29) +/* 80280754 0027D6B4 91 61 00 48 */ stw r11, 0x48(r1) +/* 80280758 0027D6B8 81 7D 0A 94 */ lwz r11, 0xa94(r29) +/* 8028075C 0027D6BC 91 61 00 4C */ stw r11, 0x4c(r1) +/* 80280760 0027D6C0 81 7D 0A 98 */ lwz r11, 0xa98(r29) +/* 80280764 0027D6C4 91 61 00 50 */ stw r11, 0x50(r1) +/* 80280768 0027D6C8 81 7D 0A 9C */ lwz r11, 0xa9c(r29) +/* 8028076C 0027D6CC 91 61 00 54 */ stw r11, 0x54(r1) +/* 80280770 0027D6D0 90 01 00 58 */ stw r0, 0x58(r1) +/* 80280774 0027D6D4 4B FF A7 9D */ bl __ct__16CMetroidPrimeExo +/* 80280778 0027D6D8 7C 7F 1B 78 */ mr r31, r3 +lbl_8028077C: +/* 8028077C 0027D6DC 7F 40 07 75 */ extsb. r0, r26 +/* 80280780 0027D6E0 41 82 00 0C */ beq lbl_8028078C +/* 80280784 0027D6E4 38 61 00 8C */ addi r3, r1, 0x8c +/* 80280788 0027D6E8 48 0B D3 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028078C: +/* 8028078C 0027D6EC 7F 60 07 75 */ extsb. r0, r27 +/* 80280790 0027D6F0 41 82 00 44 */ beq lbl_802807D4 +/* 80280794 0027D6F4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80280798 0027D6F8 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8028079C 0027D6FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802807A0 0027D700 90 61 00 70 */ stw r3, 0x70(r1) +/* 802807A4 0027D704 7C 64 1B 78 */ mr r4, r3 +/* 802807A8 0027D708 7C 03 02 14 */ add r0, r3, r0 +/* 802807AC 0027D70C 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802807B0 0027D710 90 01 00 78 */ stw r0, 0x78(r1) +/* 802807B4 0027D714 90 01 00 74 */ stw r0, 0x74(r1) +/* 802807B8 0027D718 48 00 00 08 */ b lbl_802807C0 +lbl_802807BC: +/* 802807BC 0027D71C 38 84 00 0C */ addi r4, r4, 0xc +lbl_802807C0: +/* 802807C0 0027D720 7C 04 00 40 */ cmplw r4, r0 +/* 802807C4 0027D724 40 82 FF F8 */ bne lbl_802807BC +/* 802807C8 0027D728 28 03 00 00 */ cmplwi r3, 0 +/* 802807CC 0027D72C 41 82 00 08 */ beq lbl_802807D4 +/* 802807D0 0027D730 48 09 51 61 */ bl Free__7CMemoryFPCv +lbl_802807D4: +/* 802807D4 0027D734 7F 80 07 75 */ extsb. r0, r28 +/* 802807D8 0027D738 41 82 00 10 */ beq lbl_802807E8 +/* 802807DC 0027D73C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802807E0 0027D740 38 80 FF FF */ li r4, -1 +/* 802807E4 0027D744 4B E9 62 69 */ bl __dt__10CModelDataFv +lbl_802807E8: +/* 802807E8 0027D748 7F C3 F3 78 */ mr r3, r30 +/* 802807EC 0027D74C 7F E4 FB 78 */ mr r4, r31 +/* 802807F0 0027D750 4B DC C3 25 */ bl AddObject__13CStateManagerFR7CEntity +/* 802807F4 0027D754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802807F8 0027D758 7F C3 F3 78 */ mr r3, r30 +/* 802807FC 0027D75C 7F E4 FB 78 */ mr r4, r31 +/* 80280800 0027D760 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80280804 0027D764 B0 01 00 60 */ sth r0, 0x60(r1) +/* 80280808 0027D768 38 C0 00 23 */ li r6, 0x23 +/* 8028080C 0027D76C 4B DC 36 C5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80280810: +/* 80280810 0027D770 BA 81 01 20 */ lmw r20, 0x120(r1) +/* 80280814 0027D774 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80280818 0027D778 7C 08 03 A6 */ mtlr r0 +/* 8028081C 0027D77C 38 21 01 50 */ addi r1, r1, 0x150 +/* 80280820 0027D780 4E 80 00 20 */ blr + +.global ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager +ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager: +/* 80280824 0027D784 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80280828 0027D788 7C 08 02 A6 */ mflr r0 +/* 8028082C 0027D78C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80280830 0027D790 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80280834 0027D794 7C BF 2B 78 */ mr r31, r5 +/* 80280838 0027D798 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028083C 0027D79C 7C 9E 23 78 */ mr r30, r4 +/* 80280840 0027D7A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80280844 0027D7A4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80280848 0027D7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8028084C 0027D7AC A0 03 00 34 */ lhz r0, 0x34(r3) +/* 80280850 0027D7B0 7F E3 FB 78 */ mr r3, r31 +/* 80280854 0027D7B4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80280858 0027D7B8 4B DC BD 1D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028085C 0027D7BC 7C 64 1B 78 */ mr r4, r3 +/* 80280860 0027D7C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80280864 0027D7C4 4B E2 4C 09 */ bl sub_800a546c +/* 80280868 0027D7C8 4B E2 4B D9 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" +/* 8028086C 0027D7CC 7C 64 1B 79 */ or. r4, r3, r3 +/* 80280870 0027D7D0 41 82 00 30 */ beq lbl_802808A0 +/* 80280874 0027D7D4 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 80280878 0027D7D8 40 80 00 0C */ bge lbl_80280884 +/* 8028087C 0027D7DC 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 80280880 0027D7E0 40 80 00 20 */ bge lbl_802808A0 +lbl_80280884: +/* 80280884 0027D7E4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80280888 0027D7E8 7F E3 FB 78 */ mr r3, r31 +/* 8028088C 0027D7EC 7F C6 F3 78 */ mr r6, r30 +/* 80280890 0027D7F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80280894 0027D7F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80280898 0027D7F8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028089C 0027D7FC 4B DC 36 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_802808A0: +/* 802808A0 0027D800 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802808A4 0027D804 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802808A8 0027D808 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802808AC 0027D80C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802808B0 0027D810 7C 08 03 A6 */ mtlr r0 +/* 802808B4 0027D814 38 21 00 30 */ addi r1, r1, 0x30 +/* 802808B8 0027D818 4E 80 00 20 */ blr + +.global AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802808BC 0027D81C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802808C0 0027D820 7C 08 02 A6 */ mflr r0 +/* 802808C4 0027D824 90 01 00 24 */ stw r0, 0x24(r1) +/* 802808C8 0027D828 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802808CC 0027D82C 7C DF 33 78 */ mr r31, r6 +/* 802808D0 0027D830 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802808D4 0027D834 7C 9E 23 78 */ mr r30, r4 +/* 802808D8 0027D838 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802808DC 0027D83C 7C 7D 1B 78 */ mr r29, r3 +/* 802808E0 0027D840 A0 A5 00 00 */ lhz r5, 0(r5) +/* 802808E4 0027D844 A0 03 00 34 */ lhz r0, 0x34(r3) +/* 802808E8 0027D848 7C 05 00 40 */ cmplw r5, r0 +/* 802808EC 0027D84C 41 82 00 0C */ beq lbl_802808F8 +/* 802808F0 0027D850 7F E5 FB 78 */ mr r5, r31 +/* 802808F4 0027D854 4B FF FF 31 */ bl ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager +lbl_802808F8: +/* 802808F8 0027D858 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 802808FC 0027D85C 41 82 00 08 */ beq lbl_80280904 +/* 80280900 0027D860 48 00 00 10 */ b lbl_80280910 +lbl_80280904: +/* 80280904 0027D864 7F A3 EB 78 */ mr r3, r29 +/* 80280908 0027D868 7F E4 FB 78 */ mr r4, r31 +/* 8028090C 0027D86C 4B FF FC 59 */ bl GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager +lbl_80280910: +/* 80280910 0027D870 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80280914 0027D874 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80280918 0027D878 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028091C 0027D87C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80280920 0027D880 7C 08 03 A6 */ mtlr r0 +/* 80280924 0027D884 38 21 00 20 */ addi r1, r1, 0x20 +/* 80280928 0027D888 4E 80 00 20 */ blr + +.global Accept__18CMetroidPrimeRelay +Accept__18CMetroidPrimeRelay: +/* 8028092C 0027D88C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280930 0027D890 7C 08 02 A6 */ mflr r0 +/* 80280934 0027D894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280938 0027D898 7C 60 1B 78 */ mr r0, r3 +/* 8028093C 0027D89C 7C 83 23 78 */ mr r3, r4 +/* 80280940 0027D8A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80280944 0027D8A4 7C 04 03 78 */ mr r4, r0 +/* 80280948 0027D8A8 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8028094C 0027D8AC 7D 89 03 A6 */ mtctr r12 +/* 80280950 0027D8B0 4E 80 04 21 */ bctrl +/* 80280954 0027D8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280958 0027D8B8 7C 08 03 A6 */ mtlr r0 +/* 8028095C 0027D8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280960 0027D8C0 4E 80 00 20 */ blr + +.global "__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>" +"__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>": +/* 80280964 0027D8C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80280968 0027D8C8 7C 08 02 A6 */ mflr r0 +/* 8028096C 0027D8CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80280970 0027D8D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80280974 0027D8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80280978 0027D8D8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8028097C 0027D8DC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80280980 0027D8E0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80280984 0027D8E4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80280988 0027D8E8 BE 61 00 1C */ stmw r19, 0x1c(r1) +/* 8028098C 0027D8EC A0 04 00 00 */ lhz r0, 0(r4) +/* 80280990 0027D8F0 7C A4 2B 78 */ mr r4, r5 +/* 80280994 0027D8F4 FF A0 08 90 */ fmr f29, f1 +/* 80280998 0027D8F8 7C C5 33 78 */ mr r5, r6 +/* 8028099C 0027D8FC FF C0 10 90 */ fmr f30, f2 +/* 802809A0 0027D900 B0 01 00 08 */ sth r0, 8(r1) +/* 802809A4 0027D904 7C E6 3B 78 */ mr r6, r7 +/* 802809A8 0027D908 7C 87 23 78 */ mr r7, r4 +/* 802809AC 0027D90C FF E0 18 90 */ fmr f31, f3 +/* 802809B0 0027D910 82 E1 00 88 */ lwz r23, 0x88(r1) +/* 802809B4 0027D914 8B 01 00 8F */ lbz r24, 0x8f(r1) +/* 802809B8 0027D918 7C 74 1B 78 */ mr r20, r3 +/* 802809BC 0027D91C 83 21 00 90 */ lwz r25, 0x90(r1) +/* 802809C0 0027D920 7D 13 43 78 */ mr r19, r8 +/* 802809C4 0027D924 83 41 00 94 */ lwz r26, 0x94(r1) +/* 802809C8 0027D928 7D 35 4B 78 */ mr r21, r9 +/* 802809CC 0027D92C 83 61 00 98 */ lwz r27, 0x98(r1) +/* 802809D0 0027D930 7D 56 53 78 */ mr r22, r10 +/* 802809D4 0027D934 83 81 00 9C */ lwz r28, 0x9c(r1) +/* 802809D8 0027D938 38 81 00 08 */ addi r4, r1, 8 +/* 802809DC 0027D93C 83 A1 00 A0 */ lwz r29, 0xa0(r1) +/* 802809E0 0027D940 83 C1 00 A4 */ lwz r30, 0xa4(r1) +/* 802809E4 0027D944 83 E1 00 A8 */ lwz r31, 0xa8(r1) +/* 802809E8 0027D948 4B DD 09 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802809EC 0027D94C 3C 60 80 3F */ lis r3, lbl_803EB638@ha +/* 802809F0 0027D950 7E 64 9B 78 */ mr r4, r19 +/* 802809F4 0027D954 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l +/* 802809F8 0027D958 38 74 00 38 */ addi r3, r20, 0x38 +/* 802809FC 0027D95C 90 14 00 00 */ stw r0, 0(r20) +/* 80280A00 0027D960 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80280A04 0027D964 B0 14 00 34 */ sth r0, 0x34(r20) +/* 80280A08 0027D968 48 09 21 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80280A0C 0027D96C C0 15 00 00 */ lfs f0, 0(r21) +/* 80280A10 0027D970 7E C4 B3 78 */ mr r4, r22 +/* 80280A14 0027D974 38 74 00 74 */ addi r3, r20, 0x74 +/* 80280A18 0027D978 D0 14 00 68 */ stfs f0, 0x68(r20) +/* 80280A1C 0027D97C C0 15 00 04 */ lfs f0, 4(r21) +/* 80280A20 0027D980 D0 14 00 6C */ stfs f0, 0x6c(r20) +/* 80280A24 0027D984 C0 15 00 08 */ lfs f0, 8(r21) +/* 80280A28 0027D988 D0 14 00 70 */ stfs f0, 0x70(r20) +/* 80280A2C 0027D98C 48 00 00 ED */ bl __ct__19SPrimeExoParametersFRC19SPrimeExoParameters +/* 80280A30 0027D990 D3 B4 0C 84 */ stfs f29, 0xc84(r20) +/* 80280A34 0027D994 39 14 0C BC */ addi r8, r20, 0xcbc +/* 80280A38 0027D998 38 9F 00 04 */ addi r4, r31, 4 +/* 80280A3C 0027D99C 38 60 00 00 */ li r3, 0 +/* 80280A40 0027D9A0 D3 D4 0C 88 */ stfs f30, 0xc88(r20) +/* 80280A44 0027D9A4 D3 F4 0C 8C */ stfs f31, 0xc8c(r20) +/* 80280A48 0027D9A8 92 F4 0C 90 */ stw r23, 0xc90(r20) +/* 80280A4C 0027D9AC 9B 14 0C 94 */ stb r24, 0xc94(r20) +/* 80280A50 0027D9B0 93 34 0C 98 */ stw r25, 0xc98(r20) +/* 80280A54 0027D9B4 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80280A58 0027D9B8 D0 14 0C 9C */ stfs f0, 0xc9c(r20) +/* 80280A5C 0027D9BC C0 1A 00 04 */ lfs f0, 4(r26) +/* 80280A60 0027D9C0 D0 14 0C A0 */ stfs f0, 0xca0(r20) +/* 80280A64 0027D9C4 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80280A68 0027D9C8 D0 14 0C A4 */ stfs f0, 0xca4(r20) +/* 80280A6C 0027D9CC C0 1B 00 04 */ lfs f0, 4(r27) +/* 80280A70 0027D9D0 D0 14 0C A8 */ stfs f0, 0xca8(r20) +/* 80280A74 0027D9D4 93 94 0C AC */ stw r28, 0xcac(r20) +/* 80280A78 0027D9D8 93 B4 0C B0 */ stw r29, 0xcb0(r20) +/* 80280A7C 0027D9DC 93 D4 0C B4 */ stw r30, 0xcb4(r20) +/* 80280A80 0027D9E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80280A84 0027D9E4 90 14 0C B8 */ stw r0, 0xcb8(r20) +/* 80280A88 0027D9E8 80 B4 0C B8 */ lwz r5, 0xcb8(r20) +/* 80280A8C 0027D9EC 48 00 00 54 */ b lbl_80280AE0 +lbl_80280A90: +/* 80280A90 0027D9F0 28 08 00 00 */ cmplwi r8, 0 +/* 80280A94 0027D9F4 41 82 00 40 */ beq lbl_80280AD4 +/* 80280A98 0027D9F8 80 04 00 00 */ lwz r0, 0(r4) +/* 80280A9C 0027D9FC 38 E4 00 04 */ addi r7, r4, 4 +/* 80280AA0 0027DA00 38 C8 00 04 */ addi r6, r8, 4 +/* 80280AA4 0027DA04 90 08 00 00 */ stw r0, 0(r8) +/* 80280AA8 0027DA08 80 08 00 00 */ lwz r0, 0(r8) +/* 80280AAC 0027DA0C 7C 09 03 A6 */ mtctr r0 +/* 80280AB0 0027DA10 2C 00 00 00 */ cmpwi r0, 0 +/* 80280AB4 0027DA14 40 81 00 20 */ ble lbl_80280AD4 +lbl_80280AB8: +/* 80280AB8 0027DA18 28 06 00 00 */ cmplwi r6, 0 +/* 80280ABC 0027DA1C 41 82 00 0C */ beq lbl_80280AC8 +/* 80280AC0 0027DA20 C0 07 00 00 */ lfs f0, 0(r7) +/* 80280AC4 0027DA24 D0 06 00 00 */ stfs f0, 0(r6) +lbl_80280AC8: +/* 80280AC8 0027DA28 38 C6 00 04 */ addi r6, r6, 4 +/* 80280ACC 0027DA2C 38 E7 00 04 */ addi r7, r7, 4 +/* 80280AD0 0027DA30 42 00 FF E8 */ bdnz lbl_80280AB8 +lbl_80280AD4: +/* 80280AD4 0027DA34 39 08 00 3C */ addi r8, r8, 0x3c +/* 80280AD8 0027DA38 38 63 00 01 */ addi r3, r3, 1 +/* 80280ADC 0027DA3C 38 84 00 3C */ addi r4, r4, 0x3c +lbl_80280AE0: +/* 80280AE0 0027DA40 7C 03 28 00 */ cmpw r3, r5 +/* 80280AE4 0027DA44 41 80 FF AC */ blt lbl_80280A90 +/* 80280AE8 0027DA48 7E 83 A3 78 */ mr r3, r20 +/* 80280AEC 0027DA4C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80280AF0 0027DA50 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80280AF4 0027DA54 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80280AF8 0027DA58 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80280AFC 0027DA5C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80280B00 0027DA60 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80280B04 0027DA64 BA 61 00 1C */ lmw r19, 0x1c(r1) +/* 80280B08 0027DA68 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80280B0C 0027DA6C 7C 08 03 A6 */ mtlr r0 +/* 80280B10 0027DA70 38 21 00 80 */ addi r1, r1, 0x80 +/* 80280B14 0027DA74 4E 80 00 20 */ blr + +.global __ct__19SPrimeExoParametersFRC19SPrimeExoParameters +__ct__19SPrimeExoParametersFRC19SPrimeExoParameters: +/* 80280B18 0027DA78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280B1C 0027DA7C 7C 08 02 A6 */ mflr r0 +/* 80280B20 0027DA80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280B24 0027DA84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280B28 0027DA88 7C 9F 23 78 */ mr r31, r4 +/* 80280B2C 0027DA8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80280B30 0027DA90 7C 7E 1B 78 */ mr r30, r3 +/* 80280B34 0027DA94 38 7E 00 04 */ addi r3, r30, 4 +/* 80280B38 0027DA98 80 04 00 00 */ lwz r0, 0(r4) +/* 80280B3C 0027DA9C 38 9F 00 04 */ addi r4, r31, 4 +/* 80280B40 0027DAA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80280B44 0027DAA4 4B EF 17 69 */ bl sub_801722ac +/* 80280B48 0027DAA8 38 7E 01 3C */ addi r3, r30, 0x13c +/* 80280B4C 0027DAAC 38 9F 01 3C */ addi r4, r31, 0x13c +/* 80280B50 0027DAB0 4B E4 4A CD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 80280B54 0027DAB4 80 1F 01 A4 */ lwz r0, 0x1a4(r31) +/* 80280B58 0027DAB8 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 80280B5C 0027DABC 38 9F 01 A8 */ addi r4, r31, 0x1a8 +/* 80280B60 0027DAC0 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 80280B64 0027DAC4 4B D8 A2 45 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B68 0027DAC8 38 7E 02 7C */ addi r3, r30, 0x27c +/* 80280B6C 0027DACC 38 9F 02 7C */ addi r4, r31, 0x27c +/* 80280B70 0027DAD0 4B D8 A2 39 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B74 0027DAD4 38 7E 03 50 */ addi r3, r30, 0x350 +/* 80280B78 0027DAD8 38 9F 03 50 */ addi r4, r31, 0x350 +/* 80280B7C 0027DADC 4B D8 A2 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280B80 0027DAE0 80 1F 04 24 */ lwz r0, 0x424(r31) +/* 80280B84 0027DAE4 38 7E 04 64 */ addi r3, r30, 0x464 +/* 80280B88 0027DAE8 38 9F 04 64 */ addi r4, r31, 0x464 +/* 80280B8C 0027DAEC 90 1E 04 24 */ stw r0, 0x424(r30) +/* 80280B90 0027DAF0 80 1F 04 28 */ lwz r0, 0x428(r31) +/* 80280B94 0027DAF4 90 1E 04 28 */ stw r0, 0x428(r30) +/* 80280B98 0027DAF8 80 1F 04 2C */ lwz r0, 0x42c(r31) +/* 80280B9C 0027DAFC 90 1E 04 2C */ stw r0, 0x42c(r30) +/* 80280BA0 0027DB00 80 1F 04 30 */ lwz r0, 0x430(r31) +/* 80280BA4 0027DB04 90 1E 04 30 */ stw r0, 0x430(r30) +/* 80280BA8 0027DB08 80 1F 04 34 */ lwz r0, 0x434(r31) +/* 80280BAC 0027DB0C 90 1E 04 34 */ stw r0, 0x434(r30) +/* 80280BB0 0027DB10 88 1F 04 38 */ lbz r0, 0x438(r31) +/* 80280BB4 0027DB14 98 1E 04 38 */ stb r0, 0x438(r30) +/* 80280BB8 0027DB18 C0 1F 04 3C */ lfs f0, 0x43c(r31) +/* 80280BBC 0027DB1C D0 1E 04 3C */ stfs f0, 0x43c(r30) +/* 80280BC0 0027DB20 C0 1F 04 40 */ lfs f0, 0x440(r31) +/* 80280BC4 0027DB24 D0 1E 04 40 */ stfs f0, 0x440(r30) +/* 80280BC8 0027DB28 C0 1F 04 44 */ lfs f0, 0x444(r31) +/* 80280BCC 0027DB2C D0 1E 04 44 */ stfs f0, 0x444(r30) +/* 80280BD0 0027DB30 C0 1F 04 48 */ lfs f0, 0x448(r31) +/* 80280BD4 0027DB34 D0 1E 04 48 */ stfs f0, 0x448(r30) +/* 80280BD8 0027DB38 88 1F 04 4C */ lbz r0, 0x44c(r31) +/* 80280BDC 0027DB3C 98 1E 04 4C */ stb r0, 0x44c(r30) +/* 80280BE0 0027DB40 C0 1F 04 50 */ lfs f0, 0x450(r31) +/* 80280BE4 0027DB44 D0 1E 04 50 */ stfs f0, 0x450(r30) +/* 80280BE8 0027DB48 C0 1F 04 54 */ lfs f0, 0x454(r31) +/* 80280BEC 0027DB4C D0 1E 04 54 */ stfs f0, 0x454(r30) +/* 80280BF0 0027DB50 80 1F 04 58 */ lwz r0, 0x458(r31) +/* 80280BF4 0027DB54 90 1E 04 58 */ stw r0, 0x458(r30) +/* 80280BF8 0027DB58 A0 1F 04 5C */ lhz r0, 0x45c(r31) +/* 80280BFC 0027DB5C B0 1E 04 5C */ sth r0, 0x45c(r30) +/* 80280C00 0027DB60 A0 1F 04 5E */ lhz r0, 0x45e(r31) +/* 80280C04 0027DB64 B0 1E 04 5E */ sth r0, 0x45e(r30) +/* 80280C08 0027DB68 80 1F 04 60 */ lwz r0, 0x460(r31) +/* 80280C0C 0027DB6C 90 1E 04 60 */ stw r0, 0x460(r30) +/* 80280C10 0027DB70 48 00 02 B5 */ bl sub_80280ec4 +/* 80280C14 0027DB74 80 1F 07 08 */ lwz r0, 0x708(r31) +/* 80280C18 0027DB78 38 7E 07 28 */ addi r3, r30, 0x728 +/* 80280C1C 0027DB7C 38 9F 07 28 */ addi r4, r31, 0x728 +/* 80280C20 0027DB80 90 1E 07 08 */ stw r0, 0x708(r30) +/* 80280C24 0027DB84 80 1F 07 0C */ lwz r0, 0x70c(r31) +/* 80280C28 0027DB88 90 1E 07 0C */ stw r0, 0x70c(r30) +/* 80280C2C 0027DB8C 88 1F 07 10 */ lbz r0, 0x710(r31) +/* 80280C30 0027DB90 98 1E 07 10 */ stb r0, 0x710(r30) +/* 80280C34 0027DB94 C0 1F 07 14 */ lfs f0, 0x714(r31) +/* 80280C38 0027DB98 D0 1E 07 14 */ stfs f0, 0x714(r30) +/* 80280C3C 0027DB9C C0 1F 07 18 */ lfs f0, 0x718(r31) +/* 80280C40 0027DBA0 D0 1E 07 18 */ stfs f0, 0x718(r30) +/* 80280C44 0027DBA4 C0 1F 07 1C */ lfs f0, 0x71c(r31) +/* 80280C48 0027DBA8 D0 1E 07 1C */ stfs f0, 0x71c(r30) +/* 80280C4C 0027DBAC C0 1F 07 20 */ lfs f0, 0x720(r31) +/* 80280C50 0027DBB0 D0 1E 07 20 */ stfs f0, 0x720(r30) +/* 80280C54 0027DBB4 88 1F 07 24 */ lbz r0, 0x724(r31) +/* 80280C58 0027DBB8 98 1E 07 24 */ stb r0, 0x724(r30) +/* 80280C5C 0027DBBC 4B D8 A1 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280C60 0027DBC0 80 1F 07 FC */ lwz r0, 0x7fc(r31) +/* 80280C64 0027DBC4 38 7E 08 1C */ addi r3, r30, 0x81c +/* 80280C68 0027DBC8 38 9F 08 1C */ addi r4, r31, 0x81c +/* 80280C6C 0027DBCC 90 1E 07 FC */ stw r0, 0x7fc(r30) +/* 80280C70 0027DBD0 80 1F 08 00 */ lwz r0, 0x800(r31) +/* 80280C74 0027DBD4 90 1E 08 00 */ stw r0, 0x800(r30) +/* 80280C78 0027DBD8 88 1F 08 04 */ lbz r0, 0x804(r31) +/* 80280C7C 0027DBDC 98 1E 08 04 */ stb r0, 0x804(r30) +/* 80280C80 0027DBE0 C0 1F 08 08 */ lfs f0, 0x808(r31) +/* 80280C84 0027DBE4 D0 1E 08 08 */ stfs f0, 0x808(r30) +/* 80280C88 0027DBE8 C0 1F 08 0C */ lfs f0, 0x80c(r31) +/* 80280C8C 0027DBEC D0 1E 08 0C */ stfs f0, 0x80c(r30) +/* 80280C90 0027DBF0 C0 1F 08 10 */ lfs f0, 0x810(r31) +/* 80280C94 0027DBF4 D0 1E 08 10 */ stfs f0, 0x810(r30) +/* 80280C98 0027DBF8 C0 1F 08 14 */ lfs f0, 0x814(r31) +/* 80280C9C 0027DBFC D0 1E 08 14 */ stfs f0, 0x814(r30) +/* 80280CA0 0027DC00 88 1F 08 18 */ lbz r0, 0x818(r31) +/* 80280CA4 0027DC04 98 1E 08 18 */ stb r0, 0x818(r30) +/* 80280CA8 0027DC08 4B D8 A1 01 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280CAC 0027DC0C 80 1F 08 F0 */ lwz r0, 0x8f0(r31) +/* 80280CB0 0027DC10 38 7E 08 F4 */ addi r3, r30, 0x8f4 +/* 80280CB4 0027DC14 38 9F 08 F4 */ addi r4, r31, 0x8f4 +/* 80280CB8 0027DC18 90 1E 08 F0 */ stw r0, 0x8f0(r30) +/* 80280CBC 0027DC1C 48 0C 01 ED */ bl __ct__6CTokenFRC6CToken +/* 80280CC0 0027DC20 80 1F 08 FC */ lwz r0, 0x8fc(r31) +/* 80280CC4 0027DC24 38 7E 09 48 */ addi r3, r30, 0x948 +/* 80280CC8 0027DC28 38 9F 09 48 */ addi r4, r31, 0x948 +/* 80280CCC 0027DC2C 90 1E 08 FC */ stw r0, 0x8fc(r30) +/* 80280CD0 0027DC30 88 1F 09 00 */ lbz r0, 0x900(r31) +/* 80280CD4 0027DC34 98 1E 09 00 */ stb r0, 0x900(r30) +/* 80280CD8 0027DC38 C0 1F 09 04 */ lfs f0, 0x904(r31) +/* 80280CDC 0027DC3C D0 1E 09 04 */ stfs f0, 0x904(r30) +/* 80280CE0 0027DC40 C0 1F 09 08 */ lfs f0, 0x908(r31) +/* 80280CE4 0027DC44 D0 1E 09 08 */ stfs f0, 0x908(r30) +/* 80280CE8 0027DC48 C0 1F 09 0C */ lfs f0, 0x90c(r31) +/* 80280CEC 0027DC4C D0 1E 09 0C */ stfs f0, 0x90c(r30) +/* 80280CF0 0027DC50 C0 1F 09 10 */ lfs f0, 0x910(r31) +/* 80280CF4 0027DC54 D0 1E 09 10 */ stfs f0, 0x910(r30) +/* 80280CF8 0027DC58 88 1F 09 14 */ lbz r0, 0x914(r31) +/* 80280CFC 0027DC5C 98 1E 09 14 */ stb r0, 0x914(r30) +/* 80280D00 0027DC60 C0 1F 09 18 */ lfs f0, 0x918(r31) +/* 80280D04 0027DC64 D0 1E 09 18 */ stfs f0, 0x918(r30) +/* 80280D08 0027DC68 C0 1F 09 1C */ lfs f0, 0x91c(r31) +/* 80280D0C 0027DC6C D0 1E 09 1C */ stfs f0, 0x91c(r30) +/* 80280D10 0027DC70 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 80280D14 0027DC74 D0 1E 09 20 */ stfs f0, 0x920(r30) +/* 80280D18 0027DC78 80 1F 09 24 */ lwz r0, 0x924(r31) +/* 80280D1C 0027DC7C 90 1E 09 24 */ stw r0, 0x924(r30) +/* 80280D20 0027DC80 88 1F 09 28 */ lbz r0, 0x928(r31) +/* 80280D24 0027DC84 98 1E 09 28 */ stb r0, 0x928(r30) +/* 80280D28 0027DC88 80 1F 09 2C */ lwz r0, 0x92c(r31) +/* 80280D2C 0027DC8C 90 1E 09 2C */ stw r0, 0x92c(r30) +/* 80280D30 0027DC90 88 1F 09 30 */ lbz r0, 0x930(r31) +/* 80280D34 0027DC94 98 1E 09 30 */ stb r0, 0x930(r30) +/* 80280D38 0027DC98 C0 1F 09 34 */ lfs f0, 0x934(r31) +/* 80280D3C 0027DC9C D0 1E 09 34 */ stfs f0, 0x934(r30) +/* 80280D40 0027DCA0 C0 1F 09 38 */ lfs f0, 0x938(r31) +/* 80280D44 0027DCA4 D0 1E 09 38 */ stfs f0, 0x938(r30) +/* 80280D48 0027DCA8 C0 1F 09 3C */ lfs f0, 0x93c(r31) +/* 80280D4C 0027DCAC D0 1E 09 3C */ stfs f0, 0x93c(r30) +/* 80280D50 0027DCB0 C0 1F 09 40 */ lfs f0, 0x940(r31) +/* 80280D54 0027DCB4 D0 1E 09 40 */ stfs f0, 0x940(r30) +/* 80280D58 0027DCB8 88 1F 09 44 */ lbz r0, 0x944(r31) +/* 80280D5C 0027DCBC 98 1E 09 44 */ stb r0, 0x944(r30) +/* 80280D60 0027DCC0 4B D8 A0 49 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80280D64 0027DCC4 80 1F 0A 1C */ lwz r0, 0xa1c(r31) +/* 80280D68 0027DCC8 38 9E 0A 30 */ addi r4, r30, 0xa30 +/* 80280D6C 0027DCCC 38 7F 0A 30 */ addi r3, r31, 0xa30 +/* 80280D70 0027DCD0 90 1E 0A 1C */ stw r0, 0xa1c(r30) +/* 80280D74 0027DCD4 80 1F 0A 20 */ lwz r0, 0xa20(r31) +/* 80280D78 0027DCD8 90 1E 0A 20 */ stw r0, 0xa20(r30) +/* 80280D7C 0027DCDC 80 1F 0A 24 */ lwz r0, 0xa24(r31) +/* 80280D80 0027DCE0 90 1E 0A 24 */ stw r0, 0xa24(r30) +/* 80280D84 0027DCE4 80 1F 0A 28 */ lwz r0, 0xa28(r31) +/* 80280D88 0027DCE8 90 1E 0A 28 */ stw r0, 0xa28(r30) +/* 80280D8C 0027DCEC 80 1F 0A 2C */ lwz r0, 0xa2c(r31) +/* 80280D90 0027DCF0 90 1E 0A 2C */ stw r0, 0xa2c(r30) +/* 80280D94 0027DCF4 80 1E 0A 2C */ lwz r0, 0xa2c(r30) +/* 80280D98 0027DCF8 7C 09 03 A6 */ mtctr r0 +/* 80280D9C 0027DCFC 2C 00 00 00 */ cmpwi r0, 0 +/* 80280DA0 0027DD00 40 81 01 08 */ ble lbl_80280EA8 +lbl_80280DA4: +/* 80280DA4 0027DD04 28 04 00 00 */ cmplwi r4, 0 +/* 80280DA8 0027DD08 41 82 00 F4 */ beq lbl_80280E9C +/* 80280DAC 0027DD0C 80 03 00 00 */ lwz r0, 0(r3) +/* 80280DB0 0027DD10 90 04 00 00 */ stw r0, 0(r4) +/* 80280DB4 0027DD14 80 A3 00 04 */ lwz r5, 4(r3) +/* 80280DB8 0027DD18 80 03 00 08 */ lwz r0, 8(r3) +/* 80280DBC 0027DD1C 90 A4 00 04 */ stw r5, 4(r4) +/* 80280DC0 0027DD20 90 04 00 08 */ stw r0, 8(r4) +/* 80280DC4 0027DD24 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80280DC8 0027DD28 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80280DCC 0027DD2C 90 A4 00 0C */ stw r5, 0xc(r4) +/* 80280DD0 0027DD30 90 04 00 10 */ stw r0, 0x10(r4) +/* 80280DD4 0027DD34 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80280DD8 0027DD38 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80280DDC 0027DD3C 90 A4 00 14 */ stw r5, 0x14(r4) +/* 80280DE0 0027DD40 90 04 00 18 */ stw r0, 0x18(r4) +/* 80280DE4 0027DD44 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80280DE8 0027DD48 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80280DEC 0027DD4C 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 80280DF0 0027DD50 90 04 00 20 */ stw r0, 0x20(r4) +/* 80280DF4 0027DD54 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 80280DF8 0027DD58 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80280DFC 0027DD5C 90 A4 00 24 */ stw r5, 0x24(r4) +/* 80280E00 0027DD60 90 04 00 28 */ stw r0, 0x28(r4) +/* 80280E04 0027DD64 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 80280E08 0027DD68 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80280E0C 0027DD6C 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 80280E10 0027DD70 90 04 00 30 */ stw r0, 0x30(r4) +/* 80280E14 0027DD74 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80280E18 0027DD78 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80280E1C 0027DD7C 90 A4 00 34 */ stw r5, 0x34(r4) +/* 80280E20 0027DD80 90 04 00 38 */ stw r0, 0x38(r4) +/* 80280E24 0027DD84 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80280E28 0027DD88 90 04 00 3C */ stw r0, 0x3c(r4) +/* 80280E2C 0027DD8C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 80280E30 0027DD90 80 03 00 44 */ lwz r0, 0x44(r3) +/* 80280E34 0027DD94 90 A4 00 40 */ stw r5, 0x40(r4) +/* 80280E38 0027DD98 90 04 00 44 */ stw r0, 0x44(r4) +/* 80280E3C 0027DD9C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 80280E40 0027DDA0 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 80280E44 0027DDA4 90 A4 00 48 */ stw r5, 0x48(r4) +/* 80280E48 0027DDA8 90 04 00 4C */ stw r0, 0x4c(r4) +/* 80280E4C 0027DDAC 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 80280E50 0027DDB0 80 03 00 54 */ lwz r0, 0x54(r3) +/* 80280E54 0027DDB4 90 A4 00 50 */ stw r5, 0x50(r4) +/* 80280E58 0027DDB8 90 04 00 54 */ stw r0, 0x54(r4) +/* 80280E5C 0027DDBC 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 80280E60 0027DDC0 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80280E64 0027DDC4 90 A4 00 58 */ stw r5, 0x58(r4) +/* 80280E68 0027DDC8 90 04 00 5C */ stw r0, 0x5c(r4) +/* 80280E6C 0027DDCC 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80280E70 0027DDD0 90 04 00 60 */ stw r0, 0x60(r4) +/* 80280E74 0027DDD4 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80280E78 0027DDD8 90 04 00 64 */ stw r0, 0x64(r4) +/* 80280E7C 0027DDDC 80 03 00 68 */ lwz r0, 0x68(r3) +/* 80280E80 0027DDE0 90 04 00 68 */ stw r0, 0x68(r4) +/* 80280E84 0027DDE4 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80280E88 0027DDE8 90 04 00 6C */ stw r0, 0x6c(r4) +/* 80280E8C 0027DDEC 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 80280E90 0027DDF0 80 03 00 74 */ lwz r0, 0x74(r3) +/* 80280E94 0027DDF4 90 A4 00 70 */ stw r5, 0x70(r4) +/* 80280E98 0027DDF8 90 04 00 74 */ stw r0, 0x74(r4) +lbl_80280E9C: +/* 80280E9C 0027DDFC 38 84 00 78 */ addi r4, r4, 0x78 +/* 80280EA0 0027DE00 38 63 00 78 */ addi r3, r3, 0x78 +/* 80280EA4 0027DE04 42 00 FF 00 */ bdnz lbl_80280DA4 +lbl_80280EA8: +/* 80280EA8 0027DE08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280EAC 0027DE0C 7F C3 F3 78 */ mr r3, r30 +/* 80280EB0 0027DE10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280EB4 0027DE14 83 C1 00 08 */ lwz r30, 8(r1) +/* 80280EB8 0027DE18 7C 08 03 A6 */ mtlr r0 +/* 80280EBC 0027DE1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280EC0 0027DE20 4E 80 00 20 */ blr + +.global sub_80280ec4 +sub_80280ec4: +/* 80280EC4 0027DE24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280EC8 0027DE28 7C 08 02 A6 */ mflr r0 +/* 80280ECC 0027DE2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280ED0 0027DE30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80280ED4 0027DE34 7C 7F 1B 78 */ mr r31, r3 +/* 80280ED8 0027DE38 38 64 00 04 */ addi r3, r4, 4 +/* 80280EDC 0027DE3C 80 04 00 00 */ lwz r0, 0(r4) +/* 80280EE0 0027DE40 38 BF 00 04 */ addi r5, r31, 4 +/* 80280EE4 0027DE44 90 1F 00 00 */ stw r0, 0(r31) +/* 80280EE8 0027DE48 80 9F 00 00 */ lwz r4, 0(r31) +/* 80280EEC 0027DE4C 48 00 00 1D */ bl sub_80280f08 +/* 80280EF0 0027DE50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280EF4 0027DE54 7F E3 FB 78 */ mr r3, r31 +/* 80280EF8 0027DE58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80280EFC 0027DE5C 7C 08 03 A6 */ mtlr r0 +/* 80280F00 0027DE60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280F04 0027DE64 4E 80 00 20 */ blr + +.global sub_80280f08 +sub_80280f08: +/* 80280F08 0027DE68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80280F0C 0027DE6C 7C 08 02 A6 */ mflr r0 +/* 80280F10 0027DE70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80280F14 0027DE74 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80280F18 0027DE78 7C 7F 1B 78 */ mr r31, r3 +/* 80280F1C 0027DE7C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80280F20 0027DE80 7C BE 2B 78 */ mr r30, r5 +/* 80280F24 0027DE84 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80280F28 0027DE88 3B A0 00 00 */ li r29, 0 +/* 80280F2C 0027DE8C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80280F30 0027DE90 7C 9C 23 78 */ mr r28, r4 +/* 80280F34 0027DE94 48 00 00 1C */ b lbl_80280F50 +lbl_80280F38: +/* 80280F38 0027DE98 7F C3 F3 78 */ mr r3, r30 +/* 80280F3C 0027DE9C 7F E4 FB 78 */ mr r4, r31 +/* 80280F40 0027DEA0 48 00 00 3D */ bl sub_80280f7c +/* 80280F44 0027DEA4 3B DE 00 A8 */ addi r30, r30, 0xa8 +/* 80280F48 0027DEA8 3B BD 00 01 */ addi r29, r29, 1 +/* 80280F4C 0027DEAC 3B FF 00 A8 */ addi r31, r31, 0xa8 +lbl_80280F50: +/* 80280F50 0027DEB0 7C 1D E0 00 */ cmpw r29, r28 +/* 80280F54 0027DEB4 41 80 FF E4 */ blt lbl_80280F38 +/* 80280F58 0027DEB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80280F5C 0027DEBC 7F C3 F3 78 */ mr r3, r30 +/* 80280F60 0027DEC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80280F64 0027DEC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80280F68 0027DEC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80280F6C 0027DECC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80280F70 0027DED0 7C 08 03 A6 */ mtlr r0 +/* 80280F74 0027DED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80280F78 0027DED8 4E 80 00 20 */ blr + +.global sub_80280f7c +sub_80280f7c: +/* 80280F7C 0027DEDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80280F80 0027DEE0 7C 08 02 A6 */ mflr r0 +/* 80280F84 0027DEE4 28 03 00 00 */ cmplwi r3, 0 +/* 80280F88 0027DEE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80280F8C 0027DEEC 41 82 00 08 */ beq lbl_80280F94 +/* 80280F90 0027DEF0 48 00 00 15 */ bl sub_80280fa4 +lbl_80280F94: +/* 80280F94 0027DEF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80280F98 0027DEF8 7C 08 03 A6 */ mtlr r0 +/* 80280F9C 0027DEFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80280FA0 0027DF00 4E 80 00 20 */ blr + +.global sub_80280fa4 +sub_80280fa4: +/* 80280FA4 0027DF04 80 04 00 00 */ lwz r0, 0(r4) +/* 80280FA8 0027DF08 90 03 00 00 */ stw r0, 0(r3) +/* 80280FAC 0027DF0C 80 04 00 04 */ lwz r0, 4(r4) +/* 80280FB0 0027DF10 90 03 00 04 */ stw r0, 4(r3) +/* 80280FB4 0027DF14 80 04 00 08 */ lwz r0, 8(r4) +/* 80280FB8 0027DF18 90 03 00 08 */ stw r0, 8(r3) +/* 80280FBC 0027DF1C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80280FC0 0027DF20 90 03 00 0C */ stw r0, 0xc(r3) +/* 80280FC4 0027DF24 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80280FC8 0027DF28 90 03 00 10 */ stw r0, 0x10(r3) +/* 80280FCC 0027DF2C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80280FD0 0027DF30 90 03 00 14 */ stw r0, 0x14(r3) +/* 80280FD4 0027DF34 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80280FD8 0027DF38 90 03 00 18 */ stw r0, 0x18(r3) +/* 80280FDC 0027DF3C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80280FE0 0027DF40 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80280FE4 0027DF44 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80280FE8 0027DF48 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80280FEC 0027DF4C C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80280FF0 0027DF50 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80280FF4 0027DF54 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80280FF8 0027DF58 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80280FFC 0027DF5C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80281000 0027DF60 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80281004 0027DF64 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80281008 0027DF68 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8028100C 0027DF6C C0 04 00 34 */ lfs f0, 0x34(r4) +/* 80281010 0027DF70 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80281014 0027DF74 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 80281018 0027DF78 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8028101C 0027DF7C 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 80281020 0027DF80 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80281024 0027DF84 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80281028 0027DF88 90 03 00 40 */ stw r0, 0x40(r3) +/* 8028102C 0027DF8C 80 04 00 44 */ lwz r0, 0x44(r4) +/* 80281030 0027DF90 90 03 00 44 */ stw r0, 0x44(r3) +/* 80281034 0027DF94 80 04 00 48 */ lwz r0, 0x48(r4) +/* 80281038 0027DF98 90 03 00 48 */ stw r0, 0x48(r3) +/* 8028103C 0027DF9C 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 80281040 0027DFA0 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80281044 0027DFA4 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80281048 0027DFA8 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 8028104C 0027DFAC C0 04 00 54 */ lfs f0, 0x54(r4) +/* 80281050 0027DFB0 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 80281054 0027DFB4 C0 04 00 58 */ lfs f0, 0x58(r4) +/* 80281058 0027DFB8 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 8028105C 0027DFBC C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 80281060 0027DFC0 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 80281064 0027DFC4 88 04 00 60 */ lbz r0, 0x60(r4) +/* 80281068 0027DFC8 98 03 00 60 */ stb r0, 0x60(r3) +/* 8028106C 0027DFCC 80 04 00 64 */ lwz r0, 0x64(r4) +/* 80281070 0027DFD0 90 03 00 64 */ stw r0, 0x64(r3) +/* 80281074 0027DFD4 80 04 00 68 */ lwz r0, 0x68(r4) +/* 80281078 0027DFD8 90 03 00 68 */ stw r0, 0x68(r3) +/* 8028107C 0027DFDC 80 04 00 6C */ lwz r0, 0x6c(r4) +/* 80281080 0027DFE0 90 03 00 6C */ stw r0, 0x6c(r3) +/* 80281084 0027DFE4 80 04 00 70 */ lwz r0, 0x70(r4) +/* 80281088 0027DFE8 90 03 00 70 */ stw r0, 0x70(r3) +/* 8028108C 0027DFEC 80 04 00 74 */ lwz r0, 0x74(r4) +/* 80281090 0027DFF0 90 03 00 74 */ stw r0, 0x74(r3) +/* 80281094 0027DFF4 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80281098 0027DFF8 90 03 00 78 */ stw r0, 0x78(r3) +/* 8028109C 0027DFFC 80 04 00 7C */ lwz r0, 0x7c(r4) +/* 802810A0 0027E000 90 03 00 7C */ stw r0, 0x7c(r3) +/* 802810A4 0027E004 80 04 00 80 */ lwz r0, 0x80(r4) +/* 802810A8 0027E008 90 03 00 80 */ stw r0, 0x80(r3) +/* 802810AC 0027E00C 80 04 00 84 */ lwz r0, 0x84(r4) +/* 802810B0 0027E010 90 03 00 84 */ stw r0, 0x84(r3) +/* 802810B4 0027E014 C0 04 00 88 */ lfs f0, 0x88(r4) +/* 802810B8 0027E018 D0 03 00 88 */ stfs f0, 0x88(r3) +/* 802810BC 0027E01C 80 04 00 8C */ lwz r0, 0x8c(r4) +/* 802810C0 0027E020 90 03 00 8C */ stw r0, 0x8c(r3) +/* 802810C4 0027E024 88 04 00 90 */ lbz r0, 0x90(r4) +/* 802810C8 0027E028 98 03 00 90 */ stb r0, 0x90(r3) +/* 802810CC 0027E02C C0 04 00 94 */ lfs f0, 0x94(r4) +/* 802810D0 0027E030 D0 03 00 94 */ stfs f0, 0x94(r3) +/* 802810D4 0027E034 C0 04 00 98 */ lfs f0, 0x98(r4) +/* 802810D8 0027E038 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 802810DC 0027E03C C0 04 00 9C */ lfs f0, 0x9c(r4) +/* 802810E0 0027E040 D0 03 00 9C */ stfs f0, 0x9c(r3) +/* 802810E4 0027E044 C0 04 00 A0 */ lfs f0, 0xa0(r4) +/* 802810E8 0027E048 D0 03 00 A0 */ stfs f0, 0xa0(r3) +/* 802810EC 0027E04C 88 04 00 A4 */ lbz r0, 0xa4(r4) +/* 802810F0 0027E050 98 03 00 A4 */ stb r0, 0xa4(r3) +/* 802810F4 0027E054 4E 80 00 20 */ blr + +.global LoadAndBuildPrimeCameraShakeData__FR12CInputStream +LoadAndBuildPrimeCameraShakeData__FR12CInputStream: +/* 802810F8 0027E058 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802810FC 0027E05C 7C 08 02 A6 */ mflr r0 +/* 80281100 0027E060 90 01 00 94 */ stw r0, 0x94(r1) +/* 80281104 0027E064 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80281108 0027E068 7C 7F 1B 78 */ mr r31, r3 +/* 8028110C 0027E06C 38 61 00 08 */ addi r3, r1, 8 +/* 80281110 0027E070 48 00 00 25 */ bl LoadPrimeCameraShakeData__FR12CInputStream +/* 80281114 0027E074 7C 64 1B 78 */ mr r4, r3 +/* 80281118 0027E078 7F E3 FB 78 */ mr r3, r31 +/* 8028111C 0027E07C 4B FF B2 59 */ bl BuildCameraShakeData__FRC21SPrimeCameraShakeData +/* 80281120 0027E080 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80281124 0027E084 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80281128 0027E088 7C 08 03 A6 */ mtlr r0 +/* 8028112C 0027E08C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80281130 0027E090 4E 80 00 20 */ blr + +.global LoadPrimeCameraShakeData__FR12CInputStream +LoadPrimeCameraShakeData__FR12CInputStream: +/* 80281134 0027E094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281138 0027E098 7C 08 02 A6 */ mflr r0 +/* 8028113C 0027E09C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281140 0027E0A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281144 0027E0A4 7C 9F 23 78 */ mr r31, r4 +/* 80281148 0027E0A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8028114C 0027E0AC 7C 7E 1B 78 */ mr r30, r3 +/* 80281150 0027E0B0 7F E3 FB 78 */ mr r3, r31 +/* 80281154 0027E0B4 48 0B DB 89 */ bl ReadBool__12CInputStreamFv +/* 80281158 0027E0B8 98 7E 00 00 */ stb r3, 0(r30) +/* 8028115C 0027E0BC 7F E3 FB 78 */ mr r3, r31 +/* 80281160 0027E0C0 48 0B DA C9 */ bl ReadFloat__12CInputStreamFv +/* 80281164 0027E0C4 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80281168 0027E0C8 7F E3 FB 78 */ mr r3, r31 +/* 8028116C 0027E0CC 48 0B DA BD */ bl ReadFloat__12CInputStreamFv +/* 80281170 0027E0D0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80281174 0027E0D4 7F E4 FB 78 */ mr r4, r31 +/* 80281178 0027E0D8 38 7E 00 0C */ addi r3, r30, 0xc +/* 8028117C 0027E0DC 48 00 00 39 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 80281180 0027E0E0 7F E4 FB 78 */ mr r4, r31 +/* 80281184 0027E0E4 38 7E 00 30 */ addi r3, r30, 0x30 +/* 80281188 0027E0E8 48 00 00 2D */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 8028118C 0027E0EC 7F E4 FB 78 */ mr r4, r31 +/* 80281190 0027E0F0 38 7E 00 54 */ addi r3, r30, 0x54 +/* 80281194 0027E0F4 48 00 00 21 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream +/* 80281198 0027E0F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028119C 0027E0FC 7F C3 F3 78 */ mr r3, r30 +/* 802811A0 0027E100 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802811A4 0027E104 83 C1 00 08 */ lwz r30, 8(r1) +/* 802811A8 0027E108 7C 08 03 A6 */ mtlr r0 +/* 802811AC 0027E10C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802811B0 0027E110 4E 80 00 20 */ blr + +.global LoadPrimeCameraShakerComponent__FR12CInputStream +LoadPrimeCameraShakerComponent__FR12CInputStream: +/* 802811B4 0027E114 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802811B8 0027E118 7C 08 02 A6 */ mflr r0 +/* 802811BC 0027E11C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802811C0 0027E120 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802811C4 0027E124 7C 9F 23 78 */ mr r31, r4 +/* 802811C8 0027E128 93 C1 00 08 */ stw r30, 8(r1) +/* 802811CC 0027E12C 7C 7E 1B 78 */ mr r30, r3 +/* 802811D0 0027E130 7F E3 FB 78 */ mr r3, r31 +/* 802811D4 0027E134 48 0B DB 09 */ bl ReadBool__12CInputStreamFv +/* 802811D8 0027E138 98 7E 00 00 */ stb r3, 0(r30) +/* 802811DC 0027E13C 7F E3 FB 78 */ mr r3, r31 +/* 802811E0 0027E140 48 0B DA 49 */ bl ReadFloat__12CInputStreamFv +/* 802811E4 0027E144 D0 3E 00 04 */ stfs f1, 4(r30) +/* 802811E8 0027E148 7F E3 FB 78 */ mr r3, r31 +/* 802811EC 0027E14C 48 0B DA 3D */ bl ReadFloat__12CInputStreamFv +/* 802811F0 0027E150 D0 3E 00 08 */ stfs f1, 8(r30) +/* 802811F4 0027E154 7F E3 FB 78 */ mr r3, r31 +/* 802811F8 0027E158 48 0B DA 31 */ bl ReadFloat__12CInputStreamFv +/* 802811FC 0027E15C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80281200 0027E160 7F E3 FB 78 */ mr r3, r31 +/* 80281204 0027E164 48 0B DA 25 */ bl ReadFloat__12CInputStreamFv +/* 80281208 0027E168 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8028120C 0027E16C 7F E3 FB 78 */ mr r3, r31 +/* 80281210 0027E170 48 0B DA 19 */ bl ReadFloat__12CInputStreamFv +/* 80281214 0027E174 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80281218 0027E178 7F E3 FB 78 */ mr r3, r31 +/* 8028121C 0027E17C 48 0B DA 0D */ bl ReadFloat__12CInputStreamFv +/* 80281220 0027E180 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80281224 0027E184 7F E3 FB 78 */ mr r3, r31 +/* 80281228 0027E188 48 0B DA 01 */ bl ReadFloat__12CInputStreamFv +/* 8028122C 0027E18C D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80281230 0027E190 7F E3 FB 78 */ mr r3, r31 +/* 80281234 0027E194 48 0B D9 F5 */ bl ReadFloat__12CInputStreamFv +/* 80281238 0027E198 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 8028123C 0027E19C 7F C3 F3 78 */ mr r3, r30 +/* 80281240 0027E1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281244 0027E1A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281248 0027E1A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028124C 0027E1AC 7C 08 03 A6 */ mtlr r0 +/* 80281250 0027E1B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281254 0027E1B4 4E 80 00 20 */ blr + +.global LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream +LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream: +/* 80281258 0027E1B8 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8028125C 0027E1BC 7C 08 02 A6 */ mflr r0 +/* 80281260 0027E1C0 90 01 02 84 */ stw r0, 0x284(r1) +/* 80281264 0027E1C4 38 00 00 00 */ li r0, 0 +/* 80281268 0027E1C8 93 E1 02 7C */ stw r31, 0x27c(r1) +/* 8028126C 0027E1CC 3B E1 00 84 */ addi r31, r1, 0x84 +/* 80281270 0027E1D0 93 C1 02 78 */ stw r30, 0x278(r1) +/* 80281274 0027E1D4 3B C0 00 00 */ li r30, 0 +/* 80281278 0027E1D8 93 A1 02 74 */ stw r29, 0x274(r1) +/* 8028127C 0027E1DC 7C 9D 23 78 */ mr r29, r4 +/* 80281280 0027E1E0 93 81 02 70 */ stw r28, 0x270(r1) +/* 80281284 0027E1E4 7C 7C 1B 78 */ mr r28, r3 +/* 80281288 0027E1E8 90 01 00 80 */ stw r0, 0x80(r1) +lbl_8028128C: +/* 8028128C 0027E1EC 7F A4 EB 78 */ mr r4, r29 +/* 80281290 0027E1F0 38 61 00 08 */ addi r3, r1, 8 +/* 80281294 0027E1F4 4B FF B0 6D */ bl __ct__13SPrimeStruct6FR12CInputStream +/* 80281298 0027E1F8 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8028129C 0027E1FC 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 802812A0 0027E200 7C 7F 02 15 */ add. r3, r31, r0 +/* 802812A4 0027E204 41 82 00 F4 */ beq lbl_80281398 +/* 802812A8 0027E208 80 81 00 08 */ lwz r4, 8(r1) +/* 802812AC 0027E20C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802812B0 0027E210 90 83 00 00 */ stw r4, 0(r3) +/* 802812B4 0027E214 80 81 00 10 */ lwz r4, 0x10(r1) +/* 802812B8 0027E218 90 03 00 04 */ stw r0, 4(r3) +/* 802812BC 0027E21C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802812C0 0027E220 90 83 00 08 */ stw r4, 8(r3) +/* 802812C4 0027E224 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802812C8 0027E228 90 03 00 0C */ stw r0, 0xc(r3) +/* 802812CC 0027E22C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802812D0 0027E230 90 83 00 10 */ stw r4, 0x10(r3) +/* 802812D4 0027E234 80 81 00 20 */ lwz r4, 0x20(r1) +/* 802812D8 0027E238 90 03 00 14 */ stw r0, 0x14(r3) +/* 802812DC 0027E23C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802812E0 0027E240 90 83 00 18 */ stw r4, 0x18(r3) +/* 802812E4 0027E244 80 81 00 28 */ lwz r4, 0x28(r1) +/* 802812E8 0027E248 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802812EC 0027E24C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802812F0 0027E250 90 83 00 20 */ stw r4, 0x20(r3) +/* 802812F4 0027E254 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802812F8 0027E258 90 03 00 24 */ stw r0, 0x24(r3) +/* 802812FC 0027E25C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80281300 0027E260 90 83 00 28 */ stw r4, 0x28(r3) +/* 80281304 0027E264 80 81 00 38 */ lwz r4, 0x38(r1) +/* 80281308 0027E268 90 03 00 2C */ stw r0, 0x2c(r3) +/* 8028130C 0027E26C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80281310 0027E270 90 83 00 30 */ stw r4, 0x30(r3) +/* 80281314 0027E274 80 81 00 40 */ lwz r4, 0x40(r1) +/* 80281318 0027E278 90 03 00 34 */ stw r0, 0x34(r3) +/* 8028131C 0027E27C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80281320 0027E280 90 83 00 38 */ stw r4, 0x38(r3) +/* 80281324 0027E284 80 81 00 48 */ lwz r4, 0x48(r1) +/* 80281328 0027E288 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8028132C 0027E28C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80281330 0027E290 90 83 00 40 */ stw r4, 0x40(r3) +/* 80281334 0027E294 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80281338 0027E298 90 03 00 44 */ stw r0, 0x44(r3) +/* 8028133C 0027E29C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80281340 0027E2A0 90 83 00 48 */ stw r4, 0x48(r3) +/* 80281344 0027E2A4 80 81 00 58 */ lwz r4, 0x58(r1) +/* 80281348 0027E2A8 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8028134C 0027E2AC 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80281350 0027E2B0 90 83 00 50 */ stw r4, 0x50(r3) +/* 80281354 0027E2B4 80 81 00 60 */ lwz r4, 0x60(r1) +/* 80281358 0027E2B8 90 03 00 54 */ stw r0, 0x54(r3) +/* 8028135C 0027E2BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80281360 0027E2C0 90 83 00 58 */ stw r4, 0x58(r3) +/* 80281364 0027E2C4 80 81 00 68 */ lwz r4, 0x68(r1) +/* 80281368 0027E2C8 90 03 00 5C */ stw r0, 0x5c(r3) +/* 8028136C 0027E2CC 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80281370 0027E2D0 90 83 00 60 */ stw r4, 0x60(r3) +/* 80281374 0027E2D4 80 81 00 70 */ lwz r4, 0x70(r1) +/* 80281378 0027E2D8 90 03 00 64 */ stw r0, 0x64(r3) +/* 8028137C 0027E2DC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80281380 0027E2E0 90 83 00 68 */ stw r4, 0x68(r3) +/* 80281384 0027E2E4 80 81 00 78 */ lwz r4, 0x78(r1) +/* 80281388 0027E2E8 90 03 00 6C */ stw r0, 0x6c(r3) +/* 8028138C 0027E2EC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80281390 0027E2F0 90 83 00 70 */ stw r4, 0x70(r3) +/* 80281394 0027E2F4 90 03 00 74 */ stw r0, 0x74(r3) +lbl_80281398: +/* 80281398 0027E2F8 80 61 00 80 */ lwz r3, 0x80(r1) +/* 8028139C 0027E2FC 3B DE 00 01 */ addi r30, r30, 1 +/* 802813A0 0027E300 2C 1E 00 04 */ cmpwi r30, 4 +/* 802813A4 0027E304 38 03 00 01 */ addi r0, r3, 1 +/* 802813A8 0027E308 90 01 00 80 */ stw r0, 0x80(r1) +/* 802813AC 0027E30C 41 80 FE E0 */ blt lbl_8028128C +/* 802813B0 0027E310 90 1C 00 00 */ stw r0, 0(r28) +/* 802813B4 0027E314 38 7C 00 04 */ addi r3, r28, 4 +/* 802813B8 0027E318 80 1C 00 00 */ lwz r0, 0(r28) +/* 802813BC 0027E31C 7C 09 03 A6 */ mtctr r0 +/* 802813C0 0027E320 2C 00 00 00 */ cmpwi r0, 0 +/* 802813C4 0027E324 40 81 01 08 */ ble lbl_802814CC +lbl_802813C8: +/* 802813C8 0027E328 28 03 00 00 */ cmplwi r3, 0 +/* 802813CC 0027E32C 41 82 00 F4 */ beq lbl_802814C0 +/* 802813D0 0027E330 80 9F 00 00 */ lwz r4, 0(r31) +/* 802813D4 0027E334 80 1F 00 04 */ lwz r0, 4(r31) +/* 802813D8 0027E338 90 83 00 00 */ stw r4, 0(r3) +/* 802813DC 0027E33C 80 9F 00 08 */ lwz r4, 8(r31) +/* 802813E0 0027E340 90 03 00 04 */ stw r0, 4(r3) +/* 802813E4 0027E344 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802813E8 0027E348 90 83 00 08 */ stw r4, 8(r3) +/* 802813EC 0027E34C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 802813F0 0027E350 90 03 00 0C */ stw r0, 0xc(r3) +/* 802813F4 0027E354 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802813F8 0027E358 90 83 00 10 */ stw r4, 0x10(r3) +/* 802813FC 0027E35C 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80281400 0027E360 90 03 00 14 */ stw r0, 0x14(r3) +/* 80281404 0027E364 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80281408 0027E368 90 83 00 18 */ stw r4, 0x18(r3) +/* 8028140C 0027E36C 80 9F 00 20 */ lwz r4, 0x20(r31) +/* 80281410 0027E370 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80281414 0027E374 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80281418 0027E378 90 83 00 20 */ stw r4, 0x20(r3) +/* 8028141C 0027E37C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 80281420 0027E380 90 03 00 24 */ stw r0, 0x24(r3) +/* 80281424 0027E384 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80281428 0027E388 90 83 00 28 */ stw r4, 0x28(r3) +/* 8028142C 0027E38C 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 80281430 0027E390 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80281434 0027E394 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80281438 0027E398 90 83 00 30 */ stw r4, 0x30(r3) +/* 8028143C 0027E39C 80 9F 00 38 */ lwz r4, 0x38(r31) +/* 80281440 0027E3A0 90 03 00 34 */ stw r0, 0x34(r3) +/* 80281444 0027E3A4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80281448 0027E3A8 90 83 00 38 */ stw r4, 0x38(r3) +/* 8028144C 0027E3AC 80 9F 00 40 */ lwz r4, 0x40(r31) +/* 80281450 0027E3B0 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80281454 0027E3B4 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80281458 0027E3B8 90 83 00 40 */ stw r4, 0x40(r3) +/* 8028145C 0027E3BC 80 9F 00 48 */ lwz r4, 0x48(r31) +/* 80281460 0027E3C0 90 03 00 44 */ stw r0, 0x44(r3) +/* 80281464 0027E3C4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80281468 0027E3C8 90 83 00 48 */ stw r4, 0x48(r3) +/* 8028146C 0027E3CC 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 80281470 0027E3D0 90 03 00 4C */ stw r0, 0x4c(r3) +/* 80281474 0027E3D4 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 80281478 0027E3D8 90 83 00 50 */ stw r4, 0x50(r3) +/* 8028147C 0027E3DC 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 80281480 0027E3E0 90 03 00 54 */ stw r0, 0x54(r3) +/* 80281484 0027E3E4 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80281488 0027E3E8 90 83 00 58 */ stw r4, 0x58(r3) +/* 8028148C 0027E3EC 80 9F 00 60 */ lwz r4, 0x60(r31) +/* 80281490 0027E3F0 90 03 00 5C */ stw r0, 0x5c(r3) +/* 80281494 0027E3F4 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 80281498 0027E3F8 90 83 00 60 */ stw r4, 0x60(r3) +/* 8028149C 0027E3FC 80 9F 00 68 */ lwz r4, 0x68(r31) +/* 802814A0 0027E400 90 03 00 64 */ stw r0, 0x64(r3) +/* 802814A4 0027E404 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 802814A8 0027E408 90 83 00 68 */ stw r4, 0x68(r3) +/* 802814AC 0027E40C 80 9F 00 70 */ lwz r4, 0x70(r31) +/* 802814B0 0027E410 90 03 00 6C */ stw r0, 0x6c(r3) +/* 802814B4 0027E414 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 802814B8 0027E418 90 83 00 70 */ stw r4, 0x70(r3) +/* 802814BC 0027E41C 90 03 00 74 */ stw r0, 0x74(r3) +lbl_802814C0: +/* 802814C0 0027E420 38 63 00 78 */ addi r3, r3, 0x78 +/* 802814C4 0027E424 3B FF 00 78 */ addi r31, r31, 0x78 +/* 802814C8 0027E428 42 00 FF 00 */ bdnz lbl_802813C8 +lbl_802814CC: +/* 802814CC 0027E42C 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 802814D0 0027E430 38 60 00 00 */ li r3, 0 +/* 802814D4 0027E434 2C 05 00 00 */ cmpwi r5, 0 +/* 802814D8 0027E438 40 81 00 40 */ ble lbl_80281518 +/* 802814DC 0027E43C 2C 05 00 08 */ cmpwi r5, 8 +/* 802814E0 0027E440 38 85 FF F8 */ addi r4, r5, -8 +/* 802814E4 0027E444 40 81 00 20 */ ble lbl_80281504 +/* 802814E8 0027E448 38 04 00 07 */ addi r0, r4, 7 +/* 802814EC 0027E44C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802814F0 0027E450 7C 09 03 A6 */ mtctr r0 +/* 802814F4 0027E454 2C 04 00 00 */ cmpwi r4, 0 +/* 802814F8 0027E458 40 81 00 0C */ ble lbl_80281504 +lbl_802814FC: +/* 802814FC 0027E45C 38 63 00 08 */ addi r3, r3, 8 +/* 80281500 0027E460 42 00 FF FC */ bdnz lbl_802814FC +lbl_80281504: +/* 80281504 0027E464 7C 03 28 50 */ subf r0, r3, r5 +/* 80281508 0027E468 7C 09 03 A6 */ mtctr r0 +/* 8028150C 0027E46C 7C 03 28 00 */ cmpw r3, r5 +/* 80281510 0027E470 40 80 00 08 */ bge lbl_80281518 +lbl_80281514: +/* 80281514 0027E474 42 00 00 00 */ bdnz lbl_80281514 +lbl_80281518: +/* 80281518 0027E478 38 00 00 00 */ li r0, 0 +/* 8028151C 0027E47C 83 E1 02 7C */ lwz r31, 0x27c(r1) +/* 80281520 0027E480 90 01 00 80 */ stw r0, 0x80(r1) +/* 80281524 0027E484 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80281528 0027E488 83 C1 02 78 */ lwz r30, 0x278(r1) +/* 8028152C 0027E48C 83 A1 02 74 */ lwz r29, 0x274(r1) +/* 80281530 0027E490 83 81 02 70 */ lwz r28, 0x270(r1) +/* 80281534 0027E494 7C 08 03 A6 */ mtlr r0 +/* 80281538 0027E498 38 21 02 80 */ addi r1, r1, 0x280 +/* 8028153C 0027E49C 4E 80 00 20 */ blr + +.global LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream +LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream: +/* 80281540 0027E4A0 94 21 FC 90 */ stwu r1, -0x370(r1) +/* 80281544 0027E4A4 7C 08 02 A6 */ mflr r0 +/* 80281548 0027E4A8 90 01 03 74 */ stw r0, 0x374(r1) +/* 8028154C 0027E4AC 38 00 00 00 */ li r0, 0 +/* 80281550 0027E4B0 93 E1 03 6C */ stw r31, 0x36c(r1) +/* 80281554 0027E4B4 3B E0 00 00 */ li r31, 0 +/* 80281558 0027E4B8 93 C1 03 68 */ stw r30, 0x368(r1) +/* 8028155C 0027E4BC 7C 9E 23 78 */ mr r30, r4 +/* 80281560 0027E4C0 93 A1 03 64 */ stw r29, 0x364(r1) +/* 80281564 0027E4C4 7C 7D 1B 78 */ mr r29, r3 +/* 80281568 0027E4C8 90 01 00 B0 */ stw r0, 0xb0(r1) +lbl_8028156C: +/* 8028156C 0027E4CC 7F C4 F3 78 */ mr r4, r30 +/* 80281570 0027E4D0 38 61 00 08 */ addi r3, r1, 8 +/* 80281574 0027E4D4 48 00 00 E1 */ bl __ct__13SPrimeStruct4FR12CInputStream +/* 80281578 0027E4D8 7C 64 1B 78 */ mr r4, r3 +/* 8028157C 0027E4DC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80281580 0027E4E0 48 00 00 8D */ bl sub_8028160c +/* 80281584 0027E4E4 3B FF 00 01 */ addi r31, r31, 1 +/* 80281588 0027E4E8 2C 1F 00 04 */ cmpwi r31, 4 +/* 8028158C 0027E4EC 41 80 FF E0 */ blt lbl_8028156C +/* 80281590 0027E4F0 7F A3 EB 78 */ mr r3, r29 +/* 80281594 0027E4F4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80281598 0027E4F8 4B FF F9 2D */ bl sub_80280ec4 +/* 8028159C 0027E4FC 80 A1 00 B0 */ lwz r5, 0xb0(r1) +/* 802815A0 0027E500 38 60 00 00 */ li r3, 0 +/* 802815A4 0027E504 2C 05 00 00 */ cmpwi r5, 0 +/* 802815A8 0027E508 40 81 00 40 */ ble lbl_802815E8 +/* 802815AC 0027E50C 2C 05 00 08 */ cmpwi r5, 8 +/* 802815B0 0027E510 38 85 FF F8 */ addi r4, r5, -8 +/* 802815B4 0027E514 40 81 00 20 */ ble lbl_802815D4 +/* 802815B8 0027E518 38 04 00 07 */ addi r0, r4, 7 +/* 802815BC 0027E51C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802815C0 0027E520 7C 09 03 A6 */ mtctr r0 +/* 802815C4 0027E524 2C 04 00 00 */ cmpwi r4, 0 +/* 802815C8 0027E528 40 81 00 0C */ ble lbl_802815D4 +lbl_802815CC: +/* 802815CC 0027E52C 38 63 00 08 */ addi r3, r3, 8 +/* 802815D0 0027E530 42 00 FF FC */ bdnz lbl_802815CC +lbl_802815D4: +/* 802815D4 0027E534 7C 03 28 50 */ subf r0, r3, r5 +/* 802815D8 0027E538 7C 09 03 A6 */ mtctr r0 +/* 802815DC 0027E53C 7C 03 28 00 */ cmpw r3, r5 +/* 802815E0 0027E540 40 80 00 08 */ bge lbl_802815E8 +lbl_802815E4: +/* 802815E4 0027E544 42 00 00 00 */ bdnz lbl_802815E4 +lbl_802815E8: +/* 802815E8 0027E548 38 00 00 00 */ li r0, 0 +/* 802815EC 0027E54C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 802815F0 0027E550 80 01 03 74 */ lwz r0, 0x374(r1) +/* 802815F4 0027E554 83 E1 03 6C */ lwz r31, 0x36c(r1) +/* 802815F8 0027E558 83 C1 03 68 */ lwz r30, 0x368(r1) +/* 802815FC 0027E55C 83 A1 03 64 */ lwz r29, 0x364(r1) +/* 80281600 0027E560 7C 08 03 A6 */ mtlr r0 +/* 80281604 0027E564 38 21 03 70 */ addi r1, r1, 0x370 +/* 80281608 0027E568 4E 80 00 20 */ blr + +.global sub_8028160c +sub_8028160c: +/* 8028160C 0027E56C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281610 0027E570 7C 08 02 A6 */ mflr r0 +/* 80281614 0027E574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281618 0027E578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028161C 0027E57C 7C 7F 1B 78 */ mr r31, r3 +/* 80281620 0027E580 80 03 00 00 */ lwz r0, 0(r3) +/* 80281624 0027E584 1C 00 00 A8 */ mulli r0, r0, 0xa8 +/* 80281628 0027E588 7C 7F 02 14 */ add r3, r31, r0 +/* 8028162C 0027E58C 38 63 00 04 */ addi r3, r3, 4 +/* 80281630 0027E590 4B FF F9 4D */ bl sub_80280f7c +/* 80281634 0027E594 80 7F 00 00 */ lwz r3, 0(r31) +/* 80281638 0027E598 38 03 00 01 */ addi r0, r3, 1 +/* 8028163C 0027E59C 90 1F 00 00 */ stw r0, 0(r31) +/* 80281640 0027E5A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281644 0027E5A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281648 0027E5A8 7C 08 03 A6 */ mtlr r0 +/* 8028164C 0027E5AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281650 0027E5B0 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct4FR12CInputStream +__ct__13SPrimeStruct4FR12CInputStream: +/* 80281654 0027E5B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281658 0027E5B8 7C 08 02 A6 */ mflr r0 +/* 8028165C 0027E5BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281660 0027E5C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281664 0027E5C4 7C 9F 23 78 */ mr r31, r4 +/* 80281668 0027E5C8 93 C1 00 08 */ stw r30, 8(r1) +/* 8028166C 0027E5CC 7C 7E 1B 78 */ mr r30, r3 +/* 80281670 0027E5D0 4B E4 4E E1 */ bl __ct__9CBeamInfoFR12CInputStream +/* 80281674 0027E5D4 7F E3 FB 78 */ mr r3, r31 +/* 80281678 0027E5D8 48 0B D6 0D */ bl ReadLong__12CInputStreamFv +/* 8028167C 0027E5DC 90 7E 00 44 */ stw r3, 0x44(r30) +/* 80281680 0027E5E0 7F E4 FB 78 */ mr r4, r31 +/* 80281684 0027E5E4 38 7E 00 48 */ addi r3, r30, 0x48 +/* 80281688 0027E5E8 4B E4 1E D9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8028168C 0027E5EC 7F E4 FB 78 */ mr r4, r31 +/* 80281690 0027E5F0 38 7E 00 64 */ addi r3, r30, 0x64 +/* 80281694 0027E5F4 48 00 00 39 */ bl __ct__13SPrimeStruct5FR12CInputStream +/* 80281698 0027E5F8 7F E3 FB 78 */ mr r3, r31 +/* 8028169C 0027E5FC 48 0B D5 8D */ bl ReadFloat__12CInputStreamFv +/* 802816A0 0027E600 D0 3E 00 88 */ stfs f1, 0x88(r30) +/* 802816A4 0027E604 7F E4 FB 78 */ mr r4, r31 +/* 802816A8 0027E608 38 7E 00 8C */ addi r3, r30, 0x8c +/* 802816AC 0027E60C 4B E4 1E B5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 802816B0 0027E610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802816B4 0027E614 7F C3 F3 78 */ mr r3, r30 +/* 802816B8 0027E618 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802816BC 0027E61C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802816C0 0027E620 7C 08 03 A6 */ mtlr r0 +/* 802816C4 0027E624 38 21 00 10 */ addi r1, r1, 0x10 +/* 802816C8 0027E628 4E 80 00 20 */ blr + +.global __ct__13SPrimeStruct5FR12CInputStream +__ct__13SPrimeStruct5FR12CInputStream: +/* 802816CC 0027E62C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802816D0 0027E630 7C 08 02 A6 */ mflr r0 +/* 802816D4 0027E634 90 01 00 14 */ stw r0, 0x14(r1) +/* 802816D8 0027E638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802816DC 0027E63C 7C 9F 23 78 */ mr r31, r4 +/* 802816E0 0027E640 93 C1 00 08 */ stw r30, 8(r1) +/* 802816E4 0027E644 7C 7E 1B 78 */ mr r30, r3 +/* 802816E8 0027E648 7F E3 FB 78 */ mr r3, r31 +/* 802816EC 0027E64C 48 0B D5 99 */ bl ReadLong__12CInputStreamFv +/* 802816F0 0027E650 90 7E 00 00 */ stw r3, 0(r30) +/* 802816F4 0027E654 7F E3 FB 78 */ mr r3, r31 +/* 802816F8 0027E658 48 0B D5 8D */ bl ReadLong__12CInputStreamFv +/* 802816FC 0027E65C 90 7E 00 04 */ stw r3, 4(r30) +/* 80281700 0027E660 7F E3 FB 78 */ mr r3, r31 +/* 80281704 0027E664 48 0B D5 81 */ bl ReadLong__12CInputStreamFv +/* 80281708 0027E668 90 7E 00 08 */ stw r3, 8(r30) +/* 8028170C 0027E66C 7F E3 FB 78 */ mr r3, r31 +/* 80281710 0027E670 48 0B D5 75 */ bl ReadLong__12CInputStreamFv +/* 80281714 0027E674 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80281718 0027E678 7F E3 FB 78 */ mr r3, r31 +/* 8028171C 0027E67C 48 0B D5 69 */ bl ReadLong__12CInputStreamFv +/* 80281720 0027E680 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80281724 0027E684 7F E3 FB 78 */ mr r3, r31 +/* 80281728 0027E688 48 0B D5 5D */ bl ReadLong__12CInputStreamFv +/* 8028172C 0027E68C 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80281730 0027E690 7F E3 FB 78 */ mr r3, r31 +/* 80281734 0027E694 48 0B D5 51 */ bl ReadLong__12CInputStreamFv +/* 80281738 0027E698 90 7E 00 18 */ stw r3, 0x18(r30) +/* 8028173C 0027E69C 7F E3 FB 78 */ mr r3, r31 +/* 80281740 0027E6A0 48 0B D5 45 */ bl ReadLong__12CInputStreamFv +/* 80281744 0027E6A4 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 80281748 0027E6A8 7F E3 FB 78 */ mr r3, r31 +/* 8028174C 0027E6AC 48 0B D5 39 */ bl ReadLong__12CInputStreamFv +/* 80281750 0027E6B0 90 7E 00 20 */ stw r3, 0x20(r30) +/* 80281754 0027E6B4 7F C3 F3 78 */ mr r3, r30 +/* 80281758 0027E6B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028175C 0027E6BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281760 0027E6C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80281764 0027E6C4 7C 08 03 A6 */ mtlr r0 +/* 80281768 0027E6C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028176C 0027E6CC 4E 80 00 20 */ blr + +.global sub_80281770 +sub_80281770: +/* 80281770 0027E6D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281774 0027E6D4 7C 08 02 A6 */ mflr r0 +/* 80281778 0027E6D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028177C 0027E6DC 48 0B D5 09 */ bl ReadLong__12CInputStreamFv +/* 80281780 0027E6E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281784 0027E6E4 7C 08 03 A6 */ mtlr r0 +/* 80281788 0027E6E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028178C 0027E6EC 4E 80 00 20 */ blr + +.global __ct__19SPrimeExoParametersFR12CInputStream +__ct__19SPrimeExoParametersFR12CInputStream: +/* 80281790 0027E6F0 94 21 F6 00 */ stwu r1, -0xa00(r1) +/* 80281794 0027E6F4 7C 08 02 A6 */ mflr r0 +/* 80281798 0027E6F8 90 01 0A 04 */ stw r0, 0xa04(r1) +/* 8028179C 0027E6FC 93 E1 09 FC */ stw r31, 0x9fc(r1) +/* 802817A0 0027E700 7C 9F 23 78 */ mr r31, r4 +/* 802817A4 0027E704 93 C1 09 F8 */ stw r30, 0x9f8(r1) +/* 802817A8 0027E708 7C 7E 1B 78 */ mr r30, r3 +/* 802817AC 0027E70C 7F E3 FB 78 */ mr r3, r31 +/* 802817B0 0027E710 4B FF FF C1 */ bl sub_80281770 +/* 802817B4 0027E714 3C 80 80 3D */ lis r4, lbl_803D58D8@ha +/* 802817B8 0027E718 90 7E 00 00 */ stw r3, 0(r30) +/* 802817BC 0027E71C 38 A4 58 D8 */ addi r5, r4, lbl_803D58D8@l +/* 802817C0 0027E720 7F E4 FB 78 */ mr r4, r31 +/* 802817C4 0027E724 38 61 00 08 */ addi r3, r1, 8 +/* 802817C8 0027E728 38 A5 00 20 */ addi r5, r5, 0x20 +/* 802817CC 0027E72C 4B E8 40 5D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 802817D0 0027E730 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802817D4 0027E734 7F E4 FB 78 */ mr r4, r31 +/* 802817D8 0027E738 38 7E 00 04 */ addi r3, r30, 4 +/* 802817DC 0027E73C 4B E8 40 9D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 802817E0 0027E740 7F E4 FB 78 */ mr r4, r31 +/* 802817E4 0027E744 38 61 00 10 */ addi r3, r1, 0x10 +/* 802817E8 0027E748 4B E5 85 8D */ bl LoadActorParameters__FR12CInputStream +/* 802817EC 0027E74C 38 7E 01 3C */ addi r3, r30, 0x13c +/* 802817F0 0027E750 38 81 00 10 */ addi r4, r1, 0x10 +/* 802817F4 0027E754 4B E4 3E 29 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 802817F8 0027E758 38 61 00 10 */ addi r3, r1, 0x10 +/* 802817FC 0027E75C 38 80 FF FF */ li r4, -1 +/* 80281800 0027E760 4B E8 4E 09 */ bl __dt__16CActorParametersFv +/* 80281804 0027E764 7F E3 FB 78 */ mr r3, r31 +/* 80281808 0027E768 48 0B D4 7D */ bl ReadLong__12CInputStreamFv +/* 8028180C 0027E76C 38 03 FF FF */ addi r0, r3, -1 +/* 80281810 0027E770 7F E4 FB 78 */ mr r4, r31 +/* 80281814 0027E774 90 1E 01 A4 */ stw r0, 0x1a4(r30) +/* 80281818 0027E778 38 61 04 9C */ addi r3, r1, 0x49c +/* 8028181C 0027E77C 4B FF F8 DD */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281820 0027E780 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 80281824 0027E784 38 81 04 9C */ addi r4, r1, 0x49c +/* 80281828 0027E788 4B D8 95 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8028182C 0027E78C 34 81 05 1C */ addic. r4, r1, 0x51c +/* 80281830 0027E790 41 82 00 10 */ beq lbl_80281840 +/* 80281834 0027E794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281838 0027E798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8028183C 0027E79C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281840: +/* 80281840 0027E7A0 34 81 04 E0 */ addic. r4, r1, 0x4e0 +/* 80281844 0027E7A4 41 82 00 10 */ beq lbl_80281854 +/* 80281848 0027E7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8028184C 0027E7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281850 0027E7B0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281854: +/* 80281854 0027E7B4 34 81 04 A4 */ addic. r4, r1, 0x4a4 +/* 80281858 0027E7B8 41 82 00 10 */ beq lbl_80281868 +/* 8028185C 0027E7BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281860 0027E7C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281864 0027E7C4 90 04 00 00 */ stw r0, 0(r4) +lbl_80281868: +/* 80281868 0027E7C8 7F E4 FB 78 */ mr r4, r31 +/* 8028186C 0027E7CC 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 80281870 0027E7D0 4B FF F8 89 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281874 0027E7D4 38 7E 02 7C */ addi r3, r30, 0x27c +/* 80281878 0027E7D8 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 8028187C 0027E7DC 4B D8 95 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281880 0027E7E0 34 81 04 48 */ addic. r4, r1, 0x448 +/* 80281884 0027E7E4 41 82 00 10 */ beq lbl_80281894 +/* 80281888 0027E7E8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8028188C 0027E7EC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281890 0027E7F0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281894: +/* 80281894 0027E7F4 34 81 04 0C */ addic. r4, r1, 0x40c +/* 80281898 0027E7F8 41 82 00 10 */ beq lbl_802818A8 +/* 8028189C 0027E7FC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818A0 0027E800 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818A4 0027E804 90 04 00 00 */ stw r0, 0(r4) +lbl_802818A8: +/* 802818A8 0027E808 34 81 03 D0 */ addic. r4, r1, 0x3d0 +/* 802818AC 0027E80C 41 82 00 10 */ beq lbl_802818BC +/* 802818B0 0027E810 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818B4 0027E814 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818B8 0027E818 90 04 00 00 */ stw r0, 0(r4) +lbl_802818BC: +/* 802818BC 0027E81C 7F E4 FB 78 */ mr r4, r31 +/* 802818C0 0027E820 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 802818C4 0027E824 4B FF F8 35 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 802818C8 0027E828 38 7E 03 50 */ addi r3, r30, 0x350 +/* 802818CC 0027E82C 38 81 02 F4 */ addi r4, r1, 0x2f4 +/* 802818D0 0027E830 4B D8 94 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 802818D4 0027E834 34 81 03 74 */ addic. r4, r1, 0x374 +/* 802818D8 0027E838 41 82 00 10 */ beq lbl_802818E8 +/* 802818DC 0027E83C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818E0 0027E840 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818E4 0027E844 90 04 00 00 */ stw r0, 0(r4) +lbl_802818E8: +/* 802818E8 0027E848 34 81 03 38 */ addic. r4, r1, 0x338 +/* 802818EC 0027E84C 41 82 00 10 */ beq lbl_802818FC +/* 802818F0 0027E850 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802818F4 0027E854 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802818F8 0027E858 90 04 00 00 */ stw r0, 0(r4) +lbl_802818FC: +/* 802818FC 0027E85C 34 81 02 FC */ addic. r4, r1, 0x2fc +/* 80281900 0027E860 41 82 00 10 */ beq lbl_80281910 +/* 80281904 0027E864 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281908 0027E868 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8028190C 0027E86C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281910: +/* 80281910 0027E870 7F E4 FB 78 */ mr r4, r31 +/* 80281914 0027E874 38 7E 04 24 */ addi r3, r30, 0x424 +/* 80281918 0027E878 48 00 03 91 */ bl __ct__14SPrimeStruct2BFR12CInputStream +/* 8028191C 0027E87C 7F E3 FB 78 */ mr r3, r31 +/* 80281920 0027E880 48 0B D3 65 */ bl ReadLong__12CInputStreamFv +/* 80281924 0027E884 90 7E 04 60 */ stw r3, 0x460(r30) +/* 80281928 0027E888 7F E4 FB 78 */ mr r4, r31 +/* 8028192C 0027E88C 38 61 07 54 */ addi r3, r1, 0x754 +/* 80281930 0027E890 4B FF FC 11 */ bl LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream +/* 80281934 0027E894 38 7E 04 64 */ addi r3, r30, 0x464 +/* 80281938 0027E898 38 81 07 54 */ addi r4, r1, 0x754 +/* 8028193C 0027E89C 4B FF F5 89 */ bl sub_80280ec4 +/* 80281940 0027E8A0 80 A1 07 54 */ lwz r5, 0x754(r1) +/* 80281944 0027E8A4 38 60 00 00 */ li r3, 0 +/* 80281948 0027E8A8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028194C 0027E8AC 40 81 00 40 */ ble lbl_8028198C +/* 80281950 0027E8B0 2C 05 00 08 */ cmpwi r5, 8 +/* 80281954 0027E8B4 38 85 FF F8 */ addi r4, r5, -8 +/* 80281958 0027E8B8 40 81 00 20 */ ble lbl_80281978 +/* 8028195C 0027E8BC 38 04 00 07 */ addi r0, r4, 7 +/* 80281960 0027E8C0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80281964 0027E8C4 7C 09 03 A6 */ mtctr r0 +/* 80281968 0027E8C8 2C 04 00 00 */ cmpwi r4, 0 +/* 8028196C 0027E8CC 40 81 00 0C */ ble lbl_80281978 +lbl_80281970: +/* 80281970 0027E8D0 38 63 00 08 */ addi r3, r3, 8 +/* 80281974 0027E8D4 42 00 FF FC */ bdnz lbl_80281970 +lbl_80281978: +/* 80281978 0027E8D8 7C 03 28 50 */ subf r0, r3, r5 +/* 8028197C 0027E8DC 7C 09 03 A6 */ mtctr r0 +/* 80281980 0027E8E0 7C 03 28 00 */ cmpw r3, r5 +/* 80281984 0027E8E4 40 80 00 08 */ bge lbl_8028198C +lbl_80281988: +/* 80281988 0027E8E8 42 00 00 00 */ bdnz lbl_80281988 +lbl_8028198C: +/* 8028198C 0027E8EC 38 00 00 00 */ li r0, 0 +/* 80281990 0027E8F0 7F E3 FB 78 */ mr r3, r31 +/* 80281994 0027E8F4 90 01 07 54 */ stw r0, 0x754(r1) +/* 80281998 0027E8F8 48 0B D2 ED */ bl ReadLong__12CInputStreamFv +/* 8028199C 0027E8FC 90 7E 07 08 */ stw r3, 0x708(r30) +/* 802819A0 0027E900 7F E4 FB 78 */ mr r4, r31 +/* 802819A4 0027E904 38 7E 07 0C */ addi r3, r30, 0x70c +/* 802819A8 0027E908 4B E4 1B B9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 802819AC 0027E90C 7F E4 FB 78 */ mr r4, r31 +/* 802819B0 0027E910 38 61 02 20 */ addi r3, r1, 0x220 +/* 802819B4 0027E914 4B FF F7 45 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 802819B8 0027E918 38 7E 07 28 */ addi r3, r30, 0x728 +/* 802819BC 0027E91C 38 81 02 20 */ addi r4, r1, 0x220 +/* 802819C0 0027E920 4B D8 93 E9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 802819C4 0027E924 34 81 02 A0 */ addic. r4, r1, 0x2a0 +/* 802819C8 0027E928 41 82 00 10 */ beq lbl_802819D8 +/* 802819CC 0027E92C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819D0 0027E930 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819D4 0027E934 90 04 00 00 */ stw r0, 0(r4) +lbl_802819D8: +/* 802819D8 0027E938 34 81 02 64 */ addic. r4, r1, 0x264 +/* 802819DC 0027E93C 41 82 00 10 */ beq lbl_802819EC +/* 802819E0 0027E940 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819E4 0027E944 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819E8 0027E948 90 04 00 00 */ stw r0, 0(r4) +lbl_802819EC: +/* 802819EC 0027E94C 34 81 02 28 */ addic. r4, r1, 0x228 +/* 802819F0 0027E950 41 82 00 10 */ beq lbl_80281A00 +/* 802819F4 0027E954 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802819F8 0027E958 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802819FC 0027E95C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A00: +/* 80281A00 0027E960 7F E3 FB 78 */ mr r3, r31 +/* 80281A04 0027E964 48 0B D2 81 */ bl ReadLong__12CInputStreamFv +/* 80281A08 0027E968 90 7E 07 FC */ stw r3, 0x7fc(r30) +/* 80281A0C 0027E96C 7F E4 FB 78 */ mr r4, r31 +/* 80281A10 0027E970 38 7E 08 00 */ addi r3, r30, 0x800 +/* 80281A14 0027E974 4B E4 1B 4D */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281A18 0027E978 7F E4 FB 78 */ mr r4, r31 +/* 80281A1C 0027E97C 38 61 01 4C */ addi r3, r1, 0x14c +/* 80281A20 0027E980 4B FF F6 D9 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281A24 0027E984 38 7E 08 1C */ addi r3, r30, 0x81c +/* 80281A28 0027E988 38 81 01 4C */ addi r4, r1, 0x14c +/* 80281A2C 0027E98C 4B D8 93 7D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281A30 0027E990 34 81 01 CC */ addic. r4, r1, 0x1cc +/* 80281A34 0027E994 41 82 00 10 */ beq lbl_80281A44 +/* 80281A38 0027E998 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A3C 0027E99C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A40 0027E9A0 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A44: +/* 80281A44 0027E9A4 34 81 01 90 */ addic. r4, r1, 0x190 +/* 80281A48 0027E9A8 41 82 00 10 */ beq lbl_80281A58 +/* 80281A4C 0027E9AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A50 0027E9B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A54 0027E9B4 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A58: +/* 80281A58 0027E9B8 34 81 01 54 */ addic. r4, r1, 0x154 +/* 80281A5C 0027E9BC 41 82 00 10 */ beq lbl_80281A6C +/* 80281A60 0027E9C0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281A64 0027E9C4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281A68 0027E9C8 90 04 00 00 */ stw r0, 0(r4) +lbl_80281A6C: +/* 80281A6C 0027E9CC 7F E4 FB 78 */ mr r4, r31 +/* 80281A70 0027E9D0 38 7E 08 F0 */ addi r3, r30, 0x8f0 +/* 80281A74 0027E9D4 48 01 E9 41 */ bl __ct__20SPrimeProjectileInfoFR12CInputStream +/* 80281A78 0027E9D8 7F E4 FB 78 */ mr r4, r31 +/* 80281A7C 0027E9DC 38 7E 09 2C */ addi r3, r30, 0x92c +/* 80281A80 0027E9E0 4B E4 1A E1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281A84 0027E9E4 7F E4 FB 78 */ mr r4, r31 +/* 80281A88 0027E9E8 38 61 00 78 */ addi r3, r1, 0x78 +/* 80281A8C 0027E9EC 4B FF F6 6D */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream +/* 80281A90 0027E9F0 38 7E 09 48 */ addi r3, r30, 0x948 +/* 80281A94 0027E9F4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80281A98 0027E9F8 4B D8 93 11 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 80281A9C 0027E9FC 34 81 00 F8 */ addic. r4, r1, 0xf8 +/* 80281AA0 0027EA00 41 82 00 10 */ beq lbl_80281AB0 +/* 80281AA4 0027EA04 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281AA8 0027EA08 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AAC 0027EA0C 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AB0: +/* 80281AB0 0027EA10 34 81 00 BC */ addic. r4, r1, 0xbc +/* 80281AB4 0027EA14 41 82 00 10 */ beq lbl_80281AC4 +/* 80281AB8 0027EA18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281ABC 0027EA1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AC0 0027EA20 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AC4: +/* 80281AC4 0027EA24 34 81 00 80 */ addic. r4, r1, 0x80 +/* 80281AC8 0027EA28 41 82 00 10 */ beq lbl_80281AD8 +/* 80281ACC 0027EA2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80281AD0 0027EA30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80281AD4 0027EA34 90 04 00 00 */ stw r0, 0(r4) +lbl_80281AD8: +/* 80281AD8 0027EA38 7F E3 FB 78 */ mr r3, r31 +/* 80281ADC 0027EA3C 48 0B D1 A9 */ bl ReadLong__12CInputStreamFv +/* 80281AE0 0027EA40 90 7E 0A 1C */ stw r3, 0xa1c(r30) +/* 80281AE4 0027EA44 7F E3 FB 78 */ mr r3, r31 +/* 80281AE8 0027EA48 48 0B D1 9D */ bl ReadLong__12CInputStreamFv +/* 80281AEC 0027EA4C 90 7E 0A 20 */ stw r3, 0xa20(r30) +/* 80281AF0 0027EA50 7F E3 FB 78 */ mr r3, r31 +/* 80281AF4 0027EA54 48 0B D1 91 */ bl ReadLong__12CInputStreamFv +/* 80281AF8 0027EA58 90 7E 0A 24 */ stw r3, 0xa24(r30) +/* 80281AFC 0027EA5C 7F E3 FB 78 */ mr r3, r31 +/* 80281B00 0027EA60 48 0B D1 85 */ bl ReadLong__12CInputStreamFv +/* 80281B04 0027EA64 90 7E 0A 28 */ stw r3, 0xa28(r30) +/* 80281B08 0027EA68 7F E4 FB 78 */ mr r4, r31 +/* 80281B0C 0027EA6C 38 61 05 70 */ addi r3, r1, 0x570 +/* 80281B10 0027EA70 4B FF F7 49 */ bl LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream +/* 80281B14 0027EA74 80 01 05 70 */ lwz r0, 0x570(r1) +/* 80281B18 0027EA78 38 9E 0A 30 */ addi r4, r30, 0xa30 +/* 80281B1C 0027EA7C 38 61 05 74 */ addi r3, r1, 0x574 +/* 80281B20 0027EA80 90 1E 0A 2C */ stw r0, 0xa2c(r30) +/* 80281B24 0027EA84 80 1E 0A 2C */ lwz r0, 0xa2c(r30) +/* 80281B28 0027EA88 7C 09 03 A6 */ mtctr r0 +/* 80281B2C 0027EA8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80281B30 0027EA90 40 81 01 08 */ ble lbl_80281C38 +lbl_80281B34: +/* 80281B34 0027EA94 28 04 00 00 */ cmplwi r4, 0 +/* 80281B38 0027EA98 41 82 00 F4 */ beq lbl_80281C2C +/* 80281B3C 0027EA9C 80 03 00 00 */ lwz r0, 0(r3) +/* 80281B40 0027EAA0 90 04 00 00 */ stw r0, 0(r4) +/* 80281B44 0027EAA4 80 A3 00 04 */ lwz r5, 4(r3) +/* 80281B48 0027EAA8 80 03 00 08 */ lwz r0, 8(r3) +/* 80281B4C 0027EAAC 90 A4 00 04 */ stw r5, 4(r4) +/* 80281B50 0027EAB0 90 04 00 08 */ stw r0, 8(r4) +/* 80281B54 0027EAB4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80281B58 0027EAB8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80281B5C 0027EABC 90 A4 00 0C */ stw r5, 0xc(r4) +/* 80281B60 0027EAC0 90 04 00 10 */ stw r0, 0x10(r4) +/* 80281B64 0027EAC4 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80281B68 0027EAC8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80281B6C 0027EACC 90 A4 00 14 */ stw r5, 0x14(r4) +/* 80281B70 0027EAD0 90 04 00 18 */ stw r0, 0x18(r4) +/* 80281B74 0027EAD4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80281B78 0027EAD8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80281B7C 0027EADC 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 80281B80 0027EAE0 90 04 00 20 */ stw r0, 0x20(r4) +/* 80281B84 0027EAE4 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 80281B88 0027EAE8 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80281B8C 0027EAEC 90 A4 00 24 */ stw r5, 0x24(r4) +/* 80281B90 0027EAF0 90 04 00 28 */ stw r0, 0x28(r4) +/* 80281B94 0027EAF4 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 80281B98 0027EAF8 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80281B9C 0027EAFC 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 80281BA0 0027EB00 90 04 00 30 */ stw r0, 0x30(r4) +/* 80281BA4 0027EB04 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80281BA8 0027EB08 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80281BAC 0027EB0C 90 A4 00 34 */ stw r5, 0x34(r4) +/* 80281BB0 0027EB10 90 04 00 38 */ stw r0, 0x38(r4) +/* 80281BB4 0027EB14 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80281BB8 0027EB18 90 04 00 3C */ stw r0, 0x3c(r4) +/* 80281BBC 0027EB1C 80 A3 00 40 */ lwz r5, 0x40(r3) +/* 80281BC0 0027EB20 80 03 00 44 */ lwz r0, 0x44(r3) +/* 80281BC4 0027EB24 90 A4 00 40 */ stw r5, 0x40(r4) +/* 80281BC8 0027EB28 90 04 00 44 */ stw r0, 0x44(r4) +/* 80281BCC 0027EB2C 80 A3 00 48 */ lwz r5, 0x48(r3) +/* 80281BD0 0027EB30 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 80281BD4 0027EB34 90 A4 00 48 */ stw r5, 0x48(r4) +/* 80281BD8 0027EB38 90 04 00 4C */ stw r0, 0x4c(r4) +/* 80281BDC 0027EB3C 80 A3 00 50 */ lwz r5, 0x50(r3) +/* 80281BE0 0027EB40 80 03 00 54 */ lwz r0, 0x54(r3) +/* 80281BE4 0027EB44 90 A4 00 50 */ stw r5, 0x50(r4) +/* 80281BE8 0027EB48 90 04 00 54 */ stw r0, 0x54(r4) +/* 80281BEC 0027EB4C 80 A3 00 58 */ lwz r5, 0x58(r3) +/* 80281BF0 0027EB50 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80281BF4 0027EB54 90 A4 00 58 */ stw r5, 0x58(r4) +/* 80281BF8 0027EB58 90 04 00 5C */ stw r0, 0x5c(r4) +/* 80281BFC 0027EB5C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80281C00 0027EB60 90 04 00 60 */ stw r0, 0x60(r4) +/* 80281C04 0027EB64 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80281C08 0027EB68 90 04 00 64 */ stw r0, 0x64(r4) +/* 80281C0C 0027EB6C 80 03 00 68 */ lwz r0, 0x68(r3) +/* 80281C10 0027EB70 90 04 00 68 */ stw r0, 0x68(r4) +/* 80281C14 0027EB74 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 80281C18 0027EB78 90 04 00 6C */ stw r0, 0x6c(r4) +/* 80281C1C 0027EB7C 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 80281C20 0027EB80 80 03 00 74 */ lwz r0, 0x74(r3) +/* 80281C24 0027EB84 90 A4 00 70 */ stw r5, 0x70(r4) +/* 80281C28 0027EB88 90 04 00 74 */ stw r0, 0x74(r4) +lbl_80281C2C: +/* 80281C2C 0027EB8C 38 84 00 78 */ addi r4, r4, 0x78 +/* 80281C30 0027EB90 38 63 00 78 */ addi r3, r3, 0x78 +/* 80281C34 0027EB94 42 00 FF 00 */ bdnz lbl_80281B34 +lbl_80281C38: +/* 80281C38 0027EB98 80 A1 05 70 */ lwz r5, 0x570(r1) +/* 80281C3C 0027EB9C 38 60 00 00 */ li r3, 0 +/* 80281C40 0027EBA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80281C44 0027EBA4 40 81 00 40 */ ble lbl_80281C84 +/* 80281C48 0027EBA8 2C 05 00 08 */ cmpwi r5, 8 +/* 80281C4C 0027EBAC 38 85 FF F8 */ addi r4, r5, -8 +/* 80281C50 0027EBB0 40 81 00 20 */ ble lbl_80281C70 +/* 80281C54 0027EBB4 38 04 00 07 */ addi r0, r4, 7 +/* 80281C58 0027EBB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80281C5C 0027EBBC 7C 09 03 A6 */ mtctr r0 +/* 80281C60 0027EBC0 2C 04 00 00 */ cmpwi r4, 0 +/* 80281C64 0027EBC4 40 81 00 0C */ ble lbl_80281C70 +lbl_80281C68: +/* 80281C68 0027EBC8 38 63 00 08 */ addi r3, r3, 8 +/* 80281C6C 0027EBCC 42 00 FF FC */ bdnz lbl_80281C68 +lbl_80281C70: +/* 80281C70 0027EBD0 7C 03 28 50 */ subf r0, r3, r5 +/* 80281C74 0027EBD4 7C 09 03 A6 */ mtctr r0 +/* 80281C78 0027EBD8 7C 03 28 00 */ cmpw r3, r5 +/* 80281C7C 0027EBDC 40 80 00 08 */ bge lbl_80281C84 +lbl_80281C80: +/* 80281C80 0027EBE0 42 00 00 00 */ bdnz lbl_80281C80 +lbl_80281C84: +/* 80281C84 0027EBE4 38 00 00 00 */ li r0, 0 +/* 80281C88 0027EBE8 7F C3 F3 78 */ mr r3, r30 +/* 80281C8C 0027EBEC 90 01 05 70 */ stw r0, 0x570(r1) +/* 80281C90 0027EBF0 83 E1 09 FC */ lwz r31, 0x9fc(r1) +/* 80281C94 0027EBF4 83 C1 09 F8 */ lwz r30, 0x9f8(r1) +/* 80281C98 0027EBF8 80 01 0A 04 */ lwz r0, 0xa04(r1) +/* 80281C9C 0027EBFC 7C 08 03 A6 */ mtlr r0 +/* 80281CA0 0027EC00 38 21 0A 00 */ addi r1, r1, 0xa00 +/* 80281CA4 0027EC04 4E 80 00 20 */ blr + +.global __ct__14SPrimeStruct2BFR12CInputStream +__ct__14SPrimeStruct2BFR12CInputStream: +/* 80281CA8 0027EC08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80281CAC 0027EC0C 7C 08 02 A6 */ mflr r0 +/* 80281CB0 0027EC10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80281CB4 0027EC14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80281CB8 0027EC18 7C 9F 23 78 */ mr r31, r4 +/* 80281CBC 0027EC1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80281CC0 0027EC20 7C 7E 1B 78 */ mr r30, r3 +/* 80281CC4 0027EC24 7F E3 FB 78 */ mr r3, r31 +/* 80281CC8 0027EC28 48 0B CF BD */ bl ReadLong__12CInputStreamFv +/* 80281CCC 0027EC2C 90 7E 00 00 */ stw r3, 0(r30) +/* 80281CD0 0027EC30 7F E3 FB 78 */ mr r3, r31 +/* 80281CD4 0027EC34 48 0B CF B1 */ bl ReadLong__12CInputStreamFv +/* 80281CD8 0027EC38 90 7E 00 04 */ stw r3, 4(r30) +/* 80281CDC 0027EC3C 7F E3 FB 78 */ mr r3, r31 +/* 80281CE0 0027EC40 48 0B CF A5 */ bl ReadLong__12CInputStreamFv +/* 80281CE4 0027EC44 90 7E 00 08 */ stw r3, 8(r30) +/* 80281CE8 0027EC48 7F E3 FB 78 */ mr r3, r31 +/* 80281CEC 0027EC4C 48 0B CF 99 */ bl ReadLong__12CInputStreamFv +/* 80281CF0 0027EC50 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80281CF4 0027EC54 7F E4 FB 78 */ mr r4, r31 +/* 80281CF8 0027EC58 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80281CFC 0027EC5C 4B E4 18 65 */ bl __ct__11CDamageInfoFR12CInputStream +/* 80281D00 0027EC60 7F E3 FB 78 */ mr r3, r31 +/* 80281D04 0027EC64 48 0B CF 25 */ bl ReadFloat__12CInputStreamFv +/* 80281D08 0027EC68 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80281D0C 0027EC6C 7F E3 FB 78 */ mr r3, r31 +/* 80281D10 0027EC70 48 0B CF 19 */ bl ReadFloat__12CInputStreamFv +/* 80281D14 0027EC74 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 80281D18 0027EC78 7F E3 FB 78 */ mr r3, r31 +/* 80281D1C 0027EC7C 48 0B CF 69 */ bl ReadLong__12CInputStreamFv +/* 80281D20 0027EC80 90 7E 00 34 */ stw r3, 0x34(r30) +/* 80281D24 0027EC84 7F E3 FB 78 */ mr r3, r31 +/* 80281D28 0027EC88 48 0B CF 5D */ bl ReadLong__12CInputStreamFv +/* 80281D2C 0027EC8C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80281D30 0027EC90 48 06 6C 81 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80281D34 0027EC94 B0 7E 00 38 */ sth r3, 0x38(r30) +/* 80281D38 0027EC98 7F E3 FB 78 */ mr r3, r31 +/* 80281D3C 0027EC9C 48 0B CF 49 */ bl ReadLong__12CInputStreamFv +/* 80281D40 0027ECA0 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80281D44 0027ECA4 48 06 6C 6D */ bl TranslateSFXID__11CSfxManagerFUs +/* 80281D48 0027ECA8 B0 7E 00 3A */ sth r3, 0x3a(r30) +/* 80281D4C 0027ECAC 7F C3 F3 78 */ mr r3, r30 +/* 80281D50 0027ECB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80281D54 0027ECB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80281D58 0027ECB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80281D5C 0027ECBC 7C 08 03 A6 */ mtlr r0 +/* 80281D60 0027ECC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80281D64 0027ECC4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/COmegaPirate.s b/asm/Kyoto_CWD/Enemies/COmegaPirate.s new file mode 100644 index 00000000..459dd842 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/COmegaPirate.s @@ -0,0 +1,7984 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__Q212COmegaPirate6CFlashFv +__dt__Q212COmegaPirate6CFlashFv: +/* 8028B490 002883F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B494 002883F4 7C 08 02 A6 */ mflr r0 +/* 8028B498 002883F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B49C 002883FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028B4A0 00288400 7C 9F 23 78 */ mr r31, r4 +/* 8028B4A4 00288404 93 C1 00 08 */ stw r30, 8(r1) +/* 8028B4A8 00288408 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028B4AC 0028840C 41 82 00 48 */ beq lbl_8028B4F4 +/* 8028B4B0 00288410 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha +/* 8028B4B4 00288414 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8028B4B8 00288418 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l +/* 8028B4BC 0028841C 90 1E 00 00 */ stw r0, 0(r30) +/* 8028B4C0 00288420 41 82 00 18 */ beq lbl_8028B4D8 +/* 8028B4C4 00288424 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8028B4C8 00288428 41 82 00 10 */ beq lbl_8028B4D8 +/* 8028B4CC 0028842C 38 7E 00 E8 */ addi r3, r30, 0xe8 +/* 8028B4D0 00288430 38 80 00 00 */ li r4, 0 +/* 8028B4D4 00288434 48 0B 59 6D */ bl __dt__6CTokenFv +lbl_8028B4D8: +/* 8028B4D8 00288438 7F C3 F3 78 */ mr r3, r30 +/* 8028B4DC 0028843C 38 80 00 00 */ li r4, 0 +/* 8028B4E0 00288440 4B DC A2 11 */ bl __dt__6CActorFv +/* 8028B4E4 00288444 7F E0 07 35 */ extsh. r0, r31 +/* 8028B4E8 00288448 40 81 00 0C */ ble lbl_8028B4F4 +/* 8028B4EC 0028844C 7F C3 F3 78 */ mr r3, r30 +/* 8028B4F0 00288450 48 08 A4 41 */ bl Free__7CMemoryFPCv +lbl_8028B4F4: +/* 8028B4F4 00288454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B4F8 00288458 7F C3 F3 78 */ mr r3, r30 +/* 8028B4FC 0028845C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028B500 00288460 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028B504 00288464 7C 08 03 A6 */ mtlr r0 +/* 8028B508 00288468 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B50C 0028846C 4E 80 00 20 */ blr + +.global sub_8028b510 +sub_8028b510: +/* 8028B510 00288470 38 60 00 00 */ li r3, 0 +/* 8028B514 00288474 4E 80 00 20 */ blr + +.global sub_8028b518 +sub_8028b518: +/* 8028B518 00288478 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8028B51C 0028847C 7C 08 02 A6 */ mflr r0 +/* 8028B520 00288480 90 01 00 54 */ stw r0, 0x54(r1) +/* 8028B524 00288484 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8028B528 00288488 7C 7E 1B 78 */ mr r30, r3 +/* 8028B52C 0028848C 7C 9F 23 78 */ mr r31, r4 +/* 8028B530 00288490 4B DC 9D 15 */ bl RemoveEmitter__6CActorFv +/* 8028B534 00288494 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8028B538 00288498 38 9E 0A 4C */ addi r4, r30, 0xa4c +/* 8028B53C 0028849C 48 08 76 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028B540 002884A0 88 7E 00 E4 */ lbz r3, 0xe4(r30) +/* 8028B544 002884A4 39 00 00 01 */ li r8, 1 +/* 8028B548 002884A8 51 03 26 F6 */ rlwimi r3, r8, 4, 0x1b, 0x1b +/* 8028B54C 002884AC 38 00 00 00 */ li r0, 0 +/* 8028B550 002884B0 98 7E 00 E4 */ stb r3, 0xe4(r30) +/* 8028B554 002884B4 7F C3 F3 78 */ mr r3, r30 +/* 8028B558 002884B8 7F E5 FB 78 */ mr r5, r31 +/* 8028B55C 002884BC 38 80 00 14 */ li r4, 0x14 +/* 8028B560 002884C0 88 FE 00 E4 */ lbz r7, 0xe4(r30) +/* 8028B564 002884C4 51 07 1F 38 */ rlwimi r7, r8, 3, 0x1c, 0x1c +/* 8028B568 002884C8 38 C0 FF FF */ li r6, -1 +/* 8028B56C 002884CC 98 FE 00 E4 */ stb r7, 0xe4(r30) +/* 8028B570 002884D0 88 FE 00 E4 */ lbz r7, 0xe4(r30) +/* 8028B574 002884D4 51 07 17 7A */ rlwimi r7, r8, 2, 0x1d, 0x1d +/* 8028B578 002884D8 98 FE 00 E4 */ stb r7, 0xe4(r30) +/* 8028B57C 002884DC 99 1E 09 A1 */ stb r8, 0x9a1(r30) +/* 8028B580 002884E0 98 1E 0A 4A */ stb r0, 0xa4a(r30) +/* 8028B584 002884E4 4B DC 5B 3D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B588 002884E8 7F C3 F3 78 */ mr r3, r30 +/* 8028B58C 002884EC 7F E5 FB 78 */ mr r5, r31 +/* 8028B590 002884F0 38 80 00 0E */ li r4, 0xe +/* 8028B594 002884F4 38 C0 FF FF */ li r6, -1 +/* 8028B598 002884F8 4B DC 5B 29 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B59C 002884FC 7F C3 F3 78 */ mr r3, r30 +/* 8028B5A0 00288500 7F E5 FB 78 */ mr r5, r31 +/* 8028B5A4 00288504 38 80 00 06 */ li r4, 6 +/* 8028B5A8 00288508 38 C0 FF FF */ li r6, -1 +/* 8028B5AC 0028850C 4B DC 5B 15 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028B5B0 00288510 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028B5B4 00288514 3B 60 00 00 */ li r27, 0 +/* 8028B5B8 00288518 3B A0 00 00 */ li r29, 0 +/* 8028B5BC 0028851C 48 00 00 7C */ b lbl_8028B638 +lbl_8028B5C0: +/* 8028B5C0 00288520 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028B5C4 00288524 7F E3 FB 78 */ mr r3, r31 +/* 8028B5C8 00288528 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028B5CC 0028852C 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028B5D0 00288530 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028B5D4 00288534 4B DC 0F A1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B5D8 00288538 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8028B5DC 0028853C 41 82 00 54 */ beq lbl_8028B630 +/* 8028B5E0 00288540 81 83 00 00 */ lwz r12, 0(r3) +/* 8028B5E4 00288544 38 80 00 00 */ li r4, 0 +/* 8028B5E8 00288548 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B5EC 0028854C 7D 89 03 A6 */ mtctr r12 +/* 8028B5F0 00288550 4E 80 04 21 */ bctrl +/* 8028B5F4 00288554 7F 43 D3 78 */ mr r3, r26 +/* 8028B5F8 00288558 7F E6 FB 78 */ mr r6, r31 +/* 8028B5FC 0028855C 38 80 00 29 */ li r4, 0x29 +/* 8028B600 00288560 38 A0 00 28 */ li r5, 0x28 +/* 8028B604 00288564 4B DC 88 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8028B608 00288568 88 1A 00 E7 */ lbz r0, 0xe7(r26) +/* 8028B60C 0028856C 38 60 00 00 */ li r3, 0 +/* 8028B610 00288570 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8028B614 00288574 7F E3 FB 78 */ mr r3, r31 +/* 8028B618 00288578 98 1A 00 E7 */ stb r0, 0xe7(r26) +/* 8028B61C 0028857C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028B620 00288580 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028B624 00288584 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028B628 00288588 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028B62C 0028858C 4B DC 0C 41 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8028B630: +/* 8028B630 00288590 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028B634 00288594 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028B638: +/* 8028B638 00288598 7C 1B E0 40 */ cmplw r27, r28 +/* 8028B63C 0028859C 41 80 FF 84 */ blt lbl_8028B5C0 +/* 8028B640 002885A0 80 1E 09 E0 */ lwz r0, 0x9e0(r30) +/* 8028B644 002885A4 83 9E 09 E8 */ lwz r28, 0x9e8(r30) +/* 8028B648 002885A8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8028B64C 002885AC 93 81 00 24 */ stw r28, 0x24(r1) +/* 8028B650 002885B0 7F BC 02 14 */ add r29, r28, r0 +/* 8028B654 002885B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8028B658 002885B8 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 8028B65C 002885BC 93 A1 00 28 */ stw r29, 0x28(r1) +/* 8028B660 002885C0 48 00 00 20 */ b lbl_8028B680 +lbl_8028B664: +/* 8028B664 002885C4 28 1C 00 00 */ cmplwi r28, 0 +/* 8028B668 002885C8 41 82 00 14 */ beq lbl_8028B67C +/* 8028B66C 002885CC 34 1C 00 04 */ addic. r0, r28, 4 +/* 8028B670 002885D0 41 82 00 0C */ beq lbl_8028B67C +/* 8028B674 002885D4 38 7C 00 04 */ addi r3, r28, 4 +/* 8028B678 002885D8 48 0B 24 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028B67C: +/* 8028B67C 002885DC 3B 9C 00 14 */ addi r28, r28, 0x14 +lbl_8028B680: +/* 8028B680 002885E0 7C 1C E8 40 */ cmplw r28, r29 +/* 8028B684 002885E4 40 82 FF E0 */ bne lbl_8028B664 +/* 8028B688 002885E8 38 00 00 00 */ li r0, 0 +/* 8028B68C 002885EC 7F E3 FB 78 */ mr r3, r31 +/* 8028B690 002885F0 90 1E 09 E0 */ stw r0, 0x9e0(r30) +/* 8028B694 002885F4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028B698 002885F8 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028B69C 002885FC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028B6A0 00288600 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028B6A4 00288604 4B DC 0E D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B6A8 00288608 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028B6AC 0028860C 7C 7A 1B 78 */ mr r26, r3 +/* 8028B6B0 00288610 7F E3 FB 78 */ mr r3, r31 +/* 8028B6B4 00288614 38 81 00 0C */ addi r4, r1, 0xc +/* 8028B6B8 00288618 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028B6BC 0028861C 4B DC 0E B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028B6C0 00288620 28 1A 00 00 */ cmplwi r26, 0 +/* 8028B6C4 00288624 7C 7B 1B 78 */ mr r27, r3 +/* 8028B6C8 00288628 41 82 00 1C */ beq lbl_8028B6E4 +/* 8028B6CC 0028862C 7F 43 D3 78 */ mr r3, r26 +/* 8028B6D0 00288630 38 80 00 00 */ li r4, 0 +/* 8028B6D4 00288634 81 9A 00 00 */ lwz r12, 0(r26) +/* 8028B6D8 00288638 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B6DC 0028863C 7D 89 03 A6 */ mtctr r12 +/* 8028B6E0 00288640 4E 80 04 21 */ bctrl +lbl_8028B6E4: +/* 8028B6E4 00288644 28 1B 00 00 */ cmplwi r27, 0 +/* 8028B6E8 00288648 41 82 00 1C */ beq lbl_8028B704 +/* 8028B6EC 0028864C 7F 63 DB 78 */ mr r3, r27 +/* 8028B6F0 00288650 38 80 00 00 */ li r4, 0 +/* 8028B6F4 00288654 81 9B 00 00 */ lwz r12, 0(r27) +/* 8028B6F8 00288658 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B6FC 0028865C 7D 89 03 A6 */ mtctr r12 +/* 8028B700 00288660 4E 80 04 21 */ bctrl +lbl_8028B704: +/* 8028B704 00288664 7F C3 F3 78 */ mr r3, r30 +/* 8028B708 00288668 38 80 00 00 */ li r4, 0 +/* 8028B70C 0028866C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028B710 00288670 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B714 00288674 7D 89 03 A6 */ mtctr r12 +/* 8028B718 00288678 4E 80 04 21 */ bctrl +/* 8028B71C 0028867C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028B720 00288680 7F E3 FB 78 */ mr r3, r31 +/* 8028B724 00288684 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028B728 00288688 38 81 00 08 */ addi r4, r1, 8 +/* 8028B72C 0028868C B0 01 00 08 */ sth r0, 8(r1) +/* 8028B730 00288690 38 A0 00 59 */ li r5, 0x59 +/* 8028B734 00288694 4B DB 88 11 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8028B738 00288698 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028B73C 0028869C 7F E4 FB 78 */ mr r4, r31 +/* 8028B740 002886A0 38 A0 00 00 */ li r5, 0 +/* 8028B744 002886A4 4B F1 BB B5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028B748 002886A8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028B74C 002886AC 7F E4 FB 78 */ mr r4, r31 +/* 8028B750 002886B0 38 A0 00 00 */ li r5, 0 +/* 8028B754 002886B4 4B F1 BB A5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028B758 002886B8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8028B75C 002886BC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8028B760 002886C0 7C 08 03 A6 */ mtlr r0 +/* 8028B764 002886C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8028B768 002886C8 4E 80 00 20 */ blr + +.global Accept__Q212COmegaPirate6CFlashFR8IVisitor +Accept__Q212COmegaPirate6CFlashFR8IVisitor: +/* 8028B76C 002886CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B770 002886D0 7C 08 02 A6 */ mflr r0 +/* 8028B774 002886D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B778 002886D8 7C 60 1B 78 */ mr r0, r3 +/* 8028B77C 002886DC 7C 83 23 78 */ mr r3, r4 +/* 8028B780 002886E0 81 84 00 00 */ lwz r12, 0(r4) +/* 8028B784 002886E4 7C 04 03 78 */ mr r4, r0 +/* 8028B788 002886E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8028B78C 002886EC 7D 89 03 A6 */ mtctr r12 +/* 8028B790 002886F0 4E 80 04 21 */ bctrl +/* 8028B794 002886F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B798 002886F8 7C 08 03 A6 */ mtlr r0 +/* 8028B79C 002886FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B7A0 00288700 4E 80 00 20 */ blr + +.global Think__Q212COmegaPirate6CFlashFfR13CStateManager +Think__Q212COmegaPirate6CFlashFfR13CStateManager: +/* 8028B7A4 00288704 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8028B7A8 00288708 7C 08 02 A6 */ mflr r0 +/* 8028B7AC 0028870C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8028B7B0 00288710 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8028B7B4 00288714 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8028B7B8 00288718 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8028B7BC 0028871C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8028B7C0 00288720 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8028B7C4 00288724 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8028B7C8 00288728 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 8028B7CC 0028872C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 8028B7D0 00288730 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028B7D4 00288734 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028B7D8 00288738 FF 80 08 90 */ fmr f28, f1 +/* 8028B7DC 0028873C 7C 7E 1B 78 */ mr r30, r3 +/* 8028B7E0 00288740 7C 9F 23 78 */ mr r31, r4 +/* 8028B7E4 00288744 4B DC 58 D5 */ bl Think__7CEntityFfR13CStateManager +/* 8028B7E8 00288748 C0 3E 00 F4 */ lfs f1, 0xf4(r30) +/* 8028B7EC 0028874C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028B7F0 00288750 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8028B7F4 00288754 D0 3E 00 F4 */ stfs f1, 0xf4(r30) +/* 8028B7F8 00288758 C0 3E 00 F4 */ lfs f1, 0xf4(r30) +/* 8028B7FC 0028875C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B800 00288760 41 81 00 EC */ bgt lbl_8028B8EC +/* 8028B804 00288764 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 8028B808 00288768 C0 02 BE A4 */ lfs f0, lbl_805ADBC4@sda21(r2) +/* 8028B80C 0028876C EC 21 E0 2A */ fadds f1, f1, f28 +/* 8028B810 00288770 D0 3E 00 F8 */ stfs f1, 0xf8(r30) +/* 8028B814 00288774 C3 FE 00 F8 */ lfs f31, 0xf8(r30) +/* 8028B818 00288778 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8028B81C 0028877C 40 81 00 1C */ ble lbl_8028B838 +/* 8028B820 00288780 EC 3F 00 28 */ fsubs f1, f31, f0 +/* 8028B824 00288784 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028B828 00288788 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028B82C 0028878C EC 01 00 24 */ fdivs f0, f1, f0 +/* 8028B830 00288790 EF E2 00 28 */ fsubs f31, f2, f0 +/* 8028B834 00288794 48 00 00 08 */ b lbl_8028B83C +lbl_8028B838: +/* 8028B838 00288798 EF FF 00 24 */ fdivs f31, f31, f0 +lbl_8028B83C: +/* 8028B83C 0028879C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 8028B840 002887A0 7F E4 FB 78 */ mr r4, r31 +/* 8028B844 002887A4 4B D8 02 D5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8028B848 002887A8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8028B84C 002887AC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028B850 002887B0 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8028B854 002887B4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8028B858 002887B8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8028B85C 002887BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 8028B860 002887C0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8028B864 002887C4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8028B868 002887C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028B86C 002887CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8028B870 002887D0 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8028B874 002887D4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028B878 002887D8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028B87C 002887DC C3 83 00 58 */ lfs f28, 0x58(r3) +/* 8028B880 002887E0 C3 A3 00 48 */ lfs f29, 0x48(r3) +/* 8028B884 002887E4 C3 C3 00 38 */ lfs f30, 0x38(r3) +/* 8028B888 002887E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028B88C 002887EC 48 08 8F C5 */ bl AsNormalized__9CVector3fCFv +/* 8028B890 002887F0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8028B894 002887F4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8028B898 002887F8 EC 20 07 72 */ fmuls f1, f0, f29 +/* 8028B89C 002887FC C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8028B8A0 00288800 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028B8A4 00288804 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 8028B8A8 00288808 EC 23 0F 3A */ fmadds f1, f3, f28, f1 +/* 8028B8AC 0028880C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B8B0 00288810 40 80 00 08 */ bge lbl_8028B8B8 +/* 8028B8B4 00288814 48 00 00 08 */ b lbl_8028B8BC +lbl_8028B8B8: +/* 8028B8B8 00288818 EC 01 00 72 */ fmuls f0, f1, f1 +lbl_8028B8BC: +/* 8028B8BC 0028881C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 8028B8C0 00288820 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028B8C4 00288824 D0 3E 00 FC */ stfs f1, 0xfc(r30) +/* 8028B8C8 00288828 C0 3E 00 F8 */ lfs f1, 0xf8(r30) +/* 8028B8CC 0028882C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028B8D0 00288830 40 81 00 1C */ ble lbl_8028B8EC +/* 8028B8D4 00288834 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028B8D8 00288838 7F E3 FB 78 */ mr r3, r31 +/* 8028B8DC 0028883C 38 81 00 0C */ addi r4, r1, 0xc +/* 8028B8E0 00288840 B0 01 00 08 */ sth r0, 8(r1) +/* 8028B8E4 00288844 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028B8E8 00288848 4B DC 09 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8028B8EC: +/* 8028B8EC 0028884C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8028B8F0 00288850 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8028B8F4 00288854 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8028B8F8 00288858 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8028B8FC 0028885C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8028B900 00288860 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8028B904 00288864 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 8028B908 00288868 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8028B90C 0028886C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028B910 00288870 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8028B914 00288874 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028B918 00288878 7C 08 03 A6 */ mtlr r0 +/* 8028B91C 0028887C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8028B920 00288880 4E 80 00 20 */ blr + +.global PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes +PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes: +/* 8028B924 00288884 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028B928 00288888 7C 08 02 A6 */ mflr r0 +/* 8028B92C 0028888C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028B930 00288890 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028B934 00288894 7C 7F 1B 78 */ mr r31, r3 +/* 8028B938 00288898 A0 03 00 08 */ lhz r0, 8(r3) +/* 8028B93C 0028889C 7C 83 23 78 */ mr r3, r4 +/* 8028B940 002888A0 38 81 00 08 */ addi r4, r1, 8 +/* 8028B944 002888A4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028B948 002888A8 4B DB 8F 91 */ bl RenderLast__13CStateManagerFRC9TUniqueId +/* 8028B94C 002888AC 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8028B950 002888B0 28 00 00 00 */ cmplwi r0, 0 +/* 8028B954 002888B4 40 82 00 30 */ bne lbl_8028B984 +/* 8028B958 002888B8 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8028B95C 002888BC 28 00 00 00 */ cmplwi r0, 0 +/* 8028B960 002888C0 41 82 00 24 */ beq lbl_8028B984 +/* 8028B964 002888C4 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 8028B968 002888C8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8028B96C 002888CC 28 00 00 00 */ cmplwi r0, 0 +/* 8028B970 002888D0 41 82 00 14 */ beq lbl_8028B984 +/* 8028B974 002888D4 38 7F 00 E8 */ addi r3, r31, 0xe8 +/* 8028B978 002888D8 48 0B 54 95 */ bl GetObj__6CTokenFv +/* 8028B97C 002888DC 80 03 00 04 */ lwz r0, 4(r3) +/* 8028B980 002888E0 90 1F 00 F0 */ stw r0, 0xf0(r31) +lbl_8028B984: +/* 8028B984 002888E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028B988 002888E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028B98C 002888EC 7C 08 03 A6 */ mtlr r0 +/* 8028B990 002888F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028B994 002888F4 4E 80 00 20 */ blr + +.global Render__Q212COmegaPirate6CFlashCFRC13CStateManager +Render__Q212COmegaPirate6CFlashCFRC13CStateManager: +/* 8028B998 002888F8 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028B99C 002888FC 7C 08 02 A6 */ mflr r0 +/* 8028B9A0 00288900 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028B9A4 00288904 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8028B9A8 00288908 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8028B9AC 0028890C DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8028B9B0 00288910 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8028B9B4 00288914 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8028B9B8 00288918 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8028B9BC 0028891C DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8028B9C0 00288920 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8028B9C4 00288924 DB 61 00 F0 */ stfd f27, 0xf0(r1) +/* 8028B9C8 00288928 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 +/* 8028B9CC 0028892C DB 41 00 E0 */ stfd f26, 0xe0(r1) +/* 8028B9D0 00288930 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 +/* 8028B9D4 00288934 DB 21 00 D0 */ stfd f25, 0xd0(r1) +/* 8028B9D8 00288938 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 +/* 8028B9DC 0028893C DB 01 00 C0 */ stfd f24, 0xc0(r1) +/* 8028B9E0 00288940 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 +/* 8028B9E4 00288944 DA E1 00 B0 */ stfd f23, 0xb0(r1) +/* 8028B9E8 00288948 F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 +/* 8028B9EC 0028894C DA C1 00 A0 */ stfd f22, 0xa0(r1) +/* 8028B9F0 00288950 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 +/* 8028B9F4 00288954 DA A1 00 90 */ stfd f21, 0x90(r1) +/* 8028B9F8 00288958 F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 +/* 8028B9FC 0028895C DA 81 00 80 */ stfd f20, 0x80(r1) +/* 8028BA00 00288960 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 +/* 8028BA04 00288964 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8028BA08 00288968 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8028BA0C 0028896C 7C 9F 23 78 */ mr r31, r4 +/* 8028BA10 00288970 7C 7E 1B 78 */ mr r30, r3 +/* 8028BA14 00288974 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 8028BA18 00288978 80 63 00 00 */ lwz r3, 0(r3) +/* 8028BA1C 0028897C 4B E0 5B 3D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028BA20 00288980 2C 03 00 03 */ cmpwi r3, 3 +/* 8028BA24 00288984 41 82 02 64 */ beq lbl_8028BC88 +/* 8028BA28 00288988 80 7E 00 F0 */ lwz r3, 0xf0(r30) +/* 8028BA2C 0028898C 38 A0 00 00 */ li r5, 0 +/* 8028BA30 00288990 28 03 00 00 */ cmplwi r3, 0 +/* 8028BA34 00288994 40 82 00 14 */ bne lbl_8028BA48 +/* 8028BA38 00288998 80 9E 00 E8 */ lwz r4, 0xe8(r30) +/* 8028BA3C 0028899C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8028BA40 002889A0 28 00 00 00 */ cmplwi r0, 0 +/* 8028BA44 002889A4 41 82 00 08 */ beq lbl_8028BA4C +lbl_8028BA48: +/* 8028BA48 002889A8 38 A0 00 01 */ li r5, 1 +lbl_8028BA4C: +/* 8028BA4C 002889AC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8028BA50 002889B0 41 82 02 38 */ beq lbl_8028BC88 +/* 8028BA54 002889B4 28 03 00 00 */ cmplwi r3, 0 +/* 8028BA58 002889B8 41 82 02 30 */ beq lbl_8028BC88 +/* 8028BA5C 002889BC 38 80 00 00 */ li r4, 0 +/* 8028BA60 002889C0 38 A0 00 01 */ li r5, 1 +/* 8028BA64 002889C4 48 08 3C D9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8028BA68 002889C8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028BA6C 002889CC 7F E4 FB 78 */ mr r4, r31 +/* 8028BA70 002889D0 C2 82 BE AC */ lfs f20, lbl_805ADBCC@sda21(r2) +/* 8028BA74 002889D4 80 63 00 00 */ lwz r3, 0(r3) +/* 8028BA78 002889D8 4B E0 5A E1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028BA7C 002889DC 2C 03 00 01 */ cmpwi r3, 1 +/* 8028BA80 002889E0 40 82 00 20 */ bne lbl_8028BAA0 +/* 8028BA84 002889E4 38 60 00 03 */ li r3, 3 +/* 8028BA88 002889E8 38 80 00 01 */ li r4, 1 +/* 8028BA8C 002889EC 38 A0 00 00 */ li r5, 0 +/* 8028BA90 002889F0 38 C0 00 00 */ li r6, 0 +/* 8028BA94 002889F4 48 07 CE 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8028BA98 002889F8 C2 82 BE B0 */ lfs f20, lbl_805ADBD0@sda21(r2) +/* 8028BA9C 002889FC 48 00 00 18 */ b lbl_8028BAB4 +lbl_8028BAA0: +/* 8028BAA0 00288A00 38 60 00 01 */ li r3, 1 +/* 8028BAA4 00288A04 38 80 00 04 */ li r4, 4 +/* 8028BAA8 00288A08 38 A0 00 01 */ li r5, 1 +/* 8028BAAC 00288A0C 38 C0 00 00 */ li r6, 0 +/* 8028BAB0 00288A10 48 07 FF A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8028BAB4: +/* 8028BAB4 00288A14 C0 1E 00 FC */ lfs f0, 0xfc(r30) +/* 8028BAB8 00288A18 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8028BABC 00288A1C 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 8028BAC0 00288A20 C2 FE 00 60 */ lfs f23, 0x60(r30) +/* 8028BAC4 00288A24 EC 94 00 32 */ fmuls f4, f20, f0 +/* 8028BAC8 00288A28 C0 24 00 00 */ lfs f1, 0(r4) +/* 8028BACC 00288A2C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8028BAD0 00288A30 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8028BAD4 00288A34 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 8028BAD8 00288A38 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 8028BADC 00288A3C C0 44 00 08 */ lfs f2, 8(r4) +/* 8028BAE0 00288A40 EF A4 00 72 */ fmuls f29, f4, f1 +/* 8028BAE4 00288A44 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8028BAE8 00288A48 EF C4 00 32 */ fmuls f30, f4, f0 +/* 8028BAEC 00288A4C C0 04 00 28 */ lfs f0, 0x28(r4) +/* 8028BAF0 00288A50 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028BAF4 00288A54 EF 44 00 B2 */ fmuls f26, f4, f2 +/* 8028BAF8 00288A58 EF 64 00 72 */ fmuls f27, f4, f1 +/* 8028BAFC 00288A5C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8028BB00 00288A60 EF 84 00 32 */ fmuls f28, f4, f0 +/* 8028BB04 00288A64 C3 1E 00 50 */ lfs f24, 0x50(r30) +/* 8028BB08 00288A68 C3 3E 00 40 */ lfs f25, 0x40(r30) +/* 8028BB0C 00288A6C 48 08 0A D5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8028BB10 00288A70 48 0B E4 9D */ bl White__6CColorFv +/* 8028BB14 00288A74 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8028BB18 00288A78 83 E3 00 00 */ lwz r31, 0(r3) +/* 8028BB1C 00288A7C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8028BB20 00288A80 38 60 00 00 */ li r3, 0 +/* 8028BB24 00288A84 48 07 E7 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8028BB28 00288A88 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8028BB2C 00288A8C 38 60 00 01 */ li r3, 1 +/* 8028BB30 00288A90 48 07 E7 89 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8028BB34 00288A94 38 60 00 00 */ li r3, 0 +/* 8028BB38 00288A98 38 80 00 07 */ li r4, 7 +/* 8028BB3C 00288A9C 38 A0 00 00 */ li r5, 0 +/* 8028BB40 00288AA0 48 07 FF 55 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8028BB44 00288AA4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8028BB48 00288AA8 C0 0D 99 BC */ lfs f0, lbl_805A857C@sda21(r13) +/* 8028BB4C 00288AAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028BB50 00288AB0 40 80 00 0C */ bge lbl_8028BB5C +/* 8028BB54 00288AB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028BB58 00288AB8 48 00 00 08 */ b lbl_8028BB60 +lbl_8028BB5C: +/* 8028BB5C 00288ABC 38 6D 99 BC */ addi r3, r13, lbl_805A857C@sda21 +lbl_8028BB60: +/* 8028BB60 00288AC0 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028BB64 00288AC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028BB68 00288AC8 EE C1 00 32 */ fmuls f22, f1, f0 +/* 8028BB6C 00288ACC F2 C1 A0 08 */ psq_st f22, 8(r1), 1, qr2 +/* 8028BB70 00288AD0 38 61 00 0C */ addi r3, r1, 0xc +/* 8028BB74 00288AD4 88 01 00 08 */ lbz r0, 8(r1) +/* 8028BB78 00288AD8 53 E0 00 2E */ rlwimi r0, r31, 0, 0, 0x17 +/* 8028BB7C 00288ADC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028BB80 00288AE0 48 07 F9 C9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8028BB84 00288AE4 38 60 00 A0 */ li r3, 0xa0 +/* 8028BB88 00288AE8 48 07 FA E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8028BB8C 00288AEC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028BB90 00288AF0 FC 40 08 90 */ fmr f2, f1 +/* 8028BB94 00288AF4 48 07 F8 D1 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BB98 00288AF8 EE D9 E8 28 */ fsubs f22, f25, f29 +/* 8028BB9C 00288AFC 38 61 00 68 */ addi r3, r1, 0x68 +/* 8028BBA0 00288B00 EE B8 F0 28 */ fsubs f21, f24, f30 +/* 8028BBA4 00288B04 EE 97 F8 28 */ fsubs f20, f23, f31 +/* 8028BBA8 00288B08 EC 16 D0 2A */ fadds f0, f22, f26 +/* 8028BBAC 00288B0C D2 C1 00 5C */ stfs f22, 0x5c(r1) +/* 8028BBB0 00288B10 EC 55 D8 2A */ fadds f2, f21, f27 +/* 8028BBB4 00288B14 EC 34 E0 2A */ fadds f1, f20, f28 +/* 8028BBB8 00288B18 D2 A1 00 60 */ stfs f21, 0x60(r1) +/* 8028BBBC 00288B1C D2 81 00 64 */ stfs f20, 0x64(r1) +/* 8028BBC0 00288B20 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8028BBC4 00288B24 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8028BBC8 00288B28 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8028BBCC 00288B2C 48 07 F9 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BBD0 00288B30 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028BBD4 00288B34 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028BBD8 00288B38 48 07 F8 8D */ bl StreamTexcoord__9CGraphicsFff +/* 8028BBDC 00288B3C EC 55 D8 28 */ fsubs f2, f21, f27 +/* 8028BBE0 00288B40 D2 C1 00 44 */ stfs f22, 0x44(r1) +/* 8028BBE4 00288B44 EC 34 E0 28 */ fsubs f1, f20, f28 +/* 8028BBE8 00288B48 38 61 00 50 */ addi r3, r1, 0x50 +/* 8028BBEC 00288B4C EC 16 D0 28 */ fsubs f0, f22, f26 +/* 8028BBF0 00288B50 D2 A1 00 48 */ stfs f21, 0x48(r1) +/* 8028BBF4 00288B54 D2 81 00 4C */ stfs f20, 0x4c(r1) +/* 8028BBF8 00288B58 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8028BBFC 00288B5C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8028BC00 00288B60 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8028BC04 00288B64 48 07 F9 BD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC08 00288B68 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028BC0C 00288B6C FC 40 08 90 */ fmr f2, f1 +/* 8028BC10 00288B70 48 07 F8 55 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BC14 00288B74 EE 99 E8 2A */ fadds f20, f25, f29 +/* 8028BC18 00288B78 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028BC1C 00288B7C EE B8 F0 2A */ fadds f21, f24, f30 +/* 8028BC20 00288B80 EE D7 F8 2A */ fadds f22, f23, f31 +/* 8028BC24 00288B84 EC 14 D0 28 */ fsubs f0, f20, f26 +/* 8028BC28 00288B88 D2 81 00 2C */ stfs f20, 0x2c(r1) +/* 8028BC2C 00288B8C EC 55 D8 28 */ fsubs f2, f21, f27 +/* 8028BC30 00288B90 EC 36 E0 28 */ fsubs f1, f22, f28 +/* 8028BC34 00288B94 D2 A1 00 30 */ stfs f21, 0x30(r1) +/* 8028BC38 00288B98 D2 C1 00 34 */ stfs f22, 0x34(r1) +/* 8028BC3C 00288B9C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8028BC40 00288BA0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8028BC44 00288BA4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8028BC48 00288BA8 48 07 F9 79 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC4C 00288BAC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028BC50 00288BB0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028BC54 00288BB4 48 07 F8 11 */ bl StreamTexcoord__9CGraphicsFff +/* 8028BC58 00288BB8 EC 55 D8 2A */ fadds f2, f21, f27 +/* 8028BC5C 00288BBC D2 81 00 14 */ stfs f20, 0x14(r1) +/* 8028BC60 00288BC0 EC 36 E0 2A */ fadds f1, f22, f28 +/* 8028BC64 00288BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BC68 00288BC8 EC 14 D0 2A */ fadds f0, f20, f26 +/* 8028BC6C 00288BCC D2 A1 00 18 */ stfs f21, 0x18(r1) +/* 8028BC70 00288BD0 D2 C1 00 1C */ stfs f22, 0x1c(r1) +/* 8028BC74 00288BD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8028BC78 00288BD8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028BC7C 00288BDC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8028BC80 00288BE0 48 07 F9 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8028BC84 00288BE4 48 07 F7 8D */ bl StreamEnd__9CGraphicsFv +lbl_8028BC88: +/* 8028BC88 00288BE8 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8028BC8C 00288BEC CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8028BC90 00288BF0 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8028BC94 00288BF4 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8028BC98 00288BF8 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8028BC9C 00288BFC CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8028BCA0 00288C00 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8028BCA4 00288C04 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8028BCA8 00288C08 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 +/* 8028BCAC 00288C0C CB 61 00 F0 */ lfd f27, 0xf0(r1) +/* 8028BCB0 00288C10 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 +/* 8028BCB4 00288C14 CB 41 00 E0 */ lfd f26, 0xe0(r1) +/* 8028BCB8 00288C18 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 +/* 8028BCBC 00288C1C CB 21 00 D0 */ lfd f25, 0xd0(r1) +/* 8028BCC0 00288C20 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 +/* 8028BCC4 00288C24 CB 01 00 C0 */ lfd f24, 0xc0(r1) +/* 8028BCC8 00288C28 E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 +/* 8028BCCC 00288C2C CA E1 00 B0 */ lfd f23, 0xb0(r1) +/* 8028BCD0 00288C30 E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 +/* 8028BCD4 00288C34 CA C1 00 A0 */ lfd f22, 0xa0(r1) +/* 8028BCD8 00288C38 E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 +/* 8028BCDC 00288C3C CA A1 00 90 */ lfd f21, 0x90(r1) +/* 8028BCE0 00288C40 E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 +/* 8028BCE4 00288C44 CA 81 00 80 */ lfd f20, 0x80(r1) +/* 8028BCE8 00288C48 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8028BCEC 00288C4C 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028BCF0 00288C50 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8028BCF4 00288C54 7C 08 03 A6 */ mtlr r0 +/* 8028BCF8 00288C58 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028BCFC 00288C5C 4E 80 00 20 */ blr + +.global AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager: +/* 8028BD00 00288C60 4E 80 00 20 */ blr + +.global "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" +"__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>": +/* 8028BD04 00288C64 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028BD08 00288C68 7C 08 02 A6 */ mflr r0 +/* 8028BD0C 00288C6C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028BD10 00288C70 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8028BD14 00288C74 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8028BD18 00288C78 BF 61 01 1C */ stmw r27, 0x11c(r1) +/* 8028BD1C 00288C7C 3D 00 80 3D */ lis r8, lbl_803D5A74@ha +/* 8028BD20 00288C80 FF E0 08 90 */ fmr f31, f1 +/* 8028BD24 00288C84 39 08 5A 74 */ addi r8, r8, lbl_803D5A74@l +/* 8028BD28 00288C88 7C 7B 1B 78 */ mr r27, r3 +/* 8028BD2C 00288C8C 7C 9C 23 78 */ mr r28, r4 +/* 8028BD30 00288C90 7C BD 2B 78 */ mr r29, r5 +/* 8028BD34 00288C94 7C DE 33 78 */ mr r30, r6 +/* 8028BD38 00288C98 7C FF 3B 78 */ mr r31, r7 +/* 8028BD3C 00288C9C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BD40 00288CA0 38 88 00 B6 */ addi r4, r8, 0xb6 +/* 8028BD44 00288CA4 4B D7 8F 75 */ bl string_l__4rstlFPCc +/* 8028BD48 00288CA8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028BD4C 00288CAC 4B DA EA 59 */ bl CModelDataNull__10CModelDataFv +/* 8028BD50 00288CB0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BD54 00288CB4 4B D8 F0 E5 */ bl None__16CActorParametersFv +/* 8028BD58 00288CB8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8028BD5C 00288CBC 38 A0 00 00 */ li r5, 0 +/* 8028BD60 00288CC0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8028BD64 00288CC4 7F C4 F3 78 */ mr r4, r30 +/* 8028BD68 00288CC8 B0 61 00 10 */ sth r3, 0x10(r1) +/* 8028BD6C 00288CCC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028BD70 00288CD0 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8028BD74 00288CD4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028BD78 00288CD8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028BD7C 00288CDC 48 08 73 C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8028BD80 00288CE0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BD84 00288CE4 38 01 00 10 */ addi r0, r1, 0x10 +/* 8028BD88 00288CE8 90 61 00 08 */ stw r3, 8(r1) +/* 8028BD8C 00288CEC 7F 63 DB 78 */ mr r3, r27 +/* 8028BD90 00288CF0 7F A7 EB 78 */ mr r7, r29 +/* 8028BD94 00288CF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028BD98 00288CF8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028BD9C 00288CFC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8028BDA0 00288D00 39 01 00 30 */ addi r8, r1, 0x30 +/* 8028BDA4 00288D04 39 21 00 C8 */ addi r9, r1, 0xc8 +/* 8028BDA8 00288D08 39 41 00 18 */ addi r10, r1, 0x18 +/* 8028BDAC 00288D0C 38 A0 00 01 */ li r5, 1 +/* 8028BDB0 00288D10 4B DC 9A 71 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8028BDB4 00288D14 38 61 00 60 */ addi r3, r1, 0x60 +/* 8028BDB8 00288D18 38 80 FF FF */ li r4, -1 +/* 8028BDBC 00288D1C 4B E7 A8 4D */ bl __dt__16CActorParametersFv +/* 8028BDC0 00288D20 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028BDC4 00288D24 38 80 FF FF */ li r4, -1 +/* 8028BDC8 00288D28 4B E8 AC 85 */ bl __dt__10CModelDataFv +/* 8028BDCC 00288D2C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028BDD0 00288D30 48 0B 1D 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028BDD4 00288D34 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha +/* 8028BDD8 00288D38 3B 9B 00 E8 */ addi r28, r27, 0xe8 +/* 8028BDDC 00288D3C 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l +/* 8028BDE0 00288D40 7F E4 FB 78 */ mr r4, r31 +/* 8028BDE4 00288D44 90 1B 00 00 */ stw r0, 0(r27) +/* 8028BDE8 00288D48 7F 83 E3 78 */ mr r3, r28 +/* 8028BDEC 00288D4C 48 0B 50 BD */ bl __ct__6CTokenFRC6CToken +/* 8028BDF0 00288D50 38 00 00 00 */ li r0, 0 +/* 8028BDF4 00288D54 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028BDF8 00288D58 90 1C 00 08 */ stw r0, 8(r28) +/* 8028BDFC 00288D5C 7F 83 E3 78 */ mr r3, r28 +/* 8028BE00 00288D60 D3 FB 00 F4 */ stfs f31, 0xf4(r27) +/* 8028BE04 00288D64 D0 1B 00 F8 */ stfs f0, 0xf8(r27) +/* 8028BE08 00288D68 D0 1B 00 FC */ stfs f0, 0xfc(r27) +/* 8028BE0C 00288D6C 48 0B 4F 79 */ bl Lock__6CTokenFv +/* 8028BE10 00288D70 7F 63 DB 78 */ mr r3, r27 +/* 8028BE14 00288D74 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8028BE18 00288D78 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8028BE1C 00288D7C BB 61 01 1C */ lmw r27, 0x11c(r1) +/* 8028BE20 00288D80 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028BE24 00288D84 7C 08 03 A6 */ mtlr r0 +/* 8028BE28 00288D88 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028BE2C 00288D8C 4E 80 00 20 */ blr + +.global CreateFlash__12COmegaPirateFR13CStateManagerf +CreateFlash__12COmegaPirateFR13CStateManagerf: +/* 8028BE30 00288D90 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8028BE34 00288D94 7C 08 02 A6 */ mflr r0 +/* 8028BE38 00288D98 3C A0 80 3D */ lis r5, lbl_803D5A74@ha +/* 8028BE3C 00288D9C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8028BE40 00288DA0 38 A5 5A 74 */ addi r5, r5, lbl_803D5A74@l +/* 8028BE44 00288DA4 DB E1 00 88 */ stfd f31, 0x88(r1) +/* 8028BE48 00288DA8 FF E0 08 90 */ fmr f31, f1 +/* 8028BE4C 00288DAC BF 61 00 74 */ stmw r27, 0x74(r1) +/* 8028BE50 00288DB0 7C 7D 1B 78 */ mr r29, r3 +/* 8028BE54 00288DB4 7C 9E 23 78 */ mr r30, r4 +/* 8028BE58 00288DB8 38 85 00 C9 */ addi r4, r5, 0xc9 +/* 8028BE5C 00288DBC 3B 80 00 00 */ li r28, 0 +/* 8028BE60 00288DC0 3B 60 00 00 */ li r27, 0 +/* 8028BE64 00288DC4 38 60 01 00 */ li r3, 0x100 +/* 8028BE68 00288DC8 38 A0 00 00 */ li r5, 0 +/* 8028BE6C 00288DCC 48 08 9A 01 */ bl __nw__FUlPCcPCc +/* 8028BE70 00288DD0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8028BE74 00288DD4 41 82 00 84 */ beq lbl_8028BEF8 +/* 8028BE78 00288DD8 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 8028BE7C 00288DDC 38 00 00 00 */ li r0, 0 +/* 8028BE80 00288DE0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8028BE84 00288DE4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8028BE88 00288DE8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8028BE8C 00288DEC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8028BE90 00288DF0 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8028BE94 00288DF4 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8028BE98 00288DF8 3B 80 00 01 */ li r28, 1 +/* 8028BE9C 00288DFC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028BEA0 00288E00 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028BEA4 00288E04 80 1D 00 04 */ lwz r0, 4(r29) +/* 8028BEA8 00288E08 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028BEAC 00288E0C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028BEB0 00288E10 4B DC 55 D5 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8028BEB4 00288E14 7F C4 F3 78 */ mr r4, r30 +/* 8028BEB8 00288E18 38 61 00 08 */ addi r3, r1, 8 +/* 8028BEBC 00288E1C 3B 60 00 01 */ li r27, 1 +/* 8028BEC0 00288E20 4B DC 12 1D */ bl AllocateUniqueId__13CStateManagerFv +/* 8028BEC4 00288E24 A0 01 00 08 */ lhz r0, 8(r1) +/* 8028BEC8 00288E28 38 61 00 4C */ addi r3, r1, 0x4c +/* 8028BECC 00288E2C 38 9D 00 9C */ addi r4, r29, 0x9c +/* 8028BED0 00288E30 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028BED4 00288E34 48 0A B7 39 */ bl GetCenterPoint__6CAABoxCFv +/* 8028BED8 00288E38 FC 20 F8 90 */ fmr f1, f31 +/* 8028BEDC 00288E3C 7F E3 FB 78 */ mr r3, r31 +/* 8028BEE0 00288E40 38 81 00 0C */ addi r4, r1, 0xc +/* 8028BEE4 00288E44 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8028BEE8 00288E48 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8028BEEC 00288E4C 38 FD 0B 70 */ addi r7, r29, 0xb70 +/* 8028BEF0 00288E50 4B FF FE 15 */ bl "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" +/* 8028BEF4 00288E54 7C 7F 1B 78 */ mr r31, r3 +lbl_8028BEF8: +/* 8028BEF8 00288E58 7F C3 F3 78 */ mr r3, r30 +/* 8028BEFC 00288E5C 7F E4 FB 78 */ mr r4, r31 +/* 8028BF00 00288E60 4B DC 0C 15 */ bl AddObject__13CStateManagerFR7CEntity +/* 8028BF04 00288E64 7F 60 07 75 */ extsb. r0, r27 +/* 8028BF08 00288E68 41 82 00 44 */ beq lbl_8028BF4C +/* 8028BF0C 00288E6C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8028BF10 00288E70 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8028BF14 00288E74 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8028BF18 00288E78 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028BF1C 00288E7C 7C 64 1B 78 */ mr r4, r3 +/* 8028BF20 00288E80 7C 03 02 14 */ add r0, r3, r0 +/* 8028BF24 00288E84 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028BF28 00288E88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028BF2C 00288E8C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028BF30 00288E90 48 00 00 08 */ b lbl_8028BF38 +lbl_8028BF34: +/* 8028BF34 00288E94 38 84 00 0C */ addi r4, r4, 0xc +lbl_8028BF38: +/* 8028BF38 00288E98 7C 04 00 40 */ cmplw r4, r0 +/* 8028BF3C 00288E9C 40 82 FF F8 */ bne lbl_8028BF34 +/* 8028BF40 00288EA0 28 03 00 00 */ cmplwi r3, 0 +/* 8028BF44 00288EA4 41 82 00 08 */ beq lbl_8028BF4C +/* 8028BF48 00288EA8 48 08 99 E9 */ bl Free__7CMemoryFPCv +lbl_8028BF4C: +/* 8028BF4C 00288EAC 7F 80 07 75 */ extsb. r0, r28 +/* 8028BF50 00288EB0 41 82 00 44 */ beq lbl_8028BF94 +/* 8028BF54 00288EB4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8028BF58 00288EB8 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8028BF5C 00288EBC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8028BF60 00288EC0 90 61 00 24 */ stw r3, 0x24(r1) +/* 8028BF64 00288EC4 7C 64 1B 78 */ mr r4, r3 +/* 8028BF68 00288EC8 7C 03 02 14 */ add r0, r3, r0 +/* 8028BF6C 00288ECC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8028BF70 00288ED0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8028BF74 00288ED4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8028BF78 00288ED8 48 00 00 08 */ b lbl_8028BF80 +lbl_8028BF7C: +/* 8028BF7C 00288EDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8028BF80: +/* 8028BF80 00288EE0 7C 04 00 40 */ cmplw r4, r0 +/* 8028BF84 00288EE4 40 82 FF F8 */ bne lbl_8028BF7C +/* 8028BF88 00288EE8 28 03 00 00 */ cmplwi r3, 0 +/* 8028BF8C 00288EEC 41 82 00 08 */ beq lbl_8028BF94 +/* 8028BF90 00288EF0 48 08 99 A1 */ bl Free__7CMemoryFPCv +lbl_8028BF94: +/* 8028BF94 00288EF4 CB E1 00 88 */ lfd f31, 0x88(r1) +/* 8028BF98 00288EF8 BB 61 00 74 */ lmw r27, 0x74(r1) +/* 8028BF9C 00288EFC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8028BFA0 00288F00 7C 08 03 A6 */ mtlr r0 +/* 8028BFA4 00288F04 38 21 00 90 */ addi r1, r1, 0x90 +/* 8028BFA8 00288F08 4E 80 00 20 */ blr + +.global sub_8028bfac +sub_8028bfac: +/* 8028BFAC 00288F0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028BFB0 00288F10 7C 08 02 A6 */ mflr r0 +/* 8028BFB4 00288F14 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028BFB8 00288F18 38 00 00 04 */ li r0, 4 +/* 8028BFBC 00288F1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8028BFC0 00288F20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028BFC4 00288F24 7C 7F 1B 78 */ mr r31, r3 +/* 8028BFC8 00288F28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028BFCC 00288F2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028BFD0 00288F30 83 C3 0A B8 */ lwz r30, 0xab8(r3) +/* 8028BFD4 00288F34 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028BFD8 00288F38 48 00 00 0C */ b lbl_8028BFE4 +/* 8028BFDC 00288F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028BFE0 00288F40 48 00 00 20 */ b lbl_8028C000 +lbl_8028BFE4: +/* 8028BFE4 00288F44 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028BFE8 00288F48 38 60 00 04 */ li r3, 4 +/* 8028BFEC 00288F4C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028BFF0 00288F50 38 A0 00 00 */ li r5, 0 +/* 8028BFF4 00288F54 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028BFF8 00288F58 48 08 98 21 */ bl __nwa__FUlPCcPCc +/* 8028BFFC 00288F5C 90 61 00 24 */ stw r3, 0x24(r1) +lbl_8028C000: +/* 8028C000 00288F60 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028C004 00288F64 28 03 00 00 */ cmplwi r3, 0 +/* 8028C008 00288F68 41 82 00 0C */ beq lbl_8028C014 +/* 8028C00C 00288F6C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C010 00288F70 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C014: +/* 8028C014 00288F74 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C018 00288F78 41 82 00 0C */ beq lbl_8028C024 +/* 8028C01C 00288F7C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C020 00288F80 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C024: +/* 8028C024 00288F84 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C028 00288F88 41 82 00 0C */ beq lbl_8028C034 +/* 8028C02C 00288F8C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C030 00288F90 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C034: +/* 8028C034 00288F94 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C038 00288F98 41 82 00 0C */ beq lbl_8028C044 +/* 8028C03C 00288F9C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) +/* 8028C040 00288FA0 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C044: +/* 8028C044 00288FA4 28 1E 00 00 */ cmplwi r30, 0 +/* 8028C048 00288FA8 80 E1 00 24 */ lwz r7, 0x24(r1) +/* 8028C04C 00288FAC 7F C3 F3 78 */ mr r3, r30 +/* 8028C050 00288FB0 38 80 00 00 */ li r4, 0 +/* 8028C054 00288FB4 40 81 00 FC */ ble lbl_8028C150 +/* 8028C058 00288FB8 57 C0 E8 FF */ rlwinm. r0, r30, 0x1d, 3, 0x1f +/* 8028C05C 00288FBC 7C 09 03 A6 */ mtctr r0 +/* 8028C060 00288FC0 41 82 00 D0 */ beq lbl_8028C130 +lbl_8028C064: +/* 8028C064 00288FC4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C068 00288FC8 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C06C 00288FCC 38 84 00 04 */ addi r4, r4, 4 +/* 8028C070 00288FD0 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C074 00288FD4 38 05 00 01 */ addi r0, r5, 1 +/* 8028C078 00288FD8 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C07C 00288FDC 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C080 00288FE0 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C084 00288FE4 38 84 00 04 */ addi r4, r4, 4 +/* 8028C088 00288FE8 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C08C 00288FEC 38 05 00 01 */ addi r0, r5, 1 +/* 8028C090 00288FF0 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C094 00288FF4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C098 00288FF8 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C09C 00288FFC 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0A0 00289000 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0A4 00289004 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0A8 00289008 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0AC 0028900C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0B0 00289010 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0B4 00289014 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0B8 00289018 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0BC 0028901C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0C0 00289020 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0C4 00289024 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0C8 00289028 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0CC 0028902C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0D0 00289030 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0D4 00289034 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0D8 00289038 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0DC 0028903C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0E0 00289040 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0E4 00289044 38 84 00 04 */ addi r4, r4, 4 +/* 8028C0E8 00289048 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C0EC 0028904C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C0F0 00289050 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C0F4 00289054 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C0F8 00289058 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C0FC 0028905C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C100 00289060 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C104 00289064 38 05 00 01 */ addi r0, r5, 1 +/* 8028C108 00289068 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C10C 0028906C 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C110 00289070 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C114 00289074 38 84 00 04 */ addi r4, r4, 4 +/* 8028C118 00289078 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C11C 0028907C 38 05 00 01 */ addi r0, r5, 1 +/* 8028C120 00289080 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C124 00289084 42 00 FF 40 */ bdnz lbl_8028C064 +/* 8028C128 00289088 70 63 00 07 */ andi. r3, r3, 7 +/* 8028C12C 0028908C 41 82 00 24 */ beq lbl_8028C150 +lbl_8028C130: +/* 8028C130 00289090 7C 69 03 A6 */ mtctr r3 +lbl_8028C134: +/* 8028C134 00289094 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C138 00289098 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C13C 0028909C 38 84 00 04 */ addi r4, r4, 4 +/* 8028C140 002890A0 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C144 002890A4 38 05 00 01 */ addi r0, r5, 1 +/* 8028C148 002890A8 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C14C 002890AC 42 00 FF E8 */ bdnz lbl_8028C134 +lbl_8028C150: +/* 8028C150 002890B0 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C154 002890B4 38 A0 00 00 */ li r5, 0 +/* 8028C158 002890B8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028C15C 002890BC 88 04 00 00 */ lbz r0, 0(r4) +/* 8028C160 002890C0 28 00 00 00 */ cmplwi r0, 0 +/* 8028C164 002890C4 40 82 00 10 */ bne lbl_8028C174 +/* 8028C168 002890C8 88 03 00 00 */ lbz r0, 0(r3) +/* 8028C16C 002890CC 28 00 00 00 */ cmplwi r0, 0 +/* 8028C170 002890D0 41 82 00 08 */ beq lbl_8028C178 +lbl_8028C174: +/* 8028C174 002890D4 38 A0 00 01 */ li r5, 1 +lbl_8028C178: +/* 8028C178 002890D8 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C17C 002890DC 88 04 00 01 */ lbz r0, 1(r4) +/* 8028C180 002890E0 28 00 00 00 */ cmplwi r0, 0 +/* 8028C184 002890E4 40 82 00 10 */ bne lbl_8028C194 +/* 8028C188 002890E8 88 03 00 01 */ lbz r0, 1(r3) +/* 8028C18C 002890EC 28 00 00 00 */ cmplwi r0, 0 +/* 8028C190 002890F0 41 82 00 08 */ beq lbl_8028C198 +lbl_8028C194: +/* 8028C194 002890F4 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C198: +/* 8028C198 002890F8 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C19C 002890FC 88 04 00 02 */ lbz r0, 2(r4) +/* 8028C1A0 00289100 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1A4 00289104 40 82 00 10 */ bne lbl_8028C1B4 +/* 8028C1A8 00289108 88 03 00 02 */ lbz r0, 2(r3) +/* 8028C1AC 0028910C 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1B0 00289110 41 82 00 08 */ beq lbl_8028C1B8 +lbl_8028C1B4: +/* 8028C1B4 00289114 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C1B8: +/* 8028C1B8 00289118 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C1BC 0028911C 88 04 00 03 */ lbz r0, 3(r4) +/* 8028C1C0 00289120 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1C4 00289124 40 82 00 10 */ bne lbl_8028C1D4 +/* 8028C1C8 00289128 88 03 00 03 */ lbz r0, 3(r3) +/* 8028C1CC 0028912C 28 00 00 00 */ cmplwi r0, 0 +/* 8028C1D0 00289130 41 82 00 08 */ beq lbl_8028C1D8 +lbl_8028C1D4: +/* 8028C1D4 00289134 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028C1D8: +/* 8028C1D8 00289138 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028C1DC 0028913C 7C BF 2B 78 */ mr r31, r5 +/* 8028C1E0 00289140 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028C1E4 00289144 7C 83 02 14 */ add r4, r3, r0 +/* 8028C1E8 00289148 7C 03 20 50 */ subf r0, r3, r4 +/* 8028C1EC 0028914C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028C1F0 00289150 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028C1F4 00289154 90 61 00 08 */ stw r3, 8(r1) +/* 8028C1F8 00289158 7C 09 03 A6 */ mtctr r0 +/* 8028C1FC 0028915C 7C 03 20 40 */ cmplw r3, r4 +/* 8028C200 00289160 41 82 00 08 */ beq lbl_8028C208 +lbl_8028C204: +/* 8028C204 00289164 42 00 00 00 */ bdnz lbl_8028C204 +lbl_8028C208: +/* 8028C208 00289168 28 03 00 00 */ cmplwi r3, 0 +/* 8028C20C 0028916C 41 82 00 08 */ beq lbl_8028C214 +/* 8028C210 00289170 48 08 97 21 */ bl Free__7CMemoryFPCv +lbl_8028C214: +/* 8028C214 00289174 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028C218 00289178 7F E3 FB 78 */ mr r3, r31 +/* 8028C21C 0028917C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028C220 00289180 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028C224 00289184 7C 08 03 A6 */ mtlr r0 +/* 8028C228 00289188 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028C22C 0028918C 4E 80 00 20 */ blr + +.global sub_8028c230 +sub_8028c230: +/* 8028C230 00289190 80 A3 0B 88 */ lwz r5, 0xb88(r3) +/* 8028C234 00289194 88 65 00 00 */ lbz r3, 0(r5) +/* 8028C238 00289198 88 05 00 01 */ lbz r0, 1(r5) +/* 8028C23C 0028919C 88 85 00 02 */ lbz r4, 2(r5) +/* 8028C240 002891A0 7C 63 02 14 */ add r3, r3, r0 +/* 8028C244 002891A4 88 05 00 03 */ lbz r0, 3(r5) +/* 8028C248 002891A8 7C 63 22 14 */ add r3, r3, r4 +/* 8028C24C 002891AC 7C 63 02 14 */ add r3, r3, r0 +/* 8028C250 002891B0 4E 80 00 20 */ blr + +.global Landed__12COmegaPirateFR13CStateManagerf +Landed__12COmegaPirateFR13CStateManagerf: +/* 8028C254 002891B4 80 83 0B 4C */ lwz r4, 0xb4c(r3) +/* 8028C258 002891B8 38 60 00 04 */ li r3, 4 +/* 8028C25C 002891BC 38 04 FF FC */ addi r0, r4, -4 +/* 8028C260 002891C0 7C 83 1B 38 */ orc r3, r4, r3 +/* 8028C264 002891C4 54 00 F8 7E */ srwi r0, r0, 1 +/* 8028C268 002891C8 7C 00 18 50 */ subf r0, r0, r3 +/* 8028C26C 002891CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028C270 002891D0 4E 80 00 20 */ blr + +.global ShouldMove__12COmegaPirateFR13CStateManagerf +ShouldMove__12COmegaPirateFR13CStateManagerf: +/* 8028C274 002891D4 C0 23 03 38 */ lfs f1, 0x338(r3) +/* 8028C278 002891D8 C0 03 0B 64 */ lfs f0, 0xb64(r3) +/* 8028C27C 002891DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028C280 002891E0 7C 00 00 26 */ mfcr r0 +/* 8028C284 002891E4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8028C288 002891E8 4E 80 00 20 */ blr + +.global Attack__12COmegaPirateFR13CStateManager9EStateMsgf +Attack__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C28C 002891EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C290 002891F0 7C 08 02 A6 */ mflr r0 +/* 8028C294 002891F4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C298 002891F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C29C 002891FC 41 82 00 54 */ beq lbl_8028C2F0 +/* 8028C2A0 00289200 40 80 00 10 */ bge lbl_8028C2B0 +/* 8028C2A4 00289204 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C2A8 00289208 40 80 00 14 */ bge lbl_8028C2BC +/* 8028C2AC 0028920C 48 00 00 44 */ b lbl_8028C2F0 +lbl_8028C2B0: +/* 8028C2B0 00289210 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C2B4 00289214 40 80 00 3C */ bge lbl_8028C2F0 +/* 8028C2B8 00289218 48 00 00 20 */ b lbl_8028C2D8 +lbl_8028C2BC: +/* 8028C2BC 0028921C 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8028C2C0 00289220 38 C0 00 01 */ li r6, 1 +/* 8028C2C4 00289224 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8028C2C8 00289228 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028C2CC 0028922C 98 03 04 02 */ stb r0, 0x402(r3) +/* 8028C2D0 00289230 D0 03 05 04 */ stfs f0, 0x504(r3) +/* 8028C2D4 00289234 48 00 00 1C */ b lbl_8028C2F0 +lbl_8028C2D8: +/* 8028C2D8 00289238 88 03 04 02 */ lbz r0, 0x402(r3) +/* 8028C2DC 0028923C 38 C0 00 00 */ li r6, 0 +/* 8028C2E0 00289240 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8028C2E4 00289244 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028C2E8 00289248 98 03 04 02 */ stb r0, 0x402(r3) +/* 8028C2EC 0028924C D0 03 05 04 */ stfs f0, 0x504(r3) +lbl_8028C2F0: +/* 8028C2F0 00289250 4B F9 E3 B9 */ bl Attack__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C2F4 00289254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C2F8 00289258 7C 08 03 A6 */ mtlr r0 +/* 8028C2FC 0028925C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C300 00289260 4E 80 00 20 */ blr + +.global sub_8028c304 +sub_8028c304: +/* 8028C304 00289264 A0 A4 06 F4 */ lhz r5, 0x6f4(r4) +/* 8028C308 00289268 38 00 00 08 */ li r0, 8 +/* 8028C30C 0028926C 80 C4 06 F0 */ lwz r6, 0x6f0(r4) +/* 8028C310 00289270 80 E4 06 D0 */ lwz r7, 0x6d0(r4) +/* 8028C314 00289274 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028C318 00289278 90 03 00 00 */ stw r0, 0(r3) +/* 8028C31C 0028927C C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) +/* 8028C320 00289280 90 E3 00 04 */ stw r7, 4(r3) +/* 8028C324 00289284 C0 02 BE BC */ lfs f0, lbl_805ADBDC@sda21(r2) +/* 8028C328 00289288 80 04 06 D4 */ lwz r0, 0x6d4(r4) +/* 8028C32C 0028928C 90 03 00 08 */ stw r0, 8(r3) +/* 8028C330 00289290 88 04 06 D8 */ lbz r0, 0x6d8(r4) +/* 8028C334 00289294 98 03 00 0C */ stb r0, 0xc(r3) +/* 8028C338 00289298 C0 64 06 DC */ lfs f3, 0x6dc(r4) +/* 8028C33C 0028929C D0 63 00 10 */ stfs f3, 0x10(r3) +/* 8028C340 002892A0 C0 64 06 E0 */ lfs f3, 0x6e0(r4) +/* 8028C344 002892A4 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 8028C348 002892A8 C0 64 06 E4 */ lfs f3, 0x6e4(r4) +/* 8028C34C 002892AC D0 63 00 18 */ stfs f3, 0x18(r3) +/* 8028C350 002892B0 C0 64 06 E8 */ lfs f3, 0x6e8(r4) +/* 8028C354 002892B4 D0 63 00 1C */ stfs f3, 0x1c(r3) +/* 8028C358 002892B8 88 04 06 EC */ lbz r0, 0x6ec(r4) +/* 8028C35C 002892BC 98 03 00 20 */ stb r0, 0x20(r3) +/* 8028C360 002892C0 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 8028C364 002892C4 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 8028C368 002892C8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8028C36C 002892CC D0 43 00 30 */ stfs f2, 0x30(r3) +/* 8028C370 002892D0 90 C3 00 34 */ stw r6, 0x34(r3) +/* 8028C374 002892D4 B0 A3 00 38 */ sth r5, 0x38(r3) +/* 8028C378 002892D8 4E 80 00 20 */ blr + +.global Enraged__12COmegaPirateFR13CStateManager9EStateMsgf +Enraged__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C37C 002892DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028C380 002892E0 7C 08 02 A6 */ mflr r0 +/* 8028C384 002892E4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C388 002892E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028C38C 002892EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028C390 002892F0 41 82 00 2C */ beq lbl_8028C3BC +/* 8028C394 002892F4 40 80 00 10 */ bge lbl_8028C3A4 +/* 8028C398 002892F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C39C 002892FC 40 80 00 14 */ bge lbl_8028C3B0 +/* 8028C3A0 00289300 48 00 00 EC */ b lbl_8028C48C +lbl_8028C3A4: +/* 8028C3A4 00289304 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C3A8 00289308 40 80 00 E4 */ bge lbl_8028C48C +/* 8028C3AC 0028930C 48 00 00 D4 */ b lbl_8028C480 +lbl_8028C3B0: +/* 8028C3B0 00289310 38 00 00 00 */ li r0, 0 +/* 8028C3B4 00289314 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C3B8 00289318 48 00 00 D4 */ b lbl_8028C48C +lbl_8028C3BC: +/* 8028C3BC 0028931C 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8028C3C0 00289320 2C 00 00 01 */ cmpwi r0, 1 +/* 8028C3C4 00289324 41 82 00 C8 */ beq lbl_8028C48C +/* 8028C3C8 00289328 40 80 00 10 */ bge lbl_8028C3D8 +/* 8028C3CC 0028932C 2C 00 00 00 */ cmpwi r0, 0 +/* 8028C3D0 00289330 40 80 00 14 */ bge lbl_8028C3E4 +/* 8028C3D4 00289334 48 00 00 B8 */ b lbl_8028C48C +lbl_8028C3D8: +/* 8028C3D8 00289338 2C 00 00 03 */ cmpwi r0, 3 +/* 8028C3DC 0028933C 40 80 00 B0 */ bge lbl_8028C48C +/* 8028C3E0 00289340 48 00 00 84 */ b lbl_8028C464 +lbl_8028C3E4: +/* 8028C3E4 00289344 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C3E8 00289348 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C3EC 0028934C 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8028C3F0 00289350 40 82 00 10 */ bne lbl_8028C400 +/* 8028C3F4 00289354 38 00 00 02 */ li r0, 2 +/* 8028C3F8 00289358 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C3FC 0028935C 48 00 00 90 */ b lbl_8028C48C +lbl_8028C400: +/* 8028C400 00289360 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028C404 00289364 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8028C408 00289368 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028C40C 0028936C 38 80 00 12 */ li r4, 0x12 +/* 8028C410 00289370 90 01 00 08 */ stw r0, 8(r1) +/* 8028C414 00289374 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l +/* 8028C418 00289378 38 00 00 00 */ li r0, 0 +/* 8028C41C 0028937C 3B E6 00 04 */ addi r31, r6, 4 +/* 8028C420 00289380 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028C424 00289384 7F E3 FB 78 */ mr r3, r31 +/* 8028C428 00289388 38 80 00 12 */ li r4, 0x12 +/* 8028C42C 0028938C 90 A1 00 08 */ stw r5, 8(r1) +/* 8028C430 00289390 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028C434 00289394 4B EA 50 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028C438 00289398 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028C43C 0028939C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 8028C440 002893A0 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l +/* 8028C444 002893A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028C448 002893A8 90 1F 02 14 */ stw r0, 0x214(r31) +/* 8028C44C 002893AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028C450 002893B0 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8028C454 002893B4 90 81 00 08 */ stw r4, 8(r1) +/* 8028C458 002893B8 90 7F 02 18 */ stw r3, 0x218(r31) +/* 8028C45C 002893BC 90 01 00 08 */ stw r0, 8(r1) +/* 8028C460 002893C0 48 00 00 2C */ b lbl_8028C48C +lbl_8028C464: +/* 8028C464 002893C4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8028C468 002893C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028C46C 002893CC 2C 00 00 10 */ cmpwi r0, 0x10 +/* 8028C470 002893D0 41 82 00 1C */ beq lbl_8028C48C +/* 8028C474 002893D4 38 00 00 03 */ li r0, 3 +/* 8028C478 002893D8 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028C47C 002893DC 48 00 00 10 */ b lbl_8028C48C +lbl_8028C480: +/* 8028C480 002893E0 38 00 00 01 */ li r0, 1 +/* 8028C484 002893E4 98 03 0A DF */ stb r0, 0xadf(r3) +/* 8028C488 002893E8 98 03 0A E0 */ stb r0, 0xae0(r3) +lbl_8028C48C: +/* 8028C48C 002893EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028C490 002893F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028C494 002893F4 7C 08 03 A6 */ mtlr r0 +/* 8028C498 002893F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028C49C 002893FC 4E 80 00 20 */ blr + +.global Cover__12COmegaPirateFR13CStateManager9EStateMsgf +Cover__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C4A0 00289400 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C4A4 00289404 7C 08 02 A6 */ mflr r0 +/* 8028C4A8 00289408 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C4AC 0028940C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028C4B0 00289410 7C BF 2B 78 */ mr r31, r5 +/* 8028C4B4 00289414 93 C1 00 08 */ stw r30, 8(r1) +/* 8028C4B8 00289418 7C 7E 1B 78 */ mr r30, r3 +/* 8028C4BC 0028941C 4B F9 DD 1D */ bl Cover__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C4C0 00289420 2C 1F 00 01 */ cmpwi r31, 1 +/* 8028C4C4 00289424 41 82 00 3C */ beq lbl_8028C500 +/* 8028C4C8 00289428 40 80 00 10 */ bge lbl_8028C4D8 +/* 8028C4CC 0028942C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8028C4D0 00289430 40 80 00 14 */ bge lbl_8028C4E4 +/* 8028C4D4 00289434 48 00 00 2C */ b lbl_8028C500 +lbl_8028C4D8: +/* 8028C4D8 00289438 2C 1F 00 03 */ cmpwi r31, 3 +/* 8028C4DC 0028943C 40 80 00 24 */ bge lbl_8028C500 +/* 8028C4E0 00289440 48 00 00 18 */ b lbl_8028C4F8 +lbl_8028C4E4: +/* 8028C4E4 00289444 C0 1E 03 B4 */ lfs f0, 0x3b4(r30) +/* 8028C4E8 00289448 38 00 00 01 */ li r0, 1 +/* 8028C4EC 0028944C D0 1E 0A D4 */ stfs f0, 0xad4(r30) +/* 8028C4F0 00289450 98 1E 0A D8 */ stb r0, 0xad8(r30) +/* 8028C4F4 00289454 48 00 00 0C */ b lbl_8028C500 +lbl_8028C4F8: +/* 8028C4F8 00289458 38 00 00 00 */ li r0, 0 +/* 8028C4FC 0028945C 98 1E 0A D8 */ stb r0, 0xad8(r30) +lbl_8028C500: +/* 8028C500 00289460 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C504 00289464 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028C508 00289468 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028C50C 0028946C 7C 08 03 A6 */ mtlr r0 +/* 8028C510 00289470 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C514 00289474 4E 80 00 20 */ blr + +.global TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf +TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C518 00289478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C51C 0028947C 7C 08 02 A6 */ mflr r0 +/* 8028C520 00289480 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C524 00289484 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C528 00289488 41 82 00 3C */ beq lbl_8028C564 +/* 8028C52C 0028948C 40 80 00 10 */ bge lbl_8028C53C +/* 8028C530 00289490 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C534 00289494 40 80 00 14 */ bge lbl_8028C548 +/* 8028C538 00289498 48 00 00 70 */ b lbl_8028C5A8 +lbl_8028C53C: +/* 8028C53C 0028949C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C540 002894A0 40 80 00 68 */ bge lbl_8028C5A8 +/* 8028C544 002894A4 48 00 00 5C */ b lbl_8028C5A0 +lbl_8028C548: +/* 8028C548 002894A8 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C54C 002894AC C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C550 002894B0 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C554 002894B4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C558 002894B8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C55C 002894BC D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C560 002894C0 48 00 00 48 */ b lbl_8028C5A8 +lbl_8028C564: +/* 8028C564 002894C4 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C568 002894C8 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C56C 002894CC 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C570 002894D0 40 82 00 10 */ bne lbl_8028C580 +/* 8028C574 002894D4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C578 002894D8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C57C 002894DC 48 00 00 2C */ b lbl_8028C5A8 +lbl_8028C580: +/* 8028C580 002894E0 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C584 002894E4 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C588 002894E8 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C58C 002894EC 40 82 00 1C */ bne lbl_8028C5A8 +/* 8028C590 002894F0 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C594 002894F4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C598 002894F8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C59C 002894FC 48 00 00 0C */ b lbl_8028C5A8 +lbl_8028C5A0: +/* 8028C5A0 00289500 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C5A4 00289504 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C5A8: +/* 8028C5A8 00289508 4B F9 EB 19 */ bl TargetPatrol__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C5AC 0028950C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C5B0 00289510 7C 08 03 A6 */ mtlr r0 +/* 8028C5B4 00289514 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C5B8 00289518 4E 80 00 20 */ blr + +.global PathFind__12COmegaPirateFR13CStateManager9EStateMsgf +PathFind__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C5BC 0028951C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C5C0 00289520 7C 08 02 A6 */ mflr r0 +/* 8028C5C4 00289524 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C5C8 00289528 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C5CC 0028952C 41 82 00 3C */ beq lbl_8028C608 +/* 8028C5D0 00289530 40 80 00 10 */ bge lbl_8028C5E0 +/* 8028C5D4 00289534 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C5D8 00289538 40 80 00 14 */ bge lbl_8028C5EC +/* 8028C5DC 0028953C 48 00 00 70 */ b lbl_8028C64C +lbl_8028C5E0: +/* 8028C5E0 00289540 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C5E4 00289544 40 80 00 68 */ bge lbl_8028C64C +/* 8028C5E8 00289548 48 00 00 5C */ b lbl_8028C644 +lbl_8028C5EC: +/* 8028C5EC 0028954C C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C5F0 00289550 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C5F4 00289554 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C5F8 00289558 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C5FC 0028955C EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C600 00289560 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C604 00289564 48 00 00 48 */ b lbl_8028C64C +lbl_8028C608: +/* 8028C608 00289568 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C60C 0028956C 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C610 00289570 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C614 00289574 40 82 00 10 */ bne lbl_8028C624 +/* 8028C618 00289578 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C61C 0028957C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C620 00289580 48 00 00 2C */ b lbl_8028C64C +lbl_8028C624: +/* 8028C624 00289584 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C628 00289588 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C62C 0028958C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C630 00289590 40 82 00 1C */ bne lbl_8028C64C +/* 8028C634 00289594 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C638 00289598 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C63C 0028959C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C640 002895A0 48 00 00 0C */ b lbl_8028C64C +lbl_8028C644: +/* 8028C644 002895A4 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C648 002895A8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C64C: +/* 8028C64C 002895AC 4B F9 ED 85 */ bl PathFind__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C650 002895B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C654 002895B4 7C 08 03 A6 */ mtlr r0 +/* 8028C658 002895B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C65C 002895BC 4E 80 00 20 */ blr + +.global Run__12COmegaPirateFR13CStateManager9EStateMsgf +Run__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028C660 002895C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028C664 002895C4 7C 08 02 A6 */ mflr r0 +/* 8028C668 002895C8 2C 05 00 01 */ cmpwi r5, 1 +/* 8028C66C 002895CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028C670 002895D0 41 82 00 3C */ beq lbl_8028C6AC +/* 8028C674 002895D4 40 80 00 10 */ bge lbl_8028C684 +/* 8028C678 002895D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028C67C 002895DC 40 80 00 14 */ bge lbl_8028C690 +/* 8028C680 002895E0 48 00 00 70 */ b lbl_8028C6F0 +lbl_8028C684: +/* 8028C684 002895E4 2C 05 00 03 */ cmpwi r5, 3 +/* 8028C688 002895E8 40 80 00 68 */ bge lbl_8028C6F0 +/* 8028C68C 002895EC 48 00 00 5C */ b lbl_8028C6E8 +lbl_8028C690: +/* 8028C690 002895F0 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C694 002895F4 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) +/* 8028C698 002895F8 D0 03 0A D4 */ stfs f0, 0xad4(r3) +/* 8028C69C 002895FC C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6A0 00289600 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8028C6A4 00289604 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6A8 00289608 48 00 00 48 */ b lbl_8028C6F0 +lbl_8028C6AC: +/* 8028C6AC 0028960C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028C6B0 00289610 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028C6B4 00289614 2C 00 00 06 */ cmpwi r0, 6 +/* 8028C6B8 00289618 40 82 00 10 */ bne lbl_8028C6C8 +/* 8028C6BC 0028961C C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6C0 00289620 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6C4 00289624 48 00 00 2C */ b lbl_8028C6F0 +lbl_8028C6C8: +/* 8028C6C8 00289628 C0 43 0A D4 */ lfs f2, 0xad4(r3) +/* 8028C6CC 0028962C C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8028C6D0 00289630 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8028C6D4 00289634 40 82 00 1C */ bne lbl_8028C6F0 +/* 8028C6D8 00289638 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) +/* 8028C6DC 0028963C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8028C6E0 00289640 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 8028C6E4 00289644 48 00 00 0C */ b lbl_8028C6F0 +lbl_8028C6E8: +/* 8028C6E8 00289648 C0 03 0A D4 */ lfs f0, 0xad4(r3) +/* 8028C6EC 0028964C D0 03 03 B4 */ stfs f0, 0x3b4(r3) +lbl_8028C6F0: +/* 8028C6F0 00289650 4B F9 F2 99 */ bl Run__12CElitePirateFR13CStateManager9EStateMsgf +/* 8028C6F4 00289654 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028C6F8 00289658 7C 08 03 A6 */ mtlr r0 +/* 8028C6FC 0028965C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028C700 00289660 4E 80 00 20 */ blr + +.global sub_8028c704 +sub_8028c704: +/* 8028C704 00289664 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028C708 00289668 7C 08 02 A6 */ mflr r0 +/* 8028C70C 0028966C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028C710 00289670 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028C714 00289674 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8028C718 00289678 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028C71C 0028967C 80 C3 0A C8 */ lwz r6, 0xac8(r3) +/* 8028C720 00289680 FF E0 08 90 */ fmr f31, f1 +/* 8028C724 00289684 80 03 0A B8 */ lwz r0, 0xab8(r3) +/* 8028C728 00289688 7C 7F 1B 78 */ mr r31, r3 +/* 8028C72C 0028968C 7C 06 00 00 */ cmpw r6, r0 +/* 8028C730 00289690 40 80 00 F4 */ bge lbl_8028C824 +/* 8028C734 00289694 C0 3F 0A B0 */ lfs f1, 0xab0(r31) +/* 8028C738 00289698 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028C73C 0028969C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028C740 002896A0 4C 40 13 82 */ cror 2, 0, 2 +/* 8028C744 002896A4 40 82 00 D4 */ bne lbl_8028C818 +/* 8028C748 002896A8 38 A6 00 01 */ addi r5, r6, 1 +/* 8028C74C 002896AC 54 C0 10 3A */ slwi r0, r6, 2 +/* 8028C750 002896B0 90 BF 0A C8 */ stw r5, 0xac8(r31) +/* 8028C754 002896B4 80 BF 0A C0 */ lwz r5, 0xac0(r31) +/* 8028C758 002896B8 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8028C75C 002896BC 2C 00 00 02 */ cmpwi r0, 2 +/* 8028C760 002896C0 41 82 00 48 */ beq lbl_8028C7A8 +/* 8028C764 002896C4 40 80 00 14 */ bge lbl_8028C778 +/* 8028C768 002896C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028C76C 002896CC 41 82 00 60 */ beq lbl_8028C7CC +/* 8028C770 002896D0 40 80 00 14 */ bge lbl_8028C784 +/* 8028C774 002896D4 48 00 00 9C */ b lbl_8028C810 +lbl_8028C778: +/* 8028C778 002896D8 2C 00 00 04 */ cmpwi r0, 4 +/* 8028C77C 002896DC 40 80 00 94 */ bge lbl_8028C810 +/* 8028C780 002896E0 48 00 00 70 */ b lbl_8028C7F0 +lbl_8028C784: +/* 8028C784 002896E4 7C 85 23 78 */ mr r5, r4 +/* 8028C788 002896E8 38 80 00 08 */ li r4, 8 +/* 8028C78C 002896EC 38 C0 FF FF */ li r6, -1 +/* 8028C790 002896F0 4B DC 49 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C794 002896F4 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C798 002896F8 88 64 00 01 */ lbz r3, 1(r4) +/* 8028C79C 002896FC 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7A0 00289700 98 04 00 01 */ stb r0, 1(r4) +/* 8028C7A4 00289704 48 00 00 6C */ b lbl_8028C810 +lbl_8028C7A8: +/* 8028C7A8 00289708 7C 85 23 78 */ mr r5, r4 +/* 8028C7AC 0028970C 38 80 00 0B */ li r4, 0xb +/* 8028C7B0 00289710 38 C0 FF FF */ li r6, -1 +/* 8028C7B4 00289714 4B DC 49 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C7B8 00289718 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C7BC 0028971C 88 64 00 02 */ lbz r3, 2(r4) +/* 8028C7C0 00289720 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7C4 00289724 98 04 00 02 */ stb r0, 2(r4) +/* 8028C7C8 00289728 48 00 00 48 */ b lbl_8028C810 +lbl_8028C7CC: +/* 8028C7CC 0028972C 7C 85 23 78 */ mr r5, r4 +/* 8028C7D0 00289730 38 80 00 02 */ li r4, 2 +/* 8028C7D4 00289734 38 C0 FF FF */ li r6, -1 +/* 8028C7D8 00289738 4B DC 48 E9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C7DC 0028973C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C7E0 00289740 88 64 00 00 */ lbz r3, 0(r4) +/* 8028C7E4 00289744 38 03 00 01 */ addi r0, r3, 1 +/* 8028C7E8 00289748 98 04 00 00 */ stb r0, 0(r4) +/* 8028C7EC 0028974C 48 00 00 24 */ b lbl_8028C810 +lbl_8028C7F0: +/* 8028C7F0 00289750 7C 85 23 78 */ mr r5, r4 +/* 8028C7F4 00289754 38 80 00 19 */ li r4, 0x19 +/* 8028C7F8 00289758 38 C0 FF FF */ li r6, -1 +/* 8028C7FC 0028975C 4B DC 48 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028C800 00289760 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 8028C804 00289764 88 64 00 03 */ lbz r3, 3(r4) +/* 8028C808 00289768 38 03 00 01 */ addi r0, r3, 1 +/* 8028C80C 0028976C 98 04 00 03 */ stb r0, 3(r4) +lbl_8028C810: +/* 8028C810 00289770 C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) +/* 8028C814 00289774 D0 1F 0A B0 */ stfs f0, 0xab0(r31) +lbl_8028C818: +/* 8028C818 00289778 C0 1F 0A B0 */ lfs f0, 0xab0(r31) +/* 8028C81C 0028977C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8028C820 00289780 D0 1F 0A B0 */ stfs f0, 0xab0(r31) +lbl_8028C824: +/* 8028C824 00289784 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8028C828 00289788 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028C82C 0028978C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028C830 00289790 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028C834 00289794 7C 08 03 A6 */ mtlr r0 +/* 8028C838 00289798 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028C83C 0028979C 4E 80 00 20 */ blr + +.global sub_8028c840 +sub_8028c840: +/* 8028C840 002897A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028C844 002897A4 7C 08 02 A6 */ mflr r0 +/* 8028C848 002897A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028C84C 002897AC 38 00 00 00 */ li r0, 0 +/* 8028C850 002897B0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028C854 002897B4 7C BF 2B 78 */ mr r31, r5 +/* 8028C858 002897B8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028C85C 002897BC 7C 7E 1B 78 */ mr r30, r3 +/* 8028C860 002897C0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028C864 002897C4 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028C868 002897C8 93 81 00 50 */ stw r28, 0x50(r1) +/* 8028C86C 002897CC 90 81 00 08 */ stw r4, 8(r1) +/* 8028C870 002897D0 38 80 00 04 */ li r4, 4 +/* 8028C874 002897D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028C878 002897D8 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028C87C 002897DC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8028C880 002897E0 4B F4 99 7D */ bl "reserve__Q24rstl37vectorFi" +/* 8028C884 002897E4 38 00 00 04 */ li r0, 4 +/* 8028C888 002897E8 83 9E 0A B8 */ lwz r28, 0xab8(r30) +/* 8028C88C 002897EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028C890 002897F0 90 01 00 38 */ stw r0, 0x38(r1) +/* 8028C894 002897F4 48 00 00 0C */ b lbl_8028C8A0 +/* 8028C898 002897F8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8028C89C 002897FC 48 00 00 20 */ b lbl_8028C8BC +lbl_8028C8A0: +/* 8028C8A0 00289800 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028C8A4 00289804 38 60 00 04 */ li r3, 4 +/* 8028C8A8 00289808 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028C8AC 0028980C 38 A0 00 00 */ li r5, 0 +/* 8028C8B0 00289810 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028C8B4 00289814 48 08 8F 65 */ bl __nwa__FUlPCcPCc +/* 8028C8B8 00289818 90 61 00 3C */ stw r3, 0x3c(r1) +lbl_8028C8BC: +/* 8028C8BC 0028981C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028C8C0 00289820 28 03 00 00 */ cmplwi r3, 0 +/* 8028C8C4 00289824 41 82 00 0C */ beq lbl_8028C8D0 +/* 8028C8C8 00289828 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8CC 0028982C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8D0: +/* 8028C8D0 00289830 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8D4 00289834 41 82 00 0C */ beq lbl_8028C8E0 +/* 8028C8D8 00289838 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8DC 0028983C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8E0: +/* 8028C8E0 00289840 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8E4 00289844 41 82 00 0C */ beq lbl_8028C8F0 +/* 8028C8E8 00289848 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8EC 0028984C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C8F0: +/* 8028C8F0 00289850 34 63 00 01 */ addic. r3, r3, 1 +/* 8028C8F4 00289854 41 82 00 0C */ beq lbl_8028C900 +/* 8028C8F8 00289858 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) +/* 8028C8FC 0028985C 98 03 00 00 */ stb r0, 0(r3) +lbl_8028C900: +/* 8028C900 00289860 28 1C 00 00 */ cmplwi r28, 0 +/* 8028C904 00289864 80 E1 00 3C */ lwz r7, 0x3c(r1) +/* 8028C908 00289868 7F 83 E3 78 */ mr r3, r28 +/* 8028C90C 0028986C 38 80 00 00 */ li r4, 0 +/* 8028C910 00289870 40 81 00 FC */ ble lbl_8028CA0C +/* 8028C914 00289874 57 80 E8 FF */ rlwinm. r0, r28, 0x1d, 3, 0x1f +/* 8028C918 00289878 7C 09 03 A6 */ mtctr r0 +/* 8028C91C 0028987C 41 82 00 D0 */ beq lbl_8028C9EC +lbl_8028C920: +/* 8028C920 00289880 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C924 00289884 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C928 00289888 38 84 00 04 */ addi r4, r4, 4 +/* 8028C92C 0028988C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C930 00289890 38 05 00 01 */ addi r0, r5, 1 +/* 8028C934 00289894 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C938 00289898 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C93C 0028989C 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C940 002898A0 38 84 00 04 */ addi r4, r4, 4 +/* 8028C944 002898A4 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C948 002898A8 38 05 00 01 */ addi r0, r5, 1 +/* 8028C94C 002898AC 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C950 002898B0 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C954 002898B4 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C958 002898B8 38 84 00 04 */ addi r4, r4, 4 +/* 8028C95C 002898BC 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C960 002898C0 38 05 00 01 */ addi r0, r5, 1 +/* 8028C964 002898C4 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C968 002898C8 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C96C 002898CC 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C970 002898D0 38 84 00 04 */ addi r4, r4, 4 +/* 8028C974 002898D4 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C978 002898D8 38 05 00 01 */ addi r0, r5, 1 +/* 8028C97C 002898DC 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C980 002898E0 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C984 002898E4 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C988 002898E8 38 84 00 04 */ addi r4, r4, 4 +/* 8028C98C 002898EC 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C990 002898F0 38 05 00 01 */ addi r0, r5, 1 +/* 8028C994 002898F4 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C998 002898F8 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C99C 002898FC 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9A0 00289900 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9A4 00289904 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9A8 00289908 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9AC 0028990C 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9B0 00289910 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9B4 00289914 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9B8 00289918 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9BC 0028991C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9C0 00289920 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9C4 00289924 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9C8 00289928 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9CC 0028992C 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9D0 00289930 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9D4 00289934 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028C9D8 00289938 38 05 00 01 */ addi r0, r5, 1 +/* 8028C9DC 0028993C 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028C9E0 00289940 42 00 FF 40 */ bdnz lbl_8028C920 +/* 8028C9E4 00289944 70 63 00 07 */ andi. r3, r3, 7 +/* 8028C9E8 00289948 41 82 00 24 */ beq lbl_8028CA0C +lbl_8028C9EC: +/* 8028C9EC 0028994C 7C 69 03 A6 */ mtctr r3 +lbl_8028C9F0: +/* 8028C9F0 00289950 80 BE 0A C0 */ lwz r5, 0xac0(r30) +/* 8028C9F4 00289954 7C C5 20 2E */ lwzx r6, r5, r4 +/* 8028C9F8 00289958 38 84 00 04 */ addi r4, r4, 4 +/* 8028C9FC 0028995C 7C A7 30 AE */ lbzx r5, r7, r6 +/* 8028CA00 00289960 38 05 00 01 */ addi r0, r5, 1 +/* 8028CA04 00289964 7C 07 31 AE */ stbx r0, r7, r6 +/* 8028CA08 00289968 42 00 FF E8 */ bdnz lbl_8028C9F0 +lbl_8028CA0C: +/* 8028CA0C 0028996C 3B 80 00 00 */ li r28, 0 +lbl_8028CA10: +/* 8028CA10 00289970 80 7E 0B 88 */ lwz r3, 0xb88(r30) +/* 8028CA14 00289974 7C 03 E0 AE */ lbzx r0, r3, r28 +/* 8028CA18 00289978 28 00 00 00 */ cmplwi r0, 0 +/* 8028CA1C 0028997C 40 82 00 14 */ bne lbl_8028CA30 +/* 8028CA20 00289980 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028CA24 00289984 7C 03 E0 AE */ lbzx r0, r3, r28 +/* 8028CA28 00289988 28 00 00 00 */ cmplwi r0, 0 +/* 8028CA2C 0028998C 41 82 00 50 */ beq lbl_8028CA7C +lbl_8028CA30: +/* 8028CA30 00289990 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CA34 00289994 57 9D 06 3E */ clrlwi r29, r28, 0x18 +/* 8028CA38 00289998 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 8028CA3C 0028999C 7C 00 28 00 */ cmpw r0, r5 +/* 8028CA40 002899A0 41 80 00 1C */ blt lbl_8028CA5C +/* 8028CA44 002899A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CA48 002899A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028CA4C 002899AC 38 80 00 04 */ li r4, 4 +/* 8028CA50 002899B0 41 82 00 08 */ beq lbl_8028CA58 +/* 8028CA54 002899B4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CA58: +/* 8028CA58 002899B8 4B F4 97 A5 */ bl "reserve__Q24rstl37vectorFi" +lbl_8028CA5C: +/* 8028CA5C 002899BC 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028CA60 002899C0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CA64 002899C4 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CA68 002899C8 41 82 00 08 */ beq lbl_8028CA70 +/* 8028CA6C 002899CC 9B A3 00 00 */ stb r29, 0(r3) +lbl_8028CA70: +/* 8028CA70 002899D0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8028CA74 002899D4 38 03 00 01 */ addi r0, r3, 1 +/* 8028CA78 002899D8 90 01 00 44 */ stw r0, 0x44(r1) +lbl_8028CA7C: +/* 8028CA7C 002899DC 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028CA80 002899E0 28 1C 00 04 */ cmplwi r28, 4 +/* 8028CA84 002899E4 41 80 FF 8C */ blt lbl_8028CA10 +/* 8028CA88 002899E8 83 81 00 44 */ lwz r28, 0x44(r1) +/* 8028CA8C 002899EC 2C 1C 00 00 */ cmpwi r28, 0 +/* 8028CA90 002899F0 40 81 00 B4 */ ble lbl_8028CB44 +/* 8028CA94 002899F4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8028CA98 002899F8 48 08 5A 89 */ bl Next__9CRandom16Fv +/* 8028CA9C 002899FC 7C 03 E3 96 */ divwu r0, r3, r28 +/* 8028CAA0 00289A00 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 8028CAA4 00289A04 83 BE 0A B8 */ lwz r29, 0xab8(r30) +/* 8028CAA8 00289A08 7C 00 E1 D6 */ mullw r0, r0, r28 +/* 8028CAAC 00289A0C 7C 00 18 50 */ subf r0, r0, r3 +/* 8028CAB0 00289A10 7F C3 F3 78 */ mr r3, r30 +/* 8028CAB4 00289A14 7F 84 00 AE */ lbzx r28, r4, r0 +/* 8028CAB8 00289A18 4B FF F7 79 */ bl sub_8028c230 +/* 8028CABC 00289A1C 7C 7D 1A 14 */ add r3, r29, r3 +/* 8028CAC0 00289A20 80 01 00 08 */ lwz r0, 8(r1) +/* 8028CAC4 00289A24 20 83 00 03 */ subfic r4, r3, 3 +/* 8028CAC8 00289A28 38 61 00 08 */ addi r3, r1, 8 +/* 8028CACC 00289A2C 7C 04 00 40 */ cmplw r4, r0 +/* 8028CAD0 00289A30 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8028CAD4 00289A34 40 80 00 08 */ bge lbl_8028CADC +/* 8028CAD8 00289A38 38 61 00 2C */ addi r3, r1, 0x2c +lbl_8028CADC: +/* 8028CADC 00289A3C 83 A3 00 00 */ lwz r29, 0(r3) +/* 8028CAE0 00289A40 3B E0 00 00 */ li r31, 0 +/* 8028CAE4 00289A44 48 00 00 54 */ b lbl_8028CB38 +lbl_8028CAE8: +/* 8028CAE8 00289A48 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 8028CAEC 00289A4C 80 BE 0A BC */ lwz r5, 0xabc(r30) +/* 8028CAF0 00289A50 7C 00 28 00 */ cmpw r0, r5 +/* 8028CAF4 00289A54 41 80 00 1C */ blt lbl_8028CB10 +/* 8028CAF8 00289A58 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CAFC 00289A5C 38 7E 0A B4 */ addi r3, r30, 0xab4 +/* 8028CB00 00289A60 38 80 00 04 */ li r4, 4 +/* 8028CB04 00289A64 41 82 00 08 */ beq lbl_8028CB0C +/* 8028CB08 00289A68 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CB0C: +/* 8028CB0C 00289A6C 48 00 59 E5 */ bl sub_802924f0 +lbl_8028CB10: +/* 8028CB10 00289A70 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 8028CB14 00289A74 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 8028CB18 00289A78 54 00 10 3A */ slwi r0, r0, 2 +/* 8028CB1C 00289A7C 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CB20 00289A80 41 82 00 08 */ beq lbl_8028CB28 +/* 8028CB24 00289A84 93 83 00 00 */ stw r28, 0(r3) +lbl_8028CB28: +/* 8028CB28 00289A88 80 7E 0A B8 */ lwz r3, 0xab8(r30) +/* 8028CB2C 00289A8C 3B FF 00 01 */ addi r31, r31, 1 +/* 8028CB30 00289A90 38 03 00 01 */ addi r0, r3, 1 +/* 8028CB34 00289A94 90 1E 0A B8 */ stw r0, 0xab8(r30) +lbl_8028CB38: +/* 8028CB38 00289A98 7C 1F E8 00 */ cmpw r31, r29 +/* 8028CB3C 00289A9C 41 80 FF AC */ blt lbl_8028CAE8 +/* 8028CB40 00289AA0 48 00 00 14 */ b lbl_8028CB54 +lbl_8028CB44: +/* 8028CB44 00289AA4 80 81 00 08 */ lwz r4, 8(r1) +/* 8028CB48 00289AA8 7F C3 F3 78 */ mr r3, r30 +/* 8028CB4C 00289AAC 7F E5 FB 78 */ mr r5, r31 +/* 8028CB50 00289AB0 48 00 00 9D */ bl sub_8028cbec +lbl_8028CB54: +/* 8028CB54 00289AB4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8028CB58 00289AB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028CB5C 00289ABC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8028CB60 00289AC0 7C 83 02 14 */ add r4, r3, r0 +/* 8028CB64 00289AC4 7C 03 20 50 */ subf r0, r3, r4 +/* 8028CB68 00289AC8 90 81 00 28 */ stw r4, 0x28(r1) +/* 8028CB6C 00289ACC 90 81 00 24 */ stw r4, 0x24(r1) +/* 8028CB70 00289AD0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8028CB74 00289AD4 7C 09 03 A6 */ mtctr r0 +/* 8028CB78 00289AD8 7C 03 20 40 */ cmplw r3, r4 +/* 8028CB7C 00289ADC 41 82 00 08 */ beq lbl_8028CB84 +lbl_8028CB80: +/* 8028CB80 00289AE0 42 00 00 00 */ bdnz lbl_8028CB80 +lbl_8028CB84: +/* 8028CB84 00289AE4 28 03 00 00 */ cmplwi r3, 0 +/* 8028CB88 00289AE8 41 82 00 08 */ beq lbl_8028CB90 +/* 8028CB8C 00289AEC 48 08 8D A5 */ bl Free__7CMemoryFPCv +lbl_8028CB90: +/* 8028CB90 00289AF0 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028CB94 00289AF4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028CB98 00289AF8 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028CB9C 00289AFC 7C 83 02 14 */ add r4, r3, r0 +/* 8028CBA0 00289B00 7C 03 20 50 */ subf r0, r3, r4 +/* 8028CBA4 00289B04 90 81 00 18 */ stw r4, 0x18(r1) +/* 8028CBA8 00289B08 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028CBAC 00289B0C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028CBB0 00289B10 7C 09 03 A6 */ mtctr r0 +/* 8028CBB4 00289B14 7C 03 20 40 */ cmplw r3, r4 +/* 8028CBB8 00289B18 41 82 00 08 */ beq lbl_8028CBC0 +lbl_8028CBBC: +/* 8028CBBC 00289B1C 42 00 00 00 */ bdnz lbl_8028CBBC +lbl_8028CBC0: +/* 8028CBC0 00289B20 28 03 00 00 */ cmplwi r3, 0 +/* 8028CBC4 00289B24 41 82 00 08 */ beq lbl_8028CBCC +/* 8028CBC8 00289B28 48 08 8D 69 */ bl Free__7CMemoryFPCv +lbl_8028CBCC: +/* 8028CBCC 00289B2C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028CBD0 00289B30 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028CBD4 00289B34 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028CBD8 00289B38 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028CBDC 00289B3C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8028CBE0 00289B40 7C 08 03 A6 */ mtlr r0 +/* 8028CBE4 00289B44 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028CBE8 00289B48 4E 80 00 20 */ blr + +.global sub_8028cbec +sub_8028cbec: +/* 8028CBEC 00289B4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028CBF0 00289B50 7C 08 02 A6 */ mflr r0 +/* 8028CBF4 00289B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028CBF8 00289B58 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028CBFC 00289B5C 7C 7F 1B 78 */ mr r31, r3 +/* 8028CC00 00289B60 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028CC04 00289B64 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8028CC08 00289B68 93 81 00 10 */ stw r28, 0x10(r1) +/* 8028CC0C 00289B6C 7C BC 2B 78 */ mr r28, r5 +/* 8028CC10 00289B70 90 81 00 08 */ stw r4, 8(r1) +/* 8028CC14 00289B74 80 65 09 00 */ lwz r3, 0x900(r5) +/* 8028CC18 00289B78 48 08 59 09 */ bl Next__9CRandom16Fv +/* 8028CC1C 00289B7C 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 8028CC20 00289B80 54 64 0F FE */ srwi r4, r3, 0x1f +/* 8028CC24 00289B84 7C 04 00 50 */ subf r0, r4, r0 +/* 8028CC28 00289B88 83 DF 0A B8 */ lwz r30, 0xab8(r31) +/* 8028CC2C 00289B8C 54 00 10 3E */ rotlwi r0, r0, 2 +/* 8028CC30 00289B90 7F E3 FB 78 */ mr r3, r31 +/* 8028CC34 00289B94 7F A0 22 14 */ add r29, r0, r4 +/* 8028CC38 00289B98 4B FF F5 F9 */ bl sub_8028c230 +/* 8028CC3C 00289B9C 7C 7E 1A 14 */ add r3, r30, r3 +/* 8028CC40 00289BA0 80 01 00 08 */ lwz r0, 8(r1) +/* 8028CC44 00289BA4 20 83 00 03 */ subfic r4, r3, 3 +/* 8028CC48 00289BA8 38 61 00 08 */ addi r3, r1, 8 +/* 8028CC4C 00289BAC 7C 04 00 40 */ cmplw r4, r0 +/* 8028CC50 00289BB0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028CC54 00289BB4 40 80 00 08 */ bge lbl_8028CC5C +/* 8028CC58 00289BB8 38 61 00 0C */ addi r3, r1, 0xc +lbl_8028CC5C: +/* 8028CC5C 00289BBC 83 C3 00 00 */ lwz r30, 0(r3) +/* 8028CC60 00289BC0 7F E3 FB 78 */ mr r3, r31 +/* 8028CC64 00289BC4 4B FF F3 49 */ bl sub_8028bfac +/* 8028CC68 00289BC8 28 03 00 02 */ cmplwi r3, 2 +/* 8028CC6C 00289BCC 40 80 00 68 */ bge lbl_8028CCD4 +/* 8028CC70 00289BD0 3B 80 00 00 */ li r28, 0 +/* 8028CC74 00289BD4 48 00 00 54 */ b lbl_8028CCC8 +lbl_8028CC78: +/* 8028CC78 00289BD8 80 1F 0A B8 */ lwz r0, 0xab8(r31) +/* 8028CC7C 00289BDC 80 BF 0A BC */ lwz r5, 0xabc(r31) +/* 8028CC80 00289BE0 7C 00 28 00 */ cmpw r0, r5 +/* 8028CC84 00289BE4 41 80 00 1C */ blt lbl_8028CCA0 +/* 8028CC88 00289BE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028CC8C 00289BEC 38 7F 0A B4 */ addi r3, r31, 0xab4 +/* 8028CC90 00289BF0 38 80 00 04 */ li r4, 4 +/* 8028CC94 00289BF4 41 82 00 08 */ beq lbl_8028CC9C +/* 8028CC98 00289BF8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028CC9C: +/* 8028CC9C 00289BFC 48 00 58 55 */ bl sub_802924f0 +lbl_8028CCA0: +/* 8028CCA0 00289C00 80 1F 0A B8 */ lwz r0, 0xab8(r31) +/* 8028CCA4 00289C04 80 7F 0A C0 */ lwz r3, 0xac0(r31) +/* 8028CCA8 00289C08 54 00 10 3A */ slwi r0, r0, 2 +/* 8028CCAC 00289C0C 7C 63 02 15 */ add. r3, r3, r0 +/* 8028CCB0 00289C10 41 82 00 08 */ beq lbl_8028CCB8 +/* 8028CCB4 00289C14 93 A3 00 00 */ stw r29, 0(r3) +lbl_8028CCB8: +/* 8028CCB8 00289C18 80 7F 0A B8 */ lwz r3, 0xab8(r31) +/* 8028CCBC 00289C1C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028CCC0 00289C20 38 03 00 01 */ addi r0, r3, 1 +/* 8028CCC4 00289C24 90 1F 0A B8 */ stw r0, 0xab8(r31) +lbl_8028CCC8: +/* 8028CCC8 00289C28 7C 1C F0 00 */ cmpw r28, r30 +/* 8028CCCC 00289C2C 41 80 FF AC */ blt lbl_8028CC78 +/* 8028CCD0 00289C30 48 00 00 14 */ b lbl_8028CCE4 +lbl_8028CCD4: +/* 8028CCD4 00289C34 7F E3 FB 78 */ mr r3, r31 +/* 8028CCD8 00289C38 7F C4 F3 78 */ mr r4, r30 +/* 8028CCDC 00289C3C 7F 85 E3 78 */ mr r5, r28 +/* 8028CCE0 00289C40 4B FF FB 61 */ bl sub_8028c840 +lbl_8028CCE4: +/* 8028CCE4 00289C44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028CCE8 00289C48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028CCEC 00289C4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028CCF0 00289C50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8028CCF4 00289C54 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8028CCF8 00289C58 7C 08 03 A6 */ mtlr r0 +/* 8028CCFC 00289C5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028CD00 00289C60 4E 80 00 20 */ blr + +.global sub_8028cd04 +sub_8028cd04: +/* 8028CD04 00289C64 80 03 0A 7C */ lwz r0, 0xa7c(r3) +/* 8028CD08 00289C68 2C 00 00 02 */ cmpwi r0, 2 +/* 8028CD0C 00289C6C 41 82 00 D4 */ beq lbl_8028CDE0 +/* 8028CD10 00289C70 40 80 00 10 */ bge lbl_8028CD20 +/* 8028CD14 00289C74 2C 00 00 01 */ cmpwi r0, 1 +/* 8028CD18 00289C78 40 80 00 70 */ bge lbl_8028CD88 +/* 8028CD1C 00289C7C 48 00 01 04 */ b lbl_8028CE20 +lbl_8028CD20: +/* 8028CD20 00289C80 2C 00 00 04 */ cmpwi r0, 4 +/* 8028CD24 00289C84 40 80 00 FC */ bge lbl_8028CE20 +/* 8028CD28 00289C88 C0 63 0A 8C */ lfs f3, 0xa8c(r3) +/* 8028CD2C 00289C8C C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD30 00289C90 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8028CD34 00289C94 40 80 00 0C */ bge lbl_8028CD40 +/* 8028CD38 00289C98 38 83 0A 8C */ addi r4, r3, 0xa8c +/* 8028CD3C 00289C9C 48 00 00 08 */ b lbl_8028CD44 +lbl_8028CD40: +/* 8028CD40 00289CA0 38 83 0A 84 */ addi r4, r3, 0xa84 +lbl_8028CD44: +/* 8028CD44 00289CA4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8028CD48 00289CA8 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028CD4C 00289CAC EC 00 18 24 */ fdivs f0, f0, f3 +/* 8028CD50 00289CB0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8028CD54 00289CB4 D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CD58 00289CB8 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CD5C 00289CBC C0 03 0A 8C */ lfs f0, 0xa8c(r3) +/* 8028CD60 00289CC0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CD64 00289CC4 40 81 00 14 */ ble lbl_8028CD78 +/* 8028CD68 00289CC8 38 00 00 02 */ li r0, 2 +/* 8028CD6C 00289CCC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028CD70 00289CD0 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CD74 00289CD4 D0 03 0A 84 */ stfs f0, 0xa84(r3) +lbl_8028CD78: +/* 8028CD78 00289CD8 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD7C 00289CDC EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CD80 00289CE0 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CD84 00289CE4 4E 80 00 20 */ blr +lbl_8028CD88: +/* 8028CD88 00289CE8 C0 43 0A 90 */ lfs f2, 0xa90(r3) +/* 8028CD8C 00289CEC C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CD90 00289CF0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CD94 00289CF4 40 80 00 0C */ bge lbl_8028CDA0 +/* 8028CD98 00289CF8 38 83 0A 90 */ addi r4, r3, 0xa90 +/* 8028CD9C 00289CFC 48 00 00 08 */ b lbl_8028CDA4 +lbl_8028CDA0: +/* 8028CDA0 00289D00 38 83 0A 84 */ addi r4, r3, 0xa84 +lbl_8028CDA4: +/* 8028CDA4 00289D04 C0 04 00 00 */ lfs f0, 0(r4) +/* 8028CDA8 00289D08 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8028CDAC 00289D0C D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CDB0 00289D10 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CDB4 00289D14 C0 03 0A 90 */ lfs f0, 0xa90(r3) +/* 8028CDB8 00289D18 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CDBC 00289D1C 40 81 00 14 */ ble lbl_8028CDD0 +/* 8028CDC0 00289D20 38 00 00 00 */ li r0, 0 +/* 8028CDC4 00289D24 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028CDC8 00289D28 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CDCC 00289D2C D0 03 0A 84 */ stfs f0, 0xa84(r3) +lbl_8028CDD0: +/* 8028CDD0 00289D30 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CDD4 00289D34 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CDD8 00289D38 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CDDC 00289D3C 4E 80 00 20 */ blr +lbl_8028CDE0: +/* 8028CDE0 00289D40 C0 62 BE 9C */ lfs f3, lbl_805ADBBC@sda21(r2) +/* 8028CDE4 00289D44 D0 63 0A 80 */ stfs f3, 0xa80(r3) +/* 8028CDE8 00289D48 C0 43 0A 84 */ lfs f2, 0xa84(r3) +/* 8028CDEC 00289D4C C0 03 0A 94 */ lfs f0, 0xa94(r3) +/* 8028CDF0 00289D50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028CDF4 00289D54 40 81 00 1C */ ble lbl_8028CE10 +/* 8028CDF8 00289D58 88 03 0A 88 */ lbz r0, 0xa88(r3) +/* 8028CDFC 00289D5C 28 00 00 00 */ cmplwi r0, 0 +/* 8028CE00 00289D60 40 82 00 10 */ bne lbl_8028CE10 +/* 8028CE04 00289D64 38 00 00 01 */ li r0, 1 +/* 8028CE08 00289D68 90 03 0A 7C */ stw r0, 0xa7c(r3) +/* 8028CE0C 00289D6C D0 63 0A 84 */ stfs f3, 0xa84(r3) +lbl_8028CE10: +/* 8028CE10 00289D70 C0 03 0A 84 */ lfs f0, 0xa84(r3) +/* 8028CE14 00289D74 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028CE18 00289D78 D0 03 0A 84 */ stfs f0, 0xa84(r3) +/* 8028CE1C 00289D7C 4E 80 00 20 */ blr +lbl_8028CE20: +/* 8028CE20 00289D80 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028CE24 00289D84 D0 03 0A 80 */ stfs f0, 0xa80(r3) +/* 8028CE28 00289D88 4E 80 00 20 */ blr + +.global sub_8028ce2c +sub_8028ce2c: +/* 8028CE2C 00289D8C 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8028CE30 00289D90 7C 08 02 A6 */ mflr r0 +/* 8028CE34 00289D94 90 01 01 44 */ stw r0, 0x144(r1) +/* 8028CE38 00289D98 BF 21 01 24 */ stmw r25, 0x124(r1) +/* 8028CE3C 00289D9C 7C B9 2B 78 */ mr r25, r5 +/* 8028CE40 00289DA0 7C DA 33 78 */ mr r26, r6 +/* 8028CE44 00289DA4 7C 9E 23 78 */ mr r30, r4 +/* 8028CE48 00289DA8 3B A1 00 B8 */ addi r29, r1, 0xb8 +/* 8028CE4C 00289DAC 3B 81 00 FC */ addi r28, r1, 0xfc +/* 8028CE50 00289DB0 3B 60 00 00 */ li r27, 0 +/* 8028CE54 00289DB4 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028CE58 00289DB8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8028CE5C 00289DBC 48 00 01 D8 */ b lbl_8028D034 +lbl_8028CE60: +/* 8028CE60 00289DC0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028CE64 00289DC4 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028CE68 00289DC8 4B D7 7E 51 */ bl string_l__4rstlFPCc +/* 8028CE6C 00289DCC 7F E4 FB 78 */ mr r4, r31 +/* 8028CE70 00289DD0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028CE74 00289DD4 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8028CE78 00289DD8 4B DA 19 C1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CE7C 00289DDC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8028CE80 00289DE0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028CE84 00289DE4 98 01 00 20 */ stb r0, 0x20(r1) +/* 8028CE88 00289DE8 48 0B 0C 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028CE8C 00289DEC 80 9E 00 04 */ lwz r4, 4(r30) +/* 8028CE90 00289DF0 38 61 00 6C */ addi r3, r1, 0x6c +/* 8028CE94 00289DF4 4B D7 7E 25 */ bl string_l__4rstlFPCc +/* 8028CE98 00289DF8 7F E4 FB 78 */ mr r4, r31 +/* 8028CE9C 00289DFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028CEA0 00289E00 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8028CEA4 00289E04 4B DA 19 95 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CEA8 00289E08 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8028CEAC 00289E0C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8028CEB0 00289E10 98 01 00 1C */ stb r0, 0x1c(r1) +/* 8028CEB4 00289E14 48 0B 0C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028CEB8 00289E18 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8028CEBC 00289E1C 28 00 00 FF */ cmplwi r0, 0xff +/* 8028CEC0 00289E20 41 82 01 6C */ beq lbl_8028D02C +/* 8028CEC4 00289E24 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 8028CEC8 00289E28 28 00 00 FF */ cmplwi r0, 0xff +/* 8028CECC 00289E2C 41 82 01 60 */ beq lbl_8028D02C +/* 8028CED0 00289E30 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028CED4 00289E34 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028CED8 00289E38 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028CEDC 00289E3C 38 C1 00 08 */ addi r6, r1, 8 +/* 8028CEE0 00289E40 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 8028CEE4 00289E44 38 A0 FF FF */ li r5, -1 +/* 8028CEE8 00289E48 48 0B 12 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8028CEEC 00289E4C 7F 64 DB 78 */ mr r4, r27 +/* 8028CEF0 00289E50 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028CEF4 00289E54 48 0B 19 A1 */ bl CreateFromInteger__13CStringExtrasFi +/* 8028CEF8 00289E58 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028CEFC 00289E5C 38 81 00 44 */ addi r4, r1, 0x44 +/* 8028CF00 00289E60 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8028CF04 00289E64 4B D7 7D 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CF08 00289E68 C0 BE 00 10 */ lfs f5, 0x10(r30) +/* 8028CF0C 00289E6C 38 61 00 8C */ addi r3, r1, 0x8c +/* 8028CF10 00289E70 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 8028CF14 00289E74 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028CF18 00289E78 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028CF1C 00289E7C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8028CF20 00289E80 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8028CF24 00289E84 38 C1 00 60 */ addi r6, r1, 0x60 +/* 8028CF28 00289E88 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8028CF2C 00289E8C 89 21 00 1C */ lbz r9, 0x1c(r1) +/* 8028CF30 00289E90 EC 61 00 32 */ fmuls f3, f1, f0 +/* 8028CF34 00289E94 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8028CF38 00289E98 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8028CF3C 00289E9C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8028CF40 00289EA0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8028CF44 00289EA4 39 01 00 24 */ addi r8, r1, 0x24 +/* 8028CF48 00289EA8 C0 22 BE C8 */ lfs f1, lbl_805ADBE8@sda21(r2) +/* 8028CF4C 00289EAC 38 E0 00 01 */ li r7, 1 +/* 8028CF50 00289EB0 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 8028CF54 00289EB4 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 8028CF58 00289EB8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8028CF5C 00289EBC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8028CF60 00289EC0 99 21 00 0C */ stb r9, 0xc(r1) +/* 8028CF64 00289EC4 98 01 00 10 */ stb r0, 0x10(r1) +/* 8028CF68 00289EC8 4B F1 B6 6D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8028CF6C 00289ECC 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 8028CF70 00289ED0 7F 83 E3 78 */ mr r3, r28 +/* 8028CF74 00289ED4 80 C1 00 90 */ lwz r6, 0x90(r1) +/* 8028CF78 00289ED8 7F A4 EB 78 */ mr r4, r29 +/* 8028CF7C 00289EDC 88 A1 00 94 */ lbz r5, 0x94(r1) +/* 8028CF80 00289EE0 88 01 00 95 */ lbz r0, 0x95(r1) +/* 8028CF84 00289EE4 C0 E1 00 98 */ lfs f7, 0x98(r1) +/* 8028CF88 00289EE8 C0 C1 00 9C */ lfs f6, 0x9c(r1) +/* 8028CF8C 00289EEC C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 8028CF90 00289EF0 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 8028CF94 00289EF4 C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 8028CF98 00289EF8 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8028CF9C 00289EFC C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8028CFA0 00289F00 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 8028CFA4 00289F04 90 E1 00 D0 */ stw r7, 0xd0(r1) +/* 8028CFA8 00289F08 90 C1 00 D4 */ stw r6, 0xd4(r1) +/* 8028CFAC 00289F0C 98 A1 00 D8 */ stb r5, 0xd8(r1) +/* 8028CFB0 00289F10 98 01 00 D9 */ stb r0, 0xd9(r1) +/* 8028CFB4 00289F14 D0 E1 00 DC */ stfs f7, 0xdc(r1) +/* 8028CFB8 00289F18 D0 C1 00 E0 */ stfs f6, 0xe0(r1) +/* 8028CFBC 00289F1C D0 A1 00 E4 */ stfs f5, 0xe4(r1) +/* 8028CFC0 00289F20 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 8028CFC4 00289F24 D0 61 00 EC */ stfs f3, 0xec(r1) +/* 8028CFC8 00289F28 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 8028CFCC 00289F2C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8028CFD0 00289F30 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 8028CFD4 00289F34 48 0B 11 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028CFD8 00289F38 A0 01 00 C8 */ lhz r0, 0xc8(r1) +/* 8028CFDC 00289F3C 28 1D 00 00 */ cmplwi r29, 0 +/* 8028CFE0 00289F40 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 8028CFE4 00289F44 B0 01 01 0C */ sth r0, 0x10c(r1) +/* 8028CFE8 00289F48 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8028CFEC 00289F4C 41 82 00 0C */ beq lbl_8028CFF8 +/* 8028CFF0 00289F50 7F A3 EB 78 */ mr r3, r29 +/* 8028CFF4 00289F54 48 0B 0A ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028CFF8: +/* 8028CFF8 00289F58 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028CFFC 00289F5C 48 0B 0A E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D000 00289F60 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028D004 00289F64 48 0B 0A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D008 00289F68 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028D00C 00289F6C 48 0B 0A D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D010 00289F70 7F 43 D3 78 */ mr r3, r26 +/* 8028D014 00289F74 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8028D018 00289F78 4B EC 92 19 */ bl sub_80156230 +/* 8028D01C 00289F7C 28 1C 00 00 */ cmplwi r28, 0 +/* 8028D020 00289F80 41 82 00 0C */ beq lbl_8028D02C +/* 8028D024 00289F84 7F 83 E3 78 */ mr r3, r28 +/* 8028D028 00289F88 48 0B 0A B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D02C: +/* 8028D02C 00289F8C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 8028D030 00289F90 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8028D034: +/* 8028D034 00289F94 7C 1B C8 00 */ cmpw r27, r25 +/* 8028D038 00289F98 41 80 FE 28 */ blt lbl_8028CE60 +/* 8028D03C 00289F9C BB 21 01 24 */ lmw r25, 0x124(r1) +/* 8028D040 00289FA0 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8028D044 00289FA4 7C 08 03 A6 */ mtlr r0 +/* 8028D048 00289FA8 38 21 01 40 */ addi r1, r1, 0x140 +/* 8028D04C 00289FAC 4E 80 00 20 */ blr + +.global sub_8028d050 +sub_8028d050: +/* 8028D050 00289FB0 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8028D054 00289FB4 7C 08 02 A6 */ mflr r0 +/* 8028D058 00289FB8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8028D05C 00289FBC BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8028D060 00289FC0 7C B9 2B 78 */ mr r25, r5 +/* 8028D064 00289FC4 7C DA 33 78 */ mr r26, r6 +/* 8028D068 00289FC8 7C 9E 23 78 */ mr r30, r4 +/* 8028D06C 00289FCC 3B A1 00 60 */ addi r29, r1, 0x60 +/* 8028D070 00289FD0 3B 81 00 A4 */ addi r28, r1, 0xa4 +/* 8028D074 00289FD4 3B 60 00 00 */ li r27, 0 +/* 8028D078 00289FD8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028D07C 00289FDC 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8028D080 00289FE0 48 00 01 20 */ b lbl_8028D1A0 +lbl_8028D084: +/* 8028D084 00289FE4 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028D088 00289FE8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D08C 00289FEC 4B D7 7C 2D */ bl string_l__4rstlFPCc +/* 8028D090 00289FF0 7F E4 FB 78 */ mr r4, r31 +/* 8028D094 00289FF4 38 61 00 0C */ addi r3, r1, 0xc +/* 8028D098 00289FF8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8028D09C 00289FFC 4B DA 17 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028D0A0 0028A000 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8028D0A4 0028A004 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D0A8 0028A008 98 01 00 10 */ stb r0, 0x10(r1) +/* 8028D0AC 0028A00C 48 0B 0A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D0B0 0028A010 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8028D0B4 0028A014 28 00 00 FF */ cmplwi r0, 0xff +/* 8028D0B8 0028A018 41 82 00 E0 */ beq lbl_8028D198 +/* 8028D0BC 0028A01C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8028D0C0 0028A020 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028D0C4 0028A024 4B D7 7B F5 */ bl string_l__4rstlFPCc +/* 8028D0C8 0028A028 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8028D0CC 0028A02C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8028D0D0 0028A030 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8028D0D4 0028A034 38 81 00 08 */ addi r4, r1, 8 +/* 8028D0D8 0028A038 98 01 00 08 */ stb r0, 8(r1) +/* 8028D0DC 0028A03C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8028D0E0 0028A040 C0 42 BE C8 */ lfs f2, lbl_805ADBE8@sda21(r2) +/* 8028D0E4 0028A044 4B F1 B7 29 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 8028D0E8 0028A048 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8028D0EC 0028A04C 7F 83 E3 78 */ mr r3, r28 +/* 8028D0F0 0028A050 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8028D0F4 0028A054 7F A4 EB 78 */ mr r4, r29 +/* 8028D0F8 0028A058 88 A1 00 3C */ lbz r5, 0x3c(r1) +/* 8028D0FC 0028A05C 88 01 00 3D */ lbz r0, 0x3d(r1) +/* 8028D100 0028A060 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 8028D104 0028A064 C0 C1 00 44 */ lfs f6, 0x44(r1) +/* 8028D108 0028A068 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 8028D10C 0028A06C C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 8028D110 0028A070 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 8028D114 0028A074 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 8028D118 0028A078 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8028D11C 0028A07C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8028D120 0028A080 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8028D124 0028A084 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8028D128 0028A088 98 A1 00 80 */ stb r5, 0x80(r1) +/* 8028D12C 0028A08C 98 01 00 81 */ stb r0, 0x81(r1) +/* 8028D130 0028A090 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8028D134 0028A094 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 8028D138 0028A098 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 8028D13C 0028A09C D0 81 00 90 */ stfs f4, 0x90(r1) +/* 8028D140 0028A0A0 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8028D144 0028A0A4 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8028D148 0028A0A8 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8028D14C 0028A0AC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8028D150 0028A0B0 48 0B 10 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8028D154 0028A0B4 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 8028D158 0028A0B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8028D15C 0028A0BC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8028D160 0028A0C0 B0 01 00 B4 */ sth r0, 0xb4(r1) +/* 8028D164 0028A0C4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8028D168 0028A0C8 41 82 00 0C */ beq lbl_8028D174 +/* 8028D16C 0028A0CC 7F A3 EB 78 */ mr r3, r29 +/* 8028D170 0028A0D0 48 0B 09 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D174: +/* 8028D174 0028A0D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028D178 0028A0D8 48 0B 09 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028D17C 0028A0DC 7F 43 D3 78 */ mr r3, r26 +/* 8028D180 0028A0E0 38 81 00 78 */ addi r4, r1, 0x78 +/* 8028D184 0028A0E4 4B EC 90 AD */ bl sub_80156230 +/* 8028D188 0028A0E8 28 1C 00 00 */ cmplwi r28, 0 +/* 8028D18C 0028A0EC 41 82 00 0C */ beq lbl_8028D198 +/* 8028D190 0028A0F0 7F 83 E3 78 */ mr r3, r28 +/* 8028D194 0028A0F4 48 0B 09 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8028D198: +/* 8028D198 0028A0F8 3B DE 00 08 */ addi r30, r30, 8 +/* 8028D19C 0028A0FC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8028D1A0: +/* 8028D1A0 0028A100 7C 1B C8 00 */ cmpw r27, r25 +/* 8028D1A4 0028A104 41 80 FE E0 */ blt lbl_8028D084 +/* 8028D1A8 0028A108 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8028D1AC 0028A10C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8028D1B0 0028A110 7C 08 03 A6 */ mtlr r0 +/* 8028D1B4 0028A114 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8028D1B8 0028A118 4E 80 00 20 */ blr + +.global sub_8028d1bc +sub_8028d1bc: +/* 8028D1BC 0028A11C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D1C0 0028A120 7C 08 02 A6 */ mflr r0 +/* 8028D1C4 0028A124 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D1C8 0028A128 BE A1 00 34 */ stmw r21, 0x34(r1) +/* 8028D1CC 0028A12C 7C 79 1B 78 */ mr r25, r3 +/* 8028D1D0 0028A130 7C 9A 23 78 */ mr r26, r4 +/* 8028D1D4 0028A134 7C BB 2B 78 */ mr r27, r5 +/* 8028D1D8 0028A138 3B A0 00 00 */ li r29, 0 +/* 8028D1DC 0028A13C 48 00 01 20 */ b lbl_8028D2FC +lbl_8028D1E0: +/* 8028D1E0 0028A140 80 7A 00 00 */ lwz r3, 0(r26) +/* 8028D1E4 0028A144 7F A4 EB 78 */ mr r4, r29 +/* 8028D1E8 0028A148 4B F1 A0 51 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D1EC 0028A14C A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D1F0 0028A150 7F 63 DB 78 */ mr r3, r27 +/* 8028D1F4 0028A154 38 81 00 08 */ addi r4, r1, 8 +/* 8028D1F8 0028A158 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D1FC 0028A15C B0 01 00 08 */ sth r0, 8(r1) +/* 8028D200 0028A160 4B DB F3 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D204 0028A164 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8028D208 0028A168 41 82 00 F0 */ beq lbl_8028D2F8 +/* 8028D20C 0028A16C 7F 65 DB 78 */ mr r5, r27 +/* 8028D210 0028A170 38 80 00 1B */ li r4, 0x1b +/* 8028D214 0028A174 4B DC 71 3D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D218 0028A178 7F 83 E3 78 */ mr r3, r28 +/* 8028D21C 0028A17C 7F 65 DB 78 */ mr r5, r27 +/* 8028D220 0028A180 38 80 00 15 */ li r4, 0x15 +/* 8028D224 0028A184 4B DC 71 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D228 0028A188 7F 83 E3 78 */ mr r3, r28 +/* 8028D22C 0028A18C 7F 65 DB 78 */ mr r5, r27 +/* 8028D230 0028A190 38 80 00 35 */ li r4, 0x35 +/* 8028D234 0028A194 4B DC 71 1D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D238 0028A198 7F 83 E3 78 */ mr r3, r28 +/* 8028D23C 0028A19C 7F 65 DB 78 */ mr r5, r27 +/* 8028D240 0028A1A0 38 80 00 2B */ li r4, 0x2b +/* 8028D244 0028A1A4 4B DC 71 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D248 0028A1A8 7F 23 CB 78 */ mr r3, r25 +/* 8028D24C 0028A1AC 4B DC 66 71 */ bl GetMaterialFilter__6CActorCFv +/* 8028D250 0028A1B0 83 E3 00 00 */ lwz r31, 0(r3) +/* 8028D254 0028A1B4 83 03 00 04 */ lwz r24, 4(r3) +/* 8028D258 0028A1B8 7F 23 CB 78 */ mr r3, r25 +/* 8028D25C 0028A1BC 4B DC 66 61 */ bl GetMaterialFilter__6CActorCFv +/* 8028D260 0028A1C0 82 E3 00 08 */ lwz r23, 8(r3) +/* 8028D264 0028A1C4 82 C3 00 0C */ lwz r22, 0xc(r3) +/* 8028D268 0028A1C8 7F 83 E3 78 */ mr r3, r28 +/* 8028D26C 0028A1CC 4B DC 66 51 */ bl GetMaterialFilter__6CActorCFv +/* 8028D270 0028A1D0 82 A3 00 00 */ lwz r21, 0(r3) +/* 8028D274 0028A1D4 83 C3 00 04 */ lwz r30, 4(r3) +/* 8028D278 0028A1D8 7F 83 E3 78 */ mr r3, r28 +/* 8028D27C 0028A1DC 4B DC 66 41 */ bl GetMaterialFilter__6CActorCFv +/* 8028D280 0028A1E0 38 00 FF FE */ li r0, -2 +/* 8028D284 0028A1E4 39 00 FF FF */ li r8, -1 +/* 8028D288 0028A1E8 7E E7 00 38 */ and r7, r23, r0 +/* 8028D28C 0028A1EC 3C C0 00 02 */ lis r6, 2 +/* 8028D290 0028A1F0 62 A0 00 01 */ ori r0, r21, 1 +/* 8028D294 0028A1F4 80 83 00 08 */ lwz r4, 8(r3) +/* 8028D298 0028A1F8 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8028D29C 0028A1FC 7E C8 40 38 */ and r8, r22, r8 +/* 8028D2A0 0028A200 7C E6 33 78 */ or r6, r7, r6 +/* 8028D2A4 0028A204 7F 03 F3 78 */ or r3, r24, r30 +/* 8028D2A8 0028A208 7D 07 2B 78 */ or r7, r8, r5 +/* 8028D2AC 0028A20C 7F E5 03 78 */ or r5, r31, r0 +/* 8028D2B0 0028A210 7C C6 23 78 */ or r6, r6, r4 +/* 8028D2B4 0028A214 38 00 00 03 */ li r0, 3 +/* 8028D2B8 0028A218 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028D2BC 0028A21C 7F 83 E3 78 */ mr r3, r28 +/* 8028D2C0 0028A220 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D2C4 0028A224 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028D2C8 0028A228 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8028D2CC 0028A22C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8028D2D0 0028A230 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028D2D4 0028A234 4B DC 65 CD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8028D2D8 0028A238 7F 83 E3 78 */ mr r3, r28 +/* 8028D2DC 0028A23C 7F 65 DB 78 */ mr r5, r27 +/* 8028D2E0 0028A240 38 80 00 12 */ li r4, 0x12 +/* 8028D2E4 0028A244 4B DC 6C 9D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D2E8 0028A248 3C 80 80 57 */ lis r4, lbl_8056D780@ha +/* 8028D2EC 0028A24C 7F 83 E3 78 */ mr r3, r28 +/* 8028D2F0 0028A250 38 84 D7 80 */ addi r4, r4, lbl_8056D780@l +/* 8028D2F4 0028A254 4B F1 B8 A5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +lbl_8028D2F8: +/* 8028D2F8 0028A258 3B BD 00 01 */ addi r29, r29, 1 +lbl_8028D2FC: +/* 8028D2FC 0028A25C 80 7A 00 00 */ lwz r3, 0(r26) +/* 8028D300 0028A260 4B F1 9F 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8028D304 0028A264 7C 1D 18 40 */ cmplw r29, r3 +/* 8028D308 0028A268 41 80 FE D8 */ blt lbl_8028D1E0 +/* 8028D30C 0028A26C BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8028D310 0028A270 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D314 0028A274 7C 08 03 A6 */ mtlr r0 +/* 8028D318 0028A278 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D31C 0028A27C 4E 80 00 20 */ blr + +.global sub_8028d320 +sub_8028d320: +/* 8028D320 0028A280 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D324 0028A284 7C 08 02 A6 */ mflr r0 +/* 8028D328 0028A288 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D32C 0028A28C BE A1 00 34 */ stmw r21, 0x34(r1) +/* 8028D330 0028A290 7C 7B 1B 78 */ mr r27, r3 +/* 8028D334 0028A294 7C 9C 23 78 */ mr r28, r4 +/* 8028D338 0028A298 7C BD 2B 78 */ mr r29, r5 +/* 8028D33C 0028A29C 3B E0 00 00 */ li r31, 0 +/* 8028D340 0028A2A0 48 00 00 FC */ b lbl_8028D43C +lbl_8028D344: +/* 8028D344 0028A2A4 80 7C 00 00 */ lwz r3, 0(r28) +/* 8028D348 0028A2A8 7F E4 FB 78 */ mr r4, r31 +/* 8028D34C 0028A2AC 4B F1 9E ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D350 0028A2B0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D354 0028A2B4 7F A3 EB 78 */ mr r3, r29 +/* 8028D358 0028A2B8 38 81 00 08 */ addi r4, r1, 8 +/* 8028D35C 0028A2BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D360 0028A2C0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028D364 0028A2C4 4B DB F2 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D368 0028A2C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028D36C 0028A2CC 41 82 00 CC */ beq lbl_8028D438 +/* 8028D370 0028A2D0 7F A5 EB 78 */ mr r5, r29 +/* 8028D374 0028A2D4 38 80 00 1B */ li r4, 0x1b +/* 8028D378 0028A2D8 4B DC 6F D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D37C 0028A2DC 7F C3 F3 78 */ mr r3, r30 +/* 8028D380 0028A2E0 7F A5 EB 78 */ mr r5, r29 +/* 8028D384 0028A2E4 38 80 00 15 */ li r4, 0x15 +/* 8028D388 0028A2E8 4B DC 6F C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D38C 0028A2EC 7F C3 F3 78 */ mr r3, r30 +/* 8028D390 0028A2F0 7F A5 EB 78 */ mr r5, r29 +/* 8028D394 0028A2F4 38 80 00 35 */ li r4, 0x35 +/* 8028D398 0028A2F8 4B DC 6F B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D39C 0028A2FC 7F C3 F3 78 */ mr r3, r30 +/* 8028D3A0 0028A300 7F A5 EB 78 */ mr r5, r29 +/* 8028D3A4 0028A304 38 80 00 2B */ li r4, 0x2b +/* 8028D3A8 0028A308 4B DC 6F A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028D3AC 0028A30C 7F 63 DB 78 */ mr r3, r27 +/* 8028D3B0 0028A310 4B DC 65 0D */ bl GetMaterialFilter__6CActorCFv +/* 8028D3B4 0028A314 83 43 00 00 */ lwz r26, 0(r3) +/* 8028D3B8 0028A318 83 23 00 04 */ lwz r25, 4(r3) +/* 8028D3BC 0028A31C 7F 63 DB 78 */ mr r3, r27 +/* 8028D3C0 0028A320 4B DC 64 FD */ bl GetMaterialFilter__6CActorCFv +/* 8028D3C4 0028A324 83 03 00 08 */ lwz r24, 8(r3) +/* 8028D3C8 0028A328 82 E3 00 0C */ lwz r23, 0xc(r3) +/* 8028D3CC 0028A32C 7F C3 F3 78 */ mr r3, r30 +/* 8028D3D0 0028A330 4B DC 64 ED */ bl GetMaterialFilter__6CActorCFv +/* 8028D3D4 0028A334 82 C3 00 00 */ lwz r22, 0(r3) +/* 8028D3D8 0028A338 82 A3 00 04 */ lwz r21, 4(r3) +/* 8028D3DC 0028A33C 7F C3 F3 78 */ mr r3, r30 +/* 8028D3E0 0028A340 4B DC 64 DD */ bl GetMaterialFilter__6CActorCFv +/* 8028D3E4 0028A344 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8028D3E8 0028A348 3C A0 00 02 */ lis r5, 2 +/* 8028D3EC 0028A34C 80 03 00 08 */ lwz r0, 8(r3) +/* 8028D3F0 0028A350 7F 05 2B 78 */ or r5, r24, r5 +/* 8028D3F4 0028A354 7E E7 23 78 */ or r7, r23, r4 +/* 8028D3F8 0028A358 7F 23 AB 78 */ or r3, r25, r21 +/* 8028D3FC 0028A35C 7C A6 03 78 */ or r6, r5, r0 +/* 8028D400 0028A360 7F 45 B3 78 */ or r5, r26, r22 +/* 8028D404 0028A364 38 00 00 03 */ li r0, 3 +/* 8028D408 0028A368 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028D40C 0028A36C 7F C3 F3 78 */ mr r3, r30 +/* 8028D410 0028A370 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D414 0028A374 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028D418 0028A378 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 8028D41C 0028A37C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8028D420 0028A380 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028D424 0028A384 4B DC 64 7D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8028D428 0028A388 7F C3 F3 78 */ mr r3, r30 +/* 8028D42C 0028A38C 7F A5 EB 78 */ mr r5, r29 +/* 8028D430 0028A390 38 80 00 12 */ li r4, 0x12 +/* 8028D434 0028A394 4B DC 6B 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8028D438: +/* 8028D438 0028A398 3B FF 00 01 */ addi r31, r31, 1 +lbl_8028D43C: +/* 8028D43C 0028A39C 80 7C 00 00 */ lwz r3, 0(r28) +/* 8028D440 0028A3A0 4B F1 9E 09 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8028D444 0028A3A4 7C 1F 18 40 */ cmplw r31, r3 +/* 8028D448 0028A3A8 41 80 FE FC */ blt lbl_8028D344 +/* 8028D44C 0028A3AC BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8028D450 0028A3B0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D454 0028A3B4 7C 08 03 A6 */ mtlr r0 +/* 8028D458 0028A3B8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D45C 0028A3BC 4E 80 00 20 */ blr + +.global sub_8028d460 +sub_8028d460: +/* 8028D460 0028A3C0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028D464 0028A3C4 7C 08 02 A6 */ mflr r0 +/* 8028D468 0028A3C8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028D46C 0028A3CC 38 00 00 00 */ li r0, 0 +/* 8028D470 0028A3D0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028D474 0028A3D4 7C 9F 23 78 */ mr r31, r4 +/* 8028D478 0028A3D8 38 80 00 01 */ li r4, 1 +/* 8028D47C 0028A3DC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028D480 0028A3E0 7C 7E 1B 78 */ mr r30, r3 +/* 8028D484 0028A3E4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8028D488 0028A3E8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028D48C 0028A3EC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8028D490 0028A3F0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8028D494 0028A3F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028D498 0028A3F8 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028D49C 0028A3FC 4B EC 93 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8028D4A0 0028A400 7F C3 F3 78 */ mr r3, r30 +/* 8028D4A4 0028A404 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8028D4A8 0028A408 38 82 BE 94 */ addi r4, r2, lbl_805ADBB4@sda21 +/* 8028D4AC 0028A40C 38 A0 00 01 */ li r5, 1 +/* 8028D4B0 0028A410 4B FF FB A1 */ bl sub_8028d050 +/* 8028D4B4 0028A414 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028D4B8 0028A418 38 60 00 18 */ li r3, 0x18 +/* 8028D4BC 0028A41C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028D4C0 0028A420 38 A0 00 00 */ li r5, 0 +/* 8028D4C4 0028A424 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028D4C8 0028A428 48 08 83 A5 */ bl __nw__FUlPCcPCc +/* 8028D4CC 0028A42C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028D4D0 0028A430 41 82 00 38 */ beq lbl_8028D508 +/* 8028D4D4 0028A434 81 3E 00 04 */ lwz r9, 4(r30) +/* 8028D4D8 0028A438 7F E4 FB 78 */ mr r4, r31 +/* 8028D4DC 0028A43C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8028D4E0 0028A440 38 C1 00 28 */ addi r6, r1, 0x28 +/* 8028D4E4 0028A444 91 21 00 28 */ stw r9, 0x28(r1) +/* 8028D4E8 0028A448 38 E1 00 3C */ addi r7, r1, 0x3c +/* 8028D4EC 0028A44C 39 00 00 01 */ li r8, 1 +/* 8028D4F0 0028A450 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028D4F4 0028A454 91 21 00 24 */ stw r9, 0x24(r1) +/* 8028D4F8 0028A458 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028D4FC 0028A45C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028D500 0028A460 4B F1 A4 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8028D504 0028A464 7C 7D 1B 78 */ mr r29, r3 +lbl_8028D508: +/* 8028D508 0028A468 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028D50C 0028A46C 38 80 00 01 */ li r4, 1 +/* 8028D510 0028A470 4B F1 A3 CD */ bl sub_801a78dc +/* 8028D514 0028A474 93 BE 0A 38 */ stw r29, 0xa38(r30) +/* 8028D518 0028A478 7F C3 F3 78 */ mr r3, r30 +/* 8028D51C 0028A47C 7F E5 FB 78 */ mr r5, r31 +/* 8028D520 0028A480 38 9E 0A 38 */ addi r4, r30, 0xa38 +/* 8028D524 0028A484 4B FF FD FD */ bl sub_8028d320 +/* 8028D528 0028A488 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028D52C 0028A48C 38 80 00 00 */ li r4, 0 +/* 8028D530 0028A490 4B F1 9D 09 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D534 0028A494 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D538 0028A498 7F E3 FB 78 */ mr r3, r31 +/* 8028D53C 0028A49C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028D540 0028A4A0 B0 1E 0A 46 */ sth r0, 0xa46(r30) +/* 8028D544 0028A4A4 A0 1E 0A 46 */ lhz r0, 0xa46(r30) +/* 8028D548 0028A4A8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028D54C 0028A4AC 4B DB F0 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028D550 0028A4B0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8028D554 0028A4B4 41 82 00 48 */ beq lbl_8028D59C +/* 8028D558 0028A4B8 7F C3 F3 78 */ mr r3, r30 +/* 8028D55C 0028A4BC 7F E4 FB 78 */ mr r4, r31 +/* 8028D560 0028A4C0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028D564 0028A4C4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028D568 0028A4C8 7D 89 03 A6 */ mtctr r12 +/* 8028D56C 0028A4CC 4E 80 04 21 */ bctrl +/* 8028D570 0028A4D0 7C 7D 1B 78 */ mr r29, r3 +/* 8028D574 0028A4D4 7F 83 E3 78 */ mr r3, r28 +/* 8028D578 0028A4D8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8028D57C 0028A4DC 7F E4 FB 78 */ mr r4, r31 +/* 8028D580 0028A4E0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028D584 0028A4E4 7D 89 03 A6 */ mtctr r12 +/* 8028D588 0028A4E8 4E 80 04 21 */ bctrl +/* 8028D58C 0028A4EC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8028D590 0028A4F0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8028D594 0028A4F4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028D598 0028A4F8 D0 03 00 04 */ stfs f0, 4(r3) +lbl_8028D59C: +/* 8028D59C 0028A4FC 38 00 00 00 */ li r0, 0 +/* 8028D5A0 0028A500 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D5A4 0028A504 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028D5A8 0028A508 38 80 00 0B */ li r4, 0xb +/* 8028D5AC 0028A50C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028D5B0 0028A510 90 01 00 38 */ stw r0, 0x38(r1) +/* 8028D5B4 0028A514 4B EC 92 05 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 8028D5B8 0028A518 3C 80 80 3D */ lis r4, lbl_803D5998@ha +/* 8028D5BC 0028A51C 7F C3 F3 78 */ mr r3, r30 +/* 8028D5C0 0028A520 38 84 59 98 */ addi r4, r4, lbl_803D5998@l +/* 8028D5C4 0028A524 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8028D5C8 0028A528 38 A0 00 0B */ li r5, 0xb +/* 8028D5CC 0028A52C 4B FF F8 61 */ bl sub_8028ce2c +/* 8028D5D0 0028A530 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8028D5D4 0028A534 38 60 00 18 */ li r3, 0x18 +/* 8028D5D8 0028A538 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8028D5DC 0028A53C 38 A0 00 00 */ li r5, 0 +/* 8028D5E0 0028A540 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8028D5E4 0028A544 48 08 82 89 */ bl __nw__FUlPCcPCc +/* 8028D5E8 0028A548 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028D5EC 0028A54C 41 82 00 38 */ beq lbl_8028D624 +/* 8028D5F0 0028A550 81 3E 00 04 */ lwz r9, 4(r30) +/* 8028D5F4 0028A554 7F E4 FB 78 */ mr r4, r31 +/* 8028D5F8 0028A558 38 A1 00 0C */ addi r5, r1, 0xc +/* 8028D5FC 0028A55C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8028D600 0028A560 91 21 00 20 */ stw r9, 0x20(r1) +/* 8028D604 0028A564 38 E1 00 2C */ addi r7, r1, 0x2c +/* 8028D608 0028A568 39 00 00 01 */ li r8, 1 +/* 8028D60C 0028A56C A0 1E 00 08 */ lhz r0, 8(r30) +/* 8028D610 0028A570 91 21 00 1C */ stw r9, 0x1c(r1) +/* 8028D614 0028A574 B0 01 00 08 */ sth r0, 8(r1) +/* 8028D618 0028A578 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028D61C 0028A57C 4B F1 A3 15 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 8028D620 0028A580 7C 7D 1B 78 */ mr r29, r3 +lbl_8028D624: +/* 8028D624 0028A584 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028D628 0028A588 38 80 00 01 */ li r4, 1 +/* 8028D62C 0028A58C 4B F1 A2 B1 */ bl sub_801a78dc +/* 8028D630 0028A590 93 BE 0A 9C */ stw r29, 0xa9c(r30) +/* 8028D634 0028A594 7F C3 F3 78 */ mr r3, r30 +/* 8028D638 0028A598 7F E5 FB 78 */ mr r5, r31 +/* 8028D63C 0028A59C 38 9E 0A 9C */ addi r4, r30, 0xa9c +/* 8028D640 0028A5A0 4B FF FB 7D */ bl sub_8028d1bc +/* 8028D644 0028A5A4 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028D648 0028A5A8 38 80 00 00 */ li r4, 0 +/* 8028D64C 0028A5AC 4B F1 9B ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8028D650 0028A5B0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8028D654 0028A5B4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D658 0028A5B8 38 80 FF FF */ li r4, -1 +/* 8028D65C 0028A5BC B0 1E 0A 48 */ sth r0, 0xa48(r30) +/* 8028D660 0028A5C0 4B EC 8C CD */ bl sub_8015632c +/* 8028D664 0028A5C4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8028D668 0028A5C8 38 80 FF FF */ li r4, -1 +/* 8028D66C 0028A5CC 4B EC 8C C1 */ bl sub_8015632c +/* 8028D670 0028A5D0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028D674 0028A5D4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028D678 0028A5D8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028D67C 0028A5DC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028D680 0028A5E0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8028D684 0028A5E4 7C 08 03 A6 */ mtlr r0 +/* 8028D688 0028A5E8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028D68C 0028A5EC 4E 80 00 20 */ blr + +.global sub_8028d690 +sub_8028d690: +/* 8028D690 0028A5F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028D694 0028A5F4 7C 08 02 A6 */ mflr r0 +/* 8028D698 0028A5F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028D69C 0028A5FC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028D6A0 0028A600 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8028D6A4 0028A604 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028D6A8 0028A608 7C 7F 1B 78 */ mr r31, r3 +/* 8028D6AC 0028A60C FF E0 08 90 */ fmr f31, f1 +/* 8028D6B0 0028A610 80 03 0A 30 */ lwz r0, 0xa30(r3) +/* 8028D6B4 0028A614 2C 00 00 02 */ cmpwi r0, 2 +/* 8028D6B8 0028A618 41 82 00 CC */ beq lbl_8028D784 +/* 8028D6BC 0028A61C 40 80 00 10 */ bge lbl_8028D6CC +/* 8028D6C0 0028A620 2C 00 00 01 */ cmpwi r0, 1 +/* 8028D6C4 0028A624 40 80 00 14 */ bge lbl_8028D6D8 +/* 8028D6C8 0028A628 48 00 00 F8 */ b lbl_8028D7C0 +lbl_8028D6CC: +/* 8028D6CC 0028A62C 2C 00 00 04 */ cmpwi r0, 4 +/* 8028D6D0 0028A630 40 80 00 F0 */ bge lbl_8028D7C0 +/* 8028D6D4 0028A634 48 00 00 5C */ b lbl_8028D730 +lbl_8028D6D8: +/* 8028D6D8 0028A638 C0 22 BE 7C */ lfs f1, lbl_805ADB9C@sda21(r2) +/* 8028D6DC 0028A63C C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D6E0 0028A640 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D6E4 0028A644 40 80 00 0C */ bge lbl_8028D6F0 +/* 8028D6E8 0028A648 38 62 BE 7C */ addi r3, r2, lbl_805ADB9C@sda21 +/* 8028D6EC 0028A64C 48 00 00 08 */ b lbl_8028D6F4 +lbl_8028D6F0: +/* 8028D6F0 0028A650 38 7F 0A 34 */ addi r3, r31, 0xa34 +lbl_8028D6F4: +/* 8028D6F4 0028A654 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028D6F8 0028A658 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028D6FC 0028A65C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8028D700 0028A660 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +/* 8028D704 0028A664 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D708 0028A668 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028D70C 0028A66C 40 81 00 14 */ ble lbl_8028D720 +/* 8028D710 0028A670 38 00 00 00 */ li r0, 0 +/* 8028D714 0028A674 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D718 0028A678 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D71C 0028A67C D0 1F 0A 34 */ stfs f0, 0xa34(r31) +lbl_8028D720: +/* 8028D720 0028A680 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D724 0028A684 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D728 0028A688 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D72C 0028A68C 48 00 00 9C */ b lbl_8028D7C8 +lbl_8028D730: +/* 8028D730 0028A690 C0 22 BE 80 */ lfs f1, lbl_805ADBA0@sda21(r2) +/* 8028D734 0028A694 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D738 0028A698 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D73C 0028A69C 40 80 00 0C */ bge lbl_8028D748 +/* 8028D740 0028A6A0 38 62 BE 80 */ addi r3, r2, lbl_805ADBA0@sda21 +/* 8028D744 0028A6A4 48 00 00 08 */ b lbl_8028D74C +lbl_8028D748: +/* 8028D748 0028A6A8 38 7F 0A 34 */ addi r3, r31, 0xa34 +lbl_8028D74C: +/* 8028D74C 0028A6AC C0 23 00 00 */ lfs f1, 0(r3) +/* 8028D750 0028A6B0 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028D754 0028A6B4 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) +/* 8028D758 0028A6B8 C0 3F 0A 34 */ lfs f1, 0xa34(r31) +/* 8028D75C 0028A6BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028D760 0028A6C0 40 81 00 14 */ ble lbl_8028D774 +/* 8028D764 0028A6C4 38 00 00 02 */ li r0, 2 +/* 8028D768 0028A6C8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D76C 0028A6CC 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D770 0028A6D0 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +lbl_8028D774: +/* 8028D774 0028A6D4 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D778 0028A6D8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D77C 0028A6DC D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D780 0028A6E0 48 00 00 48 */ b lbl_8028D7C8 +lbl_8028D784: +/* 8028D784 0028A6E4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028D788 0028A6E8 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) +/* 8028D78C 0028A6EC C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D790 0028A6F0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028D794 0028A6F4 40 81 00 1C */ ble lbl_8028D7B0 +/* 8028D798 0028A6F8 38 00 00 01 */ li r0, 1 +/* 8028D79C 0028A6FC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D7A0 0028A700 90 1F 0A 30 */ stw r0, 0xa30(r31) +/* 8028D7A4 0028A704 C0 22 BE A4 */ lfs f1, lbl_805ADBC4@sda21(r2) +/* 8028D7A8 0028A708 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D7AC 0028A70C 4B FF E6 85 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf +lbl_8028D7B0: +/* 8028D7B0 0028A710 C0 1F 0A 34 */ lfs f0, 0xa34(r31) +/* 8028D7B4 0028A714 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8028D7B8 0028A718 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 8028D7BC 0028A71C 48 00 00 0C */ b lbl_8028D7C8 +lbl_8028D7C0: +/* 8028D7C0 0028A720 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D7C4 0028A724 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +lbl_8028D7C8: +/* 8028D7C8 0028A728 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8028D7CC 0028A72C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028D7D0 0028A730 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028D7D4 0028A734 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028D7D8 0028A738 7C 08 03 A6 */ mtlr r0 +/* 8028D7DC 0028A73C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028D7E0 0028A740 4E 80 00 20 */ blr + +.global sub_8028d7e4 +sub_8028d7e4: +/* 8028D7E4 0028A744 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8028D7E8 0028A748 7C 08 02 A6 */ mflr r0 +/* 8028D7EC 0028A74C 90 01 00 84 */ stw r0, 0x84(r1) +/* 8028D7F0 0028A750 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8028D7F4 0028A754 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8028D7F8 0028A758 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8028D7FC 0028A75C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8028D800 0028A760 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8028D804 0028A764 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8028D808 0028A768 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8028D80C 0028A76C 7C 7E 1B 78 */ mr r30, r3 +/* 8028D810 0028A770 7C 9F 23 78 */ mr r31, r4 +/* 8028D814 0028A774 80 03 09 C8 */ lwz r0, 0x9c8(r3) +/* 8028D818 0028A778 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028D81C 0028A77C 28 00 00 07 */ cmplwi r0, 7 +/* 8028D820 0028A780 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8028D824 0028A784 C3 C3 00 04 */ lfs f30, 4(r3) +/* 8028D828 0028A788 C3 A3 00 08 */ lfs f29, 8(r3) +/* 8028D82C 0028A78C 41 81 04 64 */ bgt lbl_8028DC90 +/* 8028D830 0028A790 3C 60 80 3F */ lis r3, lbl_803EB734@ha +/* 8028D834 0028A794 54 00 10 3A */ slwi r0, r0, 2 +/* 8028D838 0028A798 38 63 B7 34 */ addi r3, r3, lbl_803EB734@l +/* 8028D83C 0028A79C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8028D840 0028A7A0 7C 09 03 A6 */ mtctr r0 +/* 8028D844 0028A7A4 4E 80 04 20 */ bctr +/* 8028D848 0028A7A8 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) +/* 8028D84C 0028A7AC C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D850 0028A7B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D854 0028A7B4 40 80 00 0C */ bge lbl_8028D860 +/* 8028D858 0028A7B8 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 +/* 8028D85C 0028A7BC 48 00 00 08 */ b lbl_8028D864 +lbl_8028D860: +/* 8028D860 0028A7C0 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D864: +/* 8028D864 0028A7C4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D868 0028A7C8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D86C 0028A7CC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D870 0028A7D0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D874 0028A7D4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D878 0028A7D8 C0 0D 99 A0 */ lfs f0, lbl_805A8560@sda21(r13) +/* 8028D87C 0028A7DC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D880 0028A7E0 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D884 0028A7E4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D888 0028A7E8 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8028D88C 0028A7EC 40 80 00 0C */ bge lbl_8028D898 +/* 8028D890 0028A7F0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028D894 0028A7F4 48 00 00 08 */ b lbl_8028D89C +lbl_8028D898: +/* 8028D898 0028A7F8 38 6D 99 A0 */ addi r3, r13, lbl_805A8560@sda21 +lbl_8028D89C: +/* 8028D89C 0028A7FC C0 9E 09 D0 */ lfs f4, 0x9d0(r30) +/* 8028D8A0 0028A800 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D8A4 0028A804 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D8A8 0028A808 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D8AC 0028A80C EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028D8B0 0028A810 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D8B4 0028A814 40 81 00 14 */ ble lbl_8028D8C8 +/* 8028D8B8 0028A818 38 00 00 03 */ li r0, 3 +/* 8028D8BC 0028A81C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D8C0 0028A820 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D8C4 0028A824 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D8C8: +/* 8028D8C8 0028A828 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D8CC 0028A82C EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D8D0 0028A830 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D8D4 0028A834 48 00 02 FC */ b lbl_8028DBD0 +/* 8028D8D8 0028A838 C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) +/* 8028D8DC 0028A83C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D8E0 0028A840 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D8E4 0028A844 40 80 00 0C */ bge lbl_8028D8F0 +/* 8028D8E8 0028A848 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 +/* 8028D8EC 0028A84C 48 00 00 08 */ b lbl_8028D8F4 +lbl_8028D8F0: +/* 8028D8F0 0028A850 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D8F4: +/* 8028D8F4 0028A854 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D8F8 0028A858 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D8FC 0028A85C C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D900 0028A860 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D904 0028A864 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D908 0028A868 C0 0D 99 A4 */ lfs f0, lbl_805A8564@sda21(r13) +/* 8028D90C 0028A86C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D910 0028A870 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D914 0028A874 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D918 0028A878 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8028D91C 0028A87C 40 80 00 0C */ bge lbl_8028D928 +/* 8028D920 0028A880 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028D924 0028A884 48 00 00 08 */ b lbl_8028D92C +lbl_8028D928: +/* 8028D928 0028A888 38 6D 99 A4 */ addi r3, r13, lbl_805A8564@sda21 +lbl_8028D92C: +/* 8028D92C 0028A88C C0 9E 09 D4 */ lfs f4, 0x9d4(r30) +/* 8028D930 0028A890 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D934 0028A894 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D938 0028A898 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D93C 0028A89C EF C4 00 F2 */ fmuls f30, f4, f3 +/* 8028D940 0028A8A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D944 0028A8A4 40 81 00 14 */ ble lbl_8028D958 +/* 8028D948 0028A8A8 38 00 00 01 */ li r0, 1 +/* 8028D94C 0028A8AC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D950 0028A8B0 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D954 0028A8B4 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D958: +/* 8028D958 0028A8B8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D95C 0028A8BC EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D960 0028A8C0 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D964 0028A8C4 48 00 02 6C */ b lbl_8028DBD0 +/* 8028D968 0028A8C8 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) +/* 8028D96C 0028A8CC C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D970 0028A8D0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D974 0028A8D4 40 80 00 0C */ bge lbl_8028D980 +/* 8028D978 0028A8D8 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 +/* 8028D97C 0028A8DC 48 00 00 08 */ b lbl_8028D984 +lbl_8028D980: +/* 8028D980 0028A8E0 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028D984: +/* 8028D984 0028A8E4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028D988 0028A8E8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D98C 0028A8EC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028D990 0028A8F0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028D994 0028A8F4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) +/* 8028D998 0028A8F8 C0 0D 99 A8 */ lfs f0, lbl_805A8568@sda21(r13) +/* 8028D99C 0028A8FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8028D9A0 0028A900 EC 44 10 2A */ fadds f2, f4, f2 +/* 8028D9A4 0028A904 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D9A8 0028A908 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028D9AC 0028A90C 40 80 00 0C */ bge lbl_8028D9B8 +/* 8028D9B0 0028A910 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028D9B4 0028A914 48 00 00 08 */ b lbl_8028D9BC +lbl_8028D9B8: +/* 8028D9B8 0028A918 38 6D 99 A8 */ addi r3, r13, lbl_805A8568@sda21 +lbl_8028D9BC: +/* 8028D9BC 0028A91C C0 9E 09 D8 */ lfs f4, 0x9d8(r30) +/* 8028D9C0 0028A920 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028D9C4 0028A924 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D9C8 0028A928 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028D9CC 0028A92C EF A4 00 F2 */ fmuls f29, f4, f3 +/* 8028D9D0 0028A930 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028D9D4 0028A934 40 81 00 14 */ ble lbl_8028D9E8 +/* 8028D9D8 0028A938 38 00 00 04 */ li r0, 4 +/* 8028D9DC 0028A93C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028D9E0 0028A940 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028D9E4 0028A944 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028D9E8: +/* 8028D9E8 0028A948 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028D9EC 0028A94C EC 00 08 2A */ fadds f0, f0, f1 +/* 8028D9F0 0028A950 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028D9F4 0028A954 48 00 01 DC */ b lbl_8028DBD0 +/* 8028D9F8 0028A958 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028D9FC 0028A95C C0 02 BE D0 */ lfs f0, lbl_805ADBF0@sda21(r2) +/* 8028DA00 0028A960 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA04 0028A964 40 81 00 20 */ ble lbl_8028DA24 +/* 8028DA08 0028A968 88 1E 0A D0 */ lbz r0, 0xad0(r30) +/* 8028DA0C 0028A96C 28 00 00 00 */ cmplwi r0, 0 +/* 8028DA10 0028A970 41 82 00 14 */ beq lbl_8028DA24 +/* 8028DA14 0028A974 38 00 00 07 */ li r0, 7 +/* 8028DA18 0028A978 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DA1C 0028A97C 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DA20 0028A980 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DA24: +/* 8028DA24 0028A984 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DA28 0028A988 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DA2C 0028A98C D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DA30 0028A990 48 00 01 A0 */ b lbl_8028DBD0 +/* 8028DA34 0028A994 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) +/* 8028DA38 0028A998 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DA3C 0028A99C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA40 0028A9A0 40 80 00 0C */ bge lbl_8028DA4C +/* 8028DA44 0028A9A4 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 +/* 8028DA48 0028A9A8 48 00 00 08 */ b lbl_8028DA50 +lbl_8028DA4C: +/* 8028DA4C 0028A9AC 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DA50: +/* 8028DA50 0028A9B0 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DA54 0028A9B4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DA58 0028A9B8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DA5C 0028A9BC EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DA60 0028A9C0 C0 0D 99 AC */ lfs f0, lbl_805A856C@sda21(r13) +/* 8028DA64 0028A9C4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DA68 0028A9C8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA6C 0028A9CC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8028DA70 0028A9D0 40 80 00 0C */ bge lbl_8028DA7C +/* 8028DA74 0028A9D4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028DA78 0028A9D8 48 00 00 08 */ b lbl_8028DA80 +lbl_8028DA7C: +/* 8028DA7C 0028A9DC 38 6D 99 AC */ addi r3, r13, lbl_805A856C@sda21 +lbl_8028DA80: +/* 8028DA80 0028A9E0 C0 9E 09 D0 */ lfs f4, 0x9d0(r30) +/* 8028DA84 0028A9E4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DA88 0028A9E8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DA8C 0028A9EC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DA90 0028A9F0 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 8028DA94 0028A9F4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DA98 0028A9F8 40 81 00 14 */ ble lbl_8028DAAC +/* 8028DA9C 0028A9FC 38 00 00 06 */ li r0, 6 +/* 8028DAA0 0028AA00 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DAA4 0028AA04 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DAA8 0028AA08 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DAAC: +/* 8028DAAC 0028AA0C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DAB0 0028AA10 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DAB4 0028AA14 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DAB8 0028AA18 48 00 01 18 */ b lbl_8028DBD0 +/* 8028DABC 0028AA1C C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) +/* 8028DAC0 0028AA20 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DAC4 0028AA24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DAC8 0028AA28 40 80 00 0C */ bge lbl_8028DAD4 +/* 8028DACC 0028AA2C 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 +/* 8028DAD0 0028AA30 48 00 00 08 */ b lbl_8028DAD8 +lbl_8028DAD4: +/* 8028DAD4 0028AA34 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DAD8: +/* 8028DAD8 0028AA38 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DADC 0028AA3C C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DAE0 0028AA40 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DAE4 0028AA44 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DAE8 0028AA48 C0 0D 99 B0 */ lfs f0, lbl_805A8570@sda21(r13) +/* 8028DAEC 0028AA4C EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DAF0 0028AA50 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DAF4 0028AA54 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028DAF8 0028AA58 40 80 00 0C */ bge lbl_8028DB04 +/* 8028DAFC 0028AA5C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8028DB00 0028AA60 48 00 00 08 */ b lbl_8028DB08 +lbl_8028DB04: +/* 8028DB04 0028AA64 38 6D 99 B0 */ addi r3, r13, lbl_805A8570@sda21 +lbl_8028DB08: +/* 8028DB08 0028AA68 C0 9E 09 D4 */ lfs f4, 0x9d4(r30) +/* 8028DB0C 0028AA6C C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DB10 0028AA70 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DB14 0028AA74 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DB18 0028AA78 EF C4 00 F2 */ fmuls f30, f4, f3 +/* 8028DB1C 0028AA7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB20 0028AA80 40 81 00 14 */ ble lbl_8028DB34 +/* 8028DB24 0028AA84 38 00 00 00 */ li r0, 0 +/* 8028DB28 0028AA88 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DB2C 0028AA8C 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DB30 0028AA90 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DB34: +/* 8028DB34 0028AA94 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DB38 0028AA98 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DB3C 0028AA9C D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DB40 0028AAA0 48 00 00 90 */ b lbl_8028DBD0 +/* 8028DB44 0028AAA4 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) +/* 8028DB48 0028AAA8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DB4C 0028AAAC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB50 0028AAB0 40 80 00 0C */ bge lbl_8028DB5C +/* 8028DB54 0028AAB4 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 +/* 8028DB58 0028AAB8 48 00 00 08 */ b lbl_8028DB60 +lbl_8028DB5C: +/* 8028DB5C 0028AABC 38 7E 09 CC */ addi r3, r30, 0x9cc +lbl_8028DB60: +/* 8028DB60 0028AAC0 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028DB64 0028AAC4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DB68 0028AAC8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) +/* 8028DB6C 0028AACC EC 42 00 24 */ fdivs f2, f2, f0 +/* 8028DB70 0028AAD0 C0 0D 99 B4 */ lfs f0, lbl_805A8574@sda21(r13) +/* 8028DB74 0028AAD4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028DB78 0028AAD8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DB7C 0028AADC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8028DB80 0028AAE0 40 80 00 0C */ bge lbl_8028DB8C +/* 8028DB84 0028AAE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028DB88 0028AAE8 48 00 00 08 */ b lbl_8028DB90 +lbl_8028DB8C: +/* 8028DB8C 0028AAEC 38 6D 99 B4 */ addi r3, r13, lbl_805A8574@sda21 +lbl_8028DB90: +/* 8028DB90 0028AAF0 C0 9E 09 D8 */ lfs f4, 0x9d8(r30) +/* 8028DB94 0028AAF4 C0 63 00 00 */ lfs f3, 0(r3) +/* 8028DB98 0028AAF8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) +/* 8028DB9C 0028AAFC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) +/* 8028DBA0 0028AB00 EF A4 00 F2 */ fmuls f29, f4, f3 +/* 8028DBA4 0028AB04 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028DBA8 0028AB08 40 81 00 14 */ ble lbl_8028DBBC +/* 8028DBAC 0028AB0C 38 00 00 05 */ li r0, 5 +/* 8028DBB0 0028AB10 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028DBB4 0028AB14 90 1E 09 C8 */ stw r0, 0x9c8(r30) +/* 8028DBB8 0028AB18 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +lbl_8028DBBC: +/* 8028DBBC 0028AB1C C0 1E 09 CC */ lfs f0, 0x9cc(r30) +/* 8028DBC0 0028AB20 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028DBC4 0028AB24 D0 1E 09 CC */ stfs f0, 0x9cc(r30) +/* 8028DBC8 0028AB28 48 00 00 08 */ b lbl_8028DBD0 +/* 8028DBCC 0028AB2C 48 00 00 C4 */ b lbl_8028DC90 +lbl_8028DBD0: +/* 8028DBD0 0028AB30 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028DBD4 0028AB34 7F E3 FB 78 */ mr r3, r31 +/* 8028DBD8 0028AB38 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028DBDC 0028AB3C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028DBE0 0028AB40 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028DBE4 0028AB44 4B DB E9 91 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DBE8 0028AB48 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028DBEC 0028AB4C 7C 7D 1B 78 */ mr r29, r3 +/* 8028DBF0 0028AB50 7F E3 FB 78 */ mr r3, r31 +/* 8028DBF4 0028AB54 38 81 00 0C */ addi r4, r1, 0xc +/* 8028DBF8 0028AB58 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028DBFC 0028AB5C 4B DB E9 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DC00 0028AB60 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8028DC04 0028AB64 28 1D 00 00 */ cmplwi r29, 0 +/* 8028DC08 0028AB68 D3 E4 00 00 */ stfs f31, 0(r4) +/* 8028DC0C 0028AB6C D3 C4 00 04 */ stfs f30, 4(r4) +/* 8028DC10 0028AB70 D3 A4 00 08 */ stfs f29, 8(r4) +/* 8028DC14 0028AB74 41 82 00 14 */ beq lbl_8028DC28 +/* 8028DC18 0028AB78 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8028DC1C 0028AB7C D3 E4 00 00 */ stfs f31, 0(r4) +/* 8028DC20 0028AB80 D3 C4 00 04 */ stfs f30, 4(r4) +/* 8028DC24 0028AB84 D3 A4 00 08 */ stfs f29, 8(r4) +lbl_8028DC28: +/* 8028DC28 0028AB88 28 03 00 00 */ cmplwi r3, 0 +/* 8028DC2C 0028AB8C 41 82 00 14 */ beq lbl_8028DC40 +/* 8028DC30 0028AB90 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028DC34 0028AB94 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8028DC38 0028AB98 D3 C3 00 04 */ stfs f30, 4(r3) +/* 8028DC3C 0028AB9C D3 A3 00 08 */ stfs f29, 8(r3) +lbl_8028DC40: +/* 8028DC40 0028ABA0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028DC44 0028ABA4 3B 60 00 00 */ li r27, 0 +/* 8028DC48 0028ABA8 3B A0 00 00 */ li r29, 0 +/* 8028DC4C 0028ABAC 48 00 00 3C */ b lbl_8028DC88 +lbl_8028DC50: +/* 8028DC50 0028ABB0 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028DC54 0028ABB4 7F E3 FB 78 */ mr r3, r31 +/* 8028DC58 0028ABB8 38 81 00 08 */ addi r4, r1, 8 +/* 8028DC5C 0028ABBC 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028DC60 0028ABC0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DC64 0028ABC4 4B DB E9 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DC68 0028ABC8 28 03 00 00 */ cmplwi r3, 0 +/* 8028DC6C 0028ABCC 41 82 00 14 */ beq lbl_8028DC80 +/* 8028DC70 0028ABD0 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8028DC74 0028ABD4 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8028DC78 0028ABD8 D3 C3 00 04 */ stfs f30, 4(r3) +/* 8028DC7C 0028ABDC D3 A3 00 08 */ stfs f29, 8(r3) +lbl_8028DC80: +/* 8028DC80 0028ABE0 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028DC84 0028ABE4 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028DC88: +/* 8028DC88 0028ABE8 7C 1B E0 40 */ cmplw r27, r28 +/* 8028DC8C 0028ABEC 41 80 FF C4 */ blt lbl_8028DC50 +lbl_8028DC90: +/* 8028DC90 0028ABF0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8028DC94 0028ABF4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8028DC98 0028ABF8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8028DC9C 0028ABFC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8028DCA0 0028AC00 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8028DCA4 0028AC04 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8028DCA8 0028AC08 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8028DCAC 0028AC0C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8028DCB0 0028AC10 7C 08 03 A6 */ mtlr r0 +/* 8028DCB4 0028AC14 38 21 00 80 */ addi r1, r1, 0x80 +/* 8028DCB8 0028AC18 4E 80 00 20 */ blr + +.global WallHang__12COmegaPirateFR13CStateManager9EStateMsgf +WallHang__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DCBC 0028AC1C 4E 80 00 20 */ blr + +.global WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf +WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DCC0 0028AC20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028DCC4 0028AC24 7C 08 02 A6 */ mflr r0 +/* 8028DCC8 0028AC28 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DCCC 0028AC2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028DCD0 0028AC30 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028DCD4 0028AC34 7C 7F 1B 78 */ mr r31, r3 +/* 8028DCD8 0028AC38 41 82 00 2C */ beq lbl_8028DD04 +/* 8028DCDC 0028AC3C 40 80 00 10 */ bge lbl_8028DCEC +/* 8028DCE0 0028AC40 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DCE4 0028AC44 40 80 00 14 */ bge lbl_8028DCF8 +/* 8028DCE8 0028AC48 48 00 01 20 */ b lbl_8028DE08 +lbl_8028DCEC: +/* 8028DCEC 0028AC4C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028DCF0 0028AC50 40 80 01 18 */ bge lbl_8028DE08 +/* 8028DCF4 0028AC54 48 00 00 EC */ b lbl_8028DDE0 +lbl_8028DCF8: +/* 8028DCF8 0028AC58 38 00 00 00 */ li r0, 0 +/* 8028DCFC 0028AC5C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DD00 0028AC60 48 00 01 08 */ b lbl_8028DE08 +lbl_8028DD04: +/* 8028DD04 0028AC64 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8028DD08 0028AC68 2C 00 00 01 */ cmpwi r0, 1 +/* 8028DD0C 0028AC6C 41 82 00 FC */ beq lbl_8028DE08 +/* 8028DD10 0028AC70 40 80 00 10 */ bge lbl_8028DD20 +/* 8028DD14 0028AC74 2C 00 00 00 */ cmpwi r0, 0 +/* 8028DD18 0028AC78 40 80 00 14 */ bge lbl_8028DD2C +/* 8028DD1C 0028AC7C 48 00 00 EC */ b lbl_8028DE08 +lbl_8028DD20: +/* 8028DD20 0028AC80 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DD24 0028AC84 40 80 00 E4 */ bge lbl_8028DE08 +/* 8028DD28 0028AC88 48 00 00 9C */ b lbl_8028DDC4 +lbl_8028DD2C: +/* 8028DD2C 0028AC8C 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8028DD30 0028AC90 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028DD34 0028AC94 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DD38 0028AC98 40 82 00 1C */ bne lbl_8028DD54 +/* 8028DD3C 0028AC9C 38 00 00 02 */ li r0, 2 +/* 8028DD40 0028ACA0 38 80 00 01 */ li r4, 1 +/* 8028DD44 0028ACA4 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DD48 0028ACA8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028DD4C 0028ACAC 4B EA CC 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028DD50 0028ACB0 48 00 00 B8 */ b lbl_8028DE08 +lbl_8028DD54: +/* 8028DD54 0028ACB4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DD58 0028ACB8 38 C0 00 01 */ li r6, 1 +/* 8028DD5C 0028ACBC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DD60 0028ACC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028DD64 0028ACC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028DD68 0028ACC8 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028DD6C 0028ACCC 38 00 00 02 */ li r0, 2 +/* 8028DD70 0028ACD0 3B E4 00 04 */ addi r31, r4, 4 +/* 8028DD74 0028ACD4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8028DD78 0028ACD8 7F E3 FB 78 */ mr r3, r31 +/* 8028DD7C 0028ACDC 38 80 00 01 */ li r4, 1 +/* 8028DD80 0028ACE0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028DD84 0028ACE4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028DD88 0028ACE8 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028DD8C 0028ACEC 4B EA 36 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028DD90 0028ACF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028DD94 0028ACF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028DD98 0028ACF8 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028DD9C 0028ACFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DDA0 0028AD00 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028DDA4 0028AD04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DDA8 0028AD08 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8028DDAC 0028AD0C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028DDB0 0028AD10 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8028DDB4 0028AD14 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028DDB8 0028AD18 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028DDBC 0028AD1C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028DDC0 0028AD20 48 00 00 48 */ b lbl_8028DE08 +lbl_8028DDC4: +/* 8028DDC4 0028AD24 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028DDC8 0028AD28 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028DDCC 0028AD2C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DDD0 0028AD30 41 82 00 38 */ beq lbl_8028DE08 +/* 8028DDD4 0028AD34 38 00 00 03 */ li r0, 3 +/* 8028DDD8 0028AD38 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028DDDC 0028AD3C 48 00 00 2C */ b lbl_8028DE08 +lbl_8028DDE0: +/* 8028DDE0 0028AD40 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8028DDE4 0028AD44 7C 83 23 78 */ mr r3, r4 +/* 8028DDE8 0028AD48 38 81 00 0C */ addi r4, r1, 0xc +/* 8028DDEC 0028AD4C 38 A0 00 59 */ li r5, 0x59 +/* 8028DDF0 0028AD50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028DDF4 0028AD54 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DDF8 0028AD58 C0 3F 0A 98 */ lfs f1, 0xa98(r31) +/* 8028DDFC 0028AD5C 4B DB 61 49 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 8028DE00 0028AD60 38 00 00 01 */ li r0, 1 +/* 8028DE04 0028AD64 98 1F 0B 79 */ stb r0, 0xb79(r31) +lbl_8028DE08: +/* 8028DE08 0028AD68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028DE0C 0028AD6C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028DE10 0028AD70 7C 08 03 A6 */ mtlr r0 +/* 8028DE14 0028AD74 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028DE18 0028AD78 4E 80 00 20 */ blr + +.global JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf +JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DE1C 0028AD7C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028DE20 0028AD80 7C 08 02 A6 */ mflr r0 +/* 8028DE24 0028AD84 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DE28 0028AD88 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028DE2C 0028AD8C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8028DE30 0028AD90 7C 7E 1B 78 */ mr r30, r3 +/* 8028DE34 0028AD94 7C 9F 23 78 */ mr r31, r4 +/* 8028DE38 0028AD98 41 82 01 44 */ beq lbl_8028DF7C +/* 8028DE3C 0028AD9C 40 80 01 74 */ bge lbl_8028DFB0 +/* 8028DE40 0028ADA0 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DE44 0028ADA4 40 80 00 0C */ bge lbl_8028DE50 +/* 8028DE48 0028ADA8 48 00 01 68 */ b lbl_8028DFB0 +/* 8028DE4C 0028ADAC 48 00 01 64 */ b lbl_8028DFB0 +lbl_8028DE50: +/* 8028DE50 0028ADB0 7F E5 FB 78 */ mr r5, r31 +/* 8028DE54 0028ADB4 38 80 00 00 */ li r4, 0 +/* 8028DE58 0028ADB8 4B F9 97 45 */ bl sub_8022759c +/* 8028DE5C 0028ADBC 38 60 00 02 */ li r3, 2 +/* 8028DE60 0028ADC0 38 00 00 00 */ li r0, 0 +/* 8028DE64 0028ADC4 90 7E 05 68 */ stw r3, 0x568(r30) +/* 8028DE68 0028ADC8 38 80 00 05 */ li r4, 5 +/* 8028DE6C 0028ADCC 98 1E 0A DE */ stb r0, 0xade(r30) +/* 8028DE70 0028ADD0 98 1E 0A DF */ stb r0, 0xadf(r30) +/* 8028DE74 0028ADD4 98 1E 0A E0 */ stb r0, 0xae0(r30) +/* 8028DE78 0028ADD8 90 1E 0B 68 */ stw r0, 0xb68(r30) +/* 8028DE7C 0028ADDC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DE80 0028ADE0 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 8028DE84 0028ADE4 90 1E 0A 40 */ stw r0, 0xa40(r30) +/* 8028DE88 0028ADE8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DE8C 0028ADEC 4B EA CB 4D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028DE90 0028ADF0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DE94 0028ADF4 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8028DE98 0028ADF8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8028DE9C 0028ADFC C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8028DEA0 0028AE00 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8028DEA4 0028AE04 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 8028DEA8 0028AE08 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DEAC 0028AE0C 38 C0 00 04 */ li r6, 4 +/* 8028DEB0 0028AE10 38 00 00 05 */ li r0, 5 +/* 8028DEB4 0028AE14 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8028DEB8 0028AE18 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 8028DEBC 0028AE1C 3B 83 00 04 */ addi r28, r3, 4 +/* 8028DEC0 0028AE20 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8028DEC4 0028AE24 7F 83 E3 78 */ mr r3, r28 +/* 8028DEC8 0028AE28 38 80 00 04 */ li r4, 4 +/* 8028DECC 0028AE2C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8028DED0 0028AE30 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8028DED4 0028AE34 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8028DED8 0028AE38 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028DEDC 0028AE3C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028DEE0 0028AE40 4B EA 35 59 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028DEE4 0028AE44 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8028DEE8 0028AE48 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8028DEEC 0028AE4C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8028DEF0 0028AE50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028DEF4 0028AE54 90 1C 00 F8 */ stw r0, 0xf8(r28) +/* 8028DEF8 0028AE58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028DEFC 0028AE5C 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8028DF00 0028AE60 3B 60 00 00 */ li r27, 0 +/* 8028DF04 0028AE64 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028DF08 0028AE68 3B A0 00 00 */ li r29, 0 +/* 8028DF0C 0028AE6C 90 BC 00 FC */ stw r5, 0xfc(r28) +/* 8028DF10 0028AE70 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8028DF14 0028AE74 90 7C 01 00 */ stw r3, 0x100(r28) +/* 8028DF18 0028AE78 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8028DF1C 0028AE7C 90 BC 01 04 */ stw r5, 0x104(r28) +/* 8028DF20 0028AE80 90 7C 01 08 */ stw r3, 0x108(r28) +/* 8028DF24 0028AE84 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028DF28 0028AE88 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028DF2C 0028AE8C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028DF30 0028AE90 48 00 00 40 */ b lbl_8028DF70 +lbl_8028DF34: +/* 8028DF34 0028AE94 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028DF38 0028AE98 7F E3 FB 78 */ mr r3, r31 +/* 8028DF3C 0028AE9C 38 81 00 08 */ addi r4, r1, 8 +/* 8028DF40 0028AEA0 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028DF44 0028AEA4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028DF48 0028AEA8 4B DB E6 2D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028DF4C 0028AEAC 28 03 00 00 */ cmplwi r3, 0 +/* 8028DF50 0028AEB0 41 82 00 18 */ beq lbl_8028DF68 +/* 8028DF54 0028AEB4 81 83 00 00 */ lwz r12, 0(r3) +/* 8028DF58 0028AEB8 38 80 00 00 */ li r4, 0 +/* 8028DF5C 0028AEBC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028DF60 0028AEC0 7D 89 03 A6 */ mtctr r12 +/* 8028DF64 0028AEC4 4E 80 04 21 */ bctrl +lbl_8028DF68: +/* 8028DF68 0028AEC8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8028DF6C 0028AECC 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028DF70: +/* 8028DF70 0028AED0 7C 1B E0 40 */ cmplw r27, r28 +/* 8028DF74 0028AED4 41 80 FF C0 */ blt lbl_8028DF34 +/* 8028DF78 0028AED8 48 00 00 38 */ b lbl_8028DFB0 +lbl_8028DF7C: +/* 8028DF7C 0028AEDC 80 1E 05 68 */ lwz r0, 0x568(r30) +/* 8028DF80 0028AEE0 2C 00 00 01 */ cmpwi r0, 1 +/* 8028DF84 0028AEE4 41 82 00 2C */ beq lbl_8028DFB0 +/* 8028DF88 0028AEE8 40 80 00 08 */ bge lbl_8028DF90 +/* 8028DF8C 0028AEEC 48 00 00 24 */ b lbl_8028DFB0 +lbl_8028DF90: +/* 8028DF90 0028AEF0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028DF94 0028AEF4 40 80 00 1C */ bge lbl_8028DFB0 +/* 8028DF98 0028AEF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028DF9C 0028AEFC 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028DFA0 0028AF00 2C 00 00 06 */ cmpwi r0, 6 +/* 8028DFA4 0028AF04 41 82 00 0C */ beq lbl_8028DFB0 +/* 8028DFA8 0028AF08 38 00 00 03 */ li r0, 3 +/* 8028DFAC 0028AF0C 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_8028DFB0: +/* 8028DFB0 0028AF10 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8028DFB4 0028AF14 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028DFB8 0028AF18 7C 08 03 A6 */ mtlr r0 +/* 8028DFBC 0028AF1C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028DFC0 0028AF20 4E 80 00 20 */ blr + +.global Retreat__12COmegaPirateFR13CStateManager9EStateMsgf +Retreat__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028DFC4 0028AF24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028DFC8 0028AF28 7C 08 02 A6 */ mflr r0 +/* 8028DFCC 0028AF2C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028DFD0 0028AF30 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028DFD4 0028AF34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028DFD8 0028AF38 7C 9F 23 78 */ mr r31, r4 +/* 8028DFDC 0028AF3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028DFE0 0028AF40 7C 7E 1B 78 */ mr r30, r3 +/* 8028DFE4 0028AF44 41 82 00 74 */ beq lbl_8028E058 +/* 8028DFE8 0028AF48 40 80 01 40 */ bge lbl_8028E128 +/* 8028DFEC 0028AF4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028DFF0 0028AF50 40 80 00 0C */ bge lbl_8028DFFC +/* 8028DFF4 0028AF54 48 00 01 34 */ b lbl_8028E128 +/* 8028DFF8 0028AF58 48 00 01 30 */ b lbl_8028E128 +lbl_8028DFFC: +/* 8028DFFC 0028AF5C 7F E5 FB 78 */ mr r5, r31 +/* 8028E000 0028AF60 38 80 00 00 */ li r4, 0 +/* 8028E004 0028AF64 4B F9 95 99 */ bl sub_8022759c +/* 8028E008 0028AF68 38 00 00 00 */ li r0, 0 +/* 8028E00C 0028AF6C 7F C3 F3 78 */ mr r3, r30 +/* 8028E010 0028AF70 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8028E014 0028AF74 7F E5 FB 78 */ mr r5, r31 +/* 8028E018 0028AF78 38 80 00 06 */ li r4, 6 +/* 8028E01C 0028AF7C 38 C0 FF FF */ li r6, -1 +/* 8028E020 0028AF80 4B DC 30 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E024 0028AF84 38 00 00 00 */ li r0, 0 +/* 8028E028 0028AF88 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028E02C 0028AF8C 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028E030 0028AF90 C0 02 BE D4 */ lfs f0, lbl_805ADBF4@sda21(r2) +/* 8028E034 0028AF94 98 1E 0A 44 */ stb r0, 0xa44(r30) +/* 8028E038 0028AF98 98 1E 0A 4A */ stb r0, 0xa4a(r30) +/* 8028E03C 0028AF9C D0 3E 0B 5C */ stfs f1, 0xb5c(r30) +/* 8028E040 0028AFA0 D0 3E 0B 60 */ stfs f1, 0xb60(r30) +/* 8028E044 0028AFA4 D0 1E 0B 64 */ stfs f0, 0xb64(r30) +/* 8028E048 0028AFA8 80 7E 0B 68 */ lwz r3, 0xb68(r30) +/* 8028E04C 0028AFAC 38 03 00 01 */ addi r0, r3, 1 +/* 8028E050 0028AFB0 90 1E 0B 68 */ stw r0, 0xb68(r30) +/* 8028E054 0028AFB4 48 00 00 D4 */ b lbl_8028E128 +lbl_8028E058: +/* 8028E058 0028AFB8 80 1E 05 68 */ lwz r0, 0x568(r30) +/* 8028E05C 0028AFBC 2C 00 00 01 */ cmpwi r0, 1 +/* 8028E060 0028AFC0 41 82 00 C8 */ beq lbl_8028E128 +/* 8028E064 0028AFC4 40 80 00 10 */ bge lbl_8028E074 +/* 8028E068 0028AFC8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E06C 0028AFCC 40 80 00 14 */ bge lbl_8028E080 +/* 8028E070 0028AFD0 48 00 00 B8 */ b lbl_8028E128 +lbl_8028E074: +/* 8028E074 0028AFD4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E078 0028AFD8 40 80 00 B0 */ bge lbl_8028E128 +/* 8028E07C 0028AFDC 48 00 00 94 */ b lbl_8028E110 +lbl_8028E080: +/* 8028E080 0028AFE0 80 FE 04 50 */ lwz r7, 0x450(r30) +/* 8028E084 0028AFE4 80 07 02 B8 */ lwz r0, 0x2b8(r7) +/* 8028E088 0028AFE8 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E08C 0028AFEC 40 82 00 10 */ bne lbl_8028E09C +/* 8028E090 0028AFF0 38 00 00 02 */ li r0, 2 +/* 8028E094 0028AFF4 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8028E098 0028AFF8 48 00 00 90 */ b lbl_8028E128 +lbl_8028E09C: +/* 8028E09C 0028AFFC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E0A0 0028B000 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E0A4 0028B004 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E0A8 0028B008 38 80 00 01 */ li r4, 1 +/* 8028E0AC 0028B00C 90 01 00 08 */ stw r0, 8(r1) +/* 8028E0B0 0028B010 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 8028E0B4 0028B014 38 A0 00 00 */ li r5, 0 +/* 8028E0B8 0028B018 38 00 00 02 */ li r0, 2 +/* 8028E0BC 0028B01C 3B E7 00 04 */ addi r31, r7, 4 +/* 8028E0C0 0028B020 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028E0C4 0028B024 7F E3 FB 78 */ mr r3, r31 +/* 8028E0C8 0028B028 38 80 00 01 */ li r4, 1 +/* 8028E0CC 0028B02C 90 C1 00 08 */ stw r6, 8(r1) +/* 8028E0D0 0028B030 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028E0D4 0028B034 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028E0D8 0028B038 4B EA 33 61 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E0DC 0028B03C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028E0E0 0028B040 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E0E4 0028B044 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028E0E8 0028B048 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E0EC 0028B04C 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028E0F0 0028B050 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E0F4 0028B054 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028E0F8 0028B058 90 81 00 08 */ stw r4, 8(r1) +/* 8028E0FC 0028B05C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028E100 0028B060 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028E104 0028B064 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028E108 0028B068 90 01 00 08 */ stw r0, 8(r1) +/* 8028E10C 0028B06C 48 00 00 1C */ b lbl_8028E128 +lbl_8028E110: +/* 8028E110 0028B070 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028E114 0028B074 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028E118 0028B078 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E11C 0028B07C 41 82 00 0C */ beq lbl_8028E128 +/* 8028E120 0028B080 38 00 00 03 */ li r0, 3 +/* 8028E124 0028B084 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_8028E128: +/* 8028E128 0028B088 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028E12C 0028B08C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028E130 0028B090 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028E134 0028B094 7C 08 03 A6 */ mtlr r0 +/* 8028E138 0028B098 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028E13C 0028B09C 4E 80 00 20 */ blr + +.global DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf +DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E140 0028B0A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028E144 0028B0A4 7C 08 02 A6 */ mflr r0 +/* 8028E148 0028B0A8 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E14C 0028B0AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028E150 0028B0B0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 8028E154 0028B0B4 7C 7F 1B 78 */ mr r31, r3 +/* 8028E158 0028B0B8 7C 9A 23 78 */ mr r26, r4 +/* 8028E15C 0028B0BC 41 82 01 14 */ beq lbl_8028E270 +/* 8028E160 0028B0C0 40 80 00 10 */ bge lbl_8028E170 +/* 8028E164 0028B0C4 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E168 0028B0C8 40 80 00 14 */ bge lbl_8028E17C +/* 8028E16C 0028B0CC 48 00 02 20 */ b lbl_8028E38C +lbl_8028E170: +/* 8028E170 0028B0D0 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E174 0028B0D4 40 80 02 18 */ bge lbl_8028E38C +/* 8028E178 0028B0D8 48 00 01 C8 */ b lbl_8028E340 +lbl_8028E17C: +/* 8028E17C 0028B0DC 7F 45 D3 78 */ mr r5, r26 +/* 8028E180 0028B0E0 38 80 00 07 */ li r4, 7 +/* 8028E184 0028B0E4 38 C0 FF FF */ li r6, -1 +/* 8028E188 0028B0E8 4B DC 2F 39 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E18C 0028B0EC 7F E3 FB 78 */ mr r3, r31 +/* 8028E190 0028B0F0 7F 45 D3 78 */ mr r5, r26 +/* 8028E194 0028B0F4 38 80 00 00 */ li r4, 0 +/* 8028E198 0028B0F8 4B F9 94 05 */ bl sub_8022759c +/* 8028E19C 0028B0FC 3B C0 00 00 */ li r30, 0 +/* 8028E1A0 0028B100 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) +/* 8028E1A4 0028B104 93 DF 05 68 */ stw r30, 0x568(r31) +/* 8028E1A8 0028B108 3B 80 00 00 */ li r28, 0 +/* 8028E1AC 0028B10C 9B DF 0A 44 */ stb r30, 0xa44(r31) +/* 8028E1B0 0028B110 9B DF 0A 4A */ stb r30, 0xa4a(r31) +/* 8028E1B4 0028B114 9B DF 0A 88 */ stb r30, 0xa88(r31) +/* 8028E1B8 0028B118 D0 1F 0A 8C */ stfs f0, 0xa8c(r31) +/* 8028E1BC 0028B11C 83 BF 09 E0 */ lwz r29, 0x9e0(r31) +/* 8028E1C0 0028B120 48 00 00 8C */ b lbl_8028E24C +lbl_8028E1C4: +/* 8028E1C4 0028B124 80 BF 09 E8 */ lwz r5, 0x9e8(r31) +/* 8028E1C8 0028B128 7F 43 D3 78 */ mr r3, r26 +/* 8028E1CC 0028B12C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028E1D0 0028B130 7C 05 F2 2E */ lhzx r0, r5, r30 +/* 8028E1D4 0028B134 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028E1D8 0028B138 4B DB E3 9D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E1DC 0028B13C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8028E1E0 0028B140 41 82 00 64 */ beq lbl_8028E244 +/* 8028E1E4 0028B144 81 83 00 00 */ lwz r12, 0(r3) +/* 8028E1E8 0028B148 38 80 00 01 */ li r4, 1 +/* 8028E1EC 0028B14C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028E1F0 0028B150 7D 89 03 A6 */ mtctr r12 +/* 8028E1F4 0028B154 4E 80 04 21 */ bctrl +/* 8028E1F8 0028B158 7F 63 DB 78 */ mr r3, r27 +/* 8028E1FC 0028B15C 38 9F 0A E4 */ addi r4, r31, 0xae4 +/* 8028E200 0028B160 4B E2 2C 55 */ bl sub_800b0e54 +/* 8028E204 0028B164 7F 63 DB 78 */ mr r3, r27 +/* 8028E208 0028B168 7F 45 D3 78 */ mr r5, r26 +/* 8028E20C 0028B16C 38 80 00 29 */ li r4, 0x29 +/* 8028E210 0028B170 4B DC 61 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E214 0028B174 7F 63 DB 78 */ mr r3, r27 +/* 8028E218 0028B178 7F 45 D3 78 */ mr r5, r26 +/* 8028E21C 0028B17C 38 80 00 28 */ li r4, 0x28 +/* 8028E220 0028B180 4B DC 61 31 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E224 0028B184 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 8028E228 0028B188 38 60 00 00 */ li r3, 0 +/* 8028E22C 0028B18C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8028E230 0028B190 38 60 00 01 */ li r3, 1 +/* 8028E234 0028B194 98 1B 03 56 */ stb r0, 0x356(r27) +/* 8028E238 0028B198 88 1B 03 56 */ lbz r0, 0x356(r27) +/* 8028E23C 0028B19C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8028E240 0028B1A0 98 1B 03 56 */ stb r0, 0x356(r27) +lbl_8028E244: +/* 8028E244 0028B1A4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028E248 0028B1A8 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_8028E24C: +/* 8028E24C 0028B1AC 7C 1C E8 40 */ cmplw r28, r29 +/* 8028E250 0028B1B0 41 80 FF 74 */ blt lbl_8028E1C4 +/* 8028E254 0028B1B4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) +/* 8028E258 0028B1B8 7F E3 FB 78 */ mr r3, r31 +/* 8028E25C 0028B1BC 7F 45 D3 78 */ mr r5, r26 +/* 8028E260 0028B1C0 38 80 00 27 */ li r4, 0x27 +/* 8028E264 0028B1C4 D0 1F 0B 64 */ stfs f0, 0xb64(r31) +/* 8028E268 0028B1C8 4B DC 60 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E26C 0028B1CC 48 00 01 20 */ b lbl_8028E38C +lbl_8028E270: +/* 8028E270 0028B1D0 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8028E274 0028B1D4 2C 00 00 01 */ cmpwi r0, 1 +/* 8028E278 0028B1D8 41 82 01 14 */ beq lbl_8028E38C +/* 8028E27C 0028B1DC 40 80 00 10 */ bge lbl_8028E28C +/* 8028E280 0028B1E0 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E284 0028B1E4 40 80 00 14 */ bge lbl_8028E298 +/* 8028E288 0028B1E8 48 00 01 04 */ b lbl_8028E38C +lbl_8028E28C: +/* 8028E28C 0028B1EC 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E290 0028B1F0 40 80 00 FC */ bge lbl_8028E38C +/* 8028E294 0028B1F4 48 00 00 90 */ b lbl_8028E324 +lbl_8028E298: +/* 8028E298 0028B1F8 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8028E29C 0028B1FC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028E2A0 0028B200 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E2A4 0028B204 40 82 00 10 */ bne lbl_8028E2B4 +/* 8028E2A8 0028B208 38 00 00 02 */ li r0, 2 +/* 8028E2AC 0028B20C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028E2B0 0028B210 48 00 00 DC */ b lbl_8028E38C +lbl_8028E2B4: +/* 8028E2B4 0028B214 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E2B8 0028B218 38 C0 00 01 */ li r6, 1 +/* 8028E2BC 0028B21C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E2C0 0028B220 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E2C4 0028B224 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E2C8 0028B228 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028E2CC 0028B22C 38 00 00 02 */ li r0, 2 +/* 8028E2D0 0028B230 3B C4 00 04 */ addi r30, r4, 4 +/* 8028E2D4 0028B234 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028E2D8 0028B238 7F C3 F3 78 */ mr r3, r30 +/* 8028E2DC 0028B23C 38 80 00 01 */ li r4, 1 +/* 8028E2E0 0028B240 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028E2E4 0028B244 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8028E2E8 0028B248 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028E2EC 0028B24C 4B EA 31 4D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E2F0 0028B250 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028E2F4 0028B254 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028E2F8 0028B258 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028E2FC 0028B25C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E300 0028B260 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8028E304 0028B264 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E308 0028B268 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8028E30C 0028B26C 90 81 00 18 */ stw r4, 0x18(r1) +/* 8028E310 0028B270 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028E314 0028B274 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 8028E318 0028B278 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 8028E31C 0028B27C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E320 0028B280 48 00 00 6C */ b lbl_8028E38C +lbl_8028E324: +/* 8028E324 0028B284 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8028E328 0028B288 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028E32C 0028B28C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028E330 0028B290 41 82 00 5C */ beq lbl_8028E38C +/* 8028E334 0028B294 38 00 00 03 */ li r0, 3 +/* 8028E338 0028B298 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8028E33C 0028B29C 48 00 00 50 */ b lbl_8028E38C +lbl_8028E340: +/* 8028E340 0028B2A0 A0 1F 07 72 */ lhz r0, 0x772(r31) +/* 8028E344 0028B2A4 7F 43 D3 78 */ mr r3, r26 +/* 8028E348 0028B2A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028E34C 0028B2AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028E350 0028B2B0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028E354 0028B2B4 4B DB E2 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E358 0028B2B8 28 03 00 00 */ cmplwi r3, 0 +/* 8028E35C 0028B2BC 41 82 00 0C */ beq lbl_8028E368 +/* 8028E360 0028B2C0 38 00 00 01 */ li r0, 1 +/* 8028E364 0028B2C4 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8028E368: +/* 8028E368 0028B2C8 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 8028E36C 0028B2CC 7F 43 D3 78 */ mr r3, r26 +/* 8028E370 0028B2D0 38 81 00 08 */ addi r4, r1, 8 +/* 8028E374 0028B2D4 B0 01 00 08 */ sth r0, 8(r1) +/* 8028E378 0028B2D8 4B DB E1 FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E37C 0028B2DC 28 03 00 00 */ cmplwi r3, 0 +/* 8028E380 0028B2E0 41 82 00 0C */ beq lbl_8028E38C +/* 8028E384 0028B2E4 38 00 00 01 */ li r0, 1 +/* 8028E388 0028B2E8 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8028E38C: +/* 8028E38C 0028B2EC BB 41 00 28 */ lmw r26, 0x28(r1) +/* 8028E390 0028B2F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028E394 0028B2F4 7C 08 03 A6 */ mtlr r0 +/* 8028E398 0028B2F8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028E39C 0028B2FC 4E 80 00 20 */ blr + +.global Faint__12COmegaPirateFR13CStateManager9EStateMsgf +Faint__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E3A0 0028B300 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8028E3A4 0028B304 7C 08 02 A6 */ mflr r0 +/* 8028E3A8 0028B308 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8028E3AC 0028B30C DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8028E3B0 0028B310 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8028E3B4 0028B314 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8028E3B8 0028B318 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8028E3BC 0028B31C DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8028E3C0 0028B320 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8028E3C4 0028B324 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8028E3C8 0028B328 FF A0 08 90 */ fmr f29, f1 +/* 8028E3CC 0028B32C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E3D0 0028B330 7C 7B 1B 78 */ mr r27, r3 +/* 8028E3D4 0028B334 7C 9C 23 78 */ mr r28, r4 +/* 8028E3D8 0028B338 41 82 00 FC */ beq lbl_8028E4D4 +/* 8028E3DC 0028B33C 40 80 00 10 */ bge lbl_8028E3EC +/* 8028E3E0 0028B340 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E3E4 0028B344 40 80 00 14 */ bge lbl_8028E3F8 +/* 8028E3E8 0028B348 48 00 03 D4 */ b lbl_8028E7BC +lbl_8028E3EC: +/* 8028E3EC 0028B34C 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E3F0 0028B350 40 80 03 CC */ bge lbl_8028E7BC +/* 8028E3F4 0028B354 48 00 03 70 */ b lbl_8028E764 +lbl_8028E3F8: +/* 8028E3F8 0028B358 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E3FC 0028B35C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E400 0028B360 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E404 0028B364 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha +/* 8028E408 0028B368 90 01 00 48 */ stw r0, 0x48(r1) +/* 8028E40C 0028B36C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l +/* 8028E410 0028B370 38 80 00 08 */ li r4, 8 +/* 8028E414 0028B374 38 00 00 00 */ li r0, 0 +/* 8028E418 0028B378 3B 43 00 04 */ addi r26, r3, 4 +/* 8028E41C 0028B37C 90 81 00 4C */ stw r4, 0x4c(r1) +/* 8028E420 0028B380 7F 43 D3 78 */ mr r3, r26 +/* 8028E424 0028B384 38 80 00 08 */ li r4, 8 +/* 8028E428 0028B388 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8028E42C 0028B38C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8028E430 0028B390 4B EA 30 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E434 0028B394 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8028E438 0028B398 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E43C 0028B39C 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E440 0028B3A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E444 0028B3A4 90 1A 01 58 */ stw r0, 0x158(r26) +/* 8028E448 0028B3A8 38 00 00 01 */ li r0, 1 +/* 8028E44C 0028B3AC 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 8028E450 0028B3B0 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8028E454 0028B3B4 90 81 00 48 */ stw r4, 0x48(r1) +/* 8028E458 0028B3B8 90 BA 01 5C */ stw r5, 0x15c(r26) +/* 8028E45C 0028B3BC 98 1B 0A 44 */ stb r0, 0xa44(r27) +/* 8028E460 0028B3C0 98 1B 0A 4A */ stb r0, 0xa4a(r27) +/* 8028E464 0028B3C4 80 1B 0A 7C */ lwz r0, 0xa7c(r27) +/* 8028E468 0028B3C8 90 61 00 48 */ stw r3, 0x48(r1) +/* 8028E46C 0028B3CC 2C 00 00 02 */ cmpwi r0, 2 +/* 8028E470 0028B3D0 40 82 00 0C */ bne lbl_8028E47C +/* 8028E474 0028B3D4 C0 02 BE E0 */ lfs f0, lbl_805ADC00@sda21(r2) +/* 8028E478 0028B3D8 D0 1B 0A 8C */ stfs f0, 0xa8c(r27) +lbl_8028E47C: +/* 8028E47C 0028B3DC 83 BB 09 E0 */ lwz r29, 0x9e0(r27) +/* 8028E480 0028B3E0 3B C0 00 00 */ li r30, 0 +/* 8028E484 0028B3E4 3B 40 00 00 */ li r26, 0 +/* 8028E488 0028B3E8 48 00 00 40 */ b lbl_8028E4C8 +lbl_8028E48C: +/* 8028E48C 0028B3EC 80 BB 09 E8 */ lwz r5, 0x9e8(r27) +/* 8028E490 0028B3F0 7F 83 E3 78 */ mr r3, r28 +/* 8028E494 0028B3F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8028E498 0028B3F8 7C 05 D2 2E */ lhzx r0, r5, r26 +/* 8028E49C 0028B3FC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028E4A0 0028B400 4B DB E0 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E4A4 0028B404 28 03 00 00 */ cmplwi r3, 0 +/* 8028E4A8 0028B408 41 82 00 18 */ beq lbl_8028E4C0 +/* 8028E4AC 0028B40C 81 83 00 00 */ lwz r12, 0(r3) +/* 8028E4B0 0028B410 38 80 00 01 */ li r4, 1 +/* 8028E4B4 0028B414 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028E4B8 0028B418 7D 89 03 A6 */ mtctr r12 +/* 8028E4BC 0028B41C 4E 80 04 21 */ bctrl +lbl_8028E4C0: +/* 8028E4C0 0028B420 3B DE 00 01 */ addi r30, r30, 1 +/* 8028E4C4 0028B424 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_8028E4C8: +/* 8028E4C8 0028B428 7C 1E E8 40 */ cmplw r30, r29 +/* 8028E4CC 0028B42C 41 80 FF C0 */ blt lbl_8028E48C +/* 8028E4D0 0028B430 48 00 02 EC */ b lbl_8028E7BC +lbl_8028E4D4: +/* 8028E4D4 0028B434 80 1B 0B 4C */ lwz r0, 0xb4c(r27) +/* 8028E4D8 0028B438 28 00 00 04 */ cmplwi r0, 4 +/* 8028E4DC 0028B43C 40 80 02 14 */ bge lbl_8028E6F0 +/* 8028E4E0 0028B440 80 1B 09 C8 */ lwz r0, 0x9c8(r27) +/* 8028E4E4 0028B444 2C 00 00 00 */ cmpwi r0, 0 +/* 8028E4E8 0028B448 40 82 02 08 */ bne lbl_8028E6F0 +/* 8028E4EC 0028B44C C0 3B 0B 58 */ lfs f1, 0xb58(r27) +/* 8028E4F0 0028B450 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028E4F4 0028B454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E4F8 0028B458 4C 41 13 82 */ cror 2, 1, 2 +/* 8028E4FC 0028B45C 40 82 01 F4 */ bne lbl_8028E6F0 +/* 8028E500 0028B460 C0 22 BE 90 */ lfs f1, lbl_805ADBB0@sda21(r2) +/* 8028E504 0028B464 C0 1B 0B 50 */ lfs f0, 0xb50(r27) +/* 8028E508 0028B468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E50C 0028B46C 40 80 00 0C */ bge lbl_8028E518 +/* 8028E510 0028B470 38 62 BE 90 */ addi r3, r2, lbl_805ADBB0@sda21 +/* 8028E514 0028B474 48 00 00 08 */ b lbl_8028E51C +lbl_8028E518: +/* 8028E518 0028B478 38 7B 0B 50 */ addi r3, r27, 0xb50 +lbl_8028E51C: +/* 8028E51C 0028B47C C3 E3 00 00 */ lfs f31, 0(r3) +/* 8028E520 0028B480 3B A0 00 00 */ li r29, 0 +/* 8028E524 0028B484 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028E528 0028B488 3B 40 00 00 */ li r26, 0 +/* 8028E52C 0028B48C 83 DB 09 E0 */ lwz r30, 0x9e0(r27) +/* 8028E530 0028B490 EF C0 F8 28 */ fsubs f30, f0, f31 +/* 8028E534 0028B494 48 00 01 78 */ b lbl_8028E6AC +lbl_8028E538: +/* 8028E538 0028B498 80 BB 09 E8 */ lwz r5, 0x9e8(r27) +/* 8028E53C 0028B49C 7F 83 E3 78 */ mr r3, r28 +/* 8028E540 0028B4A0 38 81 00 08 */ addi r4, r1, 8 +/* 8028E544 0028B4A4 7C 05 D2 2E */ lhzx r0, r5, r26 +/* 8028E548 0028B4A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8028E54C 0028B4AC 4B DB E0 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028E550 0028B4B0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8028E554 0028B4B4 41 82 01 50 */ beq lbl_8028E6A4 +/* 8028E558 0028B4B8 80 7C 08 B8 */ lwz r3, 0x8b8(r28) +/* 8028E55C 0028B4BC 7F 84 E3 78 */ mr r4, r28 +/* 8028E560 0028B4C0 80 63 00 00 */ lwz r3, 0(r3) +/* 8028E564 0028B4C4 4B E0 2F F5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028E568 0028B4C8 2C 03 00 01 */ cmpwi r3, 1 +/* 8028E56C 0028B4CC 40 82 00 E8 */ bne lbl_8028E654 +/* 8028E570 0028B4D0 80 1B 0B 4C */ lwz r0, 0xb4c(r27) +/* 8028E574 0028B4D4 7C 1D 00 40 */ cmplw r29, r0 +/* 8028E578 0028B4D8 40 80 00 58 */ bge lbl_8028E5D0 +/* 8028E57C 0028B4DC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028E580 0028B4E0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028E584 0028B4E4 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028E588 0028B4E8 FC 40 08 90 */ fmr f2, f1 +/* 8028E58C 0028B4EC FC 60 08 90 */ fmr f3, f1 +/* 8028E590 0028B4F0 48 0D 4E 5D */ bl __ct__6CColorFffff +/* 8028E594 0028B4F4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028E598 0028B4F8 38 C0 00 05 */ li r6, 5 +/* 8028E59C 0028B4FC 38 80 00 03 */ li r4, 3 +/* 8028E5A0 0028B500 38 A0 00 00 */ li r5, 0 +/* 8028E5A4 0028B504 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E5A8 0028B508 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E5AC 0028B50C 60 00 00 03 */ ori r0, r0, 3 +/* 8028E5B0 0028B510 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E5B4 0028B514 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E5B8 0028B518 98 C1 00 34 */ stb r6, 0x34(r1) +/* 8028E5BC 0028B51C 98 A1 00 35 */ stb r5, 0x35(r1) +/* 8028E5C0 0028B520 B0 81 00 36 */ sth r4, 0x36(r1) +/* 8028E5C4 0028B524 90 61 00 38 */ stw r3, 0x38(r1) +/* 8028E5C8 0028B528 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 8028E5CC 0028B52C 48 00 00 D8 */ b lbl_8028E6A4 +lbl_8028E5D0: +/* 8028E5D0 0028B530 7C 00 E8 40 */ cmplw r0, r29 +/* 8028E5D4 0028B534 40 82 00 D0 */ bne lbl_8028E6A4 +/* 8028E5D8 0028B538 88 1B 0B 6E */ lbz r0, 0xb6e(r27) +/* 8028E5DC 0028B53C 28 00 00 00 */ cmplwi r0, 0 +/* 8028E5E0 0028B540 40 82 00 20 */ bne lbl_8028E600 +/* 8028E5E4 0028B544 7F 63 DB 78 */ mr r3, r27 +/* 8028E5E8 0028B548 7F 85 E3 78 */ mr r5, r28 +/* 8028E5EC 0028B54C 38 80 00 03 */ li r4, 3 +/* 8028E5F0 0028B550 38 C0 FF FF */ li r6, -1 +/* 8028E5F4 0028B554 4B DC 2A CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E5F8 0028B558 38 00 00 01 */ li r0, 1 +/* 8028E5FC 0028B55C 98 1B 0B 6E */ stb r0, 0xb6e(r27) +lbl_8028E600: +/* 8028E600 0028B560 FC 20 F0 90 */ fmr f1, f30 +/* 8028E604 0028B564 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028E608 0028B568 FC 40 F0 90 */ fmr f2, f30 +/* 8028E60C 0028B56C FC 60 F0 90 */ fmr f3, f30 +/* 8028E610 0028B570 FC 80 F8 90 */ fmr f4, f31 +/* 8028E614 0028B574 48 0D 4D D9 */ bl __ct__6CColorFffff +/* 8028E618 0028B578 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028E61C 0028B57C 38 C0 00 05 */ li r6, 5 +/* 8028E620 0028B580 38 80 00 03 */ li r4, 3 +/* 8028E624 0028B584 38 A0 00 00 */ li r5, 0 +/* 8028E628 0028B588 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E62C 0028B58C 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E630 0028B590 60 00 00 03 */ ori r0, r0, 3 +/* 8028E634 0028B594 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E638 0028B598 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E63C 0028B59C 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 8028E640 0028B5A0 98 A1 00 2D */ stb r5, 0x2d(r1) +/* 8028E644 0028B5A4 B0 81 00 2E */ sth r4, 0x2e(r1) +/* 8028E648 0028B5A8 90 61 00 30 */ stw r3, 0x30(r1) +/* 8028E64C 0028B5AC 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 8028E650 0028B5B0 48 00 00 54 */ b lbl_8028E6A4 +lbl_8028E654: +/* 8028E654 0028B5B4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028E658 0028B5B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028E65C 0028B5BC C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) +/* 8028E660 0028B5C0 FC 40 08 90 */ fmr f2, f1 +/* 8028E664 0028B5C4 FC 60 08 90 */ fmr f3, f1 +/* 8028E668 0028B5C8 48 0D 4D 85 */ bl __ct__6CColorFffff +/* 8028E66C 0028B5CC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8028E670 0028B5D0 38 C0 00 05 */ li r6, 5 +/* 8028E674 0028B5D4 38 80 00 03 */ li r4, 3 +/* 8028E678 0028B5D8 38 A0 00 00 */ li r5, 0 +/* 8028E67C 0028B5DC 98 DF 00 B4 */ stb r6, 0xb4(r31) +/* 8028E680 0028B5E0 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028E684 0028B5E4 60 00 00 03 */ ori r0, r0, 3 +/* 8028E688 0028B5E8 98 BF 00 B5 */ stb r5, 0xb5(r31) +/* 8028E68C 0028B5EC B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 8028E690 0028B5F0 98 C1 00 24 */ stb r6, 0x24(r1) +/* 8028E694 0028B5F4 98 A1 00 25 */ stb r5, 0x25(r1) +/* 8028E698 0028B5F8 B0 81 00 26 */ sth r4, 0x26(r1) +/* 8028E69C 0028B5FC 90 61 00 28 */ stw r3, 0x28(r1) +/* 8028E6A0 0028B600 90 7F 00 B8 */ stw r3, 0xb8(r31) +lbl_8028E6A4: +/* 8028E6A4 0028B604 3B BD 00 01 */ addi r29, r29, 1 +/* 8028E6A8 0028B608 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_8028E6AC: +/* 8028E6AC 0028B60C 7C 1D F0 40 */ cmplw r29, r30 +/* 8028E6B0 0028B610 41 80 FE 88 */ blt lbl_8028E538 +/* 8028E6B4 0028B614 C0 3B 0B 50 */ lfs f1, 0xb50(r27) +/* 8028E6B8 0028B618 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028E6BC 0028B61C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E6C0 0028B620 40 81 00 24 */ ble lbl_8028E6E4 +/* 8028E6C4 0028B624 80 7B 0B 4C */ lwz r3, 0xb4c(r27) +/* 8028E6C8 0028B628 38 00 00 00 */ li r0, 0 +/* 8028E6CC 0028B62C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028E6D0 0028B630 38 63 00 01 */ addi r3, r3, 1 +/* 8028E6D4 0028B634 90 7B 0B 4C */ stw r3, 0xb4c(r27) +/* 8028E6D8 0028B638 D0 1B 0B 50 */ stfs f0, 0xb50(r27) +/* 8028E6DC 0028B63C D0 1B 0B 58 */ stfs f0, 0xb58(r27) +/* 8028E6E0 0028B640 98 1B 0B 6E */ stb r0, 0xb6e(r27) +lbl_8028E6E4: +/* 8028E6E4 0028B644 C0 1B 0B 50 */ lfs f0, 0xb50(r27) +/* 8028E6E8 0028B648 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8028E6EC 0028B64C D0 1B 0B 50 */ stfs f0, 0xb50(r27) +lbl_8028E6F0: +/* 8028E6F0 0028B650 C0 1B 0B 58 */ lfs f0, 0xb58(r27) +/* 8028E6F4 0028B654 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E6F8 0028B658 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 8028E6FC 0028B65C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E700 0028B660 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8028E704 0028B664 38 C0 00 08 */ li r6, 8 +/* 8028E708 0028B668 38 00 00 00 */ li r0, 0 +/* 8028E70C 0028B66C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8028E710 0028B670 38 A3 AA 2C */ addi r5, r3, lbl_803DAA2C@l +/* 8028E714 0028B674 38 80 00 08 */ li r4, 8 +/* 8028E718 0028B678 D0 1B 0B 58 */ stfs f0, 0xb58(r27) +/* 8028E71C 0028B67C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E720 0028B680 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8028E724 0028B684 3B 43 00 04 */ addi r26, r3, 4 +/* 8028E728 0028B688 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8028E72C 0028B68C 7F 43 D3 78 */ mr r3, r26 +/* 8028E730 0028B690 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028E734 0028B694 4B EA 2D 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E738 0028B698 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8028E73C 0028B69C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E740 0028B6A0 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E744 0028B6A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E748 0028B6A8 90 1A 01 58 */ stw r0, 0x158(r26) +/* 8028E74C 0028B6AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E750 0028B6B0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8028E754 0028B6B4 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8028E758 0028B6B8 90 7A 01 5C */ stw r3, 0x15c(r26) +/* 8028E75C 0028B6BC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8028E760 0028B6C0 48 00 00 5C */ b lbl_8028E7BC +lbl_8028E764: +/* 8028E764 0028B6C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E768 0028B6C8 38 00 00 0A */ li r0, 0xa +/* 8028E76C 0028B6CC 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8028E770 0028B6D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028E774 0028B6D4 38 81 00 1C */ addi r4, r1, 0x1c +/* 8028E778 0028B6D8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8028E77C 0028B6DC 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8028E780 0028B6E0 38 63 00 04 */ addi r3, r3, 4 +/* 8028E784 0028B6E4 4B EA 30 35 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 8028E788 0028B6E8 34 01 00 1C */ addic. r0, r1, 0x1c +/* 8028E78C 0028B6EC 41 82 00 10 */ beq lbl_8028E79C +/* 8028E790 0028B6F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E794 0028B6F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E798 0028B6F8 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8028E79C: +/* 8028E79C 0028B6FC C0 3B 0B 58 */ lfs f1, 0xb58(r27) +/* 8028E7A0 0028B700 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028E7A4 0028B704 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028E7A8 0028B708 4C 41 13 82 */ cror 2, 1, 2 +/* 8028E7AC 0028B70C 40 82 00 10 */ bne lbl_8028E7BC +/* 8028E7B0 0028B710 80 7B 0B 4C */ lwz r3, 0xb4c(r27) +/* 8028E7B4 0028B714 38 03 00 01 */ addi r0, r3, 1 +/* 8028E7B8 0028B718 90 1B 0B 4C */ stw r0, 0xb4c(r27) +lbl_8028E7BC: +/* 8028E7BC 0028B71C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8028E7C0 0028B720 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8028E7C4 0028B724 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8028E7C8 0028B728 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8028E7CC 0028B72C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8028E7D0 0028B730 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8028E7D4 0028B734 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8028E7D8 0028B738 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8028E7DC 0028B73C 7C 08 03 A6 */ mtlr r0 +/* 8028E7E0 0028B740 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8028E7E4 0028B744 4E 80 00 20 */ blr + +.global Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf +Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E7E8 0028B748 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028E7EC 0028B74C 7C 08 02 A6 */ mflr r0 +/* 8028E7F0 0028B750 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E7F4 0028B754 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028E7F8 0028B758 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028E7FC 0028B75C 41 82 00 2C */ beq lbl_8028E828 +/* 8028E800 0028B760 40 80 00 10 */ bge lbl_8028E810 +/* 8028E804 0028B764 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E808 0028B768 40 80 00 14 */ bge lbl_8028E81C +/* 8028E80C 0028B76C 48 00 00 B4 */ b lbl_8028E8C0 +lbl_8028E810: +/* 8028E810 0028B770 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E814 0028B774 40 80 00 AC */ bge lbl_8028E8C0 +/* 8028E818 0028B778 48 00 00 78 */ b lbl_8028E890 +lbl_8028E81C: +/* 8028E81C 0028B77C 38 00 00 01 */ li r0, 1 +/* 8028E820 0028B780 98 03 0A 44 */ stb r0, 0xa44(r3) +/* 8028E824 0028B784 48 00 00 9C */ b lbl_8028E8C0 +lbl_8028E828: +/* 8028E828 0028B788 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E82C 0028B78C 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8028E830 0028B790 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8028E834 0028B794 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha +/* 8028E838 0028B798 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028E83C 0028B79C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l +/* 8028E840 0028B7A0 38 80 00 08 */ li r4, 8 +/* 8028E844 0028B7A4 38 00 00 02 */ li r0, 2 +/* 8028E848 0028B7A8 3B E3 00 04 */ addi r31, r3, 4 +/* 8028E84C 0028B7AC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8028E850 0028B7B0 7F E3 FB 78 */ mr r3, r31 +/* 8028E854 0028B7B4 38 80 00 08 */ li r4, 8 +/* 8028E858 0028B7B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8028E85C 0028B7BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028E860 0028B7C0 4B EA 2B D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028E864 0028B7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028E868 0028B7C8 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 8028E86C 0028B7CC 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 8028E870 0028B7D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E874 0028B7D4 90 1F 01 58 */ stw r0, 0x158(r31) +/* 8028E878 0028B7D8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E87C 0028B7DC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028E880 0028B7E0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8028E884 0028B7E4 90 7F 01 5C */ stw r3, 0x15c(r31) +/* 8028E888 0028B7E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028E88C 0028B7EC 48 00 00 34 */ b lbl_8028E8C0 +lbl_8028E890: +/* 8028E890 0028B7F0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8028E894 0028B7F4 38 00 00 0A */ li r0, 0xa +/* 8028E898 0028B7F8 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l +/* 8028E89C 0028B7FC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028E8A0 0028B800 38 81 00 08 */ addi r4, r1, 8 +/* 8028E8A4 0028B804 90 A1 00 08 */ stw r5, 8(r1) +/* 8028E8A8 0028B808 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8028E8AC 0028B80C 38 63 00 04 */ addi r3, r3, 4 +/* 8028E8B0 0028B810 4B EA 2F 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 8028E8B4 0028B814 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028E8B8 0028B818 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028E8BC 0028B81C 90 01 00 08 */ stw r0, 8(r1) +lbl_8028E8C0: +/* 8028E8C0 0028B820 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028E8C4 0028B824 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028E8C8 0028B828 7C 08 03 A6 */ mtlr r0 +/* 8028E8CC 0028B82C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028E8D0 0028B830 4E 80 00 20 */ blr + +.global Growth__12COmegaPirateFR13CStateManager9EStateMsgf +Growth__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028E8D4 0028B834 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028E8D8 0028B838 7C 08 02 A6 */ mflr r0 +/* 8028E8DC 0028B83C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028E8E0 0028B840 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028E8E4 0028B844 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028E8E8 0028B848 7C 9F 23 78 */ mr r31, r4 +/* 8028E8EC 0028B84C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028E8F0 0028B850 7C 7E 1B 78 */ mr r30, r3 +/* 8028E8F4 0028B854 41 82 00 B0 */ beq lbl_8028E9A4 +/* 8028E8F8 0028B858 40 80 00 10 */ bge lbl_8028E908 +/* 8028E8FC 0028B85C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028E900 0028B860 40 80 00 14 */ bge lbl_8028E914 +/* 8028E904 0028B864 48 00 01 E0 */ b lbl_8028EAE4 +lbl_8028E908: +/* 8028E908 0028B868 2C 05 00 03 */ cmpwi r5, 3 +/* 8028E90C 0028B86C 40 80 01 D8 */ bge lbl_8028EAE4 +/* 8028E910 0028B870 48 00 01 60 */ b lbl_8028EA70 +lbl_8028E914: +/* 8028E914 0028B874 38 80 00 02 */ li r4, 2 +/* 8028E918 0028B878 38 00 00 00 */ li r0, 0 +/* 8028E91C 0028B87C 90 9E 09 C8 */ stw r4, 0x9c8(r30) +/* 8028E920 0028B880 7F E5 FB 78 */ mr r5, r31 +/* 8028E924 0028B884 38 80 00 33 */ li r4, 0x33 +/* 8028E928 0028B888 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028E92C 0028B88C 4B DC 56 55 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E930 0028B890 7F C3 F3 78 */ mr r3, r30 +/* 8028E934 0028B894 7F E5 FB 78 */ mr r5, r31 +/* 8028E938 0028B898 38 80 00 27 */ li r4, 0x27 +/* 8028E93C 0028B89C 4B DC 56 45 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028E940 0028B8A0 38 00 00 00 */ li r0, 0 +/* 8028E944 0028B8A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8028E948 0028B8A8 98 1E 0B 6C */ stb r0, 0xb6c(r30) +/* 8028E94C 0028B8AC 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 8028E950 0028B8B0 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028E954 0028B8B4 7F C3 F3 78 */ mr r3, r30 +/* 8028E958 0028B8B8 98 1E 0B 6D */ stb r0, 0xb6d(r30) +/* 8028E95C 0028B8BC 39 21 00 1C */ addi r9, r1, 0x1c +/* 8028E960 0028B8C0 C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) +/* 8028E964 0028B8C4 38 80 0B 27 */ li r4, 0xb27 +/* 8028E968 0028B8C8 81 5F 08 CC */ lwz r10, 0x8cc(r31) +/* 8028E96C 0028B8CC 38 A0 00 00 */ li r5, 0 +/* 8028E970 0028B8D0 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 8028E974 0028B8D4 38 C0 00 14 */ li r6, 0x14 +/* 8028E978 0028B8D8 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 8028E97C 0028B8DC 38 E0 00 7F */ li r7, 0x7f +/* 8028E980 0028B8E0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028E984 0028B8E4 C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) +/* 8028E988 0028B8E8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028E98C 0028B8EC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8028E990 0028B8F0 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 8028E994 0028B8F4 93 E1 00 08 */ stw r31, 8(r1) +/* 8028E998 0028B8F8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028E99C 0028B8FC 4B DC 45 95 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +/* 8028E9A0 0028B900 48 00 01 44 */ b lbl_8028EAE4 +lbl_8028E9A4: +/* 8028E9A4 0028B904 80 1E 0B 68 */ lwz r0, 0xb68(r30) +/* 8028E9A8 0028B908 28 00 00 00 */ cmplwi r0, 0 +/* 8028E9AC 0028B90C 40 82 00 84 */ bne lbl_8028EA30 +/* 8028E9B0 0028B910 C0 22 BE EC */ lfs f1, lbl_805ADC0C@sda21(r2) +/* 8028E9B4 0028B914 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028E9B8 0028B918 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028E9BC 0028B91C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028E9C0 0028B920 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028E9C4 0028B924 40 81 00 28 */ ble lbl_8028E9EC +/* 8028E9C8 0028B928 88 1E 0B 6C */ lbz r0, 0xb6c(r30) +/* 8028E9CC 0028B92C 28 00 00 00 */ cmplwi r0, 0 +/* 8028E9D0 0028B930 40 82 00 1C */ bne lbl_8028E9EC +/* 8028E9D4 0028B934 7F E5 FB 78 */ mr r5, r31 +/* 8028E9D8 0028B938 38 80 00 04 */ li r4, 4 +/* 8028E9DC 0028B93C 38 C0 FF FF */ li r6, -1 +/* 8028E9E0 0028B940 4B DC 26 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028E9E4 0028B944 38 00 00 01 */ li r0, 1 +/* 8028E9E8 0028B948 98 1E 0B 6C */ stb r0, 0xb6c(r30) +lbl_8028E9EC: +/* 8028E9EC 0028B94C C0 22 BE F0 */ lfs f1, lbl_805ADC10@sda21(r2) +/* 8028E9F0 0028B950 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028E9F4 0028B954 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028E9F8 0028B958 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028E9FC 0028B95C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028EA00 0028B960 40 81 00 E4 */ ble lbl_8028EAE4 +/* 8028EA04 0028B964 88 1E 0B 6D */ lbz r0, 0xb6d(r30) +/* 8028EA08 0028B968 28 00 00 00 */ cmplwi r0, 0 +/* 8028EA0C 0028B96C 40 82 00 D8 */ bne lbl_8028EAE4 +/* 8028EA10 0028B970 7F C3 F3 78 */ mr r3, r30 +/* 8028EA14 0028B974 7F E5 FB 78 */ mr r5, r31 +/* 8028EA18 0028B978 38 80 00 04 */ li r4, 4 +/* 8028EA1C 0028B97C 38 C0 FF FF */ li r6, -1 +/* 8028EA20 0028B980 4B DC 26 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028EA24 0028B984 38 00 00 01 */ li r0, 1 +/* 8028EA28 0028B988 98 1E 0B 6D */ stb r0, 0xb6d(r30) +/* 8028EA2C 0028B98C 48 00 00 B8 */ b lbl_8028EAE4 +lbl_8028EA30: +/* 8028EA30 0028B990 C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) +/* 8028EA34 0028B994 C0 1E 0B 64 */ lfs f0, 0xb64(r30) +/* 8028EA38 0028B998 C0 5E 03 38 */ lfs f2, 0x338(r30) +/* 8028EA3C 0028B99C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028EA40 0028B9A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028EA44 0028B9A4 40 81 00 A0 */ ble lbl_8028EAE4 +/* 8028EA48 0028B9A8 88 1E 0B 6C */ lbz r0, 0xb6c(r30) +/* 8028EA4C 0028B9AC 28 00 00 00 */ cmplwi r0, 0 +/* 8028EA50 0028B9B0 40 82 00 94 */ bne lbl_8028EAE4 +/* 8028EA54 0028B9B4 7F E5 FB 78 */ mr r5, r31 +/* 8028EA58 0028B9B8 38 80 00 04 */ li r4, 4 +/* 8028EA5C 0028B9BC 38 C0 FF FF */ li r6, -1 +/* 8028EA60 0028B9C0 4B DC 26 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8028EA64 0028B9C4 38 00 00 01 */ li r0, 1 +/* 8028EA68 0028B9C8 98 1E 0B 6C */ stb r0, 0xb6c(r30) +/* 8028EA6C 0028B9CC 48 00 00 78 */ b lbl_8028EAE4 +lbl_8028EA70: +/* 8028EA70 0028B9D0 48 00 05 55 */ bl sub_8028efc4 +/* 8028EA74 0028B9D4 38 00 00 01 */ li r0, 1 +/* 8028EA78 0028B9D8 7F C3 F3 78 */ mr r3, r30 +/* 8028EA7C 0028B9DC 98 1E 0A D0 */ stb r0, 0xad0(r30) +/* 8028EA80 0028B9E0 7F E5 FB 78 */ mr r5, r31 +/* 8028EA84 0028B9E4 38 80 00 33 */ li r4, 0x33 +/* 8028EA88 0028B9E8 4B DC 58 C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EA8C 0028B9EC 81 5F 08 CC */ lwz r10, 0x8cc(r31) +/* 8028EA90 0028B9F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8028EA94 0028B9F4 C0 9E 00 60 */ lfs f4, 0x60(r30) +/* 8028EA98 0028B9F8 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 8028EA9C 0028B9FC C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8028EAA0 0028BA00 38 00 00 00 */ li r0, 0 +/* 8028EAA4 0028BA04 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028EAA8 0028BA08 7F C3 F3 78 */ mr r3, r30 +/* 8028EAAC 0028BA0C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028EAB0 0028BA10 39 21 00 10 */ addi r9, r1, 0x10 +/* 8028EAB4 0028BA14 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8028EAB8 0028BA18 38 80 0B 28 */ li r4, 0xb28 +/* 8028EABC 0028BA1C C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) +/* 8028EAC0 0028BA20 38 A0 00 00 */ li r5, 0 +/* 8028EAC4 0028BA24 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8028EAC8 0028BA28 38 C0 00 14 */ li r6, 0x14 +/* 8028EACC 0028BA2C C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) +/* 8028EAD0 0028BA30 38 E0 00 7F */ li r7, 0x7f +/* 8028EAD4 0028BA34 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8028EAD8 0028BA38 93 E1 00 08 */ stw r31, 8(r1) +/* 8028EADC 0028BA3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028EAE0 0028BA40 4B DC 44 51 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager +lbl_8028EAE4: +/* 8028EAE4 0028BA44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028EAE8 0028BA48 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028EAEC 0028BA4C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028EAF0 0028BA50 7C 08 03 A6 */ mtlr r0 +/* 8028EAF4 0028BA54 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028EAF8 0028BA58 4E 80 00 20 */ blr + +.global Explode__12COmegaPirateFR13CStateManager9EStateMsgf +Explode__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EAFC 0028BA5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028EB00 0028BA60 7C 08 02 A6 */ mflr r0 +/* 8028EB04 0028BA64 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EB08 0028BA68 7C 66 1B 78 */ mr r6, r3 +/* 8028EB0C 0028BA6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028EB10 0028BA70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028EB14 0028BA74 41 82 00 30 */ beq lbl_8028EB44 +/* 8028EB18 0028BA78 40 80 00 10 */ bge lbl_8028EB28 +/* 8028EB1C 0028BA7C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EB20 0028BA80 40 80 00 14 */ bge lbl_8028EB34 +/* 8028EB24 0028BA84 48 00 00 FC */ b lbl_8028EC20 +lbl_8028EB28: +/* 8028EB28 0028BA88 2C 05 00 03 */ cmpwi r5, 3 +/* 8028EB2C 0028BA8C 40 80 00 F4 */ bge lbl_8028EC20 +/* 8028EB30 0028BA90 48 00 00 E4 */ b lbl_8028EC14 +lbl_8028EB34: +/* 8028EB34 0028BA94 38 00 00 00 */ li r0, 0 +/* 8028EB38 0028BA98 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EB3C 0028BA9C 98 06 0A D0 */ stb r0, 0xad0(r6) +/* 8028EB40 0028BAA0 48 00 00 E0 */ b lbl_8028EC20 +lbl_8028EB44: +/* 8028EB44 0028BAA4 80 06 05 68 */ lwz r0, 0x568(r6) +/* 8028EB48 0028BAA8 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EB4C 0028BAAC 41 82 00 D4 */ beq lbl_8028EC20 +/* 8028EB50 0028BAB0 40 80 00 10 */ bge lbl_8028EB60 +/* 8028EB54 0028BAB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8028EB58 0028BAB8 40 80 00 14 */ bge lbl_8028EB6C +/* 8028EB5C 0028BABC 48 00 00 C4 */ b lbl_8028EC20 +lbl_8028EB60: +/* 8028EB60 0028BAC0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EB64 0028BAC4 40 80 00 BC */ bge lbl_8028EC20 +/* 8028EB68 0028BAC8 48 00 00 90 */ b lbl_8028EBF8 +lbl_8028EB6C: +/* 8028EB6C 0028BACC 80 86 04 50 */ lwz r4, 0x450(r6) +/* 8028EB70 0028BAD0 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028EB74 0028BAD4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EB78 0028BAD8 40 82 00 10 */ bne lbl_8028EB88 +/* 8028EB7C 0028BADC 38 00 00 02 */ li r0, 2 +/* 8028EB80 0028BAE0 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EB84 0028BAE4 48 00 00 9C */ b lbl_8028EC20 +lbl_8028EB88: +/* 8028EB88 0028BAE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EB8C 0028BAEC 38 C0 00 01 */ li r6, 1 +/* 8028EB90 0028BAF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EB94 0028BAF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EB98 0028BAF8 90 01 00 08 */ stw r0, 8(r1) +/* 8028EB9C 0028BAFC 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028EBA0 0028BB00 38 00 00 00 */ li r0, 0 +/* 8028EBA4 0028BB04 3B E4 00 04 */ addi r31, r4, 4 +/* 8028EBA8 0028BB08 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8028EBAC 0028BB0C 7F E3 FB 78 */ mr r3, r31 +/* 8028EBB0 0028BB10 38 80 00 01 */ li r4, 1 +/* 8028EBB4 0028BB14 90 A1 00 08 */ stw r5, 8(r1) +/* 8028EBB8 0028BB18 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028EBBC 0028BB1C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8028EBC0 0028BB20 4B EA 28 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028EBC4 0028BB24 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028EBC8 0028BB28 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EBCC 0028BB2C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028EBD0 0028BB30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EBD4 0028BB34 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028EBD8 0028BB38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EBDC 0028BB3C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028EBE0 0028BB40 90 81 00 08 */ stw r4, 8(r1) +/* 8028EBE4 0028BB44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028EBE8 0028BB48 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028EBEC 0028BB4C 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028EBF0 0028BB50 90 01 00 08 */ stw r0, 8(r1) +/* 8028EBF4 0028BB54 48 00 00 2C */ b lbl_8028EC20 +lbl_8028EBF8: +/* 8028EBF8 0028BB58 80 66 04 50 */ lwz r3, 0x450(r6) +/* 8028EBFC 0028BB5C 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028EC00 0028BB60 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EC04 0028BB64 41 82 00 1C */ beq lbl_8028EC20 +/* 8028EC08 0028BB68 38 00 00 03 */ li r0, 3 +/* 8028EC0C 0028BB6C 90 06 05 68 */ stw r0, 0x568(r6) +/* 8028EC10 0028BB70 48 00 00 10 */ b lbl_8028EC20 +lbl_8028EC14: +/* 8028EC14 0028BB74 80 66 04 50 */ lwz r3, 0x450(r6) +/* 8028EC18 0028BB78 80 86 0A 40 */ lwz r4, 0xa40(r6) +/* 8028EC1C 0028BB7C 4B EA BD BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8028EC20: +/* 8028EC20 0028BB80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028EC24 0028BB84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028EC28 0028BB88 7C 08 03 A6 */ mtlr r0 +/* 8028EC2C 0028BB8C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028EC30 0028BB90 4E 80 00 20 */ blr + +.global Suck__12COmegaPirateFR13CStateManager9EStateMsgf +Suck__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EC34 0028BB94 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8028EC38 0028BB98 7C 08 02 A6 */ mflr r0 +/* 8028EC3C 0028BB9C 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EC40 0028BBA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8028EC44 0028BBA4 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 8028EC48 0028BBA8 7C 7C 1B 78 */ mr r28, r3 +/* 8028EC4C 0028BBAC 7C 9D 23 78 */ mr r29, r4 +/* 8028EC50 0028BBB0 41 82 00 3C */ beq lbl_8028EC8C +/* 8028EC54 0028BBB4 40 80 00 10 */ bge lbl_8028EC64 +/* 8028EC58 0028BBB8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EC5C 0028BBBC 40 80 00 14 */ bge lbl_8028EC70 +/* 8028EC60 0028BBC0 48 00 01 F8 */ b lbl_8028EE58 +lbl_8028EC64: +/* 8028EC64 0028BBC4 2C 05 00 03 */ cmpwi r5, 3 +/* 8028EC68 0028BBC8 40 80 01 F0 */ bge lbl_8028EE58 +/* 8028EC6C 0028BBCC 48 00 00 FC */ b lbl_8028ED68 +lbl_8028EC70: +/* 8028EC70 0028BBD0 38 00 00 00 */ li r0, 0 +/* 8028EC74 0028BBD4 38 60 00 03 */ li r3, 3 +/* 8028EC78 0028BBD8 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028EC7C 0028BBDC 38 00 00 01 */ li r0, 1 +/* 8028EC80 0028BBE0 90 7C 0A 7C */ stw r3, 0xa7c(r28) +/* 8028EC84 0028BBE4 98 1C 0A 88 */ stb r0, 0xa88(r28) +/* 8028EC88 0028BBE8 48 00 01 D0 */ b lbl_8028EE58 +lbl_8028EC8C: +/* 8028EC8C 0028BBEC 80 1C 05 68 */ lwz r0, 0x568(r28) +/* 8028EC90 0028BBF0 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EC94 0028BBF4 41 82 01 C4 */ beq lbl_8028EE58 +/* 8028EC98 0028BBF8 40 80 00 10 */ bge lbl_8028ECA8 +/* 8028EC9C 0028BBFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8028ECA0 0028BC00 40 80 00 14 */ bge lbl_8028ECB4 +/* 8028ECA4 0028BC04 48 00 01 B4 */ b lbl_8028EE58 +lbl_8028ECA8: +/* 8028ECA8 0028BC08 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ECAC 0028BC0C 40 80 01 AC */ bge lbl_8028EE58 +/* 8028ECB0 0028BC10 48 00 00 9C */ b lbl_8028ED4C +lbl_8028ECB4: +/* 8028ECB4 0028BC14 80 9C 04 50 */ lwz r4, 0x450(r28) +/* 8028ECB8 0028BC18 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028ECBC 0028BC1C 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ECC0 0028BC20 40 82 00 10 */ bne lbl_8028ECD0 +/* 8028ECC4 0028BC24 38 00 00 02 */ li r0, 2 +/* 8028ECC8 0028BC28 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028ECCC 0028BC2C 48 00 01 8C */ b lbl_8028EE58 +lbl_8028ECD0: +/* 8028ECD0 0028BC30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028ECD4 0028BC34 38 C0 00 01 */ li r6, 1 +/* 8028ECD8 0028BC38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028ECDC 0028BC3C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028ECE0 0028BC40 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028ECE4 0028BC44 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028ECE8 0028BC48 38 00 00 00 */ li r0, 0 +/* 8028ECEC 0028BC4C 3B 64 00 04 */ addi r27, r4, 4 +/* 8028ECF0 0028BC50 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8028ECF4 0028BC54 7F 63 DB 78 */ mr r3, r27 +/* 8028ECF8 0028BC58 38 80 00 01 */ li r4, 1 +/* 8028ECFC 0028BC5C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028ED00 0028BC60 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8028ED04 0028BC64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028ED08 0028BC68 4B EA 27 31 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028ED0C 0028BC6C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8028ED10 0028BC70 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028ED14 0028BC74 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028ED18 0028BC78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028ED1C 0028BC7C 90 1B 00 C8 */ stw r0, 0xc8(r27) +/* 8028ED20 0028BC80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028ED24 0028BC84 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 8028ED28 0028BC88 38 80 00 01 */ li r4, 1 +/* 8028ED2C 0028BC8C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028ED30 0028BC90 90 DB 00 CC */ stw r6, 0xcc(r27) +/* 8028ED34 0028BC94 90 7B 00 D0 */ stw r3, 0xd0(r27) +/* 8028ED38 0028BC98 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028ED3C 0028BC9C 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8028ED40 0028BCA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028ED44 0028BCA4 4B EA BC 95 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8028ED48 0028BCA8 48 00 01 10 */ b lbl_8028EE58 +lbl_8028ED4C: +/* 8028ED4C 0028BCAC 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8028ED50 0028BCB0 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8028ED54 0028BCB4 2C 00 00 03 */ cmpwi r0, 3 +/* 8028ED58 0028BCB8 41 82 01 00 */ beq lbl_8028EE58 +/* 8028ED5C 0028BCBC 38 00 00 03 */ li r0, 3 +/* 8028ED60 0028BCC0 90 1C 05 68 */ stw r0, 0x568(r28) +/* 8028ED64 0028BCC4 48 00 00 F4 */ b lbl_8028EE58 +lbl_8028ED68: +/* 8028ED68 0028BCC8 83 FC 09 E0 */ lwz r31, 0x9e0(r28) +/* 8028ED6C 0028BCCC 3B C0 00 00 */ li r30, 0 +/* 8028ED70 0028BCD0 3B 60 00 00 */ li r27, 0 +/* 8028ED74 0028BCD4 48 00 00 C4 */ b lbl_8028EE38 +lbl_8028ED78: +/* 8028ED78 0028BCD8 80 BC 09 E8 */ lwz r5, 0x9e8(r28) +/* 8028ED7C 0028BCDC 7F A3 EB 78 */ mr r3, r29 +/* 8028ED80 0028BCE0 38 81 00 08 */ addi r4, r1, 8 +/* 8028ED84 0028BCE4 7C 05 DA 2E */ lhzx r0, r5, r27 +/* 8028ED88 0028BCE8 B0 01 00 08 */ sth r0, 8(r1) +/* 8028ED8C 0028BCEC 4B DB D7 E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028ED90 0028BCF0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 8028ED94 0028BCF4 41 82 00 9C */ beq lbl_8028EE30 +/* 8028ED98 0028BCF8 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 8028ED9C 0028BCFC 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 8028EDA0 0028BD00 4B E2 20 B5 */ bl sub_800b0e54 +/* 8028EDA4 0028BD04 7F 43 D3 78 */ mr r3, r26 +/* 8028EDA8 0028BD08 7F A5 EB 78 */ mr r5, r29 +/* 8028EDAC 0028BD0C 38 80 00 29 */ li r4, 0x29 +/* 8028EDB0 0028BD10 4B DC 51 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EDB4 0028BD14 7F 43 D3 78 */ mr r3, r26 +/* 8028EDB8 0028BD18 7F A5 EB 78 */ mr r5, r29 +/* 8028EDBC 0028BD1C 38 80 00 28 */ li r4, 0x28 +/* 8028EDC0 0028BD20 4B DC 51 C1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028EDC4 0028BD24 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028EDC8 0028BD28 38 60 00 01 */ li r3, 1 +/* 8028EDCC 0028BD2C 88 1A 03 56 */ lbz r0, 0x356(r26) +/* 8028EDD0 0028BD30 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8028EDD4 0028BD34 FC 40 08 90 */ fmr f2, f1 +/* 8028EDD8 0028BD38 C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) +/* 8028EDDC 0028BD3C FC 60 08 90 */ fmr f3, f1 +/* 8028EDE0 0028BD40 98 1A 03 56 */ stb r0, 0x356(r26) +/* 8028EDE4 0028BD44 38 61 00 0C */ addi r3, r1, 0xc +/* 8028EDE8 0028BD48 48 0D 46 05 */ bl __ct__6CColorFffff +/* 8028EDEC 0028BD4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8028EDF0 0028BD50 38 C0 00 05 */ li r6, 5 +/* 8028EDF4 0028BD54 38 80 00 03 */ li r4, 3 +/* 8028EDF8 0028BD58 38 A0 00 00 */ li r5, 0 +/* 8028EDFC 0028BD5C 98 DA 00 B4 */ stb r6, 0xb4(r26) +/* 8028EE00 0028BD60 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028EE04 0028BD64 60 00 00 03 */ ori r0, r0, 3 +/* 8028EE08 0028BD68 98 BA 00 B5 */ stb r5, 0xb5(r26) +/* 8028EE0C 0028BD6C B0 1A 00 B6 */ sth r0, 0xb6(r26) +/* 8028EE10 0028BD70 90 7A 00 B8 */ stw r3, 0xb8(r26) +/* 8028EE14 0028BD74 88 1A 03 56 */ lbz r0, 0x356(r26) +/* 8028EE18 0028BD78 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 8028EE1C 0028BD7C 98 C1 00 10 */ stb r6, 0x10(r1) +/* 8028EE20 0028BD80 98 A1 00 11 */ stb r5, 0x11(r1) +/* 8028EE24 0028BD84 B0 81 00 12 */ sth r4, 0x12(r1) +/* 8028EE28 0028BD88 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028EE2C 0028BD8C 98 1A 03 56 */ stb r0, 0x356(r26) +lbl_8028EE30: +/* 8028EE30 0028BD90 3B DE 00 01 */ addi r30, r30, 1 +/* 8028EE34 0028BD94 3B 7B 00 14 */ addi r27, r27, 0x14 +lbl_8028EE38: +/* 8028EE38 0028BD98 7C 1E F8 40 */ cmplw r30, r31 +/* 8028EE3C 0028BD9C 41 80 FF 3C */ blt lbl_8028ED78 +/* 8028EE40 0028BDA0 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028EE44 0028BDA4 38 00 00 00 */ li r0, 0 +/* 8028EE48 0028BDA8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 8028EE4C 0028BDAC D0 3C 0B 50 */ stfs f1, 0xb50(r28) +/* 8028EE50 0028BDB0 D0 1C 0B 58 */ stfs f0, 0xb58(r28) +/* 8028EE54 0028BDB4 90 1C 0B 4C */ stw r0, 0xb4c(r28) +lbl_8028EE58: +/* 8028EE58 0028BDB8 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 8028EE5C 0028BDBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8028EE60 0028BDC0 7C 08 03 A6 */ mtlr r0 +/* 8028EE64 0028BDC4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8028EE68 0028BDC8 4E 80 00 20 */ blr + +.global Skid__12COmegaPirateFR13CStateManager9EStateMsgf +Skid__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EE6C 0028BDCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028EE70 0028BDD0 7C 08 02 A6 */ mflr r0 +/* 8028EE74 0028BDD4 2C 05 00 01 */ cmpwi r5, 1 +/* 8028EE78 0028BDD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028EE7C 0028BDDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028EE80 0028BDE0 41 82 00 24 */ beq lbl_8028EEA4 +/* 8028EE84 0028BDE4 40 80 00 EC */ bge lbl_8028EF70 +/* 8028EE88 0028BDE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8028EE8C 0028BDEC 40 80 00 0C */ bge lbl_8028EE98 +/* 8028EE90 0028BDF0 48 00 00 E0 */ b lbl_8028EF70 +/* 8028EE94 0028BDF4 48 00 00 DC */ b lbl_8028EF70 +lbl_8028EE98: +/* 8028EE98 0028BDF8 38 00 00 00 */ li r0, 0 +/* 8028EE9C 0028BDFC 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028EEA0 0028BE00 48 00 00 D0 */ b lbl_8028EF70 +lbl_8028EEA4: +/* 8028EEA4 0028BE04 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8028EEA8 0028BE08 2C 00 00 01 */ cmpwi r0, 1 +/* 8028EEAC 0028BE0C 41 82 00 C4 */ beq lbl_8028EF70 +/* 8028EEB0 0028BE10 40 80 00 10 */ bge lbl_8028EEC0 +/* 8028EEB4 0028BE14 2C 00 00 00 */ cmpwi r0, 0 +/* 8028EEB8 0028BE18 40 80 00 14 */ bge lbl_8028EECC +/* 8028EEBC 0028BE1C 48 00 00 B4 */ b lbl_8028EF70 +lbl_8028EEC0: +/* 8028EEC0 0028BE20 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EEC4 0028BE24 40 80 00 AC */ bge lbl_8028EF70 +/* 8028EEC8 0028BE28 48 00 00 90 */ b lbl_8028EF58 +lbl_8028EECC: +/* 8028EECC 0028BE2C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 8028EED0 0028BE30 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8028EED4 0028BE34 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EED8 0028BE38 40 82 00 10 */ bne lbl_8028EEE8 +/* 8028EEDC 0028BE3C 38 00 00 02 */ li r0, 2 +/* 8028EEE0 0028BE40 90 03 05 68 */ stw r0, 0x568(r3) +/* 8028EEE4 0028BE44 48 00 00 8C */ b lbl_8028EF70 +lbl_8028EEE8: +/* 8028EEE8 0028BE48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EEEC 0028BE4C 38 00 00 00 */ li r0, 0 +/* 8028EEF0 0028BE50 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 8028EEF4 0028BE54 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EEF8 0028BE58 90 81 00 08 */ stw r4, 8(r1) +/* 8028EEFC 0028BE5C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8028EF00 0028BE60 38 60 00 01 */ li r3, 1 +/* 8028EF04 0028BE64 3B E6 00 04 */ addi r31, r6, 4 +/* 8028EF08 0028BE68 90 61 00 0C */ stw r3, 0xc(r1) +/* 8028EF0C 0028BE6C 7F E3 FB 78 */ mr r3, r31 +/* 8028EF10 0028BE70 38 80 00 01 */ li r4, 1 +/* 8028EF14 0028BE74 90 A1 00 08 */ stw r5, 8(r1) +/* 8028EF18 0028BE78 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028EF1C 0028BE7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028EF20 0028BE80 4B EA 25 19 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028EF24 0028BE84 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028EF28 0028BE88 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8028EF2C 0028BE8C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8028EF30 0028BE90 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028EF34 0028BE94 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8028EF38 0028BE98 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028EF3C 0028BE9C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8028EF40 0028BEA0 90 81 00 08 */ stw r4, 8(r1) +/* 8028EF44 0028BEA4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8028EF48 0028BEA8 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8028EF4C 0028BEAC 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8028EF50 0028BEB0 90 01 00 08 */ stw r0, 8(r1) +/* 8028EF54 0028BEB4 48 00 00 1C */ b lbl_8028EF70 +lbl_8028EF58: +/* 8028EF58 0028BEB8 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8028EF5C 0028BEBC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8028EF60 0028BEC0 2C 00 00 03 */ cmpwi r0, 3 +/* 8028EF64 0028BEC4 41 82 00 0C */ beq lbl_8028EF70 +/* 8028EF68 0028BEC8 38 00 00 03 */ li r0, 3 +/* 8028EF6C 0028BECC 90 03 05 68 */ stw r0, 0x568(r3) +lbl_8028EF70: +/* 8028EF70 0028BED0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028EF74 0028BED4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028EF78 0028BED8 7C 08 03 A6 */ mtlr r0 +/* 8028EF7C 0028BEDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028EF80 0028BEE0 4E 80 00 20 */ blr + +.global Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf +Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf: +/* 8028EF84 0028BEE4 4E 80 00 20 */ blr + +.global CodeTrigger__12COmegaPirateFR13CStateManagerf +CodeTrigger__12COmegaPirateFR13CStateManagerf: +/* 8028EF88 0028BEE8 88 63 0B 78 */ lbz r3, 0xb78(r3) +/* 8028EF8C 0028BEEC 4E 80 00 20 */ blr + +.global HearPlayer__12COmegaPirateFR13CStateManagerf +HearPlayer__12COmegaPirateFR13CStateManagerf: +/* 8028EF90 0028BEF0 88 63 0A 3C */ lbz r3, 0xa3c(r3) +/* 8028EF94 0028BEF4 4E 80 00 20 */ blr + +.global CoverBlown__12COmegaPirateFR13CStateManagerf +CoverBlown__12COmegaPirateFR13CStateManagerf: +/* 8028EF98 0028BEF8 88 03 09 B4 */ lbz r0, 0x9b4(r3) +/* 8028EF9C 0028BEFC 28 00 00 00 */ cmplwi r0, 0 +/* 8028EFA0 0028BF00 41 82 00 1C */ beq lbl_8028EFBC +/* 8028EFA4 0028BF04 38 00 00 00 */ li r0, 0 +/* 8028EFA8 0028BF08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028EFAC 0028BF0C 98 03 09 B4 */ stb r0, 0x9b4(r3) +/* 8028EFB0 0028BF10 D0 03 0B 5C */ stfs f0, 0xb5c(r3) +/* 8028EFB4 0028BF14 38 60 00 01 */ li r3, 1 +/* 8028EFB8 0028BF18 4E 80 00 20 */ blr +lbl_8028EFBC: +/* 8028EFBC 0028BF1C 38 60 00 00 */ li r3, 0 +/* 8028EFC0 0028BF20 4E 80 00 20 */ blr + +.global sub_8028efc4 +sub_8028efc4: +/* 8028EFC4 0028BF24 94 21 FD A0 */ stwu r1, -0x260(r1) +/* 8028EFC8 0028BF28 7C 08 02 A6 */ mflr r0 +/* 8028EFCC 0028BF2C 90 01 02 64 */ stw r0, 0x264(r1) +/* 8028EFD0 0028BF30 DB E1 02 50 */ stfd f31, 0x250(r1) +/* 8028EFD4 0028BF34 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 +/* 8028EFD8 0028BF38 DB C1 02 40 */ stfd f30, 0x240(r1) +/* 8028EFDC 0028BF3C F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 +/* 8028EFE0 0028BF40 DB A1 02 30 */ stfd f29, 0x230(r1) +/* 8028EFE4 0028BF44 F3 A1 02 38 */ psq_st f29, 568(r1), 0, qr0 +/* 8028EFE8 0028BF48 DB 81 02 20 */ stfd f28, 0x220(r1) +/* 8028EFEC 0028BF4C F3 81 02 28 */ psq_st f28, 552(r1), 0, qr0 +/* 8028EFF0 0028BF50 DB 61 02 10 */ stfd f27, 0x210(r1) +/* 8028EFF4 0028BF54 F3 61 02 18 */ psq_st f27, 536(r1), 0, qr0 +/* 8028EFF8 0028BF58 DB 41 02 00 */ stfd f26, 0x200(r1) +/* 8028EFFC 0028BF5C F3 41 02 08 */ psq_st f26, 520(r1), 0, qr0 +/* 8028F000 0028BF60 DB 21 01 F0 */ stfd f25, 0x1f0(r1) +/* 8028F004 0028BF64 F3 21 01 F8 */ psq_st f25, 504(r1), 0, qr0 +/* 8028F008 0028BF68 DB 01 01 E0 */ stfd f24, 0x1e0(r1) +/* 8028F00C 0028BF6C F3 01 01 E8 */ psq_st f24, 488(r1), 0, qr0 +/* 8028F010 0028BF70 DA E1 01 D0 */ stfd f23, 0x1d0(r1) +/* 8028F014 0028BF74 F2 E1 01 D8 */ psq_st f23, 472(r1), 0, qr0 +/* 8028F018 0028BF78 DA C1 01 C0 */ stfd f22, 0x1c0(r1) +/* 8028F01C 0028BF7C F2 C1 01 C8 */ psq_st f22, 456(r1), 0, qr0 +/* 8028F020 0028BF80 BF 21 01 A4 */ stmw r25, 0x1a4(r1) +/* 8028F024 0028BF84 7C 9F 23 78 */ mr r31, r4 +/* 8028F028 0028BF88 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8028F02C 0028BF8C 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8028F030 0028BF90 7C 7E 1B 78 */ mr r30, r3 +/* 8028F034 0028BF94 C7 24 66 A0 */ lfsu f25, skZero3f@l(r4) +/* 8028F038 0028BF98 3B 80 00 00 */ li r28, 0 +/* 8028F03C 0028BF9C C2 C2 BE 9C */ lfs f22, lbl_805ADBBC@sda21(r2) +/* 8028F040 0028BFA0 3B 40 00 00 */ li r26, 0 +/* 8028F044 0028BFA4 C3 C5 00 50 */ lfs f30, 0x50(r5) +/* 8028F048 0028BFA8 3B A0 00 00 */ li r29, 0 +/* 8028F04C 0028BFAC C3 E5 00 40 */ lfs f31, 0x40(r5) +/* 8028F050 0028BFB0 C3 45 00 60 */ lfs f26, 0x60(r5) +/* 8028F054 0028BFB4 C3 04 00 04 */ lfs f24, 4(r4) +/* 8028F058 0028BFB8 C2 E4 00 08 */ lfs f23, 8(r4) +/* 8028F05C 0028BFBC 83 63 09 A8 */ lwz r27, 0x9a8(r3) +/* 8028F060 0028BFC0 48 00 00 A0 */ b lbl_8028F100 +lbl_8028F064: +/* 8028F064 0028BFC4 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F068 0028BFC8 7F E3 FB 78 */ mr r3, r31 +/* 8028F06C 0028BFCC 38 81 00 0C */ addi r4, r1, 0xc +/* 8028F070 0028BFD0 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028F074 0028BFD4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028F078 0028BFD8 4B DB D5 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8028F07C 0028BFDC 7C 64 1B 78 */ mr r4, r3 +/* 8028F080 0028BFE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028F084 0028BFE4 4B E1 74 C9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8028F088 0028BFE8 83 23 00 04 */ lwz r25, 4(r3) +/* 8028F08C 0028BFEC 28 19 00 00 */ cmplwi r25, 0 +/* 8028F090 0028BFF0 41 82 00 68 */ beq lbl_8028F0F8 +/* 8028F094 0028BFF4 C3 79 00 60 */ lfs f27, 0x60(r25) +/* 8028F098 0028BFF8 38 61 00 BC */ addi r3, r1, 0xbc +/* 8028F09C 0028BFFC C3 99 00 50 */ lfs f28, 0x50(r25) +/* 8028F0A0 0028C000 C3 B9 00 40 */ lfs f29, 0x40(r25) +/* 8028F0A4 0028C004 EC 1A D8 28 */ fsubs f0, f26, f27 +/* 8028F0A8 0028C008 EC 3E E0 28 */ fsubs f1, f30, f28 +/* 8028F0AC 0028C00C EC 5F E8 28 */ fsubs f2, f31, f29 +/* 8028F0B0 0028C010 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8028F0B4 0028C014 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 8028F0B8 0028C018 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8028F0BC 0028C01C D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 8028F0C0 0028C020 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 8028F0C4 0028C024 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8028F0C8 0028C028 48 08 57 F1 */ bl Magnitude__9CVector3fCFv +/* 8028F0CC 0028C02C FC 01 B0 40 */ fcmpo cr0, f1, f22 +/* 8028F0D0 0028C030 40 81 00 28 */ ble lbl_8028F0F8 +/* 8028F0D4 0028C034 A0 79 00 08 */ lhz r3, 8(r25) +/* 8028F0D8 0028C038 A0 1E 0A DA */ lhz r0, 0xada(r30) +/* 8028F0DC 0028C03C 7C 03 00 40 */ cmplw r3, r0 +/* 8028F0E0 0028C040 41 82 00 18 */ beq lbl_8028F0F8 +/* 8028F0E4 0028C044 FE C0 08 90 */ fmr f22, f1 +/* 8028F0E8 0028C048 7F 5C D3 78 */ mr r28, r26 +/* 8028F0EC 0028C04C FF 20 E8 90 */ fmr f25, f29 +/* 8028F0F0 0028C050 FF 00 E0 90 */ fmr f24, f28 +/* 8028F0F4 0028C054 FE E0 D8 90 */ fmr f23, f27 +lbl_8028F0F8: +/* 8028F0F8 0028C058 3B 5A 00 01 */ addi r26, r26, 1 +/* 8028F0FC 0028C05C 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8028F100: +/* 8028F100 0028C060 7C 1A D8 40 */ cmplw r26, r27 +/* 8028F104 0028C064 41 80 FF 60 */ blt lbl_8028F064 +/* 8028F108 0028C068 D3 21 00 98 */ stfs f25, 0x98(r1) +/* 8028F10C 0028C06C 7F E5 FB 78 */ mr r5, r31 +/* 8028F110 0028C070 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F114 0028C074 38 81 00 98 */ addi r4, r1, 0x98 +/* 8028F118 0028C078 D3 01 00 9C */ stfs f24, 0x9c(r1) +/* 8028F11C 0028C07C D2 E1 00 A0 */ stfs f23, 0xa0(r1) +/* 8028F120 0028C080 48 00 02 29 */ bl sub_8028f348 +/* 8028F124 0028C084 7F C3 F3 78 */ mr r3, r30 +/* 8028F128 0028C088 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 8028F12C 0028C08C 4B DC 3D 61 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8028F130 0028C090 1C DC 00 14 */ mulli r6, r28, 0x14 +/* 8028F134 0028C094 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F138 0028C098 7F E3 FB 78 */ mr r3, r31 +/* 8028F13C 0028C09C 38 81 00 08 */ addi r4, r1, 8 +/* 8028F140 0028C0A0 7C 05 32 2E */ lhzx r0, r5, r6 +/* 8028F144 0028C0A4 B0 1E 0A DA */ sth r0, 0xada(r30) +/* 8028F148 0028C0A8 80 BE 09 B0 */ lwz r5, 0x9b0(r30) +/* 8028F14C 0028C0AC 7C 05 32 2E */ lhzx r0, r5, r6 +/* 8028F150 0028C0B0 B0 01 00 08 */ sth r0, 8(r1) +/* 8028F154 0028C0B4 4B DB D4 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F158 0028C0B8 7C 64 1B 78 */ mr r4, r3 +/* 8028F15C 0028C0BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8028F160 0028C0C0 4B E1 73 ED */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8028F164 0028C0C4 80 63 00 04 */ lwz r3, 4(r3) +/* 8028F168 0028C0C8 28 03 00 00 */ cmplwi r3, 0 +/* 8028F16C 0028C0CC 41 82 00 14 */ beq lbl_8028F180 +/* 8028F170 0028C0D0 7F E5 FB 78 */ mr r5, r31 +/* 8028F174 0028C0D4 38 80 00 01 */ li r4, 1 +/* 8028F178 0028C0D8 38 C0 FF FF */ li r6, -1 +/* 8028F17C 0028C0DC 4B DC 1F 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8028F180: +/* 8028F180 0028C0E0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8028F184 0028C0E4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028F188 0028C0E8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8028F18C 0028C0EC 48 08 50 75 */ bl __ct__9CVector2fFff +/* 8028F190 0028C0F0 FC 20 F8 90 */ fmr f1, f31 +/* 8028F194 0028C0F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028F198 0028C0F8 FC 40 F0 90 */ fmr f2, f30 +/* 8028F19C 0028C0FC 48 08 50 65 */ bl __ct__9CVector2fFff +/* 8028F1A0 0028C100 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028F1A4 0028C104 38 81 00 30 */ addi r4, r1, 0x30 +/* 8028F1A8 0028C108 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8028F1AC 0028C10C 48 08 4D 8D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8028F1B0 0028C110 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8028F1B4 0028C114 38 61 00 48 */ addi r3, r1, 0x48 +/* 8028F1B8 0028C118 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8028F1BC 0028C11C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028F1C0 0028C120 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8028F1C4 0028C124 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8028F1C8 0028C128 48 08 4E B9 */ bl AsNormalized__9CVector2fCFv +/* 8028F1CC 0028C12C C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 8028F1D0 0028C130 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028F1D4 0028C134 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8028F1D8 0028C138 C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 8028F1DC 0028C13C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 8028F1E0 0028C140 C2 E1 00 48 */ lfs f23, 0x48(r1) +/* 8028F1E4 0028C144 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8028F1E8 0028C148 C3 01 00 4C */ lfs f24, 0x4c(r1) +/* 8028F1EC 0028C14C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8028F1F0 0028C150 48 08 50 11 */ bl __ct__9CVector2fFff +/* 8028F1F4 0028C154 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028F1F8 0028C158 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028F1FC 0028C15C 48 08 4E 85 */ bl AsNormalized__9CVector2fCFv +/* 8028F200 0028C160 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) +/* 8028F204 0028C164 38 61 00 7C */ addi r3, r1, 0x7c +/* 8028F208 0028C168 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8028F20C 0028C16C 38 81 00 70 */ addi r4, r1, 0x70 +/* 8028F210 0028C170 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8028F214 0028C174 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8028F218 0028C178 D2 E1 00 64 */ stfs f23, 0x64(r1) +/* 8028F21C 0028C17C D3 01 00 68 */ stfs f24, 0x68(r1) +/* 8028F220 0028C180 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8028F224 0028C184 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8028F228 0028C188 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8028F22C 0028C18C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8028F230 0028C190 48 08 28 89 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 8028F234 0028C194 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 8028F238 0028C198 38 61 01 08 */ addi r3, r1, 0x108 +/* 8028F23C 0028C19C C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8028F240 0028C1A0 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8028F244 0028C1A4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 8028F248 0028C1A8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8028F24C 0028C1AC D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 8028F250 0028C1B0 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8028F254 0028C1B4 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8028F258 0028C1B8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8028F25C 0028C1BC 48 08 2E 31 */ bl BuildTransform__11CQuaternionCFv +/* 8028F260 0028C1C0 38 61 01 2C */ addi r3, r1, 0x12c +/* 8028F264 0028C1C4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8028F268 0028C1C8 48 08 3E 8D */ bl BuildMatrix3f__12CTransform4fCFv +/* 8028F26C 0028C1CC 38 61 01 50 */ addi r3, r1, 0x150 +/* 8028F270 0028C1D0 38 81 01 2C */ addi r4, r1, 0x12c +/* 8028F274 0028C1D4 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8028F278 0028C1D8 48 08 0E B9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 8028F27C 0028C1DC 38 61 01 74 */ addi r3, r1, 0x174 +/* 8028F280 0028C1E0 38 81 01 50 */ addi r4, r1, 0x150 +/* 8028F284 0028C1E4 48 08 0D A1 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8028F288 0028C1E8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8028F28C 0028C1EC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8028F290 0028C1F0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8028F294 0028C1F4 38 81 01 74 */ addi r4, r1, 0x174 +/* 8028F298 0028C1F8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8028F29C 0028C1FC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8028F2A0 0028C200 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8028F2A4 0028C204 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8028F2A8 0028C208 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8028F2AC 0028C20C 48 08 3F CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 8028F2B0 0028C210 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8028F2B4 0028C214 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8028F2B8 0028C218 48 08 38 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028F2BC 0028C21C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2C0 0028C220 38 60 00 01 */ li r3, 1 +/* 8028F2C4 0028C224 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8028F2C8 0028C228 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2CC 0028C22C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2D0 0028C230 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8028F2D4 0028C234 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2D8 0028C238 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8028F2DC 0028C23C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028F2E0 0028C240 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8028F2E4 0028C244 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 +/* 8028F2E8 0028C248 CB E1 02 50 */ lfd f31, 0x250(r1) +/* 8028F2EC 0028C24C E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 +/* 8028F2F0 0028C250 CB C1 02 40 */ lfd f30, 0x240(r1) +/* 8028F2F4 0028C254 E3 A1 02 38 */ psq_l f29, 568(r1), 0, qr0 +/* 8028F2F8 0028C258 CB A1 02 30 */ lfd f29, 0x230(r1) +/* 8028F2FC 0028C25C E3 81 02 28 */ psq_l f28, 552(r1), 0, qr0 +/* 8028F300 0028C260 CB 81 02 20 */ lfd f28, 0x220(r1) +/* 8028F304 0028C264 E3 61 02 18 */ psq_l f27, 536(r1), 0, qr0 +/* 8028F308 0028C268 CB 61 02 10 */ lfd f27, 0x210(r1) +/* 8028F30C 0028C26C E3 41 02 08 */ psq_l f26, 520(r1), 0, qr0 +/* 8028F310 0028C270 CB 41 02 00 */ lfd f26, 0x200(r1) +/* 8028F314 0028C274 E3 21 01 F8 */ psq_l f25, 504(r1), 0, qr0 +/* 8028F318 0028C278 CB 21 01 F0 */ lfd f25, 0x1f0(r1) +/* 8028F31C 0028C27C E3 01 01 E8 */ psq_l f24, 488(r1), 0, qr0 +/* 8028F320 0028C280 CB 01 01 E0 */ lfd f24, 0x1e0(r1) +/* 8028F324 0028C284 E2 E1 01 D8 */ psq_l f23, 472(r1), 0, qr0 +/* 8028F328 0028C288 CA E1 01 D0 */ lfd f23, 0x1d0(r1) +/* 8028F32C 0028C28C E2 C1 01 C8 */ psq_l f22, 456(r1), 0, qr0 +/* 8028F330 0028C290 CA C1 01 C0 */ lfd f22, 0x1c0(r1) +/* 8028F334 0028C294 BB 21 01 A4 */ lmw r25, 0x1a4(r1) +/* 8028F338 0028C298 80 01 02 64 */ lwz r0, 0x264(r1) +/* 8028F33C 0028C29C 7C 08 03 A6 */ mtlr r0 +/* 8028F340 0028C2A0 38 21 02 60 */ addi r1, r1, 0x260 +/* 8028F344 0028C2A4 4E 80 00 20 */ blr + +.global sub_8028f348 +sub_8028f348: +/* 8028F348 0028C2A8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028F34C 0028C2AC 7C 08 02 A6 */ mflr r0 +/* 8028F350 0028C2B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028F354 0028C2B4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028F358 0028C2B8 7C BF 2B 78 */ mr r31, r5 +/* 8028F35C 0028C2BC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028F360 0028C2C0 7C 9E 23 78 */ mr r30, r4 +/* 8028F364 0028C2C4 38 80 00 01 */ li r4, 1 +/* 8028F368 0028C2C8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028F36C 0028C2CC 7C 7D 1B 78 */ mr r29, r3 +/* 8028F370 0028C2D0 38 60 00 00 */ li r3, 0 +/* 8028F374 0028C2D4 80 0D 99 9C */ lwz r0, lbl_805A855C@sda21(r13) +/* 8028F378 0028C2D8 7C 05 03 78 */ mr r5, r0 +/* 8028F37C 0028C2DC 48 0F AB 79 */ bl __shl2i +/* 8028F380 0028C2E0 39 00 00 00 */ li r8, 0 +/* 8028F384 0028C2E4 38 00 00 01 */ li r0, 1 +/* 8028F388 0028C2E8 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 8028F38C 0028C2EC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8028F390 0028C2F0 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l +/* 8028F394 0028C2F4 C0 22 BE F4 */ lfs f1, lbl_805ADC14@sda21(r2) +/* 8028F398 0028C2F8 90 61 00 08 */ stw r3, 8(r1) +/* 8028F39C 0028C2FC 7F E4 FB 78 */ mr r4, r31 +/* 8028F3A0 0028C300 7F C5 F3 78 */ mr r5, r30 +/* 8028F3A4 0028C304 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028F3A8 0028C308 91 01 00 14 */ stw r8, 0x14(r1) +/* 8028F3AC 0028C30C 38 E1 00 08 */ addi r7, r1, 8 +/* 8028F3B0 0028C310 91 01 00 10 */ stw r8, 0x10(r1) +/* 8028F3B4 0028C314 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028F3B8 0028C318 4B EF 54 51 */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8028F3BC 0028C31C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8028F3C0 0028C320 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8028F3C4 0028C324 28 00 00 00 */ cmplwi r0, 0 +/* 8028F3C8 0028C328 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8028F3CC 0028C32C C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8028F3D0 0028C330 40 82 00 20 */ bne lbl_8028F3F0 +/* 8028F3D4 0028C334 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8028F3D8 0028C338 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8028F3DC 0028C33C C0 1E 00 04 */ lfs f0, 4(r30) +/* 8028F3E0 0028C340 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8028F3E4 0028C344 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8028F3E8 0028C348 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8028F3EC 0028C34C 48 00 00 10 */ b lbl_8028F3FC +lbl_8028F3F0: +/* 8028F3F0 0028C350 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8028F3F4 0028C354 D0 3D 00 04 */ stfs f1, 4(r29) +/* 8028F3F8 0028C358 D0 5D 00 08 */ stfs f2, 8(r29) +lbl_8028F3FC: +/* 8028F3FC 0028C35C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028F400 0028C360 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028F404 0028C364 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028F408 0028C368 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028F40C 0028C36C 7C 08 03 A6 */ mtlr r0 +/* 8028F410 0028C370 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028F414 0028C374 4E 80 00 20 */ blr + +.global Render__12COmegaPirateCFRC13CStateManager +Render__12COmegaPirateCFRC13CStateManager: +/* 8028F418 0028C378 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8028F41C 0028C37C 7C 08 02 A6 */ mflr r0 +/* 8028F420 0028C380 90 01 01 84 */ stw r0, 0x184(r1) +/* 8028F424 0028C384 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 8028F428 0028C388 7C 9F 23 78 */ mr r31, r4 +/* 8028F42C 0028C38C 38 81 00 38 */ addi r4, r1, 0x38 +/* 8028F430 0028C390 93 C1 01 78 */ stw r30, 0x178(r1) +/* 8028F434 0028C394 7C 7E 1B 78 */ mr r30, r3 +/* 8028F438 0028C398 93 A1 01 74 */ stw r29, 0x174(r1) +/* 8028F43C 0028C39C 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 8028F440 0028C3A0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028F444 0028C3A4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8028F448 0028C3A8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8028F44C 0028C3AC C0 05 00 04 */ lfs f0, 4(r5) +/* 8028F450 0028C3B0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8028F454 0028C3B4 C0 05 00 08 */ lfs f0, 8(r5) +/* 8028F458 0028C3B8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8028F45C 0028C3BC 48 08 3D 69 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8028F460 0028C3C0 38 61 00 74 */ addi r3, r1, 0x74 +/* 8028F464 0028C3C4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8028F468 0028C3C8 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8028F46C 0028C3CC 48 08 34 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8028F470 0028C3D0 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F474 0028C3D4 38 81 00 74 */ addi r4, r1, 0x74 +/* 8028F478 0028C3D8 48 08 36 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8028F47C 0028C3DC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8028F480 0028C3E0 48 07 D1 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8028F484 0028C3E4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F488 0028C3E8 7F E4 FB 78 */ mr r4, r31 +/* 8028F48C 0028C3EC 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F490 0028C3F0 4B E0 20 C9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F494 0028C3F4 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F498 0028C3F8 41 82 00 90 */ beq lbl_8028F528 +/* 8028F49C 0028C3FC C0 9E 0A 2C */ lfs f4, 0xa2c(r30) +/* 8028F4A0 0028C400 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F4A4 0028C404 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8028F4A8 0028C408 40 81 00 80 */ ble lbl_8028F528 +/* 8028F4AC 0028C40C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F4B0 0028C410 38 00 00 00 */ li r0, 0 +/* 8028F4B4 0028C414 98 01 01 68 */ stb r0, 0x168(r1) +/* 8028F4B8 0028C418 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028F4BC 0028C41C FC 40 08 90 */ fmr f2, f1 +/* 8028F4C0 0028C420 FC 60 08 90 */ fmr f3, f1 +/* 8028F4C4 0028C424 48 0D 3F 29 */ bl __ct__6CColorFffff +/* 8028F4C8 0028C428 39 20 00 03 */ li r9, 3 +/* 8028F4CC 0028C42C 81 01 00 14 */ lwz r8, 0x14(r1) +/* 8028F4D0 0028C430 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d +/* 8028F4D4 0028C434 39 60 00 05 */ li r11, 5 +/* 8028F4D8 0028C438 39 40 00 00 */ li r10, 0 +/* 8028F4DC 0028C43C 99 61 00 30 */ stb r11, 0x30(r1) +/* 8028F4E0 0028C440 60 00 00 03 */ ori r0, r0, 3 +/* 8028F4E4 0028C444 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8028F4E8 0028C448 99 41 00 31 */ stb r10, 0x31(r1) +/* 8028F4EC 0028C44C 38 9E 09 F0 */ addi r4, r30, 0x9f0 +/* 8028F4F0 0028C450 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8028F4F4 0028C454 38 C1 01 20 */ addi r6, r1, 0x120 +/* 8028F4F8 0028C458 B0 01 00 32 */ sth r0, 0x32(r1) +/* 8028F4FC 0028C45C 38 E0 00 00 */ li r7, 0 +/* 8028F500 0028C460 91 01 00 34 */ stw r8, 0x34(r1) +/* 8028F504 0028C464 99 61 00 28 */ stb r11, 0x28(r1) +/* 8028F508 0028C468 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8028F50C 0028C46C 99 41 00 29 */ stb r10, 0x29(r1) +/* 8028F510 0028C470 B1 21 00 2A */ sth r9, 0x2a(r1) +/* 8028F514 0028C474 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8028F518 0028C478 4B D9 D4 05 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8028F51C 0028C47C 38 61 01 20 */ addi r3, r1, 0x120 +/* 8028F520 0028C480 38 80 FF FF */ li r4, -1 +/* 8028F524 0028C484 4B DE 87 69 */ bl sub_80077c8c +lbl_8028F528: +/* 8028F528 0028C488 88 1E 09 A0 */ lbz r0, 0x9a0(r30) +/* 8028F52C 0028C48C 28 00 00 00 */ cmplwi r0, 0 +/* 8028F530 0028C490 41 82 01 04 */ beq lbl_8028F634 +/* 8028F534 0028C494 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F538 0028C498 7F E4 FB 78 */ mr r4, r31 +/* 8028F53C 0028C49C 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F540 0028C4A0 4B E0 20 19 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F544 0028C4A4 20 03 00 01 */ subfic r0, r3, 1 +/* 8028F548 0028C4A8 7C 03 00 34 */ cntlzw r3, r0 +/* 8028F54C 0028C4AC 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8028F550 0028C4B0 54 7D D9 7E */ srwi r29, r3, 5 +/* 8028F554 0028C4B4 41 82 00 2C */ beq lbl_8028F580 +/* 8028F558 0028C4B8 48 0B AA 5D */ bl Black__6CColorFv +/* 8028F55C 0028C4BC 7C 65 1B 78 */ mr r5, r3 +/* 8028F560 0028C4C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8028F564 0028C4C4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F568 0028C4C8 38 80 00 00 */ li r4, 0 +/* 8028F56C 0028C4CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8028F570 0028C4D0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 8028F574 0028C4D4 81 8C 00 E0 */ lwz r12, 0xe0(r12) +/* 8028F578 0028C4D8 7D 89 03 A6 */ mtctr r12 +/* 8028F57C 0028C4DC 4E 80 04 21 */ bctrl +lbl_8028F580: +/* 8028F580 0028C4E0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8028F584 0028C4E4 41 82 00 84 */ beq lbl_8028F608 +/* 8028F588 0028C4E8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F58C 0028C4EC 38 00 00 00 */ li r0, 0 +/* 8028F590 0028C4F0 98 01 01 1C */ stb r0, 0x11c(r1) +/* 8028F594 0028C4F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028F598 0028C4F8 FC 40 08 90 */ fmr f2, f1 +/* 8028F59C 0028C4FC C0 82 BE F8 */ lfs f4, lbl_805ADC18@sda21(r2) +/* 8028F5A0 0028C500 FC 60 08 90 */ fmr f3, f1 +/* 8028F5A4 0028C504 48 0D 3E 49 */ bl __ct__6CColorFffff +/* 8028F5A8 0028C508 39 20 00 03 */ li r9, 3 +/* 8028F5AC 0028C50C 81 01 00 10 */ lwz r8, 0x10(r1) +/* 8028F5B0 0028C510 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d +/* 8028F5B4 0028C514 38 80 00 05 */ li r4, 5 +/* 8028F5B8 0028C518 39 40 00 00 */ li r10, 0 +/* 8028F5BC 0028C51C 98 81 00 20 */ stb r4, 0x20(r1) +/* 8028F5C0 0028C520 60 00 00 01 */ ori r0, r0, 1 +/* 8028F5C4 0028C524 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8028F5C8 0028C528 99 41 00 21 */ stb r10, 0x21(r1) +/* 8028F5CC 0028C52C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028F5D0 0028C530 38 C1 00 D4 */ addi r6, r1, 0xd4 +/* 8028F5D4 0028C534 38 E0 00 00 */ li r7, 0 +/* 8028F5D8 0028C538 B0 01 00 22 */ sth r0, 0x22(r1) +/* 8028F5DC 0028C53C 91 01 00 24 */ stw r8, 0x24(r1) +/* 8028F5E0 0028C540 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8028F5E4 0028C544 98 81 00 18 */ stb r4, 0x18(r1) +/* 8028F5E8 0028C548 80 83 00 E0 */ lwz r4, 0xe0(r3) +/* 8028F5EC 0028C54C 99 41 00 19 */ stb r10, 0x19(r1) +/* 8028F5F0 0028C550 B1 21 00 1A */ sth r9, 0x1a(r1) +/* 8028F5F4 0028C554 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8028F5F8 0028C558 4B D9 D3 25 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8028F5FC 0028C55C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8028F600 0028C560 38 80 FF FF */ li r4, -1 +/* 8028F604 0028C564 4B DE 86 89 */ bl sub_80077c8c +lbl_8028F608: +/* 8028F608 0028C568 7F C3 F3 78 */ mr r3, r30 +/* 8028F60C 0028C56C 7F E4 FB 78 */ mr r4, r31 +/* 8028F610 0028C570 4B DE 8A 1D */ bl Render__10CPatternedCFRC13CStateManager +/* 8028F614 0028C574 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8028F618 0028C578 41 82 00 1C */ beq lbl_8028F634 +/* 8028F61C 0028C57C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8028F620 0028C580 7F E3 FB 78 */ mr r3, r31 +/* 8028F624 0028C584 38 81 00 0C */ addi r4, r1, 0xc +/* 8028F628 0028C588 90 01 00 08 */ stw r0, 8(r1) +/* 8028F62C 0028C58C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028F630 0028C590 4B DB 77 51 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +lbl_8028F634: +/* 8028F634 0028C594 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8028F638 0028C598 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 8028F63C 0028C59C 83 C1 01 78 */ lwz r30, 0x178(r1) +/* 8028F640 0028C5A0 83 A1 01 74 */ lwz r29, 0x174(r1) +/* 8028F644 0028C5A4 7C 08 03 A6 */ mtlr r0 +/* 8028F648 0028C5A8 38 21 01 80 */ addi r1, r1, 0x180 +/* 8028F64C 0028C5AC 4E 80 00 20 */ blr + +.global PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes +PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes: +/* 8028F650 0028C5B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028F654 0028C5B4 7C 08 02 A6 */ mflr r0 +/* 8028F658 0028C5B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028F65C 0028C5BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028F660 0028C5C0 7C 9F 23 78 */ mr r31, r4 +/* 8028F664 0028C5C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028F668 0028C5C8 7C 7E 1B 78 */ mr r30, r3 +/* 8028F66C 0028C5CC 4B F9 D4 BD */ bl PreRender__12CElitePirateFR13CStateManagerRC14CFrustumPlanes +/* 8028F670 0028C5D0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F674 0028C5D4 7F E4 FB 78 */ mr r4, r31 +/* 8028F678 0028C5D8 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F67C 0028C5DC 4B E0 1E DD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F680 0028C5E0 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F684 0028C5E4 40 82 00 54 */ bne lbl_8028F6D8 +/* 8028F688 0028C5E8 C0 3E 0A 80 */ lfs f1, 0xa80(r30) +/* 8028F68C 0028C5EC 38 61 00 08 */ addi r3, r1, 8 +/* 8028F690 0028C5F0 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028F694 0028C5F4 FC 40 08 90 */ fmr f2, f1 +/* 8028F698 0028C5F8 FC 60 08 90 */ fmr f3, f1 +/* 8028F69C 0028C5FC 48 0D 3D 51 */ bl __ct__6CColorFffff +/* 8028F6A0 0028C600 80 61 00 08 */ lwz r3, 8(r1) +/* 8028F6A4 0028C604 38 C0 00 01 */ li r6, 1 +/* 8028F6A8 0028C608 38 80 00 03 */ li r4, 3 +/* 8028F6AC 0028C60C 38 A0 00 00 */ li r5, 0 +/* 8028F6B0 0028C610 98 DE 00 B4 */ stb r6, 0xb4(r30) +/* 8028F6B4 0028C614 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 8028F6B8 0028C618 60 00 00 03 */ ori r0, r0, 3 +/* 8028F6BC 0028C61C 98 BE 00 B5 */ stb r5, 0xb5(r30) +/* 8028F6C0 0028C620 B0 1E 00 B6 */ sth r0, 0xb6(r30) +/* 8028F6C4 0028C624 98 C1 00 0C */ stb r6, 0xc(r1) +/* 8028F6C8 0028C628 98 A1 00 0D */ stb r5, 0xd(r1) +/* 8028F6CC 0028C62C B0 81 00 0E */ sth r4, 0xe(r1) +/* 8028F6D0 0028C630 90 61 00 10 */ stw r3, 0x10(r1) +/* 8028F6D4 0028C634 90 7E 00 B8 */ stw r3, 0xb8(r30) +lbl_8028F6D8: +/* 8028F6D8 0028C638 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028F6DC 0028C63C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028F6E0 0028C640 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028F6E4 0028C644 7C 08 03 A6 */ mtlr r0 +/* 8028F6E8 0028C648 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028F6EC 0028C64C 4E 80 00 20 */ blr + +.global sub_8028f6f0 +sub_8028f6f0: +/* 8028F6F0 0028C650 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8028F6F4 0028C654 7C 08 02 A6 */ mflr r0 +/* 8028F6F8 0028C658 90 01 00 74 */ stw r0, 0x74(r1) +/* 8028F6FC 0028C65C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8028F700 0028C660 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8028F704 0028C664 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8028F708 0028C668 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8028F70C 0028C66C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8028F710 0028C670 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8028F714 0028C674 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8028F718 0028C678 7C 7E 1B 78 */ mr r30, r3 +/* 8028F71C 0028C67C FF C0 08 90 */ fmr f30, f1 +/* 8028F720 0028C680 80 03 09 94 */ lwz r0, 0x994(r3) +/* 8028F724 0028C684 7C 9F 23 78 */ mr r31, r4 +/* 8028F728 0028C688 2C 00 00 02 */ cmpwi r0, 2 +/* 8028F72C 0028C68C 41 82 01 0C */ beq lbl_8028F838 +/* 8028F730 0028C690 40 80 00 10 */ bge lbl_8028F740 +/* 8028F734 0028C694 2C 00 00 01 */ cmpwi r0, 1 +/* 8028F738 0028C698 40 80 00 14 */ bge lbl_8028F74C +/* 8028F73C 0028C69C 48 00 01 4C */ b lbl_8028F888 +lbl_8028F740: +/* 8028F740 0028C6A0 2C 00 00 04 */ cmpwi r0, 4 +/* 8028F744 0028C6A4 40 80 01 44 */ bge lbl_8028F888 +/* 8028F748 0028C6A8 48 00 00 8C */ b lbl_8028F7D4 +lbl_8028F74C: +/* 8028F74C 0028C6AC C0 22 BE 74 */ lfs f1, lbl_805ADB94@sda21(r2) +/* 8028F750 0028C6B0 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F754 0028C6B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F758 0028C6B8 40 80 00 0C */ bge lbl_8028F764 +/* 8028F75C 0028C6BC 38 62 BE 74 */ addi r3, r2, lbl_805ADB94@sda21 +/* 8028F760 0028C6C0 48 00 00 08 */ b lbl_8028F768 +lbl_8028F764: +/* 8028F764 0028C6C4 38 7E 09 98 */ addi r3, r30, 0x998 +lbl_8028F768: +/* 8028F768 0028C6C8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028F76C 0028C6CC C0 42 BE FC */ lfs f2, lbl_805ADC1C@sda21(r2) +/* 8028F770 0028C6D0 C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) +/* 8028F774 0028C6D4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8028F778 0028C6D8 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028F77C 0028C6DC EC 03 00 28 */ fsubs f0, f3, f0 +/* 8028F780 0028C6E0 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F784 0028C6E4 C0 1E 09 9C */ lfs f0, 0x99c(r30) +/* 8028F788 0028C6E8 EC 81 00 32 */ fmuls f4, f1, f0 +/* 8028F78C 0028C6EC F0 81 A0 09 */ psq_st f4, 9(r1), 1, qr2 +/* 8028F790 0028C6F0 88 01 00 09 */ lbz r0, 9(r1) +/* 8028F794 0028C6F4 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8028F798 0028C6F8 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F79C 0028C6FC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8028F7A0 0028C700 40 81 00 1C */ ble lbl_8028F7BC +/* 8028F7A4 0028C704 38 60 00 02 */ li r3, 2 +/* 8028F7A8 0028C708 38 00 00 00 */ li r0, 0 +/* 8028F7AC 0028C70C 90 7E 09 94 */ stw r3, 0x994(r30) +/* 8028F7B0 0028C710 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F7B4 0028C714 98 1E 09 A1 */ stb r0, 0x9a1(r30) +/* 8028F7B8 0028C718 D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F7BC: +/* 8028F7BC 0028C71C C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F7C0 0028C720 38 00 00 01 */ li r0, 1 +/* 8028F7C4 0028C724 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F7C8 0028C728 D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F7CC 0028C72C 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F7D0 0028C730 48 00 00 C8 */ b lbl_8028F898 +lbl_8028F7D4: +/* 8028F7D4 0028C734 C0 22 BE 78 */ lfs f1, lbl_805ADB98@sda21(r2) +/* 8028F7D8 0028C738 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F7DC 0028C73C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F7E0 0028C740 40 80 00 0C */ bge lbl_8028F7EC +/* 8028F7E4 0028C744 38 62 BE 78 */ addi r3, r2, lbl_805ADB98@sda21 +/* 8028F7E8 0028C748 48 00 00 08 */ b lbl_8028F7F0 +lbl_8028F7EC: +/* 8028F7EC 0028C74C 38 7E 09 98 */ addi r3, r30, 0x998 +lbl_8028F7F0: +/* 8028F7F0 0028C750 C0 43 00 00 */ lfs f2, 0(r3) +/* 8028F7F4 0028C754 C0 22 BE FC */ lfs f1, lbl_805ADC1C@sda21(r2) +/* 8028F7F8 0028C758 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F7FC 0028C75C EC 22 08 24 */ fdivs f1, f2, f1 +/* 8028F800 0028C760 D0 3E 09 9C */ stfs f1, 0x99c(r30) +/* 8028F804 0028C764 C0 3E 09 98 */ lfs f1, 0x998(r30) +/* 8028F808 0028C768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028F80C 0028C76C 40 81 00 14 */ ble lbl_8028F820 +/* 8028F810 0028C770 38 00 00 00 */ li r0, 0 +/* 8028F814 0028C774 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F818 0028C778 90 1E 09 94 */ stw r0, 0x994(r30) +/* 8028F81C 0028C77C D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F820: +/* 8028F820 0028C780 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F824 0028C784 38 00 00 01 */ li r0, 1 +/* 8028F828 0028C788 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F82C 0028C78C D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F830 0028C790 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F834 0028C794 48 00 00 64 */ b lbl_8028F898 +lbl_8028F838: +/* 8028F838 0028C798 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F83C 0028C79C C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) +/* 8028F840 0028C7A0 D0 3E 09 9C */ stfs f1, 0x99c(r30) +/* 8028F844 0028C7A4 C0 5E 09 98 */ lfs f2, 0x998(r30) +/* 8028F848 0028C7A8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8028F84C 0028C7AC 40 81 00 24 */ ble lbl_8028F870 +/* 8028F850 0028C7B0 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028F854 0028C7B4 28 00 00 00 */ cmplwi r0, 0 +/* 8028F858 0028C7B8 41 82 00 18 */ beq lbl_8028F870 +/* 8028F85C 0028C7BC 4B FF C5 D5 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf +/* 8028F860 0028C7C0 38 00 00 03 */ li r0, 3 +/* 8028F864 0028C7C4 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F868 0028C7C8 90 1E 09 94 */ stw r0, 0x994(r30) +/* 8028F86C 0028C7CC D0 1E 09 98 */ stfs f0, 0x998(r30) +lbl_8028F870: +/* 8028F870 0028C7D0 C0 1E 09 98 */ lfs f0, 0x998(r30) +/* 8028F874 0028C7D4 38 00 00 00 */ li r0, 0 +/* 8028F878 0028C7D8 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8028F87C 0028C7DC D0 1E 09 98 */ stfs f0, 0x998(r30) +/* 8028F880 0028C7E0 98 1E 09 A0 */ stb r0, 0x9a0(r30) +/* 8028F884 0028C7E4 48 00 00 14 */ b lbl_8028F898 +lbl_8028F888: +/* 8028F888 0028C7E8 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F88C 0028C7EC 38 00 00 01 */ li r0, 1 +/* 8028F890 0028C7F0 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F894 0028C7F4 98 1E 09 A0 */ stb r0, 0x9a0(r30) +lbl_8028F898: +/* 8028F898 0028C7F8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028F89C 0028C7FC 7F E4 FB 78 */ mr r4, r31 +/* 8028F8A0 0028C800 C3 DE 09 9C */ lfs f30, 0x99c(r30) +/* 8028F8A4 0028C804 80 63 00 00 */ lwz r3, 0(r3) +/* 8028F8A8 0028C808 4B E0 1C B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028F8AC 0028C80C 2C 03 00 01 */ cmpwi r3, 1 +/* 8028F8B0 0028C810 40 82 00 18 */ bne lbl_8028F8C8 +/* 8028F8B4 0028C814 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F8B8 0028C818 38 00 00 01 */ li r0, 1 +/* 8028F8BC 0028C81C C3 C2 BE 9C */ lfs f30, lbl_805ADBBC@sda21(r2) +/* 8028F8C0 0028C820 D0 1E 09 9C */ stfs f0, 0x99c(r30) +/* 8028F8C4 0028C824 98 1E 09 A0 */ stb r0, 0x9a0(r30) +lbl_8028F8C8: +/* 8028F8C8 0028C828 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) +/* 8028F8CC 0028C82C C0 1E 09 9C */ lfs f0, 0x99c(r30) +/* 8028F8D0 0028C830 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8028F8D4 0028C834 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8028F8D8 0028C838 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028F8DC 0028C83C 88 01 00 08 */ lbz r0, 8(r1) +/* 8028F8E0 0028C840 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8028F8E4 0028C844 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 8028F8E8 0028C848 40 80 00 C4 */ bge lbl_8028F9AC +/* 8028F8EC 0028C84C A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028F8F0 0028C850 7F E3 FB 78 */ mr r3, r31 +/* 8028F8F4 0028C854 38 81 00 20 */ addi r4, r1, 0x20 +/* 8028F8F8 0028C858 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028F8FC 0028C85C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8028F900 0028C860 4B DB CC 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F904 0028C864 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F908 0028C868 41 82 00 44 */ beq lbl_8028F94C +/* 8028F90C 0028C86C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F910 0028C870 FC 80 F0 90 */ fmr f4, f30 +/* 8028F914 0028C874 38 61 00 30 */ addi r3, r1, 0x30 +/* 8028F918 0028C878 FC 40 08 90 */ fmr f2, f1 +/* 8028F91C 0028C87C FC 60 08 90 */ fmr f3, f1 +/* 8028F920 0028C880 48 0D 3A CD */ bl __ct__6CColorFffff +/* 8028F924 0028C884 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F928 0028C888 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8028F92C 0028C88C FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 8028F930 0028C890 90 1D 03 F4 */ stw r0, 0x3f4(r29) +/* 8028F934 0028C894 40 82 00 10 */ bne lbl_8028F944 +/* 8028F938 0028C898 38 00 00 00 */ li r0, 0 +/* 8028F93C 0028C89C 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F940 0028C8A0 48 00 00 0C */ b lbl_8028F94C +lbl_8028F944: +/* 8028F944 0028C8A4 38 00 00 01 */ li r0, 1 +/* 8028F948 0028C8A8 98 1D 03 FD */ stb r0, 0x3fd(r29) +lbl_8028F94C: +/* 8028F94C 0028C8AC A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028F950 0028C8B0 7F E3 FB 78 */ mr r3, r31 +/* 8028F954 0028C8B4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028F958 0028C8B8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8028F95C 0028C8BC 4B DB CC 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F960 0028C8C0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F964 0028C8C4 41 82 00 D4 */ beq lbl_8028FA38 +/* 8028F968 0028C8C8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 8028F96C 0028C8CC FC 80 F0 90 */ fmr f4, f30 +/* 8028F970 0028C8D0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028F974 0028C8D4 FC 40 08 90 */ fmr f2, f1 +/* 8028F978 0028C8D8 FC 60 08 90 */ fmr f3, f1 +/* 8028F97C 0028C8DC 48 0D 3A 71 */ bl __ct__6CColorFffff +/* 8028F980 0028C8E0 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028F984 0028C8E4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8028F988 0028C8E8 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 8028F98C 0028C8EC 90 1D 03 F4 */ stw r0, 0x3f4(r29) +/* 8028F990 0028C8F0 40 82 00 10 */ bne lbl_8028F9A0 +/* 8028F994 0028C8F4 38 00 00 00 */ li r0, 0 +/* 8028F998 0028C8F8 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F99C 0028C8FC 48 00 00 9C */ b lbl_8028FA38 +lbl_8028F9A0: +/* 8028F9A0 0028C900 38 00 00 01 */ li r0, 1 +/* 8028F9A4 0028C904 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F9A8 0028C908 48 00 00 90 */ b lbl_8028FA38 +lbl_8028F9AC: +/* 8028F9AC 0028C90C A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 8028F9B0 0028C910 7F E3 FB 78 */ mr r3, r31 +/* 8028F9B4 0028C914 38 81 00 14 */ addi r4, r1, 0x14 +/* 8028F9B8 0028C918 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8028F9BC 0028C91C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028F9C0 0028C920 4B DB CB B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028F9C4 0028C924 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028F9C8 0028C928 41 82 00 2C */ beq lbl_8028F9F4 +/* 8028F9CC 0028C92C C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028F9D0 0028C930 38 00 00 01 */ li r0, 1 +/* 8028F9D4 0028C934 98 1D 03 FD */ stb r0, 0x3fd(r29) +/* 8028F9D8 0028C938 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028F9DC 0028C93C FC 40 08 90 */ fmr f2, f1 +/* 8028F9E0 0028C940 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028F9E4 0028C944 FC 60 08 90 */ fmr f3, f1 +/* 8028F9E8 0028C948 48 0D 3A 05 */ bl __ct__6CColorFffff +/* 8028F9EC 0028C94C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8028F9F0 0028C950 90 1D 03 F4 */ stw r0, 0x3f4(r29) +lbl_8028F9F4: +/* 8028F9F4 0028C954 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 8028F9F8 0028C958 7F E3 FB 78 */ mr r3, r31 +/* 8028F9FC 0028C95C 38 81 00 0C */ addi r4, r1, 0xc +/* 8028FA00 0028C960 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028FA04 0028C964 4B DB CB 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FA08 0028C968 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8028FA0C 0028C96C 41 82 00 2C */ beq lbl_8028FA38 +/* 8028FA10 0028C970 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 8028FA14 0028C974 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028FA18 0028C978 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) +/* 8028FA1C 0028C97C FC 40 08 90 */ fmr f2, f1 +/* 8028FA20 0028C980 FC 60 08 90 */ fmr f3, f1 +/* 8028FA24 0028C984 48 0D 39 C9 */ bl __ct__6CColorFffff +/* 8028FA28 0028C988 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8028FA2C 0028C98C 38 00 00 01 */ li r0, 1 +/* 8028FA30 0028C990 90 7E 03 F4 */ stw r3, 0x3f4(r30) +/* 8028FA34 0028C994 98 1E 03 FD */ stb r0, 0x3fd(r30) +lbl_8028FA38: +/* 8028FA38 0028C998 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8028FA3C 0028C99C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8028FA40 0028C9A0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8028FA44 0028C9A4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8028FA48 0028C9A8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8028FA4C 0028C9AC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8028FA50 0028C9B0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8028FA54 0028C9B4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8028FA58 0028C9B8 7C 08 03 A6 */ mtlr r0 +/* 8028FA5C 0028C9BC 38 21 00 70 */ addi r1, r1, 0x70 +/* 8028FA60 0028C9C0 4E 80 00 20 */ blr + +.global sub_8028fa64 +sub_8028fa64: +/* 8028FA64 0028C9C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028FA68 0028C9C8 7C 08 02 A6 */ mflr r0 +/* 8028FA6C 0028C9CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028FA70 0028C9D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028FA74 0028C9D4 7C BF 2B 78 */ mr r31, r5 +/* 8028FA78 0028C9D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028FA7C 0028C9DC 7C 9E 23 78 */ mr r30, r4 +/* 8028FA80 0028C9E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8028FA84 0028C9E4 7C 7D 1B 78 */ mr r29, r3 +/* 8028FA88 0028C9E8 4B F9 8F 29 */ bl sub_802289b0 +/* 8028FA8C 0028C9EC A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 8028FA90 0028C9F0 7F A3 EB 78 */ mr r3, r29 +/* 8028FA94 0028C9F4 7F C4 F3 78 */ mr r4, r30 +/* 8028FA98 0028C9F8 7F E5 FB 78 */ mr r5, r31 +/* 8028FA9C 0028C9FC B0 01 00 08 */ sth r0, 8(r1) +/* 8028FAA0 0028CA00 38 C1 00 08 */ addi r6, r1, 8 +/* 8028FAA4 0028CA04 4B F9 8E 7D */ bl sub_80228920 +/* 8028FAA8 0028CA08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028FAAC 0028CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028FAB0 0028CA10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028FAB4 0028CA14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8028FAB8 0028CA18 7C 08 03 A6 */ mtlr r0 +/* 8028FABC 0028CA1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028FAC0 0028CA20 4E 80 00 20 */ blr + +.global Think__12COmegaPirateFfR13CStateManager +Think__12COmegaPirateFfR13CStateManager: +/* 8028FAC4 0028CA24 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 8028FAC8 0028CA28 7C 08 02 A6 */ mflr r0 +/* 8028FACC 0028CA2C 90 01 01 74 */ stw r0, 0x174(r1) +/* 8028FAD0 0028CA30 DB E1 01 60 */ stfd f31, 0x160(r1) +/* 8028FAD4 0028CA34 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 +/* 8028FAD8 0028CA38 DB C1 01 50 */ stfd f30, 0x150(r1) +/* 8028FADC 0028CA3C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 +/* 8028FAE0 0028CA40 DB A1 01 40 */ stfd f29, 0x140(r1) +/* 8028FAE4 0028CA44 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 +/* 8028FAE8 0028CA48 BF 41 01 28 */ stmw r26, 0x128(r1) +/* 8028FAEC 0028CA4C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8028FAF0 0028CA50 FF E0 08 90 */ fmr f31, f1 +/* 8028FAF4 0028CA54 7C 7E 1B 78 */ mr r30, r3 +/* 8028FAF8 0028CA58 7C 9F 23 78 */ mr r31, r4 +/* 8028FAFC 0028CA5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8028FB00 0028CA60 41 82 09 08 */ beq lbl_80290408 +/* 8028FB04 0028CA64 88 1E 09 88 */ lbz r0, 0x988(r30) +/* 8028FB08 0028CA68 38 A0 00 01 */ li r5, 1 +/* 8028FB0C 0028CA6C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8028FB10 0028CA70 98 1E 09 88 */ stb r0, 0x988(r30) +/* 8028FB14 0028CA74 4B F9 D8 71 */ bl Think__12CElitePirateFfR13CStateManager +/* 8028FB18 0028CA78 7F C3 F3 78 */ mr r3, r30 +/* 8028FB1C 0028CA7C C0 02 BF 00 */ lfs f0, lbl_805ADC20@sda21(r2) +/* 8028FB20 0028CA80 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FB24 0028CA84 7F E4 FB 78 */ mr r4, r31 +/* 8028FB28 0028CA88 C3 DE 0A 98 */ lfs f30, 0xa98(r30) +/* 8028FB2C 0028CA8C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FB30 0028CA90 EF A0 07 B2 */ fmuls f29, f0, f30 +/* 8028FB34 0028CA94 7D 89 03 A6 */ mtctr r12 +/* 8028FB38 0028CA98 4E 80 04 21 */ bctrl +/* 8028FB3C 0028CA9C C0 02 BE F8 */ lfs f0, lbl_805ADC18@sda21(r2) +/* 8028FB40 0028CAA0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FB44 0028CAA4 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8028FB48 0028CAA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FB4C 0028CAAC 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FB50 0028CAB0 40 82 00 10 */ bne lbl_8028FB60 +/* 8028FB54 0028CAB4 38 00 00 03 */ li r0, 3 +/* 8028FB58 0028CAB8 90 1E 0A C4 */ stw r0, 0xac4(r30) +/* 8028FB5C 0028CABC 48 00 00 4C */ b lbl_8028FBA8 +lbl_8028FB60: +/* 8028FB60 0028CAC0 7F C3 F3 78 */ mr r3, r30 +/* 8028FB64 0028CAC4 7F E4 FB 78 */ mr r4, r31 +/* 8028FB68 0028CAC8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FB6C 0028CACC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FB70 0028CAD0 7D 89 03 A6 */ mtctr r12 +/* 8028FB74 0028CAD4 4E 80 04 21 */ bctrl +/* 8028FB78 0028CAD8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028FB7C 0028CADC FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 8028FB80 0028CAE0 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FB84 0028CAE4 40 82 00 10 */ bne lbl_8028FB94 +/* 8028FB88 0028CAE8 38 00 00 02 */ li r0, 2 +/* 8028FB8C 0028CAEC 90 1E 0A C4 */ stw r0, 0xac4(r30) +/* 8028FB90 0028CAF0 48 00 00 18 */ b lbl_8028FBA8 +lbl_8028FB94: +/* 8028FB94 0028CAF4 80 1E 0A CC */ lwz r0, 0xacc(r30) +/* 8028FB98 0028CAF8 28 00 00 04 */ cmplwi r0, 4 +/* 8028FB9C 0028CAFC 40 81 00 0C */ ble lbl_8028FBA8 +/* 8028FBA0 0028CB00 38 00 00 01 */ li r0, 1 +/* 8028FBA4 0028CB04 90 1E 0A C4 */ stw r0, 0xac4(r30) +lbl_8028FBA8: +/* 8028FBA8 0028CB08 80 82 BE 70 */ lwz r4, lbl_805ADB90@sda21(r2) +/* 8028FBAC 0028CB0C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8028FBB0 0028CB10 4B D7 51 09 */ bl string_l__4rstlFPCc +/* 8028FBB4 0028CB14 7F C3 F3 78 */ mr r3, r30 +/* 8028FBB8 0028CB18 7F E4 FB 78 */ mr r4, r31 +/* 8028FBBC 0028CB1C 38 BE 09 90 */ addi r5, r30, 0x990 +/* 8028FBC0 0028CB20 38 C1 00 98 */ addi r6, r1, 0x98 +/* 8028FBC4 0028CB24 4B F9 8E 19 */ bl sub_802289dc +/* 8028FBC8 0028CB28 38 61 00 98 */ addi r3, r1, 0x98 +/* 8028FBCC 0028CB2C 48 0A DF 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8028FBD0 0028CB30 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBD4 0028CB34 7F C3 F3 78 */ mr r3, r30 +/* 8028FBD8 0028CB38 7F E4 FB 78 */ mr r4, r31 +/* 8028FBDC 0028CB3C 4B FF FB 15 */ bl sub_8028f6f0 +/* 8028FBE0 0028CB40 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBE4 0028CB44 7F C3 F3 78 */ mr r3, r30 +/* 8028FBE8 0028CB48 7F E4 FB 78 */ mr r4, r31 +/* 8028FBEC 0028CB4C 4B FF DA A5 */ bl sub_8028d690 +/* 8028FBF0 0028CB50 FC 20 F8 90 */ fmr f1, f31 +/* 8028FBF4 0028CB54 7F C3 F3 78 */ mr r3, r30 +/* 8028FBF8 0028CB58 7F E4 FB 78 */ mr r4, r31 +/* 8028FBFC 0028CB5C 4B FF D1 09 */ bl sub_8028cd04 +/* 8028FC00 0028CB60 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028FC04 0028CB64 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC08 0028CB68 41 82 00 10 */ beq lbl_8028FC18 +/* 8028FC0C 0028CB6C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 8028FC10 0028CB70 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC14 0028CB74 41 82 00 CC */ beq lbl_8028FCE0 +lbl_8028FC18: +/* 8028FC18 0028CB78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8028FC1C 0028CB7C 7F E4 FB 78 */ mr r4, r31 +/* 8028FC20 0028CB80 80 63 00 00 */ lwz r3, 0(r3) +/* 8028FC24 0028CB84 4B E0 19 35 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8028FC28 0028CB88 2C 03 00 01 */ cmpwi r3, 1 +/* 8028FC2C 0028CB8C 40 82 00 B4 */ bne lbl_8028FCE0 +/* 8028FC30 0028CB90 88 1E 0A 44 */ lbz r0, 0xa44(r30) +/* 8028FC34 0028CB94 28 00 00 00 */ cmplwi r0, 0 +/* 8028FC38 0028CB98 41 82 00 A8 */ beq lbl_8028FCE0 +/* 8028FC3C 0028CB9C 7F C3 F3 78 */ mr r3, r30 +/* 8028FC40 0028CBA0 7F E5 FB 78 */ mr r5, r31 +/* 8028FC44 0028CBA4 38 80 00 28 */ li r4, 0x28 +/* 8028FC48 0028CBA8 4B DC 47 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FC4C 0028CBAC 7F C3 F3 78 */ mr r3, r30 +/* 8028FC50 0028CBB0 7F E5 FB 78 */ mr r5, r31 +/* 8028FC54 0028CBB4 38 80 00 29 */ li r4, 0x29 +/* 8028FC58 0028CBB8 4B DC 46 F9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FC5C 0028CBBC 80 1E 09 C8 */ lwz r0, 0x9c8(r30) +/* 8028FC60 0028CBC0 2C 00 00 04 */ cmpwi r0, 4 +/* 8028FC64 0028CBC4 40 82 00 28 */ bne lbl_8028FC8C +/* 8028FC68 0028CBC8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FC6C 0028CBCC 7F E4 FB 78 */ mr r4, r31 +/* 8028FC70 0028CBD0 38 A0 00 00 */ li r5, 0 +/* 8028FC74 0028CBD4 4B F1 76 85 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC78 0028CBD8 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FC7C 0028CBDC 7F E4 FB 78 */ mr r4, r31 +/* 8028FC80 0028CBE0 38 A0 00 00 */ li r5, 0 +/* 8028FC84 0028CBE4 4B F1 76 75 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC88 0028CBE8 48 00 01 18 */ b lbl_8028FDA0 +lbl_8028FC8C: +/* 8028FC8C 0028CBEC 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FC90 0028CBF0 7F E4 FB 78 */ mr r4, r31 +/* 8028FC94 0028CBF4 38 A0 00 01 */ li r5, 1 +/* 8028FC98 0028CBF8 4B F1 76 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FC9C 0028CBFC 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FCA0 0028CC00 7F E4 FB 78 */ mr r4, r31 +/* 8028FCA4 0028CC04 38 A0 00 01 */ li r5, 1 +/* 8028FCA8 0028CC08 4B F1 76 51 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FCAC 0028CC0C A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FCB0 0028CC10 7F E3 FB 78 */ mr r3, r31 +/* 8028FCB4 0028CC14 38 81 00 5C */ addi r4, r1, 0x5c +/* 8028FCB8 0028CC18 B0 01 00 5C */ sth r0, 0x5c(r1) +/* 8028FCBC 0028CC1C 4B DB C8 B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FCC0 0028CC20 28 03 00 00 */ cmplwi r3, 0 +/* 8028FCC4 0028CC24 41 82 00 DC */ beq lbl_8028FDA0 +/* 8028FCC8 0028CC28 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FCCC 0028CC2C 38 80 00 00 */ li r4, 0 +/* 8028FCD0 0028CC30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FCD4 0028CC34 7D 89 03 A6 */ mtctr r12 +/* 8028FCD8 0028CC38 4E 80 04 21 */ bctrl +/* 8028FCDC 0028CC3C 48 00 00 C4 */ b lbl_8028FDA0 +lbl_8028FCE0: +/* 8028FCE0 0028CC40 7F C3 F3 78 */ mr r3, r30 +/* 8028FCE4 0028CC44 7F E5 FB 78 */ mr r5, r31 +/* 8028FCE8 0028CC48 38 80 00 28 */ li r4, 0x28 +/* 8028FCEC 0028CC4C 4B DC 42 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FCF0 0028CC50 7F C3 F3 78 */ mr r3, r30 +/* 8028FCF4 0028CC54 7F E5 FB 78 */ mr r5, r31 +/* 8028FCF8 0028CC58 38 80 00 29 */ li r4, 0x29 +/* 8028FCFC 0028CC5C 4B DC 42 85 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FD00 0028CC60 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FD04 0028CC64 7F E4 FB 78 */ mr r4, r31 +/* 8028FD08 0028CC68 38 A0 00 00 */ li r5, 0 +/* 8028FD0C 0028CC6C 4B F1 75 ED */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD10 0028CC70 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 8028FD14 0028CC74 28 00 00 00 */ cmplwi r0, 0 +/* 8028FD18 0028CC78 41 82 00 48 */ beq lbl_8028FD60 +/* 8028FD1C 0028CC7C 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FD20 0028CC80 7F E4 FB 78 */ mr r4, r31 +/* 8028FD24 0028CC84 38 A0 00 01 */ li r5, 1 +/* 8028FD28 0028CC88 4B F1 75 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD2C 0028CC8C A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FD30 0028CC90 7F E3 FB 78 */ mr r3, r31 +/* 8028FD34 0028CC94 38 81 00 58 */ addi r4, r1, 0x58 +/* 8028FD38 0028CC98 B0 01 00 58 */ sth r0, 0x58(r1) +/* 8028FD3C 0028CC9C 4B DB C8 39 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FD40 0028CCA0 28 03 00 00 */ cmplwi r3, 0 +/* 8028FD44 0028CCA4 41 82 00 5C */ beq lbl_8028FDA0 +/* 8028FD48 0028CCA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FD4C 0028CCAC 38 80 00 01 */ li r4, 1 +/* 8028FD50 0028CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FD54 0028CCB4 7D 89 03 A6 */ mtctr r12 +/* 8028FD58 0028CCB8 4E 80 04 21 */ bctrl +/* 8028FD5C 0028CCBC 48 00 00 44 */ b lbl_8028FDA0 +lbl_8028FD60: +/* 8028FD60 0028CCC0 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FD64 0028CCC4 7F E4 FB 78 */ mr r4, r31 +/* 8028FD68 0028CCC8 38 A0 00 00 */ li r5, 0 +/* 8028FD6C 0028CCCC 4B F1 75 8D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 8028FD70 0028CCD0 A0 1E 0A 48 */ lhz r0, 0xa48(r30) +/* 8028FD74 0028CCD4 7F E3 FB 78 */ mr r3, r31 +/* 8028FD78 0028CCD8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8028FD7C 0028CCDC B0 01 00 54 */ sth r0, 0x54(r1) +/* 8028FD80 0028CCE0 4B DB C7 F5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FD84 0028CCE4 28 03 00 00 */ cmplwi r3, 0 +/* 8028FD88 0028CCE8 41 82 00 18 */ beq lbl_8028FDA0 +/* 8028FD8C 0028CCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 8028FD90 0028CCF0 38 80 00 00 */ li r4, 0 +/* 8028FD94 0028CCF4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028FD98 0028CCF8 7D 89 03 A6 */ mtctr r12 +/* 8028FD9C 0028CCFC 4E 80 04 21 */ bctrl +lbl_8028FDA0: +/* 8028FDA0 0028CD00 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDA4 0028CD04 7F C3 F3 78 */ mr r3, r30 +/* 8028FDA8 0028CD08 7F E4 FB 78 */ mr r4, r31 +/* 8028FDAC 0028CD0C 4B FF DA 39 */ bl sub_8028d7e4 +/* 8028FDB0 0028CD10 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDB4 0028CD14 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8028FDB8 0028CD18 7F E4 FB 78 */ mr r4, r31 +/* 8028FDBC 0028CD1C 38 A0 00 00 */ li r5, 0 +/* 8028FDC0 0028CD20 4B F1 76 91 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8028FDC4 0028CD24 FC 20 F8 90 */ fmr f1, f31 +/* 8028FDC8 0028CD28 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 8028FDCC 0028CD2C 7F E4 FB 78 */ mr r4, r31 +/* 8028FDD0 0028CD30 38 A0 00 00 */ li r5, 0 +/* 8028FDD4 0028CD34 4B F1 76 7D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 8028FDD8 0028CD38 A0 1E 0A 46 */ lhz r0, 0xa46(r30) +/* 8028FDDC 0028CD3C 7F E3 FB 78 */ mr r3, r31 +/* 8028FDE0 0028CD40 38 81 00 50 */ addi r4, r1, 0x50 +/* 8028FDE4 0028CD44 B0 01 00 50 */ sth r0, 0x50(r1) +/* 8028FDE8 0028CD48 4B DB C7 8D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FDEC 0028CD4C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8028FDF0 0028CD50 41 82 00 9C */ beq lbl_8028FE8C +/* 8028FDF4 0028CD54 7F C3 F3 78 */ mr r3, r30 +/* 8028FDF8 0028CD58 7F E4 FB 78 */ mr r4, r31 +/* 8028FDFC 0028CD5C 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE00 0028CD60 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE04 0028CD64 7D 89 03 A6 */ mtctr r12 +/* 8028FE08 0028CD68 4E 80 04 21 */ bctrl +/* 8028FE0C 0028CD6C C3 C3 00 00 */ lfs f30, 0(r3) +/* 8028FE10 0028CD70 7F A3 EB 78 */ mr r3, r29 +/* 8028FE14 0028CD74 81 9D 00 00 */ lwz r12, 0(r29) +/* 8028FE18 0028CD78 7F E4 FB 78 */ mr r4, r31 +/* 8028FE1C 0028CD7C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE20 0028CD80 7D 89 03 A6 */ mtctr r12 +/* 8028FE24 0028CD84 4E 80 04 21 */ bctrl +/* 8028FE28 0028CD88 7C 7D 1B 78 */ mr r29, r3 +/* 8028FE2C 0028CD8C 7F C3 F3 78 */ mr r3, r30 +/* 8028FE30 0028CD90 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE34 0028CD94 7F E4 FB 78 */ mr r4, r31 +/* 8028FE38 0028CD98 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE3C 0028CD9C 7D 89 03 A6 */ mtctr r12 +/* 8028FE40 0028CDA0 4E 80 04 21 */ bctrl +/* 8028FE44 0028CDA4 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8028FE48 0028CDA8 7F E4 FB 78 */ mr r4, r31 +/* 8028FE4C 0028CDAC D0 03 00 00 */ stfs f0, 0(r3) +/* 8028FE50 0028CDB0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028FE54 0028CDB4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8028FE58 0028CDB8 7F C3 F3 78 */ mr r3, r30 +/* 8028FE5C 0028CDBC 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE60 0028CDC0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE64 0028CDC4 7D 89 03 A6 */ mtctr r12 +/* 8028FE68 0028CDC8 4E 80 04 21 */ bctrl +/* 8028FE6C 0028CDCC C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FE70 0028CDD0 C0 1E 0B 5C */ lfs f0, 0xb5c(r30) +/* 8028FE74 0028CDD4 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 8028FE78 0028CDD8 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028FE7C 0028CDDC D0 1E 0B 5C */ stfs f0, 0xb5c(r30) +/* 8028FE80 0028CDE0 C0 1E 0B 60 */ lfs f0, 0xb60(r30) +/* 8028FE84 0028CDE4 EC 00 08 2A */ fadds f0, f0, f1 +/* 8028FE88 0028CDE8 D0 1E 0B 60 */ stfs f0, 0xb60(r30) +lbl_8028FE8C: +/* 8028FE8C 0028CDEC 7F C3 F3 78 */ mr r3, r30 +/* 8028FE90 0028CDF0 7F E4 FB 78 */ mr r4, r31 +/* 8028FE94 0028CDF4 81 9E 00 00 */ lwz r12, 0(r30) +/* 8028FE98 0028CDF8 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8028FE9C 0028CDFC 7D 89 03 A6 */ mtctr r12 +/* 8028FEA0 0028CE00 4E 80 04 21 */ bctrl +/* 8028FEA4 0028CE04 C0 23 00 00 */ lfs f1, 0(r3) +/* 8028FEA8 0028CE08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028FEAC 0028CE0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FEB0 0028CE10 4C 40 13 82 */ cror 2, 0, 2 +/* 8028FEB4 0028CE14 40 82 00 14 */ bne lbl_8028FEC8 +/* 8028FEB8 0028CE18 7F C3 F3 78 */ mr r3, r30 +/* 8028FEBC 0028CE1C 7F E4 FB 78 */ mr r4, r31 +/* 8028FEC0 0028CE20 4B FF B6 59 */ bl sub_8028b518 +/* 8028FEC4 0028CE24 48 00 00 BC */ b lbl_8028FF80 +lbl_8028FEC8: +/* 8028FEC8 0028CE28 C0 3E 0B 5C */ lfs f1, 0xb5c(r30) +/* 8028FECC 0028CE2C C0 02 BF 04 */ lfs f0, lbl_805ADC24@sda21(r2) +/* 8028FED0 0028CE30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FED4 0028CE34 40 81 00 10 */ ble lbl_8028FEE4 +/* 8028FED8 0028CE38 38 00 00 01 */ li r0, 1 +/* 8028FEDC 0028CE3C 98 1E 09 B4 */ stb r0, 0x9b4(r30) +/* 8028FEE0 0028CE40 48 00 00 A0 */ b lbl_8028FF80 +lbl_8028FEE4: +/* 8028FEE4 0028CE44 C0 3E 0B 60 */ lfs f1, 0xb60(r30) +/* 8028FEE8 0028CE48 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) +/* 8028FEEC 0028CE4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028FEF0 0028CE50 40 81 00 90 */ ble lbl_8028FF80 +/* 8028FEF4 0028CE54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028FEF8 0028CE58 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8028FEFC 0028CE5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028FF00 0028CE60 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8028FF04 0028CE64 3C 80 80 3E */ lis r4, lbl_803E10C8@ha +/* 8028FF08 0028CE68 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8028FF0C 0028CE6C 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l +/* 8028FF10 0028CE70 38 80 00 1A */ li r4, 0x1a +/* 8028FF14 0028CE74 38 A0 00 01 */ li r5, 1 +/* 8028FF18 0028CE78 38 00 00 00 */ li r0, 0 +/* 8028FF1C 0028CE7C 3B A3 00 04 */ addi r29, r3, 4 +/* 8028FF20 0028CE80 90 81 00 C4 */ stw r4, 0xc4(r1) +/* 8028FF24 0028CE84 7F A3 EB 78 */ mr r3, r29 +/* 8028FF28 0028CE88 38 80 00 1A */ li r4, 0x1a +/* 8028FF2C 0028CE8C 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8028FF30 0028CE90 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8028FF34 0028CE94 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 8028FF38 0028CE98 98 01 00 D0 */ stb r0, 0xd0(r1) +/* 8028FF3C 0028CE9C 4B EA 14 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8028FF40 0028CEA0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8028FF44 0028CEA4 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 8028FF48 0028CEA8 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 8028FF4C 0028CEAC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8028FF50 0028CEB0 90 1D 02 88 */ stw r0, 0x288(r29) +/* 8028FF54 0028CEB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8028FF58 0028CEB8 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8028FF5C 0028CEBC 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8028FF60 0028CEC0 D0 1D 02 8C */ stfs f0, 0x28c(r29) +/* 8028FF64 0028CEC4 88 61 00 D0 */ lbz r3, 0xd0(r1) +/* 8028FF68 0028CEC8 90 BD 02 90 */ stw r5, 0x290(r29) +/* 8028FF6C 0028CECC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8028FF70 0028CED0 98 7D 02 94 */ stb r3, 0x294(r29) +/* 8028FF74 0028CED4 90 81 00 C0 */ stw r4, 0xc0(r1) +/* 8028FF78 0028CED8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8028FF7C 0028CEDC D0 1E 0B 60 */ stfs f0, 0xb60(r30) +lbl_8028FF80: +/* 8028FF80 0028CEE0 FC 20 F8 90 */ fmr f1, f31 +/* 8028FF84 0028CEE4 7F C3 F3 78 */ mr r3, r30 +/* 8028FF88 0028CEE8 7F E4 FB 78 */ mr r4, r31 +/* 8028FF8C 0028CEEC 4B FF C7 79 */ bl sub_8028c704 +/* 8028FF90 0028CEF0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) +/* 8028FF94 0028CEF4 3B 60 00 00 */ li r27, 0 +/* 8028FF98 0028CEF8 3B A0 00 00 */ li r29, 0 +/* 8028FF9C 0028CEFC 48 00 00 90 */ b lbl_8029002C +lbl_8028FFA0: +/* 8028FFA0 0028CF00 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8028FFA4 0028CF04 7F E3 FB 78 */ mr r3, r31 +/* 8028FFA8 0028CF08 38 81 00 4C */ addi r4, r1, 0x4c +/* 8028FFAC 0028CF0C 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 8028FFB0 0028CF10 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 8028FFB4 0028CF14 4B DB C5 C1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8028FFB8 0028CF18 88 1E 0B 78 */ lbz r0, 0xb78(r30) +/* 8028FFBC 0028CF1C 7C 7A 1B 78 */ mr r26, r3 +/* 8028FFC0 0028CF20 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFC4 0028CF24 40 82 00 10 */ bne lbl_8028FFD4 +/* 8028FFC8 0028CF28 88 1E 0B 79 */ lbz r0, 0xb79(r30) +/* 8028FFCC 0028CF2C 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFD0 0028CF30 41 82 00 34 */ beq lbl_80290004 +lbl_8028FFD4: +/* 8028FFD4 0028CF34 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 8028FFD8 0028CF38 28 00 00 00 */ cmplwi r0, 0 +/* 8028FFDC 0028CF3C 40 82 00 28 */ bne lbl_80290004 +/* 8028FFE0 0028CF40 7F 43 D3 78 */ mr r3, r26 +/* 8028FFE4 0028CF44 7F E5 FB 78 */ mr r5, r31 +/* 8028FFE8 0028CF48 38 80 00 28 */ li r4, 0x28 +/* 8028FFEC 0028CF4C 4B DC 43 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8028FFF0 0028CF50 7F 43 D3 78 */ mr r3, r26 +/* 8028FFF4 0028CF54 7F E5 FB 78 */ mr r5, r31 +/* 8028FFF8 0028CF58 38 80 00 29 */ li r4, 0x29 +/* 8028FFFC 0028CF5C 4B DC 43 55 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290000 0028CF60 48 00 00 24 */ b lbl_80290024 +lbl_80290004: +/* 80290004 0028CF64 7F 43 D3 78 */ mr r3, r26 +/* 80290008 0028CF68 7F E5 FB 78 */ mr r5, r31 +/* 8029000C 0028CF6C 38 80 00 28 */ li r4, 0x28 +/* 80290010 0028CF70 4B DC 3F 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290014 0028CF74 7F 43 D3 78 */ mr r3, r26 +/* 80290018 0028CF78 7F E5 FB 78 */ mr r5, r31 +/* 8029001C 0028CF7C 38 80 00 29 */ li r4, 0x29 +/* 80290020 0028CF80 4B DC 3F 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80290024: +/* 80290024 0028CF84 3B 7B 00 01 */ addi r27, r27, 1 +/* 80290028 0028CF88 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_8029002C: +/* 8029002C 0028CF8C 7C 1B E0 40 */ cmplw r27, r28 +/* 80290030 0028CF90 41 80 FF 70 */ blt lbl_8028FFA0 +/* 80290034 0028CF94 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80290038 0028CF98 80 7E 05 D4 */ lwz r3, 0x5d4(r30) +/* 8029003C 0028CF9C 83 A4 00 00 */ lwz r29, 0(r4) +/* 80290040 0028CFA0 4B F1 73 7D */ bl GetActive__22CCollisionActorManagerCFv +/* 80290044 0028CFA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290048 0028CFA8 41 82 00 C4 */ beq lbl_8029010C +/* 8029004C 0028CFAC 88 1D 00 00 */ lbz r0, 0(r29) +/* 80290050 0028CFB0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80290054 0028CFB4 41 82 00 B8 */ beq lbl_8029010C +/* 80290058 0028CFB8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029005C 0028CFBC 2C 00 00 02 */ cmpwi r0, 2 +/* 80290060 0028CFC0 40 82 00 AC */ bne lbl_8029010C +/* 80290064 0028CFC4 88 1E 0A D8 */ lbz r0, 0xad8(r30) +/* 80290068 0028CFC8 28 00 00 00 */ cmplwi r0, 0 +/* 8029006C 0028CFCC 41 82 00 A0 */ beq lbl_8029010C +/* 80290070 0028CFD0 7F C3 F3 78 */ mr r3, r30 +/* 80290074 0028CFD4 7F E5 FB 78 */ mr r5, r31 +/* 80290078 0028CFD8 38 80 00 28 */ li r4, 0x28 +/* 8029007C 0028CFDC 4B DC 42 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290080 0028CFE0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80290084 0028CFE4 38 81 00 48 */ addi r4, r1, 0x48 +/* 80290088 0028CFE8 B0 01 00 48 */ sth r0, 0x48(r1) +/* 8029008C 0028CFEC B0 01 00 44 */ sth r0, 0x44(r1) +/* 80290090 0028CFF0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80290094 0028CFF4 4B D8 9D 11 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId +/* 80290098 0028CFF8 83 5E 09 E0 */ lwz r26, 0x9e0(r30) +/* 8029009C 0028CFFC 3B 60 00 00 */ li r27, 0 +/* 802900A0 0028D000 3B A0 00 00 */ li r29, 0 +/* 802900A4 0028D004 48 00 00 38 */ b lbl_802900DC +lbl_802900A8: +/* 802900A8 0028D008 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 802900AC 0028D00C 7F E3 FB 78 */ mr r3, r31 +/* 802900B0 0028D010 38 81 00 40 */ addi r4, r1, 0x40 +/* 802900B4 0028D014 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 802900B8 0028D018 B0 01 00 40 */ sth r0, 0x40(r1) +/* 802900BC 0028D01C 4B DB C4 B9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802900C0 0028D020 28 03 00 00 */ cmplwi r3, 0 +/* 802900C4 0028D024 41 82 00 10 */ beq lbl_802900D4 +/* 802900C8 0028D028 7F E5 FB 78 */ mr r5, r31 +/* 802900CC 0028D02C 38 80 00 28 */ li r4, 0x28 +/* 802900D0 0028D030 4B DC 3E B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802900D4: +/* 802900D4 0028D034 3B 7B 00 01 */ addi r27, r27, 1 +/* 802900D8 0028D038 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_802900DC: +/* 802900DC 0028D03C 7C 1B D0 40 */ cmplw r27, r26 +/* 802900E0 0028D040 41 80 FF C8 */ blt lbl_802900A8 +/* 802900E4 0028D044 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802900E8 0028D048 7F E5 FB 78 */ mr r5, r31 +/* 802900EC 0028D04C 38 81 00 3C */ addi r4, r1, 0x3c +/* 802900F0 0028D050 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 802900F4 0028D054 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802900F8 0028D058 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802900FC 0028D05C 80 63 04 90 */ lwz r3, 0x490(r3) +/* 80290100 0028D060 80 63 07 44 */ lwz r3, 0x744(r3) +/* 80290104 0028D064 4B F2 98 1D */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +/* 80290108 0028D068 48 00 01 1C */ b lbl_80290224 +lbl_8029010C: +/* 8029010C 0028D06C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) +/* 80290110 0028D070 28 00 00 00 */ cmplwi r0, 0 +/* 80290114 0028D074 40 82 01 10 */ bne lbl_80290224 +/* 80290118 0028D078 7F C3 F3 78 */ mr r3, r30 +/* 8029011C 0028D07C 7F E5 FB 78 */ mr r5, r31 +/* 80290120 0028D080 38 80 00 28 */ li r4, 0x28 +/* 80290124 0028D084 4B DC 3E 5D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290128 0028D088 83 5E 09 E0 */ lwz r26, 0x9e0(r30) +/* 8029012C 0028D08C 3B 60 00 00 */ li r27, 0 +/* 80290130 0028D090 3B A0 00 00 */ li r29, 0 +/* 80290134 0028D094 48 00 00 50 */ b lbl_80290184 +lbl_80290138: +/* 80290138 0028D098 80 BE 09 E8 */ lwz r5, 0x9e8(r30) +/* 8029013C 0028D09C 7F E3 FB 78 */ mr r3, r31 +/* 80290140 0028D0A0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80290144 0028D0A4 7C 05 EA 2E */ lhzx r0, r5, r29 +/* 80290148 0028D0A8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8029014C 0028D0AC 4B DB C4 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290150 0028D0B0 28 03 00 00 */ cmplwi r3, 0 +/* 80290154 0028D0B4 41 82 00 28 */ beq lbl_8029017C +/* 80290158 0028D0B8 88 1E 0B 78 */ lbz r0, 0xb78(r30) +/* 8029015C 0028D0BC 28 00 00 00 */ cmplwi r0, 0 +/* 80290160 0028D0C0 40 82 00 10 */ bne lbl_80290170 +/* 80290164 0028D0C4 88 1E 0B 79 */ lbz r0, 0xb79(r30) +/* 80290168 0028D0C8 28 00 00 00 */ cmplwi r0, 0 +/* 8029016C 0028D0CC 41 82 00 10 */ beq lbl_8029017C +lbl_80290170: +/* 80290170 0028D0D0 7F E5 FB 78 */ mr r5, r31 +/* 80290174 0028D0D4 38 80 00 28 */ li r4, 0x28 +/* 80290178 0028D0D8 4B DC 41 D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8029017C: +/* 8029017C 0028D0DC 3B 7B 00 01 */ addi r27, r27, 1 +/* 80290180 0028D0E0 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_80290184: +/* 80290184 0028D0E4 7C 1B D0 40 */ cmplw r27, r26 +/* 80290188 0028D0E8 41 80 FF B0 */ blt lbl_80290138 +/* 8029018C 0028D0EC 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80290190 0028D0F0 7F E5 FB 78 */ mr r5, r31 +/* 80290194 0028D0F4 A3 BE 00 08 */ lhz r29, 8(r30) +/* 80290198 0028D0F8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8029019C 0028D0FC 80 84 04 90 */ lwz r4, 0x490(r4) +/* 802901A0 0028D100 80 84 07 44 */ lwz r4, 0x744(r4) +/* 802901A4 0028D104 4B F2 97 15 */ bl HasTarget__10CAuxWeaponCFRC13CStateManager +/* 802901A8 0028D108 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 802901AC 0028D10C 7C 00 E8 40 */ cmplw r0, r29 +/* 802901B0 0028D110 40 82 00 74 */ bne lbl_80290224 +/* 802901B4 0028D114 83 BF 08 4C */ lwz r29, 0x84c(r31) +/* 802901B8 0028D118 7F E5 FB 78 */ mr r5, r31 +/* 802901BC 0028D11C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802901C0 0028D120 A0 1D 03 10 */ lhz r0, 0x310(r29) +/* 802901C4 0028D124 7F A3 EB 78 */ mr r3, r29 +/* 802901C8 0028D128 B0 01 00 28 */ sth r0, 0x28(r1) +/* 802901CC 0028D12C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 802901D0 0028D130 4B EE EE AD */ bl ValidateOrbitTargetId__7CPlayerCF9TUniqueIdR13CStateManager +/* 802901D4 0028D134 2C 03 00 00 */ cmpwi r3, 0 +/* 802901D8 0028D138 40 82 00 2C */ bne lbl_80290204 +/* 802901DC 0028D13C A0 1D 03 10 */ lhz r0, 0x310(r29) +/* 802901E0 0028D140 7F E5 FB 78 */ mr r5, r31 +/* 802901E4 0028D144 38 81 00 24 */ addi r4, r1, 0x24 +/* 802901E8 0028D148 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802901EC 0028D14C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802901F0 0028D150 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802901F4 0028D154 80 63 04 90 */ lwz r3, 0x490(r3) +/* 802901F8 0028D158 80 63 07 44 */ lwz r3, 0x744(r3) +/* 802901FC 0028D15C 4B F2 97 25 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +/* 80290200 0028D160 48 00 00 24 */ b lbl_80290224 +lbl_80290204: +/* 80290204 0028D164 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80290208 0028D168 7F E5 FB 78 */ mr r5, r31 +/* 8029020C 0028D16C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80290210 0028D170 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80290214 0028D174 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80290218 0028D178 80 63 04 90 */ lwz r3, 0x490(r3) +/* 8029021C 0028D17C 80 63 07 44 */ lwz r3, 0x744(r3) +/* 80290220 0028D180 4B F2 97 01 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager +lbl_80290224: +/* 80290224 0028D184 A0 1E 07 72 */ lhz r0, 0x772(r30) +/* 80290228 0028D188 7F E3 FB 78 */ mr r3, r31 +/* 8029022C 0028D18C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80290230 0028D190 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80290234 0028D194 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80290238 0028D198 4B DB C3 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029023C 0028D19C 28 03 00 00 */ cmplwi r3, 0 +/* 80290240 0028D1A0 41 82 00 0C */ beq lbl_8029024C +/* 80290244 0028D1A4 88 1E 0A DF */ lbz r0, 0xadf(r30) +/* 80290248 0028D1A8 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_8029024C: +/* 8029024C 0028D1AC A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290250 0028D1B0 7F E3 FB 78 */ mr r3, r31 +/* 80290254 0028D1B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80290258 0028D1B8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8029025C 0028D1BC 4B DB C3 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290260 0028D1C0 28 03 00 00 */ cmplwi r3, 0 +/* 80290264 0028D1C4 41 82 00 0C */ beq lbl_80290270 +/* 80290268 0028D1C8 88 1E 0A E0 */ lbz r0, 0xae0(r30) +/* 8029026C 0028D1CC 98 03 03 FE */ stb r0, 0x3fe(r3) +lbl_80290270: +/* 80290270 0028D1D0 88 1E 09 EC */ lbz r0, 0x9ec(r30) +/* 80290274 0028D1D4 28 00 00 00 */ cmplwi r0, 0 +/* 80290278 0028D1D8 41 82 00 48 */ beq lbl_802902C0 +/* 8029027C 0028D1DC 38 00 00 00 */ li r0, 0 +/* 80290280 0028D1E0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha +/* 80290284 0028D1E4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l +/* 80290288 0028D1E8 98 1E 09 EC */ stb r0, 0x9ec(r30) +/* 8029028C 0028D1EC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80290290 0028D1F0 38 84 00 E2 */ addi r4, r4, 0xe2 +/* 80290294 0028D1F4 4B D7 4A 25 */ bl string_l__4rstlFPCc +/* 80290298 0028D1F8 7F C3 F3 78 */ mr r3, r30 +/* 8029029C 0028D1FC 4B E1 26 5D */ bl GetStateMachine__3CAiFv +/* 802902A0 0028D200 7C 66 1B 78 */ mr r6, r3 +/* 802902A4 0028D204 7F E4 FB 78 */ mr r4, r31 +/* 802902A8 0028D208 7F C5 F3 78 */ mr r5, r30 +/* 802902AC 0028D20C 38 7E 03 30 */ addi r3, r30, 0x330 +/* 802902B0 0028D210 38 E1 00 88 */ addi r7, r1, 0x88 +/* 802902B4 0028D214 4B DE F9 51 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802902B8 0028D218 38 61 00 88 */ addi r3, r1, 0x88 +/* 802902BC 0028D21C 48 0A D8 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802902C0: +/* 802902C0 0028D220 80 1E 0B 68 */ lwz r0, 0xb68(r30) +/* 802902C4 0028D224 28 00 00 02 */ cmplwi r0, 2 +/* 802902C8 0028D228 41 80 00 DC */ blt lbl_802903A4 +/* 802902CC 0028D22C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802902D0 0028D230 38 61 00 78 */ addi r3, r1, 0x78 +/* 802902D4 0028D234 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802902D8 0028D238 38 84 00 EB */ addi r4, r4, 0xeb +/* 802902DC 0028D23C 4B D7 49 DD */ bl string_l__4rstlFPCc +/* 802902E0 0028D240 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802902E4 0028D244 38 61 00 68 */ addi r3, r1, 0x68 +/* 802902E8 0028D248 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802902EC 0028D24C 38 84 00 EC */ addi r4, r4, 0xec +/* 802902F0 0028D250 4B D7 49 C9 */ bl string_l__4rstlFPCc +/* 802902F4 0028D254 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 802902F8 0028D258 38 61 00 60 */ addi r3, r1, 0x60 +/* 802902FC 0028D25C 48 0B 8A F1 */ bl __ct__13CCharAnimTimeFf +/* 80290300 0028D260 38 00 00 00 */ li r0, 0 +/* 80290304 0028D264 7C 66 1B 78 */ mr r6, r3 +/* 80290308 0028D268 90 01 00 08 */ stw r0, 8(r1) +/* 8029030C 0028D26C 38 01 00 68 */ addi r0, r1, 0x68 +/* 80290310 0028D270 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) +/* 80290314 0028D274 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80290318 0028D278 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029031C 0028D27C 38 81 00 78 */ addi r4, r1, 0x78 +/* 80290320 0028D280 38 A0 00 02 */ li r5, 2 +/* 80290324 0028D284 38 E0 FF FF */ li r7, -1 +/* 80290328 0028D288 39 00 00 00 */ li r8, 0 +/* 8029032C 0028D28C 39 20 FF FF */ li r9, -1 +/* 80290330 0028D290 39 40 00 00 */ li r10, 0 +/* 80290334 0028D294 4B D9 B0 59 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290338 0028D298 7F C3 F3 78 */ mr r3, r30 +/* 8029033C 0028D29C FC 20 F8 90 */ fmr f1, f31 +/* 80290340 0028D2A0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80290344 0028D2A4 7F E4 FB 78 */ mr r4, r31 +/* 80290348 0028D2A8 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 8029034C 0028D2AC 38 C0 00 19 */ li r6, 0x19 +/* 80290350 0028D2B0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80290354 0028D2B4 7D 89 03 A6 */ mtctr r12 +/* 80290358 0028D2B8 4E 80 04 21 */ bctrl +/* 8029035C 0028D2BC 3C 80 80 3E */ lis r4, lbl_803D9B98@ha +/* 80290360 0028D2C0 34 61 01 10 */ addic. r3, r1, 0x110 +/* 80290364 0028D2C4 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l +/* 80290368 0028D2C8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8029036C 0028D2CC 41 82 00 08 */ beq lbl_80290374 +/* 80290370 0028D2D0 48 0A D7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80290374: +/* 80290374 0028D2D4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha +/* 80290378 0028D2D8 34 61 00 DC */ addic. r3, r1, 0xdc +/* 8029037C 0028D2DC 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l +/* 80290380 0028D2E0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80290384 0028D2E4 41 82 00 08 */ beq lbl_8029038C +/* 80290388 0028D2E8 48 0A D7 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029038C: +/* 8029038C 0028D2EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80290390 0028D2F0 48 0A D7 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290394 0028D2F4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80290398 0028D2F8 48 0A D7 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029039C 0028D2FC 38 00 00 00 */ li r0, 0 +/* 802903A0 0028D300 90 1E 0B 68 */ stw r0, 0xb68(r30) +lbl_802903A4: +/* 802903A4 0028D304 C0 3E 0B 8C */ lfs f1, 0xb8c(r30) +/* 802903A8 0028D308 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 802903AC 0028D30C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802903B0 0028D310 40 81 00 4C */ ble lbl_802903FC +/* 802903B4 0028D314 7F C4 F3 78 */ mr r4, r30 +/* 802903B8 0028D318 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802903BC 0028D31C 4B E8 A5 71 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802903C0 0028D320 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 802903C4 0028D324 FC 20 F8 90 */ fmr f1, f31 +/* 802903C8 0028D328 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802903CC 0028D32C 7F E3 FB 78 */ mr r3, r31 +/* 802903D0 0028D330 C0 62 BE C4 */ lfs f3, lbl_805ADBE4@sda21(r2) +/* 802903D4 0028D334 7F C4 F3 78 */ mr r4, r30 +/* 802903D8 0028D338 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802903DC 0028D33C C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 802903E0 0028D340 38 A0 00 08 */ li r5, 8 +/* 802903E4 0028D344 C0 82 BF 0C */ lfs f4, lbl_805ADC2C@sda21(r2) +/* 802903E8 0028D348 EC 63 00 32 */ fmuls f3, f3, f0 +/* 802903EC 0028D34C C0 A2 BE A8 */ lfs f5, lbl_805ADBC8@sda21(r2) +/* 802903F0 0028D350 4B EE F7 95 */ bl sub_8017fb84 +/* 802903F4 0028D354 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 802903F8 0028D358 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) +lbl_802903FC: +/* 802903FC 0028D35C C0 1E 0B 8C */ lfs f0, 0xb8c(r30) +/* 80290400 0028D360 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80290404 0028D364 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) +lbl_80290408: +/* 80290408 0028D368 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 +/* 8029040C 0028D36C CB E1 01 60 */ lfd f31, 0x160(r1) +/* 80290410 0028D370 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 +/* 80290414 0028D374 CB C1 01 50 */ lfd f30, 0x150(r1) +/* 80290418 0028D378 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 +/* 8029041C 0028D37C CB A1 01 40 */ lfd f29, 0x140(r1) +/* 80290420 0028D380 BB 41 01 28 */ lmw r26, 0x128(r1) +/* 80290424 0028D384 80 01 01 74 */ lwz r0, 0x174(r1) +/* 80290428 0028D388 7C 08 03 A6 */ mtlr r0 +/* 8029042C 0028D38C 38 21 01 70 */ addi r1, r1, 0x170 +/* 80290430 0028D390 4E 80 00 20 */ blr + +.global sub_80290434 +sub_80290434: +/* 80290434 0028D394 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290438 0028D398 7C 08 02 A6 */ mflr r0 +/* 8029043C 0028D39C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290440 0028D3A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290444 0028D3A4 7C 9F 23 78 */ mr r31, r4 +/* 80290448 0028D3A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029044C 0028D3AC 7C 7E 1B 78 */ mr r30, r3 +/* 80290450 0028D3B0 4B F9 8C C5 */ bl sub_80229114 +/* 80290454 0028D3B4 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290458 0028D3B8 7F C3 F3 78 */ mr r3, r30 +/* 8029045C 0028D3BC 7F E4 FB 78 */ mr r4, r31 +/* 80290460 0028D3C0 38 A1 00 08 */ addi r5, r1, 8 +/* 80290464 0028D3C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80290468 0028D3C8 4B F9 8B C5 */ bl sub_8022902c +/* 8029046C 0028D3CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80290470 0028D3D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80290474 0028D3D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80290478 0028D3D8 7C 08 03 A6 */ mtlr r0 +/* 8029047C 0028D3DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80290480 0028D3E0 4E 80 00 20 */ blr + +.global AggressionCheck__12COmegaPirateFR13CStateManagerf +AggressionCheck__12COmegaPirateFR13CStateManagerf: +/* 80290484 0028D3E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80290488 0028D3E8 7C 08 02 A6 */ mflr r0 +/* 8029048C 0028D3EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80290490 0028D3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80290494 0028D3F4 3B E0 00 00 */ li r31, 0 +/* 80290498 0028D3F8 A0 A3 09 90 */ lhz r5, 0x990(r3) +/* 8029049C 0028D3FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802904A0 0028D400 7C 05 00 40 */ cmplw r5, r0 +/* 802904A4 0028D404 40 82 00 14 */ bne lbl_802904B8 +/* 802904A8 0028D408 4B F9 B8 2D */ bl AggressionCheck__12CElitePirateFR13CStateManagerf +/* 802904AC 0028D40C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802904B0 0028D410 41 82 00 08 */ beq lbl_802904B8 +/* 802904B4 0028D414 3B E0 00 01 */ li r31, 1 +lbl_802904B8: +/* 802904B8 0028D418 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802904BC 0028D41C 7F E3 FB 78 */ mr r3, r31 +/* 802904C0 0028D420 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802904C4 0028D424 7C 08 03 A6 */ mtlr r0 +/* 802904C8 0028D428 38 21 00 10 */ addi r1, r1, 0x10 +/* 802904CC 0028D42C 4E 80 00 20 */ blr + +.global ShotAt__12COmegaPirateFR13CStateManagerf +ShotAt__12COmegaPirateFR13CStateManagerf: +/* 802904D0 0028D430 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802904D4 0028D434 7C 08 02 A6 */ mflr r0 +/* 802904D8 0028D438 90 01 00 14 */ stw r0, 0x14(r1) +/* 802904DC 0028D43C 4B F9 B9 51 */ bl ShotAt__12CElitePirateFR13CStateManagerf +/* 802904E0 0028D440 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802904E4 0028D444 7C 08 03 A6 */ mtlr r0 +/* 802904E8 0028D448 38 21 00 10 */ addi r1, r1, 0x10 +/* 802904EC 0028D44C 4E 80 00 20 */ blr + +.global ShouldCallForBackup__12COmegaPirateFR13CStateManagerf +ShouldCallForBackup__12COmegaPirateFR13CStateManagerf: +/* 802904F0 0028D450 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802904F4 0028D454 7C 08 02 A6 */ mflr r0 +/* 802904F8 0028D458 90 01 00 34 */ stw r0, 0x34(r1) +/* 802904FC 0028D45C DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80290500 0028D460 FF E0 08 90 */ fmr f31, f1 +/* 80290504 0028D464 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80290508 0028D468 3B E0 00 00 */ li r31, 0 +/* 8029050C 0028D46C 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80290510 0028D470 7C 9E 23 78 */ mr r30, r4 +/* 80290514 0028D474 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80290518 0028D478 7C 7D 1B 78 */ mr r29, r3 +/* 8029051C 0028D47C 4B F9 B9 69 */ bl ShouldCallForBackup__12CElitePirateFR13CStateManagerf +/* 80290520 0028D480 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290524 0028D484 41 82 00 2C */ beq lbl_80290550 +/* 80290528 0028D488 A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 8029052C 0028D48C FC 20 F8 90 */ fmr f1, f31 +/* 80290530 0028D490 7F A3 EB 78 */ mr r3, r29 +/* 80290534 0028D494 7F C4 F3 78 */ mr r4, r30 +/* 80290538 0028D498 B0 01 00 08 */ sth r0, 8(r1) +/* 8029053C 0028D49C 38 A1 00 08 */ addi r5, r1, 8 +/* 80290540 0028D4A0 4B F9 B8 F9 */ bl sub_8022be38 +/* 80290544 0028D4A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80290548 0028D4A8 41 82 00 08 */ beq lbl_80290550 +/* 8029054C 0028D4AC 3B E0 00 01 */ li r31, 1 +lbl_80290550: +/* 80290550 0028D4B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80290554 0028D4B4 7F E3 FB 78 */ mr r3, r31 +/* 80290558 0028D4B8 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8029055C 0028D4BC 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80290560 0028D4C0 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80290564 0028D4C4 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 80290568 0028D4C8 7C 08 03 A6 */ mtlr r0 +/* 8029056C 0028D4CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80290570 0028D4D0 4E 80 00 20 */ blr + +.global ShouldFire__12COmegaPirateFR13CStateManagerf +ShouldFire__12COmegaPirateFR13CStateManagerf: +/* 80290574 0028D4D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290578 0028D4D8 7C 08 02 A6 */ mflr r0 +/* 8029057C 0028D4DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290580 0028D4E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290584 0028D4E4 3B E0 00 01 */ li r31, 1 +/* 80290588 0028D4E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029058C 0028D4EC 7C 9E 23 78 */ mr r30, r4 +/* 80290590 0028D4F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80290594 0028D4F4 7C 7D 1B 78 */ mr r29, r3 +/* 80290598 0028D4F8 4B F9 BC ED */ bl ShouldFire__12CElitePirateFR13CStateManagerf +/* 8029059C 0028D4FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802905A0 0028D500 40 82 00 28 */ bne lbl_802905C8 +/* 802905A4 0028D504 A0 1D 09 90 */ lhz r0, 0x990(r29) +/* 802905A8 0028D508 7F A3 EB 78 */ mr r3, r29 +/* 802905AC 0028D50C 7F C4 F3 78 */ mr r4, r30 +/* 802905B0 0028D510 38 A1 00 08 */ addi r5, r1, 8 +/* 802905B4 0028D514 B0 01 00 08 */ sth r0, 8(r1) +/* 802905B8 0028D518 4B F9 BA 65 */ bl sub_8022c01c +/* 802905BC 0028D51C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802905C0 0028D520 40 82 00 08 */ bne lbl_802905C8 +/* 802905C4 0028D524 3B E0 00 00 */ li r31, 0 +lbl_802905C8: +/* 802905C8 0028D528 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802905CC 0028D52C 7F E3 FB 78 */ mr r3, r31 +/* 802905D0 0028D530 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802905D4 0028D534 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802905D8 0028D538 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802905DC 0028D53C 7C 08 03 A6 */ mtlr r0 +/* 802905E0 0028D540 38 21 00 20 */ addi r1, r1, 0x20 +/* 802905E4 0028D544 4E 80 00 20 */ blr + +.global DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 802905E8 0028D548 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802905EC 0028D54C 7C 08 02 A6 */ mflr r0 +/* 802905F0 0028D550 28 06 00 19 */ cmplwi r6, 0x19 +/* 802905F4 0028D554 90 01 00 34 */ stw r0, 0x34(r1) +/* 802905F8 0028D558 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802905FC 0028D55C 7C 9F 23 78 */ mr r31, r4 +/* 80290600 0028D560 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80290604 0028D564 7C 7E 1B 78 */ mr r30, r3 +/* 80290608 0028D568 41 81 01 E8 */ bgt lbl_802907F0 +/* 8029060C 0028D56C 3C E0 80 3F */ lis r7, lbl_803EB754@ha +/* 80290610 0028D570 54 C0 10 3A */ slwi r0, r6, 2 +/* 80290614 0028D574 38 E7 B7 54 */ addi r7, r7, lbl_803EB754@l +/* 80290618 0028D578 7C 07 00 2E */ lwzx r0, r7, r0 +/* 8029061C 0028D57C 7C 09 03 A6 */ mtctr r0 +/* 80290620 0028D580 4E 80 04 20 */ bctr +/* 80290624 0028D584 4B F9 BD DD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290628 0028D588 48 00 01 D4 */ b lbl_802907FC +/* 8029062C 0028D58C 4B F9 BD D5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290630 0028D590 48 00 01 CC */ b lbl_802907FC +/* 80290634 0028D594 4B F9 BD CD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290638 0028D598 48 00 01 C4 */ b lbl_802907FC +/* 8029063C 0028D59C 4B F9 BD C5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290640 0028D5A0 48 00 01 BC */ b lbl_802907FC +/* 80290644 0028D5A4 4B F9 BD BD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290648 0028D5A8 48 00 01 B4 */ b lbl_802907FC +/* 8029064C 0028D5AC 4B F9 BD B5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 80290650 0028D5B0 48 00 01 AC */ b lbl_802907FC +/* 80290654 0028D5B4 A0 7E 09 90 */ lhz r3, 0x990(r30) +/* 80290658 0028D5B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029065C 0028D5BC 7C 03 00 40 */ cmplw r3, r0 +/* 80290660 0028D5C0 41 82 01 9C */ beq lbl_802907FC +/* 80290664 0028D5C4 A0 1E 09 90 */ lhz r0, 0x990(r30) +/* 80290668 0028D5C8 7F E3 FB 78 */ mr r3, r31 +/* 8029066C 0028D5CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80290670 0028D5D0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80290674 0028D5D4 4B DB BF 01 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290678 0028D5D8 7C 64 1B 79 */ or. r4, r3, r3 +/* 8029067C 0028D5DC 41 82 01 80 */ beq lbl_802907FC +/* 80290680 0028D5E0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80290684 0028D5E4 7F E3 FB 78 */ mr r3, r31 +/* 80290688 0028D5E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029068C 0028D5EC 38 C0 00 13 */ li r6, 0x13 +/* 80290690 0028D5F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80290694 0028D5F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80290698 0028D5F8 4B DB 38 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8029069C 0028D5FC 48 00 01 60 */ b lbl_802907FC +/* 802906A0 0028D600 80 1E 09 94 */ lwz r0, 0x994(r30) +/* 802906A4 0028D604 2C 00 00 02 */ cmpwi r0, 2 +/* 802906A8 0028D608 41 82 01 54 */ beq lbl_802907FC +/* 802906AC 0028D60C 88 1E 09 A1 */ lbz r0, 0x9a1(r30) +/* 802906B0 0028D610 28 00 00 00 */ cmplwi r0, 0 +/* 802906B4 0028D614 41 82 01 48 */ beq lbl_802907FC +/* 802906B8 0028D618 38 60 00 01 */ li r3, 1 +/* 802906BC 0028D61C 38 00 00 03 */ li r0, 3 +/* 802906C0 0028D620 90 7E 09 94 */ stw r3, 0x994(r30) +/* 802906C4 0028D624 90 1E 0A 30 */ stw r0, 0xa30(r30) +/* 802906C8 0028D628 48 00 01 34 */ b lbl_802907FC +/* 802906CC 0028D62C 38 00 00 01 */ li r0, 1 +/* 802906D0 0028D630 98 1E 09 A1 */ stb r0, 0x9a1(r30) +/* 802906D4 0028D634 48 00 01 28 */ b lbl_802907FC +/* 802906D8 0028D638 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 802906DC 0028D63C 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 802906E0 0028D640 54 00 10 3A */ slwi r0, r0, 2 +/* 802906E4 0028D644 7C 03 02 14 */ add r0, r3, r0 +/* 802906E8 0028D648 90 61 00 18 */ stw r3, 0x18(r1) +/* 802906EC 0028D64C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802906F0 0028D650 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802906F4 0028D654 90 61 00 14 */ stw r3, 0x14(r1) +/* 802906F8 0028D658 48 00 00 08 */ b lbl_80290700 +lbl_802906FC: +/* 802906FC 0028D65C 38 63 00 04 */ addi r3, r3, 4 +lbl_80290700: +/* 80290700 0028D660 7C 03 00 40 */ cmplw r3, r0 +/* 80290704 0028D664 40 82 FF F8 */ bne lbl_802906FC +/* 80290708 0028D668 38 00 00 00 */ li r0, 0 +/* 8029070C 0028D66C 90 1E 0A B8 */ stw r0, 0xab8(r30) +/* 80290710 0028D670 90 1E 0A C8 */ stw r0, 0xac8(r30) +/* 80290714 0028D674 80 7E 0A CC */ lwz r3, 0xacc(r30) +/* 80290718 0028D678 38 03 00 01 */ addi r0, r3, 1 +/* 8029071C 0028D67C 90 1E 0A CC */ stw r0, 0xacc(r30) +/* 80290720 0028D680 80 1E 0A C4 */ lwz r0, 0xac4(r30) +/* 80290724 0028D684 2C 00 00 02 */ cmpwi r0, 2 +/* 80290728 0028D688 41 82 00 5C */ beq lbl_80290784 +/* 8029072C 0028D68C 40 80 00 14 */ bge lbl_80290740 +/* 80290730 0028D690 2C 00 00 00 */ cmpwi r0, 0 +/* 80290734 0028D694 41 82 00 18 */ beq lbl_8029074C +/* 80290738 0028D698 40 80 00 28 */ bge lbl_80290760 +/* 8029073C 0028D69C 48 00 00 9C */ b lbl_802907D8 +lbl_80290740: +/* 80290740 0028D6A0 2C 00 00 04 */ cmpwi r0, 4 +/* 80290744 0028D6A4 40 80 00 94 */ bge lbl_802907D8 +/* 80290748 0028D6A8 48 00 00 60 */ b lbl_802907A8 +lbl_8029074C: +/* 8029074C 0028D6AC 7F C3 F3 78 */ mr r3, r30 +/* 80290750 0028D6B0 7F E5 FB 78 */ mr r5, r31 +/* 80290754 0028D6B4 38 80 00 02 */ li r4, 2 +/* 80290758 0028D6B8 4B FF C4 95 */ bl sub_8028cbec +/* 8029075C 0028D6BC 48 00 00 7C */ b lbl_802907D8 +lbl_80290760: +/* 80290760 0028D6C0 7F C3 F3 78 */ mr r3, r30 +/* 80290764 0028D6C4 7F E5 FB 78 */ mr r5, r31 +/* 80290768 0028D6C8 38 80 00 01 */ li r4, 1 +/* 8029076C 0028D6CC 4B FF C4 81 */ bl sub_8028cbec +/* 80290770 0028D6D0 7F C3 F3 78 */ mr r3, r30 +/* 80290774 0028D6D4 7F E5 FB 78 */ mr r5, r31 +/* 80290778 0028D6D8 38 80 00 01 */ li r4, 1 +/* 8029077C 0028D6DC 4B FF C4 71 */ bl sub_8028cbec +/* 80290780 0028D6E0 48 00 00 58 */ b lbl_802907D8 +lbl_80290784: +/* 80290784 0028D6E4 7F C3 F3 78 */ mr r3, r30 +/* 80290788 0028D6E8 7F E5 FB 78 */ mr r5, r31 +/* 8029078C 0028D6EC 38 80 00 02 */ li r4, 2 +/* 80290790 0028D6F0 4B FF C4 5D */ bl sub_8028cbec +/* 80290794 0028D6F4 7F C3 F3 78 */ mr r3, r30 +/* 80290798 0028D6F8 7F E5 FB 78 */ mr r5, r31 +/* 8029079C 0028D6FC 38 80 00 01 */ li r4, 1 +/* 802907A0 0028D700 4B FF C4 4D */ bl sub_8028cbec +/* 802907A4 0028D704 48 00 00 34 */ b lbl_802907D8 +lbl_802907A8: +/* 802907A8 0028D708 7F C3 F3 78 */ mr r3, r30 +/* 802907AC 0028D70C 7F E5 FB 78 */ mr r5, r31 +/* 802907B0 0028D710 38 80 00 01 */ li r4, 1 +/* 802907B4 0028D714 4B FF C4 39 */ bl sub_8028cbec +/* 802907B8 0028D718 7F C3 F3 78 */ mr r3, r30 +/* 802907BC 0028D71C 7F E5 FB 78 */ mr r5, r31 +/* 802907C0 0028D720 38 80 00 01 */ li r4, 1 +/* 802907C4 0028D724 4B FF C4 29 */ bl sub_8028cbec +/* 802907C8 0028D728 7F C3 F3 78 */ mr r3, r30 +/* 802907CC 0028D72C 7F E5 FB 78 */ mr r5, r31 +/* 802907D0 0028D730 38 80 00 01 */ li r4, 1 +/* 802907D4 0028D734 4B FF C4 19 */ bl sub_8028cbec +lbl_802907D8: +/* 802907D8 0028D738 7F C3 F3 78 */ mr r3, r30 +/* 802907DC 0028D73C 7F E5 FB 78 */ mr r5, r31 +/* 802907E0 0028D740 38 80 00 01 */ li r4, 1 +/* 802907E4 0028D744 38 C0 FF FF */ li r6, -1 +/* 802907E8 0028D748 4B DC 08 D9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 802907EC 0028D74C 48 00 00 10 */ b lbl_802907FC +lbl_802907F0: +/* 802907F0 0028D750 7F C3 F3 78 */ mr r3, r30 +/* 802907F4 0028D754 7F E4 FB 78 */ mr r4, r31 +/* 802907F8 0028D758 4B F9 BC 09 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_802907FC: +/* 802907FC 0028D75C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80290800 0028D760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80290804 0028D764 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80290808 0028D768 7C 08 03 A6 */ mtlr r0 +/* 8029080C 0028D76C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80290810 0028D770 4E 80 00 20 */ blr + +.global GetOrbitPosition__12COmegaPirateCFRC13CStateManager +GetOrbitPosition__12COmegaPirateCFRC13CStateManager: +/* 80290814 0028D774 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80290818 0028D778 7C 08 02 A6 */ mflr r0 +/* 8029081C 0028D77C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80290820 0028D780 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80290824 0028D784 7C BF 2B 78 */ mr r31, r5 +/* 80290828 0028D788 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029082C 0028D78C 7C 9E 23 78 */ mr r30, r4 +/* 80290830 0028D790 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80290834 0028D794 7C 7D 1B 78 */ mr r29, r3 +/* 80290838 0028D798 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029083C 0028D79C A0 84 09 90 */ lhz r4, 0x990(r4) +/* 80290840 0028D7A0 7C 04 00 40 */ cmplw r4, r0 +/* 80290844 0028D7A4 41 82 00 40 */ beq lbl_80290884 +/* 80290848 0028D7A8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8029084C 0028D7AC 80 63 00 00 */ lwz r3, 0(r3) +/* 80290850 0028D7B0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80290854 0028D7B4 2C 00 00 03 */ cmpwi r0, 3 +/* 80290858 0028D7B8 40 82 00 2C */ bne lbl_80290884 +/* 8029085C 0028D7BC B0 81 00 08 */ sth r4, 8(r1) +/* 80290860 0028D7C0 7F E3 FB 78 */ mr r3, r31 +/* 80290864 0028D7C4 38 81 00 08 */ addi r4, r1, 8 +/* 80290868 0028D7C8 4B DB BD 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8029086C 0028D7CC 7C 65 1B 79 */ or. r5, r3, r3 +/* 80290870 0028D7D0 41 82 00 14 */ beq lbl_80290884 +/* 80290874 0028D7D4 7F A3 EB 78 */ mr r3, r29 +/* 80290878 0028D7D8 7F C4 F3 78 */ mr r4, r30 +/* 8029087C 0028D7DC 4B F9 7F E9 */ bl sub_80228864 +/* 80290880 0028D7E0 48 00 00 14 */ b lbl_80290894 +lbl_80290884: +/* 80290884 0028D7E4 7F A3 EB 78 */ mr r3, r29 +/* 80290888 0028D7E8 7F C4 F3 78 */ mr r4, r30 +/* 8029088C 0028D7EC 7F E5 FB 78 */ mr r5, r31 +/* 80290890 0028D7F0 4B F9 BF 81 */ bl GetOrbitPosition__12CElitePirateCFRC13CStateManager +lbl_80290894: +/* 80290894 0028D7F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80290898 0028D7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029089C 0028D7FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802908A0 0028D800 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802908A4 0028D804 7C 08 03 A6 */ mtlr r0 +/* 802908A8 0028D808 38 21 00 20 */ addi r1, r1, 0x20 +/* 802908AC 0028D80C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802908B0 0028D810 94 21 FD A0 */ stwu r1, -0x260(r1) +/* 802908B4 0028D814 7C 08 02 A6 */ mflr r0 +/* 802908B8 0028D818 90 01 02 64 */ stw r0, 0x264(r1) +/* 802908BC 0028D81C BE 41 02 28 */ stmw r18, 0x228(r1) +/* 802908C0 0028D820 7C 95 23 78 */ mr r21, r4 +/* 802908C4 0028D824 28 15 00 2A */ cmplwi r21, 0x2a +/* 802908C8 0028D828 7C 7F 1B 78 */ mr r31, r3 +/* 802908CC 0028D82C 7C B4 2B 78 */ mr r20, r5 +/* 802908D0 0028D830 7C DE 33 78 */ mr r30, r6 +/* 802908D4 0028D834 41 81 0E 70 */ bgt lbl_80291744 +/* 802908D8 0028D838 3C A0 80 3F */ lis r5, lbl_803EB7BC@ha +/* 802908DC 0028D83C 56 A0 10 3A */ slwi r0, r21, 2 +/* 802908E0 0028D840 38 A5 B7 BC */ addi r5, r5, lbl_803EB7BC@l +/* 802908E4 0028D844 7C 05 00 2E */ lwzx r0, r5, r0 +/* 802908E8 0028D848 7C 09 03 A6 */ mtctr r0 +/* 802908EC 0028D84C 4E 80 04 20 */ bctr +/* 802908F0 0028D850 A0 14 00 00 */ lhz r0, 0(r20) +/* 802908F4 0028D854 38 A1 00 9C */ addi r5, r1, 0x9c +/* 802908F8 0028D858 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 802908FC 0028D85C 4B F9 C2 D1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290900 0028D860 7F C4 F3 78 */ mr r4, r30 +/* 80290904 0028D864 38 61 00 98 */ addi r3, r1, 0x98 +/* 80290908 0028D868 4B DB C7 D5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8029090C 0028D86C A0 01 00 98 */ lhz r0, 0x98(r1) +/* 80290910 0028D870 7F E3 FB 78 */ mr r3, r31 +/* 80290914 0028D874 7F C4 F3 78 */ mr r4, r30 +/* 80290918 0028D878 38 A1 00 94 */ addi r5, r1, 0x94 +/* 8029091C 0028D87C B0 1F 09 90 */ sth r0, 0x990(r31) +/* 80290920 0028D880 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290924 0028D884 B0 01 00 94 */ sth r0, 0x94(r1) +/* 80290928 0028D888 4B F9 81 85 */ bl sub_80228aac +/* 8029092C 0028D88C 7F E3 FB 78 */ mr r3, r31 +/* 80290930 0028D890 7F C4 F3 78 */ mr r4, r30 +/* 80290934 0028D894 4B FF CB 2D */ bl sub_8028d460 +/* 80290938 0028D898 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8029093C 0028D89C 38 80 00 08 */ li r4, 8 +/* 80290940 0028D8A0 4B EA A0 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80290944 0028D8A4 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80290948 0028D8A8 38 60 00 00 */ li r3, 0 +/* 8029094C 0028D8AC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80290950 0028D8B0 38 7F 0A 4C */ addi r3, r31, 0xa4c +/* 80290954 0028D8B4 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80290958 0028D8B8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8029095C 0028D8BC 48 08 21 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80290960 0028D8C0 7F E3 FB 78 */ mr r3, r31 +/* 80290964 0028D8C4 7F C4 F3 78 */ mr r4, r30 +/* 80290968 0028D8C8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8029096C 0028D8CC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80290970 0028D8D0 7D 89 03 A6 */ mtctr r12 +/* 80290974 0028D8D4 4E 80 04 21 */ bctrl +/* 80290978 0028D8D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029097C 0028D8DC 7F C3 F3 78 */ mr r3, r30 +/* 80290980 0028D8E0 38 81 00 90 */ addi r4, r1, 0x90 +/* 80290984 0028D8E4 D0 1F 0A 98 */ stfs f0, 0xa98(r31) +/* 80290988 0028D8E8 A0 1F 07 72 */ lhz r0, 0x772(r31) +/* 8029098C 0028D8EC B0 01 00 8C */ sth r0, 0x8c(r1) +/* 80290990 0028D8F0 B0 01 00 90 */ sth r0, 0x90(r1) +/* 80290994 0028D8F4 4B DB BB E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290998 0028D8F8 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 8029099C 0028D8FC 7C 72 1B 78 */ mr r18, r3 +/* 802909A0 0028D900 7F C3 F3 78 */ mr r3, r30 +/* 802909A4 0028D904 38 81 00 88 */ addi r4, r1, 0x88 +/* 802909A8 0028D908 B0 01 00 88 */ sth r0, 0x88(r1) +/* 802909AC 0028D90C 4B DB BB C9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802909B0 0028D910 28 12 00 00 */ cmplwi r18, 0 +/* 802909B4 0028D914 7C 73 1B 78 */ mr r19, r3 +/* 802909B8 0028D918 41 82 00 14 */ beq lbl_802909CC +/* 802909BC 0028D91C 7E 43 93 78 */ mr r3, r18 +/* 802909C0 0028D920 7F C5 F3 78 */ mr r5, r30 +/* 802909C4 0028D924 38 80 00 27 */ li r4, 0x27 +/* 802909C8 0028D928 4B DC 35 B9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802909CC: +/* 802909CC 0028D92C 28 13 00 00 */ cmplwi r19, 0 +/* 802909D0 0028D930 41 82 00 14 */ beq lbl_802909E4 +/* 802909D4 0028D934 7E 63 9B 78 */ mr r3, r19 +/* 802909D8 0028D938 7F C5 F3 78 */ mr r5, r30 +/* 802909DC 0028D93C 38 80 00 27 */ li r4, 0x27 +/* 802909E0 0028D940 4B DC 35 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802909E4: +/* 802909E4 0028D944 38 7F 04 60 */ addi r3, r31, 0x460 +/* 802909E8 0028D948 38 80 00 00 */ li r4, 0 +/* 802909EC 0028D94C 4B FA 33 79 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 802909F0 0028D950 7F E3 FB 78 */ mr r3, r31 +/* 802909F4 0028D954 4B F9 88 55 */ bl sub_80229248 +/* 802909F8 0028D958 48 00 0D 68 */ b lbl_80291760 +/* 802909FC 0028D95C A0 14 00 00 */ lhz r0, 0(r20) +/* 80290A00 0028D960 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80290A04 0028D964 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80290A08 0028D968 4B F9 C1 C5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290A0C 0028D96C 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290A10 0028D970 7F C4 F3 78 */ mr r4, r30 +/* 80290A14 0028D974 38 A0 00 01 */ li r5, 1 +/* 80290A18 0028D978 4B F1 68 E1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A1C 0028D97C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290A20 0028D980 7F C4 F3 78 */ mr r4, r30 +/* 80290A24 0028D984 38 A0 00 01 */ li r5, 1 +/* 80290A28 0028D988 4B F1 68 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A2C 0028D98C 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80290A30 0028D990 38 80 00 00 */ li r4, 0 +/* 80290A34 0028D994 4B FA 33 31 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80290A38 0028D998 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290A3C 0028D99C 7F C3 F3 78 */ mr r3, r30 +/* 80290A40 0028D9A0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80290A44 0028D9A4 B0 01 00 80 */ sth r0, 0x80(r1) +/* 80290A48 0028D9A8 4B DB BB 2D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290A4C 0028D9AC 28 03 00 00 */ cmplwi r3, 0 +/* 80290A50 0028D9B0 41 82 0D 10 */ beq lbl_80291760 +/* 80290A54 0028D9B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80290A58 0028D9B8 38 80 00 01 */ li r4, 1 +/* 80290A5C 0028D9BC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80290A60 0028D9C0 7D 89 03 A6 */ mtctr r12 +/* 80290A64 0028D9C4 4E 80 04 21 */ bctrl +/* 80290A68 0028D9C8 48 00 0C F8 */ b lbl_80291760 +/* 80290A6C 0028D9CC A0 14 00 00 */ lhz r0, 0(r20) +/* 80290A70 0028D9D0 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80290A74 0028D9D4 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80290A78 0028D9D8 4B F9 C1 55 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290A7C 0028D9DC 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290A80 0028D9E0 7F C4 F3 78 */ mr r4, r30 +/* 80290A84 0028D9E4 38 A0 00 00 */ li r5, 0 +/* 80290A88 0028D9E8 4B F1 68 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A8C 0028D9EC 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290A90 0028D9F0 7F C4 F3 78 */ mr r4, r30 +/* 80290A94 0028D9F4 38 A0 00 00 */ li r5, 0 +/* 80290A98 0028D9F8 4B F1 68 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80290A9C 0028D9FC A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290AA0 0028DA00 7F C3 F3 78 */ mr r3, r30 +/* 80290AA4 0028DA04 38 81 00 78 */ addi r4, r1, 0x78 +/* 80290AA8 0028DA08 B0 01 00 78 */ sth r0, 0x78(r1) +/* 80290AAC 0028DA0C 4B DB BA C9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290AB0 0028DA10 28 03 00 00 */ cmplwi r3, 0 +/* 80290AB4 0028DA14 41 82 0C AC */ beq lbl_80291760 +/* 80290AB8 0028DA18 81 83 00 00 */ lwz r12, 0(r3) +/* 80290ABC 0028DA1C 38 80 00 00 */ li r4, 0 +/* 80290AC0 0028DA20 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80290AC4 0028DA24 7D 89 03 A6 */ mtctr r12 +/* 80290AC8 0028DA28 4E 80 04 21 */ bctrl +/* 80290ACC 0028DA2C 48 00 0C 94 */ b lbl_80291760 +/* 80290AD0 0028DA30 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290AD4 0028DA34 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80290AD8 0028DA38 B0 01 00 74 */ sth r0, 0x74(r1) +/* 80290ADC 0028DA3C 4B F9 C0 F1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290AE0 0028DA40 80 7F 0A 38 */ lwz r3, 0xa38(r31) +/* 80290AE4 0028DA44 7F C4 F3 78 */ mr r4, r30 +/* 80290AE8 0028DA48 4B F1 68 DD */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80290AEC 0028DA4C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) +/* 80290AF0 0028DA50 7F C4 F3 78 */ mr r4, r30 +/* 80290AF4 0028DA54 4B F1 68 D1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80290AF8 0028DA58 A0 1F 09 90 */ lhz r0, 0x990(r31) +/* 80290AFC 0028DA5C 7F C3 F3 78 */ mr r3, r30 +/* 80290B00 0028DA60 38 81 00 70 */ addi r4, r1, 0x70 +/* 80290B04 0028DA64 B0 01 00 70 */ sth r0, 0x70(r1) +/* 80290B08 0028DA68 4B DB B7 65 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80290B0C 0028DA6C 48 00 0C 54 */ b lbl_80291760 +/* 80290B10 0028DA70 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290B14 0028DA74 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80290B18 0028DA78 B0 01 00 6C */ sth r0, 0x6c(r1) +/* 80290B1C 0028DA7C 4B F9 C0 B1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290B20 0028DA80 48 00 0C 40 */ b lbl_80291760 +/* 80290B24 0028DA84 A0 14 00 00 */ lhz r0, 0(r20) +/* 80290B28 0028DA88 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80290B2C 0028DA8C B0 01 00 68 */ sth r0, 0x68(r1) +/* 80290B30 0028DA90 4B F9 C0 9D */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80290B34 0028DA94 83 1F 00 24 */ lwz r24, 0x24(r31) +/* 80290B38 0028DA98 3B 21 02 18 */ addi r25, r1, 0x218 +/* 80290B3C 0028DA9C 3B 41 02 04 */ addi r26, r1, 0x204 +/* 80290B40 0028DAA0 3B 61 01 D4 */ addi r27, r1, 0x1d4 +/* 80290B44 0028DAA4 3A E1 01 C0 */ addi r23, r1, 0x1c0 +/* 80290B48 0028DAA8 3B A0 00 00 */ li r29, 0 +/* 80290B4C 0028DAAC 3B 80 00 00 */ li r28, 0 +/* 80290B50 0028DAB0 48 00 06 80 */ b lbl_802911D0 +lbl_80290B54: +/* 80290B54 0028DAB4 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80290B58 0028DAB8 7F C4 F3 78 */ mr r4, r30 +/* 80290B5C 0028DABC 38 61 00 64 */ addi r3, r1, 0x64 +/* 80290B60 0028DAC0 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 80290B64 0028DAC4 7E 60 E2 14 */ add r19, r0, r28 +/* 80290B68 0028DAC8 80 13 00 08 */ lwz r0, 8(r19) +/* 80290B6C 0028DACC 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80290B70 0028DAD0 4B DB 73 AD */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80290B74 0028DAD4 80 13 00 00 */ lwz r0, 0(r19) +/* 80290B78 0028DAD8 A0 81 00 64 */ lhz r4, 0x64(r1) +/* 80290B7C 0028DADC 2C 00 00 0A */ cmpwi r0, 0xa +/* 80290B80 0028DAE0 B0 81 00 A8 */ sth r4, 0xa8(r1) +/* 80290B84 0028DAE4 40 82 06 44 */ bne lbl_802911C8 +/* 80290B88 0028DAE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80290B8C 0028DAEC 54 83 04 3E */ clrlwi r3, r4, 0x10 +/* 80290B90 0028DAF0 7C 03 00 40 */ cmplw r3, r0 +/* 80290B94 0028DAF4 41 82 06 34 */ beq lbl_802911C8 +/* 80290B98 0028DAF8 80 13 00 04 */ lwz r0, 4(r19) +/* 80290B9C 0028DAFC 2C 00 00 01 */ cmpwi r0, 1 +/* 80290BA0 0028DB00 40 82 03 D0 */ bne lbl_80290F70 +/* 80290BA4 0028DB04 B0 81 00 60 */ sth r4, 0x60(r1) +/* 80290BA8 0028DB08 7F C3 F3 78 */ mr r3, r30 +/* 80290BAC 0028DB0C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80290BB0 0028DB10 4B DB B9 C5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290BB4 0028DB14 7C 64 1B 78 */ mr r4, r3 +/* 80290BB8 0028DB18 38 61 01 0C */ addi r3, r1, 0x10c +/* 80290BBC 0028DB1C 4B E1 92 21 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 80290BC0 0028DB20 80 83 00 04 */ lwz r4, 4(r3) +/* 80290BC4 0028DB24 28 04 00 00 */ cmplwi r4, 0 +/* 80290BC8 0028DB28 41 82 00 88 */ beq lbl_80290C50 +/* 80290BCC 0028DB2C A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290BD0 0028DB30 7F 23 CB 78 */ mr r3, r25 +/* 80290BD4 0028DB34 38 84 00 10 */ addi r4, r4, 0x10 +/* 80290BD8 0028DB38 B0 01 02 14 */ sth r0, 0x214(r1) +/* 80290BDC 0028DB3C 48 0A D5 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290BE0 0028DB40 80 1F 09 BC */ lwz r0, 0x9bc(r31) +/* 80290BE4 0028DB44 80 BF 09 C0 */ lwz r5, 0x9c0(r31) +/* 80290BE8 0028DB48 7C 00 28 00 */ cmpw r0, r5 +/* 80290BEC 0028DB4C 41 80 00 1C */ blt lbl_80290C08 +/* 80290BF0 0028DB50 2C 05 00 00 */ cmpwi r5, 0 +/* 80290BF4 0028DB54 38 7F 09 B8 */ addi r3, r31, 0x9b8 +/* 80290BF8 0028DB58 38 80 00 04 */ li r4, 4 +/* 80290BFC 0028DB5C 41 82 00 08 */ beq lbl_80290C04 +/* 80290C00 0028DB60 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290C04: +/* 80290C04 0028DB64 48 00 17 E5 */ bl sub_802923e8 +lbl_80290C08: +/* 80290C08 0028DB68 80 1F 09 BC */ lwz r0, 0x9bc(r31) +/* 80290C0C 0028DB6C 80 7F 09 C4 */ lwz r3, 0x9c4(r31) +/* 80290C10 0028DB70 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290C14 0028DB74 7C A3 02 15 */ add. r5, r3, r0 +/* 80290C18 0028DB78 41 82 00 18 */ beq lbl_80290C30 +/* 80290C1C 0028DB7C A0 01 02 14 */ lhz r0, 0x214(r1) +/* 80290C20 0028DB80 7F 24 CB 78 */ mr r4, r25 +/* 80290C24 0028DB84 38 65 00 04 */ addi r3, r5, 4 +/* 80290C28 0028DB88 B0 05 00 00 */ sth r0, 0(r5) +/* 80290C2C 0028DB8C 48 0A D5 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290C30: +/* 80290C30 0028DB90 80 7F 09 BC */ lwz r3, 0x9bc(r31) +/* 80290C34 0028DB94 28 19 00 00 */ cmplwi r25, 0 +/* 80290C38 0028DB98 38 03 00 01 */ addi r0, r3, 1 +/* 80290C3C 0028DB9C 90 1F 09 BC */ stw r0, 0x9bc(r31) +/* 80290C40 0028DBA0 41 82 05 88 */ beq lbl_802911C8 +/* 80290C44 0028DBA4 7F 23 CB 78 */ mr r3, r25 +/* 80290C48 0028DBA8 48 0A CE 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290C4C 0028DBAC 48 00 05 7C */ b lbl_802911C8 +lbl_80290C50: +/* 80290C50 0028DBB0 A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290C54 0028DBB4 7F C3 F3 78 */ mr r3, r30 +/* 80290C58 0028DBB8 38 81 00 5C */ addi r4, r1, 0x5c +/* 80290C5C 0028DBBC B0 01 00 5C */ sth r0, 0x5c(r1) +/* 80290C60 0028DBC0 4B DB B9 15 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290C64 0028DBC4 7C 64 1B 78 */ mr r4, r3 +/* 80290C68 0028DBC8 38 61 01 04 */ addi r3, r1, 0x104 +/* 80290C6C 0028DBCC 4B E1 81 A9 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80290C70 0028DBD0 82 C3 00 04 */ lwz r22, 4(r3) +/* 80290C74 0028DBD4 28 16 00 00 */ cmplwi r22, 0 +/* 80290C78 0028DBD8 41 82 02 48 */ beq lbl_80290EC0 +/* 80290C7C 0028DBDC A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290C80 0028DBE0 7F 43 D3 78 */ mr r3, r26 +/* 80290C84 0028DBE4 38 96 00 10 */ addi r4, r22, 0x10 +/* 80290C88 0028DBE8 B0 01 02 00 */ sth r0, 0x200(r1) +/* 80290C8C 0028DBEC 48 0A D4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290C90 0028DBF0 80 1F 09 E0 */ lwz r0, 0x9e0(r31) +/* 80290C94 0028DBF4 80 BF 09 E4 */ lwz r5, 0x9e4(r31) +/* 80290C98 0028DBF8 7C 00 28 00 */ cmpw r0, r5 +/* 80290C9C 0028DBFC 41 80 00 1C */ blt lbl_80290CB8 +/* 80290CA0 0028DC00 2C 05 00 00 */ cmpwi r5, 0 +/* 80290CA4 0028DC04 38 7F 09 DC */ addi r3, r31, 0x9dc +/* 80290CA8 0028DC08 38 80 00 04 */ li r4, 4 +/* 80290CAC 0028DC0C 41 82 00 08 */ beq lbl_80290CB4 +/* 80290CB0 0028DC10 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290CB4: +/* 80290CB4 0028DC14 48 00 17 35 */ bl sub_802923e8 +lbl_80290CB8: +/* 80290CB8 0028DC18 80 1F 09 E0 */ lwz r0, 0x9e0(r31) +/* 80290CBC 0028DC1C 80 7F 09 E8 */ lwz r3, 0x9e8(r31) +/* 80290CC0 0028DC20 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290CC4 0028DC24 7C A3 02 15 */ add. r5, r3, r0 +/* 80290CC8 0028DC28 41 82 00 18 */ beq lbl_80290CE0 +/* 80290CCC 0028DC2C A0 01 02 00 */ lhz r0, 0x200(r1) +/* 80290CD0 0028DC30 7F 44 D3 78 */ mr r4, r26 +/* 80290CD4 0028DC34 38 65 00 04 */ addi r3, r5, 4 +/* 80290CD8 0028DC38 B0 05 00 00 */ sth r0, 0(r5) +/* 80290CDC 0028DC3C 48 0A D4 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290CE0: +/* 80290CE0 0028DC40 80 7F 09 E0 */ lwz r3, 0x9e0(r31) +/* 80290CE4 0028DC44 28 1A 00 00 */ cmplwi r26, 0 +/* 80290CE8 0028DC48 38 03 00 01 */ addi r0, r3, 1 +/* 80290CEC 0028DC4C 90 1F 09 E0 */ stw r0, 0x9e0(r31) +/* 80290CF0 0028DC50 41 82 00 0C */ beq lbl_80290CFC +/* 80290CF4 0028DC54 7F 43 D3 78 */ mr r3, r26 +/* 80290CF8 0028DC58 48 0A CD E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80290CFC: +/* 80290CFC 0028DC5C 7E C3 B3 78 */ mr r3, r22 +/* 80290D00 0028DC60 7F C5 F3 78 */ mr r5, r30 +/* 80290D04 0028DC64 38 80 00 28 */ li r4, 0x28 +/* 80290D08 0028DC68 4B DC 36 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D0C 0028DC6C 7E C3 B3 78 */ mr r3, r22 +/* 80290D10 0028DC70 7F C5 F3 78 */ mr r5, r30 +/* 80290D14 0028DC74 38 80 00 29 */ li r4, 0x29 +/* 80290D18 0028DC78 4B DC 36 39 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D1C 0028DC7C 7E C3 B3 78 */ mr r3, r22 +/* 80290D20 0028DC80 7F C5 F3 78 */ mr r5, r30 +/* 80290D24 0028DC84 38 80 00 21 */ li r4, 0x21 +/* 80290D28 0028DC88 4B DC 36 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D2C 0028DC8C 7E C3 B3 78 */ mr r3, r22 +/* 80290D30 0028DC90 7F C5 F3 78 */ mr r5, r30 +/* 80290D34 0028DC94 38 80 00 27 */ li r4, 0x27 +/* 80290D38 0028DC98 4B DC 32 49 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80290D3C 0028DC9C 7E C3 B3 78 */ mr r3, r22 +/* 80290D40 0028DCA0 4B DC 2B 7D */ bl GetMaterialFilter__6CActorCFv +/* 80290D44 0028DCA4 80 AD 99 8C */ lwz r5, lbl_805A854C@sda21(r13) +/* 80290D48 0028DCA8 38 80 00 01 */ li r4, 1 +/* 80290D4C 0028DCAC 82 A3 00 08 */ lwz r21, 8(r3) +/* 80290D50 0028DCB0 82 83 00 0C */ lwz r20, 0xc(r3) +/* 80290D54 0028DCB4 38 60 00 00 */ li r3, 0 +/* 80290D58 0028DCB8 48 0F 91 9D */ bl __shl2i +/* 80290D5C 0028DCBC 80 AD 99 90 */ lwz r5, lbl_805A8550@sda21(r13) +/* 80290D60 0028DCC0 7C 93 23 78 */ mr r19, r4 +/* 80290D64 0028DCC4 7C 72 1B 78 */ mr r18, r3 +/* 80290D68 0028DCC8 38 60 00 00 */ li r3, 0 +/* 80290D6C 0028DCCC 38 80 00 01 */ li r4, 1 +/* 80290D70 0028DCD0 48 0F 91 85 */ bl __shl2i +/* 80290D74 0028DCD4 80 AD 99 94 */ lwz r5, lbl_805A8554@sda21(r13) +/* 80290D78 0028DCD8 7E 73 23 78 */ or r19, r19, r4 +/* 80290D7C 0028DCDC 7E 52 1B 78 */ or r18, r18, r3 +/* 80290D80 0028DCE0 38 60 00 00 */ li r3, 0 +/* 80290D84 0028DCE4 38 80 00 01 */ li r4, 1 +/* 80290D88 0028DCE8 48 0F 91 6D */ bl __shl2i +/* 80290D8C 0028DCEC 7E 52 1B 78 */ or r18, r18, r3 +/* 80290D90 0028DCF0 7E 73 23 78 */ or r19, r19, r4 +/* 80290D94 0028DCF4 7F E3 FB 78 */ mr r3, r31 +/* 80290D98 0028DCF8 7E 94 9B 78 */ or r20, r20, r19 +/* 80290D9C 0028DCFC 7E B5 93 78 */ or r21, r21, r18 +/* 80290DA0 0028DD00 4B DC 2B 1D */ bl GetMaterialFilter__6CActorCFv +/* 80290DA4 0028DD04 80 A3 00 00 */ lwz r5, 0(r3) +/* 80290DA8 0028DD08 38 00 00 03 */ li r0, 3 +/* 80290DAC 0028DD0C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80290DB0 0028DD10 7E C3 B3 78 */ mr r3, r22 +/* 80290DB4 0028DD14 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 80290DB8 0028DD18 90 C1 01 EC */ stw r6, 0x1ec(r1) +/* 80290DBC 0028DD1C 90 A1 01 E8 */ stw r5, 0x1e8(r1) +/* 80290DC0 0028DD20 92 81 01 F4 */ stw r20, 0x1f4(r1) +/* 80290DC4 0028DD24 92 A1 01 F0 */ stw r21, 0x1f0(r1) +/* 80290DC8 0028DD28 90 01 01 F8 */ stw r0, 0x1f8(r1) +/* 80290DCC 0028DD2C 4B DC 2A D5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80290DD0 0028DD30 7E C3 B3 78 */ mr r3, r22 +/* 80290DD4 0028DD34 81 96 00 00 */ lwz r12, 0(r22) +/* 80290DD8 0028DD38 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80290DDC 0028DD3C 7D 89 03 A6 */ mtctr r12 +/* 80290DE0 0028DD40 4E 80 04 21 */ bctrl +/* 80290DE4 0028DD44 80 83 00 00 */ lwz r4, 0(r3) +/* 80290DE8 0028DD48 80 03 00 04 */ lwz r0, 4(r3) +/* 80290DEC 0028DD4C 90 9F 0A E4 */ stw r4, 0xae4(r31) +/* 80290DF0 0028DD50 90 1F 0A E8 */ stw r0, 0xae8(r31) +/* 80290DF4 0028DD54 80 83 00 08 */ lwz r4, 8(r3) +/* 80290DF8 0028DD58 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80290DFC 0028DD5C 90 9F 0A EC */ stw r4, 0xaec(r31) +/* 80290E00 0028DD60 90 1F 0A F0 */ stw r0, 0xaf0(r31) +/* 80290E04 0028DD64 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80290E08 0028DD68 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80290E0C 0028DD6C 90 9F 0A F4 */ stw r4, 0xaf4(r31) +/* 80290E10 0028DD70 90 1F 0A F8 */ stw r0, 0xaf8(r31) +/* 80290E14 0028DD74 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80290E18 0028DD78 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80290E1C 0028DD7C 90 9F 0A FC */ stw r4, 0xafc(r31) +/* 80290E20 0028DD80 90 1F 0B 00 */ stw r0, 0xb00(r31) +/* 80290E24 0028DD84 80 83 00 20 */ lwz r4, 0x20(r3) +/* 80290E28 0028DD88 80 03 00 24 */ lwz r0, 0x24(r3) +/* 80290E2C 0028DD8C 90 9F 0B 04 */ stw r4, 0xb04(r31) +/* 80290E30 0028DD90 90 1F 0B 08 */ stw r0, 0xb08(r31) +/* 80290E34 0028DD94 80 83 00 28 */ lwz r4, 0x28(r3) +/* 80290E38 0028DD98 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80290E3C 0028DD9C 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80290E40 0028DDA0 90 1F 0B 10 */ stw r0, 0xb10(r31) +/* 80290E44 0028DDA4 80 83 00 30 */ lwz r4, 0x30(r3) +/* 80290E48 0028DDA8 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80290E4C 0028DDAC 90 9F 0B 14 */ stw r4, 0xb14(r31) +/* 80290E50 0028DDB0 90 1F 0B 18 */ stw r0, 0xb18(r31) +/* 80290E54 0028DDB4 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80290E58 0028DDB8 90 1F 0B 1C */ stw r0, 0xb1c(r31) +/* 80290E5C 0028DDBC 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 80290E60 0028DDC0 80 03 00 40 */ lwz r0, 0x40(r3) +/* 80290E64 0028DDC4 90 9F 0B 20 */ stw r4, 0xb20(r31) +/* 80290E68 0028DDC8 90 1F 0B 24 */ stw r0, 0xb24(r31) +/* 80290E6C 0028DDCC 80 83 00 44 */ lwz r4, 0x44(r3) +/* 80290E70 0028DDD0 80 03 00 48 */ lwz r0, 0x48(r3) +/* 80290E74 0028DDD4 90 9F 0B 28 */ stw r4, 0xb28(r31) +/* 80290E78 0028DDD8 90 1F 0B 2C */ stw r0, 0xb2c(r31) +/* 80290E7C 0028DDDC 80 83 00 4C */ lwz r4, 0x4c(r3) +/* 80290E80 0028DDE0 80 03 00 50 */ lwz r0, 0x50(r3) +/* 80290E84 0028DDE4 90 9F 0B 30 */ stw r4, 0xb30(r31) +/* 80290E88 0028DDE8 90 1F 0B 34 */ stw r0, 0xb34(r31) +/* 80290E8C 0028DDEC 80 83 00 54 */ lwz r4, 0x54(r3) +/* 80290E90 0028DDF0 80 03 00 58 */ lwz r0, 0x58(r3) +/* 80290E94 0028DDF4 90 9F 0B 38 */ stw r4, 0xb38(r31) +/* 80290E98 0028DDF8 90 1F 0B 3C */ stw r0, 0xb3c(r31) +/* 80290E9C 0028DDFC 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80290EA0 0028DE00 90 1F 0B 40 */ stw r0, 0xb40(r31) +/* 80290EA4 0028DE04 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80290EA8 0028DE08 90 1F 0B 44 */ stw r0, 0xb44(r31) +/* 80290EAC 0028DE0C 80 03 00 64 */ lwz r0, 0x64(r3) +/* 80290EB0 0028DE10 90 1F 0B 48 */ stw r0, 0xb48(r31) +/* 80290EB4 0028DE14 80 16 00 B8 */ lwz r0, 0xb8(r22) +/* 80290EB8 0028DE18 90 1F 0B 54 */ stw r0, 0xb54(r31) +/* 80290EBC 0028DE1C 48 00 03 0C */ b lbl_802911C8 +lbl_80290EC0: +/* 80290EC0 0028DE20 A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290EC4 0028DE24 7F C3 F3 78 */ mr r3, r30 +/* 80290EC8 0028DE28 38 81 00 58 */ addi r4, r1, 0x58 +/* 80290ECC 0028DE2C B0 01 00 58 */ sth r0, 0x58(r1) +/* 80290ED0 0028DE30 4B DB B6 A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290ED4 0028DE34 7C 64 1B 78 */ mr r4, r3 +/* 80290ED8 0028DE38 38 61 00 FC */ addi r3, r1, 0xfc +/* 80290EDC 0028DE3C 4B E1 75 FD */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" +/* 80290EE0 0028DE40 80 83 00 04 */ lwz r4, 4(r3) +/* 80290EE4 0028DE44 28 04 00 00 */ cmplwi r4, 0 +/* 80290EE8 0028DE48 41 82 02 E0 */ beq lbl_802911C8 +/* 80290EEC 0028DE4C A0 01 00 A8 */ lhz r0, 0xa8(r1) +/* 80290EF0 0028DE50 7F 63 DB 78 */ mr r3, r27 +/* 80290EF4 0028DE54 38 84 00 10 */ addi r4, r4, 0x10 +/* 80290EF8 0028DE58 B0 01 01 D0 */ sth r0, 0x1d0(r1) +/* 80290EFC 0028DE5C 48 0A D2 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80290F00 0028DE60 80 1F 0A A4 */ lwz r0, 0xaa4(r31) +/* 80290F04 0028DE64 80 BF 0A A8 */ lwz r5, 0xaa8(r31) +/* 80290F08 0028DE68 7C 00 28 00 */ cmpw r0, r5 +/* 80290F0C 0028DE6C 41 80 00 1C */ blt lbl_80290F28 +/* 80290F10 0028DE70 2C 05 00 00 */ cmpwi r5, 0 +/* 80290F14 0028DE74 38 7F 0A A0 */ addi r3, r31, 0xaa0 +/* 80290F18 0028DE78 38 80 00 04 */ li r4, 4 +/* 80290F1C 0028DE7C 41 82 00 08 */ beq lbl_80290F24 +/* 80290F20 0028DE80 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80290F24: +/* 80290F24 0028DE84 48 00 14 C5 */ bl sub_802923e8 +lbl_80290F28: +/* 80290F28 0028DE88 80 1F 0A A4 */ lwz r0, 0xaa4(r31) +/* 80290F2C 0028DE8C 80 7F 0A AC */ lwz r3, 0xaac(r31) +/* 80290F30 0028DE90 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80290F34 0028DE94 7C A3 02 15 */ add. r5, r3, r0 +/* 80290F38 0028DE98 41 82 00 18 */ beq lbl_80290F50 +/* 80290F3C 0028DE9C A0 01 01 D0 */ lhz r0, 0x1d0(r1) +/* 80290F40 0028DEA0 7F 64 DB 78 */ mr r4, r27 +/* 80290F44 0028DEA4 38 65 00 04 */ addi r3, r5, 4 +/* 80290F48 0028DEA8 B0 05 00 00 */ sth r0, 0(r5) +/* 80290F4C 0028DEAC 48 0A D2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80290F50: +/* 80290F50 0028DEB0 80 7F 0A A4 */ lwz r3, 0xaa4(r31) +/* 80290F54 0028DEB4 28 1B 00 00 */ cmplwi r27, 0 +/* 80290F58 0028DEB8 38 03 00 01 */ addi r0, r3, 1 +/* 80290F5C 0028DEBC 90 1F 0A A4 */ stw r0, 0xaa4(r31) +/* 80290F60 0028DEC0 41 82 02 68 */ beq lbl_802911C8 +/* 80290F64 0028DEC4 7F 63 DB 78 */ mr r3, r27 +/* 80290F68 0028DEC8 48 0A CB 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80290F6C 0028DECC 48 00 02 5C */ b lbl_802911C8 +lbl_80290F70: +/* 80290F70 0028DED0 2C 00 00 06 */ cmpwi r0, 6 +/* 80290F74 0028DED4 40 82 02 54 */ bne lbl_802911C8 +/* 80290F78 0028DED8 B0 81 00 54 */ sth r4, 0x54(r1) +/* 80290F7C 0028DEDC 7F C3 F3 78 */ mr r3, r30 +/* 80290F80 0028DEE0 38 81 00 54 */ addi r4, r1, 0x54 +/* 80290F84 0028DEE4 4B DB B5 F1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80290F88 0028DEE8 7C 64 1B 78 */ mr r4, r3 +/* 80290F8C 0028DEEC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 80290F90 0028DEF0 4B E1 55 BD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80290F94 0028DEF4 82 C3 00 04 */ lwz r22, 4(r3) +/* 80290F98 0028DEF8 28 16 00 00 */ cmplwi r22, 0 +/* 80290F9C 0028DEFC 41 82 02 2C */ beq lbl_802911C8 +/* 80290FA0 0028DF00 82 96 00 24 */ lwz r20, 0x24(r22) +/* 80290FA4 0028DF04 38 00 00 00 */ li r0, 0 +/* 80290FA8 0028DF08 38 61 01 14 */ addi r3, r1, 0x114 +/* 80290FAC 0028DF0C 38 80 00 03 */ li r4, 3 +/* 80290FB0 0028DF10 90 01 01 18 */ stw r0, 0x118(r1) +/* 80290FB4 0028DF14 90 01 01 1C */ stw r0, 0x11c(r1) +/* 80290FB8 0028DF18 90 01 01 20 */ stw r0, 0x120(r1) +/* 80290FBC 0028DF1C 4B D7 B4 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80290FC0 0028DF20 3A A0 00 00 */ li r21, 0 +/* 80290FC4 0028DF24 3A 60 00 00 */ li r19, 0 +/* 80290FC8 0028DF28 48 00 00 CC */ b lbl_80291094 +lbl_80290FCC: +/* 80290FCC 0028DF2C 80 B6 00 2C */ lwz r5, 0x2c(r22) +/* 80290FD0 0028DF30 38 13 00 08 */ addi r0, r19, 8 +/* 80290FD4 0028DF34 7F C4 F3 78 */ mr r4, r30 +/* 80290FD8 0028DF38 38 61 00 50 */ addi r3, r1, 0x50 +/* 80290FDC 0028DF3C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80290FE0 0028DF40 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80290FE4 0028DF44 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80290FE8 0028DF48 4B DB 6F 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80290FEC 0028DF4C A0 01 00 50 */ lhz r0, 0x50(r1) +/* 80290FF0 0028DF50 7F C3 F3 78 */ mr r3, r30 +/* 80290FF4 0028DF54 38 81 00 4C */ addi r4, r1, 0x4c +/* 80290FF8 0028DF58 B0 01 00 A4 */ sth r0, 0xa4(r1) +/* 80290FFC 0028DF5C B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80291000 0028DF60 4B DB B5 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80291004 0028DF64 7C 64 1B 78 */ mr r4, r3 +/* 80291008 0028DF68 38 61 00 EC */ addi r3, r1, 0xec +/* 8029100C 0028DF6C 4B E1 7E 09 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80291010 0028DF70 82 43 00 04 */ lwz r18, 4(r3) +/* 80291014 0028DF74 28 12 00 00 */ cmplwi r18, 0 +/* 80291018 0028DF78 41 82 00 74 */ beq lbl_8029108C +/* 8029101C 0028DF7C 7E 43 93 78 */ mr r3, r18 +/* 80291020 0028DF80 7F C5 F3 78 */ mr r5, r30 +/* 80291024 0028DF84 38 80 00 28 */ li r4, 0x28 +/* 80291028 0028DF88 4B DC 33 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8029102C 0028DF8C 7E 43 93 78 */ mr r3, r18 +/* 80291030 0028DF90 7F C5 F3 78 */ mr r5, r30 +/* 80291034 0028DF94 38 80 00 29 */ li r4, 0x29 +/* 80291038 0028DF98 4B DC 33 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8029103C 0028DF9C 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80291040 0028DFA0 80 A1 01 1C */ lwz r5, 0x11c(r1) +/* 80291044 0028DFA4 7C 00 28 00 */ cmpw r0, r5 +/* 80291048 0028DFA8 41 80 00 1C */ blt lbl_80291064 +/* 8029104C 0028DFAC 2C 05 00 00 */ cmpwi r5, 0 +/* 80291050 0028DFB0 38 61 01 14 */ addi r3, r1, 0x114 +/* 80291054 0028DFB4 38 80 00 04 */ li r4, 4 +/* 80291058 0028DFB8 41 82 00 08 */ beq lbl_80291060 +/* 8029105C 0028DFBC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80291060: +/* 80291060 0028DFC0 4B D7 B3 A9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80291064: +/* 80291064 0028DFC4 80 01 01 18 */ lwz r0, 0x118(r1) +/* 80291068 0028DFC8 80 61 01 20 */ lwz r3, 0x120(r1) +/* 8029106C 0028DFCC 54 00 08 3C */ slwi r0, r0, 1 +/* 80291070 0028DFD0 7C 63 02 15 */ add. r3, r3, r0 +/* 80291074 0028DFD4 41 82 00 0C */ beq lbl_80291080 +/* 80291078 0028DFD8 A0 01 00 A4 */ lhz r0, 0xa4(r1) +/* 8029107C 0028DFDC B0 03 00 00 */ sth r0, 0(r3) +lbl_80291080: +/* 80291080 0028DFE0 80 61 01 18 */ lwz r3, 0x118(r1) +/* 80291084 0028DFE4 38 03 00 01 */ addi r0, r3, 1 +/* 80291088 0028DFE8 90 01 01 18 */ stw r0, 0x118(r1) +lbl_8029108C: +/* 8029108C 0028DFEC 3A B5 00 01 */ addi r21, r21, 1 +/* 80291090 0028DFF0 3A 73 00 0C */ addi r19, r19, 0xc +lbl_80291094: +/* 80291094 0028DFF4 7C 15 A0 40 */ cmplw r21, r20 +/* 80291098 0028DFF8 41 80 FF 34 */ blt lbl_80290FCC +/* 8029109C 0028DFFC 80 61 01 18 */ lwz r3, 0x118(r1) +/* 802910A0 0028E000 A0 81 00 A8 */ lhz r4, 0xa8(r1) +/* 802910A4 0028E004 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 802910A8 0028E008 2C 03 00 00 */ cmpwi r3, 0 +/* 802910AC 0028E00C B0 81 01 BC */ sth r4, 0x1bc(r1) +/* 802910B0 0028E010 90 61 01 C4 */ stw r3, 0x1c4(r1) +/* 802910B4 0028E014 90 01 01 C8 */ stw r0, 0x1c8(r1) +/* 802910B8 0028E018 40 82 00 18 */ bne lbl_802910D0 +/* 802910BC 0028E01C 2C 00 00 00 */ cmpwi r0, 0 +/* 802910C0 0028E020 40 82 00 10 */ bne lbl_802910D0 +/* 802910C4 0028E024 38 00 00 00 */ li r0, 0 +/* 802910C8 0028E028 90 01 01 CC */ stw r0, 0x1cc(r1) +/* 802910CC 0028E02C 48 00 00 68 */ b lbl_80291134 +lbl_802910D0: +/* 802910D0 0028E030 80 01 01 C8 */ lwz r0, 0x1c8(r1) +/* 802910D4 0028E034 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802910D8 0028E038 40 82 00 10 */ bne lbl_802910E8 +/* 802910DC 0028E03C 38 00 00 00 */ li r0, 0 +/* 802910E0 0028E040 90 01 01 CC */ stw r0, 0x1cc(r1) +/* 802910E4 0028E044 48 00 00 1C */ b lbl_80291100 +lbl_802910E8: +/* 802910E8 0028E048 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 802910EC 0028E04C 38 A0 00 00 */ li r5, 0 +/* 802910F0 0028E050 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 802910F4 0028E054 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 802910F8 0028E058 48 08 47 21 */ bl __nwa__FUlPCcPCc +/* 802910FC 0028E05C 90 61 01 CC */ stw r3, 0x1cc(r1) +lbl_80291100: +/* 80291100 0028E060 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 80291104 0028E064 80 81 01 20 */ lwz r4, 0x120(r1) +/* 80291108 0028E068 80 61 01 CC */ lwz r3, 0x1cc(r1) +/* 8029110C 0028E06C 7C 09 03 A6 */ mtctr r0 +/* 80291110 0028E070 2C 00 00 00 */ cmpwi r0, 0 +/* 80291114 0028E074 40 81 00 20 */ ble lbl_80291134 +lbl_80291118: +/* 80291118 0028E078 28 03 00 00 */ cmplwi r3, 0 +/* 8029111C 0028E07C 41 82 00 0C */ beq lbl_80291128 +/* 80291120 0028E080 A0 04 00 00 */ lhz r0, 0(r4) +/* 80291124 0028E084 B0 03 00 00 */ sth r0, 0(r3) +lbl_80291128: +/* 80291128 0028E088 38 63 00 02 */ addi r3, r3, 2 +/* 8029112C 0028E08C 38 84 00 02 */ addi r4, r4, 2 +/* 80291130 0028E090 42 00 FF E8 */ bdnz lbl_80291118 +lbl_80291134: +/* 80291134 0028E094 38 7F 09 A4 */ addi r3, r31, 0x9a4 +/* 80291138 0028E098 38 81 01 BC */ addi r4, r1, 0x1bc +/* 8029113C 0028E09C 48 00 06 39 */ bl sub_80291774 +/* 80291140 0028E0A0 28 17 00 00 */ cmplwi r23, 0 +/* 80291144 0028E0A4 41 82 00 44 */ beq lbl_80291188 +/* 80291148 0028E0A8 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 8029114C 0028E0AC 80 61 01 CC */ lwz r3, 0x1cc(r1) +/* 80291150 0028E0B0 54 00 08 3C */ slwi r0, r0, 1 +/* 80291154 0028E0B4 7C 03 02 14 */ add r0, r3, r0 +/* 80291158 0028E0B8 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8029115C 0028E0BC 7C 64 1B 78 */ mr r4, r3 +/* 80291160 0028E0C0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80291164 0028E0C4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80291168 0028E0C8 90 61 00 AC */ stw r3, 0xac(r1) +/* 8029116C 0028E0CC 48 00 00 08 */ b lbl_80291174 +lbl_80291170: +/* 80291170 0028E0D0 38 84 00 02 */ addi r4, r4, 2 +lbl_80291174: +/* 80291174 0028E0D4 7C 04 00 40 */ cmplw r4, r0 +/* 80291178 0028E0D8 40 82 FF F8 */ bne lbl_80291170 +/* 8029117C 0028E0DC 28 03 00 00 */ cmplwi r3, 0 +/* 80291180 0028E0E0 41 82 00 08 */ beq lbl_80291188 +/* 80291184 0028E0E4 48 08 47 AD */ bl Free__7CMemoryFPCv +lbl_80291188: +/* 80291188 0028E0E8 80 01 01 18 */ lwz r0, 0x118(r1) +/* 8029118C 0028E0EC 80 61 01 20 */ lwz r3, 0x120(r1) +/* 80291190 0028E0F0 54 00 08 3C */ slwi r0, r0, 1 +/* 80291194 0028E0F4 7C 03 02 14 */ add r0, r3, r0 +/* 80291198 0028E0F8 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 8029119C 0028E0FC 7C 64 1B 78 */ mr r4, r3 +/* 802911A0 0028E100 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802911A4 0028E104 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802911A8 0028E108 90 61 00 BC */ stw r3, 0xbc(r1) +/* 802911AC 0028E10C 48 00 00 08 */ b lbl_802911B4 +lbl_802911B0: +/* 802911B0 0028E110 38 84 00 02 */ addi r4, r4, 2 +lbl_802911B4: +/* 802911B4 0028E114 7C 04 00 40 */ cmplw r4, r0 +/* 802911B8 0028E118 40 82 FF F8 */ bne lbl_802911B0 +/* 802911BC 0028E11C 28 03 00 00 */ cmplwi r3, 0 +/* 802911C0 0028E120 41 82 00 08 */ beq lbl_802911C8 +/* 802911C4 0028E124 48 08 47 6D */ bl Free__7CMemoryFPCv +lbl_802911C8: +/* 802911C8 0028E128 3B BD 00 01 */ addi r29, r29, 1 +/* 802911CC 0028E12C 3B 9C 00 0C */ addi r28, r28, 0xc +lbl_802911D0: +/* 802911D0 0028E130 7C 1D C0 40 */ cmplw r29, r24 +/* 802911D4 0028E134 41 80 F9 80 */ blt lbl_80290B54 +/* 802911D8 0028E138 48 00 05 88 */ b lbl_80291760 +/* 802911DC 0028E13C A0 14 00 00 */ lhz r0, 0(r20) +/* 802911E0 0028E140 38 A1 00 48 */ addi r5, r1, 0x48 +/* 802911E4 0028E144 B0 01 00 48 */ sth r0, 0x48(r1) +/* 802911E8 0028E148 4B F9 B9 E5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802911EC 0028E14C A0 14 00 00 */ lhz r0, 0(r20) +/* 802911F0 0028E150 A0 7F 09 90 */ lhz r3, 0x990(r31) +/* 802911F4 0028E154 7C 00 18 40 */ cmplw r0, r3 +/* 802911F8 0028E158 40 82 00 20 */ bne lbl_80291218 +/* 802911FC 0028E15C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291200 0028E160 7C 03 00 40 */ cmplw r3, r0 +/* 80291204 0028E164 41 82 00 14 */ beq lbl_80291218 +/* 80291208 0028E168 7F E3 FB 78 */ mr r3, r31 +/* 8029120C 0028E16C 7F C5 F3 78 */ mr r5, r30 +/* 80291210 0028E170 38 80 00 01 */ li r4, 1 +/* 80291214 0028E174 4B F9 63 89 */ bl sub_8022759c +lbl_80291218: +/* 80291218 0028E178 A0 14 00 00 */ lhz r0, 0(r20) +/* 8029121C 0028E17C 7F C3 F3 78 */ mr r3, r30 +/* 80291220 0028E180 38 81 00 44 */ addi r4, r1, 0x44 +/* 80291224 0028E184 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80291228 0028E188 4B DB B3 4D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029122C 0028E18C 7C 60 1B 78 */ mr r0, r3 +/* 80291230 0028E190 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 80291234 0028E194 7C 04 03 78 */ mr r4, r0 +/* 80291238 0028E198 4B E1 E1 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 8029123C 0028E19C 80 83 00 04 */ lwz r4, 4(r3) +/* 80291240 0028E1A0 28 04 00 00 */ cmplwi r4, 0 +/* 80291244 0028E1A4 41 82 05 1C */ beq lbl_80291760 +/* 80291248 0028E1A8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8029124C 0028E1AC 4B F1 79 41 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80291250 0028E1B0 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 80291254 0028E1B4 7F C3 F3 78 */ mr r3, r30 +/* 80291258 0028E1B8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8029125C 0028E1BC B0 01 00 A0 */ sth r0, 0xa0(r1) +/* 80291260 0028E1C0 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80291264 0028E1C4 4B DB B3 11 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80291268 0028E1C8 7C 60 1B 78 */ mr r0, r3 +/* 8029126C 0028E1CC 38 61 00 DC */ addi r3, r1, 0xdc +/* 80291270 0028E1D0 7C 04 03 78 */ mr r4, r0 +/* 80291274 0028E1D4 4B E1 B1 21 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" +/* 80291278 0028E1D8 82 43 00 04 */ lwz r18, 4(r3) +/* 8029127C 0028E1DC 28 12 00 00 */ cmplwi r18, 0 +/* 80291280 0028E1E0 41 82 04 E0 */ beq lbl_80291760 +/* 80291284 0028E1E4 C0 3F 04 20 */ lfs f1, 0x420(r31) +/* 80291288 0028E1E8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 8029128C 0028E1EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80291290 0028E1F0 4C 40 13 82 */ cror 2, 0, 2 +/* 80291294 0028E1F4 40 82 04 CC */ bne lbl_80291760 +/* 80291298 0028E1F8 80 AD 99 98 */ lwz r5, lbl_805A8558@sda21(r13) +/* 8029129C 0028E1FC 38 60 00 00 */ li r3, 0 +/* 802912A0 0028E200 38 80 00 01 */ li r4, 1 +/* 802912A4 0028E204 48 0F 8C 51 */ bl __shl2i +/* 802912A8 0028E208 38 A0 00 00 */ li r5, 0 +/* 802912AC 0028E20C 38 00 00 03 */ li r0, 3 +/* 802912B0 0028E210 90 81 01 8C */ stw r4, 0x18c(r1) +/* 802912B4 0028E214 7F E4 FB 78 */ mr r4, r31 +/* 802912B8 0028E218 90 61 01 88 */ stw r3, 0x188(r1) +/* 802912BC 0028E21C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802912C0 0028E220 90 A1 01 94 */ stw r5, 0x194(r1) +/* 802912C4 0028E224 90 A1 01 90 */ stw r5, 0x190(r1) +/* 802912C8 0028E228 90 01 01 98 */ stw r0, 0x198(r1) +/* 802912CC 0028E22C A0 1F 00 08 */ lhz r0, 8(r31) +/* 802912D0 0028E230 B0 01 00 28 */ sth r0, 0x28(r1) +/* 802912D4 0028E234 A0 B2 00 08 */ lhz r5, 8(r18) +/* 802912D8 0028E238 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802912DC 0028E23C B0 A1 00 30 */ sth r5, 0x30(r1) +/* 802912E0 0028E240 A0 1F 00 08 */ lhz r0, 8(r31) +/* 802912E4 0028E244 B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 802912E8 0028E248 B0 01 00 38 */ sth r0, 0x38(r1) +/* 802912EC 0028E24C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802912F0 0028E250 B0 01 00 34 */ sth r0, 0x34(r1) +/* 802912F4 0028E254 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 802912F8 0028E258 7D 89 03 A6 */ mtctr r12 +/* 802912FC 0028E25C 4E 80 04 21 */ bctrl +/* 80291300 0028E260 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80291304 0028E264 7F C3 F3 78 */ mr r3, r30 +/* 80291308 0028E268 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8029130C 0028E26C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80291310 0028E270 38 81 00 38 */ addi r4, r1, 0x38 +/* 80291314 0028E274 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80291318 0028E278 38 E1 01 A0 */ addi r7, r1, 0x1a0 +/* 8029131C 0028E27C 39 01 01 88 */ addi r8, r1, 0x188 +/* 80291320 0028E280 4B DB 8D 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80291324 0028E284 C0 1F 04 24 */ lfs f0, 0x424(r31) +/* 80291328 0028E288 D0 1F 04 20 */ stfs f0, 0x420(r31) +/* 8029132C 0028E28C 48 00 04 34 */ b lbl_80291760 +/* 80291330 0028E290 A0 14 00 00 */ lhz r0, 0(r20) +/* 80291334 0028E294 A0 7F 09 90 */ lhz r3, 0x990(r31) +/* 80291338 0028E298 7C 00 18 40 */ cmplw r0, r3 +/* 8029133C 0028E29C 40 82 00 A4 */ bne lbl_802913E0 +/* 80291340 0028E2A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291344 0028E2A4 7C 03 00 40 */ cmplw r3, r0 +/* 80291348 0028E2A8 41 82 00 98 */ beq lbl_802913E0 +/* 8029134C 0028E2AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80291350 0028E2B0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80291354 0028E2B4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80291358 0028E2B8 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8029135C 0028E2BC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80291360 0028E2C0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80291364 0028E2C4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291368 0028E2C8 38 C0 00 04 */ li r6, 4 +/* 8029136C 0028E2CC 38 00 00 08 */ li r0, 8 +/* 80291370 0028E2D0 90 A1 01 70 */ stw r5, 0x170(r1) +/* 80291374 0028E2D4 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 80291378 0028E2D8 3A 43 00 04 */ addi r18, r3, 4 +/* 8029137C 0028E2DC 90 C1 01 74 */ stw r6, 0x174(r1) +/* 80291380 0028E2E0 7E 43 93 78 */ mr r3, r18 +/* 80291384 0028E2E4 38 80 00 04 */ li r4, 4 +/* 80291388 0028E2E8 90 A1 01 70 */ stw r5, 0x170(r1) +/* 8029138C 0028E2EC D0 01 01 78 */ stfs f0, 0x178(r1) +/* 80291390 0028E2F0 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 80291394 0028E2F4 D0 41 01 80 */ stfs f2, 0x180(r1) +/* 80291398 0028E2F8 90 01 01 84 */ stw r0, 0x184(r1) +/* 8029139C 0028E2FC 4B EA 00 9D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802913A0 0028E300 80 01 01 74 */ lwz r0, 0x174(r1) +/* 802913A4 0028E304 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802913A8 0028E308 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802913AC 0028E30C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802913B0 0028E310 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 802913B4 0028E314 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802913B8 0028E318 80 A1 01 78 */ lwz r5, 0x178(r1) +/* 802913BC 0028E31C 80 61 01 7C */ lwz r3, 0x17c(r1) +/* 802913C0 0028E320 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 802913C4 0028E324 80 A1 01 80 */ lwz r5, 0x180(r1) +/* 802913C8 0028E328 90 72 01 00 */ stw r3, 0x100(r18) +/* 802913CC 0028E32C 80 61 01 84 */ lwz r3, 0x184(r1) +/* 802913D0 0028E330 90 B2 01 04 */ stw r5, 0x104(r18) +/* 802913D4 0028E334 90 81 01 70 */ stw r4, 0x170(r1) +/* 802913D8 0028E338 90 72 01 08 */ stw r3, 0x108(r18) +/* 802913DC 0028E33C 90 01 01 70 */ stw r0, 0x170(r1) +lbl_802913E0: +/* 802913E0 0028E340 A0 14 00 00 */ lhz r0, 0(r20) +/* 802913E4 0028E344 7F E3 FB 78 */ mr r3, r31 +/* 802913E8 0028E348 7E A4 AB 78 */ mr r4, r21 +/* 802913EC 0028E34C 7F C6 F3 78 */ mr r6, r30 +/* 802913F0 0028E350 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802913F4 0028E354 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802913F8 0028E358 4B F9 B7 D5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 802913FC 0028E35C A0 74 00 00 */ lhz r3, 0(r20) +/* 80291400 0028E360 A0 1F 0A 46 */ lhz r0, 0xa46(r31) +/* 80291404 0028E364 7C 03 00 40 */ cmplw r3, r0 +/* 80291408 0028E368 40 82 03 58 */ bne lbl_80291760 +/* 8029140C 0028E36C 80 1F 0A 7C */ lwz r0, 0xa7c(r31) +/* 80291410 0028E370 2C 00 00 02 */ cmpwi r0, 2 +/* 80291414 0028E374 40 82 03 4C */ bne lbl_80291760 +/* 80291418 0028E378 38 00 00 03 */ li r0, 3 +/* 8029141C 0028E37C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 80291420 0028E380 90 1F 0A 7C */ stw r0, 0xa7c(r31) +/* 80291424 0028E384 D0 1F 0A 84 */ stfs f0, 0xa84(r31) +/* 80291428 0028E388 48 00 03 38 */ b lbl_80291760 +/* 8029142C 0028E38C A0 14 00 00 */ lhz r0, 0(r20) +/* 80291430 0028E390 7F C3 F3 78 */ mr r3, r30 +/* 80291434 0028E394 38 81 00 1C */ addi r4, r1, 0x1c +/* 80291438 0028E398 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8029143C 0028E39C 4B DB B1 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80291440 0028E3A0 7C 64 1B 78 */ mr r4, r3 +/* 80291444 0028E3A4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80291448 0028E3A8 4B E1 C2 C5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8029144C 0028E3AC 82 43 00 04 */ lwz r18, 4(r3) +/* 80291450 0028E3B0 28 12 00 00 */ cmplwi r18, 0 +/* 80291454 0028E3B4 41 82 00 7C */ beq lbl_802914D0 +/* 80291458 0028E3B8 88 1F 0A 4A */ lbz r0, 0xa4a(r31) +/* 8029145C 0028E3BC 28 00 00 00 */ cmplwi r0, 0 +/* 80291460 0028E3C0 41 82 00 70 */ beq lbl_802914D0 +/* 80291464 0028E3C4 80 AD 99 78 */ lwz r5, lbl_805A8538@sda21(r13) +/* 80291468 0028E3C8 38 60 00 00 */ li r3, 0 +/* 8029146C 0028E3CC 38 80 00 01 */ li r4, 1 +/* 80291470 0028E3D0 48 0F 8A 85 */ bl __shl2i +/* 80291474 0028E3D4 39 00 00 00 */ li r8, 0 +/* 80291478 0028E3D8 39 40 00 03 */ li r10, 3 +/* 8029147C 0028E3DC 90 81 01 5C */ stw r4, 0x15c(r1) +/* 80291480 0028E3E0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80291484 0028E3E4 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80291488 0028E3E8 A0 14 00 00 */ lhz r0, 0(r20) +/* 8029148C 0028E3EC 90 61 01 58 */ stw r3, 0x158(r1) +/* 80291490 0028E3F0 7F C3 F3 78 */ mr r3, r30 +/* 80291494 0028E3F4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80291498 0028E3F8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8029149C 0028E3FC 91 01 01 64 */ stw r8, 0x164(r1) +/* 802914A0 0028E400 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802914A4 0028E404 38 F2 01 2C */ addi r7, r18, 0x12c +/* 802914A8 0028E408 91 01 01 60 */ stw r8, 0x160(r1) +/* 802914AC 0028E40C 39 01 01 58 */ addi r8, r1, 0x158 +/* 802914B0 0028E410 91 41 01 68 */ stw r10, 0x168(r1) +/* 802914B4 0028E414 A1 72 00 EC */ lhz r11, 0xec(r18) +/* 802914B8 0028E418 B1 61 00 10 */ sth r11, 0x10(r1) +/* 802914BC 0028E41C A1 5F 0A 46 */ lhz r10, 0xa46(r31) +/* 802914C0 0028E420 B1 61 00 0C */ sth r11, 0xc(r1) +/* 802914C4 0028E424 B1 41 00 14 */ sth r10, 0x14(r1) +/* 802914C8 0028E428 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802914CC 0028E42C 4B DB 8B D5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_802914D0: +/* 802914D0 0028E430 7F E3 FB 78 */ mr r3, r31 +/* 802914D4 0028E434 7F C5 F3 78 */ mr r5, r30 +/* 802914D8 0028E438 38 80 00 01 */ li r4, 1 +/* 802914DC 0028E43C 4B F9 60 C1 */ bl sub_8022759c +/* 802914E0 0028E440 48 00 02 80 */ b lbl_80291760 +/* 802914E4 0028E444 38 00 00 01 */ li r0, 1 +/* 802914E8 0028E448 98 1F 09 EC */ stb r0, 0x9ec(r31) +/* 802914EC 0028E44C 48 00 02 74 */ b lbl_80291760 +/* 802914F0 0028E450 7F C5 F3 78 */ mr r5, r30 +/* 802914F4 0028E454 38 80 00 01 */ li r4, 1 +/* 802914F8 0028E458 4B F9 60 A5 */ bl sub_8022759c +/* 802914FC 0028E45C 48 00 02 64 */ b lbl_80291760 +/* 80291500 0028E460 38 00 00 01 */ li r0, 1 +/* 80291504 0028E464 98 1F 0A 3C */ stb r0, 0xa3c(r31) +/* 80291508 0028E468 48 00 02 58 */ b lbl_80291760 +/* 8029150C 0028E46C 7F C4 F3 78 */ mr r4, r30 +/* 80291510 0028E470 4B FF A0 09 */ bl sub_8028b518 +/* 80291514 0028E474 48 00 02 4C */ b lbl_80291760 +/* 80291518 0028E478 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 8029151C 0028E47C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 80291520 0028E480 88 7F 0A DE */ lbz r3, 0xade(r31) +/* 80291524 0028E484 38 03 00 01 */ addi r0, r3, 1 +/* 80291528 0028E488 98 1F 0A DE */ stb r0, 0xade(r31) +/* 8029152C 0028E48C 88 1F 0A DE */ lbz r0, 0xade(r31) +/* 80291530 0028E490 28 00 00 04 */ cmplwi r0, 4 +/* 80291534 0028E494 40 80 02 2C */ bge lbl_80291760 +/* 80291538 0028E498 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8029153C 0028E49C 3C 60 80 5A */ lis r3, lbl_805A670C@ha +/* 80291540 0028E4A0 38 83 67 0C */ addi r4, r3, lbl_805A670C@l +/* 80291544 0028E4A4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291548 0028E4A8 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l +/* 8029154C 0028E4AC C0 44 00 00 */ lfs f2, 0(r4) +/* 80291550 0028E4B0 C0 24 00 04 */ lfs f1, 4(r4) +/* 80291554 0028E4B4 3C A0 80 3E */ lis r5, lbl_803DAA44@ha +/* 80291558 0028E4B8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8029155C 0028E4BC 38 C0 00 04 */ li r6, 4 +/* 80291560 0028E4C0 38 00 00 01 */ li r0, 1 +/* 80291564 0028E4C4 3A 43 00 04 */ addi r18, r3, 4 +/* 80291568 0028E4C8 90 E1 01 3C */ stw r7, 0x13c(r1) +/* 8029156C 0028E4CC 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l +/* 80291570 0028E4D0 7E 43 93 78 */ mr r3, r18 +/* 80291574 0028E4D4 38 80 00 04 */ li r4, 4 +/* 80291578 0028E4D8 90 C1 01 40 */ stw r6, 0x140(r1) +/* 8029157C 0028E4DC 90 A1 01 3C */ stw r5, 0x13c(r1) +/* 80291580 0028E4E0 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 80291584 0028E4E4 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 80291588 0028E4E8 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 8029158C 0028E4EC 90 01 01 50 */ stw r0, 0x150(r1) +/* 80291590 0028E4F0 4B E9 FE A9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80291594 0028E4F4 80 01 01 40 */ lwz r0, 0x140(r1) +/* 80291598 0028E4F8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8029159C 0028E4FC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802915A0 0028E500 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802915A4 0028E504 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 802915A8 0028E508 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802915AC 0028E50C 80 A1 01 44 */ lwz r5, 0x144(r1) +/* 802915B0 0028E510 80 61 01 48 */ lwz r3, 0x148(r1) +/* 802915B4 0028E514 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 802915B8 0028E518 80 A1 01 4C */ lwz r5, 0x14c(r1) +/* 802915BC 0028E51C 90 72 01 00 */ stw r3, 0x100(r18) +/* 802915C0 0028E520 80 61 01 50 */ lwz r3, 0x150(r1) +/* 802915C4 0028E524 90 B2 01 04 */ stw r5, 0x104(r18) +/* 802915C8 0028E528 90 81 01 3C */ stw r4, 0x13c(r1) +/* 802915CC 0028E52C 90 72 01 08 */ stw r3, 0x108(r18) +/* 802915D0 0028E530 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802915D4 0028E534 48 00 01 8C */ b lbl_80291760 +/* 802915D8 0028E538 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 802915DC 0028E53C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 802915E0 0028E540 88 7F 0A DE */ lbz r3, 0xade(r31) +/* 802915E4 0028E544 38 03 00 01 */ addi r0, r3, 1 +/* 802915E8 0028E548 98 1F 0A DE */ stb r0, 0xade(r31) +/* 802915EC 0028E54C 88 1F 0A DE */ lbz r0, 0xade(r31) +/* 802915F0 0028E550 28 00 00 04 */ cmplwi r0, 4 +/* 802915F4 0028E554 40 80 01 6C */ bge lbl_80291760 +/* 802915F8 0028E558 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 802915FC 0028E55C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 80291600 0028E560 38 83 67 18 */ addi r4, r3, lbl_805A6718@l +/* 80291604 0028E564 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80291608 0028E568 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l +/* 8029160C 0028E56C C0 44 00 00 */ lfs f2, 0(r4) +/* 80291610 0028E570 C0 24 00 04 */ lfs f1, 4(r4) +/* 80291614 0028E574 3C A0 80 3E */ lis r5, lbl_803DAA44@ha +/* 80291618 0028E578 C0 04 00 08 */ lfs f0, 8(r4) +/* 8029161C 0028E57C 38 C0 00 04 */ li r6, 4 +/* 80291620 0028E580 38 00 00 01 */ li r0, 1 +/* 80291624 0028E584 3A 43 00 04 */ addi r18, r3, 4 +/* 80291628 0028E588 90 E1 01 24 */ stw r7, 0x124(r1) +/* 8029162C 0028E58C 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l +/* 80291630 0028E590 7E 43 93 78 */ mr r3, r18 +/* 80291634 0028E594 38 80 00 04 */ li r4, 4 +/* 80291638 0028E598 90 C1 01 28 */ stw r6, 0x128(r1) +/* 8029163C 0028E59C 90 A1 01 24 */ stw r5, 0x124(r1) +/* 80291640 0028E5A0 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80291644 0028E5A4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 80291648 0028E5A8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8029164C 0028E5AC 90 01 01 38 */ stw r0, 0x138(r1) +/* 80291650 0028E5B0 4B E9 FD E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80291654 0028E5B4 80 01 01 28 */ lwz r0, 0x128(r1) +/* 80291658 0028E5B8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8029165C 0028E5BC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 80291660 0028E5C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80291664 0028E5C4 90 12 00 F8 */ stw r0, 0xf8(r18) +/* 80291668 0028E5C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8029166C 0028E5CC 80 A1 01 2C */ lwz r5, 0x12c(r1) +/* 80291670 0028E5D0 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80291674 0028E5D4 90 B2 00 FC */ stw r5, 0xfc(r18) +/* 80291678 0028E5D8 80 A1 01 34 */ lwz r5, 0x134(r1) +/* 8029167C 0028E5DC 90 72 01 00 */ stw r3, 0x100(r18) +/* 80291680 0028E5E0 80 61 01 38 */ lwz r3, 0x138(r1) +/* 80291684 0028E5E4 90 B2 01 04 */ stw r5, 0x104(r18) +/* 80291688 0028E5E8 90 81 01 24 */ stw r4, 0x124(r1) +/* 8029168C 0028E5EC 90 72 01 08 */ stw r3, 0x108(r18) +/* 80291690 0028E5F0 90 01 01 24 */ stw r0, 0x124(r1) +/* 80291694 0028E5F4 48 00 00 CC */ b lbl_80291760 +/* 80291698 0028E5F8 38 00 00 01 */ li r0, 1 +/* 8029169C 0028E5FC 98 1F 0B 78 */ stb r0, 0xb78(r31) +/* 802916A0 0028E600 48 00 00 C0 */ b lbl_80291760 +/* 802916A4 0028E604 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916A8 0028E608 88 64 00 03 */ lbz r3, 3(r4) +/* 802916AC 0028E60C 28 03 00 00 */ cmplwi r3, 0 +/* 802916B0 0028E610 41 82 00 10 */ beq lbl_802916C0 +/* 802916B4 0028E614 38 03 FF FF */ addi r0, r3, -1 +/* 802916B8 0028E618 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802916BC 0028E61C 48 00 00 08 */ b lbl_802916C4 +lbl_802916C0: +/* 802916C0 0028E620 38 00 00 00 */ li r0, 0 +lbl_802916C4: +/* 802916C4 0028E624 98 04 00 03 */ stb r0, 3(r4) +/* 802916C8 0028E628 48 00 00 98 */ b lbl_80291760 +/* 802916CC 0028E62C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916D0 0028E630 88 64 00 02 */ lbz r3, 2(r4) +/* 802916D4 0028E634 28 03 00 00 */ cmplwi r3, 0 +/* 802916D8 0028E638 41 82 00 10 */ beq lbl_802916E8 +/* 802916DC 0028E63C 38 03 FF FF */ addi r0, r3, -1 +/* 802916E0 0028E640 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 802916E4 0028E644 48 00 00 08 */ b lbl_802916EC +lbl_802916E8: +/* 802916E8 0028E648 38 00 00 00 */ li r0, 0 +lbl_802916EC: +/* 802916EC 0028E64C 98 04 00 02 */ stb r0, 2(r4) +/* 802916F0 0028E650 48 00 00 70 */ b lbl_80291760 +/* 802916F4 0028E654 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 802916F8 0028E658 88 64 00 01 */ lbz r3, 1(r4) +/* 802916FC 0028E65C 28 03 00 00 */ cmplwi r3, 0 +/* 80291700 0028E660 41 82 00 10 */ beq lbl_80291710 +/* 80291704 0028E664 38 03 FF FF */ addi r0, r3, -1 +/* 80291708 0028E668 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8029170C 0028E66C 48 00 00 08 */ b lbl_80291714 +lbl_80291710: +/* 80291710 0028E670 38 00 00 00 */ li r0, 0 +lbl_80291714: +/* 80291714 0028E674 98 04 00 01 */ stb r0, 1(r4) +/* 80291718 0028E678 48 00 00 48 */ b lbl_80291760 +/* 8029171C 0028E67C 80 9F 0B 88 */ lwz r4, 0xb88(r31) +/* 80291720 0028E680 88 64 00 00 */ lbz r3, 0(r4) +/* 80291724 0028E684 28 03 00 00 */ cmplwi r3, 0 +/* 80291728 0028E688 41 82 00 10 */ beq lbl_80291738 +/* 8029172C 0028E68C 38 03 FF FF */ addi r0, r3, -1 +/* 80291730 0028E690 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80291734 0028E694 48 00 00 08 */ b lbl_8029173C +lbl_80291738: +/* 80291738 0028E698 38 00 00 00 */ li r0, 0 +lbl_8029173C: +/* 8029173C 0028E69C 98 04 00 00 */ stb r0, 0(r4) +/* 80291740 0028E6A0 48 00 00 20 */ b lbl_80291760 +lbl_80291744: +/* 80291744 0028E6A4 A0 14 00 00 */ lhz r0, 0(r20) +/* 80291748 0028E6A8 7F E3 FB 78 */ mr r3, r31 +/* 8029174C 0028E6AC 7E A4 AB 78 */ mr r4, r21 +/* 80291750 0028E6B0 7F C6 F3 78 */ mr r6, r30 +/* 80291754 0028E6B4 B0 01 00 08 */ sth r0, 8(r1) +/* 80291758 0028E6B8 38 A1 00 08 */ addi r5, r1, 8 +/* 8029175C 0028E6BC 4B F9 B4 71 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_80291760: +/* 80291760 0028E6C0 BA 41 02 28 */ lmw r18, 0x228(r1) +/* 80291764 0028E6C4 80 01 02 64 */ lwz r0, 0x264(r1) +/* 80291768 0028E6C8 7C 08 03 A6 */ mtlr r0 +/* 8029176C 0028E6CC 38 21 02 60 */ addi r1, r1, 0x260 +/* 80291770 0028E6D0 4E 80 00 20 */ blr + +.global sub_80291774 +sub_80291774: +/* 80291774 0028E6D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291778 0028E6D8 7C 08 02 A6 */ mflr r0 +/* 8029177C 0028E6DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291780 0028E6E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80291784 0028E6E4 7C 9F 23 78 */ mr r31, r4 +/* 80291788 0028E6E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029178C 0028E6EC 7C 7E 1B 78 */ mr r30, r3 +/* 80291790 0028E6F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80291794 0028E6F4 80 03 00 04 */ lwz r0, 4(r3) +/* 80291798 0028E6F8 80 A3 00 08 */ lwz r5, 8(r3) +/* 8029179C 0028E6FC 7C 00 28 00 */ cmpw r0, r5 +/* 802917A0 0028E700 41 80 00 18 */ blt lbl_802917B8 +/* 802917A4 0028E704 2C 05 00 00 */ cmpwi r5, 0 +/* 802917A8 0028E708 38 80 00 04 */ li r4, 4 +/* 802917AC 0028E70C 41 82 00 08 */ beq lbl_802917B4 +/* 802917B0 0028E710 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802917B4: +/* 802917B4 0028E714 48 00 0A 11 */ bl sub_802921c4 +lbl_802917B8: +/* 802917B8 0028E718 80 1E 00 04 */ lwz r0, 4(r30) +/* 802917BC 0028E71C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802917C0 0028E720 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 802917C4 0028E724 7F A3 02 15 */ add. r29, r3, r0 +/* 802917C8 0028E728 41 82 00 A4 */ beq lbl_8029186C +/* 802917CC 0028E72C A0 1F 00 00 */ lhz r0, 0(r31) +/* 802917D0 0028E730 B0 1D 00 00 */ sth r0, 0(r29) +/* 802917D4 0028E734 80 1F 00 08 */ lwz r0, 8(r31) +/* 802917D8 0028E738 90 1D 00 08 */ stw r0, 8(r29) +/* 802917DC 0028E73C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802917E0 0028E740 90 1D 00 0C */ stw r0, 0xc(r29) +/* 802917E4 0028E744 80 1F 00 08 */ lwz r0, 8(r31) +/* 802917E8 0028E748 2C 00 00 00 */ cmpwi r0, 0 +/* 802917EC 0028E74C 40 82 00 1C */ bne lbl_80291808 +/* 802917F0 0028E750 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802917F4 0028E754 2C 00 00 00 */ cmpwi r0, 0 +/* 802917F8 0028E758 40 82 00 10 */ bne lbl_80291808 +/* 802917FC 0028E75C 38 00 00 00 */ li r0, 0 +/* 80291800 0028E760 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80291804 0028E764 48 00 00 68 */ b lbl_8029186C +lbl_80291808: +/* 80291808 0028E768 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8029180C 0028E76C 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 80291810 0028E770 40 82 00 10 */ bne lbl_80291820 +/* 80291814 0028E774 38 00 00 00 */ li r0, 0 +/* 80291818 0028E778 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8029181C 0028E77C 48 00 00 1C */ b lbl_80291838 +lbl_80291820: +/* 80291820 0028E780 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80291824 0028E784 38 A0 00 00 */ li r5, 0 +/* 80291828 0028E788 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8029182C 0028E78C 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80291830 0028E790 48 08 3F E9 */ bl __nwa__FUlPCcPCc +/* 80291834 0028E794 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_80291838: +/* 80291838 0028E798 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029183C 0028E79C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80291840 0028E7A0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80291844 0028E7A4 7C 09 03 A6 */ mtctr r0 +/* 80291848 0028E7A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8029184C 0028E7AC 40 81 00 20 */ ble lbl_8029186C +lbl_80291850: +/* 80291850 0028E7B0 28 03 00 00 */ cmplwi r3, 0 +/* 80291854 0028E7B4 41 82 00 0C */ beq lbl_80291860 +/* 80291858 0028E7B8 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029185C 0028E7BC B0 03 00 00 */ sth r0, 0(r3) +lbl_80291860: +/* 80291860 0028E7C0 38 63 00 02 */ addi r3, r3, 2 +/* 80291864 0028E7C4 38 84 00 02 */ addi r4, r4, 2 +/* 80291868 0028E7C8 42 00 FF E8 */ bdnz lbl_80291850 +lbl_8029186C: +/* 8029186C 0028E7CC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80291870 0028E7D0 38 03 00 01 */ addi r0, r3, 1 +/* 80291874 0028E7D4 90 1E 00 04 */ stw r0, 4(r30) +/* 80291878 0028E7D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029187C 0028E7DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80291880 0028E7E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80291884 0028E7E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80291888 0028E7E8 7C 08 03 A6 */ mtlr r0 +/* 8029188C 0028E7EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80291890 0028E7F0 4E 80 00 20 */ blr + +.global "__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii" +"__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii": +/* 80291894 0028E7F4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80291898 0028E7F8 7C 08 02 A6 */ mflr r0 +/* 8029189C 0028E7FC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802918A0 0028E800 81 61 00 A8 */ lwz r11, 0xa8(r1) +/* 802918A4 0028E804 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 802918A8 0028E808 7C 7F 1B 78 */ mr r31, r3 +/* 802918AC 0028E80C 83 A1 00 AC */ lwz r29, 0xac(r1) +/* 802918B0 0028E810 7D 1E 43 78 */ mr r30, r8 +/* 802918B4 0028E814 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 802918B8 0028E818 83 61 00 B4 */ lwz r27, 0xb4(r1) +/* 802918BC 0028E81C A0 04 00 00 */ lhz r0, 0(r4) +/* 802918C0 0028E820 38 81 00 10 */ addi r4, r1, 0x10 +/* 802918C4 0028E824 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802918C8 0028E828 91 61 00 08 */ stw r11, 8(r1) +/* 802918CC 0028E82C 4B F9 BE C5 */ bl "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" +/* 802918D0 0028E830 3C 80 80 3F */ lis r4, lbl_803EB868@ha +/* 802918D4 0028E834 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 802918D8 0028E838 38 04 B8 68 */ addi r0, r4, lbl_803EB868@l +/* 802918DC 0028E83C 38 C0 00 00 */ li r6, 0 +/* 802918E0 0028E840 90 1F 00 00 */ stw r0, 0(r31) +/* 802918E4 0028E844 38 80 00 01 */ li r4, 1 +/* 802918E8 0028E848 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 802918EC 0028E84C 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 802918F0 0028E850 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) +/* 802918F4 0028E854 38 61 00 3C */ addi r3, r1, 0x3c +/* 802918F8 0028E858 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) +/* 802918FC 0028E85C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80291900 0028E860 B0 FF 09 90 */ sth r7, 0x990(r31) +/* 80291904 0028E864 90 DF 09 94 */ stw r6, 0x994(r31) +/* 80291908 0028E868 D0 3F 09 98 */ stfs f1, 0x998(r31) +/* 8029190C 0028E86C D0 1F 09 9C */ stfs f0, 0x99c(r31) +/* 80291910 0028E870 98 9F 09 A0 */ stb r4, 0x9a0(r31) +/* 80291914 0028E874 98 9F 09 A1 */ stb r4, 0x9a1(r31) +/* 80291918 0028E878 90 DF 09 A8 */ stw r6, 0x9a8(r31) +/* 8029191C 0028E87C 90 DF 09 AC */ stw r6, 0x9ac(r31) +/* 80291920 0028E880 90 DF 09 B0 */ stw r6, 0x9b0(r31) +/* 80291924 0028E884 98 DF 09 B4 */ stb r6, 0x9b4(r31) +/* 80291928 0028E888 90 DF 09 BC */ stw r6, 0x9bc(r31) +/* 8029192C 0028E88C 90 DF 09 C0 */ stw r6, 0x9c0(r31) +/* 80291930 0028E890 90 DF 09 C4 */ stw r6, 0x9c4(r31) +/* 80291934 0028E894 90 DF 09 C8 */ stw r6, 0x9c8(r31) +/* 80291938 0028E898 D0 3F 09 CC */ stfs f1, 0x9cc(r31) +/* 8029193C 0028E89C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80291940 0028E8A0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 80291944 0028E8A4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80291948 0028E8A8 D0 1F 09 D0 */ stfs f0, 0x9d0(r31) +/* 8029194C 0028E8AC D0 3F 09 D4 */ stfs f1, 0x9d4(r31) +/* 80291950 0028E8B0 D0 5F 09 D8 */ stfs f2, 0x9d8(r31) +/* 80291954 0028E8B4 90 DF 09 E0 */ stw r6, 0x9e0(r31) +/* 80291958 0028E8B8 90 DF 09 E4 */ stw r6, 0x9e4(r31) +/* 8029195C 0028E8BC 90 DF 09 E8 */ stw r6, 0x9e8(r31) +/* 80291960 0028E8C0 98 DF 09 EC */ stb r6, 0x9ec(r31) +/* 80291964 0028E8C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80291968 0028E8C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029196C 0028E8CC 93 A1 00 48 */ stw r29, 0x48(r1) +/* 80291970 0028E8D0 81 84 00 00 */ lwz r12, 0(r4) +/* 80291974 0028E8D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80291978 0028E8D8 7D 89 03 A6 */ mtctr r12 +/* 8029197C 0028E8DC 4E 80 04 21 */ bctrl +/* 80291980 0028E8E0 3B A1 00 64 */ addi r29, r1, 0x64 +/* 80291984 0028E8E4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80291988 0028E8E8 7F A3 EB 78 */ mr r3, r29 +/* 8029198C 0028E8EC 48 0A F5 1D */ bl __ct__6CTokenFRC6CToken +/* 80291990 0028E8F0 7F A3 EB 78 */ mr r3, r29 +/* 80291994 0028E8F4 48 0A F4 79 */ bl GetObj__6CTokenFv +/* 80291998 0028E8F8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8029199C 0028E8FC 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 802919A0 0028E900 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 802919A4 0028E904 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802919A8 0028E908 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 802919AC 0028E90C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802919B0 0028E910 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802919B4 0028E914 90 01 00 34 */ stw r0, 0x34(r1) +/* 802919B8 0028E918 93 81 00 38 */ stw r28, 0x38(r1) +/* 802919BC 0028E91C 81 84 00 00 */ lwz r12, 0(r4) +/* 802919C0 0028E920 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802919C4 0028E924 7D 89 03 A6 */ mtctr r12 +/* 802919C8 0028E928 4E 80 04 21 */ bctrl +/* 802919CC 0028E92C 3B 81 00 58 */ addi r28, r1, 0x58 +/* 802919D0 0028E930 38 81 00 2C */ addi r4, r1, 0x2c +/* 802919D4 0028E934 7F 83 E3 78 */ mr r3, r28 +/* 802919D8 0028E938 48 0A F4 D1 */ bl __ct__6CTokenFRC6CToken +/* 802919DC 0028E93C 7F 83 E3 78 */ mr r3, r28 +/* 802919E0 0028E940 48 0A F4 2D */ bl GetObj__6CTokenFv +/* 802919E4 0028E944 80 A3 00 04 */ lwz r5, 4(r3) +/* 802919E8 0028E948 3C 60 43 49 */ lis r3, 0x43494E46@ha +/* 802919EC 0028E94C 38 03 4E 46 */ addi r0, r3, 0x43494E46@l +/* 802919F0 0028E950 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802919F4 0028E954 90 A1 00 60 */ stw r5, 0x60(r1) +/* 802919F8 0028E958 38 61 00 1C */ addi r3, r1, 0x1c +/* 802919FC 0028E95C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80291A00 0028E960 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291A04 0028E964 93 61 00 28 */ stw r27, 0x28(r1) +/* 80291A08 0028E968 81 84 00 00 */ lwz r12, 0(r4) +/* 80291A0C 0028E96C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80291A10 0028E970 7D 89 03 A6 */ mtctr r12 +/* 80291A14 0028E974 4E 80 04 21 */ bctrl +/* 80291A18 0028E978 3B 61 00 4C */ addi r27, r1, 0x4c +/* 80291A1C 0028E97C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80291A20 0028E980 7F 63 DB 78 */ mr r3, r27 +/* 80291A24 0028E984 48 0A F4 85 */ bl __ct__6CTokenFRC6CToken +/* 80291A28 0028E988 7F 63 DB 78 */ mr r3, r27 +/* 80291A2C 0028E98C 48 0A F3 E1 */ bl GetObj__6CTokenFv +/* 80291A30 0028E990 80 03 00 04 */ lwz r0, 4(r3) +/* 80291A34 0028E994 38 7F 09 F0 */ addi r3, r31, 0x9f0 +/* 80291A38 0028E998 7F A4 EB 78 */ mr r4, r29 +/* 80291A3C 0028E99C 7F 85 E3 78 */ mr r5, r28 +/* 80291A40 0028E9A0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80291A44 0028E9A4 7F 66 DB 78 */ mr r6, r27 +/* 80291A48 0028E9A8 38 E0 00 01 */ li r7, 1 +/* 80291A4C 0028E9AC 48 0C 19 ED */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +/* 80291A50 0028E9B0 7F 63 DB 78 */ mr r3, r27 +/* 80291A54 0028E9B4 38 80 00 00 */ li r4, 0 +/* 80291A58 0028E9B8 48 0A F3 E9 */ bl __dt__6CTokenFv +/* 80291A5C 0028E9BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80291A60 0028E9C0 38 80 FF FF */ li r4, -1 +/* 80291A64 0028E9C4 48 0A F3 DD */ bl __dt__6CTokenFv +/* 80291A68 0028E9C8 7F 83 E3 78 */ mr r3, r28 +/* 80291A6C 0028E9CC 38 80 00 00 */ li r4, 0 +/* 80291A70 0028E9D0 48 0A F3 D1 */ bl __dt__6CTokenFv +/* 80291A74 0028E9D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80291A78 0028E9D8 38 80 FF FF */ li r4, -1 +/* 80291A7C 0028E9DC 48 0A F3 C5 */ bl __dt__6CTokenFv +/* 80291A80 0028E9E0 7F A3 EB 78 */ mr r3, r29 +/* 80291A84 0028E9E4 38 80 00 00 */ li r4, 0 +/* 80291A88 0028E9E8 48 0A F3 B9 */ bl __dt__6CTokenFv +/* 80291A8C 0028E9EC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80291A90 0028E9F0 38 80 FF FF */ li r4, -1 +/* 80291A94 0028E9F4 48 0A F3 AD */ bl __dt__6CTokenFv +/* 80291A98 0028E9F8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) +/* 80291A9C 0028E9FC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80291AA0 0028EA00 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80291AA4 0028EA04 38 A0 00 00 */ li r5, 0 +/* 80291AA8 0028EA08 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) +/* 80291AAC 0028EA0C 38 00 00 01 */ li r0, 1 +/* 80291AB0 0028EA10 38 7F 0A 4C */ addi r3, r31, 0xa4c +/* 80291AB4 0028EA14 90 BF 0A 30 */ stw r5, 0xa30(r31) +/* 80291AB8 0028EA18 D0 1F 0A 34 */ stfs f0, 0xa34(r31) +/* 80291ABC 0028EA1C 90 BF 0A 38 */ stw r5, 0xa38(r31) +/* 80291AC0 0028EA20 98 BF 0A 3C */ stb r5, 0xa3c(r31) +/* 80291AC4 0028EA24 90 1F 0A 40 */ stw r0, 0xa40(r31) +/* 80291AC8 0028EA28 98 BF 0A 44 */ stb r5, 0xa44(r31) +/* 80291ACC 0028EA2C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291AD0 0028EA30 B0 1F 0A 46 */ sth r0, 0xa46(r31) +/* 80291AD4 0028EA34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80291AD8 0028EA38 B0 1F 0A 48 */ sth r0, 0xa48(r31) +/* 80291ADC 0028EA3C 98 BF 0A 4A */ stb r5, 0xa4a(r31) +/* 80291AE0 0028EA40 48 08 10 95 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80291AE4 0028EA44 38 00 00 00 */ li r0, 0 +/* 80291AE8 0028EA48 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) +/* 80291AEC 0028EA4C 90 1F 0A 7C */ stw r0, 0xa7c(r31) +/* 80291AF0 0028EA50 38 80 00 01 */ li r4, 1 +/* 80291AF4 0028EA54 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 80291AF8 0028EA58 3C 60 80 57 */ lis r3, lbl_80570004@ha +/* 80291AFC 0028EA5C D0 5F 0A 80 */ stfs f2, 0xa80(r31) +/* 80291B00 0028EA60 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) +/* 80291B04 0028EA64 D0 3F 0A 84 */ stfs f1, 0xa84(r31) +/* 80291B08 0028EA68 98 1F 0A 88 */ stb r0, 0xa88(r31) +/* 80291B0C 0028EA6C D0 1F 0A 8C */ stfs f0, 0xa8c(r31) +/* 80291B10 0028EA70 D0 5F 0A 90 */ stfs f2, 0xa90(r31) +/* 80291B14 0028EA74 D0 5F 0A 94 */ stfs f2, 0xa94(r31) +/* 80291B18 0028EA78 D0 3F 0A 98 */ stfs f1, 0xa98(r31) +/* 80291B1C 0028EA7C 90 1F 0A 9C */ stw r0, 0xa9c(r31) +/* 80291B20 0028EA80 90 1F 0A A4 */ stw r0, 0xaa4(r31) +/* 80291B24 0028EA84 90 1F 0A A8 */ stw r0, 0xaa8(r31) +/* 80291B28 0028EA88 90 1F 0A AC */ stw r0, 0xaac(r31) +/* 80291B2C 0028EA8C D0 3F 0A B0 */ stfs f1, 0xab0(r31) +/* 80291B30 0028EA90 90 1F 0A B8 */ stw r0, 0xab8(r31) +/* 80291B34 0028EA94 90 1F 0A BC */ stw r0, 0xabc(r31) +/* 80291B38 0028EA98 90 1F 0A C0 */ stw r0, 0xac0(r31) +/* 80291B3C 0028EA9C 90 1F 0A C4 */ stw r0, 0xac4(r31) +/* 80291B40 0028EAA0 90 1F 0A C8 */ stw r0, 0xac8(r31) +/* 80291B44 0028EAA4 90 1F 0A CC */ stw r0, 0xacc(r31) +/* 80291B48 0028EAA8 98 1F 0A D0 */ stb r0, 0xad0(r31) +/* 80291B4C 0028EAAC D0 5F 0A D4 */ stfs f2, 0xad4(r31) +/* 80291B50 0028EAB0 98 1F 0A D8 */ stb r0, 0xad8(r31) +/* 80291B54 0028EAB4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80291B58 0028EAB8 B0 BF 0A DA */ sth r5, 0xada(r31) +/* 80291B5C 0028EABC 98 1F 0A DC */ stb r0, 0xadc(r31) +/* 80291B60 0028EAC0 98 1F 0A DD */ stb r0, 0xadd(r31) +/* 80291B64 0028EAC4 98 1F 0A DE */ stb r0, 0xade(r31) +/* 80291B68 0028EAC8 98 9F 0A DF */ stb r4, 0xadf(r31) +/* 80291B6C 0028EACC 98 9F 0A E0 */ stb r4, 0xae0(r31) +/* 80291B70 0028EAD0 84 A3 D5 78 */ lwzu r5, -0x2a88(r3) +/* 80291B74 0028EAD4 80 83 00 04 */ lwz r4, lbl_80570004@l(r3) +/* 80291B78 0028EAD8 90 BF 0A E4 */ stw r5, 0xae4(r31) +/* 80291B7C 0028EADC 90 9F 0A E8 */ stw r4, 0xae8(r31) +/* 80291B80 0028EAE0 80 A3 00 08 */ lwz r5, 8(r3) +/* 80291B84 0028EAE4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80291B88 0028EAE8 90 BF 0A EC */ stw r5, 0xaec(r31) +/* 80291B8C 0028EAEC 90 9F 0A F0 */ stw r4, 0xaf0(r31) +/* 80291B90 0028EAF0 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80291B94 0028EAF4 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80291B98 0028EAF8 90 BF 0A F4 */ stw r5, 0xaf4(r31) +/* 80291B9C 0028EAFC 90 9F 0A F8 */ stw r4, 0xaf8(r31) +/* 80291BA0 0028EB00 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80291BA4 0028EB04 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80291BA8 0028EB08 90 BF 0A FC */ stw r5, 0xafc(r31) +/* 80291BAC 0028EB0C 90 9F 0B 00 */ stw r4, 0xb00(r31) +/* 80291BB0 0028EB10 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 80291BB4 0028EB14 80 83 00 24 */ lwz r4, 0x24(r3) +/* 80291BB8 0028EB18 90 BF 0B 04 */ stw r5, 0xb04(r31) +/* 80291BBC 0028EB1C 90 9F 0B 08 */ stw r4, 0xb08(r31) +/* 80291BC0 0028EB20 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 80291BC4 0028EB24 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80291BC8 0028EB28 90 BF 0B 0C */ stw r5, 0xb0c(r31) +/* 80291BCC 0028EB2C 90 9F 0B 10 */ stw r4, 0xb10(r31) +/* 80291BD0 0028EB30 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 80291BD4 0028EB34 80 83 00 34 */ lwz r4, 0x34(r3) +/* 80291BD8 0028EB38 90 BF 0B 14 */ stw r5, 0xb14(r31) +/* 80291BDC 0028EB3C 90 9F 0B 18 */ stw r4, 0xb18(r31) +/* 80291BE0 0028EB40 80 83 00 38 */ lwz r4, 0x38(r3) +/* 80291BE4 0028EB44 90 9F 0B 1C */ stw r4, 0xb1c(r31) +/* 80291BE8 0028EB48 80 A3 00 3C */ lwz r5, 0x3c(r3) +/* 80291BEC 0028EB4C 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80291BF0 0028EB50 90 BF 0B 20 */ stw r5, 0xb20(r31) +/* 80291BF4 0028EB54 90 9F 0B 24 */ stw r4, 0xb24(r31) +/* 80291BF8 0028EB58 80 A3 00 44 */ lwz r5, 0x44(r3) +/* 80291BFC 0028EB5C 80 83 00 48 */ lwz r4, 0x48(r3) +/* 80291C00 0028EB60 90 BF 0B 28 */ stw r5, 0xb28(r31) +/* 80291C04 0028EB64 90 9F 0B 2C */ stw r4, 0xb2c(r31) +/* 80291C08 0028EB68 80 A3 00 4C */ lwz r5, 0x4c(r3) +/* 80291C0C 0028EB6C 80 83 00 50 */ lwz r4, 0x50(r3) +/* 80291C10 0028EB70 90 BF 0B 30 */ stw r5, 0xb30(r31) +/* 80291C14 0028EB74 90 9F 0B 34 */ stw r4, 0xb34(r31) +/* 80291C18 0028EB78 80 A3 00 54 */ lwz r5, 0x54(r3) +/* 80291C1C 0028EB7C 80 83 00 58 */ lwz r4, 0x58(r3) +/* 80291C20 0028EB80 90 BF 0B 38 */ stw r5, 0xb38(r31) +/* 80291C24 0028EB84 90 9F 0B 3C */ stw r4, 0xb3c(r31) +/* 80291C28 0028EB88 80 83 00 5C */ lwz r4, 0x5c(r3) +/* 80291C2C 0028EB8C 90 9F 0B 40 */ stw r4, 0xb40(r31) +/* 80291C30 0028EB90 80 83 00 60 */ lwz r4, 0x60(r3) +/* 80291C34 0028EB94 90 9F 0B 44 */ stw r4, 0xb44(r31) +/* 80291C38 0028EB98 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80291C3C 0028EB9C 90 7F 0B 48 */ stw r3, 0xb48(r31) +/* 80291C40 0028EBA0 90 1F 0B 4C */ stw r0, 0xb4c(r31) +/* 80291C44 0028EBA4 D0 3F 0B 50 */ stfs f1, 0xb50(r31) +/* 80291C48 0028EBA8 48 0B 83 65 */ bl White__6CColorFv +/* 80291C4C 0028EBAC 80 03 00 00 */ lwz r0, 0(r3) +/* 80291C50 0028EBB0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha +/* 80291C54 0028EBB4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l +/* 80291C58 0028EBB8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) +/* 80291C5C 0028EBBC 90 1F 0B 54 */ stw r0, 0xb54(r31) +/* 80291C60 0028EBC0 38 00 00 00 */ li r0, 0 +/* 80291C64 0028EBC4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) +/* 80291C68 0028EBC8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291C6C 0028EBCC D0 1F 0B 58 */ stfs f0, 0xb58(r31) +/* 80291C70 0028EBD0 38 A4 00 F1 */ addi r5, r4, 0xf1 +/* 80291C74 0028EBD4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) +/* 80291C78 0028EBD8 D0 3F 0B 5C */ stfs f1, 0xb5c(r31) +/* 80291C7C 0028EBDC D0 3F 0B 60 */ stfs f1, 0xb60(r31) +/* 80291C80 0028EBE0 D0 1F 0B 64 */ stfs f0, 0xb64(r31) +/* 80291C84 0028EBE4 90 1F 0B 68 */ stw r0, 0xb68(r31) +/* 80291C88 0028EBE8 98 1F 0B 6C */ stb r0, 0xb6c(r31) +/* 80291C8C 0028EBEC 98 1F 0B 6D */ stb r0, 0xb6d(r31) +/* 80291C90 0028EBF0 98 1F 0B 6E */ stb r0, 0xb6e(r31) +/* 80291C94 0028EBF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80291C98 0028EBF8 81 84 00 00 */ lwz r12, 0(r4) +/* 80291C9C 0028EBFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80291CA0 0028EC00 7D 89 03 A6 */ mtctr r12 +/* 80291CA4 0028EC04 4E 80 04 21 */ bctrl +/* 80291CA8 0028EC08 38 7F 0B 70 */ addi r3, r31, 0xb70 +/* 80291CAC 0028EC0C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80291CB0 0028EC10 48 0A F1 F9 */ bl __ct__6CTokenFRC6CToken +/* 80291CB4 0028EC14 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291CB8 0028EC18 38 80 FF FF */ li r4, -1 +/* 80291CBC 0028EC1C 48 0A F1 85 */ bl __dt__6CTokenFv +/* 80291CC0 0028EC20 38 00 00 00 */ li r0, 0 +/* 80291CC4 0028EC24 38 7F 09 A4 */ addi r3, r31, 0x9a4 +/* 80291CC8 0028EC28 98 1F 0B 78 */ stb r0, 0xb78(r31) +/* 80291CCC 0028EC2C 38 80 00 03 */ li r4, 3 +/* 80291CD0 0028EC30 98 1F 0B 79 */ stb r0, 0xb79(r31) +/* 80291CD4 0028EC34 90 1F 0B 80 */ stw r0, 0xb80(r31) +/* 80291CD8 0028EC38 90 1F 0B 84 */ stw r0, 0xb84(r31) +/* 80291CDC 0028EC3C 90 1F 0B 88 */ stw r0, 0xb88(r31) +/* 80291CE0 0028EC40 48 00 04 E5 */ bl sub_802921c4 +/* 80291CE4 0028EC44 38 7F 09 B8 */ addi r3, r31, 0x9b8 +/* 80291CE8 0028EC48 38 80 00 18 */ li r4, 0x18 +/* 80291CEC 0028EC4C 48 00 06 FD */ bl sub_802923e8 +/* 80291CF0 0028EC50 38 7F 09 DC */ addi r3, r31, 0x9dc +/* 80291CF4 0028EC54 38 80 00 04 */ li r4, 4 +/* 80291CF8 0028EC58 48 00 06 F1 */ bl sub_802923e8 +/* 80291CFC 0028EC5C 38 7F 0A A0 */ addi r3, r31, 0xaa0 +/* 80291D00 0028EC60 38 80 00 04 */ li r4, 4 +/* 80291D04 0028EC64 48 00 06 E5 */ bl sub_802923e8 +/* 80291D08 0028EC68 38 7F 0A B4 */ addi r3, r31, 0xab4 +/* 80291D0C 0028EC6C 38 80 00 03 */ li r4, 3 +/* 80291D10 0028EC70 48 00 07 E1 */ bl sub_802924f0 +/* 80291D14 0028EC74 38 7F 0B 70 */ addi r3, r31, 0xb70 +/* 80291D18 0028EC78 48 0A F0 6D */ bl Lock__6CTokenFv +/* 80291D1C 0028EC7C C0 22 BF 10 */ lfs f1, lbl_805ADC30@sda21(r2) +/* 80291D20 0028EC80 7F E3 FB 78 */ mr r3, r31 +/* 80291D24 0028EC84 4B E8 8D 65 */ bl SetMass__13CPhysicsActorFf +/* 80291D28 0028EC88 38 7F 0B 7C */ addi r3, r31, 0xb7c +/* 80291D2C 0028EC8C 38 80 00 04 */ li r4, 4 +/* 80291D30 0028EC90 4B F4 44 CD */ bl "reserve__Q24rstl37vectorFi" +/* 80291D34 0028EC94 3B 60 00 00 */ li r27, 0 +lbl_80291D38: +/* 80291D38 0028EC98 80 1F 0B 80 */ lwz r0, 0xb80(r31) +/* 80291D3C 0028EC9C 80 BF 0B 84 */ lwz r5, 0xb84(r31) +/* 80291D40 0028ECA0 7C 00 28 00 */ cmpw r0, r5 +/* 80291D44 0028ECA4 41 80 00 1C */ blt lbl_80291D60 +/* 80291D48 0028ECA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80291D4C 0028ECAC 38 7F 0B 7C */ addi r3, r31, 0xb7c +/* 80291D50 0028ECB0 38 80 00 04 */ li r4, 4 +/* 80291D54 0028ECB4 41 82 00 08 */ beq lbl_80291D5C +/* 80291D58 0028ECB8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80291D5C: +/* 80291D5C 0028ECBC 4B F4 44 A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_80291D60: +/* 80291D60 0028ECC0 80 7F 0B 88 */ lwz r3, 0xb88(r31) +/* 80291D64 0028ECC4 80 1F 0B 80 */ lwz r0, 0xb80(r31) +/* 80291D68 0028ECC8 7C 63 02 15 */ add. r3, r3, r0 +/* 80291D6C 0028ECCC 41 82 00 0C */ beq lbl_80291D78 +/* 80291D70 0028ECD0 88 0D 99 7C */ lbz r0, lbl_805A853C@sda21(r13) +/* 80291D74 0028ECD4 98 03 00 00 */ stb r0, 0(r3) +lbl_80291D78: +/* 80291D78 0028ECD8 80 7F 0B 80 */ lwz r3, 0xb80(r31) +/* 80291D7C 0028ECDC 3B 7B 00 01 */ addi r27, r27, 1 +/* 80291D80 0028ECE0 28 1B 00 04 */ cmplwi r27, 4 +/* 80291D84 0028ECE4 38 03 00 01 */ addi r0, r3, 1 +/* 80291D88 0028ECE8 90 1F 0B 80 */ stw r0, 0xb80(r31) +/* 80291D8C 0028ECEC 41 80 FF AC */ blt lbl_80291D38 +/* 80291D90 0028ECF0 7F E3 FB 78 */ mr r3, r31 +/* 80291D94 0028ECF4 4B DC 1B 29 */ bl GetMaterialFilter__6CActorCFv +/* 80291D98 0028ECF8 80 AD 99 80 */ lwz r5, lbl_805A8540@sda21(r13) +/* 80291D9C 0028ECFC 38 80 00 01 */ li r4, 1 +/* 80291DA0 0028ED00 83 C3 00 08 */ lwz r30, 8(r3) +/* 80291DA4 0028ED04 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 80291DA8 0028ED08 38 60 00 00 */ li r3, 0 +/* 80291DAC 0028ED0C 48 0F 81 49 */ bl __shl2i +/* 80291DB0 0028ED10 80 AD 99 84 */ lwz r5, lbl_805A8544@sda21(r13) +/* 80291DB4 0028ED14 7C 9B 23 78 */ mr r27, r4 +/* 80291DB8 0028ED18 7C 7C 1B 78 */ mr r28, r3 +/* 80291DBC 0028ED1C 38 60 00 00 */ li r3, 0 +/* 80291DC0 0028ED20 38 80 00 01 */ li r4, 1 +/* 80291DC4 0028ED24 48 0F 81 31 */ bl __shl2i +/* 80291DC8 0028ED28 80 AD 99 88 */ lwz r5, lbl_805A8548@sda21(r13) +/* 80291DCC 0028ED2C 7F 7B 23 78 */ or r27, r27, r4 +/* 80291DD0 0028ED30 7F 9C 1B 78 */ or r28, r28, r3 +/* 80291DD4 0028ED34 38 60 00 00 */ li r3, 0 +/* 80291DD8 0028ED38 38 80 00 01 */ li r4, 1 +/* 80291DDC 0028ED3C 48 0F 81 19 */ bl __shl2i +/* 80291DE0 0028ED40 7F 9C 1B 78 */ or r28, r28, r3 +/* 80291DE4 0028ED44 7F 7B 23 78 */ or r27, r27, r4 +/* 80291DE8 0028ED48 7F E3 FB 78 */ mr r3, r31 +/* 80291DEC 0028ED4C 7F BD DB 78 */ or r29, r29, r27 +/* 80291DF0 0028ED50 7F DE E3 78 */ or r30, r30, r28 +/* 80291DF4 0028ED54 4B DC 1A C9 */ bl GetMaterialFilter__6CActorCFv +/* 80291DF8 0028ED58 80 A3 00 00 */ lwz r5, 0(r3) +/* 80291DFC 0028ED5C 38 00 00 03 */ li r0, 3 +/* 80291E00 0028ED60 80 C3 00 04 */ lwz r6, 4(r3) +/* 80291E04 0028ED64 7F E3 FB 78 */ mr r3, r31 +/* 80291E08 0028ED68 38 81 00 70 */ addi r4, r1, 0x70 +/* 80291E0C 0028ED6C 90 C1 00 74 */ stw r6, 0x74(r1) +/* 80291E10 0028ED70 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80291E14 0028ED74 93 A1 00 7C */ stw r29, 0x7c(r1) +/* 80291E18 0028ED78 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80291E1C 0028ED7C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80291E20 0028ED80 4B DC 1A 81 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80291E24 0028ED84 7F E3 FB 78 */ mr r3, r31 +/* 80291E28 0028ED88 81 9F 00 00 */ lwz r12, 0(r31) +/* 80291E2C 0028ED8C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80291E30 0028ED90 7D 89 03 A6 */ mtctr r12 +/* 80291E34 0028ED94 4E 80 04 21 */ bctrl +/* 80291E38 0028ED98 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) +/* 80291E3C 0028ED9C D0 03 00 D8 */ stfs f0, 0xd8(r3) +/* 80291E40 0028EDA0 7F E3 FB 78 */ mr r3, r31 +/* 80291E44 0028EDA4 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80291E48 0028EDA8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80291E4C 0028EDAC 7C 08 03 A6 */ mtlr r0 +/* 80291E50 0028EDB0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80291E54 0028EDB4 4E 80 00 20 */ blr + +.global sub_80291e58 +sub_80291e58: +/* 80291E58 0028EDB8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80291E5C 0028EDBC 7C 08 02 A6 */ mflr r0 +/* 80291E60 0028EDC0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80291E64 0028EDC4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80291E68 0028EDC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80291E6C 0028EDCC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80291E70 0028EDD0 7C 9D 23 78 */ mr r29, r4 +/* 80291E74 0028EDD4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80291E78 0028EDD8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80291E7C 0028EDDC 41 82 00 6C */ beq lbl_80291EE8 +/* 80291E80 0028EDE0 80 1C 00 04 */ lwz r0, 4(r28) +/* 80291E84 0028EDE4 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80291E88 0028EDE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80291E8C 0028EDEC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80291E90 0028EDF0 7F FE 02 14 */ add r31, r30, r0 +/* 80291E94 0028EDF4 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80291E98 0028EDF8 93 E1 00 08 */ stw r31, 8(r1) +/* 80291E9C 0028EDFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80291EA0 0028EE00 48 00 00 20 */ b lbl_80291EC0 +lbl_80291EA4: +/* 80291EA4 0028EE04 28 1E 00 00 */ cmplwi r30, 0 +/* 80291EA8 0028EE08 41 82 00 14 */ beq lbl_80291EBC +/* 80291EAC 0028EE0C 34 1E 00 04 */ addic. r0, r30, 4 +/* 80291EB0 0028EE10 41 82 00 0C */ beq lbl_80291EBC +/* 80291EB4 0028EE14 38 7E 00 04 */ addi r3, r30, 4 +/* 80291EB8 0028EE18 48 0A BC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80291EBC: +/* 80291EBC 0028EE1C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_80291EC0: +/* 80291EC0 0028EE20 7C 1E F8 40 */ cmplw r30, r31 +/* 80291EC4 0028EE24 40 82 FF E0 */ bne lbl_80291EA4 +/* 80291EC8 0028EE28 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80291ECC 0028EE2C 28 03 00 00 */ cmplwi r3, 0 +/* 80291ED0 0028EE30 41 82 00 08 */ beq lbl_80291ED8 +/* 80291ED4 0028EE34 48 08 3A 5D */ bl Free__7CMemoryFPCv +lbl_80291ED8: +/* 80291ED8 0028EE38 7F A0 07 35 */ extsh. r0, r29 +/* 80291EDC 0028EE3C 40 81 00 0C */ ble lbl_80291EE8 +/* 80291EE0 0028EE40 7F 83 E3 78 */ mr r3, r28 +/* 80291EE4 0028EE44 48 08 3A 4D */ bl Free__7CMemoryFPCv +lbl_80291EE8: +/* 80291EE8 0028EE48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80291EEC 0028EE4C 7F 83 E3 78 */ mr r3, r28 +/* 80291EF0 0028EE50 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80291EF4 0028EE54 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80291EF8 0028EE58 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80291EFC 0028EE5C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80291F00 0028EE60 7C 08 03 A6 */ mtlr r0 +/* 80291F04 0028EE64 38 21 00 30 */ addi r1, r1, 0x30 +/* 80291F08 0028EE68 4E 80 00 20 */ blr + +.global sub_80291f0c +sub_80291f0c: +/* 80291F0C 0028EE6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291F10 0028EE70 7C 08 02 A6 */ mflr r0 +/* 80291F14 0028EE74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291F18 0028EE78 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80291F1C 0028EE7C 7C 9F 23 78 */ mr r31, r4 +/* 80291F20 0028EE80 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80291F24 0028EE84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80291F28 0028EE88 41 82 00 54 */ beq lbl_80291F7C +/* 80291F2C 0028EE8C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80291F30 0028EE90 38 61 00 14 */ addi r3, r1, 0x14 +/* 80291F34 0028EE94 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80291F38 0028EE98 38 81 00 0C */ addi r4, r1, 0xc +/* 80291F3C 0028EE9C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80291F40 0028EEA0 7C A5 02 14 */ add r5, r5, r0 +/* 80291F44 0028EEA4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80291F48 0028EEA8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80291F4C 0028EEAC 90 A1 00 08 */ stw r5, 8(r1) +/* 80291F50 0028EEB0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80291F54 0028EEB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80291F58 0028EEB8 48 00 00 41 */ bl sub_80291f98 +/* 80291F5C 0028EEBC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80291F60 0028EEC0 28 03 00 00 */ cmplwi r3, 0 +/* 80291F64 0028EEC4 41 82 00 08 */ beq lbl_80291F6C +/* 80291F68 0028EEC8 48 08 39 C9 */ bl Free__7CMemoryFPCv +lbl_80291F6C: +/* 80291F6C 0028EECC 7F E0 07 35 */ extsh. r0, r31 +/* 80291F70 0028EED0 40 81 00 0C */ ble lbl_80291F7C +/* 80291F74 0028EED4 7F C3 F3 78 */ mr r3, r30 +/* 80291F78 0028EED8 48 08 39 B9 */ bl Free__7CMemoryFPCv +lbl_80291F7C: +/* 80291F7C 0028EEDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80291F80 0028EEE0 7F C3 F3 78 */ mr r3, r30 +/* 80291F84 0028EEE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80291F88 0028EEE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80291F8C 0028EEEC 7C 08 03 A6 */ mtlr r0 +/* 80291F90 0028EEF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80291F94 0028EEF4 4E 80 00 20 */ blr + +.global sub_80291f98 +sub_80291f98: +/* 80291F98 0028EEF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80291F9C 0028EEFC 7C 08 02 A6 */ mflr r0 +/* 80291FA0 0028EF00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80291FA4 0028EF04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80291FA8 0028EF08 93 C1 00 08 */ stw r30, 8(r1) +/* 80291FAC 0028EF0C 7C 9E 23 78 */ mr r30, r4 +/* 80291FB0 0028EF10 83 E3 00 00 */ lwz r31, 0(r3) +/* 80291FB4 0028EF14 48 00 00 10 */ b lbl_80291FC4 +lbl_80291FB8: +/* 80291FB8 0028EF18 7F E3 FB 78 */ mr r3, r31 +/* 80291FBC 0028EF1C 48 00 00 2D */ bl sub_80291fe8 +/* 80291FC0 0028EF20 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80291FC4: +/* 80291FC4 0028EF24 80 1E 00 00 */ lwz r0, 0(r30) +/* 80291FC8 0028EF28 7C 1F 00 40 */ cmplw r31, r0 +/* 80291FCC 0028EF2C 40 82 FF EC */ bne lbl_80291FB8 +/* 80291FD0 0028EF30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80291FD4 0028EF34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80291FD8 0028EF38 83 C1 00 08 */ lwz r30, 8(r1) +/* 80291FDC 0028EF3C 7C 08 03 A6 */ mtlr r0 +/* 80291FE0 0028EF40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80291FE4 0028EF44 4E 80 00 20 */ blr + +.global sub_80291fe8 +sub_80291fe8: +/* 80291FE8 0028EF48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80291FEC 0028EF4C 7C 08 02 A6 */ mflr r0 +/* 80291FF0 0028EF50 28 03 00 00 */ cmplwi r3, 0 +/* 80291FF4 0028EF54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80291FF8 0028EF58 41 82 00 4C */ beq lbl_80292044 +/* 80291FFC 0028EF5C 34 03 00 04 */ addic. r0, r3, 4 +/* 80292000 0028EF60 41 82 00 44 */ beq lbl_80292044 +/* 80292004 0028EF64 80 03 00 08 */ lwz r0, 8(r3) +/* 80292008 0028EF68 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029200C 0028EF6C 54 00 08 3C */ slwi r0, r0, 1 +/* 80292010 0028EF70 7C 03 02 14 */ add r0, r3, r0 +/* 80292014 0028EF74 90 61 00 0C */ stw r3, 0xc(r1) +/* 80292018 0028EF78 7C 64 1B 78 */ mr r4, r3 +/* 8029201C 0028EF7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80292020 0028EF80 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292024 0028EF84 90 61 00 08 */ stw r3, 8(r1) +/* 80292028 0028EF88 48 00 00 08 */ b lbl_80292030 +lbl_8029202C: +/* 8029202C 0028EF8C 38 84 00 02 */ addi r4, r4, 2 +lbl_80292030: +/* 80292030 0028EF90 7C 04 00 40 */ cmplw r4, r0 +/* 80292034 0028EF94 40 82 FF F8 */ bne lbl_8029202C +/* 80292038 0028EF98 28 03 00 00 */ cmplwi r3, 0 +/* 8029203C 0028EF9C 41 82 00 08 */ beq lbl_80292044 +/* 80292040 0028EFA0 48 08 38 F1 */ bl Free__7CMemoryFPCv +lbl_80292044: +/* 80292044 0028EFA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80292048 0028EFA8 7C 08 03 A6 */ mtlr r0 +/* 8029204C 0028EFAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80292050 0028EFB0 4E 80 00 20 */ blr + +.global __dt__12COmegaPirateFv +__dt__12COmegaPirateFv: +/* 80292054 0028EFB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80292058 0028EFB8 7C 08 02 A6 */ mflr r0 +/* 8029205C 0028EFBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80292060 0028EFC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80292064 0028EFC4 7C 9F 23 78 */ mr r31, r4 +/* 80292068 0028EFC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029206C 0028EFCC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80292070 0028EFD0 41 82 01 30 */ beq lbl_802921A0 +/* 80292074 0028EFD4 3C 60 80 3F */ lis r3, lbl_803EB868@ha +/* 80292078 0028EFD8 34 1E 0B 7C */ addic. r0, r30, 0xb7c +/* 8029207C 0028EFDC 38 03 B8 68 */ addi r0, r3, lbl_803EB868@l +/* 80292080 0028EFE0 90 1E 00 00 */ stw r0, 0(r30) +/* 80292084 0028EFE4 41 82 00 40 */ beq lbl_802920C4 +/* 80292088 0028EFE8 80 7E 0B 88 */ lwz r3, 0xb88(r30) +/* 8029208C 0028EFEC 80 1E 0B 80 */ lwz r0, 0xb80(r30) +/* 80292090 0028EFF0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80292094 0028EFF4 7C 83 02 14 */ add r4, r3, r0 +/* 80292098 0028EFF8 7C 03 20 50 */ subf r0, r3, r4 +/* 8029209C 0028EFFC 90 81 00 24 */ stw r4, 0x24(r1) +/* 802920A0 0028F000 90 81 00 20 */ stw r4, 0x20(r1) +/* 802920A4 0028F004 90 61 00 18 */ stw r3, 0x18(r1) +/* 802920A8 0028F008 7C 09 03 A6 */ mtctr r0 +/* 802920AC 0028F00C 7C 03 20 40 */ cmplw r3, r4 +/* 802920B0 0028F010 41 82 00 08 */ beq lbl_802920B8 +lbl_802920B4: +/* 802920B4 0028F014 42 00 00 00 */ bdnz lbl_802920B4 +lbl_802920B8: +/* 802920B8 0028F018 28 03 00 00 */ cmplwi r3, 0 +/* 802920BC 0028F01C 41 82 00 08 */ beq lbl_802920C4 +/* 802920C0 0028F020 48 08 38 71 */ bl Free__7CMemoryFPCv +lbl_802920C4: +/* 802920C4 0028F024 34 1E 0B 70 */ addic. r0, r30, 0xb70 +/* 802920C8 0028F028 41 82 00 10 */ beq lbl_802920D8 +/* 802920CC 0028F02C 38 7E 0B 70 */ addi r3, r30, 0xb70 +/* 802920D0 0028F030 38 80 00 00 */ li r4, 0 +/* 802920D4 0028F034 48 0A ED 6D */ bl __dt__6CTokenFv +lbl_802920D8: +/* 802920D8 0028F038 34 1E 0A B4 */ addic. r0, r30, 0xab4 +/* 802920DC 0028F03C 41 82 00 44 */ beq lbl_80292120 +/* 802920E0 0028F040 80 1E 0A B8 */ lwz r0, 0xab8(r30) +/* 802920E4 0028F044 80 7E 0A C0 */ lwz r3, 0xac0(r30) +/* 802920E8 0028F048 54 00 10 3A */ slwi r0, r0, 2 +/* 802920EC 0028F04C 7C 03 02 14 */ add r0, r3, r0 +/* 802920F0 0028F050 90 61 00 0C */ stw r3, 0xc(r1) +/* 802920F4 0028F054 7C 64 1B 78 */ mr r4, r3 +/* 802920F8 0028F058 90 01 00 14 */ stw r0, 0x14(r1) +/* 802920FC 0028F05C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292100 0028F060 90 61 00 08 */ stw r3, 8(r1) +/* 80292104 0028F064 48 00 00 08 */ b lbl_8029210C +lbl_80292108: +/* 80292108 0028F068 38 84 00 04 */ addi r4, r4, 4 +lbl_8029210C: +/* 8029210C 0028F06C 7C 04 00 40 */ cmplw r4, r0 +/* 80292110 0028F070 40 82 FF F8 */ bne lbl_80292108 +/* 80292114 0028F074 28 03 00 00 */ cmplwi r3, 0 +/* 80292118 0028F078 41 82 00 08 */ beq lbl_80292120 +/* 8029211C 0028F07C 48 08 38 15 */ bl Free__7CMemoryFPCv +lbl_80292120: +/* 80292120 0028F080 38 7E 0A A0 */ addi r3, r30, 0xaa0 +/* 80292124 0028F084 38 80 FF FF */ li r4, -1 +/* 80292128 0028F088 4B FF FD 31 */ bl sub_80291e58 +/* 8029212C 0028F08C 34 1E 0A 9C */ addic. r0, r30, 0xa9c +/* 80292130 0028F090 41 82 00 10 */ beq lbl_80292140 +/* 80292134 0028F094 80 7E 0A 9C */ lwz r3, 0xa9c(r30) +/* 80292138 0028F098 38 80 00 01 */ li r4, 1 +/* 8029213C 0028F09C 4B F1 57 A1 */ bl sub_801a78dc +lbl_80292140: +/* 80292140 0028F0A0 34 1E 0A 38 */ addic. r0, r30, 0xa38 +/* 80292144 0028F0A4 41 82 00 10 */ beq lbl_80292154 +/* 80292148 0028F0A8 80 7E 0A 38 */ lwz r3, 0xa38(r30) +/* 8029214C 0028F0AC 38 80 00 01 */ li r4, 1 +/* 80292150 0028F0B0 4B F1 57 8D */ bl sub_801a78dc +lbl_80292154: +/* 80292154 0028F0B4 38 7E 09 F0 */ addi r3, r30, 0x9f0 +/* 80292158 0028F0B8 38 80 FF FF */ li r4, -1 +/* 8029215C 0028F0BC 48 0C 11 21 */ bl __dt__13CSkinnedModelFv +/* 80292160 0028F0C0 38 7E 09 DC */ addi r3, r30, 0x9dc +/* 80292164 0028F0C4 38 80 FF FF */ li r4, -1 +/* 80292168 0028F0C8 4B FF FC F1 */ bl sub_80291e58 +/* 8029216C 0028F0CC 38 7E 09 B8 */ addi r3, r30, 0x9b8 +/* 80292170 0028F0D0 38 80 FF FF */ li r4, -1 +/* 80292174 0028F0D4 4B FF FC E5 */ bl sub_80291e58 +/* 80292178 0028F0D8 38 7E 09 A4 */ addi r3, r30, 0x9a4 +/* 8029217C 0028F0DC 38 80 FF FF */ li r4, -1 +/* 80292180 0028F0E0 4B FF FD 8D */ bl sub_80291f0c +/* 80292184 0028F0E4 7F C3 F3 78 */ mr r3, r30 +/* 80292188 0028F0E8 38 80 00 00 */ li r4, 0 +/* 8029218C 0028F0EC 4B F9 B3 6D */ bl __dt__12CElitePirateFv +/* 80292190 0028F0F0 7F E0 07 35 */ extsh. r0, r31 +/* 80292194 0028F0F4 40 81 00 0C */ ble lbl_802921A0 +/* 80292198 0028F0F8 7F C3 F3 78 */ mr r3, r30 +/* 8029219C 0028F0FC 48 08 37 95 */ bl Free__7CMemoryFPCv +lbl_802921A0: +/* 802921A0 0028F100 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802921A4 0028F104 7F C3 F3 78 */ mr r3, r30 +/* 802921A8 0028F108 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802921AC 0028F10C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802921B0 0028F110 7C 08 03 A6 */ mtlr r0 +/* 802921B4 0028F114 38 21 00 30 */ addi r1, r1, 0x30 +/* 802921B8 0028F118 4E 80 00 20 */ blr + +.global sub_802921bc +sub_802921bc: +/* 802921BC 0028F11C 38 60 00 00 */ li r3, 0 +/* 802921C0 0028F120 4E 80 00 20 */ blr + +.global sub_802921c4 +sub_802921c4: +/* 802921C4 0028F124 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802921C8 0028F128 7C 08 02 A6 */ mflr r0 +/* 802921CC 0028F12C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802921D0 0028F130 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802921D4 0028F134 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802921D8 0028F138 7C 9E 23 78 */ mr r30, r4 +/* 802921DC 0028F13C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802921E0 0028F140 7C 7D 1B 78 */ mr r29, r3 +/* 802921E4 0028F144 80 03 00 08 */ lwz r0, 8(r3) +/* 802921E8 0028F148 7C 1E 00 00 */ cmpw r30, r0 +/* 802921EC 0028F14C 40 81 00 90 */ ble lbl_8029227C +/* 802921F0 0028F150 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 802921F4 0028F154 2C 03 00 00 */ cmpwi r3, 0 +/* 802921F8 0028F158 40 82 00 0C */ bne lbl_80292204 +/* 802921FC 0028F15C 3B E0 00 00 */ li r31, 0 +/* 80292200 0028F160 48 00 00 1C */ b lbl_8029221C +lbl_80292204: +/* 80292204 0028F164 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292208 0028F168 38 A0 00 00 */ li r5, 0 +/* 8029220C 0028F16C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292210 0028F170 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292214 0028F174 48 08 36 05 */ bl __nwa__FUlPCcPCc +/* 80292218 0028F178 7C 7F 1B 78 */ mr r31, r3 +lbl_8029221C: +/* 8029221C 0028F17C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80292220 0028F180 7F E5 FB 78 */ mr r5, r31 +/* 80292224 0028F184 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80292228 0028F188 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029222C 0028F18C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292230 0028F190 38 81 00 0C */ addi r4, r1, 0xc +/* 80292234 0028F194 7C C6 02 14 */ add r6, r6, r0 +/* 80292238 0028F198 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8029223C 0028F19C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80292240 0028F1A0 90 C1 00 08 */ stw r6, 8(r1) +/* 80292244 0028F1A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80292248 0028F1A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029224C 0028F1AC 48 00 00 99 */ bl sub_802922e4 +/* 80292250 0028F1B0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80292254 0028F1B4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80292258 0028F1B8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8029225C 0028F1BC 7C 83 02 14 */ add r4, r3, r0 +/* 80292260 0028F1C0 48 00 00 39 */ bl sub_80292298 +/* 80292264 0028F1C4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80292268 0028F1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8029226C 0028F1CC 41 82 00 08 */ beq lbl_80292274 +/* 80292270 0028F1D0 48 08 36 C1 */ bl Free__7CMemoryFPCv +lbl_80292274: +/* 80292274 0028F1D4 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80292278 0028F1D8 93 DD 00 08 */ stw r30, 8(r29) +lbl_8029227C: +/* 8029227C 0028F1DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80292280 0028F1E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80292284 0028F1E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80292288 0028F1E8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029228C 0028F1EC 7C 08 03 A6 */ mtlr r0 +/* 80292290 0028F1F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80292294 0028F1F4 4E 80 00 20 */ blr + +.global sub_80292298 +sub_80292298: +/* 80292298 0028F1F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029229C 0028F1FC 7C 08 02 A6 */ mflr r0 +/* 802922A0 0028F200 90 01 00 14 */ stw r0, 0x14(r1) +/* 802922A4 0028F204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802922A8 0028F208 7C 7F 1B 78 */ mr r31, r3 +/* 802922AC 0028F20C 93 C1 00 08 */ stw r30, 8(r1) +/* 802922B0 0028F210 7C 9E 23 78 */ mr r30, r4 +/* 802922B4 0028F214 48 00 00 10 */ b lbl_802922C4 +lbl_802922B8: +/* 802922B8 0028F218 7F E3 FB 78 */ mr r3, r31 +/* 802922BC 0028F21C 4B FF FD 2D */ bl sub_80291fe8 +/* 802922C0 0028F220 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_802922C4: +/* 802922C4 0028F224 7C 1F F0 40 */ cmplw r31, r30 +/* 802922C8 0028F228 40 82 FF F0 */ bne lbl_802922B8 +/* 802922CC 0028F22C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802922D0 0028F230 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802922D4 0028F234 83 C1 00 08 */ lwz r30, 8(r1) +/* 802922D8 0028F238 7C 08 03 A6 */ mtlr r0 +/* 802922DC 0028F23C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802922E0 0028F240 4E 80 00 20 */ blr + +.global sub_802922e4 +sub_802922e4: +/* 802922E4 0028F244 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802922E8 0028F248 7C 08 02 A6 */ mflr r0 +/* 802922EC 0028F24C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802922F0 0028F250 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802922F4 0028F254 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802922F8 0028F258 7C BE 2B 78 */ mr r30, r5 +/* 802922FC 0028F25C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80292300 0028F260 7C 9D 23 78 */ mr r29, r4 +/* 80292304 0028F264 83 E3 00 00 */ lwz r31, 0(r3) +/* 80292308 0028F268 48 00 00 B4 */ b lbl_802923BC +lbl_8029230C: +/* 8029230C 0028F26C 28 1E 00 00 */ cmplwi r30, 0 +/* 80292310 0028F270 41 82 00 A4 */ beq lbl_802923B4 +/* 80292314 0028F274 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80292318 0028F278 B0 1E 00 00 */ sth r0, 0(r30) +/* 8029231C 0028F27C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80292320 0028F280 90 1E 00 08 */ stw r0, 8(r30) +/* 80292324 0028F284 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80292328 0028F288 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8029232C 0028F28C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80292330 0028F290 2C 00 00 00 */ cmpwi r0, 0 +/* 80292334 0028F294 40 82 00 1C */ bne lbl_80292350 +/* 80292338 0028F298 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8029233C 0028F29C 2C 00 00 00 */ cmpwi r0, 0 +/* 80292340 0028F2A0 40 82 00 10 */ bne lbl_80292350 +/* 80292344 0028F2A4 38 00 00 00 */ li r0, 0 +/* 80292348 0028F2A8 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8029234C 0028F2AC 48 00 00 68 */ b lbl_802923B4 +lbl_80292350: +/* 80292350 0028F2B0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80292354 0028F2B4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 80292358 0028F2B8 40 82 00 10 */ bne lbl_80292368 +/* 8029235C 0028F2BC 38 00 00 00 */ li r0, 0 +/* 80292360 0028F2C0 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80292364 0028F2C4 48 00 00 1C */ b lbl_80292380 +lbl_80292368: +/* 80292368 0028F2C8 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 8029236C 0028F2CC 38 A0 00 00 */ li r5, 0 +/* 80292370 0028F2D0 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292374 0028F2D4 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292378 0028F2D8 48 08 34 A1 */ bl __nwa__FUlPCcPCc +/* 8029237C 0028F2DC 90 7E 00 10 */ stw r3, 0x10(r30) +lbl_80292380: +/* 80292380 0028F2E0 80 1E 00 08 */ lwz r0, 8(r30) +/* 80292384 0028F2E4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80292388 0028F2E8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8029238C 0028F2EC 7C 09 03 A6 */ mtctr r0 +/* 80292390 0028F2F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80292394 0028F2F4 40 81 00 20 */ ble lbl_802923B4 +lbl_80292398: +/* 80292398 0028F2F8 28 03 00 00 */ cmplwi r3, 0 +/* 8029239C 0028F2FC 41 82 00 0C */ beq lbl_802923A8 +/* 802923A0 0028F300 A0 04 00 00 */ lhz r0, 0(r4) +/* 802923A4 0028F304 B0 03 00 00 */ sth r0, 0(r3) +lbl_802923A8: +/* 802923A8 0028F308 38 63 00 02 */ addi r3, r3, 2 +/* 802923AC 0028F30C 38 84 00 02 */ addi r4, r4, 2 +/* 802923B0 0028F310 42 00 FF E8 */ bdnz lbl_80292398 +lbl_802923B4: +/* 802923B4 0028F314 3B DE 00 14 */ addi r30, r30, 0x14 +/* 802923B8 0028F318 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_802923BC: +/* 802923BC 0028F31C 80 1D 00 00 */ lwz r0, 0(r29) +/* 802923C0 0028F320 7C 1F 00 40 */ cmplw r31, r0 +/* 802923C4 0028F324 40 82 FF 48 */ bne lbl_8029230C +/* 802923C8 0028F328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802923CC 0028F32C 7F C3 F3 78 */ mr r3, r30 +/* 802923D0 0028F330 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802923D4 0028F334 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802923D8 0028F338 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802923DC 0028F33C 7C 08 03 A6 */ mtlr r0 +/* 802923E0 0028F340 38 21 00 20 */ addi r1, r1, 0x20 +/* 802923E4 0028F344 4E 80 00 20 */ blr + +.global sub_802923e8 +sub_802923e8: +/* 802923E8 0028F348 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802923EC 0028F34C 7C 08 02 A6 */ mflr r0 +/* 802923F0 0028F350 90 01 00 34 */ stw r0, 0x34(r1) +/* 802923F4 0028F354 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802923F8 0028F358 7C 9F 23 78 */ mr r31, r4 +/* 802923FC 0028F35C 7C 7E 1B 78 */ mr r30, r3 +/* 80292400 0028F360 80 03 00 08 */ lwz r0, 8(r3) +/* 80292404 0028F364 7C 1F 00 00 */ cmpw r31, r0 +/* 80292408 0028F368 40 81 00 D4 */ ble lbl_802924DC +/* 8029240C 0028F36C 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 80292410 0028F370 2C 03 00 00 */ cmpwi r3, 0 +/* 80292414 0028F374 40 82 00 0C */ bne lbl_80292420 +/* 80292418 0028F378 3B 80 00 00 */ li r28, 0 +/* 8029241C 0028F37C 48 00 00 1C */ b lbl_80292438 +lbl_80292420: +/* 80292420 0028F380 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292424 0028F384 38 A0 00 00 */ li r5, 0 +/* 80292428 0028F388 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 8029242C 0028F38C 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 80292430 0028F390 48 08 33 E9 */ bl __nwa__FUlPCcPCc +/* 80292434 0028F394 7C 7C 1B 78 */ mr r28, r3 +lbl_80292438: +/* 80292438 0028F398 80 1E 00 04 */ lwz r0, 4(r30) +/* 8029243C 0028F39C 7F 9B E3 78 */ mr r27, r28 +/* 80292440 0028F3A0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80292444 0028F3A4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292448 0028F3A8 93 41 00 10 */ stw r26, 0x10(r1) +/* 8029244C 0028F3AC 7F BA 02 14 */ add r29, r26, r0 +/* 80292450 0028F3B0 93 41 00 14 */ stw r26, 0x14(r1) +/* 80292454 0028F3B4 93 A1 00 08 */ stw r29, 8(r1) +/* 80292458 0028F3B8 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8029245C 0028F3BC 48 00 00 28 */ b lbl_80292484 +lbl_80292460: +/* 80292460 0028F3C0 28 1B 00 00 */ cmplwi r27, 0 +/* 80292464 0028F3C4 41 82 00 18 */ beq lbl_8029247C +/* 80292468 0028F3C8 A0 1A 00 00 */ lhz r0, 0(r26) +/* 8029246C 0028F3CC 38 7B 00 04 */ addi r3, r27, 4 +/* 80292470 0028F3D0 38 9A 00 04 */ addi r4, r26, 4 +/* 80292474 0028F3D4 B0 1B 00 00 */ sth r0, 0(r27) +/* 80292478 0028F3D8 48 0A BC E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8029247C: +/* 8029247C 0028F3DC 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 80292480 0028F3E0 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_80292484: +/* 80292484 0028F3E4 7C 1A E8 40 */ cmplw r26, r29 +/* 80292488 0028F3E8 40 82 FF D8 */ bne lbl_80292460 +/* 8029248C 0028F3EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292490 0028F3F0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80292494 0028F3F4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80292498 0028F3F8 7F 7A 02 14 */ add r27, r26, r0 +/* 8029249C 0028F3FC 48 00 00 20 */ b lbl_802924BC +lbl_802924A0: +/* 802924A0 0028F400 28 1A 00 00 */ cmplwi r26, 0 +/* 802924A4 0028F404 41 82 00 14 */ beq lbl_802924B8 +/* 802924A8 0028F408 34 1A 00 04 */ addic. r0, r26, 4 +/* 802924AC 0028F40C 41 82 00 0C */ beq lbl_802924B8 +/* 802924B0 0028F410 38 7A 00 04 */ addi r3, r26, 4 +/* 802924B4 0028F414 48 0A B6 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802924B8: +/* 802924B8 0028F418 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_802924BC: +/* 802924BC 0028F41C 7C 1A D8 40 */ cmplw r26, r27 +/* 802924C0 0028F420 40 82 FF E0 */ bne lbl_802924A0 +/* 802924C4 0028F424 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802924C8 0028F428 28 03 00 00 */ cmplwi r3, 0 +/* 802924CC 0028F42C 41 82 00 08 */ beq lbl_802924D4 +/* 802924D0 0028F430 48 08 34 61 */ bl Free__7CMemoryFPCv +lbl_802924D4: +/* 802924D4 0028F434 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802924D8 0028F438 93 FE 00 08 */ stw r31, 8(r30) +lbl_802924DC: +/* 802924DC 0028F43C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802924E0 0028F440 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802924E4 0028F444 7C 08 03 A6 */ mtlr r0 +/* 802924E8 0028F448 38 21 00 30 */ addi r1, r1, 0x30 +/* 802924EC 0028F44C 4E 80 00 20 */ blr + +.global sub_802924f0 +sub_802924f0: +/* 802924F0 0028F450 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802924F4 0028F454 7C 08 02 A6 */ mflr r0 +/* 802924F8 0028F458 90 01 00 34 */ stw r0, 0x34(r1) +/* 802924FC 0028F45C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80292500 0028F460 7C 9F 23 78 */ mr r31, r4 +/* 80292504 0028F464 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80292508 0028F468 7C 7E 1B 78 */ mr r30, r3 +/* 8029250C 0028F46C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80292510 0028F470 80 03 00 08 */ lwz r0, 8(r3) +/* 80292514 0028F474 7C 1F 00 00 */ cmpw r31, r0 +/* 80292518 0028F478 40 81 00 AC */ ble lbl_802925C4 +/* 8029251C 0028F47C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80292520 0028F480 40 82 00 0C */ bne lbl_8029252C +/* 80292524 0028F484 3B A0 00 00 */ li r29, 0 +/* 80292528 0028F488 48 00 00 1C */ b lbl_80292544 +lbl_8029252C: +/* 8029252C 0028F48C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha +/* 80292530 0028F490 38 A0 00 00 */ li r5, 0 +/* 80292534 0028F494 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l +/* 80292538 0028F498 38 84 00 C9 */ addi r4, r4, 0xc9 +/* 8029253C 0028F49C 48 08 32 DD */ bl __nwa__FUlPCcPCc +/* 80292540 0028F4A0 7C 7D 1B 78 */ mr r29, r3 +lbl_80292544: +/* 80292544 0028F4A4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292548 0028F4A8 7F A4 EB 78 */ mr r4, r29 +/* 8029254C 0028F4AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80292550 0028F4B0 54 00 10 3A */ slwi r0, r0, 2 +/* 80292554 0028F4B4 7C 65 02 14 */ add r3, r5, r0 +/* 80292558 0028F4B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8029255C 0028F4BC 90 61 00 08 */ stw r3, 8(r1) +/* 80292560 0028F4C0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80292564 0028F4C4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80292568 0028F4C8 48 00 00 1C */ b lbl_80292584 +lbl_8029256C: +/* 8029256C 0028F4CC 28 04 00 00 */ cmplwi r4, 0 +/* 80292570 0028F4D0 41 82 00 0C */ beq lbl_8029257C +/* 80292574 0028F4D4 80 05 00 00 */ lwz r0, 0(r5) +/* 80292578 0028F4D8 90 04 00 00 */ stw r0, 0(r4) +lbl_8029257C: +/* 8029257C 0028F4DC 38 84 00 04 */ addi r4, r4, 4 +/* 80292580 0028F4E0 38 A5 00 04 */ addi r5, r5, 4 +lbl_80292584: +/* 80292584 0028F4E4 7C 05 18 40 */ cmplw r5, r3 +/* 80292588 0028F4E8 40 82 FF E4 */ bne lbl_8029256C +/* 8029258C 0028F4EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80292590 0028F4F0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80292594 0028F4F4 54 00 10 3A */ slwi r0, r0, 2 +/* 80292598 0028F4F8 7C 64 1B 78 */ mr r4, r3 +/* 8029259C 0028F4FC 7C 03 02 14 */ add r0, r3, r0 +/* 802925A0 0028F500 48 00 00 08 */ b lbl_802925A8 +lbl_802925A4: +/* 802925A4 0028F504 38 84 00 04 */ addi r4, r4, 4 +lbl_802925A8: +/* 802925A8 0028F508 7C 04 00 40 */ cmplw r4, r0 +/* 802925AC 0028F50C 40 82 FF F8 */ bne lbl_802925A4 +/* 802925B0 0028F510 28 03 00 00 */ cmplwi r3, 0 +/* 802925B4 0028F514 41 82 00 08 */ beq lbl_802925BC +/* 802925B8 0028F518 48 08 33 79 */ bl Free__7CMemoryFPCv +lbl_802925BC: +/* 802925BC 0028F51C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802925C0 0028F520 93 FE 00 08 */ stw r31, 8(r30) +lbl_802925C4: +/* 802925C4 0028F524 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802925C8 0028F528 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802925CC 0028F52C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802925D0 0028F530 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802925D4 0028F534 7C 08 03 A6 */ mtlr r0 +/* 802925D8 0028F538 38 21 00 30 */ addi r1, r1, 0x30 +/* 802925DC 0028F53C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s b/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s new file mode 100644 index 00000000..a80c527b --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.s @@ -0,0 +1,1003 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__20CPhazonHealingNoduleFv +__dt__20CPhazonHealingNoduleFv: +/* 80294D50 00291CB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294D54 00291CB4 7C 08 02 A6 */ mflr r0 +/* 80294D58 00291CB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294D5C 00291CBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294D60 00291CC0 7C 9F 23 78 */ mr r31, r4 +/* 80294D64 00291CC4 93 C1 00 08 */ stw r30, 8(r1) +/* 80294D68 00291CC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80294D6C 00291CCC 41 82 00 70 */ beq lbl_80294DDC +/* 80294D70 00291CD0 3C 60 80 3F */ lis r3, lbl_803EBC70@ha +/* 80294D74 00291CD4 34 1E 05 8C */ addic. r0, r30, 0x58c +/* 80294D78 00291CD8 38 03 BC 70 */ addi r0, r3, lbl_803EBC70@l +/* 80294D7C 00291CDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80294D80 00291CE0 41 82 00 0C */ beq lbl_80294D8C +/* 80294D84 00291CE4 38 7E 05 8C */ addi r3, r30, 0x58c +/* 80294D88 00291CE8 48 0A 8D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80294D8C: +/* 80294D8C 00291CEC 34 1E 05 7C */ addic. r0, r30, 0x57c +/* 80294D90 00291CF0 41 82 00 14 */ beq lbl_80294DA4 +/* 80294D94 00291CF4 34 1E 05 7C */ addic. r0, r30, 0x57c +/* 80294D98 00291CF8 41 82 00 0C */ beq lbl_80294DA4 +/* 80294D9C 00291CFC 38 7E 05 7C */ addi r3, r30, 0x57c +/* 80294DA0 00291D00 48 00 0D 31 */ bl sub_80295ad0 +lbl_80294DA4: +/* 80294DA4 00291D04 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80294DA8 00291D08 41 82 00 18 */ beq lbl_80294DC0 +/* 80294DAC 00291D0C 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80294DB0 00291D10 41 82 00 10 */ beq lbl_80294DC0 +/* 80294DB4 00291D14 38 7E 05 70 */ addi r3, r30, 0x570 +/* 80294DB8 00291D18 38 80 00 00 */ li r4, 0 +/* 80294DBC 00291D1C 48 0A C0 85 */ bl __dt__6CTokenFv +lbl_80294DC0: +/* 80294DC0 00291D20 7F C3 F3 78 */ mr r3, r30 +/* 80294DC4 00291D24 38 80 00 00 */ li r4, 0 +/* 80294DC8 00291D28 4B DE 27 A9 */ bl __dt__10CPatternedFv +/* 80294DCC 00291D2C 7F E0 07 35 */ extsh. r0, r31 +/* 80294DD0 00291D30 40 81 00 0C */ ble lbl_80294DDC +/* 80294DD4 00291D34 7F C3 F3 78 */ mr r3, r30 +/* 80294DD8 00291D38 48 08 0B 59 */ bl Free__7CMemoryFPCv +lbl_80294DDC: +/* 80294DDC 00291D3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294DE0 00291D40 7F C3 F3 78 */ mr r3, r30 +/* 80294DE4 00291D44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294DE8 00291D48 83 C1 00 08 */ lwz r30, 8(r1) +/* 80294DEC 00291D4C 7C 08 03 A6 */ mtlr r0 +/* 80294DF0 00291D50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294DF4 00291D54 4E 80 00 20 */ blr + +.global KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 80294DF8 00291D58 4E 80 00 20 */ blr + +.global sub_80294dfc +sub_80294dfc: +/* 80294DFC 00291D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E00 00291D60 7C 08 02 A6 */ mflr r0 +/* 80294E04 00291D64 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E08 00291D68 38 C0 00 0E */ li r6, 0xe +/* 80294E0C 00291D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E10 00291D70 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E14 00291D74 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E18 00291D78 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E1C 00291D7C 7D 89 03 A6 */ mtctr r12 +/* 80294E20 00291D80 4E 80 04 21 */ bctrl +/* 80294E24 00291D84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E28 00291D88 7C 08 03 A6 */ mtlr r0 +/* 80294E2C 00291D8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294E30 00291D90 4E 80 00 20 */ blr + +.global sub_80294e34 +sub_80294e34: +/* 80294E34 00291D94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E38 00291D98 7C 08 02 A6 */ mflr r0 +/* 80294E3C 00291D9C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E40 00291DA0 38 C0 00 0E */ li r6, 0xe +/* 80294E44 00291DA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E48 00291DA8 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E4C 00291DAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E50 00291DB0 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E54 00291DB4 7D 89 03 A6 */ mtctr r12 +/* 80294E58 00291DB8 4E 80 04 21 */ bctrl +/* 80294E5C 00291DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E60 00291DC0 7C 08 03 A6 */ mtlr r0 +/* 80294E64 00291DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294E68 00291DC8 4E 80 00 20 */ blr + +.global sub_80294e6c +sub_80294e6c: +/* 80294E6C 00291DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294E70 00291DD0 7C 08 02 A6 */ mflr r0 +/* 80294E74 00291DD4 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80294E78 00291DD8 38 C0 00 0E */ li r6, 0xe +/* 80294E7C 00291DDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294E80 00291DE0 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 80294E84 00291DE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80294E88 00291DE8 81 8C 00 84 */ lwz r12, 0x84(r12) +/* 80294E8C 00291DEC 7D 89 03 A6 */ mtctr r12 +/* 80294E90 00291DF0 4E 80 04 21 */ bctrl +/* 80294E94 00291DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294E98 00291DF8 7C 08 03 A6 */ mtlr r0 +/* 80294E9C 00291DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294EA0 00291E00 4E 80 00 20 */ blr + +.global Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager +Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager: +/* 80294EA4 00291E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80294EA8 00291E08 7C 08 02 A6 */ mflr r0 +/* 80294EAC 00291E0C 38 C0 FF FF */ li r6, -1 +/* 80294EB0 00291E10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80294EB4 00291E14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80294EB8 00291E18 7C 9F 23 78 */ mr r31, r4 +/* 80294EBC 00291E1C 7F E5 FB 78 */ mr r5, r31 +/* 80294EC0 00291E20 38 80 00 0E */ li r4, 0xe +/* 80294EC4 00291E24 93 C1 00 08 */ stw r30, 8(r1) +/* 80294EC8 00291E28 7C 7E 1B 78 */ mr r30, r3 +/* 80294ECC 00291E2C 4B DB C1 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80294ED0 00291E30 7F C3 F3 78 */ mr r3, r30 +/* 80294ED4 00291E34 7F E5 FB 78 */ mr r5, r31 +/* 80294ED8 00291E38 38 80 00 14 */ li r4, 0x14 +/* 80294EDC 00291E3C 38 C0 FF FF */ li r6, -1 +/* 80294EE0 00291E40 4B DB C1 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80294EE4 00291E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80294EE8 00291E48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80294EEC 00291E4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80294EF0 00291E50 7C 08 03 A6 */ mtlr r0 +/* 80294EF4 00291E54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80294EF8 00291E58 4E 80 00 20 */ blr + +.global sub_80294efc +sub_80294efc: +/* 80294EFC 00291E5C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80294F00 00291E60 7C 08 02 A6 */ mflr r0 +/* 80294F04 00291E64 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80294F08 00291E68 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80294F0C 00291E6C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80294F10 00291E70 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80294F14 00291E74 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80294F18 00291E78 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80294F1C 00291E7C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80294F20 00291E80 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80294F24 00291E84 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80294F28 00291E88 7C 7E 1B 78 */ mr r30, r3 +/* 80294F2C 00291E8C 80 63 05 7C */ lwz r3, 0x57c(r3) +/* 80294F30 00291E90 80 03 00 00 */ lwz r0, 0(r3) +/* 80294F34 00291E94 28 00 00 00 */ cmplwi r0, 0 +/* 80294F38 00291E98 41 82 00 F0 */ beq lbl_80295028 +/* 80294F3C 00291E9C A0 1E 05 6E */ lhz r0, 0x56e(r30) +/* 80294F40 00291EA0 7C 83 23 78 */ mr r3, r4 +/* 80294F44 00291EA4 38 81 00 08 */ addi r4, r1, 8 +/* 80294F48 00291EA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80294F4C 00291EAC 4B DB 76 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80294F50 00291EB0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80294F54 00291EB4 41 82 00 D4 */ beq lbl_80295028 +/* 80294F58 00291EB8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 80294F5C 00291EBC 38 61 00 0C */ addi r3, r1, 0xc +/* 80294F60 00291EC0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80294F64 00291EC4 4B D6 FD 55 */ bl string_l__4rstlFPCc +/* 80294F68 00291EC8 7F C4 F3 78 */ mr r4, r30 +/* 80294F6C 00291ECC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80294F70 00291ED0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80294F74 00291ED4 4B DE 3A 05 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80294F78 00291ED8 C3 A1 00 78 */ lfs f29, 0x78(r1) +/* 80294F7C 00291EDC 38 61 00 0C */ addi r3, r1, 0xc +/* 80294F80 00291EE0 C3 C1 00 68 */ lfs f30, 0x68(r1) +/* 80294F84 00291EE4 C3 E1 00 58 */ lfs f31, 0x58(r1) +/* 80294F88 00291EE8 48 0A 8B 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80294F8C 00291EEC 7F E4 FB 78 */ mr r4, r31 +/* 80294F90 00291EF0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80294F94 00291EF4 38 BE 05 8C */ addi r5, r30, 0x58c +/* 80294F98 00291EF8 4B DE 39 E1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80294F9C 00291EFC 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 80294FA0 00291F00 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80294FA4 00291F04 80 63 00 00 */ lwz r3, 0(r3) +/* 80294FA8 00291F08 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80294FAC 00291F0C 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80294FB0 00291F10 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80294FB4 00291F14 28 00 00 00 */ cmplwi r0, 0 +/* 80294FB8 00291F18 40 82 00 24 */ bne lbl_80294FDC +/* 80294FBC 00291F1C 34 83 01 78 */ addic. r4, r3, 0x178 +/* 80294FC0 00291F20 41 82 00 10 */ beq lbl_80294FD0 +/* 80294FC4 00291F24 D3 E4 00 00 */ stfs f31, 0(r4) +/* 80294FC8 00291F28 D3 C4 00 04 */ stfs f30, 4(r4) +/* 80294FCC 00291F2C D3 A4 00 08 */ stfs f29, 8(r4) +lbl_80294FD0: +/* 80294FD0 00291F30 38 00 00 01 */ li r0, 1 +/* 80294FD4 00291F34 98 03 01 84 */ stb r0, 0x184(r3) +/* 80294FD8 00291F38 48 00 00 10 */ b lbl_80294FE8 +lbl_80294FDC: +/* 80294FDC 00291F3C D3 E3 01 78 */ stfs f31, 0x178(r3) +/* 80294FE0 00291F40 D3 C3 01 7C */ stfs f30, 0x17c(r3) +/* 80294FE4 00291F44 D3 A3 01 80 */ stfs f29, 0x180(r3) +lbl_80294FE8: +/* 80294FE8 00291F48 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 80294FEC 00291F4C 80 63 00 00 */ lwz r3, 0(r3) +/* 80294FF0 00291F50 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80294FF4 00291F54 28 00 00 00 */ cmplwi r0, 0 +/* 80294FF8 00291F58 40 82 00 24 */ bne lbl_8029501C +/* 80294FFC 00291F5C 34 83 01 98 */ addic. r4, r3, 0x198 +/* 80295000 00291F60 41 82 00 10 */ beq lbl_80295010 +/* 80295004 00291F64 D0 04 00 00 */ stfs f0, 0(r4) +/* 80295008 00291F68 D0 24 00 04 */ stfs f1, 4(r4) +/* 8029500C 00291F6C D0 44 00 08 */ stfs f2, 8(r4) +lbl_80295010: +/* 80295010 00291F70 38 00 00 01 */ li r0, 1 +/* 80295014 00291F74 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 80295018 00291F78 48 00 00 10 */ b lbl_80295028 +lbl_8029501C: +/* 8029501C 00291F7C D0 03 01 98 */ stfs f0, 0x198(r3) +/* 80295020 00291F80 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 80295024 00291F84 D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_80295028: +/* 80295028 00291F88 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8029502C 00291F8C CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80295030 00291F90 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80295034 00291F94 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80295038 00291F98 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8029503C 00291F9C CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80295040 00291FA0 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80295044 00291FA4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80295048 00291FA8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8029504C 00291FAC 7C 08 03 A6 */ mtlr r0 +/* 80295050 00291FB0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80295054 00291FB4 4E 80 00 20 */ blr + +.global sub_80295058 +sub_80295058: +/* 80295058 00291FB8 80 03 05 88 */ lwz r0, 0x588(r3) +/* 8029505C 00291FBC 20 00 00 03 */ subfic r0, r0, 3 +/* 80295060 00291FC0 7C 00 00 34 */ cntlzw r0, r0 +/* 80295064 00291FC4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295068 00291FC8 4E 80 00 20 */ blr + +.global Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 8029506C 00291FCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295070 00291FD0 7C 08 02 A6 */ mflr r0 +/* 80295074 00291FD4 2C 05 00 01 */ cmpwi r5, 1 +/* 80295078 00291FD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029507C 00291FDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80295080 00291FE0 41 82 00 24 */ beq lbl_802950A4 +/* 80295084 00291FE4 40 80 00 F8 */ bge lbl_8029517C +/* 80295088 00291FE8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029508C 00291FEC 40 80 00 0C */ bge lbl_80295098 +/* 80295090 00291FF0 48 00 00 EC */ b lbl_8029517C +/* 80295094 00291FF4 48 00 00 E8 */ b lbl_8029517C +lbl_80295098: +/* 80295098 00291FF8 38 00 00 00 */ li r0, 0 +/* 8029509C 00291FFC 90 03 05 88 */ stw r0, 0x588(r3) +/* 802950A0 00292000 48 00 00 DC */ b lbl_8029517C +lbl_802950A4: +/* 802950A4 00292004 80 03 05 88 */ lwz r0, 0x588(r3) +/* 802950A8 00292008 2C 00 00 01 */ cmpwi r0, 1 +/* 802950AC 0029200C 41 82 00 D0 */ beq lbl_8029517C +/* 802950B0 00292010 40 80 00 10 */ bge lbl_802950C0 +/* 802950B4 00292014 2C 00 00 00 */ cmpwi r0, 0 +/* 802950B8 00292018 40 80 00 14 */ bge lbl_802950CC +/* 802950BC 0029201C 48 00 00 C0 */ b lbl_8029517C +lbl_802950C0: +/* 802950C0 00292020 2C 00 00 03 */ cmpwi r0, 3 +/* 802950C4 00292024 40 80 00 B8 */ bge lbl_8029517C +/* 802950C8 00292028 48 00 00 9C */ b lbl_80295164 +lbl_802950CC: +/* 802950CC 0029202C 80 83 04 50 */ lwz r4, 0x450(r3) +/* 802950D0 00292030 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 802950D4 00292034 2C 00 00 03 */ cmpwi r0, 3 +/* 802950D8 00292038 40 82 00 1C */ bne lbl_802950F4 +/* 802950DC 0029203C 38 00 00 02 */ li r0, 2 +/* 802950E0 00292040 38 80 00 01 */ li r4, 1 +/* 802950E4 00292044 90 03 05 88 */ stw r0, 0x588(r3) +/* 802950E8 00292048 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802950EC 0029204C 4B EA 58 ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802950F0 00292050 48 00 00 8C */ b lbl_8029517C +lbl_802950F4: +/* 802950F4 00292054 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802950F8 00292058 38 C0 00 01 */ li r6, 1 +/* 802950FC 0029205C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80295100 00292060 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295104 00292064 90 01 00 08 */ stw r0, 8(r1) +/* 80295108 00292068 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8029510C 0029206C 38 00 00 00 */ li r0, 0 +/* 80295110 00292070 3B E4 00 04 */ addi r31, r4, 4 +/* 80295114 00292074 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80295118 00292078 7F E3 FB 78 */ mr r3, r31 +/* 8029511C 0029207C 38 80 00 01 */ li r4, 1 +/* 80295120 00292080 90 A1 00 08 */ stw r5, 8(r1) +/* 80295124 00292084 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80295128 00292088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029512C 0029208C 4B E9 C3 0D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80295130 00292090 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80295134 00292094 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295138 00292098 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8029513C 0029209C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80295140 002920A0 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 80295144 002920A4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80295148 002920A8 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8029514C 002920AC 90 81 00 08 */ stw r4, 8(r1) +/* 80295150 002920B0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80295154 002920B4 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 80295158 002920B8 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8029515C 002920BC 90 01 00 08 */ stw r0, 8(r1) +/* 80295160 002920C0 48 00 00 1C */ b lbl_8029517C +lbl_80295164: +/* 80295164 002920C4 80 83 04 50 */ lwz r4, 0x450(r3) +/* 80295168 002920C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8029516C 002920CC 2C 00 00 03 */ cmpwi r0, 3 +/* 80295170 002920D0 41 82 00 0C */ beq lbl_8029517C +/* 80295174 002920D4 38 00 00 03 */ li r0, 3 +/* 80295178 002920D8 90 03 05 88 */ stw r0, 0x588(r3) +lbl_8029517C: +/* 8029517C 002920DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80295180 002920E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80295184 002920E4 7C 08 03 A6 */ mtlr r0 +/* 80295188 002920E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029518C 002920EC 4E 80 00 20 */ blr + +.global Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295190 002920F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295194 002920F4 7C 08 02 A6 */ mflr r0 +/* 80295198 002920F8 2C 05 00 01 */ cmpwi r5, 1 +/* 8029519C 002920FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802951A0 00292100 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802951A4 00292104 41 82 00 30 */ beq lbl_802951D4 +/* 802951A8 00292108 40 80 00 F8 */ bge lbl_802952A0 +/* 802951AC 0029210C 2C 05 00 00 */ cmpwi r5, 0 +/* 802951B0 00292110 40 80 00 0C */ bge lbl_802951BC +/* 802951B4 00292114 48 00 00 EC */ b lbl_802952A0 +/* 802951B8 00292118 48 00 00 E8 */ b lbl_802952A0 +lbl_802951BC: +/* 802951BC 0029211C 38 00 00 00 */ li r0, 0 +/* 802951C0 00292120 38 80 00 02 */ li r4, 2 +/* 802951C4 00292124 90 03 05 88 */ stw r0, 0x588(r3) +/* 802951C8 00292128 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802951CC 0029212C 4B EA 58 0D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802951D0 00292130 48 00 00 D0 */ b lbl_802952A0 +lbl_802951D4: +/* 802951D4 00292134 80 03 05 88 */ lwz r0, 0x588(r3) +/* 802951D8 00292138 2C 00 00 01 */ cmpwi r0, 1 +/* 802951DC 0029213C 41 82 00 C4 */ beq lbl_802952A0 +/* 802951E0 00292140 40 80 00 10 */ bge lbl_802951F0 +/* 802951E4 00292144 2C 00 00 00 */ cmpwi r0, 0 +/* 802951E8 00292148 40 80 00 14 */ bge lbl_802951FC +/* 802951EC 0029214C 48 00 00 B4 */ b lbl_802952A0 +lbl_802951F0: +/* 802951F0 00292150 2C 00 00 03 */ cmpwi r0, 3 +/* 802951F4 00292154 40 80 00 AC */ bge lbl_802952A0 +/* 802951F8 00292158 48 00 00 90 */ b lbl_80295288 +lbl_802951FC: +/* 802951FC 0029215C 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 80295200 00292160 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 80295204 00292164 2C 00 00 03 */ cmpwi r0, 3 +/* 80295208 00292168 40 82 00 10 */ bne lbl_80295218 +/* 8029520C 0029216C 38 00 00 02 */ li r0, 2 +/* 80295210 00292170 90 03 05 88 */ stw r0, 0x588(r3) +/* 80295214 00292174 48 00 00 8C */ b lbl_802952A0 +lbl_80295218: +/* 80295218 00292178 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8029521C 0029217C 38 00 00 00 */ li r0, 0 +/* 80295220 00292180 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 80295224 00292184 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80295228 00292188 90 81 00 08 */ stw r4, 8(r1) +/* 8029522C 0029218C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 80295230 00292190 38 60 00 01 */ li r3, 1 +/* 80295234 00292194 3B E6 00 04 */ addi r31, r6, 4 +/* 80295238 00292198 90 61 00 0C */ stw r3, 0xc(r1) +/* 8029523C 0029219C 7F E3 FB 78 */ mr r3, r31 +/* 80295240 002921A0 38 80 00 01 */ li r4, 1 +/* 80295244 002921A4 90 A1 00 08 */ stw r5, 8(r1) +/* 80295248 002921A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8029524C 002921AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295250 002921B0 4B E9 C1 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80295254 002921B4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80295258 002921B8 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8029525C 002921BC 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 80295260 002921C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80295264 002921C4 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 80295268 002921C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8029526C 002921CC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80295270 002921D0 90 81 00 08 */ stw r4, 8(r1) +/* 80295274 002921D4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80295278 002921D8 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8029527C 002921DC 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 80295280 002921E0 90 01 00 08 */ stw r0, 8(r1) +/* 80295284 002921E4 48 00 00 1C */ b lbl_802952A0 +lbl_80295288: +/* 80295288 002921E8 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8029528C 002921EC 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 80295290 002921F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80295294 002921F4 41 82 00 0C */ beq lbl_802952A0 +/* 80295298 002921F8 38 00 00 03 */ li r0, 3 +/* 8029529C 002921FC 90 03 05 88 */ stw r0, 0x588(r3) +lbl_802952A0: +/* 802952A0 00292200 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802952A4 00292204 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802952A8 00292208 7C 08 03 A6 */ mtlr r0 +/* 802952AC 0029220C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802952B0 00292210 4E 80 00 20 */ blr + +.global Render__20CPhazonHealingNoduleCFRC13CStateManager +Render__20CPhazonHealingNoduleCFRC13CStateManager: +/* 802952B4 00292214 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802952B8 00292218 7C 08 02 A6 */ mflr r0 +/* 802952BC 0029221C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802952C0 00292220 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802952C4 00292224 7C 9F 23 78 */ mr r31, r4 +/* 802952C8 00292228 93 C1 00 08 */ stw r30, 8(r1) +/* 802952CC 0029222C 7C 7E 1B 78 */ mr r30, r3 +/* 802952D0 00292230 80 63 05 7C */ lwz r3, 0x57c(r3) +/* 802952D4 00292234 80 63 00 00 */ lwz r3, 0(r3) +/* 802952D8 00292238 28 03 00 00 */ cmplwi r3, 0 +/* 802952DC 0029223C 41 82 00 14 */ beq lbl_802952F0 +/* 802952E0 00292240 81 83 00 00 */ lwz r12, 0(r3) +/* 802952E4 00292244 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802952E8 00292248 7D 89 03 A6 */ mtctr r12 +/* 802952EC 0029224C 4E 80 04 21 */ bctrl +lbl_802952F0: +/* 802952F0 00292250 7F C3 F3 78 */ mr r3, r30 +/* 802952F4 00292254 7F E4 FB 78 */ mr r4, r31 +/* 802952F8 00292258 4B DE 2D 35 */ bl Render__10CPatternedCFRC13CStateManager +/* 802952FC 0029225C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295300 00292260 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80295304 00292264 83 C1 00 08 */ lwz r30, 8(r1) +/* 80295308 00292268 7C 08 03 A6 */ mtlr r0 +/* 8029530C 0029226C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80295310 00292270 4E 80 00 20 */ blr + +.global sub_80295314 +sub_80295314: +/* 80295314 00292274 80 03 05 68 */ lwz r0, 0x568(r3) +/* 80295318 00292278 7C 00 00 34 */ cntlzw r0, r0 +/* 8029531C 0029227C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295320 00292280 4E 80 00 20 */ blr + +.global sub_80295324 +sub_80295324: +/* 80295324 00292284 80 03 05 68 */ lwz r0, 0x568(r3) +/* 80295328 00292288 20 00 00 01 */ subfic r0, r0, 1 +/* 8029532C 0029228C 7C 00 00 34 */ cntlzw r0, r0 +/* 80295330 00292290 54 03 D9 7E */ srwi r3, r0, 5 +/* 80295334 00292294 4E 80 00 20 */ blr + +.global Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295338 00292298 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029533C 0029229C 7C 08 02 A6 */ mflr r0 +/* 80295340 002922A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80295344 002922A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295348 002922A8 41 82 00 0C */ beq lbl_80295354 +/* 8029534C 002922AC 41 80 00 14 */ blt lbl_80295360 +/* 80295350 002922B0 48 00 00 10 */ b lbl_80295360 +lbl_80295354: +/* 80295354 002922B4 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80295358 002922B8 38 80 00 02 */ li r4, 2 +/* 8029535C 002922BC 4B EA 56 7D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80295360: +/* 80295360 002922C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295364 002922C4 7C 08 03 A6 */ mtlr r0 +/* 80295368 002922C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029536C 002922CC 4E 80 00 20 */ blr + +.global Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf +Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: +/* 80295370 002922D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80295374 002922D4 7C 08 02 A6 */ mflr r0 +/* 80295378 002922D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8029537C 002922DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295380 002922E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80295384 002922E4 7C 9F 23 78 */ mr r31, r4 +/* 80295388 002922E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8029538C 002922EC 7C 7E 1B 78 */ mr r30, r3 +/* 80295390 002922F0 41 82 00 0C */ beq lbl_8029539C +/* 80295394 002922F4 41 80 00 34 */ blt lbl_802953C8 +/* 80295398 002922F8 48 00 00 30 */ b lbl_802953C8 +lbl_8029539C: +/* 8029539C 002922FC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802953A0 00292300 38 80 00 01 */ li r4, 1 +/* 802953A4 00292304 4B EA 56 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802953A8 00292308 7F C3 F3 78 */ mr r3, r30 +/* 802953AC 0029230C 7F E5 FB 78 */ mr r5, r31 +/* 802953B0 00292310 38 80 00 28 */ li r4, 0x28 +/* 802953B4 00292314 4B DB EB CD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802953B8 00292318 7F C3 F3 78 */ mr r3, r30 +/* 802953BC 0029231C 7F E5 FB 78 */ mr r5, r31 +/* 802953C0 00292320 38 80 00 29 */ li r4, 0x29 +/* 802953C4 00292324 4B DB EB BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_802953C8: +/* 802953C8 00292328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802953CC 0029232C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802953D0 00292330 83 C1 00 08 */ lwz r30, 8(r1) +/* 802953D4 00292334 7C 08 03 A6 */ mtlr r0 +/* 802953D8 00292338 38 21 00 10 */ addi r1, r1, 0x10 +/* 802953DC 0029233C 4E 80 00 20 */ blr + +.global Think__20CPhazonHealingNoduleFfR13CStateManager +Think__20CPhazonHealingNoduleFfR13CStateManager: +/* 802953E0 00292340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802953E4 00292344 7C 08 02 A6 */ mflr r0 +/* 802953E8 00292348 90 01 00 34 */ stw r0, 0x34(r1) +/* 802953EC 0029234C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802953F0 00292350 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802953F4 00292354 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802953F8 00292358 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802953FC 0029235C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80295400 00292360 FF E0 08 90 */ fmr f31, f1 +/* 80295404 00292364 7C 7E 1B 78 */ mr r30, r3 +/* 80295408 00292368 7C 9F 23 78 */ mr r31, r4 +/* 8029540C 0029236C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295410 00292370 41 82 00 D8 */ beq lbl_802954E8 +/* 80295414 00292374 4B DE 47 05 */ bl Think__10CPatternedFfR13CStateManager +/* 80295418 00292378 7F C3 F3 78 */ mr r3, r30 +/* 8029541C 0029237C 7F E4 FB 78 */ mr r4, r31 +/* 80295420 00292380 81 9E 00 00 */ lwz r12, 0(r30) +/* 80295424 00292384 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80295428 00292388 7D 89 03 A6 */ mtctr r12 +/* 8029542C 0029238C 4E 80 04 21 */ bctrl +/* 80295430 00292390 C0 23 00 00 */ lfs f1, 0(r3) +/* 80295434 00292394 C0 02 BF 90 */ lfs f0, lbl_805ADCB0@sda21(r2) +/* 80295438 00292398 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029543C 0029239C 4C 40 13 82 */ cror 2, 0, 2 +/* 80295440 002923A0 40 82 00 70 */ bne lbl_802954B0 +/* 80295444 002923A4 38 7E 05 7C */ addi r3, r30, 0x57c +/* 80295448 002923A8 48 00 06 89 */ bl sub_80295ad0 +/* 8029544C 002923AC 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 80295450 002923B0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha +/* 80295454 002923B4 90 1E 05 7C */ stw r0, 0x57c(r30) +/* 80295458 002923B8 38 83 5B B0 */ addi r4, r3, lbl_803D5BB0@l +/* 8029545C 002923BC 38 00 00 00 */ li r0, 0 +/* 80295460 002923C0 38 61 00 08 */ addi r3, r1, 8 +/* 80295464 002923C4 80 DE 05 7C */ lwz r6, 0x57c(r30) +/* 80295468 002923C8 38 84 00 11 */ addi r4, r4, 0x11 +/* 8029546C 002923CC 80 A6 00 04 */ lwz r5, 4(r6) +/* 80295470 002923D0 38 A5 00 01 */ addi r5, r5, 1 +/* 80295474 002923D4 90 A6 00 04 */ stw r5, 4(r6) +/* 80295478 002923D8 98 1E 05 6C */ stb r0, 0x56c(r30) +/* 8029547C 002923DC 4B D6 F8 3D */ bl string_l__4rstlFPCc +/* 80295480 002923E0 7F C3 F3 78 */ mr r3, r30 +/* 80295484 002923E4 4B E0 D4 75 */ bl GetStateMachine__3CAiFv +/* 80295488 002923E8 7C 66 1B 78 */ mr r6, r3 +/* 8029548C 002923EC 7F E4 FB 78 */ mr r4, r31 +/* 80295490 002923F0 7F C5 F3 78 */ mr r5, r30 +/* 80295494 002923F4 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80295498 002923F8 38 E1 00 08 */ addi r7, r1, 8 +/* 8029549C 002923FC 4B DE A7 69 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802954A0 00292400 38 61 00 08 */ addi r3, r1, 8 +/* 802954A4 00292404 48 0A 86 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802954A8 00292408 38 00 00 00 */ li r0, 0 +/* 802954AC 0029240C 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_802954B0: +/* 802954B0 00292410 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 802954B4 00292414 80 03 00 00 */ lwz r0, 0(r3) +/* 802954B8 00292418 28 00 00 00 */ cmplwi r0, 0 +/* 802954BC 0029241C 41 82 00 2C */ beq lbl_802954E8 +/* 802954C0 00292420 7F C3 F3 78 */ mr r3, r30 +/* 802954C4 00292424 7F E4 FB 78 */ mr r4, r31 +/* 802954C8 00292428 4B FF FA 35 */ bl sub_80294efc +/* 802954CC 0029242C 80 7E 05 7C */ lwz r3, 0x57c(r30) +/* 802954D0 00292430 FC 20 F8 90 */ fmr f1, f31 +/* 802954D4 00292434 80 63 00 00 */ lwz r3, 0(r3) +/* 802954D8 00292438 81 83 00 00 */ lwz r12, 0(r3) +/* 802954DC 0029243C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802954E0 00292440 7D 89 03 A6 */ mtctr r12 +/* 802954E4 00292444 4E 80 04 21 */ bctrl +lbl_802954E8: +/* 802954E8 00292448 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802954EC 0029244C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802954F0 00292450 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802954F4 00292454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802954F8 00292458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802954FC 0029245C 7C 08 03 A6 */ mtlr r0 +/* 80295500 00292460 38 21 00 30 */ addi r1, r1, 0x30 +/* 80295504 00292464 4E 80 00 20 */ blr + +.global DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80295508 00292468 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029550C 0029246C 7C 08 02 A6 */ mflr r0 +/* 80295510 00292470 2C 06 00 12 */ cmpwi r6, 0x12 +/* 80295514 00292474 90 01 00 34 */ stw r0, 0x34(r1) +/* 80295518 00292478 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029551C 0029247C 7C 7F 1B 78 */ mr r31, r3 +/* 80295520 00292480 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80295524 00292484 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80295528 00292488 41 82 00 F8 */ beq lbl_80295620 +/* 8029552C 0029248C 40 80 01 20 */ bge lbl_8029564C +/* 80295530 00292490 2C 06 00 11 */ cmpwi r6, 0x11 +/* 80295534 00292494 40 80 00 08 */ bge lbl_8029553C +/* 80295538 00292498 48 00 01 14 */ b lbl_8029564C +lbl_8029553C: +/* 8029553C 0029249C 38 00 00 01 */ li r0, 1 +/* 80295540 002924A0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha +/* 80295544 002924A4 38 63 5B B0 */ addi r3, r3, lbl_803D5BB0@l +/* 80295548 002924A8 98 1F 05 6C */ stb r0, 0x56c(r31) +/* 8029554C 002924AC 38 83 00 18 */ addi r4, r3, 0x18 +/* 80295550 002924B0 3B A0 00 00 */ li r29, 0 +/* 80295554 002924B4 38 60 04 58 */ li r3, 0x458 +/* 80295558 002924B8 38 A0 00 00 */ li r5, 0 +/* 8029555C 002924BC 48 08 03 11 */ bl __nw__FUlPCcPCc +/* 80295560 002924C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80295564 002924C4 41 82 00 24 */ beq lbl_80295588 +/* 80295568 002924C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8029556C 002924CC 38 9F 05 70 */ addi r4, r31, 0x570 +/* 80295570 002924D0 48 0A B9 39 */ bl __ct__6CTokenFRC6CToken +/* 80295574 002924D4 7F C3 F3 78 */ mr r3, r30 +/* 80295578 002924D8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029557C 002924DC 3B A0 00 01 */ li r29, 1 +/* 80295580 002924E0 48 0C CB F1 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 80295584 002924E4 7C 7E 1B 78 */ mr r30, r3 +lbl_80295588: +/* 80295588 002924E8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 8029558C 002924EC 38 60 00 08 */ li r3, 8 +/* 80295590 002924F0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80295594 002924F4 38 A0 00 00 */ li r5, 0 +/* 80295598 002924F8 38 84 00 18 */ addi r4, r4, 0x18 +/* 8029559C 002924FC 48 08 02 D1 */ bl __nw__FUlPCcPCc +/* 802955A0 00292500 28 03 00 00 */ cmplwi r3, 0 +/* 802955A4 00292504 41 82 00 10 */ beq lbl_802955B4 +/* 802955A8 00292508 93 C3 00 00 */ stw r30, 0(r3) +/* 802955AC 0029250C 38 00 00 01 */ li r0, 1 +/* 802955B0 00292510 90 03 00 04 */ stw r0, 4(r3) +lbl_802955B4: +/* 802955B4 00292514 90 61 00 08 */ stw r3, 8(r1) +/* 802955B8 00292518 80 1F 05 7C */ lwz r0, 0x57c(r31) +/* 802955BC 0029251C 7C 00 18 40 */ cmplw r0, r3 +/* 802955C0 00292520 41 82 00 24 */ beq lbl_802955E4 +/* 802955C4 00292524 38 7F 05 7C */ addi r3, r31, 0x57c +/* 802955C8 00292528 48 00 05 09 */ bl sub_80295ad0 +/* 802955CC 0029252C 80 01 00 08 */ lwz r0, 8(r1) +/* 802955D0 00292530 90 1F 05 7C */ stw r0, 0x57c(r31) +/* 802955D4 00292534 80 9F 05 7C */ lwz r4, 0x57c(r31) +/* 802955D8 00292538 80 64 00 04 */ lwz r3, 4(r4) +/* 802955DC 0029253C 38 03 00 01 */ addi r0, r3, 1 +/* 802955E0 00292540 90 04 00 04 */ stw r0, 4(r4) +lbl_802955E4: +/* 802955E4 00292544 38 61 00 08 */ addi r3, r1, 8 +/* 802955E8 00292548 48 00 04 E9 */ bl sub_80295ad0 +/* 802955EC 0029254C 7F A0 07 75 */ extsb. r0, r29 +/* 802955F0 00292550 41 82 00 10 */ beq lbl_80295600 +/* 802955F4 00292554 38 61 00 0C */ addi r3, r1, 0xc +/* 802955F8 00292558 38 80 00 00 */ li r4, 0 +/* 802955FC 0029255C 48 0A B8 45 */ bl __dt__6CTokenFv +lbl_80295600: +/* 80295600 00292560 80 7F 05 7C */ lwz r3, 0x57c(r31) +/* 80295604 00292564 38 80 00 01 */ li r4, 1 +/* 80295608 00292568 80 63 00 00 */ lwz r3, 0(r3) +/* 8029560C 0029256C 81 83 00 00 */ lwz r12, 0(r3) +/* 80295610 00292570 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80295614 00292574 7D 89 03 A6 */ mtctr r12 +/* 80295618 00292578 4E 80 04 21 */ bctrl +/* 8029561C 0029257C 48 00 00 38 */ b lbl_80295654 +lbl_80295620: +/* 80295620 00292580 38 00 00 00 */ li r0, 0 +/* 80295624 00292584 38 7F 05 7C */ addi r3, r31, 0x57c +/* 80295628 00292588 98 1F 05 6C */ stb r0, 0x56c(r31) +/* 8029562C 0029258C 48 00 04 A5 */ bl sub_80295ad0 +/* 80295630 00292590 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 80295634 00292594 90 1F 05 7C */ stw r0, 0x57c(r31) +/* 80295638 00292598 80 9F 05 7C */ lwz r4, 0x57c(r31) +/* 8029563C 0029259C 80 64 00 04 */ lwz r3, 4(r4) +/* 80295640 002925A0 38 03 00 01 */ addi r0, r3, 1 +/* 80295644 002925A4 90 04 00 04 */ stw r0, 4(r4) +/* 80295648 002925A8 48 00 00 0C */ b lbl_80295654 +lbl_8029564C: +/* 8029564C 002925AC 7F E3 FB 78 */ mr r3, r31 +/* 80295650 002925B0 4B DE 38 61 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80295654: +/* 80295654 002925B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80295658 002925B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029565C 002925BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80295660 002925C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80295664 002925C4 7C 08 03 A6 */ mtlr r0 +/* 80295668 002925C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029566C 002925CC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80295670 002925D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80295674 002925D4 7C 08 02 A6 */ mflr r0 +/* 80295678 002925D8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029567C 002925DC 38 04 FF FB */ addi r0, r4, -5 +/* 80295680 002925E0 28 00 00 1E */ cmplwi r0, 0x1e +/* 80295684 002925E4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80295688 002925E8 7C 7E 1B 78 */ mr r30, r3 +/* 8029568C 002925EC 7C DF 33 78 */ mr r31, r6 +/* 80295690 002925F0 41 81 02 50 */ bgt lbl_802958E0 +/* 80295694 002925F4 3C E0 80 3F */ lis r7, lbl_803EBF3C@ha +/* 80295698 002925F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8029569C 002925FC 38 E7 BF 3C */ addi r7, r7, lbl_803EBF3C@l +/* 802956A0 00292600 7C 07 00 2E */ lwzx r0, r7, r0 +/* 802956A4 00292604 7C 09 03 A6 */ mtctr r0 +/* 802956A8 00292608 4E 80 04 20 */ bctr +/* 802956AC 0029260C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802956B0 00292610 88 03 03 00 */ lbz r0, 0x300(r3) +/* 802956B4 00292614 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802956B8 00292618 40 82 00 0C */ bne lbl_802956C4 +/* 802956BC 0029261C 7F E4 FB 78 */ mr r4, r31 +/* 802956C0 00292620 4B EA 56 31 */ bl Activate__15CBodyControllerFR13CStateManager +lbl_802956C4: +/* 802956C4 00292624 7F C3 F3 78 */ mr r3, r30 +/* 802956C8 00292628 81 9E 00 00 */ lwz r12, 0(r30) +/* 802956CC 0029262C 81 8C 00 8C */ lwz r12, 0x8c(r12) +/* 802956D0 00292630 7D 89 03 A6 */ mtctr r12 +/* 802956D4 00292634 4E 80 04 21 */ bctrl +/* 802956D8 00292638 3C A0 80 57 */ lis r5, lbl_80570004@ha +/* 802956DC 0029263C 84 C5 D7 18 */ lwzu r6, -0x28e8(r5) +/* 802956E0 00292640 38 80 00 00 */ li r4, 0 +/* 802956E4 00292644 80 05 00 04 */ lwz r0, lbl_80570004@l(r5) +/* 802956E8 00292648 90 C3 00 00 */ stw r6, 0(r3) +/* 802956EC 0029264C 90 03 00 04 */ stw r0, 4(r3) +/* 802956F0 00292650 80 C5 00 08 */ lwz r6, 8(r5) +/* 802956F4 00292654 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802956F8 00292658 90 C3 00 08 */ stw r6, 8(r3) +/* 802956FC 0029265C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80295700 00292660 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80295704 00292664 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80295708 00292668 90 C3 00 10 */ stw r6, 0x10(r3) +/* 8029570C 0029266C 90 03 00 14 */ stw r0, 0x14(r3) +/* 80295710 00292670 80 C5 00 18 */ lwz r6, 0x18(r5) +/* 80295714 00292674 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80295718 00292678 90 C3 00 18 */ stw r6, 0x18(r3) +/* 8029571C 0029267C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80295720 00292680 80 C5 00 20 */ lwz r6, 0x20(r5) +/* 80295724 00292684 80 05 00 24 */ lwz r0, 0x24(r5) +/* 80295728 00292688 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8029572C 0029268C 90 03 00 24 */ stw r0, 0x24(r3) +/* 80295730 00292690 80 C5 00 28 */ lwz r6, 0x28(r5) +/* 80295734 00292694 80 05 00 2C */ lwz r0, 0x2c(r5) +/* 80295738 00292698 90 C3 00 28 */ stw r6, 0x28(r3) +/* 8029573C 0029269C 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80295740 002926A0 80 C5 00 30 */ lwz r6, 0x30(r5) +/* 80295744 002926A4 80 05 00 34 */ lwz r0, 0x34(r5) +/* 80295748 002926A8 90 C3 00 30 */ stw r6, 0x30(r3) +/* 8029574C 002926AC 90 03 00 34 */ stw r0, 0x34(r3) +/* 80295750 002926B0 80 05 00 38 */ lwz r0, 0x38(r5) +/* 80295754 002926B4 90 03 00 38 */ stw r0, 0x38(r3) +/* 80295758 002926B8 80 C5 00 3C */ lwz r6, 0x3c(r5) +/* 8029575C 002926BC 80 05 00 40 */ lwz r0, 0x40(r5) +/* 80295760 002926C0 90 C3 00 3C */ stw r6, 0x3c(r3) +/* 80295764 002926C4 90 03 00 40 */ stw r0, 0x40(r3) +/* 80295768 002926C8 80 C5 00 44 */ lwz r6, 0x44(r5) +/* 8029576C 002926CC 80 05 00 48 */ lwz r0, 0x48(r5) +/* 80295770 002926D0 90 C3 00 44 */ stw r6, 0x44(r3) +/* 80295774 002926D4 90 03 00 48 */ stw r0, 0x48(r3) +/* 80295778 002926D8 80 C5 00 4C */ lwz r6, 0x4c(r5) +/* 8029577C 002926DC 80 05 00 50 */ lwz r0, 0x50(r5) +/* 80295780 002926E0 90 C3 00 4C */ stw r6, 0x4c(r3) +/* 80295784 002926E4 90 03 00 50 */ stw r0, 0x50(r3) +/* 80295788 002926E8 80 C5 00 54 */ lwz r6, 0x54(r5) +/* 8029578C 002926EC 80 05 00 58 */ lwz r0, 0x58(r5) +/* 80295790 002926F0 90 C3 00 54 */ stw r6, 0x54(r3) +/* 80295794 002926F4 90 03 00 58 */ stw r0, 0x58(r3) +/* 80295798 002926F8 80 05 00 5C */ lwz r0, 0x5c(r5) +/* 8029579C 002926FC 90 03 00 5C */ stw r0, 0x5c(r3) +/* 802957A0 00292700 80 05 00 60 */ lwz r0, 0x60(r5) +/* 802957A4 00292704 90 03 00 60 */ stw r0, 0x60(r3) +/* 802957A8 00292708 80 05 00 64 */ lwz r0, 0x64(r5) +/* 802957AC 0029270C 90 03 00 64 */ stw r0, 0x64(r3) +/* 802957B0 00292710 38 7E 04 60 */ addi r3, r30, 0x460 +/* 802957B4 00292714 4B F9 E5 B1 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 802957B8 00292718 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802957BC 0029271C 38 80 00 01 */ li r4, 1 +/* 802957C0 00292720 4B EA 52 19 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802957C4 00292724 7F C3 F3 78 */ mr r3, r30 +/* 802957C8 00292728 7F E5 FB 78 */ mr r5, r31 +/* 802957CC 0029272C 38 80 00 28 */ li r4, 0x28 +/* 802957D0 00292730 4B DB E7 B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957D4 00292734 7F C3 F3 78 */ mr r3, r30 +/* 802957D8 00292738 7F E5 FB 78 */ mr r5, r31 +/* 802957DC 0029273C 38 80 00 29 */ li r4, 0x29 +/* 802957E0 00292740 4B DB E7 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957E4 00292744 7F C3 F3 78 */ mr r3, r30 +/* 802957E8 00292748 7F E5 FB 78 */ mr r5, r31 +/* 802957EC 0029274C 38 80 00 2B */ li r4, 0x2b +/* 802957F0 00292750 4B DB EB 61 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802957F4 00292754 48 00 01 04 */ b lbl_802958F8 +/* 802957F8 00292758 A0 05 00 00 */ lhz r0, 0(r5) +/* 802957FC 0029275C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80295800 00292760 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80295804 00292764 4B DE 73 75 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80295808 00292768 83 7E 00 24 */ lwz r27, 0x24(r30) +/* 8029580C 0029276C 3B 40 00 00 */ li r26, 0 +/* 80295810 00292770 3B A0 00 00 */ li r29, 0 +/* 80295814 00292774 48 00 00 58 */ b lbl_8029586C +lbl_80295818: +/* 80295818 00292778 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8029581C 0029277C 7F E4 FB 78 */ mr r4, r31 +/* 80295820 00292780 38 61 00 0C */ addi r3, r1, 0xc +/* 80295824 00292784 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80295828 00292788 7F 80 EA 14 */ add r28, r0, r29 +/* 8029582C 0029278C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80295830 00292790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295834 00292794 4B DB 26 E9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80295838 00292798 80 1C 00 00 */ lwz r0, 0(r28) +/* 8029583C 0029279C A0 61 00 0C */ lhz r3, 0xc(r1) +/* 80295840 002927A0 2C 00 00 0D */ cmpwi r0, 0xd +/* 80295844 002927A4 40 82 00 20 */ bne lbl_80295864 +/* 80295848 002927A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029584C 002927AC 7C 03 00 40 */ cmplw r3, r0 +/* 80295850 002927B0 41 82 00 14 */ beq lbl_80295864 +/* 80295854 002927B4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80295858 002927B8 2C 00 00 01 */ cmpwi r0, 1 +/* 8029585C 002927BC 40 82 00 08 */ bne lbl_80295864 +/* 80295860 002927C0 B0 7E 05 6E */ sth r3, 0x56e(r30) +lbl_80295864: +/* 80295864 002927C4 3B 5A 00 01 */ addi r26, r26, 1 +/* 80295868 002927C8 3B BD 00 0C */ addi r29, r29, 0xc +lbl_8029586C: +/* 8029586C 002927CC 7C 1A D8 40 */ cmplw r26, r27 +/* 80295870 002927D0 41 80 FF A8 */ blt lbl_80295818 +/* 80295874 002927D4 48 00 00 84 */ b lbl_802958F8 +/* 80295878 002927D8 38 00 00 01 */ li r0, 1 +/* 8029587C 002927DC 90 1E 05 68 */ stw r0, 0x568(r30) +/* 80295880 002927E0 48 00 00 78 */ b lbl_802958F8 +/* 80295884 002927E4 38 00 00 00 */ li r0, 0 +/* 80295888 002927E8 38 7E 05 7C */ addi r3, r30, 0x57c +/* 8029588C 002927EC 90 1E 05 68 */ stw r0, 0x568(r30) +/* 80295890 002927F0 48 00 02 41 */ bl sub_80295ad0 +/* 80295894 002927F4 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 +/* 80295898 002927F8 38 00 00 00 */ li r0, 0 +/* 8029589C 002927FC 90 7E 05 7C */ stw r3, 0x57c(r30) +/* 802958A0 00292800 80 9E 05 7C */ lwz r4, 0x57c(r30) +/* 802958A4 00292804 80 64 00 04 */ lwz r3, 4(r4) +/* 802958A8 00292808 38 63 00 01 */ addi r3, r3, 1 +/* 802958AC 0029280C 90 64 00 04 */ stw r3, 4(r4) +/* 802958B0 00292810 98 1E 05 6C */ stb r0, 0x56c(r30) +/* 802958B4 00292814 48 00 00 44 */ b lbl_802958F8 +/* 802958B8 00292818 81 83 00 00 */ lwz r12, 0(r3) +/* 802958BC 0029281C 7F E4 FB 78 */ mr r4, r31 +/* 802958C0 00292820 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802958C4 00292824 7D 89 03 A6 */ mtctr r12 +/* 802958C8 00292828 4E 80 04 21 */ bctrl +/* 802958CC 0029282C C0 1E 05 80 */ lfs f0, 0x580(r30) +/* 802958D0 00292830 D0 03 00 00 */ stfs f0, 0(r3) +/* 802958D4 00292834 C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 802958D8 00292838 D0 03 00 04 */ stfs f0, 4(r3) +/* 802958DC 0029283C 48 00 00 1C */ b lbl_802958F8 +lbl_802958E0: +/* 802958E0 00292840 A0 05 00 00 */ lhz r0, 0(r5) +/* 802958E4 00292844 7F C3 F3 78 */ mr r3, r30 +/* 802958E8 00292848 7F E6 FB 78 */ mr r6, r31 +/* 802958EC 0029284C 38 A1 00 08 */ addi r5, r1, 8 +/* 802958F0 00292850 B0 01 00 08 */ sth r0, 8(r1) +/* 802958F4 00292854 4B DE 72 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_802958F8: +/* 802958F8 00292858 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802958FC 0029285C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80295900 00292860 7C 08 03 A6 */ mtlr r0 +/* 80295904 00292864 38 21 00 30 */ addi r1, r1, 0x30 +/* 80295908 00292868 4E 80 00 20 */ blr + +.global "__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" +"__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo": +/* 8029590C 0029286C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80295910 00292870 7C 08 02 A6 */ mflr r0 +/* 80295914 00292874 7C EC 3B 78 */ mr r12, r7 +/* 80295918 00292878 39 60 00 01 */ li r11, 1 +/* 8029591C 0029287C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80295920 00292880 38 E0 00 00 */ li r7, 0 +/* 80295924 00292884 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80295928 00292888 7D 5F 53 78 */ mr r31, r10 +/* 8029592C 0029288C 7D 0A 43 78 */ mr r10, r8 +/* 80295930 00292890 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80295934 00292894 7C 7E 1B 78 */ mr r30, r3 +/* 80295938 00292898 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8029593C 0029289C 83 A1 00 6C */ lwz r29, 0x6c(r1) +/* 80295940 002928A0 93 81 00 50 */ stw r28, 0x50(r1) +/* 80295944 002928A4 83 81 00 68 */ lwz r28, 0x68(r1) +/* 80295948 002928A8 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029594C 002928AC 7C C4 33 78 */ mr r4, r6 +/* 80295950 002928B0 7C A6 2B 78 */ mr r6, r5 +/* 80295954 002928B4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80295958 002928B8 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8029595C 002928BC 7C 88 23 78 */ mr r8, r4 +/* 80295960 002928C0 38 00 00 02 */ li r0, 2 +/* 80295964 002928C4 38 80 00 23 */ li r4, 0x23 +/* 80295968 002928C8 93 E1 00 08 */ stw r31, 8(r1) +/* 8029596C 002928CC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80295970 002928D0 91 61 00 10 */ stw r11, 0x10(r1) +/* 80295974 002928D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295978 002928D8 91 21 00 18 */ stw r9, 0x18(r1) +/* 8029597C 002928DC 7D 89 63 78 */ mr r9, r12 +/* 80295980 002928E0 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80295984 002928E4 4B DE 7A CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80295988 002928E8 3C 80 80 3F */ lis r4, lbl_803EBC70@ha +/* 8029598C 002928EC 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 80295990 002928F0 38 04 BC 70 */ addi r0, r4, lbl_803EBC70@l +/* 80295994 002928F4 38 80 00 00 */ li r4, 0 +/* 80295998 002928F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8029599C 002928FC 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 802959A0 00292900 38 61 00 24 */ addi r3, r1, 0x24 +/* 802959A4 00292904 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802959A8 00292908 90 9E 05 68 */ stw r4, 0x568(r30) +/* 802959AC 0029290C 98 9E 05 6C */ stb r4, 0x56c(r30) +/* 802959B0 00292910 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 802959B4 00292914 B0 9E 05 6E */ sth r4, 0x56e(r30) +/* 802959B8 00292918 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802959BC 0029291C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802959C0 00292920 93 81 00 30 */ stw r28, 0x30(r1) +/* 802959C4 00292924 81 84 00 00 */ lwz r12, 0(r4) +/* 802959C8 00292928 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802959CC 0029292C 7D 89 03 A6 */ mtctr r12 +/* 802959D0 00292930 4E 80 04 21 */ bctrl +/* 802959D4 00292934 3B 9E 05 70 */ addi r28, r30, 0x570 +/* 802959D8 00292938 38 81 00 24 */ addi r4, r1, 0x24 +/* 802959DC 0029293C 7F 83 E3 78 */ mr r3, r28 +/* 802959E0 00292940 48 0A B4 C9 */ bl __ct__6CTokenFRC6CToken +/* 802959E4 00292944 7F 83 E3 78 */ mr r3, r28 +/* 802959E8 00292948 48 0A B4 25 */ bl GetObj__6CTokenFv +/* 802959EC 0029294C 80 03 00 04 */ lwz r0, 4(r3) +/* 802959F0 00292950 38 61 00 24 */ addi r3, r1, 0x24 +/* 802959F4 00292954 38 80 FF FF */ li r4, -1 +/* 802959F8 00292958 90 1C 00 08 */ stw r0, 8(r28) +/* 802959FC 0029295C 48 0A B4 45 */ bl __dt__6CTokenFv +/* 80295A00 00292960 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha +/* 80295A04 00292964 38 60 00 08 */ li r3, 8 +/* 80295A08 00292968 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l +/* 80295A0C 0029296C 38 A0 00 00 */ li r5, 0 +/* 80295A10 00292970 38 84 00 18 */ addi r4, r4, 0x18 +/* 80295A14 00292974 48 07 FE 59 */ bl __nw__FUlPCcPCc +/* 80295A18 00292978 28 03 00 00 */ cmplwi r3, 0 +/* 80295A1C 0029297C 41 82 00 14 */ beq lbl_80295A30 +/* 80295A20 00292980 38 80 00 00 */ li r4, 0 +/* 80295A24 00292984 38 00 00 01 */ li r0, 1 +/* 80295A28 00292988 90 83 00 00 */ stw r4, 0(r3) +/* 80295A2C 0029298C 90 03 00 04 */ stw r0, 4(r3) +lbl_80295A30: +/* 80295A30 00292990 90 7E 05 7C */ stw r3, 0x57c(r30) +/* 80295A34 00292994 7F A4 EB 78 */ mr r4, r29 +/* 80295A38 00292998 38 7E 05 8C */ addi r3, r30, 0x58c +/* 80295A3C 0029299C C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 80295A40 002929A0 D0 1E 05 80 */ stfs f0, 0x580(r30) +/* 80295A44 002929A4 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80295A48 002929A8 D0 1E 05 84 */ stfs f0, 0x584(r30) +/* 80295A4C 002929AC 48 0A 87 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80295A50 002929B0 7F C3 F3 78 */ mr r3, r30 +/* 80295A54 002929B4 4B DB DE 69 */ bl GetMaterialFilter__6CActorCFv +/* 80295A58 002929B8 80 AD 99 C8 */ lwz r5, lbl_805A8588@sda21(r13) +/* 80295A5C 002929BC 38 80 00 01 */ li r4, 1 +/* 80295A60 002929C0 83 E3 00 08 */ lwz r31, 8(r3) +/* 80295A64 002929C4 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 80295A68 002929C8 38 60 00 00 */ li r3, 0 +/* 80295A6C 002929CC 48 0F 44 89 */ bl __shl2i +/* 80295A70 002929D0 7F FF 1B 78 */ or r31, r31, r3 +/* 80295A74 002929D4 7F C3 F3 78 */ mr r3, r30 +/* 80295A78 002929D8 7F BD 23 78 */ or r29, r29, r4 +/* 80295A7C 002929DC 4B DB DE 41 */ bl GetMaterialFilter__6CActorCFv +/* 80295A80 002929E0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80295A84 002929E4 38 00 00 03 */ li r0, 3 +/* 80295A88 002929E8 80 C3 00 04 */ lwz r6, 4(r3) +/* 80295A8C 002929EC 7F C3 F3 78 */ mr r3, r30 +/* 80295A90 002929F0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80295A94 002929F4 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80295A98 002929F8 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80295A9C 002929FC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80295AA0 00292A00 93 E1 00 40 */ stw r31, 0x40(r1) +/* 80295AA4 00292A04 90 01 00 48 */ stw r0, 0x48(r1) +/* 80295AA8 00292A08 4B DB DD F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80295AAC 00292A0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80295AB0 00292A10 7F C3 F3 78 */ mr r3, r30 +/* 80295AB4 00292A14 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80295AB8 00292A18 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80295ABC 00292A1C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80295AC0 00292A20 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80295AC4 00292A24 7C 08 03 A6 */ mtlr r0 +/* 80295AC8 00292A28 38 21 00 60 */ addi r1, r1, 0x60 +/* 80295ACC 00292A2C 4E 80 00 20 */ blr + +.global sub_80295ad0 +sub_80295ad0: +/* 80295AD0 00292A30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80295AD4 00292A34 7C 08 02 A6 */ mflr r0 +/* 80295AD8 00292A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295ADC 00292A3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80295AE0 00292A40 7C 7F 1B 78 */ mr r31, r3 +/* 80295AE4 00292A44 80 83 00 00 */ lwz r4, 0(r3) +/* 80295AE8 00292A48 80 64 00 04 */ lwz r3, 4(r4) +/* 80295AEC 00292A4C 34 03 FF FF */ addic. r0, r3, -1 +/* 80295AF0 00292A50 90 04 00 04 */ stw r0, 4(r4) +/* 80295AF4 00292A54 41 81 00 38 */ bgt lbl_80295B2C +/* 80295AF8 00292A58 80 7F 00 00 */ lwz r3, 0(r31) +/* 80295AFC 00292A5C 80 63 00 00 */ lwz r3, 0(r3) +/* 80295B00 00292A60 28 03 00 00 */ cmplwi r3, 0 +/* 80295B04 00292A64 41 82 00 18 */ beq lbl_80295B1C +/* 80295B08 00292A68 81 83 00 00 */ lwz r12, 0(r3) +/* 80295B0C 00292A6C 38 80 00 01 */ li r4, 1 +/* 80295B10 00292A70 81 8C 00 08 */ lwz r12, 8(r12) +/* 80295B14 00292A74 7D 89 03 A6 */ mtctr r12 +/* 80295B18 00292A78 4E 80 04 21 */ bctrl +lbl_80295B1C: +/* 80295B1C 00292A7C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80295B20 00292A80 28 03 00 00 */ cmplwi r3, 0 +/* 80295B24 00292A84 41 82 00 08 */ beq lbl_80295B2C +/* 80295B28 00292A88 48 07 FE 09 */ bl Free__7CMemoryFPCv +lbl_80295B2C: +/* 80295B2C 00292A8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80295B30 00292A90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80295B34 00292A94 7C 08 03 A6 */ mtlr r0 +/* 80295B38 00292A98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80295B3C 00292A9C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPhazonPool.s b/asm/Kyoto_CWD/Enemies/CPhazonPool.s new file mode 100644 index 00000000..0ac85901 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPhazonPool.s @@ -0,0 +1,1460 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802925e0 +sub_802925e0: +/* 802925E0 0028F540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802925E4 0028F544 7C 08 02 A6 */ mflr r0 +/* 802925E8 0028F548 90 01 00 14 */ stw r0, 0x14(r1) +/* 802925EC 0028F54C 80 63 01 70 */ lwz r3, 0x170(r3) +/* 802925F0 0028F550 28 03 00 00 */ cmplwi r3, 0 +/* 802925F4 0028F554 41 82 00 14 */ beq lbl_80292608 +/* 802925F8 0028F558 81 83 00 00 */ lwz r12, 0(r3) +/* 802925FC 0028F55C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80292600 0028F560 7D 89 03 A6 */ mtctr r12 +/* 80292604 0028F564 4E 80 04 21 */ bctrl +lbl_80292608: +/* 80292608 0028F568 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029260C 0028F56C 7C 08 03 A6 */ mtlr r0 +/* 80292610 0028F570 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292614 0028F574 4E 80 00 20 */ blr + +.global sub_80292618 +sub_80292618: +/* 80292618 0028F578 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029261C 0028F57C 7C 08 02 A6 */ mflr r0 +/* 80292620 0028F580 90 01 00 44 */ stw r0, 0x44(r1) +/* 80292624 0028F584 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80292628 0028F588 7C 7B 1B 78 */ mr r27, r3 +/* 8029262C 0028F58C 7C 9C 23 78 */ mr r28, r4 +/* 80292630 0028F590 83 E3 01 54 */ lwz r31, 0x154(r3) +/* 80292634 0028F594 48 00 00 64 */ b lbl_80292698 +lbl_80292638: +/* 80292638 0028F598 83 DF 00 04 */ lwz r30, 4(r31) +/* 8029263C 0028F59C 7F 83 E3 78 */ mr r3, r28 +/* 80292640 0028F5A0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80292644 0028F5A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80292648 0028F5A8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8029264C 0028F5AC 4B DB 9F 29 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80292650 0028F5B0 7C 64 1B 78 */ mr r4, r3 +/* 80292654 0028F5B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80292658 0028F5B8 4B E1 D6 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8029265C 0028F5BC 83 A3 00 04 */ lwz r29, 4(r3) +/* 80292660 0028F5C0 28 1D 00 00 */ cmplwi r29, 0 +/* 80292664 0028F5C4 41 82 00 30 */ beq lbl_80292694 +/* 80292668 0028F5C8 7F E4 FB 78 */ mr r4, r31 +/* 8029266C 0028F5CC 38 7B 01 50 */ addi r3, r27, 0x150 +/* 80292670 0028F5D0 4B E6 F7 9D */ bl sub_80101e0c +/* 80292674 0028F5D4 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80292678 0028F5D8 7F 83 E3 78 */ mr r3, r28 +/* 8029267C 0028F5DC 7F A4 EB 78 */ mr r4, r29 +/* 80292680 0028F5E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292684 0028F5E4 B0 01 00 08 */ sth r0, 8(r1) +/* 80292688 0028F5E8 38 C0 00 2F */ li r6, 0x2f +/* 8029268C 0028F5EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292690 0028F5F0 4B DB 18 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80292694: +/* 80292694 0028F5F4 7F DF F3 78 */ mr r31, r30 +lbl_80292698: +/* 80292698 0028F5F8 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8029269C 0028F5FC 7C 1F 00 40 */ cmplw r31, r0 +/* 802926A0 0028F600 40 82 FF 98 */ bne lbl_80292638 +/* 802926A4 0028F604 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802926A8 0028F608 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802926AC 0028F60C 7C 08 03 A6 */ mtlr r0 +/* 802926B0 0028F610 38 21 00 40 */ addi r1, r1, 0x40 +/* 802926B4 0028F614 4E 80 00 20 */ blr + +.global UpdateInhabitants__11CPhazonPoolFR13CStateManager +UpdateInhabitants__11CPhazonPoolFR13CStateManager: +/* 802926B8 0028F618 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802926BC 0028F61C 7C 08 02 A6 */ mflr r0 +/* 802926C0 0028F620 90 01 00 94 */ stw r0, 0x94(r1) +/* 802926C4 0028F624 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802926C8 0028F628 7C 7B 1B 78 */ mr r27, r3 +/* 802926CC 0028F62C 7C 9C 23 78 */ mr r28, r4 +/* 802926D0 0028F630 83 E3 01 54 */ lwz r31, 0x154(r3) +/* 802926D4 0028F634 48 00 01 34 */ b lbl_80292808 +lbl_802926D8: +/* 802926D8 0028F638 83 DF 00 04 */ lwz r30, 4(r31) +/* 802926DC 0028F63C 7F 83 E3 78 */ mr r3, r28 +/* 802926E0 0028F640 A0 1F 00 08 */ lhz r0, 8(r31) +/* 802926E4 0028F644 38 81 00 18 */ addi r4, r1, 0x18 +/* 802926E8 0028F648 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802926EC 0028F64C 4B DB 9E 89 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802926F0 0028F650 7C 64 1B 78 */ mr r4, r3 +/* 802926F4 0028F654 38 61 00 1C */ addi r3, r1, 0x1c +/* 802926F8 0028F658 4B E1 D5 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802926FC 0028F65C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80292700 0028F660 28 1D 00 00 */ cmplwi r29, 0 +/* 80292704 0028F664 41 82 00 8C */ beq lbl_80292790 +/* 80292708 0028F668 7F A4 EB 78 */ mr r4, r29 +/* 8029270C 0028F66C 38 61 00 3C */ addi r3, r1, 0x3c +/* 80292710 0028F670 81 9D 00 00 */ lwz r12, 0(r29) +/* 80292714 0028F674 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80292718 0028F678 7D 89 03 A6 */ mtctr r12 +/* 8029271C 0028F67C 4E 80 04 21 */ bctrl +/* 80292720 0028F680 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80292724 0028F684 28 00 00 00 */ cmplwi r0, 0 +/* 80292728 0028F688 98 01 00 70 */ stb r0, 0x70(r1) +/* 8029272C 0028F68C 41 82 00 3C */ beq lbl_80292768 +/* 80292730 0028F690 34 61 00 58 */ addic. r3, r1, 0x58 +/* 80292734 0028F694 41 82 00 34 */ beq lbl_80292768 +/* 80292738 0028F698 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8029273C 0028F69C D0 03 00 00 */ stfs f0, 0(r3) +/* 80292740 0028F6A0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80292744 0028F6A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80292748 0028F6A8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8029274C 0028F6AC D0 03 00 08 */ stfs f0, 8(r3) +/* 80292750 0028F6B0 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80292754 0028F6B4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80292758 0028F6B8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8029275C 0028F6BC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80292760 0028F6C0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80292764 0028F6C4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80292768: +/* 80292768 0028F6C8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8029276C 0028F6CC 38 60 00 00 */ li r3, 0 +/* 80292770 0028F6D0 98 61 00 54 */ stb r3, 0x54(r1) +/* 80292774 0028F6D4 28 00 00 00 */ cmplwi r0, 0 +/* 80292778 0028F6D8 41 82 00 10 */ beq lbl_80292788 +/* 8029277C 0028F6DC 7F 64 DB 78 */ mr r4, r27 +/* 80292780 0028F6E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80292784 0028F6E4 4B DE 3F 49 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +lbl_80292788: +/* 80292788 0028F6E8 38 00 00 00 */ li r0, 0 +/* 8029278C 0028F6EC 98 01 00 70 */ stb r0, 0x70(r1) +lbl_80292790: +/* 80292790 0028F6F0 28 1D 00 00 */ cmplwi r29, 0 +/* 80292794 0028F6F4 41 82 00 3C */ beq lbl_802927D0 +/* 80292798 0028F6F8 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8029279C 0028F6FC 28 00 00 00 */ cmplwi r0, 0 +/* 802927A0 0028F700 41 82 00 30 */ beq lbl_802927D0 +/* 802927A4 0028F704 A0 1B 00 08 */ lhz r0, 8(r27) +/* 802927A8 0028F708 7F 83 E3 78 */ mr r3, r28 +/* 802927AC 0028F70C 7F A4 EB 78 */ mr r4, r29 +/* 802927B0 0028F710 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802927B4 0028F714 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802927B8 0028F718 38 C0 00 2E */ li r6, 0x2e +/* 802927BC 0028F71C B0 01 00 14 */ sth r0, 0x14(r1) +/* 802927C0 0028F720 4B DB 17 11 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802927C4 0028F724 38 00 00 00 */ li r0, 0 +/* 802927C8 0028F728 98 1F 00 0A */ stb r0, 0xa(r31) +/* 802927CC 0028F72C 48 00 00 38 */ b lbl_80292804 +lbl_802927D0: +/* 802927D0 0028F730 7F E4 FB 78 */ mr r4, r31 +/* 802927D4 0028F734 38 7B 01 50 */ addi r3, r27, 0x150 +/* 802927D8 0028F738 4B E6 F6 35 */ bl sub_80101e0c +/* 802927DC 0028F73C 28 1D 00 00 */ cmplwi r29, 0 +/* 802927E0 0028F740 41 82 00 24 */ beq lbl_80292804 +/* 802927E4 0028F744 A0 1B 00 08 */ lhz r0, 8(r27) +/* 802927E8 0028F748 7F 83 E3 78 */ mr r3, r28 +/* 802927EC 0028F74C 7F A4 EB 78 */ mr r4, r29 +/* 802927F0 0028F750 38 A1 00 0C */ addi r5, r1, 0xc +/* 802927F4 0028F754 B0 01 00 08 */ sth r0, 8(r1) +/* 802927F8 0028F758 38 C0 00 2F */ li r6, 0x2f +/* 802927FC 0028F75C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292800 0028F760 4B DB 16 D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80292804: +/* 80292804 0028F764 7F DF F3 78 */ mr r31, r30 +lbl_80292808: +/* 80292808 0028F768 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8029280C 0028F76C 7C 1F 00 40 */ cmplw r31, r0 +/* 80292810 0028F770 40 82 FE C8 */ bne lbl_802926D8 +/* 80292814 0028F774 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80292818 0028F778 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8029281C 0028F77C 7C 08 03 A6 */ mtlr r0 +/* 80292820 0028F780 38 21 00 90 */ addi r1, r1, 0x90 +/* 80292824 0028F784 4E 80 00 20 */ blr + +.global AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager: +/* 80292828 0028F788 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029282C 0028F78C 7C 08 02 A6 */ mflr r0 +/* 80292830 0028F790 90 01 00 24 */ stw r0, 0x24(r1) +/* 80292834 0028F794 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80292838 0028F798 7C BF 2B 78 */ mr r31, r5 +/* 8029283C 0028F79C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80292840 0028F7A0 7C 9E 23 78 */ mr r30, r4 +/* 80292844 0028F7A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80292848 0028F7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8029284C 0028F7AC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292850 0028F7B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292854 0028F7B4 41 82 00 44 */ beq lbl_80292898 +/* 80292858 0028F7B8 80 9D 01 70 */ lwz r4, 0x170(r29) +/* 8029285C 0028F7BC 28 04 00 00 */ cmplwi r4, 0 +/* 80292860 0028F7C0 41 82 00 18 */ beq lbl_80292878 +/* 80292864 0028F7C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80292868 0028F7C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029286C 0028F7CC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80292870 0028F7D0 7D 89 03 A6 */ mtctr r12 +/* 80292874 0028F7D4 4E 80 04 21 */ bctrl +lbl_80292878: +/* 80292878 0028F7D8 80 9D 01 74 */ lwz r4, 0x174(r29) +/* 8029287C 0028F7DC 28 04 00 00 */ cmplwi r4, 0 +/* 80292880 0028F7E0 41 82 00 18 */ beq lbl_80292898 +/* 80292884 0028F7E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80292888 0028F7E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029288C 0028F7EC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80292890 0028F7F0 7D 89 03 A6 */ mtctr r12 +/* 80292894 0028F7F4 4E 80 04 21 */ bctrl +lbl_80292898: +/* 80292898 0028F7F8 7F A3 EB 78 */ mr r3, r29 +/* 8029289C 0028F7FC 7F C4 F3 78 */ mr r4, r30 +/* 802928A0 0028F800 7F E5 FB 78 */ mr r5, r31 +/* 802928A4 0028F804 4B DC 22 95 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +/* 802928A8 0028F808 7F A3 EB 78 */ mr r3, r29 +/* 802928AC 0028F80C 7F E4 FB 78 */ mr r4, r31 +/* 802928B0 0028F810 4B DC 21 1D */ bl EnsureRendered__6CActorCFRC13CStateManager +/* 802928B4 0028F814 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802928B8 0028F818 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802928BC 0028F81C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802928C0 0028F820 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802928C4 0028F824 7C 08 03 A6 */ mtlr r0 +/* 802928C8 0028F828 38 21 00 20 */ addi r1, r1, 0x20 +/* 802928CC 0028F82C 4E 80 00 20 */ blr + +.global Accept__11CPhazonPoolFR8IVisitor +Accept__11CPhazonPoolFR8IVisitor: +/* 802928D0 0028F830 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802928D4 0028F834 7C 08 02 A6 */ mflr r0 +/* 802928D8 0028F838 90 01 00 14 */ stw r0, 0x14(r1) +/* 802928DC 0028F83C 7C 60 1B 78 */ mr r0, r3 +/* 802928E0 0028F840 7C 83 23 78 */ mr r3, r4 +/* 802928E4 0028F844 81 84 00 00 */ lwz r12, 0(r4) +/* 802928E8 0028F848 7C 04 03 78 */ mr r4, r0 +/* 802928EC 0028F84C 81 8C 00 CC */ lwz r12, 0xcc(r12) +/* 802928F0 0028F850 7D 89 03 A6 */ mtctr r12 +/* 802928F4 0028F854 4E 80 04 21 */ bctrl +/* 802928F8 0028F858 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802928FC 0028F85C 7C 08 03 A6 */ mtlr r0 +/* 80292900 0028F860 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292904 0028F864 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80292908 0028F868 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8029290C 0028F86C 7C 08 02 A6 */ mflr r0 +/* 80292910 0028F870 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80292914 0028F874 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80292918 0028F878 7C DF 33 78 */ mr r31, r6 +/* 8029291C 0028F87C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80292920 0028F880 7C BE 2B 78 */ mr r30, r5 +/* 80292924 0028F884 93 A1 00 94 */ stw r29, 0x94(r1) +/* 80292928 0028F888 7C 9D 23 78 */ mr r29, r4 +/* 8029292C 0028F88C 28 1D 00 22 */ cmplwi r29, 0x22 +/* 80292930 0028F890 93 81 00 90 */ stw r28, 0x90(r1) +/* 80292934 0028F894 7C 7C 1B 78 */ mr r28, r3 +/* 80292938 0028F898 41 81 02 00 */ bgt lbl_80292B38 +/* 8029293C 0028F89C 3C 80 80 3F */ lis r4, lbl_803EBBC4@ha +/* 80292940 0028F8A0 57 A0 10 3A */ slwi r0, r29, 2 +/* 80292944 0028F8A4 38 84 BB C4 */ addi r4, r4, lbl_803EBBC4@l +/* 80292948 0028F8A8 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8029294C 0028F8AC 7C 09 03 A6 */ mtctr r0 +/* 80292950 0028F8B0 4E 80 04 20 */ bctr +/* 80292954 0028F8B4 80 7C 01 70 */ lwz r3, 0x170(r28) +/* 80292958 0028F8B8 28 03 00 00 */ cmplwi r3, 0 +/* 8029295C 0028F8BC 41 82 00 30 */ beq lbl_8029298C +/* 80292960 0028F8C0 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80292964 0028F8C4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80292968 0028F8C8 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8029296C 0028F8CC C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80292970 0028F8D0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80292974 0028F8D4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80292978 0028F8D8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8029297C 0028F8DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80292980 0028F8E0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80292984 0028F8E4 7D 89 03 A6 */ mtctr r12 +/* 80292988 0028F8E8 4E 80 04 21 */ bctrl +lbl_8029298C: +/* 8029298C 0028F8EC 80 9C 01 68 */ lwz r4, 0x168(r28) +/* 80292990 0028F8F0 28 04 00 00 */ cmplwi r4, 0 +/* 80292994 0028F8F4 41 82 00 14 */ beq lbl_802929A8 +/* 80292998 0028F8F8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029299C 0028F8FC 4B E8 2C 29 */ bl GetBounds__10CModelDataCFv +/* 802929A0 0028F900 38 E1 00 78 */ addi r7, r1, 0x78 +/* 802929A4 0028F904 48 00 00 64 */ b lbl_80292A08 +lbl_802929A8: +/* 802929A8 0028F908 C0 BC 01 94 */ lfs f5, 0x194(r28) +/* 802929AC 0028F90C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802929B0 0028F910 C0 9C 01 98 */ lfs f4, 0x198(r28) +/* 802929B4 0028F914 38 81 00 24 */ addi r4, r1, 0x24 +/* 802929B8 0028F918 C0 7C 01 90 */ lfs f3, 0x190(r28) +/* 802929BC 0028F91C FC 40 28 50 */ fneg f2, f5 +/* 802929C0 0028F920 C0 C2 BF 18 */ lfs f6, lbl_805ADC38@sda21(r2) +/* 802929C4 0028F924 FC 20 20 50 */ fneg f1, f4 +/* 802929C8 0028F928 FC 00 18 50 */ fneg f0, f3 +/* 802929CC 0028F92C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802929D0 0028F930 EC A6 01 72 */ fmuls f5, f6, f5 +/* 802929D4 0028F934 EC 86 01 32 */ fmuls f4, f6, f4 +/* 802929D8 0028F938 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 802929DC 0028F93C EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802929E0 0028F940 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802929E4 0028F944 EC 26 00 72 */ fmuls f1, f6, f1 +/* 802929E8 0028F948 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802929EC 0028F94C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802929F0 0028F950 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802929F4 0028F954 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802929F8 0028F958 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802929FC 0028F95C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80292A00 0028F960 48 0A 5B 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292A04 0028F964 7C 67 1B 78 */ mr r7, r3 +lbl_80292A08: +/* 80292A08 0028F968 80 C7 00 00 */ lwz r6, 0(r7) +/* 80292A0C 0028F96C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80292A10 0028F970 80 07 00 04 */ lwz r0, 4(r7) +/* 80292A14 0028F974 38 81 00 18 */ addi r4, r1, 0x18 +/* 80292A18 0028F978 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292A1C 0028F97C 90 DC 01 78 */ stw r6, 0x178(r28) +/* 80292A20 0028F980 90 1C 01 7C */ stw r0, 0x17c(r28) +/* 80292A24 0028F984 80 07 00 08 */ lwz r0, 8(r7) +/* 80292A28 0028F988 90 1C 01 80 */ stw r0, 0x180(r28) +/* 80292A2C 0028F98C 80 C7 00 0C */ lwz r6, 0xc(r7) +/* 80292A30 0028F990 80 07 00 10 */ lwz r0, 0x10(r7) +/* 80292A34 0028F994 90 DC 01 84 */ stw r6, 0x184(r28) +/* 80292A38 0028F998 90 1C 01 88 */ stw r0, 0x188(r28) +/* 80292A3C 0028F99C 80 07 00 14 */ lwz r0, 0x14(r7) +/* 80292A40 0028F9A0 90 1C 01 8C */ stw r0, 0x18c(r28) +/* 80292A44 0028F9A4 C0 1C 01 8C */ lfs f0, 0x18c(r28) +/* 80292A48 0028F9A8 C0 BC 01 98 */ lfs f5, 0x198(r28) +/* 80292A4C 0028F9AC C0 3C 01 88 */ lfs f1, 0x188(r28) +/* 80292A50 0028F9B0 C0 9C 01 94 */ lfs f4, 0x194(r28) +/* 80292A54 0028F9B4 EC 40 01 72 */ fmuls f2, f0, f5 +/* 80292A58 0028F9B8 C0 1C 01 84 */ lfs f0, 0x184(r28) +/* 80292A5C 0028F9BC C0 7C 01 90 */ lfs f3, 0x190(r28) +/* 80292A60 0028F9C0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80292A64 0028F9C4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80292A68 0028F9C8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80292A6C 0028F9CC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80292A70 0028F9D0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80292A74 0028F9D4 C0 5C 01 80 */ lfs f2, 0x180(r28) +/* 80292A78 0028F9D8 C0 3C 01 7C */ lfs f1, 0x17c(r28) +/* 80292A7C 0028F9DC C0 1C 01 78 */ lfs f0, 0x178(r28) +/* 80292A80 0028F9E0 EC 42 01 72 */ fmuls f2, f2, f5 +/* 80292A84 0028F9E4 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80292A88 0028F9E8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80292A8C 0028F9EC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80292A90 0028F9F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80292A94 0028F9F4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80292A98 0028F9F8 48 0A 5A 71 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292A9C 0028F9FC 80 61 00 48 */ lwz r3, 0x48(r1) +/* 80292AA0 0028FA00 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80292AA4 0028FA04 90 7C 01 30 */ stw r3, 0x130(r28) +/* 80292AA8 0028FA08 90 1C 01 34 */ stw r0, 0x134(r28) +/* 80292AAC 0028FA0C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80292AB0 0028FA10 90 1C 01 38 */ stw r0, 0x138(r28) +/* 80292AB4 0028FA14 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80292AB8 0028FA18 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80292ABC 0028FA1C 90 7C 01 3C */ stw r3, 0x13c(r28) +/* 80292AC0 0028FA20 90 1C 01 40 */ stw r0, 0x140(r28) +/* 80292AC4 0028FA24 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80292AC8 0028FA28 90 1C 01 44 */ stw r0, 0x144(r28) +/* 80292ACC 0028FA2C 48 00 00 6C */ b lbl_80292B38 +/* 80292AD0 0028FA30 80 1C 01 DC */ lwz r0, 0x1dc(r28) +/* 80292AD4 0028FA34 2C 00 00 02 */ cmpwi r0, 2 +/* 80292AD8 0028FA38 40 82 00 60 */ bne lbl_80292B38 +/* 80292ADC 0028FA3C C0 3C 01 CC */ lfs f1, 0x1cc(r28) +/* 80292AE0 0028FA40 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 80292AE4 0028FA44 EC 01 00 2A */ fadds f0, f1, f0 +/* 80292AE8 0028FA48 D0 1C 01 CC */ stfs f0, 0x1cc(r28) +/* 80292AEC 0028FA4C 48 00 00 4C */ b lbl_80292B38 +/* 80292AF0 0028FA50 7F 83 E3 78 */ mr r3, r28 +/* 80292AF4 0028FA54 7F E4 FB 78 */ mr r4, r31 +/* 80292AF8 0028FA58 48 00 07 15 */ bl sub_8029320c +/* 80292AFC 0028FA5C 48 00 00 3C */ b lbl_80292B38 +/* 80292B00 0028FA60 88 9C 01 E0 */ lbz r4, 0x1e0(r28) +/* 80292B04 0028FA64 54 80 D7 FE */ rlwinm r0, r4, 0x1a, 0x1f, 0x1f +/* 80292B08 0028FA68 28 00 00 01 */ cmplwi r0, 1 +/* 80292B0C 0028FA6C 41 82 00 2C */ beq lbl_80292B38 +/* 80292B10 0028FA70 38 00 00 01 */ li r0, 1 +/* 80292B14 0028FA74 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292B18 0028FA78 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80292B1C 0028FA7C 98 9C 01 E0 */ stb r4, 0x1e0(r28) +/* 80292B20 0028FA80 38 80 00 00 */ li r4, 0 +/* 80292B24 0028FA84 D0 1C 01 C4 */ stfs f0, 0x1c4(r28) +/* 80292B28 0028FA88 4B FF FA B9 */ bl sub_802925e0 +/* 80292B2C 0028FA8C 48 00 00 0C */ b lbl_80292B38 +/* 80292B30 0028FA90 7F E4 FB 78 */ mr r4, r31 +/* 80292B34 0028FA94 4B FF FA E5 */ bl sub_80292618 +lbl_80292B38: +/* 80292B38 0028FA98 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80292B3C 0028FA9C 7F 83 E3 78 */ mr r3, r28 +/* 80292B40 0028FAA0 7F A4 EB 78 */ mr r4, r29 +/* 80292B44 0028FAA4 7F E6 FB 78 */ mr r6, r31 +/* 80292B48 0028FAA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80292B4C 0028FAAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80292B50 0028FAB0 4B DE 39 A9 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80292B54 0028FAB4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80292B58 0028FAB8 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80292B5C 0028FABC 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80292B60 0028FAC0 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80292B64 0028FAC4 83 81 00 90 */ lwz r28, 0x90(r1) +/* 80292B68 0028FAC8 7C 08 03 A6 */ mtlr r0 +/* 80292B6C 0028FACC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80292B70 0028FAD0 4E 80 00 20 */ blr + +.global GetTouchBounds__11CPhazonPoolCFv +GetTouchBounds__11CPhazonPoolCFv: +/* 80292B74 0028FAD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80292B78 0028FAD8 7C 08 02 A6 */ mflr r0 +/* 80292B7C 0028FADC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80292B80 0028FAE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80292B84 0028FAE4 7C 7F 1B 78 */ mr r31, r3 +/* 80292B88 0028FAE8 4B DE 3A BD */ bl GetTouchBounds__14CScriptTriggerCFv +/* 80292B8C 0028FAEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80292B90 0028FAF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80292B94 0028FAF4 7C 08 03 A6 */ mtlr r0 +/* 80292B98 0028FAF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80292B9C 0028FAFC 4E 80 00 20 */ blr + +.global Touch__11CPhazonPoolFR6CActorR13CStateManager +Touch__11CPhazonPoolFR6CActorR13CStateManager: +/* 80292BA0 0028FB00 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80292BA4 0028FB04 7C 08 02 A6 */ mflr r0 +/* 80292BA8 0028FB08 90 01 00 74 */ stw r0, 0x74(r1) +/* 80292BAC 0028FB0C BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80292BB0 0028FB10 7C 7D 1B 78 */ mr r29, r3 +/* 80292BB4 0028FB14 7C 9E 23 78 */ mr r30, r4 +/* 80292BB8 0028FB18 7C BF 2B 78 */ mr r31, r5 +/* 80292BBC 0028FB1C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292BC0 0028FB20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292BC4 0028FB24 41 82 01 88 */ beq lbl_80292D4C +/* 80292BC8 0028FB28 80 1D 01 DC */ lwz r0, 0x1dc(r29) +/* 80292BCC 0028FB2C 2C 00 00 02 */ cmpwi r0, 2 +/* 80292BD0 0028FB30 41 82 00 08 */ beq lbl_80292BD8 +/* 80292BD4 0028FB34 48 00 01 78 */ b lbl_80292D4C +lbl_80292BD8: +/* 80292BD8 0028FB38 4B DE 3B 71 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager +/* 80292BDC 0028FB3C 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 80292BE0 0028FB40 38 00 00 04 */ li r0, 4 +/* 80292BE4 0028FB44 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 80292BE8 0028FB48 38 80 00 00 */ li r4, 0 +/* 80292BEC 0028FB4C 7C 60 00 38 */ and r0, r3, r0 +/* 80292BF0 0028FB50 7C A3 20 38 */ and r3, r5, r4 +/* 80292BF4 0028FB54 7C 63 22 78 */ xor r3, r3, r4 +/* 80292BF8 0028FB58 7C 00 22 78 */ xor r0, r0, r4 +/* 80292BFC 0028FB5C 7C 60 03 79 */ or. r0, r3, r0 +/* 80292C00 0028FB60 40 82 01 4C */ bne lbl_80292D4C +/* 80292C04 0028FB64 80 9D 01 54 */ lwz r4, 0x154(r29) +/* 80292C08 0028FB68 80 BD 01 58 */ lwz r5, 0x158(r29) +/* 80292C0C 0028FB6C 48 00 00 24 */ b lbl_80292C30 +lbl_80292C10: +/* 80292C10 0028FB70 A0 64 00 08 */ lhz r3, 8(r4) +/* 80292C14 0028FB74 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80292C18 0028FB78 7C 03 00 40 */ cmplw r3, r0 +/* 80292C1C 0028FB7C 40 82 00 10 */ bne lbl_80292C2C +/* 80292C20 0028FB80 38 00 00 01 */ li r0, 1 +/* 80292C24 0028FB84 98 04 00 0A */ stb r0, 0xa(r4) +/* 80292C28 0028FB88 48 00 01 24 */ b lbl_80292D4C +lbl_80292C2C: +/* 80292C2C 0028FB8C 80 84 00 04 */ lwz r4, 4(r4) +lbl_80292C30: +/* 80292C30 0028FB90 7C 04 28 40 */ cmplw r4, r5 +/* 80292C34 0028FB94 40 82 FF DC */ bne lbl_80292C10 +/* 80292C38 0028FB98 7F C4 F3 78 */ mr r4, r30 +/* 80292C3C 0028FB9C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80292C40 0028FBA0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80292C44 0028FBA4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80292C48 0028FBA8 7D 89 03 A6 */ mtctr r12 +/* 80292C4C 0028FBAC 4E 80 04 21 */ bctrl +/* 80292C50 0028FBB0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80292C54 0028FBB4 28 00 00 00 */ cmplwi r0, 0 +/* 80292C58 0028FBB8 98 01 00 44 */ stb r0, 0x44(r1) +/* 80292C5C 0028FBBC 41 82 00 3C */ beq lbl_80292C98 +/* 80292C60 0028FBC0 34 61 00 2C */ addic. r3, r1, 0x2c +/* 80292C64 0028FBC4 41 82 00 34 */ beq lbl_80292C98 +/* 80292C68 0028FBC8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80292C6C 0028FBCC D0 03 00 00 */ stfs f0, 0(r3) +/* 80292C70 0028FBD0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80292C74 0028FBD4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80292C78 0028FBD8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80292C7C 0028FBDC D0 03 00 08 */ stfs f0, 8(r3) +/* 80292C80 0028FBE0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80292C84 0028FBE4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80292C88 0028FBE8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80292C8C 0028FBEC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80292C90 0028FBF0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80292C94 0028FBF4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80292C98: +/* 80292C98 0028FBF8 88 01 00 44 */ lbz r0, 0x44(r1) +/* 80292C9C 0028FBFC 38 60 00 00 */ li r3, 0 +/* 80292CA0 0028FC00 98 61 00 28 */ stb r3, 0x28(r1) +/* 80292CA4 0028FC04 28 00 00 00 */ cmplwi r0, 0 +/* 80292CA8 0028FC08 40 82 00 0C */ bne lbl_80292CB4 +/* 80292CAC 0028FC0C 98 61 00 44 */ stb r3, 0x44(r1) +/* 80292CB0 0028FC10 48 00 00 9C */ b lbl_80292D4C +lbl_80292CB4: +/* 80292CB4 0028FC14 83 7D 01 58 */ lwz r27, 0x158(r29) +/* 80292CB8 0028FC18 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 80292CBC 0028FC1C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80292CC0 0028FC20 A3 3E 00 08 */ lhz r25, 8(r30) +/* 80292CC4 0028FC24 8B 8D 99 C0 */ lbz r28, lbl_805A8580@sda21(r13) +/* 80292CC8 0028FC28 38 60 00 0C */ li r3, 0xc +/* 80292CCC 0028FC2C 83 5B 00 00 */ lwz r26, 0(r27) +/* 80292CD0 0028FC30 38 A0 00 00 */ li r5, 0 +/* 80292CD4 0028FC34 48 08 2B 45 */ bl __nwa__FUlPCcPCc +/* 80292CD8 0028FC38 28 03 00 00 */ cmplwi r3, 0 +/* 80292CDC 0028FC3C 41 82 00 0C */ beq lbl_80292CE8 +/* 80292CE0 0028FC40 93 43 00 00 */ stw r26, 0(r3) +/* 80292CE4 0028FC44 93 63 00 04 */ stw r27, 4(r3) +lbl_80292CE8: +/* 80292CE8 0028FC48 34 83 00 08 */ addic. r4, r3, 8 +/* 80292CEC 0028FC4C 41 82 00 0C */ beq lbl_80292CF8 +/* 80292CF0 0028FC50 B3 24 00 00 */ sth r25, 0(r4) +/* 80292CF4 0028FC54 9B 84 00 02 */ stb r28, 2(r4) +lbl_80292CF8: +/* 80292CF8 0028FC58 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80292CFC 0028FC5C 7C 1B 00 40 */ cmplw r27, r0 +/* 80292D00 0028FC60 40 82 00 08 */ bne lbl_80292D08 +/* 80292D04 0028FC64 90 7D 01 54 */ stw r3, 0x154(r29) +lbl_80292D08: +/* 80292D08 0028FC68 80 E3 00 00 */ lwz r7, 0(r3) +/* 80292D0C 0028FC6C 7F C4 F3 78 */ mr r4, r30 +/* 80292D10 0028FC70 38 A1 00 0C */ addi r5, r1, 0xc +/* 80292D14 0028FC74 38 C0 00 2D */ li r6, 0x2d +/* 80292D18 0028FC78 90 67 00 04 */ stw r3, 4(r7) +/* 80292D1C 0028FC7C 80 E3 00 04 */ lwz r7, 4(r3) +/* 80292D20 0028FC80 90 67 00 00 */ stw r3, 0(r7) +/* 80292D24 0028FC84 7F E3 FB 78 */ mr r3, r31 +/* 80292D28 0028FC88 80 FD 01 64 */ lwz r7, 0x164(r29) +/* 80292D2C 0028FC8C 38 07 00 01 */ addi r0, r7, 1 +/* 80292D30 0028FC90 90 1D 01 64 */ stw r0, 0x164(r29) +/* 80292D34 0028FC94 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80292D38 0028FC98 B0 01 00 08 */ sth r0, 8(r1) +/* 80292D3C 0028FC9C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80292D40 0028FCA0 4B DB 11 91 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80292D44 0028FCA4 38 00 00 00 */ li r0, 0 +/* 80292D48 0028FCA8 98 01 00 44 */ stb r0, 0x44(r1) +lbl_80292D4C: +/* 80292D4C 0028FCAC BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80292D50 0028FCB0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80292D54 0028FCB4 7C 08 03 A6 */ mtlr r0 +/* 80292D58 0028FCB8 38 21 00 70 */ addi r1, r1, 0x70 +/* 80292D5C 0028FCBC 4E 80 00 20 */ blr + +.global Think__11CPhazonPoolFfR13CStateManager +Think__11CPhazonPoolFfR13CStateManager: +/* 80292D60 0028FCC0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80292D64 0028FCC4 7C 08 02 A6 */ mflr r0 +/* 80292D68 0028FCC8 90 01 01 04 */ stw r0, 0x104(r1) +/* 80292D6C 0028FCCC DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 80292D70 0028FCD0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 80292D74 0028FCD4 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 80292D78 0028FCD8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 80292D7C 0028FCDC DB A1 00 D0 */ stfd f29, 0xd0(r1) +/* 80292D80 0028FCE0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 +/* 80292D84 0028FCE4 DB 81 00 C0 */ stfd f28, 0xc0(r1) +/* 80292D88 0028FCE8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 +/* 80292D8C 0028FCEC 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80292D90 0028FCF0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 80292D94 0028FCF4 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80292D98 0028FCF8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80292D9C 0028FCFC FF C0 08 90 */ fmr f30, f1 +/* 80292DA0 0028FD00 7C 7E 1B 78 */ mr r30, r3 +/* 80292DA4 0028FD04 7C 9F 23 78 */ mr r31, r4 +/* 80292DA8 0028FD08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80292DAC 0028FD0C 41 82 04 24 */ beq lbl_802931D0 +/* 80292DB0 0028FD10 4B DE 37 1D */ bl Think__14CScriptTriggerFfR13CStateManager +/* 80292DB4 0028FD14 7F C3 F3 78 */ mr r3, r30 +/* 80292DB8 0028FD18 7F E4 FB 78 */ mr r4, r31 +/* 80292DBC 0028FD1C 4B FF F8 FD */ bl UpdateInhabitants__11CPhazonPoolFR13CStateManager +/* 80292DC0 0028FD20 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80292DC4 0028FD24 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80292DC8 0028FD28 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80292DCC 0028FD2C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80292DD0 0028FD30 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80292DD4 0028FD34 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80292DD8 0028FD38 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 80292DDC 0028FD3C 2C 00 00 01 */ cmpwi r0, 1 +/* 80292DE0 0028FD40 40 82 00 0C */ bne lbl_80292DEC +/* 80292DE4 0028FD44 C0 7E 01 A4 */ lfs f3, 0x1a4(r30) +/* 80292DE8 0028FD48 48 00 00 08 */ b lbl_80292DF0 +lbl_80292DEC: +/* 80292DEC 0028FD4C C0 62 BF 1C */ lfs f3, lbl_805ADC3C@sda21(r2) +lbl_80292DF0: +/* 80292DF0 0028FD50 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 80292DF4 0028FD54 38 61 00 80 */ addi r3, r1, 0x80 +/* 80292DF8 0028FD58 C0 5E 01 94 */ lfs f2, 0x194(r30) +/* 80292DFC 0028FD5C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80292E00 0028FD60 C0 3E 01 98 */ lfs f1, 0x198(r30) +/* 80292E04 0028FD64 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80292E08 0028FD68 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292E0C 0028FD6C EF 83 00 B2 */ fmuls f28, f3, f2 +/* 80292E10 0028FD70 EF A3 00 72 */ fmuls f29, f3, f1 +/* 80292E14 0028FD74 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80292E18 0028FD78 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80292E1C 0028FD7C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80292E20 0028FD80 38 E1 00 5C */ addi r7, r1, 0x5c +/* 80292E24 0028FD84 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80292E28 0028FD88 D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80292E2C 0028FD8C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80292E30 0028FD90 D3 81 00 48 */ stfs f28, 0x48(r1) +/* 80292E34 0028FD94 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80292E38 0028FD98 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 80292E3C 0028FD9C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80292E40 0028FDA0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80292E44 0028FDA4 48 07 FF B5 */ bl FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 80292E48 0028FDA8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80292E4C 0028FDAC 38 81 00 80 */ addi r4, r1, 0x80 +/* 80292E50 0028FDB0 48 07 FC F1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80292E54 0028FDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E58 0028FDB8 38 C0 00 01 */ li r6, 1 +/* 80292E5C 0028FDBC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80292E60 0028FDC0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80292E64 0028FDC4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E68 0028FDC8 38 81 00 2C */ addi r4, r1, 0x2c +/* 80292E6C 0028FDCC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80292E70 0028FDD0 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E74 0028FDD4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80292E78 0028FDD8 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E7C 0028FDDC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80292E80 0028FDE0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80292E84 0028FDE4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80292E88 0028FDE8 C0 5E 01 8C */ lfs f2, 0x18c(r30) +/* 80292E8C 0028FDEC C0 3E 01 88 */ lfs f1, 0x188(r30) +/* 80292E90 0028FDF0 C0 1E 01 84 */ lfs f0, 0x184(r30) +/* 80292E94 0028FDF4 EC 42 07 72 */ fmuls f2, f2, f29 +/* 80292E98 0028FDF8 EC 21 07 32 */ fmuls f1, f1, f28 +/* 80292E9C 0028FDFC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80292EA0 0028FE00 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80292EA4 0028FE04 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80292EA8 0028FE08 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80292EAC 0028FE0C C0 5E 01 80 */ lfs f2, 0x180(r30) +/* 80292EB0 0028FE10 C0 3E 01 7C */ lfs f1, 0x17c(r30) +/* 80292EB4 0028FE14 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 80292EB8 0028FE18 EC 42 07 72 */ fmuls f2, f2, f29 +/* 80292EBC 0028FE1C EC 21 07 32 */ fmuls f1, f1, f28 +/* 80292EC0 0028FE20 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80292EC4 0028FE24 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80292EC8 0028FE28 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80292ECC 0028FE2C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80292ED0 0028FE30 48 0A 56 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80292ED4 0028FE34 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80292ED8 0028FE38 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80292EDC 0028FE3C C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) +/* 80292EE0 0028FE40 90 7E 01 30 */ stw r3, 0x130(r30) +/* 80292EE4 0028FE44 90 1E 01 34 */ stw r0, 0x134(r30) +/* 80292EE8 0028FE48 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80292EEC 0028FE4C 90 1E 01 38 */ stw r0, 0x138(r30) +/* 80292EF0 0028FE50 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80292EF4 0028FE54 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80292EF8 0028FE58 90 7E 01 3C */ stw r3, 0x13c(r30) +/* 80292EFC 0028FE5C 90 1E 01 40 */ stw r0, 0x140(r30) +/* 80292F00 0028FE60 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 80292F04 0028FE64 90 1E 01 44 */ stw r0, 0x144(r30) +/* 80292F08 0028FE68 C0 5E 01 B0 */ lfs f2, 0x1b0(r30) +/* 80292F0C 0028FE6C C0 3E 01 A8 */ lfs f1, 0x1a8(r30) +/* 80292F10 0028FE70 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80292F14 0028FE74 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) +/* 80292F18 0028FE78 C0 5E 01 B4 */ lfs f2, 0x1b4(r30) +/* 80292F1C 0028FE7C C0 3E 01 AC */ lfs f1, 0x1ac(r30) +/* 80292F20 0028FE80 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80292F24 0028FE84 D0 3E 01 AC */ stfs f1, 0x1ac(r30) +/* 80292F28 0028FE88 C0 3E 01 A8 */ lfs f1, 0x1a8(r30) +/* 80292F2C 0028FE8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80292F30 0028FE90 40 81 00 0C */ ble lbl_80292F3C +/* 80292F34 0028FE94 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292F38 0028FE98 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) +lbl_80292F3C: +/* 80292F3C 0028FE9C C0 3E 01 AC */ lfs f1, 0x1ac(r30) +/* 80292F40 0028FEA0 C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) +/* 80292F44 0028FEA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80292F48 0028FEA8 40 81 00 0C */ ble lbl_80292F54 +/* 80292F4C 0028FEAC C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80292F50 0028FEB0 D0 1E 01 AC */ stfs f0, 0x1ac(r30) +lbl_80292F54: +/* 80292F54 0028FEB4 83 BE 01 70 */ lwz r29, 0x170(r30) +/* 80292F58 0028FEB8 28 1D 00 00 */ cmplwi r29, 0 +/* 80292F5C 0028FEBC 41 82 00 70 */ beq lbl_80292FCC +/* 80292F60 0028FEC0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80292F64 0028FEC4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80292F68 0028FEC8 FC 40 08 90 */ fmr f2, f1 +/* 80292F6C 0028FECC FC 60 08 90 */ fmr f3, f1 +/* 80292F70 0028FED0 FC 80 08 90 */ fmr f4, f1 +/* 80292F74 0028FED4 48 0D 04 79 */ bl __ct__6CColorFffff +/* 80292F78 0028FED8 81 9D 00 00 */ lwz r12, 0(r29) +/* 80292F7C 0028FEDC 7C 64 1B 78 */ mr r4, r3 +/* 80292F80 0028FEE0 7F A3 EB 78 */ mr r3, r29 +/* 80292F84 0028FEE4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80292F88 0028FEE8 7D 89 03 A6 */ mtctr r12 +/* 80292F8C 0028FEEC 4E 80 04 21 */ bctrl +/* 80292F90 0028FEF0 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 80292F94 0028FEF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80292F98 0028FEF8 D3 E1 00 18 */ stfs f31, 0x18(r1) +/* 80292F9C 0028FEFC D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 80292FA0 0028FF00 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80292FA4 0028FF04 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FA8 0028FF08 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80292FAC 0028FF0C 7D 89 03 A6 */ mtctr r12 +/* 80292FB0 0028FF10 4E 80 04 21 */ bctrl +/* 80292FB4 0028FF14 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80292FB8 0028FF18 FC 20 F0 90 */ fmr f1, f30 +/* 80292FBC 0028FF1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FC0 0028FF20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80292FC4 0028FF24 7D 89 03 A6 */ mtctr r12 +/* 80292FC8 0028FF28 4E 80 04 21 */ bctrl +lbl_80292FCC: +/* 80292FCC 0028FF2C 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80292FD0 0028FF30 28 03 00 00 */ cmplwi r3, 0 +/* 80292FD4 0028FF34 41 82 00 18 */ beq lbl_80292FEC +/* 80292FD8 0028FF38 81 83 00 00 */ lwz r12, 0(r3) +/* 80292FDC 0028FF3C FC 20 F0 90 */ fmr f1, f30 +/* 80292FE0 0028FF40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80292FE4 0028FF44 7D 89 03 A6 */ mtctr r12 +/* 80292FE8 0028FF48 4E 80 04 21 */ bctrl +lbl_80292FEC: +/* 80292FEC 0028FF4C 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 80292FF0 0028FF50 3B A0 00 00 */ li r29, 0 +/* 80292FF4 0028FF54 2C 00 00 02 */ cmpwi r0, 2 +/* 80292FF8 0028FF58 41 82 00 9C */ beq lbl_80293094 +/* 80292FFC 0028FF5C 40 80 00 10 */ bge lbl_8029300C +/* 80293000 0028FF60 2C 00 00 01 */ cmpwi r0, 1 +/* 80293004 0028FF64 40 80 00 14 */ bge lbl_80293018 +/* 80293008 0028FF68 48 00 01 A8 */ b lbl_802931B0 +lbl_8029300C: +/* 8029300C 0028FF6C 2C 00 00 04 */ cmpwi r0, 4 +/* 80293010 0028FF70 40 80 01 A0 */ bge lbl_802931B0 +/* 80293014 0028FF74 48 00 01 6C */ b lbl_80293180 +lbl_80293018: +/* 80293018 0028FF78 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8029301C 0028FF7C C0 02 BF 28 */ lfs f0, lbl_805ADC48@sda21(r2) +/* 80293020 0028FF80 EC 21 F0 2A */ fadds f1, f1, f30 +/* 80293024 0028FF84 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 80293028 0028FF88 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8029302C 0028FF8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293030 0028FF90 40 81 01 80 */ ble lbl_802931B0 +/* 80293034 0028FF94 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80293038 0028FF98 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 8029303C 0028FF9C C0 5E 01 B8 */ lfs f2, 0x1b8(r30) +/* 80293040 0028FFA0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80293044 0028FFA4 EC 3E 08 BA */ fmadds f1, f30, f2, f1 +/* 80293048 0028FFA8 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 8029304C 0028FFAC C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 80293050 0028FFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293054 0028FFB4 40 81 01 5C */ ble lbl_802931B0 +/* 80293058 0028FFB8 D0 1E 01 A4 */ stfs f0, 0x1a4(r30) +/* 8029305C 0028FFBC 38 00 00 02 */ li r0, 2 +/* 80293060 0028FFC0 7F C3 F3 78 */ mr r3, r30 +/* 80293064 0028FFC4 38 80 00 01 */ li r4, 1 +/* 80293068 0028FFC8 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 8029306C 0028FFCC 4B FF F5 75 */ bl sub_802925e0 +/* 80293070 0028FFD0 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293074 0028FFD4 28 03 00 00 */ cmplwi r3, 0 +/* 80293078 0028FFD8 41 82 01 38 */ beq lbl_802931B0 +/* 8029307C 0028FFDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80293080 0028FFE0 38 80 00 00 */ li r4, 0 +/* 80293084 0028FFE4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293088 0028FFE8 7D 89 03 A6 */ mtctr r12 +/* 8029308C 0028FFEC 4E 80 04 21 */ bctrl +/* 80293090 0028FFF0 48 00 01 20 */ b lbl_802931B0 +lbl_80293094: +/* 80293094 0028FFF4 88 7E 01 E0 */ lbz r3, 0x1e0(r30) +/* 80293098 0028FFF8 C0 82 BF 20 */ lfs f4, lbl_805ADC40@sda21(r2) +/* 8029309C 0028FFFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802930A0 00290000 40 82 00 0C */ bne lbl_802930AC +/* 802930A4 00290004 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 802930A8 00290008 41 82 00 2C */ beq lbl_802930D4 +lbl_802930AC: +/* 802930AC 0029000C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) +/* 802930B0 00290010 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 802930B4 00290014 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 802930B8 00290018 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) +/* 802930BC 0029001C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) +/* 802930C0 00290020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802930C4 00290024 4C 40 13 82 */ cror 2, 0, 2 +/* 802930C8 00290028 40 82 00 0C */ bne lbl_802930D4 +/* 802930CC 0029002C D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 802930D0 00290030 FC 80 F0 90 */ fmr f4, f30 +lbl_802930D4: +/* 802930D4 00290034 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 802930D8 00290038 C0 5E 01 BC */ lfs f2, 0x1bc(r30) +/* 802930DC 0029003C EC 3E 00 32 */ fmuls f1, f30, f0 +/* 802930E0 00290040 C0 7E 01 A0 */ lfs f3, 0x1a0(r30) +/* 802930E4 00290044 C0 02 BF 2C */ lfs f0, lbl_805ADC4C@sda21(r2) +/* 802930E8 00290048 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802930EC 0029004C EC 21 20 2A */ fadds f1, f1, f4 +/* 802930F0 00290050 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802930F4 00290054 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) +/* 802930F8 00290058 C0 5E 01 A0 */ lfs f2, 0x1a0(r30) +/* 802930FC 0029005C C0 3E 01 9C */ lfs f1, 0x19c(r30) +/* 80293100 00290060 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80293104 00290064 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) +/* 80293108 00290068 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) +/* 8029310C 0029006C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293110 00290070 40 80 00 64 */ bge lbl_80293174 +/* 80293114 00290074 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293118 00290078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029311C 0029007C 41 82 00 0C */ beq lbl_80293128 +/* 80293120 00290080 3B A0 00 01 */ li r29, 1 +/* 80293124 00290084 48 00 00 44 */ b lbl_80293168 +lbl_80293128: +/* 80293128 00290088 7F C3 F3 78 */ mr r3, r30 +/* 8029312C 0029008C 38 80 00 00 */ li r4, 0 +/* 80293130 00290090 4B DC 12 89 */ bl SetCallTouch__6CActorFb +/* 80293134 00290094 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293138 00290098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029313C 0029009C 40 82 00 18 */ bne lbl_80293154 +/* 80293140 002900A0 38 00 00 03 */ li r0, 3 +/* 80293144 002900A4 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 80293148 002900A8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) +/* 8029314C 002900AC D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 80293150 002900B0 48 00 00 18 */ b lbl_80293168 +lbl_80293154: +/* 80293154 002900B4 38 00 00 00 */ li r0, 0 +/* 80293158 002900B8 7F C3 F3 78 */ mr r3, r30 +/* 8029315C 002900BC 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 80293160 002900C0 38 80 00 00 */ li r4, 0 +/* 80293164 002900C4 4B DC 06 E9 */ bl SetActive__6CActorFb +lbl_80293168: +/* 80293168 002900C8 7F C3 F3 78 */ mr r3, r30 +/* 8029316C 002900CC 38 80 00 00 */ li r4, 0 +/* 80293170 002900D0 4B FF F4 71 */ bl sub_802925e0 +lbl_80293174: +/* 80293174 002900D4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293178 002900D8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 8029317C 002900DC 48 00 00 34 */ b lbl_802931B0 +lbl_80293180: +/* 80293180 002900E0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 80293184 002900E4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293188 002900E8 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 8029318C 002900EC D0 3E 01 D0 */ stfs f1, 0x1d0(r30) +/* 80293190 002900F0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) +/* 80293194 002900F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80293198 002900F8 4C 40 13 82 */ cror 2, 0, 2 +/* 8029319C 002900FC 40 82 00 14 */ bne lbl_802931B0 +/* 802931A0 00290100 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) +/* 802931A4 00290104 7F C3 F3 78 */ mr r3, r30 +/* 802931A8 00290108 7F E4 FB 78 */ mr r4, r31 +/* 802931AC 0029010C 48 00 00 61 */ bl sub_8029320c +lbl_802931B0: +/* 802931B0 00290110 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802931B4 00290114 41 82 00 1C */ beq lbl_802931D0 +/* 802931B8 00290118 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802931BC 0029011C 7F E3 FB 78 */ mr r3, r31 +/* 802931C0 00290120 38 81 00 0C */ addi r4, r1, 0xc +/* 802931C4 00290124 B0 01 00 08 */ sth r0, 8(r1) +/* 802931C8 00290128 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802931CC 0029012C 4B DB 90 A1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_802931D0: +/* 802931D0 00290130 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802931D4 00290134 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802931D8 00290138 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 802931DC 0029013C CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 802931E0 00290140 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 +/* 802931E4 00290144 CB A1 00 D0 */ lfd f29, 0xd0(r1) +/* 802931E8 00290148 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 +/* 802931EC 0029014C CB 81 00 C0 */ lfd f28, 0xc0(r1) +/* 802931F0 00290150 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802931F4 00290154 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 802931F8 00290158 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802931FC 0029015C 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80293200 00290160 7C 08 03 A6 */ mtlr r0 +/* 80293204 00290164 38 21 01 00 */ addi r1, r1, 0x100 +/* 80293208 00290168 4E 80 00 20 */ blr + +.global sub_8029320c +sub_8029320c: +/* 8029320C 0029016C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80293210 00290170 7C 08 02 A6 */ mflr r0 +/* 80293214 00290174 C0 22 BF 30 */ lfs f1, lbl_805ADC50@sda21(r2) +/* 80293218 00290178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029321C 0029017C C0 42 BF 18 */ lfs f2, lbl_805ADC38@sda21(r2) +/* 80293220 00290180 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80293224 00290184 7C 9F 23 78 */ mr r31, r4 +/* 80293228 00290188 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029322C 0029018C 7C 7E 1B 78 */ mr r30, r3 +/* 80293230 00290190 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80293234 00290194 48 07 F3 11 */ bl Range__9CRandom16Fff +/* 80293238 00290198 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) +/* 8029323C 0029019C C0 22 BF 34 */ lfs f1, lbl_805ADC54@sda21(r2) +/* 80293240 002901A0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80293244 002901A4 C0 42 BF 1C */ lfs f2, lbl_805ADC3C@sda21(r2) +/* 80293248 002901A8 48 07 F2 FD */ bl Range__9CRandom16Fff +/* 8029324C 002901AC D0 3E 01 B4 */ stfs f1, 0x1b4(r30) +/* 80293250 002901B0 C0 22 BF 38 */ lfs f1, lbl_805ADC58@sda21(r2) +/* 80293254 002901B4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80293258 002901B8 C0 42 BF 28 */ lfs f2, lbl_805ADC48@sda21(r2) +/* 8029325C 002901BC 48 07 F2 E9 */ bl Range__9CRandom16Fff +/* 80293260 002901C0 D0 3E 01 B8 */ stfs f1, 0x1b8(r30) +/* 80293264 002901C4 38 00 00 01 */ li r0, 1 +/* 80293268 002901C8 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 8029326C 002901CC 38 60 00 00 */ li r3, 0 +/* 80293270 002901D0 D0 1E 01 CC */ stfs f0, 0x1cc(r30) +/* 80293274 002901D4 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) +/* 80293278 002901D8 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 8029327C 002901DC D0 1E 01 C4 */ stfs f0, 0x1c4(r30) +/* 80293280 002901E0 C0 1E 01 9C */ lfs f0, 0x19c(r30) +/* 80293284 002901E4 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) +/* 80293288 002901E8 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 8029328C 002901EC 88 1E 01 E0 */ lbz r0, 0x1e0(r30) +/* 80293290 002901F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80293294 002901F4 98 1E 01 E0 */ stb r0, 0x1e0(r30) +/* 80293298 002901F8 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 8029329C 002901FC 28 03 00 00 */ cmplwi r3, 0 +/* 802932A0 00290200 41 82 00 48 */ beq lbl_802932E8 +/* 802932A4 00290204 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802932A8 00290208 38 81 00 14 */ addi r4, r1, 0x14 +/* 802932AC 0029020C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802932B0 00290210 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802932B4 00290214 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802932B8 00290218 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802932BC 0029021C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802932C0 00290220 81 83 00 00 */ lwz r12, 0(r3) +/* 802932C4 00290224 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802932C8 00290228 7D 89 03 A6 */ mtctr r12 +/* 802932CC 0029022C 4E 80 04 21 */ bctrl +/* 802932D0 00290230 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 802932D4 00290234 38 80 00 00 */ li r4, 0 +/* 802932D8 00290238 81 83 00 00 */ lwz r12, 0(r3) +/* 802932DC 0029023C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802932E0 00290240 7D 89 03 A6 */ mtctr r12 +/* 802932E4 00290244 4E 80 04 21 */ bctrl +lbl_802932E8: +/* 802932E8 00290248 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 802932EC 0029024C 28 03 00 00 */ cmplwi r3, 0 +/* 802932F0 00290250 41 82 00 48 */ beq lbl_80293338 +/* 802932F4 00290254 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802932F8 00290258 38 81 00 08 */ addi r4, r1, 8 +/* 802932FC 0029025C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80293300 00290260 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80293304 00290264 D0 01 00 08 */ stfs f0, 8(r1) +/* 80293308 00290268 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029330C 0029026C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80293310 00290270 81 83 00 00 */ lwz r12, 0(r3) +/* 80293314 00290274 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80293318 00290278 7D 89 03 A6 */ mtctr r12 +/* 8029331C 0029027C 4E 80 04 21 */ bctrl +/* 80293320 00290280 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293324 00290284 38 80 00 01 */ li r4, 1 +/* 80293328 00290288 81 83 00 00 */ lwz r12, 0(r3) +/* 8029332C 0029028C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293330 00290290 7D 89 03 A6 */ mtctr r12 +/* 80293334 00290294 4E 80 04 21 */ bctrl +lbl_80293338: +/* 80293338 00290298 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029333C 0029029C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80293340 002902A0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80293344 002902A4 7C 08 03 A6 */ mtlr r0 +/* 80293348 002902A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029334C 002902AC 4E 80 00 20 */ blr + +.global Render__11CPhazonPoolCFRC13CStateManager +Render__11CPhazonPoolCFRC13CStateManager: +/* 80293350 002902B0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80293354 002902B4 7C 08 02 A6 */ mflr r0 +/* 80293358 002902B8 90 01 01 64 */ stw r0, 0x164(r1) +/* 8029335C 002902BC BF 61 01 4C */ stmw r27, 0x14c(r1) +/* 80293360 002902C0 7C 7D 1B 78 */ mr r29, r3 +/* 80293364 002902C4 7C 9E 23 78 */ mr r30, r4 +/* 80293368 002902C8 4B DC 14 3D */ bl Render__6CActorCFRC13CStateManager +/* 8029336C 002902CC C0 9D 01 A4 */ lfs f4, 0x1a4(r29) +/* 80293370 002902D0 3B FD 00 34 */ addi r31, r29, 0x34 +/* 80293374 002902D4 C0 02 BF 38 */ lfs f0, lbl_805ADC58@sda21(r2) +/* 80293378 002902D8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8029337C 002902DC 7C C0 00 26 */ mfcr r6 +/* 80293380 002902E0 C0 22 BF 1C */ lfs f1, lbl_805ADC3C@sda21(r2) +/* 80293384 002902E4 38 A0 00 05 */ li r5, 5 +/* 80293388 002902E8 38 80 00 00 */ li r4, 0 +/* 8029338C 002902EC 38 00 00 03 */ li r0, 3 +/* 80293390 002902F0 FC 40 08 90 */ fmr f2, f1 +/* 80293394 002902F4 FC 60 08 90 */ fmr f3, f1 +/* 80293398 002902F8 98 A1 00 18 */ stb r5, 0x18(r1) +/* 8029339C 002902FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802933A0 00290300 54 DB 17 FE */ rlwinm r27, r6, 2, 0x1f, 0x1f +/* 802933A4 00290304 98 81 00 19 */ stb r4, 0x19(r1) +/* 802933A8 00290308 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 802933AC 0029030C 48 0D 00 41 */ bl __ct__6CColorFffff +/* 802933B0 00290310 A0 61 00 1A */ lhz r3, 0x1a(r1) +/* 802933B4 00290314 57 60 08 3C */ slwi r0, r27, 1 +/* 802933B8 00290318 83 9D 01 68 */ lwz r28, 0x168(r29) +/* 802933BC 0029031C 7F 60 03 78 */ or r0, r27, r0 +/* 802933C0 00290320 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 802933C4 00290324 88 A1 00 18 */ lbz r5, 0x18(r1) +/* 802933C8 00290328 7C 63 03 78 */ or r3, r3, r0 +/* 802933CC 0029032C 88 81 00 19 */ lbz r4, 0x19(r1) +/* 802933D0 00290330 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802933D4 00290334 28 1C 00 00 */ cmplwi r28, 0 +/* 802933D8 00290338 98 A1 00 20 */ stb r5, 0x20(r1) +/* 802933DC 0029033C 98 81 00 21 */ stb r4, 0x21(r1) +/* 802933E0 00290340 B0 61 00 22 */ sth r3, 0x22(r1) +/* 802933E4 00290344 90 01 00 24 */ stw r0, 0x24(r1) +/* 802933E8 00290348 41 82 00 40 */ beq lbl_80293428 +/* 802933EC 0029034C C0 1D 01 AC */ lfs f0, 0x1ac(r29) +/* 802933F0 00290350 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802933F4 00290354 38 81 00 14 */ addi r4, r1, 0x14 +/* 802933F8 00290358 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802933FC 0029035C 48 08 04 15 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 80293400 00290360 7F E4 FB 78 */ mr r4, r31 +/* 80293404 00290364 38 61 01 18 */ addi r3, r1, 0x118 +/* 80293408 00290368 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 8029340C 0029036C 48 07 F5 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80293410 00290370 7F 83 E3 78 */ mr r3, r28 +/* 80293414 00290374 7F C4 F3 78 */ mr r4, r30 +/* 80293418 00290378 38 A1 01 18 */ addi r5, r1, 0x118 +/* 8029341C 0029037C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80293420 00290380 38 C0 00 00 */ li r6, 0 +/* 80293424 00290384 4B E8 19 99 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80293428: +/* 80293428 00290388 80 1D 01 6C */ lwz r0, 0x16c(r29) +/* 8029342C 0029038C 28 00 00 00 */ cmplwi r0, 0 +/* 80293430 00290390 41 82 00 B4 */ beq lbl_802934E4 +/* 80293434 00290394 C0 3D 01 AC */ lfs f1, 0x1ac(r29) +/* 80293438 00290398 38 61 00 58 */ addi r3, r1, 0x58 +/* 8029343C 0029039C C0 1D 01 A8 */ lfs f0, 0x1a8(r29) +/* 80293440 002903A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80293444 002903A4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80293448 002903A8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029344C 002903AC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80293450 002903B0 48 07 DC E1 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 80293454 002903B4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80293458 002903B8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029345C 002903BC 48 07 DD 0D */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 80293460 002903C0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80293464 002903C4 38 81 00 08 */ addi r4, r1, 8 +/* 80293468 002903C8 48 07 DC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8029346C 002903CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80293470 002903D0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80293474 002903D4 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80293478 002903D8 48 07 DD 29 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8029347C 002903DC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80293480 002903E0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80293484 002903E4 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80293488 002903E8 48 07 DD 19 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8029348C 002903EC C0 61 00 68 */ lfs f3, 0x68(r1) +/* 80293490 002903F0 38 61 00 88 */ addi r3, r1, 0x88 +/* 80293494 002903F4 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80293498 002903F8 38 81 00 78 */ addi r4, r1, 0x78 +/* 8029349C 002903FC C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802934A0 00290400 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802934A4 00290404 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802934A8 00290408 83 9D 01 6C */ lwz r28, 0x16c(r29) +/* 802934AC 0029040C D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802934B0 00290410 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802934B4 00290414 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802934B8 00290418 48 07 EB 01 */ bl BuildTransform4f__11CQuaternionCFv +/* 802934BC 0029041C 7F E4 FB 78 */ mr r4, r31 +/* 802934C0 00290420 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802934C4 00290424 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802934C8 00290428 48 07 F4 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802934CC 0029042C 7F 83 E3 78 */ mr r3, r28 +/* 802934D0 00290430 7F C4 F3 78 */ mr r4, r30 +/* 802934D4 00290434 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 802934D8 00290438 38 E1 00 20 */ addi r7, r1, 0x20 +/* 802934DC 0029043C 38 C0 00 00 */ li r6, 0 +/* 802934E0 00290440 4B E8 18 DD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_802934E4: +/* 802934E4 00290444 BB 61 01 4C */ lmw r27, 0x14c(r1) +/* 802934E8 00290448 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802934EC 0029044C 7C 08 03 A6 */ mtlr r0 +/* 802934F0 00290450 38 21 01 60 */ addi r1, r1, 0x160 +/* 802934F4 00290454 4E 80 00 20 */ blr + +.global __dt__11CPhazonPoolFv +__dt__11CPhazonPoolFv: +/* 802934F8 00290458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802934FC 0029045C 7C 08 02 A6 */ mflr r0 +/* 80293500 00290460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80293504 00290464 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80293508 00290468 7C 9F 23 78 */ mr r31, r4 +/* 8029350C 0029046C 93 C1 00 08 */ stw r30, 8(r1) +/* 80293510 00290470 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80293514 00290474 41 82 00 B0 */ beq lbl_802935C4 +/* 80293518 00290478 3C 60 80 3F */ lis r3, lbl_803EBB48@ha +/* 8029351C 0029047C 34 1E 01 74 */ addic. r0, r30, 0x174 +/* 80293520 00290480 38 03 BB 48 */ addi r0, r3, lbl_803EBB48@l +/* 80293524 00290484 90 1E 00 00 */ stw r0, 0(r30) +/* 80293528 00290488 41 82 00 24 */ beq lbl_8029354C +/* 8029352C 0029048C 80 7E 01 74 */ lwz r3, 0x174(r30) +/* 80293530 00290490 28 03 00 00 */ cmplwi r3, 0 +/* 80293534 00290494 41 82 00 18 */ beq lbl_8029354C +/* 80293538 00290498 81 83 00 00 */ lwz r12, 0(r3) +/* 8029353C 0029049C 38 80 00 01 */ li r4, 1 +/* 80293540 002904A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293544 002904A4 7D 89 03 A6 */ mtctr r12 +/* 80293548 002904A8 4E 80 04 21 */ bctrl +lbl_8029354C: +/* 8029354C 002904AC 34 1E 01 70 */ addic. r0, r30, 0x170 +/* 80293550 002904B0 41 82 00 24 */ beq lbl_80293574 +/* 80293554 002904B4 80 7E 01 70 */ lwz r3, 0x170(r30) +/* 80293558 002904B8 28 03 00 00 */ cmplwi r3, 0 +/* 8029355C 002904BC 41 82 00 18 */ beq lbl_80293574 +/* 80293560 002904C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80293564 002904C4 38 80 00 01 */ li r4, 1 +/* 80293568 002904C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8029356C 002904CC 7D 89 03 A6 */ mtctr r12 +/* 80293570 002904D0 4E 80 04 21 */ bctrl +lbl_80293574: +/* 80293574 002904D4 34 1E 01 6C */ addic. r0, r30, 0x16c +/* 80293578 002904D8 41 82 00 10 */ beq lbl_80293588 +/* 8029357C 002904DC 80 7E 01 6C */ lwz r3, 0x16c(r30) +/* 80293580 002904E0 38 80 00 01 */ li r4, 1 +/* 80293584 002904E4 4B E8 34 C9 */ bl __dt__10CModelDataFv +lbl_80293588: +/* 80293588 002904E8 34 1E 01 68 */ addic. r0, r30, 0x168 +/* 8029358C 002904EC 41 82 00 10 */ beq lbl_8029359C +/* 80293590 002904F0 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 80293594 002904F4 38 80 00 01 */ li r4, 1 +/* 80293598 002904F8 4B E8 34 B5 */ bl __dt__10CModelDataFv +lbl_8029359C: +/* 8029359C 002904FC 38 7E 01 50 */ addi r3, r30, 0x150 +/* 802935A0 00290500 38 80 FF FF */ li r4, -1 +/* 802935A4 00290504 4B E6 E8 E5 */ bl sub_80101e88 +/* 802935A8 00290508 7F C3 F3 78 */ mr r3, r30 +/* 802935AC 0029050C 38 80 00 00 */ li r4, 0 +/* 802935B0 00290510 4B DE 36 D1 */ bl __dt__14CScriptTriggerFv +/* 802935B4 00290514 7F E0 07 35 */ extsh. r0, r31 +/* 802935B8 00290518 40 81 00 0C */ ble lbl_802935C4 +/* 802935BC 0029051C 7F C3 F3 78 */ mr r3, r30 +/* 802935C0 00290520 48 08 23 71 */ bl Free__7CMemoryFPCv +lbl_802935C4: +/* 802935C4 00290524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802935C8 00290528 7F C3 F3 78 */ mr r3, r30 +/* 802935CC 0029052C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802935D0 00290530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802935D4 00290534 7C 08 03 A6 */ mtlr r0 +/* 802935D8 00290538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802935DC 0029053C 4E 80 00 20 */ blr + +.global __ct__11CPhazonPoolFv +__ct__11CPhazonPoolFv: +/* 802935E0 00290540 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 802935E4 00290544 7C 08 02 A6 */ mflr r0 +/* 802935E8 00290548 90 01 01 24 */ stw r0, 0x124(r1) +/* 802935EC 0029054C DB E1 01 10 */ stfd f31, 0x110(r1) +/* 802935F0 00290550 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 802935F4 00290554 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 802935F8 00290558 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 802935FC 0029055C DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80293600 00290560 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80293604 00290564 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 80293608 00290568 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 8029360C 0029056C BF 01 00 C0 */ stmw r24, 0xc0(r1) +/* 80293610 00290570 A1 84 00 00 */ lhz r12, 0(r4) +/* 80293614 00290574 3C 80 80 5A */ lis r4, lbl_805A6784@ha +/* 80293618 00290578 C0 C7 00 2C */ lfs f6, 0x2c(r7) +/* 8029361C 0029057C 39 60 00 00 */ li r11, 0 +/* 80293620 00290580 C0 A7 00 1C */ lfs f5, 0x1c(r7) +/* 80293624 00290584 FF A0 08 90 */ fmr f29, f1 +/* 80293628 00290588 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8029362C 0029058C FF C0 10 90 */ fmr f30, f2 +/* 80293630 00290590 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 80293634 00290594 FF E0 18 90 */ fmr f31, f3 +/* 80293638 00290598 80 E1 01 40 */ lwz r7, 0x140(r1) +/* 8029363C 0029059C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80293640 002905A0 FF 80 20 90 */ fmr f28, f4 +/* 80293644 002905A4 83 81 01 38 */ lwz r28, 0x138(r1) +/* 80293648 002905A8 38 04 67 84 */ addi r0, r4, lbl_805A6784@l +/* 8029364C 002905AC D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 80293650 002905B0 7D 18 43 78 */ mr r24, r8 +/* 80293654 002905B4 80 81 01 3C */ lwz r4, 0x13c(r1) +/* 80293658 002905B8 B1 81 00 18 */ sth r12, 0x18(r1) +/* 8029365C 002905BC 7D 59 53 78 */ mr r25, r10 +/* 80293660 002905C0 83 41 01 28 */ lwz r26, 0x128(r1) +/* 80293664 002905C4 7C 7F 1B 78 */ mr r31, r3 +/* 80293668 002905C8 90 E1 00 08 */ stw r7, 8(r1) +/* 8029366C 002905CC 7C 08 03 78 */ mr r8, r0 +/* 80293670 002905D0 83 61 01 2C */ lwz r27, 0x12c(r1) +/* 80293674 002905D4 7C 8A 23 78 */ mr r10, r4 +/* 80293678 002905D8 91 21 00 0C */ stw r9, 0xc(r1) +/* 8029367C 002905DC 7F 89 E3 78 */ mr r9, r28 +/* 80293680 002905E0 83 81 01 30 */ lwz r28, 0x130(r1) +/* 80293684 002905E4 38 81 00 18 */ addi r4, r1, 0x18 +/* 80293688 002905E8 91 61 00 10 */ stw r11, 0x10(r1) +/* 8029368C 002905EC 38 E1 00 90 */ addi r7, r1, 0x90 +/* 80293690 002905F0 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80293694 002905F4 91 61 00 14 */ stw r11, 0x14(r1) +/* 80293698 002905F8 8B C1 01 47 */ lbz r30, 0x147(r1) +/* 8029369C 002905FC 4B DE 36 BD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +/* 802936A0 00290600 3C 80 80 3F */ lis r4, lbl_803EBB48@ha +/* 802936A4 00290604 38 DF 01 5C */ addi r6, r31, 0x15c +/* 802936A8 00290608 38 04 BB 48 */ addi r0, r4, lbl_803EBB48@l +/* 802936AC 0029060C 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802936B0 00290610 90 1F 00 00 */ stw r0, 0(r31) +/* 802936B4 00290614 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 802936B8 00290618 38 00 00 00 */ li r0, 0 +/* 802936BC 0029061C 38 60 00 4C */ li r3, 0x4c +/* 802936C0 00290620 90 DF 01 54 */ stw r6, 0x154(r31) +/* 802936C4 00290624 38 A0 00 00 */ li r5, 0 +/* 802936C8 00290628 90 DF 01 58 */ stw r6, 0x158(r31) +/* 802936CC 0029062C 90 DF 01 5C */ stw r6, 0x15c(r31) +/* 802936D0 00290630 90 DF 01 60 */ stw r6, 0x160(r31) +/* 802936D4 00290634 90 1F 01 64 */ stw r0, 0x164(r31) +/* 802936D8 00290638 48 08 21 95 */ bl __nw__FUlPCcPCc +/* 802936DC 0029063C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802936E0 00290640 41 82 00 28 */ beq lbl_80293708 +/* 802936E4 00290644 80 1A 00 00 */ lwz r0, 0(r26) +/* 802936E8 00290648 38 81 00 80 */ addi r4, r1, 0x80 +/* 802936EC 0029064C C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 802936F0 00290650 90 01 00 80 */ stw r0, 0x80(r1) +/* 802936F4 00290654 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802936F8 00290658 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802936FC 0029065C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80293700 00290660 4B E8 36 5D */ bl __ct__10CModelDataFRC10CStaticRes +/* 80293704 00290664 7C 60 1B 78 */ mr r0, r3 +lbl_80293708: +/* 80293708 00290668 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 8029370C 0029066C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 80293710 00290670 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80293714 00290674 38 A0 00 00 */ li r5, 0 +/* 80293718 00290678 38 60 00 4C */ li r3, 0x4c +/* 8029371C 0029067C 48 08 21 51 */ bl __nw__FUlPCcPCc +/* 80293720 00290680 7C 60 1B 79 */ or. r0, r3, r3 +/* 80293724 00290684 41 82 00 28 */ beq lbl_8029374C +/* 80293728 00290688 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) +/* 8029372C 0029068C 38 81 00 70 */ addi r4, r1, 0x70 +/* 80293730 00290690 80 19 00 00 */ lwz r0, 0(r25) +/* 80293734 00290694 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80293738 00290698 90 01 00 70 */ stw r0, 0x70(r1) +/* 8029373C 0029069C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80293740 002906A0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80293744 002906A4 4B E8 36 19 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80293748 002906A8 7C 60 1B 78 */ mr r0, r3 +lbl_8029374C: +/* 8029374C 002906AC 90 1F 01 6C */ stw r0, 0x16c(r31) +/* 80293750 002906B0 38 A0 00 00 */ li r5, 0 +/* 80293754 002906B4 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80293758 002906B8 C0 22 BF 2C */ lfs f1, lbl_805ADC4C@sda21(r2) +/* 8029375C 002906BC 90 BF 01 70 */ stw r5, 0x170(r31) +/* 80293760 002906C0 38 83 67 84 */ addi r4, r3, lbl_805A6784@l +/* 80293764 002906C4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) +/* 80293768 002906C8 38 60 00 02 */ li r3, 2 +/* 8029376C 002906CC 90 BF 01 74 */ stw r5, 0x174(r31) +/* 80293770 002906D0 C0 44 00 00 */ lfs f2, 0(r4) +/* 80293774 002906D4 D0 5F 01 78 */ stfs f2, 0x178(r31) +/* 80293778 002906D8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8029377C 002906DC D0 5F 01 7C */ stfs f2, 0x17c(r31) +/* 80293780 002906E0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80293784 002906E4 D0 5F 01 80 */ stfs f2, 0x180(r31) +/* 80293788 002906E8 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 8029378C 002906EC D0 5F 01 84 */ stfs f2, 0x184(r31) +/* 80293790 002906F0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80293794 002906F4 D0 5F 01 88 */ stfs f2, 0x188(r31) +/* 80293798 002906F8 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8029379C 002906FC D0 5F 01 8C */ stfs f2, 0x18c(r31) +/* 802937A0 00290700 C0 58 00 00 */ lfs f2, 0(r24) +/* 802937A4 00290704 D0 5F 01 90 */ stfs f2, 0x190(r31) +/* 802937A8 00290708 C0 58 00 04 */ lfs f2, 4(r24) +/* 802937AC 0029070C D0 5F 01 94 */ stfs f2, 0x194(r31) +/* 802937B0 00290710 C0 58 00 08 */ lfs f2, 8(r24) +/* 802937B4 00290714 D0 5F 01 98 */ stfs f2, 0x198(r31) +/* 802937B8 00290718 D3 BF 01 9C */ stfs f29, 0x19c(r31) +/* 802937BC 0029071C D3 BF 01 A0 */ stfs f29, 0x1a0(r31) +/* 802937C0 00290720 D0 3F 01 A4 */ stfs f1, 0x1a4(r31) +/* 802937C4 00290724 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) +/* 802937C8 00290728 D0 1F 01 AC */ stfs f0, 0x1ac(r31) +/* 802937CC 0029072C D0 1F 01 B0 */ stfs f0, 0x1b0(r31) +/* 802937D0 00290730 D0 1F 01 B4 */ stfs f0, 0x1b4(r31) +/* 802937D4 00290734 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) +/* 802937D8 00290738 D3 DF 01 BC */ stfs f30, 0x1bc(r31) +/* 802937DC 0029073C D3 9F 01 C0 */ stfs f28, 0x1c0(r31) +/* 802937E0 00290740 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) +/* 802937E4 00290744 D3 FF 01 C8 */ stfs f31, 0x1c8(r31) +/* 802937E8 00290748 D0 1F 01 CC */ stfs f0, 0x1cc(r31) +/* 802937EC 0029074C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) +/* 802937F0 00290750 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) +/* 802937F4 00290754 93 BF 01 D8 */ stw r29, 0x1d8(r31) +/* 802937F8 00290758 90 BF 01 DC */ stw r5, 0x1dc(r31) +/* 802937FC 0029075C 88 1F 01 E0 */ lbz r0, 0x1e0(r31) +/* 80293800 00290760 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 80293804 00290764 98 1F 01 E0 */ stb r0, 0x1e0(r31) +/* 80293808 00290768 88 1F 01 E0 */ lbz r0, 0x1e0(r31) +/* 8029380C 0029076C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80293810 00290770 98 1F 01 E0 */ stb r0, 0x1e0(r31) +/* 80293814 00290774 88 1F 00 E6 */ lbz r0, 0xe6(r31) +/* 80293818 00290778 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 8029381C 0029077C 98 1F 00 E6 */ stb r0, 0xe6(r31) +/* 80293820 00290780 80 9B 00 00 */ lwz r4, 0(r27) +/* 80293824 00290784 3C 04 00 01 */ addis r0, r4, 1 +/* 80293828 00290788 28 00 FF FF */ cmplwi r0, 0xffff +/* 8029382C 0029078C 41 82 01 34 */ beq lbl_80293960 +/* 80293830 00290790 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80293834 00290794 90 81 00 48 */ stw r4, 0x48(r1) +/* 80293838 00290798 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029383C 0029079C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80293840 002907A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80293844 002907A4 38 61 00 3C */ addi r3, r1, 0x3c +/* 80293848 002907A8 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8029384C 002907AC 81 84 00 00 */ lwz r12, 0(r4) +/* 80293850 002907B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80293854 002907B4 7D 89 03 A6 */ mtctr r12 +/* 80293858 002907B8 4E 80 04 21 */ bctrl +/* 8029385C 002907BC 3B 01 00 64 */ addi r24, r1, 0x64 +/* 80293860 002907C0 38 81 00 3C */ addi r4, r1, 0x3c +/* 80293864 002907C4 7F 03 C3 78 */ mr r3, r24 +/* 80293868 002907C8 48 0A D6 41 */ bl __ct__6CTokenFRC6CToken +/* 8029386C 002907CC 7F 03 C3 78 */ mr r3, r24 +/* 80293870 002907D0 48 0A D5 9D */ bl GetObj__6CTokenFv +/* 80293874 002907D4 80 03 00 04 */ lwz r0, 4(r3) +/* 80293878 002907D8 3B 01 00 A8 */ addi r24, r1, 0xa8 +/* 8029387C 002907DC 7F 03 C3 78 */ mr r3, r24 +/* 80293880 002907E0 38 81 00 64 */ addi r4, r1, 0x64 +/* 80293884 002907E4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80293888 002907E8 48 0A D6 21 */ bl __ct__6CTokenFRC6CToken +/* 8029388C 002907EC 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80293890 002907F0 7F 03 C3 78 */ mr r3, r24 +/* 80293894 002907F4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80293898 002907F8 48 0A D4 ED */ bl Lock__6CTokenFv +/* 8029389C 002907FC 38 61 00 64 */ addi r3, r1, 0x64 +/* 802938A0 00290800 38 80 00 00 */ li r4, 0 +/* 802938A4 00290804 48 0A D5 9D */ bl __dt__6CTokenFv +/* 802938A8 00290808 38 61 00 3C */ addi r3, r1, 0x3c +/* 802938AC 0029080C 38 80 FF FF */ li r4, -1 +/* 802938B0 00290810 48 0A D5 91 */ bl __dt__6CTokenFv +/* 802938B4 00290814 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802938B8 00290818 3B 20 00 00 */ li r25, 0 +/* 802938BC 0029081C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 802938C0 00290820 38 A0 00 00 */ li r5, 0 +/* 802938C4 00290824 38 60 03 40 */ li r3, 0x340 +/* 802938C8 00290828 48 08 1F A5 */ bl __nw__FUlPCcPCc +/* 802938CC 0029082C 7C 78 1B 79 */ or. r24, r3, r3 +/* 802938D0 00290830 41 82 00 2C */ beq lbl_802938FC +/* 802938D4 00290834 38 61 00 34 */ addi r3, r1, 0x34 +/* 802938D8 00290838 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802938DC 0029083C 48 0A D5 CD */ bl __ct__6CTokenFRC6CToken +/* 802938E0 00290840 7F 03 C3 78 */ mr r3, r24 +/* 802938E4 00290844 38 81 00 34 */ addi r4, r1, 0x34 +/* 802938E8 00290848 3B 20 00 01 */ li r25, 1 +/* 802938EC 0029084C 38 A0 00 00 */ li r5, 0 +/* 802938F0 00290850 38 C0 00 01 */ li r6, 1 +/* 802938F4 00290854 48 08 BA ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802938F8 00290858 7C 78 1B 78 */ mr r24, r3 +lbl_802938FC: +/* 802938FC 0029085C 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 80293900 00290860 28 03 00 00 */ cmplwi r3, 0 +/* 80293904 00290864 41 82 00 18 */ beq lbl_8029391C +/* 80293908 00290868 81 83 00 00 */ lwz r12, 0(r3) +/* 8029390C 0029086C 38 80 00 01 */ li r4, 1 +/* 80293910 00290870 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293914 00290874 7D 89 03 A6 */ mtctr r12 +/* 80293918 00290878 4E 80 04 21 */ bctrl +lbl_8029391C: +/* 8029391C 0029087C 7F 20 07 75 */ extsb. r0, r25 +/* 80293920 00290880 93 1F 01 70 */ stw r24, 0x170(r31) +/* 80293924 00290884 41 82 00 10 */ beq lbl_80293934 +/* 80293928 00290888 38 61 00 34 */ addi r3, r1, 0x34 +/* 8029392C 0029088C 38 80 00 00 */ li r4, 0 +/* 80293930 00290890 48 0A D5 11 */ bl __dt__6CTokenFv +lbl_80293934: +/* 80293934 00290894 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 80293938 00290898 28 03 00 00 */ cmplwi r3, 0 +/* 8029393C 0029089C 41 82 00 18 */ beq lbl_80293954 +/* 80293940 002908A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80293944 002908A4 38 80 00 00 */ li r4, 0 +/* 80293948 002908A8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8029394C 002908AC 7D 89 03 A6 */ mtctr r12 +/* 80293950 002908B0 4E 80 04 21 */ bctrl +lbl_80293954: +/* 80293954 002908B4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80293958 002908B8 38 80 00 00 */ li r4, 0 +/* 8029395C 002908BC 48 0A D4 E5 */ bl __dt__6CTokenFv +lbl_80293960: +/* 80293960 002908C0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80293964 002908C4 3C 04 00 01 */ addis r0, r4, 1 +/* 80293968 002908C8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8029396C 002908CC 41 82 01 5C */ beq lbl_80293AC8 +/* 80293970 002908D0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80293974 002908D4 90 81 00 30 */ stw r4, 0x30(r1) +/* 80293978 002908D8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029397C 002908DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80293980 002908E0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80293984 002908E4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80293988 002908E8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8029398C 002908EC 81 84 00 00 */ lwz r12, 0(r4) +/* 80293990 002908F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80293994 002908F4 7D 89 03 A6 */ mtctr r12 +/* 80293998 002908F8 4E 80 04 21 */ bctrl +/* 8029399C 002908FC 3B 01 00 58 */ addi r24, r1, 0x58 +/* 802939A0 00290900 38 81 00 24 */ addi r4, r1, 0x24 +/* 802939A4 00290904 7F 03 C3 78 */ mr r3, r24 +/* 802939A8 00290908 48 0A D5 01 */ bl __ct__6CTokenFRC6CToken +/* 802939AC 0029090C 7F 03 C3 78 */ mr r3, r24 +/* 802939B0 00290910 48 0A D4 5D */ bl GetObj__6CTokenFv +/* 802939B4 00290914 80 03 00 04 */ lwz r0, 4(r3) +/* 802939B8 00290918 3B 01 00 9C */ addi r24, r1, 0x9c +/* 802939BC 0029091C 7F 03 C3 78 */ mr r3, r24 +/* 802939C0 00290920 38 81 00 58 */ addi r4, r1, 0x58 +/* 802939C4 00290924 90 01 00 60 */ stw r0, 0x60(r1) +/* 802939C8 00290928 48 0A D4 E1 */ bl __ct__6CTokenFRC6CToken +/* 802939CC 0029092C 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802939D0 00290930 7F 03 C3 78 */ mr r3, r24 +/* 802939D4 00290934 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802939D8 00290938 48 0A D3 AD */ bl Lock__6CTokenFv +/* 802939DC 0029093C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802939E0 00290940 38 80 00 00 */ li r4, 0 +/* 802939E4 00290944 48 0A D4 5D */ bl __dt__6CTokenFv +/* 802939E8 00290948 38 61 00 24 */ addi r3, r1, 0x24 +/* 802939EC 0029094C 38 80 FF FF */ li r4, -1 +/* 802939F0 00290950 48 0A D4 51 */ bl __dt__6CTokenFv +/* 802939F4 00290954 3C 60 80 3D */ lis r3, lbl_803D5B78@ha +/* 802939F8 00290958 3B 20 00 00 */ li r25, 0 +/* 802939FC 0029095C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l +/* 80293A00 00290960 38 A0 00 00 */ li r5, 0 +/* 80293A04 00290964 38 60 03 40 */ li r3, 0x340 +/* 80293A08 00290968 48 08 1E 65 */ bl __nw__FUlPCcPCc +/* 80293A0C 0029096C 7C 78 1B 79 */ or. r24, r3, r3 +/* 80293A10 00290970 41 82 00 2C */ beq lbl_80293A3C +/* 80293A14 00290974 38 61 00 1C */ addi r3, r1, 0x1c +/* 80293A18 00290978 38 81 00 9C */ addi r4, r1, 0x9c +/* 80293A1C 0029097C 48 0A D4 8D */ bl __ct__6CTokenFRC6CToken +/* 80293A20 00290980 7F 03 C3 78 */ mr r3, r24 +/* 80293A24 00290984 38 81 00 1C */ addi r4, r1, 0x1c +/* 80293A28 00290988 3B 20 00 01 */ li r25, 1 +/* 80293A2C 0029098C 38 A0 00 00 */ li r5, 0 +/* 80293A30 00290990 38 C0 00 01 */ li r6, 1 +/* 80293A34 00290994 48 08 B9 AD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80293A38 00290998 7C 78 1B 78 */ mr r24, r3 +lbl_80293A3C: +/* 80293A3C 0029099C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293A40 002909A0 28 03 00 00 */ cmplwi r3, 0 +/* 80293A44 002909A4 41 82 00 18 */ beq lbl_80293A5C +/* 80293A48 002909A8 81 83 00 00 */ lwz r12, 0(r3) +/* 80293A4C 002909AC 38 80 00 01 */ li r4, 1 +/* 80293A50 002909B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80293A54 002909B4 7D 89 03 A6 */ mtctr r12 +/* 80293A58 002909B8 4E 80 04 21 */ bctrl +lbl_80293A5C: +/* 80293A5C 002909BC 7F 20 07 75 */ extsb. r0, r25 +/* 80293A60 002909C0 93 1F 01 74 */ stw r24, 0x174(r31) +/* 80293A64 002909C4 41 82 00 10 */ beq lbl_80293A74 +/* 80293A68 002909C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80293A6C 002909CC 38 80 00 00 */ li r4, 0 +/* 80293A70 002909D0 48 0A D3 D1 */ bl __dt__6CTokenFv +lbl_80293A74: +/* 80293A74 002909D4 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293A78 002909D8 28 03 00 00 */ cmplwi r3, 0 +/* 80293A7C 002909DC 41 82 00 40 */ beq lbl_80293ABC +/* 80293A80 002909E0 C0 1F 01 90 */ lfs f0, 0x190(r31) +/* 80293A84 002909E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80293A88 002909E8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80293A8C 002909EC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80293A90 002909F0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80293A94 002909F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80293A98 002909F8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80293A9C 002909FC 7D 89 03 A6 */ mtctr r12 +/* 80293AA0 00290A00 4E 80 04 21 */ bctrl +/* 80293AA4 00290A04 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80293AA8 00290A08 38 80 00 00 */ li r4, 0 +/* 80293AAC 00290A0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80293AB0 00290A10 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80293AB4 00290A14 7D 89 03 A6 */ mtctr r12 +/* 80293AB8 00290A18 4E 80 04 21 */ bctrl +lbl_80293ABC: +/* 80293ABC 00290A1C 38 61 00 9C */ addi r3, r1, 0x9c +/* 80293AC0 00290A20 38 80 00 00 */ li r4, 0 +/* 80293AC4 00290A24 48 0A D3 7D */ bl __dt__6CTokenFv +lbl_80293AC8: +/* 80293AC8 00290A28 7F E3 FB 78 */ mr r3, r31 +/* 80293ACC 00290A2C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80293AD0 00290A30 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80293AD4 00290A34 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80293AD8 00290A38 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80293ADC 00290A3C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 80293AE0 00290A40 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 80293AE4 00290A44 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 80293AE8 00290A48 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 80293AEC 00290A4C BB 01 00 C0 */ lmw r24, 0xc0(r1) +/* 80293AF0 00290A50 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80293AF4 00290A54 7C 08 03 A6 */ mtlr r0 +/* 80293AF8 00290A58 38 21 01 20 */ addi r1, r1, 0x120 +/* 80293AFC 00290A5C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPuffer.s b/asm/Kyoto_CWD/Enemies/CPuffer.s new file mode 100644 index 00000000..7c88bd98 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPuffer.s @@ -0,0 +1,680 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Think__7CPufferFfR13CStateManager +Think__7CPufferFfR13CStateManager: +/* 8025C23C 0025919C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8025C240 002591A0 7C 08 02 A6 */ mflr r0 +/* 8025C244 002591A4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8025C248 002591A8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8025C24C 002591AC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8025C250 002591B0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8025C254 002591B4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8025C258 002591B8 FF E0 08 90 */ fmr f31, f1 +/* 8025C25C 002591BC 7C 7E 1B 78 */ mr r30, r3 +/* 8025C260 002591C0 7C 9F 23 78 */ mr r31, r4 +/* 8025C264 002591C4 4B E1 D8 B5 */ bl Think__10CPatternedFfR13CStateManager +/* 8025C268 002591C8 7F C3 F3 78 */ mr r3, r30 +/* 8025C26C 002591CC 7F E4 FB 78 */ mr r4, r31 +/* 8025C270 002591D0 4B FF FD 35 */ bl sub_8025bfa4 +/* 8025C274 002591D4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025C278 002591D8 C0 03 00 04 */ lfs f0, 4(r3) +/* 8025C27C 002591DC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8025C280 002591E0 C0 03 00 08 */ lfs f0, 8(r3) +/* 8025C284 002591E4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8025C288 002591E8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8025C28C 002591EC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025C290 002591F0 A0 1E 05 CC */ lhz r0, 0x5cc(r30) +/* 8025C294 002591F4 A0 7E 02 DC */ lhz r3, 0x2dc(r30) +/* 8025C298 002591F8 7C 00 18 40 */ cmplw r0, r3 +/* 8025C29C 002591FC 41 82 00 48 */ beq lbl_8025C2E4 +/* 8025C2A0 00259200 B0 7E 05 CC */ sth r3, 0x5cc(r30) +/* 8025C2A4 00259204 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025C2A8 00259208 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8025C2AC 0025920C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8025C2B0 00259210 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8025C2B4 00259214 38 61 00 08 */ addi r3, r1, 8 +/* 8025C2B8 00259218 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8025C2BC 0025921C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8025C2C0 00259220 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025C2C4 00259224 38 E0 00 01 */ li r7, 1 +/* 8025C2C8 00259228 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8025C2CC 0025922C 39 00 00 00 */ li r8, 0 +/* 8025C2D0 00259230 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8025C2D4 00259234 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025C2D8 00259238 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8025C2DC 0025923C A0 9E 05 9A */ lhz r4, 0x59a(r30) +/* 8025C2E0 00259240 48 08 DF D1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_8025C2E4: +/* 8025C2E4 00259244 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025C2E8 00259248 38 63 00 04 */ addi r3, r3, 4 +/* 8025C2EC 0025924C 4B ED 51 BD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 8025C2F0 00259250 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025C2F4 00259254 48 0B 84 05 */ bl CanBeNormalized__9CVector3fCFv +/* 8025C2F8 00259258 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025C2FC 0025925C 41 82 00 BC */ beq lbl_8025C3B8 +/* 8025C300 00259260 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2) +/* 8025C304 00259264 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025C308 00259268 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2) +/* 8025C30C 0025926C 38 81 00 0C */ addi r4, r1, 0xc +/* 8025C310 00259270 EC FF 00 24 */ fdivs f7, f31, f0 +/* 8025C314 00259274 C0 81 00 34 */ lfs f4, 0x34(r1) +/* 8025C318 00259278 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8025C31C 0025927C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8025C320 00259280 C0 BE 05 C4 */ lfs f5, 0x5c4(r30) +/* 8025C324 00259284 C0 7E 05 C8 */ lfs f3, 0x5c8(r30) +/* 8025C328 00259288 EC C1 38 28 */ fsubs f6, f1, f7 +/* 8025C32C 0025928C C0 3E 05 C0 */ lfs f1, 0x5c0(r30) +/* 8025C330 00259290 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8025C334 00259294 EC 42 01 F2 */ fmuls f2, f2, f7 +/* 8025C338 00259298 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 8025C33C 0025929C EC 85 21 BA */ fmadds f4, f5, f6, f4 +/* 8025C340 002592A0 EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 8025C344 002592A4 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 8025C348 002592A8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8025C34C 002592AC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8025C350 002592B0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8025C354 002592B4 48 0B 84 FD */ bl AsNormalized__9CVector3fCFv +/* 8025C358 002592B8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8025C35C 002592BC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025C360 002592C0 C0 02 B9 EC */ lfs f0, lbl_805AD70C@sda21(r2) +/* 8025C364 002592C4 D0 3E 05 C0 */ stfs f1, 0x5c0(r30) +/* 8025C368 002592C8 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8025C36C 002592CC D0 3E 05 C4 */ stfs f1, 0x5c4(r30) +/* 8025C370 002592D0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8025C374 002592D4 D0 3E 05 C8 */ stfs f1, 0x5c8(r30) +/* 8025C378 002592D8 C0 3E 05 C0 */ lfs f1, 0x5c0(r30) +/* 8025C37C 002592DC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8025C380 002592E0 C0 3E 05 C4 */ lfs f1, 0x5c4(r30) +/* 8025C384 002592E4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8025C388 002592E8 C0 3E 05 C8 */ lfs f1, 0x5c8(r30) +/* 8025C38C 002592EC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8025C390 002592F0 C0 3E 05 68 */ lfs f1, 0x568(r30) +/* 8025C394 002592F4 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8025C398 002592F8 C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 8025C39C 002592FC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8025C3A0 00259300 C0 3E 05 70 */ lfs f1, 0x570(r30) +/* 8025C3A4 00259304 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8025C3A8 00259308 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8025C3AC 0025930C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025C3B0 00259310 38 63 00 04 */ addi r3, r3, 4 +/* 8025C3B4 00259314 4B ED 53 65 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8025C3B8: +/* 8025C3B8 00259318 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025C3BC 0025931C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8025C3C0 00259320 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8025C3C4 00259324 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8025C3C8 00259328 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8025C3CC 0025932C 7C 08 03 A6 */ mtlr r0 +/* 8025C3D0 00259330 38 21 00 70 */ addi r1, r1, 0x70 +/* 8025C3D4 00259334 4E 80 00 20 */ blr + +.global Death__7CPufferFRC9CVector3fR13CStateManager +Death__7CPufferFRC9CVector3fR13CStateManager: +/* 8025C3D8 00259338 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8025C3DC 0025933C 7C 08 02 A6 */ mflr r0 +/* 8025C3E0 00259340 90 01 01 64 */ stw r0, 0x164(r1) +/* 8025C3E4 00259344 BF 61 01 4C */ stmw r27, 0x14c(r1) +/* 8025C3E8 00259348 7C 7E 1B 78 */ mr r30, r3 +/* 8025C3EC 0025934C 7C 9F 23 78 */ mr r31, r4 +/* 8025C3F0 00259350 4B E1 EF B5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8025C3F4 00259354 80 AD 97 C0 */ lwz r5, lbl_805A8380@sda21(r13) +/* 8025C3F8 00259358 38 60 00 00 */ li r3, 0 +/* 8025C3FC 0025935C 38 80 00 01 */ li r4, 1 +/* 8025C400 00259360 48 12 DA F5 */ bl __shl2i +/* 8025C404 00259364 39 20 00 00 */ li r9, 0 +/* 8025C408 00259368 38 00 00 03 */ li r0, 3 +/* 8025C40C 0025936C 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8025C410 00259370 7F C5 F3 78 */ mr r5, r30 +/* 8025C414 00259374 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025C418 00259378 38 C1 00 70 */ addi r6, r1, 0x70 +/* 8025C41C 0025937C 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8025C420 00259380 7F E3 FB 78 */ mr r3, r31 +/* 8025C424 00259384 38 FE 05 9C */ addi r7, r30, 0x59c +/* 8025C428 00259388 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8025C42C 0025938C 91 21 00 BC */ stw r9, 0xbc(r1) +/* 8025C430 00259390 91 21 00 B8 */ stw r9, 0xb8(r1) +/* 8025C434 00259394 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8025C438 00259398 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8025C43C 0025939C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8025C440 002593A0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025C444 002593A4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8025C448 002593A8 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 8025C44C 002593AC D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8025C450 002593B0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8025C454 002593B4 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8025C458 002593B8 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8025C45C 002593BC 4B DE C8 51 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 8025C460 002593C0 7F E4 FB 78 */ mr r4, r31 +/* 8025C464 002593C4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025C468 002593C8 4B DF 0C 75 */ bl AllocateUniqueId__13CStateManagerFv +/* 8025C46C 002593CC A0 01 00 34 */ lhz r0, 0x34(r1) +/* 8025C470 002593D0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8025C474 002593D4 C0 3E 05 8C */ lfs f1, 0x58c(r30) +/* 8025C478 002593D8 C0 42 B9 EC */ lfs f2, lbl_805AD70C@sda21(r2) +/* 8025C47C 002593DC C0 02 B9 F4 */ lfs f0, lbl_805AD714@sda21(r2) +/* 8025C480 002593E0 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8025C484 002593E4 B0 01 00 40 */ sth r0, 0x40(r1) +/* 8025C488 002593E8 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8025C48C 002593EC D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8025C490 002593F0 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8025C494 002593F4 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8025C498 002593F8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8025C49C 002593FC 48 0B 6D A5 */ bl Scale__12CTransform4fFf +/* 8025C4A0 00259400 38 61 01 10 */ addi r3, r1, 0x110 +/* 8025C4A4 00259404 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8025C4A8 00259408 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8025C4AC 0025940C 48 0B 64 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025C4B0 00259410 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025C4B4 00259414 38 81 00 64 */ addi r4, r1, 0x64 +/* 8025C4B8 00259418 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8025C4BC 0025941C 48 0D C0 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8025C4C0 00259420 7C 64 1B 78 */ mr r4, r3 +/* 8025C4C4 00259424 38 61 00 94 */ addi r3, r1, 0x94 +/* 8025C4C8 00259428 38 A1 01 10 */ addi r5, r1, 0x110 +/* 8025C4CC 0025942C 48 0D B4 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8025C4D0 00259430 C0 A1 00 94 */ lfs f5, 0x94(r1) +/* 8025C4D4 00259434 3C 60 80 3D */ lis r3, lbl_803D5100@ha +/* 8025C4D8 00259438 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 8025C4DC 0025943C 38 63 51 00 */ addi r3, r3, lbl_803D5100@l +/* 8025C4E0 00259440 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 8025C4E4 00259444 38 83 01 26 */ addi r4, r3, 0x126 +/* 8025C4E8 00259448 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 8025C4EC 0025944C 38 60 01 60 */ li r3, 0x160 +/* 8025C4F0 00259450 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8025C4F4 00259454 38 A0 00 00 */ li r5, 0 +/* 8025C4F8 00259458 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8025C4FC 0025945C D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 8025C500 00259460 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 8025C504 00259464 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 8025C508 00259468 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8025C50C 0025946C D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8025C510 00259470 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8025C514 00259474 48 0B 93 59 */ bl __nw__FUlPCcPCc +/* 8025C518 00259478 7C 64 1B 79 */ or. r4, r3, r3 +/* 8025C51C 0025947C 41 82 00 A8 */ beq lbl_8025C5C4 +/* 8025C520 00259480 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2) +/* 8025C524 00259484 39 81 00 C8 */ addi r12, r1, 0xc8 +/* 8025C528 00259488 A3 A1 00 40 */ lhz r29, 0x40(r1) +/* 8025C52C 0025948C 39 61 00 4C */ addi r11, r1, 0x4c +/* 8025C530 00259490 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8025C534 00259494 38 00 00 01 */ li r0, 1 +/* 8025C538 00259498 FC 60 08 90 */ fmr f3, f1 +/* 8025C53C 0025949C 38 9E 05 74 */ addi r4, r30, 0x574 +/* 8025C540 002594A0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8025C544 002594A4 FC 80 08 90 */ fmr f4, f1 +/* 8025C548 002594A8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8025C54C 002594AC 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8025C550 002594B0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8025C554 002594B4 39 01 00 30 */ addi r8, r1, 0x30 +/* 8025C558 002594B8 39 3E 00 34 */ addi r9, r30, 0x34 +/* 8025C55C 002594BC 39 5E 05 7C */ addi r10, r30, 0x57c +/* 8025C560 002594C0 A3 7E 00 08 */ lhz r27, 8(r30) +/* 8025C564 002594C4 38 E0 00 01 */ li r7, 1 +/* 8025C568 002594C8 B3 61 00 30 */ sth r27, 0x30(r1) +/* 8025C56C 002594CC 83 9E 00 04 */ lwz r28, 4(r30) +/* 8025C570 002594D0 B3 61 00 2C */ sth r27, 0x2c(r1) +/* 8025C574 002594D4 93 81 00 48 */ stw r28, 0x48(r1) +/* 8025C578 002594D8 B3 A1 00 28 */ sth r29, 0x28(r1) +/* 8025C57C 002594DC 91 81 00 08 */ stw r12, 8(r1) +/* 8025C580 002594E0 91 61 00 0C */ stw r11, 0xc(r1) +/* 8025C584 002594E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025C588 002594E8 80 1E 05 BC */ lwz r0, 0x5bc(r30) +/* 8025C58C 002594EC 93 81 00 44 */ stw r28, 0x44(r1) +/* 8025C590 002594F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025C594 002594F4 88 1E 05 98 */ lbz r0, 0x598(r30) +/* 8025C598 002594F8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8025C59C 002594FC 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025C5A0 00259500 88 1E 05 98 */ lbz r0, 0x598(r30) +/* 8025C5A4 00259504 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 8025C5A8 00259508 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025C5AC 0025950C 88 1E 05 98 */ lbz r0, 0x598(r30) +/* 8025C5B0 00259510 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8025C5B4 00259514 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025C5B8 00259518 C0 5E 05 B8 */ lfs f2, 0x5b8(r30) +/* 8025C5BC 0025951C 48 00 0C 21 */ bl __ct__5CFire +/* 8025C5C0 00259520 7C 64 1B 78 */ mr r4, r3 +lbl_8025C5C4: +/* 8025C5C4 00259524 7F E3 FB 78 */ mr r3, r31 +/* 8025C5C8 00259528 4B DF 07 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8025C5CC 0025952C BB 61 01 4C */ lmw r27, 0x14c(r1) +/* 8025C5D0 00259530 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8025C5D4 00259534 7C 08 03 A6 */ mtlr r0 +/* 8025C5D8 00259538 38 21 01 60 */ addi r1, r1, 0x160 +/* 8025C5DC 0025953C 4E 80 00 20 */ blr + +.global GetTouchBounds__7CPufferCFv +GetTouchBounds__7CPufferCFv: +/* 8025C5E0 00259540 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8025C5E4 00259544 7C 08 02 A6 */ mflr r0 +/* 8025C5E8 00259548 90 01 00 84 */ stw r0, 0x84(r1) +/* 8025C5EC 0025954C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8025C5F0 00259550 7C 7F 1B 78 */ mr r31, r3 +/* 8025C5F4 00259554 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025C5F8 00259558 4B E1 B1 79 */ bl GetTouchBounds__10CPatternedCFv +/* 8025C5FC 0025955C 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8025C600 00259560 28 00 00 00 */ cmplwi r0, 0 +/* 8025C604 00259564 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8025C608 00259568 41 82 00 3C */ beq lbl_8025C644 +/* 8025C60C 0025956C 34 61 00 54 */ addic. r3, r1, 0x54 +/* 8025C610 00259570 41 82 00 34 */ beq lbl_8025C644 +/* 8025C614 00259574 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8025C618 00259578 D0 03 00 00 */ stfs f0, 0(r3) +/* 8025C61C 0025957C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8025C620 00259580 D0 03 00 04 */ stfs f0, 4(r3) +/* 8025C624 00259584 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8025C628 00259588 D0 03 00 08 */ stfs f0, 8(r3) +/* 8025C62C 0025958C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8025C630 00259590 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8025C634 00259594 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8025C638 00259598 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8025C63C 0025959C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8025C640 002595A0 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8025C644: +/* 8025C644 002595A4 88 61 00 6C */ lbz r3, 0x6c(r1) +/* 8025C648 002595A8 38 00 00 00 */ li r0, 0 +/* 8025C64C 002595AC 98 01 00 38 */ stb r0, 0x38(r1) +/* 8025C650 002595B0 28 03 00 00 */ cmplwi r3, 0 +/* 8025C654 002595B4 41 82 00 DC */ beq lbl_8025C730 +/* 8025C658 002595B8 C0 C1 00 54 */ lfs f6, 0x54(r1) +/* 8025C65C 002595BC 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025C660 002595C0 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 8025C664 002595C4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025C668 002595C8 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2) +/* 8025C66C 002595CC C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 8025C670 002595D0 ED 05 00 28 */ fsubs f8, f5, f0 +/* 8025C674 002595D4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8025C678 002595D8 EC E4 00 28 */ fsubs f7, f4, f0 +/* 8025C67C 002595DC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8025C680 002595E0 EC 06 00 28 */ fsubs f0, f6, f0 +/* 8025C684 002595E4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8025C688 002595E8 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 8025C68C 002595EC D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8025C690 002595F0 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8025C694 002595F4 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8025C698 002595F8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8025C69C 002595FC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8025C6A0 00259600 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025C6A4 00259604 D1 01 00 18 */ stfs f8, 0x18(r1) +/* 8025C6A8 00259608 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 8025C6AC 0025960C 48 0D B4 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8025C6B0 00259610 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 8025C6B4 00259614 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025C6B8 00259618 C0 42 B9 F0 */ lfs f2, lbl_805AD710@sda21(r2) +/* 8025C6BC 0025961C 38 81 00 08 */ addi r4, r1, 8 +/* 8025C6C0 00259620 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8025C6C4 00259624 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8025C6C8 00259628 EC 63 10 2A */ fadds f3, f3, f2 +/* 8025C6CC 0025962C EC 21 10 2A */ fadds f1, f1, f2 +/* 8025C6D0 00259630 EC 00 10 2A */ fadds f0, f0, f2 +/* 8025C6D4 00259634 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8025C6D8 00259638 D0 01 00 08 */ stfs f0, 8(r1) +/* 8025C6DC 0025963C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8025C6E0 00259640 48 0D B4 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8025C6E4 00259644 38 00 00 01 */ li r0, 1 +/* 8025C6E8 00259648 28 1F 00 00 */ cmplwi r31, 0 +/* 8025C6EC 0025964C 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8025C6F0 00259650 41 82 00 34 */ beq lbl_8025C724 +/* 8025C6F4 00259654 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8025C6F8 00259658 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8025C6FC 0025965C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8025C700 00259660 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8025C704 00259664 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8025C708 00259668 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8025C70C 0025966C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8025C710 00259670 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8025C714 00259674 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8025C718 00259678 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8025C71C 0025967C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8025C720 00259680 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_8025C724: +/* 8025C724 00259684 38 00 00 00 */ li r0, 0 +/* 8025C728 00259688 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8025C72C 0025968C 48 00 00 4C */ b lbl_8025C778 +lbl_8025C730: +/* 8025C730 00259690 98 7F 00 18 */ stb r3, 0x18(r31) +/* 8025C734 00259694 41 82 00 3C */ beq lbl_8025C770 +/* 8025C738 00259698 28 1F 00 00 */ cmplwi r31, 0 +/* 8025C73C 0025969C 41 82 00 34 */ beq lbl_8025C770 +/* 8025C740 002596A0 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8025C744 002596A4 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8025C748 002596A8 D0 3F 00 00 */ stfs f1, 0(r31) +/* 8025C74C 002596AC C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8025C750 002596B0 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8025C754 002596B4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8025C758 002596B8 D0 3F 00 08 */ stfs f1, 8(r31) +/* 8025C75C 002596BC C0 21 00 64 */ lfs f1, 0x64(r1) +/* 8025C760 002596C0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8025C764 002596C4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8025C768 002596C8 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 8025C76C 002596CC D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_8025C770: +/* 8025C770 002596D0 38 00 00 00 */ li r0, 0 +/* 8025C774 002596D4 98 01 00 6C */ stb r0, 0x6c(r1) +lbl_8025C778: +/* 8025C778 002596D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8025C77C 002596DC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8025C780 002596E0 7C 08 03 A6 */ mtlr r0 +/* 8025C784 002596E4 38 21 00 80 */ addi r1, r1, 0x80 +/* 8025C788 002596E8 4E 80 00 20 */ blr + +.global Touch__7CPufferR6CActorR13CStateManager +Touch__7CPufferR6CActorR13CStateManager: +/* 8025C78C 002596EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025C790 002596F0 7C 08 02 A6 */ mflr r0 +/* 8025C794 002596F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025C798 002596F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025C79C 002596FC 7C BF 2B 78 */ mr r31, r5 +/* 8025C7A0 00259700 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025C7A4 00259704 7C 9E 23 78 */ mr r30, r4 +/* 8025C7A8 00259708 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025C7AC 0025970C 7C 7D 1B 78 */ mr r29, r3 +/* 8025C7B0 00259710 4B E1 D2 F1 */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 8025C7B4 00259714 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 8025C7B8 00259718 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8025C7BC 0025971C 41 82 00 28 */ beq lbl_8025C7E4 +/* 8025C7C0 00259720 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025C7C4 00259724 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8025C7C8 00259728 A0 63 00 08 */ lhz r3, 8(r3) +/* 8025C7CC 0025972C 7C 03 00 40 */ cmplw r3, r0 +/* 8025C7D0 00259730 40 82 00 14 */ bne lbl_8025C7E4 +/* 8025C7D4 00259734 88 1D 04 01 */ lbz r0, 0x401(r29) +/* 8025C7D8 00259738 38 60 00 01 */ li r3, 1 +/* 8025C7DC 0025973C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8025C7E0 00259740 98 1D 04 01 */ stb r0, 0x401(r29) +lbl_8025C7E4: +/* 8025C7E4 00259744 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025C7E8 00259748 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025C7EC 0025974C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025C7F0 00259750 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025C7F4 00259754 7C 08 03 A6 */ mtlr r0 +/* 8025C7F8 00259758 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025C7FC 0025975C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8025C800 00259760 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8025C804 00259764 7C 08 02 A6 */ mflr r0 +/* 8025C808 00259768 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025C80C 0025976C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025C810 00259770 7C 9F 23 78 */ mr r31, r4 +/* 8025C814 00259774 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025C818 00259778 7C DE 33 78 */ mr r30, r6 +/* 8025C81C 0025977C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8025C820 00259780 7C 7D 1B 78 */ mr r29, r3 +/* 8025C824 00259784 A0 05 00 00 */ lhz r0, 0(r5) +/* 8025C828 00259788 38 A1 00 08 */ addi r5, r1, 8 +/* 8025C82C 0025978C B0 01 00 08 */ sth r0, 8(r1) +/* 8025C830 00259790 4B E2 03 49 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8025C834 00259794 2C 1F 00 21 */ cmpwi r31, 0x21 +/* 8025C838 00259798 41 82 00 14 */ beq lbl_8025C84C +/* 8025C83C 0025979C 40 80 00 88 */ bge lbl_8025C8C4 +/* 8025C840 002597A0 2C 1F 00 13 */ cmpwi r31, 0x13 +/* 8025C844 002597A4 41 82 00 64 */ beq lbl_8025C8A8 +/* 8025C848 002597A8 48 00 00 7C */ b lbl_8025C8C4 +lbl_8025C84C: +/* 8025C84C 002597AC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8025C850 002597B0 7F C4 F3 78 */ mr r4, r30 +/* 8025C854 002597B4 4B ED E4 9D */ bl Activate__15CBodyControllerFR13CStateManager +/* 8025C858 002597B8 80 AD 97 C8 */ lwz r5, lbl_805A8388@sda21(r13) +/* 8025C85C 002597BC 38 60 00 00 */ li r3, 0 +/* 8025C860 002597C0 38 80 00 01 */ li r4, 1 +/* 8025C864 002597C4 48 12 D6 91 */ bl __shl2i +/* 8025C868 002597C8 80 AD 97 C4 */ lwz r5, lbl_805A8384@sda21(r13) +/* 8025C86C 002597CC 7C 9E 23 78 */ mr r30, r4 +/* 8025C870 002597D0 7C 7F 1B 78 */ mr r31, r3 +/* 8025C874 002597D4 38 60 00 00 */ li r3, 0 +/* 8025C878 002597D8 38 80 00 01 */ li r4, 1 +/* 8025C87C 002597DC 48 12 D6 79 */ bl __shl2i +/* 8025C880 002597E0 38 00 00 03 */ li r0, 3 +/* 8025C884 002597E4 90 81 00 14 */ stw r4, 0x14(r1) +/* 8025C888 002597E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8025C88C 002597EC 90 61 00 10 */ stw r3, 0x10(r1) +/* 8025C890 002597F0 7F A3 EB 78 */ mr r3, r29 +/* 8025C894 002597F4 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 8025C898 002597F8 93 E1 00 18 */ stw r31, 0x18(r1) +/* 8025C89C 002597FC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025C8A0 00259800 4B DF 70 01 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8025C8A4 00259804 48 00 00 20 */ b lbl_8025C8C4 +lbl_8025C8A8: +/* 8025C8A8 00259808 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8025C8AC 0025980C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025C8B0 00259810 41 82 00 14 */ beq lbl_8025C8C4 +/* 8025C8B4 00259814 88 1D 04 01 */ lbz r0, 0x401(r29) +/* 8025C8B8 00259818 38 60 00 01 */ li r3, 1 +/* 8025C8BC 0025981C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8025C8C0 00259820 98 1D 04 01 */ stb r0, 0x401(r29) +lbl_8025C8C4: +/* 8025C8C4 00259824 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8025C8C8 00259828 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025C8CC 0025982C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025C8D0 00259830 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8025C8D4 00259834 7C 08 03 A6 */ mtlr r0 +/* 8025C8D8 00259838 38 21 00 40 */ addi r1, r1, 0x40 +/* 8025C8DC 0025983C 4E 80 00 20 */ blr + +.global Accept__7CPufferFR8IVisitor +Accept__7CPufferFR8IVisitor: +/* 8025C8E0 00259840 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025C8E4 00259844 7C 08 02 A6 */ mflr r0 +/* 8025C8E8 00259848 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025C8EC 0025984C 7C 60 1B 78 */ mr r0, r3 +/* 8025C8F0 00259850 7C 83 23 78 */ mr r3, r4 +/* 8025C8F4 00259854 81 84 00 00 */ lwz r12, 0(r4) +/* 8025C8F8 00259858 7C 04 03 78 */ mr r4, r0 +/* 8025C8FC 0025985C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8025C900 00259860 7D 89 03 A6 */ mtctr r12 +/* 8025C904 00259864 4E 80 04 21 */ bctrl +/* 8025C908 00259868 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025C90C 0025986C 7C 08 03 A6 */ mtlr r0 +/* 8025C910 00259870 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025C914 00259874 4E 80 00 20 */ blr + +.global __dt__7CPufferFv +__dt__7CPufferFv: +/* 8025C918 00259878 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025C91C 0025987C 7C 08 02 A6 */ mflr r0 +/* 8025C920 00259880 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025C924 00259884 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025C928 00259888 7C 9F 23 78 */ mr r31, r4 +/* 8025C92C 0025988C 93 C1 00 08 */ stw r30, 8(r1) +/* 8025C930 00259890 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8025C934 00259894 41 82 00 9C */ beq lbl_8025C9D0 +/* 8025C938 00259898 3C 60 80 3F */ lis r3, lbl_803E96C0@ha +/* 8025C93C 0025989C 34 1E 05 D4 */ addic. r0, r30, 0x5d4 +/* 8025C940 002598A0 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l +/* 8025C944 002598A4 90 1E 00 00 */ stw r0, 0(r30) +/* 8025C948 002598A8 41 82 00 58 */ beq lbl_8025C9A0 +/* 8025C94C 002598AC 80 BE 05 D4 */ lwz r5, 0x5d4(r30) +/* 8025C950 002598B0 38 60 00 00 */ li r3, 0 +/* 8025C954 002598B4 2C 05 00 00 */ cmpwi r5, 0 +/* 8025C958 002598B8 40 81 00 40 */ ble lbl_8025C998 +/* 8025C95C 002598BC 2C 05 00 08 */ cmpwi r5, 8 +/* 8025C960 002598C0 38 85 FF F8 */ addi r4, r5, -8 +/* 8025C964 002598C4 40 81 00 20 */ ble lbl_8025C984 +/* 8025C968 002598C8 38 04 00 07 */ addi r0, r4, 7 +/* 8025C96C 002598CC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025C970 002598D0 7C 09 03 A6 */ mtctr r0 +/* 8025C974 002598D4 2C 04 00 00 */ cmpwi r4, 0 +/* 8025C978 002598D8 40 81 00 0C */ ble lbl_8025C984 +lbl_8025C97C: +/* 8025C97C 002598DC 38 63 00 08 */ addi r3, r3, 8 +/* 8025C980 002598E0 42 00 FF FC */ bdnz lbl_8025C97C +lbl_8025C984: +/* 8025C984 002598E4 7C 03 28 50 */ subf r0, r3, r5 +/* 8025C988 002598E8 7C 09 03 A6 */ mtctr r0 +/* 8025C98C 002598EC 7C 03 28 00 */ cmpw r3, r5 +/* 8025C990 002598F0 40 80 00 08 */ bge lbl_8025C998 +lbl_8025C994: +/* 8025C994 002598F4 42 00 00 00 */ bdnz lbl_8025C994 +lbl_8025C998: +/* 8025C998 002598F8 38 00 00 00 */ li r0, 0 +/* 8025C99C 002598FC 90 1E 05 D4 */ stw r0, 0x5d4(r30) +lbl_8025C9A0: +/* 8025C9A0 00259900 34 1E 05 74 */ addic. r0, r30, 0x574 +/* 8025C9A4 00259904 41 82 00 10 */ beq lbl_8025C9B4 +/* 8025C9A8 00259908 38 7E 05 74 */ addi r3, r30, 0x574 +/* 8025C9AC 0025990C 38 80 00 00 */ li r4, 0 +/* 8025C9B0 00259910 48 0E 44 91 */ bl __dt__6CTokenFv +lbl_8025C9B4: +/* 8025C9B4 00259914 7F C3 F3 78 */ mr r3, r30 +/* 8025C9B8 00259918 38 80 00 00 */ li r4, 0 +/* 8025C9BC 0025991C 4B E1 AB B5 */ bl __dt__10CPatternedFv +/* 8025C9C0 00259920 7F E0 07 35 */ extsh. r0, r31 +/* 8025C9C4 00259924 40 81 00 0C */ ble lbl_8025C9D0 +/* 8025C9C8 00259928 7F C3 F3 78 */ mr r3, r30 +/* 8025C9CC 0025992C 48 0B 8F 65 */ bl Free__7CMemoryFPCv +lbl_8025C9D0: +/* 8025C9D0 00259930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025C9D4 00259934 7F C3 F3 78 */ mr r3, r30 +/* 8025C9D8 00259938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025C9DC 0025993C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8025C9E0 00259940 7C 08 03 A6 */ mtlr r0 +/* 8025C9E4 00259944 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025C9E8 00259948 4E 80 00 20 */ blr + +.global __ct__7CPuffer +__ct__7CPuffer: +/* 8025C9EC 0025994C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8025C9F0 00259950 7C 08 02 A6 */ mflr r0 +/* 8025C9F4 00259954 90 01 00 84 */ stw r0, 0x84(r1) +/* 8025C9F8 00259958 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8025C9FC 0025995C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8025CA00 00259960 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8025CA04 00259964 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8025CA08 00259968 BE C1 00 38 */ stmw r22, 0x38(r1) +/* 8025CA0C 0025996C A0 04 00 00 */ lhz r0, 0(r4) +/* 8025CA10 00259970 7C CB 33 78 */ mr r11, r6 +/* 8025CA14 00259974 7C F8 3B 78 */ mr r24, r7 +/* 8025CA18 00259978 7D 07 43 78 */ mr r7, r8 +/* 8025CA1C 0025997C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8025CA20 00259980 38 C0 00 01 */ li r6, 1 +/* 8025CA24 00259984 38 80 00 05 */ li r4, 5 +/* 8025CA28 00259988 FF C0 08 90 */ fmr f30, f1 +/* 8025CA2C 0025998C 91 41 00 08 */ stw r10, 8(r1) +/* 8025CA30 00259990 7C EA 3B 78 */ mr r10, r7 +/* 8025CA34 00259994 FF E0 10 90 */ fmr f31, f2 +/* 8025CA38 00259998 38 00 00 00 */ li r0, 0 +/* 8025CA3C 0025999C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8025CA40 002599A0 83 21 00 88 */ lwz r25, 0x88(r1) +/* 8025CA44 002599A4 7C 77 1B 78 */ mr r23, r3 +/* 8025CA48 002599A8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8025CA4C 002599AC 7C A6 2B 78 */ mr r6, r5 +/* 8025CA50 002599B0 83 41 00 8C */ lwz r26, 0x8c(r1) +/* 8025CA54 002599B4 90 81 00 14 */ stw r4, 0x14(r1) +/* 8025CA58 002599B8 7D 68 5B 78 */ mr r8, r11 +/* 8025CA5C 002599BC 83 61 00 90 */ lwz r27, 0x90(r1) +/* 8025CA60 002599C0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8025CA64 002599C4 91 21 00 18 */ stw r9, 0x18(r1) +/* 8025CA68 002599C8 7F 09 C3 78 */ mr r9, r24 +/* 8025CA6C 002599CC 8B 81 00 97 */ lbz r28, 0x97(r1) +/* 8025CA70 002599D0 38 80 00 1D */ li r4, 0x1d +/* 8025CA74 002599D4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025CA78 002599D8 38 E0 00 00 */ li r7, 0 +/* 8025CA7C 002599DC 8B A1 00 9B */ lbz r29, 0x9b(r1) +/* 8025CA80 002599E0 8B C1 00 9F */ lbz r30, 0x9f(r1) +/* 8025CA84 002599E4 83 E1 00 A0 */ lwz r31, 0xa0(r1) +/* 8025CA88 002599E8 A2 C1 00 A6 */ lhz r22, 0xa6(r1) +/* 8025CA8C 002599EC 4B E2 09 C5 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8025CA90 002599F0 3C 60 80 3F */ lis r3, lbl_803E96C0@ha +/* 8025CA94 002599F4 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8025CA98 002599F8 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l +/* 8025CA9C 002599FC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025CAA0 00259A00 90 17 00 00 */ stw r0, 0(r23) +/* 8025CAA4 00259A04 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 8025CAA8 00259A08 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025CAAC 00259A0C C0 58 00 24 */ lfs f2, 0x24(r24) +/* 8025CAB0 00259A10 C0 38 00 14 */ lfs f1, 0x14(r24) +/* 8025CAB4 00259A14 C0 18 00 04 */ lfs f0, 4(r24) +/* 8025CAB8 00259A18 D0 17 05 68 */ stfs f0, 0x568(r23) +/* 8025CABC 00259A1C D0 37 05 6C */ stfs f1, 0x56c(r23) +/* 8025CAC0 00259A20 D0 57 05 70 */ stfs f2, 0x570(r23) +/* 8025CAC4 00259A24 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8025CAC8 00259A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8025CACC 00259A2C 93 21 00 30 */ stw r25, 0x30(r1) +/* 8025CAD0 00259A30 81 84 00 00 */ lwz r12, 0(r4) +/* 8025CAD4 00259A34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025CAD8 00259A38 7D 89 03 A6 */ mtctr r12 +/* 8025CADC 00259A3C 4E 80 04 21 */ bctrl +/* 8025CAE0 00259A40 38 77 05 74 */ addi r3, r23, 0x574 +/* 8025CAE4 00259A44 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025CAE8 00259A48 48 0E 43 C1 */ bl __ct__6CTokenFRC6CToken +/* 8025CAEC 00259A4C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025CAF0 00259A50 38 80 FF FF */ li r4, -1 +/* 8025CAF4 00259A54 48 0E 43 4D */ bl __dt__6CTokenFv +/* 8025CAF8 00259A58 80 1A 00 00 */ lwz r0, 0(r26) +/* 8025CAFC 00259A5C 7E C3 B3 78 */ mr r3, r22 +/* 8025CB00 00259A60 90 17 05 7C */ stw r0, 0x57c(r23) +/* 8025CB04 00259A64 88 1A 00 04 */ lbz r0, 4(r26) +/* 8025CB08 00259A68 98 17 05 80 */ stb r0, 0x580(r23) +/* 8025CB0C 00259A6C C0 1A 00 08 */ lfs f0, 8(r26) +/* 8025CB10 00259A70 D0 17 05 84 */ stfs f0, 0x584(r23) +/* 8025CB14 00259A74 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 8025CB18 00259A78 D0 17 05 88 */ stfs f0, 0x588(r23) +/* 8025CB1C 00259A7C C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 8025CB20 00259A80 D0 17 05 8C */ stfs f0, 0x58c(r23) +/* 8025CB24 00259A84 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 8025CB28 00259A88 D0 17 05 90 */ stfs f0, 0x590(r23) +/* 8025CB2C 00259A8C 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 8025CB30 00259A90 98 17 05 94 */ stb r0, 0x594(r23) +/* 8025CB34 00259A94 88 17 05 98 */ lbz r0, 0x598(r23) +/* 8025CB38 00259A98 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 +/* 8025CB3C 00259A9C 98 17 05 98 */ stb r0, 0x598(r23) +/* 8025CB40 00259AA0 88 17 05 98 */ lbz r0, 0x598(r23) +/* 8025CB44 00259AA4 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 +/* 8025CB48 00259AA8 98 17 05 98 */ stb r0, 0x598(r23) +/* 8025CB4C 00259AAC 88 17 05 98 */ lbz r0, 0x598(r23) +/* 8025CB50 00259AB0 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a +/* 8025CB54 00259AB4 98 17 05 98 */ stb r0, 0x598(r23) +/* 8025CB58 00259AB8 48 08 BE 59 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025CB5C 00259ABC B0 77 05 9A */ sth r3, 0x59a(r23) +/* 8025CB60 00259AC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025CB64 00259AC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8025CB68 00259AC8 38 00 00 00 */ li r0, 0 +/* 8025CB6C 00259ACC 80 DF 00 00 */ lwz r6, 0(r31) +/* 8025CB70 00259AD0 7E E3 BB 78 */ mr r3, r23 +/* 8025CB74 00259AD4 38 80 00 00 */ li r4, 0 +/* 8025CB78 00259AD8 90 D7 05 9C */ stw r6, 0x59c(r23) +/* 8025CB7C 00259ADC 88 DF 00 04 */ lbz r6, 4(r31) +/* 8025CB80 00259AE0 98 D7 05 A0 */ stb r6, 0x5a0(r23) +/* 8025CB84 00259AE4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8025CB88 00259AE8 D0 17 05 A4 */ stfs f0, 0x5a4(r23) +/* 8025CB8C 00259AEC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8025CB90 00259AF0 D0 17 05 A8 */ stfs f0, 0x5a8(r23) +/* 8025CB94 00259AF4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8025CB98 00259AF8 D0 17 05 AC */ stfs f0, 0x5ac(r23) +/* 8025CB9C 00259AFC C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8025CBA0 00259B00 D0 17 05 B0 */ stfs f0, 0x5b0(r23) +/* 8025CBA4 00259B04 88 DF 00 18 */ lbz r6, 0x18(r31) +/* 8025CBA8 00259B08 98 D7 05 B4 */ stb r6, 0x5b4(r23) +/* 8025CBAC 00259B0C D3 F7 05 B8 */ stfs f31, 0x5b8(r23) +/* 8025CBB0 00259B10 93 77 05 BC */ stw r27, 0x5bc(r23) +/* 8025CBB4 00259B14 C0 05 00 00 */ lfs f0, 0(r5) +/* 8025CBB8 00259B18 D0 17 05 C0 */ stfs f0, 0x5c0(r23) +/* 8025CBBC 00259B1C C0 05 00 04 */ lfs f0, 4(r5) +/* 8025CBC0 00259B20 D0 17 05 C4 */ stfs f0, 0x5c4(r23) +/* 8025CBC4 00259B24 C0 05 00 08 */ lfs f0, 8(r5) +/* 8025CBC8 00259B28 D0 17 05 C8 */ stfs f0, 0x5c8(r23) +/* 8025CBCC 00259B2C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8025CBD0 00259B30 B0 B7 05 CC */ sth r5, 0x5cc(r23) +/* 8025CBD4 00259B34 90 17 05 D0 */ stw r0, 0x5d0(r23) +/* 8025CBD8 00259B38 90 17 05 D4 */ stw r0, 0x5d4(r23) +/* 8025CBDC 00259B3C 4B DF 61 91 */ bl CreateShadow__6CActorFb +/* 8025CBE0 00259B40 38 77 04 60 */ addi r3, r23, 0x460 +/* 8025CBE4 00259B44 38 80 00 01 */ li r4, 1 +/* 8025CBE8 00259B48 4B FD 71 A5 */ bl SetImpulseDurationIdx__20CKnockBackControllerFi +/* 8025CBEC 00259B4C 38 77 05 74 */ addi r3, r23, 0x574 +/* 8025CBF0 00259B50 48 0E 41 95 */ bl Lock__6CTokenFv +/* 8025CBF4 00259B54 80 97 04 50 */ lwz r4, 0x450(r23) +/* 8025CBF8 00259B58 7E E3 BB 78 */ mr r3, r23 +/* 8025CBFC 00259B5C D3 C4 03 30 */ stfs f30, 0x330(r4) +/* 8025CC00 00259B60 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8025CC04 00259B64 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8025CC08 00259B68 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8025CC0C 00259B6C CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8025CC10 00259B70 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 8025CC14 00259B74 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8025CC18 00259B78 7C 08 03 A6 */ mtlr r0 +/* 8025CC1C 00259B7C 38 21 00 80 */ addi r1, r1, 0x80 +/* 8025CC20 00259B80 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CRidley.s b/asm/Kyoto_CWD/Enemies/CRidley.s new file mode 100644 index 00000000..5b4c83f1 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CRidley.s @@ -0,0 +1,10657 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__7CRidleyFv +__dt__7CRidleyFv: +/* 80252598 0024F4F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025259C 0024F4FC 7C 08 02 A6 */ mflr r0 +/* 802525A0 0024F500 90 01 00 14 */ stw r0, 0x14(r1) +/* 802525A4 0024F504 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802525A8 0024F508 7C 9F 23 78 */ mr r31, r4 +/* 802525AC 0024F50C 93 C1 00 08 */ stw r30, 8(r1) +/* 802525B0 0024F510 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802525B4 0024F514 41 82 01 E4 */ beq lbl_80252798 +/* 802525B8 0024F518 3C 60 80 3F */ lis r3, lbl_803E9258@ha +/* 802525BC 0024F51C 34 1E 0D 10 */ addic. r0, r30, 0xd10 +/* 802525C0 0024F520 38 03 92 58 */ addi r0, r3, lbl_803E9258@l +/* 802525C4 0024F524 90 1E 00 00 */ stw r0, 0(r30) +/* 802525C8 0024F528 41 82 00 10 */ beq lbl_802525D8 +/* 802525CC 0024F52C 80 7E 0D 10 */ lwz r3, 0xd10(r30) +/* 802525D0 0024F530 38 80 00 01 */ li r4, 1 +/* 802525D4 0024F534 48 04 BD AD */ bl __dt__16CProjectedShadowFv +lbl_802525D8: +/* 802525D8 0024F538 34 1E 0C E4 */ addic. r0, r30, 0xce4 +/* 802525DC 0024F53C 41 82 00 58 */ beq lbl_80252634 +/* 802525E0 0024F540 80 BE 0C E4 */ lwz r5, 0xce4(r30) +/* 802525E4 0024F544 38 60 00 00 */ li r3, 0 +/* 802525E8 0024F548 2C 05 00 00 */ cmpwi r5, 0 +/* 802525EC 0024F54C 40 81 00 40 */ ble lbl_8025262C +/* 802525F0 0024F550 2C 05 00 08 */ cmpwi r5, 8 +/* 802525F4 0024F554 38 85 FF F8 */ addi r4, r5, -8 +/* 802525F8 0024F558 40 81 00 20 */ ble lbl_80252618 +/* 802525FC 0024F55C 38 04 00 07 */ addi r0, r4, 7 +/* 80252600 0024F560 54 00 E8 FE */ srwi r0, r0, 3 +/* 80252604 0024F564 7C 09 03 A6 */ mtctr r0 +/* 80252608 0024F568 2C 04 00 00 */ cmpwi r4, 0 +/* 8025260C 0024F56C 40 81 00 0C */ ble lbl_80252618 +lbl_80252610: +/* 80252610 0024F570 38 63 00 08 */ addi r3, r3, 8 +/* 80252614 0024F574 42 00 FF FC */ bdnz lbl_80252610 +lbl_80252618: +/* 80252618 0024F578 7C 03 28 50 */ subf r0, r3, r5 +/* 8025261C 0024F57C 7C 09 03 A6 */ mtctr r0 +/* 80252620 0024F580 7C 03 28 00 */ cmpw r3, r5 +/* 80252624 0024F584 40 80 00 08 */ bge lbl_8025262C +lbl_80252628: +/* 80252628 0024F588 42 00 00 00 */ bdnz lbl_80252628 +lbl_8025262C: +/* 8025262C 0024F58C 38 00 00 00 */ li r0, 0 +/* 80252630 0024F590 90 1E 0C E4 */ stw r0, 0xce4(r30) +lbl_80252634: +/* 80252634 0024F594 34 1E 0C DC */ addic. r0, r30, 0xcdc +/* 80252638 0024F598 41 82 00 30 */ beq lbl_80252668 +/* 8025263C 0024F59C 88 1E 0C DC */ lbz r0, 0xcdc(r30) +/* 80252640 0024F5A0 28 00 00 00 */ cmplwi r0, 0 +/* 80252644 0024F5A4 41 82 00 24 */ beq lbl_80252668 +/* 80252648 0024F5A8 80 7E 0C E0 */ lwz r3, 0xce0(r30) +/* 8025264C 0024F5AC 28 03 00 00 */ cmplwi r3, 0 +/* 80252650 0024F5B0 41 82 00 18 */ beq lbl_80252668 +/* 80252654 0024F5B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80252658 0024F5B8 38 80 00 01 */ li r4, 1 +/* 8025265C 0024F5BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80252660 0024F5C0 7D 89 03 A6 */ mtctr r12 +/* 80252664 0024F5C4 4E 80 04 21 */ bctrl +lbl_80252668: +/* 80252668 0024F5C8 34 1E 0C D0 */ addic. r0, r30, 0xcd0 +/* 8025266C 0024F5CC 41 82 00 18 */ beq lbl_80252684 +/* 80252670 0024F5D0 34 1E 0C D0 */ addic. r0, r30, 0xcd0 +/* 80252674 0024F5D4 41 82 00 10 */ beq lbl_80252684 +/* 80252678 0024F5D8 38 7E 0C D0 */ addi r3, r30, 0xcd0 +/* 8025267C 0024F5DC 38 80 00 00 */ li r4, 0 +/* 80252680 0024F5E0 48 0E E7 C1 */ bl __dt__6CTokenFv +lbl_80252684: +/* 80252684 0024F5E4 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252688 0024F5E8 41 82 00 20 */ beq lbl_802526A8 +/* 8025268C 0024F5EC 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252690 0024F5F0 41 82 00 18 */ beq lbl_802526A8 +/* 80252694 0024F5F4 34 1E 0C 3C */ addic. r0, r30, 0xc3c +/* 80252698 0024F5F8 41 82 00 10 */ beq lbl_802526A8 +/* 8025269C 0024F5FC 38 7E 0C 3C */ addi r3, r30, 0xc3c +/* 802526A0 0024F600 38 80 00 00 */ li r4, 0 +/* 802526A4 0024F604 48 0E E7 9D */ bl __dt__6CTokenFv +lbl_802526A8: +/* 802526A8 0024F608 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526AC 0024F60C 41 82 00 20 */ beq lbl_802526CC +/* 802526B0 0024F610 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526B4 0024F614 41 82 00 18 */ beq lbl_802526CC +/* 802526B8 0024F618 34 1E 0C 14 */ addic. r0, r30, 0xc14 +/* 802526BC 0024F61C 41 82 00 10 */ beq lbl_802526CC +/* 802526C0 0024F620 38 7E 0C 14 */ addi r3, r30, 0xc14 +/* 802526C4 0024F624 38 80 00 00 */ li r4, 0 +/* 802526C8 0024F628 48 0E E7 79 */ bl __dt__6CTokenFv +lbl_802526CC: +/* 802526CC 0024F62C 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526D0 0024F630 41 82 00 20 */ beq lbl_802526F0 +/* 802526D4 0024F634 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526D8 0024F638 41 82 00 18 */ beq lbl_802526F0 +/* 802526DC 0024F63C 34 1E 0B 68 */ addic. r0, r30, 0xb68 +/* 802526E0 0024F640 41 82 00 10 */ beq lbl_802526F0 +/* 802526E4 0024F644 38 7E 0B 68 */ addi r3, r30, 0xb68 +/* 802526E8 0024F648 38 80 00 00 */ li r4, 0 +/* 802526EC 0024F64C 48 0E E7 55 */ bl __dt__6CTokenFv +lbl_802526F0: +/* 802526F0 0024F650 34 1E 0B 2C */ addic. r0, r30, 0xb2c +/* 802526F4 0024F654 41 82 00 14 */ beq lbl_80252708 +/* 802526F8 0024F658 34 1E 0B 50 */ addic. r0, r30, 0xb50 +/* 802526FC 0024F65C 41 82 00 0C */ beq lbl_80252708 +/* 80252700 0024F660 38 00 00 00 */ li r0, 0 +/* 80252704 0024F664 98 1E 0B 5C */ stb r0, 0xb5c(r30) +lbl_80252708: +/* 80252708 0024F668 38 7E 0A 38 */ addi r3, r30, 0xa38 +/* 8025270C 0024F66C 38 80 FF FF */ li r4, -1 +/* 80252710 0024F670 4B EC 43 3D */ bl __dt__10CModelDataFv +/* 80252714 0024F674 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80252718 0024F678 38 80 FF FF */ li r4, -1 +/* 8025271C 0024F67C 4B EC 43 31 */ bl __dt__10CModelDataFv +/* 80252720 0024F680 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80252724 0024F684 38 80 FF FF */ li r4, -1 +/* 80252728 0024F688 4B EC 43 25 */ bl __dt__10CModelDataFv +/* 8025272C 0024F68C 34 1E 09 8C */ addic. r0, r30, 0x98c +/* 80252730 0024F690 41 82 00 18 */ beq lbl_80252748 +/* 80252734 0024F694 34 1E 09 8C */ addic. r0, r30, 0x98c +/* 80252738 0024F698 41 82 00 10 */ beq lbl_80252748 +/* 8025273C 0024F69C 38 7E 09 8C */ addi r3, r30, 0x98c +/* 80252740 0024F6A0 38 80 00 00 */ li r4, 0 +/* 80252744 0024F6A4 48 0E E6 FD */ bl __dt__6CTokenFv +lbl_80252748: +/* 80252748 0024F6A8 34 1E 09 84 */ addic. r0, r30, 0x984 +/* 8025274C 0024F6AC 41 82 00 10 */ beq lbl_8025275C +/* 80252750 0024F6B0 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80252754 0024F6B4 38 80 00 01 */ li r4, 1 +/* 80252758 0024F6B8 4B F5 51 85 */ bl sub_801a78dc +lbl_8025275C: +/* 8025275C 0024F6BC 34 1E 09 80 */ addic. r0, r30, 0x980 +/* 80252760 0024F6C0 41 82 00 10 */ beq lbl_80252770 +/* 80252764 0024F6C4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80252768 0024F6C8 38 80 00 01 */ li r4, 1 +/* 8025276C 0024F6CC 4B F5 51 71 */ bl sub_801a78dc +lbl_80252770: +/* 80252770 0024F6D0 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80252774 0024F6D4 38 80 FF FF */ li r4, -1 +/* 80252778 0024F6D8 48 00 00 3D */ bl sub_802527b4 +/* 8025277C 0024F6DC 7F C3 F3 78 */ mr r3, r30 +/* 80252780 0024F6E0 38 80 00 00 */ li r4, 0 +/* 80252784 0024F6E4 4B E2 4D ED */ bl __dt__10CPatternedFv +/* 80252788 0024F6E8 7F E0 07 35 */ extsh. r0, r31 +/* 8025278C 0024F6EC 40 81 00 0C */ ble lbl_80252798 +/* 80252790 0024F6F0 7F C3 F3 78 */ mr r3, r30 +/* 80252794 0024F6F4 48 0C 31 9D */ bl Free__7CMemoryFPCv +lbl_80252798: +/* 80252798 0024F6F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025279C 0024F6FC 7F C3 F3 78 */ mr r3, r30 +/* 802527A0 0024F700 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802527A4 0024F704 83 C1 00 08 */ lwz r30, 8(r1) +/* 802527A8 0024F708 7C 08 03 A6 */ mtlr r0 +/* 802527AC 0024F70C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802527B0 0024F710 4E 80 00 20 */ blr + +.global sub_802527b4 +sub_802527b4: +/* 802527B4 0024F714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802527B8 0024F718 7C 08 02 A6 */ mflr r0 +/* 802527BC 0024F71C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802527C0 0024F720 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802527C4 0024F724 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802527C8 0024F728 41 82 00 E0 */ beq lbl_802528A8 +/* 802527CC 0024F72C 34 1F 02 B4 */ addic. r0, r31, 0x2b4 +/* 802527D0 0024F730 41 82 00 40 */ beq lbl_80252810 +/* 802527D4 0024F734 34 1F 03 34 */ addic. r0, r31, 0x334 +/* 802527D8 0024F738 41 82 00 10 */ beq lbl_802527E8 +/* 802527DC 0024F73C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802527E0 0024F740 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802527E4 0024F744 90 1F 03 34 */ stw r0, 0x334(r31) +lbl_802527E8: +/* 802527E8 0024F748 34 1F 02 F8 */ addic. r0, r31, 0x2f8 +/* 802527EC 0024F74C 41 82 00 10 */ beq lbl_802527FC +/* 802527F0 0024F750 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 802527F4 0024F754 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 802527F8 0024F758 90 1F 02 F8 */ stw r0, 0x2f8(r31) +lbl_802527FC: +/* 802527FC 0024F75C 34 1F 02 BC */ addic. r0, r31, 0x2bc +/* 80252800 0024F760 41 82 00 10 */ beq lbl_80252810 +/* 80252804 0024F764 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252808 0024F768 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025280C 0024F76C 90 1F 02 BC */ stw r0, 0x2bc(r31) +lbl_80252810: +/* 80252810 0024F770 34 1F 01 C0 */ addic. r0, r31, 0x1c0 +/* 80252814 0024F774 41 82 00 40 */ beq lbl_80252854 +/* 80252818 0024F778 34 1F 02 40 */ addic. r0, r31, 0x240 +/* 8025281C 0024F77C 41 82 00 10 */ beq lbl_8025282C +/* 80252820 0024F780 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252824 0024F784 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252828 0024F788 90 1F 02 40 */ stw r0, 0x240(r31) +lbl_8025282C: +/* 8025282C 0024F78C 34 1F 02 04 */ addic. r0, r31, 0x204 +/* 80252830 0024F790 41 82 00 10 */ beq lbl_80252840 +/* 80252834 0024F794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252838 0024F798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025283C 0024F79C 90 1F 02 04 */ stw r0, 0x204(r31) +lbl_80252840: +/* 80252840 0024F7A0 34 1F 01 C8 */ addic. r0, r31, 0x1c8 +/* 80252844 0024F7A4 41 82 00 10 */ beq lbl_80252854 +/* 80252848 0024F7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025284C 0024F7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252850 0024F7B0 90 1F 01 C8 */ stw r0, 0x1c8(r31) +lbl_80252854: +/* 80252854 0024F7B4 34 1F 00 CC */ addic. r0, r31, 0xcc +/* 80252858 0024F7B8 41 82 00 40 */ beq lbl_80252898 +/* 8025285C 0024F7BC 34 1F 01 4C */ addic. r0, r31, 0x14c +/* 80252860 0024F7C0 41 82 00 10 */ beq lbl_80252870 +/* 80252864 0024F7C4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252868 0024F7C8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025286C 0024F7CC 90 1F 01 4C */ stw r0, 0x14c(r31) +lbl_80252870: +/* 80252870 0024F7D0 34 1F 01 10 */ addic. r0, r31, 0x110 +/* 80252874 0024F7D4 41 82 00 10 */ beq lbl_80252884 +/* 80252878 0024F7D8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025287C 0024F7DC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252880 0024F7E0 90 1F 01 10 */ stw r0, 0x110(r31) +lbl_80252884: +/* 80252884 0024F7E4 34 1F 00 D4 */ addic. r0, r31, 0xd4 +/* 80252888 0024F7E8 41 82 00 10 */ beq lbl_80252898 +/* 8025288C 0024F7EC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 80252890 0024F7F0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 80252894 0024F7F4 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_80252898: +/* 80252898 0024F7F8 7C 80 07 35 */ extsh. r0, r4 +/* 8025289C 0024F7FC 40 81 00 0C */ ble lbl_802528A8 +/* 802528A0 0024F800 7F E3 FB 78 */ mr r3, r31 +/* 802528A4 0024F804 48 0C 30 8D */ bl Free__7CMemoryFPCv +lbl_802528A8: +/* 802528A8 0024F808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802528AC 0024F80C 7F E3 FB 78 */ mr r3, r31 +/* 802528B0 0024F810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802528B4 0024F814 7C 08 03 A6 */ mtlr r0 +/* 802528B8 0024F818 38 21 00 10 */ addi r1, r1, 0x10 +/* 802528BC 0024F81C 4E 80 00 20 */ blr + +.global GetGravityConstant__7CRidleyCFv +GetGravityConstant__7CRidleyCFv: +/* 802528C0 0024F820 C0 22 B9 0C */ lfs f1, lbl_805AD62C@sda21(r2) +/* 802528C4 0024F824 4E 80 00 20 */ blr + +.global GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 802528C8 0024F828 38 60 00 10 */ li r3, 0x10 +/* 802528CC 0024F82C 4E 80 00 20 */ blr + +.global SetAIStage__7CRidleyFR13CStateManagerf +SetAIStage__7CRidleyFR13CStateManagerf: +/* 802528D0 0024F830 FC 00 08 1E */ fctiwz f0, f1 +/* 802528D4 0024F834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802528D8 0024F838 D8 01 00 08 */ stfd f0, 8(r1) +/* 802528DC 0024F83C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802528E0 0024F840 90 03 0C 64 */ stw r0, 0xc64(r3) +/* 802528E4 0024F844 38 60 00 01 */ li r3, 1 +/* 802528E8 0024F848 38 21 00 10 */ addi r1, r1, 0x10 +/* 802528EC 0024F84C 4E 80 00 20 */ blr + +.global HitSomething__7CRidleyFR13CStateManagerf +HitSomething__7CRidleyFR13CStateManagerf: +/* 802528F0 0024F850 88 03 0A 32 */ lbz r0, 0xa32(r3) +/* 802528F4 0024F854 38 80 00 00 */ li r4, 0 +/* 802528F8 0024F858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802528FC 0024F85C 40 82 00 10 */ bne lbl_8025290C +/* 80252900 0024F860 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252904 0024F864 2C 00 00 03 */ cmpwi r0, 3 +/* 80252908 0024F868 40 82 00 08 */ bne lbl_80252910 +lbl_8025290C: +/* 8025290C 0024F86C 38 80 00 01 */ li r4, 1 +lbl_80252910: +/* 80252910 0024F870 7C 83 23 78 */ mr r3, r4 +/* 80252914 0024F874 4E 80 00 20 */ blr + +.global Attacked__7CRidleyFR13CStateManagerf +Attacked__7CRidleyFR13CStateManagerf: +/* 80252918 0024F878 88 83 0A 31 */ lbz r4, 0xa31(r3) +/* 8025291C 0024F87C 38 60 00 00 */ li r3, 0 +/* 80252920 0024F880 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80252924 0024F884 4D 82 00 20 */ beqlr +/* 80252928 0024F888 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8025292C 0024F88C 4D 82 00 20 */ beqlr +/* 80252930 0024F890 38 60 00 01 */ li r3, 1 +/* 80252934 0024F894 4E 80 00 20 */ blr + +.global ShotAt__7CRidleyFR13CStateManagerf +ShotAt__7CRidleyFR13CStateManagerf: +/* 80252938 0024F898 88 03 0A 32 */ lbz r0, 0xa32(r3) +/* 8025293C 0024F89C 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 80252940 0024F8A0 4E 80 00 20 */ blr + +.global IsDizzy__7CRidleyFR13CStateManagerf +IsDizzy__7CRidleyFR13CStateManagerf: +/* 80252944 0024F8A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252948 0024F8A8 7C 08 02 A6 */ mflr r0 +/* 8025294C 0024F8AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252950 0024F8B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252954 0024F8B4 7C 7F 1B 78 */ mr r31, r3 +/* 80252958 0024F8B8 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 8025295C 0024F8BC 2C 00 00 03 */ cmpwi r0, 3 +/* 80252960 0024F8C0 40 82 00 0C */ bne lbl_8025296C +/* 80252964 0024F8C4 38 60 00 01 */ li r3, 1 +/* 80252968 0024F8C8 48 00 00 A8 */ b lbl_80252A10 +lbl_8025296C: +/* 8025296C 0024F8CC 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252970 0024F8D0 2C 00 00 03 */ cmpwi r0, 3 +/* 80252974 0024F8D4 41 82 00 98 */ beq lbl_80252A0C +/* 80252978 0024F8D8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8025297C 0024F8DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252980 0024F8E0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252984 0024F8E4 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252988 0024F8E8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025298C 0024F8EC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252990 0024F8F0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252994 0024F8F4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252998 0024F8F8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025299C 0024F8FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 802529A0 0024F900 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802529A4 0024F904 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802529A8 0024F908 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802529AC 0024F90C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802529B0 0024F910 48 0C 1F 09 */ bl Magnitude__9CVector3fCFv +/* 802529B4 0024F914 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 802529B8 0024F918 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802529BC 0024F91C 40 80 00 50 */ bge lbl_80252A0C +/* 802529C0 0024F920 C0 9F 00 48 */ lfs f4, 0x48(r31) +/* 802529C4 0024F924 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802529C8 0024F928 C0 7F 00 38 */ lfs f3, 0x38(r31) +/* 802529CC 0024F92C EC 00 01 32 */ fmuls f0, f0, f4 +/* 802529D0 0024F930 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802529D4 0024F934 C0 BF 00 58 */ lfs f5, 0x58(r31) +/* 802529D8 0024F938 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802529DC 0024F93C EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 802529E0 0024F940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802529E4 0024F944 D0 61 00 08 */ stfs f3, 8(r1) +/* 802529E8 0024F948 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 802529EC 0024F94C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802529F0 0024F950 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802529F4 0024F954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802529F8 0024F958 40 80 00 14 */ bge lbl_80252A0C +/* 802529FC 0024F95C 38 00 00 03 */ li r0, 3 +/* 80252A00 0024F960 38 60 00 01 */ li r3, 1 +/* 80252A04 0024F964 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252A08 0024F968 48 00 00 08 */ b lbl_80252A10 +lbl_80252A0C: +/* 80252A0C 0024F96C 38 60 00 00 */ li r3, 0 +lbl_80252A10: +/* 80252A10 0024F970 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252A14 0024F974 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252A18 0024F978 7C 08 03 A6 */ mtlr r0 +/* 80252A1C 0024F97C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252A20 0024F980 4E 80 00 20 */ blr + +.global ShouldMove__7CRidleyFR13CStateManagerf +ShouldMove__7CRidleyFR13CStateManagerf: +/* 80252A24 0024F984 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252A28 0024F988 7C 08 02 A6 */ mflr r0 +/* 80252A2C 0024F98C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252A30 0024F990 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252A34 0024F994 7C 7F 1B 78 */ mr r31, r3 +/* 80252A38 0024F998 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252A3C 0024F99C 2C 00 00 05 */ cmpwi r0, 5 +/* 80252A40 0024F9A0 40 82 00 1C */ bne lbl_80252A5C +/* 80252A44 0024F9A4 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80252A48 0024F9A8 38 60 00 01 */ li r3, 1 +/* 80252A4C 0024F9AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80252A50 0024F9B0 38 60 00 01 */ li r3, 1 +/* 80252A54 0024F9B4 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80252A58 0024F9B8 48 00 00 CC */ b lbl_80252B24 +lbl_80252A5C: +/* 80252A5C 0024F9BC 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252A60 0024F9C0 2C 00 00 05 */ cmpwi r0, 5 +/* 80252A64 0024F9C4 41 82 00 BC */ beq lbl_80252B20 +/* 80252A68 0024F9C8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80252A6C 0024F9CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252A70 0024F9D0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252A74 0024F9D4 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252A78 0024F9D8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80252A7C 0024F9DC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252A80 0024F9E0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252A84 0024F9E4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252A88 0024F9E8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80252A8C 0024F9EC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80252A90 0024F9F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80252A94 0024F9F4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80252A98 0024F9F8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80252A9C 0024F9FC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252AA0 0024FA00 48 0C 1E 19 */ bl Magnitude__9CVector3fCFv +/* 80252AA4 0024FA04 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 80252AA8 0024FA08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252AAC 0024FA0C 40 81 00 74 */ ble lbl_80252B20 +/* 80252AB0 0024FA10 C0 BF 00 48 */ lfs f5, 0x48(r31) +/* 80252AB4 0024FA14 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80252AB8 0024FA18 C0 9F 00 38 */ lfs f4, 0x38(r31) +/* 80252ABC 0024FA1C EC 40 01 72 */ fmuls f2, f0, f5 +/* 80252AC0 0024FA20 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80252AC4 0024FA24 C0 DF 00 58 */ lfs f6, 0x58(r31) +/* 80252AC8 0024FA28 C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 80252ACC 0024FA2C EC 43 11 3A */ fmadds f2, f3, f4, f2 +/* 80252AD0 0024FA30 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80252AD4 0024FA34 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80252AD8 0024FA38 D0 81 00 08 */ stfs f4, 8(r1) +/* 80252ADC 0024FA3C EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 80252AE0 0024FA40 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80252AE4 0024FA44 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80252AE8 0024FA48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252AEC 0024FA4C 40 81 00 34 */ ble lbl_80252B20 +/* 80252AF0 0024FA50 7F E3 FB 78 */ mr r3, r31 +/* 80252AF4 0024FA54 48 00 0E 6D */ bl sub_80253960 +/* 80252AF8 0024FA58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80252AFC 0024FA5C 41 82 00 24 */ beq lbl_80252B20 +/* 80252B00 0024FA60 88 7F 0A 34 */ lbz r3, 0xa34(r31) +/* 80252B04 0024FA64 38 00 00 01 */ li r0, 1 +/* 80252B08 0024FA68 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 80252B0C 0024FA6C 38 00 00 05 */ li r0, 5 +/* 80252B10 0024FA70 98 7F 0A 34 */ stb r3, 0xa34(r31) +/* 80252B14 0024FA74 38 60 00 01 */ li r3, 1 +/* 80252B18 0024FA78 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252B1C 0024FA7C 48 00 00 08 */ b lbl_80252B24 +lbl_80252B20: +/* 80252B20 0024FA80 38 60 00 00 */ li r3, 0 +lbl_80252B24: +/* 80252B24 0024FA84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252B28 0024FA88 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252B2C 0024FA8C 7C 08 03 A6 */ mtlr r0 +/* 80252B30 0024FA90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252B34 0024FA94 4E 80 00 20 */ blr + +.global TooClose__7CRidleyFR13CStateManagerf +TooClose__7CRidleyFR13CStateManagerf: +/* 80252B38 0024FA98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80252B3C 0024FA9C 7C 08 02 A6 */ mflr r0 +/* 80252B40 0024FAA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80252B44 0024FAA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80252B48 0024FAA8 7C 7F 1B 78 */ mr r31, r3 +/* 80252B4C 0024FAAC 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252B50 0024FAB0 2C 00 00 04 */ cmpwi r0, 4 +/* 80252B54 0024FAB4 40 82 00 0C */ bne lbl_80252B60 +/* 80252B58 0024FAB8 38 60 00 01 */ li r3, 1 +/* 80252B5C 0024FABC 48 00 00 AC */ b lbl_80252C08 +lbl_80252B60: +/* 80252B60 0024FAC0 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80252B64 0024FAC4 2C 00 00 04 */ cmpwi r0, 4 +/* 80252B68 0024FAC8 41 82 00 9C */ beq lbl_80252C04 +/* 80252B6C 0024FACC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80252B70 0024FAD0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252B74 0024FAD4 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80252B78 0024FAD8 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80252B7C 0024FADC C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80252B80 0024FAE0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80252B84 0024FAE4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252B88 0024FAE8 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80252B8C 0024FAEC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80252B90 0024FAF0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80252B94 0024FAF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80252B98 0024FAF8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80252B9C 0024FAFC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80252BA0 0024FB00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252BA4 0024FB04 48 0C 1D 15 */ bl Magnitude__9CVector3fCFv +/* 80252BA8 0024FB08 C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 80252BAC 0024FB0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252BB0 0024FB10 40 80 00 54 */ bge lbl_80252C04 +/* 80252BB4 0024FB14 C0 BF 00 48 */ lfs f5, 0x48(r31) +/* 80252BB8 0024FB18 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80252BBC 0024FB1C C0 9F 00 38 */ lfs f4, 0x38(r31) +/* 80252BC0 0024FB20 EC 40 01 72 */ fmuls f2, f0, f5 +/* 80252BC4 0024FB24 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80252BC8 0024FB28 C0 DF 00 58 */ lfs f6, 0x58(r31) +/* 80252BCC 0024FB2C C0 02 B9 20 */ lfs f0, lbl_805AD640@sda21(r2) +/* 80252BD0 0024FB30 EC 43 11 3A */ fmadds f2, f3, f4, f2 +/* 80252BD4 0024FB34 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80252BD8 0024FB38 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80252BDC 0024FB3C D0 81 00 08 */ stfs f4, 8(r1) +/* 80252BE0 0024FB40 EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 80252BE4 0024FB44 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80252BE8 0024FB48 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80252BEC 0024FB4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252BF0 0024FB50 40 81 00 14 */ ble lbl_80252C04 +/* 80252BF4 0024FB54 38 00 00 04 */ li r0, 4 +/* 80252BF8 0024FB58 38 60 00 01 */ li r3, 1 +/* 80252BFC 0024FB5C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 80252C00 0024FB60 48 00 00 08 */ b lbl_80252C08 +lbl_80252C04: +/* 80252C04 0024FB64 38 60 00 00 */ li r3, 0 +lbl_80252C08: +/* 80252C08 0024FB68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80252C0C 0024FB6C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80252C10 0024FB70 7C 08 03 A6 */ mtlr r0 +/* 80252C14 0024FB74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80252C18 0024FB78 4E 80 00 20 */ blr + +.global AttackOver__7CRidleyFR13CStateManagerf +AttackOver__7CRidleyFR13CStateManagerf: +/* 80252C1C 0024FB7C 80 03 0C C4 */ lwz r0, 0xcc4(r3) +/* 80252C20 0024FB80 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C24 0024FB84 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C28 0024FB88 4E 80 00 20 */ blr + +.global ShouldTurn__7CRidleyFR13CStateManagerf +ShouldTurn__7CRidleyFR13CStateManagerf: +/* 80252C2C 0024FB8C 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C30 0024FB90 20 00 00 05 */ subfic r0, r0, 5 +/* 80252C34 0024FB94 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C38 0024FB98 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C3C 0024FB9C 4E 80 00 20 */ blr + +.global ShouldDodge__7CRidleyFR13CStateManagerf +ShouldDodge__7CRidleyFR13CStateManagerf: +/* 80252C40 0024FBA0 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C44 0024FBA4 20 00 00 03 */ subfic r0, r0, 3 +/* 80252C48 0024FBA8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C4C 0024FBAC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C50 0024FBB0 4E 80 00 20 */ blr + +.global ShouldRetreat__7CRidleyFR13CStateManagerf +ShouldRetreat__7CRidleyFR13CStateManagerf: +/* 80252C54 0024FBB4 88 03 0A 34 */ lbz r0, 0xa34(r3) +/* 80252C58 0024FBB8 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 80252C5C 0024FBBC 4E 80 00 20 */ blr + +.global ShouldCrouch__7CRidleyFR13CStateManagerf +ShouldCrouch__7CRidleyFR13CStateManagerf: +/* 80252C60 0024FBC0 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252C64 0024FBC4 20 00 00 01 */ subfic r0, r0, 1 +/* 80252C68 0024FBC8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252C6C 0024FBCC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80252C70 0024FBD0 4E 80 00 20 */ blr + +.global InRange__7CRidleyFR13CStateManagerf +InRange__7CRidleyFR13CStateManagerf: +/* 80252C74 0024FBD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80252C78 0024FBD8 7C 08 02 A6 */ mflr r0 +/* 80252C7C 0024FBDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80252C80 0024FBE0 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 80252C84 0024FBE4 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 80252C88 0024FBE8 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80252C8C 0024FBEC C0 43 02 E4 */ lfs f2, 0x2e4(r3) +/* 80252C90 0024FBF0 C0 23 02 E8 */ lfs f1, 0x2e8(r3) +/* 80252C94 0024FBF4 C0 03 02 E0 */ lfs f0, 0x2e0(r3) +/* 80252C98 0024FBF8 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80252C9C 0024FBFC EC 25 08 28 */ fsubs f1, f5, f1 +/* 80252CA0 0024FC00 D0 61 00 08 */ stfs f3, 8(r1) +/* 80252CA4 0024FC04 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80252CA8 0024FC08 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252CAC 0024FC0C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80252CB0 0024FC10 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80252CB4 0024FC14 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80252CB8 0024FC18 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80252CBC 0024FC1C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80252CC0 0024FC20 48 0C 1B F9 */ bl Magnitude__9CVector3fCFv +/* 80252CC4 0024FC24 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80252CC8 0024FC28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252CCC 0024FC2C 7C 00 00 26 */ mfcr r0 +/* 80252CD0 0024FC30 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80252CD4 0024FC34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80252CD8 0024FC38 7C 08 03 A6 */ mtlr r0 +/* 80252CDC 0024FC3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80252CE0 0024FC40 4E 80 00 20 */ blr + +.global AIStage__7CRidleyFR13CStateManagerf +AIStage__7CRidleyFR13CStateManagerf: +/* 80252CE4 0024FC44 FC 00 08 1E */ fctiwz f0, f1 +/* 80252CE8 0024FC48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80252CEC 0024FC4C 80 A3 0C 64 */ lwz r5, 0xc64(r3) +/* 80252CF0 0024FC50 D8 01 00 08 */ stfd f0, 8(r1) +/* 80252CF4 0024FC54 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 80252CF8 0024FC58 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80252CFC 0024FC5C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80252D00 0024FC60 7C 00 28 10 */ subfc r0, r0, r5 +/* 80252D04 0024FC64 7C 64 19 14 */ adde r3, r4, r3 +/* 80252D08 0024FC68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80252D0C 0024FC6C 4E 80 00 20 */ blr + +.global ShouldAttack__7CRidleyFR13CStateManagerf +ShouldAttack__7CRidleyFR13CStateManagerf: +/* 80252D10 0024FC70 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D14 0024FC74 38 80 00 00 */ li r4, 0 +/* 80252D18 0024FC78 2C 00 00 03 */ cmpwi r0, 3 +/* 80252D1C 0024FC7C 41 82 00 24 */ beq lbl_80252D40 +/* 80252D20 0024FC80 40 80 00 30 */ bge lbl_80252D50 +/* 80252D24 0024FC84 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D28 0024FC88 40 80 00 08 */ bge lbl_80252D30 +/* 80252D2C 0024FC8C 48 00 00 24 */ b lbl_80252D50 +lbl_80252D30: +/* 80252D30 0024FC90 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252D34 0024FC94 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D38 0024FC98 54 04 D9 7E */ srwi r4, r0, 5 +/* 80252D3C 0024FC9C 48 00 00 14 */ b lbl_80252D50 +lbl_80252D40: +/* 80252D40 0024FCA0 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252D44 0024FCA4 20 00 00 02 */ subfic r0, r0, 2 +/* 80252D48 0024FCA8 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D4C 0024FCAC 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252D50: +/* 80252D50 0024FCB0 7C 83 23 78 */ mr r3, r4 +/* 80252D54 0024FCB4 4E 80 00 20 */ blr + +.global ShouldFire__7CRidleyFR13CStateManagerf +ShouldFire__7CRidleyFR13CStateManagerf: +/* 80252D58 0024FCB8 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D5C 0024FCBC 38 80 00 00 */ li r4, 0 +/* 80252D60 0024FCC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D64 0024FCC4 41 82 00 08 */ beq lbl_80252D6C +/* 80252D68 0024FCC8 48 00 00 14 */ b lbl_80252D7C +lbl_80252D6C: +/* 80252D6C 0024FCCC 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252D70 0024FCD0 20 00 00 02 */ subfic r0, r0, 2 +/* 80252D74 0024FCD4 7C 00 00 34 */ cntlzw r0, r0 +/* 80252D78 0024FCD8 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252D7C: +/* 80252D7C 0024FCDC 7C 83 23 78 */ mr r3, r4 +/* 80252D80 0024FCE0 4E 80 00 20 */ blr + +.global ShouldTaunt__7CRidleyFR13CStateManagerf +ShouldTaunt__7CRidleyFR13CStateManagerf: +/* 80252D84 0024FCE4 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 80252D88 0024FCE8 38 80 00 00 */ li r4, 0 +/* 80252D8C 0024FCEC 2C 00 00 03 */ cmpwi r0, 3 +/* 80252D90 0024FCF0 41 82 00 28 */ beq lbl_80252DB8 +/* 80252D94 0024FCF4 40 80 00 34 */ bge lbl_80252DC8 +/* 80252D98 0024FCF8 2C 00 00 02 */ cmpwi r0, 2 +/* 80252D9C 0024FCFC 40 80 00 08 */ bge lbl_80252DA4 +/* 80252DA0 0024FD00 48 00 00 28 */ b lbl_80252DC8 +lbl_80252DA4: +/* 80252DA4 0024FD04 80 03 0B 04 */ lwz r0, 0xb04(r3) +/* 80252DA8 0024FD08 20 00 00 04 */ subfic r0, r0, 4 +/* 80252DAC 0024FD0C 7C 00 00 34 */ cntlzw r0, r0 +/* 80252DB0 0024FD10 54 04 D9 7E */ srwi r4, r0, 5 +/* 80252DB4 0024FD14 48 00 00 14 */ b lbl_80252DC8 +lbl_80252DB8: +/* 80252DB8 0024FD18 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80252DBC 0024FD1C 20 00 00 01 */ subfic r0, r0, 1 +/* 80252DC0 0024FD20 7C 00 00 34 */ cntlzw r0, r0 +/* 80252DC4 0024FD24 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80252DC8: +/* 80252DC8 0024FD28 7C 83 23 78 */ mr r3, r4 +/* 80252DCC 0024FD2C 4E 80 00 20 */ blr + +.global Dead__7CRidleyFR13CStateManager9EStateMsgf +Dead__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252DD0 0024FD30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80252DD4 0024FD34 7C 08 02 A6 */ mflr r0 +/* 80252DD8 0024FD38 2C 05 00 00 */ cmpwi r5, 0 +/* 80252DDC 0024FD3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80252DE0 0024FD40 41 82 00 0C */ beq lbl_80252DEC +/* 80252DE4 0024FD44 41 80 00 24 */ blt lbl_80252E08 +/* 80252DE8 0024FD48 48 00 00 20 */ b lbl_80252E08 +lbl_80252DEC: +/* 80252DEC 0024FD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80252DF0 0024FD50 7C 83 23 78 */ mr r3, r4 +/* 80252DF4 0024FD54 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80252DF8 0024FD58 38 81 00 08 */ addi r4, r1, 8 +/* 80252DFC 0024FD5C B0 01 00 08 */ sth r0, 8(r1) +/* 80252E00 0024FD60 38 A0 00 00 */ li r5, 0 +/* 80252E04 0024FD64 4B DF 11 41 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +lbl_80252E08: +/* 80252E08 0024FD68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80252E0C 0024FD6C 7C 08 03 A6 */ mtlr r0 +/* 80252E10 0024FD70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80252E14 0024FD74 4E 80 00 20 */ blr + +.global CoverAttack__7CRidleyFR13CStateManager9EStateMsgf +CoverAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252E18 0024FD78 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80252E1C 0024FD7C 7C 08 02 A6 */ mflr r0 +/* 80252E20 0024FD80 2C 05 00 01 */ cmpwi r5, 1 +/* 80252E24 0024FD84 90 01 00 44 */ stw r0, 0x44(r1) +/* 80252E28 0024FD88 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80252E2C 0024FD8C 7C 7F 1B 78 */ mr r31, r3 +/* 80252E30 0024FD90 41 82 00 88 */ beq lbl_80252EB8 +/* 80252E34 0024FD94 40 80 00 10 */ bge lbl_80252E44 +/* 80252E38 0024FD98 2C 05 00 00 */ cmpwi r5, 0 +/* 80252E3C 0024FD9C 40 80 00 14 */ bge lbl_80252E50 +/* 80252E40 0024FDA0 48 00 01 20 */ b lbl_80252F60 +lbl_80252E44: +/* 80252E44 0024FDA4 2C 05 00 03 */ cmpwi r5, 3 +/* 80252E48 0024FDA8 40 80 01 18 */ bge lbl_80252F60 +/* 80252E4C 0024FDAC 48 00 00 A0 */ b lbl_80252EEC +lbl_80252E50: +/* 80252E50 0024FDB0 38 00 00 01 */ li r0, 1 +/* 80252E54 0024FDB4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252E58 0024FDB8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80252E5C 0024FDBC C0 3F 09 54 */ lfs f1, 0x954(r31) +/* 80252E60 0024FDC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80252E64 0024FDC4 7C A0 00 26 */ mfcr r5 +/* 80252E68 0024FDC8 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80252E6C 0024FDCC 50 A0 2F 38 */ rlwimi r0, r5, 5, 0x1c, 0x1c +/* 80252E70 0024FDD0 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80252E74 0024FDD4 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80252E78 0024FDD8 80 BF 09 38 */ lwz r5, 0x938(r31) +/* 80252E7C 0024FDDC 80 1F 09 3C */ lwz r0, 0x93c(r31) +/* 80252E80 0024FDE0 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 80252E84 0024FDE4 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80252E88 0024FDE8 C0 1F 09 40 */ lfs f0, 0x940(r31) +/* 80252E8C 0024FDEC D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80252E90 0024FDF0 C0 1F 09 44 */ lfs f0, 0x944(r31) +/* 80252E94 0024FDF4 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80252E98 0024FDF8 C0 1F 09 48 */ lfs f0, 0x948(r31) +/* 80252E9C 0024FDFC D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80252EA0 0024FE00 C0 1F 09 4C */ lfs f0, 0x94c(r31) +/* 80252EA4 0024FE04 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80252EA8 0024FE08 88 1F 09 50 */ lbz r0, 0x950(r31) +/* 80252EAC 0024FE0C 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80252EB0 0024FE10 48 00 36 D1 */ bl sub_80256580 +/* 80252EB4 0024FE14 48 00 00 AC */ b lbl_80252F60 +lbl_80252EB8: +/* 80252EB8 0024FE18 3C A0 80 3F */ lis r5, lbl_803E924C@ha +/* 80252EBC 0024FE1C 38 C1 00 08 */ addi r6, r1, 8 +/* 80252EC0 0024FE20 39 45 92 4C */ addi r10, r5, lbl_803E924C@l +/* 80252EC4 0024FE24 38 A0 00 07 */ li r5, 7 +/* 80252EC8 0024FE28 81 2A 00 00 */ lwz r9, 0(r10) +/* 80252ECC 0024FE2C 38 E0 00 01 */ li r7, 1 +/* 80252ED0 0024FE30 81 0A 00 04 */ lwz r8, 4(r10) +/* 80252ED4 0024FE34 80 0A 00 08 */ lwz r0, 8(r10) +/* 80252ED8 0024FE38 91 21 00 08 */ stw r9, 8(r1) +/* 80252EDC 0024FE3C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80252EE0 0024FE40 90 01 00 10 */ stw r0, 0x10(r1) +/* 80252EE4 0024FE44 4B E2 98 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80252EE8 0024FE48 48 00 00 78 */ b lbl_80252F60 +lbl_80252EEC: +/* 80252EEC 0024FE4C 38 A0 00 00 */ li r5, 0 +/* 80252EF0 0024FE50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252EF4 0024FE54 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 80252EF8 0024FE58 7F E4 FB 78 */ mr r4, r31 +/* 80252EFC 0024FE5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252F00 0024FE60 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80252F04 0024FE64 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80252F08 0024FE68 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80252F0C 0024FE6C D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80252F10 0024FE70 81 9F 00 00 */ lwz r12, 0(r31) +/* 80252F14 0024FE74 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80252F18 0024FE78 7D 89 03 A6 */ mtctr r12 +/* 80252F1C 0024FE7C 4E 80 04 21 */ bctrl +/* 80252F20 0024FE80 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80252F24 0024FE84 7F E3 FB 78 */ mr r3, r31 +/* 80252F28 0024FE88 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80252F2C 0024FE8C 90 9F 0C 8C */ stw r4, 0xc8c(r31) +/* 80252F30 0024FE90 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80252F34 0024FE94 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80252F38 0024FE98 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80252F3C 0024FE9C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80252F40 0024FEA0 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80252F44 0024FEA4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80252F48 0024FEA8 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80252F4C 0024FEAC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80252F50 0024FEB0 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80252F54 0024FEB4 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 80252F58 0024FEB8 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80252F5C 0024FEBC 48 00 36 21 */ bl nullsub_53 +lbl_80252F60: +/* 80252F60 0024FEC0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80252F64 0024FEC4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80252F68 0024FEC8 7C 08 03 A6 */ mtlr r0 +/* 80252F6C 0024FECC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80252F70 0024FED0 4E 80 00 20 */ blr + +.global Dodge__7CRidleyFR13CStateManager9EStateMsgf +Dodge__7CRidleyFR13CStateManager9EStateMsgf: +/* 80252F74 0024FED4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80252F78 0024FED8 7C 08 02 A6 */ mflr r0 +/* 80252F7C 0024FEDC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80252F80 0024FEE0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80252F84 0024FEE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80252F88 0024FEE8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80252F8C 0024FEEC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80252F90 0024FEF0 FF E0 08 90 */ fmr f31, f1 +/* 80252F94 0024FEF4 2C 05 00 01 */ cmpwi r5, 1 +/* 80252F98 0024FEF8 7C 7E 1B 78 */ mr r30, r3 +/* 80252F9C 0024FEFC 7C 9F 23 78 */ mr r31, r4 +/* 80252FA0 0024FF00 41 82 00 E0 */ beq lbl_80253080 +/* 80252FA4 0024FF04 40 80 00 10 */ bge lbl_80252FB4 +/* 80252FA8 0024FF08 2C 05 00 00 */ cmpwi r5, 0 +/* 80252FAC 0024FF0C 40 80 00 14 */ bge lbl_80252FC0 +/* 80252FB0 0024FF10 48 00 02 3C */ b lbl_802531EC +lbl_80252FB4: +/* 80252FB4 0024FF14 2C 05 00 03 */ cmpwi r5, 3 +/* 80252FB8 0024FF18 40 80 02 34 */ bge lbl_802531EC +/* 80252FBC 0024FF1C 48 00 02 28 */ b lbl_802531E4 +lbl_80252FC0: +/* 80252FC0 0024FF20 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80252FC4 0024FF24 38 61 00 14 */ addi r3, r1, 0x14 +/* 80252FC8 0024FF28 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80252FCC 0024FF2C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80252FD0 0024FF30 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80252FD4 0024FF34 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80252FD8 0024FF38 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80252FDC 0024FF3C 48 0C 12 25 */ bl __ct__9CVector2fFff +/* 80252FE0 0024FF40 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80252FE4 0024FF44 38 61 00 70 */ addi r3, r1, 0x70 +/* 80252FE8 0024FF48 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80252FEC 0024FF4C 38 81 00 64 */ addi r4, r1, 0x64 +/* 80252FF0 0024FF50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80252FF4 0024FF54 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80252FF8 0024FF58 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80252FFC 0024FF5C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80253000 0024FF60 48 0C 18 51 */ bl AsNormalized__9CVector3fCFv +/* 80253004 0024FF64 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80253008 0024FF68 38 81 00 08 */ addi r4, r1, 8 +/* 8025300C 0024FF6C C0 1E 0A 94 */ lfs f0, 0xa94(r30) +/* 80253010 0024FF70 38 6D 97 B4 */ addi r3, r13, lbl_805A8374@sda21 +/* 80253014 0024FF74 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80253018 0024FF78 38 AD 97 B8 */ addi r5, r13, lbl_805A8378@sda21 +/* 8025301C 0024FF7C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253020 0024FF80 C0 3E 0A 84 */ lfs f1, 0xa84(r30) +/* 80253024 0024FF84 C0 81 00 78 */ lfs f4, 0x78(r1) +/* 80253028 0024FF88 C0 7E 0A A4 */ lfs f3, 0xaa4(r30) +/* 8025302C 0024FF8C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80253030 0024FF90 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 80253034 0024FF94 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253038 0024FF98 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025303C 0024FF9C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80253040 0024FFA0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80253044 0024FFA4 4B DB 92 71 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80253048 0024FFA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8025304C 0024FFAC 38 00 00 02 */ li r0, 2 +/* 80253050 0024FFB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80253054 0024FFB4 90 1E 0C 84 */ stw r0, 0xc84(r30) +/* 80253058 0024FFB8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8025305C 0024FFBC 48 0B F4 81 */ bl Float__9CRandom16Fv +/* 80253060 0024FFC0 C0 01 00 08 */ lfs f0, 8(r1) +/* 80253064 0024FFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253068 0024FFC8 40 80 00 0C */ bge lbl_80253074 +/* 8025306C 0024FFCC 38 00 00 03 */ li r0, 3 +/* 80253070 0024FFD0 90 1E 0C 84 */ stw r0, 0xc84(r30) +lbl_80253074: +/* 80253074 0024FFD4 38 00 00 01 */ li r0, 1 +/* 80253078 0024FFD8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025307C 0024FFDC 48 00 01 70 */ b lbl_802531EC +lbl_80253080: +/* 80253080 0024FFE0 3C A0 80 3F */ lis r5, lbl_803E9240@ha +/* 80253084 0024FFE4 38 C1 00 58 */ addi r6, r1, 0x58 +/* 80253088 0024FFE8 39 25 92 40 */ addi r9, r5, lbl_803E9240@l +/* 8025308C 0024FFEC 38 A0 00 03 */ li r5, 3 +/* 80253090 0024FFF0 81 09 00 00 */ lwz r8, 0(r9) +/* 80253094 0024FFF4 80 E9 00 04 */ lwz r7, 4(r9) +/* 80253098 0024FFF8 80 09 00 08 */ lwz r0, 8(r9) +/* 8025309C 0024FFFC 91 01 00 58 */ stw r8, 0x58(r1) +/* 802530A0 00250000 90 E1 00 5C */ stw r7, 0x5c(r1) +/* 802530A4 00250004 90 01 00 60 */ stw r0, 0x60(r1) +/* 802530A8 00250008 80 FE 0C 84 */ lwz r7, 0xc84(r30) +/* 802530AC 0025000C 4B E2 97 09 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802530B0 00250010 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 802530B4 00250014 2C 00 00 03 */ cmpwi r0, 3 +/* 802530B8 00250018 40 82 00 CC */ bne lbl_80253184 +/* 802530BC 0025001C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 802530C0 00250020 38 61 00 0C */ addi r3, r1, 0xc +/* 802530C4 00250024 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 802530C8 00250028 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 802530CC 0025002C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 802530D0 00250030 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802530D4 00250034 EC 42 00 28 */ fsubs f2, f2, f0 +/* 802530D8 00250038 48 0C 11 29 */ bl __ct__9CVector2fFff +/* 802530DC 0025003C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802530E0 00250040 38 61 00 4C */ addi r3, r1, 0x4c +/* 802530E4 00250044 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802530E8 00250048 38 81 00 40 */ addi r4, r1, 0x40 +/* 802530EC 0025004C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802530F0 00250050 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802530F4 00250054 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802530F8 00250058 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802530FC 0025005C 48 0C 17 55 */ bl AsNormalized__9CVector3fCFv +/* 80253100 00250060 C0 5E 0A BC */ lfs f2, 0xabc(r30) +/* 80253104 00250064 38 61 00 7C */ addi r3, r1, 0x7c +/* 80253108 00250068 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8025310C 0025006C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80253110 00250070 EC 82 00 72 */ fmuls f4, f2, f1 +/* 80253114 00250074 C0 BE 0A A0 */ lfs f5, 0xaa0(r30) +/* 80253118 00250078 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8025311C 0025007C C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80253120 00250080 C0 7E 0A B0 */ lfs f3, 0xab0(r30) +/* 80253124 00250084 C0 5E 0A C0 */ lfs f2, 0xac0(r30) +/* 80253128 00250088 EC A5 20 2A */ fadds f5, f5, f4 +/* 8025312C 0025008C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80253130 00250090 EC 63 10 2A */ fadds f3, f3, f2 +/* 80253134 00250094 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80253138 00250098 EC 21 00 2A */ fadds f1, f1, f0 +/* 8025313C 0025009C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80253140 002500A0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80253144 002500A4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80253148 002500A8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025314C 002500AC D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80253150 002500B0 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80253154 002500B4 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 80253158 002500B8 48 0C 17 61 */ bl Magnitude__9CVector3fCFv +/* 8025315C 002500BC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253160 002500C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253164 002500C4 40 81 00 0C */ ble lbl_80253170 +/* 80253168 002500C8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025316C 002500CC 48 0C 17 8D */ bl Normalize__9CVector3fFv +lbl_80253170: +/* 80253170 002500D0 FC 40 F8 90 */ fmr f2, f31 +/* 80253174 002500D4 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) +/* 80253178 002500D8 7F C3 F3 78 */ mr r3, r30 +/* 8025317C 002500DC 38 81 00 7C */ addi r4, r1, 0x7c +/* 80253180 002500E0 48 00 2E 69 */ bl sub_80255fe8 +lbl_80253184: +/* 80253184 002500E4 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 80253188 002500E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025318C 002500EC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80253190 002500F0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80253194 002500F4 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80253198 002500F8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8025319C 002500FC EC 24 00 28 */ fsubs f1, f4, f0 +/* 802531A0 00250100 C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 802531A4 00250104 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 802531A8 00250108 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802531AC 0025010C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802531B0 00250110 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802531B4 00250114 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802531B8 00250118 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802531BC 0025011C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802531C0 00250120 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802531C4 00250124 83 FE 04 50 */ lwz r31, 0x450(r30) +/* 802531C8 00250128 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802531CC 0025012C 48 0C 16 85 */ bl AsNormalized__9CVector3fCFv +/* 802531D0 00250130 FC 20 F8 90 */ fmr f1, f31 +/* 802531D4 00250134 7F E3 FB 78 */ mr r3, r31 +/* 802531D8 00250138 38 81 00 34 */ addi r4, r1, 0x34 +/* 802531DC 0025013C 4B EE 74 C9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 802531E0 00250140 48 00 00 0C */ b lbl_802531EC +lbl_802531E4: +/* 802531E4 00250144 38 00 00 00 */ li r0, 0 +/* 802531E8 00250148 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_802531EC: +/* 802531EC 0025014C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 802531F0 00250150 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802531F4 00250154 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 802531F8 00250158 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 802531FC 0025015C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80253200 00250160 7C 08 03 A6 */ mtlr r0 +/* 80253204 00250164 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80253208 00250168 4E 80 00 20 */ blr + +.global Hurled__7CRidleyFR13CStateManager9EStateMsgf +Hurled__7CRidleyFR13CStateManager9EStateMsgf: +/* 8025320C 0025016C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253210 00250170 7C 08 02 A6 */ mflr r0 +/* 80253214 00250174 2C 05 00 00 */ cmpwi r5, 0 +/* 80253218 00250178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025321C 0025017C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253220 00250180 7C 7F 1B 78 */ mr r31, r3 +/* 80253224 00250184 41 82 00 0C */ beq lbl_80253230 +/* 80253228 00250188 41 80 00 9C */ blt lbl_802532C4 +/* 8025322C 0025018C 48 00 00 98 */ b lbl_802532C4 +lbl_80253230: +/* 80253230 00250190 48 00 44 21 */ bl sub_80257650 +/* 80253234 00250194 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80253238 00250198 38 A0 00 04 */ li r5, 4 +/* 8025323C 0025019C 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 80253240 002501A0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80253244 002501A4 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80253248 002501A8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8025324C 002501AC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80253250 002501B0 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l +/* 80253254 002501B4 90 81 00 08 */ stw r4, 8(r1) +/* 80253258 002501B8 38 80 00 04 */ li r4, 4 +/* 8025325C 002501BC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80253260 002501C0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80253264 002501C4 3B E3 00 04 */ addi r31, r3, 4 +/* 80253268 002501C8 90 01 00 08 */ stw r0, 8(r1) +/* 8025326C 002501CC 7F E3 FB 78 */ mr r3, r31 +/* 80253270 002501D0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80253274 002501D4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80253278 002501D8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025327C 002501DC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80253280 002501E0 4B ED E1 B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80253284 002501E4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80253288 002501E8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 8025328C 002501EC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 80253290 002501F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80253294 002501F4 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 80253298 002501F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8025329C 002501FC 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 802532A0 00250200 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802532A4 00250204 90 BF 00 FC */ stw r5, 0xfc(r31) +/* 802532A8 00250208 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 802532AC 0025020C 90 7F 01 00 */ stw r3, 0x100(r31) +/* 802532B0 00250210 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802532B4 00250214 90 BF 01 04 */ stw r5, 0x104(r31) +/* 802532B8 00250218 90 81 00 08 */ stw r4, 8(r1) +/* 802532BC 0025021C 90 7F 01 08 */ stw r3, 0x108(r31) +/* 802532C0 00250220 90 01 00 08 */ stw r0, 8(r1) +lbl_802532C4: +/* 802532C4 00250224 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802532C8 00250228 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802532CC 0025022C 7C 08 03 A6 */ mtlr r0 +/* 802532D0 00250230 38 21 00 30 */ addi r1, r1, 0x30 +/* 802532D4 00250234 4E 80 00 20 */ blr + +.global Flinch__7CRidleyFR13CStateManager9EStateMsgf +Flinch__7CRidleyFR13CStateManager9EStateMsgf: +/* 802532D8 00250238 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802532DC 0025023C 7C 08 02 A6 */ mflr r0 +/* 802532E0 00250240 2C 05 00 01 */ cmpwi r5, 1 +/* 802532E4 00250244 90 01 00 24 */ stw r0, 0x24(r1) +/* 802532E8 00250248 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802532EC 0025024C 7C 7F 1B 78 */ mr r31, r3 +/* 802532F0 00250250 41 82 00 30 */ beq lbl_80253320 +/* 802532F4 00250254 40 80 00 10 */ bge lbl_80253304 +/* 802532F8 00250258 2C 05 00 00 */ cmpwi r5, 0 +/* 802532FC 0025025C 40 80 00 14 */ bge lbl_80253310 +/* 80253300 00250260 48 00 00 70 */ b lbl_80253370 +lbl_80253304: +/* 80253304 00250264 2C 05 00 03 */ cmpwi r5, 3 +/* 80253308 00250268 40 80 00 68 */ bge lbl_80253370 +/* 8025330C 0025026C 48 00 00 48 */ b lbl_80253354 +lbl_80253310: +/* 80253310 00250270 48 00 44 35 */ bl sub_80257744 +/* 80253314 00250274 38 00 00 01 */ li r0, 1 +/* 80253318 00250278 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025331C 0025027C 48 00 00 54 */ b lbl_80253370 +lbl_80253320: +/* 80253320 00250280 3C A0 80 3F */ lis r5, lbl_803E9234@ha +/* 80253324 00250284 38 C1 00 08 */ addi r6, r1, 8 +/* 80253328 00250288 39 45 92 34 */ addi r10, r5, lbl_803E9234@l +/* 8025332C 0025028C 38 A0 00 06 */ li r5, 6 +/* 80253330 00250290 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253334 00250294 38 E0 00 03 */ li r7, 3 +/* 80253338 00250298 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025333C 0025029C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253340 002502A0 91 21 00 08 */ stw r9, 8(r1) +/* 80253344 002502A4 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253348 002502A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025334C 002502AC 4B E2 94 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253350 002502B0 48 00 00 20 */ b lbl_80253370 +lbl_80253354: +/* 80253354 002502B4 38 00 00 00 */ li r0, 0 +/* 80253358 002502B8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025335C 002502BC 48 00 42 F5 */ bl sub_80257650 +/* 80253360 002502C0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80253364 002502C4 38 60 00 00 */ li r3, 0 +/* 80253368 002502C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025336C 002502CC 98 1F 0A 32 */ stb r0, 0xa32(r31) +lbl_80253370: +/* 80253370 002502D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253374 002502D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80253378 002502D8 7C 08 03 A6 */ mtlr r0 +/* 8025337C 002502DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80253380 002502E0 4E 80 00 20 */ blr + +.global Jump__7CRidleyFR13CStateManager9EStateMsgf +Jump__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253384 002502E4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80253388 002502E8 7C 08 02 A6 */ mflr r0 +/* 8025338C 002502EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80253390 002502F0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80253394 002502F4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80253398 002502F8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8025339C 002502FC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802533A0 00250300 FF E0 08 90 */ fmr f31, f1 +/* 802533A4 00250304 2C 05 00 01 */ cmpwi r5, 1 +/* 802533A8 00250308 7C 7F 1B 78 */ mr r31, r3 +/* 802533AC 0025030C 7C 9E 23 78 */ mr r30, r4 +/* 802533B0 00250310 41 82 00 F0 */ beq lbl_802534A0 +/* 802533B4 00250314 40 80 00 10 */ bge lbl_802533C4 +/* 802533B8 00250318 2C 05 00 00 */ cmpwi r5, 0 +/* 802533BC 0025031C 40 80 00 14 */ bge lbl_802533D0 +/* 802533C0 00250320 48 00 01 C8 */ b lbl_80253588 +lbl_802533C4: +/* 802533C4 00250324 2C 05 00 03 */ cmpwi r5, 3 +/* 802533C8 00250328 40 80 01 C0 */ bge lbl_80253588 +/* 802533CC 0025032C 48 00 01 28 */ b lbl_802534F4 +lbl_802533D0: +/* 802533D0 00250330 38 00 00 01 */ li r0, 1 +/* 802533D4 00250334 38 61 00 14 */ addi r3, r1, 0x14 +/* 802533D8 00250338 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 802533DC 0025033C 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 802533E0 00250340 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 802533E4 00250344 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 802533E8 00250348 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 802533EC 0025034C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802533F0 00250350 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802533F4 00250354 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 802533F8 00250358 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802533FC 0025035C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80253400 00250360 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80253404 00250364 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253408 00250368 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025340C 0025036C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80253410 00250370 48 0C 14 A9 */ bl Magnitude__9CVector3fCFv +/* 80253414 00250374 C0 1F 0A E4 */ lfs f0, 0xae4(r31) +/* 80253418 00250378 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025341C 0025037C 40 81 00 10 */ ble lbl_8025342C +/* 80253420 00250380 38 00 00 05 */ li r0, 5 +/* 80253424 00250384 90 1F 0C 88 */ stw r0, 0xc88(r31) +/* 80253428 00250388 48 00 00 0C */ b lbl_80253434 +lbl_8025342C: +/* 8025342C 0025038C 38 00 00 04 */ li r0, 4 +/* 80253430 00250390 90 1F 0C 88 */ stw r0, 0xc88(r31) +lbl_80253434: +/* 80253434 00250394 C0 3F 09 14 */ lfs f1, 0x914(r31) +/* 80253438 00250398 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025343C 0025039C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253440 002503A0 7C 60 00 26 */ mfcr r3 +/* 80253444 002503A4 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253448 002503A8 54 64 17 FE */ rlwinm r4, r3, 2, 0x1f, 0x1f +/* 8025344C 002503AC 7F E3 FB 78 */ mr r3, r31 +/* 80253450 002503B0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80253454 002503B4 7F C4 F3 78 */ mr r4, r30 +/* 80253458 002503B8 98 1F 04 02 */ stb r0, 0x402(r31) +/* 8025345C 002503BC D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80253460 002503C0 80 BF 08 F8 */ lwz r5, 0x8f8(r31) +/* 80253464 002503C4 80 1F 08 FC */ lwz r0, 0x8fc(r31) +/* 80253468 002503C8 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 8025346C 002503CC 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80253470 002503D0 C0 1F 09 00 */ lfs f0, 0x900(r31) +/* 80253474 002503D4 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253478 002503D8 C0 1F 09 04 */ lfs f0, 0x904(r31) +/* 8025347C 002503DC D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80253480 002503E0 C0 1F 09 08 */ lfs f0, 0x908(r31) +/* 80253484 002503E4 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253488 002503E8 C0 1F 09 0C */ lfs f0, 0x90c(r31) +/* 8025348C 002503EC D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80253490 002503F0 88 1F 09 10 */ lbz r0, 0x910(r31) +/* 80253494 002503F4 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253498 002503F8 48 00 30 E9 */ bl sub_80256580 +/* 8025349C 002503FC 48 00 00 EC */ b lbl_80253588 +lbl_802534A0: +/* 802534A0 00250400 3C A0 80 3F */ lis r5, lbl_803E9228@ha +/* 802534A4 00250404 38 C1 00 08 */ addi r6, r1, 8 +/* 802534A8 00250408 39 25 92 28 */ addi r9, r5, lbl_803E9228@l +/* 802534AC 0025040C 38 A0 00 07 */ li r5, 7 +/* 802534B0 00250410 81 09 00 00 */ lwz r8, 0(r9) +/* 802534B4 00250414 80 E9 00 04 */ lwz r7, 4(r9) +/* 802534B8 00250418 80 09 00 08 */ lwz r0, 8(r9) +/* 802534BC 0025041C 91 01 00 08 */ stw r8, 8(r1) +/* 802534C0 00250420 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802534C4 00250424 90 01 00 10 */ stw r0, 0x10(r1) +/* 802534C8 00250428 80 FF 0C 88 */ lwz r7, 0xc88(r31) +/* 802534CC 0025042C 4B E2 92 E9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802534D0 00250430 C0 3F 03 38 */ lfs f1, 0x338(r31) +/* 802534D4 00250434 C0 02 B9 30 */ lfs f0, lbl_805AD650@sda21(r2) +/* 802534D8 00250438 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802534DC 0025043C 40 80 00 AC */ bge lbl_80253588 +/* 802534E0 00250440 FC 20 F8 90 */ fmr f1, f31 +/* 802534E4 00250444 7F E3 FB 78 */ mr r3, r31 +/* 802534E8 00250448 7F C4 F3 78 */ mr r4, r30 +/* 802534EC 0025044C 48 00 2A 65 */ bl sub_80255f50 +/* 802534F0 00250450 48 00 00 98 */ b lbl_80253588 +lbl_802534F4: +/* 802534F4 00250454 7F C6 F3 78 */ mr r6, r30 +/* 802534F8 00250458 38 80 00 29 */ li r4, 0x29 +/* 802534FC 0025045C 38 A0 00 28 */ li r5, 0x28 +/* 80253500 00250460 4B E0 0D B5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80253504 00250464 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253508 00250468 38 60 00 00 */ li r3, 0 +/* 8025350C 0025046C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80253510 00250470 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253514 00250474 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253518 00250478 7F E4 FB 78 */ mr r4, r31 +/* 8025351C 0025047C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80253520 00250480 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80253524 00250484 81 9F 00 00 */ lwz r12, 0(r31) +/* 80253528 00250488 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025352C 0025048C 7D 89 03 A6 */ mtctr r12 +/* 80253530 00250490 4E 80 04 21 */ bctrl +/* 80253534 00250494 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80253538 00250498 38 80 00 00 */ li r4, 0 +/* 8025353C 0025049C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253540 002504A0 7F E3 FB 78 */ mr r3, r31 +/* 80253544 002504A4 90 BF 0C 8C */ stw r5, 0xc8c(r31) +/* 80253548 002504A8 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 8025354C 002504AC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80253550 002504B0 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253554 002504B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80253558 002504B8 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 8025355C 002504BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80253560 002504C0 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253564 002504C4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80253568 002504C8 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 8025356C 002504CC 88 01 00 38 */ lbz r0, 0x38(r1) +/* 80253570 002504D0 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253574 002504D4 90 9F 03 2C */ stw r4, 0x32c(r31) +/* 80253578 002504D8 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 8025357C 002504DC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80253580 002504E0 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80253584 002504E4 48 00 2F F9 */ bl nullsub_53 +lbl_80253588: +/* 80253588 002504E8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8025358C 002504EC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80253590 002504F0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80253594 002504F4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80253598 002504F8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8025359C 002504FC 7C 08 03 A6 */ mtlr r0 +/* 802535A0 00250500 38 21 00 60 */ addi r1, r1, 0x60 +/* 802535A4 00250504 4E 80 00 20 */ blr + +.global DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf +DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf: +/* 802535A8 00250508 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802535AC 0025050C 7C 08 02 A6 */ mflr r0 +/* 802535B0 00250510 2C 05 00 01 */ cmpwi r5, 1 +/* 802535B4 00250514 90 01 00 44 */ stw r0, 0x44(r1) +/* 802535B8 00250518 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802535BC 0025051C 7C 7F 1B 78 */ mr r31, r3 +/* 802535C0 00250520 41 82 00 84 */ beq lbl_80253644 +/* 802535C4 00250524 40 80 00 10 */ bge lbl_802535D4 +/* 802535C8 00250528 2C 05 00 00 */ cmpwi r5, 0 +/* 802535CC 0025052C 40 80 00 14 */ bge lbl_802535E0 +/* 802535D0 00250530 48 00 01 14 */ b lbl_802536E4 +lbl_802535D4: +/* 802535D4 00250534 2C 05 00 03 */ cmpwi r5, 3 +/* 802535D8 00250538 40 80 01 0C */ bge lbl_802536E4 +/* 802535DC 0025053C 48 00 00 9C */ b lbl_80253678 +lbl_802535E0: +/* 802535E0 00250540 38 00 00 01 */ li r0, 1 +/* 802535E4 00250544 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802535E8 00250548 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 802535EC 0025054C C0 3F 09 34 */ lfs f1, 0x934(r31) +/* 802535F0 00250550 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802535F4 00250554 7C 60 00 26 */ mfcr r3 +/* 802535F8 00250558 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 802535FC 0025055C 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 80253600 00250560 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253604 00250564 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 80253608 00250568 80 7F 09 18 */ lwz r3, 0x918(r31) +/* 8025360C 0025056C 80 1F 09 1C */ lwz r0, 0x91c(r31) +/* 80253610 00250570 90 7F 0C 8C */ stw r3, 0xc8c(r31) +/* 80253614 00250574 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 80253618 00250578 C0 1F 09 20 */ lfs f0, 0x920(r31) +/* 8025361C 0025057C D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 80253620 00250580 C0 1F 09 24 */ lfs f0, 0x924(r31) +/* 80253624 00250584 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 80253628 00250588 C0 1F 09 28 */ lfs f0, 0x928(r31) +/* 8025362C 0025058C D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 80253630 00250590 C0 1F 09 2C */ lfs f0, 0x92c(r31) +/* 80253634 00250594 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 80253638 00250598 88 1F 09 30 */ lbz r0, 0x930(r31) +/* 8025363C 0025059C 98 1F 0C A4 */ stb r0, 0xca4(r31) +/* 80253640 002505A0 48 00 00 A4 */ b lbl_802536E4 +lbl_80253644: +/* 80253644 002505A4 3C A0 80 3F */ lis r5, lbl_803E921C@ha +/* 80253648 002505A8 38 C1 00 08 */ addi r6, r1, 8 +/* 8025364C 002505AC 39 45 92 1C */ addi r10, r5, lbl_803E921C@l +/* 80253650 002505B0 38 A0 00 07 */ li r5, 7 +/* 80253654 002505B4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253658 002505B8 38 E0 00 02 */ li r7, 2 +/* 8025365C 002505BC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253660 002505C0 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253664 002505C4 91 21 00 08 */ stw r9, 8(r1) +/* 80253668 002505C8 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025366C 002505CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253670 002505D0 4B E2 91 45 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253674 002505D4 48 00 00 70 */ b lbl_802536E4 +lbl_80253678: +/* 80253678 002505D8 38 A0 00 00 */ li r5, 0 +/* 8025367C 002505DC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253680 002505E0 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 80253684 002505E4 7F E4 FB 78 */ mr r4, r31 +/* 80253688 002505E8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025368C 002505EC 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80253690 002505F0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80253694 002505F4 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80253698 002505F8 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 8025369C 002505FC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802536A0 00250600 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 802536A4 00250604 7D 89 03 A6 */ mtctr r12 +/* 802536A8 00250608 4E 80 04 21 */ bctrl +/* 802536AC 0025060C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802536B0 00250610 80 01 00 18 */ lwz r0, 0x18(r1) +/* 802536B4 00250614 90 7F 0C 8C */ stw r3, 0xc8c(r31) +/* 802536B8 00250618 90 1F 0C 90 */ stw r0, 0xc90(r31) +/* 802536BC 0025061C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802536C0 00250620 D0 1F 0C 94 */ stfs f0, 0xc94(r31) +/* 802536C4 00250624 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802536C8 00250628 D0 1F 0C 98 */ stfs f0, 0xc98(r31) +/* 802536CC 0025062C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802536D0 00250630 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) +/* 802536D4 00250634 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802536D8 00250638 D0 1F 0C A0 */ stfs f0, 0xca0(r31) +/* 802536DC 0025063C 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 802536E0 00250640 98 1F 0C A4 */ stb r0, 0xca4(r31) +lbl_802536E4: +/* 802536E4 00250644 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802536E8 00250648 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802536EC 0025064C 7C 08 03 A6 */ mtlr r0 +/* 802536F0 00250650 38 21 00 40 */ addi r1, r1, 0x40 +/* 802536F4 00250654 4E 80 00 20 */ blr + +.global ShouldDoubleSnap__7CRidleyFR13CStateManagerf +ShouldDoubleSnap__7CRidleyFR13CStateManagerf: +/* 802536F8 00250658 88 03 0A 33 */ lbz r0, 0xa33(r3) +/* 802536FC 0025065C 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f +/* 80253700 00250660 4E 80 00 20 */ blr + +.global ShouldStrafe__7CRidleyFR13CStateManagerf +ShouldStrafe__7CRidleyFR13CStateManagerf: +/* 80253704 00250664 88 03 0A 33 */ lbz r0, 0xa33(r3) +/* 80253708 00250668 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 8025370C 0025066C 4E 80 00 20 */ blr + +.global sub_80253710 +sub_80253710: +/* 80253710 00250670 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253714 00250674 7C 08 02 A6 */ mflr r0 +/* 80253718 00250678 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025371C 0025067C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253720 00250680 7C 7F 1B 78 */ mr r31, r3 +/* 80253724 00250684 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80253728 00250688 7C 9E 23 78 */ mr r30, r4 +/* 8025372C 0025068C 80 03 0B 0C */ lwz r0, 0xb0c(r3) +/* 80253730 00250690 90 03 0B 08 */ stw r0, 0xb08(r3) +/* 80253734 00250694 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80253738 00250698 48 0B ED A5 */ bl Float__9CRandom16Fv +/* 8025373C 0025069C 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80253740 002506A0 3C 60 80 3D */ lis r3, lbl_803D4CCC@ha +/* 80253744 002506A4 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) +/* 80253748 002506A8 38 63 4C CC */ addi r3, r3, lbl_803D4CCC@l +/* 8025374C 002506AC 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80253750 002506B0 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) +/* 80253754 002506B4 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80253758 002506B8 38 80 00 00 */ li r4, 0 +/* 8025375C 002506BC 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80253760 002506C0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80253764 002506C4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80253768 002506C8 40 80 00 0C */ bge lbl_80253774 +/* 8025376C 002506CC 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80253770 002506D0 48 00 00 90 */ b lbl_80253800 +lbl_80253774: +/* 80253774 002506D4 7C 63 02 14 */ add r3, r3, r0 +/* 80253778 002506D8 38 80 00 01 */ li r4, 1 +/* 8025377C 002506DC C0 03 00 04 */ lfs f0, 4(r3) +/* 80253780 002506E0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80253784 002506E4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80253788 002506E8 40 80 00 0C */ bge lbl_80253794 +/* 8025378C 002506EC 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 80253790 002506F0 48 00 00 70 */ b lbl_80253800 +lbl_80253794: +/* 80253794 002506F4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80253798 002506F8 38 80 00 02 */ li r4, 2 +/* 8025379C 002506FC EC 42 00 2A */ fadds f2, f2, f0 +/* 802537A0 00250700 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537A4 00250704 40 80 00 0C */ bge lbl_802537B0 +/* 802537A8 00250708 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537AC 0025070C 48 00 00 54 */ b lbl_80253800 +lbl_802537B0: +/* 802537B0 00250710 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802537B4 00250714 38 80 00 03 */ li r4, 3 +/* 802537B8 00250718 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537BC 0025071C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537C0 00250720 40 80 00 0C */ bge lbl_802537CC +/* 802537C4 00250724 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537C8 00250728 48 00 00 38 */ b lbl_80253800 +lbl_802537CC: +/* 802537CC 0025072C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802537D0 00250730 38 80 00 04 */ li r4, 4 +/* 802537D4 00250734 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537D8 00250738 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537DC 0025073C 40 80 00 0C */ bge lbl_802537E8 +/* 802537E0 00250740 90 9F 0B 0C */ stw r4, 0xb0c(r31) +/* 802537E4 00250744 48 00 00 1C */ b lbl_80253800 +lbl_802537E8: +/* 802537E8 00250748 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802537EC 0025074C 38 80 00 05 */ li r4, 5 +/* 802537F0 00250750 EC 42 00 2A */ fadds f2, f2, f0 +/* 802537F4 00250754 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 802537F8 00250758 40 80 00 08 */ bge lbl_80253800 +/* 802537FC 0025075C 90 9F 0B 0C */ stw r4, 0xb0c(r31) +lbl_80253800: +/* 80253800 00250760 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 80253804 00250764 2C 00 00 05 */ cmpwi r0, 5 +/* 80253808 00250768 40 82 00 1C */ bne lbl_80253824 +/* 8025380C 0025076C 7F E3 FB 78 */ mr r3, r31 +/* 80253810 00250770 48 00 01 51 */ bl sub_80253960 +/* 80253814 00250774 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80253818 00250778 40 82 00 0C */ bne lbl_80253824 +/* 8025381C 0025077C 38 00 00 02 */ li r0, 2 +/* 80253820 00250780 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_80253824: +/* 80253824 00250784 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80253828 00250788 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025382C 0025078C C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80253830 00250790 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80253834 00250794 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80253838 00250798 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8025383C 0025079C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80253840 002507A0 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80253844 002507A4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80253848 002507A8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025384C 002507AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80253850 002507B0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253854 002507B4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80253858 002507B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025385C 002507BC 48 0C 10 5D */ bl Magnitude__9CVector3fCFv +/* 80253860 002507C0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253864 002507C4 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80253868 002507C8 EC C0 08 24 */ fdivs f6, f0, f1 +/* 8025386C 002507CC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80253870 002507D0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80253874 002507D4 EC A3 01 B2 */ fmuls f5, f3, f6 +/* 80253878 002507D8 EC 82 01 B2 */ fmuls f4, f2, f6 +/* 8025387C 002507DC EC 60 01 B2 */ fmuls f3, f0, f6 +/* 80253880 002507E0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80253884 002507E4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253888 002507E8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8025388C 002507EC C0 DF 00 48 */ lfs f6, 0x48(r31) +/* 80253890 002507F0 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 80253894 002507F4 EC 04 01 B2 */ fmuls f0, f4, f6 +/* 80253898 002507F8 C0 9F 00 58 */ lfs f4, 0x58(r31) +/* 8025389C 002507FC 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 802538A0 00250800 D0 41 00 08 */ stfs f2, 8(r1) +/* 802538A4 00250804 EC 05 00 BA */ fmadds f0, f5, f2, f0 +/* 802538A8 00250808 2C 00 00 02 */ cmpwi r0, 2 +/* 802538AC 0025080C D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 802538B0 00250810 EC 43 01 3A */ fmadds f2, f3, f4, f0 +/* 802538B4 00250814 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802538B8 00250818 40 82 00 18 */ bne lbl_802538D0 +/* 802538BC 0025081C C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 802538C0 00250820 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538C4 00250824 40 80 00 0C */ bge lbl_802538D0 +/* 802538C8 00250828 38 00 00 00 */ li r0, 0 +/* 802538CC 0025082C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_802538D0: +/* 802538D0 00250830 80 1F 0B 0C */ lwz r0, 0xb0c(r31) +/* 802538D4 00250834 2C 00 00 05 */ cmpwi r0, 5 +/* 802538D8 00250838 40 82 00 18 */ bne lbl_802538F0 +/* 802538DC 0025083C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 802538E0 00250840 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538E4 00250844 40 80 00 0C */ bge lbl_802538F0 +/* 802538E8 00250848 38 00 00 00 */ li r0, 0 +/* 802538EC 0025084C 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_802538F0: +/* 802538F0 00250850 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802538F4 00250854 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802538F8 00250858 40 80 00 24 */ bge lbl_8025391C +/* 802538FC 0025085C C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 80253900 00250860 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253904 00250864 40 80 00 18 */ bge lbl_8025391C +/* 80253908 00250868 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 8025390C 0025086C 2C 00 00 03 */ cmpwi r0, 3 +/* 80253910 00250870 41 82 00 0C */ beq lbl_8025391C +/* 80253914 00250874 38 00 00 03 */ li r0, 3 +/* 80253918 00250878 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_8025391C: +/* 8025391C 0025087C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253920 00250880 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80253924 00250884 40 81 00 24 */ ble lbl_80253948 +/* 80253928 00250888 C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 8025392C 0025088C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253930 00250890 40 80 00 18 */ bge lbl_80253948 +/* 80253934 00250894 80 1F 0B 08 */ lwz r0, 0xb08(r31) +/* 80253938 00250898 2C 00 00 04 */ cmpwi r0, 4 +/* 8025393C 0025089C 41 82 00 0C */ beq lbl_80253948 +/* 80253940 002508A0 38 00 00 04 */ li r0, 4 +/* 80253944 002508A4 90 1F 0B 0C */ stw r0, 0xb0c(r31) +lbl_80253948: +/* 80253948 002508A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025394C 002508AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80253950 002508B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80253954 002508B4 7C 08 03 A6 */ mtlr r0 +/* 80253958 002508B8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025395C 002508BC 4E 80 00 20 */ blr + +.global sub_80253960 +sub_80253960: +/* 80253960 002508C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80253964 002508C4 7C 08 02 A6 */ mflr r0 +/* 80253968 002508C8 C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 8025396C 002508CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80253970 002508D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80253974 002508D4 7C 7F 1B 78 */ mr r31, r3 +/* 80253978 002508D8 C0 03 0A E4 */ lfs f0, 0xae4(r3) +/* 8025397C 002508DC 38 61 00 08 */ addi r3, r1, 8 +/* 80253980 002508E0 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80253984 002508E4 EC C1 00 32 */ fmuls f6, f1, f0 +/* 80253988 002508E8 C0 3F 00 58 */ lfs f1, 0x58(r31) +/* 8025398C 002508EC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80253990 002508F0 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 80253994 002508F4 EC 66 00 B2 */ fmuls f3, f6, f2 +/* 80253998 002508F8 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 8025399C 002508FC EC 86 00 72 */ fmuls f4, f6, f1 +/* 802539A0 00250900 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 802539A4 00250904 EC 26 00 32 */ fmuls f1, f6, f0 +/* 802539A8 00250908 C0 DF 0A A0 */ lfs f6, 0xaa0(r31) +/* 802539AC 0025090C EC E7 18 2A */ fadds f7, f7, f3 +/* 802539B0 00250910 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 802539B4 00250914 EC 85 20 2A */ fadds f4, f5, f4 +/* 802539B8 00250918 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802539BC 0025091C EC 22 08 2A */ fadds f1, f2, f1 +/* 802539C0 00250920 EC A7 30 28 */ fsubs f5, f7, f6 +/* 802539C4 00250924 EC 44 18 28 */ fsubs f2, f4, f3 +/* 802539C8 00250928 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802539CC 0025092C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802539D0 00250930 D0 01 00 08 */ stfs f0, 8(r1) +/* 802539D4 00250934 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802539D8 00250938 48 0C 0E E1 */ bl Magnitude__9CVector3fCFv +/* 802539DC 0025093C C0 5F 0A B4 */ lfs f2, 0xab4(r31) +/* 802539E0 00250940 C0 1F 0A BC */ lfs f0, 0xabc(r31) +/* 802539E4 00250944 C0 62 B9 38 */ lfs f3, lbl_805AD658@sda21(r2) +/* 802539E8 00250948 EC 02 00 2A */ fadds f0, f2, f0 +/* 802539EC 0025094C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802539F0 00250950 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802539F4 00250954 7C 00 00 26 */ mfcr r0 +/* 802539F8 00250958 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802539FC 0025095C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80253A00 00250960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80253A04 00250964 7C 08 03 A6 */ mtlr r0 +/* 80253A08 00250968 38 21 00 20 */ addi r1, r1, 0x20 +/* 80253A0C 0025096C 4E 80 00 20 */ blr + +.global FadeOut__7CRidleyFR13CStateManager9EStateMsgf +FadeOut__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253A10 00250970 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253A14 00250974 7C 08 02 A6 */ mflr r0 +/* 80253A18 00250978 2C 05 00 01 */ cmpwi r5, 1 +/* 80253A1C 0025097C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80253A20 00250980 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80253A24 00250984 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80253A28 00250988 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80253A2C 0025098C 7C 9D 23 78 */ mr r29, r4 +/* 80253A30 00250990 93 81 00 20 */ stw r28, 0x20(r1) +/* 80253A34 00250994 7C 7C 1B 78 */ mr r28, r3 +/* 80253A38 00250998 41 82 00 B0 */ beq lbl_80253AE8 +/* 80253A3C 0025099C 40 80 00 10 */ bge lbl_80253A4C +/* 80253A40 002509A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80253A44 002509A4 40 80 00 14 */ bge lbl_80253A58 +/* 80253A48 002509A8 48 00 00 EC */ b lbl_80253B34 +lbl_80253A4C: +/* 80253A4C 002509AC 2C 05 00 03 */ cmpwi r5, 3 +/* 80253A50 002509B0 40 80 00 E4 */ bge lbl_80253B34 +/* 80253A54 002509B4 48 00 00 C8 */ b lbl_80253B1C +lbl_80253A58: +/* 80253A58 002509B8 38 00 00 01 */ li r0, 1 +/* 80253A5C 002509BC 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha +/* 80253A60 002509C0 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 80253A64 002509C4 3B E3 D4 F8 */ addi r31, r3, lbl_8046D4F8@l +/* 80253A68 002509C8 3B C0 00 00 */ li r30, 0 +lbl_80253A6C: +/* 80253A6C 002509CC 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80253A70 002509D0 7F E4 FB 78 */ mr r4, r31 +/* 80253A74 002509D4 7F A6 EB 78 */ mr r6, r29 +/* 80253A78 002509D8 38 A0 00 00 */ li r5, 0 +/* 80253A7C 002509DC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80253A80 002509E0 4B DD 73 41 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80253A84 002509E4 3B DE 00 01 */ addi r30, r30, 1 +/* 80253A88 002509E8 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80253A8C 002509EC 28 1E 00 18 */ cmplwi r30, 0x18 +/* 80253A90 002509F0 41 80 FF DC */ blt lbl_80253A6C +/* 80253A94 002509F4 88 7C 0A 34 */ lbz r3, 0xa34(r28) +/* 80253A98 002509F8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80253A9C 002509FC 40 82 00 10 */ bne lbl_80253AAC +/* 80253AA0 00250A00 38 00 00 01 */ li r0, 1 +/* 80253AA4 00250A04 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80253AA8 00250A08 98 7C 0A 34 */ stb r3, 0xa34(r28) +lbl_80253AAC: +/* 80253AAC 00250A0C 80 7C 09 64 */ lwz r3, 0x964(r28) +/* 80253AB0 00250A10 80 1C 09 68 */ lwz r0, 0x968(r28) +/* 80253AB4 00250A14 90 7C 0B 74 */ stw r3, 0xb74(r28) +/* 80253AB8 00250A18 90 1C 0B 78 */ stw r0, 0xb78(r28) +/* 80253ABC 00250A1C C0 1C 09 6C */ lfs f0, 0x96c(r28) +/* 80253AC0 00250A20 D0 1C 0B 7C */ stfs f0, 0xb7c(r28) +/* 80253AC4 00250A24 C0 1C 09 70 */ lfs f0, 0x970(r28) +/* 80253AC8 00250A28 D0 1C 0B 80 */ stfs f0, 0xb80(r28) +/* 80253ACC 00250A2C C0 1C 09 74 */ lfs f0, 0x974(r28) +/* 80253AD0 00250A30 D0 1C 0B 84 */ stfs f0, 0xb84(r28) +/* 80253AD4 00250A34 C0 1C 09 78 */ lfs f0, 0x978(r28) +/* 80253AD8 00250A38 D0 1C 0B 88 */ stfs f0, 0xb88(r28) +/* 80253ADC 00250A3C 88 1C 09 7C */ lbz r0, 0x97c(r28) +/* 80253AE0 00250A40 98 1C 0B 8C */ stb r0, 0xb8c(r28) +/* 80253AE4 00250A44 48 00 00 50 */ b lbl_80253B34 +lbl_80253AE8: +/* 80253AE8 00250A48 3C A0 80 3F */ lis r5, lbl_803E9210@ha +/* 80253AEC 00250A4C 38 C1 00 08 */ addi r6, r1, 8 +/* 80253AF0 00250A50 39 45 92 10 */ addi r10, r5, lbl_803E9210@l +/* 80253AF4 00250A54 38 A0 00 06 */ li r5, 6 +/* 80253AF8 00250A58 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253AFC 00250A5C 38 E0 00 05 */ li r7, 5 +/* 80253B00 00250A60 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253B04 00250A64 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253B08 00250A68 91 21 00 08 */ stw r9, 8(r1) +/* 80253B0C 00250A6C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253B10 00250A70 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253B14 00250A74 4B E2 8C A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253B18 00250A78 48 00 00 1C */ b lbl_80253B34 +lbl_80253B1C: +/* 80253B1C 00250A7C 38 00 00 00 */ li r0, 0 +/* 80253B20 00250A80 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80253B24 00250A84 90 1C 03 2C */ stw r0, 0x32c(r28) +/* 80253B28 00250A88 C0 1C 05 A4 */ lfs f0, 0x5a4(r28) +/* 80253B2C 00250A8C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253B30 00250A90 D0 1C 0C BC */ stfs f0, 0xcbc(r28) +lbl_80253B34: +/* 80253B34 00250A94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80253B38 00250A98 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80253B3C 00250A9C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80253B40 00250AA0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80253B44 00250AA4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80253B48 00250AA8 7C 08 03 A6 */ mtlr r0 +/* 80253B4C 00250AAC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80253B50 00250AB0 4E 80 00 20 */ blr + +.global ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf +ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253B54 00250AB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80253B58 00250AB8 7C 08 02 A6 */ mflr r0 +/* 80253B5C 00250ABC 2C 05 00 01 */ cmpwi r5, 1 +/* 80253B60 00250AC0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80253B64 00250AC4 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80253B68 00250AC8 FF E0 08 90 */ fmr f31, f1 +/* 80253B6C 00250ACC 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80253B70 00250AD0 7C 9F 23 78 */ mr r31, r4 +/* 80253B74 00250AD4 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80253B78 00250AD8 7C 7E 1B 78 */ mr r30, r3 +/* 80253B7C 00250ADC 41 82 00 44 */ beq lbl_80253BC0 +/* 80253B80 00250AE0 40 80 00 10 */ bge lbl_80253B90 +/* 80253B84 00250AE4 2C 05 00 00 */ cmpwi r5, 0 +/* 80253B88 00250AE8 40 80 00 14 */ bge lbl_80253B9C +/* 80253B8C 00250AEC 48 00 00 98 */ b lbl_80253C24 +lbl_80253B90: +/* 80253B90 00250AF0 2C 05 00 03 */ cmpwi r5, 3 +/* 80253B94 00250AF4 40 80 00 90 */ bge lbl_80253C24 +/* 80253B98 00250AF8 48 00 00 6C */ b lbl_80253C04 +lbl_80253B9C: +/* 80253B9C 00250AFC 38 80 00 01 */ li r4, 1 +/* 80253BA0 00250B00 90 9E 03 2C */ stw r4, 0x32c(r30) +/* 80253BA4 00250B04 80 7E 0C C4 */ lwz r3, 0xcc4(r30) +/* 80253BA8 00250B08 38 03 FF FF */ addi r0, r3, -1 +/* 80253BAC 00250B0C 90 1E 0C C4 */ stw r0, 0xcc4(r30) +/* 80253BB0 00250B10 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253BB4 00250B14 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80253BB8 00250B18 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80253BBC 00250B1C 48 00 00 68 */ b lbl_80253C24 +lbl_80253BC0: +/* 80253BC0 00250B20 3C A0 80 3F */ lis r5, lbl_803E9204@ha +/* 80253BC4 00250B24 38 C1 00 08 */ addi r6, r1, 8 +/* 80253BC8 00250B28 39 45 92 04 */ addi r10, r5, lbl_803E9204@l +/* 80253BCC 00250B2C 38 A0 00 12 */ li r5, 0x12 +/* 80253BD0 00250B30 81 2A 00 00 */ lwz r9, 0(r10) +/* 80253BD4 00250B34 38 E0 00 02 */ li r7, 2 +/* 80253BD8 00250B38 81 0A 00 04 */ lwz r8, 4(r10) +/* 80253BDC 00250B3C 80 0A 00 08 */ lwz r0, 8(r10) +/* 80253BE0 00250B40 91 21 00 08 */ stw r9, 8(r1) +/* 80253BE4 00250B44 91 01 00 0C */ stw r8, 0xc(r1) +/* 80253BE8 00250B48 90 01 00 10 */ stw r0, 0x10(r1) +/* 80253BEC 00250B4C 4B E2 8B C9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80253BF0 00250B50 FC 20 F8 90 */ fmr f1, f31 +/* 80253BF4 00250B54 7F C3 F3 78 */ mr r3, r30 +/* 80253BF8 00250B58 7F E4 FB 78 */ mr r4, r31 +/* 80253BFC 00250B5C 48 00 23 55 */ bl sub_80255f50 +/* 80253C00 00250B60 48 00 00 24 */ b lbl_80253C24 +lbl_80253C04: +/* 80253C04 00250B64 38 60 00 00 */ li r3, 0 +/* 80253C08 00250B68 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80253C0C 00250B6C 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253C10 00250B70 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80253C14 00250B74 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80253C18 00250B78 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80253C1C 00250B7C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80253C20 00250B80 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_80253C24: +/* 80253C24 00250B84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80253C28 00250B88 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80253C2C 00250B8C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80253C30 00250B90 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80253C34 00250B94 7C 08 03 A6 */ mtlr r0 +/* 80253C38 00250B98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80253C3C 00250B9C 4E 80 00 20 */ blr + +.global Crouch__7CRidleyFR13CStateManager9EStateMsgf +Crouch__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253C40 00250BA0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80253C44 00250BA4 7C 08 02 A6 */ mflr r0 +/* 80253C48 00250BA8 2C 05 00 01 */ cmpwi r5, 1 +/* 80253C4C 00250BAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80253C50 00250BB0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80253C54 00250BB4 7C 9F 23 78 */ mr r31, r4 +/* 80253C58 00250BB8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80253C5C 00250BBC 7C 7E 1B 78 */ mr r30, r3 +/* 80253C60 00250BC0 41 82 00 6C */ beq lbl_80253CCC +/* 80253C64 00250BC4 40 80 01 40 */ bge lbl_80253DA4 +/* 80253C68 00250BC8 2C 05 00 00 */ cmpwi r5, 0 +/* 80253C6C 00250BCC 40 80 00 0C */ bge lbl_80253C78 +/* 80253C70 00250BD0 48 00 01 34 */ b lbl_80253DA4 +/* 80253C74 00250BD4 48 00 01 30 */ b lbl_80253DA4 +lbl_80253C78: +/* 80253C78 00250BD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80253C7C 00250BDC 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 80253C80 00250BE0 7D 89 03 A6 */ mtctr r12 +/* 80253C84 00250BE4 4E 80 04 21 */ bctrl +/* 80253C88 00250BE8 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80253C8C 00250BEC C4 03 67 00 */ lfsu f0, lbl_805A6700@l(r3) +/* 80253C90 00250BF0 C0 63 00 04 */ lfs f3, 4(r3) +/* 80253C94 00250BF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80253C98 00250BF8 C0 43 00 08 */ lfs f2, 8(r3) +/* 80253C9C 00250BFC EC 61 00 F2 */ fmuls f3, f1, f3 +/* 80253CA0 00250C00 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80253CA4 00250C04 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80253CA8 00250C08 D0 7E 01 54 */ stfs f3, 0x154(r30) +/* 80253CAC 00250C0C D0 3E 01 58 */ stfs f1, 0x158(r30) +/* 80253CB0 00250C10 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 80253CB4 00250C14 2C 00 00 03 */ cmpwi r0, 3 +/* 80253CB8 00250C18 40 82 00 EC */ bne lbl_80253DA4 +/* 80253CBC 00250C1C 7F C3 F3 78 */ mr r3, r30 +/* 80253CC0 00250C20 7F E4 FB 78 */ mr r4, r31 +/* 80253CC4 00250C24 4B FF FA 4D */ bl sub_80253710 +/* 80253CC8 00250C28 48 00 00 DC */ b lbl_80253DA4 +lbl_80253CCC: +/* 80253CCC 00250C2C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80253CD0 00250C30 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80253CD4 00250C34 2C 00 00 08 */ cmpwi r0, 8 +/* 80253CD8 00250C38 41 82 00 CC */ beq lbl_80253DA4 +/* 80253CDC 00250C3C 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80253CE0 00250C40 38 61 00 2C */ addi r3, r1, 0x2c +/* 80253CE4 00250C44 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80253CE8 00250C48 38 81 00 20 */ addi r4, r1, 0x20 +/* 80253CEC 00250C4C C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 80253CF0 00250C50 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 80253CF4 00250C54 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80253CF8 00250C58 EC 25 00 28 */ fsubs f1, f5, f0 +/* 80253CFC 00250C5C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80253D00 00250C60 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80253D04 00250C64 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80253D08 00250C68 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80253D0C 00250C6C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80253D10 00250C70 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80253D14 00250C74 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80253D18 00250C78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80253D1C 00250C7C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80253D20 00250C80 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80253D24 00250C84 48 0C 0B 2D */ bl AsNormalized__9CVector3fCFv +/* 80253D28 00250C88 C0 7E 00 48 */ lfs f3, 0x48(r30) +/* 80253D2C 00250C8C C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80253D30 00250C90 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80253D34 00250C94 EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80253D38 00250C98 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 80253D3C 00250C9C C0 9E 00 58 */ lfs f4, 0x58(r30) +/* 80253D40 00250CA0 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80253D44 00250CA4 EC 27 00 BA */ fmadds f1, f7, f2, f0 +/* 80253D48 00250CA8 C0 02 B9 40 */ lfs f0, lbl_805AD660@sda21(r2) +/* 80253D4C 00250CAC D0 41 00 08 */ stfs f2, 8(r1) +/* 80253D50 00250CB0 EC 26 09 3A */ fmadds f1, f6, f4, f1 +/* 80253D54 00250CB4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80253D58 00250CB8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80253D5C 00250CBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253D60 00250CC0 40 80 00 44 */ bge lbl_80253DA4 +/* 80253D64 00250CC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80253D68 00250CC8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80253D6C 00250CCC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80253D70 00250CD0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80253D74 00250CD4 C0 43 00 04 */ lfs f2, 4(r3) +/* 80253D78 00250CD8 C0 23 00 08 */ lfs f1, 8(r3) +/* 80253D7C 00250CDC D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 80253D80 00250CE0 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80253D84 00250CE4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80253D88 00250CE8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80253D8C 00250CEC D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 80253D90 00250CF0 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 80253D94 00250CF4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80253D98 00250CF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80253D9C 00250CFC 38 63 00 04 */ addi r3, r3, 4 +/* 80253DA0 00250D00 4B ED D9 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80253DA4: +/* 80253DA4 00250D04 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80253DA8 00250D08 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80253DAC 00250D0C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80253DB0 00250D10 7C 08 03 A6 */ mtlr r0 +/* 80253DB4 00250D14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80253DB8 00250D18 4E 80 00 20 */ blr + +.global JumpBack__7CRidleyFR13CStateManager9EStateMsgf +JumpBack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80253DBC 00250D1C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80253DC0 00250D20 7C 08 02 A6 */ mflr r0 +/* 80253DC4 00250D24 90 01 01 34 */ stw r0, 0x134(r1) +/* 80253DC8 00250D28 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80253DCC 00250D2C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80253DD0 00250D30 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 80253DD4 00250D34 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 80253DD8 00250D38 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 80253DDC 00250D3C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 80253DE0 00250D40 BF 61 00 EC */ stmw r27, 0xec(r1) +/* 80253DE4 00250D44 FF A0 08 90 */ fmr f29, f1 +/* 80253DE8 00250D48 2C 05 00 01 */ cmpwi r5, 1 +/* 80253DEC 00250D4C 7C 7F 1B 78 */ mr r31, r3 +/* 80253DF0 00250D50 7C 9B 23 78 */ mr r27, r4 +/* 80253DF4 00250D54 41 82 02 18 */ beq lbl_8025400C +/* 80253DF8 00250D58 40 80 00 10 */ bge lbl_80253E08 +/* 80253DFC 00250D5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80253E00 00250D60 40 80 00 14 */ bge lbl_80253E14 +/* 80253E04 00250D64 48 00 03 94 */ b lbl_80254198 +lbl_80253E08: +/* 80253E08 00250D68 2C 05 00 03 */ cmpwi r5, 3 +/* 80253E0C 00250D6C 40 80 03 8C */ bge lbl_80254198 +/* 80253E10 00250D70 48 00 03 80 */ b lbl_80254190 +lbl_80253E14: +/* 80253E14 00250D74 38 C0 00 01 */ li r6, 1 +/* 80253E18 00250D78 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80253E1C 00250D7C 90 DF 03 2C */ stw r6, 0x32c(r31) +/* 80253E20 00250D80 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80253E24 00250D84 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253E28 00250D88 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80253E2C 00250D8C C0 25 00 00 */ lfs f1, 0(r5) +/* 80253E30 00250D90 D0 3F 01 50 */ stfs f1, 0x150(r31) +/* 80253E34 00250D94 C0 25 00 04 */ lfs f1, 4(r5) +/* 80253E38 00250D98 D0 3F 01 54 */ stfs f1, 0x154(r31) +/* 80253E3C 00250D9C C0 25 00 08 */ lfs f1, 8(r5) +/* 80253E40 00250DA0 D0 3F 01 58 */ stfs f1, 0x158(r31) +/* 80253E44 00250DA4 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80253E48 00250DA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80253E4C 00250DAC 98 1F 03 28 */ stb r0, 0x328(r31) +/* 80253E50 00250DB0 C0 BF 0A BC */ lfs f5, 0xabc(r31) +/* 80253E54 00250DB4 C0 7F 0A 98 */ lfs f3, 0xa98(r31) +/* 80253E58 00250DB8 C0 5F 0A A8 */ lfs f2, 0xaa8(r31) +/* 80253E5C 00250DBC C0 3F 0A 88 */ lfs f1, 0xa88(r31) +/* 80253E60 00250DC0 EC 85 00 F2 */ fmuls f4, f5, f3 +/* 80253E64 00250DC4 C1 3F 0A A0 */ lfs f9, 0xaa0(r31) +/* 80253E68 00250DC8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80253E6C 00250DCC C1 5F 0A B0 */ lfs f10, 0xab0(r31) +/* 80253E70 00250DD0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80253E74 00250DD4 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 80253E78 00250DD8 EC C9 20 2A */ fadds f6, f9, f4 +/* 80253E7C 00250DDC C0 FF 0A C0 */ lfs f7, 0xac0(r31) +/* 80253E80 00250DE0 EC AA 18 2A */ fadds f5, f10, f3 +/* 80253E84 00250DE4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80253E88 00250DE8 EC 22 08 2A */ fadds f1, f2, f1 +/* 80253E8C 00250DEC ED 06 00 2A */ fadds f8, f6, f0 +/* 80253E90 00250DF0 EC E5 38 2A */ fadds f7, f5, f7 +/* 80253E94 00250DF4 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80253E98 00250DF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80253E9C 00250DFC D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80253EA0 00250E00 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80253EA4 00250E04 D1 21 00 A0 */ stfs f9, 0xa0(r1) +/* 80253EA8 00250E08 D1 41 00 A4 */ stfs f10, 0xa4(r1) +/* 80253EAC 00250E0C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80253EB0 00250E10 D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 80253EB4 00250E14 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80253EB8 00250E18 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80253EBC 00250E1C D1 01 00 B8 */ stfs f8, 0xb8(r1) +/* 80253EC0 00250E20 D0 E1 00 BC */ stfs f7, 0xbc(r1) +/* 80253EC4 00250E24 4B E2 8C 99 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80253EC8 00250E28 7F E3 FB 78 */ mr r3, r31 +/* 80253ECC 00250E2C 7F 65 DB 78 */ mr r5, r27 +/* 80253ED0 00250E30 38 80 00 13 */ li r4, 0x13 +/* 80253ED4 00250E34 4B E0 00 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80253ED8 00250E38 7F E3 FB 78 */ mr r3, r31 +/* 80253EDC 00250E3C 4B DF F9 E1 */ bl GetMaterialFilter__6CActorCFv +/* 80253EE0 00250E40 80 AD 97 B0 */ lwz r5, lbl_805A8370@sda21(r13) +/* 80253EE4 00250E44 38 80 00 01 */ li r4, 1 +/* 80253EE8 00250E48 83 C3 00 00 */ lwz r30, 0(r3) +/* 80253EEC 00250E4C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80253EF0 00250E50 38 60 00 00 */ li r3, 0 +/* 80253EF4 00250E54 48 13 60 01 */ bl __shl2i +/* 80253EF8 00250E58 7C 7C 1B 78 */ mr r28, r3 +/* 80253EFC 00250E5C 7C 9B 23 78 */ mr r27, r4 +/* 80253F00 00250E60 7F E3 FB 78 */ mr r3, r31 +/* 80253F04 00250E64 4B DF F9 B9 */ bl GetMaterialFilter__6CActorCFv +/* 80253F08 00250E68 80 A3 00 08 */ lwz r5, 8(r3) +/* 80253F0C 00250E6C 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha +/* 80253F10 00250E70 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80253F14 00250E74 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l +/* 80253F18 00250E78 38 00 FF FF */ li r0, -1 +/* 80253F1C 00250E7C 7C A7 E3 78 */ or r7, r5, r28 +/* 80253F20 00250E80 7C C6 DB 78 */ or r6, r6, r27 +/* 80253F24 00250E84 7F A3 18 38 */ and r3, r29, r3 +/* 80253F28 00250E88 7F C5 00 38 */ and r5, r30, r0 +/* 80253F2C 00250E8C 38 00 00 03 */ li r0, 3 +/* 80253F30 00250E90 90 61 00 D4 */ stw r3, 0xd4(r1) +/* 80253F34 00250E94 7F E3 FB 78 */ mr r3, r31 +/* 80253F38 00250E98 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80253F3C 00250E9C 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 80253F40 00250EA0 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 80253F44 00250EA4 90 E1 00 D8 */ stw r7, 0xd8(r1) +/* 80253F48 00250EA8 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80253F4C 00250EAC 4B DF F9 55 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80253F50 00250EB0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80253F54 00250EB4 38 60 00 00 */ li r3, 0 +/* 80253F58 00250EB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80253F5C 00250EBC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80253F60 00250EC0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80253F64 00250EC4 C0 7F 02 E0 */ lfs f3, 0x2e0(r31) +/* 80253F68 00250EC8 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80253F6C 00250ECC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 80253F70 00250ED0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80253F74 00250ED4 EF A3 10 28 */ fsubs f29, f3, f2 +/* 80253F78 00250ED8 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) +/* 80253F7C 00250EDC EF C1 00 28 */ fsubs f30, f1, f0 +/* 80253F80 00250EE0 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80253F84 00250EE4 FC 20 E8 90 */ fmr f1, f29 +/* 80253F88 00250EE8 EF E2 00 28 */ fsubs f31, f2, f0 +/* 80253F8C 00250EEC FC 40 F0 90 */ fmr f2, f30 +/* 80253F90 00250EF0 48 0C 02 71 */ bl __ct__9CVector2fFff +/* 80253F94 00250EF4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80253F98 00250EF8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80253F9C 00250EFC C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80253FA0 00250F00 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 80253FA4 00250F04 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80253FA8 00250F08 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80253FAC 00250F0C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80253FB0 00250F10 48 0C 02 51 */ bl __ct__9CVector2fFff +/* 80253FB4 00250F14 38 61 00 44 */ addi r3, r1, 0x44 +/* 80253FB8 00250F18 38 81 00 3C */ addi r4, r1, 0x3c +/* 80253FBC 00250F1C 48 0C 00 09 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +/* 80253FC0 00250F20 D0 3F 0C 7C */ stfs f1, 0xc7c(r31) +/* 80253FC4 00250F24 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80253FC8 00250F28 C0 7F 00 44 */ lfs f3, 0x44(r31) +/* 80253FCC 00250F2C C0 5F 00 34 */ lfs f2, 0x34(r31) +/* 80253FD0 00250F30 EC 23 07 B2 */ fmuls f1, f3, f30 +/* 80253FD4 00250F34 C0 9F 00 54 */ lfs f4, 0x54(r31) +/* 80253FD8 00250F38 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80253FDC 00250F3C EC 22 0F 7A */ fmadds f1, f2, f29, f1 +/* 80253FE0 00250F40 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80253FE4 00250F44 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80253FE8 00250F48 EC 24 0F FA */ fmadds f1, f4, f31, f1 +/* 80253FEC 00250F4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80253FF0 00250F50 40 81 00 10 */ ble lbl_80254000 +/* 80253FF4 00250F54 C0 1F 0C 7C */ lfs f0, 0xc7c(r31) +/* 80253FF8 00250F58 FC 00 00 50 */ fneg f0, f0 +/* 80253FFC 00250F5C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) +lbl_80254000: +/* 80254000 00250F60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254004 00250F64 D0 1F 0C 78 */ stfs f0, 0xc78(r31) +/* 80254008 00250F68 48 00 01 90 */ b lbl_80254198 +lbl_8025400C: +/* 8025400C 00250F6C 3C A0 80 3F */ lis r5, lbl_803E91F8@ha +/* 80254010 00250F70 38 C1 00 6C */ addi r6, r1, 0x6c +/* 80254014 00250F74 39 45 91 F8 */ addi r10, r5, lbl_803E91F8@l +/* 80254018 00250F78 38 A0 00 0C */ li r5, 0xc +/* 8025401C 00250F7C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80254020 00250F80 38 E0 00 04 */ li r7, 4 +/* 80254024 00250F84 81 0A 00 04 */ lwz r8, 4(r10) +/* 80254028 00250F88 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025402C 00250F8C 91 21 00 6C */ stw r9, 0x6c(r1) +/* 80254030 00250F90 91 01 00 70 */ stw r8, 0x70(r1) +/* 80254034 00250F94 90 01 00 74 */ stw r0, 0x74(r1) +/* 80254038 00250F98 4B E2 87 7D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025403C 00250F9C 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80254040 00250FA0 2C 00 00 02 */ cmpwi r0, 2 +/* 80254044 00250FA4 41 82 00 08 */ beq lbl_8025404C +/* 80254048 00250FA8 48 00 01 50 */ b lbl_80254198 +lbl_8025404C: +/* 8025404C 00250FAC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80254050 00250FB0 38 80 00 01 */ li r4, 1 +/* 80254054 00250FB4 4B EE 69 85 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80254058 00250FB8 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025405C 00250FBC C0 1F 0C 78 */ lfs f0, 0xc78(r31) +/* 80254060 00250FC0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80254064 00250FC4 40 82 00 CC */ bne lbl_80254130 +/* 80254068 00250FC8 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 8025406C 00250FCC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80254070 00250FD0 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 80254074 00250FD4 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80254078 00250FD8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025407C 00250FDC 38 A0 00 14 */ li r5, 0x14 +/* 80254080 00250FE0 90 01 00 30 */ stw r0, 0x30(r1) +/* 80254084 00250FE4 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80254088 00250FE8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025408C 00250FEC 4B DD 6F 4D */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 80254090 00250FF0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80254094 00250FF4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80254098 00250FF8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8025409C 00250FFC 38 C1 00 1C */ addi r6, r1, 0x1c +/* 802540A0 00251000 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 802540A4 00251004 38 A0 00 15 */ li r5, 0x15 +/* 802540A8 00251008 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 802540AC 0025100C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802540B0 00251010 90 81 00 58 */ stw r4, 0x58(r1) +/* 802540B4 00251014 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802540B8 00251018 90 01 00 20 */ stw r0, 0x20(r1) +/* 802540BC 0025101C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 802540C0 00251020 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802540C4 00251024 4B DD 6F 15 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 802540C8 00251028 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 802540CC 0025102C 38 61 00 54 */ addi r3, r1, 0x54 +/* 802540D0 00251030 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 802540D4 00251034 38 81 00 14 */ addi r4, r1, 0x14 +/* 802540D8 00251038 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 802540DC 0025103C 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 802540E0 00251040 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802540E4 00251044 90 A1 00 50 */ stw r5, 0x50(r1) +/* 802540E8 00251048 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802540EC 0025104C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802540F0 00251050 48 0F 49 E5 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 802540F4 00251054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802540F8 00251058 41 82 00 38 */ beq lbl_80254130 +/* 802540FC 0025105C C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) +/* 80254100 00251060 38 61 00 4C */ addi r3, r1, 0x4c +/* 80254104 00251064 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) +/* 80254108 00251068 38 81 00 0C */ addi r4, r1, 0xc +/* 8025410C 0025106C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80254110 00251070 90 01 00 10 */ stw r0, 0x10(r1) +/* 80254114 00251074 48 0F 49 C1 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 80254118 00251078 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025411C 0025107C 41 82 00 14 */ beq lbl_80254130 +/* 80254120 00251080 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80254124 00251084 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80254128 00251088 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025412C 0025108C D0 1F 0C 78 */ stfs f0, 0xc78(r31) +lbl_80254130: +/* 80254130 00251090 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80254134 00251094 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80254138 00251098 41 82 00 60 */ beq lbl_80254198 +/* 8025413C 0025109C C0 3F 0C 7C */ lfs f1, 0xc7c(r31) +/* 80254140 002510A0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80254144 002510A4 C0 1F 0C 78 */ lfs f0, 0xc78(r31) +/* 80254148 002510A8 38 81 00 08 */ addi r4, r1, 8 +/* 8025414C 002510AC EC 21 07 72 */ fmuls f1, f1, f29 +/* 80254150 002510B0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80254154 002510B4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80254158 002510B8 48 0B CF A1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8025415C 002510BC C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 80254160 002510C0 FC 20 E8 90 */ fmr f1, f29 +/* 80254164 002510C4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80254168 002510C8 7F E3 FB 78 */ mr r3, r31 +/* 8025416C 002510CC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80254170 002510D0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80254174 002510D4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80254178 002510D8 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 8025417C 002510DC D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 80254180 002510E0 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 80254184 002510E4 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80254188 002510E8 4B EC 6B D5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +/* 8025418C 002510EC 48 00 00 0C */ b lbl_80254198 +lbl_80254190: +/* 80254190 002510F0 38 00 00 00 */ li r0, 0 +/* 80254194 002510F4 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_80254198: +/* 80254198 002510F8 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8025419C 002510FC CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802541A0 00251100 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 802541A4 00251104 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 802541A8 00251108 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 802541AC 0025110C CB A1 01 00 */ lfd f29, 0x100(r1) +/* 802541B0 00251110 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 802541B4 00251114 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802541B8 00251118 7C 08 03 A6 */ mtlr r0 +/* 802541BC 0025111C 38 21 01 30 */ addi r1, r1, 0x130 +/* 802541C0 00251120 4E 80 00 20 */ blr + +.global Land__7CRidleyFR13CStateManager9EStateMsgf +Land__7CRidleyFR13CStateManager9EStateMsgf: +/* 802541C4 00251124 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802541C8 00251128 7C 08 02 A6 */ mflr r0 +/* 802541CC 0025112C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802541D0 00251130 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802541D4 00251134 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802541D8 00251138 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802541DC 0025113C 2C 05 00 01 */ cmpwi r5, 1 +/* 802541E0 00251140 7C 7E 1B 78 */ mr r30, r3 +/* 802541E4 00251144 7C 9F 23 78 */ mr r31, r4 +/* 802541E8 00251148 41 82 01 C4 */ beq lbl_802543AC +/* 802541EC 0025114C 40 80 00 10 */ bge lbl_802541FC +/* 802541F0 00251150 2C 05 00 00 */ cmpwi r5, 0 +/* 802541F4 00251154 40 80 00 14 */ bge lbl_80254208 +/* 802541F8 00251158 48 00 02 EC */ b lbl_802544E4 +lbl_802541FC: +/* 802541FC 0025115C 2C 05 00 03 */ cmpwi r5, 3 +/* 80254200 00251160 40 80 02 E4 */ bge lbl_802544E4 +/* 80254204 00251164 48 00 02 00 */ b lbl_80254404 +lbl_80254208: +/* 80254208 00251168 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8025420C 0025116C 38 61 00 64 */ addi r3, r1, 0x64 +/* 80254210 00251170 C0 1E 0A B0 */ lfs f0, 0xab0(r30) +/* 80254214 00251174 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 80254218 00251178 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8025421C 0025117C C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80254220 00251180 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80254224 00251184 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 80254228 00251188 C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 8025422C 0025118C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80254230 00251190 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254234 00251194 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80254238 00251198 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 8025423C 0025119C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80254240 002511A0 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80254244 002511A4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80254248 002511A8 48 0C 06 71 */ bl Magnitude__9CVector3fCFv +/* 8025424C 002511AC D0 21 00 08 */ stfs f1, 8(r1) +/* 80254250 002511B0 38 61 00 0C */ addi r3, r1, 0xc +/* 80254254 002511B4 C0 22 B9 44 */ lfs f1, lbl_805AD664@sda21(r2) +/* 80254258 002511B8 38 81 00 08 */ addi r4, r1, 8 +/* 8025425C 002511BC C0 1E 0A B4 */ lfs f0, 0xab4(r30) +/* 80254260 002511C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80254264 002511C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80254268 002511C8 4B E2 9B 79 */ bl "Min__5CMathFRCfRCf" +/* 8025426C 002511CC C3 E3 00 00 */ lfs f31, 0(r3) +/* 80254270 002511D0 38 61 00 64 */ addi r3, r1, 0x64 +/* 80254274 002511D4 48 0C 06 85 */ bl Normalize__9CVector3fFv +/* 80254278 002511D8 C0 43 00 04 */ lfs f2, 4(r3) +/* 8025427C 002511DC 38 81 00 58 */ addi r4, r1, 0x58 +/* 80254280 002511E0 C0 23 00 08 */ lfs f1, 8(r3) +/* 80254284 002511E4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80254288 002511E8 EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 8025428C 002511EC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) +/* 80254290 002511F0 EC 7F 00 72 */ fmuls f3, f31, f1 +/* 80254294 002511F4 C0 FE 0A B0 */ lfs f7, 0xab0(r30) +/* 80254298 002511F8 EC 5F 00 32 */ fmuls f2, f31, f0 +/* 8025429C 002511FC C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 802542A0 00251200 EC A6 20 2A */ fadds f5, f6, f4 +/* 802542A4 00251204 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 802542A8 00251208 EC 87 18 2A */ fadds f4, f7, f3 +/* 802542AC 0025120C 7F C3 F3 78 */ mr r3, r30 +/* 802542B0 00251210 EC 01 10 2A */ fadds f0, f1, f2 +/* 802542B4 00251214 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802542B8 00251218 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 802542BC 0025121C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 802542C0 00251220 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802542C4 00251224 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802542C8 00251228 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802542CC 0025122C D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802542D0 00251230 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802542D4 00251234 4B E2 88 89 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802542D8 00251238 38 00 00 01 */ li r0, 1 +/* 802542DC 0025123C 7F C3 F3 78 */ mr r3, r30 +/* 802542E0 00251240 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802542E4 00251244 7F E5 FB 78 */ mr r5, r31 +/* 802542E8 00251248 38 80 00 13 */ li r4, 0x13 +/* 802542EC 0025124C 4B E0 00 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 802542F0 00251250 7F C3 F3 78 */ mr r3, r30 +/* 802542F4 00251254 4B DF F5 C9 */ bl GetMaterialFilter__6CActorCFv +/* 802542F8 00251258 80 AD 97 AC */ lwz r5, lbl_805A836C@sda21(r13) +/* 802542FC 0025125C 38 80 00 01 */ li r4, 1 +/* 80254300 00251260 83 A3 00 08 */ lwz r29, 8(r3) +/* 80254304 00251264 83 83 00 0C */ lwz r28, 0xc(r3) +/* 80254308 00251268 38 60 00 00 */ li r3, 0 +/* 8025430C 0025126C 48 13 5B E9 */ bl __shl2i +/* 80254310 00251270 7C 7B 1B 78 */ mr r27, r3 +/* 80254314 00251274 7C 9A 23 78 */ mr r26, r4 +/* 80254318 00251278 7F C3 F3 78 */ mr r3, r30 +/* 8025431C 0025127C 4B DF F5 A1 */ bl GetMaterialFilter__6CActorCFv +/* 80254320 00251280 80 A3 00 00 */ lwz r5, 0(r3) +/* 80254324 00251284 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha +/* 80254328 00251288 80 C3 00 04 */ lwz r6, 4(r3) +/* 8025432C 0025128C 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l +/* 80254330 00251290 38 00 FF FF */ li r0, -1 +/* 80254334 00251294 7C A7 DB 78 */ or r7, r5, r27 +/* 80254338 00251298 7C C4 D3 78 */ or r4, r6, r26 +/* 8025433C 0025129C 7F 86 18 38 */ and r6, r28, r3 +/* 80254340 002512A0 7F A5 00 38 */ and r5, r29, r0 +/* 80254344 002512A4 38 00 00 03 */ li r0, 3 +/* 80254348 002512A8 90 81 00 74 */ stw r4, 0x74(r1) +/* 8025434C 002512AC 7F C3 F3 78 */ mr r3, r30 +/* 80254350 002512B0 38 81 00 70 */ addi r4, r1, 0x70 +/* 80254354 002512B4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 80254358 002512B8 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8025435C 002512BC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 80254360 002512C0 90 01 00 80 */ stw r0, 0x80(r1) +/* 80254364 002512C4 4B DF F5 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80254368 002512C8 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 8025436C 002512CC 2C 00 00 03 */ cmpwi r0, 3 +/* 80254370 002512D0 40 82 00 18 */ bne lbl_80254388 +/* 80254374 002512D4 7F C3 F3 78 */ mr r3, r30 +/* 80254378 002512D8 7F E6 FB 78 */ mr r6, r31 +/* 8025437C 002512DC 38 80 00 25 */ li r4, 0x25 +/* 80254380 002512E0 38 A0 00 13 */ li r5, 0x13 +/* 80254384 002512E4 4B DF FF 31 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_80254388: +/* 80254388 002512E8 C0 3E 08 F4 */ lfs f1, 0x8f4(r30) +/* 8025438C 002512EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254390 002512F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254394 002512F4 7C 60 00 26 */ mfcr r3 +/* 80254398 002512F8 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 8025439C 002512FC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 802543A0 00251300 98 1E 04 02 */ stb r0, 0x402(r30) +/* 802543A4 00251304 D0 3E 05 04 */ stfs f1, 0x504(r30) +/* 802543A8 00251308 48 00 01 3C */ b lbl_802544E4 +lbl_802543AC: +/* 802543AC 0025130C 3C A0 80 3F */ lis r5, lbl_803E91EC@ha +/* 802543B0 00251310 38 C1 00 34 */ addi r6, r1, 0x34 +/* 802543B4 00251314 39 45 91 EC */ addi r10, r5, lbl_803E91EC@l +/* 802543B8 00251318 38 A0 00 07 */ li r5, 7 +/* 802543BC 0025131C 81 2A 00 00 */ lwz r9, 0(r10) +/* 802543C0 00251320 38 E0 00 08 */ li r7, 8 +/* 802543C4 00251324 81 0A 00 04 */ lwz r8, 4(r10) +/* 802543C8 00251328 80 0A 00 08 */ lwz r0, 8(r10) +/* 802543CC 0025132C 91 21 00 34 */ stw r9, 0x34(r1) +/* 802543D0 00251330 91 01 00 38 */ stw r8, 0x38(r1) +/* 802543D4 00251334 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802543D8 00251338 4B E2 83 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802543DC 0025133C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 802543E0 00251340 2C 00 00 02 */ cmpwi r0, 2 +/* 802543E4 00251344 40 82 00 10 */ bne lbl_802543F4 +/* 802543E8 00251348 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802543EC 0025134C 38 80 00 03 */ li r4, 3 +/* 802543F0 00251350 4B EE 65 E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802543F4: +/* 802543F4 00251354 7F C3 F3 78 */ mr r3, r30 +/* 802543F8 00251358 7F E4 FB 78 */ mr r4, r31 +/* 802543FC 0025135C 48 00 1A 61 */ bl sub_80255e5c +/* 80254400 00251360 48 00 00 E4 */ b lbl_802544E4 +lbl_80254404: +/* 80254404 00251364 38 60 00 00 */ li r3, 0 +/* 80254408 00251368 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025440C 0025136C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80254410 00251370 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80254414 00251374 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80254418 00251378 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025441C 0025137C 98 1E 04 02 */ stb r0, 0x402(r30) +/* 80254420 00251380 D0 3E 05 04 */ stfs f1, 0x504(r30) +/* 80254424 00251384 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254428 00251388 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8025442C 0025138C 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80254430 00251390 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254434 00251394 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80254438 00251398 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 8025443C 0025139C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80254440 002513A0 48 0B E1 05 */ bl Range__9CRandom16Fff +/* 80254444 002513A4 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) +/* 80254448 002513A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025444C 002513AC 40 80 00 98 */ bge lbl_802544E4 +/* 80254450 002513B0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80254454 002513B4 C0 FE 00 48 */ lfs f7, 0x48(r30) +/* 80254458 002513B8 C1 23 00 50 */ lfs f9, 0x50(r3) +/* 8025445C 002513BC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254460 002513C0 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80254464 002513C4 EC C9 00 28 */ fsubs f6, f9, f0 +/* 80254468 002513C8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025446C 002513CC C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 80254470 002513D0 EC 43 00 28 */ fsubs f2, f3, f0 +/* 80254474 002513D4 C1 43 00 60 */ lfs f10, 0x60(r3) +/* 80254478 002513D8 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 8025447C 002513DC C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80254480 002513E0 C1 1E 00 58 */ lfs f8, 0x58(r30) +/* 80254484 002513E4 EC AA 00 28 */ fsubs f5, f10, f0 +/* 80254488 002513E8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025448C 002513EC EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80254490 002513F0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80254494 002513F4 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 80254498 002513F8 EC 25 0A 3A */ fmadds f1, f5, f8, f1 +/* 8025449C 002513FC D1 01 00 18 */ stfs f8, 0x18(r1) +/* 802544A0 00251400 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802544A4 00251404 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802544A8 00251408 D1 21 00 20 */ stfs f9, 0x20(r1) +/* 802544AC 0025140C D1 41 00 24 */ stfs f10, 0x24(r1) +/* 802544B0 00251410 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802544B4 00251414 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802544B8 00251418 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802544BC 0025141C 40 81 00 18 */ ble lbl_802544D4 +/* 802544C0 00251420 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802544C4 00251424 38 60 00 01 */ li r3, 1 +/* 802544C8 00251428 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 802544CC 0025142C 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802544D0 00251430 48 00 00 14 */ b lbl_802544E4 +lbl_802544D4: +/* 802544D4 00251434 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802544D8 00251438 38 60 00 01 */ li r3, 1 +/* 802544DC 0025143C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802544E0 00251440 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_802544E4: +/* 802544E4 00251444 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802544E8 00251448 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802544EC 0025144C BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802544F0 00251450 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802544F4 00251454 7C 08 03 A6 */ mtlr r0 +/* 802544F8 00251458 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802544FC 0025145C 4E 80 00 20 */ blr + +.global Approach__7CRidleyFR13CStateManager9EStateMsgf +Approach__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254500 00251460 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80254504 00251464 7C 08 02 A6 */ mflr r0 +/* 80254508 00251468 90 01 00 74 */ stw r0, 0x74(r1) +/* 8025450C 0025146C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80254510 00251470 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80254514 00251474 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80254518 00251478 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8025451C 0025147C FF E0 08 90 */ fmr f31, f1 +/* 80254520 00251480 2C 05 00 01 */ cmpwi r5, 1 +/* 80254524 00251484 7C 7E 1B 78 */ mr r30, r3 +/* 80254528 00251488 7C 9F 23 78 */ mr r31, r4 +/* 8025452C 0025148C 41 82 01 0C */ beq lbl_80254638 +/* 80254530 00251490 40 80 01 68 */ bge lbl_80254698 +/* 80254534 00251494 2C 05 00 00 */ cmpwi r5, 0 +/* 80254538 00251498 40 80 00 0C */ bge lbl_80254544 +/* 8025453C 0025149C 48 00 01 5C */ b lbl_80254698 +/* 80254540 002514A0 48 00 01 58 */ b lbl_80254698 +lbl_80254544: +/* 80254544 002514A4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254548 002514A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025454C 002514AC C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254550 002514B0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80254554 002514B4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80254558 002514B8 C0 5E 0A B0 */ lfs f2, 0xab0(r30) +/* 8025455C 002514BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254560 002514C0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80254564 002514C4 C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254568 002514C8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025456C 002514CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254570 002514D0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80254574 002514D4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80254578 002514D8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8025457C 002514DC 48 0C 02 D5 */ bl AsNormalized__9CVector3fCFv +/* 80254580 002514E0 C0 FE 0A B4 */ lfs f7, 0xab4(r30) +/* 80254584 002514E4 7F C3 F3 78 */ mr r3, r30 +/* 80254588 002514E8 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8025458C 002514EC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80254590 002514F0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80254594 002514F4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80254598 002514F8 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 8025459C 002514FC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) +/* 802545A0 00251500 EC 67 00 72 */ fmuls f3, f7, f1 +/* 802545A4 00251504 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 802545A8 00251508 EC 27 00 32 */ fmuls f1, f7, f0 +/* 802545AC 0025150C C0 5E 0A 90 */ lfs f2, 0xa90(r30) +/* 802545B0 00251510 EC A6 28 2A */ fadds f5, f6, f5 +/* 802545B4 00251514 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 802545B8 00251518 EC 64 18 2A */ fadds f3, f4, f3 +/* 802545BC 0025151C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802545C0 00251520 EC 22 08 2A */ fadds f1, f2, f1 +/* 802545C4 00251524 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802545C8 00251528 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802545CC 0025152C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802545D0 00251530 C0 3E 0A E8 */ lfs f1, 0xae8(r30) +/* 802545D4 00251534 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 802545D8 00251538 EC 21 20 2A */ fadds f1, f1, f4 +/* 802545DC 0025153C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802545E0 00251540 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802545E4 00251544 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802545E8 00251548 4B E2 85 75 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 802545EC 0025154C 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802545F0 00251550 38 60 00 00 */ li r3, 0 +/* 802545F4 00251554 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802545F8 00251558 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802545FC 0025155C 80 1E 0C 64 */ lwz r0, 0xc64(r30) +/* 80254600 00251560 2C 00 00 03 */ cmpwi r0, 3 +/* 80254604 00251564 40 82 00 94 */ bne lbl_80254698 +/* 80254608 00251568 88 9E 0A 34 */ lbz r4, 0xa34(r30) +/* 8025460C 0025156C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80254610 00251570 40 82 00 88 */ bne lbl_80254698 +/* 80254614 00251574 38 00 00 01 */ li r0, 1 +/* 80254618 00251578 7F C3 F3 78 */ mr r3, r30 +/* 8025461C 0025157C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80254620 00251580 7F E5 FB 78 */ mr r5, r31 +/* 80254624 00251584 98 9E 0A 34 */ stb r4, 0xa34(r30) +/* 80254628 00251588 38 80 00 0F */ li r4, 0xf +/* 8025462C 0025158C 38 C0 FF FF */ li r6, -1 +/* 80254630 00251590 4B DF CA 91 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80254634 00251594 48 00 00 64 */ b lbl_80254698 +lbl_80254638: +/* 80254638 00251598 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 8025463C 0025159C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80254640 002515A0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254644 002515A4 38 81 00 08 */ addi r4, r1, 8 +/* 80254648 002515A8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 8025464C 002515AC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254650 002515B0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254654 002515B4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 80254658 002515B8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025465C 002515BC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254660 002515C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254664 002515C4 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80254668 002515C8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025466C 002515CC D0 01 00 08 */ stfs f0, 8(r1) +/* 80254670 002515D0 48 0C 01 E1 */ bl AsNormalized__9CVector3fCFv +/* 80254674 002515D4 FC 40 F8 90 */ fmr f2, f31 +/* 80254678 002515D8 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 8025467C 002515DC 7F C3 F3 78 */ mr r3, r30 +/* 80254680 002515E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80254684 002515E4 48 00 19 65 */ bl sub_80255fe8 +/* 80254688 002515E8 FC 20 F8 90 */ fmr f1, f31 +/* 8025468C 002515EC 7F C3 F3 78 */ mr r3, r30 +/* 80254690 002515F0 7F E4 FB 78 */ mr r4, r31 +/* 80254694 002515F4 48 00 18 BD */ bl sub_80255f50 +lbl_80254698: +/* 80254698 002515F8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025469C 002515FC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802546A0 00251600 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802546A4 00251604 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802546A8 00251608 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802546AC 0025160C 7C 08 03 A6 */ mtlr r0 +/* 802546B0 00251610 38 21 00 70 */ addi r1, r1, 0x70 +/* 802546B4 00251614 4E 80 00 20 */ blr + +.global Explode__7CRidleyFR13CStateManager9EStateMsgf +Explode__7CRidleyFR13CStateManager9EStateMsgf: +/* 802546B8 00251618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802546BC 0025161C 7C 08 02 A6 */ mflr r0 +/* 802546C0 00251620 2C 05 00 01 */ cmpwi r5, 1 +/* 802546C4 00251624 90 01 00 24 */ stw r0, 0x24(r1) +/* 802546C8 00251628 41 82 00 3C */ beq lbl_80254704 +/* 802546CC 0025162C 40 80 00 10 */ bge lbl_802546DC +/* 802546D0 00251630 2C 05 00 00 */ cmpwi r5, 0 +/* 802546D4 00251634 40 80 00 14 */ bge lbl_802546E8 +/* 802546D8 00251638 48 00 00 68 */ b lbl_80254740 +lbl_802546DC: +/* 802546DC 0025163C 2C 05 00 03 */ cmpwi r5, 3 +/* 802546E0 00251640 40 80 00 60 */ bge lbl_80254740 +/* 802546E4 00251644 48 00 00 54 */ b lbl_80254738 +lbl_802546E8: +/* 802546E8 00251648 88 83 0A 32 */ lbz r4, 0xa32(r3) +/* 802546EC 0025164C 38 00 00 00 */ li r0, 0 +/* 802546F0 00251650 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 802546F4 00251654 38 00 00 01 */ li r0, 1 +/* 802546F8 00251658 98 83 0A 32 */ stb r4, 0xa32(r3) +/* 802546FC 0025165C 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80254700 00251660 48 00 00 40 */ b lbl_80254740 +lbl_80254704: +/* 80254704 00251664 3C A0 80 3F */ lis r5, lbl_803E91E0@ha +/* 80254708 00251668 38 C1 00 08 */ addi r6, r1, 8 +/* 8025470C 0025166C 39 45 91 E0 */ addi r10, r5, lbl_803E91E0@l +/* 80254710 00251670 38 A0 00 06 */ li r5, 6 +/* 80254714 00251674 81 2A 00 00 */ lwz r9, 0(r10) +/* 80254718 00251678 38 E0 00 02 */ li r7, 2 +/* 8025471C 0025167C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80254720 00251680 80 0A 00 08 */ lwz r0, 8(r10) +/* 80254724 00251684 91 21 00 08 */ stw r9, 8(r1) +/* 80254728 00251688 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025472C 0025168C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80254730 00251690 4B E2 80 85 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80254734 00251694 48 00 00 0C */ b lbl_80254740 +lbl_80254738: +/* 80254738 00251698 38 00 00 00 */ li r0, 0 +/* 8025473C 0025169C 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80254740: +/* 80254740 002516A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80254744 002516A4 7C 08 03 A6 */ mtlr r0 +/* 80254748 002516A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025474C 002516AC 4E 80 00 20 */ blr + +.global LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf +LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254750 002516B0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80254754 002516B4 7C 08 02 A6 */ mflr r0 +/* 80254758 002516B8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8025475C 002516BC DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 80254760 002516C0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 80254764 002516C4 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 80254768 002516C8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 8025476C 002516CC 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80254770 002516D0 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80254774 002516D4 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80254778 002516D8 FF C0 08 90 */ fmr f30, f1 +/* 8025477C 002516DC 2C 05 00 01 */ cmpwi r5, 1 +/* 80254780 002516E0 7C 7E 1B 78 */ mr r30, r3 +/* 80254784 002516E4 7C 9F 23 78 */ mr r31, r4 +/* 80254788 002516E8 41 82 02 E8 */ beq lbl_80254A70 +/* 8025478C 002516EC 40 80 00 10 */ bge lbl_8025479C +/* 80254790 002516F0 2C 05 00 00 */ cmpwi r5, 0 +/* 80254794 002516F4 40 80 00 14 */ bge lbl_802547A8 +/* 80254798 002516F8 48 00 07 D4 */ b lbl_80254F6C +lbl_8025479C: +/* 8025479C 002516FC 2C 05 00 03 */ cmpwi r5, 3 +/* 802547A0 00251700 40 80 07 CC */ bge lbl_80254F6C +/* 802547A4 00251704 48 00 06 F4 */ b lbl_80254E98 +lbl_802547A8: +/* 802547A8 00251708 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802547AC 0025170C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802547B0 00251710 41 82 00 48 */ beq lbl_802547F8 +/* 802547B4 00251714 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802547B8 00251718 38 60 00 00 */ li r3, 0 +/* 802547BC 0025171C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802547C0 00251720 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 802547C4 00251724 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802547C8 00251728 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802547CC 0025172C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802547D0 00251730 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) +/* 802547D4 00251734 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) +/* 802547D8 00251738 D0 5E 0B CC */ stfs f2, 0xbcc(r30) +/* 802547DC 0025173C C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 802547E0 00251740 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 802547E4 00251744 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 802547E8 00251748 D0 1E 0B D0 */ stfs f0, 0xbd0(r30) +/* 802547EC 0025174C D0 3E 0B D4 */ stfs f1, 0xbd4(r30) +/* 802547F0 00251750 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) +/* 802547F4 00251754 48 00 01 EC */ b lbl_802549E0 +lbl_802547F8: +/* 802547F8 00251758 C1 3E 00 50 */ lfs f9, 0x50(r30) +/* 802547FC 0025175C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254800 00251760 C0 9E 00 40 */ lfs f4, 0x40(r30) +/* 80254804 00251764 EC C9 00 28 */ fsubs f6, f9, f0 +/* 80254808 00251768 C0 FE 0A 94 */ lfs f7, 0xa94(r30) +/* 8025480C 0025176C C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254810 00251770 C1 5E 00 60 */ lfs f10, 0x60(r30) +/* 80254814 00251774 EC 64 00 28 */ fsubs f3, f4, f0 +/* 80254818 00251778 C0 3E 0A B0 */ lfs f1, 0xab0(r30) +/* 8025481C 0025177C C0 5E 0A 84 */ lfs f2, 0xa84(r30) +/* 80254820 00251780 EC 07 01 B2 */ fmuls f0, f7, f6 +/* 80254824 00251784 EC AA 08 28 */ fsubs f5, f10, f1 +/* 80254828 00251788 C1 1E 0A A4 */ lfs f8, 0xaa4(r30) +/* 8025482C 0025178C EC 22 00 FA */ fmadds f1, f2, f3, f0 +/* 80254830 00251790 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254834 00251794 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 80254838 00251798 EC 28 09 7A */ fmadds f1, f8, f5, f1 +/* 8025483C 0025179C D1 21 00 8C */ stfs f9, 0x8c(r1) +/* 80254840 002517A0 D1 41 00 90 */ stfs f10, 0x90(r1) +/* 80254844 002517A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254848 002517A8 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 8025484C 002517AC D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 80254850 002517B0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 80254854 002517B4 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 80254858 002517B8 D0 E1 00 A4 */ stfs f7, 0xa4(r1) +/* 8025485C 002517BC D1 01 00 A8 */ stfs f8, 0xa8(r1) +/* 80254860 002517C0 7C 00 00 26 */ mfcr r0 +/* 80254864 002517C4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80254868 002517C8 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 8025486C 002517CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80254870 002517D0 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80254874 002517D4 83 BE 00 2C */ lwz r29, 0x2c(r30) +/* 80254878 002517D8 48 00 01 50 */ b lbl_802549C8 +lbl_8025487C: +/* 8025487C 002517DC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80254880 002517E0 2C 00 00 0A */ cmpwi r0, 0xa +/* 80254884 002517E4 40 82 01 40 */ bne lbl_802549C4 +/* 80254888 002517E8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8025488C 002517EC 2C 00 00 06 */ cmpwi r0, 6 +/* 80254890 002517F0 40 82 01 34 */ bne lbl_802549C4 +/* 80254894 002517F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 80254898 002517F8 7F E4 FB 78 */ mr r4, r31 +/* 8025489C 002517FC 38 61 00 0C */ addi r3, r1, 0xc +/* 802548A0 00251800 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802548A4 00251804 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802548A8 00251808 4B DF 36 75 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 802548AC 0025180C A0 61 00 0C */ lhz r3, 0xc(r1) +/* 802548B0 00251810 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802548B4 00251814 B0 61 00 10 */ sth r3, 0x10(r1) +/* 802548B8 00251818 7C 03 00 40 */ cmplw r3, r0 +/* 802548BC 0025181C 41 82 01 08 */ beq lbl_802549C4 +/* 802548C0 00251820 B0 61 00 08 */ sth r3, 8(r1) +/* 802548C4 00251824 7F E3 FB 78 */ mr r3, r31 +/* 802548C8 00251828 38 81 00 08 */ addi r4, r1, 8 +/* 802548CC 0025182C 4B DF 7C D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802548D0 00251830 7C 64 1B 78 */ mr r4, r3 +/* 802548D4 00251834 38 61 00 34 */ addi r3, r1, 0x34 +/* 802548D8 00251838 4B E5 1C 75 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 802548DC 0025183C 80 63 00 04 */ lwz r3, 4(r3) +/* 802548E0 00251840 28 03 00 00 */ cmplwi r3, 0 +/* 802548E4 00251844 41 82 00 E0 */ beq lbl_802549C4 +/* 802548E8 00251848 C1 03 00 50 */ lfs f8, 0x50(r3) +/* 802548EC 0025184C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 802548F0 00251850 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802548F4 00251854 EC A8 00 28 */ fsubs f5, f8, f0 +/* 802548F8 00251858 C0 DE 0A 94 */ lfs f6, 0xa94(r30) +/* 802548FC 0025185C C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254900 00251860 C1 23 00 60 */ lfs f9, 0x60(r3) +/* 80254904 00251864 EC 43 00 28 */ fsubs f2, f3, f0 +/* 80254908 00251868 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 8025490C 0025186C C0 3E 0A 84 */ lfs f1, 0xa84(r30) +/* 80254910 00251870 EC 06 01 72 */ fmuls f0, f6, f5 +/* 80254914 00251874 EC 89 20 28 */ fsubs f4, f9, f4 +/* 80254918 00251878 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 8025491C 0025187C C0 FE 0A A4 */ lfs f7, 0xaa4(r30) +/* 80254920 00251880 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80254924 00251884 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 80254928 00251888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025492C 0025188C EC 67 01 3A */ fmadds f3, f7, f4, f0 +/* 80254930 00251890 D1 01 00 68 */ stfs f8, 0x68(r1) +/* 80254934 00251894 D1 21 00 6C */ stfs f9, 0x6c(r1) +/* 80254938 00251898 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8025493C 0025189C D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 80254940 002518A0 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80254944 002518A4 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80254948 002518A8 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 8025494C 002518AC D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 80254950 002518B0 41 82 00 10 */ beq lbl_80254960 +/* 80254954 002518B4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254958 002518B8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8025495C 002518BC 41 81 00 1C */ bgt lbl_80254978 +lbl_80254960: +/* 80254960 002518C0 28 00 00 00 */ cmplwi r0, 0 +/* 80254964 002518C4 40 82 00 60 */ bne lbl_802549C4 +/* 80254968 002518C8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025496C 002518CC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80254970 002518D0 4C 40 13 82 */ cror 2, 0, 2 +/* 80254974 002518D4 40 82 00 50 */ bne lbl_802549C4 +lbl_80254978: +/* 80254978 002518D8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8025497C 002518DC C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80254980 002518E0 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80254984 002518E4 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) +/* 80254988 002518E8 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) +/* 8025498C 002518EC D0 5E 0B CC */ stfs f2, 0xbcc(r30) +/* 80254990 002518F0 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80254994 002518F4 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80254998 002518F8 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8025499C 002518FC D0 1E 0B D0 */ stfs f0, 0xbd0(r30) +/* 802549A0 00251900 D0 3E 0B D4 */ stfs f1, 0xbd4(r30) +/* 802549A4 00251904 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) +/* 802549A8 00251908 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802549AC 0025190C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802549B0 00251910 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802549B4 00251914 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 802549B8 00251918 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 802549BC 0025191C D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +/* 802549C0 00251920 48 00 00 20 */ b lbl_802549E0 +lbl_802549C4: +/* 802549C4 00251924 3B BD 00 0C */ addi r29, r29, 0xc +lbl_802549C8: +/* 802549C8 00251928 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802549CC 0025192C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802549D0 00251930 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802549D4 00251934 7C 03 02 14 */ add r0, r3, r0 +/* 802549D8 00251938 7C 1D 00 40 */ cmplw r29, r0 +/* 802549DC 0025193C 40 82 FE A0 */ bne lbl_8025487C +lbl_802549E0: +/* 802549E0 00251940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802549E4 00251944 3C 60 80 3D */ lis r3, lbl_803D4C18@ha +/* 802549E8 00251948 C0 22 B9 50 */ lfs f1, lbl_805AD670@sda21(r2) +/* 802549EC 0025194C 38 E0 00 00 */ li r7, 0 +/* 802549F0 00251950 D0 1E 0B DC */ stfs f0, 0xbdc(r30) +/* 802549F4 00251954 38 C0 00 01 */ li r6, 1 +/* 802549F8 00251958 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) +/* 802549FC 0025195C 38 A3 4C 18 */ addi r5, r3, lbl_803D4C18@l +/* 80254A00 00251960 D0 3E 0B E0 */ stfs f1, 0xbe0(r30) +/* 80254A04 00251964 7F C3 F3 78 */ mr r3, r30 +/* 80254A08 00251968 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80254A0C 0025196C 7F E4 FB 78 */ mr r4, r31 +/* 80254A10 00251970 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254A14 00251974 50 E0 0F BC */ rlwimi r0, r7, 1, 0x1e, 0x1e +/* 80254A18 00251978 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254A1C 0025197C 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254A20 00251980 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80254A24 00251984 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254A28 00251988 D0 1E 0C 10 */ stfs f0, 0xc10(r30) +/* 80254A2C 0025198C 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254A30 00251990 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80254A34 00251994 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254A38 00251998 80 1E 0C B0 */ lwz r0, 0xcb0(r30) +/* 80254A3C 0025199C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80254A40 002519A0 7C A5 02 14 */ add r5, r5, r0 +/* 80254A44 002519A4 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80254A48 002519A8 90 1E 0C C0 */ stw r0, 0xcc0(r30) +/* 80254A4C 002519AC 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 80254A50 002519B0 C0 45 00 04 */ lfs f2, 4(r5) +/* 80254A54 002519B4 C0 65 00 08 */ lfs f3, 8(r5) +/* 80254A58 002519B8 C0 05 00 00 */ lfs f0, 0(r5) +/* 80254A5C 002519BC D0 1E 0C 68 */ stfs f0, 0xc68(r30) +/* 80254A60 002519C0 D0 5E 0C 6C */ stfs f2, 0xc6c(r30) +/* 80254A64 002519C4 D0 7E 0C 70 */ stfs f3, 0xc70(r30) +/* 80254A68 002519C8 48 00 2B 25 */ bl sub_8025758c +/* 80254A6C 002519CC 48 00 05 00 */ b lbl_80254F6C +lbl_80254A70: +/* 80254A70 002519D0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254A74 002519D4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80254A78 002519D8 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) +/* 80254A7C 002519DC C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80254A80 002519E0 C0 5E 0A B0 */ lfs f2, 0xab0(r30) +/* 80254A84 002519E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254A88 002519E8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80254A8C 002519EC C0 1E 0A 90 */ lfs f0, 0xa90(r30) +/* 80254A90 002519F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254A94 002519F4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254A98 002519F8 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80254A9C 002519FC D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 80254AA0 00251A00 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80254AA4 00251A04 48 0B FE 15 */ bl Magnitude__9CVector3fCFv +/* 80254AA8 00251A08 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) +/* 80254AAC 00251A0C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80254AB0 00251A10 38 6D 97 9C */ addi r3, r13, lbl_805A835C@sda21 +/* 80254AB4 00251A14 38 A2 B9 4C */ addi r5, r2, lbl_805AD66C@sda21 +/* 80254AB8 00251A18 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254ABC 00251A1C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80254AC0 00251A20 4B DB 77 F5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254AC4 00251A24 C0 23 00 00 */ lfs f1, 0(r3) +/* 80254AC8 00251A28 38 81 00 30 */ addi r4, r1, 0x30 +/* 80254ACC 00251A2C C0 02 B9 58 */ lfs f0, lbl_805AD678@sda21(r2) +/* 80254AD0 00251A30 38 62 B9 10 */ addi r3, r2, lbl_805AD630@sda21 +/* 80254AD4 00251A34 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 80254AD8 00251A38 38 AD 97 A0 */ addi r5, r13, lbl_805A8360@sda21 +/* 80254ADC 00251A3C EC 81 00 24 */ fdivs f4, f1, f0 +/* 80254AE0 00251A40 C0 22 B9 5C */ lfs f1, lbl_805AD67C@sda21(r2) +/* 80254AE4 00251A44 C0 62 B9 20 */ lfs f3, lbl_805AD640@sda21(r2) +/* 80254AE8 00251A48 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254AEC 00251A4C EC 42 09 3C */ fnmsubs f2, f2, f4, f1 +/* 80254AF0 00251A50 EC 24 01 32 */ fmuls f1, f4, f4 +/* 80254AF4 00251A54 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80254AF8 00251A58 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 80254AFC 00251A5C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80254B00 00251A60 4B DB 77 B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254B04 00251A64 C0 83 00 00 */ lfs f4, 0(r3) +/* 80254B08 00251A68 C0 62 B9 28 */ lfs f3, lbl_805AD648@sda21(r2) +/* 80254B0C 00251A6C D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80254B10 00251A70 EC A3 20 24 */ fdivs f5, f3, f4 +/* 80254B14 00251A74 C0 5E 0C 68 */ lfs f2, 0xc68(r30) +/* 80254B18 00251A78 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254B1C 00251A7C C0 1E 0C 70 */ lfs f0, 0xc70(r30) +/* 80254B20 00251A80 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80254B24 00251A84 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80254B28 00251A88 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80254B2C 00251A8C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80254B30 00251A90 D0 43 00 00 */ stfs f2, 0(r3) +/* 80254B34 00251A94 D0 23 00 04 */ stfs f1, 4(r3) +/* 80254B38 00251A98 D0 03 00 08 */ stfs f0, 8(r3) +/* 80254B3C 00251A9C D0 BE 05 5C */ stfs f5, 0x55c(r30) +/* 80254B40 00251AA0 D0 BE 05 60 */ stfs f5, 0x560(r30) +/* 80254B44 00251AA4 D0 BE 05 64 */ stfs f5, 0x564(r30) +/* 80254B48 00251AA8 D0 5E 09 E4 */ stfs f2, 0x9e4(r30) +/* 80254B4C 00251AAC D0 3E 09 E8 */ stfs f1, 0x9e8(r30) +/* 80254B50 00251AB0 D0 1E 09 EC */ stfs f0, 0x9ec(r30) +/* 80254B54 00251AB4 C0 1E 03 38 */ lfs f0, 0x338(r30) +/* 80254B58 00251AB8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80254B5C 00251ABC 40 81 00 34 */ ble lbl_80254B90 +/* 80254B60 00251AC0 80 1E 0C B0 */ lwz r0, 0xcb0(r30) +/* 80254B64 00251AC4 3C 60 80 3D */ lis r3, lbl_803D4C18@ha +/* 80254B68 00251AC8 38 63 4C 18 */ addi r3, r3, lbl_803D4C18@l +/* 80254B6C 00251ACC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80254B70 00251AD0 7C 63 02 14 */ add r3, r3, r0 +/* 80254B74 00251AD4 88 03 00 20 */ lbz r0, 0x20(r3) +/* 80254B78 00251AD8 28 00 00 00 */ cmplwi r0, 0 +/* 80254B7C 00251ADC 41 82 00 14 */ beq lbl_80254B90 +/* 80254B80 00251AE0 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254B84 00251AE4 38 60 00 01 */ li r3, 1 +/* 80254B88 00251AE8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80254B8C 00251AEC 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80254B90: +/* 80254B90 00251AF0 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254B94 00251AF4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80254B98 00251AF8 41 82 00 54 */ beq lbl_80254BEC +/* 80254B9C 00251AFC 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254BA0 00251B00 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80254BA4 00251B04 41 82 00 48 */ beq lbl_80254BEC +/* 80254BA8 00251B08 C0 02 B9 60 */ lfs f0, lbl_805AD680@sda21(r2) +/* 80254BAC 00251B0C C0 7E 0B F0 */ lfs f3, 0xbf0(r30) +/* 80254BB0 00251B10 EC 80 07 B2 */ fmuls f4, f0, f30 +/* 80254BB4 00251B14 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) +/* 80254BB8 00251B18 C0 3E 0B F8 */ lfs f1, 0xbf8(r30) +/* 80254BBC 00251B1C C0 1E 0B E4 */ lfs f0, 0xbe4(r30) +/* 80254BC0 00251B20 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80254BC4 00251B24 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80254BC8 00251B28 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80254BCC 00251B2C EC 00 18 2A */ fadds f0, f0, f3 +/* 80254BD0 00251B30 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80254BD4 00251B34 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) +/* 80254BD8 00251B38 EC 00 10 2A */ fadds f0, f0, f2 +/* 80254BDC 00251B3C D0 1E 0B E8 */ stfs f0, 0xbe8(r30) +/* 80254BE0 00251B40 C0 1E 0B EC */ lfs f0, 0xbec(r30) +/* 80254BE4 00251B44 EC 00 08 2A */ fadds f0, f0, f1 +/* 80254BE8 00251B48 D0 1E 0B EC */ stfs f0, 0xbec(r30) +lbl_80254BEC: +/* 80254BEC 00251B4C 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254BF0 00251B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254BF4 00251B54 41 82 00 48 */ beq lbl_80254C3C +/* 80254BF8 00251B58 80 1E 0C AC */ lwz r0, 0xcac(r30) +/* 80254BFC 00251B5C 28 00 00 00 */ cmplwi r0, 0 +/* 80254C00 00251B60 41 82 00 3C */ beq lbl_80254C3C +/* 80254C04 00251B64 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254C08 00251B68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80254C0C 00251B6C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80254C10 00251B70 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80254C14 00251B74 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80254C18 00251B78 38 61 00 24 */ addi r3, r1, 0x24 +/* 80254C1C 00251B7C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80254C20 00251B80 38 C0 00 7F */ li r6, 0x7f +/* 80254C24 00251B84 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80254C28 00251B88 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80254C2C 00251B8C D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80254C30 00251B90 80 1E 0C A8 */ lwz r0, 0xca8(r30) +/* 80254C34 00251B94 90 01 00 24 */ stw r0, 0x24(r1) +/* 80254C38 00251B98 48 09 52 79 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80254C3C: +/* 80254C3C 00251B9C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254C40 00251BA0 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80254C44 00251BA4 2C 00 00 03 */ cmpwi r0, 3 +/* 80254C48 00251BA8 41 82 03 24 */ beq lbl_80254F6C +/* 80254C4C 00251BAC 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254C50 00251BB0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80254C54 00251BB4 40 82 02 30 */ bne lbl_80254E84 +/* 80254C58 00251BB8 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) +/* 80254C5C 00251BBC 38 61 00 AC */ addi r3, r1, 0xac +/* 80254C60 00251BC0 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80254C64 00251BC4 C0 7E 0B CC */ lfs f3, 0xbcc(r30) +/* 80254C68 00251BC8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80254C6C 00251BCC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80254C70 00251BD0 C0 3E 0B C4 */ lfs f1, 0xbc4(r30) +/* 80254C74 00251BD4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80254C78 00251BD8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80254C7C 00251BDC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80254C80 00251BE0 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 80254C84 00251BE4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80254C88 00251BE8 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80254C8C 00251BEC 48 0B FC 2D */ bl Magnitude__9CVector3fCFv +/* 80254C90 00251BF0 FF E0 08 90 */ fmr f31, f1 +/* 80254C94 00251BF4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80254C98 00251BF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80254C9C 00251BFC 40 81 01 14 */ ble lbl_80254DB0 +/* 80254CA0 00251C00 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) +/* 80254CA4 00251C04 C0 1E 02 F0 */ lfs f0, 0x2f0(r30) +/* 80254CA8 00251C08 C0 5E 0B C4 */ lfs f2, 0xbc4(r30) +/* 80254CAC 00251C0C EC A1 00 28 */ fsubs f5, f1, f0 +/* 80254CB0 00251C10 C0 3E 02 EC */ lfs f1, 0x2ec(r30) +/* 80254CB4 00251C14 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80254CB8 00251C18 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80254CBC 00251C1C C0 9E 0B CC */ lfs f4, 0xbcc(r30) +/* 80254CC0 00251C20 C0 5E 02 F4 */ lfs f2, 0x2f4(r30) +/* 80254CC4 00251C24 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80254CC8 00251C28 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 80254CCC 00251C2C EC 84 10 28 */ fsubs f4, f4, f2 +/* 80254CD0 00251C30 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80254CD4 00251C34 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 80254CD8 00251C38 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80254CDC 00251C3C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80254CE0 00251C40 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80254CE4 00251C44 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 80254CE8 00251C48 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80254CEC 00251C4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80254CF0 00251C50 40 81 00 C0 */ ble lbl_80254DB0 +/* 80254CF4 00251C54 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254CF8 00251C58 38 61 00 20 */ addi r3, r1, 0x20 +/* 80254CFC 00251C5C C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) +/* 80254D00 00251C60 38 81 00 1C */ addi r4, r1, 0x1c +/* 80254D04 00251C64 EC A0 F8 24 */ fdivs f5, f0, f31 +/* 80254D08 00251C68 C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80254D0C 00251C6C C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80254D10 00251C70 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80254D14 00251C74 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 80254D18 00251C78 C0 02 B9 64 */ lfs f0, lbl_805AD684@sda21(r2) +/* 80254D1C 00251C7C EC 84 01 72 */ fmuls f4, f4, f5 +/* 80254D20 00251C80 EC 63 01 72 */ fmuls f3, f3, f5 +/* 80254D24 00251C84 EC 42 01 72 */ fmuls f2, f2, f5 +/* 80254D28 00251C88 EC 21 07 B2 */ fmuls f1, f1, f30 +/* 80254D2C 00251C8C D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80254D30 00251C90 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80254D34 00251C94 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80254D38 00251C98 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80254D3C 00251C9C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80254D40 00251CA0 C0 5E 0B E0 */ lfs f2, 0xbe0(r30) +/* 80254D44 00251CA4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) +/* 80254D48 00251CA8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80254D4C 00251CAC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80254D50 00251CB0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80254D54 00251CB4 4B DB 75 61 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254D58 00251CB8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80254D5C 00251CBC FC 40 F0 90 */ fmr f2, f30 +/* 80254D60 00251CC0 C0 1E 0B DC */ lfs f0, 0xbdc(r30) +/* 80254D64 00251CC4 7F C3 F3 78 */ mr r3, r30 +/* 80254D68 00251CC8 38 81 00 AC */ addi r4, r1, 0xac +/* 80254D6C 00251CCC EC 00 08 2A */ fadds f0, f0, f1 +/* 80254D70 00251CD0 D0 1E 0B DC */ stfs f0, 0xbdc(r30) +/* 80254D74 00251CD4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) +/* 80254D78 00251CD8 48 00 12 71 */ bl sub_80255fe8 +/* 80254D7C 00251CDC C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 80254D80 00251CE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80254D84 00251CE4 38 6D 97 A4 */ addi r3, r13, lbl_805A8364@sda21 +/* 80254D88 00251CE8 38 AD 97 A8 */ addi r5, r13, lbl_805A8368@sda21 +/* 80254D8C 00251CEC EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80254D90 00251CF0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80254D94 00251CF4 4B DB 75 21 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80254D98 00251CF8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80254D9C 00251CFC 38 9E 0B D0 */ addi r4, r30, 0xbd0 +/* 80254DA0 00251D00 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254DA4 00251D04 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 80254DA8 00251D08 4B EE 58 FD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 80254DAC 00251D0C 48 00 01 C0 */ b lbl_80254F6C +lbl_80254DB0: +/* 80254DB0 00251D10 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254DB4 00251D14 38 60 00 03 */ li r3, 3 +/* 80254DB8 00251D18 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80254DBC 00251D1C 41 82 00 08 */ beq lbl_80254DC4 +/* 80254DC0 00251D20 38 60 00 02 */ li r3, 2 +lbl_80254DC4: +/* 80254DC4 00251D24 80 1E 0C C0 */ lwz r0, 0xcc0(r30) +/* 80254DC8 00251D28 7C 66 1B 78 */ mr r6, r3 +/* 80254DCC 00251D2C 2C 00 00 03 */ cmpwi r0, 3 +/* 80254DD0 00251D30 41 82 00 1C */ beq lbl_80254DEC +/* 80254DD4 00251D34 40 80 00 1C */ bge lbl_80254DF0 +/* 80254DD8 00251D38 2C 00 00 02 */ cmpwi r0, 2 +/* 80254DDC 00251D3C 40 80 00 08 */ bge lbl_80254DE4 +/* 80254DE0 00251D40 48 00 00 10 */ b lbl_80254DF0 +lbl_80254DE4: +/* 80254DE4 00251D44 38 C0 00 00 */ li r6, 0 +/* 80254DE8 00251D48 48 00 00 08 */ b lbl_80254DF0 +lbl_80254DEC: +/* 80254DEC 00251D4C 38 C0 00 04 */ li r6, 4 +lbl_80254DF0: +/* 80254DF0 00251D50 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80254DF4 00251D54 38 A0 00 00 */ li r5, 0 +/* 80254DF8 00251D58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254DFC 00251D5C 41 82 00 08 */ beq lbl_80254E04 +/* 80254E00 00251D60 38 A0 00 02 */ li r5, 2 +lbl_80254E04: +/* 80254E04 00251D64 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80254E08 00251D68 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254E0C 00251D6C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80254E10 00251D70 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 80254E14 00251D74 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E18 00251D78 38 04 A9 E4 */ addi r0, r4, lbl_803DA9E4@l +/* 80254E1C 00251D7C 38 80 00 01 */ li r4, 1 +/* 80254E20 00251D80 3B E3 00 04 */ addi r31, r3, 4 +/* 80254E24 00251D84 90 81 00 40 */ stw r4, 0x40(r1) +/* 80254E28 00251D88 7F E3 FB 78 */ mr r3, r31 +/* 80254E2C 00251D8C 38 80 00 01 */ li r4, 1 +/* 80254E30 00251D90 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E34 00251D94 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80254E38 00251D98 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80254E3C 00251D9C 4B ED C5 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80254E40 00251DA0 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 80254E44 00251DA4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80254E48 00251DA8 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l +/* 80254E4C 00251DAC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80254E50 00251DB0 90 BF 00 C8 */ stw r5, 0xc8(r31) +/* 80254E54 00251DB4 38 60 00 01 */ li r3, 1 +/* 80254E58 00251DB8 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 80254E5C 00251DBC 38 84 AA 68 */ addi r4, r4, lbl_803DAA68@l +/* 80254E60 00251DC0 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 80254E64 00251DC4 90 DF 00 CC */ stw r6, 0xcc(r31) +/* 80254E68 00251DC8 90 BF 00 D0 */ stw r5, 0xd0(r31) +/* 80254E6C 00251DCC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80254E70 00251DD0 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254E74 00251DD4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80254E78 00251DD8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80254E7C 00251DDC 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254E80 00251DE0 48 00 00 EC */ b lbl_80254F6C +lbl_80254E84: +/* 80254E84 00251DE4 88 1E 03 48 */ lbz r0, 0x348(r30) +/* 80254E88 00251DE8 38 60 00 01 */ li r3, 1 +/* 80254E8C 00251DEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80254E90 00251DF0 98 1E 03 48 */ stb r0, 0x348(r30) +/* 80254E94 00251DF4 48 00 00 D8 */ b lbl_80254F6C +lbl_80254E98: +/* 80254E98 00251DF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80254E9C 00251DFC 38 80 00 01 */ li r4, 1 +/* 80254EA0 00251E00 4B EE 5B 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80254EA4 00251E04 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EA8 00251E08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80254EAC 00251E0C 41 82 00 14 */ beq lbl_80254EC0 +/* 80254EB0 00251E10 7F C3 F3 78 */ mr r3, r30 +/* 80254EB4 00251E14 7F E4 FB 78 */ mr r4, r31 +/* 80254EB8 00251E18 38 A0 00 01 */ li r5, 1 +/* 80254EBC 00251E1C 48 00 1B B1 */ bl sub_80256a6c +lbl_80254EC0: +/* 80254EC0 00251E20 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EC4 00251E24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80254EC8 00251E28 41 82 00 0C */ beq lbl_80254ED4 +/* 80254ECC 00251E2C 38 00 00 00 */ li r0, 0 +/* 80254ED0 00251E30 90 1E 0C AC */ stw r0, 0xcac(r30) +lbl_80254ED4: +/* 80254ED4 00251E34 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254ED8 00251E38 38 A0 00 00 */ li r5, 0 +/* 80254EDC 00251E3C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80254EE0 00251E40 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80254EE4 00251E44 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254EE8 00251E48 7F C3 F3 78 */ mr r3, r30 +/* 80254EEC 00251E4C 7F E4 FB 78 */ mr r4, r31 +/* 80254EF0 00251E50 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254EF4 00251E54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80254EF8 00251E58 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80254EFC 00251E5C 80 DE 00 64 */ lwz r6, 0x64(r30) +/* 80254F00 00251E60 C0 3E 0C 68 */ lfs f1, 0xc68(r30) +/* 80254F04 00251E64 D0 26 00 00 */ stfs f1, 0(r6) +/* 80254F08 00251E68 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254F0C 00251E6C D0 26 00 04 */ stfs f1, 4(r6) +/* 80254F10 00251E70 C0 3E 0C 70 */ lfs f1, 0xc70(r30) +/* 80254F14 00251E74 D0 26 00 08 */ stfs f1, 8(r6) +/* 80254F18 00251E78 C0 3E 0C 68 */ lfs f1, 0xc68(r30) +/* 80254F1C 00251E7C D0 3E 09 E4 */ stfs f1, 0x9e4(r30) +/* 80254F20 00251E80 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) +/* 80254F24 00251E84 D0 3E 09 E8 */ stfs f1, 0x9e8(r30) +/* 80254F28 00251E88 C0 3E 0C 70 */ lfs f1, 0xc70(r30) +/* 80254F2C 00251E8C D0 3E 09 EC */ stfs f1, 0x9ec(r30) +/* 80254F30 00251E90 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80254F34 00251E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80254F38 00251E98 98 1E 0A 31 */ stb r0, 0xa31(r30) +/* 80254F3C 00251E9C D0 1E 05 5C */ stfs f0, 0x55c(r30) +/* 80254F40 00251EA0 D0 1E 05 60 */ stfs f0, 0x560(r30) +/* 80254F44 00251EA4 D0 1E 05 64 */ stfs f0, 0x564(r30) +/* 80254F48 00251EA8 48 00 2A 0D */ bl sub_80257954 +/* 80254F4C 00251EAC C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 80254F50 00251EB0 7F C3 F3 78 */ mr r3, r30 +/* 80254F54 00251EB4 7F E4 FB 78 */ mr r4, r31 +/* 80254F58 00251EB8 48 00 26 35 */ bl sub_8025758c +/* 80254F5C 00251EBC 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80254F60 00251EC0 38 60 00 00 */ li r3, 0 +/* 80254F64 00251EC4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80254F68 00251EC8 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80254F6C: +/* 80254F6C 00251ECC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 80254F70 00251ED0 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 80254F74 00251ED4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 80254F78 00251ED8 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 80254F7C 00251EDC 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80254F80 00251EE0 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80254F84 00251EE4 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80254F88 00251EE8 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80254F8C 00251EEC 7C 08 03 A6 */ mtlr r0 +/* 80254F90 00251EF0 38 21 01 00 */ addi r1, r1, 0x100 +/* 80254F94 00251EF4 4E 80 00 20 */ blr + +.global Enraged__7CRidleyFR13CStateManager9EStateMsgf +Enraged__7CRidleyFR13CStateManager9EStateMsgf: +/* 80254F98 00251EF8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80254F9C 00251EFC 7C 08 02 A6 */ mflr r0 +/* 80254FA0 00251F00 90 01 01 34 */ stw r0, 0x134(r1) +/* 80254FA4 00251F04 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80254FA8 00251F08 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80254FAC 00251F0C BF 41 01 08 */ stmw r26, 0x108(r1) +/* 80254FB0 00251F10 FF E0 08 90 */ fmr f31, f1 +/* 80254FB4 00251F14 2C 05 00 01 */ cmpwi r5, 1 +/* 80254FB8 00251F18 7C 7E 1B 78 */ mr r30, r3 +/* 80254FBC 00251F1C 7C 9F 23 78 */ mr r31, r4 +/* 80254FC0 00251F20 41 82 02 8C */ beq lbl_8025524C +/* 80254FC4 00251F24 40 80 00 10 */ bge lbl_80254FD4 +/* 80254FC8 00251F28 2C 05 00 00 */ cmpwi r5, 0 +/* 80254FCC 00251F2C 40 80 00 14 */ bge lbl_80254FE0 +/* 80254FD0 00251F30 48 00 02 D8 */ b lbl_802552A8 +lbl_80254FD4: +/* 80254FD4 00251F34 2C 05 00 03 */ cmpwi r5, 3 +/* 80254FD8 00251F38 40 80 02 D0 */ bge lbl_802552A8 +/* 80254FDC 00251F3C 48 00 02 B4 */ b lbl_80255290 +lbl_80254FE0: +/* 80254FE0 00251F40 38 00 00 01 */ li r0, 1 +/* 80254FE4 00251F44 7F E6 FB 78 */ mr r6, r31 +/* 80254FE8 00251F48 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80254FEC 00251F4C 38 80 00 29 */ li r4, 0x29 +/* 80254FF0 00251F50 38 A0 00 28 */ li r5, 0x28 +/* 80254FF4 00251F54 4B DF F2 C1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80254FF8 00251F58 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80254FFC 00251F5C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80255000 00251F60 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80255004 00251F64 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80255008 00251F68 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025500C 00251F6C EC 44 08 28 */ fsubs f2, f4, f1 +/* 80255010 00251F70 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80255014 00251F74 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80255018 00251F78 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8025501C 00251F7C EC 20 08 28 */ fsubs f1, f0, f1 +/* 80255020 00251F80 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80255024 00251F84 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80255028 00251F88 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 8025502C 00251F8C D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 80255030 00251F90 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80255034 00251F94 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80255038 00251F98 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8025503C 00251F9C 48 0B F1 C5 */ bl __ct__9CVector2fFff +/* 80255040 00251FA0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80255044 00251FA4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80255048 00251FA8 48 0B F0 39 */ bl AsNormalized__9CVector2fCFv +/* 8025504C 00251FAC C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 80255050 00251FB0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80255054 00251FB4 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 80255058 00251FB8 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l +/* 8025505C 00251FBC C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) +/* 80255060 00251FC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80255064 00251FC4 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 80255068 00251FC8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025506C 00251FCC D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 80255070 00251FD0 38 83 00 85 */ addi r4, r3, 0x85 +/* 80255074 00251FD4 ED 20 01 B2 */ fmuls f9, f0, f6 +/* 80255078 00251FD8 C1 45 00 04 */ lfs f10, 4(r5) +/* 8025507C 00251FDC D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80255080 00251FE0 ED 00 01 32 */ fmuls f8, f0, f4 +/* 80255084 00251FE4 C1 65 00 08 */ lfs f11, 8(r5) +/* 80255088 00251FE8 EC E0 00 F2 */ fmuls f7, f0, f3 +/* 8025508C 00251FEC D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80255090 00251FF0 EC 2A 00 F2 */ fmuls f1, f10, f3 +/* 80255094 00251FF4 C1 85 00 00 */ lfs f12, 0(r5) +/* 80255098 00251FF8 EC 0B 01 B2 */ fmuls f0, f11, f6 +/* 8025509C 00251FFC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802550A0 00252000 3B A0 00 00 */ li r29, 0 +/* 802550A4 00252004 EC 4C 01 32 */ fmuls f2, f12, f4 +/* 802550A8 00252008 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 802550AC 0025200C EC 24 0A F8 */ fmsubs f1, f4, f11, f1 +/* 802550B0 00252010 C0 83 00 60 */ lfs f4, 0x60(r3) +/* 802550B4 00252014 EC 03 03 38 */ fmsubs f0, f3, f12, f0 +/* 802550B8 00252018 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802550BC 0025201C EC A5 40 28 */ fsubs f5, f5, f8 +/* 802550C0 00252020 3B 40 00 00 */ li r26, 0 +/* 802550C4 00252024 EC 84 38 28 */ fsubs f4, f4, f7 +/* 802550C8 00252028 38 60 01 00 */ li r3, 0x100 +/* 802550CC 0025202C EC 63 48 28 */ fsubs f3, f3, f9 +/* 802550D0 00252030 38 A0 00 00 */ li r5, 0 +/* 802550D4 00252034 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 802550D8 00252038 EC A6 12 B8 */ fmsubs f5, f6, f10, f2 +/* 802550DC 0025203C D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 802550E0 00252040 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 802550E4 00252044 C0 9E 0A B0 */ lfs f4, 0xab0(r30) +/* 802550E8 00252048 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 802550EC 0025204C C0 5E 0A 90 */ lfs f2, 0xa90(r30) +/* 802550F0 00252050 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802550F4 00252054 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802550F8 00252058 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802550FC 0025205C D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80255100 00252060 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80255104 00252064 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80255108 00252068 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 8025510C 0025206C 48 0C 07 61 */ bl __nw__FUlPCcPCc +/* 80255110 00252070 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80255114 00252074 41 82 00 C8 */ beq lbl_802551DC +/* 80255118 00252078 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025511C 0025207C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80255120 00252080 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80255124 00252084 38 61 00 50 */ addi r3, r1, 0x50 +/* 80255128 00252088 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8025512C 0025208C 38 84 00 8C */ addi r4, r4, 0x8c +/* 80255130 00252090 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80255134 00252094 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80255138 00252098 4B DA FB 81 */ bl string_l__4rstlFPCc +/* 8025513C 0025209C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 80255140 002520A0 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 80255144 002520A4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 80255148 002520A8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025514C 002520AC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80255150 002520B0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80255154 002520B4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80255158 002520B8 3B A0 00 01 */ li r29, 1 +/* 8025515C 002520BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80255160 002520C0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80255164 002520C4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80255168 002520C8 4B DF C3 1D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8025516C 002520CC 7F E4 FB 78 */ mr r4, r31 +/* 80255170 002520D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80255174 002520D4 3B 40 00 01 */ li r26, 1 +/* 80255178 002520D8 4B DF 7F 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 8025517C 002520DC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80255180 002520E0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80255184 002520E4 48 0F 4E 29 */ bl White__6CColorFv +/* 80255188 002520E8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8025518C 002520EC 7C 7C 1B 78 */ mr r28, r3 +/* 80255190 002520F0 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 80255194 002520F4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80255198 002520F8 38 81 00 90 */ addi r4, r1, 0x90 +/* 8025519C 002520FC 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802551A0 00252100 38 E1 00 9C */ addi r7, r1, 0x9c +/* 802551A4 00252104 48 0B DC B9 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 802551A8 00252108 38 01 00 60 */ addi r0, r1, 0x60 +/* 802551AC 0025210C 7F 63 DB 78 */ mr r3, r27 +/* 802551B0 00252110 90 01 00 08 */ stw r0, 8(r1) +/* 802551B4 00252114 38 9E 09 8C */ addi r4, r30, 0x98c +/* 802551B8 00252118 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802551BC 0025211C 38 E1 00 B4 */ addi r7, r1, 0xb4 +/* 802551C0 00252120 93 81 00 0C */ stw r28, 0xc(r1) +/* 802551C4 00252124 39 01 00 50 */ addi r8, r1, 0x50 +/* 802551C8 00252128 39 21 00 CC */ addi r9, r1, 0xcc +/* 802551CC 0025212C 38 C0 00 01 */ li r6, 1 +/* 802551D0 00252130 39 40 00 00 */ li r10, 0 +/* 802551D4 00252134 4B E0 59 25 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 802551D8 00252138 7C 7B 1B 78 */ mr r27, r3 +lbl_802551DC: +/* 802551DC 0025213C 7F 40 07 75 */ extsb. r0, r26 +/* 802551E0 00252140 41 82 00 44 */ beq lbl_80255224 +/* 802551E4 00252144 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802551E8 00252148 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802551EC 0025214C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802551F0 00252150 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802551F4 00252154 7C 64 1B 78 */ mr r4, r3 +/* 802551F8 00252158 7C 03 02 14 */ add r0, r3, r0 +/* 802551FC 0025215C 90 61 00 18 */ stw r3, 0x18(r1) +/* 80255200 00252160 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255204 00252164 90 01 00 20 */ stw r0, 0x20(r1) +/* 80255208 00252168 48 00 00 08 */ b lbl_80255210 +lbl_8025520C: +/* 8025520C 0025216C 38 84 00 0C */ addi r4, r4, 0xc +lbl_80255210: +/* 80255210 00252170 7C 04 00 40 */ cmplw r4, r0 +/* 80255214 00252174 40 82 FF F8 */ bne lbl_8025520C +/* 80255218 00252178 28 03 00 00 */ cmplwi r3, 0 +/* 8025521C 0025217C 41 82 00 08 */ beq lbl_80255224 +/* 80255220 00252180 48 0C 07 11 */ bl Free__7CMemoryFPCv +lbl_80255224: +/* 80255224 00252184 7F A0 07 75 */ extsb. r0, r29 +/* 80255228 00252188 41 82 00 0C */ beq lbl_80255234 +/* 8025522C 0025218C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80255230 00252190 48 0E 88 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80255234: +/* 80255234 00252194 28 1B 00 00 */ cmplwi r27, 0 +/* 80255238 00252198 41 82 00 70 */ beq lbl_802552A8 +/* 8025523C 0025219C 7F E3 FB 78 */ mr r3, r31 +/* 80255240 002521A0 7F 64 DB 78 */ mr r4, r27 +/* 80255244 002521A4 4B DF 78 D1 */ bl AddObject__13CStateManagerFR7CEntity +/* 80255248 002521A8 48 00 00 60 */ b lbl_802552A8 +lbl_8025524C: +/* 8025524C 002521AC 3C A0 80 3F */ lis r5, lbl_803E91D4@ha +/* 80255250 002521B0 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80255254 002521B4 39 45 91 D4 */ addi r10, r5, lbl_803E91D4@l +/* 80255258 002521B8 38 A0 00 03 */ li r5, 3 +/* 8025525C 002521BC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255260 002521C0 38 E0 00 04 */ li r7, 4 +/* 80255264 002521C4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255268 002521C8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025526C 002521CC 91 21 00 44 */ stw r9, 0x44(r1) +/* 80255270 002521D0 91 01 00 48 */ stw r8, 0x48(r1) +/* 80255274 002521D4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80255278 002521D8 4B E2 75 3D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025527C 002521DC FC 20 F8 90 */ fmr f1, f31 +/* 80255280 002521E0 7F C3 F3 78 */ mr r3, r30 +/* 80255284 002521E4 7F E4 FB 78 */ mr r4, r31 +/* 80255288 002521E8 48 00 0C C9 */ bl sub_80255f50 +/* 8025528C 002521EC 48 00 00 1C */ b lbl_802552A8 +lbl_80255290: +/* 80255290 002521F0 38 00 00 00 */ li r0, 0 +/* 80255294 002521F4 38 60 00 01 */ li r3, 1 +/* 80255298 002521F8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025529C 002521FC 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802552A0 00252200 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802552A4 00252204 98 1E 0A 33 */ stb r0, 0xa33(r30) +lbl_802552A8: +/* 802552A8 00252208 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 802552AC 0025220C CB E1 01 20 */ lfd f31, 0x120(r1) +/* 802552B0 00252210 BB 41 01 08 */ lmw r26, 0x108(r1) +/* 802552B4 00252214 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802552B8 00252218 7C 08 03 A6 */ mtlr r0 +/* 802552BC 0025221C 38 21 01 30 */ addi r1, r1, 0x130 +/* 802552C0 00252220 4E 80 00 20 */ blr + +.global Lurk__7CRidleyFR13CStateManager9EStateMsgf +Lurk__7CRidleyFR13CStateManager9EStateMsgf: +/* 802552C4 00252224 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802552C8 00252228 7C 08 02 A6 */ mflr r0 +/* 802552CC 0025222C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802552D0 00252230 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802552D4 00252234 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802552D8 00252238 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 802552DC 0025223C F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 802552E0 00252240 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802552E4 00252244 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802552E8 00252248 FF C0 08 90 */ fmr f30, f1 +/* 802552EC 0025224C 2C 05 00 01 */ cmpwi r5, 1 +/* 802552F0 00252250 7C 7E 1B 78 */ mr r30, r3 +/* 802552F4 00252254 7C 9F 23 78 */ mr r31, r4 +/* 802552F8 00252258 41 82 02 78 */ beq lbl_80255570 +/* 802552FC 0025225C 40 80 02 D8 */ bge lbl_802555D4 +/* 80255300 00252260 2C 05 00 00 */ cmpwi r5, 0 +/* 80255304 00252264 40 80 00 0C */ bge lbl_80255310 +/* 80255308 00252268 48 00 02 CC */ b lbl_802555D4 +/* 8025530C 0025226C 48 00 02 C8 */ b lbl_802555D4 +lbl_80255310: +/* 80255310 00252270 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80255314 00252274 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80255318 00252278 40 82 00 C4 */ bne lbl_802553DC +/* 8025531C 0025227C C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80255320 00252280 38 61 00 64 */ addi r3, r1, 0x64 +/* 80255324 00252284 C0 1E 0A B0 */ lfs f0, 0xab0(r30) +/* 80255328 00252288 38 81 00 94 */ addi r4, r1, 0x94 +/* 8025532C 0025228C C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80255330 00252290 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) +/* 80255334 00252294 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80255338 00252298 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8025533C 0025229C C0 3E 0A 90 */ lfs f1, 0xa90(r30) +/* 80255340 002522A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80255344 002522A4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255348 002522A8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8025534C 002522AC D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 80255350 002522B0 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80255354 002522B4 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80255358 002522B8 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8025535C 002522BC C0 5E 0A A8 */ lfs f2, 0xaa8(r30) +/* 80255360 002522C0 C0 3E 0A 98 */ lfs f1, 0xa98(r30) +/* 80255364 002522C4 C0 1E 0A 88 */ lfs f0, 0xa88(r30) +/* 80255368 002522C8 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8025536C 002522CC D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80255370 002522D0 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80255374 002522D4 48 0B F2 BD */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 80255378 002522D8 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 8025537C 002522DC FF C0 08 90 */ fmr f30, f1 +/* 80255380 002522E0 C0 1E 0A 94 */ lfs f0, 0xa94(r30) +/* 80255384 002522E4 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 80255388 002522E8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8025538C 002522EC C0 5E 0A 84 */ lfs f2, 0xa84(r30) +/* 80255390 002522F0 C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 80255394 002522F4 C0 9E 0A A4 */ lfs f4, 0xaa4(r30) +/* 80255398 002522F8 EC 23 00 BA */ fmadds f1, f3, f2, f0 +/* 8025539C 002522FC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802553A0 00252300 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 802553A4 00252304 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802553A8 00252308 40 80 00 08 */ bge lbl_802553B0 +/* 802553AC 0025230C FF C0 F0 50 */ fneg f30, f30 +lbl_802553B0: +/* 802553B0 00252310 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 802553B4 00252314 C0 22 B9 6C */ lfs f1, lbl_805AD68C@sda21(r2) +/* 802553B8 00252318 C0 42 B9 70 */ lfs f2, lbl_805AD690@sda21(r2) +/* 802553BC 0025231C 48 0B D1 89 */ bl Range__9CRandom16Fff +/* 802553C0 00252320 EC 41 F0 28 */ fsubs f2, f1, f30 +/* 802553C4 00252324 C0 02 B9 74 */ lfs f0, lbl_805AD694@sda21(r2) +/* 802553C8 00252328 FC 40 12 10 */ fabs f2, f2 +/* 802553CC 0025232C FC 40 10 18 */ frsp f2, f2 +/* 802553D0 00252330 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802553D4 00252334 40 80 00 24 */ bge lbl_802553F8 +/* 802553D8 00252338 48 00 00 20 */ b lbl_802553F8 +lbl_802553DC: +/* 802553DC 0025233C 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 802553E0 00252340 38 A0 00 01 */ li r5, 1 +/* 802553E4 00252344 4B F5 1F 15 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 802553E8 00252348 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802553EC 0025234C 7F E4 FB 78 */ mr r4, r31 +/* 802553F0 00252350 38 A0 00 01 */ li r5, 1 +/* 802553F4 00252354 4B F5 1F 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +lbl_802553F8: +/* 802553F8 00252358 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 802553FC 0025235C 38 60 00 00 */ li r3, 0 +/* 80255400 00252360 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80255404 00252364 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255408 00252368 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 8025540C 0025236C C0 5E 0A C0 */ lfs f2, 0xac0(r30) +/* 80255410 00252370 C0 1E 0A DC */ lfs f0, 0xadc(r30) +/* 80255414 00252374 EF C2 00 28 */ fsubs f30, f2, f0 +/* 80255418 00252378 48 0B F9 2D */ bl FastCosR__5CMathFf +/* 8025541C 0025237C C0 1E 0A BC */ lfs f0, 0xabc(r30) +/* 80255420 00252380 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80255424 00252384 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255428 00252388 48 0B F9 C9 */ bl FastSinR__5CMathFf +/* 8025542C 0025238C C0 1E 0A BC */ lfs f0, 0xabc(r30) +/* 80255430 00252390 38 61 00 58 */ addi r3, r1, 0x58 +/* 80255434 00252394 38 9E 0A 84 */ addi r4, r30, 0xa84 +/* 80255438 00252398 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8025543C 0025239C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80255440 002523A0 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 80255444 002523A4 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 80255448 002523A8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8025544C 002523AC 48 0B D6 9D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80255450 002523B0 7F C3 F3 78 */ mr r3, r30 +/* 80255454 002523B4 38 81 00 58 */ addi r4, r1, 0x58 +/* 80255458 002523B8 4B E2 77 05 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025545C 002523BC C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 80255460 002523C0 38 61 00 08 */ addi r3, r1, 8 +/* 80255464 002523C4 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 80255468 002523C8 C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 8025546C 002523CC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80255470 002523D0 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80255474 002523D4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80255478 002523D8 48 0B ED 89 */ bl __ct__9CVector2fFff +/* 8025547C 002523DC C0 41 00 08 */ lfs f2, 8(r1) +/* 80255480 002523E0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80255484 002523E4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80255488 002523E8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025548C 002523EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255490 002523F0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80255494 002523F4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80255498 002523F8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8025549C 002523FC 48 0B F3 B5 */ bl AsNormalized__9CVector3fCFv +/* 802554A0 00252400 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802554A4 00252404 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 802554A8 00252408 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802554AC 0025240C C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802554B0 00252410 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802554B4 00252414 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802554B8 00252418 C0 C6 00 04 */ lfs f6, 4(r6) +/* 802554BC 0025241C 38 81 00 70 */ addi r4, r1, 0x70 +/* 802554C0 00252420 C0 E6 00 08 */ lfs f7, 8(r6) +/* 802554C4 00252424 38 A1 00 7C */ addi r5, r1, 0x7c +/* 802554C8 00252428 C1 06 00 00 */ lfs f8, 0(r6) +/* 802554CC 0025242C EC 26 00 F2 */ fmuls f1, f6, f3 +/* 802554D0 00252430 EC 07 01 72 */ fmuls f0, f7, f5 +/* 802554D4 00252434 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802554D8 00252438 EC 48 01 32 */ fmuls f2, f8, f4 +/* 802554DC 0025243C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802554E0 00252440 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 +/* 802554E4 00252444 EC 03 02 38 */ fmsubs f0, f3, f8, f0 +/* 802554E8 00252448 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 802554EC 0025244C D0 81 00 80 */ stfs f4, 0x80(r1) +/* 802554F0 00252450 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802554F4 00252454 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802554F8 00252458 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802554FC 0025245C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80255500 00252460 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80255504 00252464 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80255508 00252468 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8025550C 0025246C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80255510 00252470 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80255514 00252474 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80255518 00252478 48 0B D9 45 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8025551C 0025247C 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80255520 00252480 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80255524 00252484 48 0B D6 1D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80255528 00252488 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8025552C 0025248C 38 80 00 01 */ li r4, 1 +/* 80255530 00252490 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80255534 00252494 38 60 00 00 */ li r3, 0 +/* 80255538 00252498 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8025553C 0025249C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80255540 002524A0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80255544 002524A4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80255548 002524A8 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8025554C 002524AC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80255550 002524B0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80255554 002524B4 88 1E 0A 33 */ lbz r0, 0xa33(r30) +/* 80255558 002524B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025555C 002524BC 98 1E 0A 33 */ stb r0, 0xa33(r30) +/* 80255560 002524C0 88 1E 0A 34 */ lbz r0, 0xa34(r30) +/* 80255564 002524C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255568 002524C8 98 1E 0A 34 */ stb r0, 0xa34(r30) +/* 8025556C 002524CC 48 00 00 68 */ b lbl_802555D4 +lbl_80255570: +/* 80255570 002524D0 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 80255574 002524D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80255578 002524D8 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8025557C 002524DC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80255580 002524E0 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 80255584 002524E4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80255588 002524E8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8025558C 002524EC C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 80255590 002524F0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80255594 002524F4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255598 002524F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025559C 002524FC D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802555A0 00252500 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802555A4 00252504 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802555A8 00252508 48 0B F2 A9 */ bl AsNormalized__9CVector3fCFv +/* 802555AC 0025250C FC 40 F0 90 */ fmr f2, f30 +/* 802555B0 00252510 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 802555B4 00252514 7F C3 F3 78 */ mr r3, r30 +/* 802555B8 00252518 38 81 00 1C */ addi r4, r1, 0x1c +/* 802555BC 0025251C 48 00 0A 2D */ bl sub_80255fe8 +/* 802555C0 00252520 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802555C4 00252524 7F C3 F3 78 */ mr r3, r30 +/* 802555C8 00252528 7F E4 FB 78 */ mr r4, r31 +/* 802555CC 0025252C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 802555D0 00252530 48 00 09 81 */ bl sub_80255f50 +lbl_802555D4: +/* 802555D4 00252534 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802555D8 00252538 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802555DC 0025253C E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 802555E0 00252540 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 802555E4 00252544 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802555E8 00252548 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802555EC 0025254C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802555F0 00252550 7C 08 03 A6 */ mtlr r0 +/* 802555F4 00252554 38 21 01 00 */ addi r1, r1, 0x100 +/* 802555F8 00252558 4E 80 00 20 */ blr + +.global Retreat__7CRidleyFR13CStateManager9EStateMsgf +Retreat__7CRidleyFR13CStateManager9EStateMsgf: +/* 802555FC 0025255C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255600 00252560 7C 08 02 A6 */ mflr r0 +/* 80255604 00252564 2C 05 00 01 */ cmpwi r5, 1 +/* 80255608 00252568 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025560C 0025256C 41 82 00 2C */ beq lbl_80255638 +/* 80255610 00252570 40 80 00 10 */ bge lbl_80255620 +/* 80255614 00252574 2C 05 00 00 */ cmpwi r5, 0 +/* 80255618 00252578 40 80 00 14 */ bge lbl_8025562C +/* 8025561C 0025257C 48 00 00 58 */ b lbl_80255674 +lbl_80255620: +/* 80255620 00252580 2C 05 00 03 */ cmpwi r5, 3 +/* 80255624 00252584 40 80 00 50 */ bge lbl_80255674 +/* 80255628 00252588 48 00 00 44 */ b lbl_8025566C +lbl_8025562C: +/* 8025562C 0025258C 38 00 00 01 */ li r0, 1 +/* 80255630 00252590 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80255634 00252594 48 00 00 40 */ b lbl_80255674 +lbl_80255638: +/* 80255638 00252598 3C A0 80 3F */ lis r5, lbl_803E91C8@ha +/* 8025563C 0025259C 38 C1 00 08 */ addi r6, r1, 8 +/* 80255640 002525A0 39 45 91 C8 */ addi r10, r5, lbl_803E91C8@l +/* 80255644 002525A4 38 A0 00 03 */ li r5, 3 +/* 80255648 002525A8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025564C 002525AC 38 E0 00 05 */ li r7, 5 +/* 80255650 002525B0 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255654 002525B4 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255658 002525B8 91 21 00 08 */ stw r9, 8(r1) +/* 8025565C 002525BC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255660 002525C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255664 002525C4 4B E2 71 51 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255668 002525C8 48 00 00 0C */ b lbl_80255674 +lbl_8025566C: +/* 8025566C 002525CC 38 00 00 00 */ li r0, 0 +/* 80255670 002525D0 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80255674: +/* 80255674 002525D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255678 002525D8 7C 08 03 A6 */ mtlr r0 +/* 8025567C 002525DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255680 002525E0 4E 80 00 20 */ blr + +.global Flee__7CRidleyFR13CStateManager9EStateMsgf +Flee__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255684 002525E4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80255688 002525E8 7C 08 02 A6 */ mflr r0 +/* 8025568C 002525EC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80255690 002525F0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80255694 002525F4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80255698 002525F8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8025569C 002525FC FF E0 08 90 */ fmr f31, f1 +/* 802556A0 00252600 2C 05 00 01 */ cmpwi r5, 1 +/* 802556A4 00252604 7C 7F 1B 78 */ mr r31, r3 +/* 802556A8 00252608 41 82 00 C4 */ beq lbl_8025576C +/* 802556AC 0025260C 40 80 01 38 */ bge lbl_802557E4 +/* 802556B0 00252610 2C 05 00 00 */ cmpwi r5, 0 +/* 802556B4 00252614 40 80 00 0C */ bge lbl_802556C0 +/* 802556B8 00252618 48 00 01 2C */ b lbl_802557E4 +/* 802556BC 0025261C 48 00 01 28 */ b lbl_802557E4 +lbl_802556C0: +/* 802556C0 00252620 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802556C4 00252624 38 61 00 2C */ addi r3, r1, 0x2c +/* 802556C8 00252628 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) +/* 802556CC 0025262C 38 81 00 50 */ addi r4, r1, 0x50 +/* 802556D0 00252630 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 802556D4 00252634 C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 802556D8 00252638 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802556DC 0025263C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 802556E0 00252640 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802556E4 00252644 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802556E8 00252648 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802556EC 0025264C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802556F0 00252650 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802556F4 00252654 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802556F8 00252658 48 0B F1 59 */ bl AsNormalized__9CVector3fCFv +/* 802556FC 0025265C C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) +/* 80255700 00252660 7F E3 FB 78 */ mr r3, r31 +/* 80255704 00252664 C0 1F 0A BC */ lfs f0, 0xabc(r31) +/* 80255708 00252668 38 81 00 44 */ addi r4, r1, 0x44 +/* 8025570C 0025266C C0 BF 0A A0 */ lfs f5, 0xaa0(r31) +/* 80255710 00252670 EC C1 00 2A */ fadds f6, f1, f0 +/* 80255714 00252674 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80255718 00252678 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8025571C 0025267C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80255720 00252680 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80255724 00252684 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 80255728 00252688 EC 46 00 72 */ fmuls f2, f6, f1 +/* 8025572C 0025268C C0 3F 0A 90 */ lfs f1, 0xa90(r31) +/* 80255730 00252690 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80255734 00252694 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80255738 00252698 EC 85 20 2A */ fadds f4, f5, f4 +/* 8025573C 0025269C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80255740 002526A0 EC 43 10 2A */ fadds f2, f3, f2 +/* 80255744 002526A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80255748 002526A8 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8025574C 002526AC D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80255750 002526B0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80255754 002526B4 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80255758 002526B8 C0 1F 0A C0 */ lfs f0, 0xac0(r31) +/* 8025575C 002526BC EC 00 18 2A */ fadds f0, f0, f3 +/* 80255760 002526C0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80255764 002526C4 4B E2 73 F9 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80255768 002526C8 48 00 00 7C */ b lbl_802557E4 +lbl_8025576C: +/* 8025576C 002526CC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 80255770 002526D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80255774 002526D4 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80255778 002526D8 38 81 00 08 */ addi r4, r1, 8 +/* 8025577C 002526DC C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 80255780 002526E0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80255784 002526E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80255788 002526E8 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 8025578C 002526EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80255790 002526F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255794 002526F4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255798 002526F8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8025579C 002526FC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802557A0 00252700 D0 01 00 08 */ stfs f0, 8(r1) +/* 802557A4 00252704 48 0B F0 AD */ bl AsNormalized__9CVector3fCFv +/* 802557A8 00252708 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802557AC 0025270C FC 40 F8 90 */ fmr f2, f31 +/* 802557B0 00252710 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802557B4 00252714 7F E3 FB 78 */ mr r3, r31 +/* 802557B8 00252718 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802557BC 0025271C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802557C0 00252720 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802557C4 00252724 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) +/* 802557C8 00252728 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802557CC 0025272C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802557D0 00252730 48 00 08 19 */ bl sub_80255fe8 +/* 802557D4 00252734 FC 20 F8 90 */ fmr f1, f31 +/* 802557D8 00252738 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802557DC 0025273C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802557E0 00252740 4B EE 4E C5 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_802557E4: +/* 802557E4 00252744 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802557E8 00252748 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802557EC 0025274C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802557F0 00252750 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802557F4 00252754 7C 08 03 A6 */ mtlr r0 +/* 802557F8 00252758 38 21 00 80 */ addi r1, r1, 0x80 +/* 802557FC 0025275C 4E 80 00 20 */ blr + +.global TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf +TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255800 00252760 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255804 00252764 7C 08 02 A6 */ mflr r0 +/* 80255808 00252768 2C 05 00 01 */ cmpwi r5, 1 +/* 8025580C 0025276C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255810 00252770 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255814 00252774 7C 9F 23 78 */ mr r31, r4 +/* 80255818 00252778 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025581C 0025277C 7C 7E 1B 78 */ mr r30, r3 +/* 80255820 00252780 41 82 00 48 */ beq lbl_80255868 +/* 80255824 00252784 40 80 00 10 */ bge lbl_80255834 +/* 80255828 00252788 2C 05 00 00 */ cmpwi r5, 0 +/* 8025582C 0025278C 40 80 00 14 */ bge lbl_80255840 +/* 80255830 00252790 48 00 00 A0 */ b lbl_802558D0 +lbl_80255834: +/* 80255834 00252794 2C 05 00 03 */ cmpwi r5, 3 +/* 80255838 00252798 40 80 00 98 */ bge lbl_802558D0 +/* 8025583C 0025279C 48 00 00 60 */ b lbl_8025589C +lbl_80255840: +/* 80255840 002527A0 48 00 20 0D */ bl sub_8025784c +/* 80255844 002527A4 38 A0 00 01 */ li r5, 1 +/* 80255848 002527A8 7F C3 F3 78 */ mr r3, r30 +/* 8025584C 002527AC 90 BE 03 2C */ stw r5, 0x32c(r30) +/* 80255850 002527B0 7F E4 FB 78 */ mr r4, r31 +/* 80255854 002527B4 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80255858 002527B8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8025585C 002527BC 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80255860 002527C0 48 00 0D 21 */ bl sub_80256580 +/* 80255864 002527C4 48 00 00 6C */ b lbl_802558D0 +lbl_80255868: +/* 80255868 002527C8 3C A0 80 3F */ lis r5, lbl_803E91BC@ha +/* 8025586C 002527CC 38 C1 00 08 */ addi r6, r1, 8 +/* 80255870 002527D0 39 45 91 BC */ addi r10, r5, lbl_803E91BC@l +/* 80255874 002527D4 38 A0 00 12 */ li r5, 0x12 +/* 80255878 002527D8 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025587C 002527DC 38 E0 00 00 */ li r7, 0 +/* 80255880 002527E0 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255884 002527E4 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255888 002527E8 91 21 00 08 */ stw r9, 8(r1) +/* 8025588C 002527EC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255890 002527F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255894 002527F4 4B E2 6F 21 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255898 002527F8 48 00 00 38 */ b lbl_802558D0 +lbl_8025589C: +/* 8025589C 002527FC 38 00 00 00 */ li r0, 0 +/* 802558A0 00252800 38 A0 00 01 */ li r5, 1 +/* 802558A4 00252804 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 802558A8 00252808 48 00 11 C5 */ bl sub_80256a6c +/* 802558AC 0025280C 7F C3 F3 78 */ mr r3, r30 +/* 802558B0 00252810 7F E4 FB 78 */ mr r4, r31 +/* 802558B4 00252814 48 00 1D 9D */ bl sub_80257650 +/* 802558B8 00252818 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802558BC 0025281C 38 60 00 00 */ li r3, 0 +/* 802558C0 00252820 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802558C4 00252824 7F C3 F3 78 */ mr r3, r30 +/* 802558C8 00252828 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 802558CC 0025282C 48 00 0C B1 */ bl nullsub_53 +lbl_802558D0: +/* 802558D0 00252830 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802558D4 00252834 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802558D8 00252838 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802558DC 0025283C 7C 08 03 A6 */ mtlr r0 +/* 802558E0 00252840 38 21 00 20 */ addi r1, r1, 0x20 +/* 802558E4 00252844 4E 80 00 20 */ blr + +.global Attack__7CRidleyFR13CStateManager9EStateMsgf +Attack__7CRidleyFR13CStateManager9EStateMsgf: +/* 802558E8 00252848 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802558EC 0025284C 7C 08 02 A6 */ mflr r0 +/* 802558F0 00252850 90 01 00 34 */ stw r0, 0x34(r1) +/* 802558F4 00252854 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802558F8 00252858 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802558FC 0025285C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255900 00252860 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80255904 00252864 FF E0 08 90 */ fmr f31, f1 +/* 80255908 00252868 2C 05 00 01 */ cmpwi r5, 1 +/* 8025590C 0025286C 7C 7E 1B 78 */ mr r30, r3 +/* 80255910 00252870 7C 9F 23 78 */ mr r31, r4 +/* 80255914 00252874 41 82 00 EC */ beq lbl_80255A00 +/* 80255918 00252878 40 80 00 10 */ bge lbl_80255928 +/* 8025591C 0025287C 2C 05 00 00 */ cmpwi r5, 0 +/* 80255920 00252880 40 80 00 14 */ bge lbl_80255934 +/* 80255924 00252884 48 00 01 C0 */ b lbl_80255AE4 +lbl_80255928: +/* 80255928 00252888 2C 05 00 03 */ cmpwi r5, 3 +/* 8025592C 0025288C 40 80 01 B8 */ bge lbl_80255AE4 +/* 80255930 00252890 48 00 01 94 */ b lbl_80255AC4 +lbl_80255934: +/* 80255934 00252894 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80255938 00252898 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8025593C 0025289C 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l +/* 80255940 002528A0 C0 82 B9 7C */ lfs f4, lbl_805AD69C@sda21(r2) +/* 80255944 002528A4 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 80255948 002528A8 38 60 00 01 */ li r3, 1 +/* 8025594C 002528AC C0 45 00 40 */ lfs f2, 0x40(r5) +/* 80255950 002528B0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80255954 002528B4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80255958 002528B8 C0 7E 00 44 */ lfs f3, 0x44(r30) +/* 8025595C 002528BC EC 22 08 2A */ fadds f1, f2, f1 +/* 80255960 002528C0 C0 5E 00 54 */ lfs f2, 0x54(r30) +/* 80255964 002528C4 C0 C5 00 50 */ lfs f6, 0x50(r5) +/* 80255968 002528C8 EC A4 00 F2 */ fmuls f5, f4, f3 +/* 8025596C 002528CC C0 64 00 04 */ lfs f3, 4(r4) +/* 80255970 002528D0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80255974 002528D4 EC C6 18 2A */ fadds f6, f6, f3 +/* 80255978 002528D8 C0 85 00 60 */ lfs f4, 0x60(r5) +/* 8025597C 002528DC C0 64 00 08 */ lfs f3, 8(r4) +/* 80255980 002528E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255984 002528E4 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255988 002528E8 EC 64 18 2A */ fadds f3, f4, f3 +/* 8025598C 002528EC EC 86 28 28 */ fsubs f4, f6, f5 +/* 80255990 002528F0 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80255994 002528F4 C0 02 B9 80 */ lfs f0, lbl_805AD6A0@sda21(r2) +/* 80255998 002528F8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025599C 002528FC D0 9E 0B E8 */ stfs f4, 0xbe8(r30) +/* 802559A0 00252900 D0 5E 0B EC */ stfs f2, 0xbec(r30) +/* 802559A4 00252904 C0 9E 00 54 */ lfs f4, 0x54(r30) +/* 802559A8 00252908 C0 7E 00 44 */ lfs f3, 0x44(r30) +/* 802559AC 0025290C C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 802559B0 00252910 D0 5E 0B F0 */ stfs f2, 0xbf0(r30) +/* 802559B4 00252914 D0 7E 0B F4 */ stfs f3, 0xbf4(r30) +/* 802559B8 00252918 D0 9E 0B F8 */ stfs f4, 0xbf8(r30) +/* 802559BC 0025291C C0 5E 0B F0 */ lfs f2, 0xbf0(r30) +/* 802559C0 00252920 D0 5E 0B FC */ stfs f2, 0xbfc(r30) +/* 802559C4 00252924 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) +/* 802559C8 00252928 D0 5E 0C 00 */ stfs f2, 0xc00(r30) +/* 802559CC 0025292C C0 5E 0B F8 */ lfs f2, 0xbf8(r30) +/* 802559D0 00252930 D0 5E 0C 04 */ stfs f2, 0xc04(r30) +/* 802559D4 00252934 D0 3E 0C 08 */ stfs f1, 0xc08(r30) +/* 802559D8 00252938 D0 3E 0C 0C */ stfs f1, 0xc0c(r30) +/* 802559DC 0025293C D0 1E 0C 10 */ stfs f0, 0xc10(r30) +/* 802559E0 00252940 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 802559E4 00252944 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 802559E8 00252948 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802559EC 0025294C 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 802559F0 00252950 80 7E 0C C4 */ lwz r3, 0xcc4(r30) +/* 802559F4 00252954 38 03 FF FF */ addi r0, r3, -1 +/* 802559F8 00252958 90 1E 0C C4 */ stw r0, 0xcc4(r30) +/* 802559FC 0025295C 48 00 00 E8 */ b lbl_80255AE4 +lbl_80255A00: +/* 80255A00 00252960 88 1E 0A 31 */ lbz r0, 0xa31(r30) +/* 80255A04 00252964 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80255A08 00252968 41 82 00 7C */ beq lbl_80255A84 +/* 80255A0C 0025296C C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) +/* 80255A10 00252970 38 81 00 08 */ addi r4, r1, 8 +/* 80255A14 00252974 C0 1E 0C 0C */ lfs f0, 0xc0c(r30) +/* 80255A18 00252978 38 62 B9 14 */ addi r3, r2, lbl_805AD634@sda21 +/* 80255A1C 0025297C EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80255A20 00252980 D0 01 00 08 */ stfs f0, 8(r1) +/* 80255A24 00252984 4B E2 83 BD */ bl "Min__5CMathFRCfRCf" +/* 80255A28 00252988 C0 03 00 00 */ lfs f0, 0(r3) +/* 80255A2C 0025298C D0 1E 0C 0C */ stfs f0, 0xc0c(r30) +/* 80255A30 00252990 C0 3E 0C 0C */ lfs f1, 0xc0c(r30) +/* 80255A34 00252994 C0 1E 0C 08 */ lfs f0, 0xc08(r30) +/* 80255A38 00252998 EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 80255A3C 0025299C D0 1E 0C 08 */ stfs f0, 0xc08(r30) +/* 80255A40 002529A0 C0 9E 0C 08 */ lfs f4, 0xc08(r30) +/* 80255A44 002529A4 C0 1E 0B F0 */ lfs f0, 0xbf0(r30) +/* 80255A48 002529A8 C0 3E 0B E4 */ lfs f1, 0xbe4(r30) +/* 80255A4C 002529AC EC 04 00 32 */ fmuls f0, f4, f0 +/* 80255A50 002529B0 C0 7E 0B F4 */ lfs f3, 0xbf4(r30) +/* 80255A54 002529B4 C0 5E 0B F8 */ lfs f2, 0xbf8(r30) +/* 80255A58 002529B8 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80255A5C 002529BC EC 01 00 2A */ fadds f0, f1, f0 +/* 80255A60 002529C0 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80255A64 002529C4 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) +/* 80255A68 002529C8 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) +/* 80255A6C 002529CC EC 00 18 2A */ fadds f0, f0, f3 +/* 80255A70 002529D0 D0 1E 0B E8 */ stfs f0, 0xbe8(r30) +/* 80255A74 002529D4 C0 1E 0B EC */ lfs f0, 0xbec(r30) +/* 80255A78 002529D8 EC 00 08 2A */ fadds f0, f0, f1 +/* 80255A7C 002529DC D0 1E 0B EC */ stfs f0, 0xbec(r30) +/* 80255A80 002529E0 48 00 00 08 */ b lbl_80255A88 +lbl_80255A84: +/* 80255A84 002529E4 48 00 04 CD */ bl sub_80255f50 +lbl_80255A88: +/* 80255A88 002529E8 3C 80 80 3F */ lis r4, lbl_803E91B0@ha +/* 80255A8C 002529EC 7F C3 F3 78 */ mr r3, r30 +/* 80255A90 002529F0 38 E4 91 B0 */ addi r7, r4, lbl_803E91B0@l +/* 80255A94 002529F4 7F E4 FB 78 */ mr r4, r31 +/* 80255A98 002529F8 81 27 00 00 */ lwz r9, 0(r7) +/* 80255A9C 002529FC 38 C1 00 0C */ addi r6, r1, 0xc +/* 80255AA0 00252A00 81 07 00 04 */ lwz r8, 4(r7) +/* 80255AA4 00252A04 38 A0 00 12 */ li r5, 0x12 +/* 80255AA8 00252A08 80 07 00 08 */ lwz r0, 8(r7) +/* 80255AAC 00252A0C 38 E0 00 00 */ li r7, 0 +/* 80255AB0 00252A10 91 21 00 0C */ stw r9, 0xc(r1) +/* 80255AB4 00252A14 91 01 00 10 */ stw r8, 0x10(r1) +/* 80255AB8 00252A18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80255ABC 00252A1C 4B E2 6C F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255AC0 00252A20 48 00 00 24 */ b lbl_80255AE4 +lbl_80255AC4: +/* 80255AC4 00252A24 38 00 00 00 */ li r0, 0 +/* 80255AC8 00252A28 38 A0 00 01 */ li r5, 1 +/* 80255ACC 00252A2C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80255AD0 00252A30 48 00 0F 9D */ bl sub_80256a6c +/* 80255AD4 00252A34 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 80255AD8 00252A38 38 60 00 00 */ li r3, 0 +/* 80255ADC 00252A3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80255AE0 00252A40 98 1E 0A 32 */ stb r0, 0xa32(r30) +lbl_80255AE4: +/* 80255AE4 00252A44 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80255AE8 00252A48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255AEC 00252A4C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80255AF0 00252A50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80255AF4 00252A54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80255AF8 00252A58 7C 08 03 A6 */ mtlr r0 +/* 80255AFC 00252A5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255B00 00252A60 4E 80 00 20 */ blr + +.global SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf +SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255B04 00252A64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255B08 00252A68 7C 08 02 A6 */ mflr r0 +/* 80255B0C 00252A6C 2C 05 00 01 */ cmpwi r5, 1 +/* 80255B10 00252A70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255B14 00252A74 41 82 00 2C */ beq lbl_80255B40 +/* 80255B18 00252A78 40 80 00 10 */ bge lbl_80255B28 +/* 80255B1C 00252A7C 2C 05 00 00 */ cmpwi r5, 0 +/* 80255B20 00252A80 40 80 00 14 */ bge lbl_80255B34 +/* 80255B24 00252A84 48 00 00 58 */ b lbl_80255B7C +lbl_80255B28: +/* 80255B28 00252A88 2C 05 00 03 */ cmpwi r5, 3 +/* 80255B2C 00252A8C 40 80 00 50 */ bge lbl_80255B7C +/* 80255B30 00252A90 48 00 00 44 */ b lbl_80255B74 +lbl_80255B34: +/* 80255B34 00252A94 38 00 00 01 */ li r0, 1 +/* 80255B38 00252A98 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80255B3C 00252A9C 48 00 00 40 */ b lbl_80255B7C +lbl_80255B40: +/* 80255B40 00252AA0 3C A0 80 3F */ lis r5, lbl_803E91A4@ha +/* 80255B44 00252AA4 38 C1 00 08 */ addi r6, r1, 8 +/* 80255B48 00252AA8 39 45 91 A4 */ addi r10, r5, lbl_803E91A4@l +/* 80255B4C 00252AAC 38 A0 00 10 */ li r5, 0x10 +/* 80255B50 00252AB0 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255B54 00252AB4 38 E0 00 00 */ li r7, 0 +/* 80255B58 00252AB8 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255B5C 00252ABC 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255B60 00252AC0 91 21 00 08 */ stw r9, 8(r1) +/* 80255B64 00252AC4 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255B68 00252AC8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255B6C 00252ACC 4B E2 6C 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255B70 00252AD0 48 00 00 0C */ b lbl_80255B7C +lbl_80255B74: +/* 80255B74 00252AD4 38 00 00 00 */ li r0, 0 +/* 80255B78 00252AD8 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80255B7C: +/* 80255B7C 00252ADC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255B80 00252AE0 7C 08 03 A6 */ mtlr r0 +/* 80255B84 00252AE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255B88 00252AE8 4E 80 00 20 */ blr + +.global Generate__7CRidleyFR13CStateManager9EStateMsgf +Generate__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255B8C 00252AEC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255B90 00252AF0 7C 08 02 A6 */ mflr r0 +/* 80255B94 00252AF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80255B98 00252AF8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255B9C 00252AFC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80255BA0 00252B00 7C 7F 1B 78 */ mr r31, r3 +/* 80255BA4 00252B04 41 82 00 0C */ beq lbl_80255BB0 +/* 80255BA8 00252B08 41 80 00 84 */ blt lbl_80255C2C +/* 80255BAC 00252B0C 48 00 00 80 */ b lbl_80255C2C +lbl_80255BB0: +/* 80255BB0 00252B10 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80255BB4 00252B14 38 60 00 00 */ li r3, 0 +/* 80255BB8 00252B18 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255BBC 00252B1C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255BC0 00252B20 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80255BC4 00252B24 38 61 00 1C */ addi r3, r1, 0x1c +/* 80255BC8 00252B28 38 9F 0A 84 */ addi r4, r31, 0xa84 +/* 80255BCC 00252B2C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80255BD0 00252B30 C0 5F 0A C0 */ lfs f2, 0xac0(r31) +/* 80255BD4 00252B34 C0 3F 0A DC */ lfs f1, 0xadc(r31) +/* 80255BD8 00252B38 C0 7F 0A BC */ lfs f3, 0xabc(r31) +/* 80255BDC 00252B3C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80255BE0 00252B40 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80255BE4 00252B44 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80255BE8 00252B48 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80255BEC 00252B4C 48 0B CE FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80255BF0 00252B50 7F E3 FB 78 */ mr r3, r31 +/* 80255BF4 00252B54 38 81 00 1C */ addi r4, r1, 0x1c +/* 80255BF8 00252B58 4B DF D2 95 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80255BFC 00252B5C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80255C00 00252B60 38 00 00 0C */ li r0, 0xc +/* 80255C04 00252B64 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 80255C08 00252B68 90 01 00 0C */ stw r0, 0xc(r1) +/* 80255C0C 00252B6C 38 81 00 08 */ addi r4, r1, 8 +/* 80255C10 00252B70 90 61 00 08 */ stw r3, 8(r1) +/* 80255C14 00252B74 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80255C18 00252B78 38 63 00 04 */ addi r3, r3, 4 +/* 80255C1C 00252B7C 4B ED BB 9D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80255C20 00252B80 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80255C24 00252B84 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80255C28 00252B88 90 01 00 08 */ stw r0, 8(r1) +lbl_80255C2C: +/* 80255C2C 00252B8C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255C30 00252B90 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80255C34 00252B94 7C 08 03 A6 */ mtlr r0 +/* 80255C38 00252B98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255C3C 00252B9C 4E 80 00 20 */ blr + +.global Taunt__7CRidleyFR13CStateManager9EStateMsgf +Taunt__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255C40 00252BA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255C44 00252BA4 7C 08 02 A6 */ mflr r0 +/* 80255C48 00252BA8 2C 05 00 01 */ cmpwi r5, 1 +/* 80255C4C 00252BAC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255C50 00252BB0 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 80255C54 00252BB4 FF E0 08 90 */ fmr f31, f1 +/* 80255C58 00252BB8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80255C5C 00252BBC 7C 9F 23 78 */ mr r31, r4 +/* 80255C60 00252BC0 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80255C64 00252BC4 7C 7E 1B 78 */ mr r30, r3 +/* 80255C68 00252BC8 41 82 00 2C */ beq lbl_80255C94 +/* 80255C6C 00252BCC 40 80 00 10 */ bge lbl_80255C7C +/* 80255C70 00252BD0 2C 05 00 00 */ cmpwi r5, 0 +/* 80255C74 00252BD4 40 80 00 14 */ bge lbl_80255C88 +/* 80255C78 00252BD8 48 00 00 68 */ b lbl_80255CE0 +lbl_80255C7C: +/* 80255C7C 00252BDC 2C 05 00 03 */ cmpwi r5, 3 +/* 80255C80 00252BE0 40 80 00 60 */ bge lbl_80255CE0 +/* 80255C84 00252BE4 48 00 00 54 */ b lbl_80255CD8 +lbl_80255C88: +/* 80255C88 00252BE8 38 00 00 01 */ li r0, 1 +/* 80255C8C 00252BEC 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80255C90 00252BF0 48 00 00 50 */ b lbl_80255CE0 +lbl_80255C94: +/* 80255C94 00252BF4 3C A0 80 3F */ lis r5, lbl_803E9198@ha +/* 80255C98 00252BF8 38 C1 00 08 */ addi r6, r1, 8 +/* 80255C9C 00252BFC 39 45 91 98 */ addi r10, r5, lbl_803E9198@l +/* 80255CA0 00252C00 38 A0 00 10 */ li r5, 0x10 +/* 80255CA4 00252C04 81 2A 00 00 */ lwz r9, 0(r10) +/* 80255CA8 00252C08 38 E0 00 03 */ li r7, 3 +/* 80255CAC 00252C0C 81 0A 00 04 */ lwz r8, 4(r10) +/* 80255CB0 00252C10 80 0A 00 08 */ lwz r0, 8(r10) +/* 80255CB4 00252C14 91 21 00 08 */ stw r9, 8(r1) +/* 80255CB8 00252C18 91 01 00 0C */ stw r8, 0xc(r1) +/* 80255CBC 00252C1C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80255CC0 00252C20 4B E2 6A F5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80255CC4 00252C24 FC 20 F8 90 */ fmr f1, f31 +/* 80255CC8 00252C28 7F C3 F3 78 */ mr r3, r30 +/* 80255CCC 00252C2C 7F E4 FB 78 */ mr r4, r31 +/* 80255CD0 00252C30 48 00 02 81 */ bl sub_80255f50 +/* 80255CD4 00252C34 48 00 00 0C */ b lbl_80255CE0 +lbl_80255CD8: +/* 80255CD8 00252C38 38 00 00 00 */ li r0, 0 +/* 80255CDC 00252C3C 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80255CE0: +/* 80255CE0 00252C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80255CE4 00252C44 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80255CE8 00252C48 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80255CEC 00252C4C 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80255CF0 00252C50 7C 08 03 A6 */ mtlr r0 +/* 80255CF4 00252C54 38 21 00 30 */ addi r1, r1, 0x30 +/* 80255CF8 00252C58 4E 80 00 20 */ blr + +.global Patrol__7CRidleyFR13CStateManager9EStateMsgf +Patrol__7CRidleyFR13CStateManager9EStateMsgf: +/* 80255CFC 00252C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80255D00 00252C60 7C 08 02 A6 */ mflr r0 +/* 80255D04 00252C64 2C 05 00 00 */ cmpwi r5, 0 +/* 80255D08 00252C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80255D0C 00252C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80255D10 00252C70 7C 7F 1B 78 */ mr r31, r3 +/* 80255D14 00252C74 41 82 00 0C */ beq lbl_80255D20 +/* 80255D18 00252C78 41 80 00 2C */ blt lbl_80255D44 +/* 80255D1C 00252C7C 48 00 00 28 */ b lbl_80255D44 +lbl_80255D20: +/* 80255D20 00252C80 48 00 00 39 */ bl sub_80255d58 +/* 80255D24 00252C84 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80255D28 00252C88 38 60 00 00 */ li r3, 0 +/* 80255D2C 00252C8C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80255D30 00252C90 38 60 00 01 */ li r3, 1 +/* 80255D34 00252C94 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80255D38 00252C98 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80255D3C 00252C9C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80255D40 00252CA0 98 1F 0A 33 */ stb r0, 0xa33(r31) +lbl_80255D44: +/* 80255D44 00252CA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80255D48 00252CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80255D4C 00252CAC 7C 08 03 A6 */ mtlr r0 +/* 80255D50 00252CB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80255D54 00252CB4 4E 80 00 20 */ blr + +.global sub_80255d58 +sub_80255d58: +/* 80255D58 00252CB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80255D5C 00252CBC 7C 08 02 A6 */ mflr r0 +/* 80255D60 00252CC0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255D64 00252CC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80255D68 00252CC8 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80255D6C 00252CCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80255D70 00252CD0 7C 7F 1B 78 */ mr r31, r3 +/* 80255D74 00252CD4 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha +/* 80255D78 00252CD8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80255D7C 00252CDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80255D80 00252CE0 7C 9D 23 78 */ mr r29, r4 +/* 80255D84 00252CE4 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l +/* 80255D88 00252CE8 80 BF 0C B0 */ lwz r5, 0xcb0(r31) +/* 80255D8C 00252CEC 80 1F 0C B4 */ lwz r0, 0xcb4(r31) +/* 80255D90 00252CF0 1C A5 00 90 */ mulli r5, r5, 0x90 +/* 80255D94 00252CF4 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80255D98 00252CF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80255D9C 00252CFC 7C 84 2A 14 */ add r4, r4, r5 +/* 80255DA0 00252D00 7F C4 02 14 */ add r30, r4, r0 +/* 80255DA4 00252D04 48 0B C7 A1 */ bl Range__9CRandom16Fff +/* 80255DA8 00252D08 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80255DAC 00252D0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255DB0 00252D10 4C 40 13 82 */ cror 2, 0, 2 +/* 80255DB4 00252D14 40 82 00 0C */ bne lbl_80255DC0 +/* 80255DB8 00252D18 80 1E 00 00 */ lwz r0, 0(r30) +/* 80255DBC 00252D1C 48 00 00 08 */ b lbl_80255DC4 +lbl_80255DC0: +/* 80255DC0 00252D20 80 1E 00 08 */ lwz r0, 8(r30) +lbl_80255DC4: +/* 80255DC4 00252D24 90 1F 0B 04 */ stw r0, 0xb04(r31) +/* 80255DC8 00252D28 80 1F 0B 04 */ lwz r0, 0xb04(r31) +/* 80255DCC 00252D2C 2C 00 FF FF */ cmpwi r0, -1 +/* 80255DD0 00252D30 40 82 00 5C */ bne lbl_80255E2C +/* 80255DD4 00252D34 38 00 00 00 */ li r0, 0 +/* 80255DD8 00252D38 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha +/* 80255DDC 00252D3C 90 1F 0C B4 */ stw r0, 0xcb4(r31) +/* 80255DE0 00252D40 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l +/* 80255DE4 00252D44 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80255DE8 00252D48 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 80255DEC 00252D4C 80 1F 0C B4 */ lwz r0, 0xcb4(r31) +/* 80255DF0 00252D50 1C A3 00 90 */ mulli r5, r3, 0x90 +/* 80255DF4 00252D54 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80255DF8 00252D58 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) +/* 80255DFC 00252D5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80255E00 00252D60 7C 84 2A 14 */ add r4, r4, r5 +/* 80255E04 00252D64 7F C4 02 14 */ add r30, r4, r0 +/* 80255E08 00252D68 48 0B C7 3D */ bl Range__9CRandom16Fff +/* 80255E0C 00252D6C C0 1E 00 04 */ lfs f0, 4(r30) +/* 80255E10 00252D70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255E14 00252D74 4C 40 13 82 */ cror 2, 0, 2 +/* 80255E18 00252D78 40 82 00 0C */ bne lbl_80255E24 +/* 80255E1C 00252D7C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80255E20 00252D80 48 00 00 08 */ b lbl_80255E28 +lbl_80255E24: +/* 80255E24 00252D84 80 1E 00 08 */ lwz r0, 8(r30) +lbl_80255E28: +/* 80255E28 00252D88 90 1F 0B 04 */ stw r0, 0xb04(r31) +lbl_80255E2C: +/* 80255E2C 00252D8C 80 7F 0C B4 */ lwz r3, 0xcb4(r31) +/* 80255E30 00252D90 38 00 00 01 */ li r0, 1 +/* 80255E34 00252D94 38 63 00 01 */ addi r3, r3, 1 +/* 80255E38 00252D98 90 7F 0C B4 */ stw r3, 0xcb4(r31) +/* 80255E3C 00252D9C 90 1F 0C C4 */ stw r0, 0xcc4(r31) +/* 80255E40 00252DA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80255E44 00252DA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80255E48 00252DA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80255E4C 00252DAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80255E50 00252DB0 7C 08 03 A6 */ mtlr r0 +/* 80255E54 00252DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80255E58 00252DB8 4E 80 00 20 */ blr + +.global sub_80255e5c +sub_80255e5c: +/* 80255E5C 00252DBC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80255E60 00252DC0 7C 08 02 A6 */ mflr r0 +/* 80255E64 00252DC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80255E68 00252DC8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80255E6C 00252DCC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80255E70 00252DD0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80255E74 00252DD4 7C 9F 23 78 */ mr r31, r4 +/* 80255E78 00252DD8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80255E7C 00252DDC 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80255E80 00252DE0 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80255E84 00252DE4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80255E88 00252DE8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80255E8C 00252DEC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80255E90 00252DF0 EC 84 08 28 */ fsubs f4, f4, f1 +/* 80255E94 00252DF4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80255E98 00252DF8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80255E9C 00252DFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80255EA0 00252E00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80255EA4 00252E04 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80255EA8 00252E08 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80255EAC 00252E0C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80255EB0 00252E10 48 0B EA 09 */ bl Magnitude__9CVector3fCFv +/* 80255EB4 00252E14 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) +/* 80255EB8 00252E18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80255EBC 00252E1C 40 80 00 78 */ bge lbl_80255F34 +/* 80255EC0 00252E20 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80255EC4 00252E24 38 61 00 24 */ addi r3, r1, 0x24 +/* 80255EC8 00252E28 C3 E4 00 E8 */ lfs f31, 0xe8(r4) +/* 80255ECC 00252E2C 48 0B E9 ED */ bl Magnitude__9CVector3fCFv +/* 80255ED0 00252E30 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) +/* 80255ED4 00252E34 38 61 00 08 */ addi r3, r1, 8 +/* 80255ED8 00252E38 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80255EDC 00252E3C EC 00 08 28 */ fsubs f0, f0, f1 +/* 80255EE0 00252E40 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80255EE4 00252E44 EF FF 00 32 */ fmuls f31, f31, f0 +/* 80255EE8 00252E48 48 0B E3 19 */ bl __ct__9CVector2fFff +/* 80255EEC 00252E4C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80255EF0 00252E50 38 81 00 08 */ addi r4, r1, 8 +/* 80255EF4 00252E54 48 0B E1 8D */ bl AsNormalized__9CVector2fCFv +/* 80255EF8 00252E58 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80255EFC 00252E5C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80255F00 00252E60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80255F04 00252E64 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80255F08 00252E68 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80255F0C 00252E6C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80255F10 00252E70 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80255F14 00252E74 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80255F18 00252E78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80255F1C 00252E7C 83 FF 08 4C */ lwz r31, 0x84c(r31) +/* 80255F20 00252E80 4B DC 56 15 */ bl Identity__10CAxisAngleFv +/* 80255F24 00252E84 7C 65 1B 78 */ mr r5, r3 +/* 80255F28 00252E88 7F E3 FB 78 */ mr r3, r31 +/* 80255F2C 00252E8C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80255F30 00252E90 4B EC 64 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80255F34: +/* 80255F34 00252E94 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80255F38 00252E98 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80255F3C 00252E9C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80255F40 00252EA0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80255F44 00252EA4 7C 08 03 A6 */ mtlr r0 +/* 80255F48 00252EA8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80255F4C 00252EAC 4E 80 00 20 */ blr + +.global sub_80255f50 +sub_80255f50: +/* 80255F50 00252EB0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80255F54 00252EB4 7C 08 02 A6 */ mflr r0 +/* 80255F58 00252EB8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80255F5C 00252EBC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80255F60 00252EC0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80255F64 00252EC4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80255F68 00252EC8 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 80255F6C 00252ECC FF E0 08 90 */ fmr f31, f1 +/* 80255F70 00252ED0 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 80255F74 00252ED4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80255F78 00252ED8 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 80255F7C 00252EDC C0 85 00 50 */ lfs f4, 0x50(r5) +/* 80255F80 00252EE0 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80255F84 00252EE4 EC 25 00 28 */ fsubs f1, f5, f0 +/* 80255F88 00252EE8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80255F8C 00252EEC C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80255F90 00252EF0 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80255F94 00252EF4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80255F98 00252EF8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80255F9C 00252EFC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80255FA0 00252F00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80255FA4 00252F04 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80255FA8 00252F08 83 E3 04 50 */ lwz r31, 0x450(r3) +/* 80255FAC 00252F0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80255FB0 00252F10 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80255FB4 00252F14 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80255FB8 00252F18 48 0B E8 99 */ bl AsNormalized__9CVector3fCFv +/* 80255FBC 00252F1C FC 20 F8 90 */ fmr f1, f31 +/* 80255FC0 00252F20 7F E3 FB 78 */ mr r3, r31 +/* 80255FC4 00252F24 38 81 00 20 */ addi r4, r1, 0x20 +/* 80255FC8 00252F28 4B EE 46 DD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 80255FCC 00252F2C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80255FD0 00252F30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80255FD4 00252F34 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80255FD8 00252F38 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80255FDC 00252F3C 7C 08 03 A6 */ mtlr r0 +/* 80255FE0 00252F40 38 21 00 50 */ addi r1, r1, 0x50 +/* 80255FE4 00252F44 4E 80 00 20 */ blr + +.global sub_80255fe8 +sub_80255fe8: +/* 80255FE8 00252F48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80255FEC 00252F4C 7C 08 02 A6 */ mflr r0 +/* 80255FF0 00252F50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80255FF4 00252F54 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80255FF8 00252F58 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80255FFC 00252F5C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256000 00252F60 FF E0 08 90 */ fmr f31, f1 +/* 80256004 00252F64 C0 02 B9 84 */ lfs f0, lbl_805AD6A4@sda21(r2) +/* 80256008 00252F68 7C 7F 1B 78 */ mr r31, r3 +/* 8025600C 00252F6C C0 64 00 00 */ lfs f3, 0(r4) +/* 80256010 00252F70 C0 24 00 04 */ lfs f1, 4(r4) +/* 80256014 00252F74 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256018 00252F78 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 8025601C 00252F7C C0 04 00 08 */ lfs f0, 8(r4) +/* 80256020 00252F80 EC 9F 01 32 */ fmuls f4, f31, f4 +/* 80256024 00252F84 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80256028 00252F88 EC 24 00 72 */ fmuls f1, f4, f1 +/* 8025602C 00252F8C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80256030 00252F90 D0 7F 0A F8 */ stfs f3, 0xaf8(r31) +/* 80256034 00252F94 D0 3F 0A FC */ stfs f1, 0xafc(r31) +/* 80256038 00252F98 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 8025603C 00252F9C C0 1F 0A F8 */ lfs f0, 0xaf8(r31) +/* 80256040 00252FA0 C0 9F 0A FC */ lfs f4, 0xafc(r31) +/* 80256044 00252FA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80256048 00252FA8 C0 3F 0A EC */ lfs f1, 0xaec(r31) +/* 8025604C 00252FAC C0 7F 0B 00 */ lfs f3, 0xb00(r31) +/* 80256050 00252FB0 EC 82 01 32 */ fmuls f4, f2, f4 +/* 80256054 00252FB4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80256058 00252FB8 EC 22 00 F2 */ fmuls f1, f2, f3 +/* 8025605C 00252FBC D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 80256060 00252FC0 C0 1F 0A F0 */ lfs f0, 0xaf0(r31) +/* 80256064 00252FC4 EC 00 20 2A */ fadds f0, f0, f4 +/* 80256068 00252FC8 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 8025606C 00252FCC C0 1F 0A F4 */ lfs f0, 0xaf4(r31) +/* 80256070 00252FD0 EC 00 08 2A */ fadds f0, f0, f1 +/* 80256074 00252FD4 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 80256078 00252FD8 48 0B E8 41 */ bl Magnitude__9CVector3fCFv +/* 8025607C 00252FDC FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80256080 00252FE0 40 81 00 34 */ ble lbl_802560B4 +/* 80256084 00252FE4 38 61 00 08 */ addi r3, r1, 8 +/* 80256088 00252FE8 38 9F 0A EC */ addi r4, r31, 0xaec +/* 8025608C 00252FEC 48 0B E7 C5 */ bl AsNormalized__9CVector3fCFv +/* 80256090 00252FF0 C0 01 00 08 */ lfs f0, 8(r1) +/* 80256094 00252FF4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80256098 00252FF8 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8025609C 00252FFC C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802560A0 00253000 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 802560A4 00253004 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802560A8 00253008 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 802560AC 0025300C D0 5F 0A F0 */ stfs f2, 0xaf0(r31) +/* 802560B0 00253010 D0 3F 0A F4 */ stfs f1, 0xaf4(r31) +lbl_802560B4: +/* 802560B4 00253014 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802560B8 00253018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802560BC 0025301C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802560C0 00253020 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802560C4 00253024 7C 08 03 A6 */ mtlr r0 +/* 802560C8 00253028 38 21 00 30 */ addi r1, r1, 0x30 +/* 802560CC 0025302C 4E 80 00 20 */ blr + +.global sub_802560d0 +sub_802560d0: +/* 802560D0 00253030 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802560D4 00253034 7C 08 02 A6 */ mflr r0 +/* 802560D8 00253038 90 01 00 74 */ stw r0, 0x74(r1) +/* 802560DC 0025303C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802560E0 00253040 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802560E4 00253044 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802560E8 00253048 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802560EC 0025304C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802560F0 00253050 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802560F4 00253054 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 802560F8 00253058 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 802560FC 0025305C DB 61 00 20 */ stfd f27, 0x20(r1) +/* 80256100 00253060 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 80256104 00253064 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256108 00253068 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8025610C 0025306C FF E0 08 90 */ fmr f31, f1 +/* 80256110 00253070 7C 7F 1B 78 */ mr r31, r3 +/* 80256114 00253074 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80256118 00253078 41 82 00 F4 */ beq lbl_8025620C +/* 8025611C 0025307C 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256120 00253080 48 0B E6 6D */ bl IsMagnitudeSafe__9CVector3fCFv +/* 80256124 00253084 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80256128 00253088 41 82 01 00 */ beq lbl_80256228 +/* 8025612C 0025308C 38 7F 0A EC */ addi r3, r31, 0xaec +/* 80256130 00253090 48 0B E7 89 */ bl Magnitude__9CVector3fCFv +/* 80256134 00253094 FF C0 08 90 */ fmr f30, f1 +/* 80256138 00253098 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025613C 0025309C C0 3F 0A F8 */ lfs f1, 0xaf8(r31) +/* 80256140 002530A0 C0 5F 0A FC */ lfs f2, 0xafc(r31) +/* 80256144 002530A4 EC E0 F0 24 */ fdivs f7, f0, f30 +/* 80256148 002530A8 C1 1F 0B 00 */ lfs f8, 0xb00(r31) +/* 8025614C 002530AC C0 DF 0A EC */ lfs f6, 0xaec(r31) +/* 80256150 002530B0 C0 BF 0A F0 */ lfs f5, 0xaf0(r31) +/* 80256154 002530B4 C0 9F 0A F4 */ lfs f4, 0xaf4(r31) +/* 80256158 002530B8 C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) +/* 8025615C 002530BC EC 21 00 72 */ fmuls f1, f1, f1 +/* 80256160 002530C0 C1 22 B9 84 */ lfs f9, lbl_805AD6A4@sda21(r2) +/* 80256164 002530C4 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80256168 002530C8 EC 48 02 32 */ fmuls f2, f8, f8 +/* 8025616C 002530CC EF 67 01 B2 */ fmuls f27, f7, f6 +/* 80256170 002530D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80256174 002530D4 EF 87 01 72 */ fmuls f28, f7, f5 +/* 80256178 002530D8 EF A7 01 32 */ fmuls f29, f7, f4 +/* 8025617C 002530DC EC 02 00 2A */ fadds f0, f2, f0 +/* 80256180 002530E0 FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 80256184 002530E4 40 82 00 0C */ bne lbl_80256190 +/* 80256188 002530E8 C0 02 B9 5C */ lfs f0, lbl_805AD67C@sda21(r2) +/* 8025618C 002530EC ED 29 00 32 */ fmuls f9, f9, f0 +lbl_80256190: +/* 80256190 002530F0 EC 09 07 B2 */ fmuls f0, f9, f30 +/* 80256194 002530F4 38 81 00 08 */ addi r4, r1, 8 +/* 80256198 002530F8 38 6D 97 94 */ addi r3, r13, lbl_805A8354@sda21 +/* 8025619C 002530FC 38 AD 97 98 */ addi r5, r13, lbl_805A8358@sda21 +/* 802561A0 00253100 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802561A4 00253104 D0 01 00 08 */ stfs f0, 8(r1) +/* 802561A8 00253108 4B DB 61 0D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802561AC 0025310C C0 03 00 00 */ lfs f0, 0(r3) +/* 802561B0 00253110 EC 00 F7 BC */ fnmsubs f0, f0, f30, f30 +/* 802561B4 00253114 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 802561B8 00253118 EC 20 07 32 */ fmuls f1, f0, f28 +/* 802561BC 0025311C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802561C0 00253120 D0 5F 0A EC */ stfs f2, 0xaec(r31) +/* 802561C4 00253124 D0 3F 0A F0 */ stfs f1, 0xaf0(r31) +/* 802561C8 00253128 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 802561CC 0025312C C0 7F 00 E8 */ lfs f3, 0xe8(r31) +/* 802561D0 00253130 C0 5F 0A F0 */ lfs f2, 0xaf0(r31) +/* 802561D4 00253134 C0 3F 0A F4 */ lfs f1, 0xaf4(r31) +/* 802561D8 00253138 C0 1F 0A EC */ lfs f0, 0xaec(r31) +/* 802561DC 0025313C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802561E0 00253140 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802561E4 00253144 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802561E8 00253148 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802561EC 0025314C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802561F0 00253150 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802561F4 00253154 4B DC 53 41 */ bl Identity__10CAxisAngleFv +/* 802561F8 00253158 7C 65 1B 78 */ mr r5, r3 +/* 802561FC 0025315C 7F E3 FB 78 */ mr r3, r31 +/* 80256200 00253160 38 81 00 0C */ addi r4, r1, 0xc +/* 80256204 00253164 4B EC 61 95 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 80256208 00253168 48 00 00 20 */ b lbl_80256228 +lbl_8025620C: +/* 8025620C 0025316C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256210 00253170 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80256214 00253174 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 80256218 00253178 C0 03 00 04 */ lfs f0, 4(r3) +/* 8025621C 0025317C D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 80256220 00253180 C0 03 00 08 */ lfs f0, 8(r3) +/* 80256224 00253184 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +lbl_80256228: +/* 80256228 00253188 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025622C 0025318C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80256230 00253190 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) +/* 80256234 00253194 C0 03 00 04 */ lfs f0, 4(r3) +/* 80256238 00253198 D0 1F 0A FC */ stfs f0, 0xafc(r31) +/* 8025623C 0025319C C0 03 00 08 */ lfs f0, 8(r3) +/* 80256240 002531A0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 80256244 002531A4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80256248 002531A8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8025624C 002531AC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80256250 002531B0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80256254 002531B4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80256258 002531B8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8025625C 002531BC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80256260 002531C0 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 80256264 002531C4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 80256268 002531C8 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 8025626C 002531CC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80256270 002531D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256274 002531D4 7C 08 03 A6 */ mtlr r0 +/* 80256278 002531D8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8025627C 002531DC 4E 80 00 20 */ blr + +.global Think__7CRidleyR13CStateManager +Think__7CRidleyR13CStateManager: +/* 80256280 002531E0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80256284 002531E4 7C 08 02 A6 */ mflr r0 +/* 80256288 002531E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025628C 002531EC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80256290 002531F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80256294 002531F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256298 002531F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025629C 002531FC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802562A0 00253200 FF E0 08 90 */ fmr f31, f1 +/* 802562A4 00253204 7C 7E 1B 78 */ mr r30, r3 +/* 802562A8 00253208 7C 9F 23 78 */ mr r31, r4 +/* 802562AC 0025320C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802562B0 00253210 41 82 00 D8 */ beq lbl_80256388 +/* 802562B4 00253214 4B FF FE 1D */ bl sub_802560d0 +/* 802562B8 00253218 FC 20 F8 90 */ fmr f1, f31 +/* 802562BC 0025321C 7F C3 F3 78 */ mr r3, r30 +/* 802562C0 00253220 7F E4 FB 78 */ mr r4, r31 +/* 802562C4 00253224 4B E2 38 55 */ bl Think__10CPatternedFfR13CStateManager +/* 802562C8 00253228 FC 20 F8 90 */ fmr f1, f31 +/* 802562CC 0025322C 7F C3 F3 78 */ mr r3, r30 +/* 802562D0 00253230 48 00 00 D9 */ bl sub_802563a8 +/* 802562D4 00253234 FC 20 F8 90 */ fmr f1, f31 +/* 802562D8 00253238 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 802562DC 0025323C 7F E4 FB 78 */ mr r4, r31 +/* 802562E0 00253240 38 A0 00 00 */ li r5, 0 +/* 802562E4 00253244 4B F5 11 6D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 802562E8 00253248 FC 20 F8 90 */ fmr f1, f31 +/* 802562EC 0025324C 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802562F0 00253250 7F E4 FB 78 */ mr r4, r31 +/* 802562F4 00253254 38 A0 00 00 */ li r5, 0 +/* 802562F8 00253258 4B F5 11 59 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions +/* 802562FC 0025325C C0 1E 0B 20 */ lfs f0, 0xb20(r30) +/* 80256300 00253260 38 81 00 10 */ addi r4, r1, 0x10 +/* 80256304 00253264 38 6D 97 88 */ addi r3, r13, lbl_805A8348@sda21 +/* 80256308 00253268 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025630C 0025326C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80256310 00253270 4B DF 94 21 */ bl "Max__5CMathFRCfRCf" +/* 80256314 00253274 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256318 00253278 38 81 00 0C */ addi r4, r1, 0xc +/* 8025631C 0025327C 38 6D 97 8C */ addi r3, r13, lbl_805A834C@sda21 +/* 80256320 00253280 D0 1E 0B 20 */ stfs f0, 0xb20(r30) +/* 80256324 00253284 C0 1E 0B 24 */ lfs f0, 0xb24(r30) +/* 80256328 00253288 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025632C 0025328C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80256330 00253290 4B DF 94 01 */ bl "Max__5CMathFRCfRCf" +/* 80256334 00253294 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256338 00253298 38 81 00 08 */ addi r4, r1, 8 +/* 8025633C 0025329C 38 6D 97 90 */ addi r3, r13, lbl_805A8350@sda21 +/* 80256340 002532A0 D0 1E 0B 24 */ stfs f0, 0xb24(r30) +/* 80256344 002532A4 C0 1E 0C C8 */ lfs f0, 0xcc8(r30) +/* 80256348 002532A8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025634C 002532AC D0 01 00 08 */ stfs f0, 8(r1) +/* 80256350 002532B0 4B DF 93 E1 */ bl "Max__5CMathFRCfRCf" +/* 80256354 002532B4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80256358 002532B8 FC 20 F8 90 */ fmr f1, f31 +/* 8025635C 002532BC 7F C3 F3 78 */ mr r3, r30 +/* 80256360 002532C0 7F E4 FB 78 */ mr r4, r31 +/* 80256364 002532C4 D0 1E 0C C8 */ stfs f0, 0xcc8(r30) +/* 80256368 002532C8 48 00 07 AD */ bl sub_80256b14 +/* 8025636C 002532CC FC 20 F8 90 */ fmr f1, f31 +/* 80256370 002532D0 7F C3 F3 78 */ mr r3, r30 +/* 80256374 002532D4 7F E4 FB 78 */ mr r4, r31 +/* 80256378 002532D8 48 00 02 AD */ bl sub_80256624 +/* 8025637C 002532DC FC 20 F8 90 */ fmr f1, f31 +/* 80256380 002532E0 38 7E 0B 2C */ addi r3, r30, 0xb2c +/* 80256384 002532E4 4B F1 F6 25 */ bl Update__13CBoneTrackingFf +lbl_80256388: +/* 80256388 002532E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8025638C 002532EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80256390 002532F0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80256394 002532F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256398 002532F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025639C 002532FC 7C 08 03 A6 */ mtlr r0 +/* 802563A0 00253300 38 21 00 30 */ addi r1, r1, 0x30 +/* 802563A4 00253304 4E 80 00 20 */ blr + +.global sub_802563a8 +sub_802563a8: +/* 802563A8 00253308 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802563AC 0025330C 7C 08 02 A6 */ mflr r0 +/* 802563B0 00253310 90 01 00 74 */ stw r0, 0x74(r1) +/* 802563B4 00253314 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802563B8 00253318 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802563BC 0025331C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802563C0 00253320 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802563C4 00253324 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802563C8 00253328 7C 7F 1B 78 */ mr r31, r3 +/* 802563CC 0025332C FF C0 08 90 */ fmr f30, f1 +/* 802563D0 00253330 80 03 0C 64 */ lwz r0, 0xc64(r3) +/* 802563D4 00253334 2C 00 00 03 */ cmpwi r0, 3 +/* 802563D8 00253338 40 82 01 80 */ bne lbl_80256558 +/* 802563DC 0025333C 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 802563E0 00253340 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802563E4 00253344 40 82 01 74 */ bne lbl_80256558 +/* 802563E8 00253348 C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 802563EC 0025334C 38 81 00 30 */ addi r4, r1, 0x30 +/* 802563F0 00253350 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) +/* 802563F4 00253354 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 802563F8 00253358 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 802563FC 0025335C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80256400 00253360 C0 BF 00 40 */ lfs f5, 0x40(r31) +/* 80256404 00253364 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80256408 00253368 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8025640C 0025336C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80256410 00253370 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80256414 00253374 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80256418 00253378 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8025641C 0025337C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80256420 00253380 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80256424 00253384 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80256428 00253388 4B DF CA 65 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8025642C 0025338C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80256430 00253390 38 61 00 3C */ addi r3, r1, 0x3c +/* 80256434 00253394 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) +/* 80256438 00253398 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8025643C 0025339C C0 5F 0A B0 */ lfs f2, 0xab0(r31) +/* 80256440 002533A0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80256444 002533A4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80256448 002533A8 C0 1F 0A 90 */ lfs f0, 0xa90(r31) +/* 8025644C 002533AC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80256450 002533B0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80256454 002533B4 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80256458 002533B8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8025645C 002533BC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80256460 002533C0 48 0B E4 59 */ bl Magnitude__9CVector3fCFv +/* 80256464 002533C4 FF E0 08 90 */ fmr f31, f1 +/* 80256468 002533C8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025646C 002533CC C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80256470 002533D0 38 81 00 08 */ addi r4, r1, 8 +/* 80256474 002533D4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80256478 002533D8 38 6D 97 80 */ addi r3, r13, lbl_805A8340@sda21 +/* 8025647C 002533DC EC 60 F8 24 */ fdivs f3, f0, f31 +/* 80256480 002533E0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80256484 002533E4 38 AD 97 84 */ addi r5, r13, lbl_805A8344@sda21 +/* 80256488 002533E8 EC 82 00 F2 */ fmuls f4, f2, f3 +/* 8025648C 002533EC EC 41 00 F2 */ fmuls f2, f1, f3 +/* 80256490 002533F0 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 80256494 002533F4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80256498 002533F8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8025649C 002533FC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802564A0 00253400 C0 1F 0A 98 */ lfs f0, 0xa98(r31) +/* 802564A4 00253404 C0 3F 0A 88 */ lfs f1, 0xa88(r31) +/* 802564A8 00253408 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802564AC 0025340C C0 5F 0A A8 */ lfs f2, 0xaa8(r31) +/* 802564B0 00253410 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802564B4 00253414 EC 02 00 FA */ fmadds f0, f2, f3, f0 +/* 802564B8 00253418 D0 01 00 08 */ stfs f0, 8(r1) +/* 802564BC 0025341C 4B DB 5D F9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802564C0 00253420 C0 23 00 00 */ lfs f1, 0(r3) +/* 802564C4 00253424 C0 02 B9 88 */ lfs f0, lbl_805AD6A8@sda21(r2) +/* 802564C8 00253428 D0 21 00 08 */ stfs f1, 8(r1) +/* 802564CC 0025342C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802564D0 00253430 C0 3F 0A B4 */ lfs f1, 0xab4(r31) +/* 802564D4 00253434 EC 01 00 2A */ fadds f0, f1, f0 +/* 802564D8 00253438 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802564DC 0025343C 40 81 00 7C */ ble lbl_80256558 +/* 802564E0 00253440 C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 802564E4 00253444 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802564E8 00253448 C0 5F 01 38 */ lfs f2, 0x138(r31) +/* 802564EC 0025344C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802564F0 00253450 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802564F4 00253454 C0 9F 01 40 */ lfs f4, 0x140(r31) +/* 802564F8 00253458 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802564FC 0025345C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80256500 00253460 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256504 00253464 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80256508 00253468 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025650C 0025346C 40 81 00 0C */ ble lbl_80256518 +/* 80256510 00253470 7F E3 FB 78 */ mr r3, r31 +/* 80256514 00253474 4B EC 4E 65 */ bl Stop__13CPhysicsActorFv +lbl_80256518: +/* 80256518 00253478 C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 8025651C 0025347C FC 20 F0 90 */ fmr f1, f30 +/* 80256520 00253480 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80256524 00253484 7F E3 FB 78 */ mr r3, r31 +/* 80256528 00253488 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8025652C 0025348C 38 81 00 0C */ addi r4, r1, 0xc +/* 80256530 00253490 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80256534 00253494 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80256538 00253498 EC A5 00 28 */ fsubs f5, f5, f0 +/* 8025653C 0025349C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80256540 002534A0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80256544 002534A4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80256548 002534A8 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8025654C 002534AC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80256550 002534B0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80256554 002534B4 4B EC 4B 45 */ bl MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff +lbl_80256558: +/* 80256558 002534B8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025655C 002534BC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80256560 002534C0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80256564 002534C4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80256568 002534C8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8025656C 002534CC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80256570 002534D0 7C 08 03 A6 */ mtlr r0 +/* 80256574 002534D4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80256578 002534D8 4E 80 00 20 */ blr + +.global nullsub_53 +nullsub_53: +/* 8025657C 002534DC 4E 80 00 20 */ blr + +.global sub_80256580 +sub_80256580: +/* 80256580 002534E0 88 03 0A 31 */ lbz r0, 0xa31(r3) +/* 80256584 002534E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80256588 002534E8 4C 82 00 20 */ bnelr +/* 8025658C 002534EC C0 02 B9 8C */ lfs f0, lbl_805AD6AC@sda21(r2) +/* 80256590 002534F0 D0 03 03 B4 */ stfs f0, 0x3b4(r3) +/* 80256594 002534F4 4E 80 00 20 */ blr + +.global GetAimPosition__7CRidleyCFRC13CStateManagerf +GetAimPosition__7CRidleyCFRC13CStateManagerf: +/* 80256598 002534F8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8025659C 002534FC 7C 08 02 A6 */ mflr r0 +/* 802565A0 00253500 90 01 00 74 */ stw r0, 0x74(r1) +/* 802565A4 00253504 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802565A8 00253508 7C 7F 1B 78 */ mr r31, r3 +/* 802565AC 0025350C 80 04 0C 64 */ lwz r0, 0xc64(r4) +/* 802565B0 00253510 2C 00 00 03 */ cmpwi r0, 3 +/* 802565B4 00253514 40 82 00 38 */ bne lbl_802565EC +/* 802565B8 00253518 88 04 0A 32 */ lbz r0, 0xa32(r4) +/* 802565BC 0025351C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802565C0 00253520 40 82 00 2C */ bne lbl_802565EC +/* 802565C4 00253524 38 61 00 38 */ addi r3, r1, 0x38 +/* 802565C8 00253528 38 A4 0B 90 */ addi r5, r4, 0xb90 +/* 802565CC 0025352C 4B E2 22 ED */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802565D0 00253530 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802565D4 00253534 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802565D8 00253538 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802565DC 0025353C D0 1F 00 00 */ stfs f0, 0(r31) +/* 802565E0 00253540 D0 3F 00 04 */ stfs f1, 4(r31) +/* 802565E4 00253544 D0 5F 00 08 */ stfs f2, 8(r31) +/* 802565E8 00253548 48 00 00 28 */ b lbl_80256610 +lbl_802565EC: +/* 802565EC 0025354C 38 61 00 08 */ addi r3, r1, 8 +/* 802565F0 00253550 38 A4 0A 30 */ addi r5, r4, 0xa30 +/* 802565F4 00253554 4B E2 22 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802565F8 00253558 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802565FC 0025355C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80256600 00253560 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80256604 00253564 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80256608 00253568 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8025660C 0025356C D0 5F 00 08 */ stfs f2, 8(r31) +lbl_80256610: +/* 80256610 00253570 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80256614 00253574 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80256618 00253578 7C 08 03 A6 */ mtlr r0 +/* 8025661C 0025357C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80256620 00253580 4E 80 00 20 */ blr + +.global sub_80256624 +sub_80256624: +/* 80256624 00253584 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80256628 00253588 7C 08 02 A6 */ mflr r0 +/* 8025662C 0025358C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80256630 00253590 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 80256634 00253594 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 80256638 00253598 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8025663C 0025359C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80256640 002535A0 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80256644 002535A4 7C 7F 1B 78 */ mr r31, r3 +/* 80256648 002535A8 FF E0 08 90 */ fmr f31, f1 +/* 8025664C 002535AC 83 C3 0C E0 */ lwz r30, 0xce0(r3) +/* 80256650 002535B0 7C 9D 23 78 */ mr r29, r4 +/* 80256654 002535B4 28 1E 00 00 */ cmplwi r30, 0 +/* 80256658 002535B8 41 82 02 30 */ beq lbl_80256888 +/* 8025665C 002535BC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80256660 002535C0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80256664 002535C4 48 0B C5 DD */ bl GetRotation__12CTransform4fCFv +/* 80256668 002535C8 7F C3 F3 78 */ mr r3, r30 +/* 8025666C 002535CC 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80256670 002535D0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80256674 002535D4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80256678 002535D8 7D 89 03 A6 */ mtctr r12 +/* 8025667C 002535DC 4E 80 04 21 */ bctrl +/* 80256680 002535E0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80256684 002535E4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80256688 002535E8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025668C 002535EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80256690 002535F0 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80256694 002535F4 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80256698 002535F8 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8025669C 002535FC 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566A0 00253600 81 83 00 00 */ lwz r12, 0(r3) +/* 802566A4 00253604 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802566A8 00253608 7D 89 03 A6 */ mtctr r12 +/* 802566AC 0025360C 4E 80 04 21 */ bctrl +/* 802566B0 00253610 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802566B4 00253614 38 81 00 28 */ addi r4, r1, 0x28 +/* 802566B8 00253618 C0 03 00 00 */ lfs f0, 0(r3) +/* 802566BC 0025361C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802566C0 00253620 C0 03 00 04 */ lfs f0, 4(r3) +/* 802566C4 00253624 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802566C8 00253628 C0 03 00 08 */ lfs f0, 8(r3) +/* 802566CC 0025362C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802566D0 00253630 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566D4 00253634 81 83 00 00 */ lwz r12, 0(r3) +/* 802566D8 00253638 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802566DC 0025363C 7D 89 03 A6 */ mtctr r12 +/* 802566E0 00253640 4E 80 04 21 */ bctrl +/* 802566E4 00253644 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 802566E8 00253648 81 83 00 00 */ lwz r12, 0(r3) +/* 802566EC 0025364C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 802566F0 00253650 7D 89 03 A6 */ mtctr r12 +/* 802566F4 00253654 4E 80 04 21 */ bctrl +/* 802566F8 00253658 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802566FC 0025365C 41 82 01 70 */ beq lbl_8025686C +/* 80256700 00253660 C0 3F 0D 08 */ lfs f1, 0xd08(r31) +/* 80256704 00253664 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256708 00253668 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8025670C 0025366C D0 3F 0D 08 */ stfs f1, 0xd08(r31) +/* 80256710 00253670 C0 3F 0D 08 */ lfs f1, 0xd08(r31) +/* 80256714 00253674 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80256718 00253678 4C 40 13 82 */ cror 2, 0, 2 +/* 8025671C 0025367C 40 82 00 44 */ bne lbl_80256760 +/* 80256720 00253680 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256724 00253684 38 80 00 00 */ li r4, 0 +/* 80256728 00253688 81 83 00 00 */ lwz r12, 0(r3) +/* 8025672C 0025368C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80256730 00253690 7D 89 03 A6 */ mtctr r12 +/* 80256734 00253694 4E 80 04 21 */ bctrl +/* 80256738 00253698 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 8025673C 0025369C 28 00 00 00 */ cmplwi r0, 0 +/* 80256740 002536A0 41 82 01 2C */ beq lbl_8025686C +/* 80256744 002536A4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 80256748 002536A8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025674C 002536AC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80256750 002536B0 48 09 37 35 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80256754 002536B4 38 00 00 00 */ li r0, 0 +/* 80256758 002536B8 90 1F 0D 0C */ stw r0, 0xd0c(r31) +/* 8025675C 002536BC 48 00 01 10 */ b lbl_8025686C +lbl_80256760: +/* 80256760 002536C0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80256764 002536C4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80256768 002536C8 88 1F 0A 30 */ lbz r0, 0xa30(r31) +/* 8025676C 002536CC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80256770 002536D0 83 C4 00 10 */ lwz r30, 0x10(r4) +/* 80256774 002536D4 38 C0 00 00 */ li r6, 0 +/* 80256778 002536D8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8025677C 002536DC 7F C4 F3 78 */ mr r4, r30 +/* 80256780 002536E0 4B DD 5A F5 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80256784 002536E4 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256788 002536E8 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8025678C 002536EC 88 03 01 84 */ lbz r0, 0x184(r3) +/* 80256790 002536F0 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80256794 002536F4 28 00 00 00 */ cmplwi r0, 0 +/* 80256798 002536F8 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8025679C 002536FC 40 82 00 24 */ bne lbl_802567C0 +/* 802567A0 00253700 34 83 01 78 */ addic. r4, r3, 0x178 +/* 802567A4 00253704 41 82 00 10 */ beq lbl_802567B4 +/* 802567A8 00253708 D0 04 00 00 */ stfs f0, 0(r4) +/* 802567AC 0025370C D0 24 00 04 */ stfs f1, 4(r4) +/* 802567B0 00253710 D0 44 00 08 */ stfs f2, 8(r4) +lbl_802567B4: +/* 802567B4 00253714 38 00 00 01 */ li r0, 1 +/* 802567B8 00253718 98 03 01 84 */ stb r0, 0x184(r3) +/* 802567BC 0025371C 48 00 00 10 */ b lbl_802567CC +lbl_802567C0: +/* 802567C0 00253720 D0 03 01 78 */ stfs f0, 0x178(r3) +/* 802567C4 00253724 D0 23 01 7C */ stfs f1, 0x17c(r3) +/* 802567C8 00253728 D0 43 01 80 */ stfs f2, 0x180(r3) +lbl_802567CC: +/* 802567CC 0025372C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802567D0 00253730 38 80 00 00 */ li r4, 0 +/* 802567D4 00253734 80 7F 0C E4 */ lwz r3, 0xce4(r31) +/* 802567D8 00253738 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802567DC 0025373C 38 A3 FF FF */ addi r5, r3, -1 +/* 802567E0 00253740 40 82 00 0C */ bne lbl_802567EC +/* 802567E4 00253744 38 A5 FF FA */ addi r5, r5, -6 +/* 802567E8 00253748 48 00 00 08 */ b lbl_802567F0 +lbl_802567EC: +/* 802567EC 0025374C 38 85 FF F4 */ addi r4, r5, -12 +lbl_802567F0: +/* 802567F0 00253750 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802567F4 00253754 48 0B BD A1 */ bl Range__9CRandom16Fii +/* 802567F8 00253758 7C 7F 1A 14 */ add r3, r31, r3 +/* 802567FC 0025375C 7F C4 F3 78 */ mr r4, r30 +/* 80256800 00253760 88 03 0C E8 */ lbz r0, 0xce8(r3) +/* 80256804 00253764 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256808 00253768 38 A1 00 08 */ addi r5, r1, 8 +/* 8025680C 0025376C 38 C0 00 00 */ li r6, 0 +/* 80256810 00253770 98 01 00 08 */ stb r0, 8(r1) +/* 80256814 00253774 4B DD 5A 61 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime +/* 80256818 00253778 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 8025681C 0025377C C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80256820 00253780 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80256824 00253784 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 80256828 00253788 28 00 00 00 */ cmplwi r0, 0 +/* 8025682C 0025378C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80256830 00253790 40 82 00 24 */ bne lbl_80256854 +/* 80256834 00253794 34 83 01 98 */ addic. r4, r3, 0x198 +/* 80256838 00253798 41 82 00 10 */ beq lbl_80256848 +/* 8025683C 0025379C D0 04 00 00 */ stfs f0, 0(r4) +/* 80256840 002537A0 D0 24 00 04 */ stfs f1, 4(r4) +/* 80256844 002537A4 D0 44 00 08 */ stfs f2, 8(r4) +lbl_80256848: +/* 80256848 002537A8 38 00 00 01 */ li r0, 1 +/* 8025684C 002537AC 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 80256850 002537B0 48 00 00 10 */ b lbl_80256860 +lbl_80256854: +/* 80256854 002537B4 D0 03 01 98 */ stfs f0, 0x198(r3) +/* 80256858 002537B8 D0 23 01 9C */ stfs f1, 0x19c(r3) +/* 8025685C 002537BC D0 43 01 A0 */ stfs f2, 0x1a0(r3) +lbl_80256860: +/* 80256860 002537C0 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256864 002537C4 38 80 00 01 */ li r4, 1 +/* 80256868 002537C8 48 10 86 D5 */ bl ForceParticleCreation__17CParticleElectricFi +lbl_8025686C: +/* 8025686C 002537CC 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 80256870 002537D0 FC 20 F8 90 */ fmr f1, f31 +/* 80256874 002537D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80256878 002537D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025687C 002537DC 7D 89 03 A6 */ mtctr r12 +/* 80256880 002537E0 4E 80 04 21 */ bctrl +/* 80256884 002537E4 48 00 00 28 */ b lbl_802568AC +lbl_80256888: +/* 80256888 002537E8 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 8025688C 002537EC 28 00 00 00 */ cmplwi r0, 0 +/* 80256890 002537F0 41 82 00 1C */ beq lbl_802568AC +/* 80256894 002537F4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 80256898 002537F8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025689C 002537FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802568A0 00253800 48 09 35 E5 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 802568A4 00253804 38 00 00 00 */ li r0, 0 +/* 802568A8 00253808 90 1F 0D 0C */ stw r0, 0xd0c(r31) +lbl_802568AC: +/* 802568AC 0025380C 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 802568B0 00253810 28 00 00 00 */ cmplwi r0, 0 +/* 802568B4 00253814 41 82 00 3C */ beq lbl_802568F0 +/* 802568B8 00253818 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802568BC 0025381C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802568C0 00253820 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802568C4 00253824 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802568C8 00253828 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802568CC 0025382C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802568D0 00253830 38 81 00 1C */ addi r4, r1, 0x1c +/* 802568D4 00253834 38 C0 00 7F */ li r6, 0x7f +/* 802568D8 00253838 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802568DC 0025383C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802568E0 00253840 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802568E4 00253844 80 1F 0D 0C */ lwz r0, 0xd0c(r31) +/* 802568E8 00253848 90 01 00 10 */ stw r0, 0x10(r1) +/* 802568EC 0025384C 48 09 35 C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_802568F0: +/* 802568F0 00253850 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802568F4 00253854 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802568F8 00253858 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802568FC 0025385C 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80256900 00253860 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80256904 00253864 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80256908 00253868 7C 08 03 A6 */ mtlr r0 +/* 8025690C 0025386C 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80256910 00253870 4E 80 00 20 */ blr + +.global sub_80256914 +sub_80256914: +/* 80256914 00253874 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80256918 00253878 7C 08 02 A6 */ mflr r0 +/* 8025691C 0025387C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80256920 00253880 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80256924 00253884 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80256928 00253888 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025692C 0025388C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80256930 00253890 7C 7E 1B 78 */ mr r30, r3 +/* 80256934 00253894 FF E0 08 90 */ fmr f31, f1 +/* 80256938 00253898 80 63 0C E0 */ lwz r3, 0xce0(r3) +/* 8025693C 0025389C 7C 9F 23 78 */ mr r31, r4 +/* 80256940 002538A0 28 03 00 00 */ cmplwi r3, 0 +/* 80256944 002538A4 41 82 00 18 */ beq lbl_8025695C +/* 80256948 002538A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8025694C 002538AC 38 80 00 01 */ li r4, 1 +/* 80256950 002538B0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80256954 002538B4 7D 89 03 A6 */ mtctr r12 +/* 80256958 002538B8 4E 80 04 21 */ bctrl +lbl_8025695C: +/* 8025695C 002538BC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80256960 002538C0 41 82 00 10 */ beq lbl_80256970 +/* 80256964 002538C4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) +/* 80256968 002538C8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8025696C 002538CC 48 00 00 08 */ b lbl_80256974 +lbl_80256970: +/* 80256970 002538D0 FC 00 F8 90 */ fmr f0, f31 +lbl_80256974: +/* 80256974 002538D4 D0 1E 0D 08 */ stfs f0, 0xd08(r30) +/* 80256978 002538D8 88 1E 0A 32 */ lbz r0, 0xa32(r30) +/* 8025697C 002538DC 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e +/* 80256980 002538E0 98 1E 0A 32 */ stb r0, 0xa32(r30) +/* 80256984 002538E4 80 1E 0D 0C */ lwz r0, 0xd0c(r30) +/* 80256988 002538E8 28 00 00 00 */ cmplwi r0, 0 +/* 8025698C 002538EC 40 82 00 C0 */ bne lbl_80256A4C +/* 80256990 002538F0 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80256994 002538F4 39 60 00 00 */ li r11, 0 +/* 80256998 002538F8 C0 82 B9 90 */ lfs f4, lbl_805AD6B0@sda21(r2) +/* 8025699C 002538FC 39 80 00 01 */ li r12, 1 +/* 802569A0 00253900 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 802569A4 00253904 39 40 00 7F */ li r10, 0x7f +/* 802569A8 00253908 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 802569AC 0025390C 39 20 00 3F */ li r9, 0x3f +/* 802569B0 00253910 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802569B4 00253914 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802569B8 00253918 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 802569BC 0025391C A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 802569C0 00253920 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802569C4 00253924 38 61 00 08 */ addi r3, r1, 8 +/* 802569C8 00253928 C0 48 00 00 */ lfs f2, 0(r8) +/* 802569CC 0025392C 38 81 00 0C */ addi r4, r1, 0xc +/* 802569D0 00253930 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802569D4 00253934 38 A0 00 01 */ li r5, 1 +/* 802569D8 00253938 C0 28 00 04 */ lfs f1, 4(r8) +/* 802569DC 0025393C 38 E0 00 01 */ li r7, 1 +/* 802569E0 00253940 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802569E4 00253944 C0 08 00 08 */ lfs f0, 8(r8) +/* 802569E8 00253948 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802569EC 0025394C 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 802569F0 00253950 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 802569F4 00253954 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 802569F8 00253958 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802569FC 0025395C 91 81 00 2C */ stw r12, 0x2c(r1) +/* 80256A00 00253960 B1 61 00 30 */ sth r11, 0x30(r1) +/* 80256A04 00253964 99 41 00 32 */ stb r10, 0x32(r1) +/* 80256A08 00253968 99 21 00 33 */ stb r9, 0x33(r1) +/* 80256A0C 0025396C 99 61 00 34 */ stb r11, 0x34(r1) +/* 80256A10 00253970 98 01 00 35 */ stb r0, 0x35(r1) +/* 80256A14 00253974 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 80256A18 00253978 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80256A1C 0025397C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80256A20 00253980 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80256A24 00253984 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80256A28 00253988 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80256A2C 0025398C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80256A30 00253990 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80256A34 00253994 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80256A38 00253998 A0 1E 09 60 */ lhz r0, 0x960(r30) +/* 80256A3C 0025399C B0 01 00 30 */ sth r0, 0x30(r1) +/* 80256A40 002539A0 48 09 35 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 80256A44 002539A4 80 01 00 08 */ lwz r0, 8(r1) +/* 80256A48 002539A8 90 1E 0D 0C */ stw r0, 0xd0c(r30) +lbl_80256A4C: +/* 80256A4C 002539AC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80256A50 002539B0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80256A54 002539B4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80256A58 002539B8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80256A5C 002539BC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80256A60 002539C0 7C 08 03 A6 */ mtlr r0 +/* 80256A64 002539C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80256A68 002539C8 4E 80 00 20 */ blr + +.global sub_80256a6c +sub_80256a6c: +/* 80256A6C 002539CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80256A70 002539D0 7C 08 02 A6 */ mflr r0 +/* 80256A74 002539D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80256A78 002539D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80256A7C 002539DC 7C BF 2B 78 */ mr r31, r5 +/* 80256A80 002539E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80256A84 002539E4 7C 9E 23 78 */ mr r30, r4 +/* 80256A88 002539E8 38 81 00 08 */ addi r4, r1, 8 +/* 80256A8C 002539EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80256A90 002539F0 7C 7D 1B 78 */ mr r29, r3 +/* 80256A94 002539F4 A0 03 0B 64 */ lhz r0, 0xb64(r3) +/* 80256A98 002539F8 7F C3 F3 78 */ mr r3, r30 +/* 80256A9C 002539FC B0 01 00 08 */ sth r0, 8(r1) +/* 80256AA0 00253A00 4B DF 5A D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256AA4 00253A04 28 03 00 00 */ cmplwi r3, 0 +/* 80256AA8 00253A08 41 82 00 2C */ beq lbl_80256AD4 +/* 80256AAC 00253A0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80256AB0 00253A10 7F C4 F3 78 */ mr r4, r30 +/* 80256AB4 00253A14 7F E5 FB 78 */ mr r5, r31 +/* 80256AB8 00253A18 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80256ABC 00253A1C 7D 89 03 A6 */ mtctr r12 +/* 80256AC0 00253A20 4E 80 04 21 */ bctrl +/* 80256AC4 00253A24 88 1D 0A 31 */ lbz r0, 0xa31(r29) +/* 80256AC8 00253A28 38 60 00 00 */ li r3, 0 +/* 80256ACC 00253A2C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80256AD0 00253A30 98 1D 0A 31 */ stb r0, 0xa31(r29) +lbl_80256AD4: +/* 80256AD4 00253A34 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256AD8 00253A38 28 00 00 00 */ cmplwi r0, 0 +/* 80256ADC 00253A3C 41 82 00 1C */ beq lbl_80256AF8 +/* 80256AE0 00253A40 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256AE4 00253A44 38 61 00 0C */ addi r3, r1, 0xc +/* 80256AE8 00253A48 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256AEC 00253A4C 48 09 33 99 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80256AF0 00253A50 38 00 00 00 */ li r0, 0 +/* 80256AF4 00253A54 90 1D 0C A8 */ stw r0, 0xca8(r29) +lbl_80256AF8: +/* 80256AF8 00253A58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80256AFC 00253A5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80256B00 00253A60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80256B04 00253A64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80256B08 00253A68 7C 08 03 A6 */ mtlr r0 +/* 80256B0C 00253A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80256B10 00253A70 4E 80 00 20 */ blr + +.global sub_80256b14 +sub_80256b14: +/* 80256B14 00253A74 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 80256B18 00253A78 7C 08 02 A6 */ mflr r0 +/* 80256B1C 00253A7C 90 01 01 44 */ stw r0, 0x144(r1) +/* 80256B20 00253A80 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 80256B24 00253A84 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 80256B28 00253A88 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 80256B2C 00253A8C 93 C1 01 28 */ stw r30, 0x128(r1) +/* 80256B30 00253A90 93 A1 01 24 */ stw r29, 0x124(r1) +/* 80256B34 00253A94 7C 7D 1B 78 */ mr r29, r3 +/* 80256B38 00253A98 7C 9E 23 78 */ mr r30, r4 +/* 80256B3C 00253A9C A0 03 0B 64 */ lhz r0, 0xb64(r3) +/* 80256B40 00253AA0 FF E0 08 90 */ fmr f31, f1 +/* 80256B44 00253AA4 7F C3 F3 78 */ mr r3, r30 +/* 80256B48 00253AA8 38 81 00 08 */ addi r4, r1, 8 +/* 80256B4C 00253AAC B0 01 00 08 */ sth r0, 8(r1) +/* 80256B50 00253AB0 4B DF 5A 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256B54 00253AB4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256B58 00253AB8 41 82 01 F4 */ beq lbl_80256D4C +/* 80256B5C 00253ABC 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80256B60 00253AC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80256B64 00253AC4 41 82 01 E8 */ beq lbl_80256D4C +/* 80256B68 00253AC8 7F A4 EB 78 */ mr r4, r29 +/* 80256B6C 00253ACC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80256B70 00253AD0 38 BD 0B 91 */ addi r5, r29, 0xb91 +/* 80256B74 00253AD4 4B E2 1D 45 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80256B78 00253AD8 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80256B7C 00253ADC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80256B80 00253AE0 48 0B BF F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80256B84 00253AE4 80 1D 0C 64 */ lwz r0, 0xc64(r29) +/* 80256B88 00253AE8 2C 00 00 03 */ cmpwi r0, 3 +/* 80256B8C 00253AEC 40 82 00 28 */ bne lbl_80256BB4 +/* 80256B90 00253AF0 7F E3 FB 78 */ mr r3, r31 +/* 80256B94 00253AF4 FC 20 F8 90 */ fmr f1, f31 +/* 80256B98 00253AF8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256B9C 00253AFC 7F C5 F3 78 */ mr r5, r30 +/* 80256BA0 00253B00 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80256BA4 00253B04 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80256BA8 00253B08 7D 89 03 A6 */ mtctr r12 +/* 80256BAC 00253B0C 4E 80 04 21 */ bctrl +/* 80256BB0 00253B10 48 00 01 9C */ b lbl_80256D4C +lbl_80256BB4: +/* 80256BB4 00253B14 C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 80256BB8 00253B18 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80256BBC 00253B1C C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80256BC0 00253B20 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80256BC4 00253B24 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80256BC8 00253B28 38 61 00 58 */ addi r3, r1, 0x58 +/* 80256BCC 00253B2C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80256BD0 00253B30 38 81 00 3C */ addi r4, r1, 0x3c +/* 80256BD4 00253B34 38 BD 0B E4 */ addi r5, r29, 0xbe4 +/* 80256BD8 00253B38 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80256BDC 00253B3C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80256BE0 00253B40 48 0B CF 31 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80256BE4 00253B44 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80256BE8 00253B48 38 81 00 58 */ addi r4, r1, 0x58 +/* 80256BEC 00253B4C 48 0B BF 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80256BF0 00253B50 7F E3 FB 78 */ mr r3, r31 +/* 80256BF4 00253B54 FC 20 F8 90 */ fmr f1, f31 +/* 80256BF8 00253B58 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256BFC 00253B5C 7F C5 F3 78 */ mr r5, r30 +/* 80256C00 00253B60 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80256C04 00253B64 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80256C08 00253B68 7D 89 03 A6 */ mtctr r12 +/* 80256C0C 00253B6C 4E 80 04 21 */ bctrl +/* 80256C10 00253B70 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80256C14 00253B74 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80256C18 00253B78 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 80256C1C 00253B7C C1 3D 0B F0 */ lfs f9, 0xbf0(r29) +/* 80256C20 00253B80 C1 83 00 08 */ lfs f12, 8(r3) +/* 80256C24 00253B84 C1 63 00 04 */ lfs f11, 4(r3) +/* 80256C28 00253B88 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80256C2C 00253B8C EC 4C 02 72 */ fmuls f2, f12, f9 +/* 80256C30 00253B90 C0 BD 0B F8 */ lfs f5, 0xbf8(r29) +/* 80256C34 00253B94 C1 43 00 00 */ lfs f10, 0(r3) +/* 80256C38 00253B98 EC 20 58 2A */ fadds f1, f0, f11 +/* 80256C3C 00253B9C C0 64 00 40 */ lfs f3, 0x40(r4) +/* 80256C40 00253BA0 EC 8B 01 72 */ fmuls f4, f11, f5 +/* 80256C44 00253BA4 C0 FD 0B F4 */ lfs f7, 0xbf4(r29) +/* 80256C48 00253BA8 EC 45 12 B8 */ fmsubs f2, f5, f10, f2 +/* 80256C4C 00253BAC C0 1D 0B E8 */ lfs f0, 0xbe8(r29) +/* 80256C50 00253BB0 C0 C4 00 60 */ lfs f6, 0x60(r4) +/* 80256C54 00253BB4 ED 0A 01 F2 */ fmuls f8, f10, f7 +/* 80256C58 00253BB8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80256C5C 00253BBC C0 1D 0B E4 */ lfs f0, 0xbe4(r29) +/* 80256C60 00253BC0 EC 63 50 2A */ fadds f3, f3, f10 +/* 80256C64 00253BC4 C0 BD 0B EC */ lfs f5, 0xbec(r29) +/* 80256C68 00253BC8 EC C6 60 2A */ fadds f6, f6, f12 +/* 80256C6C 00253BCC EC 87 23 38 */ fmsubs f4, f7, f12, f4 +/* 80256C70 00253BD0 EC 63 00 28 */ fsubs f3, f3, f0 +/* 80256C74 00253BD4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80256C78 00253BD8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80256C7C 00253BDC C0 E2 B9 98 */ lfs f7, lbl_805AD6B8@sda21(r2) +/* 80256C80 00253BE0 ED 09 42 F8 */ fmsubs f8, f9, f11, f8 +/* 80256C84 00253BE4 EC 46 28 28 */ fsubs f2, f6, f5 +/* 80256C88 00253BE8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80256C8C 00253BEC EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 80256C90 00253BF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80256C94 00253BF4 40 81 00 10 */ ble lbl_80256CA4 +/* 80256C98 00253BF8 C0 1D 0C 10 */ lfs f0, 0xc10(r29) +/* 80256C9C 00253BFC FC 00 00 50 */ fneg f0, f0 +/* 80256CA0 00253C00 48 00 00 08 */ b lbl_80256CA8 +lbl_80256CA4: +/* 80256CA4 00253C04 C0 1D 0C 10 */ lfs f0, 0xc10(r29) +lbl_80256CA8: +/* 80256CA8 00253C08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80256CAC 00253C0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80256CB0 00253C10 38 81 00 10 */ addi r4, r1, 0x10 +/* 80256CB4 00253C14 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80256CB8 00253C18 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80256CBC 00253C1C 48 0B A4 3D */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80256CC0 00253C20 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80256CC4 00253C24 38 61 00 20 */ addi r3, r1, 0x20 +/* 80256CC8 00253C28 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 80256CCC 00253C2C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80256CD0 00253C30 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80256CD4 00253C34 38 BD 0B F0 */ addi r5, r29, 0xbf0 +/* 80256CD8 00253C38 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80256CDC 00253C3C D0 61 00 48 */ stfs f3, 0x48(r1) +/* 80256CE0 00253C40 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80256CE4 00253C44 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80256CE8 00253C48 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80256CEC 00253C4C 48 0B A5 79 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80256CF0 00253C50 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 80256CF4 00253C54 C0 5D 0C 00 */ lfs f2, 0xc00(r29) +/* 80256CF8 00253C58 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 80256CFC 00253C5C EC 02 01 32 */ fmuls f0, f2, f4 +/* 80256D00 00253C60 C0 FD 0B FC */ lfs f7, 0xbfc(r29) +/* 80256D04 00253C64 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 80256D08 00253C68 C1 1D 0C 04 */ lfs f8, 0xc04(r29) +/* 80256D0C 00253C6C EC 27 01 BA */ fmadds f1, f7, f6, f0 +/* 80256D10 00253C70 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 80256D14 00253C74 EC 68 09 7A */ fmadds f3, f8, f5, f1 +/* 80256D18 00253C78 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80256D1C 00253C7C 41 81 00 24 */ bgt lbl_80256D40 +/* 80256D20 00253C80 C0 1D 0B F4 */ lfs f0, 0xbf4(r29) +/* 80256D24 00253C84 C0 3D 0B F0 */ lfs f1, 0xbf0(r29) +/* 80256D28 00253C88 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80256D2C 00253C8C C0 5D 0B F8 */ lfs f2, 0xbf8(r29) +/* 80256D30 00253C90 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 80256D34 00253C94 EC 08 00 BA */ fmadds f0, f8, f2, f0 +/* 80256D38 00253C98 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80256D3C 00253C9C 40 81 00 10 */ ble lbl_80256D4C +lbl_80256D40: +/* 80256D40 00253CA0 D0 DD 0B F0 */ stfs f6, 0xbf0(r29) +/* 80256D44 00253CA4 D0 9D 0B F4 */ stfs f4, 0xbf4(r29) +/* 80256D48 00253CA8 D0 BD 0B F8 */ stfs f5, 0xbf8(r29) +lbl_80256D4C: +/* 80256D4C 00253CAC 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256D50 00253CB0 28 00 00 00 */ cmplwi r0, 0 +/* 80256D54 00253CB4 41 82 00 3C */ beq lbl_80256D90 +/* 80256D58 00253CB8 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80256D5C 00253CBC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256D60 00253CC0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80256D64 00253CC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80256D68 00253CC8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80256D6C 00253CCC 38 61 00 0C */ addi r3, r1, 0xc +/* 80256D70 00253CD0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80256D74 00253CD4 38 C0 00 7F */ li r6, 0x7f +/* 80256D78 00253CD8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80256D7C 00253CDC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80256D80 00253CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80256D84 00253CE4 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256D88 00253CE8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256D8C 00253CEC 48 09 31 25 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80256D90: +/* 80256D90 00253CF0 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 80256D94 00253CF4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 80256D98 00253CF8 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 80256D9C 00253CFC 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 80256DA0 00253D00 83 C1 01 28 */ lwz r30, 0x128(r1) +/* 80256DA4 00253D04 83 A1 01 24 */ lwz r29, 0x124(r1) +/* 80256DA8 00253D08 7C 08 03 A6 */ mtlr r0 +/* 80256DAC 00253D0C 38 21 01 40 */ addi r1, r1, 0x140 +/* 80256DB0 00253D10 4E 80 00 20 */ blr + +.global sub_80256db4 +sub_80256db4: +/* 80256DB4 00253D14 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80256DB8 00253D18 7C 08 02 A6 */ mflr r0 +/* 80256DBC 00253D1C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80256DC0 00253D20 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80256DC4 00253D24 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80256DC8 00253D28 7C 9E 23 78 */ mr r30, r4 +/* 80256DCC 00253D2C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80256DD0 00253D30 7C 7D 1B 78 */ mr r29, r3 +/* 80256DD4 00253D34 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 80256DD8 00253D38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80256DDC 00253D3C A0 63 0B 64 */ lhz r3, 0xb64(r3) +/* 80256DE0 00253D40 7C 03 00 40 */ cmplw r3, r0 +/* 80256DE4 00253D44 40 82 01 20 */ bne lbl_80256F04 +/* 80256DE8 00253D48 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80256DEC 00253D4C 3B 80 00 00 */ li r28, 0 +/* 80256DF0 00253D50 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80256DF4 00253D54 38 60 05 50 */ li r3, 0x550 +/* 80256DF8 00253D58 38 84 00 85 */ addi r4, r4, 0x85 +/* 80256DFC 00253D5C 38 A0 00 00 */ li r5, 0 +/* 80256E00 00253D60 48 0B EA 6D */ bl __nw__FUlPCcPCc +/* 80256E04 00253D64 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256E08 00253D68 41 82 00 D0 */ beq lbl_80256ED8 +/* 80256E0C 00253D6C 38 00 FF FF */ li r0, -1 +/* 80256E10 00253D70 38 60 00 08 */ li r3, 8 +/* 80256E14 00253D74 90 61 00 80 */ stw r3, 0x80(r1) +/* 80256E18 00253D78 7F C4 F3 78 */ mr r4, r30 +/* 80256E1C 00253D7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80256E20 00253D80 90 01 00 84 */ stw r0, 0x84(r1) +/* 80256E24 00253D84 90 01 00 88 */ stw r0, 0x88(r1) +/* 80256E28 00253D88 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80256E2C 00253D8C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80256E30 00253D90 90 01 00 94 */ stw r0, 0x94(r1) +/* 80256E34 00253D94 90 01 00 98 */ stw r0, 0x98(r1) +/* 80256E38 00253D98 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80256E3C 00253D9C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80256E40 00253DA0 A0 BD 00 08 */ lhz r5, 8(r29) +/* 80256E44 00253DA4 B0 A1 00 30 */ sth r5, 0x30(r1) +/* 80256E48 00253DA8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80256E4C 00253DAC B0 A1 00 2C */ sth r5, 0x2c(r1) +/* 80256E50 00253DB0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80256E54 00253DB4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80256E58 00253DB8 4B DF 62 85 */ bl AllocateUniqueId__13CStateManagerFv +/* 80256E5C 00253DBC A0 01 00 24 */ lhz r0, 0x24(r1) +/* 80256E60 00253DC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80256E64 00253DC4 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 80256E68 00253DC8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256E6C 00253DCC B0 01 00 28 */ sth r0, 0x28(r1) +/* 80256E70 00253DD0 38 84 00 8C */ addi r4, r4, 0x8c +/* 80256E74 00253DD4 4B DA DE 45 */ bl string_l__4rstlFPCc +/* 80256E78 00253DD8 38 01 00 28 */ addi r0, r1, 0x28 +/* 80256E7C 00253DDC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80256E80 00253DE0 90 01 00 08 */ stw r0, 8(r1) +/* 80256E84 00253DE4 38 01 00 3C */ addi r0, r1, 0x3c +/* 80256E88 00253DE8 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80256E8C 00253DEC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80256E90 00253DF0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80256E94 00253DF4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80256E98 00253DF8 38 C0 00 00 */ li r6, 0 +/* 80256E9C 00253DFC 3C 00 00 02 */ lis r0, 2 +/* 80256EA0 00253E00 90 61 00 10 */ stw r3, 0x10(r1) +/* 80256EA4 00253E04 7F E3 FB 78 */ mr r3, r31 +/* 80256EA8 00253E08 38 9D 0B 68 */ addi r4, r29, 0xb68 +/* 80256EAC 00253E0C 38 FD 05 CC */ addi r7, r29, 0x5cc +/* 80256EB0 00253E10 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80256EB4 00253E14 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80256EB8 00253E18 39 5D 0B 74 */ addi r10, r29, 0xb74 +/* 80256EBC 00253E1C 3B 80 00 01 */ li r28, 1 +/* 80256EC0 00253E20 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80256EC4 00253E24 38 C0 00 09 */ li r6, 9 +/* 80256EC8 00253E28 39 20 00 21 */ li r9, 0x21 +/* 80256ECC 00253E2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80256ED0 00253E30 4B F2 1D 59 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" +/* 80256ED4 00253E34 7C 7F 1B 78 */ mr r31, r3 +lbl_80256ED8: +/* 80256ED8 00253E38 7F 80 07 75 */ extsb. r0, r28 +/* 80256EDC 00253E3C 41 82 00 0C */ beq lbl_80256EE8 +/* 80256EE0 00253E40 38 61 00 40 */ addi r3, r1, 0x40 +/* 80256EE4 00253E44 48 0E 6B FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80256EE8: +/* 80256EE8 00253E48 28 1F 00 00 */ cmplwi r31, 0 +/* 80256EEC 00253E4C 41 82 00 18 */ beq lbl_80256F04 +/* 80256EF0 00253E50 7F C3 F3 78 */ mr r3, r30 +/* 80256EF4 00253E54 7F E4 FB 78 */ mr r4, r31 +/* 80256EF8 00253E58 4B DF 5C 1D */ bl AddObject__13CStateManagerFR7CEntity +/* 80256EFC 00253E5C A0 1F 00 08 */ lhz r0, 8(r31) +/* 80256F00 00253E60 B0 1D 0B 64 */ sth r0, 0xb64(r29) +lbl_80256F04: +/* 80256F04 00253E64 A0 1D 0B 64 */ lhz r0, 0xb64(r29) +/* 80256F08 00253E68 7F C3 F3 78 */ mr r3, r30 +/* 80256F0C 00253E6C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80256F10 00253E70 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80256F14 00253E74 4B DF 56 61 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80256F18 00253E78 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80256F1C 00253E7C 41 82 01 08 */ beq lbl_80257024 +/* 80256F20 00253E80 7F A4 EB 78 */ mr r4, r29 +/* 80256F24 00253E84 38 61 00 50 */ addi r3, r1, 0x50 +/* 80256F28 00253E88 38 BD 0B 91 */ addi r5, r29, 0xb91 +/* 80256F2C 00253E8C 4B E2 19 8D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80256F30 00253E90 7F E3 FB 78 */ mr r3, r31 +/* 80256F34 00253E94 7F C5 F3 78 */ mr r5, r30 +/* 80256F38 00253E98 81 9F 00 00 */ lwz r12, 0(r31) +/* 80256F3C 00253E9C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80256F40 00253EA0 38 C0 00 00 */ li r6, 0 +/* 80256F44 00253EA4 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 80256F48 00253EA8 7D 89 03 A6 */ mtctr r12 +/* 80256F4C 00253EAC 4E 80 04 21 */ bctrl +/* 80256F50 00253EB0 88 1D 0A 31 */ lbz r0, 0xa31(r29) +/* 80256F54 00253EB4 39 80 00 01 */ li r12, 1 +/* 80256F58 00253EB8 51 80 17 7A */ rlwimi r0, r12, 2, 0x1d, 0x1d +/* 80256F5C 00253EBC 98 1D 0A 31 */ stb r0, 0xa31(r29) +/* 80256F60 00253EC0 80 1D 0C A8 */ lwz r0, 0xca8(r29) +/* 80256F64 00253EC4 28 00 00 00 */ cmplwi r0, 0 +/* 80256F68 00253EC8 40 82 00 BC */ bne lbl_80257024 +/* 80256F6C 00253ECC C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80256F70 00253ED0 39 60 00 00 */ li r11, 0 +/* 80256F74 00253ED4 C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) +/* 80256F78 00253ED8 39 40 00 7F */ li r10, 0x7f +/* 80256F7C 00253EDC C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 80256F80 00253EE0 39 20 00 3F */ li r9, 0x3f +/* 80256F84 00253EE4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 80256F88 00253EE8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80256F8C 00253EEC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80256F90 00253EF0 D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 80256F94 00253EF4 C0 46 00 00 */ lfs f2, 0(r6) +/* 80256F98 00253EF8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80256F9C 00253EFC D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 80256FA0 00253F00 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80256FA4 00253F04 C0 26 00 04 */ lfs f1, 4(r6) +/* 80256FA8 00253F08 38 A0 00 01 */ li r5, 1 +/* 80256FAC 00253F0C D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 80256FB0 00253F10 38 E0 00 01 */ li r7, 1 +/* 80256FB4 00253F14 C0 06 00 08 */ lfs f0, 8(r6) +/* 80256FB8 00253F18 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80256FBC 00253F1C A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) +/* 80256FC0 00253F20 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 80256FC4 00253F24 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 80256FC8 00253F28 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 80256FCC 00253F2C D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80256FD0 00253F30 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 80256FD4 00253F34 91 81 00 C4 */ stw r12, 0xc4(r1) +/* 80256FD8 00253F38 B1 61 00 C8 */ sth r11, 0xc8(r1) +/* 80256FDC 00253F3C 99 41 00 CA */ stb r10, 0xca(r1) +/* 80256FE0 00253F40 99 21 00 CB */ stb r9, 0xcb(r1) +/* 80256FE4 00253F44 99 61 00 CC */ stb r11, 0xcc(r1) +/* 80256FE8 00253F48 98 01 00 CD */ stb r0, 0xcd(r1) +/* 80256FEC 00253F4C C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 80256FF0 00253F50 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80256FF4 00253F54 C0 7D 00 40 */ lfs f3, 0x40(r29) +/* 80256FF8 00253F58 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 80256FFC 00253F5C D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80257000 00253F60 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 80257004 00253F64 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80257008 00253F68 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8025700C 00253F6C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80257010 00253F70 A0 1D 06 10 */ lhz r0, 0x610(r29) +/* 80257014 00253F74 B0 01 00 C8 */ sth r0, 0xc8(r1) +/* 80257018 00253F78 48 09 2F C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8025701C 00253F7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257020 00253F80 90 1D 0C A8 */ stw r0, 0xca8(r29) +lbl_80257024: +/* 80257024 00253F84 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80257028 00253F88 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8025702C 00253F8C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80257030 00253F90 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80257034 00253F94 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80257038 00253F98 7C 08 03 A6 */ mtlr r0 +/* 8025703C 00253F9C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80257040 00253FA0 4E 80 00 20 */ blr + +.global sub_80257044 +sub_80257044: +/* 80257044 00253FA4 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 80257048 00253FA8 7C 08 02 A6 */ mflr r0 +/* 8025704C 00253FAC 90 01 02 24 */ stw r0, 0x224(r1) +/* 80257050 00253FB0 DB E1 02 10 */ stfd f31, 0x210(r1) +/* 80257054 00253FB4 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 +/* 80257058 00253FB8 BF 01 01 F0 */ stmw r24, 0x1f0(r1) +/* 8025705C 00253FBC 38 A0 00 00 */ li r5, 0 +/* 80257060 00253FC0 7C 7D 1B 78 */ mr r29, r3 +/* 80257064 00253FC4 90 A1 01 38 */ stw r5, 0x138(r1) +/* 80257068 00253FC8 7C 9E 23 78 */ mr r30, r4 +/* 8025706C 00253FCC 80 6D 97 64 */ lwz r3, lbl_805A8324@sda21(r13) +/* 80257070 00253FD0 38 8D 97 64 */ addi r4, r13, lbl_805A8324@sda21 +/* 80257074 00253FD4 80 0D 97 68 */ lwz r0, lbl_805A8328@sda21(r13) +/* 80257078 00253FD8 90 A1 01 3C */ stw r5, 0x13c(r1) +/* 8025707C 00253FDC 7C 03 00 40 */ cmplw r3, r0 +/* 80257080 00253FE0 90 A1 01 40 */ stw r5, 0x140(r1) +/* 80257084 00253FE4 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257088 00253FE8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8025708C 00253FEC 40 80 00 08 */ bge lbl_80257094 +/* 80257090 00253FF0 38 8D 97 68 */ addi r4, r13, lbl_805A8328@sda21 +lbl_80257094: +/* 80257094 00253FF4 80 84 00 00 */ lwz r4, 0(r4) +/* 80257098 00253FF8 38 61 01 34 */ addi r3, r1, 0x134 +/* 8025709C 00253FFC 4B EF F7 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" +/* 802570A0 00254000 80 01 01 38 */ lwz r0, 0x138(r1) +/* 802570A4 00254004 83 01 01 40 */ lwz r24, 0x140(r1) +/* 802570A8 00254008 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802570AC 0025400C 93 01 00 44 */ stw r24, 0x44(r1) +/* 802570B0 00254010 7F 98 02 14 */ add r28, r24, r0 +/* 802570B4 00254014 93 01 00 40 */ stw r24, 0x40(r1) +/* 802570B8 00254018 93 81 00 4C */ stw r28, 0x4c(r1) +/* 802570BC 0025401C 93 81 00 48 */ stw r28, 0x48(r1) +/* 802570C0 00254020 48 00 00 20 */ b lbl_802570E0 +lbl_802570C4: +/* 802570C4 00254024 28 18 00 00 */ cmplwi r24, 0 +/* 802570C8 00254028 41 82 00 14 */ beq lbl_802570DC +/* 802570CC 0025402C 34 18 00 2C */ addic. r0, r24, 0x2c +/* 802570D0 00254030 41 82 00 0C */ beq lbl_802570DC +/* 802570D4 00254034 38 78 00 2C */ addi r3, r24, 0x2c +/* 802570D8 00254038 48 0E 6A 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802570DC: +/* 802570DC 0025403C 3B 18 00 44 */ addi r24, r24, 0x44 +lbl_802570E0: +/* 802570E0 00254040 7C 18 E0 40 */ cmplw r24, r28 +/* 802570E4 00254044 40 82 FF E0 */ bne lbl_802570C4 +/* 802570E8 00254048 38 00 00 00 */ li r0, 0 +/* 802570EC 0025404C 3C 60 80 3D */ lis r3, lbl_803D4B98@ha +/* 802570F0 00254050 3B 03 4B 98 */ addi r24, r3, lbl_803D4B98@l +/* 802570F4 00254054 90 01 01 38 */ stw r0, 0x138(r1) +/* 802570F8 00254058 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 802570FC 0025405C 3B 21 01 D0 */ addi r25, r1, 0x1d0 +/* 80257100 00254060 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l +/* 80257104 00254064 3B 40 00 00 */ li r26, 0 +lbl_80257108: +/* 80257108 00254068 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8025710C 0025406C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80257110 00254070 C0 18 00 08 */ lfs f0, 8(r24) +/* 80257114 00254074 C0 24 00 08 */ lfs f1, 8(r4) +/* 80257118 00254078 C0 64 00 00 */ lfs f3, 0(r4) +/* 8025711C 0025407C C0 44 00 04 */ lfs f2, 4(r4) +/* 80257120 00254080 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80257124 00254084 D0 61 01 28 */ stfs f3, 0x128(r1) +/* 80257128 00254088 80 98 00 00 */ lwz r4, 0(r24) +/* 8025712C 0025408C D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80257130 00254090 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 80257134 00254094 4B DA DB 85 */ bl string_l__4rstlFPCc +/* 80257138 00254098 80 98 00 04 */ lwz r4, 4(r24) +/* 8025713C 0025409C 38 61 01 08 */ addi r3, r1, 0x108 +/* 80257140 002540A0 4B DA DB 79 */ bl string_l__4rstlFPCc +/* 80257144 002540A4 38 61 00 EC */ addi r3, r1, 0xec +/* 80257148 002540A8 38 9C 00 8D */ addi r4, r28, 0x8d +/* 8025714C 002540AC 4B DA DB 6D */ bl string_l__4rstlFPCc +/* 80257150 002540B0 38 61 00 DC */ addi r3, r1, 0xdc +/* 80257154 002540B4 38 9D 00 10 */ addi r4, r29, 0x10 +/* 80257158 002540B8 38 A1 00 EC */ addi r5, r1, 0xec +/* 8025715C 002540BC 4B DA DB 01 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257160 002540C0 80 98 00 00 */ lwz r4, 0(r24) +/* 80257164 002540C4 38 61 00 CC */ addi r3, r1, 0xcc +/* 80257168 002540C8 4B DA DB 51 */ bl string_l__4rstlFPCc +/* 8025716C 002540CC 38 61 00 BC */ addi r3, r1, 0xbc +/* 80257170 002540D0 38 81 00 DC */ addi r4, r1, 0xdc +/* 80257174 002540D4 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80257178 002540D8 4B DA DA E5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025717C 002540DC D3 E1 00 FC */ stfs f31, 0xfc(r1) +/* 80257180 002540E0 7F E4 FB 78 */ mr r4, r31 +/* 80257184 002540E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80257188 002540E8 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8025718C 002540EC D3 E1 01 00 */ stfs f31, 0x100(r1) +/* 80257190 002540F0 D3 E1 01 04 */ stfs f31, 0x104(r1) +/* 80257194 002540F4 4B DD 76 A5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257198 002540F8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8025719C 002540FC 7F E4 FB 78 */ mr r4, r31 +/* 802571A0 00254100 38 61 00 18 */ addi r3, r1, 0x18 +/* 802571A4 00254104 38 A1 01 18 */ addi r5, r1, 0x118 +/* 802571A8 00254108 98 01 00 14 */ stb r0, 0x14(r1) +/* 802571AC 0025410C 4B DD 76 8D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802571B0 00254110 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802571B4 00254114 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802571B8 00254118 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) +/* 802571BC 0025411C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802571C0 00254120 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802571C4 00254124 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802571C8 00254128 38 C1 00 FC */ addi r6, r1, 0xfc +/* 802571CC 0025412C 39 01 00 BC */ addi r8, r1, 0xbc +/* 802571D0 00254130 38 E0 00 01 */ li r7, 1 +/* 802571D4 00254134 4B F5 14 01 */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 802571D8 00254138 38 61 01 34 */ addi r3, r1, 0x134 +/* 802571DC 0025413C 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 802571E0 00254140 4B EF F0 51 */ bl sub_80156230 +/* 802571E4 00254144 28 19 00 00 */ cmplwi r25, 0 +/* 802571E8 00254148 41 82 00 0C */ beq lbl_802571F4 +/* 802571EC 0025414C 7F 23 CB 78 */ mr r3, r25 +/* 802571F0 00254150 48 0E 68 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802571F4: +/* 802571F4 00254154 38 61 00 BC */ addi r3, r1, 0xbc +/* 802571F8 00254158 48 0E 68 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802571FC 0025415C 38 61 00 CC */ addi r3, r1, 0xcc +/* 80257200 00254160 48 0E 68 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257204 00254164 38 61 00 DC */ addi r3, r1, 0xdc +/* 80257208 00254168 48 0E 68 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025720C 0025416C 38 61 00 EC */ addi r3, r1, 0xec +/* 80257210 00254170 48 0E 68 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257214 00254174 38 61 01 08 */ addi r3, r1, 0x108 +/* 80257218 00254178 48 0E 68 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025721C 0025417C 38 61 01 18 */ addi r3, r1, 0x118 +/* 80257220 00254180 48 0E 68 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80257224 00254184 3B 5A 00 01 */ addi r26, r26, 1 +/* 80257228 00254188 3B 18 00 0C */ addi r24, r24, 0xc +/* 8025722C 0025418C 28 1A 00 04 */ cmplwi r26, 4 +/* 80257230 00254190 41 80 FE D8 */ blt lbl_80257108 +/* 80257234 00254194 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 80257238 00254198 38 60 00 18 */ li r3, 0x18 +/* 8025723C 0025419C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 80257240 002541A0 38 A0 00 00 */ li r5, 0 +/* 80257244 002541A4 38 84 00 85 */ addi r4, r4, 0x85 +/* 80257248 002541A8 48 0B E6 25 */ bl __nw__FUlPCcPCc +/* 8025724C 002541AC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80257250 002541B0 41 82 00 38 */ beq lbl_80257288 +/* 80257254 002541B4 81 3D 00 04 */ lwz r9, 4(r29) +/* 80257258 002541B8 7F C4 F3 78 */ mr r4, r30 +/* 8025725C 002541BC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80257260 002541C0 38 C1 00 5C */ addi r6, r1, 0x5c +/* 80257264 002541C4 91 21 00 5C */ stw r9, 0x5c(r1) +/* 80257268 002541C8 38 E1 01 34 */ addi r7, r1, 0x134 +/* 8025726C 002541CC 39 00 00 00 */ li r8, 0 +/* 80257270 002541D0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80257274 002541D4 91 21 00 58 */ stw r9, 0x58(r1) +/* 80257278 002541D8 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8025727C 002541DC B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80257280 002541E0 4B F5 06 B1 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80257284 002541E4 7C 7C 1B 78 */ mr r28, r3 +lbl_80257288: +/* 80257288 002541E8 80 7D 09 80 */ lwz r3, 0x980(r29) +/* 8025728C 002541EC 38 80 00 01 */ li r4, 1 +/* 80257290 002541F0 4B F5 06 4D */ bl sub_801a78dc +/* 80257294 002541F4 93 9D 09 80 */ stw r28, 0x980(r29) +/* 80257298 002541F8 80 01 01 38 */ lwz r0, 0x138(r1) +/* 8025729C 002541FC 83 01 01 40 */ lwz r24, 0x140(r1) +/* 802572A0 00254200 1C 00 00 44 */ mulli r0, r0, 0x44 +/* 802572A4 00254204 93 01 00 34 */ stw r24, 0x34(r1) +/* 802572A8 00254208 7F 98 02 14 */ add r28, r24, r0 +/* 802572AC 0025420C 93 01 00 30 */ stw r24, 0x30(r1) +/* 802572B0 00254210 93 81 00 3C */ stw r28, 0x3c(r1) +/* 802572B4 00254214 93 81 00 38 */ stw r28, 0x38(r1) +/* 802572B8 00254218 48 00 00 20 */ b lbl_802572D8 +lbl_802572BC: +/* 802572BC 0025421C 28 18 00 00 */ cmplwi r24, 0 +/* 802572C0 00254220 41 82 00 14 */ beq lbl_802572D4 +/* 802572C4 00254224 34 18 00 2C */ addic. r0, r24, 0x2c +/* 802572C8 00254228 41 82 00 0C */ beq lbl_802572D4 +/* 802572CC 0025422C 38 78 00 2C */ addi r3, r24, 0x2c +/* 802572D0 00254230 48 0E 68 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802572D4: +/* 802572D4 00254234 3B 18 00 44 */ addi r24, r24, 0x44 +lbl_802572D8: +/* 802572D8 00254238 7C 18 E0 40 */ cmplw r24, r28 +/* 802572DC 0025423C 40 82 FF E0 */ bne lbl_802572BC +/* 802572E0 00254240 3B 40 00 00 */ li r26, 0 +/* 802572E4 00254244 3C 60 80 3D */ lis r3, lbl_803D4BC8@ha +/* 802572E8 00254248 3B 03 4B C8 */ addi r24, r3, lbl_803D4BC8@l +/* 802572EC 0025424C 93 41 01 38 */ stw r26, 0x138(r1) +/* 802572F0 00254250 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 802572F4 00254254 3B 21 01 8C */ addi r25, r1, 0x18c +/* 802572F8 00254258 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l +lbl_802572FC: +/* 802572FC 0025425C 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80257300 00254260 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80257304 00254264 C0 18 00 04 */ lfs f0, 4(r24) +/* 80257308 00254268 C0 24 00 08 */ lfs f1, 8(r4) +/* 8025730C 0025426C C0 64 00 00 */ lfs f3, 0(r4) +/* 80257310 00254270 C0 44 00 04 */ lfs f2, 4(r4) +/* 80257314 00254274 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80257318 00254278 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 8025731C 0025427C 80 98 00 00 */ lwz r4, 0(r24) +/* 80257320 00254280 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80257324 00254284 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80257328 00254288 4B DA D9 91 */ bl string_l__4rstlFPCc +/* 8025732C 0025428C 38 61 00 90 */ addi r3, r1, 0x90 +/* 80257330 00254290 38 9C 00 8D */ addi r4, r28, 0x8d +/* 80257334 00254294 4B DA D9 85 */ bl string_l__4rstlFPCc +/* 80257338 00254298 38 61 00 80 */ addi r3, r1, 0x80 +/* 8025733C 0025429C 38 9D 00 10 */ addi r4, r29, 0x10 +/* 80257340 002542A0 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80257344 002542A4 4B DA D9 19 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257348 002542A8 80 98 00 00 */ lwz r4, 0(r24) +/* 8025734C 002542AC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80257350 002542B0 4B DA D9 69 */ bl string_l__4rstlFPCc +/* 80257354 002542B4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80257358 002542B8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8025735C 002542BC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80257360 002542C0 4B DA D8 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257364 002542C4 7F E4 FB 78 */ mr r4, r31 +/* 80257368 002542C8 38 61 00 08 */ addi r3, r1, 8 +/* 8025736C 002542CC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80257370 002542D0 4B DD 74 C9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80257374 002542D4 88 01 00 08 */ lbz r0, 8(r1) +/* 80257378 002542D8 FC 20 F8 90 */ fmr f1, f31 +/* 8025737C 002542DC C0 42 B9 2C */ lfs f2, lbl_805AD64C@sda21(r2) +/* 80257380 002542E0 38 61 01 60 */ addi r3, r1, 0x160 +/* 80257384 002542E4 98 01 00 0C */ stb r0, 0xc(r1) +/* 80257388 002542E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025738C 002542EC 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80257390 002542F0 4B F5 14 7D */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 80257394 002542F4 38 61 01 34 */ addi r3, r1, 0x134 +/* 80257398 002542F8 38 81 01 60 */ addi r4, r1, 0x160 +/* 8025739C 002542FC 4B EF EE 95 */ bl sub_80156230 +/* 802573A0 00254300 28 19 00 00 */ cmplwi r25, 0 +/* 802573A4 00254304 41 82 00 0C */ beq lbl_802573B0 +/* 802573A8 00254308 7F 23 CB 78 */ mr r3, r25 +/* 802573AC 0025430C 48 0E 67 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802573B0: +/* 802573B0 00254310 38 61 00 60 */ addi r3, r1, 0x60 +/* 802573B4 00254314 48 0E 67 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573B8 00254318 38 61 00 70 */ addi r3, r1, 0x70 +/* 802573BC 0025431C 48 0E 67 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573C0 00254320 38 61 00 80 */ addi r3, r1, 0x80 +/* 802573C4 00254324 48 0E 67 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573C8 00254328 38 61 00 90 */ addi r3, r1, 0x90 +/* 802573CC 0025432C 48 0E 67 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573D0 00254330 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802573D4 00254334 48 0E 67 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802573D8 00254338 3B 5A 00 01 */ addi r26, r26, 1 +/* 802573DC 0025433C 3B 18 00 08 */ addi r24, r24, 8 +/* 802573E0 00254340 28 1A 00 0A */ cmplwi r26, 0xa +/* 802573E4 00254344 41 80 FF 18 */ blt lbl_802572FC +/* 802573E8 00254348 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 802573EC 0025434C 38 60 00 18 */ li r3, 0x18 +/* 802573F0 00254350 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 802573F4 00254354 38 A0 00 00 */ li r5, 0 +/* 802573F8 00254358 38 84 00 85 */ addi r4, r4, 0x85 +/* 802573FC 0025435C 48 0B E4 71 */ bl __nw__FUlPCcPCc +/* 80257400 00254360 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80257404 00254364 41 82 00 38 */ beq lbl_8025743C +/* 80257408 00254368 81 3D 00 04 */ lwz r9, 4(r29) +/* 8025740C 0025436C 7F C4 F3 78 */ mr r4, r30 +/* 80257410 00254370 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80257414 00254374 38 C1 00 54 */ addi r6, r1, 0x54 +/* 80257418 00254378 91 21 00 54 */ stw r9, 0x54(r1) +/* 8025741C 0025437C 38 E1 01 34 */ addi r7, r1, 0x134 +/* 80257420 00254380 39 00 00 00 */ li r8, 0 +/* 80257424 00254384 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80257428 00254388 91 21 00 50 */ stw r9, 0x50(r1) +/* 8025742C 0025438C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80257430 00254390 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80257434 00254394 4B F5 04 FD */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" +/* 80257438 00254398 7C 7C 1B 78 */ mr r28, r3 +lbl_8025743C: +/* 8025743C 0025439C 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257440 002543A0 38 80 00 01 */ li r4, 1 +/* 80257444 002543A4 4B F5 04 99 */ bl sub_801a78dc +/* 80257448 002543A8 93 9D 09 84 */ stw r28, 0x984(r29) +/* 8025744C 002543AC 38 80 00 03 */ li r4, 3 +/* 80257450 002543B0 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257454 002543B4 4B F4 FD E5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257458 002543B8 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8025745C 002543BC 38 80 00 02 */ li r4, 2 +/* 80257460 002543C0 B0 1D 09 88 */ sth r0, 0x988(r29) +/* 80257464 002543C4 80 7D 09 84 */ lwz r3, 0x984(r29) +/* 80257468 002543C8 4B F4 FD D1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8025746C 002543CC A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257470 002543D0 7F A3 EB 78 */ mr r3, r29 +/* 80257474 002543D4 7F C4 F3 78 */ mr r4, r30 +/* 80257478 002543D8 B0 1D 09 8A */ sth r0, 0x98a(r29) +/* 8025747C 002543DC 48 00 04 D9 */ bl sub_80257954 +/* 80257480 002543E0 7F A3 EB 78 */ mr r3, r29 +/* 80257484 002543E4 4B DF C4 39 */ bl GetMaterialFilter__6CActorCFv +/* 80257488 002543E8 83 83 00 00 */ lwz r28, 0(r3) +/* 8025748C 002543EC 83 E3 00 04 */ lwz r31, 4(r3) +/* 80257490 002543F0 7F A3 EB 78 */ mr r3, r29 +/* 80257494 002543F4 4B DF C4 29 */ bl GetMaterialFilter__6CActorCFv +/* 80257498 002543F8 80 AD 97 6C */ lwz r5, lbl_805A832C@sda21(r13) +/* 8025749C 002543FC 38 80 00 01 */ li r4, 1 +/* 802574A0 00254400 83 63 00 08 */ lwz r27, 8(r3) +/* 802574A4 00254404 83 43 00 0C */ lwz r26, 0xc(r3) +/* 802574A8 00254408 38 60 00 00 */ li r3, 0 +/* 802574AC 0025440C 48 13 2A 49 */ bl __shl2i +/* 802574B0 00254410 80 AD 97 70 */ lwz r5, lbl_805A8330@sda21(r13) +/* 802574B4 00254414 7C 98 23 78 */ mr r24, r4 +/* 802574B8 00254418 7C 79 1B 78 */ mr r25, r3 +/* 802574BC 0025441C 38 60 00 00 */ li r3, 0 +/* 802574C0 00254420 38 80 00 01 */ li r4, 1 +/* 802574C4 00254424 48 13 2A 31 */ bl __shl2i +/* 802574C8 00254428 80 AD 97 74 */ lwz r5, lbl_805A8334@sda21(r13) +/* 802574CC 0025442C 7F 18 23 78 */ or r24, r24, r4 +/* 802574D0 00254430 7F 39 1B 78 */ or r25, r25, r3 +/* 802574D4 00254434 38 60 00 00 */ li r3, 0 +/* 802574D8 00254438 38 80 00 01 */ li r4, 1 +/* 802574DC 0025443C 48 13 2A 19 */ bl __shl2i +/* 802574E0 00254440 80 AD 97 78 */ lwz r5, lbl_805A8338@sda21(r13) +/* 802574E4 00254444 7F 18 23 78 */ or r24, r24, r4 +/* 802574E8 00254448 7F 39 1B 78 */ or r25, r25, r3 +/* 802574EC 0025444C 38 60 00 00 */ li r3, 0 +/* 802574F0 00254450 38 80 00 01 */ li r4, 1 +/* 802574F4 00254454 48 13 2A 01 */ bl __shl2i +/* 802574F8 00254458 80 AD 97 7C */ lwz r5, lbl_805A833C@sda21(r13) +/* 802574FC 0025445C 7F 18 23 78 */ or r24, r24, r4 +/* 80257500 00254460 7F 39 1B 78 */ or r25, r25, r3 +/* 80257504 00254464 38 60 00 00 */ li r3, 0 +/* 80257508 00254468 38 80 00 01 */ li r4, 1 +/* 8025750C 0025446C 48 13 29 E9 */ bl __shl2i +/* 80257510 00254470 7F 18 23 78 */ or r24, r24, r4 +/* 80257514 00254474 7F 39 1B 78 */ or r25, r25, r3 +/* 80257518 00254478 7F 04 C0 F8 */ nor r4, r24, r24 +/* 8025751C 0025447C 38 00 00 03 */ li r0, 3 +/* 80257520 00254480 7F 23 C8 F8 */ nor r3, r25, r25 +/* 80257524 00254484 7F 5A C3 78 */ or r26, r26, r24 +/* 80257528 00254488 7F FF 20 38 */ and r31, r31, r4 +/* 8025752C 0025448C 7F 7B CB 78 */ or r27, r27, r25 +/* 80257530 00254490 7F 9C 18 38 */ and r28, r28, r3 +/* 80257534 00254494 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 80257538 00254498 7F A3 EB 78 */ mr r3, r29 +/* 8025753C 0025449C 38 81 01 48 */ addi r4, r1, 0x148 +/* 80257540 002544A0 93 81 01 48 */ stw r28, 0x148(r1) +/* 80257544 002544A4 93 41 01 54 */ stw r26, 0x154(r1) +/* 80257548 002544A8 93 61 01 50 */ stw r27, 0x150(r1) +/* 8025754C 002544AC 90 01 01 58 */ stw r0, 0x158(r1) +/* 80257550 002544B0 4B DF C3 51 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257554 002544B4 7F A3 EB 78 */ mr r3, r29 +/* 80257558 002544B8 7F C5 F3 78 */ mr r5, r30 +/* 8025755C 002544BC 38 80 00 12 */ li r4, 0x12 +/* 80257560 002544C0 4B DF CD F1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80257564 002544C4 38 61 01 34 */ addi r3, r1, 0x134 +/* 80257568 002544C8 38 80 FF FF */ li r4, -1 +/* 8025756C 002544CC 4B EF ED C1 */ bl sub_8015632c +/* 80257570 002544D0 E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 +/* 80257574 002544D4 CB E1 02 10 */ lfd f31, 0x210(r1) +/* 80257578 002544D8 BB 01 01 F0 */ lmw r24, 0x1f0(r1) +/* 8025757C 002544DC 80 01 02 24 */ lwz r0, 0x224(r1) +/* 80257580 002544E0 7C 08 03 A6 */ mtlr r0 +/* 80257584 002544E4 38 21 02 20 */ addi r1, r1, 0x220 +/* 80257588 002544E8 4E 80 00 20 */ blr + +.global sub_8025758c +sub_8025758c: +/* 8025758C 002544EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80257590 002544F0 7C 08 02 A6 */ mflr r0 +/* 80257594 002544F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80257598 002544F8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8025759C 002544FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802575A0 00254500 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802575A4 00254504 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802575A8 00254508 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802575AC 0025450C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802575B0 00254510 FF E0 08 90 */ fmr f31, f1 +/* 802575B4 00254514 7C 7C 1B 78 */ mr r28, r3 +/* 802575B8 00254518 7C 9D 23 78 */ mr r29, r4 +/* 802575BC 0025451C 3B C0 00 00 */ li r30, 0 +/* 802575C0 00254520 48 00 00 58 */ b lbl_80257618 +lbl_802575C4: +/* 802575C4 00254524 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 802575C8 00254528 7F C4 F3 78 */ mr r4, r30 +/* 802575CC 0025452C 4B F4 FC 6D */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 802575D0 00254530 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 802575D4 00254534 7F A3 EB 78 */ mr r3, r29 +/* 802575D8 00254538 38 81 00 08 */ addi r4, r1, 8 +/* 802575DC 0025453C B0 01 00 0C */ sth r0, 0xc(r1) +/* 802575E0 00254540 B0 01 00 08 */ sth r0, 8(r1) +/* 802575E4 00254544 4B DF 4F 91 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802575E8 00254548 7C 64 1B 78 */ mr r4, r3 +/* 802575EC 0025454C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802575F0 00254550 4B E5 7D 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802575F4 00254554 83 E3 00 04 */ lwz r31, 4(r3) +/* 802575F8 00254558 28 1F 00 00 */ cmplwi r31, 0 +/* 802575FC 0025455C 41 82 00 18 */ beq lbl_80257614 +/* 80257600 00254560 7F E3 FB 78 */ mr r3, r31 +/* 80257604 00254564 4B F5 15 79 */ bl GetSphereRadius__15CCollisionActorCFv +/* 80257608 00254568 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8025760C 0025456C 7F E3 FB 78 */ mr r3, r31 +/* 80257610 00254570 4B F5 15 11 */ bl sub_801a8b20 +lbl_80257614: +/* 80257614 00254574 3B DE 00 01 */ addi r30, r30, 1 +lbl_80257618: +/* 80257618 00254578 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 8025761C 0025457C 4B F4 FC 2D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257620 00254580 7C 1E 18 40 */ cmplw r30, r3 +/* 80257624 00254584 41 80 FF A0 */ blt lbl_802575C4 +/* 80257628 00254588 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8025762C 0025458C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80257630 00254590 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80257634 00254594 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257638 00254598 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025763C 0025459C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257640 002545A0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257644 002545A4 7C 08 03 A6 */ mtlr r0 +/* 80257648 002545A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8025764C 002545AC 4E 80 00 20 */ blr + +.global sub_80257650 +sub_80257650: +/* 80257650 002545B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257654 002545B4 7C 08 02 A6 */ mflr r0 +/* 80257658 002545B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025765C 002545BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80257660 002545C0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257664 002545C4 3B C0 00 00 */ li r30, 0 +/* 80257668 002545C8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8025766C 002545CC 7C 9D 23 78 */ mr r29, r4 +/* 80257670 002545D0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257674 002545D4 7C 7C 1B 78 */ mr r28, r3 +/* 80257678 002545D8 48 00 00 80 */ b lbl_802576F8 +lbl_8025767C: +/* 8025767C 002545DC 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257680 002545E0 7F C4 F3 78 */ mr r4, r30 +/* 80257684 002545E4 4B F4 FB B5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257688 002545E8 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 8025768C 002545EC 7F A3 EB 78 */ mr r3, r29 +/* 80257690 002545F0 38 81 00 08 */ addi r4, r1, 8 +/* 80257694 002545F4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257698 002545F8 B0 01 00 08 */ sth r0, 8(r1) +/* 8025769C 002545FC 4B DF 4E D9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802576A0 00254600 7C 64 1B 78 */ mr r4, r3 +/* 802576A4 00254604 38 61 00 10 */ addi r3, r1, 0x10 +/* 802576A8 00254608 4B E5 7C A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802576AC 0025460C 83 E3 00 04 */ lwz r31, 4(r3) +/* 802576B0 00254610 28 1F 00 00 */ cmplwi r31, 0 +/* 802576B4 00254614 41 82 00 40 */ beq lbl_802576F4 +/* 802576B8 00254618 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802576BC 0025461C 7F E3 FB 78 */ mr r3, r31 +/* 802576C0 00254620 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802576C4 00254624 4B F5 14 D5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802576C8 00254628 7F E3 FB 78 */ mr r3, r31 +/* 802576CC 0025462C 7F A4 EB 78 */ mr r4, r29 +/* 802576D0 00254630 81 9F 00 00 */ lwz r12, 0(r31) +/* 802576D4 00254634 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802576D8 00254638 7D 89 03 A6 */ mtctr r12 +/* 802576DC 0025463C 4E 80 04 21 */ bctrl +/* 802576E0 00254640 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802576E4 00254644 38 80 00 01 */ li r4, 1 +/* 802576E8 00254648 D0 03 00 00 */ stfs f0, 0(r3) +/* 802576EC 0025464C 7F E3 FB 78 */ mr r3, r31 +/* 802576F0 00254650 4B DF B6 7D */ bl CreateShadow__6CActorFb +lbl_802576F4: +/* 802576F4 00254654 3B DE 00 01 */ addi r30, r30, 1 +lbl_802576F8: +/* 802576F8 00254658 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 802576FC 0025465C 4B F4 FB 4D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257700 00254660 7C 1E 18 40 */ cmplw r30, r3 +/* 80257704 00254664 41 80 FF 78 */ blt lbl_8025767C +/* 80257708 00254668 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025770C 0025466C 38 60 00 00 */ li r3, 0 +/* 80257710 00254670 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257714 00254674 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257718 00254678 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 8025771C 0025467C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257720 00254680 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80257724 00254684 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257728 00254688 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025772C 0025468C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257730 00254690 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257734 00254694 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257738 00254698 7C 08 03 A6 */ mtlr r0 +/* 8025773C 0025469C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257740 002546A0 4E 80 00 20 */ blr + +.global sub_80257744 +sub_80257744: +/* 80257744 002546A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257748 002546A8 7C 08 02 A6 */ mflr r0 +/* 8025774C 002546AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80257750 002546B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80257754 002546B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257758 002546B8 3B C0 00 00 */ li r30, 0 +/* 8025775C 002546BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80257760 002546C0 7C 9D 23 78 */ mr r29, r4 +/* 80257764 002546C4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257768 002546C8 7C 7C 1B 78 */ mr r28, r3 +/* 8025776C 002546CC 48 00 00 90 */ b lbl_802577FC +lbl_80257770: +/* 80257770 002546D0 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257774 002546D4 7F C4 F3 78 */ mr r4, r30 +/* 80257778 002546D8 4B F4 FA C1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 8025777C 002546DC A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257780 002546E0 7F A3 EB 78 */ mr r3, r29 +/* 80257784 002546E4 38 81 00 08 */ addi r4, r1, 8 +/* 80257788 002546E8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025778C 002546EC B0 01 00 08 */ sth r0, 8(r1) +/* 80257790 002546F0 4B DF 4D E5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257794 002546F4 7C 64 1B 78 */ mr r4, r3 +/* 80257798 002546F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025779C 002546FC 4B E5 7B B1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802577A0 00254700 83 E3 00 04 */ lwz r31, 4(r3) +/* 802577A4 00254704 28 1F 00 00 */ cmplwi r31, 0 +/* 802577A8 00254708 41 82 00 50 */ beq lbl_802577F8 +/* 802577AC 0025470C 28 1E 00 02 */ cmplwi r30, 2 +/* 802577B0 00254710 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 802577B4 00254714 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l +/* 802577B8 00254718 7F E3 FB 78 */ mr r3, r31 +/* 802577BC 0025471C 40 82 00 0C */ bne lbl_802577C8 +/* 802577C0 00254720 3C 80 80 57 */ lis r4, lbl_80572544@ha +/* 802577C4 00254724 38 84 25 44 */ addi r4, r4, lbl_80572544@l +lbl_802577C8: +/* 802577C8 00254728 4B F5 13 D1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802577CC 0025472C 7F E3 FB 78 */ mr r3, r31 +/* 802577D0 00254730 7F A4 EB 78 */ mr r4, r29 +/* 802577D4 00254734 81 9F 00 00 */ lwz r12, 0(r31) +/* 802577D8 00254738 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802577DC 0025473C 7D 89 03 A6 */ mtctr r12 +/* 802577E0 00254740 4E 80 04 21 */ bctrl +/* 802577E4 00254744 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802577E8 00254748 38 80 00 01 */ li r4, 1 +/* 802577EC 0025474C D0 03 00 00 */ stfs f0, 0(r3) +/* 802577F0 00254750 7F E3 FB 78 */ mr r3, r31 +/* 802577F4 00254754 4B DF B5 79 */ bl CreateShadow__6CActorFb +lbl_802577F8: +/* 802577F8 00254758 3B DE 00 01 */ addi r30, r30, 1 +lbl_802577FC: +/* 802577FC 0025475C 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257800 00254760 4B F4 FA 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257804 00254764 7C 1E 18 40 */ cmplw r30, r3 +/* 80257808 00254768 41 80 FF 68 */ blt lbl_80257770 +/* 8025780C 0025476C 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80257810 00254770 38 60 00 00 */ li r3, 0 +/* 80257814 00254774 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257818 00254778 38 60 00 01 */ li r3, 1 +/* 8025781C 0025477C 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257820 00254780 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80257824 00254784 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257828 00254788 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 8025782C 0025478C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257830 00254790 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80257834 00254794 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257838 00254798 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8025783C 0025479C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257840 002547A0 7C 08 03 A6 */ mtlr r0 +/* 80257844 002547A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257848 002547A8 4E 80 00 20 */ blr + +.global sub_8025784c +sub_8025784c: +/* 8025784C 002547AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80257850 002547B0 7C 08 02 A6 */ mflr r0 +/* 80257854 002547B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80257858 002547B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025785C 002547BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80257860 002547C0 3B C0 00 00 */ li r30, 0 +/* 80257864 002547C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80257868 002547C8 7C 9D 23 78 */ mr r29, r4 +/* 8025786C 002547CC 93 81 00 20 */ stw r28, 0x20(r1) +/* 80257870 002547D0 7C 7C 1B 78 */ mr r28, r3 +/* 80257874 002547D4 48 00 00 90 */ b lbl_80257904 +lbl_80257878: +/* 80257878 002547D8 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 8025787C 002547DC 7F C4 F3 78 */ mr r4, r30 +/* 80257880 002547E0 4B F4 F9 B9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257884 002547E4 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257888 002547E8 7F A3 EB 78 */ mr r3, r29 +/* 8025788C 002547EC 38 81 00 08 */ addi r4, r1, 8 +/* 80257890 002547F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257894 002547F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80257898 002547F8 4B DF 4C DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025789C 002547FC 7C 64 1B 78 */ mr r4, r3 +/* 802578A0 00254800 38 61 00 10 */ addi r3, r1, 0x10 +/* 802578A4 00254804 4B E5 7A A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802578A8 00254808 83 E3 00 04 */ lwz r31, 4(r3) +/* 802578AC 0025480C 28 1F 00 00 */ cmplwi r31, 0 +/* 802578B0 00254810 41 82 00 50 */ beq lbl_80257900 +/* 802578B4 00254814 28 1E 00 03 */ cmplwi r30, 3 +/* 802578B8 00254818 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 802578BC 0025481C 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l +/* 802578C0 00254820 7F E3 FB 78 */ mr r3, r31 +/* 802578C4 00254824 40 82 00 0C */ bne lbl_802578D0 +/* 802578C8 00254828 3C 80 80 57 */ lis r4, lbl_805725AC@ha +/* 802578CC 0025482C 38 84 25 AC */ addi r4, r4, lbl_805725AC@l +lbl_802578D0: +/* 802578D0 00254830 4B F5 12 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802578D4 00254834 7F E3 FB 78 */ mr r3, r31 +/* 802578D8 00254838 7F A4 EB 78 */ mr r4, r29 +/* 802578DC 0025483C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802578E0 00254840 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802578E4 00254844 7D 89 03 A6 */ mtctr r12 +/* 802578E8 00254848 4E 80 04 21 */ bctrl +/* 802578EC 0025484C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802578F0 00254850 38 80 00 01 */ li r4, 1 +/* 802578F4 00254854 D0 03 00 00 */ stfs f0, 0(r3) +/* 802578F8 00254858 7F E3 FB 78 */ mr r3, r31 +/* 802578FC 0025485C 4B DF B4 71 */ bl CreateShadow__6CActorFb +lbl_80257900: +/* 80257900 00254860 3B DE 00 01 */ addi r30, r30, 1 +lbl_80257904: +/* 80257904 00254864 80 7C 09 84 */ lwz r3, 0x984(r28) +/* 80257908 00254868 4B F4 F9 41 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 8025790C 0025486C 7C 1E 18 40 */ cmplw r30, r3 +/* 80257910 00254870 41 80 FF 68 */ blt lbl_80257878 +/* 80257914 00254874 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80257918 00254878 38 60 00 01 */ li r3, 1 +/* 8025791C 0025487C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80257920 00254880 38 60 00 00 */ li r3, 0 +/* 80257924 00254884 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80257928 00254888 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 8025792C 0025488C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80257930 00254890 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80257934 00254894 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80257938 00254898 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025793C 0025489C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80257940 002548A0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80257944 002548A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80257948 002548A8 7C 08 03 A6 */ mtlr r0 +/* 8025794C 002548AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80257950 002548B0 4E 80 00 20 */ blr + +.global sub_80257954 +sub_80257954: +/* 80257954 002548B4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80257958 002548B8 7C 08 02 A6 */ mflr r0 +/* 8025795C 002548BC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80257960 002548C0 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 80257964 002548C4 7C 7E 1B 78 */ mr r30, r3 +/* 80257968 002548C8 7C 9F 23 78 */ mr r31, r4 +/* 8025796C 002548CC 3B 40 00 00 */ li r26, 0 +/* 80257970 002548D0 48 00 00 D4 */ b lbl_80257A44 +lbl_80257974: +/* 80257974 002548D4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257978 002548D8 7F 44 D3 78 */ mr r4, r26 +/* 8025797C 002548DC 4B F4 F8 BD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257980 002548E0 A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257984 002548E4 7F E3 FB 78 */ mr r3, r31 +/* 80257988 002548E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025798C 002548EC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80257990 002548F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80257994 002548F4 4B DF 4B E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257998 002548F8 7C 64 1B 78 */ mr r4, r3 +/* 8025799C 002548FC 38 61 00 30 */ addi r3, r1, 0x30 +/* 802579A0 00254900 4B E5 79 AD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802579A4 00254904 83 A3 00 04 */ lwz r29, 4(r3) +/* 802579A8 00254908 28 1D 00 00 */ cmplwi r29, 0 +/* 802579AC 0025490C 41 82 00 94 */ beq lbl_80257A40 +/* 802579B0 00254910 3C 80 80 57 */ lis r4, lbl_8056D718@ha +/* 802579B4 00254914 7F A3 EB 78 */ mr r3, r29 +/* 802579B8 00254918 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l +/* 802579BC 0025491C 4B F5 11 DD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 802579C0 00254920 7F A3 EB 78 */ mr r3, r29 +/* 802579C4 00254924 7F E4 FB 78 */ mr r4, r31 +/* 802579C8 00254928 81 9D 00 00 */ lwz r12, 0(r29) +/* 802579CC 0025492C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802579D0 00254930 7D 89 03 A6 */ mtctr r12 +/* 802579D4 00254934 4E 80 04 21 */ bctrl +/* 802579D8 00254938 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 802579DC 0025493C 38 80 00 01 */ li r4, 1 +/* 802579E0 00254940 D0 03 00 00 */ stfs f0, 0(r3) +/* 802579E4 00254944 38 60 00 00 */ li r3, 0 +/* 802579E8 00254948 80 AD 97 4C */ lwz r5, lbl_805A830C@sda21(r13) +/* 802579EC 0025494C 48 13 25 09 */ bl __shl2i +/* 802579F0 00254950 80 AD 97 50 */ lwz r5, lbl_805A8310@sda21(r13) +/* 802579F4 00254954 7C 9B 23 78 */ mr r27, r4 +/* 802579F8 00254958 7C 7C 1B 78 */ mr r28, r3 +/* 802579FC 0025495C 38 60 00 00 */ li r3, 0 +/* 80257A00 00254960 38 80 00 01 */ li r4, 1 +/* 80257A04 00254964 48 13 24 F1 */ bl __shl2i +/* 80257A08 00254968 7F 7B 23 78 */ or r27, r27, r4 +/* 80257A0C 0025496C 7F 9C 1B 78 */ or r28, r28, r3 +/* 80257A10 00254970 38 A0 00 00 */ li r5, 0 +/* 80257A14 00254974 38 00 00 01 */ li r0, 1 +/* 80257A18 00254978 93 61 00 54 */ stw r27, 0x54(r1) +/* 80257A1C 0025497C 7F A3 EB 78 */ mr r3, r29 +/* 80257A20 00254980 38 81 00 50 */ addi r4, r1, 0x50 +/* 80257A24 00254984 93 81 00 50 */ stw r28, 0x50(r1) +/* 80257A28 00254988 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 80257A2C 0025498C 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80257A30 00254990 90 01 00 60 */ stw r0, 0x60(r1) +/* 80257A34 00254994 4B DF BE 6D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257A38 00254998 38 00 00 10 */ li r0, 0x10 +/* 80257A3C 0025499C 90 1D 03 00 */ stw r0, 0x300(r29) +lbl_80257A40: +/* 80257A40 002549A0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80257A44: +/* 80257A44 002549A4 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257A48 002549A8 4B F4 F8 01 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257A4C 002549AC 7C 1A 18 40 */ cmplw r26, r3 +/* 80257A50 002549B0 41 80 FF 24 */ blt lbl_80257974 +/* 80257A54 002549B4 38 00 00 00 */ li r0, 0 +/* 80257A58 002549B8 80 AD 97 54 */ lwz r5, lbl_805A8314@sda21(r13) +/* 80257A5C 002549BC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80257A60 002549C0 38 60 00 00 */ li r3, 0 +/* 80257A64 002549C4 38 80 00 01 */ li r4, 1 +/* 80257A68 002549C8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80257A6C 002549CC 48 13 24 89 */ bl __shl2i +/* 80257A70 002549D0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80257A74 002549D4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80257A78 002549D8 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80257A7C 002549DC 7C 00 1B 78 */ or r0, r0, r3 +/* 80257A80 002549E0 7C C3 23 78 */ or r3, r6, r4 +/* 80257A84 002549E4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80257A88 002549E8 7F E4 FB 78 */ mr r4, r31 +/* 80257A8C 002549EC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80257A90 002549F0 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 80257A94 002549F4 4B F4 F7 BD */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80257A98 002549F8 3B 40 00 00 */ li r26, 0 +/* 80257A9C 002549FC 48 00 00 D4 */ b lbl_80257B70 +lbl_80257AA0: +/* 80257AA0 00254A00 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257AA4 00254A04 7F 44 D3 78 */ mr r4, r26 +/* 80257AA8 00254A08 4B F4 F7 91 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi +/* 80257AAC 00254A0C A0 03 00 3C */ lhz r0, 0x3c(r3) +/* 80257AB0 00254A10 7F E3 FB 78 */ mr r3, r31 +/* 80257AB4 00254A14 38 81 00 08 */ addi r4, r1, 8 +/* 80257AB8 00254A18 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80257ABC 00254A1C B0 01 00 08 */ sth r0, 8(r1) +/* 80257AC0 00254A20 4B DF 4A B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80257AC4 00254A24 7C 64 1B 78 */ mr r4, r3 +/* 80257AC8 00254A28 38 61 00 20 */ addi r3, r1, 0x20 +/* 80257ACC 00254A2C 4B E5 78 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80257AD0 00254A30 83 A3 00 04 */ lwz r29, 4(r3) +/* 80257AD4 00254A34 28 1D 00 00 */ cmplwi r29, 0 +/* 80257AD8 00254A38 41 82 00 94 */ beq lbl_80257B6C +/* 80257ADC 00254A3C 3C 80 80 57 */ lis r4, lbl_80572544@ha +/* 80257AE0 00254A40 7F A3 EB 78 */ mr r3, r29 +/* 80257AE4 00254A44 38 84 25 44 */ addi r4, r4, lbl_80572544@l +/* 80257AE8 00254A48 4B F5 10 B1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability +/* 80257AEC 00254A4C 7F A3 EB 78 */ mr r3, r29 +/* 80257AF0 00254A50 7F E4 FB 78 */ mr r4, r31 +/* 80257AF4 00254A54 81 9D 00 00 */ lwz r12, 0(r29) +/* 80257AF8 00254A58 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80257AFC 00254A5C 7D 89 03 A6 */ mtctr r12 +/* 80257B00 00254A60 4E 80 04 21 */ bctrl +/* 80257B04 00254A64 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 80257B08 00254A68 38 80 00 01 */ li r4, 1 +/* 80257B0C 00254A6C D0 03 00 00 */ stfs f0, 0(r3) +/* 80257B10 00254A70 38 60 00 00 */ li r3, 0 +/* 80257B14 00254A74 80 AD 97 58 */ lwz r5, lbl_805A8318@sda21(r13) +/* 80257B18 00254A78 48 13 23 DD */ bl __shl2i +/* 80257B1C 00254A7C 80 AD 97 5C */ lwz r5, lbl_805A831C@sda21(r13) +/* 80257B20 00254A80 7C 9C 23 78 */ mr r28, r4 +/* 80257B24 00254A84 7C 7B 1B 78 */ mr r27, r3 +/* 80257B28 00254A88 38 60 00 00 */ li r3, 0 +/* 80257B2C 00254A8C 38 80 00 01 */ li r4, 1 +/* 80257B30 00254A90 48 13 23 C5 */ bl __shl2i +/* 80257B34 00254A94 7F 9C 23 78 */ or r28, r28, r4 +/* 80257B38 00254A98 7F 7B 1B 78 */ or r27, r27, r3 +/* 80257B3C 00254A9C 38 A0 00 00 */ li r5, 0 +/* 80257B40 00254AA0 38 00 00 01 */ li r0, 1 +/* 80257B44 00254AA4 93 81 00 3C */ stw r28, 0x3c(r1) +/* 80257B48 00254AA8 7F A3 EB 78 */ mr r3, r29 +/* 80257B4C 00254AAC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80257B50 00254AB0 93 61 00 38 */ stw r27, 0x38(r1) +/* 80257B54 00254AB4 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80257B58 00254AB8 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80257B5C 00254ABC 90 01 00 48 */ stw r0, 0x48(r1) +/* 80257B60 00254AC0 4B DF BD 41 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80257B64 00254AC4 38 00 00 10 */ li r0, 0x10 +/* 80257B68 00254AC8 90 1D 03 00 */ stw r0, 0x300(r29) +lbl_80257B6C: +/* 80257B6C 00254ACC 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80257B70: +/* 80257B70 00254AD0 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257B74 00254AD4 4B F4 F6 D5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv +/* 80257B78 00254AD8 7C 1A 18 40 */ cmplw r26, r3 +/* 80257B7C 00254ADC 41 80 FF 24 */ blt lbl_80257AA0 +/* 80257B80 00254AE0 38 00 00 00 */ li r0, 0 +/* 80257B84 00254AE4 80 AD 97 60 */ lwz r5, lbl_805A8320@sda21(r13) +/* 80257B88 00254AE8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80257B8C 00254AEC 38 60 00 00 */ li r3, 0 +/* 80257B90 00254AF0 38 80 00 01 */ li r4, 1 +/* 80257B94 00254AF4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80257B98 00254AF8 48 13 23 5D */ bl __shl2i +/* 80257B9C 00254AFC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80257BA0 00254B00 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80257BA4 00254B04 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80257BA8 00254B08 7C 00 1B 78 */ or r0, r0, r3 +/* 80257BAC 00254B0C 7C C3 23 78 */ or r3, r6, r4 +/* 80257BB0 00254B10 90 01 00 18 */ stw r0, 0x18(r1) +/* 80257BB4 00254B14 7F E4 FB 78 */ mr r4, r31 +/* 80257BB8 00254B18 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80257BBC 00254B1C 80 7E 09 84 */ lwz r3, 0x984(r30) +/* 80257BC0 00254B20 4B F4 F6 91 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList +/* 80257BC4 00254B24 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 80257BC8 00254B28 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80257BCC 00254B2C 7C 08 03 A6 */ mtlr r0 +/* 80257BD0 00254B30 38 21 00 80 */ addi r1, r1, 0x80 +/* 80257BD4 00254B34 4E 80 00 20 */ blr + +.global Render__7CRidleyCFRC13CStateManager +Render__7CRidleyCFRC13CStateManager: +/* 80257BD8 00254B38 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80257BDC 00254B3C 7C 08 02 A6 */ mflr r0 +/* 80257BE0 00254B40 90 01 01 24 */ stw r0, 0x124(r1) +/* 80257BE4 00254B44 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80257BE8 00254B48 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80257BEC 00254B4C DB C1 01 00 */ stfd f30, 0x100(r1) +/* 80257BF0 00254B50 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80257BF4 00254B54 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80257BF8 00254B58 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80257BFC 00254B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80257C00 00254B60 7C 9F 23 78 */ mr r31, r4 +/* 80257C04 00254B64 48 0F 23 B1 */ bl Black__6CColorFv +/* 80257C08 00254B68 C3 DE 0B 20 */ lfs f30, 0xb20(r30) +/* 80257C0C 00254B6C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257C10 00254B70 80 A3 00 00 */ lwz r5, 0(r3) +/* 80257C14 00254B74 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257C18 00254B78 40 81 00 24 */ ble lbl_80257C3C +/* 80257C1C 00254B7C C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257C20 00254B80 48 0F 23 95 */ bl Black__6CColorFv +/* 80257C24 00254B84 EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257C28 00254B88 7C 64 1B 78 */ mr r4, r3 +/* 80257C2C 00254B8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80257C30 00254B90 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257C34 00254B94 48 10 B6 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257C38 00254B98 80 A1 00 10 */ lwz r5, 0x10(r1) +lbl_80257C3C: +/* 80257C3C 00254B9C 38 80 00 02 */ li r4, 2 +/* 80257C40 00254BA0 38 60 00 00 */ li r3, 0 +/* 80257C44 00254BA4 38 00 00 03 */ li r0, 3 +/* 80257C48 00254BA8 98 81 00 30 */ stb r4, 0x30(r1) +/* 80257C4C 00254BAC 98 61 00 31 */ stb r3, 0x31(r1) +/* 80257C50 00254BB0 B0 01 00 32 */ sth r0, 0x32(r1) +/* 80257C54 00254BB4 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80257C58 00254BB8 48 0F 23 55 */ bl White__6CColorFv +/* 80257C5C 00254BBC C3 DE 0B 24 */ lfs f30, 0xb24(r30) +/* 80257C60 00254BC0 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257C64 00254BC4 80 03 00 00 */ lwz r0, 0(r3) +/* 80257C68 00254BC8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257C6C 00254BCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80257C70 00254BD0 40 81 00 28 */ ble lbl_80257C98 +/* 80257C74 00254BD4 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257C78 00254BD8 48 0F 23 35 */ bl White__6CColorFv +/* 80257C7C 00254BDC EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257C80 00254BE0 7C 64 1B 78 */ mr r4, r3 +/* 80257C84 00254BE4 38 61 00 0C */ addi r3, r1, 0xc +/* 80257C88 00254BE8 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257C8C 00254BEC 48 10 B6 21 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257C90 00254BF0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80257C94 00254BF4 90 01 00 14 */ stw r0, 0x14(r1) +lbl_80257C98: +/* 80257C98 00254BF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80257C9C 00254BFC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80257CA0 00254C00 81 83 00 00 */ lwz r12, 0(r3) +/* 80257CA4 00254C04 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80257CA8 00254C08 7D 89 03 A6 */ mtctr r12 +/* 80257CAC 00254C0C 4E 80 04 21 */ bctrl +/* 80257CB0 00254C10 88 7E 0A 31 */ lbz r3, 0xa31(r30) +/* 80257CB4 00254C14 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80257CB8 00254C18 41 82 00 D0 */ beq lbl_80257D88 +/* 80257CBC 00254C1C 7F C4 F3 78 */ mr r4, r30 +/* 80257CC0 00254C20 38 61 00 68 */ addi r3, r1, 0x68 +/* 80257CC4 00254C24 38 BE 0A 30 */ addi r5, r30, 0xa30 +/* 80257CC8 00254C28 4B E2 0B F1 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80257CCC 00254C2C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80257CD0 00254C30 38 81 00 68 */ addi r4, r1, 0x68 +/* 80257CD4 00254C34 48 0B AE A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80257CD8 00254C38 C3 DE 0B 24 */ lfs f30, 0xb24(r30) +/* 80257CDC 00254C3C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257CE0 00254C40 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80257CE4 00254C44 40 81 00 5C */ ble lbl_80257D40 +/* 80257CE8 00254C48 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) +/* 80257CEC 00254C4C 48 0F 22 C9 */ bl Black__6CColorFv +/* 80257CF0 00254C50 EC 3E F8 24 */ fdivs f1, f30, f31 +/* 80257CF4 00254C54 7C 64 1B 78 */ mr r4, r3 +/* 80257CF8 00254C58 38 61 00 08 */ addi r3, r1, 8 +/* 80257CFC 00254C5C 38 BE 04 30 */ addi r5, r30, 0x430 +/* 80257D00 00254C60 48 10 B5 AD */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80257D04 00254C64 80 01 00 08 */ lwz r0, 8(r1) +/* 80257D08 00254C68 38 60 00 02 */ li r3, 2 +/* 80257D0C 00254C6C 38 A0 00 00 */ li r5, 0 +/* 80257D10 00254C70 39 00 00 03 */ li r8, 3 +/* 80257D14 00254C74 98 61 00 28 */ stb r3, 0x28(r1) +/* 80257D18 00254C78 7F E4 FB 78 */ mr r4, r31 +/* 80257D1C 00254C7C 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257D20 00254C80 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80257D24 00254C84 98 A1 00 29 */ stb r5, 0x29(r1) +/* 80257D28 00254C88 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80257D2C 00254C8C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 80257D30 00254C90 B1 01 00 2A */ sth r8, 0x2a(r1) +/* 80257D34 00254C94 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80257D38 00254C98 4B EB D0 85 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257D3C 00254C9C 48 00 00 E0 */ b lbl_80257E1C +lbl_80257D40: +/* 80257D40 00254CA0 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80257D44 00254CA4 38 80 00 00 */ li r4, 0 +/* 80257D48 00254CA8 38 00 00 03 */ li r0, 3 +/* 80257D4C 00254CAC 98 81 00 20 */ stb r4, 0x20(r1) +/* 80257D50 00254CB0 FC 40 08 90 */ fmr f2, f1 +/* 80257D54 00254CB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80257D58 00254CB8 FC 60 08 90 */ fmr f3, f1 +/* 80257D5C 00254CBC 98 81 00 21 */ stb r4, 0x21(r1) +/* 80257D60 00254CC0 FC 80 08 90 */ fmr f4, f1 +/* 80257D64 00254CC4 B0 01 00 22 */ sth r0, 0x22(r1) +/* 80257D68 00254CC8 48 10 B6 85 */ bl __ct__6CColorFffff +/* 80257D6C 00254CCC 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257D70 00254CD0 7F E4 FB 78 */ mr r4, r31 +/* 80257D74 00254CD4 38 7E 09 E4 */ addi r3, r30, 0x9e4 +/* 80257D78 00254CD8 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80257D7C 00254CDC 38 E1 00 20 */ addi r7, r1, 0x20 +/* 80257D80 00254CE0 4B EB D0 3D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257D84 00254CE4 48 00 00 98 */ b lbl_80257E1C +lbl_80257D88: +/* 80257D88 00254CE8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80257D8C 00254CEC 41 82 00 90 */ beq lbl_80257E1C +/* 80257D90 00254CF0 7F C4 F3 78 */ mr r4, r30 +/* 80257D94 00254CF4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80257D98 00254CF8 38 BE 0A 30 */ addi r5, r30, 0xa30 +/* 80257D9C 00254CFC 4B E2 0B 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80257DA0 00254D00 38 61 00 98 */ addi r3, r1, 0x98 +/* 80257DA4 00254D04 38 81 00 38 */ addi r4, r1, 0x38 +/* 80257DA8 00254D08 48 0B AD CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80257DAC 00254D0C C0 3E 0B 20 */ lfs f1, 0xb20(r30) +/* 80257DB0 00254D10 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257DB4 00254D14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80257DB8 00254D18 40 81 00 20 */ ble lbl_80257DD8 +/* 80257DBC 00254D1C 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257DC0 00254D20 7F E4 FB 78 */ mr r4, r31 +/* 80257DC4 00254D24 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80257DC8 00254D28 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80257DCC 00254D2C 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80257DD0 00254D30 4B EB CF ED */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80257DD4 00254D34 48 00 00 48 */ b lbl_80257E1C +lbl_80257DD8: +/* 80257DD8 00254D38 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80257DDC 00254D3C 38 80 00 00 */ li r4, 0 +/* 80257DE0 00254D40 38 00 00 03 */ li r0, 3 +/* 80257DE4 00254D44 98 81 00 18 */ stb r4, 0x18(r1) +/* 80257DE8 00254D48 FC 40 08 90 */ fmr f2, f1 +/* 80257DEC 00254D4C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80257DF0 00254D50 FC 60 08 90 */ fmr f3, f1 +/* 80257DF4 00254D54 98 81 00 19 */ stb r4, 0x19(r1) +/* 80257DF8 00254D58 FC 80 08 90 */ fmr f4, f1 +/* 80257DFC 00254D5C B0 01 00 1A */ sth r0, 0x1a(r1) +/* 80257E00 00254D60 48 10 B5 ED */ bl __ct__6CColorFffff +/* 80257E04 00254D64 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80257E08 00254D68 7F E4 FB 78 */ mr r4, r31 +/* 80257E0C 00254D6C 38 7E 09 98 */ addi r3, r30, 0x998 +/* 80257E10 00254D70 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80257E14 00254D74 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80257E18 00254D78 4B EB CF A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_80257E1C: +/* 80257E1C 00254D7C 7F C3 F3 78 */ mr r3, r30 +/* 80257E20 00254D80 7F E4 FB 78 */ mr r4, r31 +/* 80257E24 00254D84 4B E2 02 09 */ bl Render__10CPatternedCFRC13CStateManager +/* 80257E28 00254D88 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80257E2C 00254D8C CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80257E30 00254D90 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80257E34 00254D94 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80257E38 00254D98 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80257E3C 00254D9C 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80257E40 00254DA0 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80257E44 00254DA4 7C 08 03 A6 */ mtlr r0 +/* 80257E48 00254DA8 38 21 01 20 */ addi r1, r1, 0x120 +/* 80257E4C 00254DAC 4E 80 00 20 */ blr + +.global PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes +PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes: +/* 80257E50 00254DB0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80257E54 00254DB4 7C 08 02 A6 */ mflr r0 +/* 80257E58 00254DB8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80257E5C 00254DBC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80257E60 00254DC0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80257E64 00254DC4 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80257E68 00254DC8 7C 7D 1B 78 */ mr r29, r3 +/* 80257E6C 00254DCC 7C 9E 23 78 */ mr r30, r4 +/* 80257E70 00254DD0 4B E2 04 6D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 80257E74 00254DD4 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80257E78 00254DD8 7F C4 F3 78 */ mr r4, r30 +/* 80257E7C 00254DDC 81 1D 04 50 */ lwz r8, 0x450(r29) +/* 80257E80 00254DE0 38 7D 0B 2C */ addi r3, r29, 0xb2c +/* 80257E84 00254DE4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80257E88 00254DE8 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80257E8C 00254DEC 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80257E90 00254DF0 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80257E94 00254DF4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80257E98 00254DF8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80257E9C 00254DFC C0 05 00 08 */ lfs f0, 8(r5) +/* 80257EA0 00254E00 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80257EA4 00254E04 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80257EA8 00254E08 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80257EAC 00254E0C 4B F1 DA 65 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80257EB0 00254E10 C0 3D 0C C8 */ lfs f1, 0xcc8(r29) +/* 80257EB4 00254E14 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80257EB8 00254E18 83 7D 0C 74 */ lwz r27, 0xc74(r29) +/* 80257EBC 00254E1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80257EC0 00254E20 40 81 00 30 */ ble lbl_80257EF0 +/* 80257EC4 00254E24 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257EC8 00254E28 4B EB CD 81 */ bl GetNumMaterialSets__10CModelDataCFv +/* 80257ECC 00254E2C C0 22 B9 A0 */ lfs f1, lbl_805AD6C0@sda21(r2) +/* 80257ED0 00254E30 C0 1D 0C C8 */ lfs f0, 0xcc8(r29) +/* 80257ED4 00254E34 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80257ED8 00254E38 FC 00 00 1E */ fctiwz f0, f0 +/* 80257EDC 00254E3C D8 01 00 70 */ stfd f0, 0x70(r1) +/* 80257EE0 00254E40 80 81 00 74 */ lwz r4, 0x74(r1) +/* 80257EE4 00254E44 7C 04 1B D6 */ divw r0, r4, r3 +/* 80257EE8 00254E48 7C 00 19 D6 */ mullw r0, r0, r3 +/* 80257EEC 00254E4C 7F 60 20 50 */ subf r27, r0, r4 +lbl_80257EF0: +/* 80257EF0 00254E50 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80257EF4 00254E54 7F C4 F3 78 */ mr r4, r30 +/* 80257EF8 00254E58 80 63 00 00 */ lwz r3, 0(r3) +/* 80257EFC 00254E5C 4B E3 96 5D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80257F00 00254E60 7C 7C 1B 78 */ mr r28, r3 +/* 80257F04 00254E64 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80257F08 00254E68 4B EB CD 41 */ bl GetNumMaterialSets__10CModelDataCFv +/* 80257F0C 00254E6C 38 1B 00 01 */ addi r0, r27, 1 +/* 80257F10 00254E70 2C 1C 00 03 */ cmpwi r28, 3 +/* 80257F14 00254E74 7C 00 18 50 */ subf r0, r0, r3 +/* 80257F18 00254E78 38 60 00 00 */ li r3, 0 +/* 80257F1C 00254E7C 7C 00 00 34 */ cntlzw r0, r0 +/* 80257F20 00254E80 54 1F D9 7E */ srwi r31, r0, 5 +/* 80257F24 00254E84 40 82 00 10 */ bne lbl_80257F34 +/* 80257F28 00254E88 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80257F2C 00254E8C 41 82 00 08 */ beq lbl_80257F34 +/* 80257F30 00254E90 38 60 00 01 */ li r3, 1 +lbl_80257F34: +/* 80257F34 00254E94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80257F38 00254E98 88 9D 00 B4 */ lbz r4, 0xb4(r29) +/* 80257F3C 00254E9C A0 7D 00 B6 */ lhz r3, 0xb6(r29) +/* 80257F40 00254EA0 80 1D 00 B8 */ lwz r0, 0xb8(r29) +/* 80257F44 00254EA4 98 81 00 10 */ stb r4, 0x10(r1) +/* 80257F48 00254EA8 9B 61 00 11 */ stb r27, 0x11(r1) +/* 80257F4C 00254EAC B0 61 00 12 */ sth r3, 0x12(r1) +/* 80257F50 00254EB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80257F54 00254EB4 41 82 00 0C */ beq lbl_80257F60 +/* 80257F58 00254EB8 60 63 00 40 */ ori r3, r3, 0x40 +/* 80257F5C 00254EBC 48 00 00 08 */ b lbl_80257F64 +lbl_80257F60: +/* 80257F60 00254EC0 54 63 06 B0 */ rlwinm r3, r3, 0, 0x1a, 0x18 +lbl_80257F64: +/* 80257F64 00254EC4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80257F68 00254EC8 88 81 00 11 */ lbz r4, 0x11(r1) +/* 80257F6C 00254ECC 98 1D 00 B4 */ stb r0, 0xb4(r29) +/* 80257F70 00254ED0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80257F74 00254ED4 98 9D 00 B5 */ stb r4, 0xb5(r29) +/* 80257F78 00254ED8 B0 7D 00 B6 */ sth r3, 0xb6(r29) +/* 80257F7C 00254EDC 90 1D 00 B8 */ stw r0, 0xb8(r29) +/* 80257F80 00254EE0 88 1D 0A 33 */ lbz r0, 0xa33(r29) +/* 80257F84 00254EE4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80257F88 00254EE8 41 82 01 A0 */ beq lbl_80258128 +/* 80257F8C 00254EEC C0 FD 0A B0 */ lfs f7, 0xab0(r29) +/* 80257F90 00254EF0 C0 BD 00 60 */ lfs f5, 0x60(r29) +/* 80257F94 00254EF4 C0 DD 0A A0 */ lfs f6, 0xaa0(r29) +/* 80257F98 00254EF8 EC 25 38 28 */ fsubs f1, f5, f7 +/* 80257F9C 00254EFC C0 0D 97 40 */ lfs f0, lbl_805A8300@sda21(r13) +/* 80257FA0 00254F00 C0 7D 0A 90 */ lfs f3, 0xa90(r29) +/* 80257FA4 00254F04 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80257FA8 00254F08 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 80257FAC 00254F0C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80257FB0 00254F10 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80257FB4 00254F14 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 80257FB8 00254F18 D0 E1 00 38 */ stfs f7, 0x38(r1) +/* 80257FBC 00254F1C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80257FC0 00254F20 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80257FC4 00254F24 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80257FC8 00254F28 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80257FCC 00254F2C 40 80 00 0C */ bge lbl_80257FD8 +/* 80257FD0 00254F30 38 61 00 0C */ addi r3, r1, 0xc +/* 80257FD4 00254F34 48 00 00 08 */ b lbl_80257FDC +lbl_80257FD8: +/* 80257FD8 00254F38 38 6D 97 40 */ addi r3, r13, lbl_805A8300@sda21 +lbl_80257FDC: +/* 80257FDC 00254F3C C3 E3 00 00 */ lfs f31, 0(r3) +/* 80257FE0 00254F40 38 81 00 08 */ addi r4, r1, 8 +/* 80257FE4 00254F44 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 80257FE8 00254F48 38 6D 97 44 */ addi r3, r13, lbl_805A8304@sda21 +/* 80257FEC 00254F4C C0 22 B9 A4 */ lfs f1, lbl_805AD6C4@sda21(r2) +/* 80257FF0 00254F50 38 AD 97 48 */ addi r5, r13, lbl_805A8308@sda21 +/* 80257FF4 00254F54 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80257FF8 00254F58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80257FFC 00254F5C D0 01 00 08 */ stfs f0, 8(r1) +/* 80258000 00254F60 4B DB 42 B5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80258004 00254F64 C0 23 00 00 */ lfs f1, 0(r3) +/* 80258008 00254F68 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025800C 00254F6C C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258010 00254F70 38 81 00 24 */ addi r4, r1, 0x24 +/* 80258014 00254F74 C0 82 B9 38 */ lfs f4, lbl_805AD658@sda21(r2) +/* 80258018 00254F78 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8025801C 00254F7C EC 00 08 2A */ fadds f0, f0, f1 +/* 80258020 00254F80 D0 1D 0C CC */ stfs f0, 0xccc(r29) +/* 80258024 00254F84 C1 5D 00 A8 */ lfs f10, 0xa8(r29) +/* 80258028 00254F88 C1 3D 00 9C */ lfs f9, 0x9c(r29) +/* 8025802C 00254F8C C1 1D 00 AC */ lfs f8, 0xac(r29) +/* 80258030 00254F90 C0 FD 00 A0 */ lfs f7, 0xa0(r29) +/* 80258034 00254F94 EC 6A 48 28 */ fsubs f3, f10, f9 +/* 80258038 00254F98 C1 9D 0C CC */ lfs f12, 0xccc(r29) +/* 8025803C 00254F9C EC 48 38 28 */ fsubs f2, f8, f7 +/* 80258040 00254FA0 C0 DD 00 B0 */ lfs f6, 0xb0(r29) +/* 80258044 00254FA4 C0 BD 00 A4 */ lfs f5, 0xa4(r29) +/* 80258048 00254FA8 EC 0C 00 F2 */ fmuls f0, f12, f3 +/* 8025804C 00254FAC ED 66 28 28 */ fsubs f11, f6, f5 +/* 80258050 00254FB0 EC 2C 00 B2 */ fmuls f1, f12, f2 +/* 80258054 00254FB4 EC 60 18 28 */ fsubs f3, f0, f3 +/* 80258058 00254FB8 EC 0C 02 F2 */ fmuls f0, f12, f11 +/* 8025805C 00254FBC EC 41 10 28 */ fsubs f2, f1, f2 +/* 80258060 00254FC0 ED 84 00 F2 */ fmuls f12, f4, f3 +/* 80258064 00254FC4 EC 20 58 28 */ fsubs f1, f0, f11 +/* 80258068 00254FC8 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8025806C 00254FCC EC 0A 60 2A */ fadds f0, f10, f12 +/* 80258070 00254FD0 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80258074 00254FD4 EC 88 10 2A */ fadds f4, f8, f2 +/* 80258078 00254FD8 EC 47 10 28 */ fsubs f2, f7, f2 +/* 8025807C 00254FDC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80258080 00254FE0 EC 66 08 2A */ fadds f3, f6, f1 +/* 80258084 00254FE4 EC 25 08 28 */ fsubs f1, f5, f1 +/* 80258088 00254FE8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8025808C 00254FEC EC 09 60 28 */ fsubs f0, f9, f12 +/* 80258090 00254FF0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80258094 00254FF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80258098 00254FF8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025809C 00254FFC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802580A0 00255000 48 0E 04 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802580A4 00255004 2C 1C 00 00 */ cmpwi r28, 0 +/* 802580A8 00255008 41 82 00 0C */ beq lbl_802580B4 +/* 802580AC 0025500C 2C 1C 00 02 */ cmpwi r28, 2 +/* 802580B0 00255010 40 82 00 6C */ bne lbl_8025811C +lbl_802580B4: +/* 802580B4 00255014 38 7D 0A C4 */ addi r3, r29, 0xac4 +/* 802580B8 00255018 38 81 00 54 */ addi r4, r1, 0x54 +/* 802580BC 0025501C 48 0D FA C9 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802580C0 00255020 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802580C4 00255024 41 82 00 58 */ beq lbl_8025811C +/* 802580C8 00255028 C0 02 B9 A8 */ lfs f0, lbl_805AD6C8@sda21(r2) +/* 802580CC 0025502C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802580D0 00255030 40 81 00 4C */ ble lbl_8025811C +/* 802580D4 00255034 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802580D8 00255038 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802580DC 0025503C 7C 04 00 D0 */ neg r0, r4 +/* 802580E0 00255040 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802580E4 00255044 EC 40 F8 2A */ fadds f2, f0, f31 +/* 802580E8 00255048 7C 00 23 78 */ or r0, r0, r4 +/* 802580EC 0025504C 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 802580F0 00255050 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 802580F4 00255054 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 802580F8 00255058 7F C4 F3 78 */ mr r4, r30 +/* 802580FC 0025505C C0 3D 0C CC */ lfs f1, 0xccc(r29) +/* 80258100 00255060 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80258104 00255064 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80258108 00255068 48 04 5C 81 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +/* 8025810C 0025506C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) +/* 80258110 00255070 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 80258114 00255074 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 80258118 00255078 48 00 00 18 */ b lbl_80258130 +lbl_8025811C: +/* 8025811C 0025507C 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 80258120 00255080 48 04 55 A9 */ bl sub_8029d6c8 +/* 80258124 00255084 48 00 00 0C */ b lbl_80258130 +lbl_80258128: +/* 80258128 00255088 80 7D 0D 10 */ lwz r3, 0xd10(r29) +/* 8025812C 0025508C 48 04 55 9D */ bl sub_8029d6c8 +lbl_80258130: +/* 80258130 00255090 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80258134 00255094 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80258138 00255098 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 8025813C 0025509C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80258140 002550A0 7C 08 03 A6 */ mtlr r0 +/* 80258144 002550A4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80258148 002550A8 4E 80 00 20 */ blr + +.global AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager: +/* 8025814C 002550AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80258150 002550B0 7C 08 02 A6 */ mflr r0 +/* 80258154 002550B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80258158 002550B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025815C 002550BC 7C 9F 23 78 */ mr r31, r4 +/* 80258160 002550C0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80258164 002550C4 7C 7E 1B 78 */ mr r30, r3 +/* 80258168 002550C8 4B E1 F7 51 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager +/* 8025816C 002550CC 80 9E 0C E0 */ lwz r4, 0xce0(r30) +/* 80258170 002550D0 28 04 00 00 */ cmplwi r4, 0 +/* 80258174 002550D4 41 82 00 4C */ beq lbl_802581C0 +/* 80258178 002550D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8025817C 002550DC 38 61 00 08 */ addi r3, r1, 8 +/* 80258180 002550E0 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80258184 002550E4 7D 89 03 A6 */ mtctr r12 +/* 80258188 002550E8 4E 80 04 21 */ bctrl +/* 8025818C 002550EC 7F E3 FB 78 */ mr r3, r31 +/* 80258190 002550F0 38 81 00 08 */ addi r4, r1, 8 +/* 80258194 002550F4 48 0E CF F5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +/* 80258198 002550F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025819C 002550FC 38 60 00 00 */ li r3, 0 +/* 802581A0 00255100 98 61 00 20 */ stb r3, 0x20(r1) +/* 802581A4 00255104 41 82 00 1C */ beq lbl_802581C0 +/* 802581A8 00255108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802581AC 0025510C 80 9E 0C E0 */ lwz r4, 0xce0(r30) +/* 802581B0 00255110 81 83 00 00 */ lwz r12, 0(r3) +/* 802581B4 00255114 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802581B8 00255118 7D 89 03 A6 */ mtctr r12 +/* 802581BC 0025511C 4E 80 04 21 */ bctrl +lbl_802581C0: +/* 802581C0 00255120 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802581C4 00255124 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802581C8 00255128 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802581CC 0025512C 7C 08 03 A6 */ mtlr r0 +/* 802581D0 00255130 38 21 00 30 */ addi r1, r1, 0x30 +/* 802581D4 00255134 4E 80 00 20 */ blr + +.global GetSortingBounds__7CRidleyCFRC12CTransform4f +GetSortingBounds__7CRidleyCFRC12CTransform4f: +/* 802581D8 00255138 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802581DC 0025513C 7C 08 02 A6 */ mflr r0 +/* 802581E0 00255140 90 01 00 14 */ stw r0, 0x14(r1) +/* 802581E4 00255144 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802581E8 00255148 7C 7F 1B 78 */ mr r31, r3 +/* 802581EC 0025514C 4B EC 27 41 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802581F0 00255150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802581F4 00255154 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802581F8 00255158 7C 08 03 A6 */ mtlr r0 +/* 802581FC 0025515C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80258200 00255160 4E 80 00 20 */ blr + +.global GetDamageVulnerability__7CRidleyCFv +GetDamageVulnerability__7CRidleyCFv: +/* 80258204 00255164 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 80258208 00255168 38 63 D7 18 */ addi r3, r3, lbl_8056D718@l +/* 8025820C 0025516C 4E 80 00 20 */ blr + +.global DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80258210 00255170 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 80258214 00255174 7C 08 02 A6 */ mflr r0 +/* 80258218 00255178 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 8025821C 0025517C DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 80258220 00255180 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 80258224 00255184 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 80258228 00255188 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 8025822C 0025518C DB A1 03 80 */ stfd f29, 0x380(r1) +/* 80258230 00255190 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 80258234 00255194 BF 01 03 60 */ stmw r24, 0x360(r1) +/* 80258238 00255198 7C DF 33 78 */ mr r31, r6 +/* 8025823C 0025519C FF E0 08 90 */ fmr f31, f1 +/* 80258240 002551A0 28 1F 00 1F */ cmplwi r31, 0x1f +/* 80258244 002551A4 7C 7C 1B 78 */ mr r28, r3 +/* 80258248 002551A8 7C 9D 23 78 */ mr r29, r4 +/* 8025824C 002551AC 7C BE 2B 78 */ mr r30, r5 +/* 80258250 002551B0 3B 40 00 00 */ li r26, 0 +/* 80258254 002551B4 41 81 0A 4C */ bgt lbl_80258CA0 +/* 80258258 002551B8 3C A0 80 3F */ lis r5, lbl_803E9524@ha +/* 8025825C 002551BC 57 E0 10 3A */ slwi r0, r31, 2 +/* 80258260 002551C0 38 A5 95 24 */ addi r5, r5, lbl_803E9524@l +/* 80258264 002551C4 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80258268 002551C8 7C 09 03 A6 */ mtctr r0 +/* 8025826C 002551CC 4E 80 04 20 */ bctr +/* 80258270 002551D0 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258274 002551D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258278 002551D8 41 82 00 14 */ beq lbl_8025828C +/* 8025827C 002551DC 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258280 002551E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80258284 002551E4 40 82 00 08 */ bne lbl_8025828C +/* 80258288 002551E8 4B FF EB 2D */ bl sub_80256db4 +lbl_8025828C: +/* 8025828C 002551EC 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258290 002551F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80258294 002551F4 41 82 0A 0C */ beq lbl_80258CA0 +/* 80258298 002551F8 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025829C 002551FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802582A0 00255200 41 82 0A 00 */ beq lbl_80258CA0 +/* 802582A4 00255204 C0 7C 0A A4 */ lfs f3, 0xaa4(r28) +/* 802582A8 00255208 C0 5C 0A 94 */ lfs f2, 0xa94(r28) +/* 802582AC 0025520C C0 3C 0A 84 */ lfs f1, 0xa84(r28) +/* 802582B0 00255210 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802582B4 00255214 D0 3C 0B F0 */ stfs f1, 0xbf0(r28) +/* 802582B8 00255218 D0 5C 0B F4 */ stfs f2, 0xbf4(r28) +/* 802582BC 0025521C D0 7C 0B F8 */ stfs f3, 0xbf8(r28) +/* 802582C0 00255220 C1 1C 00 50 */ lfs f8, 0x50(r28) +/* 802582C4 00255224 C0 3C 0A A0 */ lfs f1, 0xaa0(r28) +/* 802582C8 00255228 C0 BC 00 40 */ lfs f5, 0x40(r28) +/* 802582CC 0025522C EC E8 08 28 */ fsubs f7, f8, f1 +/* 802582D0 00255230 C0 5C 0A 90 */ lfs f2, 0xa90(r28) +/* 802582D4 00255234 C0 3C 0B F4 */ lfs f1, 0xbf4(r28) +/* 802582D8 00255238 EC 85 10 28 */ fsubs f4, f5, f2 +/* 802582DC 0025523C C1 3C 00 60 */ lfs f9, 0x60(r28) +/* 802582E0 00255240 C0 7C 0A B0 */ lfs f3, 0xab0(r28) +/* 802582E4 00255244 EC 27 00 72 */ fmuls f1, f7, f1 +/* 802582E8 00255248 C0 5C 0B F0 */ lfs f2, 0xbf0(r28) +/* 802582EC 0025524C EC C9 18 28 */ fsubs f6, f9, f3 +/* 802582F0 00255250 C0 7C 0B F8 */ lfs f3, 0xbf8(r28) +/* 802582F4 00255254 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802582F8 00255258 D0 A1 01 28 */ stfs f5, 0x128(r1) +/* 802582FC 0025525C D1 01 01 2C */ stfs f8, 0x12c(r1) +/* 80258300 00255260 EC 26 08 FA */ fmadds f1, f6, f3, f1 +/* 80258304 00255264 D1 21 01 30 */ stfs f9, 0x130(r1) +/* 80258308 00255268 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025830C 0025526C D0 81 01 34 */ stfs f4, 0x134(r1) +/* 80258310 00255270 D0 E1 01 38 */ stfs f7, 0x138(r1) +/* 80258314 00255274 D0 C1 01 3C */ stfs f6, 0x13c(r1) +/* 80258318 00255278 40 81 00 2C */ ble lbl_80258344 +/* 8025831C 0025527C C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258320 00255280 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258324 00255284 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258328 00255288 D0 1C 0B F0 */ stfs f0, 0xbf0(r28) +/* 8025832C 0025528C C0 1C 0B F4 */ lfs f0, 0xbf4(r28) +/* 80258330 00255290 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258334 00255294 D0 1C 0B F4 */ stfs f0, 0xbf4(r28) +/* 80258338 00255298 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) +/* 8025833C 0025529C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80258340 002552A0 D0 1C 0B F8 */ stfs f0, 0xbf8(r28) +lbl_80258344: +/* 80258344 002552A4 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258348 002552A8 D0 1C 0B FC */ stfs f0, 0xbfc(r28) +/* 8025834C 002552AC C0 1C 0B F4 */ lfs f0, 0xbf4(r28) +/* 80258350 002552B0 D0 1C 0C 00 */ stfs f0, 0xc00(r28) +/* 80258354 002552B4 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) +/* 80258358 002552B8 D0 1C 0C 04 */ stfs f0, 0xc04(r28) +/* 8025835C 002552BC C0 DC 0A BC */ lfs f6, 0xabc(r28) +/* 80258360 002552C0 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) +/* 80258364 002552C4 C0 7C 0B F4 */ lfs f3, 0xbf4(r28) +/* 80258368 002552C8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8025836C 002552CC C0 3C 0A 90 */ lfs f1, 0xa90(r28) +/* 80258370 002552D0 C0 5C 0B F8 */ lfs f2, 0xbf8(r28) +/* 80258374 002552D4 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 80258378 002552D8 C0 BC 0A A0 */ lfs f5, 0xaa0(r28) +/* 8025837C 002552DC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80258380 002552E0 C0 7C 0A B0 */ lfs f3, 0xab0(r28) +/* 80258384 002552E4 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 80258388 002552E8 EC 45 20 28 */ fsubs f2, f5, f4 +/* 8025838C 002552EC D0 1C 0B E4 */ stfs f0, 0xbe4(r28) +/* 80258390 002552F0 EC 03 08 28 */ fsubs f0, f3, f1 +/* 80258394 002552F4 D0 5C 0B E8 */ stfs f2, 0xbe8(r28) +/* 80258398 002552F8 D0 1C 0B EC */ stfs f0, 0xbec(r28) +/* 8025839C 002552FC 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 802583A0 00255300 C0 1C 0A A0 */ lfs f0, 0xaa0(r28) +/* 802583A4 00255304 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 802583A8 00255308 C0 BC 0A 98 */ lfs f5, 0xa98(r28) +/* 802583AC 0025530C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802583B0 00255310 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 802583B4 00255314 C0 3C 0A 90 */ lfs f1, 0xa90(r28) +/* 802583B8 00255318 C0 DC 0A 88 */ lfs f6, 0xa88(r28) +/* 802583BC 0025531C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802583C0 00255320 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 802583C4 00255324 EC 00 01 72 */ fmuls f0, f0, f5 +/* 802583C8 00255328 C0 5C 0A B0 */ lfs f2, 0xab0(r28) +/* 802583CC 0025532C C0 9C 0A A8 */ lfs f4, 0xaa8(r28) +/* 802583D0 00255330 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802583D4 00255334 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 802583D8 00255338 C0 7C 0B E4 */ lfs f3, 0xbe4(r28) +/* 802583DC 0025533C EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 802583E0 00255340 EC 40 01 B2 */ fmuls f2, f0, f6 +/* 802583E4 00255344 EC 20 01 72 */ fmuls f1, f0, f5 +/* 802583E8 00255348 EC 00 01 32 */ fmuls f0, f0, f4 +/* 802583EC 0025534C EC 43 10 2A */ fadds f2, f3, f2 +/* 802583F0 00255350 D0 5C 0B E4 */ stfs f2, 0xbe4(r28) +/* 802583F4 00255354 C0 5C 0B E8 */ lfs f2, 0xbe8(r28) +/* 802583F8 00255358 EC 22 08 2A */ fadds f1, f2, f1 +/* 802583FC 0025535C D0 3C 0B E8 */ stfs f1, 0xbe8(r28) +/* 80258400 00255360 C0 3C 0B EC */ lfs f1, 0xbec(r28) +/* 80258404 00255364 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258408 00255368 D0 1C 0B EC */ stfs f0, 0xbec(r28) +/* 8025840C 0025536C 48 00 08 94 */ b lbl_80258CA0 +/* 80258410 00255370 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258414 00255374 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80258418 00255378 41 82 08 88 */ beq lbl_80258CA0 +/* 8025841C 0025537C 38 A0 00 00 */ li r5, 0 +/* 80258420 00255380 4B FF E6 4D */ bl sub_80256a6c +/* 80258424 00255384 48 00 08 7C */ b lbl_80258CA0 +/* 80258428 00255388 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 8025842C 0025538C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258430 00255390 40 82 08 70 */ bne lbl_80258CA0 +/* 80258434 00255394 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) +/* 80258438 00255398 39 60 00 00 */ li r11, 0 +/* 8025843C 0025539C C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) +/* 80258440 002553A0 39 80 00 01 */ li r12, 1 +/* 80258444 002553A4 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) +/* 80258448 002553A8 39 40 00 7F */ li r10, 0x7f +/* 8025844C 002553AC 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 80258450 002553B0 39 20 00 3F */ li r9, 0x3f +/* 80258454 002553B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80258458 002553B8 D0 A1 03 30 */ stfs f5, 0x330(r1) +/* 8025845C 002553BC 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 80258460 002553C0 A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) +/* 80258464 002553C4 D0 A1 03 34 */ stfs f5, 0x334(r1) +/* 80258468 002553C8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8025846C 002553CC C0 48 00 00 */ lfs f2, 0(r8) +/* 80258470 002553D0 38 81 03 30 */ addi r4, r1, 0x330 +/* 80258474 002553D4 D0 A1 03 38 */ stfs f5, 0x338(r1) +/* 80258478 002553D8 38 A0 00 01 */ li r5, 1 +/* 8025847C 002553DC C0 28 00 04 */ lfs f1, 4(r8) +/* 80258480 002553E0 38 E0 00 00 */ li r7, 0 +/* 80258484 002553E4 D0 A1 03 3C */ stfs f5, 0x33c(r1) +/* 80258488 002553E8 C0 08 00 08 */ lfs f0, 8(r8) +/* 8025848C 002553EC D0 A1 03 40 */ stfs f5, 0x340(r1) +/* 80258490 002553F0 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) +/* 80258494 002553F4 D0 A1 03 44 */ stfs f5, 0x344(r1) +/* 80258498 002553F8 D0 81 03 48 */ stfs f4, 0x348(r1) +/* 8025849C 002553FC D0 61 03 4C */ stfs f3, 0x34c(r1) +/* 802584A0 00255400 91 81 03 50 */ stw r12, 0x350(r1) +/* 802584A4 00255404 B1 61 03 54 */ sth r11, 0x354(r1) +/* 802584A8 00255408 99 41 03 56 */ stb r10, 0x356(r1) +/* 802584AC 0025540C 99 21 03 57 */ stb r9, 0x357(r1) +/* 802584B0 00255410 99 61 03 58 */ stb r11, 0x358(r1) +/* 802584B4 00255414 98 01 03 59 */ stb r0, 0x359(r1) +/* 802584B8 00255418 C0 BC 00 60 */ lfs f5, 0x60(r28) +/* 802584BC 0025541C C0 9C 00 50 */ lfs f4, 0x50(r28) +/* 802584C0 00255420 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 802584C4 00255424 D0 61 03 30 */ stfs f3, 0x330(r1) +/* 802584C8 00255428 D0 81 03 34 */ stfs f4, 0x334(r1) +/* 802584CC 0025542C D0 A1 03 38 */ stfs f5, 0x338(r1) +/* 802584D0 00255430 D0 41 03 3C */ stfs f2, 0x33c(r1) +/* 802584D4 00255434 D0 21 03 40 */ stfs f1, 0x340(r1) +/* 802584D8 00255438 D0 01 03 44 */ stfs f0, 0x344(r1) +/* 802584DC 0025543C A0 1C 07 FC */ lhz r0, 0x7fc(r28) +/* 802584E0 00255440 B0 01 03 54 */ sth r0, 0x354(r1) +/* 802584E4 00255444 48 09 1A FD */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 802584E8 00255448 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802584EC 0025544C 90 1C 0C AC */ stw r0, 0xcac(r28) +/* 802584F0 00255450 48 00 07 B0 */ b lbl_80258CA0 +/* 802584F4 00255454 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 802584F8 00255458 4B EB C7 51 */ bl GetNumMaterialSets__10CModelDataCFv +/* 802584FC 0025545C 80 9C 0C 74 */ lwz r4, 0xc74(r28) +/* 80258500 00255460 38 04 00 01 */ addi r0, r4, 1 +/* 80258504 00255464 7C 00 18 00 */ cmpw r0, r3 +/* 80258508 00255468 40 80 00 08 */ bge lbl_80258510 +/* 8025850C 0025546C 90 1C 0C 74 */ stw r0, 0xc74(r28) +lbl_80258510: +/* 80258510 00255470 3B 40 00 01 */ li r26, 1 +/* 80258514 00255474 48 00 07 8C */ b lbl_80258CA0 +/* 80258518 00255478 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 8025851C 0025547C 2C 00 00 02 */ cmpwi r0, 2 +/* 80258520 00255480 41 82 00 08 */ beq lbl_80258528 +/* 80258524 00255484 48 00 02 A0 */ b lbl_802587C4 +lbl_80258528: +/* 80258528 00255488 3B 1C 0C 14 */ addi r24, r28, 0xc14 +/* 8025852C 0025548C 80 1C 0C 1C */ lwz r0, 0xc1c(r28) +/* 80258530 00255490 28 00 00 00 */ cmplwi r0, 0 +/* 80258534 00255494 41 82 00 0C */ beq lbl_80258540 +/* 80258538 00255498 38 60 00 01 */ li r3, 1 +/* 8025853C 0025549C 48 00 00 3C */ b lbl_80258578 +lbl_80258540: +/* 80258540 002554A0 88 18 00 04 */ lbz r0, 4(r24) +/* 80258544 002554A4 28 00 00 00 */ cmplwi r0, 0 +/* 80258548 002554A8 41 82 00 2C */ beq lbl_80258574 +/* 8025854C 002554AC 80 78 00 00 */ lwz r3, 0(r24) +/* 80258550 002554B0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80258554 002554B4 28 00 00 00 */ cmplwi r0, 0 +/* 80258558 002554B8 41 82 00 1C */ beq lbl_80258574 +/* 8025855C 002554BC 7F 03 C3 78 */ mr r3, r24 +/* 80258560 002554C0 48 0E 88 AD */ bl GetObj__6CTokenFv +/* 80258564 002554C4 80 03 00 04 */ lwz r0, 4(r3) +/* 80258568 002554C8 38 60 00 01 */ li r3, 1 +/* 8025856C 002554CC 90 18 00 08 */ stw r0, 8(r24) +/* 80258570 002554D0 48 00 00 08 */ b lbl_80258578 +lbl_80258574: +/* 80258574 002554D4 38 60 00 00 */ li r3, 0 +lbl_80258578: +/* 80258578 002554D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025857C 002554DC 41 82 02 48 */ beq lbl_802587C4 +/* 80258580 002554E0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258584 002554E4 7F A3 EB 78 */ mr r3, r29 +/* 80258588 002554E8 38 81 00 88 */ addi r4, r1, 0x88 +/* 8025858C 002554EC 38 A0 00 09 */ li r5, 9 +/* 80258590 002554F0 B0 01 00 84 */ sth r0, 0x84(r1) +/* 80258594 002554F4 38 C0 00 09 */ li r6, 9 +/* 80258598 002554F8 B0 01 00 88 */ sth r0, 0x88(r1) +/* 8025859C 002554FC 4B DE D1 95 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 802585A0 00255500 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802585A4 00255504 41 82 02 20 */ beq lbl_802587C4 +/* 802585A8 00255508 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802585AC 0025550C C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 802585B0 00255510 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 802585B4 00255514 48 0B 9F 91 */ bl Range__9CRandom16Fff +/* 802585B8 00255518 FC 00 08 90 */ fmr f0, f1 +/* 802585BC 0025551C 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 802585C0 00255520 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 802585C4 00255524 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 802585C8 00255528 FF A0 00 90 */ fmr f29, f0 +/* 802585CC 0025552C 48 0B 9F 79 */ bl Range__9CRandom16Fff +/* 802585D0 00255530 FC 40 E8 90 */ fmr f2, f29 +/* 802585D4 00255534 48 13 C6 99 */ bl atan2 +/* 802585D8 00255538 C0 02 B9 B0 */ lfs f0, lbl_805AD6D0@sda21(r2) +/* 802585DC 0025553C FF A0 08 18 */ frsp f29, f1 +/* 802585E0 00255540 38 61 02 40 */ addi r3, r1, 0x240 +/* 802585E4 00255544 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802585E8 00255548 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802585EC 0025554C 48 0B B3 55 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 802585F0 00255550 7F 84 E3 78 */ mr r4, r28 +/* 802585F4 00255554 38 61 02 70 */ addi r3, r1, 0x270 +/* 802585F8 00255558 38 BC 0A 30 */ addi r5, r28, 0xa30 +/* 802585FC 0025555C 4B E2 02 BD */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80258600 00255560 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 80258604 00255564 38 81 02 70 */ addi r4, r1, 0x270 +/* 80258608 00255568 38 A1 02 40 */ addi r5, r1, 0x240 +/* 8025860C 0025556C 48 0B A3 45 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80258610 00255570 38 61 03 00 */ addi r3, r1, 0x300 +/* 80258614 00255574 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 80258618 00255578 48 0B A5 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025861C 0025557C D3 A1 00 9C */ stfs f29, 0x9c(r1) +/* 80258620 00255580 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80258624 00255584 38 81 00 9C */ addi r4, r1, 0x9c +/* 80258628 00255588 48 0B B2 81 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 8025862C 0025558C 38 61 02 10 */ addi r3, r1, 0x210 +/* 80258630 00255590 38 81 03 00 */ addi r4, r1, 0x300 +/* 80258634 00255594 38 A1 01 E0 */ addi r5, r1, 0x1e0 +/* 80258638 00255598 48 0B A3 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025863C 0025559C 38 61 03 00 */ addi r3, r1, 0x300 +/* 80258640 002555A0 38 81 02 10 */ addi r4, r1, 0x210 +/* 80258644 002555A4 48 0B A4 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80258648 002555A8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 8025864C 002555AC 38 61 01 1C */ addi r3, r1, 0x11c +/* 80258650 002555B0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 80258654 002555B4 38 81 03 00 */ addi r4, r1, 0x300 +/* 80258658 002555B8 D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 8025865C 002555BC 38 A1 01 58 */ addi r5, r1, 0x158 +/* 80258660 002555C0 D0 21 01 58 */ stfs f1, 0x158(r1) +/* 80258664 002555C4 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 80258668 002555C8 48 0B A4 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8025866C 002555CC C0 41 01 1C */ lfs f2, 0x11c(r1) +/* 80258670 002555D0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80258674 002555D4 C0 21 01 20 */ lfs f1, 0x120(r1) +/* 80258678 002555D8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025867C 002555DC C0 01 01 24 */ lfs f0, 0x124(r1) +/* 80258680 002555E0 38 83 00 85 */ addi r4, r3, 0x85 +/* 80258684 002555E4 D0 41 03 0C */ stfs f2, 0x30c(r1) +/* 80258688 002555E8 3B 40 00 00 */ li r26, 0 +/* 8025868C 002555EC 38 60 03 D8 */ li r3, 0x3d8 +/* 80258690 002555F0 38 A0 00 00 */ li r5, 0 +/* 80258694 002555F4 D0 21 03 1C */ stfs f1, 0x31c(r1) +/* 80258698 002555F8 D0 01 03 2C */ stfs f0, 0x32c(r1) +/* 8025869C 002555FC 48 0B D1 D1 */ bl __nw__FUlPCcPCc +/* 802586A0 00255600 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802586A4 00255604 41 82 00 C4 */ beq lbl_80258768 +/* 802586A8 00255608 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 802586AC 0025560C 38 00 00 00 */ li r0, 0 +/* 802586B0 00255610 98 01 01 18 */ stb r0, 0x118(r1) +/* 802586B4 00255614 7F A4 EB 78 */ mr r4, r29 +/* 802586B8 00255618 38 61 00 6C */ addi r3, r1, 0x6c +/* 802586BC 0025561C 3B 40 00 01 */ li r26, 1 +/* 802586C0 00255620 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 802586C4 00255624 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802586C8 00255628 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 802586CC 0025562C 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 802586D0 00255630 A0 05 00 08 */ lhz r0, 8(r5) +/* 802586D4 00255634 B0 01 00 80 */ sth r0, 0x80(r1) +/* 802586D8 00255638 A0 BC 00 08 */ lhz r5, 8(r28) +/* 802586DC 0025563C B0 01 00 7C */ sth r0, 0x7c(r1) +/* 802586E0 00255640 B0 A1 00 78 */ sth r5, 0x78(r1) +/* 802586E4 00255644 80 1C 00 04 */ lwz r0, 4(r28) +/* 802586E8 00255648 B0 A1 00 74 */ sth r5, 0x74(r1) +/* 802586EC 0025564C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802586F0 00255650 90 01 00 98 */ stw r0, 0x98(r1) +/* 802586F4 00255654 4B DF 49 E9 */ bl AllocateUniqueId__13CStateManagerFv +/* 802586F8 00255658 A0 61 00 6C */ lhz r3, 0x6c(r1) +/* 802586FC 0025565C 38 01 00 98 */ addi r0, r1, 0x98 +/* 80258700 00255660 38 C1 00 78 */ addi r6, r1, 0x78 +/* 80258704 00255664 38 81 00 80 */ addi r4, r1, 0x80 +/* 80258708 00255668 B0 61 00 70 */ sth r3, 0x70(r1) +/* 8025870C 0025566C 3B 00 00 00 */ li r24, 0 +/* 80258710 00255670 39 81 01 00 */ addi r12, r1, 0x100 +/* 80258714 00255674 39 61 01 0C */ addi r11, r1, 0x10c +/* 80258718 00255678 90 01 00 08 */ stw r0, 8(r1) +/* 8025871C 0025567C 7F 63 DB 78 */ mr r3, r27 +/* 80258720 00255680 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 80258724 00255684 38 BC 0C 14 */ addi r5, r28, 0xc14 +/* 80258728 00255688 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8025872C 0025568C 38 E1 03 00 */ addi r7, r1, 0x300 +/* 80258730 00255690 39 3C 0C 20 */ addi r9, r28, 0xc20 +/* 80258734 00255694 39 41 00 70 */ addi r10, r1, 0x70 +/* 80258738 00255698 90 81 00 10 */ stw r4, 0x10(r1) +/* 8025873C 0025569C 38 80 00 01 */ li r4, 1 +/* 80258740 002556A0 38 C0 00 09 */ li r6, 9 +/* 80258744 002556A4 39 00 00 21 */ li r8, 0x21 +/* 80258748 002556A8 93 01 00 14 */ stw r24, 0x14(r1) +/* 8025874C 002556AC 93 01 00 18 */ stw r24, 0x18(r1) +/* 80258750 002556B0 91 81 00 1C */ stw r12, 0x1c(r1) +/* 80258754 002556B4 91 61 00 20 */ stw r11, 0x20(r1) +/* 80258758 002556B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025875C 002556BC 93 01 00 28 */ stw r24, 0x28(r1) +/* 80258760 002556C0 4B FB CF 39 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80258764 002556C4 7C 7B 1B 78 */ mr r27, r3 +lbl_80258768: +/* 80258768 002556C8 7F 40 07 75 */ extsb. r0, r26 +/* 8025876C 002556CC 41 82 00 30 */ beq lbl_8025879C +/* 80258770 002556D0 88 01 01 18 */ lbz r0, 0x118(r1) +/* 80258774 002556D4 28 00 00 00 */ cmplwi r0, 0 +/* 80258778 002556D8 41 82 00 1C */ beq lbl_80258794 +/* 8025877C 002556DC 34 61 01 0C */ addic. r3, r1, 0x10c +/* 80258780 002556E0 41 82 00 14 */ beq lbl_80258794 +/* 80258784 002556E4 28 03 00 00 */ cmplwi r3, 0 +/* 80258788 002556E8 41 82 00 0C */ beq lbl_80258794 +/* 8025878C 002556EC 38 80 00 00 */ li r4, 0 +/* 80258790 002556F0 48 0E 86 B1 */ bl __dt__6CTokenFv +lbl_80258794: +/* 80258794 002556F4 38 00 00 00 */ li r0, 0 +/* 80258798 002556F8 98 01 01 18 */ stb r0, 0x118(r1) +lbl_8025879C: +/* 8025879C 002556FC 28 1B 00 00 */ cmplwi r27, 0 +/* 802587A0 00255700 41 82 00 24 */ beq lbl_802587C4 +/* 802587A4 00255704 7F A3 EB 78 */ mr r3, r29 +/* 802587A8 00255708 7F 64 DB 78 */ mr r4, r27 +/* 802587AC 0025570C 4B DF 45 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 802587B0 00255710 7F 63 DB 78 */ mr r3, r27 +/* 802587B4 00255714 38 9C 06 34 */ addi r4, r28, 0x634 +/* 802587B8 00255718 4B FB B3 15 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 802587BC 0025571C C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) +/* 802587C0 00255720 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) +lbl_802587C4: +/* 802587C4 00255724 3B 40 00 01 */ li r26, 1 +/* 802587C8 00255728 48 00 04 D8 */ b lbl_80258CA0 +/* 802587CC 0025572C 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 802587D0 00255730 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802587D4 00255734 41 82 02 A8 */ beq lbl_80258A7C +/* 802587D8 00255738 3B 1C 0C 3C */ addi r24, r28, 0xc3c +/* 802587DC 0025573C 80 1C 0C 44 */ lwz r0, 0xc44(r28) +/* 802587E0 00255740 28 00 00 00 */ cmplwi r0, 0 +/* 802587E4 00255744 41 82 00 0C */ beq lbl_802587F0 +/* 802587E8 00255748 38 60 00 01 */ li r3, 1 +/* 802587EC 0025574C 48 00 00 3C */ b lbl_80258828 +lbl_802587F0: +/* 802587F0 00255750 88 18 00 04 */ lbz r0, 4(r24) +/* 802587F4 00255754 28 00 00 00 */ cmplwi r0, 0 +/* 802587F8 00255758 41 82 00 2C */ beq lbl_80258824 +/* 802587FC 0025575C 80 78 00 00 */ lwz r3, 0(r24) +/* 80258800 00255760 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80258804 00255764 28 00 00 00 */ cmplwi r0, 0 +/* 80258808 00255768 41 82 00 1C */ beq lbl_80258824 +/* 8025880C 0025576C 7F 03 C3 78 */ mr r3, r24 +/* 80258810 00255770 48 0E 85 FD */ bl GetObj__6CTokenFv +/* 80258814 00255774 80 03 00 04 */ lwz r0, 4(r3) +/* 80258818 00255778 38 60 00 01 */ li r3, 1 +/* 8025881C 0025577C 90 18 00 08 */ stw r0, 8(r24) +/* 80258820 00255780 48 00 00 08 */ b lbl_80258828 +lbl_80258824: +/* 80258824 00255784 38 60 00 00 */ li r3, 0 +lbl_80258828: +/* 80258828 00255788 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025882C 0025578C 41 82 04 74 */ beq lbl_80258CA0 +/* 80258830 00255790 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258834 00255794 7F A3 EB 78 */ mr r3, r29 +/* 80258838 00255798 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025883C 0025579C 38 A0 00 09 */ li r5, 9 +/* 80258840 002557A0 B0 01 00 64 */ sth r0, 0x64(r1) +/* 80258844 002557A4 38 C0 00 08 */ li r6, 8 +/* 80258848 002557A8 B0 01 00 68 */ sth r0, 0x68(r1) +/* 8025884C 002557AC 4B DE CE E5 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80258850 002557B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80258854 002557B4 41 82 04 4C */ beq lbl_80258CA0 +/* 80258858 002557B8 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8025885C 002557BC C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258860 002557C0 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80258864 002557C4 48 0B 9C E1 */ bl Range__9CRandom16Fff +/* 80258868 002557C8 FF A0 08 90 */ fmr f29, f1 +/* 8025886C 002557CC 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80258870 002557D0 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) +/* 80258874 002557D4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80258878 002557D8 48 0B 9C CD */ bl Range__9CRandom16Fff +/* 8025887C 002557DC FF C0 08 90 */ fmr f30, f1 +/* 80258880 002557E0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258884 002557E4 D3 A1 01 4C */ stfs f29, 0x14c(r1) +/* 80258888 002557E8 7F 84 E3 78 */ mr r4, r28 +/* 8025888C 002557EC 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80258890 002557F0 38 BC 0A 30 */ addi r5, r28, 0xa30 +/* 80258894 002557F4 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 80258898 002557F8 D3 C1 01 54 */ stfs f30, 0x154(r1) +/* 8025889C 002557FC 4B E2 00 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 802588A0 00255800 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802588A4 00255804 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 802588A8 00255808 38 A1 01 4C */ addi r5, r1, 0x14c +/* 802588AC 0025580C 48 0B A2 3D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802588B0 00255810 C0 21 00 F4 */ lfs f1, 0xf4(r1) +/* 802588B4 00255814 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802588B8 00255818 C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 802588BC 0025581C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802588C0 00255820 C0 61 00 FC */ lfs f3, 0xfc(r1) +/* 802588C4 00255824 38 61 01 80 */ addi r3, r1, 0x180 +/* 802588C8 00255828 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802588CC 0025582C 38 81 01 40 */ addi r4, r1, 0x140 +/* 802588D0 00255830 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802588D4 00255834 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 802588D8 00255838 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 802588DC 0025583C EC 40 07 B2 */ fmuls f2, f0, f30 +/* 802588E0 00255840 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 802588E4 00255844 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 802588E8 00255848 EC 00 07 72 */ fmuls f0, f0, f29 +/* 802588EC 0025584C 80 FD 08 4C */ lwz r7, 0x84c(r29) +/* 802588F0 00255850 C0 A7 00 60 */ lfs f5, 0x60(r7) +/* 802588F4 00255854 C0 87 00 50 */ lfs f4, 0x50(r7) +/* 802588F8 00255858 C0 67 00 40 */ lfs f3, 0x40(r7) +/* 802588FC 0025585C EC 25 08 2A */ fadds f1, f5, f1 +/* 80258900 00255860 EC 44 10 2A */ fadds f2, f4, f2 +/* 80258904 00255864 D0 81 00 E0 */ stfs f4, 0xe0(r1) +/* 80258908 00255868 EC 03 00 2A */ fadds f0, f3, f0 +/* 8025890C 0025586C D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 80258910 00255870 D0 A1 00 E4 */ stfs f5, 0xe4(r1) +/* 80258914 00255874 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80258918 00255878 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 8025891C 0025587C D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80258920 00255880 48 0B B1 F1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80258924 00255884 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 80258928 00255888 38 81 01 80 */ addi r4, r1, 0x180 +/* 8025892C 0025588C 48 0B A2 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80258930 00255890 C0 41 01 40 */ lfs f2, 0x140(r1) +/* 80258934 00255894 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 80258938 00255898 C0 21 01 44 */ lfs f1, 0x144(r1) +/* 8025893C 0025589C 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 80258940 002558A0 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 80258944 002558A4 38 83 00 85 */ addi r4, r3, 0x85 +/* 80258948 002558A8 D0 41 02 DC */ stfs f2, 0x2dc(r1) +/* 8025894C 002558AC 3B 20 00 00 */ li r25, 0 +/* 80258950 002558B0 38 60 03 D8 */ li r3, 0x3d8 +/* 80258954 002558B4 38 A0 00 00 */ li r5, 0 +/* 80258958 002558B8 D0 21 02 EC */ stfs f1, 0x2ec(r1) +/* 8025895C 002558BC D0 01 02 FC */ stfs f0, 0x2fc(r1) +/* 80258960 002558C0 48 0B CF 0D */ bl __nw__FUlPCcPCc +/* 80258964 002558C4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80258968 002558C8 41 82 00 BC */ beq lbl_80258A24 +/* 8025896C 002558CC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) +/* 80258970 002558D0 38 60 00 00 */ li r3, 0 +/* 80258974 002558D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258978 002558D8 7F A4 EB 78 */ mr r4, r29 +/* 8025897C 002558DC 98 61 00 D8 */ stb r3, 0xd8(r1) +/* 80258980 002558E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80258984 002558E4 3B 20 00 01 */ li r25, 1 +/* 80258988 002558E8 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8025898C 002558EC D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 80258990 002558F0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80258994 002558F4 B0 01 00 60 */ sth r0, 0x60(r1) +/* 80258998 002558F8 A0 BC 00 08 */ lhz r5, 8(r28) +/* 8025899C 002558FC B0 A1 00 5C */ sth r5, 0x5c(r1) +/* 802589A0 00255900 80 1C 00 04 */ lwz r0, 4(r28) +/* 802589A4 00255904 B0 A1 00 58 */ sth r5, 0x58(r1) +/* 802589A8 00255908 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802589AC 0025590C 90 01 00 90 */ stw r0, 0x90(r1) +/* 802589B0 00255910 4B DF 47 2D */ bl AllocateUniqueId__13CStateManagerFv +/* 802589B4 00255914 A0 61 00 50 */ lhz r3, 0x50(r1) +/* 802589B8 00255918 38 01 00 90 */ addi r0, r1, 0x90 +/* 802589BC 0025591C 38 C1 00 5C */ addi r6, r1, 0x5c +/* 802589C0 00255920 38 81 00 60 */ addi r4, r1, 0x60 +/* 802589C4 00255924 B0 61 00 54 */ sth r3, 0x54(r1) +/* 802589C8 00255928 3B 00 00 00 */ li r24, 0 +/* 802589CC 0025592C 39 81 00 C0 */ addi r12, r1, 0xc0 +/* 802589D0 00255930 39 61 00 CC */ addi r11, r1, 0xcc +/* 802589D4 00255934 90 01 00 08 */ stw r0, 8(r1) +/* 802589D8 00255938 7F 63 DB 78 */ mr r3, r27 +/* 802589DC 0025593C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 802589E0 00255940 38 BC 0C 3C */ addi r5, r28, 0xc3c +/* 802589E4 00255944 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802589E8 00255948 38 E1 02 D0 */ addi r7, r1, 0x2d0 +/* 802589EC 0025594C 39 3C 0C 48 */ addi r9, r28, 0xc48 +/* 802589F0 00255950 39 41 00 54 */ addi r10, r1, 0x54 +/* 802589F4 00255954 90 81 00 10 */ stw r4, 0x10(r1) +/* 802589F8 00255958 38 80 00 01 */ li r4, 1 +/* 802589FC 0025595C 38 C0 00 09 */ li r6, 9 +/* 80258A00 00255960 39 00 00 21 */ li r8, 0x21 +/* 80258A04 00255964 93 01 00 14 */ stw r24, 0x14(r1) +/* 80258A08 00255968 93 01 00 18 */ stw r24, 0x18(r1) +/* 80258A0C 0025596C 91 81 00 1C */ stw r12, 0x1c(r1) +/* 80258A10 00255970 91 61 00 20 */ stw r11, 0x20(r1) +/* 80258A14 00255974 90 01 00 24 */ stw r0, 0x24(r1) +/* 80258A18 00255978 93 01 00 28 */ stw r24, 0x28(r1) +/* 80258A1C 0025597C 4B FB CC 7D */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80258A20 00255980 7C 7B 1B 78 */ mr r27, r3 +lbl_80258A24: +/* 80258A24 00255984 7F 20 07 75 */ extsb. r0, r25 +/* 80258A28 00255988 41 82 00 30 */ beq lbl_80258A58 +/* 80258A2C 0025598C 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 80258A30 00255990 28 00 00 00 */ cmplwi r0, 0 +/* 80258A34 00255994 41 82 00 1C */ beq lbl_80258A50 +/* 80258A38 00255998 34 61 00 CC */ addic. r3, r1, 0xcc +/* 80258A3C 0025599C 41 82 00 14 */ beq lbl_80258A50 +/* 80258A40 002559A0 28 03 00 00 */ cmplwi r3, 0 +/* 80258A44 002559A4 41 82 00 0C */ beq lbl_80258A50 +/* 80258A48 002559A8 38 80 00 00 */ li r4, 0 +/* 80258A4C 002559AC 48 0E 83 F5 */ bl __dt__6CTokenFv +lbl_80258A50: +/* 80258A50 002559B0 38 00 00 00 */ li r0, 0 +/* 80258A54 002559B4 98 01 00 D8 */ stb r0, 0xd8(r1) +lbl_80258A58: +/* 80258A58 002559B8 28 1B 00 00 */ cmplwi r27, 0 +/* 80258A5C 002559BC 41 82 02 44 */ beq lbl_80258CA0 +/* 80258A60 002559C0 7F A3 EB 78 */ mr r3, r29 +/* 80258A64 002559C4 7F 64 DB 78 */ mr r4, r27 +/* 80258A68 002559C8 4B DF 42 8D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80258A6C 002559CC 7F 63 DB 78 */ mr r3, r27 +/* 80258A70 002559D0 38 9C 07 28 */ addi r4, r28, 0x728 +/* 80258A74 002559D4 4B FB B0 59 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData +/* 80258A78 002559D8 48 00 02 28 */ b lbl_80258CA0 +lbl_80258A7C: +/* 80258A7C 002559DC 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258A80 002559E0 2C 00 00 03 */ cmpwi r0, 3 +/* 80258A84 002559E4 40 82 02 1C */ bne lbl_80258CA0 +/* 80258A88 002559E8 88 1C 0A 31 */ lbz r0, 0xa31(r28) +/* 80258A8C 002559EC 38 60 00 00 */ li r3, 0 +/* 80258A90 002559F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80258A94 002559F4 98 1C 0A 31 */ stb r0, 0xa31(r28) +/* 80258A98 002559F8 48 00 02 08 */ b lbl_80258CA0 +/* 80258A9C 002559FC 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 80258AA0 00255A00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80258AA4 00255A04 41 82 01 FC */ beq lbl_80258CA0 +/* 80258AA8 00255A08 7F A6 EB 78 */ mr r6, r29 +/* 80258AAC 00255A0C 38 80 00 28 */ li r4, 0x28 +/* 80258AB0 00255A10 38 A0 00 29 */ li r5, 0x29 +/* 80258AB4 00255A14 4B DF B4 21 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80258AB8 00255A18 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258ABC 00255A1C 7F A6 EB 78 */ mr r6, r29 +/* 80258AC0 00255A20 38 81 00 4C */ addi r4, r1, 0x4c +/* 80258AC4 00255A24 38 A0 00 08 */ li r5, 8 +/* 80258AC8 00255A28 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80258ACC 00255A2C B0 01 00 48 */ sth r0, 0x48(r1) +/* 80258AD0 00255A30 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80258AD4 00255A34 4B F2 27 81 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 80258AD8 00255A38 3B 40 00 01 */ li r26, 1 +/* 80258ADC 00255A3C 48 00 01 C4 */ b lbl_80258CA0 +/* 80258AE0 00255A40 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 80258AE4 00255A44 38 84 67 00 */ addi r4, r4, lbl_805A6700@l +/* 80258AE8 00255A48 4B EC 21 B9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80258AEC 00255A4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80258AF0 00255A50 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80258AF4 00255A54 D0 1C 0A EC */ stfs f0, 0xaec(r28) +/* 80258AF8 00255A58 C0 03 00 04 */ lfs f0, 4(r3) +/* 80258AFC 00255A5C D0 1C 0A F0 */ stfs f0, 0xaf0(r28) +/* 80258B00 00255A60 C0 03 00 08 */ lfs f0, 8(r3) +/* 80258B04 00255A64 D0 1C 0A F4 */ stfs f0, 0xaf4(r28) +/* 80258B08 00255A68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80258B0C 00255A6C D0 1C 0A F8 */ stfs f0, 0xaf8(r28) +/* 80258B10 00255A70 C0 03 00 04 */ lfs f0, 4(r3) +/* 80258B14 00255A74 D0 1C 0A FC */ stfs f0, 0xafc(r28) +/* 80258B18 00255A78 C0 03 00 08 */ lfs f0, 8(r3) +/* 80258B1C 00255A7C D0 1C 0B 00 */ stfs f0, 0xb00(r28) +/* 80258B20 00255A80 48 00 01 80 */ b lbl_80258CA0 +/* 80258B24 00255A84 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 80258B28 00255A88 38 60 00 00 */ li r3, 0 +/* 80258B2C 00255A8C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80258B30 00255A90 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80258B34 00255A94 98 1C 03 28 */ stb r0, 0x328(r28) +/* 80258B38 00255A98 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 80258B3C 00255A9C C0 1C 00 60 */ lfs f0, 0x60(r28) +/* 80258B40 00255AA0 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80258B44 00255AA4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80258B48 00255AA8 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 80258B4C 00255AAC EC 25 00 28 */ fsubs f1, f5, f0 +/* 80258B50 00255AB0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80258B54 00255AB4 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 80258B58 00255AB8 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80258B5C 00255ABC D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80258B60 00255AC0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80258B64 00255AC4 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 80258B68 00255AC8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 80258B6C 00255ACC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80258B70 00255AD0 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 80258B74 00255AD4 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80258B78 00255AD8 48 0B BD 41 */ bl Magnitude__9CVector3fCFv +/* 80258B7C 00255ADC C0 1C 08 F0 */ lfs f0, 0x8f0(r28) +/* 80258B80 00255AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80258B84 00255AE4 40 80 01 1C */ bge lbl_80258CA0 +/* 80258B88 00255AE8 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80258B8C 00255AEC 38 60 00 00 */ li r3, 0 +/* 80258B90 00255AF0 38 80 00 01 */ li r4, 1 +/* 80258B94 00255AF4 48 13 13 61 */ bl __shl2i +/* 80258B98 00255AF8 39 40 00 00 */ li r10, 0 +/* 80258B9C 00255AFC 38 00 00 03 */ li r0, 3 +/* 80258BA0 00255B00 90 81 01 6C */ stw r4, 0x16c(r1) +/* 80258BA4 00255B04 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80258BA8 00255B08 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80258BAC 00255B0C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80258BB0 00255B10 90 61 01 68 */ stw r3, 0x168(r1) +/* 80258BB4 00255B14 38 81 00 44 */ addi r4, r1, 0x44 +/* 80258BB8 00255B18 7F A3 EB 78 */ mr r3, r29 +/* 80258BBC 00255B1C 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80258BC0 00255B20 91 41 01 74 */ stw r10, 0x174(r1) +/* 80258BC4 00255B24 38 FC 08 00 */ addi r7, r28, 0x800 +/* 80258BC8 00255B28 39 01 01 68 */ addi r8, r1, 0x168 +/* 80258BCC 00255B2C 91 41 01 70 */ stw r10, 0x170(r1) +/* 80258BD0 00255B30 90 01 01 78 */ stw r0, 0x178(r1) +/* 80258BD4 00255B34 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258BD8 00255B38 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80258BDC 00255B3C 81 5D 08 4C */ lwz r10, 0x84c(r29) +/* 80258BE0 00255B40 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80258BE4 00255B44 A1 4A 00 08 */ lhz r10, 8(r10) +/* 80258BE8 00255B48 B1 41 00 3C */ sth r10, 0x3c(r1) +/* 80258BEC 00255B4C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80258BF0 00255B50 B1 41 00 38 */ sth r10, 0x38(r1) +/* 80258BF4 00255B54 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80258BF8 00255B58 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80258BFC 00255B5C 4B DF 14 A5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80258C00 00255B60 48 00 00 A0 */ b lbl_80258CA0 +/* 80258C04 00255B64 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258C08 00255B68 38 60 00 01 */ li r3, 1 +/* 80258C0C 00255B6C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258C10 00255B70 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80258C14 00255B74 48 00 00 8C */ b lbl_80258CA0 +/* 80258C18 00255B78 88 1C 0A 32 */ lbz r0, 0xa32(r28) +/* 80258C1C 00255B7C 38 60 00 00 */ li r3, 0 +/* 80258C20 00255B80 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258C24 00255B84 98 1C 0A 32 */ stb r0, 0xa32(r28) +/* 80258C28 00255B88 48 00 00 78 */ b lbl_80258CA0 +/* 80258C2C 00255B8C 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258C30 00255B90 2C 00 00 03 */ cmpwi r0, 3 +/* 80258C34 00255B94 41 82 00 28 */ beq lbl_80258C5C +/* 80258C38 00255B98 40 80 00 68 */ bge lbl_80258CA0 +/* 80258C3C 00255B9C 2C 00 00 02 */ cmpwi r0, 2 +/* 80258C40 00255BA0 40 80 00 08 */ bge lbl_80258C48 +/* 80258C44 00255BA4 48 00 00 5C */ b lbl_80258CA0 +lbl_80258C48: +/* 80258C48 00255BA8 88 1C 0A 33 */ lbz r0, 0xa33(r28) +/* 80258C4C 00255BAC 38 60 00 00 */ li r3, 0 +/* 80258C50 00255BB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80258C54 00255BB4 98 1C 0A 33 */ stb r0, 0xa33(r28) +/* 80258C58 00255BB8 48 00 00 48 */ b lbl_80258CA0 +lbl_80258C5C: +/* 80258C5C 00255BBC 4B FF EB F1 */ bl sub_8025784c +/* 80258C60 00255BC0 48 00 00 40 */ b lbl_80258CA0 +/* 80258C64 00255BC4 80 1C 0C 64 */ lwz r0, 0xc64(r28) +/* 80258C68 00255BC8 2C 00 00 03 */ cmpwi r0, 3 +/* 80258C6C 00255BCC 41 82 00 30 */ beq lbl_80258C9C +/* 80258C70 00255BD0 40 80 00 30 */ bge lbl_80258CA0 +/* 80258C74 00255BD4 2C 00 00 02 */ cmpwi r0, 2 +/* 80258C78 00255BD8 40 80 00 08 */ bge lbl_80258C80 +/* 80258C7C 00255BDC 48 00 00 24 */ b lbl_80258CA0 +lbl_80258C80: +/* 80258C80 00255BE0 88 7C 0A 33 */ lbz r3, 0xa33(r28) +/* 80258C84 00255BE4 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80258C88 00255BE8 41 82 00 18 */ beq lbl_80258CA0 +/* 80258C8C 00255BEC 38 00 00 01 */ li r0, 1 +/* 80258C90 00255BF0 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 80258C94 00255BF4 98 7C 0A 33 */ stb r3, 0xa33(r28) +/* 80258C98 00255BF8 48 00 00 08 */ b lbl_80258CA0 +lbl_80258C9C: +/* 80258C9C 00255BFC 4B FF E9 B5 */ bl sub_80257650 +lbl_80258CA0: +/* 80258CA0 00255C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80258CA4 00255C04 40 82 00 1C */ bne lbl_80258CC0 +/* 80258CA8 00255C08 FC 20 F8 90 */ fmr f1, f31 +/* 80258CAC 00255C0C 7F 83 E3 78 */ mr r3, r28 +/* 80258CB0 00255C10 7F A4 EB 78 */ mr r4, r29 +/* 80258CB4 00255C14 7F C5 F3 78 */ mr r5, r30 +/* 80258CB8 00255C18 7F E6 FB 78 */ mr r6, r31 +/* 80258CBC 00255C1C 4B E2 01 F5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80258CC0: +/* 80258CC0 00255C20 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 +/* 80258CC4 00255C24 CB E1 03 A0 */ lfd f31, 0x3a0(r1) +/* 80258CC8 00255C28 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 +/* 80258CCC 00255C2C CB C1 03 90 */ lfd f30, 0x390(r1) +/* 80258CD0 00255C30 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 +/* 80258CD4 00255C34 CB A1 03 80 */ lfd f29, 0x380(r1) +/* 80258CD8 00255C38 BB 01 03 60 */ lmw r24, 0x360(r1) +/* 80258CDC 00255C3C 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 80258CE0 00255C40 7C 08 03 A6 */ mtlr r0 +/* 80258CE4 00255C44 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 80258CE8 00255C48 4E 80 00 20 */ blr + +.global AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80258CEC 00255C4C 94 21 FC B0 */ stwu r1, -0x350(r1) +/* 80258CF0 00255C50 7C 08 02 A6 */ mflr r0 +/* 80258CF4 00255C54 90 01 03 54 */ stw r0, 0x354(r1) +/* 80258CF8 00255C58 DB E1 03 40 */ stfd f31, 0x340(r1) +/* 80258CFC 00255C5C F3 E1 03 48 */ psq_st f31, 840(r1), 0, qr0 +/* 80258D00 00255C60 DB C1 03 30 */ stfd f30, 0x330(r1) +/* 80258D04 00255C64 F3 C1 03 38 */ psq_st f30, 824(r1), 0, qr0 +/* 80258D08 00255C68 BF 41 03 18 */ stmw r26, 0x318(r1) +/* 80258D0C 00255C6C 7C BA 2B 78 */ mr r26, r5 +/* 80258D10 00255C70 7C 7F 1B 78 */ mr r31, r3 +/* 80258D14 00255C74 A0 05 00 00 */ lhz r0, 0(r5) +/* 80258D18 00255C78 7C 9B 23 78 */ mr r27, r4 +/* 80258D1C 00255C7C 7C DE 33 78 */ mr r30, r6 +/* 80258D20 00255C80 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80258D24 00255C84 B0 01 00 98 */ sth r0, 0x98(r1) +/* 80258D28 00255C88 4B E2 3E 51 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80258D2C 00255C8C 28 1B 00 2A */ cmplwi r27, 0x2a +/* 80258D30 00255C90 41 81 0F 7C */ bgt lbl_80259CAC +/* 80258D34 00255C94 3C 60 80 3F */ lis r3, lbl_803E95A4@ha +/* 80258D38 00255C98 57 60 10 3A */ slwi r0, r27, 2 +/* 80258D3C 00255C9C 38 63 95 A4 */ addi r3, r3, lbl_803E95A4@l +/* 80258D40 00255CA0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80258D44 00255CA4 7C 09 03 A6 */ mtctr r0 +/* 80258D48 00255CA8 4E 80 04 20 */ bctr +/* 80258D4C 00255CAC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80258D50 00255CB0 7F C4 F3 78 */ mr r4, r30 +/* 80258D54 00255CB4 4B EE 1F 9D */ bl Activate__15CBodyControllerFR13CStateManager +/* 80258D58 00255CB8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80258D5C 00255CBC 38 80 00 01 */ li r4, 1 +/* 80258D60 00255CC0 4B EE 1C 79 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80258D64 00255CC4 7F E3 FB 78 */ mr r3, r31 +/* 80258D68 00255CC8 7F C4 F3 78 */ mr r4, r30 +/* 80258D6C 00255CCC 4B FF E2 D9 */ bl sub_80257044 +/* 80258D70 00255CD0 7F E3 FB 78 */ mr r3, r31 +/* 80258D74 00255CD4 7F C4 F3 78 */ mr r4, r30 +/* 80258D78 00255CD8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80258D7C 00255CDC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80258D80 00255CE0 7D 89 03 A6 */ mtctr r12 +/* 80258D84 00255CE4 4E 80 04 21 */ bctrl +/* 80258D88 00255CE8 C0 03 00 00 */ lfs f0, 0(r3) +/* 80258D8C 00255CEC C0 22 B9 1C */ lfs f1, lbl_805AD63C@sda21(r2) +/* 80258D90 00255CF0 D0 1F 0C B8 */ stfs f0, 0xcb8(r31) +/* 80258D94 00255CF4 C0 1F 0C B8 */ lfs f0, 0xcb8(r31) +/* 80258D98 00255CF8 D0 1F 0B 10 */ stfs f0, 0xb10(r31) +/* 80258D9C 00255CFC C0 1F 0C B8 */ lfs f0, 0xcb8(r31) +/* 80258DA0 00255D00 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80258DA4 00255D04 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80258DA8 00255D08 48 00 0F 04 */ b lbl_80259CAC +/* 80258DAC 00255D0C 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80258DB0 00255D10 38 60 00 01 */ li r3, 1 +/* 80258DB4 00255D14 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80258DB8 00255D18 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80258DBC 00255D1C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80258DC0 00255D20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80258DC4 00255D24 40 82 0E E8 */ bne lbl_80259CAC +/* 80258DC8 00255D28 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80258DCC 00255D2C 7F E3 FB 78 */ mr r3, r31 +/* 80258DD0 00255D30 7F C6 F3 78 */ mr r6, r30 +/* 80258DD4 00255D34 38 A1 00 94 */ addi r5, r1, 0x94 +/* 80258DD8 00255D38 B0 01 00 94 */ sth r0, 0x94(r1) +/* 80258DDC 00255D3C 38 80 00 01 */ li r4, 1 +/* 80258DE0 00255D40 4B E2 3D 99 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80258DE4 00255D44 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80258DE8 00255D48 7F C3 F3 78 */ mr r3, r30 +/* 80258DEC 00255D4C 38 81 00 90 */ addi r4, r1, 0x90 +/* 80258DF0 00255D50 38 A0 00 5A */ li r5, 0x5a +/* 80258DF4 00255D54 B0 01 00 90 */ sth r0, 0x90(r1) +/* 80258DF8 00255D58 C0 3F 0C B8 */ lfs f1, 0xcb8(r31) +/* 80258DFC 00255D5C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80258E00 00255D60 C0 5F 0B 1C */ lfs f2, 0xb1c(r31) +/* 80258E04 00255D64 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258E08 00255D68 B0 01 00 8C */ sth r0, 0x8c(r1) +/* 80258E0C 00255D6C EC 22 00 2A */ fadds f1, f2, f0 +/* 80258E10 00255D70 4B DE B1 35 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi +/* 80258E14 00255D74 C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 80258E18 00255D78 7F E3 FB 78 */ mr r3, r31 +/* 80258E1C 00255D7C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80258E20 00255D80 7F C4 F3 78 */ mr r4, r30 +/* 80258E24 00255D84 81 9F 00 00 */ lwz r12, 0(r31) +/* 80258E28 00255D88 EC 01 00 2A */ fadds f0, f1, f0 +/* 80258E2C 00255D8C C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80258E30 00255D90 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80258E34 00255D94 EF E1 00 2A */ fadds f31, f1, f0 +/* 80258E38 00255D98 7D 89 03 A6 */ mtctr r12 +/* 80258E3C 00255D9C 4E 80 04 21 */ bctrl +/* 80258E40 00255DA0 D3 E3 00 00 */ stfs f31, 0(r3) +/* 80258E44 00255DA4 38 60 00 01 */ li r3, 1 +/* 80258E48 00255DA8 C0 22 B9 B4 */ lfs f1, lbl_805AD6D4@sda21(r2) +/* 80258E4C 00255DAC 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80258E50 00255DB0 C0 02 B9 B8 */ lfs f0, lbl_805AD6D8@sda21(r2) +/* 80258E54 00255DB4 88 04 09 C6 */ lbz r0, 0x9c6(r4) +/* 80258E58 00255DB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80258E5C 00255DBC 98 04 09 C6 */ stb r0, 0x9c6(r4) +/* 80258E60 00255DC0 D0 24 0A 20 */ stfs f1, 0xa20(r4) +/* 80258E64 00255DC4 D0 04 0A 24 */ stfs f0, 0xa24(r4) +/* 80258E68 00255DC8 48 00 0E 44 */ b lbl_80259CAC +/* 80258E6C 00255DCC 80 7F 09 84 */ lwz r3, 0x984(r31) +/* 80258E70 00255DD0 7F C4 F3 78 */ mr r4, r30 +/* 80258E74 00255DD4 38 A0 00 00 */ li r5, 0 +/* 80258E78 00255DD8 4B F4 E4 81 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80258E7C 00255DDC 80 7F 09 80 */ lwz r3, 0x980(r31) +/* 80258E80 00255DE0 7F C4 F3 78 */ mr r4, r30 +/* 80258E84 00255DE4 38 A0 00 00 */ li r5, 0 +/* 80258E88 00255DE8 4B F4 E4 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb +/* 80258E8C 00255DEC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80258E90 00255DF0 38 80 00 00 */ li r4, 0 +/* 80258E94 00255DF4 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80258E98 00255DF8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80258E9C 00255DFC 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80258EA0 00255E00 48 00 0E 0C */ b lbl_80259CAC +/* 80258EA4 00255E04 80 7F 09 84 */ lwz r3, 0x984(r31) +/* 80258EA8 00255E08 7F C4 F3 78 */ mr r4, r30 +/* 80258EAC 00255E0C 4B F4 E5 19 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80258EB0 00255E10 80 7F 09 80 */ lwz r3, 0x980(r31) +/* 80258EB4 00255E14 7F C4 F3 78 */ mr r4, r30 +/* 80258EB8 00255E18 4B F4 E5 0D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager +/* 80258EBC 00255E1C A0 7F 0B 64 */ lhz r3, 0xb64(r31) +/* 80258EC0 00255E20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258EC4 00255E24 7C 03 00 40 */ cmplw r3, r0 +/* 80258EC8 00255E28 41 82 0D E4 */ beq lbl_80259CAC +/* 80258ECC 00255E2C A0 1F 0B 64 */ lhz r0, 0xb64(r31) +/* 80258ED0 00255E30 7F C3 F3 78 */ mr r3, r30 +/* 80258ED4 00255E34 38 81 00 88 */ addi r4, r1, 0x88 +/* 80258ED8 00255E38 B0 01 00 88 */ sth r0, 0x88(r1) +/* 80258EDC 00255E3C 4B DF 33 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80258EE0 00255E40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258EE4 00255E44 B0 1F 0B 64 */ sth r0, 0xb64(r31) +/* 80258EE8 00255E48 48 00 0D C4 */ b lbl_80259CAC +/* 80258EEC 00255E4C 7F E4 FB 78 */ mr r4, r31 +/* 80258EF0 00255E50 7F C5 F3 78 */ mr r5, r30 +/* 80258EF4 00255E54 38 61 00 84 */ addi r3, r1, 0x84 +/* 80258EF8 00255E58 38 C0 00 0D */ li r6, 0xd +/* 80258EFC 00255E5C 38 E0 00 06 */ li r7, 6 +/* 80258F00 00255E60 4B F9 C0 99 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80258F04 00255E64 A0 61 00 84 */ lhz r3, 0x84(r1) +/* 80258F08 00255E68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80258F0C 00255E6C B0 61 00 A4 */ sth r3, 0xa4(r1) +/* 80258F10 00255E70 7C 03 00 40 */ cmplw r3, r0 +/* 80258F14 00255E74 41 82 0D 98 */ beq lbl_80259CAC +/* 80258F18 00255E78 B0 61 00 80 */ sth r3, 0x80(r1) +/* 80258F1C 00255E7C 7F C3 F3 78 */ mr r3, r30 +/* 80258F20 00255E80 38 81 00 80 */ addi r4, r1, 0x80 +/* 80258F24 00255E84 4B DF 36 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80258F28 00255E88 7C 64 1B 78 */ mr r4, r3 +/* 80258F2C 00255E8C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80258F30 00255E90 4B E4 D6 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80258F34 00255E94 83 43 00 04 */ lwz r26, 4(r3) +/* 80258F38 00255E98 28 1A 00 00 */ cmplwi r26, 0 +/* 80258F3C 00255E9C 41 82 0D 70 */ beq lbl_80259CAC +/* 80258F40 00255EA0 38 7F 0A 84 */ addi r3, r31, 0xa84 +/* 80258F44 00255EA4 38 9A 00 34 */ addi r4, r26, 0x34 +/* 80258F48 00255EA8 48 0B 9B F9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80258F4C 00255EAC 7F 44 D3 78 */ mr r4, r26 +/* 80258F50 00255EB0 7F C5 F3 78 */ mr r5, r30 +/* 80258F54 00255EB4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80258F58 00255EB8 4B E1 E1 DD */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80258F5C 00255EBC A0 01 00 78 */ lhz r0, 0x78(r1) +/* 80258F60 00255EC0 7F C3 F3 78 */ mr r3, r30 +/* 80258F64 00255EC4 38 81 00 7C */ addi r4, r1, 0x7c +/* 80258F68 00255EC8 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 80258F6C 00255ECC 4B DF 36 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80258F70 00255ED0 7C 64 1B 78 */ mr r4, r3 +/* 80258F74 00255ED4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80258F78 00255ED8 4B E4 D5 D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80258F7C 00255EDC 83 63 00 04 */ lwz r27, 4(r3) +/* 80258F80 00255EE0 28 1B 00 00 */ cmplwi r27, 0 +/* 80258F84 00255EE4 41 82 0D 28 */ beq lbl_80259CAC +/* 80258F88 00255EE8 C0 9B 00 50 */ lfs f4, 0x50(r27) +/* 80258F8C 00255EEC 38 61 01 08 */ addi r3, r1, 0x108 +/* 80258F90 00255EF0 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80258F94 00255EF4 C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 80258F98 00255EF8 EC 44 08 28 */ fsubs f2, f4, f1 +/* 80258F9C 00255EFC C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 80258FA0 00255F00 C0 BB 00 60 */ lfs f5, 0x60(r27) +/* 80258FA4 00255F04 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 80258FA8 00255F08 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80258FAC 00255F0C D0 01 01 AC */ stfs f0, 0x1ac(r1) +/* 80258FB0 00255F10 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80258FB4 00255F14 D0 81 01 B0 */ stfs f4, 0x1b0(r1) +/* 80258FB8 00255F18 D0 A1 01 B4 */ stfs f5, 0x1b4(r1) +/* 80258FBC 00255F1C D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 80258FC0 00255F20 D0 41 01 BC */ stfs f2, 0x1bc(r1) +/* 80258FC4 00255F24 D0 61 01 C0 */ stfs f3, 0x1c0(r1) +/* 80258FC8 00255F28 48 0B B2 39 */ bl __ct__9CVector2fFff +/* 80258FCC 00255F2C 38 61 01 08 */ addi r3, r1, 0x108 +/* 80258FD0 00255F30 48 0B B1 25 */ bl Magnitude__9CVector2fCFv +/* 80258FD4 00255F34 D0 3F 0A B4 */ stfs f1, 0xab4(r31) +/* 80258FD8 00255F38 7F 64 DB 78 */ mr r4, r27 +/* 80258FDC 00255F3C 7F C5 F3 78 */ mr r5, r30 +/* 80258FE0 00255F40 38 61 00 70 */ addi r3, r1, 0x70 +/* 80258FE4 00255F44 C0 9F 0A B0 */ lfs f4, 0xab0(r31) +/* 80258FE8 00255F48 C0 DB 00 60 */ lfs f6, 0x60(r27) +/* 80258FEC 00255F4C C0 7F 0A A0 */ lfs f3, 0xaa0(r31) +/* 80258FF0 00255F50 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 80258FF4 00255F54 EC 06 20 28 */ fsubs f0, f6, f4 +/* 80258FF8 00255F58 C0 BB 00 50 */ lfs f5, 0x50(r27) +/* 80258FFC 00255F5C C0 3B 00 40 */ lfs f1, 0x40(r27) +/* 80259000 00255F60 D0 41 01 94 */ stfs f2, 0x194(r1) +/* 80259004 00255F64 D0 61 01 98 */ stfs f3, 0x198(r1) +/* 80259008 00255F68 D0 81 01 9C */ stfs f4, 0x19c(r1) +/* 8025900C 00255F6C D0 21 01 A0 */ stfs f1, 0x1a0(r1) +/* 80259010 00255F70 D0 A1 01 A4 */ stfs f5, 0x1a4(r1) +/* 80259014 00255F74 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) +/* 80259018 00255F78 D0 1F 0A B8 */ stfs f0, 0xab8(r31) +/* 8025901C 00255F7C 4B E1 E1 19 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 80259020 00255F80 A0 01 00 70 */ lhz r0, 0x70(r1) +/* 80259024 00255F84 7F C3 F3 78 */ mr r3, r30 +/* 80259028 00255F88 38 81 00 74 */ addi r4, r1, 0x74 +/* 8025902C 00255F8C B0 01 00 74 */ sth r0, 0x74(r1) +/* 80259030 00255F90 4B DF 35 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259034 00255F94 7C 64 1B 78 */ mr r4, r3 +/* 80259038 00255F98 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8025903C 00255F9C 4B E4 D5 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80259040 00255FA0 83 43 00 04 */ lwz r26, 4(r3) +/* 80259044 00255FA4 28 1A 00 00 */ cmplwi r26, 0 +/* 80259048 00255FA8 41 82 0C 64 */ beq lbl_80259CAC +/* 8025904C 00255FAC C0 9A 00 50 */ lfs f4, 0x50(r26) +/* 80259050 00255FB0 38 61 01 00 */ addi r3, r1, 0x100 +/* 80259054 00255FB4 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) +/* 80259058 00255FB8 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 8025905C 00255FBC EC 44 08 28 */ fsubs f2, f4, f1 +/* 80259060 00255FC0 C0 3F 0A 90 */ lfs f1, 0xa90(r31) +/* 80259064 00255FC4 C0 BA 00 60 */ lfs f5, 0x60(r26) +/* 80259068 00255FC8 C0 7F 0A B0 */ lfs f3, 0xab0(r31) +/* 8025906C 00255FCC EC 20 08 28 */ fsubs f1, f0, f1 +/* 80259070 00255FD0 D0 01 01 7C */ stfs f0, 0x17c(r1) +/* 80259074 00255FD4 EC 65 18 28 */ fsubs f3, f5, f3 +/* 80259078 00255FD8 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 8025907C 00255FDC D0 A1 01 84 */ stfs f5, 0x184(r1) +/* 80259080 00255FE0 D0 21 01 88 */ stfs f1, 0x188(r1) +/* 80259084 00255FE4 D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 80259088 00255FE8 D0 61 01 90 */ stfs f3, 0x190(r1) +/* 8025908C 00255FEC 48 0B B1 75 */ bl __ct__9CVector2fFff +/* 80259090 00255FF0 38 61 01 00 */ addi r3, r1, 0x100 +/* 80259094 00255FF4 48 0B B0 61 */ bl Magnitude__9CVector2fCFv +/* 80259098 00255FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) +/* 8025909C 00255FFC 38 61 02 78 */ addi r3, r1, 0x278 +/* 802590A0 00256000 C0 C2 B9 18 */ lfs f6, lbl_805AD638@sda21(r2) +/* 802590A4 00256004 38 81 01 58 */ addi r4, r1, 0x158 +/* 802590A8 00256008 C1 7F 0A B0 */ lfs f11, 0xab0(r31) +/* 802590AC 0025600C 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802590B0 00256010 C3 FA 00 60 */ lfs f31, 0x60(r26) +/* 802590B4 00256014 C1 5F 0A A0 */ lfs f10, 0xaa0(r31) +/* 802590B8 00256018 C0 5F 0A 90 */ lfs f2, 0xa90(r31) +/* 802590BC 0025601C EC 1F 58 28 */ fsubs f0, f31, f11 +/* 802590C0 00256020 C1 BA 00 50 */ lfs f13, 0x50(r26) +/* 802590C4 00256024 C1 3A 00 40 */ lfs f9, 0x40(r26) +/* 802590C8 00256028 C0 82 B9 34 */ lfs f4, lbl_805AD654@sda21(r2) +/* 802590CC 0025602C D0 1F 0A C0 */ stfs f0, 0xac0(r31) +/* 802590D0 00256030 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 802590D4 00256034 C0 3F 0A B0 */ lfs f1, 0xab0(r31) +/* 802590D8 00256038 C1 9F 0A A0 */ lfs f12, 0xaa0(r31) +/* 802590DC 0025603C C3 DF 0A BC */ lfs f30, 0xabc(r31) +/* 802590E0 00256040 EC A1 30 2A */ fadds f5, f1, f6 +/* 802590E4 00256044 C0 7F 0A 90 */ lfs f3, 0xa90(r31) +/* 802590E8 00256048 EC 21 30 28 */ fsubs f1, f1, f6 +/* 802590EC 0025604C EC EC F0 2A */ fadds f7, f12, f30 +/* 802590F0 00256050 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 802590F4 00256054 ED 03 F0 2A */ fadds f8, f3, f30 +/* 802590F8 00256058 EC 63 F0 28 */ fsubs f3, f3, f30 +/* 802590FC 0025605C D1 41 01 68 */ stfs f10, 0x168(r1) +/* 80259100 00256060 EC 4C F0 28 */ fsubs f2, f12, f30 +/* 80259104 00256064 ED 87 30 2A */ fadds f12, f7, f6 +/* 80259108 00256068 D1 61 01 6C */ stfs f11, 0x16c(r1) +/* 8025910C 0025606C ED 65 20 2A */ fadds f11, f5, f4 +/* 80259110 00256070 EC 88 30 2A */ fadds f4, f8, f6 +/* 80259114 00256074 D1 21 01 70 */ stfs f9, 0x170(r1) +/* 80259118 00256078 ED 42 30 28 */ fsubs f10, f2, f6 +/* 8025911C 0025607C ED 21 00 28 */ fsubs f9, f1, f0 +/* 80259120 00256080 D1 A1 01 74 */ stfs f13, 0x174(r1) +/* 80259124 00256084 EC 03 30 28 */ fsubs f0, f3, f6 +/* 80259128 00256088 D3 E1 01 78 */ stfs f31, 0x178(r1) +/* 8025912C 0025608C D1 01 01 34 */ stfs f8, 0x134(r1) +/* 80259130 00256090 D0 E1 01 38 */ stfs f7, 0x138(r1) +/* 80259134 00256094 D0 A1 01 3C */ stfs f5, 0x13c(r1) +/* 80259138 00256098 D0 81 01 40 */ stfs f4, 0x140(r1) +/* 8025913C 0025609C D1 81 01 44 */ stfs f12, 0x144(r1) +/* 80259140 002560A0 D1 61 01 48 */ stfs f11, 0x148(r1) +/* 80259144 002560A4 D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 80259148 002560A8 D0 41 01 50 */ stfs f2, 0x150(r1) +/* 8025914C 002560AC D0 21 01 54 */ stfs f1, 0x154(r1) +/* 80259150 002560B0 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 80259154 002560B4 D1 41 01 5C */ stfs f10, 0x15c(r1) +/* 80259158 002560B8 D1 21 01 60 */ stfs f9, 0x160(r1) +/* 8025915C 002560BC 48 0D F3 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80259160 002560C0 80 61 02 78 */ lwz r3, 0x278(r1) +/* 80259164 002560C4 80 01 02 7C */ lwz r0, 0x27c(r1) +/* 80259168 002560C8 90 7F 0A C4 */ stw r3, 0xac4(r31) +/* 8025916C 002560CC 90 1F 0A C8 */ stw r0, 0xac8(r31) +/* 80259170 002560D0 80 01 02 80 */ lwz r0, 0x280(r1) +/* 80259174 002560D4 90 1F 0A CC */ stw r0, 0xacc(r31) +/* 80259178 002560D8 80 61 02 84 */ lwz r3, 0x284(r1) +/* 8025917C 002560DC 80 01 02 88 */ lwz r0, 0x288(r1) +/* 80259180 002560E0 90 7F 0A D0 */ stw r3, 0xad0(r31) +/* 80259184 002560E4 90 1F 0A D4 */ stw r0, 0xad4(r31) +/* 80259188 002560E8 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 8025918C 002560EC 90 1F 0A D8 */ stw r0, 0xad8(r31) +/* 80259190 002560F0 48 00 0B 1C */ b lbl_80259CAC +/* 80259194 002560F4 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259198 002560F8 7F C3 F3 78 */ mr r3, r30 +/* 8025919C 002560FC 38 81 00 6C */ addi r4, r1, 0x6c +/* 802591A0 00256100 B0 01 00 6C */ sth r0, 0x6c(r1) +/* 802591A4 00256104 4B DF 33 D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802591A8 00256108 7C 64 1B 78 */ mr r4, r3 +/* 802591AC 0025610C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802591B0 00256110 4B E5 61 9D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 802591B4 00256114 83 A3 00 04 */ lwz r29, 4(r3) +/* 802591B8 00256118 28 1D 00 00 */ cmplwi r29, 0 +/* 802591BC 0025611C 41 82 0A F0 */ beq lbl_80259CAC +/* 802591C0 00256120 7F A3 EB 78 */ mr r3, r29 +/* 802591C4 00256124 7F C4 F3 78 */ mr r4, r30 +/* 802591C8 00256128 81 9D 00 00 */ lwz r12, 0(r29) +/* 802591CC 0025612C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802591D0 00256130 7D 89 03 A6 */ mtctr r12 +/* 802591D4 00256134 4E 80 04 21 */ bctrl +/* 802591D8 00256138 C0 03 00 00 */ lfs f0, 0(r3) +/* 802591DC 0025613C 7F A3 EB 78 */ mr r3, r29 +/* 802591E0 00256140 81 9D 00 00 */ lwz r12, 0(r29) +/* 802591E4 00256144 7F C4 F3 78 */ mr r4, r30 +/* 802591E8 00256148 C0 22 B9 9C */ lfs f1, lbl_805AD6BC@sda21(r2) +/* 802591EC 0025614C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 802591F0 00256150 EF E1 00 28 */ fsubs f31, f1, f0 +/* 802591F4 00256154 7D 89 03 A6 */ mtctr r12 +/* 802591F8 00256158 4E 80 04 21 */ bctrl +/* 802591FC 0025615C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) +/* 80259200 00256160 3B 60 00 00 */ li r27, 0 +/* 80259204 00256164 D0 03 00 00 */ stfs f0, 0(r3) +/* 80259208 00256168 80 1F 0C 64 */ lwz r0, 0xc64(r31) +/* 8025920C 0025616C 2C 00 00 03 */ cmpwi r0, 3 +/* 80259210 00256170 41 82 02 6C */ beq lbl_8025947C +/* 80259214 00256174 40 80 06 14 */ bge lbl_80259828 +/* 80259218 00256178 2C 00 00 02 */ cmpwi r0, 2 +/* 8025921C 0025617C 40 80 00 08 */ bge lbl_80259224 +/* 80259220 00256180 48 00 06 08 */ b lbl_80259828 +lbl_80259224: +/* 80259224 00256184 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259228 00256188 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8025922C 0025618C 41 82 00 0C */ beq lbl_80259238 +/* 80259230 00256190 3B 60 00 01 */ li r27, 1 +/* 80259234 00256194 48 00 05 F4 */ b lbl_80259828 +lbl_80259238: +/* 80259238 00256198 C0 1F 0B 10 */ lfs f0, 0xb10(r31) +/* 8025923C 0025619C 3B 40 00 00 */ li r26, 0 +/* 80259240 002561A0 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 80259244 002561A4 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 80259248 002561A8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025924C 002561AC D0 5F 0B 10 */ stfs f2, 0xb10(r31) +/* 80259250 002561B0 D0 3F 0B 24 */ stfs f1, 0xb24(r31) +/* 80259254 002561B4 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) +/* 80259258 002561B8 90 1F 04 30 */ stw r0, 0x430(r31) +/* 8025925C 002561BC C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 80259260 002561C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259264 002561C4 4C 40 13 82 */ cror 2, 0, 2 +/* 80259268 002561C8 40 82 00 9C */ bne lbl_80259304 +/* 8025926C 002561CC 38 00 00 03 */ li r0, 3 +/* 80259270 002561D0 38 A0 00 00 */ li r5, 0 +/* 80259274 002561D4 90 1F 0C 64 */ stw r0, 0xc64(r31) +/* 80259278 002561D8 7F E3 FB 78 */ mr r3, r31 +/* 8025927C 002561DC 7F C4 F3 78 */ mr r4, r30 +/* 80259280 002561E0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259284 002561E4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259288 002561E8 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 8025928C 002561EC 4B FF E3 C5 */ bl sub_80257650 +/* 80259290 002561F0 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80259294 002561F4 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) +/* 80259298 002561F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8025929C 002561FC D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 802592A0 00256200 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802592A4 00256204 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 802592A8 00256208 2C 00 00 03 */ cmpwi r0, 3 +/* 802592AC 0025620C 41 82 00 38 */ beq lbl_802592E4 +/* 802592B0 00256210 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha +/* 802592B4 00256214 3B 80 00 00 */ li r28, 0 +/* 802592B8 00256218 3B 43 D4 F8 */ addi r26, r3, lbl_8046D4F8@l +lbl_802592BC: +/* 802592BC 0025621C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 802592C0 00256220 7F 44 D3 78 */ mr r4, r26 +/* 802592C4 00256224 7F C6 F3 78 */ mr r6, r30 +/* 802592C8 00256228 38 A0 00 01 */ li r5, 1 +/* 802592CC 0025622C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802592D0 00256230 4B DD 1A F1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 802592D4 00256234 3B 9C 00 01 */ addi r28, r28, 1 +/* 802592D8 00256238 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 802592DC 0025623C 28 1C 00 18 */ cmplwi r28, 0x18 +/* 802592E0 00256240 41 80 FF DC */ blt lbl_802592BC +lbl_802592E4: +/* 802592E4 00256244 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) +/* 802592E8 00256248 3B 40 00 01 */ li r26, 1 +/* 802592EC 0025624C C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 802592F0 00256250 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802592F4 00256254 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802592F8 00256258 D0 3F 0C C8 */ stfs f1, 0xcc8(r31) +/* 802592FC 0025625C D0 1F 0B 10 */ stfs f0, 0xb10(r31) +/* 80259300 00256260 48 00 01 60 */ b lbl_80259460 +lbl_80259304: +/* 80259304 00256264 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259308 00256268 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025930C 0025626C 40 80 00 98 */ bge lbl_802593A4 +/* 80259310 00256270 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259314 00256274 38 60 00 01 */ li r3, 1 +/* 80259318 00256278 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025931C 0025627C 3B 60 00 01 */ li r27, 1 +/* 80259320 00256280 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259324 00256284 38 00 00 04 */ li r0, 4 +/* 80259328 00256288 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 8025932C 0025628C 38 63 00 01 */ addi r3, r3, 1 +/* 80259330 00256290 90 7F 0C B0 */ stw r3, 0xcb0(r31) +/* 80259334 00256294 80 7F 0C B0 */ lwz r3, 0xcb0(r31) +/* 80259338 00256298 2C 03 00 05 */ cmpwi r3, 5 +/* 8025933C 0025629C 40 80 00 08 */ bge lbl_80259344 +/* 80259340 002562A0 7C 60 1B 78 */ mr r0, r3 +lbl_80259344: +/* 80259344 002562A4 90 1F 0C B0 */ stw r0, 0xcb0(r31) +/* 80259348 002562A8 3C 60 43 30 */ lis r3, 0x4330 +/* 8025934C 002562AC C8 82 B9 C0 */ lfd f4, lbl_805AD6E0@sda21(r2) +/* 80259350 002562B0 38 00 00 00 */ li r0, 0 +/* 80259354 002562B4 80 9F 0C B0 */ lwz r4, 0xcb0(r31) +/* 80259358 002562B8 3B 40 00 01 */ li r26, 1 +/* 8025935C 002562BC 90 61 03 10 */ stw r3, 0x310(r1) +/* 80259360 002562C0 38 64 00 01 */ addi r3, r4, 1 +/* 80259364 002562C4 C0 A2 B9 84 */ lfs f5, lbl_805AD6A4@sda21(r2) +/* 80259368 002562C8 20 63 00 05 */ subfic r3, r3, 5 +/* 8025936C 002562CC C0 5F 0C B8 */ lfs f2, 0xcb8(r31) +/* 80259370 002562D0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80259374 002562D4 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80259378 002562D8 90 61 03 14 */ stw r3, 0x314(r1) +/* 8025937C 002562DC C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80259380 002562E0 C8 61 03 10 */ lfd f3, 0x310(r1) +/* 80259384 002562E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80259388 002562E8 EC 23 20 28 */ fsubs f1, f3, f4 +/* 8025938C 002562EC EC 25 00 72 */ fmuls f1, f5, f1 +/* 80259390 002562F0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80259394 002562F4 D0 3F 0C BC */ stfs f1, 0xcbc(r31) +/* 80259398 002562F8 90 1F 0C B4 */ stw r0, 0xcb4(r31) +/* 8025939C 002562FC D0 1F 0C C8 */ stfs f0, 0xcc8(r31) +/* 802593A0 00256300 48 00 00 C0 */ b lbl_80259460 +lbl_802593A4: +/* 802593A4 00256304 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 802593A8 00256308 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802593AC 0025630C 41 82 00 B4 */ beq lbl_80259460 +/* 802593B0 00256310 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 802593B4 00256314 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802593B8 00256318 40 82 00 A8 */ bne lbl_80259460 +/* 802593BC 0025631C C0 1F 09 5C */ lfs f0, 0x95c(r31) +/* 802593C0 00256320 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802593C4 00256324 40 81 00 9C */ ble lbl_80259460 +/* 802593C8 00256328 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802593CC 0025632C C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 802593D0 00256330 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 802593D4 00256334 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 802593D8 00256338 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 802593DC 0025633C 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 802593E0 00256340 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802593E4 00256344 38 C0 00 04 */ li r6, 4 +/* 802593E8 00256348 38 00 00 00 */ li r0, 0 +/* 802593EC 0025634C 90 A1 02 60 */ stw r5, 0x260(r1) +/* 802593F0 00256350 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802593F4 00256354 3B 83 00 04 */ addi r28, r3, 4 +/* 802593F8 00256358 90 C1 02 64 */ stw r6, 0x264(r1) +/* 802593FC 0025635C 7F 83 E3 78 */ mr r3, r28 +/* 80259400 00256360 3B 60 00 01 */ li r27, 1 +/* 80259404 00256364 38 80 00 04 */ li r4, 4 +/* 80259408 00256368 90 A1 02 60 */ stw r5, 0x260(r1) +/* 8025940C 0025636C D0 01 02 68 */ stfs f0, 0x268(r1) +/* 80259410 00256370 D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 80259414 00256374 D0 41 02 70 */ stfs f2, 0x270(r1) +/* 80259418 00256378 90 01 02 74 */ stw r0, 0x274(r1) +/* 8025941C 0025637C 4B ED 80 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80259420 00256380 80 01 02 64 */ lwz r0, 0x264(r1) +/* 80259424 00256384 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 80259428 00256388 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 8025942C 0025638C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80259430 00256390 90 1C 00 F8 */ stw r0, 0xf8(r28) +/* 80259434 00256394 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80259438 00256398 80 A1 02 68 */ lwz r5, 0x268(r1) +/* 8025943C 0025639C 80 61 02 6C */ lwz r3, 0x26c(r1) +/* 80259440 002563A0 90 BC 00 FC */ stw r5, 0xfc(r28) +/* 80259444 002563A4 80 A1 02 70 */ lwz r5, 0x270(r1) +/* 80259448 002563A8 90 7C 01 00 */ stw r3, 0x100(r28) +/* 8025944C 002563AC 80 61 02 74 */ lwz r3, 0x274(r1) +/* 80259450 002563B0 90 BC 01 04 */ stw r5, 0x104(r28) +/* 80259454 002563B4 90 81 02 60 */ stw r4, 0x260(r1) +/* 80259458 002563B8 90 7C 01 08 */ stw r3, 0x108(r28) +/* 8025945C 002563BC 90 01 02 60 */ stw r0, 0x260(r1) +lbl_80259460: +/* 80259460 002563C0 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) +/* 80259464 002563C4 7F E3 FB 78 */ mr r3, r31 +/* 80259468 002563C8 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 8025946C 002563CC 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 80259470 002563D0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80259474 002563D4 4B FF D4 A1 */ bl sub_80256914 +/* 80259478 002563D8 48 00 03 B0 */ b lbl_80259828 +lbl_8025947C: +/* 8025947C 002563DC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259480 002563E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259484 002563E4 41 82 00 8C */ beq lbl_80259510 +/* 80259488 002563E8 7F E4 FB 78 */ mr r4, r31 +/* 8025948C 002563EC 38 61 02 AC */ addi r3, r1, 0x2ac +/* 80259490 002563F0 38 BF 0B 90 */ addi r5, r31, 0xb90 +/* 80259494 002563F4 4B E1 F4 25 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80259498 002563F8 38 61 02 DC */ addi r3, r1, 0x2dc +/* 8025949C 002563FC 38 81 02 AC */ addi r4, r1, 0x2ac +/* 802594A0 00256400 48 0B 96 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802594A4 00256404 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 802594A8 00256408 C0 01 02 F8 */ lfs f0, 0x2f8(r1) +/* 802594AC 0025640C C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 802594B0 00256410 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 802594B4 00256414 EC A7 00 28 */ fsubs f5, f7, f0 +/* 802594B8 00256418 C0 01 02 F0 */ lfs f0, 0x2f0(r1) +/* 802594BC 0025641C C0 21 02 E8 */ lfs f1, 0x2e8(r1) +/* 802594C0 00256420 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 802594C4 00256424 EC 43 08 28 */ fsubs f2, f3, f1 +/* 802594C8 00256428 C0 81 03 08 */ lfs f4, 0x308(r1) +/* 802594CC 0025642C EC 05 00 32 */ fmuls f0, f5, f0 +/* 802594D0 00256430 C0 21 02 E0 */ lfs f1, 0x2e0(r1) +/* 802594D4 00256434 EC 88 20 28 */ fsubs f4, f8, f4 +/* 802594D8 00256438 C0 C1 03 00 */ lfs f6, 0x300(r1) +/* 802594DC 0025643C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802594E0 00256440 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) +/* 802594E4 00256444 D0 61 01 1C */ stfs f3, 0x11c(r1) +/* 802594E8 00256448 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 802594EC 0025644C D0 E1 01 20 */ stfs f7, 0x120(r1) +/* 802594F0 00256450 D1 01 01 24 */ stfs f8, 0x124(r1) +/* 802594F4 00256454 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802594F8 00256458 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 802594FC 0025645C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 80259500 00256460 D0 81 01 30 */ stfs f4, 0x130(r1) +/* 80259504 00256464 40 80 00 0C */ bge lbl_80259510 +/* 80259508 00256468 3B 60 00 01 */ li r27, 1 +/* 8025950C 0025646C 48 00 03 1C */ b lbl_80259828 +lbl_80259510: +/* 80259510 00256470 81 9F 00 00 */ lwz r12, 0(r31) +/* 80259514 00256474 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80259518 00256478 7F E3 FB 78 */ mr r3, r31 +/* 8025951C 0025647C C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) +/* 80259520 00256480 81 8C 00 90 */ lwz r12, 0x90(r12) +/* 80259524 00256484 38 84 67 24 */ addi r4, r4, lbl_805A6724@l +/* 80259528 00256488 7D 89 03 A6 */ mtctr r12 +/* 8025952C 0025648C 4E 80 04 21 */ bctrl +/* 80259530 00256490 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) +/* 80259534 00256494 D0 1F 0B 20 */ stfs f0, 0xb20(r31) +/* 80259538 00256498 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 8025953C 0025649C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259540 002564A0 41 82 00 C4 */ beq lbl_80259604 +/* 80259544 002564A4 7F A4 EB 78 */ mr r4, r29 +/* 80259548 002564A8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8025954C 002564AC 4B F4 F6 41 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259550 002564B0 A0 01 00 64 */ lhz r0, 0x64(r1) +/* 80259554 002564B4 7F C3 F3 78 */ mr r3, r30 +/* 80259558 002564B8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8025955C 002564BC B0 01 00 68 */ sth r0, 0x68(r1) +/* 80259560 002564C0 4B DF 30 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259564 002564C4 28 03 00 00 */ cmplwi r3, 0 +/* 80259568 002564C8 41 82 00 44 */ beq lbl_802595AC +/* 8025956C 002564CC 7C 64 1B 78 */ mr r4, r3 +/* 80259570 002564D0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80259574 002564D4 4B E5 41 99 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80259578 002564D8 80 83 00 04 */ lwz r4, 4(r3) +/* 8025957C 002564DC 28 04 00 00 */ cmplwi r4, 0 +/* 80259580 002564E0 41 82 00 2C */ beq lbl_802595AC +/* 80259584 002564E4 88 64 01 30 */ lbz r3, 0x130(r4) +/* 80259588 002564E8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8025958C 002564EC 40 82 00 18 */ bne lbl_802595A4 +/* 80259590 002564F0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80259594 002564F4 40 82 00 10 */ bne lbl_802595A4 +/* 80259598 002564F8 80 04 01 2C */ lwz r0, 0x12c(r4) +/* 8025959C 002564FC 2C 00 00 06 */ cmpwi r0, 6 +/* 802595A0 00256500 40 82 00 0C */ bne lbl_802595AC +lbl_802595A4: +/* 802595A4 00256504 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802595A8 00256508 D0 1F 0B 14 */ stfs f0, 0xb14(r31) +lbl_802595AC: +/* 802595AC 0025650C C0 3F 0B 14 */ lfs f1, 0xb14(r31) +/* 802595B0 00256510 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802595B4 00256514 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 802595B8 00256518 D0 3F 0B 14 */ stfs f1, 0xb14(r31) +/* 802595BC 0025651C 80 0D A2 54 */ lwz r0, lbl_805A8E14@sda21(r13) +/* 802595C0 00256520 90 1F 04 30 */ stw r0, 0x430(r31) +/* 802595C4 00256524 C0 3F 0B 14 */ lfs f1, 0xb14(r31) +/* 802595C8 00256528 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802595CC 0025652C 4C 40 13 82 */ cror 2, 0, 2 +/* 802595D0 00256530 40 82 02 58 */ bne lbl_80259828 +/* 802595D4 00256534 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802595D8 00256538 38 60 00 00 */ li r3, 0 +/* 802595DC 0025653C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802595E0 00256540 38 60 00 01 */ li r3, 1 +/* 802595E4 00256544 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 802595E8 00256548 3B 60 00 01 */ li r27, 1 +/* 802595EC 0025654C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 802595F0 00256550 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 802595F4 00256554 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 802595F8 00256558 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) +/* 802595FC 0025655C D0 1F 0B 14 */ stfs f0, 0xb14(r31) +/* 80259600 00256560 48 00 02 28 */ b lbl_80259828 +lbl_80259604: +/* 80259604 00256564 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259608 00256568 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8025960C 0025656C 41 82 02 1C */ beq lbl_80259828 +/* 80259610 00256570 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) +/* 80259614 00256574 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) +/* 80259618 00256578 90 1F 04 30 */ stw r0, 0x430(r31) +/* 8025961C 0025657C C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80259620 00256580 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80259624 00256584 40 81 01 04 */ ble lbl_80259728 +/* 80259628 00256588 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8025962C 0025658C D0 1F 0B 18 */ stfs f0, 0xb18(r31) +/* 80259630 00256590 C0 3F 0B 18 */ lfs f1, 0xb18(r31) +/* 80259634 00256594 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80259638 00256598 4C 40 13 82 */ cror 2, 0, 2 +/* 8025963C 0025659C 40 82 00 30 */ bne lbl_8025966C +/* 80259640 002565A0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259644 002565A4 38 60 00 01 */ li r3, 1 +/* 80259648 002565A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025964C 002565AC C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) +/* 80259650 002565B0 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259654 002565B4 3B 60 00 01 */ li r27, 1 +/* 80259658 002565B8 D0 5F 0B 18 */ stfs f2, 0xb18(r31) +/* 8025965C 002565BC C0 1F 05 A8 */ lfs f0, 0x5a8(r31) +/* 80259660 002565C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80259664 002565C4 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80259668 002565C8 48 00 01 C0 */ b lbl_80259828 +lbl_8025966C: +/* 8025966C 002565CC C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259670 002565D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259674 002565D4 40 80 01 B4 */ bge lbl_80259828 +/* 80259678 002565D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8025967C 002565DC C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80259680 002565E0 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80259684 002565E4 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80259688 002565E8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8025968C 002565EC 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80259690 002565F0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80259694 002565F4 38 C0 00 04 */ li r6, 4 +/* 80259698 002565F8 38 00 00 06 */ li r0, 6 +/* 8025969C 002565FC 90 A1 02 48 */ stw r5, 0x248(r1) +/* 802596A0 00256600 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802596A4 00256604 3B 43 00 04 */ addi r26, r3, 4 +/* 802596A8 00256608 90 C1 02 4C */ stw r6, 0x24c(r1) +/* 802596AC 0025660C 7F 43 D3 78 */ mr r3, r26 +/* 802596B0 00256610 3B 60 00 01 */ li r27, 1 +/* 802596B4 00256614 38 80 00 04 */ li r4, 4 +/* 802596B8 00256618 90 A1 02 48 */ stw r5, 0x248(r1) +/* 802596BC 0025661C D0 01 02 50 */ stfs f0, 0x250(r1) +/* 802596C0 00256620 D0 21 02 54 */ stfs f1, 0x254(r1) +/* 802596C4 00256624 D0 41 02 58 */ stfs f2, 0x258(r1) +/* 802596C8 00256628 90 01 02 5C */ stw r0, 0x25c(r1) +/* 802596CC 0025662C 4B ED 7D 6D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802596D0 00256630 80 01 02 4C */ lwz r0, 0x24c(r1) +/* 802596D4 00256634 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802596D8 00256638 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802596DC 0025663C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802596E0 00256640 90 1A 00 F8 */ stw r0, 0xf8(r26) +/* 802596E4 00256644 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802596E8 00256648 80 A1 02 50 */ lwz r5, 0x250(r1) +/* 802596EC 0025664C 80 61 02 54 */ lwz r3, 0x254(r1) +/* 802596F0 00256650 90 BA 00 FC */ stw r5, 0xfc(r26) +/* 802596F4 00256654 80 A1 02 58 */ lwz r5, 0x258(r1) +/* 802596F8 00256658 90 7A 01 00 */ stw r3, 0x100(r26) +/* 802596FC 0025665C 80 61 02 5C */ lwz r3, 0x25c(r1) +/* 80259700 00256660 90 BA 01 04 */ stw r5, 0x104(r26) +/* 80259704 00256664 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) +/* 80259708 00256668 90 7A 01 08 */ stw r3, 0x108(r26) +/* 8025970C 0025666C C0 3F 05 A4 */ lfs f1, 0x5a4(r31) +/* 80259710 00256670 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259714 00256674 90 81 02 48 */ stw r4, 0x248(r1) +/* 80259718 00256678 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 8025971C 0025667C 90 01 02 48 */ stw r0, 0x248(r1) +/* 80259720 00256680 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 80259724 00256684 48 00 01 04 */ b lbl_80259828 +lbl_80259728: +/* 80259728 00256688 C0 1F 0B 1C */ lfs f0, 0xb1c(r31) +/* 8025972C 0025668C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80259730 00256690 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) +/* 80259734 00256694 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80259738 00256698 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8025973C 0025669C 4C 40 13 82 */ cror 2, 0, 2 +/* 80259740 002566A0 40 82 00 30 */ bne lbl_80259770 +/* 80259744 002566A4 88 1F 04 01 */ lbz r0, 0x401(r31) +/* 80259748 002566A8 38 60 00 01 */ li r3, 1 +/* 8025974C 002566AC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80259750 002566B0 38 80 00 00 */ li r4, 0 +/* 80259754 002566B4 98 1F 04 01 */ stb r0, 0x401(r31) +/* 80259758 002566B8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025975C 002566BC 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80259760 002566C0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80259764 002566C4 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80259768 002566C8 D0 5F 0B 1C */ stfs f2, 0xb1c(r31) +/* 8025976C 002566CC 48 00 00 BC */ b lbl_80259828 +lbl_80259770: +/* 80259770 002566D0 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259774 002566D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259778 002566D8 40 80 00 B0 */ bge lbl_80259828 +/* 8025977C 002566DC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80259780 002566E0 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80259784 002566E4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80259788 002566E8 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8025978C 002566EC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80259790 002566F0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha +/* 80259794 002566F4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80259798 002566F8 38 C0 00 04 */ li r6, 4 +/* 8025979C 002566FC 38 00 00 06 */ li r0, 6 +/* 802597A0 00256700 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802597A4 00256704 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l +/* 802597A8 00256708 3B 43 00 04 */ addi r26, r3, 4 +/* 802597AC 0025670C 90 C1 02 34 */ stw r6, 0x234(r1) +/* 802597B0 00256710 7F 43 D3 78 */ mr r3, r26 +/* 802597B4 00256714 3B 60 00 01 */ li r27, 1 +/* 802597B8 00256718 38 80 00 04 */ li r4, 4 +/* 802597BC 0025671C 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802597C0 00256720 D0 01 02 38 */ stfs f0, 0x238(r1) +/* 802597C4 00256724 D0 21 02 3C */ stfs f1, 0x23c(r1) +/* 802597C8 00256728 D0 41 02 40 */ stfs f2, 0x240(r1) +/* 802597CC 0025672C 90 01 02 44 */ stw r0, 0x244(r1) +/* 802597D0 00256730 4B ED 7C 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 802597D4 00256734 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802597D8 00256738 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 802597DC 0025673C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 802597E0 00256740 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 802597E4 00256744 90 1A 00 F8 */ stw r0, 0xf8(r26) +/* 802597E8 00256748 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 802597EC 0025674C 80 A1 02 38 */ lwz r5, 0x238(r1) +/* 802597F0 00256750 80 61 02 3C */ lwz r3, 0x23c(r1) +/* 802597F4 00256754 90 BA 00 FC */ stw r5, 0xfc(r26) +/* 802597F8 00256758 80 A1 02 40 */ lwz r5, 0x240(r1) +/* 802597FC 0025675C 90 7A 01 00 */ stw r3, 0x100(r26) +/* 80259800 00256760 80 61 02 44 */ lwz r3, 0x244(r1) +/* 80259804 00256764 90 BA 01 04 */ stw r5, 0x104(r26) +/* 80259808 00256768 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) +/* 8025980C 0025676C 90 7A 01 08 */ stw r3, 0x108(r26) +/* 80259810 00256770 C0 3F 05 A8 */ lfs f1, 0x5a8(r31) +/* 80259814 00256774 C0 1F 0C BC */ lfs f0, 0xcbc(r31) +/* 80259818 00256778 90 81 02 30 */ stw r4, 0x230(r1) +/* 8025981C 0025677C EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 80259820 00256780 90 01 02 30 */ stw r0, 0x230(r1) +/* 80259824 00256784 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +lbl_80259828: +/* 80259828 00256788 C0 3F 0B 10 */ lfs f1, 0xb10(r31) +/* 8025982C 0025678C 7F E3 FB 78 */ mr r3, r31 +/* 80259830 00256790 C0 1F 0B 18 */ lfs f0, 0xb18(r31) +/* 80259834 00256794 7F C4 F3 78 */ mr r4, r30 +/* 80259838 00256798 81 9F 00 00 */ lwz r12, 0(r31) +/* 8025983C 0025679C EC 01 00 2A */ fadds f0, f1, f0 +/* 80259840 002567A0 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) +/* 80259844 002567A4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80259848 002567A8 EF E1 00 2A */ fadds f31, f1, f0 +/* 8025984C 002567AC 7D 89 03 A6 */ mtctr r12 +/* 80259850 002567B0 4E 80 04 21 */ bctrl +/* 80259854 002567B4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80259858 002567B8 D3 E3 00 00 */ stfs f31, 0(r3) +/* 8025985C 002567BC 40 82 04 50 */ bne lbl_80259CAC +/* 80259860 002567C0 7F A4 EB 78 */ mr r4, r29 +/* 80259864 002567C4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80259868 002567C8 4B F4 F3 25 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 8025986C 002567CC A0 01 00 60 */ lhz r0, 0x60(r1) +/* 80259870 002567D0 7F C3 F3 78 */ mr r3, r30 +/* 80259874 002567D4 38 81 00 5C */ addi r4, r1, 0x5c +/* 80259878 002567D8 B0 01 00 A0 */ sth r0, 0xa0(r1) +/* 8025987C 002567DC B0 01 00 5C */ sth r0, 0x5c(r1) +/* 80259880 002567E0 4B DF 2D 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259884 002567E4 7C 64 1B 78 */ mr r4, r3 +/* 80259888 002567E8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8025988C 002567EC 4B E5 3E 81 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80259890 002567F0 80 E3 00 04 */ lwz r7, 4(r3) +/* 80259894 002567F4 28 07 00 00 */ cmplwi r7, 0 +/* 80259898 002567F8 41 82 04 14 */ beq lbl_80259CAC +/* 8025989C 002567FC C0 47 00 50 */ lfs f2, 0x50(r7) +/* 802598A0 00256800 7F E3 FB 78 */ mr r3, r31 +/* 802598A4 00256804 C0 27 02 9C */ lfs f1, 0x29c(r7) +/* 802598A8 00256808 7F C5 F3 78 */ mr r5, r30 +/* 802598AC 0025680C C0 67 00 60 */ lfs f3, 0x60(r7) +/* 802598B0 00256810 38 81 01 10 */ addi r4, r1, 0x110 +/* 802598B4 00256814 EC 82 08 28 */ fsubs f4, f2, f1 +/* 802598B8 00256818 C0 07 02 A0 */ lfs f0, 0x2a0(r7) +/* 802598BC 0025681C C0 47 00 40 */ lfs f2, 0x40(r7) +/* 802598C0 00256820 38 C7 01 2C */ addi r6, r7, 0x12c +/* 802598C4 00256824 EC 63 00 28 */ fsubs f3, f3, f0 +/* 802598C8 00256828 C0 07 02 98 */ lfs f0, 0x298(r7) +/* 802598CC 0025682C C0 27 01 40 */ lfs f1, 0x140(r7) +/* 802598D0 00256830 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802598D4 00256834 38 E0 00 01 */ li r7, 1 +/* 802598D8 00256838 39 00 00 00 */ li r8, 0 +/* 802598DC 0025683C D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802598E0 00256840 D0 61 01 18 */ stfs f3, 0x118(r1) +/* 802598E4 00256844 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 802598E8 00256848 81 9F 00 00 */ lwz r12, 0(r31) +/* 802598EC 0025684C 81 8C 00 88 */ lwz r12, 0x88(r12) +/* 802598F0 00256850 7D 89 03 A6 */ mtctr r12 +/* 802598F4 00256854 4E 80 04 21 */ bctrl +/* 802598F8 00256858 48 00 03 B4 */ b lbl_80259CAC +/* 802598FC 0025685C A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259900 00256860 7F C3 F3 78 */ mr r3, r30 +/* 80259904 00256864 38 81 00 58 */ addi r4, r1, 0x58 +/* 80259908 00256868 B0 01 00 58 */ sth r0, 0x58(r1) +/* 8025990C 0025686C 4B DF 2C 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259910 00256870 7C 64 1B 78 */ mr r4, r3 +/* 80259914 00256874 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80259918 00256878 4B E5 3D F5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8025991C 0025687C 83 83 00 04 */ lwz r28, 4(r3) +/* 80259920 00256880 28 1C 00 00 */ cmplwi r28, 0 +/* 80259924 00256884 41 82 03 88 */ beq lbl_80259CAC +/* 80259928 00256888 80 1F 0C 64 */ lwz r0, 0xc64(r31) +/* 8025992C 0025688C 38 80 00 00 */ li r4, 0 +/* 80259930 00256890 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80259934 00256894 2C 00 00 03 */ cmpwi r0, 3 +/* 80259938 00256898 B0 61 00 9C */ sth r3, 0x9c(r1) +/* 8025993C 0025689C 41 82 00 30 */ beq lbl_8025996C +/* 80259940 002568A0 40 80 00 60 */ bge lbl_802599A0 +/* 80259944 002568A4 2C 00 00 02 */ cmpwi r0, 2 +/* 80259948 002568A8 40 80 00 08 */ bge lbl_80259950 +/* 8025994C 002568AC 48 00 00 54 */ b lbl_802599A0 +lbl_80259950: +/* 80259950 002568B0 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259954 002568B4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80259958 002568B8 40 82 00 48 */ bne lbl_802599A0 +/* 8025995C 002568BC A0 1F 09 8A */ lhz r0, 0x98a(r31) +/* 80259960 002568C0 38 80 00 01 */ li r4, 1 +/* 80259964 002568C4 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 80259968 002568C8 48 00 00 38 */ b lbl_802599A0 +lbl_8025996C: +/* 8025996C 002568CC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259970 002568D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80259974 002568D4 41 82 00 14 */ beq lbl_80259988 +/* 80259978 002568D8 A0 1F 09 88 */ lhz r0, 0x988(r31) +/* 8025997C 002568DC 38 80 00 01 */ li r4, 1 +/* 80259980 002568E0 B0 01 00 9C */ sth r0, 0x9c(r1) +/* 80259984 002568E4 48 00 00 1C */ b lbl_802599A0 +lbl_80259988: +/* 80259988 002568E8 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 8025998C 002568EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80259990 002568F0 41 82 00 10 */ beq lbl_802599A0 +/* 80259994 002568F4 A0 1F 09 8A */ lhz r0, 0x98a(r31) +/* 80259998 002568F8 38 80 00 01 */ li r4, 1 +/* 8025999C 002568FC B0 01 00 9C */ sth r0, 0x9c(r1) +lbl_802599A0: +/* 802599A0 00256900 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802599A4 00256904 41 82 03 08 */ beq lbl_80259CAC +/* 802599A8 00256908 80 1C 01 2C */ lwz r0, 0x12c(r28) +/* 802599AC 0025690C 38 60 00 00 */ li r3, 0 +/* 802599B0 00256910 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 802599B4 00256914 38 80 00 01 */ li r4, 1 +/* 802599B8 00256918 90 01 02 90 */ stw r0, 0x290(r1) +/* 802599BC 0025691C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 802599C0 00256920 88 1C 01 30 */ lbz r0, 0x130(r28) +/* 802599C4 00256924 98 01 02 94 */ stb r0, 0x294(r1) +/* 802599C8 00256928 C0 3C 01 34 */ lfs f1, 0x134(r28) +/* 802599CC 0025692C D0 21 02 98 */ stfs f1, 0x298(r1) +/* 802599D0 00256930 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 802599D4 00256934 D0 21 02 9C */ stfs f1, 0x29c(r1) +/* 802599D8 00256938 C0 3C 01 3C */ lfs f1, 0x13c(r28) +/* 802599DC 0025693C D0 21 02 A0 */ stfs f1, 0x2a0(r1) +/* 802599E0 00256940 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 802599E4 00256944 D0 21 02 A4 */ stfs f1, 0x2a4(r1) +/* 802599E8 00256948 88 1C 01 44 */ lbz r0, 0x144(r28) +/* 802599EC 0025694C 98 01 02 A8 */ stb r0, 0x2a8(r1) +/* 802599F0 00256950 D0 01 02 A0 */ stfs f0, 0x2a0(r1) +/* 802599F4 00256954 48 13 05 01 */ bl __shl2i +/* 802599F8 00256958 38 E0 00 00 */ li r7, 0 +/* 802599FC 0025695C 39 60 00 03 */ li r11, 3 +/* 80259A00 00256960 90 81 02 1C */ stw r4, 0x21c(r1) +/* 80259A04 00256964 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80259A08 00256968 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80259A0C 0025696C A1 41 00 9C */ lhz r10, 0x9c(r1) +/* 80259A10 00256970 90 61 02 18 */ stw r3, 0x218(r1) +/* 80259A14 00256974 7F C3 F3 78 */ mr r3, r30 +/* 80259A18 00256978 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259A1C 0025697C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80259A20 00256980 90 E1 02 24 */ stw r7, 0x224(r1) +/* 80259A24 00256984 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80259A28 00256988 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80259A2C 0025698C 39 01 02 18 */ addi r8, r1, 0x218 +/* 80259A30 00256990 90 E1 02 20 */ stw r7, 0x220(r1) +/* 80259A34 00256994 38 E1 02 90 */ addi r7, r1, 0x290 +/* 80259A38 00256998 91 61 02 28 */ stw r11, 0x228(r1) +/* 80259A3C 0025699C A1 7C 00 EC */ lhz r11, 0xec(r28) +/* 80259A40 002569A0 B1 61 00 48 */ sth r11, 0x48(r1) +/* 80259A44 002569A4 B1 61 00 4C */ sth r11, 0x4c(r1) +/* 80259A48 002569A8 B1 41 00 50 */ sth r10, 0x50(r1) +/* 80259A4C 002569AC B0 01 00 54 */ sth r0, 0x54(r1) +/* 80259A50 002569B0 4B DF 06 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80259A54 002569B4 48 00 02 58 */ b lbl_80259CAC +/* 80259A58 002569B8 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80259A5C 002569BC 7F C3 F3 78 */ mr r3, r30 +/* 80259A60 002569C0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80259A64 002569C4 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80259A68 002569C8 4B DF 2B 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80259A6C 002569CC 7C 64 1B 78 */ mr r4, r3 +/* 80259A70 002569D0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 80259A74 002569D4 4B E5 58 D9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" +/* 80259A78 002569D8 83 83 00 04 */ lwz r28, 4(r3) +/* 80259A7C 002569DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80259A80 002569E0 41 82 02 2C */ beq lbl_80259CAC +/* 80259A84 002569E4 38 00 00 00 */ li r0, 0 +/* 80259A88 002569E8 80 AD 97 3C */ lwz r5, lbl_805A82FC@sda21(r13) +/* 80259A8C 002569EC 90 01 00 EC */ stw r0, 0xec(r1) +/* 80259A90 002569F0 38 60 00 00 */ li r3, 0 +/* 80259A94 002569F4 38 80 00 01 */ li r4, 1 +/* 80259A98 002569F8 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80259A9C 002569FC 48 13 04 59 */ bl __shl2i +/* 80259AA0 00256A00 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 80259AA4 00256A04 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 80259AA8 00256A08 7C 00 1B 78 */ or r0, r0, r3 +/* 80259AAC 00256A0C 7F 83 E3 78 */ mr r3, r28 +/* 80259AB0 00256A10 7C A4 23 78 */ or r4, r5, r4 +/* 80259AB4 00256A14 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 80259AB8 00256A18 90 81 00 EC */ stw r4, 0xec(r1) +/* 80259ABC 00256A1C 4B DF 9E 01 */ bl GetMaterialFilter__6CActorCFv +/* 80259AC0 00256A20 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80259AC4 00256A24 48 07 B8 89 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 80259AC8 00256A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80259ACC 00256A2C 41 82 01 2C */ beq lbl_80259BF8 +/* 80259AD0 00256A30 7F 84 E3 78 */ mr r4, r28 +/* 80259AD4 00256A34 38 61 00 3C */ addi r3, r1, 0x3c +/* 80259AD8 00256A38 4B F4 F0 B5 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259ADC 00256A3C A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 80259AE0 00256A40 7F C3 F3 78 */ mr r3, r30 +/* 80259AE4 00256A44 38 81 00 40 */ addi r4, r1, 0x40 +/* 80259AE8 00256A48 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80259AEC 00256A4C 4B DF 2A B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80259AF0 00256A50 7C 64 1B 78 */ mr r4, r3 +/* 80259AF4 00256A54 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80259AF8 00256A58 4B E4 F3 1D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 80259AFC 00256A5C 83 63 00 04 */ lwz r27, 4(r3) +/* 80259B00 00256A60 28 1B 00 00 */ cmplwi r27, 0 +/* 80259B04 00256A64 41 82 00 F4 */ beq lbl_80259BF8 +/* 80259B08 00256A68 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80259B0C 00256A6C 38 60 00 00 */ li r3, 0 +/* 80259B10 00256A70 38 80 00 01 */ li r4, 1 +/* 80259B14 00256A74 48 13 03 E1 */ bl __shl2i +/* 80259B18 00256A78 38 A0 00 00 */ li r5, 0 +/* 80259B1C 00256A7C 38 00 00 03 */ li r0, 3 +/* 80259B20 00256A80 90 81 01 E4 */ stw r4, 0x1e4(r1) +/* 80259B24 00256A84 7F C4 F3 78 */ mr r4, r30 +/* 80259B28 00256A88 90 61 01 E0 */ stw r3, 0x1e0(r1) +/* 80259B2C 00256A8C 7F 63 DB 78 */ mr r3, r27 +/* 80259B30 00256A90 90 A1 01 EC */ stw r5, 0x1ec(r1) +/* 80259B34 00256A94 90 A1 01 E8 */ stw r5, 0x1e8(r1) +/* 80259B38 00256A98 90 01 01 F0 */ stw r0, 0x1f0(r1) +/* 80259B3C 00256A9C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80259B40 00256AA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80259B44 00256AA4 7D 89 03 A6 */ mtctr r12 +/* 80259B48 00256AA8 4E 80 04 21 */ bctrl +/* 80259B4C 00256AAC C0 03 00 00 */ lfs f0, 0(r3) +/* 80259B50 00256AB0 3B 40 00 09 */ li r26, 9 +/* 80259B54 00256AB4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) +/* 80259B58 00256AB8 38 60 00 00 */ li r3, 0 +/* 80259B5C 00256ABC 88 C1 00 E4 */ lbz r6, 0xe4(r1) +/* 80259B60 00256AC0 50 66 3E 30 */ rlwimi r6, r3, 7, 0x18, 0x18 +/* 80259B64 00256AC4 EC 22 00 2A */ fadds f1, f2, f0 +/* 80259B68 00256AC8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80259B6C 00256ACC 54 CA 06 3E */ clrlwi r10, r6, 0x18 +/* 80259B70 00256AD0 88 01 02 10 */ lbz r0, 0x210(r1) +/* 80259B74 00256AD4 50 6A 36 72 */ rlwimi r10, r3, 6, 0x19, 0x19 +/* 80259B78 00256AD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80259B7C 00256ADC 55 4C 06 3E */ clrlwi r12, r10, 0x18 +/* 80259B80 00256AE0 93 41 01 F8 */ stw r26, 0x1f8(r1) +/* 80259B84 00256AE4 50 6C 2E B4 */ rlwimi r12, r3, 5, 0x1a, 0x1a +/* 80259B88 00256AE8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80259B8C 00256AEC 98 C1 00 E4 */ stb r6, 0xe4(r1) +/* 80259B90 00256AF0 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 80259B94 00256AF4 7F C3 F3 78 */ mr r3, r30 +/* 80259B98 00256AF8 38 81 00 38 */ addi r4, r1, 0x38 +/* 80259B9C 00256AFC 99 41 00 E4 */ stb r10, 0xe4(r1) +/* 80259BA0 00256B00 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80259BA4 00256B04 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80259BA8 00256B08 38 E1 01 F8 */ addi r7, r1, 0x1f8 +/* 80259BAC 00256B0C 99 81 01 FC */ stb r12, 0x1fc(r1) +/* 80259BB0 00256B10 39 01 01 E0 */ addi r8, r1, 0x1e0 +/* 80259BB4 00256B14 D0 21 02 00 */ stfs f1, 0x200(r1) +/* 80259BB8 00256B18 D0 21 02 04 */ stfs f1, 0x204(r1) +/* 80259BBC 00256B1C D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80259BC0 00256B20 D0 41 02 0C */ stfs f2, 0x20c(r1) +/* 80259BC4 00256B24 98 01 02 10 */ stb r0, 0x210(r1) +/* 80259BC8 00256B28 A1 7F 00 08 */ lhz r11, 8(r31) +/* 80259BCC 00256B2C 93 41 00 E0 */ stw r26, 0xe0(r1) +/* 80259BD0 00256B30 B1 61 00 28 */ sth r11, 0x28(r1) +/* 80259BD4 00256B34 A1 5B 00 08 */ lhz r10, 8(r27) +/* 80259BD8 00256B38 99 81 00 E4 */ stb r12, 0xe4(r1) +/* 80259BDC 00256B3C B1 41 00 30 */ sth r10, 0x30(r1) +/* 80259BE0 00256B40 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259BE4 00256B44 B1 61 00 24 */ sth r11, 0x24(r1) +/* 80259BE8 00256B48 B1 41 00 2C */ sth r10, 0x2c(r1) +/* 80259BEC 00256B4C B0 01 00 34 */ sth r0, 0x34(r1) +/* 80259BF0 00256B50 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80259BF4 00256B54 4B DF 04 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80259BF8: +/* 80259BF8 00256B58 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80259BFC 00256B5C 7F 84 E3 78 */ mr r4, r28 +/* 80259C00 00256B60 38 61 00 20 */ addi r3, r1, 0x20 +/* 80259C04 00256B64 A3 45 00 08 */ lhz r26, 8(r5) +/* 80259C08 00256B68 4B F4 EF 85 */ bl GetLastTouchedObject__15CCollisionActorCFv +/* 80259C0C 00256B6C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80259C10 00256B70 7C 00 D0 40 */ cmplw r0, r26 +/* 80259C14 00256B74 40 82 00 98 */ bne lbl_80259CAC +/* 80259C18 00256B78 C0 3F 04 20 */ lfs f1, 0x420(r31) +/* 80259C1C 00256B7C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 80259C20 00256B80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80259C24 00256B84 4C 40 13 82 */ cror 2, 0, 2 +/* 80259C28 00256B88 40 82 00 84 */ bne lbl_80259CAC +/* 80259C2C 00256B8C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) +/* 80259C30 00256B90 38 60 00 00 */ li r3, 0 +/* 80259C34 00256B94 38 80 00 01 */ li r4, 1 +/* 80259C38 00256B98 48 13 02 BD */ bl __shl2i +/* 80259C3C 00256B9C 39 40 00 00 */ li r10, 0 +/* 80259C40 00256BA0 38 00 00 03 */ li r0, 3 +/* 80259C44 00256BA4 90 81 01 CC */ stw r4, 0x1cc(r1) +/* 80259C48 00256BA8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80259C4C 00256BAC 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80259C50 00256BB0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80259C54 00256BB4 90 61 01 C8 */ stw r3, 0x1c8(r1) +/* 80259C58 00256BB8 38 81 00 1C */ addi r4, r1, 0x1c +/* 80259C5C 00256BBC 7F C3 F3 78 */ mr r3, r30 +/* 80259C60 00256BC0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80259C64 00256BC4 91 41 01 D4 */ stw r10, 0x1d4(r1) +/* 80259C68 00256BC8 38 FF 0C 8C */ addi r7, r31, 0xc8c +/* 80259C6C 00256BCC 39 01 01 C8 */ addi r8, r1, 0x1c8 +/* 80259C70 00256BD0 91 41 01 D0 */ stw r10, 0x1d0(r1) +/* 80259C74 00256BD4 90 01 01 D8 */ stw r0, 0x1d8(r1) +/* 80259C78 00256BD8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259C7C 00256BDC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80259C80 00256BE0 81 5E 08 4C */ lwz r10, 0x84c(r30) +/* 80259C84 00256BE4 B0 01 00 08 */ sth r0, 8(r1) +/* 80259C88 00256BE8 A1 4A 00 08 */ lhz r10, 8(r10) +/* 80259C8C 00256BEC B1 41 00 14 */ sth r10, 0x14(r1) +/* 80259C90 00256BF0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80259C94 00256BF4 B1 41 00 10 */ sth r10, 0x10(r1) +/* 80259C98 00256BF8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80259C9C 00256BFC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80259CA0 00256C00 4B DF 04 01 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80259CA4 00256C04 C0 1F 04 24 */ lfs f0, 0x424(r31) +/* 80259CA8 00256C08 D0 1F 04 20 */ stfs f0, 0x420(r31) +lbl_80259CAC: +/* 80259CAC 00256C0C E3 E1 03 48 */ psq_l f31, 840(r1), 0, qr0 +/* 80259CB0 00256C10 CB E1 03 40 */ lfd f31, 0x340(r1) +/* 80259CB4 00256C14 E3 C1 03 38 */ psq_l f30, 824(r1), 0, qr0 +/* 80259CB8 00256C18 CB C1 03 30 */ lfd f30, 0x330(r1) +/* 80259CBC 00256C1C BB 41 03 18 */ lmw r26, 0x318(r1) +/* 80259CC0 00256C20 80 01 03 54 */ lwz r0, 0x354(r1) +/* 80259CC4 00256C24 7C 08 03 A6 */ mtlr r0 +/* 80259CC8 00256C28 38 21 03 50 */ addi r1, r1, 0x350 +/* 80259CCC 00256C2C 4E 80 00 20 */ blr + +.global Touch__7CRidleyFR6CActorR13CStateManager +Touch__7CRidleyFR6CActorR13CStateManager: +/* 80259CD0 00256C30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80259CD4 00256C34 7C 08 02 A6 */ mflr r0 +/* 80259CD8 00256C38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80259CDC 00256C3C 4B E1 FD C5 */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80259CE0 00256C40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80259CE4 00256C44 7C 08 03 A6 */ mtlr r0 +/* 80259CE8 00256C48 38 21 00 10 */ addi r1, r1, 0x10 +/* 80259CEC 00256C4C 4E 80 00 20 */ blr + +.global Accept__7CRidleyFR8IVisitor +Accept__7CRidleyFR8IVisitor: +/* 80259CF0 00256C50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80259CF4 00256C54 7C 08 02 A6 */ mflr r0 +/* 80259CF8 00256C58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80259CFC 00256C5C 7C 60 1B 78 */ mr r0, r3 +/* 80259D00 00256C60 7C 83 23 78 */ mr r3, r4 +/* 80259D04 00256C64 81 84 00 00 */ lwz r12, 0(r4) +/* 80259D08 00256C68 7C 04 03 78 */ mr r4, r0 +/* 80259D0C 00256C6C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80259D10 00256C70 7D 89 03 A6 */ mtctr r12 +/* 80259D14 00256C74 4E 80 04 21 */ bctrl +/* 80259D18 00256C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80259D1C 00256C7C 7C 08 03 A6 */ mtlr r0 +/* 80259D20 00256C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80259D24 00256C84 4E 80 00 20 */ blr + +.global "__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi" +"__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi": +/* 80259D28 00256C88 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80259D2C 00256C8C 7C 08 02 A6 */ mflr r0 +/* 80259D30 00256C90 7C CC 33 78 */ mr r12, r6 +/* 80259D34 00256C94 7C A6 2B 78 */ mr r6, r5 +/* 80259D38 00256C98 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80259D3C 00256C9C 39 60 00 03 */ li r11, 3 +/* 80259D40 00256CA0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80259D44 00256CA4 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 80259D48 00256CA8 7C 7F 1B 78 */ mr r31, r3 +/* 80259D4C 00256CAC 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 80259D50 00256CB0 7D 1E 43 78 */ mr r30, r8 +/* 80259D54 00256CB4 7D 88 63 78 */ mr r8, r12 +/* 80259D58 00256CB8 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 80259D5C 00256CBC 83 A1 01 D8 */ lwz r29, 0x1d8(r1) +/* 80259D60 00256CC0 93 81 01 C0 */ stw r28, 0x1c0(r1) +/* 80259D64 00256CC4 83 81 01 DC */ lwz r28, 0x1dc(r1) +/* 80259D68 00256CC8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80259D6C 00256CCC 38 80 00 01 */ li r4, 1 +/* 80259D70 00256CD0 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80259D74 00256CD4 38 00 00 02 */ li r0, 2 +/* 80259D78 00256CD8 91 21 00 08 */ stw r9, 8(r1) +/* 80259D7C 00256CDC 7C E9 3B 78 */ mr r9, r7 +/* 80259D80 00256CE0 38 E0 00 00 */ li r7, 0 +/* 80259D84 00256CE4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80259D88 00256CE8 90 81 00 10 */ stw r4, 0x10(r1) +/* 80259D8C 00256CEC 38 80 00 1E */ li r4, 0x1e +/* 80259D90 00256CF0 91 61 00 14 */ stw r11, 0x14(r1) +/* 80259D94 00256CF4 91 41 00 18 */ stw r10, 0x18(r1) +/* 80259D98 00256CF8 7F CA F3 78 */ mr r10, r30 +/* 80259D9C 00256CFC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80259DA0 00256D00 4B E2 36 B1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80259DA4 00256D04 3C 60 80 3F */ lis r3, lbl_803E9258@ha +/* 80259DA8 00256D08 7F A4 EB 78 */ mr r4, r29 +/* 80259DAC 00256D0C 38 03 92 58 */ addi r0, r3, lbl_803E9258@l +/* 80259DB0 00256D10 7F 85 E3 78 */ mr r5, r28 +/* 80259DB4 00256D14 90 1F 00 00 */ stw r0, 0(r31) +/* 80259DB8 00256D18 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80259DBC 00256D1C 48 00 09 39 */ bl sub_8025a6f4 +/* 80259DC0 00256D20 38 80 00 00 */ li r4, 0 +/* 80259DC4 00256D24 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80259DC8 00256D28 90 9F 09 80 */ stw r4, 0x980(r31) +/* 80259DCC 00256D2C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80259DD0 00256D30 38 61 00 94 */ addi r3, r1, 0x94 +/* 80259DD4 00256D34 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80259DD8 00256D38 90 9F 09 84 */ stw r4, 0x984(r31) +/* 80259DDC 00256D3C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80259DE0 00256D40 B0 9F 09 88 */ sth r4, 0x988(r31) +/* 80259DE4 00256D44 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80259DE8 00256D48 B0 9F 09 8A */ sth r4, 0x98a(r31) +/* 80259DEC 00256D4C 80 DF 05 98 */ lwz r6, 0x598(r31) +/* 80259DF0 00256D50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80259DF4 00256D54 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80259DF8 00256D58 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 80259DFC 00256D5C 81 84 00 00 */ lwz r12, 0(r4) +/* 80259E00 00256D60 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80259E04 00256D64 7D 89 03 A6 */ mtctr r12 +/* 80259E08 00256D68 4E 80 04 21 */ bctrl +/* 80259E0C 00256D6C 3B 9F 09 8C */ addi r28, r31, 0x98c +/* 80259E10 00256D70 38 81 00 94 */ addi r4, r1, 0x94 +/* 80259E14 00256D74 7F 83 E3 78 */ mr r3, r28 +/* 80259E18 00256D78 48 0E 70 91 */ bl __ct__6CTokenFRC6CToken +/* 80259E1C 00256D7C 7F 83 E3 78 */ mr r3, r28 +/* 80259E20 00256D80 48 0E 6F ED */ bl GetObj__6CTokenFv +/* 80259E24 00256D84 80 03 00 04 */ lwz r0, 4(r3) +/* 80259E28 00256D88 38 61 00 94 */ addi r3, r1, 0x94 +/* 80259E2C 00256D8C 38 80 FF FF */ li r4, -1 +/* 80259E30 00256D90 90 1C 00 08 */ stw r0, 8(r28) +/* 80259E34 00256D94 48 0E 70 0D */ bl __dt__6CTokenFv +/* 80259E38 00256D98 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80259E3C 00256D9C 38 7F 09 98 */ addi r3, r31, 0x998 +/* 80259E40 00256DA0 80 1F 05 90 */ lwz r0, 0x590(r31) +/* 80259E44 00256DA4 38 81 01 18 */ addi r4, r1, 0x118 +/* 80259E48 00256DA8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80259E4C 00256DAC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80259E50 00256DB0 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 80259E54 00256DB4 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 80259E58 00256DB8 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 80259E5C 00256DBC 90 01 01 18 */ stw r0, 0x118(r1) +/* 80259E60 00256DC0 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80259E64 00256DC4 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 80259E68 00256DC8 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80259E6C 00256DCC 4B EB CE F1 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80259E70 00256DD0 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80259E74 00256DD4 38 7F 09 E4 */ addi r3, r31, 0x9e4 +/* 80259E78 00256DD8 80 1F 05 94 */ lwz r0, 0x594(r31) +/* 80259E7C 00256DDC 38 81 00 FC */ addi r4, r1, 0xfc +/* 80259E80 00256DE0 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80259E84 00256DE4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80259E88 00256DE8 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 80259E8C 00256DEC D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 80259E90 00256DF0 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 80259E94 00256DF4 90 01 00 FC */ stw r0, 0xfc(r1) +/* 80259E98 00256DF8 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80259E9C 00256DFC D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80259EA0 00256E00 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 80259EA4 00256E04 4B EB CE B9 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80259EA8 00256E08 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80259EAC 00256E0C 3C 60 80 57 */ lis r3, lbl_80572404@ha +/* 80259EB0 00256E10 38 A3 24 04 */ addi r5, r3, lbl_80572404@l +/* 80259EB4 00256E14 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80259EB8 00256E18 38 61 00 30 */ addi r3, r1, 0x30 +/* 80259EBC 00256E1C 4B DD 49 7D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80259EC0 00256E20 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80259EC4 00256E24 38 C0 00 01 */ li r6, 1 +/* 80259EC8 00256E28 38 A0 00 00 */ li r5, 0 +/* 80259ECC 00256E2C C0 22 B9 C8 */ lfs f1, lbl_805AD6E8@sda21(r2) +/* 80259ED0 00256E30 98 1F 0A 30 */ stb r0, 0xa30(r31) +/* 80259ED4 00256E34 38 7F 0A 38 */ addi r3, r31, 0xa38 +/* 80259ED8 00256E38 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80259EDC 00256E3C 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EE0 00256E40 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80259EE4 00256E44 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259EE8 00256E48 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EEC 00256E4C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80259EF0 00256E50 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259EF4 00256E54 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259EF8 00256E58 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259EFC 00256E5C 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F00 00256E60 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F04 00256E64 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80259F08 00256E68 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F0C 00256E6C 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F10 00256E70 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259F14 00256E74 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F18 00256E78 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F1C 00256E7C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259F20 00256E80 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F24 00256E84 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F28 00256E88 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80259F2C 00256E8C 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F30 00256E90 88 1F 0A 31 */ lbz r0, 0xa31(r31) +/* 80259F34 00256E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80259F38 00256E98 98 1F 0A 31 */ stb r0, 0xa31(r31) +/* 80259F3C 00256E9C 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F40 00256EA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259F44 00256EA4 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F48 00256EA8 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F4C 00256EAC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259F50 00256EB0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F54 00256EB4 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F58 00256EB8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259F5C 00256EBC 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F60 00256EC0 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F64 00256EC4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259F68 00256EC8 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F6C 00256ECC 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F70 00256ED0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259F74 00256ED4 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F78 00256ED8 88 1F 0A 32 */ lbz r0, 0xa32(r31) +/* 80259F7C 00256EDC 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80259F80 00256EE0 98 1F 0A 32 */ stb r0, 0xa32(r31) +/* 80259F84 00256EE4 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259F88 00256EE8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259F8C 00256EEC 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259F90 00256EF0 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259F94 00256EF4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80259F98 00256EF8 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259F9C 00256EFC 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FA0 00256F00 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80259FA4 00256F04 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FA8 00256F08 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FAC 00256F0C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80259FB0 00256F10 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FB4 00256F14 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FB8 00256F18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80259FBC 00256F1C 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FC0 00256F20 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FC4 00256F24 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80259FC8 00256F28 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FCC 00256F2C 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FD0 00256F30 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80259FD4 00256F34 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FD8 00256F38 88 1F 0A 33 */ lbz r0, 0xa33(r31) +/* 80259FDC 00256F3C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80259FE0 00256F40 98 1F 0A 33 */ stb r0, 0xa33(r31) +/* 80259FE4 00256F44 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80259FE8 00256F48 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80259FEC 00256F4C 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80259FF0 00256F50 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 80259FF4 00256F54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80259FF8 00256F58 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 80259FFC 00256F5C 88 1F 0A 34 */ lbz r0, 0xa34(r31) +/* 8025A000 00256F60 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8025A004 00256F64 98 1F 0A 34 */ stb r0, 0xa34(r31) +/* 8025A008 00256F68 C0 9E 00 00 */ lfs f4, 0(r30) +/* 8025A00C 00256F6C C0 7E 00 04 */ lfs f3, 4(r30) +/* 8025A010 00256F70 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A014 00256F74 EC 01 01 32 */ fmuls f0, f1, f4 +/* 8025A018 00256F78 80 1F 05 8C */ lwz r0, 0x58c(r31) +/* 8025A01C 00256F7C EC A1 00 F2 */ fmuls f5, f1, f3 +/* 8025A020 00256F80 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8025A024 00256F84 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 8025A028 00256F88 D0 61 00 CC */ stfs f3, 0xcc(r1) +/* 8025A02C 00256F8C D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 8025A030 00256F90 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8025A034 00256F94 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 8025A038 00256F98 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 8025A03C 00256F9C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 8025A040 00256FA0 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 8025A044 00256FA4 D0 A1 00 E8 */ stfs f5, 0xe8(r1) +/* 8025A048 00256FA8 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 8025A04C 00256FAC 4B EB CD 11 */ bl __ct__10CModelDataFRC10CStaticRes +/* 8025A050 00256FB0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8025A054 00256FB4 38 7F 0A 84 */ addi r3, r31, 0xa84 +/* 8025A058 00256FB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8025A05C 00256FBC 48 0B 8B 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025A060 00256FC0 C0 C2 B9 68 */ lfs f6, lbl_805AD688@sda21(r2) +/* 8025A064 00256FC4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025A068 00256FC8 3B C4 66 A0 */ addi r30, r4, skZero3f@l +/* 8025A06C 00256FCC 3C 60 80 57 */ lis r3, lbl_80572534@ha +/* 8025A070 00256FD0 D0 DF 0A B4 */ stfs f6, 0xab4(r31) +/* 8025A074 00256FD4 38 A3 25 34 */ addi r5, r3, lbl_80572534@l +/* 8025A078 00256FD8 C0 02 B9 CC */ lfs f0, lbl_805AD6EC@sda21(r2) +/* 8025A07C 00256FDC 3C C0 80 5A */ lis r6, lbl_805A6754@ha +/* 8025A080 00256FE0 C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) +/* 8025A084 00256FE4 38 80 00 02 */ li r4, 2 +/* 8025A088 00256FE8 D0 1F 0A B8 */ stfs f0, 0xab8(r31) +/* 8025A08C 00256FEC 38 00 00 00 */ li r0, 0 +/* 8025A090 00256FF0 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) +/* 8025A094 00256FF4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025A098 00256FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) +/* 8025A09C 00256FFC C0 42 B9 D0 */ lfs f2, lbl_805AD6F0@sda21(r2) +/* 8025A0A0 00257000 D0 1F 0A C0 */ stfs f0, 0xac0(r31) +/* 8025A0A4 00257004 C0 02 B9 D4 */ lfs f0, lbl_805AD6F4@sda21(r2) +/* 8025A0A8 00257008 C4 66 67 54 */ lfsu f3, lbl_805A6754@l(r6) +/* 8025A0AC 0025700C C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025A0B0 00257010 D0 7F 0A C4 */ stfs f3, 0xac4(r31) +/* 8025A0B4 00257014 C0 66 00 04 */ lfs f3, 4(r6) +/* 8025A0B8 00257018 D0 7F 0A C8 */ stfs f3, 0xac8(r31) +/* 8025A0BC 0025701C C0 66 00 08 */ lfs f3, 8(r6) +/* 8025A0C0 00257020 D0 7F 0A CC */ stfs f3, 0xacc(r31) +/* 8025A0C4 00257024 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 8025A0C8 00257028 D0 7F 0A D0 */ stfs f3, 0xad0(r31) +/* 8025A0CC 0025702C C0 66 00 10 */ lfs f3, 0x10(r6) +/* 8025A0D0 00257030 D0 7F 0A D4 */ stfs f3, 0xad4(r31) +/* 8025A0D4 00257034 C0 66 00 14 */ lfs f3, 0x14(r6) +/* 8025A0D8 00257038 D0 7F 0A D8 */ stfs f3, 0xad8(r31) +/* 8025A0DC 0025703C 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A0E0 00257040 C0 66 00 08 */ lfs f3, 8(r6) +/* 8025A0E4 00257044 C0 A6 00 00 */ lfs f5, 0(r6) +/* 8025A0E8 00257048 C0 86 00 04 */ lfs f4, 4(r6) +/* 8025A0EC 0025704C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8025A0F0 00257050 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 8025A0F4 00257054 D0 5F 0A DC */ stfs f2, 0xadc(r31) +/* 8025A0F8 00257058 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A0FC 0025705C D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 8025A100 00257060 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A104 00257064 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 8025A108 00257068 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 8025A10C 0025706C D0 5F 0A E0 */ stfs f2, 0xae0(r31) +/* 8025A110 00257070 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 8025A114 00257074 C0 46 00 08 */ lfs f2, 8(r6) +/* 8025A118 00257078 C0 86 00 00 */ lfs f4, 0(r6) +/* 8025A11C 0025707C C0 66 00 04 */ lfs f3, 4(r6) +/* 8025A120 00257080 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8025A124 00257084 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8025A128 00257088 D0 1F 0A E8 */ stfs f0, 0xae8(r31) +/* 8025A12C 0025708C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8025A130 00257090 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 8025A134 00257094 D0 1F 0A EC */ stfs f0, 0xaec(r31) +/* 8025A138 00257098 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8025A13C 0025709C D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8025A140 002570A0 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) +/* 8025A144 002570A4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8025A148 002570A8 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) +/* 8025A14C 002570AC C0 1E 00 00 */ lfs f0, 0(r30) +/* 8025A150 002570B0 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) +/* 8025A154 002570B4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8025A158 002570B8 D0 1F 0A FC */ stfs f0, 0xafc(r31) +/* 8025A15C 002570BC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8025A160 002570C0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) +/* 8025A164 002570C4 90 9F 0B 04 */ stw r4, 0xb04(r31) +/* 8025A168 002570C8 90 1F 0B 0C */ stw r0, 0xb0c(r31) +/* 8025A16C 002570CC D0 3F 0B 10 */ stfs f1, 0xb10(r31) +/* 8025A170 002570D0 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) +/* 8025A174 002570D4 D0 1F 0B 14 */ stfs f0, 0xb14(r31) +/* 8025A178 002570D8 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) +/* 8025A17C 002570DC D0 1F 0B 18 */ stfs f0, 0xb18(r31) +/* 8025A180 002570E0 C0 1F 05 A8 */ lfs f0, 0x5a8(r31) +/* 8025A184 002570E4 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) +/* 8025A188 002570E8 D0 3F 0B 20 */ stfs f1, 0xb20(r31) +/* 8025A18C 002570EC D0 3F 0B 24 */ stfs f1, 0xb24(r31) +/* 8025A190 002570F0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A194 002570F4 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A198 002570F8 4B DD 46 A1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A19C 002570FC 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 8025A1A0 00257100 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025A1A4 00257104 38 A3 25 24 */ addi r5, r3, lbl_80572524@l +/* 8025A1A8 00257108 C0 22 B9 D8 */ lfs f1, lbl_805AD6F8@sda21(r2) +/* 8025A1AC 0025710C 98 1F 0B 28 */ stb r0, 0xb28(r31) +/* 8025A1B0 00257110 38 7F 0B 2C */ addi r3, r31, 0xb2c +/* 8025A1B4 00257114 C0 42 B9 DC */ lfs f2, lbl_805AD6FC@sda21(r2) +/* 8025A1B8 00257118 38 C0 00 0A */ li r6, 0xa +/* 8025A1BC 0025711C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A1C0 00257120 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A1C4 00257124 4B F1 B7 F5 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 8025A1C8 00257128 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025A1CC 0025712C 38 7F 0B 68 */ addi r3, r31, 0xb68 +/* 8025A1D0 00257130 38 BF 05 B0 */ addi r5, r31, 0x5b0 +/* 8025A1D4 00257134 B0 1F 0B 64 */ sth r0, 0xb64(r31) +/* 8025A1D8 00257138 80 9F 05 AC */ lwz r4, 0x5ac(r31) +/* 8025A1DC 0025713C 4B FC 1E CD */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A1E0 00257140 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A1E4 00257144 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025A1E8 00257148 38 A3 25 24 */ addi r5, r3, lbl_80572524@l +/* 8025A1EC 0025714C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A1F0 00257150 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025A1F4 00257154 4B DD 46 45 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A1F8 00257158 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8025A1FC 0025715C 3C 60 80 57 */ lis r3, lbl_80572514@ha +/* 8025A200 00257160 38 A3 25 14 */ addi r5, r3, lbl_80572514@l +/* 8025A204 00257164 98 1F 0B 90 */ stb r0, 0xb90(r31) +/* 8025A208 00257168 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025A20C 0025716C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A210 00257170 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A214 00257174 4B DD 46 25 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A218 00257178 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8025A21C 0025717C 38 61 01 44 */ addi r3, r1, 0x144 +/* 8025A220 00257180 C0 02 B9 E0 */ lfs f0, lbl_805AD700@sda21(r2) +/* 8025A224 00257184 38 81 00 38 */ addi r4, r1, 0x38 +/* 8025A228 00257188 98 1F 0B 91 */ stb r0, 0xb91(r31) +/* 8025A22C 0025718C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025A230 00257190 48 0B 97 11 */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 8025A234 00257194 38 7F 0B 94 */ addi r3, r31, 0xb94 +/* 8025A238 00257198 38 81 01 44 */ addi r4, r1, 0x144 +/* 8025A23C 0025719C 48 0B 89 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025A240 002571A0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025A244 002571A4 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8025A248 002571A8 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 8025A24C 002571AC C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) +/* 8025A250 002571B0 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A254 002571B4 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 8025A258 002571B8 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) +/* 8025A25C 002571BC 38 7F 0C 14 */ addi r3, r31, 0xc14 +/* 8025A260 002571C0 D0 5F 0B C4 */ stfs f2, 0xbc4(r31) +/* 8025A264 002571C4 38 BF 06 18 */ addi r5, r31, 0x618 +/* 8025A268 002571C8 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A26C 002571CC D0 5F 0B C8 */ stfs f2, 0xbc8(r31) +/* 8025A270 002571D0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A274 002571D4 D0 5F 0B CC */ stfs f2, 0xbcc(r31) +/* 8025A278 002571D8 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A27C 002571DC D0 5F 0B D0 */ stfs f2, 0xbd0(r31) +/* 8025A280 002571E0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A284 002571E4 D0 5F 0B D4 */ stfs f2, 0xbd4(r31) +/* 8025A288 002571E8 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A28C 002571EC D0 5F 0B D8 */ stfs f2, 0xbd8(r31) +/* 8025A290 002571F0 C0 46 00 00 */ lfs f2, 0(r6) +/* 8025A294 002571F4 D0 5F 0B E4 */ stfs f2, 0xbe4(r31) +/* 8025A298 002571F8 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025A29C 002571FC D0 5F 0B E8 */ stfs f2, 0xbe8(r31) +/* 8025A2A0 00257200 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8025A2A4 00257204 D0 5F 0B EC */ stfs f2, 0xbec(r31) +/* 8025A2A8 00257208 C0 44 00 00 */ lfs f2, 0(r4) +/* 8025A2AC 0025720C D0 5F 0B F0 */ stfs f2, 0xbf0(r31) +/* 8025A2B0 00257210 C0 44 00 04 */ lfs f2, 4(r4) +/* 8025A2B4 00257214 D0 5F 0B F4 */ stfs f2, 0xbf4(r31) +/* 8025A2B8 00257218 C0 44 00 08 */ lfs f2, 8(r4) +/* 8025A2BC 0025721C D0 5F 0B F8 */ stfs f2, 0xbf8(r31) +/* 8025A2C0 00257220 C0 44 00 00 */ lfs f2, 0(r4) +/* 8025A2C4 00257224 D0 5F 0B FC */ stfs f2, 0xbfc(r31) +/* 8025A2C8 00257228 C0 44 00 04 */ lfs f2, 4(r4) +/* 8025A2CC 0025722C D0 5F 0C 00 */ stfs f2, 0xc00(r31) +/* 8025A2D0 00257230 C0 44 00 08 */ lfs f2, 8(r4) +/* 8025A2D4 00257234 D0 5F 0C 04 */ stfs f2, 0xc04(r31) +/* 8025A2D8 00257238 D0 3F 0C 08 */ stfs f1, 0xc08(r31) +/* 8025A2DC 0025723C D0 3F 0C 0C */ stfs f1, 0xc0c(r31) +/* 8025A2E0 00257240 D0 1F 0C 10 */ stfs f0, 0xc10(r31) +/* 8025A2E4 00257244 80 9F 06 14 */ lwz r4, 0x614(r31) +/* 8025A2E8 00257248 4B FC 1D C1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A2EC 0025724C 80 9F 07 08 */ lwz r4, 0x708(r31) +/* 8025A2F0 00257250 38 7F 0C 3C */ addi r3, r31, 0xc3c +/* 8025A2F4 00257254 38 BF 07 0C */ addi r5, r31, 0x70c +/* 8025A2F8 00257258 4B FC 1D B1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8025A2FC 0025725C 38 00 00 02 */ li r0, 2 +/* 8025A300 00257260 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025A304 00257264 90 1F 0C 64 */ stw r0, 0xc64(r31) +/* 8025A308 00257268 38 A0 00 00 */ li r5, 0 +/* 8025A30C 0025726C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A310 00257270 38 00 00 04 */ li r0, 4 +/* 8025A314 00257274 C0 23 66 A0 */ lfs f1, skZero3f@l(r3) +/* 8025A318 00257278 7F E4 FB 78 */ mr r4, r31 +/* 8025A31C 0025727C 38 61 01 28 */ addi r3, r1, 0x128 +/* 8025A320 00257280 D0 3F 0C 68 */ stfs f1, 0xc68(r31) +/* 8025A324 00257284 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8025A328 00257288 D0 3F 0C 6C */ stfs f1, 0xc6c(r31) +/* 8025A32C 0025728C C0 3E 00 08 */ lfs f1, 8(r30) +/* 8025A330 00257290 D0 3F 0C 70 */ stfs f1, 0xc70(r31) +/* 8025A334 00257294 90 BF 0C 74 */ stw r5, 0xc74(r31) +/* 8025A338 00257298 D0 1F 0C 78 */ stfs f0, 0xc78(r31) +/* 8025A33C 0025729C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) +/* 8025A340 002572A0 D0 1F 0C 80 */ stfs f0, 0xc80(r31) +/* 8025A344 002572A4 90 1F 0C 88 */ stw r0, 0xc88(r31) +/* 8025A348 002572A8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8025A34C 002572AC 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025A350 002572B0 7D 89 03 A6 */ mtctr r12 +/* 8025A354 002572B4 4E 80 04 21 */ bctrl +/* 8025A358 002572B8 80 01 01 28 */ lwz r0, 0x128(r1) +/* 8025A35C 002572BC 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8025A360 002572C0 38 C0 00 00 */ li r6, 0 +/* 8025A364 002572C4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A368 002572C8 90 1F 0C 8C */ stw r0, 0xc8c(r31) +/* 8025A36C 002572CC 38 80 00 01 */ li r4, 1 +/* 8025A370 002572D0 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8025A374 002572D4 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025A378 002572D8 88 E1 01 2C */ lbz r7, 0x12c(r1) +/* 8025A37C 002572DC 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8025A380 002572E0 98 FF 0C 90 */ stb r7, 0xc90(r31) +/* 8025A384 002572E4 C0 21 01 30 */ lfs f1, 0x130(r1) +/* 8025A388 002572E8 D0 3F 0C 94 */ stfs f1, 0xc94(r31) +/* 8025A38C 002572EC C0 21 01 34 */ lfs f1, 0x134(r1) +/* 8025A390 002572F0 D0 3F 0C 98 */ stfs f1, 0xc98(r31) +/* 8025A394 002572F4 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 8025A398 002572F8 D0 3F 0C 9C */ stfs f1, 0xc9c(r31) +/* 8025A39C 002572FC C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 8025A3A0 00257300 D0 3F 0C A0 */ stfs f1, 0xca0(r31) +/* 8025A3A4 00257304 88 E1 01 40 */ lbz r7, 0x140(r1) +/* 8025A3A8 00257308 98 FF 0C A4 */ stb r7, 0xca4(r31) +/* 8025A3AC 0025730C 90 DF 0C A8 */ stw r6, 0xca8(r31) +/* 8025A3B0 00257310 90 DF 0C AC */ stw r6, 0xcac(r31) +/* 8025A3B4 00257314 90 DF 0C B0 */ stw r6, 0xcb0(r31) +/* 8025A3B8 00257318 90 DF 0C B4 */ stw r6, 0xcb4(r31) +/* 8025A3BC 0025731C D0 1F 0C B8 */ stfs f0, 0xcb8(r31) +/* 8025A3C0 00257320 D0 1F 0C BC */ stfs f0, 0xcbc(r31) +/* 8025A3C4 00257324 90 9F 0C C0 */ stw r4, 0xcc0(r31) +/* 8025A3C8 00257328 90 9F 0C C4 */ stw r4, 0xcc4(r31) +/* 8025A3CC 0025732C D0 1F 0C C8 */ stfs f0, 0xcc8(r31) +/* 8025A3D0 00257330 80 DF 09 58 */ lwz r6, 0x958(r31) +/* 8025A3D4 00257334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8025A3D8 00257338 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8025A3DC 0025733C 90 C1 00 90 */ stw r6, 0x90(r1) +/* 8025A3E0 00257340 81 84 00 00 */ lwz r12, 0(r4) +/* 8025A3E4 00257344 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025A3E8 00257348 7D 89 03 A6 */ mtctr r12 +/* 8025A3EC 0025734C 4E 80 04 21 */ bctrl +/* 8025A3F0 00257350 3B 9F 0C D0 */ addi r28, r31, 0xcd0 +/* 8025A3F4 00257354 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025A3F8 00257358 7F 83 E3 78 */ mr r3, r28 +/* 8025A3FC 0025735C 48 0E 6A AD */ bl __ct__6CTokenFRC6CToken +/* 8025A400 00257360 7F 83 E3 78 */ mr r3, r28 +/* 8025A404 00257364 48 0E 6A 09 */ bl GetObj__6CTokenFv +/* 8025A408 00257368 80 03 00 04 */ lwz r0, 4(r3) +/* 8025A40C 0025736C 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025A410 00257370 38 80 FF FF */ li r4, -1 +/* 8025A414 00257374 90 1C 00 08 */ stw r0, 8(r28) +/* 8025A418 00257378 48 0E 6A 29 */ bl __dt__6CTokenFv +/* 8025A41C 0025737C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025A420 00257380 3B 80 00 00 */ li r28, 0 +/* 8025A424 00257384 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 8025A428 00257388 38 60 04 58 */ li r3, 0x458 +/* 8025A42C 0025738C 38 84 00 85 */ addi r4, r4, 0x85 +/* 8025A430 00257390 38 A0 00 00 */ li r5, 0 +/* 8025A434 00257394 48 0B B4 39 */ bl __nw__FUlPCcPCc +/* 8025A438 00257398 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8025A43C 0025739C 41 82 00 24 */ beq lbl_8025A460 +/* 8025A440 002573A0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025A444 002573A4 38 9F 0C D0 */ addi r4, r31, 0xcd0 +/* 8025A448 002573A8 48 0E 6A 61 */ bl __ct__6CTokenFRC6CToken +/* 8025A44C 002573AC 7F C3 F3 78 */ mr r3, r30 +/* 8025A450 002573B0 38 81 00 7C */ addi r4, r1, 0x7c +/* 8025A454 002573B4 3B 80 00 01 */ li r28, 1 +/* 8025A458 002573B8 48 10 7D 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8025A45C 002573BC 7C 7E 1B 78 */ mr r30, r3 +lbl_8025A460: +/* 8025A460 002573C0 7C 7E 00 D0 */ neg r3, r30 +/* 8025A464 002573C4 7F 80 07 75 */ extsb. r0, r28 +/* 8025A468 002573C8 7C 60 F3 78 */ or r0, r3, r30 +/* 8025A46C 002573CC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8025A470 002573D0 98 1F 0C DC */ stb r0, 0xcdc(r31) +/* 8025A474 002573D4 93 DF 0C E0 */ stw r30, 0xce0(r31) +/* 8025A478 002573D8 41 82 00 10 */ beq lbl_8025A488 +/* 8025A47C 002573DC 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025A480 002573E0 38 80 00 00 */ li r4, 0 +/* 8025A484 002573E4 48 0E 69 BD */ bl __dt__6CTokenFv +lbl_8025A488: +/* 8025A488 002573E8 38 00 00 00 */ li r0, 0 +/* 8025A48C 002573EC 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025A490 002573F0 90 1F 0C E4 */ stw r0, 0xce4(r31) +/* 8025A494 002573F4 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l +/* 8025A498 002573F8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) +/* 8025A49C 002573FC 38 83 00 85 */ addi r4, r3, 0x85 +/* 8025A4A0 00257400 38 60 00 9C */ li r3, 0x9c +/* 8025A4A4 00257404 38 A0 00 00 */ li r5, 0 +/* 8025A4A8 00257408 D0 1F 0D 08 */ stfs f0, 0xd08(r31) +/* 8025A4AC 0025740C 90 1F 0D 0C */ stw r0, 0xd0c(r31) +/* 8025A4B0 00257410 48 0B B3 BD */ bl __nw__FUlPCcPCc +/* 8025A4B4 00257414 7C 60 1B 79 */ or. r0, r3, r3 +/* 8025A4B8 00257418 41 82 00 18 */ beq lbl_8025A4D0 +/* 8025A4BC 0025741C 38 80 00 80 */ li r4, 0x80 +/* 8025A4C0 00257420 38 A0 00 80 */ li r5, 0x80 +/* 8025A4C4 00257424 38 C0 00 01 */ li r6, 1 +/* 8025A4C8 00257428 48 04 3F 15 */ bl __ct__16CProjectedShadowFv +/* 8025A4CC 0025742C 7C 60 1B 78 */ mr r0, r3 +lbl_8025A4D0: +/* 8025A4D0 00257430 90 1F 0D 10 */ stw r0, 0xd10(r31) +/* 8025A4D4 00257434 38 80 00 00 */ li r4, 0 +/* 8025A4D8 00257438 38 7F 0B 68 */ addi r3, r31, 0xb68 +/* 8025A4DC 0025743C 88 1F 00 E7 */ lbz r0, 0xe7(r31) +/* 8025A4E0 00257440 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8025A4E4 00257444 98 1F 00 E7 */ stb r0, 0xe7(r31) +/* 8025A4E8 00257448 48 0E 68 9D */ bl Lock__6CTokenFv +/* 8025A4EC 0025744C 38 7F 0C 14 */ addi r3, r31, 0xc14 +/* 8025A4F0 00257450 48 0E 68 95 */ bl Lock__6CTokenFv +/* 8025A4F4 00257454 38 7F 0C 3C */ addi r3, r31, 0xc3c +/* 8025A4F8 00257458 48 0E 68 8D */ bl Lock__6CTokenFv +/* 8025A4FC 0025745C 80 7F 0C E0 */ lwz r3, 0xce0(r31) +/* 8025A500 00257460 28 03 00 00 */ cmplwi r3, 0 +/* 8025A504 00257464 41 82 00 18 */ beq lbl_8025A51C +/* 8025A508 00257468 81 83 00 00 */ lwz r12, 0(r3) +/* 8025A50C 0025746C 38 80 00 00 */ li r4, 0 +/* 8025A510 00257470 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8025A514 00257474 7D 89 03 A6 */ mtctr r12 +/* 8025A518 00257478 4E 80 04 21 */ bctrl +lbl_8025A51C: +/* 8025A51C 0025747C 3C 60 80 47 */ lis r3, lbl_8046D7E0@ha +/* 8025A520 00257480 3B BF 0C E4 */ addi r29, r31, 0xce4 +/* 8025A524 00257484 3B C3 D7 E0 */ addi r30, r3, lbl_8046D7E0@l +/* 8025A528 00257488 3B 80 00 00 */ li r28, 0 +lbl_8025A52C: +/* 8025A52C 0025748C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8025A530 00257490 7F C5 F3 78 */ mr r5, r30 +/* 8025A534 00257494 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025A538 00257498 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8025A53C 0025749C 4B DD 42 FD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025A540 002574A0 80 1D 00 00 */ lwz r0, 0(r29) +/* 8025A544 002574A4 7C 7D 02 14 */ add r3, r29, r0 +/* 8025A548 002574A8 34 63 00 04 */ addic. r3, r3, 4 +/* 8025A54C 002574AC 41 82 00 0C */ beq lbl_8025A558 +/* 8025A550 002574B0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8025A554 002574B4 98 03 00 00 */ stb r0, 0(r3) +lbl_8025A558: +/* 8025A558 002574B8 80 7F 0C E4 */ lwz r3, 0xce4(r31) +/* 8025A55C 002574BC 3B 9C 00 01 */ addi r28, r28, 1 +/* 8025A560 002574C0 28 1C 00 1E */ cmplwi r28, 0x1e +/* 8025A564 002574C4 3B DE 00 10 */ addi r30, r30, 0x10 +/* 8025A568 002574C8 38 03 00 01 */ addi r0, r3, 1 +/* 8025A56C 002574CC 90 1F 0C E4 */ stw r0, 0xce4(r31) +/* 8025A570 002574D0 41 80 FF BC */ blt lbl_8025A52C +/* 8025A574 002574D4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025A578 002574D8 48 08 8B 05 */ bl NoParameter__12CPASAnimParmFv +/* 8025A57C 002574DC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025A580 002574E0 48 08 8A FD */ bl NoParameter__12CPASAnimParmFv +/* 8025A584 002574E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 8025A588 002574E8 48 08 8A F5 */ bl NoParameter__12CPASAnimParmFv +/* 8025A58C 002574EC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025A590 002574F0 48 08 8A ED */ bl NoParameter__12CPASAnimParmFv +/* 8025A594 002574F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025A598 002574F8 48 08 8A E5 */ bl NoParameter__12CPASAnimParmFv +/* 8025A59C 002574FC 38 61 00 64 */ addi r3, r1, 0x64 +/* 8025A5A0 00257500 48 08 8A DD */ bl NoParameter__12CPASAnimParmFv +/* 8025A5A4 00257504 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025A5A8 00257508 38 80 00 03 */ li r4, 3 +/* 8025A5AC 0025750C 48 08 89 D9 */ bl FromEnum__12CPASAnimParmFi +/* 8025A5B0 00257510 38 61 00 74 */ addi r3, r1, 0x74 +/* 8025A5B4 00257514 38 80 00 04 */ li r4, 4 +/* 8025A5B8 00257518 48 08 89 CD */ bl FromEnum__12CPASAnimParmFi +/* 8025A5BC 0025751C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025A5C0 00257520 38 01 00 3C */ addi r0, r1, 0x3c +/* 8025A5C4 00257524 90 61 00 08 */ stw r3, 8(r1) +/* 8025A5C8 00257528 38 61 01 74 */ addi r3, r1, 0x174 +/* 8025A5CC 0025752C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 8025A5D0 00257530 38 C1 00 6C */ addi r6, r1, 0x6c +/* 8025A5D4 00257534 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025A5D8 00257538 38 E1 00 64 */ addi r7, r1, 0x64 +/* 8025A5DC 0025753C 39 01 00 5C */ addi r8, r1, 0x5c +/* 8025A5E0 00257540 39 21 00 54 */ addi r9, r1, 0x54 +/* 8025A5E4 00257544 39 41 00 4C */ addi r10, r1, 0x4c +/* 8025A5E8 00257548 38 80 00 07 */ li r4, 7 +/* 8025A5EC 0025754C 4B E2 2C D9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8025A5F0 00257550 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 8025A5F4 00257554 7F E3 FB 78 */ mr r3, r31 +/* 8025A5F8 00257558 38 81 01 74 */ addi r4, r1, 0x174 +/* 8025A5FC 0025755C C0 45 00 00 */ lfs f2, 0(r5) +/* 8025A600 00257560 C0 25 00 04 */ lfs f1, 4(r5) +/* 8025A604 00257564 C0 05 00 08 */ lfs f0, 8(r5) +/* 8025A608 00257568 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8025A60C 0025756C D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8025A610 00257570 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8025A614 00257574 4B E2 23 ED */ bl func_8007CA00 +/* 8025A618 00257578 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8025A61C 0025757C 34 A1 01 78 */ addic. r5, r1, 0x178 +/* 8025A620 00257580 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8025A624 00257584 D0 1F 0A E4 */ stfs f0, 0xae4(r31) +/* 8025A628 00257588 41 82 00 58 */ beq lbl_8025A680 +/* 8025A62C 0025758C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8025A630 00257590 38 60 00 00 */ li r3, 0 +/* 8025A634 00257594 2C 06 00 00 */ cmpwi r6, 0 +/* 8025A638 00257598 40 81 00 40 */ ble lbl_8025A678 +/* 8025A63C 0025759C 2C 06 00 08 */ cmpwi r6, 8 +/* 8025A640 002575A0 38 86 FF F8 */ addi r4, r6, -8 +/* 8025A644 002575A4 40 81 00 20 */ ble lbl_8025A664 +/* 8025A648 002575A8 38 04 00 07 */ addi r0, r4, 7 +/* 8025A64C 002575AC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025A650 002575B0 7C 09 03 A6 */ mtctr r0 +/* 8025A654 002575B4 2C 04 00 00 */ cmpwi r4, 0 +/* 8025A658 002575B8 40 81 00 0C */ ble lbl_8025A664 +lbl_8025A65C: +/* 8025A65C 002575BC 38 63 00 08 */ addi r3, r3, 8 +/* 8025A660 002575C0 42 00 FF FC */ bdnz lbl_8025A65C +lbl_8025A664: +/* 8025A664 002575C4 7C 03 30 50 */ subf r0, r3, r6 +/* 8025A668 002575C8 7C 09 03 A6 */ mtctr r0 +/* 8025A66C 002575CC 7C 03 30 00 */ cmpw r3, r6 +/* 8025A670 002575D0 40 80 00 08 */ bge lbl_8025A678 +lbl_8025A674: +/* 8025A674 002575D4 42 00 00 00 */ bdnz lbl_8025A674 +lbl_8025A678: +/* 8025A678 002575D8 38 00 00 00 */ li r0, 0 +/* 8025A67C 002575DC 90 05 00 00 */ stw r0, 0(r5) +lbl_8025A680: +/* 8025A680 002575E0 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8025A684 002575E4 38 80 00 01 */ li r4, 1 +/* 8025A688 002575E8 38 A0 00 01 */ li r5, 1 +/* 8025A68C 002575EC 4B FD 97 09 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState +/* 8025A690 002575F0 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A694 002575F4 38 A0 00 00 */ li r5, 0 +/* 8025A698 002575F8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8025A69C 002575FC 7F E3 FB 78 */ mr r3, r31 +/* 8025A6A0 00257600 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6A4 00257604 38 80 00 00 */ li r4, 0 +/* 8025A6A8 00257608 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6AC 0025760C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8025A6B0 00257610 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6B4 00257614 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6B8 00257618 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8025A6BC 0025761C 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6C0 00257620 88 1F 04 E1 */ lbz r0, 0x4e1(r31) +/* 8025A6C4 00257624 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 8025A6C8 00257628 98 1F 04 E1 */ stb r0, 0x4e1(r31) +/* 8025A6CC 0025762C 4B DF 86 A1 */ bl CreateShadow__6CActorFb +/* 8025A6D0 00257630 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 8025A6D4 00257634 7F E3 FB 78 */ mr r3, r31 +/* 8025A6D8 00257638 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 8025A6DC 0025763C 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 8025A6E0 00257640 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 8025A6E4 00257644 83 81 01 C0 */ lwz r28, 0x1c0(r1) +/* 8025A6E8 00257648 7C 08 03 A6 */ mtlr r0 +/* 8025A6EC 0025764C 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 8025A6F0 00257650 4E 80 00 20 */ blr + +.global sub_8025a6f4 +sub_8025a6f4: +/* 8025A6F4 00257654 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8025A6F8 00257658 7C 08 02 A6 */ mflr r0 +/* 8025A6FC 0025765C 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8025A700 00257660 93 E1 02 AC */ stw r31, 0x2ac(r1) +/* 8025A704 00257664 7C BF 2B 78 */ mr r31, r5 +/* 8025A708 00257668 93 C1 02 A8 */ stw r30, 0x2a8(r1) +/* 8025A70C 0025766C 7C 9E 23 78 */ mr r30, r4 +/* 8025A710 00257670 93 A1 02 A4 */ stw r29, 0x2a4(r1) +/* 8025A714 00257674 7C 7D 1B 78 */ mr r29, r3 +/* 8025A718 00257678 7F C3 F3 78 */ mr r3, r30 +/* 8025A71C 0025767C 48 0E 45 69 */ bl ReadLong__12CInputStreamFv +/* 8025A720 00257680 90 7D 00 00 */ stw r3, 0(r29) +/* 8025A724 00257684 7F C3 F3 78 */ mr r3, r30 +/* 8025A728 00257688 48 0E 45 5D */ bl ReadLong__12CInputStreamFv +/* 8025A72C 0025768C 90 7D 00 04 */ stw r3, 4(r29) +/* 8025A730 00257690 7F C3 F3 78 */ mr r3, r30 +/* 8025A734 00257694 48 0E 45 51 */ bl ReadLong__12CInputStreamFv +/* 8025A738 00257698 90 7D 00 08 */ stw r3, 8(r29) +/* 8025A73C 0025769C 7F C3 F3 78 */ mr r3, r30 +/* 8025A740 002576A0 48 0E 45 45 */ bl ReadLong__12CInputStreamFv +/* 8025A744 002576A4 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8025A748 002576A8 7F C3 F3 78 */ mr r3, r30 +/* 8025A74C 002576AC 48 0E 45 39 */ bl ReadLong__12CInputStreamFv +/* 8025A750 002576B0 90 7D 00 10 */ stw r3, 0x10(r29) +/* 8025A754 002576B4 7F C3 F3 78 */ mr r3, r30 +/* 8025A758 002576B8 48 0E 45 2D */ bl ReadLong__12CInputStreamFv +/* 8025A75C 002576BC 90 7D 00 14 */ stw r3, 0x14(r29) +/* 8025A760 002576C0 7F C3 F3 78 */ mr r3, r30 +/* 8025A764 002576C4 48 0E 45 21 */ bl ReadLong__12CInputStreamFv +/* 8025A768 002576C8 90 7D 00 18 */ stw r3, 0x18(r29) +/* 8025A76C 002576CC 7F C3 F3 78 */ mr r3, r30 +/* 8025A770 002576D0 48 0E 45 15 */ bl ReadLong__12CInputStreamFv +/* 8025A774 002576D4 90 7D 00 1C */ stw r3, 0x1c(r29) +/* 8025A778 002576D8 7F C3 F3 78 */ mr r3, r30 +/* 8025A77C 002576DC 48 0E 45 09 */ bl ReadLong__12CInputStreamFv +/* 8025A780 002576E0 90 7D 00 20 */ stw r3, 0x20(r29) +/* 8025A784 002576E4 7F C3 F3 78 */ mr r3, r30 +/* 8025A788 002576E8 48 0E 44 FD */ bl ReadLong__12CInputStreamFv +/* 8025A78C 002576EC 90 7D 00 24 */ stw r3, 0x24(r29) +/* 8025A790 002576F0 7F C3 F3 78 */ mr r3, r30 +/* 8025A794 002576F4 48 0E 44 F1 */ bl ReadLong__12CInputStreamFv +/* 8025A798 002576F8 90 7D 00 28 */ stw r3, 0x28(r29) +/* 8025A79C 002576FC 7F C3 F3 78 */ mr r3, r30 +/* 8025A7A0 00257700 48 0E 44 E5 */ bl ReadLong__12CInputStreamFv +/* 8025A7A4 00257704 90 7D 00 2C */ stw r3, 0x2c(r29) +/* 8025A7A8 00257708 7F C3 F3 78 */ mr r3, r30 +/* 8025A7AC 0025770C 48 0E 44 D9 */ bl ReadLong__12CInputStreamFv +/* 8025A7B0 00257710 90 7D 00 30 */ stw r3, 0x30(r29) +/* 8025A7B4 00257714 7F C3 F3 78 */ mr r3, r30 +/* 8025A7B8 00257718 48 0E 44 71 */ bl ReadFloat__12CInputStreamFv +/* 8025A7BC 0025771C D0 3D 00 34 */ stfs f1, 0x34(r29) +/* 8025A7C0 00257720 7F C3 F3 78 */ mr r3, r30 +/* 8025A7C4 00257724 48 0E 44 65 */ bl ReadFloat__12CInputStreamFv +/* 8025A7C8 00257728 D0 3D 00 38 */ stfs f1, 0x38(r29) +/* 8025A7CC 0025772C 7F C3 F3 78 */ mr r3, r30 +/* 8025A7D0 00257730 48 0E 44 59 */ bl ReadFloat__12CInputStreamFv +/* 8025A7D4 00257734 D0 3D 00 3C */ stfs f1, 0x3c(r29) +/* 8025A7D8 00257738 7F C3 F3 78 */ mr r3, r30 +/* 8025A7DC 0025773C 48 0E 44 4D */ bl ReadFloat__12CInputStreamFv +/* 8025A7E0 00257740 D0 3D 00 40 */ stfs f1, 0x40(r29) +/* 8025A7E4 00257744 7F C3 F3 78 */ mr r3, r30 +/* 8025A7E8 00257748 48 0E 44 9D */ bl ReadLong__12CInputStreamFv +/* 8025A7EC 0025774C 90 7D 00 44 */ stw r3, 0x44(r29) +/* 8025A7F0 00257750 7F C4 F3 78 */ mr r4, r30 +/* 8025A7F4 00257754 38 7D 00 48 */ addi r3, r29, 0x48 +/* 8025A7F8 00257758 4B E6 8D 69 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A7FC 0025775C 7F C4 F3 78 */ mr r4, r30 +/* 8025A800 00257760 38 7D 00 64 */ addi r3, r29, 0x64 +/* 8025A804 00257764 4B E6 BD 4D */ bl __ct__9CBeamInfoFR12CInputStream +/* 8025A808 00257768 7F C3 F3 78 */ mr r3, r30 +/* 8025A80C 0025776C 48 0E 44 79 */ bl ReadLong__12CInputStreamFv +/* 8025A810 00257770 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A814 00257774 48 08 E1 9D */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A818 00257778 B0 7D 00 A8 */ sth r3, 0xa8(r29) +/* 8025A81C 0025777C 7F C3 F3 78 */ mr r3, r30 +/* 8025A820 00257780 48 0E 44 65 */ bl ReadLong__12CInputStreamFv +/* 8025A824 00257784 90 7D 00 AC */ stw r3, 0xac(r29) +/* 8025A828 00257788 7F C4 F3 78 */ mr r4, r30 +/* 8025A82C 0025778C 38 7D 00 B0 */ addi r3, r29, 0xb0 +/* 8025A830 00257790 4B E6 8D 31 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A834 00257794 7F C4 F3 78 */ mr r4, r30 +/* 8025A838 00257798 38 61 01 CC */ addi r3, r1, 0x1cc +/* 8025A83C 0025779C 4B F0 21 F5 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A840 002577A0 38 7D 00 CC */ addi r3, r29, 0xcc +/* 8025A844 002577A4 38 81 01 CC */ addi r4, r1, 0x1cc +/* 8025A848 002577A8 4B DB 05 61 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A84C 002577AC 34 81 02 4C */ addic. r4, r1, 0x24c +/* 8025A850 002577B0 41 82 00 10 */ beq lbl_8025A860 +/* 8025A854 002577B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A858 002577B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A85C 002577BC 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A860: +/* 8025A860 002577C0 34 81 02 10 */ addic. r4, r1, 0x210 +/* 8025A864 002577C4 41 82 00 10 */ beq lbl_8025A874 +/* 8025A868 002577C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A86C 002577CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A870 002577D0 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A874: +/* 8025A874 002577D4 34 81 01 D4 */ addic. r4, r1, 0x1d4 +/* 8025A878 002577D8 41 82 00 10 */ beq lbl_8025A888 +/* 8025A87C 002577DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A880 002577E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A884 002577E4 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A888: +/* 8025A888 002577E8 7F C3 F3 78 */ mr r3, r30 +/* 8025A88C 002577EC 48 0E 43 F9 */ bl ReadLong__12CInputStreamFv +/* 8025A890 002577F0 90 7D 01 A0 */ stw r3, 0x1a0(r29) +/* 8025A894 002577F4 7F C4 F3 78 */ mr r4, r30 +/* 8025A898 002577F8 38 7D 01 A4 */ addi r3, r29, 0x1a4 +/* 8025A89C 002577FC 4B E6 8C C5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A8A0 00257800 7F C4 F3 78 */ mr r4, r30 +/* 8025A8A4 00257804 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8025A8A8 00257808 4B F0 21 89 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A8AC 0025780C 38 7D 01 C0 */ addi r3, r29, 0x1c0 +/* 8025A8B0 00257810 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8025A8B4 00257814 4B DB 04 F5 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A8B8 00257818 34 81 01 78 */ addic. r4, r1, 0x178 +/* 8025A8BC 0025781C 41 82 00 10 */ beq lbl_8025A8CC +/* 8025A8C0 00257820 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8C4 00257824 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8C8 00257828 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8CC: +/* 8025A8CC 0025782C 34 81 01 3C */ addic. r4, r1, 0x13c +/* 8025A8D0 00257830 41 82 00 10 */ beq lbl_8025A8E0 +/* 8025A8D4 00257834 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8D8 00257838 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8DC 0025783C 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8E0: +/* 8025A8E0 00257840 34 81 01 00 */ addic. r4, r1, 0x100 +/* 8025A8E4 00257844 41 82 00 10 */ beq lbl_8025A8F4 +/* 8025A8E8 00257848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A8EC 0025784C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A8F0 00257850 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A8F4: +/* 8025A8F4 00257854 7F C3 F3 78 */ mr r3, r30 +/* 8025A8F8 00257858 48 0E 43 8D */ bl ReadLong__12CInputStreamFv +/* 8025A8FC 0025785C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A900 00257860 48 08 E0 B1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A904 00257864 B0 7D 02 94 */ sth r3, 0x294(r29) +/* 8025A908 00257868 7F C4 F3 78 */ mr r4, r30 +/* 8025A90C 0025786C 38 7D 02 98 */ addi r3, r29, 0x298 +/* 8025A910 00257870 4B E6 8C 51 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A914 00257874 7F C4 F3 78 */ mr r4, r30 +/* 8025A918 00257878 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025A91C 0025787C 4B F0 21 15 */ bl __ct__16CCameraShakeDataFR12CInputStream +/* 8025A920 00257880 38 7D 02 B4 */ addi r3, r29, 0x2b4 +/* 8025A924 00257884 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025A928 00257888 4B DB 04 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 8025A92C 0025788C 34 81 00 A4 */ addic. r4, r1, 0xa4 +/* 8025A930 00257890 41 82 00 10 */ beq lbl_8025A940 +/* 8025A934 00257894 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A938 00257898 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A93C 0025789C 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A940: +/* 8025A940 002578A0 34 81 00 68 */ addic. r4, r1, 0x68 +/* 8025A944 002578A4 41 82 00 10 */ beq lbl_8025A954 +/* 8025A948 002578A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A94C 002578AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A950 002578B0 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A954: +/* 8025A954 002578B4 34 81 00 2C */ addic. r4, r1, 0x2c +/* 8025A958 002578B8 41 82 00 10 */ beq lbl_8025A968 +/* 8025A95C 002578BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8025A960 002578C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8025A964 002578C4 90 04 00 00 */ stw r0, 0(r4) +lbl_8025A968: +/* 8025A968 002578C8 7F C3 F3 78 */ mr r3, r30 +/* 8025A96C 002578CC 48 0E 42 BD */ bl ReadFloat__12CInputStreamFv +/* 8025A970 002578D0 D0 3D 03 88 */ stfs f1, 0x388(r29) +/* 8025A974 002578D4 7F C3 F3 78 */ mr r3, r30 +/* 8025A978 002578D8 48 0E 42 B1 */ bl ReadFloat__12CInputStreamFv +/* 8025A97C 002578DC D0 3D 03 8C */ stfs f1, 0x38c(r29) +/* 8025A980 002578E0 7F C4 F3 78 */ mr r4, r30 +/* 8025A984 002578E4 38 7D 03 90 */ addi r3, r29, 0x390 +/* 8025A988 002578E8 4B E6 8B D9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A98C 002578EC 7F C3 F3 78 */ mr r3, r30 +/* 8025A990 002578F0 48 0E 42 99 */ bl ReadFloat__12CInputStreamFv +/* 8025A994 002578F4 D0 3D 03 AC */ stfs f1, 0x3ac(r29) +/* 8025A998 002578F8 7F C4 F3 78 */ mr r4, r30 +/* 8025A99C 002578FC 38 7D 03 B0 */ addi r3, r29, 0x3b0 +/* 8025A9A0 00257900 4B E6 8B C1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A9A4 00257904 7F C3 F3 78 */ mr r3, r30 +/* 8025A9A8 00257908 48 0E 42 81 */ bl ReadFloat__12CInputStreamFv +/* 8025A9AC 0025790C D0 3D 03 CC */ stfs f1, 0x3cc(r29) +/* 8025A9B0 00257910 7F C4 F3 78 */ mr r4, r30 +/* 8025A9B4 00257914 38 7D 03 D0 */ addi r3, r29, 0x3d0 +/* 8025A9B8 00257918 4B E6 8B A9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025A9BC 0025791C 7F C3 F3 78 */ mr r3, r30 +/* 8025A9C0 00257920 48 0E 42 69 */ bl ReadFloat__12CInputStreamFv +/* 8025A9C4 00257924 D0 3D 03 EC */ stfs f1, 0x3ec(r29) +/* 8025A9C8 00257928 7F C3 F3 78 */ mr r3, r30 +/* 8025A9CC 0025792C 48 0E 42 B9 */ bl ReadLong__12CInputStreamFv +/* 8025A9D0 00257930 90 7D 03 F0 */ stw r3, 0x3f0(r29) +/* 8025A9D4 00257934 7F C3 F3 78 */ mr r3, r30 +/* 8025A9D8 00257938 48 0E 42 51 */ bl ReadFloat__12CInputStreamFv +/* 8025A9DC 0025793C D0 3D 03 F4 */ stfs f1, 0x3f4(r29) +/* 8025A9E0 00257940 7F C3 F3 78 */ mr r3, r30 +/* 8025A9E4 00257944 48 0E 42 A1 */ bl ReadLong__12CInputStreamFv +/* 8025A9E8 00257948 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8025A9EC 0025794C 48 08 DF C5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8025A9F0 00257950 2C 1F 00 2F */ cmpwi r31, 0x2f +/* 8025A9F4 00257954 B0 7D 03 F8 */ sth r3, 0x3f8(r29) +/* 8025A9F8 00257958 40 81 00 18 */ ble lbl_8025AA10 +/* 8025A9FC 0025795C 7F C4 F3 78 */ mr r4, r30 +/* 8025AA00 00257960 38 61 00 08 */ addi r3, r1, 8 +/* 8025AA04 00257964 4B E6 8B 5D */ bl __ct__11CDamageInfoFR12CInputStream +/* 8025AA08 00257968 7C 64 1B 78 */ mr r4, r3 +/* 8025AA0C 0025796C 48 00 00 08 */ b lbl_8025AA14 +lbl_8025AA10: +/* 8025AA10 00257970 38 9D 00 48 */ addi r4, r29, 0x48 +lbl_8025AA14: +/* 8025AA14 00257974 80 04 00 00 */ lwz r0, 0(r4) +/* 8025AA18 00257978 7F A3 EB 78 */ mr r3, r29 +/* 8025AA1C 0025797C 90 1D 03 FC */ stw r0, 0x3fc(r29) +/* 8025AA20 00257980 88 04 00 04 */ lbz r0, 4(r4) +/* 8025AA24 00257984 98 1D 04 00 */ stb r0, 0x400(r29) +/* 8025AA28 00257988 C0 04 00 08 */ lfs f0, 8(r4) +/* 8025AA2C 0025798C D0 1D 04 04 */ stfs f0, 0x404(r29) +/* 8025AA30 00257990 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8025AA34 00257994 D0 1D 04 08 */ stfs f0, 0x408(r29) +/* 8025AA38 00257998 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8025AA3C 0025799C D0 1D 04 0C */ stfs f0, 0x40c(r29) +/* 8025AA40 002579A0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8025AA44 002579A4 D0 1D 04 10 */ stfs f0, 0x410(r29) +/* 8025AA48 002579A8 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8025AA4C 002579AC 98 1D 04 14 */ stb r0, 0x414(r29) +/* 8025AA50 002579B0 83 E1 02 AC */ lwz r31, 0x2ac(r1) +/* 8025AA54 002579B4 83 C1 02 A8 */ lwz r30, 0x2a8(r1) +/* 8025AA58 002579B8 83 A1 02 A4 */ lwz r29, 0x2a4(r1) +/* 8025AA5C 002579BC 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8025AA60 002579C0 7C 08 03 A6 */ mtlr r0 +/* 8025AA64 002579C4 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 8025AA68 002579C8 4E 80 00 20 */ blr + +.global __sinit_CRidley_cpp +__sinit_CRidley_cpp: +/* 8025AA6C 002579CC 94 21 F9 00 */ stwu r1, -0x700(r1) +/* 8025AA70 002579D0 7C 08 02 A6 */ mflr r0 +/* 8025AA74 002579D4 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha +/* 8025AA78 002579D8 3C A0 80 47 */ lis r5, lbl_8046D3A8@ha +/* 8025AA7C 002579DC 90 01 07 04 */ stw r0, 0x704(r1) +/* 8025AA80 002579E0 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l +/* 8025AA84 002579E4 38 61 05 B8 */ addi r3, r1, 0x5b8 +/* 8025AA88 002579E8 BD C1 06 B8 */ stmw r14, 0x6b8(r1) +/* 8025AA8C 002579EC 39 C5 D3 A8 */ addi r14, r5, lbl_8046D3A8@l +/* 8025AA90 002579F0 38 84 00 39 */ addi r4, r4, 0x39 +/* 8025AA94 002579F4 4B DA A2 25 */ bl string_l__4rstlFPCc +/* 8025AA98 002579F8 3C 60 80 57 */ lis r3, lbl_80572404@ha +/* 8025AA9C 002579FC 38 81 05 B8 */ addi r4, r1, 0x5b8 +/* 8025AAA0 00257A00 38 63 24 04 */ addi r3, r3, lbl_80572404@l +/* 8025AAA4 00257A04 48 0E 36 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AAA8 00257A08 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AAAC 00257A0C 38 AE 00 00 */ addi r5, r14, 0 +/* 8025AAB0 00257A10 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AAB4 00257A14 48 12 EB D9 */ bl __register_global_object +/* 8025AAB8 00257A18 38 61 05 B8 */ addi r3, r1, 0x5b8 +/* 8025AABC 00257A1C 48 0E 30 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AAC0 00257A20 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AAC4 00257A24 38 61 05 A8 */ addi r3, r1, 0x5a8 +/* 8025AAC8 00257A28 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AACC 00257A2C 38 84 00 A1 */ addi r4, r4, 0xa1 +/* 8025AAD0 00257A30 4B DA A1 E9 */ bl string_l__4rstlFPCc +/* 8025AAD4 00257A34 3C 60 80 57 */ lis r3, lbl_80572514@ha +/* 8025AAD8 00257A38 38 81 05 A8 */ addi r4, r1, 0x5a8 +/* 8025AADC 00257A3C 38 63 25 14 */ addi r3, r3, lbl_80572514@l +/* 8025AAE0 00257A40 48 0E 36 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AAE4 00257A44 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AAE8 00257A48 38 AE 00 0C */ addi r5, r14, 0xc +/* 8025AAEC 00257A4C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AAF0 00257A50 48 12 EB 9D */ bl __register_global_object +/* 8025AAF4 00257A54 38 61 05 A8 */ addi r3, r1, 0x5a8 +/* 8025AAF8 00257A58 48 0E 2F E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AAFC 00257A5C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB00 00257A60 38 61 05 98 */ addi r3, r1, 0x598 +/* 8025AB04 00257A64 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB08 00257A68 38 84 00 4A */ addi r4, r4, 0x4a +/* 8025AB0C 00257A6C 4B DA A1 AD */ bl string_l__4rstlFPCc +/* 8025AB10 00257A70 3C 60 80 57 */ lis r3, lbl_80572524@ha +/* 8025AB14 00257A74 38 81 05 98 */ addi r4, r1, 0x598 +/* 8025AB18 00257A78 38 63 25 24 */ addi r3, r3, lbl_80572524@l +/* 8025AB1C 00257A7C 48 0E 36 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB20 00257A80 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB24 00257A84 38 AE 00 18 */ addi r5, r14, 0x18 +/* 8025AB28 00257A88 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AB2C 00257A8C 48 12 EB 61 */ bl __register_global_object +/* 8025AB30 00257A90 38 61 05 98 */ addi r3, r1, 0x598 +/* 8025AB34 00257A94 48 0E 2F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AB38 00257A98 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB3C 00257A9C 38 61 05 88 */ addi r3, r1, 0x588 +/* 8025AB40 00257AA0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB44 00257AA4 38 84 00 23 */ addi r4, r4, 0x23 +/* 8025AB48 00257AA8 4B DA A1 71 */ bl string_l__4rstlFPCc +/* 8025AB4C 00257AAC 3C 60 80 57 */ lis r3, lbl_80572534@ha +/* 8025AB50 00257AB0 38 81 05 88 */ addi r4, r1, 0x588 +/* 8025AB54 00257AB4 38 63 25 34 */ addi r3, r3, lbl_80572534@l +/* 8025AB58 00257AB8 48 0E 36 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB5C 00257ABC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB60 00257AC0 38 AE 00 24 */ addi r5, r14, 0x24 +/* 8025AB64 00257AC4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AB68 00257AC8 48 12 EB 25 */ bl __register_global_object +/* 8025AB6C 00257ACC 38 61 05 88 */ addi r3, r1, 0x588 +/* 8025AB70 00257AD0 48 0E 2F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AB74 00257AD4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AB78 00257AD8 38 61 05 78 */ addi r3, r1, 0x578 +/* 8025AB7C 00257ADC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AB80 00257AE0 38 84 00 AC */ addi r4, r4, 0xac +/* 8025AB84 00257AE4 4B DA A1 35 */ bl string_l__4rstlFPCc +/* 8025AB88 00257AE8 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AB8C 00257AEC 38 81 05 78 */ addi r4, r1, 0x578 +/* 8025AB90 00257AF0 48 0E 35 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AB94 00257AF4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AB98 00257AF8 38 AE 00 30 */ addi r5, r14, 0x30 +/* 8025AB9C 00257AFC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ABA0 00257B00 48 12 EA ED */ bl __register_global_object +/* 8025ABA4 00257B04 38 61 05 78 */ addi r3, r1, 0x578 +/* 8025ABA8 00257B08 48 0E 2F 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ABAC 00257B0C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ABB0 00257B10 38 61 05 68 */ addi r3, r1, 0x568 +/* 8025ABB4 00257B14 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ABB8 00257B18 38 84 00 BC */ addi r4, r4, 0xbc +/* 8025ABBC 00257B1C 4B DA A0 FD */ bl string_l__4rstlFPCc +/* 8025ABC0 00257B20 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ABC4 00257B24 38 81 05 68 */ addi r4, r1, 0x568 +/* 8025ABC8 00257B28 38 63 00 10 */ addi r3, r3, 0x10 +/* 8025ABCC 00257B2C 48 0E 35 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ABD0 00257B30 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ABD4 00257B34 38 AE 00 3C */ addi r5, r14, 0x3c +/* 8025ABD8 00257B38 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ABDC 00257B3C 48 12 EA B1 */ bl __register_global_object +/* 8025ABE0 00257B40 38 61 05 68 */ addi r3, r1, 0x568 +/* 8025ABE4 00257B44 48 0E 2E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ABE8 00257B48 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ABEC 00257B4C 38 61 05 58 */ addi r3, r1, 0x558 +/* 8025ABF0 00257B50 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ABF4 00257B54 38 84 00 CC */ addi r4, r4, 0xcc +/* 8025ABF8 00257B58 4B DA A0 C1 */ bl string_l__4rstlFPCc +/* 8025ABFC 00257B5C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC00 00257B60 38 81 05 58 */ addi r4, r1, 0x558 +/* 8025AC04 00257B64 38 63 00 20 */ addi r3, r3, 0x20 +/* 8025AC08 00257B68 48 0E 35 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC0C 00257B6C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC10 00257B70 38 AE 00 48 */ addi r5, r14, 0x48 +/* 8025AC14 00257B74 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC18 00257B78 48 12 EA 75 */ bl __register_global_object +/* 8025AC1C 00257B7C 38 61 05 58 */ addi r3, r1, 0x558 +/* 8025AC20 00257B80 48 0E 2E C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC24 00257B84 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AC28 00257B88 38 61 05 48 */ addi r3, r1, 0x548 +/* 8025AC2C 00257B8C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AC30 00257B90 38 84 00 DC */ addi r4, r4, 0xdc +/* 8025AC34 00257B94 4B DA A0 85 */ bl string_l__4rstlFPCc +/* 8025AC38 00257B98 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC3C 00257B9C 38 81 05 48 */ addi r4, r1, 0x548 +/* 8025AC40 00257BA0 38 63 00 30 */ addi r3, r3, 0x30 +/* 8025AC44 00257BA4 48 0E 35 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC48 00257BA8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC4C 00257BAC 38 AE 00 54 */ addi r5, r14, 0x54 +/* 8025AC50 00257BB0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC54 00257BB4 48 12 EA 39 */ bl __register_global_object +/* 8025AC58 00257BB8 38 61 05 48 */ addi r3, r1, 0x548 +/* 8025AC5C 00257BBC 48 0E 2E 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC60 00257BC0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AC64 00257BC4 38 61 05 38 */ addi r3, r1, 0x538 +/* 8025AC68 00257BC8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AC6C 00257BCC 38 84 00 EC */ addi r4, r4, 0xec +/* 8025AC70 00257BD0 4B DA A0 49 */ bl string_l__4rstlFPCc +/* 8025AC74 00257BD4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AC78 00257BD8 38 81 05 38 */ addi r4, r1, 0x538 +/* 8025AC7C 00257BDC 38 63 00 40 */ addi r3, r3, 0x40 +/* 8025AC80 00257BE0 48 0E 34 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AC84 00257BE4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AC88 00257BE8 38 AE 00 60 */ addi r5, r14, 0x60 +/* 8025AC8C 00257BEC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AC90 00257BF0 48 12 E9 FD */ bl __register_global_object +/* 8025AC94 00257BF4 38 61 05 38 */ addi r3, r1, 0x538 +/* 8025AC98 00257BF8 48 0E 2E 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AC9C 00257BFC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ACA0 00257C00 38 61 05 28 */ addi r3, r1, 0x528 +/* 8025ACA4 00257C04 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ACA8 00257C08 38 84 00 FC */ addi r4, r4, 0xfc +/* 8025ACAC 00257C0C 4B DA A0 0D */ bl string_l__4rstlFPCc +/* 8025ACB0 00257C10 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ACB4 00257C14 38 81 05 28 */ addi r4, r1, 0x528 +/* 8025ACB8 00257C18 38 63 00 50 */ addi r3, r3, 0x50 +/* 8025ACBC 00257C1C 48 0E 34 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ACC0 00257C20 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ACC4 00257C24 38 AE 00 6C */ addi r5, r14, 0x6c +/* 8025ACC8 00257C28 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ACCC 00257C2C 48 12 E9 C1 */ bl __register_global_object +/* 8025ACD0 00257C30 38 61 05 28 */ addi r3, r1, 0x528 +/* 8025ACD4 00257C34 48 0E 2E 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ACD8 00257C38 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ACDC 00257C3C 38 61 05 18 */ addi r3, r1, 0x518 +/* 8025ACE0 00257C40 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ACE4 00257C44 38 84 01 0C */ addi r4, r4, 0x10c +/* 8025ACE8 00257C48 4B DA 9F D1 */ bl string_l__4rstlFPCc +/* 8025ACEC 00257C4C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ACF0 00257C50 38 81 05 18 */ addi r4, r1, 0x518 +/* 8025ACF4 00257C54 38 63 00 60 */ addi r3, r3, 0x60 +/* 8025ACF8 00257C58 48 0E 34 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ACFC 00257C5C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD00 00257C60 38 AE 00 78 */ addi r5, r14, 0x78 +/* 8025AD04 00257C64 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD08 00257C68 48 12 E9 85 */ bl __register_global_object +/* 8025AD0C 00257C6C 38 61 05 18 */ addi r3, r1, 0x518 +/* 8025AD10 00257C70 48 0E 2D D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD14 00257C74 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD18 00257C78 38 61 05 08 */ addi r3, r1, 0x508 +/* 8025AD1C 00257C7C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD20 00257C80 38 84 01 1C */ addi r4, r4, 0x11c +/* 8025AD24 00257C84 4B DA 9F 95 */ bl string_l__4rstlFPCc +/* 8025AD28 00257C88 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AD2C 00257C8C 38 81 05 08 */ addi r4, r1, 0x508 +/* 8025AD30 00257C90 38 63 00 70 */ addi r3, r3, 0x70 +/* 8025AD34 00257C94 48 0E 34 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AD38 00257C98 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD3C 00257C9C 38 AE 00 84 */ addi r5, r14, 0x84 +/* 8025AD40 00257CA0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD44 00257CA4 48 12 E9 49 */ bl __register_global_object +/* 8025AD48 00257CA8 38 61 05 08 */ addi r3, r1, 0x508 +/* 8025AD4C 00257CAC 48 0E 2D 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD50 00257CB0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD54 00257CB4 38 61 04 F8 */ addi r3, r1, 0x4f8 +/* 8025AD58 00257CB8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD5C 00257CBC 38 84 01 2C */ addi r4, r4, 0x12c +/* 8025AD60 00257CC0 4B DA 9F 59 */ bl string_l__4rstlFPCc +/* 8025AD64 00257CC4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AD68 00257CC8 38 81 04 F8 */ addi r4, r1, 0x4f8 +/* 8025AD6C 00257CCC 38 63 00 80 */ addi r3, r3, 0x80 +/* 8025AD70 00257CD0 48 0E 33 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AD74 00257CD4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AD78 00257CD8 38 AE 00 90 */ addi r5, r14, 0x90 +/* 8025AD7C 00257CDC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AD80 00257CE0 48 12 E9 0D */ bl __register_global_object +/* 8025AD84 00257CE4 38 61 04 F8 */ addi r3, r1, 0x4f8 +/* 8025AD88 00257CE8 48 0E 2D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AD8C 00257CEC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AD90 00257CF0 38 61 04 E8 */ addi r3, r1, 0x4e8 +/* 8025AD94 00257CF4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AD98 00257CF8 38 84 01 36 */ addi r4, r4, 0x136 +/* 8025AD9C 00257CFC 4B DA 9F 1D */ bl string_l__4rstlFPCc +/* 8025ADA0 00257D00 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ADA4 00257D04 38 81 04 E8 */ addi r4, r1, 0x4e8 +/* 8025ADA8 00257D08 38 63 00 90 */ addi r3, r3, 0x90 +/* 8025ADAC 00257D0C 48 0E 33 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ADB0 00257D10 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ADB4 00257D14 38 AE 00 9C */ addi r5, r14, 0x9c +/* 8025ADB8 00257D18 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ADBC 00257D1C 48 12 E8 D1 */ bl __register_global_object +/* 8025ADC0 00257D20 38 61 04 E8 */ addi r3, r1, 0x4e8 +/* 8025ADC4 00257D24 48 0E 2D 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025ADC8 00257D28 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025ADCC 00257D2C 38 61 04 D8 */ addi r3, r1, 0x4d8 +/* 8025ADD0 00257D30 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025ADD4 00257D34 38 84 01 40 */ addi r4, r4, 0x140 +/* 8025ADD8 00257D38 4B DA 9E E1 */ bl string_l__4rstlFPCc +/* 8025ADDC 00257D3C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025ADE0 00257D40 38 81 04 D8 */ addi r4, r1, 0x4d8 +/* 8025ADE4 00257D44 38 63 00 A0 */ addi r3, r3, 0xa0 +/* 8025ADE8 00257D48 48 0E 33 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025ADEC 00257D4C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025ADF0 00257D50 38 AE 00 A8 */ addi r5, r14, 0xa8 +/* 8025ADF4 00257D54 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025ADF8 00257D58 48 12 E8 95 */ bl __register_global_object +/* 8025ADFC 00257D5C 38 61 04 D8 */ addi r3, r1, 0x4d8 +/* 8025AE00 00257D60 48 0E 2C E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE04 00257D64 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE08 00257D68 38 61 04 C8 */ addi r3, r1, 0x4c8 +/* 8025AE0C 00257D6C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE10 00257D70 38 84 01 4A */ addi r4, r4, 0x14a +/* 8025AE14 00257D74 4B DA 9E A5 */ bl string_l__4rstlFPCc +/* 8025AE18 00257D78 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE1C 00257D7C 38 81 04 C8 */ addi r4, r1, 0x4c8 +/* 8025AE20 00257D80 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8025AE24 00257D84 48 0E 33 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AE28 00257D88 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AE2C 00257D8C 38 AE 00 B4 */ addi r5, r14, 0xb4 +/* 8025AE30 00257D90 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AE34 00257D94 48 12 E8 59 */ bl __register_global_object +/* 8025AE38 00257D98 38 61 04 C8 */ addi r3, r1, 0x4c8 +/* 8025AE3C 00257D9C 48 0E 2C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE40 00257DA0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE44 00257DA4 38 61 04 B8 */ addi r3, r1, 0x4b8 +/* 8025AE48 00257DA8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE4C 00257DAC 38 84 01 54 */ addi r4, r4, 0x154 +/* 8025AE50 00257DB0 4B DA 9E 69 */ bl string_l__4rstlFPCc +/* 8025AE54 00257DB4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE58 00257DB8 38 81 04 B8 */ addi r4, r1, 0x4b8 +/* 8025AE5C 00257DBC 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8025AE60 00257DC0 48 0E 33 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AE64 00257DC4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AE68 00257DC8 38 AE 00 C0 */ addi r5, r14, 0xc0 +/* 8025AE6C 00257DCC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AE70 00257DD0 48 12 E8 1D */ bl __register_global_object +/* 8025AE74 00257DD4 38 61 04 B8 */ addi r3, r1, 0x4b8 +/* 8025AE78 00257DD8 48 0E 2C 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AE7C 00257DDC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AE80 00257DE0 38 61 04 A8 */ addi r3, r1, 0x4a8 +/* 8025AE84 00257DE4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AE88 00257DE8 38 84 01 5E */ addi r4, r4, 0x15e +/* 8025AE8C 00257DEC 4B DA 9E 2D */ bl string_l__4rstlFPCc +/* 8025AE90 00257DF0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AE94 00257DF4 38 81 04 A8 */ addi r4, r1, 0x4a8 +/* 8025AE98 00257DF8 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 8025AE9C 00257DFC 48 0E 32 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AEA0 00257E00 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AEA4 00257E04 38 AE 00 CC */ addi r5, r14, 0xcc +/* 8025AEA8 00257E08 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AEAC 00257E0C 48 12 E7 E1 */ bl __register_global_object +/* 8025AEB0 00257E10 38 61 04 A8 */ addi r3, r1, 0x4a8 +/* 8025AEB4 00257E14 48 0E 2C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AEB8 00257E18 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AEBC 00257E1C 38 61 04 98 */ addi r3, r1, 0x498 +/* 8025AEC0 00257E20 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AEC4 00257E24 38 84 01 68 */ addi r4, r4, 0x168 +/* 8025AEC8 00257E28 4B DA 9D F1 */ bl string_l__4rstlFPCc +/* 8025AECC 00257E2C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AED0 00257E30 38 81 04 98 */ addi r4, r1, 0x498 +/* 8025AED4 00257E34 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8025AED8 00257E38 48 0E 32 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AEDC 00257E3C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AEE0 00257E40 38 AE 00 D8 */ addi r5, r14, 0xd8 +/* 8025AEE4 00257E44 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AEE8 00257E48 48 12 E7 A5 */ bl __register_global_object +/* 8025AEEC 00257E4C 38 61 04 98 */ addi r3, r1, 0x498 +/* 8025AEF0 00257E50 48 0E 2B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AEF4 00257E54 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AEF8 00257E58 38 61 04 88 */ addi r3, r1, 0x488 +/* 8025AEFC 00257E5C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF00 00257E60 38 84 01 72 */ addi r4, r4, 0x172 +/* 8025AF04 00257E64 4B DA 9D B5 */ bl string_l__4rstlFPCc +/* 8025AF08 00257E68 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF0C 00257E6C 38 81 04 88 */ addi r4, r1, 0x488 +/* 8025AF10 00257E70 38 63 00 F0 */ addi r3, r3, 0xf0 +/* 8025AF14 00257E74 48 0E 32 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF18 00257E78 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF1C 00257E7C 38 AE 00 E4 */ addi r5, r14, 0xe4 +/* 8025AF20 00257E80 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF24 00257E84 48 12 E7 69 */ bl __register_global_object +/* 8025AF28 00257E88 38 61 04 88 */ addi r3, r1, 0x488 +/* 8025AF2C 00257E8C 48 0E 2B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AF30 00257E90 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AF34 00257E94 38 61 04 78 */ addi r3, r1, 0x478 +/* 8025AF38 00257E98 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF3C 00257E9C 38 84 01 7C */ addi r4, r4, 0x17c +/* 8025AF40 00257EA0 4B DA 9D 79 */ bl string_l__4rstlFPCc +/* 8025AF44 00257EA4 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF48 00257EA8 38 81 04 78 */ addi r4, r1, 0x478 +/* 8025AF4C 00257EAC 38 63 01 00 */ addi r3, r3, 0x100 +/* 8025AF50 00257EB0 48 0E 32 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF54 00257EB4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF58 00257EB8 38 AE 00 F0 */ addi r5, r14, 0xf0 +/* 8025AF5C 00257EBC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF60 00257EC0 48 12 E7 2D */ bl __register_global_object +/* 8025AF64 00257EC4 38 61 04 78 */ addi r3, r1, 0x478 +/* 8025AF68 00257EC8 48 0E 2B 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AF6C 00257ECC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AF70 00257ED0 38 61 04 68 */ addi r3, r1, 0x468 +/* 8025AF74 00257ED4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AF78 00257ED8 38 84 01 88 */ addi r4, r4, 0x188 +/* 8025AF7C 00257EDC 4B DA 9D 3D */ bl string_l__4rstlFPCc +/* 8025AF80 00257EE0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AF84 00257EE4 38 81 04 68 */ addi r4, r1, 0x468 +/* 8025AF88 00257EE8 38 63 01 10 */ addi r3, r3, 0x110 +/* 8025AF8C 00257EEC 48 0E 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AF90 00257EF0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AF94 00257EF4 38 AE 00 FC */ addi r5, r14, 0xfc +/* 8025AF98 00257EF8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AF9C 00257EFC 48 12 E6 F1 */ bl __register_global_object +/* 8025AFA0 00257F00 38 61 04 68 */ addi r3, r1, 0x468 +/* 8025AFA4 00257F04 48 0E 2B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AFA8 00257F08 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AFAC 00257F0C 38 61 04 58 */ addi r3, r1, 0x458 +/* 8025AFB0 00257F10 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AFB4 00257F14 38 84 01 94 */ addi r4, r4, 0x194 +/* 8025AFB8 00257F18 4B DA 9D 01 */ bl string_l__4rstlFPCc +/* 8025AFBC 00257F1C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AFC0 00257F20 38 81 04 58 */ addi r4, r1, 0x458 +/* 8025AFC4 00257F24 38 63 01 20 */ addi r3, r3, 0x120 +/* 8025AFC8 00257F28 48 0E 31 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025AFCC 00257F2C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025AFD0 00257F30 38 AE 01 08 */ addi r5, r14, 0x108 +/* 8025AFD4 00257F34 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025AFD8 00257F38 48 12 E6 B5 */ bl __register_global_object +/* 8025AFDC 00257F3C 38 61 04 58 */ addi r3, r1, 0x458 +/* 8025AFE0 00257F40 48 0E 2B 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025AFE4 00257F44 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025AFE8 00257F48 38 61 04 48 */ addi r3, r1, 0x448 +/* 8025AFEC 00257F4C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025AFF0 00257F50 38 84 01 A0 */ addi r4, r4, 0x1a0 +/* 8025AFF4 00257F54 4B DA 9C C5 */ bl string_l__4rstlFPCc +/* 8025AFF8 00257F58 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025AFFC 00257F5C 38 81 04 48 */ addi r4, r1, 0x448 +/* 8025B000 00257F60 38 63 01 30 */ addi r3, r3, 0x130 +/* 8025B004 00257F64 48 0E 31 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B008 00257F68 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B00C 00257F6C 38 AE 01 14 */ addi r5, r14, 0x114 +/* 8025B010 00257F70 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B014 00257F74 48 12 E6 79 */ bl __register_global_object +/* 8025B018 00257F78 38 61 04 48 */ addi r3, r1, 0x448 +/* 8025B01C 00257F7C 48 0E 2A C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B020 00257F80 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B024 00257F84 38 61 04 38 */ addi r3, r1, 0x438 +/* 8025B028 00257F88 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B02C 00257F8C 38 84 01 AC */ addi r4, r4, 0x1ac +/* 8025B030 00257F90 4B DA 9C 89 */ bl string_l__4rstlFPCc +/* 8025B034 00257F94 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B038 00257F98 38 81 04 38 */ addi r4, r1, 0x438 +/* 8025B03C 00257F9C 38 63 01 40 */ addi r3, r3, 0x140 +/* 8025B040 00257FA0 48 0E 31 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B044 00257FA4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B048 00257FA8 38 AE 01 20 */ addi r5, r14, 0x120 +/* 8025B04C 00257FAC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B050 00257FB0 48 12 E6 3D */ bl __register_global_object +/* 8025B054 00257FB4 38 61 04 38 */ addi r3, r1, 0x438 +/* 8025B058 00257FB8 48 0E 2A 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B05C 00257FBC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B060 00257FC0 38 61 04 28 */ addi r3, r1, 0x428 +/* 8025B064 00257FC4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B068 00257FC8 38 84 01 B8 */ addi r4, r4, 0x1b8 +/* 8025B06C 00257FCC 4B DA 9C 4D */ bl string_l__4rstlFPCc +/* 8025B070 00257FD0 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B074 00257FD4 38 81 04 28 */ addi r4, r1, 0x428 +/* 8025B078 00257FD8 38 63 01 50 */ addi r3, r3, 0x150 +/* 8025B07C 00257FDC 48 0E 30 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B080 00257FE0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B084 00257FE4 38 AE 01 2C */ addi r5, r14, 0x12c +/* 8025B088 00257FE8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B08C 00257FEC 48 12 E6 01 */ bl __register_global_object +/* 8025B090 00257FF0 38 61 04 28 */ addi r3, r1, 0x428 +/* 8025B094 00257FF4 48 0E 2A 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B098 00257FF8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B09C 00257FFC 38 61 04 18 */ addi r3, r1, 0x418 +/* 8025B0A0 00258000 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B0A4 00258004 38 84 01 C4 */ addi r4, r4, 0x1c4 +/* 8025B0A8 00258008 4B DA 9C 11 */ bl string_l__4rstlFPCc +/* 8025B0AC 0025800C 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B0B0 00258010 38 81 04 18 */ addi r4, r1, 0x418 +/* 8025B0B4 00258014 38 63 01 60 */ addi r3, r3, 0x160 +/* 8025B0B8 00258018 48 0E 30 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B0BC 0025801C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B0C0 00258020 38 AE 01 38 */ addi r5, r14, 0x138 +/* 8025B0C4 00258024 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B0C8 00258028 48 12 E5 C5 */ bl __register_global_object +/* 8025B0CC 0025802C 38 61 04 18 */ addi r3, r1, 0x418 +/* 8025B0D0 00258030 48 0E 2A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B0D4 00258034 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B0D8 00258038 38 61 04 08 */ addi r3, r1, 0x408 +/* 8025B0DC 0025803C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B0E0 00258040 38 84 01 D0 */ addi r4, r4, 0x1d0 +/* 8025B0E4 00258044 4B DA 9B D5 */ bl string_l__4rstlFPCc +/* 8025B0E8 00258048 38 6E 01 50 */ addi r3, r14, 0x150 +/* 8025B0EC 0025804C 38 81 04 08 */ addi r4, r1, 0x408 +/* 8025B0F0 00258050 38 63 01 70 */ addi r3, r3, 0x170 +/* 8025B0F4 00258054 48 0E 30 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B0F8 00258058 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B0FC 0025805C 38 AE 01 44 */ addi r5, r14, 0x144 +/* 8025B100 00258060 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B104 00258064 48 12 E5 89 */ bl __register_global_object +/* 8025B108 00258068 38 61 04 08 */ addi r3, r1, 0x408 +/* 8025B10C 0025806C 48 0E 29 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B110 00258070 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B114 00258074 38 61 03 F8 */ addi r3, r1, 0x3f8 +/* 8025B118 00258078 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B11C 0025807C 38 84 01 DC */ addi r4, r4, 0x1dc +/* 8025B120 00258080 4B DA 9B 99 */ bl string_l__4rstlFPCc +/* 8025B124 00258084 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B128 00258088 38 81 03 F8 */ addi r4, r1, 0x3f8 +/* 8025B12C 0025808C 48 0E 30 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B130 00258090 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B134 00258094 38 AE 02 D0 */ addi r5, r14, 0x2d0 +/* 8025B138 00258098 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B13C 0025809C 48 12 E5 51 */ bl __register_global_object +/* 8025B140 002580A0 38 61 03 F8 */ addi r3, r1, 0x3f8 +/* 8025B144 002580A4 48 0E 29 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B148 002580A8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B14C 002580AC 38 61 03 E8 */ addi r3, r1, 0x3e8 +/* 8025B150 002580B0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B154 002580B4 38 84 01 EA */ addi r4, r4, 0x1ea +/* 8025B158 002580B8 4B DA 9B 61 */ bl string_l__4rstlFPCc +/* 8025B15C 002580BC 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B160 002580C0 38 81 03 E8 */ addi r4, r1, 0x3e8 +/* 8025B164 002580C4 38 63 00 10 */ addi r3, r3, 0x10 +/* 8025B168 002580C8 48 0E 2F F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B16C 002580CC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B170 002580D0 38 AE 02 DC */ addi r5, r14, 0x2dc +/* 8025B174 002580D4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B178 002580D8 48 12 E5 15 */ bl __register_global_object +/* 8025B17C 002580DC 38 61 03 E8 */ addi r3, r1, 0x3e8 +/* 8025B180 002580E0 48 0E 29 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B184 002580E4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B188 002580E8 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 8025B18C 002580EC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B190 002580F0 38 84 01 F8 */ addi r4, r4, 0x1f8 +/* 8025B194 002580F4 4B DA 9B 25 */ bl string_l__4rstlFPCc +/* 8025B198 002580F8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B19C 002580FC 38 81 03 D8 */ addi r4, r1, 0x3d8 +/* 8025B1A0 00258100 38 63 00 20 */ addi r3, r3, 0x20 +/* 8025B1A4 00258104 48 0E 2F BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B1A8 00258108 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B1AC 0025810C 38 AE 02 E8 */ addi r5, r14, 0x2e8 +/* 8025B1B0 00258110 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B1B4 00258114 48 12 E4 D9 */ bl __register_global_object +/* 8025B1B8 00258118 38 61 03 D8 */ addi r3, r1, 0x3d8 +/* 8025B1BC 0025811C 48 0E 29 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B1C0 00258120 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B1C4 00258124 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 8025B1C8 00258128 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B1CC 0025812C 38 84 02 06 */ addi r4, r4, 0x206 +/* 8025B1D0 00258130 4B DA 9A E9 */ bl string_l__4rstlFPCc +/* 8025B1D4 00258134 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B1D8 00258138 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 8025B1DC 0025813C 38 63 00 30 */ addi r3, r3, 0x30 +/* 8025B1E0 00258140 48 0E 2F 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B1E4 00258144 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B1E8 00258148 38 AE 02 F4 */ addi r5, r14, 0x2f4 +/* 8025B1EC 0025814C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B1F0 00258150 48 12 E4 9D */ bl __register_global_object +/* 8025B1F4 00258154 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 8025B1F8 00258158 48 0E 28 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B1FC 0025815C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B200 00258160 38 61 03 B8 */ addi r3, r1, 0x3b8 +/* 8025B204 00258164 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B208 00258168 38 84 02 14 */ addi r4, r4, 0x214 +/* 8025B20C 0025816C 4B DA 9A AD */ bl string_l__4rstlFPCc +/* 8025B210 00258170 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B214 00258174 38 81 03 B8 */ addi r4, r1, 0x3b8 +/* 8025B218 00258178 38 63 00 40 */ addi r3, r3, 0x40 +/* 8025B21C 0025817C 48 0E 2F 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B220 00258180 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B224 00258184 38 AE 03 00 */ addi r5, r14, 0x300 +/* 8025B228 00258188 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B22C 0025818C 48 12 E4 61 */ bl __register_global_object +/* 8025B230 00258190 38 61 03 B8 */ addi r3, r1, 0x3b8 +/* 8025B234 00258194 48 0E 28 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B238 00258198 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B23C 0025819C 38 61 03 A8 */ addi r3, r1, 0x3a8 +/* 8025B240 002581A0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B244 002581A4 38 84 02 22 */ addi r4, r4, 0x222 +/* 8025B248 002581A8 4B DA 9A 71 */ bl string_l__4rstlFPCc +/* 8025B24C 002581AC 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B250 002581B0 38 81 03 A8 */ addi r4, r1, 0x3a8 +/* 8025B254 002581B4 38 63 00 50 */ addi r3, r3, 0x50 +/* 8025B258 002581B8 48 0E 2F 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B25C 002581BC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B260 002581C0 38 AE 03 0C */ addi r5, r14, 0x30c +/* 8025B264 002581C4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B268 002581C8 48 12 E4 25 */ bl __register_global_object +/* 8025B26C 002581CC 38 61 03 A8 */ addi r3, r1, 0x3a8 +/* 8025B270 002581D0 48 0E 28 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B274 002581D4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B278 002581D8 38 61 03 98 */ addi r3, r1, 0x398 +/* 8025B27C 002581DC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B280 002581E0 38 84 02 30 */ addi r4, r4, 0x230 +/* 8025B284 002581E4 4B DA 9A 35 */ bl string_l__4rstlFPCc +/* 8025B288 002581E8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B28C 002581EC 38 81 03 98 */ addi r4, r1, 0x398 +/* 8025B290 002581F0 38 63 00 60 */ addi r3, r3, 0x60 +/* 8025B294 002581F4 48 0E 2E CD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B298 002581F8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B29C 002581FC 38 AE 03 18 */ addi r5, r14, 0x318 +/* 8025B2A0 00258200 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B2A4 00258204 48 12 E3 E9 */ bl __register_global_object +/* 8025B2A8 00258208 38 61 03 98 */ addi r3, r1, 0x398 +/* 8025B2AC 0025820C 48 0E 28 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B2B0 00258210 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B2B4 00258214 38 61 03 88 */ addi r3, r1, 0x388 +/* 8025B2B8 00258218 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B2BC 0025821C 38 84 02 3F */ addi r4, r4, 0x23f +/* 8025B2C0 00258220 4B DA 99 F9 */ bl string_l__4rstlFPCc +/* 8025B2C4 00258224 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B2C8 00258228 38 81 03 88 */ addi r4, r1, 0x388 +/* 8025B2CC 0025822C 38 63 00 70 */ addi r3, r3, 0x70 +/* 8025B2D0 00258230 48 0E 2E 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B2D4 00258234 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B2D8 00258238 38 AE 03 24 */ addi r5, r14, 0x324 +/* 8025B2DC 0025823C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B2E0 00258240 48 12 E3 AD */ bl __register_global_object +/* 8025B2E4 00258244 38 61 03 88 */ addi r3, r1, 0x388 +/* 8025B2E8 00258248 48 0E 27 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B2EC 0025824C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B2F0 00258250 38 61 03 78 */ addi r3, r1, 0x378 +/* 8025B2F4 00258254 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B2F8 00258258 38 84 02 4E */ addi r4, r4, 0x24e +/* 8025B2FC 0025825C 4B DA 99 BD */ bl string_l__4rstlFPCc +/* 8025B300 00258260 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B304 00258264 38 81 03 78 */ addi r4, r1, 0x378 +/* 8025B308 00258268 38 63 00 80 */ addi r3, r3, 0x80 +/* 8025B30C 0025826C 48 0E 2E 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B310 00258270 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B314 00258274 38 AE 03 30 */ addi r5, r14, 0x330 +/* 8025B318 00258278 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B31C 0025827C 48 12 E3 71 */ bl __register_global_object +/* 8025B320 00258280 38 61 03 78 */ addi r3, r1, 0x378 +/* 8025B324 00258284 48 0E 27 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B328 00258288 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B32C 0025828C 38 61 03 68 */ addi r3, r1, 0x368 +/* 8025B330 00258290 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B334 00258294 38 84 02 5D */ addi r4, r4, 0x25d +/* 8025B338 00258298 4B DA 99 81 */ bl string_l__4rstlFPCc +/* 8025B33C 0025829C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B340 002582A0 38 81 03 68 */ addi r4, r1, 0x368 +/* 8025B344 002582A4 38 63 00 90 */ addi r3, r3, 0x90 +/* 8025B348 002582A8 48 0E 2E 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B34C 002582AC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B350 002582B0 38 AE 03 3C */ addi r5, r14, 0x33c +/* 8025B354 002582B4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B358 002582B8 48 12 E3 35 */ bl __register_global_object +/* 8025B35C 002582BC 38 61 03 68 */ addi r3, r1, 0x368 +/* 8025B360 002582C0 48 0E 27 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B364 002582C4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B368 002582C8 38 61 03 58 */ addi r3, r1, 0x358 +/* 8025B36C 002582CC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B370 002582D0 38 84 02 6C */ addi r4, r4, 0x26c +/* 8025B374 002582D4 4B DA 99 45 */ bl string_l__4rstlFPCc +/* 8025B378 002582D8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B37C 002582DC 38 81 03 58 */ addi r4, r1, 0x358 +/* 8025B380 002582E0 38 63 00 A0 */ addi r3, r3, 0xa0 +/* 8025B384 002582E4 48 0E 2D DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B388 002582E8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B38C 002582EC 38 AE 03 48 */ addi r5, r14, 0x348 +/* 8025B390 002582F0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B394 002582F4 48 12 E2 F9 */ bl __register_global_object +/* 8025B398 002582F8 38 61 03 58 */ addi r3, r1, 0x358 +/* 8025B39C 002582FC 48 0E 27 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B3A0 00258300 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B3A4 00258304 38 61 03 48 */ addi r3, r1, 0x348 +/* 8025B3A8 00258308 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B3AC 0025830C 38 84 02 7B */ addi r4, r4, 0x27b +/* 8025B3B0 00258310 4B DA 99 09 */ bl string_l__4rstlFPCc +/* 8025B3B4 00258314 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B3B8 00258318 38 81 03 48 */ addi r4, r1, 0x348 +/* 8025B3BC 0025831C 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8025B3C0 00258320 48 0E 2D A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B3C4 00258324 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B3C8 00258328 38 AE 03 54 */ addi r5, r14, 0x354 +/* 8025B3CC 0025832C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B3D0 00258330 48 12 E2 BD */ bl __register_global_object +/* 8025B3D4 00258334 38 61 03 48 */ addi r3, r1, 0x348 +/* 8025B3D8 00258338 48 0E 27 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B3DC 0025833C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B3E0 00258340 38 61 03 38 */ addi r3, r1, 0x338 +/* 8025B3E4 00258344 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B3E8 00258348 38 84 02 8A */ addi r4, r4, 0x28a +/* 8025B3EC 0025834C 4B DA 98 CD */ bl string_l__4rstlFPCc +/* 8025B3F0 00258350 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B3F4 00258354 38 81 03 38 */ addi r4, r1, 0x338 +/* 8025B3F8 00258358 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8025B3FC 0025835C 48 0E 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B400 00258360 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B404 00258364 38 AE 03 60 */ addi r5, r14, 0x360 +/* 8025B408 00258368 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B40C 0025836C 48 12 E2 81 */ bl __register_global_object +/* 8025B410 00258370 38 61 03 38 */ addi r3, r1, 0x338 +/* 8025B414 00258374 48 0E 26 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B418 00258378 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B41C 0025837C 38 61 03 28 */ addi r3, r1, 0x328 +/* 8025B420 00258380 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B424 00258384 38 84 02 98 */ addi r4, r4, 0x298 +/* 8025B428 00258388 4B DA 98 91 */ bl string_l__4rstlFPCc +/* 8025B42C 0025838C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B430 00258390 38 81 03 28 */ addi r4, r1, 0x328 +/* 8025B434 00258394 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 8025B438 00258398 48 0E 2D 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B43C 0025839C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B440 002583A0 38 AE 03 6C */ addi r5, r14, 0x36c +/* 8025B444 002583A4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B448 002583A8 48 12 E2 45 */ bl __register_global_object +/* 8025B44C 002583AC 38 61 03 28 */ addi r3, r1, 0x328 +/* 8025B450 002583B0 48 0E 26 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B454 002583B4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B458 002583B8 38 61 03 18 */ addi r3, r1, 0x318 +/* 8025B45C 002583BC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B460 002583C0 38 84 02 A6 */ addi r4, r4, 0x2a6 +/* 8025B464 002583C4 4B DA 98 55 */ bl string_l__4rstlFPCc +/* 8025B468 002583C8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B46C 002583CC 38 81 03 18 */ addi r4, r1, 0x318 +/* 8025B470 002583D0 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8025B474 002583D4 48 0E 2C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B478 002583D8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B47C 002583DC 38 AE 03 78 */ addi r5, r14, 0x378 +/* 8025B480 002583E0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B484 002583E4 48 12 E2 09 */ bl __register_global_object +/* 8025B488 002583E8 38 61 03 18 */ addi r3, r1, 0x318 +/* 8025B48C 002583EC 48 0E 26 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B490 002583F0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B494 002583F4 38 61 03 08 */ addi r3, r1, 0x308 +/* 8025B498 002583F8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B49C 002583FC 38 84 02 B4 */ addi r4, r4, 0x2b4 +/* 8025B4A0 00258400 4B DA 98 19 */ bl string_l__4rstlFPCc +/* 8025B4A4 00258404 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B4A8 00258408 38 81 03 08 */ addi r4, r1, 0x308 +/* 8025B4AC 0025840C 38 63 00 F0 */ addi r3, r3, 0xf0 +/* 8025B4B0 00258410 48 0E 2C B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B4B4 00258414 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B4B8 00258418 38 AE 03 84 */ addi r5, r14, 0x384 +/* 8025B4BC 0025841C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B4C0 00258420 48 12 E1 CD */ bl __register_global_object +/* 8025B4C4 00258424 38 61 03 08 */ addi r3, r1, 0x308 +/* 8025B4C8 00258428 48 0E 26 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B4CC 0025842C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B4D0 00258430 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 8025B4D4 00258434 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B4D8 00258438 38 84 02 C2 */ addi r4, r4, 0x2c2 +/* 8025B4DC 0025843C 4B DA 97 DD */ bl string_l__4rstlFPCc +/* 8025B4E0 00258440 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B4E4 00258444 38 81 02 F8 */ addi r4, r1, 0x2f8 +/* 8025B4E8 00258448 38 63 01 00 */ addi r3, r3, 0x100 +/* 8025B4EC 0025844C 48 0E 2C 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B4F0 00258450 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B4F4 00258454 38 AE 03 90 */ addi r5, r14, 0x390 +/* 8025B4F8 00258458 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B4FC 0025845C 48 12 E1 91 */ bl __register_global_object +/* 8025B500 00258460 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 8025B504 00258464 48 0E 25 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B508 00258468 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B50C 0025846C 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 8025B510 00258470 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B514 00258474 38 84 02 D0 */ addi r4, r4, 0x2d0 +/* 8025B518 00258478 4B DA 97 A1 */ bl string_l__4rstlFPCc +/* 8025B51C 0025847C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B520 00258480 38 81 02 E8 */ addi r4, r1, 0x2e8 +/* 8025B524 00258484 38 63 01 10 */ addi r3, r3, 0x110 +/* 8025B528 00258488 48 0E 2C 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B52C 0025848C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B530 00258490 38 AE 03 9C */ addi r5, r14, 0x39c +/* 8025B534 00258494 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B538 00258498 48 12 E1 55 */ bl __register_global_object +/* 8025B53C 0025849C 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 8025B540 002584A0 48 0E 25 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B544 002584A4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B548 002584A8 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8025B54C 002584AC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B550 002584B0 38 84 02 DE */ addi r4, r4, 0x2de +/* 8025B554 002584B4 4B DA 97 65 */ bl string_l__4rstlFPCc +/* 8025B558 002584B8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B55C 002584BC 38 81 02 D8 */ addi r4, r1, 0x2d8 +/* 8025B560 002584C0 38 63 01 20 */ addi r3, r3, 0x120 +/* 8025B564 002584C4 48 0E 2B FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B568 002584C8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B56C 002584CC 38 AE 03 A8 */ addi r5, r14, 0x3a8 +/* 8025B570 002584D0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B574 002584D4 48 12 E1 19 */ bl __register_global_object +/* 8025B578 002584D8 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 8025B57C 002584DC 48 0E 25 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B580 002584E0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B584 002584E4 38 61 02 C8 */ addi r3, r1, 0x2c8 +/* 8025B588 002584E8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B58C 002584EC 38 84 02 ED */ addi r4, r4, 0x2ed +/* 8025B590 002584F0 4B DA 97 29 */ bl string_l__4rstlFPCc +/* 8025B594 002584F4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B598 002584F8 38 81 02 C8 */ addi r4, r1, 0x2c8 +/* 8025B59C 002584FC 38 63 01 30 */ addi r3, r3, 0x130 +/* 8025B5A0 00258500 48 0E 2B C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B5A4 00258504 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B5A8 00258508 38 AE 03 B4 */ addi r5, r14, 0x3b4 +/* 8025B5AC 0025850C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B5B0 00258510 48 12 E0 DD */ bl __register_global_object +/* 8025B5B4 00258514 38 61 02 C8 */ addi r3, r1, 0x2c8 +/* 8025B5B8 00258518 48 0E 25 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B5BC 0025851C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B5C0 00258520 38 61 02 B8 */ addi r3, r1, 0x2b8 +/* 8025B5C4 00258524 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B5C8 00258528 38 84 02 FC */ addi r4, r4, 0x2fc +/* 8025B5CC 0025852C 4B DA 96 ED */ bl string_l__4rstlFPCc +/* 8025B5D0 00258530 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B5D4 00258534 38 81 02 B8 */ addi r4, r1, 0x2b8 +/* 8025B5D8 00258538 38 63 01 40 */ addi r3, r3, 0x140 +/* 8025B5DC 0025853C 48 0E 2B 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B5E0 00258540 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B5E4 00258544 38 AE 03 C0 */ addi r5, r14, 0x3c0 +/* 8025B5E8 00258548 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B5EC 0025854C 48 12 E0 A1 */ bl __register_global_object +/* 8025B5F0 00258550 38 61 02 B8 */ addi r3, r1, 0x2b8 +/* 8025B5F4 00258554 48 0E 24 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B5F8 00258558 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B5FC 0025855C 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 8025B600 00258560 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B604 00258564 38 84 03 0B */ addi r4, r4, 0x30b +/* 8025B608 00258568 4B DA 96 B1 */ bl string_l__4rstlFPCc +/* 8025B60C 0025856C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B610 00258570 38 81 02 A8 */ addi r4, r1, 0x2a8 +/* 8025B614 00258574 38 63 01 50 */ addi r3, r3, 0x150 +/* 8025B618 00258578 48 0E 2B 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B61C 0025857C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B620 00258580 38 AE 03 CC */ addi r5, r14, 0x3cc +/* 8025B624 00258584 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B628 00258588 48 12 E0 65 */ bl __register_global_object +/* 8025B62C 0025858C 38 61 02 A8 */ addi r3, r1, 0x2a8 +/* 8025B630 00258590 48 0E 24 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B634 00258594 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B638 00258598 38 61 02 98 */ addi r3, r1, 0x298 +/* 8025B63C 0025859C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B640 002585A0 38 84 03 1A */ addi r4, r4, 0x31a +/* 8025B644 002585A4 4B DA 96 75 */ bl string_l__4rstlFPCc +/* 8025B648 002585A8 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B64C 002585AC 38 81 02 98 */ addi r4, r1, 0x298 +/* 8025B650 002585B0 38 63 01 60 */ addi r3, r3, 0x160 +/* 8025B654 002585B4 48 0E 2B 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B658 002585B8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B65C 002585BC 38 AE 03 D8 */ addi r5, r14, 0x3d8 +/* 8025B660 002585C0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B664 002585C4 48 12 E0 29 */ bl __register_global_object +/* 8025B668 002585C8 38 61 02 98 */ addi r3, r1, 0x298 +/* 8025B66C 002585CC 48 0E 24 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B670 002585D0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B674 002585D4 38 61 02 88 */ addi r3, r1, 0x288 +/* 8025B678 002585D8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B67C 002585DC 38 84 03 29 */ addi r4, r4, 0x329 +/* 8025B680 002585E0 4B DA 96 39 */ bl string_l__4rstlFPCc +/* 8025B684 002585E4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B688 002585E8 38 81 02 88 */ addi r4, r1, 0x288 +/* 8025B68C 002585EC 38 63 01 70 */ addi r3, r3, 0x170 +/* 8025B690 002585F0 48 0E 2A D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B694 002585F4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B698 002585F8 38 AE 03 E4 */ addi r5, r14, 0x3e4 +/* 8025B69C 002585FC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B6A0 00258600 48 12 DF ED */ bl __register_global_object +/* 8025B6A4 00258604 38 61 02 88 */ addi r3, r1, 0x288 +/* 8025B6A8 00258608 48 0E 24 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B6AC 0025860C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B6B0 00258610 38 61 02 78 */ addi r3, r1, 0x278 +/* 8025B6B4 00258614 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B6B8 00258618 38 84 03 38 */ addi r4, r4, 0x338 +/* 8025B6BC 0025861C 4B DA 95 FD */ bl string_l__4rstlFPCc +/* 8025B6C0 00258620 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B6C4 00258624 38 81 02 78 */ addi r4, r1, 0x278 +/* 8025B6C8 00258628 38 63 01 80 */ addi r3, r3, 0x180 +/* 8025B6CC 0025862C 48 0E 2A 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B6D0 00258630 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B6D4 00258634 38 AE 03 F0 */ addi r5, r14, 0x3f0 +/* 8025B6D8 00258638 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B6DC 0025863C 48 12 DF B1 */ bl __register_global_object +/* 8025B6E0 00258640 38 61 02 78 */ addi r3, r1, 0x278 +/* 8025B6E4 00258644 48 0E 23 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B6E8 00258648 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B6EC 0025864C 38 61 02 68 */ addi r3, r1, 0x268 +/* 8025B6F0 00258650 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B6F4 00258654 38 84 03 49 */ addi r4, r4, 0x349 +/* 8025B6F8 00258658 4B DA 95 C1 */ bl string_l__4rstlFPCc +/* 8025B6FC 0025865C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B700 00258660 38 81 02 68 */ addi r4, r1, 0x268 +/* 8025B704 00258664 38 63 01 90 */ addi r3, r3, 0x190 +/* 8025B708 00258668 48 0E 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B70C 0025866C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B710 00258670 38 AE 03 FC */ addi r5, r14, 0x3fc +/* 8025B714 00258674 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B718 00258678 48 12 DF 75 */ bl __register_global_object +/* 8025B71C 0025867C 38 61 02 68 */ addi r3, r1, 0x268 +/* 8025B720 00258680 48 0E 23 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B724 00258684 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B728 00258688 38 61 02 58 */ addi r3, r1, 0x258 +/* 8025B72C 0025868C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B730 00258690 38 84 03 5A */ addi r4, r4, 0x35a +/* 8025B734 00258694 4B DA 95 85 */ bl string_l__4rstlFPCc +/* 8025B738 00258698 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B73C 0025869C 38 81 02 58 */ addi r4, r1, 0x258 +/* 8025B740 002586A0 38 63 01 A0 */ addi r3, r3, 0x1a0 +/* 8025B744 002586A4 48 0E 2A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B748 002586A8 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B74C 002586AC 38 AE 04 08 */ addi r5, r14, 0x408 +/* 8025B750 002586B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B754 002586B4 48 12 DF 39 */ bl __register_global_object +/* 8025B758 002586B8 38 61 02 58 */ addi r3, r1, 0x258 +/* 8025B75C 002586BC 48 0E 23 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B760 002586C0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B764 002586C4 38 61 02 48 */ addi r3, r1, 0x248 +/* 8025B768 002586C8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B76C 002586CC 38 84 03 6B */ addi r4, r4, 0x36b +/* 8025B770 002586D0 4B DA 95 49 */ bl string_l__4rstlFPCc +/* 8025B774 002586D4 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B778 002586D8 38 81 02 48 */ addi r4, r1, 0x248 +/* 8025B77C 002586DC 38 63 01 B0 */ addi r3, r3, 0x1b0 +/* 8025B780 002586E0 48 0E 29 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B784 002586E4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B788 002586E8 38 AE 04 14 */ addi r5, r14, 0x414 +/* 8025B78C 002586EC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B790 002586F0 48 12 DE FD */ bl __register_global_object +/* 8025B794 002586F4 38 61 02 48 */ addi r3, r1, 0x248 +/* 8025B798 002586F8 48 0E 23 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B79C 002586FC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B7A0 00258700 38 61 02 38 */ addi r3, r1, 0x238 +/* 8025B7A4 00258704 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B7A8 00258708 38 84 03 7C */ addi r4, r4, 0x37c +/* 8025B7AC 0025870C 4B DA 95 0D */ bl string_l__4rstlFPCc +/* 8025B7B0 00258710 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B7B4 00258714 38 81 02 38 */ addi r4, r1, 0x238 +/* 8025B7B8 00258718 38 63 01 C0 */ addi r3, r3, 0x1c0 +/* 8025B7BC 0025871C 48 0E 29 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B7C0 00258720 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B7C4 00258724 38 AE 04 20 */ addi r5, r14, 0x420 +/* 8025B7C8 00258728 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B7CC 0025872C 48 12 DE C1 */ bl __register_global_object +/* 8025B7D0 00258730 38 61 02 38 */ addi r3, r1, 0x238 +/* 8025B7D4 00258734 48 0E 23 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B7D8 00258738 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha +/* 8025B7DC 0025873C 38 61 02 28 */ addi r3, r1, 0x228 +/* 8025B7E0 00258740 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l +/* 8025B7E4 00258744 38 84 03 8D */ addi r4, r4, 0x38d +/* 8025B7E8 00258748 4B DA 94 D1 */ bl string_l__4rstlFPCc +/* 8025B7EC 0025874C 38 6E 04 38 */ addi r3, r14, 0x438 +/* 8025B7F0 00258750 38 81 02 28 */ addi r4, r1, 0x228 +/* 8025B7F4 00258754 38 63 01 D0 */ addi r3, r3, 0x1d0 +/* 8025B7F8 00258758 48 0E 29 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025B7FC 0025875C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8025B800 00258760 38 AE 04 2C */ addi r5, r14, 0x42c +/* 8025B804 00258764 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8025B808 00258768 48 12 DE 85 */ bl __register_global_object +/* 8025B80C 0025876C 38 61 02 28 */ addi r3, r1, 0x228 +/* 8025B810 00258770 48 0E 22 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025B814 00258774 C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) +/* 8025B818 00258778 39 6E 06 18 */ addi r11, r14, 0x618 +/* 8025B81C 0025877C 39 80 FF FF */ li r12, -1 +/* 8025B820 00258780 38 C0 00 03 */ li r6, 3 +/* 8025B824 00258784 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) +/* 8025B828 00258788 39 E0 00 00 */ li r15, 0 +/* 8025B82C 0025878C 38 A0 00 02 */ li r5, 2 +/* 8025B830 00258790 38 80 00 04 */ li r4, 4 +/* 8025B834 00258794 38 60 00 05 */ li r3, 5 +/* 8025B838 00258798 91 E1 02 1C */ stw r15, 0x21c(r1) +/* 8025B83C 0025879C D0 21 02 20 */ stfs f1, 0x220(r1) +/* 8025B840 002587A0 91 81 02 24 */ stw r12, 0x224(r1) +/* 8025B844 002587A4 91 EE 06 18 */ stw r15, 0x618(r14) +/* 8025B848 002587A8 D0 2B 00 04 */ stfs f1, 4(r11) +/* 8025B84C 002587AC 91 8B 00 08 */ stw r12, 8(r11) +/* 8025B850 002587B0 90 C1 02 10 */ stw r6, 0x210(r1) +/* 8025B854 002587B4 D0 21 02 14 */ stfs f1, 0x214(r1) +/* 8025B858 002587B8 91 81 02 18 */ stw r12, 0x218(r1) +/* 8025B85C 002587BC 90 CB 00 0C */ stw r6, 0xc(r11) +/* 8025B860 002587C0 D0 2B 00 10 */ stfs f1, 0x10(r11) +/* 8025B864 002587C4 91 8B 00 14 */ stw r12, 0x14(r11) +/* 8025B868 002587C8 90 A1 02 04 */ stw r5, 0x204(r1) +/* 8025B86C 002587CC D0 21 02 08 */ stfs f1, 0x208(r1) +/* 8025B870 002587D0 91 81 02 0C */ stw r12, 0x20c(r1) +/* 8025B874 002587D4 90 AB 00 18 */ stw r5, 0x18(r11) +/* 8025B878 002587D8 D0 2B 00 1C */ stfs f1, 0x1c(r11) +/* 8025B87C 002587DC 91 8B 00 20 */ stw r12, 0x20(r11) +/* 8025B880 002587E0 90 C1 01 F8 */ stw r6, 0x1f8(r1) +/* 8025B884 002587E4 D0 01 01 FC */ stfs f0, 0x1fc(r1) +/* 8025B888 002587E8 90 81 02 00 */ stw r4, 0x200(r1) +/* 8025B88C 002587EC 90 CB 00 24 */ stw r6, 0x24(r11) +/* 8025B890 002587F0 D0 0B 00 28 */ stfs f0, 0x28(r11) +/* 8025B894 002587F4 90 8B 00 2C */ stw r4, 0x2c(r11) +/* 8025B898 002587F8 91 E1 01 EC */ stw r15, 0x1ec(r1) +/* 8025B89C 002587FC D0 21 01 F0 */ stfs f1, 0x1f0(r1) +/* 8025B8A0 00258800 91 81 01 F4 */ stw r12, 0x1f4(r1) +/* 8025B8A4 00258804 91 EB 00 30 */ stw r15, 0x30(r11) +/* 8025B8A8 00258808 D0 2B 00 34 */ stfs f1, 0x34(r11) +/* 8025B8AC 0025880C 91 8B 00 38 */ stw r12, 0x38(r11) +/* 8025B8B0 00258810 90 C1 01 E0 */ stw r6, 0x1e0(r1) +/* 8025B8B4 00258814 D0 21 01 E4 */ stfs f1, 0x1e4(r1) +/* 8025B8B8 00258818 91 81 01 E8 */ stw r12, 0x1e8(r1) +/* 8025B8BC 0025881C 90 CB 00 3C */ stw r6, 0x3c(r11) +/* 8025B8C0 00258820 D0 2B 00 40 */ stfs f1, 0x40(r11) +/* 8025B8C4 00258824 91 8B 00 44 */ stw r12, 0x44(r11) +/* 8025B8C8 00258828 90 A1 01 D4 */ stw r5, 0x1d4(r1) +/* 8025B8CC 0025882C D0 21 01 D8 */ stfs f1, 0x1d8(r1) +/* 8025B8D0 00258830 91 81 01 DC */ stw r12, 0x1dc(r1) +/* 8025B8D4 00258834 90 AB 00 48 */ stw r5, 0x48(r11) +/* 8025B8D8 00258838 D0 2B 00 4C */ stfs f1, 0x4c(r11) +/* 8025B8DC 0025883C 91 8B 00 50 */ stw r12, 0x50(r11) +/* 8025B8E0 00258840 90 C1 01 C8 */ stw r6, 0x1c8(r1) +/* 8025B8E4 00258844 D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 8025B8E8 00258848 90 81 01 D0 */ stw r4, 0x1d0(r1) +/* 8025B8EC 0025884C 90 CB 00 54 */ stw r6, 0x54(r11) +/* 8025B8F0 00258850 D0 0B 00 58 */ stfs f0, 0x58(r11) +/* 8025B8F4 00258854 90 8B 00 5C */ stw r4, 0x5c(r11) +/* 8025B8F8 00258858 90 61 01 BC */ stw r3, 0x1bc(r1) +/* 8025B8FC 0025885C D0 21 01 C0 */ stfs f1, 0x1c0(r1) +/* 8025B900 00258860 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 8025B904 00258864 90 6B 00 60 */ stw r3, 0x60(r11) +/* 8025B908 00258868 D0 2B 00 64 */ stfs f1, 0x64(r11) +/* 8025B90C 0025886C 91 8B 00 68 */ stw r12, 0x68(r11) +/* 8025B910 00258870 91 81 01 B0 */ stw r12, 0x1b0(r1) +/* 8025B914 00258874 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 8025B918 00258878 91 81 01 B8 */ stw r12, 0x1b8(r1) +/* 8025B91C 0025887C 91 8B 00 6C */ stw r12, 0x6c(r11) +/* 8025B920 00258880 D0 2B 00 70 */ stfs f1, 0x70(r11) +/* 8025B924 00258884 91 8B 00 74 */ stw r12, 0x74(r11) +/* 8025B928 00258888 91 8B 00 78 */ stw r12, 0x78(r11) +/* 8025B92C 0025888C D0 2B 00 7C */ stfs f1, 0x7c(r11) +/* 8025B930 00258890 91 8B 00 80 */ stw r12, 0x80(r11) +/* 8025B934 00258894 91 8B 00 84 */ stw r12, 0x84(r11) +/* 8025B938 00258898 D0 2B 00 88 */ stfs f1, 0x88(r11) +/* 8025B93C 0025889C 91 8B 00 8C */ stw r12, 0x8c(r11) +/* 8025B940 002588A0 90 61 01 A4 */ stw r3, 0x1a4(r1) +/* 8025B944 002588A4 D0 21 01 A8 */ stfs f1, 0x1a8(r1) +/* 8025B948 002588A8 91 81 01 AC */ stw r12, 0x1ac(r1) +/* 8025B94C 002588AC 90 6B 00 90 */ stw r3, 0x90(r11) +/* 8025B950 002588B0 D0 2B 00 94 */ stfs f1, 0x94(r11) +/* 8025B954 002588B4 91 8B 00 98 */ stw r12, 0x98(r11) +/* 8025B958 002588B8 38 00 00 01 */ li r0, 1 +/* 8025B95C 002588BC D0 21 01 9C */ stfs f1, 0x19c(r1) +/* 8025B960 002588C0 90 01 01 98 */ stw r0, 0x198(r1) +/* 8025B964 002588C4 91 81 01 A0 */ stw r12, 0x1a0(r1) +/* 8025B968 002588C8 90 0B 00 9C */ stw r0, 0x9c(r11) +/* 8025B96C 002588CC D0 2B 00 A0 */ stfs f1, 0xa0(r11) +/* 8025B970 002588D0 91 8B 00 A4 */ stw r12, 0xa4(r11) +/* 8025B974 002588D4 90 01 01 8C */ stw r0, 0x18c(r1) +/* 8025B978 002588D8 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 8025B97C 002588DC 91 81 01 94 */ stw r12, 0x194(r1) +/* 8025B980 002588E0 90 0B 00 A8 */ stw r0, 0xa8(r11) +/* 8025B984 002588E4 D0 2B 00 AC */ stfs f1, 0xac(r11) +/* 8025B988 002588E8 91 8B 00 B0 */ stw r12, 0xb0(r11) +/* 8025B98C 002588EC 90 01 01 80 */ stw r0, 0x180(r1) +/* 8025B990 002588F0 D0 21 01 84 */ stfs f1, 0x184(r1) +/* 8025B994 002588F4 91 81 01 88 */ stw r12, 0x188(r1) +/* 8025B998 002588F8 90 0B 00 B4 */ stw r0, 0xb4(r11) +/* 8025B99C 002588FC D0 2B 00 B8 */ stfs f1, 0xb8(r11) +/* 8025B9A0 00258900 91 8B 00 BC */ stw r12, 0xbc(r11) +/* 8025B9A4 00258904 90 01 01 74 */ stw r0, 0x174(r1) +/* 8025B9A8 00258908 D0 21 01 78 */ stfs f1, 0x178(r1) +/* 8025B9AC 0025890C 91 81 01 7C */ stw r12, 0x17c(r1) +/* 8025B9B0 00258910 90 0B 00 C0 */ stw r0, 0xc0(r11) +/* 8025B9B4 00258914 D0 2B 00 C4 */ stfs f1, 0xc4(r11) +/* 8025B9B8 00258918 91 8B 00 C8 */ stw r12, 0xc8(r11) +/* 8025B9BC 0025891C 91 81 01 68 */ stw r12, 0x168(r1) +/* 8025B9C0 00258920 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 8025B9C4 00258924 91 81 01 70 */ stw r12, 0x170(r1) +/* 8025B9C8 00258928 91 8B 00 CC */ stw r12, 0xcc(r11) +/* 8025B9CC 0025892C D0 2B 00 D0 */ stfs f1, 0xd0(r11) +/* 8025B9D0 00258930 91 8B 00 D4 */ stw r12, 0xd4(r11) +/* 8025B9D4 00258934 91 8B 00 D8 */ stw r12, 0xd8(r11) +/* 8025B9D8 00258938 D0 2B 00 DC */ stfs f1, 0xdc(r11) +/* 8025B9DC 0025893C 91 8B 00 E0 */ stw r12, 0xe0(r11) +/* 8025B9E0 00258940 91 8B 00 E4 */ stw r12, 0xe4(r11) +/* 8025B9E4 00258944 D0 2B 00 E8 */ stfs f1, 0xe8(r11) +/* 8025B9E8 00258948 91 8B 00 EC */ stw r12, 0xec(r11) +/* 8025B9EC 0025894C 91 8B 00 F0 */ stw r12, 0xf0(r11) +/* 8025B9F0 00258950 D0 2B 00 F4 */ stfs f1, 0xf4(r11) +/* 8025B9F4 00258954 91 8B 00 F8 */ stw r12, 0xf8(r11) +/* 8025B9F8 00258958 91 8B 00 FC */ stw r12, 0xfc(r11) +/* 8025B9FC 0025895C D0 2B 01 00 */ stfs f1, 0x100(r11) +/* 8025BA00 00258960 91 8B 01 04 */ stw r12, 0x104(r11) +/* 8025BA04 00258964 91 8B 01 08 */ stw r12, 0x108(r11) +/* 8025BA08 00258968 D0 2B 01 0C */ stfs f1, 0x10c(r11) +/* 8025BA0C 0025896C 91 8B 01 10 */ stw r12, 0x110(r11) +/* 8025BA10 00258970 91 8B 01 14 */ stw r12, 0x114(r11) +/* 8025BA14 00258974 D0 2B 01 18 */ stfs f1, 0x118(r11) +/* 8025BA18 00258978 91 8B 01 1C */ stw r12, 0x11c(r11) +/* 8025BA1C 0025897C 90 61 01 5C */ stw r3, 0x15c(r1) +/* 8025BA20 00258980 D0 21 01 60 */ stfs f1, 0x160(r1) +/* 8025BA24 00258984 91 81 01 64 */ stw r12, 0x164(r1) +/* 8025BA28 00258988 90 6B 01 20 */ stw r3, 0x120(r11) +/* 8025BA2C 0025898C D0 2B 01 24 */ stfs f1, 0x124(r11) +/* 8025BA30 00258990 91 8B 01 28 */ stw r12, 0x128(r11) +/* 8025BA34 00258994 91 E1 01 50 */ stw r15, 0x150(r1) +/* 8025BA38 00258998 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 8025BA3C 0025899C 91 81 01 58 */ stw r12, 0x158(r1) +/* 8025BA40 002589A0 91 EB 01 2C */ stw r15, 0x12c(r11) +/* 8025BA44 002589A4 D0 2B 01 30 */ stfs f1, 0x130(r11) +/* 8025BA48 002589A8 91 8B 01 34 */ stw r12, 0x134(r11) +/* 8025BA4C 002589AC 91 E1 01 44 */ stw r15, 0x144(r1) +/* 8025BA50 002589B0 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 8025BA54 002589B4 90 81 01 4C */ stw r4, 0x14c(r1) +/* 8025BA58 002589B8 91 EB 01 38 */ stw r15, 0x138(r11) +/* 8025BA5C 002589BC D0 0B 01 3C */ stfs f0, 0x13c(r11) +/* 8025BA60 002589C0 90 8B 01 40 */ stw r4, 0x140(r11) +/* 8025BA64 002589C4 90 A1 01 38 */ stw r5, 0x138(r1) +/* 8025BA68 002589C8 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 8025BA6C 002589CC 91 81 01 40 */ stw r12, 0x140(r1) +/* 8025BA70 002589D0 90 AB 01 44 */ stw r5, 0x144(r11) +/* 8025BA74 002589D4 D0 2B 01 48 */ stfs f1, 0x148(r11) +/* 8025BA78 002589D8 91 8B 01 4C */ stw r12, 0x14c(r11) +/* 8025BA7C 002589DC 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 8025BA80 002589E0 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 8025BA84 002589E4 90 81 01 34 */ stw r4, 0x134(r1) +/* 8025BA88 002589E8 90 CB 01 50 */ stw r6, 0x150(r11) +/* 8025BA8C 002589EC D0 0B 01 54 */ stfs f0, 0x154(r11) +/* 8025BA90 002589F0 90 8B 01 58 */ stw r4, 0x158(r11) +/* 8025BA94 002589F4 90 A1 01 20 */ stw r5, 0x120(r1) +/* 8025BA98 002589F8 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 8025BA9C 002589FC 91 81 01 28 */ stw r12, 0x128(r1) +/* 8025BAA0 00258A00 90 AB 01 5C */ stw r5, 0x15c(r11) +/* 8025BAA4 00258A04 D0 2B 01 60 */ stfs f1, 0x160(r11) +/* 8025BAA8 00258A08 91 8B 01 64 */ stw r12, 0x164(r11) +/* 8025BAAC 00258A0C 90 C1 01 14 */ stw r6, 0x114(r1) +/* 8025BAB0 00258A10 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 8025BAB4 00258A14 90 81 01 1C */ stw r4, 0x11c(r1) +/* 8025BAB8 00258A18 90 CB 01 68 */ stw r6, 0x168(r11) +/* 8025BABC 00258A1C D0 0B 01 6C */ stfs f0, 0x16c(r11) +/* 8025BAC0 00258A20 90 8B 01 70 */ stw r4, 0x170(r11) +/* 8025BAC4 00258A24 91 E1 01 08 */ stw r15, 0x108(r1) +/* 8025BAC8 00258A28 D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 8025BACC 00258A2C 91 81 01 10 */ stw r12, 0x110(r1) +/* 8025BAD0 00258A30 91 EB 01 74 */ stw r15, 0x174(r11) +/* 8025BAD4 00258A34 D0 2B 01 78 */ stfs f1, 0x178(r11) +/* 8025BAD8 00258A38 91 8B 01 7C */ stw r12, 0x17c(r11) +/* 8025BADC 00258A3C 90 A1 00 FC */ stw r5, 0xfc(r1) +/* 8025BAE0 00258A40 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 8025BAE4 00258A44 90 C1 01 04 */ stw r6, 0x104(r1) +/* 8025BAE8 00258A48 90 AB 01 80 */ stw r5, 0x180(r11) +/* 8025BAEC 00258A4C D0 0B 01 84 */ stfs f0, 0x184(r11) +/* 8025BAF0 00258A50 90 CB 01 88 */ stw r6, 0x188(r11) +/* 8025BAF4 00258A54 90 A1 00 F0 */ stw r5, 0xf0(r1) +/* 8025BAF8 00258A58 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 8025BAFC 00258A5C 91 81 00 F8 */ stw r12, 0xf8(r1) +/* 8025BB00 00258A60 90 AB 01 8C */ stw r5, 0x18c(r11) +/* 8025BB04 00258A64 D0 2B 01 90 */ stfs f1, 0x190(r11) +/* 8025BB08 00258A68 91 8B 01 94 */ stw r12, 0x194(r11) +/* 8025BB0C 00258A6C 91 81 00 E4 */ stw r12, 0xe4(r1) +/* 8025BB10 00258A70 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 8025BB14 00258A74 91 81 00 EC */ stw r12, 0xec(r1) +/* 8025BB18 00258A78 91 8B 01 98 */ stw r12, 0x198(r11) +/* 8025BB1C 00258A7C D0 2B 01 9C */ stfs f1, 0x19c(r11) +/* 8025BB20 00258A80 91 8B 01 A0 */ stw r12, 0x1a0(r11) +/* 8025BB24 00258A84 91 8B 01 A4 */ stw r12, 0x1a4(r11) +/* 8025BB28 00258A88 D0 2B 01 A8 */ stfs f1, 0x1a8(r11) +/* 8025BB2C 00258A8C 91 8B 01 AC */ stw r12, 0x1ac(r11) +/* 8025BB30 00258A90 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 8025BB34 00258A94 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 8025BB38 00258A98 91 81 00 E0 */ stw r12, 0xe0(r1) +/* 8025BB3C 00258A9C 90 6B 01 B0 */ stw r3, 0x1b0(r11) +/* 8025BB40 00258AA0 D0 2B 01 B4 */ stfs f1, 0x1b4(r11) +/* 8025BB44 00258AA4 91 8B 01 B8 */ stw r12, 0x1b8(r11) +/* 8025BB48 00258AA8 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8025BB4C 00258AAC D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8025BB50 00258AB0 91 81 00 D4 */ stw r12, 0xd4(r1) +/* 8025BB54 00258AB4 90 0B 01 BC */ stw r0, 0x1bc(r11) +/* 8025BB58 00258AB8 D0 2B 01 C0 */ stfs f1, 0x1c0(r11) +/* 8025BB5C 00258ABC 91 8B 01 C4 */ stw r12, 0x1c4(r11) +/* 8025BB60 00258AC0 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8025BB64 00258AC4 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 8025BB68 00258AC8 91 81 00 C8 */ stw r12, 0xc8(r1) +/* 8025BB6C 00258ACC 90 0B 01 C8 */ stw r0, 0x1c8(r11) +/* 8025BB70 00258AD0 D0 2B 01 CC */ stfs f1, 0x1cc(r11) +/* 8025BB74 00258AD4 91 8B 01 D0 */ stw r12, 0x1d0(r11) +/* 8025BB78 00258AD8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8025BB7C 00258ADC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8025BB80 00258AE0 91 81 00 BC */ stw r12, 0xbc(r1) +/* 8025BB84 00258AE4 90 0B 01 D4 */ stw r0, 0x1d4(r11) +/* 8025BB88 00258AE8 D0 2B 01 D8 */ stfs f1, 0x1d8(r11) +/* 8025BB8C 00258AEC 91 8B 01 DC */ stw r12, 0x1dc(r11) +/* 8025BB90 00258AF0 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8025BB94 00258AF4 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8025BB98 00258AF8 91 81 00 B0 */ stw r12, 0xb0(r1) +/* 8025BB9C 00258AFC 90 0B 01 E0 */ stw r0, 0x1e0(r11) +/* 8025BBA0 00258B00 D0 2B 01 E4 */ stfs f1, 0x1e4(r11) +/* 8025BBA4 00258B04 91 8B 01 E8 */ stw r12, 0x1e8(r11) +/* 8025BBA8 00258B08 91 81 00 9C */ stw r12, 0x9c(r1) +/* 8025BBAC 00258B0C D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8025BBB0 00258B10 91 81 00 A4 */ stw r12, 0xa4(r1) +/* 8025BBB4 00258B14 91 8B 01 EC */ stw r12, 0x1ec(r11) +/* 8025BBB8 00258B18 D0 2B 01 F0 */ stfs f1, 0x1f0(r11) +/* 8025BBBC 00258B1C 91 8B 01 F4 */ stw r12, 0x1f4(r11) +/* 8025BBC0 00258B20 91 8B 01 F8 */ stw r12, 0x1f8(r11) +/* 8025BBC4 00258B24 D0 2B 01 FC */ stfs f1, 0x1fc(r11) +/* 8025BBC8 00258B28 91 8B 02 00 */ stw r12, 0x200(r11) +/* 8025BBCC 00258B2C 91 8B 02 04 */ stw r12, 0x204(r11) +/* 8025BBD0 00258B30 D0 2B 02 08 */ stfs f1, 0x208(r11) +/* 8025BBD4 00258B34 91 8B 02 0C */ stw r12, 0x20c(r11) +/* 8025BBD8 00258B38 91 8B 02 10 */ stw r12, 0x210(r11) +/* 8025BBDC 00258B3C D0 2B 02 14 */ stfs f1, 0x214(r11) +/* 8025BBE0 00258B40 91 8B 02 18 */ stw r12, 0x218(r11) +/* 8025BBE4 00258B44 91 8B 02 1C */ stw r12, 0x21c(r11) +/* 8025BBE8 00258B48 D0 2B 02 20 */ stfs f1, 0x220(r11) +/* 8025BBEC 00258B4C 91 8B 02 24 */ stw r12, 0x224(r11) +/* 8025BBF0 00258B50 91 8B 02 28 */ stw r12, 0x228(r11) +/* 8025BBF4 00258B54 D0 2B 02 2C */ stfs f1, 0x22c(r11) +/* 8025BBF8 00258B58 91 8B 02 30 */ stw r12, 0x230(r11) +/* 8025BBFC 00258B5C 91 8B 02 34 */ stw r12, 0x234(r11) +/* 8025BC00 00258B60 D0 2B 02 38 */ stfs f1, 0x238(r11) +/* 8025BC04 00258B64 91 8B 02 3C */ stw r12, 0x23c(r11) +/* 8025BC08 00258B68 90 61 00 90 */ stw r3, 0x90(r1) +/* 8025BC0C 00258B6C D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8025BC10 00258B70 91 81 00 98 */ stw r12, 0x98(r1) +/* 8025BC14 00258B74 90 6B 02 40 */ stw r3, 0x240(r11) +/* 8025BC18 00258B78 D0 2B 02 44 */ stfs f1, 0x244(r11) +/* 8025BC1C 00258B7C 91 8B 02 48 */ stw r12, 0x248(r11) +/* 8025BC20 00258B80 91 E1 00 84 */ stw r15, 0x84(r1) +/* 8025BC24 00258B84 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8025BC28 00258B88 91 81 00 8C */ stw r12, 0x8c(r1) +/* 8025BC2C 00258B8C 91 EB 02 4C */ stw r15, 0x24c(r11) +/* 8025BC30 00258B90 D0 2B 02 50 */ stfs f1, 0x250(r11) +/* 8025BC34 00258B94 91 8B 02 54 */ stw r12, 0x254(r11) +/* 8025BC38 00258B98 91 E1 00 78 */ stw r15, 0x78(r1) +/* 8025BC3C 00258B9C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8025BC40 00258BA0 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8025BC44 00258BA4 91 EB 02 58 */ stw r15, 0x258(r11) +/* 8025BC48 00258BA8 D0 0B 02 5C */ stfs f0, 0x25c(r11) +/* 8025BC4C 00258BAC 90 CB 02 60 */ stw r6, 0x260(r11) +/* 8025BC50 00258BB0 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8025BC54 00258BB4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8025BC58 00258BB8 91 81 00 74 */ stw r12, 0x74(r1) +/* 8025BC5C 00258BBC 90 CB 02 64 */ stw r6, 0x264(r11) +/* 8025BC60 00258BC0 D0 2B 02 68 */ stfs f1, 0x268(r11) +/* 8025BC64 00258BC4 91 8B 02 6C */ stw r12, 0x26c(r11) +/* 8025BC68 00258BC8 91 E1 00 60 */ stw r15, 0x60(r1) +/* 8025BC6C 00258BCC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8025BC70 00258BD0 90 C1 00 68 */ stw r6, 0x68(r1) +/* 8025BC74 00258BD4 91 EB 02 70 */ stw r15, 0x270(r11) +/* 8025BC78 00258BD8 D0 0B 02 74 */ stfs f0, 0x274(r11) +/* 8025BC7C 00258BDC 90 CB 02 78 */ stw r6, 0x278(r11) +/* 8025BC80 00258BE0 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8025BC84 00258BE4 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8025BC88 00258BE8 91 81 00 5C */ stw r12, 0x5c(r1) +/* 8025BC8C 00258BEC 90 AB 02 7C */ stw r5, 0x27c(r11) +/* 8025BC90 00258BF0 D0 2B 02 80 */ stfs f1, 0x280(r11) +/* 8025BC94 00258BF4 91 8B 02 84 */ stw r12, 0x284(r11) +/* 8025BC98 00258BF8 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8025BC9C 00258BFC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8025BCA0 00258C00 90 81 00 50 */ stw r4, 0x50(r1) +/* 8025BCA4 00258C04 90 AB 02 88 */ stw r5, 0x288(r11) +/* 8025BCA8 00258C08 D0 0B 02 8C */ stfs f0, 0x28c(r11) +/* 8025BCAC 00258C0C 90 8B 02 90 */ stw r4, 0x290(r11) +/* 8025BCB0 00258C10 91 E1 00 3C */ stw r15, 0x3c(r1) +/* 8025BCB4 00258C14 91 EB 02 94 */ stw r15, 0x294(r11) +/* 8025BCB8 00258C18 38 00 00 06 */ li r0, 6 +/* 8025BCBC 00258C1C 38 61 06 30 */ addi r3, r1, 0x630 +/* 8025BCC0 00258C20 38 80 00 06 */ li r4, 6 +/* 8025BCC4 00258C24 D0 2B 02 98 */ stfs f1, 0x298(r11) +/* 8025BCC8 00258C28 38 A0 00 06 */ li r5, 6 +/* 8025BCCC 00258C2C 38 C0 00 06 */ li r6, 6 +/* 8025BCD0 00258C30 38 E0 00 06 */ li r7, 6 +/* 8025BCD4 00258C34 91 8B 02 9C */ stw r12, 0x29c(r11) +/* 8025BCD8 00258C38 39 00 00 06 */ li r8, 6 +/* 8025BCDC 00258C3C 39 20 00 06 */ li r9, 6 +/* 8025BCE0 00258C40 39 40 00 06 */ li r10, 6 +/* 8025BCE4 00258C44 91 8B 02 A0 */ stw r12, 0x2a0(r11) +/* 8025BCE8 00258C48 D0 2B 02 A4 */ stfs f1, 0x2a4(r11) +/* 8025BCEC 00258C4C 91 8B 02 A8 */ stw r12, 0x2a8(r11) +/* 8025BCF0 00258C50 91 8B 02 AC */ stw r12, 0x2ac(r11) +/* 8025BCF4 00258C54 D0 2B 02 B0 */ stfs f1, 0x2b0(r11) +/* 8025BCF8 00258C58 91 8B 02 B4 */ stw r12, 0x2b4(r11) +/* 8025BCFC 00258C5C 91 8B 02 B8 */ stw r12, 0x2b8(r11) +/* 8025BD00 00258C60 D0 2B 02 BC */ stfs f1, 0x2bc(r11) +/* 8025BD04 00258C64 91 8B 02 C0 */ stw r12, 0x2c0(r11) +/* 8025BD08 00258C68 91 8B 02 C4 */ stw r12, 0x2c4(r11) +/* 8025BD0C 00258C6C D0 2B 02 C8 */ stfs f1, 0x2c8(r11) +/* 8025BD10 00258C70 91 8B 02 CC */ stw r12, 0x2cc(r11) +/* 8025BD14 00258C74 90 01 00 08 */ stw r0, 8(r1) +/* 8025BD18 00258C78 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025BD1C 00258C7C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025BD20 00258C80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025BD24 00258C84 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025BD28 00258C88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025BD2C 00258C8C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025BD30 00258C90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025BD34 00258C94 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8025BD38 00258C98 91 81 00 44 */ stw r12, 0x44(r1) +/* 8025BD3C 00258C9C 91 81 00 30 */ stw r12, 0x30(r1) +/* 8025BD40 00258CA0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025BD44 00258CA4 91 81 00 38 */ stw r12, 0x38(r1) +/* 8025BD48 00258CA8 91 E1 00 28 */ stw r15, 0x28(r1) +/* 8025BD4C 00258CAC 4B EA 6B E9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 8025BD50 00258CB0 81 E1 06 78 */ lwz r15, 0x678(r1) +/* 8025BD54 00258CB4 3C 60 80 57 */ lis r3, lbl_80572544@ha +/* 8025BD58 00258CB8 3A 03 25 44 */ addi r16, r3, lbl_80572544@l +/* 8025BD5C 00258CBC 81 61 06 70 */ lwz r11, 0x670(r1) +/* 8025BD60 00258CC0 91 E1 06 B4 */ stw r15, 0x6b4(r1) +/* 8025BD64 00258CC4 38 00 00 06 */ li r0, 6 +/* 8025BD68 00258CC8 81 E1 06 7C */ lwz r15, 0x67c(r1) +/* 8025BD6C 00258CCC 38 61 05 C8 */ addi r3, r1, 0x5c8 +/* 8025BD70 00258CD0 91 70 00 40 */ stw r11, 0x40(r16) +/* 8025BD74 00258CD4 38 80 00 06 */ li r4, 6 +/* 8025BD78 00258CD8 81 61 06 B4 */ lwz r11, 0x6b4(r1) +/* 8025BD7C 00258CDC 38 A0 00 05 */ li r5, 5 +/* 8025BD80 00258CE0 91 E1 06 98 */ stw r15, 0x698(r1) +/* 8025BD84 00258CE4 38 C0 00 06 */ li r6, 6 +/* 8025BD88 00258CE8 81 E1 06 80 */ lwz r15, 0x680(r1) +/* 8025BD8C 00258CEC 38 E0 00 06 */ li r7, 6 +/* 8025BD90 00258CF0 91 70 00 48 */ stw r11, 0x48(r16) +/* 8025BD94 00258CF4 39 00 00 06 */ li r8, 6 +/* 8025BD98 00258CF8 81 61 06 98 */ lwz r11, 0x698(r1) +/* 8025BD9C 00258CFC 39 20 00 06 */ li r9, 6 +/* 8025BDA0 00258D00 91 E1 06 9C */ stw r15, 0x69c(r1) +/* 8025BDA4 00258D04 39 40 00 06 */ li r10, 6 +/* 8025BDA8 00258D08 81 E1 06 84 */ lwz r15, 0x684(r1) +/* 8025BDAC 00258D0C 91 70 00 4C */ stw r11, 0x4c(r16) +/* 8025BDB0 00258D10 81 61 06 9C */ lwz r11, 0x69c(r1) +/* 8025BDB4 00258D14 91 E1 06 A0 */ stw r15, 0x6a0(r1) +/* 8025BDB8 00258D18 81 E1 06 88 */ lwz r15, 0x688(r1) +/* 8025BDBC 00258D1C 91 70 00 50 */ stw r11, 0x50(r16) +/* 8025BDC0 00258D20 81 61 06 A0 */ lwz r11, 0x6a0(r1) +/* 8025BDC4 00258D24 91 E1 06 A4 */ stw r15, 0x6a4(r1) +/* 8025BDC8 00258D28 81 E1 06 8C */ lwz r15, 0x68c(r1) +/* 8025BDCC 00258D2C 91 70 00 54 */ stw r11, 0x54(r16) +/* 8025BDD0 00258D30 81 61 06 A4 */ lwz r11, 0x6a4(r1) +/* 8025BDD4 00258D34 91 E1 06 A8 */ stw r15, 0x6a8(r1) +/* 8025BDD8 00258D38 81 E1 06 90 */ lwz r15, 0x690(r1) +/* 8025BDDC 00258D3C 91 70 00 58 */ stw r11, 0x58(r16) +/* 8025BDE0 00258D40 81 61 06 A8 */ lwz r11, 0x6a8(r1) +/* 8025BDE4 00258D44 91 E1 06 AC */ stw r15, 0x6ac(r1) +/* 8025BDE8 00258D48 81 E1 06 94 */ lwz r15, 0x694(r1) +/* 8025BDEC 00258D4C 91 70 00 5C */ stw r11, 0x5c(r16) +/* 8025BDF0 00258D50 81 61 06 AC */ lwz r11, 0x6ac(r1) +/* 8025BDF4 00258D54 82 21 06 30 */ lwz r17, 0x630(r1) +/* 8025BDF8 00258D58 82 41 06 34 */ lwz r18, 0x634(r1) +/* 8025BDFC 00258D5C 82 61 06 38 */ lwz r19, 0x638(r1) +/* 8025BE00 00258D60 82 81 06 3C */ lwz r20, 0x63c(r1) +/* 8025BE04 00258D64 82 A1 06 40 */ lwz r21, 0x640(r1) +/* 8025BE08 00258D68 82 C1 06 44 */ lwz r22, 0x644(r1) +/* 8025BE0C 00258D6C 82 E1 06 48 */ lwz r23, 0x648(r1) +/* 8025BE10 00258D70 83 01 06 4C */ lwz r24, 0x64c(r1) +/* 8025BE14 00258D74 83 21 06 50 */ lwz r25, 0x650(r1) +/* 8025BE18 00258D78 83 41 06 54 */ lwz r26, 0x654(r1) +/* 8025BE1C 00258D7C 83 61 06 58 */ lwz r27, 0x658(r1) +/* 8025BE20 00258D80 83 81 06 5C */ lwz r28, 0x65c(r1) +/* 8025BE24 00258D84 83 A1 06 60 */ lwz r29, 0x660(r1) +/* 8025BE28 00258D88 83 C1 06 64 */ lwz r30, 0x664(r1) +/* 8025BE2C 00258D8C 83 E1 06 68 */ lwz r31, 0x668(r1) +/* 8025BE30 00258D90 81 81 06 6C */ lwz r12, 0x66c(r1) +/* 8025BE34 00258D94 81 C1 06 74 */ lwz r14, 0x674(r1) +/* 8025BE38 00258D98 91 70 00 60 */ stw r11, 0x60(r16) +/* 8025BE3C 00258D9C 7D EB 7B 78 */ mr r11, r15 +/* 8025BE40 00258DA0 92 30 00 00 */ stw r17, 0(r16) +/* 8025BE44 00258DA4 92 50 00 04 */ stw r18, 4(r16) +/* 8025BE48 00258DA8 92 70 00 08 */ stw r19, 8(r16) +/* 8025BE4C 00258DAC 92 90 00 0C */ stw r20, 0xc(r16) +/* 8025BE50 00258DB0 92 B0 00 10 */ stw r21, 0x10(r16) +/* 8025BE54 00258DB4 92 D0 00 14 */ stw r22, 0x14(r16) +/* 8025BE58 00258DB8 92 F0 00 18 */ stw r23, 0x18(r16) +/* 8025BE5C 00258DBC 93 10 00 1C */ stw r24, 0x1c(r16) +/* 8025BE60 00258DC0 93 30 00 20 */ stw r25, 0x20(r16) +/* 8025BE64 00258DC4 93 50 00 24 */ stw r26, 0x24(r16) +/* 8025BE68 00258DC8 93 70 00 28 */ stw r27, 0x28(r16) +/* 8025BE6C 00258DCC 93 90 00 2C */ stw r28, 0x2c(r16) +/* 8025BE70 00258DD0 93 B0 00 30 */ stw r29, 0x30(r16) +/* 8025BE74 00258DD4 93 D0 00 34 */ stw r30, 0x34(r16) +/* 8025BE78 00258DD8 93 F0 00 38 */ stw r31, 0x38(r16) +/* 8025BE7C 00258DDC 91 90 00 3C */ stw r12, 0x3c(r16) +/* 8025BE80 00258DE0 91 D0 00 44 */ stw r14, 0x44(r16) +/* 8025BE84 00258DE4 91 70 00 64 */ stw r11, 0x64(r16) +/* 8025BE88 00258DE8 90 01 00 08 */ stw r0, 8(r1) +/* 8025BE8C 00258DEC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025BE90 00258DF0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025BE94 00258DF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025BE98 00258DF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025BE9C 00258DFC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025BEA0 00258E00 90 01 00 20 */ stw r0, 0x20(r1) +/* 8025BEA4 00258E04 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025BEA8 00258E08 38 00 00 00 */ li r0, 0 +/* 8025BEAC 00258E0C 91 E1 06 B0 */ stw r15, 0x6b0(r1) +/* 8025BEB0 00258E10 90 01 00 28 */ stw r0, 0x28(r1) +/* 8025BEB4 00258E14 4B EA 6A 81 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 8025BEB8 00258E18 3C 60 80 57 */ lis r3, lbl_805725AC@ha +/* 8025BEBC 00258E1C 83 81 05 C8 */ lwz r28, 0x5c8(r1) +/* 8025BEC0 00258E20 3B A3 25 AC */ addi r29, r3, lbl_805725AC@l +/* 8025BEC4 00258E24 83 61 05 CC */ lwz r27, 0x5cc(r1) +/* 8025BEC8 00258E28 83 41 05 D0 */ lwz r26, 0x5d0(r1) +/* 8025BECC 00258E2C 83 21 05 D4 */ lwz r25, 0x5d4(r1) +/* 8025BED0 00258E30 83 01 05 D8 */ lwz r24, 0x5d8(r1) +/* 8025BED4 00258E34 82 E1 05 DC */ lwz r23, 0x5dc(r1) +/* 8025BED8 00258E38 82 C1 05 E0 */ lwz r22, 0x5e0(r1) +/* 8025BEDC 00258E3C 82 A1 05 E4 */ lwz r21, 0x5e4(r1) +/* 8025BEE0 00258E40 82 81 05 E8 */ lwz r20, 0x5e8(r1) +/* 8025BEE4 00258E44 82 61 05 EC */ lwz r19, 0x5ec(r1) +/* 8025BEE8 00258E48 82 41 05 F0 */ lwz r18, 0x5f0(r1) +/* 8025BEEC 00258E4C 82 21 05 F4 */ lwz r17, 0x5f4(r1) +/* 8025BEF0 00258E50 82 01 05 F8 */ lwz r16, 0x5f8(r1) +/* 8025BEF4 00258E54 81 E1 05 FC */ lwz r15, 0x5fc(r1) +/* 8025BEF8 00258E58 81 C1 06 00 */ lwz r14, 0x600(r1) +/* 8025BEFC 00258E5C 81 81 06 04 */ lwz r12, 0x604(r1) +/* 8025BF00 00258E60 81 61 06 08 */ lwz r11, 0x608(r1) +/* 8025BF04 00258E64 81 41 06 0C */ lwz r10, 0x60c(r1) +/* 8025BF08 00258E68 81 21 06 10 */ lwz r9, 0x610(r1) +/* 8025BF0C 00258E6C 81 01 06 14 */ lwz r8, 0x614(r1) +/* 8025BF10 00258E70 80 E1 06 18 */ lwz r7, 0x618(r1) +/* 8025BF14 00258E74 80 C1 06 1C */ lwz r6, 0x61c(r1) +/* 8025BF18 00258E78 80 A1 06 20 */ lwz r5, 0x620(r1) +/* 8025BF1C 00258E7C 80 81 06 24 */ lwz r4, 0x624(r1) +/* 8025BF20 00258E80 80 61 06 28 */ lwz r3, 0x628(r1) +/* 8025BF24 00258E84 80 01 06 2C */ lwz r0, 0x62c(r1) +/* 8025BF28 00258E88 93 9D 00 00 */ stw r28, 0(r29) +/* 8025BF2C 00258E8C 93 7D 00 04 */ stw r27, 4(r29) +/* 8025BF30 00258E90 93 5D 00 08 */ stw r26, 8(r29) +/* 8025BF34 00258E94 93 3D 00 0C */ stw r25, 0xc(r29) +/* 8025BF38 00258E98 93 1D 00 10 */ stw r24, 0x10(r29) +/* 8025BF3C 00258E9C 92 FD 00 14 */ stw r23, 0x14(r29) +/* 8025BF40 00258EA0 92 DD 00 18 */ stw r22, 0x18(r29) +/* 8025BF44 00258EA4 92 BD 00 1C */ stw r21, 0x1c(r29) +/* 8025BF48 00258EA8 92 9D 00 20 */ stw r20, 0x20(r29) +/* 8025BF4C 00258EAC 92 7D 00 24 */ stw r19, 0x24(r29) +/* 8025BF50 00258EB0 92 5D 00 28 */ stw r18, 0x28(r29) +/* 8025BF54 00258EB4 92 3D 00 2C */ stw r17, 0x2c(r29) +/* 8025BF58 00258EB8 92 1D 00 30 */ stw r16, 0x30(r29) +/* 8025BF5C 00258EBC 91 FD 00 34 */ stw r15, 0x34(r29) +/* 8025BF60 00258EC0 91 DD 00 38 */ stw r14, 0x38(r29) +/* 8025BF64 00258EC4 91 9D 00 3C */ stw r12, 0x3c(r29) +/* 8025BF68 00258EC8 91 7D 00 40 */ stw r11, 0x40(r29) +/* 8025BF6C 00258ECC 91 5D 00 44 */ stw r10, 0x44(r29) +/* 8025BF70 00258ED0 91 3D 00 48 */ stw r9, 0x48(r29) +/* 8025BF74 00258ED4 91 1D 00 4C */ stw r8, 0x4c(r29) +/* 8025BF78 00258ED8 90 FD 00 50 */ stw r7, 0x50(r29) +/* 8025BF7C 00258EDC 90 DD 00 54 */ stw r6, 0x54(r29) +/* 8025BF80 00258EE0 90 BD 00 58 */ stw r5, 0x58(r29) +/* 8025BF84 00258EE4 90 9D 00 5C */ stw r4, 0x5c(r29) +/* 8025BF88 00258EE8 90 7D 00 60 */ stw r3, 0x60(r29) +/* 8025BF8C 00258EEC 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8025BF90 00258EF0 B9 C1 06 B8 */ lmw r14, 0x6b8(r1) +/* 8025BF94 00258EF4 80 01 07 04 */ lwz r0, 0x704(r1) +/* 8025BF98 00258EF8 7C 08 03 A6 */ mtlr r0 +/* 8025BF9C 00258EFC 38 21 07 00 */ addi r1, r1, 0x700 +/* 8025BFA0 00258F00 4E 80 00 20 */ blr + +.global sub_8025bfa4 +sub_8025bfa4: +/* 8025BFA4 00258F04 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8025BFA8 00258F08 7C 08 02 A6 */ mflr r0 +/* 8025BFAC 00258F0C 90 01 01 14 */ stw r0, 0x114(r1) +/* 8025BFB0 00258F10 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 8025BFB4 00258F14 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 8025BFB8 00258F18 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 8025BFBC 00258F1C F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 8025BFC0 00258F20 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 8025BFC4 00258F24 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 8025BFC8 00258F28 DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 8025BFCC 00258F2C F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 8025BFD0 00258F30 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 8025BFD4 00258F34 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 8025BFD8 00258F38 DB 41 00 B0 */ stfd f26, 0xb0(r1) +/* 8025BFDC 00258F3C F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 +/* 8025BFE0 00258F40 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 8025BFE4 00258F44 7C 7D 1B 78 */ mr r29, r3 +/* 8025BFE8 00258F48 7C 9E 23 78 */ mr r30, r4 +/* 8025BFEC 00258F4C 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8025BFF0 00258F50 C0 03 00 04 */ lfs f0, 4(r3) +/* 8025BFF4 00258F54 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8025BFF8 00258F58 C0 03 00 08 */ lfs f0, 8(r3) +/* 8025BFFC 00258F5C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8025C000 00258F60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8025C004 00258F64 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8025C008 00258F68 80 1D 05 D4 */ lwz r0, 0x5d4(r29) +/* 8025C00C 00258F6C 2C 00 00 00 */ cmpwi r0, 0 +/* 8025C010 00258F70 40 82 00 7C */ bne lbl_8025C08C +/* 8025C014 00258F74 3C 60 80 3F */ lis r3, lbl_803E9688@ha +/* 8025C018 00258F78 3B 9D 05 D8 */ addi r28, r29, 0x5d8 +/* 8025C01C 00258F7C 3B E3 96 88 */ addi r31, r3, lbl_803E9688@l +/* 8025C020 00258F80 3B 40 00 00 */ li r26, 0 +lbl_8025C024: +/* 8025C024 00258F84 80 9F 00 00 */ lwz r4, 0(r31) +/* 8025C028 00258F88 38 61 00 40 */ addi r3, r1, 0x40 +/* 8025C02C 00258F8C 4B DA 8C 8D */ bl string_l__4rstlFPCc +/* 8025C030 00258F90 7F A4 EB 78 */ mr r4, r29 +/* 8025C034 00258F94 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025C038 00258F98 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8025C03C 00258F9C 4B DF 6E 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025C040 00258FA0 80 1D 05 D4 */ lwz r0, 0x5d4(r29) +/* 8025C044 00258FA4 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8025C048 00258FA8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8025C04C 00258FAC C0 21 00 70 */ lfs f1, 0x70(r1) +/* 8025C050 00258FB0 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8025C054 00258FB4 7C 7C 02 15 */ add. r3, r28, r0 +/* 8025C058 00258FB8 41 82 00 10 */ beq lbl_8025C068 +/* 8025C05C 00258FBC D0 03 00 00 */ stfs f0, 0(r3) +/* 8025C060 00258FC0 D0 23 00 04 */ stfs f1, 4(r3) +/* 8025C064 00258FC4 D0 43 00 08 */ stfs f2, 8(r3) +lbl_8025C068: +/* 8025C068 00258FC8 80 9D 05 D4 */ lwz r4, 0x5d4(r29) +/* 8025C06C 00258FCC 38 61 00 40 */ addi r3, r1, 0x40 +/* 8025C070 00258FD0 38 04 00 01 */ addi r0, r4, 1 +/* 8025C074 00258FD4 90 1D 05 D4 */ stw r0, 0x5d4(r29) +/* 8025C078 00258FD8 48 0E 1A 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025C07C 00258FDC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8025C080 00258FE0 3B FF 00 04 */ addi r31, r31, 4 +/* 8025C084 00258FE4 2C 1A 00 0E */ cmpwi r26, 0xe +/* 8025C088 00258FE8 41 80 FF 9C */ blt lbl_8025C024 +lbl_8025C08C: +/* 8025C08C 00258FEC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8025C090 00258FF0 48 0B 86 69 */ bl CanBeNormalized__9CVector3fCFv +/* 8025C094 00258FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025C098 00258FF8 41 82 00 FC */ beq lbl_8025C194 +/* 8025C09C 00258FFC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025C0A0 00259000 38 81 00 50 */ addi r4, r1, 0x50 +/* 8025C0A4 00259004 48 0B 87 AD */ bl AsNormalized__9CVector3fCFv +/* 8025C0A8 00259008 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8025C0AC 0025900C 3C 60 80 3F */ lis r3, lbl_803E9650@ha +/* 8025C0B0 00259010 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8025C0B4 00259014 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l +/* 8025C0B8 00259018 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8025C0BC 0025901C FF E0 10 50 */ fneg f31, f2 +/* 8025C0C0 00259020 FF C0 08 50 */ fneg f30, f1 +/* 8025C0C4 00259024 3B 9D 05 D8 */ addi r28, r29, 0x5d8 +/* 8025C0C8 00259028 FF A0 00 50 */ fneg f29, f0 +/* 8025C0CC 0025902C 3B E0 00 00 */ li r31, 0 +lbl_8025C0D0: +/* 8025C0D0 00259030 7F 85 E3 78 */ mr r5, r28 +/* 8025C0D4 00259034 38 61 00 28 */ addi r3, r1, 0x28 +/* 8025C0D8 00259038 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8025C0DC 0025903C 48 0B 69 A5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8025C0E0 00259040 C3 81 00 28 */ lfs f28, 0x28(r1) +/* 8025C0E4 00259044 C3 61 00 2C */ lfs f27, 0x2c(r1) +/* 8025C0E8 00259048 C3 41 00 30 */ lfs f26, 0x30(r1) +/* 8025C0EC 0025904C C0 22 B9 E8 */ lfs f1, lbl_805AD708@sda21(r2) +/* 8025C0F0 00259050 48 0B 8C 55 */ bl FastCosR__5CMathFf +/* 8025C0F4 00259054 EC 1E 06 F2 */ fmuls f0, f30, f27 +/* 8025C0F8 00259058 EC 1F 07 3A */ fmadds f0, f31, f28, f0 +/* 8025C0FC 0025905C EC 1D 06 BA */ fmadds f0, f29, f26, f0 +/* 8025C100 00259060 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8025C104 00259064 7C 80 00 26 */ mfcr r4 +/* 8025C108 00259068 38 00 00 01 */ li r0, 1 +/* 8025C10C 0025906C 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C110 00259070 7C 1A F8 30 */ slw r26, r0, r31 +/* 8025C114 00259074 54 99 17 FE */ rlwinm r25, r4, 2, 0x1f, 0x1f +/* 8025C118 00259078 7C 63 D0 38 */ and r3, r3, r26 +/* 8025C11C 0025907C 7C 03 00 D0 */ neg r0, r3 +/* 8025C120 00259080 7C 00 1B 78 */ or r0, r0, r3 +/* 8025C124 00259084 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8025C128 00259088 7C 00 C8 40 */ cmplw r0, r25 +/* 8025C12C 0025908C 41 82 00 30 */ beq lbl_8025C15C +/* 8025C130 00259090 80 9B 00 00 */ lwz r4, 0(r27) +/* 8025C134 00259094 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025C138 00259098 4B DA 8B 81 */ bl string_l__4rstlFPCc +/* 8025C13C 0025909C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8025C140 002590A0 7F 25 CB 78 */ mr r5, r25 +/* 8025C144 002590A4 7F C6 F3 78 */ mr r6, r30 +/* 8025C148 002590A8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025C14C 002590AC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8025C150 002590B0 4B DC EC 71 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8025C154 002590B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025C158 002590B8 48 0E 19 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8025C15C: +/* 8025C15C 002590BC 28 19 00 00 */ cmplwi r25, 0 +/* 8025C160 002590C0 41 82 00 10 */ beq lbl_8025C170 +/* 8025C164 002590C4 80 1D 05 D0 */ lwz r0, 0x5d0(r29) +/* 8025C168 002590C8 7C 00 D3 78 */ or r0, r0, r26 +/* 8025C16C 002590CC 48 00 00 0C */ b lbl_8025C178 +lbl_8025C170: +/* 8025C170 002590D0 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C174 002590D4 7C 60 D0 78 */ andc r0, r3, r26 +lbl_8025C178: +/* 8025C178 002590D8 3B FF 00 01 */ addi r31, r31, 1 +/* 8025C17C 002590DC 90 1D 05 D0 */ stw r0, 0x5d0(r29) +/* 8025C180 002590E0 2C 1F 00 0E */ cmpwi r31, 0xe +/* 8025C184 002590E4 3B 9C 00 0C */ addi r28, r28, 0xc +/* 8025C188 002590E8 3B 7B 00 04 */ addi r27, r27, 4 +/* 8025C18C 002590EC 41 80 FF 44 */ blt lbl_8025C0D0 +/* 8025C190 002590F0 48 00 00 68 */ b lbl_8025C1F8 +lbl_8025C194: +/* 8025C194 002590F4 3C 60 80 3F */ lis r3, lbl_803E9650@ha +/* 8025C198 002590F8 3B 20 00 00 */ li r25, 0 +/* 8025C19C 002590FC 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l +/* 8025C1A0 00259100 3B E0 00 01 */ li r31, 1 +lbl_8025C1A4: +/* 8025C1A4 00259104 80 7D 05 D0 */ lwz r3, 0x5d0(r29) +/* 8025C1A8 00259108 7F E0 C8 30 */ slw r0, r31, r25 +/* 8025C1AC 0025910C 7C 60 00 39 */ and. r0, r3, r0 +/* 8025C1B0 00259110 41 82 00 30 */ beq lbl_8025C1E0 +/* 8025C1B4 00259114 80 9B 00 00 */ lwz r4, 0(r27) +/* 8025C1B8 00259118 38 61 00 08 */ addi r3, r1, 8 +/* 8025C1BC 0025911C 4B DA 8A FD */ bl string_l__4rstlFPCc +/* 8025C1C0 00259120 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8025C1C4 00259124 7F C6 F3 78 */ mr r6, r30 +/* 8025C1C8 00259128 38 81 00 08 */ addi r4, r1, 8 +/* 8025C1CC 0025912C 38 A0 00 00 */ li r5, 0 +/* 8025C1D0 00259130 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8025C1D4 00259134 4B DC EB ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 8025C1D8 00259138 38 61 00 08 */ addi r3, r1, 8 +/* 8025C1DC 0025913C 48 0E 19 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8025C1E0: +/* 8025C1E0 00259140 3B 39 00 01 */ addi r25, r25, 1 +/* 8025C1E4 00259144 3B 7B 00 04 */ addi r27, r27, 4 +/* 8025C1E8 00259148 2C 19 00 0E */ cmpwi r25, 0xe +/* 8025C1EC 0025914C 41 80 FF B8 */ blt lbl_8025C1A4 +/* 8025C1F0 00259150 38 00 00 00 */ li r0, 0 +/* 8025C1F4 00259154 90 1D 05 D0 */ stw r0, 0x5d0(r29) +lbl_8025C1F8: +/* 8025C1F8 00259158 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 8025C1FC 0025915C CB E1 01 00 */ lfd f31, 0x100(r1) +/* 8025C200 00259160 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 8025C204 00259164 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 8025C208 00259168 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 8025C20C 0025916C CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 8025C210 00259170 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 8025C214 00259174 CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 8025C218 00259178 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 8025C21C 0025917C CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 8025C220 00259180 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 +/* 8025C224 00259184 CB 41 00 B0 */ lfd f26, 0xb0(r1) +/* 8025C228 00259188 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 8025C22C 0025918C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8025C230 00259190 7C 08 03 A6 */ mtlr r0 +/* 8025C234 00259194 38 21 01 10 */ addi r1, r1, 0x110 +/* 8025C238 00259198 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CSeedling.s b/asm/Kyoto_CWD/Enemies/CSeedling.s new file mode 100644 index 00000000..4339769a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CSeedling.s @@ -0,0 +1,1203 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__9CSeedlingFv +GetSearchPath__9CSeedlingFv: +/* 80266040 00262FA0 38 63 05 D8 */ addi r3, r3, 0x5d8 +/* 80266044 00262FA4 4E 80 00 20 */ blr + +.global sub_80266048 +sub_80266048: +/* 80266048 00262FA8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8026604C 00262FAC 7C 08 02 A6 */ mflr r0 +/* 80266050 00262FB0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80266054 00262FB4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80266058 00262FB8 7C 9F 23 78 */ mr r31, r4 +/* 8026605C 00262FBC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80266060 00262FC0 7C 7E 1B 78 */ mr r30, r3 +/* 80266064 00262FC4 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266068 00262FC8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8026606C 00262FCC 41 82 00 7C */ beq lbl_802660E8 +/* 80266070 00262FD0 80 AD 98 38 */ lwz r5, lbl_805A83F8@sda21(r13) +/* 80266074 00262FD4 38 60 00 00 */ li r3, 0 +/* 80266078 00262FD8 38 80 00 01 */ li r4, 1 +/* 8026607C 00262FDC 48 12 3E 79 */ bl __shl2i +/* 80266080 00262FE0 39 20 00 00 */ li r9, 0 +/* 80266084 00262FE4 38 00 00 03 */ li r0, 3 +/* 80266088 00262FE8 90 81 00 24 */ stw r4, 0x24(r1) +/* 8026608C 00262FEC 7F C5 F3 78 */ mr r5, r30 +/* 80266090 00262FF0 38 81 00 0C */ addi r4, r1, 0xc +/* 80266094 00262FF4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80266098 00262FF8 90 61 00 20 */ stw r3, 0x20(r1) +/* 8026609C 00262FFC 7F E3 FB 78 */ mr r3, r31 +/* 802660A0 00263000 38 FE 06 E8 */ addi r7, r30, 0x6e8 +/* 802660A4 00263004 39 01 00 20 */ addi r8, r1, 0x20 +/* 802660A8 00263008 91 21 00 2C */ stw r9, 0x2c(r1) +/* 802660AC 0026300C 91 21 00 28 */ stw r9, 0x28(r1) +/* 802660B0 00263010 90 01 00 30 */ stw r0, 0x30(r1) +/* 802660B4 00263014 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 802660B8 00263018 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 802660BC 0026301C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 802660C0 00263020 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802660C4 00263024 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802660C8 00263028 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802660CC 0026302C A0 1E 00 08 */ lhz r0, 8(r30) +/* 802660D0 00263030 B0 01 00 08 */ sth r0, 8(r1) +/* 802660D4 00263034 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802660D8 00263038 4B DE 2B D5 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 802660DC 0026303C 7F C3 F3 78 */ mr r3, r30 +/* 802660E0 00263040 7F E4 FB 78 */ mr r4, r31 +/* 802660E4 00263044 48 00 01 99 */ bl sub_8026627c +lbl_802660E8: +/* 802660E8 00263048 7F C3 F3 78 */ mr r3, r30 +/* 802660EC 0026304C 7F E4 FB 78 */ mr r4, r31 +/* 802660F0 00263050 4B E1 4B F9 */ bl MassiveDeath__10CPatternedFR13CStateManager +/* 802660F4 00263054 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802660F8 00263058 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802660FC 0026305C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80266100 00263060 7C 08 03 A6 */ mtlr r0 +/* 80266104 00263064 38 21 00 40 */ addi r1, r1, 0x40 +/* 80266108 00263068 4E 80 00 20 */ blr + +.global Touch__9CSeedlingFR6CActorR13CStateManager +Touch__9CSeedlingFR6CActorR13CStateManager: +/* 8026610C 0026306C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266110 00263070 7C 08 02 A6 */ mflr r0 +/* 80266114 00263074 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266118 00263078 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026611C 0026307C 7C BF 2B 78 */ mr r31, r5 +/* 80266120 00263080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80266124 00263084 7C 9E 23 78 */ mr r30, r4 +/* 80266128 00263088 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026612C 0026308C 7C 7D 1B 78 */ mr r29, r3 +/* 80266130 00263090 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266134 00263094 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80266138 00263098 41 82 00 30 */ beq lbl_80266168 +/* 8026613C 0026309C 38 61 00 08 */ addi r3, r1, 8 +/* 80266140 002630A0 4B E4 62 C1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80266144 002630A4 80 03 00 04 */ lwz r0, 4(r3) +/* 80266148 002630A8 28 00 00 00 */ cmplwi r0, 0 +/* 8026614C 002630AC 41 82 00 1C */ beq lbl_80266168 +/* 80266150 002630B0 7F A3 EB 78 */ mr r3, r29 +/* 80266154 002630B4 7F E4 FB 78 */ mr r4, r31 +/* 80266158 002630B8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8026615C 002630BC 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 80266160 002630C0 7D 89 03 A6 */ mtctr r12 +/* 80266164 002630C4 4E 80 04 21 */ bctrl +lbl_80266168: +/* 80266168 002630C8 7F A3 EB 78 */ mr r3, r29 +/* 8026616C 002630CC 7F C4 F3 78 */ mr r4, r30 +/* 80266170 002630D0 7F E5 FB 78 */ mr r5, r31 +/* 80266174 002630D4 4B E1 39 2D */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80266178 002630D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026617C 002630DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266180 002630E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80266184 002630E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80266188 002630E8 7C 08 03 A6 */ mtlr r0 +/* 8026618C 002630EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266190 002630F0 4E 80 00 20 */ blr + +.global GetTouchBounds__9CSeedlingCFv +GetTouchBounds__9CSeedlingCFv: +/* 80266194 002630F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80266198 002630F8 7C 08 02 A6 */ mflr r0 +/* 8026619C 002630FC 7C 85 23 78 */ mr r5, r4 +/* 802661A0 00263100 90 01 00 34 */ stw r0, 0x34(r1) +/* 802661A4 00263104 38 85 07 04 */ addi r4, r5, 0x704 +/* 802661A8 00263108 38 A5 00 34 */ addi r5, r5, 0x34 +/* 802661AC 0026310C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802661B0 00263110 7C 7F 1B 78 */ mr r31, r3 +/* 802661B4 00263114 38 61 00 08 */ addi r3, r1, 8 +/* 802661B8 00263118 48 0D 17 45 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802661BC 0026311C 38 00 00 01 */ li r0, 1 +/* 802661C0 00263120 28 1F 00 00 */ cmplwi r31, 0 +/* 802661C4 00263124 98 1F 00 18 */ stb r0, 0x18(r31) +/* 802661C8 00263128 41 82 00 34 */ beq lbl_802661FC +/* 802661CC 0026312C C0 01 00 08 */ lfs f0, 8(r1) +/* 802661D0 00263130 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802661D4 00263134 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802661D8 00263138 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802661DC 0026313C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802661E0 00263140 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802661E4 00263144 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802661E8 00263148 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802661EC 0026314C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802661F0 00263150 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802661F4 00263154 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802661F8 00263158 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_802661FC: +/* 802661FC 0026315C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80266200 00263160 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80266204 00263164 7C 08 03 A6 */ mtlr r0 +/* 80266208 00263168 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026620C 0026316C 4E 80 00 20 */ blr + +.global ShouldAttack__9CSeedlingFR13CStateManagerf +ShouldAttack__9CSeedlingFR13CStateManagerf: +/* 80266210 00263170 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266214 00263174 7C 08 02 A6 */ mflr r0 +/* 80266218 00263178 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 8026621C 0026317C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266220 00263180 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80266224 00263184 3B E0 00 00 */ li r31, 0 +/* 80266228 00263188 C0 23 07 1C */ lfs f1, 0x71c(r3) +/* 8026622C 0026318C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266230 00263190 4C 40 13 82 */ cror 2, 0, 2 +/* 80266234 00263194 40 82 00 30 */ bne lbl_80266264 +/* 80266238 00263198 A0 03 00 08 */ lhz r0, 8(r3) +/* 8026623C 0026319C 7C 83 23 78 */ mr r3, r4 +/* 80266240 002631A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80266244 002631A4 38 A0 00 09 */ li r5, 9 +/* 80266248 002631A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8026624C 002631AC 38 C0 00 06 */ li r6, 6 +/* 80266250 002631B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80266254 002631B4 4B DD F4 DD */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80266258 002631B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8026625C 002631BC 41 82 00 08 */ beq lbl_80266264 +/* 80266260 002631C0 3B E0 00 01 */ li r31, 1 +lbl_80266264: +/* 80266264 002631C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266268 002631C8 7F E3 FB 78 */ mr r3, r31 +/* 8026626C 002631CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266270 002631D0 7C 08 03 A6 */ mtlr r0 +/* 80266274 002631D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266278 002631D8 4E 80 00 20 */ blr + +.global sub_8026627c +sub_8026627c: +/* 8026627C 002631DC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80266280 002631E0 7C 08 02 A6 */ mflr r0 +/* 80266284 002631E4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80266288 002631E8 38 00 00 06 */ li r0, 6 +/* 8026628C 002631EC BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 80266290 002631F0 7C 7D 1B 78 */ mr r29, r3 +/* 80266294 002631F4 3C 60 80 3D */ lis r3, lbl_803D52B0@ha +/* 80266298 002631F8 7C 9E 23 78 */ mr r30, r4 +/* 8026629C 002631FC 3B 63 52 B0 */ addi r27, r3, lbl_803D52B0@l +/* 802662A0 00263200 3B 81 00 10 */ addi r28, r1, 0x10 +/* 802662A4 00263204 3B E0 00 00 */ li r31, 0 +/* 802662A8 00263208 88 BD 07 22 */ lbz r5, 0x722(r29) +/* 802662AC 0026320C 54 A4 D7 FE */ rlwinm r4, r5, 0x1a, 0x1f, 0x1f +/* 802662B0 00263210 7C 64 00 D0 */ neg r3, r4 +/* 802662B4 00263214 7C 63 23 78 */ or r3, r3, r4 +/* 802662B8 00263218 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 802662BC 0026321C 7C 1A 18 78 */ andc r26, r0, r3 +lbl_802662C0: +/* 802662C0 00263220 7C 1F D2 14 */ add r0, r31, r26 +/* 802662C4 00263224 38 61 00 2C */ addi r3, r1, 0x2c +/* 802662C8 00263228 54 00 10 3A */ slwi r0, r0, 2 +/* 802662CC 0026322C 7C 9B 00 2E */ lwzx r4, r27, r0 +/* 802662D0 00263230 4B D9 E9 E9 */ bl string_l__4rstlFPCc +/* 802662D4 00263234 7F A4 EB 78 */ mr r4, r29 +/* 802662D8 00263238 38 61 00 3C */ addi r3, r1, 0x3c +/* 802662DC 0026323C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802662E0 00263240 4B E1 26 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802662E4 00263244 38 61 00 6C */ addi r3, r1, 0x6c +/* 802662E8 00263248 38 81 00 3C */ addi r4, r1, 0x3c +/* 802662EC 0026324C 48 0A C8 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802662F0 00263250 38 61 00 2C */ addi r3, r1, 0x2c +/* 802662F4 00263254 48 0D 77 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802662F8 00263258 38 00 00 00 */ li r0, 0 +/* 802662FC 0026325C A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 80266300 00263260 98 01 00 28 */ stb r0, 0x28(r1) +/* 80266304 00263264 7F A3 EB 78 */ mr r3, r29 +/* 80266308 00263268 7F C5 F3 78 */ mr r5, r30 +/* 8026630C 0026326C 38 81 00 6C */ addi r4, r1, 0x6c +/* 80266310 00263270 81 7D 00 64 */ lwz r11, 0x64(r29) +/* 80266314 00263274 39 21 00 1C */ addi r9, r1, 0x1c +/* 80266318 00263278 38 C0 00 06 */ li r6, 6 +/* 8026631C 0026327C 38 E0 00 00 */ li r7, 0 +/* 80266320 00263280 C0 0B 00 00 */ lfs f0, 0(r11) +/* 80266324 00263284 39 00 00 01 */ li r8, 1 +/* 80266328 00263288 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8026632C 0026328C C0 0B 00 04 */ lfs f0, 4(r11) +/* 80266330 00263290 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80266334 00263294 C0 0B 00 08 */ lfs f0, 8(r11) +/* 80266338 00263298 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8026633C 0026329C 90 01 00 08 */ stw r0, 8(r1) +/* 80266340 002632A0 93 81 00 0C */ stw r28, 0xc(r1) +/* 80266344 002632A4 4B E1 16 B5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 80266348 002632A8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8026634C 002632AC 28 00 00 00 */ cmplwi r0, 0 +/* 80266350 002632B0 41 82 00 1C */ beq lbl_8026636C +/* 80266354 002632B4 34 61 00 1C */ addic. r3, r1, 0x1c +/* 80266358 002632B8 41 82 00 14 */ beq lbl_8026636C +/* 8026635C 002632BC 28 03 00 00 */ cmplwi r3, 0 +/* 80266360 002632C0 41 82 00 0C */ beq lbl_8026636C +/* 80266364 002632C4 38 80 00 00 */ li r4, 0 +/* 80266368 002632C8 48 0D AA D9 */ bl __dt__6CTokenFv +lbl_8026636C: +/* 8026636C 002632CC 3B FF 00 01 */ addi r31, r31, 1 +/* 80266370 002632D0 38 80 00 00 */ li r4, 0 +/* 80266374 002632D4 2C 1F 00 06 */ cmpwi r31, 6 +/* 80266378 002632D8 98 81 00 28 */ stb r4, 0x28(r1) +/* 8026637C 002632DC 41 80 FF 44 */ blt lbl_802662C0 +/* 80266380 002632E0 88 7D 07 22 */ lbz r3, 0x722(r29) +/* 80266384 002632E4 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 80266388 002632E8 7C 00 00 34 */ cntlzw r0, r0 +/* 8026638C 002632EC 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 +/* 80266390 002632F0 98 7D 07 22 */ stb r3, 0x722(r29) +/* 80266394 002632F4 88 1D 07 22 */ lbz r0, 0x722(r29) +/* 80266398 002632F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8026639C 002632FC 98 1D 07 22 */ stb r0, 0x722(r29) +/* 802663A0 00263300 BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 802663A4 00263304 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802663A8 00263308 7C 08 03 A6 */ mtlr r0 +/* 802663AC 0026330C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802663B0 00263310 4E 80 00 20 */ blr + +.global DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 802663B4 00263314 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802663B8 00263318 7C 08 02 A6 */ mflr r0 +/* 802663BC 0026331C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802663C0 00263320 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802663C4 00263324 FF E0 08 90 */ fmr f31, f1 +/* 802663C8 00263328 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802663CC 0026332C 7C DF 33 78 */ mr r31, r6 +/* 802663D0 00263330 2C 1F 00 11 */ cmpwi r31, 0x11 +/* 802663D4 00263334 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802663D8 00263338 7C BE 2B 78 */ mr r30, r5 +/* 802663DC 0026333C 38 A0 00 00 */ li r5, 0 +/* 802663E0 00263340 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802663E4 00263344 7C 9D 23 78 */ mr r29, r4 +/* 802663E8 00263348 93 81 00 08 */ stw r28, 8(r1) +/* 802663EC 0026334C 7C 7C 1B 78 */ mr r28, r3 +/* 802663F0 00263350 41 82 00 14 */ beq lbl_80266404 +/* 802663F4 00263354 40 80 00 30 */ bge lbl_80266424 +/* 802663F8 00263358 2C 1F 00 00 */ cmpwi r31, 0 +/* 802663FC 0026335C 41 82 00 20 */ beq lbl_8026641C +/* 80266400 00263360 48 00 00 24 */ b lbl_80266424 +lbl_80266404: +/* 80266404 00263364 88 1C 07 22 */ lbz r0, 0x722(r28) +/* 80266408 00263368 38 60 00 01 */ li r3, 1 +/* 8026640C 0026336C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80266410 00263370 38 A0 00 01 */ li r5, 1 +/* 80266414 00263374 98 1C 07 22 */ stb r0, 0x722(r28) +/* 80266418 00263378 48 00 00 0C */ b lbl_80266424 +lbl_8026641C: +/* 8026641C 0026337C 4B FF FE 61 */ bl sub_8026627c +/* 80266420 00263380 38 A0 00 01 */ li r5, 1 +lbl_80266424: +/* 80266424 00263384 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80266428 00263388 40 82 00 1C */ bne lbl_80266444 +/* 8026642C 0026338C FC 20 F8 90 */ fmr f1, f31 +/* 80266430 00263390 7F 83 E3 78 */ mr r3, r28 +/* 80266434 00263394 7F A4 EB 78 */ mr r4, r29 +/* 80266438 00263398 7F C5 F3 78 */ mr r5, r30 +/* 8026643C 0026339C 7F E6 FB 78 */ mr r6, r31 +/* 80266440 002633A0 4B E1 2A 71 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80266444: +/* 80266444 002633A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266448 002633A8 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8026644C 002633AC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80266450 002633B0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80266454 002633B4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80266458 002633B8 83 81 00 08 */ lwz r28, 8(r1) +/* 8026645C 002633BC 7C 08 03 A6 */ mtlr r0 +/* 80266460 002633C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266464 002633C4 4E 80 00 20 */ blr + +.global GetProjectileInfo__9CSeedlingCF +GetProjectileInfo__9CSeedlingCF: +/* 80266468 002633C8 38 63 06 C0 */ addi r3, r3, 0x6c0 +/* 8026646C 002633CC 4E 80 00 20 */ blr + +.global Generate__9CSeedlingFR13CStateManager9EStateMsgf +Generate__9CSeedlingFR13CStateManager9EStateMsgf: +/* 80266470 002633D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80266474 002633D4 7C 08 02 A6 */ mflr r0 +/* 80266478 002633D8 2C 05 00 01 */ cmpwi r5, 1 +/* 8026647C 002633DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266480 002633E0 41 82 00 2C */ beq lbl_802664AC +/* 80266484 002633E4 40 80 00 10 */ bge lbl_80266494 +/* 80266488 002633E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8026648C 002633EC 40 80 00 14 */ bge lbl_802664A0 +/* 80266490 002633F0 48 00 00 58 */ b lbl_802664E8 +lbl_80266494: +/* 80266494 002633F4 2C 05 00 03 */ cmpwi r5, 3 +/* 80266498 002633F8 40 80 00 50 */ bge lbl_802664E8 +/* 8026649C 002633FC 48 00 00 44 */ b lbl_802664E0 +lbl_802664A0: +/* 802664A0 00263400 38 00 00 01 */ li r0, 1 +/* 802664A4 00263404 90 03 03 2C */ stw r0, 0x32c(r3) +/* 802664A8 00263408 48 00 00 40 */ b lbl_802664E8 +lbl_802664AC: +/* 802664AC 0026340C 3C A0 80 3F */ lis r5, lbl_803E9E04@ha +/* 802664B0 00263410 38 C1 00 08 */ addi r6, r1, 8 +/* 802664B4 00263414 39 45 9E 04 */ addi r10, r5, lbl_803E9E04@l +/* 802664B8 00263418 38 A0 00 0C */ li r5, 0xc +/* 802664BC 0026341C 81 2A 00 00 */ lwz r9, 0(r10) +/* 802664C0 00263420 38 E0 00 00 */ li r7, 0 +/* 802664C4 00263424 81 0A 00 04 */ lwz r8, 4(r10) +/* 802664C8 00263428 80 0A 00 08 */ lwz r0, 8(r10) +/* 802664CC 0026342C 91 21 00 08 */ stw r9, 8(r1) +/* 802664D0 00263430 91 01 00 0C */ stw r8, 0xc(r1) +/* 802664D4 00263434 90 01 00 10 */ stw r0, 0x10(r1) +/* 802664D8 00263438 4B E1 62 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 802664DC 0026343C 48 00 00 0C */ b lbl_802664E8 +lbl_802664E0: +/* 802664E0 00263440 38 00 00 00 */ li r0, 0 +/* 802664E4 00263444 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_802664E8: +/* 802664E8 00263448 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802664EC 0026344C 7C 08 03 A6 */ mtlr r0 +/* 802664F0 00263450 38 21 00 20 */ addi r1, r1, 0x20 +/* 802664F4 00263454 4E 80 00 20 */ blr + +.global ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf +ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802664F8 00263458 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802664FC 0026345C 7C 08 02 A6 */ mflr r0 +/* 80266500 00263460 2C 05 00 01 */ cmpwi r5, 1 +/* 80266504 00263464 90 01 00 24 */ stw r0, 0x24(r1) +/* 80266508 00263468 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026650C 0026346C 7C 7F 1B 78 */ mr r31, r3 +/* 80266510 00263470 41 82 00 2C */ beq lbl_8026653C +/* 80266514 00263474 40 80 00 10 */ bge lbl_80266524 +/* 80266518 00263478 2C 05 00 00 */ cmpwi r5, 0 +/* 8026651C 0026347C 40 80 00 14 */ bge lbl_80266530 +/* 80266520 00263480 48 00 00 70 */ b lbl_80266590 +lbl_80266524: +/* 80266524 00263484 2C 05 00 03 */ cmpwi r5, 3 +/* 80266528 00263488 40 80 00 68 */ bge lbl_80266590 +/* 8026652C 0026348C 48 00 00 44 */ b lbl_80266570 +lbl_80266530: +/* 80266530 00263490 38 00 00 01 */ li r0, 1 +/* 80266534 00263494 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80266538 00263498 48 00 00 58 */ b lbl_80266590 +lbl_8026653C: +/* 8026653C 0026349C 3C A0 80 3F */ lis r5, lbl_803E9DF8@ha +/* 80266540 002634A0 38 C1 00 08 */ addi r6, r1, 8 +/* 80266544 002634A4 39 45 9D F8 */ addi r10, r5, lbl_803E9DF8@l +/* 80266548 002634A8 38 A0 00 12 */ li r5, 0x12 +/* 8026654C 002634AC 81 2A 00 00 */ lwz r9, 0(r10) +/* 80266550 002634B0 38 E0 00 00 */ li r7, 0 +/* 80266554 002634B4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80266558 002634B8 80 0A 00 08 */ lwz r0, 8(r10) +/* 8026655C 002634BC 91 21 00 08 */ stw r9, 8(r1) +/* 80266560 002634C0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80266564 002634C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80266568 002634C8 4B E1 62 4D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8026656C 002634CC 48 00 00 24 */ b lbl_80266590 +lbl_80266570: +/* 80266570 002634D0 38 00 00 00 */ li r0, 0 +/* 80266574 002634D4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80266578 002634D8 80 64 09 00 */ lwz r3, 0x900(r4) +/* 8026657C 002634DC 48 0A BF 61 */ bl Float__9CRandom16Fv +/* 80266580 002634E0 C0 5F 03 08 */ lfs f2, 0x308(r31) +/* 80266584 002634E4 C0 1F 03 04 */ lfs f0, 0x304(r31) +/* 80266588 002634E8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8026658C 002634EC D0 1F 07 1C */ stfs f0, 0x71c(r31) +lbl_80266590: +/* 80266590 002634F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266594 002634F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80266598 002634F8 7C 08 03 A6 */ mtlr r0 +/* 8026659C 002634FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802665A0 00263500 4E 80 00 20 */ blr + +.global Enraged__9CSeedlingFR13CStateManager9EStateMsgf +Enraged__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802665A4 00263504 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802665A8 00263508 7C 08 02 A6 */ mflr r0 +/* 802665AC 0026350C 2C 05 00 00 */ cmpwi r5, 0 +/* 802665B0 00263510 90 01 00 14 */ stw r0, 0x14(r1) +/* 802665B4 00263514 41 82 00 0C */ beq lbl_802665C0 +/* 802665B8 00263518 41 80 00 14 */ blt lbl_802665CC +/* 802665BC 0026351C 48 00 00 10 */ b lbl_802665CC +lbl_802665C0: +/* 802665C0 00263520 80 63 04 50 */ lwz r3, 0x450(r3) +/* 802665C4 00263524 38 80 00 08 */ li r4, 8 +/* 802665C8 00263528 4B ED 44 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802665CC: +/* 802665CC 0026352C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802665D0 00263530 7C 08 03 A6 */ mtlr r0 +/* 802665D4 00263534 38 21 00 10 */ addi r1, r1, 0x10 +/* 802665D8 00263538 4E 80 00 20 */ blr + +.global Active__9CSeedlingFR13CStateManager9EStateMsgf +Active__9CSeedlingFR13CStateManager9EStateMsgf: +/* 802665DC 0026353C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802665E0 00263540 7C 08 02 A6 */ mflr r0 +/* 802665E4 00263544 90 01 00 24 */ stw r0, 0x24(r1) +/* 802665E8 00263548 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 802665EC 0026354C FF E0 08 90 */ fmr f31, f1 +/* 802665F0 00263550 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802665F4 00263554 7C BF 2B 79 */ or. r31, r5, r5 +/* 802665F8 00263558 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802665FC 0026355C 7C 9E 23 78 */ mr r30, r4 +/* 80266600 00263560 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80266604 00263564 7C 7D 1B 78 */ mr r29, r3 +/* 80266608 00263568 41 82 00 0C */ beq lbl_80266614 +/* 8026660C 0026356C 41 80 00 14 */ blt lbl_80266620 +/* 80266610 00263570 48 00 00 10 */ b lbl_80266620 +lbl_80266614: +/* 80266614 00263574 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80266618 00263578 38 80 00 02 */ li r4, 2 +/* 8026661C 0026357C 4B ED 43 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80266620: +/* 80266620 00263580 FC 20 F8 90 */ fmr f1, f31 +/* 80266624 00263584 7F A3 EB 78 */ mr r3, r29 +/* 80266628 00263588 7F C4 F3 78 */ mr r4, r30 +/* 8026662C 0026358C 7F E5 FB 78 */ mr r5, r31 +/* 80266630 00263590 4B F9 08 45 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80266634 00263594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80266638 00263598 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8026663C 0026359C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80266640 002635A0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80266644 002635A4 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80266648 002635A8 7C 08 03 A6 */ mtlr r0 +/* 8026664C 002635AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80266650 002635B0 4E 80 00 20 */ blr + +.global Patrol__9CSeedlingFR13CStateManager9EStateMsgf +Patrol__9CSeedlingFR13CStateManager9EStateMsgf: +/* 80266654 002635B4 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80266658 002635B8 7C 08 02 A6 */ mflr r0 +/* 8026665C 002635BC 2C 05 00 01 */ cmpwi r5, 1 +/* 80266660 002635C0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80266664 002635C4 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80266668 002635C8 7C 7F 1B 78 */ mr r31, r3 +/* 8026666C 002635CC 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80266670 002635D0 7C 9E 23 78 */ mr r30, r4 +/* 80266674 002635D4 41 82 00 C4 */ beq lbl_80266738 +/* 80266678 002635D8 40 80 00 10 */ bge lbl_80266688 +/* 8026667C 002635DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80266680 002635E0 40 80 00 14 */ bge lbl_80266694 +/* 80266684 002635E4 48 00 02 90 */ b lbl_80266914 +lbl_80266688: +/* 80266688 002635E8 2C 05 00 03 */ cmpwi r5, 3 +/* 8026668C 002635EC 40 80 02 88 */ bge lbl_80266914 +/* 80266690 002635F0 48 00 02 7C */ b lbl_8026690C +lbl_80266694: +/* 80266694 002635F4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80266698 002635F8 38 80 00 01 */ li r4, 1 +/* 8026669C 002635FC 4B ED 43 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802666A0 00263600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802666A4 00263604 38 60 00 01 */ li r3, 1 +/* 802666A8 00263608 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802666AC 0026360C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802666B0 00263610 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 802666B4 00263614 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802666B8 00263618 38 60 00 00 */ li r3, 0 +/* 802666BC 0026361C C0 04 00 00 */ lfs f0, 0(r4) +/* 802666C0 00263620 D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 802666C4 00263624 C0 04 00 04 */ lfs f0, 4(r4) +/* 802666C8 00263628 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 802666CC 0026362C C0 04 00 08 */ lfs f0, 8(r4) +/* 802666D0 00263630 D0 1F 01 58 */ stfs f0, 0x158(r31) +/* 802666D4 00263634 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802666D8 00263638 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802666DC 0026363C 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 802666E0 00263640 88 1F 00 F8 */ lbz r0, 0xf8(r31) +/* 802666E4 00263644 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802666E8 00263648 98 1F 00 F8 */ stb r0, 0xf8(r31) +/* 802666EC 0026364C A0 7F 07 20 */ lhz r3, 0x720(r31) +/* 802666F0 00263650 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802666F4 00263654 7C 03 00 40 */ cmplw r3, r0 +/* 802666F8 00263658 41 82 00 0C */ beq lbl_80266704 +/* 802666FC 0026365C 38 7F 07 20 */ addi r3, r31, 0x720 +/* 80266700 00263660 48 00 00 20 */ b lbl_80266720 +lbl_80266704: +/* 80266704 00263664 7F E4 FB 78 */ mr r4, r31 +/* 80266708 00263668 7F C5 F3 78 */ mr r5, r30 +/* 8026670C 0026366C 38 61 00 08 */ addi r3, r1, 8 +/* 80266710 00263670 38 C0 00 0D */ li r6, 0xd +/* 80266714 00263674 38 E0 00 06 */ li r7, 6 +/* 80266718 00263678 4B F8 E8 81 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8026671C 0026367C 38 61 00 08 */ addi r3, r1, 8 +lbl_80266720: +/* 80266720 00263680 A0 63 00 00 */ lhz r3, 0(r3) +/* 80266724 00263684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80266728 00263688 7C 03 00 40 */ cmplw r3, r0 +/* 8026672C 0026368C 41 82 01 E8 */ beq lbl_80266914 +/* 80266730 00263690 B0 7F 02 DC */ sth r3, 0x2dc(r31) +/* 80266734 00263694 48 00 01 E0 */ b lbl_80266914 +lbl_80266738: +/* 80266738 00263698 48 00 1F B5 */ bl GotoNextWaypoint__11CWallWalkerFR13CStateManager +/* 8026673C 0026369C C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 80266740 002636A0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80266744 002636A4 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 80266748 002636A8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8026674C 002636AC D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80266750 002636B0 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80266754 002636B4 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80266758 002636B8 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 8026675C 002636BC C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80266760 002636C0 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 80266764 002636C4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80266768 002636C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8026676C 002636CC C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 80266770 002636D0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80266774 002636D4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80266778 002636D8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8026677C 002636DC D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80266780 002636E0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80266784 002636E4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80266788 002636E8 48 0A E1 71 */ bl Normalize__9CVector3fFv +/* 8026678C 002636EC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80266790 002636F0 38 81 00 60 */ addi r4, r1, 0x60 +/* 80266794 002636F4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80266798 002636F8 48 00 2A 05 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 8026679C 002636FC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802667A0 00263700 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 802667A4 00263704 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 802667A8 00263708 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 802667AC 0026370C C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802667B0 00263710 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802667B4 00263714 C0 7E 00 00 */ lfs f3, 0(r30) +/* 802667B8 00263718 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802667BC 0026371C C0 3E 00 08 */ lfs f1, 8(r30) +/* 802667C0 00263720 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 802667C4 00263724 D0 C1 00 B0 */ stfs f6, 0xb0(r1) +/* 802667C8 00263728 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 802667CC 0026372C D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 802667D0 00263730 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 802667D4 00263734 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802667D8 00263738 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 802667DC 0026373C D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802667E0 00263740 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802667E4 00263744 38 63 00 04 */ addi r3, r3, 4 +/* 802667E8 00263748 4B EC AF 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 802667EC 0026374C 7F E5 FB 78 */ mr r5, r31 +/* 802667F0 00263750 38 61 00 30 */ addi r3, r1, 0x30 +/* 802667F4 00263754 38 9F 04 5C */ addi r4, r31, 0x45c +/* 802667F8 00263758 38 DF 02 E0 */ addi r6, r31, 0x2e0 +/* 802667FC 0026375C 4B ED 84 25 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 80266800 00263760 38 61 00 3C */ addi r3, r1, 0x3c +/* 80266804 00263764 38 81 00 30 */ addi r4, r1, 0x30 +/* 80266808 00263768 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8026680C 0026376C 48 00 29 91 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 80266810 00263770 C0 62 BA CC */ lfs f3, lbl_805AD7EC@sda21(r2) +/* 80266814 00263774 38 61 00 24 */ addi r3, r1, 0x24 +/* 80266818 00263778 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8026681C 0026377C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80266820 00263780 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80266824 00263784 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80266828 00263788 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8026682C 0026378C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80266830 00263790 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80266834 00263794 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80266838 00263798 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8026683C 0026379C D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80266840 002637A0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80266844 002637A4 48 00 29 59 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +/* 80266848 002637A8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8026684C 002637AC C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80266850 002637B0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 80266854 002637B4 38 81 00 94 */ addi r4, r1, 0x94 +/* 80266858 002637B8 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 8026685C 002637BC C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 80266860 002637C0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80266864 002637C4 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80266868 002637C8 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) +/* 8026686C 002637CC D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 80266870 002637D0 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 80266874 002637D4 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 80266878 002637D8 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 8026687C 002637DC D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 80266880 002637E0 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80266884 002637E4 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80266888 002637E8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8026688C 002637EC 38 63 00 04 */ addi r3, r3, 4 +/* 80266890 002637F0 4B EC AE 89 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80266894 002637F4 C1 3F 00 58 */ lfs f9, 0x58(r31) +/* 80266898 002637F8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8026689C 002637FC C1 1F 00 48 */ lfs f8, 0x48(r31) +/* 802668A0 00263800 38 81 00 78 */ addi r4, r1, 0x78 +/* 802668A4 00263804 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) +/* 802668A8 00263808 C0 BF 00 38 */ lfs f5, 0x38(r31) +/* 802668AC 0026380C EC E0 02 32 */ fmuls f7, f0, f8 +/* 802668B0 00263810 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 802668B4 00263814 EC C0 02 72 */ fmuls f6, f0, f9 +/* 802668B8 00263818 C0 5E 00 04 */ lfs f2, 4(r30) +/* 802668BC 0026381C EC 80 01 72 */ fmuls f4, f0, f5 +/* 802668C0 00263820 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802668C4 00263824 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 802668C8 00263828 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 802668CC 0026382C D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802668D0 00263830 D0 C1 00 80 */ stfs f6, 0x80(r1) +/* 802668D4 00263834 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802668D8 00263838 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802668DC 0026383C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802668E0 00263840 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802668E4 00263844 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 802668E8 00263848 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802668EC 0026384C 38 63 00 04 */ addi r3, r3, 4 +/* 802668F0 00263850 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 802668F4 00263854 D1 21 00 14 */ stfs f9, 0x14(r1) +/* 802668F8 00263858 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802668FC 0026385C D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 80266900 00263860 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80266904 00263864 4B EC AE 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80266908 00263868 48 00 00 0C */ b lbl_80266914 +lbl_8026690C: +/* 8026690C 0026386C A0 1F 02 DC */ lhz r0, 0x2dc(r31) +/* 80266910 00263870 B0 1F 07 20 */ sth r0, 0x720(r31) +lbl_80266914: +/* 80266914 00263874 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80266918 00263878 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8026691C 0026387C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80266920 00263880 7C 08 03 A6 */ mtlr r0 +/* 80266924 00263884 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80266928 00263888 4E 80 00 20 */ blr + +.global Think__9CSeedlingFfR13CStateManager +Think__9CSeedlingFfR13CStateManager: +/* 8026692C 0026388C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80266930 00263890 7C 08 02 A6 */ mflr r0 +/* 80266934 00263894 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80266938 00263898 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8026693C 0026389C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80266940 002638A0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80266944 002638A4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80266948 002638A8 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8026694C 002638AC 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80266950 002638B0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80266954 002638B4 FF E0 08 90 */ fmr f31, f1 +/* 80266958 002638B8 7C 7E 1B 78 */ mr r30, r3 +/* 8026695C 002638BC 7C 9F 23 78 */ mr r31, r4 +/* 80266960 002638C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80266964 002638C4 41 82 02 68 */ beq lbl_80266BCC +/* 80266968 002638C8 A8 7E 05 D4 */ lha r3, 0x5d4(r30) +/* 8026696C 002638CC 38 C0 00 00 */ li r6, 0 +/* 80266970 002638D0 38 03 00 01 */ addi r0, r3, 1 +/* 80266974 002638D4 B0 1E 05 D4 */ sth r0, 0x5d4(r30) +/* 80266978 002638D8 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 8026697C 002638DC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 80266980 002638E0 98 1E 05 D6 */ stb r0, 0x5d6(r30) +/* 80266984 002638E4 80 BE 00 04 */ lwz r5, 4(r30) +/* 80266988 002638E8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 8026698C 002638EC 54 A3 18 38 */ slwi r3, r5, 3 +/* 80266990 002638F0 90 A1 00 08 */ stw r5, 8(r1) +/* 80266994 002638F4 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80266998 002638F8 38 03 00 04 */ addi r0, r3, 4 +/* 8026699C 002638FC 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802669A0 00263900 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802669A4 00263904 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 802669A8 00263908 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802669AC 0026390C 41 82 00 0C */ beq lbl_802669B8 +/* 802669B0 00263910 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 802669B4 00263914 80 C3 10 DC */ lwz r6, 0x10dc(r3) +lbl_802669B8: +/* 802669B8 00263918 2C 06 00 01 */ cmpwi r6, 1 +/* 802669BC 0026391C 41 82 00 14 */ beq lbl_802669D0 +/* 802669C0 00263920 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 802669C4 00263924 38 60 00 01 */ li r3, 1 +/* 802669C8 00263928 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802669CC 0026392C 98 1E 05 D6 */ stb r0, 0x5d6(r30) +lbl_802669D0: +/* 802669D0 00263930 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 802669D4 00263934 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802669D8 00263938 40 82 00 D4 */ bne lbl_80266AAC +/* 802669DC 0026393C 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 802669E0 00263940 38 61 00 58 */ addi r3, r1, 0x58 +/* 802669E4 00263944 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 802669E8 00263948 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 802669EC 0026394C C0 64 00 40 */ lfs f3, 0x40(r4) +/* 802669F0 00263950 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802669F4 00263954 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802669F8 00263958 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802669FC 0026395C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80266A00 00263960 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80266A04 00263964 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80266A08 00263968 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80266A0C 0026396C EC 25 08 28 */ fsubs f1, f5, f1 +/* 80266A10 00263970 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80266A14 00263974 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80266A18 00263978 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80266A1C 0026397C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80266A20 00263980 48 0A DE 99 */ bl Magnitude__9CVector3fCFv +/* 80266A24 00263984 FF C0 08 90 */ fmr f30, f1 +/* 80266A28 00263988 C0 1E 05 C4 */ lfs f0, 0x5c4(r30) +/* 80266A2C 0026398C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80266A30 00263990 40 81 00 7C */ ble lbl_80266AAC +/* 80266A34 00263994 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80266A38 00263998 38 61 00 4C */ addi r3, r1, 0x4c +/* 80266A3C 0026399C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80266A40 002639A0 38 81 00 40 */ addi r4, r1, 0x40 +/* 80266A44 002639A4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80266A48 002639A8 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80266A4C 002639AC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80266A50 002639B0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80266A54 002639B4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80266A58 002639B8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80266A5C 002639BC D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80266A60 002639C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80266A64 002639C4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80266A68 002639C8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80266A6C 002639CC 48 0A DD E5 */ bl AsNormalized__9CVector3fCFv +/* 80266A70 002639D0 FC 20 F0 90 */ fmr f1, f30 +/* 80266A74 002639D4 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80266A78 002639D8 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 80266A7C 002639DC 7F E4 FB 78 */ mr r4, r31 +/* 80266A80 002639E0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80266A84 002639E4 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80266A88 002639E8 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80266A8C 002639EC 4B DE 65 0D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80266A90 002639F0 88 01 00 90 */ lbz r0, 0x90(r1) +/* 80266A94 002639F4 28 00 00 00 */ cmplwi r0, 0 +/* 80266A98 002639F8 41 82 00 14 */ beq lbl_80266AAC +/* 80266A9C 002639FC 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266AA0 00263A00 38 60 00 01 */ li r3, 1 +/* 80266AA4 00263A04 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80266AA8 00263A08 98 1E 05 D6 */ stb r0, 0x5d6(r30) +lbl_80266AAC: +/* 80266AAC 00263A0C 88 7E 05 D6 */ lbz r3, 0x5d6(r30) +/* 80266AB0 00263A10 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80266AB4 00263A14 41 82 00 18 */ beq lbl_80266ACC +/* 80266AB8 00263A18 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 80266ABC 00263A1C 38 60 00 00 */ li r3, 0 +/* 80266AC0 00263A20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80266AC4 00263A24 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 80266AC8 00263A28 48 00 01 04 */ b lbl_80266BCC +lbl_80266ACC: +/* 80266ACC 00263A2C 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f +/* 80266AD0 00263A30 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 80266AD4 00263A34 7C 63 00 34 */ cntlzw r3, r3 +/* 80266AD8 00263A38 FC 20 F8 90 */ fmr f1, f31 +/* 80266ADC 00263A3C 54 64 DE 3E */ rlwinm r4, r3, 0x1b, 0x18, 0x1f +/* 80266AE0 00263A40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80266AE4 00263A44 7F C3 F3 78 */ mr r3, r30 +/* 80266AE8 00263A48 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 80266AEC 00263A4C 7F E4 FB 78 */ mr r4, r31 +/* 80266AF0 00263A50 48 00 1A 7D */ bl Think__11CWallWalkerFfR13CStateManager +/* 80266AF4 00263A54 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266AF8 00263A58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80266AFC 00263A5C 40 82 00 B8 */ bne lbl_80266BB4 +/* 80266B00 00263A60 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80266B04 00263A64 4B ED 35 C9 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80266B08 00263A68 C0 42 BA C8 */ lfs f2, lbl_805AD7E8@sda21(r2) +/* 80266B0C 00263A6C C0 02 BA D0 */ lfs f0, lbl_805AD7F0@sda21(r2) +/* 80266B10 00263A70 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80266B14 00263A74 FC 20 0A 10 */ fabs f1, f1 +/* 80266B18 00263A78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266B1C 00263A7C 40 80 00 98 */ bge lbl_80266BB4 +/* 80266B20 00263A80 88 1E 05 D6 */ lbz r0, 0x5d6(r30) +/* 80266B24 00263A84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80266B28 00263A88 41 82 00 8C */ beq lbl_80266BB4 +/* 80266B2C 00263A8C C0 7E 01 3C */ lfs f3, 0x13c(r30) +/* 80266B30 00263A90 FC 40 F8 90 */ fmr f2, f31 +/* 80266B34 00263A94 C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80266B38 00263A98 7F C3 F3 78 */ mr r3, r30 +/* 80266B3C 00263A9C C0 3E 01 38 */ lfs f1, 0x138(r30) +/* 80266B40 00263AA0 EC DF 00 F2 */ fmuls f6, f31, f3 +/* 80266B44 00263AA4 EC BF 00 32 */ fmuls f5, f31, f0 +/* 80266B48 00263AA8 C0 02 BA D4 */ lfs f0, lbl_805AD7F4@sda21(r2) +/* 80266B4C 00263AAC EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80266B50 00263AB0 C1 9E 00 60 */ lfs f12, 0x60(r30) +/* 80266B54 00263AB4 7F E4 FB 78 */ mr r4, r31 +/* 80266B58 00263AB8 EC E0 01 72 */ fmuls f7, f0, f5 +/* 80266B5C 00263ABC ED 00 01 B2 */ fmuls f8, f0, f6 +/* 80266B60 00263AC0 C1 7E 00 50 */ lfs f11, 0x50(r30) +/* 80266B64 00263AC4 EC 80 00 72 */ fmuls f4, f0, f1 +/* 80266B68 00263AC8 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80266B6C 00263ACC ED 2C 38 2A */ fadds f9, f12, f7 +/* 80266B70 00263AD0 ED 4B 40 2A */ fadds f10, f11, f8 +/* 80266B74 00263AD4 EC 03 20 2A */ fadds f0, f3, f4 +/* 80266B78 00263AD8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80266B7C 00263ADC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80266B80 00263AE0 D1 41 00 38 */ stfs f10, 0x38(r1) +/* 80266B84 00263AE4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80266B88 00263AE8 D1 21 00 3C */ stfs f9, 0x3c(r1) +/* 80266B8C 00263AEC D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 80266B90 00263AF0 C0 3E 05 AC */ lfs f1, 0x5ac(r30) +/* 80266B94 00263AF4 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80266B98 00263AF8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80266B9C 00263AFC D1 01 00 20 */ stfs f8, 0x20(r1) +/* 80266BA0 00263B00 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80266BA4 00263B04 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80266BA8 00263B08 D1 61 00 2C */ stfs f11, 0x2c(r1) +/* 80266BAC 00263B0C D1 81 00 30 */ stfs f12, 0x30(r1) +/* 80266BB0 00263B10 48 00 1E 99 */ bl AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff +lbl_80266BB4: +/* 80266BB4 00263B14 C0 3E 07 1C */ lfs f1, 0x71c(r30) +/* 80266BB8 00263B18 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 80266BBC 00263B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80266BC0 00263B20 40 81 00 0C */ ble lbl_80266BCC +/* 80266BC4 00263B24 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80266BC8 00263B28 D0 1E 07 1C */ stfs f0, 0x71c(r30) +lbl_80266BCC: +/* 80266BCC 00263B2C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80266BD0 00263B30 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80266BD4 00263B34 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80266BD8 00263B38 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80266BDC 00263B3C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80266BE0 00263B40 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80266BE4 00263B44 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80266BE8 00263B48 7C 08 03 A6 */ mtlr r0 +/* 80266BEC 00263B4C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80266BF0 00263B50 4E 80 00 20 */ blr + +.global Render__9CSeedlingCFRC13CStateManager +Render__9CSeedlingCFRC13CStateManager: +/* 80266BF4 00263B54 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80266BF8 00263B58 7C 08 02 A6 */ mflr r0 +/* 80266BFC 00263B5C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80266C00 00263B60 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 80266C04 00263B64 7C 7E 1B 78 */ mr r30, r3 +/* 80266C08 00263B68 7C 9F 23 78 */ mr r31, r4 +/* 80266C0C 00263B6C 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80266C10 00263B70 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80266C14 00263B74 41 82 00 E8 */ beq lbl_80266CFC +/* 80266C18 00263B78 80 1E 06 BC */ lwz r0, 0x6bc(r30) +/* 80266C1C 00263B7C 28 00 00 00 */ cmplwi r0, 0 +/* 80266C20 00263B80 41 82 00 DC */ beq lbl_80266CFC +/* 80266C24 00263B84 88 1E 07 22 */ lbz r0, 0x722(r30) +/* 80266C28 00263B88 54 05 CF FF */ rlwinm. r5, r0, 0x19, 0x1f, 0x1f +/* 80266C2C 00263B8C 41 82 00 0C */ beq lbl_80266C38 +/* 80266C30 00263B90 3B 60 00 00 */ li r27, 0 +/* 80266C34 00263B94 48 00 00 1C */ b lbl_80266C50 +lbl_80266C38: +/* 80266C38 00263B98 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 80266C3C 00263B9C 38 00 00 06 */ li r0, 6 +/* 80266C40 00263BA0 7C 64 00 D0 */ neg r3, r4 +/* 80266C44 00263BA4 7C 63 23 78 */ or r3, r3, r4 +/* 80266C48 00263BA8 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 80266C4C 00263BAC 7C 1B 18 38 */ and r27, r0, r3 +lbl_80266C50: +/* 80266C50 00263BB0 28 05 00 00 */ cmplwi r5, 0 +/* 80266C54 00263BB4 3B 80 00 06 */ li r28, 6 +/* 80266C58 00263BB8 41 82 00 08 */ beq lbl_80266C60 +/* 80266C5C 00263BBC 3B 80 00 0C */ li r28, 0xc +lbl_80266C60: +/* 80266C60 00263BC0 3C 60 80 3D */ lis r3, lbl_803D52B0@ha +/* 80266C64 00263BC4 3B 41 00 0C */ addi r26, r1, 0xc +/* 80266C68 00263BC8 3B A3 52 B0 */ addi r29, r3, lbl_803D52B0@l +/* 80266C6C 00263BCC 3B 20 00 00 */ li r25, 0 +/* 80266C70 00263BD0 48 00 00 84 */ b lbl_80266CF4 +lbl_80266C74: +/* 80266C74 00263BD4 7C 19 DA 14 */ add r0, r25, r27 +/* 80266C78 00263BD8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80266C7C 00263BDC 54 00 10 3A */ slwi r0, r0, 2 +/* 80266C80 00263BE0 7C 9D 00 2E */ lwzx r4, r29, r0 +/* 80266C84 00263BE4 4B D9 E0 35 */ bl string_l__4rstlFPCc +/* 80266C88 00263BE8 7F C4 F3 78 */ mr r4, r30 +/* 80266C8C 00263BEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80266C90 00263BF0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80266C94 00263BF4 4B E1 1C E5 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80266C98 00263BF8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80266C9C 00263BFC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80266CA0 00263C00 48 0A BE D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80266CA4 00263C04 38 61 00 10 */ addi r3, r1, 0x10 +/* 80266CA8 00263C08 48 0D 6E 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80266CAC 00263C0C C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) +/* 80266CB0 00263C10 38 80 00 00 */ li r4, 0 +/* 80266CB4 00263C14 38 00 00 03 */ li r0, 3 +/* 80266CB8 00263C18 98 81 00 08 */ stb r4, 8(r1) +/* 80266CBC 00263C1C FC 40 08 90 */ fmr f2, f1 +/* 80266CC0 00263C20 7F 43 D3 78 */ mr r3, r26 +/* 80266CC4 00263C24 FC 60 08 90 */ fmr f3, f1 +/* 80266CC8 00263C28 98 81 00 09 */ stb r4, 9(r1) +/* 80266CCC 00263C2C FC 80 08 90 */ fmr f4, f1 +/* 80266CD0 00263C30 B0 01 00 0A */ sth r0, 0xa(r1) +/* 80266CD4 00263C34 48 0F C7 19 */ bl __ct__6CColorFffff +/* 80266CD8 00263C38 80 7E 06 BC */ lwz r3, 0x6bc(r30) +/* 80266CDC 00263C3C 7F E4 FB 78 */ mr r4, r31 +/* 80266CE0 00263C40 80 DE 00 90 */ lwz r6, 0x90(r30) +/* 80266CE4 00263C44 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80266CE8 00263C48 38 E1 00 08 */ addi r7, r1, 8 +/* 80266CEC 00263C4C 4B EA E0 D1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80266CF0 00263C50 3B 39 00 01 */ addi r25, r25, 1 +lbl_80266CF4: +/* 80266CF4 00263C54 7C 19 E0 00 */ cmpw r25, r28 +/* 80266CF8 00263C58 41 80 FF 7C */ blt lbl_80266C74 +lbl_80266CFC: +/* 80266CFC 00263C5C 7F C3 F3 78 */ mr r3, r30 +/* 80266D00 00263C60 7F E4 FB 78 */ mr r4, r31 +/* 80266D04 00263C64 48 00 19 C9 */ bl Render__11CWallWalkerCFRC13CStateManager +/* 80266D08 00263C68 BB 21 00 84 */ lmw r25, 0x84(r1) +/* 80266D0C 00263C6C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80266D10 00263C70 7C 08 03 A6 */ mtlr r0 +/* 80266D14 00263C74 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80266D18 00263C78 4E 80 00 20 */ blr + +.global AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80266D1C 00263C7C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80266D20 00263C80 7C 08 02 A6 */ mflr r0 +/* 80266D24 00263C84 90 01 00 44 */ stw r0, 0x44(r1) +/* 80266D28 00263C88 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80266D2C 00263C8C 7C 7F 1B 78 */ mr r31, r3 +/* 80266D30 00263C90 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80266D34 00263C94 7C DE 33 78 */ mr r30, r6 +/* 80266D38 00263C98 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80266D3C 00263C9C 7C 9D 23 78 */ mr r29, r4 +/* 80266D40 00263CA0 A0 05 00 00 */ lhz r0, 0(r5) +/* 80266D44 00263CA4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80266D48 00263CA8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80266D4C 00263CAC 4B E1 5E 2D */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80266D50 00263CB0 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 80266D54 00263CB4 41 82 00 20 */ beq lbl_80266D74 +/* 80266D58 00263CB8 40 80 00 10 */ bge lbl_80266D68 +/* 80266D5C 00263CBC 2C 1D 00 01 */ cmpwi r29, 1 +/* 80266D60 00263CC0 41 82 00 90 */ beq lbl_80266DF0 +/* 80266D64 00263CC4 48 00 00 C8 */ b lbl_80266E2C +lbl_80266D68: +/* 80266D68 00263CC8 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 80266D6C 00263CCC 41 82 00 54 */ beq lbl_80266DC0 +/* 80266D70 00263CD0 48 00 00 BC */ b lbl_80266E2C +lbl_80266D74: +/* 80266D74 00263CD4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80266D78 00263CD8 7F C4 F3 78 */ mr r4, r30 +/* 80266D7C 00263CDC 4B ED 3F 75 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80266D80 00263CE0 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80266D84 00263CE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80266D88 00263CE8 4B EA E8 3D */ bl GetBounds__10CModelDataCFv +/* 80266D8C 00263CEC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80266D90 00263CF0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80266D94 00263CF4 90 7F 07 04 */ stw r3, 0x704(r31) +/* 80266D98 00263CF8 90 1F 07 08 */ stw r0, 0x708(r31) +/* 80266D9C 00263CFC 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80266DA0 00263D00 90 1F 07 0C */ stw r0, 0x70c(r31) +/* 80266DA4 00263D04 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80266DA8 00263D08 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80266DAC 00263D0C 90 7F 07 10 */ stw r3, 0x710(r31) +/* 80266DB0 00263D10 90 1F 07 14 */ stw r0, 0x714(r31) +/* 80266DB4 00263D14 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80266DB8 00263D18 90 1F 07 18 */ stw r0, 0x718(r31) +/* 80266DBC 00263D1C 48 00 00 70 */ b lbl_80266E2C +lbl_80266DC0: +/* 80266DC0 00263D20 80 BF 00 04 */ lwz r5, 4(r31) +/* 80266DC4 00263D24 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 80266DC8 00263D28 54 A3 18 38 */ slwi r3, r5, 3 +/* 80266DCC 00263D2C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80266DD0 00263D30 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80266DD4 00263D34 38 03 00 04 */ addi r0, r3, 4 +/* 80266DD8 00263D38 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80266DDC 00263D3C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80266DE0 00263D40 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80266DE4 00263D44 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 80266DE8 00263D48 90 1F 05 D8 */ stw r0, 0x5d8(r31) +/* 80266DEC 00263D4C 48 00 00 40 */ b lbl_80266E2C +lbl_80266DF0: +/* 80266DF0 00263D50 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80266DF4 00263D54 38 60 00 00 */ li r3, 0 +/* 80266DF8 00263D58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80266DFC 00263D5C 7F E4 FB 78 */ mr r4, r31 +/* 80266E00 00263D60 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 80266E04 00263D64 7F C5 F3 78 */ mr r5, r30 +/* 80266E08 00263D68 38 61 00 08 */ addi r3, r1, 8 +/* 80266E0C 00263D6C 38 C0 00 0D */ li r6, 0xd +/* 80266E10 00263D70 38 E0 00 06 */ li r7, 6 +/* 80266E14 00263D74 4B F8 E1 85 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80266E18 00263D78 A0 61 00 08 */ lhz r3, 8(r1) +/* 80266E1C 00263D7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80266E20 00263D80 7C 03 00 40 */ cmplw r3, r0 +/* 80266E24 00263D84 41 82 00 08 */ beq lbl_80266E2C +/* 80266E28 00263D88 B0 7F 02 DC */ sth r3, 0x2dc(r31) +lbl_80266E2C: +/* 80266E2C 00263D8C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80266E30 00263D90 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80266E34 00263D94 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80266E38 00263D98 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80266E3C 00263D9C 7C 08 03 A6 */ mtlr r0 +/* 80266E40 00263DA0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80266E44 00263DA4 4E 80 00 20 */ blr + +.global __dt__9CSeedlingFv +__dt__9CSeedlingFv: +/* 80266E48 00263DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80266E4C 00263DAC 7C 08 02 A6 */ mflr r0 +/* 80266E50 00263DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80266E54 00263DB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80266E58 00263DB8 7C 9F 23 78 */ mr r31, r4 +/* 80266E5C 00263DBC 93 C1 00 08 */ stw r30, 8(r1) +/* 80266E60 00263DC0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80266E64 00263DC4 41 82 00 C8 */ beq lbl_80266F2C +/* 80266E68 00263DC8 3C 60 80 3F */ lis r3, lbl_803E9E10@ha +/* 80266E6C 00263DCC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E70 00263DD0 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l +/* 80266E74 00263DD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80266E78 00263DD8 41 82 00 20 */ beq lbl_80266E98 +/* 80266E7C 00263DDC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E80 00263DE0 41 82 00 18 */ beq lbl_80266E98 +/* 80266E84 00263DE4 34 1E 06 C0 */ addic. r0, r30, 0x6c0 +/* 80266E88 00263DE8 41 82 00 10 */ beq lbl_80266E98 +/* 80266E8C 00263DEC 38 7E 06 C0 */ addi r3, r30, 0x6c0 +/* 80266E90 00263DF0 38 80 00 00 */ li r4, 0 +/* 80266E94 00263DF4 48 0D 9F AD */ bl __dt__6CTokenFv +lbl_80266E98: +/* 80266E98 00263DF8 34 1E 06 BC */ addic. r0, r30, 0x6bc +/* 80266E9C 00263DFC 41 82 00 10 */ beq lbl_80266EAC +/* 80266EA0 00263E00 80 7E 06 BC */ lwz r3, 0x6bc(r30) +/* 80266EA4 00263E04 38 80 00 01 */ li r4, 1 +/* 80266EA8 00263E08 4B EA FB A5 */ bl __dt__10CModelDataFv +lbl_80266EAC: +/* 80266EAC 00263E0C 34 1E 05 D8 */ addic. r0, r30, 0x5d8 +/* 80266EB0 00263E10 41 82 00 60 */ beq lbl_80266F10 +/* 80266EB4 00263E14 34 1E 05 DC */ addic. r0, r30, 0x5dc +/* 80266EB8 00263E18 41 82 00 58 */ beq lbl_80266F10 +/* 80266EBC 00263E1C 80 BE 05 DC */ lwz r5, 0x5dc(r30) +/* 80266EC0 00263E20 38 60 00 00 */ li r3, 0 +/* 80266EC4 00263E24 2C 05 00 00 */ cmpwi r5, 0 +/* 80266EC8 00263E28 40 81 00 40 */ ble lbl_80266F08 +/* 80266ECC 00263E2C 2C 05 00 08 */ cmpwi r5, 8 +/* 80266ED0 00263E30 38 85 FF F8 */ addi r4, r5, -8 +/* 80266ED4 00263E34 40 81 00 20 */ ble lbl_80266EF4 +/* 80266ED8 00263E38 38 04 00 07 */ addi r0, r4, 7 +/* 80266EDC 00263E3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80266EE0 00263E40 7C 09 03 A6 */ mtctr r0 +/* 80266EE4 00263E44 2C 04 00 00 */ cmpwi r4, 0 +/* 80266EE8 00263E48 40 81 00 0C */ ble lbl_80266EF4 +lbl_80266EEC: +/* 80266EEC 00263E4C 38 63 00 08 */ addi r3, r3, 8 +/* 80266EF0 00263E50 42 00 FF FC */ bdnz lbl_80266EEC +lbl_80266EF4: +/* 80266EF4 00263E54 7C 03 28 50 */ subf r0, r3, r5 +/* 80266EF8 00263E58 7C 09 03 A6 */ mtctr r0 +/* 80266EFC 00263E5C 7C 03 28 00 */ cmpw r3, r5 +/* 80266F00 00263E60 40 80 00 08 */ bge lbl_80266F08 +lbl_80266F04: +/* 80266F04 00263E64 42 00 00 00 */ bdnz lbl_80266F04 +lbl_80266F08: +/* 80266F08 00263E68 38 00 00 00 */ li r0, 0 +/* 80266F0C 00263E6C 90 1E 05 DC */ stw r0, 0x5dc(r30) +lbl_80266F10: +/* 80266F10 00263E70 7F C3 F3 78 */ mr r3, r30 +/* 80266F14 00263E74 38 80 00 00 */ li r4, 0 +/* 80266F18 00263E78 4B EE FB 5D */ bl __dt__11CWallWalkerFv +/* 80266F1C 00263E7C 7F E0 07 35 */ extsh. r0, r31 +/* 80266F20 00263E80 40 81 00 0C */ ble lbl_80266F2C +/* 80266F24 00263E84 7F C3 F3 78 */ mr r3, r30 +/* 80266F28 00263E88 48 0A EA 09 */ bl Free__7CMemoryFPCv +lbl_80266F2C: +/* 80266F2C 00263E8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80266F30 00263E90 7F C3 F3 78 */ mr r3, r30 +/* 80266F34 00263E94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80266F38 00263E98 83 C1 00 08 */ lwz r30, 8(r1) +/* 80266F3C 00263E9C 7C 08 03 A6 */ mtlr r0 +/* 80266F40 00263EA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80266F44 00263EA4 4E 80 00 20 */ blr + +.global __ct__9CSeedlingF +__ct__9CSeedlingF: +/* 80266F48 00263EA8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80266F4C 00263EAC 7C 08 02 A6 */ mflr r0 +/* 80266F50 00263EB0 FC 00 08 90 */ fmr f0, f1 +/* 80266F54 00263EB4 7C CC 33 78 */ mr r12, r6 +/* 80266F58 00263EB8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80266F5C 00263EBC FC 20 18 90 */ fmr f1, f3 +/* 80266F60 00263EC0 7C A6 2B 78 */ mr r6, r5 +/* 80266F64 00263EC4 39 60 00 00 */ li r11, 0 +/* 80266F68 00263EC8 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80266F6C 00263ECC 7D 39 4B 78 */ mr r25, r9 +/* 80266F70 00263ED0 7D 1B 43 78 */ mr r27, r8 +/* 80266F74 00263ED4 7C E9 3B 78 */ mr r9, r7 +/* 80266F78 00263ED8 FC 60 00 90 */ fmr f3, f0 +/* 80266F7C 00263EDC 83 81 00 78 */ lwz r28, 0x78(r1) +/* 80266F80 00263EE0 83 A1 00 7C */ lwz r29, 0x7c(r1) +/* 80266F84 00263EE4 7C 7A 1B 78 */ mr r26, r3 +/* 80266F88 00263EE8 83 C1 00 80 */ lwz r30, 0x80(r1) +/* 80266F8C 00263EEC 7D 88 63 78 */ mr r8, r12 +/* 80266F90 00263EF0 83 E1 00 84 */ lwz r31, 0x84(r1) +/* 80266F94 00263EF4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80266F98 00263EF8 38 E0 00 00 */ li r7, 0 +/* 80266F9C 00263EFC A0 04 00 00 */ lhz r0, 0(r4) +/* 80266FA0 00263F00 38 80 00 06 */ li r4, 6 +/* 80266FA4 00263F04 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80266FA8 00263F08 38 00 00 01 */ li r0, 1 +/* 80266FAC 00263F0C 93 21 00 08 */ stw r25, 8(r1) +/* 80266FB0 00263F10 90 01 00 0C */ stw r0, 0xc(r1) +/* 80266FB4 00263F14 38 00 00 04 */ li r0, 4 +/* 80266FB8 00263F18 91 61 00 10 */ stw r11, 0x10(r1) +/* 80266FBC 00263F1C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80266FC0 00263F20 38 80 00 20 */ li r4, 0x20 +/* 80266FC4 00263F24 91 41 00 18 */ stw r10, 0x18(r1) +/* 80266FC8 00263F28 7F 6A DB 78 */ mr r10, r27 +/* 80266FCC 00263F2C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80266FD0 00263F30 90 01 00 20 */ stw r0, 0x20(r1) +/* 80266FD4 00263F34 91 61 00 24 */ stw r11, 0x24(r1) +/* 80266FD8 00263F38 48 00 22 89 */ bl "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" +/* 80266FDC 00263F3C 3C 60 80 3F */ lis r3, lbl_803E9E10@ha +/* 80266FE0 00263F40 C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) +/* 80266FE4 00263F44 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l +/* 80266FE8 00263F48 38 7A 05 D8 */ addi r3, r26, 0x5d8 +/* 80266FEC 00263F4C 90 1A 00 00 */ stw r0, 0(r26) +/* 80266FF0 00263F50 FC 40 08 90 */ fmr f2, f1 +/* 80266FF4 00263F54 38 80 00 00 */ li r4, 0 +/* 80266FF8 00263F58 38 A0 00 01 */ li r5, 1 +/* 80266FFC 00263F5C 80 D9 01 0C */ lwz r6, 0x10c(r25) +/* 80267000 00263F60 4B F6 1D 95 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80267004 00263F64 3C 80 80 3D */ lis r4, lbl_803D52E0@ha +/* 80267008 00263F68 38 60 00 4C */ li r3, 0x4c +/* 8026700C 00263F6C 38 84 52 E0 */ addi r4, r4, lbl_803D52E0@l +/* 80267010 00263F70 38 A0 00 00 */ li r5, 0 +/* 80267014 00263F74 38 84 00 D8 */ addi r4, r4, 0xd8 +/* 80267018 00263F78 48 0A E8 55 */ bl __nw__FUlPCcPCc +/* 8026701C 00263F7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80267020 00263F80 41 82 00 3C */ beq lbl_8026705C +/* 80267024 00263F84 C0 5B 00 00 */ lfs f2, 0(r27) +/* 80267028 00263F88 38 81 00 2C */ addi r4, r1, 0x2c +/* 8026702C 00263F8C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80267030 00263F90 C0 3B 00 04 */ lfs f1, 4(r27) +/* 80267034 00263F94 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80267038 00263F98 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8026703C 00263F9C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80267040 00263FA0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80267044 00263FA4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80267048 00263FA8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8026704C 00263FAC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80267050 00263FB0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80267054 00263FB4 4B EA FD 09 */ bl __ct__10CModelDataFRC10CStaticRes +/* 80267058 00263FB8 7C 60 1B 78 */ mr r0, r3 +lbl_8026705C: +/* 8026705C 00263FBC 90 1A 06 BC */ stw r0, 0x6bc(r26) +/* 80267060 00263FC0 7F C5 F3 78 */ mr r5, r30 +/* 80267064 00263FC4 38 7A 06 C0 */ addi r3, r26, 0x6c0 +/* 80267068 00263FC8 80 9D 00 00 */ lwz r4, 0(r29) +/* 8026706C 00263FCC 4B FB 50 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80267070 00263FD0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80267074 00263FD4 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80267078 00263FD8 38 C3 67 84 */ addi r6, r3, lbl_805A6784@l +/* 8026707C 00263FDC C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) +/* 80267080 00263FE0 90 1A 06 E8 */ stw r0, 0x6e8(r26) +/* 80267084 00263FE4 38 A0 00 01 */ li r5, 1 +/* 80267088 00263FE8 38 80 00 00 */ li r4, 0 +/* 8026708C 00263FEC 38 7A 06 C0 */ addi r3, r26, 0x6c0 +/* 80267090 00263FF0 88 1F 00 04 */ lbz r0, 4(r31) +/* 80267094 00263FF4 98 1A 06 EC */ stb r0, 0x6ec(r26) +/* 80267098 00263FF8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8026709C 00263FFC D0 3A 06 F0 */ stfs f1, 0x6f0(r26) +/* 802670A0 00264000 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802670A4 00264004 D0 3A 06 F4 */ stfs f1, 0x6f4(r26) +/* 802670A8 00264008 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802670AC 0026400C D0 3A 06 F8 */ stfs f1, 0x6f8(r26) +/* 802670B0 00264010 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802670B4 00264014 D0 3A 06 FC */ stfs f1, 0x6fc(r26) +/* 802670B8 00264018 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 802670BC 0026401C 98 1A 07 00 */ stb r0, 0x700(r26) +/* 802670C0 00264020 C0 26 00 00 */ lfs f1, 0(r6) +/* 802670C4 00264024 D0 3A 07 04 */ stfs f1, 0x704(r26) +/* 802670C8 00264028 C0 26 00 04 */ lfs f1, 4(r6) +/* 802670CC 0026402C D0 3A 07 08 */ stfs f1, 0x708(r26) +/* 802670D0 00264030 C0 26 00 08 */ lfs f1, 8(r6) +/* 802670D4 00264034 D0 3A 07 0C */ stfs f1, 0x70c(r26) +/* 802670D8 00264038 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 802670DC 0026403C D0 3A 07 10 */ stfs f1, 0x710(r26) +/* 802670E0 00264040 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 802670E4 00264044 D0 3A 07 14 */ stfs f1, 0x714(r26) +/* 802670E8 00264048 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 802670EC 0026404C D0 3A 07 18 */ stfs f1, 0x718(r26) +/* 802670F0 00264050 D0 1A 07 1C */ stfs f0, 0x71c(r26) +/* 802670F4 00264054 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802670F8 00264058 B0 1A 07 20 */ sth r0, 0x720(r26) +/* 802670FC 0026405C 88 1A 07 22 */ lbz r0, 0x722(r26) +/* 80267100 00264060 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80267104 00264064 98 1A 07 22 */ stb r0, 0x722(r26) +/* 80267108 00264068 88 1A 07 22 */ lbz r0, 0x722(r26) +/* 8026710C 0026406C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80267110 00264070 98 1A 07 22 */ stb r0, 0x722(r26) +/* 80267114 00264074 48 0D 9C 71 */ bl Lock__6CTokenFv +/* 80267118 00264078 7F 43 D3 78 */ mr r3, r26 +/* 8026711C 0026407C 38 80 00 00 */ li r4, 0 +/* 80267120 00264080 4B DE BC 4D */ bl CreateShadow__6CActorFb +/* 80267124 00264084 7F 43 D3 78 */ mr r3, r26 +/* 80267128 00264088 4B E1 07 6D */ bl MakeThermalColdAndHot__10CPatternedFv +/* 8026712C 0026408C 7F 43 D3 78 */ mr r3, r26 +/* 80267130 00264090 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80267134 00264094 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80267138 00264098 7C 08 03 A6 */ mtlr r0 +/* 8026713C 0026409C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80267140 002640A0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CTryclops.s b/asm/Kyoto_CWD/Enemies/CTryclops.s new file mode 100644 index 00000000..0dc5ee9a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CTryclops.s @@ -0,0 +1,3690 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8025dbc0 +sub_8025dbc0: +/* 8025DBC0 0025AB20 38 63 05 68 */ addi r3, r3, 0x568 +/* 8025DBC4 0025AB24 4E 80 00 20 */ blr + +.global sub_8025dbc8 +sub_8025dbc8: +/* 8025DBC8 0025AB28 38 60 00 01 */ li r3, 1 +/* 8025DBCC 0025AB2C 4E 80 00 20 */ blr + +.global sub_8025dbd0 +sub_8025dbd0: +/* 8025DBD0 0025AB30 94 21 F5 E0 */ stwu r1, -0xa20(r1) +/* 8025DBD4 0025AB34 7C 08 02 A6 */ mflr r0 +/* 8025DBD8 0025AB38 90 01 0A 24 */ stw r0, 0xa24(r1) +/* 8025DBDC 0025AB3C DB E1 0A 10 */ stfd f31, 0xa10(r1) +/* 8025DBE0 0025AB40 F3 E1 0A 18 */ psq_st f31, -1512(r1), 0, qr0 +/* 8025DBE4 0025AB44 DB C1 0A 00 */ stfd f30, 0xa00(r1) +/* 8025DBE8 0025AB48 F3 C1 0A 08 */ psq_st f30, -1528(r1), 0, qr0 +/* 8025DBEC 0025AB4C DB A1 09 F0 */ stfd f29, 0x9f0(r1) +/* 8025DBF0 0025AB50 F3 A1 09 F8 */ psq_st f29, -1544(r1), 0, qr0 +/* 8025DBF4 0025AB54 DB 81 09 E0 */ stfd f28, 0x9e0(r1) +/* 8025DBF8 0025AB58 F3 81 09 E8 */ psq_st f28, -1560(r1), 0, qr0 +/* 8025DBFC 0025AB5C BF 21 09 C4 */ stmw r25, 0x9c4(r1) +/* 8025DC00 0025AB60 7C 9B 23 78 */ mr r27, r4 +/* 8025DC04 0025AB64 80 82 BA 2C */ lwz r4, lbl_805AD74C@sda21(r2) +/* 8025DC08 0025AB68 7C 7A 1B 78 */ mr r26, r3 +/* 8025DC0C 0025AB6C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025DC10 0025AB70 4B DA 70 A9 */ bl string_l__4rstlFPCc +/* 8025DC14 0025AB74 7F 44 D3 78 */ mr r4, r26 +/* 8025DC18 0025AB78 38 61 01 80 */ addi r3, r1, 0x180 +/* 8025DC1C 0025AB7C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025DC20 0025AB80 4B E1 AD 59 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025DC24 0025AB84 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 8025DC28 0025AB88 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025DC2C 0025AB8C C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 8025DC30 0025AB90 C0 01 01 8C */ lfs f0, 0x18c(r1) +/* 8025DC34 0025AB94 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8025DC38 0025AB98 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8025DC3C 0025AB9C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8025DC40 0025ABA0 48 0D FE A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025DC44 0025ABA4 C0 5A 00 58 */ lfs f2, 0x58(r26) +/* 8025DC48 0025ABA8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8025DC4C 0025ABAC C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 8025DC50 0025ABB0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 8025DC54 0025ABB4 C0 1A 00 38 */ lfs f0, 0x38(r26) +/* 8025DC58 0025ABB8 7F 64 DB 78 */ mr r4, r27 +/* 8025DC5C 0025ABBC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025DC60 0025ABC0 38 61 01 50 */ addi r3, r1, 0x150 +/* 8025DC64 0025ABC4 C0 22 BA 30 */ lfs f1, lbl_805AD750@sda21(r2) +/* 8025DC68 0025ABC8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8025DC6C 0025ABCC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8025DC70 0025ABD0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8025DC74 0025ABD4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025DC78 0025ABD8 4B DE F3 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8025DC7C 0025ABDC 88 01 01 70 */ lbz r0, 0x170(r1) +/* 8025DC80 0025ABE0 28 00 00 00 */ cmplwi r0, 0 +/* 8025DC84 0025ABE4 41 82 00 0C */ beq lbl_8025DC90 +/* 8025DC88 0025ABE8 38 60 00 01 */ li r3, 1 +/* 8025DC8C 0025ABEC 48 00 03 74 */ b lbl_8025E000 +lbl_8025DC90: +/* 8025DC90 0025ABF0 83 FB 08 4C */ lwz r31, 0x84c(r27) +/* 8025DC94 0025ABF4 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025DC98 0025ABF8 4B E9 B1 6D */ bl GetBallRadius__10CMorphBallCFv +/* 8025DC9C 0025ABFC FF E0 08 90 */ fmr f31, f1 +/* 8025DCA0 0025AC00 80 AD 97 FC */ lwz r5, lbl_805A83BC@sda21(r13) +/* 8025DCA4 0025AC04 38 60 00 00 */ li r3, 0 +/* 8025DCA8 0025AC08 38 80 00 01 */ li r4, 1 +/* 8025DCAC 0025AC0C 48 12 C2 49 */ bl __shl2i +/* 8025DCB0 0025AC10 80 AD 97 F8 */ lwz r5, lbl_805A83B8@sda21(r13) +/* 8025DCB4 0025AC14 7C 9D 23 78 */ mr r29, r4 +/* 8025DCB8 0025AC18 7C 7C 1B 78 */ mr r28, r3 +/* 8025DCBC 0025AC1C 38 60 00 00 */ li r3, 0 +/* 8025DCC0 0025AC20 38 80 00 01 */ li r4, 1 +/* 8025DCC4 0025AC24 48 12 C2 31 */ bl __shl2i +/* 8025DCC8 0025AC28 38 C0 00 03 */ li r6, 3 +/* 8025DCCC 0025AC2C 38 00 00 00 */ li r0, 0 +/* 8025DCD0 0025AC30 90 81 00 9C */ stw r4, 0x9c(r1) +/* 8025DCD4 0025AC34 38 80 00 01 */ li r4, 1 +/* 8025DCD8 0025AC38 80 AD 98 00 */ lwz r5, lbl_805A83C0@sda21(r13) +/* 8025DCDC 0025AC3C 90 61 00 98 */ stw r3, 0x98(r1) +/* 8025DCE0 0025AC40 38 60 00 00 */ li r3, 0 +/* 8025DCE4 0025AC44 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8025DCE8 0025AC48 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8025DCEC 0025AC4C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8025DCF0 0025AC50 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8025DCF4 0025AC54 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8025DCF8 0025AC58 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DCFC 0025AC5C 48 12 C1 F9 */ bl __shl2i +/* 8025DD00 0025AC60 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8025DD04 0025AC64 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8025DD08 0025AC68 7C 00 1B 78 */ or r0, r0, r3 +/* 8025DD0C 0025AC6C 80 AD 98 04 */ lwz r5, lbl_805A83C4@sda21(r13) +/* 8025DD10 0025AC70 7C C4 23 78 */ or r4, r6, r4 +/* 8025DD14 0025AC74 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DD18 0025AC78 38 60 00 00 */ li r3, 0 +/* 8025DD1C 0025AC7C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8025DD20 0025AC80 38 80 00 01 */ li r4, 1 +/* 8025DD24 0025AC84 48 12 C1 D1 */ bl __shl2i +/* 8025DD28 0025AC88 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8025DD2C 0025AC8C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8025DD30 0025AC90 7C 00 1B 78 */ or r0, r0, r3 +/* 8025DD34 0025AC94 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 8025DD38 0025AC98 7C A5 23 78 */ or r5, r5, r4 +/* 8025DD3C 0025AC9C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8025DD40 0025ACA0 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025DD44 0025ACA4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025DD48 0025ACA8 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8025DD4C 0025ACAC C0 7F 00 40 */ lfs f3, 0x40(r31) +/* 8025DD50 0025ACB0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025DD54 0025ACB4 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025DD58 0025ACB8 EF 83 10 2A */ fadds f28, f3, f2 +/* 8025DD5C 0025ACBC EF A1 10 2A */ fadds f29, f1, f2 +/* 8025DD60 0025ACC0 EF C0 F8 2A */ fadds f30, f0, f31 +/* 8025DD64 0025ACC4 48 07 1B 51 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8025DD68 0025ACC8 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 8025DD6C 0025ACCC 38 00 00 00 */ li r0, 0 +/* 8025DD70 0025ACD0 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l +/* 8025DD74 0025ACD4 D3 81 00 88 */ stfs f28, 0x88(r1) +/* 8025DD78 0025ACD8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8025DD7C 0025ACDC 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DD80 0025ACE0 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8025DD84 0025ACE4 D3 A1 00 8C */ stfs f29, 0x8c(r1) +/* 8025DD88 0025ACE8 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 8025DD8C 0025ACEC D3 E1 00 94 */ stfs f31, 0x94(r1) +/* 8025DD90 0025ACF0 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 8025DD94 0025ACF4 48 07 66 39 */ bl CalculateLocalAABox__17CCollidableSphereCFv +/* 8025DD98 0025ACF8 7F 63 DB 78 */ mr r3, r27 +/* 8025DD9C 0025ACFC 7F E5 FB 78 */ mr r5, r31 +/* 8025DDA0 0025AD00 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 8025DDA4 0025AD04 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8025DDA8 0025AD08 4B DE E9 55 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 8025DDAC 0025AD0C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8025DDB0 0025AD10 7F 63 DB 78 */ mr r3, r27 +/* 8025DDB4 0025AD14 38 A4 66 70 */ addi r5, r4, skIdentity4f@l +/* 8025DDB8 0025AD18 38 C1 00 98 */ addi r6, r1, 0x98 +/* 8025DDBC 0025AD1C 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DDC0 0025AD20 4B F2 55 E1 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter +/* 8025DDC4 0025AD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025DDC8 0025AD28 41 82 00 78 */ beq lbl_8025DE40 +/* 8025DDCC 0025AD2C 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DDD0 0025AD30 38 60 00 00 */ li r3, 0 +/* 8025DDD4 0025AD34 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DDD8 0025AD38 40 81 00 40 */ ble lbl_8025DE18 +/* 8025DDDC 0025AD3C 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DDE0 0025AD40 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DDE4 0025AD44 40 81 00 20 */ ble lbl_8025DE04 +/* 8025DDE8 0025AD48 38 04 00 07 */ addi r0, r4, 7 +/* 8025DDEC 0025AD4C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DDF0 0025AD50 7C 09 03 A6 */ mtctr r0 +/* 8025DDF4 0025AD54 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DDF8 0025AD58 40 81 00 0C */ ble lbl_8025DE04 +lbl_8025DDFC: +/* 8025DDFC 0025AD5C 38 63 00 08 */ addi r3, r3, 8 +/* 8025DE00 0025AD60 42 00 FF FC */ bdnz lbl_8025DDFC +lbl_8025DE04: +/* 8025DE04 0025AD64 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DE08 0025AD68 7C 09 03 A6 */ mtctr r0 +/* 8025DE0C 0025AD6C 7C 03 28 00 */ cmpw r3, r5 +/* 8025DE10 0025AD70 40 80 00 08 */ bge lbl_8025DE18 +lbl_8025DE14: +/* 8025DE14 0025AD74 42 00 00 00 */ bdnz lbl_8025DE14 +lbl_8025DE18: +/* 8025DE18 0025AD78 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DE1C 0025AD7C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DE20 0025AD80 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DE24 0025AD84 38 80 00 00 */ li r4, 0 +/* 8025DE28 0025AD88 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DE2C 0025AD8C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DE30 0025AD90 38 60 00 01 */ li r3, 1 +/* 8025DE34 0025AD94 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DE38 0025AD98 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DE3C 0025AD9C 48 00 01 C4 */ b lbl_8025E000 +lbl_8025DE40: +/* 8025DE40 0025ADA0 3B A1 01 B4 */ addi r29, r1, 0x1b4 +/* 8025DE44 0025ADA4 3B E1 00 E8 */ addi r31, r1, 0xe8 +/* 8025DE48 0025ADA8 7F BC EB 78 */ mr r28, r29 +/* 8025DE4C 0025ADAC 3B C1 01 20 */ addi r30, r1, 0x120 +/* 8025DE50 0025ADB0 48 00 01 30 */ b lbl_8025DF80 +lbl_8025DE54: +/* 8025DE54 0025ADB4 A0 7C 00 00 */ lhz r3, 0(r28) +/* 8025DE58 0025ADB8 A0 1A 00 08 */ lhz r0, 8(r26) +/* 8025DE5C 0025ADBC 7C 03 00 40 */ cmplw r3, r0 +/* 8025DE60 0025ADC0 41 82 01 1C */ beq lbl_8025DF7C +/* 8025DE64 0025ADC4 B0 61 00 08 */ sth r3, 8(r1) +/* 8025DE68 0025ADC8 7F 63 DB 78 */ mr r3, r27 +/* 8025DE6C 0025ADCC 38 81 00 08 */ addi r4, r1, 8 +/* 8025DE70 0025ADD0 4B DE E7 35 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025DE74 0025ADD4 7C 64 1B 78 */ mr r4, r3 +/* 8025DE78 0025ADD8 38 61 00 0C */ addi r3, r1, 0xc +/* 8025DE7C 0025ADDC 4B E4 E8 69 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8025DE80 0025ADE0 83 23 00 04 */ lwz r25, 4(r3) +/* 8025DE84 0025ADE4 28 19 00 00 */ cmplwi r25, 0 +/* 8025DE88 0025ADE8 41 82 00 F4 */ beq lbl_8025DF7C +/* 8025DE8C 0025ADEC 7F 24 CB 78 */ mr r4, r25 +/* 8025DE90 0025ADF0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8025DE94 0025ADF4 81 99 00 00 */ lwz r12, 0(r25) +/* 8025DE98 0025ADF8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8025DE9C 0025ADFC 7D 89 03 A6 */ mtctr r12 +/* 8025DEA0 0025AE00 4E 80 04 21 */ bctrl +/* 8025DEA4 0025AE04 7F 23 CB 78 */ mr r3, r25 +/* 8025DEA8 0025AE08 81 99 00 00 */ lwz r12, 0(r25) +/* 8025DEAC 0025AE0C 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8025DEB0 0025AE10 7D 89 03 A6 */ mtctr r12 +/* 8025DEB4 0025AE14 4E 80 04 21 */ bctrl +/* 8025DEB8 0025AE18 3C 80 80 5A */ lis r4, lbl_8059FD18@ha +/* 8025DEBC 0025AE1C 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 8025DEC0 0025AE20 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l +/* 8025DEC4 0025AE24 7F E3 FB 78 */ mr r3, r31 +/* 8025DEC8 0025AE28 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8025DECC 0025AE2C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8025DED0 0025AE30 48 0B 4C A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025DED4 0025AE34 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025DED8 0025AE38 38 01 00 98 */ addi r0, r1, 0x98 +/* 8025DEDC 0025AE3C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8025DEE0 0025AE40 90 81 01 18 */ stw r4, 0x118(r1) +/* 8025DEE4 0025AE44 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8025DEE8 0025AE48 90 01 01 1C */ stw r0, 0x11c(r1) +/* 8025DEEC 0025AE4C 7F C3 F3 78 */ mr r3, r30 +/* 8025DEF0 0025AE50 48 0B 4C 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025DEF4 0025AE54 38 61 01 18 */ addi r3, r1, 0x118 +/* 8025DEF8 0025AE58 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 8025DEFC 0025AE5C 48 07 09 31 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc +/* 8025DF00 0025AE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025DF04 0025AE64 41 82 00 78 */ beq lbl_8025DF7C +/* 8025DF08 0025AE68 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DF0C 0025AE6C 38 60 00 00 */ li r3, 0 +/* 8025DF10 0025AE70 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DF14 0025AE74 40 81 00 40 */ ble lbl_8025DF54 +/* 8025DF18 0025AE78 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DF1C 0025AE7C 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DF20 0025AE80 40 81 00 20 */ ble lbl_8025DF40 +/* 8025DF24 0025AE84 38 04 00 07 */ addi r0, r4, 7 +/* 8025DF28 0025AE88 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DF2C 0025AE8C 7C 09 03 A6 */ mtctr r0 +/* 8025DF30 0025AE90 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DF34 0025AE94 40 81 00 0C */ ble lbl_8025DF40 +lbl_8025DF38: +/* 8025DF38 0025AE98 38 63 00 08 */ addi r3, r3, 8 +/* 8025DF3C 0025AE9C 42 00 FF FC */ bdnz lbl_8025DF38 +lbl_8025DF40: +/* 8025DF40 0025AEA0 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DF44 0025AEA4 7C 09 03 A6 */ mtctr r0 +/* 8025DF48 0025AEA8 7C 03 28 00 */ cmpw r3, r5 +/* 8025DF4C 0025AEAC 40 80 00 08 */ bge lbl_8025DF54 +lbl_8025DF50: +/* 8025DF50 0025AEB0 42 00 00 00 */ bdnz lbl_8025DF50 +lbl_8025DF54: +/* 8025DF54 0025AEB4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DF58 0025AEB8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DF5C 0025AEBC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DF60 0025AEC0 38 80 00 00 */ li r4, 0 +/* 8025DF64 0025AEC4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DF68 0025AEC8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DF6C 0025AECC 38 60 00 01 */ li r3, 1 +/* 8025DF70 0025AED0 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DF74 0025AED4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DF78 0025AED8 48 00 00 88 */ b lbl_8025E000 +lbl_8025DF7C: +/* 8025DF7C 0025AEDC 3B 9C 00 02 */ addi r28, r28, 2 +lbl_8025DF80: +/* 8025DF80 0025AEE0 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 8025DF84 0025AEE4 54 A0 08 3C */ slwi r0, r5, 1 +/* 8025DF88 0025AEE8 7C 1D 02 14 */ add r0, r29, r0 +/* 8025DF8C 0025AEEC 7C 1C 00 40 */ cmplw r28, r0 +/* 8025DF90 0025AEF0 40 82 FE C4 */ bne lbl_8025DE54 +/* 8025DF94 0025AEF4 2C 05 00 00 */ cmpwi r5, 0 +/* 8025DF98 0025AEF8 38 60 00 00 */ li r3, 0 +/* 8025DF9C 0025AEFC 40 81 00 40 */ ble lbl_8025DFDC +/* 8025DFA0 0025AF00 2C 05 00 08 */ cmpwi r5, 8 +/* 8025DFA4 0025AF04 38 85 FF F8 */ addi r4, r5, -8 +/* 8025DFA8 0025AF08 40 81 00 20 */ ble lbl_8025DFC8 +/* 8025DFAC 0025AF0C 38 04 00 07 */ addi r0, r4, 7 +/* 8025DFB0 0025AF10 54 00 E8 FE */ srwi r0, r0, 3 +/* 8025DFB4 0025AF14 7C 09 03 A6 */ mtctr r0 +/* 8025DFB8 0025AF18 2C 04 00 00 */ cmpwi r4, 0 +/* 8025DFBC 0025AF1C 40 81 00 0C */ ble lbl_8025DFC8 +lbl_8025DFC0: +/* 8025DFC0 0025AF20 38 63 00 08 */ addi r3, r3, 8 +/* 8025DFC4 0025AF24 42 00 FF FC */ bdnz lbl_8025DFC0 +lbl_8025DFC8: +/* 8025DFC8 0025AF28 7C 03 28 50 */ subf r0, r3, r5 +/* 8025DFCC 0025AF2C 7C 09 03 A6 */ mtctr r0 +/* 8025DFD0 0025AF30 7C 03 28 00 */ cmpw r3, r5 +/* 8025DFD4 0025AF34 40 80 00 08 */ bge lbl_8025DFDC +lbl_8025DFD8: +/* 8025DFD8 0025AF38 42 00 00 00 */ bdnz lbl_8025DFD8 +lbl_8025DFDC: +/* 8025DFDC 0025AF3C 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 8025DFE0 0025AF40 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8025DFE4 0025AF44 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 8025DFE8 0025AF48 38 80 00 00 */ li r4, 0 +/* 8025DFEC 0025AF4C 90 01 00 78 */ stw r0, 0x78(r1) +/* 8025DFF0 0025AF50 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8025DFF4 0025AF54 38 60 00 00 */ li r3, 0 +/* 8025DFF8 0025AF58 90 81 01 B0 */ stw r4, 0x1b0(r1) +/* 8025DFFC 0025AF5C 90 01 00 78 */ stw r0, 0x78(r1) +lbl_8025E000: +/* 8025E000 0025AF60 E3 E1 0A 18 */ psq_l f31, -1512(r1), 0, qr0 +/* 8025E004 0025AF64 CB E1 0A 10 */ lfd f31, 0xa10(r1) +/* 8025E008 0025AF68 E3 C1 0A 08 */ psq_l f30, -1528(r1), 0, qr0 +/* 8025E00C 0025AF6C CB C1 0A 00 */ lfd f30, 0xa00(r1) +/* 8025E010 0025AF70 E3 A1 09 F8 */ psq_l f29, -1544(r1), 0, qr0 +/* 8025E014 0025AF74 CB A1 09 F0 */ lfd f29, 0x9f0(r1) +/* 8025E018 0025AF78 E3 81 09 E8 */ psq_l f28, -1560(r1), 0, qr0 +/* 8025E01C 0025AF7C CB 81 09 E0 */ lfd f28, 0x9e0(r1) +/* 8025E020 0025AF80 BB 21 09 C4 */ lmw r25, 0x9c4(r1) +/* 8025E024 0025AF84 80 01 0A 24 */ lwz r0, 0xa24(r1) +/* 8025E028 0025AF88 7C 08 03 A6 */ mtlr r0 +/* 8025E02C 0025AF8C 38 21 0A 20 */ addi r1, r1, 0xa20 +/* 8025E030 0025AF90 4E 80 00 20 */ blr + +.global sub_8025e034 +sub_8025e034: +/* 8025E034 0025AF94 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025E038 0025AF98 7C 08 02 A6 */ mflr r0 +/* 8025E03C 0025AF9C 2C 05 00 01 */ cmpwi r5, 1 +/* 8025E040 0025AFA0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025E044 0025AFA4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025E048 0025AFA8 7C 7F 1B 78 */ mr r31, r3 +/* 8025E04C 0025AFAC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025E050 0025AFB0 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025E054 0025AFB4 7C 9D 23 78 */ mr r29, r4 +/* 8025E058 0025AFB8 83 C4 08 4C */ lwz r30, 0x84c(r4) +/* 8025E05C 0025AFBC 41 82 00 5C */ beq lbl_8025E0B8 +/* 8025E060 0025AFC0 40 80 00 10 */ bge lbl_8025E070 +/* 8025E064 0025AFC4 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E068 0025AFC8 40 80 00 14 */ bge lbl_8025E07C +/* 8025E06C 0025AFCC 48 00 01 2C */ b lbl_8025E198 +lbl_8025E070: +/* 8025E070 0025AFD0 2C 05 00 03 */ cmpwi r5, 3 +/* 8025E074 0025AFD4 40 80 01 24 */ bge lbl_8025E198 +/* 8025E078 0025AFD8 48 00 00 D8 */ b lbl_8025E150 +lbl_8025E07C: +/* 8025E07C 0025AFDC 7F C3 F3 78 */ mr r3, r30 +/* 8025E080 0025AFE0 4B EB D2 F9 */ bl Stop__13CPhysicsActorFv +/* 8025E084 0025AFE4 7F C3 F3 78 */ mr r3, r30 +/* 8025E088 0025AFE8 7F A5 EB 78 */ mr r5, r29 +/* 8025E08C 0025AFEC 38 80 00 13 */ li r4, 0x13 +/* 8025E090 0025AFF0 4B DF 5E F1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E094 0025AFF4 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025E098 0025AFF8 38 80 00 00 */ li r4, 0 +/* 8025E09C 0025AFFC 38 00 00 01 */ li r0, 1 +/* 8025E0A0 0025B000 98 83 05 90 */ stb r4, 0x590(r3) +/* 8025E0A4 0025B004 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025E0A8 0025B008 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E0AC 0025B00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8025E0B0 0025B010 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025E0B4 0025B014 48 00 00 E4 */ b lbl_8025E198 +lbl_8025E0B8: +/* 8025E0B8 0025B018 3C A0 80 3F */ lis r5, lbl_803E9A34@ha +/* 8025E0BC 0025B01C 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8025E0C0 0025B020 39 45 9A 34 */ addi r10, r5, lbl_803E9A34@l +/* 8025E0C4 0025B024 38 A0 00 07 */ li r5, 7 +/* 8025E0C8 0025B028 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025E0CC 0025B02C 38 E0 00 00 */ li r7, 0 +/* 8025E0D0 0025B030 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025E0D4 0025B034 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025E0D8 0025B038 91 21 00 24 */ stw r9, 0x24(r1) +/* 8025E0DC 0025B03C 91 01 00 28 */ stw r8, 0x28(r1) +/* 8025E0E0 0025B040 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8025E0E4 0025B044 4B E1 E6 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025E0E8 0025B048 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E0EC 0025B04C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025E0F0 0025B050 40 82 00 A8 */ bne lbl_8025E198 +/* 8025E0F4 0025B054 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025E0F8 0025B058 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E0FC 0025B05C 4B DA 6B BD */ bl string_l__4rstlFPCc +/* 8025E100 0025B060 7F E4 FB 78 */ mr r4, r31 +/* 8025E104 0025B064 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025E108 0025B068 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025E10C 0025B06C 4B E1 A8 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E110 0025B070 38 61 00 60 */ addi r3, r1, 0x60 +/* 8025E114 0025B074 38 81 00 30 */ addi r4, r1, 0x30 +/* 8025E118 0025B078 48 0B 4A 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025E11C 0025B07C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E120 0025B080 48 0D F9 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025E124 0025B084 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8025E128 0025B088 7F E3 FB 78 */ mr r3, r31 +/* 8025E12C 0025B08C C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 8025E130 0025B090 7F A4 EB 78 */ mr r4, r29 +/* 8025E134 0025B094 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8025E138 0025B098 38 A1 00 08 */ addi r5, r1, 8 +/* 8025E13C 0025B09C D0 41 00 08 */ stfs f2, 8(r1) +/* 8025E140 0025B0A0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025E144 0025B0A4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025E148 0025B0A8 48 00 12 55 */ bl sub_8025f39c +/* 8025E14C 0025B0AC 48 00 00 4C */ b lbl_8025E198 +lbl_8025E150: +/* 8025E150 0025B0B0 38 00 00 00 */ li r0, 0 +/* 8025E154 0025B0B4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8025E158 0025B0B8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025E15C 0025B0BC A0 1F 00 08 */ lhz r0, 8(r31) +/* 8025E160 0025B0C0 A0 83 02 6C */ lhz r4, 0x26c(r3) +/* 8025E164 0025B0C4 7C 04 00 40 */ cmplw r4, r0 +/* 8025E168 0025B0C8 40 82 00 30 */ bne lbl_8025E198 +/* 8025E16C 0025B0CC 38 00 00 01 */ li r0, 1 +/* 8025E170 0025B0D0 7F A5 EB 78 */ mr r5, r29 +/* 8025E174 0025B0D4 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025E178 0025B0D8 38 80 00 13 */ li r4, 0x13 +/* 8025E17C 0025B0DC 4B DF 61 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E180 0025B0E0 7F C3 F3 78 */ mr r3, r30 +/* 8025E184 0025B0E4 4B DB 68 21 */ bl DetachActorFromPlayer__7CPlayerFv +/* 8025E188 0025B0E8 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025E18C 0025B0EC 38 60 00 00 */ li r3, 0 +/* 8025E190 0025B0F0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025E194 0025B0F4 98 1F 06 98 */ stb r0, 0x698(r31) +lbl_8025E198: +/* 8025E198 0025B0F8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025E19C 0025B0FC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025E1A0 0025B100 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025E1A4 0025B104 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025E1A8 0025B108 7C 08 03 A6 */ mtlr r0 +/* 8025E1AC 0025B10C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025E1B0 0025B110 4E 80 00 20 */ blr + +.global sub_8025e1b4 +sub_8025e1b4: +/* 8025E1B4 0025B114 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E1B8 0025B118 7C 08 02 A6 */ mflr r0 +/* 8025E1BC 0025B11C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E1C0 0025B120 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025E1C4 0025B124 7C BF 2B 78 */ mr r31, r5 +/* 8025E1C8 0025B128 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8025E1CC 0025B12C 7C 9E 23 78 */ mr r30, r4 +/* 8025E1D0 0025B130 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8025E1D4 0025B134 7C 7D 1B 78 */ mr r29, r3 +/* 8025E1D8 0025B138 4B F9 89 05 */ bl TargetPlayer__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E1DC 0025B13C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025E1E0 0025B140 41 82 00 08 */ beq lbl_8025E1E8 +/* 8025E1E4 0025B144 48 00 00 64 */ b lbl_8025E248 +lbl_8025E1E8: +/* 8025E1E8 0025B148 A0 7D 06 94 */ lhz r3, 0x694(r29) +/* 8025E1EC 0025B14C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E1F0 0025B150 7C 03 00 40 */ cmplw r3, r0 +/* 8025E1F4 0025B154 41 82 00 54 */ beq lbl_8025E248 +/* 8025E1F8 0025B158 A0 1D 06 94 */ lhz r0, 0x694(r29) +/* 8025E1FC 0025B15C 7F C3 F3 78 */ mr r3, r30 +/* 8025E200 0025B160 38 81 00 08 */ addi r4, r1, 8 +/* 8025E204 0025B164 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E208 0025B168 4B DE E3 6D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025E20C 0025B16C 7C 64 1B 78 */ mr r4, r3 +/* 8025E210 0025B170 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E214 0025B174 4B E5 18 29 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025E218 0025B178 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E21C 0025B17C 28 04 00 00 */ cmplwi r4, 0 +/* 8025E220 0025B180 41 82 00 28 */ beq lbl_8025E248 +/* 8025E224 0025B184 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E228 0025B188 38 60 00 00 */ li r3, 0 +/* 8025E22C 0025B18C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025E230 0025B190 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E234 0025B194 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E238 0025B198 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025E23C 0025B19C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E240 0025B1A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E244 0025B1A4 B0 1D 06 94 */ sth r0, 0x694(r29) +lbl_8025E248: +/* 8025E248 0025B1A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E24C 0025B1AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8025E250 0025B1B0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025E254 0025B1B4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8025E258 0025B1B8 7C 08 03 A6 */ mtlr r0 +/* 8025E25C 0025B1BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E260 0025B1C0 4E 80 00 20 */ blr + +.global sub_8025e264 +sub_8025e264: +/* 8025E264 0025B1C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E268 0025B1C8 7C 08 02 A6 */ mflr r0 +/* 8025E26C 0025B1CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E270 0025B1D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025E274 0025B1D4 7C BF 2B 78 */ mr r31, r5 +/* 8025E278 0025B1D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025E27C 0025B1DC 7C 9E 23 78 */ mr r30, r4 +/* 8025E280 0025B1E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025E284 0025B1E4 7C 7D 1B 78 */ mr r29, r3 +/* 8025E288 0025B1E8 4B F9 8B ED */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E28C 0025B1EC 2C 1F 00 01 */ cmpwi r31, 1 +/* 8025E290 0025B1F0 41 82 00 28 */ beq lbl_8025E2B8 +/* 8025E294 0025B1F4 40 80 00 30 */ bge lbl_8025E2C4 +/* 8025E298 0025B1F8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8025E29C 0025B1FC 40 80 00 0C */ bge lbl_8025E2A8 +/* 8025E2A0 0025B200 48 00 00 24 */ b lbl_8025E2C4 +/* 8025E2A4 0025B204 48 00 00 20 */ b lbl_8025E2C4 +lbl_8025E2A8: +/* 8025E2A8 0025B208 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8025E2AC 0025B20C 38 80 00 01 */ li r4, 1 +/* 8025E2B0 0025B210 4B ED C7 29 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025E2B4 0025B214 48 00 00 10 */ b lbl_8025E2C4 +lbl_8025E2B8: +/* 8025E2B8 0025B218 7F A3 EB 78 */ mr r3, r29 +/* 8025E2BC 0025B21C 7F C4 F3 78 */ mr r4, r30 +/* 8025E2C0 0025B220 48 00 00 21 */ bl sub_8025e2e0 +lbl_8025E2C4: +/* 8025E2C4 0025B224 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E2C8 0025B228 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025E2CC 0025B22C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025E2D0 0025B230 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025E2D4 0025B234 7C 08 03 A6 */ mtlr r0 +/* 8025E2D8 0025B238 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E2DC 0025B23C 4E 80 00 20 */ blr + +.global sub_8025e2e0 +sub_8025e2e0: +/* 8025E2E0 0025B240 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8025E2E4 0025B244 7C 08 02 A6 */ mflr r0 +/* 8025E2E8 0025B248 90 01 00 64 */ stw r0, 0x64(r1) +/* 8025E2EC 0025B24C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8025E2F0 0025B250 7C 7F 1B 78 */ mr r31, r3 +/* 8025E2F4 0025B254 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8025E2F8 0025B258 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8025E2FC 0025B25C 93 81 00 50 */ stw r28, 0x50(r1) +/* 8025E300 0025B260 83 A4 08 38 */ lwz r29, 0x838(r4) +/* 8025E304 0025B264 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025E308 0025B268 3B C4 66 A0 */ addi r30, r4, skZero3f@l +/* 8025E30C 0025B26C AB 9D 20 08 */ lha r28, 0x2008(r29) +/* 8025E310 0025B270 48 00 01 04 */ b lbl_8025E414 +lbl_8025E314: +/* 8025E314 0025B274 7F A3 EB 78 */ mr r3, r29 +/* 8025E318 0025B278 7F 84 E3 78 */ mr r4, r28 +/* 8025E31C 0025B27C 4B DB 19 C1 */ bl __vc__11CObjectListCFi +/* 8025E320 0025B280 7C 64 1B 78 */ mr r4, r3 +/* 8025E324 0025B284 38 61 00 08 */ addi r3, r1, 8 +/* 8025E328 0025B288 4B E4 E7 35 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8025E32C 0025B28C 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E330 0025B290 28 04 00 00 */ cmplwi r4, 0 +/* 8025E334 0025B294 41 82 00 C4 */ beq lbl_8025E3F8 +/* 8025E338 0025B298 7C 04 F8 40 */ cmplw r4, r31 +/* 8025E33C 0025B29C 41 82 00 BC */ beq lbl_8025E3F8 +/* 8025E340 0025B2A0 80 64 00 04 */ lwz r3, 4(r4) +/* 8025E344 0025B2A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8025E348 0025B2A8 7C 03 00 00 */ cmpw r3, r0 +/* 8025E34C 0025B2AC 40 82 00 AC */ bne lbl_8025E3F8 +/* 8025E350 0025B2B0 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025E354 0025B2B4 7F E5 FB 78 */ mr r5, r31 +/* 8025E358 0025B2B8 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8025E35C 0025B2BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025E360 0025B2C0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025E364 0025B2C4 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8025E368 0025B2C8 C0 22 BA 38 */ lfs f1, lbl_805AD758@sda21(r2) +/* 8025E36C 0025B2CC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8025E370 0025B2D0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025E374 0025B2D4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8025E378 0025B2D8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8025E37C 0025B2DC 4B EE 05 75 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8025E380 0025B2E0 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 8025E384 0025B2E4 38 00 00 00 */ li r0, 0 +/* 8025E388 0025B2E8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025E38C 0025B2EC C0 81 00 20 */ lfs f4, 0x20(r1) +/* 8025E390 0025B2F0 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 8025E394 0025B2F4 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 8025E398 0025B2F8 40 82 00 14 */ bne lbl_8025E3AC +/* 8025E39C 0025B2FC FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8025E3A0 0025B300 40 82 00 0C */ bne lbl_8025E3AC +/* 8025E3A4 0025B304 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 8025E3A8 0025B308 41 82 00 08 */ beq lbl_8025E3B0 +lbl_8025E3AC: +/* 8025E3AC 0025B30C 38 00 00 01 */ li r0, 1 +lbl_8025E3B0: +/* 8025E3B0 0025B310 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8025E3B4 0025B314 41 82 00 44 */ beq lbl_8025E3F8 +/* 8025E3B8 0025B318 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025E3BC 0025B31C C0 5E 00 04 */ lfs f2, 4(r30) +/* 8025E3C0 0025B320 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8025E3C4 0025B324 38 81 00 28 */ addi r4, r1, 0x28 +/* 8025E3C8 0025B328 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 8025E3CC 0025B32C C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 8025E3D0 0025B330 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 8025E3D4 0025B334 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8025E3D8 0025B338 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 8025E3DC 0025B33C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8025E3E0 0025B340 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8025E3E4 0025B344 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8025E3E8 0025B348 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8025E3EC 0025B34C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025E3F0 0025B350 38 63 00 04 */ addi r3, r3, 4 +/* 8025E3F4 0025B354 4B ED 33 25 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8025E3F8: +/* 8025E3F8 0025B358 2C 1C FF FF */ cmpwi r28, -1 +/* 8025E3FC 0025B35C 41 82 00 14 */ beq lbl_8025E410 +/* 8025E400 0025B360 57 83 18 38 */ slwi r3, r28, 3 +/* 8025E404 0025B364 38 03 00 08 */ addi r0, r3, 8 +/* 8025E408 0025B368 7F 9D 02 AE */ lhax r28, r29, r0 +/* 8025E40C 0025B36C 48 00 00 08 */ b lbl_8025E414 +lbl_8025E410: +/* 8025E410 0025B370 3B 80 FF FF */ li r28, -1 +lbl_8025E414: +/* 8025E414 0025B374 2C 1C FF FF */ cmpwi r28, -1 +/* 8025E418 0025B378 40 82 FE FC */ bne lbl_8025E314 +/* 8025E41C 0025B37C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8025E420 0025B380 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8025E424 0025B384 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8025E428 0025B388 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8025E42C 0025B38C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8025E430 0025B390 7C 08 03 A6 */ mtlr r0 +/* 8025E434 0025B394 38 21 00 60 */ addi r1, r1, 0x60 +/* 8025E438 0025B398 4E 80 00 20 */ blr + +.global sub_8025e43c +sub_8025e43c: +/* 8025E43C 0025B39C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E440 0025B3A0 7C 08 02 A6 */ mflr r0 +/* 8025E444 0025B3A4 38 C0 00 19 */ li r6, 0x19 +/* 8025E448 0025B3A8 38 E0 00 08 */ li r7, 8 +/* 8025E44C 0025B3AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E450 0025B3B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025E454 0025B3B4 7C 9F 23 78 */ mr r31, r4 +/* 8025E458 0025B3B8 7F E5 FB 78 */ mr r5, r31 +/* 8025E45C 0025B3BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8025E460 0025B3C0 7C 7E 1B 78 */ mr r30, r3 +/* 8025E464 0025B3C4 7F C4 F3 78 */ mr r4, r30 +/* 8025E468 0025B3C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E46C 0025B3CC 4B F9 6B 2D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E470 0025B3D0 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8025E474 0025B3D4 7F E3 FB 78 */ mr r3, r31 +/* 8025E478 0025B3D8 38 81 00 08 */ addi r4, r1, 8 +/* 8025E47C 0025B3DC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8025E480 0025B3E0 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E484 0025B3E4 4B DE E1 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025E488 0025B3E8 7C 64 1B 78 */ mr r4, r3 +/* 8025E48C 0025B3EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025E490 0025B3F0 4B E5 18 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025E494 0025B3F4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025E498 0025B3F8 28 05 00 00 */ cmplwi r5, 0 +/* 8025E49C 0025B3FC 41 82 00 30 */ beq lbl_8025E4CC +/* 8025E4A0 0025B400 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025E4A4 0025B404 7F C3 F3 78 */ mr r3, r30 +/* 8025E4A8 0025B408 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025E4AC 0025B40C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8025E4B0 0025B410 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025E4B4 0025B414 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8025E4B8 0025B418 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8025E4BC 0025B41C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025E4C0 0025B420 4B E1 E6 9D */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025E4C4 0025B424 38 60 00 01 */ li r3, 1 +/* 8025E4C8 0025B428 48 00 00 08 */ b lbl_8025E4D0 +lbl_8025E4CC: +/* 8025E4CC 0025B42C 38 60 00 00 */ li r3, 0 +lbl_8025E4D0: +/* 8025E4D0 0025B430 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E4D4 0025B434 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8025E4D8 0025B438 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8025E4DC 0025B43C 7C 08 03 A6 */ mtlr r0 +/* 8025E4E0 0025B440 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E4E4 0025B444 4E 80 00 20 */ blr + +.global sub_8025e4e8 +sub_8025e4e8: +/* 8025E4E8 0025B448 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E4EC 0025B44C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 8025E4F0 0025B450 4E 80 00 20 */ blr + +.global sub_8025e4f4 +sub_8025e4f4: +/* 8025E4F4 0025B454 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E4F8 0025B458 7C 08 02 A6 */ mflr r0 +/* 8025E4FC 0025B45C 7C 65 1B 78 */ mr r5, r3 +/* 8025E500 0025B460 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E504 0025B464 38 81 00 08 */ addi r4, r1, 8 +/* 8025E508 0025B468 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8025E50C 0025B46C 38 65 05 68 */ addi r3, r5, 0x568 +/* 8025E510 0025B470 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025E514 0025B474 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025E518 0025B478 D0 01 00 08 */ stfs f0, 8(r1) +/* 8025E51C 0025B47C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025E520 0025B480 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025E524 0025B484 4B F6 86 11 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 8025E528 0025B488 2C 03 00 01 */ cmpwi r3, 1 +/* 8025E52C 0025B48C 41 82 00 08 */ beq lbl_8025E534 +/* 8025E530 0025B490 48 00 00 0C */ b lbl_8025E53C +lbl_8025E534: +/* 8025E534 0025B494 38 60 00 00 */ li r3, 0 +/* 8025E538 0025B498 48 00 00 08 */ b lbl_8025E540 +lbl_8025E53C: +/* 8025E53C 0025B49C 38 60 00 01 */ li r3, 1 +lbl_8025E540: +/* 8025E540 0025B4A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E544 0025B4A4 7C 08 03 A6 */ mtlr r0 +/* 8025E548 0025B4A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E54C 0025B4AC 4E 80 00 20 */ blr + +.global sub_8025e550 +sub_8025e550: +/* 8025E550 0025B4B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E554 0025B4B4 7C 08 02 A6 */ mflr r0 +/* 8025E558 0025B4B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E55C 0025B4BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E560 0025B4C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025E564 0025B4C4 41 82 00 08 */ beq lbl_8025E56C +/* 8025E568 0025B4C8 48 00 00 4C */ b lbl_8025E5B4 +lbl_8025E56C: +/* 8025E56C 0025B4CC 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E570 0025B4D0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8025E574 0025B4D4 40 82 00 0C */ bne lbl_8025E580 +/* 8025E578 0025B4D8 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) +/* 8025E57C 0025B4DC D0 03 06 8C */ stfs f0, 0x68c(r3) +lbl_8025E580: +/* 8025E580 0025B4E0 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025E584 0025B4E4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8025E588 0025B4E8 A0 7F 02 6C */ lhz r3, 0x26c(r31) +/* 8025E58C 0025B4EC 7C 03 00 40 */ cmplw r3, r0 +/* 8025E590 0025B4F0 40 82 00 24 */ bne lbl_8025E5B4 +/* 8025E594 0025B4F4 38 00 00 01 */ li r0, 1 +/* 8025E598 0025B4F8 7F E3 FB 78 */ mr r3, r31 +/* 8025E59C 0025B4FC 98 1F 05 90 */ stb r0, 0x590(r31) +/* 8025E5A0 0025B500 7C 85 23 78 */ mr r5, r4 +/* 8025E5A4 0025B504 38 80 00 13 */ li r4, 0x13 +/* 8025E5A8 0025B508 4B DF 5D A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E5AC 0025B50C 7F E3 FB 78 */ mr r3, r31 +/* 8025E5B0 0025B510 4B DB 63 F5 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025E5B4: +/* 8025E5B4 0025B514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E5B8 0025B518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025E5BC 0025B51C 7C 08 03 A6 */ mtlr r0 +/* 8025E5C0 0025B520 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E5C4 0025B524 4E 80 00 20 */ blr + +.global sub_8025e5c8 +sub_8025e5c8: +/* 8025E5C8 0025B528 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025E5CC 0025B52C 7C 08 02 A6 */ mflr r0 +/* 8025E5D0 0025B530 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025E5D4 0025B534 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 8025E5D8 0025B538 FF E0 08 90 */ fmr f31, f1 +/* 8025E5DC 0025B53C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8025E5E0 0025B540 7C BF 2B 79 */ or. r31, r5, r5 +/* 8025E5E4 0025B544 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8025E5E8 0025B548 7C 9E 23 78 */ mr r30, r4 +/* 8025E5EC 0025B54C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8025E5F0 0025B550 7C 7D 1B 78 */ mr r29, r3 +/* 8025E5F4 0025B554 41 82 00 0C */ beq lbl_8025E600 +/* 8025E5F8 0025B558 41 80 00 14 */ blt lbl_8025E60C +/* 8025E5FC 0025B55C 48 00 00 10 */ b lbl_8025E60C +lbl_8025E600: +/* 8025E600 0025B560 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8025E604 0025B564 38 80 00 01 */ li r4, 1 +/* 8025E608 0025B568 4B ED C3 D1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8025E60C: +/* 8025E60C 0025B56C FC 20 F8 90 */ fmr f1, f31 +/* 8025E610 0025B570 7F A3 EB 78 */ mr r3, r29 +/* 8025E614 0025B574 7F C4 F3 78 */ mr r4, r30 +/* 8025E618 0025B578 7F E5 FB 78 */ mr r5, r31 +/* 8025E61C 0025B57C 4B F9 85 4D */ bl TargetPatrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8025E620 0025B580 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025E624 0025B584 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8025E628 0025B588 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 8025E62C 0025B58C 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 8025E630 0025B590 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 8025E634 0025B594 7C 08 03 A6 */ mtlr r0 +/* 8025E638 0025B598 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025E63C 0025B59C 4E 80 00 20 */ blr + +.global sub_8025e640 +sub_8025e640: +/* 8025E640 0025B5A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8025E644 0025B5A4 7C 08 02 A6 */ mflr r0 +/* 8025E648 0025B5A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8025E64C 0025B5AC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8025E650 0025B5B0 7C 7C 1B 78 */ mr r28, r3 +/* 8025E654 0025B5B4 7C 9D 23 78 */ mr r29, r4 +/* 8025E658 0025B5B8 7C BE 2B 78 */ mr r30, r5 +/* 8025E65C 0025B5BC 7C DF 33 78 */ mr r31, r6 +/* 8025E660 0025B5C0 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8025E664 0025B5C4 83 64 08 4C */ lwz r27, 0x84c(r4) +/* 8025E668 0025B5C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8025E66C 0025B5CC 41 82 00 98 */ beq lbl_8025E704 +/* 8025E670 0025B5D0 A0 7B 02 6C */ lhz r3, 0x26c(r27) +/* 8025E674 0025B5D4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025E678 0025B5D8 7C 03 00 40 */ cmplw r3, r0 +/* 8025E67C 0025B5DC 40 82 00 28 */ bne lbl_8025E6A4 +/* 8025E680 0025B5E0 38 00 00 01 */ li r0, 1 +/* 8025E684 0025B5E4 7F 63 DB 78 */ mr r3, r27 +/* 8025E688 0025B5E8 98 1B 05 90 */ stb r0, 0x590(r27) +/* 8025E68C 0025B5EC 7F A5 EB 78 */ mr r5, r29 +/* 8025E690 0025B5F0 38 80 00 13 */ li r4, 0x13 +/* 8025E694 0025B5F4 4B DF 5C BD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E698 0025B5F8 7F 63 DB 78 */ mr r3, r27 +/* 8025E69C 0025B5FC 4B DB 63 09 */ bl DetachActorFromPlayer__7CPlayerFv +/* 8025E6A0 0025B600 48 00 00 64 */ b lbl_8025E704 +lbl_8025E6A4: +/* 8025E6A4 0025B604 A0 7C 06 94 */ lhz r3, 0x694(r28) +/* 8025E6A8 0025B608 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E6AC 0025B60C 7C 03 00 40 */ cmplw r3, r0 +/* 8025E6B0 0025B610 41 82 00 54 */ beq lbl_8025E704 +/* 8025E6B4 0025B614 A0 1C 06 94 */ lhz r0, 0x694(r28) +/* 8025E6B8 0025B618 7F A3 EB 78 */ mr r3, r29 +/* 8025E6BC 0025B61C 38 81 00 08 */ addi r4, r1, 8 +/* 8025E6C0 0025B620 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E6C4 0025B624 4B DE DE B1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025E6C8 0025B628 7C 64 1B 78 */ mr r4, r3 +/* 8025E6CC 0025B62C 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E6D0 0025B630 4B E5 13 6D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025E6D4 0025B634 80 83 00 04 */ lwz r4, 4(r3) +/* 8025E6D8 0025B638 28 04 00 00 */ cmplwi r4, 0 +/* 8025E6DC 0025B63C 41 82 00 20 */ beq lbl_8025E6FC +/* 8025E6E0 0025B640 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E6E4 0025B644 38 60 00 00 */ li r3, 0 +/* 8025E6E8 0025B648 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025E6EC 0025B64C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025E6F0 0025B650 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025E6F4 0025B654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025E6F8 0025B658 98 04 01 90 */ stb r0, 0x190(r4) +lbl_8025E6FC: +/* 8025E6FC 0025B65C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E700 0025B660 B0 1C 06 94 */ sth r0, 0x694(r28) +lbl_8025E704: +/* 8025E704 0025B664 7F 83 E3 78 */ mr r3, r28 +/* 8025E708 0025B668 7F A4 EB 78 */ mr r4, r29 +/* 8025E70C 0025B66C 7F C5 F3 78 */ mr r5, r30 +/* 8025E710 0025B670 7F E6 FB 78 */ mr r6, r31 +/* 8025E714 0025B674 4B E1 CC 91 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8025E718 0025B678 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8025E71C 0025B67C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8025E720 0025B680 7C 08 03 A6 */ mtlr r0 +/* 8025E724 0025B684 38 21 00 30 */ addi r1, r1, 0x30 +/* 8025E728 0025B688 4E 80 00 20 */ blr + +.global sub_8025e72c +sub_8025e72c: +/* 8025E72C 0025B68C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E730 0025B690 7C 08 02 A6 */ mflr r0 +/* 8025E734 0025B694 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E738 0025B698 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E73C 0025B69C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8025E740 0025B6A0 41 82 00 0C */ beq lbl_8025E74C +/* 8025E744 0025B6A4 4B E4 46 2D */ bl GetDamageVulnerability__3CAiCFv +/* 8025E748 0025B6A8 48 00 00 0C */ b lbl_8025E754 +lbl_8025E74C: +/* 8025E74C 0025B6AC 3C 60 80 57 */ lis r3, lbl_80572614@ha +/* 8025E750 0025B6B0 38 63 26 14 */ addi r3, r3, lbl_80572614@l +lbl_8025E754: +/* 8025E754 0025B6B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E758 0025B6B8 7C 08 03 A6 */ mtlr r0 +/* 8025E75C 0025B6BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E760 0025B6C0 4E 80 00 20 */ blr + +.global sub_8025e764 +sub_8025e764: +/* 8025E764 0025B6C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025E768 0025B6C8 7C 08 02 A6 */ mflr r0 +/* 8025E76C 0025B6CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025E770 0025B6D0 88 03 06 98 */ lbz r0, 0x698(r3) +/* 8025E774 0025B6D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8025E778 0025B6D8 41 82 00 0C */ beq lbl_8025E784 +/* 8025E77C 0025B6DC 4B E4 45 F5 */ bl GetDamageVulnerability__3CAiCFv +/* 8025E780 0025B6E0 48 00 00 0C */ b lbl_8025E78C +lbl_8025E784: +/* 8025E784 0025B6E4 3C 60 80 57 */ lis r3, lbl_80572614@ha +/* 8025E788 0025B6E8 38 63 26 14 */ addi r3, r3, lbl_80572614@l +lbl_8025E78C: +/* 8025E78C 0025B6EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025E790 0025B6F0 7C 08 03 A6 */ mtlr r0 +/* 8025E794 0025B6F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025E798 0025B6F8 4E 80 00 20 */ blr + +.global sub_8025e79c +sub_8025e79c: +/* 8025E79C 0025B6FC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025E7A0 0025B700 7C 08 02 A6 */ mflr r0 +/* 8025E7A4 0025B704 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025E7A8 0025B708 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8025E7AC 0025B70C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8025E7B0 0025B710 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8025E7B4 0025B714 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8025E7B8 0025B718 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8025E7BC 0025B71C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8025E7C0 0025B720 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8025E7C4 0025B724 93 81 00 70 */ stw r28, 0x70(r1) +/* 8025E7C8 0025B728 7C DF 33 79 */ or. r31, r6, r6 +/* 8025E7CC 0025B72C FF C0 08 90 */ fmr f30, f1 +/* 8025E7D0 0025B730 7C 7C 1B 78 */ mr r28, r3 +/* 8025E7D4 0025B734 7C 9D 23 78 */ mr r29, r4 +/* 8025E7D8 0025B738 7C BE 2B 78 */ mr r30, r5 +/* 8025E7DC 0025B73C 38 00 00 00 */ li r0, 0 +/* 8025E7E0 0025B740 41 82 00 08 */ beq lbl_8025E7E8 +/* 8025E7E4 0025B744 48 00 00 78 */ b lbl_8025E85C +lbl_8025E7E8: +/* 8025E7E8 0025B748 A0 7C 06 94 */ lhz r3, 0x694(r28) +/* 8025E7EC 0025B74C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E7F0 0025B750 7C 03 00 40 */ cmplw r3, r0 +/* 8025E7F4 0025B754 40 82 00 44 */ bne lbl_8025E838 +/* 8025E7F8 0025B758 88 1C 06 98 */ lbz r0, 0x698(r28) +/* 8025E7FC 0025B75C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8025E800 0025B760 41 82 00 0C */ beq lbl_8025E80C +/* 8025E804 0025B764 C3 E2 BA 44 */ lfs f31, lbl_805AD764@sda21(r2) +/* 8025E808 0025B768 48 00 00 08 */ b lbl_8025E810 +lbl_8025E80C: +/* 8025E80C 0025B76C C3 FC 06 88 */ lfs f31, 0x688(r28) +lbl_8025E810: +/* 8025E810 0025B770 7F 84 E3 78 */ mr r4, r28 +/* 8025E814 0025B774 38 61 00 38 */ addi r3, r1, 0x38 +/* 8025E818 0025B778 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8025E81C 0025B77C 4B E1 A1 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E820 0025B780 FC 20 F8 90 */ fmr f1, f31 +/* 8025E824 0025B784 7F 83 E3 78 */ mr r3, r28 +/* 8025E828 0025B788 7F A4 EB 78 */ mr r4, r29 +/* 8025E82C 0025B78C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8025E830 0025B790 48 00 05 F9 */ bl sub_8025ee28 +/* 8025E834 0025B794 48 00 00 24 */ b lbl_8025E858 +lbl_8025E838: +/* 8025E838 0025B798 7F 84 E3 78 */ mr r4, r28 +/* 8025E83C 0025B79C 38 61 00 08 */ addi r3, r1, 8 +/* 8025E840 0025B7A0 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8025E844 0025B7A4 4B E1 A1 35 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025E848 0025B7A8 7F 83 E3 78 */ mr r3, r28 +/* 8025E84C 0025B7AC 7F A4 EB 78 */ mr r4, r29 +/* 8025E850 0025B7B0 38 A1 00 08 */ addi r5, r1, 8 +/* 8025E854 0025B7B4 48 00 04 91 */ bl sub_8025ece4 +lbl_8025E858: +/* 8025E858 0025B7B8 38 00 00 01 */ li r0, 1 +lbl_8025E85C: +/* 8025E85C 0025B7BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8025E860 0025B7C0 40 82 00 1C */ bne lbl_8025E87C +/* 8025E864 0025B7C4 FC 20 F0 90 */ fmr f1, f30 +/* 8025E868 0025B7C8 7F 83 E3 78 */ mr r3, r28 +/* 8025E86C 0025B7CC 7F A4 EB 78 */ mr r4, r29 +/* 8025E870 0025B7D0 7F C5 F3 78 */ mr r5, r30 +/* 8025E874 0025B7D4 7F E6 FB 78 */ mr r6, r31 +/* 8025E878 0025B7D8 4B E1 A6 39 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8025E87C: +/* 8025E87C 0025B7DC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8025E880 0025B7E0 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8025E884 0025B7E4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8025E888 0025B7E8 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8025E88C 0025B7EC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8025E890 0025B7F0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8025E894 0025B7F4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8025E898 0025B7F8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025E89C 0025B7FC 83 81 00 70 */ lwz r28, 0x70(r1) +/* 8025E8A0 0025B800 7C 08 03 A6 */ mtlr r0 +/* 8025E8A4 0025B804 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025E8A8 0025B808 4E 80 00 20 */ blr + +.global sub_8025e8ac +sub_8025e8ac: +/* 8025E8AC 0025B80C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8025E8B0 0025B810 7C 08 02 A6 */ mflr r0 +/* 8025E8B4 0025B814 90 01 01 24 */ stw r0, 0x124(r1) +/* 8025E8B8 0025B818 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8025E8BC 0025B81C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8025E8C0 0025B820 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8025E8C4 0025B824 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8025E8C8 0025B828 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8025E8CC 0025B82C 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8025E8D0 0025B830 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8025E8D4 0025B834 2C 05 00 01 */ cmpwi r5, 1 +/* 8025E8D8 0025B838 83 A4 08 4C */ lwz r29, 0x84c(r4) +/* 8025E8DC 0025B83C 7C 9F 23 78 */ mr r31, r4 +/* 8025E8E0 0025B840 7C 7E 1B 78 */ mr r30, r3 +/* 8025E8E4 0025B844 41 82 01 E0 */ beq lbl_8025EAC4 +/* 8025E8E8 0025B848 40 80 00 10 */ bge lbl_8025E8F8 +/* 8025E8EC 0025B84C 2C 05 00 00 */ cmpwi r5, 0 +/* 8025E8F0 0025B850 40 80 00 14 */ bge lbl_8025E904 +/* 8025E8F4 0025B854 48 00 02 B8 */ b lbl_8025EBAC +lbl_8025E8F8: +/* 8025E8F8 0025B858 2C 05 00 03 */ cmpwi r5, 3 +/* 8025E8FC 0025B85C 40 80 02 B0 */ bge lbl_8025EBAC +/* 8025E900 0025B860 48 00 02 70 */ b lbl_8025EB70 +lbl_8025E904: +/* 8025E904 0025B864 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025E908 0025B868 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E90C 0025B86C 7C 03 00 40 */ cmplw r3, r0 +/* 8025E910 0025B870 40 82 00 28 */ bne lbl_8025E938 +/* 8025E914 0025B874 7F A3 EB 78 */ mr r3, r29 +/* 8025E918 0025B878 4B EB CA 61 */ bl Stop__13CPhysicsActorFv +/* 8025E91C 0025B87C 7F A3 EB 78 */ mr r3, r29 +/* 8025E920 0025B880 7F E5 FB 78 */ mr r5, r31 +/* 8025E924 0025B884 38 80 00 13 */ li r4, 0x13 +/* 8025E928 0025B888 4B DF 56 59 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025E92C 0025B88C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025E930 0025B890 38 00 00 00 */ li r0, 0 +/* 8025E934 0025B894 98 03 05 90 */ stb r0, 0x590(r3) +lbl_8025E938: +/* 8025E938 0025B898 7F C4 F3 78 */ mr r4, r30 +/* 8025E93C 0025B89C 7F E5 FB 78 */ mr r5, r31 +/* 8025E940 0025B8A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025E944 0025B8A4 38 C0 00 19 */ li r6, 0x19 +/* 8025E948 0025B8A8 38 E0 00 06 */ li r7, 6 +/* 8025E94C 0025B8AC 4B F9 66 4D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E950 0025B8B0 A0 61 00 10 */ lhz r3, 0x10(r1) +/* 8025E954 0025B8B4 3B A0 00 00 */ li r29, 0 +/* 8025E958 0025B8B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025E95C 0025B8BC B0 61 00 14 */ sth r3, 0x14(r1) +/* 8025E960 0025B8C0 7C 03 00 40 */ cmplw r3, r0 +/* 8025E964 0025B8C4 40 82 00 28 */ bne lbl_8025E98C +/* 8025E968 0025B8C8 7F C4 F3 78 */ mr r4, r30 +/* 8025E96C 0025B8CC 7F E5 FB 78 */ mr r5, r31 +/* 8025E970 0025B8D0 38 61 00 0C */ addi r3, r1, 0xc +/* 8025E974 0025B8D4 38 C0 00 0C */ li r6, 0xc +/* 8025E978 0025B8D8 38 E0 00 06 */ li r7, 6 +/* 8025E97C 0025B8DC 4B F9 66 1D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025E980 0025B8E0 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8025E984 0025B8E4 3B A0 00 01 */ li r29, 1 +/* 8025E988 0025B8E8 B0 01 00 14 */ sth r0, 0x14(r1) +lbl_8025E98C: +/* 8025E98C 0025B8EC A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8025E990 0025B8F0 7F E3 FB 78 */ mr r3, r31 +/* 8025E994 0025B8F4 38 81 00 08 */ addi r4, r1, 8 +/* 8025E998 0025B8F8 B0 01 00 08 */ sth r0, 8(r1) +/* 8025E99C 0025B8FC 4B DE DC 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025E9A0 0025B900 7C 64 1B 78 */ mr r4, r3 +/* 8025E9A4 0025B904 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025E9A8 0025B908 4B E5 12 E9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025E9AC 0025B90C 80 63 00 04 */ lwz r3, 4(r3) +/* 8025E9B0 0025B910 28 03 00 00 */ cmplwi r3, 0 +/* 8025E9B4 0025B914 41 82 01 F8 */ beq lbl_8025EBAC +/* 8025E9B8 0025B918 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8025E9BC 0025B91C 41 82 00 24 */ beq lbl_8025E9E0 +/* 8025E9C0 0025B920 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8025E9C4 0025B924 38 81 00 6C */ addi r4, r1, 0x6c +/* 8025E9C8 0025B928 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8025E9CC 0025B92C C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8025E9D0 0025B930 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8025E9D4 0025B934 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 8025E9D8 0025B938 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8025E9DC 0025B93C 48 00 00 44 */ b lbl_8025EA20 +lbl_8025E9E0: +/* 8025E9E0 0025B940 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 8025E9E4 0025B944 38 81 00 54 */ addi r4, r1, 0x54 +/* 8025E9E8 0025B948 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8025E9EC 0025B94C C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8025E9F0 0025B950 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8025E9F4 0025B954 EC 25 00 28 */ fsubs f1, f5, f0 +/* 8025E9F8 0025B958 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8025E9FC 0025B95C C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 8025EA00 0025B960 EC 44 10 28 */ fsubs f2, f4, f2 +/* 8025EA04 0025B964 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8025EA08 0025B968 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8025EA0C 0025B96C D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8025EA10 0025B970 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 8025EA14 0025B974 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8025EA18 0025B978 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8025EA1C 0025B97C D0 21 00 5C */ stfs f1, 0x5c(r1) +lbl_8025EA20: +/* 8025EA20 0025B980 C0 04 00 00 */ lfs f0, 0(r4) +/* 8025EA24 0025B984 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025EA28 0025B988 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8025EA2C 0025B98C C0 04 00 04 */ lfs f0, 4(r4) +/* 8025EA30 0025B990 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8025EA34 0025B994 C0 04 00 08 */ lfs f0, 8(r4) +/* 8025EA38 0025B998 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8025EA3C 0025B99C C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 8025EA40 0025B9A0 C3 FE 00 38 */ lfs f31, 0x38(r30) +/* 8025EA44 0025B9A4 48 0B 5E B5 */ bl Normalize__9CVector3fFv +/* 8025EA48 0025B9A8 C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) +/* 8025EA4C 0025B9AC 7F C3 F3 78 */ mr r3, r30 +/* 8025EA50 0025B9B0 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 8025EA54 0025B9B4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8025EA58 0025B9B8 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8025EA5C 0025B9BC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8025EA60 0025B9C0 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 8025EA64 0025B9C4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8025EA68 0025B9C8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8025EA6C 0025B9CC EC 64 18 2A */ fadds f3, f4, f3 +/* 8025EA70 0025B9D0 EC 42 28 2A */ fadds f2, f2, f5 +/* 8025EA74 0025B9D4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025EA78 0025B9D8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8025EA7C 0025B9DC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8025EA80 0025B9E0 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8025EA84 0025B9E4 4B E1 E0 D9 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8025EA88 0025B9E8 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8025EA8C 0025B9EC C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8025EA90 0025B9F0 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8025EA94 0025B9F4 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025EA98 0025B9F8 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 8025EA9C 0025B9FC C0 02 BA 48 */ lfs f0, lbl_805AD768@sda21(r2) +/* 8025EAA0 0025BA00 EC 3F 08 BA */ fmadds f1, f31, f2, f1 +/* 8025EAA4 0025BA04 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025EAA8 0025BA08 FC 20 0A 10 */ fabs f1, f1 +/* 8025EAAC 0025BA0C FC 20 08 18 */ frsp f1, f1 +/* 8025EAB0 0025BA10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025EAB4 0025BA14 40 80 00 F8 */ bge lbl_8025EBAC +/* 8025EAB8 0025BA18 38 00 00 01 */ li r0, 1 +/* 8025EABC 0025BA1C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025EAC0 0025BA20 48 00 00 EC */ b lbl_8025EBAC +lbl_8025EAC4: +/* 8025EAC4 0025BA24 3C A0 80 3F */ lis r5, lbl_803E9A28@ha +/* 8025EAC8 0025BA28 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8025EACC 0025BA2C 39 45 9A 28 */ addi r10, r5, lbl_803E9A28@l +/* 8025EAD0 0025BA30 38 A0 00 08 */ li r5, 8 +/* 8025EAD4 0025BA34 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025EAD8 0025BA38 38 E0 00 00 */ li r7, 0 +/* 8025EADC 0025BA3C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025EAE0 0025BA40 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025EAE4 0025BA44 91 21 00 3C */ stw r9, 0x3c(r1) +/* 8025EAE8 0025BA48 91 01 00 40 */ stw r8, 0x40(r1) +/* 8025EAEC 0025BA4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025EAF0 0025BA50 4B E1 DC C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025EAF4 0025BA54 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025EAF8 0025BA58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EAFC 0025BA5C 7C 03 00 40 */ cmplw r3, r0 +/* 8025EB00 0025BA60 40 82 00 60 */ bne lbl_8025EB60 +/* 8025EB04 0025BA64 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025EB08 0025BA68 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025EB0C 0025BA6C 4B DA 61 AD */ bl string_l__4rstlFPCc +/* 8025EB10 0025BA70 7F C4 F3 78 */ mr r4, r30 +/* 8025EB14 0025BA74 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025EB18 0025BA78 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025EB1C 0025BA7C 4B E1 9E 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025EB20 0025BA80 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8025EB24 0025BA84 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025EB28 0025BA88 48 0B 40 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025EB2C 0025BA8C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025EB30 0025BA90 48 0D EF B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025EB34 0025BA94 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 8025EB38 0025BA98 7F C3 F3 78 */ mr r3, r30 +/* 8025EB3C 0025BA9C C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 8025EB40 0025BAA0 7F E4 FB 78 */ mr r4, r31 +/* 8025EB44 0025BAA4 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 8025EB48 0025BAA8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8025EB4C 0025BAAC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8025EB50 0025BAB0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025EB54 0025BAB4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025EB58 0025BAB8 48 00 08 45 */ bl sub_8025f39c +/* 8025EB5C 0025BABC 48 00 00 50 */ b lbl_8025EBAC +lbl_8025EB60: +/* 8025EB60 0025BAC0 7F C3 F3 78 */ mr r3, r30 +/* 8025EB64 0025BAC4 7F E4 FB 78 */ mr r4, r31 +/* 8025EB68 0025BAC8 48 00 07 3D */ bl sub_8025f2a4 +/* 8025EB6C 0025BACC 48 00 00 40 */ b lbl_8025EBAC +lbl_8025EB70: +/* 8025EB70 0025BAD0 38 60 00 00 */ li r3, 0 +/* 8025EB74 0025BAD4 38 00 00 01 */ li r0, 1 +/* 8025EB78 0025BAD8 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 8025EB7C 0025BADC 7F E5 FB 78 */ mr r5, r31 +/* 8025EB80 0025BAE0 38 80 00 13 */ li r4, 0x13 +/* 8025EB84 0025BAE4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025EB88 0025BAE8 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025EB8C 0025BAEC 4B DF 57 C5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025EB90 0025BAF0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025EB94 0025BAF4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8025EB98 0025BAF8 A0 63 02 6C */ lhz r3, 0x26c(r3) +/* 8025EB9C 0025BAFC 7C 03 00 40 */ cmplw r3, r0 +/* 8025EBA0 0025BB00 40 82 00 0C */ bne lbl_8025EBAC +/* 8025EBA4 0025BB04 7F A3 EB 78 */ mr r3, r29 +/* 8025EBA8 0025BB08 4B DB 5D FD */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025EBAC: +/* 8025EBAC 0025BB0C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8025EBB0 0025BB10 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8025EBB4 0025BB14 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8025EBB8 0025BB18 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8025EBBC 0025BB1C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8025EBC0 0025BB20 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8025EBC4 0025BB24 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8025EBC8 0025BB28 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8025EBCC 0025BB2C 7C 08 03 A6 */ mtlr r0 +/* 8025EBD0 0025BB30 38 21 01 20 */ addi r1, r1, 0x120 +/* 8025EBD4 0025BB34 4E 80 00 20 */ blr + +.global sub_8025ebd8 +sub_8025ebd8: +/* 8025EBD8 0025BB38 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025EBDC 0025BB3C 7C 08 02 A6 */ mflr r0 +/* 8025EBE0 0025BB40 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025EBE4 0025BB44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025EBE8 0025BB48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025EBEC 0025BB4C 7C 7E 1B 78 */ mr r30, r3 +/* 8025EBF0 0025BB50 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025EBF4 0025BB54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EBF8 0025BB58 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025EBFC 0025BB5C 7C 03 00 40 */ cmplw r3, r0 +/* 8025EC00 0025BB60 41 82 00 C8 */ beq lbl_8025ECC8 +/* 8025EC04 0025BB64 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 8025EC08 0025BB68 7C 83 23 78 */ mr r3, r4 +/* 8025EC0C 0025BB6C 38 81 00 08 */ addi r4, r1, 8 +/* 8025EC10 0025BB70 B0 01 00 08 */ sth r0, 8(r1) +/* 8025EC14 0025BB74 4B DE D9 61 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025EC18 0025BB78 7C 64 1B 78 */ mr r4, r3 +/* 8025EC1C 0025BB7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8025EC20 0025BB80 4B E5 0E 1D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025EC24 0025BB84 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025EC28 0025BB88 28 05 00 00 */ cmplwi r5, 0 +/* 8025EC2C 0025BB8C 41 82 00 9C */ beq lbl_8025ECC8 +/* 8025EC30 0025BB90 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025EC34 0025BB94 2C 00 00 01 */ cmpwi r0, 1 +/* 8025EC38 0025BB98 40 82 00 90 */ bne lbl_8025ECC8 +/* 8025EC3C 0025BB9C C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8025EC40 0025BBA0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025EC44 0025BBA4 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 8025EC48 0025BBA8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8025EC4C 0025BBAC C0 DE 00 40 */ lfs f6, 0x40(r30) +/* 8025EC50 0025BBB0 EC A0 18 28 */ fsubs f5, f0, f3 +/* 8025EC54 0025BBB4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8025EC58 0025BBB8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025EC5C 0025BBBC EC 81 30 28 */ fsubs f4, f1, f6 +/* 8025EC60 0025BBC0 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8025EC64 0025BBC4 C0 FE 00 60 */ lfs f7, 0x60(r30) +/* 8025EC68 0025BBC8 EC C0 30 28 */ fsubs f6, f0, f6 +/* 8025EC6C 0025BBCC C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8025EC70 0025BBD0 EC 05 01 72 */ fmuls f0, f5, f5 +/* 8025EC74 0025BBD4 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025EC78 0025BBD8 EC 63 38 28 */ fsubs f3, f3, f7 +/* 8025EC7C 0025BBDC EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8025EC80 0025BBE0 EC 42 38 28 */ fsubs f2, f2, f7 +/* 8025EC84 0025BBE4 EC 06 01 BA */ fmadds f0, f6, f6, f0 +/* 8025EC88 0025BBE8 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8025EC8C 0025BBEC EC 02 00 BA */ fmadds f0, f2, f2, f0 +/* 8025EC90 0025BBF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025EC94 0025BBF4 7C 00 00 26 */ mfcr r0 +/* 8025EC98 0025BBF8 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f +/* 8025EC9C 0025BBFC 41 82 00 30 */ beq lbl_8025ECCC +/* 8025ECA0 0025BC00 88 05 01 90 */ lbz r0, 0x190(r5) +/* 8025ECA4 0025BC04 38 80 00 00 */ li r4, 0 +/* 8025ECA8 0025BC08 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8025ECAC 0025BC0C 98 05 01 90 */ stb r0, 0x190(r5) +/* 8025ECB0 0025BC10 88 05 01 90 */ lbz r0, 0x190(r5) +/* 8025ECB4 0025BC14 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8025ECB8 0025BC18 98 05 01 90 */ stb r0, 0x190(r5) +/* 8025ECBC 0025BC1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025ECC0 0025BC20 B0 1E 06 94 */ sth r0, 0x694(r30) +/* 8025ECC4 0025BC24 48 00 00 08 */ b lbl_8025ECCC +lbl_8025ECC8: +/* 8025ECC8 0025BC28 38 60 00 01 */ li r3, 1 +lbl_8025ECCC: +/* 8025ECCC 0025BC2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025ECD0 0025BC30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025ECD4 0025BC34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025ECD8 0025BC38 7C 08 03 A6 */ mtlr r0 +/* 8025ECDC 0025BC3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025ECE0 0025BC40 4E 80 00 20 */ blr + +.global sub_8025ece4 +sub_8025ece4: +/* 8025ECE4 0025BC44 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8025ECE8 0025BC48 7C 08 02 A6 */ mflr r0 +/* 8025ECEC 0025BC4C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8025ECF0 0025BC50 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8025ECF4 0025BC54 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8025ECF8 0025BC58 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8025ECFC 0025BC5C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8025ED00 0025BC60 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8025ED04 0025BC64 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8025ED08 0025BC68 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025ED0C 0025BC6C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025ED10 0025BC70 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8025ED14 0025BC74 7C 7D 1B 78 */ mr r29, r3 +/* 8025ED18 0025BC78 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025ED1C 0025BC7C A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025ED20 0025BC80 7C 9E 23 78 */ mr r30, r4 +/* 8025ED24 0025BC84 7C 03 00 40 */ cmplw r3, r0 +/* 8025ED28 0025BC88 41 82 00 A4 */ beq lbl_8025EDCC +/* 8025ED2C 0025BC8C C0 45 00 24 */ lfs f2, 0x24(r5) +/* 8025ED30 0025BC90 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025ED34 0025BC94 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8025ED38 0025BC98 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025ED3C 0025BC9C C0 05 00 04 */ lfs f0, 4(r5) +/* 8025ED40 0025BCA0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8025ED44 0025BCA4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025ED48 0025BCA8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025ED4C 0025BCAC 48 0B 5B 05 */ bl AsNormalized__9CVector3fCFv +/* 8025ED50 0025BCB0 A0 1D 06 94 */ lhz r0, 0x694(r29) +/* 8025ED54 0025BCB4 7F C3 F3 78 */ mr r3, r30 +/* 8025ED58 0025BCB8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 8025ED5C 0025BCBC 38 81 00 08 */ addi r4, r1, 8 +/* 8025ED60 0025BCC0 B0 01 00 08 */ sth r0, 8(r1) +/* 8025ED64 0025BCC4 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 8025ED68 0025BCC8 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 8025ED6C 0025BCCC 4B DE D8 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025ED70 0025BCD0 7C 64 1B 78 */ mr r4, r3 +/* 8025ED74 0025BCD4 38 61 00 0C */ addi r3, r1, 0xc +/* 8025ED78 0025BCD8 4B E5 0C C5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025ED7C 0025BCDC 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025ED80 0025BCE0 28 1F 00 00 */ cmplwi r31, 0 +/* 8025ED84 0025BCE4 41 82 00 48 */ beq lbl_8025EDCC +/* 8025ED88 0025BCE8 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8025ED8C 0025BCEC 48 0B 37 51 */ bl Float__9CRandom16Fv +/* 8025ED90 0025BCF0 C0 62 BA 44 */ lfs f3, lbl_805AD764@sda21(r2) +/* 8025ED94 0025BCF4 C0 02 BA 4C */ lfs f0, lbl_805AD76C@sda21(r2) +/* 8025ED98 0025BCF8 C0 42 96 A0 */ lfs f2, lbl_805AB3C0@sda21(r2) +/* 8025ED9C 0025BCFC EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 8025EDA0 0025BD00 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025EDA4 0025BD04 FC 80 10 50 */ fneg f4, f2 +/* 8025EDA8 0025BD08 EC 61 07 F2 */ fmuls f3, f1, f31 +/* 8025EDAC 0025BD0C EC 41 07 B2 */ fmuls f2, f1, f30 +/* 8025EDB0 0025BD10 EC 21 07 72 */ fmuls f1, f1, f29 +/* 8025EDB4 0025BD14 D0 7F 01 58 */ stfs f3, 0x158(r31) +/* 8025EDB8 0025BD18 D0 5F 01 5C */ stfs f2, 0x15c(r31) +/* 8025EDBC 0025BD1C D0 3F 01 60 */ stfs f1, 0x160(r31) +/* 8025EDC0 0025BD20 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 8025EDC4 0025BD24 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8025EDC8 0025BD28 D0 9F 01 6C */ stfs f4, 0x16c(r31) +lbl_8025EDCC: +/* 8025EDCC 0025BD2C 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025EDD0 0025BD30 38 60 00 00 */ li r3, 0 +/* 8025EDD4 0025BD34 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025EDD8 0025BD38 38 60 00 01 */ li r3, 1 +/* 8025EDDC 0025BD3C 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025EDE0 0025BD40 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025EDE4 0025BD44 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025EDE8 0025BD48 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025EDEC 0025BD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025EDF0 0025BD50 B0 1D 06 94 */ sth r0, 0x694(r29) +/* 8025EDF4 0025BD54 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8025EDF8 0025BD58 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8025EDFC 0025BD5C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8025EE00 0025BD60 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8025EE04 0025BD64 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8025EE08 0025BD68 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8025EE0C 0025BD6C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025EE10 0025BD70 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025EE14 0025BD74 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8025EE18 0025BD78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8025EE1C 0025BD7C 7C 08 03 A6 */ mtlr r0 +/* 8025EE20 0025BD80 38 21 00 70 */ addi r1, r1, 0x70 +/* 8025EE24 0025BD84 4E 80 00 20 */ blr + +.global sub_8025ee28 +sub_8025ee28: +/* 8025EE28 0025BD88 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8025EE2C 0025BD8C 7C 08 02 A6 */ mflr r0 +/* 8025EE30 0025BD90 90 01 01 44 */ stw r0, 0x144(r1) +/* 8025EE34 0025BD94 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8025EE38 0025BD98 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8025EE3C 0025BD9C DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8025EE40 0025BDA0 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8025EE44 0025BDA4 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8025EE48 0025BDA8 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8025EE4C 0025BDAC DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8025EE50 0025BDB0 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8025EE54 0025BDB4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8025EE58 0025BDB8 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8025EE5C 0025BDBC 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8025EE60 0025BDC0 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 8025EE64 0025BDC4 7C BE 2B 78 */ mr r30, r5 +/* 8025EE68 0025BDC8 7C 9D 23 78 */ mr r29, r4 +/* 8025EE6C 0025BDCC 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025EE70 0025BDD0 7C 7C 1B 78 */ mr r28, r3 +/* 8025EE74 0025BDD4 C0 45 00 24 */ lfs f2, 0x24(r5) +/* 8025EE78 0025BDD8 FF E0 08 90 */ fmr f31, f1 +/* 8025EE7C 0025BDDC C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8025EE80 0025BDE0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8025EE84 0025BDE4 C0 05 00 04 */ lfs f0, 4(r5) +/* 8025EE88 0025BDE8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8025EE8C 0025BDEC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8025EE90 0025BDF0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025EE94 0025BDF4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8025EE98 0025BDF8 48 0B 59 B9 */ bl AsNormalized__9CVector3fCFv +/* 8025EE9C 0025BDFC C3 C1 00 44 */ lfs f30, 0x44(r1) +/* 8025EEA0 0025BE00 38 60 00 01 */ li r3, 1 +/* 8025EEA4 0025BE04 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 8025EEA8 0025BE08 C3 81 00 4C */ lfs f28, 0x4c(r1) +/* 8025EEAC 0025BE0C 98 7F 05 90 */ stb r3, 0x590(r31) +/* 8025EEB0 0025BE10 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025EEB4 0025BE14 2C 00 00 01 */ cmpwi r0, 1 +/* 8025EEB8 0025BE18 40 82 01 70 */ bne lbl_8025F028 +/* 8025EEBC 0025BE1C 88 1C 06 98 */ lbz r0, 0x698(r28) +/* 8025EEC0 0025BE20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025EEC4 0025BE24 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) +/* 8025EEC8 0025BE28 7F E3 FB 78 */ mr r3, r31 +/* 8025EECC 0025BE2C 98 1C 06 98 */ stb r0, 0x698(r28) +/* 8025EED0 0025BE30 D0 1C 06 8C */ stfs f0, 0x68c(r28) +/* 8025EED4 0025BE34 4B EB C4 A5 */ bl Stop__13CPhysicsActorFv +/* 8025EED8 0025BE38 7F C4 F3 78 */ mr r4, r30 +/* 8025EEDC 0025BE3C 38 61 00 84 */ addi r3, r1, 0x84 +/* 8025EEE0 0025BE40 38 BC 06 4C */ addi r5, r28, 0x64c +/* 8025EEE4 0025BE44 48 0B 3A 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025EEE8 0025BE48 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8025EEEC 0025BE4C 38 81 00 84 */ addi r4, r1, 0x84 +/* 8025EEF0 0025BE50 48 0B 3C 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025EEF4 0025BE54 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8025EEF8 0025BE58 7F E3 FB 78 */ mr r3, r31 +/* 8025EEFC 0025BE5C C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025EF00 0025BE60 7F A5 EB 78 */ mr r5, r29 +/* 8025EF04 0025BE64 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 8025EF08 0025BE68 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 8025EF0C 0025BE6C EC 60 20 2A */ fadds f3, f0, f4 +/* 8025EF10 0025BE70 C0 21 00 E0 */ lfs f1, 0xe0(r1) +/* 8025EF14 0025BE74 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) +/* 8025EF18 0025BE78 EC 42 20 2A */ fadds f2, f2, f4 +/* 8025EF1C 0025BE7C 38 C0 00 00 */ li r6, 0 +/* 8025EF20 0025BE80 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025EF24 0025BE84 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 8025EF28 0025BE88 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 8025EF2C 0025BE8C D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8025EF30 0025BE90 48 02 61 6D */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb +/* 8025EF34 0025BE94 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8025EF38 0025BE98 EC 60 07 B2 */ fmuls f3, f0, f30 +/* 8025EF3C 0025BE9C EC 40 07 72 */ fmuls f2, f0, f29 +/* 8025EF40 0025BEA0 EC 20 07 32 */ fmuls f1, f0, f28 +/* 8025EF44 0025BEA4 EC 1F 00 F2 */ fmuls f0, f31, f3 +/* 8025EF48 0025BEA8 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8025EF4C 0025BEAC EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 8025EF50 0025BEB0 EC 7F 00 72 */ fmuls f3, f31, f1 +/* 8025EF54 0025BEB4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025EF58 0025BEB8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025EF5C 0025BEBC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025EF60 0025BEC0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8025EF64 0025BEC4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8025EF68 0025BEC8 4B DB C5 CD */ bl Identity__10CAxisAngleFv +/* 8025EF6C 0025BECC 7C 65 1B 78 */ mr r5, r3 +/* 8025EF70 0025BED0 7F E3 FB 78 */ mr r3, r31 +/* 8025EF74 0025BED4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025EF78 0025BED8 4B EB D4 21 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 8025EF7C 0025BEDC 7F E3 FB 78 */ mr r3, r31 +/* 8025EF80 0025BEE0 7F A5 EB 78 */ mr r5, r29 +/* 8025EF84 0025BEE4 38 80 00 02 */ li r4, 2 +/* 8025EF88 0025BEE8 48 02 74 65 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 8025EF8C 0025BEEC 7F E3 FB 78 */ mr r3, r31 +/* 8025EF90 0025BEF0 7F A5 EB 78 */ mr r5, r29 +/* 8025EF94 0025BEF4 38 80 00 13 */ li r4, 0x13 +/* 8025EF98 0025BEF8 4B DF 53 B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025EF9C 0025BEFC 80 AD 97 E0 */ lwz r5, lbl_805A83A0@sda21(r13) +/* 8025EFA0 0025BF00 38 60 00 00 */ li r3, 0 +/* 8025EFA4 0025BF04 38 80 00 01 */ li r4, 1 +/* 8025EFA8 0025BF08 48 12 AF 4D */ bl __shl2i +/* 8025EFAC 0025BF0C 38 A0 00 00 */ li r5, 0 +/* 8025EFB0 0025BF10 38 00 00 03 */ li r0, 3 +/* 8025EFB4 0025BF14 90 81 00 54 */ stw r4, 0x54(r1) +/* 8025EFB8 0025BF18 7F 84 E3 78 */ mr r4, r28 +/* 8025EFBC 0025BF1C 90 61 00 50 */ stw r3, 0x50(r1) +/* 8025EFC0 0025BF20 38 61 00 68 */ addi r3, r1, 0x68 +/* 8025EFC4 0025BF24 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8025EFC8 0025BF28 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8025EFCC 0025BF2C 90 01 00 60 */ stw r0, 0x60(r1) +/* 8025EFD0 0025BF30 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025EFD4 0025BF34 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025EFD8 0025BF38 A0 BF 00 08 */ lhz r5, 8(r31) +/* 8025EFDC 0025BF3C B0 01 00 08 */ sth r0, 8(r1) +/* 8025EFE0 0025BF40 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 8025EFE4 0025BF44 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025EFE8 0025BF48 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 8025EFEC 0025BF4C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8025EFF0 0025BF50 81 9C 00 00 */ lwz r12, 0(r28) +/* 8025EFF4 0025BF54 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8025EFF8 0025BF58 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8025EFFC 0025BF5C 7D 89 03 A6 */ mtctr r12 +/* 8025F000 0025BF60 4E 80 04 21 */ bctrl +/* 8025F004 0025BF64 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025F008 0025BF68 7F A3 EB 78 */ mr r3, r29 +/* 8025F00C 0025BF6C 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8025F010 0025BF70 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F014 0025BF74 38 81 00 1C */ addi r4, r1, 0x1c +/* 8025F018 0025BF78 38 C1 00 0C */ addi r6, r1, 0xc +/* 8025F01C 0025BF7C 38 E1 00 68 */ addi r7, r1, 0x68 +/* 8025F020 0025BF80 39 01 00 50 */ addi r8, r1, 0x50 +/* 8025F024 0025BF84 4B DE B0 7D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8025F028: +/* 8025F028 0025BF88 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8025F02C 0025BF8C CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8025F030 0025BF90 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8025F034 0025BF94 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8025F038 0025BF98 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8025F03C 0025BF9C CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8025F040 0025BFA0 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8025F044 0025BFA4 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8025F048 0025BFA8 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8025F04C 0025BFAC 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8025F050 0025BFB0 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8025F054 0025BFB4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8025F058 0025BFB8 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 8025F05C 0025BFBC 7C 08 03 A6 */ mtlr r0 +/* 8025F060 0025BFC0 38 21 01 40 */ addi r1, r1, 0x140 +/* 8025F064 0025BFC4 4E 80 00 20 */ blr + +.global sub_8025f068 +sub_8025f068: +/* 8025F068 0025BFC8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025F06C 0025BFCC 7C 08 02 A6 */ mflr r0 +/* 8025F070 0025BFD0 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F074 0025BFD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025F078 0025BFD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025F07C 0025BFDC 7C 9F 23 78 */ mr r31, r4 +/* 8025F080 0025BFE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025F084 0025BFE4 7C 7E 1B 78 */ mr r30, r3 +/* 8025F088 0025BFE8 41 82 00 3C */ beq lbl_8025F0C4 +/* 8025F08C 0025BFEC 40 80 00 10 */ bge lbl_8025F09C +/* 8025F090 0025BFF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F094 0025BFF4 40 80 00 14 */ bge lbl_8025F0A8 +/* 8025F098 0025BFF8 48 00 00 80 */ b lbl_8025F118 +lbl_8025F09C: +/* 8025F09C 0025BFFC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F0A0 0025C000 40 80 00 78 */ bge lbl_8025F118 +/* 8025F0A4 0025C004 48 00 00 6C */ b lbl_8025F110 +lbl_8025F0A8: +/* 8025F0A8 0025C008 38 00 00 01 */ li r0, 1 +/* 8025F0AC 0025C00C 38 60 00 00 */ li r3, 0 +/* 8025F0B0 0025C010 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8025F0B4 0025C014 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 8025F0B8 0025C018 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8025F0BC 0025C01C 98 1E 06 98 */ stb r0, 0x698(r30) +/* 8025F0C0 0025C020 48 00 00 58 */ b lbl_8025F118 +lbl_8025F0C4: +/* 8025F0C4 0025C024 3C A0 80 3F */ lis r5, lbl_803E9A1C@ha +/* 8025F0C8 0025C028 38 C1 00 08 */ addi r6, r1, 8 +/* 8025F0CC 0025C02C 39 45 9A 1C */ addi r10, r5, lbl_803E9A1C@l +/* 8025F0D0 0025C030 38 A0 00 07 */ li r5, 7 +/* 8025F0D4 0025C034 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025F0D8 0025C038 38 E0 00 01 */ li r7, 1 +/* 8025F0DC 0025C03C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025F0E0 0025C040 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025F0E4 0025C044 91 21 00 08 */ stw r9, 8(r1) +/* 8025F0E8 0025C048 91 01 00 0C */ stw r8, 0xc(r1) +/* 8025F0EC 0025C04C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8025F0F0 0025C050 4B E1 D6 C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025F0F4 0025C054 88 1E 06 98 */ lbz r0, 0x698(r30) +/* 8025F0F8 0025C058 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025F0FC 0025C05C 40 82 00 1C */ bne lbl_8025F118 +/* 8025F100 0025C060 7F C3 F3 78 */ mr r3, r30 +/* 8025F104 0025C064 7F E4 FB 78 */ mr r4, r31 +/* 8025F108 0025C068 48 00 01 9D */ bl sub_8025f2a4 +/* 8025F10C 0025C06C 48 00 00 0C */ b lbl_8025F118 +lbl_8025F110: +/* 8025F110 0025C070 38 00 00 00 */ li r0, 0 +/* 8025F114 0025C074 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8025F118: +/* 8025F118 0025C078 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025F11C 0025C07C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025F120 0025C080 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025F124 0025C084 7C 08 03 A6 */ mtlr r0 +/* 8025F128 0025C088 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025F12C 0025C08C 4E 80 00 20 */ blr + +.global sub_8025f130 +sub_8025f130: +/* 8025F130 0025C090 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025F134 0025C094 7C 08 02 A6 */ mflr r0 +/* 8025F138 0025C098 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F13C 0025C09C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025F140 0025C0A0 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025F144 0025C0A4 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025F148 0025C0A8 7C 9E 23 78 */ mr r30, r4 +/* 8025F14C 0025C0AC 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025F150 0025C0B0 7C 7D 1B 78 */ mr r29, r3 +/* 8025F154 0025C0B4 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025F158 0025C0B8 41 82 00 5C */ beq lbl_8025F1B4 +/* 8025F15C 0025C0BC 40 80 00 10 */ bge lbl_8025F16C +/* 8025F160 0025C0C0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F164 0025C0C4 40 80 00 14 */ bge lbl_8025F178 +/* 8025F168 0025C0C8 48 00 01 20 */ b lbl_8025F288 +lbl_8025F16C: +/* 8025F16C 0025C0CC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F170 0025C0D0 40 80 01 18 */ bge lbl_8025F288 +/* 8025F174 0025C0D4 48 00 00 D8 */ b lbl_8025F24C +lbl_8025F178: +/* 8025F178 0025C0D8 7F E3 FB 78 */ mr r3, r31 +/* 8025F17C 0025C0DC 4B EB C1 FD */ bl Stop__13CPhysicsActorFv +/* 8025F180 0025C0E0 7F E3 FB 78 */ mr r3, r31 +/* 8025F184 0025C0E4 7F C5 F3 78 */ mr r5, r30 +/* 8025F188 0025C0E8 38 80 00 13 */ li r4, 0x13 +/* 8025F18C 0025C0EC 4B DF 4D F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F190 0025C0F0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F194 0025C0F4 38 80 00 00 */ li r4, 0 +/* 8025F198 0025C0F8 38 00 00 01 */ li r0, 1 +/* 8025F19C 0025C0FC 98 83 05 90 */ stb r4, 0x590(r3) +/* 8025F1A0 0025C100 90 1D 03 2C */ stw r0, 0x32c(r29) +/* 8025F1A4 0025C104 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025F1A8 0025C108 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8025F1AC 0025C10C 98 1D 06 98 */ stb r0, 0x698(r29) +/* 8025F1B0 0025C110 48 00 00 D8 */ b lbl_8025F288 +lbl_8025F1B4: +/* 8025F1B4 0025C114 3C A0 80 3F */ lis r5, lbl_803E9A10@ha +/* 8025F1B8 0025C118 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8025F1BC 0025C11C 39 45 9A 10 */ addi r10, r5, lbl_803E9A10@l +/* 8025F1C0 0025C120 38 A0 00 07 */ li r5, 7 +/* 8025F1C4 0025C124 81 2A 00 00 */ lwz r9, 0(r10) +/* 8025F1C8 0025C128 38 E0 00 01 */ li r7, 1 +/* 8025F1CC 0025C12C 81 0A 00 04 */ lwz r8, 4(r10) +/* 8025F1D0 0025C130 80 0A 00 08 */ lwz r0, 8(r10) +/* 8025F1D4 0025C134 91 21 00 24 */ stw r9, 0x24(r1) +/* 8025F1D8 0025C138 91 01 00 28 */ stw r8, 0x28(r1) +/* 8025F1DC 0025C13C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8025F1E0 0025C140 4B E1 D5 D5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8025F1E4 0025C144 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 8025F1E8 0025C148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025F1EC 0025C14C 40 82 00 9C */ bne lbl_8025F288 +/* 8025F1F0 0025C150 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F1F4 0025C154 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F1F8 0025C158 4B DA 5A C1 */ bl string_l__4rstlFPCc +/* 8025F1FC 0025C15C 7F A4 EB 78 */ mr r4, r29 +/* 8025F200 0025C160 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F204 0025C164 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F208 0025C168 4B E1 97 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F20C 0025C16C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8025F210 0025C170 38 81 00 30 */ addi r4, r1, 0x30 +/* 8025F214 0025C174 48 0B 39 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F218 0025C178 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F21C 0025C17C 48 0D E8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F220 0025C180 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8025F224 0025C184 7F A3 EB 78 */ mr r3, r29 +/* 8025F228 0025C188 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 8025F22C 0025C18C 7F C4 F3 78 */ mr r4, r30 +/* 8025F230 0025C190 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 8025F234 0025C194 38 A1 00 08 */ addi r5, r1, 8 +/* 8025F238 0025C198 D0 41 00 08 */ stfs f2, 8(r1) +/* 8025F23C 0025C19C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8025F240 0025C1A0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025F244 0025C1A4 48 00 01 59 */ bl sub_8025f39c +/* 8025F248 0025C1A8 48 00 00 40 */ b lbl_8025F288 +lbl_8025F24C: +/* 8025F24C 0025C1AC 38 00 00 00 */ li r0, 0 +/* 8025F250 0025C1B0 90 1D 03 2C */ stw r0, 0x32c(r29) +/* 8025F254 0025C1B4 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F258 0025C1B8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8025F25C 0025C1BC A0 63 02 6C */ lhz r3, 0x26c(r3) +/* 8025F260 0025C1C0 7C 03 00 40 */ cmplw r3, r0 +/* 8025F264 0025C1C4 40 82 00 0C */ bne lbl_8025F270 +/* 8025F268 0025C1C8 7F E3 FB 78 */ mr r3, r31 +/* 8025F26C 0025C1CC 4B DB 57 39 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025F270: +/* 8025F270 0025C1D0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8025F274 0025C1D4 38 00 00 01 */ li r0, 1 +/* 8025F278 0025C1D8 7F C5 F3 78 */ mr r5, r30 +/* 8025F27C 0025C1DC 38 80 00 13 */ li r4, 0x13 +/* 8025F280 0025C1E0 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025F284 0025C1E4 4B DF 50 CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025F288: +/* 8025F288 0025C1E8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025F28C 0025C1EC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025F290 0025C1F0 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025F294 0025C1F4 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025F298 0025C1F8 7C 08 03 A6 */ mtlr r0 +/* 8025F29C 0025C1FC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025F2A0 0025C200 4E 80 00 20 */ blr + +.global sub_8025f2a4 +sub_8025f2a4: +/* 8025F2A4 0025C204 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8025F2A8 0025C208 7C 08 02 A6 */ mflr r0 +/* 8025F2AC 0025C20C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8025F2B0 0025C210 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8025F2B4 0025C214 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8025F2B8 0025C218 7C 7E 1B 78 */ mr r30, r3 +/* 8025F2BC 0025C21C A0 03 06 94 */ lhz r0, 0x694(r3) +/* 8025F2C0 0025C220 7C 83 23 78 */ mr r3, r4 +/* 8025F2C4 0025C224 38 81 00 08 */ addi r4, r1, 8 +/* 8025F2C8 0025C228 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F2CC 0025C22C 4B DE D2 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025F2D0 0025C230 7C 64 1B 78 */ mr r4, r3 +/* 8025F2D4 0025C234 38 61 00 0C */ addi r3, r1, 0xc +/* 8025F2D8 0025C238 4B E5 07 65 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025F2DC 0025C23C 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025F2E0 0025C240 28 1F 00 00 */ cmplwi r31, 0 +/* 8025F2E4 0025C244 41 82 00 A0 */ beq lbl_8025F384 +/* 8025F2E8 0025C248 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F2EC 0025C24C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F2F0 0025C250 4B DA 59 C9 */ bl string_l__4rstlFPCc +/* 8025F2F4 0025C254 7F C4 F3 78 */ mr r4, r30 +/* 8025F2F8 0025C258 38 61 00 24 */ addi r3, r1, 0x24 +/* 8025F2FC 0025C25C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025F300 0025C260 4B E1 96 79 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F304 0025C264 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025F308 0025C268 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025F30C 0025C26C 48 0B 38 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F310 0025C270 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F314 0025C274 48 0D E7 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F318 0025C278 3C 60 80 57 */ lis r3, lbl_80572688@ha +/* 8025F31C 0025C27C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8025F320 0025C280 38 A3 26 88 */ addi r5, r3, lbl_80572688@l +/* 8025F324 0025C284 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 8025F328 0025C288 C0 05 00 00 */ lfs f0, 0(r5) +/* 8025F32C 0025C28C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8025F330 0025C290 C0 45 00 04 */ lfs f2, 4(r5) +/* 8025F334 0025C294 38 81 00 54 */ addi r4, r1, 0x54 +/* 8025F338 0025C298 EC 81 00 2A */ fadds f4, f1, f0 +/* 8025F33C 0025C29C C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8025F340 0025C2A0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8025F344 0025C2A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8025F348 0025C2A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8025F34C 0025C2AC D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8025F350 0025C2B0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8025F354 0025C2B4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8025F358 0025C2B8 48 0B 37 E9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8025F35C 0025C2BC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F360 0025C2C0 38 60 00 01 */ li r3, 1 +/* 8025F364 0025C2C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025F368 0025C2C8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F36C 0025C2CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F370 0025C2D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025F374 0025C2D4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F378 0025C2D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F37C 0025C2DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8025F380 0025C2E0 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_8025F384: +/* 8025F384 0025C2E4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8025F388 0025C2E8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8025F38C 0025C2EC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8025F390 0025C2F0 7C 08 03 A6 */ mtlr r0 +/* 8025F394 0025C2F4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8025F398 0025C2F8 4E 80 00 20 */ blr + +.global sub_8025f39c +sub_8025f39c: +/* 8025F39C 0025C2FC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025F3A0 0025C300 7C 08 02 A6 */ mflr r0 +/* 8025F3A4 0025C304 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025F3A8 0025C308 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8025F3AC 0025C30C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8025F3B0 0025C310 7C 9E 23 78 */ mr r30, r4 +/* 8025F3B4 0025C314 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8025F3B8 0025C318 7C 7D 1B 78 */ mr r29, r3 +/* 8025F3BC 0025C31C 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025F3C0 0025C320 7F E3 FB 78 */ mr r3, r31 +/* 8025F3C4 0025C324 4B EB BF B5 */ bl Stop__13CPhysicsActorFv +/* 8025F3C8 0025C328 7F E3 FB 78 */ mr r3, r31 +/* 8025F3CC 0025C32C 7F C5 F3 78 */ mr r5, r30 +/* 8025F3D0 0025C330 38 80 00 13 */ li r4, 0x13 +/* 8025F3D4 0025C334 4B DF 4B AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F3D8 0025C338 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F3DC 0025C33C 38 61 00 08 */ addi r3, r1, 8 +/* 8025F3E0 0025C340 4B DA 58 D9 */ bl string_l__4rstlFPCc +/* 8025F3E4 0025C344 7F A4 EB 78 */ mr r4, r29 +/* 8025F3E8 0025C348 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025F3EC 0025C34C 38 A1 00 08 */ addi r5, r1, 8 +/* 8025F3F0 0025C350 4B E1 95 89 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F3F4 0025C354 38 61 00 48 */ addi r3, r1, 0x48 +/* 8025F3F8 0025C358 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025F3FC 0025C35C 38 BD 06 4C */ addi r5, r29, 0x64c +/* 8025F400 0025C360 48 0B 35 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8025F404 0025C364 38 61 00 78 */ addi r3, r1, 0x78 +/* 8025F408 0025C368 38 81 00 48 */ addi r4, r1, 0x48 +/* 8025F40C 0025C36C 48 0B 37 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F410 0025C370 38 61 00 08 */ addi r3, r1, 8 +/* 8025F414 0025C374 48 0D E6 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F418 0025C378 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8025F41C 0025C37C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8025F420 0025C380 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) +/* 8025F424 0025C384 38 81 00 78 */ addi r4, r1, 0x78 +/* 8025F428 0025C388 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8025F42C 0025C38C EC 60 20 2A */ fadds f3, f0, f4 +/* 8025F430 0025C390 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8025F434 0025C394 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) +/* 8025F438 0025C398 EC 42 20 2A */ fadds f2, f2, f4 +/* 8025F43C 0025C39C EC 01 00 2A */ fadds f0, f1, f0 +/* 8025F440 0025C3A0 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 8025F444 0025C3A4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8025F448 0025C3A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8025F44C 0025C3AC 48 0B 36 F5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8025F450 0025C3B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F454 0025C3B4 38 60 00 01 */ li r3, 1 +/* 8025F458 0025C3B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025F45C 0025C3BC 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F460 0025C3C0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F464 0025C3C4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025F468 0025C3C8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F46C 0025C3CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8025F470 0025C3D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8025F474 0025C3D4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8025F478 0025C3D8 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8025F47C 0025C3DC 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8025F480 0025C3E0 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8025F484 0025C3E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025F488 0025C3E8 7C 08 03 A6 */ mtlr r0 +/* 8025F48C 0025C3EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025F490 0025C3F0 4E 80 00 20 */ blr + +.global sub_8025f494 +sub_8025f494: +/* 8025F494 0025C3F4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8025F498 0025C3F8 7C 08 02 A6 */ mflr r0 +/* 8025F49C 0025C3FC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025F4A0 0025C400 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8025F4A4 0025C404 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8025F4A8 0025C408 7C BE 2B 78 */ mr r30, r5 +/* 8025F4AC 0025C40C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8025F4B0 0025C410 7C 9D 23 78 */ mr r29, r4 +/* 8025F4B4 0025C414 93 81 00 90 */ stw r28, 0x90(r1) +/* 8025F4B8 0025C418 7C 7C 1B 78 */ mr r28, r3 +/* 8025F4BC 0025C41C 4B F9 72 11 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F4C0 0025C420 7F 83 E3 78 */ mr r3, r28 +/* 8025F4C4 0025C424 7F A4 EB 78 */ mr r4, r29 +/* 8025F4C8 0025C428 4B FF EE 19 */ bl sub_8025e2e0 +/* 8025F4CC 0025C42C 2C 1E 00 01 */ cmpwi r30, 1 +/* 8025F4D0 0025C430 83 FD 08 4C */ lwz r31, 0x84c(r29) +/* 8025F4D4 0025C434 41 82 00 60 */ beq lbl_8025F534 +/* 8025F4D8 0025C438 40 80 00 B4 */ bge lbl_8025F58C +/* 8025F4DC 0025C43C 2C 1E 00 00 */ cmpwi r30, 0 +/* 8025F4E0 0025C440 40 80 00 0C */ bge lbl_8025F4EC +/* 8025F4E4 0025C444 48 00 00 A8 */ b lbl_8025F58C +/* 8025F4E8 0025C448 48 00 00 A4 */ b lbl_8025F58C +lbl_8025F4EC: +/* 8025F4EC 0025C44C 7F E3 FB 78 */ mr r3, r31 +/* 8025F4F0 0025C450 4B EB BE 89 */ bl Stop__13CPhysicsActorFv +/* 8025F4F4 0025C454 7F E3 FB 78 */ mr r3, r31 +/* 8025F4F8 0025C458 7F A5 EB 78 */ mr r5, r29 +/* 8025F4FC 0025C45C 38 80 00 13 */ li r4, 0x13 +/* 8025F500 0025C460 4B DF 4A 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F504 0025C464 38 00 00 00 */ li r0, 0 +/* 8025F508 0025C468 98 1F 05 90 */ stb r0, 0x590(r31) +/* 8025F50C 0025C46C 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025F510 0025C470 4B E9 23 E5 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025F514 0025C474 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025F518 0025C478 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F51C 0025C47C 38 A0 00 01 */ li r5, 1 +/* 8025F520 0025C480 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F524 0025C484 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F528 0025C488 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025F52C 0025C48C 4B DB 54 A5 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 8025F530 0025C490 48 00 00 5C */ b lbl_8025F58C +lbl_8025F534: +/* 8025F534 0025C494 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F538 0025C498 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F53C 0025C49C 4B DA 57 7D */ bl string_l__4rstlFPCc +/* 8025F540 0025C4A0 7F 84 E3 78 */ mr r4, r28 +/* 8025F544 0025C4A4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025F548 0025C4A8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8025F54C 0025C4AC 4B E1 94 2D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F550 0025C4B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8025F554 0025C4B4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8025F558 0025C4B8 48 0B 36 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F55C 0025C4BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F560 0025C4C0 48 0D E5 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F564 0025C4C4 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8025F568 0025C4C8 7F 83 E3 78 */ mr r3, r28 +/* 8025F56C 0025C4CC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8025F570 0025C4D0 7F A4 EB 78 */ mr r4, r29 +/* 8025F574 0025C4D4 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8025F578 0025C4D8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8025F57C 0025C4DC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025F580 0025C4E0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8025F584 0025C4E4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8025F588 0025C4E8 4B FF FE 15 */ bl sub_8025f39c +lbl_8025F58C: +/* 8025F58C 0025C4EC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025F590 0025C4F0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8025F594 0025C4F4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8025F598 0025C4F8 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8025F59C 0025C4FC 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8025F5A0 0025C500 7C 08 03 A6 */ mtlr r0 +/* 8025F5A4 0025C504 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8025F5A8 0025C508 4E 80 00 20 */ blr + +.global sub_8025f5ac +sub_8025f5ac: +/* 8025F5AC 0025C50C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025F5B0 0025C510 7C 08 02 A6 */ mflr r0 +/* 8025F5B4 0025C514 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025F5B8 0025C518 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025F5BC 0025C51C 7C BF 2B 78 */ mr r31, r5 +/* 8025F5C0 0025C520 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025F5C4 0025C524 7C 9E 23 78 */ mr r30, r4 +/* 8025F5C8 0025C528 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025F5CC 0025C52C 7C 7D 1B 78 */ mr r29, r3 +/* 8025F5D0 0025C530 4B F9 70 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F5D4 0025C534 7F A3 EB 78 */ mr r3, r29 +/* 8025F5D8 0025C538 7F C4 F3 78 */ mr r4, r30 +/* 8025F5DC 0025C53C 4B FF ED 05 */ bl sub_8025e2e0 +/* 8025F5E0 0025C540 2C 1F 00 01 */ cmpwi r31, 1 +/* 8025F5E4 0025C544 41 82 00 10 */ beq lbl_8025F5F4 +/* 8025F5E8 0025C548 40 80 00 18 */ bge lbl_8025F600 +/* 8025F5EC 0025C54C 48 00 00 14 */ b lbl_8025F600 +/* 8025F5F0 0025C550 48 00 00 10 */ b lbl_8025F600 +lbl_8025F5F4: +/* 8025F5F4 0025C554 7F A3 EB 78 */ mr r3, r29 +/* 8025F5F8 0025C558 7F C4 F3 78 */ mr r4, r30 +/* 8025F5FC 0025C55C 4B FF FC A9 */ bl sub_8025f2a4 +lbl_8025F600: +/* 8025F600 0025C560 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025F604 0025C564 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025F608 0025C568 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025F60C 0025C56C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025F610 0025C570 7C 08 03 A6 */ mtlr r0 +/* 8025F614 0025C574 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025F618 0025C578 4E 80 00 20 */ blr + +.global sub_8025f61c +sub_8025f61c: +/* 8025F61C 0025C57C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025F620 0025C580 7C 08 02 A6 */ mflr r0 +/* 8025F624 0025C584 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025F628 0025C588 81 83 00 00 */ lwz r12, 0(r3) +/* 8025F62C 0025C58C 81 8C 00 B0 */ lwz r12, 0xb0(r12) +/* 8025F630 0025C590 7D 89 03 A6 */ mtctr r12 +/* 8025F634 0025C594 4E 80 04 21 */ bctrl +/* 8025F638 0025C598 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025F63C 0025C59C 7C 08 03 A6 */ mtlr r0 +/* 8025F640 0025C5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025F644 0025C5A4 4E 80 00 20 */ blr + +.global sub_8025f648 +sub_8025f648: +/* 8025F648 0025C5A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8025F64C 0025C5AC 7C 08 02 A6 */ mflr r0 +/* 8025F650 0025C5B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8025F654 0025C5B4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8025F658 0025C5B8 7C 9F 23 78 */ mr r31, r4 +/* 8025F65C 0025C5BC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8025F660 0025C5C0 7C 7E 1B 78 */ mr r30, r3 +/* 8025F664 0025C5C4 4B F9 70 69 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8025F668 0025C5C8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F66C 0025C5CC C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 8025F670 0025C5D0 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8025F674 0025C5D4 C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 8025F678 0025C5D8 C0 63 00 04 */ lfs f3, 4(r3) +/* 8025F67C 0025C5DC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 8025F680 0025C5E0 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 8025F684 0025C5E4 C0 43 00 08 */ lfs f2, 8(r3) +/* 8025F688 0025C5E8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8025F68C 0025C5EC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025F690 0025C5F0 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 8025F694 0025C5F4 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8025F698 0025C5F8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025F69C 0025C5FC EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 8025F6A0 0025C600 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025F6A4 0025C604 40 80 00 78 */ bge lbl_8025F71C +/* 8025F6A8 0025C608 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F6AC 0025C60C 48 0B 50 4D */ bl CanBeNormalized__9CVector3fCFv +/* 8025F6B0 0025C610 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025F6B4 0025C614 41 82 00 68 */ beq lbl_8025F71C +/* 8025F6B8 0025C618 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F6BC 0025C61C 38 63 00 04 */ addi r3, r3, 4 +/* 8025F6C0 0025C620 4B ED 1D E9 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 8025F6C4 0025C624 38 61 00 08 */ addi r3, r1, 8 +/* 8025F6C8 0025C628 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025F6CC 0025C62C 48 0B 51 85 */ bl AsNormalized__9CVector3fCFv +/* 8025F6D0 0025C630 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8025F6D4 0025C634 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) +/* 8025F6D8 0025C638 C0 61 00 08 */ lfs f3, 8(r1) +/* 8025F6DC 0025C63C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8025F6E0 0025C640 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8025F6E4 0025C644 C0 A3 00 04 */ lfs f5, 4(r3) +/* 8025F6E8 0025C648 C0 83 00 08 */ lfs f4, 8(r3) +/* 8025F6EC 0025C64C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8025F6F0 0025C650 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 8025F6F4 0025C654 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8025F6F8 0025C658 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 8025F6FC 0025C65C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8025F700 0025C660 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8025F704 0025C664 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8025F708 0025C668 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025F70C 0025C66C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8025F710 0025C670 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F714 0025C674 38 63 00 04 */ addi r3, r3, 4 +/* 8025F718 0025C678 4B ED 20 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8025F71C: +/* 8025F71C 0025C67C 7F C3 F3 78 */ mr r3, r30 +/* 8025F720 0025C680 7F E4 FB 78 */ mr r4, r31 +/* 8025F724 0025C684 4B FF EB BD */ bl sub_8025e2e0 +/* 8025F728 0025C688 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8025F72C 0025C68C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8025F730 0025C690 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8025F734 0025C694 7C 08 03 A6 */ mtlr r0 +/* 8025F738 0025C698 38 21 00 50 */ addi r1, r1, 0x50 +/* 8025F73C 0025C69C 4E 80 00 20 */ blr + +.global sub_8025f740 +sub_8025f740: +/* 8025F740 0025C6A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8025F744 0025C6A4 7C 08 02 A6 */ mflr r0 +/* 8025F748 0025C6A8 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F74C 0025C6AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025F750 0025C6B0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025F754 0025C6B4 7C 9F 23 78 */ mr r31, r4 +/* 8025F758 0025C6B8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025F75C 0025C6BC 7C 7E 1B 78 */ mr r30, r3 +/* 8025F760 0025C6C0 41 82 01 00 */ beq lbl_8025F860 +/* 8025F764 0025C6C4 40 80 01 00 */ bge lbl_8025F864 +/* 8025F768 0025C6C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F76C 0025C6CC 40 80 00 0C */ bge lbl_8025F778 +/* 8025F770 0025C6D0 48 00 00 F4 */ b lbl_8025F864 +/* 8025F774 0025C6D4 48 00 00 F0 */ b lbl_8025F864 +lbl_8025F778: +/* 8025F778 0025C6D8 7F C4 F3 78 */ mr r4, r30 +/* 8025F77C 0025C6DC 7F E5 FB 78 */ mr r5, r31 +/* 8025F780 0025C6E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025F784 0025C6E4 38 C0 00 0C */ li r6, 0xc +/* 8025F788 0025C6E8 38 E0 00 06 */ li r7, 6 +/* 8025F78C 0025C6EC 4B F9 58 0D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025F790 0025C6F0 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8025F794 0025C6F4 7F E3 FB 78 */ mr r3, r31 +/* 8025F798 0025C6F8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F79C 0025C6FC B0 01 00 14 */ sth r0, 0x14(r1) +/* 8025F7A0 0025C700 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F7A4 0025C704 4B DE CE 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025F7A8 0025C708 7C 64 1B 78 */ mr r4, r3 +/* 8025F7AC 0025C70C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8025F7B0 0025C710 4B E5 04 E1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025F7B4 0025C714 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025F7B8 0025C718 28 05 00 00 */ cmplwi r5, 0 +/* 8025F7BC 0025C71C 41 82 00 28 */ beq lbl_8025F7E4 +/* 8025F7C0 0025C720 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025F7C4 0025C724 7F C3 F3 78 */ mr r3, r30 +/* 8025F7C8 0025C728 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025F7CC 0025C72C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8025F7D0 0025C730 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025F7D4 0025C734 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025F7D8 0025C738 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8025F7DC 0025C73C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8025F7E0 0025C740 4B E1 D3 7D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_8025F7E4: +/* 8025F7E4 0025C744 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 8025F7E8 0025C748 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025F7EC 0025C74C 7C 03 00 40 */ cmplw r3, r0 +/* 8025F7F0 0025C750 41 82 00 4C */ beq lbl_8025F83C +/* 8025F7F4 0025C754 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 8025F7F8 0025C758 7F E3 FB 78 */ mr r3, r31 +/* 8025F7FC 0025C75C 38 81 00 08 */ addi r4, r1, 8 +/* 8025F800 0025C760 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F804 0025C764 4B DE CD 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025F808 0025C768 7C 64 1B 78 */ mr r4, r3 +/* 8025F80C 0025C76C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025F810 0025C770 4B E5 02 2D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025F814 0025C774 80 83 00 04 */ lwz r4, 4(r3) +/* 8025F818 0025C778 28 04 00 00 */ cmplwi r4, 0 +/* 8025F81C 0025C77C 41 82 00 18 */ beq lbl_8025F834 +/* 8025F820 0025C780 88 04 01 90 */ lbz r0, 0x190(r4) +/* 8025F824 0025C784 38 60 00 00 */ li r3, 0 +/* 8025F828 0025C788 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025F82C 0025C78C 98 04 01 90 */ stb r0, 0x190(r4) +/* 8025F830 0025C790 48 00 00 0C */ b lbl_8025F83C +lbl_8025F834: +/* 8025F834 0025C794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025F838 0025C798 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_8025F83C: +/* 8025F83C 0025C79C 7F C3 F3 78 */ mr r3, r30 +/* 8025F840 0025C7A0 7F E5 FB 78 */ mr r5, r31 +/* 8025F844 0025C7A4 38 80 00 06 */ li r4, 6 +/* 8025F848 0025C7A8 38 C0 FF FF */ li r6, -1 +/* 8025F84C 0025C7AC 4B DF 18 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8025F850 0025C7B0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8025F854 0025C7B4 38 80 00 03 */ li r4, 3 +/* 8025F858 0025C7B8 4B ED B1 81 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025F85C 0025C7BC 48 00 00 08 */ b lbl_8025F864 +lbl_8025F860: +/* 8025F860 0025C7C0 4B FF FA 45 */ bl sub_8025f2a4 +lbl_8025F864: +/* 8025F864 0025C7C4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8025F868 0025C7C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025F86C 0025C7CC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025F870 0025C7D0 7C 08 03 A6 */ mtlr r0 +/* 8025F874 0025C7D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8025F878 0025C7D8 4E 80 00 20 */ blr + +.global sub_8025f87c +sub_8025f87c: +/* 8025F87C 0025C7DC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025F880 0025C7E0 7C 08 02 A6 */ mflr r0 +/* 8025F884 0025C7E4 2C 05 00 01 */ cmpwi r5, 1 +/* 8025F888 0025C7E8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025F88C 0025C7EC 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8025F890 0025C7F0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8025F894 0025C7F4 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8025F898 0025C7F8 7C 9D 23 78 */ mr r29, r4 +/* 8025F89C 0025C7FC 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8025F8A0 0025C800 7C 7C 1B 78 */ mr r28, r3 +/* 8025F8A4 0025C804 83 C4 08 4C */ lwz r30, 0x84c(r4) +/* 8025F8A8 0025C808 41 82 00 F8 */ beq lbl_8025F9A0 +/* 8025F8AC 0025C80C 40 80 00 10 */ bge lbl_8025F8BC +/* 8025F8B0 0025C810 2C 05 00 00 */ cmpwi r5, 0 +/* 8025F8B4 0025C814 40 80 00 14 */ bge lbl_8025F8C8 +/* 8025F8B8 0025C818 48 00 01 74 */ b lbl_8025FA2C +lbl_8025F8BC: +/* 8025F8BC 0025C81C 2C 05 00 03 */ cmpwi r5, 3 +/* 8025F8C0 0025C820 40 80 01 6C */ bge lbl_8025FA2C +/* 8025F8C4 0025C824 48 00 01 38 */ b lbl_8025F9FC +lbl_8025F8C8: +/* 8025F8C8 0025C828 7F 84 E3 78 */ mr r4, r28 +/* 8025F8CC 0025C82C 7F A5 EB 78 */ mr r5, r29 +/* 8025F8D0 0025C830 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025F8D4 0025C834 38 C0 00 0C */ li r6, 0xc +/* 8025F8D8 0025C838 38 E0 00 06 */ li r7, 6 +/* 8025F8DC 0025C83C 4B F9 56 BD */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 8025F8E0 0025C840 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8025F8E4 0025C844 7F A3 EB 78 */ mr r3, r29 +/* 8025F8E8 0025C848 38 81 00 10 */ addi r4, r1, 0x10 +/* 8025F8EC 0025C84C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8025F8F0 0025C850 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8025F8F4 0025C854 4B DE CC B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025F8F8 0025C858 7C 64 1B 78 */ mr r4, r3 +/* 8025F8FC 0025C85C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8025F900 0025C860 4B E5 03 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8025F904 0025C864 80 A3 00 04 */ lwz r5, 4(r3) +/* 8025F908 0025C868 28 05 00 00 */ cmplwi r5, 0 +/* 8025F90C 0025C86C 41 82 00 28 */ beq lbl_8025F934 +/* 8025F910 0025C870 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8025F914 0025C874 7F 83 E3 78 */ mr r3, r28 +/* 8025F918 0025C878 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8025F91C 0025C87C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8025F920 0025C880 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8025F924 0025C884 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8025F928 0025C888 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8025F92C 0025C88C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8025F930 0025C890 4B E1 D2 2D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_8025F934: +/* 8025F934 0025C894 83 FD 08 4C */ lwz r31, 0x84c(r29) +/* 8025F938 0025C898 7F E3 FB 78 */ mr r3, r31 +/* 8025F93C 0025C89C 4B EB BA 3D */ bl Stop__13CPhysicsActorFv +/* 8025F940 0025C8A0 7F E3 FB 78 */ mr r3, r31 +/* 8025F944 0025C8A4 7F A5 EB 78 */ mr r5, r29 +/* 8025F948 0025C8A8 38 80 00 13 */ li r4, 0x13 +/* 8025F94C 0025C8AC 4B DF 46 35 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025F950 0025C8B0 7F 83 E3 78 */ mr r3, r28 +/* 8025F954 0025C8B4 7F A5 EB 78 */ mr r5, r29 +/* 8025F958 0025C8B8 38 80 00 06 */ li r4, 6 +/* 8025F95C 0025C8BC 38 C0 FF FF */ li r6, -1 +/* 8025F960 0025C8C0 4B DF 17 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 8025F964 0025C8C4 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025F968 0025C8C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8025F96C 0025C8CC 38 A0 00 01 */ li r5, 1 +/* 8025F970 0025C8D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025F974 0025C8D4 B0 01 00 08 */ sth r0, 8(r1) +/* 8025F978 0025C8D8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025F97C 0025C8DC 4B DB 50 55 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId +/* 8025F980 0025C8E0 38 00 00 00 */ li r0, 0 +/* 8025F984 0025C8E4 98 1E 05 90 */ stb r0, 0x590(r30) +/* 8025F988 0025C8E8 80 7E 07 68 */ lwz r3, 0x768(r30) +/* 8025F98C 0025C8EC 4B E9 1F 69 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025F990 0025C8F0 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8025F994 0025C8F4 38 80 00 03 */ li r4, 3 +/* 8025F998 0025C8F8 4B ED B0 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025F99C 0025C8FC 48 00 00 90 */ b lbl_8025FA2C +lbl_8025F9A0: +/* 8025F9A0 0025C900 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025F9A4 0025C904 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F9A8 0025C908 4B DA 53 11 */ bl string_l__4rstlFPCc +/* 8025F9AC 0025C90C 7F 84 E3 78 */ mr r4, r28 +/* 8025F9B0 0025C910 38 61 00 4C */ addi r3, r1, 0x4c +/* 8025F9B4 0025C914 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8025F9B8 0025C918 4B E1 8F C1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025F9BC 0025C91C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025F9C0 0025C920 38 81 00 4C */ addi r4, r1, 0x4c +/* 8025F9C4 0025C924 48 0B 31 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025F9C8 0025C928 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025F9CC 0025C92C 48 0D E1 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025F9D0 0025C930 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8025F9D4 0025C934 7F 83 E3 78 */ mr r3, r28 +/* 8025F9D8 0025C938 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 8025F9DC 0025C93C 7F A4 EB 78 */ mr r4, r29 +/* 8025F9E0 0025C940 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8025F9E4 0025C944 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8025F9E8 0025C948 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8025F9EC 0025C94C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8025F9F0 0025C950 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025F9F4 0025C954 4B FF F9 A9 */ bl sub_8025f39c +/* 8025F9F8 0025C958 48 00 00 34 */ b lbl_8025FA2C +lbl_8025F9FC: +/* 8025F9FC 0025C95C A0 7E 02 6C */ lhz r3, 0x26c(r30) +/* 8025FA00 0025C960 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8025FA04 0025C964 7C 03 00 40 */ cmplw r3, r0 +/* 8025FA08 0025C968 40 82 00 0C */ bne lbl_8025FA14 +/* 8025FA0C 0025C96C 7F C3 F3 78 */ mr r3, r30 +/* 8025FA10 0025C970 4B DB 4F 95 */ bl DetachActorFromPlayer__7CPlayerFv +lbl_8025FA14: +/* 8025FA14 0025C974 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8025FA18 0025C978 38 00 00 01 */ li r0, 1 +/* 8025FA1C 0025C97C 7F A5 EB 78 */ mr r5, r29 +/* 8025FA20 0025C980 38 80 00 13 */ li r4, 0x13 +/* 8025FA24 0025C984 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025FA28 0025C988 4B DF 49 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025FA2C: +/* 8025FA2C 0025C98C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FA30 0025C990 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8025FA34 0025C994 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8025FA38 0025C998 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8025FA3C 0025C99C 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 8025FA40 0025C9A0 7C 08 03 A6 */ mtlr r0 +/* 8025FA44 0025C9A4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FA48 0025C9A8 4E 80 00 20 */ blr + +.global sub_8025fa4c +sub_8025fa4c: +/* 8025FA4C 0025C9AC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8025FA50 0025C9B0 7C 08 02 A6 */ mflr r0 +/* 8025FA54 0025C9B4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8025FA58 0025C9B8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8025FA5C 0025C9BC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8025FA60 0025C9C0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8025FA64 0025C9C4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8025FA68 0025C9C8 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025FA6C 0025C9CC FF E0 08 90 */ fmr f31, f1 +/* 8025FA70 0025C9D0 7C BE 2B 78 */ mr r30, r5 +/* 8025FA74 0025C9D4 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 8025FA78 0025C9D8 4B E9 93 8D */ bl GetBallRadius__10CMorphBallCFv +/* 8025FA7C 0025C9DC C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025FA80 0025C9E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FA84 0025C9E4 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8025FA88 0025C9E8 38 81 00 08 */ addi r4, r1, 8 +/* 8025FA8C 0025C9EC C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) +/* 8025FA90 0025C9F0 EC 40 08 2A */ fadds f2, f0, f1 +/* 8025FA94 0025C9F4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FA98 0025C9F8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 8025FA9C 0025C9FC EC 84 28 2A */ fadds f4, f4, f5 +/* 8025FAA0 0025CA00 C0 DE 00 04 */ lfs f6, 4(r30) +/* 8025FAA4 0025CA04 EC 00 28 2A */ fadds f0, f0, f5 +/* 8025FAA8 0025CA08 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8025FAAC 0025CA0C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025FAB0 0025CA10 EC 66 20 28 */ fsubs f3, f6, f4 +/* 8025FAB4 0025CA14 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025FAB8 0025CA18 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8025FABC 0025CA1C D0 01 00 08 */ stfs f0, 8(r1) +/* 8025FAC0 0025CA20 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8025FAC4 0025CA24 48 0B 4D 8D */ bl AsNormalized__9CVector3fCFv +/* 8025FAC8 0025CA28 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 8025FACC 0025CA2C 7F E3 FB 78 */ mr r3, r31 +/* 8025FAD0 0025CA30 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) +/* 8025FAD4 0025CA34 38 81 00 20 */ addi r4, r1, 0x20 +/* 8025FAD8 0025CA38 EC 60 07 F2 */ fmuls f3, f0, f31 +/* 8025FADC 0025CA3C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8025FAE0 0025CA40 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8025FAE4 0025CA44 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8025FAE8 0025CA48 EC 64 18 24 */ fdivs f3, f4, f3 +/* 8025FAEC 0025CA4C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FAF0 0025CA50 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FAF4 0025CA54 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FAF8 0025CA58 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8025FAFC 0025CA5C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8025FB00 0025CA60 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8025FB04 0025CA64 4B EB B1 9D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8025FB08 0025CA68 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8025FB0C 0025CA6C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8025FB10 0025CA70 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8025FB14 0025CA74 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8025FB18 0025CA78 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8025FB1C 0025CA7C 7C 08 03 A6 */ mtlr r0 +/* 8025FB20 0025CA80 38 21 00 50 */ addi r1, r1, 0x50 +/* 8025FB24 0025CA84 4E 80 00 20 */ blr + +.global sub_8025fb28 +sub_8025fb28: +/* 8025FB28 0025CA88 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025FB2C 0025CA8C 7C 08 02 A6 */ mflr r0 +/* 8025FB30 0025CA90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025FB34 0025CA94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8025FB38 0025CA98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8025FB3C 0025CA9C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8025FB40 0025CAA0 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8025FB44 0025CAA4 A0 03 06 94 */ lhz r0, 0x694(r3) +/* 8025FB48 0025CAA8 7C 7E 1B 78 */ mr r30, r3 +/* 8025FB4C 0025CAAC FF E0 08 90 */ fmr f31, f1 +/* 8025FB50 0025CAB0 7C 83 23 78 */ mr r3, r4 +/* 8025FB54 0025CAB4 B0 01 00 08 */ sth r0, 8(r1) +/* 8025FB58 0025CAB8 38 81 00 08 */ addi r4, r1, 8 +/* 8025FB5C 0025CABC 4B DE CA 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8025FB60 0025CAC0 7C 64 1B 78 */ mr r4, r3 +/* 8025FB64 0025CAC4 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FB68 0025CAC8 4B E4 FE D5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FB6C 0025CACC 83 E3 00 04 */ lwz r31, 4(r3) +/* 8025FB70 0025CAD0 28 1F 00 00 */ cmplwi r31, 0 +/* 8025FB74 0025CAD4 41 82 00 C4 */ beq lbl_8025FC38 +/* 8025FB78 0025CAD8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025FB7C 0025CADC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025FB80 0025CAE0 4B DA 51 39 */ bl string_l__4rstlFPCc +/* 8025FB84 0025CAE4 7F C4 F3 78 */ mr r4, r30 +/* 8025FB88 0025CAE8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025FB8C 0025CAEC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8025FB90 0025CAF0 4B E1 8D E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025FB94 0025CAF4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025FB98 0025CAF8 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025FB9C 0025CAFC 48 0B 2F D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025FBA0 0025CB00 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025FBA4 0025CB04 48 0D DF 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025FBA8 0025CB08 3C 60 80 57 */ lis r3, lbl_80572688@ha +/* 8025FBAC 0025CB0C C0 81 00 88 */ lfs f4, 0x88(r1) +/* 8025FBB0 0025CB10 38 A3 26 88 */ addi r5, r3, lbl_80572688@l +/* 8025FBB4 0025CB14 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 8025FBB8 0025CB18 C0 05 00 04 */ lfs f0, 4(r5) +/* 8025FBBC 0025CB1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8025FBC0 0025CB20 C0 45 00 08 */ lfs f2, 8(r5) +/* 8025FBC4 0025CB24 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025FBC8 0025CB28 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8025FBCC 0025CB2C EC A4 00 2A */ fadds f5, f4, f0 +/* 8025FBD0 0025CB30 C0 05 00 00 */ lfs f0, 0(r5) +/* 8025FBD4 0025CB34 EC 63 10 2A */ fadds f3, f3, f2 +/* 8025FBD8 0025CB38 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 8025FBDC 0025CB3C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8025FBE0 0025CB40 EC 21 00 2A */ fadds f1, f1, f0 +/* 8025FBE4 0025CB44 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FBE8 0025CB48 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8025FBEC 0025CB4C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025FBF0 0025CB50 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8025FBF4 0025CB54 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8025FBF8 0025CB58 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025FBFC 0025CB5C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8025FC00 0025CB60 48 0B 4C 51 */ bl AsNormalized__9CVector3fCFv +/* 8025FC04 0025CB64 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 8025FC08 0025CB68 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) +/* 8025FC0C 0025CB6C EC 60 07 F2 */ fmuls f3, f0, f31 +/* 8025FC10 0025CB70 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8025FC14 0025CB74 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8025FC18 0025CB78 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8025FC1C 0025CB7C EC 64 18 24 */ fdivs f3, f4, f3 +/* 8025FC20 0025CB80 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FC24 0025CB84 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FC28 0025CB88 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FC2C 0025CB8C D0 5F 01 58 */ stfs f2, 0x158(r31) +/* 8025FC30 0025CB90 D0 3F 01 5C */ stfs f1, 0x15c(r31) +/* 8025FC34 0025CB94 D0 1F 01 60 */ stfs f0, 0x160(r31) +lbl_8025FC38: +/* 8025FC38 0025CB98 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8025FC3C 0025CB9C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FC40 0025CBA0 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8025FC44 0025CBA4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8025FC48 0025CBA8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8025FC4C 0025CBAC 7C 08 03 A6 */ mtlr r0 +/* 8025FC50 0025CBB0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FC54 0025CBB4 4E 80 00 20 */ blr + +.global sub_8025fc58 +sub_8025fc58: +/* 8025FC58 0025CBB8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8025FC5C 0025CBBC 7C 08 02 A6 */ mflr r0 +/* 8025FC60 0025CBC0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8025FC64 0025CBC4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8025FC68 0025CBC8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8025FC6C 0025CBCC 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8025FC70 0025CBD0 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8025FC74 0025CBD4 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8025FC78 0025CBD8 7C 9E 23 78 */ mr r30, r4 +/* 8025FC7C 0025CBDC FF E0 08 90 */ fmr f31, f1 +/* 8025FC80 0025CBE0 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8025FC84 0025CBE4 7C 7D 1B 78 */ mr r29, r3 +/* 8025FC88 0025CBE8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 8025FC8C 0025CBEC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FC90 0025CBF0 4B DA 50 29 */ bl string_l__4rstlFPCc +/* 8025FC94 0025CBF4 7F A4 EB 78 */ mr r4, r29 +/* 8025FC98 0025CBF8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8025FC9C 0025CBFC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025FCA0 0025CC00 4B E1 8C D9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8025FCA4 0025CC04 38 61 00 6C */ addi r3, r1, 0x6c +/* 8025FCA8 0025CC08 38 81 00 3C */ addi r4, r1, 0x3c +/* 8025FCAC 0025CC0C 48 0B 2E C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8025FCB0 0025CC10 38 61 00 14 */ addi r3, r1, 0x14 +/* 8025FCB4 0025CC14 48 0D DE 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025FCB8 0025CC18 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 8025FCBC 0025CC1C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8025FCC0 0025CC20 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 8025FCC4 0025CC24 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8025FCC8 0025CC28 EC 40 10 28 */ fsubs f2, f0, f2 +/* 8025FCCC 0025CC2C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8025FCD0 0025CC30 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 8025FCD4 0025CC34 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8025FCD8 0025CC38 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8025FCDC 0025CC3C EC 00 18 28 */ fsubs f0, f0, f3 +/* 8025FCE0 0025CC40 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8025FCE4 0025CC44 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8025FCE8 0025CC48 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8025FCEC 0025CC4C 2C 00 00 01 */ cmpwi r0, 1 +/* 8025FCF0 0025CC50 40 82 00 B8 */ bne lbl_8025FDA8 +/* 8025FCF4 0025CC54 38 61 00 30 */ addi r3, r1, 0x30 +/* 8025FCF8 0025CC58 48 0B 4B C1 */ bl Magnitude__9CVector3fCFv +/* 8025FCFC 0025CC5C C0 02 BA 30 */ lfs f0, lbl_805AD750@sda21(r2) +/* 8025FD00 0025CC60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025FD04 0025CC64 40 80 00 3C */ bge lbl_8025FD40 +/* 8025FD08 0025CC68 7F E3 FB 78 */ mr r3, r31 +/* 8025FD0C 0025CC6C 4B EB B6 6D */ bl Stop__13CPhysicsActorFv +/* 8025FD10 0025CC70 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 8025FD14 0025CC74 FC 20 F8 90 */ fmr f1, f31 +/* 8025FD18 0025CC78 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8025FD1C 0025CC7C 7F A3 EB 78 */ mr r3, r29 +/* 8025FD20 0025CC80 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8025FD24 0025CC84 7F C4 F3 78 */ mr r4, r30 +/* 8025FD28 0025CC88 D0 61 00 08 */ stfs f3, 8(r1) +/* 8025FD2C 0025CC8C 38 A1 00 08 */ addi r5, r1, 8 +/* 8025FD30 0025CC90 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8025FD34 0025CC94 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8025FD38 0025CC98 4B FF FD 15 */ bl sub_8025fa4c +/* 8025FD3C 0025CC9C 48 00 00 6C */ b lbl_8025FDA8 +lbl_8025FD40: +/* 8025FD40 0025CCA0 EC 01 00 72 */ fmuls f0, f1, f1 +/* 8025FD44 0025CCA4 C0 7D 06 84 */ lfs f3, 0x684(r29) +/* 8025FD48 0025CCA8 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8025FD4C 0025CCAC C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8025FD50 0025CCB0 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8025FD54 0025CCB4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8025FD58 0025CCB8 C0 9D 06 7C */ lfs f4, 0x67c(r29) +/* 8025FD5C 0025CCBC C0 BF 00 E8 */ lfs f5, 0xe8(r31) +/* 8025FD60 0025CCC0 FC 40 10 50 */ fneg f2, f2 +/* 8025FD64 0025CCC4 FC 20 08 50 */ fneg f1, f1 +/* 8025FD68 0025CCC8 FC 00 00 50 */ fneg f0, f0 +/* 8025FD6C 0025CCCC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8025FD70 0025CCD0 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 8025FD74 0025CCD4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8025FD78 0025CCD8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8025FD7C 0025CCDC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8025FD80 0025CCE0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8025FD84 0025CCE4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8025FD88 0025CCE8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8025FD8C 0025CCEC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8025FD90 0025CCF0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8025FD94 0025CCF4 4B DB B7 A1 */ bl Identity__10CAxisAngleFv +/* 8025FD98 0025CCF8 7C 65 1B 78 */ mr r5, r3 +/* 8025FD9C 0025CCFC 7F E3 FB 78 */ mr r3, r31 +/* 8025FDA0 0025CD00 38 81 00 24 */ addi r4, r1, 0x24 +/* 8025FDA4 0025CD04 4B EB C5 21 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_8025FDA8: +/* 8025FDA8 0025CD08 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8025FDAC 0025CD0C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8025FDB0 0025CD10 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8025FDB4 0025CD14 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8025FDB8 0025CD18 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8025FDBC 0025CD1C 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8025FDC0 0025CD20 7C 08 03 A6 */ mtlr r0 +/* 8025FDC4 0025CD24 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8025FDC8 0025CD28 4E 80 00 20 */ blr + +.global sub_8025fdcc +sub_8025fdcc: +/* 8025FDCC 0025CD2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025FDD0 0025CD30 7C 08 02 A6 */ mflr r0 +/* 8025FDD4 0025CD34 2C 05 00 01 */ cmpwi r5, 1 +/* 8025FDD8 0025CD38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025FDDC 0025CD3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025FDE0 0025CD40 7C 7F 1B 78 */ mr r31, r3 +/* 8025FDE4 0025CD44 41 82 00 50 */ beq lbl_8025FE34 +/* 8025FDE8 0025CD48 40 80 00 50 */ bge lbl_8025FE38 +/* 8025FDEC 0025CD4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8025FDF0 0025CD50 40 80 00 0C */ bge lbl_8025FDFC +/* 8025FDF4 0025CD54 48 00 00 44 */ b lbl_8025FE38 +/* 8025FDF8 0025CD58 48 00 00 40 */ b lbl_8025FE38 +lbl_8025FDFC: +/* 8025FDFC 0025CD5C 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8025FE00 0025CD60 38 00 00 01 */ li r0, 1 +/* 8025FE04 0025CD64 7C 85 23 78 */ mr r5, r4 +/* 8025FE08 0025CD68 38 80 00 13 */ li r4, 0x13 +/* 8025FE0C 0025CD6C 98 03 05 90 */ stb r0, 0x590(r3) +/* 8025FE10 0025CD70 4B DF 45 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8025FE14 0025CD74 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FE18 0025CD78 38 60 00 01 */ li r3, 1 +/* 8025FE1C 0025CD7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8025FE20 0025CD80 38 80 00 06 */ li r4, 6 +/* 8025FE24 0025CD84 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FE28 0025CD88 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025FE2C 0025CD8C 4B ED AB AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025FE30 0025CD90 48 00 00 08 */ b lbl_8025FE38 +lbl_8025FE34: +/* 8025FE34 0025CD94 4B FF FC F5 */ bl sub_8025fb28 +lbl_8025FE38: +/* 8025FE38 0025CD98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025FE3C 0025CD9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025FE40 0025CDA0 7C 08 03 A6 */ mtlr r0 +/* 8025FE44 0025CDA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025FE48 0025CDA8 4E 80 00 20 */ blr + +.global sub_8025fe4c +sub_8025fe4c: +/* 8025FE4C 0025CDAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025FE50 0025CDB0 7C 08 02 A6 */ mflr r0 +/* 8025FE54 0025CDB4 2C 05 00 01 */ cmpwi r5, 1 +/* 8025FE58 0025CDB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025FE5C 0025CDBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025FE60 0025CDC0 7C 7F 1B 78 */ mr r31, r3 +/* 8025FE64 0025CDC4 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 8025FE68 0025CDC8 41 82 00 40 */ beq lbl_8025FEA8 +/* 8025FE6C 0025CDCC 40 80 00 10 */ bge lbl_8025FE7C +/* 8025FE70 0025CDD0 2C 05 00 00 */ cmpwi r5, 0 +/* 8025FE74 0025CDD4 40 80 00 14 */ bge lbl_8025FE88 +/* 8025FE78 0025CDD8 48 00 00 50 */ b lbl_8025FEC8 +lbl_8025FE7C: +/* 8025FE7C 0025CDDC 2C 05 00 03 */ cmpwi r5, 3 +/* 8025FE80 0025CDE0 40 80 00 48 */ bge lbl_8025FEC8 +/* 8025FE84 0025CDE4 48 00 00 2C */ b lbl_8025FEB0 +lbl_8025FE88: +/* 8025FE88 0025CDE8 38 00 00 00 */ li r0, 0 +/* 8025FE8C 0025CDEC 98 06 05 90 */ stb r0, 0x590(r6) +/* 8025FE90 0025CDF0 80 66 07 68 */ lwz r3, 0x768(r6) +/* 8025FE94 0025CDF4 4B E9 1A 61 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 8025FE98 0025CDF8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8025FE9C 0025CDFC 38 80 00 06 */ li r4, 6 +/* 8025FEA0 0025CE00 4B ED AB 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8025FEA4 0025CE04 48 00 00 24 */ b lbl_8025FEC8 +lbl_8025FEA8: +/* 8025FEA8 0025CE08 4B FF FD B1 */ bl sub_8025fc58 +/* 8025FEAC 0025CE0C 48 00 00 1C */ b lbl_8025FEC8 +lbl_8025FEB0: +/* 8025FEB0 0025CE10 38 00 00 01 */ li r0, 1 +/* 8025FEB4 0025CE14 7C C3 33 78 */ mr r3, r6 +/* 8025FEB8 0025CE18 98 06 05 90 */ stb r0, 0x590(r6) +/* 8025FEBC 0025CE1C 7C 85 23 78 */ mr r5, r4 +/* 8025FEC0 0025CE20 38 80 00 13 */ li r4, 0x13 +/* 8025FEC4 0025CE24 4B DF 44 8D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8025FEC8: +/* 8025FEC8 0025CE28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025FECC 0025CE2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025FED0 0025CE30 7C 08 03 A6 */ mtlr r0 +/* 8025FED4 0025CE34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025FED8 0025CE38 4E 80 00 20 */ blr + +.global sub_8025fedc +sub_8025fedc: +/* 8025FEDC 0025CE3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025FEE0 0025CE40 7C 08 02 A6 */ mflr r0 +/* 8025FEE4 0025CE44 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025FEE8 0025CE48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025FEEC 0025CE4C 7C 7F 1B 78 */ mr r31, r3 +/* 8025FEF0 0025CE50 38 60 00 00 */ li r3, 0 +/* 8025FEF4 0025CE54 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FEF8 0025CE58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025FEFC 0025CE5C 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FF00 0025CE60 A0 7F 06 94 */ lhz r3, 0x694(r31) +/* 8025FF04 0025CE64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF08 0025CE68 7C 03 00 40 */ cmplw r3, r0 +/* 8025FF0C 0025CE6C 41 82 00 58 */ beq lbl_8025FF64 +/* 8025FF10 0025CE70 A0 1F 06 94 */ lhz r0, 0x694(r31) +/* 8025FF14 0025CE74 7C 83 23 78 */ mr r3, r4 +/* 8025FF18 0025CE78 38 81 00 08 */ addi r4, r1, 8 +/* 8025FF1C 0025CE7C B0 01 00 08 */ sth r0, 8(r1) +/* 8025FF20 0025CE80 4B DE C6 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025FF24 0025CE84 7C 64 1B 78 */ mr r4, r3 +/* 8025FF28 0025CE88 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FF2C 0025CE8C 4B E4 FB 11 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FF30 0025CE90 80 03 00 04 */ lwz r0, 4(r3) +/* 8025FF34 0025CE94 28 00 00 00 */ cmplwi r0, 0 +/* 8025FF38 0025CE98 41 82 00 1C */ beq lbl_8025FF54 +/* 8025FF3C 0025CE9C 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 8025FF40 0025CEA0 38 60 00 01 */ li r3, 1 +/* 8025FF44 0025CEA4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8025FF48 0025CEA8 38 60 00 00 */ li r3, 0 +/* 8025FF4C 0025CEAC 98 1F 06 98 */ stb r0, 0x698(r31) +/* 8025FF50 0025CEB0 48 00 00 18 */ b lbl_8025FF68 +lbl_8025FF54: +/* 8025FF54 0025CEB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF58 0025CEB8 38 60 00 01 */ li r3, 1 +/* 8025FF5C 0025CEBC B0 1F 06 94 */ sth r0, 0x694(r31) +/* 8025FF60 0025CEC0 48 00 00 08 */ b lbl_8025FF68 +lbl_8025FF64: +/* 8025FF64 0025CEC4 38 60 00 01 */ li r3, 1 +lbl_8025FF68: +/* 8025FF68 0025CEC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025FF6C 0025CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025FF70 0025CED0 7C 08 03 A6 */ mtlr r0 +/* 8025FF74 0025CED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025FF78 0025CED8 4E 80 00 20 */ blr + +.global sub_8025ff7c +sub_8025ff7c: +/* 8025FF7C 0025CEDC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8025FF80 0025CEE0 7C 08 02 A6 */ mflr r0 +/* 8025FF84 0025CEE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025FF88 0025CEE8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8025FF8C 0025CEEC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8025FF90 0025CEF0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8025FF94 0025CEF4 7C 7F 1B 78 */ mr r31, r3 +/* 8025FF98 0025CEF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8025FF9C 0025CEFC A0 63 06 94 */ lhz r3, 0x694(r3) +/* 8025FFA0 0025CF00 FF E0 08 90 */ fmr f31, f1 +/* 8025FFA4 0025CF04 7C 03 00 40 */ cmplw r3, r0 +/* 8025FFA8 0025CF08 41 82 00 5C */ beq lbl_80260004 +/* 8025FFAC 0025CF0C A0 1F 06 94 */ lhz r0, 0x694(r31) +/* 8025FFB0 0025CF10 7C 83 23 78 */ mr r3, r4 +/* 8025FFB4 0025CF14 38 81 00 08 */ addi r4, r1, 8 +/* 8025FFB8 0025CF18 B0 01 00 08 */ sth r0, 8(r1) +/* 8025FFBC 0025CF1C 4B DE C5 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8025FFC0 0025CF20 7C 64 1B 78 */ mr r4, r3 +/* 8025FFC4 0025CF24 38 61 00 0C */ addi r3, r1, 0xc +/* 8025FFC8 0025CF28 4B E4 FA 75 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8025FFCC 0025CF2C 80 83 00 04 */ lwz r4, 4(r3) +/* 8025FFD0 0025CF30 28 04 00 00 */ cmplwi r4, 0 +/* 8025FFD4 0025CF34 41 82 00 30 */ beq lbl_80260004 +/* 8025FFD8 0025CF38 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8025FFDC 0025CF3C FC 20 F8 90 */ fmr f1, f31 +/* 8025FFE0 0025CF40 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8025FFE4 0025CF44 7F E3 FB 78 */ mr r3, r31 +/* 8025FFE8 0025CF48 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8025FFEC 0025CF4C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8025FFF0 0025CF50 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8025FFF4 0025CF54 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8025FFF8 0025CF58 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8025FFFC 0025CF5C 48 00 00 CD */ bl sub_802600c8 +/* 80260000 0025CF60 48 00 00 08 */ b lbl_80260008 +lbl_80260004: +/* 80260004 0025CF64 38 60 00 00 */ li r3, 0 +lbl_80260008: +/* 80260008 0025CF68 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026000C 0025CF6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80260010 0025CF70 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80260014 0025CF74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260018 0025CF78 7C 08 03 A6 */ mtlr r0 +/* 8026001C 0025CF7C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80260020 0025CF80 4E 80 00 20 */ blr + +.global sub_80260024 +sub_80260024: +/* 80260024 0025CF84 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80260028 0025CF88 7C 08 02 A6 */ mflr r0 +/* 8026002C 0025CF8C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80260030 0025CF90 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80260034 0025CF94 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80260038 0025CF98 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8026003C 0025CF9C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80260040 0025CFA0 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80260044 0025CFA4 7C 7E 1B 78 */ mr r30, r3 +/* 80260048 0025CFA8 FF E0 08 90 */ fmr f31, f1 +/* 8026004C 0025CFAC 80 64 07 68 */ lwz r3, 0x768(r4) +/* 80260050 0025CFB0 3B E4 00 34 */ addi r31, r4, 0x34 +/* 80260054 0025CFB4 4B E9 8D B1 */ bl GetBallRadius__10CMorphBallCFv +/* 80260058 0025CFB8 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8026005C 0025CFBC 7F E4 FB 78 */ mr r4, r31 +/* 80260060 0025CFC0 C0 7F 00 1C */ lfs f3, 0x1c(r31) +/* 80260064 0025CFC4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80260068 0025CFC8 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 8026006C 0025CFCC EC 20 08 2A */ fadds f1, f0, f1 +/* 80260070 0025CFD0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80260074 0025CFD4 EC 63 10 2A */ fadds f3, f3, f2 +/* 80260078 0025CFD8 EC 00 10 2A */ fadds f0, f0, f2 +/* 8026007C 0025CFDC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80260080 0025CFE0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80260084 0025CFE4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80260088 0025CFE8 48 0B 2B B9 */ bl GetRotation__12CTransform4fCFv +/* 8026008C 0025CFEC 38 7E 06 4C */ addi r3, r30, 0x64c +/* 80260090 0025CFF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260094 0025CFF4 48 0B 2A AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80260098 0025CFF8 FC 20 F8 90 */ fmr f1, f31 +/* 8026009C 0025CFFC 7F C3 F3 78 */ mr r3, r30 +/* 802600A0 0025D000 38 81 00 08 */ addi r4, r1, 8 +/* 802600A4 0025D004 48 00 00 25 */ bl sub_802600c8 +/* 802600A8 0025D008 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802600AC 0025D00C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802600B0 0025D010 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802600B4 0025D014 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802600B8 0025D018 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802600BC 0025D01C 7C 08 03 A6 */ mtlr r0 +/* 802600C0 0025D020 38 21 00 60 */ addi r1, r1, 0x60 +/* 802600C4 0025D024 4E 80 00 20 */ blr + +.global sub_802600c8 +sub_802600c8: +/* 802600C8 0025D028 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802600CC 0025D02C 7C 08 02 A6 */ mflr r0 +/* 802600D0 0025D030 90 01 00 94 */ stw r0, 0x94(r1) +/* 802600D4 0025D034 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802600D8 0025D038 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802600DC 0025D03C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802600E0 0025D040 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802600E4 0025D044 FF E0 08 90 */ fmr f31, f1 +/* 802600E8 0025D048 7C 9F 23 78 */ mr r31, r4 +/* 802600EC 0025D04C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 802600F0 0025D050 7C 7E 1B 78 */ mr r30, r3 +/* 802600F4 0025D054 38 61 00 08 */ addi r3, r1, 8 +/* 802600F8 0025D058 4B DA 4B C1 */ bl string_l__4rstlFPCc +/* 802600FC 0025D05C 7F C4 F3 78 */ mr r4, r30 +/* 80260100 0025D060 38 61 00 18 */ addi r3, r1, 0x18 +/* 80260104 0025D064 38 A1 00 08 */ addi r5, r1, 8 +/* 80260108 0025D068 4B E1 88 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026010C 0025D06C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80260110 0025D070 38 81 00 18 */ addi r4, r1, 0x18 +/* 80260114 0025D074 48 0B 2A 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260118 0025D078 38 61 00 08 */ addi r3, r1, 8 +/* 8026011C 0025D07C 48 0D D9 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80260120 0025D080 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80260124 0025D084 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80260128 0025D088 C0 7F 00 00 */ lfs f3, 0(r31) +/* 8026012C 0025D08C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80260130 0025D090 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80260134 0025D094 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80260138 0025D098 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8026013C 0025D09C C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80260140 0025D0A0 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80260144 0025D0A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80260148 0025D0A8 EC 03 00 FA */ fmadds f0, f3, f3, f0 +/* 8026014C 0025D0AC EC 01 00 7A */ fmadds f0, f1, f1, f0 +/* 80260150 0025D0B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80260154 0025D0B4 4C 40 13 82 */ cror 2, 0, 2 +/* 80260158 0025D0B8 7C 00 00 26 */ mfcr r0 +/* 8026015C 0025D0BC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80260160 0025D0C0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80260164 0025D0C4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80260168 0025D0C8 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8026016C 0025D0CC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80260170 0025D0D0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80260174 0025D0D4 7C 08 03 A6 */ mtlr r0 +/* 80260178 0025D0D8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8026017C 0025D0DC 4E 80 00 20 */ blr + +.global sub_80260180 +sub_80260180: +/* 80260180 0025D0E0 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 80260184 0025D0E4 7C 08 02 A6 */ mflr r0 +/* 80260188 0025D0E8 90 01 01 94 */ stw r0, 0x194(r1) +/* 8026018C 0025D0EC DB E1 01 80 */ stfd f31, 0x180(r1) +/* 80260190 0025D0F0 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 80260194 0025D0F4 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 80260198 0025D0F8 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 8026019C 0025D0FC DB A1 01 60 */ stfd f29, 0x160(r1) +/* 802601A0 0025D100 F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 802601A4 0025D104 DB 81 01 50 */ stfd f28, 0x150(r1) +/* 802601A8 0025D108 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 +/* 802601AC 0025D10C BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 802601B0 0025D110 7C 7E 1B 78 */ mr r30, r3 +/* 802601B4 0025D114 7C 9B 23 78 */ mr r27, r4 +/* 802601B8 0025D118 7C BD 2B 78 */ mr r29, r5 +/* 802601BC 0025D11C 7C DC 33 78 */ mr r28, r6 +/* 802601C0 0025D120 7C FF 3B 78 */ mr r31, r7 +/* 802601C4 0025D124 7F C4 F3 78 */ mr r4, r30 +/* 802601C8 0025D128 38 61 00 78 */ addi r3, r1, 0x78 +/* 802601CC 0025D12C 4B EB A7 61 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 802601D0 0025D130 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 802601D4 0025D134 7F 83 E3 78 */ mr r3, r28 +/* 802601D8 0025D138 C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 802601DC 0025D13C 38 81 00 90 */ addi r4, r1, 0x90 +/* 802601E0 0025D140 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 802601E4 0025D144 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802601E8 0025D148 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802601EC 0025D14C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802601F0 0025D150 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802601F4 0025D154 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802601F8 0025D158 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802601FC 0025D15C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80260200 0025D160 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80260204 0025D164 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80260208 0025D168 48 0D 79 7D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 8026020C 0025D16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80260210 0025D170 41 82 00 0C */ beq lbl_8026021C +/* 80260214 0025D174 38 60 00 01 */ li r3, 1 +/* 80260218 0025D178 48 00 02 74 */ b lbl_8026048C +lbl_8026021C: +/* 8026021C 0025D17C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) +/* 80260220 0025D180 38 61 00 38 */ addi r3, r1, 0x38 +/* 80260224 0025D184 4B DA 4A 95 */ bl string_l__4rstlFPCc +/* 80260228 0025D188 7F C4 F3 78 */ mr r4, r30 +/* 8026022C 0025D18C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 80260230 0025D190 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80260234 0025D194 4B E1 87 45 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80260238 0025D198 38 61 01 08 */ addi r3, r1, 0x108 +/* 8026023C 0025D19C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 80260240 0025D1A0 48 0B 29 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260244 0025D1A4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80260248 0025D1A8 48 0D D8 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8026024C 0025D1AC C3 BE 00 58 */ lfs f29, 0x58(r30) +/* 80260250 0025D1B0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80260254 0025D1B4 C0 62 BA 3C */ lfs f3, lbl_805AD75C@sda21(r2) +/* 80260258 0025D1B8 38 81 00 54 */ addi r4, r1, 0x54 +/* 8026025C 0025D1BC C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 80260260 0025D1C0 C0 02 BA 58 */ lfs f0, lbl_805AD778@sda21(r2) +/* 80260264 0025D1C4 EC 83 07 72 */ fmuls f4, f3, f29 +/* 80260268 0025D1C8 C3 FE 00 38 */ lfs f31, 0x38(r30) +/* 8026026C 0025D1CC EC A3 07 B2 */ fmuls f5, f3, f30 +/* 80260270 0025D1D0 C1 81 01 34 */ lfs f12, 0x134(r1) +/* 80260274 0025D1D4 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80260278 0025D1D8 C1 A1 01 24 */ lfs f13, 0x124(r1) +/* 8026027C 0025D1DC EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80260280 0025D1E0 C3 81 01 14 */ lfs f28, 0x114(r1) +/* 80260284 0025D1E4 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80260288 0025D1E8 C1 7D 00 04 */ lfs f11, 4(r29) +/* 8026028C 0025D1EC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80260290 0025D1F0 C1 3D 00 08 */ lfs f9, 8(r29) +/* 80260294 0025D1F4 ED 4D 28 28 */ fsubs f10, f13, f5 +/* 80260298 0025D1F8 C0 FD 00 00 */ lfs f7, 0(r29) +/* 8026029C 0025D1FC ED 0C 20 28 */ fsubs f8, f12, f4 +/* 802602A0 0025D200 C0 BB 00 04 */ lfs f5, 4(r27) +/* 802602A4 0025D204 EC DC 18 28 */ fsubs f6, f28, f3 +/* 802602A8 0025D208 C0 7B 00 08 */ lfs f3, 8(r27) +/* 802602AC 0025D20C EC 8D 08 28 */ fsubs f4, f13, f1 +/* 802602B0 0025D210 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802602B4 0025D214 EC 4C 10 28 */ fsubs f2, f12, f2 +/* 802602B8 0025D218 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 802602BC 0025D21C ED 4B 50 28 */ fsubs f10, f11, f10 +/* 802602C0 0025D220 ED 09 40 28 */ fsubs f8, f9, f8 +/* 802602C4 0025D224 EC C7 30 28 */ fsubs f6, f7, f6 +/* 802602C8 0025D228 EC 85 20 28 */ fsubs f4, f5, f4 +/* 802602CC 0025D22C D1 41 00 58 */ stfs f10, 0x58(r1) +/* 802602D0 0025D230 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802602D4 0025D234 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802602D8 0025D238 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802602DC 0025D23C D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802602E0 0025D240 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802602E4 0025D244 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802602E8 0025D248 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802602EC 0025D24C 48 0B 45 65 */ bl AsNormalized__9CVector3fCFv +/* 802602F0 0025D250 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802602F4 0025D254 38 61 00 20 */ addi r3, r1, 0x20 +/* 802602F8 0025D258 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802602FC 0025D25C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80260300 0025D260 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80260304 0025D264 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80260308 0025D268 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8026030C 0025D26C EF 82 07 7A */ fmadds f28, f2, f29, f0 +/* 80260310 0025D270 48 0B 45 41 */ bl AsNormalized__9CVector3fCFv +/* 80260314 0025D274 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80260318 0025D278 38 61 00 54 */ addi r3, r1, 0x54 +/* 8026031C 0025D27C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80260320 0025D280 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80260324 0025D284 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80260328 0025D288 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 8026032C 0025D28C EF C2 07 7A */ fmadds f30, f2, f29, f0 +/* 80260330 0025D290 48 0B 45 89 */ bl Magnitude__9CVector3fCFv +/* 80260334 0025D294 88 0D A5 60 */ lbz r0, lbl_805A9120@sda21(r13) +/* 80260338 0025D298 FF A0 08 90 */ fmr f29, f1 +/* 8026033C 0025D29C 7C 00 07 75 */ extsb. r0, r0 +/* 80260340 0025D2A0 40 82 00 88 */ bne lbl_802603C8 +/* 80260344 0025D2A4 80 AD 97 EC */ lwz r5, lbl_805A83AC@sda21(r13) +/* 80260348 0025D2A8 38 60 00 00 */ li r3, 0 +/* 8026034C 0025D2AC 38 80 00 01 */ li r4, 1 +/* 80260350 0025D2B0 48 12 9B A5 */ bl __shl2i +/* 80260354 0025D2B4 80 AD 97 F0 */ lwz r5, lbl_805A83B0@sda21(r13) +/* 80260358 0025D2B8 7C 9C 23 78 */ mr r28, r4 +/* 8026035C 0025D2BC 7C 7D 1B 78 */ mr r29, r3 +/* 80260360 0025D2C0 38 60 00 00 */ li r3, 0 +/* 80260364 0025D2C4 38 80 00 01 */ li r4, 1 +/* 80260368 0025D2C8 48 12 9B 8D */ bl __shl2i +/* 8026036C 0025D2CC 80 AD 97 F4 */ lwz r5, lbl_805A83B4@sda21(r13) +/* 80260370 0025D2D0 7F 9C 23 78 */ or r28, r28, r4 +/* 80260374 0025D2D4 7F BD 1B 78 */ or r29, r29, r3 +/* 80260378 0025D2D8 38 60 00 00 */ li r3, 0 +/* 8026037C 0025D2DC 38 80 00 01 */ li r4, 1 +/* 80260380 0025D2E0 48 12 9B 75 */ bl __shl2i +/* 80260384 0025D2E4 80 AD 97 E8 */ lwz r5, lbl_805A83A8@sda21(r13) +/* 80260388 0025D2E8 7F 9C 23 78 */ or r28, r28, r4 +/* 8026038C 0025D2EC 7F BD 1B 78 */ or r29, r29, r3 +/* 80260390 0025D2F0 38 60 00 00 */ li r3, 0 +/* 80260394 0025D2F4 38 80 00 01 */ li r4, 1 +/* 80260398 0025D2F8 48 12 9B 5D */ bl __shl2i +/* 8026039C 0025D2FC 3C A0 80 47 */ lis r5, lbl_8046DC90@ha +/* 802603A0 0025D300 38 C0 00 03 */ li r6, 3 +/* 802603A4 0025D304 38 A5 DC 90 */ addi r5, r5, lbl_8046DC90@l +/* 802603A8 0025D308 38 00 00 01 */ li r0, 1 +/* 802603AC 0025D30C 90 C1 00 70 */ stw r6, 0x70(r1) +/* 802603B0 0025D310 90 85 00 04 */ stw r4, 4(r5) +/* 802603B4 0025D314 90 65 00 00 */ stw r3, 0(r5) +/* 802603B8 0025D318 93 85 00 0C */ stw r28, 0xc(r5) +/* 802603BC 0025D31C 93 A5 00 08 */ stw r29, 8(r5) +/* 802603C0 0025D320 90 C5 00 10 */ stw r6, 0x10(r5) +/* 802603C4 0025D324 98 0D A5 60 */ stb r0, lbl_805A9120@sda21(r13) +lbl_802603C8: +/* 802603C8 0025D328 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) +/* 802603CC 0025D32C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802603D0 0025D330 40 81 00 88 */ ble lbl_80260458 +/* 802603D4 0025D334 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 802603D8 0025D338 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 802603DC 0025D33C EC C0 E8 24 */ fdivs f6, f0, f29 +/* 802603E0 0025D340 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802603E4 0025D344 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802603E8 0025D348 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802603EC 0025D34C 80 63 07 68 */ lwz r3, 0x768(r3) +/* 802603F0 0025D350 C0 41 01 14 */ lfs f2, 0x114(r1) +/* 802603F4 0025D354 EC A6 00 72 */ fmuls f5, f6, f1 +/* 802603F8 0025D358 C0 21 01 24 */ lfs f1, 0x124(r1) +/* 802603FC 0025D35C EC 86 00 32 */ fmuls f4, f6, f0 +/* 80260400 0025D360 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80260404 0025D364 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 80260408 0025D368 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8026040C 0025D36C D0 A1 00 08 */ stfs f5, 8(r1) +/* 80260410 0025D370 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80260414 0025D374 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80260418 0025D378 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8026041C 0025D37C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80260420 0025D380 4B E9 89 E5 */ bl GetBallRadius__10CMorphBallCFv +/* 80260424 0025D384 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 80260428 0025D388 3C 60 80 47 */ lis r3, lbl_8046DC90@ha +/* 8026042C 0025D38C 38 E3 DC 90 */ addi r7, r3, lbl_8046DC90@l +/* 80260430 0025D390 7F E4 FB 78 */ mr r4, r31 +/* 80260434 0025D394 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80260438 0025D398 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8026043C 0025D39C 38 C1 00 08 */ addi r6, r1, 8 +/* 80260440 0025D3A0 4B DE CB 59 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80260444 0025D3A4 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 80260448 0025D3A8 28 00 00 00 */ cmplwi r0, 0 +/* 8026044C 0025D3AC 41 82 00 0C */ beq lbl_80260458 +/* 80260450 0025D3B0 38 60 00 00 */ li r3, 0 +/* 80260454 0025D3B4 48 00 00 38 */ b lbl_8026048C +lbl_80260458: +/* 80260458 0025D3B8 C0 1E 06 84 */ lfs f0, 0x684(r30) +/* 8026045C 0025D3BC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80260460 0025D3C0 40 80 00 28 */ bge lbl_80260488 +/* 80260464 0025D3C4 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260468 0025D3C8 38 60 00 00 */ li r3, 0 +/* 8026046C 0025D3CC FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80260470 0025D3D0 40 81 00 1C */ ble lbl_8026048C +/* 80260474 0025D3D4 C0 1E 06 80 */ lfs f0, 0x680(r30) +/* 80260478 0025D3D8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8026047C 0025D3DC 40 81 00 10 */ ble lbl_8026048C +/* 80260480 0025D3E0 38 60 00 01 */ li r3, 1 +/* 80260484 0025D3E4 48 00 00 08 */ b lbl_8026048C +lbl_80260488: +/* 80260488 0025D3E8 38 60 00 00 */ li r3, 0 +lbl_8026048C: +/* 8026048C 0025D3EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 80260490 0025D3F0 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 80260494 0025D3F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 80260498 0025D3F8 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 8026049C 0025D3FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 802604A0 0025D400 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 802604A4 0025D404 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 +/* 802604A8 0025D408 CB 81 01 50 */ lfd f28, 0x150(r1) +/* 802604AC 0025D40C BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 802604B0 0025D410 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802604B4 0025D414 7C 08 03 A6 */ mtlr r0 +/* 802604B8 0025D418 38 21 01 90 */ addi r1, r1, 0x190 +/* 802604BC 0025D41C 4E 80 00 20 */ blr + +.global sub_802604c0 +sub_802604c0: +/* 802604C0 0025D420 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802604C4 0025D424 7C 08 02 A6 */ mflr r0 +/* 802604C8 0025D428 90 01 00 54 */ stw r0, 0x54(r1) +/* 802604CC 0025D42C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802604D0 0025D430 7C 9F 23 78 */ mr r31, r4 +/* 802604D4 0025D434 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802604D8 0025D438 7C 7E 1B 78 */ mr r30, r3 +/* 802604DC 0025D43C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802604E0 0025D440 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 802604E4 0025D444 7C 03 00 40 */ cmplw r3, r0 +/* 802604E8 0025D448 41 82 00 80 */ beq lbl_80260568 +/* 802604EC 0025D44C A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 802604F0 0025D450 7F E3 FB 78 */ mr r3, r31 +/* 802604F4 0025D454 38 81 00 08 */ addi r4, r1, 8 +/* 802604F8 0025D458 B0 01 00 08 */ sth r0, 8(r1) +/* 802604FC 0025D45C 4B DE C0 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80260500 0025D460 7C 64 1B 78 */ mr r4, r3 +/* 80260504 0025D464 38 61 00 0C */ addi r3, r1, 0xc +/* 80260508 0025D468 4B E4 F5 35 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 8026050C 0025D46C 80 83 00 04 */ lwz r4, 4(r3) +/* 80260510 0025D470 28 04 00 00 */ cmplwi r4, 0 +/* 80260514 0025D474 41 82 00 54 */ beq lbl_80260568 +/* 80260518 0025D478 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8026051C 0025D47C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80260520 0025D480 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80260524 0025D484 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80260528 0025D488 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8026052C 0025D48C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80260530 0025D490 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80260534 0025D494 81 84 00 00 */ lwz r12, 0(r4) +/* 80260538 0025D498 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8026053C 0025D49C 7D 89 03 A6 */ mtctr r12 +/* 80260540 0025D4A0 4E 80 04 21 */ bctrl +/* 80260544 0025D4A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260548 0025D4A8 7F C3 F3 78 */ mr r3, r30 +/* 8026054C 0025D4AC 7C 85 23 78 */ mr r5, r4 +/* 80260550 0025D4B0 7F E7 FB 78 */ mr r7, r31 +/* 80260554 0025D4B4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80260558 0025D4B8 4B FF FC 29 */ bl sub_80260180 +/* 8026055C 0025D4BC 38 00 00 00 */ li r0, 0 +/* 80260560 0025D4C0 98 01 00 38 */ stb r0, 0x38(r1) +/* 80260564 0025D4C4 48 00 00 08 */ b lbl_8026056C +lbl_80260568: +/* 80260568 0025D4C8 38 60 00 00 */ li r3, 0 +lbl_8026056C: +/* 8026056C 0025D4CC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80260570 0025D4D0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80260574 0025D4D4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80260578 0025D4D8 7C 08 03 A6 */ mtlr r0 +/* 8026057C 0025D4DC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80260580 0025D4E0 4E 80 00 20 */ blr + +.global sub_80260584 +sub_80260584: +/* 80260584 0025D4E4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80260588 0025D4E8 7C 08 02 A6 */ mflr r0 +/* 8026058C 0025D4EC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80260590 0025D4F0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80260594 0025D4F4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80260598 0025D4F8 7C 9E 23 78 */ mr r30, r4 +/* 8026059C 0025D4FC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802605A0 0025D500 7C 7D 1B 78 */ mr r29, r3 +/* 802605A4 0025D504 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 802605A8 0025D508 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 802605AC 0025D50C 2C 00 00 01 */ cmpwi r0, 1 +/* 802605B0 0025D510 40 82 00 A4 */ bne lbl_80260654 +/* 802605B4 0025D514 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802605B8 0025D518 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802605BC 0025D51C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802605C0 0025D520 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802605C4 0025D524 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802605C8 0025D528 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802605CC 0025D52C 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 802605D0 0025D530 4B E9 88 35 */ bl GetBallRadius__10CMorphBallCFv +/* 802605D4 0025D534 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 802605D8 0025D538 7F E4 FB 78 */ mr r4, r31 +/* 802605DC 0025D53C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 802605E0 0025D540 38 61 00 20 */ addi r3, r1, 0x20 +/* 802605E4 0025D544 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) +/* 802605E8 0025D548 EC 20 08 2A */ fadds f1, f0, f1 +/* 802605EC 0025D54C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802605F0 0025D550 EC 63 10 2A */ fadds f3, f3, f2 +/* 802605F4 0025D554 EC 00 10 2A */ fadds f0, f0, f2 +/* 802605F8 0025D558 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802605FC 0025D55C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80260600 0025D560 D0 01 00 08 */ stfs f0, 8(r1) +/* 80260604 0025D564 4B EB A3 29 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80260608 0025D568 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 8026060C 0025D56C 7F A3 EB 78 */ mr r3, r29 +/* 80260610 0025D570 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 80260614 0025D574 7F C7 F3 78 */ mr r7, r30 +/* 80260618 0025D578 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8026061C 0025D57C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80260620 0025D580 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80260624 0025D584 38 A1 00 08 */ addi r5, r1, 8 +/* 80260628 0025D588 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8026062C 0025D58C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80260630 0025D590 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80260634 0025D594 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 80260638 0025D598 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8026063C 0025D59C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80260640 0025D5A0 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80260644 0025D5A4 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80260648 0025D5A8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8026064C 0025D5AC 4B FF FB 35 */ bl sub_80260180 +/* 80260650 0025D5B0 48 00 00 08 */ b lbl_80260658 +lbl_80260654: +/* 80260654 0025D5B4 38 60 00 00 */ li r3, 0 +lbl_80260658: +/* 80260658 0025D5B8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8026065C 0025D5BC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80260660 0025D5C0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80260664 0025D5C4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80260668 0025D5C8 7C 08 03 A6 */ mtlr r0 +/* 8026066C 0025D5CC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80260670 0025D5D0 4E 80 00 20 */ blr + +.global sub_80260674 +sub_80260674: +/* 80260674 0025D5D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260678 0025D5D8 7C 08 02 A6 */ mflr r0 +/* 8026067C 0025D5DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80260680 0025D5E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260684 0025D5E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260688 0025D5E8 7C 9F 23 78 */ mr r31, r4 +/* 8026068C 0025D5EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260690 0025D5F0 7C 7E 1B 78 */ mr r30, r3 +/* 80260694 0025D5F4 41 82 00 08 */ beq lbl_8026069C +/* 80260698 0025D5F8 48 00 00 7C */ b lbl_80260714 +lbl_8026069C: +/* 8026069C 0025D5FC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 802606A0 0025D600 38 80 00 01 */ li r4, 1 +/* 802606A4 0025D604 4B ED A3 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 802606A8 0025D608 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 802606AC 0025D60C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802606B0 0025D610 7C 03 00 40 */ cmplw r3, r0 +/* 802606B4 0025D614 41 82 00 60 */ beq lbl_80260714 +/* 802606B8 0025D618 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 802606BC 0025D61C 7F E3 FB 78 */ mr r3, r31 +/* 802606C0 0025D620 38 81 00 08 */ addi r4, r1, 8 +/* 802606C4 0025D624 B0 01 00 08 */ sth r0, 8(r1) +/* 802606C8 0025D628 4B DE BE DD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802606CC 0025D62C 7C 64 1B 78 */ mr r4, r3 +/* 802606D0 0025D630 38 61 00 0C */ addi r3, r1, 0xc +/* 802606D4 0025D634 4B E4 F3 69 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 802606D8 0025D638 80 A3 00 04 */ lwz r5, 4(r3) +/* 802606DC 0025D63C 28 05 00 00 */ cmplwi r5, 0 +/* 802606E0 0025D640 41 82 00 2C */ beq lbl_8026070C +/* 802606E4 0025D644 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 802606E8 0025D648 7F C3 F3 78 */ mr r3, r30 +/* 802606EC 0025D64C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 802606F0 0025D650 38 81 00 14 */ addi r4, r1, 0x14 +/* 802606F4 0025D654 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 802606F8 0025D658 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802606FC 0025D65C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80260700 0025D660 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80260704 0025D664 4B E1 C4 59 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80260708 0025D668 48 00 00 0C */ b lbl_80260714 +lbl_8026070C: +/* 8026070C 0025D66C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260710 0025D670 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_80260714: +/* 80260714 0025D674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260718 0025D678 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026071C 0025D67C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260720 0025D680 7C 08 03 A6 */ mtlr r0 +/* 80260724 0025D684 38 21 00 30 */ addi r1, r1, 0x30 +/* 80260728 0025D688 4E 80 00 20 */ blr + +.global Think__9CTryclopsFfR13CStateManager +Think__9CTryclopsFfR13CStateManager: +/* 8026072C 0025D68C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260730 0025D690 7C 08 02 A6 */ mflr r0 +/* 80260734 0025D694 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260738 0025D698 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8026073C 0025D69C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80260740 0025D6A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80260744 0025D6A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80260748 0025D6A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026074C 0025D6AC FF E0 08 90 */ fmr f31, f1 +/* 80260750 0025D6B0 7C 7D 1B 78 */ mr r29, r3 +/* 80260754 0025D6B4 7C 9E 23 78 */ mr r30, r4 +/* 80260758 0025D6B8 4B E1 93 C1 */ bl Think__10CPatternedFfR13CStateManager +/* 8026075C 0025D6BC 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80260760 0025D6C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80260764 0025D6C4 41 82 00 1C */ beq lbl_80260780 +/* 80260768 0025D6C8 C0 3D 06 8C */ lfs f1, 0x68c(r29) +/* 8026076C 0025D6CC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260770 0025D6D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80260774 0025D6D4 40 81 00 0C */ ble lbl_80260780 +/* 80260778 0025D6D8 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 8026077C 0025D6DC D0 1D 06 8C */ stfs f0, 0x68c(r29) +lbl_80260780: +/* 80260780 0025D6E0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80260784 0025D6E4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80260788 0025D6E8 A0 83 02 6C */ lhz r4, 0x26c(r3) +/* 8026078C 0025D6EC 7C 04 00 40 */ cmplw r4, r0 +/* 80260790 0025D6F0 40 82 00 48 */ bne lbl_802607D8 +/* 80260794 0025D6F4 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 80260798 0025D6F8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8026079C 0025D6FC 40 82 00 3C */ bne lbl_802607D8 +/* 802607A0 0025D700 3B E0 00 00 */ li r31, 0 +/* 802607A4 0025D704 4B DB 04 B5 */ bl GetAttachedActorStruggle__7CPlayerCFv +/* 802607A8 0025D708 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) +/* 802607AC 0025D70C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802607B0 0025D710 40 82 00 1C */ bne lbl_802607CC +/* 802607B4 0025D714 7F A3 EB 78 */ mr r3, r29 +/* 802607B8 0025D718 7F C4 F3 78 */ mr r4, r30 +/* 802607BC 0025D71C 4B FF D4 15 */ bl sub_8025dbd0 +/* 802607C0 0025D720 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802607C4 0025D724 40 82 00 08 */ bne lbl_802607CC +/* 802607C8 0025D728 3B E0 00 01 */ li r31, 1 +lbl_802607CC: +/* 802607CC 0025D72C 88 1D 06 98 */ lbz r0, 0x698(r29) +/* 802607D0 0025D730 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b +/* 802607D4 0025D734 98 1D 06 98 */ stb r0, 0x698(r29) +lbl_802607D8: +/* 802607D8 0025D738 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802607DC 0025D73C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802607E0 0025D740 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802607E4 0025D744 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802607E8 0025D748 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802607EC 0025D74C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802607F0 0025D750 7C 08 03 A6 */ mtlr r0 +/* 802607F4 0025D754 38 21 00 30 */ addi r1, r1, 0x30 +/* 802607F8 0025D758 4E 80 00 20 */ blr + +.global sub_802607fc +sub_802607fc: +/* 802607FC 0025D75C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80260800 0025D760 7C 08 02 A6 */ mflr r0 +/* 80260804 0025D764 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260808 0025D768 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026080C 0025D76C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80260810 0025D770 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80260814 0025D774 7C 7E 1B 78 */ mr r30, r3 +/* 80260818 0025D778 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 8026081C 0025D77C C0 43 06 8C */ lfs f2, 0x68c(r3) +/* 80260820 0025D780 A0 BF 02 6C */ lhz r5, 0x26c(r31) +/* 80260824 0025D784 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260828 0025D788 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8026082C 0025D78C 7C 05 00 50 */ subf r0, r5, r0 +/* 80260830 0025D790 7C 00 00 34 */ cntlzw r0, r0 +/* 80260834 0025D794 54 06 D9 7E */ srwi r6, r0, 5 +/* 80260838 0025D798 7C A0 00 26 */ mfcr r5 +/* 8026083C 0025D79C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80260840 0025D7A0 54 A5 17 FE */ rlwinm r5, r5, 2, 0x1f, 0x1f +/* 80260844 0025D7A4 2C 00 00 01 */ cmpwi r0, 1 +/* 80260848 0025D7A8 40 82 00 44 */ bne lbl_8026088C +/* 8026084C 0025D7AC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80260850 0025D7B0 41 82 00 3C */ beq lbl_8026088C +/* 80260854 0025D7B4 28 05 00 00 */ cmplwi r5, 0 +/* 80260858 0025D7B8 40 82 00 34 */ bne lbl_8026088C +/* 8026085C 0025D7BC 4B F9 5B 11 */ bl InDetectionRange__10CPatternedFR13CStateManagerf +/* 80260860 0025D7C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80260864 0025D7C4 41 82 00 28 */ beq lbl_8026088C +/* 80260868 0025D7C8 7F E4 FB 78 */ mr r4, r31 +/* 8026086C 0025D7CC 38 61 00 08 */ addi r3, r1, 8 +/* 80260870 0025D7D0 48 02 44 D9 */ bl GetBallPosition__7CPlayerCFv +/* 80260874 0025D7D4 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80260878 0025D7D8 38 81 00 08 */ addi r4, r1, 8 +/* 8026087C 0025D7DC 4B F6 62 B9 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 80260880 0025D7E0 7C 60 00 34 */ cntlzw r0, r3 +/* 80260884 0025D7E4 54 03 D9 7E */ srwi r3, r0, 5 +/* 80260888 0025D7E8 48 00 00 08 */ b lbl_80260890 +lbl_8026088C: +/* 8026088C 0025D7EC 38 60 00 00 */ li r3, 0 +lbl_80260890: +/* 80260890 0025D7F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80260894 0025D7F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80260898 0025D7F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026089C 0025D7FC 7C 08 03 A6 */ mtlr r0 +/* 802608A0 0025D800 38 21 00 20 */ addi r1, r1, 0x20 +/* 802608A4 0025D804 4E 80 00 20 */ blr + +.global sub_802608a8 +sub_802608a8: +/* 802608A8 0025D808 94 21 F7 10 */ stwu r1, -0x8f0(r1) +/* 802608AC 0025D80C 7C 08 02 A6 */ mflr r0 +/* 802608B0 0025D810 90 01 08 F4 */ stw r0, 0x8f4(r1) +/* 802608B4 0025D814 DB E1 08 E0 */ stfd f31, 0x8e0(r1) +/* 802608B8 0025D818 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 +/* 802608BC 0025D81C DB C1 08 D0 */ stfd f30, 0x8d0(r1) +/* 802608C0 0025D820 F3 C1 08 D8 */ psq_st f30, -1832(r1), 0, qr0 +/* 802608C4 0025D824 DB A1 08 C0 */ stfd f29, 0x8c0(r1) +/* 802608C8 0025D828 F3 A1 08 C8 */ psq_st f29, -1848(r1), 0, qr0 +/* 802608CC 0025D82C DB 81 08 B0 */ stfd f28, 0x8b0(r1) +/* 802608D0 0025D830 F3 81 08 B8 */ psq_st f28, -1864(r1), 0, qr0 +/* 802608D4 0025D834 BF 61 08 9C */ stmw r27, 0x89c(r1) +/* 802608D8 0025D838 7C 7E 1B 78 */ mr r30, r3 +/* 802608DC 0025D83C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802608E0 0025D840 A0 63 06 94 */ lhz r3, 0x694(r3) +/* 802608E4 0025D844 7C 9F 23 78 */ mr r31, r4 +/* 802608E8 0025D848 7C 03 00 40 */ cmplw r3, r0 +/* 802608EC 0025D84C 41 82 00 0C */ beq lbl_802608F8 +/* 802608F0 0025D850 38 60 00 01 */ li r3, 1 +/* 802608F4 0025D854 48 00 02 C8 */ b lbl_80260BBC +lbl_802608F8: +/* 802608F8 0025D858 C1 3E 03 BC */ lfs f9, 0x3bc(r30) +/* 802608FC 0025D85C 38 61 00 78 */ addi r3, r1, 0x78 +/* 80260900 0025D860 C0 FE 00 50 */ lfs f7, 0x50(r30) +/* 80260904 0025D864 38 81 00 50 */ addi r4, r1, 0x50 +/* 80260908 0025D868 FD 40 48 50 */ fneg f10, f9 +/* 8026090C 0025D86C C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80260910 0025D870 C1 1E 00 60 */ lfs f8, 0x60(r30) +/* 80260914 0025D874 EC C7 48 2A */ fadds f6, f7, f9 +/* 80260918 0025D878 C3 FE 03 C0 */ lfs f31, 0x3c0(r30) +/* 8026091C 0025D87C EC 22 48 2A */ fadds f1, f2, f9 +/* 80260920 0025D880 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260924 0025D884 EC A8 F8 2A */ fadds f5, f8, f31 +/* 80260928 0025D888 EC 87 50 2A */ fadds f4, f7, f10 +/* 8026092C 0025D88C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80260930 0025D890 EC 68 00 2A */ fadds f3, f8, f0 +/* 80260934 0025D894 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80260938 0025D898 EC 02 50 2A */ fadds f0, f2, f10 +/* 8026093C 0025D89C EF C9 02 72 */ fmuls f30, f9, f9 +/* 80260940 0025D8A0 EF BF 07 F2 */ fmuls f29, f31, f31 +/* 80260944 0025D8A4 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 80260948 0025D8A8 D1 01 00 34 */ stfs f8, 0x34(r1) +/* 8026094C 0025D8AC D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80260950 0025D8B0 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 80260954 0025D8B4 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80260958 0025D8B8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8026095C 0025D8BC D0 E1 00 48 */ stfs f7, 0x48(r1) +/* 80260960 0025D8C0 D1 01 00 4C */ stfs f8, 0x4c(r1) +/* 80260964 0025D8C4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80260968 0025D8C8 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8026096C 0025D8CC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80260970 0025D8D0 48 0D 7B 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80260974 0025D8D4 38 00 00 00 */ li r0, 0 +/* 80260978 0025D8D8 80 AD 97 E4 */ lwz r5, lbl_805A83A4@sda21(r13) +/* 8026097C 0025D8DC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80260980 0025D8E0 38 60 00 00 */ li r3, 0 +/* 80260984 0025D8E4 38 80 00 01 */ li r4, 1 +/* 80260988 0025D8E8 48 12 95 6D */ bl __shl2i +/* 8026098C 0025D8EC 39 00 00 00 */ li r8, 0 +/* 80260990 0025D8F0 38 00 00 01 */ li r0, 1 +/* 80260994 0025D8F4 90 81 00 64 */ stw r4, 0x64(r1) +/* 80260998 0025D8F8 7F C7 F3 78 */ mr r7, r30 +/* 8026099C 0025D8FC 38 81 00 90 */ addi r4, r1, 0x90 +/* 802609A0 0025D900 38 A1 00 78 */ addi r5, r1, 0x78 +/* 802609A4 0025D904 90 61 00 60 */ stw r3, 0x60(r1) +/* 802609A8 0025D908 7F E3 FB 78 */ mr r3, r31 +/* 802609AC 0025D90C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802609B0 0025D910 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802609B4 0025D914 91 01 00 68 */ stw r8, 0x68(r1) +/* 802609B8 0025D918 90 01 00 70 */ stw r0, 0x70(r1) +/* 802609BC 0025D91C 4B DE BD 65 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 802609C0 0025D920 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802609C4 0025D924 3B A1 00 94 */ addi r29, r1, 0x94 +/* 802609C8 0025D928 7F BC EB 78 */ mr r28, r29 +/* 802609CC 0025D92C B0 1E 06 94 */ sth r0, 0x694(r30) +/* 802609D0 0025D930 48 00 00 CC */ b lbl_80260A9C +lbl_802609D4: +/* 802609D4 0025D934 A0 1C 00 00 */ lhz r0, 0(r28) +/* 802609D8 0025D938 7F E3 FB 78 */ mr r3, r31 +/* 802609DC 0025D93C 38 81 00 0C */ addi r4, r1, 0xc +/* 802609E0 0025D940 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802609E4 0025D944 4B DE BB C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802609E8 0025D948 7C 64 1B 78 */ mr r4, r3 +/* 802609EC 0025D94C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802609F0 0025D950 4B E4 F0 4D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 802609F4 0025D954 83 63 00 04 */ lwz r27, 4(r3) +/* 802609F8 0025D958 28 1B 00 00 */ cmplwi r27, 0 +/* 802609FC 0025D95C 41 82 00 9C */ beq lbl_80260A98 +/* 80260A00 0025D960 88 1B 01 90 */ lbz r0, 0x190(r27) +/* 80260A04 0025D964 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80260A08 0025D968 40 82 00 90 */ bne lbl_80260A98 +/* 80260A0C 0025D96C C0 BB 00 50 */ lfs f5, 0x50(r27) +/* 80260A10 0025D970 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80260A14 0025D974 C0 9B 00 60 */ lfs f4, 0x60(r27) +/* 80260A18 0025D978 EC 65 00 28 */ fsubs f3, f5, f0 +/* 80260A1C 0025D97C C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80260A20 0025D980 C0 DB 00 40 */ lfs f6, 0x40(r27) +/* 80260A24 0025D984 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80260A28 0025D988 EC 44 00 28 */ fsubs f2, f4, f0 +/* 80260A2C 0025D98C EC 03 00 F2 */ fmuls f0, f3, f3 +/* 80260A30 0025D990 EC 26 08 28 */ fsubs f1, f6, f1 +/* 80260A34 0025D994 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80260A38 0025D998 EC 01 00 7A */ fmadds f0, f1, f1, f0 +/* 80260A3C 0025D99C EF 82 00 2A */ fadds f28, f2, f0 +/* 80260A40 0025D9A0 FC 1C F0 40 */ fcmpo cr0, f28, f30 +/* 80260A44 0025D9A4 40 80 00 54 */ bge lbl_80260A98 +/* 80260A48 0025D9A8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260A4C 0025D9AC 38 00 00 01 */ li r0, 1 +/* 80260A50 0025D9B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80260A54 0025D9B4 40 81 00 10 */ ble lbl_80260A64 +/* 80260A58 0025D9B8 FC 02 E8 40 */ fcmpo cr0, f2, f29 +/* 80260A5C 0025D9BC 7C 00 00 26 */ mfcr r0 +/* 80260A60 0025D9C0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_80260A64: +/* 80260A64 0025D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80260A68 0025D9C8 41 82 00 30 */ beq lbl_80260A98 +/* 80260A6C 0025D9CC D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80260A70 0025D9D0 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80260A74 0025D9D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80260A78 0025D9D8 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80260A7C 0025D9DC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80260A80 0025D9E0 4B F6 60 B5 */ bl OnPath__15CPathFindSearchCFRC9CVector3f +/* 80260A84 0025D9E4 2C 03 00 00 */ cmpwi r3, 0 +/* 80260A88 0025D9E8 40 82 00 10 */ bne lbl_80260A98 +/* 80260A8C 0025D9EC A0 1B 00 08 */ lhz r0, 8(r27) +/* 80260A90 0025D9F0 FF C0 E0 90 */ fmr f30, f28 +/* 80260A94 0025D9F4 B0 1E 06 94 */ sth r0, 0x694(r30) +lbl_80260A98: +/* 80260A98 0025D9F8 3B 9C 00 02 */ addi r28, r28, 2 +lbl_80260A9C: +/* 80260A9C 0025D9FC 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80260AA0 0025DA00 54 00 08 3C */ slwi r0, r0, 1 +/* 80260AA4 0025DA04 7C 1D 02 14 */ add r0, r29, r0 +/* 80260AA8 0025DA08 7C 1C 00 40 */ cmplw r28, r0 +/* 80260AAC 0025DA0C 40 82 FF 28 */ bne lbl_802609D4 +/* 80260AB0 0025DA10 A0 7E 06 94 */ lhz r3, 0x694(r30) +/* 80260AB4 0025DA14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260AB8 0025DA18 7C 03 00 40 */ cmplw r3, r0 +/* 80260ABC 0025DA1C 41 82 00 A8 */ beq lbl_80260B64 +/* 80260AC0 0025DA20 A0 1E 06 94 */ lhz r0, 0x694(r30) +/* 80260AC4 0025DA24 7F E3 FB 78 */ mr r3, r31 +/* 80260AC8 0025DA28 38 81 00 08 */ addi r4, r1, 8 +/* 80260ACC 0025DA2C B0 01 00 08 */ sth r0, 8(r1) +/* 80260AD0 0025DA30 4B DE BA A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80260AD4 0025DA34 7C 64 1B 78 */ mr r4, r3 +/* 80260AD8 0025DA38 38 61 00 18 */ addi r3, r1, 0x18 +/* 80260ADC 0025DA3C 4B E4 EF 61 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" +/* 80260AE0 0025DA40 80 A3 00 04 */ lwz r5, 4(r3) +/* 80260AE4 0025DA44 28 05 00 00 */ cmplwi r5, 0 +/* 80260AE8 0025DA48 41 82 00 7C */ beq lbl_80260B64 +/* 80260AEC 0025DA4C 88 05 01 90 */ lbz r0, 0x190(r5) +/* 80260AF0 0025DA50 38 60 00 01 */ li r3, 1 +/* 80260AF4 0025DA54 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80260AF8 0025DA58 38 80 00 00 */ li r4, 0 +/* 80260AFC 0025DA5C 98 05 01 90 */ stb r0, 0x190(r5) +/* 80260B00 0025DA60 88 05 01 90 */ lbz r0, 0x190(r5) +/* 80260B04 0025DA64 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80260B08 0025DA68 98 05 01 90 */ stb r0, 0x190(r5) +/* 80260B0C 0025DA6C 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 80260B10 0025DA70 2C 05 00 00 */ cmpwi r5, 0 +/* 80260B14 0025DA74 40 81 00 40 */ ble lbl_80260B54 +/* 80260B18 0025DA78 2C 05 00 08 */ cmpwi r5, 8 +/* 80260B1C 0025DA7C 38 65 FF F8 */ addi r3, r5, -8 +/* 80260B20 0025DA80 40 81 00 20 */ ble lbl_80260B40 +/* 80260B24 0025DA84 38 03 00 07 */ addi r0, r3, 7 +/* 80260B28 0025DA88 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260B2C 0025DA8C 7C 09 03 A6 */ mtctr r0 +/* 80260B30 0025DA90 2C 03 00 00 */ cmpwi r3, 0 +/* 80260B34 0025DA94 40 81 00 0C */ ble lbl_80260B40 +lbl_80260B38: +/* 80260B38 0025DA98 38 84 00 08 */ addi r4, r4, 8 +/* 80260B3C 0025DA9C 42 00 FF FC */ bdnz lbl_80260B38 +lbl_80260B40: +/* 80260B40 0025DAA0 7C 04 28 50 */ subf r0, r4, r5 +/* 80260B44 0025DAA4 7C 09 03 A6 */ mtctr r0 +/* 80260B48 0025DAA8 7C 04 28 00 */ cmpw r4, r5 +/* 80260B4C 0025DAAC 40 80 00 08 */ bge lbl_80260B54 +lbl_80260B50: +/* 80260B50 0025DAB0 42 00 00 00 */ bdnz lbl_80260B50 +lbl_80260B54: +/* 80260B54 0025DAB4 38 00 00 00 */ li r0, 0 +/* 80260B58 0025DAB8 38 60 00 01 */ li r3, 1 +/* 80260B5C 0025DABC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80260B60 0025DAC0 48 00 00 5C */ b lbl_80260BBC +lbl_80260B64: +/* 80260B64 0025DAC4 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 80260B68 0025DAC8 38 60 00 00 */ li r3, 0 +/* 80260B6C 0025DACC 2C 05 00 00 */ cmpwi r5, 0 +/* 80260B70 0025DAD0 40 81 00 40 */ ble lbl_80260BB0 +/* 80260B74 0025DAD4 2C 05 00 08 */ cmpwi r5, 8 +/* 80260B78 0025DAD8 38 85 FF F8 */ addi r4, r5, -8 +/* 80260B7C 0025DADC 40 81 00 20 */ ble lbl_80260B9C +/* 80260B80 0025DAE0 38 04 00 07 */ addi r0, r4, 7 +/* 80260B84 0025DAE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260B88 0025DAE8 7C 09 03 A6 */ mtctr r0 +/* 80260B8C 0025DAEC 2C 04 00 00 */ cmpwi r4, 0 +/* 80260B90 0025DAF0 40 81 00 0C */ ble lbl_80260B9C +lbl_80260B94: +/* 80260B94 0025DAF4 38 63 00 08 */ addi r3, r3, 8 +/* 80260B98 0025DAF8 42 00 FF FC */ bdnz lbl_80260B94 +lbl_80260B9C: +/* 80260B9C 0025DAFC 7C 03 28 50 */ subf r0, r3, r5 +/* 80260BA0 0025DB00 7C 09 03 A6 */ mtctr r0 +/* 80260BA4 0025DB04 7C 03 28 00 */ cmpw r3, r5 +/* 80260BA8 0025DB08 40 80 00 08 */ bge lbl_80260BB0 +lbl_80260BAC: +/* 80260BAC 0025DB0C 42 00 00 00 */ bdnz lbl_80260BAC +lbl_80260BB0: +/* 80260BB0 0025DB10 38 00 00 00 */ li r0, 0 +/* 80260BB4 0025DB14 38 60 00 00 */ li r3, 0 +/* 80260BB8 0025DB18 90 01 00 90 */ stw r0, 0x90(r1) +lbl_80260BBC: +/* 80260BBC 0025DB1C E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 +/* 80260BC0 0025DB20 CB E1 08 E0 */ lfd f31, 0x8e0(r1) +/* 80260BC4 0025DB24 E3 C1 08 D8 */ psq_l f30, -1832(r1), 0, qr0 +/* 80260BC8 0025DB28 CB C1 08 D0 */ lfd f30, 0x8d0(r1) +/* 80260BCC 0025DB2C E3 A1 08 C8 */ psq_l f29, -1848(r1), 0, qr0 +/* 80260BD0 0025DB30 CB A1 08 C0 */ lfd f29, 0x8c0(r1) +/* 80260BD4 0025DB34 E3 81 08 B8 */ psq_l f28, -1864(r1), 0, qr0 +/* 80260BD8 0025DB38 CB 81 08 B0 */ lfd f28, 0x8b0(r1) +/* 80260BDC 0025DB3C BB 61 08 9C */ lmw r27, 0x89c(r1) +/* 80260BE0 0025DB40 80 01 08 F4 */ lwz r0, 0x8f4(r1) +/* 80260BE4 0025DB44 7C 08 03 A6 */ mtlr r0 +/* 80260BE8 0025DB48 38 21 08 F0 */ addi r1, r1, 0x8f0 +/* 80260BEC 0025DB4C 4E 80 00 20 */ blr + +.global sub_80260bf0 +sub_80260bf0: +/* 80260BF0 0025DB50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80260BF4 0025DB54 7C 08 02 A6 */ mflr r0 +/* 80260BF8 0025DB58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80260BFC 0025DB5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260C00 0025DB60 7C DF 33 78 */ mr r31, r6 +/* 80260C04 0025DB64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260C08 0025DB68 7C 9E 23 78 */ mr r30, r4 +/* 80260C0C 0025DB6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80260C10 0025DB70 7C 7D 1B 78 */ mr r29, r3 +/* 80260C14 0025DB74 A0 05 00 00 */ lhz r0, 0(r5) +/* 80260C18 0025DB78 38 A1 00 08 */ addi r5, r1, 8 +/* 80260C1C 0025DB7C B0 01 00 08 */ sth r0, 8(r1) +/* 80260C20 0025DB80 4B E1 BF 59 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80260C24 0025DB84 2C 1E 00 22 */ cmpwi r30, 0x22 +/* 80260C28 0025DB88 41 82 00 5C */ beq lbl_80260C84 +/* 80260C2C 0025DB8C 40 80 00 10 */ bge lbl_80260C3C +/* 80260C30 0025DB90 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 80260C34 0025DB94 40 80 00 14 */ bge lbl_80260C48 +/* 80260C38 0025DB98 48 00 00 4C */ b lbl_80260C84 +lbl_80260C3C: +/* 80260C3C 0025DB9C 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 80260C40 0025DBA0 40 80 00 44 */ bge lbl_80260C84 +/* 80260C44 0025DBA4 48 00 00 14 */ b lbl_80260C58 +lbl_80260C48: +/* 80260C48 0025DBA8 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80260C4C 0025DBAC 7F E4 FB 78 */ mr r4, r31 +/* 80260C50 0025DBB0 4B ED A0 A1 */ bl Activate__15CBodyControllerFR13CStateManager +/* 80260C54 0025DBB4 48 00 00 30 */ b lbl_80260C84 +lbl_80260C58: +/* 80260C58 0025DBB8 80 BD 00 04 */ lwz r5, 4(r29) +/* 80260C5C 0025DBBC 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 80260C60 0025DBC0 54 A3 18 38 */ slwi r3, r5, 3 +/* 80260C64 0025DBC4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80260C68 0025DBC8 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80260C6C 0025DBCC 38 03 00 04 */ addi r0, r3, 4 +/* 80260C70 0025DBD0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80260C74 0025DBD4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80260C78 0025DBD8 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80260C7C 0025DBDC 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 80260C80 0025DBE0 90 1D 05 68 */ stw r0, 0x568(r29) +lbl_80260C84: +/* 80260C84 0025DBE4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260C88 0025DBE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260C8C 0025DBEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260C90 0025DBF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80260C94 0025DBF4 7C 08 03 A6 */ mtlr r0 +/* 80260C98 0025DBF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80260C9C 0025DBFC 4E 80 00 20 */ blr + +.global __dt__9CTryclopsFv +__dt__9CTryclopsFv: +/* 80260CA0 0025DC00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80260CA4 0025DC04 7C 08 02 A6 */ mflr r0 +/* 80260CA8 0025DC08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80260CAC 0025DC0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80260CB0 0025DC10 7C 9F 23 78 */ mr r31, r4 +/* 80260CB4 0025DC14 93 C1 00 08 */ stw r30, 8(r1) +/* 80260CB8 0025DC18 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80260CBC 0025DC1C 41 82 00 90 */ beq lbl_80260D4C +/* 80260CC0 0025DC20 3C 60 80 3F */ lis r3, lbl_803E9A40@ha +/* 80260CC4 0025DC24 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80260CC8 0025DC28 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l +/* 80260CCC 0025DC2C 90 1E 00 00 */ stw r0, 0(r30) +/* 80260CD0 0025DC30 41 82 00 60 */ beq lbl_80260D30 +/* 80260CD4 0025DC34 34 1E 05 6C */ addic. r0, r30, 0x56c +/* 80260CD8 0025DC38 41 82 00 58 */ beq lbl_80260D30 +/* 80260CDC 0025DC3C 80 BE 05 6C */ lwz r5, 0x56c(r30) +/* 80260CE0 0025DC40 38 60 00 00 */ li r3, 0 +/* 80260CE4 0025DC44 2C 05 00 00 */ cmpwi r5, 0 +/* 80260CE8 0025DC48 40 81 00 40 */ ble lbl_80260D28 +/* 80260CEC 0025DC4C 2C 05 00 08 */ cmpwi r5, 8 +/* 80260CF0 0025DC50 38 85 FF F8 */ addi r4, r5, -8 +/* 80260CF4 0025DC54 40 81 00 20 */ ble lbl_80260D14 +/* 80260CF8 0025DC58 38 04 00 07 */ addi r0, r4, 7 +/* 80260CFC 0025DC5C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80260D00 0025DC60 7C 09 03 A6 */ mtctr r0 +/* 80260D04 0025DC64 2C 04 00 00 */ cmpwi r4, 0 +/* 80260D08 0025DC68 40 81 00 0C */ ble lbl_80260D14 +lbl_80260D0C: +/* 80260D0C 0025DC6C 38 63 00 08 */ addi r3, r3, 8 +/* 80260D10 0025DC70 42 00 FF FC */ bdnz lbl_80260D0C +lbl_80260D14: +/* 80260D14 0025DC74 7C 03 28 50 */ subf r0, r3, r5 +/* 80260D18 0025DC78 7C 09 03 A6 */ mtctr r0 +/* 80260D1C 0025DC7C 7C 03 28 00 */ cmpw r3, r5 +/* 80260D20 0025DC80 40 80 00 08 */ bge lbl_80260D28 +lbl_80260D24: +/* 80260D24 0025DC84 42 00 00 00 */ bdnz lbl_80260D24 +lbl_80260D28: +/* 80260D28 0025DC88 38 00 00 00 */ li r0, 0 +/* 80260D2C 0025DC8C 90 1E 05 6C */ stw r0, 0x56c(r30) +lbl_80260D30: +/* 80260D30 0025DC90 7F C3 F3 78 */ mr r3, r30 +/* 80260D34 0025DC94 38 80 00 00 */ li r4, 0 +/* 80260D38 0025DC98 4B E1 68 39 */ bl __dt__10CPatternedFv +/* 80260D3C 0025DC9C 7F E0 07 35 */ extsh. r0, r31 +/* 80260D40 0025DCA0 40 81 00 0C */ ble lbl_80260D4C +/* 80260D44 0025DCA4 7F C3 F3 78 */ mr r3, r30 +/* 80260D48 0025DCA8 48 0B 4B E9 */ bl Free__7CMemoryFPCv +lbl_80260D4C: +/* 80260D4C 0025DCAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80260D50 0025DCB0 7F C3 F3 78 */ mr r3, r30 +/* 80260D54 0025DCB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80260D58 0025DCB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80260D5C 0025DCBC 7C 08 03 A6 */ mtlr r0 +/* 80260D60 0025DCC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80260D64 0025DCC4 4E 80 00 20 */ blr + +.global __ct__9CTryclops +__ct__9CTryclops: +/* 80260D68 0025DCC8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80260D6C 0025DCCC 7C 08 02 A6 */ mflr r0 +/* 80260D70 0025DCD0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80260D74 0025DCD4 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80260D78 0025DCD8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80260D7C 0025DCDC DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80260D80 0025DCE0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80260D84 0025DCE4 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80260D88 0025DCE8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80260D8C 0025DCEC DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80260D90 0025DCF0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80260D94 0025DCF4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80260D98 0025DCF8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80260D9C 0025DCFC A0 04 00 00 */ lhz r0, 0(r4) +/* 80260DA0 0025DD00 7D 3E 4B 78 */ mr r30, r9 +/* 80260DA4 0025DD04 7C C4 33 78 */ mr r4, r6 +/* 80260DA8 0025DD08 7D 0C 43 78 */ mr r12, r8 +/* 80260DAC 0025DD0C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80260DB0 0025DD10 7C A6 2B 78 */ mr r6, r5 +/* 80260DB4 0025DD14 7C 88 23 78 */ mr r8, r4 +/* 80260DB8 0025DD18 7C E9 3B 78 */ mr r9, r7 +/* 80260DBC 0025DD1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80260DC0 0025DD20 39 60 00 00 */ li r11, 0 +/* 80260DC4 0025DD24 38 00 00 01 */ li r0, 1 +/* 80260DC8 0025DD28 FF 80 08 90 */ fmr f28, f1 +/* 80260DCC 0025DD2C 91 61 00 0C */ stw r11, 0xc(r1) +/* 80260DD0 0025DD30 FF A0 10 90 */ fmr f29, f2 +/* 80260DD4 0025DD34 FF C0 18 90 */ fmr f30, f3 +/* 80260DD8 0025DD38 7C 7F 1B 78 */ mr r31, r3 +/* 80260DDC 0025DD3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80260DE0 0025DD40 FF E0 20 90 */ fmr f31, f4 +/* 80260DE4 0025DD44 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80260DE8 0025DD48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80260DEC 0025DD4C 38 80 00 26 */ li r4, 0x26 +/* 80260DF0 0025DD50 38 E0 00 00 */ li r7, 0 +/* 80260DF4 0025DD54 91 41 00 18 */ stw r10, 0x18(r1) +/* 80260DF8 0025DD58 7D 8A 63 78 */ mr r10, r12 +/* 80260DFC 0025DD5C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80260E00 0025DD60 4B E1 C6 51 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80260E04 0025DD64 3C 60 80 3F */ lis r3, lbl_803E9A40@ha +/* 80260E08 0025DD68 C0 22 BA 3C */ lfs f1, lbl_805AD75C@sda21(r2) +/* 80260E0C 0025DD6C 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l +/* 80260E10 0025DD70 38 7F 05 68 */ addi r3, r31, 0x568 +/* 80260E14 0025DD74 90 1F 00 00 */ stw r0, 0(r31) +/* 80260E18 0025DD78 FC 40 08 90 */ fmr f2, f1 +/* 80260E1C 0025DD7C 38 80 00 00 */ li r4, 0 +/* 80260E20 0025DD80 38 A0 00 01 */ li r5, 1 +/* 80260E24 0025DD84 80 DE 01 0C */ lwz r6, 0x10c(r30) +/* 80260E28 0025DD88 4B F6 7F 6D */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80260E2C 0025DD8C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80260E30 0025DD90 38 7F 06 4C */ addi r3, r31, 0x64c +/* 80260E34 0025DD94 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80260E38 0025DD98 48 0B 1D 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80260E3C 0025DD9C C0 02 BA 60 */ lfs f0, lbl_805AD780@sda21(r2) +/* 80260E40 0025DDA0 C0 22 BA 5C */ lfs f1, lbl_805AD77C@sda21(r2) +/* 80260E44 0025DDA4 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80260E48 0025DDA8 D3 9F 06 7C */ stfs f28, 0x67c(r31) +/* 80260E4C 0025DDAC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80260E50 0025DDB0 48 13 35 A1 */ bl cos +/* 80260E54 0025DDB4 FC 20 08 18 */ frsp f1, f1 +/* 80260E58 0025DDB8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) +/* 80260E5C 0025DDBC 38 A0 00 00 */ li r5, 0 +/* 80260E60 0025DDC0 7F E3 FB 78 */ mr r3, r31 +/* 80260E64 0025DDC4 38 80 00 00 */ li r4, 0 +/* 80260E68 0025DDC8 D0 3F 06 80 */ stfs f1, 0x680(r31) +/* 80260E6C 0025DDCC D3 DF 06 84 */ stfs f30, 0x684(r31) +/* 80260E70 0025DDD0 D3 FF 06 88 */ stfs f31, 0x688(r31) +/* 80260E74 0025DDD4 D0 1F 06 8C */ stfs f0, 0x68c(r31) +/* 80260E78 0025DDD8 90 BF 06 90 */ stw r5, 0x690(r31) +/* 80260E7C 0025DDDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260E80 0025DDE0 B0 1F 06 94 */ sth r0, 0x694(r31) +/* 80260E84 0025DDE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80260E88 0025DDE8 B0 1F 06 96 */ sth r0, 0x696(r31) +/* 80260E8C 0025DDEC 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260E90 0025DDF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80260E94 0025DDF4 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260E98 0025DDF8 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260E9C 0025DDFC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80260EA0 0025DE00 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EA4 0025DE04 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260EA8 0025DE08 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80260EAC 0025DE0C 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EB0 0025DE10 88 1F 06 98 */ lbz r0, 0x698(r31) +/* 80260EB4 0025DE14 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80260EB8 0025DE18 98 1F 06 98 */ stb r0, 0x698(r31) +/* 80260EBC 0025DE1C 4B DF 1E B1 */ bl CreateShadow__6CActorFb +/* 80260EC0 0025DE20 7F E3 FB 78 */ mr r3, r31 +/* 80260EC4 0025DE24 4B E1 69 D1 */ bl MakeThermalColdAndHot__10CPatternedFv +/* 80260EC8 0025DE28 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80260ECC 0025DE2C 38 80 00 00 */ li r4, 0 +/* 80260ED0 0025DE30 4B FD 2E 95 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80260ED4 0025DE34 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80260ED8 0025DE38 38 60 00 00 */ li r3, 0 +/* 80260EDC 0025DE3C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80260EE0 0025DE40 7F E3 FB 78 */ mr r3, r31 +/* 80260EE4 0025DE44 98 1F 03 28 */ stb r0, 0x328(r31) +/* 80260EE8 0025DE48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80260EEC 0025DE4C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80260EF0 0025DE50 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80260EF4 0025DE54 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80260EF8 0025DE58 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80260EFC 0025DE5C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80260F00 0025DE60 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 80260F04 0025DE64 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 80260F08 0025DE68 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80260F0C 0025DE6C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80260F10 0025DE70 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80260F14 0025DE74 7C 08 03 A6 */ mtlr r0 +/* 80260F18 0025DE78 38 21 00 70 */ addi r1, r1, 0x70 +/* 80260F1C 0025DE7C 4E 80 00 20 */ blr + +.global __sinit_CTryclops_cpp +__sinit_CTryclops_cpp: +/* 80260F20 0025DE80 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80260F24 0025DE84 7C 08 02 A6 */ mflr r0 +/* 80260F28 0025DE88 39 60 00 02 */ li r11, 2 +/* 80260F2C 0025DE8C 38 80 00 02 */ li r4, 2 +/* 80260F30 0025DE90 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80260F34 0025DE94 38 00 00 00 */ li r0, 0 +/* 80260F38 0025DE98 38 61 00 30 */ addi r3, r1, 0x30 +/* 80260F3C 0025DE9C 38 A0 00 02 */ li r5, 2 +/* 80260F40 0025DEA0 BD E1 00 9C */ stmw r15, 0x9c(r1) +/* 80260F44 0025DEA4 38 C0 00 02 */ li r6, 2 +/* 80260F48 0025DEA8 38 E0 00 02 */ li r7, 2 +/* 80260F4C 0025DEAC 39 00 00 02 */ li r8, 2 +/* 80260F50 0025DEB0 39 20 00 01 */ li r9, 1 +/* 80260F54 0025DEB4 39 40 00 02 */ li r10, 2 +/* 80260F58 0025DEB8 91 61 00 08 */ stw r11, 8(r1) +/* 80260F5C 0025DEBC 91 61 00 0C */ stw r11, 0xc(r1) +/* 80260F60 0025DEC0 91 61 00 10 */ stw r11, 0x10(r1) +/* 80260F64 0025DEC4 91 61 00 14 */ stw r11, 0x14(r1) +/* 80260F68 0025DEC8 91 61 00 18 */ stw r11, 0x18(r1) +/* 80260F6C 0025DECC 91 61 00 1C */ stw r11, 0x1c(r1) +/* 80260F70 0025DED0 91 61 00 20 */ stw r11, 0x20(r1) +/* 80260F74 0025DED4 91 61 00 24 */ stw r11, 0x24(r1) +/* 80260F78 0025DED8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80260F7C 0025DEDC 4B EA 19 B9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +/* 80260F80 0025DEE0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80260F84 0025DEE4 3C 80 80 57 */ lis r4, lbl_80572614@ha +/* 80260F88 0025DEE8 C0 22 BA 34 */ lfs f1, lbl_805AD754@sda21(r2) +/* 80260F8C 0025DEEC 3C A0 80 57 */ lis r5, lbl_80572688@ha +/* 80260F90 0025DEF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80260F94 0025DEF4 94 64 26 14 */ stwu r3, lbl_80572614@l(r4) +/* 80260F98 0025DEF8 81 E1 00 38 */ lwz r15, 0x38(r1) +/* 80260F9C 0025DEFC 82 01 00 3C */ lwz r16, 0x3c(r1) +/* 80260FA0 0025DF00 82 21 00 40 */ lwz r17, 0x40(r1) +/* 80260FA4 0025DF04 82 41 00 44 */ lwz r18, 0x44(r1) +/* 80260FA8 0025DF08 82 61 00 48 */ lwz r19, 0x48(r1) +/* 80260FAC 0025DF0C 82 81 00 4C */ lwz r20, 0x4c(r1) +/* 80260FB0 0025DF10 82 A1 00 50 */ lwz r21, 0x50(r1) +/* 80260FB4 0025DF14 82 C1 00 54 */ lwz r22, 0x54(r1) +/* 80260FB8 0025DF18 82 E1 00 58 */ lwz r23, 0x58(r1) +/* 80260FBC 0025DF1C 83 01 00 5C */ lwz r24, 0x5c(r1) +/* 80260FC0 0025DF20 83 21 00 60 */ lwz r25, 0x60(r1) +/* 80260FC4 0025DF24 83 41 00 64 */ lwz r26, 0x64(r1) +/* 80260FC8 0025DF28 83 61 00 68 */ lwz r27, 0x68(r1) +/* 80260FCC 0025DF2C 83 81 00 6C */ lwz r28, 0x6c(r1) +/* 80260FD0 0025DF30 83 A1 00 70 */ lwz r29, 0x70(r1) +/* 80260FD4 0025DF34 83 C1 00 74 */ lwz r30, 0x74(r1) +/* 80260FD8 0025DF38 83 E1 00 78 */ lwz r31, 0x78(r1) +/* 80260FDC 0025DF3C 81 81 00 7C */ lwz r12, 0x7c(r1) +/* 80260FE0 0025DF40 81 61 00 80 */ lwz r11, 0x80(r1) +/* 80260FE4 0025DF44 81 41 00 84 */ lwz r10, 0x84(r1) +/* 80260FE8 0025DF48 81 21 00 88 */ lwz r9, 0x88(r1) +/* 80260FEC 0025DF4C 81 01 00 8C */ lwz r8, 0x8c(r1) +/* 80260FF0 0025DF50 80 E1 00 90 */ lwz r7, 0x90(r1) +/* 80260FF4 0025DF54 80 C1 00 94 */ lwz r6, 0x94(r1) +/* 80260FF8 0025DF58 D4 25 26 88 */ stfsu f1, lbl_80572688@l(r5) +/* 80260FFC 0025DF5C C0 02 BA 64 */ lfs f0, lbl_805AD784@sda21(r2) +/* 80261000 0025DF60 90 04 00 04 */ stw r0, 4(r4) +/* 80261004 0025DF64 91 E4 00 08 */ stw r15, 8(r4) +/* 80261008 0025DF68 92 04 00 0C */ stw r16, 0xc(r4) +/* 8026100C 0025DF6C 92 24 00 10 */ stw r17, 0x10(r4) +/* 80261010 0025DF70 92 44 00 14 */ stw r18, 0x14(r4) +/* 80261014 0025DF74 92 64 00 18 */ stw r19, 0x18(r4) +/* 80261018 0025DF78 92 84 00 1C */ stw r20, 0x1c(r4) +/* 8026101C 0025DF7C 92 A4 00 20 */ stw r21, 0x20(r4) +/* 80261020 0025DF80 92 C4 00 24 */ stw r22, 0x24(r4) +/* 80261024 0025DF84 92 E4 00 28 */ stw r23, 0x28(r4) +/* 80261028 0025DF88 93 04 00 2C */ stw r24, 0x2c(r4) +/* 8026102C 0025DF8C 93 24 00 30 */ stw r25, 0x30(r4) +/* 80261030 0025DF90 93 44 00 34 */ stw r26, 0x34(r4) +/* 80261034 0025DF94 93 64 00 38 */ stw r27, 0x38(r4) +/* 80261038 0025DF98 93 84 00 3C */ stw r28, 0x3c(r4) +/* 8026103C 0025DF9C 93 A4 00 40 */ stw r29, 0x40(r4) +/* 80261040 0025DFA0 93 C4 00 44 */ stw r30, 0x44(r4) +/* 80261044 0025DFA4 93 E4 00 48 */ stw r31, 0x48(r4) +/* 80261048 0025DFA8 91 84 00 4C */ stw r12, 0x4c(r4) +/* 8026104C 0025DFAC 91 64 00 50 */ stw r11, 0x50(r4) +/* 80261050 0025DFB0 91 44 00 54 */ stw r10, 0x54(r4) +/* 80261054 0025DFB4 91 24 00 58 */ stw r9, 0x58(r4) +/* 80261058 0025DFB8 91 04 00 5C */ stw r8, 0x5c(r4) +/* 8026105C 0025DFBC 90 E4 00 60 */ stw r7, 0x60(r4) +/* 80261060 0025DFC0 90 C4 00 64 */ stw r6, 0x64(r4) +/* 80261064 0025DFC4 D0 25 00 04 */ stfs f1, 4(r5) +/* 80261068 0025DFC8 D0 05 00 08 */ stfs f0, 8(r5) +/* 8026106C 0025DFCC B9 E1 00 9C */ lmw r15, 0x9c(r1) +/* 80261070 0025DFD0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80261074 0025DFD4 7C 08 03 A6 */ mtlr r0 +/* 80261078 0025DFD8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8026107C 0025DFDC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CWallWalker.s b/asm/Kyoto_CWD/Enemies/CWallWalker.s new file mode 100644 index 00000000..6876dab7 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CWallWalker.s @@ -0,0 +1,1035 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Think__11CWallWalkerFfR13CStateManager +Think__11CWallWalkerFfR13CStateManager: +/* 8026856C 002654CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80268570 002654D0 7C 08 02 A6 */ mflr r0 +/* 80268574 002654D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80268578 002654D8 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8026857C 002654DC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80268580 002654E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80268584 002654E4 7C 7F 1B 78 */ mr r31, r3 +/* 80268588 002654E8 FF E0 08 90 */ fmr f31, f1 +/* 8026858C 002654EC 4B E1 15 8D */ bl Think__10CPatternedFfR13CStateManager +/* 80268590 002654F0 80 1F 05 CC */ lwz r0, 0x5cc(r31) +/* 80268594 002654F4 2C 00 FF FF */ cmpwi r0, -1 +/* 80268598 002654F8 41 82 01 18 */ beq lbl_802686B0 +/* 8026859C 002654FC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802685A0 00265500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802685A4 00265504 41 82 00 50 */ beq lbl_802685F4 +/* 802685A8 00265508 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685AC 0026550C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802685B0 00265510 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802685B4 00265514 40 80 00 88 */ bge lbl_8026863C +/* 802685B8 00265518 38 7F 01 38 */ addi r3, r31, 0x138 +/* 802685BC 0026551C 48 0A C2 FD */ bl Magnitude__9CVector3fCFv +/* 802685C0 00265520 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 802685C4 00265524 C0 22 BB 00 */ lfs f1, lbl_805AD820@sda21(r2) +/* 802685C8 00265528 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) +/* 802685CC 0026552C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802685D0 00265530 EC 22 08 24 */ fdivs f1, f2, f1 +/* 802685D4 00265534 EC 23 08 2A */ fadds f1, f3, f1 +/* 802685D8 00265538 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) +/* 802685DC 0026553C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685E0 00265540 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802685E4 00265544 4C 41 13 82 */ cror 2, 1, 2 +/* 802685E8 00265548 40 82 00 54 */ bne lbl_8026863C +/* 802685EC 0026554C D0 1F 05 C8 */ stfs f0, 0x5c8(r31) +/* 802685F0 00265550 48 00 00 4C */ b lbl_8026863C +lbl_802685F4: +/* 802685F4 00265554 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 802685F8 00265558 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 802685FC 0026555C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268600 00265560 40 81 00 3C */ ble lbl_8026863C +/* 80268604 00265564 38 7F 01 38 */ addi r3, r31, 0x138 +/* 80268608 00265568 48 0A C2 B1 */ bl Magnitude__9CVector3fCFv +/* 8026860C 0026556C EC 5F 00 72 */ fmuls f2, f31, f1 +/* 80268610 00265570 C0 22 BB 08 */ lfs f1, lbl_805AD828@sda21(r2) +/* 80268614 00265574 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) +/* 80268618 00265578 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 8026861C 0026557C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80268620 00265580 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80268624 00265584 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) +/* 80268628 00265588 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 8026862C 0026558C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268630 00265590 4C 40 13 82 */ cror 2, 0, 2 +/* 80268634 00265594 40 82 00 08 */ bne lbl_8026863C +/* 80268638 00265598 D0 1F 05 C8 */ stfs f0, 0x5c8(r31) +lbl_8026863C: +/* 8026863C 0026559C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) +/* 80268640 002655A0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268644 002655A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268648 002655A8 41 81 00 10 */ bgt lbl_80268658 +/* 8026864C 002655AC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80268650 002655B0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80268654 002655B4 41 82 00 5C */ beq lbl_802686B0 +lbl_80268658: +/* 80268658 002655B8 C0 02 BB 0C */ lfs f0, lbl_805AD82C@sda21(r2) +/* 8026865C 002655BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268660 002655C0 40 81 00 30 */ ble lbl_80268690 +/* 80268664 002655C4 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80268668 002655C8 38 A0 00 01 */ li r5, 1 +/* 8026866C 002655CC 80 9F 05 CC */ lwz r4, 0x5cc(r31) +/* 80268670 002655D0 38 C0 00 00 */ li r6, 0 +/* 80268674 002655D4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80268678 002655D8 4B DC 1B 59 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 8026867C 002655DC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 80268680 002655E0 38 60 00 01 */ li r3, 1 +/* 80268684 002655E4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80268688 002655E8 98 1F 05 D6 */ stb r0, 0x5d6(r31) +/* 8026868C 002655EC 48 00 00 24 */ b lbl_802686B0 +lbl_80268690: +/* 80268690 002655F0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80268694 002655F4 80 9F 05 CC */ lwz r4, 0x5cc(r31) +/* 80268698 002655F8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8026869C 002655FC 4B DC 1A BD */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 802686A0 00265600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802686A4 00265604 38 60 00 00 */ li r3, 0 +/* 802686A8 00265608 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802686AC 0026560C 98 1F 05 D6 */ stb r0, 0x5d6(r31) +lbl_802686B0: +/* 802686B0 00265610 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802686B4 00265614 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802686B8 00265618 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802686BC 0026561C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802686C0 00265620 7C 08 03 A6 */ mtlr r0 +/* 802686C4 00265624 38 21 00 20 */ addi r1, r1, 0x20 +/* 802686C8 00265628 4E 80 00 20 */ blr + +.global Render__11CWallWalkerCFRC13CStateManager +Render__11CWallWalkerCFRC13CStateManager: +/* 802686CC 0026562C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802686D0 00265630 7C 08 02 A6 */ mflr r0 +/* 802686D4 00265634 90 01 00 14 */ stw r0, 0x14(r1) +/* 802686D8 00265638 4B E0 F9 55 */ bl Render__10CPatternedCFRC13CStateManager +/* 802686DC 0026563C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802686E0 00265640 7C 08 03 A6 */ mtlr r0 +/* 802686E4 00265644 38 21 00 10 */ addi r1, r1, 0x10 +/* 802686E8 00265648 4E 80 00 20 */ blr + +.global GotoNextWaypoint__11CWallWalkerFR13CStateManager +GotoNextWaypoint__11CWallWalkerFR13CStateManager: +/* 802686EC 0026564C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802686F0 00265650 7C 08 02 A6 */ mflr r0 +/* 802686F4 00265654 90 01 00 54 */ stw r0, 0x54(r1) +/* 802686F8 00265658 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802686FC 0026565C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80268700 00265660 7C 9E 23 78 */ mr r30, r4 +/* 80268704 00265664 38 81 00 14 */ addi r4, r1, 0x14 +/* 80268708 00265668 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8026870C 0026566C 7C 7D 1B 78 */ mr r29, r3 +/* 80268710 00265670 A0 03 02 DC */ lhz r0, 0x2dc(r3) +/* 80268714 00265674 7F C3 F3 78 */ mr r3, r30 +/* 80268718 00265678 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8026871C 0026567C 4B DE 3E 59 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80268720 00265680 7C 64 1B 78 */ mr r4, r3 +/* 80268724 00265684 38 61 00 18 */ addi r3, r1, 0x18 +/* 80268728 00265688 4B E3 DE 25 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8026872C 0026568C 83 E3 00 04 */ lwz r31, 4(r3) +/* 80268730 00265690 28 1F 00 00 */ cmplwi r31, 0 +/* 80268734 00265694 41 82 00 E0 */ beq lbl_80268814 +/* 80268738 00265698 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8026873C 0026569C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80268740 002656A0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80268744 002656A4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80268748 002656A8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8026874C 002656AC D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80268750 002656B0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80268754 002656B4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80268758 002656B8 EC A3 08 28 */ fsubs f5, f3, f1 +/* 8026875C 002656BC C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 80268760 002656C0 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80268764 002656C4 C0 DD 05 C0 */ lfs f6, 0x5c0(r29) +/* 80268768 002656C8 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8026876C 002656CC EC 25 01 72 */ fmuls f1, f5, f5 +/* 80268770 002656D0 EC 40 00 32 */ fmuls f2, f0, f0 +/* 80268774 002656D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80268778 002656D8 EC 64 01 32 */ fmuls f3, f4, f4 +/* 8026877C 002656DC EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80268780 002656E0 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80268784 002656E4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80268788 002656E8 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8026878C 002656EC EC 23 08 2A */ fadds f1, f3, f1 +/* 80268790 002656F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268794 002656F4 40 80 00 74 */ bge lbl_80268808 +/* 80268798 002656F8 7F E4 FB 78 */ mr r4, r31 +/* 8026879C 002656FC 7F C5 F3 78 */ mr r5, r30 +/* 802687A0 00265700 38 61 00 10 */ addi r3, r1, 0x10 +/* 802687A4 00265704 4B E0 E9 91 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager +/* 802687A8 00265708 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 802687AC 0026570C C0 22 BB 04 */ lfs f1, lbl_805AD824@sda21(r2) +/* 802687B0 00265710 B0 1D 02 DC */ sth r0, 0x2dc(r29) +/* 802687B4 00265714 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 802687B8 00265718 C0 5F 00 F0 */ lfs f2, 0xf0(r31) +/* 802687BC 0026571C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802687C0 00265720 FC 20 0A 10 */ fabs f1, f1 +/* 802687C4 00265724 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802687C8 00265728 41 80 00 20 */ blt lbl_802687E8 +/* 802687CC 0026572C D0 5D 05 BC */ stfs f2, 0x5bc(r29) +/* 802687D0 00265730 80 1D 05 D0 */ lwz r0, 0x5d0(r29) +/* 802687D4 00265734 2C 00 00 00 */ cmpwi r0, 0 +/* 802687D8 00265738 40 82 00 10 */ bne lbl_802687E8 +/* 802687DC 0026573C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 802687E0 00265740 38 80 00 01 */ li r4, 1 +/* 802687E4 00265744 4B ED 21 F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_802687E8: +/* 802687E8 00265748 A0 1D 00 08 */ lhz r0, 8(r29) +/* 802687EC 0026574C 7F C3 F3 78 */ mr r3, r30 +/* 802687F0 00265750 7F E4 FB 78 */ mr r4, r31 +/* 802687F4 00265754 38 A1 00 0C */ addi r5, r1, 0xc +/* 802687F8 00265758 B0 01 00 08 */ sth r0, 8(r1) +/* 802687FC 0026575C 38 C0 00 02 */ li r6, 2 +/* 80268800 00265760 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80268804 00265764 4B DD B6 CD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80268808: +/* 80268808 00265768 7F A3 EB 78 */ mr r3, r29 +/* 8026880C 0026576C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80268810 00265770 4B E1 43 4D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_80268814: +/* 80268814 00265774 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80268818 00265778 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8026881C 0026577C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80268820 00265780 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80268824 00265784 7C 08 03 A6 */ mtlr r0 +/* 80268828 00265788 38 21 00 50 */ addi r1, r1, 0x50 +/* 8026882C 0026578C 4E 80 00 20 */ blr + +.global PreThink__11CWallWalkerFfR13CStateManager +PreThink__11CWallWalkerFfR13CStateManager: +/* 80268830 00265790 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80268834 00265794 7C 08 02 A6 */ mflr r0 +/* 80268838 00265798 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8026883C 0026579C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80268840 002657A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80268844 002657A4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80268848 002657A8 7C 7F 1B 78 */ mr r31, r3 +/* 8026884C 002657AC FF E0 08 90 */ fmr f31, f1 +/* 80268850 002657B0 4B E0 F1 41 */ bl PreThink__10CPatternedFfR13CStateManager +/* 80268854 002657B4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80268858 002657B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8026885C 002657BC 41 82 01 C8 */ beq lbl_80268A24 +/* 80268860 002657C0 88 7F 05 D6 */ lbz r3, 0x5d6(r31) +/* 80268864 002657C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80268868 002657C8 40 82 01 BC */ bne lbl_80268A24 +/* 8026886C 002657CC C0 3F 05 BC */ lfs f1, 0x5bc(r31) +/* 80268870 002657D0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268874 002657D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80268878 002657D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8026887C 002657DC 40 82 01 A8 */ bne lbl_80268A24 +/* 80268880 002657E0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80268884 002657E4 40 82 01 A0 */ bne lbl_80268A24 +/* 80268888 002657E8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8026888C 002657EC 4B ED 18 41 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80268890 002657F0 C0 42 BB 04 */ lfs f2, lbl_805AD824@sda21(r2) +/* 80268894 002657F4 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 80268898 002657F8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8026889C 002657FC FC 20 0A 10 */ fabs f1, f1 +/* 802688A0 00265800 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802688A4 00265804 40 80 01 80 */ bge lbl_80268A24 +/* 802688A8 00265808 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 802688AC 0026580C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802688B0 00265810 41 82 01 74 */ beq lbl_80268A24 +/* 802688B4 00265814 38 61 00 34 */ addi r3, r1, 0x34 +/* 802688B8 00265818 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802688BC 0026581C 48 0A 98 6D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 802688C0 00265820 FC 20 F8 90 */ fmr f1, f31 +/* 802688C4 00265824 7F E4 FB 78 */ mr r4, r31 +/* 802688C8 00265828 38 61 00 54 */ addi r3, r1, 0x54 +/* 802688CC 0026582C 4B EB 33 E5 */ bl PredictMotion__13CPhysicsActorCFf +/* 802688D0 00265830 C1 81 00 54 */ lfs f12, 0x54(r1) +/* 802688D4 00265834 7F E3 FB 78 */ mr r3, r31 +/* 802688D8 00265838 C1 61 00 58 */ lfs f11, 0x58(r1) +/* 802688DC 0026583C 38 81 00 88 */ addi r4, r1, 0x88 +/* 802688E0 00265840 C1 41 00 5C */ lfs f10, 0x5c(r1) +/* 802688E4 00265844 C1 21 00 60 */ lfs f9, 0x60(r1) +/* 802688E8 00265848 C1 01 00 64 */ lfs f8, 0x64(r1) +/* 802688EC 0026584C C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 802688F0 00265850 C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 802688F4 00265854 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 802688F8 00265858 C0 81 00 74 */ lfs f4, 0x74(r1) +/* 802688FC 0026585C C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80268900 00265860 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 80268904 00265864 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80268908 00265868 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8026890C 0026586C D1 81 00 88 */ stfs f12, 0x88(r1) +/* 80268910 00265870 D1 61 00 8C */ stfs f11, 0x8c(r1) +/* 80268914 00265874 D1 41 00 90 */ stfs f10, 0x90(r1) +/* 80268918 00265878 D1 21 00 94 */ stfs f9, 0x94(r1) +/* 8026891C 0026587C D1 01 00 98 */ stfs f8, 0x98(r1) +/* 80268920 00265880 D0 E1 00 9C */ stfs f7, 0x9c(r1) +/* 80268924 00265884 D0 C1 00 A0 */ stfs f6, 0xa0(r1) +/* 80268928 00265888 D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 8026892C 0026588C D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80268930 00265890 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 80268934 00265894 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80268938 00265898 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 8026893C 0026589C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80268940 002658A0 4B EB 2B D5 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState +/* 80268944 002658A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80268948 002658A8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8026894C 002658AC 48 0A 97 DD */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80268950 002658B0 7F E3 FB 78 */ mr r3, r31 +/* 80268954 002658B4 4B EB 29 61 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 80268958 002658B8 88 1F 05 D6 */ lbz r0, 0x5d6(r31) +/* 8026895C 002658BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268960 002658C0 41 82 00 B4 */ beq lbl_80268A14 +/* 80268964 002658C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80268968 002658C8 38 9F 05 68 */ addi r4, r31, 0x568 +/* 8026896C 002658CC 48 03 9C C9 */ bl GetPlane__17CCollisionSurfaceCFv +/* 80268970 002658D0 C0 C1 00 18 */ lfs f6, 0x18(r1) +/* 80268974 002658D4 7F E3 FB 78 */ mr r3, r31 +/* 80268978 002658D8 C1 5F 00 50 */ lfs f10, 0x50(r31) +/* 8026897C 002658DC 38 81 00 08 */ addi r4, r1, 8 +/* 80268980 002658E0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80268984 002658E4 EC 06 02 B2 */ fmuls f0, f6, f10 +/* 80268988 002658E8 C1 7F 00 40 */ lfs f11, 0x40(r31) +/* 8026898C 002658EC C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80268990 002658F0 C0 81 00 20 */ lfs f4, 0x20(r1) +/* 80268994 002658F4 EC 27 02 FA */ fmadds f1, f7, f11, f0 +/* 80268998 002658F8 C1 3F 00 60 */ lfs f9, 0x60(r31) +/* 8026899C 002658FC C0 02 BB 18 */ lfs f0, lbl_805AD838@sda21(r2) +/* 802689A0 00265900 C0 5F 05 AC */ lfs f2, 0x5ac(r31) +/* 802689A4 00265904 EC 65 0A 7A */ fmadds f3, f5, f9, f1 +/* 802689A8 00265908 C0 22 BB 14 */ lfs f1, lbl_805AD834@sda21(r2) +/* 802689AC 0026590C ED 80 07 F2 */ fmuls f12, f0, f31 +/* 802689B0 00265910 C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) +/* 802689B4 00265914 D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 802689B8 00265918 ED 03 20 28 */ fsubs f8, f3, f4 +/* 802689BC 0026591C EC 60 60 28 */ fsubs f3, f0, f12 +/* 802689C0 00265920 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802689C4 00265924 EC 08 10 28 */ fsubs f0, f8, f2 +/* 802689C8 00265928 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802689CC 0026592C D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802689D0 00265930 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802689D4 00265934 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 802689D8 00265938 EC 20 01 B2 */ fmuls f1, f0, f6 +/* 802689DC 0026593C EC 00 01 72 */ fmuls f0, f0, f5 +/* 802689E0 00265940 EC 4B 10 28 */ fsubs f2, f11, f2 +/* 802689E4 00265944 EC 2A 08 28 */ fsubs f1, f10, f1 +/* 802689E8 00265948 EC 09 00 28 */ fsubs f0, f9, f0 +/* 802689EC 0026594C EC 42 03 32 */ fmuls f2, f2, f12 +/* 802689F0 00265950 EC 21 03 32 */ fmuls f1, f1, f12 +/* 802689F4 00265954 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802689F8 00265958 EC 4B 10 FA */ fmadds f2, f11, f3, f2 +/* 802689FC 0026595C EC 2A 08 FA */ fmadds f1, f10, f3, f1 +/* 80268A00 00265960 EC 09 00 FA */ fmadds f0, f9, f3, f0 +/* 80268A04 00265964 D0 41 00 08 */ stfs f2, 8(r1) +/* 80268A08 00265968 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80268A0C 0026596C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80268A10 00265970 4B DE A4 7D */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80268A14: +/* 80268A14 00265974 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80268A18 00265978 7F E3 FB 78 */ mr r3, r31 +/* 80268A1C 0026597C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80268A20 00265980 4B EB 20 19 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +lbl_80268A24: +/* 80268A24 00265984 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80268A28 00265988 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80268A2C 0026598C CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80268A30 00265990 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 80268A34 00265994 7C 08 03 A6 */ mtlr r0 +/* 80268A38 00265998 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80268A3C 0026599C 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__11CWallWalkerCFv +GetCollisionPrimitive__11CWallWalkerCFv: +/* 80268A40 002659A0 38 63 05 90 */ addi r3, r3, 0x590 +/* 80268A44 002659A4 4E 80 00 20 */ blr + +.global AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff +AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff: +/* 80268A48 002659A8 94 21 E3 90 */ stwu r1, -0x1c70(r1) +/* 80268A4C 002659AC 7C 08 02 A6 */ mflr r0 +/* 80268A50 002659B0 90 01 1C 74 */ stw r0, 0x1c74(r1) +/* 80268A54 002659B4 38 00 1C 68 */ li r0, 0x1c68 +/* 80268A58 002659B8 DB E1 1C 60 */ stfd f31, 0x1c60(r1) +/* 80268A5C 002659BC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80268A60 002659C0 38 00 1C 58 */ li r0, 0x1c58 +/* 80268A64 002659C4 DB C1 1C 50 */ stfd f30, 0x1c50(r1) +/* 80268A68 002659C8 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 80268A6C 002659CC 38 00 1C 48 */ li r0, 0x1c48 +/* 80268A70 002659D0 DB A1 1C 40 */ stfd f29, 0x1c40(r1) +/* 80268A74 002659D4 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 80268A78 002659D8 BE 81 1C 10 */ stmw r20, 0x1c10(r1) +/* 80268A7C 002659DC 7C 74 1B 78 */ mr r20, r3 +/* 80268A80 002659E0 FF A0 08 90 */ fmr f29, f1 +/* 80268A84 002659E4 C0 03 05 B0 */ lfs f0, 0x5b0(r3) +/* 80268A88 002659E8 7C B5 2B 78 */ mr r21, r5 +/* 80268A8C 002659EC 7C 96 23 78 */ mr r22, r4 +/* 80268A90 002659F0 C0 85 00 04 */ lfs f4, 4(r5) +/* 80268A94 002659F4 EC FD 00 2A */ fadds f7, f29, f0 +/* 80268A98 002659F8 C0 65 00 08 */ lfs f3, 8(r5) +/* 80268A9C 002659FC FF E0 10 90 */ fmr f31, f2 +/* 80268AA0 00265A00 C0 05 00 00 */ lfs f0, 0(r5) +/* 80268AA4 00265A04 38 61 00 80 */ addi r3, r1, 0x80 +/* 80268AA8 00265A08 EC C4 38 2A */ fadds f6, f4, f7 +/* 80268AAC 00265A0C EC A3 38 2A */ fadds f5, f3, f7 +/* 80268AB0 00265A10 38 81 00 74 */ addi r4, r1, 0x74 +/* 80268AB4 00265A14 EC 20 38 2A */ fadds f1, f0, f7 +/* 80268AB8 00265A18 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80268ABC 00265A1C EC 84 38 28 */ fsubs f4, f4, f7 +/* 80268AC0 00265A20 EC 43 38 28 */ fsubs f2, f3, f7 +/* 80268AC4 00265A24 EC 00 38 28 */ fsubs f0, f0, f7 +/* 80268AC8 00265A28 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80268ACC 00265A2C 3B 60 00 00 */ li r27, 0 +/* 80268AD0 00265A30 D0 C1 00 6C */ stfs f6, 0x6c(r1) +/* 80268AD4 00265A34 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80268AD8 00265A38 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80268ADC 00265A3C D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80268AE0 00265A40 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80268AE4 00265A44 48 0C FA 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80268AE8 00265A48 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80268AEC 00265A4C 38 81 00 80 */ addi r4, r1, 0x80 +/* 80268AF0 00265A50 48 03 AF A1 */ bl __ct__19CAreaCollisionCacheFRC6CAABox +/* 80268AF4 00265A54 7E C3 B3 78 */ mr r3, r22 +/* 80268AF8 00265A58 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80268AFC 00265A5C 4B F1 BB C9 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache +/* 80268B00 00265A60 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B04 00265A64 C0 14 05 B0 */ lfs f0, 0x5b0(r20) +/* 80268B08 00265A68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268B0C 00265A6C EF BD 00 2A */ fadds f29, f29, f0 +/* 80268B10 00265A70 41 82 00 1C */ beq lbl_80268B2C +/* 80268B14 00265A74 7E A4 AB 78 */ mr r4, r21 +/* 80268B18 00265A78 38 74 05 68 */ addi r3, r20, 0x568 +/* 80268B1C 00265A7C 48 00 05 29 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +/* 80268B20 00265A80 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B24 00265A84 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80268B28 00265A88 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268B2C: +/* 80268B2C 00265A8C 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268B30 00265A90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268B34 00265A94 41 82 00 10 */ beq lbl_80268B44 +/* 80268B38 00265A98 A8 14 05 D4 */ lha r0, 0x5d4(r20) +/* 80268B3C 00265A9C 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80268B40 00265AA0 40 82 01 54 */ bne lbl_80268C94 +lbl_80268B44: +/* 80268B44 00265AA4 3B A1 00 DC */ addi r29, r1, 0xdc +/* 80268B48 00265AA8 3A C1 00 98 */ addi r22, r1, 0x98 +/* 80268B4C 00265AAC 3B 40 00 00 */ li r26, 0 +/* 80268B50 00265AB0 48 00 01 2C */ b lbl_80268C7C +lbl_80268B54: +/* 80268B54 00265AB4 3B DD 00 08 */ addi r30, r29, 8 +/* 80268B58 00265AB8 3B 20 00 00 */ li r25, 0 +/* 80268B5C 00265ABC 48 00 01 0C */ b lbl_80268C68 +lbl_80268B60: +/* 80268B60 00265AC0 7F C4 F3 78 */ mr r4, r30 +/* 80268B64 00265AC4 38 61 00 08 */ addi r3, r1, 8 +/* 80268B68 00265AC8 48 03 A1 D5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 80268B6C 00265ACC 83 81 00 08 */ lwz r28, 8(r1) +/* 80268B70 00265AD0 3A E0 00 00 */ li r23, 0 +/* 80268B74 00265AD4 83 FE 00 1C */ lwz r31, 0x1c(r30) +/* 80268B78 00265AD8 A3 1C 00 18 */ lhz r24, 0x18(r28) +/* 80268B7C 00265ADC 48 00 00 DC */ b lbl_80268C58 +lbl_80268B80: +/* 80268B80 00265AE0 A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 80268B84 00265AE4 7F E4 FB 78 */ mr r4, r31 +/* 80268B88 00265AE8 38 61 00 98 */ addi r3, r1, 0x98 +/* 80268B8C 00265AEC 48 03 9E A9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 80268B90 00265AF0 7E C4 B3 78 */ mr r4, r22 +/* 80268B94 00265AF4 38 61 00 4C */ addi r3, r1, 0x4c +/* 80268B98 00265AF8 48 03 9A 9D */ bl GetPlane__17CCollisionSurfaceCFv +/* 80268B9C 00265AFC C3 C1 00 58 */ lfs f30, 0x58(r1) +/* 80268BA0 00265B00 7E C4 B3 78 */ mr r4, r22 +/* 80268BA4 00265B04 38 61 00 5C */ addi r3, r1, 0x5c +/* 80268BA8 00265B08 48 03 9A FD */ bl GetNormal__17CCollisionSurfaceCFv +/* 80268BAC 00265B0C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80268BB0 00265B10 C0 15 00 04 */ lfs f0, 4(r21) +/* 80268BB4 00265B14 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80268BB8 00265B18 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80268BBC 00265B1C C0 35 00 00 */ lfs f1, 0(r21) +/* 80268BC0 00265B20 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80268BC4 00265B24 C0 75 00 08 */ lfs f3, 8(r21) +/* 80268BC8 00265B28 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80268BCC 00265B2C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80268BD0 00265B30 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80268BD4 00265B34 FC 00 02 10 */ fabs f0, f0 +/* 80268BD8 00265B38 FF C0 00 18 */ frsp f30, f0 +/* 80268BDC 00265B3C FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80268BE0 00265B40 40 80 00 70 */ bge lbl_80268C50 +/* 80268BE4 00265B44 7E C3 B3 78 */ mr r3, r22 +/* 80268BE8 00265B48 7E A4 AB 78 */ mr r4, r21 +/* 80268BEC 00265B4C 48 00 04 59 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +/* 80268BF0 00265B50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80268BF4 00265B54 41 82 00 5C */ beq lbl_80268C50 +/* 80268BF8 00265B58 80 61 00 98 */ lwz r3, 0x98(r1) +/* 80268BFC 00265B5C FF A0 F0 90 */ fmr f29, f30 +/* 80268C00 00265B60 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 80268C04 00265B64 3B 60 00 01 */ li r27, 1 +/* 80268C08 00265B68 90 74 05 68 */ stw r3, 0x568(r20) +/* 80268C0C 00265B6C 90 14 05 6C */ stw r0, 0x56c(r20) +/* 80268C10 00265B70 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 80268C14 00265B74 90 14 05 70 */ stw r0, 0x570(r20) +/* 80268C18 00265B78 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80268C1C 00265B7C 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80268C20 00265B80 90 74 05 74 */ stw r3, 0x574(r20) +/* 80268C24 00265B84 90 14 05 78 */ stw r0, 0x578(r20) +/* 80268C28 00265B88 80 01 00 AC */ lwz r0, 0xac(r1) +/* 80268C2C 00265B8C 90 14 05 7C */ stw r0, 0x57c(r20) +/* 80268C30 00265B90 80 61 00 B0 */ lwz r3, 0xb0(r1) +/* 80268C34 00265B94 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80268C38 00265B98 90 74 05 80 */ stw r3, 0x580(r20) +/* 80268C3C 00265B9C 90 14 05 84 */ stw r0, 0x584(r20) +/* 80268C40 00265BA0 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 80268C44 00265BA4 90 14 05 88 */ stw r0, 0x588(r20) +/* 80268C48 00265BA8 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 80268C4C 00265BAC 90 14 05 8C */ stw r0, 0x58c(r20) +lbl_80268C50: +/* 80268C50 00265BB0 3B 9C 00 02 */ addi r28, r28, 2 +/* 80268C54 00265BB4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80268C58: +/* 80268C58 00265BB8 7C 17 C0 00 */ cmpw r23, r24 +/* 80268C5C 00265BBC 41 80 FF 24 */ blt lbl_80268B80 +/* 80268C60 00265BC0 3B DE 00 24 */ addi r30, r30, 0x24 +/* 80268C64 00265BC4 3B 39 00 01 */ addi r25, r25, 1 +lbl_80268C68: +/* 80268C68 00265BC8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268C6C 00265BCC 7C 19 00 00 */ cmpw r25, r0 +/* 80268C70 00265BD0 41 80 FE F0 */ blt lbl_80268B60 +/* 80268C74 00265BD4 3B BD 09 0C */ addi r29, r29, 0x90c +/* 80268C78 00265BD8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80268C7C: +/* 80268C7C 00265BDC 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 80268C80 00265BE0 7C 1A 00 00 */ cmpw r26, r0 +/* 80268C84 00265BE4 41 80 FE D0 */ blt lbl_80268B54 +/* 80268C88 00265BE8 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268C8C 00265BEC 53 60 36 72 */ rlwimi r0, r27, 6, 0x19, 0x19 +/* 80268C90 00265BF0 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268C94: +/* 80268C94 00265BF4 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268C98 00265BF8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80268C9C 00265BFC 41 82 00 58 */ beq lbl_80268CF4 +/* 80268CA0 00265C00 38 61 00 34 */ addi r3, r1, 0x34 +/* 80268CA4 00265C04 38 94 05 68 */ addi r4, r20, 0x568 +/* 80268CA8 00265C08 48 03 99 FD */ bl GetNormal__17CCollisionSurfaceCFv +/* 80268CAC 00265C0C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80268CB0 00265C10 7E 83 A3 78 */ mr r3, r20 +/* 80268CB4 00265C14 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80268CB8 00265C18 38 81 00 40 */ addi r4, r1, 0x40 +/* 80268CBC 00265C1C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80268CC0 00265C20 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80268CC4 00265C24 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80268CC8 00265C28 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80268CCC 00265C2C C0 14 05 B4 */ lfs f0, 0x5b4(r20) +/* 80268CD0 00265C30 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80268CD4 00265C34 48 00 01 E9 */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +/* 80268CD8 00265C38 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 80268CDC 00265C3C 38 60 00 00 */ li r3, 0 +/* 80268CE0 00265C40 D0 14 05 B8 */ stfs f0, 0x5b8(r20) +/* 80268CE4 00265C44 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268CE8 00265C48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80268CEC 00265C4C 98 14 05 D6 */ stb r0, 0x5d6(r20) +/* 80268CF0 00265C50 48 00 00 FC */ b lbl_80268DEC +lbl_80268CF4: +/* 80268CF4 00265C54 38 74 01 38 */ addi r3, r20, 0x138 +/* 80268CF8 00265C58 48 0A BB C1 */ bl Magnitude__9CVector3fCFv +/* 80268CFC 00265C5C C0 02 BB 1C */ lfs f0, lbl_805AD83C@sda21(r2) +/* 80268D00 00265C60 7E 83 A3 78 */ mr r3, r20 +/* 80268D04 00265C64 C0 94 00 58 */ lfs f4, 0x58(r20) +/* 80268D08 00265C68 38 81 00 28 */ addi r4, r1, 0x28 +/* 80268D0C 00265C6C EC 40 00 72 */ fmuls f2, f0, f1 +/* 80268D10 00265C70 C0 34 05 AC */ lfs f1, 0x5ac(r20) +/* 80268D14 00265C74 C0 74 00 48 */ lfs f3, 0x48(r20) +/* 80268D18 00265C78 C0 14 00 38 */ lfs f0, 0x38(r20) +/* 80268D1C 00265C7C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80268D20 00265C80 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80268D24 00265C84 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80268D28 00265C88 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80268D2C 00265C8C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80268D30 00265C90 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80268D34 00265C94 EF C1 07 F2 */ fmuls f30, f1, f31 +/* 80268D38 00265C98 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80268D3C 00265C9C FC 20 F0 90 */ fmr f1, f30 +/* 80268D40 00265CA0 48 00 01 7D */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +/* 80268D44 00265CA4 80 74 04 50 */ lwz r3, 0x450(r20) +/* 80268D48 00265CA8 38 80 00 03 */ li r4, 3 +/* 80268D4C 00265CAC 4B ED 1E 69 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 80268D50 00265CB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80268D54 00265CB4 41 82 00 7C */ beq lbl_80268DD0 +/* 80268D58 00265CB8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80268D5C 00265CBC 80 74 04 50 */ lwz r3, 0x450(r20) +/* 80268D60 00265CC0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80268D64 00265CC4 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 80268D68 00265CC8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80268D6C 00265CCC 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l +/* 80268D70 00265CD0 38 80 00 01 */ li r4, 1 +/* 80268D74 00265CD4 38 A0 00 05 */ li r5, 5 +/* 80268D78 00265CD8 38 00 00 00 */ li r0, 0 +/* 80268D7C 00265CDC 3A A3 00 04 */ addi r21, r3, 4 +/* 80268D80 00265CE0 90 81 00 10 */ stw r4, 0x10(r1) +/* 80268D84 00265CE4 7E A3 AB 78 */ mr r3, r21 +/* 80268D88 00265CE8 38 80 00 01 */ li r4, 1 +/* 80268D8C 00265CEC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80268D90 00265CF0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80268D94 00265CF4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80268D98 00265CF8 4B EC 86 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80268D9C 00265CFC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80268DA0 00265D00 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80268DA4 00265D04 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 80268DA8 00265D08 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80268DAC 00265D0C 90 15 00 C8 */ stw r0, 0xc8(r21) +/* 80268DB0 00265D10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80268DB4 00265D14 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80268DB8 00265D18 90 81 00 0C */ stw r4, 0xc(r1) +/* 80268DBC 00265D1C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80268DC0 00265D20 90 B5 00 CC */ stw r5, 0xcc(r21) +/* 80268DC4 00265D24 90 75 00 D0 */ stw r3, 0xd0(r21) +/* 80268DC8 00265D28 90 01 00 0C */ stw r0, 0xc(r1) +/* 80268DCC 00265D2C 48 00 00 14 */ b lbl_80268DE0 +lbl_80268DD0: +/* 80268DD0 00265D30 88 14 05 D6 */ lbz r0, 0x5d6(r20) +/* 80268DD4 00265D34 38 60 00 01 */ li r3, 1 +/* 80268DD8 00265D38 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80268DDC 00265D3C 98 14 05 D6 */ stb r0, 0x5d6(r20) +lbl_80268DE0: +/* 80268DE0 00265D40 C0 14 05 B8 */ lfs f0, 0x5b8(r20) +/* 80268DE4 00265D44 EC 00 F0 2A */ fadds f0, f0, f30 +/* 80268DE8 00265D48 D0 14 05 B8 */ stfs f0, 0x5b8(r20) +lbl_80268DEC: +/* 80268DEC 00265D4C 34 E1 00 D8 */ addic. r7, r1, 0xd8 +/* 80268DF0 00265D50 41 82 00 94 */ beq lbl_80268E84 +/* 80268DF4 00265D54 38 C7 00 04 */ addi r6, r7, 4 +/* 80268DF8 00265D58 38 60 00 00 */ li r3, 0 +/* 80268DFC 00265D5C 48 00 00 74 */ b lbl_80268E70 +lbl_80268E00: +/* 80268E00 00265D60 28 06 00 00 */ cmplwi r6, 0 +/* 80268E04 00265D64 41 82 00 64 */ beq lbl_80268E68 +/* 80268E08 00265D68 34 06 00 04 */ addic. r0, r6, 4 +/* 80268E0C 00265D6C 41 82 00 5C */ beq lbl_80268E68 +/* 80268E10 00265D70 81 06 00 04 */ lwz r8, 4(r6) +/* 80268E14 00265D74 38 80 00 00 */ li r4, 0 +/* 80268E18 00265D78 2C 08 00 00 */ cmpwi r8, 0 +/* 80268E1C 00265D7C 40 81 00 44 */ ble lbl_80268E60 +/* 80268E20 00265D80 2C 08 00 08 */ cmpwi r8, 8 +/* 80268E24 00265D84 38 A8 FF F8 */ addi r5, r8, -8 +/* 80268E28 00265D88 40 81 00 20 */ ble lbl_80268E48 +/* 80268E2C 00265D8C 38 05 00 07 */ addi r0, r5, 7 +/* 80268E30 00265D90 54 00 E8 FE */ srwi r0, r0, 3 +/* 80268E34 00265D94 7C 09 03 A6 */ mtctr r0 +/* 80268E38 00265D98 2C 05 00 00 */ cmpwi r5, 0 +/* 80268E3C 00265D9C 40 81 00 0C */ ble lbl_80268E48 +lbl_80268E40: +/* 80268E40 00265DA0 38 84 00 08 */ addi r4, r4, 8 +/* 80268E44 00265DA4 42 00 FF FC */ bdnz lbl_80268E40 +lbl_80268E48: +/* 80268E48 00265DA8 7C 04 40 50 */ subf r0, r4, r8 +/* 80268E4C 00265DAC 7C 09 03 A6 */ mtctr r0 +/* 80268E50 00265DB0 7C 04 40 00 */ cmpw r4, r8 +/* 80268E54 00265DB4 40 80 00 0C */ bge lbl_80268E60 +lbl_80268E58: +/* 80268E58 00265DB8 38 84 00 01 */ addi r4, r4, 1 +/* 80268E5C 00265DBC 42 00 FF FC */ bdnz lbl_80268E58 +lbl_80268E60: +/* 80268E60 00265DC0 38 00 00 00 */ li r0, 0 +/* 80268E64 00265DC4 90 06 00 04 */ stw r0, 4(r6) +lbl_80268E68: +/* 80268E68 00265DC8 38 C6 09 0C */ addi r6, r6, 0x90c +/* 80268E6C 00265DCC 38 63 00 01 */ addi r3, r3, 1 +lbl_80268E70: +/* 80268E70 00265DD0 80 07 00 00 */ lwz r0, 0(r7) +/* 80268E74 00265DD4 7C 03 00 00 */ cmpw r3, r0 +/* 80268E78 00265DD8 41 80 FF 88 */ blt lbl_80268E00 +/* 80268E7C 00265DDC 38 00 00 00 */ li r0, 0 +/* 80268E80 00265DE0 90 07 00 00 */ stw r0, 0(r7) +lbl_80268E84: +/* 80268E84 00265DE4 38 00 1C 68 */ li r0, 0x1c68 +/* 80268E88 00265DE8 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 80268E8C 00265DEC CB E1 1C 60 */ lfd f31, 0x1c60(r1) +/* 80268E90 00265DF0 38 00 1C 58 */ li r0, 0x1c58 +/* 80268E94 00265DF4 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 80268E98 00265DF8 CB C1 1C 50 */ lfd f30, 0x1c50(r1) +/* 80268E9C 00265DFC 38 00 1C 48 */ li r0, 0x1c48 +/* 80268EA0 00265E00 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 80268EA4 00265E04 CB A1 1C 40 */ lfd f29, 0x1c40(r1) +/* 80268EA8 00265E08 BA 81 1C 10 */ lmw r20, 0x1c10(r1) +/* 80268EAC 00265E0C 80 01 1C 74 */ lwz r0, 0x1c74(r1) +/* 80268EB0 00265E10 7C 08 03 A6 */ mtlr r0 +/* 80268EB4 00265E14 38 21 1C 70 */ addi r1, r1, 0x1c70 +/* 80268EB8 00265E18 4E 80 00 20 */ blr + +.global OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff +OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff: +/* 80268EBC 00265E1C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80268EC0 00265E20 7C 08 02 A6 */ mflr r0 +/* 80268EC4 00265E24 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80268EC8 00265E28 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80268ECC 00265E2C 7C 7F 1B 78 */ mr r31, r3 +/* 80268ED0 00265E30 C0 C3 00 4C */ lfs f6, 0x4c(r3) +/* 80268ED4 00265E34 C0 04 00 04 */ lfs f0, 4(r4) +/* 80268ED8 00265E38 C0 A3 00 3C */ lfs f5, 0x3c(r3) +/* 80268EDC 00265E3C EC 06 00 32 */ fmuls f0, f6, f0 +/* 80268EE0 00265E40 C0 44 00 00 */ lfs f2, 0(r4) +/* 80268EE4 00265E44 C0 E3 00 5C */ lfs f7, 0x5c(r3) +/* 80268EE8 00265E48 C0 84 00 08 */ lfs f4, 8(r4) +/* 80268EEC 00265E4C EC 65 00 BA */ fmadds f3, f5, f2, f0 +/* 80268EF0 00265E50 C0 42 BA FC */ lfs f2, lbl_805AD81C@sda21(r2) +/* 80268EF4 00265E54 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) +/* 80268EF8 00265E58 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80268EFC 00265E5C EC 67 19 3A */ fmadds f3, f7, f4, f3 +/* 80268F00 00265E60 D0 C1 00 74 */ stfs f6, 0x74(r1) +/* 80268F04 00265E64 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80268F08 00265E68 D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 80268F0C 00265E6C FC 40 12 10 */ fabs f2, f2 +/* 80268F10 00265E70 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80268F14 00265E74 41 80 01 1C */ blt lbl_80269030 +/* 80268F18 00265E78 C0 02 BB 20 */ lfs f0, lbl_805AD840@sda21(r2) +/* 80268F1C 00265E7C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80268F20 00265E80 41 80 01 10 */ blt lbl_80269030 +/* 80268F24 00265E84 C0 02 BB 24 */ lfs f0, lbl_805AD844@sda21(r2) +/* 80268F28 00265E88 7C 85 23 78 */ mr r5, r4 +/* 80268F2C 00265E8C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80268F30 00265E90 38 81 00 54 */ addi r4, r1, 0x54 +/* 80268F34 00265E94 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80268F38 00265E98 38 C1 00 08 */ addi r6, r1, 8 +/* 80268F3C 00265E9C D0 01 00 08 */ stfs f0, 8(r1) +/* 80268F40 00265EA0 C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 80268F44 00265EA4 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 80268F48 00265EA8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80268F4C 00265EAC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80268F50 00265EB0 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80268F54 00265EB4 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80268F58 00265EB8 48 0A 80 C9 */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +/* 80268F5C 00265EBC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 80268F60 00265EC0 38 A1 00 90 */ addi r5, r1, 0x90 +/* 80268F64 00265EC4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80268F68 00265EC8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80268F6C 00265ECC C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80268F70 00265ED0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80268F74 00265ED4 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80268F78 00265ED8 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80268F7C 00265EDC D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80268F80 00265EE0 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 80268F84 00265EE4 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80268F88 00265EE8 48 0A 9A 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80268F8C 00265EEC C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 80268F90 00265EF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80268F94 00265EF4 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80268F98 00265EF8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80268F9C 00265EFC C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80268FA0 00265F00 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80268FA4 00265F04 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80268FA8 00265F08 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80268FAC 00265F0C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80268FB0 00265F10 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80268FB4 00265F14 48 0A 91 75 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80268FB8 00265F18 38 61 00 28 */ addi r3, r1, 0x28 +/* 80268FBC 00265F1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80268FC0 00265F20 38 A1 00 7C */ addi r5, r1, 0x7c +/* 80268FC4 00265F24 48 0A 81 DD */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 80268FC8 00265F28 38 61 00 38 */ addi r3, r1, 0x38 +/* 80268FCC 00265F2C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80268FD0 00265F30 48 0A 83 CD */ bl BuildNormalized__11CQuaternionCFv +/* 80268FD4 00265F34 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80268FD8 00265F38 38 61 00 9C */ addi r3, r1, 0x9c +/* 80268FDC 00265F3C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80268FE0 00265F40 38 81 00 38 */ addi r4, r1, 0x38 +/* 80268FE4 00265F44 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80268FE8 00265F48 38 A1 00 0C */ addi r5, r1, 0xc +/* 80268FEC 00265F4C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80268FF0 00265F50 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80268FF4 00265F54 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80268FF8 00265F58 48 0A 8E C5 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 80268FFC 00265F5C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80269000 00265F60 38 81 00 9C */ addi r4, r1, 0x9c +/* 80269004 00265F64 48 0A 9B 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80269008 00265F68 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8026900C 00265F6C 38 60 00 01 */ li r3, 1 +/* 80269010 00265F70 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80269014 00265F74 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80269018 00265F78 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8026901C 00265F7C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80269020 00265F80 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 80269024 00265F84 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 80269028 00265F88 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8026902C 00265F8C 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_80269030: +/* 80269030 00265F90 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80269034 00265F94 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80269038 00265F98 7C 08 03 A6 */ mtlr r0 +/* 8026903C 00265F9C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80269040 00265FA0 4E 80 00 20 */ blr + +.global PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f +PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f: +/* 80269044 00265FA4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80269048 00265FA8 7C 08 02 A6 */ mflr r0 +/* 8026904C 00265FAC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80269050 00265FB0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80269054 00265FB4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80269058 00265FB8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8026905C 00265FBC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80269060 00265FC0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80269064 00265FC4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80269068 00265FC8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8026906C 00265FCC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80269070 00265FD0 7C 7E 1B 78 */ mr r30, r3 +/* 80269074 00265FD4 7C 9F 23 78 */ mr r31, r4 +/* 80269078 00265FD8 7F C4 F3 78 */ mr r4, r30 +/* 8026907C 00265FDC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80269080 00265FE0 48 03 96 25 */ bl GetNormal__17CCollisionSurfaceCFv +/* 80269084 00265FE4 7F E4 FB 78 */ mr r4, r31 +/* 80269088 00265FE8 7F C5 F3 78 */ mr r5, r30 +/* 8026908C 00265FEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80269090 00265FF0 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80269094 00265FF4 48 00 01 55 */ bl ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80269098 00265FF8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 8026909C 00265FFC 7F C4 F3 78 */ mr r4, r30 +/* 802690A0 00266000 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 802690A4 00266004 38 61 00 08 */ addi r3, r1, 8 +/* 802690A8 00266008 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 802690AC 0026600C 48 03 95 F9 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802690B0 00266010 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802690B4 00266014 38 00 00 03 */ li r0, 3 +/* 802690B8 00266018 7F C6 F3 78 */ mr r6, r30 +/* 802690BC 0026601C C1 41 00 08 */ lfs f10, 8(r1) +/* 802690C0 00266020 38 63 55 56 */ addi r3, r3, 0x55555556@l +/* 802690C4 00266024 C1 61 00 0C */ lfs f11, 0xc(r1) +/* 802690C8 00266028 C1 81 00 10 */ lfs f12, 0x10(r1) +/* 802690CC 0026602C 38 E0 00 00 */ li r7, 0 +/* 802690D0 00266030 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 802690D4 00266034 7C 09 03 A6 */ mtctr r0 +lbl_802690D8: +/* 802690D8 00266038 38 A7 00 02 */ addi r5, r7, 2 +/* 802690DC 0026603C C0 66 00 00 */ lfs f3, 0(r6) +/* 802690E0 00266040 7C 83 28 96 */ mulhw r4, r3, r5 +/* 802690E4 00266044 C0 86 00 08 */ lfs f4, 8(r6) +/* 802690E8 00266048 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802690EC 0026604C ED 3F 18 28 */ fsubs f9, f31, f3 +/* 802690F0 00266050 EC FD 20 28 */ fsubs f7, f29, f4 +/* 802690F4 00266054 ED 1E 28 28 */ fsubs f8, f30, f5 +/* 802690F8 00266058 54 80 0F FE */ srwi r0, r4, 0x1f +/* 802690FC 0026605C 7C 04 02 14 */ add r0, r4, r0 +/* 80269100 00266060 1C 00 00 03 */ mulli r0, r0, 3 +/* 80269104 00266064 7C 00 28 50 */ subf r0, r0, r5 +/* 80269108 00266068 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8026910C 0026606C 7C 9E 02 14 */ add r4, r30, r0 +/* 80269110 00266070 C0 24 00 08 */ lfs f1, 8(r4) +/* 80269114 00266074 C0 44 00 00 */ lfs f2, 0(r4) +/* 80269118 00266078 EC 81 20 28 */ fsubs f4, f1, f4 +/* 8026911C 0026607C C0 24 00 04 */ lfs f1, 4(r4) +/* 80269120 00266080 EC C2 18 28 */ fsubs f6, f2, f3 +/* 80269124 00266084 EC A1 28 28 */ fsubs f5, f1, f5 +/* 80269128 00266088 EC 24 02 72 */ fmuls f1, f4, f9 +/* 8026912C 0026608C EC 66 02 32 */ fmuls f3, f6, f8 +/* 80269130 00266090 EC 45 01 F2 */ fmuls f2, f5, f7 +/* 80269134 00266094 EC 27 09 B8 */ fmsubs f1, f7, f6, f1 +/* 80269138 00266098 EC 69 19 78 */ fmsubs f3, f9, f5, f3 +/* 8026913C 0026609C EC 48 11 38 */ fmsubs f2, f8, f4, f2 +/* 80269140 002660A0 EC 2B 00 72 */ fmuls f1, f11, f1 +/* 80269144 002660A4 EC 2A 08 BA */ fmadds f1, f10, f2, f1 +/* 80269148 002660A8 EC 2C 08 FA */ fmadds f1, f12, f3, f1 +/* 8026914C 002660AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80269150 002660B0 40 80 00 0C */ bge lbl_8026915C +/* 80269154 002660B4 38 60 00 00 */ li r3, 0 +/* 80269158 002660B8 48 00 00 14 */ b lbl_8026916C +lbl_8026915C: +/* 8026915C 002660BC 38 C6 00 0C */ addi r6, r6, 0xc +/* 80269160 002660C0 38 E7 00 01 */ addi r7, r7, 1 +/* 80269164 002660C4 42 00 FF 74 */ bdnz lbl_802690D8 +/* 80269168 002660C8 38 60 00 01 */ li r3, 1 +lbl_8026916C: +/* 8026916C 002660CC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80269170 002660D0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80269174 002660D4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80269178 002660D8 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8026917C 002660DC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80269180 002660E0 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80269184 002660E4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80269188 002660E8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8026918C 002660EC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80269190 002660F0 7C 08 03 A6 */ mtlr r0 +/* 80269194 002660F4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80269198 002660F8 4E 80 00 20 */ blr + +.global ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f +ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f: +/* 8026919C 002660FC C0 C4 00 04 */ lfs f6, 4(r4) +/* 802691A0 00266100 C0 65 00 04 */ lfs f3, 4(r5) +/* 802691A4 00266104 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802691A8 00266108 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 802691AC 0026610C C0 25 00 00 */ lfs f1, 0(r5) +/* 802691B0 00266110 C0 E4 00 08 */ lfs f7, 8(r4) +/* 802691B4 00266114 C0 85 00 08 */ lfs f4, 8(r5) +/* 802691B8 00266118 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802691BC 0026611C EC 07 01 3A */ fmadds f0, f7, f4, f0 +/* 802691C0 00266120 EC 40 00 72 */ fmuls f2, f0, f1 +/* 802691C4 00266124 EC 20 00 F2 */ fmuls f1, f0, f3 +/* 802691C8 00266128 EC 00 01 32 */ fmuls f0, f0, f4 +/* 802691CC 0026612C EC 45 10 28 */ fsubs f2, f5, f2 +/* 802691D0 00266130 EC 26 08 28 */ fsubs f1, f6, f1 +/* 802691D4 00266134 EC 07 00 28 */ fsubs f0, f7, f0 +/* 802691D8 00266138 D0 43 00 00 */ stfs f2, 0(r3) +/* 802691DC 0026613C D0 23 00 04 */ stfs f1, 4(r3) +/* 802691E0 00266140 D0 03 00 08 */ stfs f0, 8(r3) +/* 802691E4 00266144 4E 80 00 20 */ blr + +.global ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f +ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802691E8 00266148 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802691EC 0026614C C1 04 00 04 */ lfs f8, 4(r4) +/* 802691F0 00266150 C0 05 00 04 */ lfs f0, 4(r5) +/* 802691F4 00266154 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802691F8 00266158 EC 48 00 28 */ fsubs f2, f8, f0 +/* 802691FC 0026615C C0 05 00 00 */ lfs f0, 0(r5) +/* 80269200 00266160 C0 A6 00 04 */ lfs f5, 4(r6) +/* 80269204 00266164 EC 67 00 28 */ fsubs f3, f7, f0 +/* 80269208 00266168 C1 24 00 08 */ lfs f9, 8(r4) +/* 8026920C 0026616C C0 25 00 08 */ lfs f1, 8(r5) +/* 80269210 00266170 EC 02 01 72 */ fmuls f0, f2, f5 +/* 80269214 00266174 C0 86 00 00 */ lfs f4, 0(r6) +/* 80269218 00266178 EC 29 08 28 */ fsubs f1, f9, f1 +/* 8026921C 0026617C C0 C6 00 08 */ lfs f6, 8(r6) +/* 80269220 00266180 EC 03 01 3A */ fmadds f0, f3, f4, f0 +/* 80269224 00266184 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80269228 00266188 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8026922C 0026618C EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 80269230 00266190 D0 61 00 08 */ stfs f3, 8(r1) +/* 80269234 00266194 EC 40 01 32 */ fmuls f2, f0, f4 +/* 80269238 00266198 EC 20 01 72 */ fmuls f1, f0, f5 +/* 8026923C 0026619C EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80269240 002661A0 EC 47 10 28 */ fsubs f2, f7, f2 +/* 80269244 002661A4 EC 28 08 28 */ fsubs f1, f8, f1 +/* 80269248 002661A8 EC 09 00 28 */ fsubs f0, f9, f0 +/* 8026924C 002661AC D0 43 00 00 */ stfs f2, 0(r3) +/* 80269250 002661B0 D0 23 00 04 */ stfs f1, 4(r3) +/* 80269254 002661B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80269258 002661B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026925C 002661BC 4E 80 00 20 */ blr + +.global "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" +"__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi": +/* 80269260 002661C0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80269264 002661C4 7C 08 02 A6 */ mflr r0 +/* 80269268 002661C8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8026926C 002661CC DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80269270 002661D0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80269274 002661D4 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80269278 002661D8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8026927C 002661DC DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80269280 002661E0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80269284 002661E4 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80269288 002661E8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8026928C 002661EC DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80269290 002661F0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80269294 002661F4 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80269298 002661F8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8026929C 002661FC DB 21 00 60 */ stfd f25, 0x60(r1) +/* 802692A0 00266200 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 802692A4 00266204 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 802692A8 00266208 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 802692AC 0026620C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802692B0 00266210 A0 05 00 00 */ lhz r0, 0(r5) +/* 802692B4 00266214 FF 00 08 90 */ fmr f24, f1 +/* 802692B8 00266218 83 A1 00 D8 */ lwz r29, 0xd8(r1) +/* 802692BC 0026621C FF 20 10 90 */ fmr f25, f2 +/* 802692C0 00266220 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802692C4 00266224 FF 40 18 90 */ fmr f26, f3 +/* 802692C8 00266228 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 802692CC 0026622C 93 A1 00 08 */ stw r29, 8(r1) +/* 802692D0 00266230 FF 60 20 90 */ fmr f27, f4 +/* 802692D4 00266234 81 61 00 E0 */ lwz r11, 0xe0(r1) +/* 802692D8 00266238 7C 7C 1B 78 */ mr r28, r3 +/* 802692DC 0026623C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802692E0 00266240 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802692E4 00266244 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802692E8 00266248 91 61 00 10 */ stw r11, 0x10(r1) +/* 802692EC 0026624C 81 61 00 E8 */ lwz r11, 0xe8(r1) +/* 802692F0 00266250 90 01 00 14 */ stw r0, 0x14(r1) +/* 802692F4 00266254 80 01 00 EC */ lwz r0, 0xec(r1) +/* 802692F8 00266258 91 61 00 18 */ stw r11, 0x18(r1) +/* 802692FC 0026625C 83 C1 00 F0 */ lwz r30, 0xf0(r1) +/* 80269300 00266260 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80269304 00266264 8B E1 00 F7 */ lbz r31, 0xf7(r1) +/* 80269308 00266268 4B E1 41 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8026930C 0026626C 3C 60 80 3F */ lis r3, lbl_803EA0F0@ha +/* 80269310 00266270 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80269314 00266274 38 03 A0 F0 */ addi r0, r3, lbl_803EA0F0@l +/* 80269318 00266278 3C A0 80 5A */ lis r5, lbl_805A6718@ha +/* 8026931C 0026627C 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 80269320 00266280 90 1C 00 00 */ stw r0, 0(r28) +/* 80269324 00266284 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l +/* 80269328 00266288 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8026932C 0026628C 38 A5 67 18 */ addi r5, r5, lbl_805A6718@l +/* 80269330 00266290 38 7C 05 68 */ addi r3, r28, 0x568 +/* 80269334 00266294 38 E0 FF FF */ li r7, -1 +/* 80269338 00266298 48 03 93 F1 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 8026933C 0026629C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80269340 002662A0 3B 7C 05 90 */ addi r27, r28, 0x590 +/* 80269344 002662A4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80269348 002662A8 C3 9D 00 C4 */ lfs f28, 0xc4(r29) +/* 8026934C 002662AC C3 E5 00 00 */ lfs f31, 0(r5) +/* 80269350 002662B0 38 9C 00 68 */ addi r4, r28, 0x68 +/* 80269354 002662B4 C3 C5 00 04 */ lfs f30, 4(r5) +/* 80269358 002662B8 7F 63 DB 78 */ mr r3, r27 +/* 8026935C 002662BC C3 A5 00 08 */ lfs f29, 8(r5) +/* 80269360 002662C0 48 06 65 55 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80269364 002662C4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80269368 002662C8 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) +/* 8026936C 002662CC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80269370 002662D0 80 82 BA F8 */ lwz r4, lbl_805AD818@sda21(r2) +/* 80269374 002662D4 90 1B 00 00 */ stw r0, 0(r27) +/* 80269378 002662D8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8026937C 002662DC D3 FB 00 10 */ stfs f31, 0x10(r27) +/* 80269380 002662E0 D3 DB 00 14 */ stfs f30, 0x14(r27) +/* 80269384 002662E4 D3 BB 00 18 */ stfs f29, 0x18(r27) +/* 80269388 002662E8 D3 9B 00 1C */ stfs f28, 0x1c(r27) +/* 8026938C 002662EC D3 1C 05 B0 */ stfs f24, 0x5b0(r28) +/* 80269390 002662F0 D3 3C 05 B4 */ stfs f25, 0x5b4(r28) +/* 80269394 002662F4 D0 1C 05 B8 */ stfs f0, 0x5b8(r28) +/* 80269398 002662F8 D0 1C 05 BC */ stfs f0, 0x5bc(r28) +/* 8026939C 002662FC D3 5C 05 C0 */ stfs f26, 0x5c0(r28) +/* 802693A0 00266300 D3 7C 05 C4 */ stfs f27, 0x5c4(r28) +/* 802693A4 00266304 D0 1C 05 C8 */ stfs f0, 0x5c8(r28) +/* 802693A8 00266308 4B D9 B9 11 */ bl string_l__4rstlFPCc +/* 802693AC 0026630C 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 802693B0 00266310 38 81 00 24 */ addi r4, r1, 0x24 +/* 802693B4 00266314 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802693B8 00266318 38 63 00 0C */ addi r3, r3, 0xc +/* 802693BC 0026631C 48 07 44 E1 */ bl sub_802dd89c +/* 802693C0 00266320 90 7C 05 CC */ stw r3, 0x5cc(r28) +/* 802693C4 00266324 38 61 00 24 */ addi r3, r1, 0x24 +/* 802693C8 00266328 48 0D 47 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 802693CC 0026632C 93 DC 05 D0 */ stw r30, 0x5d0(r28) +/* 802693D0 00266330 38 80 00 00 */ li r4, 0 +/* 802693D4 00266334 7F 83 E3 78 */ mr r3, r28 +/* 802693D8 00266338 B0 9C 05 D4 */ sth r4, 0x5d4(r28) +/* 802693DC 0026633C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693E0 00266340 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802693E4 00266344 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 802693E8 00266348 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693EC 0026634C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802693F0 00266350 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 802693F4 00266354 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 802693F8 00266358 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802693FC 0026635C 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269400 00266360 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 80269404 00266364 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b +/* 80269408 00266368 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 8026940C 0026636C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 80269410 00266370 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80269414 00266374 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269418 00266378 88 1C 05 D6 */ lbz r0, 0x5d6(r28) +/* 8026941C 0026637C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80269420 00266380 98 1C 05 D6 */ stb r0, 0x5d6(r28) +/* 80269424 00266384 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80269428 00266388 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8026942C 0026638C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80269430 00266390 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80269434 00266394 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80269438 00266398 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8026943C 0026639C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80269440 002663A0 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80269444 002663A4 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 80269448 002663A8 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8026944C 002663AC E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80269450 002663B0 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80269454 002663B4 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 80269458 002663B8 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8026945C 002663BC E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 80269460 002663C0 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 80269464 002663C4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80269468 002663C8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8026946C 002663CC 7C 08 03 A6 */ mtlr r0 +/* 80269470 002663D0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80269474 002663D4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/SPositionHistory.s b/asm/Kyoto_CWD/Enemies/SPositionHistory.s new file mode 100644 index 00000000..956a1a83 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/SPositionHistory.s @@ -0,0 +1,154 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_802a07f0 +sub_802a07f0: +/* 802A07F0 0029D750 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A07F4 0029D754 7C 08 02 A6 */ mflr r0 +/* 802A07F8 0029D758 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A07FC 0029D75C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802A0800 0029D760 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802A0804 0029D764 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802A0808 0029D768 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802A080C 0029D76C DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802A0810 0029D770 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802A0814 0029D774 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 802A0818 0029D778 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 802A081C 0029D77C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 802A0820 0029D780 3C E0 80 5A */ lis r7, skZero3f@ha +/* 802A0824 0029D784 7C 9C 23 78 */ mr r28, r4 +/* 802A0828 0029D788 38 87 66 A0 */ addi r4, r7, skZero3f@l +/* 802A082C 0029D78C C3 82 C1 18 */ lfs f28, lbl_805ADE38@sda21(r2) +/* 802A0830 0029D790 C3 E4 00 00 */ lfs f31, 0(r4) +/* 802A0834 0029D794 7C 7B 1B 78 */ mr r27, r3 +/* 802A0838 0029D798 C3 C4 00 04 */ lfs f30, 4(r4) +/* 802A083C 0029D79C 7C BD 2B 78 */ mr r29, r5 +/* 802A0840 0029D7A0 C3 A4 00 08 */ lfs f29, 8(r4) +/* 802A0844 0029D7A4 7C DE 33 78 */ mr r30, r6 +/* 802A0848 0029D7A8 3B FC 00 08 */ addi r31, r28, 8 +/* 802A084C 0029D7AC 48 00 00 98 */ b lbl_802A08E4 +lbl_802A0850: +/* 802A0850 0029D7B0 38 03 FF FF */ addi r0, r3, -1 +/* 802A0854 0029D7B4 C0 BD 00 04 */ lfs f5, 4(r29) +/* 802A0858 0029D7B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A085C 0029D7BC C0 5D 00 00 */ lfs f2, 0(r29) +/* 802A0860 0029D7C0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802A0864 0029D7C4 C0 9D 00 08 */ lfs f4, 8(r29) +/* 802A0868 0029D7C8 7C 7F 02 14 */ add r3, r31, r0 +/* 802A086C 0029D7CC C0 3E 00 00 */ lfs f1, 0(r30) +/* 802A0870 0029D7D0 C0 C3 00 04 */ lfs f6, 4(r3) +/* 802A0874 0029D7D4 C0 63 00 00 */ lfs f3, 0(r3) +/* 802A0878 0029D7D8 EC C6 28 28 */ fsubs f6, f6, f5 +/* 802A087C 0029D7DC C0 A3 00 08 */ lfs f5, 8(r3) +/* 802A0880 0029D7E0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A0884 0029D7E4 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802A0888 0029D7E8 EC 85 20 28 */ fsubs f4, f5, f4 +/* 802A088C 0029D7EC EC 06 00 32 */ fmuls f0, f6, f0 +/* 802A0890 0029D7F0 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802A0894 0029D7F4 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 802A0898 0029D7F8 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802A089C 0029D7FC D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802A08A0 0029D800 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 802A08A4 0029D804 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 802A08A8 0029D808 40 81 00 30 */ ble lbl_802A08D8 +/* 802A08AC 0029D80C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A08B0 0029D810 48 07 3E DD */ bl IsMagnitudeSafe__9CVector3fCFv +/* 802A08B4 0029D814 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A08B8 0029D818 41 82 00 20 */ beq lbl_802A08D8 +/* 802A08BC 0029D81C 38 61 00 08 */ addi r3, r1, 8 +/* 802A08C0 0029D820 38 81 00 14 */ addi r4, r1, 0x14 +/* 802A08C4 0029D824 48 07 3F 8D */ bl AsNormalized__9CVector3fCFv +/* 802A08C8 0029D828 C3 E1 00 08 */ lfs f31, 8(r1) +/* 802A08CC 0029D82C C3 C1 00 0C */ lfs f30, 0xc(r1) +/* 802A08D0 0029D830 C3 A1 00 10 */ lfs f29, 0x10(r1) +/* 802A08D4 0029D834 48 00 00 1C */ b lbl_802A08F0 +lbl_802A08D8: +/* 802A08D8 0029D838 80 7C 00 04 */ lwz r3, 4(r28) +/* 802A08DC 0029D83C 38 03 FF FF */ addi r0, r3, -1 +/* 802A08E0 0029D840 90 1C 00 04 */ stw r0, 4(r28) +lbl_802A08E4: +/* 802A08E4 0029D844 80 7C 00 04 */ lwz r3, 4(r28) +/* 802A08E8 0029D848 2C 03 00 00 */ cmpwi r3, 0 +/* 802A08EC 0029D84C 40 82 FF 64 */ bne lbl_802A0850 +lbl_802A08F0: +/* 802A08F0 0029D850 D3 FB 00 00 */ stfs f31, 0(r27) +/* 802A08F4 0029D854 D3 DB 00 04 */ stfs f30, 4(r27) +/* 802A08F8 0029D858 D3 BB 00 08 */ stfs f29, 8(r27) +/* 802A08FC 0029D85C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802A0900 0029D860 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802A0904 0029D864 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802A0908 0029D868 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802A090C 0029D86C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802A0910 0029D870 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802A0914 0029D874 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 802A0918 0029D878 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 802A091C 0029D87C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 802A0920 0029D880 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A0924 0029D884 7C 08 03 A6 */ mtlr r0 +/* 802A0928 0029D888 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A092C 0029D88C 4E 80 00 20 */ blr + +.global sub_802a0930 +sub_802a0930: +/* 802A0930 0029D890 80 C3 00 04 */ lwz r6, 4(r3) +/* 802A0934 0029D894 2C 06 00 10 */ cmpwi r6, 0x10 +/* 802A0938 0029D898 4C 80 00 20 */ bgelr +/* 802A093C 0029D89C 2C 06 00 00 */ cmpwi r6, 0 +/* 802A0940 0029D8A0 40 82 00 3C */ bne lbl_802A097C +/* 802A0944 0029D8A4 1C 06 00 0C */ mulli r0, r6, 0xc +/* 802A0948 0029D8A8 7C A3 02 14 */ add r5, r3, r0 +/* 802A094C 0029D8AC 34 A5 00 08 */ addic. r5, r5, 8 +/* 802A0950 0029D8B0 41 82 00 1C */ beq lbl_802A096C +/* 802A0954 0029D8B4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A0958 0029D8B8 D0 05 00 00 */ stfs f0, 0(r5) +/* 802A095C 0029D8BC C0 04 00 04 */ lfs f0, 4(r4) +/* 802A0960 0029D8C0 D0 05 00 04 */ stfs f0, 4(r5) +/* 802A0964 0029D8C4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A0968 0029D8C8 D0 05 00 08 */ stfs f0, 8(r5) +lbl_802A096C: +/* 802A096C 0029D8CC 80 83 00 04 */ lwz r4, 4(r3) +/* 802A0970 0029D8D0 38 04 00 01 */ addi r0, r4, 1 +/* 802A0974 0029D8D4 90 03 00 04 */ stw r0, 4(r3) +/* 802A0978 0029D8D8 4E 80 00 20 */ blr +lbl_802A097C: +/* 802A097C 0029D8DC 38 06 FF FF */ addi r0, r6, -1 +/* 802A0980 0029D8E0 38 E3 00 08 */ addi r7, r3, 8 +/* 802A0984 0029D8E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A0988 0029D8E8 C0 64 00 04 */ lfs f3, 4(r4) +/* 802A098C 0029D8EC C0 A4 00 00 */ lfs f5, 0(r4) +/* 802A0990 0029D8F0 C0 44 00 08 */ lfs f2, 8(r4) +/* 802A0994 0029D8F4 7C A7 02 14 */ add r5, r7, r0 +/* 802A0998 0029D8F8 C0 03 00 00 */ lfs f0, 0(r3) +/* 802A099C 0029D8FC C0 25 00 04 */ lfs f1, 4(r5) +/* 802A09A0 0029D900 C0 85 00 00 */ lfs f4, 0(r5) +/* 802A09A4 0029D904 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802A09A8 0029D908 C0 25 00 08 */ lfs f1, 8(r5) +/* 802A09AC 0029D90C EC 85 20 28 */ fsubs f4, f5, f4 +/* 802A09B0 0029D910 EC 42 08 28 */ fsubs f2, f2, f1 +/* 802A09B4 0029D914 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 802A09B8 0029D918 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 802A09BC 0029D91C EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 802A09C0 0029D920 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A09C4 0029D924 4C 81 00 20 */ blelr +/* 802A09C8 0029D928 1C 06 00 0C */ mulli r0, r6, 0xc +/* 802A09CC 0029D92C 7C A7 02 15 */ add. r5, r7, r0 +/* 802A09D0 0029D930 41 82 00 18 */ beq lbl_802A09E8 +/* 802A09D4 0029D934 D0 A5 00 00 */ stfs f5, 0(r5) +/* 802A09D8 0029D938 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A09DC 0029D93C D0 05 00 04 */ stfs f0, 4(r5) +/* 802A09E0 0029D940 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A09E4 0029D944 D0 05 00 08 */ stfs f0, 8(r5) +lbl_802A09E8: +/* 802A09E8 0029D948 80 83 00 04 */ lwz r4, 4(r3) +/* 802A09EC 0029D94C 38 04 00 01 */ addi r0, r4, 1 +/* 802A09F0 0029D950 90 03 00 04 */ stw r0, 4(r3) +/* 802A09F4 0029D954 4E 80 00 20 */ blr + +.global sub_802a09f8 +sub_802a09f8: +/* 802A09F8 0029D958 EC 01 00 72 */ fmuls f0, f1, f1 +/* 802A09FC 0029D95C 38 00 00 00 */ li r0, 0 +/* 802A0A00 0029D960 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A0A04 0029D964 90 03 00 04 */ stw r0, 4(r3) +/* 802A0A08 0029D968 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s b/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s new file mode 100644 index 00000000..4ae4e367 --- /dev/null +++ b/asm/Kyoto_CWD/Factories/CSaveWorldFactory.s @@ -0,0 +1,1082 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8026AD60 00267CC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026AD64 00267CC4 7C 08 02 A6 */ mflr r0 +/* 8026AD68 00267CC8 3C 80 80 3D */ lis r4, lbl_803D5418@ha +/* 8026AD6C 00267CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AD70 00267CD0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l +/* 8026AD74 00267CD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026AD78 00267CD8 7C BF 2B 78 */ mr r31, r5 +/* 8026AD7C 00267CDC 38 A0 00 00 */ li r5, 0 +/* 8026AD80 00267CE0 93 C1 00 08 */ stw r30, 8(r1) +/* 8026AD84 00267CE4 7C 7E 1B 78 */ mr r30, r3 +/* 8026AD88 00267CE8 38 60 00 54 */ li r3, 0x54 +/* 8026AD8C 00267CEC 48 0A AA E1 */ bl __nw__FUlPCcPCc +/* 8026AD90 00267CF0 7C 64 1B 79 */ or. r4, r3, r3 +/* 8026AD94 00267CF4 41 82 00 10 */ beq lbl_8026ADA4 +/* 8026AD98 00267CF8 7F E4 FB 78 */ mr r4, r31 +/* 8026AD9C 00267CFC 48 00 04 8D */ bl __ct__10CSaveWorldFR12CinputStream +/* 8026ADA0 00267D00 7C 64 1B 78 */ mr r4, r3 +lbl_8026ADA4: +/* 8026ADA4 00267D04 7F C3 F3 78 */ mr r3, r30 +/* 8026ADA8 00267D08 48 00 00 1D */ bl sub_8026adc4 +/* 8026ADAC 00267D0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026ADB0 00267D10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026ADB4 00267D14 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026ADB8 00267D18 7C 08 03 A6 */ mtlr r0 +/* 8026ADBC 00267D1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026ADC0 00267D20 4E 80 00 20 */ blr + +.global sub_8026adc4 +sub_8026adc4: +/* 8026ADC4 00267D24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8026ADC8 00267D28 7C 08 02 A6 */ mflr r0 +/* 8026ADCC 00267D2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026ADD0 00267D30 7C 04 00 D0 */ neg r0, r4 +/* 8026ADD4 00267D34 7C 00 23 78 */ or r0, r0, r4 +/* 8026ADD8 00267D38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8026ADDC 00267D3C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026ADE0 00267D40 7C 7F 1B 78 */ mr r31, r3 +/* 8026ADE4 00267D44 38 61 00 08 */ addi r3, r1, 8 +/* 8026ADE8 00267D48 90 81 00 14 */ stw r4, 0x14(r1) +/* 8026ADEC 00267D4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8026ADF0 00267D50 98 01 00 10 */ stb r0, 0x10(r1) +/* 8026ADF4 00267D54 48 00 02 B9 */ bl sub_8026b0ac +/* 8026ADF8 00267D58 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026ADFC 00267D5C 38 00 00 00 */ li r0, 0 +/* 8026AE00 00267D60 98 01 00 08 */ stb r0, 8(r1) +/* 8026AE04 00267D64 7C 03 00 D0 */ neg r0, r3 +/* 8026AE08 00267D68 7C 00 1B 78 */ or r0, r0, r3 +/* 8026AE0C 00267D6C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026AE10 00267D70 98 1F 00 00 */ stb r0, 0(r31) +/* 8026AE14 00267D74 90 7F 00 04 */ stw r3, 4(r31) +/* 8026AE18 00267D78 88 01 00 08 */ lbz r0, 8(r1) +/* 8026AE1C 00267D7C 28 00 00 00 */ cmplwi r0, 0 +/* 8026AE20 00267D80 41 82 00 24 */ beq lbl_8026AE44 +/* 8026AE24 00267D84 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026AE28 00267D88 28 03 00 00 */ cmplwi r3, 0 +/* 8026AE2C 00267D8C 41 82 00 18 */ beq lbl_8026AE44 +/* 8026AE30 00267D90 81 83 00 00 */ lwz r12, 0(r3) +/* 8026AE34 00267D94 38 80 00 01 */ li r4, 1 +/* 8026AE38 00267D98 81 8C 00 08 */ lwz r12, 8(r12) +/* 8026AE3C 00267D9C 7D 89 03 A6 */ mtctr r12 +/* 8026AE40 00267DA0 4E 80 04 21 */ bctrl +lbl_8026AE44: +/* 8026AE44 00267DA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026AE48 00267DA8 38 80 FF FF */ li r4, -1 +/* 8026AE4C 00267DAC 48 00 03 29 */ bl sub_8026b174 +/* 8026AE50 00267DB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8026AE54 00267DB4 7F E3 FB 78 */ mr r3, r31 +/* 8026AE58 00267DB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026AE5C 00267DBC 7C 08 03 A6 */ mtlr r0 +/* 8026AE60 00267DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8026AE64 00267DC4 4E 80 00 20 */ blr + +.global sub_8026ae68 +sub_8026ae68: +/* 8026AE68 00267DC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026AE6C 00267DCC 7C 08 02 A6 */ mflr r0 +/* 8026AE70 00267DD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026AE74 00267DD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026AE78 00267DD8 7C 9F 23 78 */ mr r31, r4 +/* 8026AE7C 00267DDC 93 C1 00 08 */ stw r30, 8(r1) +/* 8026AE80 00267DE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026AE84 00267DE4 41 82 00 58 */ beq lbl_8026AEDC +/* 8026AE88 00267DE8 3C 60 80 3F */ lis r3, lbl_803EA790@ha +/* 8026AE8C 00267DEC 38 03 A7 90 */ addi r0, r3, lbl_803EA790@l +/* 8026AE90 00267DF0 90 1E 00 00 */ stw r0, 0(r30) +/* 8026AE94 00267DF4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026AE98 00267DF8 28 03 00 00 */ cmplwi r3, 0 +/* 8026AE9C 00267DFC 41 82 00 0C */ beq lbl_8026AEA8 +/* 8026AEA0 00267E00 38 80 00 01 */ li r4, 1 +/* 8026AEA4 00267E04 48 00 00 55 */ bl sub_8026aef8 +lbl_8026AEA8: +/* 8026AEA8 00267E08 28 1E 00 00 */ cmplwi r30, 0 +/* 8026AEAC 00267E0C 41 82 00 20 */ beq lbl_8026AECC +/* 8026AEB0 00267E10 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8026AEB4 00267E14 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8026AEB8 00267E18 90 1E 00 00 */ stw r0, 0(r30) +/* 8026AEBC 00267E1C 41 82 00 10 */ beq lbl_8026AECC +/* 8026AEC0 00267E20 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8026AEC4 00267E24 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8026AEC8 00267E28 90 1E 00 00 */ stw r0, 0(r30) +lbl_8026AECC: +/* 8026AECC 00267E2C 7F E0 07 35 */ extsh. r0, r31 +/* 8026AED0 00267E30 40 81 00 0C */ ble lbl_8026AEDC +/* 8026AED4 00267E34 7F C3 F3 78 */ mr r3, r30 +/* 8026AED8 00267E38 48 0A AA 59 */ bl Free__7CMemoryFPCv +lbl_8026AEDC: +/* 8026AEDC 00267E3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026AEE0 00267E40 7F C3 F3 78 */ mr r3, r30 +/* 8026AEE4 00267E44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026AEE8 00267E48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026AEEC 00267E4C 7C 08 03 A6 */ mtlr r0 +/* 8026AEF0 00267E50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026AEF4 00267E54 4E 80 00 20 */ blr + +.global sub_8026aef8 +sub_8026aef8: +/* 8026AEF8 00267E58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8026AEFC 00267E5C 7C 08 02 A6 */ mflr r0 +/* 8026AF00 00267E60 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026AF04 00267E64 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8026AF08 00267E68 7C 9F 23 78 */ mr r31, r4 +/* 8026AF0C 00267E6C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8026AF10 00267E70 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026AF14 00267E74 41 82 01 7C */ beq lbl_8026B090 +/* 8026AF18 00267E78 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 8026AF1C 00267E7C 41 82 00 44 */ beq lbl_8026AF60 +/* 8026AF20 00267E80 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 8026AF24 00267E84 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 8026AF28 00267E88 54 00 18 38 */ slwi r0, r0, 3 +/* 8026AF2C 00267E8C 7C 03 02 14 */ add r0, r3, r0 +/* 8026AF30 00267E90 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8026AF34 00267E94 7C 64 1B 78 */ mr r4, r3 +/* 8026AF38 00267E98 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026AF3C 00267E9C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8026AF40 00267EA0 90 61 00 48 */ stw r3, 0x48(r1) +/* 8026AF44 00267EA4 48 00 00 08 */ b lbl_8026AF4C +lbl_8026AF48: +/* 8026AF48 00267EA8 38 84 00 08 */ addi r4, r4, 8 +lbl_8026AF4C: +/* 8026AF4C 00267EAC 7C 04 00 40 */ cmplw r4, r0 +/* 8026AF50 00267EB0 40 82 FF F8 */ bne lbl_8026AF48 +/* 8026AF54 00267EB4 28 03 00 00 */ cmplwi r3, 0 +/* 8026AF58 00267EB8 41 82 00 08 */ beq lbl_8026AF60 +/* 8026AF5C 00267EBC 48 0A A9 D5 */ bl Free__7CMemoryFPCv +lbl_8026AF60: +/* 8026AF60 00267EC0 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 8026AF64 00267EC4 41 82 00 44 */ beq lbl_8026AFA8 +/* 8026AF68 00267EC8 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 8026AF6C 00267ECC 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 8026AF70 00267ED0 54 00 10 3A */ slwi r0, r0, 2 +/* 8026AF74 00267ED4 7C 03 02 14 */ add r0, r3, r0 +/* 8026AF78 00267ED8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026AF7C 00267EDC 7C 64 1B 78 */ mr r4, r3 +/* 8026AF80 00267EE0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026AF84 00267EE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8026AF88 00267EE8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8026AF8C 00267EEC 48 00 00 08 */ b lbl_8026AF94 +lbl_8026AF90: +/* 8026AF90 00267EF0 38 84 00 04 */ addi r4, r4, 4 +lbl_8026AF94: +/* 8026AF94 00267EF4 7C 04 00 40 */ cmplw r4, r0 +/* 8026AF98 00267EF8 40 82 FF F8 */ bne lbl_8026AF90 +/* 8026AF9C 00267EFC 28 03 00 00 */ cmplwi r3, 0 +/* 8026AFA0 00267F00 41 82 00 08 */ beq lbl_8026AFA8 +/* 8026AFA4 00267F04 48 0A A9 8D */ bl Free__7CMemoryFPCv +lbl_8026AFA8: +/* 8026AFA8 00267F08 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8026AFAC 00267F0C 41 82 00 44 */ beq lbl_8026AFF0 +/* 8026AFB0 00267F10 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8026AFB4 00267F14 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8026AFB8 00267F18 54 00 18 38 */ slwi r0, r0, 3 +/* 8026AFBC 00267F1C 7C 03 02 14 */ add r0, r3, r0 +/* 8026AFC0 00267F20 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8026AFC4 00267F24 7C 64 1B 78 */ mr r4, r3 +/* 8026AFC8 00267F28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026AFCC 00267F2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8026AFD0 00267F30 90 61 00 28 */ stw r3, 0x28(r1) +/* 8026AFD4 00267F34 48 00 00 08 */ b lbl_8026AFDC +lbl_8026AFD8: +/* 8026AFD8 00267F38 38 84 00 08 */ addi r4, r4, 8 +lbl_8026AFDC: +/* 8026AFDC 00267F3C 7C 04 00 40 */ cmplw r4, r0 +/* 8026AFE0 00267F40 40 82 FF F8 */ bne lbl_8026AFD8 +/* 8026AFE4 00267F44 28 03 00 00 */ cmplwi r3, 0 +/* 8026AFE8 00267F48 41 82 00 08 */ beq lbl_8026AFF0 +/* 8026AFEC 00267F4C 48 0A A9 45 */ bl Free__7CMemoryFPCv +lbl_8026AFF0: +/* 8026AFF0 00267F50 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8026AFF4 00267F54 41 82 00 44 */ beq lbl_8026B038 +/* 8026AFF8 00267F58 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8026AFFC 00267F5C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 8026B000 00267F60 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B004 00267F64 7C 03 02 14 */ add r0, r3, r0 +/* 8026B008 00267F68 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8026B00C 00267F6C 7C 64 1B 78 */ mr r4, r3 +/* 8026B010 00267F70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026B014 00267F74 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026B018 00267F78 90 61 00 18 */ stw r3, 0x18(r1) +/* 8026B01C 00267F7C 48 00 00 08 */ b lbl_8026B024 +lbl_8026B020: +/* 8026B020 00267F80 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B024: +/* 8026B024 00267F84 7C 04 00 40 */ cmplw r4, r0 +/* 8026B028 00267F88 40 82 FF F8 */ bne lbl_8026B020 +/* 8026B02C 00267F8C 28 03 00 00 */ cmplwi r3, 0 +/* 8026B030 00267F90 41 82 00 08 */ beq lbl_8026B038 +/* 8026B034 00267F94 48 0A A8 FD */ bl Free__7CMemoryFPCv +lbl_8026B038: +/* 8026B038 00267F98 34 1E 00 04 */ addic. r0, r30, 4 +/* 8026B03C 00267F9C 41 82 00 44 */ beq lbl_8026B080 +/* 8026B040 00267FA0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8026B044 00267FA4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8026B048 00267FA8 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B04C 00267FAC 7C 03 02 14 */ add r0, r3, r0 +/* 8026B050 00267FB0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026B054 00267FB4 7C 64 1B 78 */ mr r4, r3 +/* 8026B058 00267FB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B05C 00267FBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026B060 00267FC0 90 61 00 08 */ stw r3, 8(r1) +/* 8026B064 00267FC4 48 00 00 08 */ b lbl_8026B06C +lbl_8026B068: +/* 8026B068 00267FC8 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B06C: +/* 8026B06C 00267FCC 7C 04 00 40 */ cmplw r4, r0 +/* 8026B070 00267FD0 40 82 FF F8 */ bne lbl_8026B068 +/* 8026B074 00267FD4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B078 00267FD8 41 82 00 08 */ beq lbl_8026B080 +/* 8026B07C 00267FDC 48 0A A8 B5 */ bl Free__7CMemoryFPCv +lbl_8026B080: +/* 8026B080 00267FE0 7F E0 07 35 */ extsh. r0, r31 +/* 8026B084 00267FE4 40 81 00 0C */ ble lbl_8026B090 +/* 8026B088 00267FE8 7F C3 F3 78 */ mr r3, r30 +/* 8026B08C 00267FEC 48 0A A8 A5 */ bl Free__7CMemoryFPCv +lbl_8026B090: +/* 8026B090 00267FF0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8026B094 00267FF4 7F C3 F3 78 */ mr r3, r30 +/* 8026B098 00267FF8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8026B09C 00267FFC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8026B0A0 00268000 7C 08 03 A6 */ mtlr r0 +/* 8026B0A4 00268004 38 21 00 60 */ addi r1, r1, 0x60 +/* 8026B0A8 00268008 4E 80 00 20 */ blr + +.global sub_8026b0ac +sub_8026b0ac: +/* 8026B0AC 0026800C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B0B0 00268010 7C 08 02 A6 */ mflr r0 +/* 8026B0B4 00268014 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B0B8 00268018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B0BC 0026801C 7C 7F 1B 78 */ mr r31, r3 +/* 8026B0C0 00268020 48 00 00 19 */ bl sub_8026b0d8 +/* 8026B0C4 00268024 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B0C8 00268028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B0CC 0026802C 7C 08 03 A6 */ mtlr r0 +/* 8026B0D0 00268030 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B0D4 00268034 4E 80 00 20 */ blr + +.global sub_8026b0d8 +sub_8026b0d8: +/* 8026B0D8 00268038 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B0DC 0026803C 7C 08 02 A6 */ mflr r0 +/* 8026B0E0 00268040 3C A0 80 3D */ lis r5, lbl_803D5418@ha +/* 8026B0E4 00268044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B0E8 00268048 38 05 54 18 */ addi r0, r5, lbl_803D5418@l +/* 8026B0EC 0026804C 38 A0 00 00 */ li r5, 0 +/* 8026B0F0 00268050 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B0F4 00268054 7C 9F 23 78 */ mr r31, r4 +/* 8026B0F8 00268058 7C 04 03 78 */ mr r4, r0 +/* 8026B0FC 0026805C 93 C1 00 08 */ stw r30, 8(r1) +/* 8026B100 00268060 7C 7E 1B 78 */ mr r30, r3 +/* 8026B104 00268064 38 60 00 08 */ li r3, 8 +/* 8026B108 00268068 48 0A A7 65 */ bl __nw__FUlPCcPCc +/* 8026B10C 0026806C 28 03 00 00 */ cmplwi r3, 0 +/* 8026B110 00268070 41 82 00 38 */ beq lbl_8026B148 +/* 8026B114 00268074 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8026B118 00268078 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8026B11C 0026807C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8026B120 00268080 3C 80 80 3F */ lis r4, lbl_803EA790@ha +/* 8026B124 00268084 90 03 00 00 */ stw r0, 0(r3) +/* 8026B128 00268088 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8026B12C 0026808C 38 A0 00 00 */ li r5, 0 +/* 8026B130 00268090 38 04 A7 90 */ addi r0, r4, lbl_803EA790@l +/* 8026B134 00268094 90 C3 00 00 */ stw r6, 0(r3) +/* 8026B138 00268098 98 BF 00 00 */ stb r5, 0(r31) +/* 8026B13C 0026809C 80 9F 00 04 */ lwz r4, 4(r31) +/* 8026B140 002680A0 90 83 00 04 */ stw r4, 4(r3) +/* 8026B144 002680A4 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B148: +/* 8026B148 002680A8 7C 03 00 D0 */ neg r0, r3 +/* 8026B14C 002680AC 7C 00 1B 78 */ or r0, r0, r3 +/* 8026B150 002680B0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026B154 002680B4 98 1E 00 00 */ stb r0, 0(r30) +/* 8026B158 002680B8 90 7E 00 04 */ stw r3, 4(r30) +/* 8026B15C 002680BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B160 002680C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026B164 002680C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B168 002680C8 7C 08 03 A6 */ mtlr r0 +/* 8026B16C 002680CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B170 002680D0 4E 80 00 20 */ blr + +.global sub_8026b174 +sub_8026b174: +/* 8026B174 002680D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026B178 002680D8 7C 08 02 A6 */ mflr r0 +/* 8026B17C 002680DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026B180 002680E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026B184 002680E4 7C 9F 23 78 */ mr r31, r4 +/* 8026B188 002680E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8026B18C 002680EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026B190 002680F0 41 82 00 2C */ beq lbl_8026B1BC +/* 8026B194 002680F4 88 1E 00 00 */ lbz r0, 0(r30) +/* 8026B198 002680F8 28 00 00 00 */ cmplwi r0, 0 +/* 8026B19C 002680FC 41 82 00 10 */ beq lbl_8026B1AC +/* 8026B1A0 00268100 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026B1A4 00268104 38 80 00 01 */ li r4, 1 +/* 8026B1A8 00268108 4B FF FD 51 */ bl sub_8026aef8 +lbl_8026B1AC: +/* 8026B1AC 0026810C 7F E0 07 35 */ extsh. r0, r31 +/* 8026B1B0 00268110 40 81 00 0C */ ble lbl_8026B1BC +/* 8026B1B4 00268114 7F C3 F3 78 */ mr r3, r30 +/* 8026B1B8 00268118 48 0A A7 79 */ bl Free__7CMemoryFPCv +lbl_8026B1BC: +/* 8026B1BC 0026811C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026B1C0 00268120 7F C3 F3 78 */ mr r3, r30 +/* 8026B1C4 00268124 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026B1C8 00268128 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026B1CC 0026812C 7C 08 03 A6 */ mtlr r0 +/* 8026B1D0 00268130 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026B1D4 00268134 4E 80 00 20 */ blr + +.global GetRelayIndex__10CSaveWorldCFRC9TEditorId +GetRelayIndex__10CSaveWorldCFRC9TEditorId: +/* 8026B1D8 00268138 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8026B1DC 0026813C 38 E0 00 00 */ li r7, 0 +/* 8026B1E0 00268140 38 C0 00 00 */ li r6, 0 +/* 8026B1E4 00268144 7C 09 03 A6 */ mtctr r0 +/* 8026B1E8 00268148 2C 00 00 00 */ cmpwi r0, 0 +/* 8026B1EC 0026814C 40 81 00 34 */ ble lbl_8026B220 +lbl_8026B1F0: +/* 8026B1F0 00268150 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 8026B1F4 00268154 80 04 00 00 */ lwz r0, 0(r4) +/* 8026B1F8 00268158 7C A5 30 2E */ lwzx r5, r5, r6 +/* 8026B1FC 0026815C 54 00 01 BE */ clrlwi r0, r0, 6 +/* 8026B200 00268160 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 8026B204 00268164 7C 05 00 40 */ cmplw r5, r0 +/* 8026B208 00268168 40 82 00 0C */ bne lbl_8026B214 +/* 8026B20C 0026816C 7C E3 3B 78 */ mr r3, r7 +/* 8026B210 00268170 4E 80 00 20 */ blr +lbl_8026B214: +/* 8026B214 00268174 38 C6 00 04 */ addi r6, r6, 4 +/* 8026B218 00268178 38 E7 00 01 */ addi r7, r7, 1 +/* 8026B21C 0026817C 42 00 FF D4 */ bdnz lbl_8026B1F0 +lbl_8026B220: +/* 8026B220 00268180 38 60 FF FF */ li r3, -1 +/* 8026B224 00268184 4E 80 00 20 */ blr + +.global __ct__10CSaveWorldFR12CinputStream +__ct__10CSaveWorldFR12CinputStream: +/* 8026B228 00268188 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8026B22C 0026818C 7C 08 02 A6 */ mflr r0 +/* 8026B230 00268190 90 01 01 34 */ stw r0, 0x134(r1) +/* 8026B234 00268194 38 00 00 00 */ li r0, 0 +/* 8026B238 00268198 BF 21 01 14 */ stmw r25, 0x114(r1) +/* 8026B23C 0026819C 7C 7F 1B 78 */ mr r31, r3 +/* 8026B240 002681A0 7C 9E 23 78 */ mr r30, r4 +/* 8026B244 002681A4 90 03 00 00 */ stw r0, 0(r3) +/* 8026B248 002681A8 7F C3 F3 78 */ mr r3, r30 +/* 8026B24C 002681AC 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B250 002681B0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026B254 002681B4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8026B258 002681B8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B25C 002681BC 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8026B260 002681C0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8026B264 002681C4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B268 002681C8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026B26C 002681CC 90 1F 00 30 */ stw r0, 0x30(r31) +/* 8026B270 002681D0 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B274 002681D4 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 8026B278 002681D8 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026B27C 002681DC 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026B280 002681E0 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8026B284 002681E4 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8026B288 002681E8 48 0D 39 FD */ bl ReadLong__12CInputStreamFv +/* 8026B28C 002681EC 7F C3 F3 78 */ mr r3, r30 +/* 8026B290 002681F0 48 0D 39 F5 */ bl ReadLong__12CInputStreamFv +/* 8026B294 002681F4 7C 7D 1B 78 */ mr r29, r3 +/* 8026B298 002681F8 28 1D 00 01 */ cmplwi r29, 1 +/* 8026B29C 002681FC 40 81 00 10 */ ble lbl_8026B2AC +/* 8026B2A0 00268200 7F C3 F3 78 */ mr r3, r30 +/* 8026B2A4 00268204 48 0D 39 E1 */ bl ReadLong__12CInputStreamFv +/* 8026B2A8 00268208 90 7F 00 00 */ stw r3, 0(r31) +lbl_8026B2AC: +/* 8026B2AC 0026820C 28 1D 00 02 */ cmplwi r29, 2 +/* 8026B2B0 00268210 40 81 01 9C */ ble lbl_8026B44C +/* 8026B2B4 00268214 38 00 00 00 */ li r0, 0 +/* 8026B2B8 00268218 7F C3 F3 78 */ mr r3, r30 +/* 8026B2BC 0026821C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 8026B2C0 00268220 90 01 00 FC */ stw r0, 0xfc(r1) +/* 8026B2C4 00268224 90 01 01 00 */ stw r0, 0x100(r1) +/* 8026B2C8 00268228 48 0D 39 BD */ bl ReadLong__12CInputStreamFv +/* 8026B2CC 0026822C 7C 7A 1B 78 */ mr r26, r3 +/* 8026B2D0 00268230 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8026B2D4 00268234 7F 44 D3 78 */ mr r4, r26 +/* 8026B2D8 00268238 4B DE 50 71 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B2DC 0026823C 3B 60 00 00 */ li r27, 0 +/* 8026B2E0 00268240 48 00 00 64 */ b lbl_8026B344 +lbl_8026B2E4: +/* 8026B2E4 00268244 7F C4 F3 78 */ mr r4, r30 +/* 8026B2E8 00268248 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8026B2EC 0026824C 4B EA F1 75 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B2F0 00268250 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B2F4 00268254 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 8026B2F8 00268258 7C 00 28 00 */ cmpw r0, r5 +/* 8026B2FC 0026825C 41 80 00 1C */ blt lbl_8026B318 +/* 8026B300 00268260 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B304 00268264 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8026B308 00268268 38 80 00 04 */ li r4, 4 +/* 8026B30C 0026826C 41 82 00 08 */ beq lbl_8026B314 +/* 8026B310 00268270 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B314: +/* 8026B314 00268274 4B DE 50 35 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B318: +/* 8026B318 00268278 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B31C 0026827C 80 61 01 00 */ lwz r3, 0x100(r1) +/* 8026B320 00268280 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B324 00268284 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B328 00268288 41 82 00 0C */ beq lbl_8026B334 +/* 8026B32C 0026828C 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 8026B330 00268290 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B334: +/* 8026B334 00268294 80 61 00 F8 */ lwz r3, 0xf8(r1) +/* 8026B338 00268298 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026B33C 0026829C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B340 002682A0 90 01 00 F8 */ stw r0, 0xf8(r1) +lbl_8026B344: +/* 8026B344 002682A4 7C 1B D0 00 */ cmpw r27, r26 +/* 8026B348 002682A8 41 80 FF 9C */ blt lbl_8026B2E4 +/* 8026B34C 002682AC 38 7F 00 04 */ addi r3, r31, 4 +/* 8026B350 002682B0 38 01 00 F4 */ addi r0, r1, 0xf4 +/* 8026B354 002682B4 7C 03 00 40 */ cmplw r3, r0 +/* 8026B358 002682B8 41 82 00 B4 */ beq lbl_8026B40C +/* 8026B35C 002682BC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8026B360 002682C0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B364 002682C4 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B368 002682C8 7C 03 02 14 */ add r0, r3, r0 +/* 8026B36C 002682CC 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8026B370 002682D0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8026B374 002682D4 90 01 00 50 */ stw r0, 0x50(r1) +/* 8026B378 002682D8 90 61 00 48 */ stw r3, 0x48(r1) +/* 8026B37C 002682DC 48 00 00 08 */ b lbl_8026B384 +lbl_8026B380: +/* 8026B380 002682E0 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B384: +/* 8026B384 002682E4 7C 03 00 40 */ cmplw r3, r0 +/* 8026B388 002682E8 40 82 FF F8 */ bne lbl_8026B380 +/* 8026B38C 002682EC 38 00 00 00 */ li r0, 0 +/* 8026B390 002682F0 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B394 002682F4 80 81 00 F8 */ lwz r4, 0xf8(r1) +/* 8026B398 002682F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B39C 002682FC 40 82 00 28 */ bne lbl_8026B3C4 +/* 8026B3A0 00268300 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B3A4 00268304 28 03 00 00 */ cmplwi r3, 0 +/* 8026B3A8 00268308 41 82 00 08 */ beq lbl_8026B3B0 +/* 8026B3AC 0026830C 48 0A A5 85 */ bl Free__7CMemoryFPCv +lbl_8026B3B0: +/* 8026B3B0 00268310 38 00 00 00 */ li r0, 0 +/* 8026B3B4 00268314 90 1F 00 08 */ stw r0, 8(r31) +/* 8026B3B8 00268318 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8026B3BC 0026831C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8026B3C0 00268320 48 00 00 4C */ b lbl_8026B40C +lbl_8026B3C4: +/* 8026B3C4 00268324 38 7F 00 04 */ addi r3, r31, 4 +/* 8026B3C8 00268328 4B DE 4F 81 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B3CC 0026832C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B3D0 00268330 80 A1 01 00 */ lwz r5, 0x100(r1) +/* 8026B3D4 00268334 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B3D8 00268338 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8026B3DC 0026833C 7C 85 02 14 */ add r4, r5, r0 +/* 8026B3E0 00268340 48 00 00 1C */ b lbl_8026B3FC +lbl_8026B3E4: +/* 8026B3E4 00268344 28 03 00 00 */ cmplwi r3, 0 +/* 8026B3E8 00268348 41 82 00 0C */ beq lbl_8026B3F4 +/* 8026B3EC 0026834C 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B3F0 00268350 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B3F4: +/* 8026B3F4 00268354 38 63 00 04 */ addi r3, r3, 4 +/* 8026B3F8 00268358 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B3FC: +/* 8026B3FC 0026835C 7C 05 20 40 */ cmplw r5, r4 +/* 8026B400 00268360 40 82 FF E4 */ bne lbl_8026B3E4 +/* 8026B404 00268364 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B408 00268368 90 1F 00 08 */ stw r0, 8(r31) +lbl_8026B40C: +/* 8026B40C 0026836C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8026B410 00268370 80 61 01 00 */ lwz r3, 0x100(r1) +/* 8026B414 00268374 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B418 00268378 7C 03 02 14 */ add r0, r3, r0 +/* 8026B41C 0026837C 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8026B420 00268380 7C 64 1B 78 */ mr r4, r3 +/* 8026B424 00268384 90 01 00 AC */ stw r0, 0xac(r1) +/* 8026B428 00268388 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8026B42C 0026838C 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 8026B430 00268390 48 00 00 08 */ b lbl_8026B438 +lbl_8026B434: +/* 8026B434 00268394 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B438: +/* 8026B438 00268398 7C 04 00 40 */ cmplw r4, r0 +/* 8026B43C 0026839C 40 82 FF F8 */ bne lbl_8026B434 +/* 8026B440 002683A0 28 03 00 00 */ cmplwi r3, 0 +/* 8026B444 002683A4 41 82 00 08 */ beq lbl_8026B44C +/* 8026B448 002683A8 48 0A A4 E9 */ bl Free__7CMemoryFPCv +lbl_8026B44C: +/* 8026B44C 002683AC 28 1D 00 02 */ cmplwi r29, 2 +/* 8026B450 002683B0 40 81 01 9C */ ble lbl_8026B5EC +/* 8026B454 002683B4 38 00 00 00 */ li r0, 0 +/* 8026B458 002683B8 7F C3 F3 78 */ mr r3, r30 +/* 8026B45C 002683BC 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8026B460 002683C0 90 01 00 EC */ stw r0, 0xec(r1) +/* 8026B464 002683C4 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 8026B468 002683C8 48 0D 38 1D */ bl ReadLong__12CInputStreamFv +/* 8026B46C 002683CC 7C 7A 1B 78 */ mr r26, r3 +/* 8026B470 002683D0 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8026B474 002683D4 7F 44 D3 78 */ mr r4, r26 +/* 8026B478 002683D8 4B DE 4E D1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B47C 002683DC 3B 60 00 00 */ li r27, 0 +/* 8026B480 002683E0 48 00 00 64 */ b lbl_8026B4E4 +lbl_8026B484: +/* 8026B484 002683E4 7F C4 F3 78 */ mr r4, r30 +/* 8026B488 002683E8 38 61 00 9C */ addi r3, r1, 0x9c +/* 8026B48C 002683EC 4B EA EF D5 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B490 002683F0 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B494 002683F4 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 8026B498 002683F8 7C 00 28 00 */ cmpw r0, r5 +/* 8026B49C 002683FC 41 80 00 1C */ blt lbl_8026B4B8 +/* 8026B4A0 00268400 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B4A4 00268404 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8026B4A8 00268408 38 80 00 04 */ li r4, 4 +/* 8026B4AC 0026840C 41 82 00 08 */ beq lbl_8026B4B4 +/* 8026B4B0 00268410 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B4B4: +/* 8026B4B4 00268414 4B DE 4E 95 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B4B8: +/* 8026B4B8 00268418 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B4BC 0026841C 80 61 00 F0 */ lwz r3, 0xf0(r1) +/* 8026B4C0 00268420 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B4C4 00268424 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B4C8 00268428 41 82 00 0C */ beq lbl_8026B4D4 +/* 8026B4CC 0026842C 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 8026B4D0 00268430 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B4D4: +/* 8026B4D4 00268434 80 61 00 E8 */ lwz r3, 0xe8(r1) +/* 8026B4D8 00268438 3B 7B 00 01 */ addi r27, r27, 1 +/* 8026B4DC 0026843C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B4E0 00268440 90 01 00 E8 */ stw r0, 0xe8(r1) +lbl_8026B4E4: +/* 8026B4E4 00268444 7C 1B D0 00 */ cmpw r27, r26 +/* 8026B4E8 00268448 41 80 FF 9C */ blt lbl_8026B484 +/* 8026B4EC 0026844C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8026B4F0 00268450 38 01 00 E4 */ addi r0, r1, 0xe4 +/* 8026B4F4 00268454 7C 03 00 40 */ cmplw r3, r0 +/* 8026B4F8 00268458 41 82 00 B4 */ beq lbl_8026B5AC +/* 8026B4FC 0026845C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8026B500 00268460 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B504 00268464 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B508 00268468 7C 03 02 14 */ add r0, r3, r0 +/* 8026B50C 0026846C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026B510 00268470 90 01 00 44 */ stw r0, 0x44(r1) +/* 8026B514 00268474 90 01 00 40 */ stw r0, 0x40(r1) +/* 8026B518 00268478 90 61 00 38 */ stw r3, 0x38(r1) +/* 8026B51C 0026847C 48 00 00 08 */ b lbl_8026B524 +lbl_8026B520: +/* 8026B520 00268480 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B524: +/* 8026B524 00268484 7C 03 00 40 */ cmplw r3, r0 +/* 8026B528 00268488 40 82 FF F8 */ bne lbl_8026B520 +/* 8026B52C 0026848C 38 00 00 00 */ li r0, 0 +/* 8026B530 00268490 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B534 00268494 80 81 00 E8 */ lwz r4, 0xe8(r1) +/* 8026B538 00268498 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B53C 0026849C 40 82 00 28 */ bne lbl_8026B564 +/* 8026B540 002684A0 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B544 002684A4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B548 002684A8 41 82 00 08 */ beq lbl_8026B550 +/* 8026B54C 002684AC 48 0A A3 E5 */ bl Free__7CMemoryFPCv +lbl_8026B550: +/* 8026B550 002684B0 38 00 00 00 */ li r0, 0 +/* 8026B554 002684B4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8026B558 002684B8 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8026B55C 002684BC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8026B560 002684C0 48 00 00 4C */ b lbl_8026B5AC +lbl_8026B564: +/* 8026B564 002684C4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8026B568 002684C8 4B DE 4D E1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B56C 002684CC 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B570 002684D0 80 A1 00 F0 */ lwz r5, 0xf0(r1) +/* 8026B574 002684D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B578 002684D8 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8026B57C 002684DC 7C 85 02 14 */ add r4, r5, r0 +/* 8026B580 002684E0 48 00 00 1C */ b lbl_8026B59C +lbl_8026B584: +/* 8026B584 002684E4 28 03 00 00 */ cmplwi r3, 0 +/* 8026B588 002684E8 41 82 00 0C */ beq lbl_8026B594 +/* 8026B58C 002684EC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B590 002684F0 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B594: +/* 8026B594 002684F4 38 63 00 04 */ addi r3, r3, 4 +/* 8026B598 002684F8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B59C: +/* 8026B59C 002684FC 7C 05 20 40 */ cmplw r5, r4 +/* 8026B5A0 00268500 40 82 FF E4 */ bne lbl_8026B584 +/* 8026B5A4 00268504 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B5A8 00268508 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8026B5AC: +/* 8026B5AC 0026850C 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8026B5B0 00268510 80 61 00 F0 */ lwz r3, 0xf0(r1) +/* 8026B5B4 00268514 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B5B8 00268518 7C 03 02 14 */ add r0, r3, r0 +/* 8026B5BC 0026851C 90 61 00 90 */ stw r3, 0x90(r1) +/* 8026B5C0 00268520 7C 64 1B 78 */ mr r4, r3 +/* 8026B5C4 00268524 90 01 00 98 */ stw r0, 0x98(r1) +/* 8026B5C8 00268528 90 01 00 94 */ stw r0, 0x94(r1) +/* 8026B5CC 0026852C 90 61 00 8C */ stw r3, 0x8c(r1) +/* 8026B5D0 00268530 48 00 00 08 */ b lbl_8026B5D8 +lbl_8026B5D4: +/* 8026B5D4 00268534 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B5D8: +/* 8026B5D8 00268538 7C 04 00 40 */ cmplw r4, r0 +/* 8026B5DC 0026853C 40 82 FF F8 */ bne lbl_8026B5D4 +/* 8026B5E0 00268540 28 03 00 00 */ cmplwi r3, 0 +/* 8026B5E4 00268544 41 82 00 08 */ beq lbl_8026B5EC +/* 8026B5E8 00268548 48 0A A3 49 */ bl Free__7CMemoryFPCv +lbl_8026B5EC: +/* 8026B5EC 0026854C 38 00 00 00 */ li r0, 0 +/* 8026B5F0 00268550 7F C3 F3 78 */ mr r3, r30 +/* 8026B5F4 00268554 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8026B5F8 00268558 90 01 00 DC */ stw r0, 0xdc(r1) +/* 8026B5FC 0026855C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 8026B600 00268560 48 0D 36 85 */ bl ReadLong__12CInputStreamFv +/* 8026B604 00268564 7C 79 1B 78 */ mr r25, r3 +/* 8026B608 00268568 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8026B60C 0026856C 7F 24 CB 78 */ mr r4, r25 +/* 8026B610 00268570 48 00 04 ED */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +/* 8026B614 00268574 3B 40 00 00 */ li r26, 0 +/* 8026B618 00268578 48 00 00 70 */ b lbl_8026B688 +lbl_8026B61C: +/* 8026B61C 0026857C 7F C3 F3 78 */ mr r3, r30 +/* 8026B620 00268580 48 0D 36 65 */ bl ReadLong__12CInputStreamFv +/* 8026B624 00268584 7C 7B 1B 78 */ mr r27, r3 +/* 8026B628 00268588 7F C3 F3 78 */ mr r3, r30 +/* 8026B62C 0026858C 48 0D 36 59 */ bl ReadLong__12CInputStreamFv +/* 8026B630 00268590 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B634 00268594 7C 7C 1B 78 */ mr r28, r3 +/* 8026B638 00268598 80 A1 00 DC */ lwz r5, 0xdc(r1) +/* 8026B63C 0026859C 7C 00 28 00 */ cmpw r0, r5 +/* 8026B640 002685A0 41 80 00 1C */ blt lbl_8026B65C +/* 8026B644 002685A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B648 002685A8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8026B64C 002685AC 38 80 00 04 */ li r4, 4 +/* 8026B650 002685B0 41 82 00 08 */ beq lbl_8026B658 +/* 8026B654 002685B4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B658: +/* 8026B658 002685B8 48 00 04 A5 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +lbl_8026B65C: +/* 8026B65C 002685BC 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B660 002685C0 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8026B664 002685C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B668 002685C8 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B66C 002685CC 41 82 00 0C */ beq lbl_8026B678 +/* 8026B670 002685D0 93 63 00 00 */ stw r27, 0(r3) +/* 8026B674 002685D4 93 83 00 04 */ stw r28, 4(r3) +lbl_8026B678: +/* 8026B678 002685D8 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 8026B67C 002685DC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B680 002685E0 38 03 00 01 */ addi r0, r3, 1 +/* 8026B684 002685E4 90 01 00 D8 */ stw r0, 0xd8(r1) +lbl_8026B688: +/* 8026B688 002685E8 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B68C 002685EC 41 80 FF 90 */ blt lbl_8026B61C +/* 8026B690 002685F0 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8026B694 002685F4 38 01 00 D4 */ addi r0, r1, 0xd4 +/* 8026B698 002685F8 7C 03 00 40 */ cmplw r3, r0 +/* 8026B69C 002685FC 41 82 00 BC */ beq lbl_8026B758 +/* 8026B6A0 00268600 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8026B6A4 00268604 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B6A8 00268608 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B6AC 0026860C 7C 03 02 14 */ add r0, r3, r0 +/* 8026B6B0 00268610 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8026B6B4 00268614 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026B6B8 00268618 90 01 00 30 */ stw r0, 0x30(r1) +/* 8026B6BC 0026861C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8026B6C0 00268620 48 00 00 08 */ b lbl_8026B6C8 +lbl_8026B6C4: +/* 8026B6C4 00268624 38 63 00 08 */ addi r3, r3, 8 +lbl_8026B6C8: +/* 8026B6C8 00268628 7C 03 00 40 */ cmplw r3, r0 +/* 8026B6CC 0026862C 40 82 FF F8 */ bne lbl_8026B6C4 +/* 8026B6D0 00268630 38 00 00 00 */ li r0, 0 +/* 8026B6D4 00268634 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B6D8 00268638 80 81 00 D8 */ lwz r4, 0xd8(r1) +/* 8026B6DC 0026863C 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B6E0 00268640 40 82 00 28 */ bne lbl_8026B708 +/* 8026B6E4 00268644 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B6E8 00268648 28 03 00 00 */ cmplwi r3, 0 +/* 8026B6EC 0026864C 41 82 00 08 */ beq lbl_8026B6F4 +/* 8026B6F0 00268650 48 0A A2 41 */ bl Free__7CMemoryFPCv +lbl_8026B6F4: +/* 8026B6F4 00268654 38 00 00 00 */ li r0, 0 +/* 8026B6F8 00268658 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026B6FC 0026865C 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026B700 00268660 90 1F 00 30 */ stw r0, 0x30(r31) +/* 8026B704 00268664 48 00 00 54 */ b lbl_8026B758 +lbl_8026B708: +/* 8026B708 00268668 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8026B70C 0026866C 48 00 03 F1 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +/* 8026B710 00268670 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B714 00268674 80 A1 00 E0 */ lwz r5, 0xe0(r1) +/* 8026B718 00268678 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B71C 0026867C 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8026B720 00268680 7C 85 02 14 */ add r4, r5, r0 +/* 8026B724 00268684 48 00 00 24 */ b lbl_8026B748 +lbl_8026B728: +/* 8026B728 00268688 28 03 00 00 */ cmplwi r3, 0 +/* 8026B72C 0026868C 41 82 00 14 */ beq lbl_8026B740 +/* 8026B730 00268690 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B734 00268694 90 03 00 00 */ stw r0, 0(r3) +/* 8026B738 00268698 80 05 00 04 */ lwz r0, 4(r5) +/* 8026B73C 0026869C 90 03 00 04 */ stw r0, 4(r3) +lbl_8026B740: +/* 8026B740 002686A0 38 63 00 08 */ addi r3, r3, 8 +/* 8026B744 002686A4 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026B748: +/* 8026B748 002686A8 7C 05 20 40 */ cmplw r5, r4 +/* 8026B74C 002686AC 40 82 FF DC */ bne lbl_8026B728 +/* 8026B750 002686B0 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B754 002686B4 90 1F 00 28 */ stw r0, 0x28(r31) +lbl_8026B758: +/* 8026B758 002686B8 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8026B75C 002686BC 80 61 00 E0 */ lwz r3, 0xe0(r1) +/* 8026B760 002686C0 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B764 002686C4 7C 03 02 14 */ add r0, r3, r0 +/* 8026B768 002686C8 90 61 00 80 */ stw r3, 0x80(r1) +/* 8026B76C 002686CC 7C 64 1B 78 */ mr r4, r3 +/* 8026B770 002686D0 90 01 00 88 */ stw r0, 0x88(r1) +/* 8026B774 002686D4 90 01 00 84 */ stw r0, 0x84(r1) +/* 8026B778 002686D8 90 61 00 7C */ stw r3, 0x7c(r1) +/* 8026B77C 002686DC 48 00 00 08 */ b lbl_8026B784 +lbl_8026B780: +/* 8026B780 002686E0 38 84 00 08 */ addi r4, r4, 8 +lbl_8026B784: +/* 8026B784 002686E4 7C 04 00 40 */ cmplw r4, r0 +/* 8026B788 002686E8 40 82 FF F8 */ bne lbl_8026B780 +/* 8026B78C 002686EC 28 03 00 00 */ cmplwi r3, 0 +/* 8026B790 002686F0 41 82 00 08 */ beq lbl_8026B798 +/* 8026B794 002686F4 48 0A A1 9D */ bl Free__7CMemoryFPCv +lbl_8026B798: +/* 8026B798 002686F8 38 00 00 00 */ li r0, 0 +/* 8026B79C 002686FC 7F C3 F3 78 */ mr r3, r30 +/* 8026B7A0 00268700 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 8026B7A4 00268704 90 01 00 CC */ stw r0, 0xcc(r1) +/* 8026B7A8 00268708 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 8026B7AC 0026870C 48 0D 34 D9 */ bl ReadLong__12CInputStreamFv +/* 8026B7B0 00268710 7C 79 1B 78 */ mr r25, r3 +/* 8026B7B4 00268714 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8026B7B8 00268718 7F 24 CB 78 */ mr r4, r25 +/* 8026B7BC 0026871C 4B DE 4B 8D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B7C0 00268720 3B 40 00 00 */ li r26, 0 +/* 8026B7C4 00268724 48 00 00 64 */ b lbl_8026B828 +lbl_8026B7C8: +/* 8026B7C8 00268728 7F C4 F3 78 */ mr r4, r30 +/* 8026B7CC 0026872C 38 61 00 78 */ addi r3, r1, 0x78 +/* 8026B7D0 00268730 4B EA EC 91 */ bl __ct__9TEditorIdFR12CInputStream +/* 8026B7D4 00268734 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B7D8 00268738 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8026B7DC 0026873C 7C 00 28 00 */ cmpw r0, r5 +/* 8026B7E0 00268740 41 80 00 1C */ blt lbl_8026B7FC +/* 8026B7E4 00268744 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B7E8 00268748 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8026B7EC 0026874C 38 80 00 04 */ li r4, 4 +/* 8026B7F0 00268750 41 82 00 08 */ beq lbl_8026B7F8 +/* 8026B7F4 00268754 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B7F8: +/* 8026B7F8 00268758 4B DE 4B 51 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +lbl_8026B7FC: +/* 8026B7FC 0026875C 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B800 00268760 80 61 00 D0 */ lwz r3, 0xd0(r1) +/* 8026B804 00268764 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B808 00268768 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B80C 0026876C 41 82 00 0C */ beq lbl_8026B818 +/* 8026B810 00268770 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8026B814 00268774 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B818: +/* 8026B818 00268778 80 61 00 C8 */ lwz r3, 0xc8(r1) +/* 8026B81C 0026877C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B820 00268780 38 03 00 01 */ addi r0, r3, 1 +/* 8026B824 00268784 90 01 00 C8 */ stw r0, 0xc8(r1) +lbl_8026B828: +/* 8026B828 00268788 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B82C 0026878C 41 80 FF 9C */ blt lbl_8026B7C8 +/* 8026B830 00268790 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8026B834 00268794 38 01 00 C4 */ addi r0, r1, 0xc4 +/* 8026B838 00268798 7C 03 00 40 */ cmplw r3, r0 +/* 8026B83C 0026879C 41 82 00 B4 */ beq lbl_8026B8F0 +/* 8026B840 002687A0 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 8026B844 002687A4 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B848 002687A8 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B84C 002687AC 7C 03 02 14 */ add r0, r3, r0 +/* 8026B850 002687B0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8026B854 002687B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026B858 002687B8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026B85C 002687BC 90 61 00 18 */ stw r3, 0x18(r1) +/* 8026B860 002687C0 48 00 00 08 */ b lbl_8026B868 +lbl_8026B864: +/* 8026B864 002687C4 38 63 00 04 */ addi r3, r3, 4 +lbl_8026B868: +/* 8026B868 002687C8 7C 03 00 40 */ cmplw r3, r0 +/* 8026B86C 002687CC 40 82 FF F8 */ bne lbl_8026B864 +/* 8026B870 002687D0 38 00 00 00 */ li r0, 0 +/* 8026B874 002687D4 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B878 002687D8 80 81 00 C8 */ lwz r4, 0xc8(r1) +/* 8026B87C 002687DC 2C 04 00 00 */ cmpwi r4, 0 +/* 8026B880 002687E0 40 82 00 28 */ bne lbl_8026B8A8 +/* 8026B884 002687E4 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B888 002687E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026B88C 002687EC 41 82 00 08 */ beq lbl_8026B894 +/* 8026B890 002687F0 48 0A A0 A1 */ bl Free__7CMemoryFPCv +lbl_8026B894: +/* 8026B894 002687F4 38 00 00 00 */ li r0, 0 +/* 8026B898 002687F8 90 1F 00 38 */ stw r0, 0x38(r31) +/* 8026B89C 002687FC 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 8026B8A0 00268800 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8026B8A4 00268804 48 00 00 4C */ b lbl_8026B8F0 +lbl_8026B8A8: +/* 8026B8A8 00268808 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8026B8AC 0026880C 4B DE 4A 9D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" +/* 8026B8B0 00268810 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8B4 00268814 80 A1 00 D0 */ lwz r5, 0xd0(r1) +/* 8026B8B8 00268818 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B8BC 0026881C 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8026B8C0 00268820 7C 85 02 14 */ add r4, r5, r0 +/* 8026B8C4 00268824 48 00 00 1C */ b lbl_8026B8E0 +lbl_8026B8C8: +/* 8026B8C8 00268828 28 03 00 00 */ cmplwi r3, 0 +/* 8026B8CC 0026882C 41 82 00 0C */ beq lbl_8026B8D8 +/* 8026B8D0 00268830 80 05 00 00 */ lwz r0, 0(r5) +/* 8026B8D4 00268834 90 03 00 00 */ stw r0, 0(r3) +lbl_8026B8D8: +/* 8026B8D8 00268838 38 63 00 04 */ addi r3, r3, 4 +/* 8026B8DC 0026883C 38 A5 00 04 */ addi r5, r5, 4 +lbl_8026B8E0: +/* 8026B8E0 00268840 7C 05 20 40 */ cmplw r5, r4 +/* 8026B8E4 00268844 40 82 FF E4 */ bne lbl_8026B8C8 +/* 8026B8E8 00268848 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8EC 0026884C 90 1F 00 38 */ stw r0, 0x38(r31) +lbl_8026B8F0: +/* 8026B8F0 00268850 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8026B8F4 00268854 80 61 00 D0 */ lwz r3, 0xd0(r1) +/* 8026B8F8 00268858 54 00 10 3A */ slwi r0, r0, 2 +/* 8026B8FC 0026885C 7C 03 02 14 */ add r0, r3, r0 +/* 8026B900 00268860 90 61 00 6C */ stw r3, 0x6c(r1) +/* 8026B904 00268864 7C 64 1B 78 */ mr r4, r3 +/* 8026B908 00268868 90 01 00 74 */ stw r0, 0x74(r1) +/* 8026B90C 0026886C 90 01 00 70 */ stw r0, 0x70(r1) +/* 8026B910 00268870 90 61 00 68 */ stw r3, 0x68(r1) +/* 8026B914 00268874 48 00 00 08 */ b lbl_8026B91C +lbl_8026B918: +/* 8026B918 00268878 38 84 00 04 */ addi r4, r4, 4 +lbl_8026B91C: +/* 8026B91C 0026887C 7C 04 00 40 */ cmplw r4, r0 +/* 8026B920 00268880 40 82 FF F8 */ bne lbl_8026B918 +/* 8026B924 00268884 28 03 00 00 */ cmplwi r3, 0 +/* 8026B928 00268888 41 82 00 08 */ beq lbl_8026B930 +/* 8026B92C 0026888C 48 0A A0 05 */ bl Free__7CMemoryFPCv +lbl_8026B930: +/* 8026B930 00268890 28 1D 00 00 */ cmplwi r29, 0 +/* 8026B934 00268894 41 82 01 B0 */ beq lbl_8026BAE4 +/* 8026B938 00268898 38 00 00 00 */ li r0, 0 +/* 8026B93C 0026889C 7F C3 F3 78 */ mr r3, r30 +/* 8026B940 002688A0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8026B944 002688A4 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8026B948 002688A8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8026B94C 002688AC 48 0D 33 39 */ bl ReadLong__12CInputStreamFv +/* 8026B950 002688B0 7C 79 1B 78 */ mr r25, r3 +/* 8026B954 002688B4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8026B958 002688B8 7F 24 CB 78 */ mr r4, r25 +/* 8026B95C 002688BC 4B D9 D0 F1 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 8026B960 002688C0 3B 40 00 00 */ li r26, 0 +/* 8026B964 002688C4 48 00 00 70 */ b lbl_8026B9D4 +lbl_8026B968: +/* 8026B968 002688C8 7F C3 F3 78 */ mr r3, r30 +/* 8026B96C 002688CC 48 0D 33 19 */ bl ReadLong__12CInputStreamFv +/* 8026B970 002688D0 7C 7C 1B 78 */ mr r28, r3 +/* 8026B974 002688D4 7F C3 F3 78 */ mr r3, r30 +/* 8026B978 002688D8 48 0D 33 0D */ bl ReadLong__12CInputStreamFv +/* 8026B97C 002688DC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026B980 002688E0 7C 7D 1B 78 */ mr r29, r3 +/* 8026B984 002688E4 80 A1 00 BC */ lwz r5, 0xbc(r1) +/* 8026B988 002688E8 7C 00 28 00 */ cmpw r0, r5 +/* 8026B98C 002688EC 41 80 00 1C */ blt lbl_8026B9A8 +/* 8026B990 002688F0 2C 05 00 00 */ cmpwi r5, 0 +/* 8026B994 002688F4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8026B998 002688F8 38 80 00 04 */ li r4, 4 +/* 8026B99C 002688FC 41 82 00 08 */ beq lbl_8026B9A4 +/* 8026B9A0 00268900 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8026B9A4: +/* 8026B9A4 00268904 4B D9 D0 A9 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +lbl_8026B9A8: +/* 8026B9A8 00268908 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026B9AC 0026890C 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8026B9B0 00268910 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B9B4 00268914 7C 63 02 15 */ add. r3, r3, r0 +/* 8026B9B8 00268918 41 82 00 0C */ beq lbl_8026B9C4 +/* 8026B9BC 0026891C 93 83 00 00 */ stw r28, 0(r3) +/* 8026B9C0 00268920 93 A3 00 04 */ stw r29, 4(r3) +lbl_8026B9C4: +/* 8026B9C4 00268924 80 61 00 B8 */ lwz r3, 0xb8(r1) +/* 8026B9C8 00268928 3B 5A 00 01 */ addi r26, r26, 1 +/* 8026B9CC 0026892C 38 03 00 01 */ addi r0, r3, 1 +/* 8026B9D0 00268930 90 01 00 B8 */ stw r0, 0xb8(r1) +lbl_8026B9D4: +/* 8026B9D4 00268934 7C 1A C8 00 */ cmpw r26, r25 +/* 8026B9D8 00268938 41 80 FF 90 */ blt lbl_8026B968 +/* 8026B9DC 0026893C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8026B9E0 00268940 38 01 00 B4 */ addi r0, r1, 0xb4 +/* 8026B9E4 00268944 7C 03 00 40 */ cmplw r3, r0 +/* 8026B9E8 00268948 41 82 00 BC */ beq lbl_8026BAA4 +/* 8026B9EC 0026894C 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8026B9F0 00268950 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026B9F4 00268954 54 00 18 38 */ slwi r0, r0, 3 +/* 8026B9F8 00268958 7C 03 02 14 */ add r0, r3, r0 +/* 8026B9FC 0026895C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026BA00 00268960 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026BA04 00268964 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026BA08 00268968 90 61 00 08 */ stw r3, 8(r1) +/* 8026BA0C 0026896C 48 00 00 08 */ b lbl_8026BA14 +lbl_8026BA10: +/* 8026BA10 00268970 38 63 00 08 */ addi r3, r3, 8 +lbl_8026BA14: +/* 8026BA14 00268974 7C 03 00 40 */ cmplw r3, r0 +/* 8026BA18 00268978 40 82 FF F8 */ bne lbl_8026BA10 +/* 8026BA1C 0026897C 38 00 00 00 */ li r0, 0 +/* 8026BA20 00268980 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026BA24 00268984 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 8026BA28 00268988 2C 04 00 00 */ cmpwi r4, 0 +/* 8026BA2C 0026898C 40 82 00 28 */ bne lbl_8026BA54 +/* 8026BA30 00268990 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026BA34 00268994 28 03 00 00 */ cmplwi r3, 0 +/* 8026BA38 00268998 41 82 00 08 */ beq lbl_8026BA40 +/* 8026BA3C 0026899C 48 0A 9E F5 */ bl Free__7CMemoryFPCv +lbl_8026BA40: +/* 8026BA40 002689A0 38 00 00 00 */ li r0, 0 +/* 8026BA44 002689A4 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8026BA48 002689A8 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8026BA4C 002689AC 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8026BA50 002689B0 48 00 00 54 */ b lbl_8026BAA4 +lbl_8026BA54: +/* 8026BA54 002689B4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8026BA58 002689B8 4B D9 CF F5 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" +/* 8026BA5C 002689BC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BA60 002689C0 80 A1 00 C0 */ lwz r5, 0xc0(r1) +/* 8026BA64 002689C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BA68 002689C8 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8026BA6C 002689CC 7C 85 02 14 */ add r4, r5, r0 +/* 8026BA70 002689D0 48 00 00 24 */ b lbl_8026BA94 +lbl_8026BA74: +/* 8026BA74 002689D4 28 03 00 00 */ cmplwi r3, 0 +/* 8026BA78 002689D8 41 82 00 14 */ beq lbl_8026BA8C +/* 8026BA7C 002689DC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026BA80 002689E0 90 03 00 00 */ stw r0, 0(r3) +/* 8026BA84 002689E4 80 05 00 04 */ lwz r0, 4(r5) +/* 8026BA88 002689E8 90 03 00 04 */ stw r0, 4(r3) +lbl_8026BA8C: +/* 8026BA8C 002689EC 38 63 00 08 */ addi r3, r3, 8 +/* 8026BA90 002689F0 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026BA94: +/* 8026BA94 002689F4 7C 05 20 40 */ cmplw r5, r4 +/* 8026BA98 002689F8 40 82 FF DC */ bne lbl_8026BA74 +/* 8026BA9C 002689FC 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BAA0 00268A00 90 1F 00 48 */ stw r0, 0x48(r31) +lbl_8026BAA4: +/* 8026BAA4 00268A04 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8026BAA8 00268A08 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8026BAAC 00268A0C 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BAB0 00268A10 7C 03 02 14 */ add r0, r3, r0 +/* 8026BAB4 00268A14 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8026BAB8 00268A18 7C 64 1B 78 */ mr r4, r3 +/* 8026BABC 00268A1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8026BAC0 00268A20 90 01 00 60 */ stw r0, 0x60(r1) +/* 8026BAC4 00268A24 90 61 00 58 */ stw r3, 0x58(r1) +/* 8026BAC8 00268A28 48 00 00 08 */ b lbl_8026BAD0 +lbl_8026BACC: +/* 8026BACC 00268A2C 38 84 00 08 */ addi r4, r4, 8 +lbl_8026BAD0: +/* 8026BAD0 00268A30 7C 04 00 40 */ cmplw r4, r0 +/* 8026BAD4 00268A34 40 82 FF F8 */ bne lbl_8026BACC +/* 8026BAD8 00268A38 28 03 00 00 */ cmplwi r3, 0 +/* 8026BADC 00268A3C 41 82 00 08 */ beq lbl_8026BAE4 +/* 8026BAE0 00268A40 48 0A 9E 51 */ bl Free__7CMemoryFPCv +lbl_8026BAE4: +/* 8026BAE4 00268A44 7F E3 FB 78 */ mr r3, r31 +/* 8026BAE8 00268A48 BB 21 01 14 */ lmw r25, 0x114(r1) +/* 8026BAEC 00268A4C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8026BAF0 00268A50 7C 08 03 A6 */ mtlr r0 +/* 8026BAF4 00268A54 38 21 01 30 */ addi r1, r1, 0x130 +/* 8026BAF8 00268A58 4E 80 00 20 */ blr + +.global "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi": +/* 8026BAFC 00268A5C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026BB00 00268A60 7C 08 02 A6 */ mflr r0 +/* 8026BB04 00268A64 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026BB08 00268A68 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8026BB0C 00268A6C 7C 9F 23 78 */ mr r31, r4 +/* 8026BB10 00268A70 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026BB14 00268A74 7C 7E 1B 78 */ mr r30, r3 +/* 8026BB18 00268A78 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8026BB1C 00268A7C 80 03 00 08 */ lwz r0, 8(r3) +/* 8026BB20 00268A80 7C 1F 00 00 */ cmpw r31, r0 +/* 8026BB24 00268A84 40 81 00 B0 */ ble lbl_8026BBD4 +/* 8026BB28 00268A88 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8026BB2C 00268A8C 40 82 00 0C */ bne lbl_8026BB38 +/* 8026BB30 00268A90 3B A0 00 00 */ li r29, 0 +/* 8026BB34 00268A94 48 00 00 18 */ b lbl_8026BB4C +lbl_8026BB38: +/* 8026BB38 00268A98 3C 80 80 3D */ lis r4, lbl_803D5418@ha +/* 8026BB3C 00268A9C 38 A0 00 00 */ li r5, 0 +/* 8026BB40 00268AA0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l +/* 8026BB44 00268AA4 48 0A 9C D5 */ bl __nwa__FUlPCcPCc +/* 8026BB48 00268AA8 7C 7D 1B 78 */ mr r29, r3 +lbl_8026BB4C: +/* 8026BB4C 00268AAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026BB50 00268AB0 7F A4 EB 78 */ mr r4, r29 +/* 8026BB54 00268AB4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8026BB58 00268AB8 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BB5C 00268ABC 7C 65 02 14 */ add r3, r5, r0 +/* 8026BB60 00268AC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8026BB64 00268AC4 90 61 00 08 */ stw r3, 8(r1) +/* 8026BB68 00268AC8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026BB6C 00268ACC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8026BB70 00268AD0 48 00 00 24 */ b lbl_8026BB94 +lbl_8026BB74: +/* 8026BB74 00268AD4 28 04 00 00 */ cmplwi r4, 0 +/* 8026BB78 00268AD8 41 82 00 14 */ beq lbl_8026BB8C +/* 8026BB7C 00268ADC 80 05 00 00 */ lwz r0, 0(r5) +/* 8026BB80 00268AE0 90 04 00 00 */ stw r0, 0(r4) +/* 8026BB84 00268AE4 80 05 00 04 */ lwz r0, 4(r5) +/* 8026BB88 00268AE8 90 04 00 04 */ stw r0, 4(r4) +lbl_8026BB8C: +/* 8026BB8C 00268AEC 38 84 00 08 */ addi r4, r4, 8 +/* 8026BB90 00268AF0 38 A5 00 08 */ addi r5, r5, 8 +lbl_8026BB94: +/* 8026BB94 00268AF4 7C 05 18 40 */ cmplw r5, r3 +/* 8026BB98 00268AF8 40 82 FF DC */ bne lbl_8026BB74 +/* 8026BB9C 00268AFC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026BBA0 00268B00 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026BBA4 00268B04 54 00 18 38 */ slwi r0, r0, 3 +/* 8026BBA8 00268B08 7C 64 1B 78 */ mr r4, r3 +/* 8026BBAC 00268B0C 7C 03 02 14 */ add r0, r3, r0 +/* 8026BBB0 00268B10 48 00 00 08 */ b lbl_8026BBB8 +lbl_8026BBB4: +/* 8026BBB4 00268B14 38 84 00 08 */ addi r4, r4, 8 +lbl_8026BBB8: +/* 8026BBB8 00268B18 7C 04 00 40 */ cmplw r4, r0 +/* 8026BBBC 00268B1C 40 82 FF F8 */ bne lbl_8026BBB4 +/* 8026BBC0 00268B20 28 03 00 00 */ cmplwi r3, 0 +/* 8026BBC4 00268B24 41 82 00 08 */ beq lbl_8026BBCC +/* 8026BBC8 00268B28 48 0A 9D 69 */ bl Free__7CMemoryFPCv +lbl_8026BBCC: +/* 8026BBCC 00268B2C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8026BBD0 00268B30 93 FE 00 08 */ stw r31, 8(r30) +lbl_8026BBD4: +/* 8026BBD4 00268B34 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8026BBD8 00268B38 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026BBDC 00268B3C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026BBE0 00268B40 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8026BBE4 00268B44 7C 08 03 A6 */ mtlr r0 +/* 8026BBE8 00268B48 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026BBEC 00268B4C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CGameHintInfo.s b/asm/Kyoto_CWD/Player/CGameHintInfo.s new file mode 100644 index 00000000..4900bc6e --- /dev/null +++ b/asm/Kyoto_CWD/Player/CGameHintInfo.s @@ -0,0 +1,1511 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80267144 002640A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267148 002640A8 7C 08 02 A6 */ mflr r0 +/* 8026714C 002640AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267150 002640B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267154 002640B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267158 002640B8 7C BE 2B 78 */ mr r30, r5 +/* 8026715C 002640BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80267160 002640C0 7C 7D 1B 78 */ mr r29, r3 +/* 80267164 002640C4 7F C3 F3 78 */ mr r3, r30 +/* 80267168 002640C8 48 0D 7B 1D */ bl ReadLong__12CInputStreamFv +/* 8026716C 002640CC 7F C3 F3 78 */ mr r3, r30 +/* 80267170 002640D0 48 0D 7B 15 */ bl ReadLong__12CInputStreamFv +/* 80267174 002640D4 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 80267178 002640D8 7C 7F 1B 78 */ mr r31, r3 +/* 8026717C 002640DC 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80267180 002640E0 38 60 00 10 */ li r3, 0x10 +/* 80267184 002640E4 38 A0 00 00 */ li r5, 0 +/* 80267188 002640E8 48 0A E6 E5 */ bl __nw__FUlPCcPCc +/* 8026718C 002640EC 7C 64 1B 79 */ or. r4, r3, r3 +/* 80267190 002640F0 41 82 00 14 */ beq lbl_802671A4 +/* 80267194 002640F4 7F C4 F3 78 */ mr r4, r30 +/* 80267198 002640F8 7F E5 FB 78 */ mr r5, r31 +/* 8026719C 002640FC 48 00 0C FD */ bl __ct__13CGameHintInfoFR12CInputStreamUi +/* 802671A0 00264100 7C 64 1B 78 */ mr r4, r3 +lbl_802671A4: +/* 802671A4 00264104 7F A3 EB 78 */ mr r3, r29 +/* 802671A8 00264108 48 00 00 21 */ bl sub_802671c8 +/* 802671AC 0026410C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802671B0 00264110 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802671B4 00264114 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802671B8 00264118 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802671BC 0026411C 7C 08 03 A6 */ mtlr r0 +/* 802671C0 00264120 38 21 00 20 */ addi r1, r1, 0x20 +/* 802671C4 00264124 4E 80 00 20 */ blr + +.global sub_802671c8 +sub_802671c8: +/* 802671C8 00264128 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802671CC 0026412C 7C 08 02 A6 */ mflr r0 +/* 802671D0 00264130 90 01 00 24 */ stw r0, 0x24(r1) +/* 802671D4 00264134 7C 04 00 D0 */ neg r0, r4 +/* 802671D8 00264138 7C 00 23 78 */ or r0, r0, r4 +/* 802671DC 0026413C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802671E0 00264140 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802671E4 00264144 7C 7F 1B 78 */ mr r31, r3 +/* 802671E8 00264148 38 61 00 08 */ addi r3, r1, 8 +/* 802671EC 0026414C 90 81 00 14 */ stw r4, 0x14(r1) +/* 802671F0 00264150 38 81 00 10 */ addi r4, r1, 0x10 +/* 802671F4 00264154 98 01 00 10 */ stb r0, 0x10(r1) +/* 802671F8 00264158 48 00 02 FD */ bl sub_802674f4 +/* 802671FC 0026415C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80267200 00264160 38 00 00 00 */ li r0, 0 +/* 80267204 00264164 98 01 00 08 */ stb r0, 8(r1) +/* 80267208 00264168 7C 03 00 D0 */ neg r0, r3 +/* 8026720C 0026416C 7C 00 1B 78 */ or r0, r0, r3 +/* 80267210 00264170 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80267214 00264174 98 1F 00 00 */ stb r0, 0(r31) +/* 80267218 00264178 90 7F 00 04 */ stw r3, 4(r31) +/* 8026721C 0026417C 88 01 00 08 */ lbz r0, 8(r1) +/* 80267220 00264180 28 00 00 00 */ cmplwi r0, 0 +/* 80267224 00264184 41 82 00 24 */ beq lbl_80267248 +/* 80267228 00264188 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8026722C 0026418C 28 03 00 00 */ cmplwi r3, 0 +/* 80267230 00264190 41 82 00 18 */ beq lbl_80267248 +/* 80267234 00264194 81 83 00 00 */ lwz r12, 0(r3) +/* 80267238 00264198 38 80 00 01 */ li r4, 1 +/* 8026723C 0026419C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80267240 002641A0 7D 89 03 A6 */ mtctr r12 +/* 80267244 002641A4 4E 80 04 21 */ bctrl +lbl_80267248: +/* 80267248 002641A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8026724C 002641AC 38 80 FF FF */ li r4, -1 +/* 80267250 002641B0 48 00 03 6D */ bl sub_802675bc +/* 80267254 002641B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267258 002641B8 7F E3 FB 78 */ mr r3, r31 +/* 8026725C 002641BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267260 002641C0 7C 08 03 A6 */ mtlr r0 +/* 80267264 002641C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267268 002641C8 4E 80 00 20 */ blr + +.global sub_8026726c +sub_8026726c: +/* 8026726C 002641CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267270 002641D0 7C 08 02 A6 */ mflr r0 +/* 80267274 002641D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267278 002641D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026727C 002641DC 7C 9F 23 78 */ mr r31, r4 +/* 80267280 002641E0 93 C1 00 08 */ stw r30, 8(r1) +/* 80267284 002641E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80267288 002641E8 41 82 00 58 */ beq lbl_802672E0 +/* 8026728C 002641EC 3C 60 80 3F */ lis r3, lbl_803EA0E0@ha +/* 80267290 002641F0 38 03 A0 E0 */ addi r0, r3, lbl_803EA0E0@l +/* 80267294 002641F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80267298 002641F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8026729C 002641FC 28 03 00 00 */ cmplwi r3, 0 +/* 802672A0 00264200 41 82 00 0C */ beq lbl_802672AC +/* 802672A4 00264204 38 80 00 01 */ li r4, 1 +/* 802672A8 00264208 48 00 00 55 */ bl sub_802672fc +lbl_802672AC: +/* 802672AC 0026420C 28 1E 00 00 */ cmplwi r30, 0 +/* 802672B0 00264210 41 82 00 20 */ beq lbl_802672D0 +/* 802672B4 00264214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802672B8 00264218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802672BC 0026421C 90 1E 00 00 */ stw r0, 0(r30) +/* 802672C0 00264220 41 82 00 10 */ beq lbl_802672D0 +/* 802672C4 00264224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802672C8 00264228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802672CC 0026422C 90 1E 00 00 */ stw r0, 0(r30) +lbl_802672D0: +/* 802672D0 00264230 7F E0 07 35 */ extsh. r0, r31 +/* 802672D4 00264234 40 81 00 0C */ ble lbl_802672E0 +/* 802672D8 00264238 7F C3 F3 78 */ mr r3, r30 +/* 802672DC 0026423C 48 0A E6 55 */ bl Free__7CMemoryFPCv +lbl_802672E0: +/* 802672E0 00264240 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802672E4 00264244 7F C3 F3 78 */ mr r3, r30 +/* 802672E8 00264248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802672EC 0026424C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802672F0 00264250 7C 08 03 A6 */ mtlr r0 +/* 802672F4 00264254 38 21 00 10 */ addi r1, r1, 0x10 +/* 802672F8 00264258 4E 80 00 20 */ blr + +.global sub_802672fc +sub_802672fc: +/* 802672FC 0026425C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267300 00264260 7C 08 02 A6 */ mflr r0 +/* 80267304 00264264 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267308 00264268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026730C 0026426C 7C 9F 23 78 */ mr r31, r4 +/* 80267310 00264270 93 C1 00 08 */ stw r30, 8(r1) +/* 80267314 00264274 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80267318 00264278 41 82 00 1C */ beq lbl_80267334 +/* 8026731C 0026427C 38 80 FF FF */ li r4, -1 +/* 80267320 00264280 48 00 00 31 */ bl sub_80267350 +/* 80267324 00264284 7F E0 07 35 */ extsh. r0, r31 +/* 80267328 00264288 40 81 00 0C */ ble lbl_80267334 +/* 8026732C 0026428C 7F C3 F3 78 */ mr r3, r30 +/* 80267330 00264290 48 0A E6 01 */ bl Free__7CMemoryFPCv +lbl_80267334: +/* 80267334 00264294 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267338 00264298 7F C3 F3 78 */ mr r3, r30 +/* 8026733C 0026429C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267340 002642A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267344 002642A4 7C 08 03 A6 */ mtlr r0 +/* 80267348 002642A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026734C 002642AC 4E 80 00 20 */ blr + +.global sub_80267350 +sub_80267350: +/* 80267350 002642B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267354 002642B4 7C 08 02 A6 */ mflr r0 +/* 80267358 002642B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026735C 002642BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267360 002642C0 7C 9F 23 78 */ mr r31, r4 +/* 80267364 002642C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267368 002642C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026736C 002642CC 41 82 00 54 */ beq lbl_802673C0 +/* 80267370 002642D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80267374 002642D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80267378 002642D8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8026737C 002642DC 38 81 00 0C */ addi r4, r1, 0xc +/* 80267380 002642E0 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267384 002642E4 7C A5 02 14 */ add r5, r5, r0 +/* 80267388 002642E8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8026738C 002642EC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80267390 002642F0 90 A1 00 08 */ stw r5, 8(r1) +/* 80267394 002642F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267398 002642F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026739C 002642FC 48 00 00 41 */ bl sub_802673dc +/* 802673A0 00264300 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802673A4 00264304 28 03 00 00 */ cmplwi r3, 0 +/* 802673A8 00264308 41 82 00 08 */ beq lbl_802673B0 +/* 802673AC 0026430C 48 0A E5 85 */ bl Free__7CMemoryFPCv +lbl_802673B0: +/* 802673B0 00264310 7F E0 07 35 */ extsh. r0, r31 +/* 802673B4 00264314 40 81 00 0C */ ble lbl_802673C0 +/* 802673B8 00264318 7F C3 F3 78 */ mr r3, r30 +/* 802673BC 0026431C 48 0A E5 75 */ bl Free__7CMemoryFPCv +lbl_802673C0: +/* 802673C0 00264320 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802673C4 00264324 7F C3 F3 78 */ mr r3, r30 +/* 802673C8 00264328 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802673CC 0026432C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802673D0 00264330 7C 08 03 A6 */ mtlr r0 +/* 802673D4 00264334 38 21 00 20 */ addi r1, r1, 0x20 +/* 802673D8 00264338 4E 80 00 20 */ blr + +.global sub_802673dc +sub_802673dc: +/* 802673DC 0026433C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802673E0 00264340 7C 08 02 A6 */ mflr r0 +/* 802673E4 00264344 90 01 00 14 */ stw r0, 0x14(r1) +/* 802673E8 00264348 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802673EC 0026434C 93 C1 00 08 */ stw r30, 8(r1) +/* 802673F0 00264350 7C 9E 23 78 */ mr r30, r4 +/* 802673F4 00264354 83 E3 00 00 */ lwz r31, 0(r3) +/* 802673F8 00264358 48 00 00 10 */ b lbl_80267408 +lbl_802673FC: +/* 802673FC 0026435C 7F E3 FB 78 */ mr r3, r31 +/* 80267400 00264360 48 00 00 2D */ bl sub_8026742c +/* 80267404 00264364 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_80267408: +/* 80267408 00264368 80 1E 00 00 */ lwz r0, 0(r30) +/* 8026740C 0026436C 7C 1F 00 40 */ cmplw r31, r0 +/* 80267410 00264370 40 82 FF EC */ bne lbl_802673FC +/* 80267414 00264374 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267418 00264378 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026741C 0026437C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267420 00264380 7C 08 03 A6 */ mtlr r0 +/* 80267424 00264384 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267428 00264388 4E 80 00 20 */ blr + +.global sub_8026742c +sub_8026742c: +/* 8026742C 0026438C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267430 00264390 7C 08 02 A6 */ mflr r0 +/* 80267434 00264394 38 80 FF FF */ li r4, -1 +/* 80267438 00264398 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026743C 0026439C 48 00 00 15 */ bl __dt__Q213CGameHintInfo9CGameHintFv +/* 80267440 002643A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267444 002643A4 7C 08 03 A6 */ mtlr r0 +/* 80267448 002643A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026744C 002643AC 4E 80 00 20 */ blr + +.global __dt__Q213CGameHintInfo9CGameHintFv +__dt__Q213CGameHintInfo9CGameHintFv: +/* 80267450 002643B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267454 002643B4 7C 08 02 A6 */ mflr r0 +/* 80267458 002643B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026745C 002643BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267460 002643C0 7C 9F 23 78 */ mr r31, r4 +/* 80267464 002643C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267468 002643C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026746C 002643CC 41 82 00 6C */ beq lbl_802674D8 +/* 80267470 002643D0 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 80267474 002643D4 41 82 00 44 */ beq lbl_802674B8 +/* 80267478 002643D8 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 8026747C 002643DC 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80267480 002643E0 54 00 20 36 */ slwi r0, r0, 4 +/* 80267484 002643E4 7C 03 02 14 */ add r0, r3, r0 +/* 80267488 002643E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8026748C 002643EC 7C 64 1B 78 */ mr r4, r3 +/* 80267490 002643F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267494 002643F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267498 002643F8 90 61 00 08 */ stw r3, 8(r1) +/* 8026749C 002643FC 48 00 00 08 */ b lbl_802674A4 +lbl_802674A0: +/* 802674A0 00264400 38 84 00 10 */ addi r4, r4, 0x10 +lbl_802674A4: +/* 802674A4 00264404 7C 04 00 40 */ cmplw r4, r0 +/* 802674A8 00264408 40 82 FF F8 */ bne lbl_802674A0 +/* 802674AC 0026440C 28 03 00 00 */ cmplwi r3, 0 +/* 802674B0 00264410 41 82 00 08 */ beq lbl_802674B8 +/* 802674B4 00264414 48 0A E4 7D */ bl Free__7CMemoryFPCv +lbl_802674B8: +/* 802674B8 00264418 28 1E 00 00 */ cmplwi r30, 0 +/* 802674BC 0026441C 41 82 00 0C */ beq lbl_802674C8 +/* 802674C0 00264420 7F C3 F3 78 */ mr r3, r30 +/* 802674C4 00264424 48 0D 66 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_802674C8: +/* 802674C8 00264428 7F E0 07 35 */ extsh. r0, r31 +/* 802674CC 0026442C 40 81 00 0C */ ble lbl_802674D8 +/* 802674D0 00264430 7F C3 F3 78 */ mr r3, r30 +/* 802674D4 00264434 48 0A E4 5D */ bl Free__7CMemoryFPCv +lbl_802674D8: +/* 802674D8 00264438 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802674DC 0026443C 7F C3 F3 78 */ mr r3, r30 +/* 802674E0 00264440 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802674E4 00264444 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802674E8 00264448 7C 08 03 A6 */ mtlr r0 +/* 802674EC 0026444C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802674F0 00264450 4E 80 00 20 */ blr + +.global sub_802674f4 +sub_802674f4: +/* 802674F4 00264454 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802674F8 00264458 7C 08 02 A6 */ mflr r0 +/* 802674FC 0026445C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267500 00264460 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267504 00264464 7C 7F 1B 78 */ mr r31, r3 +/* 80267508 00264468 48 00 00 19 */ bl sub_80267520 +/* 8026750C 0026446C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267510 00264470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267514 00264474 7C 08 03 A6 */ mtlr r0 +/* 80267518 00264478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026751C 0026447C 4E 80 00 20 */ blr + +.global sub_80267520 +sub_80267520: +/* 80267520 00264480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267524 00264484 7C 08 02 A6 */ mflr r0 +/* 80267528 00264488 3C A0 80 3D */ lis r5, lbl_803D53C0@ha +/* 8026752C 0026448C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267530 00264490 38 05 53 C0 */ addi r0, r5, lbl_803D53C0@l +/* 80267534 00264494 38 A0 00 00 */ li r5, 0 +/* 80267538 00264498 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026753C 0026449C 7C 9F 23 78 */ mr r31, r4 +/* 80267540 002644A0 7C 04 03 78 */ mr r4, r0 +/* 80267544 002644A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80267548 002644A8 7C 7E 1B 78 */ mr r30, r3 +/* 8026754C 002644AC 38 60 00 08 */ li r3, 8 +/* 80267550 002644B0 48 0A E3 1D */ bl __nw__FUlPCcPCc +/* 80267554 002644B4 28 03 00 00 */ cmplwi r3, 0 +/* 80267558 002644B8 41 82 00 38 */ beq lbl_80267590 +/* 8026755C 002644BC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80267560 002644C0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80267564 002644C4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80267568 002644C8 3C 80 80 3F */ lis r4, lbl_803EA0E0@ha +/* 8026756C 002644CC 90 03 00 00 */ stw r0, 0(r3) +/* 80267570 002644D0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80267574 002644D4 38 A0 00 00 */ li r5, 0 +/* 80267578 002644D8 38 04 A0 E0 */ addi r0, r4, lbl_803EA0E0@l +/* 8026757C 002644DC 90 C3 00 00 */ stw r6, 0(r3) +/* 80267580 002644E0 98 BF 00 00 */ stb r5, 0(r31) +/* 80267584 002644E4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80267588 002644E8 90 83 00 04 */ stw r4, 4(r3) +/* 8026758C 002644EC 90 03 00 00 */ stw r0, 0(r3) +lbl_80267590: +/* 80267590 002644F0 7C 03 00 D0 */ neg r0, r3 +/* 80267594 002644F4 7C 00 1B 78 */ or r0, r0, r3 +/* 80267598 002644F8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8026759C 002644FC 98 1E 00 00 */ stb r0, 0(r30) +/* 802675A0 00264500 90 7E 00 04 */ stw r3, 4(r30) +/* 802675A4 00264504 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802675A8 00264508 83 C1 00 08 */ lwz r30, 8(r1) +/* 802675AC 0026450C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802675B0 00264510 7C 08 03 A6 */ mtlr r0 +/* 802675B4 00264514 38 21 00 10 */ addi r1, r1, 0x10 +/* 802675B8 00264518 4E 80 00 20 */ blr + +.global sub_802675bc +sub_802675bc: +/* 802675BC 0026451C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802675C0 00264520 7C 08 02 A6 */ mflr r0 +/* 802675C4 00264524 90 01 00 14 */ stw r0, 0x14(r1) +/* 802675C8 00264528 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802675CC 0026452C 7C 9F 23 78 */ mr r31, r4 +/* 802675D0 00264530 93 C1 00 08 */ stw r30, 8(r1) +/* 802675D4 00264534 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802675D8 00264538 41 82 00 2C */ beq lbl_80267604 +/* 802675DC 0026453C 88 1E 00 00 */ lbz r0, 0(r30) +/* 802675E0 00264540 28 00 00 00 */ cmplwi r0, 0 +/* 802675E4 00264544 41 82 00 10 */ beq lbl_802675F4 +/* 802675E8 00264548 80 7E 00 04 */ lwz r3, 4(r30) +/* 802675EC 0026454C 38 80 00 01 */ li r4, 1 +/* 802675F0 00264550 4B FF FD 0D */ bl sub_802672fc +lbl_802675F4: +/* 802675F4 00264554 7F E0 07 35 */ extsh. r0, r31 +/* 802675F8 00264558 40 81 00 0C */ ble lbl_80267604 +/* 802675FC 0026455C 7F C3 F3 78 */ mr r3, r30 +/* 80267600 00264560 48 0A E3 31 */ bl Free__7CMemoryFPCv +lbl_80267604: +/* 80267604 00264564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267608 00264568 7F C3 F3 78 */ mr r3, r30 +/* 8026760C 0026456C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267610 00264570 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267614 00264574 7C 08 03 A6 */ mtlr r0 +/* 80267618 00264578 38 21 00 10 */ addi r1, r1, 0x10 +/* 8026761C 0026457C 4E 80 00 20 */ blr + +.global DismissDisplayedHint__12CHintOptionsFv +DismissDisplayedHint__12CHintOptionsFv: +/* 80267620 00264580 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80267624 00264584 2C 00 FF FF */ cmpwi r0, -1 +/* 80267628 00264588 4D 82 00 20 */ beqlr +/* 8026762C 0026458C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267630 00264590 1C A0 00 0C */ mulli r5, r0, 0xc +/* 80267634 00264594 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80267638 00264598 80 64 00 08 */ lwz r3, 8(r4) +/* 8026763C 0026459C 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267640 002645A0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267644 002645A4 7C 86 2A 14 */ add r4, r6, r5 +/* 80267648 002645A8 C0 24 00 04 */ lfs f1, 4(r4) +/* 8026764C 002645AC 7C 63 02 14 */ add r3, r3, r0 +/* 80267650 002645B0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80267654 002645B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267658 002645B8 4C 80 00 20 */ bgelr +/* 8026765C 002645BC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80267660 002645C0 38 00 00 01 */ li r0, 1 +/* 80267664 002645C4 D0 04 00 04 */ stfs f0, 4(r4) +/* 80267668 002645C8 98 04 00 08 */ stb r0, 8(r4) +/* 8026766C 002645CC 4E 80 00 20 */ blr + +.global FindHintIndex__13CGameHintInfoFPCc +FindHintIndex__13CGameHintInfoFPCc: +/* 80267670 002645D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267674 002645D4 7C 08 02 A6 */ mflr r0 +/* 80267678 002645D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026767C 002645DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267680 002645E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267684 002645E4 3B C0 00 00 */ li r30, 0 +/* 80267688 002645E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026768C 002645EC 3B A0 00 00 */ li r29, 0 +/* 80267690 002645F0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80267694 002645F4 7C 7C 1B 78 */ mr r28, r3 +/* 80267698 002645F8 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 8026769C 002645FC 83 E4 00 08 */ lwz r31, 8(r4) +/* 802676A0 00264600 48 00 00 2C */ b lbl_802676CC +lbl_802676A4: +/* 802676A4 00264604 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802676A8 00264608 7F 84 E3 78 */ mr r4, r28 +/* 802676AC 0026460C 7C 60 F2 14 */ add r3, r0, r30 +/* 802676B0 00264610 4B DE AF 31 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" +/* 802676B4 00264614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802676B8 00264618 41 82 00 0C */ beq lbl_802676C4 +/* 802676BC 0026461C 7F A3 EB 78 */ mr r3, r29 +/* 802676C0 00264620 48 00 00 1C */ b lbl_802676DC +lbl_802676C4: +/* 802676C4 00264624 3B DE 00 30 */ addi r30, r30, 0x30 +/* 802676C8 00264628 3B BD 00 01 */ addi r29, r29, 1 +lbl_802676CC: +/* 802676CC 0026462C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802676D0 00264630 7C 1D 00 00 */ cmpw r29, r0 +/* 802676D4 00264634 41 80 FF D0 */ blt lbl_802676A4 +/* 802676D8 00264638 38 60 FF FF */ li r3, -1 +lbl_802676DC: +/* 802676DC 0026463C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802676E0 00264640 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802676E4 00264644 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802676E8 00264648 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802676EC 0026464C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802676F0 00264650 7C 08 03 A6 */ mtlr r0 +/* 802676F4 00264654 38 21 00 20 */ addi r1, r1, 0x20 +/* 802676F8 00264658 4E 80 00 20 */ blr + +.global GetNextHintIdx__12CHintOptionsFv +GetNextHintIdx__12CHintOptionsFv: +/* 802676FC 0026465C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80267700 00264660 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 80267704 00264664 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80267708 00264668 41 82 00 0C */ beq lbl_80267714 +/* 8026770C 0026466C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80267710 00264670 4E 80 00 20 */ blr +lbl_80267714: +/* 80267714 00264674 38 60 FF FF */ li r3, -1 +/* 80267718 00264678 4E 80 00 20 */ blr + +.global GetCurrentDisplayedHint__12CHintOptionsCFv +GetCurrentDisplayedHint__12CHintOptionsCFv: +/* 8026771C 0026467C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 80267720 00264680 88 04 01 E4 */ lbz r0, 0x1e4(r4) +/* 80267724 00264684 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80267728 00264688 41 82 00 7C */ beq lbl_802677A4 +/* 8026772C 0026468C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80267730 00264690 2C 00 FF FF */ cmpwi r0, -1 +/* 80267734 00264694 40 82 00 0C */ bne lbl_80267740 +/* 80267738 00264698 38 60 00 00 */ li r3, 0 +/* 8026773C 0026469C 4E 80 00 20 */ blr +lbl_80267740: +/* 80267740 002646A0 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267744 002646A4 1C 80 00 30 */ mulli r4, r0, 0x30 +/* 80267748 002646A8 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 8026774C 002646AC 80 65 00 08 */ lwz r3, 8(r5) +/* 80267750 002646B0 1C C0 00 0C */ mulli r6, r0, 0xc +/* 80267754 002646B4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 80267758 002646B8 38 04 00 1C */ addi r0, r4, 0x1c +/* 8026775C 002646BC 7C 67 32 14 */ add r3, r7, r6 +/* 80267760 002646C0 7C 05 04 2E */ lfsx f0, r5, r0 +/* 80267764 002646C4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80267768 002646C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026776C 002646CC 4C 41 13 82 */ cror 2, 1, 2 +/* 80267770 002646D0 40 82 00 0C */ bne lbl_8026777C +/* 80267774 002646D4 38 60 00 00 */ li r3, 0 +/* 80267778 002646D8 4E 80 00 20 */ blr +lbl_8026777C: +/* 8026777C 002646DC C0 02 BA DC */ lfs f0, lbl_805AD7FC@sda21(r2) +/* 80267780 002646E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267784 002646E4 4C 41 13 82 */ cror 2, 1, 2 +/* 80267788 002646E8 4C 82 00 20 */ bnelr +/* 8026778C 002646EC 88 03 00 08 */ lbz r0, 8(r3) +/* 80267790 002646F0 28 00 00 00 */ cmplwi r0, 0 +/* 80267794 002646F4 4D 82 00 20 */ beqlr +/* 80267798 002646F8 38 60 00 00 */ li r3, 0 +/* 8026779C 002646FC 4E 80 00 20 */ blr + +.global sub_802677a0 +sub_802677a0: +/* 802677A0 00264700 4E 80 00 20 */ blr +lbl_802677A4: +/* 802677A4 00264704 38 60 00 00 */ li r3, 0 +/* 802677A8 00264708 4E 80 00 20 */ blr + +.global ActivateContinueDelayHintTimer__12CHintOptionsFPCc +ActivateContinueDelayHintTimer__12CHintOptionsFPCc: +/* 802677AC 0026470C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802677B0 00264710 7C 08 02 A6 */ mflr r0 +/* 802677B4 00264714 90 01 00 14 */ stw r0, 0x14(r1) +/* 802677B8 00264718 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802677BC 0026471C 7C 7F 1B 78 */ mr r31, r3 +/* 802677C0 00264720 80 04 00 08 */ lwz r0, 8(r4) +/* 802677C4 00264724 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802677C8 00264728 2C 00 00 00 */ cmpwi r0, 0 +/* 802677CC 0026472C 41 82 00 0C */ beq lbl_802677D8 +/* 802677D0 00264730 7C 83 23 78 */ mr r3, r4 +/* 802677D4 00264734 4B FF FE 9D */ bl FindHintIndex__13CGameHintInfoFPCc +lbl_802677D8: +/* 802677D8 00264738 2C 03 FF FF */ cmpwi r3, -1 +/* 802677DC 0026473C 41 82 00 38 */ beq lbl_80267814 +/* 802677E0 00264740 1C 03 00 0C */ mulli r0, r3, 0xc +/* 802677E4 00264744 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802677E8 00264748 7C A4 02 14 */ add r5, r4, r0 +/* 802677EC 0026474C 80 05 00 00 */ lwz r0, 0(r5) +/* 802677F0 00264750 2C 00 00 02 */ cmpwi r0, 2 +/* 802677F4 00264754 40 82 00 20 */ bne lbl_80267814 +/* 802677F8 00264758 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 802677FC 0026475C 1C 63 00 30 */ mulli r3, r3, 0x30 +/* 80267800 00264760 80 84 00 08 */ lwz r4, 8(r4) +/* 80267804 00264764 38 03 00 1C */ addi r0, r3, 0x1c +/* 80267808 00264768 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8026780C 0026476C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80267810 00264770 D0 05 00 04 */ stfs f0, 4(r5) +lbl_80267814: +/* 80267814 00264774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267818 00264778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8026781C 0026477C 7C 08 03 A6 */ mtlr r0 +/* 80267820 00264780 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267824 00264784 4E 80 00 20 */ blr + +.global DelayHint__12CHintOptionsFPCc +DelayHint__12CHintOptionsFPCc: +/* 80267828 00264788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026782C 0026478C 7C 08 02 A6 */ mflr r0 +/* 80267830 00264790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267834 00264794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267838 00264798 7C 7F 1B 78 */ mr r31, r3 +/* 8026783C 0026479C 7C 83 23 78 */ mr r3, r4 +/* 80267840 002647A0 4B FF FE 31 */ bl FindHintIndex__13CGameHintInfoFPCc +/* 80267844 002647A4 2C 03 FF FF */ cmpwi r3, -1 +/* 80267848 002647A8 41 82 00 54 */ beq lbl_8026789C +/* 8026784C 002647AC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80267850 002647B0 1C 83 00 0C */ mulli r4, r3, 0xc +/* 80267854 002647B4 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80267858 002647B8 7C 03 00 00 */ cmpw r3, r0 +/* 8026785C 002647BC 40 82 00 38 */ bne lbl_80267894 +/* 80267860 002647C0 C0 22 BA E0 */ lfs f1, lbl_805AD800@sda21(r2) +/* 80267864 002647C4 7C C5 33 78 */ mr r5, r6 +/* 80267868 002647C8 48 00 00 14 */ b lbl_8026787C +lbl_8026786C: +/* 8026786C 002647CC C0 05 00 04 */ lfs f0, 4(r5) +/* 80267870 002647D0 EC 00 08 2A */ fadds f0, f0, f1 +/* 80267874 002647D4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80267878 002647D8 38 A5 00 0C */ addi r5, r5, 0xc +lbl_8026787C: +/* 8026787C 002647DC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80267880 002647E0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80267884 002647E4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267888 002647E8 7C 03 02 14 */ add r0, r3, r0 +/* 8026788C 002647EC 7C 05 00 40 */ cmplw r5, r0 +/* 80267890 002647F0 40 82 FF DC */ bne lbl_8026786C +lbl_80267894: +/* 80267894 002647F4 38 00 00 03 */ li r0, 3 +/* 80267898 002647F8 7C 06 21 2E */ stwx r0, r6, r4 +lbl_8026789C: +/* 8026789C 002647FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802678A0 00264800 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802678A4 00264804 7C 08 03 A6 */ mtlr r0 +/* 802678A8 00264808 38 21 00 10 */ addi r1, r1, 0x10 +/* 802678AC 0026480C 4E 80 00 20 */ blr + +.global ActivateImmediateHintTimer__12CHintOptionsFPCc +ActivateImmediateHintTimer__12CHintOptionsFPCc: +/* 802678B0 00264810 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802678B4 00264814 7C 08 02 A6 */ mflr r0 +/* 802678B8 00264818 90 01 00 14 */ stw r0, 0x14(r1) +/* 802678BC 0026481C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802678C0 00264820 7C 7F 1B 78 */ mr r31, r3 +/* 802678C4 00264824 7C 83 23 78 */ mr r3, r4 +/* 802678C8 00264828 4B FF FD A9 */ bl FindHintIndex__13CGameHintInfoFPCc +/* 802678CC 0026482C 2C 03 FF FF */ cmpwi r3, -1 +/* 802678D0 00264830 41 82 00 40 */ beq lbl_80267910 +/* 802678D4 00264834 1C 03 00 0C */ mulli r0, r3, 0xc +/* 802678D8 00264838 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802678DC 0026483C 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 802678E0 00264840 7C C4 02 14 */ add r6, r4, r0 +/* 802678E4 00264844 80 85 00 08 */ lwz r4, 8(r5) +/* 802678E8 00264848 80 06 00 00 */ lwz r0, 0(r6) +/* 802678EC 0026484C 1C 63 00 30 */ mulli r3, r3, 0x30 +/* 802678F0 00264850 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802678F4 00264854 2C 00 00 00 */ cmpwi r0, 0 +/* 802678F8 00264858 7C 64 1A 14 */ add r3, r4, r3 +/* 802678FC 0026485C 40 82 00 14 */ bne lbl_80267910 +/* 80267900 00264860 38 00 00 01 */ li r0, 1 +/* 80267904 00264864 90 06 00 00 */ stw r0, 0(r6) +/* 80267908 00264868 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8026790C 0026486C D0 06 00 04 */ stfs f0, 4(r6) +lbl_80267910: +/* 80267910 00264870 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267914 00264874 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267918 00264878 7C 08 03 A6 */ mtlr r0 +/* 8026791C 0026487C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267920 00264880 4E 80 00 20 */ blr + +.global Update__12CHintOptionsfRC13CStateManager +Update__12CHintOptionsfRC13CStateManager: +/* 80267924 00264884 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267928 00264888 38 00 FF FF */ li r0, -1 +/* 8026792C 0026488C 38 E0 00 00 */ li r7, 0 +/* 80267930 00264890 39 20 00 00 */ li r9, 0 +/* 80267934 00264894 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267938 00264898 7C E8 3B 78 */ mr r8, r7 +/* 8026793C 0026489C 48 00 00 90 */ b lbl_802679CC +lbl_80267940: +/* 80267940 002648A0 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80267944 002648A4 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267948 002648A8 7C C0 3A 14 */ add r6, r0, r7 +/* 8026794C 002648AC 80 A5 00 08 */ lwz r5, 8(r5) +/* 80267950 002648B0 80 06 00 00 */ lwz r0, 0(r6) +/* 80267954 002648B4 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80267958 002648B8 2C 00 00 02 */ cmpwi r0, 2 +/* 8026795C 002648BC 7C A5 42 14 */ add r5, r5, r8 +/* 80267960 002648C0 41 82 00 50 */ beq lbl_802679B0 +/* 80267964 002648C4 40 80 00 5C */ bge lbl_802679C0 +/* 80267968 002648C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8026796C 002648CC 41 82 00 54 */ beq lbl_802679C0 +/* 80267970 002648D0 40 80 00 0C */ bge lbl_8026797C +/* 80267974 002648D4 48 00 00 4C */ b lbl_802679C0 +/* 80267978 002648D8 48 00 00 48 */ b lbl_802679C0 +lbl_8026797C: +/* 8026797C 002648DC C0 46 00 04 */ lfs f2, 4(r6) +/* 80267980 002648E0 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) +/* 80267984 002648E4 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80267988 002648E8 D0 46 00 04 */ stfs f2, 4(r6) +/* 8026798C 002648EC C0 46 00 04 */ lfs f2, 4(r6) +/* 80267990 002648F0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80267994 002648F4 4C 40 13 82 */ cror 2, 0, 2 +/* 80267998 002648F8 40 82 00 28 */ bne lbl_802679C0 +/* 8026799C 002648FC 38 00 00 02 */ li r0, 2 +/* 802679A0 00264900 90 06 00 00 */ stw r0, 0(r6) +/* 802679A4 00264904 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 802679A8 00264908 D0 06 00 04 */ stfs f0, 4(r6) +/* 802679AC 0026490C 48 00 00 14 */ b lbl_802679C0 +lbl_802679B0: +/* 802679B0 00264910 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802679B4 00264914 2C 00 FF FF */ cmpwi r0, -1 +/* 802679B8 00264918 40 82 00 08 */ bne lbl_802679C0 +/* 802679BC 0026491C 91 23 00 10 */ stw r9, 0x10(r3) +lbl_802679C0: +/* 802679C0 00264920 38 E7 00 0C */ addi r7, r7, 0xc +/* 802679C4 00264924 39 08 00 30 */ addi r8, r8, 0x30 +/* 802679C8 00264928 39 29 00 01 */ addi r9, r9, 1 +lbl_802679CC: +/* 802679CC 0026492C 80 03 00 04 */ lwz r0, 4(r3) +/* 802679D0 00264930 7C 09 00 00 */ cmpw r9, r0 +/* 802679D4 00264934 41 80 FF 6C */ blt lbl_80267940 +/* 802679D8 00264938 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 802679DC 0026493C 2C 07 FF FF */ cmpwi r7, -1 +/* 802679E0 00264940 41 82 00 BC */ beq lbl_80267A9C +/* 802679E4 00264944 1C 07 00 0C */ mulli r0, r7, 0xc +/* 802679E8 00264948 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802679EC 0026494C 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) +/* 802679F0 00264950 C0 0D 98 40 */ lfs f0, lbl_805A8400@sda21(r13) +/* 802679F4 00264954 7C C5 02 14 */ add r6, r5, r0 +/* 802679F8 00264958 80 63 00 08 */ lwz r3, 8(r3) +/* 802679FC 0026495C C0 46 00 04 */ lfs f2, 4(r6) +/* 80267A00 00264960 1C 07 00 30 */ mulli r0, r7, 0x30 +/* 80267A04 00264964 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267A08 00264968 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80267A0C 0026496C 7C E3 02 14 */ add r7, r3, r0 +/* 80267A10 00264970 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80267A14 00264974 D0 21 00 08 */ stfs f1, 8(r1) +/* 80267A18 00264978 40 80 00 0C */ bge lbl_80267A24 +/* 80267A1C 0026497C 38 61 00 08 */ addi r3, r1, 8 +/* 80267A20 00264980 48 00 00 08 */ b lbl_80267A28 +lbl_80267A24: +/* 80267A24 00264984 38 6D 98 40 */ addi r3, r13, lbl_805A8400@sda21 +lbl_80267A28: +/* 80267A28 00264988 C0 03 00 00 */ lfs f0, 0(r3) +/* 80267A2C 0026498C D0 06 00 04 */ stfs f0, 4(r6) +/* 80267A30 00264990 C0 26 00 04 */ lfs f1, 4(r6) +/* 80267A34 00264994 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 80267A38 00264998 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267A3C 0026499C 40 80 00 60 */ bge lbl_80267A9C +/* 80267A40 002649A0 80 07 00 24 */ lwz r0, 0x24(r7) +/* 80267A44 002649A4 39 20 00 00 */ li r9, 0 +/* 80267A48 002649A8 7C 09 03 A6 */ mtctr r0 +/* 80267A4C 002649AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80267A50 002649B0 40 81 00 4C */ ble lbl_80267A9C +lbl_80267A54: +/* 80267A54 002649B4 80 07 00 2C */ lwz r0, 0x2c(r7) +/* 80267A58 002649B8 80 64 08 50 */ lwz r3, 0x850(r4) +/* 80267A5C 002649BC 7D 00 4A 14 */ add r8, r0, r9 +/* 80267A60 002649C0 80 A8 00 00 */ lwz r5, 0(r8) +/* 80267A64 002649C4 80 03 00 08 */ lwz r0, 8(r3) +/* 80267A68 002649C8 7C 05 00 40 */ cmplw r5, r0 +/* 80267A6C 002649CC 40 82 00 28 */ bne lbl_80267A94 +/* 80267A70 002649D0 80 68 00 08 */ lwz r3, 8(r8) +/* 80267A74 002649D4 80 04 08 CC */ lwz r0, 0x8cc(r4) +/* 80267A78 002649D8 7C 03 00 00 */ cmpw r3, r0 +/* 80267A7C 002649DC 40 82 00 18 */ bne lbl_80267A94 +/* 80267A80 002649E0 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 80267A84 002649E4 38 00 00 01 */ li r0, 1 +/* 80267A88 002649E8 D0 06 00 04 */ stfs f0, 4(r6) +/* 80267A8C 002649EC 98 06 00 08 */ stb r0, 8(r6) +/* 80267A90 002649F0 48 00 00 0C */ b lbl_80267A9C +lbl_80267A94: +/* 80267A94 002649F4 39 29 00 10 */ addi r9, r9, 0x10 +/* 80267A98 002649F8 42 00 FF BC */ bdnz lbl_80267A54 +lbl_80267A9C: +/* 80267A9C 002649FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267AA0 00264A00 4E 80 00 20 */ blr + +.global InitializeMemoryState__12CHintOptionsFv +InitializeMemoryState__12CHintOptionsFv: +/* 80267AA4 00264A04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267AA8 00264A08 7C 08 02 A6 */ mflr r0 +/* 80267AAC 00264A0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267AB0 00264A10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267AB4 00264A14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267AB8 00264A18 7C 7E 1B 78 */ mr r30, r3 +/* 80267ABC 00264A1C 38 61 00 08 */ addi r3, r1, 8 +/* 80267AC0 00264A20 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267AC4 00264A24 80 84 00 08 */ lwz r4, 8(r4) +/* 80267AC8 00264A28 83 E4 00 04 */ lwz r31, 4(r4) +/* 80267ACC 00264A2C 48 00 03 B5 */ bl sub_80267e80 +/* 80267AD0 00264A30 7C 65 1B 78 */ mr r5, r3 +/* 80267AD4 00264A34 7F C3 F3 78 */ mr r3, r30 +/* 80267AD8 00264A38 7F E4 FB 78 */ mr r4, r31 +/* 80267ADC 00264A3C 48 00 00 1D */ bl sub_80267af8 +/* 80267AE0 00264A40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267AE4 00264A44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267AE8 00264A48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80267AEC 00264A4C 7C 08 03 A6 */ mtlr r0 +/* 80267AF0 00264A50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267AF4 00264A54 4E 80 00 20 */ blr + +.global sub_80267af8 +sub_80267af8: +/* 80267AF8 00264A58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80267AFC 00264A5C 7C 08 02 A6 */ mflr r0 +/* 80267B00 00264A60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80267B04 00264A64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80267B08 00264A68 7C BF 2B 78 */ mr r31, r5 +/* 80267B0C 00264A6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80267B10 00264A70 7C 9E 23 78 */ mr r30, r4 +/* 80267B14 00264A74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80267B18 00264A78 7C 7D 1B 78 */ mr r29, r3 +/* 80267B1C 00264A7C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80267B20 00264A80 80 03 00 04 */ lwz r0, 4(r3) +/* 80267B24 00264A84 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80267B28 00264A88 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267B2C 00264A8C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80267B30 00264A90 7C 03 02 14 */ add r0, r3, r0 +/* 80267B34 00264A94 90 61 00 08 */ stw r3, 8(r1) +/* 80267B38 00264A98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267B3C 00264A9C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80267B40 00264AA0 48 00 00 08 */ b lbl_80267B48 +lbl_80267B44: +/* 80267B44 00264AA4 38 63 00 0C */ addi r3, r3, 0xc +lbl_80267B48: +/* 80267B48 00264AA8 7C 03 00 40 */ cmplw r3, r0 +/* 80267B4C 00264AAC 40 82 FF F8 */ bne lbl_80267B44 +/* 80267B50 00264AB0 38 00 00 00 */ li r0, 0 +/* 80267B54 00264AB4 7F A3 EB 78 */ mr r3, r29 +/* 80267B58 00264AB8 90 1D 00 04 */ stw r0, 4(r29) +/* 80267B5C 00264ABC 7F C4 F3 78 */ mr r4, r30 +/* 80267B60 00264AC0 4B F6 E5 9D */ bl sub_801d60fc +/* 80267B64 00264AC4 3B 80 00 00 */ li r28, 0 +/* 80267B68 00264AC8 48 00 00 68 */ b lbl_80267BD0 +lbl_80267B6C: +/* 80267B6C 00264ACC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267B70 00264AD0 80 BD 00 08 */ lwz r5, 8(r29) +/* 80267B74 00264AD4 7C 00 28 00 */ cmpw r0, r5 +/* 80267B78 00264AD8 41 80 00 1C */ blt lbl_80267B94 +/* 80267B7C 00264ADC 2C 05 00 00 */ cmpwi r5, 0 +/* 80267B80 00264AE0 7F A3 EB 78 */ mr r3, r29 +/* 80267B84 00264AE4 38 80 00 04 */ li r4, 4 +/* 80267B88 00264AE8 41 82 00 08 */ beq lbl_80267B90 +/* 80267B8C 00264AEC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267B90: +/* 80267B90 00264AF0 4B F6 E5 6D */ bl sub_801d60fc +lbl_80267B94: +/* 80267B94 00264AF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267B98 00264AF8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80267B9C 00264AFC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267BA0 00264B00 7C 63 02 15 */ add. r3, r3, r0 +/* 80267BA4 00264B04 41 82 00 1C */ beq lbl_80267BC0 +/* 80267BA8 00264B08 80 1F 00 00 */ lwz r0, 0(r31) +/* 80267BAC 00264B0C 90 03 00 00 */ stw r0, 0(r3) +/* 80267BB0 00264B10 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80267BB4 00264B14 D0 03 00 04 */ stfs f0, 4(r3) +/* 80267BB8 00264B18 88 1F 00 08 */ lbz r0, 8(r31) +/* 80267BBC 00264B1C 98 03 00 08 */ stb r0, 8(r3) +lbl_80267BC0: +/* 80267BC0 00264B20 80 7D 00 04 */ lwz r3, 4(r29) +/* 80267BC4 00264B24 3B 9C 00 01 */ addi r28, r28, 1 +/* 80267BC8 00264B28 38 03 00 01 */ addi r0, r3, 1 +/* 80267BCC 00264B2C 90 1D 00 04 */ stw r0, 4(r29) +lbl_80267BD0: +/* 80267BD0 00264B30 7C 1C F0 00 */ cmpw r28, r30 +/* 80267BD4 00264B34 41 80 FF 98 */ blt lbl_80267B6C +/* 80267BD8 00264B38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80267BDC 00264B3C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80267BE0 00264B40 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80267BE4 00264B44 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80267BE8 00264B48 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80267BEC 00264B4C 7C 08 03 A6 */ mtlr r0 +/* 80267BF0 00264B50 38 21 00 30 */ addi r1, r1, 0x30 +/* 80267BF4 00264B54 4E 80 00 20 */ blr + +.global PutTo__16CGameHintManagerFR16CMemoryStreamOut +PutTo__16CGameHintManagerFR16CMemoryStreamOut: +/* 80267BF8 00264B58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80267BFC 00264B5C 7C 08 02 A6 */ mflr r0 +/* 80267C00 00264B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 80267C04 00264B64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80267C08 00264B68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80267C0C 00264B6C 7C 9E 23 78 */ mr r30, r4 +/* 80267C10 00264B70 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80267C14 00264B74 7C 7D 1B 78 */ mr r29, r3 +/* 80267C18 00264B78 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80267C1C 00264B7C 48 00 00 30 */ b lbl_80267C4C +lbl_80267C20: +/* 80267C20 00264B80 38 60 00 03 */ li r3, 3 +/* 80267C24 00264B84 48 00 06 A1 */ bl GetBitCount__16CGameHintManagerFi +/* 80267C28 00264B88 80 9F 00 00 */ lwz r4, 0(r31) +/* 80267C2C 00264B8C 7C 65 1B 78 */ mr r5, r3 +/* 80267C30 00264B90 7F C3 F3 78 */ mr r3, r30 +/* 80267C34 00264B94 48 0D 77 89 */ bl WriteBits__13COutputStreamFii +/* 80267C38 00264B98 80 9F 00 04 */ lwz r4, 4(r31) +/* 80267C3C 00264B9C 7F C3 F3 78 */ mr r3, r30 +/* 80267C40 00264BA0 38 A0 00 20 */ li r5, 0x20 +/* 80267C44 00264BA4 48 0D 77 79 */ bl WriteBits__13COutputStreamFii +/* 80267C48 00264BA8 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80267C4C: +/* 80267C4C 00264BAC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80267C50 00264BB0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80267C54 00264BB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267C58 00264BB8 7C 03 02 14 */ add r0, r3, r0 +/* 80267C5C 00264BBC 7C 1F 00 40 */ cmplw r31, r0 +/* 80267C60 00264BC0 40 82 FF C0 */ bne lbl_80267C20 +/* 80267C64 00264BC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80267C68 00264BC8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80267C6C 00264BCC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80267C70 00264BD0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80267C74 00264BD4 7C 08 03 A6 */ mtlr r0 +/* 80267C78 00264BD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80267C7C 00264BDC 4E 80 00 20 */ blr + +.global SetHintNextTime__12CHintOptionsFv +SetHintNextTime__12CHintOptionsFv: +/* 80267C80 00264BE0 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 80267C84 00264BE4 2C 07 FF FF */ cmpwi r7, -1 +/* 80267C88 00264BE8 4D 82 00 20 */ beqlr +/* 80267C8C 00264BEC 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) +/* 80267C90 00264BF0 1C 87 00 30 */ mulli r4, r7, 0x30 +/* 80267C94 00264BF4 C0 22 BA E8 */ lfs f1, lbl_805AD808@sda21(r2) +/* 80267C98 00264BF8 80 A5 00 08 */ lwz r5, 8(r5) +/* 80267C9C 00264BFC 38 04 00 1C */ addi r0, r4, 0x1c +/* 80267CA0 00264C00 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80267CA4 00264C04 80 65 00 0C */ lwz r3, 0xc(r5) +/* 80267CA8 00264C08 1C 87 00 0C */ mulli r4, r7, 0xc +/* 80267CAC 00264C0C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80267CB0 00264C10 7C 66 22 14 */ add r3, r6, r4 +/* 80267CB4 00264C14 EC 01 00 2A */ fadds f0, f1, f0 +/* 80267CB8 00264C18 D0 03 00 04 */ stfs f0, 4(r3) +/* 80267CBC 00264C1C 4E 80 00 20 */ blr + +.global __ct__12CHintOptionsFR12CInputStream +__ct__12CHintOptionsFR12CInputStream: +/* 80267CC0 00264C20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80267CC4 00264C24 7C 08 02 A6 */ mflr r0 +/* 80267CC8 00264C28 38 A0 00 00 */ li r5, 0 +/* 80267CCC 00264C2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80267CD0 00264C30 38 00 FF FF */ li r0, -1 +/* 80267CD4 00264C34 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80267CD8 00264C38 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80267CDC 00264C3C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80267CE0 00264C40 7C 9D 23 78 */ mr r29, r4 +/* 80267CE4 00264C44 93 81 00 20 */ stw r28, 0x20(r1) +/* 80267CE8 00264C48 7C 7C 1B 78 */ mr r28, r3 +/* 80267CEC 00264C4C 90 A3 00 04 */ stw r5, 4(r3) +/* 80267CF0 00264C50 90 A3 00 08 */ stw r5, 8(r3) +/* 80267CF4 00264C54 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80267CF8 00264C58 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267CFC 00264C5C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) +/* 80267D00 00264C60 80 84 00 08 */ lwz r4, 8(r4) +/* 80267D04 00264C64 80 84 00 04 */ lwz r4, 4(r4) +/* 80267D08 00264C68 4B F6 E3 F5 */ bl sub_801d60fc +/* 80267D0C 00264C6C 3B E0 00 00 */ li r31, 0 +/* 80267D10 00264C70 48 00 00 F0 */ b lbl_80267E00 +lbl_80267D14: +/* 80267D14 00264C74 38 60 00 03 */ li r3, 3 +/* 80267D18 00264C78 48 00 05 AD */ bl GetBitCount__16CGameHintManagerFi +/* 80267D1C 00264C7C 7C 64 1B 78 */ mr r4, r3 +/* 80267D20 00264C80 7F A3 EB 78 */ mr r3, r29 +/* 80267D24 00264C84 48 0D 70 15 */ bl ReadBits__12CInputStreamFi +/* 80267D28 00264C88 7C 60 1B 78 */ mr r0, r3 +/* 80267D2C 00264C8C 7F A3 EB 78 */ mr r3, r29 +/* 80267D30 00264C90 7C 1E 03 78 */ mr r30, r0 +/* 80267D34 00264C94 38 80 00 20 */ li r4, 0x20 +/* 80267D38 00264C98 48 0D 70 01 */ bl ReadBits__12CInputStreamFi +/* 80267D3C 00264C9C 38 9E FF FF */ addi r4, r30, -1 +/* 80267D40 00264CA0 90 61 00 08 */ stw r3, 8(r1) +/* 80267D44 00264CA4 38 A0 00 01 */ li r5, 1 +/* 80267D48 00264CA8 20 04 00 01 */ subfic r0, r4, 1 +/* 80267D4C 00264CAC C0 21 00 08 */ lfs f1, 8(r1) +/* 80267D50 00264CB0 7C A3 23 38 */ orc r3, r5, r4 +/* 80267D54 00264CB4 54 00 F8 7E */ srwi r0, r0, 1 +/* 80267D58 00264CB8 7C 00 18 50 */ subf r0, r0, r3 +/* 80267D5C 00264CBC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80267D60 00264CC0 40 82 00 08 */ bne lbl_80267D68 +/* 80267D64 00264CC4 38 A0 00 00 */ li r5, 0 +lbl_80267D68: +/* 80267D68 00264CC8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80267D6C 00264CCC 7F C4 F3 78 */ mr r4, r30 +/* 80267D70 00264CD0 38 61 00 0C */ addi r3, r1, 0xc +/* 80267D74 00264CD4 41 82 00 08 */ beq lbl_80267D7C +/* 80267D78 00264CD8 48 00 00 08 */ b lbl_80267D80 +lbl_80267D7C: +/* 80267D7C 00264CDC C0 22 BA E4 */ lfs f1, lbl_805AD804@sda21(r2) +lbl_80267D80: +/* 80267D80 00264CE0 48 00 00 ED */ bl sub_80267e6c +/* 80267D84 00264CE4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80267D88 00264CE8 80 BC 00 08 */ lwz r5, 8(r28) +/* 80267D8C 00264CEC 7C 00 28 00 */ cmpw r0, r5 +/* 80267D90 00264CF0 41 80 00 1C */ blt lbl_80267DAC +/* 80267D94 00264CF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80267D98 00264CF8 7F 83 E3 78 */ mr r3, r28 +/* 80267D9C 00264CFC 38 80 00 04 */ li r4, 4 +/* 80267DA0 00264D00 41 82 00 08 */ beq lbl_80267DA8 +/* 80267DA4 00264D04 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267DA8: +/* 80267DA8 00264D08 4B F6 E3 55 */ bl sub_801d60fc +lbl_80267DAC: +/* 80267DAC 00264D0C 80 1C 00 04 */ lwz r0, 4(r28) +/* 80267DB0 00264D10 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80267DB4 00264D14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80267DB8 00264D18 7C 63 02 15 */ add. r3, r3, r0 +/* 80267DBC 00264D1C 41 82 00 1C */ beq lbl_80267DD8 +/* 80267DC0 00264D20 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80267DC4 00264D24 90 03 00 00 */ stw r0, 0(r3) +/* 80267DC8 00264D28 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80267DCC 00264D2C D0 03 00 04 */ stfs f0, 4(r3) +/* 80267DD0 00264D30 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80267DD4 00264D34 98 03 00 08 */ stb r0, 8(r3) +lbl_80267DD8: +/* 80267DD8 00264D38 80 7C 00 04 */ lwz r3, 4(r28) +/* 80267DDC 00264D3C 38 03 00 01 */ addi r0, r3, 1 +/* 80267DE0 00264D40 90 1C 00 04 */ stw r0, 4(r28) +/* 80267DE4 00264D44 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80267DE8 00264D48 2C 00 FF FF */ cmpwi r0, -1 +/* 80267DEC 00264D4C 40 82 00 10 */ bne lbl_80267DFC +/* 80267DF0 00264D50 2C 1E 00 02 */ cmpwi r30, 2 +/* 80267DF4 00264D54 40 82 00 08 */ bne lbl_80267DFC +/* 80267DF8 00264D58 93 FC 00 10 */ stw r31, 0x10(r28) +lbl_80267DFC: +/* 80267DFC 00264D5C 3B FF 00 01 */ addi r31, r31, 1 +lbl_80267E00: +/* 80267E00 00264D60 80 1C 00 08 */ lwz r0, 8(r28) +/* 80267E04 00264D64 7C 1F 00 00 */ cmpw r31, r0 +/* 80267E08 00264D68 41 80 FF 0C */ blt lbl_80267D14 +/* 80267E0C 00264D6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80267E10 00264D70 7F 83 E3 78 */ mr r3, r28 +/* 80267E14 00264D74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80267E18 00264D78 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80267E1C 00264D7C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80267E20 00264D80 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80267E24 00264D84 7C 08 03 A6 */ mtlr r0 +/* 80267E28 00264D88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80267E2C 00264D8C 4E 80 00 20 */ blr + +.global __ct__12CHintOptionsFv +__ct__12CHintOptionsFv: +/* 80267E30 00264D90 38 80 00 00 */ li r4, 0 +/* 80267E34 00264D94 38 00 FF FF */ li r0, -1 +/* 80267E38 00264D98 90 83 00 04 */ stw r4, 4(r3) +/* 80267E3C 00264D9C 90 83 00 08 */ stw r4, 8(r3) +/* 80267E40 00264DA0 90 83 00 0C */ stw r4, 0xc(r3) +/* 80267E44 00264DA4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80267E48 00264DA8 4E 80 00 20 */ blr + +.global CanContinue__Q212CHintOptions10SHintStateFv +CanContinue__Q212CHintOptions10SHintStateFv: +/* 80267E4C 00264DAC C0 43 00 04 */ lfs f2, 4(r3) +/* 80267E50 00264DB0 C0 22 BA DC */ lfs f1, lbl_805AD7FC@sda21(r2) +/* 80267E54 00264DB4 C0 02 BA EC */ lfs f0, lbl_805AD80C@sda21(r2) +/* 80267E58 00264DB8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80267E5C 00264DBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80267E60 00264DC0 7C 00 00 26 */ mfcr r0 +/* 80267E64 00264DC4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80267E68 00264DC8 4E 80 00 20 */ blr + +.global sub_80267e6c +sub_80267e6c: +/* 80267E6C 00264DCC 90 83 00 00 */ stw r4, 0(r3) +/* 80267E70 00264DD0 38 00 00 00 */ li r0, 0 +/* 80267E74 00264DD4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80267E78 00264DD8 98 03 00 08 */ stb r0, 8(r3) +/* 80267E7C 00264DDC 4E 80 00 20 */ blr + +.global sub_80267e80 +sub_80267e80: +/* 80267E80 00264DE0 38 00 00 00 */ li r0, 0 +/* 80267E84 00264DE4 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) +/* 80267E88 00264DE8 90 03 00 00 */ stw r0, 0(r3) +/* 80267E8C 00264DEC D0 03 00 04 */ stfs f0, 4(r3) +/* 80267E90 00264DF0 98 03 00 08 */ stb r0, 8(r3) +/* 80267E94 00264DF4 4E 80 00 20 */ blr + +.global __ct__13CGameHintInfoFR12CInputStreamUi +__ct__13CGameHintInfoFR12CInputStreamUi: +/* 80267E98 00264DF8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80267E9C 00264DFC 7C 08 02 A6 */ mflr r0 +/* 80267EA0 00264E00 90 01 00 54 */ stw r0, 0x54(r1) +/* 80267EA4 00264E04 38 00 00 00 */ li r0, 0 +/* 80267EA8 00264E08 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80267EAC 00264E0C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80267EB0 00264E10 7C BE 2B 78 */ mr r30, r5 +/* 80267EB4 00264E14 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80267EB8 00264E18 7C 9D 23 78 */ mr r29, r4 +/* 80267EBC 00264E1C 93 81 00 40 */ stw r28, 0x40(r1) +/* 80267EC0 00264E20 7C 7C 1B 78 */ mr r28, r3 +/* 80267EC4 00264E24 90 03 00 04 */ stw r0, 4(r3) +/* 80267EC8 00264E28 90 03 00 08 */ stw r0, 8(r3) +/* 80267ECC 00264E2C 7F A3 EB 78 */ mr r3, r29 +/* 80267ED0 00264E30 90 1C 00 0C */ stw r0, 0xc(r28) +/* 80267ED4 00264E34 48 0D 6D B1 */ bl ReadLong__12CInputStreamFv +/* 80267ED8 00264E38 7C 64 1B 78 */ mr r4, r3 +/* 80267EDC 00264E3C 7F 83 E3 78 */ mr r3, r28 +/* 80267EE0 00264E40 48 00 05 09 */ bl "reserve__Q24rstl62vectorFi" +/* 80267EE4 00264E44 3B E0 00 00 */ li r31, 0 +/* 80267EE8 00264E48 48 00 00 30 */ b lbl_80267F18 +lbl_80267EEC: +/* 80267EEC 00264E4C 7F A4 EB 78 */ mr r4, r29 +/* 80267EF0 00264E50 7F C5 F3 78 */ mr r5, r30 +/* 80267EF4 00264E54 38 61 00 08 */ addi r3, r1, 8 +/* 80267EF8 00264E58 48 00 01 FD */ bl __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi +/* 80267EFC 00264E5C 7F 83 E3 78 */ mr r3, r28 +/* 80267F00 00264E60 38 81 00 08 */ addi r4, r1, 8 +/* 80267F04 00264E64 48 00 00 45 */ bl "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" +/* 80267F08 00264E68 38 61 00 08 */ addi r3, r1, 8 +/* 80267F0C 00264E6C 38 80 FF FF */ li r4, -1 +/* 80267F10 00264E70 4B FF F5 41 */ bl __dt__Q213CGameHintInfo9CGameHintFv +/* 80267F14 00264E74 3B FF 00 01 */ addi r31, r31, 1 +lbl_80267F18: +/* 80267F18 00264E78 80 1C 00 08 */ lwz r0, 8(r28) +/* 80267F1C 00264E7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80267F20 00264E80 41 80 FF CC */ blt lbl_80267EEC +/* 80267F24 00264E84 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80267F28 00264E88 7F 83 E3 78 */ mr r3, r28 +/* 80267F2C 00264E8C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80267F30 00264E90 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80267F34 00264E94 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80267F38 00264E98 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80267F3C 00264E9C 7C 08 03 A6 */ mtlr r0 +/* 80267F40 00264EA0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80267F44 00264EA4 4E 80 00 20 */ blr + +.global "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" +"push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint": +/* 80267F48 00264EA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267F4C 00264EAC 7C 08 02 A6 */ mflr r0 +/* 80267F50 00264EB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267F54 00264EB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267F58 00264EB8 7C 9F 23 78 */ mr r31, r4 +/* 80267F5C 00264EBC 93 C1 00 08 */ stw r30, 8(r1) +/* 80267F60 00264EC0 7C 7E 1B 78 */ mr r30, r3 +/* 80267F64 00264EC4 80 03 00 04 */ lwz r0, 4(r3) +/* 80267F68 00264EC8 80 A3 00 08 */ lwz r5, 8(r3) +/* 80267F6C 00264ECC 7C 00 28 00 */ cmpw r0, r5 +/* 80267F70 00264ED0 41 80 00 18 */ blt lbl_80267F88 +/* 80267F74 00264ED4 2C 05 00 00 */ cmpwi r5, 0 +/* 80267F78 00264ED8 38 80 00 04 */ li r4, 4 +/* 80267F7C 00264EDC 41 82 00 08 */ beq lbl_80267F84 +/* 80267F80 00264EE0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80267F84: +/* 80267F84 00264EE4 48 00 04 65 */ bl "reserve__Q24rstl62vectorFi" +lbl_80267F88: +/* 80267F88 00264EE8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80267F8C 00264EEC 7F E4 FB 78 */ mr r4, r31 +/* 80267F90 00264EF0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80267F94 00264EF4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80267F98 00264EF8 7C 63 02 14 */ add r3, r3, r0 +/* 80267F9C 00264EFC 48 00 00 29 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +/* 80267FA0 00264F00 80 7E 00 04 */ lwz r3, 4(r30) +/* 80267FA4 00264F04 38 03 00 01 */ addi r0, r3, 1 +/* 80267FA8 00264F08 90 1E 00 04 */ stw r0, 4(r30) +/* 80267FAC 00264F0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80267FB0 00264F10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80267FB4 00264F14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267FB8 00264F18 7C 08 03 A6 */ mtlr r0 +/* 80267FBC 00264F1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267FC0 00264F20 4E 80 00 20 */ blr + +.global "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +"construct__4rstlFRCQ213CGameHintInfo9CGameHint": +/* 80267FC4 00264F24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267FC8 00264F28 7C 08 02 A6 */ mflr r0 +/* 80267FCC 00264F2C 28 03 00 00 */ cmplwi r3, 0 +/* 80267FD0 00264F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267FD4 00264F34 41 82 00 08 */ beq lbl_80267FDC +/* 80267FD8 00264F38 48 00 00 15 */ bl __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint +lbl_80267FDC: +/* 80267FDC 00264F3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80267FE0 00264F40 7C 08 03 A6 */ mtlr r0 +/* 80267FE4 00264F44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80267FE8 00264F48 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint +__ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint: +/* 80267FEC 00264F4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80267FF0 00264F50 7C 08 02 A6 */ mflr r0 +/* 80267FF4 00264F54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80267FF8 00264F58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80267FFC 00264F5C 7C 7F 1B 78 */ mr r31, r3 +/* 80268000 00264F60 93 C1 00 08 */ stw r30, 8(r1) +/* 80268004 00264F64 7C 9E 23 78 */ mr r30, r4 +/* 80268008 00264F68 48 0D 61 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8026800C 00264F6C C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80268010 00264F70 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80268014 00264F74 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80268018 00264F78 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8026801C 00264F7C 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80268020 00264F80 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80268024 00264F84 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80268028 00264F88 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8026802C 00264F8C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80268030 00264F90 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80268034 00264F94 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80268038 00264F98 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8026803C 00264F9C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80268040 00264FA0 2C 00 00 00 */ cmpwi r0, 0 +/* 80268044 00264FA4 40 82 00 1C */ bne lbl_80268060 +/* 80268048 00264FA8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8026804C 00264FAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80268050 00264FB0 40 82 00 10 */ bne lbl_80268060 +/* 80268054 00264FB4 38 00 00 00 */ li r0, 0 +/* 80268058 00264FB8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8026805C 00264FBC 48 00 00 7C */ b lbl_802680D8 +lbl_80268060: +/* 80268060 00264FC0 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80268064 00264FC4 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b +/* 80268068 00264FC8 40 82 00 10 */ bne lbl_80268078 +/* 8026806C 00264FCC 38 00 00 00 */ li r0, 0 +/* 80268070 00264FD0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80268074 00264FD4 48 00 00 18 */ b lbl_8026808C +lbl_80268078: +/* 80268078 00264FD8 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 8026807C 00264FDC 38 A0 00 00 */ li r5, 0 +/* 80268080 00264FE0 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80268084 00264FE4 48 0A D7 95 */ bl __nwa__FUlPCcPCc +/* 80268088 00264FE8 90 7F 00 2C */ stw r3, 0x2c(r31) +lbl_8026808C: +/* 8026808C 00264FEC 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80268090 00264FF0 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80268094 00264FF4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80268098 00264FF8 7C 09 03 A6 */ mtctr r0 +/* 8026809C 00264FFC 2C 00 00 00 */ cmpwi r0, 0 +/* 802680A0 00265000 40 81 00 38 */ ble lbl_802680D8 +lbl_802680A4: +/* 802680A4 00265004 28 03 00 00 */ cmplwi r3, 0 +/* 802680A8 00265008 41 82 00 24 */ beq lbl_802680CC +/* 802680AC 0026500C 80 04 00 00 */ lwz r0, 0(r4) +/* 802680B0 00265010 90 03 00 00 */ stw r0, 0(r3) +/* 802680B4 00265014 80 04 00 04 */ lwz r0, 4(r4) +/* 802680B8 00265018 90 03 00 04 */ stw r0, 4(r3) +/* 802680BC 0026501C 80 04 00 08 */ lwz r0, 8(r4) +/* 802680C0 00265020 90 03 00 08 */ stw r0, 8(r3) +/* 802680C4 00265024 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802680C8 00265028 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802680CC: +/* 802680CC 0026502C 38 63 00 10 */ addi r3, r3, 0x10 +/* 802680D0 00265030 38 84 00 10 */ addi r4, r4, 0x10 +/* 802680D4 00265034 42 00 FF D0 */ bdnz lbl_802680A4 +lbl_802680D8: +/* 802680D8 00265038 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802680DC 0026503C 7F E3 FB 78 */ mr r3, r31 +/* 802680E0 00265040 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802680E4 00265044 83 C1 00 08 */ lwz r30, 8(r1) +/* 802680E8 00265048 7C 08 03 A6 */ mtlr r0 +/* 802680EC 0026504C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802680F0 00265050 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi +__ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi: +/* 802680F4 00265054 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802680F8 00265058 7C 08 02 A6 */ mflr r0 +/* 802680FC 0026505C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80268100 00265060 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80268104 00265064 7C 9F 23 78 */ mr r31, r4 +/* 80268108 00265068 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8026810C 0026506C 7C 7E 1B 78 */ mr r30, r3 +/* 80268110 00265070 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80268114 00265074 93 81 00 30 */ stw r28, 0x30(r1) +/* 80268118 00265078 7C BC 2B 78 */ mr r28, r5 +/* 8026811C 0026507C 38 A1 00 08 */ addi r5, r1, 8 +/* 80268120 00265080 48 0D 61 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80268124 00265084 7F E3 FB 78 */ mr r3, r31 +/* 80268128 00265088 48 0D 6B 01 */ bl ReadFloat__12CInputStreamFv +/* 8026812C 0026508C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80268130 00265090 7F E3 FB 78 */ mr r3, r31 +/* 80268134 00265094 48 0D 6A F5 */ bl ReadFloat__12CInputStreamFv +/* 80268138 00265098 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 8026813C 0026509C 7F E3 FB 78 */ mr r3, r31 +/* 80268140 002650A0 48 0D 6B 45 */ bl ReadLong__12CInputStreamFv +/* 80268144 002650A4 2C 1C 00 00 */ cmpwi r28, 0 +/* 80268148 002650A8 90 7E 00 18 */ stw r3, 0x18(r30) +/* 8026814C 002650AC 40 81 00 10 */ ble lbl_8026815C +/* 80268150 002650B0 7F E3 FB 78 */ mr r3, r31 +/* 80268154 002650B4 48 0D 6B 31 */ bl ReadLong__12CInputStreamFv +/* 80268158 002650B8 48 00 00 08 */ b lbl_80268160 +lbl_8026815C: +/* 8026815C 002650BC 38 60 00 01 */ li r3, 1 +lbl_80268160: +/* 80268160 002650C0 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 80268164 002650C4 3C 80 43 30 */ lis r4, 0x4330 +/* 80268168 002650C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026816C 002650CC 38 00 00 00 */ li r0, 0 +/* 80268170 002650D0 C8 22 BA F0 */ lfd f1, lbl_805AD810@sda21(r2) +/* 80268174 002650D4 7F E3 FB 78 */ mr r3, r31 +/* 80268178 002650D8 90 81 00 20 */ stw r4, 0x20(r1) +/* 8026817C 002650DC C0 42 BA DC */ lfs f2, lbl_805AD7FC@sda21(r2) +/* 80268180 002650E0 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80268184 002650E4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80268188 002650E8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8026818C 002650EC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80268190 002650F0 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80268194 002650F4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80268198 002650F8 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 8026819C 002650FC 48 0D 6A E9 */ bl ReadLong__12CInputStreamFv +/* 802681A0 00265100 7C 7C 1B 78 */ mr r28, r3 +/* 802681A4 00265104 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802681A8 00265108 7F 84 E3 78 */ mr r4, r28 +/* 802681AC 0026510C 48 00 01 39 */ bl "reserve__Q24rstl67vectorFi" +/* 802681B0 00265110 3B A0 00 00 */ li r29, 0 +/* 802681B4 00265114 48 00 00 7C */ b lbl_80268230 +lbl_802681B8: +/* 802681B8 00265118 7F E4 FB 78 */ mr r4, r31 +/* 802681BC 0026511C 38 61 00 0C */ addi r3, r1, 0xc +/* 802681C0 00265120 48 00 00 9D */ bl __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream +/* 802681C4 00265124 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802681C8 00265128 80 BE 00 28 */ lwz r5, 0x28(r30) +/* 802681CC 0026512C 7C 00 28 00 */ cmpw r0, r5 +/* 802681D0 00265130 41 80 00 1C */ blt lbl_802681EC +/* 802681D4 00265134 2C 05 00 00 */ cmpwi r5, 0 +/* 802681D8 00265138 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802681DC 0026513C 38 80 00 04 */ li r4, 4 +/* 802681E0 00265140 41 82 00 08 */ beq lbl_802681E8 +/* 802681E4 00265144 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802681E8: +/* 802681E8 00265148 48 00 00 FD */ bl "reserve__Q24rstl67vectorFi" +lbl_802681EC: +/* 802681EC 0026514C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802681F0 00265150 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802681F4 00265154 54 00 20 36 */ slwi r0, r0, 4 +/* 802681F8 00265158 7C 63 02 15 */ add. r3, r3, r0 +/* 802681FC 0026515C 41 82 00 24 */ beq lbl_80268220 +/* 80268200 00265160 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80268204 00265164 90 03 00 00 */ stw r0, 0(r3) +/* 80268208 00265168 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026820C 0026516C 90 03 00 04 */ stw r0, 4(r3) +/* 80268210 00265170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80268214 00265174 90 03 00 08 */ stw r0, 8(r3) +/* 80268218 00265178 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8026821C 0026517C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_80268220: +/* 80268220 00265180 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80268224 00265184 3B BD 00 01 */ addi r29, r29, 1 +/* 80268228 00265188 38 03 00 01 */ addi r0, r3, 1 +/* 8026822C 0026518C 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_80268230: +/* 80268230 00265190 7C 1D E0 00 */ cmpw r29, r28 +/* 80268234 00265194 41 80 FF 84 */ blt lbl_802681B8 +/* 80268238 00265198 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8026823C 0026519C 7F C3 F3 78 */ mr r3, r30 +/* 80268240 002651A0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80268244 002651A4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80268248 002651A8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8026824C 002651AC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80268250 002651B0 7C 08 03 A6 */ mtlr r0 +/* 80268254 002651B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80268258 002651B8 4E 80 00 20 */ blr + +.global __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream +__ct__Q213CGameHintInfo13SHintLocationFR12CInputStream: +/* 8026825C 002651BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80268260 002651C0 7C 08 02 A6 */ mflr r0 +/* 80268264 002651C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80268268 002651C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026826C 002651CC 7C 9F 23 78 */ mr r31, r4 +/* 80268270 002651D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80268274 002651D4 7C 7E 1B 78 */ mr r30, r3 +/* 80268278 002651D8 7F E3 FB 78 */ mr r3, r31 +/* 8026827C 002651DC 48 0D 6A 09 */ bl ReadLong__12CInputStreamFv +/* 80268280 002651E0 90 7E 00 00 */ stw r3, 0(r30) +/* 80268284 002651E4 7F E3 FB 78 */ mr r3, r31 +/* 80268288 002651E8 48 0D 69 FD */ bl ReadLong__12CInputStreamFv +/* 8026828C 002651EC 90 7E 00 04 */ stw r3, 4(r30) +/* 80268290 002651F0 7F E3 FB 78 */ mr r3, r31 +/* 80268294 002651F4 48 0D 69 F1 */ bl ReadLong__12CInputStreamFv +/* 80268298 002651F8 90 7E 00 08 */ stw r3, 8(r30) +/* 8026829C 002651FC 7F E3 FB 78 */ mr r3, r31 +/* 802682A0 00265200 48 0D 69 E5 */ bl ReadLong__12CInputStreamFv +/* 802682A4 00265204 90 7E 00 0C */ stw r3, 0xc(r30) +/* 802682A8 00265208 7F C3 F3 78 */ mr r3, r30 +/* 802682AC 0026520C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802682B0 00265210 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802682B4 00265214 83 C1 00 08 */ lwz r30, 8(r1) +/* 802682B8 00265218 7C 08 03 A6 */ mtlr r0 +/* 802682BC 0026521C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802682C0 00265220 4E 80 00 20 */ blr + +.global GetBitCount__16CGameHintManagerFi +GetBitCount__16CGameHintManagerFi: +/* 802682C4 00265224 38 80 00 00 */ li r4, 0 +/* 802682C8 00265228 48 00 00 0C */ b lbl_802682D4 +lbl_802682CC: +/* 802682CC 0026522C 54 63 F8 7E */ srwi r3, r3, 1 +/* 802682D0 00265230 38 84 00 01 */ addi r4, r4, 1 +lbl_802682D4: +/* 802682D4 00265234 28 03 00 00 */ cmplwi r3, 0 +/* 802682D8 00265238 40 82 FF F4 */ bne lbl_802682CC +/* 802682DC 0026523C 7C 83 23 78 */ mr r3, r4 +/* 802682E0 00265240 4E 80 00 20 */ blr + +.global "reserve__Q24rstl67vectorFi" +"reserve__Q24rstl67vectorFi": +/* 802682E4 00265244 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802682E8 00265248 7C 08 02 A6 */ mflr r0 +/* 802682EC 0026524C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802682F0 00265250 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802682F4 00265254 7C 9F 23 78 */ mr r31, r4 +/* 802682F8 00265258 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802682FC 0026525C 7C 7E 1B 78 */ mr r30, r3 +/* 80268300 00265260 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80268304 00265264 80 03 00 08 */ lwz r0, 8(r3) +/* 80268308 00265268 7C 1F 00 00 */ cmpw r31, r0 +/* 8026830C 0026526C 40 81 00 C0 */ ble lbl_802683CC +/* 80268310 00265270 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 80268314 00265274 40 82 00 0C */ bne lbl_80268320 +/* 80268318 00265278 3B A0 00 00 */ li r29, 0 +/* 8026831C 0026527C 48 00 00 18 */ b lbl_80268334 +lbl_80268320: +/* 80268320 00265280 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 80268324 00265284 38 A0 00 00 */ li r5, 0 +/* 80268328 00265288 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 8026832C 0026528C 48 0A D4 ED */ bl __nwa__FUlPCcPCc +/* 80268330 00265290 7C 7D 1B 78 */ mr r29, r3 +lbl_80268334: +/* 80268334 00265294 80 1E 00 04 */ lwz r0, 4(r30) +/* 80268338 00265298 7F A4 EB 78 */ mr r4, r29 +/* 8026833C 0026529C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80268340 002652A0 54 00 20 36 */ slwi r0, r0, 4 +/* 80268344 002652A4 7C 65 02 14 */ add r3, r5, r0 +/* 80268348 002652A8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8026834C 002652AC 90 61 00 08 */ stw r3, 8(r1) +/* 80268350 002652B0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80268354 002652B4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80268358 002652B8 48 00 00 34 */ b lbl_8026838C +lbl_8026835C: +/* 8026835C 002652BC 28 04 00 00 */ cmplwi r4, 0 +/* 80268360 002652C0 41 82 00 24 */ beq lbl_80268384 +/* 80268364 002652C4 80 05 00 00 */ lwz r0, 0(r5) +/* 80268368 002652C8 90 04 00 00 */ stw r0, 0(r4) +/* 8026836C 002652CC 80 05 00 04 */ lwz r0, 4(r5) +/* 80268370 002652D0 90 04 00 04 */ stw r0, 4(r4) +/* 80268374 002652D4 80 05 00 08 */ lwz r0, 8(r5) +/* 80268378 002652D8 90 04 00 08 */ stw r0, 8(r4) +/* 8026837C 002652DC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80268380 002652E0 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80268384: +/* 80268384 002652E4 38 84 00 10 */ addi r4, r4, 0x10 +/* 80268388 002652E8 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_8026838C: +/* 8026838C 002652EC 7C 05 18 40 */ cmplw r5, r3 +/* 80268390 002652F0 40 82 FF CC */ bne lbl_8026835C +/* 80268394 002652F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80268398 002652F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8026839C 002652FC 54 00 20 36 */ slwi r0, r0, 4 +/* 802683A0 00265300 7C 64 1B 78 */ mr r4, r3 +/* 802683A4 00265304 7C 03 02 14 */ add r0, r3, r0 +/* 802683A8 00265308 48 00 00 08 */ b lbl_802683B0 +lbl_802683AC: +/* 802683AC 0026530C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_802683B0: +/* 802683B0 00265310 7C 04 00 40 */ cmplw r4, r0 +/* 802683B4 00265314 40 82 FF F8 */ bne lbl_802683AC +/* 802683B8 00265318 28 03 00 00 */ cmplwi r3, 0 +/* 802683BC 0026531C 41 82 00 08 */ beq lbl_802683C4 +/* 802683C0 00265320 48 0A D5 71 */ bl Free__7CMemoryFPCv +lbl_802683C4: +/* 802683C4 00265324 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802683C8 00265328 93 FE 00 08 */ stw r31, 8(r30) +lbl_802683CC: +/* 802683CC 0026532C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802683D0 00265330 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802683D4 00265334 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802683D8 00265338 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802683DC 0026533C 7C 08 03 A6 */ mtlr r0 +/* 802683E0 00265340 38 21 00 30 */ addi r1, r1, 0x30 +/* 802683E4 00265344 4E 80 00 20 */ blr + +.global "reserve__Q24rstl62vectorFi" +"reserve__Q24rstl62vectorFi": +/* 802683E8 00265348 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802683EC 0026534C 7C 08 02 A6 */ mflr r0 +/* 802683F0 00265350 90 01 00 34 */ stw r0, 0x34(r1) +/* 802683F4 00265354 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802683F8 00265358 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802683FC 0026535C 7C 9E 23 78 */ mr r30, r4 +/* 80268400 00265360 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80268404 00265364 7C 7D 1B 78 */ mr r29, r3 +/* 80268408 00265368 80 03 00 08 */ lwz r0, 8(r3) +/* 8026840C 0026536C 7C 1E 00 00 */ cmpw r30, r0 +/* 80268410 00265370 40 81 00 8C */ ble lbl_8026849C +/* 80268414 00265374 1C 7E 00 30 */ mulli r3, r30, 0x30 +/* 80268418 00265378 2C 03 00 00 */ cmpwi r3, 0 +/* 8026841C 0026537C 40 82 00 0C */ bne lbl_80268428 +/* 80268420 00265380 3B E0 00 00 */ li r31, 0 +/* 80268424 00265384 48 00 00 18 */ b lbl_8026843C +lbl_80268428: +/* 80268428 00265388 3C 80 80 3D */ lis r4, lbl_803D53C0@ha +/* 8026842C 0026538C 38 A0 00 00 */ li r5, 0 +/* 80268430 00265390 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l +/* 80268434 00265394 48 0A D3 E5 */ bl __nwa__FUlPCcPCc +/* 80268438 00265398 7C 7F 1B 78 */ mr r31, r3 +lbl_8026843C: +/* 8026843C 0026539C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268440 002653A0 7F E5 FB 78 */ mr r5, r31 +/* 80268444 002653A4 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80268448 002653A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8026844C 002653AC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80268450 002653B0 38 81 00 0C */ addi r4, r1, 0xc +/* 80268454 002653B4 7C C6 02 14 */ add r6, r6, r0 +/* 80268458 002653B8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8026845C 002653BC 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80268460 002653C0 90 C1 00 08 */ stw r6, 8(r1) +/* 80268464 002653C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80268468 002653C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026846C 002653CC 48 00 00 99 */ bl sub_80268504 +/* 80268470 002653D0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80268474 002653D4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80268478 002653D8 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8026847C 002653DC 7C 83 02 14 */ add r4, r3, r0 +/* 80268480 002653E0 48 00 00 39 */ bl sub_802684b8 +/* 80268484 002653E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80268488 002653E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026848C 002653EC 41 82 00 08 */ beq lbl_80268494 +/* 80268490 002653F0 48 0A D4 A1 */ bl Free__7CMemoryFPCv +lbl_80268494: +/* 80268494 002653F4 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80268498 002653F8 93 DD 00 08 */ stw r30, 8(r29) +lbl_8026849C: +/* 8026849C 002653FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802684A0 00265400 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802684A4 00265404 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802684A8 00265408 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802684AC 0026540C 7C 08 03 A6 */ mtlr r0 +/* 802684B0 00265410 38 21 00 30 */ addi r1, r1, 0x30 +/* 802684B4 00265414 4E 80 00 20 */ blr + +.global sub_802684b8 +sub_802684b8: +/* 802684B8 00265418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802684BC 0026541C 7C 08 02 A6 */ mflr r0 +/* 802684C0 00265420 90 01 00 14 */ stw r0, 0x14(r1) +/* 802684C4 00265424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802684C8 00265428 7C 7F 1B 78 */ mr r31, r3 +/* 802684CC 0026542C 93 C1 00 08 */ stw r30, 8(r1) +/* 802684D0 00265430 7C 9E 23 78 */ mr r30, r4 +/* 802684D4 00265434 48 00 00 10 */ b lbl_802684E4 +lbl_802684D8: +/* 802684D8 00265438 7F E3 FB 78 */ mr r3, r31 +/* 802684DC 0026543C 4B FF EF 51 */ bl sub_8026742c +/* 802684E0 00265440 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_802684E4: +/* 802684E4 00265444 7C 1F F0 40 */ cmplw r31, r30 +/* 802684E8 00265448 40 82 FF F0 */ bne lbl_802684D8 +/* 802684EC 0026544C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802684F0 00265450 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802684F4 00265454 83 C1 00 08 */ lwz r30, 8(r1) +/* 802684F8 00265458 7C 08 03 A6 */ mtlr r0 +/* 802684FC 0026545C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80268500 00265460 4E 80 00 20 */ blr + +.global sub_80268504 +sub_80268504: +/* 80268504 00265464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80268508 00265468 7C 08 02 A6 */ mflr r0 +/* 8026850C 0026546C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80268510 00265470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80268514 00265474 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80268518 00265478 7C BE 2B 78 */ mr r30, r5 +/* 8026851C 0026547C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80268520 00265480 7C 9D 23 78 */ mr r29, r4 +/* 80268524 00265484 83 E3 00 00 */ lwz r31, 0(r3) +/* 80268528 00265488 48 00 00 18 */ b lbl_80268540 +lbl_8026852C: +/* 8026852C 0026548C 7F C3 F3 78 */ mr r3, r30 +/* 80268530 00265490 7F E4 FB 78 */ mr r4, r31 +/* 80268534 00265494 4B FF FA 91 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" +/* 80268538 00265498 3B DE 00 30 */ addi r30, r30, 0x30 +/* 8026853C 0026549C 3B FF 00 30 */ addi r31, r31, 0x30 +lbl_80268540: +/* 80268540 002654A0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80268544 002654A4 7C 1F 00 40 */ cmplw r31, r0 +/* 80268548 002654A8 40 82 FF E4 */ bne lbl_8026852C +/* 8026854C 002654AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80268550 002654B0 7F C3 F3 78 */ mr r3, r30 +/* 80268554 002654B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80268558 002654B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8026855C 002654BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80268560 002654C0 7C 08 03 A6 */ mtlr r0 +/* 80268564 002654C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80268568 002654C8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CMorphBallShadow.s b/asm/Kyoto_CWD/Player/CMorphBallShadow.s new file mode 100644 index 00000000..9c8bfedf --- /dev/null +++ b/asm/Kyoto_CWD/Player/CMorphBallShadow.s @@ -0,0 +1,1302 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AreasValid__16CMorphBallShadowCFRC13CStateManager +AreasValid__16CMorphBallShadowCFRC13CStateManager: +/* 80295B40 00292AA0 80 84 08 50 */ lwz r4, 0x850(r4) +/* 80295B44 00292AA4 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 80295B48 00292AA8 80 C4 00 58 */ lwz r6, 0x58(r4) +/* 80295B4C 00292AAC 80 ED A2 18 */ lwz r7, lbl_805A8DD8@sda21(r13) +/* 80295B50 00292AB0 48 00 00 5C */ b lbl_80295BAC +lbl_80295B54: +/* 80295B54 00292AB4 88 06 00 F0 */ lbz r0, 0xf0(r6) +/* 80295B58 00292AB8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295B5C 00292ABC 41 82 00 10 */ beq lbl_80295B6C +/* 80295B60 00292AC0 80 86 01 2C */ lwz r4, 0x12c(r6) +/* 80295B64 00292AC4 80 04 10 DC */ lwz r0, 0x10dc(r4) +/* 80295B68 00292AC8 48 00 00 08 */ b lbl_80295B70 +lbl_80295B6C: +/* 80295B6C 00292ACC 38 00 00 00 */ li r0, 0 +lbl_80295B70: +/* 80295B70 00292AD0 2C 00 00 01 */ cmpwi r0, 1 +/* 80295B74 00292AD4 40 82 00 34 */ bne lbl_80295BA8 +/* 80295B78 00292AD8 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80295B7C 00292ADC 7C 05 00 40 */ cmplw r5, r0 +/* 80295B80 00292AE0 40 82 00 0C */ bne lbl_80295B8C +/* 80295B84 00292AE4 38 60 00 00 */ li r3, 0 +/* 80295B88 00292AE8 4E 80 00 20 */ blr +lbl_80295B8C: +/* 80295B8C 00292AEC 80 85 00 08 */ lwz r4, 8(r5) +/* 80295B90 00292AF0 80 06 00 04 */ lwz r0, 4(r6) +/* 80295B94 00292AF4 7C 04 00 00 */ cmpw r4, r0 +/* 80295B98 00292AF8 41 82 00 0C */ beq lbl_80295BA4 +/* 80295B9C 00292AFC 38 60 00 00 */ li r3, 0 +/* 80295BA0 00292B00 4E 80 00 20 */ blr +lbl_80295BA4: +/* 80295BA4 00292B04 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80295BA8: +/* 80295BA8 00292B08 80 C6 01 30 */ lwz r6, 0x130(r6) +lbl_80295BAC: +/* 80295BAC 00292B0C 7C 06 38 40 */ cmplw r6, r7 +/* 80295BB0 00292B10 40 82 FF A4 */ bne lbl_80295B54 +/* 80295BB4 00292B14 38 60 00 01 */ li r3, 1 +/* 80295BB8 00292B18 4E 80 00 20 */ blr + +.global GatherAreas__16CMorphBallShadowFR13CStateManager +GatherAreas__16CMorphBallShadowFR13CStateManager: +/* 80295BBC 00292B1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80295BC0 00292B20 7C 08 02 A6 */ mflr r0 +/* 80295BC4 00292B24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80295BC8 00292B28 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80295BCC 00292B2C 7C 9B 23 78 */ mr r27, r4 +/* 80295BD0 00292B30 7C 7F 1B 78 */ mr r31, r3 +/* 80295BD4 00292B34 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 80295BD8 00292B38 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80295BDC 00292B3C 48 00 00 10 */ b lbl_80295BEC +lbl_80295BE0: +/* 80295BE0 00292B40 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80295BE4 00292B44 48 00 11 4D */ bl sub_80296d30 +/* 80295BE8 00292B48 7C 64 1B 78 */ mr r4, r3 +lbl_80295BEC: +/* 80295BEC 00292B4C 7C 04 E8 40 */ cmplw r4, r29 +/* 80295BF0 00292B50 40 82 FF F0 */ bne lbl_80295BE0 +/* 80295BF4 00292B54 80 7B 08 50 */ lwz r3, 0x850(r27) +/* 80295BF8 00292B58 83 83 00 58 */ lwz r28, 0x58(r3) +/* 80295BFC 00292B5C 48 00 00 94 */ b lbl_80295C90 +lbl_80295C00: +/* 80295C00 00292B60 88 1C 00 F0 */ lbz r0, 0xf0(r28) +/* 80295C04 00292B64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80295C08 00292B68 41 82 00 10 */ beq lbl_80295C18 +/* 80295C0C 00292B6C 80 7C 01 2C */ lwz r3, 0x12c(r28) +/* 80295C10 00292B70 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 80295C14 00292B74 48 00 00 08 */ b lbl_80295C1C +lbl_80295C18: +/* 80295C18 00292B78 38 00 00 00 */ li r0, 0 +lbl_80295C1C: +/* 80295C1C 00292B7C 2C 00 00 01 */ cmpwi r0, 1 +/* 80295C20 00292B80 40 82 00 6C */ bne lbl_80295C8C +/* 80295C24 00292B84 83 DF 00 20 */ lwz r30, 0x20(r31) +/* 80295C28 00292B88 3C 60 80 3D */ lis r3, lbl_803D5C30@ha +/* 80295C2C 00292B8C 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l +/* 80295C30 00292B90 83 7C 00 04 */ lwz r27, 4(r28) +/* 80295C34 00292B94 83 BE 00 00 */ lwz r29, 0(r30) +/* 80295C38 00292B98 38 60 00 0C */ li r3, 0xc +/* 80295C3C 00292B9C 38 A0 00 00 */ li r5, 0 +/* 80295C40 00292BA0 48 07 FB D9 */ bl __nwa__FUlPCcPCc +/* 80295C44 00292BA4 28 03 00 00 */ cmplwi r3, 0 +/* 80295C48 00292BA8 41 82 00 0C */ beq lbl_80295C54 +/* 80295C4C 00292BAC 93 A3 00 00 */ stw r29, 0(r3) +/* 80295C50 00292BB0 93 C3 00 04 */ stw r30, 4(r3) +lbl_80295C54: +/* 80295C54 00292BB4 34 83 00 08 */ addic. r4, r3, 8 +/* 80295C58 00292BB8 41 82 00 08 */ beq lbl_80295C60 +/* 80295C5C 00292BBC 93 64 00 00 */ stw r27, 0(r4) +lbl_80295C60: +/* 80295C60 00292BC0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80295C64 00292BC4 7C 1E 00 40 */ cmplw r30, r0 +/* 80295C68 00292BC8 40 82 00 08 */ bne lbl_80295C70 +/* 80295C6C 00292BCC 90 7F 00 1C */ stw r3, 0x1c(r31) +lbl_80295C70: +/* 80295C70 00292BD0 80 83 00 00 */ lwz r4, 0(r3) +/* 80295C74 00292BD4 90 64 00 04 */ stw r3, 4(r4) +/* 80295C78 00292BD8 80 83 00 04 */ lwz r4, 4(r3) +/* 80295C7C 00292BDC 90 64 00 00 */ stw r3, 0(r4) +/* 80295C80 00292BE0 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80295C84 00292BE4 38 03 00 01 */ addi r0, r3, 1 +/* 80295C88 00292BE8 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_80295C8C: +/* 80295C8C 00292BEC 83 9C 01 30 */ lwz r28, 0x130(r28) +lbl_80295C90: +/* 80295C90 00292BF0 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) +/* 80295C94 00292BF4 7C 1C 00 40 */ cmplw r28, r0 +/* 80295C98 00292BF8 40 82 FF 68 */ bne lbl_80295C00 +/* 80295C9C 00292BFC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80295CA0 00292C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80295CA4 00292C04 7C 08 03 A6 */ mtlr r0 +/* 80295CA8 00292C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 80295CAC 00292C0C 4E 80 00 20 */ blr + +.global Render__16CMorphBallShadowFR13CStateManagerf +Render__16CMorphBallShadowFR13CStateManagerf: +/* 80295CB0 00292C10 94 21 FD 30 */ stwu r1, -0x2d0(r1) +/* 80295CB4 00292C14 7C 08 02 A6 */ mflr r0 +/* 80295CB8 00292C18 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 80295CBC 00292C1C DB E1 02 C0 */ stfd f31, 0x2c0(r1) +/* 80295CC0 00292C20 F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 +/* 80295CC4 00292C24 BF 21 02 A4 */ stmw r25, 0x2a4(r1) +/* 80295CC8 00292C28 7C 7E 1B 78 */ mr r30, r3 +/* 80295CCC 00292C2C FF E0 08 90 */ fmr f31, f1 +/* 80295CD0 00292C30 88 03 00 D0 */ lbz r0, 0xd0(r3) +/* 80295CD4 00292C34 83 ED A0 68 */ lwz r31, gpRender@sda21(r13) +/* 80295CD8 00292C38 28 00 00 00 */ cmplwi r0, 0 +/* 80295CDC 00292C3C 41 82 05 68 */ beq lbl_80296244 +/* 80295CE0 00292C40 4B FF FE 61 */ bl AreasValid__16CMorphBallShadowCFRC13CStateManager +/* 80295CE4 00292C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80295CE8 00292C48 40 82 00 08 */ bne lbl_80295CF0 +/* 80295CEC 00292C4C 48 00 05 58 */ b lbl_80296244 +lbl_80295CF0: +/* 80295CF0 00292C50 80 BE 00 A8 */ lwz r5, 0xa8(r30) +/* 80295CF4 00292C54 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80295CF8 00292C58 AB 9E 00 46 */ lha r28, 0x46(r30) +/* 80295CFC 00292C5C 38 80 00 00 */ li r4, 0 +/* 80295D00 00292C60 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80295D04 00292C64 AB 7E 00 44 */ lha r27, 0x44(r30) +/* 80295D08 00292C68 7C 05 00 D0 */ neg r0, r5 +/* 80295D0C 00292C6C 7C 00 2B 78 */ or r0, r0, r5 +/* 80295D10 00292C70 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 80295D14 00292C74 48 07 88 E1 */ bl GetConstBitMapData__8CTextureCFi +/* 80295D18 00292C78 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 80295D1C 00292C7C 7C 66 1B 78 */ mr r6, r3 +/* 80295D20 00292C80 7F 63 DB 78 */ mr r3, r27 +/* 80295D24 00292C84 7F 84 E3 78 */ mr r4, r28 +/* 80295D28 00292C88 38 A0 00 01 */ li r5, 1 +/* 80295D2C 00292C8C 48 07 42 F5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 80295D30 00292C90 38 7F 02 20 */ addi r3, r31, 0x220 +/* 80295D34 00292C94 38 80 00 01 */ li r4, 1 +/* 80295D38 00292C98 38 A0 00 00 */ li r5, 0 +/* 80295D3C 00292C9C 48 07 9A 01 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80295D40 00292CA0 28 1D 00 00 */ cmplwi r29, 0 +/* 80295D44 00292CA4 41 82 00 34 */ beq lbl_80295D78 +/* 80295D48 00292CA8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D4C 00292CAC 38 9E 00 A8 */ addi r4, r30, 0xa8 +/* 80295D50 00292CB0 48 0A B1 59 */ bl __ct__6CTokenFRC6CToken +/* 80295D54 00292CB4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D58 00292CB8 48 0A B0 B5 */ bl GetObj__6CTokenFv +/* 80295D5C 00292CBC 80 63 00 04 */ lwz r3, 4(r3) +/* 80295D60 00292CC0 38 80 00 02 */ li r4, 2 +/* 80295D64 00292CC4 38 A0 00 00 */ li r5, 0 +/* 80295D68 00292CC8 48 07 99 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80295D6C 00292CCC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80295D70 00292CD0 38 80 00 00 */ li r4, 0 +/* 80295D74 00292CD4 48 0A B0 CD */ bl __dt__6CTokenFv +lbl_80295D78: +/* 80295D78 00292CD8 48 07 6C 05 */ bl DisableAllLights__9CGraphicsFv +/* 80295D7C 00292CDC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80295D80 00292CE0 38 9E 00 B8 */ addi r4, r30, 0xb8 +/* 80295D84 00292CE4 48 0A 18 89 */ bl GetCenterPoint__6CAABoxCFv +/* 80295D88 00292CE8 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) +/* 80295D8C 00292CEC FC 80 F8 90 */ fmr f4, f31 +/* 80295D90 00292CF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80295D94 00292CF4 FC 40 08 90 */ fmr f2, f1 +/* 80295D98 00292CF8 FC 60 08 90 */ fmr f3, f1 +/* 80295D9C 00292CFC 48 0C D6 51 */ bl __ct__6CColorFffff +/* 80295DA0 00292D00 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 80295DA4 00292D04 7C 65 1B 78 */ mr r5, r3 +/* 80295DA8 00292D08 38 84 67 00 */ addi r4, r4, lbl_805A6700@l +/* 80295DAC 00292D0C 38 61 02 00 */ addi r3, r1, 0x200 +/* 80295DB0 00292D10 48 07 06 BD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 80295DB4 00292D14 38 61 02 50 */ addi r3, r1, 0x250 +/* 80295DB8 00292D18 38 81 02 00 */ addi r4, r1, 0x200 +/* 80295DBC 00292D1C 4B DA 57 B5 */ bl __ct__6CLightFCR6CLight +/* 80295DC0 00292D20 38 81 02 50 */ addi r4, r1, 0x250 +/* 80295DC4 00292D24 38 60 00 00 */ li r3, 0 +/* 80295DC8 00292D28 48 07 6B FD */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 80295DCC 00292D2C 80 02 D7 50 */ lwz r0, lbl_805AF470@sda21(r2) +/* 80295DD0 00292D30 38 81 00 0C */ addi r4, r1, 0xc +/* 80295DD4 00292D34 38 60 00 00 */ li r3, 0 +/* 80295DD8 00292D38 90 01 00 0C */ stw r0, 0xc(r1) +/* 80295DDC 00292D3C 48 07 2F E9 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80295DE0 00292D40 80 02 BF 98 */ lwz r0, lbl_805ADCB8@sda21(r2) +/* 80295DE4 00292D44 38 81 00 08 */ addi r4, r1, 8 +/* 80295DE8 00292D48 38 60 00 00 */ li r3, 0 +/* 80295DEC 00292D4C 90 01 00 08 */ stw r0, 8(r1) +/* 80295DF0 00292D50 48 07 2F 6D */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80295DF4 00292D54 38 60 00 00 */ li r3, 0 +/* 80295DF8 00292D58 48 07 30 59 */ bl SetNumChans__3CGXFUc +/* 80295DFC 00292D5C 48 07 21 E9 */ bl FlushState__3CGXFv +/* 80295E00 00292D60 38 60 00 02 */ li r3, 2 +/* 80295E04 00292D64 38 80 00 01 */ li r4, 1 +/* 80295E08 00292D68 38 A0 00 00 */ li r5, 0 +/* 80295E0C 00292D6C 38 C0 00 00 */ li r6, 0 +/* 80295E10 00292D70 38 E0 00 01 */ li r7, 1 +/* 80295E14 00292D74 39 00 00 02 */ li r8, 2 +/* 80295E18 00292D78 39 20 00 01 */ li r9, 1 +/* 80295E1C 00292D7C 48 0E 3D 59 */ bl GXSetChanCtrl +/* 80295E20 00292D80 38 60 00 01 */ li r3, 1 +/* 80295E24 00292D84 48 0E 3D 0D */ bl GXSetNumChans +/* 80295E28 00292D88 38 60 00 00 */ li r3, 0 +/* 80295E2C 00292D8C 48 07 28 65 */ bl SetNumIndStages__3CGXFUc +/* 80295E30 00292D90 38 60 00 00 */ li r3, 0 +/* 80295E34 00292D94 48 07 29 11 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80295E38 00292D98 38 60 00 00 */ li r3, 0 +/* 80295E3C 00292D9C 38 80 00 0F */ li r4, 0xf +/* 80295E40 00292DA0 38 A0 00 0F */ li r5, 0xf +/* 80295E44 00292DA4 38 C0 00 0F */ li r6, 0xf +/* 80295E48 00292DA8 38 E0 00 0F */ li r7, 0xf +/* 80295E4C 00292DAC 48 07 2D A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295E50 00292DB0 38 60 00 00 */ li r3, 0 +/* 80295E54 00292DB4 38 80 00 04 */ li r4, 4 +/* 80295E58 00292DB8 38 A0 00 06 */ li r5, 6 +/* 80295E5C 00292DBC 38 C0 00 05 */ li r6, 5 +/* 80295E60 00292DC0 38 E0 00 07 */ li r7, 7 +/* 80295E64 00292DC4 48 07 2D 31 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295E68 00292DC8 38 60 00 00 */ li r3, 0 +/* 80295E6C 00292DCC 38 80 00 00 */ li r4, 0 +/* 80295E70 00292DD0 38 A0 00 00 */ li r5, 0 +/* 80295E74 00292DD4 38 C0 00 00 */ li r6, 0 +/* 80295E78 00292DD8 38 E0 00 01 */ li r7, 1 +/* 80295E7C 00292DDC 39 00 00 00 */ li r8, 0 +/* 80295E80 00292DE0 48 07 2C B9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80295E84 00292DE4 38 60 00 00 */ li r3, 0 +/* 80295E88 00292DE8 38 80 00 0F */ li r4, 0xf +/* 80295E8C 00292DEC 38 A0 00 00 */ li r5, 0 +/* 80295E90 00292DF0 38 C0 00 01 */ li r6, 1 +/* 80295E94 00292DF4 38 E0 00 01 */ li r7, 1 +/* 80295E98 00292DF8 39 00 00 00 */ li r8, 0 +/* 80295E9C 00292DFC 48 07 2B E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80295EA0 00292E00 38 60 00 00 */ li r3, 0 +/* 80295EA4 00292E04 38 80 00 01 */ li r4, 1 +/* 80295EA8 00292E08 38 A0 00 07 */ li r5, 7 +/* 80295EAC 00292E0C 38 C0 00 04 */ li r6, 4 +/* 80295EB0 00292E10 48 07 2A 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295EB4 00292E14 38 60 00 00 */ li r3, 0 +/* 80295EB8 00292E18 38 80 00 1C */ li r4, 0x1c +/* 80295EBC 00292E1C 48 07 2A E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80295EC0 00292E20 38 60 00 01 */ li r3, 1 +/* 80295EC4 00292E24 38 80 00 0F */ li r4, 0xf +/* 80295EC8 00292E28 38 A0 00 0F */ li r5, 0xf +/* 80295ECC 00292E2C 38 C0 00 0F */ li r6, 0xf +/* 80295ED0 00292E30 38 E0 00 00 */ li r7, 0 +/* 80295ED4 00292E34 48 07 2D 19 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295ED8 00292E38 38 60 00 01 */ li r3, 1 +/* 80295EDC 00292E3C 38 80 00 07 */ li r4, 7 +/* 80295EE0 00292E40 38 A0 00 04 */ li r5, 4 +/* 80295EE4 00292E44 38 C0 00 00 */ li r6, 0 +/* 80295EE8 00292E48 38 E0 00 07 */ li r7, 7 +/* 80295EEC 00292E4C 48 07 2C A9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295EF0 00292E50 38 60 00 01 */ li r3, 1 +/* 80295EF4 00292E54 48 07 1D 5D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80295EF8 00292E58 38 60 00 01 */ li r3, 1 +/* 80295EFC 00292E5C 38 80 00 00 */ li r4, 0 +/* 80295F00 00292E60 38 A0 00 01 */ li r5, 1 +/* 80295F04 00292E64 38 C0 00 FF */ li r6, 0xff +/* 80295F08 00292E68 48 07 2A 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295F0C 00292E6C 28 1D 00 00 */ cmplwi r29, 0 +/* 80295F10 00292E70 41 82 00 64 */ beq lbl_80295F74 +/* 80295F14 00292E74 38 60 00 02 */ li r3, 2 +/* 80295F18 00292E78 38 80 00 0F */ li r4, 0xf +/* 80295F1C 00292E7C 38 A0 00 0F */ li r5, 0xf +/* 80295F20 00292E80 38 C0 00 0F */ li r6, 0xf +/* 80295F24 00292E84 38 E0 00 00 */ li r7, 0 +/* 80295F28 00292E88 48 07 2C C5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80295F2C 00292E8C 38 60 00 02 */ li r3, 2 +/* 80295F30 00292E90 38 80 00 07 */ li r4, 7 +/* 80295F34 00292E94 38 A0 00 00 */ li r5, 0 +/* 80295F38 00292E98 38 C0 00 04 */ li r6, 4 +/* 80295F3C 00292E9C 38 E0 00 07 */ li r7, 7 +/* 80295F40 00292EA0 48 07 2C 55 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80295F44 00292EA4 38 60 00 02 */ li r3, 2 +/* 80295F48 00292EA8 48 07 1D 09 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80295F4C 00292EAC 38 60 00 02 */ li r3, 2 +/* 80295F50 00292EB0 38 80 00 02 */ li r4, 2 +/* 80295F54 00292EB4 38 A0 00 02 */ li r5, 2 +/* 80295F58 00292EB8 38 C0 00 FF */ li r6, 0xff +/* 80295F5C 00292EBC 48 07 29 F1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80295F60 00292EC0 38 60 00 03 */ li r3, 3 +/* 80295F64 00292EC4 48 07 2D 2D */ bl SetNumTevStages__3CGXFUc +/* 80295F68 00292EC8 38 60 00 03 */ li r3, 3 +/* 80295F6C 00292ECC 48 07 2E A9 */ bl SetNumTexGens__3CGXFUc +/* 80295F70 00292ED0 48 00 00 14 */ b lbl_80295F84 +lbl_80295F74: +/* 80295F74 00292ED4 38 60 00 02 */ li r3, 2 +/* 80295F78 00292ED8 48 07 2D 19 */ bl SetNumTevStages__3CGXFUc +/* 80295F7C 00292EDC 38 60 00 02 */ li r3, 2 +/* 80295F80 00292EE0 48 07 2E 95 */ bl SetNumTexGens__3CGXFUc +lbl_80295F84: +/* 80295F84 00292EE4 80 02 D7 54 */ lwz r0, lbl_805AF474@sda21(r2) +/* 80295F88 00292EE8 3B 40 00 01 */ li r26, 1 +/* 80295F8C 00292EEC 38 60 00 01 */ li r3, 1 +/* 80295F90 00292EF0 38 80 00 02 */ li r4, 2 +/* 80295F94 00292EF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80295F98 00292EF8 38 A0 00 00 */ li r5, 0 +/* 80295F9C 00292EFC 48 07 28 E1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80295FA0 00292F00 38 60 00 01 */ li r3, 1 +/* 80295FA4 00292F04 38 80 00 04 */ li r4, 4 +/* 80295FA8 00292F08 38 A0 00 05 */ li r5, 5 +/* 80295FAC 00292F0C 38 C0 00 00 */ li r6, 0 +/* 80295FB0 00292F10 48 07 29 21 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 80295FB4 00292F14 38 60 00 04 */ li r3, 4 +/* 80295FB8 00292F18 38 80 00 00 */ li r4, 0 +/* 80295FBC 00292F1C 38 A0 00 00 */ li r5, 0 +/* 80295FC0 00292F20 38 C0 00 07 */ li r6, 7 +/* 80295FC4 00292F24 38 E0 00 00 */ li r7, 0 +/* 80295FC8 00292F28 48 07 28 4D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 80295FCC 00292F2C 3C 60 80 3D */ lis r3, lbl_803D5BD0@ha +/* 80295FD0 00292F30 38 80 00 40 */ li r4, 0x40 +/* 80295FD4 00292F34 38 63 5B D0 */ addi r3, r3, lbl_803D5BD0@l +/* 80295FD8 00292F38 38 A0 00 00 */ li r5, 0 +/* 80295FDC 00292F3C 48 0E 64 B5 */ bl GXLoadTexMtxImm +/* 80295FE0 00292F40 C0 1E 00 BC */ lfs f0, 0xbc(r30) +/* 80295FE4 00292F44 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80295FE8 00292F48 C0 7E 00 C8 */ lfs f3, 0xc8(r30) +/* 80295FEC 00292F4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80295FF0 00292F50 C0 3E 00 C0 */ lfs f1, 0xc0(r30) +/* 80295FF4 00292F54 FC C0 00 50 */ fneg f6, f0 +/* 80295FF8 00292F58 C0 5E 00 CC */ lfs f2, 0xcc(r30) +/* 80295FFC 00292F5C EC A3 00 28 */ fsubs f5, f3, f0 +/* 80296000 00292F60 C0 7E 00 B8 */ lfs f3, 0xb8(r30) +/* 80296004 00292F64 FC E0 08 50 */ fneg f7, f1 +/* 80296008 00292F68 C0 1E 00 C4 */ lfs f0, 0xc4(r30) +/* 8029600C 00292F6C EC 82 08 28 */ fsubs f4, f2, f1 +/* 80296010 00292F70 C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) +/* 80296014 00292F74 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80296018 00292F78 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8029601C 00292F7C EC 01 28 24 */ fdivs f0, f1, f5 +/* 80296020 00292F80 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 80296024 00292F84 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80296028 00292F88 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 8029602C 00292F8C D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 80296030 00292F90 EC 41 10 24 */ fdivs f2, f1, f2 +/* 80296034 00292F94 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80296038 00292F98 EC 21 20 24 */ fdivs f1, f1, f4 +/* 8029603C 00292F9C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80296040 00292FA0 FC 00 18 50 */ fneg f0, f3 +/* 80296044 00292FA4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80296048 00292FA8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8029604C 00292FAC 48 07 D0 F5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80296050 00292FB0 38 61 01 10 */ addi r3, r1, 0x110 +/* 80296054 00292FB4 38 81 00 44 */ addi r4, r1, 0x44 +/* 80296058 00292FB8 48 07 D1 6D */ bl Scale__12CTransform4fFRC9CVector3f +/* 8029605C 00292FBC 38 61 01 40 */ addi r3, r1, 0x140 +/* 80296060 00292FC0 38 81 01 10 */ addi r4, r1, 0x110 +/* 80296064 00292FC4 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 80296068 00292FC8 48 07 C8 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8029606C 00292FCC 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80296070 00292FD0 38 81 01 40 */ addi r4, r1, 0x140 +/* 80296074 00292FD4 48 07 CB 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296078 00292FD8 38 60 00 00 */ li r3, 0 +/* 8029607C 00292FDC 38 80 00 00 */ li r4, 0 +/* 80296080 00292FE0 38 A0 00 00 */ li r5, 0 +/* 80296084 00292FE4 38 C0 00 1E */ li r6, 0x1e +/* 80296088 00292FE8 38 E0 00 00 */ li r7, 0 +/* 8029608C 00292FEC 39 00 00 40 */ li r8, 0x40 +/* 80296090 00292FF0 48 07 26 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80296094 00292FF4 38 60 00 01 */ li r3, 1 +/* 80296098 00292FF8 38 80 00 00 */ li r4, 0 +/* 8029609C 00292FFC 38 A0 00 00 */ li r5, 0 +/* 802960A0 00293000 38 C0 00 1E */ li r6, 0x1e +/* 802960A4 00293004 38 E0 00 00 */ li r7, 0 +/* 802960A8 00293008 39 00 00 40 */ li r8, 0x40 +/* 802960AC 0029300C 48 07 26 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802960B0 00293010 28 1D 00 00 */ cmplwi r29, 0 +/* 802960B4 00293014 41 82 00 34 */ beq lbl_802960E8 +/* 802960B8 00293018 3C 60 80 3D */ lis r3, lbl_803D5C00@ha +/* 802960BC 0029301C 38 80 00 43 */ li r4, 0x43 +/* 802960C0 00293020 38 63 5C 00 */ addi r3, r3, lbl_803D5C00@l +/* 802960C4 00293024 38 A0 00 00 */ li r5, 0 +/* 802960C8 00293028 48 0E 63 C9 */ bl GXLoadTexMtxImm +/* 802960CC 0029302C 38 60 00 02 */ li r3, 2 +/* 802960D0 00293030 38 80 00 00 */ li r4, 0 +/* 802960D4 00293034 38 A0 00 00 */ li r5, 0 +/* 802960D8 00293038 38 C0 00 1E */ li r6, 0x1e +/* 802960DC 0029303C 38 E0 00 00 */ li r7, 0 +/* 802960E0 00293040 39 00 00 43 */ li r8, 0x43 +/* 802960E4 00293044 48 07 25 E9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +lbl_802960E8: +/* 802960E8 00293048 83 9E 00 04 */ lwz r28, 4(r30) +/* 802960EC 0029304C 3B A0 00 04 */ li r29, 4 +/* 802960F0 00293050 48 00 00 D8 */ b lbl_802961C8 +lbl_802960F4: +/* 802960F4 00293054 9B A1 00 17 */ stb r29, 0x17(r1) +/* 802960F8 00293058 38 81 00 14 */ addi r4, r1, 0x14 +/* 802960FC 0029305C 38 60 00 00 */ li r3, 0 +/* 80296100 00293060 83 3C 00 08 */ lwz r25, 8(r28) +/* 80296104 00293064 48 07 2B 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80296108 00293068 83 79 00 64 */ lwz r27, 0x64(r25) +/* 8029610C 0029306C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80296110 00293070 38 81 00 20 */ addi r4, r1, 0x20 +/* 80296114 00293074 C0 1B 00 00 */ lfs f0, 0(r27) +/* 80296118 00293078 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029611C 0029307C C0 1B 00 04 */ lfs f0, 4(r27) +/* 80296120 00293080 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80296124 00293084 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80296128 00293088 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8029612C 0029308C 48 07 D0 99 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80296130 00293090 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80296134 00293094 38 99 00 34 */ addi r4, r25, 0x34 +/* 80296138 00293098 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8029613C 0029309C 48 07 C8 15 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80296140 002930A0 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80296144 002930A4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80296148 002930A8 48 07 CA 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8029614C 002930AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296150 002930B0 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80296154 002930B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80296158 002930B8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8029615C 002930BC 7D 89 03 A6 */ mtctr r12 +/* 80296160 002930C0 4E 80 04 21 */ bctrl +/* 80296164 002930C4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80296168 002930C8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8029616C 002930CC 38 A1 01 A0 */ addi r5, r1, 0x1a0 +/* 80296170 002930D0 48 07 C7 E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80296174 002930D4 38 61 01 70 */ addi r3, r1, 0x170 +/* 80296178 002930D8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8029617C 002930DC 48 07 C9 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296180 002930E0 38 61 01 70 */ addi r3, r1, 0x170 +/* 80296184 002930E4 38 80 00 1E */ li r4, 0x1e +/* 80296188 002930E8 38 A0 00 00 */ li r5, 0 +/* 8029618C 002930EC 48 0E 63 05 */ bl GXLoadTexMtxImm +/* 80296190 002930F0 7F 63 DB 78 */ mr r3, r27 +/* 80296194 002930F4 38 80 00 00 */ li r4, 0 +/* 80296198 002930F8 4B E7 EE 15 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 8029619C 002930FC 83 63 00 08 */ lwz r27, 8(r3) +/* 802961A0 00293100 7F 63 DB 78 */ mr r3, r27 +/* 802961A4 00293104 48 0B EF 7D */ bl UpdateLastFrame__6CModelFv +/* 802961A8 00293108 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802961AC 0029310C 38 80 00 00 */ li r4, 0 +/* 802961B0 00293110 38 A0 00 00 */ li r5, 0 +/* 802961B4 00293114 38 C0 00 00 */ li r6, 0 +/* 802961B8 00293118 48 07 08 39 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802961BC 0029311C 83 9C 00 04 */ lwz r28, 4(r28) +/* 802961C0 00293120 3B BD 00 04 */ addi r29, r29, 4 +/* 802961C4 00293124 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802961C8: +/* 802961C8 00293128 80 1E 00 08 */ lwz r0, 8(r30) +/* 802961CC 0029312C 7C 1C 00 40 */ cmplw r28, r0 +/* 802961D0 00293130 40 82 FF 24 */ bne lbl_802960F4 +/* 802961D4 00293134 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 802961D8 00293138 38 80 00 1E */ li r4, 0x1e +/* 802961DC 0029313C 38 A0 00 00 */ li r5, 0 +/* 802961E0 00293140 48 0E 62 B1 */ bl GXLoadTexMtxImm +/* 802961E4 00293144 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802961E8 00293148 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802961EC 0029314C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802961F0 00293150 81 83 00 00 */ lwz r12, 0(r3) +/* 802961F4 00293154 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802961F8 00293158 7D 89 03 A6 */ mtctr r12 +/* 802961FC 0029315C 4E 80 04 21 */ bctrl +/* 80296200 00293160 7F E3 FB 78 */ mr r3, r31 +/* 80296204 00293164 7F 44 D3 78 */ mr r4, r26 +/* 80296208 00293168 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8029620C 0029316C 38 DE 00 B8 */ addi r6, r30, 0xb8 +/* 80296210 00293170 38 E0 00 00 */ li r7, 0 +/* 80296214 00293174 39 00 00 00 */ li r8, 0 +/* 80296218 00293178 48 02 12 55 */ bl "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +/* 8029621C 0029317C 38 60 00 02 */ li r3, 2 +/* 80296220 00293180 38 80 00 00 */ li r4, 0 +/* 80296224 00293184 38 A0 00 00 */ li r5, 0 +/* 80296228 00293188 38 C0 00 01 */ li r6, 1 +/* 8029622C 0029318C 38 E0 00 00 */ li r7, 0 +/* 80296230 00293190 39 00 00 00 */ li r8, 0 +/* 80296234 00293194 39 20 00 02 */ li r9, 2 +/* 80296238 00293198 48 0E 39 3D */ bl GXSetChanCtrl +/* 8029623C 0029319C 38 60 00 00 */ li r3, 0 +/* 80296240 002931A0 48 0E 38 F1 */ bl GXSetNumChans +lbl_80296244: +/* 80296244 002931A4 E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 +/* 80296248 002931A8 CB E1 02 C0 */ lfd f31, 0x2c0(r1) +/* 8029624C 002931AC BB 21 02 A4 */ lmw r25, 0x2a4(r1) +/* 80296250 002931B0 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 80296254 002931B4 7C 08 03 A6 */ mtlr r0 +/* 80296258 002931B8 38 21 02 D0 */ addi r1, r1, 0x2d0 +/* 8029625C 002931BC 4E 80 00 20 */ blr + +.global RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer +RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer: +/* 80296260 002931C0 94 21 F5 80 */ stwu r1, -0xa80(r1) +/* 80296264 002931C4 7C 08 02 A6 */ mflr r0 +/* 80296268 002931C8 90 01 0A 84 */ stw r0, 0xa84(r1) +/* 8029626C 002931CC DB E1 0A 70 */ stfd f31, 0xa70(r1) +/* 80296270 002931D0 F3 E1 0A 78 */ psq_st f31, -1416(r1), 0, qr0 +/* 80296274 002931D4 DB C1 0A 60 */ stfd f30, 0xa60(r1) +/* 80296278 002931D8 F3 C1 0A 68 */ psq_st f30, -1432(r1), 0, qr0 +/* 8029627C 002931DC DB A1 0A 50 */ stfd f29, 0xa50(r1) +/* 80296280 002931E0 F3 A1 0A 58 */ psq_st f29, -1448(r1), 0, qr0 +/* 80296284 002931E4 DB 81 0A 40 */ stfd f28, 0xa40(r1) +/* 80296288 002931E8 F3 81 0A 48 */ psq_st f28, -1464(r1), 0, qr0 +/* 8029628C 002931EC DB 61 0A 30 */ stfd f27, 0xa30(r1) +/* 80296290 002931F0 F3 61 0A 38 */ psq_st f27, -1480(r1), 0, qr0 +/* 80296294 002931F4 DB 41 0A 20 */ stfd f26, 0xa20(r1) +/* 80296298 002931F8 F3 41 0A 28 */ psq_st f26, -1496(r1), 0, qr0 +/* 8029629C 002931FC DB 21 0A 10 */ stfd f25, 0xa10(r1) +/* 802962A0 00293200 F3 21 0A 18 */ psq_st f25, -1512(r1), 0, qr0 +/* 802962A4 00293204 BE 81 09 E0 */ stmw r20, 0x9e0(r1) +/* 802962A8 00293208 7C 9E 23 78 */ mr r30, r4 +/* 802962AC 0029320C 7C 7F 1B 78 */ mr r31, r3 +/* 802962B0 00293210 80 64 00 00 */ lwz r3, 0(r4) +/* 802962B4 00293214 7C BD 2B 78 */ mr r29, r5 +/* 802962B8 00293218 80 04 00 04 */ lwz r0, 4(r4) +/* 802962BC 0029321C 7C DC 33 78 */ mr r28, r6 +/* 802962C0 00293220 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 802962C4 00293224 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 802962C8 00293228 80 04 00 08 */ lwz r0, 8(r4) +/* 802962CC 0029322C 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 802962D0 00293230 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802962D4 00293234 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802962D8 00293238 90 7F 00 C4 */ stw r3, 0xc4(r31) +/* 802962DC 0029323C 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 802962E0 00293240 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802962E4 00293244 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 802962E8 00293248 82 9F 00 08 */ lwz r20, 8(r31) +/* 802962EC 0029324C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802962F0 00293250 48 00 00 10 */ b lbl_80296300 +lbl_802962F4: +/* 802962F4 00293254 7F E3 FB 78 */ mr r3, r31 +/* 802962F8 00293258 48 00 09 45 */ bl sub_80296c3c +/* 802962FC 0029325C 7C 64 1B 78 */ mr r4, r3 +lbl_80296300: +/* 80296300 00293260 7C 04 A0 40 */ cmplw r4, r20 +/* 80296304 00293264 40 82 FF F0 */ bne lbl_802962F4 +/* 80296308 00293268 82 9F 00 20 */ lwz r20, 0x20(r31) +/* 8029630C 0029326C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80296310 00293270 48 00 00 10 */ b lbl_80296320 +lbl_80296314: +/* 80296314 00293274 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80296318 00293278 48 00 0A 19 */ bl sub_80296d30 +/* 8029631C 0029327C 7C 64 1B 78 */ mr r4, r3 +lbl_80296320: +/* 80296320 00293280 7C 04 A0 40 */ cmplw r4, r20 +/* 80296324 00293284 40 82 FF F0 */ bne lbl_80296314 +/* 80296328 00293288 38 00 00 00 */ li r0, 0 +/* 8029632C 0029328C 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80296330 00293290 90 01 00 70 */ stw r0, 0x70(r1) +/* 80296334 00293294 38 81 00 6C */ addi r4, r1, 0x6c +/* 80296338 00293298 90 01 00 74 */ stw r0, 0x74(r1) +/* 8029633C 0029329C 90 01 00 78 */ stw r0, 0x78(r1) +/* 80296340 002932A0 4B DC D3 BD */ bl "clear__Q24rstl37vectorFv" +/* 80296344 002932A4 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80296348 002932A8 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8029634C 002932AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80296350 002932B0 7C 03 02 14 */ add r0, r3, r0 +/* 80296354 002932B4 90 61 00 10 */ stw r3, 0x10(r1) +/* 80296358 002932B8 7C 64 1B 78 */ mr r4, r3 +/* 8029635C 002932BC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80296360 002932C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296364 002932C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80296368 002932C8 48 00 00 08 */ b lbl_80296370 +lbl_8029636C: +/* 8029636C 002932CC 38 84 00 04 */ addi r4, r4, 4 +lbl_80296370: +/* 80296370 002932D0 7C 04 00 40 */ cmplw r4, r0 +/* 80296374 002932D4 40 82 FF F8 */ bne lbl_8029636C +/* 80296378 002932D8 28 03 00 00 */ cmplwi r3, 0 +/* 8029637C 002932DC 41 82 00 08 */ beq lbl_80296384 +/* 80296380 002932E0 48 07 F5 B1 */ bl Free__7CMemoryFPCv +lbl_80296384: +/* 80296384 002932E4 83 6D A0 68 */ lwz r27, gpRender@sda21(r13) +/* 80296388 002932E8 38 60 00 01 */ li r3, 1 +/* 8029638C 002932EC 88 1B 03 18 */ lbz r0, 0x318(r27) +/* 80296390 002932F0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80296394 002932F4 98 1B 03 18 */ stb r0, 0x318(r27) +/* 80296398 002932F8 88 1B 03 18 */ lbz r0, 0x318(r27) +/* 8029639C 002932FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802963A0 00293300 40 82 00 10 */ bne lbl_802963B0 +/* 802963A4 00293304 38 00 00 00 */ li r0, 0 +/* 802963A8 00293308 98 1F 00 D0 */ stb r0, 0xd0(r31) +/* 802963AC 0029330C 48 00 06 6C */ b lbl_80296A18 +lbl_802963B0: +/* 802963B0 00293310 7F E3 FB 78 */ mr r3, r31 +/* 802963B4 00293314 7F A4 EB 78 */ mr r4, r29 +/* 802963B8 00293318 4B FF F8 05 */ bl GatherAreas__16CMorphBallShadowFR13CStateManager +/* 802963BC 0029331C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802963C0 00293320 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802963C4 00293324 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802963C8 00293328 48 07 C7 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802963CC 0029332C C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) +/* 802963D0 00293330 C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) +/* 802963D4 00293334 48 07 3A 89 */ bl GetProjectionState__9CGraphicsFv +/* 802963D8 00293338 88 03 00 00 */ lbz r0, 0(r3) +/* 802963DC 0029333C 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802963E0 00293340 3A C4 D9 10 */ addi r22, r4, lbl_803ED910@l +/* 802963E4 00293344 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 802963E8 00293348 98 01 00 94 */ stb r0, 0x94(r1) +/* 802963EC 0029334C 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 802963F0 00293350 81 96 00 00 */ lwz r12, 0(r22) +/* 802963F4 00293354 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 802963F8 00293358 C0 03 00 04 */ lfs f0, 4(r3) +/* 802963FC 0029335C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l +/* 80296400 00293360 81 76 00 04 */ lwz r11, 4(r22) +/* 80296404 00293364 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l +/* 80296408 00293368 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8029640C 0029336C 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l +/* 80296410 00293370 81 56 00 08 */ lwz r10, 8(r22) +/* 80296414 00293374 38 E1 00 60 */ addi r7, r1, 0x60 +/* 80296418 00293378 C0 03 00 08 */ lfs f0, 8(r3) +/* 8029641C 0029337C 81 36 00 0C */ lwz r9, 0xc(r22) +/* 80296420 00293380 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80296424 00293384 81 16 00 10 */ lwz r8, 0x10(r22) +/* 80296428 00293388 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8029642C 0029338C 80 16 00 14 */ lwz r0, 0x14(r22) +/* 80296430 00293390 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80296434 00293394 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80296438 00293398 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8029643C 0029339C C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80296440 002933A0 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80296444 002933A4 EC 42 00 2A */ fadds f2, f2, f0 +/* 80296448 002933A8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8029644C 002933AC C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80296450 002933B0 C0 83 00 14 */ lfs f4, 0x14(r3) +/* 80296454 002933B4 C0 62 BF A4 */ lfs f3, lbl_805ADCC4@sda21(r2) +/* 80296458 002933B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8029645C 002933BC D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80296460 002933C0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80296464 002933C4 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 80296468 002933C8 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 8029646C 002933CC EC 03 00 32 */ fmuls f0, f3, f0 +/* 80296470 002933D0 91 81 00 7C */ stw r12, 0x7c(r1) +/* 80296474 002933D4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80296478 002933D8 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8029647C 002933DC 91 61 00 80 */ stw r11, 0x80(r1) +/* 80296480 002933E0 91 41 00 84 */ stw r10, 0x84(r1) +/* 80296484 002933E4 91 21 00 88 */ stw r9, 0x88(r1) +/* 80296488 002933E8 91 01 00 8C */ stw r8, 0x8c(r1) +/* 8029648C 002933EC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80296490 002933F0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80296494 002933F4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80296498 002933F8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 8029649C 002933FC 48 07 C9 C1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 802964A0 00293400 38 61 01 70 */ addi r3, r1, 0x170 +/* 802964A4 00293404 38 81 01 10 */ addi r4, r1, 0x110 +/* 802964A8 00293408 48 07 C6 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802964AC 0029340C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802964B0 00293410 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802964B4 00293414 48 07 61 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802964B8 00293418 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) +/* 802964BC 0029341C C0 42 BF A0 */ lfs f2, lbl_805ADCC0@sda21(r2) +/* 802964C0 00293420 48 07 3F 21 */ bl SetDepthRange__9CGraphicsFff +/* 802964C4 00293424 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 802964C8 00293428 C0 5E 00 00 */ lfs f2, 0(r30) +/* 802964CC 0029342C C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802964D0 00293430 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802964D4 00293434 EC 83 10 28 */ fsubs f4, f3, f2 +/* 802964D8 00293438 C0 A2 BF A4 */ lfs f5, lbl_805ADCC4@sda21(r2) +/* 802964DC 0029343C EC 61 00 28 */ fsubs f3, f1, f0 +/* 802964E0 00293440 C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 802964E4 00293444 EF 45 01 32 */ fmuls f26, f5, f4 +/* 802964E8 00293448 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802964EC 0029344C C0 02 BF A8 */ lfs f0, lbl_805ADCC8@sda21(r2) +/* 802964F0 00293450 EF 25 00 F2 */ fmuls f25, f5, f3 +/* 802964F4 00293454 EF A2 08 28 */ fsubs f29, f2, f1 +/* 802964F8 00293458 C0 A2 BF 9C */ lfs f5, lbl_805ADCBC@sda21(r2) +/* 802964FC 0029345C FF 80 D0 50 */ fneg f28, f26 +/* 80296500 00293460 FF 60 C8 50 */ fneg f27, f25 +/* 80296504 00293464 FC 40 D0 90 */ fmr f2, f26 +/* 80296508 00293468 FC 20 E0 90 */ fmr f1, f28 +/* 8029650C 0029346C FC 60 C8 90 */ fmr f3, f25 +/* 80296510 00293470 FC 80 D8 90 */ fmr f4, f27 +/* 80296514 00293474 EC C0 E8 2A */ fadds f6, f0, f29 +/* 80296518 00293478 48 07 60 3D */ bl SetOrtho__9CGraphicsFffffff +/* 8029651C 0029347C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296520 00293480 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 80296524 00293484 38 A4 65 00 */ addi r5, r4, lbl_805A6500@l +/* 80296528 00293488 80 FF 00 B4 */ lwz r7, 0xb4(r31) +/* 8029652C 0029348C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296530 00293490 38 80 00 00 */ li r4, 0 +/* 80296534 00293494 A0 05 00 06 */ lhz r0, 6(r5) +/* 80296538 00293498 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8029653C 0029349C 7C A7 00 50 */ subf r5, r7, r0 +/* 80296540 002934A0 80 DF 00 B0 */ lwz r6, 0xb0(r31) +/* 80296544 002934A4 7D 89 03 A6 */ mtctr r12 +/* 80296548 002934A8 4E 80 04 21 */ bctrl +/* 8029654C 002934AC 38 00 00 00 */ li r0, 0 +/* 80296550 002934B0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80296554 002934B4 90 01 01 D0 */ stw r0, 0x1d0(r1) +/* 80296558 002934B8 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l +/* 8029655C 002934BC 7F A3 EB 78 */ mr r3, r29 +/* 80296560 002934C0 7F C5 F3 78 */ mr r5, r30 +/* 80296564 002934C4 7F 87 E3 78 */ mr r7, r28 +/* 80296568 002934C8 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8029656C 002934CC 4B DB 61 B5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80296570 002934D0 38 60 00 01 */ li r3, 1 +/* 80296574 002934D4 48 0E 59 B9 */ bl GXSetAlphaUpdate +/* 80296578 002934D8 38 60 00 01 */ li r3, 1 +/* 8029657C 002934DC 38 80 00 00 */ li r4, 0 +/* 80296580 002934E0 48 0E 5B 61 */ bl GXSetDstAlpha +/* 80296584 002934E4 38 60 00 00 */ li r3, 0 +/* 80296588 002934E8 48 0E 59 79 */ bl GXSetColorUpdate +/* 8029658C 002934EC 38 60 00 01 */ li r3, 1 +/* 80296590 002934F0 38 80 00 07 */ li r4, 7 +/* 80296594 002934F4 38 A0 00 01 */ li r5, 1 +/* 80296598 002934F8 48 07 22 E5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8029659C 002934FC 38 60 00 00 */ li r3, 0 +/* 802965A0 00293500 48 07 54 D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802965A4 00293504 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802965A8 00293508 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802965AC 0029350C 48 07 61 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802965B0 00293510 38 60 00 07 */ li r3, 7 +/* 802965B4 00293514 38 80 00 00 */ li r4, 0 +/* 802965B8 00293518 38 A0 00 00 */ li r5, 0 +/* 802965BC 0029351C 38 C0 00 07 */ li r6, 7 +/* 802965C0 00293520 38 E0 00 00 */ li r7, 0 +/* 802965C4 00293524 48 07 54 65 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 802965C8 00293528 38 60 00 01 */ li r3, 1 +/* 802965CC 0029352C 38 80 00 01 */ li r4, 1 +/* 802965D0 00293530 38 A0 00 00 */ li r5, 0 +/* 802965D4 00293534 38 C0 00 00 */ li r6, 0 +/* 802965D8 00293538 48 07 54 79 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802965DC 0029353C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802965E0 00293540 38 60 00 00 */ li r3, 0 +/* 802965E4 00293544 48 07 3C D5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802965E8 00293548 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802965EC 0029354C 38 60 00 01 */ li r3, 1 +/* 802965F0 00293550 48 07 3C C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802965F4 00293554 38 60 00 00 */ li r3, 0 +/* 802965F8 00293558 48 07 28 59 */ bl SetNumChans__3CGXFUc +/* 802965FC 0029355C 38 60 00 01 */ li r3, 1 +/* 80296600 00293560 48 07 28 15 */ bl SetNumTexGens__3CGXFUc +/* 80296604 00293564 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296608 00293568 38 80 00 04 */ li r4, 4 +/* 8029660C 0029356C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296610 00293570 81 8C 00 A4 */ lwz r12, 0xa4(r12) +/* 80296614 00293574 7D 89 03 A6 */ mtctr r12 +/* 80296618 00293578 4E 80 04 21 */ bctrl +/* 8029661C 0029357C 48 0B 39 81 */ bl Red__6CColorFv +/* 80296620 00293580 7C 64 1B 78 */ mr r4, r3 +/* 80296624 00293584 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296628 00293588 81 83 00 00 */ lwz r12, 0(r3) +/* 8029662C 0029358C 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 80296630 00293590 7D 89 03 A6 */ mtctr r12 +/* 80296634 00293594 4E 80 04 21 */ bctrl +/* 80296638 00293598 C0 02 BF AC */ lfs f0, lbl_805ADCCC@sda21(r2) +/* 8029663C 0029359C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80296640 002935A0 D3 81 00 54 */ stfs f28, 0x54(r1) +/* 80296644 002935A4 EF A0 07 72 */ fmuls f29, f0, f29 +/* 80296648 002935A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8029664C 002935AC D3 61 00 5C */ stfs f27, 0x5c(r1) +/* 80296650 002935B0 D3 A1 00 58 */ stfs f29, 0x58(r1) +/* 80296654 002935B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80296658 002935B8 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 8029665C 002935BC 7D 89 03 A6 */ mtctr r12 +/* 80296660 002935C0 4E 80 04 21 */ bctrl +/* 80296664 002935C4 D3 81 00 48 */ stfs f28, 0x48(r1) +/* 80296668 002935C8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8029666C 002935CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296670 002935D0 D3 A1 00 4C */ stfs f29, 0x4c(r1) +/* 80296674 002935D4 D3 21 00 50 */ stfs f25, 0x50(r1) +/* 80296678 002935D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8029667C 002935DC 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 80296680 002935E0 7D 89 03 A6 */ mtctr r12 +/* 80296684 002935E4 4E 80 04 21 */ bctrl +/* 80296688 002935E8 D3 41 00 3C */ stfs f26, 0x3c(r1) +/* 8029668C 002935EC 38 81 00 3C */ addi r4, r1, 0x3c +/* 80296690 002935F0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296694 002935F4 D3 A1 00 40 */ stfs f29, 0x40(r1) +/* 80296698 002935F8 D3 21 00 44 */ stfs f25, 0x44(r1) +/* 8029669C 002935FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802966A0 00293600 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802966A4 00293604 7D 89 03 A6 */ mtctr r12 +/* 802966A8 00293608 4E 80 04 21 */ bctrl +/* 802966AC 0029360C D3 41 00 30 */ stfs f26, 0x30(r1) +/* 802966B0 00293610 38 81 00 30 */ addi r4, r1, 0x30 +/* 802966B4 00293614 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802966B8 00293618 D3 A1 00 34 */ stfs f29, 0x34(r1) +/* 802966BC 0029361C D3 61 00 38 */ stfs f27, 0x38(r1) +/* 802966C0 00293620 81 83 00 00 */ lwz r12, 0(r3) +/* 802966C4 00293624 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802966C8 00293628 7D 89 03 A6 */ mtctr r12 +/* 802966CC 0029362C 4E 80 04 21 */ bctrl +/* 802966D0 00293630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 802966D4 00293634 81 83 00 00 */ lwz r12, 0(r3) +/* 802966D8 00293638 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 802966DC 0029363C 7D 89 03 A6 */ mtctr r12 +/* 802966E0 00293640 4E 80 04 21 */ bctrl +/* 802966E4 00293644 38 60 00 01 */ li r3, 1 +/* 802966E8 00293648 48 07 53 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802966EC 0029364C 38 61 01 70 */ addi r3, r1, 0x170 +/* 802966F0 00293650 48 07 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802966F4 00293654 38 60 00 01 */ li r3, 1 +/* 802966F8 00293658 38 80 00 03 */ li r4, 3 +/* 802966FC 0029365C 38 A0 00 01 */ li r5, 1 +/* 80296700 00293660 48 07 21 7D */ bl SetZMode__3CGXFb10_GXCompareb +/* 80296704 00293664 48 07 62 79 */ bl DisableAllLights__9CGraphicsFv +/* 80296708 00293668 38 60 00 01 */ li r3, 1 +/* 8029670C 0029366C 48 0A F0 DD */ bl SetRenderModelBlack__10CCubeModelFb +/* 80296710 00293670 3B 01 01 D4 */ addi r24, r1, 0x1d4 +/* 80296714 00293674 3B 21 00 20 */ addi r25, r1, 0x20 +/* 80296718 00293678 7F 16 C3 78 */ mr r22, r24 +/* 8029671C 0029367C 3A E0 00 01 */ li r23, 1 +/* 80296720 00293680 3B 40 00 04 */ li r26, 4 +/* 80296724 00293684 48 00 01 48 */ b lbl_8029686C +lbl_80296728: +/* 80296728 00293688 A0 16 00 00 */ lhz r0, 0(r22) +/* 8029672C 0029368C 7F A3 EB 78 */ mr r3, r29 +/* 80296730 00293690 38 81 00 08 */ addi r4, r1, 8 +/* 80296734 00293694 B0 01 00 08 */ sth r0, 8(r1) +/* 80296738 00293698 4B DB 5E 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8029673C 0029369C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80296740 002936A0 41 82 01 28 */ beq lbl_80296868 +/* 80296744 002936A4 4B DB C5 91 */ bl CanDrawStatic__6CActorCFv +/* 80296748 002936A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029674C 002936AC 41 82 01 1C */ beq lbl_80296868 +/* 80296750 002936B0 82 BF 00 08 */ lwz r21, 8(r31) +/* 80296754 002936B4 3C 60 80 3D */ lis r3, lbl_803D5C30@ha +/* 80296758 002936B8 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l +/* 8029675C 002936BC 38 A0 00 00 */ li r5, 0 +/* 80296760 002936C0 82 95 00 00 */ lwz r20, 0(r21) +/* 80296764 002936C4 38 60 00 0C */ li r3, 0xc +/* 80296768 002936C8 48 07 F0 B1 */ bl __nwa__FUlPCcPCc +/* 8029676C 002936CC 28 03 00 00 */ cmplwi r3, 0 +/* 80296770 002936D0 41 82 00 0C */ beq lbl_8029677C +/* 80296774 002936D4 92 83 00 00 */ stw r20, 0(r3) +/* 80296778 002936D8 92 A3 00 04 */ stw r21, 4(r3) +lbl_8029677C: +/* 8029677C 002936DC 34 83 00 08 */ addic. r4, r3, 8 +/* 80296780 002936E0 41 82 00 08 */ beq lbl_80296788 +/* 80296784 002936E4 93 84 00 00 */ stw r28, 0(r4) +lbl_80296788: +/* 80296788 002936E8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8029678C 002936EC 7C 15 00 40 */ cmplw r21, r0 +/* 80296790 002936F0 40 82 00 08 */ bne lbl_80296798 +/* 80296794 002936F4 90 7F 00 04 */ stw r3, 4(r31) +lbl_80296798: +/* 80296798 002936F8 80 A3 00 00 */ lwz r5, 0(r3) +/* 8029679C 002936FC 57 44 06 3E */ clrlwi r4, r26, 0x18 +/* 802967A0 00293700 90 65 00 04 */ stw r3, 4(r5) +/* 802967A4 00293704 80 A3 00 04 */ lwz r5, 4(r3) +/* 802967A8 00293708 90 65 00 00 */ stw r3, 0(r5) +/* 802967AC 0029370C 38 60 00 01 */ li r3, 1 +/* 802967B0 00293710 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 802967B4 00293714 38 05 00 01 */ addi r0, r5, 1 +/* 802967B8 00293718 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802967BC 0029371C 48 0E 59 25 */ bl GXSetDstAlpha +/* 802967C0 00293720 82 9C 00 64 */ lwz r20, 0x64(r28) +/* 802967C4 00293724 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802967C8 00293728 38 81 00 24 */ addi r4, r1, 0x24 +/* 802967CC 0029372C C0 14 00 00 */ lfs f0, 0(r20) +/* 802967D0 00293730 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802967D4 00293734 C0 14 00 04 */ lfs f0, 4(r20) +/* 802967D8 00293738 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802967DC 0029373C C0 14 00 08 */ lfs f0, 8(r20) +/* 802967E0 00293740 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802967E4 00293744 48 07 C9 E1 */ bl Scale__12CTransform4fFRC9CVector3f +/* 802967E8 00293748 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802967EC 0029374C 38 9C 00 34 */ addi r4, r28, 0x34 +/* 802967F0 00293750 38 A1 00 B0 */ addi r5, r1, 0xb0 +/* 802967F4 00293754 48 07 C1 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802967F8 00293758 38 61 01 40 */ addi r3, r1, 0x140 +/* 802967FC 0029375C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80296800 00293760 48 07 C3 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80296804 00293764 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296808 00293768 38 81 01 40 */ addi r4, r1, 0x140 +/* 8029680C 0029376C 81 83 00 00 */ lwz r12, 0(r3) +/* 80296810 00293770 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80296814 00293774 7D 89 03 A6 */ mtctr r12 +/* 80296818 00293778 4E 80 04 21 */ bctrl +/* 8029681C 0029377C C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) +/* 80296820 00293780 38 80 00 00 */ li r4, 0 +/* 80296824 00293784 38 00 00 03 */ li r0, 3 +/* 80296828 00293788 98 81 00 1C */ stb r4, 0x1c(r1) +/* 8029682C 0029378C FC 40 08 90 */ fmr f2, f1 +/* 80296830 00293790 7F 23 CB 78 */ mr r3, r25 +/* 80296834 00293794 FC 60 08 90 */ fmr f3, f1 +/* 80296838 00293798 98 81 00 1D */ stb r4, 0x1d(r1) +/* 8029683C 0029379C FC 80 08 90 */ fmr f4, f1 +/* 80296840 002937A0 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 80296844 002937A4 48 0C CB A9 */ bl __ct__6CColorFffff +/* 80296848 002937A8 7E 83 A3 78 */ mr r3, r20 +/* 8029684C 002937AC 38 80 00 00 */ li r4, 0 +/* 80296850 002937B0 4B E7 E7 5D */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80296854 002937B4 80 63 00 08 */ lwz r3, 8(r3) +/* 80296858 002937B8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029685C 002937BC 48 0B F2 FD */ bl DrawUnsortedParts__6CModelCFRC11CModelFlags +/* 80296860 002937C0 3B 5A 00 04 */ addi r26, r26, 4 +/* 80296864 002937C4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80296868: +/* 80296868 002937C8 3A D6 00 02 */ addi r22, r22, 2 +lbl_8029686C: +/* 8029686C 002937CC 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 80296870 002937D0 54 00 08 3C */ slwi r0, r0, 1 +/* 80296874 002937D4 7C 18 02 14 */ add r0, r24, r0 +/* 80296878 002937D8 7C 16 00 40 */ cmplw r22, r0 +/* 8029687C 002937DC 41 82 00 0C */ beq lbl_80296888 +/* 80296880 002937E0 2C 17 00 40 */ cmpwi r23, 0x40 +/* 80296884 002937E4 41 80 FE A4 */ blt lbl_80296728 +lbl_80296888: +/* 80296888 002937E8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8029688C 002937EC 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 80296890 002937F0 48 07 5D 51 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80296894 002937F4 7F 63 DB 78 */ mr r3, r27 +/* 80296898 002937F8 7F C5 F3 78 */ mr r5, r30 +/* 8029689C 002937FC 38 9F 00 30 */ addi r4, r31, 0x30 +/* 802968A0 00293800 48 02 0F 45 */ bl "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" +/* 802968A4 00293804 7F 63 DB 78 */ mr r3, r27 +/* 802968A8 00293808 7E E4 BB 78 */ mr r4, r23 +/* 802968AC 0029380C 7F C6 F3 78 */ mr r6, r30 +/* 802968B0 00293810 38 BF 00 30 */ addi r5, r31, 0x30 +/* 802968B4 00293814 38 E0 00 00 */ li r7, 0 +/* 802968B8 00293818 39 00 00 00 */ li r8, 0 +/* 802968BC 0029381C 48 02 0D 55 */ bl "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +/* 802968C0 00293820 7C 76 1B 78 */ mr r22, r3 +/* 802968C4 00293824 38 60 00 00 */ li r3, 0 +/* 802968C8 00293828 48 0A EF 21 */ bl SetRenderModelBlack__10CCubeModelFb +/* 802968CC 0029382C 20 76 00 01 */ subfic r3, r22, 1 +/* 802968D0 00293830 38 16 FF FF */ addi r0, r22, -1 +/* 802968D4 00293834 7C 60 03 78 */ or r0, r3, r0 +/* 802968D8 00293838 38 60 00 01 */ li r3, 1 +/* 802968DC 0029383C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802968E0 00293840 98 1F 00 D0 */ stb r0, 0xd0(r31) +/* 802968E4 00293844 48 0E 56 1D */ bl GXSetColorUpdate +/* 802968E8 00293848 38 60 00 01 */ li r3, 1 +/* 802968EC 0029384C 38 80 00 00 */ li r4, 0 +/* 802968F0 00293850 48 0E 57 F1 */ bl GXSetDstAlpha +/* 802968F4 00293854 48 07 2F 11 */ bl GetUseVideoFilter__9CGraphicsFv +/* 802968F8 00293858 7C 76 1B 78 */ mr r22, r3 +/* 802968FC 0029385C 38 60 00 00 */ li r3, 0 +/* 80296900 00293860 48 07 2F 0D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80296904 00293864 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 80296908 00293868 38 60 00 00 */ li r3, 0 +/* 8029690C 0029386C 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 80296910 00293870 38 80 00 00 */ li r4, 0 +/* 80296914 00293874 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 80296918 00293878 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8029691C 0029387C 48 0E 24 99 */ bl GXSetTexCopySrc +/* 80296920 00293880 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 80296924 00293884 38 A0 00 27 */ li r5, 0x27 +/* 80296928 00293888 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8029692C 0029388C 38 C0 00 00 */ li r6, 0 +/* 80296930 00293890 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80296934 00293894 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80296938 00293898 48 0E 25 49 */ bl GXSetTexCopyDst +/* 8029693C 0029389C 88 1F 00 4A */ lbz r0, 0x4a(r31) +/* 80296940 002938A0 38 60 00 01 */ li r3, 1 +/* 80296944 002938A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80296948 002938A8 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8029694C 002938AC 98 1F 00 4A */ stb r0, 0x4a(r31) +/* 80296950 002938B0 38 80 00 00 */ li r4, 0 +/* 80296954 002938B4 48 07 7C 81 */ bl GetBitMapData__8CTextureFi +/* 80296958 002938B8 38 80 00 01 */ li r4, 1 +/* 8029695C 002938BC 48 0E 2B D9 */ bl GXCopyTex +/* 80296960 002938C0 38 7F 00 40 */ addi r3, r31, 0x40 +/* 80296964 002938C4 48 07 7F B9 */ bl UnLock__8CTextureFv +/* 80296968 002938C8 48 0E 1B FD */ bl GXPixModeSync +/* 8029696C 002938CC 56 C3 06 3E */ clrlwi r3, r22, 0x18 +/* 80296970 002938D0 48 07 2E 9D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80296974 002938D4 38 60 00 01 */ li r3, 1 +/* 80296978 002938D8 38 80 00 03 */ li r4, 3 +/* 8029697C 002938DC 38 A0 00 01 */ li r5, 1 +/* 80296980 002938E0 48 07 1E FD */ bl SetZMode__3CGXFb10_GXCompareb +/* 80296984 002938E4 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80296988 002938E8 48 07 5D C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8029698C 002938EC 38 61 00 94 */ addi r3, r1, 0x94 +/* 80296990 002938F0 48 07 34 71 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 80296994 002938F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80296998 002938F8 80 81 00 7C */ lwz r4, 0x7c(r1) +/* 8029699C 002938FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802969A0 00293900 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 802969A4 00293904 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802969A8 00293908 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 802969AC 0029390C 80 E1 00 88 */ lwz r7, 0x88(r1) +/* 802969B0 00293910 7D 89 03 A6 */ mtctr r12 +/* 802969B4 00293914 4E 80 04 21 */ bctrl +/* 802969B8 00293918 FC 20 F8 90 */ fmr f1, f31 +/* 802969BC 0029391C FC 40 F0 90 */ fmr f2, f30 +/* 802969C0 00293920 48 07 3A 21 */ bl SetDepthRange__9CGraphicsFff +/* 802969C4 00293924 80 A1 01 D0 */ lwz r5, 0x1d0(r1) +/* 802969C8 00293928 38 60 00 00 */ li r3, 0 +/* 802969CC 0029392C 2C 05 00 00 */ cmpwi r5, 0 +/* 802969D0 00293930 40 81 00 40 */ ble lbl_80296A10 +/* 802969D4 00293934 2C 05 00 08 */ cmpwi r5, 8 +/* 802969D8 00293938 38 85 FF F8 */ addi r4, r5, -8 +/* 802969DC 0029393C 40 81 00 20 */ ble lbl_802969FC +/* 802969E0 00293940 38 04 00 07 */ addi r0, r4, 7 +/* 802969E4 00293944 54 00 E8 FE */ srwi r0, r0, 3 +/* 802969E8 00293948 7C 09 03 A6 */ mtctr r0 +/* 802969EC 0029394C 2C 04 00 00 */ cmpwi r4, 0 +/* 802969F0 00293950 40 81 00 0C */ ble lbl_802969FC +lbl_802969F4: +/* 802969F4 00293954 38 63 00 08 */ addi r3, r3, 8 +/* 802969F8 00293958 42 00 FF FC */ bdnz lbl_802969F4 +lbl_802969FC: +/* 802969FC 0029395C 7C 03 28 50 */ subf r0, r3, r5 +/* 80296A00 00293960 7C 09 03 A6 */ mtctr r0 +/* 80296A04 00293964 7C 03 28 00 */ cmpw r3, r5 +/* 80296A08 00293968 40 80 00 08 */ bge lbl_80296A10 +lbl_80296A0C: +/* 80296A0C 0029396C 42 00 00 00 */ bdnz lbl_80296A0C +lbl_80296A10: +/* 80296A10 00293970 38 00 00 00 */ li r0, 0 +/* 80296A14 00293974 90 01 01 D0 */ stw r0, 0x1d0(r1) +lbl_80296A18: +/* 80296A18 00293978 E3 E1 0A 78 */ psq_l f31, -1416(r1), 0, qr0 +/* 80296A1C 0029397C CB E1 0A 70 */ lfd f31, 0xa70(r1) +/* 80296A20 00293980 E3 C1 0A 68 */ psq_l f30, -1432(r1), 0, qr0 +/* 80296A24 00293984 CB C1 0A 60 */ lfd f30, 0xa60(r1) +/* 80296A28 00293988 E3 A1 0A 58 */ psq_l f29, -1448(r1), 0, qr0 +/* 80296A2C 0029398C CB A1 0A 50 */ lfd f29, 0xa50(r1) +/* 80296A30 00293990 E3 81 0A 48 */ psq_l f28, -1464(r1), 0, qr0 +/* 80296A34 00293994 CB 81 0A 40 */ lfd f28, 0xa40(r1) +/* 80296A38 00293998 E3 61 0A 38 */ psq_l f27, -1480(r1), 0, qr0 +/* 80296A3C 0029399C CB 61 0A 30 */ lfd f27, 0xa30(r1) +/* 80296A40 002939A0 E3 41 0A 28 */ psq_l f26, -1496(r1), 0, qr0 +/* 80296A44 002939A4 CB 41 0A 20 */ lfd f26, 0xa20(r1) +/* 80296A48 002939A8 E3 21 0A 18 */ psq_l f25, -1512(r1), 0, qr0 +/* 80296A4C 002939AC CB 21 0A 10 */ lfd f25, 0xa10(r1) +/* 80296A50 002939B0 BA 81 09 E0 */ lmw r20, 0x9e0(r1) +/* 80296A54 002939B4 80 01 0A 84 */ lwz r0, 0xa84(r1) +/* 80296A58 002939B8 7C 08 03 A6 */ mtlr r0 +/* 80296A5C 002939BC 38 21 0A 80 */ addi r1, r1, 0xa80 +/* 80296A60 002939C0 4E 80 00 20 */ blr + +.global __dt__16CMorphBallShadowFv +__dt__16CMorphBallShadowFv: +/* 80296A64 002939C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296A68 002939C8 7C 08 02 A6 */ mflr r0 +/* 80296A6C 002939CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296A70 002939D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296A74 002939D4 7C 9F 23 78 */ mr r31, r4 +/* 80296A78 002939D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296A7C 002939DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80296A80 002939E0 41 82 00 9C */ beq lbl_80296B1C +/* 80296A84 002939E4 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80296A88 002939E8 48 07 76 85 */ bl sub_8030e10c +/* 80296A8C 002939EC 34 1E 00 A8 */ addic. r0, r30, 0xa8 +/* 80296A90 002939F0 41 82 00 10 */ beq lbl_80296AA0 +/* 80296A94 002939F4 38 7E 00 A8 */ addi r3, r30, 0xa8 +/* 80296A98 002939F8 38 80 00 00 */ li r4, 0 +/* 80296A9C 002939FC 48 0A A3 A5 */ bl __dt__6CTokenFv +lbl_80296AA0: +/* 80296AA0 00293A00 38 7E 00 40 */ addi r3, r30, 0x40 +/* 80296AA4 00293A04 38 80 FF FF */ li r4, -1 +/* 80296AA8 00293A08 48 07 8F 51 */ bl __dt__8CTextureFv +/* 80296AAC 00293A0C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 80296AB0 00293A10 41 82 00 44 */ beq lbl_80296AF4 +/* 80296AB4 00293A14 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 80296AB8 00293A18 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 80296ABC 00293A1C 54 00 10 3A */ slwi r0, r0, 2 +/* 80296AC0 00293A20 7C 03 02 14 */ add r0, r3, r0 +/* 80296AC4 00293A24 90 61 00 0C */ stw r3, 0xc(r1) +/* 80296AC8 00293A28 7C 64 1B 78 */ mr r4, r3 +/* 80296ACC 00293A2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296AD0 00293A30 90 01 00 10 */ stw r0, 0x10(r1) +/* 80296AD4 00293A34 90 61 00 08 */ stw r3, 8(r1) +/* 80296AD8 00293A38 48 00 00 08 */ b lbl_80296AE0 +lbl_80296ADC: +/* 80296ADC 00293A3C 38 84 00 04 */ addi r4, r4, 4 +lbl_80296AE0: +/* 80296AE0 00293A40 7C 04 00 40 */ cmplw r4, r0 +/* 80296AE4 00293A44 40 82 FF F8 */ bne lbl_80296ADC +/* 80296AE8 00293A48 28 03 00 00 */ cmplwi r3, 0 +/* 80296AEC 00293A4C 41 82 00 08 */ beq lbl_80296AF4 +/* 80296AF0 00293A50 48 07 EE 41 */ bl Free__7CMemoryFPCv +lbl_80296AF4: +/* 80296AF4 00293A54 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80296AF8 00293A58 38 80 FF FF */ li r4, -1 +/* 80296AFC 00293A5C 48 00 02 B1 */ bl sub_80296dac +/* 80296B00 00293A60 7F C3 F3 78 */ mr r3, r30 +/* 80296B04 00293A64 38 80 FF FF */ li r4, -1 +/* 80296B08 00293A68 48 00 01 B1 */ bl sub_80296cb8 +/* 80296B0C 00293A6C 7F E0 07 35 */ extsh. r0, r31 +/* 80296B10 00293A70 40 81 00 0C */ ble lbl_80296B1C +/* 80296B14 00293A74 7F C3 F3 78 */ mr r3, r30 +/* 80296B18 00293A78 48 07 EE 19 */ bl Free__7CMemoryFPCv +lbl_80296B1C: +/* 80296B1C 00293A7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296B20 00293A80 7F C3 F3 78 */ mr r3, r30 +/* 80296B24 00293A84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296B28 00293A88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296B2C 00293A8C 7C 08 03 A6 */ mtlr r0 +/* 80296B30 00293A90 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296B34 00293A94 4E 80 00 20 */ blr + +.global "__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>" +"__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>": +/* 80296B38 00293A98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296B3C 00293A9C 7C 08 02 A6 */ mflr r0 +/* 80296B40 00293AA0 39 00 00 00 */ li r8, 0 +/* 80296B44 00293AA4 38 E0 00 01 */ li r7, 1 +/* 80296B48 00293AA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296B4C 00293AAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296B50 00293AB0 7C DF 33 78 */ mr r31, r6 +/* 80296B54 00293AB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296B58 00293AB8 7C BE 2B 78 */ mr r30, r5 +/* 80296B5C 00293ABC 7F C6 07 34 */ extsh r6, r30 +/* 80296B60 00293AC0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296B64 00293AC4 7C 9D 23 78 */ mr r29, r4 +/* 80296B68 00293AC8 7F A5 07 34 */ extsh r5, r29 +/* 80296B6C 00293ACC 38 80 00 01 */ li r4, 1 +/* 80296B70 00293AD0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80296B74 00293AD4 7C 7C 1B 78 */ mr r28, r3 +/* 80296B78 00293AD8 39 3C 00 0C */ addi r9, r28, 0xc +/* 80296B7C 00293ADC 91 23 00 04 */ stw r9, 4(r3) +/* 80296B80 00293AE0 38 1C 00 24 */ addi r0, r28, 0x24 +/* 80296B84 00293AE4 91 23 00 08 */ stw r9, 8(r3) +/* 80296B88 00293AE8 38 7C 00 40 */ addi r3, r28, 0x40 +/* 80296B8C 00293AEC 91 29 00 00 */ stw r9, 0(r9) +/* 80296B90 00293AF0 91 3C 00 10 */ stw r9, 0x10(r28) +/* 80296B94 00293AF4 91 1C 00 14 */ stw r8, 0x14(r28) +/* 80296B98 00293AF8 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 80296B9C 00293AFC 90 1C 00 20 */ stw r0, 0x20(r28) +/* 80296BA0 00293B00 90 1C 00 24 */ stw r0, 0x24(r28) +/* 80296BA4 00293B04 90 1C 00 28 */ stw r0, 0x28(r28) +/* 80296BA8 00293B08 91 1C 00 2C */ stw r8, 0x2c(r28) +/* 80296BAC 00293B0C 91 1C 00 34 */ stw r8, 0x34(r28) +/* 80296BB0 00293B10 91 1C 00 38 */ stw r8, 0x38(r28) +/* 80296BB4 00293B14 91 1C 00 3C */ stw r8, 0x3c(r28) +/* 80296BB8 00293B18 48 07 92 75 */ bl __ct__8CTextureF12ETexelFormatssi +/* 80296BBC 00293B1C 7F E4 FB 78 */ mr r4, r31 +/* 80296BC0 00293B20 38 7C 00 A8 */ addi r3, r28, 0xa8 +/* 80296BC4 00293B24 48 0A A2 E5 */ bl __ct__6CTokenFRC6CToken +/* 80296BC8 00293B28 93 BC 00 B0 */ stw r29, 0xb0(r28) +/* 80296BCC 00293B2C 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80296BD0 00293B30 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 80296BD4 00293B34 38 00 00 00 */ li r0, 0 +/* 80296BD8 00293B38 93 DC 00 B4 */ stw r30, 0xb4(r28) +/* 80296BDC 00293B3C 38 7C 00 A8 */ addi r3, r28, 0xa8 +/* 80296BE0 00293B40 C0 04 00 00 */ lfs f0, 0(r4) +/* 80296BE4 00293B44 D0 1C 00 B8 */ stfs f0, 0xb8(r28) +/* 80296BE8 00293B48 C0 04 00 04 */ lfs f0, 4(r4) +/* 80296BEC 00293B4C D0 1C 00 BC */ stfs f0, 0xbc(r28) +/* 80296BF0 00293B50 C0 04 00 08 */ lfs f0, 8(r4) +/* 80296BF4 00293B54 D0 1C 00 C0 */ stfs f0, 0xc0(r28) +/* 80296BF8 00293B58 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80296BFC 00293B5C D0 1C 00 C4 */ stfs f0, 0xc4(r28) +/* 80296C00 00293B60 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80296C04 00293B64 D0 1C 00 C8 */ stfs f0, 0xc8(r28) +/* 80296C08 00293B68 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80296C0C 00293B6C D0 1C 00 CC */ stfs f0, 0xcc(r28) +/* 80296C10 00293B70 98 1C 00 D0 */ stb r0, 0xd0(r28) +/* 80296C14 00293B74 48 0A A1 71 */ bl Lock__6CTokenFv +/* 80296C18 00293B78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296C1C 00293B7C 7F 83 E3 78 */ mr r3, r28 +/* 80296C20 00293B80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296C24 00293B84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296C28 00293B88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296C2C 00293B8C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80296C30 00293B90 7C 08 03 A6 */ mtlr r0 +/* 80296C34 00293B94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296C38 00293B98 4E 80 00 20 */ blr + +.global sub_80296c3c +sub_80296c3c: +/* 80296C3C 00293B9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80296C40 00293BA0 7C 08 02 A6 */ mflr r0 +/* 80296C44 00293BA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296C48 00293BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80296C4C 00293BAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80296C50 00293BB0 7C 7E 1B 78 */ mr r30, r3 +/* 80296C54 00293BB4 80 03 00 04 */ lwz r0, 4(r3) +/* 80296C58 00293BB8 83 E4 00 04 */ lwz r31, 4(r4) +/* 80296C5C 00293BBC 7C 04 00 40 */ cmplw r4, r0 +/* 80296C60 00293BC0 40 82 00 08 */ bne lbl_80296C68 +/* 80296C64 00293BC4 93 FE 00 04 */ stw r31, 4(r30) +lbl_80296C68: +/* 80296C68 00293BC8 80 04 00 04 */ lwz r0, 4(r4) +/* 80296C6C 00293BCC 28 04 00 00 */ cmplwi r4, 0 +/* 80296C70 00293BD0 80 64 00 00 */ lwz r3, 0(r4) +/* 80296C74 00293BD4 90 03 00 04 */ stw r0, 4(r3) +/* 80296C78 00293BD8 80 04 00 00 */ lwz r0, 0(r4) +/* 80296C7C 00293BDC 80 64 00 04 */ lwz r3, 4(r4) +/* 80296C80 00293BE0 90 03 00 00 */ stw r0, 0(r3) +/* 80296C84 00293BE4 41 82 00 0C */ beq lbl_80296C90 +/* 80296C88 00293BE8 7C 83 23 78 */ mr r3, r4 +/* 80296C8C 00293BEC 48 07 EC A5 */ bl Free__7CMemoryFPCv +lbl_80296C90: +/* 80296C90 00293BF0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80296C94 00293BF4 7F E3 FB 78 */ mr r3, r31 +/* 80296C98 00293BF8 38 04 FF FF */ addi r0, r4, -1 +/* 80296C9C 00293BFC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80296CA0 00293C00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80296CA4 00293C04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80296CA8 00293C08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80296CAC 00293C0C 7C 08 03 A6 */ mtlr r0 +/* 80296CB0 00293C10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80296CB4 00293C14 4E 80 00 20 */ blr + +.global sub_80296cb8 +sub_80296cb8: +/* 80296CB8 00293C18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296CBC 00293C1C 7C 08 02 A6 */ mflr r0 +/* 80296CC0 00293C20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296CC4 00293C24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296CC8 00293C28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296CCC 00293C2C 7C 9E 23 78 */ mr r30, r4 +/* 80296CD0 00293C30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296CD4 00293C34 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80296CD8 00293C38 41 82 00 38 */ beq lbl_80296D10 +/* 80296CDC 00293C3C 83 FD 00 04 */ lwz r31, 4(r29) +/* 80296CE0 00293C40 48 00 00 14 */ b lbl_80296CF4 +lbl_80296CE4: +/* 80296CE4 00293C44 7F E3 FB 79 */ or. r3, r31, r31 +/* 80296CE8 00293C48 83 FF 00 04 */ lwz r31, 4(r31) +/* 80296CEC 00293C4C 41 82 00 08 */ beq lbl_80296CF4 +/* 80296CF0 00293C50 48 07 EC 41 */ bl Free__7CMemoryFPCv +lbl_80296CF4: +/* 80296CF4 00293C54 80 1D 00 08 */ lwz r0, 8(r29) +/* 80296CF8 00293C58 7C 1F 00 40 */ cmplw r31, r0 +/* 80296CFC 00293C5C 40 82 FF E8 */ bne lbl_80296CE4 +/* 80296D00 00293C60 7F C0 07 35 */ extsh. r0, r30 +/* 80296D04 00293C64 40 81 00 0C */ ble lbl_80296D10 +/* 80296D08 00293C68 7F A3 EB 78 */ mr r3, r29 +/* 80296D0C 00293C6C 48 07 EC 25 */ bl Free__7CMemoryFPCv +lbl_80296D10: +/* 80296D10 00293C70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296D14 00293C74 7F A3 EB 78 */ mr r3, r29 +/* 80296D18 00293C78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296D1C 00293C7C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296D20 00293C80 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296D24 00293C84 7C 08 03 A6 */ mtlr r0 +/* 80296D28 00293C88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296D2C 00293C8C 4E 80 00 20 */ blr + +.global sub_80296d30 +sub_80296d30: +/* 80296D30 00293C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80296D34 00293C94 7C 08 02 A6 */ mflr r0 +/* 80296D38 00293C98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80296D3C 00293C9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80296D40 00293CA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80296D44 00293CA4 7C 7E 1B 78 */ mr r30, r3 +/* 80296D48 00293CA8 80 03 00 04 */ lwz r0, 4(r3) +/* 80296D4C 00293CAC 83 E4 00 04 */ lwz r31, 4(r4) +/* 80296D50 00293CB0 7C 04 00 40 */ cmplw r4, r0 +/* 80296D54 00293CB4 40 82 00 08 */ bne lbl_80296D5C +/* 80296D58 00293CB8 93 FE 00 04 */ stw r31, 4(r30) +lbl_80296D5C: +/* 80296D5C 00293CBC 80 04 00 04 */ lwz r0, 4(r4) +/* 80296D60 00293CC0 28 04 00 00 */ cmplwi r4, 0 +/* 80296D64 00293CC4 80 64 00 00 */ lwz r3, 0(r4) +/* 80296D68 00293CC8 90 03 00 04 */ stw r0, 4(r3) +/* 80296D6C 00293CCC 80 04 00 00 */ lwz r0, 0(r4) +/* 80296D70 00293CD0 80 64 00 04 */ lwz r3, 4(r4) +/* 80296D74 00293CD4 90 03 00 00 */ stw r0, 0(r3) +/* 80296D78 00293CD8 41 82 00 0C */ beq lbl_80296D84 +/* 80296D7C 00293CDC 7C 83 23 78 */ mr r3, r4 +/* 80296D80 00293CE0 48 07 EB B1 */ bl Free__7CMemoryFPCv +lbl_80296D84: +/* 80296D84 00293CE4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80296D88 00293CE8 7F E3 FB 78 */ mr r3, r31 +/* 80296D8C 00293CEC 38 04 FF FF */ addi r0, r4, -1 +/* 80296D90 00293CF0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80296D94 00293CF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80296D98 00293CF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80296D9C 00293CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80296DA0 00293D00 7C 08 03 A6 */ mtlr r0 +/* 80296DA4 00293D04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80296DA8 00293D08 4E 80 00 20 */ blr + +.global sub_80296dac +sub_80296dac: +/* 80296DAC 00293D0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80296DB0 00293D10 7C 08 02 A6 */ mflr r0 +/* 80296DB4 00293D14 90 01 00 24 */ stw r0, 0x24(r1) +/* 80296DB8 00293D18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80296DBC 00293D1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80296DC0 00293D20 7C 9E 23 78 */ mr r30, r4 +/* 80296DC4 00293D24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80296DC8 00293D28 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80296DCC 00293D2C 41 82 00 38 */ beq lbl_80296E04 +/* 80296DD0 00293D30 83 FD 00 04 */ lwz r31, 4(r29) +/* 80296DD4 00293D34 48 00 00 14 */ b lbl_80296DE8 +lbl_80296DD8: +/* 80296DD8 00293D38 7F E3 FB 79 */ or. r3, r31, r31 +/* 80296DDC 00293D3C 83 FF 00 04 */ lwz r31, 4(r31) +/* 80296DE0 00293D40 41 82 00 08 */ beq lbl_80296DE8 +/* 80296DE4 00293D44 48 07 EB 4D */ bl Free__7CMemoryFPCv +lbl_80296DE8: +/* 80296DE8 00293D48 80 1D 00 08 */ lwz r0, 8(r29) +/* 80296DEC 00293D4C 7C 1F 00 40 */ cmplw r31, r0 +/* 80296DF0 00293D50 40 82 FF E8 */ bne lbl_80296DD8 +/* 80296DF4 00293D54 7F C0 07 35 */ extsh. r0, r30 +/* 80296DF8 00293D58 40 81 00 0C */ ble lbl_80296E04 +/* 80296DFC 00293D5C 7F A3 EB 78 */ mr r3, r29 +/* 80296E00 00293D60 48 07 EB 31 */ bl Free__7CMemoryFPCv +lbl_80296E04: +/* 80296E04 00293D64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80296E08 00293D68 7F A3 EB 78 */ mr r3, r29 +/* 80296E0C 00293D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80296E10 00293D70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80296E14 00293D74 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80296E18 00293D78 7C 08 03 A6 */ mtlr r0 +/* 80296E1C 00293D7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80296E20 00293D80 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CPlayerDynamics.s b/asm/Kyoto_CWD/Player/CPlayerDynamics.s new file mode 100644 index 00000000..a08d80ff --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerDynamics.s @@ -0,0 +1,7483 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UpdateMorphBallTransition__7CPlayerFfR13CStateManager +UpdateMorphBallTransition__7CPlayerFfR13CStateManager: +/* 80281D68 0027ECC8 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 80281D6C 0027ECCC 7C 08 02 A6 */ mflr r0 +/* 80281D70 0027ECD0 90 01 02 74 */ stw r0, 0x274(r1) +/* 80281D74 0027ECD4 DB E1 02 60 */ stfd f31, 0x260(r1) +/* 80281D78 0027ECD8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 80281D7C 0027ECDC DB C1 02 50 */ stfd f30, 0x250(r1) +/* 80281D80 0027ECE0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 80281D84 0027ECE4 DB A1 02 40 */ stfd f29, 0x240(r1) +/* 80281D88 0027ECE8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 80281D8C 0027ECEC BF 21 02 24 */ stmw r25, 0x224(r1) +/* 80281D90 0027ECF0 7C 7C 1B 78 */ mr r28, r3 +/* 80281D94 0027ECF4 FF E0 08 90 */ fmr f31, f1 +/* 80281D98 0027ECF8 83 C3 02 F8 */ lwz r30, 0x2f8(r3) +/* 80281D9C 0027ECFC 7C 9D 23 78 */ mr r29, r4 +/* 80281DA0 0027ED00 2C 1E 00 02 */ cmpwi r30, 2 +/* 80281DA4 0027ED04 41 82 00 A4 */ beq lbl_80281E48 +/* 80281DA8 0027ED08 2C 1E 00 03 */ cmpwi r30, 3 +/* 80281DAC 0027ED0C 41 82 00 9C */ beq lbl_80281E48 +/* 80281DB0 0027ED10 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80281DB4 0027ED14 80 63 00 00 */ lwz r3, 0(r3) +/* 80281DB8 0027ED18 83 23 00 20 */ lwz r25, 0x20(r3) +/* 80281DBC 0027ED1C 4B E0 F7 09 */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 80281DC0 0027ED20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80281DC4 0027ED24 41 82 00 08 */ beq lbl_80281DCC +/* 80281DC8 0027ED28 3B 39 00 04 */ addi r25, r25, 4 +lbl_80281DCC: +/* 80281DCC 0027ED2C 80 1C 07 CC */ lwz r0, 0x7cc(r28) +/* 80281DD0 0027ED30 7C 00 C8 00 */ cmpw r0, r25 +/* 80281DD4 0027ED34 41 82 0B 88 */ beq lbl_8028295C +/* 80281DD8 0027ED38 93 3C 07 CC */ stw r25, 0x7cc(r28) +/* 80281DDC 0027ED3C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80281DE0 0027ED40 38 81 01 2C */ addi r4, r1, 0x12c +/* 80281DE4 0027ED44 88 DC 07 E4 */ lbz r6, 0x7e4(r28) +/* 80281DE8 0027ED48 80 FC 07 E8 */ lwz r7, 0x7e8(r28) +/* 80281DEC 0027ED4C 80 BC 07 CC */ lwz r5, 0x7cc(r28) +/* 80281DF0 0027ED50 80 1C 07 D0 */ lwz r0, 0x7d0(r28) +/* 80281DF4 0027ED54 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80281DF8 0027ED58 90 A1 01 30 */ stw r5, 0x130(r1) +/* 80281DFC 0027ED5C C0 1C 07 D8 */ lfs f0, 0x7d8(r28) +/* 80281E00 0027ED60 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 80281E04 0027ED64 C0 1C 07 DC */ lfs f0, 0x7dc(r28) +/* 80281E08 0027ED68 D0 01 01 38 */ stfs f0, 0x138(r1) +/* 80281E0C 0027ED6C C0 1C 07 E0 */ lfs f0, 0x7e0(r28) +/* 80281E10 0027ED70 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80281E14 0027ED74 98 C1 01 40 */ stb r6, 0x140(r1) +/* 80281E18 0027ED78 90 E1 01 44 */ stw r7, 0x144(r1) +/* 80281E1C 0027ED7C 4B E9 4D 39 */ bl __ct__10CModelDataFRC8CAnimRes +/* 80281E20 0027ED80 7F 83 E3 78 */ mr r3, r28 +/* 80281E24 0027ED84 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 80281E28 0027ED88 4B DD 32 09 */ bl SetModelData__6CActorFRC10CModelData +/* 80281E2C 0027ED8C 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 80281E30 0027ED90 38 80 FF FF */ li r4, -1 +/* 80281E34 0027ED94 4B E9 4C 19 */ bl __dt__10CModelDataFv +/* 80281E38 0027ED98 7F 83 E3 78 */ mr r3, r28 +/* 80281E3C 0027ED9C 7F A4 EB 78 */ mr r4, r29 +/* 80281E40 0027EDA0 48 00 20 E9 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +/* 80281E44 0027EDA4 48 00 0B 18 */ b lbl_8028295C +lbl_80281E48: +/* 80281E48 0027EDA8 2C 1E 00 03 */ cmpwi r30, 3 +/* 80281E4C 0027EDAC 41 82 00 08 */ beq lbl_80281E54 +/* 80281E50 0027EDB0 48 00 02 54 */ b lbl_802820A4 +lbl_80281E54: +/* 80281E54 0027EDB4 80 1C 05 84 */ lwz r0, 0x584(r28) +/* 80281E58 0027EDB8 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80281E5C 0027EDBC 28 00 00 0E */ cmplwi r0, 0xe +/* 80281E60 0027EDC0 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 80281E64 0027EDC4 40 82 01 0C */ bne lbl_80281F70 +/* 80281E68 0027EDC8 3C 80 80 3D */ lis r4, lbl_803D5968@ha +/* 80281E6C 0027EDCC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80281E70 0027EDD0 38 84 59 68 */ addi r4, r4, lbl_803D5968@l +/* 80281E74 0027EDD4 4B D8 2E 45 */ bl string_l__4rstlFPCc +/* 80281E78 0027EDD8 80 9C 05 84 */ lwz r4, 0x584(r28) +/* 80281E7C 0027EDDC 7F E3 FB 78 */ mr r3, r31 +/* 80281E80 0027EDE0 4B DA A6 49 */ bl GetAnimationDuration__9CAnimDataCFi +/* 80281E84 0027EDE4 FF A0 08 90 */ fmr f29, f1 +/* 80281E88 0027EDE8 7F E3 FB 78 */ mr r3, r31 +/* 80281E8C 0027EDEC 38 81 00 8C */ addi r4, r1, 0x8c +/* 80281E90 0027EDF0 4B DA A5 DD */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80281E94 0027EDF4 EC 21 E8 24 */ fdivs f1, f1, f29 +/* 80281E98 0027EDF8 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80281E9C 0027EDFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80281EA0 0027EE00 7C 00 00 26 */ mfcr r0 +/* 80281EA4 0027EE04 38 61 00 8C */ addi r3, r1, 0x8c +/* 80281EA8 0027EE08 54 1B 0F FE */ srwi r27, r0, 0x1f +/* 80281EAC 0027EE0C 48 0B BC 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80281EB0 0027EE10 28 1B 00 00 */ cmplwi r27, 0 +/* 80281EB4 0027EE14 41 82 01 F0 */ beq lbl_802820A4 +/* 80281EB8 0027EE18 38 00 00 00 */ li r0, 0 +/* 80281EBC 0027EE1C FC 20 F8 90 */ fmr f1, f31 +/* 80281EC0 0027EE20 98 01 00 09 */ stb r0, 9(r1) +/* 80281EC4 0027EE24 7F 83 E3 78 */ mr r3, r28 +/* 80281EC8 0027EE28 7F A5 EB 78 */ mr r5, r29 +/* 80281ECC 0027EE2C 38 81 00 09 */ addi r4, r1, 9 +/* 80281ED0 0027EE30 48 00 1D 75 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +/* 80281ED4 0027EE34 90 7C 05 84 */ stw r3, 0x584(r28) +/* 80281ED8 0027EE38 38 60 00 00 */ li r3, 0 +/* 80281EDC 0027EE3C 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80281EE0 0027EE40 28 04 00 00 */ cmplwi r4, 0 +/* 80281EE4 0027EE44 41 82 00 14 */ beq lbl_80281EF8 +/* 80281EE8 0027EE48 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80281EEC 0027EE4C 28 00 00 00 */ cmplwi r0, 0 +/* 80281EF0 0027EE50 41 82 00 08 */ beq lbl_80281EF8 +/* 80281EF4 0027EE54 38 60 00 01 */ li r3, 1 +lbl_80281EF8: +/* 80281EF8 0027EE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80281EFC 0027EE5C 41 82 01 A8 */ beq lbl_802820A4 +/* 80281F00 0027EE60 80 7C 05 84 */ lwz r3, 0x584(r28) +/* 80281F04 0027EE64 38 00 00 00 */ li r0, 0 +/* 80281F08 0027EE68 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80281F0C 0027EE6C 38 A0 FF FF */ li r5, -1 +/* 80281F10 0027EE70 38 C0 00 01 */ li r6, 1 +/* 80281F14 0027EE74 90 61 01 A0 */ stw r3, 0x1a0(r1) +/* 80281F18 0027EE78 7F E3 FB 78 */ mr r3, r31 +/* 80281F1C 0027EE7C 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80281F20 0027EE80 90 A1 01 A4 */ stw r5, 0x1a4(r1) +/* 80281F24 0027EE84 38 A0 00 00 */ li r5, 0 +/* 80281F28 0027EE88 D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 80281F2C 0027EE8C 98 C1 01 AC */ stb r6, 0x1ac(r1) +/* 80281F30 0027EE90 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 80281F34 0027EE94 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 80281F38 0027EE98 98 01 01 B8 */ stb r0, 0x1b8(r1) +/* 80281F3C 0027EE9C 90 01 01 BC */ stw r0, 0x1bc(r1) +/* 80281F40 0027EEA0 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 80281F44 0027EEA4 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80281F48 0027EEA8 4B DA AE 35 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80281F4C 0027EEAC 88 81 00 09 */ lbz r4, 9(r1) +/* 80281F50 0027EEB0 38 60 00 01 */ li r3, 1 +/* 80281F54 0027EEB4 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80281F58 0027EEB8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80281F5C 0027EEBC 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80281F60 0027EEC0 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80281F64 0027EEC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80281F68 0027EEC8 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80281F6C 0027EECC 48 00 01 38 */ b lbl_802820A4 +lbl_80281F70: +/* 80281F70 0027EED0 28 00 00 05 */ cmplwi r0, 5 +/* 80281F74 0027EED4 41 82 01 30 */ beq lbl_802820A4 +/* 80281F78 0027EED8 28 00 00 07 */ cmplwi r0, 7 +/* 80281F7C 0027EEDC 41 82 01 28 */ beq lbl_802820A4 +/* 80281F80 0027EEE0 FC 20 F8 90 */ fmr f1, f31 +/* 80281F84 0027EEE4 7F 83 E3 78 */ mr r3, r28 +/* 80281F88 0027EEE8 48 00 39 81 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80281F8C 0027EEEC FF A0 08 90 */ fmr f29, f1 +/* 80281F90 0027EEF0 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80281F94 0027EEF4 C0 5C 01 3C */ lfs f2, 0x13c(r28) +/* 80281F98 0027EEF8 38 61 00 60 */ addi r3, r1, 0x60 +/* 80281F9C 0027EEFC 48 09 22 65 */ bl __ct__9CVector2fFff +/* 80281FA0 0027EF00 38 61 00 60 */ addi r3, r1, 0x60 +/* 80281FA4 0027EF04 48 09 21 51 */ bl Magnitude__9CVector2fCFv +/* 80281FA8 0027EF08 FF C0 08 90 */ fmr f30, f1 +/* 80281FAC 0027EF0C C0 3C 05 8C */ lfs f1, 0x58c(r28) +/* 80281FB0 0027EF10 C0 02 BD 84 */ lfs f0, lbl_805ADAA4@sda21(r2) +/* 80281FB4 0027EF14 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80281FB8 0027EF18 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80281FBC 0027EF1C FC 20 0A 10 */ fabs f1, f1 +/* 80281FC0 0027EF20 FC 20 08 18 */ frsp f1, f1 +/* 80281FC4 0027EF24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80281FC8 0027EF28 41 81 00 10 */ bgt lbl_80281FD8 +/* 80281FCC 0027EF2C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80281FD0 0027EF30 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80281FD4 0027EF34 40 80 00 D0 */ bge lbl_802820A4 +lbl_80281FD8: +/* 80281FD8 0027EF38 38 00 00 00 */ li r0, 0 +/* 80281FDC 0027EF3C FC 20 F8 90 */ fmr f1, f31 +/* 80281FE0 0027EF40 98 01 00 08 */ stb r0, 8(r1) +/* 80281FE4 0027EF44 7F 83 E3 78 */ mr r3, r28 +/* 80281FE8 0027EF48 7F A5 EB 78 */ mr r5, r29 +/* 80281FEC 0027EF4C 38 81 00 08 */ addi r4, r1, 8 +/* 80281FF0 0027EF50 48 00 1C 55 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +/* 80281FF4 0027EF54 80 BC 00 64 */ lwz r5, 0x64(r28) +/* 80281FF8 0027EF58 38 80 00 00 */ li r4, 0 +/* 80281FFC 0027EF5C 28 05 00 00 */ cmplwi r5, 0 +/* 80282000 0027EF60 41 82 00 14 */ beq lbl_80282014 +/* 80282004 0027EF64 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80282008 0027EF68 28 00 00 00 */ cmplwi r0, 0 +/* 8028200C 0027EF6C 41 82 00 08 */ beq lbl_80282014 +/* 80282010 0027EF70 38 80 00 01 */ li r4, 1 +lbl_80282014: +/* 80282014 0027EF74 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80282018 0027EF78 41 82 00 8C */ beq lbl_802820A4 +/* 8028201C 0027EF7C 80 1C 05 84 */ lwz r0, 0x584(r28) +/* 80282020 0027EF80 7C 00 18 40 */ cmplw r0, r3 +/* 80282024 0027EF84 41 82 00 80 */ beq lbl_802820A4 +/* 80282028 0027EF88 28 00 00 07 */ cmplwi r0, 7 +/* 8028202C 0027EF8C 41 82 00 78 */ beq lbl_802820A4 +/* 80282030 0027EF90 90 7C 05 84 */ stw r3, 0x584(r28) +/* 80282034 0027EF94 38 E0 FF FF */ li r7, -1 +/* 80282038 0027EF98 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 8028203C 0027EF9C 38 C0 00 01 */ li r6, 1 +/* 80282040 0027EFA0 80 BC 05 84 */ lwz r5, 0x584(r28) +/* 80282044 0027EFA4 38 00 00 00 */ li r0, 0 +/* 80282048 0027EFA8 7F E3 FB 78 */ mr r3, r31 +/* 8028204C 0027EFAC 38 81 01 78 */ addi r4, r1, 0x178 +/* 80282050 0027EFB0 90 A1 01 78 */ stw r5, 0x178(r1) +/* 80282054 0027EFB4 38 A0 00 00 */ li r5, 0 +/* 80282058 0027EFB8 90 E1 01 7C */ stw r7, 0x17c(r1) +/* 8028205C 0027EFBC D0 01 01 80 */ stfs f0, 0x180(r1) +/* 80282060 0027EFC0 98 C1 01 84 */ stb r6, 0x184(r1) +/* 80282064 0027EFC4 90 01 01 88 */ stw r0, 0x188(r1) +/* 80282068 0027EFC8 90 01 01 8C */ stw r0, 0x18c(r1) +/* 8028206C 0027EFCC 98 01 01 90 */ stb r0, 0x190(r1) +/* 80282070 0027EFD0 90 01 01 94 */ stw r0, 0x194(r1) +/* 80282074 0027EFD4 90 01 01 98 */ stw r0, 0x198(r1) +/* 80282078 0027EFD8 90 01 01 9C */ stw r0, 0x19c(r1) +/* 8028207C 0027EFDC 4B DA AD 01 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80282080 0027EFE0 88 81 00 08 */ lbz r4, 8(r1) +/* 80282084 0027EFE4 38 60 00 01 */ li r3, 1 +/* 80282088 0027EFE8 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8028208C 0027EFEC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80282090 0027EFF0 98 1F 02 20 */ stb r0, 0x220(r31) +/* 80282094 0027EFF4 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 80282098 0027EFF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8028209C 0027EFFC 98 1F 02 20 */ stb r0, 0x220(r31) +/* 802820A0 0027F000 D3 DC 05 8C */ stfs f30, 0x58c(r28) +lbl_802820A4: +/* 802820A4 0027F004 FC 20 F8 90 */ fmr f1, f31 +/* 802820A8 0027F008 7F 84 E3 78 */ mr r4, r28 +/* 802820AC 0027F00C 7F A5 EB 78 */ mr r5, r29 +/* 802820B0 0027F010 38 61 00 DC */ addi r3, r1, 0xdc +/* 802820B4 0027F014 38 C0 00 01 */ li r6, 1 +/* 802820B8 0027F018 4B DD 31 E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb +/* 802820BC 0027F01C C0 E1 00 DC */ lfs f7, 0xdc(r1) +/* 802820C0 0027F020 FC 20 F8 90 */ fmr f1, f31 +/* 802820C4 0027F024 C0 C1 00 E0 */ lfs f6, 0xe0(r1) +/* 802820C8 0027F028 7F 83 E3 78 */ mr r3, r28 +/* 802820CC 0027F02C C0 A1 00 E4 */ lfs f5, 0xe4(r1) +/* 802820D0 0027F030 3B 41 01 1C */ addi r26, r1, 0x11c +/* 802820D4 0027F034 C0 81 00 E8 */ lfs f4, 0xe8(r1) +/* 802820D8 0027F038 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802820DC 0027F03C 38 81 01 10 */ addi r4, r1, 0x110 +/* 802820E0 0027F040 C0 41 00 F0 */ lfs f2, 0xf0(r1) +/* 802820E4 0027F044 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802820E8 0027F048 D0 E1 01 10 */ stfs f7, 0x110(r1) +/* 802820EC 0027F04C D0 C1 01 14 */ stfs f6, 0x114(r1) +/* 802820F0 0027F050 D0 A1 01 18 */ stfs f5, 0x118(r1) +/* 802820F4 0027F054 D0 81 01 1C */ stfs f4, 0x11c(r1) +/* 802820F8 0027F058 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 802820FC 0027F05C D0 41 01 24 */ stfs f2, 0x124(r1) +/* 80282100 0027F060 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 80282104 0027F064 4B E9 8C A9 */ bl MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff +/* 80282108 0027F068 FC 20 F8 90 */ fmr f1, f31 +/* 8028210C 0027F06C 7F 83 E3 78 */ mr r3, r28 +/* 80282110 0027F070 7F 44 D3 78 */ mr r4, r26 +/* 80282114 0027F074 4B E9 8C 49 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +/* 80282118 0027F078 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 8028211C 0027F07C EC 20 F8 2A */ fadds f1, f0, f31 +/* 80282120 0027F080 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80282124 0027F084 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 80282128 0027F088 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028212C 0027F08C 40 80 00 0C */ bge lbl_80282138 +/* 80282130 0027F090 38 61 00 24 */ addi r3, r1, 0x24 +/* 80282134 0027F094 48 00 00 08 */ b lbl_8028213C +lbl_80282138: +/* 80282138 0027F098 38 7C 05 78 */ addi r3, r28, 0x578 +lbl_8028213C: +/* 8028213C 0027F09C C0 23 00 00 */ lfs f1, 0(r3) +/* 80282140 0027F0A0 C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) +/* 80282144 0027F0A4 D0 3C 05 74 */ stfs f1, 0x574(r28) +/* 80282148 0027F0A8 C0 5C 05 74 */ lfs f2, 0x574(r28) +/* 8028214C 0027F0AC C0 3C 05 78 */ lfs f1, 0x578(r28) +/* 80282150 0027F0B0 EF A2 08 24 */ fdivs f29, f2, f1 +/* 80282154 0027F0B4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80282158 0027F0B8 40 80 00 14 */ bge lbl_8028216C +/* 8028215C 0027F0BC C0 02 BD 8C */ lfs f0, lbl_805ADAAC@sda21(r2) +/* 80282160 0027F0C0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80282164 0027F0C4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80282168 0027F0C8 41 81 00 2C */ bgt lbl_80282194 +lbl_8028216C: +/* 8028216C 0027F0CC 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 80282170 0027F0D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80282174 0027F0D4 41 82 00 20 */ beq lbl_80282194 +/* 80282178 0027F0D8 80 1C 07 3C */ lwz r0, 0x73c(r28) +/* 8028217C 0027F0DC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80282180 0027F0E0 38 9C 07 30 */ addi r4, r28, 0x730 +/* 80282184 0027F0E4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80282188 0027F0E8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028218C 0027F0EC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80282190 0027F0F0 48 00 07 F9 */ bl sub_80282988 +lbl_80282194: +/* 80282194 0027F0F4 3B 20 00 00 */ li r25, 0 +/* 80282198 0027F0F8 3B 60 00 00 */ li r27, 0 +/* 8028219C 0027F0FC 48 00 00 38 */ b lbl_802821D4 +lbl_802821A0: +/* 802821A0 0027F100 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) +/* 802821A4 0027F104 FC 20 F8 90 */ fmr f1, f31 +/* 802821A8 0027F108 38 1B 00 04 */ addi r0, r27, 4 +/* 802821AC 0027F10C 7F A5 EB 78 */ mr r5, r29 +/* 802821B0 0027F110 90 61 00 14 */ stw r3, 0x14(r1) +/* 802821B4 0027F114 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802821B8 0027F118 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802821BC 0027F11C 80 9C 07 3C */ lwz r4, 0x73c(r28) +/* 802821C0 0027F120 38 E0 00 01 */ li r7, 1 +/* 802821C4 0027F124 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802821C8 0027F128 4B E9 39 6D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 802821CC 0027F12C 3B 7B 00 08 */ addi r27, r27, 8 +/* 802821D0 0027F130 3B 39 00 01 */ addi r25, r25, 1 +lbl_802821D4: +/* 802821D4 0027F134 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 802821D8 0027F138 7C 19 00 00 */ cmpw r25, r0 +/* 802821DC 0027F13C 41 80 FF C4 */ blt lbl_802821A0 +/* 802821E0 0027F140 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 802821E4 0027F144 7F A4 EB 78 */ mr r4, r29 +/* 802821E8 0027F148 4B D8 99 31 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 802821EC 0027F14C C0 23 01 60 */ lfs f1, 0x160(r3) +/* 802821F0 0027F150 38 81 00 80 */ addi r4, r1, 0x80 +/* 802821F4 0027F154 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 802821F8 0027F158 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 802821FC 0027F15C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80282200 0027F160 7F 83 E3 78 */ mr r3, r28 +/* 80282204 0027F164 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80282208 0027F168 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8028220C 0027F16C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 80282210 0027F170 4B D9 06 F1 */ bl GetTransitionAlpha__7CPlayerCFRC9CVector3ff +/* 80282214 0027F174 2C 1E 00 02 */ cmpwi r30, 2 +/* 80282218 0027F178 D0 3C 05 88 */ stfs f1, 0x588(r28) +/* 8028221C 0027F17C 40 82 00 B4 */ bne lbl_802822D0 +/* 80282220 0027F180 C0 02 BD 90 */ lfs f0, lbl_805ADAB0@sda21(r2) +/* 80282224 0027F184 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80282228 0027F188 40 81 00 A8 */ ble lbl_802822D0 +/* 8028222C 0027F18C EC 3D 00 28 */ fsubs f1, f29, f0 +/* 80282230 0027F190 C0 02 BD 98 */ lfs f0, lbl_805ADAB8@sda21(r2) +/* 80282234 0027F194 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80282238 0027F198 C0 62 BD 94 */ lfs f3, lbl_805ADAB4@sda21(r2) +/* 8028223C 0027F19C EC 21 00 24 */ fdivs f1, f1, f0 +/* 80282240 0027F1A0 C0 0D 99 70 */ lfs f0, lbl_805A8530@sda21(r13) +/* 80282244 0027F1A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80282248 0027F1A8 EC 23 08 2A */ fadds f1, f3, f1 +/* 8028224C 0027F1AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80282250 0027F1B0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80282254 0027F1B4 40 80 00 0C */ bge lbl_80282260 +/* 80282258 0027F1B8 38 8D 99 70 */ addi r4, r13, lbl_805A8530@sda21 +/* 8028225C 0027F1BC 48 00 00 08 */ b lbl_80282264 +lbl_80282260: +/* 80282260 0027F1C0 38 81 00 10 */ addi r4, r1, 0x10 +lbl_80282264: +/* 80282264 0027F1C4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80282268 0027F1C8 38 A0 00 05 */ li r5, 5 +/* 8028226C 0027F1CC C0 5C 05 88 */ lfs f2, 0x588(r28) +/* 80282270 0027F1D0 38 80 00 00 */ li r4, 0 +/* 80282274 0027F1D4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282278 0027F1D8 38 00 00 03 */ li r0, 3 +/* 8028227C 0027F1DC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80282280 0027F1E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80282284 0027F1E4 FC 40 08 90 */ fmr f2, f1 +/* 80282288 0027F1E8 FC 60 08 90 */ fmr f3, f1 +/* 8028228C 0027F1EC D0 1C 05 88 */ stfs f0, 0x588(r28) +/* 80282290 0027F1F0 C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 80282294 0027F1F4 98 A1 00 58 */ stb r5, 0x58(r1) +/* 80282298 0027F1F8 98 81 00 59 */ stb r4, 0x59(r1) +/* 8028229C 0027F1FC B0 01 00 5A */ sth r0, 0x5a(r1) +/* 802822A0 0027F200 48 0E 11 4D */ bl __ct__6CColorFffff +/* 802822A4 0027F204 A0 01 00 5A */ lhz r0, 0x5a(r1) +/* 802822A8 0027F208 88 81 00 59 */ lbz r4, 0x59(r1) +/* 802822AC 0027F20C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 802822B0 0027F210 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802822B4 0027F214 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802822B8 0027F218 60 63 00 01 */ ori r3, r3, 1 +/* 802822BC 0027F21C 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802822C0 0027F220 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 802822C4 0027F224 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 802822C8 0027F228 90 BC 00 B8 */ stw r5, 0xb8(r28) +/* 802822CC 0027F22C 48 00 01 40 */ b lbl_8028240C +lbl_802822D0: +/* 802822D0 0027F230 2C 1E 00 03 */ cmpwi r30, 3 +/* 802822D4 0027F234 40 82 00 E0 */ bne lbl_802823B4 +/* 802822D8 0027F238 C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 802822DC 0027F23C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802822E0 0027F240 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 802822E4 0027F244 40 80 00 D0 */ bge lbl_802823B4 +/* 802822E8 0027F248 C0 02 BD 9C */ lfs f0, lbl_805ADABC@sda21(r2) +/* 802822EC 0027F24C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802822F0 0027F250 40 81 00 70 */ ble lbl_80282360 +/* 802822F4 0027F254 38 A0 00 05 */ li r5, 5 +/* 802822F8 0027F258 38 80 00 00 */ li r4, 0 +/* 802822FC 0027F25C 38 00 00 03 */ li r0, 3 +/* 80282300 0027F260 FC 40 08 90 */ fmr f2, f1 +/* 80282304 0027F264 FC 60 08 90 */ fmr f3, f1 +/* 80282308 0027F268 98 A1 00 48 */ stb r5, 0x48(r1) +/* 8028230C 0027F26C 38 61 00 4C */ addi r3, r1, 0x4c +/* 80282310 0027F270 98 81 00 49 */ stb r4, 0x49(r1) +/* 80282314 0027F274 B0 01 00 4A */ sth r0, 0x4a(r1) +/* 80282318 0027F278 48 0E 10 D5 */ bl __ct__6CColorFffff +/* 8028231C 0027F27C 88 C1 00 48 */ lbz r6, 0x48(r1) +/* 80282320 0027F280 88 A1 00 49 */ lbz r5, 0x49(r1) +/* 80282324 0027F284 A0 01 00 4A */ lhz r0, 0x4a(r1) +/* 80282328 0027F288 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8028232C 0027F28C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80282330 0027F290 98 C1 00 50 */ stb r6, 0x50(r1) +/* 80282334 0027F294 60 04 00 01 */ ori r4, r0, 1 +/* 80282338 0027F298 98 DC 00 B4 */ stb r6, 0xb4(r28) +/* 8028233C 0027F29C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80282340 0027F2A0 60 00 00 20 */ ori r0, r0, 0x20 +/* 80282344 0027F2A4 98 BC 00 B5 */ stb r5, 0xb5(r28) +/* 80282348 0027F2A8 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 8028234C 0027F2AC 98 A1 00 51 */ stb r5, 0x51(r1) +/* 80282350 0027F2B0 B0 81 00 52 */ sth r4, 0x52(r1) +/* 80282354 0027F2B4 90 61 00 54 */ stw r3, 0x54(r1) +/* 80282358 0027F2B8 90 7C 00 B8 */ stw r3, 0xb8(r28) +/* 8028235C 0027F2BC 48 00 00 B0 */ b lbl_8028240C +lbl_80282360: +/* 80282360 0027F2C0 38 A0 00 05 */ li r5, 5 +/* 80282364 0027F2C4 38 80 00 00 */ li r4, 0 +/* 80282368 0027F2C8 38 00 00 03 */ li r0, 3 +/* 8028236C 0027F2CC FC 40 08 90 */ fmr f2, f1 +/* 80282370 0027F2D0 FC 60 08 90 */ fmr f3, f1 +/* 80282374 0027F2D4 98 A1 00 40 */ stb r5, 0x40(r1) +/* 80282378 0027F2D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8028237C 0027F2DC 98 81 00 41 */ stb r4, 0x41(r1) +/* 80282380 0027F2E0 B0 01 00 42 */ sth r0, 0x42(r1) +/* 80282384 0027F2E4 48 0E 10 69 */ bl __ct__6CColorFffff +/* 80282388 0027F2E8 A0 01 00 42 */ lhz r0, 0x42(r1) +/* 8028238C 0027F2EC 88 81 00 41 */ lbz r4, 0x41(r1) +/* 80282390 0027F2F0 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 80282394 0027F2F4 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80282398 0027F2F8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8028239C 0027F2FC 60 63 00 01 */ ori r3, r3, 1 +/* 802823A0 0027F300 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802823A4 0027F304 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 802823A8 0027F308 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 802823AC 0027F30C 90 BC 00 B8 */ stw r5, 0xb8(r28) +/* 802823B0 0027F310 48 00 00 5C */ b lbl_8028240C +lbl_802823B4: +/* 802823B4 0027F314 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802823B8 0027F318 38 A0 00 05 */ li r5, 5 +/* 802823BC 0027F31C C0 9C 05 88 */ lfs f4, 0x588(r28) +/* 802823C0 0027F320 38 80 00 00 */ li r4, 0 +/* 802823C4 0027F324 38 00 00 03 */ li r0, 3 +/* 802823C8 0027F328 FC 40 08 90 */ fmr f2, f1 +/* 802823CC 0027F32C FC 60 08 90 */ fmr f3, f1 +/* 802823D0 0027F330 98 A1 00 38 */ stb r5, 0x38(r1) +/* 802823D4 0027F334 38 61 00 3C */ addi r3, r1, 0x3c +/* 802823D8 0027F338 98 81 00 39 */ stb r4, 0x39(r1) +/* 802823DC 0027F33C B0 01 00 3A */ sth r0, 0x3a(r1) +/* 802823E0 0027F340 48 0E 10 0D */ bl __ct__6CColorFffff +/* 802823E4 0027F344 A0 01 00 3A */ lhz r0, 0x3a(r1) +/* 802823E8 0027F348 88 81 00 39 */ lbz r4, 0x39(r1) +/* 802823EC 0027F34C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 802823F0 0027F350 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802823F4 0027F354 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802823F8 0027F358 60 63 00 03 */ ori r3, r3, 3 +/* 802823FC 0027F35C 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 80282400 0027F360 98 9C 00 B5 */ stb r4, 0xb5(r28) +/* 80282404 0027F364 B0 7C 00 B6 */ sth r3, 0xb6(r28) +/* 80282408 0027F368 90 BC 00 B8 */ stw r5, 0xb8(r28) +lbl_8028240C: +/* 8028240C 0027F36C 80 1C 05 94 */ lwz r0, 0x594(r28) +/* 80282410 0027F370 2C 00 00 04 */ cmpwi r0, 4 +/* 80282414 0027F374 40 80 00 28 */ bge lbl_8028243C +/* 80282418 0027F378 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 8028241C 0027F37C 7C 7C 02 14 */ add r3, r28, r0 +/* 80282420 0027F380 34 63 05 98 */ addic. r3, r3, 0x598 +/* 80282424 0027F384 41 82 00 0C */ beq lbl_80282430 +/* 80282428 0027F388 38 9C 07 F4 */ addi r4, r28, 0x7f4 +/* 8028242C 0027F38C 48 09 07 49 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_80282430: +/* 80282430 0027F390 80 7C 05 94 */ lwz r3, 0x594(r28) +/* 80282434 0027F394 38 03 00 01 */ addi r0, r3, 1 +/* 80282438 0027F398 90 1C 05 94 */ stw r0, 0x594(r28) +lbl_8028243C: +/* 8028243C 0027F39C 80 7C 05 94 */ lwz r3, 0x594(r28) +/* 80282440 0027F3A0 3B 5C 05 98 */ addi r26, r28, 0x598 +/* 80282444 0027F3A4 3B 63 FF FF */ addi r27, r3, -1 +/* 80282448 0027F3A8 1C 1B 00 30 */ mulli r0, r27, 0x30 +/* 8028244C 0027F3AC 7F FA 02 14 */ add r31, r26, r0 +/* 80282450 0027F3B0 48 00 00 20 */ b lbl_80282470 +lbl_80282454: +/* 80282454 0027F3B4 38 1B FF FF */ addi r0, r27, -1 +/* 80282458 0027F3B8 7F E3 FB 78 */ mr r3, r31 +/* 8028245C 0027F3BC 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80282460 0027F3C0 7C 9A 02 14 */ add r4, r26, r0 +/* 80282464 0027F3C4 48 09 06 DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282468 0027F3C8 3B FF FF D0 */ addi r31, r31, -48 +/* 8028246C 0027F3CC 3B 7B FF FF */ addi r27, r27, -1 +lbl_80282470: +/* 80282470 0027F3D0 2C 1B 00 00 */ cmpwi r27, 0 +/* 80282474 0027F3D4 41 81 FF E0 */ bgt lbl_80282454 +/* 80282478 0027F3D8 7F 43 D3 78 */ mr r3, r26 +/* 8028247C 0027F3DC 38 9C 07 F4 */ addi r4, r28, 0x7f4 +/* 80282480 0027F3E0 48 09 06 C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282484 0027F3E4 80 1C 06 58 */ lwz r0, 0x658(r28) +/* 80282488 0027F3E8 3B FC 00 34 */ addi r31, r28, 0x34 +/* 8028248C 0027F3EC 2C 00 00 04 */ cmpwi r0, 4 +/* 80282490 0027F3F0 40 80 00 28 */ bge lbl_802824B8 +/* 80282494 0027F3F4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80282498 0027F3F8 7C 7C 02 14 */ add r3, r28, r0 +/* 8028249C 0027F3FC 34 63 06 5C */ addic. r3, r3, 0x65c +/* 802824A0 0027F400 41 82 00 0C */ beq lbl_802824AC +/* 802824A4 0027F404 7F E4 FB 78 */ mr r4, r31 +/* 802824A8 0027F408 48 09 06 CD */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_802824AC: +/* 802824AC 0027F40C 80 7C 06 58 */ lwz r3, 0x658(r28) +/* 802824B0 0027F410 38 03 00 01 */ addi r0, r3, 1 +/* 802824B4 0027F414 90 1C 06 58 */ stw r0, 0x658(r28) +lbl_802824B8: +/* 802824B8 0027F418 80 7C 06 58 */ lwz r3, 0x658(r28) +/* 802824BC 0027F41C 3B 3C 06 5C */ addi r25, r28, 0x65c +/* 802824C0 0027F420 3B 63 FF FF */ addi r27, r3, -1 +/* 802824C4 0027F424 1C 1B 00 30 */ mulli r0, r27, 0x30 +/* 802824C8 0027F428 7F 59 02 14 */ add r26, r25, r0 +/* 802824CC 0027F42C 48 00 00 20 */ b lbl_802824EC +lbl_802824D0: +/* 802824D0 0027F430 38 1B FF FF */ addi r0, r27, -1 +/* 802824D4 0027F434 7F 43 D3 78 */ mr r3, r26 +/* 802824D8 0027F438 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 802824DC 0027F43C 7C 99 02 14 */ add r4, r25, r0 +/* 802824E0 0027F440 48 09 06 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802824E4 0027F444 3B 5A FF D0 */ addi r26, r26, -48 +/* 802824E8 0027F448 3B 7B FF FF */ addi r27, r27, -1 +lbl_802824EC: +/* 802824EC 0027F44C 2C 1B 00 00 */ cmpwi r27, 0 +/* 802824F0 0027F450 41 81 FF E0 */ bgt lbl_802824D0 +/* 802824F4 0027F454 7F 23 CB 78 */ mr r3, r25 +/* 802824F8 0027F458 7F E4 FB 78 */ mr r4, r31 +/* 802824FC 0027F45C 48 09 06 45 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80282500 0027F460 80 1C 07 1C */ lwz r0, 0x71c(r28) +/* 80282504 0027F464 2C 00 00 04 */ cmpwi r0, 4 +/* 80282508 0027F468 40 80 00 28 */ bge lbl_80282530 +/* 8028250C 0027F46C 54 00 10 3A */ slwi r0, r0, 2 +/* 80282510 0027F470 7C 7C 02 14 */ add r3, r28, r0 +/* 80282514 0027F474 34 63 07 20 */ addic. r3, r3, 0x720 +/* 80282518 0027F478 41 82 00 0C */ beq lbl_80282524 +/* 8028251C 0027F47C C0 1C 05 88 */ lfs f0, 0x588(r28) +/* 80282520 0027F480 D0 03 00 00 */ stfs f0, 0(r3) +lbl_80282524: +/* 80282524 0027F484 80 7C 07 1C */ lwz r3, 0x71c(r28) +/* 80282528 0027F488 38 03 00 01 */ addi r0, r3, 1 +/* 8028252C 0027F48C 90 1C 07 1C */ stw r0, 0x71c(r28) +lbl_80282530: +/* 80282530 0027F490 80 7C 07 1C */ lwz r3, 0x71c(r28) +/* 80282534 0027F494 38 FC 07 20 */ addi r7, r28, 0x720 +/* 80282538 0027F498 34 A3 FF FF */ addic. r5, r3, -1 +/* 8028253C 0027F49C 54 A0 10 3A */ slwi r0, r5, 2 +/* 80282540 0027F4A0 7C A3 2B 78 */ mr r3, r5 +/* 80282544 0027F4A4 7C C7 02 14 */ add r6, r7, r0 +/* 80282548 0027F4A8 40 81 00 C4 */ ble lbl_8028260C +/* 8028254C 0027F4AC 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f +/* 80282550 0027F4B0 7C 09 03 A6 */ mtctr r0 +/* 80282554 0027F4B4 41 82 00 98 */ beq lbl_802825EC +lbl_80282558: +/* 80282558 0027F4B8 38 85 FF FF */ addi r4, r5, -1 +/* 8028255C 0027F4BC 54 80 10 3A */ slwi r0, r4, 2 +/* 80282560 0027F4C0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282564 0027F4C4 38 85 FF FE */ addi r4, r5, -2 +/* 80282568 0027F4C8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028256C 0027F4CC D0 06 00 00 */ stfs f0, 0(r6) +/* 80282570 0027F4D0 38 85 FF FD */ addi r4, r5, -3 +/* 80282574 0027F4D4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282578 0027F4D8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028257C 0027F4DC 38 85 FF FC */ addi r4, r5, -4 +/* 80282580 0027F4E0 D0 06 FF FC */ stfs f0, -4(r6) +/* 80282584 0027F4E4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282588 0027F4E8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028258C 0027F4EC 38 85 FF FB */ addi r4, r5, -5 +/* 80282590 0027F4F0 D0 06 FF F8 */ stfs f0, -8(r6) +/* 80282594 0027F4F4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282598 0027F4F8 54 80 10 3A */ slwi r0, r4, 2 +/* 8028259C 0027F4FC 38 85 FF FA */ addi r4, r5, -6 +/* 802825A0 0027F500 D0 06 FF F4 */ stfs f0, -0xc(r6) +/* 802825A4 0027F504 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825A8 0027F508 54 80 10 3A */ slwi r0, r4, 2 +/* 802825AC 0027F50C 38 85 FF F9 */ addi r4, r5, -7 +/* 802825B0 0027F510 D0 06 FF F0 */ stfs f0, -0x10(r6) +/* 802825B4 0027F514 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825B8 0027F518 54 80 10 3A */ slwi r0, r4, 2 +/* 802825BC 0027F51C 38 85 FF F8 */ addi r4, r5, -8 +/* 802825C0 0027F520 38 A5 FF F8 */ addi r5, r5, -8 +/* 802825C4 0027F524 D0 06 FF EC */ stfs f0, -0x14(r6) +/* 802825C8 0027F528 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825CC 0027F52C 54 80 10 3A */ slwi r0, r4, 2 +/* 802825D0 0027F530 D0 06 FF E8 */ stfs f0, -0x18(r6) +/* 802825D4 0027F534 7C 07 04 2E */ lfsx f0, r7, r0 +/* 802825D8 0027F538 D0 06 FF E4 */ stfs f0, -0x1c(r6) +/* 802825DC 0027F53C 38 C6 FF E0 */ addi r6, r6, -32 +/* 802825E0 0027F540 42 00 FF 78 */ bdnz lbl_80282558 +/* 802825E4 0027F544 70 63 00 07 */ andi. r3, r3, 7 +/* 802825E8 0027F548 41 82 00 24 */ beq lbl_8028260C +lbl_802825EC: +/* 802825EC 0027F54C 7C 69 03 A6 */ mtctr r3 +lbl_802825F0: +/* 802825F0 0027F550 38 85 FF FF */ addi r4, r5, -1 +/* 802825F4 0027F554 38 A5 FF FF */ addi r5, r5, -1 +/* 802825F8 0027F558 54 80 10 3A */ slwi r0, r4, 2 +/* 802825FC 0027F55C 7C 07 04 2E */ lfsx f0, r7, r0 +/* 80282600 0027F560 D0 06 00 00 */ stfs f0, 0(r6) +/* 80282604 0027F564 38 C6 FF FC */ addi r6, r6, -4 +/* 80282608 0027F568 42 00 FF E8 */ bdnz lbl_802825F0 +lbl_8028260C: +/* 8028260C 0027F56C C0 1C 05 88 */ lfs f0, 0x588(r28) +/* 80282610 0027F570 2C 1E 00 03 */ cmpwi r30, 3 +/* 80282614 0027F574 D0 07 00 00 */ stfs f0, 0(r7) +/* 80282618 0027F578 41 82 00 14 */ beq lbl_8028262C +/* 8028261C 0027F57C 40 80 03 40 */ bge lbl_8028295C +/* 80282620 0027F580 2C 1E 00 02 */ cmpwi r30, 2 +/* 80282624 0027F584 40 80 01 F0 */ bge lbl_80282814 +/* 80282628 0027F588 48 00 03 34 */ b lbl_8028295C +lbl_8028262C: +/* 8028262C 0027F58C 7F 84 E3 78 */ mr r4, r28 +/* 80282630 0027F590 38 61 01 48 */ addi r3, r1, 0x148 +/* 80282634 0027F594 81 9C 00 00 */ lwz r12, 0(r28) +/* 80282638 0027F598 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8028263C 0027F59C 7D 89 03 A6 */ mtctr r12 +/* 80282640 0027F5A0 4E 80 04 21 */ bctrl +/* 80282644 0027F5A4 7F 83 E3 78 */ mr r3, r28 +/* 80282648 0027F5A8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8028264C 0027F5AC 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 80282650 0027F5B0 7D 89 03 A6 */ mtctr r12 +/* 80282654 0027F5B4 4E 80 04 21 */ bctrl +/* 80282658 0027F5B8 7C 64 1B 78 */ mr r4, r3 +/* 8028265C 0027F5BC 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80282660 0027F5C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80282664 0027F5C4 38 A1 01 48 */ addi r5, r1, 0x148 +/* 80282668 0027F5C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8028266C 0027F5CC 7D 89 03 A6 */ mtctr r12 +/* 80282670 0027F5D0 4E 80 04 21 */ bctrl +/* 80282674 0027F5D4 C0 A1 00 A8 */ lfs f5, 0xa8(r1) +/* 80282678 0027F5D8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8028267C 0027F5DC C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80282680 0027F5E0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80282684 0027F5E4 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80282688 0027F5E8 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8028268C 0027F5EC C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 80282690 0027F5F0 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80282694 0027F5F4 D0 A1 00 F8 */ stfs f5, 0xf8(r1) +/* 80282698 0027F5F8 D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 8028269C 0027F5FC D0 61 01 00 */ stfs f3, 0x100(r1) +/* 802826A0 0027F600 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 802826A4 0027F604 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802826A8 0027F608 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 802826AC 0027F60C 48 0B 4F 61 */ bl GetCenterPoint__6CAABoxCFv +/* 802826B0 0027F610 7F 83 E3 78 */ mr r3, r28 +/* 802826B4 0027F614 4B E9 8C 01 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 802826B8 0027F618 4B D9 8E 7D */ bl Identity__10CAxisAngleFv +/* 802826BC 0027F61C 7C 64 1B 78 */ mr r4, r3 +/* 802826C0 0027F620 7F 83 E3 78 */ mr r3, r28 +/* 802826C4 0027F624 4B E9 85 39 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 802826C8 0027F628 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 802826CC 0027F62C 3B 20 00 00 */ li r25, 0 +/* 802826D0 0027F630 4B D8 82 31 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 802826D4 0027F634 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802826D8 0027F638 41 82 00 08 */ beq lbl_802826E0 +/* 802826DC 0027F63C 3B 20 00 01 */ li r25, 1 +lbl_802826E0: +/* 802826E0 0027F640 C0 3C 05 74 */ lfs f1, 0x574(r28) +/* 802826E4 0027F644 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 802826E8 0027F648 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802826EC 0027F64C 4C 41 13 82 */ cror 2, 1, 2 +/* 802826F0 0027F650 41 82 00 0C */ beq lbl_802826FC +/* 802826F4 0027F654 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802826F8 0027F658 41 82 02 64 */ beq lbl_8028295C +lbl_802826FC: +/* 802826FC 0027F65C C0 3C 08 24 */ lfs f1, 0x824(r28) +/* 80282700 0027F660 C0 02 BD 78 */ lfs f0, lbl_805ADA98@sda21(r2) +/* 80282704 0027F664 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282708 0027F668 40 80 00 0C */ bge lbl_80282714 +/* 8028270C 0027F66C 38 62 BD 78 */ addi r3, r2, lbl_805ADA98@sda21 +/* 80282710 0027F670 48 00 00 08 */ b lbl_80282718 +lbl_80282714: +/* 80282714 0027F674 38 7C 08 24 */ addi r3, r28, 0x824 +lbl_80282718: +/* 80282718 0027F678 C0 03 00 00 */ lfs f0, 0(r3) +/* 8028271C 0027F67C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80282720 0027F680 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80282724 0027F684 7F 83 E3 78 */ mr r3, r28 +/* 80282728 0027F688 D0 1C 08 24 */ stfs f0, 0x824(r28) +/* 8028272C 0027F68C 7F A4 EB 78 */ mr r4, r29 +/* 80282730 0027F690 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80282734 0027F694 C0 46 00 00 */ lfs f2, 0(r6) +/* 80282738 0027F698 C0 26 00 04 */ lfs f1, 4(r6) +/* 8028273C 0027F69C C0 06 00 08 */ lfs f0, 8(r6) +/* 80282740 0027F6A0 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80282744 0027F6A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80282748 0027F6A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8028274C 0027F6AC 4B D9 03 49 */ bl CanLeaveMorphBallState__7CPlayerCFR13CStateManagerR9CVector3f +/* 80282750 0027F6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282754 0027F6B4 41 82 00 9C */ beq lbl_802827F0 +/* 80282758 0027F6B8 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8028275C 0027F6BC 7F 83 E3 78 */ mr r3, r28 +/* 80282760 0027F6C0 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80282764 0027F6C4 38 81 00 68 */ addi r4, r1, 0x68 +/* 80282768 0027F6C8 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 8028276C 0027F6CC C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 80282770 0027F6D0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80282774 0027F6D4 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 80282778 0027F6D8 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8028277C 0027F6DC EC 43 10 2A */ fadds f2, f3, f2 +/* 80282780 0027F6E0 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80282784 0027F6E4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80282788 0027F6E8 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8028278C 0027F6EC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80282790 0027F6F0 4B DD 06 FD */ bl SetTranslation__6CActorFRC9CVector3f +/* 80282794 0027F6F4 7F 83 E3 78 */ mr r3, r28 +/* 80282798 0027F6F8 7F A4 EB 78 */ mr r4, r29 +/* 8028279C 0027F6FC 48 00 05 81 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager +/* 802827A0 0027F700 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802827A4 0027F704 38 80 00 00 */ li r4, 0 +/* 802827A8 0027F708 38 00 00 03 */ li r0, 3 +/* 802827AC 0027F70C 98 81 00 30 */ stb r4, 0x30(r1) +/* 802827B0 0027F710 FC 40 08 90 */ fmr f2, f1 +/* 802827B4 0027F714 38 61 00 34 */ addi r3, r1, 0x34 +/* 802827B8 0027F718 FC 60 08 90 */ fmr f3, f1 +/* 802827BC 0027F71C 98 81 00 31 */ stb r4, 0x31(r1) +/* 802827C0 0027F720 FC 80 08 90 */ fmr f4, f1 +/* 802827C4 0027F724 B0 01 00 32 */ sth r0, 0x32(r1) +/* 802827C8 0027F728 48 0E 0C 25 */ bl __ct__6CColorFffff +/* 802827CC 0027F72C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802827D0 0027F730 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802827D4 0027F734 88 01 00 31 */ lbz r0, 0x31(r1) +/* 802827D8 0027F738 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 802827DC 0027F73C A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802827E0 0027F740 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 802827E4 0027F744 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802827E8 0027F748 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 802827EC 0027F74C 48 00 01 70 */ b lbl_8028295C +lbl_802827F0: +/* 802827F0 0027F750 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 802827F4 0027F754 FC 20 F8 90 */ fmr f1, f31 +/* 802827F8 0027F758 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 802827FC 0027F75C 7F 83 E3 78 */ mr r3, r28 +/* 80282800 0027F760 7F A4 EB 78 */ mr r4, r29 +/* 80282804 0027F764 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80282808 0027F768 D0 1C 05 74 */ stfs f0, 0x574(r28) +/* 8028280C 0027F76C 48 00 11 41 */ bl TransitionToMorphBallState__7CPlayerFfR13CStateManager +/* 80282810 0027F770 48 00 01 4C */ b lbl_8028295C +lbl_80282814: +/* 80282814 0027F774 7F 83 E3 78 */ mr r3, r28 +/* 80282818 0027F778 4B E9 8A 9D */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 8028281C 0027F77C 4B D9 8D 19 */ bl Identity__10CAxisAngleFv +/* 80282820 0027F780 7C 64 1B 78 */ mr r4, r3 +/* 80282824 0027F784 7F 83 E3 78 */ mr r3, r28 +/* 80282828 0027F788 4B E9 83 D5 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 8028282C 0027F78C 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80282830 0027F790 3B 20 00 00 */ li r25, 0 +/* 80282834 0027F794 4B D8 80 CD */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80282838 0027F798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028283C 0027F79C 41 82 00 08 */ beq lbl_80282844 +/* 80282840 0027F7A0 3B 20 00 01 */ li r25, 1 +lbl_80282844: +/* 80282844 0027F7A4 C0 3C 05 74 */ lfs f1, 0x574(r28) +/* 80282848 0027F7A8 C0 1C 05 78 */ lfs f0, 0x578(r28) +/* 8028284C 0027F7AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282850 0027F7B0 4C 41 13 82 */ cror 2, 1, 2 +/* 80282854 0027F7B4 41 82 00 0C */ beq lbl_80282860 +/* 80282858 0027F7B8 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8028285C 0027F7BC 41 82 00 A4 */ beq lbl_80282900 +lbl_80282860: +/* 80282860 0027F7C0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282864 0027F7C4 7F 83 E3 78 */ mr r3, r28 +/* 80282868 0027F7C8 7F A4 EB 78 */ mr r4, r29 +/* 8028286C 0027F7CC 4B D9 06 91 */ bl CanEnterMorphBallState__7CPlayerCFR13CStateManagerf +/* 80282870 0027F7D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282874 0027F7D4 41 82 00 6C */ beq lbl_802828E0 +/* 80282878 0027F7D8 7F 83 E3 78 */ mr r3, r28 +/* 8028287C 0027F7DC 7F A4 EB 78 */ mr r4, r29 +/* 80282880 0027F7E0 48 00 07 AD */ bl ActivateMorphBallCamera__7CPlayerFR13CStateManager +/* 80282884 0027F7E4 7F 83 E3 78 */ mr r3, r28 +/* 80282888 0027F7E8 7F A4 EB 78 */ mr r4, r29 +/* 8028288C 0027F7EC 48 00 06 65 */ bl EnterMorphBallState__7CPlayerFR13CStateManager +/* 80282890 0027F7F0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282894 0027F7F4 38 80 00 00 */ li r4, 0 +/* 80282898 0027F7F8 38 00 00 03 */ li r0, 3 +/* 8028289C 0027F7FC 98 81 00 28 */ stb r4, 0x28(r1) +/* 802828A0 0027F800 FC 40 08 90 */ fmr f2, f1 +/* 802828A4 0027F804 38 61 00 2C */ addi r3, r1, 0x2c +/* 802828A8 0027F808 FC 60 08 90 */ fmr f3, f1 +/* 802828AC 0027F80C 98 81 00 29 */ stb r4, 0x29(r1) +/* 802828B0 0027F810 FC 80 08 90 */ fmr f4, f1 +/* 802828B4 0027F814 B0 01 00 2A */ sth r0, 0x2a(r1) +/* 802828B8 0027F818 48 0E 0B 35 */ bl __ct__6CColorFffff +/* 802828BC 0027F81C 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802828C0 0027F820 98 1C 00 B4 */ stb r0, 0xb4(r28) +/* 802828C4 0027F824 88 01 00 29 */ lbz r0, 0x29(r1) +/* 802828C8 0027F828 98 1C 00 B5 */ stb r0, 0xb5(r28) +/* 802828CC 0027F82C A0 01 00 2A */ lhz r0, 0x2a(r1) +/* 802828D0 0027F830 B0 1C 00 B6 */ sth r0, 0xb6(r28) +/* 802828D4 0027F834 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802828D8 0027F838 90 1C 00 B8 */ stw r0, 0xb8(r28) +/* 802828DC 0027F83C 48 00 00 24 */ b lbl_80282900 +lbl_802828E0: +/* 802828E0 0027F840 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 802828E4 0027F844 FC 20 F8 90 */ fmr f1, f31 +/* 802828E8 0027F848 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 802828EC 0027F84C 7F 83 E3 78 */ mr r3, r28 +/* 802828F0 0027F850 7F A4 EB 78 */ mr r4, r29 +/* 802828F4 0027F854 EC 02 00 28 */ fsubs f0, f2, f0 +/* 802828F8 0027F858 D0 1C 05 74 */ stfs f0, 0x574(r28) +/* 802828FC 0027F85C 48 00 07 79 */ bl TransitionFromMorphBallState__7CPlayerFR13CStateManager +lbl_80282900: +/* 80282900 0027F860 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282904 0027F864 C0 5C 05 78 */ lfs f2, 0x578(r28) +/* 80282908 0027F868 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 8028290C 0027F86C 40 82 00 08 */ bne lbl_80282914 +/* 80282910 0027F870 48 00 00 24 */ b lbl_80282934 +lbl_80282914: +/* 80282914 0027F874 C0 1C 05 74 */ lfs f0, 0x574(r28) +/* 80282918 0027F878 38 81 00 0C */ addi r4, r1, 0xc +/* 8028291C 0027F87C 38 6D 99 28 */ addi r3, r13, lbl_805A84E8@sda21 +/* 80282920 0027F880 38 AD 99 2C */ addi r5, r13, lbl_805A84EC@sda21 +/* 80282924 0027F884 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80282928 0027F888 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8028292C 0027F88C 4B D8 99 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80282930 0027F890 C0 23 00 00 */ lfs f1, 0(r3) +lbl_80282934: +/* 80282934 0027F894 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80282938 0027F898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028293C 0027F89C 4C 41 13 82 */ cror 2, 1, 2 +/* 80282940 0027F8A0 40 82 00 1C */ bne lbl_8028295C +/* 80282944 0027F8A4 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282948 0027F8A8 4B E6 F6 65 */ bl IsMorphBallTransitionFlashValid__10CMorphBallCFv +/* 8028294C 0027F8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80282950 0027F8B0 40 82 00 0C */ bne lbl_8028295C +/* 80282954 0027F8B4 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282958 0027F8B8 4B E6 F8 C9 */ bl ResetMorphBallTransitionFlash__10CMorphBallFv +lbl_8028295C: +/* 8028295C 0027F8BC E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 80282960 0027F8C0 CB E1 02 60 */ lfd f31, 0x260(r1) +/* 80282964 0027F8C4 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 80282968 0027F8C8 CB C1 02 50 */ lfd f30, 0x250(r1) +/* 8028296C 0027F8CC E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 80282970 0027F8D0 CB A1 02 40 */ lfd f29, 0x240(r1) +/* 80282974 0027F8D4 BB 21 02 24 */ lmw r25, 0x224(r1) +/* 80282978 0027F8D8 80 01 02 74 */ lwz r0, 0x274(r1) +/* 8028297C 0027F8DC 7C 08 03 A6 */ mtlr r0 +/* 80282980 0027F8E0 38 21 02 70 */ addi r1, r1, 0x270 +/* 80282984 0027F8E4 4E 80 00 20 */ blr + +.global sub_80282988 +sub_80282988: +/* 80282988 0027F8E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028298C 0027F8EC 7C 08 02 A6 */ mflr r0 +/* 80282990 0027F8F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80282994 0027F8F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80282998 0027F8F8 7C 7F 1B 78 */ mr r31, r3 +/* 8028299C 0027F8FC 80 C5 00 00 */ lwz r6, 0(r5) +/* 802829A0 0027F900 80 05 00 00 */ lwz r0, 0(r5) +/* 802829A4 0027F904 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802829A8 0027F908 38 E6 00 08 */ addi r7, r6, 8 +/* 802829AC 0027F90C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802829B0 0027F910 90 E1 00 08 */ stw r7, 8(r1) +/* 802829B4 0027F914 90 E1 00 0C */ stw r7, 0xc(r1) +/* 802829B8 0027F918 90 01 00 10 */ stw r0, 0x10(r1) +/* 802829BC 0027F91C 48 00 00 19 */ bl "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +/* 802829C0 0027F920 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802829C4 0027F924 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802829C8 0027F928 7C 08 03 A6 */ mtlr r0 +/* 802829CC 0027F92C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802829D0 0027F930 4E 80 00 20 */ blr + +.global "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" +"erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": +/* 802829D4 0027F934 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802829D8 0027F938 7C 08 02 A6 */ mflr r0 +/* 802829DC 0027F93C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802829E0 0027F940 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802829E4 0027F944 7C BF 2B 78 */ mr r31, r5 +/* 802829E8 0027F948 7C D9 33 78 */ mr r25, r6 +/* 802829EC 0027F94C 7C 7D 1B 78 */ mr r29, r3 +/* 802829F0 0027F950 7C 9E 23 78 */ mr r30, r4 +/* 802829F4 0027F954 83 65 00 00 */ lwz r27, 0(r5) +/* 802829F8 0027F958 83 86 00 00 */ lwz r28, 0(r6) +/* 802829FC 0027F95C 93 61 00 0C */ stw r27, 0xc(r1) +/* 80282A00 0027F960 93 81 00 08 */ stw r28, 8(r1) +/* 80282A04 0027F964 48 00 00 28 */ b lbl_80282A2C +lbl_80282A08: +/* 80282A08 0027F968 28 1B 00 00 */ cmplwi r27, 0 +/* 80282A0C 0027F96C 41 82 00 1C */ beq lbl_80282A28 +/* 80282A10 0027F970 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A14 0027F974 28 00 00 00 */ cmplwi r0, 0 +/* 80282A18 0027F978 41 82 00 10 */ beq lbl_80282A28 +/* 80282A1C 0027F97C 80 7B 00 04 */ lwz r3, 4(r27) +/* 80282A20 0027F980 38 80 00 01 */ li r4, 1 +/* 80282A24 0027F984 4B E9 40 29 */ bl __dt__10CModelDataFv +lbl_80282A28: +/* 80282A28 0027F988 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80282A2C: +/* 80282A2C 0027F98C 7C 1B E0 40 */ cmplw r27, r28 +/* 80282A30 0027F990 40 82 FF D8 */ bne lbl_80282A08 +/* 80282A34 0027F994 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80282A38 0027F998 3B 80 00 00 */ li r28, 0 +/* 80282A3C 0027F99C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80282A40 0027F9A0 83 79 00 00 */ lwz r27, 0(r25) +/* 80282A44 0027F9A4 7C 04 00 50 */ subf r0, r4, r0 +/* 80282A48 0027F9A8 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80282A4C 0027F9AC 7C 60 01 94 */ addze r3, r0 +/* 80282A50 0027F9B0 54 60 18 38 */ slwi r0, r3, 3 +/* 80282A54 0027F9B4 7C 79 1B 78 */ mr r25, r3 +/* 80282A58 0027F9B8 7F 44 02 14 */ add r26, r4, r0 +/* 80282A5C 0027F9BC 48 00 00 4C */ b lbl_80282AA8 +lbl_80282A60: +/* 80282A60 0027F9C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80282A64 0027F9C4 41 82 00 18 */ beq lbl_80282A7C +/* 80282A68 0027F9C8 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A6C 0027F9CC 98 1A 00 00 */ stb r0, 0(r26) +/* 80282A70 0027F9D0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80282A74 0027F9D4 90 1A 00 04 */ stw r0, 4(r26) +/* 80282A78 0027F9D8 9B 9B 00 00 */ stb r28, 0(r27) +lbl_80282A7C: +/* 80282A7C 0027F9DC 28 1B 00 00 */ cmplwi r27, 0 +/* 80282A80 0027F9E0 41 82 00 1C */ beq lbl_80282A9C +/* 80282A84 0027F9E4 88 1B 00 00 */ lbz r0, 0(r27) +/* 80282A88 0027F9E8 28 00 00 00 */ cmplwi r0, 0 +/* 80282A8C 0027F9EC 41 82 00 10 */ beq lbl_80282A9C +/* 80282A90 0027F9F0 80 7B 00 04 */ lwz r3, 4(r27) +/* 80282A94 0027F9F4 38 80 00 01 */ li r4, 1 +/* 80282A98 0027F9F8 4B E9 3F B5 */ bl __dt__10CModelDataFv +lbl_80282A9C: +/* 80282A9C 0027F9FC 3B 5A 00 08 */ addi r26, r26, 8 +/* 80282AA0 0027FA00 3B 39 00 01 */ addi r25, r25, 1 +/* 80282AA4 0027FA04 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80282AA8: +/* 80282AA8 0027FA08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80282AAC 0027FA0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80282AB0 0027FA10 54 00 18 38 */ slwi r0, r0, 3 +/* 80282AB4 0027FA14 7C 03 02 14 */ add r0, r3, r0 +/* 80282AB8 0027FA18 7C 1B 00 40 */ cmplw r27, r0 +/* 80282ABC 0027FA1C 40 82 FF A4 */ bne lbl_80282A60 +/* 80282AC0 0027FA20 93 3E 00 04 */ stw r25, 4(r30) +/* 80282AC4 0027FA24 80 1F 00 00 */ lwz r0, 0(r31) +/* 80282AC8 0027FA28 90 1D 00 00 */ stw r0, 0(r29) +/* 80282ACC 0027FA2C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80282AD0 0027FA30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282AD4 0027FA34 7C 08 03 A6 */ mtlr r0 +/* 80282AD8 0027FA38 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282ADC 0027FA3C 4E 80 00 20 */ blr + +.global Clone__11IAnimReaderCFv +Clone__11IAnimReaderCFv: +/* 80282AE0 0027FA40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80282AE4 0027FA44 7C 08 02 A6 */ mflr r0 +/* 80282AE8 0027FA48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80282AEC 0027FA4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80282AF0 0027FA50 7C 7F 1B 78 */ mr r31, r3 +/* 80282AF4 0027FA54 81 84 00 00 */ lwz r12, 0(r4) +/* 80282AF8 0027FA58 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80282AFC 0027FA5C 7D 89 03 A6 */ mtctr r12 +/* 80282B00 0027FA60 4E 80 04 21 */ bctrl +/* 80282B04 0027FA64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80282B08 0027FA68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80282B0C 0027FA6C 7C 08 03 A6 */ mtlr r0 +/* 80282B10 0027FA70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80282B14 0027FA74 4E 80 00 20 */ blr + +.global UpdateTransitionFilter__7CPlayerFfR13CStateManager +UpdateTransitionFilter__7CPlayerFfR13CStateManager: +/* 80282B18 0027FA78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80282B1C 0027FA7C 7C 08 02 A6 */ mflr r0 +/* 80282B20 0027FA80 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282B24 0027FA84 38 A4 0C E8 */ addi r5, r4, 0xce8 +/* 80282B28 0027FA88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80282B2C 0027FA8C C0 03 08 24 */ lfs f0, 0x824(r3) +/* 80282B30 0027FA90 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80282B34 0027FA94 4C 40 13 82 */ cror 2, 0, 2 +/* 80282B38 0027FA98 40 82 00 14 */ bne lbl_80282B4C +/* 80282B3C 0027FA9C FC 20 10 90 */ fmr f1, f2 +/* 80282B40 0027FAA0 7C A3 2B 78 */ mr r3, r5 +/* 80282B44 0027FAA4 4B E6 A8 25 */ bl DisableFilter__17CCameraFilterPassFf +/* 80282B48 0027FAA8 48 00 01 30 */ b lbl_80282C78 +lbl_80282B4C: +/* 80282B4C 0027FAAC EC 20 08 2A */ fadds f1, f0, f1 +/* 80282B50 0027FAB0 C0 02 BD A4 */ lfs f0, lbl_805ADAC4@sda21(r2) +/* 80282B54 0027FAB4 D0 23 08 24 */ stfs f1, 0x824(r3) +/* 80282B58 0027FAB8 C0 23 08 24 */ lfs f1, 0x824(r3) +/* 80282B5C 0027FABC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282B60 0027FAC0 40 81 00 18 */ ble lbl_80282B78 +/* 80282B64 0027FAC4 FC 20 10 90 */ fmr f1, f2 +/* 80282B68 0027FAC8 D0 43 08 24 */ stfs f2, 0x824(r3) +/* 80282B6C 0027FACC 7C A3 2B 78 */ mr r3, r5 +/* 80282B70 0027FAD0 4B E6 A7 F9 */ bl DisableFilter__17CCameraFilterPassFf +/* 80282B74 0027FAD4 48 00 01 04 */ b lbl_80282C78 +lbl_80282B78: +/* 80282B78 0027FAD8 C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) +/* 80282B7C 0027FADC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282B80 0027FAE0 41 80 00 F8 */ blt lbl_80282C78 +/* 80282B84 0027FAE4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80282B88 0027FAE8 38 80 00 FF */ li r4, 0xff +/* 80282B8C 0027FAEC C0 42 BD AC */ lfs f2, lbl_805ADACC@sda21(r2) +/* 80282B90 0027FAF0 38 60 00 DF */ li r3, 0xdf +/* 80282B94 0027FAF4 38 00 00 89 */ li r0, 0x89 +/* 80282B98 0027FAF8 98 81 00 0C */ stb r4, 0xc(r1) +/* 80282B9C 0027FAFC FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 80282BA0 0027FB00 98 61 00 0D */ stb r3, 0xd(r1) +/* 80282BA4 0027FB04 98 01 00 0E */ stb r0, 0xe(r1) +/* 80282BA8 0027FB08 98 81 00 0F */ stb r4, 0xf(r1) +/* 80282BAC 0027FB0C 40 80 00 30 */ bge lbl_80282BDC +/* 80282BB0 0027FB10 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 80282BB4 0027FB14 C0 22 BD B0 */ lfs f1, lbl_805ADAD0@sda21(r2) +/* 80282BB8 0027FB18 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80282BBC 0027FB1C EC 00 10 24 */ fdivs f0, f0, f2 +/* 80282BC0 0027FB20 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80282BC4 0027FB24 F0 61 A0 0A */ psq_st f3, 10(r1), 1, qr2 +/* 80282BC8 0027FB28 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282BCC 0027FB2C 88 01 00 0A */ lbz r0, 0xa(r1) +/* 80282BD0 0027FB30 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282BD4 0027FB34 90 01 00 0C */ stw r0, 0xc(r1) +/* 80282BD8 0027FB38 48 00 00 84 */ b lbl_80282C5C +lbl_80282BDC: +/* 80282BDC 0027FB3C C0 42 BD B8 */ lfs f2, lbl_805ADAD8@sda21(r2) +/* 80282BE0 0027FB40 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 80282BE4 0027FB44 4C 41 13 82 */ cror 2, 1, 2 +/* 80282BE8 0027FB48 40 82 00 5C */ bne lbl_80282C44 +/* 80282BEC 0027FB4C EC 24 10 28 */ fsubs f1, f4, f2 +/* 80282BF0 0027FB50 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80282BF4 0027FB54 EC 41 10 24 */ fdivs f2, f1, f2 +/* 80282BF8 0027FB58 FC 20 12 10 */ fabs f1, f2 +/* 80282BFC 0027FB5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80282C00 0027FB60 40 81 00 14 */ ble lbl_80282C14 +/* 80282C04 0027FB64 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80282C08 0027FB68 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80282C0C 0027FB6C FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80282C10 0027FB70 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80282C14: +/* 80282C14 0027FB74 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80282C18 0027FB78 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80282C1C 0027FB7C EC 00 10 28 */ fsubs f0, f0, f2 +/* 80282C20 0027FB80 C0 42 BD B0 */ lfs f2, lbl_805ADAD0@sda21(r2) +/* 80282C24 0027FB84 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80282C28 0027FB88 EC 62 00 32 */ fmuls f3, f2, f0 +/* 80282C2C 0027FB8C F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 80282C30 0027FB90 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282C34 0027FB94 88 01 00 09 */ lbz r0, 9(r1) +/* 80282C38 0027FB98 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282C3C 0027FB9C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80282C40 0027FBA0 48 00 00 1C */ b lbl_80282C5C +lbl_80282C44: +/* 80282C44 0027FBA4 C0 62 BD CC */ lfs f3, lbl_805ADAEC@sda21(r2) +/* 80282C48 0027FBA8 F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 +/* 80282C4C 0027FBAC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80282C50 0027FBB0 88 01 00 08 */ lbz r0, 8(r1) +/* 80282C54 0027FBB4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 80282C58 0027FBB8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80282C5C: +/* 80282C5C 0027FBBC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282C60 0027FBC0 7C A3 2B 78 */ mr r3, r5 +/* 80282C64 0027FBC4 38 C1 00 0C */ addi r6, r1, 0xc +/* 80282C68 0027FBC8 38 80 00 03 */ li r4, 3 +/* 80282C6C 0027FBCC 38 A0 00 05 */ li r5, 5 +/* 80282C70 0027FBD0 38 E0 FF FF */ li r7, -1 +/* 80282C74 0027FBD4 4B E6 A7 2D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +lbl_80282C78: +/* 80282C78 0027FBD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80282C7C 0027FBDC 7C 08 03 A6 */ mtlr r0 +/* 80282C80 0027FBE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80282C84 0027FBE4 4E 80 00 20 */ blr + +.global InitializeBallTransition__7CPlayerFv +InitializeBallTransition__7CPlayerFv: +/* 80282C88 0027FBE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80282C8C 0027FBEC 7C 08 02 A6 */ mflr r0 +/* 80282C90 0027FBF0 38 80 00 00 */ li r4, 0 +/* 80282C94 0027FBF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80282C98 0027FBF8 80 A3 00 64 */ lwz r5, 0x64(r3) +/* 80282C9C 0027FBFC 28 05 00 00 */ cmplwi r5, 0 +/* 80282CA0 0027FC00 41 82 00 14 */ beq lbl_80282CB4 +/* 80282CA4 0027FC04 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80282CA8 0027FC08 28 00 00 00 */ cmplwi r0, 0 +/* 80282CAC 0027FC0C 41 82 00 08 */ beq lbl_80282CB4 +/* 80282CB0 0027FC10 38 80 00 01 */ li r4, 1 +lbl_80282CB4: +/* 80282CB4 0027FC14 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80282CB8 0027FC18 41 82 00 54 */ beq lbl_80282D0C +/* 80282CBC 0027FC1C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80282CC0 0027FC20 38 00 00 00 */ li r0, 0 +/* 80282CC4 0027FC24 38 80 00 02 */ li r4, 2 +/* 80282CC8 0027FC28 38 E0 FF FF */ li r7, -1 +/* 80282CCC 0027FC2C 38 C0 00 01 */ li r6, 1 +/* 80282CD0 0027FC30 90 81 00 08 */ stw r4, 8(r1) +/* 80282CD4 0027FC34 38 81 00 08 */ addi r4, r1, 8 +/* 80282CD8 0027FC38 38 A0 00 00 */ li r5, 0 +/* 80282CDC 0027FC3C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80282CE0 0027FC40 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80282CE4 0027FC44 98 C1 00 14 */ stb r6, 0x14(r1) +/* 80282CE8 0027FC48 90 01 00 18 */ stw r0, 0x18(r1) +/* 80282CEC 0027FC4C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80282CF0 0027FC50 98 01 00 20 */ stb r0, 0x20(r1) +/* 80282CF4 0027FC54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80282CF8 0027FC58 90 01 00 28 */ stw r0, 0x28(r1) +/* 80282CFC 0027FC5C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80282D00 0027FC60 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80282D04 0027FC64 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80282D08 0027FC68 4B DA A0 75 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +lbl_80282D0C: +/* 80282D0C 0027FC6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282D10 0027FC70 7C 08 03 A6 */ mtlr r0 +/* 80282D14 0027FC74 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282D18 0027FC78 4E 80 00 20 */ blr + +.global LeaveMorphBallState__7CPlayerFR13CStateManager +LeaveMorphBallState__7CPlayerFR13CStateManager: +/* 80282D1C 0027FC7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80282D20 0027FC80 7C 08 02 A6 */ mflr r0 +/* 80282D24 0027FC84 90 01 00 34 */ stw r0, 0x34(r1) +/* 80282D28 0027FC88 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80282D2C 0027FC8C 7C 9F 23 78 */ mr r31, r4 +/* 80282D30 0027FC90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80282D34 0027FC94 7C 7E 1B 78 */ mr r30, r3 +/* 80282D38 0027FC98 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80282D3C 0027FC9C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80282D40 0027FCA0 80 03 07 34 */ lwz r0, 0x734(r3) +/* 80282D44 0027FCA4 83 83 07 3C */ lwz r28, 0x73c(r3) +/* 80282D48 0027FCA8 54 00 18 38 */ slwi r0, r0, 3 +/* 80282D4C 0027FCAC 7F BC 02 14 */ add r29, r28, r0 +/* 80282D50 0027FCB0 93 81 00 14 */ stw r28, 0x14(r1) +/* 80282D54 0027FCB4 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80282D58 0027FCB8 93 A1 00 18 */ stw r29, 0x18(r1) +/* 80282D5C 0027FCBC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80282D60 0027FCC0 48 00 00 28 */ b lbl_80282D88 +lbl_80282D64: +/* 80282D64 0027FCC4 28 1C 00 00 */ cmplwi r28, 0 +/* 80282D68 0027FCC8 41 82 00 1C */ beq lbl_80282D84 +/* 80282D6C 0027FCCC 88 1C 00 00 */ lbz r0, 0(r28) +/* 80282D70 0027FCD0 28 00 00 00 */ cmplwi r0, 0 +/* 80282D74 0027FCD4 41 82 00 10 */ beq lbl_80282D84 +/* 80282D78 0027FCD8 80 7C 00 04 */ lwz r3, 4(r28) +/* 80282D7C 0027FCDC 38 80 00 01 */ li r4, 1 +/* 80282D80 0027FCE0 4B E9 3C CD */ bl __dt__10CModelDataFv +lbl_80282D84: +/* 80282D84 0027FCE4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80282D88: +/* 80282D88 0027FCE8 7C 1C E8 40 */ cmplw r28, r29 +/* 80282D8C 0027FCEC 40 82 FF D8 */ bne lbl_80282D64 +/* 80282D90 0027FCF0 38 00 00 00 */ li r0, 0 +/* 80282D94 0027FCF4 7F C3 F3 78 */ mr r3, r30 +/* 80282D98 0027FCF8 90 1E 07 34 */ stw r0, 0x734(r30) +/* 80282D9C 0027FCFC 7F E5 FB 78 */ mr r5, r31 +/* 80282DA0 0027FD00 38 80 00 25 */ li r4, 0x25 +/* 80282DA4 0027FD04 4B DD 15 AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80282DA8 0027FD08 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80282DAC 0027FD0C 7F C3 F3 78 */ mr r3, r30 +/* 80282DB0 0027FD10 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 80282DB4 0027FD14 7F E5 FB 78 */ mr r5, r31 +/* 80282DB8 0027FD18 C0 06 00 00 */ lfs f0, 0(r6) +/* 80282DBC 0027FD1C 38 80 00 00 */ li r4, 0 +/* 80282DC0 0027FD20 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80282DC4 0027FD24 C0 06 00 04 */ lfs f0, 4(r6) +/* 80282DC8 0027FD28 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80282DCC 0027FD2C C0 06 00 08 */ lfs f0, 8(r6) +/* 80282DD0 0027FD30 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80282DD4 0027FD34 4B D9 4A 11 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80282DD8 0027FD38 C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) +/* 80282DDC 0027FD3C 7F C3 F3 78 */ mr r3, r30 +/* 80282DE0 0027FD40 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282DE4 0027FD44 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) +/* 80282DE8 0027FD48 4B D9 02 85 */ bl SetHudDisable__7CPlayerFfff +/* 80282DEC 0027FD4C C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) +/* 80282DF0 0027FD50 7F C3 F3 78 */ mr r3, r30 +/* 80282DF4 0027FD54 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80282DF8 0027FD58 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) +/* 80282DFC 0027FD5C 4B D9 02 71 */ bl SetHudDisable__7CPlayerFfff +/* 80282E00 0027FD60 7F C3 F3 78 */ mr r3, r30 +/* 80282E04 0027FD64 7F E4 FB 78 */ mr r4, r31 +/* 80282E08 0027FD68 48 00 11 21 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +/* 80282E0C 0027FD6C 7F C3 F3 78 */ mr r3, r30 +/* 80282E10 0027FD70 4B E9 85 69 */ bl Stop__13CPhysicsActorFv +/* 80282E14 0027FD74 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80282E18 0027FD78 7F E4 FB 78 */ mr r4, r31 +/* 80282E1C 0027FD7C D0 1E 03 E4 */ stfs f0, 0x3e4(r30) +/* 80282E20 0027FD80 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +/* 80282E24 0027FD84 D0 1E 03 EC */ stfs f0, 0x3ec(r30) +/* 80282E28 0027FD88 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) +/* 80282E2C 0027FD8C 80 7E 07 68 */ lwz r3, 0x768(r30) +/* 80282E30 0027FD90 4B E7 28 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager +/* 80282E34 0027FD94 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E38 0027FD98 7F E4 FB 78 */ mr r4, r31 +/* 80282E3C 0027FD9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80282E40 0027FDA0 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282E44 0027FDA4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80282E48 0027FDA8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80282E4C 0027FDAC B0 01 00 08 */ sth r0, 8(r1) +/* 80282E50 0027FDB0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E54 0027FDB4 4B D8 79 F5 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80282E58 0027FDB8 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E5C 0027FDBC 7F E5 FB 78 */ mr r5, r31 +/* 80282E60 0027FDC0 38 80 00 00 */ li r4, 0 +/* 80282E64 0027FDC4 80 63 00 80 */ lwz r3, 0x80(r3) +/* 80282E68 0027FDC8 4B DF FE 35 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80282E6C 0027FDCC 7F C3 F3 78 */ mr r3, r30 +/* 80282E70 0027FDD0 7F E5 FB 78 */ mr r5, r31 +/* 80282E74 0027FDD4 38 80 00 00 */ li r4, 0 +/* 80282E78 0027FDD8 4B D9 44 25 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80282E7C 0027FDDC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282E80 0027FDE0 38 A0 00 01 */ li r5, 1 +/* 80282E84 0027FDE4 7F E4 FB 78 */ mr r4, r31 +/* 80282E88 0027FDE8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282E8C 0027FDEC 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282E90 0027FDF0 88 03 01 C6 */ lbz r0, 0x1c6(r3) +/* 80282E94 0027FDF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80282E98 0027FDF8 98 03 01 C6 */ stb r0, 0x1c6(r3) +/* 80282E9C 0027FDFC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80282EA0 0027FE00 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80282EA4 0027FE04 81 83 00 00 */ lwz r12, 0(r3) +/* 80282EA8 0027FE08 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80282EAC 0027FE0C 7D 89 03 A6 */ mtctr r12 +/* 80282EB0 0027FE10 4E 80 04 21 */ bctrl +/* 80282EB4 0027FE14 7F C3 F3 78 */ mr r3, r30 +/* 80282EB8 0027FE18 7F E5 FB 78 */ mr r5, r31 +/* 80282EBC 0027FE1C 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80282EC0 0027FE20 4B D9 60 09 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 80282EC4 0027FE24 7F C3 F3 78 */ mr r3, r30 +/* 80282EC8 0027FE28 7F E4 FB 78 */ mr r4, r31 +/* 80282ECC 0027FE2C 4B D9 71 E1 */ bl DrawGun__7CPlayerFR13CStateManager +/* 80282ED0 0027FE30 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80282ED4 0027FE34 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80282ED8 0027FE38 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80282EDC 0027FE3C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80282EE0 0027FE40 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80282EE4 0027FE44 7C 08 03 A6 */ mtlr r0 +/* 80282EE8 0027FE48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80282EEC 0027FE4C 4E 80 00 20 */ blr + +.global EnterMorphBallState__7CPlayerFR13CStateManager +EnterMorphBallState__7CPlayerFR13CStateManager: +/* 80282EF0 0027FE50 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80282EF4 0027FE54 7C 08 02 A6 */ mflr r0 +/* 80282EF8 0027FE58 90 01 00 54 */ stw r0, 0x54(r1) +/* 80282EFC 0027FE5C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80282F00 0027FE60 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80282F04 0027FE64 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80282F08 0027FE68 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80282F0C 0027FE6C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80282F10 0027FE70 93 81 00 30 */ stw r28, 0x30(r1) +/* 80282F14 0027FE74 7C 9D 23 78 */ mr r29, r4 +/* 80282F18 0027FE78 7C 7C 1B 78 */ mr r28, r3 +/* 80282F1C 0027FE7C 7F A5 EB 78 */ mr r5, r29 +/* 80282F20 0027FE80 38 80 00 01 */ li r4, 1 +/* 80282F24 0027FE84 4B D9 48 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80282F28 0027FE88 7F 83 E3 78 */ mr r3, r28 +/* 80282F2C 0027FE8C 7F A5 EB 78 */ mr r5, r29 +/* 80282F30 0027FE90 38 80 00 25 */ li r4, 0x25 +/* 80282F34 0027FE94 4B DD 10 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80282F38 0027FE98 80 1C 07 34 */ lwz r0, 0x734(r28) +/* 80282F3C 0027FE9C 83 DC 07 3C */ lwz r30, 0x73c(r28) +/* 80282F40 0027FEA0 54 00 18 38 */ slwi r0, r0, 3 +/* 80282F44 0027FEA4 7F FE 02 14 */ add r31, r30, r0 +/* 80282F48 0027FEA8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80282F4C 0027FEAC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80282F50 0027FEB0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80282F54 0027FEB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80282F58 0027FEB8 48 00 00 28 */ b lbl_80282F80 +lbl_80282F5C: +/* 80282F5C 0027FEBC 28 1E 00 00 */ cmplwi r30, 0 +/* 80282F60 0027FEC0 41 82 00 1C */ beq lbl_80282F7C +/* 80282F64 0027FEC4 88 1E 00 00 */ lbz r0, 0(r30) +/* 80282F68 0027FEC8 28 00 00 00 */ cmplwi r0, 0 +/* 80282F6C 0027FECC 41 82 00 10 */ beq lbl_80282F7C +/* 80282F70 0027FED0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80282F74 0027FED4 38 80 00 01 */ li r4, 1 +/* 80282F78 0027FED8 4B E9 3A D5 */ bl __dt__10CModelDataFv +lbl_80282F7C: +/* 80282F7C 0027FEDC 3B DE 00 08 */ addi r30, r30, 8 +lbl_80282F80: +/* 80282F80 0027FEE0 7C 1E F8 40 */ cmplw r30, r31 +/* 80282F84 0027FEE4 40 82 FF D8 */ bne lbl_80282F5C +/* 80282F88 0027FEE8 38 00 00 00 */ li r0, 0 +/* 80282F8C 0027FEEC 38 7C 01 38 */ addi r3, r28, 0x138 +/* 80282F90 0027FEF0 90 1C 07 34 */ stw r0, 0x734(r28) +/* 80282F94 0027FEF4 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80282F98 0027FEF8 C3 E4 02 7C */ lfs f31, 0x27c(r4) +/* 80282F9C 0027FEFC 48 09 19 1D */ bl Magnitude__9CVector3fCFv +/* 80282FA0 0027FF00 FC 20 08 50 */ fneg f1, f1 +/* 80282FA4 0027FF04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80282FA8 0027FF08 38 61 00 24 */ addi r3, r1, 0x24 +/* 80282FAC 0027FF0C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80282FB0 0027FF10 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80282FB4 0027FF14 EC 21 F8 24 */ fdivs f1, f1, f31 +/* 80282FB8 0027FF18 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80282FBC 0027FF1C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80282FC0 0027FF20 4B D9 85 81 */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 80282FC4 0027FF24 7F 83 E3 78 */ mr r3, r28 +/* 80282FC8 0027FF28 38 81 00 24 */ addi r4, r1, 0x24 +/* 80282FCC 0027FF2C 4B E9 7B 11 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +/* 80282FD0 0027FF30 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FD4 0027FF34 7F A4 EB 78 */ mr r4, r29 +/* 80282FD8 0027FF38 4B E7 26 B1 */ bl EnterMorphBallState__10CMorphBallFR13CStateManager +/* 80282FDC 0027FF3C 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FE0 0027FF40 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80282FE4 0027FF44 4B E6 BC F9 */ bl TakeDamage__10CMorphBallFf +/* 80282FE8 0027FF48 80 7C 07 68 */ lwz r3, 0x768(r28) +/* 80282FEC 0027FF4C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80282FF0 0027FF50 4B E7 5C A1 */ bl SetDamageTimer__10CMorphBallFf +/* 80282FF4 0027FF54 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 80282FF8 0027FF58 38 80 00 00 */ li r4, 0 +/* 80282FFC 0027FF5C 80 63 00 00 */ lwz r3, 0(r3) +/* 80283000 0027FF60 4B E0 E9 55 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +/* 80283004 0027FF64 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80283008 0027FF68 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8028300C 0027FF6C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80283010 0027FF70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283014 0027FF74 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80283018 0027FF78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8028301C 0027FF7C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80283020 0027FF80 7C 08 03 A6 */ mtlr r0 +/* 80283024 0027FF84 38 21 00 50 */ addi r1, r1, 0x50 +/* 80283028 0027FF88 4E 80 00 20 */ blr + +.global ActivateMorphBallCamera__7CPlayerFR13CStateManager +ActivateMorphBallCamera__7CPlayerFR13CStateManager: +/* 8028302C 0027FF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80283030 0027FF90 7C 08 02 A6 */ mflr r0 +/* 80283034 0027FF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80283038 0027FF98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028303C 0027FF9C 7C 9F 23 78 */ mr r31, r4 +/* 80283040 0027FFA0 38 80 00 01 */ li r4, 1 +/* 80283044 0027FFA4 7F E5 FB 78 */ mr r5, r31 +/* 80283048 0027FFA8 4B D9 42 55 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 8028304C 0027FFAC 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283050 0027FFB0 7F E5 FB 78 */ mr r5, r31 +/* 80283054 0027FFB4 38 80 00 00 */ li r4, 0 +/* 80283058 0027FFB8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028305C 0027FFBC 4B DF FC 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283060 0027FFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80283064 0027FFC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80283068 0027FFC8 7C 08 03 A6 */ mtlr r0 +/* 8028306C 0027FFCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80283070 0027FFD0 4E 80 00 20 */ blr + +.global TransitionFromMorphBallState__7CPlayerFR13CStateManager +TransitionFromMorphBallState__7CPlayerFR13CStateManager: +/* 80283074 0027FFD4 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 80283078 0027FFD8 7C 08 02 A6 */ mflr r0 +/* 8028307C 0027FFDC 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 80283080 0027FFE0 DB E1 02 A0 */ stfd f31, 0x2a0(r1) +/* 80283084 0027FFE4 F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 +/* 80283088 0027FFE8 DB C1 02 90 */ stfd f30, 0x290(r1) +/* 8028308C 0027FFEC F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 +/* 80283090 0027FFF0 DB A1 02 80 */ stfd f29, 0x280(r1) +/* 80283094 0027FFF4 F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 +/* 80283098 0027FFF8 DB 81 02 70 */ stfd f28, 0x270(r1) +/* 8028309C 0027FFFC F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 +/* 802830A0 00280000 DB 61 02 60 */ stfd f27, 0x260(r1) +/* 802830A4 00280004 F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 +/* 802830A8 00280008 DB 41 02 50 */ stfd f26, 0x250(r1) +/* 802830AC 0028000C F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 +/* 802830B0 00280010 93 E1 02 4C */ stw r31, 0x24c(r1) +/* 802830B4 00280014 93 C1 02 48 */ stw r30, 0x248(r1) +/* 802830B8 00280018 93 A1 02 44 */ stw r29, 0x244(r1) +/* 802830BC 0028001C 7C 7D 1B 78 */ mr r29, r3 +/* 802830C0 00280020 38 00 00 0E */ li r0, 0xe +/* 802830C4 00280024 90 03 05 84 */ stw r0, 0x584(r3) +/* 802830C8 00280028 7C 9E 23 78 */ mr r30, r4 +/* 802830CC 0028002C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802830D0 00280030 C0 3D 01 38 */ lfs f1, 0x138(r29) +/* 802830D4 00280034 C0 5D 01 3C */ lfs f2, 0x13c(r29) +/* 802830D8 00280038 48 09 11 29 */ bl __ct__9CVector2fFff +/* 802830DC 0028003C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802830E0 00280040 48 09 10 15 */ bl Magnitude__9CVector2fCFv +/* 802830E4 00280044 D0 3D 05 8C */ stfs f1, 0x58c(r29) +/* 802830E8 00280048 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802830EC 0028004C C0 3D 05 8C */ lfs f1, 0x58c(r29) +/* 802830F0 00280050 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802830F4 00280054 40 80 00 0C */ bge lbl_80283100 +/* 802830F8 00280058 38 00 00 05 */ li r0, 5 +/* 802830FC 0028005C 90 1D 05 84 */ stw r0, 0x584(r29) +lbl_80283100: +/* 80283100 00280060 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80283104 00280064 2C 00 00 00 */ cmpwi r0, 0 +/* 80283108 00280068 41 82 00 74 */ beq lbl_8028317C +/* 8028310C 0028006C 7F A4 EB 78 */ mr r4, r29 +/* 80283110 00280070 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80283114 00280074 48 00 1C 35 */ bl GetBallPosition__7CPlayerCFv +/* 80283118 00280078 C0 81 00 E0 */ lfs f4, 0xe0(r1) +/* 8028311C 0028007C 3C 60 80 47 */ lis r3, lbl_8046E0D8@ha +/* 80283120 00280080 C0 61 00 E4 */ lfs f3, 0xe4(r1) +/* 80283124 00280084 38 C3 E0 D8 */ addi r6, r3, lbl_8046E0D8@l +/* 80283128 00280088 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028312C 0028008C 7F C3 F3 78 */ mr r3, r30 +/* 80283130 00280090 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 80283134 00280094 7F A7 EB 78 */ mr r7, r29 +/* 80283138 00280098 EC A3 00 2A */ fadds f5, f3, f0 +/* 8028313C 0028009C C0 22 BD D4 */ lfs f1, lbl_805ADAF4@sda21(r2) +/* 80283140 002800A0 EC 04 00 2A */ fadds f0, f4, f0 +/* 80283144 002800A4 D0 81 01 40 */ stfs f4, 0x140(r1) +/* 80283148 002800A8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8028314C 002800AC 38 81 01 40 */ addi r4, r1, 0x140 +/* 80283150 002800B0 D0 61 01 44 */ stfs f3, 0x144(r1) +/* 80283154 002800B4 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 80283158 002800B8 D0 41 01 48 */ stfs f2, 0x148(r1) +/* 8028315C 002800BC D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 80283160 002800C0 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 80283164 002800C4 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 80283168 002800C8 4B DC 9C D5 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 8028316C 002800CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283170 002800D0 41 82 00 0C */ beq lbl_8028317C +/* 80283174 002800D4 38 00 00 07 */ li r0, 7 +/* 80283178 002800D8 90 1D 05 84 */ stw r0, 0x584(r29) +lbl_8028317C: +/* 8028317C 002800DC 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80283180 002800E0 38 60 00 00 */ li r3, 0 +/* 80283184 002800E4 28 04 00 00 */ cmplwi r4, 0 +/* 80283188 002800E8 41 82 00 14 */ beq lbl_8028319C +/* 8028318C 002800EC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80283190 002800F0 28 00 00 00 */ cmplwi r0, 0 +/* 80283194 002800F4 41 82 00 08 */ beq lbl_8028319C +/* 80283198 002800F8 38 60 00 01 */ li r3, 1 +lbl_8028319C: +/* 8028319C 002800FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802831A0 00280100 41 82 00 5C */ beq lbl_802831FC +/* 802831A4 00280104 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 802831A8 00280108 38 E0 FF FF */ li r7, -1 +/* 802831AC 0028010C 80 7D 05 84 */ lwz r3, 0x584(r29) +/* 802831B0 00280110 38 00 00 00 */ li r0, 0 +/* 802831B4 00280114 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802831B8 00280118 38 C0 00 01 */ li r6, 1 +/* 802831BC 0028011C 90 61 02 0C */ stw r3, 0x20c(r1) +/* 802831C0 00280120 7F E3 FB 78 */ mr r3, r31 +/* 802831C4 00280124 38 81 02 0C */ addi r4, r1, 0x20c +/* 802831C8 00280128 38 A0 00 00 */ li r5, 0 +/* 802831CC 0028012C 90 E1 02 10 */ stw r7, 0x210(r1) +/* 802831D0 00280130 D0 01 02 14 */ stfs f0, 0x214(r1) +/* 802831D4 00280134 98 C1 02 18 */ stb r6, 0x218(r1) +/* 802831D8 00280138 90 01 02 1C */ stw r0, 0x21c(r1) +/* 802831DC 0028013C 90 01 02 20 */ stw r0, 0x220(r1) +/* 802831E0 00280140 98 01 02 24 */ stb r0, 0x224(r1) +/* 802831E4 00280144 90 01 02 28 */ stw r0, 0x228(r1) +/* 802831E8 00280148 90 01 02 2C */ stw r0, 0x22c(r1) +/* 802831EC 0028014C 90 01 02 30 */ stw r0, 0x230(r1) +/* 802831F0 00280150 4B DA 9B 8D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 802831F4 00280154 38 00 00 00 */ li r0, 0 +/* 802831F8 00280158 90 1F 01 04 */ stw r0, 0x104(r31) +lbl_802831FC: +/* 802831FC 0028015C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 80283200 00280160 38 80 00 00 */ li r4, 0 +/* 80283204 00280164 4B E9 23 5D */ bl EnableLooping__10CModelDataFb +/* 80283208 00280168 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8028320C 0028016C 7F C4 F3 78 */ mr r4, r30 +/* 80283210 00280170 38 A0 00 00 */ li r5, 0 +/* 80283214 00280174 4B E9 2A FD */ bl Touch__10CModelDataCFRC13CStateManageri +/* 80283218 00280178 7F A3 EB 78 */ mr r3, r29 +/* 8028321C 0028017C 7F C5 F3 78 */ mr r5, r30 +/* 80283220 00280180 38 80 00 03 */ li r4, 3 +/* 80283224 00280184 4B D9 45 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80283228 00280188 80 7D 07 68 */ lwz r3, 0x768(r29) +/* 8028322C 0028018C 7F C4 F3 78 */ mr r4, r30 +/* 80283230 00280190 4B E7 24 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager +/* 80283234 00280194 80 DE 08 70 */ lwz r6, 0x870(r30) +/* 80283238 00280198 7F C4 F3 78 */ mr r4, r30 +/* 8028323C 0028019C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80283240 002801A0 80 66 00 7C */ lwz r3, 0x7c(r6) +/* 80283244 002801A4 83 E6 00 80 */ lwz r31, 0x80(r6) +/* 80283248 002801A8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8028324C 002801AC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80283250 002801B0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80283254 002801B4 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283258 002801B8 4B D8 75 F1 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 8028325C 002801BC C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 80283260 002801C0 38 61 01 34 */ addi r3, r1, 0x134 +/* 80283264 002801C4 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80283268 002801C8 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 8028326C 002801CC C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80283270 002801D0 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80283274 002801D4 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 80283278 002801D8 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8028327C 002801DC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80283280 002801E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283284 002801E4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80283288 002801E8 D0 A1 01 3C */ stfs f5, 0x13c(r1) +/* 8028328C 002801EC D0 61 01 38 */ stfs f3, 0x138(r1) +/* 80283290 002801F0 D0 21 01 34 */ stfs f1, 0x134(r1) +/* 80283294 002801F4 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 80283298 002801F8 48 09 14 61 */ bl CanBeNormalized__9CVector3fCFv +/* 8028329C 002801FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802832A0 00280200 41 82 03 6C */ beq lbl_8028360C +/* 802832A4 00280204 38 61 01 34 */ addi r3, r1, 0x134 +/* 802832A8 00280208 48 09 16 51 */ bl Normalize__9CVector3fFv +/* 802832AC 0028020C C3 FD 05 18 */ lfs f31, 0x518(r29) +/* 802832B0 00280210 38 61 01 28 */ addi r3, r1, 0x128 +/* 802832B4 00280214 C3 DD 05 1C */ lfs f30, 0x51c(r29) +/* 802832B8 00280218 C3 BD 05 20 */ lfs f29, 0x520(r29) +/* 802832BC 0028021C C0 3D 05 00 */ lfs f1, 0x500(r29) +/* 802832C0 00280220 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802832C4 00280224 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 802832C8 00280228 C0 3D 05 04 */ lfs f1, 0x504(r29) +/* 802832CC 0028022C D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 802832D0 00280230 C0 3D 05 08 */ lfs f1, 0x508(r29) +/* 802832D4 00280234 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802832D8 00280238 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 802832DC 0028023C 48 09 14 1D */ bl CanBeNormalized__9CVector3fCFv +/* 802832E0 00280240 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802832E4 00280244 41 82 00 18 */ beq lbl_802832FC +/* 802832E8 00280248 38 61 01 28 */ addi r3, r1, 0x128 +/* 802832EC 0028024C 48 09 15 CD */ bl Magnitude__9CVector3fCFv +/* 802832F0 00280250 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 802832F4 00280254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802832F8 00280258 40 80 00 10 */ bge lbl_80283308 +lbl_802832FC: +/* 802832FC 0028025C C3 E1 01 34 */ lfs f31, 0x134(r1) +/* 80283300 00280260 C3 C1 01 38 */ lfs f30, 0x138(r1) +/* 80283304 00280264 C3 A1 01 3C */ lfs f29, 0x13c(r1) +lbl_80283308: +/* 80283308 00280268 88 1D 09 C6 */ lbz r0, 0x9c6(r29) +/* 8028330C 0028026C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80283310 00280270 41 82 00 90 */ beq lbl_802833A0 +/* 80283314 00280274 A0 1D 08 30 */ lhz r0, 0x830(r29) +/* 80283318 00280278 7F C3 F3 78 */ mr r3, r30 +/* 8028331C 0028027C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80283320 00280280 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80283324 00280284 4B DC 92 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80283328 00280288 7C 64 1B 78 */ mr r4, r3 +/* 8028332C 0028028C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80283330 00280290 4B E2 57 D1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80283334 00280294 80 83 00 04 */ lwz r4, 4(r3) +/* 80283338 00280298 28 04 00 00 */ cmplwi r4, 0 +/* 8028333C 0028029C 41 82 00 64 */ beq lbl_802833A0 +/* 80283340 002802A0 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 80283344 002802A4 38 61 01 1C */ addi r3, r1, 0x11c +/* 80283348 002802A8 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 8028334C 002802AC C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80283350 002802B0 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 80283354 002802B4 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80283358 002802B8 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8028335C 002802BC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80283360 002802C0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80283364 002802C4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283368 002802C8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8028336C 002802CC D0 A1 01 24 */ stfs f5, 0x124(r1) +/* 80283370 002802D0 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 80283374 002802D4 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 80283378 002802D8 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 8028337C 002802DC 48 09 13 7D */ bl CanBeNormalized__9CVector3fCFv +/* 80283380 002802E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283384 002802E4 41 82 00 1C */ beq lbl_802833A0 +/* 80283388 002802E8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8028338C 002802EC 38 81 01 1C */ addi r4, r1, 0x11c +/* 80283390 002802F0 48 09 14 C1 */ bl AsNormalized__9CVector3fCFv +/* 80283394 002802F4 C3 E1 00 C8 */ lfs f31, 0xc8(r1) +/* 80283398 002802F8 C3 C1 00 CC */ lfs f30, 0xcc(r1) +/* 8028339C 002802FC C3 A1 00 D0 */ lfs f29, 0xd0(r1) +lbl_802833A0: +/* 802833A0 00280300 88 1D 09 C7 */ lbz r0, 0x9c7(r29) +/* 802833A4 00280304 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802833A8 00280308 41 82 00 D8 */ beq lbl_80283480 +/* 802833AC 0028030C A0 1D 08 30 */ lhz r0, 0x830(r29) +/* 802833B0 00280310 7F C3 F3 78 */ mr r3, r30 +/* 802833B4 00280314 38 81 00 14 */ addi r4, r1, 0x14 +/* 802833B8 00280318 B0 01 00 14 */ sth r0, 0x14(r1) +/* 802833BC 0028031C 4B DC 91 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802833C0 00280320 7C 64 1B 78 */ mr r4, r3 +/* 802833C4 00280324 38 61 00 38 */ addi r3, r1, 0x38 +/* 802833C8 00280328 4B E2 57 39 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802833CC 0028032C 80 63 00 04 */ lwz r3, 4(r3) +/* 802833D0 00280330 28 03 00 00 */ cmplwi r3, 0 +/* 802833D4 00280334 41 82 00 AC */ beq lbl_80283480 +/* 802833D8 00280338 A0 03 01 08 */ lhz r0, 0x108(r3) +/* 802833DC 0028033C 7F C3 F3 78 */ mr r3, r30 +/* 802833E0 00280340 38 81 00 10 */ addi r4, r1, 0x10 +/* 802833E4 00280344 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802833E8 00280348 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802833EC 0028034C 4B DC 91 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802833F0 00280350 7C 64 1B 78 */ mr r4, r3 +/* 802833F4 00280354 38 61 00 30 */ addi r3, r1, 0x30 +/* 802833F8 00280358 4B E2 C8 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802833FC 0028035C 80 83 00 04 */ lwz r4, 4(r3) +/* 80283400 00280360 28 04 00 00 */ cmplwi r4, 0 +/* 80283404 00280364 41 82 00 7C */ beq lbl_80283480 +/* 80283408 00280368 81 84 00 00 */ lwz r12, 0(r4) +/* 8028340C 0028036C 7F C5 F3 78 */ mr r5, r30 +/* 80283410 00280370 38 61 00 BC */ addi r3, r1, 0xbc +/* 80283414 00280374 C3 5D 00 60 */ lfs f26, 0x60(r29) +/* 80283418 00280378 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8028341C 0028037C C3 7D 00 50 */ lfs f27, 0x50(r29) +/* 80283420 00280380 C3 9D 00 40 */ lfs f28, 0x40(r29) +/* 80283424 00280384 7D 89 03 A6 */ mtctr r12 +/* 80283428 00280388 4E 80 04 21 */ bctrl +/* 8028342C 0028038C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80283430 00280390 38 61 01 10 */ addi r3, r1, 0x110 +/* 80283434 00280394 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 80283438 00280398 EC 20 D0 28 */ fsubs f1, f0, f26 +/* 8028343C 0028039C C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 80283440 002803A0 EC 63 E0 28 */ fsubs f3, f3, f28 +/* 80283444 002803A4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283448 002803A8 EC 42 D8 28 */ fsubs f2, f2, f27 +/* 8028344C 002803AC D0 21 01 18 */ stfs f1, 0x118(r1) +/* 80283450 002803B0 D0 61 01 10 */ stfs f3, 0x110(r1) +/* 80283454 002803B4 D0 41 01 14 */ stfs f2, 0x114(r1) +/* 80283458 002803B8 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 8028345C 002803BC 48 09 12 9D */ bl CanBeNormalized__9CVector3fCFv +/* 80283460 002803C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283464 002803C4 41 82 00 1C */ beq lbl_80283480 +/* 80283468 002803C8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8028346C 002803CC 38 81 01 10 */ addi r4, r1, 0x110 +/* 80283470 002803D0 48 09 13 E1 */ bl AsNormalized__9CVector3fCFv +/* 80283474 002803D4 C3 E1 00 B0 */ lfs f31, 0xb0(r1) +/* 80283478 002803D8 C3 C1 00 B4 */ lfs f30, 0xb4(r1) +/* 8028347C 002803DC C3 A1 00 B8 */ lfs f29, 0xb8(r1) +lbl_80283480: +/* 80283480 002803E0 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80283484 002803E4 C0 41 01 34 */ lfs f2, 0x134(r1) +/* 80283488 002803E8 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8028348C 002803EC C0 61 01 3C */ lfs f3, 0x13c(r1) +/* 80283490 002803F0 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80283494 002803F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 80283498 002803F8 EC 23 0F 7A */ fmadds f1, f3, f29, f1 +/* 8028349C 002803FC FC 40 0A 10 */ fabs f2, f1 +/* 802834A0 00280400 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802834A4 00280404 40 81 00 14 */ ble lbl_802834B8 +/* 802834A8 00280408 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 802834AC 0028040C C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 802834B0 00280410 FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 802834B4 00280414 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_802834B8: +/* 802834B8 00280418 48 11 17 75 */ bl acos +/* 802834BC 0028041C FC 20 08 18 */ frsp f1, f1 +/* 802834C0 00280420 C0 02 BD D8 */ lfs f0, lbl_805ADAF8@sda21(r2) +/* 802834C4 00280424 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802834C8 00280428 41 80 00 10 */ blt lbl_802834D8 +/* 802834CC 0028042C 88 1D 09 C7 */ lbz r0, 0x9c7(r29) +/* 802834D0 00280430 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802834D4 00280434 41 82 00 90 */ beq lbl_80283564 +lbl_802834D8: +/* 802834D8 00280438 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 802834DC 0028043C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802834E0 00280440 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 802834E4 00280444 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802834E8 00280448 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802834EC 0028044C EC A3 F0 2A */ fadds f5, f3, f30 +/* 802834F0 00280450 EC 82 E8 2A */ fadds f4, f2, f29 +/* 802834F4 00280454 38 61 01 DC */ addi r3, r1, 0x1dc +/* 802834F8 00280458 EC 01 F8 2A */ fadds f0, f1, f31 +/* 802834FC 0028045C D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80283500 00280460 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80283504 00280464 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 80283508 00280468 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8028350C 0028046C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80283510 00280470 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 80283514 00280474 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80283518 00280478 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8028351C 0028047C D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 80283520 00280480 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80283524 00280484 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80283528 00280488 48 09 05 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8028352C 0028048C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283530 00280490 38 81 01 DC */ addi r4, r1, 0x1dc +/* 80283534 00280494 48 08 F6 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283538 00280498 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028353C 0028049C 38 60 00 01 */ li r3, 1 +/* 80283540 002804A0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283544 002804A4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283548 002804A8 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028354C 002804AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80283550 002804B0 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283554 002804B4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283558 002804B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028355C 002804BC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283560 002804C0 48 00 00 EC */ b lbl_8028364C +lbl_80283564: +/* 80283564 002804C4 C0 9D 00 50 */ lfs f4, 0x50(r29) +/* 80283568 002804C8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8028356C 002804CC C0 01 01 38 */ lfs f0, 0x138(r1) +/* 80283570 002804D0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80283574 002804D4 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80283578 002804D8 38 61 01 AC */ addi r3, r1, 0x1ac +/* 8028357C 002804DC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80283580 002804E0 EC A4 00 2A */ fadds f5, f4, f0 +/* 80283584 002804E4 C0 41 01 3C */ lfs f2, 0x13c(r1) +/* 80283588 002804E8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8028358C 002804EC C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80283590 002804F0 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80283594 002804F4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80283598 002804F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8028359C 002804FC D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802835A0 00280500 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802835A4 00280504 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802835A8 00280508 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802835AC 0028050C D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802835B0 00280510 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802835B4 00280514 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802835B8 00280518 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 802835BC 0028051C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 802835C0 00280520 48 09 05 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802835C4 00280524 38 7D 00 34 */ addi r3, r29, 0x34 +/* 802835C8 00280528 38 81 01 AC */ addi r4, r1, 0x1ac +/* 802835CC 0028052C 48 08 F5 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802835D0 00280530 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835D4 00280534 38 A0 00 01 */ li r5, 1 +/* 802835D8 00280538 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 802835DC 0028053C C0 22 BD DC */ lfs f1, lbl_805ADAFC@sda21(r2) +/* 802835E0 00280540 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 802835E4 00280544 7F A3 EB 78 */ mr r3, r29 +/* 802835E8 00280548 7F C4 F3 78 */ mr r4, r30 +/* 802835EC 0028054C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835F0 00280550 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 802835F4 00280554 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 802835F8 00280558 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 802835FC 0028055C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80283600 00280560 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283604 00280564 4B D9 59 51 */ bl UpdateArmAndGunTransforms__7CPlayerFfR13CStateManager +/* 80283608 00280568 48 00 00 44 */ b lbl_8028364C +lbl_8028360C: +/* 8028360C 0028056C 7F A4 EB 78 */ mr r4, r29 +/* 80283610 00280570 38 61 01 7C */ addi r3, r1, 0x17c +/* 80283614 00280574 48 00 20 D5 */ bl CreateTransformFromMovementDirection__7CPlayerCFv +/* 80283618 00280578 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8028361C 0028057C 38 81 01 7C */ addi r4, r1, 0x17c +/* 80283620 00280580 48 08 F5 21 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283624 00280584 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283628 00280588 38 60 00 01 */ li r3, 1 +/* 8028362C 0028058C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283630 00280590 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283634 00280594 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283638 00280598 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8028363C 0028059C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283640 002805A0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283644 002805A4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80283648 002805A8 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_8028364C: +/* 8028364C 002805AC 80 BE 08 70 */ lwz r5, 0x870(r30) +/* 80283650 002805B0 7F C3 F3 78 */ mr r3, r30 +/* 80283654 002805B4 38 81 00 08 */ addi r4, r1, 8 +/* 80283658 002805B8 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 8028365C 002805BC A0 05 03 DC */ lhz r0, 0x3dc(r5) +/* 80283660 002805C0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80283664 002805C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80283668 002805C8 4B DC 8F 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8028366C 002805CC 7C 64 1B 78 */ mr r4, r3 +/* 80283670 002805D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80283674 002805D4 4B E2 C6 1D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80283678 002805D8 80 83 00 04 */ lwz r4, 4(r3) +/* 8028367C 002805DC 28 04 00 00 */ cmplwi r4, 0 +/* 80283680 002805E0 41 82 01 B0 */ beq lbl_80283830 +/* 80283684 002805E4 C0 3F 03 E0 */ lfs f1, 0x3e0(r31) +/* 80283688 002805E8 C0 02 BD E0 */ lfs f0, lbl_805ADB00@sda21(r2) +/* 8028368C 002805EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283690 002805F0 40 80 01 A0 */ bge lbl_80283830 +/* 80283694 002805F4 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283698 002805F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028369C 002805FC 40 81 01 94 */ ble lbl_80283830 +/* 802836A0 00280600 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 802836A4 00280604 38 61 01 04 */ addi r3, r1, 0x104 +/* 802836A8 00280608 C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 802836AC 0028060C C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 802836B0 00280610 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 802836B4 00280614 EC 45 00 28 */ fsubs f2, f5, f0 +/* 802836B8 00280618 C0 84 00 40 */ lfs f4, 0x40(r4) +/* 802836BC 0028061C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 802836C0 00280620 EC 26 08 28 */ fsubs f1, f6, f1 +/* 802836C4 00280624 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 802836C8 00280628 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802836CC 0028062C D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 802836D0 00280630 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 802836D4 00280634 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802836D8 00280638 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802836DC 0028063C C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 802836E0 00280640 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 802836E4 00280644 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802836E8 00280648 EC 25 08 28 */ fsubs f1, f5, f1 +/* 802836EC 0028064C EC 46 10 28 */ fsubs f2, f6, f2 +/* 802836F0 00280650 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802836F4 00280654 D0 21 01 00 */ stfs f1, 0x100(r1) +/* 802836F8 00280658 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 802836FC 0028065C D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 80283700 00280660 D0 61 01 00 */ stfs f3, 0x100(r1) +/* 80283704 00280664 48 09 0F F5 */ bl CanBeNormalized__9CVector3fCFv +/* 80283708 00280668 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028370C 0028066C 41 82 01 24 */ beq lbl_80283830 +/* 80283710 00280670 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80283714 00280674 48 09 0F E5 */ bl CanBeNormalized__9CVector3fCFv +/* 80283718 00280678 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028371C 0028067C 41 82 01 14 */ beq lbl_80283830 +/* 80283720 00280680 38 61 01 04 */ addi r3, r1, 0x104 +/* 80283724 00280684 48 09 11 D5 */ bl Normalize__9CVector3fFv +/* 80283728 00280688 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 8028372C 0028068C 38 61 00 EC */ addi r3, r1, 0xec +/* 80283730 00280690 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80283734 00280694 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80283738 00280698 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028373C 0028069C D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 80283740 002806A0 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 80283744 002806A4 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 80283748 002806A8 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 8028374C 002806AC 48 09 11 AD */ bl Normalize__9CVector3fFv +/* 80283750 002806B0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80283754 002806B4 48 09 11 A5 */ bl Normalize__9CVector3fFv +/* 80283758 002806B8 C0 E1 01 08 */ lfs f7, 0x108(r1) +/* 8028375C 002806BC C0 61 00 FC */ lfs f3, 0xfc(r1) +/* 80283760 002806C0 C0 C1 01 04 */ lfs f6, 0x104(r1) +/* 80283764 002806C4 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 80283768 002806C8 C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 8028376C 002806CC C1 01 01 0C */ lfs f8, 0x10c(r1) +/* 80283770 002806D0 C0 A1 01 00 */ lfs f5, 0x100(r1) +/* 80283774 002806D4 EC 26 01 3A */ fmadds f1, f6, f4, f0 +/* 80283778 002806D8 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 8028377C 002806DC EC 28 09 7A */ fmadds f1, f8, f5, f1 +/* 80283780 002806E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283784 002806E4 4C 41 13 82 */ cror 2, 1, 2 +/* 80283788 002806E8 40 82 00 A8 */ bne lbl_80283830 +/* 8028378C 002806EC C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 80283790 002806F0 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 80283794 002806F4 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80283798 002806F8 C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 8028379C 002806FC C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) +/* 802837A0 00280700 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802837A4 00280704 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 802837A8 00280708 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802837AC 0028070C 4C 41 13 82 */ cror 2, 1, 2 +/* 802837B0 00280710 40 82 00 80 */ bne lbl_80283830 +/* 802837B4 00280714 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 802837B8 00280718 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 802837BC 0028071C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 802837C0 00280720 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 802837C4 00280724 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802837C8 00280728 EC A3 38 2A */ fadds f5, f3, f7 +/* 802837CC 0028072C EC 82 40 2A */ fadds f4, f2, f8 +/* 802837D0 00280730 38 61 01 4C */ addi r3, r1, 0x14c +/* 802837D4 00280734 EC 01 30 2A */ fadds f0, f1, f6 +/* 802837D8 00280738 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802837DC 0028073C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802837E0 00280740 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802837E4 00280744 38 A1 00 50 */ addi r5, r1, 0x50 +/* 802837E8 00280748 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802837EC 0028074C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802837F0 00280750 D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802837F4 00280754 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802837F8 00280758 48 09 03 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802837FC 0028075C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283800 00280760 38 81 01 4C */ addi r4, r1, 0x14c +/* 80283804 00280764 48 08 F3 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283808 00280768 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028380C 0028076C 38 60 00 01 */ li r3, 1 +/* 80283810 00280770 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80283814 00280774 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283818 00280778 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8028381C 0028077C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80283820 00280780 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283824 00280784 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283828 00280788 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8028382C 0028078C 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_80283830: +/* 80283830 00280790 7F A3 EB 78 */ mr r3, r29 +/* 80283834 00280794 7F C5 F3 78 */ mr r5, r30 +/* 80283838 00280798 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8028383C 0028079C 4B D9 56 8D */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 80283840 002807A0 7F A3 EB 78 */ mr r3, r29 +/* 80283844 002807A4 7F C4 F3 78 */ mr r4, r30 +/* 80283848 002807A8 4B D9 68 65 */ bl DrawGun__7CPlayerFR13CStateManager +/* 8028384C 002807AC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283850 002807B0 7F C5 F3 78 */ mr r5, r30 +/* 80283854 002807B4 38 80 00 05 */ li r4, 5 +/* 80283858 002807B8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028385C 002807BC 4B DF F4 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283860 002807C0 7F A3 EB 78 */ mr r3, r29 +/* 80283864 002807C4 4B E9 7A 51 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 80283868 002807C8 4B D9 7C CD */ bl Identity__10CAxisAngleFv +/* 8028386C 002807CC 7C 64 1B 78 */ mr r4, r3 +/* 80283870 002807D0 7F A3 EB 78 */ mr r3, r29 +/* 80283874 002807D4 4B E9 73 89 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 80283878 002807D8 7F A3 EB 78 */ mr r3, r29 +/* 8028387C 002807DC 7F C5 F3 78 */ mr r5, r30 +/* 80283880 002807E0 38 80 00 25 */ li r4, 0x25 +/* 80283884 002807E4 4B DD 0A CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80283888 002807E8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8028388C 002807EC 7F A3 EB 78 */ mr r3, r29 +/* 80283890 002807F0 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 80283894 002807F4 7F C5 F3 78 */ mr r5, r30 +/* 80283898 002807F8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8028389C 002807FC 38 80 00 03 */ li r4, 3 +/* 802838A0 00280800 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 802838A4 00280804 C0 06 00 04 */ lfs f0, 4(r6) +/* 802838A8 00280808 D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 802838AC 0028080C C0 06 00 08 */ lfs f0, 8(r6) +/* 802838B0 00280810 D0 1D 01 58 */ stfs f0, 0x158(r29) +/* 802838B4 00280814 4B D9 39 E9 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 802838B8 00280818 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802838BC 0028081C 38 00 00 00 */ li r0, 0 +/* 802838C0 00280820 7F C4 F3 78 */ mr r4, r30 +/* 802838C4 00280824 D0 1D 08 24 */ stfs f0, 0x824(r29) +/* 802838C8 00280828 90 1D 05 7C */ stw r0, 0x57c(r29) +/* 802838CC 0028082C 90 1D 05 80 */ stw r0, 0x580(r29) +/* 802838D0 00280830 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802838D4 00280834 80 63 00 80 */ lwz r3, 0x80(r3) +/* 802838D8 00280838 4B FB B0 E9 */ bl TransitionFromMorphBallState__11CBallCameraFR13CStateManager +/* 802838DC 0028083C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802838E0 00280840 7C 00 00 34 */ cntlzw r0, r0 +/* 802838E4 00280844 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 802838E8 00280848 41 82 00 18 */ beq lbl_80283900 +/* 802838EC 0028084C C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) +/* 802838F0 00280850 7F A3 EB 78 */ mr r3, r29 +/* 802838F4 00280854 7F C4 F3 78 */ mr r4, r30 +/* 802838F8 00280858 D0 1D 08 24 */ stfs f0, 0x824(r29) +/* 802838FC 0028085C 4B FF F4 21 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager +lbl_80283900: +/* 80283900 00280860 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 +/* 80283904 00280864 CB E1 02 A0 */ lfd f31, 0x2a0(r1) +/* 80283908 00280868 E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 +/* 8028390C 0028086C CB C1 02 90 */ lfd f30, 0x290(r1) +/* 80283910 00280870 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 +/* 80283914 00280874 CB A1 02 80 */ lfd f29, 0x280(r1) +/* 80283918 00280878 E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 +/* 8028391C 0028087C CB 81 02 70 */ lfd f28, 0x270(r1) +/* 80283920 00280880 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 +/* 80283924 00280884 CB 61 02 60 */ lfd f27, 0x260(r1) +/* 80283928 00280888 E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 +/* 8028392C 0028088C CB 41 02 50 */ lfd f26, 0x250(r1) +/* 80283930 00280890 83 E1 02 4C */ lwz r31, 0x24c(r1) +/* 80283934 00280894 83 C1 02 48 */ lwz r30, 0x248(r1) +/* 80283938 00280898 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8028393C 0028089C 83 A1 02 44 */ lwz r29, 0x244(r1) +/* 80283940 002808A0 7C 08 03 A6 */ mtlr r0 +/* 80283944 002808A4 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 80283948 002808A8 4E 80 00 20 */ blr + +.global TransitionToMorphBallState__7CPlayerFfR13CStateManager +TransitionToMorphBallState__7CPlayerFfR13CStateManager: +/* 8028394C 002808AC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80283950 002808B0 7C 08 02 A6 */ mflr r0 +/* 80283954 002808B4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80283958 002808B8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8028395C 002808BC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80283960 002808C0 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80283964 002808C4 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80283968 002808C8 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8028396C 002808CC 7C 7E 1B 78 */ mr r30, r3 +/* 80283970 002808D0 7C 9F 23 78 */ mr r31, r4 +/* 80283974 002808D4 48 00 04 11 */ bl ChoseTransitionToAnimation__7CPlayerCFR13CStateManager +/* 80283978 002808D8 90 7E 05 84 */ stw r3, 0x584(r30) +/* 8028397C 002808DC 38 7E 01 38 */ addi r3, r30, 0x138 +/* 80283980 002808E0 48 09 0F 39 */ bl Magnitude__9CVector3fCFv +/* 80283984 002808E4 D0 3E 05 8C */ stfs f1, 0x58c(r30) +/* 80283988 002808E8 38 60 00 00 */ li r3, 0 +/* 8028398C 002808EC 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80283990 002808F0 28 04 00 00 */ cmplwi r4, 0 +/* 80283994 002808F4 41 82 00 14 */ beq lbl_802839A8 +/* 80283998 002808F8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8028399C 002808FC 28 00 00 00 */ cmplwi r0, 0 +/* 802839A0 00280900 41 82 00 08 */ beq lbl_802839A8 +/* 802839A4 00280904 38 60 00 01 */ li r3, 1 +lbl_802839A8: +/* 802839A8 00280908 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802839AC 0028090C 41 82 00 5C */ beq lbl_80283A08 +/* 802839B0 00280910 83 A4 00 10 */ lwz r29, 0x10(r4) +/* 802839B4 00280914 38 E0 FF FF */ li r7, -1 +/* 802839B8 00280918 80 7E 05 84 */ lwz r3, 0x584(r30) +/* 802839BC 0028091C 38 00 00 00 */ li r0, 0 +/* 802839C0 00280920 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802839C4 00280924 38 C0 00 01 */ li r6, 1 +/* 802839C8 00280928 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802839CC 0028092C 7F A3 EB 78 */ mr r3, r29 +/* 802839D0 00280930 38 81 00 1C */ addi r4, r1, 0x1c +/* 802839D4 00280934 38 A0 00 00 */ li r5, 0 +/* 802839D8 00280938 90 E1 00 20 */ stw r7, 0x20(r1) +/* 802839DC 0028093C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802839E0 00280940 98 C1 00 28 */ stb r6, 0x28(r1) +/* 802839E4 00280944 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802839E8 00280948 90 01 00 30 */ stw r0, 0x30(r1) +/* 802839EC 0028094C 98 01 00 34 */ stb r0, 0x34(r1) +/* 802839F0 00280950 90 01 00 38 */ stw r0, 0x38(r1) +/* 802839F4 00280954 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802839F8 00280958 90 01 00 40 */ stw r0, 0x40(r1) +/* 802839FC 0028095C 4B DA 93 81 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80283A00 00280960 38 00 00 00 */ li r0, 0 +/* 80283A04 00280964 90 1D 01 04 */ stw r0, 0x104(r29) +lbl_80283A08: +/* 80283A08 00280968 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283A0C 0028096C 38 80 00 00 */ li r4, 0 +/* 80283A10 00280970 4B E9 1B 51 */ bl EnableLooping__10CModelDataFb +/* 80283A14 00280974 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283A18 00280978 7F E4 FB 78 */ mr r4, r31 +/* 80283A1C 0028097C 38 A0 00 00 */ li r5, 0 +/* 80283A20 00280980 4B E9 22 F1 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 80283A24 00280984 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80283A28 00280988 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 80283A2C 0028098C 7F C3 F3 78 */ mr r3, r30 +/* 80283A30 00280990 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80283A34 00280994 C0 04 00 04 */ lfs f0, 4(r4) +/* 80283A38 00280998 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80283A3C 0028099C C0 04 00 08 */ lfs f0, 8(r4) +/* 80283A40 002809A0 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80283A44 002809A4 4B E9 79 35 */ bl Stop__13CPhysicsActorFv +/* 80283A48 002809A8 7F C3 F3 78 */ mr r3, r30 +/* 80283A4C 002809AC 7F E5 FB 78 */ mr r5, r31 +/* 80283A50 002809B0 38 80 00 02 */ li r4, 2 +/* 80283A54 002809B4 4B D9 3D 91 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager +/* 80283A58 002809B8 7F C3 F3 78 */ mr r3, r30 +/* 80283A5C 002809BC 7F E5 FB 78 */ mr r5, r31 +/* 80283A60 002809C0 38 80 00 03 */ li r4, 3 +/* 80283A64 002809C4 4B D9 38 39 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80283A68 002809C8 C0 7E 00 58 */ lfs f3, 0x58(r30) +/* 80283A6C 002809CC 38 7E 05 0C */ addi r3, r30, 0x50c +/* 80283A70 002809D0 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 80283A74 002809D4 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 80283A78 002809D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283A7C 002809DC D0 3E 05 00 */ stfs f1, 0x500(r30) +/* 80283A80 002809E0 D0 5E 05 04 */ stfs f2, 0x504(r30) +/* 80283A84 002809E4 D0 7E 05 08 */ stfs f3, 0x508(r30) +/* 80283A88 002809E8 C0 3E 05 00 */ lfs f1, 0x500(r30) +/* 80283A8C 002809EC D0 3E 05 0C */ stfs f1, 0x50c(r30) +/* 80283A90 002809F0 C0 3E 05 04 */ lfs f1, 0x504(r30) +/* 80283A94 002809F4 D0 3E 05 10 */ stfs f1, 0x510(r30) +/* 80283A98 002809F8 C0 3E 05 08 */ lfs f1, 0x508(r30) +/* 80283A9C 002809FC D0 3E 05 14 */ stfs f1, 0x514(r30) +/* 80283AA0 00280A00 D0 1E 05 14 */ stfs f0, 0x514(r30) +/* 80283AA4 00280A04 48 09 0C 55 */ bl CanBeNormalized__9CVector3fCFv +/* 80283AA8 00280A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283AAC 00280A0C 41 82 00 10 */ beq lbl_80283ABC +/* 80283AB0 00280A10 38 7E 05 0C */ addi r3, r30, 0x50c +/* 80283AB4 00280A14 48 09 0E 45 */ bl Normalize__9CVector3fFv +/* 80283AB8 00280A18 48 00 00 24 */ b lbl_80283ADC +lbl_80283ABC: +/* 80283ABC 00280A1C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80283AC0 00280A20 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283AC4 00280A24 D0 3E 05 00 */ stfs f1, 0x500(r30) +/* 80283AC8 00280A28 D0 1E 05 04 */ stfs f0, 0x504(r30) +/* 80283ACC 00280A2C D0 3E 05 08 */ stfs f1, 0x508(r30) +/* 80283AD0 00280A30 D0 3E 05 0C */ stfs f1, 0x50c(r30) +/* 80283AD4 00280A34 D0 1E 05 10 */ stfs f0, 0x510(r30) +/* 80283AD8 00280A38 D0 3E 05 14 */ stfs f1, 0x514(r30) +lbl_80283ADC: +/* 80283ADC 00280A3C 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283AE0 00280A40 7F E4 FB 78 */ mr r4, r31 +/* 80283AE4 00280A44 38 A1 00 0C */ addi r5, r1, 0xc +/* 80283AE8 00280A48 83 A3 00 80 */ lwz r29, 0x80(r3) +/* 80283AEC 00280A4C A0 1D 00 08 */ lhz r0, 8(r29) +/* 80283AF0 00280A50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80283AF4 00280A54 B0 01 00 08 */ sth r0, 8(r1) +/* 80283AF8 00280A58 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283AFC 00280A5C 4B D8 6D 4D */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId +/* 80283B00 00280A60 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283B04 00280A64 7F E4 FB 78 */ mr r4, r31 +/* 80283B08 00280A68 4B D8 5C 29 */ bl HasBallCameraInitialPositionHint__14CCameraManagerCFR13CStateManager +/* 80283B0C 00280A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283B10 00280A70 40 82 00 24 */ bne lbl_80283B34 +/* 80283B14 00280A74 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283B18 00280A78 7F E4 FB 78 */ mr r4, r31 +/* 80283B1C 00280A7C 4B D8 58 F5 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager +/* 80283B20 00280A80 7F A3 EB 78 */ mr r3, r29 +/* 80283B24 00280A84 7F E5 FB 78 */ mr r5, r31 +/* 80283B28 00280A88 38 80 00 04 */ li r4, 4 +/* 80283B2C 00280A8C 4B DF F1 71 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283B30 00280A90 48 00 00 C8 */ b lbl_80283BF8 +lbl_80283B34: +/* 80283B34 00280A94 7F A3 EB 78 */ mr r3, r29 +/* 80283B38 00280A98 7F E5 FB 78 */ mr r5, r31 +/* 80283B3C 00280A9C 38 80 00 00 */ li r4, 0 +/* 80283B40 00280AA0 4B DF F1 5D */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager +/* 80283B44 00280AA4 7F C3 F3 78 */ mr r3, r30 +/* 80283B48 00280AA8 7F E5 FB 78 */ mr r5, r31 +/* 80283B4C 00280AAC 38 80 00 01 */ li r4, 1 +/* 80283B50 00280AB0 4B D9 37 4D */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager +/* 80283B54 00280AB4 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 80283B58 00280AB8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80283B5C 00280ABC 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 80283B60 00280AC0 38 84 00 34 */ addi r4, r4, 0x34 +/* 80283B64 00280AC4 48 08 F0 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80283B68 00280AC8 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80283B6C 00280ACC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80283B70 00280AD0 48 08 EF D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80283B74 00280AD4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283B78 00280AD8 38 C0 00 01 */ li r6, 1 +/* 80283B7C 00280ADC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80283B80 00280AE0 7F A3 EB 78 */ mr r3, r29 +/* 80283B84 00280AE4 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283B88 00280AE8 7F E5 FB 78 */ mr r5, r31 +/* 80283B8C 00280AEC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80283B90 00280AF0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283B94 00280AF4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 80283B98 00280AF8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283B9C 00280AFC 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80283BA0 00280B00 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80283BA4 00280B04 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80283BA8 00280B08 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80283BAC 00280B0C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80283BB0 00280B10 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80283BB4 00280B14 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80283BB8 00280B18 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80283BBC 00280B1C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80283BC0 00280B20 4B E0 8F 5D */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager +/* 80283BC4 00280B24 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283BC8 00280B28 7F E4 FB 78 */ mr r4, r31 +/* 80283BCC 00280B2C 4B D8 58 45 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager +/* 80283BD0 00280B30 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80283BD4 00280B34 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80283BD8 00280B38 C3 E3 01 5C */ lfs f31, 0x15c(r3) +/* 80283BDC 00280B3C 4B D8 84 FD */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 80283BE0 00280B40 FC 40 08 90 */ fmr f2, f1 +/* 80283BE4 00280B44 C0 62 BD 80 */ lfs f3, lbl_805ADAA0@sda21(r2) +/* 80283BE8 00280B48 FC 20 F8 90 */ fmr f1, f31 +/* 80283BEC 00280B4C C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) +/* 80283BF0 00280B50 7F A3 EB 78 */ mr r3, r29 +/* 80283BF4 00280B54 4B DD 73 25 */ bl SetFovInterpolation__11CGameCameraFffff +lbl_80283BF8: +/* 80283BF8 00280B58 7F C3 F3 78 */ mr r3, r30 +/* 80283BFC 00280B5C 7F E5 FB 78 */ mr r5, r31 +/* 80283C00 00280B60 38 80 00 02 */ li r4, 2 +/* 80283C04 00280B64 4B EF 75 99 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager +/* 80283C08 00280B68 80 7E 04 90 */ lwz r3, 0x490(r30) +/* 80283C0C 00280B6C 7F E4 FB 78 */ mr r4, r31 +/* 80283C10 00280B70 4B DB 8E 49 */ bl CancelFiring__10CPlayerGunFR13CStateManager +/* 80283C14 00280B74 7F C3 F3 78 */ mr r3, r30 +/* 80283C18 00280B78 7F E4 FB 78 */ mr r4, r31 +/* 80283C1C 00280B7C 4B D9 65 51 */ bl HolsterGun__7CPlayerFR13CStateManager +/* 80283C20 00280B80 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80283C24 00280B84 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80283C28 00280B88 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80283C2C 00280B8C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80283C30 00280B90 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80283C34 00280B94 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80283C38 00280B98 7C 08 03 A6 */ mtlr r0 +/* 80283C3C 00280B9C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80283C40 00280BA0 4E 80 00 20 */ blr + +.global GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager +GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager: +/* 80283C44 00280BA4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283C48 00280BA8 7C 08 02 A6 */ mflr r0 +/* 80283C4C 00280BAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283C50 00280BB0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80283C54 00280BB4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80283C58 00280BB8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80283C5C 00280BBC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80283C60 00280BC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80283C64 00280BC4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80283C68 00280BC8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80283C6C 00280BCC 93 81 00 30 */ stw r28, 0x30(r1) +/* 80283C70 00280BD0 7C 7C 1B 78 */ mr r28, r3 +/* 80283C74 00280BD4 FF C0 08 90 */ fmr f30, f1 +/* 80283C78 00280BD8 C0 23 01 38 */ lfs f1, 0x138(r3) +/* 80283C7C 00280BDC 7C 9D 23 78 */ mr r29, r4 +/* 80283C80 00280BE0 C0 43 01 3C */ lfs f2, 0x13c(r3) +/* 80283C84 00280BE4 7C BE 2B 78 */ mr r30, r5 +/* 80283C88 00280BE8 38 61 00 08 */ addi r3, r1, 8 +/* 80283C8C 00280BEC 3B E0 00 0C */ li r31, 0xc +/* 80283C90 00280BF0 48 09 05 71 */ bl __ct__9CVector2fFff +/* 80283C94 00280BF4 C0 41 00 08 */ lfs f2, 8(r1) +/* 80283C98 00280BF8 38 00 00 00 */ li r0, 0 +/* 80283C9C 00280BFC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80283CA0 00280C00 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283CA4 00280C04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283CA8 00280C08 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80283CAC 00280C0C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80283CB0 00280C10 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80283CB4 00280C14 98 1D 00 00 */ stb r0, 0(r29) +/* 80283CB8 00280C18 48 09 0A 41 */ bl CanBeNormalized__9CVector3fCFv +/* 80283CBC 00280C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80283CC0 00280C20 41 82 00 90 */ beq lbl_80283D50 +/* 80283CC4 00280C24 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283CC8 00280C28 48 09 0B F1 */ bl Magnitude__9CVector3fCFv +/* 80283CCC 00280C2C FF E0 08 90 */ fmr f31, f1 +/* 80283CD0 00280C30 7F 83 E3 78 */ mr r3, r28 +/* 80283CD4 00280C34 FC 20 F0 90 */ fmr f1, f30 +/* 80283CD8 00280C38 48 00 1C 31 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80283CDC 00280C3C C0 02 BD 94 */ lfs f0, lbl_805ADAB4@sda21(r2) +/* 80283CE0 00280C40 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80283CE4 00280C44 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283CE8 00280C48 40 81 00 68 */ ble lbl_80283D50 +/* 80283CEC 00280C4C FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80283CF0 00280C50 38 00 00 01 */ li r0, 1 +/* 80283CF4 00280C54 98 1D 00 00 */ stb r0, 0(r29) +/* 80283CF8 00280C58 3B E0 00 0F */ li r31, 0xf +/* 80283CFC 00280C5C 4C 41 13 82 */ cror 2, 1, 2 +/* 80283D00 00280C60 40 82 00 08 */ bne lbl_80283D08 +/* 80283D04 00280C64 3B E0 00 0D */ li r31, 0xd +lbl_80283D08: +/* 80283D08 00280C68 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80283D0C 00280C6C C0 1C 05 10 */ lfs f0, 0x510(r28) +/* 80283D10 00280C70 80 63 00 80 */ lwz r3, 0x80(r3) +/* 80283D14 00280C74 C0 5C 05 0C */ lfs f2, 0x50c(r28) +/* 80283D18 00280C78 C0 A3 00 48 */ lfs f5, 0x48(r3) +/* 80283D1C 00280C7C C0 83 00 38 */ lfs f4, 0x38(r3) +/* 80283D20 00280C80 EC 20 01 72 */ fmuls f1, f0, f5 +/* 80283D24 00280C84 C0 C3 00 58 */ lfs f6, 0x58(r3) +/* 80283D28 00280C88 C0 7C 05 14 */ lfs f3, 0x514(r28) +/* 80283D2C 00280C8C C0 02 BD E4 */ lfs f0, lbl_805ADB04@sda21(r2) +/* 80283D30 00280C90 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 80283D34 00280C94 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80283D38 00280C98 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80283D3C 00280C9C EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 80283D40 00280CA0 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80283D44 00280CA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80283D48 00280CA8 40 80 00 08 */ bge lbl_80283D50 +/* 80283D4C 00280CAC 3B E0 00 0C */ li r31, 0xc +lbl_80283D50: +/* 80283D50 00280CB0 7F E3 FB 78 */ mr r3, r31 +/* 80283D54 00280CB4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80283D58 00280CB8 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80283D5C 00280CBC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80283D60 00280CC0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80283D64 00280CC4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283D68 00280CC8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80283D6C 00280CCC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80283D70 00280CD0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80283D74 00280CD4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80283D78 00280CD8 7C 08 03 A6 */ mtlr r0 +/* 80283D7C 00280CDC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80283D80 00280CE0 4E 80 00 20 */ blr + +.global ChoseTransitionToAnimation__7CPlayerCFR13CStateManager +ChoseTransitionToAnimation__7CPlayerCFR13CStateManager: +/* 80283D84 00280CE4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283D88 00280CE8 7C 08 02 A6 */ mflr r0 +/* 80283D8C 00280CEC 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283D90 00280CF0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80283D94 00280CF4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80283D98 00280CF8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80283D9C 00280CFC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80283DA0 00280D00 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80283DA4 00280D04 7C 7F 1B 78 */ mr r31, r3 +/* 80283DA8 00280D08 FF C0 08 90 */ fmr f30, f1 +/* 80283DAC 00280D0C 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80283DB0 00280D10 2C 00 00 02 */ cmpwi r0, 2 +/* 80283DB4 00280D14 40 82 00 0C */ bne lbl_80283DC0 +/* 80283DB8 00280D18 38 60 00 03 */ li r3, 3 +/* 80283DBC 00280D1C 48 00 01 48 */ b lbl_80283F04 +lbl_80283DC0: +/* 80283DC0 00280D20 38 61 00 10 */ addi r3, r1, 0x10 +/* 80283DC4 00280D24 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80283DC8 00280D28 38 BF 01 38 */ addi r5, r31, 0x138 +/* 80283DCC 00280D2C 48 08 EC 59 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80283DD0 00280D30 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80283DD4 00280D34 38 61 00 08 */ addi r3, r1, 8 +/* 80283DD8 00280D38 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80283DDC 00280D3C 48 09 04 25 */ bl __ct__9CVector2fFff +/* 80283DE0 00280D40 C0 41 00 08 */ lfs f2, 8(r1) +/* 80283DE4 00280D44 38 61 00 1C */ addi r3, r1, 0x1c +/* 80283DE8 00280D48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80283DEC 00280D4C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283DF0 00280D50 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80283DF4 00280D54 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80283DF8 00280D58 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80283DFC 00280D5C 48 09 0A BD */ bl Magnitude__9CVector3fCFv +/* 80283E00 00280D60 FF E0 08 90 */ fmr f31, f1 +/* 80283E04 00280D64 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283E08 00280D68 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283E0C 00280D6C 40 81 00 F4 */ ble lbl_80283F00 +/* 80283E10 00280D70 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80283E14 00280D74 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80283E18 00280D78 FC 20 00 50 */ fneg f1, f0 +/* 80283E1C 00280D7C 48 11 0E 51 */ bl atan2 +/* 80283E20 00280D80 FC 60 08 18 */ frsp f3, f1 +/* 80283E24 00280D84 C0 42 BD E8 */ lfs f2, lbl_805ADB08@sda21(r2) +/* 80283E28 00280D88 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80283E2C 00280D8C 40 81 00 3C */ ble lbl_80283E68 +/* 80283E30 00280D90 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) +/* 80283E34 00280D94 3C 00 43 30 */ lis r0, 0x4330 +/* 80283E38 00280D98 90 01 00 30 */ stw r0, 0x30(r1) +/* 80283E3C 00280D9C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80283E40 00280DA0 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) +/* 80283E44 00280DA4 FC 00 00 1E */ fctiwz f0, f0 +/* 80283E48 00280DA8 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 80283E4C 00280DAC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80283E50 00280DB0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80283E54 00280DB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80283E58 00280DB8 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 80283E5C 00280DBC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80283E60 00280DC0 EC 60 18 BC */ fnmsubs f3, f0, f2, f3 +/* 80283E64 00280DC4 48 00 00 48 */ b lbl_80283EAC +lbl_80283E68: +/* 80283E68 00280DC8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80283E6C 00280DCC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80283E70 00280DD0 40 80 00 3C */ bge lbl_80283EAC +/* 80283E74 00280DD4 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) +/* 80283E78 00280DD8 3C 00 43 30 */ lis r0, 0x4330 +/* 80283E7C 00280DDC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80283E80 00280DE0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80283E84 00280DE4 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) +/* 80283E88 00280DE8 FC 00 00 1E */ fctiwz f0, f0 +/* 80283E8C 00280DEC D8 01 00 30 */ stfd f0, 0x30(r1) +/* 80283E90 00280DF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80283E94 00280DF4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80283E98 00280DF8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80283E9C 00280DFC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80283EA0 00280E00 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80283EA4 00280E04 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 +/* 80283EA8 00280E08 EC 62 00 2A */ fadds f3, f2, f0 +lbl_80283EAC: +/* 80283EAC 00280E0C C0 02 BD F0 */ lfs f0, lbl_805ADB10@sda21(r2) +/* 80283EB0 00280E10 FC 20 F0 90 */ fmr f1, f30 +/* 80283EB4 00280E14 7F E3 FB 78 */ mr r3, r31 +/* 80283EB8 00280E18 EF C0 00 F2 */ fmuls f30, f0, f3 +/* 80283EBC 00280E1C 48 00 1A 4D */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80283EC0 00280E20 C0 02 BD F4 */ lfs f0, lbl_805ADB14@sda21(r2) +/* 80283EC4 00280E24 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80283EC8 00280E28 41 80 00 10 */ blt lbl_80283ED8 +/* 80283ECC 00280E2C C0 02 BD F8 */ lfs f0, lbl_805ADB18@sda21(r2) +/* 80283ED0 00280E30 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80283ED4 00280E34 40 81 00 24 */ ble lbl_80283EF8 +lbl_80283ED8: +/* 80283ED8 00280E38 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80283EDC 00280E3C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80283EE0 00280E40 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80283EE4 00280E44 40 80 00 0C */ bge lbl_80283EF0 +/* 80283EE8 00280E48 38 60 00 00 */ li r3, 0 +/* 80283EEC 00280E4C 48 00 00 18 */ b lbl_80283F04 +lbl_80283EF0: +/* 80283EF0 00280E50 38 60 00 04 */ li r3, 4 +/* 80283EF4 00280E54 48 00 00 10 */ b lbl_80283F04 +lbl_80283EF8: +/* 80283EF8 00280E58 38 60 00 01 */ li r3, 1 +/* 80283EFC 00280E5C 48 00 00 08 */ b lbl_80283F04 +lbl_80283F00: +/* 80283F00 00280E60 38 60 00 02 */ li r3, 2 +lbl_80283F04: +/* 80283F04 00280E64 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80283F08 00280E68 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80283F0C 00280E6C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80283F10 00280E70 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80283F14 00280E74 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80283F18 00280E78 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80283F1C 00280E7C 7C 08 03 A6 */ mtlr r0 +/* 80283F20 00280E80 38 21 00 60 */ addi r1, r1, 0x60 +/* 80283F24 00280E84 4E 80 00 20 */ blr + +.global SetIntoBallReadyAnimation__7CPlayerFR13CStateManager +SetIntoBallReadyAnimation__7CPlayerFR13CStateManager: +/* 80283F28 00280E88 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80283F2C 00280E8C 7C 08 02 A6 */ mflr r0 +/* 80283F30 00280E90 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80283F34 00280E94 38 E0 00 02 */ li r7, 2 +/* 80283F38 00280E98 90 01 00 64 */ stw r0, 0x64(r1) +/* 80283F3C 00280E9C 38 00 00 00 */ li r0, 0 +/* 80283F40 00280EA0 38 A0 FF FF */ li r5, -1 +/* 80283F44 00280EA4 38 C0 00 01 */ li r6, 1 +/* 80283F48 00280EA8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80283F4C 00280EAC 7C 9F 23 78 */ mr r31, r4 +/* 80283F50 00280EB0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80283F54 00280EB4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80283F58 00280EB8 7C 7E 1B 78 */ mr r30, r3 +/* 80283F5C 00280EBC 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80283F60 00280EC0 38 A0 00 00 */ li r5, 0 +/* 80283F64 00280EC4 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80283F68 00280EC8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80283F6C 00280ECC 98 C1 00 34 */ stb r6, 0x34(r1) +/* 80283F70 00280ED0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80283F74 00280ED4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80283F78 00280ED8 98 01 00 40 */ stb r0, 0x40(r1) +/* 80283F7C 00280EDC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80283F80 00280EE0 90 01 00 48 */ stw r0, 0x48(r1) +/* 80283F84 00280EE4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80283F88 00280EE8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80283F8C 00280EEC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80283F90 00280EF0 4B DA 8D ED */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 80283F94 00280EF4 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283F98 00280EF8 38 C0 00 00 */ li r6, 0 +/* 80283F9C 00280EFC 38 80 00 01 */ li r4, 1 +/* 80283FA0 00280F00 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80283FA4 00280F04 81 03 00 10 */ lwz r8, 0x10(r3) +/* 80283FA8 00280F08 7F E5 FB 78 */ mr r5, r31 +/* 80283FAC 00280F0C 38 61 00 0C */ addi r3, r1, 0xc +/* 80283FB0 00280F10 38 E0 00 01 */ li r7, 1 +/* 80283FB4 00280F14 88 08 02 20 */ lbz r0, 0x220(r8) +/* 80283FB8 00280F18 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80283FBC 00280F1C 38 C1 00 08 */ addi r6, r1, 8 +/* 80283FC0 00280F20 98 08 02 20 */ stb r0, 0x220(r8) +/* 80283FC4 00280F24 88 08 02 20 */ lbz r0, 0x220(r8) +/* 80283FC8 00280F28 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80283FCC 00280F2C 98 08 02 20 */ stb r0, 0x220(r8) +/* 80283FD0 00280F30 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80283FD4 00280F34 90 01 00 08 */ stw r0, 8(r1) +/* 80283FD8 00280F38 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 80283FDC 00280F3C 4B E9 1B 59 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 80283FE0 00280F40 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80283FE4 00280F44 38 80 00 00 */ li r4, 0 +/* 80283FE8 00280F48 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80283FEC 00280F4C 88 03 02 20 */ lbz r0, 0x220(r3) +/* 80283FF0 00280F50 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80283FF4 00280F54 98 03 02 20 */ stb r0, 0x220(r3) +/* 80283FF8 00280F58 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80283FFC 00280F5C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80284000 00280F60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80284004 00280F64 7C 08 03 A6 */ mtlr r0 +/* 80284008 00280F68 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028400C 00280F6C 4E 80 00 20 */ blr + +.global UpdateCameraBob__7CPlayerFfR13CStateManager +UpdateCameraBob__7CPlayerFfR13CStateManager: +/* 80284010 00280F70 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80284014 00280F74 7C 08 02 A6 */ mflr r0 +/* 80284018 00280F78 90 01 00 94 */ stw r0, 0x94(r1) +/* 8028401C 00280F7C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80284020 00280F80 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80284024 00280F84 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80284028 00280F88 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8028402C 00280F8C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80284030 00280F90 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80284034 00280F94 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80284038 00280F98 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028403C 00280F9C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80284040 00280FA0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284044 00280FA4 7C 7D 1B 78 */ mr r29, r3 +/* 80284048 00280FA8 FF E0 08 90 */ fmr f31, f1 +/* 8028404C 00280FAC 7C 9E 23 78 */ mr r30, r4 +/* 80284050 00280FB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80284054 00280FB4 C0 C3 01 38 */ lfs f6, 0x138(r3) +/* 80284058 00280FB8 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 8028405C 00280FBC C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 80284060 00280FC0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80284064 00280FC4 C0 A3 01 40 */ lfs f5, 0x140(r3) +/* 80284068 00280FC8 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8028406C 00280FCC 80 03 03 04 */ lwz r0, 0x304(r3) +/* 80284070 00280FD0 2C 00 00 00 */ cmpwi r0, 0 +/* 80284074 00280FD4 40 82 00 5C */ bne lbl_802840D0 +/* 80284078 00280FD8 C0 7D 00 48 */ lfs f3, 0x48(r29) +/* 8028407C 00280FDC 3B E0 00 00 */ li r31, 0 +/* 80284080 00280FE0 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 80284084 00280FE4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80284088 00280FE8 C0 9D 00 58 */ lfs f4, 0x58(r29) +/* 8028408C 00280FEC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80284090 00280FF0 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 80284094 00280FF4 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80284098 00280FF8 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8028409C 00280FFC EF C5 01 3A */ fmadds f30, f5, f4, f0 +/* 802840A0 00281000 48 00 18 69 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 802840A4 00281004 EC 3E 08 24 */ fdivs f1, f30, f1 +/* 802840A8 00281008 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802840AC 0028100C FC 20 0A 10 */ fabs f1, f1 +/* 802840B0 00281010 FC 20 08 18 */ frsp f1, f1 +/* 802840B4 00281014 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802840B8 00281018 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802840BC 0028101C 40 80 00 F4 */ bge lbl_802841B0 +/* 802840C0 00281020 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802840C4 00281024 3B E0 00 03 */ li r31, 3 +/* 802840C8 00281028 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802840CC 0028102C 48 00 00 E4 */ b lbl_802841B0 +lbl_802840D0: +/* 802840D0 00281030 C0 FD 00 44 */ lfs f7, 0x44(r29) +/* 802840D4 00281034 3B E0 00 01 */ li r31, 1 +/* 802840D8 00281038 C1 3D 00 48 */ lfs f9, 0x48(r29) +/* 802840DC 0028103C EC 60 01 F2 */ fmuls f3, f0, f7 +/* 802840E0 00281040 C0 9D 00 34 */ lfs f4, 0x34(r29) +/* 802840E4 00281044 C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 802840E8 00281048 EC 00 02 72 */ fmuls f0, f0, f9 +/* 802840EC 0028104C C1 1D 00 54 */ lfs f8, 0x54(r29) +/* 802840F0 00281050 EC 66 19 3A */ fmadds f3, f6, f4, f3 +/* 802840F4 00281054 C1 5D 00 58 */ lfs f10, 0x58(r29) +/* 802840F8 00281058 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 802840FC 0028105C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80284100 00281060 EF A5 1A 3A */ fmadds f29, f5, f8, f3 +/* 80284104 00281064 EF C5 02 BA */ fmadds f30, f5, f10, f0 +/* 80284108 00281068 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 8028410C 0028106C D1 01 00 30 */ stfs f8, 0x30(r1) +/* 80284110 00281070 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80284114 00281074 D1 21 00 20 */ stfs f9, 0x20(r1) +/* 80284118 00281078 D1 41 00 24 */ stfs f10, 0x24(r1) +/* 8028411C 0028107C 48 00 17 ED */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv +/* 80284120 00281080 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80284124 00281084 2C 00 00 02 */ cmpwi r0, 2 +/* 80284128 00281088 40 82 00 0C */ bne lbl_80284134 +/* 8028412C 0028108C 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80284130 00281090 48 00 00 08 */ b lbl_80284138 +lbl_80284134: +/* 80284134 00281094 38 00 00 04 */ li r0, 4 +lbl_80284138: +/* 80284138 00281098 3C 60 80 3D */ lis r3, lbl_803D5908@ha +/* 8028413C 0028109C 54 00 10 3A */ slwi r0, r0, 2 +/* 80284140 002810A0 38 63 59 08 */ addi r3, r3, lbl_803D5908@l +/* 80284144 002810A4 EC 01 00 72 */ fmuls f0, f1, f1 +/* 80284148 002810A8 7C 23 04 2E */ lfsx f1, r3, r0 +/* 8028414C 002810AC EC 21 00 7A */ fmadds f1, f1, f1, f0 +/* 80284150 002810B0 48 09 13 B1 */ bl SqrtF__5CMathFf +/* 80284154 002810B4 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 80284158 002810B8 FF C0 08 90 */ fmr f30, f1 +/* 8028415C 002810BC EC 3D 07 7A */ fmadds f1, f29, f29, f0 +/* 80284160 002810C0 48 09 13 A1 */ bl SqrtF__5CMathFf +/* 80284164 002810C4 EC 21 F0 24 */ fdivs f1, f1, f30 +/* 80284168 002810C8 C0 0D 87 C4 */ lfs f0, lbl_805A7384@sda21(r13) +/* 8028416C 002810CC C0 4D 87 C8 */ lfs f2, lbl_805A7388@sda21(r13) +/* 80284170 002810D0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284174 002810D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80284178 002810D8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8028417C 002810DC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80284180 002810E0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80284184 002810E4 40 80 00 0C */ bge lbl_80284190 +/* 80284188 002810E8 38 61 00 0C */ addi r3, r1, 0xc +/* 8028418C 002810EC 48 00 00 08 */ b lbl_80284194 +lbl_80284190: +/* 80284190 002810F0 38 61 00 08 */ addi r3, r1, 8 +lbl_80284194: +/* 80284194 002810F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80284198 002810F8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 8028419C 002810FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802841A0 00281100 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802841A4 00281104 40 80 00 0C */ bge lbl_802841B0 +/* 802841A8 00281108 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841AC 0028110C D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_802841B0: +/* 802841B0 00281110 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802841B4 00281114 2C 00 00 00 */ cmpwi r0, 0 +/* 802841B8 00281118 41 82 00 14 */ beq lbl_802841CC +/* 802841BC 0028111C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841C0 00281120 3B E0 00 02 */ li r31, 2 +/* 802841C4 00281124 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802841C8 00281128 48 00 00 68 */ b lbl_80284230 +lbl_802841CC: +/* 802841CC 0028112C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802841D0 00281130 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802841D4 00281134 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802841D8 00281138 40 80 00 58 */ bge lbl_80284230 +/* 802841DC 0028113C 80 7D 04 90 */ lwz r3, 0x490(r29) +/* 802841E0 00281140 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 802841E4 00281144 2C 00 00 00 */ cmpwi r0, 0 +/* 802841E8 00281148 41 82 00 14 */ beq lbl_802841FC +/* 802841EC 0028114C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802841F0 00281150 3B E0 00 04 */ li r31, 4 +/* 802841F4 00281154 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802841F8 00281158 48 00 00 38 */ b lbl_80284230 +lbl_802841FC: +/* 802841FC 0028115C 7F A4 EB 78 */ mr r4, r29 +/* 80284200 00281160 38 61 00 10 */ addi r3, r1, 0x10 +/* 80284204 00281164 4B E9 69 A1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 80284208 00281168 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028420C 0028116C 4B D9 73 05 */ bl GetAngle__10CAxisAngleCFv +/* 80284210 00281170 FC 20 0A 10 */ fabs f1, f1 +/* 80284214 00281174 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80284218 00281178 FC 20 08 18 */ frsp f1, f1 +/* 8028421C 0028117C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80284220 00281180 40 81 00 10 */ ble lbl_80284230 +/* 80284224 00281184 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284228 00281188 3B E0 00 05 */ li r31, 5 +/* 8028422C 0028118C D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284230: +/* 80284230 00281190 88 1D 03 DC */ lbz r0, 0x3dc(r29) +/* 80284234 00281194 28 00 00 00 */ cmplwi r0, 0 +/* 80284238 00281198 40 82 00 10 */ bne lbl_80284248 +/* 8028423C 0028119C 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80284240 002811A0 28 00 00 00 */ cmplwi r0, 0 +/* 80284244 002811A4 41 82 00 10 */ beq lbl_80284254 +lbl_80284248: +/* 80284248 002811A8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028424C 002811AC 3B E0 00 06 */ li r31, 6 +/* 80284250 002811B0 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284254: +/* 80284254 002811B4 80 1D 03 04 */ lwz r0, 0x304(r29) +/* 80284258 002811B8 2C 00 00 05 */ cmpwi r0, 5 +/* 8028425C 002811BC 40 82 00 10 */ bne lbl_8028426C +/* 80284260 002811C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284264 002811C4 3B E0 00 07 */ li r31, 7 +/* 80284268 002811C8 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_8028426C: +/* 8028426C 002811CC 80 1D 03 A8 */ lwz r0, 0x3a8(r29) +/* 80284270 002811D0 2C 00 00 02 */ cmpwi r0, 2 +/* 80284274 002811D4 40 82 00 0C */ bne lbl_80284280 +/* 80284278 002811D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 8028427C 002811DC D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_80284280: +/* 80284280 002811E0 88 1D 03 8C */ lbz r0, 0x38c(r29) +/* 80284284 002811E4 28 00 00 00 */ cmplwi r0, 0 +/* 80284288 002811E8 41 82 00 2C */ beq lbl_802842B4 +/* 8028428C 002811EC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284290 002811F0 3B E0 00 06 */ li r31, 6 +/* 80284294 002811F4 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80284298 002811F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028429C 002811FC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802842A0 00281200 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802842A4 00281204 2C 00 00 00 */ cmpwi r0, 0 +/* 802842A8 00281208 40 82 00 0C */ bne lbl_802842B4 +/* 802842AC 0028120C 38 00 00 00 */ li r0, 0 +/* 802842B0 00281210 98 1D 03 8C */ stb r0, 0x38c(r29) +lbl_802842B4: +/* 802842B4 00281214 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802842B8 00281218 4B D8 66 49 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 802842BC 0028121C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802842C0 00281220 41 82 00 0C */ beq lbl_802842CC +/* 802842C4 00281224 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802842C8 00281228 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_802842CC: +/* 802842CC 0028122C 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 802842D0 00281230 4B D8 4E 79 */ bl GetCameraBobMagnitude__14CCameraManagerCFv +/* 802842D4 00281234 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802842D8 00281238 38 81 00 40 */ addi r4, r1, 0x40 +/* 802842DC 0028123C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802842E0 00281240 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802842E4 00281244 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 802842E8 00281248 4B E6 57 31 */ bl SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f +/* 802842EC 0028124C 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 802842F0 00281250 7F E4 FB 78 */ mr r4, r31 +/* 802842F4 00281254 7F C5 F3 78 */ mr r5, r30 +/* 802842F8 00281258 4B E6 57 5D */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +/* 802842FC 0028125C 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 80284300 00281260 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284304 00281264 4B E6 5B 49 */ bl SetBobMagnitude__16CPlayerCameraBobFf +/* 80284308 00281268 C0 4D 87 CC */ lfs f2, lbl_805A738C@sda21(r13) +/* 8028430C 0028126C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80284310 00281270 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80284314 00281274 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80284318 00281278 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 8028431C 0028127C EC 21 10 3A */ fmadds f1, f1, f0, f2 +/* 80284320 00281280 4B E6 5B 7D */ bl SetBobTimeScale__16CPlayerCameraBobFf +/* 80284324 00281284 FC 20 F8 90 */ fmr f1, f31 +/* 80284328 00281288 80 7D 07 6C */ lwz r3, 0x76c(r29) +/* 8028432C 0028128C 7F C4 F3 78 */ mr r4, r30 +/* 80284330 00281290 4B E6 5B BD */ bl Update__16CPlayerCameraBobFfR13CStateManager +/* 80284334 00281294 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80284338 00281298 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8028433C 0028129C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80284340 002812A0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80284344 002812A4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80284348 002812A8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8028434C 002812AC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80284350 002812B0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80284354 002812B4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80284358 002812B8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8028435C 002812BC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80284360 002812C0 7C 08 03 A6 */ mtlr r0 +/* 80284364 002812C4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80284368 002812C8 4E 80 00 20 */ blr + +.global SetEyeZBias__7CPlayerFf +SetEyeZBias__7CPlayerFf: +/* 8028436C 002812CC D0 23 09 C8 */ stfs f1, 0x9c8(r3) +/* 80284370 002812D0 4E 80 00 20 */ blr + +.global AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager +AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284374 002812D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284378 002812D8 7C 08 02 A6 */ mflr r0 +/* 8028437C 002812DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80284380 002812E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80284384 002812E4 7C 9F 23 78 */ mr r31, r4 +/* 80284388 002812E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028438C 002812EC 7C 7E 1B 78 */ mr r30, r3 +/* 80284390 002812F0 7C A3 2B 78 */ mr r3, r5 +/* 80284394 002812F4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284398 002812F8 38 81 00 08 */ addi r4, r1, 8 +/* 8028439C 002812FC B0 01 00 08 */ sth r0, 8(r1) +/* 802843A0 00281300 4B DC 81 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802843A4 00281304 7C 64 1B 78 */ mr r4, r3 +/* 802843A8 00281308 38 61 00 0C */ addi r3, r1, 0xc +/* 802843AC 0028130C 4B E2 47 55 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802843B0 00281310 80 03 00 04 */ lwz r0, 4(r3) +/* 802843B4 00281314 28 00 00 00 */ cmplwi r0, 0 +/* 802843B8 00281318 41 82 00 60 */ beq lbl_80284418 +/* 802843BC 0028131C 80 DE 09 3C */ lwz r6, 0x93c(r30) +/* 802843C0 00281320 38 9E 09 40 */ addi r4, r30, 0x940 +/* 802843C4 00281324 54 C0 08 3C */ slwi r0, r6, 1 +/* 802843C8 00281328 7C A4 02 14 */ add r5, r4, r0 +/* 802843CC 0028132C 48 00 00 08 */ b lbl_802843D4 +lbl_802843D0: +/* 802843D0 00281330 38 84 00 02 */ addi r4, r4, 2 +lbl_802843D4: +/* 802843D4 00281334 7C 04 28 40 */ cmplw r4, r5 +/* 802843D8 00281338 41 82 00 14 */ beq lbl_802843EC +/* 802843DC 0028133C A0 64 00 00 */ lhz r3, 0(r4) +/* 802843E0 00281340 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802843E4 00281344 7C 03 00 40 */ cmplw r3, r0 +/* 802843E8 00281348 40 82 FF E8 */ bne lbl_802843D0 +lbl_802843EC: +/* 802843EC 0028134C 7C 04 28 40 */ cmplw r4, r5 +/* 802843F0 00281350 40 82 00 28 */ bne lbl_80284418 +/* 802843F4 00281354 2C 06 00 20 */ cmpwi r6, 0x20 +/* 802843F8 00281358 41 82 00 20 */ beq lbl_80284418 +/* 802843FC 0028135C 28 05 00 00 */ cmplwi r5, 0 +/* 80284400 00281360 41 82 00 0C */ beq lbl_8028440C +/* 80284404 00281364 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80284408 00281368 B0 05 00 00 */ sth r0, 0(r5) +lbl_8028440C: +/* 8028440C 0028136C 80 7E 09 3C */ lwz r3, 0x93c(r30) +/* 80284410 00281370 38 03 00 01 */ addi r0, r3, 1 +/* 80284414 00281374 90 1E 09 3C */ stw r0, 0x93c(r30) +lbl_80284418: +/* 80284418 00281378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028441C 0028137C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80284420 00281380 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80284424 00281384 7C 08 03 A6 */ mtlr r0 +/* 80284428 00281388 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028442C 0028138C 4E 80 00 20 */ blr + +.global DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager +DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284430 00281390 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80284434 00281394 7C 08 02 A6 */ mflr r0 +/* 80284438 00281398 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028443C 0028139C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80284440 002813A0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80284444 002813A4 7C 9E 23 78 */ mr r30, r4 +/* 80284448 002813A8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8028444C 002813AC 7C 7D 1B 78 */ mr r29, r3 +/* 80284450 002813B0 7C A3 2B 78 */ mr r3, r5 +/* 80284454 002813B4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284458 002813B8 38 81 00 08 */ addi r4, r1, 8 +/* 8028445C 002813BC B0 01 00 08 */ sth r0, 8(r1) +/* 80284460 002813C0 4B DC 81 15 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284464 002813C4 7C 64 1B 78 */ mr r4, r3 +/* 80284468 002813C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8028446C 002813CC 4B E2 46 95 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284470 002813D0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80284474 002813D4 28 1F 00 00 */ cmplwi r31, 0 +/* 80284478 002813D8 41 82 00 70 */ beq lbl_802844E8 +/* 8028447C 002813DC 80 DD 09 3C */ lwz r6, 0x93c(r29) +/* 80284480 002813E0 38 9D 09 40 */ addi r4, r29, 0x940 +/* 80284484 002813E4 54 C0 08 3C */ slwi r0, r6, 1 +/* 80284488 002813E8 7C A4 02 14 */ add r5, r4, r0 +/* 8028448C 002813EC 48 00 00 08 */ b lbl_80284494 +lbl_80284490: +/* 80284490 002813F0 38 84 00 02 */ addi r4, r4, 2 +lbl_80284494: +/* 80284494 002813F4 7C 04 28 40 */ cmplw r4, r5 +/* 80284498 002813F8 41 82 00 14 */ beq lbl_802844AC +/* 8028449C 002813FC A0 64 00 00 */ lhz r3, 0(r4) +/* 802844A0 00281400 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802844A4 00281404 7C 03 00 40 */ cmplw r3, r0 +/* 802844A8 00281408 40 82 FF E8 */ bne lbl_80284490 +lbl_802844AC: +/* 802844AC 0028140C 7C 04 28 40 */ cmplw r4, r5 +/* 802844B0 00281410 40 82 00 38 */ bne lbl_802844E8 +/* 802844B4 00281414 2C 06 00 20 */ cmpwi r6, 0x20 +/* 802844B8 00281418 41 82 00 30 */ beq lbl_802844E8 +/* 802844BC 0028141C 28 05 00 00 */ cmplwi r5, 0 +/* 802844C0 00281420 41 82 00 0C */ beq lbl_802844CC +/* 802844C4 00281424 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802844C8 00281428 B0 05 00 00 */ sth r0, 0(r5) +lbl_802844CC: +/* 802844CC 0028142C 80 9D 09 3C */ lwz r4, 0x93c(r29) +/* 802844D0 00281430 7F E3 FB 78 */ mr r3, r31 +/* 802844D4 00281434 38 04 00 01 */ addi r0, r4, 1 +/* 802844D8 00281438 90 1D 09 3C */ stw r0, 0x93c(r29) +/* 802844DC 0028143C 4B ED 77 89 */ bl ClearObjectList__17CScriptPlayerHintFv +/* 802844E0 00281440 38 00 00 01 */ li r0, 1 +/* 802844E4 00281444 98 1F 00 FC */ stb r0, 0xfc(r31) +lbl_802844E8: +/* 802844E8 00281448 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802844EC 0028144C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802844F0 00281450 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802844F4 00281454 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802844F8 00281458 7C 08 03 A6 */ mtlr r0 +/* 802844FC 0028145C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80284500 00281460 4E 80 00 20 */ blr + +.global AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager +AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager: +/* 80284504 00281464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284508 00281468 7C 08 02 A6 */ mflr r0 +/* 8028450C 0028146C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80284510 00281470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80284514 00281474 7C 9F 23 78 */ mr r31, r4 +/* 80284518 00281478 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028451C 0028147C 7C 7E 1B 78 */ mr r30, r3 +/* 80284520 00281480 7C A3 2B 78 */ mr r3, r5 +/* 80284524 00281484 A0 04 00 00 */ lhz r0, 0(r4) +/* 80284528 00281488 38 81 00 08 */ addi r4, r1, 8 +/* 8028452C 0028148C B0 01 00 08 */ sth r0, 8(r1) +/* 80284530 00281490 4B DC 80 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284534 00281494 7C 64 1B 78 */ mr r4, r3 +/* 80284538 00281498 38 61 00 0C */ addi r3, r1, 0xc +/* 8028453C 0028149C 4B E2 45 C5 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284540 002814A0 80 03 00 04 */ lwz r0, 4(r3) +/* 80284544 002814A4 28 00 00 00 */ cmplwi r0, 0 +/* 80284548 002814A8 41 82 00 6C */ beq lbl_802845B4 +/* 8028454C 002814AC 80 9E 09 80 */ lwz r4, 0x980(r30) +/* 80284550 002814B0 38 7E 09 84 */ addi r3, r30, 0x984 +/* 80284554 002814B4 7C 66 1B 78 */ mr r6, r3 +/* 80284558 002814B8 54 80 08 3C */ slwi r0, r4, 1 +/* 8028455C 002814BC 7C A3 02 14 */ add r5, r3, r0 +/* 80284560 002814C0 48 00 00 18 */ b lbl_80284578 +lbl_80284564: +/* 80284564 002814C4 A0 66 00 00 */ lhz r3, 0(r6) +/* 80284568 002814C8 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8028456C 002814CC 7C 03 00 40 */ cmplw r3, r0 +/* 80284570 002814D0 41 82 00 44 */ beq lbl_802845B4 +/* 80284574 002814D4 38 C6 00 02 */ addi r6, r6, 2 +lbl_80284578: +/* 80284578 002814D8 7C 06 28 40 */ cmplw r6, r5 +/* 8028457C 002814DC 40 82 FF E8 */ bne lbl_80284564 +/* 80284580 002814E0 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284584 002814E4 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80284588 002814E8 41 82 00 2C */ beq lbl_802845B4 +/* 8028458C 002814EC 2C 04 00 20 */ cmpwi r4, 0x20 +/* 80284590 002814F0 40 82 00 08 */ bne lbl_80284598 +/* 80284594 002814F4 48 00 00 20 */ b lbl_802845B4 +lbl_80284598: +/* 80284598 002814F8 28 05 00 00 */ cmplwi r5, 0 +/* 8028459C 002814FC 41 82 00 0C */ beq lbl_802845A8 +/* 802845A0 00281500 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802845A4 00281504 B0 05 00 00 */ sth r0, 0(r5) +lbl_802845A8: +/* 802845A8 00281508 80 7E 09 80 */ lwz r3, 0x980(r30) +/* 802845AC 0028150C 38 03 00 01 */ addi r0, r3, 1 +/* 802845B0 00281510 90 1E 09 80 */ stw r0, 0x980(r30) +lbl_802845B4: +/* 802845B4 00281514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802845B8 00281518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802845BC 0028151C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802845C0 00281520 7C 08 03 A6 */ mtlr r0 +/* 802845C4 00281524 38 21 00 20 */ addi r1, r1, 0x20 +/* 802845C8 00281528 4E 80 00 20 */ blr + +.global UpdatePlayerHints__7CPlayerFRC13CStateManager +UpdatePlayerHints__7CPlayerFRC13CStateManager: +/* 802845CC 0028152C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802845D0 00281530 7C 08 02 A6 */ mflr r0 +/* 802845D4 00281534 90 01 00 74 */ stw r0, 0x74(r1) +/* 802845D8 00281538 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 802845DC 0028153C 7C 7E 1B 78 */ mr r30, r3 +/* 802845E0 00281540 3B BE 08 3C */ addi r29, r30, 0x83c +/* 802845E4 00281544 7C 9F 23 78 */ mr r31, r4 +/* 802845E8 00281548 3B 60 00 00 */ li r27, 0 +/* 802845EC 0028154C 7F BC EB 78 */ mr r28, r29 +/* 802845F0 00281550 48 00 00 AC */ b lbl_8028469C +lbl_802845F4: +/* 802845F4 00281554 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802845F8 00281558 7F E3 FB 78 */ mr r3, r31 +/* 802845FC 0028155C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80284600 00281560 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80284604 00281564 4B DC 7F 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80284608 00281568 7C 64 1B 78 */ mr r4, r3 +/* 8028460C 0028156C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80284610 00281570 4B E2 44 F1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 80284614 00281574 80 03 00 04 */ lwz r0, 4(r3) +/* 80284618 00281578 28 00 00 00 */ cmplwi r0, 0 +/* 8028461C 0028157C 40 82 00 7C */ bne lbl_80284698 +/* 80284620 00281580 7C 1C E8 40 */ cmplw r28, r29 +/* 80284624 00281584 41 80 00 5C */ blt lbl_80284680 +/* 80284628 00281588 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 8028462C 0028158C 54 00 18 38 */ slwi r0, r0, 3 +/* 80284630 00281590 7C 1D 02 14 */ add r0, r29, r0 +/* 80284634 00281594 7C 1C 00 40 */ cmplw r28, r0 +/* 80284638 00281598 40 80 00 48 */ bge lbl_80284680 +/* 8028463C 0028159C 7F 85 E3 78 */ mr r5, r28 +/* 80284640 002815A0 48 00 00 18 */ b lbl_80284658 +lbl_80284644: +/* 80284644 002815A4 80 05 00 08 */ lwz r0, 8(r5) +/* 80284648 002815A8 90 05 00 00 */ stw r0, 0(r5) +/* 8028464C 002815AC A0 05 00 0C */ lhz r0, 0xc(r5) +/* 80284650 002815B0 B0 05 00 04 */ sth r0, 4(r5) +/* 80284654 002815B4 38 A5 00 08 */ addi r5, r5, 8 +lbl_80284658: +/* 80284658 002815B8 80 9E 08 38 */ lwz r4, 0x838(r30) +/* 8028465C 002815BC 54 83 18 38 */ slwi r3, r4, 3 +/* 80284660 002815C0 38 03 FF F8 */ addi r0, r3, -8 +/* 80284664 002815C4 7C 1D 02 14 */ add r0, r29, r0 +/* 80284668 002815C8 7C 05 00 40 */ cmplw r5, r0 +/* 8028466C 002815CC 41 80 FF D8 */ blt lbl_80284644 +/* 80284670 002815D0 38 04 FF FF */ addi r0, r4, -1 +/* 80284674 002815D4 7F 83 E3 78 */ mr r3, r28 +/* 80284678 002815D8 90 1E 08 38 */ stw r0, 0x838(r30) +/* 8028467C 002815DC 48 00 00 10 */ b lbl_8028468C +lbl_80284680: +/* 80284680 002815E0 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284684 002815E4 54 00 18 38 */ slwi r0, r0, 3 +/* 80284688 002815E8 7C 7D 02 14 */ add r3, r29, r0 +lbl_8028468C: +/* 8028468C 002815EC 7C 7C 1B 78 */ mr r28, r3 +/* 80284690 002815F0 3B 60 00 01 */ li r27, 1 +/* 80284694 002815F4 48 00 00 08 */ b lbl_8028469C +lbl_80284698: +/* 80284698 002815F8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8028469C: +/* 8028469C 002815FC 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 802846A0 00281600 54 00 18 38 */ slwi r0, r0, 3 +/* 802846A4 00281604 7C 1D 02 14 */ add r0, r29, r0 +/* 802846A8 00281608 7C 1C 00 40 */ cmplw r28, r0 +/* 802846AC 0028160C 40 82 FF 48 */ bne lbl_802845F4 +/* 802846B0 00281610 80 1E 09 3C */ lwz r0, 0x93c(r30) +/* 802846B4 00281614 3B 40 00 00 */ li r26, 0 +/* 802846B8 00281618 2C 00 00 00 */ cmpwi r0, 0 +/* 802846BC 0028161C 41 82 01 50 */ beq lbl_8028480C +/* 802846C0 00281620 3B 9E 09 40 */ addi r28, r30, 0x940 +/* 802846C4 00281624 7F 99 E3 78 */ mr r25, r28 +/* 802846C8 00281628 48 00 00 E0 */ b lbl_802847A8 +lbl_802846CC: +/* 802846CC 0028162C A0 19 00 00 */ lhz r0, 0(r25) +/* 802846D0 00281630 7F E3 FB 78 */ mr r3, r31 +/* 802846D4 00281634 38 81 00 20 */ addi r4, r1, 0x20 +/* 802846D8 00281638 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 802846DC 0028163C B0 01 00 20 */ sth r0, 0x20(r1) +/* 802846E0 00281640 4B DC 7E C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 802846E4 00281644 7C 64 1B 78 */ mr r4, r3 +/* 802846E8 00281648 38 61 00 38 */ addi r3, r1, 0x38 +/* 802846EC 0028164C 4B E2 44 15 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802846F0 00281650 80 63 00 04 */ lwz r3, 4(r3) +/* 802846F4 00281654 28 03 00 00 */ cmplwi r3, 0 +/* 802846F8 00281658 41 82 00 AC */ beq lbl_802847A4 +/* 802846FC 0028165C 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 80284700 00281660 28 00 00 00 */ cmplwi r0, 0 +/* 80284704 00281664 41 82 00 10 */ beq lbl_80284714 +/* 80284708 00281668 88 03 00 FC */ lbz r0, 0xfc(r3) +/* 8028470C 0028166C 28 00 00 00 */ cmplwi r0, 0 +/* 80284710 00281670 41 82 00 94 */ beq lbl_802847A4 +lbl_80284714: +/* 80284714 00281674 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 80284718 00281678 7F A5 EB 78 */ mr r5, r29 +/* 8028471C 0028167C A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 80284720 00281680 54 63 18 38 */ slwi r3, r3, 3 +/* 80284724 00281684 7C 9D 1A 14 */ add r4, r29, r3 +/* 80284728 00281688 48 00 00 74 */ b lbl_8028479C +lbl_8028472C: +/* 8028472C 0028168C A0 65 00 04 */ lhz r3, 4(r5) +/* 80284730 00281690 7C 03 00 40 */ cmplw r3, r0 +/* 80284734 00281694 40 82 00 64 */ bne lbl_80284798 +/* 80284738 00281698 7C 05 E8 40 */ cmplw r5, r29 +/* 8028473C 0028169C 41 80 00 44 */ blt lbl_80284780 +/* 80284740 002816A0 7C 05 20 40 */ cmplw r5, r4 +/* 80284744 002816A4 40 80 00 3C */ bge lbl_80284780 +/* 80284748 002816A8 48 00 00 18 */ b lbl_80284760 +lbl_8028474C: +/* 8028474C 002816AC 80 05 00 08 */ lwz r0, 8(r5) +/* 80284750 002816B0 90 05 00 00 */ stw r0, 0(r5) +/* 80284754 002816B4 A0 05 00 0C */ lhz r0, 0xc(r5) +/* 80284758 002816B8 B0 05 00 04 */ sth r0, 4(r5) +/* 8028475C 002816BC 38 A5 00 08 */ addi r5, r5, 8 +lbl_80284760: +/* 80284760 002816C0 80 9E 08 38 */ lwz r4, 0x838(r30) +/* 80284764 002816C4 54 83 18 38 */ slwi r3, r4, 3 +/* 80284768 002816C8 38 03 FF F8 */ addi r0, r3, -8 +/* 8028476C 002816CC 7C 1D 02 14 */ add r0, r29, r0 +/* 80284770 002816D0 7C 05 00 40 */ cmplw r5, r0 +/* 80284774 002816D4 41 80 FF D8 */ blt lbl_8028474C +/* 80284778 002816D8 38 04 FF FF */ addi r0, r4, -1 +/* 8028477C 002816DC 90 1E 08 38 */ stw r0, 0x838(r30) +lbl_80284780: +/* 80284780 002816E0 A0 61 00 2C */ lhz r3, 0x2c(r1) +/* 80284784 002816E4 A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284788 002816E8 7C 03 00 40 */ cmplw r3, r0 +/* 8028478C 002816EC 40 82 00 18 */ bne lbl_802847A4 +/* 80284790 002816F0 3B 40 00 01 */ li r26, 1 +/* 80284794 002816F4 48 00 00 10 */ b lbl_802847A4 +lbl_80284798: +/* 80284798 002816F8 38 A5 00 08 */ addi r5, r5, 8 +lbl_8028479C: +/* 8028479C 002816FC 7C 05 20 40 */ cmplw r5, r4 +/* 802847A0 00281700 40 82 FF 8C */ bne lbl_8028472C +lbl_802847A4: +/* 802847A4 00281704 3B 39 00 02 */ addi r25, r25, 2 +lbl_802847A8: +/* 802847A8 00281708 80 BE 09 3C */ lwz r5, 0x93c(r30) +/* 802847AC 0028170C 54 A0 08 3C */ slwi r0, r5, 1 +/* 802847B0 00281710 7C 1C 02 14 */ add r0, r28, r0 +/* 802847B4 00281714 7C 19 00 40 */ cmplw r25, r0 +/* 802847B8 00281718 40 82 FF 14 */ bne lbl_802846CC +/* 802847BC 0028171C 2C 05 00 00 */ cmpwi r5, 0 +/* 802847C0 00281720 38 60 00 00 */ li r3, 0 +/* 802847C4 00281724 40 81 00 40 */ ble lbl_80284804 +/* 802847C8 00281728 2C 05 00 08 */ cmpwi r5, 8 +/* 802847CC 0028172C 38 85 FF F8 */ addi r4, r5, -8 +/* 802847D0 00281730 40 81 00 20 */ ble lbl_802847F0 +/* 802847D4 00281734 38 04 00 07 */ addi r0, r4, 7 +/* 802847D8 00281738 54 00 E8 FE */ srwi r0, r0, 3 +/* 802847DC 0028173C 7C 09 03 A6 */ mtctr r0 +/* 802847E0 00281740 2C 04 00 00 */ cmpwi r4, 0 +/* 802847E4 00281744 40 81 00 0C */ ble lbl_802847F0 +lbl_802847E8: +/* 802847E8 00281748 38 63 00 08 */ addi r3, r3, 8 +/* 802847EC 0028174C 42 00 FF FC */ bdnz lbl_802847E8 +lbl_802847F0: +/* 802847F0 00281750 7C 03 28 50 */ subf r0, r3, r5 +/* 802847F4 00281754 7C 09 03 A6 */ mtctr r0 +/* 802847F8 00281758 7C 03 28 00 */ cmpw r3, r5 +/* 802847FC 0028175C 40 80 00 08 */ bge lbl_80284804 +lbl_80284800: +/* 80284800 00281760 42 00 00 00 */ bdnz lbl_80284800 +lbl_80284804: +/* 80284804 00281764 38 00 00 00 */ li r0, 0 +/* 80284808 00281768 90 1E 09 3C */ stw r0, 0x93c(r30) +lbl_8028480C: +/* 8028480C 0028176C 80 1E 09 80 */ lwz r0, 0x980(r30) +/* 80284810 00281770 3B 20 00 00 */ li r25, 0 +/* 80284814 00281774 2C 00 00 00 */ cmpwi r0, 0 +/* 80284818 00281778 41 82 01 14 */ beq lbl_8028492C +/* 8028481C 0028177C 3B 9E 09 84 */ addi r28, r30, 0x984 +/* 80284820 00281780 7F 98 E3 78 */ mr r24, r28 +/* 80284824 00281784 48 00 00 A4 */ b lbl_802848C8 +lbl_80284828: +/* 80284828 00281788 A0 18 00 00 */ lhz r0, 0(r24) +/* 8028482C 0028178C 7F E3 FB 78 */ mr r3, r31 +/* 80284830 00281790 38 81 00 1C */ addi r4, r1, 0x1c +/* 80284834 00281794 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80284838 00281798 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8028483C 0028179C 4B DC 7D 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80284840 002817A0 7C 64 1B 78 */ mr r4, r3 +/* 80284844 002817A4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80284848 002817A8 4B E2 42 B9 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 8028484C 002817AC 80 A3 00 04 */ lwz r5, 4(r3) +/* 80284850 002817B0 28 05 00 00 */ cmplwi r5, 0 +/* 80284854 002817B4 41 82 00 70 */ beq lbl_802848C4 +/* 80284858 002817B8 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 8028485C 002817BC 7F A7 EB 78 */ mr r7, r29 +/* 80284860 002817C0 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 80284864 002817C4 38 C0 00 00 */ li r6, 0 +/* 80284868 002817C8 54 63 18 38 */ slwi r3, r3, 3 +/* 8028486C 002817CC 7C 9D 1A 14 */ add r4, r29, r3 +/* 80284870 002817D0 48 00 00 1C */ b lbl_8028488C +lbl_80284874: +/* 80284874 002817D4 A0 67 00 04 */ lhz r3, 4(r7) +/* 80284878 002817D8 7C 03 00 40 */ cmplw r3, r0 +/* 8028487C 002817DC 40 82 00 0C */ bne lbl_80284888 +/* 80284880 002817E0 38 C0 00 01 */ li r6, 1 +/* 80284884 002817E4 48 00 00 10 */ b lbl_80284894 +lbl_80284888: +/* 80284888 002817E8 38 E7 00 08 */ addi r7, r7, 8 +lbl_8028488C: +/* 8028488C 002817EC 7C 07 20 40 */ cmplw r7, r4 +/* 80284890 002817F0 40 82 FF E4 */ bne lbl_80284874 +lbl_80284894: +/* 80284894 002817F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80284898 002817F8 40 82 00 2C */ bne lbl_802848C4 +/* 8028489C 002817FC 28 04 00 00 */ cmplwi r4, 0 +/* 802848A0 00281800 80 05 01 00 */ lwz r0, 0x100(r5) +/* 802848A4 00281804 41 82 00 10 */ beq lbl_802848B4 +/* 802848A8 00281808 90 04 00 00 */ stw r0, 0(r4) +/* 802848AC 0028180C A0 01 00 28 */ lhz r0, 0x28(r1) +/* 802848B0 00281810 B0 04 00 04 */ sth r0, 4(r4) +lbl_802848B4: +/* 802848B4 00281814 80 7E 08 38 */ lwz r3, 0x838(r30) +/* 802848B8 00281818 3B 20 00 01 */ li r25, 1 +/* 802848BC 0028181C 38 03 00 01 */ addi r0, r3, 1 +/* 802848C0 00281820 90 1E 08 38 */ stw r0, 0x838(r30) +lbl_802848C4: +/* 802848C4 00281824 3B 18 00 02 */ addi r24, r24, 2 +lbl_802848C8: +/* 802848C8 00281828 80 BE 09 80 */ lwz r5, 0x980(r30) +/* 802848CC 0028182C 54 A0 08 3C */ slwi r0, r5, 1 +/* 802848D0 00281830 7C 1C 02 14 */ add r0, r28, r0 +/* 802848D4 00281834 7C 18 00 40 */ cmplw r24, r0 +/* 802848D8 00281838 40 82 FF 50 */ bne lbl_80284828 +/* 802848DC 0028183C 2C 05 00 00 */ cmpwi r5, 0 +/* 802848E0 00281840 38 60 00 00 */ li r3, 0 +/* 802848E4 00281844 40 81 00 40 */ ble lbl_80284924 +/* 802848E8 00281848 2C 05 00 08 */ cmpwi r5, 8 +/* 802848EC 0028184C 38 85 FF F8 */ addi r4, r5, -8 +/* 802848F0 00281850 40 81 00 20 */ ble lbl_80284910 +/* 802848F4 00281854 38 04 00 07 */ addi r0, r4, 7 +/* 802848F8 00281858 54 00 E8 FE */ srwi r0, r0, 3 +/* 802848FC 0028185C 7C 09 03 A6 */ mtctr r0 +/* 80284900 00281860 2C 04 00 00 */ cmpwi r4, 0 +/* 80284904 00281864 40 81 00 0C */ ble lbl_80284910 +lbl_80284908: +/* 80284908 00281868 38 63 00 08 */ addi r3, r3, 8 +/* 8028490C 0028186C 42 00 FF FC */ bdnz lbl_80284908 +lbl_80284910: +/* 80284910 00281870 7C 03 28 50 */ subf r0, r3, r5 +/* 80284914 00281874 7C 09 03 A6 */ mtctr r0 +/* 80284918 00281878 7C 03 28 00 */ cmpw r3, r5 +/* 8028491C 0028187C 40 80 00 08 */ bge lbl_80284924 +lbl_80284920: +/* 80284920 00281880 42 00 00 00 */ bdnz lbl_80284920 +lbl_80284924: +/* 80284924 00281884 38 00 00 00 */ li r0, 0 +/* 80284928 00281888 90 1E 09 80 */ stw r0, 0x980(r30) +lbl_8028492C: +/* 8028492C 0028188C 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80284930 00281890 40 82 00 14 */ bne lbl_80284944 +/* 80284934 00281894 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284938 00281898 40 82 00 0C */ bne lbl_80284944 +/* 8028493C 0028189C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80284940 002818A0 41 82 01 54 */ beq lbl_80284A94 +lbl_80284944: +/* 80284944 002818A4 88 81 00 10 */ lbz r4, 0x10(r1) +/* 80284948 002818A8 7F A3 EB 78 */ mr r3, r29 +/* 8028494C 002818AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80284950 002818B0 98 81 00 08 */ stb r4, 8(r1) +/* 80284954 002818B4 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284958 002818B8 98 81 00 0C */ stb r4, 0xc(r1) +/* 8028495C 002818BC 54 00 18 38 */ slwi r0, r0, 3 +/* 80284960 002818C0 7C 9D 02 14 */ add r4, r29, r0 +/* 80284964 002818C4 4B D8 79 7D */ bl sub_8000c2e0 +/* 80284968 002818C8 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 8028496C 002818CC 40 82 00 0C */ bne lbl_80284978 +/* 80284970 002818D0 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80284974 002818D4 41 82 00 30 */ beq lbl_802849A4 +lbl_80284978: +/* 80284978 002818D8 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 8028497C 002818DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80284980 002818E0 40 82 00 24 */ bne lbl_802849A4 +/* 80284984 002818E4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80284988 002818E8 38 00 03 E8 */ li r0, 0x3e8 +/* 8028498C 002818EC 7F C3 F3 78 */ mr r3, r30 +/* 80284990 002818F0 7F E4 FB 78 */ mr r4, r31 +/* 80284994 002818F4 B0 BE 08 30 */ sth r5, 0x830(r30) +/* 80284998 002818F8 90 1E 08 34 */ stw r0, 0x834(r30) +/* 8028499C 002818FC 48 00 03 09 */ bl ResetPlayerHintState__7CPlayerFv +/* 802849A0 00281900 48 00 00 F4 */ b lbl_80284A94 +lbl_802849A4: +/* 802849A4 00281904 7F BA EB 78 */ mr r26, r29 +/* 802849A8 00281908 3B 00 00 00 */ li r24, 0 +/* 802849AC 0028190C 3B 20 00 00 */ li r25, 0 +/* 802849B0 00281910 48 00 00 50 */ b lbl_80284A00 +lbl_802849B4: +/* 802849B4 00281914 A0 1A 00 04 */ lhz r0, 4(r26) +/* 802849B8 00281918 7F E3 FB 78 */ mr r3, r31 +/* 802849BC 0028191C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802849C0 00281920 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802849C4 00281924 4B DC 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802849C8 00281928 7C 64 1B 78 */ mr r4, r3 +/* 802849CC 0028192C 38 61 00 48 */ addi r3, r1, 0x48 +/* 802849D0 00281930 4B E2 41 31 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" +/* 802849D4 00281934 80 63 00 04 */ lwz r3, 4(r3) +/* 802849D8 00281938 28 03 00 00 */ cmplwi r3, 0 +/* 802849DC 0028193C 7C 78 1B 78 */ mr r24, r3 +/* 802849E0 00281940 41 82 00 1C */ beq lbl_802849FC +/* 802849E4 00281944 80 63 00 04 */ lwz r3, 4(r3) +/* 802849E8 00281948 80 1F 08 CC */ lwz r0, 0x8cc(r31) +/* 802849EC 0028194C 7C 03 00 00 */ cmpw r3, r0 +/* 802849F0 00281950 40 82 00 0C */ bne lbl_802849FC +/* 802849F4 00281954 3B 20 00 01 */ li r25, 1 +/* 802849F8 00281958 48 00 00 1C */ b lbl_80284A14 +lbl_802849FC: +/* 802849FC 0028195C 3B 5A 00 08 */ addi r26, r26, 8 +lbl_80284A00: +/* 80284A00 00281960 80 1E 08 38 */ lwz r0, 0x838(r30) +/* 80284A04 00281964 54 00 18 38 */ slwi r0, r0, 3 +/* 80284A08 00281968 7C 1D 02 14 */ add r0, r29, r0 +/* 80284A0C 0028196C 7C 1A 00 40 */ cmplw r26, r0 +/* 80284A10 00281970 40 82 FF A4 */ bne lbl_802849B4 +lbl_80284A14: +/* 80284A14 00281974 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284A18 00281978 40 82 00 20 */ bne lbl_80284A38 +/* 80284A1C 0028197C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 80284A20 00281980 38 00 03 E8 */ li r0, 0x3e8 +/* 80284A24 00281984 7F C3 F3 78 */ mr r3, r30 +/* 80284A28 00281988 7F E4 FB 78 */ mr r4, r31 +/* 80284A2C 0028198C B0 BE 08 30 */ sth r5, 0x830(r30) +/* 80284A30 00281990 90 1E 08 34 */ stw r0, 0x834(r30) +/* 80284A34 00281994 48 00 02 71 */ bl ResetPlayerHintState__7CPlayerFv +lbl_80284A38: +/* 80284A38 00281998 28 18 00 00 */ cmplwi r24, 0 +/* 80284A3C 0028199C 41 82 00 58 */ beq lbl_80284A94 +/* 80284A40 002819A0 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80284A44 002819A4 41 82 00 50 */ beq lbl_80284A94 +/* 80284A48 002819A8 A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284A4C 002819AC A0 78 00 08 */ lhz r3, 8(r24) +/* 80284A50 002819B0 7C 00 18 40 */ cmplw r0, r3 +/* 80284A54 002819B4 41 82 00 40 */ beq lbl_80284A94 +/* 80284A58 002819B8 B0 7E 08 30 */ sth r3, 0x830(r30) +/* 80284A5C 002819BC 7F C3 F3 78 */ mr r3, r30 +/* 80284A60 002819C0 7F 04 C3 78 */ mr r4, r24 +/* 80284A64 002819C4 7F E5 FB 78 */ mr r5, r31 +/* 80284A68 002819C8 80 18 01 00 */ lwz r0, 0x100(r24) +/* 80284A6C 002819CC 90 1E 08 34 */ stw r0, 0x834(r30) +/* 80284A70 002819D0 48 00 00 39 */ bl SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager +/* 80284A74 002819D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284A78 002819D8 41 82 00 1C */ beq lbl_80284A94 +/* 80284A7C 002819DC A0 1E 08 30 */ lhz r0, 0x830(r30) +/* 80284A80 002819E0 7F C3 F3 78 */ mr r3, r30 +/* 80284A84 002819E4 7F E5 FB 78 */ mr r5, r31 +/* 80284A88 002819E8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80284A8C 002819EC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80284A90 002819F0 4B FF F9 A1 */ bl DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager +lbl_80284A94: +/* 80284A94 002819F4 BB 01 00 50 */ lmw r24, 0x50(r1) +/* 80284A98 002819F8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80284A9C 002819FC 7C 08 03 A6 */ mtlr r0 +/* 80284AA0 00281A00 38 21 00 70 */ addi r1, r1, 0x70 +/* 80284AA4 00281A04 4E 80 00 20 */ blr + +.global SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager +SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager: +/* 80284AA8 00281A08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284AAC 00281A0C 7C 08 02 A6 */ mflr r0 +/* 80284AB0 00281A10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284AB4 00281A14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80284AB8 00281A18 7C BF 2B 78 */ mr r31, r5 +/* 80284ABC 00281A1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80284AC0 00281A20 7C 9E 23 78 */ mr r30, r4 +/* 80284AC4 00281A24 80 84 01 04 */ lwz r4, 0x104(r4) +/* 80284AC8 00281A28 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284ACC 00281A2C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80284AD0 00281A30 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284AD4 00281A34 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284AD8 00281A38 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284ADC 00281A3C 54 84 06 72 */ rlwinm r4, r4, 0, 0x19, 0x19 +/* 80284AE0 00281A40 7C 84 00 34 */ cntlzw r4, r4 +/* 80284AE4 00281A44 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b +/* 80284AE8 00281A48 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284AEC 00281A4C 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284AF0 00281A50 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284AF4 00281A54 54 84 06 B4 */ rlwinm r4, r4, 0, 0x1a, 0x1a +/* 80284AF8 00281A58 7C 84 00 34 */ cntlzw r4, r4 +/* 80284AFC 00281A5C 50 80 F7 38 */ rlwimi r0, r4, 0x1e, 0x1c, 0x1c +/* 80284B00 00281A60 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284B04 00281A64 80 9E 01 04 */ lwz r4, 0x104(r30) +/* 80284B08 00281A68 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284B0C 00281A6C 50 80 07 BC */ rlwimi r0, r4, 0, 0x1e, 0x1e +/* 80284B10 00281A70 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284B14 00281A74 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284B18 00281A78 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80284B1C 00281A7C 41 82 00 1C */ beq lbl_80284B38 +/* 80284B20 00281A80 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 80284B24 00281A84 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 80284B28 00281A88 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80284B2C 00281A8C D0 03 09 D8 */ stfs f0, 0x9d8(r3) +/* 80284B30 00281A90 D0 23 09 DC */ stfs f1, 0x9dc(r3) +/* 80284B34 00281A94 D0 43 09 E0 */ stfs f2, 0x9e0(r3) +lbl_80284B38: +/* 80284B38 00281A98 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B3C 00281A9C 38 00 00 00 */ li r0, 0 +/* 80284B40 00281AA0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B44 00281AA4 50 A4 2E 30 */ rlwimi r4, r5, 5, 0x18, 0x18 +/* 80284B48 00281AA8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B4C 00281AAC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B50 00281AB0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B54 00281AB4 50 A4 16 B4 */ rlwimi r4, r5, 2, 0x1a, 0x1a +/* 80284B58 00281AB8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B5C 00281ABC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B60 00281AC0 88 83 09 C4 */ lbz r4, 0x9c4(r3) +/* 80284B64 00281AC4 50 A4 F7 7A */ rlwimi r4, r5, 0x1e, 0x1d, 0x1d +/* 80284B68 00281AC8 98 83 09 C4 */ stb r4, 0x9c4(r3) +/* 80284B6C 00281ACC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B70 00281AD0 88 83 09 C6 */ lbz r4, 0x9c6(r3) +/* 80284B74 00281AD4 50 A4 DF 7A */ rlwimi r4, r5, 0x1b, 0x1d, 0x1d +/* 80284B78 00281AD8 98 83 09 C6 */ stb r4, 0x9c6(r3) +/* 80284B7C 00281ADC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B80 00281AE0 88 83 09 C7 */ lbz r4, 0x9c7(r3) +/* 80284B84 00281AE4 50 A4 C6 72 */ rlwimi r4, r5, 0x18, 0x19, 0x19 +/* 80284B88 00281AE8 98 83 09 C7 */ stb r4, 0x9c7(r3) +/* 80284B8C 00281AEC 80 BE 01 04 */ lwz r5, 0x104(r30) +/* 80284B90 00281AF0 80 83 07 68 */ lwz r4, 0x768(r3) +/* 80284B94 00281AF4 54 A3 05 EE */ rlwinm r3, r5, 0, 0x17, 0x17 +/* 80284B98 00281AF8 7C 65 00 34 */ cntlzw r5, r3 +/* 80284B9C 00281AFC 88 64 1D E4 */ lbz r3, 0x1de4(r4) +/* 80284BA0 00281B00 50 A3 0E 72 */ rlwimi r3, r5, 1, 0x19, 0x19 +/* 80284BA4 00281B04 98 64 1D E4 */ stb r3, 0x1de4(r4) +/* 80284BA8 00281B08 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284BAC 00281B0C 54 63 05 AD */ rlwinm. r3, r3, 0, 0x16, 0x16 +/* 80284BB0 00281B10 41 82 00 30 */ beq lbl_80284BE0 +/* 80284BB4 00281B14 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BB8 00281B18 38 80 00 11 */ li r4, 0x11 +/* 80284BBC 00281B1C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BC0 00281B20 4B E0 CF 01 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284BC4 00281B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284BC8 00281B28 41 82 00 14 */ beq lbl_80284BDC +/* 80284BCC 00281B2C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BD0 00281B30 38 80 00 00 */ li r4, 0 +/* 80284BD4 00281B34 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BD8 00281B38 4B E0 CD 7D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284BDC: +/* 80284BDC 00281B3C 38 00 00 01 */ li r0, 1 +lbl_80284BE0: +/* 80284BE0 00281B40 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284BE4 00281B44 54 63 05 6B */ rlwinm. r3, r3, 0, 0x15, 0x15 +/* 80284BE8 00281B48 41 82 00 30 */ beq lbl_80284C18 +/* 80284BEC 00281B4C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284BF0 00281B50 38 80 00 05 */ li r4, 5 +/* 80284BF4 00281B54 80 63 00 00 */ lwz r3, 0(r3) +/* 80284BF8 00281B58 4B E0 CE C9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284BFC 00281B5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C00 00281B60 41 82 00 14 */ beq lbl_80284C14 +/* 80284C04 00281B64 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C08 00281B68 38 80 00 02 */ li r4, 2 +/* 80284C0C 00281B6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C10 00281B70 4B E0 CD 45 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C14: +/* 80284C14 00281B74 38 00 00 01 */ li r0, 1 +lbl_80284C18: +/* 80284C18 00281B78 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284C1C 00281B7C 54 63 05 29 */ rlwinm. r3, r3, 0, 0x14, 0x14 +/* 80284C20 00281B80 41 82 00 30 */ beq lbl_80284C50 +/* 80284C24 00281B84 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C28 00281B88 38 80 00 09 */ li r4, 9 +/* 80284C2C 00281B8C 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C30 00281B90 4B E0 CE 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284C34 00281B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C38 00281B98 41 82 00 14 */ beq lbl_80284C4C +/* 80284C3C 00281B9C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C40 00281BA0 38 80 00 03 */ li r4, 3 +/* 80284C44 00281BA4 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C48 00281BA8 4B E0 CD 0D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C4C: +/* 80284C4C 00281BAC 38 00 00 01 */ li r0, 1 +lbl_80284C50: +/* 80284C50 00281BB0 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 80284C54 00281BB4 54 63 04 E7 */ rlwinm. r3, r3, 0, 0x13, 0x13 +/* 80284C58 00281BB8 41 82 00 30 */ beq lbl_80284C88 +/* 80284C5C 00281BBC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C60 00281BC0 38 80 00 0D */ li r4, 0xd +/* 80284C64 00281BC4 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C68 00281BC8 4B E0 CE 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80284C6C 00281BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80284C70 00281BD0 41 82 00 14 */ beq lbl_80284C84 +/* 80284C74 00281BD4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80284C78 00281BD8 38 80 00 01 */ li r4, 1 +/* 80284C7C 00281BDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80284C80 00281BE0 4B E0 CC D5 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor +lbl_80284C84: +/* 80284C84 00281BE4 38 00 00 01 */ li r0, 1 +lbl_80284C88: +/* 80284C88 00281BE8 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80284C8C 00281BEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284C90 00281BF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80284C94 00281BF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80284C98 00281BF8 7C 08 03 A6 */ mtlr r0 +/* 80284C9C 00281BFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284CA0 00281C00 4E 80 00 20 */ blr + +.global ResetPlayerHintState__7CPlayerFv +ResetPlayerHintState__7CPlayerFv: +/* 80284CA4 00281C04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284CA8 00281C08 7C 08 02 A6 */ mflr r0 +/* 80284CAC 00281C0C 38 A0 00 01 */ li r5, 1 +/* 80284CB0 00281C10 38 80 00 00 */ li r4, 0 +/* 80284CB4 00281C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284CB8 00281C18 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CBC 00281C1C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80284CC0 00281C20 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CC4 00281C24 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CC8 00281C28 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80284CCC 00281C2C 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CD0 00281C30 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CD4 00281C34 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80284CD8 00281C38 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CDC 00281C3C 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284CE0 00281C40 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80284CE4 00281C44 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284CE8 00281C48 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284CEC 00281C4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80284CF0 00281C50 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284CF4 00281C54 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284CF8 00281C58 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80284CFC 00281C5C 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284D00 00281C60 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80284D04 00281C64 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80284D08 00281C68 98 03 09 C4 */ stb r0, 0x9c4(r3) +/* 80284D0C 00281C6C 88 03 09 C6 */ lbz r0, 0x9c6(r3) +/* 80284D10 00281C70 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80284D14 00281C74 98 03 09 C6 */ stb r0, 0x9c6(r3) +/* 80284D18 00281C78 88 03 09 C7 */ lbz r0, 0x9c7(r3) +/* 80284D1C 00281C7C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80284D20 00281C80 98 03 09 C7 */ stb r0, 0x9c7(r3) +/* 80284D24 00281C84 80 83 07 68 */ lwz r4, 0x768(r3) +/* 80284D28 00281C88 88 04 1D E4 */ lbz r0, 0x1de4(r4) +/* 80284D2C 00281C8C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80284D30 00281C90 98 04 1D E4 */ stb r0, 0x1de4(r4) +/* 80284D34 00281C94 4B D8 CD 55 */ bl ResetControlDirectionInterpolation__7CPlayerFv +/* 80284D38 00281C98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284D3C 00281C9C 7C 08 03 A6 */ mtlr r0 +/* 80284D40 00281CA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284D44 00281CA4 4E 80 00 20 */ blr + +.global GetBallPosition__7CPlayerCFv +GetBallPosition__7CPlayerCFv: +/* 80284D48 00281CA8 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 80284D4C 00281CAC C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80284D50 00281CB0 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80284D54 00281CB4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80284D58 00281CB8 EC 00 18 2A */ fadds f0, f0, f3 +/* 80284D5C 00281CBC C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80284D60 00281CC0 C0 25 02 7C */ lfs f1, 0x27c(r5) +/* 80284D64 00281CC4 EC 64 18 2A */ fadds f3, f4, f3 +/* 80284D68 00281CC8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80284D6C 00281CCC EC 02 08 2A */ fadds f0, f2, f1 +/* 80284D70 00281CD0 D0 63 00 04 */ stfs f3, 4(r3) +/* 80284D74 00281CD4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80284D78 00281CD8 4E 80 00 20 */ blr + +.global GetEyePosition__7CPlayerCFv +GetEyePosition__7CPlayerCFv: +/* 80284D7C 00281CDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284D80 00281CE0 7C 08 02 A6 */ mflr r0 +/* 80284D84 00281CE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284D88 00281CE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80284D8C 00281CEC 7C 9F 23 78 */ mr r31, r4 +/* 80284D90 00281CF0 93 C1 00 08 */ stw r30, 8(r1) +/* 80284D94 00281CF4 7C 7E 1B 78 */ mr r30, r3 +/* 80284D98 00281CF8 7F E3 FB 78 */ mr r3, r31 +/* 80284D9C 00281CFC 48 00 00 45 */ bl GetEyeHeight__7CPlayerCFv +/* 80284DA0 00281D00 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) +/* 80284DA4 00281D04 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80284DA8 00281D08 C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80284DAC 00281D0C EC 00 18 2A */ fadds f0, f0, f3 +/* 80284DB0 00281D10 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80284DB4 00281D14 EC 64 18 2A */ fadds f3, f4, f3 +/* 80284DB8 00281D18 EC 22 08 2A */ fadds f1, f2, f1 +/* 80284DBC 00281D1C D0 1E 00 00 */ stfs f0, 0(r30) +/* 80284DC0 00281D20 D0 7E 00 04 */ stfs f3, 4(r30) +/* 80284DC4 00281D24 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80284DC8 00281D28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284DCC 00281D2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80284DD0 00281D30 83 C1 00 08 */ lwz r30, 8(r1) +/* 80284DD4 00281D34 7C 08 03 A6 */ mtlr r0 +/* 80284DD8 00281D38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284DDC 00281D3C 4E 80 00 20 */ blr + +.global GetEyeHeight__7CPlayerCFv +GetEyeHeight__7CPlayerCFv: +/* 80284DE0 00281D40 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284DE4 00281D44 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80284DE8 00281D48 C0 63 02 EC */ lfs f3, 0x2ec(r3) +/* 80284DEC 00281D4C C0 04 01 24 */ lfs f0, 0x124(r4) +/* 80284DF0 00281D50 C0 83 02 DC */ lfs f4, 0x2dc(r3) +/* 80284DF4 00281D54 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80284DF8 00281D58 C0 23 09 C8 */ lfs f1, 0x9c8(r3) +/* 80284DFC 00281D5C C0 43 02 D8 */ lfs f2, 0x2d8(r3) +/* 80284E00 00281D60 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80284E04 00281D64 EC 21 00 2A */ fadds f1, f1, f0 +/* 80284E08 00281D68 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284E0C 00281D6C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80284E10 00281D70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80284E14 00281D74 4E 80 00 20 */ blr + +.global GetUnbiasedEyeHeight__7CPlayerCFv +GetUnbiasedEyeHeight__7CPlayerCFv: +/* 80284E18 00281D78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80284E1C 00281D7C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80284E20 00281D80 C0 63 02 EC */ lfs f3, 0x2ec(r3) +/* 80284E24 00281D84 C0 04 01 24 */ lfs f0, 0x124(r4) +/* 80284E28 00281D88 C0 83 02 DC */ lfs f4, 0x2dc(r3) +/* 80284E2C 00281D8C C0 43 02 D8 */ lfs f2, 0x2d8(r3) +/* 80284E30 00281D90 EC 23 00 28 */ fsubs f1, f3, f0 +/* 80284E34 00281D94 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80284E38 00281D98 D0 41 00 08 */ stfs f2, 8(r1) +/* 80284E3C 00281D9C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80284E40 00281DA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80284E44 00281DA4 4E 80 00 20 */ blr + +.global GetStepUpHeight__7CPlayerCFv +GetStepUpHeight__7CPlayerCFv: +/* 80284E48 00281DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284E4C 00281DAC 7C 08 02 A6 */ mflr r0 +/* 80284E50 00281DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284E54 00281DB4 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80284E58 00281DB8 2C 00 00 01 */ cmpwi r0, 1 +/* 80284E5C 00281DBC 41 82 00 0C */ beq lbl_80284E68 +/* 80284E60 00281DC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80284E64 00281DC4 40 82 00 0C */ bne lbl_80284E70 +lbl_80284E68: +/* 80284E68 00281DC8 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80284E6C 00281DCC 48 00 00 08 */ b lbl_80284E74 +lbl_80284E70: +/* 80284E70 00281DD0 4B E9 57 AD */ bl GetStepUpHeight__13CPhysicsActorCFv +lbl_80284E74: +/* 80284E74 00281DD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284E78 00281DD8 7C 08 03 A6 */ mtlr r0 +/* 80284E7C 00281DDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284E80 00281DE0 4E 80 00 20 */ blr + +.global GetStepDownHeight__7CPlayerCFv +GetStepDownHeight__7CPlayerCFv: +/* 80284E84 00281DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80284E88 00281DE8 7C 08 02 A6 */ mflr r0 +/* 80284E8C 00281DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80284E90 00281DF0 80 03 02 58 */ lwz r0, 0x258(r3) +/* 80284E94 00281DF4 2C 00 00 01 */ cmpwi r0, 1 +/* 80284E98 00281DF8 40 82 00 0C */ bne lbl_80284EA4 +/* 80284E9C 00281DFC C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80284EA0 00281E00 48 00 00 18 */ b lbl_80284EB8 +lbl_80284EA4: +/* 80284EA4 00281E04 2C 00 00 02 */ cmpwi r0, 2 +/* 80284EA8 00281E08 40 82 00 0C */ bne lbl_80284EB4 +/* 80284EAC 00281E0C C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) +/* 80284EB0 00281E10 48 00 00 08 */ b lbl_80284EB8 +lbl_80284EB4: +/* 80284EB4 00281E14 4B E9 57 71 */ bl GetStepDownHeight__13CPhysicsActorCFv +lbl_80284EB8: +/* 80284EB8 00281E18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80284EBC 00281E1C 7C 08 03 A6 */ mtlr r0 +/* 80284EC0 00281E20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80284EC4 00281E24 4E 80 00 20 */ blr + +.global UpdateSubmerged__7CPlayerFRC13CStateManager +UpdateSubmerged__7CPlayerFRC13CStateManager: +/* 80284EC8 00281E28 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80284ECC 00281E2C 7C 08 02 A6 */ mflr r0 +/* 80284ED0 00281E30 90 01 00 94 */ stw r0, 0x94(r1) +/* 80284ED4 00281E34 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80284ED8 00281E38 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80284EDC 00281E3C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80284EE0 00281E40 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80284EE4 00281E44 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80284EE8 00281E48 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80284EEC 00281E4C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80284EF0 00281E50 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80284EF4 00281E54 38 00 00 00 */ li r0, 0 +/* 80284EF8 00281E58 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80284EFC 00281E5C 98 03 08 2C */ stb r0, 0x82c(r3) +/* 80284F00 00281E60 7C 7E 1B 78 */ mr r30, r3 +/* 80284F04 00281E64 D0 03 08 28 */ stfs f0, 0x828(r3) +/* 80284F08 00281E68 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80284F0C 00281E6C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 80284F10 00281E70 41 82 00 CC */ beq lbl_80284FDC +/* 80284F14 00281E74 A0 1E 00 C4 */ lhz r0, 0xc4(r30) +/* 80284F18 00281E78 7C 83 23 78 */ mr r3, r4 +/* 80284F1C 00281E7C 38 81 00 0C */ addi r4, r1, 0xc +/* 80284F20 00281E80 B0 01 00 08 */ sth r0, 8(r1) +/* 80284F24 00281E84 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80284F28 00281E88 4B DC 76 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80284F2C 00281E8C 7C 64 1B 78 */ mr r4, r3 +/* 80284F30 00281E90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80284F34 00281E94 4B E2 19 2D */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 80284F38 00281E98 83 E3 00 04 */ lwz r31, 4(r3) +/* 80284F3C 00281E9C 28 1F 00 00 */ cmplwi r31, 0 +/* 80284F40 00281EA0 41 82 00 9C */ beq lbl_80284FDC +/* 80284F44 00281EA4 C3 BE 00 60 */ lfs f29, 0x60(r30) +/* 80284F48 00281EA8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80284F4C 00281EAC C3 DE 00 50 */ lfs f30, 0x50(r30) +/* 80284F50 00281EB0 C3 FE 00 40 */ lfs f31, 0x40(r30) +/* 80284F54 00281EB4 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80284F58 00281EB8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80284F5C 00281EBC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80284F60 00281EC0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80284F64 00281EC4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80284F68 00281EC8 48 08 F9 91 */ bl Normalize__9CVector3fFv +/* 80284F6C 00281ECC 7F E4 FB 78 */ mr r4, r31 +/* 80284F70 00281ED0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80284F74 00281ED4 4B DF 17 59 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80284F78 00281ED8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80284F7C 00281EDC 38 00 00 01 */ li r0, 1 +/* 80284F80 00281EE0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80284F84 00281EE4 EC 02 07 B2 */ fmuls f0, f2, f30 +/* 80284F88 00281EE8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80284F8C 00281EEC C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80284F90 00281EF0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80284F94 00281EF4 EC 03 07 FA */ fmadds f0, f3, f31, f0 +/* 80284F98 00281EF8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80284F9C 00281EFC EC 01 07 7A */ fmadds f0, f1, f29, f0 +/* 80284FA0 00281F00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80284FA4 00281F04 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80284FA8 00281F08 EC 00 20 28 */ fsubs f0, f0, f4 +/* 80284FAC 00281F0C FC 00 00 50 */ fneg f0, f0 +/* 80284FB0 00281F10 D0 1E 08 28 */ stfs f0, 0x828(r30) +/* 80284FB4 00281F14 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 80284FB8 00281F18 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80284FBC 00281F1C 2C 03 00 02 */ cmpwi r3, 2 +/* 80284FC0 00281F20 41 82 00 10 */ beq lbl_80284FD0 +/* 80284FC4 00281F24 2C 03 00 05 */ cmpwi r3, 5 +/* 80284FC8 00281F28 41 82 00 08 */ beq lbl_80284FD0 +/* 80284FCC 00281F2C 38 00 00 00 */ li r0, 0 +lbl_80284FD0: +/* 80284FD0 00281F30 98 1E 08 2C */ stb r0, 0x82c(r30) +/* 80284FD4 00281F34 7F C3 F3 78 */ mr r3, r30 +/* 80284FD8 00281F38 48 00 00 35 */ bl CheckSubmerged__7CPlayerCFv +lbl_80284FDC: +/* 80284FDC 00281F3C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80284FE0 00281F40 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80284FE4 00281F44 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80284FE8 00281F48 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80284FEC 00281F4C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80284FF0 00281F50 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80284FF4 00281F54 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80284FF8 00281F58 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80284FFC 00281F5C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80285000 00281F60 7C 08 03 A6 */ mtlr r0 +/* 80285004 00281F64 38 21 00 90 */ addi r1, r1, 0x90 +/* 80285008 00281F68 4E 80 00 20 */ blr + +.global CheckSubmerged__7CPlayerCFv +CheckSubmerged__7CPlayerCFv: +/* 8028500C 00281F6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80285010 00281F70 7C 08 02 A6 */ mflr r0 +/* 80285014 00281F74 90 01 00 24 */ stw r0, 0x24(r1) +/* 80285018 00281F78 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8028501C 00281F7C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80285020 00281F80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285024 00281F84 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 80285028 00281F88 7C 7F 1B 78 */ mr r31, r3 +/* 8028502C 00281F8C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 80285030 00281F90 40 82 00 0C */ bne lbl_8028503C +/* 80285034 00281F94 38 60 00 00 */ li r3, 0 +/* 80285038 00281F98 48 00 00 48 */ b lbl_80285080 +lbl_8028503C: +/* 8028503C 00281F9C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80285040 00281FA0 C0 22 BD 8C */ lfs f1, lbl_805ADAAC@sda21(r2) +/* 80285044 00281FA4 C0 04 02 7C */ lfs f0, 0x27c(r4) +/* 80285048 00281FA8 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8028504C 00281FAC 4B FF FD 95 */ bl GetEyeHeight__7CPlayerCFv +/* 80285050 00281FB0 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80285054 00281FB4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285058 00281FB8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8028505C 00281FBC 2C 00 00 01 */ cmpwi r0, 1 +/* 80285060 00281FC0 FC 20 00 90 */ fmr f1, f0 +/* 80285064 00281FC4 40 82 00 08 */ bne lbl_8028506C +/* 80285068 00281FC8 FC 20 F8 90 */ fmr f1, f31 +lbl_8028506C: +/* 8028506C 00281FCC C0 1F 08 28 */ lfs f0, 0x828(r31) +/* 80285070 00281FD0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80285074 00281FD4 4C 41 13 82 */ cror 2, 1, 2 +/* 80285078 00281FD8 7C 00 00 26 */ mfcr r0 +/* 8028507C 00281FDC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +lbl_80285080: +/* 80285080 00281FE0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80285084 00281FE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80285088 00281FE8 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8028508C 00281FEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285090 00281FF0 7C 08 03 A6 */ mtlr r0 +/* 80285094 00281FF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80285098 00281FF8 4E 80 00 20 */ blr + +.global Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb +Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb: +/* 8028509C 00281FFC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802850A0 00282000 7C 08 02 A6 */ mflr r0 +/* 802850A4 00282004 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802850A8 00282008 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802850AC 0028200C 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 802850B0 00282010 7C DF 33 78 */ mr r31, r6 +/* 802850B4 00282014 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 802850B8 00282018 7C BE 2B 78 */ mr r30, r5 +/* 802850BC 0028201C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 802850C0 00282020 7C 7D 1B 78 */ mr r29, r3 +/* 802850C4 00282024 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 802850C8 00282028 7C 9C 23 78 */ mr r28, r4 +/* 802850CC 0028202C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 802850D0 00282030 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802850D4 00282034 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 802850D8 00282038 C0 24 00 04 */ lfs f1, 4(r4) +/* 802850DC 0028203C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802850E0 00282040 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802850E4 00282044 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802850E8 00282048 4B E9 62 91 */ bl Stop__13CPhysicsActorFv +/* 802850EC 0028204C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802850F0 00282050 48 08 F6 09 */ bl CanBeNormalized__9CVector3fCFv +/* 802850F4 00282054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802850F8 00282058 41 82 01 78 */ beq lbl_80285270 +/* 802850FC 0028205C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80285100 00282060 48 08 F7 F9 */ bl Normalize__9CVector3fFv +/* 80285104 00282064 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80285108 00282068 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 8028510C 0028206C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80285110 00282070 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80285114 00282074 38 61 00 6C */ addi r3, r1, 0x6c +/* 80285118 00282078 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8028511C 0028207C 48 08 E9 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80285120 00282080 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80285124 00282084 38 81 00 6C */ addi r4, r1, 0x6c +/* 80285128 00282088 48 08 DA 19 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8028512C 0028208C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285130 00282090 38 A0 00 01 */ li r5, 1 +/* 80285134 00282094 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80285138 00282098 7F A3 EB 78 */ mr r3, r29 +/* 8028513C 0028209C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80285140 002820A0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80285144 002820A4 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285148 002820A8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8028514C 002820AC 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 80285150 002820B0 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 80285154 002820B4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80285158 002820B8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8028515C 002820BC C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80285160 002820C0 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80285164 002820C4 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80285168 002820C8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8028516C 002820CC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80285170 002820D0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80285174 002820D4 4B DC DD 19 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80285178 002820D8 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8028517C 002820DC 38 60 00 00 */ li r3, 0 +/* 80285180 002820E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285184 002820E4 D0 3D 05 00 */ stfs f1, 0x500(r29) +/* 80285188 002820E8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8028518C 002820EC D0 3D 05 04 */ stfs f1, 0x504(r29) +/* 80285190 002820F0 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80285194 002820F4 D0 3D 05 08 */ stfs f1, 0x508(r29) +/* 80285198 002820F8 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8028519C 002820FC D0 3D 05 0C */ stfs f1, 0x50c(r29) +/* 802851A0 00282100 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802851A4 00282104 D0 3D 05 10 */ stfs f1, 0x510(r29) +/* 802851A8 00282108 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802851AC 0028210C D0 3D 05 14 */ stfs f1, 0x514(r29) +/* 802851B0 00282110 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802851B4 00282114 D0 3D 05 30 */ stfs f1, 0x530(r29) +/* 802851B8 00282118 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802851BC 0028211C D0 3D 05 34 */ stfs f1, 0x534(r29) +/* 802851C0 00282120 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802851C4 00282124 D0 3D 05 38 */ stfs f1, 0x538(r29) +/* 802851C8 00282128 C0 7C 00 2C */ lfs f3, 0x2c(r28) +/* 802851CC 0028212C C0 5C 00 1C */ lfs f2, 0x1c(r28) +/* 802851D0 00282130 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 802851D4 00282134 D0 3D 05 24 */ stfs f1, 0x524(r29) +/* 802851D8 00282138 D0 5D 05 28 */ stfs f2, 0x528(r29) +/* 802851DC 0028213C D0 7D 05 2C */ stfs f3, 0x52c(r29) +/* 802851E0 00282140 D0 1D 04 F8 */ stfs f0, 0x4f8(r29) +/* 802851E4 00282144 D0 1D 04 FC */ stfs f0, 0x4fc(r29) +/* 802851E8 00282148 D0 1D 05 3C */ stfs f0, 0x53c(r29) +/* 802851EC 0028214C 80 BD 04 A4 */ lwz r5, 0x4a4(r29) +/* 802851F0 00282150 2C 05 00 00 */ cmpwi r5, 0 +/* 802851F4 00282154 40 81 00 40 */ ble lbl_80285234 +/* 802851F8 00282158 2C 05 00 08 */ cmpwi r5, 8 +/* 802851FC 0028215C 38 85 FF F8 */ addi r4, r5, -8 +/* 80285200 00282160 40 81 00 20 */ ble lbl_80285220 +/* 80285204 00282164 38 04 00 07 */ addi r0, r4, 7 +/* 80285208 00282168 54 00 E8 FE */ srwi r0, r0, 3 +/* 8028520C 0028216C 7C 09 03 A6 */ mtctr r0 +/* 80285210 00282170 2C 04 00 00 */ cmpwi r4, 0 +/* 80285214 00282174 40 81 00 0C */ ble lbl_80285220 +lbl_80285218: +/* 80285218 00282178 38 63 00 08 */ addi r3, r3, 8 +/* 8028521C 0028217C 42 00 FF FC */ bdnz lbl_80285218 +lbl_80285220: +/* 80285220 00282180 7C 03 28 50 */ subf r0, r3, r5 +/* 80285224 00282184 7C 09 03 A6 */ mtctr r0 +/* 80285228 00282188 7C 03 28 00 */ cmpw r3, r5 +/* 8028522C 0028218C 40 80 00 08 */ bge lbl_80285234 +lbl_80285230: +/* 80285230 00282190 42 00 00 00 */ bdnz lbl_80285230 +lbl_80285234: +/* 80285234 00282194 38 00 00 00 */ li r0, 0 +/* 80285238 00282198 90 1D 04 A4 */ stw r0, 0x4a4(r29) +/* 8028523C 0028219C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285240 002821A0 D0 1D 05 40 */ stfs f0, 0x540(r29) +/* 80285244 002821A4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285248 002821A8 D0 1D 05 44 */ stfs f0, 0x544(r29) +/* 8028524C 002821AC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285250 002821B0 D0 1D 05 48 */ stfs f0, 0x548(r29) +/* 80285254 002821B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285258 002821B8 D0 1D 05 4C */ stfs f0, 0x54c(r29) +/* 8028525C 002821BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285260 002821C0 D0 1D 05 50 */ stfs f0, 0x550(r29) +/* 80285264 002821C4 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285268 002821C8 D0 1D 05 54 */ stfs f0, 0x554(r29) +/* 8028526C 002821CC 48 00 00 28 */ b lbl_80285294 +lbl_80285270: +/* 80285270 002821D0 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80285274 002821D4 7F A3 EB 78 */ mr r3, r29 +/* 80285278 002821D8 C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 8028527C 002821DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80285280 002821E0 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80285284 002821E4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80285288 002821E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8028528C 002821EC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80285290 002821F0 4B DC DB FD */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80285294: +/* 80285294 002821F4 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 80285298 002821F8 38 60 00 01 */ li r3, 1 +/* 8028529C 002821FC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 802852A0 00282200 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802852A4 00282204 98 1D 09 C5 */ stb r0, 0x9c5(r29) +/* 802852A8 00282208 7F A3 EB 78 */ mr r3, r29 +/* 802852AC 0028220C 4B FF F0 C1 */ bl SetEyeZBias__7CPlayerFf +/* 802852B0 00282210 7F A4 EB 78 */ mr r4, r29 +/* 802852B4 00282214 38 61 00 38 */ addi r3, r1, 0x38 +/* 802852B8 00282218 4B E9 63 BD */ bl GetMotionState__13CPhysicsActorCFv +/* 802852BC 0028221C 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 802852C0 00282220 7F A3 EB 78 */ mr r3, r29 +/* 802852C4 00282224 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802852C8 00282228 7F C5 F3 78 */ mr r5, r30 +/* 802852CC 0028222C 38 80 00 00 */ li r4, 0 +/* 802852D0 00282230 90 DD 01 F4 */ stw r6, 0x1f4(r29) +/* 802852D4 00282234 90 1D 01 F8 */ stw r0, 0x1f8(r29) +/* 802852D8 00282238 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802852DC 0028223C 90 1D 01 FC */ stw r0, 0x1fc(r29) +/* 802852E0 00282240 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 802852E4 00282244 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802852E8 00282248 90 DD 02 00 */ stw r6, 0x200(r29) +/* 802852EC 0028224C 90 1D 02 04 */ stw r0, 0x204(r29) +/* 802852F0 00282250 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802852F4 00282254 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802852F8 00282258 90 DD 02 08 */ stw r6, 0x208(r29) +/* 802852FC 0028225C 90 1D 02 0C */ stw r0, 0x20c(r29) +/* 80285300 00282260 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 80285304 00282264 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80285308 00282268 90 DD 02 10 */ stw r6, 0x210(r29) +/* 8028530C 0028226C 90 1D 02 14 */ stw r0, 0x214(r29) +/* 80285310 00282270 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80285314 00282274 90 1D 02 18 */ stw r0, 0x218(r29) +/* 80285318 00282278 80 C1 00 60 */ lwz r6, 0x60(r1) +/* 8028531C 0028227C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80285320 00282280 90 DD 02 1C */ stw r6, 0x21c(r29) +/* 80285324 00282284 90 1D 02 20 */ stw r0, 0x220(r29) +/* 80285328 00282288 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8028532C 0028228C 90 1D 02 24 */ stw r0, 0x224(r29) +/* 80285330 00282290 48 00 10 BD */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 80285334 00282294 38 61 00 9C */ addi r3, r1, 0x9c +/* 80285338 00282298 38 9D 00 34 */ addi r4, r29, 0x34 +/* 8028533C 0028229C 48 08 D8 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80285340 002822A0 7F A4 EB 78 */ mr r4, r29 +/* 80285344 002822A4 38 61 00 08 */ addi r3, r1, 8 +/* 80285348 002822A8 4B FF FA 35 */ bl GetEyePosition__7CPlayerCFv +/* 8028534C 002822AC C0 41 00 08 */ lfs f2, 8(r1) +/* 80285350 002822B0 7F C5 F3 78 */ mr r5, r30 +/* 80285354 002822B4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80285358 002822B8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8028535C 002822BC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80285360 002822C0 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80285364 002822C4 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80285368 002822C8 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8028536C 002822CC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80285370 002822D0 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80285374 002822D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80285378 002822D8 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8028537C 002822DC 7D 89 03 A6 */ mtctr r12 +/* 80285380 002822E0 4E 80 04 21 */ bctrl +/* 80285384 002822E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80285388 002822E8 41 82 00 24 */ beq lbl_802853AC +/* 8028538C 002822EC 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 80285390 002822F0 7F C5 F3 78 */ mr r5, r30 +/* 80285394 002822F4 38 81 00 9C */ addi r4, r1, 0x9c +/* 80285398 002822F8 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8028539C 002822FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802853A0 00282300 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 802853A4 00282304 7D 89 03 A6 */ mtctr r12 +/* 802853A8 00282308 4E 80 04 21 */ bctrl +lbl_802853AC: +/* 802853AC 0028230C 7F A3 EB 78 */ mr r3, r29 +/* 802853B0 00282310 7F C5 F3 78 */ mr r5, r30 +/* 802853B4 00282314 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802853B8 00282318 4B D9 3B 11 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager +/* 802853BC 0028231C 7F A3 EB 78 */ mr r3, r29 +/* 802853C0 00282320 7F C5 F3 78 */ mr r5, r30 +/* 802853C4 00282324 38 80 00 01 */ li r4, 1 +/* 802853C8 00282328 4B EF 5D D5 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager +/* 802853CC 0028232C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802853D0 00282330 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 802853D4 00282334 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 802853D8 00282338 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 802853DC 0028233C 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 802853E0 00282340 7C 08 03 A6 */ mtlr r0 +/* 802853E4 00282344 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802853E8 00282348 4E 80 00 20 */ blr + +.global BombJump__7CPlayerFRC9CVector3fR13CStateManager +BombJump__7CPlayerFRC9CVector3fR13CStateManager: +/* 802853EC 0028234C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802853F0 00282350 7C 08 02 A6 */ mflr r0 +/* 802853F4 00282354 90 01 00 54 */ stw r0, 0x54(r1) +/* 802853F8 00282358 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 802853FC 0028235C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80285400 00282360 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80285404 00282364 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80285408 00282368 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8028540C 0028236C 7C 7F 1B 78 */ mr r31, r3 +/* 80285410 00282370 7C 9D 23 78 */ mr r29, r4 +/* 80285414 00282374 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80285418 00282378 7C BE 2B 78 */ mr r30, r5 +/* 8028541C 0028237C 2C 00 00 01 */ cmpwi r0, 1 +/* 80285420 00282380 40 82 02 A4 */ bne lbl_802856C4 +/* 80285424 00282384 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 80285428 00282388 4B E6 9B 71 */ bl GetBombJumpState__10CMorphBallCFv +/* 8028542C 0028238C 2C 03 00 01 */ cmpwi r3, 1 +/* 80285430 00282390 41 82 02 94 */ beq lbl_802856C4 +/* 80285434 00282394 C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) +/* 80285438 00282398 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8028543C 0028239C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80285440 002823A0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80285444 002823A4 EC 20 20 2A */ fadds f1, f0, f4 +/* 80285448 002823A8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028544C 002823AC EC 62 20 2A */ fadds f3, f2, f4 +/* 80285450 002823B0 C0 5D 00 00 */ lfs f2, 0(r29) +/* 80285454 002823B4 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80285458 002823B8 C0 E3 02 7C */ lfs f7, 0x27c(r3) +/* 8028545C 002823BC C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 80285460 002823C0 EC C3 10 28 */ fsubs f6, f3, f2 +/* 80285464 002823C4 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80285468 002823C8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8028546C 002823CC EC 61 38 2A */ fadds f3, f1, f7 +/* 80285470 002823D0 C1 03 01 20 */ lfs f8, 0x120(r3) +/* 80285474 002823D4 EC 26 01 BA */ fmadds f1, f6, f6, f0 +/* 80285478 002823D8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8028547C 002823DC EC 08 02 32 */ fmuls f0, f8, f8 +/* 80285480 002823E0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 80285484 002823E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285488 002823E8 40 80 02 3C */ bge lbl_802856C4 +/* 8028548C 002823EC EC 24 01 72 */ fmuls f1, f4, f5 +/* 80285490 002823F0 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80285494 002823F4 FC 00 38 50 */ fneg f0, f7 +/* 80285498 002823F8 EC 24 09 BA */ fmadds f1, f4, f6, f1 +/* 8028549C 002823FC EC 22 08 FA */ fmadds f1, f2, f3, f1 +/* 802854A0 00282400 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802854A4 00282404 4C 41 13 82 */ cror 2, 1, 2 +/* 802854A8 00282408 40 82 02 1C */ bne lbl_802856C4 +/* 802854AC 0028240C C0 03 00 C4 */ lfs f0, 0xc4(r3) +/* 802854B0 00282410 C8 22 BE 08 */ lfd f1, lbl_805ADB28@sda21(r2) +/* 802854B4 00282414 FC 40 02 10 */ fabs f2, f0 +/* 802854B8 00282418 C0 03 01 1C */ lfs f0, 0x11c(r3) +/* 802854BC 0028241C C8 62 BE 10 */ lfd f3, lbl_805ADB30@sda21(r2) +/* 802854C0 00282420 FC 21 00 B2 */ fmul f1, f1, f2 +/* 802854C4 00282424 FC 81 00 32 */ fmul f4, f1, f0 +/* 802854C8 00282428 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802854CC 0028242C 40 81 00 58 */ ble lbl_80285524 +/* 802854D0 00282430 FC 20 20 34 */ frsqrte f1, f4 +/* 802854D4 00282434 C8 62 BE 18 */ lfd f3, lbl_805ADB38@sda21(r2) +/* 802854D8 00282438 C8 42 BE 20 */ lfd f2, lbl_805ADB40@sda21(r2) +/* 802854DC 0028243C FC 01 00 72 */ fmul f0, f1, f1 +/* 802854E0 00282440 FC 23 00 72 */ fmul f1, f3, f1 +/* 802854E4 00282444 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 802854E8 00282448 FC 21 00 32 */ fmul f1, f1, f0 +/* 802854EC 0028244C FC 01 00 72 */ fmul f0, f1, f1 +/* 802854F0 00282450 FC 23 00 72 */ fmul f1, f3, f1 +/* 802854F4 00282454 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 802854F8 00282458 FC 21 00 32 */ fmul f1, f1, f0 +/* 802854FC 0028245C FC 01 00 72 */ fmul f0, f1, f1 +/* 80285500 00282460 FC 23 00 72 */ fmul f1, f3, f1 +/* 80285504 00282464 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80285508 00282468 FC 21 00 32 */ fmul f1, f1, f0 +/* 8028550C 0028246C FC 01 00 72 */ fmul f0, f1, f1 +/* 80285510 00282470 FC 23 00 72 */ fmul f1, f3, f1 +/* 80285514 00282474 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80285518 00282478 FC 01 00 32 */ fmul f0, f1, f0 +/* 8028551C 0028247C FC 64 00 32 */ fmul f3, f4, f0 +/* 80285520 00282480 48 00 00 2C */ b lbl_8028554C +lbl_80285524: +/* 80285524 00282484 FC 03 20 00 */ fcmpu cr0, f3, f4 +/* 80285528 00282488 40 82 00 08 */ bne lbl_80285530 +/* 8028552C 0028248C 48 00 00 20 */ b lbl_8028554C +lbl_80285530: +/* 80285530 00282490 FC 04 18 00 */ fcmpu cr0, f4, f3 +/* 80285534 00282494 41 82 00 10 */ beq lbl_80285544 +/* 80285538 00282498 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 8028553C 0028249C C0 63 8B A0 */ lfs f3, lbl_805A8BA0@l(r3) +/* 80285540 002824A0 48 00 00 0C */ b lbl_8028554C +lbl_80285544: +/* 80285544 002824A4 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 80285548 002824A8 C0 63 8B A4 */ lfs f3, lbl_805A8BA4@l(r3) +lbl_8028554C: +/* 8028554C 002824AC FF E0 18 18 */ frsp f31, f3 +/* 80285550 002824B0 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80285554 002824B4 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) +/* 80285558 002824B8 7F C4 F3 78 */ mr r4, r30 +/* 8028555C 002824BC 38 A0 00 0B */ li r5, 0xb +/* 80285560 002824C0 38 C0 00 01 */ li r6, 1 +/* 80285564 002824C4 4B FA 8C E1 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 80285568 002824C8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 8028556C 002824CC D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 80285570 002824D0 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80285574 002824D4 2C 00 00 02 */ cmpwi r0, 2 +/* 80285578 002824D8 40 82 00 0C */ bne lbl_80285584 +/* 8028557C 002824DC 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 80285580 002824E0 48 00 00 08 */ b lbl_80285588 +lbl_80285584: +/* 80285584 002824E4 38 00 00 04 */ li r0, 4 +lbl_80285588: +/* 80285588 002824E8 2C 00 00 05 */ cmpwi r0, 5 +/* 8028558C 002824EC 41 82 00 30 */ beq lbl_802855BC +/* 80285590 002824F0 40 80 00 10 */ bge lbl_802855A0 +/* 80285594 002824F4 2C 00 00 04 */ cmpwi r0, 4 +/* 80285598 002824F8 40 80 00 14 */ bge lbl_802855AC +/* 8028559C 002824FC 48 00 00 3C */ b lbl_802855D8 +lbl_802855A0: +/* 802855A0 00282500 2C 00 00 07 */ cmpwi r0, 7 +/* 802855A4 00282504 40 80 00 34 */ bge lbl_802855D8 +/* 802855A8 00282508 48 00 00 24 */ b lbl_802855CC +lbl_802855AC: +/* 802855AC 0028250C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855B0 00282510 C0 03 00 E0 */ lfs f0, 0xe0(r3) +/* 802855B4 00282514 EF FF 00 32 */ fmuls f31, f31, f0 +/* 802855B8 00282518 48 00 00 20 */ b lbl_802855D8 +lbl_802855BC: +/* 802855BC 0028251C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855C0 00282520 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 802855C4 00282524 EF FF 00 32 */ fmuls f31, f31, f0 +/* 802855C8 00282528 48 00 00 10 */ b lbl_802855D8 +lbl_802855CC: +/* 802855CC 0028252C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802855D0 00282530 C0 03 00 F0 */ lfs f0, 0xf0(r3) +/* 802855D4 00282534 EF FF 00 32 */ fmuls f31, f31, f0 +lbl_802855D8: +/* 802855D8 00282538 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802855DC 0028253C 7F E3 FB 78 */ mr r3, r31 +/* 802855E0 00282540 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 802855E4 00282544 38 81 00 1C */ addi r4, r1, 0x1c +/* 802855E8 00282548 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802855EC 0028254C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802855F0 00282550 4B E9 56 B1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 802855F4 00282554 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 802855F8 00282558 C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) +/* 802855FC 0028255C 4B E7 36 95 */ bl SetDamageTimer__10CMorphBallFf +/* 80285600 00282560 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 80285604 00282564 4B E6 E8 1D */ bl CancelBoosting__10CMorphBallFv +/* 80285608 00282568 80 7F 09 D0 */ lwz r3, 0x9d0(r31) +/* 8028560C 0028256C 2C 03 00 00 */ cmpwi r3, 0 +/* 80285610 00282570 40 81 00 28 */ ble lbl_80285638 +/* 80285614 00282574 2C 03 00 02 */ cmpwi r3, 2 +/* 80285618 00282578 40 81 00 14 */ ble lbl_8028562C +/* 8028561C 0028257C 38 00 00 00 */ li r0, 0 +/* 80285620 00282580 90 1F 09 D0 */ stw r0, 0x9d0(r31) +/* 80285624 00282584 90 1F 09 D4 */ stw r0, 0x9d4(r31) +/* 80285628 00282588 48 00 00 48 */ b lbl_80285670 +lbl_8028562C: +/* 8028562C 0028258C 38 03 00 01 */ addi r0, r3, 1 +/* 80285630 00282590 90 1F 09 D0 */ stw r0, 0x9d0(r31) +/* 80285634 00282594 48 00 00 3C */ b lbl_80285670 +lbl_80285638: +/* 80285638 00282598 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8028563C 0028259C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80285640 002825A0 80 83 00 80 */ lwz r4, 0x80(r3) +/* 80285644 002825A4 A0 64 03 DC */ lhz r3, 0x3dc(r4) +/* 80285648 002825A8 7C 03 00 40 */ cmplw r3, r0 +/* 8028564C 002825AC 41 82 00 24 */ beq lbl_80285670 +/* 80285650 002825B0 C0 24 03 E0 */ lfs f1, 0x3e0(r4) +/* 80285654 002825B4 C0 02 BE 28 */ lfs f0, lbl_805ADB48@sda21(r2) +/* 80285658 002825B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028565C 002825BC 40 80 00 14 */ bge lbl_80285670 +/* 80285660 002825C0 38 60 00 01 */ li r3, 1 +/* 80285664 002825C4 38 00 00 02 */ li r0, 2 +/* 80285668 002825C8 90 7F 09 D0 */ stw r3, 0x9d0(r31) +/* 8028566C 002825CC 90 1F 09 D4 */ stw r0, 0x9d4(r31) +lbl_80285670: +/* 80285670 002825D0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80285674 002825D4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80285678 002825D8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8028567C 002825DC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80285680 002825E0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80285684 002825E4 38 61 00 08 */ addi r3, r1, 8 +/* 80285688 002825E8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8028568C 002825EC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80285690 002825F0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80285694 002825F4 38 80 05 BC */ li r4, 0x5bc +/* 80285698 002825F8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8028569C 002825FC 38 E0 00 00 */ li r7, 0 +/* 802856A0 00282600 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802856A4 00282604 39 00 00 00 */ li r8, 0 +/* 802856A8 00282608 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802856AC 0028260C 48 06 4C 05 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 802856B0 00282610 80 01 00 08 */ lwz r0, 8(r1) +/* 802856B4 00282614 7F E3 FB 78 */ mr r3, r31 +/* 802856B8 00282618 38 81 00 0C */ addi r4, r1, 0xc +/* 802856BC 0028261C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802856C0 00282620 4B D8 BA CD */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_802856C4: +/* 802856C4 00282624 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802856C8 00282628 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802856CC 0028262C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802856D0 00282630 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802856D4 00282634 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802856D8 00282638 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802856DC 0028263C 7C 08 03 A6 */ mtlr r0 +/* 802856E0 00282640 38 21 00 50 */ addi r1, r1, 0x50 +/* 802856E4 00282644 4E 80 00 20 */ blr + +.global CreateTransformFromMovementDirection__7CPlayerCFv +CreateTransformFromMovementDirection__7CPlayerCFv: +/* 802856E8 00282648 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802856EC 0028264C 7C 08 02 A6 */ mflr r0 +/* 802856F0 00282650 90 01 00 44 */ stw r0, 0x44(r1) +/* 802856F4 00282654 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802856F8 00282658 7C 9F 23 78 */ mr r31, r4 +/* 802856FC 0028265C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80285700 00282660 7C 7E 1B 78 */ mr r30, r3 +/* 80285704 00282664 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285708 00282668 C0 44 05 0C */ lfs f2, 0x50c(r4) +/* 8028570C 0028266C C0 24 05 10 */ lfs f1, 0x510(r4) +/* 80285710 00282670 C0 04 05 14 */ lfs f0, 0x514(r4) +/* 80285714 00282674 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80285718 00282678 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8028571C 0028267C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285720 00282680 48 08 EF D9 */ bl CanBeNormalized__9CVector3fCFv +/* 80285724 00282684 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285728 00282688 41 82 00 10 */ beq lbl_80285738 +/* 8028572C 0028268C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285730 00282690 48 08 F1 C9 */ bl Normalize__9CVector3fFv +/* 80285734 00282694 48 00 00 18 */ b lbl_8028574C +lbl_80285738: +/* 80285738 00282698 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028573C 0028269C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285740 002826A0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80285744 002826A4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80285748 002826A8 D0 21 00 28 */ stfs f1, 0x28(r1) +lbl_8028574C: +/* 8028574C 002826AC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285750 002826B0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80285754 002826B4 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80285758 002826B8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8028575C 002826BC FC 40 00 50 */ fneg f2, f0 +/* 80285760 002826C0 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285764 002826C4 C0 BF 00 60 */ lfs f5, 0x60(r31) +/* 80285768 002826C8 7F C3 F3 78 */ mr r3, r30 +/* 8028576C 002826CC C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 80285770 002826D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80285774 002826D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80285778 002826D8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028577C 002826DC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80285780 002826E0 38 E1 00 08 */ addi r7, r1, 8 +/* 80285784 002826E4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80285788 002826E8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8028578C 002826EC D0 01 00 08 */ stfs f0, 8(r1) +/* 80285790 002826F0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80285794 002826F4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80285798 002826F8 48 08 D6 C5 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 8028579C 002826FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802857A0 00282700 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802857A4 00282704 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802857A8 00282708 7C 08 03 A6 */ mtlr r0 +/* 802857AC 0028270C 38 21 00 40 */ addi r1, r1, 0x40 +/* 802857B0 00282710 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__7CPlayerCFv +GetCollisionPrimitive__7CPlayerCFv: +/* 802857B4 00282714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802857B8 00282718 7C 08 02 A6 */ mflr r0 +/* 802857BC 0028271C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802857C0 00282720 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 802857C4 00282724 2C 00 00 01 */ cmpwi r0, 1 +/* 802857C8 00282728 41 82 00 20 */ beq lbl_802857E8 +/* 802857CC 0028272C 40 80 00 10 */ bge lbl_802857DC +/* 802857D0 00282730 2C 00 00 00 */ cmpwi r0, 0 +/* 802857D4 00282734 40 80 00 1C */ bge lbl_802857F0 +/* 802857D8 00282738 48 00 00 28 */ b lbl_80285800 +lbl_802857DC: +/* 802857DC 0028273C 2C 00 00 04 */ cmpwi r0, 4 +/* 802857E0 00282740 40 80 00 20 */ bge lbl_80285800 +/* 802857E4 00282744 48 00 00 14 */ b lbl_802857F8 +lbl_802857E8: +/* 802857E8 00282748 48 00 00 2D */ bl sub_80285814 +/* 802857EC 0028274C 48 00 00 18 */ b lbl_80285804 +lbl_802857F0: +/* 802857F0 00282750 4B E9 52 65 */ bl GetCollisionPrimitive__13CPhysicsActorCFv +/* 802857F4 00282754 48 00 00 10 */ b lbl_80285804 +lbl_802857F8: +/* 802857F8 00282758 4B E9 52 5D */ bl GetCollisionPrimitive__13CPhysicsActorCFv +/* 802857FC 0028275C 48 00 00 08 */ b lbl_80285804 +lbl_80285800: +/* 80285800 00282760 4B E9 52 55 */ bl GetCollisionPrimitive__13CPhysicsActorCFv +lbl_80285804: +/* 80285804 00282764 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80285808 00282768 7C 08 03 A6 */ mtlr r0 +/* 8028580C 0028276C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285810 00282770 4E 80 00 20 */ blr + +.global sub_80285814 +sub_80285814: +/* 80285814 00282774 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80285818 00282778 38 63 00 38 */ addi r3, r3, 0x38 +/* 8028581C 0028277C 4E 80 00 20 */ blr + +.global GetPrimitiveTransform__7CPlayerCFv +GetPrimitiveTransform__7CPlayerCFv: +/* 80285820 00282780 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80285824 00282784 7C 08 02 A6 */ mflr r0 +/* 80285828 00282788 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028582C 0028278C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285830 00282790 7C 7F 1B 78 */ mr r31, r3 +/* 80285834 00282794 4B E9 51 99 */ bl GetPrimitiveTransform__13CPhysicsActorCFv +/* 80285838 00282798 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028583C 0028279C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285840 002827A0 7C 08 03 A6 */ mtlr r0 +/* 80285844 002827A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285848 002827A8 4E 80 00 20 */ blr + +.global CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 8028584C 002827AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80285850 002827B0 7C 08 02 A6 */ mflr r0 +/* 80285854 002827B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80285858 002827B8 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8028585C 002827BC 2C 00 00 00 */ cmpwi r0, 0 +/* 80285860 002827C0 41 82 00 0C */ beq lbl_8028586C +/* 80285864 002827C4 80 63 07 68 */ lwz r3, 0x768(r3) +/* 80285868 002827C8 4B E6 B0 A5 */ bl CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +lbl_8028586C: +/* 8028586C 002827CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80285870 002827D0 7C 08 03 A6 */ mtlr r0 +/* 80285874 002827D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80285878 002827D8 4E 80 00 20 */ blr + +.global GetActualBallMaxVelocity__7CPlayerCFf +GetActualBallMaxVelocity__7CPlayerCFf: +/* 8028587C 002827DC 80 A3 02 B0 */ lwz r5, 0x2b0(r3) +/* 80285880 002827E0 2C 05 00 02 */ cmpwi r5, 2 +/* 80285884 002827E4 40 82 00 0C */ bne lbl_80285890 +/* 80285888 002827E8 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 8028588C 002827EC 48 00 00 08 */ b lbl_80285894 +lbl_80285890: +/* 80285890 002827F0 38 00 00 04 */ li r0, 4 +lbl_80285894: +/* 80285894 002827F4 80 CD A1 1C */ lwz r6, gpTweakBall@sda21(r13) +/* 80285898 002827F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028589C 002827FC C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 802858A0 00282800 2C 05 00 02 */ cmpwi r5, 2 +/* 802858A4 00282804 7C 86 02 14 */ add r4, r6, r0 +/* 802858A8 00282808 C0 64 00 24 */ lfs f3, 0x24(r4) +/* 802858AC 0028280C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802858B0 00282810 40 82 00 0C */ bne lbl_802858BC +/* 802858B4 00282814 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802858B8 00282818 48 00 00 08 */ b lbl_802858C0 +lbl_802858BC: +/* 802858BC 0028281C 38 00 00 04 */ li r0, 4 +lbl_802858C0: +/* 802858C0 00282820 54 00 10 3A */ slwi r0, r0, 2 +/* 802858C4 00282824 2C 05 00 02 */ cmpwi r5, 2 +/* 802858C8 00282828 7C 86 02 14 */ add r4, r6, r0 +/* 802858CC 0028282C C0 84 00 44 */ lfs f4, 0x44(r4) +/* 802858D0 00282830 40 82 00 0C */ bne lbl_802858DC +/* 802858D4 00282834 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802858D8 00282838 48 00 00 08 */ b lbl_802858E0 +lbl_802858DC: +/* 802858DC 0028283C 38 00 00 04 */ li r0, 4 +lbl_802858E0: +/* 802858E0 00282840 54 00 10 3A */ slwi r0, r0, 2 +/* 802858E4 00282844 EC 40 01 32 */ fmuls f2, f0, f4 +/* 802858E8 00282848 7C 66 02 14 */ add r3, r6, r0 +/* 802858EC 0028284C C0 03 00 04 */ lfs f0, 4(r3) +/* 802858F0 00282850 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802858F4 00282854 EC 02 00 24 */ fdivs f0, f2, f0 +/* 802858F8 00282858 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802858FC 0028285C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80285900 00282860 FC 20 00 50 */ fneg f1, f0 +/* 80285904 00282864 4E 80 00 20 */ blr + +.global GetActualFirstPersonMaxVelocity__7CPlayerCFv +GetActualFirstPersonMaxVelocity__7CPlayerCFv: +/* 80285908 00282868 80 A3 02 B0 */ lwz r5, 0x2b0(r3) +/* 8028590C 0028286C 2C 05 00 02 */ cmpwi r5, 2 +/* 80285910 00282870 40 82 00 0C */ bne lbl_8028591C +/* 80285914 00282874 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 80285918 00282878 48 00 00 08 */ b lbl_80285920 +lbl_8028591C: +/* 8028591C 0028287C 38 00 00 04 */ li r0, 4 +lbl_80285920: +/* 80285920 00282880 2C 00 00 00 */ cmpwi r0, 0 +/* 80285924 00282884 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) +/* 80285928 00282888 41 80 00 0C */ blt lbl_80285934 +/* 8028592C 0028288C 2C 00 00 07 */ cmpwi r0, 7 +/* 80285930 00282890 40 81 00 08 */ ble lbl_80285938 +lbl_80285934: +/* 80285934 00282894 38 00 00 00 */ li r0, 0 +lbl_80285938: +/* 80285938 00282898 54 00 10 3A */ slwi r0, r0, 2 +/* 8028593C 0028289C C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 80285940 002828A0 7C 86 02 14 */ add r4, r6, r0 +/* 80285944 002828A4 2C 05 00 02 */ cmpwi r5, 2 +/* 80285948 002828A8 C0 64 00 44 */ lfs f3, 0x44(r4) +/* 8028594C 002828AC EC 03 00 32 */ fmuls f0, f3, f0 +/* 80285950 002828B0 40 82 00 0C */ bne lbl_8028595C +/* 80285954 002828B4 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 80285958 002828B8 48 00 00 08 */ b lbl_80285960 +lbl_8028595C: +/* 8028595C 002828BC 38 00 00 04 */ li r0, 4 +lbl_80285960: +/* 80285960 002828C0 2C 00 00 00 */ cmpwi r0, 0 +/* 80285964 002828C4 41 80 00 0C */ blt lbl_80285970 +/* 80285968 002828C8 2C 00 00 07 */ cmpwi r0, 7 +/* 8028596C 002828CC 40 81 00 08 */ ble lbl_80285974 +lbl_80285970: +/* 80285970 002828D0 38 00 00 00 */ li r0, 0 +lbl_80285974: +/* 80285974 002828D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80285978 002828D8 2C 05 00 02 */ cmpwi r5, 2 +/* 8028597C 002828DC 7C 86 02 14 */ add r4, r6, r0 +/* 80285980 002828E0 C0 84 00 A4 */ lfs f4, 0xa4(r4) +/* 80285984 002828E4 40 82 00 0C */ bne lbl_80285990 +/* 80285988 002828E8 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 8028598C 002828EC 48 00 00 08 */ b lbl_80285994 +lbl_80285990: +/* 80285990 002828F0 38 00 00 04 */ li r0, 4 +lbl_80285994: +/* 80285994 002828F4 2C 00 00 00 */ cmpwi r0, 0 +/* 80285998 002828F8 41 80 00 0C */ blt lbl_802859A4 +/* 8028599C 002828FC 2C 00 00 07 */ cmpwi r0, 7 +/* 802859A0 00282900 40 81 00 08 */ ble lbl_802859A8 +lbl_802859A4: +/* 802859A4 00282904 38 00 00 00 */ li r0, 0 +lbl_802859A8: +/* 802859A8 00282908 54 00 10 3A */ slwi r0, r0, 2 +/* 802859AC 0028290C EC 40 01 32 */ fmuls f2, f0, f4 +/* 802859B0 00282910 7C 66 02 14 */ add r3, r6, r0 +/* 802859B4 00282914 C0 03 00 04 */ lfs f0, 4(r3) +/* 802859B8 00282918 EC 00 00 72 */ fmuls f0, f0, f1 +/* 802859BC 0028291C EC 02 00 24 */ fdivs f0, f2, f0 +/* 802859C0 00282920 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802859C4 00282924 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802859C8 00282928 FC 20 00 50 */ fneg f1, f0 +/* 802859CC 0028292C 4E 80 00 20 */ blr + +.global GetBallMaxVelocity__7CPlayerCFv +GetBallMaxVelocity__7CPlayerCFv: +/* 802859D0 00282930 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 802859D4 00282934 2C 00 00 02 */ cmpwi r0, 2 +/* 802859D8 00282938 40 82 00 0C */ bne lbl_802859E4 +/* 802859DC 0028293C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 802859E0 00282940 48 00 00 08 */ b lbl_802859E8 +lbl_802859E4: +/* 802859E4 00282944 38 00 00 04 */ li r0, 4 +lbl_802859E8: +/* 802859E8 00282948 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 802859EC 0028294C 54 00 10 3A */ slwi r0, r0, 2 +/* 802859F0 00282950 7C 63 02 14 */ add r3, r3, r0 +/* 802859F4 00282954 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 802859F8 00282958 4E 80 00 20 */ blr + +.global CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput +CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput: +/* 802859FC 0028295C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80285A00 00282960 7C 08 02 A6 */ mflr r0 +/* 80285A04 00282964 90 01 00 44 */ stw r0, 0x44(r1) +/* 80285A08 00282968 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80285A0C 0028296C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80285A10 00282970 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80285A14 00282974 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80285A18 00282978 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 80285A1C 0028297C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 80285A20 00282980 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285A24 00282984 93 C1 00 08 */ stw r30, 8(r1) +/* 80285A28 00282988 7C 7E 1B 78 */ mr r30, r3 +/* 80285A2C 0028298C 7C 9F 23 78 */ mr r31, r4 +/* 80285A30 00282990 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80285A34 00282994 2C 00 00 01 */ cmpwi r0, 1 +/* 80285A38 00282998 41 82 00 20 */ beq lbl_80285A58 +/* 80285A3C 0028299C C0 1E 05 0C */ lfs f0, 0x50c(r30) +/* 80285A40 002829A0 D0 1E 05 18 */ stfs f0, 0x518(r30) +/* 80285A44 002829A4 C0 1E 05 10 */ lfs f0, 0x510(r30) +/* 80285A48 002829A8 D0 1E 05 1C */ stfs f0, 0x51c(r30) +/* 80285A4C 002829AC C0 1E 05 14 */ lfs f0, 0x514(r30) +/* 80285A50 002829B0 D0 1E 05 20 */ stfs f0, 0x520(r30) +/* 80285A54 002829B4 48 00 00 8C */ b lbl_80285AE0 +lbl_80285A58: +/* 80285A58 002829B8 38 60 00 00 */ li r3, 0 +/* 80285A5C 002829BC 4B D8 6E BD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A60 002829C0 FF A0 08 90 */ fmr f29, f1 +/* 80285A64 002829C4 7F E4 FB 78 */ mr r4, r31 +/* 80285A68 002829C8 38 60 00 01 */ li r3, 1 +/* 80285A6C 002829CC 4B D8 6E AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A70 002829D0 FF C0 08 90 */ fmr f30, f1 +/* 80285A74 002829D4 7F E4 FB 78 */ mr r4, r31 +/* 80285A78 002829D8 38 60 00 02 */ li r3, 2 +/* 80285A7C 002829DC 4B D8 6E 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A80 002829E0 FF E0 08 90 */ fmr f31, f1 +/* 80285A84 002829E4 7F E4 FB 78 */ mr r4, r31 +/* 80285A88 002829E8 38 60 00 03 */ li r3, 3 +/* 80285A8C 002829EC 4B D8 6E 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80285A90 002829F0 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) +/* 80285A94 002829F4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80285A98 002829F8 41 81 00 1C */ bgt lbl_80285AB4 +/* 80285A9C 002829FC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80285AA0 00282A00 41 81 00 14 */ bgt lbl_80285AB4 +/* 80285AA4 00282A04 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80285AA8 00282A08 41 81 00 0C */ bgt lbl_80285AB4 +/* 80285AAC 00282A0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285AB0 00282A10 40 81 00 30 */ ble lbl_80285AE0 +lbl_80285AB4: +/* 80285AB4 00282A14 38 7E 01 38 */ addi r3, r30, 0x138 +/* 80285AB8 00282A18 48 08 EE 01 */ bl Magnitude__9CVector3fCFv +/* 80285ABC 00282A1C C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) +/* 80285AC0 00282A20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285AC4 00282A24 40 81 00 1C */ ble lbl_80285AE0 +/* 80285AC8 00282A28 C0 1E 05 0C */ lfs f0, 0x50c(r30) +/* 80285ACC 00282A2C D0 1E 05 18 */ stfs f0, 0x518(r30) +/* 80285AD0 00282A30 C0 1E 05 10 */ lfs f0, 0x510(r30) +/* 80285AD4 00282A34 D0 1E 05 1C */ stfs f0, 0x51c(r30) +/* 80285AD8 00282A38 C0 1E 05 14 */ lfs f0, 0x514(r30) +/* 80285ADC 00282A3C D0 1E 05 20 */ stfs f0, 0x520(r30) +lbl_80285AE0: +/* 80285AE0 00282A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80285AE4 00282A44 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80285AE8 00282A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80285AEC 00282A4C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80285AF0 00282A50 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80285AF4 00282A54 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 80285AF8 00282A58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80285AFC 00282A5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80285B00 00282A60 83 C1 00 08 */ lwz r30, 8(r1) +/* 80285B04 00282A64 7C 08 03 A6 */ mtlr r0 +/* 80285B08 00282A68 38 21 00 40 */ addi r1, r1, 0x40 +/* 80285B0C 00282A6C 4E 80 00 20 */ blr + +.global CalculatePlayerControlDirection__7CPlayerFR13CStateManager +CalculatePlayerControlDirection__7CPlayerFR13CStateManager: +/* 80285B10 00282A70 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80285B14 00282A74 7C 08 02 A6 */ mflr r0 +/* 80285B18 00282A78 90 01 00 54 */ stw r0, 0x54(r1) +/* 80285B1C 00282A7C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80285B20 00282A80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80285B24 00282A84 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80285B28 00282A88 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 80285B2C 00282A8C 7C 7F 1B 78 */ mr r31, r3 +/* 80285B30 00282A90 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80285B34 00282A94 41 82 00 C0 */ beq lbl_80285BF4 +/* 80285B38 00282A98 38 7F 09 D8 */ addi r3, r31, 0x9d8 +/* 80285B3C 00282A9C 48 08 EB BD */ bl CanBeNormalized__9CVector3fCFv +/* 80285B40 00282AA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285B44 00282AA4 41 82 00 8C */ beq lbl_80285BD0 +/* 80285B48 00282AA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80285B4C 00282AAC 38 9F 09 D8 */ addi r4, r31, 0x9d8 +/* 80285B50 00282AB0 48 08 ED 01 */ bl AsNormalized__9CVector3fCFv +/* 80285B54 00282AB4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80285B58 00282AB8 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285B5C 00282ABC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285B60 00282AC0 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285B64 00282AC4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80285B68 00282AC8 D0 3F 05 44 */ stfs f1, 0x544(r31) +/* 80285B6C 00282ACC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80285B70 00282AD0 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285B74 00282AD4 C0 3F 09 D8 */ lfs f1, 0x9d8(r31) +/* 80285B78 00282AD8 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285B7C 00282ADC C0 3F 09 DC */ lfs f1, 0x9dc(r31) +/* 80285B80 00282AE0 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285B84 00282AE4 C0 3F 09 E0 */ lfs f1, 0x9e0(r31) +/* 80285B88 00282AE8 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285B8C 00282AEC D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285B90 00282AF0 48 08 EB 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80285B94 00282AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285B98 00282AF8 41 82 00 10 */ beq lbl_80285BA8 +/* 80285B9C 00282AFC 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285BA0 00282B00 48 08 ED 59 */ bl Normalize__9CVector3fFv +/* 80285BA4 00282B04 48 00 02 D8 */ b lbl_80285E7C +lbl_80285BA8: +/* 80285BA8 00282B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285BAC 00282B0C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285BB0 00282B10 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285BB4 00282B14 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285BB8 00282B18 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285BBC 00282B1C D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285BC0 00282B20 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285BC4 00282B24 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285BC8 00282B28 48 00 02 B4 */ b lbl_80285E7C +/* 80285BCC 00282B2C 48 00 02 B0 */ b lbl_80285E7C +lbl_80285BD0: +/* 80285BD0 00282B30 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285BD4 00282B34 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285BD8 00282B38 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285BDC 00282B3C D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285BE0 00282B40 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285BE4 00282B44 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285BE8 00282B48 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285BEC 00282B4C D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285BF0 00282B50 48 00 02 8C */ b lbl_80285E7C +lbl_80285BF4: +/* 80285BF4 00282B54 80 64 08 70 */ lwz r3, 0x870(r4) +/* 80285BF8 00282B58 4B D8 5F 21 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80285BFC 00282B5C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80285C00 00282B60 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80285C04 00282B64 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80285C08 00282B68 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80285C0C 00282B6C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80285C10 00282B70 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80285C14 00282B74 38 61 00 2C */ addi r3, r1, 0x2c +/* 80285C18 00282B78 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80285C1C 00282B7C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80285C20 00282B80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80285C24 00282B84 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80285C28 00282B88 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80285C2C 00282B8C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80285C30 00282B90 48 08 EA C9 */ bl CanBeNormalized__9CVector3fCFv +/* 80285C34 00282B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285C38 00282B98 40 82 00 28 */ bne lbl_80285C60 +/* 80285C3C 00282B9C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80285C40 00282BA0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80285C44 00282BA4 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285C48 00282BA8 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285C4C 00282BAC D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285C50 00282BB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285C54 00282BB4 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285C58 00282BB8 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285C5C 00282BBC 48 00 02 20 */ b lbl_80285E7C +lbl_80285C60: +/* 80285C60 00282BC0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285C64 00282BC4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285C68 00282BC8 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80285C6C 00282BCC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80285C70 00282BD0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285C74 00282BD4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285C78 00282BD8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80285C7C 00282BDC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80285C80 00282BE0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80285C84 00282BE4 48 08 EA 75 */ bl CanBeNormalized__9CVector3fCFv +/* 80285C88 00282BE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285C8C 00282BEC 41 82 01 F0 */ beq lbl_80285E7C +/* 80285C90 00282BF0 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 80285C94 00282BF4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285C98 00282BF8 C3 E4 01 D0 */ lfs f31, 0x1d0(r4) +/* 80285C9C 00282BFC 48 08 EC 1D */ bl Magnitude__9CVector3fCFv +/* 80285CA0 00282C00 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80285CA4 00282C04 40 81 01 38 */ ble lbl_80285DDC +/* 80285CA8 00282C08 38 61 00 08 */ addi r3, r1, 8 +/* 80285CAC 00282C0C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80285CB0 00282C10 48 08 EB A1 */ bl AsNormalized__9CVector3fCFv +/* 80285CB4 00282C14 C0 01 00 08 */ lfs f0, 8(r1) +/* 80285CB8 00282C18 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285CBC 00282C1C D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285CC0 00282C20 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80285CC4 00282C24 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285CC8 00282C28 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80285CCC 00282C2C D0 1F 05 48 */ stfs f0, 0x548(r31) +/* 80285CD0 00282C30 48 08 EA 29 */ bl CanBeNormalized__9CVector3fCFv +/* 80285CD4 00282C34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285CD8 00282C38 41 82 00 A4 */ beq lbl_80285D7C +/* 80285CDC 00282C3C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80285CE0 00282C40 48 08 EC 19 */ bl Normalize__9CVector3fFv +/* 80285CE4 00282C44 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285CE8 00282C48 2C 00 00 01 */ cmpwi r0, 1 +/* 80285CEC 00282C4C 41 82 00 20 */ beq lbl_80285D0C +/* 80285CF0 00282C50 40 80 00 10 */ bge lbl_80285D00 +/* 80285CF4 00282C54 2C 00 00 00 */ cmpwi r0, 0 +/* 80285CF8 00282C58 40 80 00 30 */ bge lbl_80285D28 +/* 80285CFC 00282C5C 48 00 01 80 */ b lbl_80285E7C +lbl_80285D00: +/* 80285D00 00282C60 2C 00 00 04 */ cmpwi r0, 4 +/* 80285D04 00282C64 40 80 01 78 */ bge lbl_80285E7C +/* 80285D08 00282C68 48 00 00 20 */ b lbl_80285D28 +lbl_80285D0C: +/* 80285D0C 00282C6C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285D10 00282C70 D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285D14 00282C74 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80285D18 00282C78 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285D1C 00282C7C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80285D20 00282C80 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285D24 00282C84 48 00 01 58 */ b lbl_80285E7C +lbl_80285D28: +/* 80285D28 00282C88 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285D2C 00282C8C 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D30 00282C90 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285D34 00282C94 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285D38 00282C98 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285D3C 00282C9C D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285D40 00282CA0 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285D44 00282CA4 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285D48 00282CA8 C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285D4C 00282CAC D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285D50 00282CB0 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285D54 00282CB4 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285D58 00282CB8 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285D5C 00282CBC D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285D60 00282CC0 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285D64 00282CC4 48 08 E9 95 */ bl CanBeNormalized__9CVector3fCFv +/* 80285D68 00282CC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285D6C 00282CCC 41 82 01 10 */ beq lbl_80285E7C +/* 80285D70 00282CD0 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D74 00282CD4 48 08 EB 85 */ bl Normalize__9CVector3fFv +/* 80285D78 00282CD8 48 00 01 04 */ b lbl_80285E7C +lbl_80285D7C: +/* 80285D7C 00282CDC 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285D80 00282CE0 2C 00 00 01 */ cmpwi r0, 1 +/* 80285D84 00282CE4 41 82 00 F8 */ beq lbl_80285E7C +/* 80285D88 00282CE8 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285D8C 00282CEC 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285D90 00282CF0 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285D94 00282CF4 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285D98 00282CF8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285D9C 00282CFC D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285DA0 00282D00 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285DA4 00282D04 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285DA8 00282D08 C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285DAC 00282D0C D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285DB0 00282D10 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285DB4 00282D14 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285DB8 00282D18 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285DBC 00282D1C D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285DC0 00282D20 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285DC4 00282D24 48 08 E9 35 */ bl CanBeNormalized__9CVector3fCFv +/* 80285DC8 00282D28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285DCC 00282D2C 41 82 00 B0 */ beq lbl_80285E7C +/* 80285DD0 00282D30 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285DD4 00282D34 48 08 EB 25 */ bl Normalize__9CVector3fFv +/* 80285DD8 00282D38 48 00 00 A4 */ b lbl_80285E7C +lbl_80285DDC: +/* 80285DDC 00282D3C C0 3F 04 FC */ lfs f1, 0x4fc(r31) +/* 80285DE0 00282D40 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) +/* 80285DE4 00282D44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285DE8 00282D48 40 80 00 38 */ bge lbl_80285E20 +/* 80285DEC 00282D4C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80285DF0 00282D50 D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285DF4 00282D54 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80285DF8 00282D58 D0 1F 05 44 */ stfs f0, 0x544(r31) +/* 80285DFC 00282D5C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80285E00 00282D60 D0 1F 05 48 */ stfs f0, 0x548(r31) +/* 80285E04 00282D64 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80285E08 00282D68 D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285E0C 00282D6C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80285E10 00282D70 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80285E14 00282D74 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80285E18 00282D78 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285E1C 00282D7C 48 00 00 60 */ b lbl_80285E7C +lbl_80285E20: +/* 80285E20 00282D80 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285E24 00282D84 2C 00 00 01 */ cmpwi r0, 1 +/* 80285E28 00282D88 41 82 00 54 */ beq lbl_80285E7C +/* 80285E2C 00282D8C C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80285E30 00282D90 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285E34 00282D94 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80285E38 00282D98 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80285E3C 00282D9C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80285E40 00282DA0 D0 3F 05 40 */ stfs f1, 0x540(r31) +/* 80285E44 00282DA4 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285E48 00282DA8 D0 7F 05 48 */ stfs f3, 0x548(r31) +/* 80285E4C 00282DAC C0 3F 05 40 */ lfs f1, 0x540(r31) +/* 80285E50 00282DB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) +/* 80285E54 00282DB4 C0 3F 05 44 */ lfs f1, 0x544(r31) +/* 80285E58 00282DB8 D0 3F 05 50 */ stfs f1, 0x550(r31) +/* 80285E5C 00282DBC C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285E60 00282DC0 D0 3F 05 54 */ stfs f1, 0x554(r31) +/* 80285E64 00282DC4 D0 1F 05 54 */ stfs f0, 0x554(r31) +/* 80285E68 00282DC8 48 08 E8 91 */ bl CanBeNormalized__9CVector3fCFv +/* 80285E6C 00282DCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80285E70 00282DD0 41 82 00 0C */ beq lbl_80285E7C +/* 80285E74 00282DD4 38 7F 05 4C */ addi r3, r31, 0x54c +/* 80285E78 00282DD8 48 08 EA 81 */ bl Normalize__9CVector3fFv +lbl_80285E7C: +/* 80285E7C 00282DDC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80285E80 00282DE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80285E84 00282DE4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80285E88 00282DE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80285E8C 00282DEC 7C 08 03 A6 */ mtlr r0 +/* 80285E90 00282DF0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80285E94 00282DF4 4E 80 00 20 */ blr + +.global UpdatePlayerControlDirection__7CPlayerFfR13CStateManager +UpdatePlayerControlDirection__7CPlayerFfR13CStateManager: +/* 80285E98 00282DF8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80285E9C 00282DFC 7C 08 02 A6 */ mflr r0 +/* 80285EA0 00282E00 90 01 00 84 */ stw r0, 0x84(r1) +/* 80285EA4 00282E04 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80285EA8 00282E08 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80285EAC 00282E0C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80285EB0 00282E10 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80285EB4 00282E14 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80285EB8 00282E18 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80285EBC 00282E1C DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80285EC0 00282E20 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80285EC4 00282E24 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 80285EC8 00282E28 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 80285ECC 00282E2C DB 41 00 20 */ stfd f26, 0x20(r1) +/* 80285ED0 00282E30 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0 +/* 80285ED4 00282E34 DB 21 00 10 */ stfd f25, 0x10(r1) +/* 80285ED8 00282E38 F3 21 00 18 */ psq_st f25, 24(r1), 0, qr0 +/* 80285EDC 00282E3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80285EE0 00282E40 7C 7F 1B 78 */ mr r31, r3 +/* 80285EE4 00282E44 FF 20 08 90 */ fmr f25, f1 +/* 80285EE8 00282E48 C3 E3 05 40 */ lfs f31, 0x540(r3) +/* 80285EEC 00282E4C C3 C3 05 44 */ lfs f30, 0x544(r3) +/* 80285EF0 00282E50 C3 A3 05 48 */ lfs f29, 0x548(r3) +/* 80285EF4 00282E54 C3 83 05 4C */ lfs f28, 0x54c(r3) +/* 80285EF8 00282E58 C3 63 05 50 */ lfs f27, 0x550(r3) +/* 80285EFC 00282E5C C3 43 05 54 */ lfs f26, 0x554(r3) +/* 80285F00 00282E60 4B FF FC 11 */ bl CalculatePlayerControlDirection__7CPlayerFR13CStateManager +/* 80285F04 00282E64 88 1F 09 C6 */ lbz r0, 0x9c6(r31) +/* 80285F08 00282E68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80285F0C 00282E6C 41 82 00 CC */ beq lbl_80285FD8 +/* 80285F10 00282E70 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80285F14 00282E74 2C 00 00 01 */ cmpwi r0, 1 +/* 80285F18 00282E78 40 82 00 C0 */ bne lbl_80285FD8 +/* 80285F1C 00282E7C C0 1F 09 F8 */ lfs f0, 0x9f8(r31) +/* 80285F20 00282E80 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80285F24 00282E84 D0 1F 09 F8 */ stfs f0, 0x9f8(r31) +/* 80285F28 00282E88 C0 1F 09 F8 */ lfs f0, 0x9f8(r31) +/* 80285F2C 00282E8C C0 3F 09 FC */ lfs f1, 0x9fc(r31) +/* 80285F30 00282E90 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80285F34 00282E94 40 81 00 10 */ ble lbl_80285F44 +/* 80285F38 00282E98 D0 3F 09 F8 */ stfs f1, 0x9f8(r31) +/* 80285F3C 00282E9C 7F E3 FB 78 */ mr r3, r31 +/* 80285F40 00282EA0 4B D8 BB 49 */ bl ResetControlDirectionInterpolation__7CPlayerFv +lbl_80285F44: +/* 80285F44 00282EA4 C0 5F 09 F8 */ lfs f2, 0x9f8(r31) +/* 80285F48 00282EA8 C0 3F 09 FC */ lfs f1, 0x9fc(r31) +/* 80285F4C 00282EAC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80285F50 00282EB0 EC 62 08 24 */ fdivs f3, f2, f1 +/* 80285F54 00282EB4 FC 20 1A 10 */ fabs f1, f3 +/* 80285F58 00282EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80285F5C 00282EBC 40 81 00 14 */ ble lbl_80285F70 +/* 80285F60 00282EC0 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80285F64 00282EC4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80285F68 00282EC8 FC 03 00 6E */ fsel f0, f3, f1, f0 +/* 80285F6C 00282ECC EC 61 00 32 */ fmuls f3, f1, f0 +lbl_80285F70: +/* 80285F70 00282ED0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80285F74 00282ED4 C0 1F 05 40 */ lfs f0, 0x540(r31) +/* 80285F78 00282ED8 C0 5F 05 44 */ lfs f2, 0x544(r31) +/* 80285F7C 00282EDC EC 81 18 28 */ fsubs f4, f1, f3 +/* 80285F80 00282EE0 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80285F84 00282EE4 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285F88 00282EE8 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80285F8C 00282EEC EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80285F90 00282EF0 EC 1F 01 3A */ fmadds f0, f31, f4, f0 +/* 80285F94 00282EF4 EC 5E 11 3A */ fmadds f2, f30, f4, f2 +/* 80285F98 00282EF8 EC 3D 09 3A */ fmadds f1, f29, f4, f1 +/* 80285F9C 00282EFC D0 1F 05 40 */ stfs f0, 0x540(r31) +/* 80285FA0 00282F00 D0 5F 05 44 */ stfs f2, 0x544(r31) +/* 80285FA4 00282F04 D0 3F 05 48 */ stfs f1, 0x548(r31) +/* 80285FA8 00282F08 C0 1F 05 40 */ lfs f0, 0x540(r31) +/* 80285FAC 00282F0C C0 5F 05 44 */ lfs f2, 0x544(r31) +/* 80285FB0 00282F10 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80285FB4 00282F14 C0 3F 05 48 */ lfs f1, 0x548(r31) +/* 80285FB8 00282F18 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80285FBC 00282F1C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80285FC0 00282F20 EC 1C 01 3A */ fmadds f0, f28, f4, f0 +/* 80285FC4 00282F24 EC 5B 11 3A */ fmadds f2, f27, f4, f2 +/* 80285FC8 00282F28 EC 3A 09 3A */ fmadds f1, f26, f4, f1 +/* 80285FCC 00282F2C D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80285FD0 00282F30 D0 5F 05 50 */ stfs f2, 0x550(r31) +/* 80285FD4 00282F34 D0 3F 05 54 */ stfs f1, 0x554(r31) +lbl_80285FD8: +/* 80285FD8 00282F38 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80285FDC 00282F3C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80285FE0 00282F40 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80285FE4 00282F44 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80285FE8 00282F48 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80285FEC 00282F4C CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80285FF0 00282F50 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80285FF4 00282F54 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80285FF8 00282F58 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 80285FFC 00282F5C CB 61 00 30 */ lfd f27, 0x30(r1) +/* 80286000 00282F60 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0 +/* 80286004 00282F64 CB 41 00 20 */ lfd f26, 0x20(r1) +/* 80286008 00282F68 E3 21 00 18 */ psq_l f25, 24(r1), 0, qr0 +/* 8028600C 00282F6C CB 21 00 10 */ lfd f25, 0x10(r1) +/* 80286010 00282F70 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80286014 00282F74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80286018 00282F78 7C 08 03 A6 */ mtlr r0 +/* 8028601C 00282F7C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80286020 00282F80 4E 80 00 20 */ blr + +.global CalculatePlayerMovementDirection__7CPlayerFf +CalculatePlayerMovementDirection__7CPlayerFf: +/* 80286024 00282F84 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80286028 00282F88 7C 08 02 A6 */ mflr r0 +/* 8028602C 00282F8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80286030 00282F90 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80286034 00282F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80286038 00282F98 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8028603C 00282F9C 7C 7F 1B 78 */ mr r31, r3 +/* 80286040 00282FA0 FF E0 08 90 */ fmr f31, f1 +/* 80286044 00282FA4 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80286048 00282FA8 2C 00 00 02 */ cmpwi r0, 2 +/* 8028604C 00282FAC 41 82 03 84 */ beq lbl_802863D0 +/* 80286050 00282FB0 2C 00 00 03 */ cmpwi r0, 3 +/* 80286054 00282FB4 40 82 00 08 */ bne lbl_8028605C +/* 80286058 00282FB8 48 00 03 78 */ b lbl_802863D0 +lbl_8028605C: +/* 8028605C 00282FBC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80286060 00282FC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286064 00282FC4 C0 1F 05 28 */ lfs f0, 0x528(r31) +/* 80286068 00282FC8 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8028606C 00282FCC C0 5F 05 2C */ lfs f2, 0x52c(r31) +/* 80286070 00282FD0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80286074 00282FD4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80286078 00282FD8 C0 1F 05 24 */ lfs f0, 0x524(r31) +/* 8028607C 00282FDC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80286080 00282FE0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80286084 00282FE4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80286088 00282FE8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8028608C 00282FEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80286090 00282FF0 48 08 E6 69 */ bl CanBeNormalized__9CVector3fCFv +/* 80286094 00282FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286098 00282FF8 41 82 02 50 */ beq lbl_802862E8 +/* 8028609C 00282FFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802860A0 00283000 48 08 E8 19 */ bl Magnitude__9CVector3fCFv +/* 802860A4 00283004 C0 02 BE 30 */ lfs f0, lbl_805ADB50@sda21(r2) +/* 802860A8 00283008 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802860AC 0028300C 40 81 02 3C */ ble lbl_802862E8 +/* 802860B0 00283010 C0 1F 05 3C */ lfs f0, 0x53c(r31) +/* 802860B4 00283014 38 61 00 20 */ addi r3, r1, 0x20 +/* 802860B8 00283018 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802860BC 0028301C D0 1F 05 3C */ stfs f0, 0x53c(r31) +/* 802860C0 00283020 48 08 E7 F9 */ bl Magnitude__9CVector3fCFv +/* 802860C4 00283024 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 802860C8 00283028 38 61 00 08 */ addi r3, r1, 8 +/* 802860CC 0028302C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802860D0 00283030 FC 00 02 10 */ fabs f0, f0 +/* 802860D4 00283034 FC 00 00 18 */ frsp f0, f0 +/* 802860D8 00283038 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) +/* 802860DC 0028303C 48 08 E7 75 */ bl AsNormalized__9CVector3fCFv +/* 802860E0 00283040 C0 21 00 08 */ lfs f1, 8(r1) +/* 802860E4 00283044 38 61 00 14 */ addi r3, r1, 0x14 +/* 802860E8 00283048 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802860EC 0028304C D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 802860F0 00283050 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802860F4 00283054 D0 3F 05 04 */ stfs f1, 0x504(r31) +/* 802860F8 00283058 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802860FC 0028305C D0 3F 05 08 */ stfs f1, 0x508(r31) +/* 80286100 00283060 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80286104 00283064 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80286108 00283068 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8028610C 0028306C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80286110 00283070 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80286114 00283074 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80286118 00283078 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028611C 0028307C 48 08 E5 DD */ bl CanBeNormalized__9CVector3fCFv +/* 80286120 00283080 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286124 00283084 41 82 01 2C */ beq lbl_80286250 +/* 80286128 00283088 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028612C 0028308C 48 08 E7 8D */ bl Magnitude__9CVector3fCFv +/* 80286130 00283090 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 80286134 00283094 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286138 00283098 FC 00 02 10 */ fabs f0, f0 +/* 8028613C 0028309C FC 00 00 18 */ frsp f0, f0 +/* 80286140 002830A0 D0 1F 04 FC */ stfs f0, 0x4fc(r31) +/* 80286144 002830A4 48 08 E7 B5 */ bl Normalize__9CVector3fFv +/* 80286148 002830A8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8028614C 002830AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80286150 002830B0 41 82 00 20 */ beq lbl_80286170 +/* 80286154 002830B4 40 80 00 10 */ bge lbl_80286164 +/* 80286158 002830B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028615C 002830BC 40 80 00 70 */ bge lbl_802861CC +/* 80286160 002830C0 48 00 02 50 */ b lbl_802863B0 +lbl_80286164: +/* 80286164 002830C4 2C 00 00 04 */ cmpwi r0, 4 +/* 80286168 002830C8 40 80 02 48 */ bge lbl_802863B0 +/* 8028616C 002830CC 48 00 00 60 */ b lbl_802861CC +lbl_80286170: +/* 80286170 002830D0 C0 3F 04 FC */ lfs f1, 0x4fc(r31) +/* 80286174 002830D4 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) +/* 80286178 002830D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028617C 002830DC 40 81 00 1C */ ble lbl_80286198 +/* 80286180 002830E0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80286184 002830E4 D0 1F 05 0C */ stfs f0, 0x50c(r31) +/* 80286188 002830E8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8028618C 002830EC D0 1F 05 10 */ stfs f0, 0x510(r31) +/* 80286190 002830F0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80286194 002830F4 D0 1F 05 14 */ stfs f0, 0x514(r31) +lbl_80286198: +/* 80286198 002830F8 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 8028619C 002830FC D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 802861A0 00283100 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 802861A4 00283104 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 802861A8 00283108 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 802861AC 0028310C D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 802861B0 00283110 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802861B4 00283114 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802861B8 00283118 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802861BC 0028311C D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 802861C0 00283120 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802861C4 00283124 D0 5F 05 2C */ stfs f2, 0x52c(r31) +/* 802861C8 00283128 48 00 01 E8 */ b lbl_802863B0 +lbl_802861CC: +/* 802861CC 0028312C C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 802861D0 00283130 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802861D4 00283134 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 802861D8 00283138 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 802861DC 0028313C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802861E0 00283140 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 802861E4 00283144 D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 802861E8 00283148 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 802861EC 0028314C C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 802861F0 00283150 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 802861F4 00283154 C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 802861F8 00283158 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 802861FC 0028315C C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286200 00283160 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 80286204 00283164 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286208 00283168 48 08 E4 F1 */ bl CanBeNormalized__9CVector3fCFv +/* 8028620C 0028316C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286210 00283170 41 82 00 0C */ beq lbl_8028621C +/* 80286214 00283174 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286218 00283178 48 08 E6 E1 */ bl Normalize__9CVector3fFv +lbl_8028621C: +/* 8028621C 0028317C C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80286220 00283180 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 80286224 00283184 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286228 00283188 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 8028622C 0028318C C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80286230 00283190 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 80286234 00283194 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80286238 00283198 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8028623C 0028319C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80286240 002831A0 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 80286244 002831A4 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 80286248 002831A8 D0 5F 05 2C */ stfs f2, 0x52c(r31) +/* 8028624C 002831AC 48 00 01 64 */ b lbl_802863B0 +lbl_80286250: +/* 80286250 002831B0 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80286254 002831B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286258 002831B8 41 82 00 84 */ beq lbl_802862DC +/* 8028625C 002831BC C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80286260 002831C0 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286264 002831C4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80286268 002831C8 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8028626C 002831CC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286270 002831D0 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 80286274 002831D4 D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 80286278 002831D8 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 8028627C 002831DC C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 80286280 002831E0 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 80286284 002831E4 C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 80286288 002831E8 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 8028628C 002831EC C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286290 002831F0 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 80286294 002831F4 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286298 002831F8 48 08 E4 61 */ bl CanBeNormalized__9CVector3fCFv +/* 8028629C 002831FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802862A0 00283200 41 82 00 0C */ beq lbl_802862AC +/* 802862A4 00283204 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802862A8 00283208 48 08 E6 51 */ bl Normalize__9CVector3fFv +lbl_802862AC: +/* 802862AC 0028320C C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 802862B0 00283210 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 802862B4 00283214 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 802862B8 00283218 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 802862BC 0028321C C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 802862C0 00283220 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 802862C4 00283224 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 802862C8 00283228 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 802862CC 0028322C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 802862D0 00283230 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 802862D4 00283234 D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802862D8 00283238 D0 5F 05 2C */ stfs f2, 0x52c(r31) +lbl_802862DC: +/* 802862DC 0028323C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802862E0 00283240 D0 1F 04 FC */ stfs f0, 0x4fc(r31) +/* 802862E4 00283244 48 00 00 CC */ b lbl_802863B0 +lbl_802862E8: +/* 802862E8 00283248 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802862EC 0028324C D0 1F 05 3C */ stfs f0, 0x53c(r31) +/* 802862F0 00283250 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 802862F4 00283254 2C 00 00 04 */ cmpwi r0, 4 +/* 802862F8 00283258 40 80 00 2C */ bge lbl_80286324 +/* 802862FC 0028325C 2C 00 00 01 */ cmpwi r0, 1 +/* 80286300 00283260 40 80 00 08 */ bge lbl_80286308 +/* 80286304 00283264 48 00 00 20 */ b lbl_80286324 +lbl_80286308: +/* 80286308 00283268 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 8028630C 0028326C D0 1F 05 00 */ stfs f0, 0x500(r31) +/* 80286310 00283270 C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286314 00283274 D0 1F 05 04 */ stfs f0, 0x504(r31) +/* 80286318 00283278 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 8028631C 0028327C D0 1F 05 08 */ stfs f0, 0x508(r31) +/* 80286320 00283280 48 00 00 84 */ b lbl_802863A4 +lbl_80286324: +/* 80286324 00283284 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80286328 00283288 38 7F 05 0C */ addi r3, r31, 0x50c +/* 8028632C 0028328C C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80286330 00283290 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80286334 00283294 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286338 00283298 D0 3F 05 00 */ stfs f1, 0x500(r31) +/* 8028633C 0028329C D0 5F 05 04 */ stfs f2, 0x504(r31) +/* 80286340 002832A0 D0 7F 05 08 */ stfs f3, 0x508(r31) +/* 80286344 002832A4 C0 3F 05 00 */ lfs f1, 0x500(r31) +/* 80286348 002832A8 D0 3F 05 0C */ stfs f1, 0x50c(r31) +/* 8028634C 002832AC C0 3F 05 04 */ lfs f1, 0x504(r31) +/* 80286350 002832B0 D0 3F 05 10 */ stfs f1, 0x510(r31) +/* 80286354 002832B4 C0 3F 05 08 */ lfs f1, 0x508(r31) +/* 80286358 002832B8 D0 3F 05 14 */ stfs f1, 0x514(r31) +/* 8028635C 002832BC D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 80286360 002832C0 48 08 E3 99 */ bl CanBeNormalized__9CVector3fCFv +/* 80286364 002832C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286368 002832C8 41 82 00 0C */ beq lbl_80286374 +/* 8028636C 002832CC 38 7F 05 0C */ addi r3, r31, 0x50c +/* 80286370 002832D0 48 08 E5 89 */ bl Normalize__9CVector3fFv +lbl_80286374: +/* 80286374 002832D4 C0 1F 05 0C */ lfs f0, 0x50c(r31) +/* 80286378 002832D8 D0 1F 05 30 */ stfs f0, 0x530(r31) +/* 8028637C 002832DC C0 1F 05 10 */ lfs f0, 0x510(r31) +/* 80286380 002832E0 D0 1F 05 34 */ stfs f0, 0x534(r31) +/* 80286384 002832E4 C0 1F 05 14 */ lfs f0, 0x514(r31) +/* 80286388 002832E8 D0 1F 05 38 */ stfs f0, 0x538(r31) +/* 8028638C 002832EC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80286390 002832F0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80286394 002832F4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80286398 002832F8 D0 1F 05 24 */ stfs f0, 0x524(r31) +/* 8028639C 002832FC D0 3F 05 28 */ stfs f1, 0x528(r31) +/* 802863A0 00283300 D0 5F 05 2C */ stfs f2, 0x52c(r31) +lbl_802863A4: +/* 802863A4 00283304 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802863A8 00283308 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) +/* 802863AC 0028330C D0 1F 04 FC */ stfs f0, 0x4fc(r31) +lbl_802863B0: +/* 802863B0 00283310 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802863B4 00283314 38 7F 05 0C */ addi r3, r31, 0x50c +/* 802863B8 00283318 D0 1F 05 14 */ stfs f0, 0x514(r31) +/* 802863BC 0028331C 48 08 E3 3D */ bl CanBeNormalized__9CVector3fCFv +/* 802863C0 00283320 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802863C4 00283324 41 82 00 0C */ beq lbl_802863D0 +/* 802863C8 00283328 38 7F 05 00 */ addi r3, r31, 0x500 +/* 802863CC 0028332C 48 08 E5 2D */ bl Normalize__9CVector3fFv +lbl_802863D0: +/* 802863D0 00283330 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802863D4 00283334 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802863D8 00283338 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802863DC 0028333C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802863E0 00283340 7C 08 03 A6 */ mtlr r0 +/* 802863E4 00283344 38 21 00 50 */ addi r1, r1, 0x50 +/* 802863E8 00283348 4E 80 00 20 */ blr + +.global SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager: +/* 802863EC 0028334C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802863F0 00283350 7C 08 02 A6 */ mflr r0 +/* 802863F4 00283354 2C 04 00 02 */ cmpwi r4, 2 +/* 802863F8 00283358 90 01 00 24 */ stw r0, 0x24(r1) +/* 802863FC 0028335C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80286400 00283360 7C 7F 1B 78 */ mr r31, r3 +/* 80286404 00283364 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80286408 00283368 7C BE 2B 78 */ mr r30, r5 +/* 8028640C 0028336C 41 82 02 5C */ beq lbl_80286668 +/* 80286410 00283370 40 80 00 14 */ bge lbl_80286424 +/* 80286414 00283374 2C 04 00 00 */ cmpwi r4, 0 +/* 80286418 00283378 41 82 02 04 */ beq lbl_8028661C +/* 8028641C 0028337C 40 80 00 18 */ bge lbl_80286434 +/* 80286420 00283380 48 00 02 B4 */ b lbl_802866D4 +lbl_80286424: +/* 80286424 00283384 2C 04 00 04 */ cmpwi r4, 4 +/* 80286428 00283388 41 82 01 E0 */ beq lbl_80286608 +/* 8028642C 0028338C 40 80 02 A8 */ bge lbl_802866D4 +/* 80286430 00283390 48 00 01 88 */ b lbl_802865B8 +lbl_80286434: +/* 80286434 00283394 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80286438 00283398 2C 00 00 02 */ cmpwi r0, 2 +/* 8028643C 0028339C 40 82 00 80 */ bne lbl_802864BC +/* 80286440 002833A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80286444 002833A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80286448 002833A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8028644C 002833AC 38 80 05 BE */ li r4, 0x5be +/* 80286450 002833B0 38 A0 00 7F */ li r5, 0x7f +/* 80286454 002833B4 38 C0 00 40 */ li r6, 0x40 +/* 80286458 002833B8 38 E0 00 01 */ li r7, 1 +/* 8028645C 002833BC 39 20 00 00 */ li r9, 0 +/* 80286460 002833C0 48 06 39 15 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80286464 002833C4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80286468 002833C8 7F E3 FB 78 */ mr r3, r31 +/* 8028646C 002833CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80286470 002833D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80286474 002833D4 4B D8 AD 19 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 80286478 002833D8 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 8028647C 002833DC 7F C4 F3 78 */ mr r4, r30 +/* 80286480 002833E0 C0 22 BE 34 */ lfs f1, lbl_805ADB54@sda21(r2) +/* 80286484 002833E4 38 A0 00 0B */ li r5, 0xb +/* 80286488 002833E8 38 C0 00 01 */ li r6, 1 +/* 8028648C 002833EC 4B FA 7D B9 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 80286490 002833F0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286494 002833F4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286498 002833F8 C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 8028649C 002833FC D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 802864A0 00283400 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802864A4 00283404 C0 43 01 0C */ lfs f2, 0x10c(r3) +/* 802864A8 00283408 C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 802864AC 0028340C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802864B0 00283410 D0 3F 02 90 */ stfs f1, 0x290(r31) +/* 802864B4 00283414 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 802864B8 00283418 48 00 00 E8 */ b lbl_802865A0 +lbl_802864BC: +/* 802864BC 0028341C 2C 00 00 01 */ cmpwi r0, 1 +/* 802864C0 00283420 41 82 00 E0 */ beq lbl_802865A0 +/* 802864C4 00283424 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 802864C8 00283428 38 61 00 08 */ addi r3, r1, 8 +/* 802864CC 0028342C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 802864D0 00283430 38 80 05 BF */ li r4, 0x5bf +/* 802864D4 00283434 38 A0 00 7F */ li r5, 0x7f +/* 802864D8 00283438 38 C0 00 40 */ li r6, 0x40 +/* 802864DC 0028343C 38 E0 00 01 */ li r7, 1 +/* 802864E0 00283440 39 20 00 00 */ li r9, 0 +/* 802864E4 00283444 48 06 38 91 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 802864E8 00283448 80 01 00 08 */ lwz r0, 8(r1) +/* 802864EC 0028344C 7F E3 FB 78 */ mr r3, r31 +/* 802864F0 00283450 38 81 00 0C */ addi r4, r1, 0xc +/* 802864F4 00283454 90 01 00 0C */ stw r0, 0xc(r1) +/* 802864F8 00283458 4B D8 AC 95 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 802864FC 0028345C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286500 00283460 38 80 00 0F */ li r4, 0xf +/* 80286504 00283464 D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 80286508 00283468 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028650C 0028346C C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 80286510 00283470 D0 1F 02 88 */ stfs f0, 0x288(r31) +/* 80286514 00283474 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286518 00283478 C0 23 01 08 */ lfs f1, 0x108(r3) +/* 8028651C 0028347C C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 80286520 00283480 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80286524 00283484 D0 1F 02 90 */ stfs f0, 0x290(r31) +/* 80286528 00283488 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8028652C 0028348C 80 63 00 00 */ lwz r3, 0(r3) +/* 80286530 00283490 4B E0 B5 ED */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80286534 00283494 2C 03 00 00 */ cmpwi r3, 0 +/* 80286538 00283498 41 82 00 14 */ beq lbl_8028654C +/* 8028653C 0028349C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286540 002834A0 C0 03 01 00 */ lfs f0, 0x100(r3) +/* 80286544 002834A4 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286548 002834A8 48 00 00 0C */ b lbl_80286554 +lbl_8028654C: +/* 8028654C 002834AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286550 002834B0 D0 1F 02 8C */ stfs f0, 0x28c(r31) +lbl_80286554: +/* 80286554 002834B4 C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80286558 002834B8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028655C 002834BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286560 002834C0 4C 40 13 82 */ cror 2, 0, 2 +/* 80286564 002834C4 40 82 00 3C */ bne lbl_802865A0 +/* 80286568 002834C8 C0 1F 02 9C */ lfs f0, 0x29c(r31) +/* 8028656C 002834CC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286570 002834D0 4C 40 13 82 */ cror 2, 0, 2 +/* 80286574 002834D4 40 82 00 2C */ bne lbl_802865A0 +/* 80286578 002834D8 88 1F 03 DC */ lbz r0, 0x3dc(r31) +/* 8028657C 002834DC 28 00 00 00 */ cmplwi r0, 0 +/* 80286580 002834E0 40 82 00 20 */ bne lbl_802865A0 +/* 80286584 002834E4 88 1F 03 DD */ lbz r0, 0x3dd(r31) +/* 80286588 002834E8 28 00 00 00 */ cmplwi r0, 0 +/* 8028658C 002834EC 40 82 00 14 */ bne lbl_802865A0 +/* 80286590 002834F0 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286594 002834F4 38 00 00 00 */ li r0, 0 +/* 80286598 002834F8 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 8028659C 002834FC 98 1F 02 A4 */ stb r0, 0x2a4(r31) +lbl_802865A0: +/* 802865A0 00283500 38 00 00 01 */ li r0, 1 +/* 802865A4 00283504 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802865A8 00283508 90 1F 02 58 */ stw r0, 0x258(r31) +/* 802865AC 0028350C 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 802865B0 00283510 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) +/* 802865B4 00283514 48 00 01 20 */ b lbl_802866D4 +lbl_802865B8: +/* 802865B8 00283518 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802865BC 0028351C 2C 00 00 00 */ cmpwi r0, 0 +/* 802865C0 00283520 40 82 01 14 */ bne lbl_802866D4 +/* 802865C4 00283524 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802865C8 00283528 38 00 00 03 */ li r0, 3 +/* 802865CC 0028352C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802865D0 00283530 C0 23 01 10 */ lfs f1, 0x110(r3) +/* 802865D4 00283534 D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 802865D8 00283538 90 1F 02 58 */ stw r0, 0x258(r31) +/* 802865DC 0028353C D0 1F 02 A0 */ stfs f0, 0x2a0(r31) +/* 802865E0 00283540 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802865E4 00283544 88 03 02 2A */ lbz r0, 0x22a(r3) +/* 802865E8 00283548 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802865EC 0028354C 41 82 00 10 */ beq lbl_802865FC +/* 802865F0 00283550 C0 03 01 00 */ lfs f0, 0x100(r3) +/* 802865F4 00283554 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 802865F8 00283558 48 00 00 DC */ b lbl_802866D4 +lbl_802865FC: +/* 802865FC 0028355C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286600 00283560 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286604 00283564 48 00 00 D0 */ b lbl_802866D4 +lbl_80286608: +/* 80286608 00283568 38 60 00 04 */ li r3, 4 +/* 8028660C 0028356C 38 00 00 00 */ li r0, 0 +/* 80286610 00283570 90 7F 02 58 */ stw r3, 0x258(r31) +/* 80286614 00283574 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 80286618 00283578 48 00 00 BC */ b lbl_802866D4 +lbl_8028661C: +/* 8028661C 0028357C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286620 00283580 38 00 00 00 */ li r0, 0 +/* 80286624 00283584 D0 1F 03 00 */ stfs f0, 0x300(r31) +/* 80286628 00283588 90 1F 02 58 */ stw r0, 0x258(r31) +/* 8028662C 0028358C D0 1F 02 88 */ stfs f0, 0x288(r31) +/* 80286630 00283590 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80286634 00283594 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 80286638 00283598 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8028663C 0028359C 2C 00 00 01 */ cmpwi r0, 1 +/* 80286640 002835A0 41 82 00 0C */ beq lbl_8028664C +/* 80286644 002835A4 38 80 00 25 */ li r4, 0x25 +/* 80286648 002835A8 4B DC DD 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8028664C: +/* 8028664C 002835AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286650 002835B0 38 00 00 00 */ li r0, 0 +/* 80286654 002835B4 D0 1F 02 94 */ stfs f0, 0x294(r31) +/* 80286658 002835B8 D0 1F 02 9C */ stfs f0, 0x29c(r31) +/* 8028665C 002835BC 98 1F 02 A4 */ stb r0, 0x2a4(r31) +/* 80286660 002835C0 90 1F 02 98 */ stw r0, 0x298(r31) +/* 80286664 002835C4 48 00 00 70 */ b lbl_802866D4 +lbl_80286668: +/* 80286668 002835C8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028666C 002835CC D0 3F 02 88 */ stfs f1, 0x288(r31) +/* 80286670 002835D0 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80286674 002835D4 2C 00 00 02 */ cmpwi r0, 2 +/* 80286678 002835D8 41 82 00 54 */ beq lbl_802866CC +/* 8028667C 002835DC 38 00 00 02 */ li r0, 2 +/* 80286680 002835E0 90 1F 02 58 */ stw r0, 0x258(r31) +/* 80286684 002835E4 C0 1F 02 94 */ lfs f0, 0x294(r31) +/* 80286688 002835E8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028668C 002835EC 4C 40 13 82 */ cror 2, 0, 2 +/* 80286690 002835F0 40 82 00 3C */ bne lbl_802866CC +/* 80286694 002835F4 C0 1F 02 9C */ lfs f0, 0x29c(r31) +/* 80286698 002835F8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8028669C 002835FC 4C 40 13 82 */ cror 2, 0, 2 +/* 802866A0 00283600 40 82 00 2C */ bne lbl_802866CC +/* 802866A4 00283604 88 1F 03 DC */ lbz r0, 0x3dc(r31) +/* 802866A8 00283608 28 00 00 00 */ cmplwi r0, 0 +/* 802866AC 0028360C 40 82 00 20 */ bne lbl_802866CC +/* 802866B0 00283610 88 1F 03 DD */ lbz r0, 0x3dd(r31) +/* 802866B4 00283614 28 00 00 00 */ cmplwi r0, 0 +/* 802866B8 00283618 40 82 00 14 */ bne lbl_802866CC +/* 802866BC 0028361C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 802866C0 00283620 38 00 00 00 */ li r0, 0 +/* 802866C4 00283624 D0 1F 02 9C */ stfs f0, 0x29c(r31) +/* 802866C8 00283628 98 1F 02 A4 */ stb r0, 0x2a4(r31) +lbl_802866CC: +/* 802866CC 0028362C 38 00 00 01 */ li r0, 1 +/* 802866D0 00283630 90 1F 02 AC */ stw r0, 0x2ac(r31) +lbl_802866D4: +/* 802866D4 00283634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802866D8 00283638 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802866DC 0028363C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802866E0 00283640 7C 08 03 A6 */ mtlr r0 +/* 802866E4 00283644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802866E8 00283648 4E 80 00 20 */ blr + +.global JumpInput__7CPlayerFRC11CFinalInputR13CStateManager +JumpInput__7CPlayerFRC11CFinalInputR13CStateManager: +/* 802866EC 0028364C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802866F0 00283650 7C 08 02 A6 */ mflr r0 +/* 802866F4 00283654 90 01 00 94 */ stw r0, 0x94(r1) +/* 802866F8 00283658 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802866FC 0028365C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80286700 00283660 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80286704 00283664 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80286708 00283668 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8028670C 0028366C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80286710 00283670 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80286714 00283674 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80286718 00283678 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 8028671C 0028367C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 80286720 00283680 DB 41 00 30 */ stfd f26, 0x30(r1) +/* 80286724 00283684 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 80286728 00283688 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028672C 0028368C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80286730 00283690 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80286734 00283694 7C 7D 1B 78 */ mr r29, r3 +/* 80286738 00283698 7C 9E 23 78 */ mr r30, r4 +/* 8028673C 0028369C 7C BF 2B 78 */ mr r31, r5 +/* 80286740 002836A0 4B D9 3A D5 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286744 002836A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286748 002836A8 41 82 00 18 */ beq lbl_80286760 +/* 8028674C 002836AC C3 BD 00 E8 */ lfs f29, 0xe8(r29) +/* 80286750 002836B0 7F A3 EB 78 */ mr r3, r29 +/* 80286754 002836B4 48 00 1C 09 */ bl GetGravity__7CPlayerCFv +/* 80286758 002836B8 EC 21 07 72 */ fmuls f1, f1, f29 +/* 8028675C 002836BC 48 00 02 D4 */ b lbl_80286A30 +lbl_80286760: +/* 80286760 002836C0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80286764 002836C4 38 80 00 15 */ li r4, 0x15 +/* 80286768 002836C8 C3 E2 BD 80 */ lfs f31, lbl_805ADAA0@sda21(r2) +/* 8028676C 002836CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80286770 002836D0 4B E0 B3 51 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80286774 002836D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286778 002836D8 40 82 00 60 */ bne lbl_802867D8 +/* 8028677C 002836DC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80286780 002836E0 2C 00 00 02 */ cmpwi r0, 2 +/* 80286784 002836E4 40 82 00 0C */ bne lbl_80286790 +/* 80286788 002836E8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028678C 002836EC 48 00 00 08 */ b lbl_80286794 +lbl_80286790: +/* 80286790 002836F0 38 00 00 04 */ li r0, 4 +lbl_80286794: +/* 80286794 002836F4 2C 00 00 05 */ cmpwi r0, 5 +/* 80286798 002836F8 41 82 00 2C */ beq lbl_802867C4 +/* 8028679C 002836FC 40 80 00 10 */ bge lbl_802867AC +/* 802867A0 00283700 2C 00 00 04 */ cmpwi r0, 4 +/* 802867A4 00283704 40 80 00 14 */ bge lbl_802867B8 +/* 802867A8 00283708 48 00 00 30 */ b lbl_802867D8 +lbl_802867AC: +/* 802867AC 0028370C 2C 00 00 07 */ cmpwi r0, 7 +/* 802867B0 00283710 40 80 00 28 */ bge lbl_802867D8 +/* 802867B4 00283714 48 00 00 1C */ b lbl_802867D0 +lbl_802867B8: +/* 802867B8 00283718 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867BC 0028371C C3 E3 00 DC */ lfs f31, 0xdc(r3) +/* 802867C0 00283720 48 00 00 18 */ b lbl_802867D8 +lbl_802867C4: +/* 802867C4 00283724 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867C8 00283728 C3 E3 00 E4 */ lfs f31, 0xe4(r3) +/* 802867CC 0028372C 48 00 00 0C */ b lbl_802867D8 +lbl_802867D0: +/* 802867D0 00283730 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867D4 00283734 C3 E3 00 EC */ lfs f31, 0xec(r3) +lbl_802867D8: +/* 802867D8 00283738 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 802867DC 0028373C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802867E0 00283740 28 00 00 00 */ cmplwi r0, 0 +/* 802867E4 00283744 C3 83 00 CC */ lfs f28, 0xcc(r3) +/* 802867E8 00283748 C3 63 00 D0 */ lfs f27, 0xd0(r3) +/* 802867EC 0028374C C3 43 01 14 */ lfs f26, 0x114(r3) +/* 802867F0 00283750 C3 C3 00 D4 */ lfs f30, 0xd4(r3) +/* 802867F4 00283754 C3 A3 00 D8 */ lfs f29, 0xd8(r3) +/* 802867F8 00283758 41 82 00 10 */ beq lbl_80286808 +/* 802867FC 0028375C C3 43 02 0C */ lfs f26, 0x20c(r3) +/* 80286800 00283760 C3 C3 02 10 */ lfs f30, 0x210(r3) +/* 80286804 00283764 C3 A3 02 14 */ lfs f29, 0x214(r3) +lbl_80286808: +/* 80286808 00283768 7F A3 EB 78 */ mr r3, r29 +/* 8028680C 0028376C 4B FF E5 D5 */ bl GetEyeHeight__7CPlayerCFv +/* 80286810 00283770 C0 42 BE 38 */ lfs f2, lbl_805ADB58@sda21(r2) +/* 80286814 00283774 C0 1D 08 28 */ lfs f0, 0x828(r29) +/* 80286818 00283778 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8028681C 0028377C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80286820 00283780 4C 41 13 82 */ cror 2, 1, 2 +/* 80286824 00283784 7C 00 00 26 */ mfcr r0 +/* 80286828 00283788 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f +/* 8028682C 0028378C 41 82 00 08 */ beq lbl_80286834 +/* 80286830 00283790 EF 5A 07 F2 */ fmuls f26, f26, f31 +lbl_80286834: +/* 80286834 00283794 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286838 00283798 2C 00 00 02 */ cmpwi r0, 2 +/* 8028683C 0028379C 40 82 01 10 */ bne lbl_8028694C +/* 80286840 002837A0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286844 002837A4 C0 5D 02 8C */ lfs f2, 0x28c(r29) +/* 80286848 002837A8 C0 23 00 FC */ lfs f1, 0xfc(r3) +/* 8028684C 002837AC C0 03 01 00 */ lfs f0, 0x100(r3) +/* 80286850 002837B0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80286854 002837B4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80286858 002837B8 4C 41 13 82 */ cror 2, 1, 2 +/* 8028685C 002837BC 40 82 00 DC */ bne lbl_80286938 +/* 80286860 002837C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286864 002837C4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80286868 002837C8 40 80 00 D0 */ bge lbl_80286938 +/* 8028686C 002837CC 7F C4 F3 78 */ mr r4, r30 +/* 80286870 002837D0 38 60 00 0A */ li r3, 0xa +/* 80286874 002837D4 4B D8 5F 5D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286878 002837D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028687C 002837DC 41 82 00 BC */ beq lbl_80286938 +/* 80286880 002837E0 7F A3 EB 78 */ mr r3, r29 +/* 80286884 002837E4 7F E5 FB 78 */ mr r5, r31 +/* 80286888 002837E8 38 80 00 01 */ li r4, 1 +/* 8028688C 002837EC 4B FF FB 61 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 80286890 002837F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286894 002837F4 7F A3 EB 78 */ mr r3, r29 +/* 80286898 002837F8 7F C4 F3 78 */ mr r4, r30 +/* 8028689C 002837FC D0 1D 03 84 */ stfs f0, 0x384(r29) +/* 802868A0 00283800 48 00 03 B1 */ bl StrafeInput__7CPlayerCFRC11CFinalInput +/* 802868A4 00283804 D0 3D 03 80 */ stfs f1, 0x380(r29) +/* 802868A8 00283808 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802868AC 0028380C 88 03 02 2A */ lbz r0, 0x22a(r3) +/* 802868B0 00283810 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802868B4 00283814 41 82 00 38 */ beq lbl_802868EC +/* 802868B8 00283818 C0 1D 01 40 */ lfs f0, 0x140(r29) +/* 802868BC 0028381C C0 3D 00 E8 */ lfs f1, 0xe8(r29) +/* 802868C0 00283820 EC 5A 00 28 */ fsubs f2, f26, f0 +/* 802868C4 00283824 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802868C8 00283828 D0 01 00 08 */ stfs f0, 8(r1) +/* 802868CC 0028382C EC 22 00 72 */ fmuls f1, f2, f1 +/* 802868D0 00283830 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802868D4 00283834 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802868D8 00283838 4B D9 4C 5D */ bl Identity__10CAxisAngleFv +/* 802868DC 0028383C 7C 65 1B 78 */ mr r5, r3 +/* 802868E0 00283840 7F A3 EB 78 */ mr r3, r29 +/* 802868E4 00283844 38 81 00 08 */ addi r4, r1, 8 +/* 802868E8 00283848 4B E9 5A B1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802868EC: +/* 802868EC 0028384C 7F C4 F3 78 */ mr r4, r30 +/* 802868F0 00283850 38 60 00 00 */ li r3, 0 +/* 802868F4 00283854 4B D8 60 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802868F8 00283858 FF 40 08 90 */ fmr f26, f1 +/* 802868FC 0028385C 7F C4 F3 78 */ mr r4, r30 +/* 80286900 00283860 38 60 00 01 */ li r3, 1 +/* 80286904 00283864 4B D8 60 15 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286908 00283868 FC 1A 08 40 */ fcmpo cr0, f26, f1 +/* 8028690C 0028386C 40 80 00 14 */ bge lbl_80286920 +/* 80286910 00283870 7F C4 F3 78 */ mr r4, r30 +/* 80286914 00283874 38 60 00 01 */ li r3, 1 +/* 80286918 00283878 4B D8 60 01 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 8028691C 0028387C FF 40 08 90 */ fmr f26, f1 +lbl_80286920: +/* 80286920 00283880 EC 3E E8 28 */ fsubs f1, f30, f29 +/* 80286924 00283884 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 80286928 00283888 EC 3A F0 7C */ fnmsubs f1, f26, f1, f30 +/* 8028692C 0028388C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80286930 00283890 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80286934 00283894 48 00 00 FC */ b lbl_80286A30 +lbl_80286938: +/* 80286938 00283898 C3 7D 00 E8 */ lfs f27, 0xe8(r29) +/* 8028693C 0028389C 7F A3 EB 78 */ mr r3, r29 +/* 80286940 002838A0 48 00 1A 1D */ bl GetGravity__7CPlayerCFv +/* 80286944 002838A4 EC 21 06 F2 */ fmuls f1, f1, f27 +/* 80286948 002838A8 48 00 00 E8 */ b lbl_80286A30 +lbl_8028694C: +/* 8028694C 002838AC 7F C4 F3 78 */ mr r4, r30 +/* 80286950 002838B0 38 60 00 0A */ li r3, 0xa +/* 80286954 002838B4 4B D8 5F 21 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286958 002838B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028695C 002838BC 40 82 00 24 */ bne lbl_80286980 +/* 80286960 002838C0 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286964 002838C4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286968 002838C8 40 82 00 AC */ bne lbl_80286A14 +/* 8028696C 002838CC C0 3D 02 90 */ lfs f1, 0x290(r29) +/* 80286970 002838D0 C0 1D 02 88 */ lfs f0, 0x288(r29) +/* 80286974 002838D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286978 002838D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8028697C 002838DC 40 82 00 98 */ bne lbl_80286A14 +lbl_80286980: +/* 80286980 002838E0 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 80286984 002838E4 2C 00 00 01 */ cmpwi r0, 1 +/* 80286988 002838E8 41 82 00 40 */ beq lbl_802869C8 +/* 8028698C 002838EC 7F C4 F3 78 */ mr r4, r30 +/* 80286990 002838F0 38 60 00 0A */ li r3, 0xa +/* 80286994 002838F4 4B D8 5E 3D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286998 002838F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028699C 002838FC 41 82 00 24 */ beq lbl_802869C0 +/* 802869A0 00283900 7F A3 EB 78 */ mr r3, r29 +/* 802869A4 00283904 7F E5 FB 78 */ mr r5, r31 +/* 802869A8 00283908 38 80 00 01 */ li r4, 1 +/* 802869AC 0028390C 4B FF FA 41 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +/* 802869B0 00283910 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 802869B4 00283914 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 802869B8 00283918 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 802869BC 0028391C 48 00 00 74 */ b lbl_80286A30 +lbl_802869C0: +/* 802869C0 00283920 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802869C4 00283924 48 00 00 6C */ b lbl_80286A30 +lbl_802869C8: +/* 802869C8 00283928 7F C4 F3 78 */ mr r4, r30 +/* 802869CC 0028392C 38 60 00 00 */ li r3, 0 +/* 802869D0 00283930 4B D8 5F 49 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869D4 00283934 FF 40 08 90 */ fmr f26, f1 +/* 802869D8 00283938 7F C4 F3 78 */ mr r4, r30 +/* 802869DC 0028393C 38 60 00 01 */ li r3, 1 +/* 802869E0 00283940 4B D8 5F 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869E4 00283944 FC 1A 08 40 */ fcmpo cr0, f26, f1 +/* 802869E8 00283948 40 80 00 14 */ bge lbl_802869FC +/* 802869EC 0028394C 7F C4 F3 78 */ mr r4, r30 +/* 802869F0 00283950 38 60 00 01 */ li r3, 1 +/* 802869F4 00283954 4B D8 5F 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 802869F8 00283958 FF 40 08 90 */ fmr f26, f1 +lbl_802869FC: +/* 802869FC 0028395C EC 3C D8 28 */ fsubs f1, f28, f27 +/* 80286A00 00283960 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 80286A04 00283964 EC 3A E0 7C */ fnmsubs f1, f26, f1, f28 +/* 80286A08 00283968 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80286A0C 0028396C EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80286A10 00283970 48 00 00 20 */ b lbl_80286A30 +lbl_80286A14: +/* 80286A14 00283974 2C 00 00 01 */ cmpwi r0, 1 +/* 80286A18 00283978 40 82 00 14 */ bne lbl_80286A2C +/* 80286A1C 0028397C 7F A3 EB 78 */ mr r3, r29 +/* 80286A20 00283980 7F E5 FB 78 */ mr r5, r31 +/* 80286A24 00283984 38 80 00 02 */ li r4, 2 +/* 80286A28 00283988 4B FF F9 C5 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_80286A2C: +/* 80286A2C 0028398C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +lbl_80286A30: +/* 80286A30 00283990 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80286A34 00283994 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80286A38 00283998 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80286A3C 0028399C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80286A40 002839A0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80286A44 002839A4 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80286A48 002839A8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80286A4C 002839AC CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80286A50 002839B0 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 80286A54 002839B4 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80286A58 002839B8 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 80286A5C 002839BC CB 41 00 30 */ lfd f26, 0x30(r1) +/* 80286A60 002839C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80286A64 002839C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80286A68 002839C8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80286A6C 002839CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80286A70 002839D0 7C 08 03 A6 */ mtlr r0 +/* 80286A74 002839D4 38 21 00 90 */ addi r1, r1, 0x90 +/* 80286A78 002839D8 4E 80 00 20 */ blr + +.global TurnInput__7CPlayerCFRC11CFinalInput +TurnInput__7CPlayerCFRC11CFinalInput: +/* 80286A7C 002839DC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80286A80 002839E0 7C 08 02 A6 */ mflr r0 +/* 80286A84 002839E4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80286A88 002839E8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80286A8C 002839EC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80286A90 002839F0 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80286A94 002839F4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80286A98 002839F8 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80286A9C 002839FC F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80286AA0 00283A00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80286AA4 00283A04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80286AA8 00283A08 7C 7E 1B 78 */ mr r30, r3 +/* 80286AAC 00283A0C 7C 9F 23 78 */ mr r31, r4 +/* 80286AB0 00283A10 80 03 03 04 */ lwz r0, 0x304(r3) +/* 80286AB4 00283A14 2C 00 00 01 */ cmpwi r0, 1 +/* 80286AB8 00283A18 41 82 00 0C */ beq lbl_80286AC4 +/* 80286ABC 00283A1C 2C 00 00 05 */ cmpwi r0, 5 +/* 80286AC0 00283A20 40 82 00 0C */ bne lbl_80286ACC +lbl_80286AC4: +/* 80286AC4 00283A24 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286AC8 00283A28 48 00 01 58 */ b lbl_80286C20 +lbl_80286ACC: +/* 80286ACC 00283A2C 4B D9 37 49 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286AD0 00283A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286AD4 00283A34 41 82 00 0C */ beq lbl_80286AE0 +/* 80286AD8 00283A38 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286ADC 00283A3C 48 00 01 44 */ b lbl_80286C20 +lbl_80286AE0: +/* 80286AE0 00283A40 7F E4 FB 78 */ mr r4, r31 +/* 80286AE4 00283A44 38 60 00 02 */ li r3, 2 +/* 80286AE8 00283A48 4B D8 5E 31 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286AEC 00283A4C FF C0 08 90 */ fmr f30, f1 +/* 80286AF0 00283A50 7F E4 FB 78 */ mr r4, r31 +/* 80286AF4 00283A54 38 60 00 03 */ li r3, 3 +/* 80286AF8 00283A58 4B D8 5E 21 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286AFC 00283A5C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286B00 00283A60 FF A0 08 90 */ fmr f29, f1 +/* 80286B04 00283A64 88 63 02 28 */ lbz r3, 0x228(r3) +/* 80286B08 00283A68 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80286B0C 00283A6C 41 82 00 54 */ beq lbl_80286B60 +/* 80286B10 00283A70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80286B14 00283A74 41 82 00 14 */ beq lbl_80286B28 +/* 80286B18 00283A78 41 82 00 98 */ beq lbl_80286BB0 +/* 80286B1C 00283A7C 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286B20 00283A80 28 00 00 00 */ cmplwi r0, 0 +/* 80286B24 00283A84 41 82 00 8C */ beq lbl_80286BB0 +lbl_80286B28: +/* 80286B28 00283A88 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286B2C 00283A8C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80286B30 00283A90 40 80 00 80 */ bge lbl_80286BB0 +/* 80286B34 00283A94 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80286B38 00283A98 40 80 00 78 */ bge lbl_80286BB0 +/* 80286B3C 00283A9C 7F E4 FB 78 */ mr r4, r31 +/* 80286B40 00283AA0 38 60 00 06 */ li r3, 6 +/* 80286B44 00283AA4 4B D8 5D D5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B48 00283AA8 FF C0 08 90 */ fmr f30, f1 +/* 80286B4C 00283AAC 7F E4 FB 78 */ mr r4, r31 +/* 80286B50 00283AB0 38 60 00 07 */ li r3, 7 +/* 80286B54 00283AB4 4B D8 5D C5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B58 00283AB8 FF A0 08 90 */ fmr f29, f1 +/* 80286B5C 00283ABC 48 00 00 54 */ b lbl_80286BB0 +lbl_80286B60: +/* 80286B60 00283AC0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80286B64 00283AC4 41 82 00 14 */ beq lbl_80286B78 +/* 80286B68 00283AC8 41 82 00 48 */ beq lbl_80286BB0 +/* 80286B6C 00283ACC 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286B70 00283AD0 28 00 00 00 */ cmplwi r0, 0 +/* 80286B74 00283AD4 41 82 00 3C */ beq lbl_80286BB0 +lbl_80286B78: +/* 80286B78 00283AD8 7F E4 FB 78 */ mr r4, r31 +/* 80286B7C 00283ADC 38 60 00 06 */ li r3, 6 +/* 80286B80 00283AE0 4B D8 5D 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B84 00283AE4 FF E0 08 90 */ fmr f31, f1 +/* 80286B88 00283AE8 7F E4 FB 78 */ mr r4, r31 +/* 80286B8C 00283AEC 38 60 00 07 */ li r3, 7 +/* 80286B90 00283AF0 4B D8 5D 89 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286B94 00283AF4 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80286B98 00283AF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80286B9C 00283AFC 41 81 00 0C */ bgt lbl_80286BA8 +/* 80286BA0 00283B00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286BA4 00283B04 40 81 00 0C */ ble lbl_80286BB0 +lbl_80286BA8: +/* 80286BA8 00283B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286BAC 00283B0C 48 00 00 74 */ b lbl_80286C20 +lbl_80286BB0: +/* 80286BB0 00283B10 C0 3E 03 2C */ lfs f1, 0x32c(r30) +/* 80286BB4 00283B14 EF BE E8 28 */ fsubs f29, f30, f29 +/* 80286BB8 00283B18 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286BBC 00283B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286BC0 00283B20 40 81 00 38 */ ble lbl_80286BF8 +/* 80286BC4 00283B24 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) +/* 80286BC8 00283B28 38 81 00 08 */ addi r4, r1, 8 +/* 80286BCC 00283B2C 38 6D 99 68 */ addi r3, r13, lbl_805A8528@sda21 +/* 80286BD0 00283B30 38 AD 99 6C */ addi r5, r13, lbl_805A852C@sda21 +/* 80286BD4 00283B34 C0 06 01 80 */ lfs f0, 0x180(r6) +/* 80286BD8 00283B38 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80286BDC 00283B3C D0 01 00 08 */ stfs f0, 8(r1) +/* 80286BE0 00283B40 4B D8 56 D5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80286BE4 00283B44 C0 43 00 00 */ lfs f2, 0(r3) +/* 80286BE8 00283B48 C0 22 BD 7C */ lfs f1, lbl_805ADA9C@sda21(r2) +/* 80286BEC 00283B4C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80286BF0 00283B50 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 +/* 80286BF4 00283B54 EF BD 00 32 */ fmuls f29, f29, f0 +lbl_80286BF8: +/* 80286BF8 00283B58 FC 20 EA 10 */ fabs f1, f29 +/* 80286BFC 00283B5C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286C00 00283B60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286C04 00283B64 40 81 00 18 */ ble lbl_80286C1C +/* 80286C08 00283B68 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286C0C 00283B6C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286C10 00283B70 FC 1D 00 6E */ fsel f0, f29, f1, f0 +/* 80286C14 00283B74 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80286C18 00283B78 48 00 00 08 */ b lbl_80286C20 +lbl_80286C1C: +/* 80286C1C 00283B7C FC 20 E8 90 */ fmr f1, f29 +lbl_80286C20: +/* 80286C20 00283B80 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80286C24 00283B84 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80286C28 00283B88 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80286C2C 00283B8C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80286C30 00283B90 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80286C34 00283B94 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80286C38 00283B98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80286C3C 00283B9C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80286C40 00283BA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80286C44 00283BA4 7C 08 03 A6 */ mtlr r0 +/* 80286C48 00283BA8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80286C4C 00283BAC 4E 80 00 20 */ blr + +.global StrafeInput__7CPlayerCFRC11CFinalInput +StrafeInput__7CPlayerCFRC11CFinalInput: +/* 80286C50 00283BB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80286C54 00283BB4 7C 08 02 A6 */ mflr r0 +/* 80286C58 00283BB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80286C5C 00283BBC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80286C60 00283BC0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80286C64 00283BC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80286C68 00283BC8 93 C1 00 08 */ stw r30, 8(r1) +/* 80286C6C 00283BCC 7C 7E 1B 78 */ mr r30, r3 +/* 80286C70 00283BD0 7C 9F 23 78 */ mr r31, r4 +/* 80286C74 00283BD4 4B D9 35 A1 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80286C78 00283BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286C7C 00283BDC 40 82 00 10 */ bne lbl_80286C8C +/* 80286C80 00283BE0 80 1E 03 04 */ lwz r0, 0x304(r30) +/* 80286C84 00283BE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80286C88 00283BE8 40 82 00 0C */ bne lbl_80286C94 +lbl_80286C8C: +/* 80286C8C 00283BEC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286C90 00283BF0 48 00 00 24 */ b lbl_80286CB4 +lbl_80286C94: +/* 80286C94 00283BF4 7F E4 FB 78 */ mr r4, r31 +/* 80286C98 00283BF8 38 60 00 04 */ li r3, 4 +/* 80286C9C 00283BFC 4B D8 5C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286CA0 00283C00 FF E0 08 90 */ fmr f31, f1 +/* 80286CA4 00283C04 7F E4 FB 78 */ mr r4, r31 +/* 80286CA8 00283C08 38 60 00 05 */ li r3, 5 +/* 80286CAC 00283C0C 4B D8 5C 6D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286CB0 00283C10 EC 21 F8 28 */ fsubs f1, f1, f31 +lbl_80286CB4: +/* 80286CB4 00283C14 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80286CB8 00283C18 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80286CBC 00283C1C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80286CC0 00283C20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80286CC4 00283C24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80286CC8 00283C28 7C 08 03 A6 */ mtlr r0 +/* 80286CCC 00283C2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80286CD0 00283C30 4E 80 00 20 */ blr + +.global ForwardInput__7CPlayerCFRC11CFinalInputf +ForwardInput__7CPlayerCFRC11CFinalInputf: +/* 80286CD4 00283C34 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80286CD8 00283C38 7C 08 02 A6 */ mflr r0 +/* 80286CDC 00283C3C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80286CE0 00283C40 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80286CE4 00283C44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80286CE8 00283C48 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80286CEC 00283C4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80286CF0 00283C50 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80286CF4 00283C54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80286CF8 00283C58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80286CFC 00283C5C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80286D00 00283C60 FF A0 08 90 */ fmr f29, f1 +/* 80286D04 00283C64 7C 7E 1B 78 */ mr r30, r3 +/* 80286D08 00283C68 7C 9F 23 78 */ mr r31, r4 +/* 80286D0C 00283C6C 38 60 00 00 */ li r3, 0 +/* 80286D10 00283C70 4B D8 5C 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286D14 00283C74 FF E0 08 90 */ fmr f31, f1 +/* 80286D18 00283C78 7F E4 FB 78 */ mr r4, r31 +/* 80286D1C 00283C7C 38 60 00 01 */ li r3, 1 +/* 80286D20 00283C80 4B D8 5B F9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80286D24 00283C84 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80286D28 00283C88 FF C0 08 90 */ fmr f30, f1 +/* 80286D2C 00283C8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80286D30 00283C90 40 82 00 14 */ bne lbl_80286D44 +/* 80286D34 00283C94 7F C3 F3 78 */ mr r3, r30 +/* 80286D38 00283C98 4B EF 45 71 */ bl InGrappleJumpCooldown__7CPlayerCFv +/* 80286D3C 00283C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286D40 00283CA0 41 82 00 08 */ beq lbl_80286D48 +lbl_80286D44: +/* 80286D44 00283CA4 C3 C2 BD A0 */ lfs f30, lbl_805ADAC0@sda21(r2) +lbl_80286D48: +/* 80286D48 00283CA8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) +/* 80286D4C 00283CAC 2C 03 00 02 */ cmpwi r3, 2 +/* 80286D50 00283CB0 40 82 00 14 */ bne lbl_80286D64 +/* 80286D54 00283CB4 80 1E 05 84 */ lwz r0, 0x584(r30) +/* 80286D58 00283CB8 28 00 00 02 */ cmplwi r0, 2 +/* 80286D5C 00283CBC 40 82 00 08 */ bne lbl_80286D64 +/* 80286D60 00283CC0 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) +lbl_80286D64: +/* 80286D64 00283CC4 2C 03 00 03 */ cmpwi r3, 3 +/* 80286D68 00283CC8 40 82 00 14 */ bne lbl_80286D7C +/* 80286D6C 00283CCC 80 1E 05 84 */ lwz r0, 0x584(r30) +/* 80286D70 00283CD0 28 00 00 05 */ cmplwi r0, 5 +/* 80286D74 00283CD4 40 82 00 08 */ bne lbl_80286D7C +/* 80286D78 00283CD8 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) +lbl_80286D7C: +/* 80286D7C 00283CDC C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) +/* 80286D80 00283CE0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80286D84 00283CE4 41 80 00 88 */ blt lbl_80286E0C +/* 80286D88 00283CE8 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) +/* 80286D8C 00283CEC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286D90 00283CF0 EF FF 08 24 */ fdivs f31, f31, f1 +/* 80286D94 00283CF4 FC 20 FA 10 */ fabs f1, f31 +/* 80286D98 00283CF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286D9C 00283CFC 40 81 00 14 */ ble lbl_80286DB0 +/* 80286DA0 00283D00 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286DA4 00283D04 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286DA8 00283D08 FC 1F 00 6E */ fsel f0, f31, f1, f0 +/* 80286DAC 00283D0C EF E1 00 32 */ fmuls f31, f1, f0 +lbl_80286DB0: +/* 80286DB0 00283D10 FC 00 EA 10 */ fabs f0, f29 +/* 80286DB4 00283D14 FC 40 F8 90 */ fmr f2, f31 +/* 80286DB8 00283D18 FC 20 00 18 */ frsp f1, f0 +/* 80286DBC 00283D1C 48 10 DE B1 */ bl atan2 +/* 80286DC0 00283D20 FC 20 08 18 */ frsp f1, f1 +/* 80286DC4 00283D24 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) +/* 80286DC8 00283D28 FC 20 0A 10 */ fabs f1, f1 +/* 80286DCC 00283D2C FC 20 08 18 */ frsp f1, f1 +/* 80286DD0 00283D30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286DD4 00283D34 40 80 00 38 */ bge lbl_80286E0C +/* 80286DD8 00283D38 FC 20 EA 10 */ fabs f1, f29 +/* 80286DDC 00283D3C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286DE0 00283D40 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 80286DE4 00283D44 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286DE8 00283D48 FC 20 08 18 */ frsp f1, f1 +/* 80286DEC 00283D4C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80286DF0 00283D50 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80286DF4 00283D54 48 08 D9 05 */ bl CanBeNormalized__9CVector3fCFv +/* 80286DF8 00283D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286DFC 00283D5C 41 82 00 10 */ beq lbl_80286E0C +/* 80286E00 00283D60 38 61 00 20 */ addi r3, r1, 0x20 +/* 80286E04 00283D64 48 08 DA B5 */ bl Magnitude__9CVector3fCFv +/* 80286E08 00283D68 FF E0 08 90 */ fmr f31, f1 +lbl_80286E0C: +/* 80286E0C 00283D6C C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) +/* 80286E10 00283D70 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80286E14 00283D74 41 80 00 88 */ blt lbl_80286E9C +/* 80286E18 00283D78 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) +/* 80286E1C 00283D7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286E20 00283D80 EF DE 08 24 */ fdivs f30, f30, f1 +/* 80286E24 00283D84 FC 20 F2 10 */ fabs f1, f30 +/* 80286E28 00283D88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286E2C 00283D8C 40 81 00 14 */ ble lbl_80286E40 +/* 80286E30 00283D90 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286E34 00283D94 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80286E38 00283D98 FC 1E 00 6E */ fsel f0, f30, f1, f0 +/* 80286E3C 00283D9C EF C1 00 32 */ fmuls f30, f1, f0 +lbl_80286E40: +/* 80286E40 00283DA0 FC 00 EA 10 */ fabs f0, f29 +/* 80286E44 00283DA4 FC 40 F0 90 */ fmr f2, f30 +/* 80286E48 00283DA8 FC 20 00 18 */ frsp f1, f0 +/* 80286E4C 00283DAC 48 10 DE 21 */ bl atan2 +/* 80286E50 00283DB0 FC 20 08 18 */ frsp f1, f1 +/* 80286E54 00283DB4 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) +/* 80286E58 00283DB8 FC 20 0A 10 */ fabs f1, f1 +/* 80286E5C 00283DBC FC 20 08 18 */ frsp f1, f1 +/* 80286E60 00283DC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286E64 00283DC4 40 80 00 38 */ bge lbl_80286E9C +/* 80286E68 00283DC8 FC 20 EA 10 */ fabs f1, f29 +/* 80286E6C 00283DCC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286E70 00283DD0 D3 C1 00 18 */ stfs f30, 0x18(r1) +/* 80286E74 00283DD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286E78 00283DD8 FC 20 08 18 */ frsp f1, f1 +/* 80286E7C 00283DDC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80286E80 00283DE0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80286E84 00283DE4 48 08 D8 75 */ bl CanBeNormalized__9CVector3fCFv +/* 80286E88 00283DE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80286E8C 00283DEC 41 82 00 10 */ beq lbl_80286E9C +/* 80286E90 00283DF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80286E94 00283DF4 48 08 DA 25 */ bl Magnitude__9CVector3fCFv +/* 80286E98 00283DF8 FF C0 08 90 */ fmr f30, f1 +lbl_80286E9C: +/* 80286E9C 00283DFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286EA0 00283E00 88 03 02 28 */ lbz r0, 0x228(r3) +/* 80286EA4 00283E04 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80286EA8 00283E08 40 82 00 70 */ bne lbl_80286F18 +/* 80286EAC 00283E0C C0 1E 01 40 */ lfs f0, 0x140(r30) +/* 80286EB0 00283E10 88 1E 03 DC */ lbz r0, 0x3dc(r30) +/* 80286EB4 00283E14 C0 5E 01 38 */ lfs f2, 0x138(r30) +/* 80286EB8 00283E18 C0 3E 01 3C */ lfs f1, 0x13c(r30) +/* 80286EBC 00283E1C 28 00 00 00 */ cmplwi r0, 0 +/* 80286EC0 00283E20 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80286EC4 00283E24 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80286EC8 00283E28 D0 41 00 08 */ stfs f2, 8(r1) +/* 80286ECC 00283E2C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80286ED0 00283E30 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80286ED4 00283E34 40 82 00 10 */ bne lbl_80286EE4 +/* 80286ED8 00283E38 88 1E 03 DD */ lbz r0, 0x3dd(r30) +/* 80286EDC 00283E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80286EE0 00283E40 41 82 00 38 */ beq lbl_80286F18 +lbl_80286EE4: +/* 80286EE4 00283E44 80 1E 02 58 */ lwz r0, 0x258(r30) +/* 80286EE8 00283E48 2C 00 00 00 */ cmpwi r0, 0 +/* 80286EEC 00283E4C 41 82 00 24 */ beq lbl_80286F10 +/* 80286EF0 00283E50 38 61 00 08 */ addi r3, r1, 8 +/* 80286EF4 00283E54 48 08 D9 C5 */ bl Magnitude__9CVector3fCFv +/* 80286EF8 00283E58 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 80286EFC 00283E5C C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 80286F00 00283E60 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80286F04 00283E64 FC 20 0A 10 */ fabs f1, f1 +/* 80286F08 00283E68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80286F0C 00283E6C 40 80 00 0C */ bge lbl_80286F18 +lbl_80286F10: +/* 80286F10 00283E70 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80286F14 00283E74 48 00 00 30 */ b lbl_80286F44 +lbl_80286F18: +/* 80286F18 00283E78 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80286F1C 00283E7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80286F20 00283E80 C0 23 01 18 */ lfs f1, 0x118(r3) +/* 80286F24 00283E84 EC 3E F8 7C */ fnmsubs f1, f30, f1, f31 +/* 80286F28 00283E88 FC 40 0A 10 */ fabs f2, f1 +/* 80286F2C 00283E8C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80286F30 00283E90 40 81 00 14 */ ble lbl_80286F44 +/* 80286F34 00283E94 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80286F38 00283E98 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) +/* 80286F3C 00283E9C FC 01 00 AE */ fsel f0, f1, f2, f0 +/* 80286F40 00283EA0 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_80286F44: +/* 80286F44 00283EA4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80286F48 00283EA8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80286F4C 00283EAC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80286F50 00283EB0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80286F54 00283EB4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80286F58 00283EB8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80286F5C 00283EBC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80286F60 00283EC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80286F64 00283EC4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80286F68 00283EC8 7C 08 03 A6 */ mtlr r0 +/* 80286F6C 00283ECC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80286F70 00283ED0 4E 80 00 20 */ blr + +.global ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf +ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf: +/* 80286F74 00283ED4 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80286F78 00283ED8 7C 08 02 A6 */ mflr r0 +/* 80286F7C 00283EDC 90 01 01 64 */ stw r0, 0x164(r1) +/* 80286F80 00283EE0 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80286F84 00283EE4 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 80286F88 00283EE8 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 80286F8C 00283EEC F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 80286F90 00283EF0 DB A1 01 30 */ stfd f29, 0x130(r1) +/* 80286F94 00283EF4 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 80286F98 00283EF8 DB 81 01 20 */ stfd f28, 0x120(r1) +/* 80286F9C 00283EFC F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 +/* 80286FA0 00283F00 DB 61 01 10 */ stfd f27, 0x110(r1) +/* 80286FA4 00283F04 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 +/* 80286FA8 00283F08 DB 41 01 00 */ stfd f26, 0x100(r1) +/* 80286FAC 00283F0C F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 +/* 80286FB0 00283F10 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80286FB4 00283F14 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80286FB8 00283F18 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 80286FBC 00283F1C 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 80286FC0 00283F20 FF 60 08 90 */ fmr f27, f1 +/* 80286FC4 00283F24 7C 7D 1B 78 */ mr r29, r3 +/* 80286FC8 00283F28 7C 9E 23 78 */ mr r30, r4 +/* 80286FCC 00283F2C 7C BF 2B 78 */ mr r31, r5 +/* 80286FD0 00283F30 4B FF F7 1D */ bl JumpInput__7CPlayerFRC11CFinalInputR13CStateManager +/* 80286FD4 00283F34 FF A0 08 90 */ fmr f29, f1 +/* 80286FD8 00283F38 7F A3 EB 78 */ mr r3, r29 +/* 80286FDC 00283F3C 7F C4 F3 78 */ mr r4, r30 +/* 80286FE0 00283F40 4B FF FA 9D */ bl TurnInput__7CPlayerCFRC11CFinalInput +/* 80286FE4 00283F44 FF C0 08 90 */ fmr f30, f1 +/* 80286FE8 00283F48 7F A3 EB 78 */ mr r3, r29 +/* 80286FEC 00283F4C 7F C4 F3 78 */ mr r4, r30 +/* 80286FF0 00283F50 4B FF FC E5 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf +/* 80286FF4 00283F54 FF E0 08 90 */ fmr f31, f1 +/* 80286FF8 00283F58 7F A4 EB 78 */ mr r4, r29 +/* 80286FFC 00283F5C 38 61 00 AC */ addi r3, r1, 0xac +/* 80287000 00283F60 48 00 14 F1 */ bl GetDampedClampedVelocityWR__7CPlayerCFv +/* 80287004 00283F64 7F A3 EB 78 */ mr r3, r29 +/* 80287008 00283F68 38 81 00 AC */ addi r4, r1, 0xac +/* 8028700C 00283F6C 4B E9 3C 95 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80287010 00283F70 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 80287014 00283F74 88 64 02 28 */ lbz r3, 0x228(r4) +/* 80287018 00283F78 C3 84 01 28 */ lfs f28, 0x128(r4) +/* 8028701C 00283F7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287020 00283F80 41 82 00 20 */ beq lbl_80287040 +/* 80287024 00283F84 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80287028 00283F88 41 82 00 14 */ beq lbl_8028703C +/* 8028702C 00283F8C 41 82 00 14 */ beq lbl_80287040 +/* 80287030 00283F90 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287034 00283F94 28 00 00 00 */ cmplwi r0, 0 +/* 80287038 00283F98 41 82 00 08 */ beq lbl_80287040 +lbl_8028703C: +/* 8028703C 00283F9C C3 84 01 2C */ lfs f28, 0x12c(r4) +lbl_80287040: +/* 80287040 00283FA0 80 7D 03 04 */ lwz r3, 0x304(r29) +/* 80287044 00283FA4 2C 03 00 00 */ cmpwi r3, 0 +/* 80287048 00283FA8 41 82 00 20 */ beq lbl_80287068 +/* 8028704C 00283FAC 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287050 00283FB0 28 00 00 00 */ cmplwi r0, 0 +/* 80287054 00283FB4 41 82 02 38 */ beq lbl_8028728C +/* 80287058 00283FB8 2C 03 00 01 */ cmpwi r3, 1 +/* 8028705C 00283FBC 41 82 02 30 */ beq lbl_8028728C +/* 80287060 00283FC0 2C 03 00 05 */ cmpwi r3, 5 +/* 80287064 00283FC4 41 82 02 28 */ beq lbl_8028728C +lbl_80287068: +/* 80287068 00283FC8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 8028706C 00283FCC C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 80287070 00283FD0 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 80287074 00283FD4 FC 20 0A 10 */ fabs f1, f1 +/* 80287078 00283FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028707C 00283FDC 40 80 00 84 */ bge lbl_80287100 +/* 80287080 00283FE0 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287084 00283FE4 2C 00 00 02 */ cmpwi r0, 2 +/* 80287088 00283FE8 40 82 00 0C */ bne lbl_80287094 +/* 8028708C 00283FEC 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287090 00283FF0 48 00 00 08 */ b lbl_80287098 +lbl_80287094: +/* 80287094 00283FF4 38 00 00 04 */ li r0, 4 +lbl_80287098: +/* 80287098 00283FF8 2C 00 00 00 */ cmpwi r0, 0 +/* 8028709C 00283FFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802870A0 00284000 41 80 00 0C */ blt lbl_802870AC +/* 802870A4 00284004 2C 00 00 07 */ cmpwi r0, 7 +/* 802870A8 00284008 40 81 00 08 */ ble lbl_802870B0 +lbl_802870AC: +/* 802870AC 0028400C 38 00 00 00 */ li r0, 0 +lbl_802870B0: +/* 802870B0 00284010 54 00 10 3A */ slwi r0, r0, 2 +/* 802870B4 00284014 7F A4 EB 78 */ mr r4, r29 +/* 802870B8 00284018 7C A3 02 14 */ add r5, r3, r0 +/* 802870BC 0028401C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802870C0 00284020 C3 45 00 64 */ lfs f26, 0x64(r5) +/* 802870C4 00284024 4B E9 3A E1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802870C8 00284028 38 61 00 88 */ addi r3, r1, 0x88 +/* 802870CC 0028402C 4B D9 44 65 */ bl GetVector__10CAxisAngleCFv +/* 802870D0 00284030 C0 03 00 08 */ lfs f0, 8(r3) +/* 802870D4 00284034 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802870D8 00284038 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802870DC 0028403C 38 81 00 94 */ addi r4, r1, 0x94 +/* 802870E0 00284040 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802870E4 00284044 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 802870E8 00284048 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 802870EC 0028404C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802870F0 00284050 4B D9 44 95 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 802870F4 00284054 7F A3 EB 78 */ mr r3, r29 +/* 802870F8 00284058 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802870FC 0028405C 4B E9 39 E1 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +lbl_80287100: +/* 80287100 00284060 7F A4 EB 78 */ mr r4, r29 +/* 80287104 00284064 38 61 00 7C */ addi r3, r1, 0x7c +/* 80287108 00284068 4B E9 3A 9D */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 8028710C 0028406C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80287110 00284070 4B D9 44 21 */ bl GetVector__10CAxisAngleCFv +/* 80287114 00284074 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 80287118 00284078 C0 23 00 08 */ lfs f1, 8(r3) +/* 8028711C 0028407C 2C 04 00 02 */ cmpwi r4, 2 +/* 80287120 00284080 40 82 00 0C */ bne lbl_8028712C +/* 80287124 00284084 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287128 00284088 48 00 00 08 */ b lbl_80287130 +lbl_8028712C: +/* 8028712C 0028408C 38 00 00 04 */ li r0, 4 +lbl_80287130: +/* 80287130 00284090 2C 00 00 00 */ cmpwi r0, 0 +/* 80287134 00284094 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 80287138 00284098 41 80 00 0C */ blt lbl_80287144 +/* 8028713C 0028409C 2C 00 00 07 */ cmpwi r0, 7 +/* 80287140 002840A0 40 81 00 08 */ ble lbl_80287148 +lbl_80287144: +/* 80287144 002840A4 38 00 00 00 */ li r0, 0 +lbl_80287148: +/* 80287148 002840A8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028714C 002840AC 7C 65 02 14 */ add r3, r5, r0 +/* 80287150 002840B0 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 80287154 002840B4 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287158 002840B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028715C 002840BC 40 81 00 68 */ ble lbl_802871C4 +/* 80287160 002840C0 2C 04 00 02 */ cmpwi r4, 2 +/* 80287164 002840C4 40 82 00 0C */ bne lbl_80287170 +/* 80287168 002840C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028716C 002840CC 48 00 00 08 */ b lbl_80287174 +lbl_80287170: +/* 80287170 002840D0 38 00 00 04 */ li r0, 4 +lbl_80287174: +/* 80287174 002840D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287178 002840D8 41 80 00 0C */ blt lbl_80287184 +/* 8028717C 002840DC 2C 00 00 07 */ cmpwi r0, 7 +/* 80287180 002840E0 40 81 00 08 */ ble lbl_80287188 +lbl_80287184: +/* 80287184 002840E4 38 00 00 00 */ li r0, 0 +lbl_80287188: +/* 80287188 002840E8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028718C 002840EC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287190 002840F0 7C 85 02 14 */ add r4, r5, r0 +/* 80287194 002840F4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80287198 002840F8 C0 24 00 84 */ lfs f1, 0x84(r4) +/* 8028719C 002840FC 38 81 00 64 */ addi r4, r1, 0x64 +/* 802871A0 00284100 EC 3C 00 72 */ fmuls f1, f28, f1 +/* 802871A4 00284104 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802871A8 00284108 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802871AC 0028410C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802871B0 00284110 4B D9 43 D5 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 802871B4 00284114 7F A3 EB 78 */ mr r3, r29 +/* 802871B8 00284118 38 81 00 70 */ addi r4, r1, 0x70 +/* 802871BC 0028411C 4B E9 39 21 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +/* 802871C0 00284120 48 00 00 CC */ b lbl_8028728C +lbl_802871C4: +/* 802871C4 00284124 7F A4 EB 78 */ mr r4, r29 +/* 802871C8 00284128 38 61 00 58 */ addi r3, r1, 0x58 +/* 802871CC 0028412C 4B E9 39 D9 */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802871D0 00284130 38 61 00 58 */ addi r3, r1, 0x58 +/* 802871D4 00284134 4B D9 43 5D */ bl GetVector__10CAxisAngleCFv +/* 802871D8 00284138 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 802871DC 0028413C C0 03 00 08 */ lfs f0, 8(r3) +/* 802871E0 00284140 2C 04 00 02 */ cmpwi r4, 2 +/* 802871E4 00284144 40 82 00 0C */ bne lbl_802871F0 +/* 802871E8 00284148 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 802871EC 0028414C 48 00 00 08 */ b lbl_802871F4 +lbl_802871F0: +/* 802871F0 00284150 38 00 00 04 */ li r0, 4 +lbl_802871F4: +/* 802871F4 00284154 2C 00 00 00 */ cmpwi r0, 0 +/* 802871F8 00284158 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 802871FC 0028415C 41 80 00 0C */ blt lbl_80287208 +/* 80287200 00284160 2C 00 00 07 */ cmpwi r0, 7 +/* 80287204 00284164 40 81 00 08 */ ble lbl_8028720C +lbl_80287208: +/* 80287208 00284168 38 00 00 00 */ li r0, 0 +lbl_8028720C: +/* 8028720C 0028416C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287210 00284170 FC 20 00 50 */ fneg f1, f0 +/* 80287214 00284174 7C 65 02 14 */ add r3, r5, r0 +/* 80287218 00284178 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8028721C 0028417C EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287220 00284180 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287224 00284184 40 81 00 68 */ ble lbl_8028728C +/* 80287228 00284188 2C 04 00 02 */ cmpwi r4, 2 +/* 8028722C 0028418C 40 82 00 0C */ bne lbl_80287238 +/* 80287230 00284190 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287234 00284194 48 00 00 08 */ b lbl_8028723C +lbl_80287238: +/* 80287238 00284198 38 00 00 04 */ li r0, 4 +lbl_8028723C: +/* 8028723C 0028419C 2C 00 00 00 */ cmpwi r0, 0 +/* 80287240 002841A0 41 80 00 0C */ blt lbl_8028724C +/* 80287244 002841A4 2C 00 00 07 */ cmpwi r0, 7 +/* 80287248 002841A8 40 81 00 08 */ ble lbl_80287250 +lbl_8028724C: +/* 8028724C 002841AC 38 00 00 00 */ li r0, 0 +lbl_80287250: +/* 80287250 002841B0 54 00 10 3A */ slwi r0, r0, 2 +/* 80287254 002841B4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287258 002841B8 7C 85 02 14 */ add r4, r5, r0 +/* 8028725C 002841BC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80287260 002841C0 C0 24 00 84 */ lfs f1, 0x84(r4) +/* 80287264 002841C4 38 81 00 40 */ addi r4, r1, 0x40 +/* 80287268 002841C8 FC 20 08 50 */ fneg f1, f1 +/* 8028726C 002841CC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80287270 002841D0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80287274 002841D4 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 80287278 002841D8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8028727C 002841DC 4B D9 43 09 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 80287280 002841E0 7F A3 EB 78 */ mr r3, r29 +/* 80287284 002841E4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80287288 002841E8 4B E9 38 55 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +lbl_8028728C: +/* 8028728C 002841EC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287290 002841F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80287294 002841F4 40 82 00 0C */ bne lbl_802872A0 +/* 80287298 002841F8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028729C 002841FC 48 00 00 08 */ b lbl_802872A4 +lbl_802872A0: +/* 802872A0 00284200 38 00 00 04 */ li r0, 4 +lbl_802872A4: +/* 802872A4 00284204 2C 00 00 00 */ cmpwi r0, 0 +/* 802872A8 00284208 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802872AC 0028420C 41 80 00 0C */ blt lbl_802872B8 +/* 802872B0 00284210 2C 00 00 07 */ cmpwi r0, 7 +/* 802872B4 00284214 40 81 00 08 */ ble lbl_802872BC +lbl_802872B8: +/* 802872B8 00284218 38 00 00 00 */ li r0, 0 +lbl_802872BC: +/* 802872BC 0028421C 54 00 10 3A */ slwi r0, r0, 2 +/* 802872C0 00284220 7F A4 EB 78 */ mr r4, r29 +/* 802872C4 00284224 7C A3 02 14 */ add r5, r3, r0 +/* 802872C8 00284228 38 61 00 34 */ addi r3, r1, 0x34 +/* 802872CC 0028422C C0 05 00 84 */ lfs f0, 0x84(r5) +/* 802872D0 00284230 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 802872D4 00284234 EF 5C 00 32 */ fmuls f26, f28, f0 +/* 802872D8 00284238 4B E9 38 CD */ bl GetAngularVelocityOR__13CPhysicsActorCFv +/* 802872DC 0028423C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802872E0 00284240 4B D9 42 51 */ bl GetVector__10CAxisAngleCFv +/* 802872E4 00284244 C0 03 00 08 */ lfs f0, 8(r3) +/* 802872E8 00284248 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 802872EC 0028424C EF 5A 00 28 */ fsubs f26, f26, f0 +/* 802872F0 00284250 2C 00 00 02 */ cmpwi r0, 2 +/* 802872F4 00284254 FC 00 D2 10 */ fabs f0, f26 +/* 802872F8 00284258 FC 20 00 18 */ frsp f1, f0 +/* 802872FC 0028425C 40 82 00 0C */ bne lbl_80287308 +/* 80287300 00284260 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287304 00284264 48 00 00 08 */ b lbl_8028730C +lbl_80287308: +/* 80287308 00284268 38 00 00 04 */ li r0, 4 +lbl_8028730C: +/* 8028730C 0028426C 2C 00 00 00 */ cmpwi r0, 0 +/* 80287310 00284270 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287314 00284274 41 80 00 0C */ blt lbl_80287320 +/* 80287318 00284278 2C 00 00 07 */ cmpwi r0, 7 +/* 8028731C 0028427C 40 81 00 08 */ ble lbl_80287324 +lbl_80287320: +/* 80287320 00284280 38 00 00 00 */ li r0, 0 +lbl_80287324: +/* 80287324 00284284 54 00 10 3A */ slwi r0, r0, 2 +/* 80287328 00284288 38 81 00 0C */ addi r4, r1, 0xc +/* 8028732C 0028428C 7C A3 02 14 */ add r5, r3, r0 +/* 80287330 00284290 38 6D 99 54 */ addi r3, r13, lbl_805A8514@sda21 +/* 80287334 00284294 C0 05 00 84 */ lfs f0, 0x84(r5) +/* 80287338 00284298 38 AD 99 58 */ addi r5, r13, lbl_805A8518@sda21 +/* 8028733C 0028429C EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80287340 002842A0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80287344 002842A4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80287348 002842A8 4B D8 4F 6D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8028734C 002842AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287350 002842B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80287354 002842B4 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 80287358 002842B8 40 80 00 4C */ bge lbl_802873A4 +/* 8028735C 002842BC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 80287360 002842C0 2C 00 00 02 */ cmpwi r0, 2 +/* 80287364 002842C4 40 82 00 0C */ bne lbl_80287370 +/* 80287368 002842C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028736C 002842CC 48 00 00 08 */ b lbl_80287374 +lbl_80287370: +/* 80287370 002842D0 38 00 00 04 */ li r0, 4 +lbl_80287374: +/* 80287374 002842D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287378 002842D8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028737C 002842DC 41 80 00 0C */ blt lbl_80287388 +/* 80287380 002842E0 2C 00 00 07 */ cmpwi r0, 7 +/* 80287384 002842E4 40 81 00 08 */ ble lbl_8028738C +lbl_80287388: +/* 80287388 002842E8 38 00 00 00 */ li r0, 0 +lbl_8028738C: +/* 8028738C 002842EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80287390 002842F0 7C 63 02 14 */ add r3, r3, r0 +/* 80287394 002842F4 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80287398 002842F8 FC 00 00 50 */ fneg f0, f0 +/* 8028739C 002842FC EF C1 00 32 */ fmuls f30, f1, f0 +/* 802873A0 00284300 48 00 00 44 */ b lbl_802873E4 +lbl_802873A4: +/* 802873A4 00284304 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 802873A8 00284308 2C 00 00 02 */ cmpwi r0, 2 +/* 802873AC 0028430C 40 82 00 0C */ bne lbl_802873B8 +/* 802873B0 00284310 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 802873B4 00284314 48 00 00 08 */ b lbl_802873BC +lbl_802873B8: +/* 802873B8 00284318 38 00 00 04 */ li r0, 4 +lbl_802873BC: +/* 802873BC 0028431C 2C 00 00 00 */ cmpwi r0, 0 +/* 802873C0 00284320 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802873C4 00284324 41 80 00 0C */ blt lbl_802873D0 +/* 802873C8 00284328 2C 00 00 07 */ cmpwi r0, 7 +/* 802873CC 0028432C 40 81 00 08 */ ble lbl_802873D4 +lbl_802873D0: +/* 802873D0 00284330 38 00 00 00 */ li r0, 0 +lbl_802873D4: +/* 802873D4 00284334 54 00 10 3A */ slwi r0, r0, 2 +/* 802873D8 00284338 7C 63 02 14 */ add r3, r3, r0 +/* 802873DC 0028433C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 802873E0 00284340 EF C1 00 32 */ fmuls f30, f1, f0 +lbl_802873E4: +/* 802873E4 00284344 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802873E8 00284348 C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) +/* 802873EC 0028434C EC 22 F8 28 */ fsubs f1, f2, f31 +/* 802873F0 00284350 FC 20 0A 10 */ fabs f1, f1 +/* 802873F4 00284354 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802873F8 00284358 41 80 01 58 */ blt lbl_80287550 +/* 802873FC 0028435C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 80287400 00284360 2C 04 00 02 */ cmpwi r4, 2 +/* 80287404 00284364 40 82 00 0C */ bne lbl_80287410 +/* 80287408 00284368 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028740C 0028436C 48 00 00 08 */ b lbl_80287414 +lbl_80287410: +/* 80287410 00284370 38 00 00 04 */ li r0, 4 +lbl_80287414: +/* 80287414 00284374 2C 00 00 00 */ cmpwi r0, 0 +/* 80287418 00284378 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) +/* 8028741C 0028437C 41 80 00 0C */ blt lbl_80287428 +/* 80287420 00284380 2C 00 00 07 */ cmpwi r0, 7 +/* 80287424 00284384 40 81 00 08 */ ble lbl_8028742C +lbl_80287428: +/* 80287428 00284388 38 00 00 00 */ li r0, 0 +lbl_8028742C: +/* 8028742C 0028438C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287430 00284390 2C 04 00 02 */ cmpwi r4, 2 +/* 80287434 00284394 7C 65 02 14 */ add r3, r5, r0 +/* 80287438 00284398 C3 43 00 A4 */ lfs f26, 0xa4(r3) +/* 8028743C 0028439C 40 82 00 0C */ bne lbl_80287448 +/* 80287440 002843A0 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 80287444 002843A4 48 00 00 08 */ b lbl_8028744C +lbl_80287448: +/* 80287448 002843A8 38 00 00 04 */ li r0, 4 +lbl_8028744C: +/* 8028744C 002843AC 2C 00 00 00 */ cmpwi r0, 0 +/* 80287450 002843B0 41 80 00 0C */ blt lbl_8028745C +/* 80287454 002843B4 2C 00 00 07 */ cmpwi r0, 7 +/* 80287458 002843B8 40 81 00 08 */ ble lbl_80287460 +lbl_8028745C: +/* 8028745C 002843BC 38 00 00 00 */ li r0, 0 +lbl_80287460: +/* 80287460 002843C0 54 00 10 3A */ slwi r0, r0, 2 +/* 80287464 002843C4 2C 04 00 02 */ cmpwi r4, 2 +/* 80287468 002843C8 7C 65 02 14 */ add r3, r5, r0 +/* 8028746C 002843CC C0 5D 00 E8 */ lfs f2, 0xe8(r29) +/* 80287470 002843D0 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 80287474 002843D4 40 82 00 0C */ bne lbl_80287480 +/* 80287478 002843D8 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028747C 002843DC 48 00 00 08 */ b lbl_80287484 +lbl_80287480: +/* 80287480 002843E0 38 00 00 04 */ li r0, 4 +lbl_80287484: +/* 80287484 002843E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80287488 002843E8 41 80 00 0C */ blt lbl_80287494 +/* 8028748C 002843EC 2C 00 00 07 */ cmpwi r0, 7 +/* 80287490 002843F0 40 81 00 08 */ ble lbl_80287498 +lbl_80287494: +/* 80287494 002843F4 38 00 00 00 */ li r0, 0 +lbl_80287498: +/* 80287498 002843F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8028749C 002843FC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802874A0 00284400 7C 65 02 14 */ add r3, r5, r0 +/* 802874A4 00284404 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 802874A8 00284408 C0 23 00 04 */ lfs f1, 4(r3) +/* 802874AC 0028440C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802874B0 00284410 EC 1B 00 72 */ fmuls f0, f27, f1 +/* 802874B4 00284414 EC 22 00 24 */ fdivs f1, f2, f0 +/* 802874B8 00284418 EC 21 06 B2 */ fmuls f1, f1, f26 +/* 802874BC 0028441C EC 1A 08 28 */ fsubs f0, f26, f1 +/* 802874C0 00284420 EF 9F 00 32 */ fmuls f28, f31, f0 +/* 802874C4 00284424 40 81 00 0C */ ble lbl_802874D0 +/* 802874C8 00284428 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802874CC 0028442C 48 00 00 08 */ b lbl_802874D4 +lbl_802874D0: +/* 802874D0 00284430 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +lbl_802874D4: +/* 802874D4 00284434 EF 81 E0 3A */ fmadds f28, f1, f0, f28 +/* 802874D8 00284438 38 61 00 28 */ addi r3, r1, 0x28 +/* 802874DC 0028443C 38 9D 00 34 */ addi r4, r29, 0x34 +/* 802874E0 00284440 38 BD 01 38 */ addi r5, r29, 0x138 +/* 802874E4 00284444 48 08 B5 41 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802874E8 00284448 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802874EC 0028444C 38 81 00 08 */ addi r4, r1, 8 +/* 802874F0 00284450 38 6D 99 5C */ addi r3, r13, lbl_805A851C@sda21 +/* 802874F4 00284454 38 AD 99 60 */ addi r5, r13, lbl_805A8520@sda21 +/* 802874F8 00284458 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 802874FC 0028445C EC 00 D0 24 */ fdivs f0, f0, f26 +/* 80287500 00284460 D0 01 00 08 */ stfs f0, 8(r1) +/* 80287504 00284464 4B D8 4D B1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80287508 00284468 80 1D 02 B0 */ lwz r0, 0x2b0(r29) +/* 8028750C 0028446C C0 23 00 00 */ lfs f1, 0(r3) +/* 80287510 00284470 2C 00 00 02 */ cmpwi r0, 2 +/* 80287514 00284474 40 82 00 0C */ bne lbl_80287520 +/* 80287518 00284478 80 1D 02 AC */ lwz r0, 0x2ac(r29) +/* 8028751C 0028447C 48 00 00 08 */ b lbl_80287524 +lbl_80287520: +/* 80287520 00284480 38 00 00 04 */ li r0, 4 +lbl_80287524: +/* 80287524 00284484 2C 00 00 00 */ cmpwi r0, 0 +/* 80287528 00284488 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028752C 0028448C 41 80 00 0C */ blt lbl_80287538 +/* 80287530 00284490 2C 00 00 07 */ cmpwi r0, 7 +/* 80287534 00284494 40 81 00 08 */ ble lbl_8028753C +lbl_80287538: +/* 80287538 00284498 38 00 00 00 */ li r0, 0 +lbl_8028753C: +/* 8028753C 0028449C 54 00 10 3A */ slwi r0, r0, 2 +/* 80287540 002844A0 7C 63 02 14 */ add r3, r3, r0 +/* 80287544 002844A4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80287548 002844A8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8028754C 002844AC 48 00 00 08 */ b lbl_80287554 +lbl_80287550: +/* 80287550 002844B0 FC 20 10 90 */ fmr f1, f2 +lbl_80287554: +/* 80287554 002844B4 80 7D 03 04 */ lwz r3, 0x304(r29) +/* 80287558 002844B8 2C 03 00 00 */ cmpwi r3, 0 +/* 8028755C 002844BC 41 82 00 20 */ beq lbl_8028757C +/* 80287560 002844C0 88 02 80 E2 */ lbz r0, lbl_805A9E02@sda21(r2) +/* 80287564 002844C4 28 00 00 00 */ cmplwi r0, 0 +/* 80287568 002844C8 41 82 00 14 */ beq lbl_8028757C +/* 8028756C 002844CC 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287570 002844D0 28 00 00 00 */ cmplwi r0, 0 +/* 80287574 002844D4 41 82 00 08 */ beq lbl_8028757C +/* 80287578 002844D8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +lbl_8028757C: +/* 8028757C 002844DC 2C 03 00 00 */ cmpwi r3, 0 +/* 80287580 002844E0 41 82 00 10 */ beq lbl_80287590 +/* 80287584 002844E4 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 80287588 002844E8 28 00 00 00 */ cmplwi r0, 0 +/* 8028758C 002844EC 41 82 00 A4 */ beq lbl_80287630 +lbl_80287590: +/* 80287590 002844F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287594 002844F4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80287598 002844F8 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 8028759C 002844FC EC 00 E8 2A */ fadds f0, f0, f29 +/* 802875A0 00284500 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 802875A4 00284504 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 802875A8 00284508 4B D9 3F 8D */ bl Identity__10CAxisAngleFv +/* 802875AC 0028450C 7C 65 1B 78 */ mr r5, r3 +/* 802875B0 00284510 7F A3 EB 78 */ mr r3, r29 +/* 802875B4 00284514 38 81 00 DC */ addi r4, r1, 0xdc +/* 802875B8 00284518 4B E9 4B 8D */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 802875BC 0028451C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 802875C0 00284520 FC 01 F0 00 */ fcmpu cr0, f1, f30 +/* 802875C4 00284524 41 82 00 40 */ beq lbl_80287604 +/* 802875C8 00284528 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 802875CC 0028452C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802875D0 00284530 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802875D4 00284534 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802875D8 00284538 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802875DC 0028453C 48 08 D3 1D */ bl Normalize__9CVector3fFv +/* 802875E0 00284540 FC 20 F0 90 */ fmr f1, f30 +/* 802875E4 00284544 38 61 00 1C */ addi r3, r1, 0x1c +/* 802875E8 00284548 38 81 00 10 */ addi r4, r1, 0x10 +/* 802875EC 0028454C 4B D9 3F 71 */ bl __ct__10CAxisAngleFRC13CUnitVector3ff +/* 802875F0 00284550 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802875F4 00284554 7C 65 1B 78 */ mr r5, r3 +/* 802875F8 00284558 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802875FC 0028455C 7F A3 EB 78 */ mr r3, r29 +/* 80287600 00284560 4B E9 4B 45 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80287604: +/* 80287604 00284564 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80287608 00284568 28 00 00 00 */ cmplwi r0, 0 +/* 8028760C 0028456C 41 82 00 0C */ beq lbl_80287618 +/* 80287610 00284570 38 00 00 01 */ li r0, 1 +/* 80287614 00284574 98 1D 03 8C */ stb r0, 0x38c(r29) +lbl_80287618: +/* 80287618 00284578 38 00 00 00 */ li r0, 0 +/* 8028761C 0028457C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287620 00284580 98 1D 03 7C */ stb r0, 0x37c(r29) +/* 80287624 00284584 D0 1D 03 80 */ stfs f0, 0x380(r29) +/* 80287628 00284588 D0 1D 03 84 */ stfs f0, 0x384(r29) +/* 8028762C 0028458C 48 00 00 74 */ b lbl_802876A0 +lbl_80287630: +/* 80287630 00284590 2C 03 00 05 */ cmpwi r3, 5 +/* 80287634 00284594 41 82 00 48 */ beq lbl_8028767C +/* 80287638 00284598 40 80 00 44 */ bge lbl_8028767C +/* 8028763C 0028459C 2C 03 00 01 */ cmpwi r3, 1 +/* 80287640 002845A0 40 80 00 08 */ bge lbl_80287648 +/* 80287644 002845A4 48 00 00 38 */ b lbl_8028767C +lbl_80287648: +/* 80287648 002845A8 7F A3 EB 78 */ mr r3, r29 +/* 8028764C 002845AC 3B 80 00 01 */ li r28, 1 +/* 80287650 002845B0 4B EF 3C 59 */ bl InGrappleJumpCooldown__7CPlayerCFv +/* 80287654 002845B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287658 002845B8 41 82 00 08 */ beq lbl_80287660 +/* 8028765C 002845BC 3B 80 00 00 */ li r28, 0 +lbl_80287660: +/* 80287660 002845C0 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80287664 002845C4 41 82 00 18 */ beq lbl_8028767C +/* 80287668 002845C8 FC 20 D8 90 */ fmr f1, f27 +/* 8028766C 002845CC 7F A3 EB 78 */ mr r3, r29 +/* 80287670 002845D0 7F C4 F3 78 */ mr r4, r30 +/* 80287674 002845D4 7F E5 FB 78 */ mr r5, r31 +/* 80287678 002845D8 48 00 01 FD */ bl ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager +lbl_8028767C: +/* 8028767C 002845DC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287680 002845E0 D3 A1 00 D8 */ stfs f29, 0xd8(r1) +/* 80287684 002845E4 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 80287688 002845E8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8028768C 002845EC 4B D9 3E A9 */ bl Identity__10CAxisAngleFv +/* 80287690 002845F0 7C 65 1B 78 */ mr r5, r3 +/* 80287694 002845F4 7F A3 EB 78 */ mr r3, r29 +/* 80287698 002845F8 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8028769C 002845FC 4B E9 4A A9 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_802876A0: +/* 802876A0 00284600 88 1D 03 DC */ lbz r0, 0x3dc(r29) +/* 802876A4 00284604 28 00 00 00 */ cmplwi r0, 0 +/* 802876A8 00284608 40 82 00 10 */ bne lbl_802876B8 +/* 802876AC 0028460C 88 1D 03 DD */ lbz r0, 0x3dd(r29) +/* 802876B0 00284610 28 00 00 00 */ cmplwi r0, 0 +/* 802876B4 00284614 41 82 01 0C */ beq lbl_802877C0 +lbl_802876B8: +/* 802876B8 00284618 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 802876BC 0028461C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802876C0 00284620 40 82 01 00 */ bne lbl_802877C0 +/* 802876C4 00284624 80 1D 02 58 */ lwz r0, 0x258(r29) +/* 802876C8 00284628 2C 00 00 00 */ cmpwi r0, 0 +/* 802876CC 0028462C 40 82 00 F4 */ bne lbl_802877C0 +/* 802876D0 00284630 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802876D4 00284634 C0 1D 01 3C */ lfs f0, 0x13c(r29) +/* 802876D8 00284638 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802876DC 0028463C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802876E0 00284640 C0 84 00 04 */ lfs f4, 4(r4) +/* 802876E4 00284644 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802876E8 00284648 C0 64 00 08 */ lfs f3, 8(r4) +/* 802876EC 0028464C C0 24 00 00 */ lfs f1, 0(r4) +/* 802876F0 00284650 EC 84 00 28 */ fsubs f4, f4, f0 +/* 802876F4 00284654 C0 1D 01 38 */ lfs f0, 0x138(r29) +/* 802876F8 00284658 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802876FC 0028465C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80287700 00284660 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 80287704 00284664 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80287708 00284668 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8028770C 0028466C 48 08 D1 AD */ bl Magnitude__9CVector3fCFv +/* 80287710 00284670 FF 80 08 90 */ fmr f28, f1 +/* 80287714 00284674 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) +/* 80287718 00284678 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8028771C 0028467C 40 81 00 A4 */ ble lbl_802877C0 +/* 80287720 00284680 7F A3 EB 78 */ mr r3, r29 +/* 80287724 00284684 48 00 0C D1 */ bl GetAcceleration__7CPlayerCFv +/* 80287728 00284688 EC 5B 00 72 */ fmuls f2, f27, f1 +/* 8028772C 0028468C C0 22 BD 94 */ lfs f1, lbl_805ADAB4@sda21(r2) +/* 80287730 00284690 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287734 00284694 ED 01 00 B2 */ fmuls f8, f1, f2 +/* 80287738 00284698 EC FC 40 24 */ fdivs f7, f28, f8 +/* 8028773C 0028469C FC 20 3A 10 */ fabs f1, f7 +/* 80287740 002846A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287744 002846A4 40 81 00 14 */ ble lbl_80287758 +/* 80287748 002846A8 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 8028774C 002846AC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287750 002846B0 FC 07 00 6E */ fsel f0, f7, f1, f0 +/* 80287754 002846B4 EC E1 00 32 */ fmuls f7, f1, f0 +lbl_80287758: +/* 80287758 002846B8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 8028775C 002846BC 7F A3 EB 78 */ mr r3, r29 +/* 80287760 002846C0 C0 81 00 C8 */ lfs f4, 0xc8(r1) +/* 80287764 002846C4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80287768 002846C8 EC C0 E0 24 */ fdivs f6, f0, f28 +/* 8028776C 002846CC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80287770 002846D0 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80287774 002846D4 C0 BD 01 3C */ lfs f5, 0x13c(r29) +/* 80287778 002846D8 C0 7D 01 40 */ lfs f3, 0x140(r29) +/* 8028777C 002846DC C0 3D 01 38 */ lfs f1, 0x138(r29) +/* 80287780 002846E0 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80287784 002846E4 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80287788 002846E8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8028778C 002846EC EC 88 01 32 */ fmuls f4, f8, f4 +/* 80287790 002846F0 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80287794 002846F4 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80287798 002846F8 EC 87 01 32 */ fmuls f4, f7, f4 +/* 8028779C 002846FC EC 47 00 B2 */ fmuls f2, f7, f2 +/* 802877A0 00284700 EC 07 00 32 */ fmuls f0, f7, f0 +/* 802877A4 00284704 EC 85 20 2A */ fadds f4, f5, f4 +/* 802877A8 00284708 EC 43 10 2A */ fadds f2, f3, f2 +/* 802877AC 0028470C EC 01 00 2A */ fadds f0, f1, f0 +/* 802877B0 00284710 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 802877B4 00284714 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802877B8 00284718 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802877BC 0028471C 4B E9 34 E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_802877C0: +/* 802877C0 00284720 88 1D 09 C5 */ lbz r0, 0x9c5(r29) +/* 802877C4 00284724 38 60 00 00 */ li r3, 0 +/* 802877C8 00284728 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 802877CC 0028472C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802877D0 00284730 98 1D 09 C5 */ stb r0, 0x9c5(r29) +/* 802877D4 00284734 C0 3D 02 D4 */ lfs f1, 0x2d4(r29) +/* 802877D8 00284738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802877DC 0028473C 40 81 00 0C */ ble lbl_802877E8 +/* 802877E0 00284740 90 7D 02 D0 */ stw r3, 0x2d0(r29) +/* 802877E4 00284744 48 00 00 10 */ b lbl_802877F4 +lbl_802877E8: +/* 802877E8 00284748 80 7D 02 D0 */ lwz r3, 0x2d0(r29) +/* 802877EC 0028474C 38 03 00 01 */ addi r0, r3, 1 +/* 802877F0 00284750 90 1D 02 D0 */ stw r0, 0x2d0(r29) +lbl_802877F4: +/* 802877F4 00284754 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) +/* 802877F8 00284758 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 802877FC 0028475C D0 1D 02 D4 */ stfs f0, 0x2d4(r29) +/* 80287800 00284760 C0 2D 99 64 */ lfs f1, lbl_805A8524@sda21(r13) +/* 80287804 00284764 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) +/* 80287808 00284768 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028780C 0028476C 40 80 00 0C */ bge lbl_80287818 +/* 80287810 00284770 38 7D 02 D4 */ addi r3, r29, 0x2d4 +/* 80287814 00284774 48 00 00 08 */ b lbl_8028781C +lbl_80287818: +/* 80287818 00284778 38 6D 99 64 */ addi r3, r13, lbl_805A8524@sda21 +lbl_8028781C: +/* 8028781C 0028477C C0 03 00 00 */ lfs f0, 0(r3) +/* 80287820 00284780 D0 1D 02 D4 */ stfs f0, 0x2d4(r29) +/* 80287824 00284784 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80287828 00284788 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8028782C 0028478C E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 80287830 00284790 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 80287834 00284794 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 80287838 00284798 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 8028783C 0028479C E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 +/* 80287840 002847A0 CB 81 01 20 */ lfd f28, 0x120(r1) +/* 80287844 002847A4 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 +/* 80287848 002847A8 CB 61 01 10 */ lfd f27, 0x110(r1) +/* 8028784C 002847AC E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 +/* 80287850 002847B0 CB 41 01 00 */ lfd f26, 0x100(r1) +/* 80287854 002847B4 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80287858 002847B8 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8028785C 002847BC 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80287860 002847C0 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80287864 002847C4 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 80287868 002847C8 7C 08 03 A6 */ mtlr r0 +/* 8028786C 002847CC 38 21 01 60 */ addi r1, r1, 0x160 +/* 80287870 002847D0 4E 80 00 20 */ blr + +.global ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager +ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager: +/* 80287874 002847D4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80287878 002847D8 7C 08 02 A6 */ mflr r0 +/* 8028787C 002847DC 90 01 01 34 */ stw r0, 0x134(r1) +/* 80287880 002847E0 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80287884 002847E4 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80287888 002847E8 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8028788C 002847EC F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 80287890 002847F0 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 80287894 002847F4 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 80287898 002847F8 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8028789C 002847FC F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 802878A0 00284800 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 802878A4 00284804 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 802878A8 00284808 DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 802878AC 0028480C F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 802878B0 00284810 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 802878B4 00284814 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 802878B8 00284818 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802878BC 0028481C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 802878C0 00284820 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 802878C4 00284824 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 802878C8 00284828 FF 20 08 90 */ fmr f25, f1 +/* 802878CC 0028482C 3C C0 80 3D */ lis r6, lbl_803D5908@ha +/* 802878D0 00284830 7C 7C 1B 78 */ mr r28, r3 +/* 802878D4 00284834 7C 9D 23 78 */ mr r29, r4 +/* 802878D8 00284838 7C BE 2B 78 */ mr r30, r5 +/* 802878DC 0028483C 3B E6 59 08 */ addi r31, r6, lbl_803D5908@l +/* 802878E0 00284840 4B FF F3 71 */ bl StrafeInput__7CPlayerCFRC11CFinalInput +/* 802878E4 00284844 FF 80 08 90 */ fmr f28, f1 +/* 802878E8 00284848 7F 83 E3 78 */ mr r3, r28 +/* 802878EC 0028484C 7F A4 EB 78 */ mr r4, r29 +/* 802878F0 00284850 4B FF F1 8D */ bl TurnInput__7CPlayerCFRC11CFinalInput +/* 802878F4 00284854 7F 83 E3 78 */ mr r3, r28 +/* 802878F8 00284858 7F A4 EB 78 */ mr r4, r29 +/* 802878FC 0028485C 4B FF F3 D9 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf +/* 80287900 00284860 C3 BC 00 60 */ lfs f29, 0x60(r28) +/* 80287904 00284864 FF 60 08 90 */ fmr f27, f1 +/* 80287908 00284868 C0 7C 00 50 */ lfs f3, 0x50(r28) +/* 8028790C 0028486C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80287910 00284870 C3 DC 03 18 */ lfs f30, 0x318(r28) +/* 80287914 00284874 EC 1D E8 28 */ fsubs f0, f29, f29 +/* 80287918 00284878 C0 9C 00 40 */ lfs f4, 0x40(r28) +/* 8028791C 0028487C C3 FC 03 14 */ lfs f31, 0x314(r28) +/* 80287920 00284880 EC 43 F0 28 */ fsubs f2, f3, f30 +/* 80287924 00284884 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80287928 00284888 EC 24 F8 28 */ fsubs f1, f4, f31 +/* 8028792C 0028488C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80287930 00284890 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 80287934 00284894 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80287938 00284898 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8028793C 0028489C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80287940 002848A0 48 08 CD B9 */ bl CanBeNormalized__9CVector3fCFv +/* 80287944 002848A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287948 002848A8 41 82 05 3C */ beq lbl_80287E84 +/* 8028794C 002848AC C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 80287950 002848B0 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 80287954 002848B4 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80287958 002848B8 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8028795C 002848BC D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80287960 002848C0 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80287964 002848C4 80 1C 02 B0 */ lwz r0, 0x2b0(r28) +/* 80287968 002848C8 2C 00 00 02 */ cmpwi r0, 2 +/* 8028796C 002848CC 40 82 00 0C */ bne lbl_80287978 +/* 80287970 002848D0 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287974 002848D4 48 00 00 08 */ b lbl_8028797C +lbl_80287978: +/* 80287978 002848D8 38 00 00 04 */ li r0, 4 +lbl_8028797C: +/* 8028797C 002848DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80287980 002848E0 38 7F 00 00 */ addi r3, r31, 0 +/* 80287984 002848E4 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287988 002848E8 7F A4 EB 78 */ mr r4, r29 +/* 8028798C 002848EC 38 60 00 0A */ li r3, 0xa +/* 80287990 002848F0 EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287994 002848F4 4B D8 4E E1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287998 002848F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8028799C 002848FC 41 82 00 10 */ beq lbl_802879AC +/* 802879A0 00284900 C0 1C 03 88 */ lfs f0, 0x388(r28) +/* 802879A4 00284904 EC 00 C8 2A */ fadds f0, f0, f25 +/* 802879A8 00284908 D0 1C 03 88 */ stfs f0, 0x388(r28) +lbl_802879AC: +/* 802879AC 0028490C 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 802879B0 00284910 28 00 00 00 */ cmplwi r0, 0 +/* 802879B4 00284914 40 82 00 E0 */ bne lbl_80287A94 +/* 802879B8 00284918 FC 20 E0 90 */ fmr f1, f28 +/* 802879BC 0028491C 7F 83 E3 78 */ mr r3, r28 +/* 802879C0 00284920 FC 40 D8 90 */ fmr f2, f27 +/* 802879C4 00284924 7F A4 EB 78 */ mr r4, r29 +/* 802879C8 00284928 7F C5 F3 78 */ mr r5, r30 +/* 802879CC 0028492C 48 00 05 3D */ bl SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager +/* 802879D0 00284930 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802879D4 00284934 41 82 00 B8 */ beq lbl_80287A8C +/* 802879D8 00284938 38 00 00 01 */ li r0, 1 +/* 802879DC 0028493C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) +/* 802879E0 00284940 98 1C 03 7C */ stb r0, 0x37c(r28) +/* 802879E4 00284944 D3 9C 03 80 */ stfs f28, 0x380(r28) +/* 802879E8 00284948 98 1C 03 8C */ stb r0, 0x38c(r28) +/* 802879EC 0028494C D0 5C 03 84 */ stfs f2, 0x384(r28) +/* 802879F0 00284950 C0 1C 01 38 */ lfs f0, 0x138(r28) +/* 802879F4 00284954 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802879F8 00284958 C0 1C 01 3C */ lfs f0, 0x13c(r28) +/* 802879FC 0028495C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80287A00 00284960 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 80287A04 00284964 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80287A08 00284968 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80287A0C 0028496C 40 81 00 80 */ ble lbl_80287A8C +/* 80287A10 00284970 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) +/* 80287A14 00284974 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287A18 00284978 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80287A1C 0028497C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287A20 00284980 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287A24 00284984 40 82 00 68 */ bne lbl_80287A8C +/* 80287A28 00284988 7F 83 E3 78 */ mr r3, r28 +/* 80287A2C 0028498C 38 81 00 88 */ addi r4, r1, 0x88 +/* 80287A30 00284990 4B E9 32 71 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80287A34 00284994 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80287A38 00284998 38 61 00 14 */ addi r3, r1, 0x14 +/* 80287A3C 0028499C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80287A40 002849A0 38 80 06 18 */ li r4, 0x618 +/* 80287A44 002849A4 38 A0 00 7F */ li r5, 0x7f +/* 80287A48 002849A8 38 C0 00 40 */ li r6, 0x40 +/* 80287A4C 002849AC 38 E0 00 01 */ li r7, 1 +/* 80287A50 002849B0 39 20 00 00 */ li r9, 0 +/* 80287A54 002849B4 48 06 23 21 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80287A58 002849B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80287A5C 002849BC 7F 83 E3 78 */ mr r3, r28 +/* 80287A60 002849C0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80287A64 002849C4 90 1C 07 78 */ stw r0, 0x778(r28) +/* 80287A68 002849C8 80 1C 07 78 */ lwz r0, 0x778(r28) +/* 80287A6C 002849CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80287A70 002849D0 4B D8 97 1D */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +/* 80287A74 002849D4 80 7E 08 8C */ lwz r3, 0x88c(r30) +/* 80287A78 002849D8 7F C4 F3 78 */ mr r4, r30 +/* 80287A7C 002849DC C0 22 BE 48 */ lfs f1, lbl_805ADB68@sda21(r2) +/* 80287A80 002849E0 38 A0 00 0B */ li r5, 0xb +/* 80287A84 002849E4 38 C0 00 01 */ li r6, 1 +/* 80287A88 002849E8 4B FA 67 BD */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +lbl_80287A8C: +/* 80287A8C 002849EC EF 5A 07 32 */ fmuls f26, f26, f28 +/* 80287A90 002849F0 48 00 01 70 */ b lbl_80287C00 +lbl_80287A94: +/* 80287A94 002849F4 C0 1C 03 84 */ lfs f0, 0x384(r28) +/* 80287A98 002849F8 EC 00 C8 2A */ fadds f0, f0, f25 +/* 80287A9C 002849FC D0 1C 03 84 */ stfs f0, 0x384(r28) +/* 80287AA0 00284A00 80 1C 02 58 */ lwz r0, 0x258(r28) +/* 80287AA4 00284A04 2C 00 00 00 */ cmpwi r0, 0 +/* 80287AA8 00284A08 41 82 00 3C */ beq lbl_80287AE4 +/* 80287AAC 00284A0C C0 5C 03 84 */ lfs f2, 0x384(r28) +/* 80287AB0 00284A10 C0 1C 03 A0 */ lfs f0, 0x3a0(r28) +/* 80287AB4 00284A14 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80287AB8 00284A18 4C 41 13 82 */ cror 2, 1, 2 +/* 80287ABC 00284A1C 41 82 00 28 */ beq lbl_80287AE4 +/* 80287AC0 00284A20 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287AC4 00284A24 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287AC8 00284A28 40 82 00 1C */ bne lbl_80287AE4 +/* 80287ACC 00284A2C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287AD0 00284A30 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80287AD4 00284A34 40 82 00 10 */ bne lbl_80287AE4 +/* 80287AD8 00284A38 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 80287ADC 00284A3C 2C 00 00 01 */ cmpwi r0, 1 +/* 80287AE0 00284A40 41 82 00 24 */ beq lbl_80287B04 +lbl_80287AE4: +/* 80287AE4 00284A44 7F 83 E3 78 */ mr r3, r28 +/* 80287AE8 00284A48 48 00 03 F5 */ bl FinishSidewaysDash__7CPlayerFv +/* 80287AEC 00284A4C 80 1C 07 78 */ lwz r0, 0x778(r28) +/* 80287AF0 00284A50 EF 5A 07 32 */ fmuls f26, f26, f28 +/* 80287AF4 00284A54 38 61 00 0C */ addi r3, r1, 0xc +/* 80287AF8 00284A58 90 01 00 0C */ stw r0, 0xc(r1) +/* 80287AFC 00284A5C 48 06 23 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 80287B00 00284A60 48 00 01 00 */ b lbl_80287C00 +lbl_80287B04: +/* 80287B04 00284A64 88 1C 03 9C */ lbz r0, 0x39c(r28) +/* 80287B08 00284A68 80 7C 02 B0 */ lwz r3, 0x2b0(r28) +/* 80287B0C 00284A6C 28 00 00 00 */ cmplwi r0, 0 +/* 80287B10 00284A70 41 82 00 34 */ beq lbl_80287B44 +/* 80287B14 00284A74 2C 03 00 02 */ cmpwi r3, 2 +/* 80287B18 00284A78 40 82 00 0C */ bne lbl_80287B24 +/* 80287B1C 00284A7C 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287B20 00284A80 48 00 00 08 */ b lbl_80287B28 +lbl_80287B24: +/* 80287B24 00284A84 38 00 00 04 */ li r0, 4 +lbl_80287B28: +/* 80287B28 00284A88 54 00 10 3A */ slwi r0, r0, 2 +/* 80287B2C 00284A8C 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80287B30 00284A90 C0 3C 03 98 */ lfs f1, 0x398(r28) +/* 80287B34 00284A94 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287B38 00284A98 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287B3C 00284A9C EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287B40 00284AA0 48 00 00 AC */ b lbl_80287BEC +lbl_80287B44: +/* 80287B44 00284AA4 C0 3C 03 A4 */ lfs f1, 0x3a4(r28) +/* 80287B48 00284AA8 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287B4C 00284AAC EC 42 08 24 */ fdivs f2, f2, f1 +/* 80287B50 00284AB0 FC 20 12 10 */ fabs f1, f2 +/* 80287B54 00284AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287B58 00284AB8 40 81 00 14 */ ble lbl_80287B6C +/* 80287B5C 00284ABC C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80287B60 00284AC0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287B64 00284AC4 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 80287B68 00284AC8 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_80287B6C: +/* 80287B6C 00284ACC C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287B70 00284AD0 80 DC 02 B0 */ lwz r6, 0x2b0(r28) +/* 80287B74 00284AD4 EC 40 10 28 */ fsubs f2, f0, f2 +/* 80287B78 00284AD8 2C 06 00 02 */ cmpwi r6, 2 +/* 80287B7C 00284ADC 40 82 00 0C */ bne lbl_80287B88 +/* 80287B80 00284AE0 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287B84 00284AE4 48 00 00 08 */ b lbl_80287B8C +lbl_80287B88: +/* 80287B88 00284AE8 38 00 00 04 */ li r0, 4 +lbl_80287B8C: +/* 80287B8C 00284AEC 2C 06 00 02 */ cmpwi r6, 2 +/* 80287B90 00284AF0 40 82 00 0C */ bne lbl_80287B9C +/* 80287B94 00284AF4 80 7C 02 AC */ lwz r3, 0x2ac(r28) +/* 80287B98 00284AF8 48 00 00 08 */ b lbl_80287BA0 +lbl_80287B9C: +/* 80287B9C 00284AFC 38 60 00 04 */ li r3, 4 +lbl_80287BA0: +/* 80287BA0 00284B00 54 65 10 3A */ slwi r5, r3, 2 +/* 80287BA4 00284B04 38 9F 00 20 */ addi r4, r31, 0x20 +/* 80287BA8 00284B08 54 00 10 3A */ slwi r0, r0, 2 +/* 80287BAC 00284B0C 38 7F 00 00 */ addi r3, r31, 0 +/* 80287BB0 00284B10 7C 24 2C 2E */ lfsx f1, r4, r5 +/* 80287BB4 00284B14 2C 06 00 02 */ cmpwi r6, 2 +/* 80287BB8 00284B18 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287BBC 00284B1C EC 61 00 28 */ fsubs f3, f1, f0 +/* 80287BC0 00284B20 40 82 00 0C */ bne lbl_80287BCC +/* 80287BC4 00284B24 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287BC8 00284B28 48 00 00 08 */ b lbl_80287BD0 +lbl_80287BCC: +/* 80287BCC 00284B2C 38 00 00 04 */ li r0, 4 +lbl_80287BD0: +/* 80287BD0 00284B30 54 00 10 3A */ slwi r0, r0, 2 +/* 80287BD4 00284B34 38 7F 00 00 */ addi r3, r31, 0 +/* 80287BD8 00284B38 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287BDC 00284B3C C0 3C 03 98 */ lfs f1, 0x398(r28) +/* 80287BE0 00284B40 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80287BE4 00284B44 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80287BE8 00284B48 EF 59 00 32 */ fmuls f26, f25, f0 +lbl_80287BEC: +/* 80287BEC 00284B4C C0 3C 03 80 */ lfs f1, 0x380(r28) +/* 80287BF0 00284B50 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287BF4 00284B54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287BF8 00284B58 40 80 00 08 */ bge lbl_80287C00 +/* 80287BFC 00284B5C FF 40 D0 50 */ fneg f26, f26 +lbl_80287C00: +/* 80287C00 00284B60 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80287C04 00284B64 48 08 CC B5 */ bl Magnitude__9CVector3fCFv +/* 80287C08 00284B68 EC 7A 08 24 */ fdivs f3, f26, f1 +/* 80287C0C 00284B6C 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80287C10 00284B70 C0 22 BE 4C */ lfs f1, lbl_805ADB6C@sda21(r2) +/* 80287C14 00284B74 28 00 00 00 */ cmplwi r0, 0 +/* 80287C18 00284B78 41 82 00 08 */ beq lbl_80287C20 +/* 80287C1C 00284B7C C0 22 BE 50 */ lfs f1, lbl_805ADB70@sda21(r2) +lbl_80287C20: +/* 80287C20 00284B80 FC 00 1A 10 */ fabs f0, f3 +/* 80287C24 00284B84 EC 41 06 72 */ fmuls f2, f1, f25 +/* 80287C28 00284B88 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80287C2C 00284B8C 40 81 00 18 */ ble lbl_80287C44 +/* 80287C30 00284B90 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) +/* 80287C34 00284B94 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287C38 00284B98 FC 03 08 2E */ fsel f0, f3, f0, f1 +/* 80287C3C 00284B9C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80287C40 00284BA0 48 00 00 08 */ b lbl_80287C48 +lbl_80287C44: +/* 80287C44 00284BA4 FC 40 18 90 */ fmr f2, f3 +lbl_80287C48: +/* 80287C48 00284BA8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80287C4C 00284BAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80287C50 00284BB0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287C54 00284BB4 D0 41 00 08 */ stfs f2, 8(r1) +/* 80287C58 00284BB8 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80287C5C 00284BBC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80287C60 00284BC0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80287C64 00284BC4 48 08 CC 95 */ bl Normalize__9CVector3fFv +/* 80287C68 00284BC8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80287C6C 00284BCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80287C70 00284BD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80287C74 00284BD4 48 08 96 81 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80287C78 00284BD8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80287C7C 00284BDC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80287C80 00284BE0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80287C84 00284BE4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80287C88 00284BE8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80287C8C 00284BEC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80287C90 00284BF0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80287C94 00284BF4 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80287C98 00284BF8 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80287C9C 00284BFC D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80287CA0 00284C00 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 80287CA4 00284C04 48 08 95 C1 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80287CA8 00284C08 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 80287CAC 00284C0C 7F A4 EB 78 */ mr r4, r29 +/* 80287CB0 00284C10 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80287CB4 00284C14 38 60 00 0A */ li r3, 0xa +/* 80287CB8 00284C18 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80287CBC 00284C1C EF FF 10 2A */ fadds f31, f31, f2 +/* 80287CC0 00284C20 EF DE 08 2A */ fadds f30, f30, f1 +/* 80287CC4 00284C24 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 80287CC8 00284C28 EF BD 00 2A */ fadds f29, f29, f0 +/* 80287CCC 00284C2C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 80287CD0 00284C30 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 80287CD4 00284C34 4B D8 4B A1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287CD8 00284C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287CDC 00284C3C 40 82 00 0C */ bne lbl_80287CE8 +/* 80287CE0 00284C40 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287CE4 00284C44 D0 1C 03 88 */ stfs f0, 0x388(r28) +lbl_80287CE8: +/* 80287CE8 00284C48 80 1C 02 B0 */ lwz r0, 0x2b0(r28) +/* 80287CEC 00284C4C 2C 00 00 02 */ cmpwi r0, 2 +/* 80287CF0 00284C50 40 82 00 0C */ bne lbl_80287CFC +/* 80287CF4 00284C54 80 1C 02 AC */ lwz r0, 0x2ac(r28) +/* 80287CF8 00284C58 48 00 00 08 */ b lbl_80287D00 +lbl_80287CFC: +/* 80287CFC 00284C5C 38 00 00 04 */ li r0, 4 +lbl_80287D00: +/* 80287D00 00284C60 54 00 10 3A */ slwi r0, r0, 2 +/* 80287D04 00284C64 38 7F 00 40 */ addi r3, r31, 0x40 +/* 80287D08 00284C68 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80287D0C 00284C6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80287D10 00284C70 38 81 00 94 */ addi r4, r1, 0x94 +/* 80287D14 00284C74 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 80287D18 00284C78 EF 59 00 32 */ fmuls f26, f25, f0 +/* 80287D1C 00284C7C 48 08 CB 35 */ bl AsNormalized__9CVector3fCFv +/* 80287D20 00284C80 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80287D24 00284C84 38 61 00 18 */ addi r3, r1, 0x18 +/* 80287D28 00284C88 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80287D2C 00284C8C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80287D30 00284C90 FC 80 10 50 */ fneg f4, f2 +/* 80287D34 00284C94 FC 60 08 50 */ fneg f3, f1 +/* 80287D38 00284C98 C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80287D3C 00284C9C FC 00 00 50 */ fneg f0, f0 +/* 80287D40 00284CA0 C0 5C 01 3C */ lfs f2, 0x13c(r28) +/* 80287D44 00284CA4 EC 9A 01 32 */ fmuls f4, f26, f4 +/* 80287D48 00284CA8 EC 7A 00 F2 */ fmuls f3, f26, f3 +/* 80287D4C 00284CAC EC 1A 00 32 */ fmuls f0, f26, f0 +/* 80287D50 00284CB0 EF FF 20 2A */ fadds f31, f31, f4 +/* 80287D54 00284CB4 EF DE 18 2A */ fadds f30, f30, f3 +/* 80287D58 00284CB8 EF BD 00 2A */ fadds f29, f29, f0 +/* 80287D5C 00284CBC 48 08 C4 A5 */ bl __ct__9CVector2fFff +/* 80287D60 00284CC0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287D64 00284CC4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80287D68 00284CC8 C0 9C 00 50 */ lfs f4, 0x50(r28) +/* 80287D6C 00284CCC EC A0 C8 24 */ fdivs f5, f0, f25 +/* 80287D70 00284CD0 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 80287D74 00284CD4 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 80287D78 00284CD8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80287D7C 00284CDC C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 80287D80 00284CE0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80287D84 00284CE4 EC 9E 20 28 */ fsubs f4, f30, f4 +/* 80287D88 00284CE8 EC 7D 18 28 */ fsubs f3, f29, f3 +/* 80287D8C 00284CEC EC 5F 10 28 */ fsubs f2, f31, f2 +/* 80287D90 00284CF0 EC 85 01 32 */ fmuls f4, f5, f4 +/* 80287D94 00284CF4 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80287D98 00284CF8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80287D9C 00284CFC D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80287DA0 00284D00 EC 84 30 28 */ fsubs f4, f4, f6 +/* 80287DA4 00284D04 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 80287DA8 00284D08 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80287DAC 00284D0C D0 61 00 74 */ stfs f3, 0x74(r1) +/* 80287DB0 00284D10 C0 5C 01 40 */ lfs f2, 0x140(r28) +/* 80287DB4 00284D14 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80287DB8 00284D18 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80287DBC 00284D1C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80287DC0 00284D20 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 80287DC4 00284D24 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80287DC8 00284D28 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80287DCC 00284D2C 48 08 CA ED */ bl Magnitude__9CVector3fCFv +/* 80287DD0 00284D30 FF 40 08 90 */ fmr f26, f1 +/* 80287DD4 00284D34 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) +/* 80287DD8 00284D38 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 80287DDC 00284D3C 40 81 00 A8 */ ble lbl_80287E84 +/* 80287DE0 00284D40 7F 83 E3 78 */ mr r3, r28 +/* 80287DE4 00284D44 48 00 06 11 */ bl GetAcceleration__7CPlayerCFv +/* 80287DE8 00284D48 ED 19 00 72 */ fmuls f8, f25, f1 +/* 80287DEC 00284D4C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) +/* 80287DF0 00284D50 EC FA 40 24 */ fdivs f7, f26, f8 +/* 80287DF4 00284D54 FC 20 3A 10 */ fabs f1, f7 +/* 80287DF8 00284D58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287DFC 00284D5C 40 81 00 14 */ ble lbl_80287E10 +/* 80287E00 00284D60 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) +/* 80287E04 00284D64 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 80287E08 00284D68 FC 07 00 6E */ fsel f0, f7, f1, f0 +/* 80287E0C 00284D6C EC E1 00 32 */ fmuls f7, f1, f0 +lbl_80287E10: +/* 80287E10 00284D70 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) +/* 80287E14 00284D74 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 80287E18 00284D78 EC C0 D0 24 */ fdivs f6, f0, f26 +/* 80287E1C 00284D7C C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80287E20 00284D80 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80287E24 00284D84 C0 BC 01 3C */ lfs f5, 0x13c(r28) +/* 80287E28 00284D88 C0 7C 01 40 */ lfs f3, 0x140(r28) +/* 80287E2C 00284D8C C0 3C 01 38 */ lfs f1, 0x138(r28) +/* 80287E30 00284D90 EC 86 01 32 */ fmuls f4, f6, f4 +/* 80287E34 00284D94 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80287E38 00284D98 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80287E3C 00284D9C EC 88 01 32 */ fmuls f4, f8, f4 +/* 80287E40 00284DA0 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80287E44 00284DA4 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80287E48 00284DA8 EC 87 01 32 */ fmuls f4, f7, f4 +/* 80287E4C 00284DAC EC 47 00 B2 */ fmuls f2, f7, f2 +/* 80287E50 00284DB0 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80287E54 00284DB4 EC 85 20 2A */ fadds f4, f5, f4 +/* 80287E58 00284DB8 EC 43 10 2A */ fadds f2, f3, f2 +/* 80287E5C 00284DBC EC 01 00 2A */ fadds f0, f1, f0 +/* 80287E60 00284DC0 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80287E64 00284DC4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80287E68 00284DC8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80287E6C 00284DCC 88 1C 09 C5 */ lbz r0, 0x9c5(r28) +/* 80287E70 00284DD0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80287E74 00284DD4 40 82 00 10 */ bne lbl_80287E84 +/* 80287E78 00284DD8 7F 83 E3 78 */ mr r3, r28 +/* 80287E7C 00284DDC 38 81 00 6C */ addi r4, r1, 0x6c +/* 80287E80 00284DE0 4B E9 2E 21 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80287E84: +/* 80287E84 00284DE4 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80287E88 00284DE8 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80287E8C 00284DEC E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 80287E90 00284DF0 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 80287E94 00284DF4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 80287E98 00284DF8 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 80287E9C 00284DFC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 80287EA0 00284E00 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 80287EA4 00284E04 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 80287EA8 00284E08 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 80287EAC 00284E0C E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 80287EB0 00284E10 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 80287EB4 00284E14 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 80287EB8 00284E18 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 80287EBC 00284E1C 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80287EC0 00284E20 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80287EC4 00284E24 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80287EC8 00284E28 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80287ECC 00284E2C 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80287ED0 00284E30 7C 08 03 A6 */ mtlr r0 +/* 80287ED4 00284E34 38 21 01 30 */ addi r1, r1, 0x130 +/* 80287ED8 00284E38 4E 80 00 20 */ blr + +.global FinishSidewaysDash__7CPlayerFv +FinishSidewaysDash__7CPlayerFv: +/* 80287EDC 00284E3C 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 80287EE0 00284E40 28 00 00 00 */ cmplwi r0, 0 +/* 80287EE4 00284E44 41 82 00 0C */ beq lbl_80287EF0 +/* 80287EE8 00284E48 38 00 00 01 */ li r0, 1 +/* 80287EEC 00284E4C 98 03 03 8C */ stb r0, 0x38c(r3) +lbl_80287EF0: +/* 80287EF0 00284E50 38 00 00 00 */ li r0, 0 +/* 80287EF4 00284E54 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287EF8 00284E58 98 03 03 7C */ stb r0, 0x37c(r3) +/* 80287EFC 00284E5C D0 03 03 80 */ stfs f0, 0x380(r3) +/* 80287F00 00284E60 D0 03 03 84 */ stfs f0, 0x384(r3) +/* 80287F04 00284E64 4E 80 00 20 */ blr + +.global SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager +SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager: +/* 80287F08 00284E68 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80287F0C 00284E6C 7C 08 02 A6 */ mflr r0 +/* 80287F10 00284E70 90 01 00 54 */ stw r0, 0x54(r1) +/* 80287F14 00284E74 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80287F18 00284E78 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80287F1C 00284E7C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80287F20 00284E80 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80287F24 00284E84 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80287F28 00284E88 7C 7F 1B 78 */ mr r31, r3 +/* 80287F2C 00284E8C 88 63 09 C5 */ lbz r3, 0x9c5(r3) +/* 80287F30 00284E90 FF C0 08 90 */ fmr f30, f1 +/* 80287F34 00284E94 FF E0 10 90 */ fmr f31, f2 +/* 80287F38 00284E98 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80287F3C 00284E9C 40 82 00 18 */ bne lbl_80287F54 +/* 80287F40 00284EA0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80287F44 00284EA4 40 82 00 10 */ bne lbl_80287F54 +/* 80287F48 00284EA8 80 BF 03 04 */ lwz r5, 0x304(r31) +/* 80287F4C 00284EAC 2C 05 00 01 */ cmpwi r5, 1 +/* 80287F50 00284EB0 41 82 00 0C */ beq lbl_80287F5C +lbl_80287F54: +/* 80287F54 00284EB4 38 60 00 00 */ li r3, 0 +/* 80287F58 00284EB8 48 00 01 48 */ b lbl_802880A0 +lbl_80287F5C: +/* 80287F5C 00284EBC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287F60 00284EC0 88 63 02 00 */ lbz r3, 0x200(r3) +/* 80287F64 00284EC4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80287F68 00284EC8 41 82 00 78 */ beq lbl_80287FE0 +/* 80287F6C 00284ECC 2C 05 00 00 */ cmpwi r5, 0 +/* 80287F70 00284ED0 41 82 01 2C */ beq lbl_8028809C +/* 80287F74 00284ED4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287F78 00284ED8 41 82 01 24 */ beq lbl_8028809C +/* 80287F7C 00284EDC C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80287F80 00284EE0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80287F84 00284EE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287F88 00284EE8 40 81 01 14 */ ble lbl_8028809C +/* 80287F8C 00284EEC 38 60 00 0A */ li r3, 0xa +/* 80287F90 00284EF0 4B D8 48 E5 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287F94 00284EF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287F98 00284EF8 40 82 01 04 */ bne lbl_8028809C +/* 80287F9C 00284EFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80287FA0 00284F00 C0 3F 03 88 */ lfs f1, 0x388(r31) +/* 80287FA4 00284F04 C0 03 02 04 */ lfs f0, 0x204(r3) +/* 80287FA8 00284F08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FAC 00284F0C 40 80 00 F0 */ bge lbl_8028809C +/* 80287FB0 00284F10 FC 00 FA 10 */ fabs f0, f31 +/* 80287FB4 00284F14 FC 20 F2 10 */ fabs f1, f30 +/* 80287FB8 00284F18 FC 00 00 18 */ frsp f0, f0 +/* 80287FBC 00284F1C FC 20 08 18 */ frsp f1, f1 +/* 80287FC0 00284F20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FC4 00284F24 4C 41 13 82 */ cror 2, 1, 2 +/* 80287FC8 00284F28 40 82 00 D4 */ bne lbl_8028809C +/* 80287FCC 00284F2C C0 03 02 08 */ lfs f0, 0x208(r3) +/* 80287FD0 00284F30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80287FD4 00284F34 40 81 00 C8 */ ble lbl_8028809C +/* 80287FD8 00284F38 38 60 00 01 */ li r3, 1 +/* 80287FDC 00284F3C 48 00 00 C4 */ b lbl_802880A0 +lbl_80287FE0: +/* 80287FE0 00284F40 2C 05 00 00 */ cmpwi r5, 0 +/* 80287FE4 00284F44 41 82 00 B8 */ beq lbl_8028809C +/* 80287FE8 00284F48 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80287FEC 00284F4C 41 82 00 B0 */ beq lbl_8028809C +/* 80287FF0 00284F50 38 60 00 0A */ li r3, 0xa +/* 80287FF4 00284F54 4B D8 47 DD */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 80287FF8 00284F58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80287FFC 00284F5C 41 82 00 A0 */ beq lbl_8028809C +/* 80288000 00284F60 C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80288004 00284F64 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288008 00284F68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028800C 00284F6C 40 81 00 90 */ ble lbl_8028809C +/* 80288010 00284F70 FC 00 FA 10 */ fabs f0, f31 +/* 80288014 00284F74 FC 20 F2 10 */ fabs f1, f30 +/* 80288018 00284F78 FC 00 00 18 */ frsp f0, f0 +/* 8028801C 00284F7C FC 20 08 18 */ frsp f1, f1 +/* 80288020 00284F80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288024 00284F84 4C 41 13 82 */ cror 2, 1, 2 +/* 80288028 00284F88 40 82 00 74 */ bne lbl_8028809C +/* 8028802C 00284F8C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) +/* 80288030 00284F90 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288034 00284F94 40 81 00 68 */ ble lbl_8028809C +/* 80288038 00284F98 FC 20 F0 90 */ fmr f1, f30 +/* 8028803C 00284F9C 7F E4 FB 78 */ mr r4, r31 +/* 80288040 00284FA0 FC 40 F8 90 */ fmr f2, f31 +/* 80288044 00284FA4 38 61 00 08 */ addi r3, r1, 8 +/* 80288048 00284FA8 4B D8 C9 F9 */ bl CalculateLeftStickEdgePosition__7CPlayerCFff +/* 8028804C 00284FAC EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 80288050 00284FB0 C0 81 00 08 */ lfs f4, 8(r1) +/* 80288054 00284FB4 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80288058 00284FB8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8028805C 00284FBC EC 3E 07 BA */ fmadds f1, f30, f30, f0 +/* 80288060 00284FC0 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80288064 00284FC4 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80288068 00284FC8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8028806C 00284FCC 48 08 D4 95 */ bl SqrtF__5CMathFf +/* 80288070 00284FD0 FF E0 08 90 */ fmr f31, f1 +/* 80288074 00284FD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80288078 00284FD8 48 08 C8 41 */ bl Magnitude__9CVector3fCFv +/* 8028807C 00284FDC EC 3F 08 24 */ fdivs f1, f31, f1 +/* 80288080 00284FE0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80288084 00284FE4 C0 03 02 08 */ lfs f0, 0x208(r3) +/* 80288088 00284FE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028808C 00284FEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80288090 00284FF0 40 82 00 0C */ bne lbl_8028809C +/* 80288094 00284FF4 38 60 00 01 */ li r3, 1 +/* 80288098 00284FF8 48 00 00 08 */ b lbl_802880A0 +lbl_8028809C: +/* 8028809C 00284FFC 38 60 00 00 */ li r3, 0 +lbl_802880A0: +/* 802880A0 00285000 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802880A4 00285004 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802880A8 00285008 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 802880AC 0028500C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 802880B0 00285010 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802880B4 00285014 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802880B8 00285018 7C 08 03 A6 */ mtlr r0 +/* 802880BC 0028501C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802880C0 00285020 4E 80 00 20 */ blr + +.global UpdateStepCameraZBias__7CPlayerFf +UpdateStepCameraZBias__7CPlayerFf: +/* 802880C4 00285024 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802880C8 00285028 7C 08 02 A6 */ mflr r0 +/* 802880CC 0028502C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802880D0 00285030 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802880D4 00285034 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802880D8 00285038 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802880DC 0028503C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802880E0 00285040 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802880E4 00285044 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802880E8 00285048 DB 81 00 20 */ stfd f28, 0x20(r1) +/* 802880EC 0028504C F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 802880F0 00285050 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802880F4 00285054 7C 7F 1B 78 */ mr r31, r3 +/* 802880F8 00285058 FF 80 08 90 */ fmr f28, f1 +/* 802880FC 0028505C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80288100 00285060 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80288104 00285064 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80288108 00285068 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8028810C 0028506C D0 01 00 08 */ stfs f0, 8(r1) +/* 80288110 00285070 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80288114 00285074 4B FF CD 05 */ bl GetUnbiasedEyeHeight__7CPlayerCFv +/* 80288118 00285078 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8028811C 0028507C 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80288120 00285080 EF E0 08 2A */ fadds f31, f0, f1 +/* 80288124 00285084 2C 00 00 00 */ cmpwi r0, 0 +/* 80288128 00285088 40 82 01 08 */ bne lbl_80288230 +/* 8028812C 0028508C 7F E3 FB 78 */ mr r3, r31 +/* 80288130 00285090 4B D9 20 E5 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 80288134 00285094 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80288138 00285098 40 82 00 F8 */ bne lbl_80288230 +/* 8028813C 0028509C 88 1F 09 C5 */ lbz r0, 0x9c5(r31) +/* 80288140 002850A0 FF C0 F8 90 */ fmr f30, f31 +/* 80288144 002850A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80288148 002850A8 40 82 00 D8 */ bne lbl_80288220 +/* 8028814C 002850AC C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 80288150 002850B0 C0 5F 01 40 */ lfs f2, 0x140(r31) +/* 80288154 002850B4 EF BF 00 28 */ fsubs f29, f31, f0 +/* 80288158 002850B8 C0 22 BE 28 */ lfs f1, lbl_805ADB48@sda21(r2) +/* 8028815C 002850BC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288160 002850C0 EC 5C 00 B2 */ fmuls f2, f28, f2 +/* 80288164 002850C4 EF 81 07 32 */ fmuls f28, f1, f28 +/* 80288168 002850C8 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8028816C 002850CC 40 81 00 58 */ ble lbl_802881C4 +/* 80288170 002850D0 FC 1D 10 40 */ fcmpo cr0, f29, f2 +/* 80288174 002850D4 40 81 00 AC */ ble lbl_80288220 +/* 80288178 002850D8 FC 1D E0 40 */ fcmpo cr0, f29, f28 +/* 8028817C 002850DC 40 81 00 A4 */ ble lbl_80288220 +/* 80288180 002850E0 7F E3 FB 78 */ mr r3, r31 +/* 80288184 002850E4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80288188 002850E8 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 8028818C 002850EC 7D 89 03 A6 */ mtctr r12 +/* 80288190 002850F0 4E 80 04 21 */ bctrl +/* 80288194 002850F4 FC 1D 08 40 */ fcmpo cr0, f29, f1 +/* 80288198 002850F8 40 81 00 20 */ ble lbl_802881B8 +/* 8028819C 002850FC 7F E3 FB 78 */ mr r3, r31 +/* 802881A0 00285100 81 9F 00 00 */ lwz r12, 0(r31) +/* 802881A4 00285104 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 802881A8 00285108 7D 89 03 A6 */ mtctr r12 +/* 802881AC 0028510C 4E 80 04 21 */ bctrl +/* 802881B0 00285110 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 802881B4 00285114 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_802881B8: +/* 802881B8 00285118 C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 802881BC 0028511C EF E0 E0 2A */ fadds f31, f0, f28 +/* 802881C0 00285120 48 00 00 60 */ b lbl_80288220 +lbl_802881C4: +/* 802881C4 00285124 FC 1D 10 40 */ fcmpo cr0, f29, f2 +/* 802881C8 00285128 40 80 00 58 */ bge lbl_80288220 +/* 802881CC 0028512C FC 00 E0 50 */ fneg f0, f28 +/* 802881D0 00285130 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802881D4 00285134 40 80 00 4C */ bge lbl_80288220 +/* 802881D8 00285138 7F E3 FB 78 */ mr r3, r31 +/* 802881DC 0028513C 81 9F 00 00 */ lwz r12, 0(r31) +/* 802881E0 00285140 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 802881E4 00285144 7D 89 03 A6 */ mtctr r12 +/* 802881E8 00285148 4E 80 04 21 */ bctrl +/* 802881EC 0028514C FC 00 08 50 */ fneg f0, f1 +/* 802881F0 00285150 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802881F4 00285154 40 80 00 24 */ bge lbl_80288218 +/* 802881F8 00285158 7F E3 FB 78 */ mr r3, r31 +/* 802881FC 0028515C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80288200 00285160 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 80288204 00285164 7D 89 03 A6 */ mtctr r12 +/* 80288208 00285168 4E 80 04 21 */ bctrl +/* 8028820C 0028516C FC 00 E8 50 */ fneg f0, f29 +/* 80288210 00285170 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80288214 00285174 EF 9C 00 2A */ fadds f28, f28, f0 +lbl_80288218: +/* 80288218 00285178 C0 1F 09 CC */ lfs f0, 0x9cc(r31) +/* 8028821C 0028517C EF E0 E0 28 */ fsubs f31, f0, f28 +lbl_80288220: +/* 80288220 00285180 EC 3F F0 28 */ fsubs f1, f31, f30 +/* 80288224 00285184 7F E3 FB 78 */ mr r3, r31 +/* 80288228 00285188 4B FF C1 45 */ bl SetEyeZBias__7CPlayerFf +/* 8028822C 0028518C 48 00 00 10 */ b lbl_8028823C +lbl_80288230: +/* 80288230 00285190 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) +/* 80288234 00285194 7F E3 FB 78 */ mr r3, r31 +/* 80288238 00285198 4B FF C1 35 */ bl SetEyeZBias__7CPlayerFf +lbl_8028823C: +/* 8028823C 0028519C D3 FF 09 CC */ stfs f31, 0x9cc(r31) +/* 80288240 002851A0 38 60 00 00 */ li r3, 0 +/* 80288244 002851A4 88 1F 09 C5 */ lbz r0, 0x9c5(r31) +/* 80288248 002851A8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8028824C 002851AC 98 1F 09 C5 */ stb r0, 0x9c5(r31) +/* 80288250 002851B0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80288254 002851B4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80288258 002851B8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8028825C 002851BC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80288260 002851C0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80288264 002851C4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80288268 002851C8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 8028826C 002851CC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 80288270 002851D0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80288274 002851D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288278 002851D8 7C 08 03 A6 */ mtlr r0 +/* 8028827C 002851DC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80288280 002851E0 4E 80 00 20 */ blr + +.global UpdateBombJumpStuff__7CPlayerFv +UpdateBombJumpStuff__7CPlayerFv: +/* 80288284 002851E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288288 002851E8 7C 08 02 A6 */ mflr r0 +/* 8028828C 002851EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288290 002851F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80288294 002851F4 7C 7F 1B 78 */ mr r31, r3 +/* 80288298 002851F8 80 03 09 D0 */ lwz r0, 0x9d0(r3) +/* 8028829C 002851FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802882A0 00285200 41 82 00 6C */ beq lbl_8028830C +/* 802882A4 00285204 80 7F 09 D4 */ lwz r3, 0x9d4(r31) +/* 802882A8 00285208 34 03 FF FF */ addic. r0, r3, -1 +/* 802882AC 0028520C 90 1F 09 D4 */ stw r0, 0x9d4(r31) +/* 802882B0 00285210 41 81 00 5C */ bgt lbl_8028830C +/* 802882B4 00285214 C0 3F 01 38 */ lfs f1, 0x138(r31) +/* 802882B8 00285218 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802882BC 0028521C D0 21 00 08 */ stfs f1, 8(r1) +/* 802882C0 00285220 C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 802882C4 00285224 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802882C8 00285228 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 802882CC 0028522C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802882D0 00285230 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802882D4 00285234 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802882D8 00285238 2C 00 00 00 */ cmpwi r0, 0 +/* 802882DC 0028523C 41 82 00 28 */ beq lbl_80288304 +/* 802882E0 00285240 38 61 00 08 */ addi r3, r1, 8 +/* 802882E4 00285244 48 08 C4 15 */ bl CanBeNormalized__9CVector3fCFv +/* 802882E8 00285248 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802882EC 0028524C 41 82 00 20 */ beq lbl_8028830C +/* 802882F0 00285250 38 61 00 08 */ addi r3, r1, 8 +/* 802882F4 00285254 48 08 C5 C5 */ bl Magnitude__9CVector3fCFv +/* 802882F8 00285258 C0 02 BE 54 */ lfs f0, lbl_805ADB74@sda21(r2) +/* 802882FC 0028525C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288300 00285260 40 81 00 0C */ ble lbl_8028830C +lbl_80288304: +/* 80288304 00285264 38 00 00 00 */ li r0, 0 +/* 80288308 00285268 90 1F 09 D0 */ stw r0, 0x9d0(r31) +lbl_8028830C: +/* 8028830C 0028526C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288310 00285270 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288314 00285274 7C 08 03 A6 */ mtlr r0 +/* 80288318 00285278 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028831C 0028527C 4E 80 00 20 */ blr + +.global GetWeight__7CPlayerCFv +GetWeight__7CPlayerCFv: +/* 80288320 00285280 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288324 00285284 7C 08 02 A6 */ mflr r0 +/* 80288328 00285288 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028832C 0028528C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80288330 00285290 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80288334 00285294 C3 E3 00 E8 */ lfs f31, 0xe8(r3) +/* 80288338 00285298 48 00 00 25 */ bl GetGravity__7CPlayerCFv +/* 8028833C 0028529C FC 00 08 50 */ fneg f0, f1 +/* 80288340 002852A0 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80288344 002852A4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80288348 002852A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028834C 002852AC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80288350 002852B0 7C 08 03 A6 */ mtlr r0 +/* 80288354 002852B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288358 002852B8 4E 80 00 20 */ blr + +.global GetGravity__7CPlayerCFv +GetGravity__7CPlayerCFv: +/* 8028835C 002852BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288360 002852C0 7C 08 02 A6 */ mflr r0 +/* 80288364 002852C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288368 002852C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028836C 002852CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80288370 002852D0 7C 7E 1B 78 */ mr r30, r3 +/* 80288374 002852D4 38 61 00 08 */ addi r3, r1, 8 +/* 80288378 002852D8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) +/* 8028837C 002852DC 4B F4 B5 A5 */ bl GetPlayerState__10CGameStateCFv +/* 80288380 002852E0 80 61 00 08 */ lwz r3, 8(r1) +/* 80288384 002852E4 38 80 00 15 */ li r4, 0x15 +/* 80288388 002852E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8028838C 002852EC 4B E0 97 35 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 80288390 002852F0 7C 7F 1B 78 */ mr r31, r3 +/* 80288394 002852F4 38 61 00 08 */ addi r3, r1, 8 +/* 80288398 002852F8 4B D8 0B 75 */ bl sub_80008f0c +/* 8028839C 002852FC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802883A0 00285300 40 82 00 20 */ bne lbl_802883C0 +/* 802883A4 00285304 7F C3 F3 78 */ mr r3, r30 +/* 802883A8 00285308 4B FF CC 65 */ bl CheckSubmerged__7CPlayerCFv +/* 802883AC 0028530C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802883B0 00285310 41 82 00 10 */ beq lbl_802883C0 +/* 802883B4 00285314 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802883B8 00285318 C0 23 00 C8 */ lfs f1, 0xc8(r3) +/* 802883BC 0028531C 48 00 00 20 */ b lbl_802883DC +lbl_802883C0: +/* 802883C0 00285320 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 802883C4 00285324 28 00 00 00 */ cmplwi r0, 0 +/* 802883C8 00285328 41 82 00 0C */ beq lbl_802883D4 +/* 802883CC 0028532C C0 22 BE 58 */ lfs f1, lbl_805ADB78@sda21(r2) +/* 802883D0 00285330 48 00 00 0C */ b lbl_802883DC +lbl_802883D4: +/* 802883D4 00285334 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 802883D8 00285338 C0 23 00 C4 */ lfs f1, 0xc4(r3) +lbl_802883DC: +/* 802883DC 0028533C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802883E0 00285340 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802883E4 00285344 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802883E8 00285348 7C 08 03 A6 */ mtlr r0 +/* 802883EC 0028534C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802883F0 00285350 4E 80 00 20 */ blr + +.global GetAcceleration__7CPlayerCFv +GetAcceleration__7CPlayerCFv: +/* 802883F4 00285354 80 03 02 D0 */ lwz r0, 0x2d0(r3) +/* 802883F8 00285358 80 83 02 B4 */ lwz r4, 0x2b4(r3) +/* 802883FC 0028535C 7C 00 20 00 */ cmpw r0, r4 +/* 80288400 00285360 41 80 00 18 */ blt lbl_80288418 +/* 80288404 00285364 38 04 FF FF */ addi r0, r4, -1 +/* 80288408 00285368 54 00 10 3A */ slwi r0, r0, 2 +/* 8028840C 0028536C 7C 63 02 14 */ add r3, r3, r0 +/* 80288410 00285370 C0 23 02 B8 */ lfs f1, 0x2b8(r3) +/* 80288414 00285374 4E 80 00 20 */ blr +lbl_80288418: +/* 80288418 00285378 54 00 10 3A */ slwi r0, r0, 2 +/* 8028841C 0028537C 7C 63 02 14 */ add r3, r3, r0 +/* 80288420 00285380 C0 23 02 B8 */ lfs f1, 0x2b8(r3) +/* 80288424 00285384 4E 80 00 20 */ blr + +.global GetAverageSpeed__7CPlayerCFv +GetAverageSpeed__7CPlayerCFv: +/* 80288428 00285388 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028842C 0028538C 7C 08 02 A6 */ mflr r0 +/* 80288430 00285390 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288434 00285394 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80288438 00285398 7C 7F 1B 78 */ mr r31, r3 +/* 8028843C 0028539C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80288440 002853A0 38 9F 04 A4 */ addi r4, r31, 0x4a4 +/* 80288444 002853A4 48 00 00 4D */ bl sub_80288490 +/* 80288448 002853A8 88 61 00 14 */ lbz r3, 0x14(r1) +/* 8028844C 002853AC 38 00 00 00 */ li r0, 0 +/* 80288450 002853B0 28 03 00 00 */ cmplwi r3, 0 +/* 80288454 002853B4 98 01 00 14 */ stb r0, 0x14(r1) +/* 80288458 002853B8 41 82 00 20 */ beq lbl_80288478 +/* 8028845C 002853BC 38 61 00 08 */ addi r3, r1, 8 +/* 80288460 002853C0 38 9F 04 A4 */ addi r4, r31, 0x4a4 +/* 80288464 002853C4 48 00 00 2D */ bl sub_80288490 +/* 80288468 002853C8 38 00 00 00 */ li r0, 0 +/* 8028846C 002853CC C0 21 00 08 */ lfs f1, 8(r1) +/* 80288470 002853D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80288474 002853D4 48 00 00 08 */ b lbl_8028847C +lbl_80288478: +/* 80288478 002853D8 C0 3F 04 F8 */ lfs f1, 0x4f8(r31) +lbl_8028847C: +/* 8028847C 002853DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288480 002853E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288484 002853E4 7C 08 03 A6 */ mtlr r0 +/* 80288488 002853E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028848C 002853EC 4E 80 00 20 */ blr + +.global sub_80288490 +sub_80288490: +/* 80288490 002853F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80288494 002853F4 7C 08 02 A6 */ mflr r0 +/* 80288498 002853F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028849C 002853FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802884A0 00285400 7C 7F 1B 78 */ mr r31, r3 +/* 802884A4 00285404 80 04 00 00 */ lwz r0, 0(r4) +/* 802884A8 00285408 2C 00 00 00 */ cmpwi r0, 0 +/* 802884AC 0028540C 40 82 00 10 */ bne lbl_802884BC +/* 802884B0 00285410 38 00 00 00 */ li r0, 0 +/* 802884B4 00285414 98 1F 00 04 */ stb r0, 4(r31) +/* 802884B8 00285418 48 00 00 24 */ b lbl_802884DC +lbl_802884BC: +/* 802884BC 0028541C 38 64 00 04 */ addi r3, r4, 4 +/* 802884C0 00285420 7C 04 03 78 */ mr r4, r0 +/* 802884C4 00285424 4B D8 03 D1 */ bl "GetAverageValue__FPCfi" +/* 802884C8 00285428 38 00 00 01 */ li r0, 1 +/* 802884CC 0028542C 28 1F 00 00 */ cmplwi r31, 0 +/* 802884D0 00285430 98 1F 00 04 */ stb r0, 4(r31) +/* 802884D4 00285434 41 82 00 08 */ beq lbl_802884DC +/* 802884D8 00285438 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_802884DC: +/* 802884DC 0028543C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802884E0 00285440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802884E4 00285444 7C 08 03 A6 */ mtlr r0 +/* 802884E8 00285448 38 21 00 10 */ addi r1, r1, 0x10 +/* 802884EC 0028544C 4E 80 00 20 */ blr + +.global GetDampedClampedVelocityWR__7CPlayerCFv +GetDampedClampedVelocityWR__7CPlayerCFv: +/* 802884F0 00285450 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802884F4 00285454 7C 08 02 A6 */ mflr r0 +/* 802884F8 00285458 90 01 00 54 */ stw r0, 0x54(r1) +/* 802884FC 0028545C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80288500 00285460 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80288504 00285464 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80288508 00285468 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8028850C 0028546C 7C 9F 23 78 */ mr r31, r4 +/* 80288510 00285470 7C 7E 1B 78 */ mr r30, r3 +/* 80288514 00285474 38 61 00 18 */ addi r3, r1, 0x18 +/* 80288518 00285478 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8028851C 0028547C 38 BF 01 38 */ addi r5, r31, 0x138 +/* 80288520 00285480 48 08 A5 05 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80288524 00285484 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 80288528 00285488 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8028852C 0028548C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80288530 00285490 2C 00 00 02 */ cmpwi r0, 2 +/* 80288534 00285494 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80288538 00285498 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8028853C 0028549C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80288540 002854A0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80288544 002854A4 40 82 00 28 */ bne lbl_8028856C +/* 80288548 002854A8 40 82 01 04 */ bne lbl_8028864C +/* 8028854C 002854AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80288550 002854B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80288554 002854B4 40 82 00 0C */ bne lbl_80288560 +/* 80288558 002854B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8028855C 002854BC 48 00 00 08 */ b lbl_80288564 +lbl_80288560: +/* 80288560 002854C0 38 00 00 04 */ li r0, 4 +lbl_80288564: +/* 80288564 002854C4 2C 00 00 01 */ cmpwi r0, 1 +/* 80288568 002854C8 41 82 00 E4 */ beq lbl_8028864C +lbl_8028856C: +/* 8028856C 002854CC 80 1F 03 04 */ lwz r0, 0x304(r31) +/* 80288570 002854D0 2C 00 00 00 */ cmpwi r0, 0 +/* 80288574 002854D4 40 82 00 D8 */ bne lbl_8028864C +/* 80288578 002854D8 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 8028857C 002854DC 2C 00 00 02 */ cmpwi r0, 2 +/* 80288580 002854E0 40 82 00 0C */ bne lbl_8028858C +/* 80288584 002854E4 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 80288588 002854E8 48 00 00 08 */ b lbl_80288590 +lbl_8028858C: +/* 8028858C 002854EC 38 00 00 04 */ li r0, 4 +lbl_80288590: +/* 80288590 002854F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80288594 002854F4 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 80288598 002854F8 41 80 00 0C */ blt lbl_802885A4 +/* 8028859C 002854FC 2C 00 00 07 */ cmpwi r0, 7 +/* 802885A0 00285500 40 81 00 08 */ ble lbl_802885A8 +lbl_802885A4: +/* 802885A4 00285504 38 00 00 00 */ li r0, 0 +lbl_802885A8: +/* 802885A8 00285508 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802885AC 0028550C 54 00 10 3A */ slwi r0, r0, 2 +/* 802885B0 00285510 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802885B4 00285514 7C 63 02 14 */ add r3, r3, r0 +/* 802885B8 00285518 C3 E3 00 44 */ lfs f31, 0x44(r3) +/* 802885BC 0028551C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802885C0 00285520 40 81 00 24 */ ble lbl_802885E4 +/* 802885C4 00285524 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802885C8 00285528 38 81 00 14 */ addi r4, r1, 0x14 +/* 802885CC 0028552C 38 6D 99 44 */ addi r3, r13, lbl_805A8504@sda21 +/* 802885D0 00285530 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802885D4 00285534 4B DC 71 5D */ bl "Max__5CMathFRCfRCf" +/* 802885D8 00285538 C0 03 00 00 */ lfs f0, 0(r3) +/* 802885DC 0028553C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802885E0 00285540 48 00 00 20 */ b lbl_80288600 +lbl_802885E4: +/* 802885E4 00285544 EC 1F 08 2A */ fadds f0, f31, f1 +/* 802885E8 00285548 38 81 00 10 */ addi r4, r1, 0x10 +/* 802885EC 0028554C 38 6D 99 48 */ addi r3, r13, lbl_805A8508@sda21 +/* 802885F0 00285550 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802885F4 00285554 4B DF 57 ED */ bl "Min__5CMathFRCfRCf" +/* 802885F8 00285558 C0 03 00 00 */ lfs f0, 0(r3) +/* 802885FC 0028555C D0 01 00 28 */ stfs f0, 0x28(r1) +lbl_80288600: +/* 80288600 00285560 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80288604 00285564 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 80288608 00285568 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028860C 0028556C 40 81 00 24 */ ble lbl_80288630 +/* 80288610 00285570 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80288614 00285574 38 81 00 0C */ addi r4, r1, 0xc +/* 80288618 00285578 38 6D 99 4C */ addi r3, r13, lbl_805A850C@sda21 +/* 8028861C 0028557C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80288620 00285580 4B DC 71 11 */ bl "Max__5CMathFRCfRCf" +/* 80288624 00285584 C0 03 00 00 */ lfs f0, 0(r3) +/* 80288628 00285588 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8028862C 0028558C 48 00 00 20 */ b lbl_8028864C +lbl_80288630: +/* 80288630 00285590 EC 1F 08 2A */ fadds f0, f31, f1 +/* 80288634 00285594 38 81 00 08 */ addi r4, r1, 8 +/* 80288638 00285598 38 6D 99 50 */ addi r3, r13, lbl_805A8510@sda21 +/* 8028863C 0028559C D0 01 00 08 */ stfs f0, 8(r1) +/* 80288640 002855A0 4B DF 57 A1 */ bl "Min__5CMathFRCfRCf" +/* 80288644 002855A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80288648 002855A8 D0 01 00 24 */ stfs f0, 0x24(r1) +lbl_8028864C: +/* 8028864C 002855AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 80288650 002855B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80288654 002855B4 40 82 00 0C */ bne lbl_80288660 +/* 80288658 002855B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8028865C 002855BC 48 00 00 08 */ b lbl_80288664 +lbl_80288660: +/* 80288660 002855C0 38 00 00 04 */ li r0, 4 +lbl_80288664: +/* 80288664 002855C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80288668 002855C8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8028866C 002855CC 41 80 00 0C */ blt lbl_80288678 +/* 80288670 002855D0 2C 00 00 07 */ cmpwi r0, 7 +/* 80288674 002855D4 40 81 00 08 */ ble lbl_8028867C +lbl_80288678: +/* 80288678 002855D8 38 00 00 00 */ li r0, 0 +lbl_8028867C: +/* 8028867C 002855DC C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80288680 002855E0 54 00 10 3A */ slwi r0, r0, 2 +/* 80288684 002855E4 7C 63 02 14 */ add r3, r3, r0 +/* 80288688 002855E8 FC 20 12 10 */ fabs f1, f2 +/* 8028868C 002855EC C0 03 00 A4 */ lfs f0, 0xa4(r3) +/* 80288690 002855F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288694 002855F4 40 81 00 14 */ ble lbl_802886A8 +/* 80288698 002855F8 C0 62 BD C8 */ lfs f3, lbl_805ADAE8@sda21(r2) +/* 8028869C 002855FC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) +/* 802886A0 00285600 FC 22 18 6E */ fsel f1, f2, f1, f3 +/* 802886A4 00285604 EC 40 00 72 */ fmuls f2, f0, f1 +lbl_802886A8: +/* 802886A8 00285608 80 1F 02 58 */ lwz r0, 0x258(r31) +/* 802886AC 0028560C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802886B0 00285610 2C 00 00 00 */ cmpwi r0, 0 +/* 802886B4 00285614 40 82 00 0C */ bne lbl_802886C0 +/* 802886B8 00285618 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) +/* 802886BC 0028561C D0 01 00 2C */ stfs f0, 0x2c(r1) +lbl_802886C0: +/* 802886C0 00285620 7F C3 F3 78 */ mr r3, r30 +/* 802886C4 00285624 38 9F 00 34 */ addi r4, r31, 0x34 +/* 802886C8 00285628 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802886CC 0028562C 48 08 A3 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802886D0 00285630 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 802886D4 00285634 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802886D8 00285638 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 802886DC 0028563C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802886E0 00285640 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802886E4 00285644 7C 08 03 A6 */ mtlr r0 +/* 802886E8 00285648 38 21 00 50 */ addi r1, r1, 0x50 +/* 802886EC 0028564C 4E 80 00 20 */ blr + +.global __sinit_CPlayerDynamics_cpp +__sinit_CPlayerDynamics_cpp: +/* 802886F0 00285650 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802886F4 00285654 7C 08 02 A6 */ mflr r0 +/* 802886F8 00285658 38 60 00 00 */ li r3, 0 +/* 802886FC 0028565C 38 80 00 01 */ li r4, 1 +/* 80288700 00285660 90 01 00 34 */ stw r0, 0x34(r1) +/* 80288704 00285664 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80288708 00285668 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028870C 0028566C 80 AD 99 30 */ lwz r5, lbl_805A84F0@sda21(r13) +/* 80288710 00285670 48 10 17 E5 */ bl __shl2i +/* 80288714 00285674 90 8D A5 94 */ stw r4, lbl_805A9154@sda21(r13) +/* 80288718 00285678 38 80 00 01 */ li r4, 1 +/* 8028871C 0028567C 80 AD 99 34 */ lwz r5, lbl_805A84F4@sda21(r13) +/* 80288720 00285680 90 6D A5 90 */ stw r3, lbl_805A9150@sda21(r13) +/* 80288724 00285684 38 60 00 00 */ li r3, 0 +/* 80288728 00285688 48 10 17 CD */ bl __shl2i +/* 8028872C 0028568C 80 AD 99 38 */ lwz r5, lbl_805A84F8@sda21(r13) +/* 80288730 00285690 7C 9E 23 78 */ mr r30, r4 +/* 80288734 00285694 7C 7F 1B 78 */ mr r31, r3 +/* 80288738 00285698 38 60 00 00 */ li r3, 0 +/* 8028873C 0028569C 38 80 00 01 */ li r4, 1 +/* 80288740 002856A0 48 10 17 B5 */ bl __shl2i +/* 80288744 002856A4 80 AD 99 3C */ lwz r5, lbl_805A84FC@sda21(r13) +/* 80288748 002856A8 7F DE 23 78 */ or r30, r30, r4 +/* 8028874C 002856AC 7F FF 1B 78 */ or r31, r31, r3 +/* 80288750 002856B0 38 60 00 00 */ li r3, 0 +/* 80288754 002856B4 38 80 00 01 */ li r4, 1 +/* 80288758 002856B8 48 10 17 9D */ bl __shl2i +/* 8028875C 002856BC 80 AD 99 40 */ lwz r5, lbl_805A8500@sda21(r13) +/* 80288760 002856C0 7F DE 23 78 */ or r30, r30, r4 +/* 80288764 002856C4 7F FF 1B 78 */ or r31, r31, r3 +/* 80288768 002856C8 38 60 00 00 */ li r3, 0 +/* 8028876C 002856CC 38 80 00 01 */ li r4, 1 +/* 80288770 002856D0 48 10 17 85 */ bl __shl2i +/* 80288774 002856D4 3C A0 80 47 */ lis r5, lbl_8046E0D8@ha +/* 80288778 002856D8 80 0D A5 90 */ lwz r0, lbl_805A9150@sda21(r13) +/* 8028877C 002856DC 7F DE 23 78 */ or r30, r30, r4 +/* 80288780 002856E0 7F FF 1B 78 */ or r31, r31, r3 +/* 80288784 002856E4 38 65 E0 D8 */ addi r3, r5, lbl_8046E0D8@l +/* 80288788 002856E8 38 A0 00 03 */ li r5, 3 +/* 8028878C 002856EC 80 8D A5 94 */ lwz r4, lbl_805A9154@sda21(r13) +/* 80288790 002856F0 93 CD A5 9C */ stw r30, lbl_805A915C@sda21(r13) +/* 80288794 002856F4 93 ED A5 98 */ stw r31, lbl_805A9158@sda21(r13) +/* 80288798 002856F8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8028879C 002856FC 90 83 00 04 */ stw r4, 4(r3) +/* 802887A0 00285700 90 03 00 00 */ stw r0, 0(r3) +/* 802887A4 00285704 93 C3 00 0C */ stw r30, 0xc(r3) +/* 802887A8 00285708 93 E3 00 08 */ stw r31, 8(r3) +/* 802887AC 0028570C 90 A3 00 10 */ stw r5, 0x10(r3) +/* 802887B0 00285710 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802887B4 00285714 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802887B8 00285718 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802887BC 0028571C 7C 08 03 A6 */ mtlr r0 +/* 802887C0 00285720 38 21 00 30 */ addi r1, r1, 0x30 +/* 802887C4 00285724 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CPlayerInputFilter.s b/asm/Kyoto_CWD/Player/CPlayerInputFilter.s new file mode 100644 index 00000000..3188cdd2 --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerInputFilter.s @@ -0,0 +1,831 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Reset__Q27CPlayer12CInputFilterFv +Reset__Q27CPlayer12CInputFilterFv: +/* 80296E24 00293D84 80 C3 00 00 */ lwz r6, 0(r3) +/* 80296E28 00293D88 38 80 00 00 */ li r4, 0 +/* 80296E2C 00293D8C 2C 06 00 00 */ cmpwi r6, 0 +/* 80296E30 00293D90 40 81 00 40 */ ble lbl_80296E70 +/* 80296E34 00293D94 2C 06 00 08 */ cmpwi r6, 8 +/* 80296E38 00293D98 38 A6 FF F8 */ addi r5, r6, -8 +/* 80296E3C 00293D9C 40 81 00 20 */ ble lbl_80296E5C +/* 80296E40 00293DA0 38 05 00 07 */ addi r0, r5, 7 +/* 80296E44 00293DA4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80296E48 00293DA8 7C 09 03 A6 */ mtctr r0 +/* 80296E4C 00293DAC 2C 05 00 00 */ cmpwi r5, 0 +/* 80296E50 00293DB0 40 81 00 0C */ ble lbl_80296E5C +lbl_80296E54: +/* 80296E54 00293DB4 38 84 00 08 */ addi r4, r4, 8 +/* 80296E58 00293DB8 42 00 FF FC */ bdnz lbl_80296E54 +lbl_80296E5C: +/* 80296E5C 00293DBC 7C 04 30 50 */ subf r0, r4, r6 +/* 80296E60 00293DC0 7C 09 03 A6 */ mtctr r0 +/* 80296E64 00293DC4 7C 04 30 00 */ cmpw r4, r6 +/* 80296E68 00293DC8 40 80 00 08 */ bge lbl_80296E70 +lbl_80296E6C: +/* 80296E6C 00293DCC 42 00 00 00 */ bdnz lbl_80296E6C +lbl_80296E70: +/* 80296E70 00293DD0 38 80 00 00 */ li r4, 0 +/* 80296E74 00293DD4 90 83 00 00 */ stw r4, 0(r3) +/* 80296E78 00293DD8 80 C3 00 54 */ lwz r6, 0x54(r3) +/* 80296E7C 00293DDC 2C 06 00 00 */ cmpwi r6, 0 +/* 80296E80 00293DE0 40 81 00 40 */ ble lbl_80296EC0 +/* 80296E84 00293DE4 2C 06 00 08 */ cmpwi r6, 8 +/* 80296E88 00293DE8 38 A6 FF F8 */ addi r5, r6, -8 +/* 80296E8C 00293DEC 40 81 00 20 */ ble lbl_80296EAC +/* 80296E90 00293DF0 38 05 00 07 */ addi r0, r5, 7 +/* 80296E94 00293DF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80296E98 00293DF8 7C 09 03 A6 */ mtctr r0 +/* 80296E9C 00293DFC 2C 05 00 00 */ cmpwi r5, 0 +/* 80296EA0 00293E00 40 81 00 0C */ ble lbl_80296EAC +lbl_80296EA4: +/* 80296EA4 00293E04 38 84 00 08 */ addi r4, r4, 8 +/* 80296EA8 00293E08 42 00 FF FC */ bdnz lbl_80296EA4 +lbl_80296EAC: +/* 80296EAC 00293E0C 7C 04 30 50 */ subf r0, r4, r6 +/* 80296EB0 00293E10 7C 09 03 A6 */ mtctr r0 +/* 80296EB4 00293E14 7C 04 30 00 */ cmpw r4, r6 +/* 80296EB8 00293E18 40 80 00 08 */ bge lbl_80296EC0 +lbl_80296EBC: +/* 80296EBC 00293E1C 42 00 00 00 */ bdnz lbl_80296EBC +lbl_80296EC0: +/* 80296EC0 00293E20 38 80 00 00 */ li r4, 0 +/* 80296EC4 00293E24 90 83 00 54 */ stw r4, 0x54(r3) +/* 80296EC8 00293E28 80 C3 01 48 */ lwz r6, 0x148(r3) +/* 80296ECC 00293E2C 2C 06 00 00 */ cmpwi r6, 0 +/* 80296ED0 00293E30 40 81 00 40 */ ble lbl_80296F10 +/* 80296ED4 00293E34 2C 06 00 08 */ cmpwi r6, 8 +/* 80296ED8 00293E38 38 A6 FF F8 */ addi r5, r6, -8 +/* 80296EDC 00293E3C 40 81 00 20 */ ble lbl_80296EFC +/* 80296EE0 00293E40 38 05 00 07 */ addi r0, r5, 7 +/* 80296EE4 00293E44 54 00 E8 FE */ srwi r0, r0, 3 +/* 80296EE8 00293E48 7C 09 03 A6 */ mtctr r0 +/* 80296EEC 00293E4C 2C 05 00 00 */ cmpwi r5, 0 +/* 80296EF0 00293E50 40 81 00 0C */ ble lbl_80296EFC +lbl_80296EF4: +/* 80296EF4 00293E54 38 84 00 08 */ addi r4, r4, 8 +/* 80296EF8 00293E58 42 00 FF FC */ bdnz lbl_80296EF4 +lbl_80296EFC: +/* 80296EFC 00293E5C 7C 04 30 50 */ subf r0, r4, r6 +/* 80296F00 00293E60 7C 09 03 A6 */ mtctr r0 +/* 80296F04 00293E64 7C 04 30 00 */ cmpw r4, r6 +/* 80296F08 00293E68 40 80 00 08 */ bge lbl_80296F10 +lbl_80296F0C: +/* 80296F0C 00293E6C 42 00 00 00 */ bdnz lbl_80296F0C +lbl_80296F10: +/* 80296F10 00293E70 38 80 00 00 */ li r4, 0 +/* 80296F14 00293E74 90 83 01 48 */ stw r4, 0x148(r3) +/* 80296F18 00293E78 80 C3 02 3C */ lwz r6, 0x23c(r3) +/* 80296F1C 00293E7C 2C 06 00 00 */ cmpwi r6, 0 +/* 80296F20 00293E80 40 81 00 40 */ ble lbl_80296F60 +/* 80296F24 00293E84 2C 06 00 08 */ cmpwi r6, 8 +/* 80296F28 00293E88 38 A6 FF F8 */ addi r5, r6, -8 +/* 80296F2C 00293E8C 40 81 00 20 */ ble lbl_80296F4C +/* 80296F30 00293E90 38 05 00 07 */ addi r0, r5, 7 +/* 80296F34 00293E94 54 00 E8 FE */ srwi r0, r0, 3 +/* 80296F38 00293E98 7C 09 03 A6 */ mtctr r0 +/* 80296F3C 00293E9C 2C 05 00 00 */ cmpwi r5, 0 +/* 80296F40 00293EA0 40 81 00 0C */ ble lbl_80296F4C +lbl_80296F44: +/* 80296F44 00293EA4 38 84 00 08 */ addi r4, r4, 8 +/* 80296F48 00293EA8 42 00 FF FC */ bdnz lbl_80296F44 +lbl_80296F4C: +/* 80296F4C 00293EAC 7C 04 30 50 */ subf r0, r4, r6 +/* 80296F50 00293EB0 7C 09 03 A6 */ mtctr r0 +/* 80296F54 00293EB4 7C 04 30 00 */ cmpw r4, r6 +/* 80296F58 00293EB8 40 80 00 08 */ bge lbl_80296F60 +lbl_80296F5C: +/* 80296F5C 00293EBC 42 00 00 00 */ bdnz lbl_80296F5C +lbl_80296F60: +/* 80296F60 00293EC0 38 00 00 00 */ li r0, 0 +/* 80296F64 00293EC4 90 03 02 3C */ stw r0, 0x23c(r3) +/* 80296F68 00293EC8 4E 80 00 20 */ blr + +.global Passes__Q27CPlayer12CInputFilterFv +Passes__Q27CPlayer12CInputFilterFv: +/* 80296F6C 00293ECC 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80296F70 00293ED0 7C 08 02 A6 */ mflr r0 +/* 80296F74 00293ED4 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80296F78 00293ED8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 80296F7C 00293EDC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 80296F80 00293EE0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 80296F84 00293EE4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 80296F88 00293EE8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 80296F8C 00293EEC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 80296F90 00293EF0 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 80296F94 00293EF4 93 C1 01 98 */ stw r30, 0x198(r1) +/* 80296F98 00293EF8 93 A1 01 94 */ stw r29, 0x194(r1) +/* 80296F9C 00293EFC 7C 7E 1B 78 */ mr r30, r3 +/* 80296FA0 00293F00 80 03 00 00 */ lwz r0, 0(r3) +/* 80296FA4 00293F04 2C 00 00 14 */ cmpwi r0, 0x14 +/* 80296FA8 00293F08 40 82 04 0C */ bne lbl_802973B4 +/* 80296FAC 00293F0C C3 E2 BF B0 */ lfs f31, lbl_805ADCD0@sda21(r2) +/* 80296FB0 00293F10 38 61 01 0C */ addi r3, r1, 0x10c +/* 80296FB4 00293F14 38 9E 01 48 */ addi r4, r30, 0x148 +/* 80296FB8 00293F18 38 A0 00 00 */ li r5, 0 +/* 80296FBC 00293F1C 48 00 04 B1 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 80296FC0 00293F20 38 61 00 FC */ addi r3, r1, 0xfc +/* 80296FC4 00293F24 38 9E 01 48 */ addi r4, r30, 0x148 +/* 80296FC8 00293F28 38 A0 00 00 */ li r5, 0 +/* 80296FCC 00293F2C 48 00 04 A1 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 80296FD0 00293F30 38 61 01 70 */ addi r3, r1, 0x170 +/* 80296FD4 00293F34 38 81 01 0C */ addi r4, r1, 0x10c +/* 80296FD8 00293F38 38 A1 00 FC */ addi r5, r1, 0xfc +/* 80296FDC 00293F3C 48 0A 15 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80296FE0 00293F40 38 00 00 00 */ li r0, 0 +/* 80296FE4 00293F44 38 61 00 EC */ addi r3, r1, 0xec +/* 80296FE8 00293F48 98 01 01 08 */ stb r0, 0x108(r1) +/* 80296FEC 00293F4C 38 9E 00 54 */ addi r4, r30, 0x54 +/* 80296FF0 00293F50 38 A0 00 00 */ li r5, 0 +/* 80296FF4 00293F54 98 01 01 18 */ stb r0, 0x118(r1) +/* 80296FF8 00293F58 48 00 04 75 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 80296FFC 00293F5C 38 61 00 DC */ addi r3, r1, 0xdc +/* 80297000 00293F60 38 9E 00 54 */ addi r4, r30, 0x54 +/* 80297004 00293F64 38 A0 00 00 */ li r5, 0 +/* 80297008 00293F68 48 00 04 65 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 8029700C 00293F6C 38 61 01 58 */ addi r3, r1, 0x158 +/* 80297010 00293F70 38 81 00 EC */ addi r4, r1, 0xec +/* 80297014 00293F74 38 A1 00 DC */ addi r5, r1, 0xdc +/* 80297018 00293F78 48 0A 14 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8029701C 00293F7C 38 00 00 00 */ li r0, 0 +/* 80297020 00293F80 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 80297024 00293F84 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 80297028 00293F88 38 9E 02 3C */ addi r4, r30, 0x23c +/* 8029702C 00293F8C 38 A0 00 00 */ li r5, 0 +/* 80297030 00293F90 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 80297034 00293F94 48 00 03 F5 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" +/* 80297038 00293F98 38 61 00 AC */ addi r3, r1, 0xac +/* 8029703C 00293F9C 38 9E 02 3C */ addi r4, r30, 0x23c +/* 80297040 00293FA0 38 A0 00 00 */ li r5, 0 +/* 80297044 00293FA4 48 00 03 E5 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" +/* 80297048 00293FA8 C0 42 BF B0 */ lfs f2, lbl_805ADCD0@sda21(r2) +/* 8029704C 00293FAC 38 61 01 40 */ addi r3, r1, 0x140 +/* 80297050 00293FB0 C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80297054 00293FB4 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80297058 00293FB8 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 8029705C 00293FBC 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80297060 00293FC0 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 80297064 00293FC4 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80297068 00293FC8 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 8029706C 00293FCC D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 80297070 00293FD0 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 80297074 00293FD4 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 80297078 00293FD8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8029707C 00293FDC D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 80297080 00293FE0 48 0A 14 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80297084 00293FE4 38 00 00 00 */ li r0, 0 +/* 80297088 00293FE8 38 61 00 9C */ addi r3, r1, 0x9c +/* 8029708C 00293FEC 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 80297090 00293FF0 38 9E 01 48 */ addi r4, r30, 0x148 +/* 80297094 00293FF4 3B E0 00 00 */ li r31, 0 +/* 80297098 00293FF8 38 A0 00 00 */ li r5, 0 +/* 8029709C 00293FFC 98 01 00 CC */ stb r0, 0xcc(r1) +/* 802970A0 00294000 48 00 03 CD */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 802970A4 00294004 38 61 00 9C */ addi r3, r1, 0x9c +/* 802970A8 00294008 48 07 D8 11 */ bl Magnitude__9CVector3fCFv +/* 802970AC 0029400C FC 00 08 18 */ frsp f0, f1 +/* 802970B0 00294010 38 00 00 00 */ li r0, 0 +/* 802970B4 00294014 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802970B8 00294018 3B A0 00 01 */ li r29, 1 +/* 802970BC 0029401C C3 A2 BF B4 */ lfs f29, lbl_805ADCD4@sda21(r2) +/* 802970C0 00294020 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 802970C4 00294024 C3 C2 BF B0 */ lfs f30, lbl_805ADCD0@sda21(r2) +/* 802970C8 00294028 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_802970CC: +/* 802970CC 0029402C 38 61 00 8C */ addi r3, r1, 0x8c +/* 802970D0 00294030 38 9E 00 54 */ addi r4, r30, 0x54 +/* 802970D4 00294034 38 BD FF FF */ addi r5, r29, -1 +/* 802970D8 00294038 48 00 03 95 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 802970DC 0029403C 7F A5 EB 78 */ mr r5, r29 +/* 802970E0 00294040 38 61 00 7C */ addi r3, r1, 0x7c +/* 802970E4 00294044 38 9E 00 54 */ addi r4, r30, 0x54 +/* 802970E8 00294048 48 00 03 85 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 802970EC 0029404C C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802970F0 00294050 38 00 00 00 */ li r0, 0 +/* 802970F4 00294054 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802970F8 00294058 C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 802970FC 0029405C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80297100 00294060 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80297104 00294064 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80297108 00294068 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8029710C 0029406C C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80297110 00294070 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80297114 00294074 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80297118 00294078 98 01 00 88 */ stb r0, 0x88(r1) +/* 8029711C 0029407C EC 03 00 FA */ fmadds f0, f3, f3, f0 +/* 80297120 00294080 98 01 00 98 */ stb r0, 0x98(r1) +/* 80297124 00294084 EC 21 00 7A */ fmadds f1, f1, f1, f0 +/* 80297128 00294088 FC 01 E8 40 */ fcmpo cr0, f1, f29 +/* 8029712C 0029408C 40 81 00 24 */ ble lbl_80297150 +/* 80297130 00294090 C0 02 BF B0 */ lfs f0, lbl_805ADCD0@sda21(r2) +/* 80297134 00294094 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80297138 00294098 40 82 00 08 */ bne lbl_80297140 +/* 8029713C 0029409C 48 00 00 10 */ b lbl_8029714C +lbl_80297140: +/* 80297140 002940A0 FC 00 08 34 */ frsqrte f0, f1 +/* 80297144 002940A4 FC 01 00 32 */ fmul f0, f1, f0 +/* 80297148 002940A8 FC 00 00 18 */ frsp f0, f0 +lbl_8029714C: +/* 8029714C 002940AC EF FF 00 2A */ fadds f31, f31, f0 +lbl_80297150: +/* 80297150 002940B0 7F A5 EB 78 */ mr r5, r29 +/* 80297154 002940B4 38 61 00 6C */ addi r3, r1, 0x6c +/* 80297158 002940B8 38 9E 00 54 */ addi r4, r30, 0x54 +/* 8029715C 002940BC 48 00 03 11 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 80297160 002940C0 38 61 01 58 */ addi r3, r1, 0x158 +/* 80297164 002940C4 38 81 00 6C */ addi r4, r1, 0x6c +/* 80297168 002940C8 48 0A 09 A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8029716C 002940CC 38 00 00 00 */ li r0, 0 +/* 80297170 002940D0 7F A5 EB 78 */ mr r5, r29 +/* 80297174 002940D4 98 01 00 78 */ stb r0, 0x78(r1) +/* 80297178 002940D8 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029717C 002940DC 38 9E 01 48 */ addi r4, r30, 0x148 +/* 80297180 002940E0 48 00 02 ED */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +/* 80297184 002940E4 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80297188 002940E8 38 00 00 00 */ li r0, 0 +/* 8029718C 002940EC C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80297190 002940F0 38 61 01 70 */ addi r3, r1, 0x170 +/* 80297194 002940F4 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80297198 002940F8 38 81 01 1C */ addi r4, r1, 0x11c +/* 8029719C 002940FC D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 802971A0 00294100 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 802971A4 00294104 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 802971A8 00294108 98 01 00 68 */ stb r0, 0x68(r1) +/* 802971AC 0029410C 48 0A 09 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802971B0 00294110 38 61 01 1C */ addi r3, r1, 0x11c +/* 802971B4 00294114 48 07 D7 05 */ bl Magnitude__9CVector3fCFv +/* 802971B8 00294118 FC 40 08 18 */ frsp f2, f1 +/* 802971BC 0029411C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802971C0 00294120 D0 21 00 08 */ stfs f1, 8(r1) +/* 802971C4 00294124 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802971C8 00294128 40 80 00 0C */ bge lbl_802971D4 +/* 802971CC 0029412C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802971D0 00294130 48 00 00 08 */ b lbl_802971D8 +lbl_802971D4: +/* 802971D4 00294134 38 61 00 08 */ addi r3, r1, 8 +lbl_802971D8: +/* 802971D8 00294138 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802971DC 0029413C C0 23 00 00 */ lfs f1, 0(r3) +/* 802971E0 00294140 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802971E4 00294144 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802971E8 00294148 40 80 00 0C */ bge lbl_802971F4 +/* 802971EC 0029414C 38 61 00 0C */ addi r3, r1, 0xc +/* 802971F0 00294150 48 00 00 08 */ b lbl_802971F8 +lbl_802971F4: +/* 802971F4 00294154 38 61 00 08 */ addi r3, r1, 8 +lbl_802971F8: +/* 802971F8 00294158 C0 03 00 00 */ lfs f0, 0(r3) +/* 802971FC 0029415C 7F A5 EB 78 */ mr r5, r29 +/* 80297200 00294160 38 61 00 44 */ addi r3, r1, 0x44 +/* 80297204 00294164 38 9E 02 3C */ addi r4, r30, 0x23c +/* 80297208 00294168 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8029720C 0029416C 48 00 02 1D */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" +/* 80297210 00294170 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 80297214 00294174 38 61 01 40 */ addi r3, r1, 0x140 +/* 80297218 00294178 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8029721C 0029417C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80297220 00294180 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80297224 00294184 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80297228 00294188 D3 C1 00 58 */ stfs f30, 0x58(r1) +/* 8029722C 0029418C 48 0A 08 DD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80297230 00294190 38 00 00 00 */ li r0, 0 +/* 80297234 00294194 7F C4 F3 78 */ mr r4, r30 +/* 80297238 00294198 98 01 00 4C */ stb r0, 0x4c(r1) +/* 8029723C 0029419C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80297240 002941A0 38 BD FF FF */ addi r5, r29, -1 +/* 80297244 002941A4 48 00 01 A9 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" +/* 80297248 002941A8 7F C4 F3 78 */ mr r4, r30 +/* 8029724C 002941AC 7F A5 EB 78 */ mr r5, r29 +/* 80297250 002941B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80297254 002941B4 48 00 01 99 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" +/* 80297258 002941B8 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8029725C 002941BC 38 00 00 00 */ li r0, 0 +/* 80297260 002941C0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80297264 002941C4 3B BD 00 01 */ addi r29, r29, 1 +/* 80297268 002941C8 2C 1D 00 14 */ cmpwi r29, 0x14 +/* 8029726C 002941CC 98 01 00 20 */ stb r0, 0x20(r1) +/* 80297270 002941D0 7C 85 18 50 */ subf r4, r5, r3 +/* 80297274 002941D4 7C 63 28 50 */ subf r3, r3, r5 +/* 80297278 002941D8 7C 83 1B 78 */ or r3, r4, r3 +/* 8029727C 002941DC 98 01 00 28 */ stb r0, 0x28(r1) +/* 80297280 002941E0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80297284 002941E4 7F FF 1A 14 */ add r31, r31, r3 +/* 80297288 002941E8 41 80 FE 44 */ blt lbl_802970CC +/* 8029728C 002941EC C0 22 BF B8 */ lfs f1, lbl_805ADCD8@sda21(r2) +/* 80297290 002941F0 3B A0 00 01 */ li r29, 1 +/* 80297294 002941F4 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80297298 002941F8 41 80 00 18 */ blt lbl_802972B0 +/* 8029729C 002941FC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802972A0 00294200 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802972A4 00294204 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802972A8 00294208 41 80 00 08 */ blt lbl_802972B0 +/* 802972AC 0029420C 7C 1D 03 78 */ mr r29, r0 +lbl_802972B0: +/* 802972B0 00294210 2C 1F 00 00 */ cmpwi r31, 0 +/* 802972B4 00294214 40 82 01 00 */ bne lbl_802973B4 +/* 802972B8 00294218 7F C4 F3 78 */ mr r4, r30 +/* 802972BC 0029421C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802972C0 00294220 38 A0 00 00 */ li r5, 0 +/* 802972C4 00294224 48 00 01 29 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" +/* 802972C8 00294228 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802972CC 0029422C 38 00 00 00 */ li r0, 0 +/* 802972D0 00294230 98 01 00 18 */ stb r0, 0x18(r1) +/* 802972D4 00294234 20 03 00 01 */ subfic r0, r3, 1 +/* 802972D8 00294238 7C 00 00 34 */ cntlzw r0, r0 +/* 802972DC 0029423C 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 802972E0 00294240 41 82 00 D4 */ beq lbl_802973B4 +/* 802972E4 00294244 C0 21 01 4C */ lfs f1, 0x14c(r1) +/* 802972E8 00294248 3B C1 01 4C */ addi r30, r1, 0x14c +/* 802972EC 0029424C C0 01 01 40 */ lfs f0, 0x140(r1) +/* 802972F0 00294250 38 61 00 38 */ addi r3, r1, 0x38 +/* 802972F4 00294254 C0 61 01 50 */ lfs f3, 0x150(r1) +/* 802972F8 00294258 C0 41 01 44 */ lfs f2, 0x144(r1) +/* 802972FC 0029425C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80297300 00294260 C0 21 01 54 */ lfs f1, 0x154(r1) +/* 80297304 00294264 C0 01 01 48 */ lfs f0, 0x148(r1) +/* 80297308 00294268 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8029730C 0029426C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 80297310 00294270 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80297314 00294274 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80297318 00294278 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029731C 0029427C 48 07 D5 9D */ bl Magnitude__9CVector3fCFv +/* 80297320 00294280 FF E0 08 90 */ fmr f31, f1 +/* 80297324 00294284 7F C5 F3 78 */ mr r5, r30 +/* 80297328 00294288 38 61 01 28 */ addi r3, r1, 0x128 +/* 8029732C 0029428C 38 81 01 40 */ addi r4, r1, 0x140 +/* 80297330 00294290 48 0A 11 D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80297334 00294294 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80297338 00294298 38 61 01 28 */ addi r3, r1, 0x128 +/* 8029733C 0029429C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 80297340 002942A0 48 0A 07 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80297344 002942A4 C0 21 01 34 */ lfs f1, 0x134(r1) +/* 80297348 002942A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029734C 002942AC C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80297350 002942B0 C0 61 01 38 */ lfs f3, 0x138(r1) +/* 80297354 002942B4 C0 41 01 2C */ lfs f2, 0x12c(r1) +/* 80297358 002942B8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8029735C 002942BC C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 80297360 002942C0 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 80297364 002942C4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80297368 002942C8 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8029736C 002942CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80297370 002942D0 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80297374 002942D4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80297378 002942D8 48 07 D5 41 */ bl Magnitude__9CVector3fCFv +/* 8029737C 002942DC C0 02 BF BC */ lfs f0, lbl_805ADCDC@sda21(r2) +/* 80297380 002942E0 38 60 00 01 */ li r3, 1 +/* 80297384 002942E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80297388 002942E8 41 80 00 14 */ blt lbl_8029739C +/* 8029738C 002942EC C0 02 BF C0 */ lfs f0, lbl_805ADCE0@sda21(r2) +/* 80297390 002942F0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80297394 002942F4 41 81 00 08 */ bgt lbl_8029739C +/* 80297398 002942F8 38 60 00 00 */ li r3, 0 +lbl_8029739C: +/* 8029739C 002942FC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802973A0 00294300 41 82 00 14 */ beq lbl_802973B4 +/* 802973A4 00294304 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802973A8 00294308 41 82 00 0C */ beq lbl_802973B4 +/* 802973AC 0029430C 38 60 00 01 */ li r3, 1 +/* 802973B0 00294310 48 00 00 08 */ b lbl_802973B8 +lbl_802973B4: +/* 802973B4 00294314 38 60 00 00 */ li r3, 0 +lbl_802973B8: +/* 802973B8 00294318 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802973BC 0029431C CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802973C0 00294320 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802973C4 00294324 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802973C8 00294328 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802973CC 0029432C CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802973D0 00294330 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 802973D4 00294334 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 802973D8 00294338 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802973DC 0029433C 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 802973E0 00294340 7C 08 03 A6 */ mtlr r0 +/* 802973E4 00294344 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802973E8 00294348 4E 80 00 20 */ blr + +.global "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" +"_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori": +/* 802973EC 0029434C 80 04 00 00 */ lwz r0, 0(r4) +/* 802973F0 00294350 7C 05 00 00 */ cmpw r5, r0 +/* 802973F4 00294354 41 80 00 10 */ blt lbl_80297404 +/* 802973F8 00294358 38 00 00 00 */ li r0, 0 +/* 802973FC 0029435C 98 03 00 04 */ stb r0, 4(r3) +/* 80297400 00294360 4E 80 00 20 */ blr +lbl_80297404: +/* 80297404 00294364 38 00 00 01 */ li r0, 1 +/* 80297408 00294368 28 03 00 00 */ cmplwi r3, 0 +/* 8029740C 0029436C 54 A5 10 3A */ slwi r5, r5, 2 +/* 80297410 00294370 98 03 00 04 */ stb r0, 4(r3) +/* 80297414 00294374 7C 84 2A 14 */ add r4, r4, r5 +/* 80297418 00294378 4D 82 00 20 */ beqlr +/* 8029741C 0029437C 80 04 00 04 */ lwz r0, 4(r4) +/* 80297420 00294380 90 03 00 00 */ stw r0, 0(r3) +/* 80297424 00294384 4E 80 00 20 */ blr + +.global "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" +"_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i": +/* 80297428 00294388 80 04 00 00 */ lwz r0, 0(r4) +/* 8029742C 0029438C 7C 05 00 00 */ cmpw r5, r0 +/* 80297430 00294390 41 80 00 10 */ blt lbl_80297440 +/* 80297434 00294394 38 00 00 00 */ li r0, 0 +/* 80297438 00294398 98 03 00 08 */ stb r0, 8(r3) +/* 8029743C 0029439C 4E 80 00 20 */ blr +lbl_80297440: +/* 80297440 002943A0 38 00 00 01 */ li r0, 1 +/* 80297444 002943A4 28 03 00 00 */ cmplwi r3, 0 +/* 80297448 002943A8 54 A5 18 38 */ slwi r5, r5, 3 +/* 8029744C 002943AC 98 03 00 08 */ stb r0, 8(r3) +/* 80297450 002943B0 7C 84 2A 14 */ add r4, r4, r5 +/* 80297454 002943B4 4D 82 00 20 */ beqlr +/* 80297458 002943B8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8029745C 002943BC D0 03 00 00 */ stfs f0, 0(r3) +/* 80297460 002943C0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80297464 002943C4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80297468 002943C8 4E 80 00 20 */ blr + +.global "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" +"_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i": +/* 8029746C 002943CC 80 04 00 00 */ lwz r0, 0(r4) +/* 80297470 002943D0 7C 05 00 00 */ cmpw r5, r0 +/* 80297474 002943D4 41 80 00 10 */ blt lbl_80297484 +/* 80297478 002943D8 38 00 00 00 */ li r0, 0 +/* 8029747C 002943DC 98 03 00 0C */ stb r0, 0xc(r3) +/* 80297480 002943E0 4E 80 00 20 */ blr +lbl_80297484: +/* 80297484 002943E4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 80297488 002943E8 38 00 00 01 */ li r0, 1 +/* 8029748C 002943EC 28 03 00 00 */ cmplwi r3, 0 +/* 80297490 002943F0 98 03 00 0C */ stb r0, 0xc(r3) +/* 80297494 002943F4 7C 84 2A 14 */ add r4, r4, r5 +/* 80297498 002943F8 4D 82 00 20 */ beqlr +/* 8029749C 002943FC C0 04 00 04 */ lfs f0, 4(r4) +/* 802974A0 00294400 D0 03 00 00 */ stfs f0, 0(r3) +/* 802974A4 00294404 C0 04 00 08 */ lfs f0, 8(r4) +/* 802974A8 00294408 D0 03 00 04 */ stfs f0, 4(r3) +/* 802974AC 0029440C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802974B0 00294410 D0 03 00 08 */ stfs f0, 8(r3) +/* 802974B4 00294414 4E 80 00 20 */ blr + +.global AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f +AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f: +/* 802974B8 00294418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802974BC 0029441C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802974C0 00294420 80 03 00 00 */ lwz r0, 0(r3) +/* 802974C4 00294424 2C 00 00 14 */ cmpwi r0, 0x14 +/* 802974C8 00294428 40 80 00 24 */ bge lbl_802974EC +/* 802974CC 0029442C 54 00 10 3A */ slwi r0, r0, 2 +/* 802974D0 00294430 7D 03 02 14 */ add r8, r3, r0 +/* 802974D4 00294434 35 08 00 04 */ addic. r8, r8, 4 +/* 802974D8 00294438 41 82 00 08 */ beq lbl_802974E0 +/* 802974DC 0029443C 90 88 00 00 */ stw r4, 0(r8) +lbl_802974E0: +/* 802974E0 00294440 81 03 00 00 */ lwz r8, 0(r3) +/* 802974E4 00294444 38 08 00 01 */ addi r0, r8, 1 +/* 802974E8 00294448 90 03 00 00 */ stw r0, 0(r3) +lbl_802974EC: +/* 802974EC 0029444C 81 03 00 00 */ lwz r8, 0(r3) +/* 802974F0 00294450 35 88 FF FF */ addic. r12, r8, -1 +/* 802974F4 00294454 55 80 10 3A */ slwi r0, r12, 2 +/* 802974F8 00294458 7D 88 63 78 */ mr r8, r12 +/* 802974FC 0029445C 7F E3 02 14 */ add r31, r3, r0 +/* 80297500 00294460 3B FF 00 04 */ addi r31, r31, 4 +/* 80297504 00294464 40 81 00 E8 */ ble lbl_802975EC +/* 80297508 00294468 55 80 E8 FF */ rlwinm. r0, r12, 0x1d, 3, 0x1f +/* 8029750C 0029446C 7C 09 03 A6 */ mtctr r0 +/* 80297510 00294470 41 82 00 B8 */ beq lbl_802975C8 +lbl_80297514: +/* 80297514 00294474 39 6C FF FF */ addi r11, r12, -1 +/* 80297518 00294478 55 6A 10 3A */ slwi r10, r11, 2 +/* 8029751C 0029447C 7D 23 52 14 */ add r9, r3, r10 +/* 80297520 00294480 39 6C FF FE */ addi r11, r12, -2 +/* 80297524 00294484 80 09 00 04 */ lwz r0, 4(r9) +/* 80297528 00294488 55 6A 10 3A */ slwi r10, r11, 2 +/* 8029752C 0029448C 7D 23 52 14 */ add r9, r3, r10 +/* 80297530 00294490 39 6C FF FD */ addi r11, r12, -3 +/* 80297534 00294494 90 1F 00 00 */ stw r0, 0(r31) +/* 80297538 00294498 55 6A 10 3A */ slwi r10, r11, 2 +/* 8029753C 0029449C 39 6C FF FC */ addi r11, r12, -4 +/* 80297540 002944A0 80 09 00 04 */ lwz r0, 4(r9) +/* 80297544 002944A4 7D 23 52 14 */ add r9, r3, r10 +/* 80297548 002944A8 55 6A 10 3A */ slwi r10, r11, 2 +/* 8029754C 002944AC 39 6C FF FB */ addi r11, r12, -5 +/* 80297550 002944B0 90 1F FF FC */ stw r0, -4(r31) +/* 80297554 002944B4 80 09 00 04 */ lwz r0, 4(r9) +/* 80297558 002944B8 7D 23 52 14 */ add r9, r3, r10 +/* 8029755C 002944BC 55 6A 10 3A */ slwi r10, r11, 2 +/* 80297560 002944C0 39 6C FF FA */ addi r11, r12, -6 +/* 80297564 002944C4 90 1F FF F8 */ stw r0, -8(r31) +/* 80297568 002944C8 80 09 00 04 */ lwz r0, 4(r9) +/* 8029756C 002944CC 7D 23 52 14 */ add r9, r3, r10 +/* 80297570 002944D0 55 6A 10 3A */ slwi r10, r11, 2 +/* 80297574 002944D4 39 6C FF F9 */ addi r11, r12, -7 +/* 80297578 002944D8 90 1F FF F4 */ stw r0, -0xc(r31) +/* 8029757C 002944DC 80 09 00 04 */ lwz r0, 4(r9) +/* 80297580 002944E0 7D 23 52 14 */ add r9, r3, r10 +/* 80297584 002944E4 55 6A 10 3A */ slwi r10, r11, 2 +/* 80297588 002944E8 39 6C FF F8 */ addi r11, r12, -8 +/* 8029758C 002944EC 90 1F FF F0 */ stw r0, -0x10(r31) +/* 80297590 002944F0 39 8C FF F8 */ addi r12, r12, -8 +/* 80297594 002944F4 80 09 00 04 */ lwz r0, 4(r9) +/* 80297598 002944F8 7D 23 52 14 */ add r9, r3, r10 +/* 8029759C 002944FC 55 6A 10 3A */ slwi r10, r11, 2 +/* 802975A0 00294500 90 1F FF EC */ stw r0, -0x14(r31) +/* 802975A4 00294504 80 09 00 04 */ lwz r0, 4(r9) +/* 802975A8 00294508 7D 23 52 14 */ add r9, r3, r10 +/* 802975AC 0029450C 90 1F FF E8 */ stw r0, -0x18(r31) +/* 802975B0 00294510 80 09 00 04 */ lwz r0, 4(r9) +/* 802975B4 00294514 90 1F FF E4 */ stw r0, -0x1c(r31) +/* 802975B8 00294518 3B FF FF E0 */ addi r31, r31, -32 +/* 802975BC 0029451C 42 00 FF 58 */ bdnz lbl_80297514 +/* 802975C0 00294520 71 08 00 07 */ andi. r8, r8, 7 +/* 802975C4 00294524 41 82 00 28 */ beq lbl_802975EC +lbl_802975C8: +/* 802975C8 00294528 7D 09 03 A6 */ mtctr r8 +lbl_802975CC: +/* 802975CC 0029452C 39 6C FF FF */ addi r11, r12, -1 +/* 802975D0 00294530 39 8C FF FF */ addi r12, r12, -1 +/* 802975D4 00294534 55 6A 10 3A */ slwi r10, r11, 2 +/* 802975D8 00294538 7D 23 52 14 */ add r9, r3, r10 +/* 802975DC 0029453C 80 09 00 04 */ lwz r0, 4(r9) +/* 802975E0 00294540 90 1F 00 00 */ stw r0, 0(r31) +/* 802975E4 00294544 3B FF FF FC */ addi r31, r31, -4 +/* 802975E8 00294548 42 00 FF E4 */ bdnz lbl_802975CC +lbl_802975EC: +/* 802975EC 0029454C 90 83 00 04 */ stw r4, 4(r3) +/* 802975F0 00294550 80 03 00 54 */ lwz r0, 0x54(r3) +/* 802975F4 00294554 2C 00 00 14 */ cmpwi r0, 0x14 +/* 802975F8 00294558 40 80 00 38 */ bge lbl_80297630 +/* 802975FC 0029455C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80297600 00294560 7C 83 02 14 */ add r4, r3, r0 +/* 80297604 00294564 34 84 00 58 */ addic. r4, r4, 0x58 +/* 80297608 00294568 41 82 00 1C */ beq lbl_80297624 +/* 8029760C 0029456C C0 05 00 00 */ lfs f0, 0(r5) +/* 80297610 00294570 D0 04 00 00 */ stfs f0, 0(r4) +/* 80297614 00294574 C0 05 00 04 */ lfs f0, 4(r5) +/* 80297618 00294578 D0 04 00 04 */ stfs f0, 4(r4) +/* 8029761C 0029457C C0 05 00 08 */ lfs f0, 8(r5) +/* 80297620 00294580 D0 04 00 08 */ stfs f0, 8(r4) +lbl_80297624: +/* 80297624 00294584 80 83 00 54 */ lwz r4, 0x54(r3) +/* 80297628 00294588 38 04 00 01 */ addi r0, r4, 1 +/* 8029762C 0029458C 90 03 00 54 */ stw r0, 0x54(r3) +lbl_80297630: +/* 80297630 00294590 80 83 00 54 */ lwz r4, 0x54(r3) +/* 80297634 00294594 39 83 00 58 */ addi r12, r3, 0x58 +/* 80297638 00294598 35 24 FF FF */ addic. r9, r4, -1 +/* 8029763C 0029459C 1C 09 00 0C */ mulli r0, r9, 0xc +/* 80297640 002945A0 7D 24 4B 78 */ mr r4, r9 +/* 80297644 002945A4 7D 6C 02 14 */ add r11, r12, r0 +/* 80297648 002945A8 40 81 00 E8 */ ble lbl_80297730 +/* 8029764C 002945AC 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f +/* 80297650 002945B0 7C 09 03 A6 */ mtctr r0 +/* 80297654 002945B4 41 82 00 A8 */ beq lbl_802976FC +lbl_80297658: +/* 80297658 002945B8 39 09 FF FF */ addi r8, r9, -1 +/* 8029765C 002945BC 1C 08 00 0C */ mulli r0, r8, 0xc +/* 80297660 002945C0 39 09 FF FE */ addi r8, r9, -2 +/* 80297664 002945C4 7D 4C 02 14 */ add r10, r12, r0 +/* 80297668 002945C8 C0 0A 00 00 */ lfs f0, 0(r10) +/* 8029766C 002945CC 1C 08 00 0C */ mulli r0, r8, 0xc +/* 80297670 002945D0 39 09 FF FD */ addi r8, r9, -3 +/* 80297674 002945D4 D0 0B 00 00 */ stfs f0, 0(r11) +/* 80297678 002945D8 C0 0A 00 04 */ lfs f0, 4(r10) +/* 8029767C 002945DC D0 0B 00 04 */ stfs f0, 4(r11) +/* 80297680 002945E0 C0 0A 00 08 */ lfs f0, 8(r10) +/* 80297684 002945E4 7D 4C 02 14 */ add r10, r12, r0 +/* 80297688 002945E8 1C 08 00 0C */ mulli r0, r8, 0xc +/* 8029768C 002945EC 39 09 FF FC */ addi r8, r9, -4 +/* 80297690 002945F0 D0 0B 00 08 */ stfs f0, 8(r11) +/* 80297694 002945F4 39 29 FF FC */ addi r9, r9, -4 +/* 80297698 002945F8 C0 0A 00 00 */ lfs f0, 0(r10) +/* 8029769C 002945FC D0 0B FF F4 */ stfs f0, -0xc(r11) +/* 802976A0 00294600 C0 0A 00 04 */ lfs f0, 4(r10) +/* 802976A4 00294604 D0 0B FF F8 */ stfs f0, -8(r11) +/* 802976A8 00294608 C0 0A 00 08 */ lfs f0, 8(r10) +/* 802976AC 0029460C 7D 4C 02 14 */ add r10, r12, r0 +/* 802976B0 00294610 1C 08 00 0C */ mulli r0, r8, 0xc +/* 802976B4 00294614 D0 0B FF FC */ stfs f0, -4(r11) +/* 802976B8 00294618 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802976BC 0029461C D0 0B FF E8 */ stfs f0, -0x18(r11) +/* 802976C0 00294620 C0 0A 00 04 */ lfs f0, 4(r10) +/* 802976C4 00294624 D0 0B FF EC */ stfs f0, -0x14(r11) +/* 802976C8 00294628 C0 0A 00 08 */ lfs f0, 8(r10) +/* 802976CC 0029462C 7D 4C 02 14 */ add r10, r12, r0 +/* 802976D0 00294630 D0 0B FF F0 */ stfs f0, -0x10(r11) +/* 802976D4 00294634 C0 0A 00 00 */ lfs f0, 0(r10) +/* 802976D8 00294638 D0 0B FF DC */ stfs f0, -0x24(r11) +/* 802976DC 0029463C C0 0A 00 04 */ lfs f0, 4(r10) +/* 802976E0 00294640 D0 0B FF E0 */ stfs f0, -0x20(r11) +/* 802976E4 00294644 C0 0A 00 08 */ lfs f0, 8(r10) +/* 802976E8 00294648 D0 0B FF E4 */ stfs f0, -0x1c(r11) +/* 802976EC 0029464C 39 6B FF D0 */ addi r11, r11, -48 +/* 802976F0 00294650 42 00 FF 68 */ bdnz lbl_80297658 +/* 802976F4 00294654 70 84 00 03 */ andi. r4, r4, 3 +/* 802976F8 00294658 41 82 00 38 */ beq lbl_80297730 +lbl_802976FC: +/* 802976FC 0029465C 7C 89 03 A6 */ mtctr r4 +lbl_80297700: +/* 80297700 00294660 39 09 FF FF */ addi r8, r9, -1 +/* 80297704 00294664 39 29 FF FF */ addi r9, r9, -1 +/* 80297708 00294668 1C 08 00 0C */ mulli r0, r8, 0xc +/* 8029770C 0029466C 7D 4C 02 14 */ add r10, r12, r0 +/* 80297710 00294670 C0 0A 00 00 */ lfs f0, 0(r10) +/* 80297714 00294674 D0 0B 00 00 */ stfs f0, 0(r11) +/* 80297718 00294678 C0 0A 00 04 */ lfs f0, 4(r10) +/* 8029771C 0029467C D0 0B 00 04 */ stfs f0, 4(r11) +/* 80297720 00294680 C0 0A 00 08 */ lfs f0, 8(r10) +/* 80297724 00294684 D0 0B 00 08 */ stfs f0, 8(r11) +/* 80297728 00294688 39 6B FF F4 */ addi r11, r11, -12 +/* 8029772C 0029468C 42 00 FF D4 */ bdnz lbl_80297700 +lbl_80297730: +/* 80297730 00294690 C0 05 00 00 */ lfs f0, 0(r5) +/* 80297734 00294694 D0 0C 00 00 */ stfs f0, 0(r12) +/* 80297738 00294698 C0 05 00 04 */ lfs f0, 4(r5) +/* 8029773C 0029469C D0 0C 00 04 */ stfs f0, 4(r12) +/* 80297740 002946A0 C0 05 00 08 */ lfs f0, 8(r5) +/* 80297744 002946A4 D0 0C 00 08 */ stfs f0, 8(r12) +/* 80297748 002946A8 80 03 01 48 */ lwz r0, 0x148(r3) +/* 8029774C 002946AC 2C 00 00 14 */ cmpwi r0, 0x14 +/* 80297750 002946B0 40 80 00 38 */ bge lbl_80297788 +/* 80297754 002946B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80297758 002946B8 7C 83 02 14 */ add r4, r3, r0 +/* 8029775C 002946BC 34 84 01 4C */ addic. r4, r4, 0x14c +/* 80297760 002946C0 41 82 00 1C */ beq lbl_8029777C +/* 80297764 002946C4 C0 06 00 00 */ lfs f0, 0(r6) +/* 80297768 002946C8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8029776C 002946CC C0 06 00 04 */ lfs f0, 4(r6) +/* 80297770 002946D0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80297774 002946D4 C0 06 00 08 */ lfs f0, 8(r6) +/* 80297778 002946D8 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8029777C: +/* 8029777C 002946DC 80 83 01 48 */ lwz r4, 0x148(r3) +/* 80297780 002946E0 38 04 00 01 */ addi r0, r4, 1 +/* 80297784 002946E4 90 03 01 48 */ stw r0, 0x148(r3) +lbl_80297788: +/* 80297788 002946E8 80 83 01 48 */ lwz r4, 0x148(r3) +/* 8029778C 002946EC 39 63 01 4C */ addi r11, r3, 0x14c +/* 80297790 002946F0 35 04 FF FF */ addic. r8, r4, -1 +/* 80297794 002946F4 1C 08 00 0C */ mulli r0, r8, 0xc +/* 80297798 002946F8 7D 04 43 78 */ mr r4, r8 +/* 8029779C 002946FC 7D 4B 02 14 */ add r10, r11, r0 +/* 802977A0 00294700 40 81 00 E8 */ ble lbl_80297888 +/* 802977A4 00294704 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f +/* 802977A8 00294708 7C 09 03 A6 */ mtctr r0 +/* 802977AC 0029470C 41 82 00 A8 */ beq lbl_80297854 +lbl_802977B0: +/* 802977B0 00294710 38 A8 FF FF */ addi r5, r8, -1 +/* 802977B4 00294714 1C 05 00 0C */ mulli r0, r5, 0xc +/* 802977B8 00294718 38 A8 FF FE */ addi r5, r8, -2 +/* 802977BC 0029471C 7D 2B 02 14 */ add r9, r11, r0 +/* 802977C0 00294720 C0 09 00 00 */ lfs f0, 0(r9) +/* 802977C4 00294724 1C 05 00 0C */ mulli r0, r5, 0xc +/* 802977C8 00294728 38 A8 FF FD */ addi r5, r8, -3 +/* 802977CC 0029472C D0 0A 00 00 */ stfs f0, 0(r10) +/* 802977D0 00294730 C0 09 00 04 */ lfs f0, 4(r9) +/* 802977D4 00294734 D0 0A 00 04 */ stfs f0, 4(r10) +/* 802977D8 00294738 C0 09 00 08 */ lfs f0, 8(r9) +/* 802977DC 0029473C 7D 2B 02 14 */ add r9, r11, r0 +/* 802977E0 00294740 1C 05 00 0C */ mulli r0, r5, 0xc +/* 802977E4 00294744 38 A8 FF FC */ addi r5, r8, -4 +/* 802977E8 00294748 D0 0A 00 08 */ stfs f0, 8(r10) +/* 802977EC 0029474C 39 08 FF FC */ addi r8, r8, -4 +/* 802977F0 00294750 C0 09 00 00 */ lfs f0, 0(r9) +/* 802977F4 00294754 D0 0A FF F4 */ stfs f0, -0xc(r10) +/* 802977F8 00294758 C0 09 00 04 */ lfs f0, 4(r9) +/* 802977FC 0029475C D0 0A FF F8 */ stfs f0, -8(r10) +/* 80297800 00294760 C0 09 00 08 */ lfs f0, 8(r9) +/* 80297804 00294764 7D 2B 02 14 */ add r9, r11, r0 +/* 80297808 00294768 1C 05 00 0C */ mulli r0, r5, 0xc +/* 8029780C 0029476C D0 0A FF FC */ stfs f0, -4(r10) +/* 80297810 00294770 C0 09 00 00 */ lfs f0, 0(r9) +/* 80297814 00294774 D0 0A FF E8 */ stfs f0, -0x18(r10) +/* 80297818 00294778 C0 09 00 04 */ lfs f0, 4(r9) +/* 8029781C 0029477C D0 0A FF EC */ stfs f0, -0x14(r10) +/* 80297820 00294780 C0 09 00 08 */ lfs f0, 8(r9) +/* 80297824 00294784 7D 2B 02 14 */ add r9, r11, r0 +/* 80297828 00294788 D0 0A FF F0 */ stfs f0, -0x10(r10) +/* 8029782C 0029478C C0 09 00 00 */ lfs f0, 0(r9) +/* 80297830 00294790 D0 0A FF DC */ stfs f0, -0x24(r10) +/* 80297834 00294794 C0 09 00 04 */ lfs f0, 4(r9) +/* 80297838 00294798 D0 0A FF E0 */ stfs f0, -0x20(r10) +/* 8029783C 0029479C C0 09 00 08 */ lfs f0, 8(r9) +/* 80297840 002947A0 D0 0A FF E4 */ stfs f0, -0x1c(r10) +/* 80297844 002947A4 39 4A FF D0 */ addi r10, r10, -48 +/* 80297848 002947A8 42 00 FF 68 */ bdnz lbl_802977B0 +/* 8029784C 002947AC 70 84 00 03 */ andi. r4, r4, 3 +/* 80297850 002947B0 41 82 00 38 */ beq lbl_80297888 +lbl_80297854: +/* 80297854 002947B4 7C 89 03 A6 */ mtctr r4 +lbl_80297858: +/* 80297858 002947B8 38 A8 FF FF */ addi r5, r8, -1 +/* 8029785C 002947BC 39 08 FF FF */ addi r8, r8, -1 +/* 80297860 002947C0 1C 05 00 0C */ mulli r0, r5, 0xc +/* 80297864 002947C4 7D 2B 02 14 */ add r9, r11, r0 +/* 80297868 002947C8 C0 09 00 00 */ lfs f0, 0(r9) +/* 8029786C 002947CC D0 0A 00 00 */ stfs f0, 0(r10) +/* 80297870 002947D0 C0 09 00 04 */ lfs f0, 4(r9) +/* 80297874 002947D4 D0 0A 00 04 */ stfs f0, 4(r10) +/* 80297878 002947D8 C0 09 00 08 */ lfs f0, 8(r9) +/* 8029787C 002947DC D0 0A 00 08 */ stfs f0, 8(r10) +/* 80297880 002947E0 39 4A FF F4 */ addi r10, r10, -12 +/* 80297884 002947E4 42 00 FF D4 */ bdnz lbl_80297858 +lbl_80297888: +/* 80297888 002947E8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8029788C 002947EC D0 0B 00 00 */ stfs f0, 0(r11) +/* 80297890 002947F0 C0 06 00 04 */ lfs f0, 4(r6) +/* 80297894 002947F4 D0 0B 00 04 */ stfs f0, 4(r11) +/* 80297898 002947F8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8029789C 002947FC D0 0B 00 08 */ stfs f0, 8(r11) +/* 802978A0 00294800 80 03 02 3C */ lwz r0, 0x23c(r3) +/* 802978A4 00294804 2C 00 00 14 */ cmpwi r0, 0x14 +/* 802978A8 00294808 40 80 00 30 */ bge lbl_802978D8 +/* 802978AC 0029480C 54 00 18 38 */ slwi r0, r0, 3 +/* 802978B0 00294810 7C 83 02 14 */ add r4, r3, r0 +/* 802978B4 00294814 34 84 02 40 */ addic. r4, r4, 0x240 +/* 802978B8 00294818 41 82 00 14 */ beq lbl_802978CC +/* 802978BC 0029481C C0 07 00 00 */ lfs f0, 0(r7) +/* 802978C0 00294820 D0 04 00 00 */ stfs f0, 0(r4) +/* 802978C4 00294824 C0 07 00 04 */ lfs f0, 4(r7) +/* 802978C8 00294828 D0 04 00 04 */ stfs f0, 4(r4) +lbl_802978CC: +/* 802978CC 0029482C 80 83 02 3C */ lwz r4, 0x23c(r3) +/* 802978D0 00294830 38 04 00 01 */ addi r0, r4, 1 +/* 802978D4 00294834 90 03 02 3C */ stw r0, 0x23c(r3) +lbl_802978D8: +/* 802978D8 00294838 80 83 02 3C */ lwz r4, 0x23c(r3) +/* 802978DC 0029483C 39 23 02 40 */ addi r9, r3, 0x240 +/* 802978E0 00294840 34 A4 FF FF */ addic. r5, r4, -1 +/* 802978E4 00294844 54 A0 18 38 */ slwi r0, r5, 3 +/* 802978E8 00294848 7C A3 2B 78 */ mr r3, r5 +/* 802978EC 0029484C 7D 09 02 14 */ add r8, r9, r0 +/* 802978F0 00294850 40 81 00 C0 */ ble lbl_802979B0 +/* 802978F4 00294854 54 A0 F0 BF */ rlwinm. r0, r5, 0x1e, 2, 0x1f +/* 802978F8 00294858 7C 09 03 A6 */ mtctr r0 +/* 802978FC 0029485C 41 82 00 88 */ beq lbl_80297984 +lbl_80297900: +/* 80297900 00294860 38 85 FF FF */ addi r4, r5, -1 +/* 80297904 00294864 54 80 18 38 */ slwi r0, r4, 3 +/* 80297908 00294868 7C C9 02 14 */ add r6, r9, r0 +/* 8029790C 0029486C 38 85 FF FE */ addi r4, r5, -2 +/* 80297910 00294870 C0 06 00 00 */ lfs f0, 0(r6) +/* 80297914 00294874 54 80 18 38 */ slwi r0, r4, 3 +/* 80297918 00294878 38 85 FF FD */ addi r4, r5, -3 +/* 8029791C 0029487C D0 08 00 00 */ stfs f0, 0(r8) +/* 80297920 00294880 C0 06 00 04 */ lfs f0, 4(r6) +/* 80297924 00294884 7C C9 02 14 */ add r6, r9, r0 +/* 80297928 00294888 54 80 18 38 */ slwi r0, r4, 3 +/* 8029792C 0029488C 38 85 FF FC */ addi r4, r5, -4 +/* 80297930 00294890 D0 08 00 04 */ stfs f0, 4(r8) +/* 80297934 00294894 38 A5 FF FC */ addi r5, r5, -4 +/* 80297938 00294898 C0 06 00 00 */ lfs f0, 0(r6) +/* 8029793C 0029489C D0 08 FF F8 */ stfs f0, -8(r8) +/* 80297940 002948A0 C0 06 00 04 */ lfs f0, 4(r6) +/* 80297944 002948A4 7C C9 02 14 */ add r6, r9, r0 +/* 80297948 002948A8 54 80 18 38 */ slwi r0, r4, 3 +/* 8029794C 002948AC D0 08 FF FC */ stfs f0, -4(r8) +/* 80297950 002948B0 C0 06 00 00 */ lfs f0, 0(r6) +/* 80297954 002948B4 D0 08 FF F0 */ stfs f0, -0x10(r8) +/* 80297958 002948B8 C0 06 00 04 */ lfs f0, 4(r6) +/* 8029795C 002948BC 7C C9 02 14 */ add r6, r9, r0 +/* 80297960 002948C0 D0 08 FF F4 */ stfs f0, -0xc(r8) +/* 80297964 002948C4 C0 06 00 00 */ lfs f0, 0(r6) +/* 80297968 002948C8 D0 08 FF E8 */ stfs f0, -0x18(r8) +/* 8029796C 002948CC C0 06 00 04 */ lfs f0, 4(r6) +/* 80297970 002948D0 D0 08 FF EC */ stfs f0, -0x14(r8) +/* 80297974 002948D4 39 08 FF E0 */ addi r8, r8, -32 +/* 80297978 002948D8 42 00 FF 88 */ bdnz lbl_80297900 +/* 8029797C 002948DC 70 63 00 03 */ andi. r3, r3, 3 +/* 80297980 002948E0 41 82 00 30 */ beq lbl_802979B0 +lbl_80297984: +/* 80297984 002948E4 7C 69 03 A6 */ mtctr r3 +lbl_80297988: +/* 80297988 002948E8 38 85 FF FF */ addi r4, r5, -1 +/* 8029798C 002948EC 38 A5 FF FF */ addi r5, r5, -1 +/* 80297990 002948F0 54 80 18 38 */ slwi r0, r4, 3 +/* 80297994 002948F4 7C C9 02 14 */ add r6, r9, r0 +/* 80297998 002948F8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8029799C 002948FC D0 08 00 00 */ stfs f0, 0(r8) +/* 802979A0 00294900 C0 06 00 04 */ lfs f0, 4(r6) +/* 802979A4 00294904 D0 08 00 04 */ stfs f0, 4(r8) +/* 802979A8 00294908 39 08 FF F8 */ addi r8, r8, -8 +/* 802979AC 0029490C 42 00 FF DC */ bdnz lbl_80297988 +lbl_802979B0: +/* 802979B0 00294910 C0 07 00 00 */ lfs f0, 0(r7) +/* 802979B4 00294914 D0 09 00 00 */ stfs f0, 0(r9) +/* 802979B8 00294918 C0 07 00 04 */ lfs f0, 4(r7) +/* 802979BC 0029491C D0 09 00 04 */ stfs f0, 4(r9) +/* 802979C0 00294920 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802979C4 00294924 38 21 00 10 */ addi r1, r1, 0x10 +/* 802979C8 00294928 4E 80 00 20 */ blr + +.global __ct__Q27CPlayer12CInputFilterFv +__ct__Q27CPlayer12CInputFilterFv: +/* 802979CC 0029492C 38 00 00 00 */ li r0, 0 +/* 802979D0 00294930 90 03 00 00 */ stw r0, 0(r3) +/* 802979D4 00294934 90 03 00 54 */ stw r0, 0x54(r3) +/* 802979D8 00294938 90 03 01 48 */ stw r0, 0x148(r3) +/* 802979DC 0029493C 90 03 02 3C */ stw r0, 0x23c(r3) +/* 802979E0 00294940 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s b/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s new file mode 100644 index 00000000..affe998f --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.s @@ -0,0 +1,1133 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8029f318 +sub_8029f318: +/* 8029F318 0029C278 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029F31C 0029C27C 7C 08 02 A6 */ mflr r0 +/* 8029F320 0029C280 3C E0 80 3D */ lis r7, lbl_803D5EB8@ha +/* 8029F324 0029C284 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029F328 0029C288 38 07 5E B8 */ addi r0, r7, lbl_803D5EB8@l +/* 8029F32C 0029C28C BF 21 00 44 */ stmw r25, 0x44(r1) +/* 8029F330 0029C290 7C 79 1B 78 */ mr r25, r3 +/* 8029F334 0029C294 7C 9A 23 78 */ mr r26, r4 +/* 8029F338 0029C298 7C BB 2B 78 */ mr r27, r5 +/* 8029F33C 0029C29C 7C DC 33 78 */ mr r28, r6 +/* 8029F340 0029C2A0 7C 04 03 78 */ mr r4, r0 +/* 8029F344 0029C2A4 38 60 01 10 */ li r3, 0x110 +/* 8029F348 0029C2A8 38 A0 00 00 */ li r5, 0 +/* 8029F34C 0029C2AC 48 07 65 21 */ bl __nw__FUlPCcPCc +/* 8029F350 0029C2B0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8029F354 0029C2B4 41 82 00 A0 */ beq lbl_8029F3F4 +/* 8029F358 0029C2B8 C0 22 C0 F8 */ lfs f1, lbl_805ADE18@sda21(r2) +/* 8029F35C 0029C2BC 7F 84 E3 78 */ mr r4, r28 +/* 8029F360 0029C2C0 C0 02 C0 FC */ lfs f0, lbl_805ADE1C@sda21(r2) +/* 8029F364 0029C2C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F368 0029C2C8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8029F36C 0029C2CC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8029F370 0029C2D0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8029F374 0029C2D4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8029F378 0029C2D8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8029F37C 0029C2DC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8029F380 0029C2E0 4B DA DD 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 8029F384 0029C2E4 C0 22 C0 FC */ lfs f1, lbl_805ADE1C@sda21(r2) +/* 8029F388 0029C2E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029F38C 0029C2EC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8029F390 0029C2F0 FC 40 08 90 */ fmr f2, f1 +/* 8029F394 0029C2F4 FC 60 08 90 */ fmr f3, f1 +/* 8029F398 0029C2F8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8029F39C 0029C2FC FC 80 08 90 */ fmr f4, f1 +/* 8029F3A0 0029C300 48 0C 40 4D */ bl __ct__6CColorFffff +/* 8029F3A4 0029C304 7C 7E 1B 78 */ mr r30, r3 +/* 8029F3A8 0029C308 7F 83 E3 78 */ mr r3, r28 +/* 8029F3AC 0029C30C 4B E9 0E 81 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +/* 8029F3B0 0029C310 7C 7F 1B 78 */ mr r31, r3 +/* 8029F3B4 0029C314 7F 83 E3 78 */ mr r3, r28 +/* 8029F3B8 0029C318 4B E9 0E 41 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +/* 8029F3BC 0029C31C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029F3C0 0029C320 38 01 00 28 */ addi r0, r1, 0x28 +/* 8029F3C4 0029C324 90 61 00 08 */ stw r3, 8(r1) +/* 8029F3C8 0029C328 7F A3 EB 78 */ mr r3, r29 +/* 8029F3CC 0029C32C 7F 24 CB 78 */ mr r4, r25 +/* 8029F3D0 0029C330 7F 45 D3 78 */ mr r5, r26 +/* 8029F3D4 0029C334 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029F3D8 0029C338 7F 68 DB 78 */ mr r8, r27 +/* 8029F3DC 0029C33C 7F E9 FB 78 */ mr r9, r31 +/* 8029F3E0 0029C340 7F CA F3 78 */ mr r10, r30 +/* 8029F3E4 0029C344 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8029F3E8 0029C348 38 E0 00 01 */ li r7, 1 +/* 8029F3EC 0029C34C 4B E9 0B 0D */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +/* 8029F3F0 0029C350 7C 7D 1B 78 */ mr r29, r3 +lbl_8029F3F4: +/* 8029F3F4 0029C354 7F 83 E3 78 */ mr r3, r28 +/* 8029F3F8 0029C358 7F A4 EB 78 */ mr r4, r29 +/* 8029F3FC 0029C35C 4B DA D8 F9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8029F400 0029C360 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 8029F404 0029C364 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029F408 0029C368 7C 08 03 A6 */ mtlr r0 +/* 8029F40C 0029C36C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029F410 0029C370 4E 80 00 20 */ blr + +.global Death__11CEnergyBallFRC9CVector3fR13CStateManager +Death__11CEnergyBallFRC9CVector3fR13CStateManager: +/* 8029F414 0029C374 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8029F418 0029C378 7C 08 02 A6 */ mflr r0 +/* 8029F41C 0029C37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8029F420 0029C380 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8029F424 0029C384 7C BF 2B 78 */ mr r31, r5 +/* 8029F428 0029C388 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8029F42C 0029C38C 7C 9E 23 78 */ mr r30, r4 +/* 8029F430 0029C390 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8029F434 0029C394 7C 7D 1B 78 */ mr r29, r3 +/* 8029F438 0029C398 81 83 00 00 */ lwz r12, 0(r3) +/* 8029F43C 0029C39C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8029F440 0029C3A0 7D 89 03 A6 */ mtctr r12 +/* 8029F444 0029C3A4 4E 80 04 21 */ bctrl +/* 8029F448 0029C3A8 28 03 00 00 */ cmplwi r3, 0 +/* 8029F44C 0029C3AC 41 82 00 2C */ beq lbl_8029F478 +/* 8029F450 0029C3B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 8029F454 0029C3B4 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029F458 0029C3B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F45C 0029C3BC 40 81 00 1C */ ble lbl_8029F478 +/* 8029F460 0029C3C0 7F A3 EB 78 */ mr r3, r29 +/* 8029F464 0029C3C4 7F C4 F3 78 */ mr r4, r30 +/* 8029F468 0029C3C8 7F E5 FB 78 */ mr r5, r31 +/* 8029F46C 0029C3CC 38 C0 FF FF */ li r6, -1 +/* 8029F470 0029C3D0 4B DD BF 35 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8029F474 0029C3D4 48 00 00 18 */ b lbl_8029F48C +lbl_8029F478: +/* 8029F478 0029C3D8 7F A3 EB 78 */ mr r3, r29 +/* 8029F47C 0029C3DC 7F C4 F3 78 */ mr r4, r30 +/* 8029F480 0029C3E0 7F E5 FB 78 */ mr r5, r31 +/* 8029F484 0029C3E4 38 C0 00 14 */ li r6, 0x14 +/* 8029F488 0029C3E8 4B DD BF 1D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +lbl_8029F48C: +/* 8029F48C 0029C3EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8029F490 0029C3F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8029F494 0029C3F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8029F498 0029C3F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8029F49C 0029C3FC 7C 08 03 A6 */ mtlr r0 +/* 8029F4A0 0029C400 38 21 00 20 */ addi r1, r1, 0x20 +/* 8029F4A4 0029C404 4E 80 00 20 */ blr + +.global sub_8029f4a8 +sub_8029f4a8: +/* 8029F4A8 0029C408 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8029F4AC 0029C40C 7C 08 02 A6 */ mflr r0 +/* 8029F4B0 0029C410 90 01 01 04 */ stw r0, 0x104(r1) +/* 8029F4B4 0029C414 BF 41 00 E8 */ stmw r26, 0xe8(r1) +/* 8029F4B8 0029C418 7C 7D 1B 78 */ mr r29, r3 +/* 8029F4BC 0029C41C 7C 9E 23 78 */ mr r30, r4 +/* 8029F4C0 0029C420 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8029F4C4 0029C424 C0 1D 05 88 */ lfs f0, 0x588(r29) +/* 8029F4C8 0029C428 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 8029F4CC 0029C42C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8029F4D0 0029C430 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8029F4D4 0029C434 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8029F4D8 0029C438 EC C7 08 28 */ fsubs f6, f7, f1 +/* 8029F4DC 0029C43C C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8029F4E0 0029C440 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 8029F4E4 0029C444 EC 82 08 28 */ fsubs f4, f2, f1 +/* 8029F4E8 0029C448 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8029F4EC 0029C44C D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8029F4F0 0029C450 EC A8 18 28 */ fsubs f5, f8, f3 +/* 8029F4F4 0029C454 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 8029F4F8 0029C458 D0 E1 00 98 */ stfs f7, 0x98(r1) +/* 8029F4FC 0029C45C EC 44 01 32 */ fmuls f2, f4, f4 +/* 8029F500 0029C460 EC 65 01 72 */ fmuls f3, f5, f5 +/* 8029F504 0029C464 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 8029F508 0029C468 EC 22 08 2A */ fadds f1, f2, f1 +/* 8029F50C 0029C46C D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 8029F510 0029C470 D0 C1 00 A4 */ stfs f6, 0xa4(r1) +/* 8029F514 0029C474 EC 23 08 2A */ fadds f1, f3, f1 +/* 8029F518 0029C478 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 8029F51C 0029C47C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F520 0029C480 4C 40 13 82 */ cror 2, 0, 2 +/* 8029F524 0029C484 40 82 02 A4 */ bne lbl_8029F7C8 +/* 8029F528 0029C488 80 1D 05 70 */ lwz r0, 0x570(r29) +/* 8029F52C 0029C48C 3B E0 00 01 */ li r31, 1 +/* 8029F530 0029C490 2C 00 00 02 */ cmpwi r0, 2 +/* 8029F534 0029C494 41 82 00 60 */ beq lbl_8029F594 +/* 8029F538 0029C498 40 80 00 14 */ bge lbl_8029F54C +/* 8029F53C 0029C49C 2C 00 00 00 */ cmpwi r0, 0 +/* 8029F540 0029C4A0 41 82 00 18 */ beq lbl_8029F558 +/* 8029F544 0029C4A4 40 80 00 38 */ bge lbl_8029F57C +/* 8029F548 0029C4A8 48 00 02 5C */ b lbl_8029F7A4 +lbl_8029F54C: +/* 8029F54C 0029C4AC 2C 00 00 04 */ cmpwi r0, 4 +/* 8029F550 0029C4B0 40 80 02 54 */ bge lbl_8029F7A4 +/* 8029F554 0029C4B4 48 00 00 EC */ b lbl_8029F640 +lbl_8029F558: +/* 8029F558 0029C4B8 C0 3D 05 98 */ lfs f1, 0x598(r29) +/* 8029F55C 0029C4BC C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029F560 0029C4C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F564 0029C4C4 7C 60 00 26 */ mfcr r3 +/* 8029F568 0029C4C8 88 1D 04 02 */ lbz r0, 0x402(r29) +/* 8029F56C 0029C4CC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c +/* 8029F570 0029C4D0 98 1D 04 02 */ stb r0, 0x402(r29) +/* 8029F574 0029C4D4 D0 3D 05 04 */ stfs f1, 0x504(r29) +/* 8029F578 0029C4D8 48 00 02 2C */ b lbl_8029F7A4 +lbl_8029F57C: +/* 8029F57C 0029C4DC A0 DD 05 A0 */ lhz r6, 0x5a0(r29) +/* 8029F580 0029C4E0 80 BD 05 9C */ lwz r5, 0x59c(r29) +/* 8029F584 0029C4E4 80 FD 05 A4 */ lwz r7, 0x5a4(r29) +/* 8029F588 0029C4E8 4B D7 67 8D */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi +/* 8029F58C 0029C4EC 3B E0 00 00 */ li r31, 0 +/* 8029F590 0029C4F0 48 00 02 14 */ b lbl_8029F7A4 +lbl_8029F594: +/* 8029F594 0029C4F4 38 00 00 00 */ li r0, 0 +/* 8029F598 0029C4F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F59C 0029C4FC 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F5A0 0029C500 98 01 00 90 */ stb r0, 0x90(r1) +/* 8029F5A4 0029C504 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029F5A8 0029C508 38 84 00 07 */ addi r4, r4, 7 +/* 8029F5AC 0029C50C 4B D6 57 0D */ bl string_l__4rstlFPCc +/* 8029F5B0 0029C510 7F C6 F3 78 */ mr r6, r30 +/* 8029F5B4 0029C514 38 61 00 88 */ addi r3, r1, 0x88 +/* 8029F5B8 0029C518 38 9D 05 A8 */ addi r4, r29, 0x5a8 +/* 8029F5BC 0029C51C 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8029F5C0 0029C520 4B FF FD 59 */ bl sub_8029f318 +/* 8029F5C4 0029C524 38 61 00 78 */ addi r3, r1, 0x78 +/* 8029F5C8 0029C528 48 09 E5 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029F5CC 0029C52C 88 01 00 90 */ lbz r0, 0x90(r1) +/* 8029F5D0 0029C530 28 00 00 00 */ cmplwi r0, 0 +/* 8029F5D4 0029C534 41 82 00 14 */ beq lbl_8029F5E8 +/* 8029F5D8 0029C538 34 61 00 88 */ addic. r3, r1, 0x88 +/* 8029F5DC 0029C53C 41 82 00 0C */ beq lbl_8029F5E8 +/* 8029F5E0 0029C540 38 80 00 00 */ li r4, 0 +/* 8029F5E4 0029C544 48 0A 18 5D */ bl __dt__6CTokenFv +lbl_8029F5E8: +/* 8029F5E8 0029C548 38 00 00 00 */ li r0, 0 +/* 8029F5EC 0029C54C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8029F5F0 0029C550 98 01 00 90 */ stb r0, 0x90(r1) +/* 8029F5F4 0029C554 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029F5F8 0029C558 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8029F5FC 0029C55C 38 A0 00 7F */ li r5, 0x7f +/* 8029F600 0029C560 A0 9D 05 B4 */ lhz r4, 0x5b4(r29) +/* 8029F604 0029C564 38 C0 00 40 */ li r6, 0x40 +/* 8029F608 0029C568 38 E0 00 00 */ li r7, 0 +/* 8029F60C 0029C56C 39 20 00 00 */ li r9, 0 +/* 8029F610 0029C570 48 04 A7 65 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8029F614 0029C574 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8029F618 0029C578 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029F61C 0029C57C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8029F620 0029C580 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8029F624 0029C584 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8029F628 0029C588 80 63 00 00 */ lwz r3, 0(r3) +/* 8029F62C 0029C58C C0 3D 05 B8 */ lfs f1, 0x5b8(r29) +/* 8029F630 0029C590 C0 5D 05 BC */ lfs f2, 0x5bc(r29) +/* 8029F634 0029C594 38 63 01 88 */ addi r3, r3, 0x188 +/* 8029F638 0029C598 4B F2 15 01 */ bl AddSource__19CStaticInterferenceF9TUniqueId +/* 8029F63C 0029C59C 48 00 01 68 */ b lbl_8029F7A4 +lbl_8029F640: +/* 8029F640 0029C5A0 38 00 00 00 */ li r0, 0 +/* 8029F644 0029C5A4 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F648 0029C5A8 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F64C 0029C5AC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8029F650 0029C5B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029F654 0029C5B4 38 84 00 18 */ addi r4, r4, 0x18 +/* 8029F658 0029C5B8 4B D6 56 61 */ bl string_l__4rstlFPCc +/* 8029F65C 0029C5BC 7F C6 F3 78 */ mr r6, r30 +/* 8029F660 0029C5C0 38 7D 05 C0 */ addi r3, r29, 0x5c0 +/* 8029F664 0029C5C4 38 81 00 6C */ addi r4, r1, 0x6c +/* 8029F668 0029C5C8 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8029F66C 0029C5CC 4B FF FC AD */ bl sub_8029f318 +/* 8029F670 0029C5D0 38 61 00 5C */ addi r3, r1, 0x5c +/* 8029F674 0029C5D4 48 09 E4 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029F678 0029C5D8 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8029F67C 0029C5DC 28 00 00 00 */ cmplwi r0, 0 +/* 8029F680 0029C5E0 41 82 00 14 */ beq lbl_8029F694 +/* 8029F684 0029C5E4 34 61 00 6C */ addic. r3, r1, 0x6c +/* 8029F688 0029C5E8 41 82 00 0C */ beq lbl_8029F694 +/* 8029F68C 0029C5EC 38 80 00 00 */ li r4, 0 +/* 8029F690 0029C5F0 48 0A 17 B1 */ bl __dt__6CTokenFv +lbl_8029F694: +/* 8029F694 0029C5F4 38 00 00 00 */ li r0, 0 +/* 8029F698 0029C5F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha +/* 8029F69C 0029C5FC 98 01 00 74 */ stb r0, 0x74(r1) +/* 8029F6A0 0029C600 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l +/* 8029F6A4 0029C604 3B 60 00 00 */ li r27, 0 +/* 8029F6A8 0029C608 3B 40 00 00 */ li r26, 0 +/* 8029F6AC 0029C60C 38 60 00 5C */ li r3, 0x5c +/* 8029F6B0 0029C610 38 A0 00 00 */ li r5, 0 +/* 8029F6B4 0029C614 48 07 61 B9 */ bl __nw__FUlPCcPCc +/* 8029F6B8 0029C618 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8029F6BC 0029C61C 41 82 00 84 */ beq lbl_8029F740 +/* 8029F6C0 0029C620 3C 80 80 3D */ lis r4, lbl_803D5EB8@ha +/* 8029F6C4 0029C624 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029F6C8 0029C628 38 84 5E B8 */ addi r4, r4, lbl_803D5EB8@l +/* 8029F6CC 0029C62C 38 84 00 26 */ addi r4, r4, 0x26 +/* 8029F6D0 0029C630 4B D6 55 E9 */ bl string_l__4rstlFPCc +/* 8029F6D4 0029C634 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8029F6D8 0029C638 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8029F6DC 0029C63C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8029F6E0 0029C640 38 81 00 34 */ addi r4, r1, 0x34 +/* 8029F6E4 0029C644 90 01 00 38 */ stw r0, 0x38(r1) +/* 8029F6E8 0029C648 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8029F6EC 0029C64C 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8029F6F0 0029C650 3B 60 00 01 */ li r27, 1 +/* 8029F6F4 0029C654 80 1D 00 04 */ lwz r0, 4(r29) +/* 8029F6F8 0029C658 90 01 00 30 */ stw r0, 0x30(r1) +/* 8029F6FC 0029C65C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029F700 0029C660 4B DB 1D 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8029F704 0029C664 7F C4 F3 78 */ mr r4, r30 +/* 8029F708 0029C668 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F70C 0029C66C 3B 40 00 01 */ li r26, 1 +/* 8029F710 0029C670 4B DA D9 CD */ bl AllocateUniqueId__13CStateManagerFv +/* 8029F714 0029C674 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8029F718 0029C678 7F 83 E3 78 */ mr r3, r28 +/* 8029F71C 0029C67C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029F720 0029C680 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 8029F724 0029C684 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8029F728 0029C688 38 E1 00 4C */ addi r7, r1, 0x4c +/* 8029F72C 0029C68C 39 1D 05 CC */ addi r8, r29, 0x5cc +/* 8029F730 0029C690 38 C0 00 01 */ li r6, 1 +/* 8029F734 0029C694 C0 3D 05 E8 */ lfs f1, 0x5e8(r29) +/* 8029F738 0029C698 48 00 0B 45 */ bl sub_802a027c +/* 8029F73C 0029C69C 7C 7C 1B 78 */ mr r28, r3 +lbl_8029F740: +/* 8029F740 0029C6A0 7F C3 F3 78 */ mr r3, r30 +/* 8029F744 0029C6A4 7F 84 E3 78 */ mr r4, r28 +/* 8029F748 0029C6A8 4B DA D5 AD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8029F74C 0029C6AC 7F 40 07 75 */ extsb. r0, r26 +/* 8029F750 0029C6B0 41 82 00 44 */ beq lbl_8029F794 +/* 8029F754 0029C6B4 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 8029F758 0029C6B8 80 61 00 D8 */ lwz r3, 0xd8(r1) +/* 8029F75C 0029C6BC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8029F760 0029C6C0 90 61 00 24 */ stw r3, 0x24(r1) +/* 8029F764 0029C6C4 7C 64 1B 78 */ mr r4, r3 +/* 8029F768 0029C6C8 7C 03 02 14 */ add r0, r3, r0 +/* 8029F76C 0029C6CC 90 61 00 20 */ stw r3, 0x20(r1) +/* 8029F770 0029C6D0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8029F774 0029C6D4 90 01 00 28 */ stw r0, 0x28(r1) +/* 8029F778 0029C6D8 48 00 00 08 */ b lbl_8029F780 +lbl_8029F77C: +/* 8029F77C 0029C6DC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8029F780: +/* 8029F780 0029C6E0 7C 04 00 40 */ cmplw r4, r0 +/* 8029F784 0029C6E4 40 82 FF F8 */ bne lbl_8029F77C +/* 8029F788 0029C6E8 28 03 00 00 */ cmplwi r3, 0 +/* 8029F78C 0029C6EC 41 82 00 08 */ beq lbl_8029F794 +/* 8029F790 0029C6F0 48 07 61 A1 */ bl Free__7CMemoryFPCv +lbl_8029F794: +/* 8029F794 0029C6F4 7F 60 07 75 */ extsb. r0, r27 +/* 8029F798 0029C6F8 41 82 00 0C */ beq lbl_8029F7A4 +/* 8029F79C 0029C6FC 38 61 00 4C */ addi r3, r1, 0x4c +/* 8029F7A0 0029C700 48 09 E3 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029F7A4: +/* 8029F7A4 0029C704 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8029F7A8 0029C708 41 82 00 20 */ beq lbl_8029F7C8 +/* 8029F7AC 0029C70C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8029F7B0 0029C710 4B D7 65 4D */ bl GetFrozenState__7CPlayerCFv +/* 8029F7B4 0029C714 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029F7B8 0029C718 41 82 00 10 */ beq lbl_8029F7C8 +/* 8029F7BC 0029C71C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8029F7C0 0029C720 7F C4 F3 78 */ mr r4, r30 +/* 8029F7C4 0029C724 4B D7 62 69 */ bl UnFreeze__7CPlayerFR13CStateManager +lbl_8029F7C8: +/* 8029F7C8 0029C728 80 AD 9A 30 */ lwz r5, lbl_805A85F0@sda21(r13) +/* 8029F7CC 0029C72C 38 60 00 00 */ li r3, 0 +/* 8029F7D0 0029C730 38 80 00 01 */ li r4, 1 +/* 8029F7D4 0029C734 48 0E A7 21 */ bl __shl2i +/* 8029F7D8 0029C738 39 20 00 00 */ li r9, 0 +/* 8029F7DC 0029C73C 38 00 00 03 */ li r0, 3 +/* 8029F7E0 0029C740 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8029F7E4 0029C744 7F A5 EB 78 */ mr r5, r29 +/* 8029F7E8 0029C748 38 81 00 0C */ addi r4, r1, 0xc +/* 8029F7EC 0029C74C 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8029F7F0 0029C750 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8029F7F4 0029C754 7F C3 F3 78 */ mr r3, r30 +/* 8029F7F8 0029C758 38 FD 05 78 */ addi r7, r29, 0x578 +/* 8029F7FC 0029C75C 39 01 00 B0 */ addi r8, r1, 0xb0 +/* 8029F800 0029C760 91 21 00 BC */ stw r9, 0xbc(r1) +/* 8029F804 0029C764 91 21 00 B8 */ stw r9, 0xb8(r1) +/* 8029F808 0029C768 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8029F80C 0029C76C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8029F810 0029C770 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8029F814 0029C774 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8029F818 0029C778 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029F81C 0029C77C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8029F820 0029C780 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8029F824 0029C784 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8029F828 0029C788 B0 01 00 08 */ sth r0, 8(r1) +/* 8029F82C 0029C78C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8029F830 0029C790 4B DA 94 7D */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 8029F834 0029C794 7F A3 EB 78 */ mr r3, r29 +/* 8029F838 0029C798 7F C4 F3 78 */ mr r4, r30 +/* 8029F83C 0029C79C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8029F840 0029C7A0 81 8C 02 98 */ lwz r12, 0x298(r12) +/* 8029F844 0029C7A4 7D 89 03 A6 */ mtctr r12 +/* 8029F848 0029C7A8 4E 80 04 21 */ bctrl +/* 8029F84C 0029C7AC BB 41 00 E8 */ lmw r26, 0xe8(r1) +/* 8029F850 0029C7B0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8029F854 0029C7B4 7C 08 03 A6 */ mtlr r0 +/* 8029F858 0029C7B8 38 21 01 00 */ addi r1, r1, 0x100 +/* 8029F85C 0029C7BC 4E 80 00 20 */ blr + +.global Think__11CEnergyBallFfR13CStateManager +Think__11CEnergyBallFfR13CStateManager: +/* 8029F860 0029C7C0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029F864 0029C7C4 7C 08 02 A6 */ mflr r0 +/* 8029F868 0029C7C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029F86C 0029C7CC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8029F870 0029C7D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8029F874 0029C7D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8029F878 0029C7D8 7C 7E 1B 78 */ mr r30, r3 +/* 8029F87C 0029C7DC C0 02 C1 00 */ lfs f0, lbl_805ADE20@sda21(r2) +/* 8029F880 0029C7E0 C0 43 05 6C */ lfs f2, 0x56c(r3) +/* 8029F884 0029C7E4 FF E0 08 90 */ fmr f31, f1 +/* 8029F888 0029C7E8 C0 22 C1 04 */ lfs f1, lbl_805ADE24@sda21(r2) +/* 8029F88C 0029C7EC 7C 9F 23 78 */ mr r31, r4 +/* 8029F890 0029C7F0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8029F894 0029C7F4 C0 0D 9A 38 */ lfs f0, lbl_805A85F8@sda21(r13) +/* 8029F898 0029C7F8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8029F89C 0029C7FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F8A0 0029C800 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8029F8A4 0029C804 40 80 00 0C */ bge lbl_8029F8B0 +/* 8029F8A8 0029C808 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029F8AC 0029C80C 48 00 00 08 */ b lbl_8029F8B4 +lbl_8029F8B0: +/* 8029F8B0 0029C810 38 6D 9A 38 */ addi r3, r13, lbl_805A85F8@sda21 +lbl_8029F8B4: +/* 8029F8B4 0029C814 C0 2D 9A 3C */ lfs f1, lbl_805A85FC@sda21(r13) +/* 8029F8B8 0029C818 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029F8BC 0029C81C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F8C0 0029C820 40 80 00 08 */ bge lbl_8029F8C8 +/* 8029F8C4 0029C824 48 00 00 08 */ b lbl_8029F8CC +lbl_8029F8C8: +/* 8029F8C8 0029C828 38 6D 9A 3C */ addi r3, r13, lbl_805A85FC@sda21 +lbl_8029F8CC: +/* 8029F8CC 0029C82C C0 3E 05 94 */ lfs f1, 0x594(r30) +/* 8029F8D0 0029C830 C0 03 00 00 */ lfs f0, 0(r3) +/* 8029F8D4 0029C834 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8029F8D8 0029C838 D0 3E 03 B8 */ stfs f1, 0x3b8(r30) +/* 8029F8DC 0029C83C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8029F8E0 0029C840 4B E9 B0 C5 */ bl SetTurnSpeed__15CBodyControllerFf +/* 8029F8E4 0029C844 FC 20 F8 90 */ fmr f1, f31 +/* 8029F8E8 0029C848 7F C3 F3 78 */ mr r3, r30 +/* 8029F8EC 0029C84C 7F E4 FB 78 */ mr r4, r31 +/* 8029F8F0 0029C850 4B DD A2 29 */ bl Think__10CPatternedFfR13CStateManager +/* 8029F8F4 0029C854 C0 5E 04 28 */ lfs f2, 0x428(r30) +/* 8029F8F8 0029C858 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) +/* 8029F8FC 0029C85C C0 0D 9A 40 */ lfs f0, lbl_805A8600@sda21(r13) +/* 8029F900 0029C860 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8029F904 0029C864 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F908 0029C868 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8029F90C 0029C86C 40 80 00 0C */ bge lbl_8029F918 +/* 8029F910 0029C870 3B 81 00 0C */ addi r28, r1, 0xc +/* 8029F914 0029C874 48 00 00 08 */ b lbl_8029F91C +lbl_8029F918: +/* 8029F918 0029C878 3B 8D 9A 40 */ addi r28, r13, lbl_805A8600@sda21 +lbl_8029F91C: +/* 8029F91C 0029C87C C0 2D 9A 44 */ lfs f1, lbl_805A8604@sda21(r13) +/* 8029F920 0029C880 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8029F924 0029C884 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F928 0029C888 40 80 00 08 */ bge lbl_8029F930 +/* 8029F92C 0029C88C 48 00 00 08 */ b lbl_8029F934 +lbl_8029F930: +/* 8029F930 0029C890 3B 8D 9A 44 */ addi r28, r13, lbl_805A8604@sda21 +lbl_8029F934: +/* 8029F934 0029C894 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 8029F938 0029C898 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8029F93C 0029C89C 3B 63 01 20 */ addi r27, r3, 0x120 +/* 8029F940 0029C8A0 48 0A A6 5D */ bl Red__6CColorFv +/* 8029F944 0029C8A4 7C 7D 1B 78 */ mr r29, r3 +/* 8029F948 0029C8A8 48 0A A6 65 */ bl White__6CColorFv +/* 8029F94C 0029C8AC C0 3C 00 00 */ lfs f1, 0(r28) +/* 8029F950 0029C8B0 7C 64 1B 78 */ mr r4, r3 +/* 8029F954 0029C8B4 7F A5 EB 78 */ mr r5, r29 +/* 8029F958 0029C8B8 38 61 00 08 */ addi r3, r1, 8 +/* 8029F95C 0029C8BC 48 0C 39 51 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8029F960 0029C8C0 7F 63 DB 78 */ mr r3, r27 +/* 8029F964 0029C8C4 38 81 00 08 */ addi r4, r1, 8 +/* 8029F968 0029C8C8 4B E1 81 B1 */ bl SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor +/* 8029F96C 0029C8CC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8029F970 0029C8D0 3B 60 00 00 */ li r27, 0 +/* 8029F974 0029C8D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029F978 0029C8D8 41 82 00 58 */ beq lbl_8029F9D0 +/* 8029F97C 0029C8DC 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 8029F980 0029C8E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029F984 0029C8E4 41 82 00 4C */ beq lbl_8029F9D0 +/* 8029F988 0029C8E8 C0 1E 05 6C */ lfs f0, 0x56c(r30) +/* 8029F98C 0029C8EC EC 00 F8 2A */ fadds f0, f0, f31 +/* 8029F990 0029C8F0 D0 1E 05 6C */ stfs f0, 0x56c(r30) +/* 8029F994 0029C8F4 C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 8029F998 0029C8F8 C0 1E 05 74 */ lfs f0, 0x574(r30) +/* 8029F99C 0029C8FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F9A0 0029C900 40 81 00 08 */ ble lbl_8029F9A8 +/* 8029F9A4 0029C904 3B 60 00 01 */ li r27, 1 +lbl_8029F9A8: +/* 8029F9A8 0029C908 7F C3 F3 78 */ mr r3, r30 +/* 8029F9AC 0029C90C FC 20 F8 90 */ fmr f1, f31 +/* 8029F9B0 0029C910 81 9E 00 00 */ lwz r12, 0(r30) +/* 8029F9B4 0029C914 7F E4 FB 78 */ mr r4, r31 +/* 8029F9B8 0029C918 81 8C 01 A4 */ lwz r12, 0x1a4(r12) +/* 8029F9BC 0029C91C 7D 89 03 A6 */ mtctr r12 +/* 8029F9C0 0029C920 4E 80 04 21 */ bctrl +/* 8029F9C4 0029C924 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029F9C8 0029C928 41 82 00 08 */ beq lbl_8029F9D0 +/* 8029F9CC 0029C92C 3B 60 00 01 */ li r27, 1 +lbl_8029F9D0: +/* 8029F9D0 0029C930 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8029F9D4 0029C934 41 82 00 10 */ beq lbl_8029F9E4 +/* 8029F9D8 0029C938 7F C3 F3 78 */ mr r3, r30 +/* 8029F9DC 0029C93C 7F E4 FB 78 */ mr r4, r31 +/* 8029F9E0 0029C940 4B FF FA C9 */ bl sub_8029f4a8 +lbl_8029F9E4: +/* 8029F9E4 0029C944 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8029F9E8 0029C948 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8029F9EC 0029C94C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8029F9F0 0029C950 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029F9F4 0029C954 7C 08 03 A6 */ mtlr r0 +/* 8029F9F8 0029C958 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029F9FC 0029C95C 4E 80 00 20 */ blr + +.global Attack__11CEnergyBallFR13CStateManager9EStateMsgf +Attack__11CEnergyBallFR13CStateManager9EStateMsgf: +/* 8029FA00 0029C960 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8029FA04 0029C964 7C 08 02 A6 */ mflr r0 +/* 8029FA08 0029C968 90 01 00 64 */ stw r0, 0x64(r1) +/* 8029FA0C 0029C96C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8029FA10 0029C970 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8029FA14 0029C974 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8029FA18 0029C978 FF E0 08 90 */ fmr f31, f1 +/* 8029FA1C 0029C97C 2C 05 00 01 */ cmpwi r5, 1 +/* 8029FA20 0029C980 7C 7F 1B 78 */ mr r31, r3 +/* 8029FA24 0029C984 41 82 00 10 */ beq lbl_8029FA34 +/* 8029FA28 0029C988 40 80 00 88 */ bge lbl_8029FAB0 +/* 8029FA2C 0029C98C 48 00 00 84 */ b lbl_8029FAB0 +/* 8029FA30 0029C990 48 00 00 80 */ b lbl_8029FAB0 +lbl_8029FA34: +/* 8029FA34 0029C994 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8029FA38 0029C998 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029FA3C 0029C99C 4B FE 53 41 */ bl GetEyePosition__7CPlayerCFv +/* 8029FA40 0029C9A0 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8029FA44 0029C9A4 7F E5 FB 78 */ mr r5, r31 +/* 8029FA48 0029C9A8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8029FA4C 0029C9AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029FA50 0029C9B0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8029FA54 0029C9B4 38 9F 05 68 */ addi r4, r31, 0x568 +/* 8029FA58 0029C9B8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8029FA5C 0029C9BC 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8029FA60 0029C9C0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8029FA64 0029C9C4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8029FA68 0029C9C8 4B E9 F1 B9 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 8029FA6C 0029C9CC C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8029FA70 0029C9D0 FC 20 F8 90 */ fmr f1, f31 +/* 8029FA74 0029C9D4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8029FA78 0029C9D8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029FA7C 0029C9DC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8029FA80 0029C9E0 38 A1 00 08 */ addi r5, r1, 8 +/* 8029FA84 0029C9E4 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8029FA88 0029C9E8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8029FA8C 0029C9EC D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8029FA90 0029C9F0 C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 8029FA94 0029C9F4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8029FA98 0029C9F8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8029FA9C 0029C9FC D0 01 00 08 */ stfs f0, 8(r1) +/* 8029FAA0 0029CA00 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8029FAA4 0029CA04 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8029FAA8 0029CA08 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8029FAAC 0029CA0C 4B E9 A9 BD */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +lbl_8029FAB0: +/* 8029FAB0 0029CA10 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8029FAB4 0029CA14 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8029FAB8 0029CA18 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8029FABC 0029CA1C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8029FAC0 0029CA20 7C 08 03 A6 */ mtlr r0 +/* 8029FAC4 0029CA24 38 21 00 60 */ addi r1, r1, 0x60 +/* 8029FAC8 0029CA28 4E 80 00 20 */ blr + +.global Generate__11CEnergyBallFR13CStateManager9EStateMsgf +Generate__11CEnergyBallFR13CStateManager9EStateMsgf: +/* 8029FACC 0029CA2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FAD0 0029CA30 7C 08 02 A6 */ mflr r0 +/* 8029FAD4 0029CA34 2C 05 00 01 */ cmpwi r5, 1 +/* 8029FAD8 0029CA38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FADC 0029CA3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029FAE0 0029CA40 7C 9F 23 78 */ mr r31, r4 +/* 8029FAE4 0029CA44 93 C1 00 08 */ stw r30, 8(r1) +/* 8029FAE8 0029CA48 7C 7E 1B 78 */ mr r30, r3 +/* 8029FAEC 0029CA4C 41 82 00 28 */ beq lbl_8029FB14 +/* 8029FAF0 0029CA50 40 80 00 10 */ bge lbl_8029FB00 +/* 8029FAF4 0029CA54 2C 05 00 00 */ cmpwi r5, 0 +/* 8029FAF8 0029CA58 40 80 00 14 */ bge lbl_8029FB0C +/* 8029FAFC 0029CA5C 48 00 00 4C */ b lbl_8029FB48 +lbl_8029FB00: +/* 8029FB00 0029CA60 2C 05 00 03 */ cmpwi r5, 3 +/* 8029FB04 0029CA64 40 80 00 44 */ bge lbl_8029FB48 +/* 8029FB08 0029CA68 48 00 00 38 */ b lbl_8029FB40 +lbl_8029FB0C: +/* 8029FB0C 0029CA6C 38 00 00 01 */ li r0, 1 +/* 8029FB10 0029CA70 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8029FB14: +/* 8029FB14 0029CA74 7F C3 F3 78 */ mr r3, r30 +/* 8029FB18 0029CA78 7F E4 FB 78 */ mr r4, r31 +/* 8029FB1C 0029CA7C 38 A0 00 00 */ li r5, 0 +/* 8029FB20 0029CA80 4B DD C6 89 */ bl sub_8007c1a8 +/* 8029FB24 0029CA84 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8029FB28 0029CA88 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8029FB2C 0029CA8C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029FB30 0029CA90 40 82 00 18 */ bne lbl_8029FB48 +/* 8029FB34 0029CA94 7F E4 FB 78 */ mr r4, r31 +/* 8029FB38 0029CA98 4B E9 B1 B9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8029FB3C 0029CA9C 48 00 00 0C */ b lbl_8029FB48 +lbl_8029FB40: +/* 8029FB40 0029CAA0 38 00 00 00 */ li r0, 0 +/* 8029FB44 0029CAA4 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8029FB48: +/* 8029FB48 0029CAA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FB4C 0029CAAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029FB50 0029CAB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029FB54 0029CAB4 7C 08 03 A6 */ mtlr r0 +/* 8029FB58 0029CAB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FB5C 0029CABC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8029FB60 0029CAC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029FB64 0029CAC4 7C 08 02 A6 */ mflr r0 +/* 8029FB68 0029CAC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029FB6C 0029CACC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8029FB70 0029CAD0 7C DF 33 78 */ mr r31, r6 +/* 8029FB74 0029CAD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029FB78 0029CAD8 7C BE 2B 78 */ mr r30, r5 +/* 8029FB7C 0029CADC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029FB80 0029CAE0 7C 9D 23 78 */ mr r29, r4 +/* 8029FB84 0029CAE4 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 8029FB88 0029CAE8 93 81 00 30 */ stw r28, 0x30(r1) +/* 8029FB8C 0029CAEC 7C 7C 1B 78 */ mr r28, r3 +/* 8029FB90 0029CAF0 40 82 00 4C */ bne lbl_8029FBDC +/* 8029FB94 0029CAF4 80 AD 9A 34 */ lwz r5, lbl_805A85F4@sda21(r13) +/* 8029FB98 0029CAF8 38 60 00 00 */ li r3, 0 +/* 8029FB9C 0029CAFC 38 80 00 01 */ li r4, 1 +/* 8029FBA0 0029CB00 48 0E A3 55 */ bl __shl2i +/* 8029FBA4 0029CB04 38 A0 00 00 */ li r5, 0 +/* 8029FBA8 0029CB08 38 00 00 01 */ li r0, 1 +/* 8029FBAC 0029CB0C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8029FBB0 0029CB10 38 81 00 10 */ addi r4, r1, 0x10 +/* 8029FBB4 0029CB14 90 61 00 10 */ stw r3, 0x10(r1) +/* 8029FBB8 0029CB18 7F 83 E3 78 */ mr r3, r28 +/* 8029FBBC 0029CB1C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8029FBC0 0029CB20 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8029FBC4 0029CB24 90 01 00 20 */ stw r0, 0x20(r1) +/* 8029FBC8 0029CB28 4B DB 3C D9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8029FBCC 0029CB2C 7F 83 E3 78 */ mr r3, r28 +/* 8029FBD0 0029CB30 7F E5 FB 78 */ mr r5, r31 +/* 8029FBD4 0029CB34 38 80 00 13 */ li r4, 0x13 +/* 8029FBD8 0029CB38 4B DB 43 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8029FBDC: +/* 8029FBDC 0029CB3C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8029FBE0 0029CB40 7F 83 E3 78 */ mr r3, r28 +/* 8029FBE4 0029CB44 7F A4 EB 78 */ mr r4, r29 +/* 8029FBE8 0029CB48 7F E6 FB 78 */ mr r6, r31 +/* 8029FBEC 0029CB4C B0 01 00 08 */ sth r0, 8(r1) +/* 8029FBF0 0029CB50 38 A1 00 08 */ addi r5, r1, 8 +/* 8029FBF4 0029CB54 4B DD CF 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8029FBF8 0029CB58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029FBFC 0029CB5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8029FC00 0029CB60 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8029FC04 0029CB64 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8029FC08 0029CB68 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8029FC0C 0029CB6C 7C 08 03 A6 */ mtlr r0 +/* 8029FC10 0029CB70 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029FC14 0029CB74 4E 80 00 20 */ blr + +.global Accept__11CEnergyBallFR8IVisitor +Accept__11CEnergyBallFR8IVisitor: +/* 8029FC18 0029CB78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FC1C 0029CB7C 7C 08 02 A6 */ mflr r0 +/* 8029FC20 0029CB80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FC24 0029CB84 7C 60 1B 78 */ mr r0, r3 +/* 8029FC28 0029CB88 7C 83 23 78 */ mr r3, r4 +/* 8029FC2C 0029CB8C 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FC30 0029CB90 7C 04 03 78 */ mr r4, r0 +/* 8029FC34 0029CB94 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8029FC38 0029CB98 7D 89 03 A6 */ mtctr r12 +/* 8029FC3C 0029CB9C 4E 80 04 21 */ bctrl +/* 8029FC40 0029CBA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FC44 0029CBA4 7C 08 03 A6 */ mtlr r0 +/* 8029FC48 0029CBA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FC4C 0029CBAC 4E 80 00 20 */ blr + +.global __dt__11CEnergyBall +__dt__11CEnergyBall: +/* 8029FC50 0029CBB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029FC54 0029CBB4 7C 08 02 A6 */ mflr r0 +/* 8029FC58 0029CBB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FC5C 0029CBBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029FC60 0029CBC0 7C 9F 23 78 */ mr r31, r4 +/* 8029FC64 0029CBC4 93 C1 00 08 */ stw r30, 8(r1) +/* 8029FC68 0029CBC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029FC6C 0029CBCC 41 82 00 84 */ beq lbl_8029FCF0 +/* 8029FC70 0029CBD0 3C 60 80 3F */ lis r3, lbl_803EC0A0@ha +/* 8029FC74 0029CBD4 34 1E 05 C0 */ addic. r0, r30, 0x5c0 +/* 8029FC78 0029CBD8 38 03 C0 A0 */ addi r0, r3, lbl_803EC0A0@l +/* 8029FC7C 0029CBDC 90 1E 00 00 */ stw r0, 0(r30) +/* 8029FC80 0029CBE0 41 82 00 28 */ beq lbl_8029FCA8 +/* 8029FC84 0029CBE4 88 1E 05 C8 */ lbz r0, 0x5c8(r30) +/* 8029FC88 0029CBE8 28 00 00 00 */ cmplwi r0, 0 +/* 8029FC8C 0029CBEC 41 82 00 14 */ beq lbl_8029FCA0 +/* 8029FC90 0029CBF0 34 7E 05 C0 */ addic. r3, r30, 0x5c0 +/* 8029FC94 0029CBF4 41 82 00 0C */ beq lbl_8029FCA0 +/* 8029FC98 0029CBF8 38 80 00 00 */ li r4, 0 +/* 8029FC9C 0029CBFC 48 0A 11 A5 */ bl __dt__6CTokenFv +lbl_8029FCA0: +/* 8029FCA0 0029CC00 38 00 00 00 */ li r0, 0 +/* 8029FCA4 0029CC04 98 1E 05 C8 */ stb r0, 0x5c8(r30) +lbl_8029FCA8: +/* 8029FCA8 0029CC08 34 1E 05 A8 */ addic. r0, r30, 0x5a8 +/* 8029FCAC 0029CC0C 41 82 00 28 */ beq lbl_8029FCD4 +/* 8029FCB0 0029CC10 88 1E 05 B0 */ lbz r0, 0x5b0(r30) +/* 8029FCB4 0029CC14 28 00 00 00 */ cmplwi r0, 0 +/* 8029FCB8 0029CC18 41 82 00 14 */ beq lbl_8029FCCC +/* 8029FCBC 0029CC1C 34 7E 05 A8 */ addic. r3, r30, 0x5a8 +/* 8029FCC0 0029CC20 41 82 00 0C */ beq lbl_8029FCCC +/* 8029FCC4 0029CC24 38 80 00 00 */ li r4, 0 +/* 8029FCC8 0029CC28 48 0A 11 79 */ bl __dt__6CTokenFv +lbl_8029FCCC: +/* 8029FCCC 0029CC2C 38 00 00 00 */ li r0, 0 +/* 8029FCD0 0029CC30 98 1E 05 B0 */ stb r0, 0x5b0(r30) +lbl_8029FCD4: +/* 8029FCD4 0029CC34 7F C3 F3 78 */ mr r3, r30 +/* 8029FCD8 0029CC38 38 80 00 00 */ li r4, 0 +/* 8029FCDC 0029CC3C 4B DD 78 95 */ bl __dt__10CPatternedFv +/* 8029FCE0 0029CC40 7F E0 07 35 */ extsh. r0, r31 +/* 8029FCE4 0029CC44 40 81 00 0C */ ble lbl_8029FCF0 +/* 8029FCE8 0029CC48 7F C3 F3 78 */ mr r3, r30 +/* 8029FCEC 0029CC4C 48 07 5C 45 */ bl Free__7CMemoryFPCv +lbl_8029FCF0: +/* 8029FCF0 0029CC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029FCF4 0029CC54 7F C3 F3 78 */ mr r3, r30 +/* 8029FCF8 0029CC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029FCFC 0029CC5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029FD00 0029CC60 7C 08 03 A6 */ mtlr r0 +/* 8029FD04 0029CC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029FD08 0029CC68 4E 80 00 20 */ blr + +.global __ct__11CEnergyBall +__ct__11CEnergyBall: +/* 8029FD0C 0029CC6C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8029FD10 0029CC70 7C 08 02 A6 */ mflr r0 +/* 8029FD14 0029CC74 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8029FD18 0029CC78 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8029FD1C 0029CC7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8029FD20 0029CC80 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8029FD24 0029CC84 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8029FD28 0029CC88 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8029FD2C 0029CC8C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8029FD30 0029CC90 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8029FD34 0029CC94 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8029FD38 0029CC98 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8029FD3C 0029CC9C F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 8029FD40 0029CCA0 BE A1 00 64 */ stmw r21, 0x64(r1) +/* 8029FD44 0029CCA4 A0 04 00 00 */ lhz r0, 0(r4) +/* 8029FD48 0029CCA8 7D 56 53 78 */ mr r22, r10 +/* 8029FD4C 0029CCAC 7C CB 33 78 */ mr r11, r6 +/* 8029FD50 0029CCB0 7D 0A 43 78 */ mr r10, r8 +/* 8029FD54 0029CCB4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8029FD58 0029CCB8 7C A6 2B 78 */ mr r6, r5 +/* 8029FD5C 0029CCBC 38 80 00 01 */ li r4, 1 +/* 8029FD60 0029CCC0 38 00 00 07 */ li r0, 7 +/* 8029FD64 0029CCC4 92 C1 00 08 */ stw r22, 8(r1) +/* 8029FD68 0029CCC8 FF 60 08 90 */ fmr f27, f1 +/* 8029FD6C 0029CCCC FF 80 10 90 */ fmr f28, f2 +/* 8029FD70 0029CCD0 82 E1 00 E8 */ lwz r23, 0xe8(r1) +/* 8029FD74 0029CCD4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8029FD78 0029CCD8 FF A0 18 90 */ fmr f29, f3 +/* 8029FD7C 0029CCDC FF C0 20 90 */ fmr f30, f4 +/* 8029FD80 0029CCE0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8029FD84 0029CCE4 FF E0 28 90 */ fmr f31, f5 +/* 8029FD88 0029CCE8 83 01 00 EC */ lwz r24, 0xec(r1) +/* 8029FD8C 0029CCEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029FD90 0029CCF0 7C 75 1B 78 */ mr r21, r3 +/* 8029FD94 0029CCF4 83 21 00 F0 */ lwz r25, 0xf0(r1) +/* 8029FD98 0029CCF8 7D 68 5B 78 */ mr r8, r11 +/* 8029FD9C 0029CCFC 91 21 00 18 */ stw r9, 0x18(r1) +/* 8029FDA0 0029CD00 7C E9 3B 78 */ mr r9, r7 +/* 8029FDA4 0029CD04 A3 41 00 F6 */ lhz r26, 0xf6(r1) +/* 8029FDA8 0029CD08 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8029FDAC 0029CD0C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8029FDB0 0029CD10 38 80 00 28 */ li r4, 0x28 +/* 8029FDB4 0029CD14 83 61 00 F8 */ lwz r27, 0xf8(r1) +/* 8029FDB8 0029CD18 38 E0 00 00 */ li r7, 0 +/* 8029FDBC 0029CD1C 83 81 00 FC */ lwz r28, 0xfc(r1) +/* 8029FDC0 0029CD20 A3 A1 01 02 */ lhz r29, 0x102(r1) +/* 8029FDC4 0029CD24 83 C1 01 04 */ lwz r30, 0x104(r1) +/* 8029FDC8 0029CD28 83 E1 01 08 */ lwz r31, 0x108(r1) +/* 8029FDCC 0029CD2C 4B DD D6 85 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8029FDD0 0029CD30 3C 80 80 3F */ lis r4, lbl_803EC0A0@ha +/* 8029FDD4 0029CD34 38 75 05 68 */ addi r3, r21, 0x568 +/* 8029FDD8 0029CD38 38 04 C0 A0 */ addi r0, r4, lbl_803EC0A0@l +/* 8029FDDC 0029CD3C 90 15 00 00 */ stw r0, 0(r21) +/* 8029FDE0 0029CD40 4B E9 EF 71 */ bl __ct__18CSteeringBehaviorsFv +/* 8029FDE4 0029CD44 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) +/* 8029FDE8 0029CD48 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8029FDEC 0029CD4C 38 03 53 43 */ addi r0, r3, 0x454C5343@l +/* 8029FDF0 0029CD50 38 61 00 44 */ addi r3, r1, 0x44 +/* 8029FDF4 0029CD54 D0 15 05 6C */ stfs f0, 0x56c(r21) +/* 8029FDF8 0029CD58 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8029FDFC 0029CD5C 92 F5 05 70 */ stw r23, 0x570(r21) +/* 8029FE00 0029CD60 D3 75 05 74 */ stfs f27, 0x574(r21) +/* 8029FE04 0029CD64 80 98 00 00 */ lwz r4, 0(r24) +/* 8029FE08 0029CD68 90 95 05 78 */ stw r4, 0x578(r21) +/* 8029FE0C 0029CD6C 88 98 00 04 */ lbz r4, 4(r24) +/* 8029FE10 0029CD70 98 95 05 7C */ stb r4, 0x57c(r21) +/* 8029FE14 0029CD74 C0 18 00 08 */ lfs f0, 8(r24) +/* 8029FE18 0029CD78 D0 15 05 80 */ stfs f0, 0x580(r21) +/* 8029FE1C 0029CD7C C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8029FE20 0029CD80 D0 15 05 84 */ stfs f0, 0x584(r21) +/* 8029FE24 0029CD84 C0 18 00 10 */ lfs f0, 0x10(r24) +/* 8029FE28 0029CD88 D0 15 05 88 */ stfs f0, 0x588(r21) +/* 8029FE2C 0029CD8C C0 18 00 14 */ lfs f0, 0x14(r24) +/* 8029FE30 0029CD90 D0 15 05 8C */ stfs f0, 0x58c(r21) +/* 8029FE34 0029CD94 88 98 00 18 */ lbz r4, 0x18(r24) +/* 8029FE38 0029CD98 98 95 05 90 */ stb r4, 0x590(r21) +/* 8029FE3C 0029CD9C C0 16 00 08 */ lfs f0, 8(r22) +/* 8029FE40 0029CDA0 D0 15 05 94 */ stfs f0, 0x594(r21) +/* 8029FE44 0029CDA4 D3 95 05 98 */ stfs f28, 0x598(r21) +/* 8029FE48 0029CDA8 93 35 05 9C */ stw r25, 0x59c(r21) +/* 8029FE4C 0029CDAC B3 55 05 A0 */ sth r26, 0x5a0(r21) +/* 8029FE50 0029CDB0 93 75 05 A4 */ stw r27, 0x5a4(r21) +/* 8029FE54 0029CDB4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8029FE58 0029CDB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029FE5C 0029CDBC 93 81 00 50 */ stw r28, 0x50(r1) +/* 8029FE60 0029CDC0 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FE64 0029CDC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029FE68 0029CDC8 7D 89 03 A6 */ mtctr r12 +/* 8029FE6C 0029CDCC 4E 80 04 21 */ bctrl +/* 8029FE70 0029CDD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029FE74 0029CDD4 38 81 00 44 */ addi r4, r1, 0x44 +/* 8029FE78 0029CDD8 48 0A 10 31 */ bl __ct__6CTokenFRC6CToken +/* 8029FE7C 0029CDDC 38 00 00 01 */ li r0, 1 +/* 8029FE80 0029CDE0 34 75 05 A8 */ addic. r3, r21, 0x5a8 +/* 8029FE84 0029CDE4 98 15 05 B0 */ stb r0, 0x5b0(r21) +/* 8029FE88 0029CDE8 41 82 00 0C */ beq lbl_8029FE94 +/* 8029FE8C 0029CDEC 38 81 00 3C */ addi r4, r1, 0x3c +/* 8029FE90 0029CDF0 48 0A 10 19 */ bl __ct__6CTokenFRC6CToken +lbl_8029FE94: +/* 8029FE94 0029CDF4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8029FE98 0029CDF8 38 80 00 00 */ li r4, 0 +/* 8029FE9C 0029CDFC 48 0A 0F A5 */ bl __dt__6CTokenFv +/* 8029FEA0 0029CE00 38 61 00 44 */ addi r3, r1, 0x44 +/* 8029FEA4 0029CE04 38 80 FF FF */ li r4, -1 +/* 8029FEA8 0029CE08 48 0A 0F 99 */ bl __dt__6CTokenFv +/* 8029FEAC 0029CE0C B3 B5 05 B4 */ sth r29, 0x5b4(r21) +/* 8029FEB0 0029CE10 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8029FEB4 0029CE14 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8029FEB8 0029CE18 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029FEBC 0029CE1C D3 B5 05 B8 */ stfs f29, 0x5b8(r21) +/* 8029FEC0 0029CE20 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8029FEC4 0029CE24 D3 D5 05 BC */ stfs f30, 0x5bc(r21) +/* 8029FEC8 0029CE28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029FECC 0029CE2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8029FED0 0029CE30 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029FED4 0029CE34 81 84 00 00 */ lwz r12, 0(r4) +/* 8029FED8 0029CE38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8029FEDC 0029CE3C 7D 89 03 A6 */ mtctr r12 +/* 8029FEE0 0029CE40 4E 80 04 21 */ bctrl +/* 8029FEE4 0029CE44 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029FEE8 0029CE48 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029FEEC 0029CE4C 48 0A 0F BD */ bl __ct__6CTokenFRC6CToken +/* 8029FEF0 0029CE50 38 00 00 01 */ li r0, 1 +/* 8029FEF4 0029CE54 34 75 05 C0 */ addic. r3, r21, 0x5c0 +/* 8029FEF8 0029CE58 98 15 05 C8 */ stb r0, 0x5c8(r21) +/* 8029FEFC 0029CE5C 41 82 00 0C */ beq lbl_8029FF08 +/* 8029FF00 0029CE60 38 81 00 24 */ addi r4, r1, 0x24 +/* 8029FF04 0029CE64 48 0A 0F A5 */ bl __ct__6CTokenFRC6CToken +lbl_8029FF08: +/* 8029FF08 0029CE68 38 61 00 24 */ addi r3, r1, 0x24 +/* 8029FF0C 0029CE6C 38 80 00 00 */ li r4, 0 +/* 8029FF10 0029CE70 48 0A 0F 31 */ bl __dt__6CTokenFv +/* 8029FF14 0029CE74 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029FF18 0029CE78 38 80 FF FF */ li r4, -1 +/* 8029FF1C 0029CE7C 48 0A 0F 25 */ bl __dt__6CTokenFv +/* 8029FF20 0029CE80 80 1F 00 00 */ lwz r0, 0(r31) +/* 8029FF24 0029CE84 7E A3 AB 78 */ mr r3, r21 +/* 8029FF28 0029CE88 38 80 00 00 */ li r4, 0 +/* 8029FF2C 0029CE8C 90 15 05 CC */ stw r0, 0x5cc(r21) +/* 8029FF30 0029CE90 88 1F 00 04 */ lbz r0, 4(r31) +/* 8029FF34 0029CE94 98 15 05 D0 */ stb r0, 0x5d0(r21) +/* 8029FF38 0029CE98 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8029FF3C 0029CE9C D0 15 05 D4 */ stfs f0, 0x5d4(r21) +/* 8029FF40 0029CEA0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8029FF44 0029CEA4 D0 15 05 D8 */ stfs f0, 0x5d8(r21) +/* 8029FF48 0029CEA8 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8029FF4C 0029CEAC D0 15 05 DC */ stfs f0, 0x5dc(r21) +/* 8029FF50 0029CEB0 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8029FF54 0029CEB4 D0 15 05 E0 */ stfs f0, 0x5e0(r21) +/* 8029FF58 0029CEB8 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8029FF5C 0029CEBC 98 15 05 E4 */ stb r0, 0x5e4(r21) +/* 8029FF60 0029CEC0 D3 F5 05 E8 */ stfs f31, 0x5e8(r21) +/* 8029FF64 0029CEC4 4B DB 2E 09 */ bl CreateShadow__6CActorFb +/* 8029FF68 0029CEC8 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FF6C 0029CECC 38 60 00 00 */ li r3, 0 +/* 8029FF70 0029CED0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8029FF74 0029CED4 38 75 04 60 */ addi r3, r21, 0x460 +/* 8029FF78 0029CED8 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FF7C 0029CEDC 38 80 00 00 */ li r4, 0 +/* 8029FF80 0029CEE0 4B F9 3D E5 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 8029FF84 0029CEE4 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FF88 0029CEE8 38 80 00 00 */ li r4, 0 +/* 8029FF8C 0029CEEC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8029FF90 0029CEF0 7E A3 AB 78 */ mr r3, r21 +/* 8029FF94 0029CEF4 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FF98 0029CEF8 88 15 04 E2 */ lbz r0, 0x4e2(r21) +/* 8029FF9C 0029CEFC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8029FFA0 0029CF00 98 15 04 E2 */ stb r0, 0x4e2(r21) +/* 8029FFA4 0029CF04 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFA8 0029CF08 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8029FFAC 0029CF0C 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFB0 0029CF10 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFB4 0029CF14 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8029FFB8 0029CF18 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFBC 0029CF1C 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFC0 0029CF20 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8029FFC4 0029CF24 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFC8 0029CF28 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFCC 0029CF2C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8029FFD0 0029CF30 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFD4 0029CF34 88 15 04 E1 */ lbz r0, 0x4e1(r21) +/* 8029FFD8 0029CF38 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8029FFDC 0029CF3C 98 15 04 E1 */ stb r0, 0x4e1(r21) +/* 8029FFE0 0029CF40 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8029FFE4 0029CF44 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8029FFE8 0029CF48 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8029FFEC 0029CF4C CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8029FFF0 0029CF50 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8029FFF4 0029CF54 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8029FFF8 0029CF58 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8029FFFC 0029CF5C CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802A0000 0029CF60 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802A0004 0029CF64 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802A0008 0029CF68 BA A1 00 64 */ lmw r21, 0x64(r1) +/* 802A000C 0029CF6C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A0010 0029CF70 7C 08 03 A6 */ mtlr r0 +/* 802A0014 0029CF74 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802A0018 0029CF78 4E 80 00 20 */ blr + +.global sub_802a001c +sub_802a001c: +/* 802A001C 0029CF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0020 0029CF80 7C 08 02 A6 */ mflr r0 +/* 802A0024 0029CF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0028 0029CF88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A002C 0029CF8C 7C 9F 23 78 */ mr r31, r4 +/* 802A0030 0029CF90 93 C1 00 08 */ stw r30, 8(r1) +/* 802A0034 0029CF94 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A0038 0029CF98 41 82 00 28 */ beq lbl_802A0060 +/* 802A003C 0029CF9C 3C A0 80 3F */ lis r5, lbl_803EC370@ha +/* 802A0040 0029CFA0 38 80 00 00 */ li r4, 0 +/* 802A0044 0029CFA4 38 05 C3 70 */ addi r0, r5, lbl_803EC370@l +/* 802A0048 0029CFA8 90 1E 00 00 */ stw r0, 0(r30) +/* 802A004C 0029CFAC 4B DB 12 29 */ bl __dt__7CEntityFv +/* 802A0050 0029CFB0 7F E0 07 35 */ extsh. r0, r31 +/* 802A0054 0029CFB4 40 81 00 0C */ ble lbl_802A0060 +/* 802A0058 0029CFB8 7F C3 F3 78 */ mr r3, r30 +/* 802A005C 0029CFBC 48 07 58 D5 */ bl Free__7CMemoryFPCv +lbl_802A0060: +/* 802A0060 0029CFC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A0064 0029CFC4 7F C3 F3 78 */ mr r3, r30 +/* 802A0068 0029CFC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A006C 0029CFCC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A0070 0029CFD0 7C 08 03 A6 */ mtlr r0 +/* 802A0074 0029CFD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A0078 0029CFD8 4E 80 00 20 */ blr + +.global sub_802a007c +sub_802a007c: +/* 802A007C 0029CFDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0080 0029CFE0 7C 08 02 A6 */ mflr r0 +/* 802A0084 0029CFE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0088 0029CFE8 7C 60 1B 78 */ mr r0, r3 +/* 802A008C 0029CFEC 7C 83 23 78 */ mr r3, r4 +/* 802A0090 0029CFF0 81 84 00 00 */ lwz r12, 0(r4) +/* 802A0094 0029CFF4 7C 04 03 78 */ mr r4, r0 +/* 802A0098 0029CFF8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802A009C 0029CFFC 7D 89 03 A6 */ mtctr r12 +/* 802A00A0 0029D000 4E 80 04 21 */ bctrl +/* 802A00A4 0029D004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A00A8 0029D008 7C 08 03 A6 */ mtlr r0 +/* 802A00AC 0029D00C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A00B0 0029D010 4E 80 00 20 */ blr + +.global sub_802a00b4 +sub_802a00b4: +/* 802A00B4 0029D014 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A00B8 0029D018 7C 08 02 A6 */ mflr r0 +/* 802A00BC 0029D01C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A00C0 0029D020 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A00C4 0029D024 7C 7F 1B 78 */ mr r31, r3 +/* 802A00C8 0029D028 88 03 00 58 */ lbz r0, 0x58(r3) +/* 802A00CC 0029D02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A00D0 0029D030 41 82 00 1C */ beq lbl_802A00EC +/* 802A00D4 0029D034 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 802A00D8 0029D038 4B D7 18 6D */ bl DecrementPhazon__7CPlayerFv +/* 802A00DC 0029D03C 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802A00E0 0029D040 38 60 00 00 */ li r3, 0 +/* 802A00E4 0029D044 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802A00E8 0029D048 98 1F 00 58 */ stb r0, 0x58(r31) +lbl_802A00EC: +/* 802A00EC 0029D04C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A00F0 0029D050 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A00F4 0029D054 7C 08 03 A6 */ mtlr r0 +/* 802A00F8 0029D058 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A00FC 0029D05C 4E 80 00 20 */ blr + +.global sub_802a0100 +sub_802a0100: +/* 802A0100 0029D060 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A0104 0029D064 7C 08 02 A6 */ mflr r0 +/* 802A0108 0029D068 2C 04 00 22 */ cmpwi r4, 0x22 +/* 802A010C 0029D06C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A0110 0029D070 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A0114 0029D074 7C 7F 1B 78 */ mr r31, r3 +/* 802A0118 0029D078 41 82 00 30 */ beq lbl_802A0148 +/* 802A011C 0029D07C 40 80 00 34 */ bge lbl_802A0150 +/* 802A0120 0029D080 2C 04 00 21 */ cmpwi r4, 0x21 +/* 802A0124 0029D084 40 80 00 08 */ bge lbl_802A012C +/* 802A0128 0029D088 48 00 00 28 */ b lbl_802A0150 +lbl_802A012C: +/* 802A012C 0029D08C 80 66 08 4C */ lwz r3, 0x84c(r6) +/* 802A0130 0029D090 4B D7 18 2D */ bl IncrementPhazon__7CPlayerFv +/* 802A0134 0029D094 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802A0138 0029D098 38 60 00 01 */ li r3, 1 +/* 802A013C 0029D09C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802A0140 0029D0A0 98 1F 00 58 */ stb r0, 0x58(r31) +/* 802A0144 0029D0A4 48 00 00 0C */ b lbl_802A0150 +lbl_802A0148: +/* 802A0148 0029D0A8 7C C4 33 78 */ mr r4, r6 +/* 802A014C 0029D0AC 4B FF FF 69 */ bl sub_802a00b4 +lbl_802A0150: +/* 802A0150 0029D0B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A0154 0029D0B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A0158 0029D0B8 7C 08 03 A6 */ mtlr r0 +/* 802A015C 0029D0BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A0160 0029D0C0 4E 80 00 20 */ blr + +.global sub_802a0164 +sub_802a0164: +/* 802A0164 0029D0C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A0168 0029D0C8 7C 08 02 A6 */ mflr r0 +/* 802A016C 0029D0CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A0170 0029D0D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802A0174 0029D0D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802A0178 0029D0D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802A017C 0029D0DC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802A0180 0029D0E0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802A0184 0029D0E4 FF E0 08 90 */ fmr f31, f1 +/* 802A0188 0029D0E8 7C 7E 1B 78 */ mr r30, r3 +/* 802A018C 0029D0EC 7C 9F 23 78 */ mr r31, r4 +/* 802A0190 0029D0F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A0194 0029D0F4 41 82 00 C8 */ beq lbl_802A025C +/* 802A0198 0029D0F8 C0 3E 00 54 */ lfs f1, 0x54(r30) +/* 802A019C 0029D0FC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 802A01A0 0029D100 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A01A4 0029D104 40 81 00 24 */ ble lbl_802A01C8 +/* 802A01A8 0029D108 4B FF FF 0D */ bl sub_802a00b4 +/* 802A01AC 0029D10C A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A01B0 0029D110 7F E3 FB 78 */ mr r3, r31 +/* 802A01B4 0029D114 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A01B8 0029D118 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802A01BC 0029D11C B0 01 00 24 */ sth r0, 0x24(r1) +/* 802A01C0 0029D120 4B DA C0 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802A01C4 0029D124 48 00 00 8C */ b lbl_802A0250 +lbl_802A01C8: +/* 802A01C8 0029D128 80 AD 9A 48 */ lwz r5, lbl_805A8608@sda21(r13) +/* 802A01CC 0029D12C 38 60 00 00 */ li r3, 0 +/* 802A01D0 0029D130 38 80 00 01 */ li r4, 1 +/* 802A01D4 0029D134 48 0E 9D 21 */ bl __shl2i +/* 802A01D8 0029D138 38 A0 00 00 */ li r5, 0 +/* 802A01DC 0029D13C 38 00 00 03 */ li r0, 3 +/* 802A01E0 0029D140 90 81 00 2C */ stw r4, 0x2c(r1) +/* 802A01E4 0029D144 FC 20 F8 90 */ fmr f1, f31 +/* 802A01E8 0029D148 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802A01EC 0029D14C 90 61 00 28 */ stw r3, 0x28(r1) +/* 802A01F0 0029D150 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A01F4 0029D154 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802A01F8 0029D158 90 A1 00 30 */ stw r5, 0x30(r1) +/* 802A01FC 0029D15C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A0200 0029D160 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A0204 0029D164 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802A0208 0029D168 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 802A020C 0029D16C B0 01 00 08 */ sth r0, 8(r1) +/* 802A0210 0029D170 A0 A5 00 08 */ lhz r5, 8(r5) +/* 802A0214 0029D174 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 802A0218 0029D178 A0 1E 00 08 */ lhz r0, 8(r30) +/* 802A021C 0029D17C B0 A1 00 10 */ sth r5, 0x10(r1) +/* 802A0220 0029D180 B0 01 00 18 */ sth r0, 0x18(r1) +/* 802A0224 0029D184 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 802A0228 0029D188 4B E2 32 21 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 802A022C 0029D18C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802A0230 0029D190 7F E3 FB 78 */ mr r3, r31 +/* 802A0234 0029D194 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 802A0238 0029D198 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802A023C 0029D19C 38 81 00 1C */ addi r4, r1, 0x1c +/* 802A0240 0029D1A0 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A0244 0029D1A4 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802A0248 0029D1A8 39 01 00 28 */ addi r8, r1, 0x28 +/* 802A024C 0029D1AC 4B DA 9E 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_802A0250: +/* 802A0250 0029D1B0 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 802A0254 0029D1B4 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A0258 0029D1B8 D0 1E 00 54 */ stfs f0, 0x54(r30) +lbl_802A025C: +/* 802A025C 0029D1BC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802A0260 0029D1C0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A0264 0029D1C4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802A0268 0029D1C8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802A026C 0029D1CC 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802A0270 0029D1D0 7C 08 03 A6 */ mtlr r0 +/* 802A0274 0029D1D4 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A0278 0029D1D8 4E 80 00 20 */ blr + +.global sub_802a027c +sub_802a027c: +/* 802A027C 0029D1DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A0280 0029D1E0 7C 08 02 A6 */ mflr r0 +/* 802A0284 0029D1E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A0288 0029D1E8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802A028C 0029D1EC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802A0290 0029D1F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A0294 0029D1F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A0298 0029D1F8 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A029C 0029D1FC FF E0 08 90 */ fmr f31, f1 +/* 802A02A0 0029D200 7C 7E 1B 78 */ mr r30, r3 +/* 802A02A4 0029D204 7D 1F 43 78 */ mr r31, r8 +/* 802A02A8 0029D208 B0 01 00 08 */ sth r0, 8(r1) +/* 802A02AC 0029D20C 38 81 00 08 */ addi r4, r1, 8 +/* 802A02B0 0029D210 4B DB 10 75 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 802A02B4 0029D214 3C 60 80 3F */ lis r3, lbl_803EC370@ha +/* 802A02B8 0029D218 C0 02 C1 08 */ lfs f0, lbl_805ADE28@sda21(r2) +/* 802A02BC 0029D21C 38 03 C3 70 */ addi r0, r3, lbl_803EC370@l +/* 802A02C0 0029D220 38 80 00 00 */ li r4, 0 +/* 802A02C4 0029D224 90 1E 00 00 */ stw r0, 0(r30) +/* 802A02C8 0029D228 7F C3 F3 78 */ mr r3, r30 +/* 802A02CC 0029D22C 80 1F 00 00 */ lwz r0, 0(r31) +/* 802A02D0 0029D230 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A02D4 0029D234 88 1F 00 04 */ lbz r0, 4(r31) +/* 802A02D8 0029D238 98 1E 00 38 */ stb r0, 0x38(r30) +/* 802A02DC 0029D23C C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A02E0 0029D240 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 802A02E4 0029D244 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A02E8 0029D248 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 802A02EC 0029D24C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A02F0 0029D250 D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 802A02F4 0029D254 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802A02F8 0029D258 D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 802A02FC 0029D25C 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 802A0300 0029D260 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802A0304 0029D264 D3 FE 00 50 */ stfs f31, 0x50(r30) +/* 802A0308 0029D268 D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 802A030C 0029D26C 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802A0310 0029D270 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A0314 0029D274 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802A0318 0029D278 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802A031C 0029D27C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A0320 0029D280 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802A0324 0029D284 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A0328 0029D288 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A032C 0029D28C 7C 08 03 A6 */ mtlr r0 +/* 802A0330 0029D290 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A0334 0029D294 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CFire.s b/asm/Kyoto_CWD/ScriptObjects/CFire.s new file mode 100644 index 00000000..b2e2f5a2 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CFire.s @@ -0,0 +1,667 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8025CC24 00259B84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025CC28 00259B88 7C 08 02 A6 */ mflr r0 +/* 8025CC2C 00259B8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025CC30 00259B90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025CC34 00259B94 7C 9F 23 78 */ mr r31, r4 +/* 8025CC38 00259B98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025CC3C 00259B9C 7C 7E 1B 78 */ mr r30, r3 +/* 8025CC40 00259BA0 A0 05 00 00 */ lhz r0, 0(r5) +/* 8025CC44 00259BA4 38 A1 00 08 */ addi r5, r1, 8 +/* 8025CC48 00259BA8 B0 01 00 08 */ sth r0, 8(r1) +/* 8025CC4C 00259BAC 4B DF 69 C9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8025CC50 00259BB0 2C 1F 00 21 */ cmpwi r31, 0x21 +/* 8025CC54 00259BB4 41 82 00 08 */ beq lbl_8025CC5C +/* 8025CC58 00259BB8 48 00 00 34 */ b lbl_8025CC8C +lbl_8025CC5C: +/* 8025CC5C 00259BBC 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8025CC60 00259BC0 38 80 00 01 */ li r4, 1 +/* 8025CC64 00259BC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8025CC68 00259BC8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8025CC6C 00259BCC 7D 89 03 A6 */ mtctr r12 +/* 8025CC70 00259BD0 4E 80 04 21 */ bctrl +/* 8025CC74 00259BD4 7F C3 F3 78 */ mr r3, r30 +/* 8025CC78 00259BD8 38 80 00 01 */ li r4, 1 +/* 8025CC7C 00259BDC 81 9E 00 00 */ lwz r12, 0(r30) +/* 8025CC80 00259BE0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8025CC84 00259BE4 7D 89 03 A6 */ mtctr r12 +/* 8025CC88 00259BE8 4E 80 04 21 */ bctrl +lbl_8025CC8C: +/* 8025CC8C 00259BEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025CC90 00259BF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025CC94 00259BF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025CC98 00259BF8 7C 08 03 A6 */ mtlr r0 +/* 8025CC9C 00259BFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025CCA0 00259C00 4E 80 00 20 */ blr + +.global Think__5CFireFfR13CStateManager +Think__5CFireFfR13CStateManager: +/* 8025CCA4 00259C04 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8025CCA8 00259C08 7C 08 02 A6 */ mflr r0 +/* 8025CCAC 00259C0C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8025CCB0 00259C10 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8025CCB4 00259C14 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8025CCB8 00259C18 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8025CCBC 00259C1C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8025CCC0 00259C20 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8025CCC4 00259C24 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8025CCC8 00259C28 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8025CCCC 00259C2C 7C 7E 1B 78 */ mr r30, r3 +/* 8025CCD0 00259C30 FF C0 08 90 */ fmr f30, f1 +/* 8025CCD4 00259C34 83 A3 00 E8 */ lwz r29, 0xe8(r3) +/* 8025CCD8 00259C38 7C 9F 23 78 */ mr r31, r4 +/* 8025CCDC 00259C3C 7F A3 EB 78 */ mr r3, r29 +/* 8025CCE0 00259C40 81 9D 00 00 */ lwz r12, 0(r29) +/* 8025CCE4 00259C44 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8025CCE8 00259C48 7D 89 03 A6 */ mtctr r12 +/* 8025CCEC 00259C4C 4E 80 04 21 */ bctrl +/* 8025CCF0 00259C50 3C A0 43 30 */ lis r5, 0x4330 +/* 8025CCF4 00259C54 6C 66 80 00 */ xoris r6, r3, 0x8000 +/* 8025CCF8 00259C58 80 9D 00 90 */ lwz r4, 0x90(r29) +/* 8025CCFC 00259C5C 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8025CD00 00259C60 6C 83 80 00 */ xoris r3, r4, 0x8000 +/* 8025CD04 00259C64 C8 42 BA 08 */ lfd f2, lbl_805AD728@sda21(r2) +/* 8025CD08 00259C68 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8025CD0C 00259C6C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8025CD10 00259C70 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8025CD14 00259C74 90 61 00 74 */ stw r3, 0x74(r1) +/* 8025CD18 00259C78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025CD1C 00259C7C EC 20 10 28 */ fsubs f1, f0, f2 +/* 8025CD20 00259C80 90 A1 00 70 */ stw r5, 0x70(r1) +/* 8025CD24 00259C84 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8025CD28 00259C88 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8025CD2C 00259C8C EF E1 00 24 */ fdivs f31, f1, f0 +/* 8025CD30 00259C90 41 82 00 80 */ beq lbl_8025CDB0 +/* 8025CD34 00259C94 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8025CD38 00259C98 C0 1E 01 44 */ lfs f0, 0x144(r30) +/* 8025CD3C 00259C9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8025CD40 00259CA0 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8025CD44 00259CA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8025CD48 00259CA8 7D 89 03 A6 */ mtctr r12 +/* 8025CD4C 00259CAC 4E 80 04 21 */ bctrl +/* 8025CD50 00259CB0 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2) +/* 8025CD54 00259CB4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8025CD58 00259CB8 38 9E 00 F0 */ addi r4, r30, 0xf0 +/* 8025CD5C 00259CBC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8025CD60 00259CC0 40 81 00 0C */ ble lbl_8025CD6C +/* 8025CD64 00259CC4 FC 00 F8 90 */ fmr f0, f31 +/* 8025CD68 00259CC8 48 00 00 08 */ b lbl_8025CD70 +lbl_8025CD6C: +/* 8025CD6C 00259CCC C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2) +lbl_8025CD70: +/* 8025CD70 00259CD0 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8025CD74 00259CD4 4B E6 66 D5 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 8025CD78 00259CD8 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8025CD7C 00259CDC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8025CD80 00259CE0 90 7E 01 0C */ stw r3, 0x10c(r30) +/* 8025CD84 00259CE4 90 1E 01 10 */ stw r0, 0x110(r30) +/* 8025CD88 00259CE8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8025CD8C 00259CEC D0 1E 01 14 */ stfs f0, 0x114(r30) +/* 8025CD90 00259CF0 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8025CD94 00259CF4 D0 1E 01 18 */ stfs f0, 0x118(r30) +/* 8025CD98 00259CF8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8025CD9C 00259CFC D0 1E 01 1C */ stfs f0, 0x11c(r30) +/* 8025CDA0 00259D00 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8025CDA4 00259D04 D0 1E 01 20 */ stfs f0, 0x120(r30) +/* 8025CDA8 00259D08 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8025CDAC 00259D0C 98 1E 01 24 */ stb r0, 0x124(r30) +lbl_8025CDB0: +/* 8025CDB0 00259D10 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8025CDB4 00259D14 3B A0 00 00 */ li r29, 0 +/* 8025CDB8 00259D18 81 83 00 00 */ lwz r12, 0(r3) +/* 8025CDBC 00259D1C 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8025CDC0 00259D20 7D 89 03 A6 */ mtctr r12 +/* 8025CDC4 00259D24 4E 80 04 21 */ bctrl +/* 8025CDC8 00259D28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025CDCC 00259D2C 41 82 00 08 */ beq lbl_8025CDD4 +/* 8025CDD0 00259D30 3B A0 00 01 */ li r29, 1 +lbl_8025CDD4: +/* 8025CDD4 00259D34 88 1E 01 48 */ lbz r0, 0x148(r30) +/* 8025CDD8 00259D38 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8025CDDC 00259D3C 41 82 00 A8 */ beq lbl_8025CE84 +/* 8025CDE0 00259D40 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8025CDE4 00259D44 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025CDE8 00259D48 81 84 00 00 */ lwz r12, 0(r4) +/* 8025CDEC 00259D4C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8025CDF0 00259D50 7D 89 03 A6 */ mtctr r12 +/* 8025CDF4 00259D54 4E 80 04 21 */ bctrl +/* 8025CDF8 00259D58 7F C4 F3 78 */ mr r4, r30 +/* 8025CDFC 00259D5C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8025CE00 00259D60 81 9E 00 00 */ lwz r12, 0(r30) +/* 8025CE04 00259D64 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8025CE08 00259D68 7D 89 03 A6 */ mtctr r12 +/* 8025CE0C 00259D6C 4E 80 04 21 */ bctrl +/* 8025CE10 00259D70 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025CE14 00259D74 38 81 00 10 */ addi r4, r1, 0x10 +/* 8025CE18 00259D78 48 0D AD 6D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 8025CE1C 00259D7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8025CE20 00259D80 38 60 00 00 */ li r3, 0 +/* 8025CE24 00259D84 98 61 00 28 */ stb r3, 0x28(r1) +/* 8025CE28 00259D88 98 61 00 44 */ stb r3, 0x44(r1) +/* 8025CE2C 00259D8C 41 82 00 3C */ beq lbl_8025CE68 +/* 8025CE30 00259D90 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8025CE34 00259D94 40 82 00 34 */ bne lbl_8025CE68 +/* 8025CE38 00259D98 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2) +/* 8025CE3C 00259D9C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8025CE40 00259DA0 40 81 00 28 */ ble lbl_8025CE68 +/* 8025CE44 00259DA4 C0 1E 01 4C */ lfs f0, 0x14c(r30) +/* 8025CE48 00259DA8 38 A0 00 01 */ li r5, 1 +/* 8025CE4C 00259DAC 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025CE50 00259DB0 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 8025CE54 00259DB4 C0 5E 01 54 */ lfs f2, 0x154(r30) +/* 8025CE58 00259DB8 C0 7E 01 58 */ lfs f3, 0x158(r30) +/* 8025CE5C 00259DBC 80 9E 01 50 */ lwz r4, 0x150(r30) +/* 8025CE60 00259DC0 4B DB AC 55 */ bl SetVisorSteam__7CPlayerFfffUib +/* 8025CE64 00259DC4 48 00 00 20 */ b lbl_8025CE84 +lbl_8025CE68: +/* 8025CE68 00259DC8 C0 42 BA 00 */ lfs f2, lbl_805AD720@sda21(r2) +/* 8025CE6C 00259DCC 38 80 FF FF */ li r4, -1 +/* 8025CE70 00259DD0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8025CE74 00259DD4 38 A0 00 01 */ li r5, 1 +/* 8025CE78 00259DD8 FC 60 10 90 */ fmr f3, f2 +/* 8025CE7C 00259DDC C0 22 B9 F8 */ lfs f1, lbl_805AD718@sda21(r2) +/* 8025CE80 00259DE0 4B DB AC 35 */ bl SetVisorSteam__7CPlayerFfffUib +lbl_8025CE84: +/* 8025CE84 00259DE4 C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 8025CE88 00259DE8 C0 02 BA 04 */ lfs f0, lbl_805AD724@sda21(r2) +/* 8025CE8C 00259DEC EC 21 F0 2A */ fadds f1, f1, f30 +/* 8025CE90 00259DF0 D0 3E 01 5C */ stfs f1, 0x15c(r30) +/* 8025CE94 00259DF4 C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 8025CE98 00259DF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8025CE9C 00259DFC 40 81 00 08 */ ble lbl_8025CEA4 +/* 8025CEA0 00259E00 3B A0 00 01 */ li r29, 1 +lbl_8025CEA4: +/* 8025CEA4 00259E04 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8025CEA8 00259E08 41 82 00 1C */ beq lbl_8025CEC4 +/* 8025CEAC 00259E0C A0 1E 00 08 */ lhz r0, 8(r30) +/* 8025CEB0 00259E10 7F E3 FB 78 */ mr r3, r31 +/* 8025CEB4 00259E14 38 81 00 0C */ addi r4, r1, 0xc +/* 8025CEB8 00259E18 B0 01 00 08 */ sth r0, 8(r1) +/* 8025CEBC 00259E1C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025CEC0 00259E20 4B DE F3 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8025CEC4: +/* 8025CEC4 00259E24 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8025CEC8 00259E28 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8025CECC 00259E2C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8025CED0 00259E30 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8025CED4 00259E34 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8025CED8 00259E38 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8025CEDC 00259E3C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8025CEE0 00259E40 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8025CEE4 00259E44 7C 08 03 A6 */ mtlr r0 +/* 8025CEE8 00259E48 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8025CEEC 00259E4C 4E 80 00 20 */ blr + +.global Accept__5CFireFR8IVisitor +Accept__5CFireFR8IVisitor: +/* 8025CEF0 00259E50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025CEF4 00259E54 7C 08 02 A6 */ mflr r0 +/* 8025CEF8 00259E58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025CEFC 00259E5C 7C 60 1B 78 */ mr r0, r3 +/* 8025CF00 00259E60 7C 83 23 78 */ mr r3, r4 +/* 8025CF04 00259E64 81 84 00 00 */ lwz r12, 0(r4) +/* 8025CF08 00259E68 7C 04 03 78 */ mr r4, r0 +/* 8025CF0C 00259E6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8025CF10 00259E70 7D 89 03 A6 */ mtctr r12 +/* 8025CF14 00259E74 4E 80 04 21 */ bctrl +/* 8025CF18 00259E78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025CF1C 00259E7C 7C 08 03 A6 */ mtlr r0 +/* 8025CF20 00259E80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025CF24 00259E84 4E 80 00 20 */ blr + +.global Render__5CFireCFRC13CStateManager +Render__5CFireCFRC13CStateManager: +/* 8025CF28 00259E88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8025CF2C 00259E8C 7C 08 02 A6 */ mflr r0 +/* 8025CF30 00259E90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025CF34 00259E94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8025CF38 00259E98 3B E0 00 01 */ li r31, 1 +/* 8025CF3C 00259E9C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8025CF40 00259EA0 7C BE 2B 78 */ mr r30, r5 +/* 8025CF44 00259EA4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8025CF48 00259EA8 7C 9D 23 78 */ mr r29, r4 +/* 8025CF4C 00259EAC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8025CF50 00259EB0 7C 7C 1B 78 */ mr r28, r3 +/* 8025CF54 00259EB4 88 03 01 48 */ lbz r0, 0x148(r3) +/* 8025CF58 00259EB8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8025CF5C 00259EBC 40 82 00 68 */ bne lbl_8025CFC4 +/* 8025CF60 00259EC0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8025CF64 00259EC4 7F C4 F3 78 */ mr r4, r30 +/* 8025CF68 00259EC8 80 63 00 00 */ lwz r3, 0(r3) +/* 8025CF6C 00259ECC 4B E3 45 ED */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8025CF70 00259ED0 2C 03 00 02 */ cmpwi r3, 2 +/* 8025CF74 00259ED4 41 82 00 24 */ beq lbl_8025CF98 +/* 8025CF78 00259ED8 40 80 00 14 */ bge lbl_8025CF8C +/* 8025CF7C 00259EDC 2C 03 00 00 */ cmpwi r3, 0 +/* 8025CF80 00259EE0 41 82 00 18 */ beq lbl_8025CF98 +/* 8025CF84 00259EE4 40 80 00 24 */ bge lbl_8025CFA8 +/* 8025CF88 00259EE8 48 00 00 3C */ b lbl_8025CFC4 +lbl_8025CF8C: +/* 8025CF8C 00259EEC 2C 03 00 04 */ cmpwi r3, 4 +/* 8025CF90 00259EF0 40 80 00 34 */ bge lbl_8025CFC4 +/* 8025CF94 00259EF4 48 00 00 24 */ b lbl_8025CFB8 +lbl_8025CF98: +/* 8025CF98 00259EF8 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 8025CF9C 00259EFC 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8025CFA0 00259F00 7C 1F 03 78 */ mr r31, r0 +/* 8025CFA4 00259F04 48 00 00 20 */ b lbl_8025CFC4 +lbl_8025CFA8: +/* 8025CFA8 00259F08 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 8025CFAC 00259F0C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f +/* 8025CFB0 00259F10 7C 1F 03 78 */ mr r31, r0 +/* 8025CFB4 00259F14 48 00 00 10 */ b lbl_8025CFC4 +lbl_8025CFB8: +/* 8025CFB8 00259F18 88 1C 01 48 */ lbz r0, 0x148(r28) +/* 8025CFBC 00259F1C 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8025CFC0 00259F20 7C 1F 03 78 */ mr r31, r0 +lbl_8025CFC4: +/* 8025CFC4 00259F24 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8025CFC8 00259F28 41 82 00 1C */ beq lbl_8025CFE4 +/* 8025CFCC 00259F2C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8025CFD0 00259F30 80 9C 00 E8 */ lwz r4, 0xe8(r28) +/* 8025CFD4 00259F34 81 83 00 00 */ lwz r12, 0(r3) +/* 8025CFD8 00259F38 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8025CFDC 00259F3C 7D 89 03 A6 */ mtctr r12 +/* 8025CFE0 00259F40 4E 80 04 21 */ bctrl +lbl_8025CFE4: +/* 8025CFE4 00259F44 7F 83 E3 78 */ mr r3, r28 +/* 8025CFE8 00259F48 7F A4 EB 78 */ mr r4, r29 +/* 8025CFEC 00259F4C 7F C5 F3 78 */ mr r5, r30 +/* 8025CFF0 00259F50 4B DF 7B 49 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +/* 8025CFF4 00259F54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8025CFF8 00259F58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8025CFFC 00259F5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8025D000 00259F60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8025D004 00259F64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8025D008 00259F68 7C 08 03 A6 */ mtlr r0 +/* 8025D00C 00259F6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8025D010 00259F70 4E 80 00 20 */ blr + +.global GetTouchBounds__5CFireCFv +GetTouchBounds__5CFireCFv: +/* 8025D014 00259F74 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8025D018 00259F78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8025D01C 00259F7C 41 82 00 54 */ beq lbl_8025D070 +/* 8025D020 00259F80 88 04 01 40 */ lbz r0, 0x140(r4) +/* 8025D024 00259F84 98 03 00 18 */ stb r0, 0x18(r3) +/* 8025D028 00259F88 88 04 01 40 */ lbz r0, 0x140(r4) +/* 8025D02C 00259F8C 28 00 00 00 */ cmplwi r0, 0 +/* 8025D030 00259F90 4D 82 00 20 */ beqlr +/* 8025D034 00259F94 28 03 00 00 */ cmplwi r3, 0 +/* 8025D038 00259F98 4D 82 00 20 */ beqlr +/* 8025D03C 00259F9C C0 04 01 28 */ lfs f0, 0x128(r4) +/* 8025D040 00259FA0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8025D044 00259FA4 C0 04 01 2C */ lfs f0, 0x12c(r4) +/* 8025D048 00259FA8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8025D04C 00259FAC C0 04 01 30 */ lfs f0, 0x130(r4) +/* 8025D050 00259FB0 D0 03 00 08 */ stfs f0, 8(r3) +/* 8025D054 00259FB4 C0 04 01 34 */ lfs f0, 0x134(r4) +/* 8025D058 00259FB8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8025D05C 00259FBC C0 04 01 38 */ lfs f0, 0x138(r4) +/* 8025D060 00259FC0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8025D064 00259FC4 C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 8025D068 00259FC8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8025D06C 00259FCC 4E 80 00 20 */ blr +lbl_8025D070: +/* 8025D070 00259FD0 38 00 00 00 */ li r0, 0 +/* 8025D074 00259FD4 98 03 00 18 */ stb r0, 0x18(r3) +/* 8025D078 00259FD8 4E 80 00 20 */ blr + +.global Touch__5CFireFR6CActorR13CStateManager +Touch__5CFireFR6CActorR13CStateManager: +/* 8025D07C 00259FDC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8025D080 00259FE0 7C 08 02 A6 */ mflr r0 +/* 8025D084 00259FE4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8025D088 00259FE8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8025D08C 00259FEC 7C BF 2B 78 */ mr r31, r5 +/* 8025D090 00259FF0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8025D094 00259FF4 7C 9E 23 78 */ mr r30, r4 +/* 8025D098 00259FF8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8025D09C 00259FFC 7C 7D 1B 78 */ mr r29, r3 +/* 8025D0A0 0025A000 A0 64 00 08 */ lhz r3, 8(r4) +/* 8025D0A4 0025A004 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 8025D0A8 0025A008 7C 03 00 40 */ cmplw r3, r0 +/* 8025D0AC 0025A00C 41 82 00 78 */ beq lbl_8025D124 +/* 8025D0B0 0025A010 80 AD 97 D0 */ lwz r5, lbl_805A8390@sda21(r13) +/* 8025D0B4 0025A014 38 60 00 00 */ li r3, 0 +/* 8025D0B8 0025A018 38 80 00 01 */ li r4, 1 +/* 8025D0BC 0025A01C 48 12 CE 39 */ bl __shl2i +/* 8025D0C0 0025A020 39 40 00 00 */ li r10, 0 +/* 8025D0C4 0025A024 38 00 00 03 */ li r0, 3 +/* 8025D0C8 0025A028 90 81 00 24 */ stw r4, 0x24(r1) +/* 8025D0CC 0025A02C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025D0D0 0025A030 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8025D0D4 0025A034 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8025D0D8 0025A038 90 61 00 20 */ stw r3, 0x20(r1) +/* 8025D0DC 0025A03C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8025D0E0 0025A040 7F E3 FB 78 */ mr r3, r31 +/* 8025D0E4 0025A044 38 C1 00 0C */ addi r6, r1, 0xc +/* 8025D0E8 0025A048 91 41 00 2C */ stw r10, 0x2c(r1) +/* 8025D0EC 0025A04C 38 FD 01 0C */ addi r7, r29, 0x10c +/* 8025D0F0 0025A050 39 01 00 20 */ addi r8, r1, 0x20 +/* 8025D0F4 0025A054 91 41 00 28 */ stw r10, 0x28(r1) +/* 8025D0F8 0025A058 90 01 00 30 */ stw r0, 0x30(r1) +/* 8025D0FC 0025A05C A0 1D 00 08 */ lhz r0, 8(r29) +/* 8025D100 0025A060 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8025D104 0025A064 A1 5E 00 08 */ lhz r10, 8(r30) +/* 8025D108 0025A068 B0 01 00 08 */ sth r0, 8(r1) +/* 8025D10C 0025A06C B1 41 00 14 */ sth r10, 0x14(r1) +/* 8025D110 0025A070 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8025D114 0025A074 B1 41 00 10 */ sth r10, 0x10(r1) +/* 8025D118 0025A078 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8025D11C 0025A07C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8025D120 0025A080 4B DE CF 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_8025D124: +/* 8025D124 0025A084 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8025D128 0025A088 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8025D12C 0025A08C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8025D130 0025A090 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8025D134 0025A094 7C 08 03 A6 */ mtlr r0 +/* 8025D138 0025A098 38 21 00 50 */ addi r1, r1, 0x50 +/* 8025D13C 0025A09C 4E 80 00 20 */ blr + +.global __dt__5CFireFv +__dt__5CFireFv: +/* 8025D140 0025A0A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8025D144 0025A0A4 7C 08 02 A6 */ mflr r0 +/* 8025D148 0025A0A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8025D14C 0025A0AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8025D150 0025A0B0 7C 9F 23 78 */ mr r31, r4 +/* 8025D154 0025A0B4 93 C1 00 08 */ stw r30, 8(r1) +/* 8025D158 0025A0B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8025D15C 0025A0BC 41 82 00 64 */ beq lbl_8025D1C0 +/* 8025D160 0025A0C0 3C 60 80 3F */ lis r3, lbl_803E9990@ha +/* 8025D164 0025A0C4 34 1E 01 28 */ addic. r0, r30, 0x128 +/* 8025D168 0025A0C8 38 03 99 90 */ addi r0, r3, lbl_803E9990@l +/* 8025D16C 0025A0CC 90 1E 00 00 */ stw r0, 0(r30) +/* 8025D170 0025A0D0 41 82 00 0C */ beq lbl_8025D17C +/* 8025D174 0025A0D4 38 00 00 00 */ li r0, 0 +/* 8025D178 0025A0D8 98 1E 01 40 */ stb r0, 0x140(r30) +lbl_8025D17C: +/* 8025D17C 0025A0DC 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8025D180 0025A0E0 41 82 00 24 */ beq lbl_8025D1A4 +/* 8025D184 0025A0E4 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8025D188 0025A0E8 28 03 00 00 */ cmplwi r3, 0 +/* 8025D18C 0025A0EC 41 82 00 18 */ beq lbl_8025D1A4 +/* 8025D190 0025A0F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8025D194 0025A0F4 38 80 00 01 */ li r4, 1 +/* 8025D198 0025A0F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8025D19C 0025A0FC 7D 89 03 A6 */ mtctr r12 +/* 8025D1A0 0025A100 4E 80 04 21 */ bctrl +lbl_8025D1A4: +/* 8025D1A4 0025A104 7F C3 F3 78 */ mr r3, r30 +/* 8025D1A8 0025A108 38 80 00 00 */ li r4, 0 +/* 8025D1AC 0025A10C 4B DF 85 45 */ bl __dt__6CActorFv +/* 8025D1B0 0025A110 7F E0 07 35 */ extsh. r0, r31 +/* 8025D1B4 0025A114 40 81 00 0C */ ble lbl_8025D1C0 +/* 8025D1B8 0025A118 7F C3 F3 78 */ mr r3, r30 +/* 8025D1BC 0025A11C 48 0B 87 75 */ bl Free__7CMemoryFPCv +lbl_8025D1C0: +/* 8025D1C0 0025A120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8025D1C4 0025A124 7F C3 F3 78 */ mr r3, r30 +/* 8025D1C8 0025A128 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8025D1CC 0025A12C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8025D1D0 0025A130 7C 08 03 A6 */ mtlr r0 +/* 8025D1D4 0025A134 38 21 00 10 */ addi r1, r1, 0x10 +/* 8025D1D8 0025A138 4E 80 00 20 */ blr + +.global __ct__5CFire +__ct__5CFire: +/* 8025D1DC 0025A13C 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 8025D1E0 0025A140 7C 08 02 A6 */ mflr r0 +/* 8025D1E4 0025A144 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 8025D1E8 0025A148 DB E1 01 A0 */ stfd f31, 0x1a0(r1) +/* 8025D1EC 0025A14C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 +/* 8025D1F0 0025A150 DB C1 01 90 */ stfd f30, 0x190(r1) +/* 8025D1F4 0025A154 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 +/* 8025D1F8 0025A158 DB A1 01 80 */ stfd f29, 0x180(r1) +/* 8025D1FC 0025A15C F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 +/* 8025D200 0025A160 DB 81 01 70 */ stfd f28, 0x170(r1) +/* 8025D204 0025A164 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 +/* 8025D208 0025A168 BE 21 01 34 */ stmw r17, 0x134(r1) +/* 8025D20C 0025A16C 3D 60 80 3D */ lis r11, lbl_803D5230@ha +/* 8025D210 0025A170 FF 80 08 90 */ fmr f28, f1 +/* 8025D214 0025A174 FF A0 10 90 */ fmr f29, f2 +/* 8025D218 0025A178 38 0B 52 30 */ addi r0, r11, lbl_803D5230@l +/* 8025D21C 0025A17C 7C 75 1B 78 */ mr r21, r3 +/* 8025D220 0025A180 7C 96 23 78 */ mr r22, r4 +/* 8025D224 0025A184 7C B3 2B 78 */ mr r19, r5 +/* 8025D228 0025A188 7C D1 33 78 */ mr r17, r6 +/* 8025D22C 0025A18C FF C0 18 90 */ fmr f30, f3 +/* 8025D230 0025A190 83 41 01 B8 */ lwz r26, 0x1b8(r1) +/* 8025D234 0025A194 FF E0 20 90 */ fmr f31, f4 +/* 8025D238 0025A198 83 61 01 BC */ lwz r27, 0x1bc(r1) +/* 8025D23C 0025A19C 8B 81 01 C3 */ lbz r28, 0x1c3(r1) +/* 8025D240 0025A1A0 7C F2 3B 78 */ mr r18, r7 +/* 8025D244 0025A1A4 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 8025D248 0025A1A8 7D 17 43 78 */ mr r23, r8 +/* 8025D24C 0025A1AC 8B C1 01 CB */ lbz r30, 0x1cb(r1) +/* 8025D250 0025A1B0 7D 38 4B 78 */ mr r24, r9 +/* 8025D254 0025A1B4 8B E1 01 CF */ lbz r31, 0x1cf(r1) +/* 8025D258 0025A1B8 7D 59 53 78 */ mr r25, r10 +/* 8025D25C 0025A1BC 8A 81 01 D3 */ lbz r20, 0x1d3(r1) +/* 8025D260 0025A1C0 7C 04 03 78 */ mr r4, r0 +/* 8025D264 0025A1C4 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025D268 0025A1C8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8025D26C 0025A1CC 38 A0 FF FF */ li r5, -1 +/* 8025D270 0025A1D0 48 0E 0F 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8025D274 0025A1D4 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) +/* 8025D278 0025A1D8 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8025D27C 0025A1DC 80 11 00 00 */ lwz r0, 0(r17) +/* 8025D280 0025A1E0 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8025D284 0025A1E4 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8025D288 0025A1E8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8025D28C 0025A1EC 38 81 00 30 */ addi r4, r1, 0x30 +/* 8025D290 0025A1F0 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8025D294 0025A1F4 90 01 00 30 */ stw r0, 0x30(r1) +/* 8025D298 0025A1F8 4B DF 41 ED */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8025D29C 0025A1FC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8025D2A0 0025A200 4B DD D5 05 */ bl CModelDataNull__10CModelDataFv +/* 8025D2A4 0025A204 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025D2A8 0025A208 4B DB DB 91 */ bl None__16CActorParametersFv +/* 8025D2AC 0025A20C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8025D2B0 0025A210 38 00 00 00 */ li r0, 0 +/* 8025D2B4 0025A214 80 AD 97 D4 */ lwz r5, lbl_805A8394@sda21(r13) +/* 8025D2B8 0025A218 38 60 00 00 */ li r3, 0 +/* 8025D2BC 0025A21C B0 81 00 14 */ sth r4, 0x14(r1) +/* 8025D2C0 0025A220 38 80 00 01 */ li r4, 1 +/* 8025D2C4 0025A224 90 01 00 44 */ stw r0, 0x44(r1) +/* 8025D2C8 0025A228 90 01 00 40 */ stw r0, 0x40(r1) +/* 8025D2CC 0025A22C 48 12 CC 29 */ bl __shl2i +/* 8025D2D0 0025A230 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8025D2D4 0025A234 39 61 00 7C */ addi r11, r1, 0x7c +/* 8025D2D8 0025A238 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 8025D2DC 0025A23C 38 01 00 14 */ addi r0, r1, 0x14 +/* 8025D2E0 0025A240 7C A3 1B 78 */ or r3, r5, r3 +/* 8025D2E4 0025A244 A0 F3 00 00 */ lhz r7, 0(r19) +/* 8025D2E8 0025A248 7C C4 23 78 */ or r4, r6, r4 +/* 8025D2EC 0025A24C 90 61 00 40 */ stw r3, 0x40(r1) +/* 8025D2F0 0025A250 7E A3 AB 78 */ mr r3, r21 +/* 8025D2F4 0025A254 7E 45 93 78 */ mr r5, r18 +/* 8025D2F8 0025A258 90 81 00 44 */ stw r4, 0x44(r1) +/* 8025D2FC 0025A25C 7F 08 C3 78 */ mr r8, r24 +/* 8025D300 0025A260 38 81 00 18 */ addi r4, r1, 0x18 +/* 8025D304 0025A264 38 C1 00 54 */ addi r6, r1, 0x54 +/* 8025D308 0025A268 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 8025D30C 0025A26C 38 E1 00 64 */ addi r7, r1, 0x64 +/* 8025D310 0025A270 39 21 00 E4 */ addi r9, r1, 0xe4 +/* 8025D314 0025A274 39 41 00 40 */ addi r10, r1, 0x40 +/* 8025D318 0025A278 91 61 00 08 */ stw r11, 8(r1) +/* 8025D31C 0025A27C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8025D320 0025A280 4B DF 85 01 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8025D324 0025A284 38 61 00 7C */ addi r3, r1, 0x7c +/* 8025D328 0025A288 38 80 FF FF */ li r4, -1 +/* 8025D32C 0025A28C 4B EA 92 DD */ bl __dt__16CActorParametersFv +/* 8025D330 0025A290 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8025D334 0025A294 38 80 FF FF */ li r4, -1 +/* 8025D338 0025A298 4B EB 97 15 */ bl __dt__10CModelDataFv +/* 8025D33C 0025A29C 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 8025D340 0025A2A0 80 61 00 74 */ lwz r3, 0x74(r1) +/* 8025D344 0025A2A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8025D348 0025A2A8 90 61 00 20 */ stw r3, 0x20(r1) +/* 8025D34C 0025A2AC 7C 64 1B 78 */ mr r4, r3 +/* 8025D350 0025A2B0 7C 03 02 14 */ add r0, r3, r0 +/* 8025D354 0025A2B4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8025D358 0025A2B8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8025D35C 0025A2BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8025D360 0025A2C0 48 00 00 08 */ b lbl_8025D368 +lbl_8025D364: +/* 8025D364 0025A2C4 38 84 00 0C */ addi r4, r4, 0xc +lbl_8025D368: +/* 8025D368 0025A2C8 7C 04 00 40 */ cmplw r4, r0 +/* 8025D36C 0025A2CC 40 82 FF F8 */ bne lbl_8025D364 +/* 8025D370 0025A2D0 28 03 00 00 */ cmplwi r3, 0 +/* 8025D374 0025A2D4 41 82 00 08 */ beq lbl_8025D37C +/* 8025D378 0025A2D8 48 0B 85 B9 */ bl Free__7CMemoryFPCv +lbl_8025D37C: +/* 8025D37C 0025A2DC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8025D380 0025A2E0 48 0E 07 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8025D384 0025A2E4 3C 80 80 3F */ lis r4, lbl_803E9990@ha +/* 8025D388 0025A2E8 3C 60 80 3D */ lis r3, lbl_803D5230@ha +/* 8025D38C 0025A2EC 38 04 99 90 */ addi r0, r4, lbl_803E9990@l +/* 8025D390 0025A2F0 3A 20 00 00 */ li r17, 0 +/* 8025D394 0025A2F4 38 63 52 30 */ addi r3, r3, lbl_803D5230@l +/* 8025D398 0025A2F8 90 15 00 00 */ stw r0, 0(r21) +/* 8025D39C 0025A2FC 38 83 00 05 */ addi r4, r3, 5 +/* 8025D3A0 0025A300 38 60 03 40 */ li r3, 0x340 +/* 8025D3A4 0025A304 38 A0 00 00 */ li r5, 0 +/* 8025D3A8 0025A308 48 0B 84 C5 */ bl __nw__FUlPCcPCc +/* 8025D3AC 0025A30C 7C 72 1B 79 */ or. r18, r3, r3 +/* 8025D3B0 0025A310 41 82 00 2C */ beq lbl_8025D3DC +/* 8025D3B4 0025A314 7E C4 B3 78 */ mr r4, r22 +/* 8025D3B8 0025A318 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025D3BC 0025A31C 48 0E 3A ED */ bl __ct__6CTokenFRC6CToken +/* 8025D3C0 0025A320 7E 43 93 78 */ mr r3, r18 +/* 8025D3C4 0025A324 38 81 00 34 */ addi r4, r1, 0x34 +/* 8025D3C8 0025A328 3A 20 00 01 */ li r17, 1 +/* 8025D3CC 0025A32C 38 A0 00 00 */ li r5, 0 +/* 8025D3D0 0025A330 38 C0 00 01 */ li r6, 1 +/* 8025D3D4 0025A334 48 0C 20 0D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8025D3D8 0025A338 7C 72 1B 78 */ mr r18, r3 +lbl_8025D3DC: +/* 8025D3DC 0025A33C 7E 20 07 75 */ extsb. r0, r17 +/* 8025D3E0 0025A340 92 55 00 E8 */ stw r18, 0xe8(r21) +/* 8025D3E4 0025A344 41 82 00 10 */ beq lbl_8025D3F4 +/* 8025D3E8 0025A348 38 61 00 34 */ addi r3, r1, 0x34 +/* 8025D3EC 0025A34C 38 80 00 00 */ li r4, 0 +/* 8025D3F0 0025A350 48 0E 3A 51 */ bl __dt__6CTokenFv +lbl_8025D3F4: +/* 8025D3F4 0025A354 A0 77 00 00 */ lhz r3, 0(r23) +/* 8025D3F8 0025A358 34 95 01 28 */ addic. r4, r21, 0x128 +/* 8025D3FC 0025A35C 38 00 00 01 */ li r0, 1 +/* 8025D400 0025A360 B0 75 00 EC */ sth r3, 0xec(r21) +/* 8025D404 0025A364 80 79 00 00 */ lwz r3, 0(r25) +/* 8025D408 0025A368 90 75 00 F0 */ stw r3, 0xf0(r21) +/* 8025D40C 0025A36C 88 79 00 04 */ lbz r3, 4(r25) +/* 8025D410 0025A370 98 75 00 F4 */ stb r3, 0xf4(r21) +/* 8025D414 0025A374 C0 19 00 08 */ lfs f0, 8(r25) +/* 8025D418 0025A378 D0 15 00 F8 */ stfs f0, 0xf8(r21) +/* 8025D41C 0025A37C C0 19 00 0C */ lfs f0, 0xc(r25) +/* 8025D420 0025A380 D0 15 00 FC */ stfs f0, 0xfc(r21) +/* 8025D424 0025A384 C0 19 00 10 */ lfs f0, 0x10(r25) +/* 8025D428 0025A388 D0 15 01 00 */ stfs f0, 0x100(r21) +/* 8025D42C 0025A38C C0 19 00 14 */ lfs f0, 0x14(r25) +/* 8025D430 0025A390 D0 15 01 04 */ stfs f0, 0x104(r21) +/* 8025D434 0025A394 88 79 00 18 */ lbz r3, 0x18(r25) +/* 8025D438 0025A398 98 75 01 08 */ stb r3, 0x108(r21) +/* 8025D43C 0025A39C 80 79 00 00 */ lwz r3, 0(r25) +/* 8025D440 0025A3A0 90 75 01 0C */ stw r3, 0x10c(r21) +/* 8025D444 0025A3A4 88 79 00 04 */ lbz r3, 4(r25) +/* 8025D448 0025A3A8 98 75 01 10 */ stb r3, 0x110(r21) +/* 8025D44C 0025A3AC C0 19 00 08 */ lfs f0, 8(r25) +/* 8025D450 0025A3B0 D0 15 01 14 */ stfs f0, 0x114(r21) +/* 8025D454 0025A3B4 C0 19 00 0C */ lfs f0, 0xc(r25) +/* 8025D458 0025A3B8 D0 15 01 18 */ stfs f0, 0x118(r21) +/* 8025D45C 0025A3BC C0 19 00 10 */ lfs f0, 0x10(r25) +/* 8025D460 0025A3C0 D0 15 01 1C */ stfs f0, 0x11c(r21) +/* 8025D464 0025A3C4 C0 19 00 14 */ lfs f0, 0x14(r25) +/* 8025D468 0025A3C8 D0 15 01 20 */ stfs f0, 0x120(r21) +/* 8025D46C 0025A3CC 88 79 00 18 */ lbz r3, 0x18(r25) +/* 8025D470 0025A3D0 98 75 01 24 */ stb r3, 0x124(r21) +/* 8025D474 0025A3D4 98 15 01 40 */ stb r0, 0x140(r21) +/* 8025D478 0025A3D8 41 82 00 34 */ beq lbl_8025D4AC +/* 8025D47C 0025A3DC C0 1A 00 00 */ lfs f0, 0(r26) +/* 8025D480 0025A3E0 D0 04 00 00 */ stfs f0, 0(r4) +/* 8025D484 0025A3E4 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8025D488 0025A3E8 D0 04 00 04 */ stfs f0, 4(r4) +/* 8025D48C 0025A3EC C0 1A 00 08 */ lfs f0, 8(r26) +/* 8025D490 0025A3F0 D0 04 00 08 */ stfs f0, 8(r4) +/* 8025D494 0025A3F4 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 8025D498 0025A3F8 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 8025D49C 0025A3FC C0 1A 00 10 */ lfs f0, 0x10(r26) +/* 8025D4A0 0025A400 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 8025D4A4 0025A404 C0 1A 00 14 */ lfs f0, 0x14(r26) +/* 8025D4A8 0025A408 D0 04 00 14 */ stfs f0, 0x14(r4) +lbl_8025D4AC: +/* 8025D4AC 0025A40C D3 95 01 44 */ stfs f28, 0x144(r21) +/* 8025D4B0 0025A410 28 14 00 00 */ cmplwi r20, 0 +/* 8025D4B4 0025A414 38 60 00 00 */ li r3, 0 +/* 8025D4B8 0025A418 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D4BC 0025A41C 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 8025D4C0 0025A420 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D4C4 0025A424 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D4C8 0025A428 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 8025D4CC 0025A42C 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D4D0 0025A430 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D4D4 0025A434 52 80 2E B4 */ rlwimi r0, r20, 5, 0x1a, 0x1a +/* 8025D4D8 0025A438 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D4DC 0025A43C 41 82 00 18 */ beq lbl_8025D4F4 +/* 8025D4E0 0025A440 28 1F 00 00 */ cmplwi r31, 0 +/* 8025D4E4 0025A444 41 82 00 10 */ beq lbl_8025D4F4 +/* 8025D4E8 0025A448 28 1E 00 00 */ cmplwi r30, 0 +/* 8025D4EC 0025A44C 41 82 00 08 */ beq lbl_8025D4F4 +/* 8025D4F0 0025A450 38 60 00 01 */ li r3, 1 +lbl_8025D4F4: +/* 8025D4F4 0025A454 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D4F8 0025A458 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8025D4FC 0025A45C 38 60 00 00 */ li r3, 0 +/* 8025D500 0025A460 C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2) +/* 8025D504 0025A464 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D508 0025A468 7F 64 DB 78 */ mr r4, r27 +/* 8025D50C 0025A46C 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D510 0025A470 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8025D514 0025A474 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D518 0025A478 88 15 01 48 */ lbz r0, 0x148(r21) +/* 8025D51C 0025A47C 53 80 17 7A */ rlwimi r0, r28, 2, 0x1d, 0x1d +/* 8025D520 0025A480 98 15 01 48 */ stb r0, 0x148(r21) +/* 8025D524 0025A484 D3 B5 01 4C */ stfs f29, 0x14c(r21) +/* 8025D528 0025A488 93 B5 01 50 */ stw r29, 0x150(r21) +/* 8025D52C 0025A48C D3 D5 01 54 */ stfs f30, 0x154(r21) +/* 8025D530 0025A490 D3 F5 01 58 */ stfs f31, 0x158(r21) +/* 8025D534 0025A494 D0 15 01 5C */ stfs f0, 0x15c(r21) +/* 8025D538 0025A498 80 75 00 E8 */ lwz r3, 0xe8(r21) +/* 8025D53C 0025A49C 81 83 00 00 */ lwz r12, 0(r3) +/* 8025D540 0025A4A0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8025D544 0025A4A4 7D 89 03 A6 */ mtctr r12 +/* 8025D548 0025A4A8 4E 80 04 21 */ bctrl +/* 8025D54C 0025A4AC C0 58 00 2C */ lfs f2, 0x2c(r24) +/* 8025D550 0025A4B0 38 81 00 48 */ addi r4, r1, 0x48 +/* 8025D554 0025A4B4 C0 38 00 1C */ lfs f1, 0x1c(r24) +/* 8025D558 0025A4B8 C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8025D55C 0025A4BC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8025D560 0025A4C0 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8025D564 0025A4C4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8025D568 0025A4C8 80 75 00 E8 */ lwz r3, 0xe8(r21) +/* 8025D56C 0025A4CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8025D570 0025A4D0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8025D574 0025A4D4 7D 89 03 A6 */ mtctr r12 +/* 8025D578 0025A4D8 4E 80 04 21 */ bctrl +/* 8025D57C 0025A4DC 7E A3 AB 78 */ mr r3, r21 +/* 8025D580 0025A4E0 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 +/* 8025D584 0025A4E4 CB E1 01 A0 */ lfd f31, 0x1a0(r1) +/* 8025D588 0025A4E8 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 +/* 8025D58C 0025A4EC CB C1 01 90 */ lfd f30, 0x190(r1) +/* 8025D590 0025A4F0 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 +/* 8025D594 0025A4F4 CB A1 01 80 */ lfd f29, 0x180(r1) +/* 8025D598 0025A4F8 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 +/* 8025D59C 0025A4FC CB 81 01 70 */ lfd f28, 0x170(r1) +/* 8025D5A0 0025A500 BA 21 01 34 */ lmw r17, 0x134(r1) +/* 8025D5A4 0025A504 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 8025D5A8 0025A508 7C 08 03 A6 */ mtlr r0 +/* 8025D5AC 0025A50C 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 8025D5B0 0025A510 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s b/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s new file mode 100644 index 00000000..604c0e9a --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.s @@ -0,0 +1,377 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__11CScriptBeamFv +__dt__11CScriptBeamFv: +/* 8027C5CC 0027952C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C5D0 00279530 7C 08 02 A6 */ mflr r0 +/* 8027C5D4 00279534 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C5D8 00279538 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8027C5DC 0027953C 7C 9F 23 78 */ mr r31, r4 +/* 8027C5E0 00279540 93 C1 00 08 */ stw r30, 8(r1) +/* 8027C5E4 00279544 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8027C5E8 00279548 41 82 00 48 */ beq lbl_8027C630 +/* 8027C5EC 0027954C 3C 60 80 3F */ lis r3, lbl_803EB180@ha +/* 8027C5F0 00279550 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8027C5F4 00279554 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l +/* 8027C5F8 00279558 90 1E 00 00 */ stw r0, 0(r30) +/* 8027C5FC 0027955C 41 82 00 18 */ beq lbl_8027C614 +/* 8027C600 00279560 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8027C604 00279564 41 82 00 10 */ beq lbl_8027C614 +/* 8027C608 00279568 38 7E 00 E8 */ addi r3, r30, 0xe8 +/* 8027C60C 0027956C 38 80 00 00 */ li r4, 0 +/* 8027C610 00279570 48 0C 48 31 */ bl __dt__6CTokenFv +lbl_8027C614: +/* 8027C614 00279574 7F C3 F3 78 */ mr r3, r30 +/* 8027C618 00279578 38 80 00 00 */ li r4, 0 +/* 8027C61C 0027957C 4B DD 90 D5 */ bl __dt__6CActorFv +/* 8027C620 00279580 7F E0 07 35 */ extsh. r0, r31 +/* 8027C624 00279584 40 81 00 0C */ ble lbl_8027C630 +/* 8027C628 00279588 7F C3 F3 78 */ mr r3, r30 +/* 8027C62C 0027958C 48 09 93 05 */ bl Free__7CMemoryFPCv +lbl_8027C630: +/* 8027C630 00279590 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C634 00279594 7F C3 F3 78 */ mr r3, r30 +/* 8027C638 00279598 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8027C63C 0027959C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8027C640 002795A0 7C 08 03 A6 */ mtlr r0 +/* 8027C644 002795A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C648 002795A8 4E 80 00 20 */ blr + +.global Think__11CScriptBeamFfR13CStateManager +Think__11CScriptBeamFfR13CStateManager: +/* 8027C64C 002795AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8027C650 002795B0 7C 08 02 A6 */ mflr r0 +/* 8027C654 002795B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8027C658 002795B8 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 8027C65C 002795BC FF E0 08 90 */ fmr f31, f1 +/* 8027C660 002795C0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8027C664 002795C4 7C 9F 23 78 */ mr r31, r4 +/* 8027C668 002795C8 38 81 00 08 */ addi r4, r1, 8 +/* 8027C66C 002795CC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8027C670 002795D0 7C 7E 1B 78 */ mr r30, r3 +/* 8027C674 002795D4 A0 03 01 54 */ lhz r0, 0x154(r3) +/* 8027C678 002795D8 7F E3 FB 78 */ mr r3, r31 +/* 8027C67C 002795DC B0 01 00 08 */ sth r0, 8(r1) +/* 8027C680 002795E0 4B DC FE F5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027C684 002795E4 28 03 00 00 */ cmplwi r3, 0 +/* 8027C688 002795E8 41 82 00 30 */ beq lbl_8027C6B8 +/* 8027C68C 002795EC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027C690 002795F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027C694 002795F4 41 82 00 2C */ beq lbl_8027C6C0 +/* 8027C698 002795F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8027C69C 002795FC FC 20 F8 90 */ fmr f1, f31 +/* 8027C6A0 00279600 7F E5 FB 78 */ mr r5, r31 +/* 8027C6A4 00279604 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8027C6A8 00279608 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8027C6AC 0027960C 7D 89 03 A6 */ mtctr r12 +/* 8027C6B0 00279610 4E 80 04 21 */ bctrl +/* 8027C6B4 00279614 48 00 00 0C */ b lbl_8027C6C0 +lbl_8027C6B8: +/* 8027C6B8 00279618 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027C6BC 0027961C B0 1E 01 54 */ sth r0, 0x154(r30) +lbl_8027C6C0: +/* 8027C6C0 00279620 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8027C6C4 00279624 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8027C6C8 00279628 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 8027C6CC 0027962C 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 8027C6D0 00279630 7C 08 03 A6 */ mtlr r0 +/* 8027C6D4 00279634 38 21 00 20 */ addi r1, r1, 0x20 +/* 8027C6D8 00279638 4E 80 00 20 */ blr + +.global Accept__11CScriptBeamFR8IVisitor +Accept__11CScriptBeamFR8IVisitor: +/* 8027C6DC 0027963C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8027C6E0 00279640 7C 08 02 A6 */ mflr r0 +/* 8027C6E4 00279644 90 01 00 14 */ stw r0, 0x14(r1) +/* 8027C6E8 00279648 7C 60 1B 78 */ mr r0, r3 +/* 8027C6EC 0027964C 7C 83 23 78 */ mr r3, r4 +/* 8027C6F0 00279650 81 84 00 00 */ lwz r12, 0(r4) +/* 8027C6F4 00279654 7C 04 03 78 */ mr r4, r0 +/* 8027C6F8 00279658 81 8C 00 08 */ lwz r12, 8(r12) +/* 8027C6FC 0027965C 7D 89 03 A6 */ mtctr r12 +/* 8027C700 00279660 4E 80 04 21 */ bctrl +/* 8027C704 00279664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8027C708 00279668 7C 08 03 A6 */ mtlr r0 +/* 8027C70C 0027966C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8027C710 00279670 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8027C714 00279674 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8027C718 00279678 7C 08 02 A6 */ mflr r0 +/* 8027C71C 0027967C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8027C720 00279680 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 8027C724 00279684 7C 9C 23 78 */ mr r28, r4 +/* 8027C728 00279688 2C 1C 00 07 */ cmpwi r28, 7 +/* 8027C72C 0027968C 7C 7B 1B 78 */ mr r27, r3 +/* 8027C730 00279690 7C BD 2B 78 */ mr r29, r5 +/* 8027C734 00279694 7C DE 33 78 */ mr r30, r6 +/* 8027C738 00279698 41 82 01 80 */ beq lbl_8027C8B8 +/* 8027C73C 0027969C 40 80 00 10 */ bge lbl_8027C74C +/* 8027C740 002796A0 2C 1C 00 05 */ cmpwi r28, 5 +/* 8027C744 002796A4 41 82 01 CC */ beq lbl_8027C910 +/* 8027C748 002796A8 48 00 02 08 */ b lbl_8027C950 +lbl_8027C74C: +/* 8027C74C 002796AC 2C 1C 00 22 */ cmpwi r28, 0x22 +/* 8027C750 002796B0 41 82 01 50 */ beq lbl_8027C8A0 +/* 8027C754 002796B4 40 80 01 FC */ bge lbl_8027C950 +/* 8027C758 002796B8 2C 1C 00 21 */ cmpwi r28, 0x21 +/* 8027C75C 002796BC 40 80 00 08 */ bge lbl_8027C764 +/* 8027C760 002796C0 48 00 01 F0 */ b lbl_8027C950 +lbl_8027C764: +/* 8027C764 002796C4 7F C4 F3 78 */ mr r4, r30 +/* 8027C768 002796C8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8027C76C 002796CC 4B DD 09 71 */ bl AllocateUniqueId__13CStateManagerFv +/* 8027C770 002796D0 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 8027C774 002796D4 3C 60 80 3D */ lis r3, lbl_803D5868@ha +/* 8027C778 002796D8 38 83 58 68 */ addi r4, r3, lbl_803D5868@l +/* 8027C77C 002796DC 3B 40 00 00 */ li r26, 0 +/* 8027C780 002796E0 B0 1B 01 54 */ sth r0, 0x154(r27) +/* 8027C784 002796E4 3B 20 00 00 */ li r25, 0 +/* 8027C788 002796E8 38 60 05 50 */ li r3, 0x550 +/* 8027C78C 002796EC 38 A0 00 00 */ li r5, 0 +/* 8027C790 002796F0 48 09 90 DD */ bl __nw__FUlPCcPCc +/* 8027C794 002796F4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8027C798 002796F8 41 82 00 D8 */ beq lbl_8027C870 +/* 8027C79C 002796FC 38 00 FF FF */ li r0, -1 +/* 8027C7A0 00279700 38 60 00 08 */ li r3, 8 +/* 8027C7A4 00279704 90 61 00 68 */ stw r3, 0x68(r1) +/* 8027C7A8 00279708 3C 60 80 3D */ lis r3, lbl_803D5868@ha +/* 8027C7AC 0027970C 38 83 58 68 */ addi r4, r3, lbl_803D5868@l +/* 8027C7B0 00279710 38 61 00 58 */ addi r3, r1, 0x58 +/* 8027C7B4 00279714 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8027C7B8 00279718 38 84 00 07 */ addi r4, r4, 7 +/* 8027C7BC 0027971C 90 01 00 70 */ stw r0, 0x70(r1) +/* 8027C7C0 00279720 90 01 00 74 */ stw r0, 0x74(r1) +/* 8027C7C4 00279724 90 01 00 78 */ stw r0, 0x78(r1) +/* 8027C7C8 00279728 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8027C7CC 0027972C 90 01 00 80 */ stw r0, 0x80(r1) +/* 8027C7D0 00279730 90 01 00 84 */ stw r0, 0x84(r1) +/* 8027C7D4 00279734 90 01 00 88 */ stw r0, 0x88(r1) +/* 8027C7D8 00279738 A0 1B 00 08 */ lhz r0, 8(r27) +/* 8027C7DC 0027973C B0 01 00 38 */ sth r0, 0x38(r1) +/* 8027C7E0 00279740 80 BB 00 04 */ lwz r5, 4(r27) +/* 8027C7E4 00279744 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8027C7E8 00279748 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8027C7EC 0027974C A0 1B 01 54 */ lhz r0, 0x154(r27) +/* 8027C7F0 00279750 90 A1 00 40 */ stw r5, 0x40(r1) +/* 8027C7F4 00279754 B0 01 00 30 */ sth r0, 0x30(r1) +/* 8027C7F8 00279758 83 3B 01 38 */ lwz r25, 0x138(r27) +/* 8027C7FC 0027975C 4B D8 84 BD */ bl string_l__4rstlFPCc +/* 8027C800 00279760 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027C804 00279764 38 9B 00 10 */ addi r4, r27, 0x10 +/* 8027C808 00279768 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8027C80C 0027976C 3B 40 00 01 */ li r26, 1 +/* 8027C810 00279770 4B D8 84 4D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8027C814 00279774 38 61 00 30 */ addi r3, r1, 0x30 +/* 8027C818 00279778 38 01 00 44 */ addi r0, r1, 0x44 +/* 8027C81C 0027977C 90 61 00 08 */ stw r3, 8(r1) +/* 8027C820 00279780 38 81 00 38 */ addi r4, r1, 0x38 +/* 8027C824 00279784 39 01 00 68 */ addi r8, r1, 0x68 +/* 8027C828 00279788 39 20 00 00 */ li r9, 0 +/* 8027C82C 0027978C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027C830 00279790 3C 00 00 02 */ lis r0, 2 +/* 8027C834 00279794 7F E3 FB 78 */ mr r3, r31 +/* 8027C838 00279798 7F 26 CB 78 */ mr r6, r25 +/* 8027C83C 0027979C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8027C840 002797A0 38 9B 00 E8 */ addi r4, r27, 0xe8 +/* 8027C844 002797A4 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8027C848 002797A8 38 FB 00 F4 */ addi r7, r27, 0xf4 +/* 8027C84C 002797AC 91 01 00 14 */ stw r8, 0x14(r1) +/* 8027C850 002797B0 39 1B 00 34 */ addi r8, r27, 0x34 +/* 8027C854 002797B4 39 5B 01 38 */ addi r10, r27, 0x138 +/* 8027C858 002797B8 3B 20 00 01 */ li r25, 1 +/* 8027C85C 002797BC 91 21 00 18 */ stw r9, 0x18(r1) +/* 8027C860 002797C0 39 20 00 23 */ li r9, 0x23 +/* 8027C864 002797C4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8027C868 002797C8 4B EF C3 C1 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" +/* 8027C86C 002797CC 7C 7F 1B 78 */ mr r31, r3 +lbl_8027C870: +/* 8027C870 002797D0 7F C3 F3 78 */ mr r3, r30 +/* 8027C874 002797D4 7F E4 FB 78 */ mr r4, r31 +/* 8027C878 002797D8 4B DD 04 7D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 8027C87C 002797DC 7F 20 07 75 */ extsb. r0, r25 +/* 8027C880 002797E0 41 82 00 0C */ beq lbl_8027C88C +/* 8027C884 002797E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8027C888 002797E8 48 0C 12 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8027C88C: +/* 8027C88C 002797EC 7F 40 07 75 */ extsb. r0, r26 +/* 8027C890 002797F0 41 82 00 C0 */ beq lbl_8027C950 +/* 8027C894 002797F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8027C898 002797F8 48 0C 12 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8027C89C 002797FC 48 00 00 B4 */ b lbl_8027C950 +lbl_8027C8A0: +/* 8027C8A0 00279800 A0 1B 01 54 */ lhz r0, 0x154(r27) +/* 8027C8A4 00279804 7F C3 F3 78 */ mr r3, r30 +/* 8027C8A8 00279808 38 81 00 2C */ addi r4, r1, 0x2c +/* 8027C8AC 0027980C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 8027C8B0 00279810 4B DC F9 BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8027C8B4 00279814 48 00 00 9C */ b lbl_8027C950 +lbl_8027C8B8: +/* 8027C8B8 00279818 A0 1B 01 54 */ lhz r0, 0x154(r27) +/* 8027C8BC 0027981C 7F C3 F3 78 */ mr r3, r30 +/* 8027C8C0 00279820 38 81 00 28 */ addi r4, r1, 0x28 +/* 8027C8C4 00279824 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8027C8C8 00279828 4B DC FC AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027C8CC 0027982C 7C 79 1B 79 */ or. r25, r3, r3 +/* 8027C8D0 00279830 41 82 00 80 */ beq lbl_8027C950 +/* 8027C8D4 00279834 81 83 00 00 */ lwz r12, 0(r3) +/* 8027C8D8 00279838 7F C4 F3 78 */ mr r4, r30 +/* 8027C8DC 0027983C 38 A0 00 01 */ li r5, 1 +/* 8027C8E0 00279840 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8027C8E4 00279844 7D 89 03 A6 */ mtctr r12 +/* 8027C8E8 00279848 4E 80 04 21 */ bctrl +/* 8027C8EC 0027984C 7F 23 CB 78 */ mr r3, r25 +/* 8027C8F0 00279850 7F C5 F3 78 */ mr r5, r30 +/* 8027C8F4 00279854 81 99 00 00 */ lwz r12, 0(r25) +/* 8027C8F8 00279858 38 9B 00 34 */ addi r4, r27, 0x34 +/* 8027C8FC 0027985C 38 C0 00 00 */ li r6, 0 +/* 8027C900 00279860 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 8027C904 00279864 7D 89 03 A6 */ mtctr r12 +/* 8027C908 00279868 4E 80 04 21 */ bctrl +/* 8027C90C 0027986C 48 00 00 44 */ b lbl_8027C950 +lbl_8027C910: +/* 8027C910 00279870 A0 1B 01 54 */ lhz r0, 0x154(r27) +/* 8027C914 00279874 7F C3 F3 78 */ mr r3, r30 +/* 8027C918 00279878 38 81 00 24 */ addi r4, r1, 0x24 +/* 8027C91C 0027987C B0 01 00 24 */ sth r0, 0x24(r1) +/* 8027C920 00279880 4B DC FC 55 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8027C924 00279884 28 03 00 00 */ cmplwi r3, 0 +/* 8027C928 00279888 41 82 00 28 */ beq lbl_8027C950 +/* 8027C92C 0027988C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8027C930 00279890 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8027C934 00279894 41 82 00 1C */ beq lbl_8027C950 +/* 8027C938 00279898 81 83 00 00 */ lwz r12, 0(r3) +/* 8027C93C 0027989C 7F C4 F3 78 */ mr r4, r30 +/* 8027C940 002798A0 38 A0 00 00 */ li r5, 0 +/* 8027C944 002798A4 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8027C948 002798A8 7D 89 03 A6 */ mtctr r12 +/* 8027C94C 002798AC 4E 80 04 21 */ bctrl +lbl_8027C950: +/* 8027C950 002798B0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8027C954 002798B4 7F 63 DB 78 */ mr r3, r27 +/* 8027C958 002798B8 7F 84 E3 78 */ mr r4, r28 +/* 8027C95C 002798BC 7F C6 F3 78 */ mr r6, r30 +/* 8027C960 002798C0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8027C964 002798C4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8027C968 002798C8 4B DD 6C AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8027C96C 002798CC BB 21 00 94 */ lmw r25, 0x94(r1) +/* 8027C970 002798D0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8027C974 002798D4 7C 08 03 A6 */ mtlr r0 +/* 8027C978 002798D8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8027C97C 002798DC 4E 80 00 20 */ blr + +.global "__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo" +"__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo": +/* 8027C980 002798E0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8027C984 002798E4 7C 08 02 A6 */ mflr r0 +/* 8027C988 002798E8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8027C98C 002798EC BE E1 00 DC */ stmw r23, 0xdc(r1) +/* 8027C990 002798F0 7C 7D 1B 78 */ mr r29, r3 +/* 8027C994 002798F4 83 E1 01 08 */ lwz r31, 0x108(r1) +/* 8027C998 002798F8 7C 97 23 78 */ mr r23, r4 +/* 8027C99C 002798FC 7C B8 2B 78 */ mr r24, r5 +/* 8027C9A0 00279900 7C D9 33 78 */ mr r25, r6 +/* 8027C9A4 00279904 7C FA 3B 78 */ mr r26, r7 +/* 8027C9A8 00279908 7D 1B 43 78 */ mr r27, r8 +/* 8027C9AC 0027990C 7D 3C 4B 78 */ mr r28, r9 +/* 8027C9B0 00279910 7D 5E 53 78 */ mr r30, r10 +/* 8027C9B4 00279914 38 61 00 88 */ addi r3, r1, 0x88 +/* 8027C9B8 00279918 4B DB DD ED */ bl CModelDataNull__10CModelDataFv +/* 8027C9BC 0027991C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027C9C0 00279920 4B D9 E4 79 */ bl None__16CActorParametersFv +/* 8027C9C4 00279924 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027C9C8 00279928 38 80 00 00 */ li r4, 0 +/* 8027C9CC 0027992C A1 97 00 00 */ lhz r12, 0(r23) +/* 8027C9D0 00279930 39 61 00 20 */ addi r11, r1, 0x20 +/* 8027C9D4 00279934 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8027C9D8 00279938 38 01 00 10 */ addi r0, r1, 0x10 +/* 8027C9DC 0027993C 7F A3 EB 78 */ mr r3, r29 +/* 8027C9E0 00279940 7F 65 DB 78 */ mr r5, r27 +/* 8027C9E4 00279944 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8027C9E8 00279948 7F 06 C3 78 */ mr r6, r24 +/* 8027C9EC 0027994C 7F 27 CB 78 */ mr r7, r25 +/* 8027C9F0 00279950 7F 48 D3 78 */ mr r8, r26 +/* 8027C9F4 00279954 90 81 00 18 */ stw r4, 0x18(r1) +/* 8027C9F8 00279958 38 81 00 14 */ addi r4, r1, 0x14 +/* 8027C9FC 0027995C 39 21 00 88 */ addi r9, r1, 0x88 +/* 8027CA00 00279960 39 41 00 18 */ addi r10, r1, 0x18 +/* 8027CA04 00279964 B1 81 00 14 */ sth r12, 0x14(r1) +/* 8027CA08 00279968 91 61 00 08 */ stw r11, 8(r1) +/* 8027CA0C 0027996C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8027CA10 00279970 4B DD 8E 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8027CA14 00279974 38 61 00 20 */ addi r3, r1, 0x20 +/* 8027CA18 00279978 38 80 FF FF */ li r4, -1 +/* 8027CA1C 0027997C 4B E8 9B ED */ bl __dt__16CActorParametersFv +/* 8027CA20 00279980 38 61 00 88 */ addi r3, r1, 0x88 +/* 8027CA24 00279984 38 80 FF FF */ li r4, -1 +/* 8027CA28 00279988 4B E9 A0 25 */ bl __dt__10CModelDataFv +/* 8027CA2C 0027998C 3C 60 80 3F */ lis r3, lbl_803EB180@ha +/* 8027CA30 00279990 3A FD 00 E8 */ addi r23, r29, 0xe8 +/* 8027CA34 00279994 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l +/* 8027CA38 00279998 7F 84 E3 78 */ mr r4, r28 +/* 8027CA3C 0027999C 90 1D 00 00 */ stw r0, 0(r29) +/* 8027CA40 002799A0 7E E3 BB 78 */ mr r3, r23 +/* 8027CA44 002799A4 48 0C 44 65 */ bl __ct__6CTokenFRC6CToken +/* 8027CA48 002799A8 7E E3 BB 78 */ mr r3, r23 +/* 8027CA4C 002799AC 48 0C 43 C1 */ bl GetObj__6CTokenFv +/* 8027CA50 002799B0 80 03 00 04 */ lwz r0, 4(r3) +/* 8027CA54 002799B4 7F A3 EB 78 */ mr r3, r29 +/* 8027CA58 002799B8 90 17 00 08 */ stw r0, 8(r23) +/* 8027CA5C 002799BC 80 1E 00 00 */ lwz r0, 0(r30) +/* 8027CA60 002799C0 90 1D 00 F4 */ stw r0, 0xf4(r29) +/* 8027CA64 002799C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8027CA68 002799C8 90 1D 00 F8 */ stw r0, 0xf8(r29) +/* 8027CA6C 002799CC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8027CA70 002799D0 90 1D 00 FC */ stw r0, 0xfc(r29) +/* 8027CA74 002799D4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8027CA78 002799D8 90 1D 01 00 */ stw r0, 0x100(r29) +/* 8027CA7C 002799DC 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8027CA80 002799E0 90 1D 01 04 */ stw r0, 0x104(r29) +/* 8027CA84 002799E4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8027CA88 002799E8 90 1D 01 08 */ stw r0, 0x108(r29) +/* 8027CA8C 002799EC 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8027CA90 002799F0 90 1D 01 0C */ stw r0, 0x10c(r29) +/* 8027CA94 002799F4 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 8027CA98 002799F8 D0 1D 01 10 */ stfs f0, 0x110(r29) +/* 8027CA9C 002799FC C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8027CAA0 00279A00 D0 1D 01 14 */ stfs f0, 0x114(r29) +/* 8027CAA4 00279A04 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8027CAA8 00279A08 D0 1D 01 18 */ stfs f0, 0x118(r29) +/* 8027CAAC 00279A0C C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 8027CAB0 00279A10 D0 1D 01 1C */ stfs f0, 0x11c(r29) +/* 8027CAB4 00279A14 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8027CAB8 00279A18 D0 1D 01 20 */ stfs f0, 0x120(r29) +/* 8027CABC 00279A1C C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 8027CAC0 00279A20 D0 1D 01 24 */ stfs f0, 0x124(r29) +/* 8027CAC4 00279A24 C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 8027CAC8 00279A28 D0 1D 01 28 */ stfs f0, 0x128(r29) +/* 8027CACC 00279A2C C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8027CAD0 00279A30 D0 1D 01 2C */ stfs f0, 0x12c(r29) +/* 8027CAD4 00279A34 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8027CAD8 00279A38 90 1D 01 30 */ stw r0, 0x130(r29) +/* 8027CADC 00279A3C 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 8027CAE0 00279A40 90 1D 01 34 */ stw r0, 0x134(r29) +/* 8027CAE4 00279A44 80 1F 00 00 */ lwz r0, 0(r31) +/* 8027CAE8 00279A48 90 1D 01 38 */ stw r0, 0x138(r29) +/* 8027CAEC 00279A4C 88 1F 00 04 */ lbz r0, 4(r31) +/* 8027CAF0 00279A50 98 1D 01 3C */ stb r0, 0x13c(r29) +/* 8027CAF4 00279A54 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8027CAF8 00279A58 D0 1D 01 40 */ stfs f0, 0x140(r29) +/* 8027CAFC 00279A5C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8027CB00 00279A60 D0 1D 01 44 */ stfs f0, 0x144(r29) +/* 8027CB04 00279A64 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8027CB08 00279A68 D0 1D 01 48 */ stfs f0, 0x148(r29) +/* 8027CB0C 00279A6C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8027CB10 00279A70 D0 1D 01 4C */ stfs f0, 0x14c(r29) +/* 8027CB14 00279A74 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8027CB18 00279A78 98 1D 01 50 */ stb r0, 0x150(r29) +/* 8027CB1C 00279A7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8027CB20 00279A80 B0 1D 01 54 */ sth r0, 0x154(r29) +/* 8027CB24 00279A84 BA E1 00 DC */ lmw r23, 0xdc(r1) +/* 8027CB28 00279A88 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8027CB2C 00279A8C 7C 08 03 A6 */ mtlr r0 +/* 8027CB30 00279A90 38 21 01 00 */ addi r1, r1, 0x100 +/* 8027CB34 00279A94 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s b/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s new file mode 100644 index 00000000..e7f28999 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.s @@ -0,0 +1,2340 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CScriptMazeNodeFv +__dt__15CScriptMazeNodeFv: +/* 802887C8 00285728 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802887CC 0028572C 7C 08 02 A6 */ mflr r0 +/* 802887D0 00285730 90 01 00 24 */ stw r0, 0x24(r1) +/* 802887D4 00285734 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802887D8 00285738 7C 9F 23 78 */ mr r31, r4 +/* 802887DC 0028573C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802887E0 00285740 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802887E4 00285744 41 82 00 74 */ beq lbl_80288858 +/* 802887E8 00285748 3C 60 80 3F */ lis r3, lbl_803EB658@ha +/* 802887EC 0028574C 34 1E 01 2C */ addic. r0, r30, 0x12c +/* 802887F0 00285750 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l +/* 802887F4 00285754 90 1E 00 00 */ stw r0, 0(r30) +/* 802887F8 00285758 41 82 00 44 */ beq lbl_8028883C +/* 802887FC 0028575C 80 1E 01 30 */ lwz r0, 0x130(r30) +/* 80288800 00285760 80 7E 01 38 */ lwz r3, 0x138(r30) +/* 80288804 00285764 54 00 08 3C */ slwi r0, r0, 1 +/* 80288808 00285768 7C 03 02 14 */ add r0, r3, r0 +/* 8028880C 0028576C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80288810 00285770 7C 64 1B 78 */ mr r4, r3 +/* 80288814 00285774 90 01 00 14 */ stw r0, 0x14(r1) +/* 80288818 00285778 90 01 00 10 */ stw r0, 0x10(r1) +/* 8028881C 0028577C 90 61 00 08 */ stw r3, 8(r1) +/* 80288820 00285780 48 00 00 08 */ b lbl_80288828 +lbl_80288824: +/* 80288824 00285784 38 84 00 02 */ addi r4, r4, 2 +lbl_80288828: +/* 80288828 00285788 7C 04 00 40 */ cmplw r4, r0 +/* 8028882C 0028578C 40 82 FF F8 */ bne lbl_80288824 +/* 80288830 00285790 28 03 00 00 */ cmplwi r3, 0 +/* 80288834 00285794 41 82 00 08 */ beq lbl_8028883C +/* 80288838 00285798 48 08 D0 F9 */ bl Free__7CMemoryFPCv +lbl_8028883C: +/* 8028883C 0028579C 7F C3 F3 78 */ mr r3, r30 +/* 80288840 002857A0 38 80 00 00 */ li r4, 0 +/* 80288844 002857A4 4B DC CE AD */ bl __dt__6CActorFv +/* 80288848 002857A8 7F E0 07 35 */ extsh. r0, r31 +/* 8028884C 002857AC 40 81 00 0C */ ble lbl_80288858 +/* 80288850 002857B0 7F C3 F3 78 */ mr r3, r30 +/* 80288854 002857B4 48 08 D0 DD */ bl Free__7CMemoryFPCv +lbl_80288858: +/* 80288858 002857B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028885C 002857BC 7F C3 F3 78 */ mr r3, r30 +/* 80288860 002857C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288864 002857C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80288868 002857C8 7C 08 03 A6 */ mtlr r0 +/* 8028886C 002857CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288870 002857D0 4E 80 00 20 */ blr + +.global LoadMazeSeeds__15CScriptMazeNodeFv +LoadMazeSeeds__15CScriptMazeNodeFv: +/* 80288874 002857D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80288878 002857D8 7C 08 02 A6 */ mflr r0 +/* 8028887C 002857DC 3C 80 80 3D */ lis r4, lbl_803D5980@ha +/* 80288880 002857E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80288884 002857E4 38 84 59 80 */ addi r4, r4, lbl_803D5980@l +/* 80288888 002857E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028888C 002857EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80288890 002857F0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80288894 002857F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80288898 002857F8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028889C 002857FC 7D 89 03 A6 */ mtctr r12 +/* 802888A0 00285800 4E 80 04 21 */ bctrl +/* 802888A4 00285804 80 CD A0 60 */ lwz r6, gpResourceFactory@sda21(r13) +/* 802888A8 00285808 7C 64 1B 78 */ mr r4, r3 +/* 802888AC 0028580C 38 A0 00 00 */ li r5, 0 +/* 802888B0 00285810 38 66 00 04 */ addi r3, r6, 4 +/* 802888B4 00285814 48 0B 30 B5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 802888B8 00285818 7C 03 00 D0 */ neg r0, r3 +/* 802888BC 0028581C 3C 80 80 57 */ lis r4, lbl_805726FC@ha +/* 802888C0 00285820 7C 00 1B 78 */ or r0, r0, r3 +/* 802888C4 00285824 90 61 00 0C */ stw r3, 0xc(r1) +/* 802888C8 00285828 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802888CC 0028582C 3B E4 26 FC */ addi r31, r4, lbl_805726FC@l +/* 802888D0 00285830 98 01 00 08 */ stb r0, 8(r1) +/* 802888D4 00285834 3B C0 00 00 */ li r30, 0 +lbl_802888D8: +/* 802888D8 00285838 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802888DC 0028583C 48 0B 63 A9 */ bl ReadLong__12CInputStreamFv +/* 802888E0 00285840 3B DE 00 01 */ addi r30, r30, 1 +/* 802888E4 00285844 90 7F 00 00 */ stw r3, 0(r31) +/* 802888E8 00285848 2C 1E 01 2C */ cmpwi r30, 0x12c +/* 802888EC 0028584C 3B FF 00 04 */ addi r31, r31, 4 +/* 802888F0 00285850 41 80 FF E8 */ blt lbl_802888D8 +/* 802888F4 00285854 88 01 00 08 */ lbz r0, 8(r1) +/* 802888F8 00285858 28 00 00 00 */ cmplwi r0, 0 +/* 802888FC 0028585C 41 82 00 24 */ beq lbl_80288920 +/* 80288900 00285860 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80288904 00285864 28 03 00 00 */ cmplwi r3, 0 +/* 80288908 00285868 41 82 00 18 */ beq lbl_80288920 +/* 8028890C 0028586C 81 83 00 00 */ lwz r12, 0(r3) +/* 80288910 00285870 38 80 00 01 */ li r4, 1 +/* 80288914 00285874 81 8C 00 08 */ lwz r12, 8(r12) +/* 80288918 00285878 7D 89 03 A6 */ mtctr r12 +/* 8028891C 0028587C 4E 80 04 21 */ bctrl +lbl_80288920: +/* 80288920 00285880 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80288924 00285884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80288928 00285888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028892C 0028588C 7C 08 03 A6 */ mtlr r0 +/* 80288930 00285890 38 21 00 20 */ addi r1, r1, 0x20 +/* 80288934 00285894 4E 80 00 20 */ blr + +.global Think__15CScriptMazeNodeFfR13CStateManager +Think__15CScriptMazeNodeFfR13CStateManager: +/* 80288938 00285898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028893C 0028589C 7C 08 02 A6 */ mflr r0 +/* 80288940 002858A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80288944 002858A4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80288948 002858A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8028894C 002858AC 41 82 00 70 */ beq lbl_802889BC +/* 80288950 002858B0 88 03 01 3C */ lbz r0, 0x13c(r3) +/* 80288954 002858B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80288958 002858B8 41 82 00 64 */ beq lbl_802889BC +/* 8028895C 002858BC C0 43 00 F8 */ lfs f2, 0xf8(r3) +/* 80288960 002858C0 C0 02 BE 60 */ lfs f0, lbl_805ADB80@sda21(r2) +/* 80288964 002858C4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80288968 002858C8 D0 23 00 F8 */ stfs f1, 0xf8(r3) +/* 8028896C 002858CC C0 23 00 F8 */ lfs f1, 0xf8(r3) +/* 80288970 002858D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80288974 002858D4 4C 40 13 82 */ cror 2, 0, 2 +/* 80288978 002858D8 40 82 00 44 */ bne lbl_802889BC +/* 8028897C 002858DC C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) +/* 80288980 002858E0 D0 03 00 F8 */ stfs f0, 0xf8(r3) +/* 80288984 002858E4 88 C3 01 3C */ lbz r6, 0x13c(r3) +/* 80288988 002858E8 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f +/* 8028898C 002858EC 41 82 00 1C */ beq lbl_802889A8 +/* 80288990 002858F0 38 00 00 00 */ li r0, 0 +/* 80288994 002858F4 38 A0 00 04 */ li r5, 4 +/* 80288998 002858F8 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 8028899C 002858FC 98 C3 01 3C */ stb r6, 0x13c(r3) +/* 802889A0 00285900 48 00 08 81 */ bl sub_80289220 +/* 802889A4 00285904 48 00 00 18 */ b lbl_802889BC +lbl_802889A8: +/* 802889A8 00285908 38 00 00 01 */ li r0, 1 +/* 802889AC 0028590C 38 A0 00 01 */ li r5, 1 +/* 802889B0 00285910 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a +/* 802889B4 00285914 98 C3 01 3C */ stb r6, 0x13c(r3) +/* 802889B8 00285918 48 00 08 69 */ bl sub_80289220 +lbl_802889BC: +/* 802889BC 0028591C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802889C0 00285920 7C 08 03 A6 */ mtlr r0 +/* 802889C4 00285924 38 21 00 10 */ addi r1, r1, 0x10 +/* 802889C8 00285928 4E 80 00 20 */ blr + +.global AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802889CC 0028592C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802889D0 00285930 7C 08 02 A6 */ mflr r0 +/* 802889D4 00285934 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802889D8 00285938 BF 01 00 D0 */ stmw r24, 0xd0(r1) +/* 802889DC 0028593C 7C 7F 1B 78 */ mr r31, r3 +/* 802889E0 00285940 7C 98 23 78 */ mr r24, r4 +/* 802889E4 00285944 7C B9 2B 78 */ mr r25, r5 +/* 802889E8 00285948 7C DE 33 78 */ mr r30, r6 +/* 802889EC 0028594C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 802889F0 00285950 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802889F4 00285954 41 82 07 FC */ beq lbl_802891F0 +/* 802889F8 00285958 2C 18 00 13 */ cmpwi r24, 0x13 +/* 802889FC 0028595C 41 82 01 04 */ beq lbl_80288B00 +/* 80288A00 00285960 40 80 00 1C */ bge lbl_80288A1C +/* 80288A04 00285964 2C 18 00 0D */ cmpwi r24, 0xd +/* 80288A08 00285968 41 82 04 A4 */ beq lbl_80288EAC +/* 80288A0C 0028596C 40 80 07 E4 */ bge lbl_802891F0 +/* 80288A10 00285970 2C 18 00 04 */ cmpwi r24, 4 +/* 80288A14 00285974 41 82 07 D4 */ beq lbl_802891E8 +/* 80288A18 00285978 48 00 07 D8 */ b lbl_802891F0 +lbl_80288A1C: +/* 80288A1C 0028597C 2C 18 00 23 */ cmpwi r24, 0x23 +/* 80288A20 00285980 41 82 00 14 */ beq lbl_80288A34 +/* 80288A24 00285984 40 80 07 CC */ bge lbl_802891F0 +/* 80288A28 00285988 2C 18 00 22 */ cmpwi r24, 0x22 +/* 80288A2C 0028598C 40 80 07 80 */ bge lbl_802891AC +/* 80288A30 00285990 48 00 07 C0 */ b lbl_802891F0 +lbl_80288A34: +/* 80288A34 00285994 7F C3 F3 78 */ mr r3, r30 +/* 80288A38 00285998 4B DB B6 51 */ bl sub_80044088 +/* 80288A3C 0028599C 28 03 00 00 */ cmplwi r3, 0 +/* 80288A40 002859A0 40 82 07 B0 */ bne lbl_802891F0 +/* 80288A44 002859A4 3C 80 80 3D */ lis r4, lbl_803D5980@ha +/* 80288A48 002859A8 38 60 00 98 */ li r3, 0x98 +/* 80288A4C 002859AC 38 84 59 80 */ addi r4, r4, lbl_803D5980@l +/* 80288A50 002859B0 38 A0 00 00 */ li r5, 0 +/* 80288A54 002859B4 38 84 00 0F */ addi r4, r4, 0xf +/* 80288A58 002859B8 48 08 CE 15 */ bl __nw__FUlPCcPCc +/* 80288A5C 002859BC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80288A60 002859C0 41 82 00 1C */ beq lbl_80288A7C +/* 80288A64 002859C4 38 80 00 04 */ li r4, 4 +/* 80288A68 002859C8 38 A0 00 04 */ li r5, 4 +/* 80288A6C 002859CC 38 C0 00 05 */ li r6, 5 +/* 80288A70 002859D0 38 E0 00 03 */ li r7, 3 +/* 80288A74 002859D4 48 00 1E 25 */ bl sub_8028a898 +/* 80288A78 002859D8 7C 7A 1B 78 */ mr r26, r3 +lbl_80288A7C: +/* 80288A7C 002859DC 93 41 00 5C */ stw r26, 0x5c(r1) +/* 80288A80 002859E0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80288A84 002859E4 48 08 9A 9D */ bl Next__9CRandom16Fv +/* 80288A88 002859E8 3C A0 1B 4F */ lis r5, 0x1B4E81B5@ha +/* 80288A8C 002859EC 3C 80 80 57 */ lis r4, lbl_805726FC@ha +/* 80288A90 002859F0 38 05 81 B5 */ addi r0, r5, 0x1B4E81B5@l +/* 80288A94 002859F4 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80288A98 002859F8 38 84 26 FC */ addi r4, r4, lbl_805726FC@l +/* 80288A9C 002859FC 7C 00 2E 70 */ srawi r0, r0, 5 +/* 80288AA0 00285A00 54 05 0F FE */ srwi r5, r0, 0x1f +/* 80288AA4 00285A04 7C 00 2A 14 */ add r0, r0, r5 +/* 80288AA8 00285A08 1C 00 01 2C */ mulli r0, r0, 0x12c +/* 80288AAC 00285A0C 7C 00 18 50 */ subf r0, r0, r3 +/* 80288AB0 00285A10 7F 43 D3 78 */ mr r3, r26 +/* 80288AB4 00285A14 54 00 10 3A */ slwi r0, r0, 2 +/* 80288AB8 00285A18 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80288ABC 00285A1C 48 00 14 75 */ bl sub_80289f30 +/* 80288AC0 00285A20 7F 43 D3 78 */ mr r3, r26 +/* 80288AC4 00285A24 48 00 0D 39 */ bl sub_802897fc +/* 80288AC8 00285A28 7F 43 D3 78 */ mr r3, r26 +/* 80288ACC 00285A2C 48 00 0E FD */ bl sub_802899c8 +/* 80288AD0 00285A30 7F 45 D3 78 */ mr r5, r26 +/* 80288AD4 00285A34 38 00 00 00 */ li r0, 0 +/* 80288AD8 00285A38 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80288ADC 00285A3C 7F C3 F3 78 */ mr r3, r30 +/* 80288AE0 00285A40 38 81 00 58 */ addi r4, r1, 0x58 +/* 80288AE4 00285A44 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80288AE8 00285A48 4B DB B5 49 */ bl sub_80044030 +/* 80288AEC 00285A4C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80288AF0 00285A50 48 08 CE 41 */ bl Free__7CMemoryFPCv +/* 80288AF4 00285A54 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80288AF8 00285A58 48 08 CE 39 */ bl Free__7CMemoryFPCv +/* 80288AFC 00285A5C 48 00 06 F4 */ b lbl_802891F0 +lbl_80288B00: +/* 80288B00 00285A60 7F C3 F3 78 */ mr r3, r30 +/* 80288B04 00285A64 3B 60 00 00 */ li r27, 0 +/* 80288B08 00285A68 4B DB B5 81 */ bl sub_80044088 +/* 80288B0C 00285A6C 28 03 00 00 */ cmplwi r3, 0 +/* 80288B10 00285A70 41 82 06 E0 */ beq lbl_802891F0 +/* 80288B14 00285A74 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80288B18 00285A78 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80288B1C 00285A7C 48 00 13 F9 */ bl sub_80289f14 +/* 80288B20 00285A80 80 9F 00 F0 */ lwz r4, 0xf0(r31) +/* 80288B24 00285A84 7C 7A 1B 78 */ mr r26, r3 +/* 80288B28 00285A88 2C 04 00 00 */ cmpwi r4, 0 +/* 80288B2C 00285A8C 40 82 00 30 */ bne lbl_80288B5C +/* 80288B30 00285A90 88 7A 00 00 */ lbz r3, 0(r26) +/* 80288B34 00285A94 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80288B38 00285A98 41 82 00 24 */ beq lbl_80288B5C +/* 80288B3C 00285A9C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80288B40 00285AA0 41 82 00 54 */ beq lbl_80288B94 +/* 80288B44 00285AA4 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288B48 00285AA8 38 60 00 01 */ li r3, 1 +/* 80288B4C 00285AAC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80288B50 00285AB0 3B 60 00 01 */ li r27, 1 +/* 80288B54 00285AB4 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 80288B58 00285AB8 48 00 00 3C */ b lbl_80288B94 +lbl_80288B5C: +/* 80288B5C 00285ABC 2C 04 00 01 */ cmpwi r4, 1 +/* 80288B60 00285AC0 40 82 00 30 */ bne lbl_80288B90 +/* 80288B64 00285AC4 88 7A 00 00 */ lbz r3, 0(r26) +/* 80288B68 00285AC8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80288B6C 00285ACC 41 82 00 24 */ beq lbl_80288B90 +/* 80288B70 00285AD0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80288B74 00285AD4 41 82 00 20 */ beq lbl_80288B94 +/* 80288B78 00285AD8 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288B7C 00285ADC 38 60 00 01 */ li r3, 1 +/* 80288B80 00285AE0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80288B84 00285AE4 3B 60 00 01 */ li r27, 1 +/* 80288B88 00285AE8 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 80288B8C 00285AEC 48 00 00 08 */ b lbl_80288B94 +lbl_80288B90: +/* 80288B90 00285AF0 3B 60 00 01 */ li r27, 1 +lbl_80288B94: +/* 80288B94 00285AF4 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80288B98 00285AF8 41 82 00 10 */ beq lbl_80288BA8 +/* 80288B9C 00285AFC 7F E3 FB 78 */ mr r3, r31 +/* 80288BA0 00285B00 7F C4 F3 78 */ mr r4, r30 +/* 80288BA4 00285B04 48 00 08 41 */ bl sub_802893e4 +lbl_80288BA8: +/* 80288BA8 00285B08 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 80288BAC 00285B0C 2C 00 00 01 */ cmpwi r0, 1 +/* 80288BB0 00285B10 40 82 00 20 */ bne lbl_80288BD0 +/* 80288BB4 00285B14 88 1A 00 01 */ lbz r0, 1(r26) +/* 80288BB8 00285B18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288BBC 00285B1C 41 82 00 14 */ beq lbl_80288BD0 +/* 80288BC0 00285B20 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288BC4 00285B24 38 60 00 01 */ li r3, 1 +/* 80288BC8 00285B28 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80288BCC 00285B2C 98 1F 01 3C */ stb r0, 0x13c(r31) +lbl_80288BD0: +/* 80288BD0 00285B30 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288BD4 00285B34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80288BD8 00285B38 41 82 01 14 */ beq lbl_80288CEC +/* 80288BDC 00285B3C 38 61 00 94 */ addi r3, r1, 0x94 +/* 80288BE0 00285B40 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80288BE4 00285B44 48 08 9F 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80288BE8 00285B48 80 DF 00 2C */ lwz r6, 0x2c(r31) +/* 80288BEC 00285B4C 48 00 00 E8 */ b lbl_80288CD4 +lbl_80288BF0: +/* 80288BF0 00285B50 80 06 00 00 */ lwz r0, 0(r6) +/* 80288BF4 00285B54 2C 00 00 19 */ cmpwi r0, 0x19 +/* 80288BF8 00285B58 40 82 00 D8 */ bne lbl_80288CD0 +/* 80288BFC 00285B5C 80 06 00 04 */ lwz r0, 4(r6) +/* 80288C00 00285B60 2C 00 00 01 */ cmpwi r0, 1 +/* 80288C04 00285B64 40 82 00 CC */ bne lbl_80288CD0 +/* 80288C08 00285B68 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 80288C0C 00285B6C 38 60 00 01 */ li r3, 1 +/* 80288C10 00285B70 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288C14 00285B74 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80288C18 00285B78 7F C4 F3 78 */ mr r4, r30 +/* 80288C1C 00285B7C 54 BA DF FE */ rlwinm r26, r5, 0x1b, 0x1f, 0x1f +/* 80288C20 00285B80 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288C24 00285B84 38 61 00 80 */ addi r3, r1, 0x80 +/* 80288C28 00285B88 38 A6 00 08 */ addi r5, r6, 8 +/* 80288C2C 00285B8C 4B DB F6 BD */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80288C30 00285B90 A0 A1 00 84 */ lhz r5, 0x84(r1) +/* 80288C34 00285B94 7F C3 F3 78 */ mr r3, r30 +/* 80288C38 00285B98 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288C3C 00285B9C 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 80288C40 00285BA0 B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80288C44 00285BA4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80288C48 00285BA8 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288C4C 00285BAC B0 BF 00 F4 */ sth r5, 0xf4(r31) +/* 80288C50 00285BB0 B0 A1 00 34 */ sth r5, 0x34(r1) +/* 80288C54 00285BB4 4B DC 39 21 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288C58 00285BB8 7C 64 1B 78 */ mr r4, r3 +/* 80288C5C 00285BBC 38 61 00 78 */ addi r3, r1, 0x78 +/* 80288C60 00285BC0 4B E2 70 31 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80288C64 00285BC4 83 43 00 04 */ lwz r26, 4(r3) +/* 80288C68 00285BC8 28 1A 00 00 */ cmplwi r26, 0 +/* 80288C6C 00285BCC 41 82 00 80 */ beq lbl_80288CEC +/* 80288C70 00285BD0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80288C74 00285BD4 7F 43 D3 78 */ mr r3, r26 +/* 80288C78 00285BD8 C0 1F 01 24 */ lfs f0, 0x124(r31) +/* 80288C7C 00285BDC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80288C80 00285BE0 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 80288C84 00285BE4 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 80288C88 00285BE8 EC 81 00 2A */ fadds f4, f1, f0 +/* 80288C8C 00285BEC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80288C90 00285BF0 C0 1F 01 20 */ lfs f0, 0x120(r31) +/* 80288C94 00285BF4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80288C98 00285BF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80288C9C 00285BFC D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 80288CA0 00285C00 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 80288CA4 00285C04 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80288CA8 00285C08 4B DC A1 E5 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80288CAC 00285C0C A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288CB0 00285C10 7F C3 F3 78 */ mr r3, r30 +/* 80288CB4 00285C14 7F 44 D3 78 */ mr r4, r26 +/* 80288CB8 00285C18 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80288CBC 00285C1C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80288CC0 00285C20 38 C0 00 01 */ li r6, 1 +/* 80288CC4 00285C24 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80288CC8 00285C28 4B DB B2 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80288CCC 00285C2C 48 00 00 20 */ b lbl_80288CEC +lbl_80288CD0: +/* 80288CD0 00285C30 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80288CD4: +/* 80288CD4 00285C34 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288CD8 00285C38 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288CDC 00285C3C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288CE0 00285C40 7C 03 02 14 */ add r0, r3, r0 +/* 80288CE4 00285C44 7C 06 00 40 */ cmplw r6, r0 +/* 80288CE8 00285C48 40 82 FF 08 */ bne lbl_80288BF0 +lbl_80288CEC: +/* 80288CEC 00285C4C 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288CF0 00285C50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288CF4 00285C54 41 82 04 FC */ beq lbl_802891F0 +/* 80288CF8 00285C58 80 BF 00 2C */ lwz r5, 0x2c(r31) +/* 80288CFC 00285C5C 38 80 00 00 */ li r4, 0 +/* 80288D00 00285C60 48 00 00 2C */ b lbl_80288D2C +lbl_80288D04: +/* 80288D04 00285C64 80 05 00 00 */ lwz r0, 0(r5) +/* 80288D08 00285C68 2C 00 00 02 */ cmpwi r0, 2 +/* 80288D0C 00285C6C 41 82 00 0C */ beq lbl_80288D18 +/* 80288D10 00285C70 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80288D14 00285C74 40 82 00 14 */ bne lbl_80288D28 +lbl_80288D18: +/* 80288D18 00285C78 80 05 00 04 */ lwz r0, 4(r5) +/* 80288D1C 00285C7C 2C 00 00 01 */ cmpwi r0, 1 +/* 80288D20 00285C80 40 82 00 08 */ bne lbl_80288D28 +/* 80288D24 00285C84 38 84 00 01 */ addi r4, r4, 1 +lbl_80288D28: +/* 80288D28 00285C88 38 A5 00 0C */ addi r5, r5, 0xc +lbl_80288D2C: +/* 80288D2C 00285C8C 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288D30 00285C90 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288D34 00285C94 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288D38 00285C98 7C 03 02 14 */ add r0, r3, r0 +/* 80288D3C 00285C9C 7C 05 00 40 */ cmplw r5, r0 +/* 80288D40 00285CA0 40 82 FF C4 */ bne lbl_80288D04 +/* 80288D44 00285CA4 38 7F 01 2C */ addi r3, r31, 0x12c +/* 80288D48 00285CA8 4B D8 36 C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +/* 80288D4C 00285CAC 83 5F 00 2C */ lwz r26, 0x2c(r31) +/* 80288D50 00285CB0 48 00 01 40 */ b lbl_80288E90 +lbl_80288D54: +/* 80288D54 00285CB4 80 1A 00 00 */ lwz r0, 0(r26) +/* 80288D58 00285CB8 2C 00 00 02 */ cmpwi r0, 2 +/* 80288D5C 00285CBC 41 82 00 0C */ beq lbl_80288D68 +/* 80288D60 00285CC0 2C 00 00 11 */ cmpwi r0, 0x11 +/* 80288D64 00285CC4 40 82 01 28 */ bne lbl_80288E8C +lbl_80288D68: +/* 80288D68 00285CC8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80288D6C 00285CCC 2C 00 00 01 */ cmpwi r0, 1 +/* 80288D70 00285CD0 40 82 01 1C */ bne lbl_80288E8C +/* 80288D74 00285CD4 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 80288D78 00285CD8 38 60 00 01 */ li r3, 1 +/* 80288D7C 00285CDC 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288D80 00285CE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80288D84 00285CE4 7F C4 F3 78 */ mr r4, r30 +/* 80288D88 00285CE8 54 BB DF FE */ rlwinm r27, r5, 0x1b, 0x1f, 0x1f +/* 80288D8C 00285CEC 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288D90 00285CF0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80288D94 00285CF4 38 BA 00 08 */ addi r5, r26, 8 +/* 80288D98 00285CF8 4B DB F5 51 */ bl GenerateObject__13CStateManagerF9TEditorId +/* 80288D9C 00285CFC A0 61 00 74 */ lhz r3, 0x74(r1) +/* 80288DA0 00285D00 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 80288DA4 00285D04 53 60 2E B4 */ rlwimi r0, r27, 5, 0x1a, 0x1a +/* 80288DA8 00285D08 B0 61 00 38 */ sth r3, 0x38(r1) +/* 80288DAC 00285D0C 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 80288DB0 00285D10 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288DB4 00285D14 80 BF 01 34 */ lwz r5, 0x134(r31) +/* 80288DB8 00285D18 7C 00 28 00 */ cmpw r0, r5 +/* 80288DBC 00285D1C 41 80 00 1C */ blt lbl_80288DD8 +/* 80288DC0 00285D20 2C 05 00 00 */ cmpwi r5, 0 +/* 80288DC4 00285D24 38 7F 01 2C */ addi r3, r31, 0x12c +/* 80288DC8 00285D28 38 80 00 04 */ li r4, 4 +/* 80288DCC 00285D2C 41 82 00 08 */ beq lbl_80288DD4 +/* 80288DD0 00285D30 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80288DD4: +/* 80288DD4 00285D34 4B D8 36 35 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80288DD8: +/* 80288DD8 00285D38 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288DDC 00285D3C 80 7F 01 38 */ lwz r3, 0x138(r31) +/* 80288DE0 00285D40 54 00 08 3C */ slwi r0, r0, 1 +/* 80288DE4 00285D44 7C 63 02 15 */ add. r3, r3, r0 +/* 80288DE8 00285D48 41 82 00 0C */ beq lbl_80288DF4 +/* 80288DEC 00285D4C A0 01 00 38 */ lhz r0, 0x38(r1) +/* 80288DF0 00285D50 B0 03 00 00 */ sth r0, 0(r3) +lbl_80288DF4: +/* 80288DF4 00285D54 80 BF 01 30 */ lwz r5, 0x130(r31) +/* 80288DF8 00285D58 7F C3 F3 78 */ mr r3, r30 +/* 80288DFC 00285D5C A0 01 00 38 */ lhz r0, 0x38(r1) +/* 80288E00 00285D60 38 81 00 28 */ addi r4, r1, 0x28 +/* 80288E04 00285D64 38 A5 00 01 */ addi r5, r5, 1 +/* 80288E08 00285D68 90 BF 01 30 */ stw r5, 0x130(r31) +/* 80288E0C 00285D6C B0 01 00 28 */ sth r0, 0x28(r1) +/* 80288E10 00285D70 4B DC 37 65 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288E14 00285D74 7C 64 1B 78 */ mr r4, r3 +/* 80288E18 00285D78 38 61 00 68 */ addi r3, r1, 0x68 +/* 80288E1C 00285D7C 4B E2 6E 75 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80288E20 00285D80 83 63 00 04 */ lwz r27, 4(r3) +/* 80288E24 00285D84 28 1B 00 00 */ cmplwi r27, 0 +/* 80288E28 00285D88 41 82 00 64 */ beq lbl_80288E8C +/* 80288E2C 00285D8C 38 7B 00 34 */ addi r3, r27, 0x34 +/* 80288E30 00285D90 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80288E34 00285D94 48 08 9D 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80288E38 00285D98 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E3C 00285D9C 38 60 00 01 */ li r3, 1 +/* 80288E40 00285DA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80288E44 00285DA4 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E48 00285DA8 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E4C 00285DAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80288E50 00285DB0 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E54 00285DB4 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 80288E58 00285DB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80288E5C 00285DBC 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 80288E60 00285DC0 80 1A 00 00 */ lwz r0, 0(r26) +/* 80288E64 00285DC4 2C 00 00 02 */ cmpwi r0, 2 +/* 80288E68 00285DC8 40 82 00 24 */ bne lbl_80288E8C +/* 80288E6C 00285DCC A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288E70 00285DD0 7F C3 F3 78 */ mr r3, r30 +/* 80288E74 00285DD4 7F 64 DB 78 */ mr r4, r27 +/* 80288E78 00285DD8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80288E7C 00285DDC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80288E80 00285DE0 38 C0 00 01 */ li r6, 1 +/* 80288E84 00285DE4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80288E88 00285DE8 4B DB B0 49 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80288E8C: +/* 80288E8C 00285DEC 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80288E90: +/* 80288E90 00285DF0 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80288E94 00285DF4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80288E98 00285DF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80288E9C 00285DFC 7C 03 02 14 */ add r0, r3, r0 +/* 80288EA0 00285E00 7C 1A 00 40 */ cmplw r26, r0 +/* 80288EA4 00285E04 40 82 FE B0 */ bne lbl_80288D54 +/* 80288EA8 00285E08 48 00 03 48 */ b lbl_802891F0 +lbl_80288EAC: +/* 80288EAC 00285E0C 7F C3 F3 78 */ mr r3, r30 +/* 80288EB0 00285E10 4B DB B1 D9 */ bl sub_80044088 +/* 80288EB4 00285E14 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 80288EB8 00285E18 7C 7C 1B 78 */ mr r28, r3 +/* 80288EBC 00285E1C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288EC0 00285E20 41 82 03 30 */ beq lbl_802891F0 +/* 80288EC4 00285E24 28 1C 00 00 */ cmplwi r28, 0 +/* 80288EC8 00285E28 41 82 03 28 */ beq lbl_802891F0 +/* 80288ECC 00285E2C 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288ED0 00285E30 83 5F 01 38 */ lwz r26, 0x138(r31) +/* 80288ED4 00285E34 54 00 08 3C */ slwi r0, r0, 1 +/* 80288ED8 00285E38 7C 9A 02 14 */ add r4, r26, r0 +/* 80288EDC 00285E3C 93 41 00 50 */ stw r26, 0x50(r1) +/* 80288EE0 00285E40 90 81 00 44 */ stw r4, 0x44(r1) +/* 80288EE4 00285E44 93 41 00 54 */ stw r26, 0x54(r1) +/* 80288EE8 00285E48 90 81 00 48 */ stw r4, 0x48(r1) +/* 80288EEC 00285E4C 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80288EF0 00285E50 48 00 00 10 */ b lbl_80288F00 +lbl_80288EF4: +/* 80288EF4 00285E54 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288EF8 00285E58 38 03 00 02 */ addi r0, r3, 2 +/* 80288EFC 00285E5C 90 01 00 54 */ stw r0, 0x54(r1) +lbl_80288F00: +/* 80288F00 00285E60 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288F04 00285E64 7C 03 20 40 */ cmplw r3, r4 +/* 80288F08 00285E68 41 82 00 14 */ beq lbl_80288F1C +/* 80288F0C 00285E6C A0 63 00 00 */ lhz r3, 0(r3) +/* 80288F10 00285E70 A0 19 00 00 */ lhz r0, 0(r25) +/* 80288F14 00285E74 7C 03 00 40 */ cmplw r3, r0 +/* 80288F18 00285E78 40 82 FF DC */ bne lbl_80288EF4 +lbl_80288F1C: +/* 80288F1C 00285E7C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80288F20 00285E80 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80288F24 00285E84 7C 03 00 40 */ cmplw r3, r0 +/* 80288F28 00285E88 41 82 02 C8 */ beq lbl_802891F0 +/* 80288F2C 00285E8C 48 00 00 68 */ b lbl_80288F94 +lbl_80288F30: +/* 80288F30 00285E90 A0 1A 00 00 */ lhz r0, 0(r26) +/* 80288F34 00285E94 7F C3 F3 78 */ mr r3, r30 +/* 80288F38 00285E98 38 81 00 1C */ addi r4, r1, 0x1c +/* 80288F3C 00285E9C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80288F40 00285EA0 4B DC 36 35 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80288F44 00285EA4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80288F48 00285EA8 41 82 00 48 */ beq lbl_80288F90 +/* 80288F4C 00285EAC 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80288F50 00285EB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80288F54 00285EB4 40 82 00 24 */ bne lbl_80288F78 +/* 80288F58 00285EB8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 80288F5C 00285EBC 7F C3 F3 78 */ mr r3, r30 +/* 80288F60 00285EC0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80288F64 00285EC4 38 C0 00 01 */ li r6, 1 +/* 80288F68 00285EC8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80288F6C 00285ECC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80288F70 00285ED0 4B DB AF 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80288F74 00285ED4 48 00 00 1C */ b lbl_80288F90 +lbl_80288F78: +/* 80288F78 00285ED8 A0 04 00 08 */ lhz r0, 8(r4) +/* 80288F7C 00285EDC 7F C3 F3 78 */ mr r3, r30 +/* 80288F80 00285EE0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80288F84 00285EE4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80288F88 00285EE8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80288F8C 00285EEC 4B DC 32 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80288F90: +/* 80288F90 00285EF0 3B 5A 00 02 */ addi r26, r26, 2 +lbl_80288F94: +/* 80288F94 00285EF4 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80288F98 00285EF8 80 7F 01 38 */ lwz r3, 0x138(r31) +/* 80288F9C 00285EFC 54 00 08 3C */ slwi r0, r0, 1 +/* 80288FA0 00285F00 7C 03 02 14 */ add r0, r3, r0 +/* 80288FA4 00285F04 7C 1A 00 40 */ cmplw r26, r0 +/* 80288FA8 00285F08 40 82 FF 88 */ bne lbl_80288F30 +/* 80288FAC 00285F0C 83 5E 08 10 */ lwz r26, 0x810(r30) +/* 80288FB0 00285F10 AB BA 20 08 */ lha r29, 0x2008(r26) +/* 80288FB4 00285F14 48 00 01 EC */ b lbl_802891A0 +lbl_80288FB8: +/* 80288FB8 00285F18 7F 43 D3 78 */ mr r3, r26 +/* 80288FBC 00285F1C 7F A4 EB 78 */ mr r4, r29 +/* 80288FC0 00285F20 4B D8 6D 55 */ bl __vc__11CObjectListFi +/* 80288FC4 00285F24 7C 64 1B 78 */ mr r4, r3 +/* 80288FC8 00285F28 38 61 00 60 */ addi r3, r1, 0x60 +/* 80288FCC 00285F2C 4B E2 04 D5 */ bl "__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity" +/* 80288FD0 00285F30 83 63 00 04 */ lwz r27, 4(r3) +/* 80288FD4 00285F34 28 1B 00 00 */ cmplwi r27, 0 +/* 80288FD8 00285F38 41 82 01 AC */ beq lbl_80289184 +/* 80288FDC 00285F3C 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80288FE0 00285F40 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 80288FE4 00285F44 38 83 FF FF */ addi r4, r3, -1 +/* 80288FE8 00285F48 7C 00 20 00 */ cmpw r0, r4 +/* 80288FEC 00285F4C 40 82 00 5C */ bne lbl_80289048 +/* 80288FF0 00285F50 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 80288FF4 00285F54 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80288FF8 00285F58 7C 00 28 00 */ cmpw r0, r5 +/* 80288FFC 00285F5C 40 82 00 4C */ bne lbl_80289048 +/* 80289000 00285F60 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 80289004 00285F64 2C 00 00 01 */ cmpwi r0, 1 +/* 80289008 00285F68 40 82 00 40 */ bne lbl_80289048 +/* 8028900C 00285F6C 7F 83 E3 78 */ mr r3, r28 +/* 80289010 00285F70 48 00 0E E9 */ bl sub_80289ef8 +/* 80289014 00285F74 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289018 00285F78 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 8028901C 00285F7C 40 82 00 2C */ bne lbl_80289048 +/* 80289020 00285F80 38 00 00 01 */ li r0, 1 +/* 80289024 00285F84 7F C4 F3 78 */ mr r4, r30 +/* 80289028 00285F88 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 8028902C 00285F8C 98 A3 00 00 */ stb r5, 0(r3) +/* 80289030 00285F90 7F 63 DB 78 */ mr r3, r27 +/* 80289034 00285F94 48 00 03 0D */ bl sub_80289340 +/* 80289038 00285F98 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 8028903C 00285F9C 38 60 00 00 */ li r3, 0 +/* 80289040 00285FA0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289044 00285FA4 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289048: +/* 80289048 00285FA8 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8028904C 00285FAC 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80289050 00285FB0 7C 00 20 00 */ cmpw r0, r4 +/* 80289054 00285FB4 40 82 00 5C */ bne lbl_802890B0 +/* 80289058 00285FB8 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 8028905C 00285FBC 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 80289060 00285FC0 7C 00 28 00 */ cmpw r0, r5 +/* 80289064 00285FC4 40 82 00 4C */ bne lbl_802890B0 +/* 80289068 00285FC8 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 8028906C 00285FCC 2C 00 00 01 */ cmpwi r0, 1 +/* 80289070 00285FD0 40 82 00 40 */ bne lbl_802890B0 +/* 80289074 00285FD4 7F 83 E3 78 */ mr r3, r28 +/* 80289078 00285FD8 48 00 0E 81 */ bl sub_80289ef8 +/* 8028907C 00285FDC 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289080 00285FE0 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 80289084 00285FE4 40 82 00 2C */ bne lbl_802890B0 +/* 80289088 00285FE8 38 00 00 01 */ li r0, 1 +/* 8028908C 00285FEC 7F C4 F3 78 */ mr r4, r30 +/* 80289090 00285FF0 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 80289094 00285FF4 98 A3 00 00 */ stb r5, 0(r3) +/* 80289098 00285FF8 7F 63 DB 78 */ mr r3, r27 +/* 8028909C 00285FFC 48 00 02 A5 */ bl sub_80289340 +/* 802890A0 00286000 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 802890A4 00286004 38 60 00 00 */ li r3, 0 +/* 802890A8 00286008 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802890AC 0028600C 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_802890B0: +/* 802890B0 00286010 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 802890B4 00286014 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 802890B8 00286018 7C 00 20 00 */ cmpw r0, r4 +/* 802890BC 0028601C 40 82 00 5C */ bne lbl_80289118 +/* 802890C0 00286020 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 802890C4 00286024 80 BF 00 EC */ lwz r5, 0xec(r31) +/* 802890C8 00286028 7C 00 28 00 */ cmpw r0, r5 +/* 802890CC 0028602C 40 82 00 4C */ bne lbl_80289118 +/* 802890D0 00286030 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 802890D4 00286034 2C 00 00 00 */ cmpwi r0, 0 +/* 802890D8 00286038 40 82 00 40 */ bne lbl_80289118 +/* 802890DC 0028603C 7F 83 E3 78 */ mr r3, r28 +/* 802890E0 00286040 48 00 0E 19 */ bl sub_80289ef8 +/* 802890E4 00286044 88 A3 00 00 */ lbz r5, 0(r3) +/* 802890E8 00286048 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 802890EC 0028604C 40 82 00 2C */ bne lbl_80289118 +/* 802890F0 00286050 38 00 00 01 */ li r0, 1 +/* 802890F4 00286054 7F C4 F3 78 */ mr r4, r30 +/* 802890F8 00286058 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 802890FC 0028605C 98 A3 00 00 */ stb r5, 0(r3) +/* 80289100 00286060 7F 63 DB 78 */ mr r3, r27 +/* 80289104 00286064 48 00 02 3D */ bl sub_80289340 +/* 80289108 00286068 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 8028910C 0028606C 38 60 00 00 */ li r3, 0 +/* 80289110 00286070 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289114 00286074 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289118: +/* 80289118 00286078 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8028911C 0028607C 80 9F 00 E8 */ lwz r4, 0xe8(r31) +/* 80289120 00286080 7C 00 20 00 */ cmpw r0, r4 +/* 80289124 00286084 40 82 00 60 */ bne lbl_80289184 +/* 80289128 00286088 80 7F 00 EC */ lwz r3, 0xec(r31) +/* 8028912C 0028608C 80 1B 00 EC */ lwz r0, 0xec(r27) +/* 80289130 00286090 38 A3 00 01 */ addi r5, r3, 1 +/* 80289134 00286094 7C 00 28 00 */ cmpw r0, r5 +/* 80289138 00286098 40 82 00 4C */ bne lbl_80289184 +/* 8028913C 0028609C 80 1B 00 F0 */ lwz r0, 0xf0(r27) +/* 80289140 002860A0 2C 00 00 00 */ cmpwi r0, 0 +/* 80289144 002860A4 40 82 00 40 */ bne lbl_80289184 +/* 80289148 002860A8 7F 83 E3 78 */ mr r3, r28 +/* 8028914C 002860AC 48 00 0D AD */ bl sub_80289ef8 +/* 80289150 002860B0 88 A3 00 00 */ lbz r5, 0(r3) +/* 80289154 002860B4 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 80289158 002860B8 40 82 00 2C */ bne lbl_80289184 +/* 8028915C 002860BC 38 00 00 01 */ li r0, 1 +/* 80289160 002860C0 7F C4 F3 78 */ mr r4, r30 +/* 80289164 002860C4 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 80289168 002860C8 98 A3 00 00 */ stb r5, 0(r3) +/* 8028916C 002860CC 7F 63 DB 78 */ mr r3, r27 +/* 80289170 002860D0 48 00 01 D1 */ bl sub_80289340 +/* 80289174 002860D4 88 1B 01 3C */ lbz r0, 0x13c(r27) +/* 80289178 002860D8 38 60 00 00 */ li r3, 0 +/* 8028917C 002860DC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80289180 002860E0 98 1B 01 3C */ stb r0, 0x13c(r27) +lbl_80289184: +/* 80289184 002860E4 2C 1D FF FF */ cmpwi r29, -1 +/* 80289188 002860E8 41 82 00 14 */ beq lbl_8028919C +/* 8028918C 002860EC 57 A3 18 38 */ slwi r3, r29, 3 +/* 80289190 002860F0 38 03 00 08 */ addi r0, r3, 8 +/* 80289194 002860F4 7F BA 02 AE */ lhax r29, r26, r0 +/* 80289198 002860F8 48 00 00 08 */ b lbl_802891A0 +lbl_8028919C: +/* 8028919C 002860FC 3B A0 FF FF */ li r29, -1 +lbl_802891A0: +/* 802891A0 00286100 2C 1D FF FF */ cmpwi r29, -1 +/* 802891A4 00286104 40 82 FE 14 */ bne lbl_80288FB8 +/* 802891A8 00286108 48 00 00 48 */ b lbl_802891F0 +lbl_802891AC: +/* 802891AC 0028610C 7F C3 F3 78 */ mr r3, r30 +/* 802891B0 00286110 4B DB AE E1 */ bl sub_80044090 +/* 802891B4 00286114 28 03 00 00 */ cmplwi r3, 0 +/* 802891B8 00286118 41 82 00 20 */ beq lbl_802891D8 +/* 802891BC 0028611C 38 00 00 00 */ li r0, 0 +/* 802891C0 00286120 7F C3 F3 78 */ mr r3, r30 +/* 802891C4 00286124 90 01 00 40 */ stw r0, 0x40(r1) +/* 802891C8 00286128 38 81 00 40 */ addi r4, r1, 0x40 +/* 802891CC 0028612C 4B DB AE 65 */ bl sub_80044030 +/* 802891D0 00286130 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802891D4 00286134 48 08 C7 5D */ bl Free__7CMemoryFPCv +lbl_802891D8: +/* 802891D8 00286138 7F E3 FB 78 */ mr r3, r31 +/* 802891DC 0028613C 7F C4 F3 78 */ mr r4, r30 +/* 802891E0 00286140 48 00 01 61 */ bl sub_80289340 +/* 802891E4 00286144 48 00 00 0C */ b lbl_802891F0 +lbl_802891E8: +/* 802891E8 00286148 7F C4 F3 78 */ mr r4, r30 +/* 802891EC 0028614C 48 00 01 55 */ bl sub_80289340 +lbl_802891F0: +/* 802891F0 00286150 A0 19 00 00 */ lhz r0, 0(r25) +/* 802891F4 00286154 7F E3 FB 78 */ mr r3, r31 +/* 802891F8 00286158 7F 04 C3 78 */ mr r4, r24 +/* 802891FC 0028615C 7F C6 F3 78 */ mr r6, r30 +/* 80289200 00286160 B0 01 00 08 */ sth r0, 8(r1) +/* 80289204 00286164 38 A1 00 08 */ addi r5, r1, 8 +/* 80289208 00286168 4B DC 7F 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8028920C 0028616C BB 01 00 D0 */ lmw r24, 0xd0(r1) +/* 80289210 00286170 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80289214 00286174 7C 08 03 A6 */ mtlr r0 +/* 80289218 00286178 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8028921C 0028617C 4E 80 00 20 */ blr + +.global sub_80289220 +sub_80289220: +/* 80289220 00286180 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80289224 00286184 7C 08 02 A6 */ mflr r0 +/* 80289228 00286188 90 01 00 54 */ stw r0, 0x54(r1) +/* 8028922C 0028618C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80289230 00286190 7C BF 2B 78 */ mr r31, r5 +/* 80289234 00286194 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80289238 00286198 7C 9E 23 78 */ mr r30, r4 +/* 8028923C 0028619C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80289240 002861A0 7C 7D 1B 78 */ mr r29, r3 +/* 80289244 002861A4 A0 83 00 08 */ lhz r4, 8(r3) +/* 80289248 002861A8 A0 03 01 1C */ lhz r0, 0x11c(r3) +/* 8028924C 002861AC 7F C3 F3 78 */ mr r3, r30 +/* 80289250 002861B0 B0 81 00 30 */ sth r4, 0x30(r1) +/* 80289254 002861B4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80289258 002861B8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8028925C 002861BC 4B DC 33 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289260 002861C0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80289264 002861C4 7C 64 1B 78 */ mr r4, r3 +/* 80289268 002861C8 7F C3 F3 78 */ mr r3, r30 +/* 8028926C 002861CC 7F E6 FB 78 */ mr r6, r31 +/* 80289270 002861D0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80289274 002861D4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80289278 002861D8 4B DB AC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8028927C 002861DC A0 BD 00 08 */ lhz r5, 8(r29) +/* 80289280 002861E0 7F C3 F3 78 */ mr r3, r30 +/* 80289284 002861E4 A0 1D 00 FC */ lhz r0, 0xfc(r29) +/* 80289288 002861E8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8028928C 002861EC B0 A1 00 28 */ sth r5, 0x28(r1) +/* 80289290 002861F0 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80289294 002861F4 4B DC 32 E1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289298 002861F8 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 8028929C 002861FC 7C 64 1B 78 */ mr r4, r3 +/* 802892A0 00286200 7F C3 F3 78 */ mr r3, r30 +/* 802892A4 00286204 7F E6 FB 78 */ mr r6, r31 +/* 802892A8 00286208 B0 01 00 10 */ sth r0, 0x10(r1) +/* 802892AC 0028620C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802892B0 00286210 4B DB AC 21 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802892B4 00286214 A0 BD 00 08 */ lhz r5, 8(r29) +/* 802892B8 00286218 7F C3 F3 78 */ mr r3, r30 +/* 802892BC 0028621C A0 1D 01 0C */ lhz r0, 0x10c(r29) +/* 802892C0 00286220 38 81 00 24 */ addi r4, r1, 0x24 +/* 802892C4 00286224 B0 A1 00 20 */ sth r5, 0x20(r1) +/* 802892C8 00286228 B0 01 00 24 */ sth r0, 0x24(r1) +/* 802892CC 0028622C 4B DC 32 A9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802892D0 00286230 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 802892D4 00286234 7C 64 1B 78 */ mr r4, r3 +/* 802892D8 00286238 7F C3 F3 78 */ mr r3, r30 +/* 802892DC 0028623C 7F E6 FB 78 */ mr r6, r31 +/* 802892E0 00286240 B0 01 00 0C */ sth r0, 0xc(r1) +/* 802892E4 00286244 38 A1 00 0C */ addi r5, r1, 0xc +/* 802892E8 00286248 4B DB AB E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 802892EC 0028624C A0 BD 00 08 */ lhz r5, 8(r29) +/* 802892F0 00286250 7F C3 F3 78 */ mr r3, r30 +/* 802892F4 00286254 A0 1D 00 F4 */ lhz r0, 0xf4(r29) +/* 802892F8 00286258 38 81 00 1C */ addi r4, r1, 0x1c +/* 802892FC 0028625C B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80289300 00286260 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80289304 00286264 4B DC 32 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289308 00286268 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8028930C 0028626C 7C 64 1B 78 */ mr r4, r3 +/* 80289310 00286270 7F C3 F3 78 */ mr r3, r30 +/* 80289314 00286274 7F E6 FB 78 */ mr r6, r31 +/* 80289318 00286278 B0 01 00 08 */ sth r0, 8(r1) +/* 8028931C 0028627C 38 A1 00 08 */ addi r5, r1, 8 +/* 80289320 00286280 4B DB AB B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80289324 00286284 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80289328 00286288 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8028932C 0028628C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80289330 00286290 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80289334 00286294 7C 08 03 A6 */ mtlr r0 +/* 80289338 00286298 38 21 00 50 */ addi r1, r1, 0x50 +/* 8028933C 0028629C 4E 80 00 20 */ blr + +.global sub_80289340 +sub_80289340: +/* 80289340 002862A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80289344 002862A4 7C 08 02 A6 */ mflr r0 +/* 80289348 002862A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028934C 002862AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80289350 002862B0 7C 9F 23 78 */ mr r31, r4 +/* 80289354 002862B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80289358 002862B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028935C 002862BC 7C 7E 1B 78 */ mr r30, r3 +/* 80289360 002862C0 A0 03 01 1C */ lhz r0, 0x11c(r3) +/* 80289364 002862C4 7F E3 FB 78 */ mr r3, r31 +/* 80289368 002862C8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8028936C 002862CC 4B DC 2F 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289370 002862D0 A0 1E 00 FC */ lhz r0, 0xfc(r30) +/* 80289374 002862D4 7F E3 FB 78 */ mr r3, r31 +/* 80289378 002862D8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028937C 002862DC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80289380 002862E0 4B DC 2E ED */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289384 002862E4 A0 1E 01 0C */ lhz r0, 0x10c(r30) +/* 80289388 002862E8 7F E3 FB 78 */ mr r3, r31 +/* 8028938C 002862EC 38 81 00 0C */ addi r4, r1, 0xc +/* 80289390 002862F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80289394 002862F4 4B DC 2E D9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80289398 002862F8 A0 1E 00 F4 */ lhz r0, 0xf4(r30) +/* 8028939C 002862FC 7F E3 FB 78 */ mr r3, r31 +/* 802893A0 00286300 38 81 00 08 */ addi r4, r1, 8 +/* 802893A4 00286304 B0 01 00 08 */ sth r0, 8(r1) +/* 802893A8 00286308 4B DC 2E C5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 802893AC 0028630C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802893B0 00286310 B0 1E 00 F4 */ sth r0, 0xf4(r30) +/* 802893B4 00286314 A0 1E 00 F4 */ lhz r0, 0xf4(r30) +/* 802893B8 00286318 B0 1E 01 0C */ sth r0, 0x10c(r30) +/* 802893BC 0028631C A0 1E 01 0C */ lhz r0, 0x10c(r30) +/* 802893C0 00286320 B0 1E 00 FC */ sth r0, 0xfc(r30) +/* 802893C4 00286324 A0 1E 00 FC */ lhz r0, 0xfc(r30) +/* 802893C8 00286328 B0 1E 01 1C */ sth r0, 0x11c(r30) +/* 802893CC 0028632C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802893D0 00286330 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802893D4 00286334 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802893D8 00286338 7C 08 03 A6 */ mtlr r0 +/* 802893DC 0028633C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802893E0 00286340 4E 80 00 20 */ blr + +.global sub_802893e4 +sub_802893e4: +/* 802893E4 00286344 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802893E8 00286348 7C 08 02 A6 */ mflr r0 +/* 802893EC 0028634C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802893F0 00286350 BF 21 00 74 */ stmw r25, 0x74(r1) +/* 802893F4 00286354 7C 7D 1B 78 */ mr r29, r3 +/* 802893F8 00286358 7C 9E 23 78 */ mr r30, r4 +/* 802893FC 0028635C 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80289400 00286360 48 00 02 08 */ b lbl_80289608 +lbl_80289404: +/* 80289404 00286364 80 1F 00 00 */ lwz r0, 0(r31) +/* 80289408 00286368 2C 00 00 07 */ cmpwi r0, 7 +/* 8028940C 0028636C 40 82 01 F8 */ bne lbl_80289604 +/* 80289410 00286370 80 1F 00 04 */ lwz r0, 4(r31) +/* 80289414 00286374 2C 00 00 01 */ cmpwi r0, 1 +/* 80289418 00286378 40 82 01 EC */ bne lbl_80289604 +/* 8028941C 0028637C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80289420 00286380 7F C4 F3 78 */ mr r4, r30 +/* 80289424 00286384 38 61 00 14 */ addi r3, r1, 0x14 +/* 80289428 00286388 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028942C 0028638C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80289430 00286390 4B DB EA ED */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80289434 00286394 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80289438 00286398 7F C3 F3 78 */ mr r3, r30 +/* 8028943C 0028639C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80289440 002863A0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80289444 002863A4 4B DC 31 31 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80289448 002863A8 7C 60 1B 78 */ mr r0, r3 +/* 8028944C 002863AC 38 61 00 3C */ addi r3, r1, 0x3c +/* 80289450 002863B0 7C 19 03 78 */ mr r25, r0 +/* 80289454 002863B4 7F 24 CB 78 */ mr r4, r25 +/* 80289458 002863B8 4B E2 09 85 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" +/* 8028945C 002863BC 83 83 00 04 */ lwz r28, 4(r3) +/* 80289460 002863C0 7F 24 CB 78 */ mr r4, r25 +/* 80289464 002863C4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80289468 002863C8 4B E2 29 05 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 8028946C 002863CC 83 63 00 04 */ lwz r27, 4(r3) +/* 80289470 002863D0 7F 24 CB 78 */ mr r4, r25 +/* 80289474 002863D4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80289478 002863D8 4B E1 DA 71 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 8028947C 002863DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80289480 002863E0 83 43 00 04 */ lwz r26, 4(r3) +/* 80289484 002863E4 40 82 00 14 */ bne lbl_80289498 +/* 80289488 002863E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8028948C 002863EC 40 82 00 0C */ bne lbl_80289498 +/* 80289490 002863F0 28 1A 00 00 */ cmplwi r26, 0 +/* 80289494 002863F4 41 82 01 70 */ beq lbl_80289604 +lbl_80289498: +/* 80289498 002863F8 28 1C 00 00 */ cmplwi r28, 0 +/* 8028949C 002863FC 41 82 00 10 */ beq lbl_802894AC +/* 802894A0 00286400 88 1D 01 3C */ lbz r0, 0x13c(r29) +/* 802894A4 00286404 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802894A8 00286408 40 82 01 5C */ bne lbl_80289604 +lbl_802894AC: +/* 802894AC 0028640C 88 BE 0F 94 */ lbz r5, 0xf94(r30) +/* 802894B0 00286410 38 60 00 01 */ li r3, 1 +/* 802894B4 00286414 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 802894B8 00286418 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802894BC 0028641C 7F C4 F3 78 */ mr r4, r30 +/* 802894C0 00286420 54 B9 DF FE */ rlwinm r25, r5, 0x1b, 0x1f, 0x1f +/* 802894C4 00286424 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 802894C8 00286428 38 61 00 24 */ addi r3, r1, 0x24 +/* 802894CC 0028642C 38 BF 00 08 */ addi r5, r31, 8 +/* 802894D0 00286430 4B DB EE 19 */ bl GenerateObject__13CStateManagerF9TEditorId +/* 802894D4 00286434 A0 A1 00 28 */ lhz r5, 0x28(r1) +/* 802894D8 00286438 7F C3 F3 78 */ mr r3, r30 +/* 802894DC 0028643C 88 1E 0F 94 */ lbz r0, 0xf94(r30) +/* 802894E0 00286440 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a +/* 802894E4 00286444 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 802894E8 00286448 38 81 00 10 */ addi r4, r1, 0x10 +/* 802894EC 0028644C 98 1E 0F 94 */ stb r0, 0xf94(r30) +/* 802894F0 00286450 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 802894F4 00286454 4B DC 30 81 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802894F8 00286458 7C 79 1B 79 */ or. r25, r3, r3 +/* 802894FC 0028645C 41 82 01 08 */ beq lbl_80289604 +/* 80289500 00286460 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80289504 00286464 7F C3 F3 78 */ mr r3, r30 +/* 80289508 00286468 7F 24 CB 78 */ mr r4, r25 +/* 8028950C 0028646C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80289510 00286470 B0 01 00 08 */ sth r0, 8(r1) +/* 80289514 00286474 38 C0 00 01 */ li r6, 1 +/* 80289518 00286478 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8028951C 0028647C 4B DB A9 B5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80289520 00286480 28 1C 00 00 */ cmplwi r28, 0 +/* 80289524 00286484 41 82 00 48 */ beq lbl_8028956C +/* 80289528 00286488 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8028952C 0028648C 7F 23 CB 78 */ mr r3, r25 +/* 80289530 00286490 C0 1D 01 24 */ lfs f0, 0x124(r29) +/* 80289534 00286494 38 81 00 5C */ addi r4, r1, 0x5c +/* 80289538 00286498 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8028953C 0028649C C0 5D 01 28 */ lfs f2, 0x128(r29) +/* 80289540 002864A0 EC 81 00 2A */ fadds f4, f1, f0 +/* 80289544 002864A4 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80289548 002864A8 C0 1D 01 20 */ lfs f0, 0x120(r29) +/* 8028954C 002864AC EC 43 10 2A */ fadds f2, f3, f2 +/* 80289550 002864B0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80289554 002864B4 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 80289558 002864B8 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8028955C 002864BC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80289560 002864C0 4B DC 99 2D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80289564 002864C4 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80289568 002864C8 B0 1D 01 1C */ sth r0, 0x11c(r29) +lbl_8028956C: +/* 8028956C 002864CC 28 1B 00 00 */ cmplwi r27, 0 +/* 80289570 002864D0 41 82 00 48 */ beq lbl_802895B8 +/* 80289574 002864D4 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80289578 002864D8 7F 23 CB 78 */ mr r3, r25 +/* 8028957C 002864DC C0 1D 01 04 */ lfs f0, 0x104(r29) +/* 80289580 002864E0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80289584 002864E4 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80289588 002864E8 C0 5D 01 08 */ lfs f2, 0x108(r29) +/* 8028958C 002864EC EC 81 00 2A */ fadds f4, f1, f0 +/* 80289590 002864F0 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80289594 002864F4 C0 1D 01 00 */ lfs f0, 0x100(r29) +/* 80289598 002864F8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8028959C 002864FC EC 01 00 2A */ fadds f0, f1, f0 +/* 802895A0 00286500 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802895A4 00286504 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802895A8 00286508 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802895AC 0028650C 4B DC 98 E1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 802895B0 00286510 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 802895B4 00286514 B0 1D 00 FC */ sth r0, 0xfc(r29) +lbl_802895B8: +/* 802895B8 00286518 28 1A 00 00 */ cmplwi r26, 0 +/* 802895BC 0028651C 41 82 00 48 */ beq lbl_80289604 +/* 802895C0 00286520 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 802895C4 00286524 7F 23 CB 78 */ mr r3, r25 +/* 802895C8 00286528 C0 1D 01 14 */ lfs f0, 0x114(r29) +/* 802895CC 0028652C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802895D0 00286530 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 802895D4 00286534 C0 5D 01 18 */ lfs f2, 0x118(r29) +/* 802895D8 00286538 EC 81 00 2A */ fadds f4, f1, f0 +/* 802895DC 0028653C C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 802895E0 00286540 C0 1D 01 10 */ lfs f0, 0x110(r29) +/* 802895E4 00286544 EC 43 10 2A */ fadds f2, f3, f2 +/* 802895E8 00286548 EC 01 00 2A */ fadds f0, f1, f0 +/* 802895EC 0028654C D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802895F0 00286550 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 802895F4 00286554 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802895F8 00286558 4B DC 98 95 */ bl SetTranslation__6CActorFRC9CVector3f +/* 802895FC 0028655C A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80289600 00286560 B0 1D 01 0C */ sth r0, 0x10c(r29) +lbl_80289604: +/* 80289604 00286564 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80289608: +/* 80289608 00286568 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8028960C 0028656C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80289610 00286570 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80289614 00286574 7C 03 02 14 */ add r0, r3, r0 +/* 80289618 00286578 7C 1F 00 40 */ cmplw r31, r0 +/* 8028961C 0028657C 40 82 FD E8 */ bne lbl_80289404 +/* 80289620 00286580 BB 21 00 74 */ lmw r25, 0x74(r1) +/* 80289624 00286584 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80289628 00286588 7C 08 03 A6 */ mtlr r0 +/* 8028962C 0028658C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80289630 00286590 4E 80 00 20 */ blr + +.global Accept__15CScriptMazeNodeFR8IVisitor +Accept__15CScriptMazeNodeFR8IVisitor: +/* 80289634 00286594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80289638 00286598 7C 08 02 A6 */ mflr r0 +/* 8028963C 0028659C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80289640 002865A0 7C 60 1B 78 */ mr r0, r3 +/* 80289644 002865A4 7C 83 23 78 */ mr r3, r4 +/* 80289648 002865A8 81 84 00 00 */ lwz r12, 0(r4) +/* 8028964C 002865AC 7C 04 03 78 */ mr r4, r0 +/* 80289650 002865B0 81 8C 00 94 */ lwz r12, 0x94(r12) +/* 80289654 002865B4 7D 89 03 A6 */ mtctr r12 +/* 80289658 002865B8 4E 80 04 21 */ bctrl +/* 8028965C 002865BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80289660 002865C0 7C 08 03 A6 */ mtlr r0 +/* 80289664 002865C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80289668 002865C8 4E 80 00 20 */ blr + +.global "__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f" +"__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f": +/* 8028966C 002865CC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80289670 002865D0 7C 08 02 A6 */ mflr r0 +/* 80289674 002865D4 90 01 01 14 */ stw r0, 0x114(r1) +/* 80289678 002865D8 BE 81 00 E0 */ stmw r20, 0xe0(r1) +/* 8028967C 002865DC 7C 7F 1B 78 */ mr r31, r3 +/* 80289680 002865E0 83 61 01 18 */ lwz r27, 0x118(r1) +/* 80289684 002865E4 7C 94 23 78 */ mr r20, r4 +/* 80289688 002865E8 83 81 01 1C */ lwz r28, 0x11c(r1) +/* 8028968C 002865EC 7C B5 2B 78 */ mr r21, r5 +/* 80289690 002865F0 83 A1 01 20 */ lwz r29, 0x120(r1) +/* 80289694 002865F4 7C D6 33 78 */ mr r22, r6 +/* 80289698 002865F8 83 C1 01 24 */ lwz r30, 0x124(r1) +/* 8028969C 002865FC 7C F7 3B 78 */ mr r23, r7 +/* 802896A0 00286600 7D 18 43 78 */ mr r24, r8 +/* 802896A4 00286604 7D 39 4B 78 */ mr r25, r9 +/* 802896A8 00286608 7D 5A 53 78 */ mr r26, r10 +/* 802896AC 0028660C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802896B0 00286610 4B DB 10 F5 */ bl CModelDataNull__10CModelDataFv +/* 802896B4 00286614 38 61 00 20 */ addi r3, r1, 0x20 +/* 802896B8 00286618 4B D9 17 81 */ bl None__16CActorParametersFv +/* 802896BC 0028661C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802896C0 00286620 38 80 00 00 */ li r4, 0 +/* 802896C4 00286624 A1 94 00 00 */ lhz r12, 0(r20) +/* 802896C8 00286628 39 61 00 20 */ addi r11, r1, 0x20 +/* 802896CC 0028662C B0 01 00 10 */ sth r0, 0x10(r1) +/* 802896D0 00286630 38 01 00 10 */ addi r0, r1, 0x10 +/* 802896D4 00286634 7F E3 FB 78 */ mr r3, r31 +/* 802896D8 00286638 7F 05 C3 78 */ mr r5, r24 +/* 802896DC 0028663C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802896E0 00286640 7E A6 AB 78 */ mr r6, r21 +/* 802896E4 00286644 7E C7 B3 78 */ mr r7, r22 +/* 802896E8 00286648 7E E8 BB 78 */ mr r8, r23 +/* 802896EC 0028664C 90 81 00 18 */ stw r4, 0x18(r1) +/* 802896F0 00286650 38 81 00 14 */ addi r4, r1, 0x14 +/* 802896F4 00286654 39 21 00 88 */ addi r9, r1, 0x88 +/* 802896F8 00286658 39 41 00 18 */ addi r10, r1, 0x18 +/* 802896FC 0028665C B1 81 00 14 */ sth r12, 0x14(r1) +/* 80289700 00286660 91 61 00 08 */ stw r11, 8(r1) +/* 80289704 00286664 90 01 00 0C */ stw r0, 0xc(r1) +/* 80289708 00286668 4B DC C1 19 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8028970C 0028666C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80289710 00286670 38 80 FF FF */ li r4, -1 +/* 80289714 00286674 4B E7 CE F5 */ bl __dt__16CActorParametersFv +/* 80289718 00286678 38 61 00 88 */ addi r3, r1, 0x88 +/* 8028971C 0028667C 38 80 FF FF */ li r4, -1 +/* 80289720 00286680 4B E8 D3 2D */ bl __dt__10CModelDataFv +/* 80289724 00286684 3C 60 80 3F */ lis r3, lbl_803EB658@ha +/* 80289728 00286688 C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) +/* 8028972C 0028668C 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l +/* 80289730 00286690 38 A0 00 00 */ li r5, 0 +/* 80289734 00286694 90 1F 00 00 */ stw r0, 0(r31) +/* 80289738 00286698 38 80 00 01 */ li r4, 1 +/* 8028973C 0028669C 7F E3 FB 78 */ mr r3, r31 +/* 80289740 002866A0 93 3F 00 E8 */ stw r25, 0xe8(r31) +/* 80289744 002866A4 93 5F 00 EC */ stw r26, 0xec(r31) +/* 80289748 002866A8 93 7F 00 F0 */ stw r27, 0xf0(r31) +/* 8028974C 002866AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80289750 002866B0 B0 1F 00 F4 */ sth r0, 0xf4(r31) +/* 80289754 002866B4 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 80289758 002866B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028975C 002866BC B0 1F 00 FC */ sth r0, 0xfc(r31) +/* 80289760 002866C0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80289764 002866C4 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 80289768 002866C8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8028976C 002866CC D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 80289770 002866D0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80289774 002866D4 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 80289778 002866D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028977C 002866DC B0 1F 01 0C */ sth r0, 0x10c(r31) +/* 80289780 002866E0 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80289784 002866E4 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 80289788 002866E8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8028978C 002866EC D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 80289790 002866F0 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80289794 002866F4 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 80289798 002866F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8028979C 002866FC B0 1F 01 1C */ sth r0, 0x11c(r31) +/* 802897A0 00286700 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802897A4 00286704 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 802897A8 00286708 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802897AC 0028670C D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 802897B0 00286710 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802897B4 00286714 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 802897B8 00286718 90 BF 01 30 */ stw r5, 0x130(r31) +/* 802897BC 0028671C 90 BF 01 34 */ stw r5, 0x134(r31) +/* 802897C0 00286720 90 BF 01 38 */ stw r5, 0x138(r31) +/* 802897C4 00286724 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897C8 00286728 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802897CC 0028672C 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897D0 00286730 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897D4 00286734 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802897D8 00286738 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897DC 0028673C 88 1F 01 3C */ lbz r0, 0x13c(r31) +/* 802897E0 00286740 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802897E4 00286744 98 1F 01 3C */ stb r0, 0x13c(r31) +/* 802897E8 00286748 BA 81 00 E0 */ lmw r20, 0xe0(r1) +/* 802897EC 0028674C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802897F0 00286750 7C 08 03 A6 */ mtlr r0 +/* 802897F4 00286754 38 21 01 10 */ addi r1, r1, 0x110 +/* 802897F8 00286758 4E 80 00 20 */ blr + +.global sub_802897fc +sub_802897fc: +/* 802897FC 0028675C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80289800 00286760 38 A0 00 00 */ li r5, 0 +/* 80289804 00286764 54 A0 10 3A */ slwi r0, r5, 2 +/* 80289808 00286768 39 00 00 01 */ li r8, 1 +/* 8028980C 0028676C 80 83 00 88 */ lwz r4, 0x88(r3) +/* 80289810 00286770 81 23 00 90 */ lwz r9, 0x90(r3) +/* 80289814 00286774 1C A4 00 09 */ mulli r5, r4, 9 +/* 80289818 00286778 80 C3 00 84 */ lwz r6, 0x84(r3) +/* 8028981C 0028677C 38 81 00 08 */ addi r4, r1, 8 +/* 80289820 00286780 81 43 00 8C */ lwz r10, 0x8c(r3) +/* 80289824 00286784 7C C6 2A 14 */ add r6, r6, r5 +/* 80289828 00286788 54 C5 08 3C */ slwi r5, r6, 1 +/* 8028982C 0028678C 7C C4 01 2E */ stwx r6, r4, r0 +/* 80289830 00286790 38 E5 00 05 */ addi r7, r5, 5 +/* 80289834 00286794 7C 03 38 AE */ lbzx r0, r3, r7 +/* 80289838 00286798 1D 29 00 09 */ mulli r9, r9, 9 +/* 8028983C 0028679C 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a +/* 80289840 002867A0 7C 03 39 AE */ stbx r0, r3, r7 +/* 80289844 002867A4 38 A0 00 01 */ li r5, 1 +/* 80289848 002867A8 7C EA 4A 14 */ add r7, r10, r9 +/* 8028984C 002867AC 48 00 01 18 */ b lbl_80289964 +lbl_80289850: +/* 80289850 002867B0 54 C8 08 3C */ slwi r8, r6, 1 +/* 80289854 002867B4 38 08 00 04 */ addi r0, r8, 4 +/* 80289858 002867B8 7D 03 00 AE */ lbzx r8, r3, r0 +/* 8028985C 002867BC 55 08 CF FF */ rlwinm. r8, r8, 0x19, 0x1f, 0x1f +/* 80289860 002867C0 41 82 00 2C */ beq lbl_8028988C +/* 80289864 002867C4 39 46 FF F7 */ addi r10, r6, -9 +/* 80289868 002867C8 55 48 08 3C */ slwi r8, r10, 1 +/* 8028986C 002867CC 39 08 00 05 */ addi r8, r8, 5 +/* 80289870 002867D0 7D 03 40 AE */ lbzx r8, r3, r8 +/* 80289874 002867D4 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 80289878 002867D8 40 82 00 14 */ bne lbl_8028988C +/* 8028987C 002867DC 54 A9 10 3A */ slwi r9, r5, 2 +/* 80289880 002867E0 39 01 00 08 */ addi r8, r1, 8 +/* 80289884 002867E4 7D 48 49 2E */ stwx r10, r8, r9 +/* 80289888 002867E8 38 A5 00 01 */ addi r5, r5, 1 +lbl_8028988C: +/* 8028988C 002867EC 7D 03 00 AE */ lbzx r8, r3, r0 +/* 80289890 002867F0 55 08 D7 FF */ rlwinm. r8, r8, 0x1a, 0x1f, 0x1f +/* 80289894 002867F4 41 82 00 2C */ beq lbl_802898C0 +/* 80289898 002867F8 39 46 00 01 */ addi r10, r6, 1 +/* 8028989C 002867FC 55 48 08 3C */ slwi r8, r10, 1 +/* 802898A0 00286800 39 08 00 05 */ addi r8, r8, 5 +/* 802898A4 00286804 7D 03 40 AE */ lbzx r8, r3, r8 +/* 802898A8 00286808 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898AC 0028680C 40 82 00 14 */ bne lbl_802898C0 +/* 802898B0 00286810 54 A9 10 3A */ slwi r9, r5, 2 +/* 802898B4 00286814 39 01 00 08 */ addi r8, r1, 8 +/* 802898B8 00286818 7D 48 49 2E */ stwx r10, r8, r9 +/* 802898BC 0028681C 38 A5 00 01 */ addi r5, r5, 1 +lbl_802898C0: +/* 802898C0 00286820 7D 03 00 AE */ lbzx r8, r3, r0 +/* 802898C4 00286824 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898C8 00286828 41 82 00 2C */ beq lbl_802898F4 +/* 802898CC 0028682C 39 46 00 09 */ addi r10, r6, 9 +/* 802898D0 00286830 55 48 08 3C */ slwi r8, r10, 1 +/* 802898D4 00286834 39 08 00 05 */ addi r8, r8, 5 +/* 802898D8 00286838 7D 03 40 AE */ lbzx r8, r3, r8 +/* 802898DC 0028683C 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f +/* 802898E0 00286840 40 82 00 14 */ bne lbl_802898F4 +/* 802898E4 00286844 54 A9 10 3A */ slwi r9, r5, 2 +/* 802898E8 00286848 39 01 00 08 */ addi r8, r1, 8 +/* 802898EC 0028684C 7D 48 49 2E */ stwx r10, r8, r9 +/* 802898F0 00286850 38 A5 00 01 */ addi r5, r5, 1 +lbl_802898F4: +/* 802898F4 00286854 7C 03 00 AE */ lbzx r0, r3, r0 +/* 802898F8 00286858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802898FC 0028685C 41 82 00 2C */ beq lbl_80289928 +/* 80289900 00286860 39 26 FF FF */ addi r9, r6, -1 +/* 80289904 00286864 55 28 08 3C */ slwi r8, r9, 1 +/* 80289908 00286868 38 08 00 05 */ addi r0, r8, 5 +/* 8028990C 0028686C 7C 03 00 AE */ lbzx r0, r3, r0 +/* 80289910 00286870 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80289914 00286874 40 82 00 14 */ bne lbl_80289928 +/* 80289918 00286878 54 A0 10 3A */ slwi r0, r5, 2 +/* 8028991C 0028687C 39 01 00 08 */ addi r8, r1, 8 +/* 80289920 00286880 7D 28 01 2E */ stwx r9, r8, r0 +/* 80289924 00286884 38 A5 00 01 */ addi r5, r5, 1 +lbl_80289928: +/* 80289928 00286888 54 A8 10 3A */ slwi r8, r5, 2 +/* 8028992C 0028688C 38 08 FF FC */ addi r0, r8, -4 +/* 80289930 00286890 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80289934 00286894 7C 06 00 00 */ cmpw r6, r0 +/* 80289938 00286898 40 82 00 08 */ bne lbl_80289940 +/* 8028993C 0028689C 38 A5 FF FF */ addi r5, r5, -1 +lbl_80289940: +/* 80289940 002868A0 54 A6 10 3A */ slwi r6, r5, 2 +/* 80289944 002868A4 39 20 00 01 */ li r9, 1 +/* 80289948 002868A8 38 06 FF FC */ addi r0, r6, -4 +/* 8028994C 002868AC 7C C4 00 2E */ lwzx r6, r4, r0 +/* 80289950 002868B0 54 C8 08 3C */ slwi r8, r6, 1 +/* 80289954 002868B4 39 08 00 05 */ addi r8, r8, 5 +/* 80289958 002868B8 7C 03 40 AE */ lbzx r0, r3, r8 +/* 8028995C 002868BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a +/* 80289960 002868C0 7C 03 41 AE */ stbx r0, r3, r8 +lbl_80289964: +/* 80289964 002868C4 7C 06 38 00 */ cmpw r6, r7 +/* 80289968 002868C8 40 82 FE E8 */ bne lbl_80289850 +/* 8028996C 002868CC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80289970 002868D0 38 E1 00 08 */ addi r7, r1, 8 +/* 80289974 002868D4 7C E7 02 14 */ add r7, r7, r0 +/* 80289978 002868D8 38 00 00 01 */ li r0, 1 +/* 8028997C 002868DC 48 00 00 24 */ b lbl_802899A0 +lbl_80289980: +/* 80289980 002868E0 80 87 00 00 */ lwz r4, 0(r7) +/* 80289984 002868E4 54 84 08 3C */ slwi r4, r4, 1 +/* 80289988 002868E8 39 04 00 05 */ addi r8, r4, 5 +/* 8028998C 002868EC 7C C3 40 AE */ lbzx r6, r3, r8 +/* 80289990 002868F0 54 C4 DF FF */ rlwinm. r4, r6, 0x1b, 0x1f, 0x1f +/* 80289994 002868F4 41 82 00 0C */ beq lbl_802899A0 +/* 80289998 002868F8 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 +/* 8028999C 002868FC 7C C3 41 AE */ stbx r6, r3, r8 +lbl_802899A0: +/* 802899A0 00286900 2C 05 00 00 */ cmpwi r5, 0 +/* 802899A4 00286904 38 A5 FF FF */ addi r5, r5, -1 +/* 802899A8 00286908 38 E7 FF FC */ addi r7, r7, -4 +/* 802899AC 0028690C 40 82 FF D4 */ bne lbl_80289980 +/* 802899B0 00286910 88 03 00 94 */ lbz r0, 0x94(r3) +/* 802899B4 00286914 38 80 00 01 */ li r4, 1 +/* 802899B8 00286918 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802899BC 0028691C 98 03 00 94 */ stb r0, 0x94(r3) +/* 802899C0 00286920 38 21 01 10 */ addi r1, r1, 0x110 +/* 802899C4 00286924 4E 80 00 20 */ blr + +.global sub_802899c8 +sub_802899c8: +/* 802899C8 00286928 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802899CC 0028692C 7C 08 02 A6 */ mflr r0 +/* 802899D0 00286930 90 01 00 24 */ stw r0, 0x24(r1) +/* 802899D4 00286934 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802899D8 00286938 7C 7B 1B 78 */ mr r27, r3 +/* 802899DC 0028693C 88 03 00 94 */ lbz r0, 0x94(r3) +/* 802899E0 00286940 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802899E4 00286944 40 82 00 08 */ bne lbl_802899EC +/* 802899E8 00286948 4B FF FE 15 */ bl sub_802897fc +lbl_802899EC: +/* 802899EC 0028694C 7F 63 DB 78 */ mr r3, r27 +/* 802899F0 00286950 48 08 8B 31 */ bl Next__9CRandom16Fv +/* 802899F4 00286954 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 802899F8 00286958 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 802899FC 0028695C 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A00 00286960 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A04 00286964 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A08 00286968 7C 00 22 14 */ add r0, r0, r4 +/* 80289A0C 0028696C 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A10 00286970 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A14 00286974 7F 63 DB 78 */ mr r3, r27 +/* 80289A18 00286978 3B E4 00 09 */ addi r31, r4, 9 +/* 80289A1C 0028697C 48 08 8B 05 */ bl Next__9CRandom16Fv +/* 80289A20 00286980 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A24 00286984 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A28 00286988 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A2C 0028698C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A30 00286990 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A34 00286994 7C 00 22 14 */ add r0, r0, r4 +/* 80289A38 00286998 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A3C 0028699C 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A40 002869A0 7F 63 DB 78 */ mr r3, r27 +/* 80289A44 002869A4 3B C4 00 15 */ addi r30, r4, 0x15 +/* 80289A48 002869A8 48 08 8A D9 */ bl Next__9CRandom16Fv +/* 80289A4C 002869AC 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A50 002869B0 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A54 002869B4 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A58 002869B8 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A5C 002869BC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A60 002869C0 7C 00 22 14 */ add r0, r0, r4 +/* 80289A64 002869C4 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A68 002869C8 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A6C 002869CC 7F 63 DB 78 */ mr r3, r27 +/* 80289A70 002869D0 3B A4 00 21 */ addi r29, r4, 0x21 +/* 80289A74 002869D4 48 08 8A AD */ bl Next__9CRandom16Fv +/* 80289A78 002869D8 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289A7C 002869DC 38 04 66 67 */ addi r0, r4, 0x66666667@l +/* 80289A80 002869E0 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80289A84 002869E4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80289A88 002869E8 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80289A8C 002869EC 7C 00 22 14 */ add r0, r0, r4 +/* 80289A90 002869F0 1C 00 00 05 */ mulli r0, r0, 5 +/* 80289A94 002869F4 7C 80 18 50 */ subf r4, r0, r3 +/* 80289A98 002869F8 7F 63 DB 78 */ mr r3, r27 +/* 80289A9C 002869FC 3B 84 00 0D */ addi r28, r4, 0xd +/* 80289AA0 00286A00 48 08 8A 81 */ bl Next__9CRandom16Fv +/* 80289AA4 00286A04 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 80289AA8 00286A08 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 80289AAC 00286A0C 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 80289AB0 00286A10 80 BB 00 88 */ lwz r5, 0x88(r27) +/* 80289AB4 00286A14 7C 84 18 96 */ mulhw r4, r4, r3 +/* 80289AB8 00286A18 7C 08 03 78 */ mr r8, r0 +/* 80289ABC 00286A1C 7C A9 2B 78 */ mr r9, r5 +/* 80289AC0 00286A20 38 C0 FF FF */ li r6, -1 +/* 80289AC4 00286A24 38 E0 00 00 */ li r7, 0 +/* 80289AC8 00286A28 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80289ACC 00286A2C 54 8A 0F FE */ srwi r10, r4, 0x1f +/* 80289AD0 00286A30 7C 84 52 14 */ add r4, r4, r10 +/* 80289AD4 00286A34 1C 84 00 05 */ mulli r4, r4, 5 +/* 80289AD8 00286A38 7C 64 18 50 */ subf r3, r4, r3 +/* 80289ADC 00286A3C 38 83 00 1D */ addi r4, r3, 0x1d +/* 80289AE0 00286A40 48 00 03 EC */ b lbl_80289ECC +lbl_80289AE4: +/* 80289AE4 00286A44 7C 07 F8 00 */ cmpw r7, r31 +/* 80289AE8 00286A48 41 82 00 14 */ beq lbl_80289AFC +/* 80289AEC 00286A4C 7C 07 F0 00 */ cmpw r7, r30 +/* 80289AF0 00286A50 41 82 00 0C */ beq lbl_80289AFC +/* 80289AF4 00286A54 7C 07 E8 00 */ cmpw r7, r29 +/* 80289AF8 00286A58 40 82 01 28 */ bne lbl_80289C20 +lbl_80289AFC: +/* 80289AFC 00286A5C 2C 06 00 02 */ cmpwi r6, 2 +/* 80289B00 00286A60 41 82 00 A4 */ beq lbl_80289BA4 +/* 80289B04 00286A64 40 80 00 14 */ bge lbl_80289B18 +/* 80289B08 00286A68 2C 06 00 00 */ cmpwi r6, 0 +/* 80289B0C 00286A6C 41 82 00 18 */ beq lbl_80289B24 +/* 80289B10 00286A70 40 80 00 54 */ bge lbl_80289B64 +/* 80289B14 00286A74 48 00 01 0C */ b lbl_80289C20 +lbl_80289B18: +/* 80289B18 00286A78 2C 06 00 04 */ cmpwi r6, 4 +/* 80289B1C 00286A7C 40 80 01 04 */ bge lbl_80289C20 +/* 80289B20 00286A80 48 00 00 C4 */ b lbl_80289BE4 +lbl_80289B24: +/* 80289B24 00286A84 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289B28 00286A88 39 60 00 01 */ li r11, 1 +/* 80289B2C 00286A8C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289B30 00286A90 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289B34 00286A94 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289B38 00286A98 39 4A 00 04 */ addi r10, r10, 4 +/* 80289B3C 00286A9C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289B40 00286AA0 51 65 0F BC */ rlwimi r5, r11, 1, 0x1e, 0x1e +/* 80289B44 00286AA4 7C 00 1A 14 */ add r0, r0, r3 +/* 80289B48 00286AA8 54 03 08 3C */ slwi r3, r0, 1 +/* 80289B4C 00286AAC 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289B50 00286AB0 38 63 00 04 */ addi r3, r3, 4 +/* 80289B54 00286AB4 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289B58 00286AB8 51 60 1F 38 */ rlwimi r0, r11, 3, 0x1c, 0x1c +/* 80289B5C 00286ABC 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289B60 00286AC0 48 00 00 C0 */ b lbl_80289C20 +lbl_80289B64: +/* 80289B64 00286AC4 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289B68 00286AC8 39 60 00 01 */ li r11, 1 +/* 80289B6C 00286ACC 7C 68 1A 14 */ add r3, r8, r3 +/* 80289B70 00286AD0 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289B74 00286AD4 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289B78 00286AD8 39 4A 00 04 */ addi r10, r10, 4 +/* 80289B7C 00286ADC 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289B80 00286AE0 51 65 07 FE */ rlwimi r5, r11, 0, 0x1f, 0x1f +/* 80289B84 00286AE4 7C 00 1A 14 */ add r0, r0, r3 +/* 80289B88 00286AE8 54 03 08 3C */ slwi r3, r0, 1 +/* 80289B8C 00286AEC 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289B90 00286AF0 38 63 00 04 */ addi r3, r3, 4 +/* 80289B94 00286AF4 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289B98 00286AF8 51 60 17 7A */ rlwimi r0, r11, 2, 0x1d, 0x1d +/* 80289B9C 00286AFC 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289BA0 00286B00 48 00 00 80 */ b lbl_80289C20 +lbl_80289BA4: +/* 80289BA4 00286B04 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289BA8 00286B08 39 60 00 01 */ li r11, 1 +/* 80289BAC 00286B0C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289BB0 00286B10 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289BB4 00286B14 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289BB8 00286B18 39 4A 00 04 */ addi r10, r10, 4 +/* 80289BBC 00286B1C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289BC0 00286B20 51 65 1F 38 */ rlwimi r5, r11, 3, 0x1c, 0x1c +/* 80289BC4 00286B24 7C 00 1A 14 */ add r0, r0, r3 +/* 80289BC8 00286B28 54 03 08 3C */ slwi r3, r0, 1 +/* 80289BCC 00286B2C 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289BD0 00286B30 38 63 00 04 */ addi r3, r3, 4 +/* 80289BD4 00286B34 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289BD8 00286B38 51 60 0F BC */ rlwimi r0, r11, 1, 0x1e, 0x1e +/* 80289BDC 00286B3C 7C 1B 19 AE */ stbx r0, r27, r3 +/* 80289BE0 00286B40 48 00 00 40 */ b lbl_80289C20 +lbl_80289BE4: +/* 80289BE4 00286B44 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289BE8 00286B48 39 60 00 01 */ li r11, 1 +/* 80289BEC 00286B4C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289BF0 00286B50 54 6A 08 3C */ slwi r10, r3, 1 +/* 80289BF4 00286B54 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289BF8 00286B58 39 4A 00 04 */ addi r10, r10, 4 +/* 80289BFC 00286B5C 7C BB 50 AE */ lbzx r5, r27, r10 +/* 80289C00 00286B60 51 65 17 7A */ rlwimi r5, r11, 2, 0x1d, 0x1d +/* 80289C04 00286B64 7C 00 1A 14 */ add r0, r0, r3 +/* 80289C08 00286B68 54 03 08 3C */ slwi r3, r0, 1 +/* 80289C0C 00286B6C 7C BB 51 AE */ stbx r5, r27, r10 +/* 80289C10 00286B70 38 63 00 04 */ addi r3, r3, 4 +/* 80289C14 00286B74 7C 1B 18 AE */ lbzx r0, r27, r3 +/* 80289C18 00286B78 51 60 07 FE */ rlwimi r0, r11, 0, 0x1f, 0x1f +/* 80289C1C 00286B7C 7C 1B 19 AE */ stbx r0, r27, r3 +lbl_80289C20: +/* 80289C20 00286B80 2C 09 00 00 */ cmpwi r9, 0 +/* 80289C24 00286B84 7D 00 43 78 */ mr r0, r8 +/* 80289C28 00286B88 7D 25 4B 78 */ mr r5, r9 +/* 80289C2C 00286B8C 40 81 00 54 */ ble lbl_80289C80 +/* 80289C30 00286B90 2C 06 00 02 */ cmpwi r6, 2 +/* 80289C34 00286B94 41 82 00 4C */ beq lbl_80289C80 +/* 80289C38 00286B98 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289C3C 00286B9C 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C40 00286BA0 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C44 00286BA4 38 63 00 04 */ addi r3, r3, 4 +/* 80289C48 00286BA8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289C4C 00286BAC 54 63 CF FF */ rlwinm. r3, r3, 0x19, 0x1f, 0x1f +/* 80289C50 00286BB0 41 82 00 30 */ beq lbl_80289C80 +/* 80289C54 00286BB4 38 69 FF FF */ addi r3, r9, -1 +/* 80289C58 00286BB8 1C 63 00 09 */ mulli r3, r3, 9 +/* 80289C5C 00286BBC 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C60 00286BC0 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C64 00286BC4 38 63 00 05 */ addi r3, r3, 5 +/* 80289C68 00286BC8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289C6C 00286BCC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289C70 00286BD0 41 82 00 10 */ beq lbl_80289C80 +/* 80289C74 00286BD4 38 C0 00 00 */ li r6, 0 +/* 80289C78 00286BD8 39 29 FF FF */ addi r9, r9, -1 +/* 80289C7C 00286BDC 48 00 01 00 */ b lbl_80289D7C +lbl_80289C80: +/* 80289C80 00286BE0 2C 09 00 06 */ cmpwi r9, 6 +/* 80289C84 00286BE4 40 80 00 54 */ bge lbl_80289CD8 +/* 80289C88 00286BE8 2C 06 00 00 */ cmpwi r6, 0 +/* 80289C8C 00286BEC 41 82 00 4C */ beq lbl_80289CD8 +/* 80289C90 00286BF0 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289C94 00286BF4 7C 68 1A 14 */ add r3, r8, r3 +/* 80289C98 00286BF8 54 63 08 3C */ slwi r3, r3, 1 +/* 80289C9C 00286BFC 38 63 00 04 */ addi r3, r3, 4 +/* 80289CA0 00286C00 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CA4 00286C04 54 63 DF FF */ rlwinm. r3, r3, 0x1b, 0x1f, 0x1f +/* 80289CA8 00286C08 41 82 00 30 */ beq lbl_80289CD8 +/* 80289CAC 00286C0C 38 69 00 01 */ addi r3, r9, 1 +/* 80289CB0 00286C10 1C 63 00 09 */ mulli r3, r3, 9 +/* 80289CB4 00286C14 7C 68 1A 14 */ add r3, r8, r3 +/* 80289CB8 00286C18 54 63 08 3C */ slwi r3, r3, 1 +/* 80289CBC 00286C1C 38 63 00 05 */ addi r3, r3, 5 +/* 80289CC0 00286C20 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CC4 00286C24 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289CC8 00286C28 41 82 00 10 */ beq lbl_80289CD8 +/* 80289CCC 00286C2C 38 C0 00 02 */ li r6, 2 +/* 80289CD0 00286C30 39 29 00 01 */ addi r9, r9, 1 +/* 80289CD4 00286C34 48 00 00 A8 */ b lbl_80289D7C +lbl_80289CD8: +/* 80289CD8 00286C38 2C 08 00 00 */ cmpwi r8, 0 +/* 80289CDC 00286C3C 40 81 00 4C */ ble lbl_80289D28 +/* 80289CE0 00286C40 2C 06 00 01 */ cmpwi r6, 1 +/* 80289CE4 00286C44 41 82 00 44 */ beq lbl_80289D28 +/* 80289CE8 00286C48 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289CEC 00286C4C 7D 48 1A 14 */ add r10, r8, r3 +/* 80289CF0 00286C50 55 43 08 3C */ slwi r3, r10, 1 +/* 80289CF4 00286C54 38 63 00 04 */ addi r3, r3, 4 +/* 80289CF8 00286C58 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289CFC 00286C5C 54 63 E7 FF */ rlwinm. r3, r3, 0x1c, 0x1f, 0x1f +/* 80289D00 00286C60 41 82 00 28 */ beq lbl_80289D28 +/* 80289D04 00286C64 38 6A FF FF */ addi r3, r10, -1 +/* 80289D08 00286C68 54 63 08 3C */ slwi r3, r3, 1 +/* 80289D0C 00286C6C 38 63 00 05 */ addi r3, r3, 5 +/* 80289D10 00286C70 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D14 00286C74 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D18 00286C78 41 82 00 10 */ beq lbl_80289D28 +/* 80289D1C 00286C7C 38 C0 00 03 */ li r6, 3 +/* 80289D20 00286C80 39 08 FF FF */ addi r8, r8, -1 +/* 80289D24 00286C84 48 00 00 58 */ b lbl_80289D7C +lbl_80289D28: +/* 80289D28 00286C88 2C 08 00 08 */ cmpwi r8, 8 +/* 80289D2C 00286C8C 40 80 01 B8 */ bge lbl_80289EE4 +/* 80289D30 00286C90 2C 06 00 03 */ cmpwi r6, 3 +/* 80289D34 00286C94 41 82 01 B0 */ beq lbl_80289EE4 +/* 80289D38 00286C98 1C 69 00 09 */ mulli r3, r9, 9 +/* 80289D3C 00286C9C 7C C8 1A 14 */ add r6, r8, r3 +/* 80289D40 00286CA0 54 C3 08 3C */ slwi r3, r6, 1 +/* 80289D44 00286CA4 38 63 00 04 */ addi r3, r3, 4 +/* 80289D48 00286CA8 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D4C 00286CAC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D50 00286CB0 41 82 01 94 */ beq lbl_80289EE4 +/* 80289D54 00286CB4 38 66 00 01 */ addi r3, r6, 1 +/* 80289D58 00286CB8 54 63 08 3C */ slwi r3, r3, 1 +/* 80289D5C 00286CBC 38 63 00 05 */ addi r3, r3, 5 +/* 80289D60 00286CC0 7C 7B 18 AE */ lbzx r3, r27, r3 +/* 80289D64 00286CC4 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f +/* 80289D68 00286CC8 41 82 01 7C */ beq lbl_80289EE4 +/* 80289D6C 00286CCC 38 C0 00 01 */ li r6, 1 +/* 80289D70 00286CD0 39 08 00 01 */ addi r8, r8, 1 +/* 80289D74 00286CD4 48 00 00 08 */ b lbl_80289D7C +/* 80289D78 00286CD8 48 00 01 6C */ b lbl_80289EE4 +lbl_80289D7C: +/* 80289D7C 00286CDC 7C 07 E0 00 */ cmpw r7, r28 +/* 80289D80 00286CE0 41 82 00 0C */ beq lbl_80289D8C +/* 80289D84 00286CE4 7C 07 20 00 */ cmpw r7, r4 +/* 80289D88 00286CE8 40 82 01 40 */ bne lbl_80289EC8 +lbl_80289D8C: +/* 80289D8C 00286CEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80289D90 00286CF0 41 82 00 1C */ beq lbl_80289DAC +/* 80289D94 00286CF4 2C 05 00 00 */ cmpwi r5, 0 +/* 80289D98 00286CF8 41 82 00 14 */ beq lbl_80289DAC +/* 80289D9C 00286CFC 2C 00 00 08 */ cmpwi r0, 8 +/* 80289DA0 00286D00 41 82 00 0C */ beq lbl_80289DAC +/* 80289DA4 00286D04 2C 05 00 06 */ cmpwi r5, 6 +/* 80289DA8 00286D08 40 82 00 1C */ bne lbl_80289DC4 +lbl_80289DAC: +/* 80289DAC 00286D0C 7C 07 E0 00 */ cmpw r7, r28 +/* 80289DB0 00286D10 40 82 00 0C */ bne lbl_80289DBC +/* 80289DB4 00286D14 3B 9C 00 01 */ addi r28, r28, 1 +/* 80289DB8 00286D18 48 00 01 10 */ b lbl_80289EC8 +lbl_80289DBC: +/* 80289DBC 00286D1C 38 84 00 01 */ addi r4, r4, 1 +/* 80289DC0 00286D20 48 00 01 08 */ b lbl_80289EC8 +lbl_80289DC4: +/* 80289DC4 00286D24 1C 65 00 09 */ mulli r3, r5, 9 +/* 80289DC8 00286D28 39 60 00 01 */ li r11, 1 +/* 80289DCC 00286D2C 2C 06 00 02 */ cmpwi r6, 2 +/* 80289DD0 00286D30 7C 60 1A 14 */ add r3, r0, r3 +/* 80289DD4 00286D34 54 63 08 3C */ slwi r3, r3, 1 +/* 80289DD8 00286D38 7C 7B 1A 14 */ add r3, r27, r3 +/* 80289DDC 00286D3C 89 43 00 05 */ lbz r10, 5(r3) +/* 80289DE0 00286D40 51 6A 3E 30 */ rlwimi r10, r11, 7, 0x18, 0x18 +/* 80289DE4 00286D44 99 43 00 05 */ stb r10, 5(r3) +/* 80289DE8 00286D48 41 82 00 84 */ beq lbl_80289E6C +/* 80289DEC 00286D4C 40 80 00 14 */ bge lbl_80289E00 +/* 80289DF0 00286D50 2C 06 00 00 */ cmpwi r6, 0 +/* 80289DF4 00286D54 41 82 00 18 */ beq lbl_80289E0C +/* 80289DF8 00286D58 40 80 00 44 */ bge lbl_80289E3C +/* 80289DFC 00286D5C 48 00 00 CC */ b lbl_80289EC8 +lbl_80289E00: +/* 80289E00 00286D60 2C 06 00 04 */ cmpwi r6, 4 +/* 80289E04 00286D64 40 80 00 C4 */ bge lbl_80289EC8 +/* 80289E08 00286D68 48 00 00 94 */ b lbl_80289E9C +lbl_80289E0C: +/* 80289E0C 00286D6C 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E10 00286D70 39 80 00 00 */ li r12, 0 +/* 80289E14 00286D74 7D 48 52 14 */ add r10, r8, r10 +/* 80289E18 00286D78 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E1C 00286D7C 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E20 00286D80 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E24 00286D84 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a +/* 80289E28 00286D88 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E2C 00286D8C 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E30 00286D90 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 +/* 80289E34 00286D94 99 43 00 04 */ stb r10, 4(r3) +/* 80289E38 00286D98 48 00 00 90 */ b lbl_80289EC8 +lbl_80289E3C: +/* 80289E3C 00286D9C 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E40 00286DA0 39 80 00 00 */ li r12, 0 +/* 80289E44 00286DA4 7D 48 52 14 */ add r10, r8, r10 +/* 80289E48 00286DA8 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E4C 00286DAC 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E50 00286DB0 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E54 00286DB4 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b +/* 80289E58 00286DB8 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E5C 00286DBC 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E60 00286DC0 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 +/* 80289E64 00286DC4 99 43 00 04 */ stb r10, 4(r3) +/* 80289E68 00286DC8 48 00 00 60 */ b lbl_80289EC8 +lbl_80289E6C: +/* 80289E6C 00286DCC 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289E70 00286DD0 39 80 00 00 */ li r12, 0 +/* 80289E74 00286DD4 7D 48 52 14 */ add r10, r8, r10 +/* 80289E78 00286DD8 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289E7C 00286DDC 39 6A 00 04 */ addi r11, r10, 4 +/* 80289E80 00286DE0 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289E84 00286DE4 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 +/* 80289E88 00286DE8 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289E8C 00286DEC 89 43 00 04 */ lbz r10, 4(r3) +/* 80289E90 00286DF0 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a +/* 80289E94 00286DF4 99 43 00 04 */ stb r10, 4(r3) +/* 80289E98 00286DF8 48 00 00 30 */ b lbl_80289EC8 +lbl_80289E9C: +/* 80289E9C 00286DFC 1D 49 00 09 */ mulli r10, r9, 9 +/* 80289EA0 00286E00 39 80 00 00 */ li r12, 0 +/* 80289EA4 00286E04 7D 48 52 14 */ add r10, r8, r10 +/* 80289EA8 00286E08 55 4A 08 3C */ slwi r10, r10, 1 +/* 80289EAC 00286E0C 39 6A 00 04 */ addi r11, r10, 4 +/* 80289EB0 00286E10 7D 5B 58 AE */ lbzx r10, r27, r11 +/* 80289EB4 00286E14 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 +/* 80289EB8 00286E18 7D 5B 59 AE */ stbx r10, r27, r11 +/* 80289EBC 00286E1C 89 43 00 04 */ lbz r10, 4(r3) +/* 80289EC0 00286E20 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b +/* 80289EC4 00286E24 99 43 00 04 */ stb r10, 4(r3) +lbl_80289EC8: +/* 80289EC8 00286E28 38 E7 00 01 */ addi r7, r7, 1 +lbl_80289ECC: +/* 80289ECC 00286E2C 80 7B 00 8C */ lwz r3, 0x8c(r27) +/* 80289ED0 00286E30 7C 08 18 00 */ cmpw r8, r3 +/* 80289ED4 00286E34 40 82 FC 10 */ bne lbl_80289AE4 +/* 80289ED8 00286E38 80 7B 00 90 */ lwz r3, 0x90(r27) +/* 80289EDC 00286E3C 7C 09 18 00 */ cmpw r9, r3 +/* 80289EE0 00286E40 40 82 FC 04 */ bne lbl_80289AE4 +lbl_80289EE4: +/* 80289EE4 00286E44 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80289EE8 00286E48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80289EEC 00286E4C 7C 08 03 A6 */ mtlr r0 +/* 80289EF0 00286E50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80289EF4 00286E54 4E 80 00 20 */ blr + +.global sub_80289ef8 +sub_80289ef8: +/* 80289EF8 00286E58 1C 05 00 09 */ mulli r0, r5, 9 +/* 80289EFC 00286E5C 7C 65 1B 78 */ mr r5, r3 +/* 80289F00 00286E60 7C 04 02 14 */ add r0, r4, r0 +/* 80289F04 00286E64 54 03 08 3C */ slwi r3, r0, 1 +/* 80289F08 00286E68 38 63 00 04 */ addi r3, r3, 4 +/* 80289F0C 00286E6C 7C 65 1A 14 */ add r3, r5, r3 +/* 80289F10 00286E70 4E 80 00 20 */ blr + +.global sub_80289f14 +sub_80289f14: +/* 80289F14 00286E74 1C 05 00 09 */ mulli r0, r5, 9 +/* 80289F18 00286E78 7C 65 1B 78 */ mr r5, r3 +/* 80289F1C 00286E7C 7C 04 02 14 */ add r0, r4, r0 +/* 80289F20 00286E80 54 03 08 3C */ slwi r3, r0, 1 +/* 80289F24 00286E84 38 63 00 04 */ addi r3, r3, 4 +/* 80289F28 00286E88 7C 65 1A 14 */ add r3, r5, r3 +/* 80289F2C 00286E8C 4E 80 00 20 */ blr + +.global sub_80289f30 +sub_80289f30: +/* 80289F30 00286E90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80289F34 00286E94 7C 08 02 A6 */ mflr r0 +/* 80289F38 00286E98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80289F3C 00286E9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80289F40 00286EA0 3B E0 00 3E */ li r31, 0x3e +/* 80289F44 00286EA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80289F48 00286EA8 3B C0 00 00 */ li r30, 0 +/* 80289F4C 00286EAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80289F50 00286EB0 7C 7D 1B 78 */ mr r29, r3 +/* 80289F54 00286EB4 38 61 00 0C */ addi r3, r1, 0xc +/* 80289F58 00286EB8 93 81 00 20 */ stw r28, 0x20(r1) +/* 80289F5C 00286EBC 48 08 86 91 */ bl __ct__9CRandom16FUi +/* 80289F60 00286EC0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80289F64 00286EC4 38 C0 00 00 */ li r6, 0 +/* 80289F68 00286EC8 38 00 00 07 */ li r0, 7 +/* 80289F6C 00286ECC 7F A3 EB 78 */ mr r3, r29 +/* 80289F70 00286ED0 90 9D 00 00 */ stw r4, 0(r29) +/* 80289F74 00286ED4 38 80 00 00 */ li r4, 0 +/* 80289F78 00286ED8 88 BD 00 94 */ lbz r5, 0x94(r29) +/* 80289F7C 00286EDC 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 +/* 80289F80 00286EE0 98 BD 00 94 */ stb r5, 0x94(r29) +/* 80289F84 00286EE4 7C 09 03 A6 */ mtctr r0 +lbl_80289F88: +/* 80289F88 00286EE8 88 01 00 09 */ lbz r0, 9(r1) +/* 80289F8C 00286EEC 39 40 00 00 */ li r10, 0 +/* 80289F90 00286EF0 51 40 2E B4 */ rlwimi r0, r10, 5, 0x1a, 0x1a +/* 80289F94 00286EF4 88 E1 00 08 */ lbz r7, 8(r1) +/* 80289F98 00286EF8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 80289F9C 00286EFC 98 01 00 09 */ stb r0, 9(r1) +/* 80289FA0 00286F00 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 80289FA4 00286F04 39 60 00 00 */ li r11, 0 +/* 80289FA8 00286F08 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 80289FAC 00286F0C 98 A1 00 09 */ stb r5, 9(r1) +/* 80289FB0 00286F10 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 80289FB4 00286F14 38 C0 00 00 */ li r6, 0 +/* 80289FB8 00286F18 50 07 CF FE */ rlwimi r7, r0, 0x19, 0x1f, 0x1f +/* 80289FBC 00286F1C 98 01 00 09 */ stb r0, 9(r1) +/* 80289FC0 00286F20 54 EA 07 FE */ clrlwi r10, r7, 0x1f +/* 80289FC4 00286F24 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 80289FC8 00286F28 98 E1 00 08 */ stb r7, 8(r1) +/* 80289FCC 00286F2C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 80289FD0 00286F30 51 47 0F BC */ rlwimi r7, r10, 1, 0x1e, 0x1e +/* 80289FD4 00286F34 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a +/* 80289FD8 00286F38 54 E8 06 3E */ clrlwi r8, r7, 0x18 +/* 80289FDC 00286F3C 98 E1 00 08 */ stb r7, 8(r1) +/* 80289FE0 00286F40 50 E8 0F 7A */ rlwimi r8, r7, 1, 0x1d, 0x1d +/* 80289FE4 00286F44 54 AB DF FE */ rlwinm r11, r5, 0x1b, 0x1f, 0x1f +/* 80289FE8 00286F48 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 80289FEC 00286F4C 99 01 00 08 */ stb r8, 8(r1) +/* 80289FF0 00286F50 51 07 0F 38 */ rlwimi r7, r8, 1, 0x1c, 0x1c +/* 80289FF4 00286F54 98 A1 00 09 */ stb r5, 9(r1) +/* 80289FF8 00286F58 54 EA EF FE */ rlwinm r10, r7, 0x1d, 0x1f, 0x1f +/* 80289FFC 00286F5C 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8028A000 00286F60 51 65 36 72 */ rlwimi r5, r11, 6, 0x19, 0x19 +/* 8028A004 00286F64 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A008 00286F68 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A00C 00286F6C 51 47 26 F6 */ rlwimi r7, r10, 4, 0x1b, 0x1b +/* 8028A010 00286F70 54 A9 06 3E */ clrlwi r9, r5, 0x18 +/* 8028A014 00286F74 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A018 00286F78 54 EA E7 FE */ rlwinm r10, r7, 0x1c, 0x1f, 0x1f +/* 8028A01C 00286F7C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A020 00286F80 50 A9 0E 30 */ rlwimi r9, r5, 1, 0x18, 0x18 +/* 8028A024 00286F84 51 47 2E B4 */ rlwimi r7, r10, 5, 0x1a, 0x1a +/* 8028A028 00286F88 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A02C 00286F8C 54 EA DF FE */ rlwinm r10, r7, 0x1b, 0x1f, 0x1f +/* 8028A030 00286F90 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A034 00286F94 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A038 00286F98 51 45 36 72 */ rlwimi r5, r10, 6, 0x19, 0x19 +/* 8028A03C 00286F9C 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A040 00286FA0 54 AC 06 3E */ clrlwi r12, r5, 0x18 +/* 8028A044 00286FA4 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A048 00286FA8 50 AC 0E 30 */ rlwimi r12, r5, 1, 0x18, 0x18 +/* 8028A04C 00286FAC 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a +/* 8028A050 00286FB0 55 88 06 3E */ clrlwi r8, r12, 0x18 +/* 8028A054 00286FB4 99 21 00 09 */ stb r9, 9(r1) +/* 8028A058 00286FB8 51 28 CF FE */ rlwimi r8, r9, 0x19, 0x1f, 0x1f +/* 8028A05C 00286FBC 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A060 00286FC0 99 81 00 08 */ stb r12, 8(r1) +/* 8028A064 00286FC4 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A068 00286FC8 55 0B 07 FE */ clrlwi r11, r8, 0x1f +/* 8028A06C 00286FCC 99 01 00 08 */ stb r8, 8(r1) +/* 8028A070 00286FD0 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A074 00286FD4 51 68 0F BC */ rlwimi r8, r11, 1, 0x1e, 0x1e +/* 8028A078 00286FD8 54 AA 06 3E */ clrlwi r10, r5, 0x18 +/* 8028A07C 00286FDC 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A080 00286FE0 55 0B FF FE */ rlwinm r11, r8, 0x1f, 0x1f, 0x1f +/* 8028A084 00286FE4 50 AA 0E 30 */ rlwimi r10, r5, 1, 0x18, 0x18 +/* 8028A088 00286FE8 99 01 00 08 */ stb r8, 8(r1) +/* 8028A08C 00286FEC 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A090 00286FF0 51 68 17 7A */ rlwimi r8, r11, 2, 0x1d, 0x1d +/* 8028A094 00286FF4 99 83 00 04 */ stb r12, 4(r3) +/* 8028A098 00286FF8 55 0B F7 FE */ rlwinm r11, r8, 0x1e, 0x1f, 0x1f +/* 8028A09C 00286FFC 99 01 00 08 */ stb r8, 8(r1) +/* 8028A0A0 00287000 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A0A4 00287004 51 68 1F 38 */ rlwimi r8, r11, 3, 0x1c, 0x1c +/* 8028A0A8 00287008 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 8028A0AC 0028700C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A0B0 00287010 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b +/* 8028A0B4 00287014 99 01 00 08 */ stb r8, 8(r1) +/* 8028A0B8 00287018 54 EB E7 FE */ rlwinm r11, r7, 0x1c, 0x1f, 0x1f +/* 8028A0BC 0028701C 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A0C0 00287020 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A0C4 00287024 51 67 2E B4 */ rlwimi r7, r11, 5, 0x1a, 0x1a +/* 8028A0C8 00287028 98 03 00 05 */ stb r0, 5(r3) +/* 8028A0CC 0028702C 54 E0 06 3E */ clrlwi r0, r7, 0x18 +/* 8028A0D0 00287030 50 E0 0E 72 */ rlwimi r0, r7, 1, 0x19, 0x19 +/* 8028A0D4 00287034 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A0D8 00287038 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A0DC 0028703C 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 +/* 8028A0E0 00287040 98 01 00 08 */ stb r0, 8(r1) +/* 8028A0E4 00287044 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A0E8 00287048 51 40 CF FE */ rlwimi r0, r10, 0x19, 0x1f, 0x1f +/* 8028A0EC 0028704C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A0F0 00287050 98 A3 00 06 */ stb r5, 6(r3) +/* 8028A0F4 00287054 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A0F8 00287058 50 05 0F BC */ rlwimi r5, r0, 1, 0x1e, 0x1e +/* 8028A0FC 0028705C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A100 00287060 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A104 00287064 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d +/* 8028A108 00287068 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A10C 0028706C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A110 00287070 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c +/* 8028A114 00287074 98 01 00 08 */ stb r0, 8(r1) +/* 8028A118 00287078 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A11C 0028707C 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b +/* 8028A120 00287080 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A124 00287084 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A128 00287088 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a +/* 8028A12C 0028708C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A130 00287090 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A134 00287094 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A138 00287098 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A13C 0028709C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A140 002870A0 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 +/* 8028A144 002870A4 98 01 00 08 */ stb r0, 8(r1) +/* 8028A148 002870A8 99 23 00 07 */ stb r9, 7(r3) +/* 8028A14C 002870AC 99 41 00 09 */ stb r10, 9(r1) +/* 8028A150 002870B0 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A154 002870B4 39 20 00 00 */ li r9, 0 +/* 8028A158 002870B8 55 40 06 3E */ clrlwi r0, r10, 0x18 +/* 8028A15C 002870BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a +/* 8028A160 002870C0 98 A3 00 08 */ stb r5, 8(r3) +/* 8028A164 002870C4 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A168 002870C8 39 80 00 00 */ li r12, 0 +/* 8028A16C 002870CC 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A170 002870D0 98 01 00 09 */ stb r0, 9(r1) +/* 8028A174 002870D4 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A178 002870D8 38 C0 00 00 */ li r6, 0 +/* 8028A17C 002870DC 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A180 002870E0 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A184 002870E4 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 8028A188 002870E8 50 08 CF FE */ rlwimi r8, r0, 0x19, 0x1f, 0x1f +/* 8028A18C 002870EC 98 01 00 09 */ stb r0, 9(r1) +/* 8028A190 002870F0 55 09 07 FE */ clrlwi r9, r8, 0x1f +/* 8028A194 002870F4 54 07 06 3E */ clrlwi r7, r0, 0x18 +/* 8028A198 002870F8 99 01 00 08 */ stb r8, 8(r1) +/* 8028A19C 002870FC 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8028A1A0 00287100 51 28 0F BC */ rlwimi r8, r9, 1, 0x1e, 0x1e +/* 8028A1A4 00287104 51 87 2E B4 */ rlwimi r7, r12, 5, 0x1a, 0x1a +/* 8028A1A8 00287108 55 05 06 3E */ clrlwi r5, r8, 0x18 +/* 8028A1AC 0028710C 99 01 00 08 */ stb r8, 8(r1) +/* 8028A1B0 00287110 51 05 0F 7A */ rlwimi r5, r8, 1, 0x1d, 0x1d +/* 8028A1B4 00287114 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A1B8 00287118 54 A9 F7 FE */ rlwinm r9, r5, 0x1e, 0x1f, 0x1f +/* 8028A1BC 0028711C 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A1C0 00287120 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A1C4 00287124 51 28 1F 38 */ rlwimi r8, r9, 3, 0x1c, 0x1c +/* 8028A1C8 00287128 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A1CC 0028712C 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A1D0 00287130 55 07 06 3E */ clrlwi r7, r8, 0x18 +/* 8028A1D4 00287134 99 01 00 08 */ stb r8, 8(r1) +/* 8028A1D8 00287138 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b +/* 8028A1DC 0028713C 54 AB 06 3E */ clrlwi r11, r5, 0x18 +/* 8028A1E0 00287140 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A1E4 00287144 54 E9 E7 FE */ rlwinm r9, r7, 0x1c, 0x1f, 0x1f +/* 8028A1E8 00287148 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8028A1EC 0028714C 50 AB 0E 30 */ rlwimi r11, r5, 1, 0x18, 0x18 +/* 8028A1F0 00287150 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a +/* 8028A1F4 00287154 99 43 00 09 */ stb r10, 9(r3) +/* 8028A1F8 00287158 54 E9 DF FE */ rlwinm r9, r7, 0x1b, 0x1f, 0x1f +/* 8028A1FC 0028715C 54 E8 06 3E */ clrlwi r8, r7, 0x18 +/* 8028A200 00287160 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A204 00287164 51 28 36 72 */ rlwimi r8, r9, 6, 0x19, 0x19 +/* 8028A208 00287168 55 67 06 3E */ clrlwi r7, r11, 0x18 +/* 8028A20C 0028716C 55 0A 06 3E */ clrlwi r10, r8, 0x18 +/* 8028A210 00287170 99 01 00 08 */ stb r8, 8(r1) +/* 8028A214 00287174 51 0A 0E 30 */ rlwimi r10, r8, 1, 0x18, 0x18 +/* 8028A218 00287178 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a +/* 8028A21C 0028717C 55 48 06 3E */ clrlwi r8, r10, 0x18 +/* 8028A220 00287180 99 43 00 0A */ stb r10, 0xa(r3) +/* 8028A224 00287184 51 68 CF FE */ rlwimi r8, r11, 0x19, 0x1f, 0x1f +/* 8028A228 00287188 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A22C 0028718C 55 09 06 3E */ clrlwi r9, r8, 0x18 +/* 8028A230 00287190 51 09 0F BC */ rlwimi r9, r8, 1, 0x1e, 0x1e +/* 8028A234 00287194 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A238 00287198 99 41 00 08 */ stb r10, 8(r1) +/* 8028A23C 0028719C 55 2C FF FE */ rlwinm r12, r9, 0x1f, 0x1f, 0x1f +/* 8028A240 002871A0 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 +/* 8028A244 002871A4 99 01 00 08 */ stb r8, 8(r1) +/* 8028A248 002871A8 54 A8 06 3E */ clrlwi r8, r5, 0x18 +/* 8028A24C 002871AC 50 A8 0E 30 */ rlwimi r8, r5, 1, 0x18, 0x18 +/* 8028A250 002871B0 99 21 00 08 */ stb r9, 8(r1) +/* 8028A254 002871B4 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8028A258 002871B8 51 89 17 7A */ rlwimi r9, r12, 2, 0x1d, 0x1d +/* 8028A25C 002871BC 55 2A 06 3E */ clrlwi r10, r9, 0x18 +/* 8028A260 002871C0 99 61 00 09 */ stb r11, 9(r1) +/* 8028A264 002871C4 51 2A 0F 38 */ rlwimi r10, r9, 1, 0x1c, 0x1c +/* 8028A268 002871C8 99 21 00 08 */ stb r9, 8(r1) +/* 8028A26C 002871CC 55 49 06 3E */ clrlwi r9, r10, 0x18 +/* 8028A270 002871D0 51 49 0E F6 */ rlwimi r9, r10, 1, 0x1b, 0x1b +/* 8028A274 002871D4 99 41 00 08 */ stb r10, 8(r1) +/* 8028A278 002871D8 55 2C E7 FE */ rlwinm r12, r9, 0x1c, 0x1f, 0x1f +/* 8028A27C 002871DC 99 21 00 08 */ stb r9, 8(r1) +/* 8028A280 002871E0 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8028A284 002871E4 51 89 2E B4 */ rlwimi r9, r12, 5, 0x1a, 0x1a +/* 8028A288 002871E8 98 E1 00 09 */ stb r7, 9(r1) +/* 8028A28C 002871EC 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A290 002871F0 51 27 0E 72 */ rlwimi r7, r9, 1, 0x19, 0x19 +/* 8028A294 002871F4 99 21 00 08 */ stb r9, 8(r1) +/* 8028A298 002871F8 54 E9 06 3E */ clrlwi r9, r7, 0x18 +/* 8028A29C 002871FC 50 E9 0E 30 */ rlwimi r9, r7, 1, 0x18, 0x18 +/* 8028A2A0 00287200 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A2A4 00287204 55 27 06 3E */ clrlwi r7, r9, 0x18 +/* 8028A2A8 00287208 51 07 CF FE */ rlwimi r7, r8, 0x19, 0x1f, 0x1f +/* 8028A2AC 0028720C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A2B0 00287210 54 E5 06 3E */ clrlwi r5, r7, 0x18 +/* 8028A2B4 00287214 50 E5 0F BC */ rlwimi r5, r7, 1, 0x1e, 0x1e +/* 8028A2B8 00287218 98 03 00 0B */ stb r0, 0xb(r3) +/* 8028A2BC 0028721C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2C0 00287220 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d +/* 8028A2C4 00287224 99 21 00 08 */ stb r9, 8(r1) +/* 8028A2C8 00287228 98 E1 00 08 */ stb r7, 8(r1) +/* 8028A2CC 0028722C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A2D0 00287230 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A2D4 00287234 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c +/* 8028A2D8 00287238 98 01 00 08 */ stb r0, 8(r1) +/* 8028A2DC 0028723C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2E0 00287240 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b +/* 8028A2E4 00287244 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A2E8 00287248 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A2EC 0028724C 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a +/* 8028A2F0 00287250 98 01 00 08 */ stb r0, 8(r1) +/* 8028A2F4 00287254 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A2F8 00287258 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A2FC 0028725C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A300 00287260 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f +/* 8028A304 00287264 99 23 00 0C */ stb r9, 0xc(r3) +/* 8028A308 00287268 98 01 00 08 */ stb r0, 8(r1) +/* 8028A30C 0028726C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A310 00287270 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8028A314 00287274 99 63 00 0D */ stb r11, 0xd(r3) +/* 8028A318 00287278 99 01 00 09 */ stb r8, 9(r1) +/* 8028A31C 0028727C 98 01 00 08 */ stb r0, 8(r1) +/* 8028A320 00287280 39 40 00 00 */ li r10, 0 +/* 8028A324 00287284 55 05 06 3E */ clrlwi r5, r8, 0x18 +/* 8028A328 00287288 51 45 2E B4 */ rlwimi r5, r10, 5, 0x1a, 0x1a +/* 8028A32C 0028728C 98 03 00 0E */ stb r0, 0xe(r3) +/* 8028A330 00287290 54 06 06 3E */ clrlwi r6, r0, 0x18 +/* 8028A334 00287294 38 E0 00 00 */ li r7, 0 +/* 8028A338 00287298 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A33C 0028729C 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A340 002872A0 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 +/* 8028A344 002872A4 38 84 00 08 */ addi r4, r4, 8 +/* 8028A348 002872A8 54 09 06 3E */ clrlwi r9, r0, 0x18 +/* 8028A34C 002872AC 98 01 00 09 */ stb r0, 9(r1) +/* 8028A350 002872B0 50 09 0E 30 */ rlwimi r9, r0, 1, 0x18, 0x18 +/* 8028A354 002872B4 51 26 CF FE */ rlwimi r6, r9, 0x19, 0x1f, 0x1f +/* 8028A358 002872B8 99 03 00 0F */ stb r8, 0xf(r3) +/* 8028A35C 002872BC 54 CA 07 FE */ clrlwi r10, r6, 0x1f +/* 8028A360 002872C0 55 20 06 3E */ clrlwi r0, r9, 0x18 +/* 8028A364 002872C4 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A368 002872C8 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8028A36C 002872CC 51 46 0F BC */ rlwimi r6, r10, 1, 0x1e, 0x1e +/* 8028A370 002872D0 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8028A374 002872D4 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 8028A378 002872D8 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A37C 002872DC 50 C5 0F 7A */ rlwimi r5, r6, 1, 0x1d, 0x1d +/* 8028A380 002872E0 99 21 00 09 */ stb r9, 9(r1) +/* 8028A384 002872E4 54 AA F7 FE */ rlwinm r10, r5, 0x1e, 0x1f, 0x1f +/* 8028A388 002872E8 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 8028A38C 002872EC 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A390 002872F0 51 46 1F 38 */ rlwimi r6, r10, 3, 0x1c, 0x1c +/* 8028A394 002872F4 54 C8 06 3E */ clrlwi r8, r6, 0x18 +/* 8028A398 002872F8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A39C 002872FC 98 C1 00 08 */ stb r6, 8(r1) +/* 8028A3A0 00287300 50 C8 0E F6 */ rlwimi r8, r6, 1, 0x1b, 0x1b +/* 8028A3A4 00287304 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A3A8 00287308 98 01 00 09 */ stb r0, 9(r1) +/* 8028A3AC 0028730C 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3B0 00287310 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 8028A3B4 00287314 99 01 00 08 */ stb r8, 8(r1) +/* 8028A3B8 00287318 51 00 0E B4 */ rlwimi r0, r8, 1, 0x1a, 0x1a +/* 8028A3BC 0028731C 54 08 06 3E */ clrlwi r8, r0, 0x18 +/* 8028A3C0 00287320 50 A6 0E 30 */ rlwimi r6, r5, 1, 0x18, 0x18 +/* 8028A3C4 00287324 98 01 00 08 */ stb r0, 8(r1) +/* 8028A3C8 00287328 50 08 0E 72 */ rlwimi r8, r0, 1, 0x19, 0x19 +/* 8028A3CC 0028732C 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3D0 00287330 51 00 0E 30 */ rlwimi r0, r8, 1, 0x18, 0x18 +/* 8028A3D4 00287334 99 01 00 08 */ stb r8, 8(r1) +/* 8028A3D8 00287338 54 08 06 3E */ clrlwi r8, r0, 0x18 +/* 8028A3DC 0028733C 98 03 00 10 */ stb r0, 0x10(r3) +/* 8028A3E0 00287340 50 C8 CF FE */ rlwimi r8, r6, 0x19, 0x1f, 0x1f +/* 8028A3E4 00287344 98 01 00 08 */ stb r0, 8(r1) +/* 8028A3E8 00287348 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8028A3EC 0028734C 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e +/* 8028A3F0 00287350 98 A1 00 09 */ stb r5, 9(r1) +/* 8028A3F4 00287354 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A3F8 00287358 50 05 0F 7A */ rlwimi r5, r0, 1, 0x1d, 0x1d +/* 8028A3FC 0028735C 99 01 00 08 */ stb r8, 8(r1) +/* 8028A400 00287360 98 01 00 08 */ stb r0, 8(r1) +/* 8028A404 00287364 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A408 00287368 50 A0 0F 38 */ rlwimi r0, r5, 1, 0x1c, 0x1c +/* 8028A40C 0028736C 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A410 00287370 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A414 00287374 50 05 0E F6 */ rlwimi r5, r0, 1, 0x1b, 0x1b +/* 8028A418 00287378 98 01 00 08 */ stb r0, 8(r1) +/* 8028A41C 0028737C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A420 00287380 50 A0 0E B4 */ rlwimi r0, r5, 1, 0x1a, 0x1a +/* 8028A424 00287384 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A428 00287388 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8028A42C 0028738C 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 +/* 8028A430 00287390 98 01 00 08 */ stb r0, 8(r1) +/* 8028A434 00287394 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8028A438 00287398 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 +/* 8028A43C 0028739C 99 23 00 11 */ stb r9, 0x11(r3) +/* 8028A440 002873A0 98 A1 00 08 */ stb r5, 8(r1) +/* 8028A444 002873A4 98 03 00 12 */ stb r0, 0x12(r3) +/* 8028A448 002873A8 98 C3 00 13 */ stb r6, 0x13(r3) +/* 8028A44C 002873AC 38 63 00 10 */ addi r3, r3, 0x10 +/* 8028A450 002873B0 98 C1 00 09 */ stb r6, 9(r1) +/* 8028A454 002873B4 98 01 00 08 */ stb r0, 8(r1) +/* 8028A458 002873B8 42 00 FB 30 */ bdnz lbl_80289F88 +/* 8028A45C 002873BC 54 83 08 3C */ slwi r3, r4, 1 +/* 8028A460 002873C0 20 04 00 3F */ subfic r0, r4, 0x3f +/* 8028A464 002873C4 7C BD 1A 14 */ add r5, r29, r3 +/* 8028A468 002873C8 7C 09 03 A6 */ mtctr r0 +/* 8028A46C 002873CC 2C 04 00 3F */ cmpwi r4, 0x3f +/* 8028A470 002873D0 40 80 04 00 */ bge lbl_8028A870 +lbl_8028A474: +/* 8028A474 002873D4 88 61 00 09 */ lbz r3, 9(r1) +/* 8028A478 002873D8 38 80 00 00 */ li r4, 0 +/* 8028A47C 002873DC 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 8028A480 002873E0 88 01 00 08 */ lbz r0, 8(r1) +/* 8028A484 002873E4 54 64 DF FE */ rlwinm r4, r3, 0x1b, 0x1f, 0x1f +/* 8028A488 002873E8 98 61 00 09 */ stb r3, 9(r1) +/* 8028A48C 002873EC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8028A490 002873F0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 8028A494 002873F4 54 64 D7 FE */ rlwinm r4, r3, 0x1a, 0x1f, 0x1f +/* 8028A498 002873F8 98 61 00 09 */ stb r3, 9(r1) +/* 8028A49C 002873FC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8028A4A0 00287400 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 8028A4A4 00287404 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f +/* 8028A4A8 00287408 98 61 00 09 */ stb r3, 9(r1) +/* 8028A4AC 0028740C 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 8028A4B0 00287410 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4B4 00287414 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4B8 00287418 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8028A4BC 0028741C 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f +/* 8028A4C0 00287420 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4C4 00287424 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4C8 00287428 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8028A4CC 0028742C 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f +/* 8028A4D0 00287430 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4D4 00287434 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4D8 00287438 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8028A4DC 0028743C 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f +/* 8028A4E0 00287440 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4E4 00287444 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4E8 00287448 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8028A4EC 0028744C 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8028A4F0 00287450 98 01 00 08 */ stb r0, 8(r1) +/* 8028A4F4 00287454 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A4F8 00287458 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A4FC 0028745C 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A500 00287460 98 01 00 08 */ stb r0, 8(r1) +/* 8028A504 00287464 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A508 00287468 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A50C 0028746C 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A510 00287470 98 01 00 08 */ stb r0, 8(r1) +/* 8028A514 00287474 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8028A518 00287478 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A51C 0028747C 98 05 00 04 */ stb r0, 4(r5) +/* 8028A520 00287480 98 65 00 05 */ stb r3, 5(r5) +/* 8028A524 00287484 38 A5 00 02 */ addi r5, r5, 2 +/* 8028A528 00287488 98 01 00 08 */ stb r0, 8(r1) +/* 8028A52C 0028748C 42 00 FF 48 */ bdnz lbl_8028A474 +/* 8028A530 00287490 48 00 03 40 */ b lbl_8028A870 +lbl_8028A534: +/* 8028A534 00287494 34 1E FF F7 */ addic. r0, r30, -9 +/* 8028A538 00287498 3B 80 00 00 */ li r28, 0 +/* 8028A53C 0028749C 40 81 00 58 */ ble lbl_8028A594 +/* 8028A540 002874A0 38 1E FF F7 */ addi r0, r30, -9 +/* 8028A544 002874A4 38 80 00 00 */ li r4, 0 +/* 8028A548 002874A8 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A54C 002874AC 38 03 00 04 */ addi r0, r3, 4 +/* 8028A550 002874B0 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A554 002874B4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A558 002874B8 40 82 00 20 */ bne lbl_8028A578 +/* 8028A55C 002874BC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A560 002874C0 40 82 00 18 */ bne lbl_8028A578 +/* 8028A564 002874C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A568 002874C8 40 82 00 10 */ bne lbl_8028A578 +/* 8028A56C 002874CC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A570 002874D0 40 82 00 08 */ bne lbl_8028A578 +/* 8028A574 002874D4 38 80 00 01 */ li r4, 1 +lbl_8028A578: +/* 8028A578 002874D8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A57C 002874DC 41 82 00 18 */ beq lbl_8028A594 +/* 8028A580 002874E0 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A584 002874E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A588 002874E8 38 80 00 00 */ li r4, 0 +/* 8028A58C 002874EC 3B 80 00 01 */ li r28, 1 +/* 8028A590 002874F0 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A594: +/* 8028A594 002874F4 2C 1E 00 3D */ cmpwi r30, 0x3d +/* 8028A598 002874F8 40 80 00 7C */ bge lbl_8028A614 +/* 8028A59C 002874FC 3C 60 38 E4 */ lis r3, 0x38E38E39@ha +/* 8028A5A0 00287500 38 9E 00 01 */ addi r4, r30, 1 +/* 8028A5A4 00287504 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l +/* 8028A5A8 00287508 7C 00 20 96 */ mulhw r0, r0, r4 +/* 8028A5AC 0028750C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8028A5B0 00287510 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028A5B4 00287514 7C 00 1A 14 */ add r0, r0, r3 +/* 8028A5B8 00287518 1C 00 00 09 */ mulli r0, r0, 9 +/* 8028A5BC 0028751C 7C 00 20 51 */ subf. r0, r0, r4 +/* 8028A5C0 00287520 41 82 00 54 */ beq lbl_8028A614 +/* 8028A5C4 00287524 54 83 08 3C */ slwi r3, r4, 1 +/* 8028A5C8 00287528 38 80 00 00 */ li r4, 0 +/* 8028A5CC 0028752C 38 03 00 04 */ addi r0, r3, 4 +/* 8028A5D0 00287530 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A5D4 00287534 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A5D8 00287538 40 82 00 20 */ bne lbl_8028A5F8 +/* 8028A5DC 0028753C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A5E0 00287540 40 82 00 18 */ bne lbl_8028A5F8 +/* 8028A5E4 00287544 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A5E8 00287548 40 82 00 10 */ bne lbl_8028A5F8 +/* 8028A5EC 0028754C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A5F0 00287550 40 82 00 08 */ bne lbl_8028A5F8 +/* 8028A5F4 00287554 38 80 00 01 */ li r4, 1 +lbl_8028A5F8: +/* 8028A5F8 00287558 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A5FC 0028755C 41 82 00 18 */ beq lbl_8028A614 +/* 8028A600 00287560 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A604 00287564 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A608 00287568 38 80 00 01 */ li r4, 1 +/* 8028A60C 0028756C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A610 00287570 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A614: +/* 8028A614 00287574 38 1E 00 09 */ addi r0, r30, 9 +/* 8028A618 00287578 2C 00 00 3E */ cmpwi r0, 0x3e +/* 8028A61C 0028757C 41 81 00 54 */ bgt lbl_8028A670 +/* 8028A620 00287580 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A624 00287584 38 80 00 00 */ li r4, 0 +/* 8028A628 00287588 38 03 00 04 */ addi r0, r3, 4 +/* 8028A62C 0028758C 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A630 00287590 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A634 00287594 40 82 00 20 */ bne lbl_8028A654 +/* 8028A638 00287598 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A63C 0028759C 40 82 00 18 */ bne lbl_8028A654 +/* 8028A640 002875A0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A644 002875A4 40 82 00 10 */ bne lbl_8028A654 +/* 8028A648 002875A8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A64C 002875AC 40 82 00 08 */ bne lbl_8028A654 +/* 8028A650 002875B0 38 80 00 01 */ li r4, 1 +lbl_8028A654: +/* 8028A654 002875B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A658 002875B8 41 82 00 18 */ beq lbl_8028A670 +/* 8028A65C 002875BC 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A660 002875C0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A664 002875C4 38 80 00 02 */ li r4, 2 +/* 8028A668 002875C8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A66C 002875CC 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A670: +/* 8028A670 002875D0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8028A674 002875D4 40 81 00 7C */ ble lbl_8028A6F0 +/* 8028A678 002875D8 3C 60 38 E4 */ lis r3, 0x38E38E39@ha +/* 8028A67C 002875DC 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l +/* 8028A680 002875E0 7C 00 F0 96 */ mulhw r0, r0, r30 +/* 8028A684 002875E4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8028A688 002875E8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8028A68C 002875EC 7C 00 1A 14 */ add r0, r0, r3 +/* 8028A690 002875F0 1C 00 00 09 */ mulli r0, r0, 9 +/* 8028A694 002875F4 7C 00 F0 51 */ subf. r0, r0, r30 +/* 8028A698 002875F8 41 82 00 58 */ beq lbl_8028A6F0 +/* 8028A69C 002875FC 38 1E FF FF */ addi r0, r30, -1 +/* 8028A6A0 00287600 38 80 00 00 */ li r4, 0 +/* 8028A6A4 00287604 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A6A8 00287608 38 03 00 04 */ addi r0, r3, 4 +/* 8028A6AC 0028760C 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A6B0 00287610 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A6B4 00287614 40 82 00 20 */ bne lbl_8028A6D4 +/* 8028A6B8 00287618 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A6BC 0028761C 40 82 00 18 */ bne lbl_8028A6D4 +/* 8028A6C0 00287620 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A6C4 00287624 40 82 00 10 */ bne lbl_8028A6D4 +/* 8028A6C8 00287628 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A6CC 0028762C 40 82 00 08 */ bne lbl_8028A6D4 +/* 8028A6D0 00287630 38 80 00 01 */ li r4, 1 +lbl_8028A6D4: +/* 8028A6D4 00287634 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A6D8 00287638 41 82 00 18 */ beq lbl_8028A6F0 +/* 8028A6DC 0028763C 57 80 10 3A */ slwi r0, r28, 2 +/* 8028A6E0 00287640 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028A6E4 00287644 38 80 00 03 */ li r4, 3 +/* 8028A6E8 00287648 3B 9C 00 01 */ addi r28, r28, 1 +/* 8028A6EC 0028764C 7C 83 01 2E */ stwx r4, r3, r0 +lbl_8028A6F0: +/* 8028A6F0 00287650 2C 1C 00 00 */ cmpwi r28, 0 +/* 8028A6F4 00287654 41 82 01 30 */ beq lbl_8028A824 +/* 8028A6F8 00287658 7F A3 EB 78 */ mr r3, r29 +/* 8028A6FC 0028765C 3B FF FF FF */ addi r31, r31, -1 +/* 8028A700 00287660 48 08 7E 21 */ bl Next__9CRandom16Fv +/* 8028A704 00287664 7C 03 E3 96 */ divwu r0, r3, r28 +/* 8028A708 00287668 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028A70C 0028766C 7C 00 E1 D6 */ mullw r0, r0, r28 +/* 8028A710 00287670 7C 00 18 50 */ subf r0, r0, r3 +/* 8028A714 00287674 54 00 10 3A */ slwi r0, r0, 2 +/* 8028A718 00287678 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8028A71C 0028767C 2C 00 00 02 */ cmpwi r0, 2 +/* 8028A720 00287680 41 82 00 94 */ beq lbl_8028A7B4 +/* 8028A724 00287684 40 80 00 14 */ bge lbl_8028A738 +/* 8028A728 00287688 2C 00 00 00 */ cmpwi r0, 0 +/* 8028A72C 0028768C 41 82 00 18 */ beq lbl_8028A744 +/* 8028A730 00287690 40 80 00 4C */ bge lbl_8028A77C +/* 8028A734 00287694 48 00 01 3C */ b lbl_8028A870 +lbl_8028A738: +/* 8028A738 00287698 2C 00 00 04 */ cmpwi r0, 4 +/* 8028A73C 0028769C 40 80 01 34 */ bge lbl_8028A870 +/* 8028A740 002876A0 48 00 00 AC */ b lbl_8028A7EC +lbl_8028A744: +/* 8028A744 002876A4 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A748 002876A8 38 1E FF F7 */ addi r0, r30, -9 +/* 8028A74C 002876AC 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A750 002876B0 38 C0 00 01 */ li r6, 1 +/* 8028A754 002876B4 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A758 002876B8 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 +/* 8028A75C 002876BC 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A760 002876C0 3B DE FF F7 */ addi r30, r30, -9 +/* 8028A764 002876C4 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A768 002876C8 38 63 00 04 */ addi r3, r3, 4 +/* 8028A76C 002876CC 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A770 002876D0 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8028A774 002876D4 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A778 002876D8 48 00 00 F8 */ b lbl_8028A870 +lbl_8028A77C: +/* 8028A77C 002876DC 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A780 002876E0 38 1E 00 01 */ addi r0, r30, 1 +/* 8028A784 002876E4 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A788 002876E8 38 C0 00 01 */ li r6, 1 +/* 8028A78C 002876EC 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A790 002876F0 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 +/* 8028A794 002876F4 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A798 002876F8 3B DE 00 01 */ addi r30, r30, 1 +/* 8028A79C 002876FC 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A7A0 00287700 38 63 00 04 */ addi r3, r3, 4 +/* 8028A7A4 00287704 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A7A8 00287708 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8028A7AC 0028770C 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A7B0 00287710 48 00 00 C0 */ b lbl_8028A870 +lbl_8028A7B4: +/* 8028A7B4 00287714 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A7B8 00287718 38 1E 00 09 */ addi r0, r30, 9 +/* 8028A7BC 0028771C 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A7C0 00287720 38 C0 00 01 */ li r6, 1 +/* 8028A7C4 00287724 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A7C8 00287728 50 C4 2E B4 */ rlwimi r4, r6, 5, 0x1a, 0x1a +/* 8028A7CC 0028772C 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A7D0 00287730 3B DE 00 09 */ addi r30, r30, 9 +/* 8028A7D4 00287734 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A7D8 00287738 38 63 00 04 */ addi r3, r3, 4 +/* 8028A7DC 0028773C 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A7E0 00287740 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8028A7E4 00287744 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A7E8 00287748 48 00 00 88 */ b lbl_8028A870 +lbl_8028A7EC: +/* 8028A7EC 0028774C 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A7F0 00287750 38 1E FF FF */ addi r0, r30, -1 +/* 8028A7F4 00287754 38 A3 00 04 */ addi r5, r3, 4 +/* 8028A7F8 00287758 38 C0 00 01 */ li r6, 1 +/* 8028A7FC 0028775C 7C 9D 28 AE */ lbzx r4, r29, r5 +/* 8028A800 00287760 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b +/* 8028A804 00287764 54 03 08 3C */ slwi r3, r0, 1 +/* 8028A808 00287768 3B DE FF FF */ addi r30, r30, -1 +/* 8028A80C 0028776C 7C 9D 29 AE */ stbx r4, r29, r5 +/* 8028A810 00287770 38 63 00 04 */ addi r3, r3, 4 +/* 8028A814 00287774 7C 1D 18 AE */ lbzx r0, r29, r3 +/* 8028A818 00287778 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8028A81C 0028777C 7C 1D 19 AE */ stbx r0, r29, r3 +/* 8028A820 00287780 48 00 00 50 */ b lbl_8028A870 +lbl_8028A824: +/* 8028A824 00287784 3B DE 00 01 */ addi r30, r30, 1 +/* 8028A828 00287788 2C 1E 00 3E */ cmpwi r30, 0x3e +/* 8028A82C 0028778C 40 81 00 08 */ ble lbl_8028A834 +/* 8028A830 00287790 3B C0 00 00 */ li r30, 0 +lbl_8028A834: +/* 8028A834 00287794 57 C3 08 3C */ slwi r3, r30, 1 +/* 8028A838 00287798 38 80 00 00 */ li r4, 0 +/* 8028A83C 0028779C 38 03 00 04 */ addi r0, r3, 4 +/* 8028A840 002877A0 7C 7D 00 AE */ lbzx r3, r29, r0 +/* 8028A844 002877A4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8028A848 002877A8 40 82 00 20 */ bne lbl_8028A868 +/* 8028A84C 002877AC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8028A850 002877B0 40 82 00 18 */ bne lbl_8028A868 +/* 8028A854 002877B4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8028A858 002877B8 40 82 00 10 */ bne lbl_8028A868 +/* 8028A85C 002877BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8028A860 002877C0 40 82 00 08 */ bne lbl_8028A868 +/* 8028A864 002877C4 38 80 00 01 */ li r4, 1 +lbl_8028A868: +/* 8028A868 002877C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8028A86C 002877CC 40 82 FF B8 */ bne lbl_8028A824 +lbl_8028A870: +/* 8028A870 002877D0 2C 1F 00 00 */ cmpwi r31, 0 +/* 8028A874 002877D4 40 82 FC C0 */ bne lbl_8028A534 +/* 8028A878 002877D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028A87C 002877DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028A880 002877E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8028A884 002877E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8028A888 002877E8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8028A88C 002877EC 7C 08 03 A6 */ mtlr r0 +/* 8028A890 002877F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028A894 002877F4 4E 80 00 20 */ blr + +.global sub_8028a898 +sub_8028a898: +/* 8028A898 002877F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028A89C 002877FC 7C 08 02 A6 */ mflr r0 +/* 8028A8A0 00287800 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028A8A4 00287804 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8028A8A8 00287808 7C 9C 23 78 */ mr r28, r4 +/* 8028A8AC 0028780C 7C 7B 1B 78 */ mr r27, r3 +/* 8028A8B0 00287810 7C BD 2B 78 */ mr r29, r5 +/* 8028A8B4 00287814 7C DE 33 78 */ mr r30, r6 +/* 8028A8B8 00287818 7C FF 3B 78 */ mr r31, r7 +/* 8028A8BC 0028781C 38 80 00 00 */ li r4, 0 +/* 8028A8C0 00287820 48 08 7D 2D */ bl __ct__9CRandom16FUi +/* 8028A8C4 00287824 3C 80 80 29 */ lis r4, sub_8028a918@ha +/* 8028A8C8 00287828 38 7B 00 04 */ addi r3, r27, 4 +/* 8028A8CC 0028782C 38 84 A9 18 */ addi r4, r4, sub_8028a918@l +/* 8028A8D0 00287830 38 A0 00 00 */ li r5, 0 +/* 8028A8D4 00287834 38 C0 00 02 */ li r6, 2 +/* 8028A8D8 00287838 38 E0 00 3F */ li r7, 0x3f +/* 8028A8DC 0028783C 48 0F EE 71 */ bl __construct_array +/* 8028A8E0 00287840 93 9B 00 84 */ stw r28, 0x84(r27) +/* 8028A8E4 00287844 38 80 00 00 */ li r4, 0 +/* 8028A8E8 00287848 7F 63 DB 78 */ mr r3, r27 +/* 8028A8EC 0028784C 93 BB 00 88 */ stw r29, 0x88(r27) +/* 8028A8F0 00287850 93 DB 00 8C */ stw r30, 0x8c(r27) +/* 8028A8F4 00287854 93 FB 00 90 */ stw r31, 0x90(r27) +/* 8028A8F8 00287858 88 1B 00 94 */ lbz r0, 0x94(r27) +/* 8028A8FC 0028785C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A900 00287860 98 1B 00 94 */ stb r0, 0x94(r27) +/* 8028A904 00287864 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8028A908 00287868 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028A90C 0028786C 7C 08 03 A6 */ mtlr r0 +/* 8028A910 00287870 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028A914 00287874 4E 80 00 20 */ blr + +.global sub_8028a918 +sub_8028a918: +/* 8028A918 00287878 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A91C 0028787C 38 80 00 00 */ li r4, 0 +/* 8028A920 00287880 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A924 00287884 98 03 00 01 */ stb r0, 1(r3) +/* 8028A928 00287888 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A92C 0028788C 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A930 00287890 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A934 00287894 98 03 00 01 */ stb r0, 1(r3) +/* 8028A938 00287898 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A93C 0028789C 88 03 00 01 */ lbz r0, 1(r3) +/* 8028A940 002878A0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A944 002878A4 98 03 00 01 */ stb r0, 1(r3) +/* 8028A948 002878A8 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 8028A94C 002878AC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A950 002878B0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8028A954 002878B4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A958 002878B8 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 8028A95C 002878BC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A960 002878C0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 8028A964 002878C4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A968 002878C8 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f +/* 8028A96C 002878CC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A970 002878D0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8028A974 002878D4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A978 002878D8 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f +/* 8028A97C 002878DC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A980 002878E0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8028A984 002878E4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A988 002878E8 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f +/* 8028A98C 002878EC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A990 002878F0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8028A994 002878F4 98 03 00 00 */ stb r0, 0(r3) +/* 8028A998 002878F8 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f +/* 8028A99C 002878FC 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9A0 00287900 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8028A9A4 00287904 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9A8 00287908 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8028A9AC 0028790C 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9B0 00287910 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8028A9B4 00287914 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9B8 00287918 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8028A9BC 0028791C 88 03 00 00 */ lbz r0, 0(r3) +/* 8028A9C0 00287920 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8028A9C4 00287924 98 03 00 00 */ stb r0, 0(r3) +/* 8028A9C8 00287928 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s b/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s new file mode 100644 index 00000000..559efbf4 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.s @@ -0,0 +1,449 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__22CScriptShadowProjectorFv +__dt__22CScriptShadowProjectorFv: +/* 8029ECD8 0029BC38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029ECDC 0029BC3C 7C 08 02 A6 */ mflr r0 +/* 8029ECE0 0029BC40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029ECE4 0029BC44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029ECE8 0029BC48 7C 9F 23 78 */ mr r31, r4 +/* 8029ECEC 0029BC4C 93 C1 00 08 */ stw r30, 8(r1) +/* 8029ECF0 0029BC50 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029ECF4 0029BC54 41 82 00 40 */ beq lbl_8029ED34 +/* 8029ECF8 0029BC58 3C 60 80 3F */ lis r3, lbl_803EC030@ha +/* 8029ECFC 0029BC5C 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 8029ED00 0029BC60 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l +/* 8029ED04 0029BC64 90 1E 00 00 */ stw r0, 0(r30) +/* 8029ED08 0029BC68 41 82 00 10 */ beq lbl_8029ED18 +/* 8029ED0C 0029BC6C 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029ED10 0029BC70 38 80 00 01 */ li r4, 1 +/* 8029ED14 0029BC74 4B FF F6 6D */ bl __dt__16CProjectedShadowFv +lbl_8029ED18: +/* 8029ED18 0029BC78 7F C3 F3 78 */ mr r3, r30 +/* 8029ED1C 0029BC7C 38 80 00 00 */ li r4, 0 +/* 8029ED20 0029BC80 4B DB 69 D1 */ bl __dt__6CActorFv +/* 8029ED24 0029BC84 7F E0 07 35 */ extsh. r0, r31 +/* 8029ED28 0029BC88 40 81 00 0C */ ble lbl_8029ED34 +/* 8029ED2C 0029BC8C 7F C3 F3 78 */ mr r3, r30 +/* 8029ED30 0029BC90 48 07 6C 01 */ bl Free__7CMemoryFPCv +lbl_8029ED34: +/* 8029ED34 0029BC94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029ED38 0029BC98 7F C3 F3 78 */ mr r3, r30 +/* 8029ED3C 0029BC9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029ED40 0029BCA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029ED44 0029BCA4 7C 08 03 A6 */ mtlr r0 +/* 8029ED48 0029BCA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029ED4C 0029BCAC 4E 80 00 20 */ blr + +.global Think__22CScriptShadowProjectorFfR13CStateManager +Think__22CScriptShadowProjectorFfR13CStateManager: +/* 8029ED50 0029BCB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029ED54 0029BCB4 7C 08 02 A6 */ mflr r0 +/* 8029ED58 0029BCB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029ED5C 0029BCBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029ED60 0029BCC0 7C 9F 23 78 */ mr r31, r4 +/* 8029ED64 0029BCC4 93 C1 00 08 */ stw r30, 8(r1) +/* 8029ED68 0029BCC8 7C 7E 1B 78 */ mr r30, r3 +/* 8029ED6C 0029BCCC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8029ED70 0029BCD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029ED74 0029BCD4 41 82 00 6C */ beq lbl_8029EDE0 +/* 8029ED78 0029BCD8 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8029ED7C 0029BCDC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8029ED80 0029BCE0 41 82 00 60 */ beq lbl_8029EDE0 +/* 8029ED84 0029BCE4 C0 7E 01 00 */ lfs f3, 0x100(r30) +/* 8029ED88 0029BCE8 C0 5E 00 FC */ lfs f2, 0xfc(r30) +/* 8029ED8C 0029BCEC C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) +/* 8029ED90 0029BCF0 EC 23 10 7C */ fnmsubs f1, f3, f1, f2 +/* 8029ED94 0029BCF4 D0 3E 00 FC */ stfs f1, 0xfc(r30) +/* 8029ED98 0029BCF8 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 8029ED9C 0029BCFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029EDA0 0029BD00 4C 40 13 82 */ cror 2, 0, 2 +/* 8029EDA4 0029BD04 40 82 00 3C */ bne lbl_8029EDE0 +/* 8029EDA8 0029BD08 D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 8029EDAC 0029BD0C 38 80 00 01 */ li r4, 1 +/* 8029EDB0 0029BD10 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029EDB4 0029BD14 4B FF F5 CD */ bl __dt__16CProjectedShadowFv +/* 8029EDB8 0029BD18 38 E0 00 00 */ li r7, 0 +/* 8029EDBC 0029BD1C 7F C3 F3 78 */ mr r3, r30 +/* 8029EDC0 0029BD20 90 FE 01 08 */ stw r7, 0x108(r30) +/* 8029EDC4 0029BD24 7F E5 FB 78 */ mr r5, r31 +/* 8029EDC8 0029BD28 38 80 00 09 */ li r4, 9 +/* 8029EDCC 0029BD2C 38 C0 FF FF */ li r6, -1 +/* 8029EDD0 0029BD30 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8029EDD4 0029BD34 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 8029EDD8 0029BD38 98 1E 01 10 */ stb r0, 0x110(r30) +/* 8029EDDC 0029BD3C 4B DB 22 E5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_8029EDE0: +/* 8029EDE0 0029BD40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029EDE4 0029BD44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029EDE8 0029BD48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029EDEC 0029BD4C 7C 08 03 A6 */ mtlr r0 +/* 8029EDF0 0029BD50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029EDF4 0029BD54 4E 80 00 20 */ blr + +.global Accept__22CScriptShadowProjectorFR8IVisitor +Accept__22CScriptShadowProjectorFR8IVisitor: +/* 8029EDF8 0029BD58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029EDFC 0029BD5C 7C 08 02 A6 */ mflr r0 +/* 8029EE00 0029BD60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029EE04 0029BD64 7C 60 1B 78 */ mr r0, r3 +/* 8029EE08 0029BD68 7C 83 23 78 */ mr r3, r4 +/* 8029EE0C 0029BD6C 81 84 00 00 */ lwz r12, 0(r4) +/* 8029EE10 0029BD70 7C 04 03 78 */ mr r4, r0 +/* 8029EE14 0029BD74 81 8C 00 08 */ lwz r12, 8(r12) +/* 8029EE18 0029BD78 7D 89 03 A6 */ mtctr r12 +/* 8029EE1C 0029BD7C 4E 80 04 21 */ bctrl +/* 8029EE20 0029BD80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029EE24 0029BD84 7C 08 03 A6 */ mtlr r0 +/* 8029EE28 0029BD88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029EE2C 0029BD8C 4E 80 00 20 */ blr + +.global PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes +PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes: +/* 8029EE30 0029BD90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8029EE34 0029BD94 7C 08 02 A6 */ mflr r0 +/* 8029EE38 0029BD98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8029EE3C 0029BD9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8029EE40 0029BDA0 7C 9F 23 78 */ mr r31, r4 +/* 8029EE44 0029BDA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8029EE48 0029BDA8 7C 7E 1B 78 */ mr r30, r3 +/* 8029EE4C 0029BDAC 38 60 00 01 */ li r3, 1 +/* 8029EE50 0029BDB0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8029EE54 0029BDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8029EE58 0029BDB8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8029EE5C 0029BDBC 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8029EE60 0029BDC0 80 1E 01 08 */ lwz r0, 0x108(r30) +/* 8029EE64 0029BDC4 28 00 00 00 */ cmplwi r0, 0 +/* 8029EE68 0029BDC8 41 82 00 E0 */ beq lbl_8029EF48 +/* 8029EE6C 0029BDCC A0 1E 01 04 */ lhz r0, 0x104(r30) +/* 8029EE70 0029BDD0 7F E3 FB 78 */ mr r3, r31 +/* 8029EE74 0029BDD4 38 81 00 08 */ addi r4, r1, 8 +/* 8029EE78 0029BDD8 B0 01 00 08 */ sth r0, 8(r1) +/* 8029EE7C 0029BDDC 4B DA D6 F9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029EE80 0029BDE0 7C 64 1B 78 */ mr r4, r3 +/* 8029EE84 0029BDE4 38 61 00 0C */ addi r3, r1, 0xc +/* 8029EE88 0029BDE8 4B E1 0E 09 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8029EE8C 0029BDEC 83 A3 00 04 */ lwz r29, 4(r3) +/* 8029EE90 0029BDF0 28 1D 00 00 */ cmplwi r29, 0 +/* 8029EE94 0029BDF4 41 82 00 40 */ beq lbl_8029EED4 +/* 8029EE98 0029BDF8 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8029EE9C 0029BDFC 38 80 00 00 */ li r4, 0 +/* 8029EEA0 0029BE00 7C 05 00 D0 */ neg r0, r5 +/* 8029EEA4 0029BE04 7C 00 2B 78 */ or r0, r0, r5 +/* 8029EEA8 0029BE08 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f +/* 8029EEAC 0029BE0C 41 82 00 20 */ beq lbl_8029EECC +/* 8029EEB0 0029BE10 80 05 00 10 */ lwz r0, 0x10(r5) +/* 8029EEB4 0029BE14 28 00 00 00 */ cmplwi r0, 0 +/* 8029EEB8 0029BE18 40 82 00 10 */ bne lbl_8029EEC8 +/* 8029EEBC 0029BE1C 88 05 00 28 */ lbz r0, 0x28(r5) +/* 8029EEC0 0029BE20 28 00 00 00 */ cmplwi r0, 0 +/* 8029EEC4 0029BE24 41 82 00 08 */ beq lbl_8029EECC +lbl_8029EEC8: +/* 8029EEC8 0029BE28 38 80 00 01 */ li r4, 1 +lbl_8029EECC: +/* 8029EECC 0029BE2C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8029EED0 0029BE30 40 82 00 10 */ bne lbl_8029EEE0 +lbl_8029EED4: +/* 8029EED4 0029BE34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029EED8 0029BE38 B0 1E 01 04 */ sth r0, 0x104(r30) +/* 8029EEDC 0029BE3C 48 00 00 6C */ b lbl_8029EF48 +lbl_8029EEE0: +/* 8029EEE0 0029BE40 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8029EEE4 0029BE44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029EEE8 0029BE48 41 82 00 60 */ beq lbl_8029EF48 +/* 8029EEEC 0029BE4C 28 03 00 00 */ cmplwi r3, 0 +/* 8029EEF0 0029BE50 38 60 00 00 */ li r3, 0 +/* 8029EEF4 0029BE54 41 82 00 14 */ beq lbl_8029EF08 +/* 8029EEF8 0029BE58 80 05 00 10 */ lwz r0, 0x10(r5) +/* 8029EEFC 0029BE5C 28 00 00 00 */ cmplwi r0, 0 +/* 8029EF00 0029BE60 41 82 00 08 */ beq lbl_8029EF08 +/* 8029EF04 0029BE64 38 60 00 01 */ li r3, 1 +lbl_8029EF08: +/* 8029EF08 0029BE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029EF0C 0029BE6C 41 82 00 0C */ beq lbl_8029EF18 +/* 8029EF10 0029BE70 80 65 00 10 */ lwz r3, 0x10(r5) +/* 8029EF14 0029BE74 4B D8 DA F1 */ bl PreRender__9CAnimDataFv +lbl_8029EF18: +/* 8029EF18 0029BE78 C0 1E 00 FC */ lfs f0, 0xfc(r30) +/* 8029EF1C 0029BE7C 7F E4 FB 78 */ mr r4, r31 +/* 8029EF20 0029BE80 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029EF24 0029BE84 38 DD 00 34 */ addi r6, r29, 0x34 +/* 8029EF28 0029BE88 39 1E 00 EC */ addi r8, r30, 0xec +/* 8029EF2C 0029BE8C 38 E0 00 00 */ li r7, 0 +/* 8029EF30 0029BE90 D0 03 00 98 */ stfs f0, 0x98(r3) +/* 8029EF34 0029BE94 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029EF38 0029BE98 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8029EF3C 0029BE9C C0 3E 00 E8 */ lfs f1, 0xe8(r30) +/* 8029EF40 0029BEA0 C0 5E 00 F8 */ lfs f2, 0xf8(r30) +/* 8029EF44 0029BEA4 4B FF EE 45 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff +lbl_8029EF48: +/* 8029EF48 0029BEA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8029EF4C 0029BEAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8029EF50 0029BEB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8029EF54 0029BEB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8029EF58 0029BEB8 7C 08 03 A6 */ mtlr r0 +/* 8029EF5C 0029BEBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8029EF60 0029BEC0 4E 80 00 20 */ blr + +.global AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager: +/* 8029EF64 0029BEC4 4E 80 00 20 */ blr + +.global AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8029EF68 0029BEC8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8029EF6C 0029BECC 7C 08 02 A6 */ mflr r0 +/* 8029EF70 0029BED0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8029EF74 0029BED4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8029EF78 0029BED8 7C DF 33 78 */ mr r31, r6 +/* 8029EF7C 0029BEDC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8029EF80 0029BEE0 7C 7E 1B 78 */ mr r30, r3 +/* 8029EF84 0029BEE4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8029EF88 0029BEE8 7C 9D 23 78 */ mr r29, r4 +/* 8029EF8C 0029BEEC A0 05 00 00 */ lhz r0, 0(r5) +/* 8029EF90 0029BEF0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8029EF94 0029BEF4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8029EF98 0029BEF8 4B DB 46 7D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8029EF9C 0029BEFC 2C 1D 00 05 */ cmpwi r29, 5 +/* 8029EFA0 0029BF00 41 82 01 98 */ beq lbl_8029F138 +/* 8029EFA4 0029BF04 40 80 00 1C */ bge lbl_8029EFC0 +/* 8029EFA8 0029BF08 2C 1D 00 01 */ cmpwi r29, 1 +/* 8029EFAC 0029BF0C 41 82 01 00 */ beq lbl_8029F0AC +/* 8029EFB0 0029BF10 41 80 01 B4 */ blt lbl_8029F164 +/* 8029EFB4 0029BF14 2C 1D 00 04 */ cmpwi r29, 4 +/* 8029EFB8 0029BF18 40 80 00 F4 */ bge lbl_8029F0AC +/* 8029EFBC 0029BF1C 48 00 01 A8 */ b lbl_8029F164 +lbl_8029EFC0: +/* 8029EFC0 0029BF20 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 8029EFC4 0029BF24 41 82 00 08 */ beq lbl_8029EFCC +/* 8029EFC8 0029BF28 48 00 01 9C */ b lbl_8029F164 +lbl_8029EFCC: +/* 8029EFCC 0029BF2C 83 BE 00 2C */ lwz r29, 0x2c(r30) +/* 8029EFD0 0029BF30 48 00 00 98 */ b lbl_8029F068 +lbl_8029EFD4: +/* 8029EFD4 0029BF34 80 1D 00 00 */ lwz r0, 0(r29) +/* 8029EFD8 0029BF38 2C 00 00 12 */ cmpwi r0, 0x12 +/* 8029EFDC 0029BF3C 40 82 00 88 */ bne lbl_8029F064 +/* 8029EFE0 0029BF40 80 1D 00 08 */ lwz r0, 8(r29) +/* 8029EFE4 0029BF44 7F E4 FB 78 */ mr r4, r31 +/* 8029EFE8 0029BF48 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029EFEC 0029BF4C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8029EFF0 0029BF50 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8029EFF4 0029BF54 4B DA 8F 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8029EFF8 0029BF58 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8029EFFC 0029BF5C 7F E3 FB 78 */ mr r3, r31 +/* 8029F000 0029BF60 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029F004 0029BF64 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8029F008 0029BF68 4B DA D5 6D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8029F00C 0029BF6C 7C 64 1B 78 */ mr r4, r3 +/* 8029F010 0029BF70 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029F014 0029BF74 4B E1 0C 7D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8029F018 0029BF78 80 A3 00 04 */ lwz r5, 4(r3) +/* 8029F01C 0029BF7C 28 05 00 00 */ cmplwi r5, 0 +/* 8029F020 0029BF80 41 82 00 44 */ beq lbl_8029F064 +/* 8029F024 0029BF84 80 85 00 64 */ lwz r4, 0x64(r5) +/* 8029F028 0029BF88 38 60 00 00 */ li r3, 0 +/* 8029F02C 0029BF8C 28 04 00 00 */ cmplwi r4, 0 +/* 8029F030 0029BF90 41 82 00 20 */ beq lbl_8029F050 +/* 8029F034 0029BF94 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8029F038 0029BF98 28 00 00 00 */ cmplwi r0, 0 +/* 8029F03C 0029BF9C 40 82 00 10 */ bne lbl_8029F04C +/* 8029F040 0029BFA0 88 04 00 28 */ lbz r0, 0x28(r4) +/* 8029F044 0029BFA4 28 00 00 00 */ cmplwi r0, 0 +/* 8029F048 0029BFA8 41 82 00 08 */ beq lbl_8029F050 +lbl_8029F04C: +/* 8029F04C 0029BFAC 38 60 00 01 */ li r3, 1 +lbl_8029F050: +/* 8029F050 0029BFB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8029F054 0029BFB4 41 82 00 10 */ beq lbl_8029F064 +/* 8029F058 0029BFB8 A0 05 00 08 */ lhz r0, 8(r5) +/* 8029F05C 0029BFBC B0 1E 01 04 */ sth r0, 0x104(r30) +/* 8029F060 0029BFC0 48 00 00 20 */ b lbl_8029F080 +lbl_8029F064: +/* 8029F064 0029BFC4 3B BD 00 0C */ addi r29, r29, 0xc +lbl_8029F068: +/* 8029F068 0029BFC8 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 8029F06C 0029BFCC 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8029F070 0029BFD0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8029F074 0029BFD4 7C 03 02 14 */ add r0, r3, r0 +/* 8029F078 0029BFD8 7C 1D 00 40 */ cmplw r29, r0 +/* 8029F07C 0029BFDC 40 82 FF 58 */ bne lbl_8029EFD4 +lbl_8029F080: +/* 8029F080 0029BFE0 A0 7E 01 04 */ lhz r3, 0x104(r30) +/* 8029F084 0029BFE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029F088 0029BFE8 7C 03 00 40 */ cmplw r3, r0 +/* 8029F08C 0029BFEC 40 82 00 20 */ bne lbl_8029F0AC +/* 8029F090 0029BFF0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8029F094 0029BFF4 7F E3 FB 78 */ mr r3, r31 +/* 8029F098 0029BFF8 38 81 00 0C */ addi r4, r1, 0xc +/* 8029F09C 0029BFFC B0 01 00 08 */ sth r0, 8(r1) +/* 8029F0A0 0029C000 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8029F0A4 0029C004 4B DA D1 C9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8029F0A8 0029C008 48 00 00 BC */ b lbl_8029F164 +lbl_8029F0AC: +/* 8029F0AC 0029C00C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8029F0B0 0029C010 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029F0B4 0029C014 41 82 00 6C */ beq lbl_8029F120 +/* 8029F0B8 0029C018 A0 7E 01 04 */ lhz r3, 0x104(r30) +/* 8029F0BC 0029C01C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029F0C0 0029C020 7C 03 00 40 */ cmplw r3, r0 +/* 8029F0C4 0029C024 41 82 00 5C */ beq lbl_8029F120 +/* 8029F0C8 0029C028 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 8029F0CC 0029C02C C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) +/* 8029F0D0 0029C030 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F0D4 0029C034 40 81 00 4C */ ble lbl_8029F120 +/* 8029F0D8 0029C038 3C 80 80 3D */ lis r4, lbl_803D5EB0@ha +/* 8029F0DC 0029C03C 38 60 00 9C */ li r3, 0x9c +/* 8029F0E0 0029C040 38 84 5E B0 */ addi r4, r4, lbl_803D5EB0@l +/* 8029F0E4 0029C044 38 A0 00 00 */ li r5, 0 +/* 8029F0E8 0029C048 48 07 67 85 */ bl __nw__FUlPCcPCc +/* 8029F0EC 0029C04C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8029F0F0 0029C050 41 82 00 1C */ beq lbl_8029F10C +/* 8029F0F4 0029C054 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8029F0F8 0029C058 80 9E 01 0C */ lwz r4, 0x10c(r30) +/* 8029F0FC 0029C05C 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f +/* 8029F100 0029C060 7C 85 23 78 */ mr r5, r4 +/* 8029F104 0029C064 4B FF F2 D9 */ bl __ct__16CProjectedShadowFv +/* 8029F108 0029C068 7C 7F 1B 78 */ mr r31, r3 +lbl_8029F10C: +/* 8029F10C 0029C06C 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029F110 0029C070 38 80 00 01 */ li r4, 1 +/* 8029F114 0029C074 4B FF F2 6D */ bl __dt__16CProjectedShadowFv +/* 8029F118 0029C078 93 FE 01 08 */ stw r31, 0x108(r30) +/* 8029F11C 0029C07C 48 00 00 48 */ b lbl_8029F164 +lbl_8029F120: +/* 8029F120 0029C080 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8029F124 0029C084 38 80 00 01 */ li r4, 1 +/* 8029F128 0029C088 4B FF F2 59 */ bl __dt__16CProjectedShadowFv +/* 8029F12C 0029C08C 38 00 00 00 */ li r0, 0 +/* 8029F130 0029C090 90 1E 01 08 */ stw r0, 0x108(r30) +/* 8029F134 0029C094 48 00 00 30 */ b lbl_8029F164 +lbl_8029F138: +/* 8029F138 0029C098 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8029F13C 0029C09C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8029F140 0029C0A0 41 82 00 24 */ beq lbl_8029F164 +/* 8029F144 0029C0A4 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 8029F148 0029C0A8 C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) +/* 8029F14C 0029C0AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8029F150 0029C0B0 40 81 00 14 */ ble lbl_8029F164 +/* 8029F154 0029C0B4 88 1E 01 10 */ lbz r0, 0x110(r30) +/* 8029F158 0029C0B8 38 60 00 01 */ li r3, 1 +/* 8029F15C 0029C0BC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8029F160 0029C0C0 98 1E 01 10 */ stb r0, 0x110(r30) +lbl_8029F164: +/* 8029F164 0029C0C4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8029F168 0029C0C8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8029F16C 0029C0CC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8029F170 0029C0D0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8029F174 0029C0D4 7C 08 03 A6 */ mtlr r0 +/* 8029F178 0029C0D8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8029F17C 0029C0DC 4E 80 00 20 */ blr + +.global "__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi" +"__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi": +/* 8029F180 0029C0E0 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8029F184 0029C0E4 7C 08 02 A6 */ mflr r0 +/* 8029F188 0029C0E8 90 01 01 44 */ stw r0, 0x144(r1) +/* 8029F18C 0029C0EC DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8029F190 0029C0F0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8029F194 0029C0F4 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8029F198 0029C0F8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8029F19C 0029C0FC DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8029F1A0 0029C100 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8029F1A4 0029C104 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8029F1A8 0029C108 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8029F1AC 0029C10C BE E1 00 DC */ stmw r23, 0xdc(r1) +/* 8029F1B0 0029C110 FF 80 08 90 */ fmr f28, f1 +/* 8029F1B4 0029C114 7C 7F 1B 78 */ mr r31, r3 +/* 8029F1B8 0029C118 FF A0 10 90 */ fmr f29, f2 +/* 8029F1BC 0029C11C 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 8029F1C0 0029C120 FF C0 18 90 */ fmr f30, f3 +/* 8029F1C4 0029C124 7C 97 23 78 */ mr r23, r4 +/* 8029F1C8 0029C128 FF E0 20 90 */ fmr f31, f4 +/* 8029F1CC 0029C12C 7C B8 2B 78 */ mr r24, r5 +/* 8029F1D0 0029C130 7C D9 33 78 */ mr r25, r6 +/* 8029F1D4 0029C134 7C FA 3B 78 */ mr r26, r7 +/* 8029F1D8 0029C138 7D 1B 43 78 */ mr r27, r8 +/* 8029F1DC 0029C13C 7D 3C 4B 78 */ mr r28, r9 +/* 8029F1E0 0029C140 7D 5D 53 78 */ mr r29, r10 +/* 8029F1E4 0029C144 38 61 00 88 */ addi r3, r1, 0x88 +/* 8029F1E8 0029C148 4B D9 B5 BD */ bl CModelDataNull__10CModelDataFv +/* 8029F1EC 0029C14C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029F1F0 0029C150 4B D7 BC 49 */ bl None__16CActorParametersFv +/* 8029F1F4 0029C154 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029F1F8 0029C158 38 80 00 00 */ li r4, 0 +/* 8029F1FC 0029C15C A1 97 00 00 */ lhz r12, 0(r23) +/* 8029F200 0029C160 39 61 00 20 */ addi r11, r1, 0x20 +/* 8029F204 0029C164 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8029F208 0029C168 38 01 00 10 */ addi r0, r1, 0x10 +/* 8029F20C 0029C16C 7F E3 FB 78 */ mr r3, r31 +/* 8029F210 0029C170 7F 65 DB 78 */ mr r5, r27 +/* 8029F214 0029C174 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8029F218 0029C178 7F 06 C3 78 */ mr r6, r24 +/* 8029F21C 0029C17C 7F 27 CB 78 */ mr r7, r25 +/* 8029F220 0029C180 7F 48 D3 78 */ mr r8, r26 +/* 8029F224 0029C184 90 81 00 18 */ stw r4, 0x18(r1) +/* 8029F228 0029C188 38 81 00 14 */ addi r4, r1, 0x14 +/* 8029F22C 0029C18C 39 21 00 88 */ addi r9, r1, 0x88 +/* 8029F230 0029C190 39 41 00 18 */ addi r10, r1, 0x18 +/* 8029F234 0029C194 B1 81 00 14 */ sth r12, 0x14(r1) +/* 8029F238 0029C198 91 61 00 08 */ stw r11, 8(r1) +/* 8029F23C 0029C19C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8029F240 0029C1A0 4B DB 65 E1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8029F244 0029C1A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8029F248 0029C1A8 38 80 FF FF */ li r4, -1 +/* 8029F24C 0029C1AC 4B E6 73 BD */ bl __dt__16CActorParametersFv +/* 8029F250 0029C1B0 38 61 00 88 */ addi r3, r1, 0x88 +/* 8029F254 0029C1B4 38 80 FF FF */ li r4, -1 +/* 8029F258 0029C1B8 4B E7 77 F5 */ bl __dt__10CModelDataFv +/* 8029F25C 0029C1BC 3C 60 80 3F */ lis r3, lbl_803EC030@ha +/* 8029F260 0029C1C0 C0 22 C0 E8 */ lfs f1, lbl_805ADE08@sda21(r2) +/* 8029F264 0029C1C4 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l +/* 8029F268 0029C1C8 C8 02 C0 F0 */ lfd f0, lbl_805ADE10@sda21(r2) +/* 8029F26C 0029C1CC 90 1F 00 00 */ stw r0, 0(r31) +/* 8029F270 0029C1D0 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 8029F274 0029C1D4 D3 9F 00 E8 */ stfs f28, 0xe8(r31) +/* 8029F278 0029C1D8 FC 40 0A 10 */ fabs f2, f1 +/* 8029F27C 0029C1DC C0 3C 00 00 */ lfs f1, 0(r28) +/* 8029F280 0029C1E0 D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 8029F284 0029C1E4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8029F288 0029C1E8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8029F28C 0029C1EC D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8029F290 0029C1F0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8029F294 0029C1F4 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8029F298 0029C1F8 D3 BF 00 F8 */ stfs f29, 0xf8(r31) +/* 8029F29C 0029C1FC D3 DF 00 FC */ stfs f30, 0xfc(r31) +/* 8029F2A0 0029C200 40 80 00 0C */ bge lbl_8029F2AC +/* 8029F2A4 0029C204 C0 02 C0 EC */ lfs f0, lbl_805ADE0C@sda21(r2) +/* 8029F2A8 0029C208 48 00 00 08 */ b lbl_8029F2B0 +lbl_8029F2AC: +/* 8029F2AC 0029C20C EC 1F F0 24 */ fdivs f0, f31, f30 +lbl_8029F2B0: +/* 8029F2B0 0029C210 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8029F2B4 0029C214 38 A0 00 00 */ li r5, 0 +/* 8029F2B8 0029C218 7F E3 FB 78 */ mr r3, r31 +/* 8029F2BC 0029C21C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8029F2C0 0029C220 B0 1F 01 04 */ sth r0, 0x104(r31) +/* 8029F2C4 0029C224 90 BF 01 08 */ stw r5, 0x108(r31) +/* 8029F2C8 0029C228 93 DF 01 0C */ stw r30, 0x10c(r31) +/* 8029F2CC 0029C22C 88 1F 01 10 */ lbz r0, 0x110(r31) +/* 8029F2D0 0029C230 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 8029F2D4 0029C234 98 1F 01 10 */ stb r0, 0x110(r31) +/* 8029F2D8 0029C238 88 1F 01 10 */ lbz r0, 0x110(r31) +/* 8029F2DC 0029C23C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8029F2E0 0029C240 98 1F 01 10 */ stb r0, 0x110(r31) +/* 8029F2E4 0029C244 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8029F2E8 0029C248 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8029F2EC 0029C24C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8029F2F0 0029C250 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8029F2F4 0029C254 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8029F2F8 0029C258 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8029F2FC 0029C25C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8029F300 0029C260 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8029F304 0029C264 BA E1 00 DC */ lmw r23, 0xdc(r1) +/* 8029F308 0029C268 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8029F30C 0029C26C 7C 08 03 A6 */ mtlr r0 +/* 8029F310 0029C270 38 21 01 40 */ addi r1, r1, 0x140 +/* 8029F314 0029C274 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s b/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s new file mode 100644 index 00000000..6f1420c6 --- /dev/null +++ b/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.s @@ -0,0 +1,179 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__15CTweakSlideShowFR12CInputStream +__ct__15CTweakSlideShowFR12CInputStream: +/* 8029C5F8 00299558 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8029C5FC 0029955C 7C 08 02 A6 */ mflr r0 +/* 8029C600 00299560 3C A0 80 3F */ lis r5, lbl_803EC000@ha +/* 8029C604 00299564 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha +/* 8029C608 00299568 90 01 00 54 */ stw r0, 0x54(r1) +/* 8029C60C 0029956C 38 06 9C C4 */ addi r0, r6, lbl_803D9CC4@l +/* 8029C610 00299570 38 A5 C0 00 */ addi r5, r5, lbl_803EC000@l +/* 8029C614 00299574 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8029C618 00299578 7C 9F 23 78 */ mr r31, r4 +/* 8029C61C 0029957C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8029C620 00299580 7C 7E 1B 78 */ mr r30, r3 +/* 8029C624 00299584 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8029C628 00299588 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C62C 0029958C 38 00 00 00 */ li r0, 0 +/* 8029C630 00299590 90 BE 00 00 */ stw r5, 0(r30) +/* 8029C634 00299594 90 7E 00 04 */ stw r3, 4(r30) +/* 8029C638 00299598 90 1E 00 08 */ stw r0, 8(r30) +/* 8029C63C 0029959C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8029C640 002995A0 90 7E 00 14 */ stw r3, 0x14(r30) +/* 8029C644 002995A4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8029C648 002995A8 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8029C64C 002995AC 48 0A D9 61 */ bl White__6CColorFv +/* 8029C650 002995B0 80 03 00 00 */ lwz r0, 0(r3) +/* 8029C654 002995B4 90 1E 00 24 */ stw r0, 0x24(r30) +/* 8029C658 002995B8 48 0A D9 55 */ bl White__6CColorFv +/* 8029C65C 002995BC 80 03 00 00 */ lwz r0, 0(r3) +/* 8029C660 002995C0 C0 02 C0 38 */ lfs f0, lbl_805ADD58@sda21(r2) +/* 8029C664 002995C4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8029C668 002995C8 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 8029C66C 002995CC D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8029C670 002995D0 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8029C674 002995D4 D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 8029C678 002995D8 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 8029C67C 002995DC 48 0A D9 31 */ bl White__6CColorFv +/* 8029C680 002995E0 80 03 00 00 */ lwz r0, 0(r3) +/* 8029C684 002995E4 7F E4 FB 78 */ mr r4, r31 +/* 8029C688 002995E8 C0 22 C0 38 */ lfs f1, lbl_805ADD58@sda21(r2) +/* 8029C68C 002995EC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029C690 002995F0 90 1E 00 40 */ stw r0, 0x40(r30) +/* 8029C694 002995F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8029C698 002995F8 C0 02 C0 3C */ lfs f0, lbl_805ADD5C@sda21(r2) +/* 8029C69C 002995FC D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 8029C6A0 00299600 D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 8029C6A4 00299604 D0 3E 00 4C */ stfs f1, 0x4c(r30) +/* 8029C6A8 00299608 D0 3E 00 50 */ stfs f1, 0x50(r30) +/* 8029C6AC 0029960C D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 8029C6B0 00299610 D0 1E 00 58 */ stfs f0, 0x58(r30) +/* 8029C6B4 00299614 48 0A 1C 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8029C6B8 00299618 38 7E 00 04 */ addi r3, r30, 4 +/* 8029C6BC 0029961C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8029C6C0 00299620 48 0A 16 9D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029C6C4 00299624 38 61 00 2C */ addi r3, r1, 0x2c +/* 8029C6C8 00299628 48 0A 14 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029C6CC 0029962C 7F E4 FB 78 */ mr r4, r31 +/* 8029C6D0 00299630 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029C6D4 00299634 38 A1 00 08 */ addi r5, r1, 8 +/* 8029C6D8 00299638 48 0A 1C 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8029C6DC 0029963C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8029C6E0 00299640 38 81 00 1C */ addi r4, r1, 0x1c +/* 8029C6E4 00299644 48 0A 16 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8029C6E8 00299648 38 61 00 1C */ addi r3, r1, 0x1c +/* 8029C6EC 0029964C 48 0A 13 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8029C6F0 00299650 7F E4 FB 78 */ mr r4, r31 +/* 8029C6F4 00299654 38 61 00 18 */ addi r3, r1, 0x18 +/* 8029C6F8 00299658 48 0C 6D 55 */ bl __ct__6CColorFR12CInputStream +/* 8029C6FC 0029965C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8029C700 00299660 7F E4 FB 78 */ mr r4, r31 +/* 8029C704 00299664 38 61 00 14 */ addi r3, r1, 0x14 +/* 8029C708 00299668 90 1E 00 24 */ stw r0, 0x24(r30) +/* 8029C70C 0029966C 48 0C 6D 41 */ bl __ct__6CColorFR12CInputStream +/* 8029C710 00299670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C714 00299674 7F E3 FB 78 */ mr r3, r31 +/* 8029C718 00299678 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8029C71C 0029967C 48 0A 25 0D */ bl ReadFloat__12CInputStreamFv +/* 8029C720 00299680 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 8029C724 00299684 7F E3 FB 78 */ mr r3, r31 +/* 8029C728 00299688 48 0A 25 01 */ bl ReadFloat__12CInputStreamFv +/* 8029C72C 0029968C D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 8029C730 00299690 7F E3 FB 78 */ mr r3, r31 +/* 8029C734 00299694 48 0A 24 F5 */ bl ReadFloat__12CInputStreamFv +/* 8029C738 00299698 D0 3E 00 34 */ stfs f1, 0x34(r30) +/* 8029C73C 0029969C 7F E3 FB 78 */ mr r3, r31 +/* 8029C740 002996A0 48 0A 24 E9 */ bl ReadFloat__12CInputStreamFv +/* 8029C744 002996A4 D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 8029C748 002996A8 7F E3 FB 78 */ mr r3, r31 +/* 8029C74C 002996AC 48 0A 24 DD */ bl ReadFloat__12CInputStreamFv +/* 8029C750 002996B0 D0 3E 00 3C */ stfs f1, 0x3c(r30) +/* 8029C754 002996B4 7F E4 FB 78 */ mr r4, r31 +/* 8029C758 002996B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8029C75C 002996BC 48 0C 6C F1 */ bl __ct__6CColorFR12CInputStream +/* 8029C760 002996C0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8029C764 002996C4 7F E3 FB 78 */ mr r3, r31 +/* 8029C768 002996C8 90 1E 00 40 */ stw r0, 0x40(r30) +/* 8029C76C 002996CC 48 0A 24 BD */ bl ReadFloat__12CInputStreamFv +/* 8029C770 002996D0 D0 3E 00 44 */ stfs f1, 0x44(r30) +/* 8029C774 002996D4 7F E3 FB 78 */ mr r3, r31 +/* 8029C778 002996D8 48 0A 24 B1 */ bl ReadFloat__12CInputStreamFv +/* 8029C77C 002996DC D0 3E 00 48 */ stfs f1, 0x48(r30) +/* 8029C780 002996E0 7F E3 FB 78 */ mr r3, r31 +/* 8029C784 002996E4 48 0A 24 A5 */ bl ReadFloat__12CInputStreamFv +/* 8029C788 002996E8 D0 3E 00 4C */ stfs f1, 0x4c(r30) +/* 8029C78C 002996EC 7F E3 FB 78 */ mr r3, r31 +/* 8029C790 002996F0 48 0A 24 99 */ bl ReadFloat__12CInputStreamFv +/* 8029C794 002996F4 D0 3E 00 50 */ stfs f1, 0x50(r30) +/* 8029C798 002996F8 7F E3 FB 78 */ mr r3, r31 +/* 8029C79C 002996FC 48 0A 24 8D */ bl ReadFloat__12CInputStreamFv +/* 8029C7A0 00299700 D0 3E 00 54 */ stfs f1, 0x54(r30) +/* 8029C7A4 00299704 7F E3 FB 78 */ mr r3, r31 +/* 8029C7A8 00299708 48 0A 24 81 */ bl ReadFloat__12CInputStreamFv +/* 8029C7AC 0029970C D0 3E 00 58 */ stfs f1, 0x58(r30) +/* 8029C7B0 00299710 7F C3 F3 78 */ mr r3, r30 +/* 8029C7B4 00299714 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8029C7B8 00299718 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8029C7BC 0029971C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8029C7C0 00299720 7C 08 03 A6 */ mtlr r0 +/* 8029C7C4 00299724 38 21 00 50 */ addi r1, r1, 0x50 +/* 8029C7C8 00299728 4E 80 00 20 */ blr + +.global sub_8029c7cc +sub_8029c7cc: +/* 8029C7CC 0029972C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C7D0 00299730 7C 08 02 A6 */ mflr r0 +/* 8029C7D4 00299734 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C7D8 00299738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8029C7DC 0029973C 7C 9F 23 78 */ mr r31, r4 +/* 8029C7E0 00299740 93 C1 00 08 */ stw r30, 8(r1) +/* 8029C7E4 00299744 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8029C7E8 00299748 41 82 00 54 */ beq lbl_8029C83C +/* 8029C7EC 0029974C 3C 60 80 3F */ lis r3, lbl_803EC000@ha +/* 8029C7F0 00299750 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8029C7F4 00299754 38 03 C0 00 */ addi r0, r3, lbl_803EC000@l +/* 8029C7F8 00299758 90 1E 00 00 */ stw r0, 0(r30) +/* 8029C7FC 0029975C 41 82 00 0C */ beq lbl_8029C808 +/* 8029C800 00299760 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8029C804 00299764 48 0A 12 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029C808: +/* 8029C808 00299768 34 1E 00 04 */ addic. r0, r30, 4 +/* 8029C80C 0029976C 41 82 00 0C */ beq lbl_8029C818 +/* 8029C810 00299770 38 7E 00 04 */ addi r3, r30, 4 +/* 8029C814 00299774 48 0A 12 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8029C818: +/* 8029C818 00299778 28 1E 00 00 */ cmplwi r30, 0 +/* 8029C81C 0029977C 41 82 00 10 */ beq lbl_8029C82C +/* 8029C820 00299780 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha +/* 8029C824 00299784 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l +/* 8029C828 00299788 90 1E 00 00 */ stw r0, 0(r30) +lbl_8029C82C: +/* 8029C82C 0029978C 7F E0 07 35 */ extsh. r0, r31 +/* 8029C830 00299790 40 81 00 0C */ ble lbl_8029C83C +/* 8029C834 00299794 7F C3 F3 78 */ mr r3, r30 +/* 8029C838 00299798 48 00 00 21 */ bl sub_8029c858 +lbl_8029C83C: +/* 8029C83C 0029979C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C840 002997A0 7F C3 F3 78 */ mr r3, r30 +/* 8029C844 002997A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8029C848 002997A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8029C84C 002997AC 7C 08 03 A6 */ mtlr r0 +/* 8029C850 002997B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C854 002997B4 4E 80 00 20 */ blr + +.global sub_8029c858 +sub_8029c858: +/* 8029C858 002997B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8029C85C 002997BC 7C 08 02 A6 */ mflr r0 +/* 8029C860 002997C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8029C864 002997C4 4B D9 A5 61 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" +/* 8029C868 002997C8 80 83 00 00 */ lwz r4, 0(r3) +/* 8029C86C 002997CC 38 04 FF FF */ addi r0, r4, -1 +/* 8029C870 002997D0 90 03 00 00 */ stw r0, 0(r3) +/* 8029C874 002997D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8029C878 002997D8 7C 08 03 A6 */ mtlr r0 +/* 8029C87C 002997DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8029C880 002997E0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s b/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s new file mode 100644 index 00000000..7d185e02 --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.s @@ -0,0 +1,701 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__23CElectricBeamProjectileFv +__dt__23CElectricBeamProjectileFv: +/* 80251BB0 0024EB10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251BB4 0024EB14 7C 08 02 A6 */ mflr r0 +/* 80251BB8 0024EB18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251BBC 0024EB1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251BC0 0024EB20 7C 9F 23 78 */ mr r31, r4 +/* 80251BC4 0024EB24 93 C1 00 08 */ stw r30, 8(r1) +/* 80251BC8 0024EB28 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80251BCC 0024EB2C 41 82 00 98 */ beq lbl_80251C64 +/* 80251BD0 0024EB30 3C 60 80 3F */ lis r3, lbl_803E9118@ha +/* 80251BD4 0024EB34 34 1E 04 78 */ addic. r0, r30, 0x478 +/* 80251BD8 0024EB38 38 03 91 18 */ addi r0, r3, lbl_803E9118@l +/* 80251BDC 0024EB3C 90 1E 00 00 */ stw r0, 0(r30) +/* 80251BE0 0024EB40 41 82 00 24 */ beq lbl_80251C04 +/* 80251BE4 0024EB44 80 7E 04 78 */ lwz r3, 0x478(r30) +/* 80251BE8 0024EB48 28 03 00 00 */ cmplwi r3, 0 +/* 80251BEC 0024EB4C 41 82 00 18 */ beq lbl_80251C04 +/* 80251BF0 0024EB50 81 83 00 00 */ lwz r12, 0(r3) +/* 80251BF4 0024EB54 38 80 00 01 */ li r4, 1 +/* 80251BF8 0024EB58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80251BFC 0024EB5C 7D 89 03 A6 */ mtctr r12 +/* 80251C00 0024EB60 4E 80 04 21 */ bctrl +lbl_80251C04: +/* 80251C04 0024EB64 34 1E 04 6C */ addic. r0, r30, 0x46c +/* 80251C08 0024EB68 41 82 00 18 */ beq lbl_80251C20 +/* 80251C0C 0024EB6C 34 1E 04 6C */ addic. r0, r30, 0x46c +/* 80251C10 0024EB70 41 82 00 10 */ beq lbl_80251C20 +/* 80251C14 0024EB74 38 7E 04 6C */ addi r3, r30, 0x46c +/* 80251C18 0024EB78 38 80 00 00 */ li r4, 0 +/* 80251C1C 0024EB7C 48 0E F2 25 */ bl __dt__6CTokenFv +lbl_80251C20: +/* 80251C20 0024EB80 34 1E 04 68 */ addic. r0, r30, 0x468 +/* 80251C24 0024EB84 41 82 00 24 */ beq lbl_80251C48 +/* 80251C28 0024EB88 80 7E 04 68 */ lwz r3, 0x468(r30) +/* 80251C2C 0024EB8C 28 03 00 00 */ cmplwi r3, 0 +/* 80251C30 0024EB90 41 82 00 18 */ beq lbl_80251C48 +/* 80251C34 0024EB94 81 83 00 00 */ lwz r12, 0(r3) +/* 80251C38 0024EB98 38 80 00 01 */ li r4, 1 +/* 80251C3C 0024EB9C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80251C40 0024EBA0 7D 89 03 A6 */ mtctr r12 +/* 80251C44 0024EBA4 4E 80 04 21 */ bctrl +lbl_80251C48: +/* 80251C48 0024EBA8 7F C3 F3 78 */ mr r3, r30 +/* 80251C4C 0024EBAC 38 80 00 00 */ li r4, 0 +/* 80251C50 0024EBB0 4B F2 50 C9 */ bl __dt__15CBeamProjectileFv +/* 80251C54 0024EBB4 7F E0 07 35 */ extsh. r0, r31 +/* 80251C58 0024EBB8 40 81 00 0C */ ble lbl_80251C64 +/* 80251C5C 0024EBBC 7F C3 F3 78 */ mr r3, r30 +/* 80251C60 0024EBC0 48 0C 3C D1 */ bl Free__7CMemoryFPCv +lbl_80251C64: +/* 80251C64 0024EBC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251C68 0024EBC8 7F C3 F3 78 */ mr r3, r30 +/* 80251C6C 0024EBCC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80251C70 0024EBD0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80251C74 0024EBD4 7C 08 03 A6 */ mtlr r0 +/* 80251C78 0024EBD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251C7C 0024EBDC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80251C80 0024EBE0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80251C84 0024EBE4 7C 08 02 A6 */ mflr r0 +/* 80251C88 0024EBE8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80251C8C 0024EBEC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80251C90 0024EBF0 7C DF 33 78 */ mr r31, r6 +/* 80251C94 0024EBF4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80251C98 0024EBF8 7C BE 2B 78 */ mr r30, r5 +/* 80251C9C 0024EBFC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80251CA0 0024EC00 7C 9D 23 78 */ mr r29, r4 +/* 80251CA4 0024EC04 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 80251CA8 0024EC08 93 81 00 20 */ stw r28, 0x20(r1) +/* 80251CAC 0024EC0C 7C 7C 1B 78 */ mr r28, r3 +/* 80251CB0 0024EC10 41 82 00 44 */ beq lbl_80251CF4 +/* 80251CB4 0024EC14 40 80 00 48 */ bge lbl_80251CFC +/* 80251CB8 0024EC18 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 80251CBC 0024EC1C 40 80 00 08 */ bge lbl_80251CC4 +/* 80251CC0 0024EC20 48 00 00 3C */ b lbl_80251CFC +lbl_80251CC4: +/* 80251CC4 0024EC24 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80251CC8 0024EC28 7F E3 FB 78 */ mr r3, r31 +/* 80251CCC 0024EC2C 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 80251CD0 0024EC30 38 81 00 10 */ addi r4, r1, 0x10 +/* 80251CD4 0024EC34 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80251CD8 0024EC38 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80251CDC 0024EC3C 4B DF 30 2D */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 80251CE0 0024EC40 88 1C 04 64 */ lbz r0, 0x464(r28) +/* 80251CE4 0024EC44 38 60 00 01 */ li r3, 1 +/* 80251CE8 0024EC48 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80251CEC 0024EC4C 98 1C 04 64 */ stb r0, 0x464(r28) +/* 80251CF0 0024EC50 48 00 00 0C */ b lbl_80251CFC +lbl_80251CF4: +/* 80251CF4 0024EC54 7F E4 FB 78 */ mr r4, r31 +/* 80251CF8 0024EC58 4B DE 5B B1 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager +lbl_80251CFC: +/* 80251CFC 0024EC5C A0 1E 00 00 */ lhz r0, 0(r30) +/* 80251D00 0024EC60 7F 83 E3 78 */ mr r3, r28 +/* 80251D04 0024EC64 7F A4 EB 78 */ mr r4, r29 +/* 80251D08 0024EC68 7F E6 FB 78 */ mr r6, r31 +/* 80251D0C 0024EC6C B0 01 00 08 */ sth r0, 8(r1) +/* 80251D10 0024EC70 38 A1 00 08 */ addi r5, r1, 8 +/* 80251D14 0024EC74 4B DE 68 B9 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80251D18 0024EC78 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80251D1C 0024EC7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80251D20 0024EC80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80251D24 0024EC84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80251D28 0024EC88 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80251D2C 0024EC8C 7C 08 03 A6 */ mtlr r0 +/* 80251D30 0024EC90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80251D34 0024EC94 4E 80 00 20 */ blr + +.global sub_80251d38 +sub_80251d38: +/* 80251D38 0024EC98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251D3C 0024EC9C 7C 08 02 A6 */ mflr r0 +/* 80251D40 0024ECA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251D44 0024ECA4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80251D48 0024ECA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251D4C 0024ECAC 7C 9F 23 78 */ mr r31, r4 +/* 80251D50 0024ECB0 93 C1 00 08 */ stw r30, 8(r1) +/* 80251D54 0024ECB4 7C 7E 1B 78 */ mr r30, r3 +/* 80251D58 0024ECB8 41 82 00 5C */ beq lbl_80251DB4 +/* 80251D5C 0024ECBC 81 83 00 00 */ lwz r12, 0(r3) +/* 80251D60 0024ECC0 38 80 00 00 */ li r4, 0 +/* 80251D64 0024ECC4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80251D68 0024ECC8 7D 89 03 A6 */ mtctr r12 +/* 80251D6C 0024ECCC 4E 80 04 21 */ bctrl +/* 80251D70 0024ECD0 80 7E 04 78 */ lwz r3, 0x478(r30) +/* 80251D74 0024ECD4 38 80 00 00 */ li r4, 0 +/* 80251D78 0024ECD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80251D7C 0024ECDC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80251D80 0024ECE0 7D 89 03 A6 */ mtctr r12 +/* 80251D84 0024ECE4 4E 80 04 21 */ bctrl +/* 80251D88 0024ECE8 80 7E 04 68 */ lwz r3, 0x468(r30) +/* 80251D8C 0024ECEC 38 80 00 00 */ li r4, 0 +/* 80251D90 0024ECF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80251D94 0024ECF4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80251D98 0024ECF8 7D 89 03 A6 */ mtctr r12 +/* 80251D9C 0024ECFC 4E 80 04 21 */ bctrl +/* 80251DA0 0024ED00 7F C3 F3 78 */ mr r3, r30 +/* 80251DA4 0024ED04 7F E4 FB 78 */ mr r4, r31 +/* 80251DA8 0024ED08 38 A0 00 01 */ li r5, 1 +/* 80251DAC 0024ED0C 4B F4 75 8D */ bl ResetBeam__15CBeamProjectileFR13CStateManagerb +/* 80251DB0 0024ED10 48 00 00 0C */ b lbl_80251DBC +lbl_80251DB4: +/* 80251DB4 0024ED14 38 00 00 00 */ li r0, 0 +/* 80251DB8 0024ED18 98 1E 04 8C */ stb r0, 0x48c(r30) +lbl_80251DBC: +/* 80251DBC 0024ED1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251DC0 0024ED20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80251DC4 0024ED24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80251DC8 0024ED28 7C 08 03 A6 */ mtlr r0 +/* 80251DCC 0024ED2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251DD0 0024ED30 4E 80 00 20 */ blr + +.global sub_80251dd4 +sub_80251dd4: +/* 80251DD4 0024ED34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251DD8 0024ED38 7C 08 02 A6 */ mflr r0 +/* 80251DDC 0024ED3C 38 80 00 01 */ li r4, 1 +/* 80251DE0 0024ED40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251DE4 0024ED44 38 00 00 01 */ li r0, 1 +/* 80251DE8 0024ED48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251DEC 0024ED4C 7C 7F 1B 78 */ mr r31, r3 +/* 80251DF0 0024ED50 98 03 04 8C */ stb r0, 0x48c(r3) +/* 80251DF4 0024ED54 81 83 00 00 */ lwz r12, 0(r3) +/* 80251DF8 0024ED58 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80251DFC 0024ED5C 7D 89 03 A6 */ mtctr r12 +/* 80251E00 0024ED60 4E 80 04 21 */ bctrl +/* 80251E04 0024ED64 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) +/* 80251E08 0024ED68 D0 1F 04 80 */ stfs f0, 0x480(r31) +/* 80251E0C 0024ED6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251E10 0024ED70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80251E14 0024ED74 7C 08 03 A6 */ mtlr r0 +/* 80251E18 0024ED78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251E1C 0024ED7C 4E 80 00 20 */ blr + +.global AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager: +/* 80251E20 0024ED80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80251E24 0024ED84 7C 08 02 A6 */ mflr r0 +/* 80251E28 0024ED88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80251E2C 0024ED8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80251E30 0024ED90 7C 7F 1B 78 */ mr r31, r3 +/* 80251E34 0024ED94 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80251E38 0024ED98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80251E3C 0024ED9C 41 82 00 34 */ beq lbl_80251E70 +/* 80251E40 0024EDA0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80251E44 0024EDA4 80 9F 04 78 */ lwz r4, 0x478(r31) +/* 80251E48 0024EDA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80251E4C 0024EDAC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80251E50 0024EDB0 7D 89 03 A6 */ mtctr r12 +/* 80251E54 0024EDB4 4E 80 04 21 */ bctrl +/* 80251E58 0024EDB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80251E5C 0024EDBC 80 9F 04 68 */ lwz r4, 0x468(r31) +/* 80251E60 0024EDC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80251E64 0024EDC4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80251E68 0024EDC8 7D 89 03 A6 */ mtctr r12 +/* 80251E6C 0024EDCC 4E 80 04 21 */ bctrl +lbl_80251E70: +/* 80251E70 0024EDD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80251E74 0024EDD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80251E78 0024EDD8 7C 08 03 A6 */ mtlr r0 +/* 80251E7C 0024EDDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80251E80 0024EDE0 4E 80 00 20 */ blr + +.global sub_80251e84 +sub_80251e84: +/* 80251E84 0024EDE4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80251E88 0024EDE8 7C 08 02 A6 */ mflr r0 +/* 80251E8C 0024EDEC 90 01 00 94 */ stw r0, 0x94(r1) +/* 80251E90 0024EDF0 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80251E94 0024EDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80251E98 0024EDF8 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80251E9C 0024EDFC 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80251EA0 0024EE00 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80251EA4 0024EE04 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80251EA8 0024EE08 FF E0 08 90 */ fmr f31, f1 +/* 80251EAC 0024EE0C 7C 7F 1B 78 */ mr r31, r3 +/* 80251EB0 0024EE10 7C 9E 23 78 */ mr r30, r4 +/* 80251EB4 0024EE14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80251EB8 0024EE18 7C BD 2B 78 */ mr r29, r5 +/* 80251EBC 0024EE1C 41 82 04 20 */ beq lbl_802522DC +/* 80251EC0 0024EE20 C0 3F 04 84 */ lfs f1, 0x484(r31) +/* 80251EC4 0024EE24 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) +/* 80251EC8 0024EE28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80251ECC 0024EE2C 4C 40 13 82 */ cror 2, 0, 2 +/* 80251ED0 0024EE30 40 82 00 14 */ bne lbl_80251EE4 +/* 80251ED4 0024EE34 88 1F 04 64 */ lbz r0, 0x464(r31) +/* 80251ED8 0024EE38 38 60 00 01 */ li r3, 1 +/* 80251EDC 0024EE3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80251EE0 0024EE40 98 1F 04 64 */ stb r0, 0x464(r31) +lbl_80251EE4: +/* 80251EE4 0024EE44 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80251EE8 0024EE48 2C 00 00 01 */ cmpwi r0, 1 +/* 80251EEC 0024EE4C 40 82 00 1C */ bne lbl_80251F08 +/* 80251EF0 0024EE50 C0 1F 04 88 */ lfs f0, 0x488(r31) +/* 80251EF4 0024EE54 38 60 00 00 */ li r3, 0 +/* 80251EF8 0024EE58 D0 1F 04 84 */ stfs f0, 0x484(r31) +/* 80251EFC 0024EE5C 88 1F 04 64 */ lbz r0, 0x464(r31) +/* 80251F00 0024EE60 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80251F04 0024EE64 98 1F 04 64 */ stb r0, 0x464(r31) +lbl_80251F08: +/* 80251F08 0024EE68 C0 1F 04 84 */ lfs f0, 0x484(r31) +/* 80251F0C 0024EE6C C0 22 B8 F0 */ lfs f1, lbl_805AD610@sda21(r2) +/* 80251F10 0024EE70 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 80251F14 0024EE74 C0 02 B8 F4 */ lfs f0, lbl_805AD614@sda21(r2) +/* 80251F18 0024EE78 D0 5F 04 84 */ stfs f2, 0x484(r31) +/* 80251F1C 0024EE7C C0 5F 04 7C */ lfs f2, 0x47c(r31) +/* 80251F20 0024EE80 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80251F24 0024EE84 FC 20 0A 10 */ fabs f1, f1 +/* 80251F28 0024EE88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80251F2C 0024EE8C 41 80 00 80 */ blt lbl_80251FAC +/* 80251F30 0024EE90 88 1F 04 8C */ lbz r0, 0x48c(r31) +/* 80251F34 0024EE94 28 00 00 00 */ cmplwi r0, 0 +/* 80251F38 0024EE98 41 82 00 0C */ beq lbl_80251F44 +/* 80251F3C 0024EE9C C0 42 B8 F8 */ lfs f2, lbl_805AD618@sda21(r2) +/* 80251F40 0024EEA0 48 00 00 08 */ b lbl_80251F48 +lbl_80251F44: +/* 80251F44 0024EEA4 C0 42 B8 FC */ lfs f2, lbl_805AD61C@sda21(r2) +lbl_80251F48: +/* 80251F48 0024EEA8 C0 1F 04 7C */ lfs f0, 0x47c(r31) +/* 80251F4C 0024EEAC C0 3F 04 80 */ lfs f1, 0x480(r31) +/* 80251F50 0024EEB0 EC 42 00 24 */ fdivs f2, f2, f0 +/* 80251F54 0024EEB4 C0 0D 97 28 */ lfs f0, lbl_805A82E8@sda21(r13) +/* 80251F58 0024EEB8 EC 3F 08 BA */ fmadds f1, f31, f2, f1 +/* 80251F5C 0024EEBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80251F60 0024EEC0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80251F64 0024EEC4 40 80 00 0C */ bge lbl_80251F70 +/* 80251F68 0024EEC8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80251F6C 0024EECC 48 00 00 08 */ b lbl_80251F74 +lbl_80251F70: +/* 80251F70 0024EED0 38 6D 97 28 */ addi r3, r13, lbl_805A82E8@sda21 +lbl_80251F74: +/* 80251F74 0024EED4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80251F78 0024EED8 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) +/* 80251F7C 0024EEDC D0 3F 04 80 */ stfs f1, 0x480(r31) +/* 80251F80 0024EEE0 C0 3F 04 80 */ lfs f1, 0x480(r31) +/* 80251F84 0024EEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80251F88 0024EEE8 40 80 00 2C */ bge lbl_80251FB4 +/* 80251F8C 0024EEEC 7F E3 FB 78 */ mr r3, r31 +/* 80251F90 0024EEF0 7F A4 EB 78 */ mr r4, r29 +/* 80251F94 0024EEF4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80251F98 0024EEF8 38 A0 00 01 */ li r5, 1 +/* 80251F9C 0024EEFC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80251FA0 0024EF00 7D 89 03 A6 */ mtctr r12 +/* 80251FA4 0024EF04 4E 80 04 21 */ bctrl +/* 80251FA8 0024EF08 48 00 00 0C */ b lbl_80251FB4 +lbl_80251FAC: +/* 80251FAC 0024EF0C C0 02 B8 F8 */ lfs f0, lbl_805AD618@sda21(r2) +/* 80251FB0 0024EF10 D0 1F 04 80 */ stfs f0, 0x480(r31) +lbl_80251FB4: +/* 80251FB4 0024EF14 FC 20 F8 90 */ fmr f1, f31 +/* 80251FB8 0024EF18 7F E3 FB 78 */ mr r3, r31 +/* 80251FBC 0024EF1C 7F C4 F3 78 */ mr r4, r30 +/* 80251FC0 0024EF20 7F A5 EB 78 */ mr r5, r29 +/* 80251FC4 0024EF24 4B F4 6E 1D */ bl UpdateFx__15CBeamProjectileFRC12CTransform4ffR13CStateManager +/* 80251FC8 0024EF28 83 BF 04 78 */ lwz r29, 0x478(r31) +/* 80251FCC 0024EF2C 48 0F 7F E1 */ bl White__6CColorFv +/* 80251FD0 0024EF30 7C 7E 1B 78 */ mr r30, r3 +/* 80251FD4 0024EF34 48 0F 7F E1 */ bl Black__6CColorFv +/* 80251FD8 0024EF38 C0 3F 04 80 */ lfs f1, 0x480(r31) +/* 80251FDC 0024EF3C 7C 64 1B 78 */ mr r4, r3 +/* 80251FE0 0024EF40 7F C5 F3 78 */ mr r5, r30 +/* 80251FE4 0024EF44 38 61 00 0C */ addi r3, r1, 0xc +/* 80251FE8 0024EF48 48 11 12 C5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80251FEC 0024EF4C 7F A3 EB 78 */ mr r3, r29 +/* 80251FF0 0024EF50 38 81 00 0C */ addi r4, r1, 0xc +/* 80251FF4 0024EF54 81 9D 00 00 */ lwz r12, 0(r29) +/* 80251FF8 0024EF58 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80251FFC 0024EF5C 7D 89 03 A6 */ mtctr r12 +/* 80252000 0024EF60 4E 80 04 21 */ bctrl +/* 80252004 0024EF64 80 7F 02 F8 */ lwz r3, 0x2f8(r31) +/* 80252008 0024EF68 7C 03 00 D0 */ neg r0, r3 +/* 8025200C 0024EF6C 7C 00 1B 78 */ or r0, r0, r3 +/* 80252010 0024EF70 54 1E 0F FF */ rlwinm. r30, r0, 1, 0x1f, 0x1f +/* 80252014 0024EF74 41 82 00 A0 */ beq lbl_802520B4 +/* 80252018 0024EF78 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8025201C 0024EF7C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80252020 0024EF80 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80252024 0024EF84 83 BF 04 78 */ lwz r29, 0x478(r31) +/* 80252028 0024EF88 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8025202C 0024EF8C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80252030 0024EF90 38 BF 03 0C */ addi r5, r31, 0x30c +/* 80252034 0024EF94 48 0C 1A DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80252038 0024EF98 7F A3 EB 78 */ mr r3, r29 +/* 8025203C 0024EF9C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80252040 0024EFA0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80252044 0024EFA4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80252048 0024EFA8 7D 89 03 A6 */ mtctr r12 +/* 8025204C 0024EFAC 4E 80 04 21 */ bctrl +/* 80252050 0024EFB0 C0 62 B9 00 */ lfs f3, lbl_805AD620@sda21(r2) +/* 80252054 0024EFB4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80252058 0024EFB8 C0 5F 03 10 */ lfs f2, 0x310(r31) +/* 8025205C 0024EFBC C0 3F 03 14 */ lfs f1, 0x314(r31) +/* 80252060 0024EFC0 C0 1F 03 0C */ lfs f0, 0x30c(r31) +/* 80252064 0024EFC4 EC A3 00 B2 */ fmuls f5, f3, f2 +/* 80252068 0024EFC8 EC 83 00 72 */ fmuls f4, f3, f1 +/* 8025206C 0024EFCC C0 5F 03 1C */ lfs f2, 0x31c(r31) +/* 80252070 0024EFD0 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80252074 0024EFD4 C0 3F 03 20 */ lfs f1, 0x320(r31) +/* 80252078 0024EFD8 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 8025207C 0024EFDC EC 42 28 2A */ fadds f2, f2, f5 +/* 80252080 0024EFE0 EC 21 20 2A */ fadds f1, f1, f4 +/* 80252084 0024EFE4 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80252088 0024EFE8 EC 00 18 2A */ fadds f0, f0, f3 +/* 8025208C 0024EFEC D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80252090 0024EFF0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80252094 0024EFF4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80252098 0024EFF8 80 7F 04 78 */ lwz r3, 0x478(r31) +/* 8025209C 0024EFFC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802520A0 0024F000 81 83 00 00 */ lwz r12, 0(r3) +/* 802520A4 0024F004 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802520A8 0024F008 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802520AC 0024F00C 7D 89 03 A6 */ mtctr r12 +/* 802520B0 0024F010 4E 80 04 21 */ bctrl +lbl_802520B4: +/* 802520B4 0024F014 80 7F 04 78 */ lwz r3, 0x478(r31) +/* 802520B8 0024F018 7F C4 F3 78 */ mr r4, r30 +/* 802520BC 0024F01C 81 83 00 00 */ lwz r12, 0(r3) +/* 802520C0 0024F020 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802520C4 0024F024 7D 89 03 A6 */ mtctr r12 +/* 802520C8 0024F028 4E 80 04 21 */ bctrl +/* 802520CC 0024F02C 80 7F 04 78 */ lwz r3, 0x478(r31) +/* 802520D0 0024F030 FC 20 F8 90 */ fmr f1, f31 +/* 802520D4 0024F034 81 83 00 00 */ lwz r12, 0(r3) +/* 802520D8 0024F038 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802520DC 0024F03C 7D 89 03 A6 */ mtctr r12 +/* 802520E0 0024F040 4E 80 04 21 */ bctrl +/* 802520E4 0024F044 83 BF 04 68 */ lwz r29, 0x468(r31) +/* 802520E8 0024F048 48 0F 7E C5 */ bl White__6CColorFv +/* 802520EC 0024F04C 7C 7E 1B 78 */ mr r30, r3 +/* 802520F0 0024F050 48 0F 7E C5 */ bl Black__6CColorFv +/* 802520F4 0024F054 C0 3F 04 80 */ lfs f1, 0x480(r31) +/* 802520F8 0024F058 7C 64 1B 78 */ mr r4, r3 +/* 802520FC 0024F05C 7F C5 F3 78 */ mr r5, r30 +/* 80252100 0024F060 38 61 00 08 */ addi r3, r1, 8 +/* 80252104 0024F064 48 11 11 A9 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80252108 0024F068 7F A3 EB 78 */ mr r3, r29 +/* 8025210C 0024F06C 38 81 00 08 */ addi r4, r1, 8 +/* 80252110 0024F070 81 9D 00 00 */ lwz r12, 0(r29) +/* 80252114 0024F074 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80252118 0024F078 7D 89 03 A6 */ mtctr r12 +/* 8025211C 0024F07C 4E 80 04 21 */ bctrl +/* 80252120 0024F080 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 80252124 0024F084 38 80 00 01 */ li r4, 1 +/* 80252128 0024F088 81 83 00 00 */ lwz r12, 0(r3) +/* 8025212C 0024F08C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80252130 0024F090 7D 89 03 A6 */ mtctr r12 +/* 80252134 0024F094 4E 80 04 21 */ bctrl +/* 80252138 0024F098 C0 3F 03 1C */ lfs f1, 0x31c(r31) +/* 8025213C 0024F09C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80252140 0024F0A0 C0 1F 03 40 */ lfs f0, 0x340(r31) +/* 80252144 0024F0A4 C0 7F 03 20 */ lfs f3, 0x320(r31) +/* 80252148 0024F0A8 C0 5F 03 50 */ lfs f2, 0x350(r31) +/* 8025214C 0024F0AC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80252150 0024F0B0 C0 3F 03 18 */ lfs f1, 0x318(r31) +/* 80252154 0024F0B4 C0 1F 03 30 */ lfs f0, 0x330(r31) +/* 80252158 0024F0B8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8025215C 0024F0BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80252160 0024F0C0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80252164 0024F0C4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80252168 0024F0C8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8025216C 0024F0CC 48 0C 25 8D */ bl CanBeNormalized__9CVector3fCFv +/* 80252170 0024F0D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80252174 0024F0D4 41 82 00 0C */ beq lbl_80252180 +/* 80252178 0024F0D8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8025217C 0024F0DC 48 0C 27 7D */ bl Normalize__9CVector3fFv +lbl_80252180: +/* 80252180 0024F0E0 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 80252184 0024F0E4 C0 5F 03 50 */ lfs f2, 0x350(r31) +/* 80252188 0024F0E8 88 03 01 84 */ lbz r0, 0x184(r3) +/* 8025218C 0024F0EC C0 3F 03 40 */ lfs f1, 0x340(r31) +/* 80252190 0024F0F0 28 00 00 00 */ cmplwi r0, 0 +/* 80252194 0024F0F4 C0 1F 03 30 */ lfs f0, 0x330(r31) +/* 80252198 0024F0F8 40 82 00 24 */ bne lbl_802521BC +/* 8025219C 0024F0FC 34 83 01 78 */ addic. r4, r3, 0x178 +/* 802521A0 0024F100 41 82 00 10 */ beq lbl_802521B0 +/* 802521A4 0024F104 D0 04 00 00 */ stfs f0, 0(r4) +/* 802521A8 0024F108 D0 24 00 04 */ stfs f1, 4(r4) +/* 802521AC 0024F10C D0 44 00 08 */ stfs f2, 8(r4) +lbl_802521B0: +/* 802521B0 0024F110 38 00 00 01 */ li r0, 1 +/* 802521B4 0024F114 98 03 01 84 */ stb r0, 0x184(r3) +/* 802521B8 0024F118 48 00 00 10 */ b lbl_802521C8 +lbl_802521BC: +/* 802521BC 0024F11C D0 03 01 78 */ stfs f0, 0x178(r3) +/* 802521C0 0024F120 D0 23 01 7C */ stfs f1, 0x17c(r3) +/* 802521C4 0024F124 D0 43 01 80 */ stfs f2, 0x180(r3) +lbl_802521C8: +/* 802521C8 0024F128 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 802521CC 0024F12C 88 03 01 94 */ lbz r0, 0x194(r3) +/* 802521D0 0024F130 28 00 00 00 */ cmplwi r0, 0 +/* 802521D4 0024F134 40 82 00 30 */ bne lbl_80252204 +/* 802521D8 0024F138 34 83 01 88 */ addic. r4, r3, 0x188 +/* 802521DC 0024F13C 41 82 00 1C */ beq lbl_802521F8 +/* 802521E0 0024F140 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802521E4 0024F144 D0 04 00 00 */ stfs f0, 0(r4) +/* 802521E8 0024F148 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802521EC 0024F14C D0 04 00 04 */ stfs f0, 4(r4) +/* 802521F0 0024F150 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802521F4 0024F154 D0 04 00 08 */ stfs f0, 8(r4) +lbl_802521F8: +/* 802521F8 0024F158 38 00 00 01 */ li r0, 1 +/* 802521FC 0024F15C 98 03 01 94 */ stb r0, 0x194(r3) +/* 80252200 0024F160 48 00 00 1C */ b lbl_8025221C +lbl_80252204: +/* 80252204 0024F164 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80252208 0024F168 D0 03 01 88 */ stfs f0, 0x188(r3) +/* 8025220C 0024F16C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80252210 0024F170 D0 03 01 8C */ stfs f0, 0x18c(r3) +/* 80252214 0024F174 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80252218 0024F178 D0 03 01 90 */ stfs f0, 0x190(r3) +lbl_8025221C: +/* 8025221C 0024F17C 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 80252220 0024F180 88 03 01 A4 */ lbz r0, 0x1a4(r3) +/* 80252224 0024F184 28 00 00 00 */ cmplwi r0, 0 +/* 80252228 0024F188 40 82 00 30 */ bne lbl_80252258 +/* 8025222C 0024F18C 34 83 01 98 */ addic. r4, r3, 0x198 +/* 80252230 0024F190 41 82 00 1C */ beq lbl_8025224C +/* 80252234 0024F194 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 80252238 0024F198 D0 04 00 00 */ stfs f0, 0(r4) +/* 8025223C 0024F19C C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 80252240 0024F1A0 D0 04 00 04 */ stfs f0, 4(r4) +/* 80252244 0024F1A4 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 80252248 0024F1A8 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8025224C: +/* 8025224C 0024F1AC 38 00 00 01 */ li r0, 1 +/* 80252250 0024F1B0 98 03 01 A4 */ stb r0, 0x1a4(r3) +/* 80252254 0024F1B4 48 00 00 1C */ b lbl_80252270 +lbl_80252258: +/* 80252258 0024F1B8 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 8025225C 0024F1BC D0 03 01 98 */ stfs f0, 0x198(r3) +/* 80252260 0024F1C0 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 80252264 0024F1C4 D0 03 01 9C */ stfs f0, 0x19c(r3) +/* 80252268 0024F1C8 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 8025226C 0024F1CC D0 03 01 A0 */ stfs f0, 0x1a0(r3) +lbl_80252270: +/* 80252270 0024F1D0 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 80252274 0024F1D4 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80252278 0024F1D8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8025227C 0024F1DC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80252280 0024F1E0 FC 40 10 50 */ fneg f2, f2 +/* 80252284 0024F1E4 88 03 01 B4 */ lbz r0, 0x1b4(r3) +/* 80252288 0024F1E8 FC 20 08 50 */ fneg f1, f1 +/* 8025228C 0024F1EC FC 00 00 50 */ fneg f0, f0 +/* 80252290 0024F1F0 28 00 00 00 */ cmplwi r0, 0 +/* 80252294 0024F1F4 40 82 00 24 */ bne lbl_802522B8 +/* 80252298 0024F1F8 34 83 01 A8 */ addic. r4, r3, 0x1a8 +/* 8025229C 0024F1FC 41 82 00 10 */ beq lbl_802522AC +/* 802522A0 0024F200 D0 04 00 00 */ stfs f0, 0(r4) +/* 802522A4 0024F204 D0 24 00 04 */ stfs f1, 4(r4) +/* 802522A8 0024F208 D0 44 00 08 */ stfs f2, 8(r4) +lbl_802522AC: +/* 802522AC 0024F20C 38 00 00 01 */ li r0, 1 +/* 802522B0 0024F210 98 03 01 B4 */ stb r0, 0x1b4(r3) +/* 802522B4 0024F214 48 00 00 10 */ b lbl_802522C4 +lbl_802522B8: +/* 802522B8 0024F218 D0 03 01 A8 */ stfs f0, 0x1a8(r3) +/* 802522BC 0024F21C D0 23 01 AC */ stfs f1, 0x1ac(r3) +/* 802522C0 0024F220 D0 43 01 B0 */ stfs f2, 0x1b0(r3) +lbl_802522C4: +/* 802522C4 0024F224 80 7F 04 68 */ lwz r3, 0x468(r31) +/* 802522C8 0024F228 FC 20 F8 90 */ fmr f1, f31 +/* 802522CC 0024F22C 81 83 00 00 */ lwz r12, 0(r3) +/* 802522D0 0024F230 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802522D4 0024F234 7D 89 03 A6 */ mtctr r12 +/* 802522D8 0024F238 4E 80 04 21 */ bctrl +lbl_802522DC: +/* 802522DC 0024F23C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802522E0 0024F240 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802522E4 0024F244 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802522E8 0024F248 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802522EC 0024F24C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802522F0 0024F250 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802522F4 0024F254 7C 08 03 A6 */ mtlr r0 +/* 802522F8 0024F258 38 21 00 90 */ addi r1, r1, 0x90 +/* 802522FC 0024F25C 4E 80 00 20 */ blr + +.global nullsub_65 +nullsub_65: +/* 80252300 0024F260 4E 80 00 20 */ blr + +.global Accept__23CElectricBeamProjectileFR8IVisitor +Accept__23CElectricBeamProjectileFR8IVisitor: +/* 80252304 0024F264 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80252308 0024F268 7C 08 02 A6 */ mflr r0 +/* 8025230C 0024F26C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80252310 0024F270 7C 60 1B 78 */ mr r0, r3 +/* 80252314 0024F274 7C 83 23 78 */ mr r3, r4 +/* 80252318 0024F278 81 84 00 00 */ lwz r12, 0(r4) +/* 8025231C 0024F27C 7C 04 03 78 */ mr r4, r0 +/* 80252320 0024F280 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80252324 0024F284 7D 89 03 A6 */ mtctr r12 +/* 80252328 0024F288 4E 80 04 21 */ bctrl +/* 8025232C 0024F28C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80252330 0024F290 7C 08 03 A6 */ mtlr r0 +/* 80252334 0024F294 38 21 00 10 */ addi r1, r1, 0x10 +/* 80252338 0024F298 4E 80 00 20 */ blr + +.global __ct__23CElectricBeamProjectile +__ct__23CElectricBeamProjectile: +/* 8025233C 0024F29C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80252340 0024F2A0 7C 08 02 A6 */ mflr r0 +/* 80252344 0024F2A4 3D 60 80 3D */ lis r11, lbl_803D4B78@ha +/* 80252348 0024F2A8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8025234C 0024F2AC 38 0B 4B 78 */ addi r0, r11, lbl_803D4B78@l +/* 80252350 0024F2B0 BE A1 00 74 */ stmw r21, 0x74(r1) +/* 80252354 0024F2B4 7C 78 1B 78 */ mr r24, r3 +/* 80252358 0024F2B8 7C 99 23 78 */ mr r25, r4 +/* 8025235C 0024F2BC 83 E1 00 A8 */ lwz r31, 0xa8(r1) +/* 80252360 0024F2C0 82 E1 00 AC */ lwz r23, 0xac(r1) +/* 80252364 0024F2C4 7C BA 2B 78 */ mr r26, r5 +/* 80252368 0024F2C8 82 C1 00 B0 */ lwz r22, 0xb0(r1) +/* 8025236C 0024F2CC 7C DB 33 78 */ mr r27, r6 +/* 80252370 0024F2D0 7C FC 3B 78 */ mr r28, r7 +/* 80252374 0024F2D4 7D 1D 43 78 */ mr r29, r8 +/* 80252378 0024F2D8 7D 3E 4B 78 */ mr r30, r9 +/* 8025237C 0024F2DC 7D 55 53 78 */ mr r21, r10 +/* 80252380 0024F2E0 7C 04 03 78 */ mr r4, r0 +/* 80252384 0024F2E4 38 61 00 4C */ addi r3, r1, 0x4c +/* 80252388 0024F2E8 4B DB 29 31 */ bl string_l__4rstlFPCc +/* 8025238C 0024F2EC A0 17 00 00 */ lhz r0, 0(r23) +/* 80252390 0024F2F0 39 81 00 24 */ addi r12, r1, 0x24 +/* 80252394 0024F2F4 A2 F5 00 00 */ lhz r23, 0(r21) +/* 80252398 0024F2F8 39 61 00 28 */ addi r11, r1, 0x28 +/* 8025239C 0024F2FC B0 01 00 20 */ sth r0, 0x20(r1) +/* 802523A0 0024F300 39 01 00 20 */ addi r8, r1, 0x20 +/* 802523A4 0024F304 38 00 00 00 */ li r0, 0 +/* 802523A8 0024F308 7F 03 C3 78 */ mr r3, r24 +/* 802523AC 0024F30C 80 BF 00 00 */ lwz r5, 0(r31) +/* 802523B0 0024F310 7F 24 CB 78 */ mr r4, r25 +/* 802523B4 0024F314 7F 46 D3 78 */ mr r6, r26 +/* 802523B8 0024F318 7F 87 E3 78 */ mr r7, r28 +/* 802523BC 0024F31C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 802523C0 0024F320 7F A9 EB 78 */ mr r9, r29 +/* 802523C4 0024F324 7F CA F3 78 */ mr r10, r30 +/* 802523C8 0024F328 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802523CC 0024F32C B2 E1 00 24 */ sth r23, 0x24(r1) +/* 802523D0 0024F330 91 81 00 08 */ stw r12, 8(r1) +/* 802523D4 0024F334 91 61 00 0C */ stw r11, 0xc(r1) +/* 802523D8 0024F338 91 01 00 10 */ stw r8, 0x10(r1) +/* 802523DC 0024F33C 92 C1 00 14 */ stw r22, 0x14(r1) +/* 802523E0 0024F340 90 01 00 18 */ stw r0, 0x18(r1) +/* 802523E4 0024F344 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802523E8 0024F348 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 802523EC 0024F34C FC 00 00 1E */ fctiwz f0, f0 +/* 802523F0 0024F350 C0 5B 00 10 */ lfs f2, 0x10(r27) +/* 802523F4 0024F354 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 802523F8 0024F358 81 01 00 64 */ lwz r8, 0x64(r1) +/* 802523FC 0024F35C 4B F4 70 91 */ bl "__ct__15CBeamProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib" +/* 80252400 0024F360 38 61 00 4C */ addi r3, r1, 0x4c +/* 80252404 0024F364 48 0E B6 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80252408 0024F368 3C 80 80 3F */ lis r4, lbl_803E9118@ha +/* 8025240C 0024F36C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha +/* 80252410 0024F370 38 04 91 18 */ addi r0, r4, lbl_803E9118@l +/* 80252414 0024F374 3A A0 00 00 */ li r21, 0 +/* 80252418 0024F378 38 63 4B 78 */ addi r3, r3, lbl_803D4B78@l +/* 8025241C 0024F37C 90 18 00 00 */ stw r0, 0(r24) +/* 80252420 0024F380 38 83 00 17 */ addi r4, r3, 0x17 +/* 80252424 0024F384 38 60 04 58 */ li r3, 0x458 +/* 80252428 0024F388 38 A0 00 00 */ li r5, 0 +/* 8025242C 0024F38C 48 0C 34 41 */ bl __nw__FUlPCcPCc +/* 80252430 0024F390 7C 77 1B 79 */ or. r23, r3, r3 +/* 80252434 0024F394 41 82 00 24 */ beq lbl_80252458 +/* 80252438 0024F398 7F 64 DB 78 */ mr r4, r27 +/* 8025243C 0024F39C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80252440 0024F3A0 48 0E EA 69 */ bl __ct__6CTokenFRC6CToken +/* 80252444 0024F3A4 7E E3 BB 78 */ mr r3, r23 +/* 80252448 0024F3A8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8025244C 0024F3AC 3A A0 00 01 */ li r21, 1 +/* 80252450 0024F3B0 48 10 FD 21 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 80252454 0024F3B4 7C 77 1B 78 */ mr r23, r3 +lbl_80252458: +/* 80252458 0024F3B8 7E A0 07 75 */ extsb. r0, r21 +/* 8025245C 0024F3BC 92 F8 04 68 */ stw r23, 0x468(r24) +/* 80252460 0024F3C0 41 82 00 10 */ beq lbl_80252470 +/* 80252464 0024F3C4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80252468 0024F3C8 38 80 00 00 */ li r4, 0 +/* 8025246C 0024F3CC 48 0E E9 D5 */ bl __dt__6CTokenFv +lbl_80252470: +/* 80252470 0024F3D0 80 DB 00 14 */ lwz r6, 0x14(r27) +/* 80252474 0024F3D4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80252478 0024F3D8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8025247C 0024F3DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80252480 0024F3E0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80252484 0024F3E4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80252488 0024F3E8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8025248C 0024F3EC 90 C1 00 40 */ stw r6, 0x40(r1) +/* 80252490 0024F3F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80252494 0024F3F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80252498 0024F3F8 7D 89 03 A6 */ mtctr r12 +/* 8025249C 0024F3FC 4E 80 04 21 */ bctrl +/* 802524A0 0024F400 3A B8 04 6C */ addi r21, r24, 0x46c +/* 802524A4 0024F404 38 81 00 34 */ addi r4, r1, 0x34 +/* 802524A8 0024F408 7E A3 AB 78 */ mr r3, r21 +/* 802524AC 0024F40C 48 0E E9 FD */ bl __ct__6CTokenFRC6CToken +/* 802524B0 0024F410 7E A3 AB 78 */ mr r3, r21 +/* 802524B4 0024F414 48 0E E9 59 */ bl GetObj__6CTokenFv +/* 802524B8 0024F418 80 03 00 04 */ lwz r0, 4(r3) +/* 802524BC 0024F41C 38 61 00 34 */ addi r3, r1, 0x34 +/* 802524C0 0024F420 38 80 FF FF */ li r4, -1 +/* 802524C4 0024F424 90 15 00 08 */ stw r0, 8(r21) +/* 802524C8 0024F428 48 0E E9 79 */ bl __dt__6CTokenFv +/* 802524CC 0024F42C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha +/* 802524D0 0024F430 3A A0 00 00 */ li r21, 0 +/* 802524D4 0024F434 38 83 4B 78 */ addi r4, r3, lbl_803D4B78@l +/* 802524D8 0024F438 38 60 03 40 */ li r3, 0x340 +/* 802524DC 0024F43C 38 84 00 17 */ addi r4, r4, 0x17 +/* 802524E0 0024F440 38 A0 00 00 */ li r5, 0 +/* 802524E4 0024F444 48 0C 33 89 */ bl __nw__FUlPCcPCc +/* 802524E8 0024F448 7C 77 1B 79 */ or. r23, r3, r3 +/* 802524EC 0024F44C 41 82 00 2C */ beq lbl_80252518 +/* 802524F0 0024F450 38 61 00 2C */ addi r3, r1, 0x2c +/* 802524F4 0024F454 38 98 04 6C */ addi r4, r24, 0x46c +/* 802524F8 0024F458 48 0E E9 B1 */ bl __ct__6CTokenFRC6CToken +/* 802524FC 0024F45C 7E E3 BB 78 */ mr r3, r23 +/* 80252500 0024F460 38 81 00 2C */ addi r4, r1, 0x2c +/* 80252504 0024F464 3A A0 00 01 */ li r21, 1 +/* 80252508 0024F468 38 A0 00 00 */ li r5, 0 +/* 8025250C 0024F46C 38 C0 00 01 */ li r6, 1 +/* 80252510 0024F470 48 0C CE D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80252514 0024F474 7C 77 1B 78 */ mr r23, r3 +lbl_80252518: +/* 80252518 0024F478 7E A0 07 75 */ extsb. r0, r21 +/* 8025251C 0024F47C 92 F8 04 78 */ stw r23, 0x478(r24) +/* 80252520 0024F480 41 82 00 10 */ beq lbl_80252530 +/* 80252524 0024F484 38 61 00 2C */ addi r3, r1, 0x2c +/* 80252528 0024F488 38 80 00 00 */ li r4, 0 +/* 8025252C 0024F48C 48 0E E9 15 */ bl __dt__6CTokenFv +lbl_80252530: +/* 80252530 0024F490 C0 3B 00 18 */ lfs f1, 0x18(r27) +/* 80252534 0024F494 38 00 00 00 */ li r0, 0 +/* 80252538 0024F498 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) +/* 8025253C 0024F49C 38 80 00 00 */ li r4, 0 +/* 80252540 0024F4A0 D0 38 04 7C */ stfs f1, 0x47c(r24) +/* 80252544 0024F4A4 D0 18 04 84 */ stfs f0, 0x484(r24) +/* 80252548 0024F4A8 C0 1B 00 1C */ lfs f0, 0x1c(r27) +/* 8025254C 0024F4AC D0 18 04 88 */ stfs f0, 0x488(r24) +/* 80252550 0024F4B0 98 18 04 8C */ stb r0, 0x48c(r24) +/* 80252554 0024F4B4 80 78 04 78 */ lwz r3, 0x478(r24) +/* 80252558 0024F4B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8025255C 0024F4BC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80252560 0024F4C0 7D 89 03 A6 */ mtctr r12 +/* 80252564 0024F4C4 4E 80 04 21 */ bctrl +/* 80252568 0024F4C8 80 78 04 68 */ lwz r3, 0x468(r24) +/* 8025256C 0024F4CC 38 80 00 00 */ li r4, 0 +/* 80252570 0024F4D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80252574 0024F4D4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80252578 0024F4D8 7D 89 03 A6 */ mtctr r12 +/* 8025257C 0024F4DC 4E 80 04 21 */ bctrl +/* 80252580 0024F4E0 7F 03 C3 78 */ mr r3, r24 +/* 80252584 0024F4E4 BA A1 00 74 */ lmw r21, 0x74(r1) +/* 80252588 0024F4E8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8025258C 0024F4EC 7C 08 03 A6 */ mtlr r0 +/* 80252590 0024F4F0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80252594 0024F4F4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s b/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s new file mode 100644 index 00000000..6da652ba --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CNewFlameThrower.s @@ -0,0 +1,4475 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__16CNewFlameThrowerFv +__dt__16CNewFlameThrowerFv: +/* 80261080 0025DFE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80261084 0025DFE4 7C 08 02 A6 */ mflr r0 +/* 80261088 0025DFE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8026108C 0025DFEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261090 0025DFF0 7C 9F 23 78 */ mr r31, r4 +/* 80261094 0025DFF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80261098 0025DFF8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8026109C 0025DFFC 41 82 02 80 */ beq lbl_8026131C +/* 802610A0 0025E000 3C 60 80 3F */ lis r3, lbl_803E9D10@ha +/* 802610A4 0025E004 34 1E 03 B8 */ addic. r0, r30, 0x3b8 +/* 802610A8 0025E008 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l +/* 802610AC 0025E00C 90 1E 00 00 */ stw r0, 0(r30) +/* 802610B0 0025E010 41 82 00 58 */ beq lbl_80261108 +/* 802610B4 0025E014 80 BE 03 B8 */ lwz r5, 0x3b8(r30) +/* 802610B8 0025E018 38 60 00 00 */ li r3, 0 +/* 802610BC 0025E01C 2C 05 00 00 */ cmpwi r5, 0 +/* 802610C0 0025E020 40 81 00 40 */ ble lbl_80261100 +/* 802610C4 0025E024 2C 05 00 08 */ cmpwi r5, 8 +/* 802610C8 0025E028 38 85 FF F8 */ addi r4, r5, -8 +/* 802610CC 0025E02C 40 81 00 20 */ ble lbl_802610EC +/* 802610D0 0025E030 38 04 00 07 */ addi r0, r4, 7 +/* 802610D4 0025E034 54 00 E8 FE */ srwi r0, r0, 3 +/* 802610D8 0025E038 7C 09 03 A6 */ mtctr r0 +/* 802610DC 0025E03C 2C 04 00 00 */ cmpwi r4, 0 +/* 802610E0 0025E040 40 81 00 0C */ ble lbl_802610EC +lbl_802610E4: +/* 802610E4 0025E044 38 63 00 08 */ addi r3, r3, 8 +/* 802610E8 0025E048 42 00 FF FC */ bdnz lbl_802610E4 +lbl_802610EC: +/* 802610EC 0025E04C 7C 03 28 50 */ subf r0, r3, r5 +/* 802610F0 0025E050 7C 09 03 A6 */ mtctr r0 +/* 802610F4 0025E054 7C 03 28 00 */ cmpw r3, r5 +/* 802610F8 0025E058 40 80 00 08 */ bge lbl_80261100 +lbl_802610FC: +/* 802610FC 0025E05C 42 00 00 00 */ bdnz lbl_802610FC +lbl_80261100: +/* 80261100 0025E060 38 00 00 00 */ li r0, 0 +/* 80261104 0025E064 90 1E 03 B8 */ stw r0, 0x3b8(r30) +lbl_80261108: +/* 80261108 0025E068 38 7E 03 80 */ addi r3, r30, 0x380 +/* 8026110C 0025E06C 38 80 FF FF */ li r4, -1 +/* 80261110 0025E070 48 00 02 29 */ bl sub_80261338 +/* 80261114 0025E074 34 1E 03 70 */ addic. r0, r30, 0x370 +/* 80261118 0025E078 41 82 00 24 */ beq lbl_8026113C +/* 8026111C 0025E07C 80 7E 03 70 */ lwz r3, 0x370(r30) +/* 80261120 0025E080 28 03 00 00 */ cmplwi r3, 0 +/* 80261124 0025E084 41 82 00 18 */ beq lbl_8026113C +/* 80261128 0025E088 81 83 00 00 */ lwz r12, 0(r3) +/* 8026112C 0025E08C 38 80 00 01 */ li r4, 1 +/* 80261130 0025E090 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261134 0025E094 7D 89 03 A6 */ mtctr r12 +/* 80261138 0025E098 4E 80 04 21 */ bctrl +lbl_8026113C: +/* 8026113C 0025E09C 34 1E 03 6C */ addic. r0, r30, 0x36c +/* 80261140 0025E0A0 41 82 00 24 */ beq lbl_80261164 +/* 80261144 0025E0A4 80 7E 03 6C */ lwz r3, 0x36c(r30) +/* 80261148 0025E0A8 28 03 00 00 */ cmplwi r3, 0 +/* 8026114C 0025E0AC 41 82 00 18 */ beq lbl_80261164 +/* 80261150 0025E0B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80261154 0025E0B4 38 80 00 01 */ li r4, 1 +/* 80261158 0025E0B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8026115C 0025E0BC 7D 89 03 A6 */ mtctr r12 +/* 80261160 0025E0C0 4E 80 04 21 */ bctrl +lbl_80261164: +/* 80261164 0025E0C4 34 1E 03 68 */ addic. r0, r30, 0x368 +/* 80261168 0025E0C8 41 82 00 24 */ beq lbl_8026118C +/* 8026116C 0025E0CC 80 7E 03 68 */ lwz r3, 0x368(r30) +/* 80261170 0025E0D0 28 03 00 00 */ cmplwi r3, 0 +/* 80261174 0025E0D4 41 82 00 18 */ beq lbl_8026118C +/* 80261178 0025E0D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8026117C 0025E0DC 38 80 00 01 */ li r4, 1 +/* 80261180 0025E0E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261184 0025E0E4 7D 89 03 A6 */ mtctr r12 +/* 80261188 0025E0E8 4E 80 04 21 */ bctrl +lbl_8026118C: +/* 8026118C 0025E0EC 34 1E 03 64 */ addic. r0, r30, 0x364 +/* 80261190 0025E0F0 41 82 00 24 */ beq lbl_802611B4 +/* 80261194 0025E0F4 80 7E 03 64 */ lwz r3, 0x364(r30) +/* 80261198 0025E0F8 28 03 00 00 */ cmplwi r3, 0 +/* 8026119C 0025E0FC 41 82 00 18 */ beq lbl_802611B4 +/* 802611A0 0025E100 81 83 00 00 */ lwz r12, 0(r3) +/* 802611A4 0025E104 38 80 00 01 */ li r4, 1 +/* 802611A8 0025E108 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611AC 0025E10C 7D 89 03 A6 */ mtctr r12 +/* 802611B0 0025E110 4E 80 04 21 */ bctrl +lbl_802611B4: +/* 802611B4 0025E114 34 1E 03 60 */ addic. r0, r30, 0x360 +/* 802611B8 0025E118 41 82 00 24 */ beq lbl_802611DC +/* 802611BC 0025E11C 80 7E 03 60 */ lwz r3, 0x360(r30) +/* 802611C0 0025E120 28 03 00 00 */ cmplwi r3, 0 +/* 802611C4 0025E124 41 82 00 18 */ beq lbl_802611DC +/* 802611C8 0025E128 81 83 00 00 */ lwz r12, 0(r3) +/* 802611CC 0025E12C 38 80 00 01 */ li r4, 1 +/* 802611D0 0025E130 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611D4 0025E134 7D 89 03 A6 */ mtctr r12 +/* 802611D8 0025E138 4E 80 04 21 */ bctrl +lbl_802611DC: +/* 802611DC 0025E13C 34 1E 03 5C */ addic. r0, r30, 0x35c +/* 802611E0 0025E140 41 82 00 24 */ beq lbl_80261204 +/* 802611E4 0025E144 80 7E 03 5C */ lwz r3, 0x35c(r30) +/* 802611E8 0025E148 28 03 00 00 */ cmplwi r3, 0 +/* 802611EC 0025E14C 41 82 00 18 */ beq lbl_80261204 +/* 802611F0 0025E150 81 83 00 00 */ lwz r12, 0(r3) +/* 802611F4 0025E154 38 80 00 01 */ li r4, 1 +/* 802611F8 0025E158 81 8C 00 08 */ lwz r12, 8(r12) +/* 802611FC 0025E15C 7D 89 03 A6 */ mtctr r12 +/* 80261200 0025E160 4E 80 04 21 */ bctrl +lbl_80261204: +/* 80261204 0025E164 34 1E 03 58 */ addic. r0, r30, 0x358 +/* 80261208 0025E168 41 82 00 24 */ beq lbl_8026122C +/* 8026120C 0025E16C 80 7E 03 58 */ lwz r3, 0x358(r30) +/* 80261210 0025E170 28 03 00 00 */ cmplwi r3, 0 +/* 80261214 0025E174 41 82 00 18 */ beq lbl_8026122C +/* 80261218 0025E178 81 83 00 00 */ lwz r12, 0(r3) +/* 8026121C 0025E17C 38 80 00 01 */ li r4, 1 +/* 80261220 0025E180 81 8C 00 08 */ lwz r12, 8(r12) +/* 80261224 0025E184 7D 89 03 A6 */ mtctr r12 +/* 80261228 0025E188 4E 80 04 21 */ bctrl +lbl_8026122C: +/* 8026122C 0025E18C 34 1E 03 4C */ addic. r0, r30, 0x34c +/* 80261230 0025E190 41 82 00 18 */ beq lbl_80261248 +/* 80261234 0025E194 34 1E 03 4C */ addic. r0, r30, 0x34c +/* 80261238 0025E198 41 82 00 10 */ beq lbl_80261248 +/* 8026123C 0025E19C 38 7E 03 4C */ addi r3, r30, 0x34c +/* 80261240 0025E1A0 38 80 00 00 */ li r4, 0 +/* 80261244 0025E1A4 48 0D FB FD */ bl __dt__6CTokenFv +lbl_80261248: +/* 80261248 0025E1A8 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 8026124C 0025E1AC 41 82 00 18 */ beq lbl_80261264 +/* 80261250 0025E1B0 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 80261254 0025E1B4 41 82 00 10 */ beq lbl_80261264 +/* 80261258 0025E1B8 38 7E 03 40 */ addi r3, r30, 0x340 +/* 8026125C 0025E1BC 38 80 00 00 */ li r4, 0 +/* 80261260 0025E1C0 48 0D FB E1 */ bl __dt__6CTokenFv +lbl_80261264: +/* 80261264 0025E1C4 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 80261268 0025E1C8 41 82 00 18 */ beq lbl_80261280 +/* 8026126C 0025E1CC 34 1E 03 34 */ addic. r0, r30, 0x334 +/* 80261270 0025E1D0 41 82 00 10 */ beq lbl_80261280 +/* 80261274 0025E1D4 38 7E 03 34 */ addi r3, r30, 0x334 +/* 80261278 0025E1D8 38 80 00 00 */ li r4, 0 +/* 8026127C 0025E1DC 48 0D FB C5 */ bl __dt__6CTokenFv +lbl_80261280: +/* 80261280 0025E1E0 34 1E 03 28 */ addic. r0, r30, 0x328 +/* 80261284 0025E1E4 41 82 00 18 */ beq lbl_8026129C +/* 80261288 0025E1E8 34 1E 03 28 */ addic. r0, r30, 0x328 +/* 8026128C 0025E1EC 41 82 00 10 */ beq lbl_8026129C +/* 80261290 0025E1F0 38 7E 03 28 */ addi r3, r30, 0x328 +/* 80261294 0025E1F4 38 80 00 00 */ li r4, 0 +/* 80261298 0025E1F8 48 0D FB A9 */ bl __dt__6CTokenFv +lbl_8026129C: +/* 8026129C 0025E1FC 34 1E 03 1C */ addic. r0, r30, 0x31c +/* 802612A0 0025E200 41 82 00 18 */ beq lbl_802612B8 +/* 802612A4 0025E204 34 1E 03 1C */ addic. r0, r30, 0x31c +/* 802612A8 0025E208 41 82 00 10 */ beq lbl_802612B8 +/* 802612AC 0025E20C 38 7E 03 1C */ addi r3, r30, 0x31c +/* 802612B0 0025E210 38 80 00 00 */ li r4, 0 +/* 802612B4 0025E214 48 0D FB 8D */ bl __dt__6CTokenFv +lbl_802612B8: +/* 802612B8 0025E218 34 1E 03 10 */ addic. r0, r30, 0x310 +/* 802612BC 0025E21C 41 82 00 18 */ beq lbl_802612D4 +/* 802612C0 0025E220 34 1E 03 10 */ addic. r0, r30, 0x310 +/* 802612C4 0025E224 41 82 00 10 */ beq lbl_802612D4 +/* 802612C8 0025E228 38 7E 03 10 */ addi r3, r30, 0x310 +/* 802612CC 0025E22C 38 80 00 00 */ li r4, 0 +/* 802612D0 0025E230 48 0D FB 71 */ bl __dt__6CTokenFv +lbl_802612D4: +/* 802612D4 0025E234 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 802612D8 0025E238 41 82 00 18 */ beq lbl_802612F0 +/* 802612DC 0025E23C 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 802612E0 0025E240 41 82 00 10 */ beq lbl_802612F0 +/* 802612E4 0025E244 38 7E 03 04 */ addi r3, r30, 0x304 +/* 802612E8 0025E248 38 80 00 00 */ li r4, 0 +/* 802612EC 0025E24C 48 0D FB 55 */ bl __dt__6CTokenFv +lbl_802612F0: +/* 802612F0 0025E250 34 1E 02 F4 */ addic. r0, r30, 0x2f4 +/* 802612F4 0025E254 41 82 00 0C */ beq lbl_80261300 +/* 802612F8 0025E258 38 00 00 00 */ li r0, 0 +/* 802612FC 0025E25C 98 1E 03 00 */ stb r0, 0x300(r30) +lbl_80261300: +/* 80261300 0025E260 7F C3 F3 78 */ mr r3, r30 +/* 80261304 0025E264 38 80 00 00 */ li r4, 0 +/* 80261308 0025E268 4B DD 60 F9 */ bl __dt__15CGameProjectileFv +/* 8026130C 0025E26C 7F E0 07 35 */ extsh. r0, r31 +/* 80261310 0025E270 40 81 00 0C */ ble lbl_8026131C +/* 80261314 0025E274 7F C3 F3 78 */ mr r3, r30 +/* 80261318 0025E278 48 0B 46 19 */ bl Free__7CMemoryFPCv +lbl_8026131C: +/* 8026131C 0025E27C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261320 0025E280 7F C3 F3 78 */ mr r3, r30 +/* 80261324 0025E284 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261328 0025E288 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026132C 0025E28C 7C 08 03 A6 */ mtlr r0 +/* 80261330 0025E290 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261334 0025E294 4E 80 00 20 */ blr + +.global sub_80261338 +sub_80261338: +/* 80261338 0025E298 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8026133C 0025E29C 7C 08 02 A6 */ mflr r0 +/* 80261340 0025E2A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261344 0025E2A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261348 0025E2A8 7C 9F 23 78 */ mr r31, r4 +/* 8026134C 0025E2AC 93 C1 00 08 */ stw r30, 8(r1) +/* 80261350 0025E2B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80261354 0025E2B4 41 82 00 18 */ beq lbl_8026136C +/* 80261358 0025E2B8 48 00 00 31 */ bl sub_80261388 +/* 8026135C 0025E2BC 7F E0 07 35 */ extsh. r0, r31 +/* 80261360 0025E2C0 40 81 00 0C */ ble lbl_8026136C +/* 80261364 0025E2C4 7F C3 F3 78 */ mr r3, r30 +/* 80261368 0025E2C8 48 0B 45 C9 */ bl Free__7CMemoryFPCv +lbl_8026136C: +/* 8026136C 0025E2CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261370 0025E2D0 7F C3 F3 78 */ mr r3, r30 +/* 80261374 0025E2D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261378 0025E2D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8026137C 0025E2DC 7C 08 03 A6 */ mtlr r0 +/* 80261380 0025E2E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261384 0025E2E4 4E 80 00 20 */ blr + +.global sub_80261388 +sub_80261388: +/* 80261388 0025E2E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8026138C 0025E2EC 7C 08 02 A6 */ mflr r0 +/* 80261390 0025E2F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80261394 0025E2F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80261398 0025E2F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8026139C 0025E2FC 3B C0 00 00 */ li r30, 0 +/* 802613A0 0025E300 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802613A4 0025E304 7C 7D 1B 78 */ mr r29, r3 +/* 802613A8 0025E308 3B FD 00 04 */ addi r31, r29, 4 +/* 802613AC 0025E30C 48 00 00 54 */ b lbl_80261400 +lbl_802613B0: +/* 802613B0 0025E310 28 1F 00 00 */ cmplwi r31, 0 +/* 802613B4 0025E314 41 82 00 44 */ beq lbl_802613F8 +/* 802613B8 0025E318 80 1F 00 04 */ lwz r0, 4(r31) +/* 802613BC 0025E31C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802613C0 0025E320 54 00 18 38 */ slwi r0, r0, 3 +/* 802613C4 0025E324 7C 03 02 14 */ add r0, r3, r0 +/* 802613C8 0025E328 90 61 00 0C */ stw r3, 0xc(r1) +/* 802613CC 0025E32C 7C 64 1B 78 */ mr r4, r3 +/* 802613D0 0025E330 90 01 00 14 */ stw r0, 0x14(r1) +/* 802613D4 0025E334 90 01 00 10 */ stw r0, 0x10(r1) +/* 802613D8 0025E338 90 61 00 08 */ stw r3, 8(r1) +/* 802613DC 0025E33C 48 00 00 08 */ b lbl_802613E4 +lbl_802613E0: +/* 802613E0 0025E340 38 84 00 08 */ addi r4, r4, 8 +lbl_802613E4: +/* 802613E4 0025E344 7C 04 00 40 */ cmplw r4, r0 +/* 802613E8 0025E348 40 82 FF F8 */ bne lbl_802613E0 +/* 802613EC 0025E34C 28 03 00 00 */ cmplwi r3, 0 +/* 802613F0 0025E350 41 82 00 08 */ beq lbl_802613F8 +/* 802613F4 0025E354 48 0B 45 3D */ bl Free__7CMemoryFPCv +lbl_802613F8: +/* 802613F8 0025E358 3B FF 00 10 */ addi r31, r31, 0x10 +/* 802613FC 0025E35C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80261400: +/* 80261400 0025E360 80 1D 00 00 */ lwz r0, 0(r29) +/* 80261404 0025E364 7C 1E 00 00 */ cmpw r30, r0 +/* 80261408 0025E368 41 80 FF A8 */ blt lbl_802613B0 +/* 8026140C 0025E36C 38 00 00 00 */ li r0, 0 +/* 80261410 0025E370 90 1D 00 00 */ stw r0, 0(r29) +/* 80261414 0025E374 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80261418 0025E378 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8026141C 0025E37C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80261420 0025E380 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80261424 0025E384 7C 08 03 A6 */ mtlr r0 +/* 80261428 0025E388 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026142C 0025E38C 4E 80 00 20 */ blr + +.global sub_80261430 +sub_80261430: +/* 80261430 0025E390 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80261434 0025E394 7C 08 02 A6 */ mflr r0 +/* 80261438 0025E398 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8026143C 0025E39C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80261440 0025E3A0 7C BF 2B 78 */ mr r31, r5 +/* 80261444 0025E3A4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80261448 0025E3A8 7C 9E 23 78 */ mr r30, r4 +/* 8026144C 0025E3AC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80261450 0025E3B0 7C 7D 1B 78 */ mr r29, r3 +/* 80261454 0025E3B4 7F C3 F3 78 */ mr r3, r30 +/* 80261458 0025E3B8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8026145C 0025E3BC 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80261460 0025E3C0 7D 89 03 A6 */ mtctr r12 +/* 80261464 0025E3C4 4E 80 04 21 */ bctrl +/* 80261468 0025E3C8 38 9D 01 2C */ addi r4, r29, 0x12c +/* 8026146C 0025E3CC 38 A0 00 00 */ li r5, 0 +/* 80261470 0025E3D0 4B EA 10 4D */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80261474 0025E3D4 2C 03 00 04 */ cmpwi r3, 4 +/* 80261478 0025E3D8 40 82 00 0C */ bne lbl_80261484 +/* 8026147C 0025E3DC 38 60 00 00 */ li r3, 0 +/* 80261480 0025E3E0 48 00 00 D8 */ b lbl_80261558 +lbl_80261484: +/* 80261484 0025E3E4 7F C4 F3 78 */ mr r4, r30 +/* 80261488 0025E3E8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8026148C 0025E3EC 4B E4 5A C9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" +/* 80261490 0025E3F0 80 03 00 04 */ lwz r0, 4(r3) +/* 80261494 0025E3F4 28 00 00 00 */ cmplwi r0, 0 +/* 80261498 0025E3F8 41 82 00 3C */ beq lbl_802614D4 +/* 8026149C 0025E3FC 7F A4 EB 78 */ mr r4, r29 +/* 802614A0 0025E400 7F C5 F3 78 */ mr r5, r30 +/* 802614A4 0025E404 7F E6 FB 78 */ mr r6, r31 +/* 802614A8 0025E408 38 61 00 5C */ addi r3, r1, 0x5c +/* 802614AC 0025E40C 4B DD 8B 75 */ bl CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager +/* 802614B0 0025E410 A0 A1 00 5C */ lhz r5, 0x5c(r1) +/* 802614B4 0025E414 38 00 00 00 */ li r0, 0 +/* 802614B8 0025E418 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 802614BC 0025E41C 98 01 00 90 */ stb r0, 0x90(r1) +/* 802614C0 0025E420 7C 65 20 50 */ subf r3, r5, r4 +/* 802614C4 0025E424 7C 04 28 50 */ subf r0, r4, r5 +/* 802614C8 0025E428 7C 60 03 78 */ or r0, r3, r0 +/* 802614CC 0025E42C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802614D0 0025E430 48 00 00 88 */ b lbl_80261558 +lbl_802614D4: +/* 802614D4 0025E434 7F C4 F3 78 */ mr r4, r30 +/* 802614D8 0025E438 38 61 00 14 */ addi r3, r1, 0x14 +/* 802614DC 0025E43C 4B E4 79 A5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" +/* 802614E0 0025E440 80 03 00 04 */ lwz r0, 4(r3) +/* 802614E4 0025E444 28 00 00 00 */ cmplwi r0, 0 +/* 802614E8 0025E448 40 82 00 34 */ bne lbl_8026151C +/* 802614EC 0025E44C 7F C4 F3 78 */ mr r4, r30 +/* 802614F0 0025E450 38 61 00 0C */ addi r3, r1, 0xc +/* 802614F4 0025E454 4B E4 DE C5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" +/* 802614F8 0025E458 80 03 00 04 */ lwz r0, 4(r3) +/* 802614FC 0025E45C 28 00 00 00 */ cmplwi r0, 0 +/* 80261500 0025E460 40 82 00 1C */ bne lbl_8026151C +/* 80261504 0025E464 7F C4 F3 78 */ mr r4, r30 +/* 80261508 0025E468 38 61 00 08 */ addi r3, r1, 8 +/* 8026150C 0025E46C 4B E4 3E F9 */ bl sub_800a5404 +/* 80261510 0025E470 4B E4 3E C9 */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" +/* 80261514 0025E474 28 03 00 00 */ cmplwi r3, 0 +/* 80261518 0025E478 41 82 00 0C */ beq lbl_80261524 +lbl_8026151C: +/* 8026151C 0025E47C 38 60 00 01 */ li r3, 1 +/* 80261520 0025E480 48 00 00 38 */ b lbl_80261558 +lbl_80261524: +/* 80261524 0025E484 7F A4 EB 78 */ mr r4, r29 +/* 80261528 0025E488 7F C5 F3 78 */ mr r5, r30 +/* 8026152C 0025E48C 7F E6 FB 78 */ mr r6, r31 +/* 80261530 0025E490 38 61 00 24 */ addi r3, r1, 0x24 +/* 80261534 0025E494 4B DD 85 69 */ bl CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager +/* 80261538 0025E498 A0 A1 00 24 */ lhz r5, 0x24(r1) +/* 8026153C 0025E49C 38 00 00 00 */ li r0, 0 +/* 80261540 0025E4A0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80261544 0025E4A4 98 01 00 58 */ stb r0, 0x58(r1) +/* 80261548 0025E4A8 7C 65 20 50 */ subf r3, r5, r4 +/* 8026154C 0025E4AC 7C 04 28 50 */ subf r0, r4, r5 +/* 80261550 0025E4B0 7C 60 03 78 */ or r0, r3, r0 +/* 80261554 0025E4B4 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80261558: +/* 80261558 0025E4B8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8026155C 0025E4BC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80261560 0025E4C0 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80261564 0025E4C4 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80261568 0025E4C8 7C 08 03 A6 */ mtlr r0 +/* 8026156C 0025E4CC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80261570 0025E4D0 4E 80 00 20 */ blr + +.global SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff: +/* 80261574 0025E4D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80261578 0025E4D8 7C 08 02 A6 */ mflr r0 +/* 8026157C 0025E4DC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80261580 0025E4E0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80261584 0025E4E4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80261588 0025E4E8 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8026158C 0025E4EC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80261590 0025E4F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80261594 0025E4F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80261598 0025E4F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8026159C 0025E4FC 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 802615A0 0025E500 FF C0 08 90 */ fmr f30, f1 +/* 802615A4 0025E504 FF E0 10 90 */ fmr f31, f2 +/* 802615A8 0025E508 7C 7E 1B 78 */ mr r30, r3 +/* 802615AC 0025E50C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802615B0 0025E510 7C 9F 23 78 */ mr r31, r4 +/* 802615B4 0025E514 7C BD 2B 78 */ mr r29, r5 +/* 802615B8 0025E518 41 82 00 54 */ beq lbl_8026160C +/* 802615BC 0025E51C 80 7E 03 78 */ lwz r3, 0x378(r30) +/* 802615C0 0025E520 80 1D 00 00 */ lwz r0, 0(r29) +/* 802615C4 0025E524 7C 03 00 00 */ cmpw r3, r0 +/* 802615C8 0025E528 41 82 00 44 */ beq lbl_8026160C +/* 802615CC 0025E52C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 802615D0 0025E530 7C 03 00 00 */ cmpw r3, r0 +/* 802615D4 0025E534 41 82 00 38 */ beq lbl_8026160C +/* 802615D8 0025E538 80 1E 03 78 */ lwz r0, 0x378(r30) +/* 802615DC 0025E53C 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 802615E0 0025E540 54 03 18 38 */ slwi r3, r0, 3 +/* 802615E4 0025E544 90 01 00 0C */ stw r0, 0xc(r1) +/* 802615E8 0025E548 80 84 00 20 */ lwz r4, 0x20(r4) +/* 802615EC 0025E54C 38 03 00 04 */ addi r0, r3, 4 +/* 802615F0 0025E550 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802615F4 0025E554 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 802615F8 0025E558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802615FC 0025E55C 41 82 00 10 */ beq lbl_8026160C +/* 80261600 0025E560 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +/* 80261604 0025E564 FC 40 08 90 */ fmr f2, f1 +/* 80261608 0025E568 4B DF CB CD */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_8026160C: +/* 8026160C 0025E56C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80261610 0025E570 80 1D 00 00 */ lwz r0, 0(r29) +/* 80261614 0025E574 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80261618 0025E578 90 1E 03 78 */ stw r0, 0x378(r30) +/* 8026161C 0025E57C 7C 60 00 26 */ mfcr r3 +/* 80261620 0025E580 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80261624 0025E584 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 80261628 0025E588 68 63 00 01 */ xori r3, r3, 1 +/* 8026162C 0025E58C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80261630 0025E590 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80261634 0025E594 80 7E 03 78 */ lwz r3, 0x378(r30) +/* 80261638 0025E598 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8026163C 0025E59C 7C 03 00 00 */ cmpw r3, r0 +/* 80261640 0025E5A0 41 82 00 38 */ beq lbl_80261678 +/* 80261644 0025E5A4 80 1E 03 78 */ lwz r0, 0x378(r30) +/* 80261648 0025E5A8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 8026164C 0025E5AC 54 03 18 38 */ slwi r3, r0, 3 +/* 80261650 0025E5B0 90 01 00 08 */ stw r0, 8(r1) +/* 80261654 0025E5B4 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80261658 0025E5B8 38 03 00 04 */ addi r0, r3, 4 +/* 8026165C 0025E5BC 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80261660 0025E5C0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80261664 0025E5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80261668 0025E5C8 41 82 00 10 */ beq lbl_80261678 +/* 8026166C 0025E5CC FC 20 F0 90 */ fmr f1, f30 +/* 80261670 0025E5D0 FC 40 F8 90 */ fmr f2, f31 +/* 80261674 0025E5D4 4B DF CB 61 */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_80261678: +/* 80261678 0025E5D8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8026167C 0025E5DC CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80261680 0025E5E0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80261684 0025E5E4 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80261688 0025E5E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8026168C 0025E5EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80261690 0025E5F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80261694 0025E5F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80261698 0025E5F8 7C 08 03 A6 */ mtlr r0 +/* 8026169C 0025E5FC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802616A0 0025E600 4E 80 00 20 */ blr + +.global sub_802616a4 +sub_802616a4: +/* 802616A4 0025E604 38 00 00 03 */ li r0, 3 +/* 802616A8 0025E608 39 03 03 84 */ addi r8, r3, 0x384 +/* 802616AC 0025E60C 7C 09 03 A6 */ mtctr r0 +lbl_802616B0: +/* 802616B0 0025E610 80 68 00 04 */ lwz r3, 4(r8) +/* 802616B4 0025E614 39 20 00 00 */ li r9, 0 +/* 802616B8 0025E618 38 C0 00 00 */ li r6, 0 +/* 802616BC 0025E61C 38 03 FF FF */ addi r0, r3, -1 +/* 802616C0 0025E620 54 07 18 38 */ slwi r7, r0, 3 +/* 802616C4 0025E624 48 00 00 58 */ b lbl_8026171C +lbl_802616C8: +/* 802616C8 0025E628 80 A8 00 0C */ lwz r5, 0xc(r8) +/* 802616CC 0025E62C 38 86 00 04 */ addi r4, r6, 4 +/* 802616D0 0025E630 7C 65 20 2E */ lwzx r3, r5, r4 +/* 802616D4 0025E634 38 03 FF FF */ addi r0, r3, -1 +/* 802616D8 0025E638 7C 05 21 2E */ stwx r0, r5, r4 +/* 802616DC 0025E63C 80 68 00 0C */ lwz r3, 0xc(r8) +/* 802616E0 0025E640 7C 83 32 14 */ add r4, r3, r6 +/* 802616E4 0025E644 80 04 00 04 */ lwz r0, 4(r4) +/* 802616E8 0025E648 2C 00 00 00 */ cmpwi r0, 0 +/* 802616EC 0025E64C 40 82 00 28 */ bne lbl_80261714 +/* 802616F0 0025E650 7C 63 3A 14 */ add r3, r3, r7 +/* 802616F4 0025E654 38 E7 FF F8 */ addi r7, r7, -8 +/* 802616F8 0025E658 C0 03 00 00 */ lfs f0, 0(r3) +/* 802616FC 0025E65C D0 04 00 00 */ stfs f0, 0(r4) +/* 80261700 0025E660 80 03 00 04 */ lwz r0, 4(r3) +/* 80261704 0025E664 90 04 00 04 */ stw r0, 4(r4) +/* 80261708 0025E668 80 68 00 04 */ lwz r3, 4(r8) +/* 8026170C 0025E66C 38 03 FF FF */ addi r0, r3, -1 +/* 80261710 0025E670 90 08 00 04 */ stw r0, 4(r8) +lbl_80261714: +/* 80261714 0025E674 38 C6 00 08 */ addi r6, r6, 8 +/* 80261718 0025E678 39 29 00 01 */ addi r9, r9, 1 +lbl_8026171C: +/* 8026171C 0025E67C 80 08 00 04 */ lwz r0, 4(r8) +/* 80261720 0025E680 7C 09 00 00 */ cmpw r9, r0 +/* 80261724 0025E684 41 80 FF A4 */ blt lbl_802616C8 +/* 80261728 0025E688 39 08 00 10 */ addi r8, r8, 0x10 +/* 8026172C 0025E68C 42 00 FF 84 */ bdnz lbl_802616B0 + +.global sub_80261730 +sub_80261730: +/* 80261730 0025E690 4E 80 00 20 */ blr + +.global sub_80261734 +sub_80261734: +/* 80261734 0025E694 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80261738 0025E698 7C 08 02 A6 */ mflr r0 +/* 8026173C 0025E69C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80261740 0025E6A0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80261744 0025E6A4 7C 7F 1B 78 */ mr r31, r3 +/* 80261748 0025E6A8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8026174C 0025E6AC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80261750 0025E6B0 93 81 00 60 */ stw r28, 0x60(r1) +/* 80261754 0025E6B4 7C 9C 23 78 */ mr r28, r4 +/* 80261758 0025E6B8 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 8026175C 0025E6BC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80261760 0025E6C0 41 82 00 4C */ beq lbl_802617AC +/* 80261764 0025E6C4 3B C0 00 00 */ li r30, 0 +/* 80261768 0025E6C8 3B BF 03 84 */ addi r29, r31, 0x384 +lbl_8026176C: +/* 8026176C 0025E6CC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80261770 0025E6D0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80261774 0025E6D4 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 80261778 0025E6D8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8026177C 0025E6DC 54 00 18 38 */ slwi r0, r0, 3 +/* 80261780 0025E6E0 7C A5 02 14 */ add r5, r5, r0 +/* 80261784 0025E6E4 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80261788 0025E6E8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8026178C 0025E6EC 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80261790 0025E6F0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80261794 0025E6F4 90 01 00 40 */ stw r0, 0x40(r1) +/* 80261798 0025E6F8 48 00 32 51 */ bl sub_802649e8 +/* 8026179C 0025E6FC 3B DE 00 01 */ addi r30, r30, 1 +/* 802617A0 0025E700 3B BD 00 10 */ addi r29, r29, 0x10 +/* 802617A4 0025E704 2C 1E 00 03 */ cmpwi r30, 3 +/* 802617A8 0025E708 41 80 FF C4 */ blt lbl_8026176C +lbl_802617AC: +/* 802617AC 0025E70C 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha +/* 802617B0 0025E710 7F 9E E3 78 */ mr r30, r28 +/* 802617B4 0025E714 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l +/* 802617B8 0025E718 3B FF 03 84 */ addi r31, r31, 0x384 +/* 802617BC 0025E71C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802617C0 0025E720 3B A0 00 00 */ li r29, 0 +lbl_802617C4: +/* 802617C4 0025E724 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802617C8 0025E728 38 00 00 00 */ li r0, 0 +/* 802617CC 0025E72C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 802617D0 0025E730 38 61 00 18 */ addi r3, r1, 0x18 +/* 802617D4 0025E734 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802617D8 0025E738 38 81 00 14 */ addi r4, r1, 0x14 +/* 802617DC 0025E73C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802617E0 0025E740 38 A1 00 0C */ addi r5, r1, 0xc +/* 802617E4 0025E744 38 C1 00 48 */ addi r6, r1, 0x48 +/* 802617E8 0025E748 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802617EC 0025E74C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802617F0 0025E750 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 802617F4 0025E754 54 00 18 38 */ slwi r0, r0, 3 +/* 802617F8 0025E758 7C E7 02 14 */ add r7, r7, r0 +/* 802617FC 0025E75C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80261800 0025E760 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80261804 0025E764 90 E1 00 08 */ stw r7, 8(r1) +/* 80261808 0025E768 90 01 00 10 */ stw r0, 0x10(r1) +/* 8026180C 0025E76C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261810 0025E770 48 00 33 61 */ bl sub_80264b70 +/* 80261814 0025E774 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80261818 0025E778 38 00 00 00 */ li r0, 0 +/* 8026181C 0025E77C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80261820 0025E780 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261824 0025E784 90 01 00 54 */ stw r0, 0x54(r1) +/* 80261828 0025E788 38 81 00 28 */ addi r4, r1, 0x28 +/* 8026182C 0025E78C EC 01 00 2A */ fadds f0, f1, f0 +/* 80261830 0025E790 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80261834 0025E794 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80261838 0025E798 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8026183C 0025E79C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80261840 0025E7A0 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 80261844 0025E7A4 54 00 18 38 */ slwi r0, r0, 3 +/* 80261848 0025E7A8 7C E7 02 14 */ add r7, r7, r0 +/* 8026184C 0025E7AC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80261850 0025E7B0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80261854 0025E7B4 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 80261858 0025E7B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8026185C 0025E7BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80261860 0025E7C0 48 00 33 D1 */ bl sub_80264c30 +/* 80261864 0025E7C4 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80261868 0025E7C8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8026186C 0025E7CC 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80261870 0025E7D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80261874 0025E7D4 7C 85 20 50 */ subf r4, r5, r4 +/* 80261878 0025E7D8 7C 84 1E 70 */ srawi r4, r4, 3 +/* 8026187C 0025E7DC 7C 84 01 94 */ addze r4, r4 +/* 80261880 0025E7E0 7C 04 00 00 */ cmpw r4, r0 +/* 80261884 0025E7E4 90 81 00 30 */ stw r4, 0x30(r1) +/* 80261888 0025E7E8 40 80 00 08 */ bge lbl_80261890 +/* 8026188C 0025E7EC 38 61 00 30 */ addi r3, r1, 0x30 +lbl_80261890: +/* 80261890 0025E7F0 80 63 00 00 */ lwz r3, 0(r3) +/* 80261894 0025E7F4 2C 03 00 00 */ cmpwi r3, 0 +/* 80261898 0025E7F8 90 61 00 44 */ stw r3, 0x44(r1) +/* 8026189C 0025E7FC 40 82 00 08 */ bne lbl_802618A4 +/* 802618A0 0025E800 48 00 00 18 */ b lbl_802618B8 +lbl_802618A4: +/* 802618A4 0025E804 3B BD 00 01 */ addi r29, r29, 1 +/* 802618A8 0025E808 3B DE 00 04 */ addi r30, r30, 4 +/* 802618AC 0025E80C 2C 1D 00 03 */ cmpwi r29, 3 +/* 802618B0 0025E810 3B FF 00 10 */ addi r31, r31, 0x10 +/* 802618B4 0025E814 41 80 FF 10 */ blt lbl_802617C4 +lbl_802618B8: +/* 802618B8 0025E818 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802618BC 0025E81C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802618C0 0025E820 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802618C4 0025E824 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802618C8 0025E828 83 81 00 60 */ lwz r28, 0x60(r1) +/* 802618CC 0025E82C 7C 08 03 A6 */ mtlr r0 +/* 802618D0 0025E830 38 21 00 70 */ addi r1, r1, 0x70 +/* 802618D4 0025E834 4E 80 00 20 */ blr + +.global sub_802618d8 +sub_802618d8: +/* 802618D8 0025E838 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802618DC 0025E83C 7C 08 02 A6 */ mflr r0 +/* 802618E0 0025E840 90 01 00 34 */ stw r0, 0x34(r1) +/* 802618E4 0025E844 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802618E8 0025E848 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802618EC 0025E84C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802618F0 0025E850 7C 7F 1B 78 */ mr r31, r3 +/* 802618F4 0025E854 7C BB 2B 78 */ mr r27, r5 +/* 802618F8 0025E858 3B 80 00 00 */ li r28, 0 +/* 802618FC 0025E85C 7C 9D 23 78 */ mr r29, r4 +/* 80261900 0025E860 3B DF 03 84 */ addi r30, r31, 0x384 +lbl_80261904: +/* 80261904 0025E864 80 1E 00 04 */ lwz r0, 4(r30) +/* 80261908 0025E868 80 BE 00 08 */ lwz r5, 8(r30) +/* 8026190C 0025E86C 7C 00 28 00 */ cmpw r0, r5 +/* 80261910 0025E870 40 82 00 1C */ bne lbl_8026192C +/* 80261914 0025E874 2C 05 00 00 */ cmpwi r5, 0 +/* 80261918 0025E878 7F C3 F3 78 */ mr r3, r30 +/* 8026191C 0025E87C 38 80 00 0A */ li r4, 0xa +/* 80261920 0025E880 40 81 00 08 */ ble lbl_80261928 +/* 80261924 0025E884 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80261928: +/* 80261928 0025E888 48 00 33 C9 */ bl sub_80264cf0 +lbl_8026192C: +/* 8026192C 0025E88C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80261930 0025E890 80 BE 00 08 */ lwz r5, 8(r30) +/* 80261934 0025E894 C3 FD 00 00 */ lfs f31, 0(r29) +/* 80261938 0025E898 7C 00 28 00 */ cmpw r0, r5 +/* 8026193C 0025E89C 41 80 00 1C */ blt lbl_80261958 +/* 80261940 0025E8A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80261944 0025E8A4 7F C3 F3 78 */ mr r3, r30 +/* 80261948 0025E8A8 38 80 00 04 */ li r4, 4 +/* 8026194C 0025E8AC 41 82 00 08 */ beq lbl_80261954 +/* 80261950 0025E8B0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80261954: +/* 80261954 0025E8B4 48 00 33 9D */ bl sub_80264cf0 +lbl_80261958: +/* 80261958 0025E8B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8026195C 0025E8BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80261960 0025E8C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80261964 0025E8C4 7C 63 02 15 */ add. r3, r3, r0 +/* 80261968 0025E8C8 41 82 00 0C */ beq lbl_80261974 +/* 8026196C 0025E8CC D3 E3 00 00 */ stfs f31, 0(r3) +/* 80261970 0025E8D0 93 63 00 04 */ stw r27, 4(r3) +lbl_80261974: +/* 80261974 0025E8D4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80261978 0025E8D8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8026197C 0025E8DC 2C 1C 00 03 */ cmpwi r28, 3 +/* 80261980 0025E8E0 3B BD 00 04 */ addi r29, r29, 4 +/* 80261984 0025E8E4 38 03 00 01 */ addi r0, r3, 1 +/* 80261988 0025E8E8 90 1E 00 04 */ stw r0, 4(r30) +/* 8026198C 0025E8EC 3B DE 00 10 */ addi r30, r30, 0x10 +/* 80261990 0025E8F0 41 80 FF 74 */ blt lbl_80261904 +/* 80261994 0025E8F4 88 1F 03 7C */ lbz r0, 0x37c(r31) +/* 80261998 0025E8F8 38 60 00 01 */ li r3, 1 +/* 8026199C 0025E8FC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802619A0 0025E900 98 1F 03 7C */ stb r0, 0x37c(r31) +/* 802619A4 0025E904 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802619A8 0025E908 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802619AC 0025E90C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802619B0 0025E910 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802619B4 0025E914 7C 08 03 A6 */ mtlr r0 +/* 802619B8 0025E918 38 21 00 30 */ addi r1, r1, 0x30 +/* 802619BC 0025E91C 4E 80 00 20 */ blr + +.global sub_802619c0 +sub_802619c0: +/* 802619C0 0025E920 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802619C4 0025E924 7C 08 02 A6 */ mflr r0 +/* 802619C8 0025E928 90 01 00 34 */ stw r0, 0x34(r1) +/* 802619CC 0025E92C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802619D0 0025E930 7C 7B 1B 78 */ mr r27, r3 +/* 802619D4 0025E934 7C 9C 23 78 */ mr r28, r4 +/* 802619D8 0025E938 54 BE 06 3E */ clrlwi r30, r5, 0x18 +/* 802619DC 0025E93C 3B FB 03 BC */ addi r31, r27, 0x3bc +/* 802619E0 0025E940 3B A0 00 00 */ li r29, 0 +/* 802619E4 0025E944 48 00 00 4C */ b lbl_80261A30 +lbl_802619E8: +/* 802619E8 0025E948 A0 1F 00 00 */ lhz r0, 0(r31) +/* 802619EC 0025E94C 7F 83 E3 78 */ mr r3, r28 +/* 802619F0 0025E950 38 81 00 08 */ addi r4, r1, 8 +/* 802619F4 0025E954 B0 01 00 08 */ sth r0, 8(r1) +/* 802619F8 0025E958 4B DE AB 7D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802619FC 0025E95C 7C 64 1B 78 */ mr r4, r3 +/* 80261A00 0025E960 38 61 00 0C */ addi r3, r1, 0xc +/* 80261A04 0025E964 4B E4 C0 81 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 80261A08 0025E968 80 63 00 04 */ lwz r3, 4(r3) +/* 80261A0C 0025E96C 28 03 00 00 */ cmplwi r3, 0 +/* 80261A10 0025E970 41 82 00 18 */ beq lbl_80261A28 +/* 80261A14 0025E974 81 83 00 00 */ lwz r12, 0(r3) +/* 80261A18 0025E978 7F C4 F3 78 */ mr r4, r30 +/* 80261A1C 0025E97C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80261A20 0025E980 7D 89 03 A6 */ mtctr r12 +/* 80261A24 0025E984 4E 80 04 21 */ bctrl +lbl_80261A28: +/* 80261A28 0025E988 3B FF 00 02 */ addi r31, r31, 2 +/* 80261A2C 0025E98C 3B BD 00 01 */ addi r29, r29, 1 +lbl_80261A30: +/* 80261A30 0025E990 80 1B 03 B8 */ lwz r0, 0x3b8(r27) +/* 80261A34 0025E994 7C 1D 00 00 */ cmpw r29, r0 +/* 80261A38 0025E998 41 80 FF B0 */ blt lbl_802619E8 +/* 80261A3C 0025E99C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80261A40 0025E9A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80261A44 0025E9A4 7C 08 03 A6 */ mtlr r0 +/* 80261A48 0025E9A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80261A4C 0025E9AC 4E 80 00 20 */ blr + +.global DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +DeleteLightObjects__16CNewFlameThrowerFR13CStateManager: +/* 80261A50 0025E9B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80261A54 0025E9B4 7C 08 02 A6 */ mflr r0 +/* 80261A58 0025E9B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80261A5C 0025E9BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80261A60 0025E9C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80261A64 0025E9C4 3B C0 00 00 */ li r30, 0 +/* 80261A68 0025E9C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80261A6C 0025E9CC 7C 9D 23 78 */ mr r29, r4 +/* 80261A70 0025E9D0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80261A74 0025E9D4 7C 7C 1B 78 */ mr r28, r3 +/* 80261A78 0025E9D8 3B FC 03 BC */ addi r31, r28, 0x3bc +/* 80261A7C 0025E9DC 48 00 00 20 */ b lbl_80261A9C +lbl_80261A80: +/* 80261A80 0025E9E0 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80261A84 0025E9E4 7F A3 EB 78 */ mr r3, r29 +/* 80261A88 0025E9E8 38 81 00 08 */ addi r4, r1, 8 +/* 80261A8C 0025E9EC B0 01 00 08 */ sth r0, 8(r1) +/* 80261A90 0025E9F0 4B DE A7 DD */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80261A94 0025E9F4 3B FF 00 02 */ addi r31, r31, 2 +/* 80261A98 0025E9F8 3B DE 00 01 */ addi r30, r30, 1 +lbl_80261A9C: +/* 80261A9C 0025E9FC 80 BC 03 B8 */ lwz r5, 0x3b8(r28) +/* 80261AA0 0025EA00 7C 1E 28 00 */ cmpw r30, r5 +/* 80261AA4 0025EA04 41 80 FF DC */ blt lbl_80261A80 +/* 80261AA8 0025EA08 2C 05 00 00 */ cmpwi r5, 0 +/* 80261AAC 0025EA0C 38 60 00 00 */ li r3, 0 +/* 80261AB0 0025EA10 40 81 00 40 */ ble lbl_80261AF0 +/* 80261AB4 0025EA14 2C 05 00 08 */ cmpwi r5, 8 +/* 80261AB8 0025EA18 38 85 FF F8 */ addi r4, r5, -8 +/* 80261ABC 0025EA1C 40 81 00 20 */ ble lbl_80261ADC +/* 80261AC0 0025EA20 38 04 00 07 */ addi r0, r4, 7 +/* 80261AC4 0025EA24 54 00 E8 FE */ srwi r0, r0, 3 +/* 80261AC8 0025EA28 7C 09 03 A6 */ mtctr r0 +/* 80261ACC 0025EA2C 2C 04 00 00 */ cmpwi r4, 0 +/* 80261AD0 0025EA30 40 81 00 0C */ ble lbl_80261ADC +lbl_80261AD4: +/* 80261AD4 0025EA34 38 63 00 08 */ addi r3, r3, 8 +/* 80261AD8 0025EA38 42 00 FF FC */ bdnz lbl_80261AD4 +lbl_80261ADC: +/* 80261ADC 0025EA3C 7C 03 28 50 */ subf r0, r3, r5 +/* 80261AE0 0025EA40 7C 09 03 A6 */ mtctr r0 +/* 80261AE4 0025EA44 7C 03 28 00 */ cmpw r3, r5 +/* 80261AE8 0025EA48 40 80 00 08 */ bge lbl_80261AF0 +lbl_80261AEC: +/* 80261AEC 0025EA4C 42 00 00 00 */ bdnz lbl_80261AEC +lbl_80261AF0: +/* 80261AF0 0025EA50 38 00 00 00 */ li r0, 0 +/* 80261AF4 0025EA54 90 1C 03 B8 */ stw r0, 0x3b8(r28) +/* 80261AF8 0025EA58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80261AFC 0025EA5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80261B00 0025EA60 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80261B04 0025EA64 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80261B08 0025EA68 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80261B0C 0025EA6C 7C 08 03 A6 */ mtlr r0 +/* 80261B10 0025EA70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80261B14 0025EA74 4E 80 00 20 */ blr + +.global sub_80261b18 +sub_80261b18: +/* 80261B18 0025EA78 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80261B1C 0025EA7C 7C 08 02 A6 */ mflr r0 +/* 80261B20 0025EA80 90 01 01 04 */ stw r0, 0x104(r1) +/* 80261B24 0025EA84 BE 81 00 D0 */ stmw r20, 0xd0(r1) +/* 80261B28 0025EA88 7C 75 1B 78 */ mr r21, r3 +/* 80261B2C 0025EA8C 7C 96 23 78 */ mr r22, r4 +/* 80261B30 0025EA90 38 61 00 20 */ addi r3, r1, 0x20 +/* 80261B34 0025EA94 38 95 02 E8 */ addi r4, r21, 0x2e8 +/* 80261B38 0025EA98 48 0B 0B 49 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80261B3C 0025EA9C 83 95 03 70 */ lwz r28, 0x370(r21) +/* 80261B40 0025EAA0 38 6D 98 30 */ addi r3, r13, lbl_805A83F0@sda21 +/* 80261B44 0025EAA4 80 0D 98 30 */ lwz r0, lbl_805A83F0@sda21(r13) +/* 80261B48 0025EAA8 80 FC 01 60 */ lwz r7, 0x160(r28) +/* 80261B4C 0025EAAC 80 BC 01 58 */ lwz r5, 0x158(r28) +/* 80261B50 0025EAB0 7C E4 16 70 */ srawi r4, r7, 2 +/* 80261B54 0025EAB4 7C A7 2A 14 */ add r5, r7, r5 +/* 80261B58 0025EAB8 38 C5 FF FF */ addi r6, r5, -1 +/* 80261B5C 0025EABC 7C 84 01 94 */ addze r4, r4 +/* 80261B60 0025EAC0 7C A6 3B D6 */ divw r5, r6, r7 +/* 80261B64 0025EAC4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80261B68 0025EAC8 7C 00 20 00 */ cmpw r0, r4 +/* 80261B6C 0025EACC 7C 05 39 D6 */ mullw r0, r5, r7 +/* 80261B70 0025EAD0 7F 60 30 50 */ subf r27, r0, r6 +/* 80261B74 0025EAD4 40 80 00 08 */ bge lbl_80261B7C +/* 80261B78 0025EAD8 38 61 00 0C */ addi r3, r1, 0xc +lbl_80261B7C: +/* 80261B7C 0025EADC 83 43 00 00 */ lwz r26, 0(r3) +/* 80261B80 0025EAE0 3B B5 03 BC */ addi r29, r21, 0x3bc +/* 80261B84 0025EAE4 3B 20 00 00 */ li r25, 0 +/* 80261B88 0025EAE8 3B C0 00 00 */ li r30, 0 +/* 80261B8C 0025EAEC 48 00 01 94 */ b lbl_80261D20 +lbl_80261B90: +/* 80261B90 0025EAF0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 80261B94 0025EAF4 7E C3 B3 78 */ mr r3, r22 +/* 80261B98 0025EAF8 38 81 00 08 */ addi r4, r1, 8 +/* 80261B9C 0025EAFC B0 01 00 08 */ sth r0, 8(r1) +/* 80261BA0 0025EB00 4B DE A9 D5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80261BA4 0025EB04 7C 64 1B 78 */ mr r4, r3 +/* 80261BA8 0025EB08 38 61 00 18 */ addi r3, r1, 0x18 +/* 80261BAC 0025EB0C 4B E4 BE D9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 80261BB0 0025EB10 83 03 00 04 */ lwz r24, 4(r3) +/* 80261BB4 0025EB14 28 18 00 00 */ cmplwi r24, 0 +/* 80261BB8 0025EB18 41 82 01 5C */ beq lbl_80261D14 +/* 80261BBC 0025EB1C 80 BC 01 60 */ lwz r5, 0x160(r28) +/* 80261BC0 0025EB20 3A E0 00 01 */ li r23, 1 +/* 80261BC4 0025EB24 7C 1E 28 00 */ cmpw r30, r5 +/* 80261BC8 0025EB28 41 80 00 08 */ blt lbl_80261BD0 +/* 80261BCC 0025EB2C 3A E0 00 00 */ li r23, 0 +lbl_80261BD0: +/* 80261BD0 0025EB30 7C 7E DA 14 */ add r3, r30, r27 +/* 80261BD4 0025EB34 80 9C 01 68 */ lwz r4, 0x168(r28) +/* 80261BD8 0025EB38 7C 03 2B D6 */ divw r0, r3, r5 +/* 80261BDC 0025EB3C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80261BE0 0025EB40 7C 00 18 50 */ subf r0, r0, r3 +/* 80261BE4 0025EB44 54 00 38 30 */ slwi r0, r0, 7 +/* 80261BE8 0025EB48 7F E4 02 14 */ add r31, r4, r0 +/* 80261BEC 0025EB4C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80261BF0 0025EB50 28 00 00 00 */ cmplwi r0, 0 +/* 80261BF4 0025EB54 40 82 00 08 */ bne lbl_80261BFC +/* 80261BF8 0025EB58 3A E0 00 00 */ li r23, 0 +lbl_80261BFC: +/* 80261BFC 0025EB5C 7F 03 C3 78 */ mr r3, r24 +/* 80261C00 0025EB60 7E E4 BB 78 */ mr r4, r23 +/* 80261C04 0025EB64 81 98 00 00 */ lwz r12, 0(r24) +/* 80261C08 0025EB68 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80261C0C 0025EB6C 7D 89 03 A6 */ mtctr r12 +/* 80261C10 0025EB70 4E 80 04 21 */ bctrl +/* 80261C14 0025EB74 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80261C18 0025EB78 41 82 00 FC */ beq lbl_80261D14 +/* 80261C1C 0025EB7C 80 95 03 58 */ lwz r4, 0x358(r21) +/* 80261C20 0025EB80 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261C24 0025EB84 81 84 00 00 */ lwz r12, 0(r4) +/* 80261C28 0025EB88 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80261C2C 0025EB8C 7D 89 03 A6 */ mtctr r12 +/* 80261C30 0025EB90 4E 80 04 21 */ bctrl +/* 80261C34 0025EB94 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261C38 0025EB98 38 81 00 2C */ addi r4, r1, 0x2c +/* 80261C3C 0025EB9C 4B DD 99 35 */ bl __ct__6CLightFCR6CLight +/* 80261C40 0025EBA0 80 75 03 0C */ lwz r3, 0x30c(r21) +/* 80261C44 0025EBA4 82 E3 00 F0 */ lwz r23, 0xf0(r3) +/* 80261C48 0025EBA8 28 17 00 00 */ cmplwi r23, 0 +/* 80261C4C 0025EBAC 41 82 00 50 */ beq lbl_80261C9C +/* 80261C50 0025EBB0 38 75 02 E8 */ addi r3, r21, 0x2e8 +/* 80261C54 0025EBB4 38 80 00 00 */ li r4, 0 +/* 80261C58 0025EBB8 38 A0 00 10 */ li r5, 0x10 +/* 80261C5C 0025EBBC 48 0B 09 39 */ bl Range__9CRandom16Fii +/* 80261C60 0025EBC0 7C 74 1B 78 */ mr r20, r3 +/* 80261C64 0025EBC4 48 0C 8A E5 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80261C68 0025EBC8 48 0E 83 25 */ bl Yellow__6CColorFv +/* 80261C6C 0025EBCC 80 03 00 00 */ lwz r0, 0(r3) +/* 80261C70 0025EBD0 7E E3 BB 78 */ mr r3, r23 +/* 80261C74 0025EBD4 7E 84 A3 78 */ mr r4, r20 +/* 80261C78 0025EBD8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80261C7C 0025EBDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261C80 0025EBE0 81 97 00 00 */ lwz r12, 0(r23) +/* 80261C84 0025EBE4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80261C88 0025EBE8 7D 89 03 A6 */ mtctr r12 +/* 80261C8C 0025EBEC 4E 80 04 21 */ bctrl +/* 80261C90 0025EBF0 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261C94 0025EBF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80261C98 0025EBF8 48 0A 46 C5 */ bl SetColor__6CLightFRC6CColor +lbl_80261C9C: +/* 80261C9C 0025EBFC 80 75 03 0C */ lwz r3, 0x30c(r21) +/* 80261CA0 0025EC00 82 83 00 F4 */ lwz r20, 0xf4(r3) +/* 80261CA4 0025EC04 28 14 00 00 */ cmplwi r20, 0 +/* 80261CA8 0025EC08 41 82 00 54 */ beq lbl_80261CFC +/* 80261CAC 0025EC0C 38 75 02 E8 */ addi r3, r21, 0x2e8 +/* 80261CB0 0025EC10 38 80 00 00 */ li r4, 0 +/* 80261CB4 0025EC14 38 A0 00 10 */ li r5, 0x10 +/* 80261CB8 0025EC18 48 0B 08 DD */ bl Range__9CRandom16Fii +/* 80261CBC 0025EC1C 7C 77 1B 78 */ mr r23, r3 +/* 80261CC0 0025EC20 48 0C 8A 89 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80261CC4 0025EC24 C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80261CC8 0025EC28 7E 83 A3 78 */ mr r3, r20 +/* 80261CCC 0025EC2C 7E E4 BB 78 */ mr r4, r23 +/* 80261CD0 0025EC30 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80261CD4 0025EC34 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80261CD8 0025EC38 81 94 00 00 */ lwz r12, 0(r20) +/* 80261CDC 0025EC3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80261CE0 0025EC40 7D 89 03 A6 */ mtctr r12 +/* 80261CE4 0025EC44 4E 80 04 21 */ bctrl +/* 80261CE8 0025EC48 C0 42 BA 6C */ lfs f2, lbl_805AD78C@sda21(r2) +/* 80261CEC 0025EC4C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80261CF0 0025EC50 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80261CF4 0025EC54 FC 60 10 90 */ fmr f3, f2 +/* 80261CF8 0025EC58 48 0A 46 8D */ bl SetAngleAttenuation__6CLightFfff +lbl_80261CFC: +/* 80261CFC 0025EC5C 7F 03 C3 78 */ mr r3, r24 +/* 80261D00 0025EC60 38 81 00 7C */ addi r4, r1, 0x7c +/* 80261D04 0025EC64 4B E5 3A 41 */ bl SetLight__10CGameLightFRC6CLight +/* 80261D08 0025EC68 7F 03 C3 78 */ mr r3, r24 +/* 80261D0C 0025EC6C 38 9F 00 0C */ addi r4, r31, 0xc +/* 80261D10 0025EC70 4B DF 11 7D */ bl SetTranslation__6CActorFRC9CVector3f +lbl_80261D14: +/* 80261D14 0025EC74 7F DE D2 14 */ add r30, r30, r26 +/* 80261D18 0025EC78 3B BD 00 02 */ addi r29, r29, 2 +/* 80261D1C 0025EC7C 3B 39 00 01 */ addi r25, r25, 1 +lbl_80261D20: +/* 80261D20 0025EC80 80 15 03 B8 */ lwz r0, 0x3b8(r21) +/* 80261D24 0025EC84 7C 19 00 00 */ cmpw r25, r0 +/* 80261D28 0025EC88 41 80 FE 68 */ blt lbl_80261B90 +/* 80261D2C 0025EC8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80261D30 0025EC90 38 80 FF FF */ li r4, -1 +/* 80261D34 0025EC94 48 0B 08 D1 */ bl __dt__13CGlobalRandomFv +/* 80261D38 0025EC98 BA 81 00 D0 */ lmw r20, 0xd0(r1) +/* 80261D3C 0025EC9C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80261D40 0025ECA0 7C 08 03 A6 */ mtlr r0 +/* 80261D44 0025ECA4 38 21 01 00 */ addi r1, r1, 0x100 +/* 80261D48 0025ECA8 4E 80 00 20 */ blr + +.global CreateLightObjects__16CNewFlameThrowerFR13CStateManager +CreateLightObjects__16CNewFlameThrowerFR13CStateManager: +/* 80261D4C 0025ECAC 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80261D50 0025ECB0 7C 08 02 A6 */ mflr r0 +/* 80261D54 0025ECB4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80261D58 0025ECB8 BF 01 00 90 */ stmw r24, 0x90(r1) +/* 80261D5C 0025ECBC 7C 7C 1B 78 */ mr r28, r3 +/* 80261D60 0025ECC0 7C 9D 23 78 */ mr r29, r4 +/* 80261D64 0025ECC4 4B FF FC ED */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +/* 80261D68 0025ECC8 3B C0 00 00 */ li r30, 0 +/* 80261D6C 0025ECCC 3B FC 03 BC */ addi r31, r28, 0x3bc +lbl_80261D70: +/* 80261D70 0025ECD0 7F A4 EB 78 */ mr r4, r29 +/* 80261D74 0025ECD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80261D78 0025ECD8 4B DE B3 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 80261D7C 0025ECDC A0 61 00 1C */ lhz r3, 0x1c(r1) +/* 80261D80 0025ECE0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80261D84 0025ECE4 B0 61 00 20 */ sth r3, 0x20(r1) +/* 80261D88 0025ECE8 7C 03 00 40 */ cmplw r3, r0 +/* 80261D8C 0025ECEC 41 82 01 08 */ beq lbl_80261E94 +/* 80261D90 0025ECF0 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80261D94 0025ECF4 57 C0 07 FE */ clrlwi r0, r30, 0x1f +/* 80261D98 0025ECF8 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80261D9C 0025ECFC 3B 00 00 00 */ li r24, 0 +/* 80261DA0 0025ED00 7F 3C 02 14 */ add r25, r28, r0 +/* 80261DA4 0025ED04 38 60 01 48 */ li r3, 0x148 +/* 80261DA8 0025ED08 38 A0 00 00 */ li r5, 0 +/* 80261DAC 0025ED0C 48 0B 3A C1 */ bl __nw__FUlPCcPCc +/* 80261DB0 0025ED10 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80261DB4 0025ED14 41 82 00 9C */ beq lbl_80261E50 +/* 80261DB8 0025ED18 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80261DBC 0025ED1C 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80261DC0 0025ED20 83 5C 03 58 */ lwz r26, 0x358(r28) +/* 80261DC4 0025ED24 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80261DC8 0025ED28 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80261DCC 0025ED2C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261DD0 0025ED30 38 84 00 07 */ addi r4, r4, 7 +/* 80261DD4 0025ED34 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80261DD8 0025ED38 4B DA 2E E1 */ bl string_l__4rstlFPCc +/* 80261DDC 0025ED3C 7F 84 E3 78 */ mr r4, r28 +/* 80261DE0 0025ED40 38 61 00 24 */ addi r3, r1, 0x24 +/* 80261DE4 0025ED44 3B 00 00 01 */ li r24, 1 +/* 80261DE8 0025ED48 4B DE F2 9D */ bl GetAreaId__7CEntityCFv +/* 80261DEC 0025ED4C 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80261DF0 0025ED50 7F 44 D3 78 */ mr r4, r26 +/* 80261DF4 0025ED54 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80261DF8 0025ED58 38 61 00 3C */ addi r3, r1, 0x3c +/* 80261DFC 0025ED5C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80261E00 0025ED60 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80261E04 0025ED64 81 9A 00 00 */ lwz r12, 0(r26) +/* 80261E08 0025ED68 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80261E0C 0025ED6C 7D 89 03 A6 */ mtctr r12 +/* 80261E10 0025ED70 4E 80 04 21 */ bctrl +/* 80261E14 0025ED74 93 21 00 08 */ stw r25, 8(r1) +/* 80261E18 0025ED78 38 00 00 00 */ li r0, 0 +/* 80261E1C 0025ED7C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80261E20 0025ED80 C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) +/* 80261E24 0025ED84 90 01 00 0C */ stw r0, 0xc(r1) +/* 80261E28 0025ED88 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 80261E2C 0025ED8C 7F 63 DB 78 */ mr r3, r27 +/* 80261E30 0025ED90 38 81 00 10 */ addi r4, r1, 0x10 +/* 80261E34 0025ED94 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80261E38 0025ED98 38 E1 00 2C */ addi r7, r1, 0x2c +/* 80261E3C 0025ED9C 39 21 00 18 */ addi r9, r1, 0x18 +/* 80261E40 0025EDA0 39 41 00 3C */ addi r10, r1, 0x3c +/* 80261E44 0025EDA4 38 C0 00 00 */ li r6, 0 +/* 80261E48 0025EDA8 4B E5 39 DD */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 80261E4C 0025EDAC 7C 7B 1B 78 */ mr r27, r3 +lbl_80261E50: +/* 80261E50 0025EDB0 7F 00 07 75 */ extsb. r0, r24 +/* 80261E54 0025EDB4 7F 79 DB 78 */ mr r25, r27 +/* 80261E58 0025EDB8 41 82 00 0C */ beq lbl_80261E64 +/* 80261E5C 0025EDBC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80261E60 0025EDC0 48 0D BC 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80261E64: +/* 80261E64 0025EDC4 7F A3 EB 78 */ mr r3, r29 +/* 80261E68 0025EDC8 7F 24 CB 78 */ mr r4, r25 +/* 80261E6C 0025EDCC 4B DE AE 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80261E70 0025EDD0 80 1C 03 B8 */ lwz r0, 0x3b8(r28) +/* 80261E74 0025EDD4 54 00 08 3C */ slwi r0, r0, 1 +/* 80261E78 0025EDD8 7C 7F 02 15 */ add. r3, r31, r0 +/* 80261E7C 0025EDDC 41 82 00 0C */ beq lbl_80261E88 +/* 80261E80 0025EDE0 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 80261E84 0025EDE4 B0 03 00 00 */ sth r0, 0(r3) +lbl_80261E88: +/* 80261E88 0025EDE8 80 7C 03 B8 */ lwz r3, 0x3b8(r28) +/* 80261E8C 0025EDEC 38 03 00 01 */ addi r0, r3, 1 +/* 80261E90 0025EDF0 90 1C 03 B8 */ stw r0, 0x3b8(r28) +lbl_80261E94: +/* 80261E94 0025EDF4 3B DE 00 01 */ addi r30, r30, 1 +/* 80261E98 0025EDF8 2C 1E 00 04 */ cmpwi r30, 4 +/* 80261E9C 0025EDFC 41 80 FE D4 */ blt lbl_80261D70 +/* 80261EA0 0025EE00 BB 01 00 90 */ lmw r24, 0x90(r1) +/* 80261EA4 0025EE04 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80261EA8 0025EE08 7C 08 03 A6 */ mtlr r0 +/* 80261EAC 0025EE0C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80261EB0 0025EE10 4E 80 00 20 */ blr + +.global AreParticlesDoneEmitting__16CNewFlameThrowerCFv +AreParticlesDoneEmitting__16CNewFlameThrowerCFv: +/* 80261EB4 0025EE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80261EB8 0025EE18 7C 08 02 A6 */ mflr r0 +/* 80261EBC 0025EE1C 38 80 00 00 */ li r4, 0 +/* 80261EC0 0025EE20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80261EC4 0025EE24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80261EC8 0025EE28 7C 7F 1B 78 */ mr r31, r3 +/* 80261ECC 0025EE2C 80 63 03 58 */ lwz r3, 0x358(r3) +/* 80261ED0 0025EE30 28 03 00 00 */ cmplwi r3, 0 +/* 80261ED4 0025EE34 41 82 00 1C */ beq lbl_80261EF0 +/* 80261ED8 0025EE38 81 83 00 00 */ lwz r12, 0(r3) +/* 80261EDC 0025EE3C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261EE0 0025EE40 7D 89 03 A6 */ mtctr r12 +/* 80261EE4 0025EE44 4E 80 04 21 */ bctrl +/* 80261EE8 0025EE48 7C 60 00 34 */ cntlzw r0, r3 +/* 80261EEC 0025EE4C 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261EF0: +/* 80261EF0 0025EE50 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261EF4 0025EE54 41 82 00 28 */ beq lbl_80261F1C +/* 80261EF8 0025EE58 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 80261EFC 0025EE5C 28 03 00 00 */ cmplwi r3, 0 +/* 80261F00 0025EE60 41 82 00 1C */ beq lbl_80261F1C +/* 80261F04 0025EE64 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F08 0025EE68 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F0C 0025EE6C 7D 89 03 A6 */ mtctr r12 +/* 80261F10 0025EE70 4E 80 04 21 */ bctrl +/* 80261F14 0025EE74 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F18 0025EE78 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F1C: +/* 80261F1C 0025EE7C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F20 0025EE80 41 82 00 28 */ beq lbl_80261F48 +/* 80261F24 0025EE84 80 7F 03 60 */ lwz r3, 0x360(r31) +/* 80261F28 0025EE88 28 03 00 00 */ cmplwi r3, 0 +/* 80261F2C 0025EE8C 41 82 00 1C */ beq lbl_80261F48 +/* 80261F30 0025EE90 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F34 0025EE94 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F38 0025EE98 7D 89 03 A6 */ mtctr r12 +/* 80261F3C 0025EE9C 4E 80 04 21 */ bctrl +/* 80261F40 0025EEA0 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F44 0025EEA4 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F48: +/* 80261F48 0025EEA8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F4C 0025EEAC 41 82 00 28 */ beq lbl_80261F74 +/* 80261F50 0025EEB0 80 7F 03 64 */ lwz r3, 0x364(r31) +/* 80261F54 0025EEB4 28 03 00 00 */ cmplwi r3, 0 +/* 80261F58 0025EEB8 41 82 00 1C */ beq lbl_80261F74 +/* 80261F5C 0025EEBC 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F60 0025EEC0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F64 0025EEC4 7D 89 03 A6 */ mtctr r12 +/* 80261F68 0025EEC8 4E 80 04 21 */ bctrl +/* 80261F6C 0025EECC 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F70 0025EED0 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261F74: +/* 80261F74 0025EED4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80261F78 0025EED8 41 82 00 28 */ beq lbl_80261FA0 +/* 80261F7C 0025EEDC 80 7F 03 68 */ lwz r3, 0x368(r31) +/* 80261F80 0025EEE0 28 03 00 00 */ cmplwi r3, 0 +/* 80261F84 0025EEE4 41 82 00 1C */ beq lbl_80261FA0 +/* 80261F88 0025EEE8 81 83 00 00 */ lwz r12, 0(r3) +/* 80261F8C 0025EEEC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80261F90 0025EEF0 7D 89 03 A6 */ mtctr r12 +/* 80261F94 0025EEF4 4E 80 04 21 */ bctrl +/* 80261F98 0025EEF8 7C 60 00 34 */ cntlzw r0, r3 +/* 80261F9C 0025EEFC 54 04 D9 7E */ srwi r4, r0, 5 +lbl_80261FA0: +/* 80261FA0 0025EF00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80261FA4 0025EF04 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 80261FA8 0025EF08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80261FAC 0025EF0C 7C 08 03 A6 */ mtlr r0 +/* 80261FB0 0025EF10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80261FB4 0025EF14 4E 80 00 20 */ blr + +.global sub_80261fb8 +sub_80261fb8: +/* 80261FB8 0025EF18 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80261FBC 0025EF1C 7C 08 02 A6 */ mflr r0 +/* 80261FC0 0025EF20 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80261FC4 0025EF24 BE 81 01 A0 */ stmw r20, 0x1a0(r1) +/* 80261FC8 0025EF28 7C B7 2B 78 */ mr r23, r5 +/* 80261FCC 0025EF2C 7C 96 23 78 */ mr r22, r4 +/* 80261FD0 0025EF30 7C D8 33 78 */ mr r24, r6 +/* 80261FD4 0025EF34 7C F9 3B 78 */ mr r25, r7 +/* 80261FD8 0025EF38 7D 1A 43 78 */ mr r26, r8 +/* 80261FDC 0025EF3C 3B 77 00 04 */ addi r27, r23, 4 +/* 80261FE0 0025EF40 3B E1 01 30 */ addi r31, r1, 0x130 +/* 80261FE4 0025EF44 3B C1 01 68 */ addi r30, r1, 0x168 +/* 80261FE8 0025EF48 3B A1 00 90 */ addi r29, r1, 0x90 +/* 80261FEC 0025EF4C 3B 81 00 C8 */ addi r28, r1, 0xc8 +/* 80261FF0 0025EF50 48 00 02 60 */ b lbl_80262250 +lbl_80261FF4: +/* 80261FF4 0025EF54 A0 1B 00 00 */ lhz r0, 0(r27) +/* 80261FF8 0025EF58 7E C3 B3 78 */ mr r3, r22 +/* 80261FFC 0025EF5C 38 81 00 08 */ addi r4, r1, 8 +/* 80262000 0025EF60 B0 01 00 08 */ sth r0, 8(r1) +/* 80262004 0025EF64 4B DE A5 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262008 0025EF68 7C 64 1B 78 */ mr r4, r3 +/* 8026200C 0025EF6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80262010 0025EF70 4B E4 DC 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80262014 0025EF74 82 A3 00 04 */ lwz r21, 4(r3) +/* 80262018 0025EF78 28 15 00 00 */ cmplwi r21, 0 +/* 8026201C 0025EF7C 41 82 02 30 */ beq lbl_8026224C +/* 80262020 0025EF80 7E A4 AB 78 */ mr r4, r21 +/* 80262024 0025EF84 38 61 00 18 */ addi r3, r1, 0x18 +/* 80262028 0025EF88 4B E4 A6 BD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8026202C 0025EF8C 82 83 00 04 */ lwz r20, 4(r3) +/* 80262030 0025EF90 28 14 00 00 */ cmplwi r20, 0 +/* 80262034 0025EF94 41 82 00 98 */ beq lbl_802620CC +/* 80262038 0025EF98 7E 84 A3 78 */ mr r4, r20 +/* 8026203C 0025EF9C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80262040 0025EFA0 81 94 00 00 */ lwz r12, 0(r20) +/* 80262044 0025EFA4 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 80262048 0025EFA8 7D 89 03 A6 */ mtctr r12 +/* 8026204C 0025EFAC 4E 80 04 21 */ bctrl +/* 80262050 0025EFB0 7E 83 A3 78 */ mr r3, r20 +/* 80262054 0025EFB4 4B DF 18 69 */ bl GetMaterialFilter__6CActorCFv +/* 80262058 0025EFB8 7C 75 1B 78 */ mr r21, r3 +/* 8026205C 0025EFBC 7E 83 A3 78 */ mr r3, r20 +/* 80262060 0025EFC0 81 94 00 00 */ lwz r12, 0(r20) +/* 80262064 0025EFC4 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 80262068 0025EFC8 7D 89 03 A6 */ mtctr r12 +/* 8026206C 0025EFCC 4E 80 04 21 */ bctrl +/* 80262070 0025EFD0 90 61 01 28 */ stw r3, 0x128(r1) +/* 80262074 0025EFD4 7F E3 FB 78 */ mr r3, r31 +/* 80262078 0025EFD8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8026207C 0025EFDC 92 A1 01 2C */ stw r21, 0x12c(r1) +/* 80262080 0025EFE0 48 0B 0A F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80262084 0025EFE4 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha +/* 80262088 0025EFE8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8026208C 0025EFEC 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l +/* 80262090 0025EFF0 93 01 01 60 */ stw r24, 0x160(r1) +/* 80262094 0025EFF4 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80262098 0025EFF8 7F C3 F3 78 */ mr r3, r30 +/* 8026209C 0025EFFC 90 01 01 64 */ stw r0, 0x164(r1) +/* 802620A0 0025F000 48 0B 0A D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802620A4 0025F004 7F 45 D3 78 */ mr r5, r26 +/* 802620A8 0025F008 38 61 01 60 */ addi r3, r1, 0x160 +/* 802620AC 0025F00C 38 81 01 28 */ addi r4, r1, 0x128 +/* 802620B0 0025F010 48 06 C7 01 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +/* 802620B4 0025F014 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802620B8 0025F018 41 82 01 94 */ beq lbl_8026224C +/* 802620BC 0025F01C A0 1B 00 00 */ lhz r0, 0(r27) +/* 802620C0 0025F020 38 60 00 01 */ li r3, 1 +/* 802620C4 0025F024 B0 19 00 00 */ sth r0, 0(r25) +/* 802620C8 0025F028 48 00 01 A4 */ b lbl_8026226C +lbl_802620CC: +/* 802620CC 0025F02C 7E A4 AB 78 */ mr r4, r21 +/* 802620D0 0025F030 38 61 00 28 */ addi r3, r1, 0x28 +/* 802620D4 0025F034 81 95 00 00 */ lwz r12, 0(r21) +/* 802620D8 0025F038 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 802620DC 0025F03C 7D 89 03 A6 */ mtctr r12 +/* 802620E0 0025F040 4E 80 04 21 */ bctrl +/* 802620E4 0025F044 88 01 00 40 */ lbz r0, 0x40(r1) +/* 802620E8 0025F048 28 00 00 00 */ cmplwi r0, 0 +/* 802620EC 0025F04C 98 01 00 5C */ stb r0, 0x5c(r1) +/* 802620F0 0025F050 41 82 00 3C */ beq lbl_8026212C +/* 802620F4 0025F054 34 61 00 44 */ addic. r3, r1, 0x44 +/* 802620F8 0025F058 41 82 00 34 */ beq lbl_8026212C +/* 802620FC 0025F05C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80262100 0025F060 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262104 0025F064 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80262108 0025F068 D0 03 00 04 */ stfs f0, 4(r3) +/* 8026210C 0025F06C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80262110 0025F070 D0 03 00 08 */ stfs f0, 8(r3) +/* 80262114 0025F074 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80262118 0025F078 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8026211C 0025F07C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80262120 0025F080 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80262124 0025F084 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80262128 0025F088 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8026212C: +/* 8026212C 0025F08C 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80262130 0025F090 38 C0 00 00 */ li r6, 0 +/* 80262134 0025F094 98 C1 00 40 */ stb r6, 0x40(r1) +/* 80262138 0025F098 28 00 00 00 */ cmplwi r0, 0 +/* 8026213C 0025F09C 41 82 01 08 */ beq lbl_80262244 +/* 80262140 0025F0A0 80 AD 98 2C */ lwz r5, lbl_805A83EC@sda21(r13) +/* 80262144 0025F0A4 38 60 00 00 */ li r3, 0 +/* 80262148 0025F0A8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8026214C 0025F0AC 38 80 00 01 */ li r4, 1 +/* 80262150 0025F0B0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80262154 0025F0B4 48 12 7D A1 */ bl __shl2i +/* 80262158 0025F0B8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8026215C 0025F0BC 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80262160 0025F0C0 7C 00 1B 78 */ or r0, r0, r3 +/* 80262164 0025F0C4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80262168 0025F0C8 7C A5 23 78 */ or r5, r5, r4 +/* 8026216C 0025F0CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80262170 0025F0D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80262174 0025F0D4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80262178 0025F0D8 48 06 D7 3D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8026217C 0025F0DC C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 80262180 0025F0E0 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80262184 0025F0E4 C0 81 00 48 */ lfs f4, 0x48(r1) +/* 80262188 0025F0E8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 8026218C 0025F0EC 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l +/* 80262190 0025F0F0 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 80262194 0025F0F4 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80262198 0025F0F8 38 C4 CA D0 */ addi r6, r4, lbl_803ECAD0@l +/* 8026219C 0025F0FC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802621A0 0025F100 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802621A4 0025F104 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802621A8 0025F108 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802621AC 0025F10C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802621B0 0025F110 90 C1 00 60 */ stw r6, 0x60(r1) +/* 802621B4 0025F114 7F A3 EB 78 */ mr r3, r29 +/* 802621B8 0025F118 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 802621BC 0025F11C D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802621C0 0025F120 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802621C4 0025F124 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 802621C8 0025F128 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802621CC 0025F12C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802621D0 0025F130 90 A1 00 88 */ stw r5, 0x88(r1) +/* 802621D4 0025F134 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802621D8 0025F138 48 0B 09 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802621DC 0025F13C 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha +/* 802621E0 0025F140 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802621E4 0025F144 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l +/* 802621E8 0025F148 93 01 00 C0 */ stw r24, 0xc0(r1) +/* 802621EC 0025F14C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802621F0 0025F150 7F 83 E3 78 */ mr r3, r28 +/* 802621F4 0025F154 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802621F8 0025F158 48 0B 09 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802621FC 0025F15C 7F 45 D3 78 */ mr r5, r26 +/* 80262200 0025F160 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80262204 0025F164 38 81 00 88 */ addi r4, r1, 0x88 +/* 80262208 0025F168 48 06 C5 A9 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList +/* 8026220C 0025F16C 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 80262210 0025F170 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80262214 0025F174 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l +/* 80262218 0025F178 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8026221C 0025F17C 90 81 00 60 */ stw r4, 0x60(r1) +/* 80262220 0025F180 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80262224 0025F184 90 61 00 60 */ stw r3, 0x60(r1) +/* 80262228 0025F188 41 82 00 1C */ beq lbl_80262244 +/* 8026222C 0025F18C A0 9B 00 00 */ lhz r4, 0(r27) +/* 80262230 0025F190 38 00 00 00 */ li r0, 0 +/* 80262234 0025F194 98 01 00 5C */ stb r0, 0x5c(r1) +/* 80262238 0025F198 38 60 00 01 */ li r3, 1 +/* 8026223C 0025F19C B0 99 00 00 */ sth r4, 0(r25) +/* 80262240 0025F1A0 48 00 00 2C */ b lbl_8026226C +lbl_80262244: +/* 80262244 0025F1A4 38 00 00 00 */ li r0, 0 +/* 80262248 0025F1A8 98 01 00 5C */ stb r0, 0x5c(r1) +lbl_8026224C: +/* 8026224C 0025F1AC 3B 7B 00 02 */ addi r27, r27, 2 +lbl_80262250: +/* 80262250 0025F1B0 80 17 00 00 */ lwz r0, 0(r23) +/* 80262254 0025F1B4 54 00 08 3C */ slwi r0, r0, 1 +/* 80262258 0025F1B8 7C 77 02 14 */ add r3, r23, r0 +/* 8026225C 0025F1BC 38 03 00 04 */ addi r0, r3, 4 +/* 80262260 0025F1C0 7C 1B 00 40 */ cmplw r27, r0 +/* 80262264 0025F1C4 40 82 FD 90 */ bne lbl_80261FF4 +/* 80262268 0025F1C8 38 60 00 00 */ li r3, 0 +lbl_8026226C: +/* 8026226C 0025F1CC BA 81 01 A0 */ lmw r20, 0x1a0(r1) +/* 80262270 0025F1D0 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80262274 0025F1D4 7C 08 03 A6 */ mtlr r0 +/* 80262278 0025F1D8 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 8026227C 0025F1DC 4E 80 00 20 */ blr + +.global sub_80262280 +sub_80262280: +/* 80262280 0025F1E0 94 21 B5 10 */ stwu r1, -0x4af0(r1) +/* 80262284 0025F1E4 7C 08 02 A6 */ mflr r0 +/* 80262288 0025F1E8 90 01 4A F4 */ stw r0, 0x4af4(r1) +/* 8026228C 0025F1EC 38 00 4A E8 */ li r0, 0x4ae8 +/* 80262290 0025F1F0 DB E1 4A E0 */ stfd f31, 0x4ae0(r1) +/* 80262294 0025F1F4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 +/* 80262298 0025F1F8 38 00 4A D8 */ li r0, 0x4ad8 +/* 8026229C 0025F1FC DB C1 4A D0 */ stfd f30, 0x4ad0(r1) +/* 802622A0 0025F200 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 +/* 802622A4 0025F204 38 00 4A C8 */ li r0, 0x4ac8 +/* 802622A8 0025F208 DB A1 4A C0 */ stfd f29, 0x4ac0(r1) +/* 802622AC 0025F20C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 +/* 802622B0 0025F210 38 00 4A B8 */ li r0, 0x4ab8 +/* 802622B4 0025F214 DB 81 4A B0 */ stfd f28, 0x4ab0(r1) +/* 802622B8 0025F218 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 +/* 802622BC 0025F21C 38 00 4A A8 */ li r0, 0x4aa8 +/* 802622C0 0025F220 DB 61 4A A0 */ stfd f27, 0x4aa0(r1) +/* 802622C4 0025F224 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 +/* 802622C8 0025F228 38 00 4A 98 */ li r0, 0x4a98 +/* 802622CC 0025F22C DB 41 4A 90 */ stfd f26, 0x4a90(r1) +/* 802622D0 0025F230 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 +/* 802622D4 0025F234 38 00 4A 88 */ li r0, 0x4a88 +/* 802622D8 0025F238 DB 21 4A 80 */ stfd f25, 0x4a80(r1) +/* 802622DC 0025F23C 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 +/* 802622E0 0025F240 38 00 4A 78 */ li r0, 0x4a78 +/* 802622E4 0025F244 DB 01 4A 70 */ stfd f24, 0x4a70(r1) +/* 802622E8 0025F248 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 +/* 802622EC 0025F24C 38 00 4A 68 */ li r0, 0x4a68 +/* 802622F0 0025F250 DA E1 4A 60 */ stfd f23, 0x4a60(r1) +/* 802622F4 0025F254 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 +/* 802622F8 0025F258 38 00 4A 58 */ li r0, 0x4a58 +/* 802622FC 0025F25C DA C1 4A 50 */ stfd f22, 0x4a50(r1) +/* 80262300 0025F260 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0 +/* 80262304 0025F264 BD C1 4A 08 */ stmw r14, 0x4a08(r1) +/* 80262308 0025F268 7C 7D 1B 78 */ mr r29, r3 +/* 8026230C 0025F26C 38 C0 00 00 */ li r6, 0 +/* 80262310 0025F270 38 7D 02 F4 */ addi r3, r29, 0x2f4 +/* 80262314 0025F274 38 01 00 D4 */ addi r0, r1, 0xd4 +/* 80262318 0025F278 FE C0 08 90 */ fmr f22, f1 +/* 8026231C 0025F27C 7C 03 00 40 */ cmplw r3, r0 +/* 80262320 0025F280 98 C1 00 E0 */ stb r6, 0xe0(r1) +/* 80262324 0025F284 7C 9E 23 78 */ mr r30, r4 +/* 80262328 0025F288 7C BF 2B 78 */ mr r31, r5 +/* 8026232C 0025F28C 3A 60 00 00 */ li r19, 0 +/* 80262330 0025F290 41 82 00 64 */ beq lbl_80262394 +/* 80262334 0025F294 28 06 00 00 */ cmplwi r6, 0 +/* 80262338 0025F298 41 82 00 58 */ beq lbl_80262390 +/* 8026233C 0025F29C 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262340 0025F2A0 28 00 00 00 */ cmplwi r0, 0 +/* 80262344 0025F2A4 40 82 00 30 */ bne lbl_80262374 +/* 80262348 0025F2A8 34 7D 02 F4 */ addic. r3, r29, 0x2f4 +/* 8026234C 0025F2AC 41 82 00 1C */ beq lbl_80262368 +/* 80262350 0025F2B0 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80262354 0025F2B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262358 0025F2B8 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 8026235C 0025F2BC D0 03 00 04 */ stfs f0, 4(r3) +/* 80262360 0025F2C0 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80262364 0025F2C4 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80262368: +/* 80262368 0025F2C8 38 00 00 01 */ li r0, 1 +/* 8026236C 0025F2CC 98 1D 03 00 */ stb r0, 0x300(r29) +/* 80262370 0025F2D0 48 00 00 24 */ b lbl_80262394 +lbl_80262374: +/* 80262374 0025F2D4 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80262378 0025F2D8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8026237C 0025F2DC C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80262380 0025F2E0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80262384 0025F2E4 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80262388 0025F2E8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8026238C 0025F2EC 48 00 00 08 */ b lbl_80262394 +lbl_80262390: +/* 80262390 0025F2F0 98 DD 03 00 */ stb r6, 0x300(r29) +lbl_80262394: +/* 80262394 0025F2F4 38 60 00 00 */ li r3, 0 +/* 80262398 0025F2F8 80 0D 98 10 */ lwz r0, lbl_805A83D0@sda21(r13) +/* 8026239C 0025F2FC 98 61 00 E0 */ stb r3, 0xe0(r1) +/* 802623A0 0025F300 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802623A4 0025F304 83 7D 03 70 */ lwz r27, 0x370(r29) +/* 802623A8 0025F308 90 61 41 F4 */ stw r3, 0x41f4(r1) +/* 802623AC 0025F30C 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 802623B0 0025F310 7C 63 16 70 */ srawi r3, r3, 2 +/* 802623B4 0025F314 7C 63 01 94 */ addze r3, r3 +/* 802623B8 0025F318 7C 03 00 00 */ cmpw r3, r0 +/* 802623BC 0025F31C 90 61 00 64 */ stw r3, 0x64(r1) +/* 802623C0 0025F320 40 80 00 08 */ bge lbl_802623C8 +/* 802623C4 0025F324 38 AD 98 10 */ addi r5, r13, lbl_805A83D0@sda21 +lbl_802623C8: +/* 802623C8 0025F328 80 9D 03 70 */ lwz r4, 0x370(r29) +/* 802623CC 0025F32C 38 61 26 C8 */ addi r3, r1, 0x26c8 +/* 802623D0 0025F330 3A 83 00 04 */ addi r20, r3, 4 +/* 802623D4 0025F334 80 05 00 00 */ lwz r0, 0(r5) +/* 802623D8 0025F338 80 C4 01 60 */ lwz r6, 0x160(r4) +/* 802623DC 0025F33C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802623E0 0025F340 80 84 01 58 */ lwz r4, 0x158(r4) +/* 802623E4 0025F344 3B 83 66 A0 */ addi r28, r3, skZero3f@l +/* 802623E8 0025F348 90 01 49 F8 */ stw r0, 0x49f8(r1) +/* 802623EC 0025F34C 3A C1 41 F8 */ addi r22, r1, 0x41f8 +/* 802623F0 0025F350 7C 66 22 14 */ add r3, r6, r4 +/* 802623F4 0025F354 C3 C2 BA 6C */ lfs f30, lbl_805AD78C@sda21(r2) +/* 802623F8 0025F358 38 63 FF FF */ addi r3, r3, -1 +/* 802623FC 0025F35C C3 E2 BA 70 */ lfs f31, lbl_805AD790@sda21(r2) +/* 80262400 0025F360 7C 03 33 D6 */ divw r0, r3, r6 +/* 80262404 0025F364 39 C1 0E AC */ addi r14, r1, 0xeac +/* 80262408 0025F368 3A 40 00 00 */ li r18, 0 +/* 8026240C 0025F36C 7C 00 31 D6 */ mullw r0, r0, r6 +/* 80262410 0025F370 7F 40 18 50 */ subf r26, r0, r3 +/* 80262414 0025F374 48 00 0E 98 */ b lbl_802632AC +lbl_80262418: +/* 80262418 0025F378 38 60 00 00 */ li r3, 0 +/* 8026241C 0025F37C 80 01 49 F8 */ lwz r0, 0x49f8(r1) +/* 80262420 0025F380 98 61 02 40 */ stb r3, 0x240(r1) +/* 80262424 0025F384 38 61 00 60 */ addi r3, r1, 0x60 +/* 80262428 0025F388 7C 12 02 14 */ add r0, r18, r0 +/* 8026242C 0025F38C 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 80262430 0025F390 7C 04 00 00 */ cmpw r4, r0 +/* 80262434 0025F394 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80262438 0025F398 90 01 00 60 */ stw r0, 0x60(r1) +/* 8026243C 0025F39C 40 80 00 08 */ bge lbl_80262444 +/* 80262440 0025F3A0 38 61 00 5C */ addi r3, r1, 0x5c +lbl_80262444: +/* 80262444 0025F3A4 82 23 00 00 */ lwz r17, 0(r3) +/* 80262448 0025F3A8 56 55 38 30 */ slwi r21, r18, 7 +/* 8026244C 0025F3AC 7E 57 93 78 */ mr r23, r18 +/* 80262450 0025F3B0 D3 C1 00 68 */ stfs f30, 0x68(r1) +/* 80262454 0025F3B4 7E B0 AB 78 */ mr r16, r21 +/* 80262458 0025F3B8 48 00 00 FC */ b lbl_80262554 +lbl_8026245C: +/* 8026245C 0025F3BC 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262460 0025F3C0 7D E0 82 14 */ add r15, r0, r16 +/* 80262464 0025F3C4 88 0F 00 00 */ lbz r0, 0(r15) +/* 80262468 0025F3C8 28 00 00 00 */ cmplwi r0, 0 +/* 8026246C 0025F3CC 41 82 00 E0 */ beq lbl_8026254C +/* 80262470 0025F3D0 88 01 02 40 */ lbz r0, 0x240(r1) +/* 80262474 0025F3D4 28 00 00 00 */ cmplwi r0, 0 +/* 80262478 0025F3D8 40 82 00 84 */ bne lbl_802624FC +/* 8026247C 0025F3DC 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80262480 0025F3E0 39 03 67 54 */ addi r8, r3, lbl_805A6754@l +/* 80262484 0025F3E4 40 82 00 48 */ bne lbl_802624CC +/* 80262488 0025F3E8 34 61 02 28 */ addic. r3, r1, 0x228 +/* 8026248C 0025F3EC 41 82 00 34 */ beq lbl_802624C0 +/* 80262490 0025F3F0 C0 08 00 00 */ lfs f0, 0(r8) +/* 80262494 0025F3F4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80262498 0025F3F8 C0 08 00 04 */ lfs f0, 4(r8) +/* 8026249C 0025F3FC D0 03 00 04 */ stfs f0, 4(r3) +/* 802624A0 0025F400 C0 08 00 08 */ lfs f0, 8(r8) +/* 802624A4 0025F404 D0 03 00 08 */ stfs f0, 8(r3) +/* 802624A8 0025F408 C0 08 00 0C */ lfs f0, 0xc(r8) +/* 802624AC 0025F40C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802624B0 0025F410 C0 08 00 10 */ lfs f0, 0x10(r8) +/* 802624B4 0025F414 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802624B8 0025F418 C0 08 00 14 */ lfs f0, 0x14(r8) +/* 802624BC 0025F41C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802624C0: +/* 802624C0 0025F420 38 00 00 01 */ li r0, 1 +/* 802624C4 0025F424 98 01 02 40 */ stb r0, 0x240(r1) +/* 802624C8 0025F428 48 00 00 34 */ b lbl_802624FC +lbl_802624CC: +/* 802624CC 0025F42C 80 E8 00 00 */ lwz r7, 0(r8) +/* 802624D0 0025F430 80 C8 00 04 */ lwz r6, 4(r8) +/* 802624D4 0025F434 80 A8 00 08 */ lwz r5, 8(r8) +/* 802624D8 0025F438 80 88 00 0C */ lwz r4, 0xc(r8) +/* 802624DC 0025F43C 80 68 00 10 */ lwz r3, 0x10(r8) +/* 802624E0 0025F440 80 08 00 14 */ lwz r0, 0x14(r8) +/* 802624E4 0025F444 90 E1 02 28 */ stw r7, 0x228(r1) +/* 802624E8 0025F448 90 C1 02 2C */ stw r6, 0x22c(r1) +/* 802624EC 0025F44C 90 A1 02 30 */ stw r5, 0x230(r1) +/* 802624F0 0025F450 90 81 02 34 */ stw r4, 0x234(r1) +/* 802624F4 0025F454 90 61 02 38 */ stw r3, 0x238(r1) +/* 802624F8 0025F458 90 01 02 3C */ stw r0, 0x23c(r1) +lbl_802624FC: +/* 802624FC 0025F45C 38 61 02 28 */ addi r3, r1, 0x228 +/* 80262500 0025F460 38 8F 00 0C */ addi r4, r15, 0xc +/* 80262504 0025F464 48 0D 56 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80262508 0025F468 C0 2F 00 74 */ lfs f1, 0x74(r15) +/* 8026250C 0025F46C C0 0F 00 78 */ lfs f0, 0x78(r15) +/* 80262510 0025F470 EC 41 00 72 */ fmuls f2, f1, f1 +/* 80262514 0025F474 C0 6F 00 7C */ lfs f3, 0x7c(r15) +/* 80262518 0025F478 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8026251C 0025F47C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80262520 0025F480 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80262524 0025F484 EC 22 08 2A */ fadds f1, f2, f1 +/* 80262528 0025F488 EC 23 08 2A */ fadds f1, f3, f1 +/* 8026252C 0025F48C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80262530 0025F490 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80262534 0025F494 40 80 00 0C */ bge lbl_80262540 +/* 80262538 0025F498 38 61 00 58 */ addi r3, r1, 0x58 +/* 8026253C 0025F49C 48 00 00 08 */ b lbl_80262544 +lbl_80262540: +/* 80262540 0025F4A0 38 61 00 68 */ addi r3, r1, 0x68 +lbl_80262544: +/* 80262544 0025F4A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80262548 0025F4A8 D0 01 00 68 */ stfs f0, 0x68(r1) +lbl_8026254C: +/* 8026254C 0025F4AC 3A 10 00 80 */ addi r16, r16, 0x80 +/* 80262550 0025F4B0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80262554: +/* 80262554 0025F4B4 7C 17 88 00 */ cmpw r23, r17 +/* 80262558 0025F4B8 41 80 FF 04 */ blt lbl_8026245C +/* 8026255C 0025F4BC C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80262560 0025F4C0 48 0B 2F A1 */ bl SqrtF__5CMathFf +/* 80262564 0025F4C4 EE FF 08 2A */ fadds f23, f31, f1 +/* 80262568 0025F4C8 88 01 02 40 */ lbz r0, 0x240(r1) +/* 8026256C 0025F4CC 28 00 00 00 */ cmplwi r0, 0 +/* 80262570 0025F4D0 D2 E1 00 68 */ stfs f23, 0x68(r1) +/* 80262574 0025F4D4 41 82 0D 28 */ beq lbl_8026329C +/* 80262578 0025F4D8 C0 41 02 2C */ lfs f2, 0x22c(r1) +/* 8026257C 0025F4DC 38 61 02 28 */ addi r3, r1, 0x228 +/* 80262580 0025F4E0 C0 21 02 30 */ lfs f1, 0x230(r1) +/* 80262584 0025F4E4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80262588 0025F4E8 C0 01 02 28 */ lfs f0, 0x228(r1) +/* 8026258C 0025F4EC EC 42 B8 28 */ fsubs f2, f2, f23 +/* 80262590 0025F4F0 EC 21 B8 28 */ fsubs f1, f1, f23 +/* 80262594 0025F4F4 EC 00 B8 28 */ fsubs f0, f0, f23 +/* 80262598 0025F4F8 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8026259C 0025F4FC D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802625A0 0025F500 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802625A4 0025F504 48 0D 55 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802625A8 0025F508 C0 41 02 38 */ lfs f2, 0x238(r1) +/* 802625AC 0025F50C 38 61 02 28 */ addi r3, r1, 0x228 +/* 802625B0 0025F510 C0 21 02 3C */ lfs f1, 0x23c(r1) +/* 802625B4 0025F514 38 81 00 BC */ addi r4, r1, 0xbc +/* 802625B8 0025F518 C0 01 02 34 */ lfs f0, 0x234(r1) +/* 802625BC 0025F51C EC 42 B8 2A */ fadds f2, f2, f23 +/* 802625C0 0025F520 EC 21 B8 2A */ fadds f1, f1, f23 +/* 802625C4 0025F524 EC 00 B8 2A */ fadds f0, f0, f23 +/* 802625C8 0025F528 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 802625CC 0025F52C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802625D0 0025F530 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 802625D4 0025F534 48 0D 55 35 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802625D8 0025F538 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 802625DC 0025F53C 38 60 00 00 */ li r3, 0 +/* 802625E0 0025F540 2C 05 00 00 */ cmpwi r5, 0 +/* 802625E4 0025F544 40 81 00 44 */ ble lbl_80262628 +/* 802625E8 0025F548 2C 05 00 08 */ cmpwi r5, 8 +/* 802625EC 0025F54C 38 85 FF F8 */ addi r4, r5, -8 +/* 802625F0 0025F550 40 81 00 20 */ ble lbl_80262610 +/* 802625F4 0025F554 38 04 00 07 */ addi r0, r4, 7 +/* 802625F8 0025F558 54 00 E8 FE */ srwi r0, r0, 3 +/* 802625FC 0025F55C 7C 09 03 A6 */ mtctr r0 +/* 80262600 0025F560 2C 04 00 00 */ cmpwi r4, 0 +/* 80262604 0025F564 40 81 00 0C */ ble lbl_80262610 +lbl_80262608: +/* 80262608 0025F568 38 63 00 08 */ addi r3, r3, 8 +/* 8026260C 0025F56C 42 00 FF FC */ bdnz lbl_80262608 +lbl_80262610: +/* 80262610 0025F570 7C 03 28 50 */ subf r0, r3, r5 +/* 80262614 0025F574 7C 09 03 A6 */ mtctr r0 +/* 80262618 0025F578 7C 03 28 00 */ cmpw r3, r5 +/* 8026261C 0025F57C 40 80 00 0C */ bge lbl_80262628 +lbl_80262620: +/* 80262620 0025F580 38 63 00 01 */ addi r3, r3, 1 +/* 80262624 0025F584 42 00 FF FC */ bdnz lbl_80262620 +lbl_80262628: +/* 80262628 0025F588 38 00 00 00 */ li r0, 0 +/* 8026262C 0025F58C 80 AD 98 18 */ lwz r5, lbl_805A83D8@sda21(r13) +/* 80262630 0025F590 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262634 0025F594 38 60 00 00 */ li r3, 0 +/* 80262638 0025F598 38 80 00 01 */ li r4, 1 +/* 8026263C 0025F59C 81 FE 08 4C */ lwz r15, 0x84c(r30) +/* 80262640 0025F5A0 48 12 78 B5 */ bl __shl2i +/* 80262644 0025F5A4 80 AD 98 14 */ lwz r5, lbl_805A83D4@sda21(r13) +/* 80262648 0025F5A8 7C 97 23 78 */ mr r23, r4 +/* 8026264C 0025F5AC 7C 70 1B 78 */ mr r16, r3 +/* 80262650 0025F5B0 38 60 00 00 */ li r3, 0 +/* 80262654 0025F5B4 38 80 00 01 */ li r4, 1 +/* 80262658 0025F5B8 48 12 78 9D */ bl __shl2i +/* 8026265C 0025F5BC 38 00 00 03 */ li r0, 3 +/* 80262660 0025F5C0 90 81 01 D4 */ stw r4, 0x1d4(r1) +/* 80262664 0025F5C4 7D E7 7B 78 */ mr r7, r15 +/* 80262668 0025F5C8 38 81 41 F4 */ addi r4, r1, 0x41f4 +/* 8026266C 0025F5CC 90 61 01 D0 */ stw r3, 0x1d0(r1) +/* 80262670 0025F5D0 7F C3 F3 78 */ mr r3, r30 +/* 80262674 0025F5D4 38 A1 02 28 */ addi r5, r1, 0x228 +/* 80262678 0025F5D8 38 C1 01 D0 */ addi r6, r1, 0x1d0 +/* 8026267C 0025F5DC 92 E1 01 DC */ stw r23, 0x1dc(r1) +/* 80262680 0025F5E0 92 01 01 D8 */ stw r16, 0x1d8(r1) +/* 80262684 0025F5E4 90 01 01 E0 */ stw r0, 0x1e0(r1) +/* 80262688 0025F5E8 4B DE A0 99 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8026268C 0025F5EC 38 61 26 B0 */ addi r3, r1, 0x26b0 +/* 80262690 0025F5F0 38 81 02 28 */ addi r4, r1, 0x228 +/* 80262694 0025F5F4 48 04 13 FD */ bl __ct__19CAreaCollisionCacheFRC6CAABox +/* 80262698 0025F5F8 7F C3 F3 78 */ mr r3, r30 +/* 8026269C 0025F5FC 38 81 26 B0 */ addi r4, r1, 0x26b0 +/* 802626A0 0025F600 4B F2 20 25 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache +/* 802626A4 0025F604 7E 50 93 78 */ mr r16, r18 +/* 802626A8 0025F608 7E B7 AB 78 */ mr r23, r21 +/* 802626AC 0025F60C 48 00 07 C0 */ b lbl_80262E6C +lbl_802626B0: +/* 802626B0 0025F610 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 802626B4 0025F614 7C 1A 80 00 */ cmpw r26, r16 +/* 802626B8 0025F618 7F 20 BA 14 */ add r25, r0, r23 +/* 802626BC 0025F61C 41 82 07 A8 */ beq lbl_80262E64 +/* 802626C0 0025F620 88 19 00 00 */ lbz r0, 0(r25) +/* 802626C4 0025F624 28 00 00 00 */ cmplwi r0, 0 +/* 802626C8 0025F628 41 82 07 9C */ beq lbl_80262E64 +/* 802626CC 0025F62C C3 B9 00 0C */ lfs f29, 0xc(r25) +/* 802626D0 0025F630 38 00 00 00 */ li r0, 0 +/* 802626D4 0025F634 C3 99 00 10 */ lfs f28, 0x10(r25) +/* 802626D8 0025F638 38 60 00 00 */ li r3, 0 +/* 802626DC 0025F63C C3 79 00 14 */ lfs f27, 0x14(r25) +/* 802626E0 0025F640 38 80 00 01 */ li r4, 1 +/* 802626E4 0025F644 80 AD 98 1C */ lwz r5, lbl_805A83DC@sda21(r13) +/* 802626E8 0025F648 C3 41 00 68 */ lfs f26, 0x68(r1) +/* 802626EC 0025F64C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802626F0 0025F650 90 01 00 90 */ stw r0, 0x90(r1) +/* 802626F4 0025F654 48 12 78 01 */ bl __shl2i +/* 802626F8 0025F658 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802626FC 0025F65C 80 A1 00 94 */ lwz r5, 0x94(r1) +/* 80262700 0025F660 7C 00 1B 78 */ or r0, r0, r3 +/* 80262704 0025F664 38 61 02 08 */ addi r3, r1, 0x208 +/* 80262708 0025F668 7C A5 23 78 */ or r5, r5, r4 +/* 8026270C 0025F66C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80262710 0025F670 38 81 00 90 */ addi r4, r1, 0x90 +/* 80262714 0025F674 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80262718 0025F678 48 06 D1 9D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8026271C 0025F67C A1 2D A3 8C */ lhz r9, lbl_805A8F4C@sda21(r13) +/* 80262720 0025F680 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80262724 0025F684 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l +/* 80262728 0025F688 38 00 00 00 */ li r0, 0 +/* 8026272C 0025F68C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80262730 0025F690 3C 60 80 47 */ lis r3, lbl_8046DCA8@ha +/* 80262734 0025F694 90 A1 02 08 */ stw r5, 0x208(r1) +/* 80262738 0025F698 38 C4 66 70 */ addi r6, r4, skIdentity4f@l +/* 8026273C 0025F69C 38 E3 DC A8 */ addi r7, r3, lbl_8046DCA8@l +/* 80262740 0025F6A0 7F C3 F3 78 */ mr r3, r30 +/* 80262744 0025F6A4 D3 A1 02 18 */ stfs f29, 0x218(r1) +/* 80262748 0025F6A8 38 81 26 B0 */ addi r4, r1, 0x26b0 +/* 8026274C 0025F6AC 38 A1 02 08 */ addi r5, r1, 0x208 +/* 80262750 0025F6B0 39 01 1A AC */ addi r8, r1, 0x1aac +/* 80262754 0025F6B4 D3 81 02 1C */ stfs f28, 0x21c(r1) +/* 80262758 0025F6B8 D3 61 02 20 */ stfs f27, 0x220(r1) +/* 8026275C 0025F6BC D3 41 02 24 */ stfs f26, 0x224(r1) +/* 80262760 0025F6C0 B1 21 00 50 */ sth r9, 0x50(r1) +/* 80262764 0025F6C4 90 01 1A AC */ stw r0, 0x1aac(r1) +/* 80262768 0025F6C8 4B F2 14 11 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList +/* 8026276C 0025F6CC 7C 6F 1B 78 */ mr r15, r3 +/* 80262770 0025F6D0 7F A3 EB 78 */ mr r3, r29 +/* 80262774 0025F6D4 7F C4 F3 78 */ mr r4, r30 +/* 80262778 0025F6D8 38 A1 41 F4 */ addi r5, r1, 0x41f4 +/* 8026277C 0025F6DC 38 C1 02 08 */ addi r6, r1, 0x208 +/* 80262780 0025F6E0 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80262784 0025F6E4 39 01 1A AC */ addi r8, r1, 0x1aac +/* 80262788 0025F6E8 4B FF F8 31 */ bl sub_80261fb8 +/* 8026278C 0025F6EC 7D E0 1B 78 */ or r0, r15, r3 +/* 80262790 0025F6F0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80262794 0025F6F4 41 82 06 60 */ beq lbl_80262DF4 +/* 80262798 0025F6F8 80 01 1A AC */ lwz r0, 0x1aac(r1) +/* 8026279C 0025F6FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802627A0 0025F700 41 82 06 54 */ beq lbl_80262DF4 +/* 802627A4 0025F704 38 00 00 00 */ li r0, 0 +/* 802627A8 0025F708 38 61 1A AC */ addi r3, r1, 0x1aac +/* 802627AC 0025F70C 98 19 00 00 */ stb r0, 0(r25) +/* 802627B0 0025F710 38 81 0E A8 */ addi r4, r1, 0xea8 +/* 802627B4 0025F714 3A 60 00 01 */ li r19, 1 +/* 802627B8 0025F718 90 01 0E A8 */ stw r0, 0xea8(r1) +/* 802627BC 0025F71C 4B F2 2C 81 */ bl sub_8018543c +/* 802627C0 0025F720 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802627C4 0025F724 C3 1C 00 04 */ lfs f24, 4(r28) +/* 802627C8 0025F728 C2 FC 00 08 */ lfs f23, 8(r28) +/* 802627CC 0025F72C 7D D8 73 78 */ mr r24, r14 +/* 802627D0 0025F730 C3 23 66 A0 */ lfs f25, skZero3f@l(r3) +/* 802627D4 0025F734 39 E0 00 00 */ li r15, 0 +/* 802627D8 0025F738 48 00 01 9C */ b lbl_80262974 +lbl_802627DC: +/* 802627DC 0025F73C 2C 0F 00 03 */ cmpwi r15, 3 +/* 802627E0 0025F740 41 81 01 A0 */ bgt lbl_80262980 +/* 802627E4 0025F744 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 802627E8 0025F748 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802627EC 0025F74C 41 82 00 0C */ beq lbl_802627F8 +/* 802627F0 0025F750 C0 62 BA 68 */ lfs f3, lbl_805AD788@sda21(r2) +/* 802627F4 0025F754 48 00 00 08 */ b lbl_802627FC +lbl_802627F8: +/* 802627F8 0025F758 C0 62 BA 74 */ lfs f3, lbl_805AD794@sda21(r2) +lbl_802627FC: +/* 802627FC 0025F75C C0 58 00 00 */ lfs f2, 0(r24) +/* 80262800 0025F760 7F A3 EB 78 */ mr r3, r29 +/* 80262804 0025F764 C0 38 00 04 */ lfs f1, 4(r24) +/* 80262808 0025F768 38 81 01 00 */ addi r4, r1, 0x100 +/* 8026280C 0025F76C C0 18 00 08 */ lfs f0, 8(r24) +/* 80262810 0025F770 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 80262814 0025F774 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80262818 0025F778 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 8026281C 0025F77C D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 80262820 0025F780 4B FF EF 15 */ bl sub_80261734 +/* 80262824 0025F784 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262828 0025F788 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 8026282C 0025F78C 7C 04 00 D0 */ neg r0, r4 +/* 80262830 0025F790 7C 00 23 78 */ or r0, r0, r4 +/* 80262834 0025F794 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80262838 0025F798 38 04 00 03 */ addi r0, r4, 3 +/* 8026283C 0025F79C 7C 03 00 00 */ cmpw r3, r0 +/* 80262840 0025F7A0 40 80 01 2C */ bge lbl_8026296C +/* 80262844 0025F7A4 7F A3 EB 78 */ mr r3, r29 +/* 80262848 0025F7A8 7F 04 C3 78 */ mr r4, r24 +/* 8026284C 0025F7AC 38 A0 00 0A */ li r5, 0xa +/* 80262850 0025F7B0 4B FF F0 89 */ bl sub_802618d8 +/* 80262854 0025F7B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80262858 0025F7B8 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 8026285C 0025F7BC 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80262860 0025F7C0 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80262864 0025F7C4 38 61 02 44 */ addi r3, r1, 0x244 +/* 80262868 0025F7C8 38 B8 00 48 */ addi r5, r24, 0x48 +/* 8026286C 0025F7CC 48 0B 12 A5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80262870 0025F7D0 38 61 02 74 */ addi r3, r1, 0x274 +/* 80262874 0025F7D4 38 81 02 44 */ addi r4, r1, 0x244 +/* 80262878 0025F7D8 48 0B 02 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8026287C 0025F7DC 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 80262880 0025F7E0 38 81 02 74 */ addi r4, r1, 0x274 +/* 80262884 0025F7E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80262888 0025F7E8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8026288C 0025F7EC 7D 89 03 A6 */ mtctr r12 +/* 80262890 0025F7F0 4E 80 04 21 */ bctrl +/* 80262894 0025F7F4 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262898 0025F7F8 38 81 02 74 */ addi r4, r1, 0x274 +/* 8026289C 0025F7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802628A0 0025F800 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802628A4 0025F804 7D 89 03 A6 */ mtctr r12 +/* 802628A8 0025F808 4E 80 04 21 */ bctrl +/* 802628AC 0025F80C 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 802628B0 0025F810 38 81 02 74 */ addi r4, r1, 0x274 +/* 802628B4 0025F814 81 83 00 00 */ lwz r12, 0(r3) +/* 802628B8 0025F818 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802628BC 0025F81C 7D 89 03 A6 */ mtctr r12 +/* 802628C0 0025F820 4E 80 04 21 */ bctrl +/* 802628C4 0025F824 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 802628C8 0025F828 7F 04 C3 78 */ mr r4, r24 +/* 802628CC 0025F82C 81 83 00 00 */ lwz r12, 0(r3) +/* 802628D0 0025F830 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802628D4 0025F834 7D 89 03 A6 */ mtctr r12 +/* 802628D8 0025F838 4E 80 04 21 */ bctrl +/* 802628DC 0025F83C 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 802628E0 0025F840 7F 04 C3 78 */ mr r4, r24 +/* 802628E4 0025F844 81 83 00 00 */ lwz r12, 0(r3) +/* 802628E8 0025F848 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802628EC 0025F84C 7D 89 03 A6 */ mtctr r12 +/* 802628F0 0025F850 4E 80 04 21 */ bctrl +/* 802628F4 0025F854 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 802628F8 0025F858 7F 04 C3 78 */ mr r4, r24 +/* 802628FC 0025F85C 81 83 00 00 */ lwz r12, 0(r3) +/* 80262900 0025F860 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80262904 0025F864 7D 89 03 A6 */ mtctr r12 +/* 80262908 0025F868 4E 80 04 21 */ bctrl +/* 8026290C 0025F86C 80 7D 03 60 */ lwz r3, 0x360(r29) +/* 80262910 0025F870 38 80 00 01 */ li r4, 1 +/* 80262914 0025F874 48 0B 9F AD */ bl ForceParticleCreation__11CElementGenFi +/* 80262918 0025F878 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 8026291C 0025F87C 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262920 0025F880 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f +/* 80262924 0025F884 7C 04 00 D0 */ neg r0, r4 +/* 80262928 0025F888 7C 00 23 78 */ or r0, r0, r4 +/* 8026292C 0025F88C 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80262930 0025F890 38 84 00 03 */ addi r4, r4, 3 +/* 80262934 0025F894 48 0B 9F 8D */ bl ForceParticleCreation__11CElementGenFi +/* 80262938 0025F898 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 8026293C 0025F89C 38 80 00 05 */ li r4, 5 +/* 80262940 0025F8A0 80 7D 03 68 */ lwz r3, 0x368(r29) +/* 80262944 0025F8A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80262948 0025F8A8 41 82 00 08 */ beq lbl_80262950 +/* 8026294C 0025F8AC 38 80 00 03 */ li r4, 3 +lbl_80262950: +/* 80262950 0025F8B0 48 0B 9F 71 */ bl ForceParticleCreation__11CElementGenFi +/* 80262954 0025F8B4 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262958 0025F8B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8026295C 0025F8BC 40 82 00 24 */ bne lbl_80262980 +/* 80262960 0025F8C0 C3 38 00 00 */ lfs f25, 0(r24) +/* 80262964 0025F8C4 C3 18 00 04 */ lfs f24, 4(r24) +/* 80262968 0025F8C8 C2 F8 00 08 */ lfs f23, 8(r24) +lbl_8026296C: +/* 8026296C 0025F8CC 3B 18 00 60 */ addi r24, r24, 0x60 +/* 80262970 0025F8D0 39 EF 00 01 */ addi r15, r15, 1 +lbl_80262974: +/* 80262974 0025F8D4 80 01 0E A8 */ lwz r0, 0xea8(r1) +/* 80262978 0025F8D8 7C 0F 00 00 */ cmpw r15, r0 +/* 8026297C 0025F8DC 41 80 FE 60 */ blt lbl_802627DC +lbl_80262980: +/* 80262980 0025F8E0 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80262984 0025F8E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80262988 0025F8E8 40 82 00 B8 */ bne lbl_80262A40 +/* 8026298C 0025F8EC 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262990 0025F8F0 28 00 00 00 */ cmplwi r0, 0 +/* 80262994 0025F8F4 41 82 00 AC */ beq lbl_80262A40 +/* 80262998 0025F8F8 80 01 0E A8 */ lwz r0, 0xea8(r1) +/* 8026299C 0025F8FC 2C 00 00 03 */ cmpwi r0, 3 +/* 802629A0 0025F900 41 80 00 48 */ blt lbl_802629E8 +/* 802629A4 0025F904 C0 3D 02 F8 */ lfs f1, 0x2f8(r29) +/* 802629A8 0025F908 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) +/* 802629AC 0025F90C EC A1 C0 28 */ fsubs f5, f1, f24 +/* 802629B0 0025F910 C0 3D 02 FC */ lfs f1, 0x2fc(r29) +/* 802629B4 0025F914 EC 60 C8 28 */ fsubs f3, f0, f25 +/* 802629B8 0025F918 C0 02 BA 78 */ lfs f0, lbl_805AD798@sda21(r2) +/* 802629BC 0025F91C EC 81 B8 28 */ fsubs f4, f1, f23 +/* 802629C0 0025F920 EC 25 01 72 */ fmuls f1, f5, f5 +/* 802629C4 0025F924 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 802629C8 0025F928 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 802629CC 0025F92C EC 64 01 32 */ fmuls f3, f4, f4 +/* 802629D0 0025F930 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 802629D4 0025F934 EC 22 08 2A */ fadds f1, f2, f1 +/* 802629D8 0025F938 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 802629DC 0025F93C EC 23 08 2A */ fadds f1, f3, f1 +/* 802629E0 0025F940 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802629E4 0025F944 40 81 00 5C */ ble lbl_80262A40 +lbl_802629E8: +/* 802629E8 0025F948 C0 62 BA 7C */ lfs f3, lbl_805AD79C@sda21(r2) +/* 802629EC 0025F94C 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802629F0 0025F950 C0 5D 02 F8 */ lfs f2, 0x2f8(r29) +/* 802629F4 0025F954 C0 3D 02 FC */ lfs f1, 0x2fc(r29) +/* 802629F8 0025F958 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) +/* 802629FC 0025F95C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80262A00 0025F960 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80262A04 0025F964 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80262A08 0025F968 EC 58 10 FA */ fmadds f2, f24, f3, f2 +/* 80262A0C 0025F96C EC 37 08 FA */ fmadds f1, f23, f3, f1 +/* 80262A10 0025F970 EC 19 00 FA */ fmadds f0, f25, f3, f0 +/* 80262A14 0025F974 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 80262A18 0025F978 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80262A1C 0025F97C D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 80262A20 0025F980 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262A24 0025F984 81 83 00 00 */ lwz r12, 0(r3) +/* 80262A28 0025F988 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80262A2C 0025F98C 7D 89 03 A6 */ mtctr r12 +/* 80262A30 0025F990 4E 80 04 21 */ bctrl +/* 80262A34 0025F994 80 7D 03 64 */ lwz r3, 0x364(r29) +/* 80262A38 0025F998 38 80 00 02 */ li r4, 2 +/* 80262A3C 0025F99C 48 0B 9E 85 */ bl ForceParticleCreation__11CElementGenFi +lbl_80262A40: +/* 80262A40 0025F9A0 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80262A44 0025F9A4 28 00 00 00 */ cmplwi r0, 0 +/* 80262A48 0025F9A8 40 82 00 24 */ bne lbl_80262A6C +/* 80262A4C 0025F9AC 34 7D 02 F4 */ addic. r3, r29, 0x2f4 +/* 80262A50 0025F9B0 41 82 00 10 */ beq lbl_80262A60 +/* 80262A54 0025F9B4 D3 23 00 00 */ stfs f25, 0(r3) +/* 80262A58 0025F9B8 D3 03 00 04 */ stfs f24, 4(r3) +/* 80262A5C 0025F9BC D2 E3 00 08 */ stfs f23, 8(r3) +lbl_80262A60: +/* 80262A60 0025F9C0 38 00 00 01 */ li r0, 1 +/* 80262A64 0025F9C4 98 1D 03 00 */ stb r0, 0x300(r29) +/* 80262A68 0025F9C8 48 00 00 10 */ b lbl_80262A78 +lbl_80262A6C: +/* 80262A6C 0025F9CC D3 3D 02 F4 */ stfs f25, 0x2f4(r29) +/* 80262A70 0025F9D0 D3 1D 02 F8 */ stfs f24, 0x2f8(r29) +/* 80262A74 0025F9D4 D2 FD 02 FC */ stfs f23, 0x2fc(r29) +lbl_80262A78: +/* 80262A78 0025F9D8 A0 61 00 50 */ lhz r3, 0x50(r1) +/* 80262A7C 0025F9DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80262A80 0025F9E0 7C 03 00 40 */ cmplw r3, r0 +/* 80262A84 0025F9E4 41 82 00 D0 */ beq lbl_80262B54 +/* 80262A88 0025F9E8 A0 01 00 50 */ lhz r0, 0x50(r1) +/* 80262A8C 0025F9EC 7F C3 F3 78 */ mr r3, r30 +/* 80262A90 0025F9F0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80262A94 0025F9F4 B0 01 00 48 */ sth r0, 0x48(r1) +/* 80262A98 0025F9F8 4B DE 9A DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262A9C 0025F9FC 7C 64 1B 78 */ mr r4, r3 +/* 80262AA0 0025FA00 38 61 00 88 */ addi r3, r1, 0x88 +/* 80262AA4 0025FA04 4B E4 D1 ED */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80262AA8 0025FA08 81 E3 00 04 */ lwz r15, 4(r3) +/* 80262AAC 0025FA0C 28 0F 00 00 */ cmplwi r15, 0 +/* 80262AB0 0025FA10 41 82 00 A4 */ beq lbl_80262B54 +/* 80262AB4 0025FA14 7F A3 EB 78 */ mr r3, r29 +/* 80262AB8 0025FA18 7D E4 7B 78 */ mr r4, r15 +/* 80262ABC 0025FA1C 7F C5 F3 78 */ mr r5, r30 +/* 80262AC0 0025FA20 4B FF E9 71 */ bl sub_80261430 +/* 80262AC4 0025FA24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80262AC8 0025FA28 41 82 00 8C */ beq lbl_80262B54 +/* 80262ACC 0025FA2C 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80262AD0 0025FA30 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80262AD4 0025FA34 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80262AD8 0025FA38 38 99 00 74 */ addi r4, r25, 0x74 +/* 80262ADC 0025FA3C 90 A1 01 9C */ stw r5, 0x19c(r1) +/* 80262AE0 0025FA40 90 01 01 98 */ stw r0, 0x198(r1) +/* 80262AE4 0025FA44 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80262AE8 0025FA48 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 80262AEC 0025FA4C 90 A1 01 A4 */ stw r5, 0x1a4(r1) +/* 80262AF0 0025FA50 90 01 01 A0 */ stw r0, 0x1a0(r1) +/* 80262AF4 0025FA54 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80262AF8 0025FA58 90 01 01 A8 */ stw r0, 0x1a8(r1) +/* 80262AFC 0025FA5C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80262B00 0025FA60 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80262B04 0025FA64 A0 AF 00 08 */ lhz r5, 8(r15) +/* 80262B08 0025FA68 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80262B0C 0025FA6C B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80262B10 0025FA70 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80262B14 0025FA74 B0 A1 00 38 */ sth r5, 0x38(r1) +/* 80262B18 0025FA78 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80262B1C 0025FA7C B0 01 00 44 */ sth r0, 0x44(r1) +/* 80262B20 0025FA80 48 0B 1D 31 */ bl AsNormalized__9CVector3fCFv +/* 80262B24 0025FA84 FC 20 B0 90 */ fmr f1, f22 +/* 80262B28 0025FA88 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80262B2C 0025FA8C 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80262B30 0025FA90 4B E6 09 19 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80262B34 0025FA94 7F C3 F3 78 */ mr r3, r30 +/* 80262B38 0025FA98 38 81 00 44 */ addi r4, r1, 0x44 +/* 80262B3C 0025FA9C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80262B40 0025FAA0 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80262B44 0025FAA4 38 E1 01 B0 */ addi r7, r1, 0x1b0 +/* 80262B48 0025FAA8 39 01 01 98 */ addi r8, r1, 0x198 +/* 80262B4C 0025FAAC 39 21 00 A4 */ addi r9, r1, 0xa4 +/* 80262B50 0025FAB0 4B DE 75 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80262B54: +/* 80262B54 0025FAB4 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80262B58 0025FAB8 FC 20 B0 90 */ fmr f1, f22 +/* 80262B5C 0025FABC 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80262B60 0025FAC0 38 61 01 78 */ addi r3, r1, 0x178 +/* 80262B64 0025FAC4 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80262B68 0025FAC8 90 A1 01 64 */ stw r5, 0x164(r1) +/* 80262B6C 0025FACC 90 01 01 60 */ stw r0, 0x160(r1) +/* 80262B70 0025FAD0 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80262B74 0025FAD4 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 80262B78 0025FAD8 90 A1 01 6C */ stw r5, 0x16c(r1) +/* 80262B7C 0025FADC 90 01 01 68 */ stw r0, 0x168(r1) +/* 80262B80 0025FAE0 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80262B84 0025FAE4 90 01 01 70 */ stw r0, 0x170(r1) +/* 80262B88 0025FAE8 A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80262B8C 0025FAEC B0 01 00 28 */ sth r0, 0x28(r1) +/* 80262B90 0025FAF0 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80262B94 0025FAF4 4B E6 08 B5 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80262B98 0025FAF8 7F C3 F3 78 */ mr r3, r30 +/* 80262B9C 0025FAFC 7F A5 EB 78 */ mr r5, r29 +/* 80262BA0 0025FB00 38 81 00 2C */ addi r4, r1, 0x2c +/* 80262BA4 0025FB04 38 D9 00 0C */ addi r6, r25, 0xc +/* 80262BA8 0025FB08 38 E1 01 78 */ addi r7, r1, 0x178 +/* 80262BAC 0025FB0C 39 01 01 60 */ addi r8, r1, 0x160 +/* 80262BB0 0025FB10 4B DE 60 FD */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter +/* 80262BB4 0025FB14 80 1F 00 00 */ lwz r0, 0(r31) +/* 80262BB8 0025FB18 54 00 20 36 */ slwi r0, r0, 4 +/* 80262BBC 0025FB1C 7C 7F 02 14 */ add r3, r31, r0 +/* 80262BC0 0025FB20 34 63 00 04 */ addic. r3, r3, 4 +/* 80262BC4 0025FB24 41 82 00 14 */ beq lbl_80262BD8 +/* 80262BC8 0025FB28 D3 A3 00 00 */ stfs f29, 0(r3) +/* 80262BCC 0025FB2C D3 83 00 04 */ stfs f28, 4(r3) +/* 80262BD0 0025FB30 D3 63 00 08 */ stfs f27, 8(r3) +/* 80262BD4 0025FB34 D3 43 00 0C */ stfs f26, 0xc(r3) +lbl_80262BD8: +/* 80262BD8 0025FB38 80 7F 00 00 */ lwz r3, 0(r31) +/* 80262BDC 0025FB3C 38 03 00 01 */ addi r0, r3, 1 +/* 80262BE0 0025FB40 90 1F 00 00 */ stw r0, 0(r31) +/* 80262BE4 0025FB44 80 1F 00 00 */ lwz r0, 0(r31) +/* 80262BE8 0025FB48 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80262BEC 0025FB4C 40 82 01 B0 */ bne lbl_80262D9C +/* 80262BF0 0025FB50 80 A1 0E A8 */ lwz r5, 0xea8(r1) +/* 80262BF4 0025FB54 38 60 00 00 */ li r3, 0 +/* 80262BF8 0025FB58 2C 05 00 00 */ cmpwi r5, 0 +/* 80262BFC 0025FB5C 40 81 00 40 */ ble lbl_80262C3C +/* 80262C00 0025FB60 2C 05 00 08 */ cmpwi r5, 8 +/* 80262C04 0025FB64 38 85 FF F8 */ addi r4, r5, -8 +/* 80262C08 0025FB68 40 81 00 20 */ ble lbl_80262C28 +/* 80262C0C 0025FB6C 38 04 00 07 */ addi r0, r4, 7 +/* 80262C10 0025FB70 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262C14 0025FB74 7C 09 03 A6 */ mtctr r0 +/* 80262C18 0025FB78 2C 04 00 00 */ cmpwi r4, 0 +/* 80262C1C 0025FB7C 40 81 00 0C */ ble lbl_80262C28 +lbl_80262C20: +/* 80262C20 0025FB80 38 63 00 08 */ addi r3, r3, 8 +/* 80262C24 0025FB84 42 00 FF FC */ bdnz lbl_80262C20 +lbl_80262C28: +/* 80262C28 0025FB88 7C 03 28 50 */ subf r0, r3, r5 +/* 80262C2C 0025FB8C 7C 09 03 A6 */ mtctr r0 +/* 80262C30 0025FB90 7C 03 28 00 */ cmpw r3, r5 +/* 80262C34 0025FB94 40 80 00 08 */ bge lbl_80262C3C +lbl_80262C38: +/* 80262C38 0025FB98 42 00 00 00 */ bdnz lbl_80262C38 +lbl_80262C3C: +/* 80262C3C 0025FB9C 80 A1 1A AC */ lwz r5, 0x1aac(r1) +/* 80262C40 0025FBA0 38 60 00 00 */ li r3, 0 +/* 80262C44 0025FBA4 90 61 0E A8 */ stw r3, 0xea8(r1) +/* 80262C48 0025FBA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80262C4C 0025FBAC 40 81 00 40 */ ble lbl_80262C8C +/* 80262C50 0025FBB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80262C54 0025FBB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80262C58 0025FBB8 40 81 00 20 */ ble lbl_80262C78 +/* 80262C5C 0025FBBC 38 04 00 07 */ addi r0, r4, 7 +/* 80262C60 0025FBC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262C64 0025FBC4 7C 09 03 A6 */ mtctr r0 +/* 80262C68 0025FBC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80262C6C 0025FBCC 40 81 00 0C */ ble lbl_80262C78 +lbl_80262C70: +/* 80262C70 0025FBD0 38 63 00 08 */ addi r3, r3, 8 +/* 80262C74 0025FBD4 42 00 FF FC */ bdnz lbl_80262C70 +lbl_80262C78: +/* 80262C78 0025FBD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80262C7C 0025FBDC 7C 09 03 A6 */ mtctr r0 +/* 80262C80 0025FBE0 7C 03 28 00 */ cmpw r3, r5 +/* 80262C84 0025FBE4 40 80 00 08 */ bge lbl_80262C8C +lbl_80262C88: +/* 80262C88 0025FBE8 42 00 00 00 */ bdnz lbl_80262C88 +lbl_80262C8C: +/* 80262C8C 0025FBEC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 80262C90 0025FBF0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80262C94 0025FBF4 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 80262C98 0025FBF8 90 01 02 08 */ stw r0, 0x208(r1) +/* 80262C9C 0025FBFC 38 80 00 00 */ li r4, 0 +/* 80262CA0 0025FC00 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 80262CA4 0025FC04 34 01 26 C8 */ addic. r0, r1, 0x26c8 +/* 80262CA8 0025FC08 90 81 1A AC */ stw r4, 0x1aac(r1) +/* 80262CAC 0025FC0C 90 61 02 08 */ stw r3, 0x208(r1) +/* 80262CB0 0025FC10 41 82 00 8C */ beq lbl_80262D3C +/* 80262CB4 0025FC14 48 00 00 74 */ b lbl_80262D28 +lbl_80262CB8: +/* 80262CB8 0025FC18 28 14 00 00 */ cmplwi r20, 0 +/* 80262CBC 0025FC1C 41 82 00 64 */ beq lbl_80262D20 +/* 80262CC0 0025FC20 34 14 00 04 */ addic. r0, r20, 4 +/* 80262CC4 0025FC24 41 82 00 5C */ beq lbl_80262D20 +/* 80262CC8 0025FC28 80 D4 00 04 */ lwz r6, 4(r20) +/* 80262CCC 0025FC2C 38 60 00 00 */ li r3, 0 +/* 80262CD0 0025FC30 2C 06 00 00 */ cmpwi r6, 0 +/* 80262CD4 0025FC34 40 81 00 44 */ ble lbl_80262D18 +/* 80262CD8 0025FC38 2C 06 00 08 */ cmpwi r6, 8 +/* 80262CDC 0025FC3C 38 A6 FF F8 */ addi r5, r6, -8 +/* 80262CE0 0025FC40 40 81 00 20 */ ble lbl_80262D00 +/* 80262CE4 0025FC44 38 05 00 07 */ addi r0, r5, 7 +/* 80262CE8 0025FC48 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262CEC 0025FC4C 7C 09 03 A6 */ mtctr r0 +/* 80262CF0 0025FC50 2C 05 00 00 */ cmpwi r5, 0 +/* 80262CF4 0025FC54 40 81 00 0C */ ble lbl_80262D00 +lbl_80262CF8: +/* 80262CF8 0025FC58 38 63 00 08 */ addi r3, r3, 8 +/* 80262CFC 0025FC5C 42 00 FF FC */ bdnz lbl_80262CF8 +lbl_80262D00: +/* 80262D00 0025FC60 7C 03 30 50 */ subf r0, r3, r6 +/* 80262D04 0025FC64 7C 09 03 A6 */ mtctr r0 +/* 80262D08 0025FC68 7C 03 30 00 */ cmpw r3, r6 +/* 80262D0C 0025FC6C 40 80 00 0C */ bge lbl_80262D18 +lbl_80262D10: +/* 80262D10 0025FC70 38 63 00 01 */ addi r3, r3, 1 +/* 80262D14 0025FC74 42 00 FF FC */ bdnz lbl_80262D10 +lbl_80262D18: +/* 80262D18 0025FC78 38 00 00 00 */ li r0, 0 +/* 80262D1C 0025FC7C 90 14 00 04 */ stw r0, 4(r20) +lbl_80262D20: +/* 80262D20 0025FC80 3A 94 09 0C */ addi r20, r20, 0x90c +/* 80262D24 0025FC84 38 84 00 01 */ addi r4, r4, 1 +lbl_80262D28: +/* 80262D28 0025FC88 80 01 26 C8 */ lwz r0, 0x26c8(r1) +/* 80262D2C 0025FC8C 7C 04 00 00 */ cmpw r4, r0 +/* 80262D30 0025FC90 41 80 FF 88 */ blt lbl_80262CB8 +/* 80262D34 0025FC94 38 00 00 00 */ li r0, 0 +/* 80262D38 0025FC98 90 01 26 C8 */ stw r0, 0x26c8(r1) +lbl_80262D3C: +/* 80262D3C 0025FC9C 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 80262D40 0025FCA0 38 60 00 00 */ li r3, 0 +/* 80262D44 0025FCA4 98 61 02 40 */ stb r3, 0x240(r1) +/* 80262D48 0025FCA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80262D4C 0025FCAC 40 81 00 40 */ ble lbl_80262D8C +/* 80262D50 0025FCB0 2C 05 00 08 */ cmpwi r5, 8 +/* 80262D54 0025FCB4 38 85 FF F8 */ addi r4, r5, -8 +/* 80262D58 0025FCB8 40 81 00 20 */ ble lbl_80262D78 +/* 80262D5C 0025FCBC 38 04 00 07 */ addi r0, r4, 7 +/* 80262D60 0025FCC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262D64 0025FCC4 7C 09 03 A6 */ mtctr r0 +/* 80262D68 0025FCC8 2C 04 00 00 */ cmpwi r4, 0 +/* 80262D6C 0025FCCC 40 81 00 0C */ ble lbl_80262D78 +lbl_80262D70: +/* 80262D70 0025FCD0 38 63 00 08 */ addi r3, r3, 8 +/* 80262D74 0025FCD4 42 00 FF FC */ bdnz lbl_80262D70 +lbl_80262D78: +/* 80262D78 0025FCD8 7C 03 28 50 */ subf r0, r3, r5 +/* 80262D7C 0025FCDC 7C 09 03 A6 */ mtctr r0 +/* 80262D80 0025FCE0 7C 03 28 00 */ cmpw r3, r5 +/* 80262D84 0025FCE4 40 80 00 08 */ bge lbl_80262D8C +lbl_80262D88: +/* 80262D88 0025FCE8 42 00 00 00 */ bdnz lbl_80262D88 +lbl_80262D8C: +/* 80262D8C 0025FCEC 38 00 00 00 */ li r0, 0 +/* 80262D90 0025FCF0 38 60 00 01 */ li r3, 1 +/* 80262D94 0025FCF4 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262D98 0025FCF8 48 00 05 80 */ b lbl_80263318 +lbl_80262D9C: +/* 80262D9C 0025FCFC 80 A1 0E A8 */ lwz r5, 0xea8(r1) +/* 80262DA0 0025FD00 38 60 00 00 */ li r3, 0 +/* 80262DA4 0025FD04 2C 05 00 00 */ cmpwi r5, 0 +/* 80262DA8 0025FD08 40 81 00 44 */ ble lbl_80262DEC +/* 80262DAC 0025FD0C 2C 05 00 08 */ cmpwi r5, 8 +/* 80262DB0 0025FD10 38 85 FF F8 */ addi r4, r5, -8 +/* 80262DB4 0025FD14 40 81 00 20 */ ble lbl_80262DD4 +/* 80262DB8 0025FD18 38 04 00 07 */ addi r0, r4, 7 +/* 80262DBC 0025FD1C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262DC0 0025FD20 7C 09 03 A6 */ mtctr r0 +/* 80262DC4 0025FD24 2C 04 00 00 */ cmpwi r4, 0 +/* 80262DC8 0025FD28 40 81 00 0C */ ble lbl_80262DD4 +lbl_80262DCC: +/* 80262DCC 0025FD2C 38 63 00 08 */ addi r3, r3, 8 +/* 80262DD0 0025FD30 42 00 FF FC */ bdnz lbl_80262DCC +lbl_80262DD4: +/* 80262DD4 0025FD34 7C 03 28 50 */ subf r0, r3, r5 +/* 80262DD8 0025FD38 7C 09 03 A6 */ mtctr r0 +/* 80262DDC 0025FD3C 7C 03 28 00 */ cmpw r3, r5 +/* 80262DE0 0025FD40 40 80 00 0C */ bge lbl_80262DEC +lbl_80262DE4: +/* 80262DE4 0025FD44 38 63 00 01 */ addi r3, r3, 1 +/* 80262DE8 0025FD48 42 00 FF FC */ bdnz lbl_80262DE4 +lbl_80262DEC: +/* 80262DEC 0025FD4C 38 00 00 00 */ li r0, 0 +/* 80262DF0 0025FD50 90 01 0E A8 */ stw r0, 0xea8(r1) +lbl_80262DF4: +/* 80262DF4 0025FD54 80 A1 1A AC */ lwz r5, 0x1aac(r1) +/* 80262DF8 0025FD58 38 60 00 00 */ li r3, 0 +/* 80262DFC 0025FD5C 2C 05 00 00 */ cmpwi r5, 0 +/* 80262E00 0025FD60 40 81 00 44 */ ble lbl_80262E44 +/* 80262E04 0025FD64 2C 05 00 08 */ cmpwi r5, 8 +/* 80262E08 0025FD68 38 85 FF F8 */ addi r4, r5, -8 +/* 80262E0C 0025FD6C 40 81 00 20 */ ble lbl_80262E2C +/* 80262E10 0025FD70 38 04 00 07 */ addi r0, r4, 7 +/* 80262E14 0025FD74 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262E18 0025FD78 7C 09 03 A6 */ mtctr r0 +/* 80262E1C 0025FD7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80262E20 0025FD80 40 81 00 0C */ ble lbl_80262E2C +lbl_80262E24: +/* 80262E24 0025FD84 38 63 00 08 */ addi r3, r3, 8 +/* 80262E28 0025FD88 42 00 FF FC */ bdnz lbl_80262E24 +lbl_80262E2C: +/* 80262E2C 0025FD8C 7C 03 28 50 */ subf r0, r3, r5 +/* 80262E30 0025FD90 7C 09 03 A6 */ mtctr r0 +/* 80262E34 0025FD94 7C 03 28 00 */ cmpw r3, r5 +/* 80262E38 0025FD98 40 80 00 0C */ bge lbl_80262E44 +lbl_80262E3C: +/* 80262E3C 0025FD9C 38 63 00 01 */ addi r3, r3, 1 +/* 80262E40 0025FDA0 42 00 FF FC */ bdnz lbl_80262E3C +lbl_80262E44: +/* 80262E44 0025FDA4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 80262E48 0025FDA8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80262E4C 0025FDAC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 80262E50 0025FDB0 38 80 00 00 */ li r4, 0 +/* 80262E54 0025FDB4 90 01 02 08 */ stw r0, 0x208(r1) +/* 80262E58 0025FDB8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 80262E5C 0025FDBC 90 81 1A AC */ stw r4, 0x1aac(r1) +/* 80262E60 0025FDC0 90 01 02 08 */ stw r0, 0x208(r1) +lbl_80262E64: +/* 80262E64 0025FDC4 3A F7 00 80 */ addi r23, r23, 0x80 +/* 80262E68 0025FDC8 3A 10 00 01 */ addi r16, r16, 1 +lbl_80262E6C: +/* 80262E6C 0025FDCC 7C 10 88 00 */ cmpw r16, r17 +/* 80262E70 0025FDD0 41 80 F8 40 */ blt lbl_802626B0 +/* 80262E74 0025FDD4 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 80262E78 0025FDD8 38 60 00 00 */ li r3, 0 +/* 80262E7C 0025FDDC 2C 05 00 00 */ cmpwi r5, 0 +/* 80262E80 0025FDE0 40 81 00 44 */ ble lbl_80262EC4 +/* 80262E84 0025FDE4 2C 05 00 08 */ cmpwi r5, 8 +/* 80262E88 0025FDE8 38 85 FF F8 */ addi r4, r5, -8 +/* 80262E8C 0025FDEC 40 81 00 20 */ ble lbl_80262EAC +/* 80262E90 0025FDF0 38 04 00 07 */ addi r0, r4, 7 +/* 80262E94 0025FDF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80262E98 0025FDF8 7C 09 03 A6 */ mtctr r0 +/* 80262E9C 0025FDFC 2C 04 00 00 */ cmpwi r4, 0 +/* 80262EA0 0025FE00 40 81 00 0C */ ble lbl_80262EAC +lbl_80262EA4: +/* 80262EA4 0025FE04 38 63 00 08 */ addi r3, r3, 8 +/* 80262EA8 0025FE08 42 00 FF FC */ bdnz lbl_80262EA4 +lbl_80262EAC: +/* 80262EAC 0025FE0C 7C 03 28 50 */ subf r0, r3, r5 +/* 80262EB0 0025FE10 7C 09 03 A6 */ mtctr r0 +/* 80262EB4 0025FE14 7C 03 28 00 */ cmpw r3, r5 +/* 80262EB8 0025FE18 40 80 00 0C */ bge lbl_80262EC4 +lbl_80262EBC: +/* 80262EBC 0025FE1C 38 63 00 01 */ addi r3, r3, 1 +/* 80262EC0 0025FE20 42 00 FF FC */ bdnz lbl_80262EBC +lbl_80262EC4: +/* 80262EC4 0025FE24 38 00 00 00 */ li r0, 0 +/* 80262EC8 0025FE28 80 AD 98 20 */ lwz r5, lbl_805A83E0@sda21(r13) +/* 80262ECC 0025FE2C 90 01 41 F4 */ stw r0, 0x41f4(r1) +/* 80262ED0 0025FE30 38 60 00 00 */ li r3, 0 +/* 80262ED4 0025FE34 38 80 00 01 */ li r4, 1 +/* 80262ED8 0025FE38 81 FE 08 4C */ lwz r15, 0x84c(r30) +/* 80262EDC 0025FE3C 48 12 70 19 */ bl __shl2i +/* 80262EE0 0025FE40 39 00 00 00 */ li r8, 0 +/* 80262EE4 0025FE44 38 00 00 01 */ li r0, 1 +/* 80262EE8 0025FE48 90 81 01 4C */ stw r4, 0x14c(r1) +/* 80262EEC 0025FE4C 7D E7 7B 78 */ mr r7, r15 +/* 80262EF0 0025FE50 38 81 41 F4 */ addi r4, r1, 0x41f4 +/* 80262EF4 0025FE54 38 A1 02 28 */ addi r5, r1, 0x228 +/* 80262EF8 0025FE58 90 61 01 48 */ stw r3, 0x148(r1) +/* 80262EFC 0025FE5C 7F C3 F3 78 */ mr r3, r30 +/* 80262F00 0025FE60 38 C1 01 48 */ addi r6, r1, 0x148 +/* 80262F04 0025FE64 91 01 01 54 */ stw r8, 0x154(r1) +/* 80262F08 0025FE68 91 01 01 50 */ stw r8, 0x150(r1) +/* 80262F0C 0025FE6C 90 01 01 58 */ stw r0, 0x158(r1) +/* 80262F10 0025FE70 4B DE 98 11 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80262F14 0025FE74 7E D0 B3 78 */ mr r16, r22 +/* 80262F18 0025FE78 48 00 00 C4 */ b lbl_80262FDC +lbl_80262F1C: +/* 80262F1C 0025FE7C A0 10 00 00 */ lhz r0, 0(r16) +/* 80262F20 0025FE80 7F C3 F3 78 */ mr r3, r30 +/* 80262F24 0025FE84 38 81 00 24 */ addi r4, r1, 0x24 +/* 80262F28 0025FE88 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80262F2C 0025FE8C 4B DE 96 49 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80262F30 0025FE90 7C 64 1B 78 */ mr r4, r3 +/* 80262F34 0025FE94 38 61 00 80 */ addi r3, r1, 0x80 +/* 80262F38 0025FE98 4B E4 33 01 */ bl "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" +/* 80262F3C 0025FE9C 82 E3 00 04 */ lwz r23, 4(r3) +/* 80262F40 0025FEA0 28 17 00 00 */ cmplwi r23, 0 +/* 80262F44 0025FEA4 41 82 00 94 */ beq lbl_80262FD8 +/* 80262F48 0025FEA8 7E 58 93 78 */ mr r24, r18 +/* 80262F4C 0025FEAC 7E AF AB 78 */ mr r15, r21 +/* 80262F50 0025FEB0 48 00 00 80 */ b lbl_80262FD0 +lbl_80262F54: +/* 80262F54 0025FEB4 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262F58 0025FEB8 7C 1A C0 00 */ cmpw r26, r24 +/* 80262F5C 0025FEBC 7C 60 7A 14 */ add r3, r0, r15 +/* 80262F60 0025FEC0 41 82 00 68 */ beq lbl_80262FC8 +/* 80262F64 0025FEC4 88 03 00 00 */ lbz r0, 0(r3) +/* 80262F68 0025FEC8 28 00 00 00 */ cmplwi r0, 0 +/* 80262F6C 0025FECC 41 82 00 5C */ beq lbl_80262FC8 +/* 80262F70 0025FED0 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80262F74 0025FED4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80262F78 0025FED8 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80262F7C 0025FEDC C0 0D 98 24 */ lfs f0, lbl_805A83E4@sda21(r13) +/* 80262F80 0025FEE0 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80262F84 0025FEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80262F88 0025FEE8 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 80262F8C 0025FEEC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80262F90 0025FEF0 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80262F94 0025FEF4 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80262F98 0025FEF8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80262F9C 0025FEFC 40 80 00 0C */ bge lbl_80262FA8 +/* 80262FA0 0025FF00 38 6D 98 24 */ addi r3, r13, lbl_805A83E4@sda21 +/* 80262FA4 0025FF04 48 00 00 08 */ b lbl_80262FAC +lbl_80262FA8: +/* 80262FA8 0025FF08 38 61 00 54 */ addi r3, r1, 0x54 +lbl_80262FAC: +/* 80262FAC 0025FF0C C0 23 00 00 */ lfs f1, 0(r3) +/* 80262FB0 0025FF10 7E E3 BB 78 */ mr r3, r23 +/* 80262FB4 0025FF14 C0 17 01 00 */ lfs f0, 0x100(r23) +/* 80262FB8 0025FF18 7F C4 F3 78 */ mr r4, r30 +/* 80262FBC 0025FF1C 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 80262FC0 0025FF20 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80262FC4 0025FF24 4B FD 9A 85 */ bl sub_8023ca48 +lbl_80262FC8: +/* 80262FC8 0025FF28 39 EF 00 80 */ addi r15, r15, 0x80 +/* 80262FCC 0025FF2C 3B 18 00 01 */ addi r24, r24, 1 +lbl_80262FD0: +/* 80262FD0 0025FF30 7C 18 88 00 */ cmpw r24, r17 +/* 80262FD4 0025FF34 41 80 FF 80 */ blt lbl_80262F54 +lbl_80262FD8: +/* 80262FD8 0025FF38 3A 10 00 02 */ addi r16, r16, 2 +lbl_80262FDC: +/* 80262FDC 0025FF3C 80 01 41 F4 */ lwz r0, 0x41f4(r1) +/* 80262FE0 0025FF40 54 00 08 3C */ slwi r0, r0, 1 +/* 80262FE4 0025FF44 7C 16 02 14 */ add r0, r22, r0 +/* 80262FE8 0025FF48 7C 10 00 40 */ cmplw r16, r0 +/* 80262FEC 0025FF4C 40 82 FF 30 */ bne lbl_80262F1C +/* 80262FF0 0025FF50 7E 50 93 78 */ mr r16, r18 +/* 80262FF4 0025FF54 48 00 02 08 */ b lbl_802631FC +lbl_80262FF8: +/* 80262FF8 0025FF58 80 1B 01 68 */ lwz r0, 0x168(r27) +/* 80262FFC 0025FF5C 7C 1A 80 00 */ cmpw r26, r16 +/* 80263000 0025FF60 7D E0 AA 14 */ add r15, r0, r21 +/* 80263004 0025FF64 41 82 01 F0 */ beq lbl_802631F4 +/* 80263008 0025FF68 88 0F 00 00 */ lbz r0, 0(r15) +/* 8026300C 0025FF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80263010 0025FF70 41 82 01 E4 */ beq lbl_802631F4 +/* 80263014 0025FF74 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80263018 0025FF78 38 00 00 00 */ li r0, 0 +/* 8026301C 0025FF7C 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 80263020 0025FF80 38 60 00 00 */ li r3, 0 +/* 80263024 0025FF84 80 AD 98 28 */ lwz r5, lbl_805A83E8@sda21(r13) +/* 80263028 0025FF88 B0 81 00 4C */ sth r4, 0x4c(r1) +/* 8026302C 0025FF8C 38 80 00 01 */ li r4, 1 +/* 80263030 0025FF90 C3 41 00 68 */ lfs f26, 0x68(r1) +/* 80263034 0025FF94 C2 EF 00 0C */ lfs f23, 0xc(r15) +/* 80263038 0025FF98 C3 0F 00 10 */ lfs f24, 0x10(r15) +/* 8026303C 0025FF9C C3 2F 00 14 */ lfs f25, 0x14(r15) +/* 80263040 0025FFA0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80263044 0025FFA4 90 01 00 78 */ stw r0, 0x78(r1) +/* 80263048 0025FFA8 48 12 6E AD */ bl __shl2i +/* 8026304C 0025FFAC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80263050 0025FFB0 80 A1 00 7C */ lwz r5, 0x7c(r1) +/* 80263054 0025FFB4 7C 00 1B 78 */ or r0, r0, r3 +/* 80263058 0025FFB8 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8026305C 0025FFBC 7C A5 23 78 */ or r5, r5, r4 +/* 80263060 0025FFC0 90 01 00 78 */ stw r0, 0x78(r1) +/* 80263064 0025FFC4 38 81 00 78 */ addi r4, r1, 0x78 +/* 80263068 0025FFC8 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 8026306C 0025FFCC 48 06 C8 49 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80263070 0025FFD0 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80263074 0025FFD4 D2 E1 01 F8 */ stfs f23, 0x1f8(r1) +/* 80263078 0025FFD8 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 8026307C 0025FFDC 7F A3 EB 78 */ mr r3, r29 +/* 80263080 0025FFE0 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80263084 0025FFE4 7F C4 F3 78 */ mr r4, r30 +/* 80263088 0025FFE8 38 A1 41 F4 */ addi r5, r1, 0x41f4 +/* 8026308C 0025FFEC 38 C1 01 E8 */ addi r6, r1, 0x1e8 +/* 80263090 0025FFF0 D3 01 01 FC */ stfs f24, 0x1fc(r1) +/* 80263094 0025FFF4 38 E1 00 4C */ addi r7, r1, 0x4c +/* 80263098 0025FFF8 39 01 02 A4 */ addi r8, r1, 0x2a4 +/* 8026309C 0025FFFC D3 21 02 00 */ stfs f25, 0x200(r1) +/* 802630A0 00260000 D3 41 02 04 */ stfs f26, 0x204(r1) +/* 802630A4 00260004 4B FF EF 15 */ bl sub_80261fb8 +/* 802630A8 00260008 A0 61 00 4C */ lhz r3, 0x4c(r1) +/* 802630AC 0026000C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802630B0 00260010 7C 03 00 40 */ cmplw r3, r0 +/* 802630B4 00260014 41 82 00 D0 */ beq lbl_80263184 +/* 802630B8 00260018 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 802630BC 0026001C 7F C3 F3 78 */ mr r3, r30 +/* 802630C0 00260020 38 81 00 20 */ addi r4, r1, 0x20 +/* 802630C4 00260024 B0 01 00 20 */ sth r0, 0x20(r1) +/* 802630C8 00260028 4B DE 94 AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 802630CC 0026002C 7C 64 1B 78 */ mr r4, r3 +/* 802630D0 00260030 38 61 00 6C */ addi r3, r1, 0x6c +/* 802630D4 00260034 4B E4 CB BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 802630D8 00260038 82 E3 00 04 */ lwz r23, 4(r3) +/* 802630DC 0026003C 28 17 00 00 */ cmplwi r23, 0 +/* 802630E0 00260040 41 82 00 A4 */ beq lbl_80263184 +/* 802630E4 00260044 7F A3 EB 78 */ mr r3, r29 +/* 802630E8 00260048 7E E4 BB 78 */ mr r4, r23 +/* 802630EC 0026004C 7F C5 F3 78 */ mr r5, r30 +/* 802630F0 00260050 4B FF E3 41 */ bl sub_80261430 +/* 802630F4 00260054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802630F8 00260058 41 82 00 8C */ beq lbl_80263184 +/* 802630FC 0026005C 80 1D 00 F8 */ lwz r0, 0xf8(r29) +/* 80263100 00260060 38 61 00 98 */ addi r3, r1, 0x98 +/* 80263104 00260064 80 BD 00 FC */ lwz r5, 0xfc(r29) +/* 80263108 00260068 38 8F 00 74 */ addi r4, r15, 0x74 +/* 8026310C 0026006C 90 A1 01 14 */ stw r5, 0x114(r1) +/* 80263110 00260070 90 01 01 10 */ stw r0, 0x110(r1) +/* 80263114 00260074 80 1D 01 00 */ lwz r0, 0x100(r29) +/* 80263118 00260078 80 BD 01 04 */ lwz r5, 0x104(r29) +/* 8026311C 0026007C 90 A1 01 1C */ stw r5, 0x11c(r1) +/* 80263120 00260080 90 01 01 18 */ stw r0, 0x118(r1) +/* 80263124 00260084 80 1D 01 08 */ lwz r0, 0x108(r29) +/* 80263128 00260088 90 01 01 20 */ stw r0, 0x120(r1) +/* 8026312C 0026008C A0 1D 00 EC */ lhz r0, 0xec(r29) +/* 80263130 00260090 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80263134 00260094 A0 B7 00 08 */ lhz r5, 8(r23) +/* 80263138 00260098 B0 01 00 08 */ sth r0, 8(r1) +/* 8026313C 0026009C B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80263140 002600A0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80263144 002600A4 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80263148 002600A8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8026314C 002600AC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80263150 002600B0 48 0B 17 01 */ bl AsNormalized__9CVector3fCFv +/* 80263154 002600B4 FC 20 B0 90 */ fmr f1, f22 +/* 80263158 002600B8 38 61 01 28 */ addi r3, r1, 0x128 +/* 8026315C 002600BC 38 9D 01 2C */ addi r4, r29, 0x12c +/* 80263160 002600C0 4B E6 02 E9 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 80263164 002600C4 7F C3 F3 78 */ mr r3, r30 +/* 80263168 002600C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8026316C 002600CC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80263170 002600D0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80263174 002600D4 38 E1 01 28 */ addi r7, r1, 0x128 +/* 80263178 002600D8 39 01 01 10 */ addi r8, r1, 0x110 +/* 8026317C 002600DC 39 21 00 98 */ addi r9, r1, 0x98 +/* 80263180 002600E0 4B DE 6F 21 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_80263184: +/* 80263184 002600E4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80263188 002600E8 80 A1 02 A4 */ lwz r5, 0x2a4(r1) +/* 8026318C 002600EC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80263190 002600F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80263194 002600F4 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 80263198 002600F8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8026319C 002600FC 2C 05 00 00 */ cmpwi r5, 0 +/* 802631A0 00260100 38 60 00 00 */ li r3, 0 +/* 802631A4 00260104 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 802631A8 00260108 40 81 00 44 */ ble lbl_802631EC +/* 802631AC 0026010C 2C 05 00 08 */ cmpwi r5, 8 +/* 802631B0 00260110 38 85 FF F8 */ addi r4, r5, -8 +/* 802631B4 00260114 40 81 00 20 */ ble lbl_802631D4 +/* 802631B8 00260118 38 04 00 07 */ addi r0, r4, 7 +/* 802631BC 0026011C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802631C0 00260120 7C 09 03 A6 */ mtctr r0 +/* 802631C4 00260124 2C 04 00 00 */ cmpwi r4, 0 +/* 802631C8 00260128 40 81 00 0C */ ble lbl_802631D4 +lbl_802631CC: +/* 802631CC 0026012C 38 63 00 08 */ addi r3, r3, 8 +/* 802631D0 00260130 42 00 FF FC */ bdnz lbl_802631CC +lbl_802631D4: +/* 802631D4 00260134 7C 03 28 50 */ subf r0, r3, r5 +/* 802631D8 00260138 7C 09 03 A6 */ mtctr r0 +/* 802631DC 0026013C 7C 03 28 00 */ cmpw r3, r5 +/* 802631E0 00260140 40 80 00 0C */ bge lbl_802631EC +lbl_802631E4: +/* 802631E4 00260144 38 63 00 01 */ addi r3, r3, 1 +/* 802631E8 00260148 42 00 FF FC */ bdnz lbl_802631E4 +lbl_802631EC: +/* 802631EC 0026014C 38 00 00 00 */ li r0, 0 +/* 802631F0 00260150 90 01 02 A4 */ stw r0, 0x2a4(r1) +lbl_802631F4: +/* 802631F4 00260154 3A B5 00 80 */ addi r21, r21, 0x80 +/* 802631F8 00260158 3A 10 00 01 */ addi r16, r16, 1 +lbl_802631FC: +/* 802631FC 0026015C 7C 10 88 00 */ cmpw r16, r17 +/* 80263200 00260160 41 80 FD F8 */ blt lbl_80262FF8 +/* 80263204 00260164 34 01 26 C8 */ addic. r0, r1, 0x26c8 +/* 80263208 00260168 41 82 00 94 */ beq lbl_8026329C +/* 8026320C 0026016C 7E 86 A3 78 */ mr r6, r20 +/* 80263210 00260170 38 60 00 00 */ li r3, 0 +/* 80263214 00260174 48 00 00 74 */ b lbl_80263288 +lbl_80263218: +/* 80263218 00260178 28 06 00 00 */ cmplwi r6, 0 +/* 8026321C 0026017C 41 82 00 64 */ beq lbl_80263280 +/* 80263220 00260180 34 06 00 04 */ addic. r0, r6, 4 +/* 80263224 00260184 41 82 00 5C */ beq lbl_80263280 +/* 80263228 00260188 80 E6 00 04 */ lwz r7, 4(r6) +/* 8026322C 0026018C 38 80 00 00 */ li r4, 0 +/* 80263230 00260190 2C 07 00 00 */ cmpwi r7, 0 +/* 80263234 00260194 40 81 00 44 */ ble lbl_80263278 +/* 80263238 00260198 2C 07 00 08 */ cmpwi r7, 8 +/* 8026323C 0026019C 38 A7 FF F8 */ addi r5, r7, -8 +/* 80263240 002601A0 40 81 00 20 */ ble lbl_80263260 +/* 80263244 002601A4 38 05 00 07 */ addi r0, r5, 7 +/* 80263248 002601A8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8026324C 002601AC 7C 09 03 A6 */ mtctr r0 +/* 80263250 002601B0 2C 05 00 00 */ cmpwi r5, 0 +/* 80263254 002601B4 40 81 00 0C */ ble lbl_80263260 +lbl_80263258: +/* 80263258 002601B8 38 84 00 08 */ addi r4, r4, 8 +/* 8026325C 002601BC 42 00 FF FC */ bdnz lbl_80263258 +lbl_80263260: +/* 80263260 002601C0 7C 04 38 50 */ subf r0, r4, r7 +/* 80263264 002601C4 7C 09 03 A6 */ mtctr r0 +/* 80263268 002601C8 7C 04 38 00 */ cmpw r4, r7 +/* 8026326C 002601CC 40 80 00 0C */ bge lbl_80263278 +lbl_80263270: +/* 80263270 002601D0 38 84 00 01 */ addi r4, r4, 1 +/* 80263274 002601D4 42 00 FF FC */ bdnz lbl_80263270 +lbl_80263278: +/* 80263278 002601D8 38 00 00 00 */ li r0, 0 +/* 8026327C 002601DC 90 06 00 04 */ stw r0, 4(r6) +lbl_80263280: +/* 80263280 002601E0 38 C6 09 0C */ addi r6, r6, 0x90c +/* 80263284 002601E4 38 63 00 01 */ addi r3, r3, 1 +lbl_80263288: +/* 80263288 002601E8 80 01 26 C8 */ lwz r0, 0x26c8(r1) +/* 8026328C 002601EC 7C 03 00 00 */ cmpw r3, r0 +/* 80263290 002601F0 41 80 FF 88 */ blt lbl_80263218 +/* 80263294 002601F4 38 00 00 00 */ li r0, 0 +/* 80263298 002601F8 90 01 26 C8 */ stw r0, 0x26c8(r1) +lbl_8026329C: +/* 8026329C 002601FC 38 60 00 00 */ li r3, 0 +/* 802632A0 00260200 80 01 49 F8 */ lwz r0, 0x49f8(r1) +/* 802632A4 00260204 98 61 02 40 */ stb r3, 0x240(r1) +/* 802632A8 00260208 7E 52 02 14 */ add r18, r18, r0 +lbl_802632AC: +/* 802632AC 0026020C 80 1B 01 60 */ lwz r0, 0x160(r27) +/* 802632B0 00260210 7C 12 00 00 */ cmpw r18, r0 +/* 802632B4 00260214 41 80 F1 64 */ blt lbl_80262418 +/* 802632B8 00260218 7F A3 EB 78 */ mr r3, r29 +/* 802632BC 0026021C 4B FF E3 E9 */ bl sub_802616a4 +/* 802632C0 00260220 80 A1 41 F4 */ lwz r5, 0x41f4(r1) +/* 802632C4 00260224 38 60 00 00 */ li r3, 0 +/* 802632C8 00260228 2C 05 00 00 */ cmpwi r5, 0 +/* 802632CC 0026022C 40 81 00 40 */ ble lbl_8026330C +/* 802632D0 00260230 2C 05 00 08 */ cmpwi r5, 8 +/* 802632D4 00260234 38 85 FF F8 */ addi r4, r5, -8 +/* 802632D8 00260238 40 81 00 20 */ ble lbl_802632F8 +/* 802632DC 0026023C 38 04 00 07 */ addi r0, r4, 7 +/* 802632E0 00260240 54 00 E8 FE */ srwi r0, r0, 3 +/* 802632E4 00260244 7C 09 03 A6 */ mtctr r0 +/* 802632E8 00260248 2C 04 00 00 */ cmpwi r4, 0 +/* 802632EC 0026024C 40 81 00 0C */ ble lbl_802632F8 +lbl_802632F0: +/* 802632F0 00260250 38 63 00 08 */ addi r3, r3, 8 +/* 802632F4 00260254 42 00 FF FC */ bdnz lbl_802632F0 +lbl_802632F8: +/* 802632F8 00260258 7C 03 28 50 */ subf r0, r3, r5 +/* 802632FC 0026025C 7C 09 03 A6 */ mtctr r0 +/* 80263300 00260260 7C 03 28 00 */ cmpw r3, r5 +/* 80263304 00260264 40 80 00 08 */ bge lbl_8026330C +lbl_80263308: +/* 80263308 00260268 42 00 00 00 */ bdnz lbl_80263308 +lbl_8026330C: +/* 8026330C 0026026C 38 00 00 00 */ li r0, 0 +/* 80263310 00260270 7E 63 9B 78 */ mr r3, r19 +/* 80263314 00260274 90 01 41 F4 */ stw r0, 0x41f4(r1) +lbl_80263318: +/* 80263318 00260278 38 00 4A E8 */ li r0, 0x4ae8 +/* 8026331C 0026027C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 +/* 80263320 00260280 CB E1 4A E0 */ lfd f31, 0x4ae0(r1) +/* 80263324 00260284 38 00 4A D8 */ li r0, 0x4ad8 +/* 80263328 00260288 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 +/* 8026332C 0026028C CB C1 4A D0 */ lfd f30, 0x4ad0(r1) +/* 80263330 00260290 38 00 4A C8 */ li r0, 0x4ac8 +/* 80263334 00260294 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 +/* 80263338 00260298 CB A1 4A C0 */ lfd f29, 0x4ac0(r1) +/* 8026333C 0026029C 38 00 4A B8 */ li r0, 0x4ab8 +/* 80263340 002602A0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 +/* 80263344 002602A4 CB 81 4A B0 */ lfd f28, 0x4ab0(r1) +/* 80263348 002602A8 38 00 4A A8 */ li r0, 0x4aa8 +/* 8026334C 002602AC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 +/* 80263350 002602B0 CB 61 4A A0 */ lfd f27, 0x4aa0(r1) +/* 80263354 002602B4 38 00 4A 98 */ li r0, 0x4a98 +/* 80263358 002602B8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 +/* 8026335C 002602BC CB 41 4A 90 */ lfd f26, 0x4a90(r1) +/* 80263360 002602C0 38 00 4A 88 */ li r0, 0x4a88 +/* 80263364 002602C4 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 +/* 80263368 002602C8 CB 21 4A 80 */ lfd f25, 0x4a80(r1) +/* 8026336C 002602CC 38 00 4A 78 */ li r0, 0x4a78 +/* 80263370 002602D0 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 +/* 80263374 002602D4 CB 01 4A 70 */ lfd f24, 0x4a70(r1) +/* 80263378 002602D8 38 00 4A 68 */ li r0, 0x4a68 +/* 8026337C 002602DC 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 +/* 80263380 002602E0 CA E1 4A 60 */ lfd f23, 0x4a60(r1) +/* 80263384 002602E4 38 00 4A 58 */ li r0, 0x4a58 +/* 80263388 002602E8 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0 +/* 8026338C 002602EC CA C1 4A 50 */ lfd f22, 0x4a50(r1) +/* 80263390 002602F0 B9 C1 4A 08 */ lmw r14, 0x4a08(r1) +/* 80263394 002602F4 80 01 4A F4 */ lwz r0, 0x4af4(r1) +/* 80263398 002602F8 7C 08 03 A6 */ mtlr r0 +/* 8026339C 002602FC 38 21 4A F0 */ addi r1, r1, 0x4af0 +/* 802633A0 00260300 4E 80 00 20 */ blr + +.global AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 802633A4 00260304 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802633A8 00260308 7C 08 02 A6 */ mflr r0 +/* 802633AC 0026030C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802633B0 00260310 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802633B4 00260314 7C DF 33 78 */ mr r31, r6 +/* 802633B8 00260318 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802633BC 0026031C 7C BE 2B 78 */ mr r30, r5 +/* 802633C0 00260320 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802633C4 00260324 7C 9D 23 78 */ mr r29, r4 +/* 802633C8 00260328 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 802633CC 0026032C 93 81 00 30 */ stw r28, 0x30(r1) +/* 802633D0 00260330 7C 7C 1B 78 */ mr r28, r3 +/* 802633D4 00260334 41 82 00 5C */ beq lbl_80263430 +/* 802633D8 00260338 40 80 00 A8 */ bge lbl_80263480 +/* 802633DC 0026033C 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 802633E0 00260340 40 80 00 08 */ bge lbl_802633E8 +/* 802633E4 00260344 48 00 00 9C */ b lbl_80263480 +lbl_802633E8: +/* 802633E8 00260348 88 1C 00 E6 */ lbz r0, 0xe6(r28) +/* 802633EC 0026034C 38 80 00 02 */ li r4, 2 +/* 802633F0 00260350 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c +/* 802633F4 00260354 7F E4 FB 78 */ mr r4, r31 +/* 802633F8 00260358 98 1C 00 E6 */ stb r0, 0xe6(r28) +/* 802633FC 0026035C C0 22 BA 80 */ lfs f1, lbl_805AD7A0@sda21(r2) +/* 80263400 00260360 81 83 00 00 */ lwz r12, 0(r3) +/* 80263404 00260364 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263408 00260368 7D 89 03 A6 */ mtctr r12 +/* 8026340C 0026036C 4E 80 04 21 */ bctrl +/* 80263410 00260370 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80263414 00260374 7F E3 FB 78 */ mr r3, r31 +/* 80263418 00260378 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8026341C 0026037C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80263420 00260380 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80263424 00260384 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80263428 00260388 4B DE 18 E1 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 8026342C 0026038C 48 00 00 54 */ b lbl_80263480 +lbl_80263430: +/* 80263430 00260390 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 80263434 00260394 7F E3 FB 78 */ mr r3, r31 +/* 80263438 00260398 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 8026343C 0026039C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80263440 002603A0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80263444 002603A4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80263448 002603A8 4B DE 18 91 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType +/* 8026344C 002603AC 7F 83 E3 78 */ mr r3, r28 +/* 80263450 002603B0 7F E4 FB 78 */ mr r4, r31 +/* 80263454 002603B4 4B FF E5 FD */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager +/* 80263458 002603B8 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8026345C 002603BC 7F 83 E3 78 */ mr r3, r28 +/* 80263460 002603C0 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) +/* 80263464 002603C4 7F E4 FB 78 */ mr r4, r31 +/* 80263468 002603C8 80 05 00 04 */ lwz r0, 4(r5) +/* 8026346C 002603CC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80263470 002603D0 C0 42 BA 68 */ lfs f2, lbl_805AD788@sda21(r2) +/* 80263474 002603D4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80263478 002603D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8026347C 002603DC 4B FF E0 F9 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +lbl_80263480: +/* 80263480 002603E0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80263484 002603E4 7F 83 E3 78 */ mr r3, r28 +/* 80263488 002603E8 7F A4 EB 78 */ mr r4, r29 +/* 8026348C 002603EC 7F E6 FB 78 */ mr r6, r31 +/* 80263490 002603F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80263494 002603F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80263498 002603F8 4B DD 51 35 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8026349C 002603FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802634A0 00260400 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802634A4 00260404 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802634A8 00260408 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802634AC 0026040C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802634B0 00260410 7C 08 03 A6 */ mtlr r0 +/* 802634B4 00260414 38 21 00 40 */ addi r1, r1, 0x40 +/* 802634B8 00260418 4E 80 00 20 */ blr + +.global EnableFx__16CNewFlameThrowerFRC13CStateManager +EnableFx__16CNewFlameThrowerFRC13CStateManager: +/* 802634BC 0026041C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802634C0 00260420 7C 08 02 A6 */ mflr r0 +/* 802634C4 00260424 90 01 00 54 */ stw r0, 0x54(r1) +/* 802634C8 00260428 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802634CC 0026042C 7C 7F 1B 78 */ mr r31, r3 +/* 802634D0 00260430 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802634D4 00260434 7C 9E 23 78 */ mr r30, r4 +/* 802634D8 00260438 93 A1 00 44 */ stw r29, 0x44(r1) +/* 802634DC 0026043C 93 81 00 40 */ stw r28, 0x40(r1) +/* 802634E0 00260440 4B DD 43 C9 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager +/* 802634E4 00260444 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802634E8 00260448 3B 80 00 00 */ li r28, 0 +/* 802634EC 0026044C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802634F0 00260450 38 A0 00 00 */ li r5, 0 +/* 802634F4 00260454 38 60 03 40 */ li r3, 0x340 +/* 802634F8 00260458 48 0B 23 75 */ bl __nw__FUlPCcPCc +/* 802634FC 0026045C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263500 00260460 41 82 00 2C */ beq lbl_8026352C +/* 80263504 00260464 38 61 00 38 */ addi r3, r1, 0x38 +/* 80263508 00260468 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8026350C 0026046C 48 0D D9 9D */ bl __ct__6CTokenFRC6CToken +/* 80263510 00260470 7F A3 EB 78 */ mr r3, r29 +/* 80263514 00260474 38 81 00 38 */ addi r4, r1, 0x38 +/* 80263518 00260478 3B 80 00 01 */ li r28, 1 +/* 8026351C 0026047C 38 A0 00 00 */ li r5, 0 +/* 80263520 00260480 38 C0 00 01 */ li r6, 1 +/* 80263524 00260484 48 0B BE BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263528 00260488 7C 7D 1B 78 */ mr r29, r3 +lbl_8026352C: +/* 8026352C 0026048C 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263530 00260490 28 03 00 00 */ cmplwi r3, 0 +/* 80263534 00260494 41 82 00 18 */ beq lbl_8026354C +/* 80263538 00260498 81 83 00 00 */ lwz r12, 0(r3) +/* 8026353C 0026049C 38 80 00 01 */ li r4, 1 +/* 80263540 002604A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263544 002604A4 7D 89 03 A6 */ mtctr r12 +/* 80263548 002604A8 4E 80 04 21 */ bctrl +lbl_8026354C: +/* 8026354C 002604AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263550 002604B0 93 BF 03 58 */ stw r29, 0x358(r31) +/* 80263554 002604B4 41 82 00 10 */ beq lbl_80263564 +/* 80263558 002604B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8026355C 002604BC 38 80 00 00 */ li r4, 0 +/* 80263560 002604C0 48 0D D8 E1 */ bl __dt__6CTokenFv +lbl_80263564: +/* 80263564 002604C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263568 002604C8 3B 80 00 00 */ li r28, 0 +/* 8026356C 002604CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263570 002604D0 38 A0 00 00 */ li r5, 0 +/* 80263574 002604D4 38 60 03 40 */ li r3, 0x340 +/* 80263578 002604D8 48 0B 22 F5 */ bl __nw__FUlPCcPCc +/* 8026357C 002604DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263580 002604E0 41 82 00 2C */ beq lbl_802635AC +/* 80263584 002604E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80263588 002604E8 38 9F 03 10 */ addi r4, r31, 0x310 +/* 8026358C 002604EC 48 0D D9 1D */ bl __ct__6CTokenFRC6CToken +/* 80263590 002604F0 7F A3 EB 78 */ mr r3, r29 +/* 80263594 002604F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 80263598 002604F8 3B 80 00 01 */ li r28, 1 +/* 8026359C 002604FC 38 A0 00 00 */ li r5, 0 +/* 802635A0 00260500 38 C0 00 01 */ li r6, 1 +/* 802635A4 00260504 48 0B BE 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802635A8 00260508 7C 7D 1B 78 */ mr r29, r3 +lbl_802635AC: +/* 802635AC 0026050C 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 802635B0 00260510 28 03 00 00 */ cmplwi r3, 0 +/* 802635B4 00260514 41 82 00 18 */ beq lbl_802635CC +/* 802635B8 00260518 81 83 00 00 */ lwz r12, 0(r3) +/* 802635BC 0026051C 38 80 00 01 */ li r4, 1 +/* 802635C0 00260520 81 8C 00 08 */ lwz r12, 8(r12) +/* 802635C4 00260524 7D 89 03 A6 */ mtctr r12 +/* 802635C8 00260528 4E 80 04 21 */ bctrl +lbl_802635CC: +/* 802635CC 0026052C 7F 80 07 75 */ extsb. r0, r28 +/* 802635D0 00260530 93 BF 03 5C */ stw r29, 0x35c(r31) +/* 802635D4 00260534 41 82 00 10 */ beq lbl_802635E4 +/* 802635D8 00260538 38 61 00 30 */ addi r3, r1, 0x30 +/* 802635DC 0026053C 38 80 00 00 */ li r4, 0 +/* 802635E0 00260540 48 0D D8 61 */ bl __dt__6CTokenFv +lbl_802635E4: +/* 802635E4 00260544 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802635E8 00260548 3B 80 00 00 */ li r28, 0 +/* 802635EC 0026054C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802635F0 00260550 38 A0 00 00 */ li r5, 0 +/* 802635F4 00260554 38 60 03 40 */ li r3, 0x340 +/* 802635F8 00260558 48 0B 22 75 */ bl __nw__FUlPCcPCc +/* 802635FC 0026055C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263600 00260560 41 82 00 2C */ beq lbl_8026362C +/* 80263604 00260564 38 61 00 28 */ addi r3, r1, 0x28 +/* 80263608 00260568 38 9F 03 1C */ addi r4, r31, 0x31c +/* 8026360C 0026056C 48 0D D8 9D */ bl __ct__6CTokenFRC6CToken +/* 80263610 00260570 7F A3 EB 78 */ mr r3, r29 +/* 80263614 00260574 38 81 00 28 */ addi r4, r1, 0x28 +/* 80263618 00260578 3B 80 00 01 */ li r28, 1 +/* 8026361C 0026057C 38 A0 00 00 */ li r5, 0 +/* 80263620 00260580 38 C0 00 01 */ li r6, 1 +/* 80263624 00260584 48 0B BD BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263628 00260588 7C 7D 1B 78 */ mr r29, r3 +lbl_8026362C: +/* 8026362C 0026058C 80 7F 03 60 */ lwz r3, 0x360(r31) +/* 80263630 00260590 28 03 00 00 */ cmplwi r3, 0 +/* 80263634 00260594 41 82 00 18 */ beq lbl_8026364C +/* 80263638 00260598 81 83 00 00 */ lwz r12, 0(r3) +/* 8026363C 0026059C 38 80 00 01 */ li r4, 1 +/* 80263640 002605A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263644 002605A4 7D 89 03 A6 */ mtctr r12 +/* 80263648 002605A8 4E 80 04 21 */ bctrl +lbl_8026364C: +/* 8026364C 002605AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263650 002605B0 93 BF 03 60 */ stw r29, 0x360(r31) +/* 80263654 002605B4 41 82 00 10 */ beq lbl_80263664 +/* 80263658 002605B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8026365C 002605BC 38 80 00 00 */ li r4, 0 +/* 80263660 002605C0 48 0D D7 E1 */ bl __dt__6CTokenFv +lbl_80263664: +/* 80263664 002605C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263668 002605C8 3B 80 00 00 */ li r28, 0 +/* 8026366C 002605CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263670 002605D0 38 A0 00 00 */ li r5, 0 +/* 80263674 002605D4 38 60 03 40 */ li r3, 0x340 +/* 80263678 002605D8 48 0B 21 F5 */ bl __nw__FUlPCcPCc +/* 8026367C 002605DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263680 002605E0 41 82 00 2C */ beq lbl_802636AC +/* 80263684 002605E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80263688 002605E8 38 9F 03 28 */ addi r4, r31, 0x328 +/* 8026368C 002605EC 48 0D D8 1D */ bl __ct__6CTokenFRC6CToken +/* 80263690 002605F0 7F A3 EB 78 */ mr r3, r29 +/* 80263694 002605F4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80263698 002605F8 3B 80 00 01 */ li r28, 1 +/* 8026369C 002605FC 38 A0 00 00 */ li r5, 0 +/* 802636A0 00260600 38 C0 00 01 */ li r6, 1 +/* 802636A4 00260604 48 0B BD 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802636A8 00260608 7C 7D 1B 78 */ mr r29, r3 +lbl_802636AC: +/* 802636AC 0026060C 80 7F 03 64 */ lwz r3, 0x364(r31) +/* 802636B0 00260610 28 03 00 00 */ cmplwi r3, 0 +/* 802636B4 00260614 41 82 00 18 */ beq lbl_802636CC +/* 802636B8 00260618 81 83 00 00 */ lwz r12, 0(r3) +/* 802636BC 0026061C 38 80 00 01 */ li r4, 1 +/* 802636C0 00260620 81 8C 00 08 */ lwz r12, 8(r12) +/* 802636C4 00260624 7D 89 03 A6 */ mtctr r12 +/* 802636C8 00260628 4E 80 04 21 */ bctrl +lbl_802636CC: +/* 802636CC 0026062C 7F 80 07 75 */ extsb. r0, r28 +/* 802636D0 00260630 93 BF 03 64 */ stw r29, 0x364(r31) +/* 802636D4 00260634 41 82 00 10 */ beq lbl_802636E4 +/* 802636D8 00260638 38 61 00 20 */ addi r3, r1, 0x20 +/* 802636DC 0026063C 38 80 00 00 */ li r4, 0 +/* 802636E0 00260640 48 0D D7 61 */ bl __dt__6CTokenFv +lbl_802636E4: +/* 802636E4 00260644 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802636E8 00260648 3B 80 00 00 */ li r28, 0 +/* 802636EC 0026064C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802636F0 00260650 38 A0 00 00 */ li r5, 0 +/* 802636F4 00260654 38 60 03 40 */ li r3, 0x340 +/* 802636F8 00260658 48 0B 21 75 */ bl __nw__FUlPCcPCc +/* 802636FC 0026065C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263700 00260660 41 82 00 2C */ beq lbl_8026372C +/* 80263704 00260664 38 61 00 18 */ addi r3, r1, 0x18 +/* 80263708 00260668 38 9F 03 34 */ addi r4, r31, 0x334 +/* 8026370C 0026066C 48 0D D7 9D */ bl __ct__6CTokenFRC6CToken +/* 80263710 00260670 7F A3 EB 78 */ mr r3, r29 +/* 80263714 00260674 38 81 00 18 */ addi r4, r1, 0x18 +/* 80263718 00260678 3B 80 00 01 */ li r28, 1 +/* 8026371C 0026067C 38 A0 00 00 */ li r5, 0 +/* 80263720 00260680 38 C0 00 01 */ li r6, 1 +/* 80263724 00260684 48 0B BC BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80263728 00260688 7C 7D 1B 78 */ mr r29, r3 +lbl_8026372C: +/* 8026372C 0026068C 80 7F 03 68 */ lwz r3, 0x368(r31) +/* 80263730 00260690 28 03 00 00 */ cmplwi r3, 0 +/* 80263734 00260694 41 82 00 18 */ beq lbl_8026374C +/* 80263738 00260698 81 83 00 00 */ lwz r12, 0(r3) +/* 8026373C 0026069C 38 80 00 01 */ li r4, 1 +/* 80263740 002606A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263744 002606A4 7D 89 03 A6 */ mtctr r12 +/* 80263748 002606A8 4E 80 04 21 */ bctrl +lbl_8026374C: +/* 8026374C 002606AC 7F 80 07 75 */ extsb. r0, r28 +/* 80263750 002606B0 93 BF 03 68 */ stw r29, 0x368(r31) +/* 80263754 002606B4 41 82 00 10 */ beq lbl_80263764 +/* 80263758 002606B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8026375C 002606BC 38 80 00 00 */ li r4, 0 +/* 80263760 002606C0 48 0D D6 E1 */ bl __dt__6CTokenFv +lbl_80263764: +/* 80263764 002606C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 80263768 002606C8 3B 80 00 00 */ li r28, 0 +/* 8026376C 002606CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 80263770 002606D0 38 A0 00 00 */ li r5, 0 +/* 80263774 002606D4 38 60 02 10 */ li r3, 0x210 +/* 80263778 002606D8 48 0B 20 F5 */ bl __nw__FUlPCcPCc +/* 8026377C 002606DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263780 002606E0 41 82 00 28 */ beq lbl_802637A8 +/* 80263784 002606E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80263788 002606E8 38 9F 03 40 */ addi r4, r31, 0x340 +/* 8026378C 002606EC 48 0D D7 1D */ bl __ct__6CTokenFRC6CToken +/* 80263790 002606F0 7F A3 EB 78 */ mr r3, r29 +/* 80263794 002606F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80263798 002606F8 3B 80 00 01 */ li r28, 1 +/* 8026379C 002606FC 38 A0 00 00 */ li r5, 0 +/* 802637A0 00260700 48 0C B6 45 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802637A4 00260704 7C 7D 1B 78 */ mr r29, r3 +lbl_802637A8: +/* 802637A8 00260708 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 802637AC 0026070C 28 03 00 00 */ cmplwi r3, 0 +/* 802637B0 00260710 41 82 00 18 */ beq lbl_802637C8 +/* 802637B4 00260714 81 83 00 00 */ lwz r12, 0(r3) +/* 802637B8 00260718 38 80 00 01 */ li r4, 1 +/* 802637BC 0026071C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802637C0 00260720 7D 89 03 A6 */ mtctr r12 +/* 802637C4 00260724 4E 80 04 21 */ bctrl +lbl_802637C8: +/* 802637C8 00260728 7F 80 07 75 */ extsb. r0, r28 +/* 802637CC 0026072C 93 BF 03 6C */ stw r29, 0x36c(r31) +/* 802637D0 00260730 41 82 00 10 */ beq lbl_802637E0 +/* 802637D4 00260734 38 61 00 10 */ addi r3, r1, 0x10 +/* 802637D8 00260738 38 80 00 00 */ li r4, 0 +/* 802637DC 0026073C 48 0D D6 65 */ bl __dt__6CTokenFv +lbl_802637E0: +/* 802637E0 00260740 80 BF 03 6C */ lwz r5, 0x36c(r31) +/* 802637E4 00260744 3C 60 80 3D */ lis r3, lbl_803D5278@ha +/* 802637E8 00260748 38 83 52 78 */ addi r4, r3, lbl_803D5278@l +/* 802637EC 0026074C 3B 80 00 00 */ li r28, 0 +/* 802637F0 00260750 38 60 00 01 */ li r3, 1 +/* 802637F4 00260754 88 05 01 D0 */ lbz r0, 0x1d0(r5) +/* 802637F8 00260758 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 802637FC 0026075C 98 05 01 D0 */ stb r0, 0x1d0(r5) +/* 80263800 00260760 38 60 02 10 */ li r3, 0x210 +/* 80263804 00260764 38 A0 00 00 */ li r5, 0 +/* 80263808 00260768 48 0B 20 65 */ bl __nw__FUlPCcPCc +/* 8026380C 0026076C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80263810 00260770 41 82 00 28 */ beq lbl_80263838 +/* 80263814 00260774 38 61 00 08 */ addi r3, r1, 8 +/* 80263818 00260778 38 9F 03 4C */ addi r4, r31, 0x34c +/* 8026381C 0026077C 48 0D D6 8D */ bl __ct__6CTokenFRC6CToken +/* 80263820 00260780 7F A3 EB 78 */ mr r3, r29 +/* 80263824 00260784 38 81 00 08 */ addi r4, r1, 8 +/* 80263828 00260788 3B 80 00 01 */ li r28, 1 +/* 8026382C 0026078C 38 A0 00 00 */ li r5, 0 +/* 80263830 00260790 48 0C B5 B5 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 80263834 00260794 7C 7D 1B 78 */ mr r29, r3 +lbl_80263838: +/* 80263838 00260798 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 8026383C 0026079C 28 03 00 00 */ cmplwi r3, 0 +/* 80263840 002607A0 41 82 00 18 */ beq lbl_80263858 +/* 80263844 002607A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263848 002607A8 38 80 00 01 */ li r4, 1 +/* 8026384C 002607AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80263850 002607B0 7D 89 03 A6 */ mtctr r12 +/* 80263854 002607B4 4E 80 04 21 */ bctrl +lbl_80263858: +/* 80263858 002607B8 7F 80 07 75 */ extsb. r0, r28 +/* 8026385C 002607BC 93 BF 03 70 */ stw r29, 0x370(r31) +/* 80263860 002607C0 41 82 00 10 */ beq lbl_80263870 +/* 80263864 002607C4 38 61 00 08 */ addi r3, r1, 8 +/* 80263868 002607C8 38 80 00 00 */ li r4, 0 +/* 8026386C 002607CC 48 0D D5 D5 */ bl __dt__6CTokenFv +lbl_80263870: +/* 80263870 002607D0 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263874 002607D4 38 80 00 01 */ li r4, 1 +/* 80263878 002607D8 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8026387C 002607DC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80263880 002607E0 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 80263884 002607E4 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263888 002607E8 28 03 00 00 */ cmplwi r3, 0 +/* 8026388C 002607EC 41 82 00 34 */ beq lbl_802638C0 +/* 80263890 002607F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263894 002607F4 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80263898 002607F8 7D 89 03 A6 */ mtctr r12 +/* 8026389C 002607FC 4E 80 04 21 */ bctrl +/* 802638A0 00260800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802638A4 00260804 41 82 00 1C */ beq lbl_802638C0 +/* 802638A8 00260808 80 1F 03 B8 */ lwz r0, 0x3b8(r31) +/* 802638AC 0026080C 2C 00 00 00 */ cmpwi r0, 0 +/* 802638B0 00260810 40 82 00 10 */ bne lbl_802638C0 +/* 802638B4 00260814 7F E3 FB 78 */ mr r3, r31 +/* 802638B8 00260818 7F C4 F3 78 */ mr r4, r30 +/* 802638BC 0026081C 4B FF E4 91 */ bl CreateLightObjects__16CNewFlameThrowerFR13CStateManager +lbl_802638C0: +/* 802638C0 00260820 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802638C4 00260824 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802638C8 00260828 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802638CC 0026082C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 802638D0 00260830 83 81 00 40 */ lwz r28, 0x40(r1) +/* 802638D4 00260834 7C 08 03 A6 */ mtlr r0 +/* 802638D8 00260838 38 21 00 50 */ addi r1, r1, 0x50 +/* 802638DC 0026083C 4E 80 00 20 */ blr + +.global Reset__16CFlameNewThrowerFR13CStateManagerb +Reset__16CFlameNewThrowerFR13CStateManagerb: +/* 802638E0 00260840 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802638E4 00260844 7C 08 02 A6 */ mflr r0 +/* 802638E8 00260848 90 01 00 14 */ stw r0, 0x14(r1) +/* 802638EC 0026084C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802638F0 00260850 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802638F4 00260854 7C 7F 1B 78 */ mr r31, r3 +/* 802638F8 00260858 41 82 00 3C */ beq lbl_80263934 +/* 802638FC 0026085C 38 A0 00 00 */ li r5, 0 +/* 80263900 00260860 4B FF E0 C1 */ bl sub_802619c0 +/* 80263904 00260864 7F E3 FB 78 */ mr r3, r31 +/* 80263908 00260868 38 80 00 00 */ li r4, 0 +/* 8026390C 0026086C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80263910 00260870 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80263914 00260874 7D 89 03 A6 */ mtctr r12 +/* 80263918 00260878 4E 80 04 21 */ bctrl +/* 8026391C 0026087C 38 00 00 00 */ li r0, 0 +/* 80263920 00260880 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) +/* 80263924 00260884 90 1F 03 74 */ stw r0, 0x374(r31) +/* 80263928 00260888 D0 1F 02 EC */ stfs f0, 0x2ec(r31) +/* 8026392C 0026088C D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 80263930 00260890 48 00 00 0C */ b lbl_8026393C +lbl_80263934: +/* 80263934 00260894 38 00 00 03 */ li r0, 3 +/* 80263938 00260898 90 1F 03 74 */ stw r0, 0x374(r31) +lbl_8026393C: +/* 8026393C 0026089C 88 1F 03 7C */ lbz r0, 0x37c(r31) +/* 80263940 002608A0 38 60 00 00 */ li r3, 0 +/* 80263944 002608A4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80263948 002608A8 38 80 00 00 */ li r4, 0 +/* 8026394C 002608AC 98 1F 03 7C */ stb r0, 0x37c(r31) +/* 80263950 002608B0 80 7F 03 58 */ lwz r3, 0x358(r31) +/* 80263954 002608B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263958 002608B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026395C 002608BC 7D 89 03 A6 */ mtctr r12 +/* 80263960 002608C0 4E 80 04 21 */ bctrl +/* 80263964 002608C4 80 7F 03 5C */ lwz r3, 0x35c(r31) +/* 80263968 002608C8 38 80 00 00 */ li r4, 0 +/* 8026396C 002608CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80263970 002608D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80263974 002608D4 7D 89 03 A6 */ mtctr r12 +/* 80263978 002608D8 4E 80 04 21 */ bctrl +/* 8026397C 002608DC 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 80263980 002608E0 38 80 00 00 */ li r4, 0 +/* 80263984 002608E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263988 002608E8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8026398C 002608EC 7D 89 03 A6 */ mtctr r12 +/* 80263990 002608F0 4E 80 04 21 */ bctrl +/* 80263994 002608F4 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263998 002608F8 38 80 00 00 */ li r4, 0 +/* 8026399C 002608FC 81 83 00 00 */ lwz r12, 0(r3) +/* 802639A0 00260900 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802639A4 00260904 7D 89 03 A6 */ mtctr r12 +/* 802639A8 00260908 4E 80 04 21 */ bctrl +/* 802639AC 0026090C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802639B0 00260910 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802639B4 00260914 7C 08 03 A6 */ mtlr r0 +/* 802639B8 00260918 38 21 00 10 */ addi r1, r1, 0x10 +/* 802639BC 0026091C 4E 80 00 20 */ blr + +.global StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager +StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager: +/* 802639C0 00260920 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802639C4 00260924 7C 08 02 A6 */ mflr r0 +/* 802639C8 00260928 38 80 00 01 */ li r4, 1 +/* 802639CC 0026092C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802639D0 00260930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802639D4 00260934 7C BF 2B 78 */ mr r31, r5 +/* 802639D8 00260938 93 C1 00 08 */ stw r30, 8(r1) +/* 802639DC 0026093C 7C 7E 1B 78 */ mr r30, r3 +/* 802639E0 00260940 81 83 00 00 */ lwz r12, 0(r3) +/* 802639E4 00260944 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 802639E8 00260948 7D 89 03 A6 */ mtctr r12 +/* 802639EC 0026094C 4E 80 04 21 */ bctrl +/* 802639F0 00260950 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 802639F4 00260954 38 A0 00 01 */ li r5, 1 +/* 802639F8 00260958 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802639FC 0026095C 7F C3 F3 78 */ mr r3, r30 +/* 80263A00 00260960 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80263A04 00260964 7F E4 FB 78 */ mr r4, r31 +/* 80263A08 00260968 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80263A0C 0026096C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80263A10 00260970 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80263A14 00260974 90 BE 03 74 */ stw r5, 0x374(r30) +/* 80263A18 00260978 4B FF FA A5 */ bl EnableFx__16CNewFlameThrowerFRC13CStateManager +/* 80263A1C 0026097C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80263A20 00260980 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80263A24 00260984 83 C1 00 08 */ lwz r30, 8(r1) +/* 80263A28 00260988 7C 08 03 A6 */ mtlr r0 +/* 80263A2C 0026098C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80263A30 00260990 4E 80 00 20 */ blr + +.global Render__16CNewFlameThrowerCFRC13CStateManager +Render__16CNewFlameThrowerCFRC13CStateManager: +/* 80263A34 00260994 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80263A38 00260998 7C 08 02 A6 */ mflr r0 +/* 80263A3C 0026099C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80263A40 002609A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80263A44 002609A4 7C 7F 1B 78 */ mr r31, r3 +/* 80263A48 002609A8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80263A4C 002609AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80263A50 002609B0 41 82 00 60 */ beq lbl_80263AB0 +/* 80263A54 002609B4 80 7F 03 6C */ lwz r3, 0x36c(r31) +/* 80263A58 002609B8 81 83 00 00 */ lwz r12, 0(r3) +/* 80263A5C 002609BC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80263A60 002609C0 7D 89 03 A6 */ mtctr r12 +/* 80263A64 002609C4 4E 80 04 21 */ bctrl +/* 80263A68 002609C8 80 7F 03 70 */ lwz r3, 0x370(r31) +/* 80263A6C 002609CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80263A70 002609D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80263A74 002609D4 7D 89 03 A6 */ mtctr r12 +/* 80263A78 002609D8 4E 80 04 21 */ bctrl +/* 80263A7C 002609DC 81 1F 03 58 */ lwz r8, 0x358(r31) +/* 80263A80 002609E0 38 61 00 08 */ addi r3, r1, 8 +/* 80263A84 002609E4 80 FF 03 5C */ lwz r7, 0x35c(r31) +/* 80263A88 002609E8 38 80 00 05 */ li r4, 5 +/* 80263A8C 002609EC 80 DF 03 60 */ lwz r6, 0x360(r31) +/* 80263A90 002609F0 80 BF 03 64 */ lwz r5, 0x364(r31) +/* 80263A94 002609F4 80 1F 03 68 */ lwz r0, 0x368(r31) +/* 80263A98 002609F8 91 01 00 08 */ stw r8, 8(r1) +/* 80263A9C 002609FC 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80263AA0 00260A00 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80263AA4 00260A04 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80263AA8 00260A08 90 01 00 18 */ stw r0, 0x18(r1) +/* 80263AAC 00260A0C 48 0B 63 91 */ bl sub_80319e3c +lbl_80263AB0: +/* 80263AB0 00260A10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80263AB4 00260A14 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80263AB8 00260A18 7C 08 03 A6 */ mtlr r0 +/* 80263ABC 00260A1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80263AC0 00260A20 4E 80 00 20 */ blr + +.global AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager: +/* 80263AC4 00260A24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80263AC8 00260A28 7C 08 02 A6 */ mflr r0 +/* 80263ACC 00260A2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80263AD0 00260A30 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80263AD4 00260A34 7C BF 2B 78 */ mr r31, r5 +/* 80263AD8 00260A38 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80263ADC 00260A3C 7C 7E 1B 78 */ mr r30, r3 +/* 80263AE0 00260A40 7F C4 F3 78 */ mr r4, r30 +/* 80263AE4 00260A44 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80263AE8 00260A48 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80263AEC 00260A4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80263AF0 00260A50 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80263AF4 00260A54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80263AF8 00260A58 D0 01 00 08 */ stfs f0, 8(r1) +/* 80263AFC 00260A5C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80263B00 00260A60 81 9E 00 00 */ lwz r12, 0(r30) +/* 80263B04 00260A64 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 80263B08 00260A68 7D 89 03 A6 */ mtctr r12 +/* 80263B0C 00260A6C 4E 80 04 21 */ bctrl +/* 80263B10 00260A70 7F C3 F3 78 */ mr r3, r30 +/* 80263B14 00260A74 7F E4 FB 78 */ mr r4, r31 +/* 80263B18 00260A78 38 A1 00 08 */ addi r5, r1, 8 +/* 80263B1C 00260A7C 38 C1 00 14 */ addi r6, r1, 0x14 +/* 80263B20 00260A80 4B DF 0F 89 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f +/* 80263B24 00260A84 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80263B28 00260A88 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80263B2C 00260A8C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80263B30 00260A90 7C 08 03 A6 */ mtlr r0 +/* 80263B34 00260A94 38 21 00 40 */ addi r1, r1, 0x40 +/* 80263B38 00260A98 4E 80 00 20 */ blr + +.global UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager +UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager: +/* 80263B3C 00260A9C 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 80263B40 00260AA0 7C 08 02 A6 */ mflr r0 +/* 80263B44 00260AA4 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 80263B48 00260AA8 DB E1 02 E0 */ stfd f31, 0x2e0(r1) +/* 80263B4C 00260AAC F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 +/* 80263B50 00260AB0 BF 61 02 CC */ stmw r27, 0x2cc(r1) +/* 80263B54 00260AB4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80263B58 00260AB8 FF E0 08 90 */ fmr f31, f1 +/* 80263B5C 00260ABC 7C 7C 1B 78 */ mr r28, r3 +/* 80263B60 00260AC0 7C 9B 23 78 */ mr r27, r4 +/* 80263B64 00260AC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80263B68 00260AC8 7C BD 2B 78 */ mr r29, r5 +/* 80263B6C 00260ACC 41 82 06 44 */ beq lbl_802641B0 +/* 80263B70 00260AD0 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) +/* 80263B74 00260AD4 C0 02 BA 88 */ lfs f0, lbl_805AD7A8@sda21(r2) +/* 80263B78 00260AD8 C0 64 01 18 */ lfs f3, 0x118(r4) +/* 80263B7C 00260ADC C0 44 01 1C */ lfs f2, 0x11c(r4) +/* 80263B80 00260AE0 EC 42 18 2A */ fadds f2, f2, f3 +/* 80263B84 00260AE4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80263B88 00260AE8 7C 80 00 26 */ mfcr r4 +/* 80263B8C 00260AEC 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80263B90 00260AF0 54 85 17 FE */ rlwinm r5, r4, 2, 0x1f, 0x1f +/* 80263B94 00260AF4 7F A4 EB 78 */ mr r4, r29 +/* 80263B98 00260AF8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80263B9C 00260AFC 98 1C 03 7C */ stb r0, 0x37c(r28) +/* 80263BA0 00260B00 48 00 06 2D */ bl sub_802641cc +/* 80263BA4 00260B04 C0 5B 00 2C */ lfs f2, 0x2c(r27) +/* 80263BA8 00260B08 7F 64 DB 78 */ mr r4, r27 +/* 80263BAC 00260B0C C0 3B 00 1C */ lfs f1, 0x1c(r27) +/* 80263BB0 00260B10 38 61 00 54 */ addi r3, r1, 0x54 +/* 80263BB4 00260B14 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80263BB8 00260B18 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80263BBC 00260B1C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80263BC0 00260B20 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80263BC4 00260B24 48 0A F0 7D */ bl GetRotation__12CTransform4fCFv +/* 80263BC8 00260B28 38 61 00 84 */ addi r3, r1, 0x84 +/* 80263BCC 00260B2C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80263BD0 00260B30 48 0A EF A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80263BD4 00260B34 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263BD8 00260B38 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263BDC 00260B3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263BE0 00260B40 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263BE4 00260B44 7D 89 03 A6 */ mtctr r12 +/* 80263BE8 00260B48 4E 80 04 21 */ bctrl +/* 80263BEC 00260B4C 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263BF0 00260B50 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263BF4 00260B54 81 83 00 00 */ lwz r12, 0(r3) +/* 80263BF8 00260B58 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263BFC 00260B5C 7D 89 03 A6 */ mtctr r12 +/* 80263C00 00260B60 4E 80 04 21 */ bctrl +/* 80263C04 00260B64 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263C08 00260B68 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263C0C 00260B6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C10 00260B70 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263C14 00260B74 7D 89 03 A6 */ mtctr r12 +/* 80263C18 00260B78 4E 80 04 21 */ bctrl +/* 80263C1C 00260B7C 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263C20 00260B80 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263C24 00260B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C28 00260B88 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263C2C 00260B8C 7D 89 03 A6 */ mtctr r12 +/* 80263C30 00260B90 4E 80 04 21 */ bctrl +/* 80263C34 00260B94 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263C38 00260B98 38 81 00 48 */ addi r4, r1, 0x48 +/* 80263C3C 00260B9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C40 00260BA0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80263C44 00260BA4 7D 89 03 A6 */ mtctr r12 +/* 80263C48 00260BA8 4E 80 04 21 */ bctrl +/* 80263C4C 00260BAC 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263C50 00260BB0 38 81 00 84 */ addi r4, r1, 0x84 +/* 80263C54 00260BB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C58 00260BB8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80263C5C 00260BBC 7D 89 03 A6 */ mtctr r12 +/* 80263C60 00260BC0 4E 80 04 21 */ bctrl +/* 80263C64 00260BC4 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80263C68 00260BC8 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263C6C 00260BCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80263C70 00260BD0 41 82 00 0C */ beq lbl_80263C7C +/* 80263C74 00260BD4 C0 22 BA 7C */ lfs f1, lbl_805AD79C@sda21(r2) +/* 80263C78 00260BD8 48 00 00 08 */ b lbl_80263C80 +lbl_80263C7C: +/* 80263C7C 00260BDC C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +lbl_80263C80: +/* 80263C80 00260BE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C84 00260BE4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80263C88 00260BE8 7D 89 03 A6 */ mtctr r12 +/* 80263C8C 00260BEC 4E 80 04 21 */ bctrl +/* 80263C90 00260BF0 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263C94 00260BF4 FC 20 F8 90 */ fmr f1, f31 +/* 80263C98 00260BF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80263C9C 00260BFC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CA0 00260C00 7D 89 03 A6 */ mtctr r12 +/* 80263CA4 00260C04 4E 80 04 21 */ bctrl +/* 80263CA8 00260C08 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263CAC 00260C0C FC 20 F8 90 */ fmr f1, f31 +/* 80263CB0 00260C10 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CB4 00260C14 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CB8 00260C18 7D 89 03 A6 */ mtctr r12 +/* 80263CBC 00260C1C 4E 80 04 21 */ bctrl +/* 80263CC0 00260C20 80 7C 03 60 */ lwz r3, 0x360(r28) +/* 80263CC4 00260C24 FC 20 F8 90 */ fmr f1, f31 +/* 80263CC8 00260C28 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CCC 00260C2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CD0 00260C30 7D 89 03 A6 */ mtctr r12 +/* 80263CD4 00260C34 4E 80 04 21 */ bctrl +/* 80263CD8 00260C38 80 7C 03 64 */ lwz r3, 0x364(r28) +/* 80263CDC 00260C3C FC 20 F8 90 */ fmr f1, f31 +/* 80263CE0 00260C40 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CE4 00260C44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263CE8 00260C48 7D 89 03 A6 */ mtctr r12 +/* 80263CEC 00260C4C 4E 80 04 21 */ bctrl +/* 80263CF0 00260C50 80 7C 03 68 */ lwz r3, 0x368(r28) +/* 80263CF4 00260C54 FC 20 F8 90 */ fmr f1, f31 +/* 80263CF8 00260C58 81 83 00 00 */ lwz r12, 0(r3) +/* 80263CFC 00260C5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D00 00260C60 7D 89 03 A6 */ mtctr r12 +/* 80263D04 00260C64 4E 80 04 21 */ bctrl +/* 80263D08 00260C68 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263D0C 00260C6C FC 20 F8 90 */ fmr f1, f31 +/* 80263D10 00260C70 81 83 00 00 */ lwz r12, 0(r3) +/* 80263D14 00260C74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D18 00260C78 7D 89 03 A6 */ mtctr r12 +/* 80263D1C 00260C7C 4E 80 04 21 */ bctrl +/* 80263D20 00260C80 80 7C 03 70 */ lwz r3, 0x370(r28) +/* 80263D24 00260C84 FC 20 F8 90 */ fmr f1, f31 +/* 80263D28 00260C88 81 83 00 00 */ lwz r12, 0(r3) +/* 80263D2C 00260C8C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80263D30 00260C90 7D 89 03 A6 */ mtctr r12 +/* 80263D34 00260C94 4E 80 04 21 */ bctrl +/* 80263D38 00260C98 38 00 00 00 */ li r0, 0 +/* 80263D3C 00260C9C FC 20 F8 90 */ fmr f1, f31 +/* 80263D40 00260CA0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80263D44 00260CA4 7F 83 E3 78 */ mr r3, r28 +/* 80263D48 00260CA8 7F A4 EB 78 */ mr r4, r29 +/* 80263D4C 00260CAC 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80263D50 00260CB0 4B FF E5 31 */ bl sub_80262280 +/* 80263D54 00260CB4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263D58 00260CB8 2C 00 00 00 */ cmpwi r0, 0 +/* 80263D5C 00260CBC 40 81 02 2C */ ble lbl_80263F88 +/* 80263D60 00260CC0 80 7C 03 6C */ lwz r3, 0x36c(r28) +/* 80263D64 00260CC4 3B E1 00 B8 */ addi r31, r1, 0xb8 +/* 80263D68 00260CC8 38 E0 00 00 */ li r7, 0 +/* 80263D6C 00260CCC 38 C0 00 00 */ li r6, 0 +/* 80263D70 00260CD0 48 00 00 9C */ b lbl_80263E0C +lbl_80263D74: +/* 80263D74 00260CD4 80 03 01 68 */ lwz r0, 0x168(r3) +/* 80263D78 00260CD8 7C 80 32 14 */ add r4, r0, r6 +/* 80263D7C 00260CDC 88 04 00 00 */ lbz r0, 0(r4) +/* 80263D80 00260CE0 28 00 00 00 */ cmplwi r0, 0 +/* 80263D84 00260CE4 41 82 00 80 */ beq lbl_80263E04 +/* 80263D88 00260CE8 7F E5 FB 78 */ mr r5, r31 +/* 80263D8C 00260CEC 39 00 00 00 */ li r8, 0 +/* 80263D90 00260CF0 48 00 00 68 */ b lbl_80263DF8 +lbl_80263D94: +/* 80263D94 00260CF4 C0 45 00 04 */ lfs f2, 4(r5) +/* 80263D98 00260CF8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80263D9C 00260CFC C0 25 00 00 */ lfs f1, 0(r5) +/* 80263DA0 00260D00 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263DA4 00260D04 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80263DA8 00260D08 C0 65 00 08 */ lfs f3, 8(r5) +/* 80263DAC 00260D0C EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263DB0 00260D10 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80263DB4 00260D14 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263DB8 00260D18 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263DBC 00260D1C C0 A5 00 0C */ lfs f5, 0xc(r5) +/* 80263DC0 00260D20 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263DC4 00260D24 EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263DC8 00260D28 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80263DCC 00260D2C EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263DD0 00260D30 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263DD4 00260D34 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80263DD8 00260D38 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80263DDC 00260D3C EC 02 00 2A */ fadds f0, f2, f0 +/* 80263DE0 00260D40 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263DE4 00260D44 40 80 00 0C */ bge lbl_80263DF0 +/* 80263DE8 00260D48 38 00 00 00 */ li r0, 0 +/* 80263DEC 00260D4C 98 04 00 00 */ stb r0, 0(r4) +lbl_80263DF0: +/* 80263DF0 00260D50 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80263DF4 00260D54 39 08 00 01 */ addi r8, r8, 1 +lbl_80263DF8: +/* 80263DF8 00260D58 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263DFC 00260D5C 7C 08 00 00 */ cmpw r8, r0 +/* 80263E00 00260D60 41 80 FF 94 */ blt lbl_80263D94 +lbl_80263E04: +/* 80263E04 00260D64 38 C6 00 80 */ addi r6, r6, 0x80 +/* 80263E08 00260D68 38 E7 00 01 */ addi r7, r7, 1 +lbl_80263E0C: +/* 80263E0C 00260D6C 80 03 01 60 */ lwz r0, 0x160(r3) +/* 80263E10 00260D70 7C 07 00 00 */ cmpw r7, r0 +/* 80263E14 00260D74 41 80 FF 60 */ blt lbl_80263D74 +/* 80263E18 00260D78 3B 60 00 00 */ li r27, 0 +/* 80263E1C 00260D7C 3B C0 00 00 */ li r30, 0 +/* 80263E20 00260D80 48 00 00 94 */ b lbl_80263EB4 +lbl_80263E24: +/* 80263E24 00260D84 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263E28 00260D88 7F E4 FB 78 */ mr r4, r31 +/* 80263E2C 00260D8C 38 A0 00 00 */ li r5, 0 +/* 80263E30 00260D90 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80263E34 00260D94 7C 60 F2 14 */ add r3, r0, r30 +/* 80263E38 00260D98 48 00 00 68 */ b lbl_80263EA0 +lbl_80263E3C: +/* 80263E3C 00260D9C C0 44 00 04 */ lfs f2, 4(r4) +/* 80263E40 00260DA0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80263E44 00260DA4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80263E48 00260DA8 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263E4C 00260DAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80263E50 00260DB0 C0 64 00 08 */ lfs f3, 8(r4) +/* 80263E54 00260DB4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263E58 00260DB8 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80263E5C 00260DBC EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263E60 00260DC0 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263E64 00260DC4 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80263E68 00260DC8 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263E6C 00260DCC EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263E70 00260DD0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80263E74 00260DD4 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263E78 00260DD8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263E7C 00260DDC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80263E80 00260DE0 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80263E84 00260DE4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80263E88 00260DE8 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263E8C 00260DEC 40 80 00 0C */ bge lbl_80263E98 +/* 80263E90 00260DF0 38 00 FF FF */ li r0, -1 +/* 80263E94 00260DF4 90 03 00 00 */ stw r0, 0(r3) +lbl_80263E98: +/* 80263E98 00260DF8 38 84 00 10 */ addi r4, r4, 0x10 +/* 80263E9C 00260DFC 38 A5 00 01 */ addi r5, r5, 1 +lbl_80263EA0: +/* 80263EA0 00260E00 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263EA4 00260E04 7C 05 00 00 */ cmpw r5, r0 +/* 80263EA8 00260E08 41 80 FF 94 */ blt lbl_80263E3C +/* 80263EAC 00260E0C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80263EB0 00260E10 3B DE 00 38 */ addi r30, r30, 0x38 +lbl_80263EB4: +/* 80263EB4 00260E14 80 7C 03 58 */ lwz r3, 0x358(r28) +/* 80263EB8 00260E18 81 83 00 00 */ lwz r12, 0(r3) +/* 80263EBC 00260E1C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80263EC0 00260E20 7D 89 03 A6 */ mtctr r12 +/* 80263EC4 00260E24 4E 80 04 21 */ bctrl +/* 80263EC8 00260E28 7C 1B 18 00 */ cmpw r27, r3 +/* 80263ECC 00260E2C 41 80 FF 58 */ blt lbl_80263E24 +/* 80263ED0 00260E30 3B 60 00 00 */ li r27, 0 +/* 80263ED4 00260E34 3B C0 00 00 */ li r30, 0 +/* 80263ED8 00260E38 48 00 00 94 */ b lbl_80263F6C +lbl_80263EDC: +/* 80263EDC 00260E3C 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263EE0 00260E40 7F E4 FB 78 */ mr r4, r31 +/* 80263EE4 00260E44 38 A0 00 00 */ li r5, 0 +/* 80263EE8 00260E48 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 80263EEC 00260E4C 7C 60 F2 14 */ add r3, r0, r30 +/* 80263EF0 00260E50 48 00 00 68 */ b lbl_80263F58 +lbl_80263EF4: +/* 80263EF4 00260E54 C0 44 00 04 */ lfs f2, 4(r4) +/* 80263EF8 00260E58 C0 03 00 08 */ lfs f0, 8(r3) +/* 80263EFC 00260E5C C0 24 00 00 */ lfs f1, 0(r4) +/* 80263F00 00260E60 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80263F04 00260E64 C0 03 00 04 */ lfs f0, 4(r3) +/* 80263F08 00260E68 C0 64 00 08 */ lfs f3, 8(r4) +/* 80263F0C 00260E6C EC 41 00 28 */ fsubs f2, f1, f0 +/* 80263F10 00260E70 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80263F14 00260E74 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80263F18 00260E78 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80263F1C 00260E7C C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80263F20 00260E80 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80263F24 00260E84 EC A5 01 72 */ fmuls f5, f5, f5 +/* 80263F28 00260E88 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80263F2C 00260E8C EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80263F30 00260E90 EC 01 00 2A */ fadds f0, f1, f0 +/* 80263F34 00260E94 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80263F38 00260E98 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80263F3C 00260E9C EC 02 00 2A */ fadds f0, f2, f0 +/* 80263F40 00260EA0 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80263F44 00260EA4 40 80 00 0C */ bge lbl_80263F50 +/* 80263F48 00260EA8 38 00 FF FF */ li r0, -1 +/* 80263F4C 00260EAC 90 03 00 00 */ stw r0, 0(r3) +lbl_80263F50: +/* 80263F50 00260EB0 38 84 00 10 */ addi r4, r4, 0x10 +/* 80263F54 00260EB4 38 A5 00 01 */ addi r5, r5, 1 +lbl_80263F58: +/* 80263F58 00260EB8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80263F5C 00260EBC 7C 05 00 00 */ cmpw r5, r0 +/* 80263F60 00260EC0 41 80 FF 94 */ blt lbl_80263EF4 +/* 80263F64 00260EC4 3B 7B 00 01 */ addi r27, r27, 1 +/* 80263F68 00260EC8 3B DE 00 38 */ addi r30, r30, 0x38 +lbl_80263F6C: +/* 80263F6C 00260ECC 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80263F70 00260ED0 81 83 00 00 */ lwz r12, 0(r3) +/* 80263F74 00260ED4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80263F78 00260ED8 7D 89 03 A6 */ mtctr r12 +/* 80263F7C 00260EDC 4E 80 04 21 */ bctrl +/* 80263F80 00260EE0 7C 1B 18 00 */ cmpw r27, r3 +/* 80263F84 00260EE4 41 80 FF 58 */ blt lbl_80263EDC +lbl_80263F88: +/* 80263F88 00260EE8 80 1C 03 74 */ lwz r0, 0x374(r28) +/* 80263F8C 00260EEC 2C 00 00 02 */ cmpwi r0, 2 +/* 80263F90 00260EF0 40 82 01 C0 */ bne lbl_80264150 +/* 80263F94 00260EF4 80 9C 03 6C */ lwz r4, 0x36c(r28) +/* 80263F98 00260EF8 80 A4 01 60 */ lwz r5, 0x160(r4) +/* 80263F9C 00260EFC 80 04 01 64 */ lwz r0, 0x164(r4) +/* 80263FA0 00260F00 7C 05 00 50 */ subf r0, r5, r0 +/* 80263FA4 00260F04 2C 00 00 04 */ cmpwi r0, 4 +/* 80263FA8 00260F08 40 80 01 A8 */ bge lbl_80264150 +/* 80263FAC 00260F0C 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 80263FB0 00260F10 80 04 01 58 */ lwz r0, 0x158(r4) +/* 80263FB4 00260F14 7C 63 2A 14 */ add r3, r3, r5 +/* 80263FB8 00260F18 80 C4 01 68 */ lwz r6, 0x168(r4) +/* 80263FBC 00260F1C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 80263FC0 00260F20 1C 83 00 03 */ mulli r4, r3, 3 +/* 80263FC4 00260F24 54 83 0F FE */ srwi r3, r4, 0x1f +/* 80263FC8 00260F28 7C 63 22 14 */ add r3, r3, r4 +/* 80263FCC 00260F2C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 80263FD0 00260F30 7C 63 02 14 */ add r3, r3, r0 +/* 80263FD4 00260F34 7C 03 2B D6 */ divw r0, r3, r5 +/* 80263FD8 00260F38 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80263FDC 00260F3C 7C 80 18 50 */ subf r4, r0, r3 +/* 80263FE0 00260F40 54 80 38 30 */ slwi r0, r4, 7 +/* 80263FE4 00260F44 7C 66 02 14 */ add r3, r6, r0 +/* 80263FE8 00260F48 88 03 00 00 */ lbz r0, 0(r3) +/* 80263FEC 00260F4C 28 00 00 00 */ cmplwi r0, 0 +/* 80263FF0 00260F50 41 82 01 60 */ beq lbl_80264150 +/* 80263FF4 00260F54 38 84 00 01 */ addi r4, r4, 1 +/* 80263FF8 00260F58 3B E3 00 0C */ addi r31, r3, 0xc +/* 80263FFC 00260F5C 7C 04 2B D6 */ divw r0, r4, r5 +/* 80264000 00260F60 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 80264004 00260F64 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80264008 00260F68 3B C3 00 38 */ addi r30, r3, 0x38 +/* 8026400C 00260F6C C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80264010 00260F70 38 61 00 3C */ addi r3, r1, 0x3c +/* 80264014 00260F74 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80264018 00260F78 7C 00 20 50 */ subf r0, r0, r4 +/* 8026401C 00260F7C 54 04 38 30 */ slwi r4, r0, 7 +/* 80264020 00260F80 38 84 00 0C */ addi r4, r4, 0xc +/* 80264024 00260F84 7C 86 22 14 */ add r4, r6, r4 +/* 80264028 00260F88 C0 84 00 04 */ lfs f4, 4(r4) +/* 8026402C 00260F8C C0 44 00 08 */ lfs f2, 8(r4) +/* 80264030 00260F90 C0 04 00 00 */ lfs f0, 0(r4) +/* 80264034 00260F94 EC A5 20 28 */ fsubs f5, f5, f4 +/* 80264038 00260F98 EC 83 10 28 */ fsubs f4, f3, f2 +/* 8026403C 00260F9C EC 61 00 28 */ fsubs f3, f1, f0 +/* 80264040 00260FA0 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 80264044 00260FA4 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80264048 00260FA8 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8026404C 00260FAC C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 80264050 00260FB0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80264054 00260FB4 EC 05 00 72 */ fmuls f0, f5, f1 +/* 80264058 00260FB8 C0 DE 00 24 */ lfs f6, 0x24(r30) +/* 8026405C 00260FBC EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80264060 00260FC0 EC 04 01 BA */ fmadds f0, f4, f6, f0 +/* 80264064 00260FC4 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 80264068 00260FC8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8026406C 00260FCC EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80264070 00260FD0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80264074 00260FD4 EC 25 08 28 */ fsubs f1, f5, f1 +/* 80264078 00260FD8 EC 04 00 28 */ fsubs f0, f4, f0 +/* 8026407C 00260FDC D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80264080 00260FE0 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80264084 00260FE4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80264088 00260FE8 48 0B 08 31 */ bl Magnitude__9CVector3fCFv +/* 8026408C 00260FEC 88 1C 03 7C */ lbz r0, 0x37c(r28) +/* 80264090 00260FF0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80264094 00260FF4 41 82 00 0C */ beq lbl_802640A0 +/* 80264098 00260FF8 C0 62 BA 8C */ lfs f3, lbl_805AD7AC@sda21(r2) +/* 8026409C 00260FFC 48 00 00 08 */ b lbl_802640A4 +lbl_802640A0: +/* 802640A0 00261000 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) +lbl_802640A4: +/* 802640A4 00261004 C0 42 BA 90 */ lfs f2, lbl_805AD7B0@sda21(r2) +/* 802640A8 00261008 C0 0D 98 0C */ lfs f0, lbl_805A83CC@sda21(r13) +/* 802640AC 0026100C EC 22 00 72 */ fmuls f1, f2, f1 +/* 802640B0 00261010 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802640B4 00261014 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802640B8 00261018 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802640BC 0026101C 40 80 00 0C */ bge lbl_802640C8 +/* 802640C0 00261020 38 61 00 0C */ addi r3, r1, 0xc +/* 802640C4 00261024 48 00 00 08 */ b lbl_802640CC +lbl_802640C8: +/* 802640C8 00261028 38 6D 98 0C */ addi r3, r13, lbl_805A83CC@sda21 +lbl_802640CC: +/* 802640CC 0026102C C0 03 00 00 */ lfs f0, 0(r3) +/* 802640D0 00261030 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802640D4 00261034 40 80 00 08 */ bge lbl_802640DC +/* 802640D8 00261038 38 61 00 14 */ addi r3, r1, 0x14 +lbl_802640DC: +/* 802640DC 0026103C C0 03 00 00 */ lfs f0, 0(r3) +/* 802640E0 00261040 38 61 00 08 */ addi r3, r1, 8 +/* 802640E4 00261044 FC 00 00 1E */ fctiwz f0, f0 +/* 802640E8 00261048 D8 01 02 B8 */ stfd f0, 0x2b8(r1) +/* 802640EC 0026104C 80 A1 02 BC */ lwz r5, 0x2bc(r1) +/* 802640F0 00261050 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802640F4 00261054 80 9C 03 B4 */ lwz r4, 0x3b4(r28) +/* 802640F8 00261058 38 04 FF FF */ addi r0, r4, -1 +/* 802640FC 0026105C 7C 00 28 00 */ cmpw r0, r5 +/* 80264100 00261060 90 01 00 08 */ stw r0, 8(r1) +/* 80264104 00261064 40 80 00 08 */ bge lbl_8026410C +/* 80264108 00261068 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8026410C: +/* 8026410C 0026106C 80 03 00 00 */ lwz r0, 0(r3) +/* 80264110 00261070 7F E4 FB 78 */ mr r4, r31 +/* 80264114 00261074 90 1C 03 B4 */ stw r0, 0x3b4(r28) +/* 80264118 00261078 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 8026411C 0026107C 81 83 00 00 */ lwz r12, 0(r3) +/* 80264120 00261080 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80264124 00261084 7D 89 03 A6 */ mtctr r12 +/* 80264128 00261088 4E 80 04 21 */ bctrl +/* 8026412C 0026108C 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80264130 00261090 7F C4 F3 78 */ mr r4, r30 +/* 80264134 00261094 81 83 00 00 */ lwz r12, 0(r3) +/* 80264138 00261098 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8026413C 0026109C 7D 89 03 A6 */ mtctr r12 +/* 80264140 002610A0 4E 80 04 21 */ bctrl +/* 80264144 002610A4 80 7C 03 5C */ lwz r3, 0x35c(r28) +/* 80264148 002610A8 80 9C 03 B4 */ lwz r4, 0x3b4(r28) +/* 8026414C 002610AC 48 0B 87 75 */ bl ForceParticleCreation__11CElementGenFi +lbl_80264150: +/* 80264150 002610B0 7F 83 E3 78 */ mr r3, r28 +/* 80264154 002610B4 7F A4 EB 78 */ mr r4, r29 +/* 80264158 002610B8 4B FF D9 C1 */ bl sub_80261b18 +/* 8026415C 002610BC 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 80264160 002610C0 38 60 00 00 */ li r3, 0 +/* 80264164 002610C4 2C 05 00 00 */ cmpwi r5, 0 +/* 80264168 002610C8 40 81 00 40 */ ble lbl_802641A8 +/* 8026416C 002610CC 2C 05 00 08 */ cmpwi r5, 8 +/* 80264170 002610D0 38 85 FF F8 */ addi r4, r5, -8 +/* 80264174 002610D4 40 81 00 20 */ ble lbl_80264194 +/* 80264178 002610D8 38 04 00 07 */ addi r0, r4, 7 +/* 8026417C 002610DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80264180 002610E0 7C 09 03 A6 */ mtctr r0 +/* 80264184 002610E4 2C 04 00 00 */ cmpwi r4, 0 +/* 80264188 002610E8 40 81 00 0C */ ble lbl_80264194 +lbl_8026418C: +/* 8026418C 002610EC 38 63 00 08 */ addi r3, r3, 8 +/* 80264190 002610F0 42 00 FF FC */ bdnz lbl_8026418C +lbl_80264194: +/* 80264194 002610F4 7C 03 28 50 */ subf r0, r3, r5 +/* 80264198 002610F8 7C 09 03 A6 */ mtctr r0 +/* 8026419C 002610FC 7C 03 28 00 */ cmpw r3, r5 +/* 802641A0 00261100 40 80 00 08 */ bge lbl_802641A8 +lbl_802641A4: +/* 802641A4 00261104 42 00 00 00 */ bdnz lbl_802641A4 +lbl_802641A8: +/* 802641A8 00261108 38 00 00 00 */ li r0, 0 +/* 802641AC 0026110C 90 01 00 B4 */ stw r0, 0xb4(r1) +lbl_802641B0: +/* 802641B0 00261110 E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 +/* 802641B4 00261114 CB E1 02 E0 */ lfd f31, 0x2e0(r1) +/* 802641B8 00261118 BB 61 02 CC */ lmw r27, 0x2cc(r1) +/* 802641BC 0026111C 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802641C0 00261120 7C 08 03 A6 */ mtlr r0 +/* 802641C4 00261124 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 802641C8 00261128 4E 80 00 20 */ blr + +.global sub_802641cc +sub_802641cc: +/* 802641CC 0026112C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802641D0 00261130 7C 08 02 A6 */ mflr r0 +/* 802641D4 00261134 90 01 00 34 */ stw r0, 0x34(r1) +/* 802641D8 00261138 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802641DC 0026113C 3B E0 00 00 */ li r31, 0 +/* 802641E0 00261140 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802641E4 00261144 7C 9E 23 78 */ mr r30, r4 +/* 802641E8 00261148 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802641EC 0026114C 7C 7D 1B 78 */ mr r29, r3 +/* 802641F0 00261150 80 03 03 74 */ lwz r0, 0x374(r3) +/* 802641F4 00261154 2C 00 00 03 */ cmpwi r0, 3 +/* 802641F8 00261158 41 82 00 38 */ beq lbl_80264230 +/* 802641FC 0026115C 40 80 00 14 */ bge lbl_80264210 +/* 80264200 00261160 2C 00 00 01 */ cmpwi r0, 1 +/* 80264204 00261164 41 82 00 18 */ beq lbl_8026421C +/* 80264208 00261168 40 80 00 20 */ bge lbl_80264228 +/* 8026420C 0026116C 48 00 00 A8 */ b lbl_802642B4 +lbl_80264210: +/* 80264210 00261170 2C 00 00 05 */ cmpwi r0, 5 +/* 80264214 00261174 40 80 00 A0 */ bge lbl_802642B4 +/* 80264218 00261178 48 00 00 5C */ b lbl_80264274 +lbl_8026421C: +/* 8026421C 0026117C 38 00 00 02 */ li r0, 2 +/* 80264220 00261180 90 1D 03 74 */ stw r0, 0x374(r29) +/* 80264224 00261184 48 00 00 90 */ b lbl_802642B4 +lbl_80264228: +/* 80264228 00261188 3B E0 00 01 */ li r31, 1 +/* 8026422C 0026118C 48 00 00 88 */ b lbl_802642B4 +lbl_80264230: +/* 80264230 00261190 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) +/* 80264234 00261194 3B E0 00 01 */ li r31, 1 +/* 80264238 00261198 C0 5D 02 F0 */ lfs f2, 0x2f0(r29) +/* 8026423C 0026119C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80264240 002611A0 EC 23 10 7A */ fmadds f1, f3, f1, f2 +/* 80264244 002611A4 D0 3D 02 F0 */ stfs f1, 0x2f0(r29) +/* 80264248 002611A8 C0 3D 02 F0 */ lfs f1, 0x2f0(r29) +/* 8026424C 002611AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264250 002611B0 40 81 00 64 */ ble lbl_802642B4 +/* 80264254 002611B4 D0 1D 02 F0 */ stfs f0, 0x2f0(r29) +/* 80264258 002611B8 38 00 00 04 */ li r0, 4 +/* 8026425C 002611BC 38 60 00 00 */ li r3, 0 +/* 80264260 002611C0 90 1D 03 74 */ stw r0, 0x374(r29) +/* 80264264 002611C4 88 1D 03 7C */ lbz r0, 0x37c(r29) +/* 80264268 002611C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8026426C 002611CC 98 1D 03 7C */ stb r0, 0x37c(r29) +/* 80264270 002611D0 48 00 00 44 */ b lbl_802642B4 +lbl_80264274: +/* 80264274 002611D4 C0 5D 02 EC */ lfs f2, 0x2ec(r29) +/* 80264278 002611D8 C0 02 BA 70 */ lfs f0, lbl_805AD790@sda21(r2) +/* 8026427C 002611DC EC 22 08 2A */ fadds f1, f2, f1 +/* 80264280 002611E0 D0 3D 02 EC */ stfs f1, 0x2ec(r29) +/* 80264284 002611E4 C0 3D 02 EC */ lfs f1, 0x2ec(r29) +/* 80264288 002611E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8026428C 002611EC 40 81 00 28 */ ble lbl_802642B4 +/* 80264290 002611F0 4B FF DC 25 */ bl AreParticlesDoneEmitting__16CNewFlameThrowerCFv +/* 80264294 002611F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80264298 002611F8 41 82 00 1C */ beq lbl_802642B4 +/* 8026429C 002611FC 38 00 00 00 */ li r0, 0 +/* 802642A0 00261200 7F A3 EB 78 */ mr r3, r29 +/* 802642A4 00261204 90 1D 03 74 */ stw r0, 0x374(r29) +/* 802642A8 00261208 7F C4 F3 78 */ mr r4, r30 +/* 802642AC 0026120C 38 A0 00 01 */ li r5, 1 +/* 802642B0 00261210 4B FF F6 31 */ bl Reset__16CFlameNewThrowerFR13CStateManagerb +lbl_802642B4: +/* 802642B4 00261214 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802642B8 00261218 41 82 00 30 */ beq lbl_802642E8 +/* 802642BC 0026121C 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 802642C0 00261220 7F A3 EB 78 */ mr r3, r29 +/* 802642C4 00261224 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) +/* 802642C8 00261228 7F C4 F3 78 */ mr r4, r30 +/* 802642CC 0026122C 80 05 00 04 */ lwz r0, 4(r5) +/* 802642D0 00261230 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802642D4 00261234 C0 42 BA 94 */ lfs f2, lbl_805AD7B4@sda21(r2) +/* 802642D8 00261238 90 01 00 10 */ stw r0, 0x10(r1) +/* 802642DC 0026123C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802642E0 00261240 4B FF D2 95 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +/* 802642E4 00261244 48 00 00 2C */ b lbl_80264310 +lbl_802642E8: +/* 802642E8 00261248 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 802642EC 0026124C 7F A3 EB 78 */ mr r3, r29 +/* 802642F0 00261250 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) +/* 802642F4 00261254 7F C4 F3 78 */ mr r4, r30 +/* 802642F8 00261258 80 05 00 04 */ lwz r0, 4(r5) +/* 802642FC 0026125C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264300 00261260 FC 40 08 90 */ fmr f2, f1 +/* 80264304 00261264 90 01 00 08 */ stw r0, 8(r1) +/* 80264308 00261268 90 01 00 0C */ stw r0, 0xc(r1) +/* 8026430C 0026126C 4B FF D2 69 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff +lbl_80264310: +/* 80264310 00261270 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264314 00261274 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80264318 00261278 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8026431C 0026127C C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) +/* 80264320 00261280 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80264324 00261284 7C 08 03 A6 */ mtlr r0 +/* 80264328 00261288 38 21 00 30 */ addi r1, r1, 0x30 +/* 8026432C 0026128C 4E 80 00 20 */ blr + +.global Think__16CNewFlameThrowerFfR13CStateManager +Think__16CNewFlameThrowerFfR13CStateManager: +/* 80264330 00261290 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264334 00261294 7C 08 02 A6 */ mflr r0 +/* 80264338 00261298 90 01 00 34 */ stw r0, 0x34(r1) +/* 8026433C 0026129C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264340 002612A0 7C 7B 1B 78 */ mr r27, r3 +/* 80264344 002612A4 7C 9C 23 78 */ mr r28, r4 +/* 80264348 002612A8 4B E9 DD 91 */ bl Think__7CWeaponFfR13CStateManager +/* 8026434C 002612AC 80 DC 08 50 */ lwz r6, 0x850(r28) +/* 80264350 002612B0 7F 83 E3 78 */ mr r3, r28 +/* 80264354 002612B4 7F 64 DB 78 */ mr r4, r27 +/* 80264358 002612B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8026435C 002612BC 80 06 00 68 */ lwz r0, 0x68(r6) +/* 80264360 002612C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264364 002612C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264368 002612C8 4B DE 0F 11 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 8026436C 002612CC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80264370 002612D0 3B DB 03 BC */ addi r30, r27, 0x3bc +/* 80264374 002612D4 3B A0 00 00 */ li r29, 0 +/* 80264378 002612D8 48 00 00 44 */ b lbl_802643BC +lbl_8026437C: +/* 8026437C 002612DC A0 1E 00 00 */ lhz r0, 0(r30) +/* 80264380 002612E0 7F 83 E3 78 */ mr r3, r28 +/* 80264384 002612E4 38 81 00 08 */ addi r4, r1, 8 +/* 80264388 002612E8 B0 01 00 08 */ sth r0, 8(r1) +/* 8026438C 002612EC 4B DE 81 E9 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80264390 002612F0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80264394 002612F4 41 82 00 18 */ beq lbl_802643AC +/* 80264398 002612F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8026439C 002612FC 7F 83 E3 78 */ mr r3, r28 +/* 802643A0 00261300 38 A1 00 0C */ addi r5, r1, 0xc +/* 802643A4 00261304 4B DE 0E D5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 802643A8 00261308 48 00 00 0C */ b lbl_802643B4 +lbl_802643AC: +/* 802643AC 0026130C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 802643B0 00261310 B0 1E 00 00 */ sth r0, 0(r30) +lbl_802643B4: +/* 802643B4 00261314 3B DE 00 02 */ addi r30, r30, 2 +/* 802643B8 00261318 3B BD 00 01 */ addi r29, r29, 1 +lbl_802643BC: +/* 802643BC 0026131C 80 1B 03 B8 */ lwz r0, 0x3b8(r27) +/* 802643C0 00261320 7C 1D 00 00 */ cmpw r29, r0 +/* 802643C4 00261324 41 80 FF B8 */ blt lbl_8026437C +/* 802643C8 00261328 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802643CC 0026132C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802643D0 00261330 7C 08 03 A6 */ mtlr r0 +/* 802643D4 00261334 38 21 00 30 */ addi r1, r1, 0x30 +/* 802643D8 00261338 4E 80 00 20 */ blr + +.global nullsub_66 +nullsub_66: +/* 802643DC 0026133C 4E 80 00 20 */ blr + +.global Accept__16CNewFlameThrowerFR8IVisitor +Accept__16CNewFlameThrowerFR8IVisitor: +/* 802643E0 00261340 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802643E4 00261344 7C 08 02 A6 */ mflr r0 +/* 802643E8 00261348 90 01 00 14 */ stw r0, 0x14(r1) +/* 802643EC 0026134C 7C 60 1B 78 */ mr r0, r3 +/* 802643F0 00261350 7C 83 23 78 */ mr r3, r4 +/* 802643F4 00261354 81 84 00 00 */ lwz r12, 0(r4) +/* 802643F8 00261358 7C 04 03 78 */ mr r4, r0 +/* 802643FC 0026135C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80264400 00261360 7D 89 03 A6 */ mtctr r12 +/* 80264404 00261364 4E 80 04 21 */ bctrl +/* 80264408 00261368 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8026440C 0026136C 7C 08 03 A6 */ mtlr r0 +/* 80264410 00261370 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264414 00261374 4E 80 00 20 */ blr + +.global GetTouchBounds__16CNewFlameThrowerCFv +GetTouchBounds__16CNewFlameThrowerCFv: +/* 80264418 00261378 38 00 00 00 */ li r0, 0 +/* 8026441C 0026137C 98 03 00 18 */ stb r0, 0x18(r3) +/* 80264420 00261380 4E 80 00 20 */ blr + +.global "__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi" +"__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi": +/* 80264424 00261384 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80264428 00261388 7C 08 02 A6 */ mflr r0 +/* 8026442C 0026138C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) +/* 80264430 00261390 90 01 01 34 */ stw r0, 0x134(r1) +/* 80264434 00261394 39 81 00 E0 */ addi r12, r1, 0xe0 +/* 80264438 00261398 39 61 00 D0 */ addi r11, r1, 0xd0 +/* 8026443C 0026139C BE 61 00 FC */ stmw r19, 0xfc(r1) +/* 80264440 002613A0 3B 00 00 00 */ li r24, 0 +/* 80264444 002613A4 7C B3 2B 78 */ mr r19, r5 +/* 80264448 002613A8 7C D4 33 78 */ mr r20, r6 +/* 8026444C 002613AC 7C FF 3B 78 */ mr r31, r7 +/* 80264450 002613B0 80 A1 01 40 */ lwz r5, 0x140(r1) +/* 80264454 002613B4 82 C1 01 3C */ lwz r22, 0x13c(r1) +/* 80264458 002613B8 3B 41 00 38 */ addi r26, r1, 0x38 +/* 8026445C 002613BC 82 A1 01 38 */ lwz r21, 0x138(r1) +/* 80264460 002613C0 3B 61 00 4C */ addi r27, r1, 0x4c +/* 80264464 002613C4 3B 81 00 34 */ addi r28, r1, 0x34 +/* 80264468 002613C8 3B A1 00 30 */ addi r29, r1, 0x30 +/* 8026446C 002613CC 82 E1 01 44 */ lwz r23, 0x144(r1) +/* 80264470 002613D0 7C 7E 1B 78 */ mr r30, r3 +/* 80264474 002613D4 7E 66 9B 78 */ mr r6, r19 +/* 80264478 002613D8 7E 87 A3 78 */ mr r7, r20 +/* 8026447C 002613DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80264480 002613E0 9B 01 00 DC */ stb r24, 0xdc(r1) +/* 80264484 002613E4 B0 01 00 30 */ sth r0, 0x30(r1) +/* 80264488 002613E8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8026448C 002613EC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 80264490 002613F0 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80264494 002613F4 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80264498 002613F8 A3 25 00 00 */ lhz r25, 0(r5) +/* 8026449C 002613FC 7C 85 23 78 */ mr r5, r4 +/* 802644A0 00261400 38 80 00 00 */ li r4, 0 +/* 802644A4 00261404 B3 21 00 34 */ sth r25, 0x34(r1) +/* 802644A8 00261408 83 36 00 00 */ lwz r25, 0(r22) +/* 802644AC 0026140C 93 21 00 4C */ stw r25, 0x4c(r1) +/* 802644B0 00261410 A3 35 00 00 */ lhz r25, 0(r21) +/* 802644B4 00261414 B3 21 00 38 */ sth r25, 0x38(r1) +/* 802644B8 00261418 93 41 00 08 */ stw r26, 8(r1) +/* 802644BC 0026141C 93 61 00 0C */ stw r27, 0xc(r1) +/* 802644C0 00261420 93 81 00 10 */ stw r28, 0x10(r1) +/* 802644C4 00261424 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802644C8 00261428 92 E1 00 18 */ stw r23, 0x18(r1) +/* 802644CC 0026142C 93 01 00 1C */ stw r24, 0x1c(r1) +/* 802644D0 00261430 91 81 00 20 */ stw r12, 0x20(r1) +/* 802644D4 00261434 91 61 00 24 */ stw r11, 0x24(r1) +/* 802644D8 00261438 90 01 00 28 */ stw r0, 0x28(r1) +/* 802644DC 0026143C 93 01 00 2C */ stw r24, 0x2c(r1) +/* 802644E0 00261440 4B DD 5F A5 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 802644E4 00261444 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802644E8 00261448 28 00 00 00 */ cmplwi r0, 0 +/* 802644EC 0026144C 41 82 00 1C */ beq lbl_80264508 +/* 802644F0 00261450 34 61 00 D0 */ addic. r3, r1, 0xd0 +/* 802644F4 00261454 41 82 00 14 */ beq lbl_80264508 +/* 802644F8 00261458 28 03 00 00 */ cmplwi r3, 0 +/* 802644FC 0026145C 41 82 00 0C */ beq lbl_80264508 +/* 80264500 00261460 38 80 00 00 */ li r4, 0 +/* 80264504 00261464 48 0D C9 3D */ bl __dt__6CTokenFv +lbl_80264508: +/* 80264508 00261468 38 00 00 00 */ li r0, 0 +/* 8026450C 0026146C 3C 60 80 3F */ lis r3, lbl_803E9D10@ha +/* 80264510 00261470 98 01 00 DC */ stb r0, 0xdc(r1) +/* 80264514 00261474 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l +/* 80264518 00261478 38 7E 02 E8 */ addi r3, r30, 0x2e8 +/* 8026451C 0026147C 38 80 00 63 */ li r4, 0x63 +/* 80264520 00261480 90 1E 00 00 */ stw r0, 0(r30) +/* 80264524 00261484 48 0A E0 C9 */ bl __ct__9CRandom16FUi +/* 80264528 00261488 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) +/* 8026452C 0026148C 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 80264530 00261490 38 C0 00 00 */ li r6, 0 +/* 80264534 00261494 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80264538 00261498 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 8026453C 0026149C 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 80264540 002614A0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80264544 002614A4 D0 1E 02 F0 */ stfs f0, 0x2f0(r30) +/* 80264548 002614A8 98 DE 03 00 */ stb r6, 0x300(r30) +/* 8026454C 002614AC 80 DF 00 04 */ lwz r6, 4(r31) +/* 80264550 002614B0 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80264554 002614B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264558 002614B8 90 C1 00 BC */ stw r6, 0xbc(r1) +/* 8026455C 002614BC 81 84 00 00 */ lwz r12, 0(r4) +/* 80264560 002614C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264564 002614C4 7D 89 03 A6 */ mtctr r12 +/* 80264568 002614C8 4E 80 04 21 */ bctrl +/* 8026456C 002614CC 3A 7E 03 04 */ addi r19, r30, 0x304 +/* 80264570 002614D0 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80264574 002614D4 7E 63 9B 78 */ mr r3, r19 +/* 80264578 002614D8 48 0D C9 31 */ bl __ct__6CTokenFRC6CToken +/* 8026457C 002614DC 7E 63 9B 78 */ mr r3, r19 +/* 80264580 002614E0 48 0D C8 8D */ bl GetObj__6CTokenFv +/* 80264584 002614E4 80 03 00 04 */ lwz r0, 4(r3) +/* 80264588 002614E8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8026458C 002614EC 38 80 FF FF */ li r4, -1 +/* 80264590 002614F0 90 13 00 08 */ stw r0, 8(r19) +/* 80264594 002614F4 48 0D C8 AD */ bl __dt__6CTokenFv +/* 80264598 002614F8 80 DF 00 08 */ lwz r6, 8(r31) +/* 8026459C 002614FC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802645A0 00261500 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802645A4 00261504 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802645A8 00261508 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802645AC 0026150C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802645B0 00261510 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 802645B4 00261514 90 C1 00 AC */ stw r6, 0xac(r1) +/* 802645B8 00261518 81 84 00 00 */ lwz r12, 0(r4) +/* 802645BC 0026151C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802645C0 00261520 7D 89 03 A6 */ mtctr r12 +/* 802645C4 00261524 4E 80 04 21 */ bctrl +/* 802645C8 00261528 3A 7E 03 10 */ addi r19, r30, 0x310 +/* 802645CC 0026152C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802645D0 00261530 7E 63 9B 78 */ mr r3, r19 +/* 802645D4 00261534 48 0D C8 D5 */ bl __ct__6CTokenFRC6CToken +/* 802645D8 00261538 7E 63 9B 78 */ mr r3, r19 +/* 802645DC 0026153C 48 0D C8 31 */ bl GetObj__6CTokenFv +/* 802645E0 00261540 80 03 00 04 */ lwz r0, 4(r3) +/* 802645E4 00261544 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802645E8 00261548 38 80 FF FF */ li r4, -1 +/* 802645EC 0026154C 90 13 00 08 */ stw r0, 8(r19) +/* 802645F0 00261550 48 0D C8 51 */ bl __dt__6CTokenFv +/* 802645F4 00261554 80 DF 00 14 */ lwz r6, 0x14(r31) +/* 802645F8 00261558 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802645FC 0026155C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80264600 00261560 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264604 00261564 90 01 00 98 */ stw r0, 0x98(r1) +/* 80264608 00261568 38 61 00 90 */ addi r3, r1, 0x90 +/* 8026460C 0026156C 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80264610 00261570 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 80264614 00261574 81 84 00 00 */ lwz r12, 0(r4) +/* 80264618 00261578 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8026461C 0026157C 7D 89 03 A6 */ mtctr r12 +/* 80264620 00261580 4E 80 04 21 */ bctrl +/* 80264624 00261584 3A 7E 03 1C */ addi r19, r30, 0x31c +/* 80264628 00261588 38 81 00 90 */ addi r4, r1, 0x90 +/* 8026462C 0026158C 7E 63 9B 78 */ mr r3, r19 +/* 80264630 00261590 48 0D C8 79 */ bl __ct__6CTokenFRC6CToken +/* 80264634 00261594 7E 63 9B 78 */ mr r3, r19 +/* 80264638 00261598 48 0D C7 D5 */ bl GetObj__6CTokenFv +/* 8026463C 0026159C 80 03 00 04 */ lwz r0, 4(r3) +/* 80264640 002615A0 38 61 00 90 */ addi r3, r1, 0x90 +/* 80264644 002615A4 38 80 FF FF */ li r4, -1 +/* 80264648 002615A8 90 13 00 08 */ stw r0, 8(r19) +/* 8026464C 002615AC 48 0D C7 F5 */ bl __dt__6CTokenFv +/* 80264650 002615B0 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 80264654 002615B4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80264658 002615B8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8026465C 002615BC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264660 002615C0 90 01 00 88 */ stw r0, 0x88(r1) +/* 80264664 002615C4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80264668 002615C8 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8026466C 002615CC 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 80264670 002615D0 81 84 00 00 */ lwz r12, 0(r4) +/* 80264674 002615D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264678 002615D8 7D 89 03 A6 */ mtctr r12 +/* 8026467C 002615DC 4E 80 04 21 */ bctrl +/* 80264680 002615E0 3A 7E 03 28 */ addi r19, r30, 0x328 +/* 80264684 002615E4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80264688 002615E8 7E 63 9B 78 */ mr r3, r19 +/* 8026468C 002615EC 48 0D C8 1D */ bl __ct__6CTokenFRC6CToken +/* 80264690 002615F0 7E 63 9B 78 */ mr r3, r19 +/* 80264694 002615F4 48 0D C7 79 */ bl GetObj__6CTokenFv +/* 80264698 002615F8 80 03 00 04 */ lwz r0, 4(r3) +/* 8026469C 002615FC 38 61 00 80 */ addi r3, r1, 0x80 +/* 802646A0 00261600 38 80 FF FF */ li r4, -1 +/* 802646A4 00261604 90 13 00 08 */ stw r0, 8(r19) +/* 802646A8 00261608 48 0D C7 99 */ bl __dt__6CTokenFv +/* 802646AC 0026160C 80 DF 00 1C */ lwz r6, 0x1c(r31) +/* 802646B0 00261610 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 802646B4 00261614 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 802646B8 00261618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 802646BC 0026161C 90 01 00 78 */ stw r0, 0x78(r1) +/* 802646C0 00261620 38 61 00 70 */ addi r3, r1, 0x70 +/* 802646C4 00261624 38 A1 00 78 */ addi r5, r1, 0x78 +/* 802646C8 00261628 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802646CC 0026162C 81 84 00 00 */ lwz r12, 0(r4) +/* 802646D0 00261630 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802646D4 00261634 7D 89 03 A6 */ mtctr r12 +/* 802646D8 00261638 4E 80 04 21 */ bctrl +/* 802646DC 0026163C 3A 7E 03 34 */ addi r19, r30, 0x334 +/* 802646E0 00261640 38 81 00 70 */ addi r4, r1, 0x70 +/* 802646E4 00261644 7E 63 9B 78 */ mr r3, r19 +/* 802646E8 00261648 48 0D C7 C1 */ bl __ct__6CTokenFRC6CToken +/* 802646EC 0026164C 7E 63 9B 78 */ mr r3, r19 +/* 802646F0 00261650 48 0D C7 1D */ bl GetObj__6CTokenFv +/* 802646F4 00261654 80 03 00 04 */ lwz r0, 4(r3) +/* 802646F8 00261658 38 61 00 70 */ addi r3, r1, 0x70 +/* 802646FC 0026165C 38 80 FF FF */ li r4, -1 +/* 80264700 00261660 90 13 00 08 */ stw r0, 8(r19) +/* 80264704 00261664 48 0D C7 3D */ bl __dt__6CTokenFv +/* 80264708 00261668 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8026470C 0026166C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 80264710 00261670 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 80264714 00261674 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264718 00261678 90 01 00 68 */ stw r0, 0x68(r1) +/* 8026471C 0026167C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80264720 00261680 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80264724 00261684 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80264728 00261688 81 84 00 00 */ lwz r12, 0(r4) +/* 8026472C 0026168C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80264730 00261690 7D 89 03 A6 */ mtctr r12 +/* 80264734 00261694 4E 80 04 21 */ bctrl +/* 80264738 00261698 3A 7E 03 40 */ addi r19, r30, 0x340 +/* 8026473C 0026169C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80264740 002616A0 7E 63 9B 78 */ mr r3, r19 +/* 80264744 002616A4 48 0D C7 65 */ bl __ct__6CTokenFRC6CToken +/* 80264748 002616A8 7E 63 9B 78 */ mr r3, r19 +/* 8026474C 002616AC 48 0D C6 C1 */ bl GetObj__6CTokenFv +/* 80264750 002616B0 80 03 00 04 */ lwz r0, 4(r3) +/* 80264754 002616B4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80264758 002616B8 38 80 FF FF */ li r4, -1 +/* 8026475C 002616BC 90 13 00 08 */ stw r0, 8(r19) +/* 80264760 002616C0 48 0D C6 E1 */ bl __dt__6CTokenFv +/* 80264764 002616C4 80 DF 00 10 */ lwz r6, 0x10(r31) +/* 80264768 002616C8 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8026476C 002616CC 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 80264770 002616D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80264774 002616D4 90 01 00 58 */ stw r0, 0x58(r1) +/* 80264778 002616D8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8026477C 002616DC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80264780 002616E0 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80264784 002616E4 81 84 00 00 */ lwz r12, 0(r4) +/* 80264788 002616E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8026478C 002616EC 7D 89 03 A6 */ mtctr r12 +/* 80264790 002616F0 4E 80 04 21 */ bctrl +/* 80264794 002616F4 3A 7E 03 4C */ addi r19, r30, 0x34c +/* 80264798 002616F8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8026479C 002616FC 7E 63 9B 78 */ mr r3, r19 +/* 802647A0 00261700 48 0D C7 09 */ bl __ct__6CTokenFRC6CToken +/* 802647A4 00261704 7E 63 9B 78 */ mr r3, r19 +/* 802647A8 00261708 48 0D C6 65 */ bl GetObj__6CTokenFv +/* 802647AC 0026170C 80 03 00 04 */ lwz r0, 4(r3) +/* 802647B0 00261710 38 61 00 50 */ addi r3, r1, 0x50 +/* 802647B4 00261714 38 80 FF FF */ li r4, -1 +/* 802647B8 00261718 90 13 00 08 */ stw r0, 8(r19) +/* 802647BC 0026171C 48 0D C6 85 */ bl __dt__6CTokenFv +/* 802647C0 00261720 38 E0 00 00 */ li r7, 0 +/* 802647C4 00261724 38 C0 00 01 */ li r6, 1 +/* 802647C8 00261728 90 FE 03 58 */ stw r7, 0x358(r30) +/* 802647CC 0026172C 38 7E 03 80 */ addi r3, r30, 0x380 +/* 802647D0 00261730 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 802647D4 00261734 38 80 00 03 */ li r4, 3 +/* 802647D8 00261738 90 FE 03 5C */ stw r7, 0x35c(r30) +/* 802647DC 0026173C 90 FE 03 60 */ stw r7, 0x360(r30) +/* 802647E0 00261740 90 FE 03 64 */ stw r7, 0x364(r30) +/* 802647E4 00261744 90 FE 03 68 */ stw r7, 0x368(r30) +/* 802647E8 00261748 90 FE 03 6C */ stw r7, 0x36c(r30) +/* 802647EC 0026174C 90 FE 03 70 */ stw r7, 0x370(r30) +/* 802647F0 00261750 90 FE 03 74 */ stw r7, 0x374(r30) +/* 802647F4 00261754 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 802647F8 00261758 90 1E 03 78 */ stw r0, 0x378(r30) +/* 802647FC 0026175C 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264800 00261760 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 80264804 00261764 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264808 00261768 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 8026480C 0026176C 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 80264810 00261770 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264814 00261774 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264818 00261778 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 8026481C 0026177C 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264820 00261780 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264824 00261784 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80264828 00261788 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 8026482C 0026178C 88 1E 03 7C */ lbz r0, 0x37c(r30) +/* 80264830 00261790 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 80264834 00261794 98 1E 03 7C */ stb r0, 0x37c(r30) +/* 80264838 00261798 90 E1 00 C4 */ stw r7, 0xc4(r1) +/* 8026483C 0026179C 90 E1 00 C8 */ stw r7, 0xc8(r1) +/* 80264840 002617A0 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 80264844 002617A4 48 00 00 69 */ bl sub_802648ac +/* 80264848 002617A8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8026484C 002617AC 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 80264850 002617B0 54 00 18 38 */ slwi r0, r0, 3 +/* 80264854 002617B4 7C 03 02 14 */ add r0, r3, r0 +/* 80264858 002617B8 90 61 00 40 */ stw r3, 0x40(r1) +/* 8026485C 002617BC 7C 64 1B 78 */ mr r4, r3 +/* 80264860 002617C0 90 01 00 48 */ stw r0, 0x48(r1) +/* 80264864 002617C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80264868 002617C8 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8026486C 002617CC 48 00 00 08 */ b lbl_80264874 +lbl_80264870: +/* 80264870 002617D0 38 84 00 08 */ addi r4, r4, 8 +lbl_80264874: +/* 80264874 002617D4 7C 04 00 40 */ cmplw r4, r0 +/* 80264878 002617D8 40 82 FF F8 */ bne lbl_80264870 +/* 8026487C 002617DC 28 03 00 00 */ cmplwi r3, 0 +/* 80264880 002617E0 41 82 00 08 */ beq lbl_80264888 +/* 80264884 002617E4 48 0B 10 AD */ bl Free__7CMemoryFPCv +lbl_80264888: +/* 80264888 002617E8 38 00 00 00 */ li r0, 0 +/* 8026488C 002617EC 7F C3 F3 78 */ mr r3, r30 +/* 80264890 002617F0 90 1E 03 B4 */ stw r0, 0x3b4(r30) +/* 80264894 002617F4 90 1E 03 B8 */ stw r0, 0x3b8(r30) +/* 80264898 002617F8 BA 61 00 FC */ lmw r19, 0xfc(r1) +/* 8026489C 002617FC 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802648A0 00261800 7C 08 03 A6 */ mtlr r0 +/* 802648A4 00261804 38 21 01 30 */ addi r1, r1, 0x130 +/* 802648A8 00261808 4E 80 00 20 */ blr + +.global sub_802648ac +sub_802648ac: +/* 802648AC 0026180C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802648B0 00261810 7C 08 02 A6 */ mflr r0 +/* 802648B4 00261814 90 01 00 14 */ stw r0, 0x14(r1) +/* 802648B8 00261818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802648BC 0026181C 7C 7F 1B 78 */ mr r31, r3 +/* 802648C0 00261820 90 83 00 00 */ stw r4, 0(r3) +/* 802648C4 00261824 38 7F 00 04 */ addi r3, r31, 4 +/* 802648C8 00261828 48 00 00 1D */ bl sub_802648e4 +/* 802648CC 0026182C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802648D0 00261830 7F E3 FB 78 */ mr r3, r31 +/* 802648D4 00261834 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802648D8 00261838 7C 08 03 A6 */ mtlr r0 +/* 802648DC 0026183C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802648E0 00261840 4E 80 00 20 */ blr + +.global sub_802648e4 +sub_802648e4: +/* 802648E4 00261844 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802648E8 00261848 7C 08 02 A6 */ mflr r0 +/* 802648EC 0026184C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802648F0 00261850 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802648F4 00261854 3B E0 00 00 */ li r31, 0 +/* 802648F8 00261858 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802648FC 0026185C 7C BE 2B 78 */ mr r30, r5 +/* 80264900 00261860 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80264904 00261864 7C 9D 23 78 */ mr r29, r4 +/* 80264908 00261868 93 81 00 10 */ stw r28, 0x10(r1) +/* 8026490C 0026186C 7C 7C 1B 78 */ mr r28, r3 +/* 80264910 00261870 48 00 00 B0 */ b lbl_802649C0 +lbl_80264914: +/* 80264914 00261874 28 1C 00 00 */ cmplwi r28, 0 +/* 80264918 00261878 41 82 00 A0 */ beq lbl_802649B8 +/* 8026491C 0026187C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264920 00261880 90 1C 00 04 */ stw r0, 4(r28) +/* 80264924 00261884 80 1E 00 08 */ lwz r0, 8(r30) +/* 80264928 00261888 90 1C 00 08 */ stw r0, 8(r28) +/* 8026492C 0026188C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264930 00261890 2C 00 00 00 */ cmpwi r0, 0 +/* 80264934 00261894 40 82 00 1C */ bne lbl_80264950 +/* 80264938 00261898 80 1E 00 08 */ lwz r0, 8(r30) +/* 8026493C 0026189C 2C 00 00 00 */ cmpwi r0, 0 +/* 80264940 002618A0 40 82 00 10 */ bne lbl_80264950 +/* 80264944 002618A4 38 00 00 00 */ li r0, 0 +/* 80264948 002618A8 90 1C 00 0C */ stw r0, 0xc(r28) +/* 8026494C 002618AC 48 00 00 6C */ b lbl_802649B8 +lbl_80264950: +/* 80264950 002618B0 80 1C 00 08 */ lwz r0, 8(r28) +/* 80264954 002618B4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80264958 002618B8 40 82 00 10 */ bne lbl_80264968 +/* 8026495C 002618BC 38 00 00 00 */ li r0, 0 +/* 80264960 002618C0 90 1C 00 0C */ stw r0, 0xc(r28) +/* 80264964 002618C4 48 00 00 18 */ b lbl_8026497C +lbl_80264968: +/* 80264968 002618C8 3C 80 80 3D */ lis r4, lbl_803D5278@ha +/* 8026496C 002618CC 38 A0 00 00 */ li r5, 0 +/* 80264970 002618D0 38 84 52 78 */ addi r4, r4, lbl_803D5278@l +/* 80264974 002618D4 48 0B 0E A5 */ bl __nwa__FUlPCcPCc +/* 80264978 002618D8 90 7C 00 0C */ stw r3, 0xc(r28) +lbl_8026497C: +/* 8026497C 002618DC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80264980 002618E0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80264984 002618E4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80264988 002618E8 7C 09 03 A6 */ mtctr r0 +/* 8026498C 002618EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80264990 002618F0 40 81 00 28 */ ble lbl_802649B8 +lbl_80264994: +/* 80264994 002618F4 28 03 00 00 */ cmplwi r3, 0 +/* 80264998 002618F8 41 82 00 14 */ beq lbl_802649AC +/* 8026499C 002618FC C0 04 00 00 */ lfs f0, 0(r4) +/* 802649A0 00261900 D0 03 00 00 */ stfs f0, 0(r3) +/* 802649A4 00261904 80 04 00 04 */ lwz r0, 4(r4) +/* 802649A8 00261908 90 03 00 04 */ stw r0, 4(r3) +lbl_802649AC: +/* 802649AC 0026190C 38 63 00 08 */ addi r3, r3, 8 +/* 802649B0 00261910 38 84 00 08 */ addi r4, r4, 8 +/* 802649B4 00261914 42 00 FF E0 */ bdnz lbl_80264994 +lbl_802649B8: +/* 802649B8 00261918 3B FF 00 01 */ addi r31, r31, 1 +/* 802649BC 0026191C 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_802649C0: +/* 802649C0 00261920 7C 1F E8 00 */ cmpw r31, r29 +/* 802649C4 00261924 41 80 FF 50 */ blt lbl_80264914 +/* 802649C8 00261928 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802649CC 0026192C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802649D0 00261930 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802649D4 00261934 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802649D8 00261938 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802649DC 0026193C 7C 08 03 A6 */ mtlr r0 +/* 802649E0 00261940 38 21 00 20 */ addi r1, r1, 0x20 +/* 802649E4 00261944 4E 80 00 20 */ blr + +.global sub_802649e8 +sub_802649e8: +/* 802649E8 00261948 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802649EC 0026194C 7C 08 02 A6 */ mflr r0 +/* 802649F0 00261950 90 01 00 44 */ stw r0, 0x44(r1) +/* 802649F4 00261954 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802649F8 00261958 7C 9F 23 78 */ mr r31, r4 +/* 802649FC 0026195C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80264A00 00261960 7C 7E 1B 78 */ mr r30, r3 +/* 80264A04 00261964 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80264A08 00261968 80 63 00 00 */ lwz r3, 0(r3) +/* 80264A0C 0026196C 80 A4 00 00 */ lwz r5, 0(r4) +/* 80264A10 00261970 7C 03 28 50 */ subf r0, r3, r5 +/* 80264A14 00261974 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80264A18 00261978 7C 80 01 94 */ addze r4, r0 +/* 80264A1C 0026197C 2C 04 00 01 */ cmpwi r4, 1 +/* 80264A20 00261980 40 81 01 34 */ ble lbl_80264B54 +/* 80264A24 00261984 2C 04 00 14 */ cmpwi r4, 0x14 +/* 80264A28 00261988 41 81 00 24 */ bgt lbl_80264A4C +/* 80264A2C 0026198C 80 BF 00 00 */ lwz r5, 0(r31) +/* 80264A30 00261990 38 61 00 24 */ addi r3, r1, 0x24 +/* 80264A34 00261994 80 1E 00 00 */ lwz r0, 0(r30) +/* 80264A38 00261998 38 81 00 20 */ addi r4, r1, 0x20 +/* 80264A3C 0026199C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80264A40 002619A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264A44 002619A4 48 00 04 B5 */ bl sub_80264ef8 +/* 80264A48 002619A8 48 00 01 0C */ b lbl_80264B54 +lbl_80264A4C: +/* 80264A4C 002619AC 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80264A50 002619B0 38 A5 FF F8 */ addi r5, r5, -8 +/* 80264A54 002619B4 7C 00 22 14 */ add r0, r0, r4 +/* 80264A58 002619B8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80264A5C 002619BC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80264A60 002619C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80264A64 002619C4 7F A3 02 14 */ add r29, r3, r0 +/* 80264A68 002619C8 7F A4 EB 78 */ mr r4, r29 +/* 80264A6C 002619CC 48 00 04 15 */ bl sub_80264e80 +/* 80264A70 002619D0 80 9E 00 00 */ lwz r4, 0(r30) +/* 80264A74 002619D4 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264A78 002619D8 38 84 00 08 */ addi r4, r4, 8 +/* 80264A7C 002619DC C0 3D 00 00 */ lfs f1, 0(r29) +/* 80264A80 002619E0 38 03 FF F8 */ addi r0, r3, -8 +/* 80264A84 002619E4 90 81 00 28 */ stw r4, 0x28(r1) +/* 80264A88 002619E8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80264A8C 002619EC 48 00 00 10 */ b lbl_80264A9C +lbl_80264A90: +/* 80264A90 002619F0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80264A94 002619F4 38 03 00 08 */ addi r0, r3, 8 +/* 80264A98 002619F8 90 01 00 28 */ stw r0, 0x28(r1) +lbl_80264A9C: +/* 80264A9C 002619FC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80264AA0 00261A00 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264AA4 00261A04 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264AA8 00261A08 41 80 FF E8 */ blt lbl_80264A90 +/* 80264AAC 00261A0C 48 00 00 10 */ b lbl_80264ABC +lbl_80264AB0: +/* 80264AB0 00261A10 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264AB4 00261A14 38 03 FF F8 */ addi r0, r3, -8 +/* 80264AB8 00261A18 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80264ABC: +/* 80264ABC 00261A1C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80264AC0 00261A20 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264AC4 00261A24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264AC8 00261A28 41 80 FF E8 */ blt lbl_80264AB0 +/* 80264ACC 00261A2C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80264AD0 00261A30 7C 00 18 40 */ cmplw r0, r3 +/* 80264AD4 00261A34 40 80 00 48 */ bge lbl_80264B1C +/* 80264AD8 00261A38 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80264ADC 00261A3C 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80264AE0 00261A40 C0 45 00 00 */ lfs f2, 0(r5) +/* 80264AE4 00261A44 38 65 00 08 */ addi r3, r5, 8 +/* 80264AE8 00261A48 80 E5 00 04 */ lwz r7, 4(r5) +/* 80264AEC 00261A4C 38 06 FF F8 */ addi r0, r6, -8 +/* 80264AF0 00261A50 C0 06 00 00 */ lfs f0, 0(r6) +/* 80264AF4 00261A54 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80264AF8 00261A58 D0 05 00 00 */ stfs f0, 0(r5) +/* 80264AFC 00261A5C 80 86 00 04 */ lwz r4, 4(r6) +/* 80264B00 00261A60 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80264B04 00261A64 90 85 00 04 */ stw r4, 4(r5) +/* 80264B08 00261A68 D0 46 00 00 */ stfs f2, 0(r6) +/* 80264B0C 00261A6C 90 E6 00 04 */ stw r7, 4(r6) +/* 80264B10 00261A70 90 61 00 28 */ stw r3, 0x28(r1) +/* 80264B14 00261A74 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80264B18 00261A78 4B FF FF 84 */ b lbl_80264A9C +lbl_80264B1C: +/* 80264B1C 00261A7C 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80264B20 00261A80 38 61 00 14 */ addi r3, r1, 0x14 +/* 80264B24 00261A84 80 1E 00 00 */ lwz r0, 0(r30) +/* 80264B28 00261A88 38 81 00 10 */ addi r4, r1, 0x10 +/* 80264B2C 00261A8C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80264B30 00261A90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264B34 00261A94 4B FF FE B5 */ bl sub_802649e8 +/* 80264B38 00261A98 80 BF 00 00 */ lwz r5, 0(r31) +/* 80264B3C 00261A9C 38 61 00 0C */ addi r3, r1, 0xc +/* 80264B40 00261AA0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80264B44 00261AA4 38 81 00 08 */ addi r4, r1, 8 +/* 80264B48 00261AA8 90 A1 00 08 */ stw r5, 8(r1) +/* 80264B4C 00261AAC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264B50 00261AB0 4B FF FE 99 */ bl sub_802649e8 +lbl_80264B54: +/* 80264B54 00261AB4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80264B58 00261AB8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80264B5C 00261ABC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80264B60 00261AC0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80264B64 00261AC4 7C 08 03 A6 */ mtlr r0 +/* 80264B68 00261AC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80264B6C 00261ACC 4E 80 00 20 */ blr + +.global sub_80264b70 +sub_80264b70: +/* 80264B70 00261AD0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264B74 00261AD4 7C 08 02 A6 */ mflr r0 +/* 80264B78 00261AD8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264B7C 00261ADC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264B80 00261AE0 7C 9C 23 78 */ mr r28, r4 +/* 80264B84 00261AE4 7C 7B 1B 78 */ mr r27, r3 +/* 80264B88 00261AE8 7C DD 33 78 */ mr r29, r6 +/* 80264B8C 00261AEC 38 61 00 0C */ addi r3, r1, 0xc +/* 80264B90 00261AF0 80 85 00 00 */ lwz r4, 0(r5) +/* 80264B94 00261AF4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264B98 00261AF8 90 81 00 08 */ stw r4, 8(r1) +/* 80264B9C 00261AFC 38 81 00 08 */ addi r4, r1, 8 +/* 80264BA0 00261B00 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264BA4 00261B04 48 00 02 81 */ bl sub_80264e24 +/* 80264BA8 00261B08 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264BAC 00261B0C 7C 7F 1B 78 */ mr r31, r3 +/* 80264BB0 00261B10 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264BB4 00261B14 48 00 00 58 */ b lbl_80264C0C +lbl_80264BB8: +/* 80264BB8 00261B18 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 80264BBC 00261B1C 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264BC0 00261B20 7C 83 FA 14 */ add r4, r3, r31 +/* 80264BC4 00261B24 38 61 00 10 */ addi r3, r1, 0x10 +/* 80264BC8 00261B28 7C 9E 0E 70 */ srawi r30, r4, 1 +/* 80264BCC 00261B2C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264BD0 00261B30 7F C4 F3 78 */ mr r4, r30 +/* 80264BD4 00261B34 48 00 02 11 */ bl sub_80264de4 +/* 80264BD8 00261B38 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80264BDC 00261B3C C0 1D 00 00 */ lfs f0, 0(r29) +/* 80264BE0 00261B40 C0 23 00 00 */ lfs f1, 0(r3) +/* 80264BE4 00261B44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264BE8 00261B48 40 80 00 20 */ bge lbl_80264C08 +/* 80264BEC 00261B4C 90 7C 00 00 */ stw r3, 0(r28) +/* 80264BF0 00261B50 7C 7E F8 50 */ subf r3, r30, r31 +/* 80264BF4 00261B54 3B E3 FF FF */ addi r31, r3, -1 +/* 80264BF8 00261B58 80 7C 00 00 */ lwz r3, 0(r28) +/* 80264BFC 00261B5C 38 03 00 08 */ addi r0, r3, 8 +/* 80264C00 00261B60 90 1C 00 00 */ stw r0, 0(r28) +/* 80264C04 00261B64 48 00 00 08 */ b lbl_80264C0C +lbl_80264C08: +/* 80264C08 00261B68 7F DF F3 78 */ mr r31, r30 +lbl_80264C0C: +/* 80264C0C 00261B6C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80264C10 00261B70 41 81 FF A8 */ bgt lbl_80264BB8 +/* 80264C14 00261B74 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C18 00261B78 90 1B 00 00 */ stw r0, 0(r27) +/* 80264C1C 00261B7C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80264C20 00261B80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264C24 00261B84 7C 08 03 A6 */ mtlr r0 +/* 80264C28 00261B88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264C2C 00261B8C 4E 80 00 20 */ blr + +.global sub_80264c30 +sub_80264c30: +/* 80264C30 00261B90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264C34 00261B94 7C 08 02 A6 */ mflr r0 +/* 80264C38 00261B98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264C3C 00261B9C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80264C40 00261BA0 7C 9C 23 78 */ mr r28, r4 +/* 80264C44 00261BA4 7C 7B 1B 78 */ mr r27, r3 +/* 80264C48 00261BA8 7C DD 33 78 */ mr r29, r6 +/* 80264C4C 00261BAC 38 61 00 0C */ addi r3, r1, 0xc +/* 80264C50 00261BB0 80 85 00 00 */ lwz r4, 0(r5) +/* 80264C54 00261BB4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C58 00261BB8 90 81 00 08 */ stw r4, 8(r1) +/* 80264C5C 00261BBC 38 81 00 08 */ addi r4, r1, 8 +/* 80264C60 00261BC0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80264C64 00261BC4 48 00 01 C1 */ bl sub_80264e24 +/* 80264C68 00261BC8 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C6C 00261BCC 7C 7F 1B 78 */ mr r31, r3 +/* 80264C70 00261BD0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264C74 00261BD4 48 00 00 58 */ b lbl_80264CCC +lbl_80264C78: +/* 80264C78 00261BD8 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 80264C7C 00261BDC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264C80 00261BE0 7C 83 FA 14 */ add r4, r3, r31 +/* 80264C84 00261BE4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80264C88 00261BE8 7C 9E 0E 70 */ srawi r30, r4, 1 +/* 80264C8C 00261BEC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80264C90 00261BF0 7F C4 F3 78 */ mr r4, r30 +/* 80264C94 00261BF4 48 00 01 51 */ bl sub_80264de4 +/* 80264C98 00261BF8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80264C9C 00261BFC C0 3D 00 00 */ lfs f1, 0(r29) +/* 80264CA0 00261C00 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264CA4 00261C04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264CA8 00261C08 40 80 00 0C */ bge lbl_80264CB4 +/* 80264CAC 00261C0C 7F DF F3 78 */ mr r31, r30 +/* 80264CB0 00261C10 48 00 00 1C */ b lbl_80264CCC +lbl_80264CB4: +/* 80264CB4 00261C14 90 7C 00 00 */ stw r3, 0(r28) +/* 80264CB8 00261C18 7C 7E F8 50 */ subf r3, r30, r31 +/* 80264CBC 00261C1C 3B E3 FF FF */ addi r31, r3, -1 +/* 80264CC0 00261C20 80 7C 00 00 */ lwz r3, 0(r28) +/* 80264CC4 00261C24 38 03 00 08 */ addi r0, r3, 8 +/* 80264CC8 00261C28 90 1C 00 00 */ stw r0, 0(r28) +lbl_80264CCC: +/* 80264CCC 00261C2C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80264CD0 00261C30 41 81 FF A8 */ bgt lbl_80264C78 +/* 80264CD4 00261C34 80 1C 00 00 */ lwz r0, 0(r28) +/* 80264CD8 00261C38 90 1B 00 00 */ stw r0, 0(r27) +/* 80264CDC 00261C3C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80264CE0 00261C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264CE4 00261C44 7C 08 03 A6 */ mtlr r0 +/* 80264CE8 00261C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264CEC 00261C4C 4E 80 00 20 */ blr + +.global sub_80264cf0 +sub_80264cf0: +/* 80264CF0 00261C50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80264CF4 00261C54 7C 08 02 A6 */ mflr r0 +/* 80264CF8 00261C58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80264CFC 00261C5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80264D00 00261C60 7C 9F 23 78 */ mr r31, r4 +/* 80264D04 00261C64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80264D08 00261C68 7C 7E 1B 78 */ mr r30, r3 +/* 80264D0C 00261C6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80264D10 00261C70 80 03 00 08 */ lwz r0, 8(r3) +/* 80264D14 00261C74 7C 1F 00 00 */ cmpw r31, r0 +/* 80264D18 00261C78 40 81 00 B0 */ ble lbl_80264DC8 +/* 80264D1C 00261C7C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80264D20 00261C80 40 82 00 0C */ bne lbl_80264D2C +/* 80264D24 00261C84 3B A0 00 00 */ li r29, 0 +/* 80264D28 00261C88 48 00 00 18 */ b lbl_80264D40 +lbl_80264D2C: +/* 80264D2C 00261C8C 3C 80 80 3D */ lis r4, lbl_803D5278@ha +/* 80264D30 00261C90 38 A0 00 00 */ li r5, 0 +/* 80264D34 00261C94 38 84 52 78 */ addi r4, r4, lbl_803D5278@l +/* 80264D38 00261C98 48 0B 0A E1 */ bl __nwa__FUlPCcPCc +/* 80264D3C 00261C9C 7C 7D 1B 78 */ mr r29, r3 +lbl_80264D40: +/* 80264D40 00261CA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264D44 00261CA4 7F A4 EB 78 */ mr r4, r29 +/* 80264D48 00261CA8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80264D4C 00261CAC 54 00 18 38 */ slwi r0, r0, 3 +/* 80264D50 00261CB0 7C 65 02 14 */ add r3, r5, r0 +/* 80264D54 00261CB4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80264D58 00261CB8 90 61 00 08 */ stw r3, 8(r1) +/* 80264D5C 00261CBC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80264D60 00261CC0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80264D64 00261CC4 48 00 00 24 */ b lbl_80264D88 +lbl_80264D68: +/* 80264D68 00261CC8 28 04 00 00 */ cmplwi r4, 0 +/* 80264D6C 00261CCC 41 82 00 14 */ beq lbl_80264D80 +/* 80264D70 00261CD0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80264D74 00261CD4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80264D78 00261CD8 80 05 00 04 */ lwz r0, 4(r5) +/* 80264D7C 00261CDC 90 04 00 04 */ stw r0, 4(r4) +lbl_80264D80: +/* 80264D80 00261CE0 38 84 00 08 */ addi r4, r4, 8 +/* 80264D84 00261CE4 38 A5 00 08 */ addi r5, r5, 8 +lbl_80264D88: +/* 80264D88 00261CE8 7C 05 18 40 */ cmplw r5, r3 +/* 80264D8C 00261CEC 40 82 FF DC */ bne lbl_80264D68 +/* 80264D90 00261CF0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80264D94 00261CF4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80264D98 00261CF8 54 00 18 38 */ slwi r0, r0, 3 +/* 80264D9C 00261CFC 7C 64 1B 78 */ mr r4, r3 +/* 80264DA0 00261D00 7C 03 02 14 */ add r0, r3, r0 +/* 80264DA4 00261D04 48 00 00 08 */ b lbl_80264DAC +lbl_80264DA8: +/* 80264DA8 00261D08 38 84 00 08 */ addi r4, r4, 8 +lbl_80264DAC: +/* 80264DAC 00261D0C 7C 04 00 40 */ cmplw r4, r0 +/* 80264DB0 00261D10 40 82 FF F8 */ bne lbl_80264DA8 +/* 80264DB4 00261D14 28 03 00 00 */ cmplwi r3, 0 +/* 80264DB8 00261D18 41 82 00 08 */ beq lbl_80264DC0 +/* 80264DBC 00261D1C 48 0B 0B 75 */ bl Free__7CMemoryFPCv +lbl_80264DC0: +/* 80264DC0 00261D20 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80264DC4 00261D24 93 FE 00 08 */ stw r31, 8(r30) +lbl_80264DC8: +/* 80264DC8 00261D28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80264DCC 00261D2C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80264DD0 00261D30 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80264DD4 00261D34 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80264DD8 00261D38 7C 08 03 A6 */ mtlr r0 +/* 80264DDC 00261D3C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80264DE0 00261D40 4E 80 00 20 */ blr + +.global sub_80264de4 +sub_80264de4: +/* 80264DE4 00261D44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80264DE8 00261D48 7C 08 02 A6 */ mflr r0 +/* 80264DEC 00261D4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264DF0 00261D50 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264DF4 00261D54 88 01 00 08 */ lbz r0, 8(r1) +/* 80264DF8 00261D58 98 01 00 0C */ stb r0, 0xc(r1) +/* 80264DFC 00261D5C 48 00 00 15 */ bl sub_80264e10 +/* 80264E00 00261D60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80264E04 00261D64 7C 08 03 A6 */ mtlr r0 +/* 80264E08 00261D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80264E0C 00261D6C 4E 80 00 20 */ blr + +.global sub_80264e10 +sub_80264e10: +/* 80264E10 00261D70 80 A3 00 00 */ lwz r5, 0(r3) +/* 80264E14 00261D74 54 80 18 38 */ slwi r0, r4, 3 +/* 80264E18 00261D78 7C 05 02 14 */ add r0, r5, r0 +/* 80264E1C 00261D7C 90 03 00 00 */ stw r0, 0(r3) +/* 80264E20 00261D80 4E 80 00 20 */ blr + +.global sub_80264e24 +sub_80264e24: +/* 80264E24 00261D84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80264E28 00261D88 7C 08 02 A6 */ mflr r0 +/* 80264E2C 00261D8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264E30 00261D90 38 A1 00 0C */ addi r5, r1, 0xc +/* 80264E34 00261D94 88 E1 00 08 */ lbz r7, 8(r1) +/* 80264E38 00261D98 80 C4 00 00 */ lwz r6, 0(r4) +/* 80264E3C 00261D9C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80264E40 00261DA0 80 03 00 00 */ lwz r0, 0(r3) +/* 80264E44 00261DA4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80264E48 00261DA8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80264E4C 00261DAC 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80264E50 00261DB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80264E54 00261DB4 48 00 00 15 */ bl sub_80264e68 +/* 80264E58 00261DB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80264E5C 00261DBC 7C 08 03 A6 */ mtlr r0 +/* 80264E60 00261DC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80264E64 00261DC4 4E 80 00 20 */ blr + +.global sub_80264e68 +sub_80264e68: +/* 80264E68 00261DC8 80 63 00 00 */ lwz r3, 0(r3) +/* 80264E6C 00261DCC 80 04 00 00 */ lwz r0, 0(r4) +/* 80264E70 00261DD0 7C 03 00 50 */ subf r0, r3, r0 +/* 80264E74 00261DD4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80264E78 00261DD8 7C 60 01 94 */ addze r3, r0 +/* 80264E7C 00261DDC 4E 80 00 20 */ blr + +.global sub_80264e80 +sub_80264e80: +/* 80264E80 00261DE0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80264E84 00261DE4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80264E88 00261DE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264E8C 00261DEC 40 80 00 1C */ bge lbl_80264EA8 +/* 80264E90 00261DF0 80 C3 00 04 */ lwz r6, 4(r3) +/* 80264E94 00261DF4 D0 23 00 00 */ stfs f1, 0(r3) +/* 80264E98 00261DF8 80 04 00 04 */ lwz r0, 4(r4) +/* 80264E9C 00261DFC 90 03 00 04 */ stw r0, 4(r3) +/* 80264EA0 00261E00 D0 04 00 00 */ stfs f0, 0(r4) +/* 80264EA4 00261E04 90 C4 00 04 */ stw r6, 4(r4) +lbl_80264EA8: +/* 80264EA8 00261E08 C0 05 00 00 */ lfs f0, 0(r5) +/* 80264EAC 00261E0C C0 24 00 00 */ lfs f1, 0(r4) +/* 80264EB0 00261E10 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264EB4 00261E14 4C 80 00 20 */ bgelr +/* 80264EB8 00261E18 80 C5 00 04 */ lwz r6, 4(r5) +/* 80264EBC 00261E1C D0 25 00 00 */ stfs f1, 0(r5) +/* 80264EC0 00261E20 80 04 00 04 */ lwz r0, 4(r4) +/* 80264EC4 00261E24 90 05 00 04 */ stw r0, 4(r5) +/* 80264EC8 00261E28 C0 23 00 00 */ lfs f1, 0(r3) +/* 80264ECC 00261E2C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80264ED0 00261E30 40 80 00 1C */ bge lbl_80264EEC +/* 80264ED4 00261E34 D0 24 00 00 */ stfs f1, 0(r4) +/* 80264ED8 00261E38 80 03 00 04 */ lwz r0, 4(r3) +/* 80264EDC 00261E3C 90 04 00 04 */ stw r0, 4(r4) +/* 80264EE0 00261E40 D0 03 00 00 */ stfs f0, 0(r3) +/* 80264EE4 00261E44 90 C3 00 04 */ stw r6, 4(r3) +/* 80264EE8 00261E48 4E 80 00 20 */ blr +lbl_80264EEC: +/* 80264EEC 00261E4C D0 04 00 00 */ stfs f0, 0(r4) +/* 80264EF0 00261E50 90 C4 00 04 */ stw r6, 4(r4) +/* 80264EF4 00261E54 4E 80 00 20 */ blr + +.global sub_80264ef8 +sub_80264ef8: +/* 80264EF8 00261E58 80 A3 00 00 */ lwz r5, 0(r3) +/* 80264EFC 00261E5C 38 A5 00 08 */ addi r5, r5, 8 +/* 80264F00 00261E60 48 00 00 54 */ b lbl_80264F54 +lbl_80264F04: +/* 80264F04 00261E64 C0 25 00 00 */ lfs f1, 0(r5) +/* 80264F08 00261E68 7C A8 2B 78 */ mr r8, r5 +/* 80264F0C 00261E6C 80 C5 00 04 */ lwz r6, 4(r5) +/* 80264F10 00261E70 38 E5 FF F8 */ addi r7, r5, -8 +/* 80264F14 00261E74 48 00 00 1C */ b lbl_80264F30 +lbl_80264F18: +/* 80264F18 00261E78 C0 07 00 00 */ lfs f0, 0(r7) +/* 80264F1C 00261E7C D0 08 00 00 */ stfs f0, 0(r8) +/* 80264F20 00261E80 80 07 00 04 */ lwz r0, 4(r7) +/* 80264F24 00261E84 38 E7 FF F8 */ addi r7, r7, -8 +/* 80264F28 00261E88 90 08 00 04 */ stw r0, 4(r8) +/* 80264F2C 00261E8C 39 08 FF F8 */ addi r8, r8, -8 +lbl_80264F30: +/* 80264F30 00261E90 80 03 00 00 */ lwz r0, 0(r3) +/* 80264F34 00261E94 7C 00 40 40 */ cmplw r0, r8 +/* 80264F38 00261E98 40 80 00 10 */ bge lbl_80264F48 +/* 80264F3C 00261E9C C0 07 00 00 */ lfs f0, 0(r7) +/* 80264F40 00261EA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80264F44 00261EA4 41 80 FF D4 */ blt lbl_80264F18 +lbl_80264F48: +/* 80264F48 00261EA8 D0 28 00 00 */ stfs f1, 0(r8) +/* 80264F4C 00261EAC 38 A5 00 08 */ addi r5, r5, 8 +/* 80264F50 00261EB0 90 C8 00 04 */ stw r6, 4(r8) +lbl_80264F54: +/* 80264F54 00261EB4 80 04 00 00 */ lwz r0, 0(r4) +/* 80264F58 00261EB8 7C 05 00 40 */ cmplw r5, r0 +/* 80264F5C 00261EBC 41 80 FF A8 */ blt lbl_80264F04 + +.global sub_80264f60 +sub_80264f60: +/* 80264F60 00261EC0 4E 80 00 20 */ blr + +.global __sinit_CNewFlameThrower_cpp +__sinit_CNewFlameThrower_cpp: +/* 80264F64 00261EC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80264F68 00261EC8 7C 08 02 A6 */ mflr r0 +/* 80264F6C 00261ECC 38 60 00 00 */ li r3, 0 +/* 80264F70 00261ED0 38 80 00 01 */ li r4, 1 +/* 80264F74 00261ED4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80264F78 00261ED8 80 AD 98 08 */ lwz r5, lbl_805A83C8@sda21(r13) +/* 80264F7C 00261EDC 48 12 4F 79 */ bl __shl2i +/* 80264F80 00261EE0 3C A0 80 47 */ lis r5, lbl_8046DCA8@ha +/* 80264F84 00261EE4 38 E0 00 02 */ li r7, 2 +/* 80264F88 00261EE8 38 A5 DC A8 */ addi r5, r5, lbl_8046DCA8@l +/* 80264F8C 00261EEC 38 C0 FF FF */ li r6, -1 +/* 80264F90 00261EF0 38 00 00 00 */ li r0, 0 +/* 80264F94 00261EF4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80264F98 00261EF8 90 C5 00 04 */ stw r6, 4(r5) +/* 80264F9C 00261EFC 90 05 00 00 */ stw r0, 0(r5) +/* 80264FA0 00261F00 90 85 00 0C */ stw r4, 0xc(r5) +/* 80264FA4 00261F04 90 65 00 08 */ stw r3, 8(r5) +/* 80264FA8 00261F08 90 E5 00 10 */ stw r7, 0x10(r5) +/* 80264FAC 00261F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80264FB0 00261F10 7C 08 03 A6 */ mtlr r0 +/* 80264FB4 00261F14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80264FB8 00261F18 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/WeaponTypes.s b/asm/Kyoto_CWD/Weapons/WeaponTypes.s new file mode 100644 index 00000000..b471cba5 --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/WeaponTypes.s @@ -0,0 +1,773 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global get_current_suit__12NWeaponTypesFRC13CStateManager +get_current_suit__12NWeaponTypesFRC13CStateManager: +/* 8028A9CC 0028792C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028A9D0 00287930 7C 08 02 A6 */ mflr r0 +/* 8028A9D4 00287934 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028A9D8 00287938 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028A9DC 0028793C 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 8028A9E0 00287940 83 E3 00 00 */ lwz r31, 0(r3) +/* 8028A9E4 00287944 7F E3 FB 78 */ mr r3, r31 +/* 8028A9E8 00287948 4B E0 6A F5 */ bl GetCurrentSuit__12CPlayerStateFv +/* 8028A9EC 0028794C 2C 03 00 00 */ cmpwi r3, 0 +/* 8028A9F0 00287950 41 80 00 0C */ blt lbl_8028A9FC +/* 8028A9F4 00287954 2C 03 00 05 */ cmpwi r3, 5 +/* 8028A9F8 00287958 40 81 00 08 */ ble lbl_8028AA00 +lbl_8028A9FC: +/* 8028A9FC 0028795C 38 60 00 00 */ li r3, 0 +lbl_8028AA00: +/* 8028AA00 00287960 2C 03 00 04 */ cmpwi r3, 4 +/* 8028AA04 00287964 40 82 00 0C */ bne lbl_8028AA10 +/* 8028AA08 00287968 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 8028AA0C 0028796C 7C 63 02 14 */ add r3, r3, r0 +lbl_8028AA10: +/* 8028AA10 00287970 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028AA14 00287974 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028AA18 00287978 7C 08 03 A6 */ mtlr r0 +/* 8028AA1C 0028797C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028AA20 00287980 4E 80 00 20 */ blr + +.global GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager +GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager: +/* 8028AA24 00287984 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8028AA28 00287988 7C 08 02 A6 */ mflr r0 +/* 8028AA2C 0028798C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8028AA30 00287990 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8028AA34 00287994 7C 7F 1B 78 */ mr r31, r3 +/* 8028AA38 00287998 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) +/* 8028AA3C 0028799C 80 A4 00 00 */ lwz r5, 0(r4) +/* 8028AA40 002879A0 88 06 02 28 */ lbz r0, 0x228(r6) +/* 8028AA44 002879A4 88 64 00 04 */ lbz r3, 4(r4) +/* 8028AA48 002879A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8028AA4C 002879AC C0 64 00 08 */ lfs f3, 8(r4) +/* 8028AA50 002879B0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 8028AA54 002879B4 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 8028AA58 002879B8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8028AA5C 002879BC 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8028AA60 002879C0 90 A1 00 08 */ stw r5, 8(r1) +/* 8028AA64 002879C4 98 61 00 0C */ stb r3, 0xc(r1) +/* 8028AA68 002879C8 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8028AA6C 002879CC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8028AA70 002879D0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8028AA74 002879D4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8028AA78 002879D8 98 01 00 20 */ stb r0, 0x20(r1) +/* 8028AA7C 002879DC 41 82 00 30 */ beq lbl_8028AAAC +/* 8028AA80 002879E0 7C C3 33 78 */ mr r3, r6 +/* 8028AA84 002879E4 4B F4 8E 29 */ bl GetHardModeWeaponMultiplier__10CGameStateCFv +/* 8028AA88 002879E8 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 8028AA8C 002879EC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8028AA90 002879F0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8028AA94 002879F4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8028AA98 002879F8 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 8028AA9C 002879FC EC 01 00 32 */ fmuls f0, f1, f0 +/* 8028AAA0 00287A00 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8028AAA4 00287A04 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8028AAA8 00287A08 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_8028AAAC: +/* 8028AAAC 00287A0C 80 61 00 08 */ lwz r3, 8(r1) +/* 8028AAB0 00287A10 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8028AAB4 00287A14 90 7F 00 00 */ stw r3, 0(r31) +/* 8028AAB8 00287A18 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8028AABC 00287A1C 98 1F 00 04 */ stb r0, 4(r31) +/* 8028AAC0 00287A20 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8028AAC4 00287A24 D0 3F 00 08 */ stfs f1, 8(r31) +/* 8028AAC8 00287A28 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8028AACC 00287A2C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8028AAD0 00287A30 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8028AAD4 00287A34 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 8028AAD8 00287A38 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8028AADC 00287A3C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8028AAE0 00287A40 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8028AAE4 00287A44 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8028AAE8 00287A48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8028AAEC 00287A4C 7C 08 03 A6 */ mtlr r0 +/* 8028AAF0 00287A50 38 21 00 30 */ addi r1, r1, 0x30 +/* 8028AAF4 00287A54 4E 80 00 20 */ blr + +.global play_sfx__12NWeaponTypesFUsbbs +play_sfx__12NWeaponTypesFUsbbs: +/* 8028AAF8 00287A58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8028AAFC 00287A5C 7C 08 02 A6 */ mflr r0 +/* 8028AB00 00287A60 7C C9 33 78 */ mr r9, r6 +/* 8028AB04 00287A64 7C E6 3B 78 */ mr r6, r7 +/* 8028AB08 00287A68 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028AB0C 00287A6C 38 E0 00 01 */ li r7, 1 +/* 8028AB10 00287A70 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) +/* 8028AB14 00287A74 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8028AB18 00287A78 7C BF 2B 78 */ mr r31, r5 +/* 8028AB1C 00287A7C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8028AB20 00287A80 38 A0 00 7F */ li r5, 0x7f +/* 8028AB24 00287A84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8028AB28 00287A88 7C 7E 1B 78 */ mr r30, r3 +/* 8028AB2C 00287A8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028AB30 00287A90 48 05 F2 45 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8028AB34 00287A94 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8028AB38 00287A98 38 61 00 0C */ addi r3, r1, 0xc +/* 8028AB3C 00287A9C 38 80 00 00 */ li r4, 0 +/* 8028AB40 00287AA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028AB44 00287AA4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8028AB48 00287AA8 48 05 F0 2D */ bl SfxSpan__11CSfxManagerF10CSfxHandleUc +/* 8028AB4C 00287AAC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8028AB50 00287AB0 41 82 00 18 */ beq lbl_8028AB68 +/* 8028AB54 00287AB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028AB58 00287AB8 38 61 00 08 */ addi r3, r1, 8 +/* 8028AB5C 00287ABC 38 80 00 00 */ li r4, 0 +/* 8028AB60 00287AC0 90 01 00 08 */ stw r0, 8(r1) +/* 8028AB64 00287AC4 48 05 E3 49 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_8028AB68: +/* 8028AB68 00287AC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028AB6C 00287ACC 90 1E 00 00 */ stw r0, 0(r30) +/* 8028AB70 00287AD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8028AB74 00287AD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8028AB78 00287AD8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8028AB7C 00287ADC 7C 08 03 A6 */ mtlr r0 +/* 8028AB80 00287AE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8028AB84 00287AE4 4E 80 00 20 */ blr + +.global "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +"do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId": +/* 8028AB88 00287AE8 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8028AB8C 00287AEC 7C 08 02 A6 */ mflr r0 +/* 8028AB90 00287AF0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8028AB94 00287AF4 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8028AB98 00287AF8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8028AB9C 00287AFC DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8028ABA0 00287B00 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8028ABA4 00287B04 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8028ABA8 00287B08 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8028ABAC 00287B0C BE 21 00 74 */ stmw r17, 0x74(r1) +/* 8028ABB0 00287B10 C0 8A 00 00 */ lfs f4, 0(r10) +/* 8028ABB4 00287B14 FF C0 18 90 */ fmr f30, f3 +/* 8028ABB8 00287B18 C0 0A 00 04 */ lfs f0, 4(r10) +/* 8028ABBC 00287B1C FF E0 08 90 */ fmr f31, f1 +/* 8028ABC0 00287B20 EC 64 01 32 */ fmuls f3, f4, f4 +/* 8028ABC4 00287B24 C0 8A 00 08 */ lfs f4, 8(r10) +/* 8028ABC8 00287B28 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8028ABCC 00287B2C EC 84 01 32 */ fmuls f4, f4, f4 +/* 8028ABD0 00287B30 82 E1 00 E8 */ lwz r23, 0xe8(r1) +/* 8028ABD4 00287B34 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 8028ABD8 00287B38 EC 23 08 2A */ fadds f1, f3, f1 +/* 8028ABDC 00287B3C 83 01 00 EC */ lwz r24, 0xec(r1) +/* 8028ABE0 00287B40 FF A0 10 90 */ fmr f29, f2 +/* 8028ABE4 00287B44 83 21 00 F0 */ lwz r25, 0xf0(r1) +/* 8028ABE8 00287B48 7C 71 1B 78 */ mr r17, r3 +/* 8028ABEC 00287B4C EC 24 08 2A */ fadds f1, f4, f1 +/* 8028ABF0 00287B50 7C 92 23 78 */ mr r18, r4 +/* 8028ABF4 00287B54 7C B3 2B 78 */ mr r19, r5 +/* 8028ABF8 00287B58 7C DA 33 78 */ mr r26, r6 +/* 8028ABFC 00287B5C 7C F4 3B 78 */ mr r20, r7 +/* 8028AC00 00287B60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8028AC04 00287B64 7D 15 43 78 */ mr r21, r8 +/* 8028AC08 00287B68 7D 36 4B 78 */ mr r22, r9 +/* 8028AC0C 00287B6C 40 80 02 84 */ bge lbl_8028AE90 +/* 8028AC10 00287B70 57 43 04 3E */ clrlwi r3, r26, 0x10 +/* 8028AC14 00287B74 48 05 DD 9D */ bl TranslateSFXID__11CSfxManagerFUs +/* 8028AC18 00287B78 56 80 07 39 */ rlwinm. r0, r20, 0, 0x1c, 0x1c +/* 8028AC1C 00287B7C 7C 7D 1B 78 */ mr r29, r3 +/* 8028AC20 00287B80 56 80 CF FE */ rlwinm r0, r20, 0x19, 0x1f, 0x1f +/* 8028AC24 00287B84 57 5C 0F FE */ srwi r28, r26, 0x1f +/* 8028AC28 00287B88 57 5B 17 FE */ rlwinm r27, r26, 2, 0x1f, 0x1f +/* 8028AC2C 00287B8C 38 A0 00 01 */ li r5, 1 +/* 8028AC30 00287B90 68 1A 00 01 */ xori r26, r0, 1 +/* 8028AC34 00287B94 41 82 00 08 */ beq lbl_8028AC3C +/* 8028AC38 00287B98 60 A5 00 08 */ ori r5, r5, 8 +lbl_8028AC3C: +/* 8028AC3C 00287B9C C0 62 BE 68 */ lfs f3, lbl_805ADB88@sda21(r2) +/* 8028AC40 00287BA0 38 80 00 00 */ li r4, 0 +/* 8028AC44 00287BA4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) +/* 8028AC48 00287BA8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8028AC4C 00287BAC D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8028AC50 00287BB0 3B E1 00 4C */ addi r31, r1, 0x4c +/* 8028AC54 00287BB4 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) +/* 8028AC58 00287BB8 57 BE 04 3E */ clrlwi r30, r29, 0x10 +/* 8028AC5C 00287BBC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8028AC60 00287BC0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8028AC64 00287BC4 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8028AC68 00287BC8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8028AC6C 00287BCC D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8028AC70 00287BD0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 8028AC74 00287BD4 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8028AC78 00287BD8 D3 C1 00 58 */ stfs f30, 0x58(r1) +/* 8028AC7C 00287BDC D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 8028AC80 00287BE0 90 A1 00 60 */ stw r5, 0x60(r1) +/* 8028AC84 00287BE4 B0 81 00 64 */ sth r4, 0x64(r1) +/* 8028AC88 00287BE8 9A C1 00 66 */ stb r22, 0x66(r1) +/* 8028AC8C 00287BEC 9A A1 00 67 */ stb r21, 0x67(r1) +/* 8028AC90 00287BF0 98 81 00 68 */ stb r4, 0x68(r1) +/* 8028AC94 00287BF4 98 01 00 69 */ stb r0, 0x69(r1) +/* 8028AC98 00287BF8 C0 77 00 00 */ lfs f3, 0(r23) +/* 8028AC9C 00287BFC D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8028ACA0 00287C00 C0 77 00 04 */ lfs f3, 4(r23) +/* 8028ACA4 00287C04 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8028ACA8 00287C08 C0 77 00 08 */ lfs f3, 8(r23) +/* 8028ACAC 00287C0C D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8028ACB0 00287C10 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8028ACB4 00287C14 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8028ACB8 00287C18 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8028ACBC 00287C1C B3 A1 00 64 */ sth r29, 0x64(r1) +/* 8028ACC0 00287C20 80 79 09 00 */ lwz r3, 0x900(r25) +/* 8028ACC4 00287C24 48 08 78 19 */ bl Float__9CRandom16Fv +/* 8028ACC8 00287C28 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8028ACCC 00287C2C 4C 40 13 82 */ cror 2, 0, 2 +/* 8028ACD0 00287C30 40 82 01 C0 */ bne lbl_8028AE90 +/* 8028ACD4 00287C34 28 1C 00 00 */ cmplwi r28, 0 +/* 8028ACD8 00287C38 41 82 01 40 */ beq lbl_8028AE18 +/* 8028ACDC 00287C3C 80 91 00 04 */ lwz r4, 4(r17) +/* 8028ACE0 00287C40 A0 11 00 00 */ lhz r0, 0(r17) +/* 8028ACE4 00287C44 28 04 00 00 */ cmplwi r4, 0 +/* 8028ACE8 00287C48 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8028ACEC 00287C4C 40 82 00 94 */ bne lbl_8028AD80 +/* 8028ACF0 00287C50 28 1B 00 00 */ cmplwi r27, 0 +/* 8028ACF4 00287C54 41 82 00 34 */ beq lbl_8028AD28 +/* 8028ACF8 00287C58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8028ACFC 00287C5C 7F A4 EB 78 */ mr r4, r29 +/* 8028AD00 00287C60 7F 0A C3 78 */ mr r10, r24 +/* 8028AD04 00287C64 38 61 00 2C */ addi r3, r1, 0x2c +/* 8028AD08 00287C68 38 A0 00 7F */ li r5, 0x7f +/* 8028AD0C 00287C6C 38 C0 00 40 */ li r6, 0x40 +/* 8028AD10 00287C70 38 E0 00 01 */ li r7, 1 +/* 8028AD14 00287C74 39 20 00 01 */ li r9, 1 +/* 8028AD18 00287C78 48 05 F0 5D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8028AD1C 00287C7C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8028AD20 00287C80 90 01 00 38 */ stw r0, 0x38(r1) +/* 8028AD24 00287C84 48 00 00 28 */ b lbl_8028AD4C +lbl_8028AD28: +/* 8028AD28 00287C88 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 8028AD2C 00287C8C 7F 08 C3 78 */ mr r8, r24 +/* 8028AD30 00287C90 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028AD34 00287C94 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028AD38 00287C98 57 45 06 3E */ clrlwi r5, r26, 0x18 +/* 8028AD3C 00287C9C 38 E0 00 01 */ li r7, 1 +/* 8028AD40 00287CA0 48 05 F2 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8028AD44 00287CA4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8028AD48 00287CA8 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8028AD4C: +/* 8028AD4C 00287CAC 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8028AD50 00287CB0 28 03 00 00 */ cmplwi r3, 0 +/* 8028AD54 00287CB4 41 82 01 3C */ beq lbl_8028AE90 +/* 8028AD58 00287CB8 B3 D1 00 00 */ sth r30, 0(r17) +/* 8028AD5C 00287CBC 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8028AD60 00287CC0 90 71 00 04 */ stw r3, 4(r17) +/* 8028AD64 00287CC4 41 82 01 2C */ beq lbl_8028AE90 +/* 8028AD68 00287CC8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8028AD6C 00287CCC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8028AD70 00287CD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8028AD74 00287CD4 80 92 00 00 */ lwz r4, 0(r18) +/* 8028AD78 00287CD8 48 05 E1 35 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +/* 8028AD7C 00287CDC 48 00 01 14 */ b lbl_8028AE90 +lbl_8028AD80: +/* 8028AD80 00287CE0 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 8028AD84 00287CE4 7F C0 F3 78 */ mr r0, r30 +/* 8028AD88 00287CE8 7C 03 00 40 */ cmplw r3, r0 +/* 8028AD8C 00287CEC 40 82 00 20 */ bne lbl_8028ADAC +/* 8028AD90 00287CF0 90 81 00 20 */ stw r4, 0x20(r1) +/* 8028AD94 00287CF4 7F E5 FB 78 */ mr r5, r31 +/* 8028AD98 00287CF8 7E C6 B3 78 */ mr r6, r22 +/* 8028AD9C 00287CFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8028ADA0 00287D00 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028ADA4 00287D04 48 05 F1 0D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 8028ADA8 00287D08 48 00 00 E8 */ b lbl_8028AE90 +lbl_8028ADAC: +/* 8028ADAC 00287D0C 56 80 07 7B */ rlwinm. r0, r20, 0, 0x1d, 0x1d +/* 8028ADB0 00287D10 41 82 00 E0 */ beq lbl_8028AE90 +/* 8028ADB4 00287D14 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8028ADB8 00287D18 38 61 00 1C */ addi r3, r1, 0x1c +/* 8028ADBC 00287D1C 48 05 F0 C9 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 8028ADC0 00287D20 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 8028ADC4 00287D24 7F 08 C3 78 */ mr r8, r24 +/* 8028ADC8 00287D28 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028ADCC 00287D2C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028ADD0 00287D30 57 45 06 3E */ clrlwi r5, r26, 0x18 +/* 8028ADD4 00287D34 38 E0 00 01 */ li r7, 1 +/* 8028ADD8 00287D38 48 05 F2 09 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8028ADDC 00287D3C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8028ADE0 00287D40 28 03 00 00 */ cmplwi r3, 0 +/* 8028ADE4 00287D44 90 61 00 34 */ stw r3, 0x34(r1) +/* 8028ADE8 00287D48 41 82 00 A8 */ beq lbl_8028AE90 +/* 8028ADEC 00287D4C B3 D1 00 00 */ sth r30, 0(r17) +/* 8028ADF0 00287D50 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8028ADF4 00287D54 90 71 00 04 */ stw r3, 4(r17) +/* 8028ADF8 00287D58 41 82 00 98 */ beq lbl_8028AE90 +/* 8028ADFC 00287D5C 28 03 00 00 */ cmplwi r3, 0 +/* 8028AE00 00287D60 41 82 00 90 */ beq lbl_8028AE90 +/* 8028AE04 00287D64 90 61 00 14 */ stw r3, 0x14(r1) +/* 8028AE08 00287D68 38 61 00 14 */ addi r3, r1, 0x14 +/* 8028AE0C 00287D6C 80 92 00 00 */ lwz r4, 0(r18) +/* 8028AE10 00287D70 48 05 E0 9D */ bl PitchBend__11CSfxManagerF10CSfxHandlei +/* 8028AE14 00287D74 48 00 00 7C */ b lbl_8028AE90 +lbl_8028AE18: +/* 8028AE18 00287D78 28 1B 00 00 */ cmplwi r27, 0 +/* 8028AE1C 00287D7C 41 82 00 34 */ beq lbl_8028AE50 +/* 8028AE20 00287D80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 8028AE24 00287D84 7F A4 EB 78 */ mr r4, r29 +/* 8028AE28 00287D88 7F 0A C3 78 */ mr r10, r24 +/* 8028AE2C 00287D8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028AE30 00287D90 57 47 06 3E */ clrlwi r7, r26, 0x18 +/* 8028AE34 00287D94 38 A0 00 7F */ li r5, 0x7f +/* 8028AE38 00287D98 38 C0 00 40 */ li r6, 0x40 +/* 8028AE3C 00287D9C 39 20 00 00 */ li r9, 0 +/* 8028AE40 00287DA0 48 05 EF 35 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8028AE44 00287DA4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8028AE48 00287DA8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028AE4C 00287DAC 48 00 00 28 */ b lbl_8028AE74 +lbl_8028AE50: +/* 8028AE50 00287DB0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 8028AE54 00287DB4 7F 08 C3 78 */ mr r8, r24 +/* 8028AE58 00287DB8 38 61 00 0C */ addi r3, r1, 0xc +/* 8028AE5C 00287DBC 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028AE60 00287DC0 57 45 06 3E */ clrlwi r5, r26, 0x18 +/* 8028AE64 00287DC4 38 E0 00 00 */ li r7, 0 +/* 8028AE68 00287DC8 48 05 F1 79 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi +/* 8028AE6C 00287DCC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8028AE70 00287DD0 90 01 00 30 */ stw r0, 0x30(r1) +lbl_8028AE74: +/* 8028AE74 00287DD4 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 8028AE78 00287DD8 41 82 00 18 */ beq lbl_8028AE90 +/* 8028AE7C 00287DDC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8028AE80 00287DE0 38 61 00 08 */ addi r3, r1, 8 +/* 8028AE84 00287DE4 90 01 00 08 */ stw r0, 8(r1) +/* 8028AE88 00287DE8 80 92 00 00 */ lwz r4, 0(r18) +/* 8028AE8C 00287DEC 48 05 E0 21 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +lbl_8028AE90: +/* 8028AE90 00287DF0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8028AE94 00287DF4 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8028AE98 00287DF8 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8028AE9C 00287DFC CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8028AEA0 00287E00 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8028AEA4 00287E04 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8028AEA8 00287E08 BA 21 00 74 */ lmw r17, 0x74(r1) +/* 8028AEAC 00287E0C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8028AEB0 00287E10 7C 08 03 A6 */ mtlr r0 +/* 8028AEB4 00287E14 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8028AEB8 00287E18 4E 80 00 20 */ blr + +.global "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +"primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": +/* 8028AEBC 00287E1C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8028AEC0 00287E20 7C 08 02 A6 */ mflr r0 +/* 8028AEC4 00287E24 90 01 00 84 */ stw r0, 0x84(r1) +/* 8028AEC8 00287E28 BF 01 00 60 */ stmw r24, 0x60(r1) +/* 8028AECC 00287E2C 7C 9B 23 78 */ mr r27, r4 +/* 8028AED0 00287E30 7C 7F 1B 78 */ mr r31, r3 +/* 8028AED4 00287E34 7C B8 2B 78 */ mr r24, r5 +/* 8028AED8 00287E38 7C D9 33 78 */ mr r25, r6 +/* 8028AEDC 00287E3C 3B 9B 00 08 */ addi r28, r27, 8 +/* 8028AEE0 00287E40 3B 40 00 00 */ li r26, 0 +/* 8028AEE4 00287E44 83 A4 00 08 */ lwz r29, 8(r4) +/* 8028AEE8 00287E48 48 00 00 2C */ b lbl_8028AF14 +lbl_8028AEEC: +/* 8028AEEC 00287E4C 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8028AEF0 00287E50 7F E3 FB 78 */ mr r3, r31 +/* 8028AEF4 00287E54 4B D9 E5 99 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi +/* 8028AEF8 00287E58 2C 03 FF FF */ cmpwi r3, -1 +/* 8028AEFC 00287E5C 41 82 00 08 */ beq lbl_8028AF04 +/* 8028AF00 00287E60 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8028AF04: +/* 8028AF04 00287E64 7F 83 E3 78 */ mr r3, r28 +/* 8028AF08 00287E68 7F A4 EB 78 */ mr r4, r29 +/* 8028AF0C 00287E6C 48 0B 16 D5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8028AF10 00287E70 7C 7D 1B 78 */ mr r29, r3 +lbl_8028AF14: +/* 8028AF14 00287E74 28 1D 00 00 */ cmplwi r29, 0 +/* 8028AF18 00287E78 38 00 00 00 */ li r0, 0 +/* 8028AF1C 00287E7C 40 82 00 0C */ bne lbl_8028AF28 +/* 8028AF20 00287E80 7C 1C E0 40 */ cmplw r28, r28 +/* 8028AF24 00287E84 41 82 00 08 */ beq lbl_8028AF2C +lbl_8028AF28: +/* 8028AF28 00287E88 38 00 00 01 */ li r0, 1 +lbl_8028AF2C: +/* 8028AF2C 00287E8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8028AF30 00287E90 40 82 FF BC */ bne lbl_8028AEEC +/* 8028AF34 00287E94 38 00 00 00 */ li r0, 0 +/* 8028AF38 00287E98 7F 03 C3 78 */ mr r3, r24 +/* 8028AF3C 00287E9C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8028AF40 00287EA0 38 81 00 48 */ addi r4, r1, 0x48 +/* 8028AF44 00287EA4 90 01 00 50 */ stw r0, 0x50(r1) +/* 8028AF48 00287EA8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8028AF4C 00287EAC 4B D7 B8 B9 */ bl sub_80006804 +/* 8028AF50 00287EB0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8028AF54 00287EB4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028AF58 00287EB8 54 00 18 38 */ slwi r0, r0, 3 +/* 8028AF5C 00287EBC 7F 9D 02 14 */ add r28, r29, r0 +/* 8028AF60 00287EC0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8028AF64 00287EC4 93 81 00 14 */ stw r28, 0x14(r1) +/* 8028AF68 00287EC8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8028AF6C 00287ECC 93 A1 00 08 */ stw r29, 8(r1) +/* 8028AF70 00287ED0 48 00 00 14 */ b lbl_8028AF84 +lbl_8028AF74: +/* 8028AF74 00287ED4 7F A3 EB 78 */ mr r3, r29 +/* 8028AF78 00287ED8 38 80 FF FF */ li r4, -1 +/* 8028AF7C 00287EDC 48 0B 5E C5 */ bl __dt__6CTokenFv +/* 8028AF80 00287EE0 3B BD 00 08 */ addi r29, r29, 8 +lbl_8028AF84: +/* 8028AF84 00287EE4 7C 1D E0 40 */ cmplw r29, r28 +/* 8028AF88 00287EE8 40 82 FF EC */ bne lbl_8028AF74 +/* 8028AF8C 00287EEC 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8028AF90 00287EF0 28 03 00 00 */ cmplwi r3, 0 +/* 8028AF94 00287EF4 41 82 00 08 */ beq lbl_8028AF9C +/* 8028AF98 00287EF8 48 08 A9 99 */ bl Free__7CMemoryFPCv +lbl_8028AF9C: +/* 8028AF9C 00287EFC 80 1B 00 04 */ lwz r0, 4(r27) +/* 8028AFA0 00287F00 7F 03 C3 78 */ mr r3, r24 +/* 8028AFA4 00287F04 7C 9A 02 14 */ add r4, r26, r0 +/* 8028AFA8 00287F08 4B D7 D9 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8028AFAC 00287F0C 3C 60 41 4E */ lis r3, 0x414E494D@ha +/* 8028AFB0 00287F10 87 5B 00 08 */ lwzu r26, 8(r27) +/* 8028AFB4 00287F14 57 3E 06 3E */ clrlwi r30, r25, 0x18 +/* 8028AFB8 00287F18 3B A3 49 4D */ addi r29, r3, 0x414E494D@l +/* 8028AFBC 00287F1C 48 00 01 84 */ b lbl_8028B140 +lbl_8028AFC0: +/* 8028AFC0 00287F20 83 9A 00 10 */ lwz r28, 0x10(r26) +/* 8028AFC4 00287F24 7F E3 FB 78 */ mr r3, r31 +/* 8028AFC8 00287F28 7F 84 E3 78 */ mr r4, r28 +/* 8028AFCC 00287F2C 4B D9 E4 C1 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi +/* 8028AFD0 00287F30 2C 03 FF FF */ cmpwi r3, -1 +/* 8028AFD4 00287F34 41 82 00 B4 */ beq lbl_8028B088 +/* 8028AFD8 00287F38 3C 80 45 56 */ lis r4, 0x45564E54@ha +/* 8028AFDC 00287F3C 90 61 00 34 */ stw r3, 0x34(r1) +/* 8028AFE0 00287F40 38 04 4E 54 */ addi r0, r4, 0x45564E54@l +/* 8028AFE4 00287F44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8028AFE8 00287F48 90 01 00 30 */ stw r0, 0x30(r1) +/* 8028AFEC 00287F4C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028AFF0 00287F50 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8028AFF4 00287F54 81 84 00 00 */ lwz r12, 0(r4) +/* 8028AFF8 00287F58 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8028AFFC 00287F5C 7D 89 03 A6 */ mtctr r12 +/* 8028B000 00287F60 4E 80 04 21 */ bctrl +/* 8028B004 00287F64 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028B008 00287F68 38 81 00 28 */ addi r4, r1, 0x28 +/* 8028B00C 00287F6C 48 0B 5E 9D */ bl __ct__6CTokenFRC6CToken +/* 8028B010 00287F70 38 61 00 28 */ addi r3, r1, 0x28 +/* 8028B014 00287F74 38 80 FF FF */ li r4, -1 +/* 8028B018 00287F78 48 0B 5E 29 */ bl __dt__6CTokenFv +/* 8028B01C 00287F7C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8028B020 00287F80 41 82 00 0C */ beq lbl_8028B02C +/* 8028B024 00287F84 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028B028 00287F88 48 0B 5D 5D */ bl Lock__6CTokenFv +lbl_8028B02C: +/* 8028B02C 00287F8C 80 18 00 04 */ lwz r0, 4(r24) +/* 8028B030 00287F90 80 B8 00 08 */ lwz r5, 8(r24) +/* 8028B034 00287F94 7C 00 28 00 */ cmpw r0, r5 +/* 8028B038 00287F98 41 80 00 1C */ blt lbl_8028B054 +/* 8028B03C 00287F9C 2C 05 00 00 */ cmpwi r5, 0 +/* 8028B040 00287FA0 7F 03 C3 78 */ mr r3, r24 +/* 8028B044 00287FA4 38 80 00 04 */ li r4, 4 +/* 8028B048 00287FA8 41 82 00 08 */ beq lbl_8028B050 +/* 8028B04C 00287FAC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028B050: +/* 8028B050 00287FB0 4B D7 D9 0D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8028B054: +/* 8028B054 00287FB4 80 18 00 04 */ lwz r0, 4(r24) +/* 8028B058 00287FB8 80 78 00 0C */ lwz r3, 0xc(r24) +/* 8028B05C 00287FBC 54 00 18 38 */ slwi r0, r0, 3 +/* 8028B060 00287FC0 7C 63 02 15 */ add. r3, r3, r0 +/* 8028B064 00287FC4 41 82 00 0C */ beq lbl_8028B070 +/* 8028B068 00287FC8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8028B06C 00287FCC 48 0B 5E 3D */ bl __ct__6CTokenFRC6CToken +lbl_8028B070: +/* 8028B070 00287FD0 80 B8 00 04 */ lwz r5, 4(r24) +/* 8028B074 00287FD4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8028B078 00287FD8 38 80 FF FF */ li r4, -1 +/* 8028B07C 00287FDC 38 05 00 01 */ addi r0, r5, 1 +/* 8028B080 00287FE0 90 18 00 04 */ stw r0, 4(r24) +/* 8028B084 00287FE4 48 0B 5D BD */ bl __dt__6CTokenFv +lbl_8028B088: +/* 8028B088 00287FE8 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8028B08C 00287FEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028B090 00287FF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8028B094 00287FF4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8028B098 00287FF8 93 81 00 24 */ stw r28, 0x24(r1) +/* 8028B09C 00287FFC 81 84 00 00 */ lwz r12, 0(r4) +/* 8028B0A0 00288000 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8028B0A4 00288004 7D 89 03 A6 */ mtctr r12 +/* 8028B0A8 00288008 4E 80 04 21 */ bctrl +/* 8028B0AC 0028800C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028B0B0 00288010 38 81 00 18 */ addi r4, r1, 0x18 +/* 8028B0B4 00288014 48 0B 5D F5 */ bl __ct__6CTokenFRC6CToken +/* 8028B0B8 00288018 38 61 00 18 */ addi r3, r1, 0x18 +/* 8028B0BC 0028801C 38 80 FF FF */ li r4, -1 +/* 8028B0C0 00288020 48 0B 5D 81 */ bl __dt__6CTokenFv +/* 8028B0C4 00288024 28 1E 00 00 */ cmplwi r30, 0 +/* 8028B0C8 00288028 41 82 00 0C */ beq lbl_8028B0D4 +/* 8028B0CC 0028802C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028B0D0 00288030 48 0B 5C B5 */ bl Lock__6CTokenFv +lbl_8028B0D4: +/* 8028B0D4 00288034 80 18 00 04 */ lwz r0, 4(r24) +/* 8028B0D8 00288038 80 B8 00 08 */ lwz r5, 8(r24) +/* 8028B0DC 0028803C 7C 00 28 00 */ cmpw r0, r5 +/* 8028B0E0 00288040 41 80 00 1C */ blt lbl_8028B0FC +/* 8028B0E4 00288044 2C 05 00 00 */ cmpwi r5, 0 +/* 8028B0E8 00288048 7F 03 C3 78 */ mr r3, r24 +/* 8028B0EC 0028804C 38 80 00 04 */ li r4, 4 +/* 8028B0F0 00288050 41 82 00 08 */ beq lbl_8028B0F8 +/* 8028B0F4 00288054 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8028B0F8: +/* 8028B0F8 00288058 4B D7 D8 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8028B0FC: +/* 8028B0FC 0028805C 80 18 00 04 */ lwz r0, 4(r24) +/* 8028B100 00288060 80 78 00 0C */ lwz r3, 0xc(r24) +/* 8028B104 00288064 54 00 18 38 */ slwi r0, r0, 3 +/* 8028B108 00288068 7C 63 02 15 */ add. r3, r3, r0 +/* 8028B10C 0028806C 41 82 00 0C */ beq lbl_8028B118 +/* 8028B110 00288070 38 81 00 38 */ addi r4, r1, 0x38 +/* 8028B114 00288074 48 0B 5D 95 */ bl __ct__6CTokenFRC6CToken +lbl_8028B118: +/* 8028B118 00288078 80 B8 00 04 */ lwz r5, 4(r24) +/* 8028B11C 0028807C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8028B120 00288080 38 80 FF FF */ li r4, -1 +/* 8028B124 00288084 38 05 00 01 */ addi r0, r5, 1 +/* 8028B128 00288088 90 18 00 04 */ stw r0, 4(r24) +/* 8028B12C 0028808C 48 0B 5D 15 */ bl __dt__6CTokenFv +/* 8028B130 00288090 7F 63 DB 78 */ mr r3, r27 +/* 8028B134 00288094 7F 44 D3 78 */ mr r4, r26 +/* 8028B138 00288098 48 0B 14 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8028B13C 0028809C 7C 7A 1B 78 */ mr r26, r3 +lbl_8028B140: +/* 8028B140 002880A0 28 1A 00 00 */ cmplwi r26, 0 +/* 8028B144 002880A4 38 00 00 00 */ li r0, 0 +/* 8028B148 002880A8 40 82 00 0C */ bne lbl_8028B154 +/* 8028B14C 002880AC 7C 1B D8 40 */ cmplw r27, r27 +/* 8028B150 002880B0 41 82 00 08 */ beq lbl_8028B158 +lbl_8028B154: +/* 8028B154 002880B4 38 00 00 01 */ li r0, 1 +lbl_8028B158: +/* 8028B158 002880B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8028B15C 002880BC 40 82 FE 64 */ bne lbl_8028AFC0 +/* 8028B160 002880C0 BB 01 00 60 */ lmw r24, 0x60(r1) +/* 8028B164 002880C4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8028B168 002880C8 7C 08 03 A6 */ mtlr r0 +/* 8028B16C 002880CC 38 21 00 80 */ addi r1, r1, 0x80 +/* 8028B170 002880D0 4E 80 00 20 */ blr + +.global "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 8028B174 002880D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B178 002880D8 7C 08 02 A6 */ mflr r0 +/* 8028B17C 002880DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B180 002880E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028B184 002880E4 93 C1 00 08 */ stw r30, 8(r1) +/* 8028B188 002880E8 7C 7E 1B 78 */ mr r30, r3 +/* 8028B18C 002880EC 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8028B190 002880F0 48 00 00 10 */ b lbl_8028B1A0 +lbl_8028B194: +/* 8028B194 002880F4 7F E3 FB 78 */ mr r3, r31 +/* 8028B198 002880F8 48 0B 5B A9 */ bl Unlock__6CTokenFv +/* 8028B19C 002880FC 3B FF 00 08 */ addi r31, r31, 8 +lbl_8028B1A0: +/* 8028B1A0 00288100 80 1E 00 04 */ lwz r0, 4(r30) +/* 8028B1A4 00288104 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8028B1A8 00288108 54 00 18 38 */ slwi r0, r0, 3 +/* 8028B1AC 0028810C 7C 03 02 14 */ add r0, r3, r0 +/* 8028B1B0 00288110 7C 1F 00 40 */ cmplw r31, r0 +/* 8028B1B4 00288114 40 82 FF E0 */ bne lbl_8028B194 +/* 8028B1B8 00288118 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B1BC 0028811C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028B1C0 00288120 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028B1C4 00288124 7C 08 03 A6 */ mtlr r0 +/* 8028B1C8 00288128 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B1CC 0028812C 4E 80 00 20 */ blr + +.global "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 8028B1D0 00288130 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B1D4 00288134 7C 08 02 A6 */ mflr r0 +/* 8028B1D8 00288138 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B1DC 0028813C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8028B1E0 00288140 93 C1 00 08 */ stw r30, 8(r1) +/* 8028B1E4 00288144 7C 7E 1B 78 */ mr r30, r3 +/* 8028B1E8 00288148 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8028B1EC 0028814C 48 00 00 10 */ b lbl_8028B1FC +lbl_8028B1F0: +/* 8028B1F0 00288150 7F E3 FB 78 */ mr r3, r31 +/* 8028B1F4 00288154 48 0B 5B 91 */ bl Lock__6CTokenFv +/* 8028B1F8 00288158 3B FF 00 08 */ addi r31, r31, 8 +lbl_8028B1FC: +/* 8028B1FC 0028815C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8028B200 00288160 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8028B204 00288164 54 00 18 38 */ slwi r0, r0, 3 +/* 8028B208 00288168 7C 03 02 14 */ add r0, r3, r0 +/* 8028B20C 0028816C 7C 1F 00 40 */ cmplw r31, r0 +/* 8028B210 00288170 40 82 FF E0 */ bne lbl_8028B1F0 +/* 8028B214 00288174 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B218 00288178 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8028B21C 0028817C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8028B220 00288180 7C 08 03 A6 */ mtlr r0 +/* 8028B224 00288184 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B228 00288188 4E 80 00 20 */ blr + +.global "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 8028B22C 0028818C 80 03 00 04 */ lwz r0, 4(r3) +/* 8028B230 00288190 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8028B234 00288194 54 00 18 38 */ slwi r0, r0, 3 +/* 8028B238 00288198 7C 85 02 14 */ add r4, r5, r0 +/* 8028B23C 0028819C 48 00 00 20 */ b lbl_8028B25C +lbl_8028B240: +/* 8028B240 002881A0 80 65 00 00 */ lwz r3, 0(r5) +/* 8028B244 002881A4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8028B248 002881A8 28 00 00 00 */ cmplwi r0, 0 +/* 8028B24C 002881AC 40 82 00 0C */ bne lbl_8028B258 +/* 8028B250 002881B0 38 60 00 00 */ li r3, 0 +/* 8028B254 002881B4 4E 80 00 20 */ blr +lbl_8028B258: +/* 8028B258 002881B8 38 A5 00 08 */ addi r5, r5, 8 +lbl_8028B25C: +/* 8028B25C 002881BC 7C 05 20 40 */ cmplw r5, r4 +/* 8028B260 002881C0 40 82 FF E0 */ bne lbl_8028B240 +/* 8028B264 002881C4 38 60 00 01 */ li r3, 1 +/* 8028B268 002881C8 4E 80 00 20 */ blr + +.global "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +"get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": +/* 8028B26C 002881CC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8028B270 002881D0 7C 08 02 A6 */ mflr r0 +/* 8028B274 002881D4 90 01 00 84 */ stw r0, 0x84(r1) +/* 8028B278 002881D8 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8028B27C 002881DC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8028B280 002881E0 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 8028B284 002881E4 89 01 00 08 */ lbz r8, 8(r1) +/* 8028B288 002881E8 3B A0 00 00 */ li r29, 0 +/* 8028B28C 002881EC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8028B290 002881F0 7C 78 1B 78 */ mr r24, r3 +/* 8028B294 002881F4 99 01 00 10 */ stb r8, 0x10(r1) +/* 8028B298 002881F8 7C B9 2B 78 */ mr r25, r5 +/* 8028B29C 002881FC C3 E2 BE 6C */ lfs f31, lbl_805ADB8C@sda21(r2) +/* 8028B2A0 00288200 7C DA 33 78 */ mr r26, r6 +/* 8028B2A4 00288204 98 01 00 11 */ stb r0, 0x11(r1) +/* 8028B2A8 00288208 7C FB 3B 78 */ mr r27, r7 +/* 8028B2AC 0028820C 7C 9C 23 78 */ mr r28, r4 +/* 8028B2B0 00288210 3B E0 00 01 */ li r31, 1 +/* 8028B2B4 00288214 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8028B2B8 00288218 3B C0 FF FF */ li r30, -1 +/* 8028B2BC 0028821C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8028B2C0 00288220 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 8028B2C4 00288224 93 A1 00 20 */ stw r29, 0x20(r1) +/* 8028B2C8 00288228 48 00 00 40 */ b lbl_8028B308 +lbl_8028B2CC: +/* 8028B2CC 0028822C 93 81 00 24 */ stw r28, 0x24(r1) +/* 8028B2D0 00288230 7F 03 C3 78 */ mr r3, r24 +/* 8028B2D4 00288234 38 81 00 24 */ addi r4, r1, 0x24 +/* 8028B2D8 00288238 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8028B2DC 0028823C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8028B2E0 00288240 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8028B2E4 00288244 9B E1 00 30 */ stb r31, 0x30(r1) +/* 8028B2E8 00288248 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8028B2EC 0028824C 93 A1 00 38 */ stw r29, 0x38(r1) +/* 8028B2F0 00288250 9B A1 00 3C */ stb r29, 0x3c(r1) +/* 8028B2F4 00288254 93 A1 00 40 */ stw r29, 0x40(r1) +/* 8028B2F8 00288258 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8028B2FC 0028825C 93 A1 00 48 */ stw r29, 0x48(r1) +/* 8028B300 00288260 4B DA 19 79 */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +/* 8028B304 00288264 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8028B308: +/* 8028B308 00288268 7C 1C C8 00 */ cmpw r28, r25 +/* 8028B30C 0028826C 41 80 FF C0 */ blt lbl_8028B2CC +/* 8028B310 00288270 7F 03 C3 78 */ mr r3, r24 +/* 8028B314 00288274 7F 45 D3 78 */ mr r5, r26 +/* 8028B318 00288278 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028B31C 0028827C 57 66 06 3E */ clrlwi r6, r27, 0x18 +/* 8028B320 00288280 4B FF FB 9D */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +/* 8028B324 00288284 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8028B328 00288288 28 04 00 00 */ cmplwi r4, 0 +/* 8028B32C 0028828C 41 82 00 0C */ beq lbl_8028B338 +/* 8028B330 00288290 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028B334 00288294 4B DA 5F 75 */ bl sub_800312a8 +lbl_8028B338: +/* 8028B338 00288298 38 00 00 00 */ li r0, 0 +/* 8028B33C 0028829C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028B340 002882A0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028B344 002882A4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028B348 002882A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B34C 002882AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8028B350 002882B0 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8028B354 002882B4 BB 01 00 50 */ lmw r24, 0x50(r1) +/* 8028B358 002882B8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8028B35C 002882BC 7C 08 03 A6 */ mtlr r0 +/* 8028B360 002882C0 38 21 00 80 */ addi r1, r1, 0x80 +/* 8028B364 002882C4 4E 80 00 20 */ blr + +.global "get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +"get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": +/* 8028B368 002882C8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8028B36C 002882CC 7C 08 02 A6 */ mflr r0 +/* 8028B370 002882D0 C0 02 BE 6C */ lfs f0, lbl_805ADB8C@sda21(r2) +/* 8028B374 002882D4 39 00 00 00 */ li r8, 0 +/* 8028B378 002882D8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8028B37C 002882DC 38 E0 FF FF */ li r7, -1 +/* 8028B380 002882E0 89 41 00 08 */ lbz r10, 8(r1) +/* 8028B384 002882E4 38 00 00 01 */ li r0, 1 +/* 8028B388 002882E8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8028B38C 002882EC 7C DF 33 78 */ mr r31, r6 +/* 8028B390 002882F0 89 21 00 0C */ lbz r9, 0xc(r1) +/* 8028B394 002882F4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8028B398 002882F8 7C BE 2B 78 */ mr r30, r5 +/* 8028B39C 002882FC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8028B3A0 00288300 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8028B3A4 00288304 7C 7D 1B 78 */ mr r29, r3 +/* 8028B3A8 00288308 90 81 00 24 */ stw r4, 0x24(r1) +/* 8028B3AC 0028830C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8028B3B0 00288310 99 41 00 10 */ stb r10, 0x10(r1) +/* 8028B3B4 00288314 99 21 00 11 */ stb r9, 0x11(r1) +/* 8028B3B8 00288318 91 01 00 14 */ stw r8, 0x14(r1) +/* 8028B3BC 0028831C 91 01 00 18 */ stw r8, 0x18(r1) +/* 8028B3C0 00288320 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8028B3C4 00288324 91 01 00 20 */ stw r8, 0x20(r1) +/* 8028B3C8 00288328 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8028B3CC 0028832C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8028B3D0 00288330 98 01 00 30 */ stb r0, 0x30(r1) +/* 8028B3D4 00288334 91 01 00 34 */ stw r8, 0x34(r1) +/* 8028B3D8 00288338 91 01 00 38 */ stw r8, 0x38(r1) +/* 8028B3DC 0028833C 99 01 00 3C */ stb r8, 0x3c(r1) +/* 8028B3E0 00288340 91 01 00 40 */ stw r8, 0x40(r1) +/* 8028B3E4 00288344 91 01 00 44 */ stw r8, 0x44(r1) +/* 8028B3E8 00288348 91 01 00 48 */ stw r8, 0x48(r1) +/* 8028B3EC 0028834C 4B DA 18 8D */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" +/* 8028B3F0 00288350 7F A3 EB 78 */ mr r3, r29 +/* 8028B3F4 00288354 7F C5 F3 78 */ mr r5, r30 +/* 8028B3F8 00288358 38 81 00 10 */ addi r4, r1, 0x10 +/* 8028B3FC 0028835C 57 E6 06 3E */ clrlwi r6, r31, 0x18 +/* 8028B400 00288360 4B FF FA BD */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +/* 8028B404 00288364 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8028B408 00288368 28 04 00 00 */ cmplwi r4, 0 +/* 8028B40C 0028836C 41 82 00 0C */ beq lbl_8028B418 +/* 8028B410 00288370 38 61 00 10 */ addi r3, r1, 0x10 +/* 8028B414 00288374 4B DA 5E 95 */ bl sub_800312a8 +lbl_8028B418: +/* 8028B418 00288378 38 00 00 00 */ li r0, 0 +/* 8028B41C 0028837C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8028B420 00288380 90 01 00 18 */ stw r0, 0x18(r1) +/* 8028B424 00288384 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8028B428 00288388 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B42C 0028838C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8028B430 00288390 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8028B434 00288394 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8028B438 00288398 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8028B43C 0028839C 7C 08 03 A6 */ mtlr r0 +/* 8028B440 002883A0 38 21 00 60 */ addi r1, r1, 0x60 +/* 8028B444 002883A4 4E 80 00 20 */ blr + +.global get_asset_id_from_name__12NWeaponTypesFPCc +get_asset_id_from_name__12NWeaponTypesFPCc: +/* 8028B448 002883A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8028B44C 002883AC 7C 08 02 A6 */ mflr r0 +/* 8028B450 002883B0 7C 64 1B 78 */ mr r4, r3 +/* 8028B454 002883B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8028B458 002883B8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8028B45C 002883BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8028B460 002883C0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8028B464 002883C4 7D 89 03 A6 */ mtctr r12 +/* 8028B468 002883C8 4E 80 04 21 */ bctrl +/* 8028B46C 002883CC 28 03 00 00 */ cmplwi r3, 0 +/* 8028B470 002883D0 41 82 00 0C */ beq lbl_8028B47C +/* 8028B474 002883D4 80 63 00 04 */ lwz r3, 4(r3) +/* 8028B478 002883D8 48 00 00 08 */ b lbl_8028B480 +lbl_8028B47C: +/* 8028B47C 002883DC 38 60 FF FF */ li r3, -1 +lbl_8028B480: +/* 8028B480 002883E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8028B484 002883E4 7C 08 03 A6 */ mtlr r0 +/* 8028B488 002883E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8028B48C 002883EC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/main.s b/asm/Kyoto_CWD/main.s index bf2341cc..2d67cb0c 100644 --- a/asm/Kyoto_CWD/main.s +++ b/asm/Kyoto_CWD/main.s @@ -5469,7 +5469,7 @@ lbl_800074A8: /* 800074C4 00004424 38 61 00 08 */ addi r3, r1, 8 /* 800074C8 00004428 48 00 11 D5 */ bl sub_8000869c /* 800074CC 0000442C 38 7E 00 44 */ addi r3, r30, 0x44 -/* 800074D0 00004430 48 2B 97 25 */ bl nullsub_6 +/* 800074D0 00004430 48 2B 97 25 */ bl InitializeApplicationUI__FR7CGuiSys /* 800074D4 00004434 38 1E 00 44 */ addi r0, r30, 0x44 /* 800074D8 00004438 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 800074DC 0000443C 90 0D A0 70 */ stw r0, gGuiSystem@sda21(r13) diff --git a/asm/MetaRender/CCubeRenderer.s b/asm/MetaRender/CCubeRenderer.s new file mode 100644 index 00000000..caa9321b --- /dev/null +++ b/asm/MetaRender/CCubeRenderer.s @@ -0,0 +1,12296 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__17CDecalDescriptionFv +__ct__17CDecalDescriptionFv: +/* 802B5CE4 002B2C44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5CE8 002B2C48 7C 08 02 A6 */ mflr r0 +/* 802B5CEC 002B2C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5CF0 002B2C50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5CF4 002B2C54 7C 7F 1B 78 */ mr r31, r3 +/* 802B5CF8 002B2C58 4B FF FF C9 */ bl sub_802b5cc0 +/* 802B5CFC 002B2C5C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 802B5D00 002B2C60 4B FF FF C1 */ bl sub_802b5cc0 +/* 802B5D04 002B2C64 38 80 00 00 */ li r4, 0 +/* 802B5D08 002B2C68 7F E3 FB 78 */ mr r3, r31 +/* 802B5D0C 002B2C6C 98 9F 00 44 */ stb r4, 0x44(r31) +/* 802B5D10 002B2C70 90 9F 00 48 */ stw r4, 0x48(r31) +/* 802B5D14 002B2C74 90 9F 00 4C */ stw r4, 0x4c(r31) +/* 802B5D18 002B2C78 90 9F 00 50 */ stw r4, 0x50(r31) +/* 802B5D1C 002B2C7C 90 9F 00 54 */ stw r4, 0x54(r31) +/* 802B5D20 002B2C80 90 9F 00 58 */ stw r4, 0x58(r31) +/* 802B5D24 002B2C84 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 802B5D28 002B2C88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802B5D2C 002B2C8C 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 802B5D30 002B2C90 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 802B5D34 002B2C94 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802B5D38 002B2C98 98 1F 00 5C */ stb r0, 0x5c(r31) +/* 802B5D3C 002B2C9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5D40 002B2CA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5D44 002B2CA4 7C 08 03 A6 */ mtlr r0 +/* 802B5D48 002B2CA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5D4C 002B2CAC 4E 80 00 20 */ blr + +.global DrawString__13CCubeRendererFPCcii +DrawString__13CCubeRendererFPCcii: +/* 802B5D50 002B2CB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B5D54 002B2CB4 7C 08 02 A6 */ mflr r0 +/* 802B5D58 002B2CB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B5D5C 002B2CBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B5D60 002B2CC0 7C DF 33 78 */ mr r31, r6 +/* 802B5D64 002B2CC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B5D68 002B2CC8 7C BE 2B 78 */ mr r30, r5 +/* 802B5D6C 002B2CCC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B5D70 002B2CD0 7C 9D 23 78 */ mr r29, r4 +/* 802B5D74 002B2CD4 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B5D78 002B2CD8 7C 7C 1B 78 */ mr r28, r3 +/* 802B5D7C 002B2CDC 48 09 42 31 */ bl White__6CColorFv +/* 802B5D80 002B2CE0 7C 67 1B 78 */ mr r7, r3 +/* 802B5D84 002B2CE4 7F A4 EB 78 */ mr r4, r29 +/* 802B5D88 002B2CE8 7F C5 F3 78 */ mr r5, r30 +/* 802B5D8C 002B2CEC 7F E6 FB 78 */ mr r6, r31 +/* 802B5D90 002B2CF0 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802B5D94 002B2CF4 48 05 02 05 */ bl DrawString__5CFontCFPCcllRC6CColor +/* 802B5D98 002B2CF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B5D9C 002B2CFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B5DA0 002B2D00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B5DA4 002B2D04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B5DA8 002B2D08 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B5DAC 002B2D0C 7C 08 03 A6 */ mtlr r0 +/* 802B5DB0 002B2D10 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B5DB4 002B2D14 4E 80 00 20 */ blr + +.global DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf +DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf: +/* 802B5DB8 002B2D18 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B5DBC 002B2D1C 7C 08 02 A6 */ mflr r0 +/* 802B5DC0 002B2D20 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B5DC4 002B2D24 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 802B5DC8 002B2D28 7C 76 1B 78 */ mr r22, r3 +/* 802B5DCC 002B2D2C 7C 97 23 78 */ mr r23, r4 +/* 802B5DD0 002B2D30 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 802B5DD4 002B2D34 48 00 01 7C */ b lbl_802B5F50 +lbl_802B5DD8: +/* 802B5DD8 002B2D38 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B5DDC 002B2D3C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B5DE0 002B2D40 41 82 01 6C */ beq lbl_802B5F4C +/* 802B5DE4 002B2D44 38 00 00 00 */ li r0, 0 +/* 802B5DE8 002B2D48 7F E3 FB 78 */ mr r3, r31 +/* 802B5DEC 002B2D4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B5DF0 002B2D50 7E E5 BB 78 */ mr r5, r23 +/* 802B5DF4 002B2D54 38 81 00 20 */ addi r4, r1, 0x20 +/* 802B5DF8 002B2D58 90 01 00 28 */ stw r0, 0x28(r1) +/* 802B5DFC 002B2D5C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802B5E00 002B2D60 4B FF 8A 55 */ bl "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" +/* 802B5E04 002B2D64 3B 60 00 00 */ li r27, 0 +/* 802B5E08 002B2D68 3B 40 00 00 */ li r26, 0 +/* 802B5E0C 002B2D6C 3B 80 00 00 */ li r28, 0 +/* 802B5E10 002B2D70 48 00 00 F0 */ b lbl_802B5F00 +lbl_802B5E14: +/* 802B5E14 002B2D74 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802B5E18 002B2D78 7F 23 E0 2E */ lwzx r25, r3, r28 +/* 802B5E1C 002B2D7C 28 19 00 00 */ cmplwi r25, 0 +/* 802B5E20 002B2D80 41 82 00 D4 */ beq lbl_802B5EF4 +/* 802B5E24 002B2D84 3B 00 00 00 */ li r24, 0 +lbl_802B5E28: +/* 802B5E28 002B2D88 38 00 00 01 */ li r0, 1 +/* 802B5E2C 002B2D8C 7C 00 C0 30 */ slw r0, r0, r24 +/* 802B5E30 002B2D90 7F 20 00 39 */ and. r0, r25, r0 +/* 802B5E34 002B2D94 41 82 00 B4 */ beq lbl_802B5EE8 +/* 802B5E38 002B2D98 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B5E3C 002B2D9C 7C 1A C2 14 */ add r0, r26, r24 +/* 802B5E40 002B2DA0 54 03 18 38 */ slwi r3, r0, 3 +/* 802B5E44 002B2DA4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802B5E48 002B2DA8 38 03 00 04 */ addi r0, r3, 4 +/* 802B5E4C 002B2DAC 7F C4 00 2E */ lwzx r30, r4, r0 +/* 802B5E50 002B2DB0 7F C3 F3 78 */ mr r3, r30 +/* 802B5E54 002B2DB4 48 05 17 CD */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B5E58 002B2DB8 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B5E5C 002B2DBC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802B5E60 002B2DC0 48 00 00 7C */ b lbl_802B5EDC +lbl_802B5E64: +/* 802B5E64 002B2DC4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B5E68 002B2DC8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B5E6C 002B2DCC 48 09 24 45 */ bl GetBounds__12CCubeSurfaceCFv +/* 802B5E70 002B2DD0 7E E4 BB 78 */ mr r4, r23 +/* 802B5E74 002B2DD4 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B5E78 002B2DD8 48 08 1D 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B5E7C 002B2DDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B5E80 002B2DE0 41 82 00 50 */ beq lbl_802B5ED0 +/* 802B5E84 002B2DE4 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B5E88 002B2DE8 7F C4 F3 78 */ mr r4, r30 +/* 802B5E8C 002B2DEC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B5E90 002B2DF0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B5E94 002B2DF4 48 05 16 79 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802B5E98 002B2DF8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802B5E9C 002B2DFC 80 04 00 04 */ lwz r0, 4(r4) +/* 802B5EA0 002B2E00 54 03 10 3A */ slwi r3, r0, 2 +/* 802B5EA4 002B2E04 38 03 00 08 */ addi r0, r3, 8 +/* 802B5EA8 002B2E08 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802B5EAC 002B2E0C 48 05 20 51 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 802B5EB0 002B2E10 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B5EB4 002B2E14 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 802B5EB8 002B2E18 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802B5EBC 002B2E1C 38 63 00 4B */ addi r3, r3, 0x4b +/* 802B5EC0 002B2E20 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 802B5EC4 002B2E24 54 04 00 7E */ clrlwi r4, r0, 1 +/* 802B5EC8 002B2E28 7C 65 1A 14 */ add r3, r5, r3 +/* 802B5ECC 002B2E2C 48 05 27 21 */ bl CallDisplayList__3CGXFPCvUl +lbl_802B5ED0: +/* 802B5ED0 002B2E30 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802B5ED4 002B2E34 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B5ED8 002B2E38 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_802B5EDC: +/* 802B5EDC 002B2E3C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802B5EE0 002B2E40 28 00 00 00 */ cmplwi r0, 0 +/* 802B5EE4 002B2E44 40 82 FF 80 */ bne lbl_802B5E64 +lbl_802B5EE8: +/* 802B5EE8 002B2E48 3B 18 00 01 */ addi r24, r24, 1 +/* 802B5EEC 002B2E4C 2C 18 00 20 */ cmpwi r24, 0x20 +/* 802B5EF0 002B2E50 41 80 FF 38 */ blt lbl_802B5E28 +lbl_802B5EF4: +/* 802B5EF4 002B2E54 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B5EF8 002B2E58 3B 7B 00 01 */ addi r27, r27, 1 +/* 802B5EFC 002B2E5C 3B 5A 00 20 */ addi r26, r26, 0x20 +lbl_802B5F00: +/* 802B5F00 002B2E60 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B5F04 002B2E64 7C 1B 00 40 */ cmplw r27, r0 +/* 802B5F08 002B2E68 41 80 FF 0C */ blt lbl_802B5E14 +/* 802B5F0C 002B2E6C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B5F10 002B2E70 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802B5F14 002B2E74 54 00 10 3A */ slwi r0, r0, 2 +/* 802B5F18 002B2E78 7C 03 02 14 */ add r0, r3, r0 +/* 802B5F1C 002B2E7C 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B5F20 002B2E80 7C 64 1B 78 */ mr r4, r3 +/* 802B5F24 002B2E84 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5F28 002B2E88 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B5F2C 002B2E8C 90 61 00 08 */ stw r3, 8(r1) +/* 802B5F30 002B2E90 48 00 00 08 */ b lbl_802B5F38 +lbl_802B5F34: +/* 802B5F34 002B2E94 38 84 00 04 */ addi r4, r4, 4 +lbl_802B5F38: +/* 802B5F38 002B2E98 7C 04 00 40 */ cmplw r4, r0 +/* 802B5F3C 002B2E9C 40 82 FF F8 */ bne lbl_802B5F34 +/* 802B5F40 002B2EA0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5F44 002B2EA4 41 82 00 08 */ beq lbl_802B5F4C +/* 802B5F48 002B2EA8 48 05 F9 E9 */ bl Free__7CMemoryFPCv +lbl_802B5F4C: +/* 802B5F4C 002B2EAC 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B5F50: +/* 802B5F50 002B2EB0 80 16 00 24 */ lwz r0, 0x24(r22) +/* 802B5F54 002B2EB4 7C 1D 00 40 */ cmplw r29, r0 +/* 802B5F58 002B2EB8 40 82 FE 80 */ bne lbl_802B5DD8 +/* 802B5F5C 002B2EBC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 802B5F60 002B2EC0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B5F64 002B2EC4 7C 08 03 A6 */ mtlr r0 +/* 802B5F68 002B2EC8 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B5F6C 002B2ECC 4E 80 00 20 */ blr + +.global AllocatePhazonSuitMaskTexture__13CCubeRendererFv +AllocatePhazonSuitMaskTexture__13CCubeRendererFv: +/* 802B5F70 002B2ED0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5F74 002B2ED4 7C 08 02 A6 */ mflr r0 +/* 802B5F78 002B2ED8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5F7C 002B2EDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5F80 002B2EE0 93 C1 00 08 */ stw r30, 8(r1) +/* 802B5F84 002B2EE4 7C 7E 1B 78 */ mr r30, r3 +/* 802B5F88 002B2EE8 38 60 00 01 */ li r3, 1 +/* 802B5F8C 002B2EEC 88 1E 03 18 */ lbz r0, 0x318(r30) +/* 802B5F90 002B2EF0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802B5F94 002B2EF4 98 1E 03 18 */ stb r0, 0x318(r30) +/* 802B5F98 002B2EF8 80 1E 03 14 */ lwz r0, 0x314(r30) +/* 802B5F9C 002B2EFC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5FA0 002B2F00 40 82 00 60 */ bne lbl_802B6000 +/* 802B5FA4 002B2F04 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802B5FA8 002B2F08 38 60 00 68 */ li r3, 0x68 +/* 802B5FAC 002B2F0C 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802B5FB0 002B2F10 38 A0 00 00 */ li r5, 0 +/* 802B5FB4 002B2F14 48 05 F8 B9 */ bl __nw__FUlPCcPCc +/* 802B5FB8 002B2F18 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B5FBC 002B2F1C 41 82 00 34 */ beq lbl_802B5FF0 +/* 802B5FC0 002B2F20 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802B5FC4 002B2F24 38 80 00 01 */ li r4, 1 +/* 802B5FC8 002B2F28 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 802B5FCC 002B2F2C 38 E0 00 01 */ li r7, 1 +/* 802B5FD0 002B2F30 80 A6 00 08 */ lwz r5, 8(r6) +/* 802B5FD4 002B2F34 80 06 00 0C */ lwz r0, 0xc(r6) +/* 802B5FD8 002B2F38 7C A5 16 70 */ srawi r5, r5, 2 +/* 802B5FDC 002B2F3C 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B5FE0 002B2F40 7C A5 07 34 */ extsh r5, r5 +/* 802B5FE4 002B2F44 7C 06 07 34 */ extsh r6, r0 +/* 802B5FE8 002B2F48 48 05 9E 45 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802B5FEC 002B2F4C 7C 7F 1B 78 */ mr r31, r3 +lbl_802B5FF0: +/* 802B5FF0 002B2F50 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802B5FF4 002B2F54 38 80 00 01 */ li r4, 1 +/* 802B5FF8 002B2F58 48 05 9A 01 */ bl __dt__8CTextureFv +/* 802B5FFC 002B2F5C 93 FE 03 14 */ stw r31, 0x314(r30) +lbl_802B6000: +/* 802B6000 002B2F60 38 00 00 02 */ li r0, 2 +/* 802B6004 002B2F64 90 1E 03 10 */ stw r0, 0x310(r30) +/* 802B6008 002B2F68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B600C 002B2F6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B6010 002B2F70 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B6014 002B2F74 7C 08 03 A6 */ mtlr r0 +/* 802B6018 002B2F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B601C 002B2F7C 4E 80 00 20 */ blr + +.global "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" +"DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff": +/* 802B6020 002B2F80 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802B6024 002B2F84 7C 08 02 A6 */ mflr r0 +/* 802B6028 002B2F88 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802B602C 002B2F8C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 802B6030 002B2F90 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 802B6034 002B2F94 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 802B6038 002B2F98 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 802B603C 002B2F9C DB A1 00 80 */ stfd f29, 0x80(r1) +/* 802B6040 002B2FA0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 802B6044 002B2FA4 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 802B6048 002B2FA8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 802B604C 002B2FAC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B6050 002B2FB0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B6054 002B2FB4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802B6058 002B2FB8 93 81 00 60 */ stw r28, 0x60(r1) +/* 802B605C 002B2FBC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B6060 002B2FC0 FF 80 08 90 */ fmr f28, f1 +/* 802B6064 002B2FC4 FF A0 10 90 */ fmr f29, f2 +/* 802B6068 002B2FC8 7C 7C 1B 78 */ mr r28, r3 +/* 802B606C 002B2FCC FF C0 18 90 */ fmr f30, f3 +/* 802B6070 002B2FD0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802B6074 002B2FD4 FF E0 20 90 */ fmr f31, f4 +/* 802B6078 002B2FD8 7C 9D 23 78 */ mr r29, r4 +/* 802B607C 002B2FDC 7C BE 2B 78 */ mr r30, r5 +/* 802B6080 002B2FE0 7C DF 33 78 */ mr r31, r6 +/* 802B6084 002B2FE4 41 82 01 70 */ beq lbl_802B61F4 +/* 802B6088 002B2FE8 80 1C 03 10 */ lwz r0, 0x310(r28) +/* 802B608C 002B2FEC 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6090 002B2FF0 41 82 01 64 */ beq lbl_802B61F4 +/* 802B6094 002B2FF4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B6098 002B2FF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B609C 002B2FFC 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B60A0 002B3000 48 05 CA D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B60A4 002B3004 48 05 3D B9 */ bl GetProjectionState__9CGraphicsFv +/* 802B60A8 002B3008 88 03 00 00 */ lbz r0, 0(r3) +/* 802B60AC 002B300C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B60B0 002B3010 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B60B4 002B3014 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B60B8 002B3018 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B60BC 002B301C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B60C0 002B3020 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B60C4 002B3024 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802B60C8 002B3028 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B60CC 002B302C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802B60D0 002B3030 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B60D4 002B3034 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802B60D8 002B3038 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B60DC 002B303C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802B60E0 002B3040 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B60E4 002B3044 28 05 00 00 */ cmplwi r5, 0 +/* 802B60E8 002B3048 41 82 01 18 */ beq lbl_802B6200 +/* 802B60EC 002B304C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B60F0 002B3050 A8 85 00 04 */ lha r4, 4(r5) +/* 802B60F4 002B3054 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B60F8 002B3058 80 03 00 08 */ lwz r0, 8(r3) +/* 802B60FC 002B305C 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B6100 002B3060 7C 04 00 00 */ cmpw r4, r0 +/* 802B6104 002B3064 40 82 00 FC */ bne lbl_802B6200 +/* 802B6108 002B3068 80 03 00 0C */ lwz r0, 0xc(r3) +/* 802B610C 002B306C A8 65 00 06 */ lha r3, 6(r5) +/* 802B6110 002B3070 7C 00 16 70 */ srawi r0, r0, 2 +/* 802B6114 002B3074 7C 03 00 00 */ cmpw r3, r0 +/* 802B6118 002B3078 41 82 00 08 */ beq lbl_802B6120 +/* 802B611C 002B307C 48 00 00 E4 */ b lbl_802B6200 +lbl_802B6120: +/* 802B6120 002B3080 FC 20 E0 90 */ fmr f1, f28 +/* 802B6124 002B3084 7F 83 E3 78 */ mr r3, r28 +/* 802B6128 002B3088 FC 40 E0 90 */ fmr f2, f28 +/* 802B612C 002B308C 48 00 0A 4D */ bl DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff +/* 802B6130 002B3090 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B6134 002B3094 38 A0 00 01 */ li r5, 1 +/* 802B6138 002B3098 38 80 00 00 */ li r4, 0 +/* 802B613C 002B309C 88 03 00 0A */ lbz r0, 0xa(r3) +/* 802B6140 002B30A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802B6144 002B30A4 98 03 00 0A */ stb r0, 0xa(r3) +/* 802B6148 002B30A8 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B614C 002B30AC 48 05 84 89 */ bl GetBitMapData__8CTextureFi +/* 802B6150 002B30B0 7C 66 1B 78 */ mr r6, r3 +/* 802B6154 002B30B4 7F 83 E3 78 */ mr r3, r28 +/* 802B6158 002B30B8 38 80 00 04 */ li r4, 4 +/* 802B615C 002B30BC 38 A0 00 00 */ li r5, 0 +/* 802B6160 002B30C0 38 E0 00 27 */ li r7, 0x27 +/* 802B6164 002B30C4 39 00 00 01 */ li r8, 1 +/* 802B6168 002B30C8 48 00 11 E5 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B616C 002B30CC 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B6170 002B30D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B6174 002B30D4 41 82 00 50 */ beq lbl_802B61C4 +/* 802B6178 002B30D8 83 DE 00 08 */ lwz r30, 8(r30) +/* 802B617C 002B30DC 28 1E 00 00 */ cmplwi r30, 0 +/* 802B6180 002B30E0 41 82 00 44 */ beq lbl_802B61C4 +/* 802B6184 002B30E4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6188 002B30E8 38 61 00 08 */ addi r3, r1, 8 +/* 802B618C 002B30EC FC 40 08 90 */ fmr f2, f1 +/* 802B6190 002B30F0 FC 60 08 90 */ fmr f3, f1 +/* 802B6194 002B30F4 FC 80 08 90 */ fmr f4, f1 +/* 802B6198 002B30F8 48 0A D2 55 */ bl __ct__6CColorFffff +/* 802B619C 002B30FC FC 20 E8 90 */ fmr f1, f29 +/* 802B61A0 002B3100 7C 64 1B 78 */ mr r4, r3 +/* 802B61A4 002B3104 FC 40 F0 90 */ fmr f2, f30 +/* 802B61A8 002B3108 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B61AC 002B310C FC 60 F8 90 */ fmr f3, f31 +/* 802B61B0 002B3110 7F 83 E3 78 */ mr r3, r28 +/* 802B61B4 002B3114 7F C6 F3 78 */ mr r6, r30 +/* 802B61B8 002B3118 7F E7 FB 78 */ mr r7, r31 +/* 802B61BC 002B311C 48 00 00 85 */ bl ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor +/* 802B61C0 002B3120 48 00 00 14 */ b lbl_802B61D4 +lbl_802B61C4: +/* 802B61C4 002B3124 80 BC 03 14 */ lwz r5, 0x314(r28) +/* 802B61C8 002B3128 7F 83 E3 78 */ mr r3, r28 +/* 802B61CC 002B312C 7F A4 EB 78 */ mr r4, r29 +/* 802B61D0 002B3130 48 00 07 69 */ bl ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture +lbl_802B61D4: +/* 802B61D4 002B3134 80 7C 03 14 */ lwz r3, 0x314(r28) +/* 802B61D8 002B3138 48 05 87 45 */ bl UnLock__8CTextureFv +/* 802B61DC 002B313C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B61E0 002B3140 48 05 65 6D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B61E4 002B3144 38 61 00 0C */ addi r3, r1, 0xc +/* 802B61E8 002B3148 48 05 3C 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802B61EC 002B314C 38 00 00 02 */ li r0, 2 +/* 802B61F0 002B3150 90 1C 03 10 */ stw r0, 0x310(r28) +lbl_802B61F4: +/* 802B61F4 002B3154 38 60 00 00 */ li r3, 0 +/* 802B61F8 002B3158 38 80 00 00 */ li r4, 0 +/* 802B61FC 002B315C 48 0C 5E E5 */ bl GXSetDstAlpha +lbl_802B6200: +/* 802B6200 002B3160 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 802B6204 002B3164 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 802B6208 002B3168 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 802B620C 002B316C CB C1 00 90 */ lfd f30, 0x90(r1) +/* 802B6210 002B3170 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 802B6214 002B3174 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 802B6218 002B3178 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 802B621C 002B317C CB 81 00 70 */ lfd f28, 0x70(r1) +/* 802B6220 002B3180 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B6224 002B3184 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B6228 002B3188 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802B622C 002B318C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B6230 002B3190 83 81 00 60 */ lwz r28, 0x60(r1) +/* 802B6234 002B3194 7C 08 03 A6 */ mtlr r0 +/* 802B6238 002B3198 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802B623C 002B319C 4E 80 00 20 */ blr + +.global ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor +ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor: +/* 802B6240 002B31A0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 802B6244 002B31A4 7C 08 02 A6 */ mflr r0 +/* 802B6248 002B31A8 90 01 01 64 */ stw r0, 0x164(r1) +/* 802B624C 002B31AC DB E1 01 50 */ stfd f31, 0x150(r1) +/* 802B6250 002B31B0 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 802B6254 002B31B4 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 802B6258 002B31B8 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 802B625C 002B31BC DB A1 01 30 */ stfd f29, 0x130(r1) +/* 802B6260 002B31C0 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 802B6264 002B31C4 BF 41 01 18 */ stmw r26, 0x118(r1) +/* 802B6268 002B31C8 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B626C 002B31CC 7C 9D 23 78 */ mr r29, r4 +/* 802B6270 002B31D0 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B6274 002B31D4 FF A0 08 90 */ fmr f29, f1 +/* 802B6278 002B31D8 FF C0 10 90 */ fmr f30, f2 +/* 802B627C 002B31DC 83 E3 00 08 */ lwz r31, 8(r3) +/* 802B6280 002B31E0 7C BA 2B 78 */ mr r26, r5 +/* 802B6284 002B31E4 FF E0 18 90 */ fmr f31, f3 +/* 802B6288 002B31E8 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 802B628C 002B31EC 7C DB 33 78 */ mr r27, r6 +/* 802B6290 002B31F0 7C FC 3B 78 */ mr r28, r7 +/* 802B6294 002B31F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B6298 002B31F8 38 80 00 00 */ li r4, 0 +/* 802B629C 002B31FC 38 A0 00 00 */ li r5, 0 +/* 802B62A0 002B3200 48 05 E0 AD */ bl __ct__9CVector2iFii +/* 802B62A4 002B3204 7F E4 FB 78 */ mr r4, r31 +/* 802B62A8 002B3208 7F C5 F3 78 */ mr r5, r30 +/* 802B62AC 002B320C 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B62B0 002B3210 48 05 E0 9D */ bl __ct__9CVector2iFii +/* 802B62B4 002B3214 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B62B8 002B3218 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B62BC 002B321C FC 40 08 90 */ fmr f2, f1 +/* 802B62C0 002B3220 48 05 DF 41 */ bl __ct__9CVector2fFff +/* 802B62C4 002B3224 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B62C8 002B3228 38 61 00 44 */ addi r3, r1, 0x44 +/* 802B62CC 002B322C FC 40 08 90 */ fmr f2, f1 +/* 802B62D0 002B3230 48 05 DF 31 */ bl __ct__9CVector2fFff +/* 802B62D4 002B3234 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B62D8 002B3238 38 81 00 54 */ addi r4, r1, 0x54 +/* 802B62DC 002B323C 38 A1 00 5C */ addi r5, r1, 0x5c +/* 802B62E0 002B3240 48 05 DF FD */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802B62E4 002B3244 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 802B62E8 002B3248 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B62EC 002B324C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802B62F0 002B3250 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B62F4 002B3254 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 802B62F8 002B3258 38 A0 00 02 */ li r5, 2 +/* 802B62FC 002B325C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B6300 002B3260 48 05 DF 4D */ bl __dv__FRC9CVector2ii +/* 802B6304 002B3264 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802B6308 002B3268 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802B630C 002B326C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 802B6310 002B3270 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6314 002B3274 90 61 00 34 */ stw r3, 0x34(r1) +/* 802B6318 002B3278 90 81 00 38 */ stw r4, 0x38(r1) +/* 802B631C 002B327C 40 81 05 F0 */ ble lbl_802B690C +/* 802B6320 002B3280 80 01 00 40 */ lwz r0, 0x40(r1) +/* 802B6324 002B3284 2C 00 00 00 */ cmpwi r0, 0 +/* 802B6328 002B3288 41 81 00 08 */ bgt lbl_802B6330 +/* 802B632C 002B328C 48 00 05 E0 */ b lbl_802B690C +lbl_802B6330: +/* 802B6330 002B3290 80 CD A8 28 */ lwz r6, lbl_805A93E8@sda21(r13) +/* 802B6334 002B3294 38 A0 00 04 */ li r5, 4 +/* 802B6338 002B3298 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B633C 002B329C 48 05 3C E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6340 002B32A0 7F 63 DB 78 */ mr r3, r27 +/* 802B6344 002B32A4 38 80 00 01 */ li r4, 1 +/* 802B6348 002B32A8 38 A0 00 01 */ li r5, 1 +/* 802B634C 002B32AC 48 05 93 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6350 002B32B0 7F 43 D3 78 */ mr r3, r26 +/* 802B6354 002B32B4 38 80 00 02 */ li r4, 2 +/* 802B6358 002B32B8 38 A0 00 01 */ li r5, 1 +/* 802B635C 002B32BC 48 05 93 E1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6360 002B32C0 38 60 00 00 */ li r3, 0 +/* 802B6364 002B32C4 38 80 00 0F */ li r4, 0xf +/* 802B6368 002B32C8 38 A0 00 0E */ li r5, 0xe +/* 802B636C 002B32CC 38 C0 00 08 */ li r6, 8 +/* 802B6370 002B32D0 38 E0 00 0F */ li r7, 0xf +/* 802B6374 002B32D4 48 05 28 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6378 002B32D8 38 60 00 00 */ li r3, 0 +/* 802B637C 002B32DC 38 80 00 00 */ li r4, 0 +/* 802B6380 002B32E0 38 A0 00 00 */ li r5, 0 +/* 802B6384 002B32E4 38 C0 00 00 */ li r6, 0 +/* 802B6388 002B32E8 38 E0 00 01 */ li r7, 1 +/* 802B638C 002B32EC 39 00 00 00 */ li r8, 0 +/* 802B6390 002B32F0 48 05 27 A9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6394 002B32F4 38 60 00 00 */ li r3, 0 +/* 802B6398 002B32F8 38 80 00 00 */ li r4, 0 +/* 802B639C 002B32FC 38 A0 00 04 */ li r5, 4 +/* 802B63A0 002B3300 38 C0 00 3C */ li r6, 0x3c +/* 802B63A4 002B3304 38 E0 00 00 */ li r7, 0 +/* 802B63A8 002B3308 39 00 00 7D */ li r8, 0x7d +/* 802B63AC 002B330C 48 05 23 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B63B0 002B3310 E0 3C A0 00 */ psq_l f1, 0(r28), 1, qr2 +/* 802B63B4 002B3314 E0 5C A0 03 */ psq_l f2, 3(r28), 1, qr2 +/* 802B63B8 002B3318 E0 BC A0 01 */ psq_l f5, 1(r28), 1, qr2 +/* 802B63BC 002B331C E1 1C A0 03 */ psq_l f8, 3(r28), 1, qr2 +/* 802B63C0 002B3320 E1 3C A0 02 */ psq_l f9, 2(r28), 1, qr2 +/* 802B63C4 002B3324 E1 5C A0 03 */ psq_l f10, 3(r28), 1, qr2 +/* 802B63C8 002B3328 E0 1C A0 03 */ psq_l f0, 3(r28), 1, qr2 +/* 802B63CC 002B332C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B63D0 002B3330 C0 62 C2 78 */ lfs f3, lbl_805ADF98@sda21(r2) +/* 802B63D4 002B3334 C0 82 C2 7C */ lfs f4, lbl_805ADF9C@sda21(r2) +/* 802B63D8 002B3338 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802B63DC 002B333C EC E3 00 72 */ fmuls f7, f3, f1 +/* 802B63E0 002B3340 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 802B63E4 002B3344 EC C3 01 72 */ fmuls f6, f3, f5 +/* 802B63E8 002B3348 EC 43 02 32 */ fmuls f2, f3, f8 +/* 802B63EC 002B334C EC A3 02 72 */ fmuls f5, f3, f9 +/* 802B63F0 002B3350 EC 63 02 B2 */ fmuls f3, f3, f10 +/* 802B63F4 002B3354 EC 27 00 72 */ fmuls f1, f7, f1 +/* 802B63F8 002B3358 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802B63FC 002B335C EC 65 00 F2 */ fmuls f3, f5, f3 +/* 802B6400 002B3360 EC 84 00 32 */ fmuls f4, f4, f0 +/* 802B6404 002B3364 48 0A CF E9 */ bl __ct__6CColorFffff +/* 802B6408 002B3368 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B640C 002B336C 38 60 00 00 */ li r3, 0 +/* 802B6410 002B3370 48 05 28 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B6414 002B3374 38 60 00 00 */ li r3, 0 +/* 802B6418 002B3378 38 80 00 0C */ li r4, 0xc +/* 802B641C 002B337C 48 05 25 C5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B6420 002B3380 38 60 00 01 */ li r3, 1 +/* 802B6424 002B3384 38 80 00 00 */ li r4, 0 +/* 802B6428 002B3388 38 A0 00 05 */ li r5, 5 +/* 802B642C 002B338C 38 C0 00 3C */ li r6, 0x3c +/* 802B6430 002B3390 38 E0 00 00 */ li r7, 0 +/* 802B6434 002B3394 39 00 00 7D */ li r8, 0x7d +/* 802B6438 002B3398 48 05 22 95 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B643C 002B339C 38 60 00 02 */ li r3, 2 +/* 802B6440 002B33A0 38 80 00 00 */ li r4, 0 +/* 802B6444 002B33A4 38 A0 00 06 */ li r5, 6 +/* 802B6448 002B33A8 38 C0 00 3C */ li r6, 0x3c +/* 802B644C 002B33AC 38 E0 00 00 */ li r7, 0 +/* 802B6450 002B33B0 39 00 00 7D */ li r8, 0x7d +/* 802B6454 002B33B4 48 05 22 79 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B6458 002B33B8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B645C 002B33BC 38 60 00 00 */ li r3, 0 +/* 802B6460 002B33C0 38 80 00 00 */ li r4, 0 +/* 802B6464 002B33C4 38 C0 00 FF */ li r6, 0xff +/* 802B6468 002B33C8 48 05 24 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B646C 002B33CC 38 60 00 01 */ li r3, 1 +/* 802B6470 002B33D0 38 80 00 02 */ li r4, 2 +/* 802B6474 002B33D4 38 A0 00 02 */ li r5, 2 +/* 802B6478 002B33D8 38 C0 00 04 */ li r6, 4 +/* 802B647C 002B33DC 48 05 24 D1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B6480 002B33E0 38 60 00 01 */ li r3, 1 +/* 802B6484 002B33E4 38 80 00 0F */ li r4, 0xf +/* 802B6488 002B33E8 38 A0 00 09 */ li r5, 9 +/* 802B648C 002B33EC 38 C0 00 00 */ li r6, 0 +/* 802B6490 002B33F0 38 E0 00 0F */ li r7, 0xf +/* 802B6494 002B33F4 48 05 27 59 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6498 002B33F8 38 60 00 01 */ li r3, 1 +/* 802B649C 002B33FC 38 80 00 00 */ li r4, 0 +/* 802B64A0 002B3400 38 A0 00 00 */ li r5, 0 +/* 802B64A4 002B3404 38 C0 00 00 */ li r6, 0 +/* 802B64A8 002B3408 38 E0 00 01 */ li r7, 1 +/* 802B64AC 002B340C 39 00 00 00 */ li r8, 0 +/* 802B64B0 002B3410 48 05 26 89 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B64B4 002B3414 38 60 00 01 */ li r3, 1 +/* 802B64B8 002B3418 38 80 00 1C */ li r4, 0x1c +/* 802B64BC 002B341C 48 05 24 E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B64C0 002B3420 38 60 00 01 */ li r3, 1 +/* 802B64C4 002B3424 38 80 00 07 */ li r4, 7 +/* 802B64C8 002B3428 38 A0 00 04 */ li r5, 4 +/* 802B64CC 002B342C 38 C0 00 06 */ li r6, 6 +/* 802B64D0 002B3430 38 E0 00 07 */ li r7, 7 +/* 802B64D4 002B3434 48 05 26 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B64D8 002B3438 38 60 00 01 */ li r3, 1 +/* 802B64DC 002B343C 38 80 00 00 */ li r4, 0 +/* 802B64E0 002B3440 38 A0 00 00 */ li r5, 0 +/* 802B64E4 002B3444 38 C0 00 00 */ li r6, 0 +/* 802B64E8 002B3448 38 E0 00 01 */ li r7, 1 +/* 802B64EC 002B344C 39 00 00 00 */ li r8, 0 +/* 802B64F0 002B3450 48 05 25 91 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B64F4 002B3454 38 60 00 00 */ li r3, 0 +/* 802B64F8 002B3458 38 80 00 00 */ li r4, 0 +/* 802B64FC 002B345C 38 A0 00 00 */ li r5, 0 +/* 802B6500 002B3460 38 C0 00 01 */ li r6, 1 +/* 802B6504 002B3464 38 E0 00 00 */ li r7, 0 +/* 802B6508 002B3468 39 00 00 00 */ li r8, 0 +/* 802B650C 002B346C 39 20 00 02 */ li r9, 2 +/* 802B6510 002B3470 48 05 27 BD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6514 002B3474 48 09 3A A1 */ bl Black__6CColorFv +/* 802B6518 002B3478 7C 64 1B 78 */ mr r4, r3 +/* 802B651C 002B347C 38 60 00 00 */ li r3, 0 +/* 802B6520 002B3480 48 05 28 A5 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6524 002B3484 FC 60 E8 90 */ fmr f3, f29 +/* 802B6528 002B3488 C0 42 C2 80 */ lfs f2, lbl_805ADFA0@sda21(r2) +/* 802B652C 002B348C C0 02 C2 84 */ lfs f0, lbl_805ADFA4@sda21(r2) +/* 802B6530 002B3490 38 A0 00 01 */ li r5, 1 +/* 802B6534 002B3494 48 00 00 0C */ b lbl_802B6540 +lbl_802B6538: +/* 802B6538 002B3498 EC 63 00 B2 */ fmuls f3, f3, f2 +/* 802B653C 002B349C 38 A5 00 01 */ addi r5, r5, 1 +lbl_802B6540: +/* 802B6540 002B34A0 FC 20 1A 10 */ fabs f1, f3 +/* 802B6544 002B34A4 FC 20 08 18 */ frsp f1, f1 +/* 802B6548 002B34A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B654C 002B34AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802B6550 002B34B0 41 82 FF E8 */ beq lbl_802B6538 +/* 802B6554 002B34B4 C0 42 C2 88 */ lfs f2, lbl_805ADFA8@sda21(r2) +/* 802B6558 002B34B8 C0 02 C2 8C */ lfs f0, lbl_805ADFAC@sda21(r2) +/* 802B655C 002B34BC 48 00 00 0C */ b lbl_802B6568 +lbl_802B6560: +/* 802B6560 002B34C0 EC 63 00 B2 */ fmuls f3, f3, f2 +/* 802B6564 002B34C4 38 A5 FF FF */ addi r5, r5, -1 +lbl_802B6568: +/* 802B6568 002B34C8 FC 20 1A 10 */ fabs f1, f3 +/* 802B656C 002B34CC FC 20 08 18 */ frsp f1, f1 +/* 802B6570 002B34D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B6574 002B34D4 41 80 FF EC */ blt lbl_802B6560 +/* 802B6578 002B34D8 3C 60 80 3D */ lis r3, lbl_803D6814@ha +/* 802B657C 002B34DC EC 3E 00 F2 */ fmuls f1, f30, f3 +/* 802B6580 002B34E0 39 23 68 14 */ addi r9, r3, lbl_803D6814@l +/* 802B6584 002B34E4 EC 1F 00 F2 */ fmuls f0, f31, f3 +/* 802B6588 002B34E8 81 09 00 00 */ lwz r8, 0(r9) +/* 802B658C 002B34EC 38 81 00 80 */ addi r4, r1, 0x80 +/* 802B6590 002B34F0 80 E9 00 08 */ lwz r7, 8(r9) +/* 802B6594 002B34F4 80 C9 00 10 */ lwz r6, 0x10(r9) +/* 802B6598 002B34F8 7C A5 07 74 */ extsb r5, r5 +/* 802B659C 002B34FC 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802B65A0 002B3500 38 60 00 01 */ li r3, 1 +/* 802B65A4 002B3504 91 01 00 80 */ stw r8, 0x80(r1) +/* 802B65A8 002B3508 81 09 00 04 */ lwz r8, 4(r9) +/* 802B65AC 002B350C 90 E1 00 88 */ stw r7, 0x88(r1) +/* 802B65B0 002B3510 80 E9 00 0C */ lwz r7, 0xc(r9) +/* 802B65B4 002B3514 90 C1 00 90 */ stw r6, 0x90(r1) +/* 802B65B8 002B3518 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B65BC 002B351C 91 01 00 84 */ stw r8, 0x84(r1) +/* 802B65C0 002B3520 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 802B65C4 002B3524 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802B65C8 002B3528 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802B65CC 002B352C D0 61 00 90 */ stfs f3, 0x90(r1) +/* 802B65D0 002B3530 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802B65D4 002B3534 48 0C 48 F5 */ bl GXSetIndTexMtx +/* 802B65D8 002B3538 38 60 00 00 */ li r3, 0 +/* 802B65DC 002B353C 38 80 00 01 */ li r4, 1 +/* 802B65E0 002B3540 38 A0 00 01 */ li r5, 1 +/* 802B65E4 002B3544 48 0C 4B C1 */ bl GXSetIndTexOrder +/* 802B65E8 002B3548 38 00 00 00 */ li r0, 0 +/* 802B65EC 002B354C 38 60 00 00 */ li r3, 0 +/* 802B65F0 002B3550 90 01 00 08 */ stw r0, 8(r1) +/* 802B65F4 002B3554 38 80 00 00 */ li r4, 0 +/* 802B65F8 002B3558 38 A0 00 00 */ li r5, 0 +/* 802B65FC 002B355C 38 C0 00 07 */ li r6, 7 +/* 802B6600 002B3560 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B6604 002B3564 38 E0 00 01 */ li r7, 1 +/* 802B6608 002B3568 39 00 00 00 */ li r8, 0 +/* 802B660C 002B356C 39 20 00 00 */ li r9, 0 +/* 802B6610 002B3570 39 40 00 00 */ li r10, 0 +/* 802B6614 002B3574 48 05 21 79 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B6618 002B3578 38 60 00 01 */ li r3, 1 +/* 802B661C 002B357C 48 05 20 75 */ bl SetNumIndStages__3CGXFUc +/* 802B6620 002B3580 38 60 00 02 */ li r3, 2 +/* 802B6624 002B3584 48 05 26 6D */ bl SetNumTevStages__3CGXFUc +/* 802B6628 002B3588 38 60 00 03 */ li r3, 3 +/* 802B662C 002B358C 48 05 27 E9 */ bl SetNumTexGens__3CGXFUc +/* 802B6630 002B3590 38 60 00 01 */ li r3, 1 +/* 802B6634 002B3594 48 05 28 1D */ bl SetNumChans__3CGXFUc +/* 802B6638 002B3598 38 60 00 01 */ li r3, 1 +/* 802B663C 002B359C 38 80 00 01 */ li r4, 1 +/* 802B6640 002B35A0 38 A0 00 05 */ li r5, 5 +/* 802B6644 002B35A4 38 C0 00 00 */ li r6, 0 +/* 802B6648 002B35A8 48 05 22 89 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B664C 002B35AC 3C 60 80 3D */ lis r3, lbl_803D682C@ha +/* 802B6650 002B35B0 38 63 68 2C */ addi r3, r3, lbl_803D682C@l +/* 802B6654 002B35B4 48 05 17 D5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B6658 002B35B8 48 05 38 05 */ bl GetProjectionState__9CGraphicsFv +/* 802B665C 002B35BC 88 03 00 00 */ lbz r0, 0(r3) +/* 802B6660 002B35C0 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B6664 002B35C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B6668 002B35C8 98 01 00 64 */ stb r0, 0x64(r1) +/* 802B666C 002B35CC C0 03 00 04 */ lfs f0, 4(r3) +/* 802B6670 002B35D0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802B6674 002B35D4 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B6678 002B35D8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802B667C 002B35DC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B6680 002B35E0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B6684 002B35E4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B6688 002B35E8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802B668C 002B35EC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B6690 002B35F0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802B6694 002B35F4 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B6698 002B35F8 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B669C 002B35FC D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B66A0 002B3600 48 05 C4 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B66A4 002B3604 3C 60 43 30 */ lis r3, 0x4330 +/* 802B66A8 002B3608 6F E4 80 00 */ xoris r4, r31, 0x8000 +/* 802B66AC 002B360C 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802B66B0 002B3610 90 81 00 CC */ stw r4, 0xcc(r1) +/* 802B66B4 002B3614 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B66B8 002B3618 90 61 00 C8 */ stw r3, 0xc8(r1) +/* 802B66BC 002B361C C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B66C0 002B3620 FC 60 08 90 */ fmr f3, f1 +/* 802B66C4 002B3624 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802B66C8 002B3628 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802B66CC 002B362C EC 40 20 28 */ fsubs f2, f0, f4 +/* 802B66D0 002B3630 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802B66D4 002B3634 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 802B66D8 002B3638 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802B66DC 002B363C C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 802B66E0 002B3640 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802B66E4 002B3644 48 05 5E 71 */ bl SetOrtho__9CGraphicsFffffff +/* 802B66E8 002B3648 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B66EC 002B364C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B66F0 002B3650 48 05 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B66F4 002B3654 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B66F8 002B3658 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B66FC 002B365C 48 05 5E E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B6700 002B3660 38 60 00 00 */ li r3, 0 +/* 802B6704 002B3664 38 80 00 07 */ li r4, 7 +/* 802B6708 002B3668 38 A0 00 00 */ li r5, 0 +/* 802B670C 002B366C 48 05 21 71 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B6710 002B3670 38 60 00 00 */ li r3, 0 +/* 802B6714 002B3674 48 0C 24 45 */ bl GXSetCullMode +/* 802B6718 002B3678 38 60 00 01 */ li r3, 1 +/* 802B671C 002B367C 38 80 00 00 */ li r4, 0 +/* 802B6720 002B3680 48 0C 59 C1 */ bl GXSetDstAlpha +/* 802B6724 002B3684 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6728 002B3688 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B672C 002B368C 83 BD 00 00 */ lwz r29, 0(r29) +/* 802B6730 002B3690 FC 40 08 90 */ fmr f2, f1 +/* 802B6734 002B3694 48 05 DA CD */ bl __ct__9CVector2fFff +/* 802B6738 002B3698 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B673C 002B369C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B6740 002B36A0 FC 40 08 90 */ fmr f2, f1 +/* 802B6744 002B36A4 48 05 DA BD */ bl __ct__9CVector2fFff +/* 802B6748 002B36A8 38 60 00 A0 */ li r3, 0xa0 +/* 802B674C 002B36AC 38 80 00 00 */ li r4, 0 +/* 802B6750 002B36B0 38 A0 00 04 */ li r5, 4 +/* 802B6754 002B36B4 48 05 1E 31 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6758 002B36B8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 802B675C 002B36BC 3C 80 43 30 */ lis r4, 0x4330 +/* 802B6760 002B36C0 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 802B6764 002B36C4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6768 002B36C8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B676C 002B36CC C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) +/* 802B6770 002B36D0 90 01 00 DC */ stw r0, 0xdc(r1) +/* 802B6774 002B36D4 C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) +/* 802B6778 002B36D8 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802B677C 002B36DC 90 81 00 E0 */ stw r4, 0xe0(r1) +/* 802B6780 002B36E0 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802B6784 002B36E4 C0 A2 C2 98 */ lfs f5, lbl_805ADFB8@sda21(r2) +/* 802B6788 002B36E8 90 01 00 EC */ stw r0, 0xec(r1) +/* 802B678C 002B36EC C0 82 C2 84 */ lfs f4, lbl_805ADFA4@sda21(r2) +/* 802B6790 002B36F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6794 002B36F4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6798 002B36F8 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B679C 002B36FC 90 81 00 E8 */ stw r4, 0xe8(r1) +/* 802B67A0 002B3700 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B67A4 002B3704 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802B67A8 002B3708 C8 01 00 E8 */ lfd f0, 0xe8(r1) +/* 802B67AC 002B370C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 802B67B0 002B3710 EC 20 38 28 */ fsubs f1, f0, f7 +/* 802B67B4 002B3714 90 81 00 F0 */ stw r4, 0xf0(r1) +/* 802B67B8 002B3718 EC 02 38 28 */ fsubs f0, f2, f7 +/* 802B67BC 002B371C 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 802B67C0 002B3720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67C4 002B3724 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B67C8 002B3728 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B67CC 002B372C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B67D0 002B3730 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802B67D4 002B3734 90 81 01 00 */ stw r4, 0x100(r1) +/* 802B67D8 002B3738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67DC 002B373C C1 41 00 50 */ lfs f10, 0x50(r1) +/* 802B67E0 002B3740 90 81 01 08 */ stw r4, 0x108(r1) +/* 802B67E4 002B3744 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 802B67E8 002B3748 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802B67EC 002B374C 90 01 01 14 */ stw r0, 0x114(r1) +/* 802B67F0 002B3750 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B67F4 002B3754 C1 61 00 30 */ lfs f11, 0x30(r1) +/* 802B67F8 002B3758 90 81 01 10 */ stw r4, 0x110(r1) +/* 802B67FC 002B375C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 802B6800 002B3760 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802B6804 002B3764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6808 002B3768 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802B680C 002B376C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6810 002B3770 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802B6814 002B3774 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B6818 002B3778 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802B681C 002B377C C8 21 00 F0 */ lfd f1, 0xf0(r1) +/* 802B6820 002B3780 90 01 01 04 */ stw r0, 0x104(r1) +/* 802B6824 002B3784 EC 41 38 28 */ fsubs f2, f1, f7 +/* 802B6828 002B3788 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802B682C 002B378C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6830 002B3790 EC 41 38 28 */ fsubs f2, f1, f7 +/* 802B6834 002B3794 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B6838 002B3798 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B683C 002B379C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6840 002B37A0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802B6844 002B37A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6848 002B37A8 C1 01 00 48 */ lfs f8, 0x48(r1) +/* 802B684C 002B37AC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B6850 002B37B0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802B6854 002B37B4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6858 002B37B8 C1 21 00 28 */ lfs f9, 0x28(r1) +/* 802B685C 002B37BC D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802B6860 002B37C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B6864 002B37C4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B6868 002B37C8 90 01 00 FC */ stw r0, 0xfc(r1) +/* 802B686C 002B37CC C8 21 00 F8 */ lfd f1, 0xf8(r1) +/* 802B6870 002B37D0 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802B6874 002B37D4 EC 61 38 28 */ fsubs f3, f1, f7 +/* 802B6878 002B37D8 C8 21 01 08 */ lfd f1, 0x108(r1) +/* 802B687C 002B37DC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B6880 002B37E0 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802B6884 002B37E4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B6888 002B37E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B688C 002B37EC 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B6890 002B37F0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6894 002B37F4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B6898 002B37F8 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802B689C 002B37FC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B68A0 002B3800 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B68A4 002B3804 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802B68A8 002B3808 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B68AC 002B380C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802B68B0 002B3810 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B68B4 002B3814 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B68B8 002B3818 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68BC 002B381C 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) +/* 802B68C0 002B3820 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B68C4 002B3824 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B68C8 002B3828 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802B68CC 002B382C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68D0 002B3830 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 802B68D4 002B3834 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802B68D8 002B3838 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B68DC 002B383C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 802B68E0 002B3840 48 05 1C A1 */ bl End__3CGXFv +/* 802B68E4 002B3844 38 60 00 01 */ li r3, 1 +/* 802B68E8 002B3848 48 0C 22 71 */ bl GXSetCullMode +/* 802B68EC 002B384C 38 60 00 00 */ li r3, 0 +/* 802B68F0 002B3850 48 05 1E 55 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B68F4 002B3854 38 60 00 00 */ li r3, 0 +/* 802B68F8 002B3858 48 05 1D 99 */ bl SetNumIndStages__3CGXFUc +/* 802B68FC 002B385C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802B6900 002B3860 48 05 35 01 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802B6904 002B3864 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B6908 002B3868 48 05 5E 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +lbl_802B690C: +/* 802B690C 002B386C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 802B6910 002B3870 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 802B6914 002B3874 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 802B6918 002B3878 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 802B691C 002B387C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 802B6920 002B3880 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 802B6924 002B3884 BB 41 01 18 */ lmw r26, 0x118(r1) +/* 802B6928 002B3888 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802B692C 002B388C 7C 08 03 A6 */ mtlr r0 +/* 802B6930 002B3890 38 21 01 60 */ addi r1, r1, 0x160 +/* 802B6934 002B3894 4E 80 00 20 */ blr + +.global ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture +ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture: +/* 802B6938 002B3898 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B693C 002B389C 7C 08 02 A6 */ mflr r0 +/* 802B6940 002B38A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B6944 002B38A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B6948 002B38A8 7C 9F 23 78 */ mr r31, r4 +/* 802B694C 002B38AC 80 82 C7 A8 */ lwz r4, lbl_805AE4C8@sda21(r2) +/* 802B6950 002B38B0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B6954 002B38B4 7C 7E 1B 78 */ mr r30, r3 +/* 802B6958 002B38B8 7C A3 2B 78 */ mr r3, r5 +/* 802B695C 002B38BC 38 A0 00 01 */ li r5, 1 +/* 802B6960 002B38C0 48 05 8D DD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B6964 002B38C4 3C 80 80 3D */ lis r4, lbl_803D67F4@ha +/* 802B6968 002B38C8 38 61 00 08 */ addi r3, r1, 8 +/* 802B696C 002B38CC 39 64 67 F4 */ addi r11, r4, lbl_803D67F4@l +/* 802B6970 002B38D0 81 4B 00 00 */ lwz r10, 0(r11) +/* 802B6974 002B38D4 81 2B 00 04 */ lwz r9, 4(r11) +/* 802B6978 002B38D8 81 0B 00 08 */ lwz r8, 8(r11) +/* 802B697C 002B38DC 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802B6980 002B38E0 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802B6984 002B38E4 80 AB 00 14 */ lwz r5, 0x14(r11) +/* 802B6988 002B38E8 80 8B 00 18 */ lwz r4, 0x18(r11) +/* 802B698C 002B38EC 80 0B 00 1C */ lwz r0, 0x1c(r11) +/* 802B6990 002B38F0 91 41 00 08 */ stw r10, 8(r1) +/* 802B6994 002B38F4 91 21 00 0C */ stw r9, 0xc(r1) +/* 802B6998 002B38F8 91 01 00 10 */ stw r8, 0x10(r1) +/* 802B699C 002B38FC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802B69A0 002B3900 90 C1 00 18 */ stw r6, 0x18(r1) +/* 802B69A4 002B3904 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 802B69A8 002B3908 90 81 00 20 */ stw r4, 0x20(r1) +/* 802B69AC 002B390C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B69B0 002B3910 48 05 14 79 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B69B4 002B3914 7F C3 F3 78 */ mr r3, r30 +/* 802B69B8 002B3918 81 9E 00 00 */ lwz r12, 0(r30) +/* 802B69BC 002B391C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 802B69C0 002B3920 7D 89 03 A6 */ mtctr r12 +/* 802B69C4 002B3924 4E 80 04 21 */ bctrl +/* 802B69C8 002B3928 38 60 00 01 */ li r3, 1 +/* 802B69CC 002B392C 48 05 24 85 */ bl SetNumChans__3CGXFUc +/* 802B69D0 002B3930 38 60 00 01 */ li r3, 1 +/* 802B69D4 002B3934 48 05 24 41 */ bl SetNumTexGens__3CGXFUc +/* 802B69D8 002B3938 38 60 00 01 */ li r3, 1 +/* 802B69DC 002B393C 48 05 22 B5 */ bl SetNumTevStages__3CGXFUc +/* 802B69E0 002B3940 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B69E4 002B3944 38 60 00 00 */ li r3, 0 +/* 802B69E8 002B3948 38 80 00 00 */ li r4, 0 +/* 802B69EC 002B394C 38 C0 00 04 */ li r6, 4 +/* 802B69F0 002B3950 48 05 1F 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B69F4 002B3954 38 60 00 00 */ li r3, 0 +/* 802B69F8 002B3958 38 80 00 0F */ li r4, 0xf +/* 802B69FC 002B395C 38 A0 00 09 */ li r5, 9 +/* 802B6A00 002B3960 38 C0 00 0A */ li r6, 0xa +/* 802B6A04 002B3964 38 E0 00 0F */ li r7, 0xf +/* 802B6A08 002B3968 48 05 21 E5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6A0C 002B396C 38 60 00 00 */ li r3, 0 +/* 802B6A10 002B3970 38 80 00 00 */ li r4, 0 +/* 802B6A14 002B3974 38 A0 00 00 */ li r5, 0 +/* 802B6A18 002B3978 38 C0 00 00 */ li r6, 0 +/* 802B6A1C 002B397C 38 E0 00 01 */ li r7, 1 +/* 802B6A20 002B3980 39 00 00 00 */ li r8, 0 +/* 802B6A24 002B3984 48 05 21 15 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6A28 002B3988 38 60 00 00 */ li r3, 0 +/* 802B6A2C 002B398C 38 80 00 07 */ li r4, 7 +/* 802B6A30 002B3990 38 A0 00 04 */ li r5, 4 +/* 802B6A34 002B3994 38 C0 00 05 */ li r6, 5 +/* 802B6A38 002B3998 38 E0 00 07 */ li r7, 7 +/* 802B6A3C 002B399C 48 05 21 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B6A40 002B39A0 38 60 00 00 */ li r3, 0 +/* 802B6A44 002B39A4 38 80 00 00 */ li r4, 0 +/* 802B6A48 002B39A8 38 A0 00 00 */ li r5, 0 +/* 802B6A4C 002B39AC 38 C0 00 00 */ li r6, 0 +/* 802B6A50 002B39B0 38 E0 00 01 */ li r7, 1 +/* 802B6A54 002B39B4 39 00 00 00 */ li r8, 0 +/* 802B6A58 002B39B8 48 05 20 29 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6A5C 002B39BC 38 60 00 00 */ li r3, 0 +/* 802B6A60 002B39C0 38 80 00 00 */ li r4, 0 +/* 802B6A64 002B39C4 38 A0 00 00 */ li r5, 0 +/* 802B6A68 002B39C8 38 C0 00 01 */ li r6, 1 +/* 802B6A6C 002B39CC 38 E0 00 00 */ li r7, 0 +/* 802B6A70 002B39D0 39 00 00 00 */ li r8, 0 +/* 802B6A74 002B39D4 39 20 00 02 */ li r9, 2 +/* 802B6A78 002B39D8 48 05 22 55 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6A7C 002B39DC 38 60 00 01 */ li r3, 1 +/* 802B6A80 002B39E0 38 80 00 01 */ li r4, 1 +/* 802B6A84 002B39E4 38 A0 00 01 */ li r5, 1 +/* 802B6A88 002B39E8 38 C0 00 00 */ li r6, 0 +/* 802B6A8C 002B39EC 48 05 1E 45 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B6A90 002B39F0 38 60 00 07 */ li r3, 7 +/* 802B6A94 002B39F4 38 80 00 00 */ li r4, 0 +/* 802B6A98 002B39F8 38 A0 00 01 */ li r5, 1 +/* 802B6A9C 002B39FC 38 C0 00 07 */ li r6, 7 +/* 802B6AA0 002B3A00 38 E0 00 00 */ li r7, 0 +/* 802B6AA4 002B3A04 48 05 1D 71 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B6AA8 002B3A08 48 09 35 0D */ bl Black__6CColorFv +/* 802B6AAC 002B3A0C 7C 64 1B 78 */ mr r4, r3 +/* 802B6AB0 002B3A10 38 60 00 00 */ li r3, 0 +/* 802B6AB4 002B3A14 48 05 23 11 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6AB8 002B3A18 38 60 00 01 */ li r3, 1 +/* 802B6ABC 002B3A1C 38 80 00 00 */ li r4, 0 +/* 802B6AC0 002B3A20 48 0C 56 21 */ bl GXSetDstAlpha +/* 802B6AC4 002B3A24 38 60 00 01 */ li r3, 1 +/* 802B6AC8 002B3A28 48 0C 54 39 */ bl GXSetColorUpdate +/* 802B6ACC 002B3A2C 83 FF 00 00 */ lwz r31, 0(r31) +/* 802B6AD0 002B3A30 38 60 00 98 */ li r3, 0x98 +/* 802B6AD4 002B3A34 38 80 00 00 */ li r4, 0 +/* 802B6AD8 002B3A38 38 A0 00 04 */ li r5, 4 +/* 802B6ADC 002B3A3C 48 05 1A A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6AE0 002B3A40 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6AE4 002B3A44 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6AE8 002B3A48 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802B6AEC 002B3A4C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF0 002B3A50 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF4 002B3A54 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6AF8 002B3A58 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6AFC 002B3A5C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B00 002B3A60 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B04 002B3A64 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B08 002B3A68 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B0C 002B3A6C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B10 002B3A70 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B14 002B3A74 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B18 002B3A78 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B1C 002B3A7C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B20 002B3A80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B24 002B3A84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B28 002B3A88 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B2C 002B3A8C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B30 002B3A90 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B34 002B3A94 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B38 002B3A98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B3C 002B3A9C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B40 002B3AA0 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) +/* 802B6B44 002B3AA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6B48 002B3AA8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6B4C 002B3AAC 48 05 1A 35 */ bl End__3CGXFv +/* 802B6B50 002B3AB0 38 60 00 01 */ li r3, 1 +/* 802B6B54 002B3AB4 38 80 00 03 */ li r4, 3 +/* 802B6B58 002B3AB8 38 A0 00 01 */ li r5, 1 +/* 802B6B5C 002B3ABC 48 05 4F 39 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B6B60 002B3AC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B6B64 002B3AC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B6B68 002B3AC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B6B6C 002B3ACC 7C 08 03 A6 */ mtlr r0 +/* 802B6B70 002B3AD0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B6B74 002B3AD4 4E 80 00 20 */ blr + +.global DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff +DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff: +/* 802B6B78 002B3AD8 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802B6B7C 002B3ADC 7C 08 02 A6 */ mflr r0 +/* 802B6B80 002B3AE0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802B6B84 002B3AE4 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802B6B88 002B3AE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802B6B8C 002B3AEC DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802B6B90 002B3AF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802B6B94 002B3AF4 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802B6B98 002B3AF8 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802B6B9C 002B3AFC DB 81 00 D0 */ stfd f28, 0xd0(r1) +/* 802B6BA0 002B3B00 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 +/* 802B6BA4 002B3B04 DB 61 00 C0 */ stfd f27, 0xc0(r1) +/* 802B6BA8 002B3B08 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 +/* 802B6BAC 002B3B0C BE A1 00 94 */ stmw r21, 0x94(r1) +/* 802B6BB0 002B3B10 FF 60 08 90 */ fmr f27, f1 +/* 802B6BB4 002B3B14 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B6BB8 002B3B18 FF C0 10 90 */ fmr f30, f2 +/* 802B6BBC 002B3B1C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802B6BC0 002B3B20 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802B6BC4 002B3B24 FC 80 08 90 */ fmr f4, f1 +/* 802B6BC8 002B3B28 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802B6BCC 002B3B2C FC 60 10 90 */ fmr f3, f2 +/* 802B6BD0 002B3B30 FC C0 10 90 */ fmr f6, f2 +/* 802B6BD4 002B3B34 83 A4 00 08 */ lwz r29, 8(r4) +/* 802B6BD8 002B3B38 83 E4 00 0C */ lwz r31, 0xc(r4) +/* 802B6BDC 002B3B3C 7C 7C 1B 78 */ mr r28, r3 +/* 802B6BE0 002B3B40 C0 A2 C2 A8 */ lfs f5, lbl_805ADFC8@sda21(r2) +/* 802B6BE4 002B3B44 48 05 59 71 */ bl SetOrtho__9CGraphicsFffffff +/* 802B6BE8 002B3B48 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B6BEC 002B3B4C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802B6BF0 002B3B50 48 05 5B 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B6BF4 002B3B54 81 9C 00 00 */ lwz r12, 0(r28) +/* 802B6BF8 002B3B58 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B6BFC 002B3B5C 7F 83 E3 78 */ mr r3, r28 +/* 802B6C00 002B3B60 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 802B6C04 002B3B64 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B6C08 002B3B68 7D 89 03 A6 */ mtctr r12 +/* 802B6C0C 002B3B6C 4E 80 04 21 */ bctrl +/* 802B6C10 002B3B70 38 60 00 00 */ li r3, 0 +/* 802B6C14 002B3B74 38 80 00 06 */ li r4, 6 +/* 802B6C18 002B3B78 38 A0 00 00 */ li r5, 0 +/* 802B6C1C 002B3B7C 48 05 4E 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B6C20 002B3B80 38 60 00 08 */ li r3, 8 +/* 802B6C24 002B3B84 48 00 08 31 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6C28 002B3B88 7C 66 1B 78 */ mr r6, r3 +/* 802B6C2C 002B3B8C 7F 83 E3 78 */ mr r3, r28 +/* 802B6C30 002B3B90 38 80 00 01 */ li r4, 1 +/* 802B6C34 002B3B94 38 A0 00 01 */ li r5, 1 +/* 802B6C38 002B3B98 38 E0 00 27 */ li r7, 0x27 +/* 802B6C3C 002B3B9C 39 00 00 01 */ li r8, 1 +/* 802B6C40 002B3BA0 48 00 07 0D */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B6C44 002B3BA4 38 60 00 01 */ li r3, 1 +/* 802B6C48 002B3BA8 38 80 00 00 */ li r4, 0 +/* 802B6C4C 002B3BAC 48 0C 54 95 */ bl GXSetDstAlpha +/* 802B6C50 002B3BB0 38 60 00 08 */ li r3, 8 +/* 802B6C54 002B3BB4 48 00 08 01 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6C58 002B3BB8 57 A4 0F FE */ srwi r4, r29, 0x1f +/* 802B6C5C 002B3BBC 57 E0 0F FE */ srwi r0, r31, 0x1f +/* 802B6C60 002B3BC0 7C 84 EA 14 */ add r4, r4, r29 +/* 802B6C64 002B3BC4 7C 66 1B 78 */ mr r6, r3 +/* 802B6C68 002B3BC8 7C 83 0E 70 */ srawi r3, r4, 1 +/* 802B6C6C 002B3BCC 7C 00 FA 14 */ add r0, r0, r31 +/* 802B6C70 002B3BD0 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B6C74 002B3BD4 7C 04 0E 70 */ srawi r4, r0, 1 +/* 802B6C78 002B3BD8 38 A0 00 01 */ li r5, 1 +/* 802B6C7C 002B3BDC 48 05 33 A5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6C80 002B3BE0 3C 80 80 3D */ lis r4, lbl_803D6794@ha +/* 802B6C84 002B3BE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B6C88 002B3BE8 39 64 67 94 */ addi r11, r4, lbl_803D6794@l +/* 802B6C8C 002B3BEC 81 4B 00 00 */ lwz r10, 0(r11) +/* 802B6C90 002B3BF0 81 2B 00 04 */ lwz r9, 4(r11) +/* 802B6C94 002B3BF4 81 0B 00 08 */ lwz r8, 8(r11) +/* 802B6C98 002B3BF8 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802B6C9C 002B3BFC 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802B6CA0 002B3C00 80 AB 00 14 */ lwz r5, 0x14(r11) +/* 802B6CA4 002B3C04 80 8B 00 18 */ lwz r4, 0x18(r11) +/* 802B6CA8 002B3C08 80 0B 00 1C */ lwz r0, 0x1c(r11) +/* 802B6CAC 002B3C0C 91 41 00 24 */ stw r10, 0x24(r1) +/* 802B6CB0 002B3C10 91 21 00 28 */ stw r9, 0x28(r1) +/* 802B6CB4 002B3C14 91 01 00 2C */ stw r8, 0x2c(r1) +/* 802B6CB8 002B3C18 90 E1 00 30 */ stw r7, 0x30(r1) +/* 802B6CBC 002B3C1C 90 C1 00 34 */ stw r6, 0x34(r1) +/* 802B6CC0 002B3C20 90 A1 00 38 */ stw r5, 0x38(r1) +/* 802B6CC4 002B3C24 90 81 00 3C */ stw r4, 0x3c(r1) +/* 802B6CC8 002B3C28 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B6CCC 002B3C2C 48 05 11 5D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B6CD0 002B3C30 38 60 00 01 */ li r3, 1 +/* 802B6CD4 002B3C34 48 05 21 7D */ bl SetNumChans__3CGXFUc +/* 802B6CD8 002B3C38 38 60 00 01 */ li r3, 1 +/* 802B6CDC 002B3C3C 48 05 21 39 */ bl SetNumTexGens__3CGXFUc +/* 802B6CE0 002B3C40 38 60 00 01 */ li r3, 1 +/* 802B6CE4 002B3C44 48 05 1F AD */ bl SetNumTevStages__3CGXFUc +/* 802B6CE8 002B3C48 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802B6CEC 002B3C4C 38 60 00 00 */ li r3, 0 +/* 802B6CF0 002B3C50 38 80 00 00 */ li r4, 0 +/* 802B6CF4 002B3C54 38 C0 00 04 */ li r6, 4 +/* 802B6CF8 002B3C58 48 05 1C 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B6CFC 002B3C5C 38 60 00 00 */ li r3, 0 +/* 802B6D00 002B3C60 38 80 00 0F */ li r4, 0xf +/* 802B6D04 002B3C64 38 A0 00 09 */ li r5, 9 +/* 802B6D08 002B3C68 38 C0 00 0A */ li r6, 0xa +/* 802B6D0C 002B3C6C 38 E0 00 0F */ li r7, 0xf +/* 802B6D10 002B3C70 48 05 1E DD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B6D14 002B3C74 38 60 00 00 */ li r3, 0 +/* 802B6D18 002B3C78 38 80 00 00 */ li r4, 0 +/* 802B6D1C 002B3C7C 38 A0 00 00 */ li r5, 0 +/* 802B6D20 002B3C80 38 C0 00 00 */ li r6, 0 +/* 802B6D24 002B3C84 38 E0 00 01 */ li r7, 1 +/* 802B6D28 002B3C88 39 00 00 00 */ li r8, 0 +/* 802B6D2C 002B3C8C 48 05 1E 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6D30 002B3C90 38 60 00 00 */ li r3, 0 +/* 802B6D34 002B3C94 38 80 00 07 */ li r4, 7 +/* 802B6D38 002B3C98 38 A0 00 04 */ li r5, 4 +/* 802B6D3C 002B3C9C 38 C0 00 05 */ li r6, 5 +/* 802B6D40 002B3CA0 38 E0 00 07 */ li r7, 7 +/* 802B6D44 002B3CA4 48 05 1E 51 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B6D48 002B3CA8 38 60 00 00 */ li r3, 0 +/* 802B6D4C 002B3CAC 38 80 00 00 */ li r4, 0 +/* 802B6D50 002B3CB0 38 A0 00 00 */ li r5, 0 +/* 802B6D54 002B3CB4 38 C0 00 00 */ li r6, 0 +/* 802B6D58 002B3CB8 38 E0 00 01 */ li r7, 1 +/* 802B6D5C 002B3CBC 39 00 00 00 */ li r8, 0 +/* 802B6D60 002B3CC0 48 05 1D 21 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B6D64 002B3CC4 38 60 00 00 */ li r3, 0 +/* 802B6D68 002B3CC8 38 80 00 00 */ li r4, 0 +/* 802B6D6C 002B3CCC 38 A0 00 00 */ li r5, 0 +/* 802B6D70 002B3CD0 38 C0 00 01 */ li r6, 1 +/* 802B6D74 002B3CD4 38 E0 00 00 */ li r7, 0 +/* 802B6D78 002B3CD8 39 00 00 00 */ li r8, 0 +/* 802B6D7C 002B3CDC 39 20 00 02 */ li r9, 2 +/* 802B6D80 002B3CE0 48 05 1F 4D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B6D84 002B3CE4 38 60 00 01 */ li r3, 1 +/* 802B6D88 002B3CE8 38 80 00 01 */ li r4, 1 +/* 802B6D8C 002B3CEC 38 A0 00 01 */ li r5, 1 +/* 802B6D90 002B3CF0 38 C0 00 00 */ li r6, 0 +/* 802B6D94 002B3CF4 48 05 1B 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B6D98 002B3CF8 38 60 00 00 */ li r3, 0 +/* 802B6D9C 002B3CFC 48 0C 51 65 */ bl GXSetColorUpdate +/* 802B6DA0 002B3D00 38 60 00 07 */ li r3, 7 +/* 802B6DA4 002B3D04 38 80 00 00 */ li r4, 0 +/* 802B6DA8 002B3D08 38 A0 00 01 */ li r5, 1 +/* 802B6DAC 002B3D0C 38 C0 00 07 */ li r6, 7 +/* 802B6DB0 002B3D10 38 E0 00 00 */ li r7, 0 +/* 802B6DB4 002B3D14 48 05 1A 61 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B6DB8 002B3D18 48 09 31 F5 */ bl White__6CColorFv +/* 802B6DBC 002B3D1C 7C 64 1B 78 */ mr r4, r3 +/* 802B6DC0 002B3D20 38 60 00 00 */ li r3, 0 +/* 802B6DC4 002B3D24 48 05 1F 99 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6DC8 002B3D28 48 09 31 ED */ bl Black__6CColorFv +/* 802B6DCC 002B3D2C 7C 64 1B 78 */ mr r4, r3 +/* 802B6DD0 002B3D30 38 60 00 00 */ li r3, 0 +/* 802B6DD4 002B3D34 48 05 1F F1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802B6DD8 002B3D38 48 09 31 D5 */ bl White__6CColorFv +/* 802B6DDC 002B3D3C 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B6DE0 002B3D40 38 60 00 00 */ li r3, 0 +/* 802B6DE4 002B3D44 38 80 00 00 */ li r4, 0 +/* 802B6DE8 002B3D48 48 0C 52 F9 */ bl GXSetDstAlpha +/* 802B6DEC 002B3D4C 38 60 00 98 */ li r3, 0x98 +/* 802B6DF0 002B3D50 38 80 00 00 */ li r4, 0 +/* 802B6DF4 002B3D54 38 A0 00 04 */ li r5, 4 +/* 802B6DF8 002B3D58 48 05 17 8D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6DFC 002B3D5C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) +/* 802B6E00 002B3D60 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B6E04 002B3D64 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6E08 002B3D68 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E0C 002B3D6C C0 02 C2 80 */ lfs f0, lbl_805ADFA0@sda21(r2) +/* 802B6E10 002B3D70 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E14 002B3D74 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E18 002B3D78 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E1C 002B3D7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E20 002B3D80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E24 002B3D84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E28 002B3D88 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E2C 002B3D8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E30 002B3D90 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E34 002B3D94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E38 002B3D98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E3C 002B3D9C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E40 002B3DA0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E44 002B3DA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E48 002B3DA8 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E4C 002B3DAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E50 002B3DB0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E54 002B3DB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E58 002B3DB8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E5C 002B3DBC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B6E60 002B3DC0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B6E64 002B3DC4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B6E68 002B3DC8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B6E6C 002B3DCC 48 05 17 15 */ bl End__3CGXFv +/* 802B6E70 002B3DD0 38 60 00 08 */ li r3, 8 +/* 802B6E74 002B3DD4 48 00 05 E1 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6E78 002B3DD8 7C 66 1B 78 */ mr r6, r3 +/* 802B6E7C 002B3DDC 7F 83 E3 78 */ mr r3, r28 +/* 802B6E80 002B3DE0 38 80 00 02 */ li r4, 2 +/* 802B6E84 002B3DE4 38 A0 00 01 */ li r5, 1 +/* 802B6E88 002B3DE8 38 E0 00 27 */ li r7, 0x27 +/* 802B6E8C 002B3DEC 39 00 00 01 */ li r8, 1 +/* 802B6E90 002B3DF0 48 00 04 BD */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B6E94 002B3DF4 38 60 00 00 */ li r3, 0 +/* 802B6E98 002B3DF8 48 0C 50 69 */ bl GXSetColorUpdate +/* 802B6E9C 002B3DFC 38 60 00 08 */ li r3, 8 +/* 802B6EA0 002B3E00 48 00 05 B5 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B6EA4 002B3E04 7F BE 16 70 */ srawi r30, r29, 2 +/* 802B6EA8 002B3E08 7C 66 1B 78 */ mr r6, r3 +/* 802B6EAC 002B3E0C 7F FF 16 70 */ srawi r31, r31, 2 +/* 802B6EB0 002B3E10 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B6EB4 002B3E14 7F C3 F3 78 */ mr r3, r30 +/* 802B6EB8 002B3E18 38 A0 00 01 */ li r5, 1 +/* 802B6EBC 002B3E1C 7F E4 FB 78 */ mr r4, r31 +/* 802B6EC0 002B3E20 48 05 31 61 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B6EC4 002B3E24 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 802B6EC8 002B3E28 3C 00 43 30 */ lis r0, 0x4330 +/* 802B6ECC 002B3E2C 90 61 00 8C */ stw r3, 0x8c(r1) +/* 802B6ED0 002B3E30 3C 60 80 3D */ lis r3, lbl_803D67B4@ha +/* 802B6ED4 002B3E34 3A A3 67 B4 */ addi r21, r3, lbl_803D67B4@l +/* 802B6ED8 002B3E38 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B6EDC 002B3E3C 90 01 00 88 */ stw r0, 0x88(r1) +/* 802B6EE0 002B3E40 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B6EE4 002B3E44 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B6EE8 002B3E48 FC 40 08 90 */ fmr f2, f1 +/* 802B6EEC 002B3E4C C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802B6EF0 002B3E50 FC 60 08 90 */ fmr f3, f1 +/* 802B6EF4 002B3E54 C0 A2 C2 88 */ lfs f5, lbl_805ADFA8@sda21(r2) +/* 802B6EF8 002B3E58 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802B6EFC 002B3E5C 82 D5 00 00 */ lwz r22, 0(r21) +/* 802B6F00 002B3E60 82 F5 00 04 */ lwz r23, 4(r21) +/* 802B6F04 002B3E64 83 15 00 08 */ lwz r24, 8(r21) +/* 802B6F08 002B3E68 EC 05 00 24 */ fdivs f0, f5, f0 +/* 802B6F0C 002B3E6C 83 35 00 0C */ lwz r25, 0xc(r21) +/* 802B6F10 002B3E70 83 55 00 10 */ lwz r26, 0x10(r21) +/* 802B6F14 002B3E74 83 75 00 14 */ lwz r27, 0x14(r21) +/* 802B6F18 002B3E78 81 95 00 18 */ lwz r12, 0x18(r21) +/* 802B6F1C 002B3E7C 81 75 00 1C */ lwz r11, 0x1c(r21) +/* 802B6F20 002B3E80 81 55 00 20 */ lwz r10, 0x20(r21) +/* 802B6F24 002B3E84 EF FB 00 32 */ fmuls f31, f27, f0 +/* 802B6F28 002B3E88 81 35 00 24 */ lwz r9, 0x24(r21) +/* 802B6F2C 002B3E8C 81 15 00 28 */ lwz r8, 0x28(r21) +/* 802B6F30 002B3E90 80 F5 00 2C */ lwz r7, 0x2c(r21) +/* 802B6F34 002B3E94 80 D5 00 30 */ lwz r6, 0x30(r21) +/* 802B6F38 002B3E98 80 B5 00 34 */ lwz r5, 0x34(r21) +/* 802B6F3C 002B3E9C 80 95 00 38 */ lwz r4, 0x38(r21) +/* 802B6F40 002B3EA0 80 15 00 3C */ lwz r0, 0x3c(r21) +/* 802B6F44 002B3EA4 92 C1 00 44 */ stw r22, 0x44(r1) +/* 802B6F48 002B3EA8 C0 82 C2 AC */ lfs f4, lbl_805ADFCC@sda21(r2) +/* 802B6F4C 002B3EAC 92 E1 00 48 */ stw r23, 0x48(r1) +/* 802B6F50 002B3EB0 93 01 00 4C */ stw r24, 0x4c(r1) +/* 802B6F54 002B3EB4 93 21 00 50 */ stw r25, 0x50(r1) +/* 802B6F58 002B3EB8 93 41 00 54 */ stw r26, 0x54(r1) +/* 802B6F5C 002B3EBC 93 61 00 58 */ stw r27, 0x58(r1) +/* 802B6F60 002B3EC0 91 81 00 5C */ stw r12, 0x5c(r1) +/* 802B6F64 002B3EC4 91 61 00 60 */ stw r11, 0x60(r1) +/* 802B6F68 002B3EC8 91 41 00 64 */ stw r10, 0x64(r1) +/* 802B6F6C 002B3ECC 91 21 00 68 */ stw r9, 0x68(r1) +/* 802B6F70 002B3ED0 91 01 00 6C */ stw r8, 0x6c(r1) +/* 802B6F74 002B3ED4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 802B6F78 002B3ED8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802B6F7C 002B3EDC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802B6F80 002B3EE0 90 81 00 7C */ stw r4, 0x7c(r1) +/* 802B6F84 002B3EE4 90 01 00 80 */ stw r0, 0x80(r1) +/* 802B6F88 002B3EE8 48 0A C4 65 */ bl __ct__6CColorFffff +/* 802B6F8C 002B3EEC 3A E1 00 44 */ addi r23, r1, 0x44 +/* 802B6F90 002B3EF0 82 C3 00 00 */ lwz r22, 0(r3) +/* 802B6F94 002B3EF4 C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802B6F98 002B3EF8 7E F5 BB 78 */ mr r21, r23 +/* 802B6F9C 002B3EFC C3 82 C2 70 */ lfs f28, lbl_805ADF90@sda21(r2) +/* 802B6FA0 002B3F00 3B 00 00 00 */ li r24, 0 +/* 802B6FA4 002B3F04 C3 A2 C2 7C */ lfs f29, lbl_805ADF9C@sda21(r2) +/* 802B6FA8 002B3F08 3F 60 CC 01 */ lis r27, 0xcc01 +lbl_802B6FAC: +/* 802B6FAC 002B3F0C 38 60 00 98 */ li r3, 0x98 +/* 802B6FB0 002B3F10 38 80 00 00 */ li r4, 0 +/* 802B6FB4 002B3F14 38 A0 00 04 */ li r5, 4 +/* 802B6FB8 002B3F18 48 05 15 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B6FBC 002B3F1C C0 35 00 00 */ lfs f1, 0(r21) +/* 802B6FC0 002B3F20 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B6FC4 002B3F24 C0 15 00 04 */ lfs f0, 4(r21) +/* 802B6FC8 002B3F28 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 802B6FCC 002B3F2C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 802B6FD0 002B3F30 48 05 D2 31 */ bl __ct__9CVector2fFff +/* 802B6FD4 002B3F34 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B6FD8 002B3F38 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B6FDC 002B3F3C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B6FE0 002B3F40 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B6FE4 002B3F44 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B6FE8 002B3F48 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B6FEC 002B3F4C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B6FF0 002B3F50 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B6FF4 002B3F54 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B6FF8 002B3F58 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B6FFC 002B3F5C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7000 002B3F60 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7004 002B3F64 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7008 002B3F68 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B700C 002B3F6C 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B7010 002B3F70 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7014 002B3F74 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7018 002B3F78 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B701C 002B3F7C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7020 002B3F80 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7024 002B3F84 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7028 002B3F88 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B702C 002B3F8C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7030 002B3F90 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B7034 002B3F94 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7038 002B3F98 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B703C 002B3F9C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B7040 002B3FA0 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B7044 002B3FA4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7048 002B3FA8 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B704C 002B3FAC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B7050 002B3FB0 EC 1D 00 2A */ fadds f0, f29, f0 +/* 802B7054 002B3FB4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) +/* 802B7058 002B3FB8 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) +/* 802B705C 002B3FBC D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) +/* 802B7060 002B3FC0 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) +/* 802B7064 002B3FC4 48 05 15 1D */ bl End__3CGXFv +/* 802B7068 002B3FC8 3B 18 00 01 */ addi r24, r24, 1 +/* 802B706C 002B3FCC 3A B5 00 08 */ addi r21, r21, 8 +/* 802B7070 002B3FD0 28 18 00 08 */ cmplwi r24, 8 +/* 802B7074 002B3FD4 41 80 FF 38 */ blt lbl_802B6FAC +/* 802B7078 002B3FD8 38 60 00 00 */ li r3, 0 +/* 802B707C 002B3FDC 38 80 00 00 */ li r4, 0 +/* 802B7080 002B3FE0 48 0C 50 61 */ bl GXSetDstAlpha +/* 802B7084 002B3FE4 38 60 00 03 */ li r3, 3 +/* 802B7088 002B3FE8 38 80 00 01 */ li r4, 1 +/* 802B708C 002B3FEC 38 A0 00 00 */ li r5, 0 +/* 802B7090 002B3FF0 38 C0 00 00 */ li r6, 0 +/* 802B7094 002B3FF4 48 05 18 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7098 002B3FF8 38 60 00 04 */ li r3, 4 +/* 802B709C 002B3FFC 38 80 00 00 */ li r4, 0 +/* 802B70A0 002B4000 38 A0 00 00 */ li r5, 0 +/* 802B70A4 002B4004 38 C0 00 07 */ li r6, 7 +/* 802B70A8 002B4008 38 E0 00 00 */ li r7, 0 +/* 802B70AC 002B400C 48 05 17 69 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B70B0 002B4010 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B70B4 002B4014 38 61 00 0C */ addi r3, r1, 0xc +/* 802B70B8 002B4018 FC 40 08 90 */ fmr f2, f1 +/* 802B70BC 002B401C FC 60 08 90 */ fmr f3, f1 +/* 802B70C0 002B4020 FC 80 08 90 */ fmr f4, f1 +/* 802B70C4 002B4024 48 0A C3 29 */ bl __ct__6CColorFffff +/* 802B70C8 002B4028 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B70CC 002B402C 38 60 00 98 */ li r3, 0x98 +/* 802B70D0 002B4030 38 80 00 00 */ li r4, 0 +/* 802B70D4 002B4034 38 A0 00 04 */ li r5, 4 +/* 802B70D8 002B4038 48 05 14 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B70DC 002B403C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) +/* 802B70E0 002B4040 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B70E4 002B4044 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B70E8 002B4048 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70EC 002B404C C0 02 C2 7C */ lfs f0, lbl_805ADF9C@sda21(r2) +/* 802B70F0 002B4050 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70F4 002B4054 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B70F8 002B4058 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B70FC 002B405C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7100 002B4060 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7104 002B4064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7108 002B4068 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B710C 002B406C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7110 002B4070 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B7114 002B4074 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7118 002B4078 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B711C 002B407C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7120 002B4080 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7124 002B4084 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7128 002B4088 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B712C 002B408C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7130 002B4090 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B7134 002B4094 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7138 002B4098 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B713C 002B409C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B7140 002B40A0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) +/* 802B7144 002B40A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B7148 002B40A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B714C 002B40AC 48 05 14 35 */ bl End__3CGXFv +/* 802B7150 002B40B0 38 60 00 01 */ li r3, 1 +/* 802B7154 002B40B4 38 80 00 01 */ li r4, 1 +/* 802B7158 002B40B8 38 A0 00 01 */ li r5, 1 +/* 802B715C 002B40BC 38 C0 00 00 */ li r6, 0 +/* 802B7160 002B40C0 48 05 17 71 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7164 002B40C4 38 60 00 00 */ li r3, 0 +/* 802B7168 002B40C8 38 80 00 07 */ li r4, 7 +/* 802B716C 002B40CC 38 A0 00 04 */ li r5, 4 +/* 802B7170 002B40D0 38 C0 00 05 */ li r6, 5 +/* 802B7174 002B40D4 38 E0 00 07 */ li r7, 7 +/* 802B7178 002B40D8 48 05 1A 1D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B717C 002B40DC 38 60 00 07 */ li r3, 7 +/* 802B7180 002B40E0 38 80 00 00 */ li r4, 0 +/* 802B7184 002B40E4 38 A0 00 01 */ li r5, 1 +/* 802B7188 002B40E8 38 C0 00 07 */ li r6, 7 +/* 802B718C 002B40EC 38 E0 00 00 */ li r7, 0 +/* 802B7190 002B40F0 48 05 16 85 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B7194 002B40F4 38 60 00 08 */ li r3, 8 +/* 802B7198 002B40F8 48 00 02 BD */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B719C 002B40FC 7C 66 1B 78 */ mr r6, r3 +/* 802B71A0 002B4100 7F 83 E3 78 */ mr r3, r28 +/* 802B71A4 002B4104 38 80 00 04 */ li r4, 4 +/* 802B71A8 002B4108 38 A0 00 00 */ li r5, 0 +/* 802B71AC 002B410C 38 E0 00 27 */ li r7, 0x27 +/* 802B71B0 002B4110 39 00 00 01 */ li r8, 1 +/* 802B71B4 002B4114 48 00 01 99 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb +/* 802B71B8 002B4118 38 60 00 00 */ li r3, 0 +/* 802B71BC 002B411C 38 80 00 00 */ li r4, 0 +/* 802B71C0 002B4120 48 0C 4F 21 */ bl GXSetDstAlpha +/* 802B71C4 002B4124 38 60 00 00 */ li r3, 0 +/* 802B71C8 002B4128 48 0C 4D 39 */ bl GXSetColorUpdate +/* 802B71CC 002B412C 38 60 00 08 */ li r3, 8 +/* 802B71D0 002B4130 48 00 02 85 */ bl GetRenderToTexBuffer__13CCubeRendererFi +/* 802B71D4 002B4134 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802B71D8 002B4138 7C 66 1B 78 */ mr r6, r3 +/* 802B71DC 002B413C 7F C3 F3 78 */ mr r3, r30 +/* 802B71E0 002B4140 7F E4 FB 78 */ mr r4, r31 +/* 802B71E4 002B4144 38 A0 00 01 */ li r5, 1 +/* 802B71E8 002B4148 48 05 2E 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B71EC 002B414C 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 802B71F0 002B4150 3C 00 43 30 */ lis r0, 0x4330 +/* 802B71F4 002B4154 90 61 00 8C */ stw r3, 0x8c(r1) +/* 802B71F8 002B4158 38 61 00 08 */ addi r3, r1, 8 +/* 802B71FC 002B415C C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B7200 002B4160 90 01 00 88 */ stw r0, 0x88(r1) +/* 802B7204 002B4164 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802B7208 002B4168 FC 40 08 90 */ fmr f2, f1 +/* 802B720C 002B416C C8 01 00 88 */ lfd f0, 0x88(r1) +/* 802B7210 002B4170 FC 60 08 90 */ fmr f3, f1 +/* 802B7214 002B4174 C0 A2 C2 B0 */ lfs f5, lbl_805ADFD0@sda21(r2) +/* 802B7218 002B4178 EC 00 20 28 */ fsubs f0, f0, f4 +/* 802B721C 002B417C C0 82 C2 B4 */ lfs f4, lbl_805ADFD4@sda21(r2) +/* 802B7220 002B4180 EC 05 00 24 */ fdivs f0, f5, f0 +/* 802B7224 002B4184 EF 7E 00 32 */ fmuls f27, f30, f0 +/* 802B7228 002B4188 48 0A C1 C5 */ bl __ct__6CColorFffff +/* 802B722C 002B418C 82 A3 00 00 */ lwz r21, 0(r3) +/* 802B7230 002B4190 3A C0 00 00 */ li r22, 0 +/* 802B7234 002B4194 C3 A2 C2 74 */ lfs f29, lbl_805ADF94@sda21(r2) +/* 802B7238 002B4198 3F 80 CC 01 */ lis r28, 0xcc01 +/* 802B723C 002B419C C3 E2 C2 70 */ lfs f31, lbl_805ADF90@sda21(r2) +/* 802B7240 002B41A0 C3 C2 C2 7C */ lfs f30, lbl_805ADF9C@sda21(r2) +lbl_802B7244: +/* 802B7244 002B41A4 38 60 00 98 */ li r3, 0x98 +/* 802B7248 002B41A8 38 80 00 00 */ li r4, 0 +/* 802B724C 002B41AC 38 A0 00 04 */ li r5, 4 +/* 802B7250 002B41B0 48 05 13 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B7254 002B41B4 C0 37 00 00 */ lfs f1, 0(r23) +/* 802B7258 002B41B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B725C 002B41BC C0 17 00 04 */ lfs f0, 4(r23) +/* 802B7260 002B41C0 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 802B7264 002B41C4 EC 5B 00 32 */ fmuls f2, f27, f0 +/* 802B7268 002B41C8 48 05 CF 99 */ bl __ct__9CVector2fFff +/* 802B726C 002B41CC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B7270 002B41D0 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7274 002B41D4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B7278 002B41D8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B727C 002B41DC D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7280 002B41E0 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B7284 002B41E4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B7288 002B41E8 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B728C 002B41EC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B7290 002B41F0 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B7294 002B41F4 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B7298 002B41F8 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B729C 002B41FC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72A0 002B4200 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72A4 002B4204 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72A8 002B4208 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72AC 002B420C D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72B0 002B4210 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B72B4 002B4214 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72B8 002B4218 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72BC 002B421C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72C0 002B4220 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72C4 002B4224 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72C8 002B4228 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72CC 002B422C D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72D0 002B4230 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72D4 002B4234 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B72D8 002B4238 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72DC 002B423C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72E0 002B4240 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72E4 002B4244 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B72E8 002B4248 EC 1E 00 2A */ fadds f0, f30, f0 +/* 802B72EC 002B424C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) +/* 802B72F0 002B4250 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) +/* 802B72F4 002B4254 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) +/* 802B72F8 002B4258 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) +/* 802B72FC 002B425C 48 05 12 85 */ bl End__3CGXFv +/* 802B7300 002B4260 3A D6 00 01 */ addi r22, r22, 1 +/* 802B7304 002B4264 3A F7 00 08 */ addi r23, r23, 8 +/* 802B7308 002B4268 28 16 00 08 */ cmplwi r22, 8 +/* 802B730C 002B426C 41 80 FF 38 */ blt lbl_802B7244 +/* 802B7310 002B4270 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802B7314 002B4274 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802B7318 002B4278 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802B731C 002B427C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802B7320 002B4280 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802B7324 002B4284 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802B7328 002B4288 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 +/* 802B732C 002B428C CB 81 00 D0 */ lfd f28, 0xd0(r1) +/* 802B7330 002B4290 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 +/* 802B7334 002B4294 CB 61 00 C0 */ lfd f27, 0xc0(r1) +/* 802B7338 002B4298 BA A1 00 94 */ lmw r21, 0x94(r1) +/* 802B733C 002B429C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802B7340 002B42A0 7C 08 03 A6 */ mtlr r0 +/* 802B7344 002B42A4 38 21 01 10 */ addi r1, r1, 0x110 +/* 802B7348 002B42A8 4E 80 00 20 */ blr + +.global CopyTex__13CCubeRendererFibPv8GXTexFmtb +CopyTex__13CCubeRendererFibPv8GXTexFmtb: +/* 802B734C 002B42AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B7350 002B42B0 7C 08 02 A6 */ mflr r0 +/* 802B7354 002B42B4 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802B7358 002B42B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B735C 002B42BC 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 802B7360 002B42C0 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802B7364 002B42C4 7C 9A 23 78 */ mr r26, r4 +/* 802B7368 002B42C8 7C BB 2B 78 */ mr r27, r5 +/* 802B736C 002B42CC 7C DC 33 78 */ mr r28, r6 +/* 802B7370 002B42D0 7C FD 3B 78 */ mr r29, r7 +/* 802B7374 002B42D4 7D 1E 43 78 */ mr r30, r8 +/* 802B7378 002B42D8 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 802B737C 002B42DC 80 03 00 04 */ lwz r0, 4(r3) +/* 802B7380 002B42E0 83 23 00 08 */ lwz r25, 8(r3) +/* 802B7384 002B42E4 7C BF D3 96 */ divwu r5, r31, r26 +/* 802B7388 002B42E8 7C 80 FA 14 */ add r4, r0, r31 +/* 802B738C 002B42EC 80 63 00 00 */ lwz r3, 0(r3) +/* 802B7390 002B42F0 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802B7394 002B42F4 7C 85 20 50 */ subf r4, r5, r4 +/* 802B7398 002B42F8 7C 19 D3 96 */ divwu r0, r25, r26 +/* 802B739C 002B42FC 54 A6 04 3E */ clrlwi r6, r5, 0x10 +/* 802B73A0 002B4300 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 802B73A4 002B4304 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 802B73A8 002B4308 48 0C 1A 0D */ bl GXSetTexCopySrc +/* 802B73AC 002B430C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802B73B0 002B4310 41 82 00 14 */ beq lbl_802B73C4 +/* 802B73B4 002B4314 57 20 0F FE */ srwi r0, r25, 0x1f +/* 802B73B8 002B4318 7C 00 CA 14 */ add r0, r0, r25 +/* 802B73BC 002B431C 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B73C0 002B4320 48 00 00 08 */ b lbl_802B73C8 +lbl_802B73C4: +/* 802B73C4 002B4324 7F 20 CB 78 */ mr r0, r25 +lbl_802B73C8: +/* 802B73C8 002B4328 7C 60 D3 96 */ divwu r3, r0, r26 +/* 802B73CC 002B432C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 802B73D0 002B4330 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802B73D4 002B4334 41 82 00 14 */ beq lbl_802B73E8 +/* 802B73D8 002B4338 57 E0 0F FE */ srwi r0, r31, 0x1f +/* 802B73DC 002B433C 7C 00 FA 14 */ add r0, r0, r31 +/* 802B73E0 002B4340 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B73E4 002B4344 48 00 00 08 */ b lbl_802B73EC +lbl_802B73E8: +/* 802B73E8 002B4348 7F E0 FB 78 */ mr r0, r31 +lbl_802B73EC: +/* 802B73EC 002B434C 7C 00 D3 96 */ divwu r0, r0, r26 +/* 802B73F0 002B4350 7F A5 EB 78 */ mr r5, r29 +/* 802B73F4 002B4354 57 66 06 3E */ clrlwi r6, r27, 0x18 +/* 802B73F8 002B4358 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802B73FC 002B435C 48 0C 1A 85 */ bl GXSetTexCopyDst +/* 802B7400 002B4360 38 00 00 00 */ li r0, 0 +/* 802B7404 002B4364 38 61 00 08 */ addi r3, r1, 8 +/* 802B7408 002B4368 90 01 00 08 */ stw r0, 8(r1) +/* 802B740C 002B436C 48 05 4B 89 */ bl SetClearColor__9CGraphicsFRC6CColor +/* 802B7410 002B4370 38 60 00 00 */ li r3, 0 +/* 802B7414 002B4374 48 0C 4A ED */ bl GXSetColorUpdate +/* 802B7418 002B4378 28 1C 00 00 */ cmplwi r28, 0 +/* 802B741C 002B437C 41 82 00 0C */ beq lbl_802B7428 +/* 802B7420 002B4380 7F 83 E3 78 */ mr r3, r28 +/* 802B7424 002B4384 48 00 00 08 */ b lbl_802B742C +lbl_802B7428: +/* 802B7428 002B4388 80 6D A8 28 */ lwz r3, lbl_805A93E8@sda21(r13) +lbl_802B742C: +/* 802B742C 002B438C 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 802B7430 002B4390 48 0C 21 05 */ bl GXCopyTex +/* 802B7434 002B4394 38 60 00 01 */ li r3, 1 +/* 802B7438 002B4398 48 0C 4A C9 */ bl GXSetColorUpdate +/* 802B743C 002B439C 48 0C 11 29 */ bl GXPixModeSync +/* 802B7440 002B43A0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802B7444 002B43A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B7448 002B43A8 7C 08 03 A6 */ mtlr r0 +/* 802B744C 002B43AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B7450 002B43B0 4E 80 00 20 */ blr + +.global GetRenderToTexBuffer__13CCubeRendererFi +GetRenderToTexBuffer__13CCubeRendererFi: +/* 802B7454 002B43B4 80 0D A8 24 */ lwz r0, lbl_805A93E4@sda21(r13) +/* 802B7458 002B43B8 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +/* 802B745C 002B43BC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802B7460 002B43C0 54 00 E1 3E */ srwi r0, r0, 4 +/* 802B7464 002B43C4 7C 64 02 14 */ add r3, r4, r0 +/* 802B7468 002B43C8 4E 80 00 20 */ blr + +.global "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +"DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": +/* 802B746C 002B43CC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B7470 002B43D0 7C 08 02 A6 */ mflr r0 +/* 802B7474 002B43D4 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B7478 002B43D8 BE 21 00 34 */ stmw r17, 0x34(r1) +/* 802B747C 002B43DC 7C 71 1B 78 */ mr r17, r3 +/* 802B7480 002B43E0 7C B2 2B 78 */ mr r18, r5 +/* 802B7484 002B43E4 7C D3 33 78 */ mr r19, r6 +/* 802B7488 002B43E8 7C 99 23 78 */ mr r25, r4 +/* 802B748C 002B43EC 54 9A 10 3A */ slwi r26, r4, 2 +/* 802B7490 002B43F0 3B 00 00 00 */ li r24, 0 +/* 802B7494 002B43F4 80 02 D7 78 */ lwz r0, lbl_805AF498@sda21(r2) +/* 802B7498 002B43F8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B749C 002B43FC 83 A3 00 20 */ lwz r29, 0x20(r3) +/* 802B74A0 002B4400 48 00 01 50 */ b lbl_802B75F0 +lbl_802B74A4: +/* 802B74A4 002B4404 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B74A8 002B4408 28 1F 00 00 */ cmplwi r31, 0 +/* 802B74AC 002B440C 41 82 01 40 */ beq lbl_802B75EC +/* 802B74B0 002B4410 7F 5B D3 78 */ mr r27, r26 +/* 802B74B4 002B4414 3A E0 00 00 */ li r23, 0 +/* 802B74B8 002B4418 3A C0 00 00 */ li r22, 0 +/* 802B74BC 002B441C 48 00 01 20 */ b lbl_802B75DC +lbl_802B74C0: +/* 802B74C0 002B4420 7C 18 BA 14 */ add r0, r24, r23 +/* 802B74C4 002B4424 80 72 00 0C */ lwz r3, 0xc(r18) +/* 802B74C8 002B4428 54 00 10 3A */ slwi r0, r0, 2 +/* 802B74CC 002B442C 7E A3 00 2E */ lwzx r21, r3, r0 +/* 802B74D0 002B4430 28 15 00 00 */ cmplwi r21, 0 +/* 802B74D4 002B4434 41 82 01 00 */ beq lbl_802B75D4 +/* 802B74D8 002B4438 3A 80 00 00 */ li r20, 0 +/* 802B74DC 002B443C 7F 7C DB 78 */ mr r28, r27 +lbl_802B74E0: +/* 802B74E0 002B4440 38 00 00 01 */ li r0, 1 +/* 802B74E4 002B4444 7C 00 A0 30 */ slw r0, r0, r20 +/* 802B74E8 002B4448 7E A0 00 39 */ and. r0, r21, r0 +/* 802B74EC 002B444C 41 82 00 DC */ beq lbl_802B75C8 +/* 802B74F0 002B4450 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B74F4 002B4454 7C 16 A2 14 */ add r0, r22, r20 +/* 802B74F8 002B4458 54 03 18 38 */ slwi r3, r0, 3 +/* 802B74FC 002B445C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802B7500 002B4460 38 03 00 04 */ addi r0, r3, 4 +/* 802B7504 002B4464 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B7508 002B4468 38 60 00 00 */ li r3, 0 +/* 802B750C 002B446C 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802B7510 002B4470 9B 81 00 13 */ stb r28, 0x13(r1) +/* 802B7514 002B4474 48 05 17 31 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B7518 002B4478 7F C3 F3 78 */ mr r3, r30 +/* 802B751C 002B447C 48 05 01 05 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7520 002B4480 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7524 002B4484 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B7528 002B4488 48 00 00 7C */ b lbl_802B75A4 +lbl_802B752C: +/* 802B752C 002B448C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B7530 002B4490 38 81 00 0C */ addi r4, r1, 0xc +/* 802B7534 002B4494 48 09 0D 7D */ bl GetBounds__12CCubeSurfaceCFv +/* 802B7538 002B4498 7E 64 9B 78 */ mr r4, r19 +/* 802B753C 002B449C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B7540 002B44A0 48 08 06 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B7544 002B44A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B7548 002B44A8 41 82 00 50 */ beq lbl_802B7598 +/* 802B754C 002B44AC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802B7550 002B44B0 7F C4 F3 78 */ mr r4, r30 +/* 802B7554 002B44B4 38 61 00 08 */ addi r3, r1, 8 +/* 802B7558 002B44B8 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B755C 002B44BC 48 04 FF B1 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802B7560 002B44C0 80 81 00 08 */ lwz r4, 8(r1) +/* 802B7564 002B44C4 80 04 00 04 */ lwz r0, 4(r4) +/* 802B7568 002B44C8 54 03 10 3A */ slwi r3, r0, 2 +/* 802B756C 002B44CC 38 03 00 08 */ addi r0, r3, 8 +/* 802B7570 002B44D0 7C 64 00 2E */ lwzx r3, r4, r0 +/* 802B7574 002B44D4 48 05 09 89 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 802B7578 002B44D8 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 802B757C 002B44DC 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 802B7580 002B44E0 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802B7584 002B44E4 38 63 00 4B */ addi r3, r3, 0x4b +/* 802B7588 002B44E8 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 802B758C 002B44EC 54 04 00 7E */ clrlwi r4, r0, 1 +/* 802B7590 002B44F0 7C 65 1A 14 */ add r3, r5, r3 +/* 802B7594 002B44F4 48 05 10 59 */ bl CallDisplayList__3CGXFPCvUl +lbl_802B7598: +/* 802B7598 002B44F8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B759C 002B44FC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B75A0 002B4500 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802B75A4: +/* 802B75A4 002B4504 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B75A8 002B4508 28 00 00 00 */ cmplwi r0, 0 +/* 802B75AC 002B450C 40 82 FF 80 */ bne lbl_802B752C +/* 802B75B0 002B4510 3B 39 00 01 */ addi r25, r25, 1 +/* 802B75B4 002B4514 3B 7B 00 04 */ addi r27, r27, 4 +/* 802B75B8 002B4518 2C 19 00 40 */ cmpwi r25, 0x40 +/* 802B75BC 002B451C 3B 5A 00 04 */ addi r26, r26, 4 +/* 802B75C0 002B4520 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B75C4 002B4524 40 80 00 38 */ bge lbl_802B75FC +lbl_802B75C8: +/* 802B75C8 002B4528 3A 94 00 01 */ addi r20, r20, 1 +/* 802B75CC 002B452C 2C 14 00 20 */ cmpwi r20, 0x20 +/* 802B75D0 002B4530 41 80 FF 10 */ blt lbl_802B74E0 +lbl_802B75D4: +/* 802B75D4 002B4534 3A F7 00 01 */ addi r23, r23, 1 +/* 802B75D8 002B4538 3A D6 00 20 */ addi r22, r22, 0x20 +lbl_802B75DC: +/* 802B75DC 002B453C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B75E0 002B4540 7C 17 00 40 */ cmplw r23, r0 +/* 802B75E4 002B4544 41 80 FE DC */ blt lbl_802B74C0 +/* 802B75E8 002B4548 7F 18 02 14 */ add r24, r24, r0 +lbl_802B75EC: +/* 802B75EC 002B454C 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B75F0: +/* 802B75F0 002B4550 80 11 00 24 */ lwz r0, 0x24(r17) +/* 802B75F4 002B4554 7C 1D 00 40 */ cmplw r29, r0 +/* 802B75F8 002B4558 40 82 FE AC */ bne lbl_802B74A4 +lbl_802B75FC: +/* 802B75FC 002B455C BA 21 00 34 */ lmw r17, 0x34(r1) +/* 802B7600 002B4560 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B7604 002B4564 7C 08 03 A6 */ mtlr r0 +/* 802B7608 002B4568 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B760C 002B456C 4E 80 00 20 */ blr + +.global "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" +"DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": +/* 802B7610 002B4570 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802B7614 002B4574 7C 08 02 A6 */ mflr r0 +/* 802B7618 002B4578 90 01 00 84 */ stw r0, 0x84(r1) +/* 802B761C 002B457C BE 21 00 44 */ stmw r17, 0x44(r1) +/* 802B7620 002B4580 7C 94 23 78 */ mr r20, r4 +/* 802B7624 002B4584 7C 71 1B 78 */ mr r17, r3 +/* 802B7628 002B4588 7C B2 2B 78 */ mr r18, r5 +/* 802B762C 002B458C 7C D3 33 78 */ mr r19, r6 +/* 802B7630 002B4590 38 80 00 01 */ li r4, 1 +/* 802B7634 002B4594 48 00 61 FD */ bl SetupRendererStates__13CCubeRendererFb +/* 802B7638 002B4598 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B763C 002B459C 38 80 00 00 */ li r4, 0 +/* 802B7640 002B45A0 38 00 00 03 */ li r0, 3 +/* 802B7644 002B45A4 98 81 00 0C */ stb r4, 0xc(r1) +/* 802B7648 002B45A8 FC 40 08 90 */ fmr f2, f1 +/* 802B764C 002B45AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B7650 002B45B0 FC 60 08 90 */ fmr f3, f1 +/* 802B7654 002B45B4 98 81 00 0D */ stb r4, 0xd(r1) +/* 802B7658 002B45B8 FC 80 08 90 */ fmr f4, f1 +/* 802B765C 002B45BC B0 01 00 0E */ sth r0, 0xe(r1) +/* 802B7660 002B45C0 48 0A BD 8D */ bl __ct__6CColorFffff +/* 802B7664 002B45C4 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 802B7668 002B45C8 7E 99 A3 78 */ mr r25, r20 +/* 802B766C 002B45CC 88 81 00 0D */ lbz r4, 0xd(r1) +/* 802B7670 002B45D0 56 9A 10 3A */ slwi r26, r20, 2 +/* 802B7674 002B45D4 A0 61 00 0E */ lhz r3, 0xe(r1) +/* 802B7678 002B45D8 3B 00 00 00 */ li r24, 0 +/* 802B767C 002B45DC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802B7680 002B45E0 98 A1 00 14 */ stb r5, 0x14(r1) +/* 802B7684 002B45E4 98 81 00 15 */ stb r4, 0x15(r1) +/* 802B7688 002B45E8 B0 61 00 16 */ sth r3, 0x16(r1) +/* 802B768C 002B45EC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802B7690 002B45F0 83 B1 00 20 */ lwz r29, 0x20(r17) +/* 802B7694 002B45F4 48 00 01 24 */ b lbl_802B77B8 +lbl_802B7698: +/* 802B7698 002B45F8 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802B769C 002B45FC 28 1F 00 00 */ cmplwi r31, 0 +/* 802B76A0 002B4600 41 82 01 14 */ beq lbl_802B77B4 +/* 802B76A4 002B4604 7F 5B D3 78 */ mr r27, r26 +/* 802B76A8 002B4608 3A E0 00 00 */ li r23, 0 +/* 802B76AC 002B460C 3A C0 00 00 */ li r22, 0 +/* 802B76B0 002B4610 48 00 00 F4 */ b lbl_802B77A4 +lbl_802B76B4: +/* 802B76B4 002B4614 7C 18 BA 14 */ add r0, r24, r23 +/* 802B76B8 002B4618 80 72 00 0C */ lwz r3, 0xc(r18) +/* 802B76BC 002B461C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B76C0 002B4620 7E A3 00 2E */ lwzx r21, r3, r0 +/* 802B76C4 002B4624 28 15 00 00 */ cmplwi r21, 0 +/* 802B76C8 002B4628 41 82 00 D4 */ beq lbl_802B779C +/* 802B76CC 002B462C 3A 80 00 00 */ li r20, 0 +/* 802B76D0 002B4630 7F 7C DB 78 */ mr r28, r27 +lbl_802B76D4: +/* 802B76D4 002B4634 38 00 00 01 */ li r0, 1 +/* 802B76D8 002B4638 7C 00 A0 30 */ slw r0, r0, r20 +/* 802B76DC 002B463C 7E A0 00 39 */ and. r0, r21, r0 +/* 802B76E0 002B4640 41 82 00 B0 */ beq lbl_802B7790 +/* 802B76E4 002B4644 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 802B76E8 002B4648 7C 16 A2 14 */ add r0, r22, r20 +/* 802B76EC 002B464C 54 03 18 38 */ slwi r3, r0, 3 +/* 802B76F0 002B4650 57 84 06 3E */ clrlwi r4, r28, 0x18 +/* 802B76F4 002B4654 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B76F8 002B4658 38 03 00 04 */ addi r0, r3, 4 +/* 802B76FC 002B465C 38 60 00 01 */ li r3, 1 +/* 802B7700 002B4660 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802B7704 002B4664 48 0C 49 DD */ bl GXSetDstAlpha +/* 802B7708 002B4668 48 08 E2 39 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 802B770C 002B466C 7F C3 F3 78 */ mr r3, r30 +/* 802B7710 002B4670 48 04 FF 11 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7714 002B4674 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7718 002B4678 90 01 00 08 */ stw r0, 8(r1) +/* 802B771C 002B467C 48 00 00 40 */ b lbl_802B775C +lbl_802B7720: +/* 802B7720 002B4680 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B7724 002B4684 38 81 00 08 */ addi r4, r1, 8 +/* 802B7728 002B4688 48 09 0B 89 */ bl GetBounds__12CCubeSurfaceCFv +/* 802B772C 002B468C 7E 64 9B 78 */ mr r4, r19 +/* 802B7730 002B4690 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B7734 002B4694 48 08 04 51 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B7738 002B4698 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B773C 002B469C 41 82 00 14 */ beq lbl_802B7750 +/* 802B7740 002B46A0 7F C3 F3 78 */ mr r3, r30 +/* 802B7744 002B46A4 38 81 00 08 */ addi r4, r1, 8 +/* 802B7748 002B46A8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802B774C 002B46AC 48 04 FC F9 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +lbl_802B7750: +/* 802B7750 002B46B0 80 61 00 08 */ lwz r3, 8(r1) +/* 802B7754 002B46B4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7758 002B46B8 90 01 00 08 */ stw r0, 8(r1) +lbl_802B775C: +/* 802B775C 002B46BC 80 01 00 08 */ lwz r0, 8(r1) +/* 802B7760 002B46C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B7764 002B46C4 40 82 FF BC */ bne lbl_802B7720 +/* 802B7768 002B46C8 3B 39 00 01 */ addi r25, r25, 1 +/* 802B776C 002B46CC 3B 7B 00 04 */ addi r27, r27, 4 +/* 802B7770 002B46D0 2C 19 00 40 */ cmpwi r25, 0x40 +/* 802B7774 002B46D4 3B 5A 00 04 */ addi r26, r26, 4 +/* 802B7778 002B46D8 3B 9C 00 04 */ addi r28, r28, 4 +/* 802B777C 002B46DC 41 80 00 14 */ blt lbl_802B7790 +/* 802B7780 002B46E0 7E 23 8B 78 */ mr r3, r17 +/* 802B7784 002B46E4 48 00 60 19 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B7788 002B46E8 7F 23 CB 78 */ mr r3, r25 +/* 802B778C 002B46EC 48 00 00 44 */ b lbl_802B77D0 +lbl_802B7790: +/* 802B7790 002B46F0 3A 94 00 01 */ addi r20, r20, 1 +/* 802B7794 002B46F4 2C 14 00 20 */ cmpwi r20, 0x20 +/* 802B7798 002B46F8 41 80 FF 3C */ blt lbl_802B76D4 +lbl_802B779C: +/* 802B779C 002B46FC 3A F7 00 01 */ addi r23, r23, 1 +/* 802B77A0 002B4700 3A D6 00 20 */ addi r22, r22, 0x20 +lbl_802B77A4: +/* 802B77A4 002B4704 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B77A8 002B4708 7C 17 00 40 */ cmplw r23, r0 +/* 802B77AC 002B470C 41 80 FF 08 */ blt lbl_802B76B4 +/* 802B77B0 002B4710 7F 18 02 14 */ add r24, r24, r0 +lbl_802B77B4: +/* 802B77B4 002B4714 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B77B8: +/* 802B77B8 002B4718 80 11 00 24 */ lwz r0, 0x24(r17) +/* 802B77BC 002B471C 7C 1D 00 40 */ cmplw r29, r0 +/* 802B77C0 002B4720 40 82 FE D8 */ bne lbl_802B7698 +/* 802B77C4 002B4724 7E 23 8B 78 */ mr r3, r17 +/* 802B77C8 002B4728 48 00 5F D5 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B77CC 002B472C 7F 23 CB 78 */ mr r3, r25 +lbl_802B77D0: +/* 802B77D0 002B4730 BA 21 00 44 */ lmw r17, 0x44(r1) +/* 802B77D4 002B4734 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B77D8 002B4738 7C 08 03 A6 */ mtlr r0 +/* 802B77DC 002B473C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802B77E0 002B4740 4E 80 00 20 */ blr + +.global "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" +"FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox": +/* 802B77E4 002B4744 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802B77E8 002B4748 7C 08 02 A6 */ mflr r0 +/* 802B77EC 002B474C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B77F0 002B4750 BE 61 00 5C */ stmw r19, 0x5c(r1) +/* 802B77F4 002B4754 7C 94 23 78 */ mr r20, r4 +/* 802B77F8 002B4758 7C B5 2B 78 */ mr r21, r5 +/* 802B77FC 002B475C 7C 73 1B 78 */ mr r19, r3 +/* 802B7800 002B4760 3B 60 00 00 */ li r27, 0 +/* 802B7804 002B4764 80 83 00 20 */ lwz r4, 0x20(r3) +/* 802B7808 002B4768 80 A3 00 24 */ lwz r5, 0x24(r3) +/* 802B780C 002B476C 48 00 00 1C */ b lbl_802B7828 +lbl_802B7810: +/* 802B7810 002B4770 80 64 00 0C */ lwz r3, 0xc(r4) +/* 802B7814 002B4774 28 03 00 00 */ cmplwi r3, 0 +/* 802B7818 002B4778 41 82 00 0C */ beq lbl_802B7824 +/* 802B781C 002B477C 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802B7820 002B4780 7F 7B 02 14 */ add r27, r27, r0 +lbl_802B7824: +/* 802B7824 002B4784 80 84 00 04 */ lwz r4, 4(r4) +lbl_802B7828: +/* 802B7828 002B4788 7C 04 28 40 */ cmplw r4, r5 +/* 802B782C 002B478C 40 82 FF E4 */ bne lbl_802B7810 +/* 802B7830 002B4790 2C 1B 00 00 */ cmpwi r27, 0 +/* 802B7834 002B4794 40 82 00 64 */ bne lbl_802B7898 +/* 802B7838 002B4798 38 00 00 00 */ li r0, 0 +/* 802B783C 002B479C 7E 83 A3 78 */ mr r3, r20 +/* 802B7840 002B47A0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802B7844 002B47A4 38 81 00 48 */ addi r4, r1, 0x48 +/* 802B7848 002B47A8 90 01 00 50 */ stw r0, 0x50(r1) +/* 802B784C 002B47AC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B7850 002B47B0 4B DA BE AD */ bl "clear__Q24rstl37vectorFv" +/* 802B7854 002B47B4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B7858 002B47B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802B785C 002B47BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7860 002B47C0 7C 03 02 14 */ add r0, r3, r0 +/* 802B7864 002B47C4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802B7868 002B47C8 7C 64 1B 78 */ mr r4, r3 +/* 802B786C 002B47CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B7870 002B47D0 90 01 00 30 */ stw r0, 0x30(r1) +/* 802B7874 002B47D4 90 61 00 28 */ stw r3, 0x28(r1) +/* 802B7878 002B47D8 48 00 00 08 */ b lbl_802B7880 +lbl_802B787C: +/* 802B787C 002B47DC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B7880: +/* 802B7880 002B47E0 7C 04 00 40 */ cmplw r4, r0 +/* 802B7884 002B47E4 40 82 FF F8 */ bne lbl_802B787C +/* 802B7888 002B47E8 28 03 00 00 */ cmplwi r3, 0 +/* 802B788C 002B47EC 41 82 01 98 */ beq lbl_802B7A24 +/* 802B7890 002B47F0 48 05 E0 A1 */ bl Free__7CMemoryFPCv +/* 802B7894 002B47F4 48 00 01 90 */ b lbl_802B7A24 +lbl_802B7898: +/* 802B7898 002B47F8 80 14 00 08 */ lwz r0, 8(r20) +/* 802B789C 002B47FC 7C 1B 00 00 */ cmpw r27, r0 +/* 802B78A0 002B4800 41 82 00 64 */ beq lbl_802B7904 +/* 802B78A4 002B4804 38 00 00 00 */ li r0, 0 +/* 802B78A8 002B4808 7E 83 A3 78 */ mr r3, r20 +/* 802B78AC 002B480C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802B78B0 002B4810 38 81 00 38 */ addi r4, r1, 0x38 +/* 802B78B4 002B4814 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B78B8 002B4818 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B78BC 002B481C 4B DA BE 41 */ bl "clear__Q24rstl37vectorFv" +/* 802B78C0 002B4820 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802B78C4 002B4824 80 61 00 44 */ lwz r3, 0x44(r1) +/* 802B78C8 002B4828 54 00 10 3A */ slwi r0, r0, 2 +/* 802B78CC 002B482C 7C 03 02 14 */ add r0, r3, r0 +/* 802B78D0 002B4830 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B78D4 002B4834 7C 64 1B 78 */ mr r4, r3 +/* 802B78D8 002B4838 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B78DC 002B483C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B78E0 002B4840 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B78E4 002B4844 48 00 00 08 */ b lbl_802B78EC +lbl_802B78E8: +/* 802B78E8 002B4848 38 84 00 04 */ addi r4, r4, 4 +lbl_802B78EC: +/* 802B78EC 002B484C 7C 04 00 40 */ cmplw r4, r0 +/* 802B78F0 002B4850 40 82 FF F8 */ bne lbl_802B78E8 +/* 802B78F4 002B4854 28 03 00 00 */ cmplwi r3, 0 +/* 802B78F8 002B4858 41 82 00 44 */ beq lbl_802B793C +/* 802B78FC 002B485C 48 05 E0 35 */ bl Free__7CMemoryFPCv +/* 802B7900 002B4860 48 00 00 3C */ b lbl_802B793C +lbl_802B7904: +/* 802B7904 002B4864 80 14 00 04 */ lwz r0, 4(r20) +/* 802B7908 002B4868 80 74 00 0C */ lwz r3, 0xc(r20) +/* 802B790C 002B486C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7910 002B4870 7C 03 02 14 */ add r0, r3, r0 +/* 802B7914 002B4874 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B7918 002B4878 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B791C 002B487C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B7920 002B4880 90 61 00 08 */ stw r3, 8(r1) +/* 802B7924 002B4884 48 00 00 08 */ b lbl_802B792C +lbl_802B7928: +/* 802B7928 002B4888 38 63 00 04 */ addi r3, r3, 4 +lbl_802B792C: +/* 802B792C 002B488C 7C 03 00 40 */ cmplw r3, r0 +/* 802B7930 002B4890 40 82 FF F8 */ bne lbl_802B7928 +/* 802B7934 002B4894 38 00 00 00 */ li r0, 0 +/* 802B7938 002B4898 90 14 00 04 */ stw r0, 4(r20) +lbl_802B793C: +/* 802B793C 002B489C 7E 83 A3 78 */ mr r3, r20 +/* 802B7940 002B48A0 7F 64 DB 78 */ mr r4, r27 +/* 802B7944 002B48A4 38 AD 9A EC */ addi r5, r13, lbl_805A86AC@sda21 +/* 802B7948 002B48A8 4B FF 6F 81 */ bl sub_802ae8c8 +/* 802B794C 002B48AC 83 73 00 20 */ lwz r27, 0x20(r19) +/* 802B7950 002B48B0 3B 40 00 00 */ li r26, 0 +/* 802B7954 002B48B4 48 00 00 C4 */ b lbl_802B7A18 +lbl_802B7958: +/* 802B7958 002B48B8 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 802B795C 002B48BC 28 1C 00 00 */ cmplwi r28, 0 +/* 802B7960 002B48C0 41 82 00 B4 */ beq lbl_802B7A14 +/* 802B7964 002B48C4 80 94 00 0C */ lwz r4, 0xc(r20) +/* 802B7968 002B48C8 57 40 10 3A */ slwi r0, r26, 2 +/* 802B796C 002B48CC 7F 83 E3 78 */ mr r3, r28 +/* 802B7970 002B48D0 7E A5 AB 78 */ mr r5, r21 +/* 802B7974 002B48D4 7C 84 02 14 */ add r4, r4, r0 +/* 802B7978 002B48D8 4B FF 6E A1 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +/* 802B797C 002B48DC 3B 20 00 00 */ li r25, 0 +/* 802B7980 002B48E0 3B 00 00 00 */ li r24, 0 +/* 802B7984 002B48E4 48 00 00 80 */ b lbl_802B7A04 +lbl_802B7988: +/* 802B7988 002B48E8 7C 1A CA 14 */ add r0, r26, r25 +/* 802B798C 002B48EC 83 B4 00 0C */ lwz r29, 0xc(r20) +/* 802B7990 002B48F0 54 1E 10 3A */ slwi r30, r0, 2 +/* 802B7994 002B48F4 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B7998 002B48F8 28 00 00 00 */ cmplwi r0, 0 +/* 802B799C 002B48FC 41 82 00 60 */ beq lbl_802B79FC +/* 802B79A0 002B4900 3A E0 00 00 */ li r23, 0 +/* 802B79A4 002B4904 3B E0 00 01 */ li r31, 1 +lbl_802B79A8: +/* 802B79A8 002B4908 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B79AC 002B490C 7F F6 B8 30 */ slw r22, r31, r23 +/* 802B79B0 002B4910 7C 00 B0 39 */ and. r0, r0, r22 +/* 802B79B4 002B4914 41 82 00 3C */ beq lbl_802B79F0 +/* 802B79B8 002B4918 80 BB 00 1C */ lwz r5, 0x1c(r27) +/* 802B79BC 002B491C 7C 18 BA 14 */ add r0, r24, r23 +/* 802B79C0 002B4920 54 03 18 38 */ slwi r3, r0, 3 +/* 802B79C4 002B4924 7E A4 AB 78 */ mr r4, r21 +/* 802B79C8 002B4928 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 802B79CC 002B492C 38 03 00 04 */ addi r0, r3, 4 +/* 802B79D0 002B4930 7C 65 00 2E */ lwzx r3, r5, r0 +/* 802B79D4 002B4934 38 63 00 20 */ addi r3, r3, 0x20 +/* 802B79D8 002B4938 48 08 01 AD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802B79DC 002B493C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B79E0 002B4940 40 82 00 10 */ bne lbl_802B79F0 +/* 802B79E4 002B4944 7C 1D F0 2E */ lwzx r0, r29, r30 +/* 802B79E8 002B4948 7C 00 B0 78 */ andc r0, r0, r22 +/* 802B79EC 002B494C 7C 1D F1 2E */ stwx r0, r29, r30 +lbl_802B79F0: +/* 802B79F0 002B4950 3A F7 00 01 */ addi r23, r23, 1 +/* 802B79F4 002B4954 2C 17 00 20 */ cmpwi r23, 0x20 +/* 802B79F8 002B4958 41 80 FF B0 */ blt lbl_802B79A8 +lbl_802B79FC: +/* 802B79FC 002B495C 3B 39 00 01 */ addi r25, r25, 1 +/* 802B7A00 002B4960 3B 18 00 20 */ addi r24, r24, 0x20 +lbl_802B7A04: +/* 802B7A04 002B4964 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 802B7A08 002B4968 7C 19 00 40 */ cmplw r25, r0 +/* 802B7A0C 002B496C 41 80 FF 7C */ blt lbl_802B7988 +/* 802B7A10 002B4970 7F 5A 02 14 */ add r26, r26, r0 +lbl_802B7A14: +/* 802B7A14 002B4974 83 7B 00 04 */ lwz r27, 4(r27) +lbl_802B7A18: +/* 802B7A18 002B4978 80 13 00 24 */ lwz r0, 0x24(r19) +/* 802B7A1C 002B497C 7C 1B 00 40 */ cmplw r27, r0 +/* 802B7A20 002B4980 40 82 FF 38 */ bne lbl_802B7958 +lbl_802B7A24: +/* 802B7A24 002B4984 BA 61 00 5C */ lmw r19, 0x5c(r1) +/* 802B7A28 002B4988 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802B7A2C 002B498C 7C 08 03 A6 */ mtlr r0 +/* 802B7A30 002B4990 38 21 00 90 */ addi r1, r1, 0x90 +/* 802B7A34 002B4994 4E 80 00 20 */ blr + +.global "PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector" +"PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector": +/* 802B7A38 002B4998 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802B7A3C 002B499C 7C 08 02 A6 */ mflr r0 +/* 802B7A40 002B49A0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802B7A44 002B49A4 BE C1 00 78 */ stmw r22, 0x78(r1) +/* 802B7A48 002B49A8 7C 7C 1B 78 */ mr r28, r3 +/* 802B7A4C 002B49AC 7C 9D 23 78 */ mr r29, r4 +/* 802B7A50 002B49B0 80 64 00 04 */ lwz r3, 4(r4) +/* 802B7A54 002B49B4 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 802B7A58 002B49B8 7C 03 00 00 */ cmpw r3, r0 +/* 802B7A5C 002B49BC 41 82 00 60 */ beq lbl_802B7ABC +/* 802B7A60 002B49C0 38 00 00 00 */ li r0, 0 +/* 802B7A64 002B49C4 38 7C 03 00 */ addi r3, r28, 0x300 +/* 802B7A68 002B49C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B7A6C 002B49CC 38 81 00 50 */ addi r4, r1, 0x50 +/* 802B7A70 002B49D0 90 01 00 58 */ stw r0, 0x58(r1) +/* 802B7A74 002B49D4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802B7A78 002B49D8 4B D8 DF F1 */ bl sub_80045a68 +/* 802B7A7C 002B49DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B7A80 002B49E0 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 802B7A84 002B49E4 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 802B7A88 002B49E8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B7A8C 002B49EC 7C 64 1B 78 */ mr r4, r3 +/* 802B7A90 002B49F0 7C 03 02 14 */ add r0, r3, r0 +/* 802B7A94 002B49F4 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B7A98 002B49F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B7A9C 002B49FC 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B7AA0 002B4A00 48 00 00 08 */ b lbl_802B7AA8 +lbl_802B7AA4: +/* 802B7AA4 002B4A04 38 84 00 50 */ addi r4, r4, 0x50 +lbl_802B7AA8: +/* 802B7AA8 002B4A08 7C 04 00 40 */ cmplw r4, r0 +/* 802B7AAC 002B4A0C 40 82 FF F8 */ bne lbl_802B7AA4 +/* 802B7AB0 002B4A10 28 03 00 00 */ cmplwi r3, 0 +/* 802B7AB4 002B4A14 41 82 00 08 */ beq lbl_802B7ABC +/* 802B7AB8 002B4A18 48 05 DE 79 */ bl Free__7CMemoryFPCv +lbl_802B7ABC: +/* 802B7ABC 002B4A1C 7F A4 EB 78 */ mr r4, r29 +/* 802B7AC0 002B4A20 38 7C 03 00 */ addi r3, r28, 0x300 +/* 802B7AC4 002B4A24 4B D8 DF A5 */ bl sub_80045a68 +/* 802B7AC8 002B4A28 83 FC 00 20 */ lwz r31, 0x20(r28) +/* 802B7ACC 002B4A2C 48 00 01 3C */ b lbl_802B7C08 +lbl_802B7AD0: +/* 802B7AD0 002B4A30 48 0C D8 D9 */ bl OSGetTime +/* 802B7AD4 002B4A34 83 7F 00 0C */ lwz r27, 0xc(r31) +/* 802B7AD8 002B4A38 28 1B 00 00 */ cmplwi r27, 0 +/* 802B7ADC 002B4A3C 41 82 01 28 */ beq lbl_802B7C04 +/* 802B7AE0 002B4A40 83 DB 00 14 */ lwz r30, 0x14(r27) +/* 802B7AE4 002B4A44 38 00 00 00 */ li r0, 0 +/* 802B7AE8 002B4A48 3B 5F 00 24 */ addi r26, r31, 0x24 +/* 802B7AEC 002B4A4C 38 81 00 40 */ addi r4, r1, 0x40 +/* 802B7AF0 002B4A50 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B7AF4 002B4A54 7F 43 D3 78 */ mr r3, r26 +/* 802B7AF8 002B4A58 90 01 00 48 */ stw r0, 0x48(r1) +/* 802B7AFC 002B4A5C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802B7B00 002B4A60 4B DA BB FD */ bl "clear__Q24rstl37vectorFv" +/* 802B7B04 002B4A64 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B7B08 002B4A68 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 802B7B0C 002B4A6C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B7B10 002B4A70 7C 03 02 14 */ add r0, r3, r0 +/* 802B7B14 002B4A74 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B7B18 002B4A78 7C 64 1B 78 */ mr r4, r3 +/* 802B7B1C 002B4A7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B7B20 002B4A80 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B7B24 002B4A84 90 61 00 08 */ stw r3, 8(r1) +/* 802B7B28 002B4A88 48 00 00 08 */ b lbl_802B7B30 +lbl_802B7B2C: +/* 802B7B2C 002B4A8C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B7B30: +/* 802B7B30 002B4A90 7C 04 00 40 */ cmplw r4, r0 +/* 802B7B34 002B4A94 40 82 FF F8 */ bne lbl_802B7B2C +/* 802B7B38 002B4A98 28 03 00 00 */ cmplwi r3, 0 +/* 802B7B3C 002B4A9C 41 82 00 08 */ beq lbl_802B7B44 +/* 802B7B40 002B4AA0 48 05 DD F1 */ bl Free__7CMemoryFPCv +lbl_802B7B44: +/* 802B7B44 002B4AA4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B7B48 002B4AA8 2C 00 00 00 */ cmpwi r0, 0 +/* 802B7B4C 002B4AAC 41 82 00 B8 */ beq lbl_802B7C04 +/* 802B7B50 002B4AB0 80 1C 03 04 */ lwz r0, 0x304(r28) +/* 802B7B54 002B4AB4 7F 43 D3 78 */ mr r3, r26 +/* 802B7B58 002B4AB8 38 AD 9A E8 */ addi r5, r13, lbl_805A86A8@sda21 +/* 802B7B5C 002B4ABC 7C 9E 01 D6 */ mullw r4, r30, r0 +/* 802B7B60 002B4AC0 4B FF 6D 69 */ bl sub_802ae8c8 +/* 802B7B64 002B4AC4 3B 00 00 00 */ li r24, 0 +/* 802B7B68 002B4AC8 3A C0 00 00 */ li r22, 0 +/* 802B7B6C 002B4ACC 7F 17 C3 78 */ mr r23, r24 +/* 802B7B70 002B4AD0 48 00 00 84 */ b lbl_802B7BF4 +lbl_802B7B74: +/* 802B7B74 002B4AD4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 802B7B78 002B4AD8 7F 20 C2 14 */ add r25, r0, r24 +/* 802B7B7C 002B4ADC 7F 23 CB 78 */ mr r3, r25 +/* 802B7B80 002B4AE0 48 04 E7 55 */ bl GetRadius__6CLightCFv +/* 802B7B84 002B4AE4 C0 99 00 04 */ lfs f4, 4(r25) +/* 802B7B88 002B4AE8 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B7B8C 002B4AEC C0 79 00 08 */ lfs f3, 8(r25) +/* 802B7B90 002B4AF0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B7B94 002B4AF4 C0 19 00 00 */ lfs f0, 0(r25) +/* 802B7B98 002B4AF8 EC C4 08 2A */ fadds f6, f4, f1 +/* 802B7B9C 002B4AFC EC A3 08 2A */ fadds f5, f3, f1 +/* 802B7BA0 002B4B00 38 A1 00 28 */ addi r5, r1, 0x28 +/* 802B7BA4 002B4B04 EC 40 08 2A */ fadds f2, f0, f1 +/* 802B7BA8 002B4B08 EC 84 08 28 */ fsubs f4, f4, f1 +/* 802B7BAC 002B4B0C D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802B7BB0 002B4B10 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802B7BB4 002B4B14 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802B7BB8 002B4B18 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802B7BBC 002B4B1C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802B7BC0 002B4B20 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802B7BC4 002B4B24 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802B7BC8 002B4B28 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802B7BCC 002B4B2C 48 08 09 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802B7BD0 002B4B30 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 802B7BD4 002B4B34 56 E0 10 3A */ slwi r0, r23, 2 +/* 802B7BD8 002B4B38 7F 63 DB 78 */ mr r3, r27 +/* 802B7BDC 002B4B3C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802B7BE0 002B4B40 7C 84 02 14 */ add r4, r4, r0 +/* 802B7BE4 002B4B44 4B FF 6C 35 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +/* 802B7BE8 002B4B48 7E F7 F2 14 */ add r23, r23, r30 +/* 802B7BEC 002B4B4C 3A D6 00 01 */ addi r22, r22, 1 +/* 802B7BF0 002B4B50 3B 18 00 50 */ addi r24, r24, 0x50 +lbl_802B7BF4: +/* 802B7BF4 002B4B54 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B7BF8 002B4B58 7C 16 00 00 */ cmpw r22, r0 +/* 802B7BFC 002B4B5C 41 80 FF 78 */ blt lbl_802B7B74 +/* 802B7C00 002B4B60 48 0C D7 A9 */ bl OSGetTime +lbl_802B7C04: +/* 802B7C04 002B4B64 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802B7C08: +/* 802B7C08 002B4B68 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 802B7C0C 002B4B6C 7C 1F 00 40 */ cmplw r31, r0 +/* 802B7C10 002B4B70 40 82 FE C0 */ bne lbl_802B7AD0 +/* 802B7C14 002B4B74 BA C1 00 78 */ lmw r22, 0x78(r1) +/* 802B7C18 002B4B78 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802B7C1C 002B4B7C 7C 08 03 A6 */ mtlr r0 +/* 802B7C20 002B4B80 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802B7C24 002B4B84 4E 80 00 20 */ blr + +.global sub_802b7c28 +sub_802b7c28: +/* 802B7C28 002B4B88 2C 05 FF FF */ cmpwi r5, -1 +/* 802B7C2C 002B4B8C 41 82 00 94 */ beq lbl_802B7CC0 +/* 802B7C30 002B4B90 80 E4 00 20 */ lwz r7, 0x20(r4) +/* 802B7C34 002B4B94 81 04 00 24 */ lwz r8, 0x24(r4) +/* 802B7C38 002B4B98 48 00 00 80 */ b lbl_802B7CB8 +lbl_802B7C3C: +/* 802B7C3C 002B4B9C 80 07 00 20 */ lwz r0, 0x20(r7) +/* 802B7C40 002B4BA0 7C 05 00 00 */ cmpw r5, r0 +/* 802B7C44 002B4BA4 40 82 00 70 */ bne lbl_802B7CB4 +/* 802B7C48 002B4BA8 80 87 00 1C */ lwz r4, 0x1c(r7) +/* 802B7C4C 002B4BAC 39 20 00 00 */ li r9, 0 +/* 802B7C50 002B4BB0 80 04 00 04 */ lwz r0, 4(r4) +/* 802B7C54 002B4BB4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802B7C58 002B4BB8 54 00 18 38 */ slwi r0, r0, 3 +/* 802B7C5C 002B4BBC 7C 04 02 14 */ add r0, r4, r0 +/* 802B7C60 002B4BC0 48 00 00 4C */ b lbl_802B7CAC +lbl_802B7C64: +/* 802B7C64 002B4BC4 7C 09 30 00 */ cmpw r9, r6 +/* 802B7C68 002B4BC8 40 82 00 3C */ bne lbl_802B7CA4 +/* 802B7C6C 002B4BCC 80 84 00 04 */ lwz r4, 4(r4) +/* 802B7C70 002B4BD0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802B7C74 002B4BD4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B7C78 002B4BD8 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802B7C7C 002B4BDC D0 03 00 04 */ stfs f0, 4(r3) +/* 802B7C80 002B4BE0 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802B7C84 002B4BE4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802B7C88 002B4BE8 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802B7C8C 002B4BEC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802B7C90 002B4BF0 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802B7C94 002B4BF4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802B7C98 002B4BF8 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802B7C9C 002B4BFC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802B7CA0 002B4C00 4E 80 00 20 */ blr +lbl_802B7CA4: +/* 802B7CA4 002B4C04 38 84 00 08 */ addi r4, r4, 8 +/* 802B7CA8 002B4C08 39 29 00 01 */ addi r9, r9, 1 +lbl_802B7CAC: +/* 802B7CAC 002B4C0C 7C 04 00 40 */ cmplw r4, r0 +/* 802B7CB0 002B4C10 40 82 FF B4 */ bne lbl_802B7C64 +lbl_802B7CB4: +/* 802B7CB4 002B4C14 80 E7 00 04 */ lwz r7, 4(r7) +lbl_802B7CB8: +/* 802B7CB8 002B4C18 7C 07 40 40 */ cmplw r7, r8 +/* 802B7CBC 002B4C1C 40 82 FF 80 */ bne lbl_802B7C3C +lbl_802B7CC0: +/* 802B7CC0 002B4C20 3C 80 80 5A */ lis r4, lbl_805A6784@ha +/* 802B7CC4 002B4C24 C4 04 67 84 */ lfsu f0, lbl_805A6784@l(r4) +/* 802B7CC8 002B4C28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B7CCC 002B4C2C C0 04 00 04 */ lfs f0, 4(r4) +/* 802B7CD0 002B4C30 D0 03 00 04 */ stfs f0, 4(r3) +/* 802B7CD4 002B4C34 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B7CD8 002B4C38 D0 03 00 08 */ stfs f0, 8(r3) +/* 802B7CDC 002B4C3C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802B7CE0 002B4C40 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802B7CE4 002B4C44 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802B7CE8 002B4C48 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802B7CEC 002B4C4C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802B7CF0 002B4C50 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802B7CF4 002B4C54 4E 80 00 20 */ blr + +.global SetWorldLightFadeLevel__13CCubeRendererFf +SetWorldLightFadeLevel__13CCubeRendererFf: +/* 802B7CF8 002B4C58 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802B7CFC 002B4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B7D00 002B4C60 EC 20 00 72 */ fmuls f1, f0, f1 +/* 802B7D04 002B4C64 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 +/* 802B7D08 002B4C68 38 00 00 FF */ li r0, 0xff +/* 802B7D0C 002B4C6C 88 81 00 08 */ lbz r4, 8(r1) +/* 802B7D10 002B4C70 98 01 00 0F */ stb r0, 0xf(r1) +/* 802B7D14 002B4C74 98 81 00 0C */ stb r4, 0xc(r1) +/* 802B7D18 002B4C78 98 81 00 0D */ stb r4, 0xd(r1) +/* 802B7D1C 002B4C7C 98 81 00 0E */ stb r4, 0xe(r1) +/* 802B7D20 002B4C80 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B7D24 002B4C84 90 03 02 FC */ stw r0, 0x2fc(r3) +/* 802B7D28 002B4C88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B7D2C 002B4C8C 4E 80 00 20 */ blr + +.global SetGXRegister1Color__13CCubeRendererFRC6CColor +SetGXRegister1Color__13CCubeRendererFRC6CColor: +/* 802B7D30 002B4C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B7D34 002B4C94 7C 08 02 A6 */ mflr r0 +/* 802B7D38 002B4C98 38 60 00 02 */ li r3, 2 +/* 802B7D3C 002B4C9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B7D40 002B4CA0 80 04 00 00 */ lwz r0, 0(r4) +/* 802B7D44 002B4CA4 38 81 00 08 */ addi r4, r1, 8 +/* 802B7D48 002B4CA8 90 01 00 08 */ stw r0, 8(r1) +/* 802B7D4C 002B4CAC 48 0C 38 B1 */ bl GXSetTevColor +/* 802B7D50 002B4CB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B7D54 002B4CB4 7C 08 03 A6 */ mtlr r0 +/* 802B7D58 002B4CB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B7D5C 002B4CBC 4E 80 00 20 */ blr + +.global SetThermalColdScale__13CCubeRendererFf +SetThermalColdScale__13CCubeRendererFf: +/* 802B7D60 002B4CC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B7D64 002B4CC4 7C 08 02 A6 */ mflr r0 +/* 802B7D68 002B4CC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B7D6C 002B4CCC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 802B7D70 002B4CD0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 802B7D74 002B4CD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B7D78 002B4CD8 D0 21 00 08 */ stfs f1, 8(r1) +/* 802B7D7C 002B4CDC 7C 7F 1B 78 */ mr r31, r3 +/* 802B7D80 002B4CE0 38 81 00 08 */ addi r4, r1, 8 +/* 802B7D84 002B4CE4 38 6D 9A E0 */ addi r3, r13, lbl_805A86A0@sda21 +/* 802B7D88 002B4CE8 38 AD 9A E4 */ addi r5, r13, lbl_805A86A4@sda21 +/* 802B7D8C 002B4CEC 4B D5 45 29 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802B7D90 002B4CF0 C0 23 00 00 */ lfs f1, 0(r3) +/* 802B7D94 002B4CF4 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802B7D98 002B4CF8 EF E0 00 72 */ fmuls f31, f0, f1 +/* 802B7D9C 002B4CFC F3 E1 A0 0C */ psq_st f31, 12(r1), 1, qr2 +/* 802B7DA0 002B4D00 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B7DA4 002B4D04 98 1F 02 F8 */ stb r0, 0x2f8(r31) +/* 802B7DA8 002B4D08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 802B7DAC 002B4D0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B7DB0 002B4D10 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 802B7DB4 002B4D14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B7DB8 002B4D18 7C 08 03 A6 */ mtlr r0 +/* 802B7DBC 002B4D1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B7DC0 002B4D20 4E 80 00 20 */ blr + +.global DrawAreaGeometry__13CCubeRendererFiii +DrawAreaGeometry__13CCubeRendererFiii: +/* 802B7DC4 002B4D24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B7DC8 002B4D28 7C 08 02 A6 */ mflr r0 +/* 802B7DCC 002B4D2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B7DD0 002B4D30 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802B7DD4 002B4D34 7C 97 23 78 */ mr r23, r4 +/* 802B7DD8 002B4D38 38 80 00 01 */ li r4, 1 +/* 802B7DDC 002B4D3C 7C 76 1B 78 */ mr r22, r3 +/* 802B7DE0 002B4D40 7C B8 2B 78 */ mr r24, r5 +/* 802B7DE4 002B4D44 7C D9 33 78 */ mr r25, r6 +/* 802B7DE8 002B4D48 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B7DEC 002B4D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 802B7DF0 002B4D50 38 80 00 01 */ li r4, 1 +/* 802B7DF4 002B4D54 98 03 03 18 */ stb r0, 0x318(r3) +/* 802B7DF8 002B4D58 48 00 5A 39 */ bl SetupRendererStates__13CCubeRendererFb +/* 802B7DFC 002B4D5C 83 B6 00 20 */ lwz r29, 0x20(r22) +/* 802B7E00 002B4D60 48 00 01 64 */ b lbl_802B7F64 +lbl_802B7E04: +/* 802B7E04 002B4D64 2C 17 FF FF */ cmpwi r23, -1 +/* 802B7E08 002B4D68 41 82 00 10 */ beq lbl_802B7E18 +/* 802B7E0C 002B4D6C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802B7E10 002B4D70 7C 17 00 00 */ cmpw r23, r0 +/* 802B7E14 002B4D74 40 82 01 4C */ bne lbl_802B7F60 +lbl_802B7E18: +/* 802B7E18 002B4D78 88 16 00 DC */ lbz r0, 0xdc(r22) +/* 802B7E1C 002B4D7C 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 802B7E20 002B4D80 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E24 002B4D84 41 82 00 0C */ beq lbl_802B7E30 +/* 802B7E28 002B4D88 3B 76 00 C8 */ addi r27, r22, 0xc8 +/* 802B7E2C 002B4D8C 48 00 00 08 */ b lbl_802B7E34 +lbl_802B7E30: +/* 802B7E30 002B4D90 3B 60 00 00 */ li r27, 0 +lbl_802B7E34: +/* 802B7E34 002B4D94 80 76 00 E0 */ lwz r3, 0xe0(r22) +/* 802B7E38 002B4D98 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 802B7E3C 002B4D9C 7C 03 00 00 */ cmpw r3, r0 +/* 802B7E40 002B4DA0 41 82 00 08 */ beq lbl_802B7E48 +/* 802B7E44 002B4DA4 3B 60 00 00 */ li r27, 0 +lbl_802B7E48: +/* 802B7E48 002B4DA8 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 802B7E4C 002B4DAC 3B 40 00 00 */ li r26, 0 +/* 802B7E50 002B4DB0 48 00 00 F8 */ b lbl_802B7F48 +lbl_802B7E54: +/* 802B7E54 002B4DB4 28 1B 00 00 */ cmplwi r27, 0 +/* 802B7E58 002B4DB8 83 DC 00 04 */ lwz r30, 4(r28) +/* 802B7E5C 002B4DBC 41 82 00 40 */ beq lbl_802B7E9C +/* 802B7E60 002B4DC0 7F 63 DB 78 */ mr r3, r27 +/* 802B7E64 002B4DC4 7F 44 D3 78 */ mr r4, r26 +/* 802B7E68 002B4DC8 48 05 E4 71 */ bl GetVisible__10CPVSVisSetCFi +/* 802B7E6C 002B4DCC 80 96 00 C4 */ lwz r4, 0xc4(r22) +/* 802B7E70 002B4DD0 7C 03 00 D0 */ neg r0, r3 +/* 802B7E74 002B4DD4 7C 00 1B 78 */ or r0, r0, r3 +/* 802B7E78 002B4DD8 2C 04 00 01 */ cmpwi r4, 1 +/* 802B7E7C 002B4DDC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B7E80 002B4DE0 40 82 00 0C */ bne lbl_802B7E8C +/* 802B7E84 002B4DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E88 002B4DE8 41 82 00 B8 */ beq lbl_802B7F40 +lbl_802B7E8C: +/* 802B7E8C 002B4DEC 2C 04 00 02 */ cmpwi r4, 2 +/* 802B7E90 002B4DF0 40 82 00 0C */ bne lbl_802B7E9C +/* 802B7E94 002B4DF4 28 00 00 00 */ cmplwi r0, 0 +/* 802B7E98 002B4DF8 40 82 00 A8 */ bne lbl_802B7F40 +lbl_802B7E9C: +/* 802B7E9C 002B4DFC 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802B7EA0 002B4E00 7F 00 00 38 */ and r0, r24, r0 +/* 802B7EA4 002B4E04 7C 19 00 40 */ cmplw r25, r0 +/* 802B7EA8 002B4E08 40 82 00 98 */ bne lbl_802B7F40 +/* 802B7EAC 002B4E0C 38 76 00 44 */ addi r3, r22, 0x44 +/* 802B7EB0 002B4E10 38 9E 00 20 */ addi r4, r30, 0x20 +/* 802B7EB4 002B4E14 48 08 D3 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 802B7EB8 002B4E18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B7EBC 002B4E1C 41 82 00 84 */ beq lbl_802B7F40 +/* 802B7EC0 002B4E20 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802B7EC4 002B4E24 7F 00 00 38 */ and r0, r24, r0 +/* 802B7EC8 002B4E28 7C 19 00 40 */ cmplw r25, r0 +/* 802B7ECC 002B4E2C 40 82 00 74 */ bne lbl_802B7F40 +/* 802B7ED0 002B4E30 7F C3 F3 78 */ mr r3, r30 +/* 802B7ED4 002B4E34 48 04 F7 4D */ bl SetArraysCurrent__10CCubeModelCFv +/* 802B7ED8 002B4E38 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802B7EDC 002B4E3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B7EE0 002B4E40 48 00 00 20 */ b lbl_802B7F00 +lbl_802B7EE4: +/* 802B7EE4 002B4E44 7F C3 F3 78 */ mr r3, r30 +/* 802B7EE8 002B4E48 38 81 00 0C */ addi r4, r1, 0xc +/* 802B7EEC 002B4E4C 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802B7EF0 002B4E50 48 04 F5 55 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802B7EF4 002B4E54 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B7EF8 002B4E58 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7EFC 002B4E5C 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802B7F00: +/* 802B7F00 002B4E60 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B7F04 002B4E64 28 00 00 00 */ cmplwi r0, 0 +/* 802B7F08 002B4E68 40 82 FF DC */ bne lbl_802B7EE4 +/* 802B7F0C 002B4E6C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 802B7F10 002B4E70 90 01 00 08 */ stw r0, 8(r1) +/* 802B7F14 002B4E74 48 00 00 20 */ b lbl_802B7F34 +lbl_802B7F18: +/* 802B7F18 002B4E78 7F C3 F3 78 */ mr r3, r30 +/* 802B7F1C 002B4E7C 38 81 00 08 */ addi r4, r1, 8 +/* 802B7F20 002B4E80 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802B7F24 002B4E84 48 04 F5 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802B7F28 002B4E88 80 61 00 08 */ lwz r3, 8(r1) +/* 802B7F2C 002B4E8C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802B7F30 002B4E90 90 01 00 08 */ stw r0, 8(r1) +lbl_802B7F34: +/* 802B7F34 002B4E94 80 01 00 08 */ lwz r0, 8(r1) +/* 802B7F38 002B4E98 28 00 00 00 */ cmplwi r0, 0 +/* 802B7F3C 002B4E9C 40 82 FF DC */ bne lbl_802B7F18 +lbl_802B7F40: +/* 802B7F40 002B4EA0 3B 9C 00 08 */ addi r28, r28, 8 +/* 802B7F44 002B4EA4 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802B7F48: +/* 802B7F48 002B4EA8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B7F4C 002B4EAC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B7F50 002B4EB0 54 00 18 38 */ slwi r0, r0, 3 +/* 802B7F54 002B4EB4 7C 03 02 14 */ add r0, r3, r0 +/* 802B7F58 002B4EB8 7C 1C 00 40 */ cmplw r28, r0 +/* 802B7F5C 002B4EBC 40 82 FE F8 */ bne lbl_802B7E54 +lbl_802B7F60: +/* 802B7F60 002B4EC0 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B7F64: +/* 802B7F64 002B4EC4 80 16 00 24 */ lwz r0, 0x24(r22) +/* 802B7F68 002B4EC8 7C 1D 00 40 */ cmplw r29, r0 +/* 802B7F6C 002B4ECC 40 82 FE 98 */ bne lbl_802B7E04 +/* 802B7F70 002B4ED0 7E C3 B3 78 */ mr r3, r22 +/* 802B7F74 002B4ED4 48 00 58 29 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802B7F78 002B4ED8 88 16 03 18 */ lbz r0, 0x318(r22) +/* 802B7F7C 002B4EDC 38 60 00 00 */ li r3, 0 +/* 802B7F80 002B4EE0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 802B7F84 002B4EE4 98 16 03 18 */ stb r0, 0x318(r22) +/* 802B7F88 002B4EE8 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802B7F8C 002B4EEC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B7F90 002B4EF0 7C 08 03 A6 */ mtlr r0 +/* 802B7F94 002B4EF4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B7F98 002B4EF8 4E 80 00 20 */ blr + +.global DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf +DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf: +/* 802B7F9C 002B4EFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B7FA0 002B4F00 7C 08 02 A6 */ mflr r0 +/* 802B7FA4 002B4F04 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B7FA8 002B4F08 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B7FAC 002B4F0C 7C BC 2B 78 */ mr r28, r5 +/* 802B7FB0 002B4F10 7C 9B 23 78 */ mr r27, r4 +/* 802B7FB4 002B4F14 7C DD 33 78 */ mr r29, r6 +/* 802B7FB8 002B4F18 7C FE 3B 78 */ mr r30, r7 +/* 802B7FBC 002B4F1C 7D 1F 43 78 */ mr r31, r8 +/* 802B7FC0 002B4F20 88 05 00 00 */ lbz r0, 0(r5) +/* 802B7FC4 002B4F24 7C 00 07 74 */ extsb r0, r0 +/* 802B7FC8 002B4F28 2C 00 00 06 */ cmpwi r0, 6 +/* 802B7FCC 002B4F2C 40 81 00 1C */ ble lbl_802B7FE8 +/* 802B7FD0 002B4F30 38 60 00 01 */ li r3, 1 +/* 802B7FD4 002B4F34 38 80 00 04 */ li r4, 4 +/* 802B7FD8 002B4F38 38 A0 00 01 */ li r5, 1 +/* 802B7FDC 002B4F3C 38 C0 00 00 */ li r6, 0 +/* 802B7FE0 002B4F40 48 05 08 F1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B7FE4 002B4F44 48 00 00 38 */ b lbl_802B801C +lbl_802B7FE8: +/* 802B7FE8 002B4F48 2C 00 00 04 */ cmpwi r0, 4 +/* 802B7FEC 002B4F4C 40 81 00 1C */ ble lbl_802B8008 +/* 802B7FF0 002B4F50 38 60 00 01 */ li r3, 1 +/* 802B7FF4 002B4F54 38 80 00 04 */ li r4, 4 +/* 802B7FF8 002B4F58 38 A0 00 05 */ li r5, 5 +/* 802B7FFC 002B4F5C 38 C0 00 00 */ li r6, 0 +/* 802B8000 002B4F60 48 05 08 D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B8004 002B4F64 48 00 00 18 */ b lbl_802B801C +lbl_802B8008: +/* 802B8008 002B4F68 38 60 00 01 */ li r3, 1 +/* 802B800C 002B4F6C 38 80 00 01 */ li r4, 1 +/* 802B8010 002B4F70 38 A0 00 00 */ li r5, 0 +/* 802B8014 002B4F74 38 C0 00 00 */ li r6, 0 +/* 802B8018 002B4F78 48 05 08 B9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_802B801C: +/* 802B801C 002B4F7C A0 BC 00 02 */ lhz r5, 2(r28) +/* 802B8020 002B4F80 38 60 00 01 */ li r3, 1 +/* 802B8024 002B4F84 38 80 00 07 */ li r4, 7 +/* 802B8028 002B4F88 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 802B802C 002B4F8C 41 82 00 08 */ beq lbl_802B8034 +/* 802B8030 002B4F90 38 80 00 03 */ li r4, 3 +lbl_802B8034: +/* 802B8034 002B4F94 54 A5 FF FE */ rlwinm r5, r5, 0x1f, 0x1f, 0x1f +/* 802B8038 002B4F98 48 05 08 45 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B803C 002B4F9C 38 60 00 01 */ li r3, 1 +/* 802B8040 002B4FA0 48 05 0C 51 */ bl SetNumTevStages__3CGXFUc +/* 802B8044 002B4FA4 38 60 00 01 */ li r3, 1 +/* 802B8048 002B4FA8 48 05 0D CD */ bl SetNumTexGens__3CGXFUc +/* 802B804C 002B4FAC 38 60 00 00 */ li r3, 0 +/* 802B8050 002B4FB0 48 05 0E 01 */ bl SetNumChans__3CGXFUc +/* 802B8054 002B4FB4 38 60 00 00 */ li r3, 0 +/* 802B8058 002B4FB8 48 05 06 39 */ bl SetNumIndStages__3CGXFUc +/* 802B805C 002B4FBC 38 60 00 07 */ li r3, 7 +/* 802B8060 002B4FC0 38 80 00 00 */ li r4, 0 +/* 802B8064 002B4FC4 38 A0 00 00 */ li r5, 0 +/* 802B8068 002B4FC8 38 C0 00 07 */ li r6, 7 +/* 802B806C 002B4FCC 38 E0 00 00 */ li r7, 0 +/* 802B8070 002B4FD0 48 05 07 A5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B8074 002B4FD4 38 60 00 00 */ li r3, 0 +/* 802B8078 002B4FD8 38 80 00 0F */ li r4, 0xf +/* 802B807C 002B4FDC 38 A0 00 0F */ li r5, 0xf +/* 802B8080 002B4FE0 38 C0 00 0F */ li r6, 0xf +/* 802B8084 002B4FE4 38 E0 00 0E */ li r7, 0xe +/* 802B8088 002B4FE8 48 05 0B 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B808C 002B4FEC 38 60 00 00 */ li r3, 0 +/* 802B8090 002B4FF0 38 80 00 07 */ li r4, 7 +/* 802B8094 002B4FF4 38 A0 00 07 */ li r5, 7 +/* 802B8098 002B4FF8 38 C0 00 07 */ li r6, 7 +/* 802B809C 002B4FFC 38 E0 00 06 */ li r7, 6 +/* 802B80A0 002B5000 48 05 0A F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B80A4 002B5004 38 9C 00 04 */ addi r4, r28, 4 +/* 802B80A8 002B5008 38 60 00 00 */ li r3, 0 +/* 802B80AC 002B500C 48 05 0B 99 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B80B0 002B5010 38 60 00 00 */ li r3, 0 +/* 802B80B4 002B5014 38 80 00 0C */ li r4, 0xc +/* 802B80B8 002B5018 48 05 09 29 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B80BC 002B501C 38 60 00 00 */ li r3, 0 +/* 802B80C0 002B5020 38 80 00 1C */ li r4, 0x1c +/* 802B80C4 002B5024 48 05 08 D9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B80C8 002B5028 38 60 00 00 */ li r3, 0 +/* 802B80CC 002B502C 38 80 00 FF */ li r4, 0xff +/* 802B80D0 002B5030 38 A0 00 FF */ li r5, 0xff +/* 802B80D4 002B5034 38 C0 00 FF */ li r6, 0xff +/* 802B80D8 002B5038 48 05 08 75 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B80DC 002B503C 38 60 00 00 */ li r3, 0 +/* 802B80E0 002B5040 48 04 FB 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B80E4 002B5044 38 60 00 00 */ li r3, 0 +/* 802B80E8 002B5048 48 05 06 5D */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B80EC 002B504C 38 60 00 00 */ li r3, 0 +/* 802B80F0 002B5050 38 80 00 01 */ li r4, 1 +/* 802B80F4 002B5054 38 A0 00 00 */ li r5, 0 +/* 802B80F8 002B5058 38 C0 00 3C */ li r6, 0x3c +/* 802B80FC 002B505C 38 E0 00 00 */ li r7, 0 +/* 802B8100 002B5060 39 00 00 7D */ li r8, 0x7d +/* 802B8104 002B5064 48 05 05 C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B8108 002B5068 7F 63 DB 78 */ mr r3, r27 +/* 802B810C 002B506C 48 09 D0 15 */ bl UpdateLastFrame__6CModelFv +/* 802B8110 002B5070 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802B8114 002B5074 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 802B8118 002B5078 7F C4 F3 78 */ mr r4, r30 +/* 802B811C 002B507C 7F E5 FB 78 */ mr r5, r31 +/* 802B8120 002B5080 38 C0 00 02 */ li r6, 2 +/* 802B8124 002B5084 41 82 00 08 */ beq lbl_802B812C +/* 802B8128 002B5088 38 C0 00 00 */ li r6, 0 +lbl_802B812C: +/* 802B812C 002B508C 48 04 E8 C5 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B8130 002B5090 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B8134 002B5094 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8138 002B5098 7C 08 03 A6 */ mtlr r0 +/* 802B813C 002B509C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8140 002B50A0 4E 80 00 20 */ blr + +.global DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf +DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf: +/* 802B8144 002B50A4 94 21 FD 90 */ stwu r1, -0x270(r1) +/* 802B8148 002B50A8 7C 08 02 A6 */ mflr r0 +/* 802B814C 002B50AC 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B8150 002B50B0 DB E1 02 60 */ stfd f31, 0x260(r1) +/* 802B8154 002B50B4 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 +/* 802B8158 002B50B8 DB C1 02 50 */ stfd f30, 0x250(r1) +/* 802B815C 002B50BC F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 +/* 802B8160 002B50C0 DB A1 02 40 */ stfd f29, 0x240(r1) +/* 802B8164 002B50C4 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 +/* 802B8168 002B50C8 DB 81 02 30 */ stfd f28, 0x230(r1) +/* 802B816C 002B50CC F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 +/* 802B8170 002B50D0 BD E1 01 EC */ stmw r15, 0x1ec(r1) +/* 802B8174 002B50D4 FF E0 08 90 */ fmr f31, f1 +/* 802B8178 002B50D8 7C 9D 23 78 */ mr r29, r4 +/* 802B817C 002B50DC 7C A3 2B 78 */ mr r3, r5 +/* 802B8180 002B50E0 7C CF 33 78 */ mr r15, r6 +/* 802B8184 002B50E4 7C FE 3B 78 */ mr r30, r7 +/* 802B8188 002B50E8 7D 1F 43 78 */ mr r31, r8 +/* 802B818C 002B50EC 38 80 00 00 */ li r4, 0 +/* 802B8190 002B50F0 38 A0 00 00 */ li r5, 0 +/* 802B8194 002B50F4 48 05 75 A9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B8198 002B50F8 38 60 00 00 */ li r3, 0 +/* 802B819C 002B50FC 48 05 04 F5 */ bl SetNumIndStages__3CGXFUc +/* 802B81A0 002B5100 38 60 00 02 */ li r3, 2 +/* 802B81A4 002B5104 48 05 0A ED */ bl SetNumTevStages__3CGXFUc +/* 802B81A8 002B5108 38 60 00 02 */ li r3, 2 +/* 802B81AC 002B510C 48 05 0C 69 */ bl SetNumTexGens__3CGXFUc +/* 802B81B0 002B5110 38 60 00 00 */ li r3, 0 +/* 802B81B4 002B5114 48 05 0C 9D */ bl SetNumChans__3CGXFUc +/* 802B81B8 002B5118 38 60 00 01 */ li r3, 1 +/* 802B81BC 002B511C 38 80 00 04 */ li r4, 4 +/* 802B81C0 002B5120 38 A0 00 05 */ li r5, 5 +/* 802B81C4 002B5124 38 C0 00 00 */ li r6, 0 +/* 802B81C8 002B5128 48 05 07 09 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B81CC 002B512C 38 60 00 00 */ li r3, 0 +/* 802B81D0 002B5130 48 04 FA 81 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B81D4 002B5134 38 60 00 01 */ li r3, 1 +/* 802B81D8 002B5138 48 04 FA 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B81DC 002B513C 38 60 00 00 */ li r3, 0 +/* 802B81E0 002B5140 38 80 00 0F */ li r4, 0xf +/* 802B81E4 002B5144 38 A0 00 0F */ li r5, 0xf +/* 802B81E8 002B5148 38 C0 00 0F */ li r6, 0xf +/* 802B81EC 002B514C 38 E0 00 08 */ li r7, 8 +/* 802B81F0 002B5150 48 05 09 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B81F4 002B5154 38 60 00 00 */ li r3, 0 +/* 802B81F8 002B5158 38 80 00 07 */ li r4, 7 +/* 802B81FC 002B515C 38 A0 00 07 */ li r5, 7 +/* 802B8200 002B5160 38 C0 00 07 */ li r6, 7 +/* 802B8204 002B5164 38 E0 00 04 */ li r7, 4 +/* 802B8208 002B5168 48 05 09 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B820C 002B516C 38 60 00 01 */ li r3, 1 +/* 802B8210 002B5170 38 80 00 0F */ li r4, 0xf +/* 802B8214 002B5174 38 A0 00 08 */ li r5, 8 +/* 802B8218 002B5178 38 C0 00 00 */ li r6, 0 +/* 802B821C 002B517C 38 E0 00 0E */ li r7, 0xe +/* 802B8220 002B5180 48 05 09 CD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B8224 002B5184 38 60 00 01 */ li r3, 1 +/* 802B8228 002B5188 38 80 00 07 */ li r4, 7 +/* 802B822C 002B518C 38 A0 00 04 */ li r5, 4 +/* 802B8230 002B5190 38 C0 00 00 */ li r6, 0 +/* 802B8234 002B5194 38 E0 00 07 */ li r7, 7 +/* 802B8238 002B5198 48 05 09 5D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B823C 002B519C 38 60 00 00 */ li r3, 0 +/* 802B8240 002B51A0 38 80 00 00 */ li r4, 0 +/* 802B8244 002B51A4 38 A0 00 00 */ li r5, 0 +/* 802B8248 002B51A8 38 C0 00 FF */ li r6, 0xff +/* 802B824C 002B51AC 48 05 07 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B8250 002B51B0 38 60 00 01 */ li r3, 1 +/* 802B8254 002B51B4 38 80 00 01 */ li r4, 1 +/* 802B8258 002B51B8 38 A0 00 00 */ li r5, 0 +/* 802B825C 002B51BC 38 C0 00 FF */ li r6, 0xff +/* 802B8260 002B51C0 48 05 06 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B8264 002B51C4 38 60 00 01 */ li r3, 1 +/* 802B8268 002B51C8 38 80 00 0C */ li r4, 0xc +/* 802B826C 002B51CC 48 05 07 75 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B8270 002B51D0 7D E4 7B 78 */ mr r4, r15 +/* 802B8274 002B51D4 38 60 00 00 */ li r3, 0 +/* 802B8278 002B51D8 48 05 09 CD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B827C 002B51DC C0 02 C2 BC */ lfs f0, lbl_805ADFDC@sda21(r2) +/* 802B8280 002B51E0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802B8284 002B51E4 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 802B8288 002B51E8 38 81 00 08 */ addi r4, r1, 8 +/* 802B828C 002B51EC D0 01 00 08 */ stfs f0, 8(r1) +/* 802B8290 002B51F0 39 E5 00 20 */ addi r15, r5, 0x20 +/* 802B8294 002B51F4 48 05 B6 AD */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 802B8298 002B51F8 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B829C 002B51FC 38 81 01 20 */ addi r4, r1, 0x120 +/* 802B82A0 002B5200 48 05 A8 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B82A4 002B5204 7D E4 7B 78 */ mr r4, r15 +/* 802B82A8 002B5208 38 61 00 30 */ addi r3, r1, 0x30 +/* 802B82AC 002B520C 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B82B0 002B5210 48 07 F6 4D */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B82B4 002B5214 C1 01 00 30 */ lfs f8, 0x30(r1) +/* 802B82B8 002B5218 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B82BC 002B521C C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 802B82C0 002B5220 38 81 00 0C */ addi r4, r1, 0xc +/* 802B82C4 002B5224 C0 C1 00 38 */ lfs f6, 0x38(r1) +/* 802B82C8 002B5228 FC 40 40 50 */ fneg f2, f8 +/* 802B82CC 002B522C C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 802B82D0 002B5230 FC 20 38 50 */ fneg f1, f7 +/* 802B82D4 002B5234 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B82D8 002B5238 FC 00 30 50 */ fneg f0, f6 +/* 802B82DC 002B523C C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802B82E0 002B5240 EF 85 40 28 */ fsubs f28, f5, f8 +/* 802B82E4 002B5244 D1 01 00 48 */ stfs f8, 0x48(r1) +/* 802B82E8 002B5248 EF A4 38 28 */ fsubs f29, f4, f7 +/* 802B82EC 002B524C EF C3 30 28 */ fsubs f30, f3, f6 +/* 802B82F0 002B5250 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 802B82F4 002B5254 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 802B82F8 002B5258 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 802B82FC 002B525C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 802B8300 002B5260 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802B8304 002B5264 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802B8308 002B5268 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802B830C 002B526C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B8310 002B5270 48 05 AE 31 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802B8314 002B5274 C0 02 C2 C0 */ lfs f0, lbl_805ADFE0@sda21(r2) +/* 802B8318 002B5278 38 61 00 90 */ addi r3, r1, 0x90 +/* 802B831C 002B527C EC 20 E0 24 */ fdivs f1, f0, f28 +/* 802B8320 002B5280 EC 40 E8 24 */ fdivs f2, f0, f29 +/* 802B8324 002B5284 EC 60 F0 24 */ fdivs f3, f0, f30 +/* 802B8328 002B5288 48 05 AE E1 */ bl Scale__12CTransform4fFfff +/* 802B832C 002B528C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802B8330 002B5290 38 81 00 90 */ addi r4, r1, 0x90 +/* 802B8334 002B5294 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802B8338 002B5298 48 05 A6 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B833C 002B529C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802B8340 002B52A0 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802B8344 002B52A4 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B8348 002B52A8 48 05 A6 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B834C 002B52AC 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B8350 002B52B0 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B8354 002B52B4 48 05 A7 ED */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B8358 002B52B8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 802B835C 002B52BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B8360 002B52C0 38 A1 01 B0 */ addi r5, r1, 0x1b0 +/* 802B8364 002B52C4 38 84 00 20 */ addi r4, r4, 0x20 +/* 802B8368 002B52C8 48 07 F5 95 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B836C 002B52CC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B8370 002B52D0 3C 60 80 3D */ lis r3, lbl_803D6734@ha +/* 802B8374 002B52D4 39 03 67 34 */ addi r8, r3, lbl_803D6734@l +/* 802B8378 002B52D8 3C 60 80 3D */ lis r3, lbl_803D6764@ha +/* 802B837C 002B52DC EC 01 F8 28 */ fsubs f0, f1, f31 +/* 802B8380 002B52E0 3A E3 67 64 */ addi r23, r3, lbl_803D6764@l +/* 802B8384 002B52E4 80 C8 00 0C */ lwz r6, 0xc(r8) +/* 802B8388 002B52E8 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 802B838C 002B52EC 80 08 00 1C */ lwz r0, 0x1c(r8) +/* 802B8390 002B52F0 38 80 00 1E */ li r4, 0x1e +/* 802B8394 002B52F4 FC 00 00 50 */ fneg f0, f0 +/* 802B8398 002B52F8 C0 42 C2 C4 */ lfs f2, lbl_805ADFE4@sda21(r2) +/* 802B839C 002B52FC 83 77 00 0C */ lwz r27, 0xc(r23) +/* 802B83A0 002B5300 38 A0 00 00 */ li r5, 0 +/* 802B83A4 002B5304 80 F7 00 1C */ lwz r7, 0x1c(r23) +/* 802B83A8 002B5308 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 802B83AC 002B530C 80 C8 00 00 */ lwz r6, 0(r8) +/* 802B83B0 002B5310 EC 42 08 3A */ fmadds f2, f2, f0, f1 +/* 802B83B4 002B5314 90 01 01 9C */ stw r0, 0x19c(r1) +/* 802B83B8 002B5318 80 08 00 04 */ lwz r0, 4(r8) +/* 802B83BC 002B531C 90 E1 01 6C */ stw r7, 0x16c(r1) +/* 802B83C0 002B5320 81 E8 00 08 */ lwz r15, 8(r8) +/* 802B83C4 002B5324 82 08 00 10 */ lwz r16, 0x10(r8) +/* 802B83C8 002B5328 82 28 00 14 */ lwz r17, 0x14(r8) +/* 802B83CC 002B532C 82 48 00 18 */ lwz r18, 0x18(r8) +/* 802B83D0 002B5330 82 68 00 20 */ lwz r19, 0x20(r8) +/* 802B83D4 002B5334 82 88 00 24 */ lwz r20, 0x24(r8) +/* 802B83D8 002B5338 82 A8 00 28 */ lwz r21, 0x28(r8) +/* 802B83DC 002B533C 82 C8 00 2C */ lwz r22, 0x2c(r8) +/* 802B83E0 002B5340 83 17 00 00 */ lwz r24, 0(r23) +/* 802B83E4 002B5344 83 37 00 04 */ lwz r25, 4(r23) +/* 802B83E8 002B5348 83 57 00 08 */ lwz r26, 8(r23) +/* 802B83EC 002B534C 83 97 00 10 */ lwz r28, 0x10(r23) +/* 802B83F0 002B5350 81 97 00 14 */ lwz r12, 0x14(r23) +/* 802B83F4 002B5354 81 77 00 18 */ lwz r11, 0x18(r23) +/* 802B83F8 002B5358 81 57 00 20 */ lwz r10, 0x20(r23) +/* 802B83FC 002B535C 81 37 00 24 */ lwz r9, 0x24(r23) +/* 802B8400 002B5360 81 17 00 28 */ lwz r8, 0x28(r23) +/* 802B8404 002B5364 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 802B8408 002B5368 C0 22 C2 C8 */ lfs f1, lbl_805ADFE8@sda21(r2) +/* 802B840C 002B536C C0 02 C2 CC */ lfs f0, lbl_805ADFEC@sda21(r2) +/* 802B8410 002B5370 93 61 01 5C */ stw r27, 0x15c(r1) +/* 802B8414 002B5374 EC 01 07 F8 */ fmsubs f0, f1, f31, f0 +/* 802B8418 002B5378 90 C1 01 80 */ stw r6, 0x180(r1) +/* 802B841C 002B537C 90 01 01 84 */ stw r0, 0x184(r1) +/* 802B8420 002B5380 91 E1 01 88 */ stw r15, 0x188(r1) +/* 802B8424 002B5384 92 01 01 90 */ stw r16, 0x190(r1) +/* 802B8428 002B5388 92 21 01 94 */ stw r17, 0x194(r1) +/* 802B842C 002B538C 92 41 01 98 */ stw r18, 0x198(r1) +/* 802B8430 002B5390 92 61 01 A0 */ stw r19, 0x1a0(r1) +/* 802B8434 002B5394 92 81 01 A4 */ stw r20, 0x1a4(r1) +/* 802B8438 002B5398 92 A1 01 A8 */ stw r21, 0x1a8(r1) +/* 802B843C 002B539C 92 C1 01 AC */ stw r22, 0x1ac(r1) +/* 802B8440 002B53A0 D3 E1 01 8C */ stfs f31, 0x18c(r1) +/* 802B8444 002B53A4 D0 41 01 9C */ stfs f2, 0x19c(r1) +/* 802B8448 002B53A8 93 01 01 50 */ stw r24, 0x150(r1) +/* 802B844C 002B53AC 93 21 01 54 */ stw r25, 0x154(r1) +/* 802B8450 002B53B0 93 41 01 58 */ stw r26, 0x158(r1) +/* 802B8454 002B53B4 93 81 01 60 */ stw r28, 0x160(r1) +/* 802B8458 002B53B8 91 81 01 64 */ stw r12, 0x164(r1) +/* 802B845C 002B53BC 91 61 01 68 */ stw r11, 0x168(r1) +/* 802B8460 002B53C0 91 41 01 70 */ stw r10, 0x170(r1) +/* 802B8464 002B53C4 91 21 01 74 */ stw r9, 0x174(r1) +/* 802B8468 002B53C8 91 01 01 78 */ stw r8, 0x178(r1) +/* 802B846C 002B53CC 90 E1 01 7C */ stw r7, 0x17c(r1) +/* 802B8470 002B53D0 D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 802B8474 002B53D4 D0 41 01 6C */ stfs f2, 0x16c(r1) +/* 802B8478 002B53D8 48 0C 40 19 */ bl GXLoadTexMtxImm +/* 802B847C 002B53DC 38 61 01 80 */ addi r3, r1, 0x180 +/* 802B8480 002B53E0 38 80 00 40 */ li r4, 0x40 +/* 802B8484 002B53E4 38 A0 00 00 */ li r5, 0 +/* 802B8488 002B53E8 48 0C 40 09 */ bl GXLoadTexMtxImm +/* 802B848C 002B53EC 38 61 01 50 */ addi r3, r1, 0x150 +/* 802B8490 002B53F0 38 80 00 43 */ li r4, 0x43 +/* 802B8494 002B53F4 38 A0 00 00 */ li r5, 0 +/* 802B8498 002B53F8 48 0C 3F F9 */ bl GXLoadTexMtxImm +/* 802B849C 002B53FC 38 60 00 00 */ li r3, 0 +/* 802B84A0 002B5400 38 80 00 00 */ li r4, 0 +/* 802B84A4 002B5404 38 A0 00 00 */ li r5, 0 +/* 802B84A8 002B5408 38 C0 00 1E */ li r6, 0x1e +/* 802B84AC 002B540C 38 E0 00 00 */ li r7, 0 +/* 802B84B0 002B5410 39 00 00 40 */ li r8, 0x40 +/* 802B84B4 002B5414 48 05 02 19 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B84B8 002B5418 38 60 00 01 */ li r3, 1 +/* 802B84BC 002B541C 38 80 00 00 */ li r4, 0 +/* 802B84C0 002B5420 38 A0 00 00 */ li r5, 0 +/* 802B84C4 002B5424 38 C0 00 1E */ li r6, 0x1e +/* 802B84C8 002B5428 38 E0 00 00 */ li r7, 0 +/* 802B84CC 002B542C 39 00 00 43 */ li r8, 0x43 +/* 802B84D0 002B5430 48 05 01 FD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B84D4 002B5434 38 60 00 04 */ li r3, 4 +/* 802B84D8 002B5438 38 80 00 00 */ li r4, 0 +/* 802B84DC 002B543C 38 A0 00 00 */ li r5, 0 +/* 802B84E0 002B5440 38 C0 00 07 */ li r6, 7 +/* 802B84E4 002B5444 38 E0 00 00 */ li r7, 0 +/* 802B84E8 002B5448 48 05 03 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B84EC 002B544C 38 60 00 01 */ li r3, 1 +/* 802B84F0 002B5450 38 80 00 03 */ li r4, 3 +/* 802B84F4 002B5454 38 A0 00 01 */ li r5, 1 +/* 802B84F8 002B5458 48 05 03 85 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B84FC 002B545C 7F A3 EB 78 */ mr r3, r29 +/* 802B8500 002B5460 48 09 CC 21 */ bl UpdateLastFrame__6CModelFv +/* 802B8504 002B5464 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 802B8508 002B5468 7F C4 F3 78 */ mr r4, r30 +/* 802B850C 002B546C 7F E5 FB 78 */ mr r5, r31 +/* 802B8510 002B5470 38 C0 00 02 */ li r6, 2 +/* 802B8514 002B5474 48 04 E4 DD */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B8518 002B5478 38 60 00 07 */ li r3, 7 +/* 802B851C 002B547C 38 80 00 00 */ li r4, 0 +/* 802B8520 002B5480 38 A0 00 00 */ li r5, 0 +/* 802B8524 002B5484 38 C0 00 07 */ li r6, 7 +/* 802B8528 002B5488 38 E0 00 00 */ li r7, 0 +/* 802B852C 002B548C 48 05 02 E9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B8530 002B5490 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 +/* 802B8534 002B5494 CB E1 02 60 */ lfd f31, 0x260(r1) +/* 802B8538 002B5498 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 +/* 802B853C 002B549C CB C1 02 50 */ lfd f30, 0x250(r1) +/* 802B8540 002B54A0 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 +/* 802B8544 002B54A4 CB A1 02 40 */ lfd f29, 0x240(r1) +/* 802B8548 002B54A8 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 +/* 802B854C 002B54AC CB 81 02 30 */ lfd f28, 0x230(r1) +/* 802B8550 002B54B0 B9 E1 01 EC */ lmw r15, 0x1ec(r1) +/* 802B8554 002B54B4 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802B8558 002B54B8 7C 08 03 A6 */ mtlr r0 +/* 802B855C 002B54BC 38 21 02 70 */ addi r1, r1, 0x270 +/* 802B8560 002B54C0 4E 80 00 20 */ blr + +.global DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags +DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags: +/* 802B8564 002B54C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B8568 002B54C8 7C 08 02 A6 */ mflr r0 +/* 802B856C 002B54CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B8570 002B54D0 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802B8574 002B54D4 7C 79 1B 78 */ mr r25, r3 +/* 802B8578 002B54D8 7C BA 2B 78 */ mr r26, r5 +/* 802B857C 002B54DC 7C DB 33 78 */ mr r27, r6 +/* 802B8580 002B54E0 7C FC 3B 78 */ mr r28, r7 +/* 802B8584 002B54E4 7D 1D 43 78 */ mr r29, r8 +/* 802B8588 002B54E8 7D 3E 4B 78 */ mr r30, r9 +/* 802B858C 002B54EC 7C 83 23 78 */ mr r3, r4 +/* 802B8590 002B54F0 83 E4 00 28 */ lwz r31, 0x28(r4) +/* 802B8594 002B54F4 48 09 CB 8D */ bl UpdateLastFrame__6CModelFv +/* 802B8598 002B54F8 7F 23 CB 78 */ mr r3, r25 +/* 802B859C 002B54FC 7F E4 FB 78 */ mr r4, r31 +/* 802B85A0 002B5500 7F 45 D3 78 */ mr r5, r26 +/* 802B85A4 002B5504 7F 66 DB 78 */ mr r6, r27 +/* 802B85A8 002B5508 7F 87 E3 78 */ mr r7, r28 +/* 802B85AC 002B550C 7F A8 EB 78 */ mr r8, r29 +/* 802B85B0 002B5510 7F C9 F3 78 */ mr r9, r30 +/* 802B85B4 002B5514 48 00 00 19 */ bl sub_802b85cc +/* 802B85B8 002B5518 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802B85BC 002B551C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B85C0 002B5520 7C 08 03 A6 */ mtlr r0 +/* 802B85C4 002B5524 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B85C8 002B5528 4E 80 00 20 */ blr + +.global sub_802b85cc +sub_802b85cc: +/* 802B85CC 002B552C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 802B85D0 002B5530 7C 08 02 A6 */ mflr r0 +/* 802B85D4 002B5534 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802B85D8 002B5538 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 802B85DC 002B553C 7C 79 1B 78 */ mr r25, r3 +/* 802B85E0 002B5540 7C 9C 23 78 */ mr r28, r4 +/* 802B85E4 002B5544 7C BA 2B 78 */ mr r26, r5 +/* 802B85E8 002B5548 7C DB 33 78 */ mr r27, r6 +/* 802B85EC 002B554C 7C FD 3B 78 */ mr r29, r7 +/* 802B85F0 002B5550 7D 1E 43 78 */ mr r30, r8 +/* 802B85F4 002B5554 7D 3F 4B 78 */ mr r31, r9 +/* 802B85F8 002B5558 38 60 00 00 */ li r3, 0 +/* 802B85FC 002B555C 38 80 00 00 */ li r4, 0 +/* 802B8600 002B5560 38 A0 00 01 */ li r5, 1 +/* 802B8604 002B5564 38 C0 00 1E */ li r6, 0x1e +/* 802B8608 002B5568 38 E0 00 01 */ li r7, 1 +/* 802B860C 002B556C 39 00 00 40 */ li r8, 0x40 +/* 802B8610 002B5570 48 05 00 BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B8614 002B5574 38 60 00 01 */ li r3, 1 +/* 802B8618 002B5578 48 05 07 FD */ bl SetNumTexGens__3CGXFUc +/* 802B861C 002B557C 38 60 00 00 */ li r3, 0 +/* 802B8620 002B5580 48 05 08 31 */ bl SetNumChans__3CGXFUc +/* 802B8624 002B5584 38 79 02 20 */ addi r3, r25, 0x220 +/* 802B8628 002B5588 38 80 00 00 */ li r4, 0 +/* 802B862C 002B558C 38 A0 00 00 */ li r5, 0 +/* 802B8630 002B5590 48 05 71 0D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B8634 002B5594 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B8638 002B5598 38 61 00 0C */ addi r3, r1, 0xc +/* 802B863C 002B559C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B8640 002B55A0 48 05 A6 5D */ bl GetQuickInverse__12CTransform4fCFv +/* 802B8644 002B55A4 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 802B8648 002B55A8 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B864C 002B55AC 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 802B8650 002B55B0 38 81 00 0C */ addi r4, r1, 0xc +/* 802B8654 002B55B4 48 05 A8 DD */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 802B8658 002B55B8 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B865C 002B55BC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B8660 002B55C0 48 05 A5 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B8664 002B55C4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B8668 002B55C8 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B866C 002B55CC 38 C4 66 A0 */ addi r6, r4, skZero3f@l +/* 802B8670 002B55D0 38 80 00 1E */ li r4, 0x1e +/* 802B8674 002B55D4 C0 46 00 00 */ lfs f2, 0(r6) +/* 802B8678 002B55D8 38 A0 00 00 */ li r5, 0 +/* 802B867C 002B55DC C0 26 00 04 */ lfs f1, 4(r6) +/* 802B8680 002B55E0 C0 06 00 08 */ lfs f0, 8(r6) +/* 802B8684 002B55E4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 802B8688 002B55E8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 802B868C 002B55EC D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802B8690 002B55F0 48 0C 3E 01 */ bl GXLoadTexMtxImm +/* 802B8694 002B55F4 3C 60 80 3D */ lis r3, lbl_803D6704@ha +/* 802B8698 002B55F8 38 80 00 40 */ li r4, 0x40 +/* 802B869C 002B55FC 38 63 67 04 */ addi r3, r3, lbl_803D6704@l +/* 802B86A0 002B5600 38 A0 00 00 */ li r5, 0 +/* 802B86A4 002B5604 48 0C 3D ED */ bl GXLoadTexMtxImm +/* 802B86A8 002B5608 38 60 00 00 */ li r3, 0 +/* 802B86AC 002B560C 48 04 F5 A5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B86B0 002B5610 38 60 00 00 */ li r3, 0 +/* 802B86B4 002B5614 38 80 00 0F */ li r4, 0xf +/* 802B86B8 002B5618 38 A0 00 02 */ li r5, 2 +/* 802B86BC 002B561C 38 C0 00 08 */ li r6, 8 +/* 802B86C0 002B5620 38 E0 00 0E */ li r7, 0xe +/* 802B86C4 002B5624 48 05 05 29 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B86C8 002B5628 38 60 00 00 */ li r3, 0 +/* 802B86CC 002B562C 38 80 00 07 */ li r4, 7 +/* 802B86D0 002B5630 38 A0 00 04 */ li r5, 4 +/* 802B86D4 002B5634 38 C0 00 01 */ li r6, 1 +/* 802B86D8 002B5638 38 E0 00 06 */ li r7, 6 +/* 802B86DC 002B563C 48 05 04 B9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B86E0 002B5640 38 60 00 00 */ li r3, 0 +/* 802B86E4 002B5644 38 80 00 00 */ li r4, 0 +/* 802B86E8 002B5648 38 A0 00 00 */ li r5, 0 +/* 802B86EC 002B564C 38 C0 00 FF */ li r6, 0xff +/* 802B86F0 002B5650 48 05 02 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B86F4 002B5654 38 60 00 01 */ li r3, 1 +/* 802B86F8 002B5658 48 05 05 99 */ bl SetNumTevStages__3CGXFUc +/* 802B86FC 002B565C 7F 64 DB 78 */ mr r4, r27 +/* 802B8700 002B5660 38 60 00 00 */ li r3, 0 +/* 802B8704 002B5664 48 05 05 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B8708 002B5668 38 60 00 00 */ li r3, 0 +/* 802B870C 002B566C 38 80 00 0C */ li r4, 0xc +/* 802B8710 002B5670 48 05 02 D1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B8714 002B5674 38 60 00 00 */ li r3, 0 +/* 802B8718 002B5678 38 80 00 1C */ li r4, 0x1c +/* 802B871C 002B567C 48 05 02 81 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B8720 002B5680 80 1A 00 00 */ lwz r0, 0(r26) +/* 802B8724 002B5684 38 81 00 08 */ addi r4, r1, 8 +/* 802B8728 002B5688 38 60 00 01 */ li r3, 1 +/* 802B872C 002B568C 90 01 00 08 */ stw r0, 8(r1) +/* 802B8730 002B5690 48 0C 2E CD */ bl GXSetTevColor +/* 802B8734 002B5694 38 60 00 07 */ li r3, 7 +/* 802B8738 002B5698 38 80 00 00 */ li r4, 0 +/* 802B873C 002B569C 38 A0 00 01 */ li r5, 1 +/* 802B8740 002B56A0 38 C0 00 07 */ li r6, 7 +/* 802B8744 002B56A4 38 E0 00 00 */ li r7, 0 +/* 802B8748 002B56A8 48 05 00 CD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B874C 002B56AC 38 60 00 01 */ li r3, 1 +/* 802B8750 002B56B0 38 80 00 01 */ li r4, 1 +/* 802B8754 002B56B4 38 A0 00 01 */ li r5, 1 +/* 802B8758 002B56B8 38 C0 00 00 */ li r6, 0 +/* 802B875C 002B56BC 48 05 01 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B8760 002B56C0 A0 1F 00 02 */ lhz r0, 2(r31) +/* 802B8764 002B56C4 38 80 00 03 */ li r4, 3 +/* 802B8768 002B56C8 54 05 07 FE */ clrlwi r5, r0, 0x1f +/* 802B876C 002B56CC 54 03 07 BC */ rlwinm r3, r0, 0, 0x1e, 0x1e +/* 802B8770 002B56D0 38 A5 FF FF */ addi r5, r5, -1 +/* 802B8774 002B56D4 38 03 FF FE */ addi r0, r3, -2 +/* 802B8778 002B56D8 7C A3 00 34 */ cntlzw r3, r5 +/* 802B877C 002B56DC 7C 00 00 34 */ cntlzw r0, r0 +/* 802B8780 002B56E0 54 63 D9 7E */ srwi r3, r3, 5 +/* 802B8784 002B56E4 54 05 D9 7E */ srwi r5, r0, 5 +/* 802B8788 002B56E8 48 05 00 F5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B878C 002B56EC A0 1F 00 02 */ lhz r0, 2(r31) +/* 802B8790 002B56F0 7F 83 E3 78 */ mr r3, r28 +/* 802B8794 002B56F4 7F A4 EB 78 */ mr r4, r29 +/* 802B8798 002B56F8 7F C5 F3 78 */ mr r5, r30 +/* 802B879C 002B56FC 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 +/* 802B87A0 002B5700 38 C0 00 02 */ li r6, 2 +/* 802B87A4 002B5704 41 82 00 08 */ beq lbl_802B87AC +/* 802B87A8 002B5708 38 C0 00 00 */ li r6, 0 +lbl_802B87AC: +/* 802B87AC 002B570C 48 04 E2 45 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802B87B0 002B5710 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 802B87B4 002B5714 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802B87B8 002B5718 7C 08 03 A6 */ mtlr r0 +/* 802B87BC 002B571C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 802B87C0 002B5720 4E 80 00 20 */ blr + +.global "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +"__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": +/* 802B87C4 002B5724 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B87C8 002B5728 7C 08 02 A6 */ mflr r0 +/* 802B87CC 002B572C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B87D0 002B5730 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 802B87D4 002B5734 7C 7E 1B 78 */ mr r30, r3 +/* 802B87D8 002B5738 7C BB 2B 78 */ mr r27, r5 +/* 802B87DC 002B573C 7C DD 33 78 */ mr r29, r6 +/* 802B87E0 002B5740 7C FC 3B 78 */ mr r28, r7 +/* 802B87E4 002B5744 7D 1F 43 78 */ mr r31, r8 +/* 802B87E8 002B5748 48 05 A3 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B87EC 002B574C 80 1B 00 00 */ lwz r0, 0(r27) +/* 802B87F0 002B5750 28 1C 00 00 */ cmplwi r28, 0 +/* 802B87F4 002B5754 3B 60 00 00 */ li r27, 0 +/* 802B87F8 002B5758 3B 40 00 00 */ li r26, 0 +/* 802B87FC 002B575C 90 1E 00 30 */ stw r0, 0x30(r30) +/* 802B8800 002B5760 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802B8804 002B5764 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 802B8808 002B5768 C0 1D 00 04 */ lfs f0, 4(r29) +/* 802B880C 002B576C D0 1E 00 38 */ stfs f0, 0x38(r30) +/* 802B8810 002B5770 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802B8814 002B5774 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802B8818 002B5778 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 802B881C 002B577C D0 1E 00 40 */ stfs f0, 0x40(r30) +/* 802B8820 002B5780 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 802B8824 002B5784 D0 1E 00 44 */ stfs f0, 0x44(r30) +/* 802B8828 002B5788 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 802B882C 002B578C D0 1E 00 48 */ stfs f0, 0x48(r30) +/* 802B8830 002B5790 41 82 00 3C */ beq lbl_802B886C +/* 802B8834 002B5794 38 00 00 01 */ li r0, 1 +/* 802B8838 002B5798 37 A1 00 18 */ addic. r29, r1, 0x18 +/* 802B883C 002B579C 98 01 00 24 */ stb r0, 0x24(r1) +/* 802B8840 002B57A0 41 82 00 20 */ beq lbl_802B8860 +/* 802B8844 002B57A4 7F A3 EB 78 */ mr r3, r29 +/* 802B8848 002B57A8 7F 84 E3 78 */ mr r4, r28 +/* 802B884C 002B57AC 48 08 86 5D */ bl __ct__6CTokenFRC6CToken +/* 802B8850 002B57B0 80 1C 00 08 */ lwz r0, 8(r28) +/* 802B8854 002B57B4 7F A3 EB 78 */ mr r3, r29 +/* 802B8858 002B57B8 90 1D 00 08 */ stw r0, 8(r29) +/* 802B885C 002B57BC 48 08 85 29 */ bl Lock__6CTokenFv +lbl_802B8860: +/* 802B8860 002B57C0 3B 81 00 18 */ addi r28, r1, 0x18 +/* 802B8864 002B57C4 3B 60 00 01 */ li r27, 1 +/* 802B8868 002B57C8 48 00 00 14 */ b lbl_802B887C +lbl_802B886C: +/* 802B886C 002B57CC 38 00 00 00 */ li r0, 0 +/* 802B8870 002B57D0 3B 81 00 08 */ addi r28, r1, 8 +/* 802B8874 002B57D4 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B8878 002B57D8 3B 40 00 01 */ li r26, 1 +lbl_802B887C: +/* 802B887C 002B57DC 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 802B8880 002B57E0 98 1E 00 58 */ stb r0, 0x58(r30) +/* 802B8884 002B57E4 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 802B8888 002B57E8 28 00 00 00 */ cmplwi r0, 0 +/* 802B888C 002B57EC 41 82 00 28 */ beq lbl_802B88B4 +/* 802B8890 002B57F0 37 BE 00 4C */ addic. r29, r30, 0x4c +/* 802B8894 002B57F4 41 82 00 20 */ beq lbl_802B88B4 +/* 802B8898 002B57F8 7F A3 EB 78 */ mr r3, r29 +/* 802B889C 002B57FC 7F 84 E3 78 */ mr r4, r28 +/* 802B88A0 002B5800 48 08 86 09 */ bl __ct__6CTokenFRC6CToken +/* 802B88A4 002B5804 80 1C 00 08 */ lwz r0, 8(r28) +/* 802B88A8 002B5808 7F A3 EB 78 */ mr r3, r29 +/* 802B88AC 002B580C 90 1D 00 08 */ stw r0, 8(r29) +/* 802B88B0 002B5810 48 08 84 D5 */ bl Lock__6CTokenFv +lbl_802B88B4: +/* 802B88B4 002B5814 7F 40 07 75 */ extsb. r0, r26 +/* 802B88B8 002B5818 41 82 00 30 */ beq lbl_802B88E8 +/* 802B88BC 002B581C 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B88C0 002B5820 28 00 00 00 */ cmplwi r0, 0 +/* 802B88C4 002B5824 41 82 00 1C */ beq lbl_802B88E0 +/* 802B88C8 002B5828 34 61 00 08 */ addic. r3, r1, 8 +/* 802B88CC 002B582C 41 82 00 14 */ beq lbl_802B88E0 +/* 802B88D0 002B5830 28 03 00 00 */ cmplwi r3, 0 +/* 802B88D4 002B5834 41 82 00 0C */ beq lbl_802B88E0 +/* 802B88D8 002B5838 38 80 00 00 */ li r4, 0 +/* 802B88DC 002B583C 48 08 85 65 */ bl __dt__6CTokenFv +lbl_802B88E0: +/* 802B88E0 002B5840 38 00 00 00 */ li r0, 0 +/* 802B88E4 002B5844 98 01 00 14 */ stb r0, 0x14(r1) +lbl_802B88E8: +/* 802B88E8 002B5848 7F 60 07 75 */ extsb. r0, r27 +/* 802B88EC 002B584C 41 82 00 30 */ beq lbl_802B891C +/* 802B88F0 002B5850 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802B88F4 002B5854 28 00 00 00 */ cmplwi r0, 0 +/* 802B88F8 002B5858 41 82 00 1C */ beq lbl_802B8914 +/* 802B88FC 002B585C 34 61 00 18 */ addic. r3, r1, 0x18 +/* 802B8900 002B5860 41 82 00 14 */ beq lbl_802B8914 +/* 802B8904 002B5864 28 03 00 00 */ cmplwi r3, 0 +/* 802B8908 002B5868 41 82 00 0C */ beq lbl_802B8914 +/* 802B890C 002B586C 38 80 00 00 */ li r4, 0 +/* 802B8910 002B5870 48 08 85 31 */ bl __dt__6CTokenFv +lbl_802B8914: +/* 802B8914 002B5874 38 00 00 00 */ li r0, 0 +/* 802B8918 002B5878 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802B891C: +/* 802B891C 002B587C 93 FE 00 5C */ stw r31, 0x5c(r30) +/* 802B8920 002B5880 7F C3 F3 78 */ mr r3, r30 +/* 802B8924 002B5884 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 802B8928 002B5888 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B892C 002B588C 7C 08 03 A6 */ mtlr r0 +/* 802B8930 002B5890 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B8934 002B5894 4E 80 00 20 */ blr + +.global PostRenderFogs__13CCubeRendererFv +PostRenderFogs__13CCubeRendererFv: +/* 802B8938 002B5898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B893C 002B589C 7C 08 02 A6 */ mflr r0 +/* 802B8940 002B58A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8944 002B58A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B8948 002B58A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B894C 002B58AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B8950 002B58B0 7C 7D 1B 78 */ mr r29, r3 +/* 802B8954 002B58B4 83 E3 02 C8 */ lwz r31, 0x2c8(r3) +/* 802B8958 002B58B8 48 00 00 18 */ b lbl_802B8970 +lbl_802B895C: +/* 802B895C 002B58BC C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802B8960 002B58C0 7F A3 EB 78 */ mr r3, r29 +/* 802B8964 002B58C4 38 9F 00 08 */ addi r4, r31, 8 +/* 802B8968 002B58C8 48 00 32 51 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +/* 802B896C 002B58CC 83 FF 00 04 */ lwz r31, 4(r31) +lbl_802B8970: +/* 802B8970 002B58D0 83 DD 02 CC */ lwz r30, 0x2cc(r29) +/* 802B8974 002B58D4 7C 1F F0 40 */ cmplw r31, r30 +/* 802B8978 002B58D8 40 82 FF E4 */ bne lbl_802B895C +/* 802B897C 002B58DC 80 9D 02 C8 */ lwz r4, 0x2c8(r29) +/* 802B8980 002B58E0 48 00 00 10 */ b lbl_802B8990 +lbl_802B8984: +/* 802B8984 002B58E4 38 7D 02 C4 */ addi r3, r29, 0x2c4 +/* 802B8988 002B58E8 48 00 7C 2D */ bl sub_802c05b4 +/* 802B898C 002B58EC 7C 64 1B 78 */ mr r4, r3 +lbl_802B8990: +/* 802B8990 002B58F0 7C 04 F0 40 */ cmplw r4, r30 +/* 802B8994 002B58F4 40 82 FF F0 */ bne lbl_802B8984 +/* 802B8998 002B58F8 88 0D A6 2C */ lbz r0, lbl_805A91EC@sda21(r13) +/* 802B899C 002B58FC 38 7D 02 AC */ addi r3, r29, 0x2ac +/* 802B89A0 002B5900 38 81 00 08 */ addi r4, r1, 8 +/* 802B89A4 002B5904 98 01 00 08 */ stb r0, 8(r1) +/* 802B89A8 002B5908 48 00 00 8D */ bl FogSorter +/* 802B89AC 002B590C 83 DD 02 B0 */ lwz r30, 0x2b0(r29) +/* 802B89B0 002B5910 48 00 00 40 */ b lbl_802B89F0 +lbl_802B89B4: +/* 802B89B4 002B5914 3B FE 00 08 */ addi r31, r30, 8 +/* 802B89B8 002B5918 7F E3 FB 78 */ mr r3, r31 +/* 802B89BC 002B591C 48 05 3C 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B89C0 002B5920 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802B89C4 002B5924 7F A3 EB 78 */ mr r3, r29 +/* 802B89C8 002B5928 38 9F 00 30 */ addi r4, r31, 0x30 +/* 802B89CC 002B592C 38 BF 00 34 */ addi r5, r31, 0x34 +/* 802B89D0 002B5930 28 00 00 00 */ cmplwi r0, 0 +/* 802B89D4 002B5934 41 82 00 0C */ beq lbl_802B89E0 +/* 802B89D8 002B5938 80 DF 00 54 */ lwz r6, 0x54(r31) +/* 802B89DC 002B593C 48 00 00 08 */ b lbl_802B89E4 +lbl_802B89E0: +/* 802B89E0 002B5940 38 C0 00 00 */ li r6, 0 +lbl_802B89E4: +/* 802B89E4 002B5944 80 FF 00 5C */ lwz r7, 0x5c(r31) +/* 802B89E8 002B5948 48 00 05 C9 */ bl ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel +/* 802B89EC 002B594C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_802B89F0: +/* 802B89F0 002B5950 83 FD 02 B4 */ lwz r31, 0x2b4(r29) +/* 802B89F4 002B5954 7C 1E F8 40 */ cmplw r30, r31 +/* 802B89F8 002B5958 40 82 FF BC */ bne lbl_802B89B4 +/* 802B89FC 002B595C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) +/* 802B8A00 002B5960 48 00 00 10 */ b lbl_802B8A10 +lbl_802B8A04: +/* 802B8A04 002B5964 38 7D 02 AC */ addi r3, r29, 0x2ac +/* 802B8A08 002B5968 48 00 7A 35 */ bl sub_802c043c +/* 802B8A0C 002B596C 7C 64 1B 78 */ mr r4, r3 +lbl_802B8A10: +/* 802B8A10 002B5970 7C 04 F8 40 */ cmplw r4, r31 +/* 802B8A14 002B5974 40 82 FF F0 */ bne lbl_802B8A04 +/* 802B8A18 002B5978 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8A1C 002B597C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B8A20 002B5980 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B8A24 002B5984 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B8A28 002B5988 7C 08 03 A6 */ mtlr r0 +/* 802B8A2C 002B598C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8A30 002B5990 4E 80 00 20 */ blr + +.global FogSorter +FogSorter: +/* 802B8A34 002B5994 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8A38 002B5998 7C 08 02 A6 */ mflr r0 +/* 802B8A3C 002B599C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8A40 002B59A0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B8A44 002B59A4 7C 7B 1B 78 */ mr r27, r3 +/* 802B8A48 002B59A8 7C 9C 23 78 */ mr r28, r4 +/* 802B8A4C 002B59AC 83 E3 00 04 */ lwz r31, 4(r3) +/* 802B8A50 002B59B0 48 00 00 54 */ b lbl_802B8AA4 +lbl_802B8A54: +/* 802B8A54 002B59B4 83 BF 00 04 */ lwz r29, 4(r31) +/* 802B8A58 002B59B8 7F FE FB 78 */ mr r30, r31 +/* 802B8A5C 002B59BC 48 00 00 24 */ b lbl_802B8A80 +lbl_802B8A60: +/* 802B8A60 002B59C0 7F 83 E3 78 */ mr r3, r28 +/* 802B8A64 002B59C4 38 9E 00 08 */ addi r4, r30, 8 +/* 802B8A68 002B59C8 38 BD 00 08 */ addi r5, r29, 8 +/* 802B8A6C 002B59CC 48 00 00 DD */ bl sub_802b8b48 +/* 802B8A70 002B59D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B8A74 002B59D4 41 82 00 08 */ beq lbl_802B8A7C +/* 802B8A78 002B59D8 7F BE EB 78 */ mr r30, r29 +lbl_802B8A7C: +/* 802B8A7C 002B59DC 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802B8A80: +/* 802B8A80 002B59E0 80 1B 00 08 */ lwz r0, 8(r27) +/* 802B8A84 002B59E4 7C 1D 00 40 */ cmplw r29, r0 +/* 802B8A88 002B59E8 40 82 FF D8 */ bne lbl_802B8A60 +/* 802B8A8C 002B59EC 83 BF 00 04 */ lwz r29, 4(r31) +/* 802B8A90 002B59F0 7F 63 DB 78 */ mr r3, r27 +/* 802B8A94 002B59F4 7F E4 FB 78 */ mr r4, r31 +/* 802B8A98 002B59F8 7F C5 F3 78 */ mr r5, r30 +/* 802B8A9C 002B59FC 48 00 00 29 */ bl sub_802b8ac4 +/* 802B8AA0 002B5A00 7F BF EB 78 */ mr r31, r29 +lbl_802B8AA4: +/* 802B8AA4 002B5A04 80 1B 00 08 */ lwz r0, 8(r27) +/* 802B8AA8 002B5A08 7C 1F 00 40 */ cmplw r31, r0 +/* 802B8AAC 002B5A0C 40 82 FF A8 */ bne lbl_802B8A54 +/* 802B8AB0 002B5A10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B8AB4 002B5A14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8AB8 002B5A18 7C 08 03 A6 */ mtlr r0 +/* 802B8ABC 002B5A1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8AC0 002B5A20 4E 80 00 20 */ blr + +.global sub_802b8ac4 +sub_802b8ac4: +/* 802B8AC4 002B5A24 7C 04 28 40 */ cmplw r4, r5 +/* 802B8AC8 002B5A28 4D 82 00 20 */ beqlr +/* 802B8ACC 002B5A2C 80 03 00 04 */ lwz r0, 4(r3) +/* 802B8AD0 002B5A30 7C 04 00 40 */ cmplw r4, r0 +/* 802B8AD4 002B5A34 40 82 00 0C */ bne lbl_802B8AE0 +/* 802B8AD8 002B5A38 90 A3 00 04 */ stw r5, 4(r3) +/* 802B8ADC 002B5A3C 48 00 00 10 */ b lbl_802B8AEC +lbl_802B8AE0: +/* 802B8AE0 002B5A40 7C 05 00 40 */ cmplw r5, r0 +/* 802B8AE4 002B5A44 40 82 00 08 */ bne lbl_802B8AEC +/* 802B8AE8 002B5A48 90 83 00 04 */ stw r4, 4(r3) +lbl_802B8AEC: +/* 802B8AEC 002B5A4C 80 E5 00 04 */ lwz r7, 4(r5) +/* 802B8AF0 002B5A50 80 64 00 04 */ lwz r3, 4(r4) +/* 802B8AF4 002B5A54 7C 07 20 40 */ cmplw r7, r4 +/* 802B8AF8 002B5A58 80 C4 00 00 */ lwz r6, 0(r4) +/* 802B8AFC 002B5A5C 81 05 00 00 */ lwz r8, 0(r5) +/* 802B8B00 002B5A60 41 82 00 18 */ beq lbl_802B8B18 +/* 802B8B04 002B5A64 90 87 00 00 */ stw r4, 0(r7) +/* 802B8B08 002B5A68 90 E4 00 04 */ stw r7, 4(r4) +/* 802B8B0C 002B5A6C 90 A6 00 04 */ stw r5, 4(r6) +/* 802B8B10 002B5A70 90 C5 00 00 */ stw r6, 0(r5) +/* 802B8B14 002B5A74 48 00 00 0C */ b lbl_802B8B20 +lbl_802B8B18: +/* 802B8B18 002B5A78 90 A4 00 04 */ stw r5, 4(r4) +/* 802B8B1C 002B5A7C 90 85 00 00 */ stw r4, 0(r5) +lbl_802B8B20: +/* 802B8B20 002B5A80 7C 08 20 40 */ cmplw r8, r4 +/* 802B8B24 002B5A84 41 82 00 18 */ beq lbl_802B8B3C +/* 802B8B28 002B5A88 90 88 00 04 */ stw r4, 4(r8) +/* 802B8B2C 002B5A8C 91 04 00 00 */ stw r8, 0(r4) +/* 802B8B30 002B5A90 90 A3 00 00 */ stw r5, 0(r3) +/* 802B8B34 002B5A94 90 65 00 04 */ stw r3, 4(r5) +/* 802B8B38 002B5A98 4E 80 00 20 */ blr +lbl_802B8B3C: +/* 802B8B3C 002B5A9C 90 85 00 04 */ stw r4, 4(r5) +/* 802B8B40 002B5AA0 90 A4 00 00 */ stw r5, 0(r4) +/* 802B8B44 002B5AA4 4E 80 00 20 */ blr + +.global sub_802b8b48 +sub_802b8b48: +/* 802B8B48 002B5AA8 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802B8B4C 002B5AAC 7C 08 02 A6 */ mflr r0 +/* 802B8B50 002B5AB0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802B8B54 002B5AB4 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802B8B58 002B5AB8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802B8B5C 002B5ABC DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802B8B60 002B5AC0 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802B8B64 002B5AC4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 802B8B68 002B5AC8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 802B8B6C 002B5ACC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802B8B70 002B5AD0 7C BE 2B 78 */ mr r30, r5 +/* 802B8B74 002B5AD4 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l +/* 802B8B78 002B5AD8 7C 85 23 78 */ mr r5, r4 +/* 802B8B7C 002B5ADC C3 DF 00 1C */ lfs f30, 0x1c(r31) +/* 802B8B80 002B5AE0 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B8B84 002B5AE4 C3 FF 00 0C */ lfs f31, 0xc(r31) +/* 802B8B88 002B5AE8 38 84 00 34 */ addi r4, r4, 0x34 +/* 802B8B8C 002B5AEC 48 07 ED 71 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B8B90 002B5AF0 C0 A1 00 5C */ lfs f5, 0x5c(r1) +/* 802B8B94 002B5AF4 7F C5 F3 78 */ mr r5, r30 +/* 802B8B98 002B5AF8 C0 81 00 60 */ lfs f4, 0x60(r1) +/* 802B8B9C 002B5AFC 38 61 00 44 */ addi r3, r1, 0x44 +/* 802B8BA0 002B5B00 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802B8BA4 002B5B04 38 9E 00 34 */ addi r4, r30, 0x34 +/* 802B8BA8 002B5B08 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802B8BAC 002B5B0C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802B8BB0 002B5B10 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802B8BB4 002B5B14 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802B8BB8 002B5B18 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802B8BBC 002B5B1C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802B8BC0 002B5B20 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802B8BC4 002B5B24 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802B8BC8 002B5B28 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802B8BCC 002B5B2C 48 07 ED 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802B8BD0 002B5B30 C0 A1 00 44 */ lfs f5, 0x44(r1) +/* 802B8BD4 002B5B34 38 61 00 8C */ addi r3, r1, 0x8c +/* 802B8BD8 002B5B38 C0 81 00 48 */ lfs f4, 0x48(r1) +/* 802B8BDC 002B5B3C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B8BE0 002B5B40 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 802B8BE4 002B5B44 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802B8BE8 002B5B48 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802B8BEC 002B5B4C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802B8BF0 002B5B50 C0 C1 00 94 */ lfs f6, 0x94(r1) +/* 802B8BF4 002B5B54 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 802B8BF8 002B5B58 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 802B8BFC 002B5B5C D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 802B8C00 002B5B60 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802B8C04 002B5B64 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802B8C08 002B5B68 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802B8C0C 002B5B6C D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 802B8C10 002B5B70 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 802B8C14 002B5B74 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 802B8C18 002B5B78 48 07 E9 1D */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B8C1C 002B5B7C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802B8C20 002B5B80 7C 7E 1B 78 */ mr r30, r3 +/* 802B8C24 002B5B84 D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 802B8C28 002B5B88 38 61 00 74 */ addi r3, r1, 0x74 +/* 802B8C2C 002B5B8C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802B8C30 002B5B90 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 802B8C34 002B5B94 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802B8C38 002B5B98 48 07 E8 FD */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B8C3C 002B5B9C 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 802B8C40 002B5BA0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B8C44 002B5BA4 7C 04 00 40 */ cmplw r4, r0 +/* 802B8C48 002B5BA8 41 82 00 0C */ beq lbl_802B8C54 +/* 802B8C4C 002B5BAC 7F C3 F3 78 */ mr r3, r30 +/* 802B8C50 002B5BB0 48 00 00 90 */ b lbl_802B8CE0 +lbl_802B8C54: +/* 802B8C54 002B5BB4 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 802B8C58 002B5BB8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B8C5C 002B5BBC C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 802B8C60 002B5BC0 38 81 00 8C */ addi r4, r1, 0x8c +/* 802B8C64 002B5BC4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802B8C68 002B5BC8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802B8C6C 002B5BCC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802B8C70 002B5BD0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802B8C74 002B5BD4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802B8C78 002B5BD8 48 07 E5 A5 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802B8C7C 002B5BDC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802B8C80 002B5BE0 38 61 00 08 */ addi r3, r1, 8 +/* 802B8C84 002B5BE4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B8C88 002B5BE8 38 81 00 74 */ addi r4, r1, 0x74 +/* 802B8C8C 002B5BEC C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B8C90 002B5BF0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802B8C94 002B5BF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B8C98 002B5BF8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802B8C9C 002B5BFC C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B8CA0 002B5C00 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802B8CA4 002B5C04 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802B8CA8 002B5C08 EF C4 00 FA */ fmadds f30, f4, f3, f0 +/* 802B8CAC 002B5C0C 48 07 E5 71 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802B8CB0 002B5C10 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802B8CB4 002B5C14 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802B8CB8 002B5C18 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B8CBC 002B5C1C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B8CC0 002B5C20 C0 21 00 08 */ lfs f1, 8(r1) +/* 802B8CC4 002B5C24 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802B8CC8 002B5C28 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802B8CCC 002B5C2C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802B8CD0 002B5C30 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 802B8CD4 002B5C34 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 802B8CD8 002B5C38 7C 00 00 26 */ mfcr r0 +/* 802B8CDC 002B5C3C 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802B8CE0: +/* 802B8CE0 002B5C40 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802B8CE4 002B5C44 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802B8CE8 002B5C48 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802B8CEC 002B5C4C CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802B8CF0 002B5C50 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 802B8CF4 002B5C54 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802B8CF8 002B5C58 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 802B8CFC 002B5C5C 7C 08 03 A6 */ mtlr r0 +/* 802B8D00 002B5C60 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802B8D04 002B5C64 4E 80 00 20 */ blr + +.global DisablePVS__13CCubeRendererFv +DisablePVS__13CCubeRendererFv: +/* 802B8D08 002B5C68 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8D0C 002B5C6C 7C 08 02 A6 */ mflr r0 +/* 802B8D10 002B5C70 38 63 00 C8 */ addi r3, r3, 0xc8 +/* 802B8D14 002B5C74 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8D18 002B5C78 38 00 00 00 */ li r0, 0 +/* 802B8D1C 002B5C7C 38 81 00 08 */ addi r4, r1, 8 +/* 802B8D20 002B5C80 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802B8D24 002B5C84 48 00 00 4D */ bl sub_802b8d70 +/* 802B8D28 002B5C88 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 802B8D2C 002B5C8C 28 00 00 00 */ cmplwi r0, 0 +/* 802B8D30 002B5C90 41 82 00 28 */ beq lbl_802B8D58 +/* 802B8D34 002B5C94 34 61 00 08 */ addic. r3, r1, 8 +/* 802B8D38 002B5C98 41 82 00 20 */ beq lbl_802B8D58 +/* 802B8D3C 002B5C9C 34 03 00 0C */ addic. r0, r3, 0xc +/* 802B8D40 002B5CA0 41 82 00 18 */ beq lbl_802B8D58 +/* 802B8D44 002B5CA4 88 03 00 0C */ lbz r0, 0xc(r3) +/* 802B8D48 002B5CA8 28 00 00 00 */ cmplwi r0, 0 +/* 802B8D4C 002B5CAC 41 82 00 0C */ beq lbl_802B8D58 +/* 802B8D50 002B5CB0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802B8D54 002B5CB4 48 05 CB DD */ bl Free__7CMemoryFPCv +lbl_802B8D58: +/* 802B8D58 002B5CB8 38 00 00 00 */ li r0, 0 +/* 802B8D5C 002B5CBC 98 01 00 1C */ stb r0, 0x1c(r1) +/* 802B8D60 002B5CC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8D64 002B5CC4 7C 08 03 A6 */ mtlr r0 +/* 802B8D68 002B5CC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8D6C 002B5CCC 4E 80 00 20 */ blr + +.global sub_802b8d70 +sub_802b8d70: +/* 802B8D70 002B5CD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B8D74 002B5CD4 7C 08 02 A6 */ mflr r0 +/* 802B8D78 002B5CD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B8D7C 002B5CDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B8D80 002B5CE0 7C 9F 23 78 */ mr r31, r4 +/* 802B8D84 002B5CE4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B8D88 002B5CE8 7C 7E 1B 78 */ mr r30, r3 +/* 802B8D8C 002B5CEC 7C 1E F8 40 */ cmplw r30, r31 +/* 802B8D90 002B5CF0 40 82 00 08 */ bne lbl_802B8D98 +/* 802B8D94 002B5CF4 48 00 00 F4 */ b lbl_802B8E88 +lbl_802B8D98: +/* 802B8D98 002B5CF8 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 802B8D9C 002B5CFC 28 00 00 00 */ cmplwi r0, 0 +/* 802B8DA0 002B5D00 41 82 00 AC */ beq lbl_802B8E4C +/* 802B8DA4 002B5D04 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 802B8DA8 002B5D08 28 00 00 00 */ cmplwi r0, 0 +/* 802B8DAC 002B5D0C 40 82 00 48 */ bne lbl_802B8DF4 +/* 802B8DB0 002B5D10 28 1E 00 00 */ cmplwi r30, 0 +/* 802B8DB4 002B5D14 41 82 00 34 */ beq lbl_802B8DE8 +/* 802B8DB8 002B5D18 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B8DBC 002B5D1C 38 00 00 00 */ li r0, 0 +/* 802B8DC0 002B5D20 90 7E 00 00 */ stw r3, 0(r30) +/* 802B8DC4 002B5D24 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B8DC8 002B5D28 90 7E 00 04 */ stw r3, 4(r30) +/* 802B8DCC 002B5D2C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B8DD0 002B5D30 90 7E 00 08 */ stw r3, 8(r30) +/* 802B8DD4 002B5D34 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 802B8DD8 002B5D38 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802B8DDC 002B5D3C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B8DE0 002B5D40 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802B8DE4 002B5D44 98 1F 00 0C */ stb r0, 0xc(r31) +lbl_802B8DE8: +/* 802B8DE8 002B5D48 38 00 00 01 */ li r0, 1 +/* 802B8DEC 002B5D4C 98 1E 00 14 */ stb r0, 0x14(r30) +/* 802B8DF0 002B5D50 48 00 00 94 */ b lbl_802B8E84 +lbl_802B8DF4: +/* 802B8DF4 002B5D54 80 9F 00 00 */ lwz r4, 0(r31) +/* 802B8DF8 002B5D58 38 7F 00 0C */ addi r3, r31, 0xc +/* 802B8DFC 002B5D5C 38 1E 00 0C */ addi r0, r30, 0xc +/* 802B8E00 002B5D60 90 9E 00 00 */ stw r4, 0(r30) +/* 802B8E04 002B5D64 7C 03 00 40 */ cmplw r3, r0 +/* 802B8E08 002B5D68 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B8E0C 002B5D6C 90 1E 00 04 */ stw r0, 4(r30) +/* 802B8E10 002B5D70 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B8E14 002B5D74 90 1E 00 08 */ stw r0, 8(r30) +/* 802B8E18 002B5D78 41 82 00 6C */ beq lbl_802B8E84 +/* 802B8E1C 002B5D7C 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B8E20 002B5D80 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E24 002B5D84 41 82 00 0C */ beq lbl_802B8E30 +/* 802B8E28 002B5D88 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8E2C 002B5D8C 48 05 CB 05 */ bl Free__7CMemoryFPCv +lbl_802B8E30: +/* 802B8E30 002B5D90 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 802B8E34 002B5D94 38 00 00 00 */ li r0, 0 +/* 802B8E38 002B5D98 98 7E 00 0C */ stb r3, 0xc(r30) +/* 802B8E3C 002B5D9C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B8E40 002B5DA0 90 7E 00 10 */ stw r3, 0x10(r30) +/* 802B8E44 002B5DA4 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B8E48 002B5DA8 48 00 00 3C */ b lbl_802B8E84 +lbl_802B8E4C: +/* 802B8E4C 002B5DAC 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 802B8E50 002B5DB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E54 002B5DB4 41 82 00 28 */ beq lbl_802B8E7C +/* 802B8E58 002B5DB8 28 1E 00 00 */ cmplwi r30, 0 +/* 802B8E5C 002B5DBC 41 82 00 20 */ beq lbl_802B8E7C +/* 802B8E60 002B5DC0 34 1E 00 0C */ addic. r0, r30, 0xc +/* 802B8E64 002B5DC4 41 82 00 18 */ beq lbl_802B8E7C +/* 802B8E68 002B5DC8 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B8E6C 002B5DCC 28 00 00 00 */ cmplwi r0, 0 +/* 802B8E70 002B5DD0 41 82 00 0C */ beq lbl_802B8E7C +/* 802B8E74 002B5DD4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8E78 002B5DD8 48 05 CA B9 */ bl Free__7CMemoryFPCv +lbl_802B8E7C: +/* 802B8E7C 002B5DDC 38 00 00 00 */ li r0, 0 +/* 802B8E80 002B5DE0 98 1E 00 14 */ stb r0, 0x14(r30) +lbl_802B8E84: +/* 802B8E84 002B5DE4 7F C3 F3 78 */ mr r3, r30 +lbl_802B8E88: +/* 802B8E88 002B5DE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B8E8C 002B5DEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B8E90 002B5DF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B8E94 002B5DF4 7C 08 03 A6 */ mtlr r0 +/* 802B8E98 002B5DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B8E9C 002B5DFC 4E 80 00 20 */ blr + +.global EnablePVS__13CCubeRendererFPC10CPVSVisSeti +EnablePVS__13CCubeRendererFPC10CPVSVisSeti: +/* 802B8EA0 002B5E00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B8EA4 002B5E04 7C 08 02 A6 */ mflr r0 +/* 802B8EA8 002B5E08 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B8EAC 002B5E0C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B8EB0 002B5E10 7C BF 2B 78 */ mr r31, r5 +/* 802B8EB4 002B5E14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B8EB8 002B5E18 7C 9E 23 78 */ mr r30, r4 +/* 802B8EBC 002B5E1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B8EC0 002B5E20 7C 7D 1B 78 */ mr r29, r3 +/* 802B8EC4 002B5E24 88 03 00 DC */ lbz r0, 0xdc(r3) +/* 802B8EC8 002B5E28 28 00 00 00 */ cmplwi r0, 0 +/* 802B8ECC 002B5E2C 40 82 00 48 */ bne lbl_802B8F14 +/* 802B8ED0 002B5E30 34 9D 00 C8 */ addic. r4, r29, 0xc8 +/* 802B8ED4 002B5E34 41 82 00 34 */ beq lbl_802B8F08 +/* 802B8ED8 002B5E38 80 7E 00 00 */ lwz r3, 0(r30) +/* 802B8EDC 002B5E3C 38 00 00 00 */ li r0, 0 +/* 802B8EE0 002B5E40 90 64 00 00 */ stw r3, 0(r4) +/* 802B8EE4 002B5E44 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B8EE8 002B5E48 90 64 00 04 */ stw r3, 4(r4) +/* 802B8EEC 002B5E4C 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B8EF0 002B5E50 90 64 00 08 */ stw r3, 8(r4) +/* 802B8EF4 002B5E54 88 7E 00 0C */ lbz r3, 0xc(r30) +/* 802B8EF8 002B5E58 98 64 00 0C */ stb r3, 0xc(r4) +/* 802B8EFC 002B5E5C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8F00 002B5E60 90 64 00 10 */ stw r3, 0x10(r4) +/* 802B8F04 002B5E64 98 1E 00 0C */ stb r0, 0xc(r30) +lbl_802B8F08: +/* 802B8F08 002B5E68 38 00 00 01 */ li r0, 1 +/* 802B8F0C 002B5E6C 98 1D 00 DC */ stb r0, 0xdc(r29) +/* 802B8F10 002B5E70 48 00 00 58 */ b lbl_802B8F68 +lbl_802B8F14: +/* 802B8F14 002B5E74 80 9E 00 00 */ lwz r4, 0(r30) +/* 802B8F18 002B5E78 38 7E 00 0C */ addi r3, r30, 0xc +/* 802B8F1C 002B5E7C 38 1D 00 D4 */ addi r0, r29, 0xd4 +/* 802B8F20 002B5E80 90 9D 00 C8 */ stw r4, 0xc8(r29) +/* 802B8F24 002B5E84 7C 03 00 40 */ cmplw r3, r0 +/* 802B8F28 002B5E88 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B8F2C 002B5E8C 90 1D 00 CC */ stw r0, 0xcc(r29) +/* 802B8F30 002B5E90 80 1E 00 08 */ lwz r0, 8(r30) +/* 802B8F34 002B5E94 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 802B8F38 002B5E98 41 82 00 30 */ beq lbl_802B8F68 +/* 802B8F3C 002B5E9C 88 1D 00 D4 */ lbz r0, 0xd4(r29) +/* 802B8F40 002B5EA0 28 00 00 00 */ cmplwi r0, 0 +/* 802B8F44 002B5EA4 41 82 00 0C */ beq lbl_802B8F50 +/* 802B8F48 002B5EA8 80 7D 00 D8 */ lwz r3, 0xd8(r29) +/* 802B8F4C 002B5EAC 48 05 C9 E5 */ bl Free__7CMemoryFPCv +lbl_802B8F50: +/* 802B8F50 002B5EB0 88 7E 00 0C */ lbz r3, 0xc(r30) +/* 802B8F54 002B5EB4 38 00 00 00 */ li r0, 0 +/* 802B8F58 002B5EB8 98 7D 00 D4 */ stb r3, 0xd4(r29) +/* 802B8F5C 002B5EBC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 802B8F60 002B5EC0 90 7D 00 D8 */ stw r3, 0xd8(r29) +/* 802B8F64 002B5EC4 98 1E 00 0C */ stb r0, 0xc(r30) +lbl_802B8F68: +/* 802B8F68 002B5EC8 93 FD 00 E0 */ stw r31, 0xe0(r29) +/* 802B8F6C 002B5ECC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B8F70 002B5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B8F74 002B5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B8F78 002B5ED8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B8F7C 002B5EDC 7C 08 03 A6 */ mtlr r0 +/* 802B8F80 002B5EE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B8F84 002B5EE4 4E 80 00 20 */ blr + +.global SetThermal__13CCubeRendererFbfRC6CColor +SetThermal__13CCubeRendererFbfRC6CColor: +/* 802B8F88 002B5EE8 88 C3 03 18 */ lbz r6, 0x318(r3) +/* 802B8F8C 002B5EEC 50 86 17 7A */ rlwimi r6, r4, 2, 0x1d, 0x1d +/* 802B8F90 002B5EF0 38 00 00 00 */ li r0, 0 +/* 802B8F94 002B5EF4 98 C3 03 18 */ stb r6, 0x318(r3) +/* 802B8F98 002B5EF8 D0 23 02 F0 */ stfs f1, 0x2f0(r3) +/* 802B8F9C 002B5EFC 80 85 00 00 */ lwz r4, 0(r5) +/* 802B8FA0 002B5F00 90 83 02 F4 */ stw r4, 0x2f4(r3) +/* 802B8FA4 002B5F04 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802B8FA8 002B5F08 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802B8FAC 002B5F0C 4E 80 00 20 */ blr + +.global ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel +ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel: +/* 802B8FB0 002B5F10 94 21 FB E0 */ stwu r1, -0x420(r1) +/* 802B8FB4 002B5F14 7C 08 02 A6 */ mflr r0 +/* 802B8FB8 002B5F18 90 01 04 24 */ stw r0, 0x424(r1) +/* 802B8FBC 002B5F1C DB E1 04 10 */ stfd f31, 0x410(r1) +/* 802B8FC0 002B5F20 F3 E1 04 18 */ psq_st f31, 1048(r1), 0, qr0 +/* 802B8FC4 002B5F24 DB C1 04 00 */ stfd f30, 0x400(r1) +/* 802B8FC8 002B5F28 F3 C1 04 08 */ psq_st f30, 1032(r1), 0, qr0 +/* 802B8FCC 002B5F2C DB A1 03 F0 */ stfd f29, 0x3f0(r1) +/* 802B8FD0 002B5F30 F3 A1 03 F8 */ psq_st f29, 1016(r1), 0, qr0 +/* 802B8FD4 002B5F34 DB 81 03 E0 */ stfd f28, 0x3e0(r1) +/* 802B8FD8 002B5F38 F3 81 03 E8 */ psq_st f28, 1000(r1), 0, qr0 +/* 802B8FDC 002B5F3C DB 61 03 D0 */ stfd f27, 0x3d0(r1) +/* 802B8FE0 002B5F40 F3 61 03 D8 */ psq_st f27, 984(r1), 0, qr0 +/* 802B8FE4 002B5F44 DB 41 03 C0 */ stfd f26, 0x3c0(r1) +/* 802B8FE8 002B5F48 F3 41 03 C8 */ psq_st f26, 968(r1), 0, qr0 +/* 802B8FEC 002B5F4C DB 21 03 B0 */ stfd f25, 0x3b0(r1) +/* 802B8FF0 002B5F50 F3 21 03 B8 */ psq_st f25, 952(r1), 0, qr0 +/* 802B8FF4 002B5F54 DB 01 03 A0 */ stfd f24, 0x3a0(r1) +/* 802B8FF8 002B5F58 F3 01 03 A8 */ psq_st f24, 936(r1), 0, qr0 +/* 802B8FFC 002B5F5C BD C1 03 58 */ stmw r14, 0x358(r1) +/* 802B9000 002B5F60 80 0D A8 28 */ lwz r0, lbl_805A93E8@sda21(r13) +/* 802B9004 002B5F64 3D 00 80 3F */ lis r8, lbl_803ED910@ha +/* 802B9008 002B5F68 39 E8 D9 10 */ addi r15, r8, lbl_803ED910@l +/* 802B900C 002B5F6C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802B9010 002B5F70 7C 08 03 78 */ mr r8, r0 +/* 802B9014 002B5F74 90 01 03 2C */ stw r0, 0x32c(r1) +/* 802B9018 002B5F78 3C 08 00 02 */ addis r0, r8, 2 +/* 802B901C 002B5F7C 81 CF 00 08 */ lwz r14, 8(r15) +/* 802B9020 002B5F80 90 01 03 28 */ stw r0, 0x328(r1) +/* 802B9024 002B5F84 7C BA 2B 78 */ mr r26, r5 +/* 802B9028 002B5F88 80 0F 00 00 */ lwz r0, 0(r15) +/* 802B902C 002B5F8C 39 60 01 40 */ li r11, 0x140 +/* 802B9030 002B5F90 80 A1 03 28 */ lwz r5, 0x328(r1) +/* 802B9034 002B5F94 39 40 00 E0 */ li r10, 0xe0 +/* 802B9038 002B5F98 90 01 03 38 */ stw r0, 0x338(r1) +/* 802B903C 002B5F9C 3D 00 80 3D */ lis r8, lbl_803D6570@ha +/* 802B9040 002B5FA0 80 0F 00 04 */ lwz r0, 4(r15) +/* 802B9044 002B5FA4 38 A5 30 00 */ addi r5, r5, 0x3000 +/* 802B9048 002B5FA8 81 8F 00 0C */ lwz r12, 0xc(r15) +/* 802B904C 002B5FAC 3D 20 80 5A */ lis r9, lbl_805A6204@ha +/* 802B9050 002B5FB0 90 01 03 34 */ stw r0, 0x334(r1) +/* 802B9054 002B5FB4 38 08 65 70 */ addi r0, r8, lbl_803D6570@l +/* 802B9058 002B5FB8 FF 40 D8 90 */ fmr f26, f27 +/* 802B905C 002B5FBC 7C DB 33 78 */ mr r27, r6 +/* 802B9060 002B5FC0 90 01 03 40 */ stw r0, 0x340(r1) +/* 802B9064 002B5FC4 38 00 00 00 */ li r0, 0 +/* 802B9068 002B5FC8 FF 20 D8 90 */ fmr f25, f27 +/* 802B906C 002B5FCC 7C FC 3B 78 */ mr r28, r7 +/* 802B9070 002B5FD0 90 01 03 30 */ stw r0, 0x330(r1) +/* 802B9074 002B5FD4 38 00 00 01 */ li r0, 1 +/* 802B9078 002B5FD8 FF 00 D8 90 */ fmr f24, f27 +/* 802B907C 002B5FDC 3A 00 00 00 */ li r16, 0 +/* 802B9080 002B5FE0 90 61 00 10 */ stw r3, 0x10(r1) +/* 802B9084 002B5FE4 38 69 62 04 */ addi r3, r9, lbl_805A6204@l +/* 802B9088 002B5FE8 39 E0 01 40 */ li r15, 0x140 +/* 802B908C 002B5FEC 3A 20 00 E0 */ li r17, 0xe0 +/* 802B9090 002B5FF0 90 81 00 14 */ stw r4, 0x14(r1) +/* 802B9094 002B5FF4 7C 64 1B 78 */ mr r4, r3 +/* 802B9098 002B5FF8 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B909C 002B5FFC 91 C1 00 54 */ stw r14, 0x54(r1) +/* 802B90A0 002B6000 91 81 00 50 */ stw r12, 0x50(r1) +/* 802B90A4 002B6004 91 61 00 4C */ stw r11, 0x4c(r1) +/* 802B90A8 002B6008 91 41 00 48 */ stw r10, 0x48(r1) +/* 802B90AC 002B600C 98 01 03 24 */ stb r0, 0x324(r1) +/* 802B90B0 002B6010 90 A1 03 28 */ stw r5, 0x328(r1) +/* 802B90B4 002B6014 48 05 9A C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B90B8 002B6018 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B90BC 002B601C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802B90C0 002B6020 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802B90C4 002B6024 48 05 9A B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B90C8 002B6028 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B90CC 002B602C 48 05 32 65 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv +/* 802B90D0 002B6030 C3 A1 01 40 */ lfs f29, 0x140(r1) +/* 802B90D4 002B6034 38 61 00 60 */ addi r3, r1, 0x60 +/* 802B90D8 002B6038 C3 81 01 44 */ lfs f28, 0x144(r1) +/* 802B90DC 002B603C C1 A1 01 48 */ lfs f13, 0x148(r1) +/* 802B90E0 002B6040 C1 81 01 4C */ lfs f12, 0x14c(r1) +/* 802B90E4 002B6044 C1 61 01 50 */ lfs f11, 0x150(r1) +/* 802B90E8 002B6048 C1 41 01 54 */ lfs f10, 0x154(r1) +/* 802B90EC 002B604C C1 21 01 58 */ lfs f9, 0x158(r1) +/* 802B90F0 002B6050 C1 01 01 5C */ lfs f8, 0x15c(r1) +/* 802B90F4 002B6054 C0 E1 01 60 */ lfs f7, 0x160(r1) +/* 802B90F8 002B6058 C0 C1 01 64 */ lfs f6, 0x164(r1) +/* 802B90FC 002B605C C0 A1 01 68 */ lfs f5, 0x168(r1) +/* 802B9100 002B6060 C0 81 01 6C */ lfs f4, 0x16c(r1) +/* 802B9104 002B6064 C0 61 01 70 */ lfs f3, 0x170(r1) +/* 802B9108 002B6068 C0 41 01 74 */ lfs f2, 0x174(r1) +/* 802B910C 002B606C C0 21 01 78 */ lfs f1, 0x178(r1) +/* 802B9110 002B6070 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 802B9114 002B6074 D3 A1 01 D4 */ stfs f29, 0x1d4(r1) +/* 802B9118 002B6078 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802B911C 002B607C D3 81 01 D8 */ stfs f28, 0x1d8(r1) +/* 802B9120 002B6080 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802B9124 002B6084 D1 A1 01 DC */ stfs f13, 0x1dc(r1) +/* 802B9128 002B6088 D1 81 01 E0 */ stfs f12, 0x1e0(r1) +/* 802B912C 002B608C D1 61 01 E4 */ stfs f11, 0x1e4(r1) +/* 802B9130 002B6090 D1 41 01 E8 */ stfs f10, 0x1e8(r1) +/* 802B9134 002B6094 D1 21 01 EC */ stfs f9, 0x1ec(r1) +/* 802B9138 002B6098 D1 01 01 F0 */ stfs f8, 0x1f0(r1) +/* 802B913C 002B609C D0 E1 01 F4 */ stfs f7, 0x1f4(r1) +/* 802B9140 002B60A0 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802B9144 002B60A4 D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 802B9148 002B60A8 D0 81 02 00 */ stfs f4, 0x200(r1) +/* 802B914C 002B60AC D0 61 02 04 */ stfs f3, 0x204(r1) +/* 802B9150 002B60B0 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 802B9154 002B60B4 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 802B9158 002B60B8 D0 01 02 10 */ stfs f0, 0x210(r1) +/* 802B915C 002B60BC 48 05 B1 F1 */ bl __ct__9CVector2iFii +/* 802B9160 002B60C0 38 61 00 58 */ addi r3, r1, 0x58 +/* 802B9164 002B60C4 38 80 00 00 */ li r4, 0 +/* 802B9168 002B60C8 38 A0 00 00 */ li r5, 0 +/* 802B916C 002B60CC 48 05 B1 E1 */ bl __ct__9CVector2iFii +/* 802B9170 002B60D0 38 00 00 00 */ li r0, 0 +/* 802B9174 002B60D4 3A 41 02 78 */ addi r18, r1, 0x278 +/* 802B9178 002B60D8 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B917C 002B60DC 39 C1 01 B4 */ addi r14, r1, 0x1b4 +/* 802B9180 002B60E0 3A 60 00 01 */ li r19, 1 +/* 802B9184 002B60E4 3A 80 00 00 */ li r20, 0 +/* 802B9188 002B60E8 90 01 01 B0 */ stw r0, 0x1b0(r1) +lbl_802B918C: +/* 802B918C 002B60EC 7F 44 D3 78 */ mr r4, r26 +/* 802B9190 002B60F0 7E 85 A3 78 */ mr r5, r20 +/* 802B9194 002B60F4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802B9198 002B60F8 48 07 E4 19 */ bl GetPoint__6CAABoxCFi +/* 802B919C 002B60FC 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802B91A0 002B6100 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B91A4 002B6104 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 802B91A8 002B6108 48 05 99 41 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B91AC 002B610C C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 802B91B0 002B6110 38 61 00 BC */ addi r3, r1, 0xbc +/* 802B91B4 002B6114 C0 21 02 30 */ lfs f1, 0x230(r1) +/* 802B91B8 002B6118 38 81 02 14 */ addi r4, r1, 0x214 +/* 802B91BC 002B611C C0 81 00 DC */ lfs f4, 0xdc(r1) +/* 802B91C0 002B6120 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802B91C4 002B6124 C0 01 02 40 */ lfs f0, 0x240(r1) +/* 802B91C8 002B6128 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802B91CC 002B612C C0 61 00 D4 */ lfs f3, 0xd4(r1) +/* 802B91D0 002B6130 C0 41 02 20 */ lfs f2, 0x220(r1) +/* 802B91D4 002B6134 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802B91D8 002B6138 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802B91DC 002B613C EC 23 10 28 */ fsubs f1, f3, f2 +/* 802B91E0 002B6140 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B91E4 002B6144 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802B91E8 002B6148 48 05 98 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802B91EC 002B614C C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 802B91F0 002B6150 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802B91F4 002B6154 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 802B91F8 002B6158 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 802B91FC 002B615C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 802B9200 002B6160 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 802B9204 002B6164 D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 802B9208 002B6168 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802B920C 002B616C D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 802B9210 002B6170 48 05 75 F1 */ bl __ml__9CMatrix4fCFRC9CVector3f +/* 802B9214 002B6174 80 01 02 74 */ lwz r0, 0x274(r1) +/* 802B9218 002B6178 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802B921C 002B617C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802B9220 002B6180 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 802B9224 002B6184 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 802B9228 002B6188 7C 72 02 15 */ add. r3, r18, r0 +/* 802B922C 002B618C 41 82 00 10 */ beq lbl_802B923C +/* 802B9230 002B6190 D0 03 00 00 */ stfs f0, 0(r3) +/* 802B9234 002B6194 D0 23 00 04 */ stfs f1, 4(r3) +/* 802B9238 002B6198 D0 43 00 08 */ stfs f2, 8(r3) +lbl_802B923C: +/* 802B923C 002B619C 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802B9240 002B61A0 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 802B9244 002B61A4 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802B9248 002B61A8 38 05 00 01 */ addi r0, r5, 1 +/* 802B924C 002B61AC 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B9250 002B61B0 48 05 74 D1 */ bl MultiplyGetW__9CMatrix4fCFRC9CVector3f +/* 802B9254 002B61B4 80 01 01 B0 */ lwz r0, 0x1b0(r1) +/* 802B9258 002B61B8 54 00 10 3A */ slwi r0, r0, 2 +/* 802B925C 002B61BC 7C 6E 02 15 */ add. r3, r14, r0 +/* 802B9260 002B61C0 41 82 00 08 */ beq lbl_802B9268 +/* 802B9264 002B61C4 D0 23 00 00 */ stfs f1, 0(r3) +lbl_802B9268: +/* 802B9268 002B61C8 80 61 01 B0 */ lwz r3, 0x1b0(r1) +/* 802B926C 002B61CC 3A 94 00 01 */ addi r20, r20, 1 +/* 802B9270 002B61D0 2C 14 00 08 */ cmpwi r20, 8 +/* 802B9274 002B61D4 38 03 00 01 */ addi r0, r3, 1 +/* 802B9278 002B61D8 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 802B927C 002B61DC 41 80 FF 10 */ blt lbl_802B918C +/* 802B9280 002B61E0 38 00 00 14 */ li r0, 0x14 +/* 802B9284 002B61E4 39 01 00 64 */ addi r8, r1, 0x64 +/* 802B9288 002B61E8 39 21 00 5C */ addi r9, r1, 0x5c +/* 802B928C 002B61EC 7D C3 73 78 */ mr r3, r14 +/* 802B9290 002B61F0 7E 44 93 78 */ mr r4, r18 +/* 802B9294 002B61F4 39 40 00 00 */ li r10, 0 +/* 802B9298 002B61F8 7C 09 03 A6 */ mtctr r0 +lbl_802B929C: +/* 802B929C 002B61FC 2C 0A 00 08 */ cmpwi r10, 8 +/* 802B92A0 002B6200 40 80 00 2C */ bge lbl_802B92CC +/* 802B92A4 002B6204 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802B92A8 002B6208 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B92AC 002B620C C0 44 00 00 */ lfs f2, 0(r4) +/* 802B92B0 002B6210 EC 61 00 24 */ fdivs f3, f1, f0 +/* 802B92B4 002B6214 C0 24 00 04 */ lfs f1, 4(r4) +/* 802B92B8 002B6218 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B92BC 002B621C EC 83 00 B2 */ fmuls f4, f3, f2 +/* 802B92C0 002B6220 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802B92C4 002B6224 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802B92C8 002B6228 48 00 00 E0 */ b lbl_802B93A8 +lbl_802B92CC: +/* 802B92CC 002B622C 80 A1 03 40 */ lwz r5, 0x340(r1) +/* 802B92D0 002B6230 38 0A FF F8 */ addi r0, r10, -8 +/* 802B92D4 002B6234 54 00 18 38 */ slwi r0, r0, 3 +/* 802B92D8 002B6238 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B92DC 002B623C 38 A5 00 FC */ addi r5, r5, 0xfc +/* 802B92E0 002B6240 7C A5 02 14 */ add r5, r5, r0 +/* 802B92E4 002B6244 80 05 00 00 */ lwz r0, 0(r5) +/* 802B92E8 002B6248 80 E5 00 04 */ lwz r7, 4(r5) +/* 802B92EC 002B624C 1C C0 00 0C */ mulli r6, r0, 0xc +/* 802B92F0 002B6250 54 05 10 3A */ slwi r5, r0, 2 +/* 802B92F4 002B6254 7D 4E 2C 2E */ lfsx f10, r14, r5 +/* 802B92F8 002B6258 54 E0 10 3A */ slwi r0, r7, 2 +/* 802B92FC 002B625C 7C 2E 04 2E */ lfsx f1, r14, r0 +/* 802B9300 002B6260 7C B2 32 14 */ add r5, r18, r6 +/* 802B9304 002B6264 C0 C5 00 08 */ lfs f6, 8(r5) +/* 802B9308 002B6268 1C 07 00 0C */ mulli r0, r7, 0xc +/* 802B930C 002B626C C0 85 00 00 */ lfs f4, 0(r5) +/* 802B9310 002B6270 EC 06 50 24 */ fdivs f0, f6, f10 +/* 802B9314 002B6274 C0 A5 00 04 */ lfs f5, 4(r5) +/* 802B9318 002B6278 7C B2 02 14 */ add r5, r18, r0 +/* 802B931C 002B627C C1 25 00 08 */ lfs f9, 8(r5) +/* 802B9320 002B6280 C0 E5 00 00 */ lfs f7, 0(r5) +/* 802B9324 002B6284 C1 05 00 04 */ lfs f8, 4(r5) +/* 802B9328 002B6288 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802B932C 002B628C 7C 00 00 26 */ mfcr r0 +/* 802B9330 002B6290 EC 09 08 24 */ fdivs f0, f9, f1 +/* 802B9334 002B6294 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f +/* 802B9338 002B6298 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802B933C 002B629C 7C 00 00 26 */ mfcr r0 +/* 802B9340 002B62A0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 802B9344 002B62A4 7C 05 00 40 */ cmplw r5, r0 +/* 802B9348 002B62A8 41 82 02 48 */ beq lbl_802B9590 +/* 802B934C 002B62AC EC 4A 18 28 */ fsubs f2, f10, f3 +/* 802B9350 002B62B0 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802B9354 002B62B4 EC 21 50 28 */ fsubs f1, f1, f10 +/* 802B9358 002B62B8 FC 40 10 50 */ fneg f2, f2 +/* 802B935C 002B62BC ED 62 08 24 */ fdivs f11, f2, f1 +/* 802B9360 002B62C0 FC 0B 00 40 */ fcmpo cr0, f11, f0 +/* 802B9364 002B62C4 40 81 02 2C */ ble lbl_802B9590 +/* 802B9368 002B62C8 FC 0B 18 40 */ fcmpo cr0, f11, f3 +/* 802B936C 002B62CC 40 80 02 24 */ bge lbl_802B9590 +/* 802B9370 002B62D0 EC 0B 50 7A */ fmadds f0, f11, f1, f10 +/* 802B9374 002B62D4 EC 47 20 28 */ fsubs f2, f7, f4 +/* 802B9378 002B62D8 EC 28 28 28 */ fsubs f1, f8, f5 +/* 802B937C 002B62DC EC 63 00 24 */ fdivs f3, f3, f0 +/* 802B9380 002B62E0 EC 09 30 28 */ fsubs f0, f9, f6 +/* 802B9384 002B62E4 EC 4B 00 B2 */ fmuls f2, f11, f2 +/* 802B9388 002B62E8 EC 2B 00 72 */ fmuls f1, f11, f1 +/* 802B938C 002B62EC EC 0B 00 32 */ fmuls f0, f11, f0 +/* 802B9390 002B62F0 EC 44 10 2A */ fadds f2, f4, f2 +/* 802B9394 002B62F4 EC 25 08 2A */ fadds f1, f5, f1 +/* 802B9398 002B62F8 EC 06 00 2A */ fadds f0, f6, f0 +/* 802B939C 002B62FC EC 83 00 B2 */ fmuls f4, f3, f2 +/* 802B93A0 002B6300 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802B93A4 002B6304 EC 43 00 32 */ fmuls f2, f3, f0 +lbl_802B93A8: +/* 802B93A8 002B6308 C0 02 C2 D0 */ lfs f0, lbl_805ADFF0@sda21(r2) +/* 802B93AC 002B630C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802B93B0 002B6310 4C 40 13 82 */ cror 2, 0, 2 +/* 802B93B4 002B6314 40 82 01 DC */ bne lbl_802B9590 +/* 802B93B8 002B6318 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802B93BC 002B631C 3E 60 43 30 */ lis r19, 0x4330 +/* 802B93C0 002B6320 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802B93C4 002B6324 FC 00 08 50 */ fneg f0, f1 +/* 802B93C8 002B6328 6C AC 80 00 */ xoris r12, r5, 0x8000 +/* 802B93CC 002B632C 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 802B93D0 002B6330 7D 60 2A 14 */ add r11, r0, r5 +/* 802B93D4 002B6334 6C C7 80 00 */ xoris r7, r6, 0x8000 +/* 802B93D8 002B6338 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802B93DC 002B633C 7D 6B 0E 70 */ srawi r11, r11, 1 +/* 802B93E0 002B6340 91 81 02 DC */ stw r12, 0x2dc(r1) +/* 802B93E4 002B6344 7C 00 32 14 */ add r0, r0, r6 +/* 802B93E8 002B6348 C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) +/* 802B93EC 002B634C 92 61 02 D8 */ stw r19, 0x2d8(r1) +/* 802B93F0 002B6350 6D 6C 80 00 */ xoris r12, r11, 0x8000 +/* 802B93F4 002B6354 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802B93F8 002B6358 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B93FC 002B635C C8 21 02 D8 */ lfd f1, 0x2d8(r1) +/* 802B9400 002B6360 6C 0B 80 00 */ xoris r11, r0, 0x8000 +/* 802B9404 002B6364 90 E1 02 F4 */ stw r7, 0x2f4(r1) +/* 802B9408 002B6368 38 E1 00 44 */ addi r7, r1, 0x44 +/* 802B940C 002B636C EC 41 28 28 */ fsubs f2, f1, f5 +/* 802B9410 002B6370 80 0D 9A D8 */ lwz r0, lbl_805A8698@sda21(r13) +/* 802B9414 002B6374 92 61 02 F0 */ stw r19, 0x2f0(r1) +/* 802B9418 002B6378 C8 21 02 F0 */ lfd f1, 0x2f0(r1) +/* 802B941C 002B637C EC 82 01 32 */ fmuls f4, f2, f4 +/* 802B9420 002B6380 91 81 02 E4 */ stw r12, 0x2e4(r1) +/* 802B9424 002B6384 EC 21 28 28 */ fsubs f1, f1, f5 +/* 802B9428 002B6388 92 61 02 E0 */ stw r19, 0x2e0(r1) +/* 802B942C 002B638C C8 41 02 E0 */ lfd f2, 0x2e0(r1) +/* 802B9430 002B6390 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802B9434 002B6394 91 61 02 FC */ stw r11, 0x2fc(r1) +/* 802B9438 002B6398 EC 42 28 28 */ fsubs f2, f2, f5 +/* 802B943C 002B639C 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802B9440 002B63A0 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9444 002B63A4 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802B9448 002B63A8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802B944C 002B63AC FC 40 10 1E */ fctiwz f2, f2 +/* 802B9450 002B63B0 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802B9454 002B63B4 D8 41 02 E8 */ stfd f2, 0x2e8(r1) +/* 802B9458 002B63B8 82 61 02 EC */ lwz r19, 0x2ec(r1) +/* 802B945C 002B63BC FC 00 00 1E */ fctiwz f0, f0 +/* 802B9460 002B63C0 7C 13 00 00 */ cmpw r19, r0 +/* 802B9464 002B63C4 92 61 00 44 */ stw r19, 0x44(r1) +/* 802B9468 002B63C8 D8 01 03 00 */ stfd f0, 0x300(r1) +/* 802B946C 002B63CC 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802B9470 002B63D0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802B9474 002B63D4 40 80 00 08 */ bge lbl_802B947C +/* 802B9478 002B63D8 38 ED 9A D8 */ addi r7, r13, lbl_805A8698@sda21 +lbl_802B947C: +/* 802B947C 002B63DC 81 87 00 00 */ lwz r12, 0(r7) +/* 802B9480 002B63E0 39 61 00 40 */ addi r11, r1, 0x40 +/* 802B9484 002B63E4 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 802B9488 002B63E8 80 0D 9A DC */ lwz r0, lbl_805A869C@sda21(r13) +/* 802B948C 002B63EC 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d +/* 802B9490 002B63F0 91 81 00 3C */ stw r12, 0x3c(r1) +/* 802B9494 002B63F4 7C 07 00 00 */ cmpw r7, r0 +/* 802B9498 002B63F8 40 80 00 08 */ bge lbl_802B94A0 +/* 802B949C 002B63FC 39 6D 9A DC */ addi r11, r13, lbl_805A869C@sda21 +lbl_802B94A0: +/* 802B94A0 002B6400 81 8B 00 00 */ lwz r12, 0(r11) +/* 802B94A4 002B6404 39 65 FF FC */ addi r11, r5, -4 +/* 802B94A8 002B6408 38 13 00 03 */ addi r0, r19, 3 +/* 802B94AC 002B640C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 802B94B0 002B6410 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d +/* 802B94B4 002B6414 91 61 00 28 */ stw r11, 0x28(r1) +/* 802B94B8 002B6418 7C 0B 00 00 */ cmpw r11, r0 +/* 802B94BC 002B641C 91 81 00 38 */ stw r12, 0x38(r1) +/* 802B94C0 002B6420 90 01 00 2C */ stw r0, 0x2c(r1) +/* 802B94C4 002B6424 40 80 00 08 */ bge lbl_802B94CC +/* 802B94C8 002B6428 38 A1 00 28 */ addi r5, r1, 0x28 +lbl_802B94CC: +/* 802B94CC 002B642C 81 65 00 00 */ lwz r11, 0(r5) +/* 802B94D0 002B6430 38 C6 FF FC */ addi r6, r6, -4 +/* 802B94D4 002B6434 38 07 00 03 */ addi r0, r7, 3 +/* 802B94D8 002B6438 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802B94DC 002B643C 55 67 00 3A */ rlwinm r7, r11, 0, 0, 0x1d +/* 802B94E0 002B6440 90 C1 00 20 */ stw r6, 0x20(r1) +/* 802B94E4 002B6444 7C 06 00 00 */ cmpw r6, r0 +/* 802B94E8 002B6448 90 E1 00 34 */ stw r7, 0x34(r1) +/* 802B94EC 002B644C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B94F0 002B6450 40 80 00 08 */ bge lbl_802B94F8 +/* 802B94F4 002B6454 38 A1 00 20 */ addi r5, r1, 0x20 +lbl_802B94F8: +/* 802B94F8 002B6458 80 E5 00 00 */ lwz r7, 0(r5) +/* 802B94FC 002B645C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802B9500 002B6460 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802B9504 002B6464 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B9508 002B6468 54 E7 00 3A */ rlwinm r7, r7, 0, 0, 0x1d +/* 802B950C 002B646C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 802B9510 002B6470 7C 05 00 00 */ cmpw r5, r0 +/* 802B9514 002B6474 40 80 00 08 */ bge lbl_802B951C +/* 802B9518 002B6478 38 C1 00 3C */ addi r6, r1, 0x3c +lbl_802B951C: +/* 802B951C 002B647C 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 802B9520 002B6480 80 08 00 00 */ lwz r0, 0(r8) +/* 802B9524 002B6484 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B9528 002B6488 7C 05 00 00 */ cmpw r5, r0 +/* 802B952C 002B648C 90 C1 00 60 */ stw r6, 0x60(r1) +/* 802B9530 002B6490 40 80 00 0C */ bge lbl_802B953C +/* 802B9534 002B6494 38 E1 00 38 */ addi r7, r1, 0x38 +/* 802B9538 002B6498 48 00 00 08 */ b lbl_802B9540 +lbl_802B953C: +/* 802B953C 002B649C 7D 07 43 78 */ mr r7, r8 +lbl_802B9540: +/* 802B9540 002B64A0 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 802B9544 002B64A4 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802B9548 002B64A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B954C 002B64AC 80 E7 00 00 */ lwz r7, 0(r7) +/* 802B9550 002B64B0 7C 05 00 00 */ cmpw r5, r0 +/* 802B9554 002B64B4 90 E8 00 00 */ stw r7, 0(r8) +/* 802B9558 002B64B8 40 80 00 08 */ bge lbl_802B9560 +/* 802B955C 002B64BC 38 C1 00 34 */ addi r6, r1, 0x34 +lbl_802B9560: +/* 802B9560 002B64C0 80 A9 00 00 */ lwz r5, 0(r9) +/* 802B9564 002B64C4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B9568 002B64C8 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B956C 002B64CC 7C 05 00 00 */ cmpw r5, r0 +/* 802B9570 002B64D0 90 C1 00 58 */ stw r6, 0x58(r1) +/* 802B9574 002B64D4 40 80 00 0C */ bge lbl_802B9580 +/* 802B9578 002B64D8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802B957C 002B64DC 48 00 00 08 */ b lbl_802B9584 +lbl_802B9580: +/* 802B9580 002B64E0 7D 25 4B 78 */ mr r5, r9 +lbl_802B9584: +/* 802B9584 002B64E4 80 05 00 00 */ lwz r0, 0(r5) +/* 802B9588 002B64E8 3A 60 00 00 */ li r19, 0 +/* 802B958C 002B64EC 90 09 00 00 */ stw r0, 0(r9) +lbl_802B9590: +/* 802B9590 002B64F0 38 63 00 04 */ addi r3, r3, 4 +/* 802B9594 002B64F4 38 84 00 0C */ addi r4, r4, 0xc +/* 802B9598 002B64F8 39 4A 00 01 */ addi r10, r10, 1 +/* 802B959C 002B64FC 42 00 FD 00 */ bdnz lbl_802B929C +/* 802B95A0 002B6500 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 802B95A4 002B6504 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 802B95A8 002B6508 81 01 00 50 */ lwz r8, 0x50(r1) +/* 802B95AC 002B650C 90 C1 03 20 */ stw r6, 0x320(r1) +/* 802B95B0 002B6510 91 01 03 1C */ stw r8, 0x31c(r1) +/* 802B95B4 002B6514 40 82 00 98 */ bne lbl_802B964C +/* 802B95B8 002B6518 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 802B95BC 002B651C 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B95C0 002B6520 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802B95C4 002B6524 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B95C8 002B6528 7C 85 20 50 */ subf r4, r5, r4 +/* 802B95CC 002B652C 7C 00 20 00 */ cmpw r0, r4 +/* 802B95D0 002B6530 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802B95D4 002B6534 40 80 00 08 */ bge lbl_802B95DC +/* 802B95D8 002B6538 38 61 00 4C */ addi r3, r1, 0x4c +lbl_802B95DC: +/* 802B95DC 002B653C 81 41 00 64 */ lwz r10, 0x64(r1) +/* 802B95E0 002B6540 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B95E4 002B6544 80 E1 00 5C */ lwz r7, 0x5c(r1) +/* 802B95E8 002B6548 80 A3 00 00 */ lwz r5, 0(r3) +/* 802B95EC 002B654C 7C 6A 38 50 */ subf r3, r10, r7 +/* 802B95F0 002B6550 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802B95F4 002B6554 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 802B95F8 002B6558 7C 00 18 00 */ cmpw r0, r3 +/* 802B95FC 002B655C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B9600 002B6560 40 80 00 08 */ bge lbl_802B9608 +/* 802B9604 002B6564 38 81 00 48 */ addi r4, r1, 0x48 +lbl_802B9608: +/* 802B9608 002B6568 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802B960C 002B656C 38 61 00 58 */ addi r3, r1, 0x58 +/* 802B9610 002B6570 80 84 00 00 */ lwz r4, 0(r4) +/* 802B9614 002B6574 7C 06 00 00 */ cmpw r6, r0 +/* 802B9618 002B6578 90 81 00 48 */ stw r4, 0x48(r1) +/* 802B961C 002B657C 40 80 00 08 */ bge lbl_802B9624 +/* 802B9620 002B6580 38 61 00 54 */ addi r3, r1, 0x54 +lbl_802B9624: +/* 802B9624 002B6584 80 03 00 00 */ lwz r0, 0(r3) +/* 802B9628 002B6588 7C 08 38 00 */ cmpw r8, r7 +/* 802B962C 002B658C 90 01 03 20 */ stw r0, 0x320(r1) +/* 802B9630 002B6590 40 80 00 08 */ bge lbl_802B9638 +/* 802B9634 002B6594 39 21 00 50 */ addi r9, r1, 0x50 +lbl_802B9638: +/* 802B9638 002B6598 80 09 00 00 */ lwz r0, 0(r9) +/* 802B963C 002B659C 7D 50 53 78 */ mr r16, r10 +/* 802B9640 002B65A0 90 01 03 1C */ stw r0, 0x31c(r1) +/* 802B9644 002B65A4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802B9648 002B65A8 90 01 03 30 */ stw r0, 0x330(r1) +lbl_802B964C: +/* 802B964C 002B65AC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B9650 002B65B0 2C 00 00 00 */ cmpwi r0, 0 +/* 802B9654 002B65B4 40 81 00 10 */ ble lbl_802B9664 +/* 802B9658 002B65B8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 802B965C 002B65BC 2C 00 00 00 */ cmpwi r0, 0 +/* 802B9660 002B65C0 41 81 00 AC */ bgt lbl_802B970C +lbl_802B9664: +/* 802B9664 002B65C4 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 802B9668 002B65C8 38 60 00 00 */ li r3, 0 +/* 802B966C 002B65CC 2C 05 00 00 */ cmpwi r5, 0 +/* 802B9670 002B65D0 40 81 00 40 */ ble lbl_802B96B0 +/* 802B9674 002B65D4 2C 05 00 08 */ cmpwi r5, 8 +/* 802B9678 002B65D8 38 85 FF F8 */ addi r4, r5, -8 +/* 802B967C 002B65DC 40 81 00 20 */ ble lbl_802B969C +/* 802B9680 002B65E0 38 04 00 07 */ addi r0, r4, 7 +/* 802B9684 002B65E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802B9688 002B65E8 7C 09 03 A6 */ mtctr r0 +/* 802B968C 002B65EC 2C 04 00 00 */ cmpwi r4, 0 +/* 802B9690 002B65F0 40 81 00 0C */ ble lbl_802B969C +lbl_802B9694: +/* 802B9694 002B65F4 38 63 00 08 */ addi r3, r3, 8 +/* 802B9698 002B65F8 42 00 FF FC */ bdnz lbl_802B9694 +lbl_802B969C: +/* 802B969C 002B65FC 7C 03 28 50 */ subf r0, r3, r5 +/* 802B96A0 002B6600 7C 09 03 A6 */ mtctr r0 +/* 802B96A4 002B6604 7C 03 28 00 */ cmpw r3, r5 +/* 802B96A8 002B6608 40 80 00 08 */ bge lbl_802B96B0 +lbl_802B96AC: +/* 802B96AC 002B660C 42 00 00 00 */ bdnz lbl_802B96AC +lbl_802B96B0: +/* 802B96B0 002B6610 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802B96B4 002B6614 38 60 00 00 */ li r3, 0 +/* 802B96B8 002B6618 90 61 01 B0 */ stw r3, 0x1b0(r1) +/* 802B96BC 002B661C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B96C0 002B6620 40 81 00 40 */ ble lbl_802B9700 +/* 802B96C4 002B6624 2C 05 00 08 */ cmpwi r5, 8 +/* 802B96C8 002B6628 38 85 FF F8 */ addi r4, r5, -8 +/* 802B96CC 002B662C 40 81 00 20 */ ble lbl_802B96EC +/* 802B96D0 002B6630 38 04 00 07 */ addi r0, r4, 7 +/* 802B96D4 002B6634 54 00 E8 FE */ srwi r0, r0, 3 +/* 802B96D8 002B6638 7C 09 03 A6 */ mtctr r0 +/* 802B96DC 002B663C 2C 04 00 00 */ cmpwi r4, 0 +/* 802B96E0 002B6640 40 81 00 0C */ ble lbl_802B96EC +lbl_802B96E4: +/* 802B96E4 002B6644 38 63 00 08 */ addi r3, r3, 8 +/* 802B96E8 002B6648 42 00 FF FC */ bdnz lbl_802B96E4 +lbl_802B96EC: +/* 802B96EC 002B664C 7C 03 28 50 */ subf r0, r3, r5 +/* 802B96F0 002B6650 7C 09 03 A6 */ mtctr r0 +/* 802B96F4 002B6654 7C 03 28 00 */ cmpw r3, r5 +/* 802B96F8 002B6658 40 80 00 08 */ bge lbl_802B9700 +lbl_802B96FC: +/* 802B96FC 002B665C 42 00 00 00 */ bdnz lbl_802B96FC +lbl_802B9700: +/* 802B9700 002B6660 38 00 00 00 */ li r0, 0 +/* 802B9704 002B6664 90 01 02 74 */ stw r0, 0x274(r1) +/* 802B9708 002B6668 48 00 0B 38 */ b lbl_802BA240 +lbl_802B970C: +/* 802B970C 002B666C 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802B9710 002B6670 7C 10 02 14 */ add r0, r16, r0 +/* 802B9714 002B6674 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B9718 002B6678 41 82 00 08 */ beq lbl_802B9720 +/* 802B971C 002B667C 3A 10 FF FF */ addi r16, r16, -1 +lbl_802B9720: +/* 802B9720 002B6680 80 61 03 30 */ lwz r3, 0x330(r1) +/* 802B9724 002B6684 80 01 03 38 */ lwz r0, 0x338(r1) +/* 802B9728 002B6688 7C 03 02 14 */ add r0, r3, r0 +/* 802B972C 002B668C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B9730 002B6690 41 82 00 0C */ beq lbl_802B973C +/* 802B9734 002B6694 38 63 FF FF */ addi r3, r3, -1 +/* 802B9738 002B6698 90 61 03 30 */ stw r3, 0x330(r1) +lbl_802B973C: +/* 802B973C 002B669C 48 05 00 C9 */ bl GetUseVideoFilter__9CGraphicsFv +/* 802B9740 002B66A0 90 61 03 44 */ stw r3, 0x344(r1) +/* 802B9744 002B66A4 38 60 00 00 */ li r3, 0 +/* 802B9748 002B66A8 48 05 00 C5 */ bl SetUseVideoFilter__9CGraphicsFb +/* 802B974C 002B66AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B9750 002B66B0 3C C0 43 30 */ lis r6, 0x4330 +/* 802B9754 002B66B4 80 81 03 40 */ lwz r4, 0x340(r1) +/* 802B9758 002B66B8 A8 03 01 BC */ lha r0, 0x1bc(r3) +/* 802B975C 002B66BC A8 E3 01 BE */ lha r7, 0x1be(r3) +/* 802B9760 002B66C0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802B9764 002B66C4 6C 05 80 00 */ xoris r5, r0, 0x8000 +/* 802B9768 002B66C8 81 04 01 68 */ lwz r8, 0x168(r4) +/* 802B976C 002B66CC 90 A1 03 04 */ stw r5, 0x304(r1) +/* 802B9770 002B66D0 6C E0 80 00 */ xoris r0, r7, 0x8000 +/* 802B9774 002B66D4 80 E4 01 78 */ lwz r7, 0x178(r4) +/* 802B9778 002B66D8 38 80 00 1E */ li r4, 0x1e +/* 802B977C 002B66DC 90 C1 03 00 */ stw r6, 0x300(r1) +/* 802B9780 002B66E0 38 A0 00 01 */ li r5, 1 +/* 802B9784 002B66E4 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802B9788 002B66E8 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B978C 002B66EC 90 C1 02 F8 */ stw r6, 0x2f8(r1) +/* 802B9790 002B66F0 EC 20 10 28 */ fsubs f1, f0, f2 +/* 802B9794 002B66F4 80 C1 03 40 */ lwz r6, 0x340(r1) +/* 802B9798 002B66F8 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 802B979C 002B66FC C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B97A0 002B6700 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B97A4 002B6704 EC 23 08 24 */ fdivs f1, f3, f1 +/* 802B97A8 002B6708 91 01 01 2C */ stw r8, 0x12c(r1) +/* 802B97AC 002B670C 81 86 01 5C */ lwz r12, 0x15c(r6) +/* 802B97B0 002B6710 81 66 01 60 */ lwz r11, 0x160(r6) +/* 802B97B4 002B6714 81 46 01 64 */ lwz r10, 0x164(r6) +/* 802B97B8 002B6718 81 26 01 6C */ lwz r9, 0x16c(r6) +/* 802B97BC 002B671C EC 00 10 28 */ fsubs f0, f0, f2 +/* 802B97C0 002B6720 81 06 01 70 */ lwz r8, 0x170(r6) +/* 802B97C4 002B6724 80 06 01 74 */ lwz r0, 0x174(r6) +/* 802B97C8 002B6728 90 E1 01 3C */ stw r7, 0x13c(r1) +/* 802B97CC 002B672C EC 03 00 24 */ fdivs f0, f3, f0 +/* 802B97D0 002B6730 91 81 01 20 */ stw r12, 0x120(r1) +/* 802B97D4 002B6734 91 61 01 24 */ stw r11, 0x124(r1) +/* 802B97D8 002B6738 91 41 01 28 */ stw r10, 0x128(r1) +/* 802B97DC 002B673C 91 21 01 30 */ stw r9, 0x130(r1) +/* 802B97E0 002B6740 91 01 01 34 */ stw r8, 0x134(r1) +/* 802B97E4 002B6744 90 01 01 38 */ stw r0, 0x138(r1) +/* 802B97E8 002B6748 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 802B97EC 002B674C D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 802B97F0 002B6750 48 0C 2C A1 */ bl GXLoadTexMtxImm +/* 802B97F4 002B6754 38 61 00 80 */ addi r3, r1, 0x80 +/* 802B97F8 002B6758 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B97FC 002B675C 38 BA 00 0C */ addi r5, r26, 0xc +/* 802B9800 002B6760 48 05 92 E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B9804 002B6764 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 802B9808 002B6768 7F 45 D3 78 */ mr r5, r26 +/* 802B980C 002B676C C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B9810 002B6770 38 61 00 98 */ addi r3, r1, 0x98 +/* 802B9814 002B6774 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 802B9818 002B6778 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B981C 002B677C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802B9820 002B6780 EC 42 18 2A */ fadds f2, f2, f3 +/* 802B9824 002B6784 EC 21 18 2A */ fadds f1, f1, f3 +/* 802B9828 002B6788 EC 00 18 2A */ fadds f0, f0, f3 +/* 802B982C 002B678C D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802B9830 002B6790 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802B9834 002B6794 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802B9838 002B6798 48 05 92 B1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B983C 002B679C C0 41 00 98 */ lfs f2, 0x98(r1) +/* 802B9840 002B67A0 38 61 01 08 */ addi r3, r1, 0x108 +/* 802B9844 002B67A4 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802B9848 002B67A8 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 802B984C 002B67AC C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 802B9850 002B67B0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 802B9854 002B67B4 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 802B9858 002B67B8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 802B985C 002B67BC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802B9860 002B67C0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9864 002B67C4 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802B9868 002B67C8 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802B986C 002B67CC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802B9870 002B67D0 48 07 EC 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802B9874 002B67D4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B9878 002B67D8 38 61 01 08 */ addi r3, r1, 0x108 +/* 802B987C 002B67DC 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l +/* 802B9880 002B67E0 38 81 00 74 */ addi r4, r1, 0x74 +/* 802B9884 002B67E4 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802B9888 002B67E8 7C BF 2B 78 */ mr r31, r5 +/* 802B988C 002B67EC C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 802B9890 002B67F0 39 C0 00 00 */ li r14, 0 +/* 802B9894 002B67F4 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 802B9898 002B67F8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802B989C 002B67FC D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802B98A0 002B6800 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B98A4 002B6804 48 07 DC 91 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802B98A8 002B6808 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B98AC 002B680C 41 82 00 28 */ beq lbl_802B98D4 +/* 802B98B0 002B6810 28 1B 00 00 */ cmplwi r27, 0 +/* 802B98B4 002B6814 38 00 00 00 */ li r0, 0 +/* 802B98B8 002B6818 40 82 00 0C */ bne lbl_802B98C4 +/* 802B98BC 002B681C 28 1C 00 00 */ cmplwi r28, 0 +/* 802B98C0 002B6820 41 82 00 08 */ beq lbl_802B98C8 +lbl_802B98C4: +/* 802B98C4 002B6824 38 00 00 01 */ li r0, 1 +lbl_802B98C8: +/* 802B98C8 002B6828 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802B98CC 002B682C 41 82 00 08 */ beq lbl_802B98D4 +/* 802B98D0 002B6830 39 C0 00 01 */ li r14, 1 +lbl_802B98D4: +/* 802B98D4 002B6834 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 802B98D8 002B6838 41 82 00 2C */ beq lbl_802B9904 +/* 802B98DC 002B683C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B98E0 002B6840 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B98E4 002B6844 38 60 00 01 */ li r3, 1 +/* 802B98E8 002B6848 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802B98EC 002B684C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B98F0 002B6850 98 03 03 18 */ stb r0, 0x318(r3) +/* 802B98F4 002B6854 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802B98F8 002B6858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802B98FC 002B685C 40 82 00 08 */ bne lbl_802B9904 +/* 802B9900 002B6860 39 C0 00 00 */ li r14, 0 +lbl_802B9904: +/* 802B9904 002B6864 38 60 00 01 */ li r3, 1 +/* 802B9908 002B6868 38 80 00 01 */ li r4, 1 +/* 802B990C 002B686C 48 04 E6 AD */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +/* 802B9910 002B6870 55 D8 06 3E */ clrlwi r24, r14, 0x18 +/* 802B9914 002B6874 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B9918 002B6878 7C 18 00 D0 */ neg r0, r24 +/* 802B991C 002B687C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802B9920 002B6880 7C 00 C3 78 */ or r0, r0, r24 +/* 802B9924 002B6884 39 C3 66 70 */ addi r14, r3, skIdentity4f@l +/* 802B9928 002B6888 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802B992C 002B688C CB C2 C2 A0 */ lfd f30, lbl_805ADFC0@sda21(r2) +/* 802B9930 002B6890 38 04 61 D4 */ addi r0, r4, lbl_805A61D4@l +/* 802B9934 002B6894 C3 E2 C2 80 */ lfs f31, lbl_805ADFA0@sda21(r2) +/* 802B9938 002B6898 92 01 03 18 */ stw r16, 0x318(r1) +/* 802B993C 002B689C 3B 23 00 01 */ addi r25, r3, 1 +/* 802B9940 002B68A0 3E 60 43 30 */ lis r19, 0x4330 +/* 802B9944 002B68A4 3E 80 CC 01 */ lis r20, 0xcc01 +/* 802B9948 002B68A8 90 01 03 48 */ stw r0, 0x348(r1) +/* 802B994C 002B68AC 48 00 08 20 */ b lbl_802BA16C +lbl_802B9950: +/* 802B9950 002B68B0 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802B9954 002B68B4 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802B9958 002B68B8 7C 03 00 50 */ subf r0, r3, r0 +/* 802B995C 002B68BC 7C 00 88 00 */ cmpw r0, r17 +/* 802B9960 002B68C0 40 80 00 10 */ bge lbl_802B9970 +/* 802B9964 002B68C4 7C 11 03 78 */ mr r17, r0 +/* 802B9968 002B68C8 38 00 00 01 */ li r0, 1 +/* 802B996C 002B68CC 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B9970: +/* 802B9970 002B68D0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802B9974 002B68D4 7C 0F 00 00 */ cmpw r15, r0 +/* 802B9978 002B68D8 41 82 00 10 */ beq lbl_802B9988 +/* 802B997C 002B68DC 7C 0F 03 78 */ mr r15, r0 +/* 802B9980 002B68E0 38 00 00 01 */ li r0, 1 +/* 802B9984 002B68E4 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B9988: +/* 802B9988 002B68E8 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802B998C 002B68EC 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802B9990 002B68F0 83 C1 03 30 */ lwz r30, 0x330(r1) +/* 802B9994 002B68F4 7E 03 02 14 */ add r16, r3, r0 +/* 802B9998 002B68F8 7C 60 1B 78 */ mr r0, r3 +/* 802B999C 002B68FC 7C 60 8A 14 */ add r3, r0, r17 +/* 802B99A0 002B6900 92 21 03 3C */ stw r17, 0x33c(r1) +/* 802B99A4 002B6904 6C 15 80 00 */ xoris r21, r0, 0x8000 +/* 802B99A8 002B6908 6C 76 80 00 */ xoris r22, r3, 0x8000 +/* 802B99AC 002B690C 48 00 07 A8 */ b lbl_802BA154 +lbl_802B99B0: +/* 802B99B0 002B6910 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B99B4 002B6914 48 05 2C 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B99B8 002B6918 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802B99BC 002B691C 7C 1E 00 50 */ subf r0, r30, r0 +/* 802B99C0 002B6920 7C 00 78 00 */ cmpw r0, r15 +/* 802B99C4 002B6924 40 80 00 10 */ bge lbl_802B99D4 +/* 802B99C8 002B6928 7C 0F 03 78 */ mr r15, r0 +/* 802B99CC 002B692C 38 00 00 01 */ li r0, 1 +/* 802B99D0 002B6930 98 01 03 24 */ stb r0, 0x324(r1) +lbl_802B99D4: +/* 802B99D4 002B6934 88 01 03 24 */ lbz r0, 0x324(r1) +/* 802B99D8 002B6938 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802B99DC 002B693C 41 82 00 BC */ beq lbl_802B9A98 +/* 802B99E0 002B6940 38 6F FF FF */ addi r3, r15, -1 +/* 802B99E4 002B6944 38 11 FF FF */ addi r0, r17, -1 +/* 802B99E8 002B6948 3D 20 43 30 */ lis r9, 0x4330 +/* 802B99EC 002B694C 6D E8 80 00 */ xoris r8, r15, 0x8000 +/* 802B99F0 002B6950 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802B99F4 002B6954 6C 07 80 00 */ xoris r7, r0, 0x8000 +/* 802B99F8 002B6958 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 802B99FC 002B695C 90 61 03 04 */ stw r3, 0x304(r1) +/* 802B9A00 002B6960 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802B9A04 002B6964 55 E3 04 3E */ clrlwi r3, r15, 0x10 +/* 802B9A08 002B6968 91 21 03 00 */ stw r9, 0x300(r1) +/* 802B9A0C 002B696C 56 24 04 3E */ clrlwi r4, r17, 0x10 +/* 802B9A10 002B6970 38 A0 00 13 */ li r5, 0x13 +/* 802B9A14 002B6974 38 C0 00 00 */ li r6, 0 +/* 802B9A18 002B6978 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B9A1C 002B697C 91 01 02 FC */ stw r8, 0x2fc(r1) +/* 802B9A20 002B6980 EC 40 18 28 */ fsubs f2, f0, f3 +/* 802B9A24 002B6984 91 21 02 F8 */ stw r9, 0x2f8(r1) +/* 802B9A28 002B6988 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9A2C 002B698C 90 E1 02 F4 */ stw r7, 0x2f4(r1) +/* 802B9A30 002B6990 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9A34 002B6994 91 21 02 F0 */ stw r9, 0x2f0(r1) +/* 802B9A38 002B6998 C8 21 02 F0 */ lfd f1, 0x2f0(r1) +/* 802B9A3C 002B699C EF 22 00 24 */ fdivs f25, f2, f0 +/* 802B9A40 002B69A0 90 01 02 EC */ stw r0, 0x2ec(r1) +/* 802B9A44 002B69A4 91 21 02 E8 */ stw r9, 0x2e8(r1) +/* 802B9A48 002B69A8 C8 01 02 E8 */ lfd f0, 0x2e8(r1) +/* 802B9A4C 002B69AC EC 21 18 28 */ fsubs f1, f1, f3 +/* 802B9A50 002B69B0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802B9A54 002B69B4 EF 01 00 24 */ fdivs f24, f1, f0 +/* 802B9A58 002B69B8 48 0B F4 29 */ bl GXSetTexCopyDst +/* 802B9A5C 002B69BC 3C 60 43 30 */ lis r3, 0x4330 +/* 802B9A60 002B69C0 6D E4 80 00 */ xoris r4, r15, 0x8000 +/* 802B9A64 002B69C4 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 802B9A68 002B69C8 90 81 02 E4 */ stw r4, 0x2e4(r1) +/* 802B9A6C 002B69CC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802B9A70 002B69D0 90 61 02 E0 */ stw r3, 0x2e0(r1) +/* 802B9A74 002B69D4 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) +/* 802B9A78 002B69D8 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802B9A7C 002B69DC 90 01 02 DC */ stw r0, 0x2dc(r1) +/* 802B9A80 002B69E0 EC 20 10 28 */ fsubs f1, f0, f2 +/* 802B9A84 002B69E4 90 61 02 D8 */ stw r3, 0x2d8(r1) +/* 802B9A88 002B69E8 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802B9A8C 002B69EC EF 63 08 24 */ fdivs f27, f3, f1 +/* 802B9A90 002B69F0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 802B9A94 002B69F4 EF 43 00 24 */ fdivs f26, f3, f0 +lbl_802B9A98: +/* 802B9A98 002B69F8 80 01 03 38 */ lwz r0, 0x338(r1) +/* 802B9A9C 002B69FC 56 04 04 3E */ clrlwi r4, r16, 0x10 +/* 802B9AA0 002B6A00 55 E5 04 3E */ clrlwi r5, r15, 0x10 +/* 802B9AA4 002B6A04 56 26 04 3E */ clrlwi r6, r17, 0x10 +/* 802B9AA8 002B6A08 7E 5E 02 14 */ add r18, r30, r0 +/* 802B9AAC 002B6A0C 56 43 04 3E */ clrlwi r3, r18, 0x10 +/* 802B9AB0 002B6A10 48 0B F3 05 */ bl GXSetTexCopySrc +/* 802B9AB4 002B6A14 80 C1 03 3C */ lwz r6, 0x33c(r1) +/* 802B9AB8 002B6A18 7E 43 93 78 */ mr r3, r18 +/* 802B9ABC 002B6A1C 7E 04 83 78 */ mr r4, r16 +/* 802B9AC0 002B6A20 7D E5 7B 78 */ mr r5, r15 +/* 802B9AC4 002B6A24 48 0C 2B A9 */ bl GXSetScissor +/* 802B9AC8 002B6A28 38 60 00 01 */ li r3, 1 +/* 802B9ACC 002B6A2C 38 80 00 03 */ li r4, 3 +/* 802B9AD0 002B6A30 38 A0 00 01 */ li r5, 1 +/* 802B9AD4 002B6A34 48 04 ED A9 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9AD8 002B6A38 38 60 00 01 */ li r3, 1 +/* 802B9ADC 002B6A3C 48 04 F1 B5 */ bl SetNumTevStages__3CGXFUc +/* 802B9AE0 002B6A40 38 60 00 01 */ li r3, 1 +/* 802B9AE4 002B6A44 48 04 F3 31 */ bl SetNumTexGens__3CGXFUc +/* 802B9AE8 002B6A48 38 60 00 00 */ li r3, 0 +/* 802B9AEC 002B6A4C 48 04 F3 65 */ bl SetNumChans__3CGXFUc +/* 802B9AF0 002B6A50 38 60 00 01 */ li r3, 1 +/* 802B9AF4 002B6A54 38 80 00 00 */ li r4, 0 +/* 802B9AF8 002B6A58 38 A0 00 01 */ li r5, 1 +/* 802B9AFC 002B6A5C 38 C0 00 00 */ li r6, 0 +/* 802B9B00 002B6A60 48 04 ED D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B9B04 002B6A64 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B9B08 002B6A68 38 80 00 02 */ li r4, 2 +/* 802B9B0C 002B6A6C 38 A0 00 00 */ li r5, 0 +/* 802B9B10 002B6A70 38 63 01 B8 */ addi r3, r3, 0x1b8 +/* 802B9B14 002B6A74 48 05 5C 29 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B9B18 002B6A78 38 60 00 02 */ li r3, 2 +/* 802B9B1C 002B6A7C 48 0B F0 3D */ bl GXSetCullMode +/* 802B9B20 002B6A80 38 60 00 01 */ li r3, 1 +/* 802B9B24 002B6A84 38 80 00 FF */ li r4, 0xff +/* 802B9B28 002B6A88 48 0C 25 B9 */ bl GXSetDstAlpha +/* 802B9B2C 002B6A8C 7F 43 D3 78 */ mr r3, r26 +/* 802B9B30 002B6A90 7F 64 DB 78 */ mr r4, r27 +/* 802B9B34 002B6A94 7F E6 FB 78 */ mr r6, r31 +/* 802B9B38 002B6A98 7F 87 E3 78 */ mr r7, r28 +/* 802B9B3C 002B6A9C 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9B40 002B6AA0 48 00 12 DD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9B44 002B6AA4 28 18 00 00 */ cmplwi r24, 0 +/* 802B9B48 002B6AA8 41 82 00 3C */ beq lbl_802B9B84 +/* 802B9B4C 002B6AAC 38 60 00 00 */ li r3, 0 +/* 802B9B50 002B6AB0 38 80 00 07 */ li r4, 7 +/* 802B9B54 002B6AB4 38 A0 00 00 */ li r5, 0 +/* 802B9B58 002B6AB8 48 04 ED 25 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9B5C 002B6ABC 7F 43 D3 78 */ mr r3, r26 +/* 802B9B60 002B6AC0 7F 64 DB 78 */ mr r4, r27 +/* 802B9B64 002B6AC4 7F E6 FB 78 */ mr r6, r31 +/* 802B9B68 002B6AC8 7F 87 E3 78 */ mr r7, r28 +/* 802B9B6C 002B6ACC 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9B70 002B6AD0 48 00 12 AD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9B74 002B6AD4 38 60 00 01 */ li r3, 1 +/* 802B9B78 002B6AD8 38 80 00 03 */ li r4, 3 +/* 802B9B7C 002B6ADC 38 A0 00 01 */ li r5, 1 +/* 802B9B80 002B6AE0 48 04 EC FD */ bl SetZMode__3CGXFb10_GXCompareb +lbl_802B9B84: +/* 802B9B84 002B6AE4 38 60 00 01 */ li r3, 1 +/* 802B9B88 002B6AE8 38 80 00 00 */ li r4, 0 +/* 802B9B8C 002B6AEC 48 0C 25 55 */ bl GXSetDstAlpha +/* 802B9B90 002B6AF0 80 61 03 2C */ lwz r3, 0x32c(r1) +/* 802B9B94 002B6AF4 38 80 00 00 */ li r4, 0 +/* 802B9B98 002B6AF8 48 0B F9 9D */ bl GXCopyTex +/* 802B9B9C 002B6AFC 48 0B E9 C9 */ bl GXPixModeSync +/* 802B9BA0 002B6B00 80 C1 03 2C */ lwz r6, 0x32c(r1) +/* 802B9BA4 002B6B04 7D E3 7B 78 */ mr r3, r15 +/* 802B9BA8 002B6B08 7E 24 8B 78 */ mr r4, r17 +/* 802B9BAC 002B6B0C 38 A0 00 03 */ li r5, 3 +/* 802B9BB0 002B6B10 38 E0 00 00 */ li r7, 0 +/* 802B9BB4 002B6B14 48 05 04 6D */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B9BB8 002B6B18 38 60 00 01 */ li r3, 1 +/* 802B9BBC 002B6B1C 48 0B EF 9D */ bl GXSetCullMode +/* 802B9BC0 002B6B20 7F 43 D3 78 */ mr r3, r26 +/* 802B9BC4 002B6B24 7F 64 DB 78 */ mr r4, r27 +/* 802B9BC8 002B6B28 7F E6 FB 78 */ mr r6, r31 +/* 802B9BCC 002B6B2C 7F 87 E3 78 */ mr r7, r28 +/* 802B9BD0 002B6B30 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9BD4 002B6B34 48 00 12 49 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9BD8 002B6B38 28 18 00 00 */ cmplwi r24, 0 +/* 802B9BDC 002B6B3C 41 82 00 3C */ beq lbl_802B9C18 +/* 802B9BE0 002B6B40 38 60 00 01 */ li r3, 1 +/* 802B9BE4 002B6B44 38 80 00 04 */ li r4, 4 +/* 802B9BE8 002B6B48 38 A0 00 00 */ li r5, 0 +/* 802B9BEC 002B6B4C 48 04 EC 91 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9BF0 002B6B50 7F 43 D3 78 */ mr r3, r26 +/* 802B9BF4 002B6B54 7F 64 DB 78 */ mr r4, r27 +/* 802B9BF8 002B6B58 7F E6 FB 78 */ mr r6, r31 +/* 802B9BFC 002B6B5C 7F 87 E3 78 */ mr r7, r28 +/* 802B9C00 002B6B60 38 A1 02 44 */ addi r5, r1, 0x244 +/* 802B9C04 002B6B64 48 00 12 19 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +/* 802B9C08 002B6B68 38 60 00 01 */ li r3, 1 +/* 802B9C0C 002B6B6C 38 80 00 03 */ li r4, 3 +/* 802B9C10 002B6B70 38 A0 00 01 */ li r5, 1 +/* 802B9C14 002B6B74 48 04 EC 69 */ bl SetZMode__3CGXFb10_GXCompareb +lbl_802B9C18: +/* 802B9C18 002B6B78 80 61 03 28 */ lwz r3, 0x328(r1) +/* 802B9C1C 002B6B7C 38 80 00 00 */ li r4, 0 +/* 802B9C20 002B6B80 48 0B F9 15 */ bl GXCopyTex +/* 802B9C24 002B6B84 48 0B E9 41 */ bl GXPixModeSync +/* 802B9C28 002B6B88 80 C1 03 28 */ lwz r6, 0x328(r1) +/* 802B9C2C 002B6B8C 7D E3 7B 78 */ mr r3, r15 +/* 802B9C30 002B6B90 7E 24 8B 78 */ mr r4, r17 +/* 802B9C34 002B6B94 38 A0 00 03 */ li r5, 3 +/* 802B9C38 002B6B98 38 E0 00 01 */ li r7, 1 +/* 802B9C3C 002B6B9C 48 05 03 E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802B9C40 002B6BA0 38 60 00 00 */ li r3, 0 +/* 802B9C44 002B6BA4 38 80 00 0F */ li r4, 0xf +/* 802B9C48 002B6BA8 38 A0 00 0F */ li r5, 0xf +/* 802B9C4C 002B6BAC 38 C0 00 0F */ li r6, 0xf +/* 802B9C50 002B6BB0 38 E0 00 0E */ li r7, 0xe +/* 802B9C54 002B6BB4 48 04 EF 99 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9C58 002B6BB8 38 60 00 00 */ li r3, 0 +/* 802B9C5C 002B6BBC 38 80 00 00 */ li r4, 0 +/* 802B9C60 002B6BC0 38 A0 00 00 */ li r5, 0 +/* 802B9C64 002B6BC4 38 C0 00 00 */ li r6, 0 +/* 802B9C68 002B6BC8 38 E0 00 01 */ li r7, 1 +/* 802B9C6C 002B6BCC 39 00 00 00 */ li r8, 0 +/* 802B9C70 002B6BD0 48 04 EE C9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9C74 002B6BD4 38 60 00 00 */ li r3, 0 +/* 802B9C78 002B6BD8 38 80 00 0C */ li r4, 0xc +/* 802B9C7C 002B6BDC 48 04 ED 65 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 802B9C80 002B6BE0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 802B9C84 002B6BE4 38 60 00 00 */ li r3, 0 +/* 802B9C88 002B6BE8 48 04 EF BD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 802B9C8C 002B6BEC 48 0C 0B B5 */ bl GXInvalidateTexAll +/* 802B9C90 002B6BF0 38 60 00 00 */ li r3, 0 +/* 802B9C94 002B6BF4 38 80 00 00 */ li r4, 0 +/* 802B9C98 002B6BF8 38 A0 00 04 */ li r5, 4 +/* 802B9C9C 002B6BFC 38 C0 00 3C */ li r6, 0x3c +/* 802B9CA0 002B6C00 38 E0 00 00 */ li r7, 0 +/* 802B9CA4 002B6C04 39 00 00 7D */ li r8, 0x7d +/* 802B9CA8 002B6C08 48 04 EA 25 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B9CAC 002B6C0C 38 60 00 01 */ li r3, 1 +/* 802B9CB0 002B6C10 38 80 00 01 */ li r4, 1 +/* 802B9CB4 002B6C14 38 A0 00 00 */ li r5, 0 +/* 802B9CB8 002B6C18 38 C0 00 1E */ li r6, 0x1e +/* 802B9CBC 002B6C1C 38 E0 00 00 */ li r7, 0 +/* 802B9CC0 002B6C20 39 00 00 7D */ li r8, 0x7d +/* 802B9CC4 002B6C24 48 04 EA 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B9CC8 002B6C28 38 60 00 02 */ li r3, 2 +/* 802B9CCC 002B6C2C 48 04 F1 49 */ bl SetNumTexGens__3CGXFUc +/* 802B9CD0 002B6C30 38 60 00 00 */ li r3, 0 +/* 802B9CD4 002B6C34 48 04 F1 7D */ bl SetNumChans__3CGXFUc +/* 802B9CD8 002B6C38 48 05 01 85 */ bl GetProjectionState__9CGraphicsFv +/* 802B9CDC 002B6C3C 88 03 00 00 */ lbz r0, 0(r3) +/* 802B9CE0 002B6C40 98 01 00 EC */ stb r0, 0xec(r1) +/* 802B9CE4 002B6C44 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B9CE8 002B6C48 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 802B9CEC 002B6C4C C0 03 00 08 */ lfs f0, 8(r3) +/* 802B9CF0 002B6C50 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 802B9CF4 002B6C54 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802B9CF8 002B6C58 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 802B9CFC 002B6C5C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802B9D00 002B6C60 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802B9D04 002B6C64 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802B9D08 002B6C68 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 802B9D0C 002B6C6C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802B9D10 002B6C70 80 61 03 40 */ lwz r3, 0x340(r1) +/* 802B9D14 002B6C74 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 802B9D18 002B6C78 38 63 01 7C */ addi r3, r3, 0x17c +/* 802B9D1C 002B6C7C 48 04 E1 0D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B9D20 002B6C80 80 81 03 48 */ lwz r4, 0x348(r1) +/* 802B9D24 002B6C84 38 61 01 80 */ addi r3, r1, 0x180 +/* 802B9D28 002B6C88 48 05 8E 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B9D2C 002B6C8C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802B9D30 002B6C90 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B9D34 002B6C94 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802B9D38 002B6C98 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802B9D3C 002B6C9C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802B9D40 002B6CA0 90 61 03 04 */ stw r3, 0x304(r1) +/* 802B9D44 002B6CA4 FC 60 08 90 */ fmr f3, f1 +/* 802B9D48 002B6CA8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802B9D4C 002B6CAC 92 61 03 00 */ stw r19, 0x300(r1) +/* 802B9D50 002B6CB0 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802B9D54 002B6CB4 C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802B9D58 002B6CB8 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 802B9D5C 002B6CBC EC 40 F0 28 */ fsubs f2, f0, f30 +/* 802B9D60 002B6CC0 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802B9D64 002B6CC4 C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802B9D68 002B6CC8 EC 80 F0 28 */ fsubs f4, f0, f30 +/* 802B9D6C 002B6CCC 48 05 27 E9 */ bl SetOrtho__9CGraphicsFffffff +/* 802B9D70 002B6CD0 7D C3 73 78 */ mr r3, r14 +/* 802B9D74 002B6CD4 48 05 29 D9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802B9D78 002B6CD8 7D C3 73 78 */ mr r3, r14 +/* 802B9D7C 002B6CDC 48 05 28 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B9D80 002B6CE0 38 60 00 00 */ li r3, 0 +/* 802B9D84 002B6CE4 38 80 00 07 */ li r4, 7 +/* 802B9D88 002B6CE8 38 A0 00 00 */ li r5, 0 +/* 802B9D8C 002B6CEC 48 04 EA F1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802B9D90 002B6CF0 38 60 00 00 */ li r3, 0 +/* 802B9D94 002B6CF4 48 0B ED C5 */ bl GXSetCullMode +/* 802B9D98 002B6CF8 38 60 00 00 */ li r3, 0 +/* 802B9D9C 002B6CFC 48 0C 21 91 */ bl GXSetAlphaUpdate +/* 802B9DA0 002B6D00 EF BA C0 2A */ fadds f29, f26, f24 +/* 802B9DA4 002B6D04 7C 1E 7A 14 */ add r0, r30, r15 +/* 802B9DA8 002B6D08 EF 9B C8 2A */ fadds f28, f27, f25 +/* 802B9DAC 002B6D0C 6F D2 80 00 */ xoris r18, r30, 0x8000 +/* 802B9DB0 002B6D10 6C 17 80 00 */ xoris r23, r0, 0x8000 +/* 802B9DB4 002B6D14 3B A0 00 00 */ li r29, 0 +/* 802B9DB8 002B6D18 48 00 03 44 */ b lbl_802BA0FC +lbl_802B9DBC: +/* 802B9DBC 002B6D1C 2C 1D 00 00 */ cmpwi r29, 0 +/* 802B9DC0 002B6D20 40 82 01 7C */ bne lbl_802B9F3C +/* 802B9DC4 002B6D24 38 00 00 00 */ li r0, 0 +/* 802B9DC8 002B6D28 38 60 00 00 */ li r3, 0 +/* 802B9DCC 002B6D2C 90 01 00 08 */ stw r0, 8(r1) +/* 802B9DD0 002B6D30 38 80 00 00 */ li r4, 0 +/* 802B9DD4 002B6D34 38 A0 00 00 */ li r5, 0 +/* 802B9DD8 002B6D38 38 C0 00 00 */ li r6, 0 +/* 802B9DDC 002B6D3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B9DE0 002B6D40 38 E0 00 01 */ li r7, 1 +/* 802B9DE4 002B6D44 39 00 00 00 */ li r8, 0 +/* 802B9DE8 002B6D48 39 20 00 00 */ li r9, 0 +/* 802B9DEC 002B6D4C 39 40 00 00 */ li r10, 0 +/* 802B9DF0 002B6D50 48 04 E9 9D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B9DF4 002B6D54 38 00 00 00 */ li r0, 0 +/* 802B9DF8 002B6D58 38 60 00 01 */ li r3, 1 +/* 802B9DFC 002B6D5C 90 01 00 08 */ stw r0, 8(r1) +/* 802B9E00 002B6D60 38 80 00 01 */ li r4, 1 +/* 802B9E04 002B6D64 38 A0 00 00 */ li r5, 0 +/* 802B9E08 002B6D68 38 C0 00 00 */ li r6, 0 +/* 802B9E0C 002B6D6C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B9E10 002B6D70 38 E0 00 01 */ li r7, 1 +/* 802B9E14 002B6D74 39 00 00 00 */ li r8, 0 +/* 802B9E18 002B6D78 39 20 00 00 */ li r9, 0 +/* 802B9E1C 002B6D7C 39 40 00 00 */ li r10, 0 +/* 802B9E20 002B6D80 48 04 E9 6D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802B9E24 002B6D84 38 60 00 00 */ li r3, 0 +/* 802B9E28 002B6D88 38 80 00 00 */ li r4, 0 +/* 802B9E2C 002B6D8C 38 A0 00 01 */ li r5, 1 +/* 802B9E30 002B6D90 48 0C 13 75 */ bl GXSetIndTexOrder +/* 802B9E34 002B6D94 38 60 00 01 */ li r3, 1 +/* 802B9E38 002B6D98 38 80 00 00 */ li r4, 0 +/* 802B9E3C 002B6D9C 38 A0 00 00 */ li r5, 0 +/* 802B9E40 002B6DA0 48 0C 13 65 */ bl GXSetIndTexOrder +/* 802B9E44 002B6DA4 38 60 00 00 */ li r3, 0 +/* 802B9E48 002B6DA8 38 80 00 07 */ li r4, 7 +/* 802B9E4C 002B6DAC 38 A0 00 07 */ li r5, 7 +/* 802B9E50 002B6DB0 38 C0 00 07 */ li r6, 7 +/* 802B9E54 002B6DB4 38 E0 00 04 */ li r7, 4 +/* 802B9E58 002B6DB8 48 04 ED 3D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9E5C 002B6DBC 38 60 00 00 */ li r3, 0 +/* 802B9E60 002B6DC0 38 80 00 00 */ li r4, 0 +/* 802B9E64 002B6DC4 38 A0 00 00 */ li r5, 0 +/* 802B9E68 002B6DC8 38 C0 00 00 */ li r6, 0 +/* 802B9E6C 002B6DCC 38 E0 00 01 */ li r7, 1 +/* 802B9E70 002B6DD0 39 00 00 00 */ li r8, 0 +/* 802B9E74 002B6DD4 48 04 EC 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9E78 002B6DD8 38 60 00 00 */ li r3, 0 +/* 802B9E7C 002B6DDC 38 80 00 01 */ li r4, 1 +/* 802B9E80 002B6DE0 38 A0 00 02 */ li r5, 2 +/* 802B9E84 002B6DE4 38 C0 00 FF */ li r6, 0xff +/* 802B9E88 002B6DE8 48 04 EA C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9E8C 002B6DEC 38 60 00 01 */ li r3, 1 +/* 802B9E90 002B6DF0 38 80 00 07 */ li r4, 7 +/* 802B9E94 002B6DF4 38 A0 00 06 */ li r5, 6 +/* 802B9E98 002B6DF8 38 C0 00 00 */ li r6, 0 +/* 802B9E9C 002B6DFC 38 E0 00 04 */ li r7, 4 +/* 802B9EA0 002B6E00 48 04 EC F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9EA4 002B6E04 38 60 00 01 */ li r3, 1 +/* 802B9EA8 002B6E08 38 80 00 01 */ li r4, 1 +/* 802B9EAC 002B6E0C 38 A0 00 00 */ li r5, 0 +/* 802B9EB0 002B6E10 38 C0 00 01 */ li r6, 1 +/* 802B9EB4 002B6E14 38 E0 00 01 */ li r7, 1 +/* 802B9EB8 002B6E18 39 00 00 00 */ li r8, 0 +/* 802B9EBC 002B6E1C 48 04 EB C5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9EC0 002B6E20 38 60 00 01 */ li r3, 1 +/* 802B9EC4 002B6E24 38 80 00 01 */ li r4, 1 +/* 802B9EC8 002B6E28 38 A0 00 02 */ li r5, 2 +/* 802B9ECC 002B6E2C 38 C0 00 FF */ li r6, 0xff +/* 802B9ED0 002B6E30 48 04 EA 7D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9ED4 002B6E34 38 60 00 01 */ li r3, 1 +/* 802B9ED8 002B6E38 38 80 00 00 */ li r4, 0 +/* 802B9EDC 002B6E3C 48 04 EA C1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 802B9EE0 002B6E40 38 60 00 01 */ li r3, 1 +/* 802B9EE4 002B6E44 38 80 00 0F */ li r4, 0xf +/* 802B9EE8 002B6E48 38 A0 00 0F */ li r5, 0xf +/* 802B9EEC 002B6E4C 38 C0 00 0F */ li r6, 0xf +/* 802B9EF0 002B6E50 38 E0 00 00 */ li r7, 0 +/* 802B9EF4 002B6E54 48 04 EC F9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9EF8 002B6E58 38 60 00 01 */ li r3, 1 +/* 802B9EFC 002B6E5C 38 80 00 00 */ li r4, 0 +/* 802B9F00 002B6E60 38 A0 00 00 */ li r5, 0 +/* 802B9F04 002B6E64 38 C0 00 00 */ li r6, 0 +/* 802B9F08 002B6E68 38 E0 00 01 */ li r7, 1 +/* 802B9F0C 002B6E6C 39 00 00 00 */ li r8, 0 +/* 802B9F10 002B6E70 48 04 EC 29 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9F14 002B6E74 38 60 00 02 */ li r3, 2 +/* 802B9F18 002B6E78 48 04 E7 79 */ bl SetNumIndStages__3CGXFUc +/* 802B9F1C 002B6E7C 38 60 00 02 */ li r3, 2 +/* 802B9F20 002B6E80 48 04 ED 71 */ bl SetNumTevStages__3CGXFUc +/* 802B9F24 002B6E84 38 60 00 01 */ li r3, 1 +/* 802B9F28 002B6E88 38 80 00 04 */ li r4, 4 +/* 802B9F2C 002B6E8C 38 A0 00 01 */ li r5, 1 +/* 802B9F30 002B6E90 38 C0 00 00 */ li r6, 0 +/* 802B9F34 002B6E94 48 04 E9 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802B9F38 002B6E98 48 00 00 DC */ b lbl_802BA014 +lbl_802B9F3C: +/* 802B9F3C 002B6E9C 2C 1D 00 01 */ cmpwi r29, 1 +/* 802B9F40 002B6EA0 40 82 00 D4 */ bne lbl_802BA014 +/* 802B9F44 002B6EA4 38 60 00 01 */ li r3, 1 +/* 802B9F48 002B6EA8 48 04 E7 FD */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802B9F4C 002B6EAC 38 60 00 00 */ li r3, 0 +/* 802B9F50 002B6EB0 38 80 00 00 */ li r4, 0 +/* 802B9F54 002B6EB4 38 A0 00 00 */ li r5, 0 +/* 802B9F58 002B6EB8 48 0C 12 4D */ bl GXSetIndTexOrder +/* 802B9F5C 002B6EBC 38 60 00 00 */ li r3, 0 +/* 802B9F60 002B6EC0 38 80 00 07 */ li r4, 7 +/* 802B9F64 002B6EC4 38 A0 00 07 */ li r5, 7 +/* 802B9F68 002B6EC8 38 C0 00 07 */ li r6, 7 +/* 802B9F6C 002B6ECC 38 E0 00 04 */ li r7, 4 +/* 802B9F70 002B6ED0 48 04 EC 25 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9F74 002B6ED4 38 60 00 00 */ li r3, 0 +/* 802B9F78 002B6ED8 38 80 00 00 */ li r4, 0 +/* 802B9F7C 002B6EDC 38 A0 00 00 */ li r5, 0 +/* 802B9F80 002B6EE0 38 C0 00 01 */ li r6, 1 +/* 802B9F84 002B6EE4 38 E0 00 01 */ li r7, 1 +/* 802B9F88 002B6EE8 39 00 00 00 */ li r8, 0 +/* 802B9F8C 002B6EEC 48 04 EA F5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802B9F90 002B6EF0 38 60 00 00 */ li r3, 0 +/* 802B9F94 002B6EF4 38 80 00 01 */ li r4, 1 +/* 802B9F98 002B6EF8 38 A0 00 02 */ li r5, 2 +/* 802B9F9C 002B6EFC 38 C0 00 FF */ li r6, 0xff +/* 802B9FA0 002B6F00 48 04 E9 AD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9FA4 002B6F04 38 60 00 01 */ li r3, 1 +/* 802B9FA8 002B6F08 38 80 00 0F */ li r4, 0xf +/* 802B9FAC 002B6F0C 38 A0 00 01 */ li r5, 1 +/* 802B9FB0 002B6F10 38 C0 00 00 */ li r6, 0 +/* 802B9FB4 002B6F14 38 E0 00 0F */ li r7, 0xf +/* 802B9FB8 002B6F18 48 04 EC 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B9FBC 002B6F1C 38 60 00 01 */ li r3, 1 +/* 802B9FC0 002B6F20 38 80 00 01 */ li r4, 1 +/* 802B9FC4 002B6F24 38 A0 00 02 */ li r5, 2 +/* 802B9FC8 002B6F28 38 C0 00 FF */ li r6, 0xff +/* 802B9FCC 002B6F2C 48 04 E9 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B9FD0 002B6F30 38 60 00 01 */ li r3, 1 +/* 802B9FD4 002B6F34 38 80 00 07 */ li r4, 7 +/* 802B9FD8 002B6F38 38 A0 00 07 */ li r5, 7 +/* 802B9FDC 002B6F3C 38 C0 00 07 */ li r6, 7 +/* 802B9FE0 002B6F40 38 E0 00 00 */ li r7, 0 +/* 802B9FE4 002B6F44 48 04 EB B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B9FE8 002B6F48 38 60 00 01 */ li r3, 1 +/* 802B9FEC 002B6F4C 48 04 DC 65 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B9FF0 002B6F50 38 60 00 01 */ li r3, 1 +/* 802B9FF4 002B6F54 48 04 E6 9D */ bl SetNumIndStages__3CGXFUc +/* 802B9FF8 002B6F58 38 60 00 02 */ li r3, 2 +/* 802B9FFC 002B6F5C 48 04 EC 95 */ bl SetNumTevStages__3CGXFUc +/* 802BA000 002B6F60 38 60 00 01 */ li r3, 1 +/* 802BA004 002B6F64 38 80 00 06 */ li r4, 6 +/* 802BA008 002B6F68 38 A0 00 01 */ li r5, 1 +/* 802BA00C 002B6F6C 38 C0 00 00 */ li r6, 0 +/* 802BA010 002B6F70 48 04 E8 C1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_802BA014: +/* 802BA014 002B6F74 38 60 00 A0 */ li r3, 0xa0 +/* 802BA018 002B6F78 38 80 00 00 */ li r4, 0 +/* 802BA01C 002B6F7C 38 A0 00 04 */ li r5, 4 +/* 802BA020 002B6F80 48 04 E5 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BA024 002B6F84 92 41 03 04 */ stw r18, 0x304(r1) +/* 802BA028 002B6F88 92 61 03 00 */ stw r19, 0x300(r1) +/* 802BA02C 002B6F8C C8 01 03 00 */ lfd f0, 0x300(r1) +/* 802BA030 002B6F90 92 A1 02 FC */ stw r21, 0x2fc(r1) +/* 802BA034 002B6F94 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA038 002B6F98 92 61 02 F8 */ stw r19, 0x2f8(r1) +/* 802BA03C 002B6F9C C8 01 02 F8 */ lfd f0, 0x2f8(r1) +/* 802BA040 002B6FA0 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA044 002B6FA4 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA048 002B6FA8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA04C 002B6FAC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA050 002B6FB0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 802BA054 002B6FB4 92 41 02 F4 */ stw r18, 0x2f4(r1) +/* 802BA058 002B6FB8 92 61 02 F0 */ stw r19, 0x2f0(r1) +/* 802BA05C 002B6FBC C8 01 02 F0 */ lfd f0, 0x2f0(r1) +/* 802BA060 002B6FC0 92 C1 02 EC */ stw r22, 0x2ec(r1) +/* 802BA064 002B6FC4 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA068 002B6FC8 92 61 02 E8 */ stw r19, 0x2e8(r1) +/* 802BA06C 002B6FCC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 802BA070 002B6FD0 C8 01 02 E8 */ lfd f0, 0x2e8(r1) +/* 802BA074 002B6FD4 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA078 002B6FD8 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA07C 002B6FDC D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA080 002B6FE0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA084 002B6FE4 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 802BA088 002B6FE8 92 E1 02 E4 */ stw r23, 0x2e4(r1) +/* 802BA08C 002B6FEC 92 61 02 E0 */ stw r19, 0x2e0(r1) +/* 802BA090 002B6FF0 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802BA094 002B6FF4 92 C1 02 DC */ stw r22, 0x2dc(r1) +/* 802BA098 002B6FF8 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA09C 002B6FFC 92 61 02 D8 */ stw r19, 0x2d8(r1) +/* 802BA0A0 002B7000 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 802BA0A4 002B7004 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802BA0A8 002B7008 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA0AC 002B700C EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA0B0 002B7010 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA0B4 002B7014 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA0B8 002B7018 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 802BA0BC 002B701C 92 E1 03 0C */ stw r23, 0x30c(r1) +/* 802BA0C0 002B7020 92 61 03 08 */ stw r19, 0x308(r1) +/* 802BA0C4 002B7024 C8 01 03 08 */ lfd f0, 0x308(r1) +/* 802BA0C8 002B7028 92 A1 03 14 */ stw r21, 0x314(r1) +/* 802BA0CC 002B702C EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BA0D0 002B7030 92 61 03 10 */ stw r19, 0x310(r1) +/* 802BA0D4 002B7034 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 802BA0D8 002B7038 C8 01 03 10 */ lfd f0, 0x310(r1) +/* 802BA0DC 002B703C D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) +/* 802BA0E0 002B7040 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 802BA0E4 002B7044 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 802BA0E8 002B7048 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 802BA0EC 002B704C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 802BA0F0 002B7050 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 802BA0F4 002B7054 48 04 E4 8D */ bl End__3CGXFv +/* 802BA0F8 002B7058 3B BD 00 01 */ addi r29, r29, 1 +lbl_802BA0FC: +/* 802BA0FC 002B705C 7C 1D C8 00 */ cmpw r29, r25 +/* 802BA100 002B7060 41 80 FC BC */ blt lbl_802B9DBC +/* 802BA104 002B7064 38 60 00 01 */ li r3, 1 +/* 802BA108 002B7068 48 0C 1E 25 */ bl GXSetAlphaUpdate +/* 802BA10C 002B706C 38 61 01 80 */ addi r3, r1, 0x180 +/* 802BA110 002B7070 48 05 26 3D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA114 002B7074 38 60 00 00 */ li r3, 0 +/* 802BA118 002B7078 48 04 E5 79 */ bl SetNumIndStages__3CGXFUc +/* 802BA11C 002B707C 38 60 00 00 */ li r3, 0 +/* 802BA120 002B7080 48 04 E6 25 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA124 002B7084 38 60 00 01 */ li r3, 1 +/* 802BA128 002B7088 48 04 E6 1D */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA12C 002B708C 38 60 00 01 */ li r3, 1 +/* 802BA130 002B7090 48 0B EA 29 */ bl GXSetCullMode +/* 802BA134 002B7094 38 61 00 EC */ addi r3, r1, 0xec +/* 802BA138 002B7098 48 04 FC C9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BA13C 002B709C 38 60 00 01 */ li r3, 1 +/* 802BA140 002B70A0 38 80 00 01 */ li r4, 1 +/* 802BA144 002B70A4 38 A0 00 00 */ li r5, 0 +/* 802BA148 002B70A8 38 C0 00 00 */ li r6, 0 +/* 802BA14C 002B70AC 48 04 E7 85 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BA150 002B70B0 7F DE 7A 14 */ add r30, r30, r15 +lbl_802BA154: +/* 802BA154 002B70B4 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802BA158 002B70B8 7C 1E 00 00 */ cmpw r30, r0 +/* 802BA15C 002B70BC 41 80 F8 54 */ blt lbl_802B99B0 +/* 802BA160 002B70C0 80 01 03 18 */ lwz r0, 0x318(r1) +/* 802BA164 002B70C4 7C 00 8A 14 */ add r0, r0, r17 +/* 802BA168 002B70C8 90 01 03 18 */ stw r0, 0x318(r1) +lbl_802BA16C: +/* 802BA16C 002B70CC 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802BA170 002B70D0 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802BA174 002B70D4 7C 03 00 00 */ cmpw r3, r0 +/* 802BA178 002B70D8 41 80 F7 D8 */ blt lbl_802B9950 +/* 802BA17C 002B70DC 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802BA180 002B70E0 80 61 03 38 */ lwz r3, 0x338(r1) +/* 802BA184 002B70E4 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 802BA188 002B70E8 80 81 03 34 */ lwz r4, 0x334(r1) +/* 802BA18C 002B70EC 48 0C 24 E1 */ bl GXSetScissor +/* 802BA190 002B70F0 80 01 03 44 */ lwz r0, 0x344(r1) +/* 802BA194 002B70F4 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 802BA198 002B70F8 48 04 F6 75 */ bl SetUseVideoFilter__9CGraphicsFb +/* 802BA19C 002B70FC 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 802BA1A0 002B7100 38 60 00 00 */ li r3, 0 +/* 802BA1A4 002B7104 2C 05 00 00 */ cmpwi r5, 0 +/* 802BA1A8 002B7108 40 81 00 40 */ ble lbl_802BA1E8 +/* 802BA1AC 002B710C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BA1B0 002B7110 38 85 FF F8 */ addi r4, r5, -8 +/* 802BA1B4 002B7114 40 81 00 20 */ ble lbl_802BA1D4 +/* 802BA1B8 002B7118 38 04 00 07 */ addi r0, r4, 7 +/* 802BA1BC 002B711C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BA1C0 002B7120 7C 09 03 A6 */ mtctr r0 +/* 802BA1C4 002B7124 2C 04 00 00 */ cmpwi r4, 0 +/* 802BA1C8 002B7128 40 81 00 0C */ ble lbl_802BA1D4 +lbl_802BA1CC: +/* 802BA1CC 002B712C 38 63 00 08 */ addi r3, r3, 8 +/* 802BA1D0 002B7130 42 00 FF FC */ bdnz lbl_802BA1CC +lbl_802BA1D4: +/* 802BA1D4 002B7134 7C 03 28 50 */ subf r0, r3, r5 +/* 802BA1D8 002B7138 7C 09 03 A6 */ mtctr r0 +/* 802BA1DC 002B713C 7C 03 28 00 */ cmpw r3, r5 +/* 802BA1E0 002B7140 40 80 00 08 */ bge lbl_802BA1E8 +lbl_802BA1E4: +/* 802BA1E4 002B7144 42 00 00 00 */ bdnz lbl_802BA1E4 +lbl_802BA1E8: +/* 802BA1E8 002B7148 80 A1 02 74 */ lwz r5, 0x274(r1) +/* 802BA1EC 002B714C 38 60 00 00 */ li r3, 0 +/* 802BA1F0 002B7150 90 61 01 B0 */ stw r3, 0x1b0(r1) +/* 802BA1F4 002B7154 2C 05 00 00 */ cmpwi r5, 0 +/* 802BA1F8 002B7158 40 81 00 40 */ ble lbl_802BA238 +/* 802BA1FC 002B715C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BA200 002B7160 38 85 FF F8 */ addi r4, r5, -8 +/* 802BA204 002B7164 40 81 00 20 */ ble lbl_802BA224 +/* 802BA208 002B7168 38 04 00 07 */ addi r0, r4, 7 +/* 802BA20C 002B716C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BA210 002B7170 7C 09 03 A6 */ mtctr r0 +/* 802BA214 002B7174 2C 04 00 00 */ cmpwi r4, 0 +/* 802BA218 002B7178 40 81 00 0C */ ble lbl_802BA224 +lbl_802BA21C: +/* 802BA21C 002B717C 38 63 00 08 */ addi r3, r3, 8 +/* 802BA220 002B7180 42 00 FF FC */ bdnz lbl_802BA21C +lbl_802BA224: +/* 802BA224 002B7184 7C 03 28 50 */ subf r0, r3, r5 +/* 802BA228 002B7188 7C 09 03 A6 */ mtctr r0 +/* 802BA22C 002B718C 7C 03 28 00 */ cmpw r3, r5 +/* 802BA230 002B7190 40 80 00 08 */ bge lbl_802BA238 +lbl_802BA234: +/* 802BA234 002B7194 42 00 00 00 */ bdnz lbl_802BA234 +lbl_802BA238: +/* 802BA238 002B7198 38 00 00 00 */ li r0, 0 +/* 802BA23C 002B719C 90 01 02 74 */ stw r0, 0x274(r1) +lbl_802BA240: +/* 802BA240 002B71A0 E3 E1 04 18 */ psq_l f31, 1048(r1), 0, qr0 +/* 802BA244 002B71A4 CB E1 04 10 */ lfd f31, 0x410(r1) +/* 802BA248 002B71A8 E3 C1 04 08 */ psq_l f30, 1032(r1), 0, qr0 +/* 802BA24C 002B71AC CB C1 04 00 */ lfd f30, 0x400(r1) +/* 802BA250 002B71B0 E3 A1 03 F8 */ psq_l f29, 1016(r1), 0, qr0 +/* 802BA254 002B71B4 CB A1 03 F0 */ lfd f29, 0x3f0(r1) +/* 802BA258 002B71B8 E3 81 03 E8 */ psq_l f28, 1000(r1), 0, qr0 +/* 802BA25C 002B71BC CB 81 03 E0 */ lfd f28, 0x3e0(r1) +/* 802BA260 002B71C0 E3 61 03 D8 */ psq_l f27, 984(r1), 0, qr0 +/* 802BA264 002B71C4 CB 61 03 D0 */ lfd f27, 0x3d0(r1) +/* 802BA268 002B71C8 E3 41 03 C8 */ psq_l f26, 968(r1), 0, qr0 +/* 802BA26C 002B71CC CB 41 03 C0 */ lfd f26, 0x3c0(r1) +/* 802BA270 002B71D0 E3 21 03 B8 */ psq_l f25, 952(r1), 0, qr0 +/* 802BA274 002B71D4 CB 21 03 B0 */ lfd f25, 0x3b0(r1) +/* 802BA278 002B71D8 E3 01 03 A8 */ psq_l f24, 936(r1), 0, qr0 +/* 802BA27C 002B71DC CB 01 03 A0 */ lfd f24, 0x3a0(r1) +/* 802BA280 002B71E0 B9 C1 03 58 */ lmw r14, 0x358(r1) +/* 802BA284 002B71E4 80 01 04 24 */ lwz r0, 0x424(r1) +/* 802BA288 002B71E8 7C 08 03 A6 */ mtlr r0 +/* 802BA28C 002B71EC 38 21 04 20 */ addi r1, r1, 0x420 +/* 802BA290 002B71F0 4E 80 00 20 */ blr + +.global "RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +"RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": +/* 802BA294 002B71F4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802BA298 002B71F8 7C 08 02 A6 */ mflr r0 +/* 802BA29C 002B71FC 7C C9 33 78 */ mr r9, r6 +/* 802BA2A0 002B7200 7C E8 3B 78 */ mr r8, r7 +/* 802BA2A4 002B7204 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BA2A8 002B7208 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802BA2AC 002B720C 7C 7F 1B 78 */ mr r31, r3 +/* 802BA2B0 002B7210 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BA2B4 002B7214 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802BA2B8 002B7218 40 82 00 64 */ bne lbl_802BA31C +/* 802BA2BC 002B721C 80 04 00 00 */ lwz r0, 0(r4) +/* 802BA2C0 002B7220 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 802BA2C4 002B7224 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 802BA2C8 002B7228 7C A6 2B 78 */ mr r6, r5 +/* 802BA2CC 002B722C 90 01 00 08 */ stw r0, 8(r1) +/* 802BA2D0 002B7230 7D 27 4B 78 */ mr r7, r9 +/* 802BA2D4 002B7234 38 61 00 0C */ addi r3, r1, 0xc +/* 802BA2D8 002B7238 38 A1 00 08 */ addi r5, r1, 8 +/* 802BA2DC 002B723C 4B FF E4 E9 */ bl "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" +/* 802BA2E0 002B7240 38 7F 02 AC */ addi r3, r31, 0x2ac +/* 802BA2E4 002B7244 38 81 00 0C */ addi r4, r1, 0xc +/* 802BA2E8 002B7248 48 00 00 49 */ bl "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" +/* 802BA2EC 002B724C 34 61 00 58 */ addic. r3, r1, 0x58 +/* 802BA2F0 002B7250 41 82 00 2C */ beq lbl_802BA31C +/* 802BA2F4 002B7254 88 01 00 64 */ lbz r0, 0x64(r1) +/* 802BA2F8 002B7258 28 00 00 00 */ cmplwi r0, 0 +/* 802BA2FC 002B725C 41 82 00 18 */ beq lbl_802BA314 +/* 802BA300 002B7260 28 03 00 00 */ cmplwi r3, 0 +/* 802BA304 002B7264 41 82 00 10 */ beq lbl_802BA314 +/* 802BA308 002B7268 41 82 00 0C */ beq lbl_802BA314 +/* 802BA30C 002B726C 38 80 00 00 */ li r4, 0 +/* 802BA310 002B7270 48 08 6B 31 */ bl __dt__6CTokenFv +lbl_802BA314: +/* 802BA314 002B7274 38 00 00 00 */ li r0, 0 +/* 802BA318 002B7278 98 01 00 64 */ stb r0, 0x64(r1) +lbl_802BA31C: +/* 802BA31C 002B727C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802BA320 002B7280 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802BA324 002B7284 7C 08 03 A6 */ mtlr r0 +/* 802BA328 002B7288 38 21 00 80 */ addi r1, r1, 0x80 +/* 802BA32C 002B728C 4E 80 00 20 */ blr + +.global "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" +"push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem": +/* 802BA330 002B7290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BA334 002B7294 7C 08 02 A6 */ mflr r0 +/* 802BA338 002B7298 7C 85 23 78 */ mr r5, r4 +/* 802BA33C 002B729C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BA340 002B72A0 80 83 00 08 */ lwz r4, 8(r3) +/* 802BA344 002B72A4 48 00 00 15 */ bl "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" +/* 802BA348 002B72A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BA34C 002B72AC 7C 08 03 A6 */ mtlr r0 +/* 802BA350 002B72B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BA354 002B72B4 4E 80 00 20 */ blr + +.global "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" +"do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem": +/* 802BA358 002B72B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BA35C 002B72BC 7C 08 02 A6 */ mflr r0 +/* 802BA360 002B72C0 7C A6 2B 78 */ mr r6, r5 +/* 802BA364 002B72C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BA368 002B72C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BA36C 002B72CC 7C 9F 23 78 */ mr r31, r4 +/* 802BA370 002B72D0 7F E5 FB 78 */ mr r5, r31 +/* 802BA374 002B72D4 93 C1 00 08 */ stw r30, 8(r1) +/* 802BA378 002B72D8 7C 7E 1B 78 */ mr r30, r3 +/* 802BA37C 002B72DC 80 84 00 00 */ lwz r4, 0(r4) +/* 802BA380 002B72E0 48 00 00 49 */ bl __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem +/* 802BA384 002B72E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BA388 002B72E8 7C 1F 00 40 */ cmplw r31, r0 +/* 802BA38C 002B72EC 40 82 00 08 */ bne lbl_802BA394 +/* 802BA390 002B72F0 90 7E 00 04 */ stw r3, 4(r30) +lbl_802BA394: +/* 802BA394 002B72F4 80 83 00 00 */ lwz r4, 0(r3) +/* 802BA398 002B72F8 90 64 00 04 */ stw r3, 4(r4) +/* 802BA39C 002B72FC 80 83 00 04 */ lwz r4, 4(r3) +/* 802BA3A0 002B7300 90 64 00 00 */ stw r3, 0(r4) +/* 802BA3A4 002B7304 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802BA3A8 002B7308 38 04 00 01 */ addi r0, r4, 1 +/* 802BA3AC 002B730C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BA3B0 002B7310 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BA3B4 002B7314 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BA3B8 002B7318 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BA3BC 002B731C 7C 08 03 A6 */ mtlr r0 +/* 802BA3C0 002B7320 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BA3C4 002B7324 4E 80 00 20 */ blr + +.global __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem +__ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem: +/* 802BA3C8 002B7328 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BA3CC 002B732C 7C 08 02 A6 */ mflr r0 +/* 802BA3D0 002B7330 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BA3D4 002B7334 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BA3D8 002B7338 38 03 68 5C */ addi r0, r3, lbl_803D685C@l +/* 802BA3DC 002B733C 38 60 00 68 */ li r3, 0x68 +/* 802BA3E0 002B7340 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802BA3E4 002B7344 7C BD 2B 78 */ mr r29, r5 +/* 802BA3E8 002B7348 7C 9E 23 78 */ mr r30, r4 +/* 802BA3EC 002B734C 7C DB 33 78 */ mr r27, r6 +/* 802BA3F0 002B7350 7C 04 03 78 */ mr r4, r0 +/* 802BA3F4 002B7354 38 A0 00 00 */ li r5, 0 +/* 802BA3F8 002B7358 48 05 B4 21 */ bl __nwa__FUlPCcPCc +/* 802BA3FC 002B735C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BA400 002B7360 41 82 00 0C */ beq lbl_802BA40C +/* 802BA404 002B7364 93 DC 00 00 */ stw r30, 0(r28) +/* 802BA408 002B7368 93 BC 00 04 */ stw r29, 4(r28) +lbl_802BA40C: +/* 802BA40C 002B736C 37 FC 00 08 */ addic. r31, r28, 8 +/* 802BA410 002B7370 41 82 00 8C */ beq lbl_802BA49C +/* 802BA414 002B7374 7F E3 FB 78 */ mr r3, r31 +/* 802BA418 002B7378 7F 64 DB 78 */ mr r4, r27 +/* 802BA41C 002B737C 48 05 87 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BA420 002B7380 80 1B 00 30 */ lwz r0, 0x30(r27) +/* 802BA424 002B7384 90 1F 00 30 */ stw r0, 0x30(r31) +/* 802BA428 002B7388 C0 1B 00 34 */ lfs f0, 0x34(r27) +/* 802BA42C 002B738C D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 802BA430 002B7390 C0 1B 00 38 */ lfs f0, 0x38(r27) +/* 802BA434 002B7394 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 802BA438 002B7398 C0 1B 00 3C */ lfs f0, 0x3c(r27) +/* 802BA43C 002B739C D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 802BA440 002B73A0 C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 802BA444 002B73A4 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 802BA448 002B73A8 C0 1B 00 44 */ lfs f0, 0x44(r27) +/* 802BA44C 002B73AC D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 802BA450 002B73B0 C0 1B 00 48 */ lfs f0, 0x48(r27) +/* 802BA454 002B73B4 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 802BA458 002B73B8 88 1B 00 58 */ lbz r0, 0x58(r27) +/* 802BA45C 002B73BC 98 1F 00 58 */ stb r0, 0x58(r31) +/* 802BA460 002B73C0 88 1B 00 58 */ lbz r0, 0x58(r27) +/* 802BA464 002B73C4 28 00 00 00 */ cmplwi r0, 0 +/* 802BA468 002B73C8 41 82 00 2C */ beq lbl_802BA494 +/* 802BA46C 002B73CC 37 DF 00 4C */ addic. r30, r31, 0x4c +/* 802BA470 002B73D0 3B BB 00 4C */ addi r29, r27, 0x4c +/* 802BA474 002B73D4 41 82 00 20 */ beq lbl_802BA494 +/* 802BA478 002B73D8 7F C3 F3 78 */ mr r3, r30 +/* 802BA47C 002B73DC 7F A4 EB 78 */ mr r4, r29 +/* 802BA480 002B73E0 48 08 6A 29 */ bl __ct__6CTokenFRC6CToken +/* 802BA484 002B73E4 80 1D 00 08 */ lwz r0, 8(r29) +/* 802BA488 002B73E8 7F C3 F3 78 */ mr r3, r30 +/* 802BA48C 002B73EC 90 1E 00 08 */ stw r0, 8(r30) +/* 802BA490 002B73F0 48 08 68 F5 */ bl Lock__6CTokenFv +lbl_802BA494: +/* 802BA494 002B73F4 80 1B 00 5C */ lwz r0, 0x5c(r27) +/* 802BA498 002B73F8 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802BA49C: +/* 802BA49C 002B73FC 7F 83 E3 78 */ mr r3, r28 +/* 802BA4A0 002B7400 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802BA4A4 002B7404 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BA4A8 002B7408 7C 08 03 A6 */ mtlr r0 +/* 802BA4AC 002B740C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BA4B0 002B7410 4E 80 00 20 */ blr + +.global DoThermalBlendHot__13CCubeRendererFv +DoThermalBlendHot__13CCubeRendererFv: +/* 802BA4B4 002B7414 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802BA4B8 002B7418 7C 08 02 A6 */ mflr r0 +/* 802BA4BC 002B741C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802BA4C0 002B7420 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802BA4C4 002B7424 7C 7A 1B 78 */ mr r26, r3 +/* 802BA4C8 002B7428 38 60 00 00 */ li r3, 0 +/* 802BA4CC 002B742C 48 0C 1A 61 */ bl GXSetAlphaUpdate +/* 802BA4D0 002B7430 38 60 00 01 */ li r3, 1 +/* 802BA4D4 002B7434 38 80 00 00 */ li r4, 0 +/* 802BA4D8 002B7438 48 0C 1C 09 */ bl GXSetDstAlpha +/* 802BA4DC 002B743C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802BA4E0 002B7440 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) +/* 802BA4E4 002B7444 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802BA4E8 002B7448 38 60 00 01 */ li r3, 1 +/* 802BA4EC 002B744C 83 A6 00 00 */ lwz r29, 0(r6) +/* 802BA4F0 002B7450 38 80 00 03 */ li r4, 3 +/* 802BA4F4 002B7454 83 86 00 04 */ lwz r28, 4(r6) +/* 802BA4F8 002B7458 38 A0 00 01 */ li r5, 1 +/* 802BA4FC 002B745C 83 E6 00 08 */ lwz r31, 8(r6) +/* 802BA500 002B7460 83 C6 00 0C */ lwz r30, 0xc(r6) +/* 802BA504 002B7464 48 04 E3 79 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA508 002B7468 57 A3 04 3E */ clrlwi r3, r29, 0x10 +/* 802BA50C 002B746C 57 84 04 3E */ clrlwi r4, r28, 0x10 +/* 802BA510 002B7470 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 802BA514 002B7474 57 C6 04 3E */ clrlwi r6, r30, 0x10 +/* 802BA518 002B7478 48 0B E8 9D */ bl GXSetTexCopySrc +/* 802BA51C 002B747C 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 802BA520 002B7480 57 C4 04 3E */ clrlwi r4, r30, 0x10 +/* 802BA524 002B7484 38 A0 00 00 */ li r5, 0 +/* 802BA528 002B7488 38 C0 00 00 */ li r6, 0 +/* 802BA52C 002B748C 48 0B E9 55 */ bl GXSetTexCopyDst +/* 802BA530 002B7490 7F 63 DB 78 */ mr r3, r27 +/* 802BA534 002B7494 38 80 00 00 */ li r4, 0 +/* 802BA538 002B7498 48 0B EF FD */ bl GXCopyTex +/* 802BA53C 002B749C 38 7A 02 88 */ addi r3, r26, 0x288 +/* 802BA540 002B74A0 48 05 39 85 */ bl Load__16CGraphicsPaletteCFv +/* 802BA544 002B74A4 81 02 C7 A8 */ lwz r8, lbl_805AE4C8@sda21(r2) +/* 802BA548 002B74A8 7F E3 FB 78 */ mr r3, r31 +/* 802BA54C 002B74AC 7F C4 F3 78 */ mr r4, r30 +/* 802BA550 002B74B0 38 A0 00 08 */ li r5, 8 +/* 802BA554 002B74B4 38 C0 00 00 */ li r6, 0 +/* 802BA558 002B74B8 38 E0 00 00 */ li r7, 0 +/* 802BA55C 002B74BC 48 04 FA 0D */ bl LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID +/* 802BA560 002B74C0 38 60 00 00 */ li r3, 0 +/* 802BA564 002B74C4 38 80 00 0F */ li r4, 0xf +/* 802BA568 002B74C8 38 A0 00 09 */ li r5, 9 +/* 802BA56C 002B74CC 38 C0 00 08 */ li r6, 8 +/* 802BA570 002B74D0 38 E0 00 0F */ li r7, 0xf +/* 802BA574 002B74D4 48 04 E6 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BA578 002B74D8 38 60 00 00 */ li r3, 0 +/* 802BA57C 002B74DC 38 80 00 07 */ li r4, 7 +/* 802BA580 002B74E0 38 A0 00 07 */ li r5, 7 +/* 802BA584 002B74E4 38 C0 00 07 */ li r6, 7 +/* 802BA588 002B74E8 38 E0 00 04 */ li r7, 4 +/* 802BA58C 002B74EC 48 04 E6 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BA590 002B74F0 38 60 00 00 */ li r3, 0 +/* 802BA594 002B74F4 48 04 D6 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BA598 002B74F8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BA59C 002B74FC 38 60 00 00 */ li r3, 0 +/* 802BA5A0 002B7500 38 80 00 00 */ li r4, 0 +/* 802BA5A4 002B7504 38 C0 00 FF */ li r6, 0xff +/* 802BA5A8 002B7508 48 04 E3 A5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BA5AC 002B750C 38 60 00 00 */ li r3, 0 +/* 802BA5B0 002B7510 38 80 00 00 */ li r4, 0 +/* 802BA5B4 002B7514 38 A0 00 04 */ li r5, 4 +/* 802BA5B8 002B7518 38 C0 00 3C */ li r6, 0x3c +/* 802BA5BC 002B751C 38 E0 00 00 */ li r7, 0 +/* 802BA5C0 002B7520 39 00 00 7D */ li r8, 0x7d +/* 802BA5C4 002B7524 48 04 E1 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BA5C8 002B7528 38 60 00 07 */ li r3, 7 +/* 802BA5CC 002B752C 38 80 00 00 */ li r4, 0 +/* 802BA5D0 002B7530 38 A0 00 00 */ li r5, 0 +/* 802BA5D4 002B7534 38 C0 00 07 */ li r6, 7 +/* 802BA5D8 002B7538 38 E0 00 00 */ li r7, 0 +/* 802BA5DC 002B753C 48 04 E2 39 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802BA5E0 002B7540 38 60 00 01 */ li r3, 1 +/* 802BA5E4 002B7544 48 04 E6 AD */ bl SetNumTevStages__3CGXFUc +/* 802BA5E8 002B7548 38 60 00 01 */ li r3, 1 +/* 802BA5EC 002B754C 48 04 E8 29 */ bl SetNumTexGens__3CGXFUc +/* 802BA5F0 002B7550 38 60 00 00 */ li r3, 0 +/* 802BA5F4 002B7554 48 04 E8 5D */ bl SetNumChans__3CGXFUc +/* 802BA5F8 002B7558 38 60 00 00 */ li r3, 0 +/* 802BA5FC 002B755C 38 80 00 03 */ li r4, 3 +/* 802BA600 002B7560 38 A0 00 00 */ li r5, 0 +/* 802BA604 002B7564 48 04 E2 79 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA608 002B7568 3C 60 80 3D */ lis r3, lbl_803D6654@ha +/* 802BA60C 002B756C 38 63 66 54 */ addi r3, r3, lbl_803D6654@l +/* 802BA610 002B7570 48 04 D8 19 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BA614 002B7574 38 60 00 01 */ li r3, 1 +/* 802BA618 002B7578 38 80 00 06 */ li r4, 6 +/* 802BA61C 002B757C 38 A0 00 07 */ li r5, 7 +/* 802BA620 002B7580 38 C0 00 00 */ li r6, 0 +/* 802BA624 002B7584 48 04 E2 AD */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BA628 002B7588 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BA62C 002B758C 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BA630 002B7590 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BA634 002B7594 48 05 85 41 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BA638 002B7598 48 04 F8 25 */ bl GetProjectionState__9CGraphicsFv +/* 802BA63C 002B759C 88 C3 00 00 */ lbz r6, 0(r3) +/* 802BA640 002B75A0 3C 80 43 30 */ lis r4, 0x4330 +/* 802BA644 002B75A4 6F E5 80 00 */ xoris r5, r31, 0x8000 +/* 802BA648 002B75A8 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802BA64C 002B75AC 98 C1 00 08 */ stb r6, 8(r1) +/* 802BA650 002B75B0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BA654 002B75B4 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BA658 002B75B8 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 802BA65C 002B75BC FC 60 08 90 */ fmr f3, f1 +/* 802BA660 002B75C0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BA664 002B75C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BA668 002B75C8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BA66C 002B75CC C0 03 00 08 */ lfs f0, 8(r3) +/* 802BA670 002B75D0 90 81 00 58 */ stw r4, 0x58(r1) +/* 802BA674 002B75D4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BA678 002B75D8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BA67C 002B75DC C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802BA680 002B75E0 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802BA684 002B75E4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BA688 002B75E8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BA68C 002B75EC D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802BA690 002B75F0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BA694 002B75F4 90 81 00 60 */ stw r4, 0x60(r1) +/* 802BA698 002B75F8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802BA69C 002B75FC C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802BA6A0 002B7600 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 802BA6A4 002B7604 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BA6A8 002B7608 D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 802BA6AC 002B760C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BA6B0 002B7610 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BA6B4 002B7614 48 05 1E A1 */ bl SetOrtho__9CGraphicsFffffff +/* 802BA6B8 002B7618 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BA6BC 002B761C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BA6C0 002B7620 48 05 20 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA6C4 002B7624 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BA6C8 002B7628 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BA6CC 002B762C 48 05 1F 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BA6D0 002B7630 48 0B DE 95 */ bl GXPixModeSync +/* 802BA6D4 002B7634 38 60 00 A0 */ li r3, 0xa0 +/* 802BA6D8 002B7638 38 80 00 00 */ li r4, 0 +/* 802BA6DC 002B763C 38 A0 00 04 */ li r5, 4 +/* 802BA6E0 002B7640 48 04 DE A5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BA6E4 002B7644 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BA6E8 002B7648 3C 60 43 30 */ lis r3, 0x4330 +/* 802BA6EC 002B764C 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BA6F0 002B7650 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 802BA6F4 002B7654 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA6F8 002B7658 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 802BA6FC 002B765C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) +/* 802BA700 002B7660 90 81 00 6C */ stw r4, 0x6c(r1) +/* 802BA704 002B7664 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BA708 002B7668 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA70C 002B766C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BA710 002B7670 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA714 002B7674 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA718 002B7678 90 61 00 68 */ stw r3, 0x68(r1) +/* 802BA71C 002B767C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA720 002B7680 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802BA724 002B7684 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA728 002B7688 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA72C 002B768C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA730 002B7690 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA734 002B7694 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA738 002B7698 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BA73C 002B769C 90 61 00 70 */ stw r3, 0x70(r1) +/* 802BA740 002B76A0 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 802BA744 002B76A4 90 81 00 7C */ stw r4, 0x7c(r1) +/* 802BA748 002B76A8 EC 20 18 28 */ fsubs f1, f0, f3 +/* 802BA74C 002B76AC 90 61 00 78 */ stw r3, 0x78(r1) +/* 802BA750 002B76B0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA754 002B76B4 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802BA758 002B76B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BA75C 002B76BC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA760 002B76C0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA764 002B76C4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA768 002B76C8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA76C 002B76CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BA770 002B76D0 90 61 00 80 */ stw r3, 0x80(r1) +/* 802BA774 002B76D4 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 802BA778 002B76D8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA77C 002B76DC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BA780 002B76E0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BA784 002B76E4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BA788 002B76E8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA78C 002B76EC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BA790 002B76F0 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BA794 002B76F4 48 04 DD ED */ bl End__3CGXFv +/* 802BA798 002B76F8 38 60 00 00 */ li r3, 0 +/* 802BA79C 002B76FC 48 04 DE F5 */ bl SetNumIndStages__3CGXFUc +/* 802BA7A0 002B7700 38 60 00 00 */ li r3, 0 +/* 802BA7A4 002B7704 48 04 DF A1 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BA7A8 002B7708 38 60 00 01 */ li r3, 1 +/* 802BA7AC 002B770C 48 0C 17 81 */ bl GXSetAlphaUpdate +/* 802BA7B0 002B7710 38 61 00 08 */ addi r3, r1, 8 +/* 802BA7B4 002B7714 48 04 F6 4D */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BA7B8 002B7718 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BA7BC 002B771C 48 05 1F 91 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BA7C0 002B7720 38 00 00 00 */ li r0, 0 +/* 802BA7C4 002B7724 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802BA7C8 002B7728 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802BA7CC 002B772C BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802BA7D0 002B7730 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802BA7D4 002B7734 7C 08 03 A6 */ mtlr r0 +/* 802BA7D8 002B7738 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802BA7DC 002B773C 4E 80 00 20 */ blr + +.global DoThermalBlendCold__13CCubeRendererFv +DoThermalBlendCold__13CCubeRendererFv: +/* 802BA7E0 002B7740 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802BA7E4 002B7744 7C 08 02 A6 */ mflr r0 +/* 802BA7E8 002B7748 90 01 01 04 */ stw r0, 0x104(r1) +/* 802BA7EC 002B774C DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802BA7F0 002B7750 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802BA7F4 002B7754 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 802BA7F8 002B7758 7C 7C 1B 78 */ mr r28, r3 +/* 802BA7FC 002B775C 3C 80 43 30 */ lis r4, 0x4330 +/* 802BA800 002B7760 88 A3 02 F8 */ lbz r5, 0x2f8(r3) +/* 802BA804 002B7764 38 60 00 01 */ li r3, 1 +/* 802BA808 002B7768 88 1C 03 18 */ lbz r0, 0x318(r28) +/* 802BA80C 002B776C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 802BA810 002B7770 90 A1 00 9C */ stw r5, 0x9c(r1) +/* 802BA814 002B7774 38 60 00 01 */ li r3, 1 +/* 802BA818 002B7778 C8 22 C2 E0 */ lfd f1, lbl_805AE000@sda21(r2) +/* 802BA81C 002B777C 90 81 00 98 */ stw r4, 0x98(r1) +/* 802BA820 002B7780 C0 42 C2 78 */ lfs f2, lbl_805ADF98@sda21(r2) +/* 802BA824 002B7784 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 802BA828 002B7788 98 1C 03 18 */ stb r0, 0x318(r28) +/* 802BA82C 002B778C EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BA830 002B7790 EF E2 00 32 */ fmuls f31, f2, f0 +/* 802BA834 002B7794 48 0C 16 F9 */ bl GXSetAlphaUpdate +/* 802BA838 002B7798 38 60 00 00 */ li r3, 0 +/* 802BA83C 002B779C 38 80 00 00 */ li r4, 0 +/* 802BA840 002B77A0 48 0C 18 A1 */ bl GXSetDstAlpha +/* 802BA844 002B77A4 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 802BA848 002B77A8 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) +/* 802BA84C 002B77AC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 802BA850 002B77B0 38 60 00 01 */ li r3, 1 +/* 802BA854 002B77B4 83 E6 00 00 */ lwz r31, 0(r6) +/* 802BA858 002B77B8 38 80 00 03 */ li r4, 3 +/* 802BA85C 002B77BC 83 66 00 04 */ lwz r27, 4(r6) +/* 802BA860 002B77C0 38 A0 00 00 */ li r5, 0 +/* 802BA864 002B77C4 83 C6 00 08 */ lwz r30, 8(r6) +/* 802BA868 002B77C8 83 A6 00 0C */ lwz r29, 0xc(r6) +/* 802BA86C 002B77CC 48 04 E0 11 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BA870 002B77D0 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 802BA874 002B77D4 57 64 04 3E */ clrlwi r4, r27, 0x10 +/* 802BA878 002B77D8 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 802BA87C 002B77DC 57 A6 04 3E */ clrlwi r6, r29, 0x10 +/* 802BA880 002B77E0 48 0B E5 35 */ bl GXSetTexCopySrc +/* 802BA884 002B77E4 57 C3 04 3E */ clrlwi r3, r30, 0x10 +/* 802BA888 002B77E8 57 A4 04 3E */ clrlwi r4, r29, 0x10 +/* 802BA88C 002B77EC 38 A0 00 00 */ li r5, 0 +/* 802BA890 002B77F0 38 C0 00 00 */ li r6, 0 +/* 802BA894 002B77F4 48 0B E5 ED */ bl GXSetTexCopyDst +/* 802BA898 002B77F8 7F 43 D3 78 */ mr r3, r26 +/* 802BA89C 002B77FC 38 80 00 01 */ li r4, 1 +/* 802BA8A0 002B7800 48 0B EC 95 */ bl GXCopyTex +/* 802BA8A4 002B7804 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802BA8A8 002B7808 7F C3 F3 78 */ mr r3, r30 +/* 802BA8AC 002B780C 7F A4 EB 78 */ mr r4, r29 +/* 802BA8B0 002B7810 38 A0 00 00 */ li r5, 0 +/* 802BA8B4 002B7814 38 C0 00 00 */ li r6, 0 +/* 802BA8B8 002B7818 48 04 F7 69 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA8BC 002B781C 38 7C 02 A8 */ addi r3, r28, 0x2a8 +/* 802BA8C0 002B7820 48 05 7C 61 */ bl Next__9CRandom16Fv +/* 802BA8C4 002B7824 38 03 00 1F */ addi r0, r3, 0x1f +/* 802BA8C8 002B7828 7F C3 F3 78 */ mr r3, r30 +/* 802BA8CC 002B782C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 802BA8D0 002B7830 7F A4 EB 78 */ mr r4, r29 +/* 802BA8D4 002B7834 3F 45 00 01 */ addis r26, r5, 1 +/* 802BA8D8 002B7838 38 E0 00 00 */ li r7, 0 +/* 802BA8DC 002B783C 3B 5A 80 00 */ addi r26, r26, -32768 +/* 802BA8E0 002B7840 38 A0 00 02 */ li r5, 2 +/* 802BA8E4 002B7844 7F 46 D3 78 */ mr r6, r26 +/* 802BA8E8 002B7848 48 04 F7 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA8EC 002B784C 7F C3 F3 78 */ mr r3, r30 +/* 802BA8F0 002B7850 7F A4 EB 78 */ mr r4, r29 +/* 802BA8F4 002B7854 7F 46 D3 78 */ mr r6, r26 +/* 802BA8F8 002B7858 38 A0 00 02 */ li r5, 2 +/* 802BA8FC 002B785C 38 E0 00 01 */ li r7, 1 +/* 802BA900 002B7860 48 04 F7 21 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BA904 002B7864 C0 22 C2 80 */ lfs f1, lbl_805ADFA0@sda21(r2) +/* 802BA908 002B7868 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BA90C 002B786C C0 1C 02 F0 */ lfs f0, 0x2f0(r28) +/* 802BA910 002B7870 38 6D 9A D0 */ addi r3, r13, lbl_805A8690@sda21 +/* 802BA914 002B7874 38 AD 9A D4 */ addi r5, r13, lbl_805A8694@sda21 +/* 802BA918 002B7878 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BA91C 002B787C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BA920 002B7880 4B D5 19 95 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BA924 002B7884 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BA928 002B7888 3C 60 80 3D */ lis r3, lbl_803D663C@ha +/* 802BA92C 002B788C 39 63 66 3C */ addi r11, r3, lbl_803D663C@l +/* 802BA930 002B7890 C8 22 C2 D8 */ lfd f1, lbl_805ADFF8@sda21(r2) +/* 802BA934 002B7894 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802BA938 002B7898 81 4B 00 00 */ lwz r10, 0(r11) +/* 802BA93C 002B789C 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 802BA940 002B78A0 38 81 00 4C */ addi r4, r1, 0x4c +/* 802BA944 002B78A4 81 2B 00 04 */ lwz r9, 4(r11) +/* 802BA948 002B78A8 38 60 00 01 */ li r3, 1 +/* 802BA94C 002B78AC FC 01 00 32 */ fmul f0, f1, f0 +/* 802BA950 002B78B0 81 0B 00 08 */ lwz r8, 8(r11) +/* 802BA954 002B78B4 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 802BA958 002B78B8 38 A0 FF FE */ li r5, -2 +/* 802BA95C 002B78BC 80 0B 00 14 */ lwz r0, 0x14(r11) +/* 802BA960 002B78C0 91 41 00 4C */ stw r10, 0x4c(r1) +/* 802BA964 002B78C4 FC 00 00 18 */ frsp f0, f0 +/* 802BA968 002B78C8 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 802BA96C 002B78CC 91 21 00 50 */ stw r9, 0x50(r1) +/* 802BA970 002B78D0 91 01 00 54 */ stw r8, 0x54(r1) +/* 802BA974 002B78D4 90 E1 00 58 */ stw r7, 0x58(r1) +/* 802BA978 002B78D8 90 01 00 60 */ stw r0, 0x60(r1) +/* 802BA97C 002B78DC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802BA980 002B78E0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802BA984 002B78E4 48 0C 05 45 */ bl GXSetIndTexMtx +/* 802BA988 002B78E8 38 00 00 00 */ li r0, 0 +/* 802BA98C 002B78EC 38 60 00 00 */ li r3, 0 +/* 802BA990 002B78F0 90 01 00 08 */ stw r0, 8(r1) +/* 802BA994 002B78F4 38 80 00 00 */ li r4, 0 +/* 802BA998 002B78F8 38 A0 00 00 */ li r5, 0 +/* 802BA99C 002B78FC 38 C0 00 07 */ li r6, 7 +/* 802BA9A0 002B7900 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BA9A4 002B7904 38 E0 00 01 */ li r7, 1 +/* 802BA9A8 002B7908 39 00 00 00 */ li r8, 0 +/* 802BA9AC 002B790C 39 20 00 00 */ li r9, 0 +/* 802BA9B0 002B7910 39 40 00 00 */ li r10, 0 +/* 802BA9B4 002B7914 48 04 DD D9 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802BA9B8 002B7918 38 60 00 00 */ li r3, 0 +/* 802BA9BC 002B791C 38 80 00 00 */ li r4, 0 +/* 802BA9C0 002B7920 38 A0 00 00 */ li r5, 0 +/* 802BA9C4 002B7924 48 0C 07 E1 */ bl GXSetIndTexOrder +/* 802BA9C8 002B7928 8B FC 02 F8 */ lbz r31, 0x2f8(r28) +/* 802BA9CC 002B792C 38 A0 00 FF */ li r5, 0xff +/* 802BA9D0 002B7930 28 1F 00 80 */ cmplwi r31, 0x80 +/* 802BA9D4 002B7934 40 80 00 08 */ bge lbl_802BA9DC +/* 802BA9D8 002B7938 57 E5 0E 3C */ rlwinm r5, r31, 1, 0x18, 0x1e +lbl_802BA9DC: +/* 802BA9DC 002B793C 28 1F 00 40 */ cmplwi r31, 0x40 +/* 802BA9E0 002B7940 40 80 00 0C */ bge lbl_802BA9EC +/* 802BA9E4 002B7944 38 C0 00 00 */ li r6, 0 +/* 802BA9E8 002B7948 48 00 00 34 */ b lbl_802BAA1C +lbl_802BA9EC: +/* 802BA9EC 002B794C 28 1F 00 FF */ cmplwi r31, 0xff +/* 802BA9F0 002B7950 40 82 00 0C */ bne lbl_802BA9FC +/* 802BA9F4 002B7954 38 C0 00 FF */ li r6, 0xff +/* 802BA9F8 002B7958 48 00 00 24 */ b lbl_802BAA1C +lbl_802BA9FC: +/* 802BA9FC 002B795C 38 1F FF C0 */ addi r0, r31, -64 +/* 802BAA00 002B7960 3C 60 55 55 */ lis r3, 0x55555556@ha +/* 802BAA04 002B7964 54 00 10 3A */ slwi r0, r0, 2 +/* 802BAA08 002B7968 38 63 55 56 */ addi r3, r3, 0x55555556@l +/* 802BAA0C 002B796C 7C 63 00 96 */ mulhw r3, r3, r0 +/* 802BAA10 002B7970 54 60 0F FE */ srwi r0, r3, 0x1f +/* 802BAA14 002B7974 7C 03 02 14 */ add r0, r3, r0 +/* 802BAA18 002B7978 54 06 06 3E */ clrlwi r6, r0, 0x18 +lbl_802BAA1C: +/* 802BAA1C 002B797C 80 62 D7 70 */ lwz r3, lbl_805AF490@sda21(r2) +/* 802BAA20 002B7980 54 A4 06 3E */ clrlwi r4, r5, 0x18 +/* 802BAA24 002B7984 80 02 D7 74 */ lwz r0, lbl_805AF494@sda21(r2) +/* 802BAA28 002B7988 20 84 00 FF */ subfic r4, r4, 0xff +/* 802BAA2C 002B798C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802BAA30 002B7990 7C 83 1E 70 */ srawi r3, r4, 3 +/* 802BAA34 002B7994 90 01 00 28 */ stw r0, 0x28(r1) +/* 802BAA38 002B7998 98 61 00 2C */ stb r3, 0x2c(r1) +/* 802BAA3C 002B799C 98 61 00 2D */ stb r3, 0x2d(r1) +/* 802BAA40 002B79A0 98 61 00 2E */ stb r3, 0x2e(r1) +/* 802BAA44 002B79A4 98 A1 00 2F */ stb r5, 0x2f(r1) +/* 802BAA48 002B79A8 98 C1 00 28 */ stb r6, 0x28(r1) +/* 802BAA4C 002B79AC 98 C1 00 29 */ stb r6, 0x29(r1) +/* 802BAA50 002B79B0 98 C1 00 2A */ stb r6, 0x2a(r1) +/* 802BAA54 002B79B4 98 C1 00 2B */ stb r6, 0x2b(r1) +/* 802BAA58 002B79B8 48 08 F5 55 */ bl White__6CColorFv +/* 802BAA5C 002B79BC 3C 00 43 30 */ lis r0, 0x4330 +/* 802BAA60 002B79C0 7C 65 1B 78 */ mr r5, r3 +/* 802BAA64 002B79C4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802BAA68 002B79C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802BAA6C 002B79CC C8 42 C2 E0 */ lfd f2, lbl_805AE000@sda21(r2) +/* 802BAA70 002B79D0 38 9C 02 F4 */ addi r4, r28, 0x2f4 +/* 802BAA74 002B79D4 90 01 00 98 */ stw r0, 0x98(r1) +/* 802BAA78 002B79D8 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) +/* 802BAA7C 002B79DC C8 21 00 98 */ lfd f1, 0x98(r1) +/* 802BAA80 002B79E0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BAA84 002B79E4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 802BAA88 002B79E8 48 0A 88 25 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 802BAA8C 002B79EC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802BAA90 002B79F0 38 81 00 18 */ addi r4, r1, 0x18 +/* 802BAA94 002B79F4 38 60 00 01 */ li r3, 1 +/* 802BAA98 002B79F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BAA9C 002B79FC 90 01 00 18 */ stw r0, 0x18(r1) +/* 802BAAA0 002B7A00 48 0C 0B 5D */ bl GXSetTevColor +/* 802BAAA4 002B7A04 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802BAAA8 002B7A08 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BAAAC 002B7A0C 38 60 00 02 */ li r3, 2 +/* 802BAAB0 002B7A10 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BAAB4 002B7A14 48 0C 0B 49 */ bl GXSetTevColor +/* 802BAAB8 002B7A18 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802BAABC 002B7A1C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BAAC0 002B7A20 38 60 00 03 */ li r3, 3 +/* 802BAAC4 002B7A24 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BAAC8 002B7A28 48 0C 0B 35 */ bl GXSetTevColor +/* 802BAACC 002B7A2C 38 60 00 00 */ li r3, 0 +/* 802BAAD0 002B7A30 38 80 00 00 */ li r4, 0 +/* 802BAAD4 002B7A34 38 A0 00 01 */ li r5, 1 +/* 802BAAD8 002B7A38 48 0C 0D 59 */ bl GXSetTevSwapMode +/* 802BAADC 002B7A3C 38 60 00 00 */ li r3, 0 +/* 802BAAE0 002B7A40 38 80 00 0F */ li r4, 0xf +/* 802BAAE4 002B7A44 38 A0 00 08 */ li r5, 8 +/* 802BAAE8 002B7A48 38 C0 00 02 */ li r6, 2 +/* 802BAAEC 002B7A4C 38 E0 00 06 */ li r7, 6 +/* 802BAAF0 002B7A50 48 04 E0 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BAAF4 002B7A54 38 60 00 00 */ li r3, 0 +/* 802BAAF8 002B7A58 38 80 00 07 */ li r4, 7 +/* 802BAAFC 002B7A5C 38 A0 00 04 */ li r5, 4 +/* 802BAB00 002B7A60 38 C0 00 02 */ li r6, 2 +/* 802BAB04 002B7A64 38 E0 00 03 */ li r7, 3 +/* 802BAB08 002B7A68 48 04 E0 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BAB0C 002B7A6C 38 60 00 00 */ li r3, 0 +/* 802BAB10 002B7A70 48 04 D1 41 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BAB14 002B7A74 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BAB18 002B7A78 38 60 00 00 */ li r3, 0 +/* 802BAB1C 002B7A7C 38 80 00 00 */ li r4, 0 +/* 802BAB20 002B7A80 38 C0 00 FF */ li r6, 0xff +/* 802BAB24 002B7A84 48 04 DE 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BAB28 002B7A88 38 60 00 01 */ li r3, 1 +/* 802BAB2C 002B7A8C 38 80 00 00 */ li r4, 0 +/* 802BAB30 002B7A90 38 A0 00 01 */ li r5, 1 +/* 802BAB34 002B7A94 48 0C 0C FD */ bl GXSetTevSwapMode +/* 802BAB38 002B7A98 38 60 00 01 */ li r3, 1 +/* 802BAB3C 002B7A9C 38 80 00 0F */ li r4, 0xf +/* 802BAB40 002B7AA0 38 A0 00 08 */ li r5, 8 +/* 802BAB44 002B7AA4 38 C0 00 04 */ li r6, 4 +/* 802BAB48 002B7AA8 38 E0 00 00 */ li r7, 0 +/* 802BAB4C 002B7AAC 48 04 E0 A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BAB50 002B7AB0 38 60 00 01 */ li r3, 1 +/* 802BAB54 002B7AB4 38 80 00 01 */ li r4, 1 +/* 802BAB58 002B7AB8 38 A0 00 00 */ li r5, 0 +/* 802BAB5C 002B7ABC 38 C0 00 00 */ li r6, 0 +/* 802BAB60 002B7AC0 38 E0 00 01 */ li r7, 1 +/* 802BAB64 002B7AC4 39 00 00 00 */ li r8, 0 +/* 802BAB68 002B7AC8 48 04 DF D1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BAB6C 002B7ACC 38 60 00 01 */ li r3, 1 +/* 802BAB70 002B7AD0 38 80 00 07 */ li r4, 7 +/* 802BAB74 002B7AD4 38 A0 00 02 */ li r5, 2 +/* 802BAB78 002B7AD8 38 C0 00 04 */ li r6, 4 +/* 802BAB7C 002B7ADC 38 E0 00 00 */ li r7, 0 +/* 802BAB80 002B7AE0 48 04 E0 15 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BAB84 002B7AE4 38 60 00 01 */ li r3, 1 +/* 802BAB88 002B7AE8 38 80 00 00 */ li r4, 0 +/* 802BAB8C 002B7AEC 38 A0 00 00 */ li r5, 0 +/* 802BAB90 002B7AF0 38 C0 00 02 */ li r6, 2 +/* 802BAB94 002B7AF4 38 E0 00 01 */ li r7, 1 +/* 802BAB98 002B7AF8 39 00 00 00 */ li r8, 0 +/* 802BAB9C 002B7AFC 48 04 DE E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BABA0 002B7B00 38 60 00 01 */ li r3, 1 +/* 802BABA4 002B7B04 38 80 00 00 */ li r4, 0 +/* 802BABA8 002B7B08 38 A0 00 01 */ li r5, 1 +/* 802BABAC 002B7B0C 38 C0 00 FF */ li r6, 0xff +/* 802BABB0 002B7B10 48 04 DD 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BABB4 002B7B14 38 60 00 00 */ li r3, 0 +/* 802BABB8 002B7B18 38 80 00 00 */ li r4, 0 +/* 802BABBC 002B7B1C 38 A0 00 04 */ li r5, 4 +/* 802BABC0 002B7B20 38 C0 00 3C */ li r6, 0x3c +/* 802BABC4 002B7B24 38 E0 00 00 */ li r7, 0 +/* 802BABC8 002B7B28 39 00 00 7D */ li r8, 0x7d +/* 802BABCC 002B7B2C 48 04 DB 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BABD0 002B7B30 38 60 00 07 */ li r3, 7 +/* 802BABD4 002B7B34 38 80 00 00 */ li r4, 0 +/* 802BABD8 002B7B38 38 A0 00 00 */ li r5, 0 +/* 802BABDC 002B7B3C 38 C0 00 07 */ li r6, 7 +/* 802BABE0 002B7B40 38 E0 00 00 */ li r7, 0 +/* 802BABE4 002B7B44 48 04 DC 31 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802BABE8 002B7B48 38 60 00 02 */ li r3, 2 +/* 802BABEC 002B7B4C 48 04 E0 A5 */ bl SetNumTevStages__3CGXFUc +/* 802BABF0 002B7B50 38 60 00 01 */ li r3, 1 +/* 802BABF4 002B7B54 48 04 E2 21 */ bl SetNumTexGens__3CGXFUc +/* 802BABF8 002B7B58 38 60 00 00 */ li r3, 0 +/* 802BABFC 002B7B5C 48 04 E2 55 */ bl SetNumChans__3CGXFUc +/* 802BAC00 002B7B60 38 60 00 01 */ li r3, 1 +/* 802BAC04 002B7B64 48 04 DA 8D */ bl SetNumIndStages__3CGXFUc +/* 802BAC08 002B7B68 38 60 00 00 */ li r3, 0 +/* 802BAC0C 002B7B6C 38 80 00 07 */ li r4, 7 +/* 802BAC10 002B7B70 38 A0 00 00 */ li r5, 0 +/* 802BAC14 002B7B74 48 04 DC 69 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BAC18 002B7B78 3C 60 80 3D */ lis r3, lbl_803D6624@ha +/* 802BAC1C 002B7B7C 38 63 66 24 */ addi r3, r3, lbl_803D6624@l +/* 802BAC20 002B7B80 48 04 D2 09 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BAC24 002B7B84 38 60 00 00 */ li r3, 0 +/* 802BAC28 002B7B88 38 80 00 01 */ li r4, 1 +/* 802BAC2C 002B7B8C 38 A0 00 00 */ li r5, 0 +/* 802BAC30 002B7B90 38 C0 00 00 */ li r6, 0 +/* 802BAC34 002B7B94 48 04 DC 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BAC38 002B7B98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BAC3C 002B7B9C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802BAC40 002B7BA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BAC44 002B7BA4 48 05 7F 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BAC48 002B7BA8 48 04 F2 15 */ bl GetProjectionState__9CGraphicsFv +/* 802BAC4C 002B7BAC 88 C3 00 00 */ lbz r6, 0(r3) +/* 802BAC50 002B7BB0 3C 80 43 30 */ lis r4, 0x4330 +/* 802BAC54 002B7BB4 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 802BAC58 002B7BB8 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 802BAC5C 002B7BBC 98 C1 00 30 */ stb r6, 0x30(r1) +/* 802BAC60 002B7BC0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BAC64 002B7BC4 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BAC68 002B7BC8 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 802BAC6C 002B7BCC FC 60 08 90 */ fmr f3, f1 +/* 802BAC70 002B7BD0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BAC74 002B7BD4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802BAC78 002B7BD8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BAC7C 002B7BDC C0 03 00 08 */ lfs f0, 8(r3) +/* 802BAC80 002B7BE0 90 81 00 A0 */ stw r4, 0xa0(r1) +/* 802BAC84 002B7BE4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BAC88 002B7BE8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802BAC8C 002B7BEC C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 802BAC90 002B7BF0 C0 E3 00 0C */ lfs f7, 0xc(r3) +/* 802BAC94 002B7BF4 90 01 00 AC */ stw r0, 0xac(r1) +/* 802BAC98 002B7BF8 EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BAC9C 002B7BFC D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802BACA0 002B7C00 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BACA4 002B7C04 90 81 00 A8 */ stw r4, 0xa8(r1) +/* 802BACA8 002B7C08 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802BACAC 002B7C0C C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802BACB0 002B7C10 C0 E3 00 14 */ lfs f7, 0x14(r3) +/* 802BACB4 002B7C14 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BACB8 002B7C18 D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 802BACBC 002B7C1C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BACC0 002B7C20 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802BACC4 002B7C24 48 05 18 91 */ bl SetOrtho__9CGraphicsFffffff +/* 802BACC8 002B7C28 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BACCC 002B7C2C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BACD0 002B7C30 48 05 1A 7D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BACD4 002B7C34 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BACD8 002B7C38 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BACDC 002B7C3C 48 05 19 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BACE0 002B7C40 48 0B D8 85 */ bl GXPixModeSync +/* 802BACE4 002B7C44 38 60 00 A0 */ li r3, 0xa0 +/* 802BACE8 002B7C48 38 80 00 00 */ li r4, 0 +/* 802BACEC 002B7C4C 38 A0 00 04 */ li r5, 4 +/* 802BACF0 002B7C50 48 04 D8 95 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BACF4 002B7C54 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BACF8 002B7C58 3C 60 43 30 */ lis r3, 0x4330 +/* 802BACFC 002B7C5C 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BAD00 002B7C60 6F A4 80 00 */ xoris r4, r29, 0x8000 +/* 802BAD04 002B7C64 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD08 002B7C68 6F C0 80 00 */ xoris r0, r30, 0x8000 +/* 802BAD0C 002B7C6C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) +/* 802BAD10 002B7C70 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 802BAD14 002B7C74 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BAD18 002B7C78 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD1C 002B7C7C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BAD20 002B7C80 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD24 002B7C84 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD28 002B7C88 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 802BAD2C 002B7C8C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD30 002B7C90 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 802BAD34 002B7C94 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD38 002B7C98 EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD3C 002B7C9C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD40 002B7CA0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD44 002B7CA4 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD48 002B7CA8 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802BAD4C 002B7CAC 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 802BAD50 002B7CB0 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 802BAD54 002B7CB4 90 81 00 C4 */ stw r4, 0xc4(r1) +/* 802BAD58 002B7CB8 EC 20 18 28 */ fsubs f1, f0, f3 +/* 802BAD5C 002B7CBC 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 802BAD60 002B7CC0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD64 002B7CC4 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 802BAD68 002B7CC8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BAD6C 002B7CCC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD70 002B7CD0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD74 002B7CD4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD78 002B7CD8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD7C 002B7CDC 90 01 00 CC */ stw r0, 0xcc(r1) +/* 802BAD80 002B7CE0 90 61 00 C8 */ stw r3, 0xc8(r1) +/* 802BAD84 002B7CE4 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802BAD88 002B7CE8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BAD8C 002B7CEC EC 00 18 28 */ fsubs f0, f0, f3 +/* 802BAD90 002B7CF0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BAD94 002B7CF4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) +/* 802BAD98 002B7CF8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BAD9C 002B7CFC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BADA0 002B7D00 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 802BADA4 002B7D04 48 04 D7 DD */ bl End__3CGXFv +/* 802BADA8 002B7D08 38 60 00 00 */ li r3, 0 +/* 802BADAC 002B7D0C 38 80 00 00 */ li r4, 0 +/* 802BADB0 002B7D10 38 A0 00 00 */ li r5, 0 +/* 802BADB4 002B7D14 48 0C 0A 7D */ bl GXSetTevSwapMode +/* 802BADB8 002B7D18 38 60 00 01 */ li r3, 1 +/* 802BADBC 002B7D1C 38 80 00 00 */ li r4, 0 +/* 802BADC0 002B7D20 38 A0 00 00 */ li r5, 0 +/* 802BADC4 002B7D24 48 0C 0A 6D */ bl GXSetTevSwapMode +/* 802BADC8 002B7D28 38 60 00 00 */ li r3, 0 +/* 802BADCC 002B7D2C 48 04 D8 C5 */ bl SetNumIndStages__3CGXFUc +/* 802BADD0 002B7D30 38 60 00 00 */ li r3, 0 +/* 802BADD4 002B7D34 48 04 D9 71 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BADD8 002B7D38 38 60 00 00 */ li r3, 0 +/* 802BADDC 002B7D3C 38 80 00 FF */ li r4, 0xff +/* 802BADE0 002B7D40 48 0C 13 01 */ bl GXSetDstAlpha +/* 802BADE4 002B7D44 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BADE8 002B7D48 48 04 F0 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BADEC 002B7D4C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802BADF0 002B7D50 48 05 19 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BADF4 002B7D54 38 00 00 01 */ li r0, 1 +/* 802BADF8 002B7D58 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 802BADFC 002B7D5C 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) +/* 802BAE00 002B7D60 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802BAE04 002B7D64 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802BAE08 002B7D68 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 802BAE0C 002B7D6C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802BAE10 002B7D70 7C 08 03 A6 */ mtlr r0 +/* 802BAE14 002B7D74 38 21 01 00 */ addi r1, r1, 0x100 +/* 802BAE18 002B7D78 4E 80 00 20 */ blr + +.global RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel +RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel: +/* 802BAE1C 002B7D7C 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802BAE20 002B7D80 7C 08 02 A6 */ mflr r0 +/* 802BAE24 002B7D84 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802BAE28 002B7D88 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802BAE2C 002B7D8C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802BAE30 002B7D90 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802BAE34 002B7D94 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802BAE38 002B7D98 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 802BAE3C 002B7D9C F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 802BAE40 002B7DA0 DB 81 01 90 */ stfd f28, 0x190(r1) +/* 802BAE44 002B7DA4 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 +/* 802BAE48 002B7DA8 DB 61 01 80 */ stfd f27, 0x180(r1) +/* 802BAE4C 002B7DAC F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 +/* 802BAE50 002B7DB0 DB 41 01 70 */ stfd f26, 0x170(r1) +/* 802BAE54 002B7DB4 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 +/* 802BAE58 002B7DB8 DB 21 01 60 */ stfd f25, 0x160(r1) +/* 802BAE5C 002B7DBC F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 +/* 802BAE60 002B7DC0 DB 01 01 50 */ stfd f24, 0x150(r1) +/* 802BAE64 002B7DC4 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 +/* 802BAE68 002B7DC8 DA E1 01 40 */ stfd f23, 0x140(r1) +/* 802BAE6C 002B7DCC F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0 +/* 802BAE70 002B7DD0 DA C1 01 30 */ stfd f22, 0x130(r1) +/* 802BAE74 002B7DD4 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0 +/* 802BAE78 002B7DD8 DA A1 01 20 */ stfd f21, 0x120(r1) +/* 802BAE7C 002B7DDC F2 A1 01 28 */ psq_st f21, 296(r1), 0, qr0 +/* 802BAE80 002B7DE0 DA 81 01 10 */ stfd f20, 0x110(r1) +/* 802BAE84 002B7DE4 F2 81 01 18 */ psq_st f20, 280(r1), 0, qr0 +/* 802BAE88 002B7DE8 DA 61 01 00 */ stfd f19, 0x100(r1) +/* 802BAE8C 002B7DEC F2 61 01 08 */ psq_st f19, 264(r1), 0, qr0 +/* 802BAE90 002B7DF0 DA 41 00 F0 */ stfd f18, 0xf0(r1) +/* 802BAE94 002B7DF4 F2 41 00 F8 */ psq_st f18, 248(r1), 0, qr0 +/* 802BAE98 002B7DF8 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802BAE9C 002B7DFC 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802BAEA0 002B7E00 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802BAEA4 002B7E04 7C 9F 23 79 */ or. r31, r4, r4 +/* 802BAEA8 002B7E08 7C DE 33 78 */ mr r30, r6 +/* 802BAEAC 002B7E0C 7C FD 3B 78 */ mr r29, r7 +/* 802BAEB0 002B7E10 40 82 02 60 */ bne lbl_802BB110 +/* 802BAEB4 002B7E14 28 1D 00 00 */ cmplwi r29, 0 +/* 802BAEB8 002B7E18 40 82 02 58 */ bne lbl_802BB110 +/* 802BAEBC 002B7E1C 7C 64 1B 78 */ mr r4, r3 +/* 802BAEC0 002B7E20 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BAEC4 002B7E24 48 07 CA 39 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802BAEC8 002B7E28 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 802BAECC 002B7E2C 3C 60 80 3D */ lis r3, lbl_803D6614@ha +/* 802BAED0 002B7E30 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 802BAED4 002B7E34 38 63 66 14 */ addi r3, r3, lbl_803D6614@l +/* 802BAED8 002B7E38 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802BAEDC 002B7E3C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802BAEE0 002B7E40 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802BAEE4 002B7E44 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802BAEE8 002B7E48 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802BAEEC 002B7E4C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 802BAEF0 002B7E50 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802BAEF4 002B7E54 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802BAEF8 002B7E58 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802BAEFC 002B7E5C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802BAF00 002B7E60 48 04 CF 29 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BAF04 002B7E64 C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 802BAF08 002B7E68 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BAF0C 002B7E6C C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 802BAF10 002B7E70 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BAF14 002B7E74 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BAF18 002B7E78 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802BAF1C 002B7E7C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BAF20 002B7E80 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802BAF24 002B7E84 48 05 8E AD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802BAF28 002B7E88 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802BAF2C 002B7E8C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 802BAF30 002B7E90 C0 5E 00 1C */ lfs f2, 0x1c(r30) +/* 802BAF34 002B7E94 39 23 67 18 */ addi r9, r3, lbl_805A6718@l +/* 802BAF38 002B7E98 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802BAF3C 002B7E9C 3C 60 80 5A */ lis r3, lbl_805A670C@ha +/* 802BAF40 002B7EA0 EC 62 00 72 */ fmuls f3, f2, f1 +/* 802BAF44 002B7EA4 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 802BAF48 002B7EA8 39 03 67 0C */ addi r8, r3, lbl_805A670C@l +/* 802BAF4C 002B7EAC C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802BAF50 002B7EB0 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 802BAF54 002B7EB4 C0 E1 00 5C */ lfs f7, 0x5c(r1) +/* 802BAF58 002B7EB8 EC 84 18 3A */ fmadds f4, f4, f0, f3 +/* 802BAF5C 002B7EBC C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 802BAF60 002B7EC0 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l +/* 802BAF64 002B7EC4 C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 802BAF68 002B7EC8 C0 62 C2 EC */ lfs f3, lbl_805AE00C@sda21(r2) +/* 802BAF6C 002B7ECC 3C 60 80 5A */ lis r3, lbl_805A6730@ha +/* 802BAF70 002B7ED0 ED 05 20 BA */ fmadds f8, f5, f2, f4 +/* 802BAF74 002B7ED4 38 C3 67 30 */ addi r6, r3, lbl_805A6730@l +/* 802BAF78 002B7ED8 C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 802BAF7C 002B7EDC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 802BAF80 002B7EE0 C0 82 C2 E8 */ lfs f4, lbl_805AE008@sda21(r2) +/* 802BAF84 002B7EE4 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 802BAF88 002B7EE8 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l +/* 802BAF8C 002B7EEC EC 63 40 2A */ fadds f3, f3, f8 +/* 802BAF90 002B7EF0 FE C0 38 50 */ fneg f22, f7 +/* 802BAF94 002B7EF4 38 83 67 00 */ addi r4, r3, lbl_805A6700@l +/* 802BAF98 002B7EF8 FE A0 30 50 */ fneg f21, f6 +/* 802BAF9C 002B7EFC C2 E9 00 00 */ lfs f23, 0(r9) +/* 802BAFA0 002B7F00 FE 80 28 50 */ fneg f20, f5 +/* 802BAFA4 002B7F04 EC 64 18 2A */ fadds f3, f4, f3 +/* 802BAFA8 002B7F08 C3 09 00 04 */ lfs f24, 4(r9) +/* 802BAFAC 002B7F0C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BAFB0 002B7F10 C3 29 00 08 */ lfs f25, 8(r9) +/* 802BAFB4 002B7F14 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BAFB8 002B7F18 C3 41 00 50 */ lfs f26, 0x50(r1) +/* 802BAFBC 002B7F1C C3 68 00 00 */ lfs f27, 0(r8) +/* 802BAFC0 002B7F20 C3 88 00 04 */ lfs f28, 4(r8) +/* 802BAFC4 002B7F24 C3 A8 00 08 */ lfs f29, 8(r8) +/* 802BAFC8 002B7F28 C2 61 00 54 */ lfs f19, 0x54(r1) +/* 802BAFCC 002B7F2C C3 C7 00 00 */ lfs f30, 0(r7) +/* 802BAFD0 002B7F30 C3 E7 00 04 */ lfs f31, 4(r7) +/* 802BAFD4 002B7F34 C1 A7 00 08 */ lfs f13, 8(r7) +/* 802BAFD8 002B7F38 C1 86 00 00 */ lfs f12, 0(r6) +/* 802BAFDC 002B7F3C C1 66 00 04 */ lfs f11, 4(r6) +/* 802BAFE0 002B7F40 C1 46 00 08 */ lfs f10, 8(r6) +/* 802BAFE4 002B7F44 C2 41 00 58 */ lfs f18, 0x58(r1) +/* 802BAFE8 002B7F48 C1 25 00 00 */ lfs f9, 0(r5) +/* 802BAFEC 002B7F4C C1 05 00 04 */ lfs f8, 4(r5) +/* 802BAFF0 002B7F50 C0 E5 00 08 */ lfs f7, 8(r5) +/* 802BAFF4 002B7F54 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802BAFF8 002B7F58 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802BAFFC 002B7F5C C0 84 00 08 */ lfs f4, 8(r4) +/* 802BB000 002B7F60 D2 E1 00 68 */ stfs f23, 0x68(r1) +/* 802BB004 002B7F64 D3 01 00 6C */ stfs f24, 0x6c(r1) +/* 802BB008 002B7F68 D3 21 00 70 */ stfs f25, 0x70(r1) +/* 802BB00C 002B7F6C D3 41 00 74 */ stfs f26, 0x74(r1) +/* 802BB010 002B7F70 D3 61 00 78 */ stfs f27, 0x78(r1) +/* 802BB014 002B7F74 D3 81 00 7C */ stfs f28, 0x7c(r1) +/* 802BB018 002B7F78 D3 A1 00 80 */ stfs f29, 0x80(r1) +/* 802BB01C 002B7F7C D2 C1 00 84 */ stfs f22, 0x84(r1) +/* 802BB020 002B7F80 D3 C1 00 88 */ stfs f30, 0x88(r1) +/* 802BB024 002B7F84 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 802BB028 002B7F88 D1 A1 00 90 */ stfs f13, 0x90(r1) +/* 802BB02C 002B7F8C D2 61 00 94 */ stfs f19, 0x94(r1) +/* 802BB030 002B7F90 D1 81 00 98 */ stfs f12, 0x98(r1) +/* 802BB034 002B7F94 D1 61 00 9C */ stfs f11, 0x9c(r1) +/* 802BB038 002B7F98 D1 41 00 A0 */ stfs f10, 0xa0(r1) +/* 802BB03C 002B7F9C D2 A1 00 A4 */ stfs f21, 0xa4(r1) +/* 802BB040 002B7FA0 D1 21 00 A8 */ stfs f9, 0xa8(r1) +/* 802BB044 002B7FA4 D1 01 00 AC */ stfs f8, 0xac(r1) +/* 802BB048 002B7FA8 D0 E1 00 B0 */ stfs f7, 0xb0(r1) +/* 802BB04C 002B7FAC D2 41 00 B4 */ stfs f18, 0xb4(r1) +/* 802BB050 002B7FB0 D0 C1 00 B8 */ stfs f6, 0xb8(r1) +/* 802BB054 002B7FB4 D0 A1 00 BC */ stfs f5, 0xbc(r1) +/* 802BB058 002B7FB8 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 802BB05C 002B7FBC D2 81 00 C4 */ stfs f20, 0xc4(r1) +/* 802BB060 002B7FC0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802BB064 002B7FC4 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 802BB068 002B7FC8 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 802BB06C 002B7FCC D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 802BB070 002B7FD0 48 05 15 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BB074 002B7FD4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802BB078 002B7FD8 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802BB07C 002B7FDC C0 21 00 64 */ lfs f1, 0x64(r1) +/* 802BB080 002B7FE0 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802BB084 002B7FE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802BB088 002B7FE8 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802BB08C 002B7FEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BB090 002B7FF0 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802BB094 002B7FF4 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802BB098 002B7FF8 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802BB09C 002B7FFC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802BB0A0 002B8000 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BB0A4 002B8004 D0 21 00 08 */ stfs f1, 8(r1) +/* 802BB0A8 002B8008 40 80 00 0C */ bge lbl_802BB0B4 +/* 802BB0AC 002B800C 38 61 00 0C */ addi r3, r1, 0xc +/* 802BB0B0 002B8010 48 00 00 08 */ b lbl_802BB0B8 +lbl_802BB0B4: +/* 802BB0B4 002B8014 38 61 00 10 */ addi r3, r1, 0x10 +lbl_802BB0B8: +/* 802BB0B8 002B8018 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BB0BC 002B801C C0 01 00 08 */ lfs f0, 8(r1) +/* 802BB0C0 002B8020 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB0C4 002B8024 40 80 00 08 */ bge lbl_802BB0CC +/* 802BB0C8 002B8028 38 61 00 08 */ addi r3, r1, 8 +lbl_802BB0CC: +/* 802BB0CC 002B802C C0 22 C2 88 */ lfs f1, lbl_805ADFA8@sda21(r2) +/* 802BB0D0 002B8030 3B C0 00 00 */ li r30, 0 +/* 802BB0D4 002B8034 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BB0D8 002B8038 EE 41 00 32 */ fmuls f18, f1, f0 +lbl_802BB0DC: +/* 802BB0DC 002B803C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BB0E0 002B8040 38 81 00 50 */ addi r4, r1, 0x50 +/* 802BB0E4 002B8044 48 07 C5 29 */ bl GetCenterPoint__6CAABoxCFv +/* 802BB0E8 002B8048 FC 20 90 90 */ fmr f1, f18 +/* 802BB0EC 002B804C 7F C5 F3 78 */ mr r5, r30 +/* 802BB0F0 002B8050 38 61 00 68 */ addi r3, r1, 0x68 +/* 802BB0F4 002B8054 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802BB0F8 002B8058 38 80 00 07 */ li r4, 7 +/* 802BB0FC 002B805C 48 00 01 2D */ bl DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff +/* 802BB100 002B8060 3B DE 00 01 */ addi r30, r30, 1 +/* 802BB104 002B8064 2C 1E 00 07 */ cmpwi r30, 7 +/* 802BB108 002B8068 41 80 FF D4 */ blt lbl_802BB0DC +/* 802BB10C 002B806C 48 00 00 90 */ b lbl_802BB19C +lbl_802BB110: +/* 802BB110 002B8070 28 1D 00 00 */ cmplwi r29, 0 +/* 802BB114 002B8074 41 82 00 54 */ beq lbl_802BB168 +/* 802BB118 002B8078 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802BB11C 002B807C 38 80 00 00 */ li r4, 0 +/* 802BB120 002B8080 7F E3 FB 78 */ mr r3, r31 +/* 802BB124 002B8084 48 09 A5 11 */ bl Touch__6CModelCFi +/* 802BB128 002B8088 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 802BB12C 002B808C 28 1E 00 00 */ cmplwi r30, 0 +/* 802BB130 002B8090 41 82 00 6C */ beq lbl_802BB19C +/* 802BB134 002B8094 7F E3 FB 78 */ mr r3, r31 +/* 802BB138 002B8098 48 09 9F E9 */ bl UpdateLastFrame__6CModelFv +/* 802BB13C 002B809C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802BB140 002B80A0 48 09 A5 85 */ bl GetNormals__6CModelCFv +/* 802BB144 002B80A4 7C 7F 1B 78 */ mr r31, r3 +/* 802BB148 002B80A8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802BB14C 002B80AC 48 09 A5 85 */ bl GetPositions__6CModelCFv +/* 802BB150 002B80B0 7C 64 1B 78 */ mr r4, r3 +/* 802BB154 002B80B4 7F C3 F3 78 */ mr r3, r30 +/* 802BB158 002B80B8 7F E5 FB 78 */ mr r5, r31 +/* 802BB15C 002B80BC 38 C0 00 02 */ li r6, 2 +/* 802BB160 002B80C0 48 04 B8 91 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 802BB164 002B80C4 48 00 00 38 */ b lbl_802BB19C +lbl_802BB168: +/* 802BB168 002B80C8 7F E3 FB 78 */ mr r3, r31 +/* 802BB16C 002B80CC 38 80 00 00 */ li r4, 0 +/* 802BB170 002B80D0 48 09 A4 C5 */ bl Touch__6CModelCFi +/* 802BB174 002B80D4 83 DF 00 28 */ lwz r30, 0x28(r31) +/* 802BB178 002B80D8 28 1E 00 00 */ cmplwi r30, 0 +/* 802BB17C 002B80DC 41 82 00 20 */ beq lbl_802BB19C +/* 802BB180 002B80E0 7F E3 FB 78 */ mr r3, r31 +/* 802BB184 002B80E4 48 09 9F 9D */ bl UpdateLastFrame__6CModelFv +/* 802BB188 002B80E8 7F C3 F3 78 */ mr r3, r30 +/* 802BB18C 002B80EC 38 80 00 00 */ li r4, 0 +/* 802BB190 002B80F0 38 A0 00 00 */ li r5, 0 +/* 802BB194 002B80F4 38 C0 00 02 */ li r6, 2 +/* 802BB198 002B80F8 48 04 B8 59 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +lbl_802BB19C: +/* 802BB19C 002B80FC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802BB1A0 002B8100 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802BB1A4 002B8104 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802BB1A8 002B8108 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802BB1AC 002B810C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 802BB1B0 002B8110 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 802BB1B4 002B8114 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 +/* 802BB1B8 002B8118 CB 81 01 90 */ lfd f28, 0x190(r1) +/* 802BB1BC 002B811C E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 +/* 802BB1C0 002B8120 CB 61 01 80 */ lfd f27, 0x180(r1) +/* 802BB1C4 002B8124 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 +/* 802BB1C8 002B8128 CB 41 01 70 */ lfd f26, 0x170(r1) +/* 802BB1CC 002B812C E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 +/* 802BB1D0 002B8130 CB 21 01 60 */ lfd f25, 0x160(r1) +/* 802BB1D4 002B8134 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 +/* 802BB1D8 002B8138 CB 01 01 50 */ lfd f24, 0x150(r1) +/* 802BB1DC 002B813C E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0 +/* 802BB1E0 002B8140 CA E1 01 40 */ lfd f23, 0x140(r1) +/* 802BB1E4 002B8144 E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0 +/* 802BB1E8 002B8148 CA C1 01 30 */ lfd f22, 0x130(r1) +/* 802BB1EC 002B814C E2 A1 01 28 */ psq_l f21, 296(r1), 0, qr0 +/* 802BB1F0 002B8150 CA A1 01 20 */ lfd f21, 0x120(r1) +/* 802BB1F4 002B8154 E2 81 01 18 */ psq_l f20, 280(r1), 0, qr0 +/* 802BB1F8 002B8158 CA 81 01 10 */ lfd f20, 0x110(r1) +/* 802BB1FC 002B815C E2 61 01 08 */ psq_l f19, 264(r1), 0, qr0 +/* 802BB200 002B8160 CA 61 01 00 */ lfd f19, 0x100(r1) +/* 802BB204 002B8164 E2 41 00 F8 */ psq_l f18, 248(r1), 0, qr0 +/* 802BB208 002B8168 CA 41 00 F0 */ lfd f18, 0xf0(r1) +/* 802BB20C 002B816C 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802BB210 002B8170 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802BB214 002B8174 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802BB218 002B8178 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802BB21C 002B817C 7C 08 03 A6 */ mtlr r0 +/* 802BB220 002B8180 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802BB224 002B8184 4E 80 00 20 */ blr + +.global DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff +DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff: +/* 802BB228 002B8188 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 802BB22C 002B818C 7C 08 02 A6 */ mflr r0 +/* 802BB230 002B8190 90 01 02 54 */ stw r0, 0x254(r1) +/* 802BB234 002B8194 DB E1 02 40 */ stfd f31, 0x240(r1) +/* 802BB238 002B8198 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 +/* 802BB23C 002B819C DB C1 02 30 */ stfd f30, 0x230(r1) +/* 802BB240 002B81A0 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 +/* 802BB244 002B81A4 BF 21 02 14 */ stmw r25, 0x214(r1) +/* 802BB248 002B81A8 7C BD 2B 78 */ mr r29, r5 +/* 802BB24C 002B81AC 38 00 00 00 */ li r0, 0 +/* 802BB250 002B81B0 7C 7B 1B 78 */ mr r27, r3 +/* 802BB254 002B81B4 FF E0 08 90 */ fmr f31, f1 +/* 802BB258 002B81B8 54 A3 20 36 */ slwi r3, r5, 4 +/* 802BB25C 002B81BC 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB260 002B81C0 7F DB 1A 14 */ add r30, r27, r3 +/* 802BB264 002B81C4 7C 9C 23 78 */ mr r28, r4 +/* 802BB268 002B81C8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802BB26C 002B81CC C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BB270 002B81D0 3B 40 00 00 */ li r26, 0 +/* 802BB274 002B81D4 FC 20 0A 10 */ fabs f1, f1 +/* 802BB278 002B81D8 90 01 01 70 */ stw r0, 0x170(r1) +/* 802BB27C 002B81DC FC 00 02 10 */ fabs f0, f0 +/* 802BB280 002B81E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BB284 002B81E4 40 81 00 08 */ ble lbl_802BB28C +/* 802BB288 002B81E8 3B 40 00 01 */ li r26, 1 +lbl_802BB28C: +/* 802BB28C 002B81EC 57 40 10 3A */ slwi r0, r26, 2 +/* 802BB290 002B81F0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BB294 002B81F4 7C 3E 04 2E */ lfsx f1, r30, r0 +/* 802BB298 002B81F8 FC 40 02 10 */ fabs f2, f0 +/* 802BB29C 002B81FC FC 00 0A 10 */ fabs f0, f1 +/* 802BB2A0 002B8200 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BB2A4 002B8204 40 81 00 08 */ ble lbl_802BB2AC +/* 802BB2A8 002B8208 3B 40 00 02 */ li r26, 2 +lbl_802BB2AC: +/* 802BB2AC 002B820C C0 9E 00 04 */ lfs f4, 4(r30) +/* 802BB2B0 002B8210 38 61 01 58 */ addi r3, r1, 0x158 +/* 802BB2B4 002B8214 C0 E6 00 04 */ lfs f7, 4(r6) +/* 802BB2B8 002B8218 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BB2BC 002B821C C0 5E 00 00 */ lfs f2, 0(r30) +/* 802BB2C0 002B8220 EC 04 01 F2 */ fmuls f0, f4, f7 +/* 802BB2C4 002B8224 C0 C6 00 00 */ lfs f6, 0(r6) +/* 802BB2C8 002B8228 C0 BE 00 08 */ lfs f5, 8(r30) +/* 802BB2CC 002B822C C1 06 00 08 */ lfs f8, 8(r6) +/* 802BB2D0 002B8230 EC 22 01 BA */ fmadds f1, f2, f6, f0 +/* 802BB2D4 002B8234 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BB2D8 002B8238 EC 25 0A 3A */ fmadds f1, f5, f8, f1 +/* 802BB2DC 002B823C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BB2E0 002B8240 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 802BB2E4 002B8244 EC 40 01 32 */ fmuls f2, f0, f4 +/* 802BB2E8 002B8248 EC 20 01 72 */ fmuls f1, f0, f5 +/* 802BB2EC 002B824C EC 06 18 28 */ fsubs f0, f6, f3 +/* 802BB2F0 002B8250 D0 61 00 08 */ stfs f3, 8(r1) +/* 802BB2F4 002B8254 EC 87 10 28 */ fsubs f4, f7, f2 +/* 802BB2F8 002B8258 EC 68 08 28 */ fsubs f3, f8, f1 +/* 802BB2FC 002B825C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 802BB300 002B8260 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BB304 002B8264 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802BB308 002B8268 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802BB30C 002B826C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802BB310 002B8270 48 05 92 75 */ bl __ct__9CVector3dFRC9CVector3f +/* 802BB314 002B8274 57 40 10 3A */ slwi r0, r26, 2 +/* 802BB318 002B8278 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BB31C 002B827C C0 22 C2 A8 */ lfs f1, lbl_805ADFC8@sda21(r2) +/* 802BB320 002B8280 2C 1A 00 01 */ cmpwi r26, 1 +/* 802BB324 002B8284 7C 1E 04 2E */ lfsx f0, r30, r0 +/* 802BB328 002B8288 FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 802BB32C 002B828C FF C0 00 90 */ fmr f30, f0 +/* 802BB330 002B8290 40 82 00 08 */ bne lbl_802BB338 +/* 802BB334 002B8294 FF C0 00 50 */ fneg f30, f0 +lbl_802BB338: +/* 802BB338 002B8298 C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) +/* 802BB33C 002B829C 38 61 01 40 */ addi r3, r1, 0x140 +/* 802BB340 002B82A0 FC 40 08 90 */ fmr f2, f1 +/* 802BB344 002B82A4 FC 60 08 90 */ fmr f3, f1 +/* 802BB348 002B82A8 48 05 92 59 */ bl __ct__9CVector3dFddd +/* 802BB34C 002B82AC C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) +/* 802BB350 002B82B0 38 61 01 28 */ addi r3, r1, 0x128 +/* 802BB354 002B82B4 FC 40 08 90 */ fmr f2, f1 +/* 802BB358 002B82B8 FC 60 08 90 */ fmr f3, f1 +/* 802BB35C 002B82BC 48 05 92 45 */ bl __ct__9CVector3dFddd +/* 802BB360 002B82C0 3C 60 80 3D */ lis r3, lbl_803D65FC@ha +/* 802BB364 002B82C4 57 40 18 38 */ slwi r0, r26, 3 +/* 802BB368 002B82C8 38 83 65 FC */ addi r4, r3, lbl_803D65FC@l +/* 802BB36C 002B82CC EC 1F 07 B2 */ fmuls f0, f31, f30 +/* 802BB370 002B82D0 7C 64 02 14 */ add r3, r4, r0 +/* 802BB374 002B82D4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802BB378 002B82D8 80 03 00 04 */ lwz r0, 4(r3) +/* 802BB37C 002B82DC 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB380 002B82E0 54 83 18 38 */ slwi r3, r4, 3 +/* 802BB384 002B82E4 38 C1 01 28 */ addi r6, r1, 0x128 +/* 802BB388 002B82E8 54 00 18 38 */ slwi r0, r0, 3 +/* 802BB38C 002B82EC 7F E5 1D AE */ stfdx f31, r5, r3 +/* 802BB390 002B82F0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802BB394 002B82F4 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB398 002B82F8 7C 06 05 AE */ stfdx f0, r6, r0 +/* 802BB39C 002B82FC 48 05 8F F9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB3A0 002B8300 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802BB3A4 002B8304 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802BB3A8 002B8308 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB3AC 002B830C 48 05 8F E9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB3B0 002B8310 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB3B4 002B8314 3B E1 01 A8 */ addi r31, r1, 0x1a8 +/* 802BB3B8 002B8318 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB3BC 002B831C 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB3C0 002B8320 41 82 00 1C */ beq lbl_802BB3DC +/* 802BB3C4 002B8324 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BB3C8 002B8328 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802BB3CC 002B832C D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB3D0 002B8330 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BB3D4 002B8334 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB3D8 002B8338 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB3DC: +/* 802BB3DC 002B833C 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB3E0 002B8340 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802BB3E4 002B8344 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB3E8 002B8348 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB3EC 002B834C 38 06 00 01 */ addi r0, r6, 1 +/* 802BB3F0 002B8350 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB3F4 002B8354 48 05 8F E5 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB3F8 002B8358 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802BB3FC 002B835C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802BB400 002B8360 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB404 002B8364 48 05 8F 91 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB408 002B8368 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB40C 002B836C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB410 002B8370 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB414 002B8374 41 82 00 1C */ beq lbl_802BB430 +/* 802BB418 002B8378 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 802BB41C 002B837C C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802BB420 002B8380 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB424 002B8384 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802BB428 002B8388 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB42C 002B838C D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB430: +/* 802BB430 002B8390 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB434 002B8394 38 61 00 80 */ addi r3, r1, 0x80 +/* 802BB438 002B8398 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB43C 002B839C 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB440 002B83A0 38 06 00 01 */ addi r0, r6, 1 +/* 802BB444 002B83A4 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB448 002B83A8 48 05 8F 91 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB44C 002B83AC 38 61 00 98 */ addi r3, r1, 0x98 +/* 802BB450 002B83B0 38 81 00 80 */ addi r4, r1, 0x80 +/* 802BB454 002B83B4 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB458 002B83B8 48 05 8F 81 */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB45C 002B83BC 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB460 002B83C0 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB464 002B83C4 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB468 002B83C8 41 82 00 1C */ beq lbl_802BB484 +/* 802BB46C 002B83CC C8 01 00 98 */ lfd f0, 0x98(r1) +/* 802BB470 002B83D0 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802BB474 002B83D4 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB478 002B83D8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802BB47C 002B83DC D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB480 002B83E0 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB484: +/* 802BB484 002B83E4 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB488 002B83E8 38 61 00 50 */ addi r3, r1, 0x50 +/* 802BB48C 002B83EC 38 81 01 58 */ addi r4, r1, 0x158 +/* 802BB490 002B83F0 38 A1 01 40 */ addi r5, r1, 0x140 +/* 802BB494 002B83F4 38 06 00 01 */ addi r0, r6, 1 +/* 802BB498 002B83F8 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB49C 002B83FC 48 05 8E F9 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB4A0 002B8400 38 61 00 68 */ addi r3, r1, 0x68 +/* 802BB4A4 002B8404 38 81 00 50 */ addi r4, r1, 0x50 +/* 802BB4A8 002B8408 38 A1 01 28 */ addi r5, r1, 0x128 +/* 802BB4AC 002B840C 48 05 8F 2D */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802BB4B0 002B8410 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 802BB4B4 002B8414 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802BB4B8 002B8418 7C 7F 02 15 */ add. r3, r31, r0 +/* 802BB4BC 002B841C 41 82 00 1C */ beq lbl_802BB4D8 +/* 802BB4C0 002B8420 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802BB4C4 002B8424 C8 21 00 70 */ lfd f1, 0x70(r1) +/* 802BB4C8 002B8428 D8 03 00 00 */ stfd f0, 0(r3) +/* 802BB4CC 002B842C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 802BB4D0 002B8430 D8 23 00 08 */ stfd f1, 8(r3) +/* 802BB4D4 002B8434 D8 03 00 10 */ stfd f0, 0x10(r3) +lbl_802BB4D8: +/* 802BB4D8 002B8438 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802BB4DC 002B843C 3B 41 01 74 */ addi r26, r1, 0x174 +/* 802BB4E0 002B8440 3B 20 00 00 */ li r25, 0 +/* 802BB4E4 002B8444 38 03 00 01 */ addi r0, r3, 1 +/* 802BB4E8 002B8448 90 01 01 A4 */ stw r0, 0x1a4(r1) +lbl_802BB4EC: +/* 802BB4EC 002B844C 7F C4 F3 78 */ mr r4, r30 +/* 802BB4F0 002B8450 38 61 01 10 */ addi r3, r1, 0x110 +/* 802BB4F4 002B8454 48 05 90 91 */ bl __ct__9CVector3dFRC9CVector3f +/* 802BB4F8 002B8458 C8 3F 00 08 */ lfd f1, 8(r31) +/* 802BB4FC 002B845C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BB500 002B8460 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BB504 002B8464 38 81 01 10 */ addi r4, r1, 0x110 +/* 802BB508 002B8468 C8 7F 00 00 */ lfd f3, 0(r31) +/* 802BB50C 002B846C FC 21 00 32 */ fmul f1, f1, f0 +/* 802BB510 002B8470 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 802BB514 002B8474 C8 BF 00 10 */ lfd f5, 0x10(r31) +/* 802BB518 002B8478 C8 81 01 20 */ lfd f4, 0x120(r1) +/* 802BB51C 002B847C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BB520 002B8480 FC 23 08 BA */ fmadd f1, f3, f2, f1 +/* 802BB524 002B8484 FC 25 09 3A */ fmadd f1, f5, f4, f1 +/* 802BB528 002B8488 FC 21 00 28 */ fsub f1, f1, f0 +/* 802BB52C 002B848C 48 05 8E 2D */ bl __ml__FdRC9CVector3d +/* 802BB530 002B8490 7F E4 FB 78 */ mr r4, r31 +/* 802BB534 002B8494 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BB538 002B8498 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802BB53C 002B849C 48 05 8E 59 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802BB540 002B84A0 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802BB544 002B84A4 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 802BB548 002B84A8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB54C 002B84AC C8 21 00 40 */ lfd f1, 0x40(r1) +/* 802BB550 002B84B0 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802BB554 002B84B4 FC 40 10 18 */ frsp f2, f2 +/* 802BB558 002B84B8 FC 20 08 18 */ frsp f1, f1 +/* 802BB55C 002B84BC FC 00 00 18 */ frsp f0, f0 +/* 802BB560 002B84C0 7C 7A 02 15 */ add. r3, r26, r0 +/* 802BB564 002B84C4 41 82 00 10 */ beq lbl_802BB574 +/* 802BB568 002B84C8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BB56C 002B84CC D0 23 00 04 */ stfs f1, 4(r3) +/* 802BB570 002B84D0 D0 43 00 08 */ stfs f2, 8(r3) +lbl_802BB574: +/* 802BB574 002B84D4 80 61 01 70 */ lwz r3, 0x170(r1) +/* 802BB578 002B84D8 3B 39 00 01 */ addi r25, r25, 1 +/* 802BB57C 002B84DC 2C 19 00 04 */ cmpwi r25, 4 +/* 802BB580 002B84E0 3B FF 00 18 */ addi r31, r31, 0x18 +/* 802BB584 002B84E4 38 03 00 01 */ addi r0, r3, 1 +/* 802BB588 002B84E8 90 01 01 70 */ stw r0, 0x170(r1) +/* 802BB58C 002B84EC 41 80 FF 60 */ blt lbl_802BB4EC +/* 802BB590 002B84F0 80 C1 01 A4 */ lwz r6, 0x1a4(r1) +/* 802BB594 002B84F4 7F 63 DB 78 */ mr r3, r27 +/* 802BB598 002B84F8 7F 84 E3 78 */ mr r4, r28 +/* 802BB59C 002B84FC 7F 45 D3 78 */ mr r5, r26 +/* 802BB5A0 002B8500 7F A7 EB 78 */ mr r7, r29 +/* 802BB5A4 002B8504 39 00 00 00 */ li r8, 0 +/* 802BB5A8 002B8508 48 00 00 CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +/* 802BB5AC 002B850C 80 A1 01 70 */ lwz r5, 0x170(r1) +/* 802BB5B0 002B8510 38 60 00 00 */ li r3, 0 +/* 802BB5B4 002B8514 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB5B8 002B8518 40 81 00 40 */ ble lbl_802BB5F8 +/* 802BB5BC 002B851C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB5C0 002B8520 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB5C4 002B8524 40 81 00 20 */ ble lbl_802BB5E4 +/* 802BB5C8 002B8528 38 04 00 07 */ addi r0, r4, 7 +/* 802BB5CC 002B852C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB5D0 002B8530 7C 09 03 A6 */ mtctr r0 +/* 802BB5D4 002B8534 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB5D8 002B8538 40 81 00 0C */ ble lbl_802BB5E4 +lbl_802BB5DC: +/* 802BB5DC 002B853C 38 63 00 08 */ addi r3, r3, 8 +/* 802BB5E0 002B8540 42 00 FF FC */ bdnz lbl_802BB5DC +lbl_802BB5E4: +/* 802BB5E4 002B8544 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB5E8 002B8548 7C 09 03 A6 */ mtctr r0 +/* 802BB5EC 002B854C 7C 03 28 00 */ cmpw r3, r5 +/* 802BB5F0 002B8550 40 80 00 08 */ bge lbl_802BB5F8 +lbl_802BB5F4: +/* 802BB5F4 002B8554 42 00 00 00 */ bdnz lbl_802BB5F4 +lbl_802BB5F8: +/* 802BB5F8 002B8558 80 A1 01 A4 */ lwz r5, 0x1a4(r1) +/* 802BB5FC 002B855C 38 60 00 00 */ li r3, 0 +/* 802BB600 002B8560 90 61 01 70 */ stw r3, 0x170(r1) +/* 802BB604 002B8564 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB608 002B8568 40 81 00 40 */ ble lbl_802BB648 +/* 802BB60C 002B856C 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB610 002B8570 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB614 002B8574 40 81 00 20 */ ble lbl_802BB634 +/* 802BB618 002B8578 38 04 00 07 */ addi r0, r4, 7 +/* 802BB61C 002B857C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB620 002B8580 7C 09 03 A6 */ mtctr r0 +/* 802BB624 002B8584 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB628 002B8588 40 81 00 0C */ ble lbl_802BB634 +lbl_802BB62C: +/* 802BB62C 002B858C 38 63 00 08 */ addi r3, r3, 8 +/* 802BB630 002B8590 42 00 FF FC */ bdnz lbl_802BB62C +lbl_802BB634: +/* 802BB634 002B8594 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB638 002B8598 7C 09 03 A6 */ mtctr r0 +/* 802BB63C 002B859C 7C 03 28 00 */ cmpw r3, r5 +/* 802BB640 002B85A0 40 80 00 08 */ bge lbl_802BB648 +lbl_802BB644: +/* 802BB644 002B85A4 42 00 00 00 */ bdnz lbl_802BB644 +lbl_802BB648: +/* 802BB648 002B85A8 38 00 00 00 */ li r0, 0 +/* 802BB64C 002B85AC 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 802BB650 002B85B0 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 +/* 802BB654 002B85B4 CB E1 02 40 */ lfd f31, 0x240(r1) +/* 802BB658 002B85B8 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 +/* 802BB65C 002B85BC CB C1 02 30 */ lfd f30, 0x230(r1) +/* 802BB660 002B85C0 BB 21 02 14 */ lmw r25, 0x214(r1) +/* 802BB664 002B85C4 80 01 02 54 */ lwz r0, 0x254(r1) +/* 802BB668 002B85C8 7C 08 03 A6 */ mtlr r0 +/* 802BB66C 002B85CC 38 21 02 50 */ addi r1, r1, 0x250 +/* 802BB670 002B85D0 4E 80 00 20 */ blr + +.global DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii: +/* 802BB674 002B85D4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802BB678 002B85D8 7C 08 02 A6 */ mflr r0 +/* 802BB67C 002B85DC 90 01 01 54 */ stw r0, 0x154(r1) +/* 802BB680 002B85E0 BE 41 01 18 */ stmw r18, 0x118(r1) +/* 802BB684 002B85E4 7C F7 3B 78 */ mr r23, r7 +/* 802BB688 002B85E8 7D 18 43 78 */ mr r24, r8 +/* 802BB68C 002B85EC 7C 73 1B 78 */ mr r19, r3 +/* 802BB690 002B85F0 7C 18 B8 00 */ cmpw r24, r23 +/* 802BB694 002B85F4 7C 94 23 78 */ mr r20, r4 +/* 802BB698 002B85F8 7C B5 2B 78 */ mr r21, r5 +/* 802BB69C 002B85FC 7C D6 33 78 */ mr r22, r6 +/* 802BB6A0 002B8600 40 82 00 10 */ bne lbl_802BB6B0 +/* 802BB6A4 002B8604 39 18 00 01 */ addi r8, r24, 1 +/* 802BB6A8 002B8608 4B FF FF CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +/* 802BB6AC 002B860C 48 00 02 98 */ b lbl_802BB944 +lbl_802BB6B0: +/* 802BB6B0 002B8610 7C 18 A0 00 */ cmpw r24, r20 +/* 802BB6B4 002B8614 40 82 00 14 */ bne lbl_802BB6C8 +/* 802BB6B8 002B8618 7E A3 AB 78 */ mr r3, r21 +/* 802BB6BC 002B861C 7E C4 B3 78 */ mr r4, r22 +/* 802BB6C0 002B8620 48 00 02 99 */ bl DrawFogFan__13CCubeRendererFPC9CVector3fi +/* 802BB6C4 002B8624 48 00 02 80 */ b lbl_802BB944 +lbl_802BB6C8: +/* 802BB6C8 002B8628 38 60 00 00 */ li r3, 0 +/* 802BB6CC 002B862C 57 00 20 36 */ slwi r0, r24, 4 +/* 802BB6D0 002B8630 90 61 00 20 */ stw r3, 0x20(r1) +/* 802BB6D4 002B8634 7F 53 02 14 */ add r26, r19, r0 +/* 802BB6D8 002B8638 3B 81 00 0C */ addi r28, r1, 0xc +/* 802BB6DC 002B863C 90 61 00 08 */ stw r3, 8(r1) +/* 802BB6E0 002B8640 7E C9 03 A6 */ mtctr r22 +/* 802BB6E4 002B8644 2C 16 00 00 */ cmpwi r22, 0 +/* 802BB6E8 002B8648 40 81 00 68 */ ble lbl_802BB750 +lbl_802BB6EC: +/* 802BB6EC 002B864C C0 3A 00 04 */ lfs f1, 4(r26) +/* 802BB6F0 002B8650 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BB6F4 002B8654 C0 5A 00 00 */ lfs f2, 0(r26) +/* 802BB6F8 002B8658 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BB6FC 002B865C C0 25 00 00 */ lfs f1, 0(r5) +/* 802BB700 002B8660 C0 9A 00 08 */ lfs f4, 8(r26) +/* 802BB704 002B8664 C0 65 00 08 */ lfs f3, 8(r5) +/* 802BB708 002B8668 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BB70C 002B866C C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 802BB710 002B8670 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802BB714 002B8674 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB718 002B8678 4C 41 13 82 */ cror 2, 1, 2 +/* 802BB71C 002B867C 7C 60 00 26 */ mfcr r3 +/* 802BB720 002B8680 80 01 00 08 */ lwz r0, 8(r1) +/* 802BB724 002B8684 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 802BB728 002B8688 7C 63 00 34 */ cntlzw r3, r3 +/* 802BB72C 002B868C 7C 9C 02 15 */ add. r4, r28, r0 +/* 802BB730 002B8690 54 60 D9 7E */ srwi r0, r3, 5 +/* 802BB734 002B8694 41 82 00 08 */ beq lbl_802BB73C +/* 802BB738 002B8698 98 04 00 00 */ stb r0, 0(r4) +lbl_802BB73C: +/* 802BB73C 002B869C 80 61 00 08 */ lwz r3, 8(r1) +/* 802BB740 002B86A0 38 A5 00 0C */ addi r5, r5, 0xc +/* 802BB744 002B86A4 38 03 00 01 */ addi r0, r3, 1 +/* 802BB748 002B86A8 90 01 00 08 */ stw r0, 8(r1) +/* 802BB74C 002B86AC 42 00 FF A0 */ bdnz lbl_802BB6EC +lbl_802BB750: +/* 802BB750 002B86B0 7F 9E E3 78 */ mr r30, r28 +/* 802BB754 002B86B4 7E BD AB 78 */ mr r29, r21 +/* 802BB758 002B86B8 3B 61 00 24 */ addi r27, r1, 0x24 +/* 802BB75C 002B86BC 3B F6 FF FF */ addi r31, r22, -1 +/* 802BB760 002B86C0 3B 20 00 00 */ li r25, 0 +/* 802BB764 002B86C4 48 00 01 10 */ b lbl_802BB874 +lbl_802BB768: +/* 802BB768 002B86C8 7C 7F C8 50 */ subf r3, r31, r25 +/* 802BB76C 002B86CC 7C 19 F8 50 */ subf r0, r25, r31 +/* 802BB770 002B86D0 7C 63 03 78 */ or r3, r3, r0 +/* 802BB774 002B86D4 7C 64 FE 70 */ srawi r4, r3, 0x1f +/* 802BB778 002B86D8 38 19 00 01 */ addi r0, r25, 1 +/* 802BB77C 002B86DC 7C 04 20 38 */ and r4, r0, r4 +/* 802BB780 002B86E0 88 7E 00 00 */ lbz r3, 0(r30) +/* 802BB784 002B86E4 7C 1C 20 AE */ lbzx r0, r28, r4 +/* 802BB788 002B86E8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BB78C 002B86EC 7C 65 03 78 */ or r5, r3, r0 +/* 802BB790 002B86F0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 802BB794 002B86F4 40 82 00 38 */ bne lbl_802BB7CC +/* 802BB798 002B86F8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BB79C 002B86FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB7A0 002B8700 7C 7B 02 15 */ add. r3, r27, r0 +/* 802BB7A4 002B8704 41 82 00 1C */ beq lbl_802BB7C0 +/* 802BB7A8 002B8708 C0 1D 00 00 */ lfs f0, 0(r29) +/* 802BB7AC 002B870C C0 3D 00 04 */ lfs f1, 4(r29) +/* 802BB7B0 002B8710 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BB7B4 002B8714 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802BB7B8 002B8718 D0 23 00 04 */ stfs f1, 4(r3) +/* 802BB7BC 002B871C D0 03 00 08 */ stfs f0, 8(r3) +lbl_802BB7C0: +/* 802BB7C0 002B8720 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802BB7C4 002B8724 38 03 00 01 */ addi r0, r3, 1 +/* 802BB7C8 002B8728 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB7CC: +/* 802BB7CC 002B872C 2C 05 00 01 */ cmpwi r5, 1 +/* 802BB7D0 002B8730 41 82 00 0C */ beq lbl_802BB7DC +/* 802BB7D4 002B8734 2C 05 00 02 */ cmpwi r5, 2 +/* 802BB7D8 002B8738 40 82 00 90 */ bne lbl_802BB868 +lbl_802BB7DC: +/* 802BB7DC 002B873C 1C 04 00 0C */ mulli r0, r4, 0xc +/* 802BB7E0 002B8740 7F 43 D3 78 */ mr r3, r26 +/* 802BB7E4 002B8744 7F A4 EB 78 */ mr r4, r29 +/* 802BB7E8 002B8748 7E 55 02 14 */ add r18, r21, r0 +/* 802BB7EC 002B874C 7E 45 93 78 */ mr r5, r18 +/* 802BB7F0 002B8750 48 07 B8 1D */ bl ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f +/* 802BB7F4 002B8754 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BB7F8 002B8758 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB7FC 002B875C 40 81 00 6C */ ble lbl_802BB868 +/* 802BB800 002B8760 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BB804 002B8764 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BB808 002B8768 40 80 00 60 */ bge lbl_802BB868 +/* 802BB80C 002B876C C0 72 00 00 */ lfs f3, 0(r18) +/* 802BB810 002B8770 EC C0 08 28 */ fsubs f6, f0, f1 +/* 802BB814 002B8774 C0 52 00 04 */ lfs f2, 4(r18) +/* 802BB818 002B8778 C0 12 00 08 */ lfs f0, 8(r18) +/* 802BB81C 002B877C EC 83 00 72 */ fmuls f4, f3, f1 +/* 802BB820 002B8780 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BB824 002B8784 EC 42 00 72 */ fmuls f2, f2, f1 +/* 802BB828 002B8788 C0 BD 00 00 */ lfs f5, 0(r29) +/* 802BB82C 002B878C EC 00 00 72 */ fmuls f0, f0, f1 +/* 802BB830 002B8790 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BB834 002B8794 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802BB838 002B8798 EC 85 21 BA */ fmadds f4, f5, f6, f4 +/* 802BB83C 002B879C C0 3D 00 08 */ lfs f1, 8(r29) +/* 802BB840 002B87A0 EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 802BB844 002B87A4 7C 7B 02 15 */ add. r3, r27, r0 +/* 802BB848 002B87A8 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 802BB84C 002B87AC 41 82 00 10 */ beq lbl_802BB85C +/* 802BB850 002B87B0 D0 83 00 00 */ stfs f4, 0(r3) +/* 802BB854 002B87B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 802BB858 002B87B8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802BB85C: +/* 802BB85C 002B87BC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 802BB860 002B87C0 38 03 00 01 */ addi r0, r3, 1 +/* 802BB864 002B87C4 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB868: +/* 802BB868 002B87C8 3B DE 00 01 */ addi r30, r30, 1 +/* 802BB86C 002B87CC 3B BD 00 0C */ addi r29, r29, 0xc +/* 802BB870 002B87D0 3B 39 00 01 */ addi r25, r25, 1 +lbl_802BB874: +/* 802BB874 002B87D4 7C 19 B0 00 */ cmpw r25, r22 +/* 802BB878 002B87D8 41 80 FE F0 */ blt lbl_802BB768 +/* 802BB87C 002B87DC 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 802BB880 002B87E0 2C 06 00 03 */ cmpwi r6, 3 +/* 802BB884 002B87E4 41 80 00 1C */ blt lbl_802BB8A0 +/* 802BB888 002B87E8 7E 63 9B 78 */ mr r3, r19 +/* 802BB88C 002B87EC 7E 84 A3 78 */ mr r4, r20 +/* 802BB890 002B87F0 7F 65 DB 78 */ mr r5, r27 +/* 802BB894 002B87F4 7E E7 BB 78 */ mr r7, r23 +/* 802BB898 002B87F8 39 18 00 01 */ addi r8, r24, 1 +/* 802BB89C 002B87FC 4B FF FD D9 */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii +lbl_802BB8A0: +/* 802BB8A0 002B8800 80 A1 00 08 */ lwz r5, 8(r1) +/* 802BB8A4 002B8804 38 60 00 00 */ li r3, 0 +/* 802BB8A8 002B8808 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB8AC 002B880C 40 81 00 40 */ ble lbl_802BB8EC +/* 802BB8B0 002B8810 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB8B4 002B8814 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB8B8 002B8818 40 81 00 20 */ ble lbl_802BB8D8 +/* 802BB8BC 002B881C 38 04 00 07 */ addi r0, r4, 7 +/* 802BB8C0 002B8820 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB8C4 002B8824 7C 09 03 A6 */ mtctr r0 +/* 802BB8C8 002B8828 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB8CC 002B882C 40 81 00 0C */ ble lbl_802BB8D8 +lbl_802BB8D0: +/* 802BB8D0 002B8830 38 63 00 08 */ addi r3, r3, 8 +/* 802BB8D4 002B8834 42 00 FF FC */ bdnz lbl_802BB8D0 +lbl_802BB8D8: +/* 802BB8D8 002B8838 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB8DC 002B883C 7C 09 03 A6 */ mtctr r0 +/* 802BB8E0 002B8840 7C 03 28 00 */ cmpw r3, r5 +/* 802BB8E4 002B8844 40 80 00 08 */ bge lbl_802BB8EC +lbl_802BB8E8: +/* 802BB8E8 002B8848 42 00 00 00 */ bdnz lbl_802BB8E8 +lbl_802BB8EC: +/* 802BB8EC 002B884C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802BB8F0 002B8850 38 60 00 00 */ li r3, 0 +/* 802BB8F4 002B8854 90 61 00 08 */ stw r3, 8(r1) +/* 802BB8F8 002B8858 2C 05 00 00 */ cmpwi r5, 0 +/* 802BB8FC 002B885C 40 81 00 40 */ ble lbl_802BB93C +/* 802BB900 002B8860 2C 05 00 08 */ cmpwi r5, 8 +/* 802BB904 002B8864 38 85 FF F8 */ addi r4, r5, -8 +/* 802BB908 002B8868 40 81 00 20 */ ble lbl_802BB928 +/* 802BB90C 002B886C 38 04 00 07 */ addi r0, r4, 7 +/* 802BB910 002B8870 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB914 002B8874 7C 09 03 A6 */ mtctr r0 +/* 802BB918 002B8878 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB91C 002B887C 40 81 00 0C */ ble lbl_802BB928 +lbl_802BB920: +/* 802BB920 002B8880 38 63 00 08 */ addi r3, r3, 8 +/* 802BB924 002B8884 42 00 FF FC */ bdnz lbl_802BB920 +lbl_802BB928: +/* 802BB928 002B8888 7C 03 28 50 */ subf r0, r3, r5 +/* 802BB92C 002B888C 7C 09 03 A6 */ mtctr r0 +/* 802BB930 002B8890 7C 03 28 00 */ cmpw r3, r5 +/* 802BB934 002B8894 40 80 00 08 */ bge lbl_802BB93C +lbl_802BB938: +/* 802BB938 002B8898 42 00 00 00 */ bdnz lbl_802BB938 +lbl_802BB93C: +/* 802BB93C 002B889C 38 00 00 00 */ li r0, 0 +/* 802BB940 002B88A0 90 01 00 20 */ stw r0, 0x20(r1) +lbl_802BB944: +/* 802BB944 002B88A4 BA 41 01 18 */ lmw r18, 0x118(r1) +/* 802BB948 002B88A8 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802BB94C 002B88AC 7C 08 03 A6 */ mtlr r0 +/* 802BB950 002B88B0 38 21 01 50 */ addi r1, r1, 0x150 +/* 802BB954 002B88B4 4E 80 00 20 */ blr + +.global DrawFogFan__13CCubeRendererFPC9CVector3fi +DrawFogFan__13CCubeRendererFPC9CVector3fi: +/* 802BB958 002B88B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BB95C 002B88BC 7C 08 02 A6 */ mflr r0 +/* 802BB960 002B88C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BB964 002B88C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BB968 002B88C8 7C 9F 23 78 */ mr r31, r4 +/* 802BB96C 002B88CC 2C 1F 00 03 */ cmpwi r31, 3 +/* 802BB970 002B88D0 93 C1 00 08 */ stw r30, 8(r1) +/* 802BB974 002B88D4 7C 7E 1B 78 */ mr r30, r3 +/* 802BB978 002B88D8 41 80 01 54 */ blt lbl_802BBACC +/* 802BB97C 002B88DC 57 E5 04 3E */ clrlwi r5, r31, 0x10 +/* 802BB980 002B88E0 38 60 00 A0 */ li r3, 0xa0 +/* 802BB984 002B88E4 38 80 00 00 */ li r4, 0 +/* 802BB988 002B88E8 48 04 CB FD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BB98C 002B88EC 2C 1F 00 00 */ cmpwi r31, 0 +/* 802BB990 002B88F0 38 C0 00 00 */ li r6, 0 +/* 802BB994 002B88F4 40 81 01 34 */ ble lbl_802BBAC8 +/* 802BB998 002B88F8 2C 1F 00 08 */ cmpwi r31, 8 +/* 802BB99C 002B88FC 38 9F FF F8 */ addi r4, r31, -8 +/* 802BB9A0 002B8900 40 81 00 EC */ ble lbl_802BBA8C +/* 802BB9A4 002B8904 38 04 00 07 */ addi r0, r4, 7 +/* 802BB9A8 002B8908 7F C5 F3 78 */ mr r5, r30 +/* 802BB9AC 002B890C 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BB9B0 002B8910 3C 60 CC 01 */ lis r3, 0xcc01 +/* 802BB9B4 002B8914 7C 09 03 A6 */ mtctr r0 +/* 802BB9B8 002B8918 2C 04 00 00 */ cmpwi r4, 0 +/* 802BB9BC 002B891C 40 81 00 D0 */ ble lbl_802BBA8C +lbl_802BB9C0: +/* 802BB9C0 002B8920 C0 05 00 08 */ lfs f0, 8(r5) +/* 802BB9C4 002B8924 38 C6 00 08 */ addi r6, r6, 8 +/* 802BB9C8 002B8928 C0 25 00 04 */ lfs f1, 4(r5) +/* 802BB9CC 002B892C C0 45 00 00 */ lfs f2, 0(r5) +/* 802BB9D0 002B8930 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BB9D4 002B8934 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BB9D8 002B8938 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BB9DC 002B893C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802BB9E0 002B8940 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802BB9E4 002B8944 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802BB9E8 002B8948 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BB9EC 002B894C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BB9F0 002B8950 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BB9F4 002B8954 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802BB9F8 002B8958 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 802BB9FC 002B895C C0 45 00 18 */ lfs f2, 0x18(r5) +/* 802BBA00 002B8960 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA04 002B8964 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA08 002B8968 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA0C 002B896C C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 802BBA10 002B8970 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 802BBA14 002B8974 C0 45 00 24 */ lfs f2, 0x24(r5) +/* 802BBA18 002B8978 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA1C 002B897C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA20 002B8980 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA24 002B8984 C0 05 00 38 */ lfs f0, 0x38(r5) +/* 802BBA28 002B8988 C0 25 00 34 */ lfs f1, 0x34(r5) +/* 802BBA2C 002B898C C0 45 00 30 */ lfs f2, 0x30(r5) +/* 802BBA30 002B8990 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA34 002B8994 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA38 002B8998 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA3C 002B899C C0 05 00 44 */ lfs f0, 0x44(r5) +/* 802BBA40 002B89A0 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 802BBA44 002B89A4 C0 45 00 3C */ lfs f2, 0x3c(r5) +/* 802BBA48 002B89A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA4C 002B89AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA50 002B89B0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA54 002B89B4 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 802BBA58 002B89B8 C0 25 00 4C */ lfs f1, 0x4c(r5) +/* 802BBA5C 002B89BC C0 45 00 48 */ lfs f2, 0x48(r5) +/* 802BBA60 002B89C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA64 002B89C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA68 002B89C8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA6C 002B89CC C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 802BBA70 002B89D0 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 802BBA74 002B89D4 C0 05 00 54 */ lfs f0, 0x54(r5) +/* 802BBA78 002B89D8 38 A5 00 60 */ addi r5, r5, 0x60 +/* 802BBA7C 002B89DC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBA80 002B89E0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBA84 002B89E4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBA88 002B89E8 42 00 FF 38 */ bdnz lbl_802BB9C0 +lbl_802BBA8C: +/* 802BBA8C 002B89EC 1C 86 00 0C */ mulli r4, r6, 0xc +/* 802BBA90 002B89F0 7C 06 F8 50 */ subf r0, r6, r31 +/* 802BBA94 002B89F4 3C 60 CC 01 */ lis r3, 0xcc01 +/* 802BBA98 002B89F8 7C 9E 22 14 */ add r4, r30, r4 +/* 802BBA9C 002B89FC 7C 09 03 A6 */ mtctr r0 +/* 802BBAA0 002B8A00 7C 06 F8 00 */ cmpw r6, r31 +/* 802BBAA4 002B8A04 40 80 00 24 */ bge lbl_802BBAC8 +lbl_802BBAA8: +/* 802BBAA8 002B8A08 C0 24 00 08 */ lfs f1, 8(r4) +/* 802BBAAC 002B8A0C C0 44 00 04 */ lfs f2, 4(r4) +/* 802BBAB0 002B8A10 C0 04 00 00 */ lfs f0, 0(r4) +/* 802BBAB4 002B8A14 38 84 00 0C */ addi r4, r4, 0xc +/* 802BBAB8 002B8A18 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BBABC 002B8A1C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BBAC0 002B8A20 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BBAC4 002B8A24 42 00 FF E4 */ bdnz lbl_802BBAA8 +lbl_802BBAC8: +/* 802BBAC8 002B8A28 48 04 CA B9 */ bl End__3CGXFv +lbl_802BBACC: +/* 802BBACC 002B8A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBAD0 002B8A30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BBAD4 002B8A34 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BBAD8 002B8A38 7C 08 03 A6 */ mtlr r0 +/* 802BBADC 002B8A3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBAE0 002B8A40 4E 80 00 20 */ blr + +.global GetStaticWorldDataSize__13CCubeRendererFv +GetStaticWorldDataSize__13CCubeRendererFv: +/* 802BBAE4 002B8A44 80 83 00 20 */ lwz r4, 0x20(r3) +/* 802BBAE8 002B8A48 38 A0 00 00 */ li r5, 0 +/* 802BBAEC 002B8A4C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802BBAF0 002B8A50 48 00 00 20 */ b lbl_802BBB10 +lbl_802BBAF4: +/* 802BBAF4 002B8A54 80 C4 00 14 */ lwz r6, 0x14(r4) +/* 802BBAF8 002B8A58 28 06 00 00 */ cmplwi r6, 0 +/* 802BBAFC 002B8A5C 41 82 00 10 */ beq lbl_802BBB0C +/* 802BBB00 002B8A60 80 06 00 04 */ lwz r0, 4(r6) +/* 802BBB04 002B8A64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BBB08 002B8A68 7C A5 02 14 */ add r5, r5, r0 +lbl_802BBB0C: +/* 802BBB0C 002B8A6C 80 84 00 04 */ lwz r4, 4(r4) +lbl_802BBB10: +/* 802BBB10 002B8A70 7C 04 18 40 */ cmplw r4, r3 +/* 802BBB14 002B8A74 40 82 FF E0 */ bne lbl_802BBAF4 +/* 802BBB18 002B8A78 7C A3 2B 78 */ mr r3, r5 +/* 802BBB1C 002B8A7C 4E 80 00 20 */ blr + +.global SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor +SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor: +/* 802BBB20 002B8A80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BBB24 002B8A84 7C 08 02 A6 */ mflr r0 +/* 802BBB28 002B8A88 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BBB2C 002B8A8C 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BBB30 002B8A90 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802BBB34 002B8A94 41 82 00 08 */ beq lbl_802BBB3C +/* 802BBB38 002B8A98 38 80 00 00 */ li r4, 0 +lbl_802BBB3C: +/* 802BBB3C 002B8A9C 7C 83 23 78 */ mr r3, r4 +/* 802BBB40 002B8AA0 7C A4 2B 78 */ mr r4, r5 +/* 802BBB44 002B8AA4 48 04 E7 45 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor +/* 802BBB48 002B8AA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBB4C 002B8AAC 7C 08 03 A6 */ mtlr r0 +/* 802BBB50 002B8AB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBB54 002B8AB4 4E 80 00 20 */ blr + +.global SetWireframeFlags__13CCubeRendererFi +SetWireframeFlags__13CCubeRendererFi: +/* 802BBB58 002B8AB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BBB5C 002B8ABC 7C 08 02 A6 */ mflr r0 +/* 802BBB60 002B8AC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BBB64 002B8AC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BBB68 002B8AC8 7C 9F 23 78 */ mr r31, r4 +/* 802BBB6C 002B8ACC 93 C1 00 08 */ stw r30, 8(r1) +/* 802BBB70 002B8AD0 7C 7E 1B 78 */ mr r30, r3 +/* 802BBB74 002B8AD4 54 83 07 FE */ clrlwi r3, r4, 0x1f +/* 802BBB78 002B8AD8 38 03 FF FF */ addi r0, r3, -1 +/* 802BBB7C 002B8ADC 7C 00 00 34 */ cntlzw r0, r0 +/* 802BBB80 002B8AE0 54 03 D9 7E */ srwi r3, r0, 5 +/* 802BBB84 002B8AE4 48 04 AD 0D */ bl SetModelWireframe__10CCubeModelFb +/* 802BBB88 002B8AE8 57 E3 07 BC */ rlwinm r3, r31, 0, 0x1e, 0x1e +/* 802BBB8C 002B8AEC 88 1E 03 18 */ lbz r0, 0x318(r30) +/* 802BBB90 002B8AF0 38 63 FF FE */ addi r3, r3, -2 +/* 802BBB94 002B8AF4 7C 63 00 34 */ cntlzw r3, r3 +/* 802BBB98 002B8AF8 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 +/* 802BBB9C 002B8AFC 98 1E 03 18 */ stb r0, 0x318(r30) +/* 802BBBA0 002B8B00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BBBA4 002B8B04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BBBA8 002B8B08 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BBBAC 002B8B0C 7C 08 03 A6 */ mtlr r0 +/* 802BBBB0 002B8B10 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BBBB4 002B8B14 4E 80 00 20 */ blr + +.global _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +_DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: +/* 802BBBB8 002B8B18 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802BBBBC 002B8B1C 7C 08 02 A6 */ mflr r0 +/* 802BBBC0 002B8B20 90 01 01 84 */ stw r0, 0x184(r1) +/* 802BBBC4 002B8B24 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 802BBBC8 002B8B28 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 802BBBCC 002B8B2C BF 41 01 58 */ stmw r26, 0x158(r1) +/* 802BBBD0 002B8B30 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802BBBD4 002B8B34 3C E0 43 30 */ lis r7, 0x4330 +/* 802BBBD8 002B8B38 38 A5 D9 10 */ addi r5, r5, lbl_803ED910@l +/* 802BBBDC 002B8B3C C0 E4 00 04 */ lfs f7, 4(r4) +/* 802BBBE0 002B8B40 83 A5 00 08 */ lwz r29, 8(r5) +/* 802BBBE4 002B8B44 7C 7B 1B 78 */ mr r27, r3 +/* 802BBBE8 002B8B48 83 85 00 0C */ lwz r28, 0xc(r5) +/* 802BBBEC 002B8B4C FC 40 38 50 */ fneg f2, f7 +/* 802BBBF0 002B8B50 57 A0 0F FE */ srwi r0, r29, 0x1f +/* 802BBBF4 002B8B54 83 E5 00 00 */ lwz r31, 0(r5) +/* 802BBBF8 002B8B58 7C 60 EA 14 */ add r3, r0, r29 +/* 802BBBFC 002B8B5C 57 80 0F FE */ srwi r0, r28, 0x1f +/* 802BBC00 002B8B60 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BBC04 002B8B64 7C 00 E2 14 */ add r0, r0, r28 +/* 802BBC08 002B8B68 83 C5 00 04 */ lwz r30, 4(r5) +/* 802BBC0C 002B8B6C 6C 66 80 00 */ xoris r6, r3, 0x8000 +/* 802BBC10 002B8B70 6F E8 80 00 */ xoris r8, r31, 0x8000 +/* 802BBC14 002B8B74 7C 00 0E 70 */ srawi r0, r0, 1 +/* 802BBC18 002B8B78 90 C1 00 FC */ stw r6, 0xfc(r1) +/* 802BBC1C 002B8B7C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBC20 002B8B80 6F C5 80 00 */ xoris r5, r30, 0x8000 +/* 802BBC24 002B8B84 90 E1 00 F8 */ stw r7, 0xf8(r1) +/* 802BBC28 002B8B88 FF E0 08 90 */ fmr f31, f1 +/* 802BBC2C 002B8B8C C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) +/* 802BBC30 002B8B90 38 61 00 78 */ addi r3, r1, 0x78 +/* 802BBC34 002B8B94 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BBC38 002B8B98 C1 04 00 00 */ lfs f8, 0(r4) +/* 802BBC3C 002B8B9C 90 C1 01 04 */ stw r6, 0x104(r1) +/* 802BBC40 002B8BA0 EC 60 28 28 */ fsubs f3, f0, f5 +/* 802BBC44 002B8BA4 C0 C4 00 08 */ lfs f6, 8(r4) +/* 802BBC48 002B8BA8 90 E1 01 00 */ stw r7, 0x100(r1) +/* 802BBC4C 002B8BAC C8 01 01 00 */ lfd f0, 0x100(r1) +/* 802BBC50 002B8BB0 90 01 01 14 */ stw r0, 0x114(r1) +/* 802BBC54 002B8BB4 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802BBC58 002B8BB8 90 E1 01 10 */ stw r7, 0x110(r1) +/* 802BBC5C 002B8BBC C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802BBC60 002B8BC0 EC 63 0A 3A */ fmadds f3, f3, f8, f1 +/* 802BBC64 002B8BC4 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802BBC68 002B8BC8 EC 20 28 28 */ fsubs f1, f0, f5 +/* 802BBC6C 002B8BCC 90 E1 01 18 */ stw r7, 0x118(r1) +/* 802BBC70 002B8BD0 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BBC74 002B8BD4 91 01 00 F4 */ stw r8, 0xf4(r1) +/* 802BBC78 002B8BD8 EC 00 28 28 */ fsubs f0, f0, f5 +/* 802BBC7C 002B8BDC 90 E1 00 F0 */ stw r7, 0xf0(r1) +/* 802BBC80 002B8BE0 C8 81 00 F0 */ lfd f4, 0xf0(r1) +/* 802BBC84 002B8BE4 EC 21 00 BA */ fmadds f1, f1, f2, f0 +/* 802BBC88 002B8BE8 90 A1 01 0C */ stw r5, 0x10c(r1) +/* 802BBC8C 002B8BEC EC 44 28 28 */ fsubs f2, f4, f5 +/* 802BBC90 002B8BF0 90 E1 01 08 */ stw r7, 0x108(r1) +/* 802BBC94 002B8BF4 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BBC98 002B8BF8 EC 62 18 2A */ fadds f3, f2, f3 +/* 802BBC9C 002B8BFC D1 01 00 80 */ stfs f8, 0x80(r1) +/* 802BBCA0 002B8C00 EC 40 28 28 */ fsubs f2, f0, f5 +/* 802BBCA4 002B8C04 FC 00 18 1E */ fctiwz f0, f3 +/* 802BBCA8 002B8C08 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 802BBCAC 002B8C0C EC 22 08 2A */ fadds f1, f2, f1 +/* 802BBCB0 002B8C10 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 802BBCB4 002B8C14 D8 01 01 20 */ stfd f0, 0x120(r1) +/* 802BBCB8 002B8C18 FC 00 08 1E */ fctiwz f0, f1 +/* 802BBCBC 002B8C1C 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802BBCC0 002B8C20 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 802BBCC4 002B8C24 54 04 00 3A */ rlwinm r4, r0, 0, 0, 0x1d +/* 802BBCC8 002B8C28 D8 01 01 28 */ stfd f0, 0x128(r1) +/* 802BBCCC 002B8C2C 80 01 01 2C */ lwz r0, 0x12c(r1) +/* 802BBCD0 002B8C30 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802BBCD4 002B8C34 54 05 00 3A */ rlwinm r5, r0, 0, 0, 0x1d +/* 802BBCD8 002B8C38 48 05 86 75 */ bl __ct__9CVector2iFii +/* 802BBCDC 002B8C3C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802BBCE0 002B8C40 38 80 00 60 */ li r4, 0x60 +/* 802BBCE4 002B8C44 38 A0 00 60 */ li r5, 0x60 +/* 802BBCE8 002B8C48 48 05 86 65 */ bl __ct__9CVector2iFii +/* 802BBCEC 002B8C4C 7C 65 1B 78 */ mr r5, r3 +/* 802BBCF0 002B8C50 38 61 00 48 */ addi r3, r1, 0x48 +/* 802BBCF4 002B8C54 38 81 00 78 */ addi r4, r1, 0x78 +/* 802BBCF8 002B8C58 48 05 85 E5 */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802BBCFC 002B8C5C 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 802BBD00 002B8C60 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BBD04 002B8C64 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802BBD08 002B8C68 38 80 00 60 */ li r4, 0x60 +/* 802BBD0C 002B8C6C 90 A1 00 70 */ stw r5, 0x70(r1) +/* 802BBD10 002B8C70 38 A0 00 60 */ li r5, 0x60 +/* 802BBD14 002B8C74 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BBD18 002B8C78 48 05 86 35 */ bl __ct__9CVector2iFii +/* 802BBD1C 002B8C7C 7C 65 1B 78 */ mr r5, r3 +/* 802BBD20 002B8C80 38 61 00 38 */ addi r3, r1, 0x38 +/* 802BBD24 002B8C84 38 81 00 78 */ addi r4, r1, 0x78 +/* 802BBD28 002B8C88 48 05 85 ED */ bl __pl__FRC9CVector2iRC9CVector2i +/* 802BBD2C 002B8C8C C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BBD30 002B8C90 38 61 00 60 */ addi r3, r1, 0x60 +/* 802BBD34 002B8C94 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802BBD38 002B8C98 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 802BBD3C 002B8C9C FC 40 08 90 */ fmr f2, f1 +/* 802BBD40 002B8CA0 90 81 00 68 */ stw r4, 0x68(r1) +/* 802BBD44 002B8CA4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802BBD48 002B8CA8 48 05 84 B9 */ bl __ct__9CVector2fFff +/* 802BBD4C 002B8CAC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BBD50 002B8CB0 38 61 00 58 */ addi r3, r1, 0x58 +/* 802BBD54 002B8CB4 FC 40 08 90 */ fmr f2, f1 +/* 802BBD58 002B8CB8 48 05 84 A9 */ bl __ct__9CVector2fFff +/* 802BBD5C 002B8CBC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BBD60 002B8CC0 57 E5 00 3A */ rlwinm r5, r31, 0, 0, 0x1d +/* 802BBD64 002B8CC4 38 9D 00 03 */ addi r4, r29, 3 +/* 802BBD68 002B8CC8 38 7C 00 03 */ addi r3, r28, 3 +/* 802BBD6C 002B8CCC 7C 00 28 00 */ cmpw r0, r5 +/* 802BBD70 002B8CD0 57 C6 00 3A */ rlwinm r6, r30, 0, 0, 0x1d +/* 802BBD74 002B8CD4 7C 9F 22 14 */ add r4, r31, r4 +/* 802BBD78 002B8CD8 7C 1E 1A 14 */ add r0, r30, r3 +/* 802BBD7C 002B8CDC 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d +/* 802BBD80 002B8CE0 54 07 00 3A */ rlwinm r7, r0, 0, 0, 0x1d +/* 802BBD84 002B8CE4 40 80 00 38 */ bge lbl_802BBDBC +/* 802BBD88 002B8CE8 80 61 00 70 */ lwz r3, 0x70(r1) +/* 802BBD8C 002B8CEC 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBD90 002B8CF0 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBD94 002B8CF4 7C 03 28 50 */ subf r0, r3, r5 +/* 802BBD98 002B8CF8 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BBD9C 002B8CFC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBDA0 002B8D00 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) +/* 802BBDA4 002B8D04 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBDA8 002B8D08 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BBDAC 002B8D0C 90 A1 00 70 */ stw r5, 0x70(r1) +/* 802BBDB0 002B8D10 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BBDB4 002B8D14 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802BBDB8 002B8D18 D0 01 00 60 */ stfs f0, 0x60(r1) +lbl_802BBDBC: +/* 802BBDBC 002B8D1C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BBDC0 002B8D20 7C 00 30 00 */ cmpw r0, r6 +/* 802BBDC4 002B8D24 40 80 00 38 */ bge lbl_802BBDFC +/* 802BBDC8 002B8D28 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802BBDCC 002B8D2C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBDD0 002B8D30 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBDD4 002B8D34 7C 03 30 50 */ subf r0, r3, r6 +/* 802BBDD8 002B8D38 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BBDDC 002B8D3C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBDE0 002B8D40 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) +/* 802BBDE4 002B8D44 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBDE8 002B8D48 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BBDEC 002B8D4C 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802BBDF0 002B8D50 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BBDF4 002B8D54 EC 02 00 32 */ fmuls f0, f2, f0 +/* 802BBDF8 002B8D58 D0 01 00 64 */ stfs f0, 0x64(r1) +lbl_802BBDFC: +/* 802BBDFC 002B8D5C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802BBE00 002B8D60 7C 00 20 00 */ cmpw r0, r4 +/* 802BBE04 002B8D64 40 81 00 3C */ ble lbl_802BBE40 +/* 802BBE08 002B8D68 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802BBE0C 002B8D6C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBE10 002B8D70 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBE14 002B8D74 7C 04 18 50 */ subf r0, r4, r3 +/* 802BBE18 002B8D78 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802BBE1C 002B8D7C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBE20 002B8D80 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) +/* 802BBE24 002B8D84 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBE28 002B8D88 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BBE2C 002B8D8C C8 21 01 28 */ lfd f1, 0x128(r1) +/* 802BBE30 002B8D90 90 81 00 68 */ stw r4, 0x68(r1) +/* 802BBE34 002B8D94 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BBE38 002B8D98 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 802BBE3C 002B8D9C D0 01 00 58 */ stfs f0, 0x58(r1) +lbl_802BBE40: +/* 802BBE40 002B8DA0 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 802BBE44 002B8DA4 7C 00 38 00 */ cmpw r0, r7 +/* 802BBE48 002B8DA8 40 81 00 3C */ ble lbl_802BBE84 +/* 802BBE4C 002B8DAC 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 802BBE50 002B8DB0 3C 00 43 30 */ lis r0, 0x4330 +/* 802BBE54 002B8DB4 90 01 01 28 */ stw r0, 0x128(r1) +/* 802BBE58 002B8DB8 7C 07 18 50 */ subf r0, r7, r3 +/* 802BBE5C 002B8DBC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) +/* 802BBE60 002B8DC0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BBE64 002B8DC4 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) +/* 802BBE68 002B8DC8 90 01 01 2C */ stw r0, 0x12c(r1) +/* 802BBE6C 002B8DCC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BBE70 002B8DD0 C8 21 01 28 */ lfd f1, 0x128(r1) +/* 802BBE74 002B8DD4 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 802BBE78 002B8DD8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BBE7C 002B8DDC EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 802BBE80 002B8DE0 D0 01 00 5C */ stfs f0, 0x5c(r1) +lbl_802BBE84: +/* 802BBE84 002B8DE4 38 61 00 28 */ addi r3, r1, 0x28 +/* 802BBE88 002B8DE8 38 81 00 68 */ addi r4, r1, 0x68 +/* 802BBE8C 002B8DEC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802BBE90 002B8DF0 48 05 84 4D */ bl __mi__FRC9CVector2iRC9CVector2i +/* 802BBE94 002B8DF4 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BBE98 002B8DF8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 802BBE9C 002B8DFC 2C 03 00 00 */ cmpwi r3, 0 +/* 802BBEA0 002B8E00 90 61 00 50 */ stw r3, 0x50(r1) +/* 802BBEA4 002B8E04 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BBEA8 002B8E08 40 81 04 A0 */ ble lbl_802BC348 +/* 802BBEAC 002B8E0C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BBEB0 002B8E10 41 81 00 08 */ bgt lbl_802BBEB8 +/* 802BBEB4 002B8E14 48 00 04 94 */ b lbl_802BC348 +lbl_802BBEB8: +/* 802BBEB8 002B8E18 38 61 00 24 */ addi r3, r1, 0x24 +/* 802BBEBC 002B8E1C 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BBEC0 002B8E20 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802BBEC4 002B8E24 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802BBEC8 002B8E28 38 E1 00 14 */ addi r7, r1, 0x14 +/* 802BBECC 002B8E2C 39 01 00 10 */ addi r8, r1, 0x10 +/* 802BBED0 002B8E30 48 04 BC ED */ bl sub_80307bbc +/* 802BBED4 002B8E34 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BBED8 002B8E38 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BBEDC 002B8E3C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802BBEE0 002B8E40 38 60 00 00 */ li r3, 0 +/* 802BBEE4 002B8E44 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802BBEE8 002B8E48 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802BBEEC 002B8E4C 48 04 C6 11 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +/* 802BBEF0 002B8E50 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BBEF4 002B8E54 80 81 00 74 */ lwz r4, 0x74(r1) +/* 802BBEF8 002B8E58 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 802BBEFC 002B8E5C 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 802BBF00 002B8E60 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BBF04 002B8E64 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 802BBF08 002B8E68 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) +/* 802BBF0C 002B8E6C 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 802BBF10 002B8E70 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 802BBF14 002B8E74 48 0B CE A1 */ bl GXSetTexCopySrc +/* 802BBF18 002B8E78 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802BBF1C 002B8E7C 38 A0 00 06 */ li r5, 6 +/* 802BBF20 002B8E80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BBF24 002B8E84 38 C0 00 00 */ li r6, 0 +/* 802BBF28 002B8E88 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 802BBF2C 002B8E8C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802BBF30 002B8E90 48 0B CF 51 */ bl GXSetTexCopyDst +/* 802BBF34 002B8E94 7F 43 D3 78 */ mr r3, r26 +/* 802BBF38 002B8E98 38 80 00 00 */ li r4, 0 +/* 802BBF3C 002B8E9C 48 0B D5 F9 */ bl GXCopyTex +/* 802BBF40 002B8EA0 48 0B C6 25 */ bl GXPixModeSync +/* 802BBF44 002B8EA4 80 61 00 50 */ lwz r3, 0x50(r1) +/* 802BBF48 002B8EA8 38 A0 00 06 */ li r5, 6 +/* 802BBF4C 002B8EAC 80 81 00 54 */ lwz r4, 0x54(r1) +/* 802BBF50 002B8EB0 38 C0 00 00 */ li r6, 0 +/* 802BBF54 002B8EB4 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 802BBF58 002B8EB8 48 04 E0 C9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 802BBF5C 002B8EBC 38 7B 01 50 */ addi r3, r27, 0x150 +/* 802BBF60 002B8EC0 38 80 00 01 */ li r4, 1 +/* 802BBF64 002B8EC4 38 A0 00 00 */ li r5, 0 +/* 802BBF68 002B8EC8 48 05 37 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802BBF6C 002B8ECC 38 60 00 00 */ li r3, 0 +/* 802BBF70 002B8ED0 38 80 00 0F */ li r4, 0xf +/* 802BBF74 002B8ED4 38 A0 00 0F */ li r5, 0xf +/* 802BBF78 002B8ED8 38 C0 00 0F */ li r6, 0xf +/* 802BBF7C 002B8EDC 38 E0 00 08 */ li r7, 8 +/* 802BBF80 002B8EE0 48 04 CC 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BBF84 002B8EE4 38 60 00 00 */ li r3, 0 +/* 802BBF88 002B8EE8 38 80 00 00 */ li r4, 0 +/* 802BBF8C 002B8EEC 38 A0 00 00 */ li r5, 0 +/* 802BBF90 002B8EF0 38 C0 00 00 */ li r6, 0 +/* 802BBF94 002B8EF4 38 E0 00 01 */ li r7, 1 +/* 802BBF98 002B8EF8 39 00 00 00 */ li r8, 0 +/* 802BBF9C 002B8EFC 48 04 CB 9D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 802BBFA0 002B8F00 38 60 00 00 */ li r3, 0 +/* 802BBFA4 002B8F04 38 80 00 00 */ li r4, 0 +/* 802BBFA8 002B8F08 38 A0 00 04 */ li r5, 4 +/* 802BBFAC 002B8F0C 38 C0 00 3C */ li r6, 0x3c +/* 802BBFB0 002B8F10 38 E0 00 00 */ li r7, 0 +/* 802BBFB4 002B8F14 39 00 00 7D */ li r8, 0x7d +/* 802BBFB8 002B8F18 48 04 C7 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BBFBC 002B8F1C 38 60 00 01 */ li r3, 1 +/* 802BBFC0 002B8F20 38 80 00 00 */ li r4, 0 +/* 802BBFC4 002B8F24 38 A0 00 05 */ li r5, 5 +/* 802BBFC8 002B8F28 38 C0 00 3C */ li r6, 0x3c +/* 802BBFCC 002B8F2C 38 E0 00 00 */ li r7, 0 +/* 802BBFD0 002B8F30 39 00 00 7D */ li r8, 0x7d +/* 802BBFD4 002B8F34 48 04 C6 F9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802BBFD8 002B8F38 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 802BBFDC 002B8F3C 38 60 00 00 */ li r3, 0 +/* 802BBFE0 002B8F40 38 80 00 00 */ li r4, 0 +/* 802BBFE4 002B8F44 38 C0 00 FF */ li r6, 0xff +/* 802BBFE8 002B8F48 48 04 C9 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BBFEC 002B8F4C C8 02 C3 00 */ lfd f0, lbl_805AE020@sda21(r2) +/* 802BBFF0 002B8F50 3C 60 80 3D */ lis r3, lbl_803D65A0@ha +/* 802BBFF4 002B8F54 39 23 65 A0 */ addi r9, r3, lbl_803D65A0@l +/* 802BBFF8 002B8F58 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802BBFFC 002B8F5C FC 00 07 F2 */ fmul f0, f0, f31 +/* 802BC000 002B8F60 80 C9 00 00 */ lwz r6, 0(r9) +/* 802BC004 002B8F64 80 09 00 10 */ lwz r0, 0x10(r9) +/* 802BC008 002B8F68 38 60 00 01 */ li r3, 1 +/* 802BC00C 002B8F6C 81 09 00 04 */ lwz r8, 4(r9) +/* 802BC010 002B8F70 38 A0 FF FF */ li r5, -1 +/* 802BC014 002B8F74 80 E9 00 08 */ lwz r7, 8(r9) +/* 802BC018 002B8F78 FC 00 00 18 */ frsp f0, f0 +/* 802BC01C 002B8F7C 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 802BC020 002B8F80 80 C9 00 0C */ lwz r6, 0xc(r9) +/* 802BC024 002B8F84 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802BC028 002B8F88 80 09 00 14 */ lwz r0, 0x14(r9) +/* 802BC02C 002B8F8C 91 01 00 AC */ stw r8, 0xac(r1) +/* 802BC030 002B8F90 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 802BC034 002B8F94 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 802BC038 002B8F98 90 01 00 BC */ stw r0, 0xbc(r1) +/* 802BC03C 002B8F9C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802BC040 002B8FA0 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802BC044 002B8FA4 48 0B EE 85 */ bl GXSetIndTexMtx +/* 802BC048 002B8FA8 38 60 00 00 */ li r3, 0 +/* 802BC04C 002B8FAC 38 80 00 01 */ li r4, 1 +/* 802BC050 002B8FB0 38 A0 00 01 */ li r5, 1 +/* 802BC054 002B8FB4 48 0B F1 51 */ bl GXSetIndTexOrder +/* 802BC058 002B8FB8 38 00 00 00 */ li r0, 0 +/* 802BC05C 002B8FBC 38 60 00 00 */ li r3, 0 +/* 802BC060 002B8FC0 90 01 00 08 */ stw r0, 8(r1) +/* 802BC064 002B8FC4 38 80 00 00 */ li r4, 0 +/* 802BC068 002B8FC8 38 A0 00 00 */ li r5, 0 +/* 802BC06C 002B8FCC 38 C0 00 07 */ li r6, 7 +/* 802BC070 002B8FD0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BC074 002B8FD4 38 E0 00 01 */ li r7, 1 +/* 802BC078 002B8FD8 39 00 00 00 */ li r8, 0 +/* 802BC07C 002B8FDC 39 20 00 00 */ li r9, 0 +/* 802BC080 002B8FE0 39 40 00 00 */ li r10, 0 +/* 802BC084 002B8FE4 48 04 C7 09 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 802BC088 002B8FE8 38 60 00 01 */ li r3, 1 +/* 802BC08C 002B8FEC 48 04 C6 05 */ bl SetNumIndStages__3CGXFUc +/* 802BC090 002B8FF0 38 60 00 01 */ li r3, 1 +/* 802BC094 002B8FF4 48 04 CB FD */ bl SetNumTevStages__3CGXFUc +/* 802BC098 002B8FF8 38 60 00 02 */ li r3, 2 +/* 802BC09C 002B8FFC 48 04 CD 79 */ bl SetNumTexGens__3CGXFUc +/* 802BC0A0 002B9000 38 60 00 00 */ li r3, 0 +/* 802BC0A4 002B9004 48 04 CD AD */ bl SetNumChans__3CGXFUc +/* 802BC0A8 002B9008 38 60 00 01 */ li r3, 1 +/* 802BC0AC 002B900C 38 80 00 01 */ li r4, 1 +/* 802BC0B0 002B9010 38 A0 00 00 */ li r5, 0 +/* 802BC0B4 002B9014 38 C0 00 00 */ li r6, 0 +/* 802BC0B8 002B9018 48 04 C8 19 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 802BC0BC 002B901C 3C 60 80 3D */ lis r3, lbl_803D65B8@ha +/* 802BC0C0 002B9020 38 63 65 B8 */ addi r3, r3, lbl_803D65B8@l +/* 802BC0C4 002B9024 48 04 BD 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BC0C8 002B9028 48 04 DD 95 */ bl GetProjectionState__9CGraphicsFv +/* 802BC0CC 002B902C 88 03 00 00 */ lbz r0, 0(r3) +/* 802BC0D0 002B9030 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 802BC0D4 002B9034 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 802BC0D8 002B9038 98 01 00 8C */ stb r0, 0x8c(r1) +/* 802BC0DC 002B903C C0 03 00 04 */ lfs f0, 4(r3) +/* 802BC0E0 002B9040 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802BC0E4 002B9044 C0 03 00 08 */ lfs f0, 8(r3) +/* 802BC0E8 002B9048 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802BC0EC 002B904C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802BC0F0 002B9050 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 802BC0F4 002B9054 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 802BC0F8 002B9058 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 802BC0FC 002B905C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802BC100 002B9060 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802BC104 002B9064 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 802BC108 002B9068 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802BC10C 002B906C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802BC110 002B9070 48 05 6A 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802BC114 002B9074 7C 7D FA 14 */ add r3, r29, r31 +/* 802BC118 002B9078 7C 1C F2 14 */ add r0, r28, r30 +/* 802BC11C 002B907C 3C A0 43 30 */ lis r5, 0x4330 +/* 802BC120 002B9080 6F E6 80 00 */ xoris r6, r31, 0x8000 +/* 802BC124 002B9084 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 802BC128 002B9088 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 802BC12C 002B908C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC130 002B9090 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 802BC134 002B9094 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) +/* 802BC138 002B9098 90 A1 01 28 */ stw r5, 0x128(r1) +/* 802BC13C 002B909C C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) +/* 802BC140 002B90A0 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 802BC144 002B90A4 90 81 01 24 */ stw r4, 0x124(r1) +/* 802BC148 002B90A8 EC 20 20 28 */ fsubs f1, f0, f4 +/* 802BC14C 002B90AC C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) +/* 802BC150 002B90B0 90 A1 01 20 */ stw r5, 0x120(r1) +/* 802BC154 002B90B4 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 802BC158 002B90B8 90 61 01 1C */ stw r3, 0x11c(r1) +/* 802BC15C 002B90BC EC 40 20 28 */ fsubs f2, f0, f4 +/* 802BC160 002B90C0 90 A1 01 18 */ stw r5, 0x118(r1) +/* 802BC164 002B90C4 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 802BC168 002B90C8 90 01 01 14 */ stw r0, 0x114(r1) +/* 802BC16C 002B90CC EC 60 20 28 */ fsubs f3, f0, f4 +/* 802BC170 002B90D0 90 A1 01 10 */ stw r5, 0x110(r1) +/* 802BC174 002B90D4 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 802BC178 002B90D8 EC 80 20 28 */ fsubs f4, f0, f4 +/* 802BC17C 002B90DC 48 05 03 D9 */ bl SetOrtho__9CGraphicsFffffff +/* 802BC180 002B90E0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BC184 002B90E4 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BC188 002B90E8 48 05 05 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BC18C 002B90EC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BC190 002B90F0 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BC194 002B90F4 48 05 04 4D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BC198 002B90F8 38 60 00 00 */ li r3, 0 +/* 802BC19C 002B90FC 38 80 00 07 */ li r4, 7 +/* 802BC1A0 002B9100 38 A0 00 00 */ li r5, 0 +/* 802BC1A4 002B9104 48 04 C6 D9 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC1A8 002B9108 38 60 00 00 */ li r3, 0 +/* 802BC1AC 002B910C 48 0B C9 AD */ bl GXSetCullMode +/* 802BC1B0 002B9110 38 60 00 A0 */ li r3, 0xa0 +/* 802BC1B4 002B9114 38 80 00 00 */ li r4, 0 +/* 802BC1B8 002B9118 38 A0 00 04 */ li r5, 4 +/* 802BC1BC 002B911C 48 04 C3 C9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BC1C0 002B9120 80 01 00 70 */ lwz r0, 0x70(r1) +/* 802BC1C4 002B9124 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC1C8 002B9128 90 81 01 08 */ stw r4, 0x108(r1) +/* 802BC1CC 002B912C 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802BC1D0 002B9130 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC1D4 002B9134 C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) +/* 802BC1D8 002B9138 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802BC1DC 002B913C C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) +/* 802BC1E0 002B9140 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802BC1E4 002B9144 90 81 01 00 */ stw r4, 0x100(r1) +/* 802BC1E8 002B9148 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC1EC 002B914C C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) +/* 802BC1F0 002B9150 90 01 00 FC */ stw r0, 0xfc(r1) +/* 802BC1F4 002B9154 C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) +/* 802BC1F8 002B9158 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC1FC 002B915C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC200 002B9160 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BC204 002B9164 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 802BC208 002B9168 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC20C 002B916C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802BC210 002B9170 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 802BC214 002B9174 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802BC218 002B9178 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC21C 002B917C 90 81 00 F0 */ stw r4, 0xf0(r1) +/* 802BC220 002B9180 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802BC224 002B9184 90 81 01 30 */ stw r4, 0x130(r1) +/* 802BC228 002B9188 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC22C 002B918C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC230 002B9190 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC234 002B9194 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802BC238 002B9198 90 81 01 38 */ stw r4, 0x138(r1) +/* 802BC23C 002B919C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC240 002B91A0 C1 21 00 64 */ lfs f9, 0x64(r1) +/* 802BC244 002B91A4 90 81 01 40 */ stw r4, 0x140(r1) +/* 802BC248 002B91A8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802BC24C 002B91AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC250 002B91B0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC254 002B91B4 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 802BC258 002B91B8 90 01 01 4C */ stw r0, 0x14c(r1) +/* 802BC25C 002B91BC 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 802BC260 002B91C0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802BC264 002B91C4 C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 802BC268 002B91C8 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802BC26C 002B91CC EC 20 38 28 */ fsubs f1, f0, f7 +/* 802BC270 002B91D0 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 802BC274 002B91D4 90 81 01 48 */ stw r4, 0x148(r1) +/* 802BC278 002B91D8 EC 40 38 28 */ fsubs f2, f0, f7 +/* 802BC27C 002B91DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC280 002B91E0 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 802BC284 002B91E4 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC288 002B91E8 EC 00 38 28 */ fsubs f0, f0, f7 +/* 802BC28C 002B91EC D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC290 002B91F0 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 802BC294 002B91F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC298 002B91F8 C1 01 00 5C */ lfs f8, 0x5c(r1) +/* 802BC29C 002B91FC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802BC2A0 002B9200 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802BC2A4 002B9204 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BC2A8 002B9208 90 01 01 34 */ stw r0, 0x134(r1) +/* 802BC2AC 002B920C C8 21 01 30 */ lfd f1, 0x130(r1) +/* 802BC2B0 002B9210 90 01 01 44 */ stw r0, 0x144(r1) +/* 802BC2B4 002B9214 EC 61 38 28 */ fsubs f3, f1, f7 +/* 802BC2B8 002B9218 C8 21 01 40 */ lfd f1, 0x140(r1) +/* 802BC2BC 002B921C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802BC2C0 002B9220 EC 21 38 28 */ fsubs f1, f1, f7 +/* 802BC2C4 002B9224 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC2C8 002B9228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BC2CC 002B922C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2D0 002B9230 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2D4 002B9234 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802BC2D8 002B9238 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802BC2DC 002B923C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802BC2E0 002B9240 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802BC2E4 002B9244 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802BC2E8 002B9248 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC2EC 002B924C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802BC2F0 002B9250 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802BC2F4 002B9254 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802BC2F8 002B9258 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802BC2FC 002B925C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 802BC300 002B9260 48 04 C2 81 */ bl End__3CGXFv +/* 802BC304 002B9264 38 60 00 01 */ li r3, 1 +/* 802BC308 002B9268 48 0B C8 51 */ bl GXSetCullMode +/* 802BC30C 002B926C 38 60 00 00 */ li r3, 0 +/* 802BC310 002B9270 48 04 C4 35 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 802BC314 002B9274 38 60 00 00 */ li r3, 0 +/* 802BC318 002B9278 48 04 C3 79 */ bl SetNumIndStages__3CGXFUc +/* 802BC31C 002B927C 38 61 00 8C */ addi r3, r1, 0x8c +/* 802BC320 002B9280 48 04 DA E1 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +/* 802BC324 002B9284 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802BC328 002B9288 48 05 04 25 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BC32C 002B928C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 802BC330 002B9290 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BC334 002B9294 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BC338 002B9298 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802BC33C 002B929C C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802BC340 002B92A0 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802BC344 002B92A4 48 04 C1 B9 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +lbl_802BC348: +/* 802BC348 002B92A8 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 802BC34C 002B92AC CB E1 01 70 */ lfd f31, 0x170(r1) +/* 802BC350 002B92B0 BB 41 01 58 */ lmw r26, 0x158(r1) +/* 802BC354 002B92B4 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802BC358 002B92B8 7C 08 03 A6 */ mtlr r0 +/* 802BC35C 002B92BC 38 21 01 80 */ addi r1, r1, 0x180 +/* 802BC360 002B92C0 4E 80 00 20 */ blr + +.global DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: +/* 802BC364 002B92C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC368 002B92C8 7C 08 02 A6 */ mflr r0 +/* 802BC36C 002B92CC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BC370 002B92D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC374 002B92D4 C0 44 00 08 */ lfs f2, 8(r4) +/* 802BC378 002B92D8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BC37C 002B92DC 4C 41 13 82 */ cror 2, 1, 2 +/* 802BC380 002B92E0 41 82 00 08 */ beq lbl_802BC388 +/* 802BC384 002B92E4 4B FF F8 35 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff +lbl_802BC388: +/* 802BC388 002B92E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC38C 002B92EC 7C 08 03 A6 */ mtlr r0 +/* 802BC390 002B92F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC394 002B92F4 4E 80 00 20 */ blr + +.global CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb +CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb: +/* 802BC398 002B92F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BC39C 002B92FC 7C 08 02 A6 */ mflr r0 +/* 802BC3A0 002B9300 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BC3A4 002B9304 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802BC3A8 002B9308 7C 7C 1B 78 */ mr r28, r3 +/* 802BC3AC 002B930C 7C 9D 23 78 */ mr r29, r4 +/* 802BC3B0 002B9310 7C BE 2B 78 */ mr r30, r5 +/* 802BC3B4 002B9314 7C DF 33 78 */ mr r31, r6 +/* 802BC3B8 002B9318 88 63 03 18 */ lbz r3, 0x318(r3) +/* 802BC3BC 002B931C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 802BC3C0 002B9320 41 82 01 6C */ beq lbl_802BC52C +/* 802BC3C4 002B9324 38 00 00 00 */ li r0, 0 +/* 802BC3C8 002B9328 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 802BC3CC 002B932C 98 7C 03 18 */ stb r3, 0x318(r28) +/* 802BC3D0 002B9330 90 1C 02 DC */ stw r0, 0x2dc(r28) +/* 802BC3D4 002B9334 80 1C 01 4C */ lwz r0, 0x14c(r28) +/* 802BC3D8 002B9338 28 00 00 00 */ cmplwi r0, 0 +/* 802BC3DC 002B933C 40 82 00 48 */ bne lbl_802BC424 +/* 802BC3E0 002B9340 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BC3E4 002B9344 38 60 00 68 */ li r3, 0x68 +/* 802BC3E8 002B9348 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BC3EC 002B934C 38 A0 00 00 */ li r5, 0 +/* 802BC3F0 002B9350 48 05 94 7D */ bl __nw__FUlPCcPCc +/* 802BC3F4 002B9354 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802BC3F8 002B9358 41 82 00 1C */ beq lbl_802BC414 +/* 802BC3FC 002B935C 38 80 00 07 */ li r4, 7 +/* 802BC400 002B9360 38 A0 00 80 */ li r5, 0x80 +/* 802BC404 002B9364 38 C0 00 80 */ li r6, 0x80 +/* 802BC408 002B9368 38 E0 00 01 */ li r7, 1 +/* 802BC40C 002B936C 48 05 3A 21 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BC410 002B9370 7C 7B 1B 78 */ mr r27, r3 +lbl_802BC414: +/* 802BC414 002B9374 80 7C 01 4C */ lwz r3, 0x14c(r28) +/* 802BC418 002B9378 38 80 00 01 */ li r4, 1 +/* 802BC41C 002B937C 48 05 35 DD */ bl __dt__8CTextureFv +/* 802BC420 002B9380 93 7C 01 4C */ stw r27, 0x14c(r28) +lbl_802BC424: +/* 802BC424 002B9384 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 802BC428 002B9388 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 802BC42C 002B938C 38 83 65 00 */ addi r4, r3, lbl_805A6500@l +/* 802BC430 002B9390 38 60 00 00 */ li r3, 0 +/* 802BC434 002B9394 A0 84 00 06 */ lhz r4, 6(r4) +/* 802BC438 002B9398 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l +/* 802BC43C 002B939C 83 46 00 00 */ lwz r26, 0(r6) +/* 802BC440 002B93A0 38 A0 01 00 */ li r5, 0x100 +/* 802BC444 002B93A4 3B 64 FF 00 */ addi r27, r4, -256 +/* 802BC448 002B93A8 83 26 00 04 */ lwz r25, 4(r6) +/* 802BC44C 002B93AC 83 06 00 08 */ lwz r24, 8(r6) +/* 802BC450 002B93B0 7F 64 DB 78 */ mr r4, r27 +/* 802BC454 002B93B4 82 E6 00 0C */ lwz r23, 0xc(r6) +/* 802BC458 002B93B8 38 C0 01 00 */ li r6, 0x100 +/* 802BC45C 002B93BC 48 04 FC 35 */ bl SetViewport__9CGraphicsFiiii +/* 802BC460 002B93C0 7F 64 DB 78 */ mr r4, r27 +/* 802BC464 002B93C4 38 60 00 00 */ li r3, 0 +/* 802BC468 002B93C8 38 A0 01 00 */ li r5, 0x100 +/* 802BC46C 002B93CC 38 C0 01 00 */ li r6, 0x100 +/* 802BC470 002B93D0 48 04 FB ED */ bl SetScissor__9CGraphicsFiiii +/* 802BC474 002B93D4 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) +/* 802BC478 002B93D8 38 60 00 00 */ li r3, 0 +/* 802BC47C 002B93DC 38 80 00 00 */ li r4, 0 +/* 802BC480 002B93E0 38 A0 01 00 */ li r5, 0x100 +/* 802BC484 002B93E4 38 C0 01 00 */ li r6, 0x100 +/* 802BC488 002B93E8 48 0B C9 2D */ bl GXSetTexCopySrc +/* 802BC48C 002B93EC 38 60 00 80 */ li r3, 0x80 +/* 802BC490 002B93F0 38 80 00 80 */ li r4, 0x80 +/* 802BC494 002B93F4 38 A0 00 04 */ li r5, 4 +/* 802BC498 002B93F8 38 C0 00 01 */ li r6, 1 +/* 802BC49C 002B93FC 48 0B C9 E5 */ bl GXSetTexCopyDst +/* 802BC4A0 002B9400 38 60 00 01 */ li r3, 1 +/* 802BC4A4 002B9404 38 80 00 03 */ li r4, 3 +/* 802BC4A8 002B9408 38 A0 00 01 */ li r5, 1 +/* 802BC4AC 002B940C 48 04 C3 D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC4B0 002B9410 7F 63 DB 78 */ mr r3, r27 +/* 802BC4B4 002B9414 38 80 00 01 */ li r4, 1 +/* 802BC4B8 002B9418 48 0B D0 7D */ bl GXCopyTex +/* 802BC4BC 002B941C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha +/* 802BC4C0 002B9420 7F AC EB 78 */ mr r12, r29 +/* 802BC4C4 002B9424 38 83 67 B4 */ addi r4, r3, lbl_805A67B4@l +/* 802BC4C8 002B9428 7F C3 F3 78 */ mr r3, r30 +/* 802BC4CC 002B942C 7D 89 03 A6 */ mtctr r12 +/* 802BC4D0 002B9430 4E 80 04 21 */ bctrl +/* 802BC4D4 002B9434 80 7C 01 4C */ lwz r3, 0x14c(r28) +/* 802BC4D8 002B9438 38 80 00 00 */ li r4, 0 +/* 802BC4DC 002B943C 48 05 21 19 */ bl GetConstBitMapData__8CTextureCFi +/* 802BC4E0 002B9440 7C 60 1B 78 */ mr r0, r3 +/* 802BC4E4 002B9444 38 60 00 01 */ li r3, 1 +/* 802BC4E8 002B9448 7C 1B 03 78 */ mr r27, r0 +/* 802BC4EC 002B944C 38 80 00 03 */ li r4, 3 +/* 802BC4F0 002B9450 38 A0 00 01 */ li r5, 1 +/* 802BC4F4 002B9454 48 04 C3 89 */ bl SetZMode__3CGXFb10_GXCompareb +/* 802BC4F8 002B9458 7F 63 DB 78 */ mr r3, r27 +/* 802BC4FC 002B945C 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 802BC500 002B9460 48 0B D0 35 */ bl GXCopyTex +/* 802BC504 002B9464 7F 43 D3 78 */ mr r3, r26 +/* 802BC508 002B9468 7F 24 CB 78 */ mr r4, r25 +/* 802BC50C 002B946C 7F 05 C3 78 */ mr r5, r24 +/* 802BC510 002B9470 7E E6 BB 78 */ mr r6, r23 +/* 802BC514 002B9474 48 04 FB 7D */ bl SetViewport__9CGraphicsFiiii +/* 802BC518 002B9478 7F 43 D3 78 */ mr r3, r26 +/* 802BC51C 002B947C 7F 24 CB 78 */ mr r4, r25 +/* 802BC520 002B9480 7F 05 C3 78 */ mr r5, r24 +/* 802BC524 002B9484 7E E6 BB 78 */ mr r6, r23 +/* 802BC528 002B9488 48 04 FB 35 */ bl SetScissor__9CGraphicsFiiii +lbl_802BC52C: +/* 802BC52C 002B948C BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802BC530 002B9490 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BC534 002B9494 7C 08 03 A6 */ mtlr r0 +/* 802BC538 002B9498 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BC53C 002B949C 4E 80 00 20 */ blr + +.global GetRealReflection__13CCubeRendererFv +GetRealReflection__13CCubeRendererFv: +/* 802BC540 002B94A0 38 00 00 00 */ li r0, 0 +/* 802BC544 002B94A4 90 03 02 DC */ stw r0, 0x2dc(r3) +/* 802BC548 002B94A8 80 03 01 4C */ lwz r0, 0x14c(r3) +/* 802BC54C 002B94AC 28 00 00 00 */ cmplwi r0, 0 +/* 802BC550 002B94B0 40 82 00 0C */ bne lbl_802BC55C +/* 802BC554 002B94B4 38 63 00 E4 */ addi r3, r3, 0xe4 +/* 802BC558 002B94B8 4E 80 00 20 */ blr +lbl_802BC55C: +/* 802BC55C 002B94BC 7C 03 03 78 */ mr r3, r0 +/* 802BC560 002B94C0 4E 80 00 20 */ blr + +.global SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni +SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni: +/* 802BC564 002B94C4 2C 04 00 01 */ cmpwi r4, 1 +/* 802BC568 002B94C8 41 82 00 34 */ beq lbl_802BC59C +/* 802BC56C 002B94CC 40 80 00 10 */ bge lbl_802BC57C +/* 802BC570 002B94D0 2C 04 00 00 */ cmpwi r4, 0 +/* 802BC574 002B94D4 40 80 00 14 */ bge lbl_802BC588 + +.global sub_802bc578 +sub_802bc578: +/* 802BC578 002B94D8 4E 80 00 20 */ blr +lbl_802BC57C: +/* 802BC57C 002B94DC 2C 04 00 03 */ cmpwi r4, 3 +/* 802BC580 002B94E0 4C 80 00 20 */ bgelr +/* 802BC584 002B94E4 48 00 00 20 */ b lbl_802BC5A4 +lbl_802BC588: +/* 802BC588 002B94E8 7C 05 00 D0 */ neg r0, r5 +/* 802BC58C 002B94EC 7C 00 2B 78 */ or r0, r0, r5 +/* 802BC590 002B94F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BC594 002B94F4 98 03 00 C0 */ stb r0, 0xc0(r3) +/* 802BC598 002B94F8 4E 80 00 20 */ blr +lbl_802BC59C: +/* 802BC59C 002B94FC 90 A3 00 C4 */ stw r5, 0xc4(r3) +/* 802BC5A0 002B9500 4E 80 00 20 */ blr +lbl_802BC5A4: +/* 802BC5A4 002B9504 7C 85 00 D0 */ neg r4, r5 +/* 802BC5A8 002B9508 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BC5AC 002B950C 7C 84 2B 78 */ or r4, r4, r5 +/* 802BC5B0 002B9510 50 80 27 38 */ rlwimi r0, r4, 4, 0x1c, 0x1c +/* 802BC5B4 002B9514 98 03 03 18 */ stb r0, 0x318(r3) +/* 802BC5B8 002B9518 4E 80 00 20 */ blr + +.global SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv +SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv: +/* 802BC5BC 002B951C 90 83 00 A8 */ stw r4, 0xa8(r3) +/* 802BC5C0 002B9520 90 A3 00 AC */ stw r5, 0xac(r3) +/* 802BC5C4 002B9524 4E 80 00 20 */ blr + +.global GetFPS__13CCubeRendererFv +GetFPS__13CCubeRendererFv: +/* 802BC5C8 002B9528 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC5CC 002B952C 7C 08 02 A6 */ mflr r0 +/* 802BC5D0 002B9530 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC5D4 002B9534 48 04 D2 81 */ bl GetFPS__9CGraphicsFv +/* 802BC5D8 002B9538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC5DC 002B953C 7C 08 03 A6 */ mtlr r0 +/* 802BC5E0 002B9540 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC5E4 002B9544 4E 80 00 20 */ blr + +.global SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes +SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes: +/* 802BC5E8 002B9548 38 03 00 44 */ addi r0, r3, 0x44 +/* 802BC5EC 002B954C 7C 00 20 40 */ cmplw r0, r4 +/* 802BC5F0 002B9550 4D 82 00 20 */ beqlr +/* 802BC5F4 002B9554 80 E3 00 44 */ lwz r7, 0x44(r3) +/* 802BC5F8 002B9558 39 03 00 48 */ addi r8, r3, 0x48 +/* 802BC5FC 002B955C 38 A0 00 00 */ li r5, 0 +/* 802BC600 002B9560 2C 07 00 00 */ cmpwi r7, 0 +/* 802BC604 002B9564 40 81 00 40 */ ble lbl_802BC644 +/* 802BC608 002B9568 2C 07 00 08 */ cmpwi r7, 8 +/* 802BC60C 002B956C 38 C7 FF F8 */ addi r6, r7, -8 +/* 802BC610 002B9570 40 81 00 20 */ ble lbl_802BC630 +/* 802BC614 002B9574 38 06 00 07 */ addi r0, r6, 7 +/* 802BC618 002B9578 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BC61C 002B957C 7C 09 03 A6 */ mtctr r0 +/* 802BC620 002B9580 2C 06 00 00 */ cmpwi r6, 0 +/* 802BC624 002B9584 40 81 00 0C */ ble lbl_802BC630 +lbl_802BC628: +/* 802BC628 002B9588 38 A5 00 08 */ addi r5, r5, 8 +/* 802BC62C 002B958C 42 00 FF FC */ bdnz lbl_802BC628 +lbl_802BC630: +/* 802BC630 002B9590 7C 05 38 50 */ subf r0, r5, r7 +/* 802BC634 002B9594 7C 09 03 A6 */ mtctr r0 +/* 802BC638 002B9598 7C 05 38 00 */ cmpw r5, r7 +/* 802BC63C 002B959C 40 80 00 08 */ bge lbl_802BC644 +lbl_802BC640: +/* 802BC640 002B95A0 42 00 00 00 */ bdnz lbl_802BC640 +lbl_802BC644: +/* 802BC644 002B95A4 38 00 00 00 */ li r0, 0 +/* 802BC648 002B95A8 38 A4 00 04 */ addi r5, r4, 4 +/* 802BC64C 002B95AC 90 03 00 44 */ stw r0, 0x44(r3) +/* 802BC650 002B95B0 80 04 00 00 */ lwz r0, 0(r4) +/* 802BC654 002B95B4 54 00 20 36 */ slwi r0, r0, 4 +/* 802BC658 002B95B8 7C C4 02 14 */ add r6, r4, r0 +/* 802BC65C 002B95BC 38 C6 00 04 */ addi r6, r6, 4 +/* 802BC660 002B95C0 48 00 00 34 */ b lbl_802BC694 +lbl_802BC664: +/* 802BC664 002B95C4 28 08 00 00 */ cmplwi r8, 0 +/* 802BC668 002B95C8 41 82 00 24 */ beq lbl_802BC68C +/* 802BC66C 002B95CC C0 05 00 00 */ lfs f0, 0(r5) +/* 802BC670 002B95D0 D0 08 00 00 */ stfs f0, 0(r8) +/* 802BC674 002B95D4 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BC678 002B95D8 D0 08 00 04 */ stfs f0, 4(r8) +/* 802BC67C 002B95DC C0 05 00 08 */ lfs f0, 8(r5) +/* 802BC680 002B95E0 D0 08 00 08 */ stfs f0, 8(r8) +/* 802BC684 002B95E4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802BC688 002B95E8 D0 08 00 0C */ stfs f0, 0xc(r8) +lbl_802BC68C: +/* 802BC68C 002B95EC 39 08 00 10 */ addi r8, r8, 0x10 +/* 802BC690 002B95F0 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_802BC694: +/* 802BC694 002B95F4 7C 05 30 40 */ cmplw r5, r6 +/* 802BC698 002B95F8 40 82 FF CC */ bne lbl_802BC664 +/* 802BC69C 002B95FC 80 04 00 00 */ lwz r0, 0(r4) +/* 802BC6A0 002B9600 90 03 00 44 */ stw r0, 0x44(r3) +/* 802BC6A4 002B9604 4E 80 00 20 */ blr + +.global SetBlendMode_AdditiveDestColor__13CCubeRendererFv +SetBlendMode_AdditiveDestColor__13CCubeRendererFv: +/* 802BC6A8 002B9608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC6AC 002B960C 7C 08 02 A6 */ mflr r0 +/* 802BC6B0 002B9610 38 60 00 01 */ li r3, 1 +/* 802BC6B4 002B9614 38 80 00 02 */ li r4, 2 +/* 802BC6B8 002B9618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC6BC 002B961C 38 A0 00 01 */ li r5, 1 +/* 802BC6C0 002B9620 38 C0 00 00 */ li r6, 0 +/* 802BC6C4 002B9624 48 04 F3 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC6C8 002B9628 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC6CC 002B962C 7C 08 03 A6 */ mtlr r0 +/* 802BC6D0 002B9630 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC6D4 002B9634 4E 80 00 20 */ blr + +.global SetBlendMode_Replace__13CCubeRendererFv +SetBlendMode_Replace__13CCubeRendererFv: +/* 802BC6D8 002B9638 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC6DC 002B963C 7C 08 02 A6 */ mflr r0 +/* 802BC6E0 002B9640 38 60 00 01 */ li r3, 1 +/* 802BC6E4 002B9644 38 80 00 01 */ li r4, 1 +/* 802BC6E8 002B9648 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC6EC 002B964C 38 A0 00 00 */ li r5, 0 +/* 802BC6F0 002B9650 38 C0 00 00 */ li r6, 0 +/* 802BC6F4 002B9654 48 04 F3 5D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC6F8 002B9658 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC6FC 002B965C 7C 08 03 A6 */ mtlr r0 +/* 802BC700 002B9660 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC704 002B9664 4E 80 00 20 */ blr + +.global SetBlendMode_InvertSrc__13CCubeRendererFv +SetBlendMode_InvertSrc__13CCubeRendererFv: +/* 802BC708 002B9668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC70C 002B966C 7C 08 02 A6 */ mflr r0 +/* 802BC710 002B9670 38 60 00 02 */ li r3, 2 +/* 802BC714 002B9674 38 80 00 01 */ li r4, 1 +/* 802BC718 002B9678 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC71C 002B967C 38 A0 00 00 */ li r5, 0 +/* 802BC720 002B9680 38 C0 00 0C */ li r6, 0xc +/* 802BC724 002B9684 48 04 F3 2D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC728 002B9688 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC72C 002B968C 7C 08 03 A6 */ mtlr r0 +/* 802BC730 002B9690 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC734 002B9694 4E 80 00 20 */ blr + +.global SetBlendMode_InvertDst__13CCubeRendererFv +SetBlendMode_InvertDst__13CCubeRendererFv: +/* 802BC738 002B9698 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC73C 002B969C 7C 08 02 A6 */ mflr r0 +/* 802BC740 002B96A0 38 60 00 01 */ li r3, 1 +/* 802BC744 002B96A4 38 80 00 03 */ li r4, 3 +/* 802BC748 002B96A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC74C 002B96AC 38 A0 00 00 */ li r5, 0 +/* 802BC750 002B96B0 38 C0 00 00 */ li r6, 0 +/* 802BC754 002B96B4 48 04 F2 FD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC758 002B96B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC75C 002B96BC 7C 08 03 A6 */ mtlr r0 +/* 802BC760 002B96C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC764 002B96C4 4E 80 00 20 */ blr + +.global SetBlendMode_ColorMultiply__13CCubeRendererFv +SetBlendMode_ColorMultiply__13CCubeRendererFv: +/* 802BC768 002B96C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC76C 002B96CC 7C 08 02 A6 */ mflr r0 +/* 802BC770 002B96D0 38 60 00 01 */ li r3, 1 +/* 802BC774 002B96D4 38 80 00 00 */ li r4, 0 +/* 802BC778 002B96D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC77C 002B96DC 38 A0 00 02 */ li r5, 2 +/* 802BC780 002B96E0 38 C0 00 00 */ li r6, 0 +/* 802BC784 002B96E4 48 04 F2 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC788 002B96E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC78C 002B96EC 7C 08 03 A6 */ mtlr r0 +/* 802BC790 002B96F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC794 002B96F4 4E 80 00 20 */ blr + +.global SetBlendMode_NoColorWrite__13CCubeRendererFv +SetBlendMode_NoColorWrite__13CCubeRendererFv: +/* 802BC798 002B96F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC79C 002B96FC 7C 08 02 A6 */ mflr r0 +/* 802BC7A0 002B9700 38 60 00 01 */ li r3, 1 +/* 802BC7A4 002B9704 38 80 00 00 */ li r4, 0 +/* 802BC7A8 002B9708 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC7AC 002B970C 38 A0 00 01 */ li r5, 1 +/* 802BC7B0 002B9710 38 C0 00 00 */ li r6, 0 +/* 802BC7B4 002B9714 48 04 F2 9D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC7B8 002B9718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC7BC 002B971C 7C 08 03 A6 */ mtlr r0 +/* 802BC7C0 002B9720 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC7C4 002B9724 4E 80 00 20 */ blr + +.global SetBlendMode_AlphaBlended__13CCubeRendererFv +SetBlendMode_AlphaBlended__13CCubeRendererFv: +/* 802BC7C8 002B9728 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC7CC 002B972C 7C 08 02 A6 */ mflr r0 +/* 802BC7D0 002B9730 38 60 00 01 */ li r3, 1 +/* 802BC7D4 002B9734 38 80 00 04 */ li r4, 4 +/* 802BC7D8 002B9738 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC7DC 002B973C 38 A0 00 05 */ li r5, 5 +/* 802BC7E0 002B9740 38 C0 00 00 */ li r6, 0 +/* 802BC7E4 002B9744 48 04 F2 6D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC7E8 002B9748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC7EC 002B974C 7C 08 03 A6 */ mtlr r0 +/* 802BC7F0 002B9750 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC7F4 002B9754 4E 80 00 20 */ blr + +.global SetBlendMode_AdditiveAlpha__13CCubeRendererFv +SetBlendMode_AdditiveAlpha__13CCubeRendererFv: +/* 802BC7F8 002B9758 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC7FC 002B975C 7C 08 02 A6 */ mflr r0 +/* 802BC800 002B9760 38 60 00 01 */ li r3, 1 +/* 802BC804 002B9764 38 80 00 04 */ li r4, 4 +/* 802BC808 002B9768 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC80C 002B976C 38 A0 00 01 */ li r5, 1 +/* 802BC810 002B9770 38 C0 00 00 */ li r6, 0 +/* 802BC814 002B9774 48 04 F2 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BC818 002B9778 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC81C 002B977C 7C 08 03 A6 */ mtlr r0 +/* 802BC820 002B9780 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC824 002B9784 4E 80 00 20 */ blr + +.global SetDepthReadWrite__13CCubeRendererFbb +SetDepthReadWrite__13CCubeRendererFbb: +/* 802BC828 002B9788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BC82C 002B978C 7C 08 02 A6 */ mflr r0 +/* 802BC830 002B9790 7C 83 23 78 */ mr r3, r4 +/* 802BC834 002B9794 38 80 00 03 */ li r4, 3 +/* 802BC838 002B9798 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BC83C 002B979C 48 04 F2 59 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BC840 002B97A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BC844 002B97A4 7C 08 03 A6 */ mtlr r0 +/* 802BC848 002B97A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BC84C 002B97AC 4E 80 00 20 */ blr + +.global SetViewport__13CCubeRendererFiiii +SetViewport__13CCubeRendererFiiii: +/* 802BC850 002B97B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BC854 002B97B4 7C 08 02 A6 */ mflr r0 +/* 802BC858 002B97B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BC85C 002B97BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BC860 002B97C0 7C FF 3B 78 */ mr r31, r7 +/* 802BC864 002B97C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BC868 002B97C8 7C DE 33 78 */ mr r30, r6 +/* 802BC86C 002B97CC 7F E6 FB 78 */ mr r6, r31 +/* 802BC870 002B97D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BC874 002B97D4 7C BD 2B 78 */ mr r29, r5 +/* 802BC878 002B97D8 7F C5 F3 78 */ mr r5, r30 +/* 802BC87C 002B97DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BC880 002B97E0 7C 9C 23 78 */ mr r28, r4 +/* 802BC884 002B97E4 7F 83 E3 78 */ mr r3, r28 +/* 802BC888 002B97E8 7F A4 EB 78 */ mr r4, r29 +/* 802BC88C 002B97EC 48 04 F8 05 */ bl SetViewport__9CGraphicsFiiii +/* 802BC890 002B97F0 7F 83 E3 78 */ mr r3, r28 +/* 802BC894 002B97F4 7F A4 EB 78 */ mr r4, r29 +/* 802BC898 002B97F8 7F C5 F3 78 */ mr r5, r30 +/* 802BC89C 002B97FC 7F E6 FB 78 */ mr r6, r31 +/* 802BC8A0 002B9800 48 04 F7 BD */ bl SetScissor__9CGraphicsFiiii +/* 802BC8A4 002B9804 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BC8A8 002B9808 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BC8AC 002B980C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BC8B0 002B9810 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BC8B4 002B9814 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BC8B8 002B9818 7C 08 03 A6 */ mtlr r0 +/* 802BC8BC 002B981C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BC8C0 002B9820 4E 80 00 20 */ blr + +.global SetViewportOrtho__13CCubeRendererFbff +SetViewportOrtho__13CCubeRendererFbff: +/* 802BC8C4 002B9824 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802BC8C8 002B9828 7C 08 02 A6 */ mflr r0 +/* 802BC8CC 002B982C 90 01 00 84 */ stw r0, 0x84(r1) +/* 802BC8D0 002B9830 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 802BC8D4 002B9834 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 802BC8D8 002B9838 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 802BC8DC 002B983C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 802BC8E0 002B9840 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 802BC8E4 002B9844 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 802BC8E8 002B9848 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 802BC8EC 002B984C F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 802BC8F0 002B9850 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802BC8F4 002B9854 3C 80 80 3F */ lis r4, lbl_803F0004@ha +/* 802BC8F8 002B9858 84 C4 D9 10 */ lwzu r6, -0x26f0(r4) +/* 802BC8FC 002B985C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802BC900 002B9860 FC A0 08 90 */ fmr f5, f1 +/* 802BC904 002B9864 FC C0 10 90 */ fmr f6, f2 +/* 802BC908 002B9868 80 04 00 04 */ lwz r0, lbl_803F0004@l(r4) +/* 802BC90C 002B986C 80 E4 00 08 */ lwz r7, 8(r4) +/* 802BC910 002B9870 7C 7F 1B 78 */ mr r31, r3 +/* 802BC914 002B9874 81 04 00 0C */ lwz r8, 0xc(r4) +/* 802BC918 002B9878 41 82 00 18 */ beq lbl_802BC930 +/* 802BC91C 002B987C 54 E3 0F FE */ srwi r3, r7, 0x1f +/* 802BC920 002B9880 7C 63 3A 14 */ add r3, r3, r7 +/* 802BC924 002B9884 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC928 002B9888 7C 63 30 50 */ subf r3, r3, r6 +/* 802BC92C 002B988C 48 00 00 08 */ b lbl_802BC934 +lbl_802BC930: +/* 802BC930 002B9890 7C C3 33 78 */ mr r3, r6 +lbl_802BC934: +/* 802BC934 002B9894 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC938 002B9898 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC93C 002B989C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802BC940 002B98A0 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC944 002B98A4 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC948 002B98A8 90 81 00 18 */ stw r4, 0x18(r1) +/* 802BC94C 002B98AC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BC950 002B98B0 EF E0 08 28 */ fsubs f31, f0, f1 +/* 802BC954 002B98B4 41 82 00 18 */ beq lbl_802BC96C +/* 802BC958 002B98B8 55 03 0F FE */ srwi r3, r8, 0x1f +/* 802BC95C 002B98BC 7C 63 42 14 */ add r3, r3, r8 +/* 802BC960 002B98C0 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC964 002B98C4 7C 63 00 50 */ subf r3, r3, r0 +/* 802BC968 002B98C8 48 00 00 08 */ b lbl_802BC970 +lbl_802BC96C: +/* 802BC96C 002B98CC 7C 03 03 78 */ mr r3, r0 +lbl_802BC970: +/* 802BC970 002B98D0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC974 002B98D4 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC978 002B98D8 90 61 00 24 */ stw r3, 0x24(r1) +/* 802BC97C 002B98DC 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC980 002B98E0 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC984 002B98E4 90 81 00 20 */ stw r4, 0x20(r1) +/* 802BC988 002B98E8 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802BC98C 002B98EC EF C0 08 28 */ fsubs f30, f0, f1 +/* 802BC990 002B98F0 41 82 00 18 */ beq lbl_802BC9A8 +/* 802BC994 002B98F4 54 E3 0F FE */ srwi r3, r7, 0x1f +/* 802BC998 002B98F8 7C 63 3A 14 */ add r3, r3, r7 +/* 802BC99C 002B98FC 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC9A0 002B9900 7C 66 1A 14 */ add r3, r6, r3 +/* 802BC9A4 002B9904 48 00 00 08 */ b lbl_802BC9AC +lbl_802BC9A8: +/* 802BC9A8 002B9908 7C 66 3A 14 */ add r3, r6, r7 +lbl_802BC9AC: +/* 802BC9AC 002B990C 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 802BC9B0 002B9910 3C 80 43 30 */ lis r4, 0x4330 +/* 802BC9B4 002B9914 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802BC9B8 002B9918 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 802BC9BC 002B991C C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BC9C0 002B9920 90 81 00 28 */ stw r4, 0x28(r1) +/* 802BC9C4 002B9924 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802BC9C8 002B9928 EF A0 08 28 */ fsubs f29, f0, f1 +/* 802BC9CC 002B992C 41 82 00 18 */ beq lbl_802BC9E4 +/* 802BC9D0 002B9930 55 03 0F FE */ srwi r3, r8, 0x1f +/* 802BC9D4 002B9934 7C 63 42 14 */ add r3, r3, r8 +/* 802BC9D8 002B9938 7C 63 0E 70 */ srawi r3, r3, 1 +/* 802BC9DC 002B993C 7C 00 1A 14 */ add r0, r0, r3 +/* 802BC9E0 002B9940 48 00 00 08 */ b lbl_802BC9E8 +lbl_802BC9E4: +/* 802BC9E4 002B9944 7C 00 42 14 */ add r0, r0, r8 +lbl_802BC9E8: +/* 802BC9E8 002B9948 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 802BC9EC 002B994C 3C 00 43 30 */ lis r0, 0x4330 +/* 802BC9F0 002B9950 90 61 00 34 */ stw r3, 0x34(r1) +/* 802BC9F4 002B9954 FC 20 F8 90 */ fmr f1, f31 +/* 802BC9F8 002B9958 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) +/* 802BC9FC 002B995C FC 40 E8 90 */ fmr f2, f29 +/* 802BCA00 002B9960 90 01 00 30 */ stw r0, 0x30(r1) +/* 802BCA04 002B9964 FC 80 F0 90 */ fmr f4, f30 +/* 802BCA08 002B9968 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802BCA0C 002B996C EF 80 18 28 */ fsubs f28, f0, f3 +/* 802BCA10 002B9970 FC 60 E0 90 */ fmr f3, f28 +/* 802BCA14 002B9974 48 04 FB 41 */ bl SetOrtho__9CGraphicsFffffff +/* 802BCA18 002B9978 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BCA1C 002B997C 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BCA20 002B9980 48 04 FD 2D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BCA24 002B9984 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BCA28 002B9988 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BCA2C 002B998C 48 04 FB B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BCA30 002B9990 FC 20 E8 90 */ fmr f1, f29 +/* 802BCA34 002B9994 38 61 00 08 */ addi r3, r1, 8 +/* 802BCA38 002B9998 FC 40 E0 90 */ fmr f2, f28 +/* 802BCA3C 002B999C 48 05 77 C5 */ bl __ct__9CVector2fFff +/* 802BCA40 002B99A0 FC 20 F8 90 */ fmr f1, f31 +/* 802BCA44 002B99A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BCA48 002B99A8 FC 40 F0 90 */ fmr f2, f30 +/* 802BCA4C 002B99AC 48 05 77 B5 */ bl __ct__9CVector2fFff +/* 802BCA50 002B99B0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802BCA54 002B99B4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802BCA58 002B99B8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802BCA5C 002B99BC D0 1F 00 04 */ stfs f0, 4(r31) +/* 802BCA60 002B99C0 C0 01 00 08 */ lfs f0, 8(r1) +/* 802BCA64 002B99C4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 802BCA68 002B99C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802BCA6C 002B99CC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802BCA70 002B99D0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 802BCA74 002B99D4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 802BCA78 002B99D8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 802BCA7C 002B99DC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 802BCA80 002B99E0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 802BCA84 002B99E4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 802BCA88 002B99E8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 802BCA8C 002B99EC CB 81 00 40 */ lfd f28, 0x40(r1) +/* 802BCA90 002B99F0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802BCA94 002B99F4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802BCA98 002B99F8 7C 08 03 A6 */ mtlr r0 +/* 802BCA9C 002B99FC 38 21 00 80 */ addi r1, r1, 0x80 +/* 802BCAA0 002B9A00 4E 80 00 20 */ blr + +.global SetPerspective__13CCubeRendererFffff +SetPerspective__13CCubeRendererFffff: +/* 802BCAA4 002B9A04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAA8 002B9A08 7C 08 02 A6 */ mflr r0 +/* 802BCAAC 002B9A0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCAB0 002B9A10 48 04 F9 E1 */ bl SetPerspective__9CGraphicsFffff +/* 802BCAB4 002B9A14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCAB8 002B9A18 7C 08 03 A6 */ mtlr r0 +/* 802BCABC 002B9A1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCAC0 002B9A20 4E 80 00 20 */ blr + +.global SetPerspective__13CCubeRendererFfffff +SetPerspective__13CCubeRendererFfffff: +/* 802BCAC4 002B9A24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAC8 002B9A28 7C 08 02 A6 */ mflr r0 +/* 802BCACC 002B9A2C EC 42 18 24 */ fdivs f2, f2, f3 +/* 802BCAD0 002B9A30 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCAD4 002B9A34 FC 60 20 90 */ fmr f3, f4 +/* 802BCAD8 002B9A38 FC 80 28 90 */ fmr f4, f5 +/* 802BCADC 002B9A3C 48 04 F9 B5 */ bl SetPerspective__9CGraphicsFffff +/* 802BCAE0 002B9A40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCAE4 002B9A44 7C 08 03 A6 */ mtlr r0 +/* 802BCAE8 002B9A48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCAEC 002B9A4C 4E 80 00 20 */ blr + +.global SetAmbientColor__13CCubeRendererFRC6CColor +SetAmbientColor__13CCubeRendererFRC6CColor: +/* 802BCAF0 002B9A50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCAF4 002B9A54 7C 08 02 A6 */ mflr r0 +/* 802BCAF8 002B9A58 7C 83 23 78 */ mr r3, r4 +/* 802BCAFC 002B9A5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCB00 002B9A60 48 04 F5 1D */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BCB04 002B9A64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCB08 002B9A68 7C 08 03 A6 */ mtlr r0 +/* 802BCB0C 002B9A6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCB10 002B9A70 4E 80 00 20 */ blr + +.global EndPrimitive__13CCubeRendererFv +EndPrimitive__13CCubeRendererFv: +/* 802BCB14 002B9A74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCB18 002B9A78 7C 08 02 A6 */ mflr r0 +/* 802BCB1C 002B9A7C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802BCB20 002B9A80 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCB24 002B9A84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BCB28 002B9A88 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 802BCB2C 002B9A8C 93 C1 00 08 */ stw r30, 8(r1) +/* 802BCB30 002B9A90 7C 7E 1B 78 */ mr r30, r3 +/* 802BCB34 002B9A94 48 00 00 1C */ b lbl_802BCB50 +lbl_802BCB38: +/* 802BCB38 002B9A98 7F C3 F3 78 */ mr r3, r30 +/* 802BCB3C 002B9A9C 7F E4 FB 78 */ mr r4, r31 +/* 802BCB40 002B9AA0 81 9E 00 00 */ lwz r12, 0(r30) +/* 802BCB44 002B9AA4 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 802BCB48 002B9AA8 7D 89 03 A6 */ mtctr r12 +/* 802BCB4C 002B9AAC 4E 80 04 21 */ bctrl +lbl_802BCB50: +/* 802BCB50 002B9AB0 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 802BCB54 002B9AB4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BCB58 002B9AB8 40 82 FF E0 */ bne lbl_802BCB38 +/* 802BCB5C 002B9ABC 48 04 BA 25 */ bl End__3CGXFv +/* 802BCB60 002B9AC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCB64 002B9AC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BCB68 002B9AC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BCB6C 002B9ACC 7C 08 03 A6 */ mtlr r0 +/* 802BCB70 002B9AD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCB74 002B9AD4 4E 80 00 20 */ blr + +.global PrimNormal__13CCubeRendererFRC9CVector3f +PrimNormal__13CCubeRendererFRC9CVector3f: +/* 802BCB78 002B9AD8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802BCB7C 002B9ADC D0 03 02 E4 */ stfs f0, 0x2e4(r3) +/* 802BCB80 002B9AE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 802BCB84 002B9AE4 D0 03 02 E8 */ stfs f0, 0x2e8(r3) +/* 802BCB88 002B9AE8 C0 04 00 08 */ lfs f0, 8(r4) +/* 802BCB8C 002B9AEC D0 03 02 EC */ stfs f0, 0x2ec(r3) +/* 802BCB90 002B9AF0 4E 80 00 20 */ blr + +.global PrimVertex__13CCubeRendererFRC9CVector3f +PrimVertex__13CCubeRendererFRC9CVector3f: +/* 802BCB94 002B9AF4 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 802BCB98 002B9AF8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 802BCB9C 002B9AFC 38 06 FF FF */ addi r0, r6, -1 +/* 802BCBA0 002B9B00 90 03 00 18 */ stw r0, 0x18(r3) +/* 802BCBA4 002B9B04 C0 24 00 08 */ lfs f1, 8(r4) +/* 802BCBA8 002B9B08 C0 44 00 04 */ lfs f2, 4(r4) +/* 802BCBAC 002B9B0C C0 04 00 00 */ lfs f0, 0(r4) +/* 802BCBB0 002B9B10 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BCBB4 002B9B14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BCBB8 002B9B18 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BCBBC 002B9B1C C0 23 02 EC */ lfs f1, 0x2ec(r3) +/* 802BCBC0 002B9B20 C0 43 02 E8 */ lfs f2, 0x2e8(r3) +/* 802BCBC4 002B9B24 C0 03 02 E4 */ lfs f0, 0x2e4(r3) +/* 802BCBC8 002B9B28 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 802BCBCC 002B9B2C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 802BCBD0 002B9B30 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 802BCBD4 002B9B34 80 03 02 E0 */ lwz r0, 0x2e0(r3) +/* 802BCBD8 002B9B38 90 05 80 00 */ stw r0, 0xCC008000@l(r5) +/* 802BCBDC 002B9B3C 4E 80 00 20 */ blr + +.global BeginTriangleFan__13CCubeRendererFi +BeginTriangleFan__13CCubeRendererFi: +/* 802BCBE0 002B9B40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCBE4 002B9B44 7C 08 02 A6 */ mflr r0 +/* 802BCBE8 002B9B48 7C 85 23 78 */ mr r5, r4 +/* 802BCBEC 002B9B4C 38 80 00 A0 */ li r4, 0xa0 +/* 802BCBF0 002B9B50 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCBF4 002B9B54 48 00 00 B5 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCBF8 002B9B58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCBFC 002B9B5C 7C 08 03 A6 */ mtlr r0 +/* 802BCC00 002B9B60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC04 002B9B64 4E 80 00 20 */ blr + +.global BeginTriangleStrip__13CCubeRendererFi +BeginTriangleStrip__13CCubeRendererFi: +/* 802BCC08 002B9B68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC0C 002B9B6C 7C 08 02 A6 */ mflr r0 +/* 802BCC10 002B9B70 7C 85 23 78 */ mr r5, r4 +/* 802BCC14 002B9B74 38 80 00 98 */ li r4, 0x98 +/* 802BCC18 002B9B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC1C 002B9B7C 48 00 00 8D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC20 002B9B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC24 002B9B84 7C 08 03 A6 */ mtlr r0 +/* 802BCC28 002B9B88 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC2C 002B9B8C 4E 80 00 20 */ blr + +.global BeginTriangles__13CCubeRendererFi +BeginTriangles__13CCubeRendererFi: +/* 802BCC30 002B9B90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC34 002B9B94 7C 08 02 A6 */ mflr r0 +/* 802BCC38 002B9B98 7C 85 23 78 */ mr r5, r4 +/* 802BCC3C 002B9B9C 38 80 00 90 */ li r4, 0x90 +/* 802BCC40 002B9BA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC44 002B9BA4 48 00 00 65 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC48 002B9BA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC4C 002B9BAC 7C 08 03 A6 */ mtlr r0 +/* 802BCC50 002B9BB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC54 002B9BB4 4E 80 00 20 */ blr + +.global BeginLineStrip__13CCubeRendererFi +BeginLineStrip__13CCubeRendererFi: +/* 802BCC58 002B9BB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC5C 002B9BBC 7C 08 02 A6 */ mflr r0 +/* 802BCC60 002B9BC0 7C 85 23 78 */ mr r5, r4 +/* 802BCC64 002B9BC4 38 80 00 B0 */ li r4, 0xb0 +/* 802BCC68 002B9BC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC6C 002B9BCC 48 00 00 3D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC70 002B9BD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC74 002B9BD4 7C 08 03 A6 */ mtlr r0 +/* 802BCC78 002B9BD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCC7C 002B9BDC 4E 80 00 20 */ blr + +.global BeginLines__13CCubeRendererFi +BeginLines__13CCubeRendererFi: +/* 802BCC80 002B9BE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCC84 002B9BE4 7C 08 02 A6 */ mflr r0 +/* 802BCC88 002B9BE8 7C 85 23 78 */ mr r5, r4 +/* 802BCC8C 002B9BEC 38 80 00 A8 */ li r4, 0xa8 +/* 802BCC90 002B9BF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCC94 002B9BF4 48 00 00 15 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +/* 802BCC98 002B9BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCC9C 002B9BFC 7C 08 03 A6 */ mtlr r0 +/* 802BCCA0 002B9C00 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCCA4 002B9C04 4E 80 00 20 */ blr + +.global BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei +BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei: +/* 802BCCA8 002B9C08 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802BCCAC 002B9C0C 7C 08 02 A6 */ mflr r0 +/* 802BCCB0 002B9C10 3C C0 80 3D */ lis r6, lbl_803D6580@ha +/* 802BCCB4 002B9C14 38 E0 00 00 */ li r7, 0 +/* 802BCCB8 002B9C18 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BCCBC 002B9C1C 39 26 65 80 */ addi r9, r6, lbl_803D6580@l +/* 802BCCC0 002B9C20 38 C0 00 01 */ li r6, 1 +/* 802BCCC4 002B9C24 39 00 00 00 */ li r8, 0 +/* 802BCCC8 002B9C28 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 802BCCCC 002B9C2C 7C 79 1B 78 */ mr r25, r3 +/* 802BCCD0 002B9C30 7C 9A 23 78 */ mr r26, r4 +/* 802BCCD4 002B9C34 7C BB 2B 78 */ mr r27, r5 +/* 802BCCD8 002B9C38 38 60 00 00 */ li r3, 0 +/* 802BCCDC 002B9C3C 38 80 00 00 */ li r4, 0 +/* 802BCCE0 002B9C40 38 A0 00 00 */ li r5, 0 +/* 802BCCE4 002B9C44 83 89 00 00 */ lwz r28, 0(r9) +/* 802BCCE8 002B9C48 83 A9 00 04 */ lwz r29, 4(r9) +/* 802BCCEC 002B9C4C 83 C9 00 08 */ lwz r30, 8(r9) +/* 802BCCF0 002B9C50 83 E9 00 0C */ lwz r31, 0xc(r9) +/* 802BCCF4 002B9C54 81 89 00 10 */ lwz r12, 0x10(r9) +/* 802BCCF8 002B9C58 81 69 00 14 */ lwz r11, 0x14(r9) +/* 802BCCFC 002B9C5C 81 49 00 18 */ lwz r10, 0x18(r9) +/* 802BCD00 002B9C60 80 09 00 1C */ lwz r0, 0x1c(r9) +/* 802BCD04 002B9C64 39 20 00 02 */ li r9, 2 +/* 802BCD08 002B9C68 93 81 00 08 */ stw r28, 8(r1) +/* 802BCD0C 002B9C6C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802BCD10 002B9C70 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BCD14 002B9C74 93 E1 00 14 */ stw r31, 0x14(r1) +/* 802BCD18 002B9C78 91 81 00 18 */ stw r12, 0x18(r1) +/* 802BCD1C 002B9C7C 91 61 00 1C */ stw r11, 0x1c(r1) +/* 802BCD20 002B9C80 91 41 00 20 */ stw r10, 0x20(r1) +/* 802BCD24 002B9C84 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BCD28 002B9C88 48 04 BF A5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802BCD2C 002B9C8C 38 60 00 01 */ li r3, 1 +/* 802BCD30 002B9C90 48 04 C1 21 */ bl SetNumChans__3CGXFUc +/* 802BCD34 002B9C94 38 60 00 00 */ li r3, 0 +/* 802BCD38 002B9C98 48 04 C0 DD */ bl SetNumTexGens__3CGXFUc +/* 802BCD3C 002B9C9C 38 60 00 01 */ li r3, 1 +/* 802BCD40 002B9CA0 48 04 BF 51 */ bl SetNumTevStages__3CGXFUc +/* 802BCD44 002B9CA4 38 60 00 00 */ li r3, 0 +/* 802BCD48 002B9CA8 38 80 00 FF */ li r4, 0xff +/* 802BCD4C 002B9CAC 38 A0 00 FF */ li r5, 0xff +/* 802BCD50 002B9CB0 38 C0 00 04 */ li r6, 4 +/* 802BCD54 002B9CB4 48 04 BB F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802BCD58 002B9CB8 38 60 00 00 */ li r3, 0 +/* 802BCD5C 002B9CBC 38 80 00 0F */ li r4, 0xf +/* 802BCD60 002B9CC0 38 A0 00 0F */ li r5, 0xf +/* 802BCD64 002B9CC4 38 C0 00 0F */ li r6, 0xf +/* 802BCD68 002B9CC8 38 E0 00 0A */ li r7, 0xa +/* 802BCD6C 002B9CCC 48 04 BE 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802BCD70 002B9CD0 38 60 00 00 */ li r3, 0 +/* 802BCD74 002B9CD4 38 80 00 07 */ li r4, 7 +/* 802BCD78 002B9CD8 38 A0 00 07 */ li r5, 7 +/* 802BCD7C 002B9CDC 38 C0 00 07 */ li r6, 7 +/* 802BCD80 002B9CE0 38 E0 00 05 */ li r7, 5 +/* 802BCD84 002B9CE4 48 04 BE 11 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802BCD88 002B9CE8 38 60 00 00 */ li r3, 0 +/* 802BCD8C 002B9CEC 48 04 AE C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802BCD90 002B9CF0 93 79 00 18 */ stw r27, 0x18(r25) +/* 802BCD94 002B9CF4 38 61 00 08 */ addi r3, r1, 8 +/* 802BCD98 002B9CF8 48 04 B0 91 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802BCD9C 002B9CFC 7F 43 D3 78 */ mr r3, r26 +/* 802BCDA0 002B9D00 57 65 04 3E */ clrlwi r5, r27, 0x10 +/* 802BCDA4 002B9D04 38 80 00 00 */ li r4, 0 +/* 802BCDA8 002B9D08 48 04 B7 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802BCDAC 002B9D0C BB 21 00 34 */ lmw r25, 0x34(r1) +/* 802BCDB0 002B9D10 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BCDB4 002B9D14 7C 08 03 A6 */ mtlr r0 +/* 802BCDB8 002B9D18 38 21 00 50 */ addi r1, r1, 0x50 +/* 802BCDBC 002B9D1C 4E 80 00 20 */ blr + +.global PrimColor__13CCubeRendererFRC6CColor +PrimColor__13CCubeRendererFRC6CColor: +/* 802BCDC0 002B9D20 80 04 00 00 */ lwz r0, 0(r4) +/* 802BCDC4 002B9D24 90 03 02 E0 */ stw r0, 0x2e0(r3) +/* 802BCDC8 002B9D28 4E 80 00 20 */ blr + +.global PrimColor__13CCubeRendererFffff +PrimColor__13CCubeRendererFffff: +/* 802BCDCC 002B9D2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BCDD0 002B9D30 7C 08 02 A6 */ mflr r0 +/* 802BCDD4 002B9D34 38 63 02 E0 */ addi r3, r3, 0x2e0 +/* 802BCDD8 002B9D38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BCDDC 002B9D3C 48 0A 65 C1 */ bl Set__6CColorFffff +/* 802BCDE0 002B9D40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BCDE4 002B9D44 7C 08 03 A6 */ mtlr r0 +/* 802BCDE8 002B9D48 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BCDEC 002B9D4C 4E 80 00 20 */ blr + +.global AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: +/* 802BCDF0 002B9D50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BCDF4 002B9D54 7C 08 02 A6 */ mflr r0 +/* 802BCDF8 002B9D58 3C E0 80 3D */ lis r7, lbl_803D685C@ha +/* 802BCDFC 002B9D5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BCE00 002B9D60 38 07 68 5C */ addi r0, r7, lbl_803D685C@l +/* 802BCE04 002B9D64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BCE08 002B9D68 7C DF 33 78 */ mr r31, r6 +/* 802BCE0C 002B9D6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BCE10 002B9D70 7C BE 2B 78 */ mr r30, r5 +/* 802BCE14 002B9D74 38 A0 00 00 */ li r5, 0 +/* 802BCE18 002B9D78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BCE1C 002B9D7C 7C 9D 23 78 */ mr r29, r4 +/* 802BCE20 002B9D80 7C 04 03 78 */ mr r4, r0 +/* 802BCE24 002B9D84 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BCE28 002B9D88 7C 7C 1B 78 */ mr r28, r3 +/* 802BCE2C 002B9D8C 38 60 03 1C */ li r3, 0x31c +/* 802BCE30 002B9D90 48 00 31 A9 */ bl "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" +/* 802BCE34 002B9D94 7C 64 1B 79 */ or. r4, r3, r3 +/* 802BCE38 002B9D98 41 82 00 1C */ beq lbl_802BCE54 +/* 802BCE3C 002B9D9C 7F 84 E3 78 */ mr r4, r28 +/* 802BCE40 002B9DA0 7F A5 EB 78 */ mr r5, r29 +/* 802BCE44 002B9DA4 7F C6 F3 78 */ mr r6, r30 +/* 802BCE48 002B9DA8 7F E7 FB 78 */ mr r7, r31 +/* 802BCE4C 002B9DAC 48 00 22 15 */ bl __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +/* 802BCE50 002B9DB0 7C 64 1B 78 */ mr r4, r3 +lbl_802BCE54: +/* 802BCE54 002B9DB4 28 04 00 00 */ cmplwi r4, 0 +/* 802BCE58 002B9DB8 7C 80 23 78 */ mr r0, r4 +/* 802BCE5C 002B9DBC 41 82 00 08 */ beq lbl_802BCE64 +/* 802BCE60 002B9DC0 38 04 00 04 */ addi r0, r4, 4 +lbl_802BCE64: +/* 802BCE64 002B9DC4 90 0D 9A 90 */ stw r0, lbl_805A8650@sda21(r13) +/* 802BCE68 002B9DC8 7C 83 23 78 */ mr r3, r4 +/* 802BCE6C 002B9DCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BCE70 002B9DD0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BCE74 002B9DD4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BCE78 002B9DD8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BCE7C 002B9DDC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BCE80 002B9DE0 7C 08 03 A6 */ mtlr r0 +/* 802BCE84 002B9DE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BCE88 002B9DE8 4E 80 00 20 */ blr + +.global "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +"ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox": +/* 802BCE8C 002B9DEC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BCE90 002B9DF0 7C 08 02 A6 */ mflr r0 +/* 802BCE94 002B9DF4 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BCE98 002B9DF8 BE 01 00 50 */ stmw r16, 0x50(r1) +/* 802BCE9C 002B9DFC 7C 70 1B 78 */ mr r16, r3 +/* 802BCEA0 002B9E00 7C B1 2B 78 */ mr r17, r5 +/* 802BCEA4 002B9E04 3A E0 00 00 */ li r23, 0 +/* 802BCEA8 002B9E08 80 03 03 04 */ lwz r0, 0x304(r3) +/* 802BCEAC 002B9E0C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BCEB0 002B9E10 41 82 01 E0 */ beq lbl_802BD090 +/* 802BCEB4 002B9E14 3C 60 80 3D */ lis r3, lbl_803D6570@ha +/* 802BCEB8 002B9E18 28 04 00 00 */ cmplwi r4, 0 +/* 802BCEBC 002B9E1C 38 E3 65 70 */ addi r7, r3, lbl_803D6570@l +/* 802BCEC0 002B9E20 3B F1 00 20 */ addi r31, r17, 0x20 +/* 802BCEC4 002B9E24 80 C7 00 00 */ lwz r6, 0(r7) +/* 802BCEC8 002B9E28 3A C0 00 00 */ li r22, 0 +/* 802BCECC 002B9E2C 80 A7 00 04 */ lwz r5, 4(r7) +/* 802BCED0 002B9E30 3A A0 00 00 */ li r21, 0 +/* 802BCED4 002B9E34 80 67 00 08 */ lwz r3, 8(r7) +/* 802BCED8 002B9E38 39 00 00 00 */ li r8, 0 +/* 802BCEDC 002B9E3C 80 07 00 0C */ lwz r0, 0xc(r7) +/* 802BCEE0 002B9E40 90 C1 00 30 */ stw r6, 0x30(r1) +/* 802BCEE4 002B9E44 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802BCEE8 002B9E48 90 61 00 38 */ stw r3, 0x38(r1) +/* 802BCEEC 002B9E4C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802BCEF0 002B9E50 41 82 00 1C */ beq lbl_802BCF0C +/* 802BCEF4 002B9E54 80 11 00 44 */ lwz r0, 0x44(r17) +/* 802BCEF8 002B9E58 2C 00 FF FF */ cmpwi r0, -1 +/* 802BCEFC 002B9E5C 41 82 00 10 */ beq lbl_802BCF0C +/* 802BCF00 002B9E60 80 64 00 04 */ lwz r3, 4(r4) +/* 802BCF04 002B9E64 82 A4 00 28 */ lwz r21, 0x28(r4) +/* 802BCF08 002B9E68 81 03 00 14 */ lwz r8, 0x14(r3) +lbl_802BCF0C: +/* 802BCF0C 002B9E6C 3B 01 00 40 */ addi r24, r1, 0x40 +/* 802BCF10 002B9E70 7E BC AB 78 */ mr r28, r21 +/* 802BCF14 002B9E74 7F 19 C3 78 */ mr r25, r24 +/* 802BCF18 002B9E78 55 1B 10 3A */ slwi r27, r8, 2 +/* 802BCF1C 002B9E7C 3B 41 00 30 */ addi r26, r1, 0x30 +/* 802BCF20 002B9E80 3A 80 00 00 */ li r20, 0 +/* 802BCF24 002B9E84 3B A0 00 00 */ li r29, 0 +/* 802BCF28 002B9E88 48 00 01 54 */ b lbl_802BD07C +lbl_802BCF2C: +/* 802BCF2C 002B9E8C 80 10 03 0C */ lwz r0, 0x30c(r16) +/* 802BCF30 002B9E90 28 15 00 00 */ cmplwi r21, 0 +/* 802BCF34 002B9E94 7F C0 EA 14 */ add r30, r0, r29 +/* 802BCF38 002B9E98 41 82 00 18 */ beq lbl_802BCF50 +/* 802BCF3C 002B9E9C 80 91 00 44 */ lwz r4, 0x44(r17) +/* 802BCF40 002B9EA0 7F 83 E3 78 */ mr r3, r28 +/* 802BCF44 002B9EA4 4B FF 17 81 */ bl TestBit__13CCubeRendererFPCUii +/* 802BCF48 002B9EA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802BCF4C 002B9EAC 41 82 01 24 */ beq lbl_802BD070 +lbl_802BCF50: +/* 802BCF50 002B9EB0 7F 04 C3 78 */ mr r4, r24 +/* 802BCF54 002B9EB4 3A 60 00 00 */ li r19, 0 +/* 802BCF58 002B9EB8 3A 40 00 00 */ li r18, 0 +/* 802BCF5C 002B9EBC 7E C9 03 A6 */ mtctr r22 +/* 802BCF60 002B9EC0 2C 16 00 00 */ cmpwi r22, 0 +/* 802BCF64 002B9EC4 40 81 00 8C */ ble lbl_802BCFF0 +lbl_802BCF68: +/* 802BCF68 002B9EC8 80 64 00 00 */ lwz r3, 0(r4) +/* 802BCF6C 002B9ECC 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802BCF70 002B9ED0 7C 03 00 00 */ cmpw r3, r0 +/* 802BCF74 002B9ED4 40 82 00 70 */ bne lbl_802BCFE4 +/* 802BCF78 002B9ED8 7F C3 F3 78 */ mr r3, r30 +/* 802BCF7C 002B9EDC 48 04 93 59 */ bl GetRadius__6CLightCFv +/* 802BCF80 002B9EE0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802BCF84 002B9EE4 7F E3 FB 78 */ mr r3, r31 +/* 802BCF88 002B9EE8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802BCF8C 002B9EEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802BCF90 002B9EF0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BCF94 002B9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802BCF98 002B9EF8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BCF9C 002B9EFC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802BCFA0 002B9F00 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802BCFA4 002B9F04 48 01 59 45 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 802BCFA8 002B9F08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BCFAC 002B9F0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BCFB0 002B9F10 4C 41 13 82 */ cror 2, 1, 2 +/* 802BCFB4 002B9F14 40 82 00 3C */ bne lbl_802BCFF0 +/* 802BCFB8 002B9F18 56 40 10 3A */ slwi r0, r18, 2 +/* 802BCFBC 002B9F1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 802BCFC0 002B9F20 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802BCFC4 002B9F24 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BCFC8 002B9F28 40 81 00 28 */ ble lbl_802BCFF0 +/* 802BCFCC 002B9F2C 7C 23 05 2E */ stfsx f1, r3, r0 +/* 802BCFD0 002B9F30 7E 43 93 78 */ mr r3, r18 +/* 802BCFD4 002B9F34 7F C4 F3 78 */ mr r4, r30 +/* 802BCFD8 002B9F38 48 04 F9 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802BCFDC 002B9F3C 3A 60 00 01 */ li r19, 1 +/* 802BCFE0 002B9F40 48 00 00 10 */ b lbl_802BCFF0 +lbl_802BCFE4: +/* 802BCFE4 002B9F44 38 84 00 04 */ addi r4, r4, 4 +/* 802BCFE8 002B9F48 3A 52 00 01 */ addi r18, r18, 1 +/* 802BCFEC 002B9F4C 42 00 FF 7C */ bdnz lbl_802BCF68 +lbl_802BCFF0: +/* 802BCFF0 002B9F50 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 802BCFF4 002B9F54 40 82 00 7C */ bne lbl_802BD070 +/* 802BCFF8 002B9F58 7F C3 F3 78 */ mr r3, r30 +/* 802BCFFC 002B9F5C 48 04 92 D9 */ bl GetRadius__6CLightCFv +/* 802BD000 002B9F60 C0 1E 00 00 */ lfs f0, 0(r30) +/* 802BD004 002B9F64 7F E3 FB 78 */ mr r3, r31 +/* 802BD008 002B9F68 38 81 00 10 */ addi r4, r1, 0x10 +/* 802BD00C 002B9F6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802BD010 002B9F70 C0 1E 00 04 */ lfs f0, 4(r30) +/* 802BD014 002B9F74 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802BD018 002B9F78 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802BD01C 002B9F7C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802BD020 002B9F80 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802BD024 002B9F84 48 01 58 C5 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 802BD028 002B9F88 D0 3A 00 00 */ stfs f1, 0(r26) +/* 802BD02C 002B9F8C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BD030 002B9F90 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802BD034 002B9F94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BD038 002B9F98 4C 41 13 82 */ cror 2, 1, 2 +/* 802BD03C 002B9F9C 40 82 00 34 */ bne lbl_802BD070 +/* 802BD040 002B9FA0 7E C3 B3 78 */ mr r3, r22 +/* 802BD044 002B9FA4 7F C4 F3 78 */ mr r4, r30 +/* 802BD048 002B9FA8 48 04 F9 7D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 802BD04C 002B9FAC 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 802BD050 002B9FB0 38 60 00 01 */ li r3, 1 +/* 802BD054 002B9FB4 7C 63 B0 30 */ slw r3, r3, r22 +/* 802BD058 002B9FB8 3A D6 00 01 */ addi r22, r22, 1 +/* 802BD05C 002B9FBC 90 19 00 00 */ stw r0, 0(r25) +/* 802BD060 002B9FC0 7E E0 1B 78 */ or r0, r23, r3 +/* 802BD064 002B9FC4 54 17 06 3E */ clrlwi r23, r0, 0x18 +/* 802BD068 002B9FC8 3B 39 00 04 */ addi r25, r25, 4 +/* 802BD06C 002B9FCC 3B 5A 00 04 */ addi r26, r26, 4 +lbl_802BD070: +/* 802BD070 002B9FD0 7F 9C DA 14 */ add r28, r28, r27 +/* 802BD074 002B9FD4 3B BD 00 50 */ addi r29, r29, 0x50 +/* 802BD078 002B9FD8 3A 94 00 01 */ addi r20, r20, 1 +lbl_802BD07C: +/* 802BD07C 002B9FDC 80 10 03 04 */ lwz r0, 0x304(r16) +/* 802BD080 002B9FE0 7C 14 00 00 */ cmpw r20, r0 +/* 802BD084 002B9FE4 40 80 00 0C */ bge lbl_802BD090 +/* 802BD088 002B9FE8 2C 16 00 04 */ cmpwi r22, 4 +/* 802BD08C 002B9FEC 41 80 FE A0 */ blt lbl_802BCF2C +lbl_802BD090: +/* 802BD090 002B9FF0 56 E3 06 3F */ clrlwi. r3, r23, 0x18 +/* 802BD094 002B9FF4 41 82 00 20 */ beq lbl_802BD0B4 +/* 802BD098 002B9FF8 80 02 C2 6C */ lwz r0, lbl_805ADF8C@sda21(r2) +/* 802BD09C 002B9FFC 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD0A0 002BA000 48 04 F8 31 */ bl SetLightState__9CGraphicsFUc +/* 802BD0A4 002BA004 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD0A8 002BA008 38 60 00 00 */ li r3, 0 +/* 802BD0AC 002BA00C 48 04 BC B1 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802BD0B0 002BA010 48 00 00 20 */ b lbl_802BD0D0 +lbl_802BD0B4: +/* 802BD0B4 002BA014 48 04 F8 C9 */ bl DisableAllLights__9CGraphicsFv +/* 802BD0B8 002BA018 38 60 00 00 */ li r3, 0 +/* 802BD0BC 002BA01C 48 04 BC F1 */ bl GetChanAmbColor__3CGXFQ23CGX10EChannelId +/* 802BD0C0 002BA020 90 61 00 08 */ stw r3, 8(r1) +/* 802BD0C4 002BA024 38 81 00 08 */ addi r4, r1, 8 +/* 802BD0C8 002BA028 38 60 00 00 */ li r3, 0 +/* 802BD0CC 002BA02C 48 04 BC 91 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +lbl_802BD0D0: +/* 802BD0D0 002BA030 BA 01 00 50 */ lmw r16, 0x50(r1) +/* 802BD0D4 002BA034 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BD0D8 002BA038 7C 08 03 A6 */ mtlr r0 +/* 802BD0DC 002BA03C 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BD0E0 002BA040 4E 80 00 20 */ blr + +.global "DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD0E4 002BA044 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD0E8 002BA048 7C 08 02 A6 */ mflr r0 +/* 802BD0EC 002BA04C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD0F0 002BA050 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD0F4 002BA054 7C DF 33 78 */ mr r31, r6 +/* 802BD0F8 002BA058 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD0FC 002BA05C 7C BE 2B 78 */ mr r30, r5 +/* 802BD100 002BA060 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BD104 002BA064 7C 9D 23 78 */ mr r29, r4 +/* 802BD108 002BA068 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BD10C 002BA06C 7C 7C 1B 78 */ mr r28, r3 +/* 802BD110 002BA070 48 00 01 15 */ bl "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +/* 802BD114 002BA074 7F 83 E3 78 */ mr r3, r28 +/* 802BD118 002BA078 7F A4 EB 78 */ mr r4, r29 +/* 802BD11C 002BA07C 7F C5 F3 78 */ mr r5, r30 +/* 802BD120 002BA080 7F E6 FB 78 */ mr r6, r31 +/* 802BD124 002BA084 48 00 00 25 */ bl "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +/* 802BD128 002BA088 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD12C 002BA08C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD130 002BA090 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD134 002BA094 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BD138 002BA098 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BD13C 002BA09C 7C 08 03 A6 */ mtlr r0 +/* 802BD140 002BA0A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD144 002BA0A4 4E 80 00 20 */ blr + +.global "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD148 002BA0A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD14C 002BA0AC 7C 08 02 A6 */ mflr r0 +/* 802BD150 002BA0B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD154 002BA0B4 BF 41 00 08 */ stmw r26, 8(r1) +/* 802BD158 002BA0B8 7C 9B 23 78 */ mr r27, r4 +/* 802BD15C 002BA0BC 7C 7A 1B 78 */ mr r26, r3 +/* 802BD160 002BA0C0 38 80 00 01 */ li r4, 1 +/* 802BD164 002BA0C4 48 00 06 CD */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD168 002BA0C8 83 DA 00 20 */ lwz r30, 0x20(r26) +/* 802BD16C 002BA0CC 3B 80 00 00 */ li r28, 0 +/* 802BD170 002BA0D0 48 00 00 70 */ b lbl_802BD1E0 +lbl_802BD174: +/* 802BD174 002BA0D4 2C 1B FF FF */ cmpwi r27, -1 +/* 802BD178 002BA0D8 38 7E 00 08 */ addi r3, r30, 8 +/* 802BD17C 002BA0DC 41 82 00 10 */ beq lbl_802BD18C +/* 802BD180 002BA0E0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD184 002BA0E4 7C 1B 00 00 */ cmpw r27, r0 +/* 802BD188 002BA0E8 40 82 00 54 */ bne lbl_802BD1DC +lbl_802BD18C: +/* 802BD18C 002BA0EC 80 03 00 04 */ lwz r0, 4(r3) +/* 802BD190 002BA0F0 28 00 00 00 */ cmplwi r0, 0 +/* 802BD194 002BA0F4 41 82 00 08 */ beq lbl_802BD19C +/* 802BD198 002BA0F8 7C 7C 1B 78 */ mr r28, r3 +lbl_802BD19C: +/* 802BD19C 002BA0FC 83 E3 00 14 */ lwz r31, 0x14(r3) +/* 802BD1A0 002BA100 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 802BD1A4 002BA104 48 00 00 20 */ b lbl_802BD1C4 +lbl_802BD1A8: +/* 802BD1A8 002BA108 80 9D 00 04 */ lwz r4, 4(r29) +/* 802BD1AC 002BA10C 88 04 00 40 */ lbz r0, 0x40(r4) +/* 802BD1B0 002BA110 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BD1B4 002BA114 41 82 00 0C */ beq lbl_802BD1C0 +/* 802BD1B8 002BA118 7F 43 D3 78 */ mr r3, r26 +/* 802BD1BC 002BA11C 48 00 04 F5 */ bl AddWorldSurfaces__13CCubeRendererFR10CCubeModel +lbl_802BD1C0: +/* 802BD1C0 002BA120 3B BD 00 08 */ addi r29, r29, 8 +lbl_802BD1C4: +/* 802BD1C4 002BA124 80 1F 00 04 */ lwz r0, 4(r31) +/* 802BD1C8 002BA128 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802BD1CC 002BA12C 54 00 18 38 */ slwi r0, r0, 3 +/* 802BD1D0 002BA130 7C 03 02 14 */ add r0, r3, r0 +/* 802BD1D4 002BA134 7C 1D 00 40 */ cmplw r29, r0 +/* 802BD1D8 002BA138 40 82 FF D0 */ bne lbl_802BD1A8 +lbl_802BD1DC: +/* 802BD1DC 002BA13C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_802BD1E0: +/* 802BD1E0 002BA140 80 1A 00 24 */ lwz r0, 0x24(r26) +/* 802BD1E4 002BA144 7C 1E 00 40 */ cmplw r30, r0 +/* 802BD1E8 002BA148 40 82 FF 8C */ bne lbl_802BD174 +/* 802BD1EC 002BA14C 48 00 23 B9 */ bl Sort__7BucketsFv +/* 802BD1F0 002BA150 7F 43 D3 78 */ mr r3, r26 +/* 802BD1F4 002BA154 7F 84 E3 78 */ mr r4, r28 +/* 802BD1F8 002BA158 48 00 03 45 */ bl "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" +/* 802BD1FC 002BA15C 7F 43 D3 78 */ mr r3, r26 +/* 802BD200 002BA160 48 00 05 9D */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802BD204 002BA164 7F 43 D3 78 */ mr r3, r26 +/* 802BD208 002BA168 48 00 04 A5 */ bl DrawRenderBucketsDebug__13CCubeRendererFv +/* 802BD20C 002BA16C 48 00 21 A1 */ bl Clear__7BucketsFv +/* 802BD210 002BA170 BB 41 00 08 */ lmw r26, 8(r1) +/* 802BD214 002BA174 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD218 002BA178 7C 08 03 A6 */ mtlr r0 +/* 802BD21C 002BA17C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD220 002BA180 4E 80 00 20 */ blr + +.global "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" +"DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": +/* 802BD224 002BA184 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802BD228 002BA188 7C 08 02 A6 */ mflr r0 +/* 802BD22C 002BA18C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802BD230 002BA190 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 802BD234 002BA194 7C 96 23 78 */ mr r22, r4 +/* 802BD238 002BA198 7C 75 1B 78 */ mr r21, r3 +/* 802BD23C 002BA19C 7C B7 2B 78 */ mr r23, r5 +/* 802BD240 002BA1A0 7C D8 33 78 */ mr r24, r6 +/* 802BD244 002BA1A4 3B 60 00 00 */ li r27, 0 +/* 802BD248 002BA1A8 38 80 00 01 */ li r4, 1 +/* 802BD24C 002BA1AC 48 00 05 E5 */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD250 002BA1B0 83 B5 00 20 */ lwz r29, 0x20(r21) +/* 802BD254 002BA1B4 48 00 01 84 */ b lbl_802BD3D8 +lbl_802BD258: +/* 802BD258 002BA1B8 2C 16 FF FF */ cmpwi r22, -1 +/* 802BD25C 002BA1BC 38 9D 00 08 */ addi r4, r29, 8 +/* 802BD260 002BA1C0 41 82 00 10 */ beq lbl_802BD270 +/* 802BD264 002BA1C4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BD268 002BA1C8 7C 16 00 00 */ cmpw r22, r0 +/* 802BD26C 002BA1CC 40 82 01 68 */ bne lbl_802BD3D4 +lbl_802BD270: +/* 802BD270 002BA1D0 80 04 00 04 */ lwz r0, 4(r4) +/* 802BD274 002BA1D4 28 00 00 00 */ cmplwi r0, 0 +/* 802BD278 002BA1D8 41 82 00 08 */ beq lbl_802BD280 +/* 802BD27C 002BA1DC 7C 9B 23 78 */ mr r27, r4 +lbl_802BD280: +/* 802BD280 002BA1E0 88 15 00 DC */ lbz r0, 0xdc(r21) +/* 802BD284 002BA1E4 83 E4 00 14 */ lwz r31, 0x14(r4) +/* 802BD288 002BA1E8 28 00 00 00 */ cmplwi r0, 0 +/* 802BD28C 002BA1EC 41 82 00 0C */ beq lbl_802BD298 +/* 802BD290 002BA1F0 3B 55 00 C8 */ addi r26, r21, 0xc8 +/* 802BD294 002BA1F4 48 00 00 08 */ b lbl_802BD29C +lbl_802BD298: +/* 802BD298 002BA1F8 3B 40 00 00 */ li r26, 0 +lbl_802BD29C: +/* 802BD29C 002BA1FC 80 75 00 E0 */ lwz r3, 0xe0(r21) +/* 802BD2A0 002BA200 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BD2A4 002BA204 7C 03 00 00 */ cmpw r3, r0 +/* 802BD2A8 002BA208 41 82 00 08 */ beq lbl_802BD2B0 +/* 802BD2AC 002BA20C 3B 40 00 00 */ li r26, 0 +lbl_802BD2B0: +/* 802BD2B0 002BA210 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 802BD2B4 002BA214 3B 20 00 00 */ li r25, 0 +/* 802BD2B8 002BA218 48 00 01 04 */ b lbl_802BD3BC +lbl_802BD2BC: +/* 802BD2BC 002BA21C 28 1A 00 00 */ cmplwi r26, 0 +/* 802BD2C0 002BA220 83 DC 00 04 */ lwz r30, 4(r28) +/* 802BD2C4 002BA224 41 82 00 54 */ beq lbl_802BD318 +/* 802BD2C8 002BA228 7F 43 D3 78 */ mr r3, r26 +/* 802BD2CC 002BA22C 7F 24 CB 78 */ mr r4, r25 +/* 802BD2D0 002BA230 48 05 90 09 */ bl GetVisible__10CPVSVisSetCFi +/* 802BD2D4 002BA234 80 95 00 C4 */ lwz r4, 0xc4(r21) +/* 802BD2D8 002BA238 7C 03 00 D0 */ neg r0, r3 +/* 802BD2DC 002BA23C 7C 00 1B 78 */ or r0, r0, r3 +/* 802BD2E0 002BA240 2C 04 00 01 */ cmpwi r4, 1 +/* 802BD2E4 002BA244 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BD2E8 002BA248 40 82 00 0C */ bne lbl_802BD2F4 +/* 802BD2EC 002BA24C 28 00 00 00 */ cmplwi r0, 0 +/* 802BD2F0 002BA250 41 82 00 14 */ beq lbl_802BD304 +lbl_802BD2F4: +/* 802BD2F4 002BA254 2C 04 00 02 */ cmpwi r4, 2 +/* 802BD2F8 002BA258 40 82 00 20 */ bne lbl_802BD318 +/* 802BD2FC 002BA25C 28 00 00 00 */ cmplwi r0, 0 +/* 802BD300 002BA260 41 82 00 18 */ beq lbl_802BD318 +lbl_802BD304: +/* 802BD304 002BA264 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD308 002BA268 38 60 00 00 */ li r3, 0 +/* 802BD30C 002BA26C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD310 002BA270 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD314 002BA274 48 00 00 A0 */ b lbl_802BD3B4 +lbl_802BD318: +/* 802BD318 002BA278 88 1E 00 41 */ lbz r0, 0x41(r30) +/* 802BD31C 002BA27C 7E E0 00 38 */ and r0, r23, r0 +/* 802BD320 002BA280 7C 18 00 40 */ cmplw r24, r0 +/* 802BD324 002BA284 41 82 00 18 */ beq lbl_802BD33C +/* 802BD328 002BA288 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD32C 002BA28C 38 60 00 00 */ li r3, 0 +/* 802BD330 002BA290 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD334 002BA294 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD338 002BA298 48 00 00 7C */ b lbl_802BD3B4 +lbl_802BD33C: +/* 802BD33C 002BA29C 38 75 00 44 */ addi r3, r21, 0x44 +/* 802BD340 002BA2A0 38 9E 00 20 */ addi r4, r30, 0x20 +/* 802BD344 002BA2A4 48 08 7E 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 802BD348 002BA2A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802BD34C 002BA2AC 40 82 00 18 */ bne lbl_802BD364 +/* 802BD350 002BA2B0 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD354 002BA2B4 38 60 00 00 */ li r3, 0 +/* 802BD358 002BA2B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD35C 002BA2BC 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD360 002BA2C0 48 00 00 54 */ b lbl_802BD3B4 +lbl_802BD364: +/* 802BD364 002BA2C4 88 15 03 18 */ lbz r0, 0x318(r21) +/* 802BD368 002BA2C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BD36C 002BA2CC 41 82 00 28 */ beq lbl_802BD394 +/* 802BD370 002BA2D0 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD374 002BA2D4 38 60 00 00 */ li r3, 0 +/* 802BD378 002BA2D8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD37C 002BA2DC 7E A3 AB 78 */ mr r3, r21 +/* 802BD380 002BA2E0 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD384 002BA2E4 7F 64 DB 78 */ mr r4, r27 +/* 802BD388 002BA2E8 7F C5 F3 78 */ mr r5, r30 +/* 802BD38C 002BA2EC 48 00 00 75 */ bl "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +/* 802BD390 002BA2F0 48 00 00 24 */ b lbl_802BD3B4 +lbl_802BD394: +/* 802BD394 002BA2F4 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 802BD398 002BA2F8 38 60 00 01 */ li r3, 1 +/* 802BD39C 002BA2FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802BD3A0 002BA300 7E A3 AB 78 */ mr r3, r21 +/* 802BD3A4 002BA304 98 1E 00 40 */ stb r0, 0x40(r30) +/* 802BD3A8 002BA308 7F 64 DB 78 */ mr r4, r27 +/* 802BD3AC 002BA30C 7F C5 F3 78 */ mr r5, r30 +/* 802BD3B0 002BA310 48 00 00 F9 */ bl "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +lbl_802BD3B4: +/* 802BD3B4 002BA314 3B 9C 00 08 */ addi r28, r28, 8 +/* 802BD3B8 002BA318 3B 39 00 01 */ addi r25, r25, 1 +lbl_802BD3BC: +/* 802BD3BC 002BA31C 80 1F 00 04 */ lwz r0, 4(r31) +/* 802BD3C0 002BA320 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802BD3C4 002BA324 54 00 18 38 */ slwi r0, r0, 3 +/* 802BD3C8 002BA328 7C 03 02 14 */ add r0, r3, r0 +/* 802BD3CC 002BA32C 7C 1C 00 40 */ cmplw r28, r0 +/* 802BD3D0 002BA330 40 82 FE EC */ bne lbl_802BD2BC +lbl_802BD3D4: +/* 802BD3D4 002BA334 83 BD 00 04 */ lwz r29, 4(r29) +lbl_802BD3D8: +/* 802BD3D8 002BA338 80 15 00 24 */ lwz r0, 0x24(r21) +/* 802BD3DC 002BA33C 7C 1D 00 40 */ cmplw r29, r0 +/* 802BD3E0 002BA340 40 82 FE 78 */ bne lbl_802BD258 +/* 802BD3E4 002BA344 7E A3 AB 78 */ mr r3, r21 +/* 802BD3E8 002BA348 48 00 03 B5 */ bl SetupCGraphicsStates__13CCubeRendererFv +/* 802BD3EC 002BA34C BA A1 00 14 */ lmw r21, 0x14(r1) +/* 802BD3F0 002BA350 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802BD3F4 002BA354 7C 08 03 A6 */ mtlr r0 +/* 802BD3F8 002BA358 38 21 00 40 */ addi r1, r1, 0x40 +/* 802BD3FC 002BA35C 4E 80 00 20 */ blr + +.global "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +"HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": +/* 802BD400 002BA360 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BD404 002BA364 7C 08 02 A6 */ mflr r0 +/* 802BD408 002BA368 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BD40C 002BA36C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802BD410 002BA370 7C BD 2B 78 */ mr r29, r5 +/* 802BD414 002BA374 7C 7B 1B 78 */ mr r27, r3 +/* 802BD418 002BA378 7C 9C 23 78 */ mr r28, r4 +/* 802BD41C 002BA37C 7F A3 EB 78 */ mr r3, r29 +/* 802BD420 002BA380 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 802BD424 002BA384 83 C5 00 3C */ lwz r30, 0x3c(r5) +/* 802BD428 002BA388 48 04 A1 F9 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD42C 002BA38C 7F 63 DB 78 */ mr r3, r27 +/* 802BD430 002BA390 7F 84 E3 78 */ mr r4, r28 +/* 802BD434 002BA394 7F A5 EB 78 */ mr r5, r29 +/* 802BD438 002BA398 4B FF FA 55 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +/* 802BD43C 002BA39C 93 E1 00 08 */ stw r31, 8(r1) +/* 802BD440 002BA3A0 48 00 00 1C */ b lbl_802BD45C +lbl_802BD444: +/* 802BD444 002BA3A4 7F A3 EB 78 */ mr r3, r29 +/* 802BD448 002BA3A8 38 81 00 08 */ addi r4, r1, 8 +/* 802BD44C 002BA3AC 48 04 9A 8D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 802BD450 002BA3B0 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD454 002BA3B4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD458 002BA3B8 90 01 00 08 */ stw r0, 8(r1) +lbl_802BD45C: +/* 802BD45C 002BA3BC 80 01 00 08 */ lwz r0, 8(r1) +/* 802BD460 002BA3C0 28 00 00 00 */ cmplwi r0, 0 +/* 802BD464 002BA3C4 40 82 FF E0 */ bne lbl_802BD444 +/* 802BD468 002BA3C8 93 C1 00 08 */ stw r30, 8(r1) +/* 802BD46C 002BA3CC 48 00 00 1C */ b lbl_802BD488 +lbl_802BD470: +/* 802BD470 002BA3D0 7F A3 EB 78 */ mr r3, r29 +/* 802BD474 002BA3D4 38 81 00 08 */ addi r4, r1, 8 +/* 802BD478 002BA3D8 48 04 9A 61 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 802BD47C 002BA3DC 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD480 002BA3E0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD484 002BA3E4 90 01 00 08 */ stw r0, 8(r1) +lbl_802BD488: +/* 802BD488 002BA3E8 80 01 00 08 */ lwz r0, 8(r1) +/* 802BD48C 002BA3EC 28 00 00 00 */ cmplwi r0, 0 +/* 802BD490 002BA3F0 40 82 FF E0 */ bne lbl_802BD470 +/* 802BD494 002BA3F4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802BD498 002BA3F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BD49C 002BA3FC 7C 08 03 A6 */ mtlr r0 +/* 802BD4A0 002BA400 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BD4A4 002BA404 4E 80 00 20 */ blr + +.global "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" +"HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": +/* 802BD4A8 002BA408 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD4AC 002BA40C 7C 08 02 A6 */ mflr r0 +/* 802BD4B0 002BA410 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD4B4 002BA414 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD4B8 002BA418 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD4BC 002BA41C 7C BE 2B 78 */ mr r30, r5 +/* 802BD4C0 002BA420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BD4C4 002BA424 7C 9D 23 78 */ mr r29, r4 +/* 802BD4C8 002BA428 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BD4CC 002BA42C 7C 7C 1B 78 */ mr r28, r3 +/* 802BD4D0 002BA430 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 802BD4D4 002BA434 28 1F 00 00 */ cmplwi r31, 0 +/* 802BD4D8 002BA438 41 82 00 44 */ beq lbl_802BD51C +/* 802BD4DC 002BA43C 7F C3 F3 78 */ mr r3, r30 +/* 802BD4E0 002BA440 48 04 A1 41 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD4E4 002BA444 7F 83 E3 78 */ mr r3, r28 +/* 802BD4E8 002BA448 7F A4 EB 78 */ mr r4, r29 +/* 802BD4EC 002BA44C 7F C5 F3 78 */ mr r5, r30 +/* 802BD4F0 002BA450 4B FF F9 9D */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +/* 802BD4F4 002BA454 93 E1 00 08 */ stw r31, 8(r1) +lbl_802BD4F8: +/* 802BD4F8 002BA458 7F C3 F3 78 */ mr r3, r30 +/* 802BD4FC 002BA45C 38 81 00 08 */ addi r4, r1, 8 +/* 802BD500 002BA460 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 +/* 802BD504 002BA464 48 04 9F 41 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802BD508 002BA468 80 61 00 08 */ lwz r3, 8(r1) +/* 802BD50C 002BA46C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD510 002BA470 28 00 00 00 */ cmplwi r0, 0 +/* 802BD514 002BA474 90 01 00 08 */ stw r0, 8(r1) +/* 802BD518 002BA478 40 82 FF E0 */ bne lbl_802BD4F8 +lbl_802BD51C: +/* 802BD51C 002BA47C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD520 002BA480 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD524 002BA484 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD528 002BA488 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BD52C 002BA48C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BD530 002BA490 7C 08 03 A6 */ mtlr r0 +/* 802BD534 002BA494 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD538 002BA498 4E 80 00 20 */ blr + +.global "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" +"RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>": +/* 802BD53C 002BA49C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802BD540 002BA4A0 7C 08 02 A6 */ mflr r0 +/* 802BD544 002BA4A4 3C A0 80 47 */ lis r5, lbl_8046E20C@ha +/* 802BD548 002BA4A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802BD54C 002BA4AC BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802BD550 002BA4B0 3B E5 E2 0C */ addi r31, r5, lbl_8046E20C@l +/* 802BD554 002BA4B4 7C 9B 23 78 */ mr r27, r4 +/* 802BD558 002BA4B8 7C 7A 1B 78 */ mr r26, r3 +/* 802BD55C 002BA4BC 38 80 FF FF */ li r4, -1 +/* 802BD560 002BA4C0 3B 9F 00 04 */ addi r28, r31, 4 +/* 802BD564 002BA4C4 3B A0 00 00 */ li r29, 0 +/* 802BD568 002BA4C8 83 CD A6 10 */ lwz r30, lbl_805A91D0@sda21(r13) +/* 802BD56C 002BA4CC 48 00 01 14 */ b lbl_802BD680 +lbl_802BD570: +/* 802BD570 002BA4D0 A0 1C 00 00 */ lhz r0, 0(r28) +/* 802BD574 002BA4D4 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BD578 002BA4D8 7F 3E 02 14 */ add r25, r30, r0 +/* 802BD57C 002BA4DC 3B 19 00 08 */ addi r24, r25, 8 +/* 802BD580 002BA4E0 3B 39 00 04 */ addi r25, r25, 4 +/* 802BD584 002BA4E4 48 00 00 E0 */ b lbl_802BD664 +lbl_802BD588: +/* 802BD588 002BA4E8 82 F8 00 00 */ lwz r23, 0(r24) +/* 802BD58C 002BA4EC A2 D7 00 00 */ lhz r22, 0(r23) +/* 802BD590 002BA4F0 2C 16 00 01 */ cmpwi r22, 1 +/* 802BD594 002BA4F4 41 82 00 14 */ beq lbl_802BD5A8 +/* 802BD598 002BA4F8 40 80 00 94 */ bge lbl_802BD62C +/* 802BD59C 002BA4FC 2C 16 00 00 */ cmpwi r22, 0 +/* 802BD5A0 002BA500 40 80 00 30 */ bge lbl_802BD5D0 +/* 802BD5A4 002BA504 48 00 00 88 */ b lbl_802BD62C +lbl_802BD5A8: +/* 802BD5A8 002BA508 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD5AC 002BA50C 41 82 00 0C */ beq lbl_802BD5B8 +/* 802BD5B0 002BA510 7F 43 D3 78 */ mr r3, r26 +/* 802BD5B4 002BA514 48 00 01 E9 */ bl SetupCGraphicsStates__13CCubeRendererFv +lbl_802BD5B8: +/* 802BD5B8 002BA518 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD5BC 002BA51C 81 83 00 00 */ lwz r12, 0(r3) +/* 802BD5C0 002BA520 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802BD5C4 002BA524 7D 89 03 A6 */ mtctr r12 +/* 802BD5C8 002BA528 4E 80 04 21 */ bctrl +/* 802BD5CC 002BA52C 48 00 00 90 */ b lbl_802BD65C +lbl_802BD5D0: +/* 802BD5D0 002BA530 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD5D4 002BA534 41 82 00 14 */ beq lbl_802BD5E8 +/* 802BD5D8 002BA538 7F 43 D3 78 */ mr r3, r26 +/* 802BD5DC 002BA53C 38 80 00 00 */ li r4, 0 +/* 802BD5E0 002BA540 48 00 02 51 */ bl SetupRendererStates__13CCubeRendererFb +/* 802BD5E4 002BA544 3B A0 00 00 */ li r29, 0 +lbl_802BD5E8: +/* 802BD5E8 002BA548 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD5EC 002BA54C 90 61 00 08 */ stw r3, 8(r1) +/* 802BD5F0 002BA550 82 E3 00 14 */ lwz r23, 0x14(r3) +/* 802BD5F4 002BA554 7C 17 E8 40 */ cmplw r23, r29 +/* 802BD5F8 002BA558 41 82 00 20 */ beq lbl_802BD618 +/* 802BD5FC 002BA55C 7E E3 BB 78 */ mr r3, r23 +/* 802BD600 002BA560 48 04 A0 21 */ bl SetArraysCurrent__10CCubeModelCFv +/* 802BD604 002BA564 7E FD BB 78 */ mr r29, r23 +/* 802BD608 002BA568 7F 43 D3 78 */ mr r3, r26 +/* 802BD60C 002BA56C 7F 64 DB 78 */ mr r4, r27 +/* 802BD610 002BA570 7E E5 BB 78 */ mr r5, r23 +/* 802BD614 002BA574 4B FF F8 79 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" +lbl_802BD618: +/* 802BD618 002BA578 7E E3 BB 78 */ mr r3, r23 +/* 802BD61C 002BA57C 38 81 00 08 */ addi r4, r1, 8 +/* 802BD620 002BA580 38 AD A5 FC */ addi r5, r13, lbl_805A91BC@sda21 +/* 802BD624 002BA584 48 04 9E 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 802BD628 002BA588 48 00 00 34 */ b lbl_802BD65C +lbl_802BD62C: +/* 802BD62C 002BA58C 7C 04 B0 00 */ cmpw r4, r22 +/* 802BD630 002BA590 41 82 00 08 */ beq lbl_802BD638 +/* 802BD634 002BA594 48 08 96 D1 */ bl EnsureTevsDirect__13CCubeMaterialFv +lbl_802BD638: +/* 802BD638 002BA598 81 9A 00 A8 */ lwz r12, 0xa8(r26) +/* 802BD63C 002BA59C 28 0C 00 00 */ cmplwi r12, 0 +/* 802BD640 002BA5A0 41 82 00 1C */ beq lbl_802BD65C +/* 802BD644 002BA5A4 A0 97 00 00 */ lhz r4, 0(r23) +/* 802BD648 002BA5A8 80 77 00 04 */ lwz r3, 4(r23) +/* 802BD64C 002BA5AC 38 A4 FF FE */ addi r5, r4, -2 +/* 802BD650 002BA5B0 80 9A 00 AC */ lwz r4, 0xac(r26) +/* 802BD654 002BA5B4 7D 89 03 A6 */ mtctr r12 +/* 802BD658 002BA5B8 4E 80 04 21 */ bctrl +lbl_802BD65C: +/* 802BD65C 002BA5BC 7E C4 B3 78 */ mr r4, r22 +/* 802BD660 002BA5C0 3B 18 00 04 */ addi r24, r24, 4 +lbl_802BD664: +/* 802BD664 002BA5C4 80 19 00 00 */ lwz r0, 0(r25) +/* 802BD668 002BA5C8 54 00 10 3A */ slwi r0, r0, 2 +/* 802BD66C 002BA5CC 7C 79 02 14 */ add r3, r25, r0 +/* 802BD670 002BA5D0 38 03 00 04 */ addi r0, r3, 4 +/* 802BD674 002BA5D4 7C 18 00 40 */ cmplw r24, r0 +/* 802BD678 002BA5D8 40 82 FF 10 */ bne lbl_802BD588 +/* 802BD67C 002BA5DC 3B 9C 00 02 */ addi r28, r28, 2 +lbl_802BD680: +/* 802BD680 002BA5E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 802BD684 002BA5E4 54 00 08 3C */ slwi r0, r0, 1 +/* 802BD688 002BA5E8 7C 7F 02 14 */ add r3, r31, r0 +/* 802BD68C 002BA5EC 38 03 00 04 */ addi r0, r3, 4 +/* 802BD690 002BA5F0 7C 1C 00 40 */ cmplw r28, r0 +/* 802BD694 002BA5F4 40 82 FE DC */ bne lbl_802BD570 +/* 802BD698 002BA5F8 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802BD69C 002BA5FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802BD6A0 002BA600 7C 08 03 A6 */ mtlr r0 +/* 802BD6A4 002BA604 38 21 00 40 */ addi r1, r1, 0x40 +/* 802BD6A8 002BA608 4E 80 00 20 */ blr + +.global DrawRenderBucketsDebug__13CCubeRendererFv +DrawRenderBucketsDebug__13CCubeRendererFv: +/* 802BD6AC 002BA60C 4E 80 00 20 */ blr + +.global AddWorldSurfaces__13CCubeRendererFR10CCubeModel +AddWorldSurfaces__13CCubeRendererFR10CCubeModel: +/* 802BD6B0 002BA610 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802BD6B4 002BA614 7C 08 02 A6 */ mflr r0 +/* 802BD6B8 002BA618 90 01 00 74 */ stw r0, 0x74(r1) +/* 802BD6BC 002BA61C BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 802BD6C0 002BA620 7C 9B 23 78 */ mr r27, r4 +/* 802BD6C4 002BA624 3C 80 00 05 */ lis r4, 0x00050004@ha +/* 802BD6C8 002BA628 3B A3 00 B0 */ addi r29, r3, 0xb0 +/* 802BD6CC 002BA62C 3B E4 00 04 */ addi r31, r4, 0x00050004@l +/* 802BD6D0 002BA630 80 1B 00 3C */ lwz r0, 0x3c(r27) +/* 802BD6D4 002BA634 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD6D8 002BA638 48 00 00 A4 */ b lbl_802BD77C +lbl_802BD6DC: +/* 802BD6DC 002BA63C 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802BD6E0 002BA640 7F 64 DB 78 */ mr r4, r27 +/* 802BD6E4 002BA644 38 61 00 08 */ addi r3, r1, 8 +/* 802BD6E8 002BA648 48 04 9E 25 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 802BD6EC 002BA64C 38 61 00 08 */ addi r3, r1, 8 +/* 802BD6F0 002BA650 48 08 80 5D */ bl GetCompressedBlend__13CCubeMaterialCFv +/* 802BD6F4 002BA654 7C 7E 1B 78 */ mr r30, r3 +/* 802BD6F8 002BA658 38 61 00 1C */ addi r3, r1, 0x1c +/* 802BD6FC 002BA65C 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD700 002BA660 48 08 AB B1 */ bl GetBounds__12CCubeSurfaceCFv +/* 802BD704 002BA664 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802BD708 002BA668 7C 1E F8 50 */ subf r0, r30, r31 +/* 802BD70C 002BA66C C0 81 00 20 */ lfs f4, 0x20(r1) +/* 802BD710 002BA670 7C 00 00 34 */ cntlzw r0, r0 +/* 802BD714 002BA674 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802BD718 002BA678 7F A5 EB 78 */ mr r5, r29 +/* 802BD71C 002BA67C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802BD720 002BA680 54 1E D9 7E */ srwi r30, r0, 5 +/* 802BD724 002BA684 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802BD728 002BA688 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BD72C 002BA68C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BD730 002BA690 38 81 00 34 */ addi r4, r1, 0x34 +/* 802BD734 002BA694 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 802BD738 002BA698 83 81 00 0C */ lwz r28, 0xc(r1) +/* 802BD73C 002BA69C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 802BD740 002BA6A0 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802BD744 002BA6A4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802BD748 002BA6A8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802BD74C 002BA6AC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802BD750 002BA6B0 48 07 9A 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD754 002BA6B4 7F 86 E3 78 */ mr r6, r28 +/* 802BD758 002BA6B8 7F A7 EB 78 */ mr r7, r29 +/* 802BD75C 002BA6BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BD760 002BA6C0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802BD764 002BA6C4 57 C8 04 3E */ clrlwi r8, r30, 0x10 +/* 802BD768 002BA6C8 38 A0 00 00 */ li r5, 0 +/* 802BD76C 002BA6CC 48 00 25 AD */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +/* 802BD770 002BA6D0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802BD774 002BA6D4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802BD778 002BA6D8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802BD77C: +/* 802BD77C 002BA6DC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802BD780 002BA6E0 28 03 00 00 */ cmplwi r3, 0 +/* 802BD784 002BA6E4 40 82 FF 58 */ bne lbl_802BD6DC +/* 802BD788 002BA6E8 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 802BD78C 002BA6EC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802BD790 002BA6F0 7C 08 03 A6 */ mtlr r0 +/* 802BD794 002BA6F4 38 21 00 70 */ addi r1, r1, 0x70 +/* 802BD798 002BA6F8 4E 80 00 20 */ blr + +.global SetupCGraphicsStates__13CCubeRendererFv +SetupCGraphicsStates__13CCubeRendererFv: +/* 802BD79C 002BA6FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BD7A0 002BA700 7C 08 02 A6 */ mflr r0 +/* 802BD7A4 002BA704 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BD7A8 002BA708 80 02 C2 68 */ lwz r0, lbl_805ADF88@sda21(r2) +/* 802BD7AC 002BA70C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD7B0 002BA710 48 04 F1 CD */ bl DisableAllLights__9CGraphicsFv +/* 802BD7B4 002BA714 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BD7B8 002BA718 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BD7BC 002BA71C 48 04 EE 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BD7C0 002BA720 48 04 B6 E9 */ bl ResetStates__13CTevCombinersFv +/* 802BD7C4 002BA724 C0 22 C3 08 */ lfs f1, lbl_805AE028@sda21(r2) +/* 802BD7C8 002BA728 38 61 00 08 */ addi r3, r1, 8 +/* 802BD7CC 002BA72C C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) +/* 802BD7D0 002BA730 FC 40 08 90 */ fmr f2, f1 +/* 802BD7D4 002BA734 FC 60 08 90 */ fmr f3, f1 +/* 802BD7D8 002BA738 48 0A 5C 15 */ bl __ct__6CColorFffff +/* 802BD7DC 002BA73C 48 04 E8 41 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BD7E0 002BA740 38 81 00 0C */ addi r4, r1, 0xc +/* 802BD7E4 002BA744 38 60 00 00 */ li r3, 0 +/* 802BD7E8 002BA748 48 04 B5 75 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 802BD7EC 002BA74C 38 60 00 01 */ li r3, 1 +/* 802BD7F0 002BA750 38 80 00 03 */ li r4, 3 +/* 802BD7F4 002BA754 38 A0 00 01 */ li r5, 1 +/* 802BD7F8 002BA758 48 04 E2 9D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BD7FC 002BA75C 38 60 00 01 */ li r3, 1 +/* 802BD800 002BA760 38 80 00 00 */ li r4, 0 +/* 802BD804 002BA764 38 A0 00 00 */ li r5, 0 +/* 802BD808 002BA768 38 C0 00 00 */ li r6, 0 +/* 802BD80C 002BA76C 38 E0 00 00 */ li r7, 0 +/* 802BD810 002BA770 39 00 00 00 */ li r8, 0 +/* 802BD814 002BA774 39 20 00 02 */ li r9, 2 +/* 802BD818 002BA778 48 04 B4 B5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802BD81C 002BA77C 48 08 94 E9 */ bl EnsureTevsDirect__13CCubeMaterialFv +/* 802BD820 002BA780 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BD824 002BA784 7C 08 03 A6 */ mtlr r0 +/* 802BD828 002BA788 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BD82C 002BA78C 4E 80 00 20 */ blr + +.global SetupRendererStates__13CCubeRendererFb +SetupRendererStates__13CCubeRendererFb: +/* 802BD830 002BA790 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BD834 002BA794 7C 08 02 A6 */ mflr r0 +/* 802BD838 002BA798 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BD83C 002BA79C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BD840 002BA7A0 7C 9F 23 78 */ mr r31, r4 +/* 802BD844 002BA7A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BD848 002BA7A8 7C 7E 1B 78 */ mr r30, r3 +/* 802BD84C 002BA7AC 48 04 F1 31 */ bl DisableAllLights__9CGraphicsFv +/* 802BD850 002BA7B0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BD854 002BA7B4 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BD858 002BA7B8 48 04 ED 89 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BD85C 002BA7BC 38 00 00 00 */ li r0, 0 +/* 802BD860 002BA7C0 38 61 00 0C */ addi r3, r1, 0xc +/* 802BD864 002BA7C4 90 01 00 0C */ stw r0, 0xc(r1) +/* 802BD868 002BA7C8 48 04 E7 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 802BD86C 002BA7CC 57 E5 06 3E */ clrlwi r5, r31, 0x18 +/* 802BD870 002BA7D0 38 60 00 01 */ li r3, 1 +/* 802BD874 002BA7D4 38 80 00 03 */ li r4, 3 +/* 802BD878 002BA7D8 48 04 E2 1D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BD87C 002BA7DC 48 08 80 91 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 802BD880 002BA7E0 80 1E 02 FC */ lwz r0, 0x2fc(r30) +/* 802BD884 002BA7E4 38 81 00 08 */ addi r4, r1, 8 +/* 802BD888 002BA7E8 38 60 00 02 */ li r3, 2 +/* 802BD88C 002BA7EC 90 01 00 08 */ stw r0, 8(r1) +/* 802BD890 002BA7F0 48 0B DD 6D */ bl GXSetTevColor +/* 802BD894 002BA7F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BD898 002BA7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BD89C 002BA7FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BD8A0 002BA800 7C 08 03 A6 */ mtlr r0 +/* 802BD8A4 002BA804 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BD8A8 002BA808 4E 80 00 20 */ blr + +.global AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting +AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting: +/* 802BD8AC 002BA80C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BD8B0 002BA810 7C 08 02 A6 */ mflr r0 +/* 802BD8B4 002BA814 2C 08 00 01 */ cmpwi r8, 1 +/* 802BD8B8 002BA818 7C 68 1B 78 */ mr r8, r3 +/* 802BD8BC 002BA81C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BD8C0 002BA820 7C 80 23 78 */ mr r0, r4 +/* 802BD8C4 002BA824 40 82 00 20 */ bne lbl_802BD8E4 +/* 802BD8C8 002BA828 81 88 00 A8 */ lwz r12, 0xa8(r8) +/* 802BD8CC 002BA82C 7C 03 03 78 */ mr r3, r0 +/* 802BD8D0 002BA830 7C E5 3B 78 */ mr r5, r7 +/* 802BD8D4 002BA834 80 88 00 AC */ lwz r4, 0xac(r8) +/* 802BD8D8 002BA838 7D 89 03 A6 */ mtctr r12 +/* 802BD8DC 002BA83C 4E 80 04 21 */ bctrl +/* 802BD8E0 002BA840 48 00 00 20 */ b lbl_802BD900 +lbl_802BD8E4: +/* 802BD8E4 002BA844 7C A3 2B 78 */ mr r3, r5 +/* 802BD8E8 002BA848 7C C4 33 78 */ mr r4, r6 +/* 802BD8EC 002BA84C 7C 06 03 78 */ mr r6, r0 +/* 802BD8F0 002BA850 38 A7 00 02 */ addi r5, r7, 2 +/* 802BD8F4 002BA854 38 E8 00 B0 */ addi r7, r8, 0xb0 +/* 802BD8F8 002BA858 39 00 00 00 */ li r8, 0 +/* 802BD8FC 002BA85C 48 00 24 1D */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +lbl_802BD900: +/* 802BD900 002BA860 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BD904 002BA864 7C 08 03 A6 */ mtlr r0 +/* 802BD908 002BA868 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BD90C 002BA86C 4E 80 00 20 */ blr + +.global AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei +AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei: +/* 802BD910 002BA870 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802BD914 002BA874 7C 08 02 A6 */ mflr r0 +/* 802BD918 002BA878 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BD91C 002BA87C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802BD920 002BA880 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802BD924 002BA884 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802BD928 002BA888 88 0D A6 29 */ lbz r0, lbl_805A91E9@sda21(r13) +/* 802BD92C 002BA88C 7C 7B 1B 78 */ mr r27, r3 +/* 802BD930 002BA890 7C 9C 23 78 */ mr r28, r4 +/* 802BD934 002BA894 7C BD 2B 78 */ mr r29, r5 +/* 802BD938 002BA898 7C 00 07 75 */ extsb. r0, r0 +/* 802BD93C 002BA89C 7C DE 33 78 */ mr r30, r6 +/* 802BD940 002BA8A0 7C FF 3B 78 */ mr r31, r7 +/* 802BD944 002BA8A4 40 82 00 24 */ bne lbl_802BD968 +/* 802BD948 002BA8A8 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BD94C 002BA8AC 3C 60 80 48 */ lis r3, lbl_8047916C@ha +/* 802BD950 002BA8B0 38 00 00 01 */ li r0, 1 +/* 802BD954 002BA8B4 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BD958 002BA8B8 D4 23 91 6C */ stfsu f1, lbl_8047916C@l(r3) +/* 802BD95C 002BA8BC D0 23 00 04 */ stfs f1, 4(r3) +/* 802BD960 002BA8C0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BD964 002BA8C4 98 0D A6 29 */ stb r0, lbl_805A91E9@sda21(r13) +lbl_802BD968: +/* 802BD968 002BA8C8 7F A4 EB 78 */ mr r4, r29 +/* 802BD96C 002BA8CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BD970 002BA8D0 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 802BD974 002BA8D4 48 07 98 69 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD978 002BA8D8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BD97C 002BA8DC 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 802BD980 002BA8E0 C0 3B 00 B4 */ lfs f1, 0xb4(r27) +/* 802BD984 002BA8E4 7F A4 EB 78 */ mr r4, r29 +/* 802BD988 002BA8E8 C0 5B 00 B0 */ lfs f2, 0xb0(r27) +/* 802BD98C 002BA8EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BD990 002BA8F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BD994 002BA8F4 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BD998 002BA8F8 C0 9B 00 B8 */ lfs f4, 0xb8(r27) +/* 802BD99C 002BA8FC C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802BD9A0 002BA900 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BD9A4 002BA904 C0 1B 00 BC */ lfs f0, 0xbc(r27) +/* 802BD9A8 002BA908 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802BD9AC 002BA90C EF E1 00 28 */ fsubs f31, f1, f0 +/* 802BD9B0 002BA910 48 07 98 6D */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BD9B4 002BA914 C0 5B 00 B4 */ lfs f2, 0xb4(r27) +/* 802BD9B8 002BA918 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802BD9BC 002BA91C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BD9C0 002BA920 EC 22 00 72 */ fmuls f1, f2, f1 +/* 802BD9C4 002BA924 C0 7B 00 B0 */ lfs f3, 0xb0(r27) +/* 802BD9C8 002BA928 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802BD9CC 002BA92C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802BD9D0 002BA930 C0 9B 00 B8 */ lfs f4, 0xb8(r27) +/* 802BD9D4 002BA934 EC 43 08 BA */ fmadds f2, f3, f2, f1 +/* 802BD9D8 002BA938 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 802BD9DC 002BA93C C0 3B 00 BC */ lfs f1, 0xbc(r27) +/* 802BD9E0 002BA940 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BD9E4 002BA944 EC 42 08 28 */ fsubs f2, f2, f1 +/* 802BD9E8 002BA948 40 80 00 0C */ bge lbl_802BD9F4 +/* 802BD9EC 002BA94C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802BD9F0 002BA950 41 80 00 F8 */ blt lbl_802BDAE8 +lbl_802BD9F4: +/* 802BD9F4 002BA954 3C 60 80 48 */ lis r3, lbl_8047916C@ha +/* 802BD9F8 002BA958 C0 FE 00 00 */ lfs f7, 0(r30) +/* 802BD9FC 002BA95C C4 03 91 6C */ lfsu f0, lbl_8047916C@l(r3) +/* 802BDA00 002BA960 38 00 00 00 */ li r0, 0 +/* 802BDA04 002BA964 FC 07 00 00 */ fcmpu cr0, f7, f0 +/* 802BDA08 002BA968 40 82 00 28 */ bne lbl_802BDA30 +/* 802BDA0C 002BA96C C0 3E 00 04 */ lfs f1, 4(r30) +/* 802BDA10 002BA970 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BDA14 002BA974 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802BDA18 002BA978 40 82 00 18 */ bne lbl_802BDA30 +/* 802BDA1C 002BA97C C0 3E 00 08 */ lfs f1, 8(r30) +/* 802BDA20 002BA980 C0 03 00 08 */ lfs f0, 8(r3) +/* 802BDA24 002BA984 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802BDA28 002BA988 40 82 00 08 */ bne lbl_802BDA30 +/* 802BDA2C 002BA98C 38 00 00 01 */ li r0, 1 +lbl_802BDA30: +/* 802BDA30 002BA990 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 802BDA34 002BA994 7C 03 00 D0 */ neg r0, r3 +/* 802BDA38 002BA998 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDA3C 002BA99C 54 06 0F FF */ rlwinm. r6, r0, 1, 0x1f, 0x1f +/* 802BDA40 002BA9A0 41 82 00 44 */ beq lbl_802BDA84 +/* 802BDA44 002BA9A4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802BDA48 002BA9A8 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 802BDA4C 002BA9AC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 802BDA50 002BA9B0 C0 23 00 2C */ lfs f1, 0x2c(r3) +/* 802BDA54 002BA9B4 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802BDA58 002BA9B8 C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 802BDA5C 002BA9BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BDA60 002BA9C0 D0 81 00 08 */ stfs f4, 8(r1) +/* 802BDA64 002BA9C4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802BDA68 002BA9C8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BDA6C 002BA9CC 4C 41 13 82 */ cror 2, 1, 2 +/* 802BDA70 002BA9D0 40 82 00 0C */ bne lbl_802BDA7C +/* 802BDA74 002BA9D4 38 80 00 01 */ li r4, 1 +/* 802BDA78 002BA9D8 48 00 00 58 */ b lbl_802BDAD0 +lbl_802BDA7C: +/* 802BDA7C 002BA9DC 38 80 00 00 */ li r4, 0 +/* 802BDA80 002BA9E0 48 00 00 50 */ b lbl_802BDAD0 +lbl_802BDA84: +/* 802BDA84 002BA9E4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 802BDA88 002BA9E8 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802BDA8C 002BA9EC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 802BDA90 002BA9F0 C0 DE 00 08 */ lfs f6, 8(r30) +/* 802BDA94 002BA9F4 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 802BDA98 002BA9F8 C0 83 00 0C */ lfs f4, 0xc(r3) +/* 802BDA9C 002BA9FC EC 61 00 32 */ fmuls f3, f1, f0 +/* 802BDAA0 002BAA00 C0 A3 00 2C */ lfs f5, 0x2c(r3) +/* 802BDAA4 002BAA04 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 802BDAA8 002BAA08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BDAAC 002BAA0C EC 67 19 3A */ fmadds f3, f7, f4, f3 +/* 802BDAB0 002BAA10 EC 66 19 7A */ fmadds f3, f6, f5, f3 +/* 802BDAB4 002BAA14 EC 23 08 28 */ fsubs f1, f3, f1 +/* 802BDAB8 002BAA18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BDABC 002BAA1C 4C 41 13 82 */ cror 2, 1, 2 +/* 802BDAC0 002BAA20 40 82 00 0C */ bne lbl_802BDACC +/* 802BDAC4 002BAA24 38 80 00 01 */ li r4, 1 +/* 802BDAC8 002BAA28 48 00 00 08 */ b lbl_802BDAD0 +lbl_802BDACC: +/* 802BDACC 002BAA2C 38 80 00 00 */ li r4, 0 +lbl_802BDAD0: +/* 802BDAD0 002BAA30 FC 20 F8 90 */ fmr f1, f31 +/* 802BDAD4 002BAA34 7F A3 EB 78 */ mr r3, r29 +/* 802BDAD8 002BAA38 7F C5 F3 78 */ mr r5, r30 +/* 802BDADC 002BAA3C 7F 88 E3 78 */ mr r8, r28 +/* 802BDAE0 002BAA40 38 FF 00 02 */ addi r7, r31, 2 +/* 802BDAE4 002BAA44 48 00 20 39 */ bl InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv +lbl_802BDAE8: +/* 802BDAE8 002BAA48 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802BDAEC 002BAA4C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802BDAF0 002BAA50 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802BDAF4 002BAA54 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802BDAF8 002BAA58 7C 08 03 A6 */ mtlr r0 +/* 802BDAFC 002BAA5C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802BDB00 002BAA60 4E 80 00 20 */ blr + +.global sub_802bdb04 +sub_802bdb04: +/* 802BDB04 002BAA64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDB08 002BAA68 7C 08 02 A6 */ mflr r0 +/* 802BDB0C 002BAA6C 7C 67 1B 78 */ mr r7, r3 +/* 802BDB10 002BAA70 7C A3 2B 78 */ mr r3, r5 +/* 802BDB14 002BAA74 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDB18 002BAA78 7C 80 23 78 */ mr r0, r4 +/* 802BDB1C 002BAA7C 7C C4 33 78 */ mr r4, r6 +/* 802BDB20 002BAA80 38 E7 00 B0 */ addi r7, r7, 0xb0 +/* 802BDB24 002BAA84 7C 06 03 78 */ mr r6, r0 +/* 802BDB28 002BAA88 38 A0 00 01 */ li r5, 1 +/* 802BDB2C 002BAA8C 39 00 00 00 */ li r8, 0 +/* 802BDB30 002BAA90 48 00 21 E9 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +/* 802BDB34 002BAA94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDB38 002BAA98 7C 08 03 A6 */ mtlr r0 +/* 802BDB3C 002BAA9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDB40 002BAAA0 4E 80 00 20 */ blr + +.global AddParticleGen__13CCubeRendererFRC12CParticleGen +AddParticleGen__13CCubeRendererFRC12CParticleGen: +/* 802BDB44 002BAAA4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802BDB48 002BAAA8 7C 08 02 A6 */ mflr r0 +/* 802BDB4C 002BAAAC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802BDB50 002BAAB0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802BDB54 002BAAB4 7C 9F 23 78 */ mr r31, r4 +/* 802BDB58 002BAAB8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802BDB5C 002BAABC 7C 7E 1B 78 */ mr r30, r3 +/* 802BDB60 002BAAC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BDB64 002BAAC4 81 84 00 00 */ lwz r12, 0(r4) +/* 802BDB68 002BAAC8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802BDB6C 002BAACC 7D 89 03 A6 */ mtctr r12 +/* 802BDB70 002BAAD0 4E 80 04 21 */ bctrl +/* 802BDB74 002BAAD4 88 01 00 38 */ lbz r0, 0x38(r1) +/* 802BDB78 002BAAD8 28 00 00 00 */ cmplwi r0, 0 +/* 802BDB7C 002BAADC 98 01 00 54 */ stb r0, 0x54(r1) +/* 802BDB80 002BAAE0 41 82 00 3C */ beq lbl_802BDBBC +/* 802BDB84 002BAAE4 34 61 00 3C */ addic. r3, r1, 0x3c +/* 802BDB88 002BAAE8 41 82 00 34 */ beq lbl_802BDBBC +/* 802BDB8C 002BAAEC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802BDB90 002BAAF0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802BDB94 002BAAF4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BDB98 002BAAF8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802BDB9C 002BAAFC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802BDBA0 002BAB00 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BDBA4 002BAB04 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802BDBA8 002BAB08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BDBAC 002BAB0C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BDBB0 002BAB10 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BDBB4 002BAB14 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802BDBB8 002BAB18 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802BDBBC: +/* 802BDBBC 002BAB1C 88 01 00 54 */ lbz r0, 0x54(r1) +/* 802BDBC0 002BAB20 38 60 00 00 */ li r3, 0 +/* 802BDBC4 002BAB24 98 61 00 38 */ stb r3, 0x38(r1) +/* 802BDBC8 002BAB28 28 00 00 00 */ cmplwi r0, 0 +/* 802BDBCC 002BAB2C 41 82 00 48 */ beq lbl_802BDC14 +/* 802BDBD0 002BAB30 38 61 00 08 */ addi r3, r1, 8 +/* 802BDBD4 002BAB34 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BDBD8 002BAB38 38 BE 00 B0 */ addi r5, r30, 0xb0 +/* 802BDBDC 002BAB3C 48 07 96 01 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BDBE0 002BAB40 C0 41 00 08 */ lfs f2, 8(r1) +/* 802BDBE4 002BAB44 7F E6 FB 78 */ mr r6, r31 +/* 802BDBE8 002BAB48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802BDBEC 002BAB4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802BDBF0 002BAB50 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802BDBF4 002BAB54 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BDBF8 002BAB58 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802BDBFC 002BAB5C 38 FE 00 B0 */ addi r7, r30, 0xb0 +/* 802BDC00 002BAB60 38 A0 00 01 */ li r5, 1 +/* 802BDC04 002BAB64 39 00 00 00 */ li r8, 0 +/* 802BDC08 002BAB68 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802BDC0C 002BAB6C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802BDC10 002BAB70 48 00 21 09 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +lbl_802BDC14: +/* 802BDC14 002BAB74 38 00 00 00 */ li r0, 0 +/* 802BDC18 002BAB78 98 01 00 54 */ stb r0, 0x54(r1) +/* 802BDC1C 002BAB7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802BDC20 002BAB80 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802BDC24 002BAB84 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802BDC28 002BAB88 7C 08 03 A6 */ mtlr r0 +/* 802BDC2C 002BAB8C 38 21 00 60 */ addi r1, r1, 0x60 +/* 802BDC30 002BAB90 4E 80 00 20 */ blr + +.global EndScene__13CCubeRendererFv +EndScene__13CCubeRendererFv: +/* 802BDC34 002BAB94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDC38 002BAB98 7C 08 02 A6 */ mflr r0 +/* 802BDC3C 002BAB9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDC40 002BABA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BDC44 002BABA4 7C 7F 1B 78 */ mr r31, r3 +/* 802BDC48 002BABA8 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) +/* 802BDC4C 002BABAC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 802BDC50 002BABB0 7C 83 00 34 */ cntlzw r3, r4 +/* 802BDC54 002BABB4 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f +/* 802BDC58 002BABB8 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BDC5C 002BABBC 48 04 DE 65 */ bl EndScene__9CGraphicsFv +/* 802BDC60 002BABC0 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 802BDC64 002BABC4 2C 03 00 02 */ cmpwi r3, 2 +/* 802BDC68 002BABC8 41 80 00 1C */ blt lbl_802BDC84 +/* 802BDC6C 002BABCC 80 7F 01 4C */ lwz r3, 0x14c(r31) +/* 802BDC70 002BABD0 38 80 00 01 */ li r4, 1 +/* 802BDC74 002BABD4 48 05 1D 85 */ bl __dt__8CTextureFv +/* 802BDC78 002BABD8 38 00 00 00 */ li r0, 0 +/* 802BDC7C 002BABDC 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 802BDC80 002BABE0 48 00 00 0C */ b lbl_802BDC8C +lbl_802BDC84: +/* 802BDC84 002BABE4 38 03 00 01 */ addi r0, r3, 1 +/* 802BDC88 002BABE8 90 1F 02 DC */ stw r0, 0x2dc(r31) +lbl_802BDC8C: +/* 802BDC8C 002BABEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDC90 002BABF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BDC94 002BABF4 7C 08 03 A6 */ mtlr r0 +/* 802BDC98 002BABF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDC9C 002BABFC 4E 80 00 20 */ blr + +.global BeginScene__13CCubeRendererFv +BeginScene__13CCubeRendererFv: +/* 802BDCA0 002BAC00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BDCA4 002BAC04 7C 08 02 A6 */ mflr r0 +/* 802BDCA8 002BAC08 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 802BDCAC 002BAC0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BDCB0 002BAC10 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 802BDCB4 002BAC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BDCB8 002BAC18 7C 7F 1B 78 */ mr r31, r3 +/* 802BDCBC 002BAC1C 38 60 00 01 */ li r3, 1 +/* 802BDCC0 002BAC20 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BDCC4 002BAC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BDCC8 002BAC28 83 C4 00 08 */ lwz r30, 8(r4) +/* 802BDCCC 002BAC2C 83 A4 00 0C */ lwz r29, 0xc(r4) +/* 802BDCD0 002BAC30 48 04 BB 3D */ bl SetUseVideoFilter__9CGraphicsFb +/* 802BDCD4 002BAC34 7F C5 F3 78 */ mr r5, r30 +/* 802BDCD8 002BAC38 7F A6 EB 78 */ mr r6, r29 +/* 802BDCDC 002BAC3C 38 60 00 00 */ li r3, 0 +/* 802BDCE0 002BAC40 38 80 00 00 */ li r4, 0 +/* 802BDCE4 002BAC44 48 04 E3 AD */ bl SetViewport__9CGraphicsFiiii +/* 802BDCE8 002BAC48 38 00 00 00 */ li r0, 0 +/* 802BDCEC 002BAC4C 38 61 00 08 */ addi r3, r1, 8 +/* 802BDCF0 002BAC50 98 01 00 08 */ stb r0, 8(r1) +/* 802BDCF4 002BAC54 98 01 00 09 */ stb r0, 9(r1) +/* 802BDCF8 002BAC58 98 01 00 0A */ stb r0, 0xa(r1) +/* 802BDCFC 002BAC5C 98 01 00 0B */ stb r0, 0xb(r1) +/* 802BDD00 002BAC60 48 04 E2 95 */ bl SetClearColor__9CGraphicsFRC6CColor +/* 802BDD04 002BAC64 38 60 00 01 */ li r3, 1 +/* 802BDD08 002BAC68 48 04 DD 69 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802BDD0C 002BAC6C 38 60 00 01 */ li r3, 1 +/* 802BDD10 002BAC70 38 80 00 03 */ li r4, 3 +/* 802BDD14 002BAC74 38 A0 00 01 */ li r5, 1 +/* 802BDD18 002BAC78 48 04 DD 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802BDD1C 002BAC7C 38 60 00 01 */ li r3, 1 +/* 802BDD20 002BAC80 38 80 00 04 */ li r4, 4 +/* 802BDD24 002BAC84 38 A0 00 05 */ li r5, 5 +/* 802BDD28 002BAC88 38 C0 00 00 */ li r6, 0 +/* 802BDD2C 002BAC8C 48 04 DD 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802BDD30 002BAC90 C0 22 C3 0C */ lfs f1, lbl_805AE02C@sda21(r2) +/* 802BDD34 002BAC94 C0 42 C3 10 */ lfs f2, lbl_805AE030@sda21(r2) +/* 802BDD38 002BAC98 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) +/* 802BDD3C 002BAC9C C0 82 C2 94 */ lfs f4, lbl_805ADFB4@sda21(r2) +/* 802BDD40 002BACA0 48 04 E7 51 */ bl SetPerspective__9CGraphicsFffff +/* 802BDD44 002BACA4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BDD48 002BACA8 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 802BDD4C 002BACAC 48 04 E8 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BDD50 002BACB0 48 04 C1 B1 */ bl TickRenderTimings__9CGraphicsFv +/* 802BDD54 002BACB4 80 7F 03 10 */ lwz r3, 0x310(r31) +/* 802BDD58 002BACB8 2C 03 00 00 */ cmpwi r3, 0 +/* 802BDD5C 002BACBC 41 82 00 34 */ beq lbl_802BDD90 +/* 802BDD60 002BACC0 38 03 FF FF */ addi r0, r3, -1 +/* 802BDD64 002BACC4 90 1F 03 10 */ stw r0, 0x310(r31) +/* 802BDD68 002BACC8 80 1F 03 10 */ lwz r0, 0x310(r31) +/* 802BDD6C 002BACCC 2C 00 00 00 */ cmpwi r0, 0 +/* 802BDD70 002BACD0 40 82 00 20 */ bne lbl_802BDD90 +/* 802BDD74 002BACD4 80 7F 03 14 */ lwz r3, 0x314(r31) +/* 802BDD78 002BACD8 48 05 03 95 */ bl sub_8030e10c +/* 802BDD7C 002BACDC 80 7F 03 14 */ lwz r3, 0x314(r31) +/* 802BDD80 002BACE0 38 80 00 01 */ li r4, 1 +/* 802BDD84 002BACE4 48 05 1C 75 */ bl __dt__8CTextureFv +/* 802BDD88 002BACE8 38 00 00 00 */ li r0, 0 +/* 802BDD8C 002BACEC 90 1F 03 14 */ stw r0, 0x314(r31) +lbl_802BDD90: +/* 802BDD90 002BACF0 88 7F 03 18 */ lbz r3, 0x318(r31) +/* 802BDD94 002BACF4 50 63 FE F6 */ rlwimi r3, r3, 0x1f, 0x1b, 0x1b +/* 802BDD98 002BACF8 98 7F 03 18 */ stb r3, 0x318(r31) +/* 802BDD9C 002BACFC 88 7F 03 18 */ lbz r3, 0x318(r31) +/* 802BDDA0 002BAD00 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 802BDDA4 002BAD04 40 82 00 10 */ bne lbl_802BDDB4 +/* 802BDDA8 002BAD08 38 00 00 00 */ li r0, 0 +/* 802BDDAC 002BAD0C 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 802BDDB0 002BAD10 98 7F 03 18 */ stb r3, 0x318(r31) +lbl_802BDDB4: +/* 802BDDB4 002BAD14 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BDDB8 002BAD18 38 80 00 00 */ li r4, 0 +/* 802BDDBC 002BAD1C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 802BDDC0 002BAD20 7C 03 00 D0 */ neg r0, r3 +/* 802BDDC4 002BAD24 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDDC8 002BAD28 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802BDDCC 002BAD2C 48 0B E1 F9 */ bl GXSetPixelFmt +/* 802BDDD0 002BAD30 38 60 00 01 */ li r3, 1 +/* 802BDDD4 002BAD34 48 0B E1 59 */ bl GXSetAlphaUpdate +/* 802BDDD8 002BAD38 38 60 00 01 */ li r3, 1 +/* 802BDDDC 002BAD3C 38 80 00 00 */ li r4, 0 +/* 802BDDE0 002BAD40 48 0B E3 01 */ bl GXSetDstAlpha +/* 802BDDE4 002BAD44 48 04 E0 C1 */ bl BeginScene__9CGraphicsFv +/* 802BDDE8 002BAD48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BDDEC 002BAD4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BDDF0 002BAD50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BDDF4 002BAD54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BDDF8 002BAD58 7C 08 03 A6 */ mtlr r0 +/* 802BDDFC 002BAD5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BDE00 002BAD60 4E 80 00 20 */ blr + +.global SetWorldViewpoint__13CCubeRendererFRC12CTransform4f +SetWorldViewpoint__13CCubeRendererFRC12CTransform4f: +/* 802BDE04 002BAD64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDE08 002BAD68 7C 08 02 A6 */ mflr r0 +/* 802BDE0C 002BAD6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDE10 002BAD70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BDE14 002BAD74 7C 9F 23 78 */ mr r31, r4 +/* 802BDE18 002BAD78 93 C1 00 08 */ stw r30, 8(r1) +/* 802BDE1C 002BAD7C 7C 7E 1B 78 */ mr r30, r3 +/* 802BDE20 002BAD80 7F E3 FB 78 */ mr r3, r31 +/* 802BDE24 002BAD84 48 04 E9 29 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 802BDE28 002BAD88 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 802BDE2C 002BAD8C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 802BDE30 002BAD90 C0 BF 00 24 */ lfs f5, 0x24(r31) +/* 802BDE34 002BAD94 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802BDE38 002BAD98 C0 7F 00 04 */ lfs f3, 4(r31) +/* 802BDE3C 002BAD9C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802BDE40 002BADA0 C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 802BDE44 002BADA4 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 802BDE48 002BADA8 D0 7E 00 B0 */ stfs f3, 0xb0(r30) +/* 802BDE4C 002BADAC D0 9E 00 B4 */ stfs f4, 0xb4(r30) +/* 802BDE50 002BADB0 EC 05 00 BA */ fmadds f0, f5, f2, f0 +/* 802BDE54 002BADB4 D0 BE 00 B8 */ stfs f5, 0xb8(r30) +/* 802BDE58 002BADB8 D0 1E 00 BC */ stfs f0, 0xbc(r30) +/* 802BDE5C 002BADBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BDE60 002BADC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BDE64 002BADC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDE68 002BADC8 7C 08 03 A6 */ mtlr r0 +/* 802BDE6C 002BADCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDE70 002BADD0 4E 80 00 20 */ blr + +.global SetModelMatrix__13CCubeRendererFRC12CTransform4f +SetModelMatrix__13CCubeRendererFRC12CTransform4f: +/* 802BDE74 002BADD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BDE78 002BADD8 7C 08 02 A6 */ mflr r0 +/* 802BDE7C 002BADDC 7C 83 23 78 */ mr r3, r4 +/* 802BDE80 002BADE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BDE84 002BADE4 48 04 E7 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802BDE88 002BADE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BDE8C 002BADEC 7C 08 03 A6 */ mtlr r0 +/* 802BDE90 002BADF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BDE94 002BADF4 4E 80 00 20 */ blr + +.global "RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +"RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": +/* 802BDE98 002BADF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BDE9C 002BADFC 7C 08 02 A6 */ mflr r0 +/* 802BDEA0 002BAE00 7C 85 23 78 */ mr r5, r4 +/* 802BDEA4 002BAE04 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BDEA8 002BAE08 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BDEAC 002BAE0C 7C 7F 1B 78 */ mr r31, r3 +/* 802BDEB0 002BAE10 7F E4 FB 78 */ mr r4, r31 +/* 802BDEB4 002BAE14 38 61 00 08 */ addi r3, r1, 8 +/* 802BDEB8 002BAE18 48 00 00 31 */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +/* 802BDEBC 002BAE1C 80 81 00 08 */ lwz r4, 8(r1) +/* 802BDEC0 002BAE20 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802BDEC4 002BAE24 7C 04 00 40 */ cmplw r4, r0 +/* 802BDEC8 002BAE28 41 82 00 0C */ beq lbl_802BDED4 +/* 802BDECC 002BAE2C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 802BDED0 002BAE30 48 00 24 45 */ bl sub_802c0314 +lbl_802BDED4: +/* 802BDED4 002BAE34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BDED8 002BAE38 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BDEDC 002BAE3C 7C 08 03 A6 */ mtlr r0 +/* 802BDEE0 002BAE40 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BDEE4 002BAE44 4E 80 00 20 */ blr + +.global "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +"FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": +/* 802BDEE8 002BAE48 80 C4 00 20 */ lwz r6, 0x20(r4) +/* 802BDEEC 002BAE4C 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802BDEF0 002BAE50 48 00 00 1C */ b lbl_802BDF0C +lbl_802BDEF4: +/* 802BDEF4 002BAE54 80 06 00 08 */ lwz r0, 8(r6) +/* 802BDEF8 002BAE58 7C 00 28 40 */ cmplw r0, r5 +/* 802BDEFC 002BAE5C 40 82 00 0C */ bne lbl_802BDF08 +/* 802BDF00 002BAE60 90 C3 00 00 */ stw r6, 0(r3) +/* 802BDF04 002BAE64 4E 80 00 20 */ blr +lbl_802BDF08: +/* 802BDF08 002BAE68 80 C6 00 04 */ lwz r6, 4(r6) +lbl_802BDF0C: +/* 802BDF0C 002BAE6C 7C 06 20 40 */ cmplw r6, r4 +/* 802BDF10 002BAE70 40 82 FF E4 */ bne lbl_802BDEF4 +/* 802BDF14 002BAE74 90 83 00 00 */ stw r4, 0(r3) +/* 802BDF18 002BAE78 4E 80 00 20 */ blr + +.global "AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei" +"AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei": +/* 802BDF1C 002BAE7C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BDF20 002BAE80 7C 08 02 A6 */ mflr r0 +/* 802BDF24 002BAE84 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BDF28 002BAE88 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 802BDF2C 002BAE8C 7C 78 1B 78 */ mr r24, r3 +/* 802BDF30 002BAE90 7C 99 23 78 */ mr r25, r4 +/* 802BDF34 002BAE94 7C BA 2B 78 */ mr r26, r5 +/* 802BDF38 002BAE98 7C DB 33 78 */ mr r27, r6 +/* 802BDF3C 002BAE9C 7F 04 C3 78 */ mr r4, r24 +/* 802BDF40 002BAEA0 7F 25 CB 78 */ mr r5, r25 +/* 802BDF44 002BAEA4 83 83 00 24 */ lwz r28, 0x24(r3) +/* 802BDF48 002BAEA8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BDF4C 002BAEAC 4B FF FF 9D */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" +/* 802BDF50 002BAEB0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 802BDF54 002BAEB4 7C 00 E0 40 */ cmplw r0, r28 +/* 802BDF58 002BAEB8 40 82 02 24 */ bne lbl_802BE17C +/* 802BDF5C 002BAEBC 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BDF60 002BAEC0 38 60 00 10 */ li r3, 0x10 +/* 802BDF64 002BAEC4 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BDF68 002BAEC8 38 A0 00 00 */ li r5, 0 +/* 802BDF6C 002BAECC 48 05 79 01 */ bl __nw__FUlPCcPCc +/* 802BDF70 002BAED0 28 03 00 00 */ cmplwi r3, 0 +/* 802BDF74 002BAED4 41 82 00 14 */ beq lbl_802BDF88 +/* 802BDF78 002BAED8 38 00 00 00 */ li r0, 0 +/* 802BDF7C 002BAEDC 90 03 00 04 */ stw r0, 4(r3) +/* 802BDF80 002BAEE0 90 03 00 08 */ stw r0, 8(r3) +/* 802BDF84 002BAEE4 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802BDF88: +/* 802BDF88 002BAEE8 7C 03 00 D0 */ neg r0, r3 +/* 802BDF8C 002BAEEC 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BDF90 002BAEF0 7C 00 1B 78 */ or r0, r0, r3 +/* 802BDF94 002BAEF4 90 61 00 38 */ stw r3, 0x38(r1) +/* 802BDF98 002BAEF8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802BDF9C 002BAEFC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BDFA0 002BAF00 98 01 00 34 */ stb r0, 0x34(r1) +/* 802BDFA4 002BAF04 38 60 00 10 */ li r3, 0x10 +/* 802BDFA8 002BAF08 38 A0 00 00 */ li r5, 0 +/* 802BDFAC 002BAF0C 48 05 78 C1 */ bl __nw__FUlPCcPCc +/* 802BDFB0 002BAF10 28 03 00 00 */ cmplwi r3, 0 +/* 802BDFB4 002BAF14 41 82 00 14 */ beq lbl_802BDFC8 +/* 802BDFB8 002BAF18 38 00 00 00 */ li r0, 0 +/* 802BDFBC 002BAF1C 90 03 00 04 */ stw r0, 4(r3) +/* 802BDFC0 002BAF20 90 03 00 08 */ stw r0, 8(r3) +/* 802BDFC4 002BAF24 90 03 00 0C */ stw r0, 0xc(r3) +lbl_802BDFC8: +/* 802BDFC8 002BAF28 7C 83 00 D0 */ neg r4, r3 +/* 802BDFCC 002BAF2C 80 19 00 04 */ lwz r0, 4(r25) +/* 802BDFD0 002BAF30 7C 84 1B 78 */ or r4, r4, r3 +/* 802BDFD4 002BAF34 90 61 00 30 */ stw r3, 0x30(r1) +/* 802BDFD8 002BAF38 54 84 0F FE */ srwi r4, r4, 0x1f +/* 802BDFDC 002BAF3C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BDFE0 002BAF40 98 81 00 2C */ stb r4, 0x2c(r1) +/* 802BDFE4 002BAF44 41 82 01 48 */ beq lbl_802BE12C +/* 802BDFE8 002BAF48 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 802BDFEC 002BAF4C 7C 64 1B 78 */ mr r4, r3 +/* 802BDFF0 002BAF50 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802BDFF4 002BAF54 38 C0 00 00 */ li r6, 0 +/* 802BDFF8 002BAF58 80 67 00 4C */ lwz r3, 0x4c(r7) +/* 802BDFFC 002BAF5C 48 04 98 05 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +/* 802BE000 002BAF60 80 61 00 38 */ lwz r3, 0x38(r1) +/* 802BE004 002BAF64 80 99 00 04 */ lwz r4, 4(r25) +/* 802BE008 002BAF68 48 00 26 A1 */ bl sub_802c06a8 +/* 802BE00C 002BAF6C 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE010 002BAF70 3B 80 00 00 */ li r28, 0 +/* 802BE014 002BAF74 3B E3 68 5C */ addi r31, r3, lbl_803D685C@l +/* 802BE018 002BAF78 3B A0 00 00 */ li r29, 0 +/* 802BE01C 002BAF7C 48 00 01 04 */ b lbl_802BE120 +lbl_802BE020: +/* 802BE020 002BAF80 80 19 00 0C */ lwz r0, 0xc(r25) +/* 802BE024 002BAF84 7F E4 FB 78 */ mr r4, r31 +/* 802BE028 002BAF88 38 60 00 48 */ li r3, 0x48 +/* 802BE02C 002BAF8C 38 A0 00 00 */ li r5, 0 +/* 802BE030 002BAF90 7F C0 EA 14 */ add r30, r0, r29 +/* 802BE034 002BAF94 48 05 78 39 */ bl __nw__FUlPCcPCc +/* 802BE038 002BAF98 7C 64 1B 79 */ or. r4, r3, r3 +/* 802BE03C 002BAF9C 41 82 00 50 */ beq lbl_802BE08C +/* 802BE040 002BAFA0 80 DE 00 70 */ lwz r6, 0x70(r30) +/* 802BE044 002BAFA4 38 BE 00 34 */ addi r5, r30, 0x34 +/* 802BE048 002BAFA8 38 00 00 00 */ li r0, 0 +/* 802BE04C 002BAFAC 38 9E 00 50 */ addi r4, r30, 0x50 +/* 802BE050 002BAFB0 90 C1 00 08 */ stw r6, 8(r1) +/* 802BE054 002BAFB4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802BE058 002BAFB8 80 BE 00 00 */ lwz r5, 0(r30) +/* 802BE05C 002BAFBC 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 802BE060 002BAFC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802BE064 002BAFC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE068 002BAFC8 93 81 00 18 */ stw r28, 0x18(r1) +/* 802BE06C 002BAFCC 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 802BE070 002BAFD0 80 DE 00 4C */ lwz r6, 0x4c(r30) +/* 802BE074 002BAFD4 80 FE 00 60 */ lwz r7, 0x60(r30) +/* 802BE078 002BAFD8 81 1E 00 64 */ lwz r8, 0x64(r30) +/* 802BE07C 002BAFDC 81 3E 00 68 */ lwz r9, 0x68(r30) +/* 802BE080 002BAFE0 81 5E 00 6C */ lwz r10, 0x6c(r30) +/* 802BE084 002BAFE4 48 04 98 D1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 802BE088 002BAFE8 7C 64 1B 78 */ mr r4, r3 +lbl_802BE08C: +/* 802BE08C 002BAFEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802BE090 002BAFF0 7C 04 00 D0 */ neg r0, r4 +/* 802BE094 002BAFF4 7C 03 23 78 */ or r3, r0, r4 +/* 802BE098 002BAFF8 90 81 00 28 */ stw r4, 0x28(r1) +/* 802BE09C 002BAFFC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE0A0 002BB000 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802BE0A4 002BB004 80 BE 00 08 */ lwz r5, 8(r30) +/* 802BE0A8 002BB008 98 61 00 24 */ stb r3, 0x24(r1) +/* 802BE0AC 002BB00C 7C 00 28 00 */ cmpw r0, r5 +/* 802BE0B0 002BB010 41 80 00 1C */ blt lbl_802BE0CC +/* 802BE0B4 002BB014 2C 05 00 00 */ cmpwi r5, 0 +/* 802BE0B8 002BB018 7F C3 F3 78 */ mr r3, r30 +/* 802BE0BC 002BB01C 38 80 00 04 */ li r4, 4 +/* 802BE0C0 002BB020 41 82 00 08 */ beq lbl_802BE0C8 +/* 802BE0C4 002BB024 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802BE0C8: +/* 802BE0C8 002BB028 48 00 25 E1 */ bl sub_802c06a8 +lbl_802BE0CC: +/* 802BE0CC 002BB02C 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE0D0 002BB030 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802BE0D4 002BB034 54 00 18 38 */ slwi r0, r0, 3 +/* 802BE0D8 002BB038 7C A3 02 15 */ add. r5, r3, r0 +/* 802BE0DC 002BB03C 41 82 00 1C */ beq lbl_802BE0F8 +/* 802BE0E0 002BB040 88 81 00 24 */ lbz r4, 0x24(r1) +/* 802BE0E4 002BB044 38 00 00 00 */ li r0, 0 +/* 802BE0E8 002BB048 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BE0EC 002BB04C 98 85 00 00 */ stb r4, 0(r5) +/* 802BE0F0 002BB050 90 65 00 04 */ stw r3, 4(r5) +/* 802BE0F4 002BB054 98 01 00 24 */ stb r0, 0x24(r1) +lbl_802BE0F8: +/* 802BE0F8 002BB058 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE0FC 002BB05C 88 01 00 24 */ lbz r0, 0x24(r1) +/* 802BE100 002BB060 38 63 00 01 */ addi r3, r3, 1 +/* 802BE104 002BB064 28 00 00 00 */ cmplwi r0, 0 +/* 802BE108 002BB068 90 7E 00 04 */ stw r3, 4(r30) +/* 802BE10C 002BB06C 41 82 00 0C */ beq lbl_802BE118 +/* 802BE110 002BB070 80 61 00 28 */ lwz r3, 0x28(r1) +/* 802BE114 002BB074 48 05 78 1D */ bl Free__7CMemoryFPCv +lbl_802BE118: +/* 802BE118 002BB078 3B BD 00 74 */ addi r29, r29, 0x74 +/* 802BE11C 002BB07C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802BE120: +/* 802BE120 002BB080 80 19 00 04 */ lwz r0, 4(r25) +/* 802BE124 002BB084 7C 1C 00 00 */ cmpw r28, r0 +/* 802BE128 002BB088 41 80 FE F8 */ blt lbl_802BE020 +lbl_802BE12C: +/* 802BE12C 002BB08C 7F 24 CB 78 */ mr r4, r25 +/* 802BE130 002BB090 7F 45 D3 78 */ mr r5, r26 +/* 802BE134 002BB094 7F 68 DB 78 */ mr r8, r27 +/* 802BE138 002BB098 38 61 00 3C */ addi r3, r1, 0x3c +/* 802BE13C 002BB09C 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802BE140 002BB0A0 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802BE144 002BB0A4 48 00 12 21 */ bl __ct__Q213CCubeRenderer13CAreaListItem +/* 802BE148 002BB0A8 38 78 00 1C */ addi r3, r24, 0x1c +/* 802BE14C 002BB0AC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802BE150 002BB0B0 48 00 00 41 */ bl sub_802be190 +/* 802BE154 002BB0B4 38 61 00 3C */ addi r3, r1, 0x3c +/* 802BE158 002BB0B8 38 80 FF FF */ li r4, -1 +/* 802BE15C 002BB0BC 48 00 02 5D */ bl sub_802be3b8 +/* 802BE160 002BB0C0 48 0B 9E 25 */ bl GXInvalidateVtxCache +/* 802BE164 002BB0C4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BE168 002BB0C8 38 80 FF FF */ li r4, -1 +/* 802BE16C 002BB0CC 48 00 02 F9 */ bl sub_802be464 +/* 802BE170 002BB0D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802BE174 002BB0D4 38 80 FF FF */ li r4, -1 +/* 802BE178 002BB0D8 48 00 04 05 */ bl sub_802be57c +lbl_802BE17C: +/* 802BE17C 002BB0DC BB 01 00 70 */ lmw r24, 0x70(r1) +/* 802BE180 002BB0E0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BE184 002BB0E4 7C 08 03 A6 */ mtlr r0 +/* 802BE188 002BB0E8 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BE18C 002BB0EC 4E 80 00 20 */ blr + +.global sub_802be190 +sub_802be190: +/* 802BE190 002BB0F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE194 002BB0F4 7C 08 02 A6 */ mflr r0 +/* 802BE198 002BB0F8 7C 85 23 78 */ mr r5, r4 +/* 802BE19C 002BB0FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE1A0 002BB100 80 83 00 08 */ lwz r4, 8(r3) +/* 802BE1A4 002BB104 48 00 00 15 */ bl sub_802be1b8 +/* 802BE1A8 002BB108 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE1AC 002BB10C 7C 08 03 A6 */ mtlr r0 +/* 802BE1B0 002BB110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE1B4 002BB114 4E 80 00 20 */ blr + +.global sub_802be1b8 +sub_802be1b8: +/* 802BE1B8 002BB118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE1BC 002BB11C 7C 08 02 A6 */ mflr r0 +/* 802BE1C0 002BB120 7C A6 2B 78 */ mr r6, r5 +/* 802BE1C4 002BB124 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE1C8 002BB128 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE1CC 002BB12C 7C 9F 23 78 */ mr r31, r4 +/* 802BE1D0 002BB130 7F E5 FB 78 */ mr r5, r31 +/* 802BE1D4 002BB134 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE1D8 002BB138 7C 7E 1B 78 */ mr r30, r3 +/* 802BE1DC 002BB13C 80 84 00 00 */ lwz r4, 0(r4) +/* 802BE1E0 002BB140 48 00 00 49 */ bl sub_802be228 +/* 802BE1E4 002BB144 80 1E 00 04 */ lwz r0, 4(r30) +/* 802BE1E8 002BB148 7C 1F 00 40 */ cmplw r31, r0 +/* 802BE1EC 002BB14C 40 82 00 08 */ bne lbl_802BE1F4 +/* 802BE1F0 002BB150 90 7E 00 04 */ stw r3, 4(r30) +lbl_802BE1F4: +/* 802BE1F4 002BB154 80 83 00 00 */ lwz r4, 0(r3) +/* 802BE1F8 002BB158 90 64 00 04 */ stw r3, 4(r4) +/* 802BE1FC 002BB15C 80 83 00 04 */ lwz r4, 4(r3) +/* 802BE200 002BB160 90 64 00 00 */ stw r3, 0(r4) +/* 802BE204 002BB164 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802BE208 002BB168 38 04 00 01 */ addi r0, r4, 1 +/* 802BE20C 002BB16C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BE210 002BB170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE214 002BB174 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE218 002BB178 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE21C 002BB17C 7C 08 03 A6 */ mtlr r0 +/* 802BE220 002BB180 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE224 002BB184 4E 80 00 20 */ blr + +.global sub_802be228 +sub_802be228: +/* 802BE228 002BB188 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BE22C 002BB18C 7C 08 02 A6 */ mflr r0 +/* 802BE230 002BB190 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE234 002BB194 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE238 002BB198 38 03 68 5C */ addi r0, r3, lbl_803D685C@l +/* 802BE23C 002BB19C 38 60 00 34 */ li r3, 0x34 +/* 802BE240 002BB1A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BE244 002BB1A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BE248 002BB1A8 7C DE 33 78 */ mr r30, r6 +/* 802BE24C 002BB1AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802BE250 002BB1B0 7C BD 2B 78 */ mr r29, r5 +/* 802BE254 002BB1B4 38 A0 00 00 */ li r5, 0 +/* 802BE258 002BB1B8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802BE25C 002BB1BC 7C 9C 23 78 */ mr r28, r4 +/* 802BE260 002BB1C0 7C 04 03 78 */ mr r4, r0 +/* 802BE264 002BB1C4 48 05 75 B5 */ bl __nwa__FUlPCcPCc +/* 802BE268 002BB1C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802BE26C 002BB1CC 41 82 00 0C */ beq lbl_802BE278 +/* 802BE270 002BB1D0 93 9F 00 00 */ stw r28, 0(r31) +/* 802BE274 002BB1D4 93 BF 00 04 */ stw r29, 4(r31) +lbl_802BE278: +/* 802BE278 002BB1D8 34 7F 00 08 */ addic. r3, r31, 8 +/* 802BE27C 002BB1DC 41 82 00 0C */ beq lbl_802BE288 +/* 802BE280 002BB1E0 7F C4 F3 78 */ mr r4, r30 +/* 802BE284 002BB1E4 48 00 00 29 */ bl sub_802be2ac +lbl_802BE288: +/* 802BE288 002BB1E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BE28C 002BB1EC 7F E3 FB 78 */ mr r3, r31 +/* 802BE290 002BB1F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BE294 002BB1F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BE298 002BB1F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802BE29C 002BB1FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802BE2A0 002BB200 7C 08 03 A6 */ mtlr r0 +/* 802BE2A4 002BB204 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BE2A8 002BB208 4E 80 00 20 */ blr + +.global sub_802be2ac +sub_802be2ac: +/* 802BE2AC 002BB20C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE2B0 002BB210 7C 08 02 A6 */ mflr r0 +/* 802BE2B4 002BB214 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE2B8 002BB218 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE2BC 002BB21C 7C 9F 23 78 */ mr r31, r4 +/* 802BE2C0 002BB220 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE2C4 002BB224 7C 7E 1B 78 */ mr r30, r3 +/* 802BE2C8 002BB228 38 60 00 00 */ li r3, 0 +/* 802BE2CC 002BB22C 80 04 00 00 */ lwz r0, 0(r4) +/* 802BE2D0 002BB230 90 1E 00 00 */ stw r0, 0(r30) +/* 802BE2D4 002BB234 80 04 00 04 */ lwz r0, 4(r4) +/* 802BE2D8 002BB238 90 1E 00 04 */ stw r0, 4(r30) +/* 802BE2DC 002BB23C 88 04 00 08 */ lbz r0, 8(r4) +/* 802BE2E0 002BB240 98 1E 00 08 */ stb r0, 8(r30) +/* 802BE2E4 002BB244 80 04 00 0C */ lwz r0, 0xc(r4) +/* 802BE2E8 002BB248 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802BE2EC 002BB24C 98 64 00 08 */ stb r3, 8(r4) +/* 802BE2F0 002BB250 88 04 00 10 */ lbz r0, 0x10(r4) +/* 802BE2F4 002BB254 98 1E 00 10 */ stb r0, 0x10(r30) +/* 802BE2F8 002BB258 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802BE2FC 002BB25C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802BE300 002BB260 98 64 00 10 */ stb r3, 0x10(r4) +/* 802BE304 002BB264 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802BE308 002BB268 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802BE30C 002BB26C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802BE310 002BB270 90 1E 00 20 */ stw r0, 0x20(r30) +/* 802BE314 002BB274 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802BE318 002BB278 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802BE31C 002BB27C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802BE320 002BB280 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE324 002BB284 40 82 00 18 */ bne lbl_802BE33C +/* 802BE328 002BB288 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802BE32C 002BB28C 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE330 002BB290 40 82 00 0C */ bne lbl_802BE33C +/* 802BE334 002BB294 90 7E 00 28 */ stw r3, 0x28(r30) +/* 802BE338 002BB298 48 00 00 64 */ b lbl_802BE39C +lbl_802BE33C: +/* 802BE33C 002BB29C 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802BE340 002BB2A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802BE344 002BB2A4 40 82 00 10 */ bne lbl_802BE354 +/* 802BE348 002BB2A8 38 00 00 00 */ li r0, 0 +/* 802BE34C 002BB2AC 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802BE350 002BB2B0 48 00 00 18 */ b lbl_802BE368 +lbl_802BE354: +/* 802BE354 002BB2B4 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802BE358 002BB2B8 38 A0 00 00 */ li r5, 0 +/* 802BE35C 002BB2BC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802BE360 002BB2C0 48 05 74 B9 */ bl __nwa__FUlPCcPCc +/* 802BE364 002BB2C4 90 7E 00 28 */ stw r3, 0x28(r30) +lbl_802BE368: +/* 802BE368 002BB2C8 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802BE36C 002BB2CC 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 802BE370 002BB2D0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802BE374 002BB2D4 7C 09 03 A6 */ mtctr r0 +/* 802BE378 002BB2D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802BE37C 002BB2DC 40 81 00 20 */ ble lbl_802BE39C +lbl_802BE380: +/* 802BE380 002BB2E0 28 03 00 00 */ cmplwi r3, 0 +/* 802BE384 002BB2E4 41 82 00 0C */ beq lbl_802BE390 +/* 802BE388 002BB2E8 80 04 00 00 */ lwz r0, 0(r4) +/* 802BE38C 002BB2EC 90 03 00 00 */ stw r0, 0(r3) +lbl_802BE390: +/* 802BE390 002BB2F0 38 63 00 04 */ addi r3, r3, 4 +/* 802BE394 002BB2F4 38 84 00 04 */ addi r4, r4, 4 +/* 802BE398 002BB2F8 42 00 FF E8 */ bdnz lbl_802BE380 +lbl_802BE39C: +/* 802BE39C 002BB2FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE3A0 002BB300 7F C3 F3 78 */ mr r3, r30 +/* 802BE3A4 002BB304 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE3A8 002BB308 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE3AC 002BB30C 7C 08 03 A6 */ mtlr r0 +/* 802BE3B0 002BB310 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE3B4 002BB314 4E 80 00 20 */ blr + +.global sub_802be3b8 +sub_802be3b8: +/* 802BE3B8 002BB318 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BE3BC 002BB31C 7C 08 02 A6 */ mflr r0 +/* 802BE3C0 002BB320 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE3C4 002BB324 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BE3C8 002BB328 7C 9F 23 78 */ mr r31, r4 +/* 802BE3CC 002BB32C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802BE3D0 002BB330 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE3D4 002BB334 41 82 00 74 */ beq lbl_802BE448 +/* 802BE3D8 002BB338 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 802BE3DC 002BB33C 41 82 00 44 */ beq lbl_802BE420 +/* 802BE3E0 002BB340 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802BE3E4 002BB344 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802BE3E8 002BB348 54 00 10 3A */ slwi r0, r0, 2 +/* 802BE3EC 002BB34C 7C 03 02 14 */ add r0, r3, r0 +/* 802BE3F0 002BB350 90 61 00 0C */ stw r3, 0xc(r1) +/* 802BE3F4 002BB354 7C 64 1B 78 */ mr r4, r3 +/* 802BE3F8 002BB358 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE3FC 002BB35C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BE400 002BB360 90 61 00 08 */ stw r3, 8(r1) +/* 802BE404 002BB364 48 00 00 08 */ b lbl_802BE40C +lbl_802BE408: +/* 802BE408 002BB368 38 84 00 04 */ addi r4, r4, 4 +lbl_802BE40C: +/* 802BE40C 002BB36C 7C 04 00 40 */ cmplw r4, r0 +/* 802BE410 002BB370 40 82 FF F8 */ bne lbl_802BE408 +/* 802BE414 002BB374 28 03 00 00 */ cmplwi r3, 0 +/* 802BE418 002BB378 41 82 00 08 */ beq lbl_802BE420 +/* 802BE41C 002BB37C 48 05 75 15 */ bl Free__7CMemoryFPCv +lbl_802BE420: +/* 802BE420 002BB380 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802BE424 002BB384 38 80 FF FF */ li r4, -1 +/* 802BE428 002BB388 48 00 01 55 */ bl sub_802be57c +/* 802BE42C 002BB38C 38 7E 00 08 */ addi r3, r30, 8 +/* 802BE430 002BB390 38 80 FF FF */ li r4, -1 +/* 802BE434 002BB394 48 00 00 31 */ bl sub_802be464 +/* 802BE438 002BB398 7F E0 07 35 */ extsh. r0, r31 +/* 802BE43C 002BB39C 40 81 00 0C */ ble lbl_802BE448 +/* 802BE440 002BB3A0 7F C3 F3 78 */ mr r3, r30 +/* 802BE444 002BB3A4 48 05 74 ED */ bl Free__7CMemoryFPCv +lbl_802BE448: +/* 802BE448 002BB3A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BE44C 002BB3AC 7F C3 F3 78 */ mr r3, r30 +/* 802BE450 002BB3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BE454 002BB3B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802BE458 002BB3B8 7C 08 03 A6 */ mtlr r0 +/* 802BE45C 002BB3BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BE460 002BB3C0 4E 80 00 20 */ blr + +.global sub_802be464 +sub_802be464: +/* 802BE464 002BB3C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE468 002BB3C8 7C 08 02 A6 */ mflr r0 +/* 802BE46C 002BB3CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE470 002BB3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE474 002BB3D4 7C 9F 23 78 */ mr r31, r4 +/* 802BE478 002BB3D8 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE47C 002BB3DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE480 002BB3E0 41 82 00 2C */ beq lbl_802BE4AC +/* 802BE484 002BB3E4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE488 002BB3E8 28 00 00 00 */ cmplwi r0, 0 +/* 802BE48C 002BB3EC 41 82 00 10 */ beq lbl_802BE49C +/* 802BE490 002BB3F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE494 002BB3F4 38 80 00 01 */ li r4, 1 +/* 802BE498 002BB3F8 48 00 00 31 */ bl sub_802be4c8 +lbl_802BE49C: +/* 802BE49C 002BB3FC 7F E0 07 35 */ extsh. r0, r31 +/* 802BE4A0 002BB400 40 81 00 0C */ ble lbl_802BE4AC +/* 802BE4A4 002BB404 7F C3 F3 78 */ mr r3, r30 +/* 802BE4A8 002BB408 48 05 74 89 */ bl Free__7CMemoryFPCv +lbl_802BE4AC: +/* 802BE4AC 002BB40C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE4B0 002BB410 7F C3 F3 78 */ mr r3, r30 +/* 802BE4B4 002BB414 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE4B8 002BB418 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE4BC 002BB41C 7C 08 03 A6 */ mtlr r0 +/* 802BE4C0 002BB420 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE4C4 002BB424 4E 80 00 20 */ blr + +.global sub_802be4c8 +sub_802be4c8: +/* 802BE4C8 002BB428 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE4CC 002BB42C 7C 08 02 A6 */ mflr r0 +/* 802BE4D0 002BB430 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE4D4 002BB434 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE4D8 002BB438 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE4DC 002BB43C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802BE4E0 002BB440 7C 9D 23 78 */ mr r29, r4 +/* 802BE4E4 002BB444 93 81 00 20 */ stw r28, 0x20(r1) +/* 802BE4E8 002BB448 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BE4EC 002BB44C 41 82 00 6C */ beq lbl_802BE558 +/* 802BE4F0 002BB450 80 1C 00 04 */ lwz r0, 4(r28) +/* 802BE4F4 002BB454 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802BE4F8 002BB458 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802BE4FC 002BB45C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BE500 002BB460 7F FE 02 14 */ add r31, r30, r0 +/* 802BE504 002BB464 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802BE508 002BB468 93 E1 00 08 */ stw r31, 8(r1) +/* 802BE50C 002BB46C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE510 002BB470 48 00 00 20 */ b lbl_802BE530 +lbl_802BE514: +/* 802BE514 002BB474 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE518 002BB478 41 82 00 14 */ beq lbl_802BE52C +/* 802BE51C 002BB47C 41 82 00 10 */ beq lbl_802BE52C +/* 802BE520 002BB480 7F C3 F3 78 */ mr r3, r30 +/* 802BE524 002BB484 38 80 00 00 */ li r4, 0 +/* 802BE528 002BB488 48 08 29 19 */ bl __dt__6CTokenFv +lbl_802BE52C: +/* 802BE52C 002BB48C 3B DE 00 0C */ addi r30, r30, 0xc +lbl_802BE530: +/* 802BE530 002BB490 7C 1E F8 40 */ cmplw r30, r31 +/* 802BE534 002BB494 40 82 FF E0 */ bne lbl_802BE514 +/* 802BE538 002BB498 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802BE53C 002BB49C 28 03 00 00 */ cmplwi r3, 0 +/* 802BE540 002BB4A0 41 82 00 08 */ beq lbl_802BE548 +/* 802BE544 002BB4A4 48 05 73 ED */ bl Free__7CMemoryFPCv +lbl_802BE548: +/* 802BE548 002BB4A8 7F A0 07 35 */ extsh. r0, r29 +/* 802BE54C 002BB4AC 40 81 00 0C */ ble lbl_802BE558 +/* 802BE550 002BB4B0 7F 83 E3 78 */ mr r3, r28 +/* 802BE554 002BB4B4 48 05 73 DD */ bl Free__7CMemoryFPCv +lbl_802BE558: +/* 802BE558 002BB4B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE55C 002BB4BC 7F 83 E3 78 */ mr r3, r28 +/* 802BE560 002BB4C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE564 002BB4C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE568 002BB4C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802BE56C 002BB4CC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802BE570 002BB4D0 7C 08 03 A6 */ mtlr r0 +/* 802BE574 002BB4D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE578 002BB4D8 4E 80 00 20 */ blr + +.global sub_802be57c +sub_802be57c: +/* 802BE57C 002BB4DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BE580 002BB4E0 7C 08 02 A6 */ mflr r0 +/* 802BE584 002BB4E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE588 002BB4E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE58C 002BB4EC 7C 9F 23 78 */ mr r31, r4 +/* 802BE590 002BB4F0 93 C1 00 08 */ stw r30, 8(r1) +/* 802BE594 002BB4F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE598 002BB4F8 41 82 00 2C */ beq lbl_802BE5C4 +/* 802BE59C 002BB4FC 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE5A0 002BB500 28 00 00 00 */ cmplwi r0, 0 +/* 802BE5A4 002BB504 41 82 00 10 */ beq lbl_802BE5B4 +/* 802BE5A8 002BB508 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE5AC 002BB50C 38 80 00 01 */ li r4, 1 +/* 802BE5B0 002BB510 48 00 00 31 */ bl sub_802be5e0 +lbl_802BE5B4: +/* 802BE5B4 002BB514 7F E0 07 35 */ extsh. r0, r31 +/* 802BE5B8 002BB518 40 81 00 0C */ ble lbl_802BE5C4 +/* 802BE5BC 002BB51C 7F C3 F3 78 */ mr r3, r30 +/* 802BE5C0 002BB520 48 05 73 71 */ bl Free__7CMemoryFPCv +lbl_802BE5C4: +/* 802BE5C4 002BB524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BE5C8 002BB528 7F C3 F3 78 */ mr r3, r30 +/* 802BE5CC 002BB52C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BE5D0 002BB530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802BE5D4 002BB534 7C 08 03 A6 */ mtlr r0 +/* 802BE5D8 002BB538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BE5DC 002BB53C 4E 80 00 20 */ blr + +.global sub_802be5e0 +sub_802be5e0: +/* 802BE5E0 002BB540 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE5E4 002BB544 7C 08 02 A6 */ mflr r0 +/* 802BE5E8 002BB548 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE5EC 002BB54C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE5F0 002BB550 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE5F4 002BB554 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802BE5F8 002BB558 7C 9D 23 78 */ mr r29, r4 +/* 802BE5FC 002BB55C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802BE600 002BB560 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802BE604 002BB564 41 82 00 70 */ beq lbl_802BE674 +/* 802BE608 002BB568 80 1C 00 04 */ lwz r0, 4(r28) +/* 802BE60C 002BB56C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 802BE610 002BB570 54 00 18 38 */ slwi r0, r0, 3 +/* 802BE614 002BB574 7F FE 02 14 */ add r31, r30, r0 +/* 802BE618 002BB578 93 C1 00 10 */ stw r30, 0x10(r1) +/* 802BE61C 002BB57C 93 E1 00 08 */ stw r31, 8(r1) +/* 802BE620 002BB580 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BE624 002BB584 93 C1 00 14 */ stw r30, 0x14(r1) +/* 802BE628 002BB588 48 00 00 24 */ b lbl_802BE64C +lbl_802BE62C: +/* 802BE62C 002BB58C 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE630 002BB590 41 82 00 18 */ beq lbl_802BE648 +/* 802BE634 002BB594 88 1E 00 00 */ lbz r0, 0(r30) +/* 802BE638 002BB598 28 00 00 00 */ cmplwi r0, 0 +/* 802BE63C 002BB59C 41 82 00 0C */ beq lbl_802BE648 +/* 802BE640 002BB5A0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802BE644 002BB5A4 48 05 72 ED */ bl Free__7CMemoryFPCv +lbl_802BE648: +/* 802BE648 002BB5A8 3B DE 00 08 */ addi r30, r30, 8 +lbl_802BE64C: +/* 802BE64C 002BB5AC 7C 1E F8 40 */ cmplw r30, r31 +/* 802BE650 002BB5B0 40 82 FF DC */ bne lbl_802BE62C +/* 802BE654 002BB5B4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 802BE658 002BB5B8 28 03 00 00 */ cmplwi r3, 0 +/* 802BE65C 002BB5BC 41 82 00 08 */ beq lbl_802BE664 +/* 802BE660 002BB5C0 48 05 72 D1 */ bl Free__7CMemoryFPCv +lbl_802BE664: +/* 802BE664 002BB5C4 7F A0 07 35 */ extsh. r0, r29 +/* 802BE668 002BB5C8 40 81 00 0C */ ble lbl_802BE674 +/* 802BE66C 002BB5CC 7F 83 E3 78 */ mr r3, r28 +/* 802BE670 002BB5D0 48 05 72 C1 */ bl Free__7CMemoryFPCv +lbl_802BE674: +/* 802BE674 002BB5D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE678 002BB5D8 7F 83 E3 78 */ mr r3, r28 +/* 802BE67C 002BB5DC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE680 002BB5E0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE684 002BB5E4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802BE688 002BB5E8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802BE68C 002BB5EC 7C 08 03 A6 */ mtlr r0 +/* 802BE690 002BB5F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE694 002BB5F4 4E 80 00 20 */ blr + +.global __dt__13CCubeRendererFv +__dt__13CCubeRendererFv: +/* 802BE698 002BB5F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE69C 002BB5FC 7C 08 02 A6 */ mflr r0 +/* 802BE6A0 002BB600 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE6A4 002BB604 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE6A8 002BB608 7C 9F 23 78 */ mr r31, r4 +/* 802BE6AC 002BB60C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE6B0 002BB610 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802BE6B4 002BB614 41 82 02 38 */ beq lbl_802BE8EC +/* 802BE6B8 002BB618 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha +/* 802BE6BC 002BB61C 38 00 00 00 */ li r0, 0 +/* 802BE6C0 002BB620 38 63 C5 D8 */ addi r3, r3, lbl_803EC5D8@l +/* 802BE6C4 002BB624 90 7E 00 00 */ stw r3, 0(r30) +/* 802BE6C8 002BB628 38 63 01 0C */ addi r3, r3, 0x10c +/* 802BE6CC 002BB62C 90 7E 00 04 */ stw r3, 4(r30) +/* 802BE6D0 002BB630 90 0D A5 F0 */ stw r0, lbl_805A91B0@sda21(r13) +/* 802BE6D4 002BB634 48 00 17 89 */ bl Shutdown__7BucketsFv +/* 802BE6D8 002BB638 48 09 40 49 */ bl sub_80352720 +/* 802BE6DC 002BB63C 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802BE6E0 002BB640 28 03 00 00 */ cmplwi r3, 0 +/* 802BE6E4 002BB644 41 82 00 08 */ beq lbl_802BE6EC +/* 802BE6E8 002BB648 48 04 FA 25 */ bl sub_8030e10c +lbl_802BE6EC: +/* 802BE6EC 002BB64C 34 1E 03 14 */ addic. r0, r30, 0x314 +/* 802BE6F0 002BB650 41 82 00 10 */ beq lbl_802BE700 +/* 802BE6F4 002BB654 80 7E 03 14 */ lwz r3, 0x314(r30) +/* 802BE6F8 002BB658 38 80 00 01 */ li r4, 1 +/* 802BE6FC 002BB65C 48 05 12 FD */ bl __dt__8CTextureFv +lbl_802BE700: +/* 802BE700 002BB660 34 1E 03 00 */ addic. r0, r30, 0x300 +/* 802BE704 002BB664 41 82 00 44 */ beq lbl_802BE748 +/* 802BE708 002BB668 80 1E 03 04 */ lwz r0, 0x304(r30) +/* 802BE70C 002BB66C 80 7E 03 0C */ lwz r3, 0x30c(r30) +/* 802BE710 002BB670 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 802BE714 002BB674 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802BE718 002BB678 7C 64 1B 78 */ mr r4, r3 +/* 802BE71C 002BB67C 7C 03 02 14 */ add r0, r3, r0 +/* 802BE720 002BB680 90 61 00 18 */ stw r3, 0x18(r1) +/* 802BE724 002BB684 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BE728 002BB688 90 01 00 20 */ stw r0, 0x20(r1) +/* 802BE72C 002BB68C 48 00 00 08 */ b lbl_802BE734 +lbl_802BE730: +/* 802BE730 002BB690 38 84 00 50 */ addi r4, r4, 0x50 +lbl_802BE734: +/* 802BE734 002BB694 7C 04 00 40 */ cmplw r4, r0 +/* 802BE738 002BB698 40 82 FF F8 */ bne lbl_802BE730 +/* 802BE73C 002BB69C 28 03 00 00 */ cmplwi r3, 0 +/* 802BE740 002BB6A0 41 82 00 08 */ beq lbl_802BE748 +/* 802BE744 002BB6A4 48 05 71 ED */ bl Free__7CMemoryFPCv +lbl_802BE748: +/* 802BE748 002BB6A8 38 7E 02 C4 */ addi r3, r30, 0x2c4 +/* 802BE74C 002BB6AC 38 80 FF FF */ li r4, -1 +/* 802BE750 002BB6B0 48 00 1E E1 */ bl sub_802c0630 +/* 802BE754 002BB6B4 38 7E 02 AC */ addi r3, r30, 0x2ac +/* 802BE758 002BB6B8 38 80 FF FF */ li r4, -1 +/* 802BE75C 002BB6BC 48 00 1D AD */ bl sub_802c0508 +/* 802BE760 002BB6C0 38 7E 02 88 */ addi r3, r30, 0x288 +/* 802BE764 002BB6C4 38 80 FF FF */ li r4, -1 +/* 802BE768 002BB6C8 48 04 F7 99 */ bl __dt__16CGraphicsPaletteFv +/* 802BE76C 002BB6CC 38 7E 02 20 */ addi r3, r30, 0x220 +/* 802BE770 002BB6D0 38 80 FF FF */ li r4, -1 +/* 802BE774 002BB6D4 48 05 12 85 */ bl __dt__8CTextureFv +/* 802BE778 002BB6D8 38 7E 01 B8 */ addi r3, r30, 0x1b8 +/* 802BE77C 002BB6DC 38 80 FF FF */ li r4, -1 +/* 802BE780 002BB6E0 48 05 12 79 */ bl __dt__8CTextureFv +/* 802BE784 002BB6E4 38 7E 01 50 */ addi r3, r30, 0x150 +/* 802BE788 002BB6E8 38 80 FF FF */ li r4, -1 +/* 802BE78C 002BB6EC 48 05 12 6D */ bl __dt__8CTextureFv +/* 802BE790 002BB6F0 34 1E 01 4C */ addic. r0, r30, 0x14c +/* 802BE794 002BB6F4 41 82 00 10 */ beq lbl_802BE7A4 +/* 802BE798 002BB6F8 80 7E 01 4C */ lwz r3, 0x14c(r30) +/* 802BE79C 002BB6FC 38 80 00 01 */ li r4, 1 +/* 802BE7A0 002BB700 48 05 12 59 */ bl __dt__8CTextureFv +lbl_802BE7A4: +/* 802BE7A4 002BB704 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 802BE7A8 002BB708 38 80 FF FF */ li r4, -1 +/* 802BE7AC 002BB70C 48 05 12 4D */ bl __dt__8CTextureFv +/* 802BE7B0 002BB710 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 802BE7B4 002BB714 41 82 00 3C */ beq lbl_802BE7F0 +/* 802BE7B8 002BB718 88 1E 00 DC */ lbz r0, 0xdc(r30) +/* 802BE7BC 002BB71C 28 00 00 00 */ cmplwi r0, 0 +/* 802BE7C0 002BB720 41 82 00 28 */ beq lbl_802BE7E8 +/* 802BE7C4 002BB724 34 7E 00 C8 */ addic. r3, r30, 0xc8 +/* 802BE7C8 002BB728 41 82 00 20 */ beq lbl_802BE7E8 +/* 802BE7CC 002BB72C 34 03 00 0C */ addic. r0, r3, 0xc +/* 802BE7D0 002BB730 41 82 00 18 */ beq lbl_802BE7E8 +/* 802BE7D4 002BB734 88 03 00 0C */ lbz r0, 0xc(r3) +/* 802BE7D8 002BB738 28 00 00 00 */ cmplwi r0, 0 +/* 802BE7DC 002BB73C 41 82 00 0C */ beq lbl_802BE7E8 +/* 802BE7E0 002BB740 80 63 00 10 */ lwz r3, 0x10(r3) +/* 802BE7E4 002BB744 48 05 71 4D */ bl Free__7CMemoryFPCv +lbl_802BE7E8: +/* 802BE7E8 002BB748 38 00 00 00 */ li r0, 0 +/* 802BE7EC 002BB74C 98 1E 00 DC */ stb r0, 0xdc(r30) +lbl_802BE7F0: +/* 802BE7F0 002BB750 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 802BE7F4 002BB754 41 82 00 60 */ beq lbl_802BE854 +/* 802BE7F8 002BB758 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 802BE7FC 002BB75C 41 82 00 58 */ beq lbl_802BE854 +/* 802BE800 002BB760 80 BE 00 44 */ lwz r5, 0x44(r30) +/* 802BE804 002BB764 38 60 00 00 */ li r3, 0 +/* 802BE808 002BB768 2C 05 00 00 */ cmpwi r5, 0 +/* 802BE80C 002BB76C 40 81 00 40 */ ble lbl_802BE84C +/* 802BE810 002BB770 2C 05 00 08 */ cmpwi r5, 8 +/* 802BE814 002BB774 38 85 FF F8 */ addi r4, r5, -8 +/* 802BE818 002BB778 40 81 00 20 */ ble lbl_802BE838 +/* 802BE81C 002BB77C 38 04 00 07 */ addi r0, r4, 7 +/* 802BE820 002BB780 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BE824 002BB784 7C 09 03 A6 */ mtctr r0 +/* 802BE828 002BB788 2C 04 00 00 */ cmpwi r4, 0 +/* 802BE82C 002BB78C 40 81 00 0C */ ble lbl_802BE838 +lbl_802BE830: +/* 802BE830 002BB790 38 63 00 08 */ addi r3, r3, 8 +/* 802BE834 002BB794 42 00 FF FC */ bdnz lbl_802BE830 +lbl_802BE838: +/* 802BE838 002BB798 7C 03 28 50 */ subf r0, r3, r5 +/* 802BE83C 002BB79C 7C 09 03 A6 */ mtctr r0 +/* 802BE840 002BB7A0 7C 03 28 00 */ cmpw r3, r5 +/* 802BE844 002BB7A4 40 80 00 08 */ bge lbl_802BE84C +lbl_802BE848: +/* 802BE848 002BB7A8 42 00 00 00 */ bdnz lbl_802BE848 +lbl_802BE84C: +/* 802BE84C 002BB7AC 38 00 00 00 */ li r0, 0 +/* 802BE850 002BB7B0 90 1E 00 44 */ stw r0, 0x44(r30) +lbl_802BE854: +/* 802BE854 002BB7B4 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 802BE858 002BB7B8 41 82 00 44 */ beq lbl_802BE89C +/* 802BE85C 002BB7BC 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 802BE860 002BB7C0 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802BE864 002BB7C4 54 00 10 3A */ slwi r0, r0, 2 +/* 802BE868 002BB7C8 7C 03 02 14 */ add r0, r3, r0 +/* 802BE86C 002BB7CC 90 61 00 0C */ stw r3, 0xc(r1) +/* 802BE870 002BB7D0 7C 64 1B 78 */ mr r4, r3 +/* 802BE874 002BB7D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BE878 002BB7D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802BE87C 002BB7DC 90 61 00 08 */ stw r3, 8(r1) +/* 802BE880 002BB7E0 48 00 00 08 */ b lbl_802BE888 +lbl_802BE884: +/* 802BE884 002BB7E4 38 84 00 04 */ addi r4, r4, 4 +lbl_802BE888: +/* 802BE888 002BB7E8 7C 04 00 40 */ cmplw r4, r0 +/* 802BE88C 002BB7EC 40 82 FF F8 */ bne lbl_802BE884 +/* 802BE890 002BB7F0 28 03 00 00 */ cmplwi r3, 0 +/* 802BE894 002BB7F4 41 82 00 08 */ beq lbl_802BE89C +/* 802BE898 002BB7F8 48 05 70 99 */ bl Free__7CMemoryFPCv +lbl_802BE89C: +/* 802BE89C 002BB7FC 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802BE8A0 002BB800 38 80 FF FF */ li r4, -1 +/* 802BE8A4 002BB804 48 00 1B 05 */ bl sub_802c03a8 +/* 802BE8A8 002BB808 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802BE8AC 002BB80C 38 80 FF FF */ li r4, -1 +/* 802BE8B0 002BB810 48 04 77 11 */ bl __dt__5CFontFv +/* 802BE8B4 002BB814 34 1E 00 04 */ addic. r0, r30, 4 +/* 802BE8B8 002BB818 41 82 00 10 */ beq lbl_802BE8C8 +/* 802BE8BC 002BB81C 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802BE8C0 002BB820 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802BE8C4 002BB824 90 1E 00 04 */ stw r0, 4(r30) +lbl_802BE8C8: +/* 802BE8C8 002BB828 28 1E 00 00 */ cmplwi r30, 0 +/* 802BE8CC 002BB82C 41 82 00 10 */ beq lbl_802BE8DC +/* 802BE8D0 002BB830 3C 60 80 3E */ lis r3, lbl_803D8D90@ha +/* 802BE8D4 002BB834 38 03 8D 90 */ addi r0, r3, lbl_803D8D90@l +/* 802BE8D8 002BB838 90 1E 00 00 */ stw r0, 0(r30) +lbl_802BE8DC: +/* 802BE8DC 002BB83C 7F E0 07 35 */ extsh. r0, r31 +/* 802BE8E0 002BB840 40 81 00 0C */ ble lbl_802BE8EC +/* 802BE8E4 002BB844 7F C3 F3 78 */ mr r3, r30 +/* 802BE8E8 002BB848 48 00 17 21 */ bl sub_802c0008 +lbl_802BE8EC: +/* 802BE8EC 002BB84C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BE8F0 002BB850 7F C3 F3 78 */ mr r3, r30 +/* 802BE8F4 002BB854 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BE8F8 002BB858 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BE8FC 002BB85C 7C 08 03 A6 */ mtlr r0 +/* 802BE900 002BB860 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BE904 002BB864 4E 80 00 20 */ blr + +.global sub_802be908 +sub_802be908: +/* 802BE908 002BB868 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BE90C 002BB86C 7C 08 02 A6 */ mflr r0 +/* 802BE910 002BB870 90 01 00 34 */ stw r0, 0x34(r1) +/* 802BE914 002BB874 38 00 00 01 */ li r0, 1 +/* 802BE918 002BB878 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802BE91C 002BB87C 7C 7F 1B 78 */ mr r31, r3 +/* 802BE920 002BB880 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802BE924 002BB884 98 03 02 A4 */ stb r0, 0x2a4(r3) +/* 802BE928 002BB888 3C 60 80 3D */ lis r3, lbl_803D685C@ha +/* 802BE92C 002BB88C 38 A3 68 5C */ addi r5, r3, lbl_803D685C@l +/* 802BE930 002BB890 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802BE934 002BB894 38 61 00 08 */ addi r3, r1, 8 +/* 802BE938 002BB898 38 A5 00 07 */ addi r5, r5, 7 +/* 802BE93C 002BB89C 81 84 00 00 */ lwz r12, 0(r4) +/* 802BE940 002BB8A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802BE944 002BB8A4 7D 89 03 A6 */ mtctr r12 +/* 802BE948 002BB8A8 4E 80 04 21 */ bctrl +/* 802BE94C 002BB8AC 3B C1 00 10 */ addi r30, r1, 0x10 +/* 802BE950 002BB8B0 38 81 00 08 */ addi r4, r1, 8 +/* 802BE954 002BB8B4 7F C3 F3 78 */ mr r3, r30 +/* 802BE958 002BB8B8 48 08 25 51 */ bl __ct__6CTokenFRC6CToken +/* 802BE95C 002BB8BC 7F C3 F3 78 */ mr r3, r30 +/* 802BE960 002BB8C0 48 08 24 AD */ bl GetObj__6CTokenFv +/* 802BE964 002BB8C4 80 03 00 04 */ lwz r0, 4(r3) +/* 802BE968 002BB8C8 38 61 00 08 */ addi r3, r1, 8 +/* 802BE96C 002BB8CC 38 80 FF FF */ li r4, -1 +/* 802BE970 002BB8D0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802BE974 002BB8D4 48 08 24 CD */ bl __dt__6CTokenFv +/* 802BE978 002BB8D8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802BE97C 002BB8DC 38 C0 00 00 */ li r6, 0 +/* 802BE980 002BB8E0 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802BE984 002BB8E4 28 05 00 00 */ cmplwi r5, 0 +/* 802BE988 002BB8E8 41 82 00 B4 */ beq lbl_802BEA3C +/* 802BE98C 002BB8EC 38 00 00 02 */ li r0, 2 +/* 802BE990 002BB8F0 7C 09 03 A6 */ mtctr r0 +lbl_802BE994: +/* 802BE994 002BB8F4 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE998 002BB8F8 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE99C 002BB8FC 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9A0 002BB900 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9A4 002BB904 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9A8 002BB908 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9AC 002BB90C 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9B0 002BB910 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9B4 002BB914 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9B8 002BB918 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9BC 002BB91C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9C0 002BB920 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9C4 002BB924 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9C8 002BB928 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9CC 002BB92C 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9D0 002BB930 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9D4 002BB934 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9D8 002BB938 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9DC 002BB93C 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9E0 002BB940 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9E4 002BB944 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9E8 002BB948 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BE9EC 002BB94C 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BE9F0 002BB950 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BE9F4 002BB954 38 C6 00 02 */ addi r6, r6, 2 +/* 802BE9F8 002BB958 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BE9FC 002BB95C 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA00 002BB960 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA04 002BB964 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA08 002BB968 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA0C 002BB96C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BEA10 002BB970 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA14 002BB974 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA18 002BB978 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA1C 002BB97C 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA20 002BB980 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802BEA24 002BB984 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA28 002BB988 7C 03 32 2E */ lhzx r0, r3, r6 +/* 802BEA2C 002BB98C 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA30 002BB990 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA34 002BB994 42 00 FF 60 */ bdnz lbl_802BE994 +/* 802BEA38 002BB998 48 00 00 74 */ b lbl_802BEAAC +lbl_802BEA3C: +/* 802BEA3C 002BB99C 38 00 00 02 */ li r0, 2 +/* 802BEA40 002BB9A0 7C 09 03 A6 */ mtctr r0 +lbl_802BEA44: +/* 802BEA44 002BB9A4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA48 002BB9A8 38 00 00 00 */ li r0, 0 +/* 802BEA4C 002BB9AC 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA50 002BB9B0 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA54 002BB9B4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA58 002BB9B8 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA5C 002BB9BC 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA60 002BB9C0 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA64 002BB9C4 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA68 002BB9C8 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA6C 002BB9CC 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA70 002BB9D0 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA74 002BB9D4 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA78 002BB9D8 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA7C 002BB9DC 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA80 002BB9E0 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA84 002BB9E4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA88 002BB9E8 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA8C 002BB9EC 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA90 002BB9F0 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEA94 002BB9F4 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEA98 002BB9F8 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEA9C 002BB9FC 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 802BEAA0 002BBA00 7C 04 33 2E */ sthx r0, r4, r6 +/* 802BEAA4 002BBA04 38 C6 00 02 */ addi r6, r6, 2 +/* 802BEAA8 002BBA08 42 00 FF 9C */ bdnz lbl_802BEA44 +lbl_802BEAAC: +/* 802BEAAC 002BBA0C 38 7F 02 88 */ addi r3, r31, 0x288 +/* 802BEAB0 002BBA10 48 04 F3 AD */ bl UnLock__16CGraphicsPaletteFv +/* 802BEAB4 002BBA14 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEAB8 002BBA18 38 80 00 00 */ li r4, 0 +/* 802BEABC 002BBA1C 48 08 23 85 */ bl __dt__6CTokenFv +/* 802BEAC0 002BBA20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802BEAC4 002BBA24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802BEAC8 002BBA28 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802BEACC 002BBA2C 7C 08 03 A6 */ mtlr r0 +/* 802BEAD0 002BBA30 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BEAD4 002BBA34 4E 80 00 20 */ blr + +.global sub_802bead8 +sub_802bead8: +/* 802BEAD8 002BBA38 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BEADC 002BBA3C 7C 08 02 A6 */ mflr r0 +/* 802BEAE0 002BBA40 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BEAE4 002BBA44 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802BEAE8 002BBA48 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802BEAEC 002BBA4C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802BEAF0 002BBA50 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802BEAF4 002BBA54 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802BEAF8 002BBA58 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802BEAFC 002BBA5C DB 81 00 50 */ stfd f28, 0x50(r1) +/* 802BEB00 002BBA60 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 802BEB04 002BBA64 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802BEB08 002BBA68 7C 7B 1B 78 */ mr r27, r3 +/* 802BEB0C 002BBA6C 38 60 00 01 */ li r3, 1 +/* 802BEB10 002BBA70 88 1B 02 2A */ lbz r0, 0x22a(r27) +/* 802BEB14 002BBA74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BEB18 002BBA78 38 7B 02 20 */ addi r3, r27, 0x220 +/* 802BEB1C 002BBA7C 38 80 00 00 */ li r4, 0 +/* 802BEB20 002BBA80 98 1B 02 2A */ stb r0, 0x22a(r27) +/* 802BEB24 002BBA84 48 04 FA B1 */ bl GetBitMapData__8CTextureFi +/* 802BEB28 002BBA88 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) +/* 802BEB2C 002BBA8C 7C 7F 1B 78 */ mr r31, r3 +/* 802BEB30 002BBA90 C3 A2 C3 14 */ lfs f29, lbl_805AE034@sda21(r2) +/* 802BEB34 002BBA94 3B 80 00 00 */ li r28, 0 +/* 802BEB38 002BBA98 C3 C2 C2 70 */ lfs f30, lbl_805ADF90@sda21(r2) +/* 802BEB3C 002BBA9C 3B A0 00 00 */ li r29, 0 +/* 802BEB40 002BBAA0 C3 E2 C2 B8 */ lfs f31, lbl_805ADFD8@sda21(r2) +/* 802BEB44 002BBAA4 3F 40 43 30 */ lis r26, 0x4330 +lbl_802BEB48: +/* 802BEB48 002BBAA8 57 80 F0 02 */ slwi r0, r28, 0x1e +/* 802BEB4C 002BBAAC 57 84 0F FE */ srwi r4, r28, 0x1f +/* 802BEB50 002BBAB0 7C 64 00 50 */ subf r3, r4, r0 +/* 802BEB54 002BBAB4 7F 80 16 70 */ srawi r0, r28, 2 +/* 802BEB58 002BBAB8 54 63 10 3E */ rotlwi r3, r3, 2 +/* 802BEB5C 002BBABC 7F DF EA 14 */ add r30, r31, r29 +/* 802BEB60 002BBAC0 7C 63 22 14 */ add r3, r3, r4 +/* 802BEB64 002BBAC4 7C 00 01 94 */ addze r0, r0 +/* 802BEB68 002BBAC8 54 79 18 38 */ slwi r25, r3, 3 +/* 802BEB6C 002BBACC 3A E0 00 00 */ li r23, 0 +/* 802BEB70 002BBAD0 54 18 10 3A */ slwi r24, r0, 2 +lbl_802BEB74: +/* 802BEB74 002BBAD4 7E E0 1E 70 */ srawi r0, r23, 3 +/* 802BEB78 002BBAD8 56 E3 07 7E */ clrlwi r3, r23, 0x1d +/* 802BEB7C 002BBADC 7C 18 02 14 */ add r0, r24, r0 +/* 802BEB80 002BBAE0 93 41 00 18 */ stw r26, 0x18(r1) +/* 802BEB84 002BBAE4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BEB88 002BBAE8 7C 79 1A 14 */ add r3, r25, r3 +/* 802BEB8C 002BBAEC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802BEB90 002BBAF0 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 802BEB94 002BBAF4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BEB98 002BBAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BEB9C 002BBAFC EC 00 E0 28 */ fsubs f0, f0, f28 +/* 802BEBA0 002BBB00 93 41 00 10 */ stw r26, 0x10(r1) +/* 802BEBA4 002BBB04 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 802BEBA8 002BBB08 EC 00 E8 24 */ fdivs f0, f0, f29 +/* 802BEBAC 002BBB0C EC 21 E0 28 */ fsubs f1, f1, f28 +/* 802BEBB0 002BBB10 EC 40 F0 28 */ fsubs f2, f0, f30 +/* 802BEBB4 002BBB14 EC 01 E8 24 */ fdivs f0, f1, f29 +/* 802BEBB8 002BBB18 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 802BEBBC 002BBB1C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 802BEBC0 002BBB20 EC 21 00 7A */ fmadds f1, f1, f1, f0 +/* 802BEBC4 002BBB24 48 05 69 3D */ bl SqrtF__5CMathFf +/* 802BEBC8 002BBB28 EC 01 F0 7C */ fnmsubs f0, f1, f1, f30 +/* 802BEBCC 002BBB2C 38 81 00 08 */ addi r4, r1, 8 +/* 802BEBD0 002BBB30 38 6D 9A C8 */ addi r3, r13, lbl_805A8688@sda21 +/* 802BEBD4 002BBB34 38 AD 9A CC */ addi r5, r13, lbl_805A868C@sda21 +/* 802BEBD8 002BBB38 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BEBDC 002BBB3C 4B D4 D6 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEBE0 002BBB40 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEBE4 002BBB44 3A F7 00 01 */ addi r23, r23, 1 +/* 802BEBE8 002BBB48 2C 17 00 20 */ cmpwi r23, 0x20 +/* 802BEBEC 002BBB4C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 802BEBF0 002BBB50 FC 00 00 1E */ fctiwz f0, f0 +/* 802BEBF4 002BBB54 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 802BEBF8 002BBB58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BEBFC 002BBB5C 98 1E 00 00 */ stb r0, 0(r30) +/* 802BEC00 002BBB60 3B DE 00 01 */ addi r30, r30, 1 +/* 802BEC04 002BBB64 41 80 FF 70 */ blt lbl_802BEB74 +/* 802BEC08 002BBB68 3B 9C 00 01 */ addi r28, r28, 1 +/* 802BEC0C 002BBB6C 3B BD 00 20 */ addi r29, r29, 0x20 +/* 802BEC10 002BBB70 2C 1C 00 20 */ cmpwi r28, 0x20 +/* 802BEC14 002BBB74 41 80 FF 34 */ blt lbl_802BEB48 +/* 802BEC18 002BBB78 38 7B 02 20 */ addi r3, r27, 0x220 +/* 802BEC1C 002BBB7C 48 04 FD 01 */ bl UnLock__8CTextureFv +/* 802BEC20 002BBB80 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802BEC24 002BBB84 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802BEC28 002BBB88 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802BEC2C 002BBB8C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802BEC30 002BBB90 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802BEC34 002BBB94 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802BEC38 002BBB98 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 802BEC3C 002BBB9C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 802BEC40 002BBBA0 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802BEC44 002BBBA4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BEC48 002BBBA8 7C 08 03 A6 */ mtlr r0 +/* 802BEC4C 002BBBAC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BEC50 002BBBB0 4E 80 00 20 */ blr + +.global sub_802bec54 +sub_802bec54: +/* 802BEC54 002BBBB4 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 802BEC58 002BBBB8 7C 08 02 A6 */ mflr r0 +/* 802BEC5C 002BBBBC 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802BEC60 002BBBC0 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 802BEC64 002BBBC4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 802BEC68 002BBBC8 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 802BEC6C 002BBBCC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 802BEC70 002BBBD0 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 802BEC74 002BBBD4 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 802BEC78 002BBBD8 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 802BEC7C 002BBBDC F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 802BEC80 002BBBE0 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 802BEC84 002BBBE4 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 802BEC88 002BBBE8 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 802BEC8C 002BBBEC F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 802BEC90 002BBBF0 DB 21 00 70 */ stfd f25, 0x70(r1) +/* 802BEC94 002BBBF4 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 802BEC98 002BBBF8 DB 01 00 60 */ stfd f24, 0x60(r1) +/* 802BEC9C 002BBBFC F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 +/* 802BECA0 002BBC00 DA E1 00 50 */ stfd f23, 0x50(r1) +/* 802BECA4 002BBC04 F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0 +/* 802BECA8 002BBC08 DA C1 00 40 */ stfd f22, 0x40(r1) +/* 802BECAC 002BBC0C F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0 +/* 802BECB0 002BBC10 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 802BECB4 002BBC14 7C 78 1B 78 */ mr r24, r3 +/* 802BECB8 002BBC18 38 60 00 01 */ li r3, 1 +/* 802BECBC 002BBC1C 88 18 01 C2 */ lbz r0, 0x1c2(r24) +/* 802BECC0 002BBC20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BECC4 002BBC24 38 78 01 B8 */ addi r3, r24, 0x1b8 +/* 802BECC8 002BBC28 38 80 00 00 */ li r4, 0 +/* 802BECCC 002BBC2C 98 18 01 C2 */ stb r0, 0x1c2(r24) +/* 802BECD0 002BBC30 48 04 F9 05 */ bl GetBitMapData__8CTextureFi +/* 802BECD4 002BBC34 7C 7F 1B 78 */ mr r31, r3 +/* 802BECD8 002BBC38 38 80 00 FF */ li r4, 0xff +/* 802BECDC 002BBC3C 3C A0 00 01 */ lis r5, 1 +/* 802BECE0 002BBC40 4B D4 46 C9 */ bl memset +/* 802BECE4 002BBC44 CB 62 C3 18 */ lfd f27, lbl_805AE038@sda21(r2) +/* 802BECE8 002BBC48 3B 80 00 00 */ li r28, 0 +/* 802BECEC 002BBC4C CB 82 C3 20 */ lfd f28, lbl_805AE040@sda21(r2) +/* 802BECF0 002BBC50 3B A0 00 00 */ li r29, 0 +/* 802BECF4 002BBC54 CB A2 C3 28 */ lfd f29, lbl_805AE048@sda21(r2) +/* 802BECF8 002BBC58 3E E0 43 30 */ lis r23, 0x4330 +/* 802BECFC 002BBC5C CB C2 C2 E0 */ lfd f30, lbl_805AE000@sda21(r2) +/* 802BED00 002BBC60 CB E2 C3 30 */ lfd f31, lbl_805AE050@sda21(r2) +/* 802BED04 002BBC64 CA C2 C3 38 */ lfd f22, lbl_805AE058@sda21(r2) +/* 802BED08 002BBC68 CA E2 C3 40 */ lfd f23, lbl_805AE060@sda21(r2) +/* 802BED0C 002BBC6C C3 02 C2 80 */ lfs f24, lbl_805ADFA0@sda21(r2) +/* 802BED10 002BBC70 C3 22 C2 B8 */ lfs f25, lbl_805ADFD8@sda21(r2) +lbl_802BED14: +/* 802BED14 002BBC74 57 80 D8 08 */ slwi r0, r28, 0x1b +/* 802BED18 002BBC78 57 84 0F FE */ srwi r4, r28, 0x1f +/* 802BED1C 002BBC7C 7C 64 00 50 */ subf r3, r4, r0 +/* 802BED20 002BBC80 7F 80 2E 70 */ srawi r0, r28, 5 +/* 802BED24 002BBC84 54 63 28 3E */ rotlwi r3, r3, 5 +/* 802BED28 002BBC88 7F DF EA 14 */ add r30, r31, r29 +/* 802BED2C 002BBC8C 7C 63 22 14 */ add r3, r3, r4 +/* 802BED30 002BBC90 7C 00 01 94 */ addze r0, r0 +/* 802BED34 002BBC94 54 7B 18 38 */ slwi r27, r3, 3 +/* 802BED38 002BBC98 3B 20 00 00 */ li r25, 0 +/* 802BED3C 002BBC9C 54 1A 10 3A */ slwi r26, r0, 2 +lbl_802BED40: +/* 802BED40 002BBCA0 7F 23 1E 70 */ srawi r3, r25, 3 +/* 802BED44 002BBCA4 57 20 07 7E */ clrlwi r0, r25, 0x1d +/* 802BED48 002BBCA8 7C 7A 1A 14 */ add r3, r26, r3 +/* 802BED4C 002BBCAC 92 E1 00 10 */ stw r23, 0x10(r1) +/* 802BED50 002BBCB0 7C 1B 02 14 */ add r0, r27, r0 +/* 802BED54 002BBCB4 38 81 00 0C */ addi r4, r1, 0xc +/* 802BED58 002BBCB8 54 66 80 1E */ slwi r6, r3, 0x10 +/* 802BED5C 002BBCBC 38 6D 9A C0 */ addi r3, r13, lbl_805A8680@sda21 +/* 802BED60 002BBCC0 54 00 40 2E */ slwi r0, r0, 8 +/* 802BED64 002BBCC4 38 AD 9A C4 */ addi r5, r13, lbl_805A8684@sda21 +/* 802BED68 002BBCC8 7C C0 03 78 */ or r0, r6, r0 +/* 802BED6C 002BBCCC 60 00 00 7F */ ori r0, r0, 0x7f +/* 802BED70 002BBCD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BED74 002BBCD4 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 802BED78 002BBCD8 FC 00 F0 28 */ fsub f0, f0, f30 +/* 802BED7C 002BBCDC FC 00 F8 24 */ fdiv f0, f0, f31 +/* 802BED80 002BBCE0 FC 1D B0 38 */ fmsub f0, f29, f0, f22 +/* 802BED84 002BBCE4 FC 1C 00 24 */ fdiv f0, f28, f0 +/* 802BED88 002BBCE8 FC 00 00 50 */ fneg f0, f0 +/* 802BED8C 002BBCEC FC 00 B8 28 */ fsub f0, f0, f23 +/* 802BED90 002BBCF0 FC 1B 00 32 */ fmul f0, f27, f0 +/* 802BED94 002BBCF4 FC 00 E8 24 */ fdiv f0, f0, f29 +/* 802BED98 002BBCF8 FC 00 00 18 */ frsp f0, f0 +/* 802BED9C 002BBCFC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BEDA0 002BBD00 4B D4 D5 15 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEDA4 002BBD04 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEDA8 002BBD08 EC 00 00 3A */ fmadds f0, f0, f0, f0 +/* 802BEDAC 002BBD0C EC 18 00 32 */ fmuls f0, f24, f0 +/* 802BEDB0 002BBD10 EC 00 06 72 */ fmuls f0, f0, f25 +/* 802BEDB4 002BBD14 FF 40 00 90 */ fmr f26, f0 +/* 802BEDB8 002BBD18 F3 41 A0 08 */ psq_st f26, 8(r1), 1, qr2 +/* 802BEDBC 002BBD1C 3B 39 00 01 */ addi r25, r25, 1 +/* 802BEDC0 002BBD20 88 01 00 08 */ lbz r0, 8(r1) +/* 802BEDC4 002BBD24 98 1E 00 00 */ stb r0, 0(r30) +/* 802BEDC8 002BBD28 3B DE 00 01 */ addi r30, r30, 1 +/* 802BEDCC 002BBD2C 2C 19 00 20 */ cmpwi r25, 0x20 +/* 802BEDD0 002BBD30 41 80 FF 70 */ blt lbl_802BED40 +/* 802BEDD4 002BBD34 3B 9C 00 01 */ addi r28, r28, 1 +/* 802BEDD8 002BBD38 3B BD 00 20 */ addi r29, r29, 0x20 +/* 802BEDDC 002BBD3C 2C 1C 08 00 */ cmpwi r28, 0x800 +/* 802BEDE0 002BBD40 41 80 FF 34 */ blt lbl_802BED14 +/* 802BEDE4 002BBD44 38 78 01 B8 */ addi r3, r24, 0x1b8 +/* 802BEDE8 002BBD48 48 04 FB 35 */ bl UnLock__8CTextureFv +/* 802BEDEC 002BBD4C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 802BEDF0 002BBD50 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 802BEDF4 002BBD54 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 802BEDF8 002BBD58 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 802BEDFC 002BBD5C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 802BEE00 002BBD60 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 802BEE04 002BBD64 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 802BEE08 002BBD68 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 802BEE0C 002BBD6C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 802BEE10 002BBD70 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 802BEE14 002BBD74 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 802BEE18 002BBD78 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 802BEE1C 002BBD7C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 802BEE20 002BBD80 CB 21 00 70 */ lfd f25, 0x70(r1) +/* 802BEE24 002BBD84 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 +/* 802BEE28 002BBD88 CB 01 00 60 */ lfd f24, 0x60(r1) +/* 802BEE2C 002BBD8C E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0 +/* 802BEE30 002BBD90 CA E1 00 50 */ lfd f23, 0x50(r1) +/* 802BEE34 002BBD94 E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0 +/* 802BEE38 002BBD98 CA C1 00 40 */ lfd f22, 0x40(r1) +/* 802BEE3C 002BBD9C BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 802BEE40 002BBDA0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802BEE44 002BBDA4 7C 08 03 A6 */ mtlr r0 +/* 802BEE48 002BBDA8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 802BEE4C 002BBDAC 4E 80 00 20 */ blr + +.global sub_802bee50 +sub_802bee50: +/* 802BEE50 002BBDB0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 802BEE54 002BBDB4 7C 08 02 A6 */ mflr r0 +/* 802BEE58 002BBDB8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 802BEE5C 002BBDBC DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 802BEE60 002BBDC0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 802BEE64 002BBDC4 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 802BEE68 002BBDC8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 802BEE6C 002BBDCC DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 802BEE70 002BBDD0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 802BEE74 002BBDD4 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 802BEE78 002BBDD8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 802BEE7C 002BBDDC DB 61 00 80 */ stfd f27, 0x80(r1) +/* 802BEE80 002BBDE0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 802BEE84 002BBDE4 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 802BEE88 002BBDE8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 802BEE8C 002BBDEC BE 21 00 34 */ stmw r17, 0x34(r1) +/* 802BEE90 002BBDF0 7C 74 1B 78 */ mr r20, r3 +/* 802BEE94 002BBDF4 38 60 00 01 */ li r3, 1 +/* 802BEE98 002BBDF8 88 14 01 5A */ lbz r0, 0x15a(r20) +/* 802BEE9C 002BBDFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802BEEA0 002BBE00 38 74 01 50 */ addi r3, r20, 0x150 +/* 802BEEA4 002BBE04 38 80 00 00 */ li r4, 0 +/* 802BEEA8 002BBE08 98 14 01 5A */ stb r0, 0x15a(r20) +/* 802BEEAC 002BBE0C 48 04 F7 29 */ bl GetBitMapData__8CTextureFi +/* 802BEEB0 002BBE10 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) +/* 802BEEB4 002BBE14 7C 7B 1B 78 */ mr r27, r3 +/* 802BEEB8 002BBE18 C3 C2 C3 48 */ lfs f30, lbl_805AE068@sda21(r2) +/* 802BEEBC 002BBE1C 3B 21 00 14 */ addi r25, r1, 0x14 +/* 802BEEC0 002BBE20 C3 E2 C3 4C */ lfs f31, lbl_805AE06C@sda21(r2) +/* 802BEEC4 002BBE24 3B 00 00 00 */ li r24, 0 +/* 802BEEC8 002BBE28 3B 40 00 00 */ li r26, 0 +/* 802BEECC 002BBE2C 3E 40 43 30 */ lis r18, 0x4330 +lbl_802BEED0: +/* 802BEED0 002BBE30 7F 7C DB 78 */ mr r28, r27 +/* 802BEED4 002BBE34 3A E0 00 00 */ li r23, 0 +/* 802BEED8 002BBE38 3B A0 00 00 */ li r29, 0 +lbl_802BEEDC: +/* 802BEEDC 002BBE3C 3A C0 00 00 */ li r22, 0 +/* 802BEEE0 002BBE40 7F 9E E3 78 */ mr r30, r28 +lbl_802BEEE4: +/* 802BEEE4 002BBE44 38 16 FF F2 */ addi r0, r22, -14 +/* 802BEEE8 002BBE48 7F DF F3 78 */ mr r31, r30 +/* 802BEEEC 002BBE4C 7C 1A 02 14 */ add r0, r26, r0 +/* 802BEEF0 002BBE50 3A A0 00 00 */ li r21, 0 +/* 802BEEF4 002BBE54 6C 13 80 00 */ xoris r19, r0, 0x8000 +lbl_802BEEF8: +/* 802BEEF8 002BBE58 38 15 FF F2 */ addi r0, r21, -14 +/* 802BEEFC 002BBE5C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) +/* 802BEF00 002BBE60 7C 1D 02 14 */ add r0, r29, r0 +/* 802BEF04 002BBE64 92 41 00 18 */ stw r18, 0x18(r1) +/* 802BEF08 002BBE68 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BEF0C 002BBE6C FF 40 D8 90 */ fmr f26, f27 +/* 802BEF10 002BBE70 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802BEF14 002BBE74 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF18 002BBE78 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 802BEF1C 002BBE7C 92 61 00 24 */ stw r19, 0x24(r1) +/* 802BEF20 002BBE80 EC 20 E0 28 */ fsubs f1, f0, f28 +/* 802BEF24 002BBE84 92 41 00 20 */ stw r18, 0x20(r1) +/* 802BEF28 002BBE88 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 802BEF2C 002BBE8C EC 40 E0 28 */ fsubs f2, f0, f28 +/* 802BEF30 002BBE90 48 05 52 D1 */ bl __ct__9CVector2fFff +/* 802BEF34 002BBE94 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF38 002BBE98 48 05 51 BD */ bl Magnitude__9CVector2fCFv +/* 802BEF3C 002BBE9C FF A0 08 90 */ fmr f29, f1 +/* 802BEF40 002BBEA0 FC 1D F0 40 */ fcmpo cr0, f29, f30 +/* 802BEF44 002BBEA4 4C 40 13 82 */ cror 2, 0, 2 +/* 802BEF48 002BBEA8 40 82 00 28 */ bne lbl_802BEF70 +/* 802BEF4C 002BBEAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF50 002BBEB0 48 05 52 61 */ bl Normalize__9CVector2fFv +/* 802BEF54 002BBEB4 C0 22 C3 48 */ lfs f1, lbl_805AE068@sda21(r2) +/* 802BEF58 002BBEB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802BEF5C 002BBEBC EC 01 E8 28 */ fsubs f0, f1, f29 +/* 802BEF60 002BBEC0 EC 20 08 24 */ fdivs f1, f0, f1 +/* 802BEF64 002BBEC4 48 05 51 E9 */ bl __amu__9CVector2fFf +/* 802BEF68 002BBEC8 C3 61 00 10 */ lfs f27, 0x10(r1) +/* 802BEF6C 002BBECC C3 59 00 00 */ lfs f26, 0(r25) +lbl_802BEF70: +/* 802BEF70 002BBED0 EC 1F FE FA */ fmadds f0, f31, f27, f31 +/* 802BEF74 002BBED4 38 81 00 0C */ addi r4, r1, 0xc +/* 802BEF78 002BBED8 38 6D 9A B0 */ addi r3, r13, lbl_805A8670@sda21 +/* 802BEF7C 002BBEDC 38 AD 9A B4 */ addi r5, r13, lbl_805A8674@sda21 +/* 802BEF80 002BBEE0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BEF84 002BBEE4 4B D4 D3 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEF88 002BBEE8 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BEF8C 002BBEEC EC 1F FE BA */ fmadds f0, f31, f26, f31 +/* 802BEF90 002BBEF0 38 81 00 08 */ addi r4, r1, 8 +/* 802BEF94 002BBEF4 38 6D 9A B8 */ addi r3, r13, lbl_805A8678@sda21 +/* 802BEF98 002BBEF8 FC 20 08 1E */ fctiwz f1, f1 +/* 802BEF9C 002BBEFC 38 AD 9A BC */ addi r5, r13, lbl_805A867C@sda21 +/* 802BEFA0 002BBF00 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BEFA4 002BBF04 D8 21 00 20 */ stfd f1, 0x20(r1) +/* 802BEFA8 002BBF08 82 21 00 24 */ lwz r17, 0x24(r1) +/* 802BEFAC 002BBF0C 4B D4 D3 09 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 802BEFB0 002BBF10 C0 03 00 00 */ lfs f0, 0(r3) +/* 802BEFB4 002BBF14 3A B5 00 01 */ addi r21, r21, 1 +/* 802BEFB8 002BBF18 56 20 44 2E */ rlwinm r0, r17, 8, 0x10, 0x17 +/* 802BEFBC 002BBF1C 3B DE 00 02 */ addi r30, r30, 2 +/* 802BEFC0 002BBF20 FC 00 00 1E */ fctiwz f0, f0 +/* 802BEFC4 002BBF24 2C 15 00 04 */ cmpwi r21, 4 +/* 802BEFC8 002BBF28 3B 9C 00 02 */ addi r28, r28, 2 +/* 802BEFCC 002BBF2C 3B 7B 00 02 */ addi r27, r27, 2 +/* 802BEFD0 002BBF30 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 802BEFD4 002BBF34 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802BEFD8 002BBF38 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f +/* 802BEFDC 002BBF3C B0 1F 00 00 */ sth r0, 0(r31) +/* 802BEFE0 002BBF40 3B FF 00 02 */ addi r31, r31, 2 +/* 802BEFE4 002BBF44 41 80 FF 14 */ blt lbl_802BEEF8 +/* 802BEFE8 002BBF48 3A D6 00 01 */ addi r22, r22, 1 +/* 802BEFEC 002BBF4C 2C 16 00 04 */ cmpwi r22, 4 +/* 802BEFF0 002BBF50 41 80 FE F4 */ blt lbl_802BEEE4 +/* 802BEFF4 002BBF54 3A F7 00 01 */ addi r23, r23, 1 +/* 802BEFF8 002BBF58 3B BD 00 04 */ addi r29, r29, 4 +/* 802BEFFC 002BBF5C 2C 17 00 08 */ cmpwi r23, 8 +/* 802BF000 002BBF60 41 80 FE DC */ blt lbl_802BEEDC +/* 802BF004 002BBF64 3B 18 00 01 */ addi r24, r24, 1 +/* 802BF008 002BBF68 3B 5A 00 04 */ addi r26, r26, 4 +/* 802BF00C 002BBF6C 2C 18 00 08 */ cmpwi r24, 8 +/* 802BF010 002BBF70 41 80 FE C0 */ blt lbl_802BEED0 +/* 802BF014 002BBF74 38 74 01 50 */ addi r3, r20, 0x150 +/* 802BF018 002BBF78 48 04 F9 05 */ bl UnLock__8CTextureFv +/* 802BF01C 002BBF7C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 802BF020 002BBF80 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 802BF024 002BBF84 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 802BF028 002BBF88 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 802BF02C 002BBF8C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 802BF030 002BBF90 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 802BF034 002BBF94 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 802BF038 002BBF98 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 802BF03C 002BBF9C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 802BF040 002BBFA0 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 802BF044 002BBFA4 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 802BF048 002BBFA8 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 802BF04C 002BBFAC BA 21 00 34 */ lmw r17, 0x34(r1) +/* 802BF050 002BBFB0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 802BF054 002BBFB4 7C 08 03 A6 */ mtlr r0 +/* 802BF058 002BBFB8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 802BF05C 002BBFBC 4E 80 00 20 */ blr + +.global __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory +__ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: +/* 802BF060 002BBFC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802BF064 002BBFC4 7C 08 02 A6 */ mflr r0 +/* 802BF068 002BBFC8 3C A0 80 3E */ lis r5, lbl_803D8D90@ha +/* 802BF06C 002BBFCC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BF070 002BBFD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802BF074 002BBFD4 38 05 8D 90 */ addi r0, r5, lbl_803D8D90@l +/* 802BF078 002BBFD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802BF07C 002BBFDC 7C 7F 1B 78 */ mr r31, r3 +/* 802BF080 002BBFE0 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802BF084 002BBFE4 90 1F 00 00 */ stw r0, 0(r31) +/* 802BF088 002BBFE8 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802BF08C 002BBFEC 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha +/* 802BF090 002BBFF0 90 1F 00 04 */ stw r0, 4(r31) +/* 802BF094 002BBFF4 38 A3 C5 D8 */ addi r5, r3, lbl_803EC5D8@l +/* 802BF098 002BBFF8 38 05 01 0C */ addi r0, r5, 0x10c +/* 802BF09C 002BBFFC 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802BF0A0 002BC000 90 BF 00 00 */ stw r5, 0(r31) +/* 802BF0A4 002BC004 90 1F 00 04 */ stw r0, 4(r31) +/* 802BF0A8 002BC008 90 FF 00 08 */ stw r7, 8(r31) +/* 802BF0AC 002BC00C 90 9F 00 0C */ stw r4, 0xc(r31) +/* 802BF0B0 002BC010 48 04 6F 4D */ bl __ct__5CFontFf +/* 802BF0B4 002BC014 38 C0 00 00 */ li r6, 0 +/* 802BF0B8 002BC018 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BF0BC 002BC01C 90 DF 00 18 */ stw r6, 0x18(r31) +/* 802BF0C0 002BC020 38 1F 00 28 */ addi r0, r31, 0x28 +/* 802BF0C4 002BC024 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802BF0C8 002BC028 FC 60 10 90 */ fmr f3, f2 +/* 802BF0CC 002BC02C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 802BF0D0 002BC030 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802BF0D4 002BC034 C0 22 C3 50 */ lfs f1, lbl_805AE070@sda21(r2) +/* 802BF0D8 002BC038 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802BF0DC 002BC03C 90 1F 00 24 */ stw r0, 0x24(r31) +/* 802BF0E0 002BC040 C0 82 C3 54 */ lfs f4, lbl_805AE074@sda21(r2) +/* 802BF0E4 002BC044 38 A0 00 00 */ li r5, 0 +/* 802BF0E8 002BC048 90 1F 00 28 */ stw r0, 0x28(r31) +/* 802BF0EC 002BC04C 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 802BF0F0 002BC050 90 DF 00 30 */ stw r6, 0x30(r31) +/* 802BF0F4 002BC054 90 DF 00 38 */ stw r6, 0x38(r31) +/* 802BF0F8 002BC058 90 DF 00 3C */ stw r6, 0x3c(r31) +/* 802BF0FC 002BC05C 90 DF 00 40 */ stw r6, 0x40(r31) +/* 802BF100 002BC060 48 08 61 55 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 802BF104 002BC064 38 00 00 00 */ li r0, 0 +/* 802BF108 002BC068 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) +/* 802BF10C 002BC06C 90 1F 00 A8 */ stw r0, 0xa8(r31) +/* 802BF110 002BC070 38 61 00 08 */ addi r3, r1, 8 +/* 802BF114 002BC074 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BF118 002BC078 D0 21 00 08 */ stfs f1, 8(r1) +/* 802BF11C 002BC07C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802BF120 002BC080 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802BF124 002BC084 48 05 57 D5 */ bl Normalize__9CVector3fFv +/* 802BF128 002BC088 C0 21 00 08 */ lfs f1, 8(r1) +/* 802BF12C 002BC08C 39 00 00 00 */ li r8, 0 +/* 802BF130 002BC090 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF134 002BC094 38 00 FF FF */ li r0, -1 +/* 802BF138 002BC098 D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 802BF13C 002BC09C 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF140 002BC0A0 38 80 00 07 */ li r4, 7 +/* 802BF144 002BC0A4 38 A0 00 04 */ li r5, 4 +/* 802BF148 002BC0A8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802BF14C 002BC0AC 38 C0 00 04 */ li r6, 4 +/* 802BF150 002BC0B0 38 E0 00 01 */ li r7, 1 +/* 802BF154 002BC0B4 D0 3F 00 B4 */ stfs f1, 0xb4(r31) +/* 802BF158 002BC0B8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802BF15C 002BC0BC D0 3F 00 B8 */ stfs f1, 0xb8(r31) +/* 802BF160 002BC0C0 D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 802BF164 002BC0C4 99 1F 00 C0 */ stb r8, 0xc0(r31) +/* 802BF168 002BC0C8 99 1F 00 DC */ stb r8, 0xdc(r31) +/* 802BF16C 002BC0CC 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 802BF170 002BC0D0 48 05 0C BD */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF174 002BC0D4 38 00 00 00 */ li r0, 0 +/* 802BF178 002BC0D8 38 7F 01 50 */ addi r3, r31, 0x150 +/* 802BF17C 002BC0DC 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 802BF180 002BC0E0 38 80 00 03 */ li r4, 3 +/* 802BF184 002BC0E4 38 A0 00 20 */ li r5, 0x20 +/* 802BF188 002BC0E8 38 C0 00 20 */ li r6, 0x20 +/* 802BF18C 002BC0EC 38 E0 00 01 */ li r7, 1 +/* 802BF190 002BC0F0 48 05 0C 9D */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF194 002BC0F4 38 7F 01 B8 */ addi r3, r31, 0x1b8 +/* 802BF198 002BC0F8 38 80 00 01 */ li r4, 1 +/* 802BF19C 002BC0FC 38 A0 01 00 */ li r5, 0x100 +/* 802BF1A0 002BC100 38 C0 01 00 */ li r6, 0x100 +/* 802BF1A4 002BC104 38 E0 00 01 */ li r7, 1 +/* 802BF1A8 002BC108 48 05 0C 85 */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF1AC 002BC10C 38 7F 02 20 */ addi r3, r31, 0x220 +/* 802BF1B0 002BC110 38 80 00 01 */ li r4, 1 +/* 802BF1B4 002BC114 38 A0 00 20 */ li r5, 0x20 +/* 802BF1B8 002BC118 38 C0 00 20 */ li r6, 0x20 +/* 802BF1BC 002BC11C 38 E0 00 01 */ li r7, 1 +/* 802BF1C0 002BC120 48 05 0C 6D */ bl __ct__8CTextureF12ETexelFormatssi +/* 802BF1C4 002BC124 38 7F 02 88 */ addi r3, r31, 0x288 +/* 802BF1C8 002BC128 38 80 00 01 */ li r4, 1 +/* 802BF1CC 002BC12C 38 A0 00 10 */ li r5, 0x10 +/* 802BF1D0 002BC130 48 04 EE A5 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati +/* 802BF1D4 002BC134 38 7F 02 A8 */ addi r3, r31, 0x2a8 +/* 802BF1D8 002BC138 38 80 00 14 */ li r4, 0x14 +/* 802BF1DC 002BC13C 48 05 34 11 */ bl __ct__9CRandom16FUi +/* 802BF1E0 002BC140 38 BF 02 B8 */ addi r5, r31, 0x2b8 +/* 802BF1E4 002BC144 38 80 00 00 */ li r4, 0 +/* 802BF1E8 002BC148 90 BF 02 B0 */ stw r5, 0x2b0(r31) +/* 802BF1EC 002BC14C 38 7F 02 D0 */ addi r3, r31, 0x2d0 +/* 802BF1F0 002BC150 38 00 00 02 */ li r0, 2 +/* 802BF1F4 002BC154 90 BF 02 B4 */ stw r5, 0x2b4(r31) +/* 802BF1F8 002BC158 90 BF 02 B8 */ stw r5, 0x2b8(r31) +/* 802BF1FC 002BC15C 90 BF 02 BC */ stw r5, 0x2bc(r31) +/* 802BF200 002BC160 90 9F 02 C0 */ stw r4, 0x2c0(r31) +/* 802BF204 002BC164 90 7F 02 C8 */ stw r3, 0x2c8(r31) +/* 802BF208 002BC168 90 7F 02 CC */ stw r3, 0x2cc(r31) +/* 802BF20C 002BC16C 90 7F 02 D0 */ stw r3, 0x2d0(r31) +/* 802BF210 002BC170 90 7F 02 D4 */ stw r3, 0x2d4(r31) +/* 802BF214 002BC174 90 9F 02 D8 */ stw r4, 0x2d8(r31) +/* 802BF218 002BC178 90 1F 02 DC */ stw r0, 0x2dc(r31) +/* 802BF21C 002BC17C 48 08 AD 91 */ bl White__6CColorFv +/* 802BF220 002BC180 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF224 002BC184 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 802BF228 002BC188 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l +/* 802BF22C 002BC18C C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) +/* 802BF230 002BC190 90 1F 02 E0 */ stw r0, 0x2e0(r31) +/* 802BF234 002BC194 38 00 00 FF */ li r0, 0xff +/* 802BF238 002BC198 38 C0 00 00 */ li r6, 0 +/* 802BF23C 002BC19C 38 A0 00 01 */ li r5, 1 +/* 802BF240 002BC1A0 C0 27 00 00 */ lfs f1, 0(r7) +/* 802BF244 002BC1A4 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF248 002BC1A8 38 80 00 00 */ li r4, 0 +/* 802BF24C 002BC1AC D0 3F 02 E4 */ stfs f1, 0x2e4(r31) +/* 802BF250 002BC1B0 C0 27 00 04 */ lfs f1, 4(r7) +/* 802BF254 002BC1B4 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) +/* 802BF258 002BC1B8 C0 27 00 08 */ lfs f1, 8(r7) +/* 802BF25C 002BC1BC D0 3F 02 EC */ stfs f1, 0x2ec(r31) +/* 802BF260 002BC1C0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 802BF264 002BC1C4 98 1F 02 F4 */ stb r0, 0x2f4(r31) +/* 802BF268 002BC1C8 98 DF 02 F5 */ stb r6, 0x2f5(r31) +/* 802BF26C 002BC1CC 98 1F 02 F6 */ stb r0, 0x2f6(r31) +/* 802BF270 002BC1D0 98 1F 02 F7 */ stb r0, 0x2f7(r31) +/* 802BF274 002BC1D4 98 DF 02 F8 */ stb r6, 0x2f8(r31) +/* 802BF278 002BC1D8 98 1F 02 FC */ stb r0, 0x2fc(r31) +/* 802BF27C 002BC1DC 98 DF 02 FD */ stb r6, 0x2fd(r31) +/* 802BF280 002BC1E0 98 1F 02 FE */ stb r0, 0x2fe(r31) +/* 802BF284 002BC1E4 98 1F 02 FF */ stb r0, 0x2ff(r31) +/* 802BF288 002BC1E8 90 DF 03 04 */ stw r6, 0x304(r31) +/* 802BF28C 002BC1EC 90 DF 03 08 */ stw r6, 0x308(r31) +/* 802BF290 002BC1F0 90 DF 03 0C */ stw r6, 0x30c(r31) +/* 802BF294 002BC1F4 90 DF 03 10 */ stw r6, 0x310(r31) +/* 802BF298 002BC1F8 90 DF 03 14 */ stw r6, 0x314(r31) +/* 802BF29C 002BC1FC 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2A0 002BC200 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802BF2A4 002BC204 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2A8 002BC208 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2AC 002BC20C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 802BF2B0 002BC210 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2B4 002BC214 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2B8 002BC218 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802BF2BC 002BC21C 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2C0 002BC220 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2C4 002BC224 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802BF2C8 002BC228 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2CC 002BC22C 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2D0 002BC230 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 802BF2D4 002BC234 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2D8 002BC238 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2DC 002BC23C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 802BF2E0 002BC240 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2E4 002BC244 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2E8 002BC248 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 802BF2EC 002BC24C 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2F0 002BC250 88 1F 03 18 */ lbz r0, 0x318(r31) +/* 802BF2F4 002BC254 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802BF2F8 002BC258 98 1F 03 18 */ stb r0, 0x318(r31) +/* 802BF2FC 002BC25C 88 1F 00 EE */ lbz r0, 0xee(r31) +/* 802BF300 002BC260 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802BF304 002BC264 98 1F 00 EE */ stb r0, 0xee(r31) +/* 802BF308 002BC268 48 04 F2 CD */ bl GetBitMapData__8CTextureFi +/* 802BF30C 002BC26C 38 80 00 00 */ li r4, 0 +/* 802BF310 002BC270 38 A0 00 20 */ li r5, 0x20 +/* 802BF314 002BC274 4B D4 40 95 */ bl memset +/* 802BF318 002BC278 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 802BF31C 002BC27C 48 04 F6 01 */ bl UnLock__8CTextureFv +/* 802BF320 002BC280 7F E3 FB 78 */ mr r3, r31 +/* 802BF324 002BC284 4B FF FB 2D */ bl sub_802bee50 +/* 802BF328 002BC288 7F E3 FB 78 */ mr r3, r31 +/* 802BF32C 002BC28C 4B FF F9 29 */ bl sub_802bec54 +/* 802BF330 002BC290 7F E3 FB 78 */ mr r3, r31 +/* 802BF334 002BC294 4B FF F7 A5 */ bl sub_802bead8 +/* 802BF338 002BC298 7F E3 FB 78 */ mr r3, r31 +/* 802BF33C 002BC29C 4B FF F5 CD */ bl sub_802be908 +/* 802BF340 002BC2A0 93 ED A5 F0 */ stw r31, lbl_805A91B0@sda21(r13) +/* 802BF344 002BC2A4 48 00 0B 31 */ bl Init__7BucketsFv +/* 802BF348 002BC2A8 48 09 33 F9 */ bl sub_80352740 +/* 802BF34C 002BC2AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802BF350 002BC2B0 7F E3 FB 78 */ mr r3, r31 +/* 802BF354 002BC2B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802BF358 002BC2B8 7C 08 03 A6 */ mtlr r0 +/* 802BF35C 002BC2BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802BF360 002BC2C0 4E 80 00 20 */ blr + +.global __ct__Q213CCubeRenderer13CAreaListItem +__ct__Q213CCubeRenderer13CAreaListItem: +/* 802BF364 002BC2C4 90 83 00 00 */ stw r4, 0(r3) +/* 802BF368 002BC2C8 39 20 00 00 */ li r9, 0 +/* 802BF36C 002BC2CC 90 A3 00 04 */ stw r5, 4(r3) +/* 802BF370 002BC2D0 88 06 00 00 */ lbz r0, 0(r6) +/* 802BF374 002BC2D4 98 03 00 08 */ stb r0, 8(r3) +/* 802BF378 002BC2D8 80 06 00 04 */ lwz r0, 4(r6) +/* 802BF37C 002BC2DC 90 03 00 0C */ stw r0, 0xc(r3) +/* 802BF380 002BC2E0 99 26 00 00 */ stb r9, 0(r6) +/* 802BF384 002BC2E4 88 07 00 00 */ lbz r0, 0(r7) +/* 802BF388 002BC2E8 98 03 00 10 */ stb r0, 0x10(r3) +/* 802BF38C 002BC2EC 80 07 00 04 */ lwz r0, 4(r7) +/* 802BF390 002BC2F0 90 03 00 14 */ stw r0, 0x14(r3) +/* 802BF394 002BC2F4 99 27 00 00 */ stb r9, 0(r7) +/* 802BF398 002BC2F8 91 03 00 18 */ stw r8, 0x18(r3) +/* 802BF39C 002BC2FC 91 23 00 20 */ stw r9, 0x20(r3) +/* 802BF3A0 002BC300 91 23 00 24 */ stw r9, 0x24(r3) +/* 802BF3A4 002BC304 91 23 00 28 */ stw r9, 0x28(r3) +/* 802BF3A8 002BC308 4E 80 00 20 */ blr + +.global Clear__7BucketsFv +Clear__7BucketsFv: +/* 802BF3AC 002BC30C 80 CD A6 0C */ lwz r6, lbl_805A91CC@sda21(r13) +/* 802BF3B0 002BC310 38 60 00 00 */ li r3, 0 +/* 802BF3B4 002BC314 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF3B8 002BC318 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF3BC 002BC31C 40 81 00 40 */ ble lbl_802BF3FC +/* 802BF3C0 002BC320 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF3C4 002BC324 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF3C8 002BC328 40 81 00 20 */ ble lbl_802BF3E8 +/* 802BF3CC 002BC32C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF3D0 002BC330 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF3D4 002BC334 7C 09 03 A6 */ mtctr r0 +/* 802BF3D8 002BC338 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF3DC 002BC33C 40 81 00 0C */ ble lbl_802BF3E8 +lbl_802BF3E0: +/* 802BF3E0 002BC340 38 63 00 08 */ addi r3, r3, 8 +/* 802BF3E4 002BC344 42 00 FF FC */ bdnz lbl_802BF3E0 +lbl_802BF3E8: +/* 802BF3E8 002BC348 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF3EC 002BC34C 7C 09 03 A6 */ mtctr r0 +/* 802BF3F0 002BC350 7C 03 28 00 */ cmpw r3, r5 +/* 802BF3F4 002BC354 40 80 00 08 */ bge lbl_802BF3FC +lbl_802BF3F8: +/* 802BF3F8 002BC358 42 00 00 00 */ bdnz lbl_802BF3F8 +lbl_802BF3FC: +/* 802BF3FC 002BC35C 38 80 00 00 */ li r4, 0 +/* 802BF400 002BC360 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF404 002BC364 90 86 00 00 */ stw r4, 0(r6) +/* 802BF408 002BC368 80 A3 E2 0C */ lwz r5, lbl_8046E20C@l(r3) +/* 802BF40C 002BC36C 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF410 002BC370 40 81 00 40 */ ble lbl_802BF450 +/* 802BF414 002BC374 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF418 002BC378 38 65 FF F8 */ addi r3, r5, -8 +/* 802BF41C 002BC37C 40 81 00 20 */ ble lbl_802BF43C +/* 802BF420 002BC380 38 03 00 07 */ addi r0, r3, 7 +/* 802BF424 002BC384 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF428 002BC388 7C 09 03 A6 */ mtctr r0 +/* 802BF42C 002BC38C 2C 03 00 00 */ cmpwi r3, 0 +/* 802BF430 002BC390 40 81 00 0C */ ble lbl_802BF43C +lbl_802BF434: +/* 802BF434 002BC394 38 84 00 08 */ addi r4, r4, 8 +/* 802BF438 002BC398 42 00 FF FC */ bdnz lbl_802BF434 +lbl_802BF43C: +/* 802BF43C 002BC39C 7C 04 28 50 */ subf r0, r4, r5 +/* 802BF440 002BC3A0 7C 09 03 A6 */ mtctr r0 +/* 802BF444 002BC3A4 7C 04 28 00 */ cmpw r4, r5 +/* 802BF448 002BC3A8 40 80 00 08 */ bge lbl_802BF450 +lbl_802BF44C: +/* 802BF44C 002BC3AC 42 00 00 00 */ bdnz lbl_802BF44C +lbl_802BF450: +/* 802BF450 002BC3B0 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF454 002BC3B4 38 80 00 00 */ li r4, 0 +/* 802BF458 002BC3B8 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802BF45C 002BC3BC 90 83 E2 0C */ stw r4, lbl_8046E20C@l(r3) +/* 802BF460 002BC3C0 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF464 002BC3C4 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF468 002BC3C8 40 81 00 40 */ ble lbl_802BF4A8 +/* 802BF46C 002BC3CC 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF470 002BC3D0 38 65 FF F8 */ addi r3, r5, -8 +/* 802BF474 002BC3D4 40 81 00 20 */ ble lbl_802BF494 +/* 802BF478 002BC3D8 38 03 00 07 */ addi r0, r3, 7 +/* 802BF47C 002BC3DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF480 002BC3E0 7C 09 03 A6 */ mtctr r0 +/* 802BF484 002BC3E4 2C 03 00 00 */ cmpwi r3, 0 +/* 802BF488 002BC3E8 40 81 00 0C */ ble lbl_802BF494 +lbl_802BF48C: +/* 802BF48C 002BC3EC 38 84 00 08 */ addi r4, r4, 8 +/* 802BF490 002BC3F0 42 00 FF FC */ bdnz lbl_802BF48C +lbl_802BF494: +/* 802BF494 002BC3F4 7C 04 28 50 */ subf r0, r4, r5 +/* 802BF498 002BC3F8 7C 09 03 A6 */ mtctr r0 +/* 802BF49C 002BC3FC 7C 04 28 00 */ cmpw r4, r5 +/* 802BF4A0 002BC400 40 80 00 08 */ bge lbl_802BF4A8 +lbl_802BF4A4: +/* 802BF4A4 002BC404 42 00 00 00 */ bdnz lbl_802BF4A4 +lbl_802BF4A8: +/* 802BF4A8 002BC408 38 60 00 00 */ li r3, 0 +/* 802BF4AC 002BC40C 90 66 00 00 */ stw r3, 0(r6) +/* 802BF4B0 002BC410 80 CD A6 20 */ lwz r6, lbl_805A91E0@sda21(r13) +/* 802BF4B4 002BC414 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF4B8 002BC418 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF4BC 002BC41C 40 81 00 40 */ ble lbl_802BF4FC +/* 802BF4C0 002BC420 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF4C4 002BC424 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF4C8 002BC428 40 81 00 20 */ ble lbl_802BF4E8 +/* 802BF4CC 002BC42C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF4D0 002BC430 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF4D4 002BC434 7C 09 03 A6 */ mtctr r0 +/* 802BF4D8 002BC438 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF4DC 002BC43C 40 81 00 0C */ ble lbl_802BF4E8 +lbl_802BF4E0: +/* 802BF4E0 002BC440 38 63 00 08 */ addi r3, r3, 8 +/* 802BF4E4 002BC444 42 00 FF FC */ bdnz lbl_802BF4E0 +lbl_802BF4E8: +/* 802BF4E8 002BC448 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF4EC 002BC44C 7C 09 03 A6 */ mtctr r0 +/* 802BF4F0 002BC450 7C 03 28 00 */ cmpw r3, r5 +/* 802BF4F4 002BC454 40 80 00 08 */ bge lbl_802BF4FC +lbl_802BF4F8: +/* 802BF4F8 002BC458 42 00 00 00 */ bdnz lbl_802BF4F8 +lbl_802BF4FC: +/* 802BF4FC 002BC45C 38 00 00 00 */ li r0, 0 +/* 802BF500 002BC460 90 06 00 00 */ stw r0, 0(r6) +/* 802BF504 002BC464 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF508 002BC468 38 C3 00 04 */ addi r6, r3, 4 +/* 802BF50C 002BC46C 48 00 00 60 */ b lbl_802BF56C +lbl_802BF510: +/* 802BF510 002BC470 80 A6 00 00 */ lwz r5, 0(r6) +/* 802BF514 002BC474 38 60 00 00 */ li r3, 0 +/* 802BF518 002BC478 2C 05 00 00 */ cmpwi r5, 0 +/* 802BF51C 002BC47C 40 81 00 44 */ ble lbl_802BF560 +/* 802BF520 002BC480 2C 05 00 08 */ cmpwi r5, 8 +/* 802BF524 002BC484 38 85 FF F8 */ addi r4, r5, -8 +/* 802BF528 002BC488 40 81 00 20 */ ble lbl_802BF548 +/* 802BF52C 002BC48C 38 04 00 07 */ addi r0, r4, 7 +/* 802BF530 002BC490 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BF534 002BC494 7C 09 03 A6 */ mtctr r0 +/* 802BF538 002BC498 2C 04 00 00 */ cmpwi r4, 0 +/* 802BF53C 002BC49C 40 81 00 0C */ ble lbl_802BF548 +lbl_802BF540: +/* 802BF540 002BC4A0 38 63 00 08 */ addi r3, r3, 8 +/* 802BF544 002BC4A4 42 00 FF FC */ bdnz lbl_802BF540 +lbl_802BF548: +/* 802BF548 002BC4A8 7C 03 28 50 */ subf r0, r3, r5 +/* 802BF54C 002BC4AC 7C 09 03 A6 */ mtctr r0 +/* 802BF550 002BC4B0 7C 03 28 00 */ cmpw r3, r5 +/* 802BF554 002BC4B4 40 80 00 0C */ bge lbl_802BF560 +lbl_802BF558: +/* 802BF558 002BC4B8 38 63 00 01 */ addi r3, r3, 1 +/* 802BF55C 002BC4BC 42 00 FF FC */ bdnz lbl_802BF558 +lbl_802BF560: +/* 802BF560 002BC4C0 38 00 00 00 */ li r0, 0 +/* 802BF564 002BC4C4 90 06 00 00 */ stw r0, 0(r6) +/* 802BF568 002BC4C8 38 C6 02 04 */ addi r6, r6, 0x204 +lbl_802BF56C: +/* 802BF56C 002BC4CC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF570 002BC4D0 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF574 002BC4D4 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BF578 002BC4D8 7C 63 02 14 */ add r3, r3, r0 +/* 802BF57C 002BC4DC 38 63 00 04 */ addi r3, r3, 4 +/* 802BF580 002BC4E0 7C 06 18 40 */ cmplw r6, r3 +/* 802BF584 002BC4E4 40 82 FF 8C */ bne lbl_802BF510 +/* 802BF588 002BC4E8 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 +/* 802BF58C 002BC4EC C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802BF590 002BC4F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BF594 002BC4F4 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BF598 002BC4F8 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802BF59C 002BC4FC D0 03 00 04 */ stfs f0, 4(r3) +/* 802BF5A0 002BC500 4E 80 00 20 */ blr + +.global Sort__7BucketsFv +Sort__7BucketsFv: +/* 802BF5A4 002BC504 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802BF5A8 002BC508 7C 08 02 A6 */ mflr r0 +/* 802BF5AC 002BC50C 90 01 00 94 */ stw r0, 0x94(r1) +/* 802BF5B0 002BC510 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802BF5B4 002BC514 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802BF5B8 002BC518 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 802BF5BC 002BC51C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 802BF5C0 002BC520 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 802BF5C4 002BC524 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 802BF5C8 002BC528 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 802BF5CC 002BC52C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BF5D0 002BC530 C0 4D A6 14 */ lfs f2, lbl_805A91D4@sda21(r13) +/* 802BF5D4 002BC534 C0 23 00 04 */ lfs f1, 4(r3) +/* 802BF5D8 002BC538 C0 0D 9A A0 */ lfs f0, lbl_805A8660@sda21(r13) +/* 802BF5DC 002BC53C FF E0 10 50 */ fneg f31, f2 +/* 802BF5E0 002BC540 EC 21 10 28 */ fsubs f1, f1, f2 +/* 802BF5E4 002BC544 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF5E8 002BC548 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802BF5EC 002BC54C 40 80 00 0C */ bge lbl_802BF5F8 +/* 802BF5F0 002BC550 38 6D 9A A0 */ addi r3, r13, lbl_805A8660@sda21 +/* 802BF5F4 002BC554 48 00 00 08 */ b lbl_802BF5FC +lbl_802BF5F8: +/* 802BF5F8 002BC558 38 61 00 1C */ addi r3, r1, 0x1c +lbl_802BF5FC: +/* 802BF5FC 002BC55C C3 A3 00 00 */ lfs f29, 0(r3) +/* 802BF600 002BC560 38 C0 00 00 */ li r6, 0 +/* 802BF604 002BC564 C0 02 C3 58 */ lfs f0, lbl_805AE078@sda21(r2) +/* 802BF608 002BC568 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF60C 002BC56C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802BF610 002BC570 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802BF614 002BC574 38 E3 00 04 */ addi r7, r3, 4 +/* 802BF618 002BC578 EF C1 00 24 */ fdivs f30, f1, f0 +/* 802BF61C 002BC57C 48 00 00 40 */ b lbl_802BF65C +lbl_802BF620: +/* 802BF620 002BC580 80 AD A6 20 */ lwz r5, lbl_805A91E0@sda21(r13) +/* 802BF624 002BC584 80 05 00 00 */ lwz r0, 0(r5) +/* 802BF628 002BC588 2C 00 00 08 */ cmpwi r0, 8 +/* 802BF62C 002BC58C 40 80 00 28 */ bge lbl_802BF654 +/* 802BF630 002BC590 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF634 002BC594 54 C3 04 3E */ clrlwi r3, r6, 0x10 +/* 802BF638 002BC598 7C 85 02 14 */ add r4, r5, r0 +/* 802BF63C 002BC59C 34 84 00 04 */ addic. r4, r4, 4 +/* 802BF640 002BC5A0 41 82 00 08 */ beq lbl_802BF648 +/* 802BF644 002BC5A4 B0 64 00 00 */ sth r3, 0(r4) +lbl_802BF648: +/* 802BF648 002BC5A8 80 65 00 00 */ lwz r3, 0(r5) +/* 802BF64C 002BC5AC 38 03 00 01 */ addi r0, r3, 1 +/* 802BF650 002BC5B0 90 05 00 00 */ stw r0, 0(r5) +lbl_802BF654: +/* 802BF654 002BC5B4 38 E7 00 40 */ addi r7, r7, 0x40 +/* 802BF658 002BC5B8 38 C6 00 01 */ addi r6, r6, 1 +lbl_802BF65C: +/* 802BF65C 002BC5BC 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF660 002BC5C0 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF664 002BC5C4 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF668 002BC5C8 7C 63 02 14 */ add r3, r3, r0 +/* 802BF66C 002BC5CC 38 63 00 04 */ addi r3, r3, 4 +/* 802BF670 002BC5D0 7C 07 18 40 */ cmplw r7, r3 +/* 802BF674 002BC5D4 40 82 FF AC */ bne lbl_802BF620 +/* 802BF678 002BC5D8 83 CD A6 20 */ lwz r30, lbl_805A91E0@sda21(r13) +/* 802BF67C 002BC5DC 3B E0 00 32 */ li r31, 0x32 +/* 802BF680 002BC5E0 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF684 002BC5E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BF688 002BC5E8 41 82 00 B0 */ beq lbl_802BF738 +/* 802BF68C 002BC5EC 88 0D A6 24 */ lbz r0, lbl_805A91E4@sda21(r13) +/* 802BF690 002BC5F0 38 7E 00 04 */ addi r3, r30, 4 +/* 802BF694 002BC5F4 38 A1 00 0C */ addi r5, r1, 0xc +/* 802BF698 002BC5F8 98 01 00 0C */ stb r0, 0xc(r1) +/* 802BF69C 002BC5FC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF6A0 002BC600 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF6A4 002BC604 7C 9E 02 14 */ add r4, r30, r0 +/* 802BF6A8 002BC608 38 84 00 04 */ addi r4, r4, 4 +/* 802BF6AC 002BC60C 48 00 09 B9 */ bl sub_802c0064 +/* 802BF6B0 002BC610 80 7E 00 00 */ lwz r3, 0(r30) +/* 802BF6B4 002BC614 3C 00 43 30 */ lis r0, 0x4330 +/* 802BF6B8 002BC618 38 80 00 32 */ li r4, 0x32 +/* 802BF6BC 002BC61C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802BF6C0 002BC620 38 03 00 01 */ addi r0, r3, 1 +/* 802BF6C4 002BC624 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) +/* 802BF6C8 002BC628 7F E4 03 D6 */ divw r31, r4, r0 +/* 802BF6CC 002BC62C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) +/* 802BF6D0 002BC630 38 DE 00 04 */ addi r6, r30, 4 +/* 802BF6D4 002BC634 38 A0 00 00 */ li r5, 0 +/* 802BF6D8 002BC638 38 1F FF FE */ addi r0, r31, -2 +/* 802BF6DC 002BC63C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 802BF6E0 002BC640 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802BF6E4 002BC644 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802BF6E8 002BC648 EC 00 08 28 */ fsubs f0, f0, f1 +/* 802BF6EC 002BC64C EC 02 00 24 */ fdivs f0, f2, f0 +/* 802BF6F0 002BC650 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 802BF6F4 002BC654 EF C2 00 24 */ fdivs f30, f2, f0 +/* 802BF6F8 002BC658 48 00 00 28 */ b lbl_802BF720 +lbl_802BF6FC: +/* 802BF6FC 002BC65C 38 65 00 01 */ addi r3, r5, 1 +/* 802BF700 002BC660 A0 06 00 00 */ lhz r0, 0(r6) +/* 802BF704 002BC664 7C 9F 19 D6 */ mullw r4, r31, r3 +/* 802BF708 002BC668 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802BF70C 002BC66C 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF710 002BC670 38 C6 00 02 */ addi r6, r6, 2 +/* 802BF714 002BC674 7C 63 02 14 */ add r3, r3, r0 +/* 802BF718 002BC678 38 A5 00 01 */ addi r5, r5, 1 +/* 802BF71C 002BC67C B0 83 00 28 */ sth r4, 0x28(r3) +lbl_802BF720: +/* 802BF720 002BC680 80 1E 00 00 */ lwz r0, 0(r30) +/* 802BF724 002BC684 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF728 002BC688 7C 7E 02 14 */ add r3, r30, r0 +/* 802BF72C 002BC68C 38 03 00 04 */ addi r0, r3, 4 +/* 802BF730 002BC690 7C 06 00 40 */ cmplw r6, r0 +/* 802BF734 002BC694 40 82 FF C8 */ bne lbl_802BF6FC +lbl_802BF738: +/* 802BF738 002BC698 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) +/* 802BF73C 002BC69C 83 AD A6 20 */ lwz r29, lbl_805A91E0@sda21(r13) +/* 802BF740 002BC6A0 83 8D A6 1C */ lwz r28, lbl_805A91DC@sda21(r13) +/* 802BF744 002BC6A4 3B C3 00 04 */ addi r30, r3, 4 +/* 802BF748 002BC6A8 48 00 02 8C */ b lbl_802BF9D4 +lbl_802BF74C: +/* 802BF74C 002BC6AC C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 802BF750 002BC6B0 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BF754 002BC6B4 EC 1F 00 2A */ fadds f0, f31, f0 +/* 802BF758 002BC6B8 2C 00 00 00 */ cmpwi r0, 0 +/* 802BF75C 002BC6BC 40 82 00 48 */ bne lbl_802BF7A4 +/* 802BF760 002BC6C0 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802BF764 002BC6C4 80 0D 9A A4 */ lwz r0, lbl_805A8664@sda21(r13) +/* 802BF768 002BC6C8 38 8D 9A A4 */ addi r4, r13, lbl_805A8664@sda21 +/* 802BF76C 002BC6CC FC 00 00 1E */ fctiwz f0, f0 +/* 802BF770 002BC6D0 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 802BF774 002BC6D4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802BF778 002BC6D8 7C 03 00 00 */ cmpw r3, r0 +/* 802BF77C 002BC6DC 90 61 00 18 */ stw r3, 0x18(r1) +/* 802BF780 002BC6E0 40 80 00 08 */ bge lbl_802BF788 +/* 802BF784 002BC6E4 38 81 00 18 */ addi r4, r1, 0x18 +lbl_802BF788: +/* 802BF788 002BC6E8 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF78C 002BC6EC 80 0D 9A A8 */ lwz r0, lbl_805A8668@sda21(r13) +/* 802BF790 002BC6F0 7C 03 00 00 */ cmpw r3, r0 +/* 802BF794 002BC6F4 40 80 00 08 */ bge lbl_802BF79C +/* 802BF798 002BC6F8 38 8D 9A A8 */ addi r4, r13, lbl_805A8668@sda21 +lbl_802BF79C: +/* 802BF79C 002BC6FC 83 64 00 00 */ lwz r27, 0(r4) +/* 802BF7A0 002BC700 48 00 01 EC */ b lbl_802BF98C +lbl_802BF7A4: +/* 802BF7A4 002BC704 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 802BF7A8 002BC708 38 1F FF FE */ addi r0, r31, -2 +/* 802BF7AC 002BC70C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BF7B0 002BC710 38 81 00 14 */ addi r4, r1, 0x14 +/* 802BF7B4 002BC714 FC 00 00 1E */ fctiwz f0, f0 +/* 802BF7B8 002BC718 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 802BF7BC 002BC71C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 802BF7C0 002BC720 7C 03 00 00 */ cmpw r3, r0 +/* 802BF7C4 002BC724 90 61 00 10 */ stw r3, 0x10(r1) +/* 802BF7C8 002BC728 40 80 00 08 */ bge lbl_802BF7D0 +/* 802BF7CC 002BC72C 38 81 00 10 */ addi r4, r1, 0x10 +lbl_802BF7D0: +/* 802BF7D0 002BC730 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF7D4 002BC734 80 0D 9A AC */ lwz r0, lbl_805A866C@sda21(r13) +/* 802BF7D8 002BC738 7C 03 00 00 */ cmpw r3, r0 +/* 802BF7DC 002BC73C 40 80 00 08 */ bge lbl_802BF7E4 +/* 802BF7E0 002BC740 38 8D 9A AC */ addi r4, r13, lbl_805A866C@sda21 +lbl_802BF7E4: +/* 802BF7E4 002BC744 83 64 00 00 */ lwz r27, 0(r4) +/* 802BF7E8 002BC748 3B 5D 00 04 */ addi r26, r29, 4 +/* 802BF7EC 002BC74C 48 00 01 88 */ b lbl_802BF974 +lbl_802BF7F0: +/* 802BF7F0 002BC750 A0 1A 00 00 */ lhz r0, 0(r26) +/* 802BF7F4 002BC754 54 00 30 32 */ slwi r0, r0, 6 +/* 802BF7F8 002BC758 7F 3C 02 14 */ add r25, r28, r0 +/* 802BF7FC 002BC75C 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF800 002BC760 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802BF804 002BC764 41 82 00 40 */ beq lbl_802BF844 +/* 802BF808 002BC768 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 802BF80C 002BC76C C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF810 002BC770 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BF814 002BC774 40 81 00 0C */ ble lbl_802BF820 +/* 802BF818 002BC778 38 00 00 01 */ li r0, 1 +/* 802BF81C 002BC77C 48 00 00 08 */ b lbl_802BF824 +lbl_802BF820: +/* 802BF820 002BC780 38 00 00 00 */ li r0, 0 +lbl_802BF824: +/* 802BF824 002BC784 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802BF828 002BC788 7C 18 03 78 */ mr r24, r0 +/* 802BF82C 002BC78C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802BF830 002BC790 40 81 00 0C */ ble lbl_802BF83C +/* 802BF834 002BC794 38 80 00 01 */ li r4, 1 +/* 802BF838 002BC798 48 00 00 B4 */ b lbl_802BF8EC +lbl_802BF83C: +/* 802BF83C 002BC79C 38 80 00 00 */ li r4, 0 +/* 802BF840 002BC7A0 48 00 00 AC */ b lbl_802BF8EC +lbl_802BF844: +/* 802BF844 002BC7A4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802BF848 002BC7A8 38 9E 00 08 */ addi r4, r30, 8 +/* 802BF84C 002BC7AC 38 B9 00 30 */ addi r5, r25, 0x30 +/* 802BF850 002BC7B0 48 07 79 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BF854 002BC7B4 C0 39 00 34 */ lfs f1, 0x34(r25) +/* 802BF858 002BC7B8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802BF85C 002BC7BC C0 59 00 30 */ lfs f2, 0x30(r25) +/* 802BF860 002BC7C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BF864 002BC7C4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802BF868 002BC7C8 C0 99 00 38 */ lfs f4, 0x38(r25) +/* 802BF86C 002BC7CC C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802BF870 002BC7D0 EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 802BF874 002BC7D4 C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF878 002BC7D8 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF87C 002BC7DC EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BF880 002BC7E0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802BF884 002BC7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF888 002BC7E8 40 81 00 0C */ ble lbl_802BF894 +/* 802BF88C 002BC7EC 3B 00 00 01 */ li r24, 1 +/* 802BF890 002BC7F0 48 00 00 08 */ b lbl_802BF898 +lbl_802BF894: +/* 802BF894 002BC7F4 3B 00 00 00 */ li r24, 0 +lbl_802BF898: +/* 802BF898 002BC7F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802BF89C 002BC7FC 38 9E 00 08 */ addi r4, r30, 8 +/* 802BF8A0 002BC800 38 B9 00 30 */ addi r5, r25, 0x30 +/* 802BF8A4 002BC804 48 07 79 79 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 802BF8A8 002BC808 C0 39 00 34 */ lfs f1, 0x34(r25) +/* 802BF8AC 002BC80C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802BF8B0 002BC810 C0 59 00 30 */ lfs f2, 0x30(r25) +/* 802BF8B4 002BC814 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BF8B8 002BC818 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802BF8BC 002BC81C C0 99 00 38 */ lfs f4, 0x38(r25) +/* 802BF8C0 002BC820 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802BF8C4 002BC824 EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 802BF8C8 002BC828 C0 39 00 3C */ lfs f1, 0x3c(r25) +/* 802BF8CC 002BC82C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) +/* 802BF8D0 002BC830 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 802BF8D4 002BC834 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802BF8D8 002BC838 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BF8DC 002BC83C 40 81 00 0C */ ble lbl_802BF8E8 +/* 802BF8E0 002BC840 38 80 00 01 */ li r4, 1 +/* 802BF8E4 002BC844 48 00 00 08 */ b lbl_802BF8EC +lbl_802BF8E8: +/* 802BF8E8 002BC848 38 80 00 00 */ li r4, 0 +lbl_802BF8EC: +/* 802BF8EC 002BC84C A0 1E 00 00 */ lhz r0, 0(r30) +/* 802BF8F0 002BC850 2C 00 00 01 */ cmpwi r0, 1 +/* 802BF8F4 002BC854 40 82 00 28 */ bne lbl_802BF91C +/* 802BF8F8 002BC858 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF8FC 002BC85C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802BF900 002BC860 41 82 00 14 */ beq lbl_802BF914 +/* 802BF904 002BC864 57 00 06 3E */ clrlwi r0, r24, 0x18 +/* 802BF908 002BC868 7C 00 00 34 */ cntlzw r0, r0 +/* 802BF90C 002BC86C 54 00 D9 7E */ srwi r0, r0, 5 +/* 802BF910 002BC870 48 00 00 54 */ b lbl_802BF964 +lbl_802BF914: +/* 802BF914 002BC874 7C 80 23 78 */ mr r0, r4 +/* 802BF918 002BC878 48 00 00 4C */ b lbl_802BF964 +lbl_802BF91C: +/* 802BF91C 002BC87C 88 19 00 40 */ lbz r0, 0x40(r25) +/* 802BF920 002BC880 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802BF924 002BC884 41 82 00 24 */ beq lbl_802BF948 +/* 802BF928 002BC888 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 802BF92C 002BC88C 38 60 00 00 */ li r3, 0 +/* 802BF930 002BC890 41 82 00 0C */ beq lbl_802BF93C +/* 802BF934 002BC894 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802BF938 002BC898 40 82 00 08 */ bne lbl_802BF940 +lbl_802BF93C: +/* 802BF93C 002BC89C 38 60 00 01 */ li r3, 1 +lbl_802BF940: +/* 802BF940 002BC8A0 7C 60 1B 78 */ mr r0, r3 +/* 802BF944 002BC8A4 48 00 00 20 */ b lbl_802BF964 +lbl_802BF948: +/* 802BF948 002BC8A8 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 802BF94C 002BC8AC 38 60 00 00 */ li r3, 0 +/* 802BF950 002BC8B0 40 82 00 0C */ bne lbl_802BF95C +/* 802BF954 002BC8B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802BF958 002BC8B8 41 82 00 08 */ beq lbl_802BF960 +lbl_802BF95C: +/* 802BF95C 002BC8BC 38 60 00 01 */ li r3, 1 +lbl_802BF960: +/* 802BF960 002BC8C0 7C 60 1B 78 */ mr r0, r3 +lbl_802BF964: +/* 802BF964 002BC8C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802BF968 002BC8C8 41 82 00 24 */ beq lbl_802BF98C +/* 802BF96C 002BC8CC 7F 7B FA 14 */ add r27, r27, r31 +/* 802BF970 002BC8D0 3B 5A 00 02 */ addi r26, r26, 2 +lbl_802BF974: +/* 802BF974 002BC8D4 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BF978 002BC8D8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BF97C 002BC8DC 7C 7D 02 14 */ add r3, r29, r0 +/* 802BF980 002BC8E0 38 03 00 04 */ addi r0, r3, 4 +/* 802BF984 002BC8E4 7C 1A 00 40 */ cmplw r26, r0 +/* 802BF988 002BC8E8 40 82 FE 68 */ bne lbl_802BF7F0 +lbl_802BF98C: +/* 802BF98C 002BC8EC 2C 1B FF FF */ cmpwi r27, -1 +/* 802BF990 002BC8F0 40 82 00 08 */ bne lbl_802BF998 +/* 802BF994 002BC8F4 3B 60 00 31 */ li r27, 0x31 +lbl_802BF998: +/* 802BF998 002BC8F8 1C 1B 02 04 */ mulli r0, r27, 0x204 +/* 802BF99C 002BC8FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BF9A0 002BC900 7C 83 02 14 */ add r4, r3, r0 +/* 802BF9A4 002BC904 84 04 00 04 */ lwzu r0, 4(r4) +/* 802BF9A8 002BC908 2C 00 00 80 */ cmpwi r0, 0x80 +/* 802BF9AC 002BC90C 40 80 00 24 */ bge lbl_802BF9D0 +/* 802BF9B0 002BC910 54 00 10 3A */ slwi r0, r0, 2 +/* 802BF9B4 002BC914 7C 64 02 14 */ add r3, r4, r0 +/* 802BF9B8 002BC918 34 63 00 04 */ addic. r3, r3, 4 +/* 802BF9BC 002BC91C 41 82 00 08 */ beq lbl_802BF9C4 +/* 802BF9C0 002BC920 93 C3 00 00 */ stw r30, 0(r3) +lbl_802BF9C4: +/* 802BF9C4 002BC924 80 64 00 00 */ lwz r3, 0(r4) +/* 802BF9C8 002BC928 38 03 00 01 */ addi r0, r3, 1 +/* 802BF9CC 002BC92C 90 04 00 00 */ stw r0, 0(r4) +lbl_802BF9D0: +/* 802BF9D0 002BC930 3B DE 00 24 */ addi r30, r30, 0x24 +lbl_802BF9D4: +/* 802BF9D4 002BC934 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) +/* 802BF9D8 002BC938 80 03 00 00 */ lwz r0, 0(r3) +/* 802BF9DC 002BC93C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BF9E0 002BC940 7C 63 02 14 */ add r3, r3, r0 +/* 802BF9E4 002BC944 38 63 00 04 */ addi r3, r3, 4 +/* 802BF9E8 002BC948 7C 1E 18 40 */ cmplw r30, r3 +/* 802BF9EC 002BC94C 40 82 FD 60 */ bne lbl_802BF74C +/* 802BF9F0 002BC950 80 8D A6 10 */ lwz r4, lbl_805A91D0@sda21(r13) +/* 802BF9F4 002BC954 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802BF9F8 002BC958 3B 63 E2 0C */ addi r27, r3, lbl_8046E20C@l +/* 802BF9FC 002BC95C 80 64 00 00 */ lwz r3, 0(r4) +/* 802BFA00 002BC960 3B DB 00 04 */ addi r30, r27, 4 +/* 802BFA04 002BC964 3B 43 FF FF */ addi r26, r3, -1 +/* 802BFA08 002BC968 1F FA 02 04 */ mulli r31, r26, 0x204 +/* 802BFA0C 002BC96C 48 00 00 6C */ b lbl_802BFA78 +lbl_802BFA10: +/* 802BFA10 002BC970 80 1B 00 00 */ lwz r0, 0(r27) +/* 802BFA14 002BC974 57 44 04 3E */ clrlwi r4, r26, 0x10 +/* 802BFA18 002BC978 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BFA1C 002BC97C 54 00 08 3C */ slwi r0, r0, 1 +/* 802BFA20 002BC980 7C BE 02 15 */ add. r5, r30, r0 +/* 802BFA24 002BC984 7C C3 FA 14 */ add r6, r3, r31 +/* 802BFA28 002BC988 38 C6 00 04 */ addi r6, r6, 4 +/* 802BFA2C 002BC98C 41 82 00 08 */ beq lbl_802BFA34 +/* 802BFA30 002BC990 B0 85 00 00 */ sth r4, 0(r5) +lbl_802BFA34: +/* 802BFA34 002BC994 80 7B 00 00 */ lwz r3, 0(r27) +/* 802BFA38 002BC998 38 03 00 01 */ addi r0, r3, 1 +/* 802BFA3C 002BC99C 90 1B 00 00 */ stw r0, 0(r27) +/* 802BFA40 002BC9A0 80 06 00 00 */ lwz r0, 0(r6) +/* 802BFA44 002BC9A4 2C 00 00 00 */ cmpwi r0, 0 +/* 802BFA48 002BC9A8 41 82 00 28 */ beq lbl_802BFA70 +/* 802BFA4C 002BC9AC 88 0D A6 28 */ lbz r0, lbl_805A91E8@sda21(r13) +/* 802BFA50 002BC9B0 38 66 00 04 */ addi r3, r6, 4 +/* 802BFA54 002BC9B4 38 A1 00 08 */ addi r5, r1, 8 +/* 802BFA58 002BC9B8 98 01 00 08 */ stb r0, 8(r1) +/* 802BFA5C 002BC9BC 80 06 00 00 */ lwz r0, 0(r6) +/* 802BFA60 002BC9C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802BFA64 002BC9C4 7C 86 02 14 */ add r4, r6, r0 +/* 802BFA68 002BC9C8 38 84 00 04 */ addi r4, r4, 4 +/* 802BFA6C 002BC9CC 48 00 07 3D */ bl sub_802c01a8 +lbl_802BFA70: +/* 802BFA70 002BC9D0 3B FF FD FC */ addi r31, r31, -516 +/* 802BFA74 002BC9D4 3B 5A FF FF */ addi r26, r26, -1 +lbl_802BFA78: +/* 802BFA78 002BC9D8 2C 1A 00 00 */ cmpwi r26, 0 +/* 802BFA7C 002BC9DC 40 80 FF 94 */ bge lbl_802BFA10 +/* 802BFA80 002BC9E0 80 1D 00 00 */ lwz r0, 0(r29) +/* 802BFA84 002BC9E4 38 DD 00 02 */ addi r6, r29, 2 +/* 802BFA88 002BC9E8 54 00 08 3C */ slwi r0, r0, 1 +/* 802BFA8C 002BC9EC 7C 7D 02 14 */ add r3, r29, r0 +/* 802BFA90 002BC9F0 38 E3 00 02 */ addi r7, r3, 2 +/* 802BFA94 002BC9F4 48 00 00 54 */ b lbl_802BFAE8 +lbl_802BFA98: +/* 802BFA98 002BC9F8 A0 07 00 00 */ lhz r0, 0(r7) +/* 802BFA9C 002BC9FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) +/* 802BFAA0 002BCA00 54 00 30 32 */ slwi r0, r0, 6 +/* 802BFAA4 002BCA04 7C 9C 02 14 */ add r4, r28, r0 +/* 802BFAA8 002BCA08 A0 04 00 28 */ lhz r0, 0x28(r4) +/* 802BFAAC 002BCA0C 38 84 00 04 */ addi r4, r4, 4 +/* 802BFAB0 002BCA10 1C 00 02 04 */ mulli r0, r0, 0x204 +/* 802BFAB4 002BCA14 7C A3 02 14 */ add r5, r3, r0 +/* 802BFAB8 002BCA18 84 05 00 04 */ lwzu r0, 4(r5) +/* 802BFABC 002BCA1C 2C 00 00 80 */ cmpwi r0, 0x80 +/* 802BFAC0 002BCA20 40 80 00 24 */ bge lbl_802BFAE4 +/* 802BFAC4 002BCA24 54 00 10 3A */ slwi r0, r0, 2 +/* 802BFAC8 002BCA28 7C 65 02 14 */ add r3, r5, r0 +/* 802BFACC 002BCA2C 34 63 00 04 */ addic. r3, r3, 4 +/* 802BFAD0 002BCA30 41 82 00 08 */ beq lbl_802BFAD8 +/* 802BFAD4 002BCA34 90 83 00 00 */ stw r4, 0(r3) +lbl_802BFAD8: +/* 802BFAD8 002BCA38 80 65 00 00 */ lwz r3, 0(r5) +/* 802BFADC 002BCA3C 38 03 00 01 */ addi r0, r3, 1 +/* 802BFAE0 002BCA40 90 05 00 00 */ stw r0, 0(r5) +lbl_802BFAE4: +/* 802BFAE4 002BCA44 38 E7 FF FE */ addi r7, r7, -2 +lbl_802BFAE8: +/* 802BFAE8 002BCA48 7C 07 30 40 */ cmplw r7, r6 +/* 802BFAEC 002BCA4C 40 82 FF AC */ bne lbl_802BFA98 +/* 802BFAF0 002BCA50 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802BFAF4 002BCA54 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802BFAF8 002BCA58 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 802BFAFC 002BCA5C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 802BFB00 002BCA60 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 802BFB04 002BCA64 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 802BFB08 002BCA68 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 802BFB0C 002BCA6C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802BFB10 002BCA70 7C 08 03 A6 */ mtlr r0 +/* 802BFB14 002BCA74 38 21 00 90 */ addi r1, r1, 0x90 +/* 802BFB18 002BCA78 4E 80 00 20 */ blr + +.global InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv +InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv: +/* 802BFB1C 002BCA7C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802BFB20 002BCA80 7C 08 02 A6 */ mflr r0 +/* 802BFB24 002BCA84 7C AC 2B 78 */ mr r12, r5 +/* 802BFB28 002BCA88 7C CB 33 78 */ mr r11, r6 +/* 802BFB2C 002BCA8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802BFB30 002BCA90 7D 09 43 78 */ mr r9, r8 +/* 802BFB34 002BCA94 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802BFB38 002BCA98 93 C1 00 48 */ stw r30, 0x48(r1) +/* 802BFB3C 002BCA9C 7C 9E 23 78 */ mr r30, r4 +/* 802BFB40 002BCAA0 81 4D A6 1C */ lwz r10, lbl_805A91DC@sda21(r13) +/* 802BFB44 002BCAA4 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFB48 002BCAA8 7D 5F 53 78 */ mr r31, r10 +/* 802BFB4C 002BCAAC 2C 00 00 08 */ cmpwi r0, 8 +/* 802BFB50 002BCAB0 41 82 00 2C */ beq lbl_802BFB7C +/* 802BFB54 002BCAB4 7C E4 3B 78 */ mr r4, r7 +/* 802BFB58 002BCAB8 7C 65 1B 78 */ mr r5, r3 +/* 802BFB5C 002BCABC 7F C6 F3 78 */ mr r6, r30 +/* 802BFB60 002BCAC0 7D 87 63 78 */ mr r7, r12 +/* 802BFB64 002BCAC4 7D 68 5B 78 */ mr r8, r11 +/* 802BFB68 002BCAC8 38 61 00 08 */ addi r3, r1, 8 +/* 802BFB6C 002BCACC 48 00 01 25 */ bl __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv +/* 802BFB70 002BCAD0 7C 64 1B 78 */ mr r4, r3 +/* 802BFB74 002BCAD4 7F E3 FB 78 */ mr r3, r31 +/* 802BFB78 002BCAD8 48 00 00 1D */ bl "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" +lbl_802BFB7C: +/* 802BFB7C 002BCADC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802BFB80 002BCAE0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802BFB84 002BCAE4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 802BFB88 002BCAE8 7C 08 03 A6 */ mtlr r0 +/* 802BFB8C 002BCAEC 38 21 00 50 */ addi r1, r1, 0x50 +/* 802BFB90 002BCAF0 4E 80 00 20 */ blr + +.global "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" +"push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject": +/* 802BFB94 002BCAF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFB98 002BCAF8 7C 08 02 A6 */ mflr r0 +/* 802BFB9C 002BCAFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFBA0 002BCB00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802BFBA4 002BCB04 7C 7F 1B 78 */ mr r31, r3 +/* 802BFBA8 002BCB08 80 03 00 00 */ lwz r0, 0(r3) +/* 802BFBAC 002BCB0C 54 00 30 32 */ slwi r0, r0, 6 +/* 802BFBB0 002BCB10 7C 7F 02 14 */ add r3, r31, r0 +/* 802BFBB4 002BCB14 38 63 00 04 */ addi r3, r3, 4 +/* 802BFBB8 002BCB18 48 00 00 25 */ bl "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" +/* 802BFBBC 002BCB1C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802BFBC0 002BCB20 38 03 00 01 */ addi r0, r3, 1 +/* 802BFBC4 002BCB24 90 1F 00 00 */ stw r0, 0(r31) +/* 802BFBC8 002BCB28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802BFBCC 002BCB2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFBD0 002BCB30 7C 08 03 A6 */ mtlr r0 +/* 802BFBD4 002BCB34 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BFBD8 002BCB38 4E 80 00 20 */ blr + +.global "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" +"construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject": +/* 802BFBDC 002BCB3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFBE0 002BCB40 7C 08 02 A6 */ mflr r0 +/* 802BFBE4 002BCB44 28 03 00 00 */ cmplwi r3, 0 +/* 802BFBE8 002BCB48 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFBEC 002BCB4C 41 82 00 08 */ beq lbl_802BFBF4 +/* 802BFBF0 002BCB50 48 00 00 15 */ bl __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject +lbl_802BFBF4: +/* 802BFBF4 002BCB54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFBF8 002BCB58 7C 08 03 A6 */ mtlr r0 +/* 802BFBFC 002BCB5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802BFC00 002BCB60 4E 80 00 20 */ blr + +.global __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject +__ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject: +/* 802BFC04 002BCB64 A0 04 00 00 */ lhz r0, 0(r4) +/* 802BFC08 002BCB68 B0 03 00 00 */ sth r0, 0(r3) +/* 802BFC0C 002BCB6C A0 04 00 02 */ lhz r0, 2(r4) +/* 802BFC10 002BCB70 B0 03 00 02 */ sth r0, 2(r3) +/* 802BFC14 002BCB74 80 04 00 04 */ lwz r0, 4(r4) +/* 802BFC18 002BCB78 90 03 00 04 */ stw r0, 4(r3) +/* 802BFC1C 002BCB7C C0 04 00 08 */ lfs f0, 8(r4) +/* 802BFC20 002BCB80 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BFC24 002BCB84 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802BFC28 002BCB88 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BFC2C 002BCB8C C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802BFC30 002BCB90 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BFC34 002BCB94 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802BFC38 002BCB98 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802BFC3C 002BCB9C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802BFC40 002BCBA0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802BFC44 002BCBA4 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802BFC48 002BCBA8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802BFC4C 002BCBAC C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802BFC50 002BCBB0 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802BFC54 002BCBB4 A0 04 00 24 */ lhz r0, 0x24(r4) +/* 802BFC58 002BCBB8 B0 03 00 24 */ sth r0, 0x24(r3) +/* 802BFC5C 002BCBBC C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802BFC60 002BCBC0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802BFC64 002BCBC4 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802BFC68 002BCBC8 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802BFC6C 002BCBCC C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802BFC70 002BCBD0 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802BFC74 002BCBD4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802BFC78 002BCBD8 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802BFC7C 002BCBDC C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802BFC80 002BCBE0 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802BFC84 002BCBE4 88 04 00 3C */ lbz r0, 0x3c(r4) +/* 802BFC88 002BCBE8 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFC8C 002BCBEC 4E 80 00 20 */ blr + +.global __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv +__ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv: +/* 802BFC90 002BCBF0 B0 83 00 00 */ sth r4, 0(r3) +/* 802BFC94 002BCBF4 38 00 00 00 */ li r0, 0 +/* 802BFC98 002BCBF8 B0 03 00 02 */ sth r0, 2(r3) +/* 802BFC9C 002BCBFC 91 23 00 04 */ stw r9, 4(r3) +/* 802BFCA0 002BCC00 C0 05 00 00 */ lfs f0, 0(r5) +/* 802BFCA4 002BCC04 D0 03 00 08 */ stfs f0, 8(r3) +/* 802BFCA8 002BCC08 C0 05 00 04 */ lfs f0, 4(r5) +/* 802BFCAC 002BCC0C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802BFCB0 002BCC10 C0 05 00 08 */ lfs f0, 8(r5) +/* 802BFCB4 002BCC14 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802BFCB8 002BCC18 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802BFCBC 002BCC1C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802BFCC0 002BCC20 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802BFCC4 002BCC24 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802BFCC8 002BCC28 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802BFCCC 002BCC2C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802BFCD0 002BCC30 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 802BFCD4 002BCC34 B0 03 00 24 */ sth r0, 0x24(r3) +/* 802BFCD8 002BCC38 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 802BFCDC 002BCC3C C0 07 00 00 */ lfs f0, 0(r7) +/* 802BFCE0 002BCC40 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802BFCE4 002BCC44 C0 07 00 04 */ lfs f0, 4(r7) +/* 802BFCE8 002BCC48 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802BFCEC 002BCC4C C0 07 00 08 */ lfs f0, 8(r7) +/* 802BFCF0 002BCC50 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802BFCF4 002BCC54 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 802BFCF8 002BCC58 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802BFCFC 002BCC5C 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802BFD00 002BCC60 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 802BFD04 002BCC64 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFD08 002BCC68 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802BFD0C 002BCC6C 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 802BFD10 002BCC70 98 03 00 3C */ stb r0, 0x3c(r3) +/* 802BFD14 002BCC74 4E 80 00 20 */ blr + +.global Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs +Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs: +/* 802BFD18 002BCC78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802BFD1C 002BCC7C 81 4D A6 0C */ lwz r10, lbl_805A91CC@sda21(r13) +/* 802BFD20 002BCC80 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFD24 002BCC84 2C 00 02 00 */ cmpwi r0, 0x200 +/* 802BFD28 002BCC88 41 82 01 2C */ beq lbl_802BFE54 +/* 802BFD2C 002BCC8C C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFD30 002BCC90 39 2A 00 04 */ addi r9, r10, 4 +/* 802BFD34 002BCC94 C0 27 00 04 */ lfs f1, 4(r7) +/* 802BFD38 002BCC98 C0 C4 00 00 */ lfs f6, 0(r4) +/* 802BFD3C 002BCC9C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802BFD40 002BCCA0 C0 23 00 00 */ lfs f1, 0(r3) +/* 802BFD44 002BCCA4 C0 47 00 00 */ lfs f2, 0(r7) +/* 802BFD48 002BCCA8 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802BFD4C 002BCCAC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 802BFD50 002BCCB0 C0 23 00 08 */ lfs f1, 8(r3) +/* 802BFD54 002BCCB4 C0 47 00 08 */ lfs f2, 8(r7) +/* 802BFD58 002BCCB8 C0 84 00 08 */ lfs f4, 8(r4) +/* 802BFD5C 002BCCBC EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802BFD60 002BCCC0 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 802BFD64 002BCCC4 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802BFD68 002BCCC8 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802BFD6C 002BCCCC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802BFD70 002BCCD0 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802BFD74 002BCCD4 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 802BFD78 002BCCD8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802BFD7C 002BCCDC 80 0A 00 00 */ lwz r0, 0(r10) +/* 802BFD80 002BCCE0 B1 01 00 0E */ sth r8, 0xe(r1) +/* 802BFD84 002BCCE4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BFD88 002BCCE8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802BFD8C 002BCCEC 7C 69 02 15 */ add. r3, r9, r0 +/* 802BFD90 002BCCF0 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 802BFD94 002BCCF4 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802BFD98 002BCCF8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802BFD9C 002BCCFC D0 61 00 20 */ stfs f3, 0x20(r1) +/* 802BFDA0 002BCD00 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802BFDA4 002BCD04 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802BFDA8 002BCD08 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802BFDAC 002BCD0C 41 82 00 30 */ beq lbl_802BFDDC +/* 802BFDB0 002BCD10 B0 A3 00 00 */ sth r5, 0(r3) +/* 802BFDB4 002BCD14 FC 00 00 18 */ frsp f0, f0 +/* 802BFDB8 002BCD18 B1 03 00 02 */ sth r8, 2(r3) +/* 802BFDBC 002BCD1C 90 C3 00 04 */ stw r6, 4(r3) +/* 802BFDC0 002BCD20 D0 C3 00 08 */ stfs f6, 8(r3) +/* 802BFDC4 002BCD24 D0 A3 00 0C */ stfs f5, 0xc(r3) +/* 802BFDC8 002BCD28 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 802BFDCC 002BCD2C D0 63 00 14 */ stfs f3, 0x14(r3) +/* 802BFDD0 002BCD30 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 802BFDD4 002BCD34 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 802BFDD8 002BCD38 D0 03 00 20 */ stfs f0, 0x20(r3) +lbl_802BFDDC: +/* 802BFDDC 002BCD3C 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFDE0 002BCD40 38 03 00 01 */ addi r0, r3, 1 +/* 802BFDE4 002BCD44 90 0A 00 00 */ stw r0, 0(r10) +/* 802BFDE8 002BCD48 C0 2D A6 14 */ lfs f1, lbl_805A91D4@sda21(r13) +/* 802BFDEC 002BCD4C C0 01 00 08 */ lfs f0, 8(r1) +/* 802BFDF0 002BCD50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BFDF4 002BCD54 40 80 00 0C */ bge lbl_802BFE00 +/* 802BFDF8 002BCD58 38 8D A6 14 */ addi r4, r13, lbl_805A91D4@sda21 +/* 802BFDFC 002BCD5C 48 00 00 08 */ b lbl_802BFE04 +lbl_802BFE00: +/* 802BFE00 002BCD60 38 81 00 08 */ addi r4, r1, 8 +lbl_802BFE04: +/* 802BFE04 002BCD64 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFE08 002BCD68 C0 44 00 00 */ lfs f2, 0(r4) +/* 802BFE0C 002BCD6C C0 21 00 08 */ lfs f1, 8(r1) +/* 802BFE10 002BCD70 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFE14 002BCD74 D0 4D A6 14 */ stfs f2, lbl_805A91D4@sda21(r13) +/* 802BFE18 002BCD78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802BFE1C 002BCD7C 40 80 00 0C */ bge lbl_802BFE28 +/* 802BFE20 002BCD80 38 63 00 04 */ addi r3, r3, 4 +/* 802BFE24 002BCD84 48 00 00 08 */ b lbl_802BFE2C +lbl_802BFE28: +/* 802BFE28 002BCD88 38 61 00 08 */ addi r3, r1, 8 +lbl_802BFE2C: +/* 802BFE2C 002BCD8C C0 03 00 00 */ lfs f0, 0(r3) +/* 802BFE30 002BCD90 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFE34 002BCD94 38 8A 00 04 */ addi r4, r10, 4 +/* 802BFE38 002BCD98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802BFE3C 002BCD9C 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFE40 002BCDA0 38 03 FF FF */ addi r0, r3, -1 +/* 802BFE44 002BCDA4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802BFE48 002BCDA8 7C 64 02 14 */ add r3, r4, r0 +/* 802BFE4C 002BCDAC 38 03 00 24 */ addi r0, r3, 0x24 +/* 802BFE50 002BCDB0 7C 00 02 2C */ dcbt 0, r0 +lbl_802BFE54: +/* 802BFE54 002BCDB4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802BFE58 002BCDB8 4E 80 00 20 */ blr + +.global Shutdown__7BucketsFv +Shutdown__7BucketsFv: +/* 802BFE5C 002BCDBC 38 00 00 00 */ li r0, 0 +/* 802BFE60 002BCDC0 90 0D A6 0C */ stw r0, lbl_805A91CC@sda21(r13) +/* 802BFE64 002BCDC4 90 0D A6 10 */ stw r0, lbl_805A91D0@sda21(r13) +/* 802BFE68 002BCDC8 90 0D A6 1C */ stw r0, lbl_805A91DC@sda21(r13) +/* 802BFE6C 002BCDCC 90 0D A6 20 */ stw r0, lbl_805A91E0@sda21(r13) +/* 802BFE70 002BCDD0 4E 80 00 20 */ blr + +.global Init__7BucketsFv +Init__7BucketsFv: +/* 802BFE74 002BCDD4 3C 60 80 47 */ lis r3, 0x8047 +/* 802BFE78 002BCDD8 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 802BFE7C 002BCDDC 34 83 E2 74 */ addic. r4, r3, -7564 +/* 802BFE80 002BCDE0 41 82 00 0C */ beq lbl_802BFE8C +/* 802BFE84 002BCDE4 38 00 00 00 */ li r0, 0 +/* 802BFE88 002BCDE8 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFE8C: +/* 802BFE8C 002BCDEC 3C 60 80 47 */ lis r3, 0x8047 +/* 802BFE90 002BCDF0 90 8D A6 0C */ stw r4, lbl_805A91CC@sda21(r13) +/* 802BFE94 002BCDF4 34 83 2A 7C */ addic. r4, r3, 0x2a7c +/* 802BFE98 002BCDF8 41 82 00 0C */ beq lbl_802BFEA4 +/* 802BFE9C 002BCDFC 38 00 00 00 */ li r0, 0 +/* 802BFEA0 002BCE00 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFEA4: +/* 802BFEA4 002BCE04 3C 60 80 48 */ lis r3, 0x8048 +/* 802BFEA8 002BCE08 90 8D A6 10 */ stw r4, lbl_805A91D0@sda21(r13) +/* 802BFEAC 002BCE0C 34 83 8F 4C */ addic. r4, r3, -28852 +/* 802BFEB0 002BCE10 41 82 00 0C */ beq lbl_802BFEBC +/* 802BFEB4 002BCE14 38 00 00 00 */ li r0, 0 +/* 802BFEB8 002BCE18 90 04 00 00 */ stw r0, 0(r4) +lbl_802BFEBC: +/* 802BFEBC 002BCE1C 3C 60 80 48 */ lis r3, 0x8048 +/* 802BFEC0 002BCE20 90 8D A6 1C */ stw r4, lbl_805A91DC@sda21(r13) +/* 802BFEC4 002BCE24 34 63 91 54 */ addic. r3, r3, -28332 +/* 802BFEC8 002BCE28 41 82 00 0C */ beq lbl_802BFED4 +/* 802BFECC 002BCE2C 38 00 00 00 */ li r0, 0 +/* 802BFED0 002BCE30 90 03 00 00 */ stw r0, 0(r3) +lbl_802BFED4: +/* 802BFED4 002BCE34 90 6D A6 20 */ stw r3, lbl_805A91E0@sda21(r13) +/* 802BFED8 002BCE38 38 80 00 00 */ li r4, 0 +/* 802BFEDC 002BCE3C 81 4D A6 10 */ lwz r10, lbl_805A91D0@sda21(r13) +/* 802BFEE0 002BCE40 90 81 00 08 */ stw r4, 8(r1) +/* 802BFEE4 002BCE44 80 6A 00 00 */ lwz r3, 0(r10) +/* 802BFEE8 002BCE48 2C 03 00 32 */ cmpwi r3, 0x32 +/* 802BFEEC 002BCE4C 40 80 00 78 */ bge lbl_802BFF64 +/* 802BFEF0 002BCE50 1C 03 02 04 */ mulli r0, r3, 0x204 +/* 802BFEF4 002BCE54 7C 85 23 78 */ mr r5, r4 +/* 802BFEF8 002BCE58 20 C3 00 32 */ subfic r6, r3, 0x32 +/* 802BFEFC 002BCE5C 39 21 00 0C */ addi r9, r1, 0xc +/* 802BFF00 002BCE60 7C 6A 02 14 */ add r3, r10, r0 +/* 802BFF04 002BCE64 38 63 00 04 */ addi r3, r3, 4 +/* 802BFF08 002BCE68 48 00 00 4C */ b lbl_802BFF54 +lbl_802BFF0C: +/* 802BFF0C 002BCE6C 28 03 00 00 */ cmplwi r3, 0 +/* 802BFF10 002BCE70 41 82 00 3C */ beq lbl_802BFF4C +/* 802BFF14 002BCE74 90 83 00 00 */ stw r4, 0(r3) +/* 802BFF18 002BCE78 7D 28 4B 78 */ mr r8, r9 +/* 802BFF1C 002BCE7C 38 E3 00 04 */ addi r7, r3, 4 +/* 802BFF20 002BCE80 80 03 00 00 */ lwz r0, 0(r3) +/* 802BFF24 002BCE84 7C 09 03 A6 */ mtctr r0 +/* 802BFF28 002BCE88 2C 00 00 00 */ cmpwi r0, 0 +/* 802BFF2C 002BCE8C 40 81 00 20 */ ble lbl_802BFF4C +lbl_802BFF30: +/* 802BFF30 002BCE90 28 07 00 00 */ cmplwi r7, 0 +/* 802BFF34 002BCE94 41 82 00 0C */ beq lbl_802BFF40 +/* 802BFF38 002BCE98 80 08 00 00 */ lwz r0, 0(r8) +/* 802BFF3C 002BCE9C 90 07 00 00 */ stw r0, 0(r7) +lbl_802BFF40: +/* 802BFF40 002BCEA0 38 E7 00 04 */ addi r7, r7, 4 +/* 802BFF44 002BCEA4 39 08 00 04 */ addi r8, r8, 4 +/* 802BFF48 002BCEA8 42 00 FF E8 */ bdnz lbl_802BFF30 +lbl_802BFF4C: +/* 802BFF4C 002BCEAC 38 A5 00 01 */ addi r5, r5, 1 +/* 802BFF50 002BCEB0 38 63 02 04 */ addi r3, r3, 0x204 +lbl_802BFF54: +/* 802BFF54 002BCEB4 7C 05 30 00 */ cmpw r5, r6 +/* 802BFF58 002BCEB8 41 80 FF B4 */ blt lbl_802BFF0C +/* 802BFF5C 002BCEBC 38 00 00 32 */ li r0, 0x32 +/* 802BFF60 002BCEC0 90 0A 00 00 */ stw r0, 0(r10) +lbl_802BFF64: +/* 802BFF64 002BCEC4 80 A1 00 08 */ lwz r5, 8(r1) +/* 802BFF68 002BCEC8 38 60 00 00 */ li r3, 0 +/* 802BFF6C 002BCECC 2C 05 00 00 */ cmpwi r5, 0 +/* 802BFF70 002BCED0 40 81 00 40 */ ble lbl_802BFFB0 +/* 802BFF74 002BCED4 2C 05 00 08 */ cmpwi r5, 8 +/* 802BFF78 002BCED8 38 85 FF F8 */ addi r4, r5, -8 +/* 802BFF7C 002BCEDC 40 81 00 20 */ ble lbl_802BFF9C +/* 802BFF80 002BCEE0 38 04 00 07 */ addi r0, r4, 7 +/* 802BFF84 002BCEE4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802BFF88 002BCEE8 7C 09 03 A6 */ mtctr r0 +/* 802BFF8C 002BCEEC 2C 04 00 00 */ cmpwi r4, 0 +/* 802BFF90 002BCEF0 40 81 00 0C */ ble lbl_802BFF9C +lbl_802BFF94: +/* 802BFF94 002BCEF4 38 63 00 08 */ addi r3, r3, 8 +/* 802BFF98 002BCEF8 42 00 FF FC */ bdnz lbl_802BFF94 +lbl_802BFF9C: +/* 802BFF9C 002BCEFC 7C 03 28 50 */ subf r0, r3, r5 +/* 802BFFA0 002BCF00 7C 09 03 A6 */ mtctr r0 +/* 802BFFA4 002BCF04 7C 03 28 00 */ cmpw r3, r5 +/* 802BFFA8 002BCF08 40 80 00 08 */ bge lbl_802BFFB0 +lbl_802BFFAC: +/* 802BFFAC 002BCF0C 42 00 00 00 */ bdnz lbl_802BFFAC +lbl_802BFFB0: +/* 802BFFB0 002BCF10 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 +/* 802BFFB4 002BCF14 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802BFFB8 002BCF18 C0 03 00 04 */ lfs f0, 4(r3) +/* 802BFFBC 002BCF1C 38 00 00 00 */ li r0, 0 +/* 802BFFC0 002BCF20 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802BFFC4 002BCF24 90 01 00 08 */ stw r0, 8(r1) +/* 802BFFC8 002BCF28 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802BFFCC 002BCF2C D0 03 00 04 */ stfs f0, 4(r3) +/* 802BFFD0 002BCF30 38 21 02 10 */ addi r1, r1, 0x210 +/* 802BFFD4 002BCF34 4E 80 00 20 */ blr + +.global "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" +"__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc": +/* 802BFFD8 002BCF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802BFFDC 002BCF3C 7C 08 02 A6 */ mflr r0 +/* 802BFFE0 002BCF40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802BFFE4 002BCF44 48 00 00 5D */ bl sub_802c0040 +/* 802BFFE8 002BCF48 80 83 00 00 */ lwz r4, 0(r3) +/* 802BFFEC 002BCF4C 38 04 00 01 */ addi r0, r4, 1 +/* 802BFFF0 002BCF50 90 03 00 00 */ stw r0, 0(r3) +/* 802BFFF4 002BCF54 48 00 00 41 */ bl sub_802c0034 +/* 802BFFF8 002BCF58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802BFFFC 002BCF5C 7C 08 03 A6 */ mtlr r0 +/* 802C0000 002BCF60 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0004 002BCF64 4E 80 00 20 */ blr + +.global sub_802c0008 +sub_802c0008: +/* 802C0008 002BCF68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C000C 002BCF6C 7C 08 02 A6 */ mflr r0 +/* 802C0010 002BCF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0014 002BCF74 48 00 00 2D */ bl sub_802c0040 +/* 802C0018 002BCF78 80 83 00 00 */ lwz r4, 0(r3) +/* 802C001C 002BCF7C 38 04 FF FF */ addi r0, r4, -1 +/* 802C0020 002BCF80 90 03 00 00 */ stw r0, 0(r3) +/* 802C0024 002BCF84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0028 002BCF88 7C 08 03 A6 */ mtlr r0 +/* 802C002C 002BCF8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0030 002BCF90 4E 80 00 20 */ blr + +.global sub_802c0034 +sub_802c0034: +/* 802C0034 002BCF94 3C 60 80 48 */ lis r3, lbl_80479178@ha +/* 802C0038 002BCF98 38 63 91 78 */ addi r3, r3, lbl_80479178@l +/* 802C003C 002BCF9C 4E 80 00 20 */ blr + +.global sub_802c0040 +sub_802c0040: +/* 802C0040 002BCFA0 88 0D A6 34 */ lbz r0, lbl_805A91F4@sda21(r13) +/* 802C0044 002BCFA4 7C 00 07 75 */ extsb. r0, r0 +/* 802C0048 002BCFA8 40 82 00 14 */ bne lbl_802C005C +/* 802C004C 002BCFAC 38 60 00 00 */ li r3, 0 +/* 802C0050 002BCFB0 38 00 00 01 */ li r0, 1 +/* 802C0054 002BCFB4 90 6D A6 30 */ stw r3, lbl_805A91F0@sda21(r13) +/* 802C0058 002BCFB8 98 0D A6 34 */ stb r0, lbl_805A91F4@sda21(r13) +lbl_802C005C: +/* 802C005C 002BCFBC 38 6D A6 30 */ addi r3, r13, lbl_805A91F0@sda21 +/* 802C0060 002BCFC0 4E 80 00 20 */ blr + +.global sub_802c0064 +sub_802c0064: +/* 802C0064 002BCFC4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C0068 002BCFC8 7C 08 02 A6 */ mflr r0 +/* 802C006C 002BCFCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C0070 002BCFD0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C0074 002BCFD4 7C 7B 1B 78 */ mr r27, r3 +/* 802C0078 002BCFD8 7C 9C 23 78 */ mr r28, r4 +/* 802C007C 002BCFDC 7C BD 2B 78 */ mr r29, r5 +/* 802C0080 002BCFE0 7C DB E0 50 */ subf r6, r27, r28 +/* 802C0084 002BCFE4 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 802C0088 002BCFE8 7C 00 32 14 */ add r0, r0, r6 +/* 802C008C 002BCFEC 7C 05 0E 70 */ srawi r5, r0, 1 +/* 802C0090 002BCFF0 2C 05 00 01 */ cmpwi r5, 1 +/* 802C0094 002BCFF4 40 81 01 00 */ ble lbl_802C0194 +/* 802C0098 002BCFF8 2C 05 00 14 */ cmpwi r5, 0x14 +/* 802C009C 002BCFFC 41 81 00 18 */ bgt lbl_802C00B4 +/* 802C00A0 002BD000 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C00A4 002BD004 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C00A8 002BD008 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C00AC 002BD00C 48 00 07 05 */ bl sub_802c07b0 +/* 802C00B0 002BD010 48 00 00 E4 */ b lbl_802C0194 +lbl_802C00B4: +/* 802C00B4 002BD014 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802C00B8 002BD018 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C00BC 002BD01C 7C 84 2A 14 */ add r4, r4, r5 +/* 802C00C0 002BD020 3B FC FF FE */ addi r31, r28, -2 +/* 802C00C4 002BD024 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C00C8 002BD028 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C00CC 002BD02C 54 80 08 3C */ slwi r0, r4, 1 +/* 802C00D0 002BD030 7F E5 FB 78 */ mr r5, r31 +/* 802C00D4 002BD034 7F DB 02 14 */ add r30, r27, r0 +/* 802C00D8 002BD038 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C00DC 002BD03C 7F C4 F3 78 */ mr r4, r30 +/* 802C00E0 002BD040 48 00 08 B5 */ bl sub_802c0994 +/* 802C00E4 002BD044 A0 1E 00 00 */ lhz r0, 0(r30) +/* 802C00E8 002BD048 3B DB 00 02 */ addi r30, r27, 2 +/* 802C00EC 002BD04C 3B FF FF FE */ addi r31, r31, -2 +/* 802C00F0 002BD050 54 04 32 B2 */ rlwinm r4, r0, 6, 0xa, 0x19 +lbl_802C00F4: +/* 802C00F4 002BD054 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) +/* 802C00F8 002BD058 38 A3 00 04 */ addi r5, r3, 4 +/* 802C00FC 002BD05C 7C C5 22 14 */ add r6, r5, r4 +/* 802C0100 002BD060 48 00 00 08 */ b lbl_802C0108 +lbl_802C0104: +/* 802C0104 002BD064 3B DE 00 02 */ addi r30, r30, 2 +lbl_802C0108: +/* 802C0108 002BD068 A0 FE 00 00 */ lhz r7, 0(r30) +/* 802C010C 002BD06C C0 06 00 20 */ lfs f0, 0x20(r6) +/* 802C0110 002BD070 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 +/* 802C0114 002BD074 7C 65 02 14 */ add r3, r5, r0 +/* 802C0118 002BD078 C0 23 00 20 */ lfs f1, 0x20(r3) +/* 802C011C 002BD07C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0120 002BD080 41 80 FF E4 */ blt lbl_802C0104 +/* 802C0124 002BD084 48 00 00 08 */ b lbl_802C012C +lbl_802C0128: +/* 802C0128 002BD088 3B FF FF FE */ addi r31, r31, -2 +lbl_802C012C: +/* 802C012C 002BD08C A1 1F 00 00 */ lhz r8, 0(r31) +/* 802C0130 002BD090 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0134 002BD094 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C0138 002BD098 7C 65 02 14 */ add r3, r5, r0 +/* 802C013C 002BD09C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 802C0140 002BD0A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0144 002BD0A4 41 80 FF E4 */ blt lbl_802C0128 +/* 802C0148 002BD0A8 7C 1E F8 40 */ cmplw r30, r31 +/* 802C014C 002BD0AC 40 80 00 18 */ bge lbl_802C0164 +/* 802C0150 002BD0B0 B1 1E 00 00 */ sth r8, 0(r30) +/* 802C0154 002BD0B4 3B DE 00 02 */ addi r30, r30, 2 +/* 802C0158 002BD0B8 B0 FF 00 00 */ sth r7, 0(r31) +/* 802C015C 002BD0BC 3B FF FF FE */ addi r31, r31, -2 +/* 802C0160 002BD0C0 4B FF FF 94 */ b lbl_802C00F4 +lbl_802C0164: +/* 802C0164 002BD0C4 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C0168 002BD0C8 7F 63 DB 78 */ mr r3, r27 +/* 802C016C 002BD0CC 7F C4 F3 78 */ mr r4, r30 +/* 802C0170 002BD0D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C0174 002BD0D4 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C0178 002BD0D8 4B FF FE ED */ bl sub_802c0064 +/* 802C017C 002BD0DC 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C0180 002BD0E0 7F C3 F3 78 */ mr r3, r30 +/* 802C0184 002BD0E4 7F 84 E3 78 */ mr r4, r28 +/* 802C0188 002BD0E8 38 A1 00 08 */ addi r5, r1, 8 +/* 802C018C 002BD0EC 98 01 00 08 */ stb r0, 8(r1) +/* 802C0190 002BD0F0 4B FF FE D5 */ bl sub_802c0064 +lbl_802C0194: +/* 802C0194 002BD0F4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C0198 002BD0F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C019C 002BD0FC 7C 08 03 A6 */ mtlr r0 +/* 802C01A0 002BD100 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C01A4 002BD104 4E 80 00 20 */ blr + +.global sub_802c01a8 +sub_802c01a8: +/* 802C01A8 002BD108 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C01AC 002BD10C 7C 08 02 A6 */ mflr r0 +/* 802C01B0 002BD110 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C01B4 002BD114 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C01B8 002BD118 7C 7B 1B 78 */ mr r27, r3 +/* 802C01BC 002BD11C 7C 9C 23 78 */ mr r28, r4 +/* 802C01C0 002BD120 7C BD 2B 78 */ mr r29, r5 +/* 802C01C4 002BD124 7C 1B E0 50 */ subf r0, r27, r28 +/* 802C01C8 002BD128 7C 00 16 70 */ srawi r0, r0, 2 +/* 802C01CC 002BD12C 7C A0 01 94 */ addze r5, r0 +/* 802C01D0 002BD130 2C 05 00 01 */ cmpwi r5, 1 +/* 802C01D4 002BD134 40 81 01 2C */ ble lbl_802C0300 +/* 802C01D8 002BD138 2C 05 00 14 */ cmpwi r5, 0x14 +/* 802C01DC 002BD13C 41 81 00 18 */ bgt lbl_802C01F4 +/* 802C01E0 002BD140 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C01E4 002BD144 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802C01E8 002BD148 98 01 00 14 */ stb r0, 0x14(r1) +/* 802C01EC 002BD14C 48 00 06 41 */ bl sub_802c082c +/* 802C01F0 002BD150 48 00 01 10 */ b lbl_802C0300 +lbl_802C01F4: +/* 802C01F4 002BD154 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 802C01F8 002BD158 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C01FC 002BD15C 7C 84 2A 14 */ add r4, r4, r5 +/* 802C0200 002BD160 3B FC FF FC */ addi r31, r28, -4 +/* 802C0204 002BD164 7C 84 0E 70 */ srawi r4, r4, 1 +/* 802C0208 002BD168 98 01 00 10 */ stb r0, 0x10(r1) +/* 802C020C 002BD16C 54 80 10 3A */ slwi r0, r4, 2 +/* 802C0210 002BD170 7F E5 FB 78 */ mr r5, r31 +/* 802C0214 002BD174 7F DB 02 14 */ add r30, r27, r0 +/* 802C0218 002BD178 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802C021C 002BD17C 7F C4 F3 78 */ mr r4, r30 +/* 802C0220 002BD180 48 00 06 99 */ bl sub_802c08b8 +/* 802C0224 002BD184 80 DE 00 00 */ lwz r6, 0(r30) +/* 802C0228 002BD188 3B DB 00 04 */ addi r30, r27, 4 +/* 802C022C 002BD18C 3B FF FF FC */ addi r31, r31, -4 +lbl_802C0230: +/* 802C0230 002BD190 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0234 002BD194 48 00 00 08 */ b lbl_802C023C +lbl_802C0238: +/* 802C0238 002BD198 3B DE 00 04 */ addi r30, r30, 4 +lbl_802C023C: +/* 802C023C 002BD19C 80 9E 00 00 */ lwz r4, 0(r30) +/* 802C0240 002BD1A0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802C0244 002BD1A4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0248 002BD1A8 40 82 00 18 */ bne lbl_802C0260 +/* 802C024C 002BD1AC A0 64 00 02 */ lhz r3, 2(r4) +/* 802C0250 002BD1B0 A0 06 00 02 */ lhz r0, 2(r6) +/* 802C0254 002BD1B4 7C 03 00 50 */ subf r0, r3, r0 +/* 802C0258 002BD1B8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C025C 002BD1BC 48 00 00 10 */ b lbl_802C026C +lbl_802C0260: +/* 802C0260 002BD1C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0264 002BD1C4 7C 00 00 26 */ mfcr r0 +/* 802C0268 002BD1C8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C026C: +/* 802C026C 002BD1CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C0270 002BD1D0 40 82 FF C8 */ bne lbl_802C0238 +/* 802C0274 002BD1D4 48 00 00 08 */ b lbl_802C027C +lbl_802C0278: +/* 802C0278 002BD1D8 3B FF FF FC */ addi r31, r31, -4 +lbl_802C027C: +/* 802C027C 002BD1DC 80 BF 00 00 */ lwz r5, 0(r31) +/* 802C0280 002BD1E0 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802C0284 002BD1E4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802C0288 002BD1E8 40 82 00 18 */ bne lbl_802C02A0 +/* 802C028C 002BD1EC A0 66 00 02 */ lhz r3, 2(r6) +/* 802C0290 002BD1F0 A0 05 00 02 */ lhz r0, 2(r5) +/* 802C0294 002BD1F4 7C 03 00 50 */ subf r0, r3, r0 +/* 802C0298 002BD1F8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C029C 002BD1FC 48 00 00 10 */ b lbl_802C02AC +lbl_802C02A0: +/* 802C02A0 002BD200 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C02A4 002BD204 7C 00 00 26 */ mfcr r0 +/* 802C02A8 002BD208 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C02AC: +/* 802C02AC 002BD20C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C02B0 002BD210 40 82 FF C8 */ bne lbl_802C0278 +/* 802C02B4 002BD214 7C 1E F8 40 */ cmplw r30, r31 +/* 802C02B8 002BD218 40 80 00 18 */ bge lbl_802C02D0 +/* 802C02BC 002BD21C 90 BE 00 00 */ stw r5, 0(r30) +/* 802C02C0 002BD220 3B DE 00 04 */ addi r30, r30, 4 +/* 802C02C4 002BD224 90 9F 00 00 */ stw r4, 0(r31) +/* 802C02C8 002BD228 3B FF FF FC */ addi r31, r31, -4 +/* 802C02CC 002BD22C 4B FF FF 64 */ b lbl_802C0230 +lbl_802C02D0: +/* 802C02D0 002BD230 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C02D4 002BD234 7F 63 DB 78 */ mr r3, r27 +/* 802C02D8 002BD238 7F C4 F3 78 */ mr r4, r30 +/* 802C02DC 002BD23C 38 A1 00 0C */ addi r5, r1, 0xc +/* 802C02E0 002BD240 98 01 00 0C */ stb r0, 0xc(r1) +/* 802C02E4 002BD244 4B FF FE C5 */ bl sub_802c01a8 +/* 802C02E8 002BD248 88 1D 00 00 */ lbz r0, 0(r29) +/* 802C02EC 002BD24C 7F C3 F3 78 */ mr r3, r30 +/* 802C02F0 002BD250 7F 84 E3 78 */ mr r4, r28 +/* 802C02F4 002BD254 38 A1 00 08 */ addi r5, r1, 8 +/* 802C02F8 002BD258 98 01 00 08 */ stb r0, 8(r1) +/* 802C02FC 002BD25C 4B FF FE AD */ bl sub_802c01a8 +lbl_802C0300: +/* 802C0300 002BD260 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C0304 002BD264 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C0308 002BD268 7C 08 03 A6 */ mtlr r0 +/* 802C030C 002BD26C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C0310 002BD270 4E 80 00 20 */ blr + +.global sub_802c0314 +sub_802c0314: +/* 802C0314 002BD274 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0318 002BD278 7C 08 02 A6 */ mflr r0 +/* 802C031C 002BD27C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0320 002BD280 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0324 002BD284 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0328 002BD288 7C 9E 23 78 */ mr r30, r4 +/* 802C032C 002BD28C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C0330 002BD290 7C 7D 1B 78 */ mr r29, r3 +/* 802C0334 002BD294 80 03 00 04 */ lwz r0, 4(r3) +/* 802C0338 002BD298 83 E4 00 04 */ lwz r31, 4(r4) +/* 802C033C 002BD29C 7C 1E 00 40 */ cmplw r30, r0 +/* 802C0340 002BD2A0 40 82 00 08 */ bne lbl_802C0348 +/* 802C0344 002BD2A4 93 FD 00 04 */ stw r31, 4(r29) +lbl_802C0348: +/* 802C0348 002BD2A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C034C 002BD2AC 38 7E 00 08 */ addi r3, r30, 8 +/* 802C0350 002BD2B0 80 BE 00 00 */ lwz r5, 0(r30) +/* 802C0354 002BD2B4 38 80 FF FF */ li r4, -1 +/* 802C0358 002BD2B8 90 05 00 04 */ stw r0, 4(r5) +/* 802C035C 002BD2BC 80 1E 00 00 */ lwz r0, 0(r30) +/* 802C0360 002BD2C0 80 BE 00 04 */ lwz r5, 4(r30) +/* 802C0364 002BD2C4 90 05 00 00 */ stw r0, 0(r5) +/* 802C0368 002BD2C8 4B FF E0 51 */ bl sub_802be3b8 +/* 802C036C 002BD2CC 28 1E 00 00 */ cmplwi r30, 0 +/* 802C0370 002BD2D0 41 82 00 0C */ beq lbl_802C037C +/* 802C0374 002BD2D4 7F C3 F3 78 */ mr r3, r30 +/* 802C0378 002BD2D8 48 05 55 B9 */ bl Free__7CMemoryFPCv +lbl_802C037C: +/* 802C037C 002BD2DC 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 802C0380 002BD2E0 7F E3 FB 78 */ mr r3, r31 +/* 802C0384 002BD2E4 38 04 FF FF */ addi r0, r4, -1 +/* 802C0388 002BD2E8 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802C038C 002BD2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0390 002BD2F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0394 002BD2F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C0398 002BD2F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C039C 002BD2FC 7C 08 03 A6 */ mtlr r0 +/* 802C03A0 002BD300 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C03A4 002BD304 4E 80 00 20 */ blr + +.global sub_802c03a8 +sub_802c03a8: +/* 802C03A8 002BD308 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C03AC 002BD30C 7C 08 02 A6 */ mflr r0 +/* 802C03B0 002BD310 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C03B4 002BD314 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C03B8 002BD318 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C03BC 002BD31C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C03C0 002BD320 7C 9D 23 78 */ mr r29, r4 +/* 802C03C4 002BD324 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C03C8 002BD328 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802C03CC 002BD32C 41 82 00 4C */ beq lbl_802C0418 +/* 802C03D0 002BD330 83 FC 00 04 */ lwz r31, 4(r28) +/* 802C03D4 002BD334 48 00 00 28 */ b lbl_802C03FC +lbl_802C03D8: +/* 802C03D8 002BD338 7F FE FB 78 */ mr r30, r31 +/* 802C03DC 002BD33C 83 FF 00 04 */ lwz r31, 4(r31) +/* 802C03E0 002BD340 38 7E 00 08 */ addi r3, r30, 8 +/* 802C03E4 002BD344 38 80 FF FF */ li r4, -1 +/* 802C03E8 002BD348 4B FF DF D1 */ bl sub_802be3b8 +/* 802C03EC 002BD34C 28 1E 00 00 */ cmplwi r30, 0 +/* 802C03F0 002BD350 41 82 00 0C */ beq lbl_802C03FC +/* 802C03F4 002BD354 7F C3 F3 78 */ mr r3, r30 +/* 802C03F8 002BD358 48 05 55 39 */ bl Free__7CMemoryFPCv +lbl_802C03FC: +/* 802C03FC 002BD35C 80 1C 00 08 */ lwz r0, 8(r28) +/* 802C0400 002BD360 7C 1F 00 40 */ cmplw r31, r0 +/* 802C0404 002BD364 40 82 FF D4 */ bne lbl_802C03D8 +/* 802C0408 002BD368 7F A0 07 35 */ extsh. r0, r29 +/* 802C040C 002BD36C 40 81 00 0C */ ble lbl_802C0418 +/* 802C0410 002BD370 7F 83 E3 78 */ mr r3, r28 +/* 802C0414 002BD374 48 05 55 1D */ bl Free__7CMemoryFPCv +lbl_802C0418: +/* 802C0418 002BD378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C041C 002BD37C 7F 83 E3 78 */ mr r3, r28 +/* 802C0420 002BD380 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0424 002BD384 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0428 002BD388 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C042C 002BD38C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C0430 002BD390 7C 08 03 A6 */ mtlr r0 +/* 802C0434 002BD394 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0438 002BD398 4E 80 00 20 */ blr + +.global sub_802c043c +sub_802c043c: +/* 802C043C 002BD39C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0440 002BD3A0 7C 08 02 A6 */ mflr r0 +/* 802C0444 002BD3A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0448 002BD3A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C044C 002BD3AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0450 002BD3B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C0454 002BD3B4 7C 9D 23 78 */ mr r29, r4 +/* 802C0458 002BD3B8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802C045C 002BD3BC 7C 7C 1B 78 */ mr r28, r3 +/* 802C0460 002BD3C0 80 03 00 04 */ lwz r0, 4(r3) +/* 802C0464 002BD3C4 83 C4 00 04 */ lwz r30, 4(r4) +/* 802C0468 002BD3C8 7C 1D 00 40 */ cmplw r29, r0 +/* 802C046C 002BD3CC 40 82 00 08 */ bne lbl_802C0474 +/* 802C0470 002BD3D0 93 DC 00 04 */ stw r30, 4(r28) +lbl_802C0474: +/* 802C0474 002BD3D4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802C0478 002BD3D8 37 FD 00 08 */ addic. r31, r29, 8 +/* 802C047C 002BD3DC 80 7D 00 00 */ lwz r3, 0(r29) +/* 802C0480 002BD3E0 90 03 00 04 */ stw r0, 4(r3) +/* 802C0484 002BD3E4 80 1D 00 00 */ lwz r0, 0(r29) +/* 802C0488 002BD3E8 80 7D 00 04 */ lwz r3, 4(r29) +/* 802C048C 002BD3EC 90 03 00 00 */ stw r0, 0(r3) +/* 802C0490 002BD3F0 41 82 00 38 */ beq lbl_802C04C8 +/* 802C0494 002BD3F4 34 1F 00 4C */ addic. r0, r31, 0x4c +/* 802C0498 002BD3F8 41 82 00 30 */ beq lbl_802C04C8 +/* 802C049C 002BD3FC 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 802C04A0 002BD400 28 00 00 00 */ cmplwi r0, 0 +/* 802C04A4 002BD404 41 82 00 1C */ beq lbl_802C04C0 +/* 802C04A8 002BD408 34 7F 00 4C */ addic. r3, r31, 0x4c +/* 802C04AC 002BD40C 41 82 00 14 */ beq lbl_802C04C0 +/* 802C04B0 002BD410 28 03 00 00 */ cmplwi r3, 0 +/* 802C04B4 002BD414 41 82 00 0C */ beq lbl_802C04C0 +/* 802C04B8 002BD418 38 80 00 00 */ li r4, 0 +/* 802C04BC 002BD41C 48 08 09 85 */ bl __dt__6CTokenFv +lbl_802C04C0: +/* 802C04C0 002BD420 38 00 00 00 */ li r0, 0 +/* 802C04C4 002BD424 98 1F 00 58 */ stb r0, 0x58(r31) +lbl_802C04C8: +/* 802C04C8 002BD428 28 1D 00 00 */ cmplwi r29, 0 +/* 802C04CC 002BD42C 41 82 00 0C */ beq lbl_802C04D8 +/* 802C04D0 002BD430 7F A3 EB 78 */ mr r3, r29 +/* 802C04D4 002BD434 48 05 54 5D */ bl Free__7CMemoryFPCv +lbl_802C04D8: +/* 802C04D8 002BD438 80 9C 00 14 */ lwz r4, 0x14(r28) +/* 802C04DC 002BD43C 7F C3 F3 78 */ mr r3, r30 +/* 802C04E0 002BD440 38 04 FF FF */ addi r0, r4, -1 +/* 802C04E4 002BD444 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802C04E8 002BD448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C04EC 002BD44C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C04F0 002BD450 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C04F4 002BD454 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802C04F8 002BD458 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C04FC 002BD45C 7C 08 03 A6 */ mtlr r0 +/* 802C0500 002BD460 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0504 002BD464 4E 80 00 20 */ blr + +.global sub_802c0508 +sub_802c0508: +/* 802C0508 002BD468 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C050C 002BD46C 7C 08 02 A6 */ mflr r0 +/* 802C0510 002BD470 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0514 002BD474 BF 41 00 08 */ stmw r26, 8(r1) +/* 802C0518 002BD478 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802C051C 002BD47C 7C 9B 23 78 */ mr r27, r4 +/* 802C0520 002BD480 41 82 00 7C */ beq lbl_802C059C +/* 802C0524 002BD484 83 BA 00 04 */ lwz r29, 4(r26) +/* 802C0528 002BD488 3B E0 00 00 */ li r31, 0 +/* 802C052C 002BD48C 48 00 00 54 */ b lbl_802C0580 +lbl_802C0530: +/* 802C0530 002BD490 7F BC EB 78 */ mr r28, r29 +/* 802C0534 002BD494 83 BD 00 04 */ lwz r29, 4(r29) +/* 802C0538 002BD498 37 DC 00 08 */ addic. r30, r28, 8 +/* 802C053C 002BD49C 41 82 00 34 */ beq lbl_802C0570 +/* 802C0540 002BD4A0 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 802C0544 002BD4A4 41 82 00 2C */ beq lbl_802C0570 +/* 802C0548 002BD4A8 88 1E 00 58 */ lbz r0, 0x58(r30) +/* 802C054C 002BD4AC 28 00 00 00 */ cmplwi r0, 0 +/* 802C0550 002BD4B0 41 82 00 1C */ beq lbl_802C056C +/* 802C0554 002BD4B4 34 7E 00 4C */ addic. r3, r30, 0x4c +/* 802C0558 002BD4B8 41 82 00 14 */ beq lbl_802C056C +/* 802C055C 002BD4BC 28 03 00 00 */ cmplwi r3, 0 +/* 802C0560 002BD4C0 41 82 00 0C */ beq lbl_802C056C +/* 802C0564 002BD4C4 38 80 00 00 */ li r4, 0 +/* 802C0568 002BD4C8 48 08 08 D9 */ bl __dt__6CTokenFv +lbl_802C056C: +/* 802C056C 002BD4CC 9B FE 00 58 */ stb r31, 0x58(r30) +lbl_802C0570: +/* 802C0570 002BD4D0 28 1C 00 00 */ cmplwi r28, 0 +/* 802C0574 002BD4D4 41 82 00 0C */ beq lbl_802C0580 +/* 802C0578 002BD4D8 7F 83 E3 78 */ mr r3, r28 +/* 802C057C 002BD4DC 48 05 53 B5 */ bl Free__7CMemoryFPCv +lbl_802C0580: +/* 802C0580 002BD4E0 80 1A 00 08 */ lwz r0, 8(r26) +/* 802C0584 002BD4E4 7C 1D 00 40 */ cmplw r29, r0 +/* 802C0588 002BD4E8 40 82 FF A8 */ bne lbl_802C0530 +/* 802C058C 002BD4EC 7F 60 07 35 */ extsh. r0, r27 +/* 802C0590 002BD4F0 40 81 00 0C */ ble lbl_802C059C +/* 802C0594 002BD4F4 7F 43 D3 78 */ mr r3, r26 +/* 802C0598 002BD4F8 48 05 53 99 */ bl Free__7CMemoryFPCv +lbl_802C059C: +/* 802C059C 002BD4FC 7F 43 D3 78 */ mr r3, r26 +/* 802C05A0 002BD500 BB 41 00 08 */ lmw r26, 8(r1) +/* 802C05A4 002BD504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C05A8 002BD508 7C 08 03 A6 */ mtlr r0 +/* 802C05AC 002BD50C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C05B0 002BD510 4E 80 00 20 */ blr + +.global sub_802c05b4 +sub_802c05b4: +/* 802C05B4 002BD514 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C05B8 002BD518 7C 08 02 A6 */ mflr r0 +/* 802C05BC 002BD51C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C05C0 002BD520 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C05C4 002BD524 93 C1 00 08 */ stw r30, 8(r1) +/* 802C05C8 002BD528 7C 7E 1B 78 */ mr r30, r3 +/* 802C05CC 002BD52C 80 03 00 04 */ lwz r0, 4(r3) +/* 802C05D0 002BD530 83 E4 00 04 */ lwz r31, 4(r4) +/* 802C05D4 002BD534 7C 04 00 40 */ cmplw r4, r0 +/* 802C05D8 002BD538 40 82 00 08 */ bne lbl_802C05E0 +/* 802C05DC 002BD53C 93 FE 00 04 */ stw r31, 4(r30) +lbl_802C05E0: +/* 802C05E0 002BD540 80 04 00 04 */ lwz r0, 4(r4) +/* 802C05E4 002BD544 28 04 00 00 */ cmplwi r4, 0 +/* 802C05E8 002BD548 80 64 00 00 */ lwz r3, 0(r4) +/* 802C05EC 002BD54C 90 03 00 04 */ stw r0, 4(r3) +/* 802C05F0 002BD550 80 04 00 00 */ lwz r0, 0(r4) +/* 802C05F4 002BD554 80 64 00 04 */ lwz r3, 4(r4) +/* 802C05F8 002BD558 90 03 00 00 */ stw r0, 0(r3) +/* 802C05FC 002BD55C 41 82 00 0C */ beq lbl_802C0608 +/* 802C0600 002BD560 7C 83 23 78 */ mr r3, r4 +/* 802C0604 002BD564 48 05 53 2D */ bl Free__7CMemoryFPCv +lbl_802C0608: +/* 802C0608 002BD568 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802C060C 002BD56C 7F E3 FB 78 */ mr r3, r31 +/* 802C0610 002BD570 38 04 FF FF */ addi r0, r4, -1 +/* 802C0614 002BD574 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802C0618 002BD578 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C061C 002BD57C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802C0620 002BD580 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0624 002BD584 7C 08 03 A6 */ mtlr r0 +/* 802C0628 002BD588 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C062C 002BD58C 4E 80 00 20 */ blr + +.global sub_802c0630 +sub_802c0630: +/* 802C0630 002BD590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0634 002BD594 7C 08 02 A6 */ mflr r0 +/* 802C0638 002BD598 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C063C 002BD59C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0640 002BD5A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802C0644 002BD5A4 7C 9E 23 78 */ mr r30, r4 +/* 802C0648 002BD5A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802C064C 002BD5AC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802C0650 002BD5B0 41 82 00 38 */ beq lbl_802C0688 +/* 802C0654 002BD5B4 83 FD 00 04 */ lwz r31, 4(r29) +/* 802C0658 002BD5B8 48 00 00 14 */ b lbl_802C066C +lbl_802C065C: +/* 802C065C 002BD5BC 7F E3 FB 79 */ or. r3, r31, r31 +/* 802C0660 002BD5C0 83 FF 00 04 */ lwz r31, 4(r31) +/* 802C0664 002BD5C4 41 82 00 08 */ beq lbl_802C066C +/* 802C0668 002BD5C8 48 05 52 C9 */ bl Free__7CMemoryFPCv +lbl_802C066C: +/* 802C066C 002BD5CC 80 1D 00 08 */ lwz r0, 8(r29) +/* 802C0670 002BD5D0 7C 1F 00 40 */ cmplw r31, r0 +/* 802C0674 002BD5D4 40 82 FF E8 */ bne lbl_802C065C +/* 802C0678 002BD5D8 7F C0 07 35 */ extsh. r0, r30 +/* 802C067C 002BD5DC 40 81 00 0C */ ble lbl_802C0688 +/* 802C0680 002BD5E0 7F A3 EB 78 */ mr r3, r29 +/* 802C0684 002BD5E4 48 05 52 AD */ bl Free__7CMemoryFPCv +lbl_802C0688: +/* 802C0688 002BD5E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C068C 002BD5EC 7F A3 EB 78 */ mr r3, r29 +/* 802C0690 002BD5F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0694 002BD5F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802C0698 002BD5F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802C069C 002BD5FC 7C 08 03 A6 */ mtlr r0 +/* 802C06A0 002BD600 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C06A4 002BD604 4E 80 00 20 */ blr + +.global sub_802c06a8 +sub_802c06a8: +/* 802C06A8 002BD608 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802C06AC 002BD60C 7C 08 02 A6 */ mflr r0 +/* 802C06B0 002BD610 90 01 00 34 */ stw r0, 0x34(r1) +/* 802C06B4 002BD614 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802C06B8 002BD618 7C 9F 23 78 */ mr r31, r4 +/* 802C06BC 002BD61C 7C 7E 1B 78 */ mr r30, r3 +/* 802C06C0 002BD620 80 03 00 08 */ lwz r0, 8(r3) +/* 802C06C4 002BD624 7C 1F 00 00 */ cmpw r31, r0 +/* 802C06C8 002BD628 40 81 00 D4 */ ble lbl_802C079C +/* 802C06CC 002BD62C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802C06D0 002BD630 40 82 00 0C */ bne lbl_802C06DC +/* 802C06D4 002BD634 3B A0 00 00 */ li r29, 0 +/* 802C06D8 002BD638 48 00 00 18 */ b lbl_802C06F0 +lbl_802C06DC: +/* 802C06DC 002BD63C 3C 80 80 3D */ lis r4, lbl_803D685C@ha +/* 802C06E0 002BD640 38 A0 00 00 */ li r5, 0 +/* 802C06E4 002BD644 38 84 68 5C */ addi r4, r4, lbl_803D685C@l +/* 802C06E8 002BD648 48 05 51 31 */ bl __nwa__FUlPCcPCc +/* 802C06EC 002BD64C 7C 7D 1B 78 */ mr r29, r3 +lbl_802C06F0: +/* 802C06F0 002BD650 80 7E 00 04 */ lwz r3, 4(r30) +/* 802C06F4 002BD654 7F A5 EB 78 */ mr r5, r29 +/* 802C06F8 002BD658 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802C06FC 002BD65C 38 00 00 00 */ li r0, 0 +/* 802C0700 002BD660 54 63 18 38 */ slwi r3, r3, 3 +/* 802C0704 002BD664 7C 86 1A 14 */ add r4, r6, r3 +/* 802C0708 002BD668 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802C070C 002BD66C 90 81 00 08 */ stw r4, 8(r1) +/* 802C0710 002BD670 90 81 00 0C */ stw r4, 0xc(r1) +/* 802C0714 002BD674 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802C0718 002BD678 48 00 00 28 */ b lbl_802C0740 +lbl_802C071C: +/* 802C071C 002BD67C 28 05 00 00 */ cmplwi r5, 0 +/* 802C0720 002BD680 41 82 00 18 */ beq lbl_802C0738 +/* 802C0724 002BD684 88 66 00 00 */ lbz r3, 0(r6) +/* 802C0728 002BD688 98 65 00 00 */ stb r3, 0(r5) +/* 802C072C 002BD68C 80 66 00 04 */ lwz r3, 4(r6) +/* 802C0730 002BD690 90 65 00 04 */ stw r3, 4(r5) +/* 802C0734 002BD694 98 06 00 00 */ stb r0, 0(r6) +lbl_802C0738: +/* 802C0738 002BD698 38 A5 00 08 */ addi r5, r5, 8 +/* 802C073C 002BD69C 38 C6 00 08 */ addi r6, r6, 8 +lbl_802C0740: +/* 802C0740 002BD6A0 7C 06 20 40 */ cmplw r6, r4 +/* 802C0744 002BD6A4 40 82 FF D8 */ bne lbl_802C071C +/* 802C0748 002BD6A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802C074C 002BD6AC 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802C0750 002BD6B0 54 00 18 38 */ slwi r0, r0, 3 +/* 802C0754 002BD6B4 7F 9B 02 14 */ add r28, r27, r0 +/* 802C0758 002BD6B8 48 00 00 24 */ b lbl_802C077C +lbl_802C075C: +/* 802C075C 002BD6BC 28 1B 00 00 */ cmplwi r27, 0 +/* 802C0760 002BD6C0 41 82 00 18 */ beq lbl_802C0778 +/* 802C0764 002BD6C4 88 1B 00 00 */ lbz r0, 0(r27) +/* 802C0768 002BD6C8 28 00 00 00 */ cmplwi r0, 0 +/* 802C076C 002BD6CC 41 82 00 0C */ beq lbl_802C0778 +/* 802C0770 002BD6D0 80 7B 00 04 */ lwz r3, 4(r27) +/* 802C0774 002BD6D4 48 05 51 BD */ bl Free__7CMemoryFPCv +lbl_802C0778: +/* 802C0778 002BD6D8 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802C077C: +/* 802C077C 002BD6DC 7C 1B E0 40 */ cmplw r27, r28 +/* 802C0780 002BD6E0 40 82 FF DC */ bne lbl_802C075C +/* 802C0784 002BD6E4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802C0788 002BD6E8 28 03 00 00 */ cmplwi r3, 0 +/* 802C078C 002BD6EC 41 82 00 08 */ beq lbl_802C0794 +/* 802C0790 002BD6F0 48 05 51 A1 */ bl Free__7CMemoryFPCv +lbl_802C0794: +/* 802C0794 002BD6F4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802C0798 002BD6F8 93 FE 00 08 */ stw r31, 8(r30) +lbl_802C079C: +/* 802C079C 002BD6FC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802C07A0 002BD700 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802C07A4 002BD704 7C 08 03 A6 */ mtlr r0 +/* 802C07A8 002BD708 38 21 00 30 */ addi r1, r1, 0x30 +/* 802C07AC 002BD70C 4E 80 00 20 */ blr + +.global sub_802c07b0 +sub_802c07b0: +/* 802C07B0 002BD710 39 03 00 02 */ addi r8, r3, 2 +/* 802C07B4 002BD714 38 04 00 01 */ addi r0, r4, 1 +/* 802C07B8 002BD718 7C 08 00 50 */ subf r0, r8, r0 +/* 802C07BC 002BD71C 54 00 F8 7E */ srwi r0, r0, 1 +/* 802C07C0 002BD720 7C 09 03 A6 */ mtctr r0 +/* 802C07C4 002BD724 7C 08 20 40 */ cmplw r8, r4 +/* 802C07C8 002BD728 4C 80 00 20 */ bgelr +lbl_802C07CC: +/* 802C07CC 002BD72C A1 28 00 00 */ lhz r9, 0(r8) +/* 802C07D0 002BD730 7D 0B 43 78 */ mr r11, r8 +/* 802C07D4 002BD734 39 48 FF FE */ addi r10, r8, -2 +/* 802C07D8 002BD738 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C07DC 002BD73C 48 00 00 10 */ b lbl_802C07EC +lbl_802C07E0: +/* 802C07E0 002BD740 B0 EB 00 00 */ sth r7, 0(r11) +/* 802C07E4 002BD744 39 6B FF FE */ addi r11, r11, -2 +/* 802C07E8 002BD748 39 4A FF FE */ addi r10, r10, -2 +lbl_802C07EC: +/* 802C07EC 002BD74C 7C 03 58 40 */ cmplw r3, r11 +/* 802C07F0 002BD750 40 80 00 2C */ bge lbl_802C081C +/* 802C07F4 002BD754 80 8D A6 1C */ lwz r4, lbl_805A91DC@sda21(r13) +/* 802C07F8 002BD758 A0 EA 00 00 */ lhz r7, 0(r10) +/* 802C07FC 002BD75C 38 A4 00 04 */ addi r5, r4, 4 +/* 802C0800 002BD760 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 +/* 802C0804 002BD764 7C 85 32 14 */ add r4, r5, r6 +/* 802C0808 002BD768 7C A5 02 14 */ add r5, r5, r0 +/* 802C080C 002BD76C C0 24 00 20 */ lfs f1, 0x20(r4) +/* 802C0810 002BD770 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802C0814 002BD774 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0818 002BD778 41 80 FF C8 */ blt lbl_802C07E0 +lbl_802C081C: +/* 802C081C 002BD77C B1 2B 00 00 */ sth r9, 0(r11) +/* 802C0820 002BD780 39 08 00 02 */ addi r8, r8, 2 +/* 802C0824 002BD784 42 00 FF A8 */ bdnz lbl_802C07CC + +.global sub_802c0828 +sub_802c0828: +/* 802C0828 002BD788 4E 80 00 20 */ blr + +.global sub_802c082c +sub_802c082c: +/* 802C082C 002BD78C 38 C3 00 04 */ addi r6, r3, 4 +/* 802C0830 002BD790 38 04 00 03 */ addi r0, r4, 3 +/* 802C0834 002BD794 7C 06 00 50 */ subf r0, r6, r0 +/* 802C0838 002BD798 54 00 F0 BE */ srwi r0, r0, 2 +/* 802C083C 002BD79C 7C 09 03 A6 */ mtctr r0 +/* 802C0840 002BD7A0 7C 06 20 40 */ cmplw r6, r4 +/* 802C0844 002BD7A4 4C 80 00 20 */ bgelr +lbl_802C0848: +/* 802C0848 002BD7A8 80 E6 00 00 */ lwz r7, 0(r6) +/* 802C084C 002BD7AC 7C C9 33 78 */ mr r9, r6 +/* 802C0850 002BD7B0 39 06 FF FC */ addi r8, r6, -4 +/* 802C0854 002BD7B4 48 00 00 10 */ b lbl_802C0864 +lbl_802C0858: +/* 802C0858 002BD7B8 90 A9 00 00 */ stw r5, 0(r9) +/* 802C085C 002BD7BC 39 29 FF FC */ addi r9, r9, -4 +/* 802C0860 002BD7C0 39 08 FF FC */ addi r8, r8, -4 +lbl_802C0864: +/* 802C0864 002BD7C4 7C 03 48 40 */ cmplw r3, r9 +/* 802C0868 002BD7C8 40 80 00 40 */ bge lbl_802C08A8 +/* 802C086C 002BD7CC 80 A8 00 00 */ lwz r5, 0(r8) +/* 802C0870 002BD7D0 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C0874 002BD7D4 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 802C0878 002BD7D8 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C087C 002BD7DC 40 82 00 18 */ bne lbl_802C0894 +/* 802C0880 002BD7E0 A0 87 00 02 */ lhz r4, 2(r7) +/* 802C0884 002BD7E4 A0 05 00 02 */ lhz r0, 2(r5) +/* 802C0888 002BD7E8 7C 04 00 50 */ subf r0, r4, r0 +/* 802C088C 002BD7EC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0890 002BD7F0 48 00 00 10 */ b lbl_802C08A0 +lbl_802C0894: +/* 802C0894 002BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0898 002BD7F8 7C 00 00 26 */ mfcr r0 +/* 802C089C 002BD7FC 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C08A0: +/* 802C08A0 002BD800 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C08A4 002BD804 40 82 FF B4 */ bne lbl_802C0858 +lbl_802C08A8: +/* 802C08A8 002BD808 90 E9 00 00 */ stw r7, 0(r9) +/* 802C08AC 002BD80C 38 C6 00 04 */ addi r6, r6, 4 +/* 802C08B0 002BD810 42 00 FF 98 */ bdnz lbl_802C0848 + +.global sub_802c08b4 +sub_802c08b4: +/* 802C08B4 002BD814 4E 80 00 20 */ blr + +.global sub_802c08b8 +sub_802c08b8: +/* 802C08B8 002BD818 80 E3 00 00 */ lwz r7, 0(r3) +/* 802C08BC 002BD81C 81 04 00 00 */ lwz r8, 0(r4) +/* 802C08C0 002BD820 C0 27 00 20 */ lfs f1, 0x20(r7) +/* 802C08C4 002BD824 C0 08 00 20 */ lfs f0, 0x20(r8) +/* 802C08C8 002BD828 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C08CC 002BD82C 40 82 00 18 */ bne lbl_802C08E4 +/* 802C08D0 002BD830 A0 C8 00 02 */ lhz r6, 2(r8) +/* 802C08D4 002BD834 A0 07 00 02 */ lhz r0, 2(r7) +/* 802C08D8 002BD838 7C 06 00 50 */ subf r0, r6, r0 +/* 802C08DC 002BD83C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C08E0 002BD840 48 00 00 10 */ b lbl_802C08F0 +lbl_802C08E4: +/* 802C08E4 002BD844 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C08E8 002BD848 7C 00 00 26 */ mfcr r0 +/* 802C08EC 002BD84C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C08F0: +/* 802C08F0 002BD850 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C08F4 002BD854 41 82 00 0C */ beq lbl_802C0900 +/* 802C08F8 002BD858 91 03 00 00 */ stw r8, 0(r3) +/* 802C08FC 002BD85C 90 E4 00 00 */ stw r7, 0(r4) +lbl_802C0900: +/* 802C0900 002BD860 81 04 00 00 */ lwz r8, 0(r4) +/* 802C0904 002BD864 80 E5 00 00 */ lwz r7, 0(r5) +/* 802C0908 002BD868 C0 28 00 20 */ lfs f1, 0x20(r8) +/* 802C090C 002BD86C C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C0910 002BD870 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0914 002BD874 40 82 00 18 */ bne lbl_802C092C +/* 802C0918 002BD878 A0 C7 00 02 */ lhz r6, 2(r7) +/* 802C091C 002BD87C A0 08 00 02 */ lhz r0, 2(r8) +/* 802C0920 002BD880 7C 06 00 50 */ subf r0, r6, r0 +/* 802C0924 002BD884 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0928 002BD888 48 00 00 10 */ b lbl_802C0938 +lbl_802C092C: +/* 802C092C 002BD88C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0930 002BD890 7C 00 00 26 */ mfcr r0 +/* 802C0934 002BD894 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C0938: +/* 802C0938 002BD898 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C093C 002BD89C 4D 82 00 20 */ beqlr +/* 802C0940 002BD8A0 91 05 00 00 */ stw r8, 0(r5) +/* 802C0944 002BD8A4 80 C3 00 00 */ lwz r6, 0(r3) +/* 802C0948 002BD8A8 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C094C 002BD8AC C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C0950 002BD8B0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802C0954 002BD8B4 40 82 00 18 */ bne lbl_802C096C +/* 802C0958 002BD8B8 A0 A7 00 02 */ lhz r5, 2(r7) +/* 802C095C 002BD8BC A0 06 00 02 */ lhz r0, 2(r6) +/* 802C0960 002BD8C0 7C 05 00 50 */ subf r0, r5, r0 +/* 802C0964 002BD8C4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802C0968 002BD8C8 48 00 00 10 */ b lbl_802C0978 +lbl_802C096C: +/* 802C096C 002BD8CC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802C0970 002BD8D0 7C 00 00 26 */ mfcr r0 +/* 802C0974 002BD8D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +lbl_802C0978: +/* 802C0978 002BD8D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 802C097C 002BD8DC 41 82 00 10 */ beq lbl_802C098C +/* 802C0980 002BD8E0 90 C4 00 00 */ stw r6, 0(r4) +/* 802C0984 002BD8E4 90 E3 00 00 */ stw r7, 0(r3) +/* 802C0988 002BD8E8 4E 80 00 20 */ blr +lbl_802C098C: +/* 802C098C 002BD8EC 90 E4 00 00 */ stw r7, 0(r4) +/* 802C0990 002BD8F0 4E 80 00 20 */ blr + +.global sub_802c0994 +sub_802c0994: +/* 802C0994 002BD8F4 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802C0998 002BD8F8 A1 24 00 00 */ lhz r9, 0(r4) +/* 802C099C 002BD8FC A1 03 00 00 */ lhz r8, 0(r3) +/* 802C09A0 002BD900 38 E6 00 04 */ addi r7, r6, 4 +/* 802C09A4 002BD904 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C09A8 002BD908 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C09AC 002BD90C 7C C7 32 14 */ add r6, r7, r6 +/* 802C09B0 002BD910 7C E7 02 14 */ add r7, r7, r0 +/* 802C09B4 002BD914 C0 26 00 20 */ lfs f1, 0x20(r6) +/* 802C09B8 002BD918 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 802C09BC 002BD91C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C09C0 002BD920 40 80 00 0C */ bge lbl_802C09CC +/* 802C09C4 002BD924 B1 23 00 00 */ sth r9, 0(r3) +/* 802C09C8 002BD928 B1 04 00 00 */ sth r8, 0(r4) +lbl_802C09CC: +/* 802C09CC 002BD92C 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) +/* 802C09D0 002BD930 A1 25 00 00 */ lhz r9, 0(r5) +/* 802C09D4 002BD934 A1 44 00 00 */ lhz r10, 0(r4) +/* 802C09D8 002BD938 39 06 00 04 */ addi r8, r6, 4 +/* 802C09DC 002BD93C 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 +/* 802C09E0 002BD940 55 40 32 B2 */ rlwinm r0, r10, 6, 0xa, 0x19 +/* 802C09E4 002BD944 7C E8 32 14 */ add r7, r8, r6 +/* 802C09E8 002BD948 7D 08 02 14 */ add r8, r8, r0 +/* 802C09EC 002BD94C C0 27 00 20 */ lfs f1, 0x20(r7) +/* 802C09F0 002BD950 C0 08 00 20 */ lfs f0, 0x20(r8) +/* 802C09F4 002BD954 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C09F8 002BD958 4C 80 00 20 */ bgelr +/* 802C09FC 002BD95C B1 45 00 00 */ sth r10, 0(r5) +/* 802C0A00 002BD960 80 AD A6 1C */ lwz r5, lbl_805A91DC@sda21(r13) +/* 802C0A04 002BD964 A1 03 00 00 */ lhz r8, 0(r3) +/* 802C0A08 002BD968 38 E5 00 04 */ addi r7, r5, 4 +/* 802C0A0C 002BD96C 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 +/* 802C0A10 002BD970 7C A7 32 14 */ add r5, r7, r6 +/* 802C0A14 002BD974 7C C7 02 14 */ add r6, r7, r0 +/* 802C0A18 002BD978 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 802C0A1C 002BD97C C0 06 00 20 */ lfs f0, 0x20(r6) +/* 802C0A20 002BD980 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802C0A24 002BD984 40 80 00 10 */ bge lbl_802C0A34 +/* 802C0A28 002BD988 B1 04 00 00 */ sth r8, 0(r4) +/* 802C0A2C 002BD98C B1 23 00 00 */ sth r9, 0(r3) +/* 802C0A30 002BD990 4E 80 00 20 */ blr +lbl_802C0A34: +/* 802C0A34 002BD994 B1 24 00 00 */ sth r9, 0(r4) +/* 802C0A38 002BD998 4E 80 00 20 */ blr + +.global __sinit_CCubeRenderer_cpp +__sinit_CCubeRenderer_cpp: +/* 802C0A3C 002BD99C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802C0A40 002BD9A0 7C 08 02 A6 */ mflr r0 +/* 802C0A44 002BD9A4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802C0A48 002BD9A8 38 80 00 00 */ li r4, 0 +/* 802C0A4C 002BD9AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802C0A50 002BD9B0 38 00 00 03 */ li r0, 3 +/* 802C0A54 002BD9B4 FC 40 08 90 */ fmr f2, f1 +/* 802C0A58 002BD9B8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802C0A5C 002BD9BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802C0A60 002BD9C0 FC 60 08 90 */ fmr f3, f1 +/* 802C0A64 002BD9C4 FC 80 08 90 */ fmr f4, f1 +/* 802C0A68 002BD9C8 98 81 00 10 */ stb r4, 0x10(r1) +/* 802C0A6C 002BD9CC 98 81 00 11 */ stb r4, 0x11(r1) +/* 802C0A70 002BD9D0 B0 01 00 12 */ sth r0, 0x12(r1) +/* 802C0A74 002BD9D4 48 0A 29 79 */ bl __ct__6CColorFffff +/* 802C0A78 002BD9D8 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) +/* 802C0A7C 002BD9DC 38 80 00 00 */ li r4, 0 +/* 802C0A80 002BD9E0 89 21 00 10 */ lbz r9, 0x10(r1) +/* 802C0A84 002BD9E4 38 00 00 03 */ li r0, 3 +/* 802C0A88 002BD9E8 89 01 00 11 */ lbz r8, 0x11(r1) +/* 802C0A8C 002BD9EC 38 ED A5 F4 */ addi r7, r13, lbl_805A91B4@sda21 +/* 802C0A90 002BD9F0 A0 C1 00 12 */ lhz r6, 0x12(r1) +/* 802C0A94 002BD9F4 FC 40 08 90 */ fmr f2, f1 +/* 802C0A98 002BD9F8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802C0A9C 002BD9FC FC 60 08 90 */ fmr f3, f1 +/* 802C0AA0 002BDA00 FC 80 08 90 */ fmr f4, f1 +/* 802C0AA4 002BDA04 99 2D A5 F4 */ stb r9, lbl_805A91B4@sda21(r13) +/* 802C0AA8 002BDA08 38 61 00 0C */ addi r3, r1, 0xc +/* 802C0AAC 002BDA0C 99 07 00 01 */ stb r8, 1(r7) +/* 802C0AB0 002BDA10 B0 C7 00 02 */ sth r6, 2(r7) +/* 802C0AB4 002BDA14 90 A7 00 04 */ stw r5, 4(r7) +/* 802C0AB8 002BDA18 98 81 00 08 */ stb r4, 8(r1) +/* 802C0ABC 002BDA1C 98 81 00 09 */ stb r4, 9(r1) +/* 802C0AC0 002BDA20 B0 01 00 0A */ sth r0, 0xa(r1) +/* 802C0AC4 002BDA24 48 0A 29 29 */ bl __ct__6CColorFffff +/* 802C0AC8 002BDA28 A0 01 00 0A */ lhz r0, 0xa(r1) +/* 802C0ACC 002BDA2C 3C 80 80 2C */ lis r4, sub_802c0b50@ha +/* 802C0AD0 002BDA30 89 41 00 08 */ lbz r10, 8(r1) +/* 802C0AD4 002BDA34 3C A0 80 47 */ lis r5, lbl_8046E200@ha +/* 802C0AD8 002BDA38 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 802C0ADC 002BDA3C C0 2D 9A 98 */ lfs f1, lbl_805A8658@sda21(r13) +/* 802C0AE0 002BDA40 60 07 00 01 */ ori r7, r0, 1 +/* 802C0AE4 002BDA44 39 0D A5 FC */ addi r8, r13, lbl_805A91BC@sda21 +/* 802C0AE8 002BDA48 89 21 00 09 */ lbz r9, 9(r1) +/* 802C0AEC 002BDA4C 38 00 00 00 */ li r0, 0 +/* 802C0AF0 002BDA50 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 802C0AF4 002BDA54 3C 60 80 47 */ lis r3, lbl_8046E20C@ha +/* 802C0AF8 002BDA58 C0 0D 9A 9C */ lfs f0, lbl_805A865C@sda21(r13) +/* 802C0AFC 002BDA5C 3B ED A6 04 */ addi r31, r13, lbl_805A91C4@sda21 +/* 802C0B00 002BDA60 99 4D A5 FC */ stb r10, lbl_805A91BC@sda21(r13) +/* 802C0B04 002BDA64 38 84 0B 50 */ addi r4, r4, sub_802c0b50@l +/* 802C0B08 002BDA68 38 A5 E2 00 */ addi r5, r5, lbl_8046E200@l +/* 802C0B0C 002BDA6C 99 28 00 01 */ stb r9, 1(r8) +/* 802C0B10 002BDA70 B0 E8 00 02 */ sth r7, 2(r8) +/* 802C0B14 002BDA74 90 C8 00 04 */ stw r6, 4(r8) +/* 802C0B18 002BDA78 D0 2D A6 04 */ stfs f1, lbl_805A91C4@sda21(r13) +/* 802C0B1C 002BDA7C D0 1F 00 04 */ stfs f0, 4(r31) +/* 802C0B20 002BDA80 94 03 E2 0C */ stwu r0, lbl_8046E20C@l(r3) +/* 802C0B24 002BDA84 48 0C 8B 69 */ bl __register_global_object +/* 802C0B28 002BDA88 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) +/* 802C0B2C 002BDA8C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 +/* 802C0B30 002BDA90 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802C0B34 002BDA94 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) +/* 802C0B38 002BDA98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802C0B3C 002BDA9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802C0B40 002BDAA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802C0B44 002BDAA4 7C 08 03 A6 */ mtlr r0 +/* 802C0B48 002BDAA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802C0B4C 002BDAAC 4E 80 00 20 */ blr + +.global sub_802c0b50 +sub_802c0b50: +/* 802C0B50 002BDAB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802C0B54 002BDAB4 7C 08 02 A6 */ mflr r0 +/* 802C0B58 002BDAB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802C0B5C 002BDABC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802C0B60 002BDAC0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802C0B64 002BDAC4 41 82 00 68 */ beq lbl_802C0BCC +/* 802C0B68 002BDAC8 80 DF 00 00 */ lwz r6, 0(r31) +/* 802C0B6C 002BDACC 38 60 00 00 */ li r3, 0 +/* 802C0B70 002BDAD0 2C 06 00 00 */ cmpwi r6, 0 +/* 802C0B74 002BDAD4 40 81 00 40 */ ble lbl_802C0BB4 +/* 802C0B78 002BDAD8 2C 06 00 08 */ cmpwi r6, 8 +/* 802C0B7C 002BDADC 38 A6 FF F8 */ addi r5, r6, -8 +/* 802C0B80 002BDAE0 40 81 00 20 */ ble lbl_802C0BA0 +/* 802C0B84 002BDAE4 38 05 00 07 */ addi r0, r5, 7 +/* 802C0B88 002BDAE8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802C0B8C 002BDAEC 7C 09 03 A6 */ mtctr r0 +/* 802C0B90 002BDAF0 2C 05 00 00 */ cmpwi r5, 0 +/* 802C0B94 002BDAF4 40 81 00 0C */ ble lbl_802C0BA0 +lbl_802C0B98: +/* 802C0B98 002BDAF8 38 63 00 08 */ addi r3, r3, 8 +/* 802C0B9C 002BDAFC 42 00 FF FC */ bdnz lbl_802C0B98 +lbl_802C0BA0: +/* 802C0BA0 002BDB00 7C 03 30 50 */ subf r0, r3, r6 +/* 802C0BA4 002BDB04 7C 09 03 A6 */ mtctr r0 +/* 802C0BA8 002BDB08 7C 03 30 00 */ cmpw r3, r6 +/* 802C0BAC 002BDB0C 40 80 00 08 */ bge lbl_802C0BB4 +lbl_802C0BB0: +/* 802C0BB0 002BDB10 42 00 00 00 */ bdnz lbl_802C0BB0 +lbl_802C0BB4: +/* 802C0BB4 002BDB14 38 60 00 00 */ li r3, 0 +/* 802C0BB8 002BDB18 7C 80 07 35 */ extsh. r0, r4 +/* 802C0BBC 002BDB1C 90 7F 00 00 */ stw r3, 0(r31) +/* 802C0BC0 002BDB20 40 81 00 0C */ ble lbl_802C0BCC +/* 802C0BC4 002BDB24 7F E3 FB 78 */ mr r3, r31 +/* 802C0BC8 002BDB28 48 05 4D 69 */ bl Free__7CMemoryFPCv +lbl_802C0BCC: +/* 802C0BCC 002BDB2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802C0BD0 002BDB30 7F E3 FB 78 */ mr r3, r31 +/* 802C0BD4 002BDB34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802C0BD8 002BDB38 7C 08 03 A6 */ mtlr r0 +/* 802C0BDC 002BDB3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802C0BE0 002BDB40 4E 80 00 20 */ blr + +.global "@4@AddParticleGen__13CCubeRendererFRC12CParticleGen" +"@4@AddParticleGen__13CCubeRendererFRC12CParticleGen": +/* 802C0BE4 002BDB44 38 63 FF FC */ addi r3, r3, -4 +/* 802C0BE8 002BDB48 4B FF CF 5C */ b AddParticleGen__13CCubeRendererFRC12CParticleGen + +.global "@4@__dt__13CCubeRendererFv" +"@4@__dt__13CCubeRendererFv": +/* 802C0BEC 002BDB4C 38 63 FF FC */ addi r3, r3, -4 +/* 802C0BF0 002BDB50 4B FF DA A8 */ b __dt__13CCubeRendererFv diff --git a/asm/Weapons/CCollisionResponseData.s b/asm/Weapons/CCollisionResponseData.s new file mode 100644 index 00000000..9e07571f --- /dev/null +++ b/asm/Weapons/CCollisionResponseData.s @@ -0,0 +1,1583 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B2158 002AF0B8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B215C 002AF0BC 7C 08 02 A6 */ mflr r0 +/* 802B2160 002AF0C0 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B2164 002AF0C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B2168 002AF0C8 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B216C 002AF0CC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B2170 002AF0D0 7C 7F 1B 78 */ mr r31, r3 +/* 802B2174 002AF0D4 38 60 00 38 */ li r3, 0x38 +/* 802B2178 002AF0D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B217C 002AF0DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B2180 002AF0E0 7C BD 2B 78 */ mr r29, r5 +/* 802B2184 002AF0E4 38 A0 00 00 */ li r5, 0 +/* 802B2188 002AF0E8 80 E6 00 00 */ lwz r7, 0(r6) +/* 802B218C 002AF0EC 90 E1 00 08 */ stw r7, 8(r1) +/* 802B2190 002AF0F0 80 C7 00 04 */ lwz r6, 4(r7) +/* 802B2194 002AF0F4 38 06 00 01 */ addi r0, r6, 1 +/* 802B2198 002AF0F8 90 07 00 04 */ stw r0, 4(r7) +/* 802B219C 002AF0FC 80 C1 00 08 */ lwz r6, 8(r1) +/* 802B21A0 002AF100 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B21A4 002AF104 83 C6 00 04 */ lwz r30, 4(r6) +/* 802B21A8 002AF108 48 06 36 C5 */ bl __nw__FUlPCcPCc +/* 802B21AC 002AF10C 7C 64 1B 79 */ or. r4, r3, r3 +/* 802B21B0 002AF110 41 82 00 14 */ beq lbl_802B21C4 +/* 802B21B4 002AF114 7F A4 EB 78 */ mr r4, r29 +/* 802B21B8 002AF118 7F C5 F3 78 */ mr r5, r30 +/* 802B21BC 002AF11C 48 00 0C 7D */ bl __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool +/* 802B21C0 002AF120 7C 64 1B 78 */ mr r4, r3 +lbl_802B21C4: +/* 802B21C4 002AF124 7C 04 00 D0 */ neg r0, r4 +/* 802B21C8 002AF128 90 81 00 10 */ stw r4, 0x10(r1) +/* 802B21CC 002AF12C 7C 00 23 78 */ or r0, r0, r4 +/* 802B21D0 002AF130 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B21D4 002AF134 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B21D8 002AF138 38 81 00 0C */ addi r4, r1, 0xc +/* 802B21DC 002AF13C 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B21E0 002AF140 48 00 01 1D */ bl "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +/* 802B21E4 002AF144 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B21E8 002AF148 38 00 00 00 */ li r0, 0 +/* 802B21EC 002AF14C 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B21F0 002AF150 7C 03 00 D0 */ neg r0, r3 +/* 802B21F4 002AF154 7C 00 1B 78 */ or r0, r0, r3 +/* 802B21F8 002AF158 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B21FC 002AF15C 98 1F 00 00 */ stb r0, 0(r31) +/* 802B2200 002AF160 90 7F 00 04 */ stw r3, 4(r31) +/* 802B2204 002AF164 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B2208 002AF168 28 00 00 00 */ cmplwi r0, 0 +/* 802B220C 002AF16C 41 82 00 24 */ beq lbl_802B2230 +/* 802B2210 002AF170 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2214 002AF174 28 03 00 00 */ cmplwi r3, 0 +/* 802B2218 002AF178 41 82 00 18 */ beq lbl_802B2230 +/* 802B221C 002AF17C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B2220 002AF180 38 80 00 01 */ li r4, 1 +/* 802B2224 002AF184 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B2228 002AF188 7D 89 03 A6 */ mtctr r12 +/* 802B222C 002AF18C 4E 80 04 21 */ bctrl +lbl_802B2230: +/* 802B2230 002AF190 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B2234 002AF194 28 00 00 00 */ cmplwi r0, 0 +/* 802B2238 002AF198 41 82 00 10 */ beq lbl_802B2248 +/* 802B223C 002AF19C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B2240 002AF1A0 38 80 00 01 */ li r4, 1 +/* 802B2244 002AF1A4 48 00 04 BD */ bl sub_802b2700 +lbl_802B2248: +/* 802B2248 002AF1A8 38 61 00 08 */ addi r3, r1, 8 +/* 802B224C 002AF1AC 4B D8 20 B9 */ bl sub_80034304 +/* 802B2250 002AF1B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2254 002AF1B4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B2258 002AF1B8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B225C 002AF1BC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B2260 002AF1C0 7C 08 03 A6 */ mtlr r0 +/* 802B2264 002AF1C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2268 002AF1C8 4E 80 00 20 */ blr + +.global "__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv" +"__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv": +/* 802B226C 002AF1CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2270 002AF1D0 7C 08 02 A6 */ mflr r0 +/* 802B2274 002AF1D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2278 002AF1D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B227C 002AF1DC 7C 9F 23 78 */ mr r31, r4 +/* 802B2280 002AF1E0 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2284 002AF1E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B2288 002AF1E8 41 82 00 58 */ beq lbl_802B22E0 +/* 802B228C 002AF1EC 3C 60 80 3F */ lis r3, lbl_803EC518@ha +/* 802B2290 002AF1F0 38 03 C5 18 */ addi r0, r3, lbl_803EC518@l +/* 802B2294 002AF1F4 90 1E 00 00 */ stw r0, 0(r30) +/* 802B2298 002AF1F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B229C 002AF1FC 28 03 00 00 */ cmplwi r3, 0 +/* 802B22A0 002AF200 41 82 00 0C */ beq lbl_802B22AC +/* 802B22A4 002AF204 38 80 00 01 */ li r4, 1 +/* 802B22A8 002AF208 48 00 04 59 */ bl sub_802b2700 +lbl_802B22AC: +/* 802B22AC 002AF20C 28 1E 00 00 */ cmplwi r30, 0 +/* 802B22B0 002AF210 41 82 00 20 */ beq lbl_802B22D0 +/* 802B22B4 002AF214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B22B8 002AF218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B22BC 002AF21C 90 1E 00 00 */ stw r0, 0(r30) +/* 802B22C0 002AF220 41 82 00 10 */ beq lbl_802B22D0 +/* 802B22C4 002AF224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B22C8 002AF228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B22CC 002AF22C 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B22D0: +/* 802B22D0 002AF230 7F E0 07 35 */ extsh. r0, r31 +/* 802B22D4 002AF234 40 81 00 0C */ ble lbl_802B22E0 +/* 802B22D8 002AF238 7F C3 F3 78 */ mr r3, r30 +/* 802B22DC 002AF23C 48 06 36 55 */ bl Free__7CMemoryFPCv +lbl_802B22E0: +/* 802B22E0 002AF240 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B22E4 002AF244 7F C3 F3 78 */ mr r3, r30 +/* 802B22E8 002AF248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B22EC 002AF24C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B22F0 002AF250 7C 08 03 A6 */ mtlr r0 +/* 802B22F4 002AF254 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B22F8 002AF258 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +"GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": +/* 802B22FC 002AF25C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2300 002AF260 7C 08 02 A6 */ mflr r0 +/* 802B2304 002AF264 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2308 002AF268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B230C 002AF26C 7C 7F 1B 78 */ mr r31, r3 +/* 802B2310 002AF270 48 00 00 19 */ bl "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +/* 802B2314 002AF274 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B2318 002AF278 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B231C 002AF27C 7C 08 03 A6 */ mtlr r0 +/* 802B2320 002AF280 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2324 002AF284 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" +"GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": +/* 802B2328 002AF288 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B232C 002AF28C 7C 08 02 A6 */ mflr r0 +/* 802B2330 002AF290 3C A0 80 3D */ lis r5, lbl_803D6540@ha +/* 802B2334 002AF294 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2338 002AF298 38 05 65 40 */ addi r0, r5, lbl_803D6540@l +/* 802B233C 002AF29C 38 A0 00 00 */ li r5, 0 +/* 802B2340 002AF2A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B2344 002AF2A4 7C 9F 23 78 */ mr r31, r4 +/* 802B2348 002AF2A8 7C 04 03 78 */ mr r4, r0 +/* 802B234C 002AF2AC 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2350 002AF2B0 7C 7E 1B 78 */ mr r30, r3 +/* 802B2354 002AF2B4 38 60 00 08 */ li r3, 8 +/* 802B2358 002AF2B8 48 06 35 15 */ bl __nw__FUlPCcPCc +/* 802B235C 002AF2BC 28 03 00 00 */ cmplwi r3, 0 +/* 802B2360 002AF2C0 41 82 00 38 */ beq lbl_802B2398 +/* 802B2364 002AF2C4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B2368 002AF2C8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B236C 002AF2CC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B2370 002AF2D0 3C 80 80 3F */ lis r4, lbl_803EC518@ha +/* 802B2374 002AF2D4 90 03 00 00 */ stw r0, 0(r3) +/* 802B2378 002AF2D8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B237C 002AF2DC 38 A0 00 00 */ li r5, 0 +/* 802B2380 002AF2E0 38 04 C5 18 */ addi r0, r4, lbl_803EC518@l +/* 802B2384 002AF2E4 90 C3 00 00 */ stw r6, 0(r3) +/* 802B2388 002AF2E8 98 BF 00 00 */ stb r5, 0(r31) +/* 802B238C 002AF2EC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B2390 002AF2F0 90 83 00 04 */ stw r4, 4(r3) +/* 802B2394 002AF2F4 90 03 00 00 */ stw r0, 0(r3) +lbl_802B2398: +/* 802B2398 002AF2F8 7C 03 00 D0 */ neg r0, r3 +/* 802B239C 002AF2FC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B23A0 002AF300 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B23A4 002AF304 98 1E 00 00 */ stb r0, 0(r30) +/* 802B23A8 002AF308 90 7E 00 04 */ stw r3, 4(r30) +/* 802B23AC 002AF30C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B23B0 002AF310 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B23B4 002AF314 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B23B8 002AF318 7C 08 03 A6 */ mtlr r0 +/* 802B23BC 002AF31C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B23C0 002AF320 4E 80 00 20 */ blr + +.global GetWorldCollisionResponseType__22CCollisionResponseDataFi +GetWorldCollisionResponseType__22CCollisionResponseDataFi: +/* 802B23C4 002AF324 2C 03 00 00 */ cmpwi r3, 0 +/* 802B23C8 002AF328 41 80 00 20 */ blt lbl_802B23E8 +/* 802B23CC 002AF32C 2C 03 00 20 */ cmpwi r3, 0x20 +/* 802B23D0 002AF330 40 80 00 18 */ bge lbl_802B23E8 +/* 802B23D4 002AF334 3C 80 80 3D */ lis r4, lbl_803D6198@ha +/* 802B23D8 002AF338 54 60 10 3A */ slwi r0, r3, 2 +/* 802B23DC 002AF33C 38 64 61 98 */ addi r3, r4, lbl_803D6198@l +/* 802B23E0 002AF340 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802B23E4 002AF344 4E 80 00 20 */ blr +lbl_802B23E8: +/* 802B23E8 002AF348 38 60 00 01 */ li r3, 1 +/* 802B23EC 002AF34C 4E 80 00 20 */ blr + +.global GetAudibleFallOff__22CCollisionResponseDataCFv +GetAudibleFallOff__22CCollisionResponseDataCFv: +/* 802B23F0 002AF350 C0 23 00 34 */ lfs f1, 0x34(r3) +/* 802B23F4 002AF354 4E 80 00 20 */ blr + +.global GetAudibleRange__22CCollisionResponseDataCFv +GetAudibleRange__22CCollisionResponseDataCFv: +/* 802B23F8 002AF358 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 802B23FC 002AF35C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2400 002AF360 2C 03 00 2C */ cmpwi r3, 0x2c +/* 802B2404 002AF364 41 80 00 14 */ blt lbl_802B2418 +/* 802B2408 002AF368 2C 03 00 44 */ cmpwi r3, 0x44 +/* 802B240C 002AF36C 41 81 00 0C */ bgt lbl_802B2418 +/* 802B2410 002AF370 38 60 00 01 */ li r3, 1 +/* 802B2414 002AF374 4E 80 00 20 */ blr +lbl_802B2418: +/* 802B2418 002AF378 38 60 00 00 */ li r3, 0 +/* 802B241C 002AF37C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2420 002AF380 2C 03 00 13 */ cmpwi r3, 0x13 +/* 802B2424 002AF384 41 80 00 14 */ blt lbl_802B2438 +/* 802B2428 002AF388 2C 03 00 2B */ cmpwi r3, 0x2b +/* 802B242C 002AF38C 41 81 00 0C */ bgt lbl_802B2438 +/* 802B2430 002AF390 38 60 00 01 */ li r3, 1 +/* 802B2434 002AF394 4E 80 00 20 */ blr +lbl_802B2438: +/* 802B2438 002AF398 38 60 00 00 */ li r3, 0 +/* 802B243C 002AF39C 4E 80 00 20 */ blr + +.global ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: +/* 802B2440 002AF3A0 2C 03 00 45 */ cmpwi r3, 0x45 +/* 802B2444 002AF3A4 41 80 00 14 */ blt lbl_802B2458 +/* 802B2448 002AF3A8 2C 03 00 5D */ cmpwi r3, 0x5d +/* 802B244C 002AF3AC 41 81 00 0C */ bgt lbl_802B2458 +/* 802B2450 002AF3B0 38 60 00 01 */ li r3, 1 +/* 802B2454 002AF3B4 4E 80 00 20 */ blr +lbl_802B2458: +/* 802B2458 002AF3B8 38 60 00 00 */ li r3, 0 +/* 802B245C 002AF3BC 4E 80 00 20 */ blr + +.global GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B2460 002AF3C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2464 002AF3C4 7C 08 02 A6 */ mflr r0 +/* 802B2468 002AF3C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B246C 002AF3CC 54 A0 20 36 */ slwi r0, r5, 4 +/* 802B2470 002AF3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B2474 002AF3D4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B2478 002AF3D8 80 84 00 2C */ lwz r4, 0x2c(r4) +/* 802B247C 002AF3DC 7F E4 02 14 */ add r31, r4, r0 +/* 802B2480 002AF3E0 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B2484 002AF3E4 98 03 00 0C */ stb r0, 0xc(r3) +/* 802B2488 002AF3E8 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B248C 002AF3EC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2490 002AF3F0 41 82 00 28 */ beq lbl_802B24B8 +/* 802B2494 002AF3F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 802B2498 002AF3F8 41 82 00 20 */ beq lbl_802B24B8 +/* 802B249C 002AF3FC 7C 1E 03 78 */ mr r30, r0 +/* 802B24A0 002AF400 7F E4 FB 78 */ mr r4, r31 +/* 802B24A4 002AF404 48 08 EA 05 */ bl __ct__6CTokenFRC6CToken +/* 802B24A8 002AF408 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B24AC 002AF40C 7F C3 F3 78 */ mr r3, r30 +/* 802B24B0 002AF410 90 1E 00 08 */ stw r0, 8(r30) +/* 802B24B4 002AF414 48 08 E8 D1 */ bl Lock__6CTokenFv +lbl_802B24B8: +/* 802B24B8 002AF418 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B24BC 002AF41C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B24C0 002AF420 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B24C4 002AF424 7C 08 03 A6 */ mtlr r0 +/* 802B24C8 002AF428 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B24CC 002AF42C 4E 80 00 20 */ blr + +.global GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B24D0 002AF430 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B24D4 002AF434 7C 08 02 A6 */ mflr r0 +/* 802B24D8 002AF438 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B24DC 002AF43C 54 80 10 3A */ slwi r0, r4, 2 +/* 802B24E0 002AF440 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B24E4 002AF444 7C 7F 1B 78 */ mr r31, r3 +/* 802B24E8 002AF448 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B24EC 002AF44C 7C 9E 23 78 */ mr r30, r4 +/* 802B24F0 002AF450 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B24F4 002AF454 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802B24F8 002AF458 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802B24FC 002AF45C 2C 00 FF FF */ cmpwi r0, -1 +/* 802B2500 002AF460 40 82 00 98 */ bne lbl_802B2598 +/* 802B2504 002AF464 7F C3 F3 78 */ mr r3, r30 +/* 802B2508 002AF468 3B A0 00 00 */ li r29, 0 +/* 802B250C 002AF46C 4B FF FF 15 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2510 002AF470 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2514 002AF474 41 82 00 10 */ beq lbl_802B2524 +/* 802B2518 002AF478 3B C0 00 10 */ li r30, 0x10 +/* 802B251C 002AF47C 3B A0 00 01 */ li r29, 1 +/* 802B2520 002AF480 48 00 00 38 */ b lbl_802B2558 +lbl_802B2524: +/* 802B2524 002AF484 7F C3 F3 78 */ mr r3, r30 +/* 802B2528 002AF488 4B FF FE D9 */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B252C 002AF48C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2530 002AF490 41 82 00 10 */ beq lbl_802B2540 +/* 802B2534 002AF494 3B C0 00 11 */ li r30, 0x11 +/* 802B2538 002AF498 3B A0 00 01 */ li r29, 1 +/* 802B253C 002AF49C 48 00 00 1C */ b lbl_802B2558 +lbl_802B2540: +/* 802B2540 002AF4A0 7F C3 F3 78 */ mr r3, r30 +/* 802B2544 002AF4A4 4B FF FE FD */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2548 002AF4A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B254C 002AF4AC 41 82 00 0C */ beq lbl_802B2558 +/* 802B2550 002AF4B0 3B C0 00 12 */ li r30, 0x12 +/* 802B2554 002AF4B4 3B A0 00 01 */ li r29, 1 +lbl_802B2558: +/* 802B2558 002AF4B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802B255C 002AF4BC 41 82 00 20 */ beq lbl_802B257C +/* 802B2560 002AF4C0 57 C3 20 36 */ slwi r3, r30, 4 +/* 802B2564 002AF4C4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B2568 002AF4C8 38 03 00 0C */ addi r0, r3, 0xc +/* 802B256C 002AF4CC 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B2570 002AF4D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2574 002AF4D4 40 82 00 08 */ bne lbl_802B257C +/* 802B2578 002AF4D8 3B C0 00 10 */ li r30, 0x10 +lbl_802B257C: +/* 802B257C 002AF4DC 57 C3 20 36 */ slwi r3, r30, 4 +/* 802B2580 002AF4E0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B2584 002AF4E4 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2588 002AF4E8 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B258C 002AF4EC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2590 002AF4F0 40 82 00 08 */ bne lbl_802B2598 +/* 802B2594 002AF4F4 3B C0 00 01 */ li r30, 1 +lbl_802B2598: +/* 802B2598 002AF4F8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B259C 002AF4FC 57 C0 10 3A */ slwi r0, r30, 2 +/* 802B25A0 002AF500 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802B25A4 002AF504 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B25A8 002AF508 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B25AC 002AF50C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B25B0 002AF510 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B25B4 002AF514 7C 08 03 A6 */ mtlr r0 +/* 802B25B8 002AF518 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B25BC 002AF51C 4E 80 00 20 */ blr + +.global GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: +/* 802B25C0 002AF520 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B25C4 002AF524 7C 08 02 A6 */ mflr r0 +/* 802B25C8 002AF528 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B25CC 002AF52C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B25D0 002AF530 7C BF 2B 78 */ mr r31, r5 +/* 802B25D4 002AF534 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B25D8 002AF538 7C 9E 23 78 */ mr r30, r4 +/* 802B25DC 002AF53C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B25E0 002AF540 7C 7D 1B 78 */ mr r29, r3 +/* 802B25E4 002AF544 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B25E8 002AF548 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802B25EC 002AF54C 57 E4 20 36 */ slwi r4, r31, 4 +/* 802B25F0 002AF550 38 04 00 0C */ addi r0, r4, 0xc +/* 802B25F4 002AF554 7C 05 00 AE */ lbzx r0, r5, r0 +/* 802B25F8 002AF558 28 00 00 00 */ cmplwi r0, 0 +/* 802B25FC 002AF55C 40 82 00 A0 */ bne lbl_802B269C +/* 802B2600 002AF560 7F E3 FB 78 */ mr r3, r31 +/* 802B2604 002AF564 3B 80 00 00 */ li r28, 0 +/* 802B2608 002AF568 4B FF FE 19 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B260C 002AF56C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2610 002AF570 41 82 00 10 */ beq lbl_802B2620 +/* 802B2614 002AF574 3B E0 00 10 */ li r31, 0x10 +/* 802B2618 002AF578 3B 80 00 01 */ li r28, 1 +/* 802B261C 002AF57C 48 00 00 38 */ b lbl_802B2654 +lbl_802B2620: +/* 802B2620 002AF580 7F E3 FB 78 */ mr r3, r31 +/* 802B2624 002AF584 4B FF FD DD */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2628 002AF588 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B262C 002AF58C 41 82 00 10 */ beq lbl_802B263C +/* 802B2630 002AF590 3B E0 00 11 */ li r31, 0x11 +/* 802B2634 002AF594 3B 80 00 01 */ li r28, 1 +/* 802B2638 002AF598 48 00 00 1C */ b lbl_802B2654 +lbl_802B263C: +/* 802B263C 002AF59C 7F E3 FB 78 */ mr r3, r31 +/* 802B2640 002AF5A0 4B FF FE 01 */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes +/* 802B2644 002AF5A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2648 002AF5A8 41 82 00 0C */ beq lbl_802B2654 +/* 802B264C 002AF5AC 3B E0 00 12 */ li r31, 0x12 +/* 802B2650 002AF5B0 3B 80 00 01 */ li r28, 1 +lbl_802B2654: +/* 802B2654 002AF5B4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802B2658 002AF5B8 41 82 00 20 */ beq lbl_802B2678 +/* 802B265C 002AF5BC 57 E3 20 36 */ slwi r3, r31, 4 +/* 802B2660 002AF5C0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802B2664 002AF5C4 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2668 002AF5C8 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B266C 002AF5CC 28 00 00 00 */ cmplwi r0, 0 +/* 802B2670 002AF5D0 40 82 00 08 */ bne lbl_802B2678 +/* 802B2674 002AF5D4 3B E0 00 10 */ li r31, 0x10 +lbl_802B2678: +/* 802B2678 002AF5D8 57 E3 20 36 */ slwi r3, r31, 4 +/* 802B267C 002AF5DC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802B2680 002AF5E0 38 03 00 0C */ addi r0, r3, 0xc +/* 802B2684 002AF5E4 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802B2688 002AF5E8 28 00 00 00 */ cmplwi r0, 0 +/* 802B268C 002AF5EC 40 82 00 10 */ bne lbl_802B269C +/* 802B2690 002AF5F0 2C 1F 00 00 */ cmpwi r31, 0 +/* 802B2694 002AF5F4 41 82 00 08 */ beq lbl_802B269C +/* 802B2698 002AF5F8 3B E0 00 01 */ li r31, 1 +lbl_802B269C: +/* 802B269C 002AF5FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B26A0 002AF600 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B26A4 002AF604 7F C3 02 14 */ add r30, r3, r0 +/* 802B26A8 002AF608 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B26AC 002AF60C 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802B26B0 002AF610 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 802B26B4 002AF614 28 00 00 00 */ cmplwi r0, 0 +/* 802B26B8 002AF618 41 82 00 28 */ beq lbl_802B26E0 +/* 802B26BC 002AF61C 28 1D 00 00 */ cmplwi r29, 0 +/* 802B26C0 002AF620 41 82 00 20 */ beq lbl_802B26E0 +/* 802B26C4 002AF624 7F A3 EB 78 */ mr r3, r29 +/* 802B26C8 002AF628 7F C4 F3 78 */ mr r4, r30 +/* 802B26CC 002AF62C 48 08 E7 DD */ bl __ct__6CTokenFRC6CToken +/* 802B26D0 002AF630 80 1E 00 08 */ lwz r0, 8(r30) +/* 802B26D4 002AF634 7F A3 EB 78 */ mr r3, r29 +/* 802B26D8 002AF638 90 1D 00 08 */ stw r0, 8(r29) +/* 802B26DC 002AF63C 48 08 E6 A9 */ bl Lock__6CTokenFv +lbl_802B26E0: +/* 802B26E0 002AF640 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B26E4 002AF644 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B26E8 002AF648 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B26EC 002AF64C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B26F0 002AF650 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B26F4 002AF654 7C 08 03 A6 */ mtlr r0 +/* 802B26F8 002AF658 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B26FC 002AF65C 4E 80 00 20 */ blr + +.global sub_802b2700 +sub_802b2700: +/* 802B2700 002AF660 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2704 002AF664 7C 08 02 A6 */ mflr r0 +/* 802B2708 002AF668 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B270C 002AF66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2710 002AF670 7C 9F 23 78 */ mr r31, r4 +/* 802B2714 002AF674 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2718 002AF678 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B271C 002AF67C 41 82 00 74 */ beq lbl_802B2790 +/* 802B2720 002AF680 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802B2724 002AF684 38 80 FF FF */ li r4, -1 +/* 802B2728 002AF688 48 00 01 3D */ bl sub_802b2864 +/* 802B272C 002AF68C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802B2730 002AF690 41 82 00 44 */ beq lbl_802B2774 +/* 802B2734 002AF694 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B2738 002AF698 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802B273C 002AF69C 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2740 002AF6A0 7C 03 02 14 */ add r0, r3, r0 +/* 802B2744 002AF6A4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B2748 002AF6A8 7C 64 1B 78 */ mr r4, r3 +/* 802B274C 002AF6AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2750 002AF6B0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B2754 002AF6B4 90 61 00 08 */ stw r3, 8(r1) +/* 802B2758 002AF6B8 48 00 00 08 */ b lbl_802B2760 +lbl_802B275C: +/* 802B275C 002AF6BC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2760: +/* 802B2760 002AF6C0 7C 04 00 40 */ cmplw r4, r0 +/* 802B2764 002AF6C4 40 82 FF F8 */ bne lbl_802B275C +/* 802B2768 002AF6C8 28 03 00 00 */ cmplwi r3, 0 +/* 802B276C 002AF6CC 41 82 00 08 */ beq lbl_802B2774 +/* 802B2770 002AF6D0 48 06 31 C1 */ bl Free__7CMemoryFPCv +lbl_802B2774: +/* 802B2774 002AF6D4 7F C3 F3 78 */ mr r3, r30 +/* 802B2778 002AF6D8 38 80 FF FF */ li r4, -1 +/* 802B277C 002AF6DC 48 00 00 31 */ bl sub_802b27ac +/* 802B2780 002AF6E0 7F E0 07 35 */ extsh. r0, r31 +/* 802B2784 002AF6E4 40 81 00 0C */ ble lbl_802B2790 +/* 802B2788 002AF6E8 7F C3 F3 78 */ mr r3, r30 +/* 802B278C 002AF6EC 48 06 31 A5 */ bl Free__7CMemoryFPCv +lbl_802B2790: +/* 802B2790 002AF6F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2794 002AF6F4 7F C3 F3 78 */ mr r3, r30 +/* 802B2798 002AF6F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B279C 002AF6FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B27A0 002AF700 7C 08 03 A6 */ mtlr r0 +/* 802B27A4 002AF704 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B27A8 002AF708 4E 80 00 20 */ blr + +.global sub_802b27ac +sub_802b27ac: +/* 802B27AC 002AF70C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B27B0 002AF710 7C 08 02 A6 */ mflr r0 +/* 802B27B4 002AF714 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B27B8 002AF718 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802B27BC 002AF71C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802B27C0 002AF720 7C 9C 23 78 */ mr r28, r4 +/* 802B27C4 002AF724 41 82 00 88 */ beq lbl_802B284C +/* 802B27C8 002AF728 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B27CC 002AF72C 3B E0 00 00 */ li r31, 0 +/* 802B27D0 002AF730 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 802B27D4 002AF734 54 00 20 36 */ slwi r0, r0, 4 +/* 802B27D8 002AF738 7F DD 02 14 */ add r30, r29, r0 +/* 802B27DC 002AF73C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B27E0 002AF740 93 C1 00 08 */ stw r30, 8(r1) +/* 802B27E4 002AF744 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B27E8 002AF748 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B27EC 002AF74C 48 00 00 38 */ b lbl_802B2824 +lbl_802B27F0: +/* 802B27F0 002AF750 28 1D 00 00 */ cmplwi r29, 0 +/* 802B27F4 002AF754 41 82 00 2C */ beq lbl_802B2820 +/* 802B27F8 002AF758 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B27FC 002AF75C 28 00 00 00 */ cmplwi r0, 0 +/* 802B2800 002AF760 41 82 00 1C */ beq lbl_802B281C +/* 802B2804 002AF764 28 1D 00 00 */ cmplwi r29, 0 +/* 802B2808 002AF768 41 82 00 14 */ beq lbl_802B281C +/* 802B280C 002AF76C 41 82 00 10 */ beq lbl_802B281C +/* 802B2810 002AF770 7F A3 EB 78 */ mr r3, r29 +/* 802B2814 002AF774 38 80 00 00 */ li r4, 0 +/* 802B2818 002AF778 48 08 E6 29 */ bl __dt__6CTokenFv +lbl_802B281C: +/* 802B281C 002AF77C 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B2820: +/* 802B2820 002AF780 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B2824: +/* 802B2824 002AF784 7C 1D F0 40 */ cmplw r29, r30 +/* 802B2828 002AF788 40 82 FF C8 */ bne lbl_802B27F0 +/* 802B282C 002AF78C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B2830 002AF790 28 03 00 00 */ cmplwi r3, 0 +/* 802B2834 002AF794 41 82 00 08 */ beq lbl_802B283C +/* 802B2838 002AF798 48 06 30 F9 */ bl Free__7CMemoryFPCv +lbl_802B283C: +/* 802B283C 002AF79C 7F 80 07 35 */ extsh. r0, r28 +/* 802B2840 002AF7A0 40 81 00 0C */ ble lbl_802B284C +/* 802B2844 002AF7A4 7F 63 DB 78 */ mr r3, r27 +/* 802B2848 002AF7A8 48 06 30 E9 */ bl Free__7CMemoryFPCv +lbl_802B284C: +/* 802B284C 002AF7AC 7F 63 DB 78 */ mr r3, r27 +/* 802B2850 002AF7B0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802B2854 002AF7B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2858 002AF7B8 7C 08 03 A6 */ mtlr r0 +/* 802B285C 002AF7BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2860 002AF7C0 4E 80 00 20 */ blr + +.global sub_802b2864 +sub_802b2864: +/* 802B2864 002AF7C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B2868 002AF7C8 7C 08 02 A6 */ mflr r0 +/* 802B286C 002AF7CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B2870 002AF7D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802B2874 002AF7D4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802B2878 002AF7D8 7C 9C 23 78 */ mr r28, r4 +/* 802B287C 002AF7DC 41 82 00 88 */ beq lbl_802B2904 +/* 802B2880 002AF7E0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B2884 002AF7E4 3B E0 00 00 */ li r31, 0 +/* 802B2888 002AF7E8 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 802B288C 002AF7EC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B2890 002AF7F0 7F DD 02 14 */ add r30, r29, r0 +/* 802B2894 002AF7F4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B2898 002AF7F8 93 C1 00 08 */ stw r30, 8(r1) +/* 802B289C 002AF7FC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B28A0 002AF800 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B28A4 002AF804 48 00 00 38 */ b lbl_802B28DC +lbl_802B28A8: +/* 802B28A8 002AF808 28 1D 00 00 */ cmplwi r29, 0 +/* 802B28AC 002AF80C 41 82 00 2C */ beq lbl_802B28D8 +/* 802B28B0 002AF810 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B28B4 002AF814 28 00 00 00 */ cmplwi r0, 0 +/* 802B28B8 002AF818 41 82 00 1C */ beq lbl_802B28D4 +/* 802B28BC 002AF81C 28 1D 00 00 */ cmplwi r29, 0 +/* 802B28C0 002AF820 41 82 00 14 */ beq lbl_802B28D4 +/* 802B28C4 002AF824 41 82 00 10 */ beq lbl_802B28D4 +/* 802B28C8 002AF828 7F A3 EB 78 */ mr r3, r29 +/* 802B28CC 002AF82C 38 80 00 00 */ li r4, 0 +/* 802B28D0 002AF830 48 08 E5 71 */ bl __dt__6CTokenFv +lbl_802B28D4: +/* 802B28D4 002AF834 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B28D8: +/* 802B28D8 002AF838 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B28DC: +/* 802B28DC 002AF83C 7C 1D F0 40 */ cmplw r29, r30 +/* 802B28E0 002AF840 40 82 FF C8 */ bne lbl_802B28A8 +/* 802B28E4 002AF844 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B28E8 002AF848 28 03 00 00 */ cmplwi r3, 0 +/* 802B28EC 002AF84C 41 82 00 08 */ beq lbl_802B28F4 +/* 802B28F0 002AF850 48 06 30 41 */ bl Free__7CMemoryFPCv +lbl_802B28F4: +/* 802B28F4 002AF854 7F 80 07 35 */ extsh. r0, r28 +/* 802B28F8 002AF858 40 81 00 0C */ ble lbl_802B2904 +/* 802B28FC 002AF85C 7F 63 DB 78 */ mr r3, r27 +/* 802B2900 002AF860 48 06 30 31 */ bl Free__7CMemoryFPCv +lbl_802B2904: +/* 802B2904 002AF864 7F 63 DB 78 */ mr r3, r27 +/* 802B2908 002AF868 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802B290C 002AF86C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2910 002AF870 7C 08 03 A6 */ mtlr r0 +/* 802B2914 002AF874 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B2918 002AF878 4E 80 00 20 */ blr + +.global AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool +AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool: +/* 802B291C 002AF87C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B2920 002AF880 7C 08 02 A6 */ mflr r0 +/* 802B2924 002AF884 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B2928 002AF888 38 00 00 00 */ li r0, 0 +/* 802B292C 002AF88C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B2930 002AF890 7C 9F 23 78 */ mr r31, r4 +/* 802B2934 002AF894 7C A4 2B 78 */ mr r4, r5 +/* 802B2938 002AF898 7C C5 33 78 */ mr r5, r6 +/* 802B293C 002AF89C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B2940 002AF8A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B2944 002AF8A4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B2948 002AF8A8 38 C1 00 4C */ addi r6, r1, 0x4c +/* 802B294C 002AF8AC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 802B2950 002AF8B0 90 01 00 50 */ stw r0, 0x50(r1) +/* 802B2954 002AF8B4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B2958 002AF8B8 90 01 00 58 */ stw r0, 0x58(r1) +/* 802B295C 002AF8BC 48 07 24 35 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B2960 002AF8C0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B2964 002AF8C4 28 00 00 00 */ cmplwi r0, 0 +/* 802B2968 002AF8C8 98 01 00 48 */ stb r0, 0x48(r1) +/* 802B296C 002AF8CC 41 82 00 14 */ beq lbl_802B2980 +/* 802B2970 002AF8D0 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2974 002AF8D4 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B2978 002AF8D8 41 82 00 08 */ beq lbl_802B2980 +/* 802B297C 002AF8DC 48 08 E5 2D */ bl __ct__6CTokenFRC6CToken +lbl_802B2980: +/* 802B2980 002AF8E0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B2984 002AF8E4 28 00 00 00 */ cmplwi r0, 0 +/* 802B2988 002AF8E8 41 82 00 14 */ beq lbl_802B299C +/* 802B298C 002AF8EC 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B2990 002AF8F0 41 82 00 0C */ beq lbl_802B299C +/* 802B2994 002AF8F4 38 80 00 00 */ li r4, 0 +/* 802B2998 002AF8F8 48 08 E4 A9 */ bl __dt__6CTokenFv +lbl_802B299C: +/* 802B299C 002AF8FC 88 61 00 48 */ lbz r3, 0x48(r1) +/* 802B29A0 002AF900 38 00 00 00 */ li r0, 0 +/* 802B29A4 002AF904 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B29A8 002AF908 28 03 00 00 */ cmplwi r3, 0 +/* 802B29AC 002AF90C 41 82 00 FC */ beq lbl_802B2AA8 +/* 802B29B0 002AF910 3B A1 00 28 */ addi r29, r1, 0x28 +/* 802B29B4 002AF914 38 81 00 40 */ addi r4, r1, 0x40 +/* 802B29B8 002AF918 7F A3 EB 78 */ mr r3, r29 +/* 802B29BC 002AF91C 48 08 E4 ED */ bl __ct__6CTokenFRC6CToken +/* 802B29C0 002AF920 7F A3 EB 78 */ mr r3, r29 +/* 802B29C4 002AF924 48 08 E4 49 */ bl GetObj__6CTokenFv +/* 802B29C8 002AF928 80 63 00 04 */ lwz r3, 4(r3) +/* 802B29CC 002AF92C 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B29D0 002AF930 90 61 00 30 */ stw r3, 0x30(r1) +/* 802B29D4 002AF934 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B29D8 002AF938 7F E3 02 14 */ add r31, r3, r0 +/* 802B29DC 002AF93C 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B29E0 002AF940 28 00 00 00 */ cmplwi r0, 0 +/* 802B29E4 002AF944 40 82 00 38 */ bne lbl_802B2A1C +/* 802B29E8 002AF948 28 1F 00 00 */ cmplwi r31, 0 +/* 802B29EC 002AF94C 41 82 00 24 */ beq lbl_802B2A10 +/* 802B29F0 002AF950 7F FD FB 78 */ mr r29, r31 +/* 802B29F4 002AF954 7F E3 FB 78 */ mr r3, r31 +/* 802B29F8 002AF958 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B29FC 002AF95C 48 08 E4 AD */ bl __ct__6CTokenFRC6CToken +/* 802B2A00 002AF960 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B2A04 002AF964 7F A3 EB 78 */ mr r3, r29 +/* 802B2A08 002AF968 90 1D 00 08 */ stw r0, 8(r29) +/* 802B2A0C 002AF96C 48 08 E3 79 */ bl Lock__6CTokenFv +lbl_802B2A10: +/* 802B2A10 002AF970 38 00 00 01 */ li r0, 1 +/* 802B2A14 002AF974 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B2A18 002AF978 48 00 00 18 */ b lbl_802B2A30 +lbl_802B2A1C: +/* 802B2A1C 002AF97C 7F E3 FB 78 */ mr r3, r31 +/* 802B2A20 002AF980 7F A4 EB 78 */ mr r4, r29 +/* 802B2A24 002AF984 48 08 E2 A1 */ bl __as__6CTokenFRC6CToken +/* 802B2A28 002AF988 80 01 00 30 */ lwz r0, 0x30(r1) +/* 802B2A2C 002AF98C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802B2A30: +/* 802B2A30 002AF990 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B2A34 002AF994 38 80 00 00 */ li r4, 0 +/* 802B2A38 002AF998 48 08 E4 09 */ bl __dt__6CTokenFv +/* 802B2A3C 002AF99C 88 01 00 48 */ lbz r0, 0x48(r1) +/* 802B2A40 002AF9A0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2A44 002AF9A4 41 82 00 14 */ beq lbl_802B2A58 +/* 802B2A48 002AF9A8 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2A4C 002AF9AC 41 82 00 0C */ beq lbl_802B2A58 +/* 802B2A50 002AF9B0 38 80 00 00 */ li r4, 0 +/* 802B2A54 002AF9B4 48 08 E3 ED */ bl __dt__6CTokenFv +lbl_802B2A58: +/* 802B2A58 002AF9B8 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B2A5C 002AF9BC 38 80 00 00 */ li r4, 0 +/* 802B2A60 002AF9C0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802B2A64 002AF9C4 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2A68 002AF9C8 98 81 00 48 */ stb r4, 0x48(r1) +/* 802B2A6C 002AF9CC 7C 03 02 14 */ add r0, r3, r0 +/* 802B2A70 002AF9D0 7C 64 1B 78 */ mr r4, r3 +/* 802B2A74 002AF9D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2A78 002AF9D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B2A7C 002AF9DC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B2A80 002AF9E0 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B2A84 002AF9E4 48 00 00 08 */ b lbl_802B2A8C +lbl_802B2A88: +/* 802B2A88 002AF9E8 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2A8C: +/* 802B2A8C 002AF9EC 7C 04 00 40 */ cmplw r4, r0 +/* 802B2A90 002AF9F0 40 82 FF F8 */ bne lbl_802B2A88 +/* 802B2A94 002AF9F4 28 03 00 00 */ cmplwi r3, 0 +/* 802B2A98 002AF9F8 41 82 00 08 */ beq lbl_802B2AA0 +/* 802B2A9C 002AF9FC 48 06 2E 95 */ bl Free__7CMemoryFPCv +lbl_802B2AA0: +/* 802B2AA0 002AFA00 38 60 00 01 */ li r3, 1 +/* 802B2AA4 002AFA04 48 00 00 64 */ b lbl_802B2B08 +lbl_802B2AA8: +/* 802B2AA8 002AFA08 41 82 00 14 */ beq lbl_802B2ABC +/* 802B2AAC 002AFA0C 34 61 00 40 */ addic. r3, r1, 0x40 +/* 802B2AB0 002AFA10 41 82 00 0C */ beq lbl_802B2ABC +/* 802B2AB4 002AFA14 38 80 00 00 */ li r4, 0 +/* 802B2AB8 002AFA18 48 08 E3 89 */ bl __dt__6CTokenFv +lbl_802B2ABC: +/* 802B2ABC 002AFA1C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 802B2AC0 002AFA20 38 80 00 00 */ li r4, 0 +/* 802B2AC4 002AFA24 80 61 00 58 */ lwz r3, 0x58(r1) +/* 802B2AC8 002AFA28 54 00 10 3A */ slwi r0, r0, 2 +/* 802B2ACC 002AFA2C 98 81 00 48 */ stb r4, 0x48(r1) +/* 802B2AD0 002AFA30 7C 03 02 14 */ add r0, r3, r0 +/* 802B2AD4 002AFA34 7C 64 1B 78 */ mr r4, r3 +/* 802B2AD8 002AFA38 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2ADC 002AFA3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B2AE0 002AFA40 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B2AE4 002AFA44 90 61 00 08 */ stw r3, 8(r1) +/* 802B2AE8 002AFA48 48 00 00 08 */ b lbl_802B2AF0 +lbl_802B2AEC: +/* 802B2AEC 002AFA4C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B2AF0: +/* 802B2AF0 002AFA50 7C 04 00 40 */ cmplw r4, r0 +/* 802B2AF4 002AFA54 40 82 FF F8 */ bne lbl_802B2AEC +/* 802B2AF8 002AFA58 28 03 00 00 */ cmplwi r3, 0 +/* 802B2AFC 002AFA5C 41 82 00 08 */ beq lbl_802B2B04 +/* 802B2B00 002AFA60 48 06 2E 31 */ bl Free__7CMemoryFPCv +lbl_802B2B04: +/* 802B2B04 002AFA64 38 60 00 00 */ li r3, 0 +lbl_802B2B08: +/* 802B2B08 002AFA68 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B2B0C 002AFA6C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B2B10 002AFA70 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B2B14 002AFA74 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 802B2B18 002AFA78 7C 08 03 A6 */ mtlr r0 +/* 802B2B1C 002AFA7C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B2B20 002AFA80 4E 80 00 20 */ blr + +.global CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2B24 002AFA84 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B2B28 002AFA88 7C 08 02 A6 */ mflr r0 +/* 802B2B2C 002AFA8C 3C E0 80 3D */ lis r7, lbl_803D6508@ha +/* 802B2B30 002AFA90 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B2B34 002AFA94 38 00 00 0E */ li r0, 0xe +/* 802B2B38 002AFA98 38 E7 65 08 */ addi r7, r7, lbl_803D6508@l +/* 802B2B3C 002AFA9C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802B2B40 002AFAA0 3B E0 00 00 */ li r31, 0 +/* 802B2B44 002AFAA4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802B2B48 002AFAA8 7C DE 33 78 */ mr r30, r6 +/* 802B2B4C 002AFAAC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802B2B50 002AFAB0 7C BD 2B 78 */ mr r29, r5 +/* 802B2B54 002AFAB4 93 81 00 30 */ stw r28, 0x30(r1) +/* 802B2B58 002AFAB8 7C 7C 1B 78 */ mr r28, r3 +/* 802B2B5C 002AFABC 7C 09 03 A6 */ mtctr r0 +lbl_802B2B60: +/* 802B2B60 002AFAC0 80 07 00 00 */ lwz r0, 0(r7) +/* 802B2B64 002AFAC4 7C 04 00 40 */ cmplw r4, r0 +/* 802B2B68 002AFAC8 40 82 01 04 */ bne lbl_802B2C6C +/* 802B2B6C 002AFACC 7F A3 EB 78 */ mr r3, r29 +/* 802B2B70 002AFAD0 48 07 58 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2B74 002AFAD4 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B2B78 002AFAD8 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B2B7C 002AFADC 41 82 00 E8 */ beq lbl_802B2C64 +/* 802B2B80 002AFAE0 7F A3 EB 78 */ mr r3, r29 +/* 802B2B84 002AFAE4 48 08 C1 01 */ bl ReadLong__12CInputStreamFv +/* 802B2B88 002AFAE8 3C 80 44 50 */ lis r4, 0x44505343@ha +/* 802B2B8C 002AFAEC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B2B90 002AFAF0 38 04 53 43 */ addi r0, r4, 0x44505343@l +/* 802B2B94 002AFAF4 7F C4 F3 78 */ mr r4, r30 +/* 802B2B98 002AFAF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 802B2B9C 002AFAFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B2BA0 002AFB00 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802B2BA4 002AFB04 81 9E 00 00 */ lwz r12, 0(r30) +/* 802B2BA8 002AFB08 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B2BAC 002AFB0C 7D 89 03 A6 */ mtctr r12 +/* 802B2BB0 002AFB10 4E 80 04 21 */ bctrl +/* 802B2BB4 002AFB14 38 61 00 08 */ addi r3, r1, 8 +/* 802B2BB8 002AFB18 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B2BBC 002AFB1C 48 08 E2 ED */ bl __ct__6CTokenFRC6CToken +/* 802B2BC0 002AFB20 3B A1 00 20 */ addi r29, r1, 0x20 +/* 802B2BC4 002AFB24 38 81 00 08 */ addi r4, r1, 8 +/* 802B2BC8 002AFB28 7F A3 EB 78 */ mr r3, r29 +/* 802B2BCC 002AFB2C 48 08 E2 DD */ bl __ct__6CTokenFRC6CToken +/* 802B2BD0 002AFB30 7F A3 EB 78 */ mr r3, r29 +/* 802B2BD4 002AFB34 48 08 E2 39 */ bl GetObj__6CTokenFv +/* 802B2BD8 002AFB38 80 63 00 04 */ lwz r3, 4(r3) +/* 802B2BDC 002AFB3C 57 E0 20 36 */ slwi r0, r31, 4 +/* 802B2BE0 002AFB40 90 61 00 28 */ stw r3, 0x28(r1) +/* 802B2BE4 002AFB44 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 802B2BE8 002AFB48 7F E3 02 14 */ add r31, r3, r0 +/* 802B2BEC 002AFB4C 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 802B2BF0 002AFB50 28 00 00 00 */ cmplwi r0, 0 +/* 802B2BF4 002AFB54 40 82 00 38 */ bne lbl_802B2C2C +/* 802B2BF8 002AFB58 28 1F 00 00 */ cmplwi r31, 0 +/* 802B2BFC 002AFB5C 41 82 00 24 */ beq lbl_802B2C20 +/* 802B2C00 002AFB60 7F FC FB 78 */ mr r28, r31 +/* 802B2C04 002AFB64 7F E3 FB 78 */ mr r3, r31 +/* 802B2C08 002AFB68 7F A4 EB 78 */ mr r4, r29 +/* 802B2C0C 002AFB6C 48 08 E2 9D */ bl __ct__6CTokenFRC6CToken +/* 802B2C10 002AFB70 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802B2C14 002AFB74 7F 83 E3 78 */ mr r3, r28 +/* 802B2C18 002AFB78 90 1C 00 08 */ stw r0, 8(r28) +/* 802B2C1C 002AFB7C 48 08 E1 69 */ bl Lock__6CTokenFv +lbl_802B2C20: +/* 802B2C20 002AFB80 38 00 00 01 */ li r0, 1 +/* 802B2C24 002AFB84 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B2C28 002AFB88 48 00 00 18 */ b lbl_802B2C40 +lbl_802B2C2C: +/* 802B2C2C 002AFB8C 7F E3 FB 78 */ mr r3, r31 +/* 802B2C30 002AFB90 7F A4 EB 78 */ mr r4, r29 +/* 802B2C34 002AFB94 48 08 E0 91 */ bl __as__6CTokenFRC6CToken +/* 802B2C38 002AFB98 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802B2C3C 002AFB9C 90 1F 00 08 */ stw r0, 8(r31) +lbl_802B2C40: +/* 802B2C40 002AFBA0 38 61 00 20 */ addi r3, r1, 0x20 +/* 802B2C44 002AFBA4 38 80 00 00 */ li r4, 0 +/* 802B2C48 002AFBA8 48 08 E1 F9 */ bl __dt__6CTokenFv +/* 802B2C4C 002AFBAC 38 61 00 08 */ addi r3, r1, 8 +/* 802B2C50 002AFBB0 38 80 00 00 */ li r4, 0 +/* 802B2C54 002AFBB4 48 08 E1 ED */ bl __dt__6CTokenFv +/* 802B2C58 002AFBB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B2C5C 002AFBBC 38 80 FF FF */ li r4, -1 +/* 802B2C60 002AFBC0 48 08 E1 E1 */ bl __dt__6CTokenFv +lbl_802B2C64: +/* 802B2C64 002AFBC4 38 60 00 01 */ li r3, 1 +/* 802B2C68 002AFBC8 48 00 00 14 */ b lbl_802B2C7C +lbl_802B2C6C: +/* 802B2C6C 002AFBCC 38 E7 00 04 */ addi r7, r7, 4 +/* 802B2C70 002AFBD0 3B FF 00 01 */ addi r31, r31, 1 +/* 802B2C74 002AFBD4 42 00 FE EC */ bdnz lbl_802B2B60 +/* 802B2C78 002AFBD8 38 60 00 00 */ li r3, 0 +lbl_802B2C7C: +/* 802B2C7C 002AFBDC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B2C80 002AFBE0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802B2C84 002AFBE4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802B2C88 002AFBE8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802B2C8C 002AFBEC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802B2C90 002AFBF0 7C 08 03 A6 */ mtlr r0 +/* 802B2C94 002AFBF4 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B2C98 002AFBF8 4E 80 00 20 */ blr + +.global CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream +CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream: +/* 802B2C9C 002AFBFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2CA0 002AFC00 7C 08 02 A6 */ mflr r0 +/* 802B2CA4 002AFC04 3C C0 80 3D */ lis r6, lbl_803D6390@ha +/* 802B2CA8 002AFC08 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2CAC 002AFC0C 38 00 00 5E */ li r0, 0x5e +/* 802B2CB0 002AFC10 38 C6 63 90 */ addi r6, r6, lbl_803D6390@l +/* 802B2CB4 002AFC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2CB8 002AFC18 3B E0 00 00 */ li r31, 0 +/* 802B2CBC 002AFC1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2CC0 002AFC20 7C BE 2B 78 */ mr r30, r5 +/* 802B2CC4 002AFC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B2CC8 002AFC28 7C 7D 1B 78 */ mr r29, r3 +/* 802B2CCC 002AFC2C 7C 09 03 A6 */ mtctr r0 +lbl_802B2CD0: +/* 802B2CD0 002AFC30 80 06 00 00 */ lwz r0, 0(r6) +/* 802B2CD4 002AFC34 7C 04 00 40 */ cmplw r4, r0 +/* 802B2CD8 002AFC38 40 82 00 34 */ bne lbl_802B2D0C +/* 802B2CDC 002AFC3C 7F C3 F3 78 */ mr r3, r30 +/* 802B2CE0 002AFC40 48 07 57 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2CE4 002AFC44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B2CE8 002AFC48 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B2CEC 002AFC4C 41 82 00 18 */ beq lbl_802B2D04 +/* 802B2CF0 002AFC50 7F C3 F3 78 */ mr r3, r30 +/* 802B2CF4 002AFC54 48 08 BF 91 */ bl ReadLong__12CInputStreamFv +/* 802B2CF8 002AFC58 80 9D 00 1C */ lwz r4, 0x1c(r29) +/* 802B2CFC 002AFC5C 57 E0 10 3A */ slwi r0, r31, 2 +/* 802B2D00 002AFC60 7C 64 01 2E */ stwx r3, r4, r0 +lbl_802B2D04: +/* 802B2D04 002AFC64 38 60 00 01 */ li r3, 1 +/* 802B2D08 002AFC68 48 00 00 14 */ b lbl_802B2D1C +lbl_802B2D0C: +/* 802B2D0C 002AFC6C 38 C6 00 04 */ addi r6, r6, 4 +/* 802B2D10 002AFC70 3B FF 00 01 */ addi r31, r31, 1 +/* 802B2D14 002AFC74 42 00 FF BC */ bdnz lbl_802B2CD0 +/* 802B2D18 002AFC78 38 60 00 00 */ li r3, 0 +lbl_802B2D1C: +/* 802B2D1C 002AFC7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2D20 002AFC80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B2D24 002AFC84 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B2D28 002AFC88 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B2D2C 002AFC8C 7C 08 03 A6 */ mtlr r0 +/* 802B2D30 002AFC90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B2D34 002AFC94 4E 80 00 20 */ blr + +.global CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2D38 002AFC98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2D3C 002AFC9C 7C 08 02 A6 */ mflr r0 +/* 802B2D40 002AFCA0 3C E0 80 3D */ lis r7, lbl_803D6218@ha +/* 802B2D44 002AFCA4 39 00 00 00 */ li r8, 0 +/* 802B2D48 002AFCA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B2D4C 002AFCAC 38 00 00 5E */ li r0, 0x5e +/* 802B2D50 002AFCB0 38 E7 62 18 */ addi r7, r7, lbl_803D6218@l +/* 802B2D54 002AFCB4 7C 09 03 A6 */ mtctr r0 +lbl_802B2D58: +/* 802B2D58 002AFCB8 80 07 00 00 */ lwz r0, 0(r7) +/* 802B2D5C 002AFCBC 7C 04 00 40 */ cmplw r4, r0 +/* 802B2D60 002AFCC0 40 82 00 14 */ bne lbl_802B2D74 +/* 802B2D64 002AFCC4 7D 04 43 78 */ mr r4, r8 +/* 802B2D68 002AFCC8 4B FF FB B5 */ bl AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool +/* 802B2D6C 002AFCCC 38 60 00 01 */ li r3, 1 +/* 802B2D70 002AFCD0 48 00 00 14 */ b lbl_802B2D84 +lbl_802B2D74: +/* 802B2D74 002AFCD4 38 E7 00 04 */ addi r7, r7, 4 +/* 802B2D78 002AFCD8 39 08 00 01 */ addi r8, r8, 1 +/* 802B2D7C 002AFCDC 42 00 FF DC */ bdnz lbl_802B2D58 +/* 802B2D80 002AFCE0 38 60 00 00 */ li r3, 0 +lbl_802B2D84: +/* 802B2D84 002AFCE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B2D88 002AFCE8 7C 08 03 A6 */ mtlr r0 +/* 802B2D8C 002AFCEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2D90 002AFCF0 4E 80 00 20 */ blr + +.global CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: +/* 802B2D94 002AFCF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B2D98 002AFCF8 7C 08 02 A6 */ mflr r0 +/* 802B2D9C 002AFCFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B2DA0 002AFD00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B2DA4 002AFD04 7C DF 33 78 */ mr r31, r6 +/* 802B2DA8 002AFD08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B2DAC 002AFD0C 7C BE 2B 78 */ mr r30, r5 +/* 802B2DB0 002AFD10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B2DB4 002AFD14 7C 9D 23 78 */ mr r29, r4 +/* 802B2DB8 002AFD18 93 81 00 10 */ stw r28, 0x10(r1) +/* 802B2DBC 002AFD1C 7C 7C 1B 78 */ mr r28, r3 +/* 802B2DC0 002AFD20 4B FF FF 79 */ bl CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2DC4 002AFD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2DC8 002AFD28 41 82 00 0C */ beq lbl_802B2DD4 +/* 802B2DCC 002AFD2C 38 60 00 01 */ li r3, 1 +/* 802B2DD0 002AFD30 48 00 00 48 */ b lbl_802B2E18 +lbl_802B2DD4: +/* 802B2DD4 002AFD34 7F 83 E3 78 */ mr r3, r28 +/* 802B2DD8 002AFD38 7F A4 EB 78 */ mr r4, r29 +/* 802B2DDC 002AFD3C 7F C5 F3 78 */ mr r5, r30 +/* 802B2DE0 002AFD40 4B FF FE BD */ bl CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream +/* 802B2DE4 002AFD44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2DE8 002AFD48 41 82 00 0C */ beq lbl_802B2DF4 +/* 802B2DEC 002AFD4C 38 60 00 01 */ li r3, 1 +/* 802B2DF0 002AFD50 48 00 00 28 */ b lbl_802B2E18 +lbl_802B2DF4: +/* 802B2DF4 002AFD54 7F 83 E3 78 */ mr r3, r28 +/* 802B2DF8 002AFD58 7F A4 EB 78 */ mr r4, r29 +/* 802B2DFC 002AFD5C 7F C5 F3 78 */ mr r5, r30 +/* 802B2E00 002AFD60 7F E6 FB 78 */ mr r6, r31 +/* 802B2E04 002AFD64 4B FF FD 21 */ bl CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2E08 002AFD68 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 802B2E0C 002AFD6C 7C 03 00 D0 */ neg r0, r3 +/* 802B2E10 002AFD70 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2E14 002AFD74 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_802B2E18: +/* 802B2E18 002AFD78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B2E1C 002AFD7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B2E20 002AFD80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B2E24 002AFD84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B2E28 002AFD88 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802B2E2C 002AFD8C 7C 08 03 A6 */ mtlr r0 +/* 802B2E30 002AFD90 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B2E34 002AFD94 4E 80 00 20 */ blr + +.global __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool +__ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool: +/* 802B2E38 002AFD98 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802B2E3C 002AFD9C 7C 08 02 A6 */ mflr r0 +/* 802B2E40 002AFDA0 C0 22 C2 44 */ lfs f1, lbl_805ADF64@sda21(r2) +/* 802B2E44 002AFDA4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B2E48 002AFDA8 38 00 00 00 */ li r0, 0 +/* 802B2E4C 002AFDAC C0 02 C2 48 */ lfs f0, lbl_805ADF68@sda21(r2) +/* 802B2E50 002AFDB0 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 802B2E54 002AFDB4 7C 9D 23 78 */ mr r29, r4 +/* 802B2E58 002AFDB8 7C BE 2B 78 */ mr r30, r5 +/* 802B2E5C 002AFDBC 7C 7C 1B 78 */ mr r28, r3 +/* 802B2E60 002AFDC0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802B2E64 002AFDC4 3B E0 00 00 */ li r31, 0 +/* 802B2E68 002AFDC8 38 80 00 5E */ li r4, 0x5e +/* 802B2E6C 002AFDCC 90 03 00 04 */ stw r0, 4(r3) +/* 802B2E70 002AFDD0 90 03 00 08 */ stw r0, 8(r3) +/* 802B2E74 002AFDD4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802B2E78 002AFDD8 90 03 00 14 */ stw r0, 0x14(r3) +/* 802B2E7C 002AFDDC 90 03 00 18 */ stw r0, 0x18(r3) +/* 802B2E80 002AFDE0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802B2E84 002AFDE4 90 03 00 24 */ stw r0, 0x24(r3) +/* 802B2E88 002AFDE8 90 03 00 28 */ stw r0, 0x28(r3) +/* 802B2E8C 002AFDEC 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802B2E90 002AFDF0 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 802B2E94 002AFDF4 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802B2E98 002AFDF8 98 01 00 28 */ stb r0, 0x28(r1) +/* 802B2E9C 002AFDFC 48 00 04 0D */ bl "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B2EA0 002AFE00 88 01 00 28 */ lbz r0, 0x28(r1) +/* 802B2EA4 002AFE04 28 00 00 00 */ cmplwi r0, 0 +/* 802B2EA8 002AFE08 41 82 00 1C */ beq lbl_802B2EC4 +/* 802B2EAC 002AFE0C 34 61 00 1C */ addic. r3, r1, 0x1c +/* 802B2EB0 002AFE10 41 82 00 14 */ beq lbl_802B2EC4 +/* 802B2EB4 002AFE14 28 03 00 00 */ cmplwi r3, 0 +/* 802B2EB8 002AFE18 41 82 00 0C */ beq lbl_802B2EC4 +/* 802B2EBC 002AFE1C 38 80 00 00 */ li r4, 0 +/* 802B2EC0 002AFE20 48 08 DF 81 */ bl __dt__6CTokenFv +lbl_802B2EC4: +/* 802B2EC4 002AFE24 38 00 00 00 */ li r0, 0 +/* 802B2EC8 002AFE28 38 7C 00 10 */ addi r3, r28, 0x10 +/* 802B2ECC 002AFE2C 98 01 00 28 */ stb r0, 0x28(r1) +/* 802B2ED0 002AFE30 38 80 00 5E */ li r4, 0x5e +/* 802B2ED4 002AFE34 38 A2 C2 40 */ addi r5, r2, lbl_805ADF60@sda21 +/* 802B2ED8 002AFE38 48 00 02 E1 */ bl "resize__Q24rstl36vectorFi" +/* 802B2EDC 002AFE3C 38 00 00 00 */ li r0, 0 +/* 802B2EE0 002AFE40 38 7C 00 20 */ addi r3, r28, 0x20 +/* 802B2EE4 002AFE44 98 01 00 18 */ stb r0, 0x18(r1) +/* 802B2EE8 002AFE48 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B2EEC 002AFE4C 38 80 00 5E */ li r4, 0x5e +/* 802B2EF0 002AFE50 48 00 01 49 */ bl "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B2EF4 002AFE54 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802B2EF8 002AFE58 28 00 00 00 */ cmplwi r0, 0 +/* 802B2EFC 002AFE5C 41 82 00 1C */ beq lbl_802B2F18 +/* 802B2F00 002AFE60 34 61 00 0C */ addic. r3, r1, 0xc +/* 802B2F04 002AFE64 41 82 00 14 */ beq lbl_802B2F18 +/* 802B2F08 002AFE68 28 03 00 00 */ cmplwi r3, 0 +/* 802B2F0C 002AFE6C 41 82 00 0C */ beq lbl_802B2F18 +/* 802B2F10 002AFE70 38 80 00 00 */ li r4, 0 +/* 802B2F14 002AFE74 48 08 DF 2D */ bl __dt__6CTokenFv +lbl_802B2F18: +/* 802B2F18 002AFE78 38 00 00 00 */ li r0, 0 +/* 802B2F1C 002AFE7C 7F A3 EB 78 */ mr r3, r29 +/* 802B2F20 002AFE80 98 01 00 18 */ stb r0, 0x18(r1) +/* 802B2F24 002AFE84 48 07 55 39 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2F28 002AFE88 3C 03 BC AE */ addis r0, r3, 0xbcae +/* 802B2F2C 002AFE8C 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B2F30 002AFE90 41 82 00 0C */ beq lbl_802B2F3C +/* 802B2F34 002AFE94 7F 83 E3 78 */ mr r3, r28 +/* 802B2F38 002AFE98 48 00 00 EC */ b lbl_802B3024 +lbl_802B2F3C: +/* 802B2F3C 002AFE9C 38 61 00 08 */ addi r3, r1, 8 +/* 802B2F40 002AFEA0 38 80 00 63 */ li r4, 0x63 +/* 802B2F44 002AFEA4 48 05 F6 A9 */ bl __ct__9CRandom16FUi +/* 802B2F48 002AFEA8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B2F4C 002AFEAC 38 81 00 08 */ addi r4, r1, 8 +/* 802B2F50 002AFEB0 48 05 F7 31 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B2F54 002AFEB4 48 00 00 B8 */ b lbl_802B300C +lbl_802B2F58: +/* 802B2F58 002AFEB8 7F A3 EB 78 */ mr r3, r29 +/* 802B2F5C 002AFEBC 48 07 55 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2F60 002AFEC0 7C 60 1B 78 */ mr r0, r3 +/* 802B2F64 002AFEC4 7F 83 E3 78 */ mr r3, r28 +/* 802B2F68 002AFEC8 7C 1B 03 78 */ mr r27, r0 +/* 802B2F6C 002AFECC 7F A5 EB 78 */ mr r5, r29 +/* 802B2F70 002AFED0 7F 64 DB 78 */ mr r4, r27 +/* 802B2F74 002AFED4 7F C6 F3 78 */ mr r6, r30 +/* 802B2F78 002AFED8 4B FF FE 1D */ bl CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool +/* 802B2F7C 002AFEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B2F80 002AFEE0 40 82 00 8C */ bne lbl_802B300C +/* 802B2F84 002AFEE4 3C 60 52 4E */ lis r3, 0x524E4745@ha +/* 802B2F88 002AFEE8 38 03 47 45 */ addi r0, r3, 0x524E4745@l +/* 802B2F8C 002AFEEC 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2F90 002AFEF0 41 82 00 30 */ beq lbl_802B2FC0 +/* 802B2F94 002AFEF4 40 80 00 18 */ bge lbl_802B2FAC +/* 802B2F98 002AFEF8 3C 60 46 4F */ lis r3, 0x464F4646@ha +/* 802B2F9C 002AFEFC 38 03 46 46 */ addi r0, r3, 0x464F4646@l +/* 802B2FA0 002AFF00 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2FA4 002AFF04 41 82 00 34 */ beq lbl_802B2FD8 +/* 802B2FA8 002AFF08 48 00 00 50 */ b lbl_802B2FF8 +lbl_802B2FAC: +/* 802B2FAC 002AFF0C 3C 60 5F 45 */ lis r3, 0x5F454E44@ha +/* 802B2FB0 002AFF10 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l +/* 802B2FB4 002AFF14 7C 1B 00 00 */ cmpw r27, r0 +/* 802B2FB8 002AFF18 41 82 00 38 */ beq lbl_802B2FF0 +/* 802B2FBC 002AFF1C 48 00 00 3C */ b lbl_802B2FF8 +lbl_802B2FC0: +/* 802B2FC0 002AFF20 7F A3 EB 78 */ mr r3, r29 +/* 802B2FC4 002AFF24 48 07 54 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2FC8 002AFF28 7F A3 EB 78 */ mr r3, r29 +/* 802B2FCC 002AFF2C 48 07 54 1D */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 802B2FD0 002AFF30 D0 3C 00 30 */ stfs f1, 0x30(r28) +/* 802B2FD4 002AFF34 48 00 00 38 */ b lbl_802B300C +lbl_802B2FD8: +/* 802B2FD8 002AFF38 7F A3 EB 78 */ mr r3, r29 +/* 802B2FDC 002AFF3C 48 07 54 81 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B2FE0 002AFF40 7F A3 EB 78 */ mr r3, r29 +/* 802B2FE4 002AFF44 48 07 54 05 */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 802B2FE8 002AFF48 D0 3C 00 34 */ stfs f1, 0x34(r28) +/* 802B2FEC 002AFF4C 48 00 00 20 */ b lbl_802B300C +lbl_802B2FF0: +/* 802B2FF0 002AFF50 3B E0 00 01 */ li r31, 1 +/* 802B2FF4 002AFF54 48 00 00 18 */ b lbl_802B300C +lbl_802B2FF8: +/* 802B2FF8 002AFF58 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B2FFC 002AFF5C 38 80 FF FF */ li r4, -1 +/* 802B3000 002AFF60 48 05 F6 05 */ bl __dt__13CGlobalRandomFv +/* 802B3004 002AFF64 7F 83 E3 78 */ mr r3, r28 +/* 802B3008 002AFF68 48 00 00 1C */ b lbl_802B3024 +lbl_802B300C: +/* 802B300C 002AFF6C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B3010 002AFF70 41 82 FF 48 */ beq lbl_802B2F58 +/* 802B3014 002AFF74 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B3018 002AFF78 38 80 FF FF */ li r4, -1 +/* 802B301C 002AFF7C 48 05 F5 E9 */ bl __dt__13CGlobalRandomFv +/* 802B3020 002AFF80 7F 83 E3 78 */ mr r3, r28 +lbl_802B3024: +/* 802B3024 002AFF84 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 802B3028 002AFF88 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802B302C 002AFF8C 7C 08 03 A6 */ mtlr r0 +/* 802B3030 002AFF90 38 21 00 50 */ addi r1, r1, 0x50 +/* 802B3034 002AFF94 4E 80 00 20 */ blr + +.global "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +"resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3038 002AFF98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B303C 002AFF9C 7C 08 02 A6 */ mflr r0 +/* 802B3040 002AFFA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B3044 002AFFA4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B3048 002AFFA8 7C 7B 1B 78 */ mr r27, r3 +/* 802B304C 002AFFAC 7C 9C 23 78 */ mr r28, r4 +/* 802B3050 002AFFB0 7C BD 2B 78 */ mr r29, r5 +/* 802B3054 002AFFB4 48 00 00 B9 */ bl sub_802b310c +/* 802B3058 002AFFB8 7F 63 DB 78 */ mr r3, r27 +/* 802B305C 002AFFBC 7F 84 E3 78 */ mr r4, r28 +/* 802B3060 002AFFC0 48 00 05 09 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B3064 002AFFC4 3B C0 00 00 */ li r30, 0 +/* 802B3068 002AFFC8 48 00 00 88 */ b lbl_802B30F0 +lbl_802B306C: +/* 802B306C 002AFFCC 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3070 002AFFD0 80 BB 00 08 */ lwz r5, 8(r27) +/* 802B3074 002AFFD4 7C 00 28 00 */ cmpw r0, r5 +/* 802B3078 002AFFD8 41 80 00 1C */ blt lbl_802B3094 +/* 802B307C 002AFFDC 2C 05 00 00 */ cmpwi r5, 0 +/* 802B3080 002AFFE0 7F 63 DB 78 */ mr r3, r27 +/* 802B3084 002AFFE4 38 80 00 04 */ li r4, 4 +/* 802B3088 002AFFE8 41 82 00 08 */ beq lbl_802B3090 +/* 802B308C 002AFFEC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3090: +/* 802B3090 002AFFF0 48 00 04 D9 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +lbl_802B3094: +/* 802B3094 002AFFF4 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3098 002AFFF8 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B309C 002AFFFC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B30A0 002B0000 7F E3 02 15 */ add. r31, r3, r0 +/* 802B30A4 002B0004 41 82 00 3C */ beq lbl_802B30E0 +/* 802B30A8 002B0008 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B30AC 002B000C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B30B0 002B0010 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B30B4 002B0014 28 00 00 00 */ cmplwi r0, 0 +/* 802B30B8 002B0018 41 82 00 28 */ beq lbl_802B30E0 +/* 802B30BC 002B001C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B30C0 002B0020 41 82 00 20 */ beq lbl_802B30E0 +/* 802B30C4 002B0024 7F E3 FB 78 */ mr r3, r31 +/* 802B30C8 002B0028 7F A4 EB 78 */ mr r4, r29 +/* 802B30CC 002B002C 48 08 DD DD */ bl __ct__6CTokenFRC6CToken +/* 802B30D0 002B0030 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B30D4 002B0034 7F E3 FB 78 */ mr r3, r31 +/* 802B30D8 002B0038 90 1F 00 08 */ stw r0, 8(r31) +/* 802B30DC 002B003C 48 08 DC A9 */ bl Lock__6CTokenFv +lbl_802B30E0: +/* 802B30E0 002B0040 80 7B 00 04 */ lwz r3, 4(r27) +/* 802B30E4 002B0044 3B DE 00 01 */ addi r30, r30, 1 +/* 802B30E8 002B0048 38 03 00 01 */ addi r0, r3, 1 +/* 802B30EC 002B004C 90 1B 00 04 */ stw r0, 4(r27) +lbl_802B30F0: +/* 802B30F0 002B0050 7C 1E E0 00 */ cmpw r30, r28 +/* 802B30F4 002B0054 41 80 FF 78 */ blt lbl_802B306C +/* 802B30F8 002B0058 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B30FC 002B005C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3100 002B0060 7C 08 03 A6 */ mtlr r0 +/* 802B3104 002B0064 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B3108 002B0068 4E 80 00 20 */ blr + +.global sub_802b310c +sub_802b310c: +/* 802B310C 002B006C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B3110 002B0070 7C 08 02 A6 */ mflr r0 +/* 802B3114 002B0074 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3118 002B0078 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B311C 002B007C 3B E0 00 00 */ li r31, 0 +/* 802B3120 002B0080 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B3124 002B0084 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B3128 002B0088 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B312C 002B008C 7C 7C 1B 78 */ mr r28, r3 +/* 802B3130 002B0090 80 03 00 04 */ lwz r0, 4(r3) +/* 802B3134 002B0094 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 802B3138 002B0098 54 00 20 36 */ slwi r0, r0, 4 +/* 802B313C 002B009C 7F DD 02 14 */ add r30, r29, r0 +/* 802B3140 002B00A0 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B3144 002B00A4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B3148 002B00A8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B314C 002B00AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B3150 002B00B0 48 00 00 38 */ b lbl_802B3188 +lbl_802B3154: +/* 802B3154 002B00B4 28 1D 00 00 */ cmplwi r29, 0 +/* 802B3158 002B00B8 41 82 00 2C */ beq lbl_802B3184 +/* 802B315C 002B00BC 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B3160 002B00C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3164 002B00C4 41 82 00 1C */ beq lbl_802B3180 +/* 802B3168 002B00C8 28 1D 00 00 */ cmplwi r29, 0 +/* 802B316C 002B00CC 41 82 00 14 */ beq lbl_802B3180 +/* 802B3170 002B00D0 41 82 00 10 */ beq lbl_802B3180 +/* 802B3174 002B00D4 7F A3 EB 78 */ mr r3, r29 +/* 802B3178 002B00D8 38 80 00 00 */ li r4, 0 +/* 802B317C 002B00DC 48 08 DC C5 */ bl __dt__6CTokenFv +lbl_802B3180: +/* 802B3180 002B00E0 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B3184: +/* 802B3184 002B00E4 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B3188: +/* 802B3188 002B00E8 7C 1D F0 40 */ cmplw r29, r30 +/* 802B318C 002B00EC 40 82 FF C8 */ bne lbl_802B3154 +/* 802B3190 002B00F0 38 00 00 00 */ li r0, 0 +/* 802B3194 002B00F4 90 1C 00 04 */ stw r0, 4(r28) +/* 802B3198 002B00F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B319C 002B00FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B31A0 002B0100 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B31A4 002B0104 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B31A8 002B0108 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B31AC 002B010C 7C 08 03 A6 */ mtlr r0 +/* 802B31B0 002B0110 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B31B4 002B0114 4E 80 00 20 */ blr + +.global "resize__Q24rstl36vectorFi" +"resize__Q24rstl36vectorFi": +/* 802B31B8 002B0118 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B31BC 002B011C 7C 08 02 A6 */ mflr r0 +/* 802B31C0 002B0120 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B31C4 002B0124 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B31C8 002B0128 7C BF 2B 78 */ mr r31, r5 +/* 802B31CC 002B012C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B31D0 002B0130 7C 9E 23 78 */ mr r30, r4 +/* 802B31D4 002B0134 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B31D8 002B0138 7C 7D 1B 78 */ mr r29, r3 +/* 802B31DC 002B013C 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B31E0 002B0140 80 03 00 04 */ lwz r0, 4(r3) +/* 802B31E4 002B0144 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802B31E8 002B0148 54 00 10 3A */ slwi r0, r0, 2 +/* 802B31EC 002B014C 7C 03 02 14 */ add r0, r3, r0 +/* 802B31F0 002B0150 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B31F4 002B0154 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B31F8 002B0158 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B31FC 002B015C 90 61 00 08 */ stw r3, 8(r1) +/* 802B3200 002B0160 48 00 00 08 */ b lbl_802B3208 +lbl_802B3204: +/* 802B3204 002B0164 38 63 00 04 */ addi r3, r3, 4 +lbl_802B3208: +/* 802B3208 002B0168 7C 03 00 40 */ cmplw r3, r0 +/* 802B320C 002B016C 40 82 FF F8 */ bne lbl_802B3204 +/* 802B3210 002B0170 38 00 00 00 */ li r0, 0 +/* 802B3214 002B0174 7F A3 EB 78 */ mr r3, r29 +/* 802B3218 002B0178 90 1D 00 04 */ stw r0, 4(r29) +/* 802B321C 002B017C 7F C4 F3 78 */ mr r4, r30 +/* 802B3220 002B0180 4B DA 6A 89 */ bl "reserve__Q24rstl36vectorFi" +/* 802B3224 002B0184 3B 80 00 00 */ li r28, 0 +/* 802B3228 002B0188 48 00 00 58 */ b lbl_802B3280 +lbl_802B322C: +/* 802B322C 002B018C 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B3230 002B0190 80 BD 00 08 */ lwz r5, 8(r29) +/* 802B3234 002B0194 7C 00 28 00 */ cmpw r0, r5 +/* 802B3238 002B0198 41 80 00 1C */ blt lbl_802B3254 +/* 802B323C 002B019C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B3240 002B01A0 7F A3 EB 78 */ mr r3, r29 +/* 802B3244 002B01A4 38 80 00 04 */ li r4, 4 +/* 802B3248 002B01A8 41 82 00 08 */ beq lbl_802B3250 +/* 802B324C 002B01AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3250: +/* 802B3250 002B01B0 4B DA 6A 59 */ bl "reserve__Q24rstl36vectorFi" +lbl_802B3254: +/* 802B3254 002B01B4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802B3258 002B01B8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802B325C 002B01BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802B3260 002B01C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802B3264 002B01C4 41 82 00 0C */ beq lbl_802B3270 +/* 802B3268 002B01C8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802B326C 002B01CC 90 03 00 00 */ stw r0, 0(r3) +lbl_802B3270: +/* 802B3270 002B01D0 80 7D 00 04 */ lwz r3, 4(r29) +/* 802B3274 002B01D4 3B 9C 00 01 */ addi r28, r28, 1 +/* 802B3278 002B01D8 38 03 00 01 */ addi r0, r3, 1 +/* 802B327C 002B01DC 90 1D 00 04 */ stw r0, 4(r29) +lbl_802B3280: +/* 802B3280 002B01E0 7C 1C F0 00 */ cmpw r28, r30 +/* 802B3284 002B01E4 41 80 FF A8 */ blt lbl_802B322C +/* 802B3288 002B01E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B328C 002B01EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B3290 002B01F0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B3294 002B01F4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B3298 002B01F8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B329C 002B01FC 7C 08 03 A6 */ mtlr r0 +/* 802B32A0 002B0200 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B32A4 002B0204 4E 80 00 20 */ blr + +.global "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +"resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B32A8 002B0208 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B32AC 002B020C 7C 08 02 A6 */ mflr r0 +/* 802B32B0 002B0210 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B32B4 002B0214 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802B32B8 002B0218 7C 7B 1B 78 */ mr r27, r3 +/* 802B32BC 002B021C 7C 9C 23 78 */ mr r28, r4 +/* 802B32C0 002B0220 7C BD 2B 78 */ mr r29, r5 +/* 802B32C4 002B0224 48 00 00 B9 */ bl "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" +/* 802B32C8 002B0228 7F 63 DB 78 */ mr r3, r27 +/* 802B32CC 002B022C 7F 84 E3 78 */ mr r4, r28 +/* 802B32D0 002B0230 48 00 01 59 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +/* 802B32D4 002B0234 3B C0 00 00 */ li r30, 0 +/* 802B32D8 002B0238 48 00 00 88 */ b lbl_802B3360 +lbl_802B32DC: +/* 802B32DC 002B023C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B32E0 002B0240 80 BB 00 08 */ lwz r5, 8(r27) +/* 802B32E4 002B0244 7C 00 28 00 */ cmpw r0, r5 +/* 802B32E8 002B0248 41 80 00 1C */ blt lbl_802B3304 +/* 802B32EC 002B024C 2C 05 00 00 */ cmpwi r5, 0 +/* 802B32F0 002B0250 7F 63 DB 78 */ mr r3, r27 +/* 802B32F4 002B0254 38 80 00 04 */ li r4, 4 +/* 802B32F8 002B0258 41 82 00 08 */ beq lbl_802B3300 +/* 802B32FC 002B025C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802B3300: +/* 802B3300 002B0260 48 00 01 29 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +lbl_802B3304: +/* 802B3304 002B0264 80 1B 00 04 */ lwz r0, 4(r27) +/* 802B3308 002B0268 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802B330C 002B026C 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3310 002B0270 7F E3 02 15 */ add. r31, r3, r0 +/* 802B3314 002B0274 41 82 00 3C */ beq lbl_802B3350 +/* 802B3318 002B0278 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B331C 002B027C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 802B3320 002B0280 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B3324 002B0284 28 00 00 00 */ cmplwi r0, 0 +/* 802B3328 002B0288 41 82 00 28 */ beq lbl_802B3350 +/* 802B332C 002B028C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B3330 002B0290 41 82 00 20 */ beq lbl_802B3350 +/* 802B3334 002B0294 7F E3 FB 78 */ mr r3, r31 +/* 802B3338 002B0298 7F A4 EB 78 */ mr r4, r29 +/* 802B333C 002B029C 48 08 DB 6D */ bl __ct__6CTokenFRC6CToken +/* 802B3340 002B02A0 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B3344 002B02A4 7F E3 FB 78 */ mr r3, r31 +/* 802B3348 002B02A8 90 1F 00 08 */ stw r0, 8(r31) +/* 802B334C 002B02AC 48 08 DA 39 */ bl Lock__6CTokenFv +lbl_802B3350: +/* 802B3350 002B02B0 80 7B 00 04 */ lwz r3, 4(r27) +/* 802B3354 002B02B4 3B DE 00 01 */ addi r30, r30, 1 +/* 802B3358 002B02B8 38 03 00 01 */ addi r0, r3, 1 +/* 802B335C 002B02BC 90 1B 00 04 */ stw r0, 4(r27) +lbl_802B3360: +/* 802B3360 002B02C0 7C 1E E0 00 */ cmpw r30, r28 +/* 802B3364 002B02C4 41 80 FF 78 */ blt lbl_802B32DC +/* 802B3368 002B02C8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802B336C 002B02CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3370 002B02D0 7C 08 03 A6 */ mtlr r0 +/* 802B3374 002B02D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B3378 002B02D8 4E 80 00 20 */ blr + +.global "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" +"clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv": +/* 802B337C 002B02DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B3380 002B02E0 7C 08 02 A6 */ mflr r0 +/* 802B3384 002B02E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3388 002B02E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B338C 002B02EC 3B E0 00 00 */ li r31, 0 +/* 802B3390 002B02F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B3394 002B02F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B3398 002B02F8 93 81 00 20 */ stw r28, 0x20(r1) +/* 802B339C 002B02FC 7C 7C 1B 78 */ mr r28, r3 +/* 802B33A0 002B0300 80 03 00 04 */ lwz r0, 4(r3) +/* 802B33A4 002B0304 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 802B33A8 002B0308 54 00 20 36 */ slwi r0, r0, 4 +/* 802B33AC 002B030C 7F DD 02 14 */ add r30, r29, r0 +/* 802B33B0 002B0310 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802B33B4 002B0314 93 C1 00 08 */ stw r30, 8(r1) +/* 802B33B8 002B0318 93 C1 00 0C */ stw r30, 0xc(r1) +/* 802B33BC 002B031C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B33C0 002B0320 48 00 00 38 */ b lbl_802B33F8 +lbl_802B33C4: +/* 802B33C4 002B0324 28 1D 00 00 */ cmplwi r29, 0 +/* 802B33C8 002B0328 41 82 00 2C */ beq lbl_802B33F4 +/* 802B33CC 002B032C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 802B33D0 002B0330 28 00 00 00 */ cmplwi r0, 0 +/* 802B33D4 002B0334 41 82 00 1C */ beq lbl_802B33F0 +/* 802B33D8 002B0338 28 1D 00 00 */ cmplwi r29, 0 +/* 802B33DC 002B033C 41 82 00 14 */ beq lbl_802B33F0 +/* 802B33E0 002B0340 41 82 00 10 */ beq lbl_802B33F0 +/* 802B33E4 002B0344 7F A3 EB 78 */ mr r3, r29 +/* 802B33E8 002B0348 38 80 00 00 */ li r4, 0 +/* 802B33EC 002B034C 48 08 DA 55 */ bl __dt__6CTokenFv +lbl_802B33F0: +/* 802B33F0 002B0350 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_802B33F4: +/* 802B33F4 002B0354 3B BD 00 10 */ addi r29, r29, 0x10 +lbl_802B33F8: +/* 802B33F8 002B0358 7C 1D F0 40 */ cmplw r29, r30 +/* 802B33FC 002B035C 40 82 FF C8 */ bne lbl_802B33C4 +/* 802B3400 002B0360 38 00 00 00 */ li r0, 0 +/* 802B3404 002B0364 90 1C 00 04 */ stw r0, 4(r28) +/* 802B3408 002B0368 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B340C 002B036C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B3410 002B0370 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B3414 002B0374 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B3418 002B0378 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802B341C 002B037C 7C 08 03 A6 */ mtlr r0 +/* 802B3420 002B0380 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B3424 002B0384 4E 80 00 20 */ blr + +.global "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3428 002B0388 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B342C 002B038C 7C 08 02 A6 */ mflr r0 +/* 802B3430 002B0390 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3434 002B0394 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802B3438 002B0398 7C 9F 23 78 */ mr r31, r4 +/* 802B343C 002B039C 7C 7E 1B 78 */ mr r30, r3 +/* 802B3440 002B03A0 80 03 00 08 */ lwz r0, 8(r3) +/* 802B3444 002B03A4 7C 1F 00 00 */ cmpw r31, r0 +/* 802B3448 002B03A8 40 81 01 0C */ ble lbl_802B3554 +/* 802B344C 002B03AC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 802B3450 002B03B0 40 82 00 0C */ bne lbl_802B345C +/* 802B3454 002B03B4 3B 80 00 00 */ li r28, 0 +/* 802B3458 002B03B8 48 00 00 18 */ b lbl_802B3470 +lbl_802B345C: +/* 802B345C 002B03BC 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B3460 002B03C0 38 A0 00 00 */ li r5, 0 +/* 802B3464 002B03C4 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B3468 002B03C8 48 06 23 B1 */ bl __nwa__FUlPCcPCc +/* 802B346C 002B03CC 7C 7C 1B 78 */ mr r28, r3 +lbl_802B3470: +/* 802B3470 002B03D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B3474 002B03D4 7F 9B E3 78 */ mr r27, r28 +/* 802B3478 002B03D8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B347C 002B03DC 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3480 002B03E0 7F BA 02 14 */ add r29, r26, r0 +/* 802B3484 002B03E4 93 41 00 10 */ stw r26, 0x10(r1) +/* 802B3488 002B03E8 93 A1 00 08 */ stw r29, 8(r1) +/* 802B348C 002B03EC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802B3490 002B03F0 93 41 00 14 */ stw r26, 0x14(r1) +/* 802B3494 002B03F4 48 00 00 4C */ b lbl_802B34E0 +lbl_802B3498: +/* 802B3498 002B03F8 28 1B 00 00 */ cmplwi r27, 0 +/* 802B349C 002B03FC 41 82 00 3C */ beq lbl_802B34D8 +/* 802B34A0 002B0400 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B34A4 002B0404 98 1B 00 0C */ stb r0, 0xc(r27) +/* 802B34A8 002B0408 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B34AC 002B040C 28 00 00 00 */ cmplwi r0, 0 +/* 802B34B0 002B0410 41 82 00 28 */ beq lbl_802B34D8 +/* 802B34B4 002B0414 28 1B 00 00 */ cmplwi r27, 0 +/* 802B34B8 002B0418 41 82 00 20 */ beq lbl_802B34D8 +/* 802B34BC 002B041C 7F 63 DB 78 */ mr r3, r27 +/* 802B34C0 002B0420 7F 44 D3 78 */ mr r4, r26 +/* 802B34C4 002B0424 48 08 D9 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B34C8 002B0428 80 1A 00 08 */ lwz r0, 8(r26) +/* 802B34CC 002B042C 7F 63 DB 78 */ mr r3, r27 +/* 802B34D0 002B0430 90 1B 00 08 */ stw r0, 8(r27) +/* 802B34D4 002B0434 48 08 D8 B1 */ bl Lock__6CTokenFv +lbl_802B34D8: +/* 802B34D8 002B0438 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 802B34DC 002B043C 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B34E0: +/* 802B34E0 002B0440 7C 1A E8 40 */ cmplw r26, r29 +/* 802B34E4 002B0444 40 82 FF B4 */ bne lbl_802B3498 +/* 802B34E8 002B0448 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B34EC 002B044C 3B A0 00 00 */ li r29, 0 +/* 802B34F0 002B0450 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B34F4 002B0454 54 00 20 36 */ slwi r0, r0, 4 +/* 802B34F8 002B0458 7F 7A 02 14 */ add r27, r26, r0 +/* 802B34FC 002B045C 48 00 00 38 */ b lbl_802B3534 +lbl_802B3500: +/* 802B3500 002B0460 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3504 002B0464 41 82 00 2C */ beq lbl_802B3530 +/* 802B3508 002B0468 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B350C 002B046C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3510 002B0470 41 82 00 1C */ beq lbl_802B352C +/* 802B3514 002B0474 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3518 002B0478 41 82 00 14 */ beq lbl_802B352C +/* 802B351C 002B047C 41 82 00 10 */ beq lbl_802B352C +/* 802B3520 002B0480 7F 43 D3 78 */ mr r3, r26 +/* 802B3524 002B0484 38 80 00 00 */ li r4, 0 +/* 802B3528 002B0488 48 08 D9 19 */ bl __dt__6CTokenFv +lbl_802B352C: +/* 802B352C 002B048C 9B BA 00 0C */ stb r29, 0xc(r26) +lbl_802B3530: +/* 802B3530 002B0490 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3534: +/* 802B3534 002B0494 7C 1A D8 40 */ cmplw r26, r27 +/* 802B3538 002B0498 40 82 FF C8 */ bne lbl_802B3500 +/* 802B353C 002B049C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B3540 002B04A0 28 03 00 00 */ cmplwi r3, 0 +/* 802B3544 002B04A4 41 82 00 08 */ beq lbl_802B354C +/* 802B3548 002B04A8 48 06 23 E9 */ bl Free__7CMemoryFPCv +lbl_802B354C: +/* 802B354C 002B04AC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802B3550 002B04B0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802B3554: +/* 802B3554 002B04B4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802B3558 002B04B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B355C 002B04BC 7C 08 03 A6 */ mtlr r0 +/* 802B3560 002B04C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B3564 002B04C4 4E 80 00 20 */ blr + +.global "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": +/* 802B3568 002B04C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B356C 002B04CC 7C 08 02 A6 */ mflr r0 +/* 802B3570 002B04D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B3574 002B04D4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 802B3578 002B04D8 7C 9F 23 78 */ mr r31, r4 +/* 802B357C 002B04DC 7C 7E 1B 78 */ mr r30, r3 +/* 802B3580 002B04E0 80 03 00 08 */ lwz r0, 8(r3) +/* 802B3584 002B04E4 7C 1F 00 00 */ cmpw r31, r0 +/* 802B3588 002B04E8 40 81 01 0C */ ble lbl_802B3694 +/* 802B358C 002B04EC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 802B3590 002B04F0 40 82 00 0C */ bne lbl_802B359C +/* 802B3594 002B04F4 3B 80 00 00 */ li r28, 0 +/* 802B3598 002B04F8 48 00 00 18 */ b lbl_802B35B0 +lbl_802B359C: +/* 802B359C 002B04FC 3C 80 80 3D */ lis r4, lbl_803D6540@ha +/* 802B35A0 002B0500 38 A0 00 00 */ li r5, 0 +/* 802B35A4 002B0504 38 84 65 40 */ addi r4, r4, lbl_803D6540@l +/* 802B35A8 002B0508 48 06 22 71 */ bl __nwa__FUlPCcPCc +/* 802B35AC 002B050C 7C 7C 1B 78 */ mr r28, r3 +lbl_802B35B0: +/* 802B35B0 002B0510 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B35B4 002B0514 7F 9B E3 78 */ mr r27, r28 +/* 802B35B8 002B0518 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B35BC 002B051C 54 00 20 36 */ slwi r0, r0, 4 +/* 802B35C0 002B0520 7F BA 02 14 */ add r29, r26, r0 +/* 802B35C4 002B0524 93 41 00 10 */ stw r26, 0x10(r1) +/* 802B35C8 002B0528 93 A1 00 08 */ stw r29, 8(r1) +/* 802B35CC 002B052C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 802B35D0 002B0530 93 41 00 14 */ stw r26, 0x14(r1) +/* 802B35D4 002B0534 48 00 00 4C */ b lbl_802B3620 +lbl_802B35D8: +/* 802B35D8 002B0538 28 1B 00 00 */ cmplwi r27, 0 +/* 802B35DC 002B053C 41 82 00 3C */ beq lbl_802B3618 +/* 802B35E0 002B0540 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B35E4 002B0544 98 1B 00 0C */ stb r0, 0xc(r27) +/* 802B35E8 002B0548 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B35EC 002B054C 28 00 00 00 */ cmplwi r0, 0 +/* 802B35F0 002B0550 41 82 00 28 */ beq lbl_802B3618 +/* 802B35F4 002B0554 28 1B 00 00 */ cmplwi r27, 0 +/* 802B35F8 002B0558 41 82 00 20 */ beq lbl_802B3618 +/* 802B35FC 002B055C 7F 63 DB 78 */ mr r3, r27 +/* 802B3600 002B0560 7F 44 D3 78 */ mr r4, r26 +/* 802B3604 002B0564 48 08 D8 A5 */ bl __ct__6CTokenFRC6CToken +/* 802B3608 002B0568 80 1A 00 08 */ lwz r0, 8(r26) +/* 802B360C 002B056C 7F 63 DB 78 */ mr r3, r27 +/* 802B3610 002B0570 90 1B 00 08 */ stw r0, 8(r27) +/* 802B3614 002B0574 48 08 D7 71 */ bl Lock__6CTokenFv +lbl_802B3618: +/* 802B3618 002B0578 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 802B361C 002B057C 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3620: +/* 802B3620 002B0580 7C 1A E8 40 */ cmplw r26, r29 +/* 802B3624 002B0584 40 82 FF B4 */ bne lbl_802B35D8 +/* 802B3628 002B0588 80 1E 00 04 */ lwz r0, 4(r30) +/* 802B362C 002B058C 3B A0 00 00 */ li r29, 0 +/* 802B3630 002B0590 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 802B3634 002B0594 54 00 20 36 */ slwi r0, r0, 4 +/* 802B3638 002B0598 7F 7A 02 14 */ add r27, r26, r0 +/* 802B363C 002B059C 48 00 00 38 */ b lbl_802B3674 +lbl_802B3640: +/* 802B3640 002B05A0 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3644 002B05A4 41 82 00 2C */ beq lbl_802B3670 +/* 802B3648 002B05A8 88 1A 00 0C */ lbz r0, 0xc(r26) +/* 802B364C 002B05AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B3650 002B05B0 41 82 00 1C */ beq lbl_802B366C +/* 802B3654 002B05B4 28 1A 00 00 */ cmplwi r26, 0 +/* 802B3658 002B05B8 41 82 00 14 */ beq lbl_802B366C +/* 802B365C 002B05BC 41 82 00 10 */ beq lbl_802B366C +/* 802B3660 002B05C0 7F 43 D3 78 */ mr r3, r26 +/* 802B3664 002B05C4 38 80 00 00 */ li r4, 0 +/* 802B3668 002B05C8 48 08 D7 D9 */ bl __dt__6CTokenFv +lbl_802B366C: +/* 802B366C 002B05CC 9B BA 00 0C */ stb r29, 0xc(r26) +lbl_802B3670: +/* 802B3670 002B05D0 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_802B3674: +/* 802B3674 002B05D4 7C 1A D8 40 */ cmplw r26, r27 +/* 802B3678 002B05D8 40 82 FF C8 */ bne lbl_802B3640 +/* 802B367C 002B05DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B3680 002B05E0 28 03 00 00 */ cmplwi r3, 0 +/* 802B3684 002B05E4 41 82 00 08 */ beq lbl_802B368C +/* 802B3688 002B05E8 48 06 22 A9 */ bl Free__7CMemoryFPCv +lbl_802B368C: +/* 802B368C 002B05EC 93 9E 00 0C */ stw r28, 0xc(r30) +/* 802B3690 002B05F0 93 FE 00 08 */ stw r31, 8(r30) +lbl_802B3694: +/* 802B3694 002B05F4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 802B3698 002B05F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B369C 002B05FC 7C 08 03 A6 */ mtlr r0 +/* 802B36A0 002B0600 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B36A4 002B0604 4E 80 00 20 */ blr diff --git a/asm/Weapons/CDecal.s b/asm/Weapons/CDecal.s new file mode 100644 index 00000000..e176ad20 --- /dev/null +++ b/asm/Weapons/CDecal.s @@ -0,0 +1,1131 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Update__6CDecalFf +Update__6CDecalFf: +/* 802B4828 002B1788 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B482C 002B178C 80 03 00 40 */ lwz r0, 0x40(r3) +/* 802B4830 002B1790 7C 04 00 00 */ cmpw r4, r0 +/* 802B4834 002B1794 41 80 00 10 */ blt lbl_802B4844 +/* 802B4838 002B1798 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B483C 002B179C 60 00 00 01 */ ori r0, r0, 1 +/* 802B4840 002B17A0 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B4844: +/* 802B4844 002B17A4 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4848 002B17A8 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 802B484C 002B17AC 7C 04 00 00 */ cmpw r4, r0 +/* 802B4850 002B17B0 41 80 00 10 */ blt lbl_802B4860 +/* 802B4854 002B17B4 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B4858 002B17B8 60 00 00 02 */ ori r0, r0, 2 +/* 802B485C 002B17BC 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B4860: +/* 802B4860 002B17C0 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4864 002B17C4 80 03 00 54 */ lwz r0, 0x54(r3) +/* 802B4868 002B17C8 7C 04 00 00 */ cmpw r4, r0 +/* 802B486C 002B17CC 41 80 00 10 */ blt lbl_802B487C +/* 802B4870 002B17D0 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 802B4874 002B17D4 60 00 00 04 */ ori r0, r0, 4 +/* 802B4878 002B17D8 90 03 00 5C */ stw r0, 0x5c(r3) +lbl_802B487C: +/* 802B487C 002B17DC 80 83 00 58 */ lwz r4, 0x58(r3) +/* 802B4880 002B17E0 38 04 00 01 */ addi r0, r4, 1 +/* 802B4884 002B17E4 90 03 00 58 */ stw r0, 0x58(r3) +/* 802B4888 002B17E8 4E 80 00 20 */ blr + +.global Render__6CDecalCFv +Render__6CDecalCFv: +/* 802B488C 002B17EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B4890 002B17F0 7C 08 02 A6 */ mflr r0 +/* 802B4894 002B17F4 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 +/* 802B4898 002B17F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B489C 002B17FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B48A0 002B1800 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B48A4 002B1804 7C 7E 1B 78 */ mr r30, r3 +/* 802B48A8 002B1808 38 61 00 08 */ addi r3, r1, 8 +/* 802B48AC 002B180C 48 05 DD D5 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B48B0 002B1810 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B48B4 002B1814 2C 00 00 07 */ cmpwi r0, 7 +/* 802B48B8 002B1818 40 82 00 14 */ bne lbl_802B48CC +/* 802B48BC 002B181C 38 61 00 08 */ addi r3, r1, 8 +/* 802B48C0 002B1820 38 80 FF FF */ li r4, -1 +/* 802B48C4 002B1824 48 05 DD 41 */ bl __dt__13CGlobalRandomFv +/* 802B48C8 002B1828 48 00 00 CC */ b lbl_802B4994 +lbl_802B48CC: +/* 802B48CC 002B182C 48 05 80 B1 */ bl DisableAllLights__9CGraphicsFv +/* 802B48D0 002B1830 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B48D4 002B1834 48 07 5E 75 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 802B48D8 002B1838 83 FE 00 08 */ lwz r31, 8(r30) +/* 802B48DC 002B183C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B48E0 002B1840 28 00 00 00 */ cmplwi r0, 0 +/* 802B48E4 002B1844 41 82 00 30 */ beq lbl_802B4914 +/* 802B48E8 002B1848 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B48EC 002B184C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B48F0 002B1850 40 82 00 24 */ bne lbl_802B4914 +/* 802B48F4 002B1854 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802B48F8 002B1858 48 07 5E 81 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B48FC 002B185C 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B4900 002B1860 48 07 5D 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4904 002B1864 7F C3 F3 78 */ mr r3, r30 +/* 802B4908 002B1868 7F E5 FB 78 */ mr r5, r31 +/* 802B490C 002B186C 38 9E 00 3C */ addi r4, r30, 0x3c +/* 802B4910 002B1870 48 00 05 41 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +lbl_802B4914: +/* 802B4914 002B1874 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4918 002B1878 3B E3 00 1C */ addi r31, r3, 0x1c +/* 802B491C 002B187C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 802B4920 002B1880 28 00 00 00 */ cmplwi r0, 0 +/* 802B4924 002B1884 41 82 00 30 */ beq lbl_802B4954 +/* 802B4928 002B1888 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B492C 002B188C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 802B4930 002B1890 40 82 00 24 */ bne lbl_802B4954 +/* 802B4934 002B1894 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802B4938 002B1898 48 07 5E 41 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B493C 002B189C 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B4940 002B18A0 48 07 5D 3D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4944 002B18A4 7F C3 F3 78 */ mr r3, r30 +/* 802B4948 002B18A8 7F E5 FB 78 */ mr r5, r31 +/* 802B494C 002B18AC 38 9E 00 48 */ addi r4, r30, 0x48 +/* 802B4950 002B18B0 48 00 05 01 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +lbl_802B4954: +/* 802B4954 002B18B4 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4958 002B18B8 88 03 00 44 */ lbz r0, 0x44(r3) +/* 802B495C 002B18BC 28 00 00 00 */ cmplwi r0, 0 +/* 802B4960 002B18C0 41 82 00 28 */ beq lbl_802B4988 +/* 802B4964 002B18C4 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 802B4968 002B18C8 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 802B496C 002B18CC 40 82 00 1C */ bne lbl_802B4988 +/* 802B4970 002B18D0 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802B4974 002B18D4 48 07 5E 05 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B4978 002B18D8 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 802B497C 002B18DC 48 07 5D 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B4980 002B18E0 7F C3 F3 78 */ mr r3, r30 +/* 802B4984 002B18E4 48 00 00 29 */ bl RenderMdl__6CDecalCFv +lbl_802B4988: +/* 802B4988 002B18E8 38 61 00 08 */ addi r3, r1, 8 +/* 802B498C 002B18EC 38 80 FF FF */ li r4, -1 +/* 802B4990 002B18F0 48 05 DC 75 */ bl __dt__13CGlobalRandomFv +lbl_802B4994: +/* 802B4994 002B18F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B4998 002B18F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B499C 002B18FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B49A0 002B1900 7C 08 03 A6 */ mtlr r0 +/* 802B49A4 002B1904 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B49A8 002B1908 4E 80 00 20 */ blr + +.global RenderMdl__6CDecalCFv +RenderMdl__6CDecalCFv: +/* 802B49AC 002B190C 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 802B49B0 002B1910 7C 08 02 A6 */ mflr r0 +/* 802B49B4 002B1914 90 01 03 44 */ stw r0, 0x344(r1) +/* 802B49B8 002B1918 93 E1 03 3C */ stw r31, 0x33c(r1) +/* 802B49BC 002B191C 7C 7F 1B 78 */ mr r31, r3 +/* 802B49C0 002B1920 93 C1 03 38 */ stw r30, 0x338(r1) +/* 802B49C4 002B1924 48 09 55 E9 */ bl White__6CColorFv +/* 802B49C8 002B1928 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B49CC 002B192C 80 03 00 00 */ lwz r0, 0(r3) +/* 802B49D0 002B1930 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 802B49D4 002B1934 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802B49D8 002B1938 C0 45 00 00 */ lfs f2, 0(r5) +/* 802B49DC 002B193C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802B49E0 002B1940 C0 25 00 04 */ lfs f1, 4(r5) +/* 802B49E4 002B1944 38 61 03 04 */ addi r3, r1, 0x304 +/* 802B49E8 002B1948 C0 05 00 08 */ lfs f0, 8(r5) +/* 802B49EC 002B194C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B49F0 002B1950 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802B49F4 002B1954 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802B49F8 002B1958 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802B49FC 002B195C 48 05 E1 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4A00 002B1960 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A04 002B1964 88 03 00 5C */ lbz r0, 0x5c(r3) +/* 802B4A08 002B1968 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802B4A0C 002B196C 40 82 00 1C */ bne lbl_802B4A28 +/* 802B4A10 002B1970 38 61 02 74 */ addi r3, r1, 0x274 +/* 802B4A14 002B1974 38 9F 00 0C */ addi r4, r31, 0xc +/* 802B4A18 002B1978 48 05 E2 29 */ bl GetRotation__12CTransform4fCFv +/* 802B4A1C 002B197C 38 61 03 04 */ addi r3, r1, 0x304 +/* 802B4A20 002B1980 38 81 02 74 */ addi r4, r1, 0x274 +/* 802B4A24 002B1984 48 05 E1 1D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4A28: +/* 802B4A28 002B1988 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A2C 002B198C 3B C0 00 00 */ li r30, 0 +/* 802B4A30 002B1990 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4A34 002B1994 28 03 00 00 */ cmplwi r3, 0 +/* 802B4A38 002B1998 41 82 00 20 */ beq lbl_802B4A58 +/* 802B4A3C 002B199C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4A40 002B19A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B4A44 002B19A4 7D 89 03 A6 */ mtctr r12 +/* 802B4A48 002B19A8 4E 80 04 21 */ bctrl +/* 802B4A4C 002B19AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B4A50 002B19B0 41 82 00 08 */ beq lbl_802B4A58 +/* 802B4A54 002B19B4 3B C0 00 01 */ li r30, 1 +lbl_802B4A58: +/* 802B4A58 002B19B8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B4A5C 002B19BC 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4A60 002B19C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B4A64 002B19C4 48 05 E1 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4A68 002B19C8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B4A6C 002B19CC 41 82 00 84 */ beq lbl_802B4AF0 +/* 802B4A70 002B19D0 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4A74 002B19D4 38 BF 00 60 */ addi r5, r31, 0x60 +/* 802B4A78 002B19D8 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4A7C 002B19DC 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4A80 002B19E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4A84 002B19E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4A88 002B19E8 7D 89 03 A6 */ mtctr r12 +/* 802B4A8C 002B19EC 4E 80 04 21 */ bctrl +/* 802B4A90 002B19F0 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4A94 002B19F4 38 61 02 44 */ addi r3, r1, 0x244 +/* 802B4A98 002B19F8 C0 1F 00 68 */ lfs f0, 0x68(r31) +/* 802B4A9C 002B19FC 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B4AA0 002B1A00 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4AA4 002B1A04 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802B4AA8 002B1A08 48 05 ED 69 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 802B4AAC 002B1A0C 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4AB0 002B1A10 38 81 02 44 */ addi r4, r1, 0x244 +/* 802B4AB4 002B1A14 48 05 E0 8D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4AB8 002B1A18 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4ABC 002B1A1C 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4AC0 002B1A20 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 802B4AC4 002B1A24 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B4AC8 002B1A28 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4ACC 002B1A2C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802B4AD0 002B1A30 48 05 EB 09 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B4AD4 002B1A34 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4AD8 002B1A38 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4ADC 002B1A3C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 802B4AE0 002B1A40 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B4AE4 002B1A44 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4AE8 002B1A48 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B4AEC 002B1A4C 48 05 EC 09 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +lbl_802B4AF0: +/* 802B4AF0 002B1A50 38 61 02 14 */ addi r3, r1, 0x214 +/* 802B4AF4 002B1A54 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4AF8 002B1A58 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4AFC 002B1A5C 48 05 DE 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4B00 002B1A60 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4B04 002B1A64 38 81 02 14 */ addi r4, r1, 0x214 +/* 802B4B08 002B1A68 48 05 E0 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4B0C 002B1A6C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4B10 002B1A70 80 63 00 4C */ lwz r3, 0x4c(r3) +/* 802B4B14 002B1A74 28 03 00 00 */ cmplwi r3, 0 +/* 802B4B18 002B1A78 41 82 00 1C */ beq lbl_802B4B34 +/* 802B4B1C 002B1A7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4B20 002B1A80 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802B4B24 002B1A84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4B28 002B1A88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4B2C 002B1A8C 7D 89 03 A6 */ mtctr r12 +/* 802B4B30 002B1A90 4E 80 04 21 */ bctrl +lbl_802B4B34: +/* 802B4B34 002B1A94 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B4B38 002B1A98 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4B3C 002B1A9C 38 A1 00 88 */ addi r5, r1, 0x88 +/* 802B4B40 002B1AA0 48 05 DF A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B4B44 002B1AA4 C0 BF 00 38 */ lfs f5, 0x38(r31) +/* 802B4B48 002B1AA8 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 802B4B4C 002B1AAC C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 802B4B50 002B1AB0 38 81 00 64 */ addi r4, r1, 0x64 +/* 802B4B54 002B1AB4 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 802B4B58 002B1AB8 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802B4B5C 002B1ABC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802B4B60 002B1AC0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802B4B64 002B1AC4 EC 44 10 2A */ fadds f2, f4, f2 +/* 802B4B68 002B1AC8 EC 25 08 2A */ fadds f1, f5, f1 +/* 802B4B6C 002B1ACC D0 61 00 58 */ stfs f3, 0x58(r1) +/* 802B4B70 002B1AD0 EC 03 00 2A */ fadds f0, f3, f0 +/* 802B4B74 002B1AD4 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 802B4B78 002B1AD8 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802B4B7C 002B1ADC D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802B4B80 002B1AE0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802B4B84 002B1AE4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802B4B88 002B1AE8 48 05 E5 B9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802B4B8C 002B1AEC 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4B90 002B1AF0 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 802B4B94 002B1AF4 48 05 DF E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4B98 002B1AF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B4B9C 002B1AFC 41 82 00 24 */ beq lbl_802B4BC0 +/* 802B4BA0 002B1B00 38 61 01 24 */ addi r3, r1, 0x124 +/* 802B4BA4 002B1B04 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4BA8 002B1B08 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4BAC 002B1B0C 48 05 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4BB0 002B1B10 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4BB4 002B1B14 38 81 01 24 */ addi r4, r1, 0x124 +/* 802B4BB8 002B1B18 48 05 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4BBC 002B1B1C 48 00 00 E8 */ b lbl_802B4CA4 +lbl_802B4BC0: +/* 802B4BC0 002B1B20 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4BC4 002B1B24 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B4BC8 002B1B28 28 03 00 00 */ cmplwi r3, 0 +/* 802B4BCC 002B1B2C 41 82 00 BC */ beq lbl_802B4C88 +/* 802B4BD0 002B1B30 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4BD4 002B1B34 38 A1 00 7C */ addi r5, r1, 0x7c +/* 802B4BD8 002B1B38 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4BDC 002B1B3C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802B4BE0 002B1B40 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802B4BE4 002B1B44 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802B4BE8 002B1B48 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4BEC 002B1B4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4BF0 002B1B50 7D 89 03 A6 */ mtctr r12 +/* 802B4BF4 002B1B54 4E 80 04 21 */ bctrl +/* 802B4BF8 002B1B58 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4BFC 002B1B5C 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 802B4C00 002B1B60 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802B4C04 002B1B64 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B4C08 002B1B68 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C0C 002B1B6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B4C10 002B1B70 48 05 EC 01 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 802B4C14 002B1B74 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C18 002B1B78 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 802B4C1C 002B1B7C 48 05 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4C20 002B1B80 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4C24 002B1B84 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C28 002B1B88 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802B4C2C 002B1B8C 38 81 00 0C */ addi r4, r1, 0xc +/* 802B4C30 002B1B90 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C34 002B1B94 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B4C38 002B1B98 48 05 E9 A1 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B4C3C 002B1B9C C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) +/* 802B4C40 002B1BA0 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 802B4C44 002B1BA4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802B4C48 002B1BA8 38 81 00 08 */ addi r4, r1, 8 +/* 802B4C4C 002B1BAC EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4C50 002B1BB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 802B4C54 002B1BB4 48 05 EA A1 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B4C58 002B1BB8 38 61 01 84 */ addi r3, r1, 0x184 +/* 802B4C5C 002B1BBC 38 81 03 04 */ addi r4, r1, 0x304 +/* 802B4C60 002B1BC0 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4C64 002B1BC4 48 05 DC ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C68 002B1BC8 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802B4C6C 002B1BCC 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4C70 002B1BD0 38 A1 01 84 */ addi r5, r1, 0x184 +/* 802B4C74 002B1BD4 48 05 DC DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C78 002B1BD8 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4C7C 002B1BDC 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802B4C80 002B1BE0 48 05 DE C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B4C84 002B1BE4 48 00 00 20 */ b lbl_802B4CA4 +lbl_802B4C88: +/* 802B4C88 002B1BE8 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802B4C8C 002B1BEC 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4C90 002B1BF0 38 A1 02 D4 */ addi r5, r1, 0x2d4 +/* 802B4C94 002B1BF4 48 05 DC BD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4C98 002B1BF8 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4C9C 002B1BFC 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802B4CA0 002B1C00 48 05 DE A1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4CA4: +/* 802B4CA4 002B1C04 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4CA8 002B1C08 80 63 00 54 */ lwz r3, 0x54(r3) +/* 802B4CAC 002B1C0C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4CB0 002B1C10 41 82 00 5C */ beq lbl_802B4D0C +/* 802B4CB4 002B1C14 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4CB8 002B1C18 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802B4CBC 002B1C1C 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4CC0 002B1C20 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802B4CC4 002B1C24 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802B4CC8 002B1C28 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802B4CCC 002B1C2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4CD0 002B1C30 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4CD4 002B1C34 7D 89 03 A6 */ mtctr r12 +/* 802B4CD8 002B1C38 4E 80 04 21 */ bctrl +/* 802B4CDC 002B1C3C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 802B4CE0 002B1C40 38 61 01 54 */ addi r3, r1, 0x154 +/* 802B4CE4 002B1C44 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 802B4CE8 002B1C48 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 802B4CEC 002B1C4C 48 05 E5 1D */ bl Scale__12CTransform4fFfff +/* 802B4CF0 002B1C50 38 61 00 94 */ addi r3, r1, 0x94 +/* 802B4CF4 002B1C54 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 802B4CF8 002B1C58 38 A1 01 54 */ addi r5, r1, 0x154 +/* 802B4CFC 002B1C5C 48 05 DC 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B4D00 002B1C60 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4D04 002B1C64 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B4D08 002B1C68 48 05 DE 39 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_802B4D0C: +/* 802B4D0C 002B1C6C 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4D10 002B1C70 80 63 00 58 */ lwz r3, 0x58(r3) +/* 802B4D14 002B1C74 28 03 00 00 */ cmplwi r3, 0 +/* 802B4D18 002B1C78 41 82 00 1C */ beq lbl_802B4D34 +/* 802B4D1C 002B1C7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4D20 002B1C80 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802B4D24 002B1C84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 802B4D28 002B1C88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4D2C 002B1C8C 7D 89 03 A6 */ mtctr r12 +/* 802B4D30 002B1C90 4E 80 04 21 */ bctrl +lbl_802B4D34: +/* 802B4D34 002B1C94 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 802B4D38 002B1C98 48 05 78 A9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B4D3C 002B1C9C 81 1F 00 08 */ lwz r8, 8(r31) +/* 802B4D40 002B1CA0 88 08 00 5C */ lbz r0, 0x5c(r8) +/* 802B4D44 002B1CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B4D48 002B1CA8 41 82 00 4C */ beq lbl_802B4D94 +/* 802B4D4C 002B1CAC 38 C0 00 03 */ li r6, 3 +/* 802B4D50 002B1CB0 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802B4D54 002B1CB4 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 802B4D58 002B1CB8 38 60 00 07 */ li r3, 7 +/* 802B4D5C 002B1CBC 38 E0 00 00 */ li r7, 0 +/* 802B4D60 002B1CC0 98 61 00 44 */ stb r3, 0x44(r1) +/* 802B4D64 002B1CC4 60 00 00 01 */ ori r0, r0, 1 +/* 802B4D68 002B1CC8 38 81 00 44 */ addi r4, r1, 0x44 +/* 802B4D6C 002B1CCC 98 E1 00 45 */ stb r7, 0x45(r1) +/* 802B4D70 002B1CD0 B0 01 00 46 */ sth r0, 0x46(r1) +/* 802B4D74 002B1CD4 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802B4D78 002B1CD8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 802B4D7C 002B1CDC 80 68 00 40 */ lwz r3, 0x40(r8) +/* 802B4D80 002B1CE0 98 E1 00 3D */ stb r7, 0x3d(r1) +/* 802B4D84 002B1CE4 B0 C1 00 3E */ sth r6, 0x3e(r1) +/* 802B4D88 002B1CE8 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802B4D8C 002B1CEC 48 0A 0E 49 */ bl Draw__6CModelCFRC11CModelFlags +/* 802B4D90 002B1CF0 48 00 00 9C */ b lbl_802B4E2C +lbl_802B4D94: +/* 802B4D94 002B1CF4 E0 41 A0 23 */ psq_l f2, 35(r1), 1, qr2 +/* 802B4D98 002B1CF8 C0 02 C2 5C */ lfs f0, lbl_805ADF7C@sda21(r2) +/* 802B4D9C 002B1CFC C0 22 C2 58 */ lfs f1, lbl_805ADF78@sda21(r2) +/* 802B4DA0 002B1D00 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 802B4DA4 002B1D04 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 802B4DA8 002B1D08 40 82 00 40 */ bne lbl_802B4DE8 +/* 802B4DAC 002B1D0C 38 80 00 00 */ li r4, 0 +/* 802B4DB0 002B1D10 38 00 00 03 */ li r0, 3 +/* 802B4DB4 002B1D14 FC 40 08 90 */ fmr f2, f1 +/* 802B4DB8 002B1D18 98 81 00 34 */ stb r4, 0x34(r1) +/* 802B4DBC 002B1D1C FC 60 08 90 */ fmr f3, f1 +/* 802B4DC0 002B1D20 38 61 00 38 */ addi r3, r1, 0x38 +/* 802B4DC4 002B1D24 FC 80 08 90 */ fmr f4, f1 +/* 802B4DC8 002B1D28 98 81 00 35 */ stb r4, 0x35(r1) +/* 802B4DCC 002B1D2C B0 01 00 36 */ sth r0, 0x36(r1) +/* 802B4DD0 002B1D30 48 0A E6 1D */ bl __ct__6CColorFffff +/* 802B4DD4 002B1D34 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4DD8 002B1D38 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B4DDC 002B1D3C 80 63 00 40 */ lwz r3, 0x40(r3) +/* 802B4DE0 002B1D40 48 0A 0D F5 */ bl Draw__6CModelCFRC11CModelFlags +/* 802B4DE4 002B1D44 48 00 00 48 */ b lbl_802B4E2C +lbl_802B4DE8: +/* 802B4DE8 002B1D48 38 C0 00 03 */ li r6, 3 +/* 802B4DEC 002B1D4C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 802B4DF0 002B1D50 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 802B4DF4 002B1D54 38 60 00 05 */ li r3, 5 +/* 802B4DF8 002B1D58 38 E0 00 00 */ li r7, 0 +/* 802B4DFC 002B1D5C 98 61 00 2C */ stb r3, 0x2c(r1) +/* 802B4E00 002B1D60 60 00 00 01 */ ori r0, r0, 1 +/* 802B4E04 002B1D64 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B4E08 002B1D68 98 E1 00 2D */ stb r7, 0x2d(r1) +/* 802B4E0C 002B1D6C B0 01 00 2E */ sth r0, 0x2e(r1) +/* 802B4E10 002B1D70 90 A1 00 30 */ stw r5, 0x30(r1) +/* 802B4E14 002B1D74 98 61 00 24 */ stb r3, 0x24(r1) +/* 802B4E18 002B1D78 80 68 00 40 */ lwz r3, 0x40(r8) +/* 802B4E1C 002B1D7C 98 E1 00 25 */ stb r7, 0x25(r1) +/* 802B4E20 002B1D80 B0 C1 00 26 */ sth r6, 0x26(r1) +/* 802B4E24 002B1D84 90 A1 00 28 */ stw r5, 0x28(r1) +/* 802B4E28 002B1D88 48 0A 0D AD */ bl Draw__6CModelCFRC11CModelFlags +lbl_802B4E2C: +/* 802B4E2C 002B1D8C 38 60 00 01 */ li r3, 1 +/* 802B4E30 002B1D90 48 05 6C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 802B4E34 002B1D94 48 05 40 75 */ bl ResetStates__13CTevCombinersFv +/* 802B4E38 002B1D98 80 01 03 44 */ lwz r0, 0x344(r1) +/* 802B4E3C 002B1D9C 83 E1 03 3C */ lwz r31, 0x33c(r1) +/* 802B4E40 002B1DA0 83 C1 03 38 */ lwz r30, 0x338(r1) +/* 802B4E44 002B1DA4 7C 08 03 A6 */ mtlr r0 +/* 802B4E48 002B1DA8 38 21 03 40 */ addi r1, r1, 0x340 +/* 802B4E4C 002B1DAC 4E 80 00 20 */ blr + +.global RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr +RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr: +/* 802B4E50 002B1DB0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802B4E54 002B1DB4 7C 08 02 A6 */ mflr r0 +/* 802B4E58 002B1DB8 90 01 00 94 */ stw r0, 0x94(r1) +/* 802B4E5C 002B1DBC DB E1 00 80 */ stfd f31, 0x80(r1) +/* 802B4E60 002B1DC0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 802B4E64 002B1DC4 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802B4E68 002B1DC8 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802B4E6C 002B1DCC 93 A1 00 74 */ stw r29, 0x74(r1) +/* 802B4E70 002B1DD0 93 81 00 70 */ stw r28, 0x70(r1) +/* 802B4E74 002B1DD4 7C 7C 1B 78 */ mr r28, r3 +/* 802B4E78 002B1DD8 7C 9D 23 78 */ mr r29, r4 +/* 802B4E7C 002B1DDC 7C BE 2B 78 */ mr r30, r5 +/* 802B4E80 002B1DE0 48 09 51 2D */ bl White__6CColorFv +/* 802B4E84 002B1DE4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802B4E88 002B1DE8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 802B4E8C 002B1DEC 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 802B4E90 002B1DF0 80 03 00 00 */ lwz r0, 0(r3) +/* 802B4E94 002B1DF4 C0 62 C2 58 */ lfs f3, lbl_805ADF78@sda21(r2) +/* 802B4E98 002B1DF8 28 05 00 00 */ cmplwi r5, 0 +/* 802B4E9C 002B1DFC C0 24 00 04 */ lfs f1, 4(r4) +/* 802B4EA0 002B1E00 C0 04 00 08 */ lfs f0, 8(r4) +/* 802B4EA4 002B1E04 90 01 00 0C */ stw r0, 0xc(r1) +/* 802B4EA8 002B1E08 D0 61 00 08 */ stfs f3, 8(r1) +/* 802B4EAC 002B1E0C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802B4EB0 002B1E10 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802B4EB4 002B1E14 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802B4EB8 002B1E18 41 82 00 20 */ beq lbl_802B4ED8 +/* 802B4EBC 002B1E1C 7C A3 2B 78 */ mr r3, r5 +/* 802B4EC0 002B1E20 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B4EC4 002B1E24 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4EC8 002B1E28 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4ECC 002B1E2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4ED0 002B1E30 7D 89 03 A6 */ mtctr r12 +/* 802B4ED4 002B1E34 4E 80 04 21 */ bctrl +lbl_802B4ED8: +/* 802B4ED8 002B1E38 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B4EDC 002B1E3C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4EE0 002B1E40 41 82 00 2C */ beq lbl_802B4F0C +/* 802B4EE4 002B1E44 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4EE8 002B1E48 38 A1 00 08 */ addi r5, r1, 8 +/* 802B4EEC 002B1E4C 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4EF0 002B1E50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4EF4 002B1E54 7D 89 03 A6 */ mtctr r12 +/* 802B4EF8 002B1E58 4E 80 04 21 */ bctrl +/* 802B4EFC 002B1E5C C0 21 00 08 */ lfs f1, 8(r1) +/* 802B4F00 002B1E60 C0 02 C2 60 */ lfs f0, lbl_805ADF80@sda21(r2) +/* 802B4F04 002B1E64 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B4F08 002B1E68 D0 01 00 08 */ stfs f0, 8(r1) +lbl_802B4F0C: +/* 802B4F0C 002B1E6C 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B4F10 002B1E70 28 03 00 00 */ cmplwi r3, 0 +/* 802B4F14 002B1E74 41 82 00 1C */ beq lbl_802B4F30 +/* 802B4F18 002B1E78 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4F1C 002B1E7C 38 BD 00 08 */ addi r5, r29, 8 +/* 802B4F20 002B1E80 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4F24 002B1E84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4F28 002B1E88 7D 89 03 A6 */ mtctr r12 +/* 802B4F2C 002B1E8C 4E 80 04 21 */ bctrl +lbl_802B4F30: +/* 802B4F30 002B1E90 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B4F34 002B1E94 28 03 00 00 */ cmplwi r3, 0 +/* 802B4F38 002B1E98 41 82 00 24 */ beq lbl_802B4F5C +/* 802B4F3C 002B1E9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4F40 002B1EA0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802B4F44 002B1EA4 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B4F48 002B1EA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B4F4C 002B1EAC 7D 89 03 A6 */ mtctr r12 +/* 802B4F50 002B1EB0 4E 80 04 21 */ bctrl +/* 802B4F54 002B1EB4 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B4F58 002B1EB8 D0 01 00 38 */ stfs f0, 0x38(r1) +lbl_802B4F5C: +/* 802B4F5C 002B1EBC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B4F60 002B1EC0 38 9C 00 0C */ addi r4, r28, 0xc +/* 802B4F64 002B1EC4 48 05 DC 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B4F68 002B1EC8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802B4F6C 002B1ECC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B4F70 002B1ED0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802B4F74 002B1ED4 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802B4F78 002B1ED8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802B4F7C 002B1EDC EC 81 00 2A */ fadds f4, f1, f0 +/* 802B4F80 002B1EE0 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802B4F84 002B1EE4 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802B4F88 002B1EE8 EC 43 10 2A */ fadds f2, f3, f2 +/* 802B4F8C 002B1EEC D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802B4F90 002B1EF0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B4F94 002B1EF4 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802B4F98 002B1EF8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802B4F9C 002B1EFC 48 05 76 45 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802B4FA0 002B1F00 38 60 00 07 */ li r3, 7 +/* 802B4FA4 002B1F04 38 80 00 00 */ li r4, 0 +/* 802B4FA8 002B1F08 38 A0 00 00 */ li r5, 0 +/* 802B4FAC 002B1F0C 38 C0 00 07 */ li r6, 7 +/* 802B4FB0 002B1F10 38 E0 00 00 */ li r7, 0 +/* 802B4FB4 002B1F14 48 05 6A 75 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 802B4FB8 002B1F18 88 0D A5 EC */ lbz r0, lbl_805A91AC@sda21(r13) +/* 802B4FBC 002B1F1C 3B E0 00 00 */ li r31, 0 +/* 802B4FC0 002B1F20 7F E3 FB 78 */ mr r3, r31 +/* 802B4FC4 002B1F24 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FC8 002B1F28 41 82 00 14 */ beq lbl_802B4FDC +/* 802B4FCC 002B1F2C 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802B4FD0 002B1F30 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FD4 002B1F34 41 82 00 08 */ beq lbl_802B4FDC +/* 802B4FD8 002B1F38 38 60 00 01 */ li r3, 1 +lbl_802B4FDC: +/* 802B4FDC 002B1F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802B4FE0 002B1F40 41 82 00 14 */ beq lbl_802B4FF4 +/* 802B4FE4 002B1F44 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B4FE8 002B1F48 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FEC 002B1F4C 41 82 00 08 */ beq lbl_802B4FF4 +/* 802B4FF0 002B1F50 3B E0 00 01 */ li r31, 1 +lbl_802B4FF4: +/* 802B4FF4 002B1F54 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 802B4FF8 002B1F58 28 00 00 00 */ cmplwi r0, 0 +/* 802B4FFC 002B1F5C 41 82 00 4C */ beq lbl_802B5048 +/* 802B5000 002B1F60 38 60 00 01 */ li r3, 1 +/* 802B5004 002B1F64 38 80 00 03 */ li r4, 3 +/* 802B5008 002B1F68 38 A0 00 00 */ li r5, 0 +/* 802B500C 002B1F6C 48 05 6A 89 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B5010 002B1F70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B5014 002B1F74 41 82 00 1C */ beq lbl_802B5030 +/* 802B5018 002B1F78 38 60 00 01 */ li r3, 1 +/* 802B501C 002B1F7C 38 80 00 01 */ li r4, 1 +/* 802B5020 002B1F80 38 A0 00 01 */ li r5, 1 +/* 802B5024 002B1F84 38 C0 00 00 */ li r6, 0 +/* 802B5028 002B1F88 48 05 6A 29 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802B502C 002B1F8C 48 00 00 40 */ b lbl_802B506C +lbl_802B5030: +/* 802B5030 002B1F90 38 60 00 01 */ li r3, 1 +/* 802B5034 002B1F94 38 80 00 04 */ li r4, 4 +/* 802B5038 002B1F98 38 A0 00 01 */ li r5, 1 +/* 802B503C 002B1F9C 38 C0 00 00 */ li r6, 0 +/* 802B5040 002B1FA0 48 05 6A 11 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 802B5044 002B1FA4 48 00 00 28 */ b lbl_802B506C +lbl_802B5048: +/* 802B5048 002B1FA8 38 60 00 01 */ li r3, 1 +/* 802B504C 002B1FAC 38 80 00 03 */ li r4, 3 +/* 802B5050 002B1FB0 38 A0 00 00 */ li r5, 0 +/* 802B5054 002B1FB4 48 05 6A 41 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 802B5058 002B1FB8 38 60 00 01 */ li r3, 1 +/* 802B505C 002B1FBC 38 80 00 04 */ li r4, 4 +/* 802B5060 002B1FC0 38 A0 00 05 */ li r5, 5 +/* 802B5064 002B1FC4 38 C0 00 00 */ li r6, 0 +/* 802B5068 002B1FC8 48 05 69 E9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_802B506C: +/* 802B506C 002B1FCC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 802B5070 002B1FD0 C0 22 C2 54 */ lfs f1, lbl_805ADF74@sda21(r2) +/* 802B5074 002B1FD4 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B5078 002B1FD8 28 04 00 00 */ cmplwi r4, 0 +/* 802B507C 002B1FDC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802B5080 002B1FE0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802B5084 002B1FE4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802B5088 002B1FE8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802B508C 002B1FEC 41 82 01 30 */ beq lbl_802B51BC +/* 802B5090 002B1FF0 81 84 00 00 */ lwz r12, 0(r4) +/* 802B5094 002B1FF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B5098 002B1FF8 80 BC 00 58 */ lwz r5, 0x58(r28) +/* 802B509C 002B1FFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B50A0 002B2000 7D 89 03 A6 */ mtctr r12 +/* 802B50A4 002B2004 4E 80 04 21 */ bctrl +/* 802B50A8 002B2008 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50AC 002B200C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802B50B0 002B2010 48 08 BD F9 */ bl __ct__6CTokenFRC6CToken +/* 802B50B4 002B2014 38 61 00 18 */ addi r3, r1, 0x18 +/* 802B50B8 002B2018 38 80 00 00 */ li r4, 0 +/* 802B50BC 002B201C 48 08 BD 85 */ bl __dt__6CTokenFv +/* 802B50C0 002B2020 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B50C4 002B2024 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802B50C8 002B2028 28 00 00 00 */ cmplwi r0, 0 +/* 802B50CC 002B202C 40 82 00 14 */ bne lbl_802B50E0 +/* 802B50D0 002B2030 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50D4 002B2034 38 80 00 00 */ li r4, 0 +/* 802B50D8 002B2038 48 08 BD 69 */ bl __dt__6CTokenFv +/* 802B50DC 002B203C 48 00 03 2C */ b lbl_802B5408 +lbl_802B50E0: +/* 802B50E0 002B2040 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50E4 002B2044 48 08 BD 29 */ bl GetObj__6CTokenFv +/* 802B50E8 002B2048 80 63 00 04 */ lwz r3, 4(r3) +/* 802B50EC 002B204C 38 80 00 00 */ li r4, 0 +/* 802B50F0 002B2050 38 A0 00 01 */ li r5, 1 +/* 802B50F4 002B2054 48 05 A6 49 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 802B50F8 002B2058 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B50FC 002B205C 48 08 BD 11 */ bl GetObj__6CTokenFv +/* 802B5100 002B2060 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 802B5104 002B2064 38 60 00 00 */ li r3, 0 +/* 802B5108 002B2068 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 802B510C 002B206C 48 05 51 AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802B5110 002B2070 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802B5114 002B2074 38 A1 00 24 */ addi r5, r1, 0x24 +/* 802B5118 002B2078 80 9C 00 58 */ lwz r4, 0x58(r28) +/* 802B511C 002B207C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5120 002B2080 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5124 002B2084 7D 89 03 A6 */ mtctr r12 +/* 802B5128 002B2088 4E 80 04 21 */ bctrl +/* 802B512C 002B208C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B5130 002B2090 41 82 00 70 */ beq lbl_802B51A0 +/* 802B5134 002B2094 38 60 00 02 */ li r3, 2 +/* 802B5138 002B2098 48 05 3B 59 */ bl SetNumTevStages__3CGXFUc +/* 802B513C 002B209C 38 60 00 01 */ li r3, 1 +/* 802B5140 002B20A0 38 80 00 0F */ li r4, 0xf +/* 802B5144 002B20A4 38 A0 00 00 */ li r5, 0 +/* 802B5148 002B20A8 38 C0 00 01 */ li r6, 1 +/* 802B514C 002B20AC 38 E0 00 0F */ li r7, 0xf +/* 802B5150 002B20B0 48 05 3A 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 802B5154 002B20B4 38 60 00 01 */ li r3, 1 +/* 802B5158 002B20B8 38 80 00 07 */ li r4, 7 +/* 802B515C 002B20BC 38 A0 00 04 */ li r5, 4 +/* 802B5160 002B20C0 38 C0 00 00 */ li r6, 0 +/* 802B5164 002B20C4 38 E0 00 07 */ li r7, 7 +/* 802B5168 002B20C8 48 05 3A 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 802B516C 002B20CC 38 60 00 01 */ li r3, 1 +/* 802B5170 002B20D0 48 05 2A E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 802B5174 002B20D4 38 60 00 04 */ li r3, 4 +/* 802B5178 002B20D8 38 80 00 00 */ li r4, 0 +/* 802B517C 002B20DC 38 A0 00 01 */ li r5, 1 +/* 802B5180 002B20E0 38 C0 00 00 */ li r6, 0 +/* 802B5184 002B20E4 38 E0 00 00 */ li r7, 0 +/* 802B5188 002B20E8 48 05 36 8D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 802B518C 002B20EC 38 60 00 01 */ li r3, 1 +/* 802B5190 002B20F0 38 80 00 00 */ li r4, 0 +/* 802B5194 002B20F4 38 A0 00 01 */ li r5, 1 +/* 802B5198 002B20F8 48 0C 66 99 */ bl GXSetTevSwapMode +/* 802B519C 002B20FC 48 00 00 10 */ b lbl_802B51AC +lbl_802B51A0: +/* 802B51A0 002B2100 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51A4 002B2104 38 60 00 01 */ li r3, 1 +/* 802B51A8 002B2108 48 05 51 11 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_802B51AC: +/* 802B51AC 002B210C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B51B0 002B2110 38 80 00 00 */ li r4, 0 +/* 802B51B4 002B2114 48 08 BC 8D */ bl __dt__6CTokenFv +/* 802B51B8 002B2118 48 00 00 1C */ b lbl_802B51D4 +lbl_802B51BC: +/* 802B51BC 002B211C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51C0 002B2120 38 60 00 00 */ li r3, 0 +/* 802B51C4 002B2124 48 05 50 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 802B51C8 002B2128 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 802B51CC 002B212C 38 60 00 01 */ li r3, 1 +/* 802B51D0 002B2130 48 05 50 E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_802B51D4: +/* 802B51D4 002B2134 38 60 00 00 */ li r3, 0 +/* 802B51D8 002B2138 38 80 00 00 */ li r4, 0 +/* 802B51DC 002B213C 38 A0 00 00 */ li r5, 0 +/* 802B51E0 002B2140 38 C0 00 04 */ li r6, 4 +/* 802B51E4 002B2144 48 05 37 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B51E8 002B2148 38 60 00 01 */ li r3, 1 +/* 802B51EC 002B214C 38 80 00 00 */ li r4, 0 +/* 802B51F0 002B2150 38 A0 00 00 */ li r5, 0 +/* 802B51F4 002B2154 38 C0 00 FF */ li r6, 0xff +/* 802B51F8 002B2158 48 05 37 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 802B51FC 002B215C 38 60 00 01 */ li r3, 1 +/* 802B5200 002B2160 48 05 3C 15 */ bl SetNumTexGens__3CGXFUc +/* 802B5204 002B2164 38 60 00 01 */ li r3, 1 +/* 802B5208 002B2168 48 05 3C 49 */ bl SetNumChans__3CGXFUc +/* 802B520C 002B216C 38 60 00 00 */ li r3, 0 +/* 802B5210 002B2170 48 05 34 81 */ bl SetNumIndStages__3CGXFUc +/* 802B5214 002B2174 38 60 00 00 */ li r3, 0 +/* 802B5218 002B2178 38 80 00 01 */ li r4, 1 +/* 802B521C 002B217C 38 A0 00 04 */ li r5, 4 +/* 802B5220 002B2180 38 C0 00 3C */ li r6, 0x3c +/* 802B5224 002B2184 38 E0 00 00 */ li r7, 0 +/* 802B5228 002B2188 39 00 00 7D */ li r8, 0x7d +/* 802B522C 002B218C 48 05 34 A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 802B5230 002B2190 38 60 00 00 */ li r3, 0 +/* 802B5234 002B2194 38 80 00 00 */ li r4, 0 +/* 802B5238 002B2198 38 A0 00 00 */ li r5, 0 +/* 802B523C 002B219C 38 C0 00 01 */ li r6, 1 +/* 802B5240 002B21A0 38 E0 00 00 */ li r7, 0 +/* 802B5244 002B21A4 39 00 00 00 */ li r8, 0 +/* 802B5248 002B21A8 39 20 00 02 */ li r9, 2 +/* 802B524C 002B21AC 48 05 3A 81 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 802B5250 002B21B0 3C 60 80 3D */ lis r3, lbl_803D6550@ha +/* 802B5254 002B21B4 38 63 65 50 */ addi r3, r3, lbl_803D6550@l +/* 802B5258 002B21B8 48 05 2B D1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 802B525C 002B21BC 38 60 00 98 */ li r3, 0x98 +/* 802B5260 002B21C0 38 80 00 00 */ li r4, 0 +/* 802B5264 002B21C4 38 A0 00 04 */ li r5, 4 +/* 802B5268 002B21C8 48 05 33 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 802B526C 002B21CC C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B5270 002B21D0 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802B5274 002B21D4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 802B5278 002B21D8 40 82 00 8C */ bne lbl_802B5304 +/* 802B527C 002B21DC C0 21 00 08 */ lfs f1, 8(r1) +/* 802B5280 002B21E0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B5284 002B21E4 C0 02 C2 64 */ lfs f0, lbl_805ADF84@sda21(r2) +/* 802B5288 002B21E8 FC 60 08 50 */ fneg f3, f1 +/* 802B528C 002B21EC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B5290 002B21F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B5294 002B21F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B5298 002B21F8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B529C 002B21FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52A0 002B2200 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802B52A4 002B2204 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B52A8 002B2208 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802B52AC 002B220C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52B0 002B2210 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52B4 002B2214 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52B8 002B2218 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52BC 002B221C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52C0 002B2220 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 802B52C4 002B2224 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B52C8 002B2228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52CC 002B222C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52D0 002B2230 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52D4 002B2234 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52D8 002B2238 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52DC 002B223C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B52E0 002B2240 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B52E4 002B2244 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B52E8 002B2248 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B52EC 002B224C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B52F0 002B2250 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B52F4 002B2254 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B52F8 002B2258 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B52FC 002B225C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B5300 002B2260 48 00 00 D4 */ b lbl_802B53D4 +lbl_802B5304: +/* 802B5304 002B2264 C0 02 C2 50 */ lfs f0, lbl_805ADF70@sda21(r2) +/* 802B5308 002B2268 EF E0 00 72 */ fmuls f31, f0, f1 +/* 802B530C 002B226C FC 20 F8 90 */ fmr f1, f31 +/* 802B5310 002B2270 48 0D F7 CD */ bl sin +/* 802B5314 002B2274 FC 40 08 18 */ frsp f2, f1 +/* 802B5318 002B2278 C0 01 00 08 */ lfs f0, 8(r1) +/* 802B531C 002B227C FC 20 F8 90 */ fmr f1, f31 +/* 802B5320 002B2280 EF E0 00 B2 */ fmuls f31, f0, f2 +/* 802B5324 002B2284 48 0D F0 CD */ bl cos +/* 802B5328 002B2288 FC 40 08 18 */ frsp f2, f1 +/* 802B532C 002B228C C0 01 00 08 */ lfs f0, 8(r1) +/* 802B5330 002B2290 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 802B5334 002B2294 C0 A2 C2 64 */ lfs f5, lbl_805ADF84@sda21(r2) +/* 802B5338 002B2298 FC 20 F8 50 */ fneg f1, f31 +/* 802B533C 002B229C EC C0 00 B2 */ fmuls f6, f0, f2 +/* 802B5340 002B22A0 EC 1F 30 28 */ fsubs f0, f31, f6 +/* 802B5344 002B22A4 EC 86 F8 2A */ fadds f4, f6, f31 +/* 802B5348 002B22A8 EC E6 F8 28 */ fsubs f7, f6, f31 +/* 802B534C 002B22AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B5350 002B22B0 FC 00 30 50 */ fneg f0, f6 +/* 802B5354 002B22B4 FC 60 20 50 */ fneg f3, f4 +/* 802B5358 002B22B8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B535C 002B22BC FC 40 38 50 */ fneg f2, f7 +/* 802B5360 002B22C0 EC 21 30 2A */ fadds f1, f1, f6 +/* 802B5364 002B22C4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B5368 002B22C8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 802B536C 002B22CC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 802B5370 002B22D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B5374 002B22D4 C1 01 00 24 */ lfs f8, 0x24(r1) +/* 802B5378 002B22D8 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B537C 002B22DC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 802B5380 002B22E0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B5384 002B22E4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B5388 002B22E8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B538C 002B22EC D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 802B5390 002B22F0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B5394 002B22F4 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802B5398 002B22F8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B539C 002B22FC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 802B53A0 002B2300 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 802B53A4 002B2304 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B53A8 002B2308 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B53AC 002B230C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B53B0 002B2310 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 802B53B4 002B2314 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B53B8 002B2318 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 802B53BC 002B231C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 802B53C0 002B2320 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 802B53C4 002B2324 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 802B53C8 002B2328 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 802B53CC 002B232C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 802B53D0 002B2330 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +lbl_802B53D4: +/* 802B53D4 002B2334 48 05 31 AD */ bl End__3CGXFv +/* 802B53D8 002B2338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802B53DC 002B233C 41 82 00 2C */ beq lbl_802B5408 +/* 802B53E0 002B2340 38 60 00 01 */ li r3, 1 +/* 802B53E4 002B2344 38 80 00 00 */ li r4, 0 +/* 802B53E8 002B2348 38 A0 00 00 */ li r5, 0 +/* 802B53EC 002B234C 48 0C 64 45 */ bl GXSetTevSwapMode +/* 802B53F0 002B2350 38 60 00 07 */ li r3, 7 +/* 802B53F4 002B2354 38 80 00 00 */ li r4, 0 +/* 802B53F8 002B2358 38 A0 00 01 */ li r5, 1 +/* 802B53FC 002B235C 38 C0 00 07 */ li r6, 7 +/* 802B5400 002B2360 38 E0 00 00 */ li r7, 0 +/* 802B5404 002B2364 48 05 34 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +lbl_802B5408: +/* 802B5408 002B2368 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 802B540C 002B236C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802B5410 002B2370 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 802B5414 002B2374 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802B5418 002B2378 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802B541C 002B237C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 802B5420 002B2380 83 81 00 70 */ lwz r28, 0x70(r1) +/* 802B5424 002B2384 7C 08 03 A6 */ mtlr r0 +/* 802B5428 002B2388 38 21 00 90 */ addi r1, r1, 0x90 +/* 802B542C 002B238C 4E 80 00 20 */ blr + +.global "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" +"__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f": +/* 802B5430 002B2390 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B5434 002B2394 7C 08 02 A6 */ mflr r0 +/* 802B5438 002B2398 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B543C 002B239C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B5440 002B23A0 7C 7F 1B 78 */ mr r31, r3 +/* 802B5444 002B23A4 7F E0 FB 78 */ mr r0, r31 +/* 802B5448 002B23A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802B544C 002B23AC 7C BE 2B 78 */ mr r30, r5 +/* 802B5450 002B23B0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802B5454 002B23B4 7C 1D 03 78 */ mr r29, r0 +/* 802B5458 002B23B8 48 08 BA 51 */ bl __ct__6CTokenFRC6CToken +/* 802B545C 002B23BC 7F A3 EB 78 */ mr r3, r29 +/* 802B5460 002B23C0 48 08 B9 AD */ bl GetObj__6CTokenFv +/* 802B5464 002B23C4 80 03 00 04 */ lwz r0, 4(r3) +/* 802B5468 002B23C8 7F C4 F3 78 */ mr r4, r30 +/* 802B546C 002B23CC 38 7F 00 0C */ addi r3, r31, 0xc +/* 802B5470 002B23D0 90 1D 00 08 */ stw r0, 8(r29) +/* 802B5474 002B23D4 48 05 D7 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B5478 002B23D8 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B547C 002B23DC 38 E0 00 01 */ li r7, 1 +/* 802B5480 002B23E0 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 802B5484 002B23E4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802B5488 002B23E8 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 802B548C 002B23EC 38 C0 00 00 */ li r6, 0 +/* 802B5490 002B23F0 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) +/* 802B5494 002B23F4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 802B5498 002B23F8 90 DF 00 40 */ stw r6, 0x40(r31) +/* 802B549C 002B23FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B54A0 002B2400 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 +/* 802B54A4 002B2404 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 802B54A8 002B2408 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B54AC 002B240C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 802B54B0 002B2410 98 1F 00 48 */ stb r0, 0x48(r31) +/* 802B54B4 002B2414 90 DF 00 4C */ stw r6, 0x4c(r31) +/* 802B54B8 002B2418 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 802B54BC 002B241C 90 DF 00 54 */ stw r6, 0x54(r31) +/* 802B54C0 002B2420 90 DF 00 58 */ stw r6, 0x58(r31) +/* 802B54C4 002B2424 90 DF 00 5C */ stw r6, 0x5c(r31) +/* 802B54C8 002B2428 C0 05 00 00 */ lfs f0, 0(r5) +/* 802B54CC 002B242C D0 1F 00 60 */ stfs f0, 0x60(r31) +/* 802B54D0 002B2430 C0 05 00 04 */ lfs f0, 4(r5) +/* 802B54D4 002B2434 D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 802B54D8 002B2438 C0 05 00 08 */ lfs f0, 8(r5) +/* 802B54DC 002B243C D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 802B54E0 002B2440 48 05 D1 A1 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B54E4 002B2444 83 DF 00 08 */ lwz r30, 8(r31) +/* 802B54E8 002B2448 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802B54EC 002B244C 28 00 00 00 */ cmplwi r0, 0 +/* 802B54F0 002B2450 41 82 01 38 */ beq lbl_802B5628 +/* 802B54F4 002B2454 80 7E 00 00 */ lwz r3, 0(r30) +/* 802B54F8 002B2458 28 03 00 00 */ cmplwi r3, 0 +/* 802B54FC 002B245C 41 82 00 20 */ beq lbl_802B551C +/* 802B5500 002B2460 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5504 002B2464 38 BF 00 40 */ addi r5, r31, 0x40 +/* 802B5508 002B2468 38 80 00 00 */ li r4, 0 +/* 802B550C 002B246C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5510 002B2470 7D 89 03 A6 */ mtctr r12 +/* 802B5514 002B2474 4E 80 04 21 */ bctrl +/* 802B5518 002B2478 48 00 00 10 */ b lbl_802B5528 +lbl_802B551C: +/* 802B551C 002B247C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B5520 002B2480 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B5524 002B2484 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_802B5528: +/* 802B5528 002B2488 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B552C 002B248C 28 03 00 00 */ cmplwi r3, 0 +/* 802B5530 002B2490 41 82 00 44 */ beq lbl_802B5574 +/* 802B5534 002B2494 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5538 002B2498 38 BF 00 44 */ addi r5, r31, 0x44 +/* 802B553C 002B249C 38 80 00 00 */ li r4, 0 +/* 802B5540 002B24A0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5544 002B24A4 7D 89 03 A6 */ mtctr r12 +/* 802B5548 002B24A8 4E 80 04 21 */ bctrl +/* 802B554C 002B24AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 802B5550 002B24B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5554 002B24B4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5558 002B24B8 7D 89 03 A6 */ mtctr r12 +/* 802B555C 002B24BC 4E 80 04 21 */ bctrl +/* 802B5560 002B24C0 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5564 002B24C4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5568 002B24C8 7C 00 18 38 */ and r0, r0, r3 +/* 802B556C 002B24CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5570 002B24D0 98 9F 00 3C */ stb r4, 0x3c(r31) +lbl_802B5574: +/* 802B5574 002B24D4 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B5578 002B24D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B557C 002B24DC 41 82 00 78 */ beq lbl_802B55F4 +/* 802B5580 002B24E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5584 002B24E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5588 002B24E8 7D 89 03 A6 */ mtctr r12 +/* 802B558C 002B24EC 4E 80 04 21 */ bctrl +/* 802B5590 002B24F0 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5594 002B24F4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5598 002B24F8 7C 00 18 38 */ and r0, r0, r3 +/* 802B559C 002B24FC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B55A0 002B2500 98 9F 00 3C */ stb r4, 0x3c(r31) +/* 802B55A4 002B2504 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B55A8 002B2508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B55AC 002B250C 41 82 00 48 */ beq lbl_802B55F4 +/* 802B55B0 002B2510 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B55B4 002B2514 38 A1 00 0C */ addi r5, r1, 0xc +/* 802B55B8 002B2518 38 80 00 00 */ li r4, 0 +/* 802B55BC 002B251C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B55C0 002B2520 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B55C4 002B2524 81 83 00 00 */ lwz r12, 0(r3) +/* 802B55C8 002B2528 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B55CC 002B252C 7D 89 03 A6 */ mtctr r12 +/* 802B55D0 002B2530 4E 80 04 21 */ bctrl +/* 802B55D4 002B2534 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802B55D8 002B2538 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B55DC 002B253C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B55E0 002B2540 4C 40 13 82 */ cror 2, 0, 2 +/* 802B55E4 002B2544 7C 60 00 26 */ mfcr r3 +/* 802B55E8 002B2548 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B55EC 002B254C 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 +/* 802B55F0 002B2550 98 1F 00 3C */ stb r0, 0x3c(r31) +lbl_802B55F4: +/* 802B55F4 002B2554 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802B55F8 002B2558 28 03 00 00 */ cmplwi r3, 0 +/* 802B55FC 002B255C 41 82 00 48 */ beq lbl_802B5644 +/* 802B5600 002B2560 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5604 002B2564 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5608 002B2568 7D 89 03 A6 */ mtctr r12 +/* 802B560C 002B256C 4E 80 04 21 */ bctrl +/* 802B5610 002B2570 88 9F 00 3C */ lbz r4, 0x3c(r31) +/* 802B5614 002B2574 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5618 002B2578 7C 00 18 38 */ and r0, r0, r3 +/* 802B561C 002B257C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5620 002B2580 98 9F 00 3C */ stb r4, 0x3c(r31) +/* 802B5624 002B2584 48 00 00 20 */ b lbl_802B5644 +lbl_802B5628: +/* 802B5628 002B2588 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 802B562C 002B258C 38 60 00 00 */ li r3, 0 +/* 802B5630 002B2590 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B5634 002B2594 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 802B5638 002B2598 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B563C 002B259C 60 00 00 01 */ ori r0, r0, 1 +/* 802B5640 002B25A0 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B5644: +/* 802B5644 002B25A4 83 DF 00 08 */ lwz r30, 8(r31) +/* 802B5648 002B25A8 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 802B564C 002B25AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5650 002B25B0 41 82 01 38 */ beq lbl_802B5788 +/* 802B5654 002B25B4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802B5658 002B25B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B565C 002B25BC 41 82 00 20 */ beq lbl_802B567C +/* 802B5660 002B25C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5664 002B25C4 38 BF 00 4C */ addi r5, r31, 0x4c +/* 802B5668 002B25C8 38 80 00 00 */ li r4, 0 +/* 802B566C 002B25CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5670 002B25D0 7D 89 03 A6 */ mtctr r12 +/* 802B5674 002B25D4 4E 80 04 21 */ bctrl +/* 802B5678 002B25D8 48 00 00 10 */ b lbl_802B5688 +lbl_802B567C: +/* 802B567C 002B25DC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B5680 002B25E0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B5684 002B25E4 90 1F 00 4C */ stw r0, 0x4c(r31) +lbl_802B5688: +/* 802B5688 002B25E8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802B568C 002B25EC 28 03 00 00 */ cmplwi r3, 0 +/* 802B5690 002B25F0 41 82 00 44 */ beq lbl_802B56D4 +/* 802B5694 002B25F4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5698 002B25F8 38 BF 00 50 */ addi r5, r31, 0x50 +/* 802B569C 002B25FC 38 80 00 00 */ li r4, 0 +/* 802B56A0 002B2600 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B56A4 002B2604 7D 89 03 A6 */ mtctr r12 +/* 802B56A8 002B2608 4E 80 04 21 */ bctrl +/* 802B56AC 002B260C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802B56B0 002B2610 81 83 00 00 */ lwz r12, 0(r3) +/* 802B56B4 002B2614 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B56B8 002B2618 7D 89 03 A6 */ mtctr r12 +/* 802B56BC 002B261C 4E 80 04 21 */ bctrl +/* 802B56C0 002B2620 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B56C4 002B2624 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B56C8 002B2628 7C 00 18 38 */ and r0, r0, r3 +/* 802B56CC 002B262C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B56D0 002B2630 98 9F 00 48 */ stb r4, 0x48(r31) +lbl_802B56D4: +/* 802B56D4 002B2634 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802B56D8 002B2638 28 03 00 00 */ cmplwi r3, 0 +/* 802B56DC 002B263C 41 82 00 78 */ beq lbl_802B5754 +/* 802B56E0 002B2640 81 83 00 00 */ lwz r12, 0(r3) +/* 802B56E4 002B2644 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B56E8 002B2648 7D 89 03 A6 */ mtctr r12 +/* 802B56EC 002B264C 4E 80 04 21 */ bctrl +/* 802B56F0 002B2650 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B56F4 002B2654 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B56F8 002B2658 7C 00 18 38 */ and r0, r0, r3 +/* 802B56FC 002B265C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5700 002B2660 98 9F 00 48 */ stb r4, 0x48(r31) +/* 802B5704 002B2664 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B5708 002B2668 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B570C 002B266C 41 82 00 48 */ beq lbl_802B5754 +/* 802B5710 002B2670 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B5714 002B2674 38 A1 00 08 */ addi r5, r1, 8 +/* 802B5718 002B2678 38 80 00 00 */ li r4, 0 +/* 802B571C 002B267C D0 01 00 08 */ stfs f0, 8(r1) +/* 802B5720 002B2680 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 802B5724 002B2684 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5728 002B2688 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B572C 002B268C 7D 89 03 A6 */ mtctr r12 +/* 802B5730 002B2690 4E 80 04 21 */ bctrl +/* 802B5734 002B2694 C0 21 00 08 */ lfs f1, 8(r1) +/* 802B5738 002B2698 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) +/* 802B573C 002B269C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B5740 002B26A0 4C 40 13 82 */ cror 2, 0, 2 +/* 802B5744 002B26A4 7C 60 00 26 */ mfcr r3 +/* 802B5748 002B26A8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B574C 002B26AC 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 +/* 802B5750 002B26B0 98 1F 00 48 */ stb r0, 0x48(r31) +lbl_802B5754: +/* 802B5754 002B26B4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802B5758 002B26B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B575C 002B26BC 41 82 00 48 */ beq lbl_802B57A4 +/* 802B5760 002B26C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5764 002B26C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B5768 002B26C8 7D 89 03 A6 */ mtctr r12 +/* 802B576C 002B26CC 4E 80 04 21 */ bctrl +/* 802B5770 002B26D0 88 9F 00 48 */ lbz r4, 0x48(r31) +/* 802B5774 002B26D4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f +/* 802B5778 002B26D8 7C 00 18 38 */ and r0, r0, r3 +/* 802B577C 002B26DC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 802B5780 002B26E0 98 9F 00 48 */ stb r4, 0x48(r31) +/* 802B5784 002B26E4 48 00 00 20 */ b lbl_802B57A4 +lbl_802B5788: +/* 802B5788 002B26E8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 802B578C 002B26EC 38 60 00 00 */ li r3, 0 +/* 802B5790 002B26F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B5794 002B26F4 98 1F 00 48 */ stb r0, 0x48(r31) +/* 802B5798 002B26F8 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B579C 002B26FC 60 00 00 02 */ ori r0, r0, 2 +/* 802B57A0 002B2700 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B57A4: +/* 802B57A4 002B2704 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B57A8 002B2708 88 03 00 44 */ lbz r0, 0x44(r3) +/* 802B57AC 002B270C 28 00 00 00 */ cmplwi r0, 0 +/* 802B57B0 002B2710 41 82 00 64 */ beq lbl_802B5814 +/* 802B57B4 002B2714 80 63 00 48 */ lwz r3, 0x48(r3) +/* 802B57B8 002B2718 28 03 00 00 */ cmplwi r3, 0 +/* 802B57BC 002B271C 41 82 00 20 */ beq lbl_802B57DC +/* 802B57C0 002B2720 81 83 00 00 */ lwz r12, 0(r3) +/* 802B57C4 002B2724 38 BF 00 54 */ addi r5, r31, 0x54 +/* 802B57C8 002B2728 38 80 00 00 */ li r4, 0 +/* 802B57CC 002B272C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B57D0 002B2730 7D 89 03 A6 */ mtctr r12 +/* 802B57D4 002B2734 4E 80 04 21 */ bctrl +/* 802B57D8 002B2738 48 00 00 10 */ b lbl_802B57E8 +lbl_802B57DC: +/* 802B57DC 002B273C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B57E0 002B2740 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B57E4 002B2744 90 1F 00 54 */ stw r0, 0x54(r31) +lbl_802B57E8: +/* 802B57E8 002B2748 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B57EC 002B274C 80 63 00 50 */ lwz r3, 0x50(r3) +/* 802B57F0 002B2750 28 03 00 00 */ cmplwi r3, 0 +/* 802B57F4 002B2754 41 82 00 2C */ beq lbl_802B5820 +/* 802B57F8 002B2758 81 83 00 00 */ lwz r12, 0(r3) +/* 802B57FC 002B275C 38 BF 00 60 */ addi r5, r31, 0x60 +/* 802B5800 002B2760 38 80 00 00 */ li r4, 0 +/* 802B5804 002B2764 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B5808 002B2768 7D 89 03 A6 */ mtctr r12 +/* 802B580C 002B276C 4E 80 04 21 */ bctrl +/* 802B5810 002B2770 48 00 00 10 */ b lbl_802B5820 +lbl_802B5814: +/* 802B5814 002B2774 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 802B5818 002B2778 60 00 00 04 */ ori r0, r0, 4 +/* 802B581C 002B277C 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_802B5820: +/* 802B5820 002B2780 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B5824 002B2784 38 80 FF FF */ li r4, -1 +/* 802B5828 002B2788 48 05 CD DD */ bl __dt__13CGlobalRandomFv +/* 802B582C 002B278C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B5830 002B2790 7F E3 FB 78 */ mr r3, r31 +/* 802B5834 002B2794 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B5838 002B2798 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802B583C 002B279C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802B5840 002B27A0 7C 08 03 A6 */ mtlr r0 +/* 802B5844 002B27A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B5848 002B27A8 4E 80 00 20 */ blr + +.global SetGlobalSeed__6CDecalFUs +SetGlobalSeed__6CDecalFUs: +/* 802B584C 002B27AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5850 002B27B0 7C 08 02 A6 */ mflr r0 +/* 802B5854 002B27B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5858 002B27B8 7C 60 1B 78 */ mr r0, r3 +/* 802B585C 002B27BC 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 +/* 802B5860 002B27C0 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 802B5864 002B27C4 48 05 CD 81 */ bl SetSeed__9CRandom16FUi +/* 802B5868 002B27C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B586C 002B27CC 7C 08 03 A6 */ mtlr r0 +/* 802B5870 002B27D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5874 002B27D4 4E 80 00 20 */ blr + +.global __sinit_CDecal_cpp +__sinit_CDecal_cpp: +/* 802B5878 002B27D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B587C 002B27DC 7C 08 02 A6 */ mflr r0 +/* 802B5880 002B27E0 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 +/* 802B5884 002B27E4 38 80 00 63 */ li r4, 0x63 +/* 802B5888 002B27E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B588C 002B27EC 48 05 CD 61 */ bl __ct__9CRandom16FUi +/* 802B5890 002B27F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5894 002B27F4 7C 08 03 A6 */ mtlr r0 +/* 802B5898 002B27F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B589C 002B27FC 4E 80 00 20 */ blr diff --git a/asm/Weapons/CDecalDataFactory.s b/asm/Weapons/CDecalDataFactory.s new file mode 100644 index 00000000..0da1f4b4 --- /dev/null +++ b/asm/Weapons/CDecalDataFactory.s @@ -0,0 +1,1227 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool +CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool: +/* 802B3780 002B06E0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B3784 002B06E4 7C 08 02 A6 */ mflr r0 +/* 802B3788 002B06E8 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B378C 002B06EC BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802B3790 002B06F0 7C 7B 1B 78 */ mr r27, r3 +/* 802B3794 002B06F4 7C 9C 23 78 */ mr r28, r4 +/* 802B3798 002B06F8 7C BD 2B 78 */ mr r29, r5 +/* 802B379C 002B06FC 38 61 00 08 */ addi r3, r1, 8 +/* 802B37A0 002B0700 3B C0 00 00 */ li r30, 0 +/* 802B37A4 002B0704 38 80 00 63 */ li r4, 0x63 +/* 802B37A8 002B0708 48 05 EE 45 */ bl __ct__9CRandom16FUi +/* 802B37AC 002B070C 3C 60 32 52 */ lis r3, 0x32524F54@ha +/* 802B37B0 002B0710 3B E3 4F 54 */ addi r31, r3, 0x32524F54@l +/* 802B37B4 002B0714 48 00 05 30 */ b lbl_802B3CE4 +lbl_802B37B8: +/* 802B37B8 002B0718 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B37BC 002B071C 38 81 00 08 */ addi r4, r1, 8 +/* 802B37C0 002B0720 48 05 EE C1 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B37C4 002B0724 7F 83 E3 78 */ mr r3, r28 +/* 802B37C8 002B0728 48 07 4C 95 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B37CC 002B072C 7C 65 1B 78 */ mr r5, r3 +/* 802B37D0 002B0730 38 C0 00 00 */ li r6, 0 +/* 802B37D4 002B0734 7C 05 F8 00 */ cmpw r5, r31 +/* 802B37D8 002B0738 41 82 01 AC */ beq lbl_802B3984 +/* 802B37DC 002B073C 40 80 00 E0 */ bge lbl_802B38BC +/* 802B37E0 002B0740 3C 60 31 53 */ lis r3, 0x31535A45@ha +/* 802B37E4 002B0744 38 03 5A 45 */ addi r0, r3, 0x31535A45@l +/* 802B37E8 002B0748 7C 05 00 00 */ cmpw r5, r0 +/* 802B37EC 002B074C 41 82 01 94 */ beq lbl_802B3980 +/* 802B37F0 002B0750 40 80 00 68 */ bge lbl_802B3858 +/* 802B37F4 002B0754 3C 60 31 4C */ lis r3, 0x314C4654@ha +/* 802B37F8 002B0758 38 03 46 54 */ addi r0, r3, 0x314C4654@l +/* 802B37FC 002B075C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3800 002B0760 41 82 01 80 */ beq lbl_802B3980 +/* 802B3804 002B0764 40 80 00 2C */ bge lbl_802B3830 +/* 802B3808 002B0768 3C 60 31 43 */ lis r3, 0x31434C52@ha +/* 802B380C 002B076C 38 03 4C 52 */ addi r0, r3, 0x31434C52@l +/* 802B3810 002B0770 7C 05 00 00 */ cmpw r5, r0 +/* 802B3814 002B0774 41 82 01 6C */ beq lbl_802B3980 +/* 802B3818 002B0778 40 80 04 AC */ bge lbl_802B3CC4 +/* 802B381C 002B077C 3C 60 31 41 */ lis r3, 0x31414444@ha +/* 802B3820 002B0780 38 03 44 44 */ addi r0, r3, 0x31414444@l +/* 802B3824 002B0784 7C 05 00 00 */ cmpw r5, r0 +/* 802B3828 002B0788 41 82 01 58 */ beq lbl_802B3980 +/* 802B382C 002B078C 48 00 04 98 */ b lbl_802B3CC4 +lbl_802B3830: +/* 802B3830 002B0790 3C 60 31 52 */ lis r3, 0x31524F54@ha +/* 802B3834 002B0794 38 03 4F 54 */ addi r0, r3, 0x31524F54@l +/* 802B3838 002B0798 7C 05 00 00 */ cmpw r5, r0 +/* 802B383C 002B079C 41 82 01 44 */ beq lbl_802B3980 +/* 802B3840 002B07A0 40 80 04 84 */ bge lbl_802B3CC4 +/* 802B3844 002B07A4 3C 60 31 4F */ lis r3, 0x314F4646@ha +/* 802B3848 002B07A8 38 03 46 46 */ addi r0, r3, 0x314F4646@l +/* 802B384C 002B07AC 7C 05 00 00 */ cmpw r5, r0 +/* 802B3850 002B07B0 41 82 01 30 */ beq lbl_802B3980 +/* 802B3854 002B07B4 48 00 04 70 */ b lbl_802B3CC4 +lbl_802B3858: +/* 802B3858 002B07B8 3C 60 32 43 */ lis r3, 0x32434C52@ha +/* 802B385C 002B07BC 38 03 4C 52 */ addi r0, r3, 0x32434C52@l +/* 802B3860 002B07C0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3864 002B07C4 41 82 01 20 */ beq lbl_802B3984 +/* 802B3868 002B07C8 40 80 00 2C */ bge lbl_802B3894 +/* 802B386C 002B07CC 3C 60 32 41 */ lis r3, 0x32414444@ha +/* 802B3870 002B07D0 38 03 44 44 */ addi r0, r3, 0x32414444@l +/* 802B3874 002B07D4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3878 002B07D8 41 82 01 0C */ beq lbl_802B3984 +/* 802B387C 002B07DC 40 80 04 48 */ bge lbl_802B3CC4 +/* 802B3880 002B07E0 3C 60 31 54 */ lis r3, 0x31544558@ha +/* 802B3884 002B07E4 38 03 45 58 */ addi r0, r3, 0x31544558@l +/* 802B3888 002B07E8 7C 05 00 00 */ cmpw r5, r0 +/* 802B388C 002B07EC 41 82 00 F4 */ beq lbl_802B3980 +/* 802B3890 002B07F0 48 00 04 34 */ b lbl_802B3CC4 +lbl_802B3894: +/* 802B3894 002B07F4 3C 60 32 4F */ lis r3, 0x324F4646@ha +/* 802B3898 002B07F8 38 03 46 46 */ addi r0, r3, 0x324F4646@l +/* 802B389C 002B07FC 7C 05 00 00 */ cmpw r5, r0 +/* 802B38A0 002B0800 41 82 00 E4 */ beq lbl_802B3984 +/* 802B38A4 002B0804 40 80 04 20 */ bge lbl_802B3CC4 +/* 802B38A8 002B0808 3C 60 32 4C */ lis r3, 0x324C4654@ha +/* 802B38AC 002B080C 38 03 46 54 */ addi r0, r3, 0x324C4654@l +/* 802B38B0 002B0810 7C 05 00 00 */ cmpw r5, r0 +/* 802B38B4 002B0814 41 82 00 D0 */ beq lbl_802B3984 +/* 802B38B8 002B0818 48 00 04 0C */ b lbl_802B3CC4 +lbl_802B38BC: +/* 802B38BC 002B081C 3C 80 44 4D */ lis r4, 0x444D444C@ha +/* 802B38C0 002B0820 38 04 44 4C */ addi r0, r4, 0x444D444C@l +/* 802B38C4 002B0824 7C 05 00 00 */ cmpw r5, r0 +/* 802B38C8 002B0828 41 82 00 E0 */ beq lbl_802B39A8 +/* 802B38CC 002B082C 40 80 00 60 */ bge lbl_802B392C +/* 802B38D0 002B0830 3C 60 44 4C */ lis r3, 0x444C4654@ha +/* 802B38D4 002B0834 38 03 46 54 */ addi r0, r3, 0x444C4654@l +/* 802B38D8 002B0838 7C 05 00 00 */ cmpw r5, r0 +/* 802B38DC 002B083C 41 82 02 98 */ beq lbl_802B3B74 +/* 802B38E0 002B0840 40 80 00 2C */ bge lbl_802B390C +/* 802B38E4 002B0844 3C 60 32 54 */ lis r3, 0x32544558@ha +/* 802B38E8 002B0848 38 03 45 58 */ addi r0, r3, 0x32544558@l +/* 802B38EC 002B084C 7C 05 00 00 */ cmpw r5, r0 +/* 802B38F0 002B0850 41 82 00 94 */ beq lbl_802B3984 +/* 802B38F4 002B0854 40 80 03 D0 */ bge lbl_802B3CC4 +/* 802B38F8 002B0858 3C 60 32 53 */ lis r3, 0x32535A45@ha +/* 802B38FC 002B085C 38 03 5A 45 */ addi r0, r3, 0x32535A45@l +/* 802B3900 002B0860 7C 05 00 00 */ cmpw r5, r0 +/* 802B3904 002B0864 41 82 00 80 */ beq lbl_802B3984 +/* 802B3908 002B0868 48 00 03 BC */ b lbl_802B3CC4 +lbl_802B390C: +/* 802B390C 002B086C 38 04 43 4C */ addi r0, r4, 0x434c +/* 802B3910 002B0870 7C 05 00 00 */ cmpw r5, r0 +/* 802B3914 002B0874 41 82 03 40 */ beq lbl_802B3C54 +/* 802B3918 002B0878 40 80 03 AC */ bge lbl_802B3CC4 +/* 802B391C 002B087C 38 04 41 42 */ addi r0, r4, 0x4142 +/* 802B3920 002B0880 7C 05 00 00 */ cmpw r5, r0 +/* 802B3924 002B0884 41 82 03 68 */ beq lbl_802B3C8C +/* 802B3928 002B0888 48 00 03 9C */ b lbl_802B3CC4 +lbl_802B392C: +/* 802B392C 002B088C 38 04 52 54 */ addi r0, r4, 0x5254 +/* 802B3930 002B0890 7C 05 00 00 */ cmpw r5, r0 +/* 802B3934 002B0894 41 82 02 B0 */ beq lbl_802B3BE4 +/* 802B3938 002B0898 40 80 00 24 */ bge lbl_802B395C +/* 802B393C 002B089C 38 04 4F 50 */ addi r0, r4, 0x4f50 +/* 802B3940 002B08A0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3944 002B08A4 41 82 02 68 */ beq lbl_802B3BAC +/* 802B3948 002B08A8 40 80 03 7C */ bge lbl_802B3CC4 +/* 802B394C 002B08AC 38 04 4F 4F */ addi r0, r4, 0x4f4f +/* 802B3950 002B08B0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3954 002B08B4 40 80 03 50 */ bge lbl_802B3CA4 +/* 802B3958 002B08B8 48 00 03 6C */ b lbl_802B3CC4 +lbl_802B395C: +/* 802B395C 002B08BC 3C 60 5F 45 */ lis r3, 0x5F454E44@ha +/* 802B3960 002B08C0 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l +/* 802B3964 002B08C4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3968 002B08C8 41 82 03 54 */ beq lbl_802B3CBC +/* 802B396C 002B08CC 40 80 03 58 */ bge lbl_802B3CC4 +/* 802B3970 002B08D0 38 04 53 43 */ addi r0, r4, 0x5343 +/* 802B3974 002B08D4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3978 002B08D8 41 82 02 A4 */ beq lbl_802B3C1C +/* 802B397C 002B08DC 48 00 03 48 */ b lbl_802B3CC4 +lbl_802B3980: +/* 802B3980 002B08E0 38 C0 00 01 */ li r6, 1 +lbl_802B3984: +/* 802B3984 002B08E4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802B3988 002B08E8 41 82 00 0C */ beq lbl_802B3994 +/* 802B398C 002B08EC 7F 66 DB 78 */ mr r6, r27 +/* 802B3990 002B08F0 48 00 00 08 */ b lbl_802B3998 +lbl_802B3994: +/* 802B3994 002B08F4 38 DB 00 1C */ addi r6, r27, 0x1c +lbl_802B3998: +/* 802B3998 002B08F8 7F 83 E3 78 */ mr r3, r28 +/* 802B399C 002B08FC 7F A4 EB 78 */ mr r4, r29 +/* 802B39A0 002B0900 48 00 04 85 */ bl GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr +/* 802B39A4 002B0904 48 00 03 34 */ b lbl_802B3CD8 +lbl_802B39A8: +/* 802B39A8 002B0908 7F 84 E3 78 */ mr r4, r28 +/* 802B39AC 002B090C 7F A5 EB 78 */ mr r5, r29 +/* 802B39B0 002B0910 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B39B4 002B0914 48 07 10 2D */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 802B39B8 002B0918 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802B39BC 002B091C 28 00 00 00 */ cmplwi r0, 0 +/* 802B39C0 002B0920 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B39C4 002B0924 41 82 00 14 */ beq lbl_802B39D8 +/* 802B39C8 002B0928 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B39CC 002B092C 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B39D0 002B0930 41 82 00 08 */ beq lbl_802B39D8 +/* 802B39D4 002B0934 48 08 D4 D5 */ bl __ct__6CTokenFRC6CToken +lbl_802B39D8: +/* 802B39D8 002B0938 88 01 00 30 */ lbz r0, 0x30(r1) +/* 802B39DC 002B093C 28 00 00 00 */ cmplwi r0, 0 +/* 802B39E0 002B0940 41 82 00 14 */ beq lbl_802B39F4 +/* 802B39E4 002B0944 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802B39E8 002B0948 41 82 00 0C */ beq lbl_802B39F4 +/* 802B39EC 002B094C 38 80 00 00 */ li r4, 0 +/* 802B39F0 002B0950 48 08 D4 51 */ bl __dt__6CTokenFv +lbl_802B39F4: +/* 802B39F4 002B0954 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B39F8 002B0958 38 60 00 00 */ li r3, 0 +/* 802B39FC 002B095C 98 61 00 30 */ stb r3, 0x30(r1) +/* 802B3A00 002B0960 28 00 00 00 */ cmplwi r0, 0 +/* 802B3A04 002B0964 41 82 00 88 */ beq lbl_802B3A8C +/* 802B3A08 002B0968 3B 41 00 1C */ addi r26, r1, 0x1c +/* 802B3A0C 002B096C 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B3A10 002B0970 7F 43 D3 78 */ mr r3, r26 +/* 802B3A14 002B0974 48 08 D4 95 */ bl __ct__6CTokenFRC6CToken +/* 802B3A18 002B0978 7F 43 D3 78 */ mr r3, r26 +/* 802B3A1C 002B097C 48 08 D3 F1 */ bl GetObj__6CTokenFv +/* 802B3A20 002B0980 80 03 00 04 */ lwz r0, 4(r3) +/* 802B3A24 002B0984 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B3A28 002B0988 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3A2C 002B098C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3A30 002B0990 40 82 00 34 */ bne lbl_802B3A64 +/* 802B3A34 002B0994 37 5B 00 38 */ addic. r26, r27, 0x38 +/* 802B3A38 002B0998 41 82 00 20 */ beq lbl_802B3A58 +/* 802B3A3C 002B099C 7F 43 D3 78 */ mr r3, r26 +/* 802B3A40 002B09A0 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B3A44 002B09A4 48 08 D4 65 */ bl __ct__6CTokenFRC6CToken +/* 802B3A48 002B09A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3A4C 002B09AC 7F 43 D3 78 */ mr r3, r26 +/* 802B3A50 002B09B0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3A54 002B09B4 48 08 D3 31 */ bl Lock__6CTokenFv +lbl_802B3A58: +/* 802B3A58 002B09B8 38 00 00 01 */ li r0, 1 +/* 802B3A5C 002B09BC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 802B3A60 002B09C0 48 00 00 1C */ b lbl_802B3A7C +lbl_802B3A64: +/* 802B3A64 002B09C4 3B 5B 00 38 */ addi r26, r27, 0x38 +/* 802B3A68 002B09C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B3A6C 002B09CC 7F 43 D3 78 */ mr r3, r26 +/* 802B3A70 002B09D0 48 08 D2 55 */ bl __as__6CTokenFRC6CToken +/* 802B3A74 002B09D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B3A78 002B09D8 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B3A7C: +/* 802B3A7C 002B09DC 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B3A80 002B09E0 38 80 00 00 */ li r4, 0 +/* 802B3A84 002B09E4 48 08 D3 BD */ bl __dt__6CTokenFv +/* 802B3A88 002B09E8 48 00 00 C4 */ b lbl_802B3B4C +lbl_802B3A8C: +/* 802B3A8C 002B09EC 3B 5B 00 38 */ addi r26, r27, 0x38 +/* 802B3A90 002B09F0 38 81 00 0C */ addi r4, r1, 0xc +/* 802B3A94 002B09F4 7C 1A 20 40 */ cmplw r26, r4 +/* 802B3A98 002B09F8 98 61 00 18 */ stb r3, 0x18(r1) +/* 802B3A9C 002B09FC 41 82 00 84 */ beq lbl_802B3B20 +/* 802B3AA0 002B0A00 28 03 00 00 */ cmplwi r3, 0 +/* 802B3AA4 002B0A04 41 82 00 50 */ beq lbl_802B3AF4 +/* 802B3AA8 002B0A08 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3AAC 002B0A0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3AB0 002B0A10 40 82 00 30 */ bne lbl_802B3AE0 +/* 802B3AB4 002B0A14 37 5B 00 38 */ addic. r26, r27, 0x38 +/* 802B3AB8 002B0A18 41 82 00 1C */ beq lbl_802B3AD4 +/* 802B3ABC 002B0A1C 7F 43 D3 78 */ mr r3, r26 +/* 802B3AC0 002B0A20 48 08 D3 E9 */ bl __ct__6CTokenFRC6CToken +/* 802B3AC4 002B0A24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3AC8 002B0A28 7F 43 D3 78 */ mr r3, r26 +/* 802B3ACC 002B0A2C 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3AD0 002B0A30 48 08 D2 B5 */ bl Lock__6CTokenFv +lbl_802B3AD4: +/* 802B3AD4 002B0A34 38 00 00 01 */ li r0, 1 +/* 802B3AD8 002B0A38 98 1B 00 44 */ stb r0, 0x44(r27) +/* 802B3ADC 002B0A3C 48 00 00 44 */ b lbl_802B3B20 +lbl_802B3AE0: +/* 802B3AE0 002B0A40 7F 43 D3 78 */ mr r3, r26 +/* 802B3AE4 002B0A44 48 08 D1 E1 */ bl __as__6CTokenFRC6CToken +/* 802B3AE8 002B0A48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3AEC 002B0A4C 90 1A 00 08 */ stw r0, 8(r26) +/* 802B3AF0 002B0A50 48 00 00 30 */ b lbl_802B3B20 +lbl_802B3AF4: +/* 802B3AF4 002B0A54 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 802B3AF8 002B0A58 28 00 00 00 */ cmplwi r0, 0 +/* 802B3AFC 002B0A5C 41 82 00 1C */ beq lbl_802B3B18 +/* 802B3B00 002B0A60 34 7B 00 38 */ addic. r3, r27, 0x38 +/* 802B3B04 002B0A64 41 82 00 14 */ beq lbl_802B3B18 +/* 802B3B08 002B0A68 28 03 00 00 */ cmplwi r3, 0 +/* 802B3B0C 002B0A6C 41 82 00 0C */ beq lbl_802B3B18 +/* 802B3B10 002B0A70 38 80 00 00 */ li r4, 0 +/* 802B3B14 002B0A74 48 08 D3 2D */ bl __dt__6CTokenFv +lbl_802B3B18: +/* 802B3B18 002B0A78 38 00 00 00 */ li r0, 0 +/* 802B3B1C 002B0A7C 98 1B 00 44 */ stb r0, 0x44(r27) +lbl_802B3B20: +/* 802B3B20 002B0A80 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802B3B24 002B0A84 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B28 002B0A88 41 82 00 1C */ beq lbl_802B3B44 +/* 802B3B2C 002B0A8C 34 61 00 0C */ addic. r3, r1, 0xc +/* 802B3B30 002B0A90 41 82 00 14 */ beq lbl_802B3B44 +/* 802B3B34 002B0A94 28 03 00 00 */ cmplwi r3, 0 +/* 802B3B38 002B0A98 41 82 00 0C */ beq lbl_802B3B44 +/* 802B3B3C 002B0A9C 38 80 00 00 */ li r4, 0 +/* 802B3B40 002B0AA0 48 08 D3 01 */ bl __dt__6CTokenFv +lbl_802B3B44: +/* 802B3B44 002B0AA4 38 00 00 00 */ li r0, 0 +/* 802B3B48 002B0AA8 98 01 00 18 */ stb r0, 0x18(r1) +lbl_802B3B4C: +/* 802B3B4C 002B0AAC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802B3B50 002B0AB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B54 002B0AB4 41 82 00 14 */ beq lbl_802B3B68 +/* 802B3B58 002B0AB8 34 61 00 34 */ addic. r3, r1, 0x34 +/* 802B3B5C 002B0ABC 41 82 00 0C */ beq lbl_802B3B68 +/* 802B3B60 002B0AC0 38 80 00 00 */ li r4, 0 +/* 802B3B64 002B0AC4 48 08 D2 DD */ bl __dt__6CTokenFv +lbl_802B3B68: +/* 802B3B68 002B0AC8 38 00 00 00 */ li r0, 0 +/* 802B3B6C 002B0ACC 98 01 00 3C */ stb r0, 0x3c(r1) +/* 802B3B70 002B0AD0 48 00 01 68 */ b lbl_802B3CD8 +lbl_802B3B74: +/* 802B3B74 002B0AD4 7F 83 E3 78 */ mr r3, r28 +/* 802B3B78 002B0AD8 48 07 40 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B3B7C 002B0ADC 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 802B3B80 002B0AE0 7C 7A 1B 78 */ mr r26, r3 +/* 802B3B84 002B0AE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3B88 002B0AE8 41 82 00 1C */ beq lbl_802B3BA4 +/* 802B3B8C 002B0AEC 7C 03 03 78 */ mr r3, r0 +/* 802B3B90 002B0AF0 38 80 00 01 */ li r4, 1 +/* 802B3B94 002B0AF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3B98 002B0AF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3B9C 002B0AFC 7D 89 03 A6 */ mtctr r12 +/* 802B3BA0 002B0B00 4E 80 04 21 */ bctrl +lbl_802B3BA4: +/* 802B3BA4 002B0B04 93 5B 00 48 */ stw r26, 0x48(r27) +/* 802B3BA8 002B0B08 48 00 01 30 */ b lbl_802B3CD8 +lbl_802B3BAC: +/* 802B3BAC 002B0B0C 7F 83 E3 78 */ mr r3, r28 +/* 802B3BB0 002B0B10 48 07 26 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3BB4 002B0B14 80 1B 00 4C */ lwz r0, 0x4c(r27) +/* 802B3BB8 002B0B18 7C 7A 1B 78 */ mr r26, r3 +/* 802B3BBC 002B0B1C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3BC0 002B0B20 41 82 00 1C */ beq lbl_802B3BDC +/* 802B3BC4 002B0B24 7C 03 03 78 */ mr r3, r0 +/* 802B3BC8 002B0B28 38 80 00 01 */ li r4, 1 +/* 802B3BCC 002B0B2C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3BD0 002B0B30 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3BD4 002B0B34 7D 89 03 A6 */ mtctr r12 +/* 802B3BD8 002B0B38 4E 80 04 21 */ bctrl +lbl_802B3BDC: +/* 802B3BDC 002B0B3C 93 5B 00 4C */ stw r26, 0x4c(r27) +/* 802B3BE0 002B0B40 48 00 00 F8 */ b lbl_802B3CD8 +lbl_802B3BE4: +/* 802B3BE4 002B0B44 7F 83 E3 78 */ mr r3, r28 +/* 802B3BE8 002B0B48 48 07 26 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3BEC 002B0B4C 80 1B 00 50 */ lwz r0, 0x50(r27) +/* 802B3BF0 002B0B50 7C 7A 1B 78 */ mr r26, r3 +/* 802B3BF4 002B0B54 28 00 00 00 */ cmplwi r0, 0 +/* 802B3BF8 002B0B58 41 82 00 1C */ beq lbl_802B3C14 +/* 802B3BFC 002B0B5C 7C 03 03 78 */ mr r3, r0 +/* 802B3C00 002B0B60 38 80 00 01 */ li r4, 1 +/* 802B3C04 002B0B64 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C08 002B0B68 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C0C 002B0B6C 7D 89 03 A6 */ mtctr r12 +/* 802B3C10 002B0B70 4E 80 04 21 */ bctrl +lbl_802B3C14: +/* 802B3C14 002B0B74 93 5B 00 50 */ stw r26, 0x50(r27) +/* 802B3C18 002B0B78 48 00 00 C0 */ b lbl_802B3CD8 +lbl_802B3C1C: +/* 802B3C1C 002B0B7C 7F 83 E3 78 */ mr r3, r28 +/* 802B3C20 002B0B80 48 07 26 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3C24 002B0B84 80 1B 00 54 */ lwz r0, 0x54(r27) +/* 802B3C28 002B0B88 7C 7A 1B 78 */ mr r26, r3 +/* 802B3C2C 002B0B8C 28 00 00 00 */ cmplwi r0, 0 +/* 802B3C30 002B0B90 41 82 00 1C */ beq lbl_802B3C4C +/* 802B3C34 002B0B94 7C 03 03 78 */ mr r3, r0 +/* 802B3C38 002B0B98 38 80 00 01 */ li r4, 1 +/* 802B3C3C 002B0B9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C40 002B0BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C44 002B0BA4 7D 89 03 A6 */ mtctr r12 +/* 802B3C48 002B0BA8 4E 80 04 21 */ bctrl +lbl_802B3C4C: +/* 802B3C4C 002B0BAC 93 5B 00 54 */ stw r26, 0x54(r27) +/* 802B3C50 002B0BB0 48 00 00 88 */ b lbl_802B3CD8 +lbl_802B3C54: +/* 802B3C54 002B0BB4 7F 83 E3 78 */ mr r3, r28 +/* 802B3C58 002B0BB8 48 07 16 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3C5C 002B0BBC 80 1B 00 58 */ lwz r0, 0x58(r27) +/* 802B3C60 002B0BC0 7C 7A 1B 78 */ mr r26, r3 +/* 802B3C64 002B0BC4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3C68 002B0BC8 41 82 00 1C */ beq lbl_802B3C84 +/* 802B3C6C 002B0BCC 7C 03 03 78 */ mr r3, r0 +/* 802B3C70 002B0BD0 38 80 00 01 */ li r4, 1 +/* 802B3C74 002B0BD4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3C78 002B0BD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3C7C 002B0BDC 7D 89 03 A6 */ mtctr r12 +/* 802B3C80 002B0BE0 4E 80 04 21 */ bctrl +lbl_802B3C84: +/* 802B3C84 002B0BE4 93 5B 00 58 */ stw r26, 0x58(r27) +/* 802B3C88 002B0BE8 48 00 00 50 */ b lbl_802B3CD8 +lbl_802B3C8C: +/* 802B3C8C 002B0BEC 7F 83 E3 78 */ mr r3, r28 +/* 802B3C90 002B0BF0 48 07 47 99 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B3C94 002B0BF4 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 802B3C98 002B0BF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802B3C9C 002B0BFC 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 802B3CA0 002B0C00 48 00 00 38 */ b lbl_802B3CD8 +lbl_802B3CA4: +/* 802B3CA4 002B0C04 7F 83 E3 78 */ mr r3, r28 +/* 802B3CA8 002B0C08 48 07 47 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B3CAC 002B0C0C 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 802B3CB0 002B0C10 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802B3CB4 002B0C14 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 802B3CB8 002B0C18 48 00 00 20 */ b lbl_802B3CD8 +lbl_802B3CBC: +/* 802B3CBC 002B0C1C 3B C0 00 01 */ li r30, 1 +/* 802B3CC0 002B0C20 48 00 00 18 */ b lbl_802B3CD8 +lbl_802B3CC4: +/* 802B3CC4 002B0C24 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B3CC8 002B0C28 38 80 FF FF */ li r4, -1 +/* 802B3CCC 002B0C2C 48 05 E9 39 */ bl __dt__13CGlobalRandomFv +/* 802B3CD0 002B0C30 38 60 00 00 */ li r3, 0 +/* 802B3CD4 002B0C34 48 00 00 1C */ b lbl_802B3CF0 +lbl_802B3CD8: +/* 802B3CD8 002B0C38 38 61 00 40 */ addi r3, r1, 0x40 +/* 802B3CDC 002B0C3C 38 80 FF FF */ li r4, -1 +/* 802B3CE0 002B0C40 48 05 E9 25 */ bl __dt__13CGlobalRandomFv +lbl_802B3CE4: +/* 802B3CE4 002B0C44 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 802B3CE8 002B0C48 41 82 FA D0 */ beq lbl_802B37B8 +/* 802B3CEC 002B0C4C 38 60 00 01 */ li r3, 1 +lbl_802B3CF0: +/* 802B3CF0 002B0C50 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802B3CF4 002B0C54 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B3CF8 002B0C58 7C 08 03 A6 */ mtlr r0 +/* 802B3CFC 002B0C5C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B3D00 002B0C60 4E 80 00 20 */ blr + +.global __dt__13CColorElement +__dt__13CColorElement: +/* 802B3D04 002B0C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3D08 002B0C68 7C 08 02 A6 */ mflr r0 +/* 802B3D0C 002B0C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3D10 002B0C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3D14 002B0C74 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3D18 002B0C78 41 82 00 34 */ beq lbl_802B3D4C +/* 802B3D1C 002B0C7C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 802B3D20 002B0C80 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 802B3D24 002B0C84 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3D28 002B0C88 41 82 00 10 */ beq lbl_802B3D38 +/* 802B3D2C 002B0C8C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3D30 002B0C90 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3D34 002B0C94 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3D38: +/* 802B3D38 002B0C98 7C 80 07 35 */ extsh. r0, r4 +/* 802B3D3C 002B0C9C 40 81 00 10 */ ble lbl_802B3D4C +/* 802B3D40 002B0CA0 7F E3 FB 78 */ mr r3, r31 +/* 802B3D44 002B0CA4 38 80 00 04 */ li r4, 4 +/* 802B3D48 002B0CA8 48 0B 8D 1D */ bl sub_8036ca64 +lbl_802B3D4C: +/* 802B3D4C 002B0CAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3D50 002B0CB0 7F E3 FB 78 */ mr r3, r31 +/* 802B3D54 002B0CB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3D58 002B0CB8 7C 08 03 A6 */ mtlr r0 +/* 802B3D5C 002B0CBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3D60 002B0CC0 4E 80 00 20 */ blr + +.global __dt__14CVectorElement +__dt__14CVectorElement: +/* 802B3D64 002B0CC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3D68 002B0CC8 7C 08 02 A6 */ mflr r0 +/* 802B3D6C 002B0CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3D70 002B0CD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3D74 002B0CD4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3D78 002B0CD8 41 82 00 34 */ beq lbl_802B3DAC +/* 802B3D7C 002B0CDC 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 802B3D80 002B0CE0 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 802B3D84 002B0CE4 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3D88 002B0CE8 41 82 00 10 */ beq lbl_802B3D98 +/* 802B3D8C 002B0CEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3D90 002B0CF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3D94 002B0CF4 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3D98: +/* 802B3D98 002B0CF8 7C 80 07 35 */ extsh. r0, r4 +/* 802B3D9C 002B0CFC 40 81 00 10 */ ble lbl_802B3DAC +/* 802B3DA0 002B0D00 7F E3 FB 78 */ mr r3, r31 +/* 802B3DA4 002B0D04 38 80 00 04 */ li r4, 4 +/* 802B3DA8 002B0D08 48 0B 8C BD */ bl sub_8036ca64 +lbl_802B3DAC: +/* 802B3DAC 002B0D0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3DB0 002B0D10 7F E3 FB 78 */ mr r3, r31 +/* 802B3DB4 002B0D14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3DB8 002B0D18 7C 08 03 A6 */ mtlr r0 +/* 802B3DBC 002B0D1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3DC0 002B0D20 4E 80 00 20 */ blr + +.global __dt__11CIntElement +__dt__11CIntElement: +/* 802B3DC4 002B0D24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3DC8 002B0D28 7C 08 02 A6 */ mflr r0 +/* 802B3DCC 002B0D2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3DD0 002B0D30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3DD4 002B0D34 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3DD8 002B0D38 41 82 00 34 */ beq lbl_802B3E0C +/* 802B3DDC 002B0D3C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 802B3DE0 002B0D40 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 802B3DE4 002B0D44 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3DE8 002B0D48 41 82 00 10 */ beq lbl_802B3DF8 +/* 802B3DEC 002B0D4C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B3DF0 002B0D50 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B3DF4 002B0D54 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3DF8: +/* 802B3DF8 002B0D58 7C 80 07 35 */ extsh. r0, r4 +/* 802B3DFC 002B0D5C 40 81 00 10 */ ble lbl_802B3E0C +/* 802B3E00 002B0D60 7F E3 FB 78 */ mr r3, r31 +/* 802B3E04 002B0D64 38 80 00 04 */ li r4, 4 +/* 802B3E08 002B0D68 48 0B 8C 5D */ bl sub_8036ca64 +lbl_802B3E0C: +/* 802B3E0C 002B0D6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3E10 002B0D70 7F E3 FB 78 */ mr r3, r31 +/* 802B3E14 002B0D74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3E18 002B0D78 7C 08 03 A6 */ mtlr r0 +/* 802B3E1C 002B0D7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3E20 002B0D80 4E 80 00 20 */ blr + +.global GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr +GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr: +/* 802B3E24 002B0D84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3E28 002B0D88 7C 08 02 A6 */ mflr r0 +/* 802B3E2C 002B0D8C 3C E0 32 41 */ lis r7, 0x32414444@ha +/* 802B3E30 002B0D90 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3E34 002B0D94 38 07 44 44 */ addi r0, r7, 0x32414444@l +/* 802B3E38 002B0D98 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E3C 002B0D9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3E40 002B0DA0 7C DF 33 78 */ mr r31, r6 +/* 802B3E44 002B0DA4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B3E48 002B0DA8 41 82 02 44 */ beq lbl_802B408C +/* 802B3E4C 002B0DAC 40 80 00 90 */ bge lbl_802B3EDC +/* 802B3E50 002B0DB0 3C C0 31 4F */ lis r6, 0x314F4646@ha +/* 802B3E54 002B0DB4 38 06 46 46 */ addi r0, r6, 0x314F4646@l +/* 802B3E58 002B0DB8 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E5C 002B0DBC 41 82 01 94 */ beq lbl_802B3FF0 +/* 802B3E60 002B0DC0 40 80 00 40 */ bge lbl_802B3EA0 +/* 802B3E64 002B0DC4 3C 80 31 43 */ lis r4, 0x31434C52@ha +/* 802B3E68 002B0DC8 38 04 4C 52 */ addi r0, r4, 0x31434C52@l +/* 802B3E6C 002B0DCC 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E70 002B0DD0 41 82 01 B4 */ beq lbl_802B4024 +/* 802B3E74 002B0DD4 40 80 00 18 */ bge lbl_802B3E8C +/* 802B3E78 002B0DD8 3C 80 31 41 */ lis r4, 0x31414444@ha +/* 802B3E7C 002B0DDC 38 04 44 44 */ addi r0, r4, 0x31414444@l +/* 802B3E80 002B0DE0 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E84 002B0DE4 41 82 02 08 */ beq lbl_802B408C +/* 802B3E88 002B0DE8 48 00 02 0C */ b lbl_802B4094 +lbl_802B3E8C: +/* 802B3E8C 002B0DEC 3C 80 31 4C */ lis r4, 0x314C4654@ha +/* 802B3E90 002B0DF0 38 04 46 54 */ addi r0, r4, 0x314C4654@l +/* 802B3E94 002B0DF4 7C 05 00 00 */ cmpw r5, r0 +/* 802B3E98 002B0DF8 41 82 00 BC */ beq lbl_802B3F54 +/* 802B3E9C 002B0DFC 48 00 01 F8 */ b lbl_802B4094 +lbl_802B3EA0: +/* 802B3EA0 002B0E00 3C C0 31 53 */ lis r6, 0x31535A45@ha +/* 802B3EA4 002B0E04 38 06 5A 45 */ addi r0, r6, 0x31535A45@l +/* 802B3EA8 002B0E08 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EAC 002B0E0C 41 82 00 DC */ beq lbl_802B3F88 +/* 802B3EB0 002B0E10 40 80 00 18 */ bge lbl_802B3EC8 +/* 802B3EB4 002B0E14 3C 80 31 52 */ lis r4, 0x31524F54@ha +/* 802B3EB8 002B0E18 38 04 4F 54 */ addi r0, r4, 0x31524F54@l +/* 802B3EBC 002B0E1C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EC0 002B0E20 41 82 00 FC */ beq lbl_802B3FBC +/* 802B3EC4 002B0E24 48 00 01 D0 */ b lbl_802B4094 +lbl_802B3EC8: +/* 802B3EC8 002B0E28 3C C0 31 54 */ lis r6, 0x31544558@ha +/* 802B3ECC 002B0E2C 38 06 45 58 */ addi r0, r6, 0x31544558@l +/* 802B3ED0 002B0E30 7C 05 00 00 */ cmpw r5, r0 +/* 802B3ED4 002B0E34 41 82 01 84 */ beq lbl_802B4058 +/* 802B3ED8 002B0E38 48 00 01 BC */ b lbl_802B4094 +lbl_802B3EDC: +/* 802B3EDC 002B0E3C 3C C0 32 52 */ lis r6, 0x32524F54@ha +/* 802B3EE0 002B0E40 38 06 4F 54 */ addi r0, r6, 0x32524F54@l +/* 802B3EE4 002B0E44 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EE8 002B0E48 41 82 00 D4 */ beq lbl_802B3FBC +/* 802B3EEC 002B0E4C 40 80 00 40 */ bge lbl_802B3F2C +/* 802B3EF0 002B0E50 3C 80 32 4C */ lis r4, 0x324C4654@ha +/* 802B3EF4 002B0E54 38 04 46 54 */ addi r0, r4, 0x324C4654@l +/* 802B3EF8 002B0E58 7C 05 00 00 */ cmpw r5, r0 +/* 802B3EFC 002B0E5C 41 82 00 58 */ beq lbl_802B3F54 +/* 802B3F00 002B0E60 40 80 00 18 */ bge lbl_802B3F18 +/* 802B3F04 002B0E64 3C 80 32 43 */ lis r4, 0x32434C52@ha +/* 802B3F08 002B0E68 38 04 4C 52 */ addi r0, r4, 0x32434C52@l +/* 802B3F0C 002B0E6C 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F10 002B0E70 41 82 01 14 */ beq lbl_802B4024 +/* 802B3F14 002B0E74 48 00 01 80 */ b lbl_802B4094 +lbl_802B3F18: +/* 802B3F18 002B0E78 3C 80 32 4F */ lis r4, 0x324F4646@ha +/* 802B3F1C 002B0E7C 38 04 46 46 */ addi r0, r4, 0x324F4646@l +/* 802B3F20 002B0E80 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F24 002B0E84 41 82 00 CC */ beq lbl_802B3FF0 +/* 802B3F28 002B0E88 48 00 01 6C */ b lbl_802B4094 +lbl_802B3F2C: +/* 802B3F2C 002B0E8C 3C C0 32 54 */ lis r6, 0x32544558@ha +/* 802B3F30 002B0E90 38 06 45 58 */ addi r0, r6, 0x32544558@l +/* 802B3F34 002B0E94 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F38 002B0E98 41 82 01 20 */ beq lbl_802B4058 +/* 802B3F3C 002B0E9C 40 80 01 58 */ bge lbl_802B4094 +/* 802B3F40 002B0EA0 3C 80 32 53 */ lis r4, 0x32535A45@ha +/* 802B3F44 002B0EA4 38 04 5A 45 */ addi r0, r4, 0x32535A45@l +/* 802B3F48 002B0EA8 7C 05 00 00 */ cmpw r5, r0 +/* 802B3F4C 002B0EAC 41 82 00 3C */ beq lbl_802B3F88 +/* 802B3F50 002B0EB0 48 00 01 44 */ b lbl_802B4094 +lbl_802B3F54: +/* 802B3F54 002B0EB4 48 07 3C 51 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B3F58 002B0EB8 80 1F 00 00 */ lwz r0, 0(r31) +/* 802B3F5C 002B0EBC 7C 7E 1B 78 */ mr r30, r3 +/* 802B3F60 002B0EC0 28 00 00 00 */ cmplwi r0, 0 +/* 802B3F64 002B0EC4 41 82 00 1C */ beq lbl_802B3F80 +/* 802B3F68 002B0EC8 7C 03 03 78 */ mr r3, r0 +/* 802B3F6C 002B0ECC 38 80 00 01 */ li r4, 1 +/* 802B3F70 002B0ED0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3F74 002B0ED4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3F78 002B0ED8 7D 89 03 A6 */ mtctr r12 +/* 802B3F7C 002B0EDC 4E 80 04 21 */ bctrl +lbl_802B3F80: +/* 802B3F80 002B0EE0 93 DF 00 00 */ stw r30, 0(r31) +/* 802B3F84 002B0EE4 48 00 01 10 */ b lbl_802B4094 +lbl_802B3F88: +/* 802B3F88 002B0EE8 48 07 2D 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B3F8C 002B0EEC 80 1F 00 04 */ lwz r0, 4(r31) +/* 802B3F90 002B0EF0 7C 7E 1B 78 */ mr r30, r3 +/* 802B3F94 002B0EF4 28 00 00 00 */ cmplwi r0, 0 +/* 802B3F98 002B0EF8 41 82 00 1C */ beq lbl_802B3FB4 +/* 802B3F9C 002B0EFC 7C 03 03 78 */ mr r3, r0 +/* 802B3FA0 002B0F00 38 80 00 01 */ li r4, 1 +/* 802B3FA4 002B0F04 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3FA8 002B0F08 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3FAC 002B0F0C 7D 89 03 A6 */ mtctr r12 +/* 802B3FB0 002B0F10 4E 80 04 21 */ bctrl +lbl_802B3FB4: +/* 802B3FB4 002B0F14 93 DF 00 04 */ stw r30, 4(r31) +/* 802B3FB8 002B0F18 48 00 00 DC */ b lbl_802B4094 +lbl_802B3FBC: +/* 802B3FBC 002B0F1C 48 07 2C D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B3FC0 002B0F20 80 1F 00 08 */ lwz r0, 8(r31) +/* 802B3FC4 002B0F24 7C 7E 1B 78 */ mr r30, r3 +/* 802B3FC8 002B0F28 28 00 00 00 */ cmplwi r0, 0 +/* 802B3FCC 002B0F2C 41 82 00 1C */ beq lbl_802B3FE8 +/* 802B3FD0 002B0F30 7C 03 03 78 */ mr r3, r0 +/* 802B3FD4 002B0F34 38 80 00 01 */ li r4, 1 +/* 802B3FD8 002B0F38 81 83 00 00 */ lwz r12, 0(r3) +/* 802B3FDC 002B0F3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B3FE0 002B0F40 7D 89 03 A6 */ mtctr r12 +/* 802B3FE4 002B0F44 4E 80 04 21 */ bctrl +lbl_802B3FE8: +/* 802B3FE8 002B0F48 93 DF 00 08 */ stw r30, 8(r31) +/* 802B3FEC 002B0F4C 48 00 00 A8 */ b lbl_802B4094 +lbl_802B3FF0: +/* 802B3FF0 002B0F50 48 07 22 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B3FF4 002B0F54 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 802B3FF8 002B0F58 7C 7E 1B 78 */ mr r30, r3 +/* 802B3FFC 002B0F5C 28 00 00 00 */ cmplwi r0, 0 +/* 802B4000 002B0F60 41 82 00 1C */ beq lbl_802B401C +/* 802B4004 002B0F64 7C 03 03 78 */ mr r3, r0 +/* 802B4008 002B0F68 38 80 00 01 */ li r4, 1 +/* 802B400C 002B0F6C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4010 002B0F70 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4014 002B0F74 7D 89 03 A6 */ mtctr r12 +/* 802B4018 002B0F78 4E 80 04 21 */ bctrl +lbl_802B401C: +/* 802B401C 002B0F7C 93 DF 00 0C */ stw r30, 0xc(r31) +/* 802B4020 002B0F80 48 00 00 74 */ b lbl_802B4094 +lbl_802B4024: +/* 802B4024 002B0F84 48 07 12 39 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B4028 002B0F88 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 802B402C 002B0F8C 7C 7E 1B 78 */ mr r30, r3 +/* 802B4030 002B0F90 28 00 00 00 */ cmplwi r0, 0 +/* 802B4034 002B0F94 41 82 00 1C */ beq lbl_802B4050 +/* 802B4038 002B0F98 7C 03 03 78 */ mr r3, r0 +/* 802B403C 002B0F9C 38 80 00 01 */ li r4, 1 +/* 802B4040 002B0FA0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4044 002B0FA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4048 002B0FA8 7D 89 03 A6 */ mtctr r12 +/* 802B404C 002B0FAC 4E 80 04 21 */ bctrl +lbl_802B4050: +/* 802B4050 002B0FB0 93 DF 00 10 */ stw r30, 0x10(r31) +/* 802B4054 002B0FB4 48 00 00 40 */ b lbl_802B4094 +lbl_802B4058: +/* 802B4058 002B0FB8 48 07 0D D9 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 802B405C 002B0FBC 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802B4060 002B0FC0 7C 7E 1B 78 */ mr r30, r3 +/* 802B4064 002B0FC4 28 00 00 00 */ cmplwi r0, 0 +/* 802B4068 002B0FC8 41 82 00 1C */ beq lbl_802B4084 +/* 802B406C 002B0FCC 7C 03 03 78 */ mr r3, r0 +/* 802B4070 002B0FD0 38 80 00 01 */ li r4, 1 +/* 802B4074 002B0FD4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4078 002B0FD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B407C 002B0FDC 7D 89 03 A6 */ mtctr r12 +/* 802B4080 002B0FE0 4E 80 04 21 */ bctrl +lbl_802B4084: +/* 802B4084 002B0FE4 93 DF 00 14 */ stw r30, 0x14(r31) +/* 802B4088 002B0FE8 48 00 00 0C */ b lbl_802B4094 +lbl_802B408C: +/* 802B408C 002B0FEC 48 07 43 9D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B4090 002B0FF0 98 7F 00 18 */ stb r3, 0x18(r31) +lbl_802B4094: +/* 802B4094 002B0FF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4098 002B0FF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B409C 002B0FFC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B40A0 002B1000 7C 08 03 A6 */ mtlr r0 +/* 802B40A4 002B1004 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B40A8 002B1008 4E 80 00 20 */ blr + +.global __dt__10CUVElementFv +__dt__10CUVElementFv: +/* 802B40AC 002B100C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B40B0 002B1010 7C 08 02 A6 */ mflr r0 +/* 802B40B4 002B1014 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B40B8 002B1018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B40BC 002B101C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B40C0 002B1020 41 82 00 34 */ beq lbl_802B40F4 +/* 802B40C4 002B1024 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 802B40C8 002B1028 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 802B40CC 002B102C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B40D0 002B1030 41 82 00 10 */ beq lbl_802B40E0 +/* 802B40D4 002B1034 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B40D8 002B1038 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B40DC 002B103C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B40E0: +/* 802B40E0 002B1040 7C 80 07 35 */ extsh. r0, r4 +/* 802B40E4 002B1044 40 81 00 10 */ ble lbl_802B40F4 +/* 802B40E8 002B1048 7F E3 FB 78 */ mr r3, r31 +/* 802B40EC 002B104C 38 80 00 04 */ li r4, 4 +/* 802B40F0 002B1050 48 0B 89 75 */ bl sub_8036ca64 +lbl_802B40F4: +/* 802B40F4 002B1054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B40F8 002B1058 7F E3 FB 78 */ mr r3, r31 +/* 802B40FC 002B105C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4100 002B1060 7C 08 03 A6 */ mtlr r0 +/* 802B4104 002B1064 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4108 002B1068 4E 80 00 20 */ blr + +.global __dt__12CRealElementFv +__dt__12CRealElementFv: +/* 802B410C 002B106C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B4110 002B1070 7C 08 02 A6 */ mflr r0 +/* 802B4114 002B1074 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4118 002B1078 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B411C 002B107C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B4120 002B1080 41 82 00 34 */ beq lbl_802B4154 +/* 802B4124 002B1084 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 802B4128 002B1088 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 802B412C 002B108C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B4130 002B1090 41 82 00 10 */ beq lbl_802B4140 +/* 802B4134 002B1094 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B4138 002B1098 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B413C 002B109C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B4140: +/* 802B4140 002B10A0 7C 80 07 35 */ extsh. r0, r4 +/* 802B4144 002B10A4 40 81 00 10 */ ble lbl_802B4154 +/* 802B4148 002B10A8 7F E3 FB 78 */ mr r3, r31 +/* 802B414C 002B10AC 38 80 00 04 */ li r4, 4 +/* 802B4150 002B10B0 48 0B 89 15 */ bl sub_8036ca64 +lbl_802B4154: +/* 802B4154 002B10B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4158 002B10B8 7F E3 FB 78 */ mr r3, r31 +/* 802B415C 002B10BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4160 002B10C0 7C 08 03 A6 */ mtlr r0 +/* 802B4164 002B10C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4168 002B10C8 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B416C 002B10CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B4170 002B10D0 7C 08 02 A6 */ mflr r0 +/* 802B4174 002B10D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B4178 002B10D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B417C 002B10DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B4180 002B10E0 7C 9E 23 78 */ mr r30, r4 +/* 802B4184 002B10E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B4188 002B10E8 7C 7D 1B 78 */ mr r29, r3 +/* 802B418C 002B10EC 48 07 42 D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B4190 002B10F0 3C 03 BB B0 */ addis r0, r3, 0xbbb0 +/* 802B4194 002B10F4 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B4198 002B10F8 41 82 00 0C */ beq lbl_802B41A4 +/* 802B419C 002B10FC 38 60 00 00 */ li r3, 0 +/* 802B41A0 002B1100 48 00 00 3C */ b lbl_802B41DC +lbl_802B41A4: +/* 802B41A4 002B1104 3C 80 80 3D */ lis r4, lbl_803D6548@ha +/* 802B41A8 002B1108 38 60 00 60 */ li r3, 0x60 +/* 802B41AC 002B110C 38 84 65 48 */ addi r4, r4, lbl_803D6548@l +/* 802B41B0 002B1110 38 A0 00 00 */ li r5, 0 +/* 802B41B4 002B1114 48 06 16 B9 */ bl __nw__FUlPCcPCc +/* 802B41B8 002B1118 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B41BC 002B111C 41 82 00 0C */ beq lbl_802B41C8 +/* 802B41C0 002B1120 48 00 1B 25 */ bl __ct__17CDecalDescriptionFv +/* 802B41C4 002B1124 7C 7F 1B 78 */ mr r31, r3 +lbl_802B41C8: +/* 802B41C8 002B1128 7F E3 FB 78 */ mr r3, r31 +/* 802B41CC 002B112C 7F A4 EB 78 */ mr r4, r29 +/* 802B41D0 002B1130 7F C5 F3 78 */ mr r5, r30 +/* 802B41D4 002B1134 4B FF F5 AD */ bl CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool +/* 802B41D8 002B1138 7F E3 FB 78 */ mr r3, r31 +lbl_802B41DC: +/* 802B41DC 002B113C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B41E0 002B1140 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B41E4 002B1144 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B41E8 002B1148 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B41EC 002B114C 7C 08 03 A6 */ mtlr r0 +/* 802B41F0 002B1150 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B41F4 002B1154 4E 80 00 20 */ blr + +.global GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B41F8 002B1158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B41FC 002B115C 7C 08 02 A6 */ mflr r0 +/* 802B4200 002B1160 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4204 002B1164 4B FF FF 69 */ bl CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +/* 802B4208 002B1168 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B420C 002B116C 7C 08 03 A6 */ mtlr r0 +/* 802B4210 002B1170 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4214 002B1174 4E 80 00 20 */ blr + +.global sub_802b4218 +sub_802b4218: +/* 802B4218 002B1178 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B421C 002B117C 7C 08 02 A6 */ mflr r0 +/* 802B4220 002B1180 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4224 002B1184 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B4228 002B1188 7C 9F 23 78 */ mr r31, r4 +/* 802B422C 002B118C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B4230 002B1190 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B4234 002B1194 41 82 00 58 */ beq lbl_802B428C +/* 802B4238 002B1198 3C 60 80 3F */ lis r3, lbl_803EC548@ha +/* 802B423C 002B119C 38 03 C5 48 */ addi r0, r3, lbl_803EC548@l +/* 802B4240 002B11A0 90 1E 00 00 */ stw r0, 0(r30) +/* 802B4244 002B11A4 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B4248 002B11A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B424C 002B11AC 41 82 00 0C */ beq lbl_802B4258 +/* 802B4250 002B11B0 38 80 00 01 */ li r4, 1 +/* 802B4254 002B11B4 48 00 00 55 */ bl sub_802b42a8 +lbl_802B4258: +/* 802B4258 002B11B8 28 1E 00 00 */ cmplwi r30, 0 +/* 802B425C 002B11BC 41 82 00 20 */ beq lbl_802B427C +/* 802B4260 002B11C0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B4264 002B11C4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B4268 002B11C8 90 1E 00 00 */ stw r0, 0(r30) +/* 802B426C 002B11CC 41 82 00 10 */ beq lbl_802B427C +/* 802B4270 002B11D0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B4274 002B11D4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B4278 002B11D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B427C: +/* 802B427C 002B11DC 7F E0 07 35 */ extsh. r0, r31 +/* 802B4280 002B11E0 40 81 00 0C */ ble lbl_802B428C +/* 802B4284 002B11E4 7F C3 F3 78 */ mr r3, r30 +/* 802B4288 002B11E8 48 06 16 A9 */ bl Free__7CMemoryFPCv +lbl_802B428C: +/* 802B428C 002B11EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4290 002B11F0 7F C3 F3 78 */ mr r3, r30 +/* 802B4294 002B11F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4298 002B11F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B429C 002B11FC 7C 08 03 A6 */ mtlr r0 +/* 802B42A0 002B1200 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B42A4 002B1204 4E 80 00 20 */ blr + +.global sub_802b42a8 +sub_802b42a8: +/* 802B42A8 002B1208 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B42AC 002B120C 7C 08 02 A6 */ mflr r0 +/* 802B42B0 002B1210 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B42B4 002B1214 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B42B8 002B1218 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B42BC 002B121C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B42C0 002B1220 7C 9E 23 78 */ mr r30, r4 +/* 802B42C4 002B1224 41 82 03 00 */ beq lbl_802B45C4 +/* 802B42C8 002B1228 34 1F 00 58 */ addic. r0, r31, 0x58 +/* 802B42CC 002B122C 41 82 00 24 */ beq lbl_802B42F0 +/* 802B42D0 002B1230 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 802B42D4 002B1234 28 03 00 00 */ cmplwi r3, 0 +/* 802B42D8 002B1238 41 82 00 18 */ beq lbl_802B42F0 +/* 802B42DC 002B123C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B42E0 002B1240 38 80 00 01 */ li r4, 1 +/* 802B42E4 002B1244 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B42E8 002B1248 7D 89 03 A6 */ mtctr r12 +/* 802B42EC 002B124C 4E 80 04 21 */ bctrl +lbl_802B42F0: +/* 802B42F0 002B1250 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 802B42F4 002B1254 41 82 00 24 */ beq lbl_802B4318 +/* 802B42F8 002B1258 80 7F 00 54 */ lwz r3, 0x54(r31) +/* 802B42FC 002B125C 28 03 00 00 */ cmplwi r3, 0 +/* 802B4300 002B1260 41 82 00 18 */ beq lbl_802B4318 +/* 802B4304 002B1264 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4308 002B1268 38 80 00 01 */ li r4, 1 +/* 802B430C 002B126C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4310 002B1270 7D 89 03 A6 */ mtctr r12 +/* 802B4314 002B1274 4E 80 04 21 */ bctrl +lbl_802B4318: +/* 802B4318 002B1278 34 1F 00 50 */ addic. r0, r31, 0x50 +/* 802B431C 002B127C 41 82 00 24 */ beq lbl_802B4340 +/* 802B4320 002B1280 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 802B4324 002B1284 28 03 00 00 */ cmplwi r3, 0 +/* 802B4328 002B1288 41 82 00 18 */ beq lbl_802B4340 +/* 802B432C 002B128C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4330 002B1290 38 80 00 01 */ li r4, 1 +/* 802B4334 002B1294 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4338 002B1298 7D 89 03 A6 */ mtctr r12 +/* 802B433C 002B129C 4E 80 04 21 */ bctrl +lbl_802B4340: +/* 802B4340 002B12A0 34 1F 00 4C */ addic. r0, r31, 0x4c +/* 802B4344 002B12A4 41 82 00 24 */ beq lbl_802B4368 +/* 802B4348 002B12A8 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 802B434C 002B12AC 28 03 00 00 */ cmplwi r3, 0 +/* 802B4350 002B12B0 41 82 00 18 */ beq lbl_802B4368 +/* 802B4354 002B12B4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4358 002B12B8 38 80 00 01 */ li r4, 1 +/* 802B435C 002B12BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4360 002B12C0 7D 89 03 A6 */ mtctr r12 +/* 802B4364 002B12C4 4E 80 04 21 */ bctrl +lbl_802B4368: +/* 802B4368 002B12C8 34 1F 00 48 */ addic. r0, r31, 0x48 +/* 802B436C 002B12CC 41 82 00 24 */ beq lbl_802B4390 +/* 802B4370 002B12D0 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 802B4374 002B12D4 28 03 00 00 */ cmplwi r3, 0 +/* 802B4378 002B12D8 41 82 00 18 */ beq lbl_802B4390 +/* 802B437C 002B12DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4380 002B12E0 38 80 00 01 */ li r4, 1 +/* 802B4384 002B12E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4388 002B12E8 7D 89 03 A6 */ mtctr r12 +/* 802B438C 002B12EC 4E 80 04 21 */ bctrl +lbl_802B4390: +/* 802B4390 002B12F0 34 1F 00 38 */ addic. r0, r31, 0x38 +/* 802B4394 002B12F4 41 82 00 30 */ beq lbl_802B43C4 +/* 802B4398 002B12F8 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 802B439C 002B12FC 28 00 00 00 */ cmplwi r0, 0 +/* 802B43A0 002B1300 41 82 00 1C */ beq lbl_802B43BC +/* 802B43A4 002B1304 34 7F 00 38 */ addic. r3, r31, 0x38 +/* 802B43A8 002B1308 41 82 00 14 */ beq lbl_802B43BC +/* 802B43AC 002B130C 28 03 00 00 */ cmplwi r3, 0 +/* 802B43B0 002B1310 41 82 00 0C */ beq lbl_802B43BC +/* 802B43B4 002B1314 38 80 00 00 */ li r4, 0 +/* 802B43B8 002B1318 48 08 CA 89 */ bl __dt__6CTokenFv +lbl_802B43BC: +/* 802B43BC 002B131C 38 00 00 00 */ li r0, 0 +/* 802B43C0 002B1320 98 1F 00 44 */ stb r0, 0x44(r31) +lbl_802B43C4: +/* 802B43C4 002B1324 34 1F 00 1C */ addic. r0, r31, 0x1c +/* 802B43C8 002B1328 41 82 00 F4 */ beq lbl_802B44BC +/* 802B43CC 002B132C 34 1F 00 30 */ addic. r0, r31, 0x30 +/* 802B43D0 002B1330 41 82 00 24 */ beq lbl_802B43F4 +/* 802B43D4 002B1334 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802B43D8 002B1338 28 03 00 00 */ cmplwi r3, 0 +/* 802B43DC 002B133C 41 82 00 18 */ beq lbl_802B43F4 +/* 802B43E0 002B1340 81 83 00 00 */ lwz r12, 0(r3) +/* 802B43E4 002B1344 38 80 00 01 */ li r4, 1 +/* 802B43E8 002B1348 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B43EC 002B134C 7D 89 03 A6 */ mtctr r12 +/* 802B43F0 002B1350 4E 80 04 21 */ bctrl +lbl_802B43F4: +/* 802B43F4 002B1354 34 1F 00 2C */ addic. r0, r31, 0x2c +/* 802B43F8 002B1358 41 82 00 24 */ beq lbl_802B441C +/* 802B43FC 002B135C 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 802B4400 002B1360 28 03 00 00 */ cmplwi r3, 0 +/* 802B4404 002B1364 41 82 00 18 */ beq lbl_802B441C +/* 802B4408 002B1368 81 83 00 00 */ lwz r12, 0(r3) +/* 802B440C 002B136C 38 80 00 01 */ li r4, 1 +/* 802B4410 002B1370 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4414 002B1374 7D 89 03 A6 */ mtctr r12 +/* 802B4418 002B1378 4E 80 04 21 */ bctrl +lbl_802B441C: +/* 802B441C 002B137C 34 1F 00 28 */ addic. r0, r31, 0x28 +/* 802B4420 002B1380 41 82 00 24 */ beq lbl_802B4444 +/* 802B4424 002B1384 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 802B4428 002B1388 28 03 00 00 */ cmplwi r3, 0 +/* 802B442C 002B138C 41 82 00 18 */ beq lbl_802B4444 +/* 802B4430 002B1390 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4434 002B1394 38 80 00 01 */ li r4, 1 +/* 802B4438 002B1398 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B443C 002B139C 7D 89 03 A6 */ mtctr r12 +/* 802B4440 002B13A0 4E 80 04 21 */ bctrl +lbl_802B4444: +/* 802B4444 002B13A4 34 1F 00 24 */ addic. r0, r31, 0x24 +/* 802B4448 002B13A8 41 82 00 24 */ beq lbl_802B446C +/* 802B444C 002B13AC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802B4450 002B13B0 28 03 00 00 */ cmplwi r3, 0 +/* 802B4454 002B13B4 41 82 00 18 */ beq lbl_802B446C +/* 802B4458 002B13B8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B445C 002B13BC 38 80 00 01 */ li r4, 1 +/* 802B4460 002B13C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4464 002B13C4 7D 89 03 A6 */ mtctr r12 +/* 802B4468 002B13C8 4E 80 04 21 */ bctrl +lbl_802B446C: +/* 802B446C 002B13CC 34 1F 00 20 */ addic. r0, r31, 0x20 +/* 802B4470 002B13D0 41 82 00 24 */ beq lbl_802B4494 +/* 802B4474 002B13D4 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802B4478 002B13D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B447C 002B13DC 41 82 00 18 */ beq lbl_802B4494 +/* 802B4480 002B13E0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4484 002B13E4 38 80 00 01 */ li r4, 1 +/* 802B4488 002B13E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B448C 002B13EC 7D 89 03 A6 */ mtctr r12 +/* 802B4490 002B13F0 4E 80 04 21 */ bctrl +lbl_802B4494: +/* 802B4494 002B13F4 34 1F 00 1C */ addic. r0, r31, 0x1c +/* 802B4498 002B13F8 41 82 00 24 */ beq lbl_802B44BC +/* 802B449C 002B13FC 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B44A0 002B1400 28 03 00 00 */ cmplwi r3, 0 +/* 802B44A4 002B1404 41 82 00 18 */ beq lbl_802B44BC +/* 802B44A8 002B1408 81 83 00 00 */ lwz r12, 0(r3) +/* 802B44AC 002B140C 38 80 00 01 */ li r4, 1 +/* 802B44B0 002B1410 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B44B4 002B1414 7D 89 03 A6 */ mtctr r12 +/* 802B44B8 002B1418 4E 80 04 21 */ bctrl +lbl_802B44BC: +/* 802B44BC 002B141C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B44C0 002B1420 41 82 00 F4 */ beq lbl_802B45B4 +/* 802B44C4 002B1424 34 1F 00 14 */ addic. r0, r31, 0x14 +/* 802B44C8 002B1428 41 82 00 24 */ beq lbl_802B44EC +/* 802B44CC 002B142C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802B44D0 002B1430 28 03 00 00 */ cmplwi r3, 0 +/* 802B44D4 002B1434 41 82 00 18 */ beq lbl_802B44EC +/* 802B44D8 002B1438 81 83 00 00 */ lwz r12, 0(r3) +/* 802B44DC 002B143C 38 80 00 01 */ li r4, 1 +/* 802B44E0 002B1440 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B44E4 002B1444 7D 89 03 A6 */ mtctr r12 +/* 802B44E8 002B1448 4E 80 04 21 */ bctrl +lbl_802B44EC: +/* 802B44EC 002B144C 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 802B44F0 002B1450 41 82 00 24 */ beq lbl_802B4514 +/* 802B44F4 002B1454 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802B44F8 002B1458 28 03 00 00 */ cmplwi r3, 0 +/* 802B44FC 002B145C 41 82 00 18 */ beq lbl_802B4514 +/* 802B4500 002B1460 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4504 002B1464 38 80 00 01 */ li r4, 1 +/* 802B4508 002B1468 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B450C 002B146C 7D 89 03 A6 */ mtctr r12 +/* 802B4510 002B1470 4E 80 04 21 */ bctrl +lbl_802B4514: +/* 802B4514 002B1474 34 1F 00 0C */ addic. r0, r31, 0xc +/* 802B4518 002B1478 41 82 00 24 */ beq lbl_802B453C +/* 802B451C 002B147C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B4520 002B1480 28 03 00 00 */ cmplwi r3, 0 +/* 802B4524 002B1484 41 82 00 18 */ beq lbl_802B453C +/* 802B4528 002B1488 81 83 00 00 */ lwz r12, 0(r3) +/* 802B452C 002B148C 38 80 00 01 */ li r4, 1 +/* 802B4530 002B1490 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4534 002B1494 7D 89 03 A6 */ mtctr r12 +/* 802B4538 002B1498 4E 80 04 21 */ bctrl +lbl_802B453C: +/* 802B453C 002B149C 34 1F 00 08 */ addic. r0, r31, 8 +/* 802B4540 002B14A0 41 82 00 24 */ beq lbl_802B4564 +/* 802B4544 002B14A4 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B4548 002B14A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B454C 002B14AC 41 82 00 18 */ beq lbl_802B4564 +/* 802B4550 002B14B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B4554 002B14B4 38 80 00 01 */ li r4, 1 +/* 802B4558 002B14B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B455C 002B14BC 7D 89 03 A6 */ mtctr r12 +/* 802B4560 002B14C0 4E 80 04 21 */ bctrl +lbl_802B4564: +/* 802B4564 002B14C4 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B4568 002B14C8 41 82 00 24 */ beq lbl_802B458C +/* 802B456C 002B14CC 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B4570 002B14D0 28 03 00 00 */ cmplwi r3, 0 +/* 802B4574 002B14D4 41 82 00 18 */ beq lbl_802B458C +/* 802B4578 002B14D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B457C 002B14DC 38 80 00 01 */ li r4, 1 +/* 802B4580 002B14E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B4584 002B14E4 7D 89 03 A6 */ mtctr r12 +/* 802B4588 002B14E8 4E 80 04 21 */ bctrl +lbl_802B458C: +/* 802B458C 002B14EC 28 1F 00 00 */ cmplwi r31, 0 +/* 802B4590 002B14F0 41 82 00 24 */ beq lbl_802B45B4 +/* 802B4594 002B14F4 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B4598 002B14F8 28 03 00 00 */ cmplwi r3, 0 +/* 802B459C 002B14FC 41 82 00 18 */ beq lbl_802B45B4 +/* 802B45A0 002B1500 81 83 00 00 */ lwz r12, 0(r3) +/* 802B45A4 002B1504 38 80 00 01 */ li r4, 1 +/* 802B45A8 002B1508 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B45AC 002B150C 7D 89 03 A6 */ mtctr r12 +/* 802B45B0 002B1510 4E 80 04 21 */ bctrl +lbl_802B45B4: +/* 802B45B4 002B1514 7F C0 07 35 */ extsh. r0, r30 +/* 802B45B8 002B1518 40 81 00 0C */ ble lbl_802B45C4 +/* 802B45BC 002B151C 7F E3 FB 78 */ mr r3, r31 +/* 802B45C0 002B1520 48 06 13 71 */ bl Free__7CMemoryFPCv +lbl_802B45C4: +/* 802B45C4 002B1524 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B45C8 002B1528 7F E3 FB 78 */ mr r3, r31 +/* 802B45CC 002B152C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B45D0 002B1530 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B45D4 002B1534 7C 08 03 A6 */ mtlr r0 +/* 802B45D8 002B1538 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B45DC 002B153C 4E 80 00 20 */ blr + +.global FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B45E0 002B1540 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B45E4 002B1544 7C 08 02 A6 */ mflr r0 +/* 802B45E8 002B1548 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B45EC 002B154C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B45F0 002B1550 7C 7F 1B 78 */ mr r31, r3 +/* 802B45F4 002B1554 7C A3 2B 78 */ mr r3, r5 +/* 802B45F8 002B1558 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B45FC 002B155C 90 C1 00 08 */ stw r6, 8(r1) +/* 802B4600 002B1560 80 86 00 04 */ lwz r4, 4(r6) +/* 802B4604 002B1564 38 04 00 01 */ addi r0, r4, 1 +/* 802B4608 002B1568 90 06 00 04 */ stw r0, 4(r6) +/* 802B460C 002B156C 80 81 00 08 */ lwz r4, 8(r1) +/* 802B4610 002B1570 80 84 00 00 */ lwz r4, 0(r4) +/* 802B4614 002B1574 80 84 00 04 */ lwz r4, 4(r4) +/* 802B4618 002B1578 4B FF FB E1 */ bl GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool +/* 802B461C 002B157C 7C 60 1B 78 */ mr r0, r3 +/* 802B4620 002B1580 7F E3 FB 78 */ mr r3, r31 +/* 802B4624 002B1584 7C 04 03 78 */ mr r4, r0 +/* 802B4628 002B1588 48 00 00 21 */ bl "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" +/* 802B462C 002B158C 38 61 00 08 */ addi r3, r1, 8 +/* 802B4630 002B1590 4B D7 FC D5 */ bl sub_80034304 +/* 802B4634 002B1594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B4638 002B1598 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B463C 002B159C 7C 08 03 A6 */ mtlr r0 +/* 802B4640 002B15A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B4644 002B15A4 4E 80 00 20 */ blr + +.global "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" +"__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription": +/* 802B4648 002B15A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B464C 002B15AC 7C 08 02 A6 */ mflr r0 +/* 802B4650 002B15B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B4654 002B15B4 7C 04 00 D0 */ neg r0, r4 +/* 802B4658 002B15B8 7C 00 23 78 */ or r0, r0, r4 +/* 802B465C 002B15BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B4660 002B15C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4664 002B15C4 7C 7F 1B 78 */ mr r31, r3 +/* 802B4668 002B15C8 38 61 00 08 */ addi r3, r1, 8 +/* 802B466C 002B15CC 90 81 00 14 */ stw r4, 0x14(r1) +/* 802B4670 002B15D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B4674 002B15D4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802B4678 002B15D8 48 00 00 75 */ bl "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +/* 802B467C 002B15DC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B4680 002B15E0 38 00 00 00 */ li r0, 0 +/* 802B4684 002B15E4 98 01 00 08 */ stb r0, 8(r1) +/* 802B4688 002B15E8 7C 03 00 D0 */ neg r0, r3 +/* 802B468C 002B15EC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B4690 002B15F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4694 002B15F4 98 1F 00 00 */ stb r0, 0(r31) +/* 802B4698 002B15F8 90 7F 00 04 */ stw r3, 4(r31) +/* 802B469C 002B15FC 88 01 00 08 */ lbz r0, 8(r1) +/* 802B46A0 002B1600 28 00 00 00 */ cmplwi r0, 0 +/* 802B46A4 002B1604 41 82 00 24 */ beq lbl_802B46C8 +/* 802B46A8 002B1608 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802B46AC 002B160C 28 03 00 00 */ cmplwi r3, 0 +/* 802B46B0 002B1610 41 82 00 18 */ beq lbl_802B46C8 +/* 802B46B4 002B1614 81 83 00 00 */ lwz r12, 0(r3) +/* 802B46B8 002B1618 38 80 00 01 */ li r4, 1 +/* 802B46BC 002B161C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B46C0 002B1620 7D 89 03 A6 */ mtctr r12 +/* 802B46C4 002B1624 4E 80 04 21 */ bctrl +lbl_802B46C8: +/* 802B46C8 002B1628 38 61 00 10 */ addi r3, r1, 0x10 +/* 802B46CC 002B162C 38 80 FF FF */ li r4, -1 +/* 802B46D0 002B1630 48 00 00 E5 */ bl sub_802b47b4 +/* 802B46D4 002B1634 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B46D8 002B1638 7F E3 FB 78 */ mr r3, r31 +/* 802B46DC 002B163C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B46E0 002B1640 7C 08 03 A6 */ mtlr r0 +/* 802B46E4 002B1644 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B46E8 002B1648 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +"GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": +/* 802B46EC 002B164C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B46F0 002B1650 7C 08 02 A6 */ mflr r0 +/* 802B46F4 002B1654 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B46F8 002B1658 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B46FC 002B165C 7C 7F 1B 78 */ mr r31, r3 +/* 802B4700 002B1660 48 00 00 19 */ bl "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +/* 802B4704 002B1664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4708 002B1668 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B470C 002B166C 7C 08 03 A6 */ mtlr r0 +/* 802B4710 002B1670 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4714 002B1674 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" +"GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": +/* 802B4718 002B1678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B471C 002B167C 7C 08 02 A6 */ mflr r0 +/* 802B4720 002B1680 3C A0 80 3D */ lis r5, lbl_803D6548@ha +/* 802B4724 002B1684 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B4728 002B1688 38 05 65 48 */ addi r0, r5, lbl_803D6548@l +/* 802B472C 002B168C 38 A0 00 00 */ li r5, 0 +/* 802B4730 002B1690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B4734 002B1694 7C 9F 23 78 */ mr r31, r4 +/* 802B4738 002B1698 7C 04 03 78 */ mr r4, r0 +/* 802B473C 002B169C 93 C1 00 08 */ stw r30, 8(r1) +/* 802B4740 002B16A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B4744 002B16A4 38 60 00 08 */ li r3, 8 +/* 802B4748 002B16A8 48 06 11 25 */ bl __nw__FUlPCcPCc +/* 802B474C 002B16AC 28 03 00 00 */ cmplwi r3, 0 +/* 802B4750 002B16B0 41 82 00 38 */ beq lbl_802B4788 +/* 802B4754 002B16B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B4758 002B16B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B475C 002B16BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B4760 002B16C0 3C 80 80 3F */ lis r4, lbl_803EC548@ha +/* 802B4764 002B16C4 90 03 00 00 */ stw r0, 0(r3) +/* 802B4768 002B16C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B476C 002B16CC 38 A0 00 00 */ li r5, 0 +/* 802B4770 002B16D0 38 04 C5 48 */ addi r0, r4, lbl_803EC548@l +/* 802B4774 002B16D4 90 C3 00 00 */ stw r6, 0(r3) +/* 802B4778 002B16D8 98 BF 00 00 */ stb r5, 0(r31) +/* 802B477C 002B16DC 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B4780 002B16E0 90 83 00 04 */ stw r4, 4(r3) +/* 802B4784 002B16E4 90 03 00 00 */ stw r0, 0(r3) +lbl_802B4788: +/* 802B4788 002B16E8 7C 03 00 D0 */ neg r0, r3 +/* 802B478C 002B16EC 7C 00 1B 78 */ or r0, r0, r3 +/* 802B4790 002B16F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B4794 002B16F4 98 1E 00 00 */ stb r0, 0(r30) +/* 802B4798 002B16F8 90 7E 00 04 */ stw r3, 4(r30) +/* 802B479C 002B16FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B47A0 002B1700 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B47A4 002B1704 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B47A8 002B1708 7C 08 03 A6 */ mtlr r0 +/* 802B47AC 002B170C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B47B0 002B1710 4E 80 00 20 */ blr + +.global sub_802b47b4 +sub_802b47b4: +/* 802B47B4 002B1714 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B47B8 002B1718 7C 08 02 A6 */ mflr r0 +/* 802B47BC 002B171C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B47C0 002B1720 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B47C4 002B1724 7C 9F 23 78 */ mr r31, r4 +/* 802B47C8 002B1728 93 C1 00 08 */ stw r30, 8(r1) +/* 802B47CC 002B172C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B47D0 002B1730 41 82 00 2C */ beq lbl_802B47FC +/* 802B47D4 002B1734 88 1E 00 00 */ lbz r0, 0(r30) +/* 802B47D8 002B1738 28 00 00 00 */ cmplwi r0, 0 +/* 802B47DC 002B173C 41 82 00 10 */ beq lbl_802B47EC +/* 802B47E0 002B1740 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B47E4 002B1744 38 80 00 01 */ li r4, 1 +/* 802B47E8 002B1748 4B FF FA C1 */ bl sub_802b42a8 +lbl_802B47EC: +/* 802B47EC 002B174C 7F E0 07 35 */ extsh. r0, r31 +/* 802B47F0 002B1750 40 81 00 0C */ ble lbl_802B47FC +/* 802B47F4 002B1754 7F C3 F3 78 */ mr r3, r30 +/* 802B47F8 002B1758 48 06 11 39 */ bl Free__7CMemoryFPCv +lbl_802B47FC: +/* 802B47FC 002B175C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B4800 002B1760 7F C3 F3 78 */ mr r3, r30 +/* 802B4804 002B1764 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B4808 002B1768 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B480C 002B176C 7C 08 03 A6 */ mtlr r0 +/* 802B4810 002B1770 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B4814 002B1774 4E 80 00 20 */ blr + +.global IsConstant__12CRealElementCFv +IsConstant__12CRealElementCFv: +/* 802B4818 002B1778 38 60 00 00 */ li r3, 0 +/* 802B481C 002B177C 4E 80 00 20 */ blr + +.global IsFastConstant__14CVectorElementCFv +IsFastConstant__14CVectorElementCFv: +/* 802B4820 002B1780 38 60 00 00 */ li r3, 0 +/* 802B4824 002B1784 4E 80 00 20 */ blr diff --git a/asm/Weapons/CProjectileWeapon.s b/asm/Weapons/CProjectileWeapon.s new file mode 100644 index 00000000..0b3b2b6d --- /dev/null +++ b/asm/Weapons/CProjectileWeapon.s @@ -0,0 +1,2554 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetBounds__17CProjectileWeaponCFv +GetBounds__17CProjectileWeaponCFv: +/* 802AED08 002ABC68 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802AED0C 002ABC6C 7C 08 02 A6 */ mflr r0 +/* 802AED10 002ABC70 90 01 01 54 */ stw r0, 0x154(r1) +/* 802AED14 002ABC74 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 802AED18 002ABC78 3B E0 00 00 */ li r31, 0 +/* 802AED1C 002ABC7C 93 C1 01 48 */ stw r30, 0x148(r1) +/* 802AED20 002ABC80 7C 9E 23 78 */ mr r30, r4 +/* 802AED24 002ABC84 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 802AED28 002ABC88 93 A1 01 44 */ stw r29, 0x144(r1) +/* 802AED2C 002ABC8C 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l +/* 802AED30 002ABC90 7C 7D 1B 78 */ mr r29, r3 +/* 802AED34 002ABC94 80 9E 00 FC */ lwz r4, 0xfc(r30) +/* 802AED38 002ABC98 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802AED3C 002ABC9C C0 85 00 04 */ lfs f4, 4(r5) +/* 802AED40 002ABCA0 28 04 00 00 */ cmplwi r4, 0 +/* 802AED44 002ABCA4 C0 65 00 08 */ lfs f3, 8(r5) +/* 802AED48 002ABCA8 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802AED4C 002ABCAC C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802AED50 002ABCB0 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AED54 002ABCB4 D0 A1 01 20 */ stfs f5, 0x120(r1) +/* 802AED58 002ABCB8 D0 81 01 24 */ stfs f4, 0x124(r1) +/* 802AED5C 002ABCBC D0 61 01 28 */ stfs f3, 0x128(r1) +/* 802AED60 002ABCC0 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802AED64 002ABCC4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AED68 002ABCC8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AED6C 002ABCCC 41 82 00 9C */ beq lbl_802AEE08 +/* 802AED70 002ABCD0 81 84 00 00 */ lwz r12, 0(r4) +/* 802AED74 002ABCD4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AED78 002ABCD8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AED7C 002ABCDC 7D 89 03 A6 */ mtctr r12 +/* 802AED80 002ABCE0 4E 80 04 21 */ bctrl +/* 802AED84 002ABCE4 88 01 00 90 */ lbz r0, 0x90(r1) +/* 802AED88 002ABCE8 28 00 00 00 */ cmplwi r0, 0 +/* 802AED8C 002ABCEC 98 01 01 1C */ stb r0, 0x11c(r1) +/* 802AED90 002ABCF0 41 82 00 3C */ beq lbl_802AEDCC +/* 802AED94 002ABCF4 34 61 01 04 */ addic. r3, r1, 0x104 +/* 802AED98 002ABCF8 41 82 00 34 */ beq lbl_802AEDCC +/* 802AED9C 002ABCFC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802AEDA0 002ABD00 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEDA4 002ABD04 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802AEDA8 002ABD08 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEDAC 002ABD0C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802AEDB0 002ABD10 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEDB4 002ABD14 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802AEDB8 002ABD18 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEDBC 002ABD1C C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802AEDC0 002ABD20 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEDC4 002ABD24 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802AEDC8 002ABD28 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEDCC: +/* 802AEDCC 002ABD2C 88 01 01 1C */ lbz r0, 0x11c(r1) +/* 802AEDD0 002ABD30 38 60 00 00 */ li r3, 0 +/* 802AEDD4 002ABD34 98 61 00 90 */ stb r3, 0x90(r1) +/* 802AEDD8 002ABD38 28 00 00 00 */ cmplwi r0, 0 +/* 802AEDDC 002ABD3C 41 82 00 24 */ beq lbl_802AEE00 +/* 802AEDE0 002ABD40 3B E1 01 04 */ addi r31, r1, 0x104 +/* 802AEDE4 002ABD44 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEDE8 002ABD48 7F E4 FB 78 */ mr r4, r31 +/* 802AEDEC 002ABD4C 48 08 8D 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEDF0 002ABD50 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEDF4 002ABD54 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEDF8 002ABD58 48 08 8D 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEDFC 002ABD5C 3B E0 00 01 */ li r31, 1 +lbl_802AEE00: +/* 802AEE00 002ABD60 38 00 00 00 */ li r0, 0 +/* 802AEE04 002ABD64 98 01 01 1C */ stb r0, 0x11c(r1) +lbl_802AEE08: +/* 802AEE08 002ABD68 80 9E 01 00 */ lwz r4, 0x100(r30) +/* 802AEE0C 002ABD6C 28 04 00 00 */ cmplwi r4, 0 +/* 802AEE10 002ABD70 41 82 00 9C */ beq lbl_802AEEAC +/* 802AEE14 002ABD74 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEE18 002ABD78 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AEE1C 002ABD7C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEE20 002ABD80 7D 89 03 A6 */ mtctr r12 +/* 802AEE24 002ABD84 4E 80 04 21 */ bctrl +/* 802AEE28 002ABD88 88 01 00 74 */ lbz r0, 0x74(r1) +/* 802AEE2C 002ABD8C 28 00 00 00 */ cmplwi r0, 0 +/* 802AEE30 002ABD90 98 01 01 00 */ stb r0, 0x100(r1) +/* 802AEE34 002ABD94 41 82 00 3C */ beq lbl_802AEE70 +/* 802AEE38 002ABD98 34 61 00 E8 */ addic. r3, r1, 0xe8 +/* 802AEE3C 002ABD9C 41 82 00 34 */ beq lbl_802AEE70 +/* 802AEE40 002ABDA0 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802AEE44 002ABDA4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEE48 002ABDA8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 802AEE4C 002ABDAC D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEE50 002ABDB0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 802AEE54 002ABDB4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEE58 002ABDB8 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802AEE5C 002ABDBC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEE60 002ABDC0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802AEE64 002ABDC4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEE68 002ABDC8 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802AEE6C 002ABDCC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEE70: +/* 802AEE70 002ABDD0 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AEE74 002ABDD4 38 60 00 00 */ li r3, 0 +/* 802AEE78 002ABDD8 98 61 00 74 */ stb r3, 0x74(r1) +/* 802AEE7C 002ABDDC 28 00 00 00 */ cmplwi r0, 0 +/* 802AEE80 002ABDE0 41 82 00 24 */ beq lbl_802AEEA4 +/* 802AEE84 002ABDE4 3B E1 00 E8 */ addi r31, r1, 0xe8 +/* 802AEE88 002ABDE8 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEE8C 002ABDEC 7F E4 FB 78 */ mr r4, r31 +/* 802AEE90 002ABDF0 48 08 8C 79 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEE94 002ABDF4 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEE98 002ABDF8 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEE9C 002ABDFC 48 08 8C 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEEA0 002ABE00 3B E0 00 01 */ li r31, 1 +lbl_802AEEA4: +/* 802AEEA4 002ABE04 38 00 00 00 */ li r0, 0 +/* 802AEEA8 002ABE08 98 01 01 00 */ stb r0, 0x100(r1) +lbl_802AEEAC: +/* 802AEEAC 002ABE0C 80 9E 01 18 */ lwz r4, 0x118(r30) +/* 802AEEB0 002ABE10 28 04 00 00 */ cmplwi r4, 0 +/* 802AEEB4 002ABE14 41 82 00 9C */ beq lbl_802AEF50 +/* 802AEEB8 002ABE18 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEEBC 002ABE1C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AEEC0 002ABE20 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEEC4 002ABE24 7D 89 03 A6 */ mtctr r12 +/* 802AEEC8 002ABE28 4E 80 04 21 */ bctrl +/* 802AEECC 002ABE2C 88 01 00 58 */ lbz r0, 0x58(r1) +/* 802AEED0 002ABE30 28 00 00 00 */ cmplwi r0, 0 +/* 802AEED4 002ABE34 98 01 00 E4 */ stb r0, 0xe4(r1) +/* 802AEED8 002ABE38 41 82 00 3C */ beq lbl_802AEF14 +/* 802AEEDC 002ABE3C 34 61 00 CC */ addic. r3, r1, 0xcc +/* 802AEEE0 002ABE40 41 82 00 34 */ beq lbl_802AEF14 +/* 802AEEE4 002ABE44 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802AEEE8 002ABE48 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEEEC 002ABE4C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802AEEF0 002ABE50 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEEF4 002ABE54 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802AEEF8 002ABE58 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEEFC 002ABE5C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802AEF00 002ABE60 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEF04 002ABE64 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802AEF08 002ABE68 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEF0C 002ABE6C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802AEF10 002ABE70 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEF14: +/* 802AEF14 002ABE74 88 01 00 E4 */ lbz r0, 0xe4(r1) +/* 802AEF18 002ABE78 38 60 00 00 */ li r3, 0 +/* 802AEF1C 002ABE7C 98 61 00 58 */ stb r3, 0x58(r1) +/* 802AEF20 002ABE80 28 00 00 00 */ cmplwi r0, 0 +/* 802AEF24 002ABE84 41 82 00 24 */ beq lbl_802AEF48 +/* 802AEF28 002ABE88 3B E1 00 CC */ addi r31, r1, 0xcc +/* 802AEF2C 002ABE8C 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEF30 002ABE90 7F E4 FB 78 */ mr r4, r31 +/* 802AEF34 002ABE94 48 08 8B D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEF38 002ABE98 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEF3C 002ABE9C 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEF40 002ABEA0 48 08 8B C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEF44 002ABEA4 3B E0 00 01 */ li r31, 1 +lbl_802AEF48: +/* 802AEF48 002ABEA8 38 00 00 00 */ li r0, 0 +/* 802AEF4C 002ABEAC 98 01 00 E4 */ stb r0, 0xe4(r1) +lbl_802AEF50: +/* 802AEF50 002ABEB0 80 9E 01 1C */ lwz r4, 0x11c(r30) +/* 802AEF54 002ABEB4 28 04 00 00 */ cmplwi r4, 0 +/* 802AEF58 002ABEB8 41 82 00 9C */ beq lbl_802AEFF4 +/* 802AEF5C 002ABEBC 81 84 00 00 */ lwz r12, 0(r4) +/* 802AEF60 002ABEC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802AEF64 002ABEC4 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AEF68 002ABEC8 7D 89 03 A6 */ mtctr r12 +/* 802AEF6C 002ABECC 4E 80 04 21 */ bctrl +/* 802AEF70 002ABED0 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 802AEF74 002ABED4 28 00 00 00 */ cmplwi r0, 0 +/* 802AEF78 002ABED8 98 01 00 C8 */ stb r0, 0xc8(r1) +/* 802AEF7C 002ABEDC 41 82 00 3C */ beq lbl_802AEFB8 +/* 802AEF80 002ABEE0 34 61 00 B0 */ addic. r3, r1, 0xb0 +/* 802AEF84 002ABEE4 41 82 00 34 */ beq lbl_802AEFB8 +/* 802AEF88 002ABEE8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEF8C 002ABEEC D0 03 00 00 */ stfs f0, 0(r3) +/* 802AEF90 002ABEF0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEF94 002ABEF4 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AEF98 002ABEF8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802AEF9C 002ABEFC D0 03 00 08 */ stfs f0, 8(r3) +/* 802AEFA0 002ABF00 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802AEFA4 002ABF04 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AEFA8 002ABF08 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AEFAC 002ABF0C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AEFB0 002ABF10 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802AEFB4 002ABF14 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AEFB8: +/* 802AEFB8 002ABF18 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 802AEFBC 002ABF1C 38 60 00 00 */ li r3, 0 +/* 802AEFC0 002ABF20 98 61 00 3C */ stb r3, 0x3c(r1) +/* 802AEFC4 002ABF24 28 00 00 00 */ cmplwi r0, 0 +/* 802AEFC8 002ABF28 41 82 00 24 */ beq lbl_802AEFEC +/* 802AEFCC 002ABF2C 3B E1 00 B0 */ addi r31, r1, 0xb0 +/* 802AEFD0 002ABF30 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEFD4 002ABF34 7F E4 FB 78 */ mr r4, r31 +/* 802AEFD8 002ABF38 48 08 8B 31 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEFDC 002ABF3C 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AEFE0 002ABF40 38 9F 00 0C */ addi r4, r31, 0xc +/* 802AEFE4 002ABF44 48 08 8B 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AEFE8 002ABF48 3B E0 00 01 */ li r31, 1 +lbl_802AEFEC: +/* 802AEFEC 002ABF4C 38 00 00 00 */ li r0, 0 +/* 802AEFF0 002ABF50 98 01 00 C8 */ stb r0, 0xc8(r1) +lbl_802AEFF4: +/* 802AEFF4 002ABF54 80 9E 01 20 */ lwz r4, 0x120(r30) +/* 802AEFF8 002ABF58 28 04 00 00 */ cmplwi r4, 0 +/* 802AEFFC 002ABF5C 41 82 00 9C */ beq lbl_802AF098 +/* 802AF000 002ABF60 81 84 00 00 */ lwz r12, 0(r4) +/* 802AF004 002ABF64 38 61 00 08 */ addi r3, r1, 8 +/* 802AF008 002ABF68 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 802AF00C 002ABF6C 7D 89 03 A6 */ mtctr r12 +/* 802AF010 002ABF70 4E 80 04 21 */ bctrl +/* 802AF014 002ABF74 88 01 00 20 */ lbz r0, 0x20(r1) +/* 802AF018 002ABF78 28 00 00 00 */ cmplwi r0, 0 +/* 802AF01C 002ABF7C 98 01 00 AC */ stb r0, 0xac(r1) +/* 802AF020 002ABF80 41 82 00 3C */ beq lbl_802AF05C +/* 802AF024 002ABF84 34 61 00 94 */ addic. r3, r1, 0x94 +/* 802AF028 002ABF88 41 82 00 34 */ beq lbl_802AF05C +/* 802AF02C 002ABF8C C0 01 00 08 */ lfs f0, 8(r1) +/* 802AF030 002ABF90 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AF034 002ABF94 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802AF038 002ABF98 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AF03C 002ABF9C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802AF040 002ABFA0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AF044 002ABFA4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802AF048 002ABFA8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AF04C 002ABFAC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AF050 002ABFB0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AF054 002ABFB4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AF058 002ABFB8 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AF05C: +/* 802AF05C 002ABFBC 88 01 00 AC */ lbz r0, 0xac(r1) +/* 802AF060 002ABFC0 38 60 00 00 */ li r3, 0 +/* 802AF064 002ABFC4 98 61 00 20 */ stb r3, 0x20(r1) +/* 802AF068 002ABFC8 28 00 00 00 */ cmplwi r0, 0 +/* 802AF06C 002ABFCC 41 82 00 24 */ beq lbl_802AF090 +/* 802AF070 002ABFD0 3B C1 00 94 */ addi r30, r1, 0x94 +/* 802AF074 002ABFD4 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AF078 002ABFD8 7F C4 F3 78 */ mr r4, r30 +/* 802AF07C 002ABFDC 48 08 8A 8D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AF080 002ABFE0 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AF084 002ABFE4 38 9E 00 0C */ addi r4, r30, 0xc +/* 802AF088 002ABFE8 48 08 8A 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AF08C 002ABFEC 3B E0 00 01 */ li r31, 1 +lbl_802AF090: +/* 802AF090 002ABFF0 38 00 00 00 */ li r0, 0 +/* 802AF094 002ABFF4 98 01 00 AC */ stb r0, 0xac(r1) +lbl_802AF098: +/* 802AF098 002ABFF8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 802AF09C 002ABFFC 41 82 00 48 */ beq lbl_802AF0E4 +/* 802AF0A0 002AC000 38 00 00 01 */ li r0, 1 +/* 802AF0A4 002AC004 28 1D 00 00 */ cmplwi r29, 0 +/* 802AF0A8 002AC008 98 1D 00 18 */ stb r0, 0x18(r29) +/* 802AF0AC 002AC00C 41 82 00 40 */ beq lbl_802AF0EC +/* 802AF0B0 002AC010 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 802AF0B4 002AC014 D0 1D 00 00 */ stfs f0, 0(r29) +/* 802AF0B8 002AC018 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 802AF0BC 002AC01C D0 1D 00 04 */ stfs f0, 4(r29) +/* 802AF0C0 002AC020 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 802AF0C4 002AC024 D0 1D 00 08 */ stfs f0, 8(r29) +/* 802AF0C8 002AC028 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 802AF0CC 002AC02C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802AF0D0 002AC030 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 802AF0D4 002AC034 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 802AF0D8 002AC038 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 802AF0DC 002AC03C D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 802AF0E0 002AC040 48 00 00 0C */ b lbl_802AF0EC +lbl_802AF0E4: +/* 802AF0E4 002AC044 38 00 00 00 */ li r0, 0 +/* 802AF0E8 002AC048 98 1D 00 18 */ stb r0, 0x18(r29) +lbl_802AF0EC: +/* 802AF0EC 002AC04C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802AF0F0 002AC050 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 802AF0F4 002AC054 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 802AF0F8 002AC058 83 A1 01 44 */ lwz r29, 0x144(r1) +/* 802AF0FC 002AC05C 7C 08 03 A6 */ mtlr r0 +/* 802AF100 002AC060 38 21 01 50 */ addi r1, r1, 0x150 +/* 802AF104 002AC064 4E 80 00 20 */ blr + +.global SetGlobalSeed__17CProjectileWeaponFUs +SetGlobalSeed__17CProjectileWeaponFUs: +/* 802AF108 002AC068 90 6D 9A 88 */ stw r3, lbl_805A8648@sda21(r13) +/* 802AF10C 002AC06C 4E 80 00 20 */ blr + +.global sub_802af110 +sub_802af110: +/* 802AF110 002AC070 38 63 00 BC */ addi r3, r3, 0xbc +/* 802AF114 002AC074 4E 80 00 20 */ blr + +.global SetGravity__17CProjectileWeaponFRC9CVector3f +SetGravity__17CProjectileWeaponFRC9CVector3f: +/* 802AF118 002AC078 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AF11C 002AC07C D0 03 00 BC */ stfs f0, 0xbc(r3) +/* 802AF120 002AC080 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AF124 002AC084 D0 03 00 C0 */ stfs f0, 0xc0(r3) +/* 802AF128 002AC088 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AF12C 002AC08C D0 03 00 C4 */ stfs f0, 0xc4(r3) +/* 802AF130 002AC090 4E 80 00 20 */ blr + +.global GetVelocity__17CProjectileWeaponCFv +GetVelocity__17CProjectileWeaponCFv: +/* 802AF134 002AC094 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 802AF138 002AC098 4E 80 00 20 */ blr + +.global SetVelocity__17CProjectileWeaponFRC9CVector3f +SetVelocity__17CProjectileWeaponFRC9CVector3f: +/* 802AF13C 002AC09C C0 04 00 00 */ lfs f0, 0(r4) +/* 802AF140 002AC0A0 D0 03 00 B0 */ stfs f0, 0xb0(r3) +/* 802AF144 002AC0A4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AF148 002AC0A8 D0 03 00 B4 */ stfs f0, 0xb4(r3) +/* 802AF14C 002AC0AC C0 04 00 08 */ lfs f0, 8(r4) +/* 802AF150 002AC0B0 D0 03 00 B8 */ stfs f0, 0xb8(r3) +/* 802AF154 002AC0B4 4E 80 00 20 */ blr + +.global GetMaxTurnRate__17CProjectileWeaponCFv +GetMaxTurnRate__17CProjectileWeaponCFv: +/* 802AF158 002AC0B8 C0 23 00 E0 */ lfs f1, 0xe0(r3) +/* 802AF15C 002AC0BC 4E 80 00 20 */ blr + +.global GetAudibleFallOff__17CProjectileWeaponCFv +GetAudibleFallOff__17CProjectileWeaponCFv: +/* 802AF160 002AC0C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF164 002AC0C4 7C 08 02 A6 */ mflr r0 +/* 802AF168 002AC0C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF16C 002AC0CC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 802AF170 002AC0D0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 802AF174 002AC0D4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802AF178 002AC0D8 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF17C 002AC0DC 28 00 00 00 */ cmplwi r0, 0 +/* 802AF180 002AC0E0 40 82 00 0C */ bne lbl_802AF18C +/* 802AF184 002AC0E4 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) +/* 802AF188 002AC0E8 48 00 00 34 */ b lbl_802AF1BC +lbl_802AF18C: +/* 802AF18C 002AC0EC 38 61 00 08 */ addi r3, r1, 8 +/* 802AF190 002AC0F0 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF194 002AC0F4 48 09 1D 15 */ bl __ct__6CTokenFRC6CToken +/* 802AF198 002AC0F8 38 61 00 08 */ addi r3, r1, 8 +/* 802AF19C 002AC0FC 48 09 1C 71 */ bl GetObj__6CTokenFv +/* 802AF1A0 002AC100 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF1A4 002AC104 48 00 32 4D */ bl GetAudibleFallOff__22CCollisionResponseDataCFv +/* 802AF1A8 002AC108 FF E0 08 90 */ fmr f31, f1 +/* 802AF1AC 002AC10C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF1B0 002AC110 38 80 00 00 */ li r4, 0 +/* 802AF1B4 002AC114 48 09 1C 8D */ bl __dt__6CTokenFv +/* 802AF1B8 002AC118 FC 20 F8 90 */ fmr f1, f31 +lbl_802AF1BC: +/* 802AF1BC 002AC11C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802AF1C0 002AC120 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF1C4 002AC124 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802AF1C8 002AC128 7C 08 03 A6 */ mtlr r0 +/* 802AF1CC 002AC12C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF1D0 002AC130 4E 80 00 20 */ blr + +.global GetAudibleRange__17CProjectileWeaponCFv +GetAudibleRange__17CProjectileWeaponCFv: +/* 802AF1D4 002AC134 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF1D8 002AC138 7C 08 02 A6 */ mflr r0 +/* 802AF1DC 002AC13C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF1E0 002AC140 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 802AF1E4 002AC144 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 802AF1E8 002AC148 80 83 00 0C */ lwz r4, 0xc(r3) +/* 802AF1EC 002AC14C 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF1F0 002AC150 28 00 00 00 */ cmplwi r0, 0 +/* 802AF1F4 002AC154 40 82 00 0C */ bne lbl_802AF200 +/* 802AF1F8 002AC158 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) +/* 802AF1FC 002AC15C 48 00 00 34 */ b lbl_802AF230 +lbl_802AF200: +/* 802AF200 002AC160 38 61 00 08 */ addi r3, r1, 8 +/* 802AF204 002AC164 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF208 002AC168 48 09 1C A1 */ bl __ct__6CTokenFRC6CToken +/* 802AF20C 002AC16C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF210 002AC170 48 09 1B FD */ bl GetObj__6CTokenFv +/* 802AF214 002AC174 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF218 002AC178 48 00 31 E1 */ bl GetAudibleRange__22CCollisionResponseDataCFv +/* 802AF21C 002AC17C FF E0 08 90 */ fmr f31, f1 +/* 802AF220 002AC180 38 61 00 08 */ addi r3, r1, 8 +/* 802AF224 002AC184 38 80 00 00 */ li r4, 0 +/* 802AF228 002AC188 48 09 1C 19 */ bl __dt__6CTokenFv +/* 802AF22C 002AC18C FC 20 F8 90 */ fmr f1, f31 +lbl_802AF230: +/* 802AF230 002AC190 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 802AF234 002AC194 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF238 002AC198 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 802AF23C 002AC19C 7C 08 03 A6 */ mtlr r0 +/* 802AF240 002AC1A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF244 002AC1A4 4E 80 00 20 */ blr + +.global GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes +GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: +/* 802AF248 002AC1A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF24C 002AC1AC 7C 08 02 A6 */ mflr r0 +/* 802AF250 002AC1B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF254 002AC1B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AF258 002AC1B8 7C BF 2B 78 */ mr r31, r5 +/* 802AF25C 002AC1BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802AF260 002AC1C0 7C 7E 1B 78 */ mr r30, r3 +/* 802AF264 002AC1C4 80 84 00 0C */ lwz r4, 0xc(r4) +/* 802AF268 002AC1C8 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF26C 002AC1CC 28 00 00 00 */ cmplwi r0, 0 +/* 802AF270 002AC1D0 40 82 00 10 */ bne lbl_802AF280 +/* 802AF274 002AC1D4 38 00 00 00 */ li r0, 0 +/* 802AF278 002AC1D8 98 1E 00 0C */ stb r0, 0xc(r30) +/* 802AF27C 002AC1DC 48 00 00 38 */ b lbl_802AF2B4 +lbl_802AF280: +/* 802AF280 002AC1E0 38 61 00 08 */ addi r3, r1, 8 +/* 802AF284 002AC1E4 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF288 002AC1E8 48 09 1C 21 */ bl __ct__6CTokenFRC6CToken +/* 802AF28C 002AC1EC 38 61 00 08 */ addi r3, r1, 8 +/* 802AF290 002AC1F0 48 09 1B 7D */ bl GetObj__6CTokenFv +/* 802AF294 002AC1F4 7C 64 1B 78 */ mr r4, r3 +/* 802AF298 002AC1F8 7F C3 F3 78 */ mr r3, r30 +/* 802AF29C 002AC1FC 80 84 00 04 */ lwz r4, 4(r4) +/* 802AF2A0 002AC200 7F E5 FB 78 */ mr r5, r31 +/* 802AF2A4 002AC204 48 00 31 BD */ bl GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF2A8 002AC208 38 61 00 08 */ addi r3, r1, 8 +/* 802AF2AC 002AC20C 38 80 00 00 */ li r4, 0 +/* 802AF2B0 002AC210 48 09 1B 91 */ bl __dt__6CTokenFv +lbl_802AF2B4: +/* 802AF2B4 002AC214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF2B8 002AC218 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AF2BC 002AC21C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802AF2C0 002AC220 7C 08 03 A6 */ mtlr r0 +/* 802AF2C4 002AC224 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF2C8 002AC228 4E 80 00 20 */ blr + +.global GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes +GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: +/* 802AF2CC 002AC22C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AF2D0 002AC230 7C 08 02 A6 */ mflr r0 +/* 802AF2D4 002AC234 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AF2D8 002AC238 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AF2DC 002AC23C 7C 9F 23 78 */ mr r31, r4 +/* 802AF2E0 002AC240 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AF2E4 002AC244 88 05 00 A0 */ lbz r0, 0xa0(r5) +/* 802AF2E8 002AC248 28 00 00 00 */ cmplwi r0, 0 +/* 802AF2EC 002AC24C 40 82 00 0C */ bne lbl_802AF2F8 +/* 802AF2F0 002AC250 38 60 FF FF */ li r3, -1 +/* 802AF2F4 002AC254 48 00 00 38 */ b lbl_802AF32C +lbl_802AF2F8: +/* 802AF2F8 002AC258 38 61 00 08 */ addi r3, r1, 8 +/* 802AF2FC 002AC25C 38 85 00 94 */ addi r4, r5, 0x94 +/* 802AF300 002AC260 48 09 1B A9 */ bl __ct__6CTokenFRC6CToken +/* 802AF304 002AC264 38 61 00 08 */ addi r3, r1, 8 +/* 802AF308 002AC268 48 09 1B 05 */ bl GetObj__6CTokenFv +/* 802AF30C 002AC26C 80 63 00 04 */ lwz r3, 4(r3) +/* 802AF310 002AC270 7F E4 FB 78 */ mr r4, r31 +/* 802AF314 002AC274 48 00 31 BD */ bl GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF318 002AC278 7C 7F 1B 78 */ mr r31, r3 +/* 802AF31C 002AC27C 38 61 00 08 */ addi r3, r1, 8 +/* 802AF320 002AC280 38 80 00 00 */ li r4, 0 +/* 802AF324 002AC284 48 09 1B 1D */ bl __dt__6CTokenFv +/* 802AF328 002AC288 7F E3 FB 78 */ mr r3, r31 +lbl_802AF32C: +/* 802AF32C 002AC28C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AF330 002AC290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AF334 002AC294 7C 08 03 A6 */ mtlr r0 +/* 802AF338 002AC298 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AF33C 002AC29C 4E 80 00 20 */ blr + +.global CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f +CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802AF340 002AC2A0 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802AF344 002AC2A4 7C 08 02 A6 */ mflr r0 +/* 802AF348 002AC2A8 90 01 01 54 */ stw r0, 0x154(r1) +/* 802AF34C 002AC2AC BF 21 01 34 */ stmw r25, 0x134(r1) +/* 802AF350 002AC2B0 7C 7D 1B 78 */ mr r29, r3 +/* 802AF354 002AC2B4 7C BF 2B 78 */ mr r31, r5 +/* 802AF358 002AC2B8 7C 9E 23 78 */ mr r30, r4 +/* 802AF35C 002AC2BC 7C D9 33 78 */ mr r25, r6 +/* 802AF360 002AC2C0 7C FA 3B 78 */ mr r26, r7 +/* 802AF364 002AC2C4 7D 3B 4B 78 */ mr r27, r9 +/* 802AF368 002AC2C8 7D 5C 53 78 */ mr r28, r10 +/* 802AF36C 002AC2CC 38 61 00 58 */ addi r3, r1, 0x58 +/* 802AF370 002AC2D0 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802AF374 002AC2D4 C0 28 00 04 */ lfs f1, 4(r8) +/* 802AF378 002AC2D8 C0 04 00 78 */ lfs f0, 0x78(r4) +/* 802AF37C 002AC2DC C0 68 00 08 */ lfs f3, 8(r8) +/* 802AF380 002AC2E0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 802AF384 002AC2E4 C0 44 00 7C */ lfs f2, 0x7c(r4) +/* 802AF388 002AC2E8 C0 04 00 74 */ lfs f0, 0x74(r4) +/* 802AF38C 002AC2EC 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802AF390 002AC2F0 C0 28 00 00 */ lfs f1, 0(r8) +/* 802AF394 002AC2F4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AF398 002AC2F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF39C 002AC2FC D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802AF3A0 002AC300 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 802AF3A4 002AC304 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AF3A8 002AC308 48 06 36 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 802AF3AC 002AC30C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802AF3B0 002AC310 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802AF3B4 002AC314 C0 1E 00 8C */ lfs f0, 0x8c(r30) +/* 802AF3B8 002AC318 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802AF3BC 002AC31C C0 7E 00 90 */ lfs f3, 0x90(r30) +/* 802AF3C0 002AC320 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF3C4 002AC324 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 802AF3C8 002AC328 C0 3E 00 94 */ lfs f1, 0x94(r30) +/* 802AF3CC 002AC32C EC 64 18 28 */ fsubs f3, f4, f3 +/* 802AF3D0 002AC330 D0 1E 00 80 */ stfs f0, 0x80(r30) +/* 802AF3D4 002AC334 EC 02 08 28 */ fsubs f0, f2, f1 +/* 802AF3D8 002AC338 D0 7E 00 84 */ stfs f3, 0x84(r30) +/* 802AF3DC 002AC33C D0 1E 00 88 */ stfs f0, 0x88(r30) +/* 802AF3E0 002AC340 41 82 01 4C */ beq lbl_802AF52C +/* 802AF3E4 002AC344 7F C4 F3 78 */ mr r4, r30 +/* 802AF3E8 002AC348 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AF3EC 002AC34C 81 9E 00 00 */ lwz r12, 0(r30) +/* 802AF3F0 002AC350 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AF3F4 002AC354 7D 89 03 A6 */ mtctr r12 +/* 802AF3F8 002AC358 4E 80 04 21 */ bctrl +/* 802AF3FC 002AC35C C0 3C 00 04 */ lfs f1, 4(r28) +/* 802AF400 002AC360 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802AF404 002AC364 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802AF408 002AC368 C0 7C 00 08 */ lfs f3, 8(r28) +/* 802AF40C 002AC36C EC 81 00 28 */ fsubs f4, f1, f0 +/* 802AF410 002AC370 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802AF414 002AC374 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802AF418 002AC378 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802AF41C 002AC37C EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AF420 002AC380 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802AF424 002AC384 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AF428 002AC388 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AF42C 002AC38C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 802AF430 002AC390 41 82 00 4C */ beq lbl_802AF47C +/* 802AF434 002AC394 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AF438 002AC398 48 06 52 C1 */ bl CanBeNormalized__9CVector3fCFv +/* 802AF43C 002AC39C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AF440 002AC3A0 41 82 00 3C */ beq lbl_802AF47C +/* 802AF444 002AC3A4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802AF448 002AC3A8 38 81 00 64 */ addi r4, r1, 0x64 +/* 802AF44C 002AC3AC 48 06 54 05 */ bl AsNormalized__9CVector3fCFv +/* 802AF450 002AC3B0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802AF454 002AC3B4 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 802AF458 002AC3B8 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802AF45C 002AC3BC 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 802AF460 002AC3C0 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802AF464 002AC3C4 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802AF468 002AC3C8 48 06 46 A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AF46C 002AC3CC 7F C3 F3 78 */ mr r3, r30 +/* 802AF470 002AC3D0 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 802AF474 002AC3D4 48 00 10 31 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +/* 802AF478 002AC3D8 48 00 00 A8 */ b lbl_802AF520 +lbl_802AF47C: +/* 802AF47C 002AC3DC 7F C4 F3 78 */ mr r4, r30 +/* 802AF480 002AC3E0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802AF484 002AC3E4 48 00 11 55 */ bl GetTransform__17CProjectileWeaponFv +/* 802AF488 002AC3E8 C0 A1 00 B4 */ lfs f5, 0xb4(r1) +/* 802AF48C 002AC3EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802AF490 002AC3F0 C0 FB 00 04 */ lfs f7, 4(r27) +/* 802AF494 002AC3F4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802AF498 002AC3F8 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 802AF49C 002AC3FC 7F 66 DB 78 */ mr r6, r27 +/* 802AF4A0 002AC400 EC 07 01 72 */ fmuls f0, f7, f5 +/* 802AF4A4 002AC404 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802AF4A8 002AC408 C0 C1 00 C4 */ lfs f6, 0xc4(r1) +/* 802AF4AC 002AC40C 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AF4B0 002AC410 C1 1B 00 08 */ lfs f8, 8(r27) +/* 802AF4B4 002AC414 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802AF4B8 002AC418 EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 802AF4BC 002AC41C C0 22 C1 F4 */ lfs f1, lbl_805ADF14@sda21(r2) +/* 802AF4C0 002AC420 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 802AF4C4 002AC424 EC 08 01 BA */ fmadds f0, f8, f6, f0 +/* 802AF4C8 002AC428 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802AF4CC 002AC42C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 802AF4D0 002AC430 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AF4D4 002AC434 EC 60 00 B2 */ fmuls f3, f0, f2 +/* 802AF4D8 002AC438 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 802AF4DC 002AC43C EC 20 02 32 */ fmuls f1, f0, f8 +/* 802AF4E0 002AC440 EC 04 18 28 */ fsubs f0, f4, f3 +/* 802AF4E4 002AC444 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802AF4E8 002AC448 EC 85 10 28 */ fsubs f4, f5, f2 +/* 802AF4EC 002AC44C EC 66 08 28 */ fsubs f3, f6, f1 +/* 802AF4F0 002AC450 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802AF4F4 002AC454 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AF4F8 002AC458 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AF4FC 002AC45C D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802AF500 002AC460 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802AF504 002AC464 48 06 46 0D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AF508 002AC468 38 61 01 00 */ addi r3, r1, 0x100 +/* 802AF50C 002AC46C 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AF510 002AC470 48 06 36 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF514 002AC474 7F C3 F3 78 */ mr r3, r30 +/* 802AF518 002AC478 38 81 01 00 */ addi r4, r1, 0x100 +/* 802AF51C 002AC47C 48 00 0F 89 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802AF520: +/* 802AF520 002AC480 38 00 00 00 */ li r0, 0 +/* 802AF524 002AC484 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802AF528 002AC488 48 00 01 04 */ b lbl_802AF62C +lbl_802AF52C: +/* 802AF52C 002AC48C 88 1E 01 24 */ lbz r0, 0x124(r30) +/* 802AF530 002AC490 38 60 00 00 */ li r3, 0 +/* 802AF534 002AC494 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 802AF538 002AC498 98 1E 01 24 */ stb r0, 0x124(r30) +/* 802AF53C 002AC49C 80 7E 00 FC */ lwz r3, 0xfc(r30) +/* 802AF540 002AC4A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF544 002AC4A4 41 82 00 18 */ beq lbl_802AF55C +/* 802AF548 002AC4A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF54C 002AC4AC 38 80 00 00 */ li r4, 0 +/* 802AF550 002AC4B0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF554 002AC4B4 7D 89 03 A6 */ mtctr r12 +/* 802AF558 002AC4B8 4E 80 04 21 */ bctrl +lbl_802AF55C: +/* 802AF55C 002AC4BC 80 7E 01 00 */ lwz r3, 0x100(r30) +/* 802AF560 002AC4C0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF564 002AC4C4 41 82 00 18 */ beq lbl_802AF57C +/* 802AF568 002AC4C8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF56C 002AC4CC 38 80 00 00 */ li r4, 0 +/* 802AF570 002AC4D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF574 002AC4D4 7D 89 03 A6 */ mtctr r12 +/* 802AF578 002AC4D8 4E 80 04 21 */ bctrl +lbl_802AF57C: +/* 802AF57C 002AC4DC 80 7E 01 18 */ lwz r3, 0x118(r30) +/* 802AF580 002AC4E0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF584 002AC4E4 41 82 00 18 */ beq lbl_802AF59C +/* 802AF588 002AC4E8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF58C 002AC4EC 38 80 00 00 */ li r4, 0 +/* 802AF590 002AC4F0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF594 002AC4F4 7D 89 03 A6 */ mtctr r12 +/* 802AF598 002AC4F8 4E 80 04 21 */ bctrl +lbl_802AF59C: +/* 802AF59C 002AC4FC 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 802AF5A0 002AC500 28 03 00 00 */ cmplwi r3, 0 +/* 802AF5A4 002AC504 41 82 00 18 */ beq lbl_802AF5BC +/* 802AF5A8 002AC508 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF5AC 002AC50C 38 80 00 00 */ li r4, 0 +/* 802AF5B0 002AC510 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF5B4 002AC514 7D 89 03 A6 */ mtctr r12 +/* 802AF5B8 002AC518 4E 80 04 21 */ bctrl +lbl_802AF5BC: +/* 802AF5BC 002AC51C 80 7E 01 20 */ lwz r3, 0x120(r30) +/* 802AF5C0 002AC520 28 03 00 00 */ cmplwi r3, 0 +/* 802AF5C4 002AC524 41 82 00 18 */ beq lbl_802AF5DC +/* 802AF5C8 002AC528 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF5CC 002AC52C 38 80 00 00 */ li r4, 0 +/* 802AF5D0 002AC530 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AF5D4 002AC534 7D 89 03 A6 */ mtctr r12 +/* 802AF5D8 002AC538 4E 80 04 21 */ bctrl +lbl_802AF5DC: +/* 802AF5DC 002AC53C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AF5E0 002AC540 88 04 00 A0 */ lbz r0, 0xa0(r4) +/* 802AF5E4 002AC544 28 00 00 00 */ cmplwi r0, 0 +/* 802AF5E8 002AC548 40 82 00 10 */ bne lbl_802AF5F8 +/* 802AF5EC 002AC54C 38 00 00 00 */ li r0, 0 +/* 802AF5F0 002AC550 98 1D 00 0C */ stb r0, 0xc(r29) +/* 802AF5F4 002AC554 48 00 00 38 */ b lbl_802AF62C +lbl_802AF5F8: +/* 802AF5F8 002AC558 38 61 00 08 */ addi r3, r1, 8 +/* 802AF5FC 002AC55C 38 84 00 94 */ addi r4, r4, 0x94 +/* 802AF600 002AC560 48 09 18 A9 */ bl __ct__6CTokenFRC6CToken +/* 802AF604 002AC564 38 61 00 08 */ addi r3, r1, 8 +/* 802AF608 002AC568 48 09 18 05 */ bl GetObj__6CTokenFv +/* 802AF60C 002AC56C 7C 64 1B 78 */ mr r4, r3 +/* 802AF610 002AC570 7F A3 EB 78 */ mr r3, r29 +/* 802AF614 002AC574 80 84 00 04 */ lwz r4, 4(r4) +/* 802AF618 002AC578 7F E5 FB 78 */ mr r5, r31 +/* 802AF61C 002AC57C 48 00 2F A5 */ bl GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes +/* 802AF620 002AC580 38 61 00 08 */ addi r3, r1, 8 +/* 802AF624 002AC584 38 80 00 00 */ li r4, 0 +/* 802AF628 002AC588 48 09 18 19 */ bl __dt__6CTokenFv +lbl_802AF62C: +/* 802AF62C 002AC58C BB 21 01 34 */ lmw r25, 0x134(r1) +/* 802AF630 002AC590 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802AF634 002AC594 7C 08 03 A6 */ mtlr r0 +/* 802AF638 002AC598 38 21 01 50 */ addi r1, r1, 0x150 +/* 802AF63C 002AC59C 4E 80 00 20 */ blr + +.global RenderParticles__17CProjectileWeaponCFv +RenderParticles__17CProjectileWeaponCFv: +/* 802AF640 002AC5A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF644 002AC5A4 7C 08 02 A6 */ mflr r0 +/* 802AF648 002AC5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF64C 002AC5AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF650 002AC5B0 7C 7F 1B 78 */ mr r31, r3 +/* 802AF654 002AC5B4 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 802AF658 002AC5B8 28 03 00 00 */ cmplwi r3, 0 +/* 802AF65C 002AC5BC 41 82 00 14 */ beq lbl_802AF670 +/* 802AF660 002AC5C0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF664 002AC5C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF668 002AC5C8 7D 89 03 A6 */ mtctr r12 +/* 802AF66C 002AC5CC 4E 80 04 21 */ bctrl +lbl_802AF670: +/* 802AF670 002AC5D0 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AF674 002AC5D4 28 03 00 00 */ cmplwi r3, 0 +/* 802AF678 002AC5D8 41 82 00 14 */ beq lbl_802AF68C +/* 802AF67C 002AC5DC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF680 002AC5E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF684 002AC5E4 7D 89 03 A6 */ mtctr r12 +/* 802AF688 002AC5E8 4E 80 04 21 */ bctrl +lbl_802AF68C: +/* 802AF68C 002AC5EC 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AF690 002AC5F0 28 03 00 00 */ cmplwi r3, 0 +/* 802AF694 002AC5F4 41 82 00 14 */ beq lbl_802AF6A8 +/* 802AF698 002AC5F8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF69C 002AC5FC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6A0 002AC600 7D 89 03 A6 */ mtctr r12 +/* 802AF6A4 002AC604 4E 80 04 21 */ bctrl +lbl_802AF6A8: +/* 802AF6A8 002AC608 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AF6AC 002AC60C 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6B0 002AC610 41 82 00 14 */ beq lbl_802AF6C4 +/* 802AF6B4 002AC614 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6B8 002AC618 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6BC 002AC61C 7D 89 03 A6 */ mtctr r12 +/* 802AF6C0 002AC620 4E 80 04 21 */ bctrl +lbl_802AF6C4: +/* 802AF6C4 002AC624 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802AF6C8 002AC628 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6CC 002AC62C 41 82 00 14 */ beq lbl_802AF6E0 +/* 802AF6D0 002AC630 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6D4 002AC634 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6D8 002AC638 7D 89 03 A6 */ mtctr r12 +/* 802AF6DC 002AC63C 4E 80 04 21 */ bctrl +lbl_802AF6E0: +/* 802AF6E0 002AC640 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802AF6E4 002AC644 28 03 00 00 */ cmplwi r3, 0 +/* 802AF6E8 002AC648 41 82 00 14 */ beq lbl_802AF6FC +/* 802AF6EC 002AC64C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF6F0 002AC650 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AF6F4 002AC654 7D 89 03 A6 */ mtctr r12 +/* 802AF6F8 002AC658 4E 80 04 21 */ bctrl +lbl_802AF6FC: +/* 802AF6FC 002AC65C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AF700 002AC660 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AF704 002AC664 7C 08 03 A6 */ mtlr r0 +/* 802AF708 002AC668 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AF70C 002AC66C 4E 80 00 20 */ blr + +.global AddToRenderer__17CProjectileWeaponCFv +AddToRenderer__17CProjectileWeaponCFv: +/* 802AF710 002AC670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF714 002AC674 7C 08 02 A6 */ mflr r0 +/* 802AF718 002AC678 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF71C 002AC67C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF720 002AC680 7C 7F 1B 78 */ mr r31, r3 +/* 802AF724 002AC684 80 83 00 FC */ lwz r4, 0xfc(r3) +/* 802AF728 002AC688 28 04 00 00 */ cmplwi r4, 0 +/* 802AF72C 002AC68C 41 82 00 18 */ beq lbl_802AF744 +/* 802AF730 002AC690 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF734 002AC694 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF738 002AC698 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF73C 002AC69C 7D 89 03 A6 */ mtctr r12 +/* 802AF740 002AC6A0 4E 80 04 21 */ bctrl +lbl_802AF744: +/* 802AF744 002AC6A4 80 9F 01 00 */ lwz r4, 0x100(r31) +/* 802AF748 002AC6A8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF74C 002AC6AC 41 82 00 18 */ beq lbl_802AF764 +/* 802AF750 002AC6B0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF754 002AC6B4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF758 002AC6B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF75C 002AC6BC 7D 89 03 A6 */ mtctr r12 +/* 802AF760 002AC6C0 4E 80 04 21 */ bctrl +lbl_802AF764: +/* 802AF764 002AC6C4 80 9F 01 18 */ lwz r4, 0x118(r31) +/* 802AF768 002AC6C8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF76C 002AC6CC 41 82 00 18 */ beq lbl_802AF784 +/* 802AF770 002AC6D0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF774 002AC6D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF778 002AC6D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF77C 002AC6DC 7D 89 03 A6 */ mtctr r12 +/* 802AF780 002AC6E0 4E 80 04 21 */ bctrl +lbl_802AF784: +/* 802AF784 002AC6E4 80 9F 01 1C */ lwz r4, 0x11c(r31) +/* 802AF788 002AC6E8 28 04 00 00 */ cmplwi r4, 0 +/* 802AF78C 002AC6EC 41 82 00 18 */ beq lbl_802AF7A4 +/* 802AF790 002AC6F0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF794 002AC6F4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF798 002AC6F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF79C 002AC6FC 7D 89 03 A6 */ mtctr r12 +/* 802AF7A0 002AC700 4E 80 04 21 */ bctrl +lbl_802AF7A4: +/* 802AF7A4 002AC704 80 9F 01 20 */ lwz r4, 0x120(r31) +/* 802AF7A8 002AC708 28 04 00 00 */ cmplwi r4, 0 +/* 802AF7AC 002AC70C 41 82 00 18 */ beq lbl_802AF7C4 +/* 802AF7B0 002AC710 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF7B4 002AC714 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF7B8 002AC718 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF7BC 002AC71C 7D 89 03 A6 */ mtctr r12 +/* 802AF7C0 002AC720 4E 80 04 21 */ bctrl +lbl_802AF7C4: +/* 802AF7C4 002AC724 80 9F 01 04 */ lwz r4, 0x104(r31) +/* 802AF7C8 002AC728 28 04 00 00 */ cmplwi r4, 0 +/* 802AF7CC 002AC72C 41 82 00 18 */ beq lbl_802AF7E4 +/* 802AF7D0 002AC730 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) +/* 802AF7D4 002AC734 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF7D8 002AC738 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AF7DC 002AC73C 7D 89 03 A6 */ mtctr r12 +/* 802AF7E0 002AC740 4E 80 04 21 */ bctrl +lbl_802AF7E4: +/* 802AF7E4 002AC744 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AF7E8 002AC748 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AF7EC 002AC74C 7C 08 03 A6 */ mtlr r0 +/* 802AF7F0 002AC750 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AF7F4 002AC754 4E 80 00 20 */ blr + +.global Render__17CProjectileWeaponCFv +Render__17CProjectileWeaponCFv: +/* 802AF7F8 002AC758 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802AF7FC 002AC75C 7C 08 02 A6 */ mflr r0 +/* 802AF800 002AC760 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802AF804 002AC764 93 E1 02 BC */ stw r31, 0x2bc(r1) +/* 802AF808 002AC768 7C 7F 1B 78 */ mr r31, r3 +/* 802AF80C 002AC76C 80 63 00 F4 */ lwz r3, 0xf4(r3) +/* 802AF810 002AC770 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AF814 002AC774 7C 03 00 00 */ cmpw r3, r0 +/* 802AF818 002AC778 41 81 01 70 */ bgt lbl_802AF988 +/* 802AF81C 002AC77C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AF820 002AC780 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802AF824 002AC784 41 82 01 64 */ beq lbl_802AF988 +/* 802AF828 002AC788 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802AF82C 002AC78C 28 00 00 00 */ cmplwi r0, 0 +/* 802AF830 002AC790 41 82 01 58 */ beq lbl_802AF988 +/* 802AF834 002AC794 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AF838 002AC798 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802AF83C 002AC79C 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802AF840 002AC7A0 48 06 32 A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AF844 002AC7A4 C0 7F 00 84 */ lfs f3, 0x84(r31) +/* 802AF848 002AC7A8 38 61 01 54 */ addi r3, r1, 0x154 +/* 802AF84C 002AC7AC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 802AF850 002AC7B0 38 81 00 28 */ addi r4, r1, 0x28 +/* 802AF854 002AC7B4 C0 5F 00 88 */ lfs f2, 0x88(r31) +/* 802AF858 002AC7B8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AF85C 002AC7BC EC 83 08 2A */ fadds f4, f3, f1 +/* 802AF860 002AC7C0 C0 3F 00 A8 */ lfs f1, 0xa8(r31) +/* 802AF864 002AC7C4 EC 62 00 2A */ fadds f3, f2, f0 +/* 802AF868 002AC7C8 C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 802AF86C 002AC7CC EC C4 08 2A */ fadds f6, f4, f1 +/* 802AF870 002AC7D0 C0 5F 00 80 */ lfs f2, 0x80(r31) +/* 802AF874 002AC7D4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802AF878 002AC7D8 EC A3 00 2A */ fadds f5, f3, f0 +/* 802AF87C 002AC7DC EC 22 08 2A */ fadds f1, f2, f1 +/* 802AF880 002AC7E0 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 802AF884 002AC7E4 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802AF888 002AC7E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 802AF88C 002AC7EC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802AF890 002AC7F0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802AF894 002AC7F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802AF898 002AC7F8 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 802AF89C 002AC7FC D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802AF8A0 002AC800 48 06 38 A1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802AF8A4 002AC804 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 802AF8A8 002AC808 38 81 01 54 */ addi r4, r1, 0x154 +/* 802AF8AC 002AC80C 48 06 32 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8B0 002AC810 38 61 01 24 */ addi r3, r1, 0x124 +/* 802AF8B4 002AC814 38 9F 00 74 */ addi r4, r31, 0x74 +/* 802AF8B8 002AC818 48 06 38 89 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802AF8BC 002AC81C 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 802AF8C0 002AC820 38 81 01 24 */ addi r4, r1, 0x124 +/* 802AF8C4 002AC824 48 06 32 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8C8 002AC828 C0 3F 00 98 */ lfs f1, 0x98(r31) +/* 802AF8CC 002AC82C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802AF8D0 002AC830 C0 5F 00 9C */ lfs f2, 0x9c(r31) +/* 802AF8D4 002AC834 C0 7F 00 A0 */ lfs f3, 0xa0(r31) +/* 802AF8D8 002AC838 48 06 39 31 */ bl Scale__12CTransform4fFfff +/* 802AF8DC 002AC83C 38 61 01 84 */ addi r3, r1, 0x184 +/* 802AF8E0 002AC840 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802AF8E4 002AC844 48 06 32 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AF8E8 002AC848 38 61 00 34 */ addi r3, r1, 0x34 +/* 802AF8EC 002AC84C 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 802AF8F0 002AC850 38 BF 00 14 */ addi r5, r31, 0x14 +/* 802AF8F4 002AC854 48 06 30 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF8F8 002AC858 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AF8FC 002AC85C 38 81 00 34 */ addi r4, r1, 0x34 +/* 802AF900 002AC860 38 A1 01 E4 */ addi r5, r1, 0x1e4 +/* 802AF904 002AC864 48 06 30 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF908 002AC868 38 61 00 94 */ addi r3, r1, 0x94 +/* 802AF90C 002AC86C 38 81 00 64 */ addi r4, r1, 0x64 +/* 802AF910 002AC870 38 A1 01 84 */ addi r5, r1, 0x184 +/* 802AF914 002AC874 48 06 30 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF918 002AC878 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802AF91C 002AC87C 38 81 00 94 */ addi r4, r1, 0x94 +/* 802AF920 002AC880 38 BF 00 44 */ addi r5, r31, 0x44 +/* 802AF924 002AC884 48 06 30 2D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AF928 002AC888 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 802AF92C 002AC88C 48 05 CC B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 802AF930 002AC890 3C 80 80 5A */ lis r4, skZero3f@ha +/* 802AF934 002AC894 38 61 02 14 */ addi r3, r1, 0x214 +/* 802AF938 002AC898 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 802AF93C 002AC89C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 802AF940 002AC8A0 48 05 6B 65 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 802AF944 002AC8A4 38 61 02 64 */ addi r3, r1, 0x264 +/* 802AF948 002AC8A8 38 81 02 14 */ addi r4, r1, 0x214 +/* 802AF94C 002AC8AC 4B D8 BC 25 */ bl __ct__6CLightFCR6CLight +/* 802AF950 002AC8B0 C0 22 C1 F8 */ lfs f1, lbl_805ADF18@sda21(r2) +/* 802AF954 002AC8B4 38 80 00 00 */ li r4, 0 +/* 802AF958 002AC8B8 38 00 00 03 */ li r0, 3 +/* 802AF95C 002AC8BC 98 81 00 08 */ stb r4, 8(r1) +/* 802AF960 002AC8C0 FC 40 08 90 */ fmr f2, f1 +/* 802AF964 002AC8C4 38 61 00 0C */ addi r3, r1, 0xc +/* 802AF968 002AC8C8 FC 60 08 90 */ fmr f3, f1 +/* 802AF96C 002AC8CC 98 81 00 09 */ stb r4, 9(r1) +/* 802AF970 002AC8D0 FC 80 08 90 */ fmr f4, f1 +/* 802AF974 002AC8D4 B0 01 00 0A */ sth r0, 0xa(r1) +/* 802AF978 002AC8D8 48 0B 3A 75 */ bl __ct__6CColorFffff +/* 802AF97C 002AC8DC 80 7F 01 10 */ lwz r3, 0x110(r31) +/* 802AF980 002AC8E0 38 81 00 08 */ addi r4, r1, 8 +/* 802AF984 002AC8E4 48 0A 62 51 */ bl Draw__6CModelCFRC11CModelFlags +lbl_802AF988: +/* 802AF988 002AC8E8 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802AF98C 002AC8EC 83 E1 02 BC */ lwz r31, 0x2bc(r1) +/* 802AF990 002AC8F0 7C 08 03 A6 */ mtlr r0 +/* 802AF994 002AC8F4 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802AF998 002AC8F8 4E 80 00 20 */ blr + +.global IsSystemDeletable__17CProjectileWeaponCFv +IsSystemDeletable__17CProjectileWeaponCFv: +/* 802AF99C 002AC8FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AF9A0 002AC900 7C 08 02 A6 */ mflr r0 +/* 802AF9A4 002AC904 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AF9A8 002AC908 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AF9AC 002AC90C 3B E0 00 01 */ li r31, 1 +/* 802AF9B0 002AC910 93 C1 00 08 */ stw r30, 8(r1) +/* 802AF9B4 002AC914 7C 7E 1B 78 */ mr r30, r3 +/* 802AF9B8 002AC918 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 802AF9BC 002AC91C 28 03 00 00 */ cmplwi r3, 0 +/* 802AF9C0 002AC920 41 82 00 24 */ beq lbl_802AF9E4 +/* 802AF9C4 002AC924 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF9C8 002AC928 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AF9CC 002AC92C 7D 89 03 A6 */ mtctr r12 +/* 802AF9D0 002AC930 4E 80 04 21 */ bctrl +/* 802AF9D4 002AC934 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AF9D8 002AC938 40 82 00 0C */ bne lbl_802AF9E4 +/* 802AF9DC 002AC93C 3B E0 00 00 */ li r31, 0 +/* 802AF9E0 002AC940 48 00 01 04 */ b lbl_802AFAE4 +lbl_802AF9E4: +/* 802AF9E4 002AC944 80 7E 01 00 */ lwz r3, 0x100(r30) +/* 802AF9E8 002AC948 28 03 00 00 */ cmplwi r3, 0 +/* 802AF9EC 002AC94C 41 82 00 24 */ beq lbl_802AFA10 +/* 802AF9F0 002AC950 81 83 00 00 */ lwz r12, 0(r3) +/* 802AF9F4 002AC954 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AF9F8 002AC958 7D 89 03 A6 */ mtctr r12 +/* 802AF9FC 002AC95C 4E 80 04 21 */ bctrl +/* 802AFA00 002AC960 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA04 002AC964 40 82 00 0C */ bne lbl_802AFA10 +/* 802AFA08 002AC968 3B E0 00 00 */ li r31, 0 +/* 802AFA0C 002AC96C 48 00 00 D8 */ b lbl_802AFAE4 +lbl_802AFA10: +/* 802AFA10 002AC970 80 7E 01 18 */ lwz r3, 0x118(r30) +/* 802AFA14 002AC974 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA18 002AC978 41 82 00 24 */ beq lbl_802AFA3C +/* 802AFA1C 002AC97C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA20 002AC980 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA24 002AC984 7D 89 03 A6 */ mtctr r12 +/* 802AFA28 002AC988 4E 80 04 21 */ bctrl +/* 802AFA2C 002AC98C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA30 002AC990 40 82 00 0C */ bne lbl_802AFA3C +/* 802AFA34 002AC994 3B E0 00 00 */ li r31, 0 +/* 802AFA38 002AC998 48 00 00 AC */ b lbl_802AFAE4 +lbl_802AFA3C: +/* 802AFA3C 002AC99C 80 7E 01 1C */ lwz r3, 0x11c(r30) +/* 802AFA40 002AC9A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA44 002AC9A4 41 82 00 24 */ beq lbl_802AFA68 +/* 802AFA48 002AC9A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA4C 002AC9AC 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA50 002AC9B0 7D 89 03 A6 */ mtctr r12 +/* 802AFA54 002AC9B4 4E 80 04 21 */ bctrl +/* 802AFA58 002AC9B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA5C 002AC9BC 40 82 00 0C */ bne lbl_802AFA68 +/* 802AFA60 002AC9C0 3B E0 00 00 */ li r31, 0 +/* 802AFA64 002AC9C4 48 00 00 80 */ b lbl_802AFAE4 +lbl_802AFA68: +/* 802AFA68 002AC9C8 80 7E 01 20 */ lwz r3, 0x120(r30) +/* 802AFA6C 002AC9CC 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA70 002AC9D0 41 82 00 24 */ beq lbl_802AFA94 +/* 802AFA74 002AC9D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFA78 002AC9D8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFA7C 002AC9DC 7D 89 03 A6 */ mtctr r12 +/* 802AFA80 002AC9E0 4E 80 04 21 */ bctrl +/* 802AFA84 002AC9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFA88 002AC9E8 40 82 00 0C */ bne lbl_802AFA94 +/* 802AFA8C 002AC9EC 3B E0 00 00 */ li r31, 0 +/* 802AFA90 002AC9F0 48 00 00 54 */ b lbl_802AFAE4 +lbl_802AFA94: +/* 802AFA94 002AC9F4 80 7E 01 04 */ lwz r3, 0x104(r30) +/* 802AFA98 002AC9F8 28 03 00 00 */ cmplwi r3, 0 +/* 802AFA9C 002AC9FC 41 82 00 24 */ beq lbl_802AFAC0 +/* 802AFAA0 002ACA00 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFAA4 002ACA04 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFAA8 002ACA08 7D 89 03 A6 */ mtctr r12 +/* 802AFAAC 002ACA0C 4E 80 04 21 */ bctrl +/* 802AFAB0 002ACA10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AFAB4 002ACA14 40 82 00 0C */ bne lbl_802AFAC0 +/* 802AFAB8 002ACA18 3B E0 00 00 */ li r31, 0 +/* 802AFABC 002ACA1C 48 00 00 28 */ b lbl_802AFAE4 +lbl_802AFAC0: +/* 802AFAC0 002ACA20 88 1E 01 24 */ lbz r0, 0x124(r30) +/* 802AFAC4 002ACA24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802AFAC8 002ACA28 41 82 00 1C */ beq lbl_802AFAE4 +/* 802AFACC 002ACA2C 80 BE 00 F4 */ lwz r5, 0xf4(r30) +/* 802AFAD0 002ACA30 80 1E 00 E8 */ lwz r0, 0xe8(r30) +/* 802AFAD4 002ACA34 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 802AFAD8 002ACA38 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AFADC 002ACA3C 7C 00 28 10 */ subfc r0, r0, r5 +/* 802AFAE0 002ACA40 7F E4 19 14 */ adde r31, r4, r3 +lbl_802AFAE4: +/* 802AFAE4 002ACA44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AFAE8 002ACA48 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 802AFAEC 002ACA4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AFAF0 002ACA50 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AFAF4 002ACA54 7C 08 03 A6 */ mtlr r0 +/* 802AFAF8 002ACA58 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AFAFC 002ACA5C 4E 80 00 20 */ blr + +.global UpdateChildParticleSystems__17CProjectileWeaponFf +UpdateChildParticleSystems__17CProjectileWeaponFf: +/* 802AFB00 002ACA60 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 802AFB04 002ACA64 7C 08 02 A6 */ mflr r0 +/* 802AFB08 002ACA68 90 01 01 94 */ stw r0, 0x194(r1) +/* 802AFB0C 002ACA6C DB E1 01 80 */ stfd f31, 0x180(r1) +/* 802AFB10 002ACA70 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 802AFB14 002ACA74 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 802AFB18 002ACA78 C0 42 C1 FC */ lfs f2, lbl_805ADF1C@sda21(r2) +/* 802AFB1C 002ACA7C 7C 7F 1B 78 */ mr r31, r3 +/* 802AFB20 002ACA80 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) +/* 802AFB24 002ACA84 EC 41 10 28 */ fsubs f2, f1, f2 +/* 802AFB28 002ACA88 FC 40 12 10 */ fabs f2, f2 +/* 802AFB2C 002ACA8C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802AFB30 002ACA90 40 80 00 0C */ bge lbl_802AFB3C +/* 802AFB34 002ACA94 CB E2 C2 00 */ lfd f31, lbl_805ADF20@sda21(r2) +/* 802AFB38 002ACA98 48 00 00 08 */ b lbl_802AFB40 +lbl_802AFB3C: +/* 802AFB3C 002ACA9C FF E0 08 90 */ fmr f31, f1 +lbl_802AFB40: +/* 802AFB40 002ACAA0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFB44 002ACAA4 28 03 00 00 */ cmplwi r3, 0 +/* 802AFB48 002ACAA8 41 82 01 40 */ beq lbl_802AFC88 +/* 802AFB4C 002ACAAC 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFB50 002ACAB0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFB54 002ACAB4 7C 00 20 00 */ cmpw r0, r4 +/* 802AFB58 002ACAB8 41 82 00 D0 */ beq lbl_802AFC28 +/* 802AFB5C 002ACABC 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFB60 002ACAC0 7C 04 00 00 */ cmpw r4, r0 +/* 802AFB64 002ACAC4 40 81 00 24 */ ble lbl_802AFB88 +/* 802AFB68 002ACAC8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFB6C 002ACACC 38 80 00 00 */ li r4, 0 +/* 802AFB70 002ACAD0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFB74 002ACAD4 7D 89 03 A6 */ mtctr r12 +/* 802AFB78 002ACAD8 4E 80 04 21 */ bctrl +/* 802AFB7C 002ACADC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFB80 002ACAE0 48 06 CC 95 */ bl EndLifetime__11CElementGenFv +/* 802AFB84 002ACAE4 48 00 00 A4 */ b lbl_802AFC28 +lbl_802AFB88: +/* 802AFB88 002ACAE8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFB8C 002ACAEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 802AFB90 002ACAF0 41 82 00 38 */ beq lbl_802AFBC8 +/* 802AFB94 002ACAF4 7F E4 FB 78 */ mr r4, r31 +/* 802AFB98 002ACAF8 38 61 00 74 */ addi r3, r1, 0x74 +/* 802AFB9C 002ACAFC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFBA0 002ACB00 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBA4 002ACB04 7D 89 03 A6 */ mtctr r12 +/* 802AFBA8 002ACB08 4E 80 04 21 */ bctrl +/* 802AFBAC 002ACB0C 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFBB0 002ACB10 38 81 00 74 */ addi r4, r1, 0x74 +/* 802AFBB4 002ACB14 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFBB8 002ACB18 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFBBC 002ACB1C 7D 89 03 A6 */ mtctr r12 +/* 802AFBC0 002ACB20 4E 80 04 21 */ bctrl +/* 802AFBC4 002ACB24 48 00 00 34 */ b lbl_802AFBF8 +lbl_802AFBC8: +/* 802AFBC8 002ACB28 7F E4 FB 78 */ mr r4, r31 +/* 802AFBCC 002ACB2C 38 61 00 68 */ addi r3, r1, 0x68 +/* 802AFBD0 002ACB30 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFBD4 002ACB34 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBD8 002ACB38 7D 89 03 A6 */ mtctr r12 +/* 802AFBDC 002ACB3C 4E 80 04 21 */ bctrl +/* 802AFBE0 002ACB40 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFBE4 002ACB44 38 81 00 68 */ addi r4, r1, 0x68 +/* 802AFBE8 002ACB48 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFBEC 002ACB4C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFBF0 002ACB50 7D 89 03 A6 */ mtctr r12 +/* 802AFBF4 002ACB54 4E 80 04 21 */ bctrl +lbl_802AFBF8: +/* 802AFBF8 002ACB58 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFBFC 002ACB5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802AFC00 002ACB60 41 82 00 28 */ beq lbl_802AFC28 +/* 802AFC04 002ACB64 7F E4 FB 78 */ mr r4, r31 +/* 802AFC08 002ACB68 38 61 01 40 */ addi r3, r1, 0x140 +/* 802AFC0C 002ACB6C 48 00 09 CD */ bl GetTransform__17CProjectileWeaponFv +/* 802AFC10 002ACB70 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC14 002ACB74 38 81 01 40 */ addi r4, r1, 0x140 +/* 802AFC18 002ACB78 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC1C 002ACB7C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFC20 002ACB80 7D 89 03 A6 */ mtctr r12 +/* 802AFC24 002ACB84 4E 80 04 21 */ bctrl +lbl_802AFC28: +/* 802AFC28 002ACB88 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC2C 002ACB8C FC 20 F8 90 */ fmr f1, f31 +/* 802AFC30 002ACB90 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC34 002ACB94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFC38 002ACB98 7D 89 03 A6 */ mtctr r12 +/* 802AFC3C 002ACB9C 4E 80 04 21 */ bctrl +/* 802AFC40 002ACBA0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC44 002ACBA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC48 002ACBA8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFC4C 002ACBAC 7D 89 03 A6 */ mtctr r12 +/* 802AFC50 002ACBB0 4E 80 04 21 */ bctrl +/* 802AFC54 002ACBB4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFC58 002ACBB8 28 00 00 01 */ cmplwi r0, 1 +/* 802AFC5C 002ACBBC 40 82 00 2C */ bne lbl_802AFC88 +/* 802AFC60 002ACBC0 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802AFC64 002ACBC4 28 03 00 00 */ cmplwi r3, 0 +/* 802AFC68 002ACBC8 41 82 00 18 */ beq lbl_802AFC80 +/* 802AFC6C 002ACBCC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFC70 002ACBD0 38 80 00 01 */ li r4, 1 +/* 802AFC74 002ACBD4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFC78 002ACBD8 7D 89 03 A6 */ mtctr r12 +/* 802AFC7C 002ACBDC 4E 80 04 21 */ bctrl +lbl_802AFC80: +/* 802AFC80 002ACBE0 38 00 00 00 */ li r0, 0 +/* 802AFC84 002ACBE4 90 1F 00 FC */ stw r0, 0xfc(r31) +lbl_802AFC88: +/* 802AFC88 002ACBE8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFC8C 002ACBEC 28 03 00 00 */ cmplwi r3, 0 +/* 802AFC90 002ACBF0 41 82 01 40 */ beq lbl_802AFDD0 +/* 802AFC94 002ACBF4 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFC98 002ACBF8 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFC9C 002ACBFC 7C 00 20 00 */ cmpw r0, r4 +/* 802AFCA0 002ACC00 41 82 00 D0 */ beq lbl_802AFD70 +/* 802AFCA4 002ACC04 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFCA8 002ACC08 7C 04 00 00 */ cmpw r4, r0 +/* 802AFCAC 002ACC0C 40 81 00 24 */ ble lbl_802AFCD0 +/* 802AFCB0 002ACC10 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFCB4 002ACC14 38 80 00 00 */ li r4, 0 +/* 802AFCB8 002ACC18 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFCBC 002ACC1C 7D 89 03 A6 */ mtctr r12 +/* 802AFCC0 002ACC20 4E 80 04 21 */ bctrl +/* 802AFCC4 002ACC24 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFCC8 002ACC28 48 06 CB 4D */ bl EndLifetime__11CElementGenFv +/* 802AFCCC 002ACC2C 48 00 00 A4 */ b lbl_802AFD70 +lbl_802AFCD0: +/* 802AFCD0 002ACC30 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFCD4 002ACC34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 802AFCD8 002ACC38 41 82 00 38 */ beq lbl_802AFD10 +/* 802AFCDC 002ACC3C 7F E4 FB 78 */ mr r4, r31 +/* 802AFCE0 002ACC40 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AFCE4 002ACC44 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFCE8 002ACC48 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFCEC 002ACC4C 7D 89 03 A6 */ mtctr r12 +/* 802AFCF0 002ACC50 4E 80 04 21 */ bctrl +/* 802AFCF4 002ACC54 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFCF8 002ACC58 38 81 00 5C */ addi r4, r1, 0x5c +/* 802AFCFC 002ACC5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD00 002ACC60 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFD04 002ACC64 7D 89 03 A6 */ mtctr r12 +/* 802AFD08 002ACC68 4E 80 04 21 */ bctrl +/* 802AFD0C 002ACC6C 48 00 00 34 */ b lbl_802AFD40 +lbl_802AFD10: +/* 802AFD10 002ACC70 7F E4 FB 78 */ mr r4, r31 +/* 802AFD14 002ACC74 38 61 00 50 */ addi r3, r1, 0x50 +/* 802AFD18 002ACC78 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFD1C 002ACC7C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFD20 002ACC80 7D 89 03 A6 */ mtctr r12 +/* 802AFD24 002ACC84 4E 80 04 21 */ bctrl +/* 802AFD28 002ACC88 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD2C 002ACC8C 38 81 00 50 */ addi r4, r1, 0x50 +/* 802AFD30 002ACC90 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD34 002ACC94 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFD38 002ACC98 7D 89 03 A6 */ mtctr r12 +/* 802AFD3C 002ACC9C 4E 80 04 21 */ bctrl +lbl_802AFD40: +/* 802AFD40 002ACCA0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFD44 002ACCA4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 802AFD48 002ACCA8 41 82 00 28 */ beq lbl_802AFD70 +/* 802AFD4C 002ACCAC 7F E4 FB 78 */ mr r4, r31 +/* 802AFD50 002ACCB0 38 61 01 10 */ addi r3, r1, 0x110 +/* 802AFD54 002ACCB4 48 00 08 85 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFD58 002ACCB8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD5C 002ACCBC 38 81 01 10 */ addi r4, r1, 0x110 +/* 802AFD60 002ACCC0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD64 002ACCC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFD68 002ACCC8 7D 89 03 A6 */ mtctr r12 +/* 802AFD6C 002ACCCC 4E 80 04 21 */ bctrl +lbl_802AFD70: +/* 802AFD70 002ACCD0 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD74 002ACCD4 FC 20 F8 90 */ fmr f1, f31 +/* 802AFD78 002ACCD8 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD7C 002ACCDC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFD80 002ACCE0 7D 89 03 A6 */ mtctr r12 +/* 802AFD84 002ACCE4 4E 80 04 21 */ bctrl +/* 802AFD88 002ACCE8 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFD8C 002ACCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFD90 002ACCF0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFD94 002ACCF4 7D 89 03 A6 */ mtctr r12 +/* 802AFD98 002ACCF8 4E 80 04 21 */ bctrl +/* 802AFD9C 002ACCFC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFDA0 002ACD00 28 00 00 01 */ cmplwi r0, 1 +/* 802AFDA4 002ACD04 40 82 00 2C */ bne lbl_802AFDD0 +/* 802AFDA8 002ACD08 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802AFDAC 002ACD0C 28 03 00 00 */ cmplwi r3, 0 +/* 802AFDB0 002ACD10 41 82 00 18 */ beq lbl_802AFDC8 +/* 802AFDB4 002ACD14 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFDB8 002ACD18 38 80 00 01 */ li r4, 1 +/* 802AFDBC 002ACD1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFDC0 002ACD20 7D 89 03 A6 */ mtctr r12 +/* 802AFDC4 002ACD24 4E 80 04 21 */ bctrl +lbl_802AFDC8: +/* 802AFDC8 002ACD28 38 00 00 00 */ li r0, 0 +/* 802AFDCC 002ACD2C 90 1F 01 00 */ stw r0, 0x100(r31) +lbl_802AFDD0: +/* 802AFDD0 002ACD30 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFDD4 002ACD34 28 03 00 00 */ cmplwi r3, 0 +/* 802AFDD8 002ACD38 41 82 01 40 */ beq lbl_802AFF18 +/* 802AFDDC 002ACD3C 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFDE0 002ACD40 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFDE4 002ACD44 7C 00 20 00 */ cmpw r0, r4 +/* 802AFDE8 002ACD48 41 82 00 BC */ beq lbl_802AFEA4 +/* 802AFDEC 002ACD4C 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFDF0 002ACD50 7C 04 00 00 */ cmpw r4, r0 +/* 802AFDF4 002ACD54 40 81 00 1C */ ble lbl_802AFE10 +/* 802AFDF8 002ACD58 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFDFC 002ACD5C 38 80 00 00 */ li r4, 0 +/* 802AFE00 002ACD60 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFE04 002ACD64 7D 89 03 A6 */ mtctr r12 +/* 802AFE08 002ACD68 4E 80 04 21 */ bctrl +/* 802AFE0C 002ACD6C 48 00 00 98 */ b lbl_802AFEA4 +lbl_802AFE10: +/* 802AFE10 002ACD70 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFE14 002ACD74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 802AFE18 002ACD78 41 82 00 38 */ beq lbl_802AFE50 +/* 802AFE1C 002ACD7C 7F E4 FB 78 */ mr r4, r31 +/* 802AFE20 002ACD80 38 61 00 44 */ addi r3, r1, 0x44 +/* 802AFE24 002ACD84 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFE28 002ACD88 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE2C 002ACD8C 7D 89 03 A6 */ mtctr r12 +/* 802AFE30 002ACD90 4E 80 04 21 */ bctrl +/* 802AFE34 002ACD94 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE38 002ACD98 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AFE3C 002ACD9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE40 002ACDA0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFE44 002ACDA4 7D 89 03 A6 */ mtctr r12 +/* 802AFE48 002ACDA8 4E 80 04 21 */ bctrl +/* 802AFE4C 002ACDAC 48 00 00 34 */ b lbl_802AFE80 +lbl_802AFE50: +/* 802AFE50 002ACDB0 7F E4 FB 78 */ mr r4, r31 +/* 802AFE54 002ACDB4 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AFE58 002ACDB8 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFE5C 002ACDBC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE60 002ACDC0 7D 89 03 A6 */ mtctr r12 +/* 802AFE64 002ACDC4 4E 80 04 21 */ bctrl +/* 802AFE68 002ACDC8 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE6C 002ACDCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 802AFE70 002ACDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE74 002ACDD4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFE78 002ACDD8 7D 89 03 A6 */ mtctr r12 +/* 802AFE7C 002ACDDC 4E 80 04 21 */ bctrl +lbl_802AFE80: +/* 802AFE80 002ACDE0 7F E4 FB 78 */ mr r4, r31 +/* 802AFE84 002ACDE4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802AFE88 002ACDE8 48 00 07 51 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFE8C 002ACDEC 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFE90 002ACDF0 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802AFE94 002ACDF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFE98 002ACDF8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFE9C 002ACDFC 7D 89 03 A6 */ mtctr r12 +/* 802AFEA0 002ACE00 4E 80 04 21 */ bctrl +lbl_802AFEA4: +/* 802AFEA4 002ACE04 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEA8 002ACE08 38 80 00 01 */ li r4, 1 +/* 802AFEAC 002ACE0C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802AFEB0 002ACE10 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802AFEB4 002ACE14 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802AFEB8 002ACE18 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802AFEBC 002ACE1C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEC0 002ACE20 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFEC4 002ACE24 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802AFEC8 002ACE28 7D 89 03 A6 */ mtctr r12 +/* 802AFECC 002ACE2C 4E 80 04 21 */ bctrl +/* 802AFED0 002ACE30 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFED4 002ACE34 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFED8 002ACE38 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802AFEDC 002ACE3C 7D 89 03 A6 */ mtctr r12 +/* 802AFEE0 002ACE40 4E 80 04 21 */ bctrl +/* 802AFEE4 002ACE44 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802AFEE8 002ACE48 28 00 00 01 */ cmplwi r0, 1 +/* 802AFEEC 002ACE4C 40 82 00 2C */ bne lbl_802AFF18 +/* 802AFEF0 002ACE50 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802AFEF4 002ACE54 28 03 00 00 */ cmplwi r3, 0 +/* 802AFEF8 002ACE58 41 82 00 18 */ beq lbl_802AFF10 +/* 802AFEFC 002ACE5C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF00 002ACE60 38 80 00 01 */ li r4, 1 +/* 802AFF04 002ACE64 81 8C 00 08 */ lwz r12, 8(r12) +/* 802AFF08 002ACE68 7D 89 03 A6 */ mtctr r12 +/* 802AFF0C 002ACE6C 4E 80 04 21 */ bctrl +lbl_802AFF10: +/* 802AFF10 002ACE70 38 00 00 00 */ li r0, 0 +/* 802AFF14 002ACE74 90 1F 01 18 */ stw r0, 0x118(r31) +lbl_802AFF18: +/* 802AFF18 002ACE78 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFF1C 002ACE7C 28 03 00 00 */ cmplwi r3, 0 +/* 802AFF20 002ACE80 41 82 01 40 */ beq lbl_802B0060 +/* 802AFF24 002ACE84 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802AFF28 002ACE88 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802AFF2C 002ACE8C 7C 00 20 00 */ cmpw r0, r4 +/* 802AFF30 002ACE90 41 82 00 BC */ beq lbl_802AFFEC +/* 802AFF34 002ACE94 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802AFF38 002ACE98 7C 04 00 00 */ cmpw r4, r0 +/* 802AFF3C 002ACE9C 40 81 00 1C */ ble lbl_802AFF58 +/* 802AFF40 002ACEA0 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF44 002ACEA4 38 80 00 00 */ li r4, 0 +/* 802AFF48 002ACEA8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802AFF4C 002ACEAC 7D 89 03 A6 */ mtctr r12 +/* 802AFF50 002ACEB0 4E 80 04 21 */ bctrl +/* 802AFF54 002ACEB4 48 00 00 98 */ b lbl_802AFFEC +lbl_802AFF58: +/* 802AFF58 002ACEB8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802AFF5C 002ACEBC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 802AFF60 002ACEC0 41 82 00 38 */ beq lbl_802AFF98 +/* 802AFF64 002ACEC4 7F E4 FB 78 */ mr r4, r31 +/* 802AFF68 002ACEC8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AFF6C 002ACECC 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFF70 002ACED0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFF74 002ACED4 7D 89 03 A6 */ mtctr r12 +/* 802AFF78 002ACED8 4E 80 04 21 */ bctrl +/* 802AFF7C 002ACEDC 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFF80 002ACEE0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AFF84 002ACEE4 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFF88 002ACEE8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802AFF8C 002ACEEC 7D 89 03 A6 */ mtctr r12 +/* 802AFF90 002ACEF0 4E 80 04 21 */ bctrl +/* 802AFF94 002ACEF4 48 00 00 34 */ b lbl_802AFFC8 +lbl_802AFF98: +/* 802AFF98 002ACEF8 7F E4 FB 78 */ mr r4, r31 +/* 802AFF9C 002ACEFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AFFA0 002ACF00 81 9F 00 00 */ lwz r12, 0(r31) +/* 802AFFA4 002ACF04 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFFA8 002ACF08 7D 89 03 A6 */ mtctr r12 +/* 802AFFAC 002ACF0C 4E 80 04 21 */ bctrl +/* 802AFFB0 002ACF10 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFB4 002ACF14 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AFFB8 002ACF18 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFFBC 002ACF1C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AFFC0 002ACF20 7D 89 03 A6 */ mtctr r12 +/* 802AFFC4 002ACF24 4E 80 04 21 */ bctrl +lbl_802AFFC8: +/* 802AFFC8 002ACF28 7F E4 FB 78 */ mr r4, r31 +/* 802AFFCC 002ACF2C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802AFFD0 002ACF30 48 00 06 09 */ bl GetTransform__17CProjectileWeaponFv +/* 802AFFD4 002ACF34 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFD8 002ACF38 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802AFFDC 002ACF3C 81 83 00 00 */ lwz r12, 0(r3) +/* 802AFFE0 002ACF40 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AFFE4 002ACF44 7D 89 03 A6 */ mtctr r12 +/* 802AFFE8 002ACF48 4E 80 04 21 */ bctrl +lbl_802AFFEC: +/* 802AFFEC 002ACF4C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802AFFF0 002ACF50 38 80 00 01 */ li r4, 1 +/* 802AFFF4 002ACF54 C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802AFFF8 002ACF58 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802AFFFC 002ACF5C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B0000 002ACF60 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802B0004 002ACF64 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0008 002ACF68 81 83 00 00 */ lwz r12, 0(r3) +/* 802B000C 002ACF6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0010 002ACF70 7D 89 03 A6 */ mtctr r12 +/* 802B0014 002ACF74 4E 80 04 21 */ bctrl +/* 802B0018 002ACF78 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B001C 002ACF7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0020 002ACF80 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B0024 002ACF84 7D 89 03 A6 */ mtctr r12 +/* 802B0028 002ACF88 4E 80 04 21 */ bctrl +/* 802B002C 002ACF8C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B0030 002ACF90 28 00 00 01 */ cmplwi r0, 1 +/* 802B0034 002ACF94 40 82 00 2C */ bne lbl_802B0060 +/* 802B0038 002ACF98 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B003C 002ACF9C 28 03 00 00 */ cmplwi r3, 0 +/* 802B0040 002ACFA0 41 82 00 18 */ beq lbl_802B0058 +/* 802B0044 002ACFA4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0048 002ACFA8 38 80 00 01 */ li r4, 1 +/* 802B004C 002ACFAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0050 002ACFB0 7D 89 03 A6 */ mtctr r12 +/* 802B0054 002ACFB4 4E 80 04 21 */ bctrl +lbl_802B0058: +/* 802B0058 002ACFB8 38 00 00 00 */ li r0, 0 +/* 802B005C 002ACFBC 90 1F 01 1C */ stw r0, 0x11c(r31) +lbl_802B0060: +/* 802B0060 002ACFC0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0064 002ACFC4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0068 002ACFC8 41 82 01 40 */ beq lbl_802B01A8 +/* 802B006C 002ACFCC 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 802B0070 002ACFD0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0074 002ACFD4 7C 00 20 00 */ cmpw r0, r4 +/* 802B0078 002ACFD8 41 82 00 BC */ beq lbl_802B0134 +/* 802B007C 002ACFDC 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B0080 002ACFE0 7C 04 00 00 */ cmpw r4, r0 +/* 802B0084 002ACFE4 40 81 00 1C */ ble lbl_802B00A0 +/* 802B0088 002ACFE8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B008C 002ACFEC 38 80 00 00 */ li r4, 0 +/* 802B0090 002ACFF0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 802B0094 002ACFF4 7D 89 03 A6 */ mtctr r12 +/* 802B0098 002ACFF8 4E 80 04 21 */ bctrl +/* 802B009C 002ACFFC 48 00 00 98 */ b lbl_802B0134 +lbl_802B00A0: +/* 802B00A0 002AD000 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B00A4 002AD004 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 802B00A8 002AD008 41 82 00 38 */ beq lbl_802B00E0 +/* 802B00AC 002AD00C 7F E4 FB 78 */ mr r4, r31 +/* 802B00B0 002AD010 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B00B4 002AD014 81 9F 00 00 */ lwz r12, 0(r31) +/* 802B00B8 002AD018 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B00BC 002AD01C 7D 89 03 A6 */ mtctr r12 +/* 802B00C0 002AD020 4E 80 04 21 */ bctrl +/* 802B00C4 002AD024 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B00C8 002AD028 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B00CC 002AD02C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B00D0 002AD030 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 802B00D4 002AD034 7D 89 03 A6 */ mtctr r12 +/* 802B00D8 002AD038 4E 80 04 21 */ bctrl +/* 802B00DC 002AD03C 48 00 00 34 */ b lbl_802B0110 +lbl_802B00E0: +/* 802B00E0 002AD040 7F E4 FB 78 */ mr r4, r31 +/* 802B00E4 002AD044 38 61 00 08 */ addi r3, r1, 8 +/* 802B00E8 002AD048 81 9F 00 00 */ lwz r12, 0(r31) +/* 802B00EC 002AD04C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B00F0 002AD050 7D 89 03 A6 */ mtctr r12 +/* 802B00F4 002AD054 4E 80 04 21 */ bctrl +/* 802B00F8 002AD058 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B00FC 002AD05C 38 81 00 08 */ addi r4, r1, 8 +/* 802B0100 002AD060 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0104 002AD064 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802B0108 002AD068 7D 89 03 A6 */ mtctr r12 +/* 802B010C 002AD06C 4E 80 04 21 */ bctrl +lbl_802B0110: +/* 802B0110 002AD070 7F E4 FB 78 */ mr r4, r31 +/* 802B0114 002AD074 38 61 00 80 */ addi r3, r1, 0x80 +/* 802B0118 002AD078 48 00 04 C1 */ bl GetTransform__17CProjectileWeaponFv +/* 802B011C 002AD07C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0120 002AD080 38 81 00 80 */ addi r4, r1, 0x80 +/* 802B0124 002AD084 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0128 002AD088 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802B012C 002AD08C 7D 89 03 A6 */ mtctr r12 +/* 802B0130 002AD090 4E 80 04 21 */ bctrl +lbl_802B0134: +/* 802B0134 002AD094 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0138 002AD098 38 80 00 01 */ li r4, 1 +/* 802B013C 002AD09C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802B0140 002AD0A0 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 802B0144 002AD0A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B0148 002AD0A8 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 802B014C 002AD0AC 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0150 002AD0B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0154 002AD0B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0158 002AD0B8 7D 89 03 A6 */ mtctr r12 +/* 802B015C 002AD0BC 4E 80 04 21 */ bctrl +/* 802B0160 002AD0C0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0164 002AD0C4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0168 002AD0C8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B016C 002AD0CC 7D 89 03 A6 */ mtctr r12 +/* 802B0170 002AD0D0 4E 80 04 21 */ bctrl +/* 802B0174 002AD0D4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B0178 002AD0D8 28 00 00 01 */ cmplwi r0, 1 +/* 802B017C 002AD0DC 40 82 00 2C */ bne lbl_802B01A8 +/* 802B0180 002AD0E0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0184 002AD0E4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0188 002AD0E8 41 82 00 18 */ beq lbl_802B01A0 +/* 802B018C 002AD0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0190 002AD0F0 38 80 00 01 */ li r4, 1 +/* 802B0194 002AD0F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0198 002AD0F8 7D 89 03 A6 */ mtctr r12 +/* 802B019C 002AD0FC 4E 80 04 21 */ bctrl +lbl_802B01A0: +/* 802B01A0 002AD100 38 00 00 00 */ li r0, 0 +/* 802B01A4 002AD104 90 1F 01 20 */ stw r0, 0x120(r31) +lbl_802B01A8: +/* 802B01A8 002AD108 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01AC 002AD10C 28 03 00 00 */ cmplwi r3, 0 +/* 802B01B0 002AD110 41 82 00 60 */ beq lbl_802B0210 +/* 802B01B4 002AD114 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01B8 002AD118 FC 20 F8 90 */ fmr f1, f31 +/* 802B01BC 002AD11C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B01C0 002AD120 7D 89 03 A6 */ mtctr r12 +/* 802B01C4 002AD124 4E 80 04 21 */ bctrl +/* 802B01C8 002AD128 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01CC 002AD12C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01D0 002AD130 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 802B01D4 002AD134 7D 89 03 A6 */ mtctr r12 +/* 802B01D8 002AD138 4E 80 04 21 */ bctrl +/* 802B01DC 002AD13C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802B01E0 002AD140 28 00 00 01 */ cmplwi r0, 1 +/* 802B01E4 002AD144 40 82 00 2C */ bne lbl_802B0210 +/* 802B01E8 002AD148 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B01EC 002AD14C 28 03 00 00 */ cmplwi r3, 0 +/* 802B01F0 002AD150 41 82 00 18 */ beq lbl_802B0208 +/* 802B01F4 002AD154 81 83 00 00 */ lwz r12, 0(r3) +/* 802B01F8 002AD158 38 80 00 01 */ li r4, 1 +/* 802B01FC 002AD15C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0200 002AD160 7D 89 03 A6 */ mtctr r12 +/* 802B0204 002AD164 4E 80 04 21 */ bctrl +lbl_802B0208: +/* 802B0208 002AD168 38 00 00 00 */ li r0, 0 +/* 802B020C 002AD16C 90 1F 01 04 */ stw r0, 0x104(r31) +lbl_802B0210: +/* 802B0210 002AD170 80 1F 00 F4 */ lwz r0, 0xf4(r31) +/* 802B0214 002AD174 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 802B0218 002AD178 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 802B021C 002AD17C 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802B0220 002AD180 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 802B0224 002AD184 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 802B0228 002AD188 7C 08 03 A6 */ mtlr r0 +/* 802B022C 002AD18C 38 21 01 90 */ addi r1, r1, 0x190 +/* 802B0230 002AD190 4E 80 00 20 */ blr + +.global UpdatePSTranslationAndOrientation__17CProjectileWeaponFv +UpdatePSTranslationAndOrientation__17CProjectileWeaponFv: +/* 802B0234 002AD194 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B0238 002AD198 7C 08 02 A6 */ mflr r0 +/* 802B023C 002AD19C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B0240 002AD1A0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B0244 002AD1A4 7C 7F 1B 78 */ mr r31, r3 +/* 802B0248 002AD1A8 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 802B024C 002AD1AC 80 83 00 F4 */ lwz r4, 0xf4(r3) +/* 802B0250 002AD1B0 7C 00 20 00 */ cmpw r0, r4 +/* 802B0254 002AD1B4 41 80 02 3C */ blt lbl_802B0490 +/* 802B0258 002AD1B8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B025C 002AD1BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802B0260 002AD1C0 41 82 02 30 */ beq lbl_802B0490 +/* 802B0264 002AD1C4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0268 002AD1C8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802B026C 002AD1CC 28 03 00 00 */ cmplwi r3, 0 +/* 802B0270 002AD1D0 41 82 00 1C */ beq lbl_802B028C +/* 802B0274 002AD1D4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0278 002AD1D8 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B027C 002AD1DC 38 DF 00 80 */ addi r6, r31, 0x80 +/* 802B0280 002AD1E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0284 002AD1E4 7D 89 03 A6 */ mtctr r12 +/* 802B0288 002AD1E8 4E 80 04 21 */ bctrl +lbl_802B028C: +/* 802B028C 002AD1EC 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0290 002AD1F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 802B0294 002AD1F4 41 82 00 48 */ beq lbl_802B02DC +/* 802B0298 002AD1F8 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B029C 002AD1FC 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B02A0 002AD200 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B02A4 002AD204 48 06 28 45 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B02A8 002AD208 C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B02AC 002AD20C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802B02B0 002AD210 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02B4 002AD214 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 802B02B8 002AD218 C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B02BC 002AD21C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802B02C0 002AD220 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02C4 002AD224 D0 1F 00 84 */ stfs f0, 0x84(r31) +/* 802B02C8 002AD228 C0 3F 00 88 */ lfs f1, 0x88(r31) +/* 802B02CC 002AD22C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802B02D0 002AD230 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02D4 002AD234 D0 1F 00 88 */ stfs f0, 0x88(r31) +/* 802B02D8 002AD238 48 00 00 34 */ b lbl_802B030C +lbl_802B02DC: +/* 802B02DC 002AD23C C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B02E0 002AD240 C0 1F 00 B0 */ lfs f0, 0xb0(r31) +/* 802B02E4 002AD244 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02E8 002AD248 D0 1F 00 80 */ stfs f0, 0x80(r31) +/* 802B02EC 002AD24C C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B02F0 002AD250 C0 1F 00 B4 */ lfs f0, 0xb4(r31) +/* 802B02F4 002AD254 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B02F8 002AD258 D0 1F 00 84 */ stfs f0, 0x84(r31) +/* 802B02FC 002AD25C C0 3F 00 88 */ lfs f1, 0x88(r31) +/* 802B0300 002AD260 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802B0304 002AD264 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B0308 002AD268 D0 1F 00 88 */ stfs f0, 0x88(r31) +lbl_802B030C: +/* 802B030C 002AD26C C0 82 C1 FC */ lfs f4, lbl_805ADF1C@sda21(r2) +/* 802B0310 002AD270 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 802B0314 002AD274 C0 7F 00 C0 */ lfs f3, 0xc0(r31) +/* 802B0318 002AD278 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802B031C 002AD27C C0 3F 00 B0 */ lfs f1, 0xb0(r31) +/* 802B0320 002AD280 C0 5F 00 C4 */ lfs f2, 0xc4(r31) +/* 802B0324 002AD284 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802B0328 002AD288 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B032C 002AD28C EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802B0330 002AD290 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 802B0334 002AD294 C0 1F 00 B4 */ lfs f0, 0xb4(r31) +/* 802B0338 002AD298 EC 00 18 2A */ fadds f0, f0, f3 +/* 802B033C 002AD29C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 802B0340 002AD2A0 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 802B0344 002AD2A4 EC 00 08 2A */ fadds f0, f0, f1 +/* 802B0348 002AD2A8 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 802B034C 002AD2AC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0350 002AD2B0 80 63 00 08 */ lwz r3, 8(r3) +/* 802B0354 002AD2B4 28 03 00 00 */ cmplwi r3, 0 +/* 802B0358 002AD2B8 41 82 00 98 */ beq lbl_802B03F0 +/* 802B035C 002AD2BC C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0360 002AD2C0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802B0364 002AD2C4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802B0368 002AD2C8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802B036C 002AD2CC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802B0370 002AD2D0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0374 002AD2D4 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0378 002AD2D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B037C 002AD2DC 7D 89 03 A6 */ mtctr r12 +/* 802B0380 002AD2E0 4E 80 04 21 */ bctrl +/* 802B0384 002AD2E4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0388 002AD2E8 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B038C 002AD2EC 48 06 27 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0390 002AD2F0 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0394 002AD2F4 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0398 002AD2F8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 802B039C 002AD2FC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B03A0 002AD300 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03A4 002AD304 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B03A8 002AD308 48 06 33 4D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B03AC 002AD30C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B03B0 002AD310 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B03B4 002AD314 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802B03B8 002AD318 38 81 00 0C */ addi r4, r1, 0xc +/* 802B03BC 002AD31C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03C0 002AD320 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B03C4 002AD324 48 06 32 15 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B03C8 002AD328 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B03CC 002AD32C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B03D0 002AD330 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802B03D4 002AD334 38 81 00 08 */ addi r4, r1, 8 +/* 802B03D8 002AD338 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B03DC 002AD33C D0 01 00 08 */ stfs f0, 8(r1) +/* 802B03E0 002AD340 48 06 30 DD */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 802B03E4 002AD344 7F E3 FB 78 */ mr r3, r31 +/* 802B03E8 002AD348 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B03EC 002AD34C 48 00 01 15 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802B03F0: +/* 802B03F0 002AD350 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B03F4 002AD354 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802B03F8 002AD358 28 03 00 00 */ cmplwi r3, 0 +/* 802B03FC 002AD35C 41 82 00 1C */ beq lbl_802B0418 +/* 802B0400 002AD360 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0404 002AD364 38 BF 00 98 */ addi r5, r31, 0x98 +/* 802B0408 002AD368 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B040C 002AD36C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0410 002AD370 7D 89 03 A6 */ mtctr r12 +/* 802B0414 002AD374 4E 80 04 21 */ bctrl +lbl_802B0418: +/* 802B0418 002AD378 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B041C 002AD37C 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 802B0420 002AD380 28 03 00 00 */ cmplwi r3, 0 +/* 802B0424 002AD384 41 82 00 1C */ beq lbl_802B0440 +/* 802B0428 002AD388 81 83 00 00 */ lwz r12, 0(r3) +/* 802B042C 002AD38C 38 BF 00 C8 */ addi r5, r31, 0xc8 +/* 802B0430 002AD390 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0434 002AD394 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0438 002AD398 7D 89 03 A6 */ mtctr r12 +/* 802B043C 002AD39C 4E 80 04 21 */ bctrl +lbl_802B0440: +/* 802B0440 002AD3A0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0444 002AD3A4 80 63 00 20 */ lwz r3, 0x20(r3) +/* 802B0448 002AD3A8 28 03 00 00 */ cmplwi r3, 0 +/* 802B044C 002AD3AC 41 82 00 1C */ beq lbl_802B0468 +/* 802B0450 002AD3B0 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0454 002AD3B4 38 BF 00 A4 */ addi r5, r31, 0xa4 +/* 802B0458 002AD3B8 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B045C 002AD3BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0460 002AD3C0 7D 89 03 A6 */ mtctr r12 +/* 802B0464 002AD3C4 4E 80 04 21 */ bctrl +lbl_802B0468: +/* 802B0468 002AD3C8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B046C 002AD3CC 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802B0470 002AD3D0 28 03 00 00 */ cmplwi r3, 0 +/* 802B0474 002AD3D4 41 82 00 1C */ beq lbl_802B0490 +/* 802B0478 002AD3D8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B047C 002AD3DC 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802B0480 002AD3E0 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B0484 002AD3E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0488 002AD3E8 7D 89 03 A6 */ mtctr r12 +/* 802B048C 002AD3EC 4E 80 04 21 */ bctrl +lbl_802B0490: +/* 802B0490 002AD3F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B0494 002AD3F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B0498 002AD3F8 7C 08 03 A6 */ mtlr r0 +/* 802B049C 002AD3FC 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B04A0 002AD400 4E 80 00 20 */ blr + +.global SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f +SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f: +/* 802B04A4 002AD404 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802B04A8 002AD408 7C 08 02 A6 */ mflr r0 +/* 802B04AC 002AD40C 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B04B0 002AD410 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802B04B4 002AD414 7C 9F 23 78 */ mr r31, r4 +/* 802B04B8 002AD418 93 C1 00 68 */ stw r30, 0x68(r1) +/* 802B04BC 002AD41C 7C 7E 1B 78 */ mr r30, r3 +/* 802B04C0 002AD420 38 61 00 08 */ addi r3, r1, 8 +/* 802B04C4 002AD424 38 9E 00 14 */ addi r4, r30, 0x14 +/* 802B04C8 002AD428 48 06 22 19 */ bl GetInverse__12CTransform4fCFv +/* 802B04CC 002AD42C 7F E5 FB 78 */ mr r5, r31 +/* 802B04D0 002AD430 38 61 00 38 */ addi r3, r1, 0x38 +/* 802B04D4 002AD434 38 81 00 08 */ addi r4, r1, 8 +/* 802B04D8 002AD438 48 06 24 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B04DC 002AD43C 38 7E 00 44 */ addi r3, r30, 0x44 +/* 802B04E0 002AD440 38 81 00 38 */ addi r4, r1, 0x38 +/* 802B04E4 002AD444 48 06 26 5D */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B04E8 002AD448 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802B04EC 002AD44C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 802B04F0 002AD450 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 802B04F4 002AD454 7C 08 03 A6 */ mtlr r0 +/* 802B04F8 002AD458 38 21 00 70 */ addi r1, r1, 0x70 +/* 802B04FC 002AD45C 4E 80 00 20 */ blr + +.global SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f: +/* 802B0500 002AD460 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0504 002AD464 7C 08 02 A6 */ mflr r0 +/* 802B0508 002AD468 38 63 00 44 */ addi r3, r3, 0x44 +/* 802B050C 002AD46C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0510 002AD470 48 06 26 31 */ bl __as__12CTransform4fFRC12CTransform4f +/* 802B0514 002AD474 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0518 002AD478 7C 08 03 A6 */ mtlr r0 +/* 802B051C 002AD47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0520 002AD480 4E 80 00 20 */ blr + +.global GetTranslation__17CProjectileWeaponCFv +GetTranslation__17CProjectileWeaponCFv: +/* 802B0524 002AD484 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802B0528 002AD488 7C 08 02 A6 */ mflr r0 +/* 802B052C 002AD48C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B0530 002AD490 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802B0534 002AD494 7C 9F 23 78 */ mr r31, r4 +/* 802B0538 002AD498 38 9F 00 44 */ addi r4, r31, 0x44 +/* 802B053C 002AD49C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802B0540 002AD4A0 7C 7E 1B 78 */ mr r30, r3 +/* 802B0544 002AD4A4 38 61 00 08 */ addi r3, r1, 8 +/* 802B0548 002AD4A8 38 BF 00 8C */ addi r5, r31, 0x8c +/* 802B054C 002AD4AC 48 06 25 9D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B0550 002AD4B0 C0 3F 00 84 */ lfs f1, 0x84(r31) +/* 802B0554 002AD4B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802B0558 002AD4B8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802B055C 002AD4BC 38 9F 00 14 */ addi r4, r31, 0x14 +/* 802B0560 002AD4C0 C0 7F 00 88 */ lfs f3, 0x88(r31) +/* 802B0564 002AD4C4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802B0568 002AD4C8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802B056C 002AD4CC EC 81 00 2A */ fadds f4, f1, f0 +/* 802B0570 002AD4D0 C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 802B0574 002AD4D4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802B0578 002AD4D8 EC 43 10 2A */ fadds f2, f3, f2 +/* 802B057C 002AD4DC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802B0580 002AD4E0 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B0584 002AD4E4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802B0588 002AD4E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802B058C 002AD4EC 48 06 25 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802B0590 002AD4F0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802B0594 002AD4F4 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 802B0598 002AD4F8 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802B059C 002AD4FC C0 7F 00 78 */ lfs f3, 0x78(r31) +/* 802B05A0 002AD500 EC 01 00 2A */ fadds f0, f1, f0 +/* 802B05A4 002AD504 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802B05A8 002AD508 C0 3F 00 7C */ lfs f1, 0x7c(r31) +/* 802B05AC 002AD50C EC 64 18 2A */ fadds f3, f4, f3 +/* 802B05B0 002AD510 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802B05B4 002AD514 EC 02 08 2A */ fadds f0, f2, f1 +/* 802B05B8 002AD518 D0 7E 00 04 */ stfs f3, 4(r30) +/* 802B05BC 002AD51C D0 1E 00 08 */ stfs f0, 8(r30) +/* 802B05C0 002AD520 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802B05C4 002AD524 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802B05C8 002AD528 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802B05CC 002AD52C 7C 08 03 A6 */ mtlr r0 +/* 802B05D0 002AD530 38 21 00 40 */ addi r1, r1, 0x40 +/* 802B05D4 002AD534 4E 80 00 20 */ blr + +.global GetTransform__17CProjectileWeaponFv +GetTransform__17CProjectileWeaponFv: +/* 802B05D8 002AD538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B05DC 002AD53C 7C 08 02 A6 */ mflr r0 +/* 802B05E0 002AD540 7C 85 23 78 */ mr r5, r4 +/* 802B05E4 002AD544 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B05E8 002AD548 38 85 00 14 */ addi r4, r5, 0x14 +/* 802B05EC 002AD54C 38 A5 00 44 */ addi r5, r5, 0x44 +/* 802B05F0 002AD550 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B05F4 002AD554 7C 7F 1B 78 */ mr r31, r3 +/* 802B05F8 002AD558 48 06 23 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B05FC 002AD55C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0600 002AD560 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B0604 002AD564 7C 08 03 A6 */ mtlr r0 +/* 802B0608 002AD568 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B060C 002AD56C 4E 80 00 20 */ blr + +.global GetTransform__17CProjectileWeaponCFv +GetTransform__17CProjectileWeaponCFv: +/* 802B0610 002AD570 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0614 002AD574 7C 08 02 A6 */ mflr r0 +/* 802B0618 002AD578 7C 85 23 78 */ mr r5, r4 +/* 802B061C 002AD57C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0620 002AD580 38 85 00 14 */ addi r4, r5, 0x14 +/* 802B0624 002AD584 38 A5 00 44 */ addi r5, r5, 0x44 +/* 802B0628 002AD588 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B062C 002AD58C 7C 7F 1B 78 */ mr r31, r3 +/* 802B0630 002AD590 48 06 23 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802B0634 002AD594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0638 002AD598 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B063C 002AD59C 7C 08 03 A6 */ mtlr r0 +/* 802B0640 002AD5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0644 002AD5A4 4E 80 00 20 */ blr + +.global UpdateParticleFX__17CProjectileWeaponFv +UpdateParticleFX__17CProjectileWeaponFv: +/* 802B0648 002AD5A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B064C 002AD5AC 7C 08 02 A6 */ mflr r0 +/* 802B0650 002AD5B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B0654 002AD5B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B0658 002AD5B8 3B E0 00 00 */ li r31, 0 +/* 802B065C 002AD5BC 93 C1 00 08 */ stw r30, 8(r1) +/* 802B0660 002AD5C0 7C 7E 1B 78 */ mr r30, r3 +/* 802B0664 002AD5C4 48 00 00 14 */ b lbl_802B0678 +lbl_802B0668: +/* 802B0668 002AD5C8 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B066C 002AD5CC 7F C3 F3 78 */ mr r3, r30 +/* 802B0670 002AD5D0 4B FF F4 91 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf +/* 802B0674 002AD5D4 3B FF 00 01 */ addi r31, r31, 1 +lbl_802B0678: +/* 802B0678 002AD5D8 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 802B067C 002AD5DC 7C 1F 00 00 */ cmpw r31, r0 +/* 802B0680 002AD5E0 41 80 FF E8 */ blt lbl_802B0668 +/* 802B0684 002AD5E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B0688 002AD5E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B068C 002AD5EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B0690 002AD5F0 7C 08 03 A6 */ mtlr r0 +/* 802B0694 002AD5F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B0698 002AD5F8 4E 80 00 20 */ blr + +.global Update__17CProjectileWeaponFf +Update__17CProjectileWeaponFf: +/* 802B069C 002AD5FC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802B06A0 002AD600 7C 08 02 A6 */ mflr r0 +/* 802B06A4 002AD604 90 01 00 64 */ stw r0, 0x64(r1) +/* 802B06A8 002AD608 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 802B06AC 002AD60C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 802B06B0 002AD610 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 802B06B4 002AD614 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 802B06B8 002AD618 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 802B06BC 002AD61C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 802B06C0 002AD620 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B06C4 002AD624 FF C0 08 90 */ fmr f30, f1 +/* 802B06C8 002AD628 7C 7F 1B 78 */ mr r31, r3 +/* 802B06CC 002AD62C 38 61 00 08 */ addi r3, r1, 8 +/* 802B06D0 002AD630 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802B06D4 002AD634 48 06 1F AD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B06D8 002AD638 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 802B06DC 002AD63C 3C 60 43 30 */ lis r3, 0x4330 +/* 802B06E0 002AD640 C0 02 C1 FC */ lfs f0, lbl_805ADF1C@sda21(r2) +/* 802B06E4 002AD644 38 00 00 00 */ li r0, 0 +/* 802B06E8 002AD648 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 802B06EC 002AD64C 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B06F0 002AD650 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 802B06F4 002AD654 C8 42 C2 38 */ lfd f2, lbl_805ADF58@sda21(r2) +/* 802B06F8 002AD658 90 81 00 1C */ stw r4, 0x1c(r1) +/* 802B06FC 002AD65C C8 62 C2 00 */ lfd f3, lbl_805ADF20@sda21(r2) +/* 802B0700 002AD660 C8 21 00 18 */ lfd f1, 0x18(r1) +/* 802B0704 002AD664 FC 80 02 10 */ fabs f4, f0 +/* 802B0708 002AD668 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) +/* 802B070C 002AD66C FC 21 10 28 */ fsub f1, f1, f2 +/* 802B0710 002AD670 90 1F 00 EC */ stw r0, 0xec(r31) +/* 802B0714 002AD674 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 802B0718 002AD678 FF A3 00 72 */ fmul f29, f3, f1 +/* 802B071C 002AD67C 40 80 00 0C */ bge lbl_802B0728 +/* 802B0720 002AD680 FC 40 18 90 */ fmr f2, f3 +/* 802B0724 002AD684 48 00 00 08 */ b lbl_802B072C +lbl_802B0728: +/* 802B0728 002AD688 FC 40 F0 90 */ fmr f2, f30 +lbl_802B072C: +/* 802B072C 002AD68C C8 22 C2 20 */ lfd f1, lbl_805ADF40@sda21(r2) +/* 802B0730 002AD690 C8 02 C2 10 */ lfd f0, lbl_805ADF30@sda21(r2) +/* 802B0734 002AD694 FC 42 00 72 */ fmul f2, f2, f1 +/* 802B0738 002AD698 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802B073C 002AD69C 40 80 00 08 */ bge lbl_802B0744 +/* 802B0740 002AD6A0 FC 40 00 90 */ fmr f2, f0 +lbl_802B0744: +/* 802B0744 002AD6A4 C8 1F 00 D0 */ lfd f0, 0xd0(r31) +/* 802B0748 002AD6A8 CB E2 C2 30 */ lfd f31, lbl_805ADF50@sda21(r2) +/* 802B074C 002AD6AC FC 00 10 2A */ fadd f0, f0, f2 +/* 802B0750 002AD6B0 CB C2 C2 28 */ lfd f30, lbl_805ADF48@sda21(r2) +/* 802B0754 002AD6B4 D8 1F 00 D0 */ stfd f0, 0xd0(r31) +/* 802B0758 002AD6B8 48 00 00 4C */ b lbl_802B07A4 +lbl_802B075C: +/* 802B075C 002AD6BC 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B0760 002AD6C0 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B0764 002AD6C4 7C 03 00 00 */ cmpw r3, r0 +/* 802B0768 002AD6C8 40 80 00 20 */ bge lbl_802B0788 +/* 802B076C 002AD6CC 48 07 9F DD */ bl SetEmitterTime__16CParticleGlobalsFi +/* 802B0770 002AD6D0 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 802B0774 002AD6D4 48 07 A0 05 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 802B0778 002AD6D8 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B077C 002AD6DC 48 07 9F 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 802B0780 002AD6E0 7F E3 FB 78 */ mr r3, r31 +/* 802B0784 002AD6E4 4B FF FA B1 */ bl UpdatePSTranslationAndOrientation__17CProjectileWeaponFv +lbl_802B0788: +/* 802B0788 002AD6E8 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B078C 002AD6EC FF BD F0 2A */ fadd f29, f29, f30 +/* 802B0790 002AD6F0 38 03 00 01 */ addi r0, r3, 1 +/* 802B0794 002AD6F4 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 802B0798 002AD6F8 80 7F 00 EC */ lwz r3, 0xec(r31) +/* 802B079C 002AD6FC 38 03 00 01 */ addi r0, r3, 1 +/* 802B07A0 002AD700 90 1F 00 EC */ stw r0, 0xec(r31) +lbl_802B07A4: +/* 802B07A4 002AD704 C8 1F 00 D0 */ lfd f0, 0xd0(r31) +/* 802B07A8 002AD708 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 802B07AC 002AD70C 40 80 00 14 */ bge lbl_802B07C0 +/* 802B07B0 002AD710 FC 1D 00 28 */ fsub f0, f29, f0 +/* 802B07B4 002AD714 FC 00 02 10 */ fabs f0, f0 +/* 802B07B8 002AD718 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802B07BC 002AD71C 40 80 FF A0 */ bge lbl_802B075C +lbl_802B07C0: +/* 802B07C0 002AD720 C8 3F 00 D0 */ lfd f1, 0xd0(r31) +/* 802B07C4 002AD724 C8 02 C2 30 */ lfd f0, lbl_805ADF50@sda21(r2) +/* 802B07C8 002AD728 FC 3D 08 28 */ fsub f1, f29, f1 +/* 802B07CC 002AD72C FC 20 0A 10 */ fabs f1, f1 +/* 802B07D0 002AD730 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802B07D4 002AD734 40 80 00 08 */ bge lbl_802B07DC +/* 802B07D8 002AD738 DB BF 00 D0 */ stfd f29, 0xd0(r31) +lbl_802B07DC: +/* 802B07DC 002AD73C C8 3F 00 D0 */ lfd f1, 0xd0(r31) +/* 802B07E0 002AD740 C8 02 C2 00 */ lfd f0, lbl_805ADF20@sda21(r2) +/* 802B07E4 002AD744 FC 3D 08 28 */ fsub f1, f29, f1 +/* 802B07E8 002AD748 FC 01 00 24 */ fdiv f0, f1, f0 +/* 802B07EC 002AD74C FC 00 00 18 */ frsp f0, f0 +/* 802B07F0 002AD750 D8 1F 00 D8 */ stfd f0, 0xd8(r31) +/* 802B07F4 002AD754 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 802B07F8 002AD758 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 802B07FC 002AD75C 7C 03 00 00 */ cmpw r3, r0 +/* 802B0800 002AD760 40 80 00 34 */ bge lbl_802B0834 +/* 802B0804 002AD764 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0808 002AD768 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 802B080C 002AD76C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0810 002AD770 80 63 00 30 */ lwz r3, 0x30(r3) +/* 802B0814 002AD774 28 03 00 00 */ cmplwi r3, 0 +/* 802B0818 002AD778 41 82 00 1C */ beq lbl_802B0834 +/* 802B081C 002AD77C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0820 002AD780 38 BF 00 E0 */ addi r5, r31, 0xe0 +/* 802B0824 002AD784 38 80 00 00 */ li r4, 0 +/* 802B0828 002AD788 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B082C 002AD78C 7D 89 03 A6 */ mtctr r12 +/* 802B0830 002AD790 4E 80 04 21 */ bctrl +lbl_802B0834: +/* 802B0834 002AD794 38 61 00 08 */ addi r3, r1, 8 +/* 802B0838 002AD798 38 80 FF FF */ li r4, -1 +/* 802B083C 002AD79C 48 06 1D C9 */ bl __dt__13CGlobalRandomFv +/* 802B0840 002AD7A0 38 60 00 00 */ li r3, 0 +/* 802B0844 002AD7A4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 802B0848 002AD7A8 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 802B084C 002AD7AC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 802B0850 002AD7B0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 802B0854 002AD7B4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 802B0858 002AD7B8 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 802B085C 002AD7BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802B0860 002AD7C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B0864 002AD7C4 7C 08 03 A6 */ mtlr r0 +/* 802B0868 002AD7C8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802B086C 002AD7CC 4E 80 00 20 */ blr + +.global __dt__17CProjectileWeaponFv +__dt__17CProjectileWeaponFv: +/* 802B0870 002AD7D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B0874 002AD7D4 7C 08 02 A6 */ mflr r0 +/* 802B0878 002AD7D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B087C 002AD7DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B0880 002AD7E0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B0884 002AD7E4 93 C1 00 08 */ stw r30, 8(r1) +/* 802B0888 002AD7E8 7C 9E 23 78 */ mr r30, r4 +/* 802B088C 002AD7EC 41 82 01 44 */ beq lbl_802B09D0 +/* 802B0890 002AD7F0 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha +/* 802B0894 002AD7F4 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l +/* 802B0898 002AD7F8 90 1F 00 00 */ stw r0, 0(r31) +/* 802B089C 002AD7FC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802B08A0 002AD800 28 03 00 00 */ cmplwi r3, 0 +/* 802B08A4 002AD804 41 82 00 18 */ beq lbl_802B08BC +/* 802B08A8 002AD808 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08AC 002AD80C 38 80 00 01 */ li r4, 1 +/* 802B08B0 002AD810 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08B4 002AD814 7D 89 03 A6 */ mtctr r12 +/* 802B08B8 002AD818 4E 80 04 21 */ bctrl +lbl_802B08BC: +/* 802B08BC 002AD81C 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802B08C0 002AD820 28 03 00 00 */ cmplwi r3, 0 +/* 802B08C4 002AD824 41 82 00 18 */ beq lbl_802B08DC +/* 802B08C8 002AD828 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08CC 002AD82C 38 80 00 01 */ li r4, 1 +/* 802B08D0 002AD830 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08D4 002AD834 7D 89 03 A6 */ mtctr r12 +/* 802B08D8 002AD838 4E 80 04 21 */ bctrl +lbl_802B08DC: +/* 802B08DC 002AD83C 80 7F 01 04 */ lwz r3, 0x104(r31) +/* 802B08E0 002AD840 28 03 00 00 */ cmplwi r3, 0 +/* 802B08E4 002AD844 41 82 00 18 */ beq lbl_802B08FC +/* 802B08E8 002AD848 81 83 00 00 */ lwz r12, 0(r3) +/* 802B08EC 002AD84C 38 80 00 01 */ li r4, 1 +/* 802B08F0 002AD850 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B08F4 002AD854 7D 89 03 A6 */ mtctr r12 +/* 802B08F8 002AD858 4E 80 04 21 */ bctrl +lbl_802B08FC: +/* 802B08FC 002AD85C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802B0900 002AD860 28 03 00 00 */ cmplwi r3, 0 +/* 802B0904 002AD864 41 82 00 18 */ beq lbl_802B091C +/* 802B0908 002AD868 81 83 00 00 */ lwz r12, 0(r3) +/* 802B090C 002AD86C 38 80 00 01 */ li r4, 1 +/* 802B0910 002AD870 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0914 002AD874 7D 89 03 A6 */ mtctr r12 +/* 802B0918 002AD878 4E 80 04 21 */ bctrl +lbl_802B091C: +/* 802B091C 002AD87C 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0920 002AD880 28 03 00 00 */ cmplwi r3, 0 +/* 802B0924 002AD884 41 82 00 18 */ beq lbl_802B093C +/* 802B0928 002AD888 81 83 00 00 */ lwz r12, 0(r3) +/* 802B092C 002AD88C 38 80 00 01 */ li r4, 1 +/* 802B0930 002AD890 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0934 002AD894 7D 89 03 A6 */ mtctr r12 +/* 802B0938 002AD898 4E 80 04 21 */ bctrl +lbl_802B093C: +/* 802B093C 002AD89C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0940 002AD8A0 28 03 00 00 */ cmplwi r3, 0 +/* 802B0944 002AD8A4 41 82 00 18 */ beq lbl_802B095C +/* 802B0948 002AD8A8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B094C 002AD8AC 38 80 00 01 */ li r4, 1 +/* 802B0950 002AD8B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B0954 002AD8B4 7D 89 03 A6 */ mtctr r12 +/* 802B0958 002AD8B8 4E 80 04 21 */ bctrl +lbl_802B095C: +/* 802B095C 002AD8BC 34 1F 01 08 */ addic. r0, r31, 0x108 +/* 802B0960 002AD8C0 41 82 00 30 */ beq lbl_802B0990 +/* 802B0964 002AD8C4 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802B0968 002AD8C8 28 00 00 00 */ cmplwi r0, 0 +/* 802B096C 002AD8CC 41 82 00 1C */ beq lbl_802B0988 +/* 802B0970 002AD8D0 34 7F 01 08 */ addic. r3, r31, 0x108 +/* 802B0974 002AD8D4 41 82 00 14 */ beq lbl_802B0988 +/* 802B0978 002AD8D8 28 03 00 00 */ cmplwi r3, 0 +/* 802B097C 002AD8DC 41 82 00 0C */ beq lbl_802B0988 +/* 802B0980 002AD8E0 38 80 00 00 */ li r4, 0 +/* 802B0984 002AD8E4 48 09 04 BD */ bl __dt__6CTokenFv +lbl_802B0988: +/* 802B0988 002AD8E8 38 00 00 00 */ li r0, 0 +/* 802B098C 002AD8EC 98 1F 01 14 */ stb r0, 0x114(r31) +lbl_802B0990: +/* 802B0990 002AD8F0 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B0994 002AD8F4 41 82 00 18 */ beq lbl_802B09AC +/* 802B0998 002AD8F8 34 1F 00 04 */ addic. r0, r31, 4 +/* 802B099C 002AD8FC 41 82 00 10 */ beq lbl_802B09AC +/* 802B09A0 002AD900 38 7F 00 04 */ addi r3, r31, 4 +/* 802B09A4 002AD904 38 80 00 00 */ li r4, 0 +/* 802B09A8 002AD908 48 09 04 99 */ bl __dt__6CTokenFv +lbl_802B09AC: +/* 802B09AC 002AD90C 28 1F 00 00 */ cmplwi r31, 0 +/* 802B09B0 002AD910 41 82 00 10 */ beq lbl_802B09C0 +/* 802B09B4 002AD914 3C 60 80 3F */ lis r3, lbl_803EC4E8@ha +/* 802B09B8 002AD918 38 03 C4 E8 */ addi r0, r3, lbl_803EC4E8@l +/* 802B09BC 002AD91C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B09C0: +/* 802B09C0 002AD920 7F C0 07 35 */ extsh. r0, r30 +/* 802B09C4 002AD924 40 81 00 0C */ ble lbl_802B09D0 +/* 802B09C8 002AD928 7F E3 FB 78 */ mr r3, r31 +/* 802B09CC 002AD92C 48 06 4F 65 */ bl Free__7CMemoryFPCv +lbl_802B09D0: +/* 802B09D0 002AD930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B09D4 002AD934 7F E3 FB 78 */ mr r3, r31 +/* 802B09D8 002AD938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B09DC 002AD93C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B09E0 002AD940 7C 08 03 A6 */ mtlr r0 +/* 802B09E4 002AD944 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B09E8 002AD948 4E 80 00 20 */ blr + +.global "__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f" +"__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f": +/* 802B09EC 002AD94C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802B09F0 002AD950 7C 08 02 A6 */ mflr r0 +/* 802B09F4 002AD954 3D 20 80 3F */ lis r9, lbl_803EC4E8@ha +/* 802B09F8 002AD958 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802B09FC 002AD95C 38 09 C4 E8 */ addi r0, r9, lbl_803EC4E8@l +/* 802B0A00 002AD960 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 802B0A04 002AD964 7C 7F 1B 78 */ mr r31, r3 +/* 802B0A08 002AD968 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha +/* 802B0A0C 002AD96C 7C BB 2B 78 */ mr r27, r5 +/* 802B0A10 002AD970 3B 5F 00 04 */ addi r26, r31, 4 +/* 802B0A14 002AD974 7C DD 33 78 */ mr r29, r6 +/* 802B0A18 002AD978 7C FE 3B 78 */ mr r30, r7 +/* 802B0A1C 002AD97C 7D 1C 43 78 */ mr r28, r8 +/* 802B0A20 002AD980 90 1F 00 00 */ stw r0, 0(r31) +/* 802B0A24 002AD984 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l +/* 802B0A28 002AD988 7F 43 D3 78 */ mr r3, r26 +/* 802B0A2C 002AD98C 90 1F 00 00 */ stw r0, 0(r31) +/* 802B0A30 002AD990 48 09 04 79 */ bl __ct__6CTokenFRC6CToken +/* 802B0A34 002AD994 7F 43 D3 78 */ mr r3, r26 +/* 802B0A38 002AD998 48 09 03 D5 */ bl GetObj__6CTokenFv +/* 802B0A3C 002AD99C 80 03 00 04 */ lwz r0, 4(r3) +/* 802B0A40 002AD9A0 38 7F 00 10 */ addi r3, r31, 0x10 +/* 802B0A44 002AD9A4 90 1A 00 08 */ stw r0, 8(r26) +/* 802B0A48 002AD9A8 80 8D 9A 88 */ lwz r4, lbl_805A8648@sda21(r13) +/* 802B0A4C 002AD9AC 48 06 1B A1 */ bl __ct__9CRandom16FUi +/* 802B0A50 002AD9B0 7F A4 EB 78 */ mr r4, r29 +/* 802B0A54 002AD9B4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 802B0A58 002AD9B8 48 06 21 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0A5C 002AD9BC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0A60 002AD9C0 38 7F 00 44 */ addi r3, r31, 0x44 +/* 802B0A64 002AD9C4 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0A68 002AD9C8 48 06 21 0D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0A6C 002AD9CC C0 3B 00 00 */ lfs f1, 0(r27) +/* 802B0A70 002AD9D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802B0A74 002AD9D4 C0 02 C1 F8 */ lfs f0, lbl_805ADF18@sda21(r2) +/* 802B0A78 002AD9D8 D0 3F 00 74 */ stfs f1, 0x74(r31) +/* 802B0A7C 002AD9DC C0 3B 00 04 */ lfs f1, 4(r27) +/* 802B0A80 002AD9E0 D0 3F 00 78 */ stfs f1, 0x78(r31) +/* 802B0A84 002AD9E4 C0 3B 00 08 */ lfs f1, 8(r27) +/* 802B0A88 002AD9E8 D0 3F 00 7C */ stfs f1, 0x7c(r31) +/* 802B0A8C 002AD9EC C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 802B0A90 002AD9F0 D0 3F 00 80 */ stfs f1, 0x80(r31) +/* 802B0A94 002AD9F4 C0 23 00 04 */ lfs f1, 4(r3) +/* 802B0A98 002AD9F8 D0 3F 00 84 */ stfs f1, 0x84(r31) +/* 802B0A9C 002AD9FC C0 23 00 08 */ lfs f1, 8(r3) +/* 802B0AA0 002ADA00 D0 3F 00 88 */ stfs f1, 0x88(r31) +/* 802B0AA4 002ADA04 C0 23 00 00 */ lfs f1, 0(r3) +/* 802B0AA8 002ADA08 D0 3F 00 8C */ stfs f1, 0x8c(r31) +/* 802B0AAC 002ADA0C C0 23 00 04 */ lfs f1, 4(r3) +/* 802B0AB0 002ADA10 D0 3F 00 90 */ stfs f1, 0x90(r31) +/* 802B0AB4 002ADA14 C0 23 00 08 */ lfs f1, 8(r3) +/* 802B0AB8 002ADA18 D0 3F 00 94 */ stfs f1, 0x94(r31) +/* 802B0ABC 002ADA1C D0 1F 00 98 */ stfs f0, 0x98(r31) +/* 802B0AC0 002ADA20 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 802B0AC4 002ADA24 D0 1F 00 A0 */ stfs f0, 0xa0(r31) +/* 802B0AC8 002ADA28 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0ACC 002ADA2C D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 802B0AD0 002ADA30 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0AD4 002ADA34 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 802B0AD8 002ADA38 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0ADC 002ADA3C D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 802B0AE0 002ADA40 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0AE4 002ADA44 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 802B0AE8 002ADA48 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0AEC 002ADA4C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 802B0AF0 002ADA50 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0AF4 002ADA54 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 802B0AF8 002ADA58 C0 03 00 00 */ lfs f0, 0(r3) +/* 802B0AFC 002ADA5C D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 802B0B00 002ADA60 C0 03 00 04 */ lfs f0, 4(r3) +/* 802B0B04 002ADA64 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 802B0B08 002ADA68 C0 03 00 08 */ lfs f0, 8(r3) +/* 802B0B0C 002ADA6C D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 802B0B10 002ADA70 48 09 94 9D */ bl White__6CColorFv +/* 802B0B14 002ADA74 80 63 00 00 */ lwz r3, 0(r3) +/* 802B0B18 002ADA78 38 C0 00 00 */ li r6, 0 +/* 802B0B1C 002ADA7C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) +/* 802B0B20 002ADA80 38 00 FF FF */ li r0, -1 +/* 802B0B24 002ADA84 90 7F 00 C8 */ stw r3, 0xc8(r31) +/* 802B0B28 002ADA88 38 A0 00 01 */ li r5, 1 +/* 802B0B2C 002ADA8C C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0B30 002ADA90 38 61 00 48 */ addi r3, r1, 0x48 +/* 802B0B34 002ADA94 D8 3F 00 D0 */ stfd f1, 0xd0(r31) +/* 802B0B38 002ADA98 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802B0B3C 002ADA9C D8 3F 00 D8 */ stfd f1, 0xd8(r31) +/* 802B0B40 002ADAA0 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 802B0B44 002ADAA4 93 9F 00 E4 */ stw r28, 0xe4(r31) +/* 802B0B48 002ADAA8 90 DF 00 E8 */ stw r6, 0xe8(r31) +/* 802B0B4C 002ADAAC 90 DF 00 EC */ stw r6, 0xec(r31) +/* 802B0B50 002ADAB0 90 DF 00 F0 */ stw r6, 0xf0(r31) +/* 802B0B54 002ADAB4 90 DF 00 F4 */ stw r6, 0xf4(r31) +/* 802B0B58 002ADAB8 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 802B0B5C 002ADABC 90 DF 00 FC */ stw r6, 0xfc(r31) +/* 802B0B60 002ADAC0 90 DF 01 00 */ stw r6, 0x100(r31) +/* 802B0B64 002ADAC4 90 DF 01 04 */ stw r6, 0x104(r31) +/* 802B0B68 002ADAC8 98 DF 01 14 */ stb r6, 0x114(r31) +/* 802B0B6C 002ADACC 90 DF 01 18 */ stw r6, 0x118(r31) +/* 802B0B70 002ADAD0 90 DF 01 1C */ stw r6, 0x11c(r31) +/* 802B0B74 002ADAD4 90 DF 01 20 */ stw r6, 0x120(r31) +/* 802B0B78 002ADAD8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B7C 002ADADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802B0B80 002ADAE0 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B84 002ADAE4 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B88 002ADAE8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 802B0B8C 002ADAEC 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B90 002ADAF0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0B94 002ADAF4 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 802B0B98 002ADAF8 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0B9C 002ADAFC 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BA0 002ADB00 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 802B0BA4 002ADB04 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BA8 002ADB08 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BAC 002ADB0C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 802B0BB0 002ADB10 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BB4 002ADB14 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BB8 002ADB18 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 802B0BBC 002ADB1C 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BC0 002ADB20 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BC4 002ADB24 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e +/* 802B0BC8 002ADB28 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BCC 002ADB2C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BD0 002ADB30 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 802B0BD4 002ADB34 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BD8 002ADB38 48 06 1A A9 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B0BDC 002ADB3C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0BE0 002ADB40 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BE4 002ADB44 88 63 00 10 */ lbz r3, 0x10(r3) +/* 802B0BE8 002ADB48 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 802B0BEC 002ADB4C 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0BF0 002ADB50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0BF4 002ADB54 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B0BF8 002ADB58 88 63 00 28 */ lbz r3, 0x28(r3) +/* 802B0BFC 002ADB5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 802B0C00 002ADB60 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B0C04 002ADB64 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0C08 002ADB68 80 9F 00 E4 */ lwz r4, 0xe4(r31) +/* 802B0C0C 002ADB6C 88 03 00 40 */ lbz r0, 0x40(r3) +/* 802B0C10 002ADB70 54 9D 07 FE */ clrlwi r29, r4, 0x1f +/* 802B0C14 002ADB74 28 00 00 00 */ cmplwi r0, 0 +/* 802B0C18 002ADB78 41 82 00 8C */ beq lbl_802B0CA4 +/* 802B0C1C 002ADB7C 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0C20 002ADB80 3B 40 00 00 */ li r26, 0 +/* 802B0C24 002ADB84 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0C28 002ADB88 38 A0 00 00 */ li r5, 0 +/* 802B0C2C 002ADB8C 38 60 03 40 */ li r3, 0x340 +/* 802B0C30 002ADB90 48 06 4C 3D */ bl __nw__FUlPCcPCc +/* 802B0C34 002ADB94 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0C38 002ADB98 41 82 00 3C */ beq lbl_802B0C74 +/* 802B0C3C 002ADB9C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0C40 002ADBA0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B0C44 002ADBA4 38 84 00 34 */ addi r4, r4, 0x34 +/* 802B0C48 002ADBA8 48 09 02 61 */ bl __ct__6CTokenFRC6CToken +/* 802B0C4C 002ADBAC 28 1D 00 00 */ cmplwi r29, 0 +/* 802B0C50 002ADBB0 7F 83 E3 78 */ mr r3, r28 +/* 802B0C54 002ADBB4 38 81 00 34 */ addi r4, r1, 0x34 +/* 802B0C58 002ADBB8 3B 40 00 01 */ li r26, 1 +/* 802B0C5C 002ADBBC 38 A0 00 00 */ li r5, 0 +/* 802B0C60 002ADBC0 38 C0 00 01 */ li r6, 1 +/* 802B0C64 002ADBC4 41 82 00 08 */ beq lbl_802B0C6C +/* 802B0C68 002ADBC8 38 C0 00 02 */ li r6, 2 +lbl_802B0C6C: +/* 802B0C6C 002ADBCC 48 06 E7 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802B0C70 002ADBD0 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0C74: +/* 802B0C74 002ADBD4 7F 40 07 75 */ extsb. r0, r26 +/* 802B0C78 002ADBD8 93 9F 00 FC */ stw r28, 0xfc(r31) +/* 802B0C7C 002ADBDC 41 82 00 10 */ beq lbl_802B0C8C +/* 802B0C80 002ADBE0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802B0C84 002ADBE4 38 80 00 00 */ li r4, 0 +/* 802B0C88 002ADBE8 48 09 01 B9 */ bl __dt__6CTokenFv +lbl_802B0C8C: +/* 802B0C8C 002ADBEC 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 802B0C90 002ADBF0 7F C4 F3 78 */ mr r4, r30 +/* 802B0C94 002ADBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0C98 002ADBF8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0C9C 002ADBFC 7D 89 03 A6 */ mtctr r12 +/* 802B0CA0 002ADC00 4E 80 04 21 */ bctrl +lbl_802B0CA4: +/* 802B0CA4 002ADC04 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0CA8 002ADC08 88 03 00 50 */ lbz r0, 0x50(r3) +/* 802B0CAC 002ADC0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0CB0 002ADC10 41 82 00 8C */ beq lbl_802B0D3C +/* 802B0CB4 002ADC14 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0CB8 002ADC18 3B 40 00 00 */ li r26, 0 +/* 802B0CBC 002ADC1C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0CC0 002ADC20 38 A0 00 00 */ li r5, 0 +/* 802B0CC4 002ADC24 38 60 03 40 */ li r3, 0x340 +/* 802B0CC8 002ADC28 48 06 4B A5 */ bl __nw__FUlPCcPCc +/* 802B0CCC 002ADC2C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0CD0 002ADC30 41 82 00 3C */ beq lbl_802B0D0C +/* 802B0CD4 002ADC34 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0CD8 002ADC38 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0CDC 002ADC3C 38 84 00 44 */ addi r4, r4, 0x44 +/* 802B0CE0 002ADC40 48 09 01 C9 */ bl __ct__6CTokenFRC6CToken +/* 802B0CE4 002ADC44 28 1D 00 00 */ cmplwi r29, 0 +/* 802B0CE8 002ADC48 7F 83 E3 78 */ mr r3, r28 +/* 802B0CEC 002ADC4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B0CF0 002ADC50 3B 40 00 01 */ li r26, 1 +/* 802B0CF4 002ADC54 38 A0 00 00 */ li r5, 0 +/* 802B0CF8 002ADC58 38 C0 00 01 */ li r6, 1 +/* 802B0CFC 002ADC5C 41 82 00 08 */ beq lbl_802B0D04 +/* 802B0D00 002ADC60 38 C0 00 02 */ li r6, 2 +lbl_802B0D04: +/* 802B0D04 002ADC64 48 06 E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 802B0D08 002ADC68 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0D0C: +/* 802B0D0C 002ADC6C 7F 40 07 75 */ extsb. r0, r26 +/* 802B0D10 002ADC70 93 9F 01 00 */ stw r28, 0x100(r31) +/* 802B0D14 002ADC74 41 82 00 10 */ beq lbl_802B0D24 +/* 802B0D18 002ADC78 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B0D1C 002ADC7C 38 80 00 00 */ li r4, 0 +/* 802B0D20 002ADC80 48 09 01 21 */ bl __dt__6CTokenFv +lbl_802B0D24: +/* 802B0D24 002ADC84 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 802B0D28 002ADC88 7F C4 F3 78 */ mr r4, r30 +/* 802B0D2C 002ADC8C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0D30 002ADC90 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0D34 002ADC94 7D 89 03 A6 */ mtctr r12 +/* 802B0D38 002ADC98 4E 80 04 21 */ bctrl +lbl_802B0D3C: +/* 802B0D3C 002ADC9C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0D40 002ADCA0 88 03 00 60 */ lbz r0, 0x60(r3) +/* 802B0D44 002ADCA4 28 00 00 00 */ cmplwi r0, 0 +/* 802B0D48 002ADCA8 41 82 00 7C */ beq lbl_802B0DC4 +/* 802B0D4C 002ADCAC 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0D50 002ADCB0 3B 40 00 00 */ li r26, 0 +/* 802B0D54 002ADCB4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0D58 002ADCB8 38 A0 00 00 */ li r5, 0 +/* 802B0D5C 002ADCBC 38 60 02 10 */ li r3, 0x210 +/* 802B0D60 002ADCC0 48 06 4B 0D */ bl __nw__FUlPCcPCc +/* 802B0D64 002ADCC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0D68 002ADCC8 41 82 00 2C */ beq lbl_802B0D94 +/* 802B0D6C 002ADCCC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0D70 002ADCD0 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B0D74 002ADCD4 38 84 00 54 */ addi r4, r4, 0x54 +/* 802B0D78 002ADCD8 48 09 01 31 */ bl __ct__6CTokenFRC6CToken +/* 802B0D7C 002ADCDC 7F 83 E3 78 */ mr r3, r28 +/* 802B0D80 002ADCE0 38 81 00 24 */ addi r4, r1, 0x24 +/* 802B0D84 002ADCE4 3B 40 00 01 */ li r26, 1 +/* 802B0D88 002ADCE8 38 A0 00 00 */ li r5, 0 +/* 802B0D8C 002ADCEC 48 07 E0 59 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0D90 002ADCF0 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0D94: +/* 802B0D94 002ADCF4 7F 40 07 75 */ extsb. r0, r26 +/* 802B0D98 002ADCF8 93 9F 01 18 */ stw r28, 0x118(r31) +/* 802B0D9C 002ADCFC 41 82 00 10 */ beq lbl_802B0DAC +/* 802B0DA0 002ADD00 38 61 00 24 */ addi r3, r1, 0x24 +/* 802B0DA4 002ADD04 38 80 00 00 */ li r4, 0 +/* 802B0DA8 002ADD08 48 09 00 99 */ bl __dt__6CTokenFv +lbl_802B0DAC: +/* 802B0DAC 002ADD0C 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 802B0DB0 002ADD10 7F C4 F3 78 */ mr r4, r30 +/* 802B0DB4 002ADD14 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0DB8 002ADD18 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0DBC 002ADD1C 7D 89 03 A6 */ mtctr r12 +/* 802B0DC0 002ADD20 4E 80 04 21 */ bctrl +lbl_802B0DC4: +/* 802B0DC4 002ADD24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0DC8 002ADD28 88 03 00 70 */ lbz r0, 0x70(r3) +/* 802B0DCC 002ADD2C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0DD0 002ADD30 41 82 00 7C */ beq lbl_802B0E4C +/* 802B0DD4 002ADD34 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0DD8 002ADD38 3B 40 00 00 */ li r26, 0 +/* 802B0DDC 002ADD3C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0DE0 002ADD40 38 A0 00 00 */ li r5, 0 +/* 802B0DE4 002ADD44 38 60 02 10 */ li r3, 0x210 +/* 802B0DE8 002ADD48 48 06 4A 85 */ bl __nw__FUlPCcPCc +/* 802B0DEC 002ADD4C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0DF0 002ADD50 41 82 00 2C */ beq lbl_802B0E1C +/* 802B0DF4 002ADD54 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0DF8 002ADD58 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B0DFC 002ADD5C 38 84 00 64 */ addi r4, r4, 0x64 +/* 802B0E00 002ADD60 48 09 00 A9 */ bl __ct__6CTokenFRC6CToken +/* 802B0E04 002ADD64 7F 83 E3 78 */ mr r3, r28 +/* 802B0E08 002ADD68 38 81 00 1C */ addi r4, r1, 0x1c +/* 802B0E0C 002ADD6C 3B 40 00 01 */ li r26, 1 +/* 802B0E10 002ADD70 38 A0 00 00 */ li r5, 0 +/* 802B0E14 002ADD74 48 07 DF D1 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0E18 002ADD78 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0E1C: +/* 802B0E1C 002ADD7C 7F 40 07 75 */ extsb. r0, r26 +/* 802B0E20 002ADD80 93 9F 01 1C */ stw r28, 0x11c(r31) +/* 802B0E24 002ADD84 41 82 00 10 */ beq lbl_802B0E34 +/* 802B0E28 002ADD88 38 61 00 1C */ addi r3, r1, 0x1c +/* 802B0E2C 002ADD8C 38 80 00 00 */ li r4, 0 +/* 802B0E30 002ADD90 48 09 00 11 */ bl __dt__6CTokenFv +lbl_802B0E34: +/* 802B0E34 002ADD94 80 7F 01 1C */ lwz r3, 0x11c(r31) +/* 802B0E38 002ADD98 7F C4 F3 78 */ mr r4, r30 +/* 802B0E3C 002ADD9C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0E40 002ADDA0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0E44 002ADDA4 7D 89 03 A6 */ mtctr r12 +/* 802B0E48 002ADDA8 4E 80 04 21 */ bctrl +lbl_802B0E4C: +/* 802B0E4C 002ADDAC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0E50 002ADDB0 88 03 00 80 */ lbz r0, 0x80(r3) +/* 802B0E54 002ADDB4 28 00 00 00 */ cmplwi r0, 0 +/* 802B0E58 002ADDB8 41 82 00 7C */ beq lbl_802B0ED4 +/* 802B0E5C 002ADDBC 3C 60 80 3D */ lis r3, lbl_803D6188@ha +/* 802B0E60 002ADDC0 3B 40 00 00 */ li r26, 0 +/* 802B0E64 002ADDC4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l +/* 802B0E68 002ADDC8 38 A0 00 00 */ li r5, 0 +/* 802B0E6C 002ADDCC 38 60 02 10 */ li r3, 0x210 +/* 802B0E70 002ADDD0 48 06 49 FD */ bl __nw__FUlPCcPCc +/* 802B0E74 002ADDD4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 802B0E78 002ADDD8 41 82 00 2C */ beq lbl_802B0EA4 +/* 802B0E7C 002ADDDC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B0E80 002ADDE0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B0E84 002ADDE4 38 84 00 74 */ addi r4, r4, 0x74 +/* 802B0E88 002ADDE8 48 09 00 21 */ bl __ct__6CTokenFRC6CToken +/* 802B0E8C 002ADDEC 7F 83 E3 78 */ mr r3, r28 +/* 802B0E90 002ADDF0 38 81 00 14 */ addi r4, r1, 0x14 +/* 802B0E94 002ADDF4 3B 40 00 01 */ li r26, 1 +/* 802B0E98 002ADDF8 38 A0 00 00 */ li r5, 0 +/* 802B0E9C 002ADDFC 48 07 DF 49 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 802B0EA0 002ADE00 7C 7C 1B 78 */ mr r28, r3 +lbl_802B0EA4: +/* 802B0EA4 002ADE04 7F 40 07 75 */ extsb. r0, r26 +/* 802B0EA8 002ADE08 93 9F 01 20 */ stw r28, 0x120(r31) +/* 802B0EAC 002ADE0C 41 82 00 10 */ beq lbl_802B0EBC +/* 802B0EB0 002ADE10 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B0EB4 002ADE14 38 80 00 00 */ li r4, 0 +/* 802B0EB8 002ADE18 48 08 FF 89 */ bl __dt__6CTokenFv +lbl_802B0EBC: +/* 802B0EBC 002ADE1C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 802B0EC0 002ADE20 7F C4 F3 78 */ mr r4, r30 +/* 802B0EC4 002ADE24 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0EC8 002ADE28 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802B0ECC 002ADE2C 7D 89 03 A6 */ mtctr r12 +/* 802B0ED0 002ADE30 4E 80 04 21 */ bctrl +lbl_802B0ED4: +/* 802B0ED4 002ADE34 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0ED8 002ADE38 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802B0EDC 002ADE3C 28 03 00 00 */ cmplwi r3, 0 +/* 802B0EE0 002ADE40 41 82 00 20 */ beq lbl_802B0F00 +/* 802B0EE4 002ADE44 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0EE8 002ADE48 38 BF 00 E8 */ addi r5, r31, 0xe8 +/* 802B0EEC 002ADE4C 38 80 00 00 */ li r4, 0 +/* 802B0EF0 002ADE50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0EF4 002ADE54 7D 89 03 A6 */ mtctr r12 +/* 802B0EF8 002ADE58 4E 80 04 21 */ bctrl +/* 802B0EFC 002ADE5C 48 00 00 10 */ b lbl_802B0F0C +lbl_802B0F00: +/* 802B0F00 002ADE60 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 802B0F04 002ADE64 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 802B0F08 002ADE68 90 1F 00 E8 */ stw r0, 0xe8(r31) +lbl_802B0F0C: +/* 802B0F0C 002ADE6C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F10 002ADE70 80 63 00 04 */ lwz r3, 4(r3) +/* 802B0F14 002ADE74 28 03 00 00 */ cmplwi r3, 0 +/* 802B0F18 002ADE78 41 82 00 1C */ beq lbl_802B0F34 +/* 802B0F1C 002ADE7C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0F20 002ADE80 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 802B0F24 002ADE84 38 80 00 00 */ li r4, 0 +/* 802B0F28 002ADE88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0F2C 002ADE8C 7D 89 03 A6 */ mtctr r12 +/* 802B0F30 002ADE90 4E 80 04 21 */ bctrl +lbl_802B0F34: +/* 802B0F34 002ADE94 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F38 002ADE98 80 03 00 00 */ lwz r0, 0(r3) +/* 802B0F3C 002ADE9C 28 00 00 00 */ cmplwi r0, 0 +/* 802B0F40 002ADEA0 41 82 00 A8 */ beq lbl_802B0FE8 +/* 802B0F44 002ADEA4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0F48 002ADEA8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0F4C 002ADEAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0F50 002ADEB0 48 06 1C 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802B0F54 002ADEB4 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) +/* 802B0F58 002ADEB8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 802B0F5C 002ADEBC 38 80 00 00 */ li r4, 0 +/* 802B0F60 002ADEC0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802B0F64 002ADEC4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802B0F68 002ADEC8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802B0F6C 002ADECC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0F70 002ADED0 80 63 00 00 */ lwz r3, 0(r3) +/* 802B0F74 002ADED4 81 83 00 00 */ lwz r12, 0(r3) +/* 802B0F78 002ADED8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B0F7C 002ADEDC 7D 89 03 A6 */ mtctr r12 +/* 802B0F80 002ADEE0 4E 80 04 21 */ bctrl +/* 802B0F84 002ADEE4 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0F88 002ADEE8 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0F8C 002ADEEC C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802B0F90 002ADEF0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802B0F94 002ADEF4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0F98 002ADEF8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802B0F9C 002ADEFC 48 06 27 59 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 802B0FA0 002ADF00 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0FA4 002ADF04 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0FA8 002ADF08 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802B0FAC 002ADF0C 38 81 00 0C */ addi r4, r1, 0xc +/* 802B0FB0 002ADF10 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0FB4 002ADF14 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802B0FB8 002ADF18 48 06 26 21 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 802B0FBC 002ADF1C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) +/* 802B0FC0 002ADF20 38 61 00 54 */ addi r3, r1, 0x54 +/* 802B0FC4 002ADF24 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802B0FC8 002ADF28 38 81 00 08 */ addi r4, r1, 8 +/* 802B0FCC 002ADF2C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802B0FD0 002ADF30 D0 01 00 08 */ stfs f0, 8(r1) +/* 802B0FD4 002ADF34 48 06 24 E9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle +/* 802B0FD8 002ADF38 7F E3 FB 78 */ mr r3, r31 +/* 802B0FDC 002ADF3C 38 81 00 54 */ addi r4, r1, 0x54 +/* 802B0FE0 002ADF40 4B FF F5 21 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +/* 802B0FE4 002ADF44 48 00 00 14 */ b lbl_802B0FF8 +lbl_802B0FE8: +/* 802B0FE8 002ADF48 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 802B0FEC 002ADF4C 7F E3 FB 78 */ mr r3, r31 +/* 802B0FF0 002ADF50 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 802B0FF4 002ADF54 4B FF F5 0D */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f +lbl_802B0FF8: +/* 802B0FF8 002ADF58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B0FFC 002ADF5C 88 03 00 90 */ lbz r0, 0x90(r3) +/* 802B1000 002ADF60 28 00 00 00 */ cmplwi r0, 0 +/* 802B1004 002ADF64 41 82 00 5C */ beq lbl_802B1060 +/* 802B1008 002ADF68 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 802B100C 002ADF6C 3B A3 00 84 */ addi r29, r3, 0x84 +/* 802B1010 002ADF70 28 00 00 00 */ cmplwi r0, 0 +/* 802B1014 002ADF74 40 82 00 34 */ bne lbl_802B1048 +/* 802B1018 002ADF78 37 9F 01 08 */ addic. r28, r31, 0x108 +/* 802B101C 002ADF7C 41 82 00 20 */ beq lbl_802B103C +/* 802B1020 002ADF80 7F 83 E3 78 */ mr r3, r28 +/* 802B1024 002ADF84 7F A4 EB 78 */ mr r4, r29 +/* 802B1028 002ADF88 48 08 FE 81 */ bl __ct__6CTokenFRC6CToken +/* 802B102C 002ADF8C 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B1030 002ADF90 7F 83 E3 78 */ mr r3, r28 +/* 802B1034 002ADF94 90 1C 00 08 */ stw r0, 8(r28) +/* 802B1038 002ADF98 48 08 FD 4D */ bl Lock__6CTokenFv +lbl_802B103C: +/* 802B103C 002ADF9C 38 00 00 01 */ li r0, 1 +/* 802B1040 002ADFA0 98 1F 01 14 */ stb r0, 0x114(r31) +/* 802B1044 002ADFA4 48 00 00 1C */ b lbl_802B1060 +lbl_802B1048: +/* 802B1048 002ADFA8 3B 9F 01 08 */ addi r28, r31, 0x108 +/* 802B104C 002ADFAC 7F A4 EB 78 */ mr r4, r29 +/* 802B1050 002ADFB0 7F 83 E3 78 */ mr r3, r28 +/* 802B1054 002ADFB4 48 08 FC 71 */ bl __as__6CTokenFRC6CToken +/* 802B1058 002ADFB8 80 1D 00 08 */ lwz r0, 8(r29) +/* 802B105C 002ADFBC 90 1C 00 08 */ stw r0, 8(r28) +lbl_802B1060: +/* 802B1060 002ADFC0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1064 002ADFC4 7F E3 FB 78 */ mr r3, r31 +/* 802B1068 002ADFC8 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B106C 002ADFCC 88 84 00 2A */ lbz r4, 0x2a(r4) +/* 802B1070 002ADFD0 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B1074 002ADFD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 802B1078 002ADFD8 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B107C 002ADFDC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1080 002ADFE0 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B1084 002ADFE4 88 84 00 2B */ lbz r4, 0x2b(r4) +/* 802B1088 002ADFE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 802B108C 002ADFEC 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B1090 002ADFF0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B1094 002ADFF4 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B1098 002ADFF8 88 84 00 2C */ lbz r4, 0x2c(r4) +/* 802B109C 002ADFFC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 802B10A0 002AE000 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10A4 002AE004 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B10A8 002AE008 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B10AC 002AE00C 88 84 00 2D */ lbz r4, 0x2d(r4) +/* 802B10B0 002AE010 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 802B10B4 002AE014 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10B8 002AE018 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802B10BC 002AE01C 88 1F 01 24 */ lbz r0, 0x124(r31) +/* 802B10C0 002AE020 88 84 00 2E */ lbz r4, 0x2e(r4) +/* 802B10C4 002AE024 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 802B10C8 002AE028 98 1F 01 24 */ stb r0, 0x124(r31) +/* 802B10CC 002AE02C 4B FF EA 35 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf +/* 802B10D0 002AE030 38 61 00 48 */ addi r3, r1, 0x48 +/* 802B10D4 002AE034 38 80 FF FF */ li r4, -1 +/* 802B10D8 002AE038 48 06 15 2D */ bl __dt__13CGlobalRandomFv +/* 802B10DC 002AE03C 7F E3 FB 78 */ mr r3, r31 +/* 802B10E0 002AE040 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 802B10E4 002AE044 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802B10E8 002AE048 7C 08 03 A6 */ mtlr r0 +/* 802B10EC 002AE04C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802B10F0 002AE050 4E 80 00 20 */ blr + +.global __dt__17IWeaponProjectileFv +__dt__17IWeaponProjectileFv: +/* 802B10F4 002AE054 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B10F8 002AE058 7C 08 02 A6 */ mflr r0 +/* 802B10FC 002AE05C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1100 002AE060 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B1104 002AE064 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B1108 002AE068 41 82 00 1C */ beq lbl_802B1124 +/* 802B110C 002AE06C 3C A0 80 3F */ lis r5, lbl_803EC4E8@ha +/* 802B1110 002AE070 7C 80 07 35 */ extsh. r0, r4 +/* 802B1114 002AE074 38 05 C4 E8 */ addi r0, r5, lbl_803EC4E8@l +/* 802B1118 002AE078 90 1F 00 00 */ stw r0, 0(r31) +/* 802B111C 002AE07C 40 81 00 08 */ ble lbl_802B1124 +/* 802B1120 002AE080 48 06 48 11 */ bl Free__7CMemoryFPCv +lbl_802B1124: +/* 802B1124 002AE084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B1128 002AE088 7F E3 FB 78 */ mr r3, r31 +/* 802B112C 002AE08C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B1130 002AE090 7C 08 03 A6 */ mtlr r0 +/* 802B1134 002AE094 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B1138 002AE098 4E 80 00 20 */ blr + +.global GetTickPeriod__17CProjectileWeaponFv +GetTickPeriod__17CProjectileWeaponFv: +/* 802B113C 002AE09C C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) +/* 802B1140 002AE0A0 4E 80 00 20 */ blr diff --git a/asm/Weapons/CProjectileWeaponDataFactory.s b/asm/Weapons/CProjectileWeaponDataFactory.s new file mode 100644 index 00000000..0121be35 --- /dev/null +++ b/asm/Weapons/CProjectileWeaponDataFactory.s @@ -0,0 +1,1163 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool +CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool: +/* 802B1144 002AE0A4 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 802B1148 002AE0A8 7C 08 02 A6 */ mflr r0 +/* 802B114C 002AE0AC 90 01 01 74 */ stw r0, 0x174(r1) +/* 802B1150 002AE0B0 BF 41 01 58 */ stmw r26, 0x158(r1) +/* 802B1154 002AE0B4 7C 7F 1B 78 */ mr r31, r3 +/* 802B1158 002AE0B8 7C 9E 23 78 */ mr r30, r4 +/* 802B115C 002AE0BC 7C BD 2B 78 */ mr r29, r5 +/* 802B1160 002AE0C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 802B1164 002AE0C4 3B 80 00 00 */ li r28, 0 +/* 802B1168 002AE0C8 38 80 00 63 */ li r4, 0x63 +/* 802B116C 002AE0CC 48 06 14 81 */ bl __ct__9CRandom16FUi +/* 802B1170 002AE0D0 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1174 002AE0D4 38 81 00 28 */ addi r4, r1, 0x28 +/* 802B1178 002AE0D8 48 06 15 09 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 802B117C 002AE0DC 48 00 0C 64 */ b lbl_802B1DE0 +lbl_802B1180: +/* 802B1180 002AE0E0 7F C3 F3 78 */ mr r3, r30 +/* 802B1184 002AE0E4 48 07 72 D9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1188 002AE0E8 7C 03 D8 00 */ cmpw r3, r27 +/* 802B118C 002AE0EC 41 82 0C 18 */ beq lbl_802B1DA4 +/* 802B1190 002AE0F0 40 80 01 1C */ bge lbl_802B12AC +/* 802B1194 002AE0F4 3C A0 41 53 */ lis r5, 0x41535731@ha +/* 802B1198 002AE0F8 38 05 57 31 */ addi r0, r5, 0x41535731@l +/* 802B119C 002AE0FC 7C 03 00 00 */ cmpw r3, r0 +/* 802B11A0 002AE100 41 82 06 E8 */ beq lbl_802B1888 +/* 802B11A4 002AE104 40 80 00 7C */ bge lbl_802B1220 +/* 802B11A8 002AE108 3C 80 41 50 */ lis r4, 0x4150534D@ha +/* 802B11AC 002AE10C 38 04 53 4D */ addi r0, r4, 0x4150534D@l +/* 802B11B0 002AE110 7C 03 00 00 */ cmpw r3, r0 +/* 802B11B4 002AE114 41 82 02 64 */ beq lbl_802B1418 +/* 802B11B8 002AE118 40 80 00 34 */ bge lbl_802B11EC +/* 802B11BC 002AE11C 38 04 32 31 */ addi r0, r4, 0x3231 +/* 802B11C0 002AE120 7C 03 00 00 */ cmpw r3, r0 +/* 802B11C4 002AE124 41 82 06 A4 */ beq lbl_802B1868 +/* 802B11C8 002AE128 40 80 00 14 */ bge lbl_802B11DC +/* 802B11CC 002AE12C 38 04 31 31 */ addi r0, r4, 0x3131 +/* 802B11D0 002AE130 7C 03 00 00 */ cmpw r3, r0 +/* 802B11D4 002AE134 41 82 04 64 */ beq lbl_802B1638 +/* 802B11D8 002AE138 48 00 0B F4 */ b lbl_802B1DCC +lbl_802B11DC: +/* 802B11DC 002AE13C 38 04 53 32 */ addi r0, r4, 0x5332 +/* 802B11E0 002AE140 7C 03 00 00 */ cmpw r3, r0 +/* 802B11E4 002AE144 41 82 04 64 */ beq lbl_802B1648 +/* 802B11E8 002AE148 48 00 0B E4 */ b lbl_802B1DCC +lbl_802B11EC: +/* 802B11EC 002AE14C 38 05 31 31 */ addi r0, r5, 0x3131 +/* 802B11F0 002AE150 7C 03 00 00 */ cmpw r3, r0 +/* 802B11F4 002AE154 41 82 07 6C */ beq lbl_802B1960 +/* 802B11F8 002AE158 40 80 00 14 */ bge lbl_802B120C +/* 802B11FC 002AE15C 38 04 53 4F */ addi r0, r4, 0x534f +/* 802B1200 002AE160 7C 03 00 00 */ cmpw r3, r0 +/* 802B1204 002AE164 41 82 06 74 */ beq lbl_802B1878 +/* 802B1208 002AE168 48 00 0B C4 */ b lbl_802B1DCC +lbl_802B120C: +/* 802B120C 002AE16C 38 05 31 33 */ addi r0, r5, 0x3133 +/* 802B1210 002AE170 7C 03 00 00 */ cmpw r3, r0 +/* 802B1214 002AE174 41 82 09 1C */ beq lbl_802B1B30 +/* 802B1218 002AE178 40 80 0B B4 */ bge lbl_802B1DCC +/* 802B121C 002AE17C 48 00 08 2C */ b lbl_802B1A48 +lbl_802B1220: +/* 802B1220 002AE180 3C 80 46 4F */ lis r4, 0x464F4646@ha +/* 802B1224 002AE184 38 04 46 46 */ addi r0, r4, 0x464F4646@l +/* 802B1228 002AE188 7C 03 00 00 */ cmpw r3, r0 +/* 802B122C 002AE18C 41 82 0B 58 */ beq lbl_802B1D84 +/* 802B1230 002AE190 40 80 00 40 */ bge lbl_802B1270 +/* 802B1234 002AE194 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 802B1238 002AE198 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 802B123C 002AE19C 7C 03 00 00 */ cmpw r3, r0 +/* 802B1240 002AE1A0 41 82 09 F8 */ beq lbl_802B1C38 +/* 802B1244 002AE1A4 40 80 00 18 */ bge lbl_802B125C +/* 802B1248 002AE1A8 38 05 57 33 */ addi r0, r5, 0x5733 +/* 802B124C 002AE1AC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1250 002AE1B0 41 82 08 08 */ beq lbl_802B1A58 +/* 802B1254 002AE1B4 40 80 0B 78 */ bge lbl_802B1DCC +/* 802B1258 002AE1B8 48 00 07 18 */ b lbl_802B1970 +lbl_802B125C: +/* 802B125C 002AE1BC 3C 80 45 57 */ lis r4, 0x45575452@ha +/* 802B1260 002AE1C0 38 04 54 52 */ addi r0, r4, 0x45575452@l +/* 802B1264 002AE1C4 7C 03 00 00 */ cmpw r3, r0 +/* 802B1268 002AE1C8 41 82 0B 2C */ beq lbl_802B1D94 +/* 802B126C 002AE1CC 48 00 0B 60 */ b lbl_802B1DCC +lbl_802B1270: +/* 802B1270 002AE1D0 3C 80 49 4F */ lis r4, 0x494F524E@ha +/* 802B1274 002AE1D4 38 04 52 4E */ addi r0, r4, 0x494F524E@l +/* 802B1278 002AE1D8 7C 03 00 00 */ cmpw r3, r0 +/* 802B127C 002AE1DC 41 82 01 3C */ beq lbl_802B13B8 +/* 802B1280 002AE1E0 40 80 00 18 */ bge lbl_802B1298 +/* 802B1284 002AE1E4 3C 80 48 4F */ lis r4, 0x484F4D47@ha +/* 802B1288 002AE1E8 38 04 4D 47 */ addi r0, r4, 0x484F4D47@l +/* 802B128C 002AE1EC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1290 002AE1F0 41 82 0A A0 */ beq lbl_802B1D30 +/* 802B1294 002AE1F4 48 00 0B 38 */ b lbl_802B1DCC +lbl_802B1298: +/* 802B1298 002AE1F8 3C 80 49 56 */ lis r4, 0x49564543@ha +/* 802B129C 002AE1FC 38 04 45 43 */ addi r0, r4, 0x49564543@l +/* 802B12A0 002AE200 7C 03 00 00 */ cmpw r3, r0 +/* 802B12A4 002AE204 41 82 01 24 */ beq lbl_802B13C8 +/* 802B12A8 002AE208 48 00 0B 24 */ b lbl_802B1DCC +lbl_802B12AC: +/* 802B12AC 002AE20C 3C A0 50 53 */ lis r5, 0x50534F56@ha +/* 802B12B0 002AE210 38 05 4F 56 */ addi r0, r5, 0x50534F56@l +/* 802B12B4 002AE214 7C 03 00 00 */ cmpw r3, r0 +/* 802B12B8 002AE218 41 82 01 20 */ beq lbl_802B13D8 +/* 802B12BC 002AE21C 40 80 00 88 */ bge lbl_802B1344 +/* 802B12C0 002AE220 3C 80 50 4A */ lis r4, 0x504A4658@ha +/* 802B12C4 002AE224 38 04 46 58 */ addi r0, r4, 0x504A4658@l +/* 802B12C8 002AE228 7C 03 00 00 */ cmpw r3, r0 +/* 802B12CC 002AE22C 41 82 0A 84 */ beq lbl_802B1D50 +/* 802B12D0 002AE230 40 80 00 40 */ bge lbl_802B1310 +/* 802B12D4 002AE234 3C 80 4F 48 */ lis r4, 0x4F484546@ha +/* 802B12D8 002AE238 38 04 45 46 */ addi r0, r4, 0x4F484546@l +/* 802B12DC 002AE23C 7C 03 00 00 */ cmpw r3, r0 +/* 802B12E0 002AE240 41 82 08 60 */ beq lbl_802B1B40 +/* 802B12E4 002AE244 40 80 00 18 */ bge lbl_802B12FC +/* 802B12E8 002AE248 3C 80 4F 46 */ lis r4, 0x4F465354@ha +/* 802B12EC 002AE24C 38 04 53 54 */ addi r0, r4, 0x4F465354@l +/* 802B12F0 002AE250 7C 03 00 00 */ cmpw r3, r0 +/* 802B12F4 002AE254 41 82 0A 2C */ beq lbl_802B1D20 +/* 802B12F8 002AE258 48 00 0A D4 */ b lbl_802B1DCC +lbl_802B12FC: +/* 802B12FC 002AE25C 3C 80 50 43 */ lis r4, 0x50434F4C@ha +/* 802B1300 002AE260 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l +/* 802B1304 002AE264 7C 03 00 00 */ cmpw r3, r0 +/* 802B1308 002AE268 41 82 09 20 */ beq lbl_802B1C28 +/* 802B130C 002AE26C 48 00 0A C0 */ b lbl_802B1DCC +lbl_802B1310: +/* 802B1310 002AE270 38 05 43 4C */ addi r0, r5, 0x434c +/* 802B1314 002AE274 7C 03 00 00 */ cmpw r3, r0 +/* 802B1318 002AE278 41 82 09 00 */ beq lbl_802B1C18 +/* 802B131C 002AE27C 40 80 00 18 */ bge lbl_802B1334 +/* 802B1320 002AE280 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 802B1324 002AE284 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 802B1328 002AE288 7C 03 00 00 */ cmpw r3, r0 +/* 802B132C 002AE28C 41 82 09 E4 */ beq lbl_802B1D10 +/* 802B1330 002AE290 48 00 0A 9C */ b lbl_802B1DCC +lbl_802B1334: +/* 802B1334 002AE294 38 05 4C 54 */ addi r0, r5, 0x4c54 +/* 802B1338 002AE298 7C 03 00 00 */ cmpw r3, r0 +/* 802B133C 002AE29C 41 82 00 CC */ beq lbl_802B1408 +/* 802B1340 002AE2A0 48 00 0A 8C */ b lbl_802B1DCC +lbl_802B1344: +/* 802B1344 002AE2A4 3C 80 54 52 */ lis r4, 0x54524154@ha +/* 802B1348 002AE2A8 38 04 41 54 */ addi r0, r4, 0x54524154@l +/* 802B134C 002AE2AC 7C 03 00 00 */ cmpw r3, r0 +/* 802B1350 002AE2B0 41 82 09 F0 */ beq lbl_802B1D40 +/* 802B1354 002AE2B4 40 80 00 3C */ bge lbl_802B1390 +/* 802B1358 002AE2B8 3C 80 52 4E */ lis r4, 0x524E4745@ha +/* 802B135C 002AE2BC 38 04 47 45 */ addi r0, r4, 0x524E4745@l +/* 802B1360 002AE2C0 7C 03 00 00 */ cmpw r3, r0 +/* 802B1364 002AE2C4 41 82 0A 10 */ beq lbl_802B1D74 +/* 802B1368 002AE2C8 40 80 00 14 */ bge lbl_802B137C +/* 802B136C 002AE2CC 38 05 56 4D */ addi r0, r5, 0x564d +/* 802B1370 002AE2D0 7C 03 00 00 */ cmpw r3, r0 +/* 802B1374 002AE2D4 41 82 00 74 */ beq lbl_802B13E8 +/* 802B1378 002AE2D8 48 00 0A 54 */ b lbl_802B1DCC +lbl_802B137C: +/* 802B137C 002AE2DC 3C 80 53 57 */ lis r4, 0x53575452@ha +/* 802B1380 002AE2E0 38 04 54 52 */ addi r0, r4, 0x53575452@l +/* 802B1384 002AE2E4 7C 03 00 00 */ cmpw r3, r0 +/* 802B1388 002AE2E8 41 82 0A 2C */ beq lbl_802B1DB4 +/* 802B138C 002AE2EC 48 00 0A 40 */ b lbl_802B1DCC +lbl_802B1390: +/* 802B1390 002AE2F0 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 802B1394 002AE2F4 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 802B1398 002AE2F8 7C 03 00 00 */ cmpw r3, r0 +/* 802B139C 002AE2FC 41 82 0A 28 */ beq lbl_802B1DC4 +/* 802B13A0 002AE300 40 80 0A 2C */ bge lbl_802B1DCC +/* 802B13A4 002AE304 3C 80 56 4D */ lis r4, 0x564D4432@ha +/* 802B13A8 002AE308 38 04 44 32 */ addi r0, r4, 0x564D4432@l +/* 802B13AC 002AE30C 7C 03 00 00 */ cmpw r3, r0 +/* 802B13B0 002AE310 41 82 00 48 */ beq lbl_802B13F8 +/* 802B13B4 002AE314 48 00 0A 18 */ b lbl_802B1DCC +lbl_802B13B8: +/* 802B13B8 002AE318 7F C3 F3 78 */ mr r3, r30 +/* 802B13BC 002AE31C 48 07 4E 99 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13C0 002AE320 90 7F 00 00 */ stw r3, 0(r31) +/* 802B13C4 002AE324 48 00 0A 24 */ b lbl_802B1DE8 +lbl_802B13C8: +/* 802B13C8 002AE328 7F C3 F3 78 */ mr r3, r30 +/* 802B13CC 002AE32C 48 07 4E 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13D0 002AE330 90 7F 00 04 */ stw r3, 4(r31) +/* 802B13D4 002AE334 48 00 0A 14 */ b lbl_802B1DE8 +lbl_802B13D8: +/* 802B13D8 002AE338 7F C3 F3 78 */ mr r3, r30 +/* 802B13DC 002AE33C 48 07 4E 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13E0 002AE340 90 7F 00 08 */ stw r3, 8(r31) +/* 802B13E4 002AE344 48 00 0A 04 */ b lbl_802B1DE8 +lbl_802B13E8: +/* 802B13E8 002AE348 7F C3 F3 78 */ mr r3, r30 +/* 802B13EC 002AE34C 48 07 44 11 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B13F0 002AE350 90 7F 00 0C */ stw r3, 0xc(r31) +/* 802B13F4 002AE354 48 00 09 F4 */ b lbl_802B1DE8 +lbl_802B13F8: +/* 802B13F8 002AE358 7F C3 F3 78 */ mr r3, r30 +/* 802B13FC 002AE35C 48 07 70 2D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1400 002AE360 98 7F 00 10 */ stb r3, 0x10(r31) +/* 802B1404 002AE364 48 00 09 E4 */ b lbl_802B1DE8 +lbl_802B1408: +/* 802B1408 002AE368 7F C3 F3 78 */ mr r3, r30 +/* 802B140C 002AE36C 48 07 67 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 802B1410 002AE370 90 7F 00 14 */ stw r3, 0x14(r31) +/* 802B1414 002AE374 48 00 09 D4 */ b lbl_802B1DE8 +lbl_802B1418: +/* 802B1418 002AE378 38 00 00 00 */ li r0, 0 +/* 802B141C 002AE37C 7F C4 F3 78 */ mr r4, r30 +/* 802B1420 002AE380 90 01 01 34 */ stw r0, 0x134(r1) +/* 802B1424 002AE384 7F A5 EB 78 */ mr r5, r29 +/* 802B1428 002AE388 38 61 00 FC */ addi r3, r1, 0xfc +/* 802B142C 002AE38C 38 C1 01 30 */ addi r6, r1, 0x130 +/* 802B1430 002AE390 90 01 01 38 */ stw r0, 0x138(r1) +/* 802B1434 002AE394 90 01 01 3C */ stw r0, 0x13c(r1) +/* 802B1438 002AE398 48 07 39 59 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B143C 002AE39C 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802B1440 002AE3A0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1444 002AE3A4 98 01 01 2C */ stb r0, 0x12c(r1) +/* 802B1448 002AE3A8 41 82 00 14 */ beq lbl_802B145C +/* 802B144C 002AE3AC 34 61 01 24 */ addic. r3, r1, 0x124 +/* 802B1450 002AE3B0 38 81 00 FC */ addi r4, r1, 0xfc +/* 802B1454 002AE3B4 41 82 00 08 */ beq lbl_802B145C +/* 802B1458 002AE3B8 48 08 FA 51 */ bl __ct__6CTokenFRC6CToken +lbl_802B145C: +/* 802B145C 002AE3BC 88 01 01 04 */ lbz r0, 0x104(r1) +/* 802B1460 002AE3C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1464 002AE3C4 41 82 00 14 */ beq lbl_802B1478 +/* 802B1468 002AE3C8 34 61 00 FC */ addic. r3, r1, 0xfc +/* 802B146C 002AE3CC 41 82 00 0C */ beq lbl_802B1478 +/* 802B1470 002AE3D0 38 80 00 00 */ li r4, 0 +/* 802B1474 002AE3D4 48 08 F9 CD */ bl __dt__6CTokenFv +lbl_802B1478: +/* 802B1478 002AE3D8 88 01 01 2C */ lbz r0, 0x12c(r1) +/* 802B147C 002AE3DC 38 60 00 00 */ li r3, 0 +/* 802B1480 002AE3E0 98 61 01 04 */ stb r3, 0x104(r1) +/* 802B1484 002AE3E4 28 00 00 00 */ cmplwi r0, 0 +/* 802B1488 002AE3E8 41 82 00 88 */ beq lbl_802B1510 +/* 802B148C 002AE3EC 3B 41 00 F0 */ addi r26, r1, 0xf0 +/* 802B1490 002AE3F0 38 81 01 24 */ addi r4, r1, 0x124 +/* 802B1494 002AE3F4 7F 43 D3 78 */ mr r3, r26 +/* 802B1498 002AE3F8 48 08 FA 11 */ bl __ct__6CTokenFRC6CToken +/* 802B149C 002AE3FC 7F 43 D3 78 */ mr r3, r26 +/* 802B14A0 002AE400 48 08 F9 6D */ bl GetObj__6CTokenFv +/* 802B14A4 002AE404 80 03 00 04 */ lwz r0, 4(r3) +/* 802B14A8 002AE408 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802B14AC 002AE40C 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B14B0 002AE410 28 00 00 00 */ cmplwi r0, 0 +/* 802B14B4 002AE414 40 82 00 34 */ bne lbl_802B14E8 +/* 802B14B8 002AE418 37 5F 00 34 */ addic. r26, r31, 0x34 +/* 802B14BC 002AE41C 41 82 00 20 */ beq lbl_802B14DC +/* 802B14C0 002AE420 7F 43 D3 78 */ mr r3, r26 +/* 802B14C4 002AE424 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B14C8 002AE428 48 08 F9 E1 */ bl __ct__6CTokenFRC6CToken +/* 802B14CC 002AE42C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 802B14D0 002AE430 7F 43 D3 78 */ mr r3, r26 +/* 802B14D4 002AE434 90 1A 00 08 */ stw r0, 8(r26) +/* 802B14D8 002AE438 48 08 F8 AD */ bl Lock__6CTokenFv +lbl_802B14DC: +/* 802B14DC 002AE43C 38 00 00 01 */ li r0, 1 +/* 802B14E0 002AE440 98 1F 00 40 */ stb r0, 0x40(r31) +/* 802B14E4 002AE444 48 00 00 1C */ b lbl_802B1500 +lbl_802B14E8: +/* 802B14E8 002AE448 3B 5F 00 34 */ addi r26, r31, 0x34 +/* 802B14EC 002AE44C 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 802B14F0 002AE450 7F 43 D3 78 */ mr r3, r26 +/* 802B14F4 002AE454 48 08 F7 D1 */ bl __as__6CTokenFRC6CToken +/* 802B14F8 002AE458 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 802B14FC 002AE45C 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1500: +/* 802B1500 002AE460 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 802B1504 002AE464 38 80 00 00 */ li r4, 0 +/* 802B1508 002AE468 48 08 F9 39 */ bl __dt__6CTokenFv +/* 802B150C 002AE46C 48 00 00 C4 */ b lbl_802B15D0 +lbl_802B1510: +/* 802B1510 002AE470 3B 5F 00 34 */ addi r26, r31, 0x34 +/* 802B1514 002AE474 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 802B1518 002AE478 7C 1A 20 40 */ cmplw r26, r4 +/* 802B151C 002AE47C 98 61 00 EC */ stb r3, 0xec(r1) +/* 802B1520 002AE480 41 82 00 84 */ beq lbl_802B15A4 +/* 802B1524 002AE484 28 03 00 00 */ cmplwi r3, 0 +/* 802B1528 002AE488 41 82 00 50 */ beq lbl_802B1578 +/* 802B152C 002AE48C 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B1530 002AE490 28 00 00 00 */ cmplwi r0, 0 +/* 802B1534 002AE494 40 82 00 30 */ bne lbl_802B1564 +/* 802B1538 002AE498 37 5F 00 34 */ addic. r26, r31, 0x34 +/* 802B153C 002AE49C 41 82 00 1C */ beq lbl_802B1558 +/* 802B1540 002AE4A0 7F 43 D3 78 */ mr r3, r26 +/* 802B1544 002AE4A4 48 08 F9 65 */ bl __ct__6CTokenFRC6CToken +/* 802B1548 002AE4A8 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802B154C 002AE4AC 7F 43 D3 78 */ mr r3, r26 +/* 802B1550 002AE4B0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1554 002AE4B4 48 08 F8 31 */ bl Lock__6CTokenFv +lbl_802B1558: +/* 802B1558 002AE4B8 38 00 00 01 */ li r0, 1 +/* 802B155C 002AE4BC 98 1F 00 40 */ stb r0, 0x40(r31) +/* 802B1560 002AE4C0 48 00 00 44 */ b lbl_802B15A4 +lbl_802B1564: +/* 802B1564 002AE4C4 7F 43 D3 78 */ mr r3, r26 +/* 802B1568 002AE4C8 48 08 F7 5D */ bl __as__6CTokenFRC6CToken +/* 802B156C 002AE4CC 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 802B1570 002AE4D0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1574 002AE4D4 48 00 00 30 */ b lbl_802B15A4 +lbl_802B1578: +/* 802B1578 002AE4D8 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B157C 002AE4DC 28 00 00 00 */ cmplwi r0, 0 +/* 802B1580 002AE4E0 41 82 00 1C */ beq lbl_802B159C +/* 802B1584 002AE4E4 34 7F 00 34 */ addic. r3, r31, 0x34 +/* 802B1588 002AE4E8 41 82 00 14 */ beq lbl_802B159C +/* 802B158C 002AE4EC 28 03 00 00 */ cmplwi r3, 0 +/* 802B1590 002AE4F0 41 82 00 0C */ beq lbl_802B159C +/* 802B1594 002AE4F4 38 80 00 00 */ li r4, 0 +/* 802B1598 002AE4F8 48 08 F8 A9 */ bl __dt__6CTokenFv +lbl_802B159C: +/* 802B159C 002AE4FC 38 00 00 00 */ li r0, 0 +/* 802B15A0 002AE500 98 1F 00 40 */ stb r0, 0x40(r31) +lbl_802B15A4: +/* 802B15A4 002AE504 88 01 00 EC */ lbz r0, 0xec(r1) +/* 802B15A8 002AE508 28 00 00 00 */ cmplwi r0, 0 +/* 802B15AC 002AE50C 41 82 00 1C */ beq lbl_802B15C8 +/* 802B15B0 002AE510 34 61 00 E0 */ addic. r3, r1, 0xe0 +/* 802B15B4 002AE514 41 82 00 14 */ beq lbl_802B15C8 +/* 802B15B8 002AE518 28 03 00 00 */ cmplwi r3, 0 +/* 802B15BC 002AE51C 41 82 00 0C */ beq lbl_802B15C8 +/* 802B15C0 002AE520 38 80 00 00 */ li r4, 0 +/* 802B15C4 002AE524 48 08 F8 7D */ bl __dt__6CTokenFv +lbl_802B15C8: +/* 802B15C8 002AE528 38 00 00 00 */ li r0, 0 +/* 802B15CC 002AE52C 98 01 00 EC */ stb r0, 0xec(r1) +lbl_802B15D0: +/* 802B15D0 002AE530 88 01 01 2C */ lbz r0, 0x12c(r1) +/* 802B15D4 002AE534 28 00 00 00 */ cmplwi r0, 0 +/* 802B15D8 002AE538 41 82 00 14 */ beq lbl_802B15EC +/* 802B15DC 002AE53C 34 61 01 24 */ addic. r3, r1, 0x124 +/* 802B15E0 002AE540 41 82 00 0C */ beq lbl_802B15EC +/* 802B15E4 002AE544 38 80 00 00 */ li r4, 0 +/* 802B15E8 002AE548 48 08 F8 59 */ bl __dt__6CTokenFv +lbl_802B15EC: +/* 802B15EC 002AE54C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802B15F0 002AE550 38 80 00 00 */ li r4, 0 +/* 802B15F4 002AE554 80 61 01 3C */ lwz r3, 0x13c(r1) +/* 802B15F8 002AE558 54 00 10 3A */ slwi r0, r0, 2 +/* 802B15FC 002AE55C 98 81 01 2C */ stb r4, 0x12c(r1) +/* 802B1600 002AE560 7C 03 02 14 */ add r0, r3, r0 +/* 802B1604 002AE564 7C 64 1B 78 */ mr r4, r3 +/* 802B1608 002AE568 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B160C 002AE56C 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B1610 002AE570 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802B1614 002AE574 90 61 00 18 */ stw r3, 0x18(r1) +/* 802B1618 002AE578 48 00 00 08 */ b lbl_802B1620 +lbl_802B161C: +/* 802B161C 002AE57C 38 84 00 04 */ addi r4, r4, 4 +lbl_802B1620: +/* 802B1620 002AE580 7C 04 00 40 */ cmplw r4, r0 +/* 802B1624 002AE584 40 82 FF F8 */ bne lbl_802B161C +/* 802B1628 002AE588 28 03 00 00 */ cmplwi r3, 0 +/* 802B162C 002AE58C 41 82 07 BC */ beq lbl_802B1DE8 +/* 802B1630 002AE590 48 06 43 01 */ bl Free__7CMemoryFPCv +/* 802B1634 002AE594 48 00 07 B4 */ b lbl_802B1DE8 +lbl_802B1638: +/* 802B1638 002AE598 7F C3 F3 78 */ mr r3, r30 +/* 802B163C 002AE59C 48 07 6D ED */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1640 002AE5A0 98 7F 00 2A */ stb r3, 0x2a(r31) +/* 802B1644 002AE5A4 48 00 07 A4 */ b lbl_802B1DE8 +lbl_802B1648: +/* 802B1648 002AE5A8 38 00 00 00 */ li r0, 0 +/* 802B164C 002AE5AC 7F C4 F3 78 */ mr r4, r30 +/* 802B1650 002AE5B0 90 01 01 18 */ stw r0, 0x118(r1) +/* 802B1654 002AE5B4 7F A5 EB 78 */ mr r5, r29 +/* 802B1658 002AE5B8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802B165C 002AE5BC 38 C1 01 14 */ addi r6, r1, 0x114 +/* 802B1660 002AE5C0 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802B1664 002AE5C4 90 01 01 20 */ stw r0, 0x120(r1) +/* 802B1668 002AE5C8 48 07 37 29 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 802B166C 002AE5CC 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802B1670 002AE5D0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1674 002AE5D4 98 01 01 10 */ stb r0, 0x110(r1) +/* 802B1678 002AE5D8 41 82 00 14 */ beq lbl_802B168C +/* 802B167C 002AE5DC 34 61 01 08 */ addic. r3, r1, 0x108 +/* 802B1680 002AE5E0 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802B1684 002AE5E4 41 82 00 08 */ beq lbl_802B168C +/* 802B1688 002AE5E8 48 08 F8 21 */ bl __ct__6CTokenFRC6CToken +lbl_802B168C: +/* 802B168C 002AE5EC 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 802B1690 002AE5F0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1694 002AE5F4 41 82 00 14 */ beq lbl_802B16A8 +/* 802B1698 002AE5F8 34 61 00 D4 */ addic. r3, r1, 0xd4 +/* 802B169C 002AE5FC 41 82 00 0C */ beq lbl_802B16A8 +/* 802B16A0 002AE600 38 80 00 00 */ li r4, 0 +/* 802B16A4 002AE604 48 08 F7 9D */ bl __dt__6CTokenFv +lbl_802B16A8: +/* 802B16A8 002AE608 88 01 01 10 */ lbz r0, 0x110(r1) +/* 802B16AC 002AE60C 38 60 00 00 */ li r3, 0 +/* 802B16B0 002AE610 98 61 00 DC */ stb r3, 0xdc(r1) +/* 802B16B4 002AE614 28 00 00 00 */ cmplwi r0, 0 +/* 802B16B8 002AE618 41 82 00 88 */ beq lbl_802B1740 +/* 802B16BC 002AE61C 3B 41 00 C8 */ addi r26, r1, 0xc8 +/* 802B16C0 002AE620 38 81 01 08 */ addi r4, r1, 0x108 +/* 802B16C4 002AE624 7F 43 D3 78 */ mr r3, r26 +/* 802B16C8 002AE628 48 08 F7 E1 */ bl __ct__6CTokenFRC6CToken +/* 802B16CC 002AE62C 7F 43 D3 78 */ mr r3, r26 +/* 802B16D0 002AE630 48 08 F7 3D */ bl GetObj__6CTokenFv +/* 802B16D4 002AE634 80 03 00 04 */ lwz r0, 4(r3) +/* 802B16D8 002AE638 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 802B16DC 002AE63C 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B16E0 002AE640 28 00 00 00 */ cmplwi r0, 0 +/* 802B16E4 002AE644 40 82 00 34 */ bne lbl_802B1718 +/* 802B16E8 002AE648 37 5F 00 44 */ addic. r26, r31, 0x44 +/* 802B16EC 002AE64C 41 82 00 20 */ beq lbl_802B170C +/* 802B16F0 002AE650 7F 43 D3 78 */ mr r3, r26 +/* 802B16F4 002AE654 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802B16F8 002AE658 48 08 F7 B1 */ bl __ct__6CTokenFRC6CToken +/* 802B16FC 002AE65C 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802B1700 002AE660 7F 43 D3 78 */ mr r3, r26 +/* 802B1704 002AE664 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1708 002AE668 48 08 F6 7D */ bl Lock__6CTokenFv +lbl_802B170C: +/* 802B170C 002AE66C 38 00 00 01 */ li r0, 1 +/* 802B1710 002AE670 98 1F 00 50 */ stb r0, 0x50(r31) +/* 802B1714 002AE674 48 00 00 1C */ b lbl_802B1730 +lbl_802B1718: +/* 802B1718 002AE678 3B 5F 00 44 */ addi r26, r31, 0x44 +/* 802B171C 002AE67C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 802B1720 002AE680 7F 43 D3 78 */ mr r3, r26 +/* 802B1724 002AE684 48 08 F5 A1 */ bl __as__6CTokenFRC6CToken +/* 802B1728 002AE688 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 802B172C 002AE68C 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1730: +/* 802B1730 002AE690 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802B1734 002AE694 38 80 00 00 */ li r4, 0 +/* 802B1738 002AE698 48 08 F7 09 */ bl __dt__6CTokenFv +/* 802B173C 002AE69C 48 00 00 C4 */ b lbl_802B1800 +lbl_802B1740: +/* 802B1740 002AE6A0 3B 5F 00 44 */ addi r26, r31, 0x44 +/* 802B1744 002AE6A4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802B1748 002AE6A8 7C 1A 20 40 */ cmplw r26, r4 +/* 802B174C 002AE6AC 98 61 00 C4 */ stb r3, 0xc4(r1) +/* 802B1750 002AE6B0 41 82 00 84 */ beq lbl_802B17D4 +/* 802B1754 002AE6B4 28 03 00 00 */ cmplwi r3, 0 +/* 802B1758 002AE6B8 41 82 00 50 */ beq lbl_802B17A8 +/* 802B175C 002AE6BC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B1760 002AE6C0 28 00 00 00 */ cmplwi r0, 0 +/* 802B1764 002AE6C4 40 82 00 30 */ bne lbl_802B1794 +/* 802B1768 002AE6C8 37 5F 00 44 */ addic. r26, r31, 0x44 +/* 802B176C 002AE6CC 41 82 00 1C */ beq lbl_802B1788 +/* 802B1770 002AE6D0 7F 43 D3 78 */ mr r3, r26 +/* 802B1774 002AE6D4 48 08 F7 35 */ bl __ct__6CTokenFRC6CToken +/* 802B1778 002AE6D8 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802B177C 002AE6DC 7F 43 D3 78 */ mr r3, r26 +/* 802B1780 002AE6E0 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1784 002AE6E4 48 08 F6 01 */ bl Lock__6CTokenFv +lbl_802B1788: +/* 802B1788 002AE6E8 38 00 00 01 */ li r0, 1 +/* 802B178C 002AE6EC 98 1F 00 50 */ stb r0, 0x50(r31) +/* 802B1790 002AE6F0 48 00 00 44 */ b lbl_802B17D4 +lbl_802B1794: +/* 802B1794 002AE6F4 7F 43 D3 78 */ mr r3, r26 +/* 802B1798 002AE6F8 48 08 F5 2D */ bl __as__6CTokenFRC6CToken +/* 802B179C 002AE6FC 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 802B17A0 002AE700 90 1A 00 08 */ stw r0, 8(r26) +/* 802B17A4 002AE704 48 00 00 30 */ b lbl_802B17D4 +lbl_802B17A8: +/* 802B17A8 002AE708 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B17AC 002AE70C 28 00 00 00 */ cmplwi r0, 0 +/* 802B17B0 002AE710 41 82 00 1C */ beq lbl_802B17CC +/* 802B17B4 002AE714 34 7F 00 44 */ addic. r3, r31, 0x44 +/* 802B17B8 002AE718 41 82 00 14 */ beq lbl_802B17CC +/* 802B17BC 002AE71C 28 03 00 00 */ cmplwi r3, 0 +/* 802B17C0 002AE720 41 82 00 0C */ beq lbl_802B17CC +/* 802B17C4 002AE724 38 80 00 00 */ li r4, 0 +/* 802B17C8 002AE728 48 08 F6 79 */ bl __dt__6CTokenFv +lbl_802B17CC: +/* 802B17CC 002AE72C 38 00 00 00 */ li r0, 0 +/* 802B17D0 002AE730 98 1F 00 50 */ stb r0, 0x50(r31) +lbl_802B17D4: +/* 802B17D4 002AE734 88 01 00 C4 */ lbz r0, 0xc4(r1) +/* 802B17D8 002AE738 28 00 00 00 */ cmplwi r0, 0 +/* 802B17DC 002AE73C 41 82 00 1C */ beq lbl_802B17F8 +/* 802B17E0 002AE740 34 61 00 B8 */ addic. r3, r1, 0xb8 +/* 802B17E4 002AE744 41 82 00 14 */ beq lbl_802B17F8 +/* 802B17E8 002AE748 28 03 00 00 */ cmplwi r3, 0 +/* 802B17EC 002AE74C 41 82 00 0C */ beq lbl_802B17F8 +/* 802B17F0 002AE750 38 80 00 00 */ li r4, 0 +/* 802B17F4 002AE754 48 08 F6 4D */ bl __dt__6CTokenFv +lbl_802B17F8: +/* 802B17F8 002AE758 38 00 00 00 */ li r0, 0 +/* 802B17FC 002AE75C 98 01 00 C4 */ stb r0, 0xc4(r1) +lbl_802B1800: +/* 802B1800 002AE760 88 01 01 10 */ lbz r0, 0x110(r1) +/* 802B1804 002AE764 28 00 00 00 */ cmplwi r0, 0 +/* 802B1808 002AE768 41 82 00 14 */ beq lbl_802B181C +/* 802B180C 002AE76C 34 61 01 08 */ addic. r3, r1, 0x108 +/* 802B1810 002AE770 41 82 00 0C */ beq lbl_802B181C +/* 802B1814 002AE774 38 80 00 00 */ li r4, 0 +/* 802B1818 002AE778 48 08 F6 29 */ bl __dt__6CTokenFv +lbl_802B181C: +/* 802B181C 002AE77C 80 01 01 18 */ lwz r0, 0x118(r1) +/* 802B1820 002AE780 38 80 00 00 */ li r4, 0 +/* 802B1824 002AE784 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802B1828 002AE788 54 00 10 3A */ slwi r0, r0, 2 +/* 802B182C 002AE78C 98 81 01 10 */ stb r4, 0x110(r1) +/* 802B1830 002AE790 7C 03 02 14 */ add r0, r3, r0 +/* 802B1834 002AE794 7C 64 1B 78 */ mr r4, r3 +/* 802B1838 002AE798 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B183C 002AE79C 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B1840 002AE7A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 802B1844 002AE7A4 90 61 00 08 */ stw r3, 8(r1) +/* 802B1848 002AE7A8 48 00 00 08 */ b lbl_802B1850 +lbl_802B184C: +/* 802B184C 002AE7AC 38 84 00 04 */ addi r4, r4, 4 +lbl_802B1850: +/* 802B1850 002AE7B0 7C 04 00 40 */ cmplw r4, r0 +/* 802B1854 002AE7B4 40 82 FF F8 */ bne lbl_802B184C +/* 802B1858 002AE7B8 28 03 00 00 */ cmplwi r3, 0 +/* 802B185C 002AE7BC 41 82 05 8C */ beq lbl_802B1DE8 +/* 802B1860 002AE7C0 48 06 40 D1 */ bl Free__7CMemoryFPCv +/* 802B1864 002AE7C4 48 00 05 84 */ b lbl_802B1DE8 +lbl_802B1868: +/* 802B1868 002AE7C8 7F C3 F3 78 */ mr r3, r30 +/* 802B186C 002AE7CC 48 07 6B BD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1870 002AE7D0 98 7F 00 2B */ stb r3, 0x2b(r31) +/* 802B1874 002AE7D4 48 00 05 74 */ b lbl_802B1DE8 +lbl_802B1878: +/* 802B1878 002AE7D8 7F C3 F3 78 */ mr r3, r30 +/* 802B187C 002AE7DC 48 07 6B AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1880 002AE7E0 98 7F 00 28 */ stb r3, 0x28(r31) +/* 802B1884 002AE7E4 48 00 05 64 */ b lbl_802B1DE8 +lbl_802B1888: +/* 802B1888 002AE7E8 7F C3 F3 78 */ mr r3, r30 +/* 802B188C 002AE7EC 48 07 6B D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1890 002AE7F0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1894 002AE7F4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1898 002AE7F8 41 82 05 50 */ beq lbl_802B1DE8 +/* 802B189C 002AE7FC 7F C3 F3 78 */ mr r3, r30 +/* 802B18A0 002AE800 48 08 D3 E5 */ bl ReadLong__12CInputStreamFv +/* 802B18A4 002AE804 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B18A8 002AE808 90 61 00 78 */ stw r3, 0x78(r1) +/* 802B18AC 002AE80C 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B18B0 002AE810 7F A4 EB 78 */ mr r4, r29 +/* 802B18B4 002AE814 90 01 00 74 */ stw r0, 0x74(r1) +/* 802B18B8 002AE818 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B18BC 002AE81C 38 A1 00 74 */ addi r5, r1, 0x74 +/* 802B18C0 002AE820 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B18C4 002AE824 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B18C8 002AE828 7D 89 03 A6 */ mtctr r12 +/* 802B18CC 002AE82C 4E 80 04 21 */ bctrl +/* 802B18D0 002AE830 3B 41 00 AC */ addi r26, r1, 0xac +/* 802B18D4 002AE834 38 81 00 6C */ addi r4, r1, 0x6c +/* 802B18D8 002AE838 7F 43 D3 78 */ mr r3, r26 +/* 802B18DC 002AE83C 48 08 F5 CD */ bl __ct__6CTokenFRC6CToken +/* 802B18E0 002AE840 7F 43 D3 78 */ mr r3, r26 +/* 802B18E4 002AE844 48 08 F5 29 */ bl GetObj__6CTokenFv +/* 802B18E8 002AE848 80 03 00 04 */ lwz r0, 4(r3) +/* 802B18EC 002AE84C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802B18F0 002AE850 88 1F 00 60 */ lbz r0, 0x60(r31) +/* 802B18F4 002AE854 28 00 00 00 */ cmplwi r0, 0 +/* 802B18F8 002AE858 40 82 00 34 */ bne lbl_802B192C +/* 802B18FC 002AE85C 37 5F 00 54 */ addic. r26, r31, 0x54 +/* 802B1900 002AE860 41 82 00 20 */ beq lbl_802B1920 +/* 802B1904 002AE864 7F 43 D3 78 */ mr r3, r26 +/* 802B1908 002AE868 38 81 00 AC */ addi r4, r1, 0xac +/* 802B190C 002AE86C 48 08 F5 9D */ bl __ct__6CTokenFRC6CToken +/* 802B1910 002AE870 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B1914 002AE874 7F 43 D3 78 */ mr r3, r26 +/* 802B1918 002AE878 90 1A 00 08 */ stw r0, 8(r26) +/* 802B191C 002AE87C 48 08 F4 69 */ bl Lock__6CTokenFv +lbl_802B1920: +/* 802B1920 002AE880 38 00 00 01 */ li r0, 1 +/* 802B1924 002AE884 98 1F 00 60 */ stb r0, 0x60(r31) +/* 802B1928 002AE888 48 00 00 1C */ b lbl_802B1944 +lbl_802B192C: +/* 802B192C 002AE88C 3B 5F 00 54 */ addi r26, r31, 0x54 +/* 802B1930 002AE890 38 81 00 AC */ addi r4, r1, 0xac +/* 802B1934 002AE894 7F 43 D3 78 */ mr r3, r26 +/* 802B1938 002AE898 48 08 F3 8D */ bl __as__6CTokenFRC6CToken +/* 802B193C 002AE89C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802B1940 002AE8A0 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1944: +/* 802B1944 002AE8A4 38 61 00 AC */ addi r3, r1, 0xac +/* 802B1948 002AE8A8 38 80 00 00 */ li r4, 0 +/* 802B194C 002AE8AC 48 08 F4 F5 */ bl __dt__6CTokenFv +/* 802B1950 002AE8B0 38 61 00 6C */ addi r3, r1, 0x6c +/* 802B1954 002AE8B4 38 80 FF FF */ li r4, -1 +/* 802B1958 002AE8B8 48 08 F4 E9 */ bl __dt__6CTokenFv +/* 802B195C 002AE8BC 48 00 04 8C */ b lbl_802B1DE8 +lbl_802B1960: +/* 802B1960 002AE8C0 7F C3 F3 78 */ mr r3, r30 +/* 802B1964 002AE8C4 48 07 6A C5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1968 002AE8C8 98 7F 00 2C */ stb r3, 0x2c(r31) +/* 802B196C 002AE8CC 48 00 04 7C */ b lbl_802B1DE8 +lbl_802B1970: +/* 802B1970 002AE8D0 7F C3 F3 78 */ mr r3, r30 +/* 802B1974 002AE8D4 48 07 6A E9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1978 002AE8D8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B197C 002AE8DC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1980 002AE8E0 41 82 04 68 */ beq lbl_802B1DE8 +/* 802B1984 002AE8E4 7F C3 F3 78 */ mr r3, r30 +/* 802B1988 002AE8E8 48 08 D2 FD */ bl ReadLong__12CInputStreamFv +/* 802B198C 002AE8EC 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B1990 002AE8F0 90 61 00 68 */ stw r3, 0x68(r1) +/* 802B1994 002AE8F4 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B1998 002AE8F8 7F A4 EB 78 */ mr r4, r29 +/* 802B199C 002AE8FC 90 01 00 64 */ stw r0, 0x64(r1) +/* 802B19A0 002AE900 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B19A4 002AE904 38 A1 00 64 */ addi r5, r1, 0x64 +/* 802B19A8 002AE908 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B19AC 002AE90C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B19B0 002AE910 7D 89 03 A6 */ mtctr r12 +/* 802B19B4 002AE914 4E 80 04 21 */ bctrl +/* 802B19B8 002AE918 3B 41 00 A0 */ addi r26, r1, 0xa0 +/* 802B19BC 002AE91C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802B19C0 002AE920 7F 43 D3 78 */ mr r3, r26 +/* 802B19C4 002AE924 48 08 F4 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B19C8 002AE928 7F 43 D3 78 */ mr r3, r26 +/* 802B19CC 002AE92C 48 08 F4 41 */ bl GetObj__6CTokenFv +/* 802B19D0 002AE930 80 03 00 04 */ lwz r0, 4(r3) +/* 802B19D4 002AE934 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802B19D8 002AE938 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 802B19DC 002AE93C 28 00 00 00 */ cmplwi r0, 0 +/* 802B19E0 002AE940 40 82 00 34 */ bne lbl_802B1A14 +/* 802B19E4 002AE944 37 5F 00 64 */ addic. r26, r31, 0x64 +/* 802B19E8 002AE948 41 82 00 20 */ beq lbl_802B1A08 +/* 802B19EC 002AE94C 7F 43 D3 78 */ mr r3, r26 +/* 802B19F0 002AE950 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802B19F4 002AE954 48 08 F4 B5 */ bl __ct__6CTokenFRC6CToken +/* 802B19F8 002AE958 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 802B19FC 002AE95C 7F 43 D3 78 */ mr r3, r26 +/* 802B1A00 002AE960 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1A04 002AE964 48 08 F3 81 */ bl Lock__6CTokenFv +lbl_802B1A08: +/* 802B1A08 002AE968 38 00 00 01 */ li r0, 1 +/* 802B1A0C 002AE96C 98 1F 00 70 */ stb r0, 0x70(r31) +/* 802B1A10 002AE970 48 00 00 1C */ b lbl_802B1A2C +lbl_802B1A14: +/* 802B1A14 002AE974 3B 5F 00 64 */ addi r26, r31, 0x64 +/* 802B1A18 002AE978 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802B1A1C 002AE97C 7F 43 D3 78 */ mr r3, r26 +/* 802B1A20 002AE980 48 08 F2 A5 */ bl __as__6CTokenFRC6CToken +/* 802B1A24 002AE984 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 802B1A28 002AE988 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1A2C: +/* 802B1A2C 002AE98C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802B1A30 002AE990 38 80 00 00 */ li r4, 0 +/* 802B1A34 002AE994 48 08 F4 0D */ bl __dt__6CTokenFv +/* 802B1A38 002AE998 38 61 00 5C */ addi r3, r1, 0x5c +/* 802B1A3C 002AE99C 38 80 FF FF */ li r4, -1 +/* 802B1A40 002AE9A0 48 08 F4 01 */ bl __dt__6CTokenFv +/* 802B1A44 002AE9A4 48 00 03 A4 */ b lbl_802B1DE8 +lbl_802B1A48: +/* 802B1A48 002AE9A8 7F C3 F3 78 */ mr r3, r30 +/* 802B1A4C 002AE9AC 48 07 69 DD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1A50 002AE9B0 98 7F 00 2D */ stb r3, 0x2d(r31) +/* 802B1A54 002AE9B4 48 00 03 94 */ b lbl_802B1DE8 +lbl_802B1A58: +/* 802B1A58 002AE9B8 7F C3 F3 78 */ mr r3, r30 +/* 802B1A5C 002AE9BC 48 07 6A 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1A60 002AE9C0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1A64 002AE9C4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1A68 002AE9C8 41 82 03 80 */ beq lbl_802B1DE8 +/* 802B1A6C 002AE9CC 7F C3 F3 78 */ mr r3, r30 +/* 802B1A70 002AE9D0 48 08 D2 15 */ bl ReadLong__12CInputStreamFv +/* 802B1A74 002AE9D4 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 802B1A78 002AE9D8 90 61 00 58 */ stw r3, 0x58(r1) +/* 802B1A7C 002AE9DC 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 802B1A80 002AE9E0 7F A4 EB 78 */ mr r4, r29 +/* 802B1A84 002AE9E4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802B1A88 002AE9E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B1A8C 002AE9EC 38 A1 00 54 */ addi r5, r1, 0x54 +/* 802B1A90 002AE9F0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1A94 002AE9F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1A98 002AE9F8 7D 89 03 A6 */ mtctr r12 +/* 802B1A9C 002AE9FC 4E 80 04 21 */ bctrl +/* 802B1AA0 002AEA00 3B 41 00 94 */ addi r26, r1, 0x94 +/* 802B1AA4 002AEA04 38 81 00 4C */ addi r4, r1, 0x4c +/* 802B1AA8 002AEA08 7F 43 D3 78 */ mr r3, r26 +/* 802B1AAC 002AEA0C 48 08 F3 FD */ bl __ct__6CTokenFRC6CToken +/* 802B1AB0 002AEA10 7F 43 D3 78 */ mr r3, r26 +/* 802B1AB4 002AEA14 48 08 F3 59 */ bl GetObj__6CTokenFv +/* 802B1AB8 002AEA18 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1ABC 002AEA1C 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802B1AC0 002AEA20 88 1F 00 80 */ lbz r0, 0x80(r31) +/* 802B1AC4 002AEA24 28 00 00 00 */ cmplwi r0, 0 +/* 802B1AC8 002AEA28 40 82 00 34 */ bne lbl_802B1AFC +/* 802B1ACC 002AEA2C 37 5F 00 74 */ addic. r26, r31, 0x74 +/* 802B1AD0 002AEA30 41 82 00 20 */ beq lbl_802B1AF0 +/* 802B1AD4 002AEA34 7F 43 D3 78 */ mr r3, r26 +/* 802B1AD8 002AEA38 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B1ADC 002AEA3C 48 08 F3 CD */ bl __ct__6CTokenFRC6CToken +/* 802B1AE0 002AEA40 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802B1AE4 002AEA44 7F 43 D3 78 */ mr r3, r26 +/* 802B1AE8 002AEA48 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1AEC 002AEA4C 48 08 F2 99 */ bl Lock__6CTokenFv +lbl_802B1AF0: +/* 802B1AF0 002AEA50 38 00 00 01 */ li r0, 1 +/* 802B1AF4 002AEA54 98 1F 00 80 */ stb r0, 0x80(r31) +/* 802B1AF8 002AEA58 48 00 00 1C */ b lbl_802B1B14 +lbl_802B1AFC: +/* 802B1AFC 002AEA5C 3B 5F 00 74 */ addi r26, r31, 0x74 +/* 802B1B00 002AEA60 38 81 00 94 */ addi r4, r1, 0x94 +/* 802B1B04 002AEA64 7F 43 D3 78 */ mr r3, r26 +/* 802B1B08 002AEA68 48 08 F1 BD */ bl __as__6CTokenFRC6CToken +/* 802B1B0C 002AEA6C 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802B1B10 002AEA70 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1B14: +/* 802B1B14 002AEA74 38 61 00 94 */ addi r3, r1, 0x94 +/* 802B1B18 002AEA78 38 80 00 00 */ li r4, 0 +/* 802B1B1C 002AEA7C 48 08 F3 25 */ bl __dt__6CTokenFv +/* 802B1B20 002AEA80 38 61 00 4C */ addi r3, r1, 0x4c +/* 802B1B24 002AEA84 38 80 FF FF */ li r4, -1 +/* 802B1B28 002AEA88 48 08 F3 19 */ bl __dt__6CTokenFv +/* 802B1B2C 002AEA8C 48 00 02 BC */ b lbl_802B1DE8 +lbl_802B1B30: +/* 802B1B30 002AEA90 7F C3 F3 78 */ mr r3, r30 +/* 802B1B34 002AEA94 48 07 68 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1B38 002AEA98 98 7F 00 2E */ stb r3, 0x2e(r31) +/* 802B1B3C 002AEA9C 48 00 02 AC */ b lbl_802B1DE8 +lbl_802B1B40: +/* 802B1B40 002AEAA0 7F C3 F3 78 */ mr r3, r30 +/* 802B1B44 002AEAA4 48 07 69 19 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1B48 002AEAA8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1B4C 002AEAAC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1B50 002AEAB0 41 82 02 98 */ beq lbl_802B1DE8 +/* 802B1B54 002AEAB4 7F C3 F3 78 */ mr r3, r30 +/* 802B1B58 002AEAB8 48 08 D1 2D */ bl ReadLong__12CInputStreamFv +/* 802B1B5C 002AEABC 3C 80 43 4D */ lis r4, 0x434D444C@ha +/* 802B1B60 002AEAC0 90 61 00 48 */ stw r3, 0x48(r1) +/* 802B1B64 002AEAC4 38 04 44 4C */ addi r0, r4, 0x434D444C@l +/* 802B1B68 002AEAC8 7F A4 EB 78 */ mr r4, r29 +/* 802B1B6C 002AEACC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802B1B70 002AEAD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B1B74 002AEAD4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802B1B78 002AEAD8 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1B7C 002AEADC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1B80 002AEAE0 7D 89 03 A6 */ mtctr r12 +/* 802B1B84 002AEAE4 4E 80 04 21 */ bctrl +/* 802B1B88 002AEAE8 3B 41 00 88 */ addi r26, r1, 0x88 +/* 802B1B8C 002AEAEC 38 81 00 3C */ addi r4, r1, 0x3c +/* 802B1B90 002AEAF0 7F 43 D3 78 */ mr r3, r26 +/* 802B1B94 002AEAF4 48 08 F3 15 */ bl __ct__6CTokenFRC6CToken +/* 802B1B98 002AEAF8 7F 43 D3 78 */ mr r3, r26 +/* 802B1B9C 002AEAFC 48 08 F2 71 */ bl GetObj__6CTokenFv +/* 802B1BA0 002AEB00 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1BA4 002AEB04 90 01 00 90 */ stw r0, 0x90(r1) +/* 802B1BA8 002AEB08 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 802B1BAC 002AEB0C 28 00 00 00 */ cmplwi r0, 0 +/* 802B1BB0 002AEB10 40 82 00 34 */ bne lbl_802B1BE4 +/* 802B1BB4 002AEB14 37 5F 00 84 */ addic. r26, r31, 0x84 +/* 802B1BB8 002AEB18 41 82 00 20 */ beq lbl_802B1BD8 +/* 802B1BBC 002AEB1C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BC0 002AEB20 38 81 00 88 */ addi r4, r1, 0x88 +/* 802B1BC4 002AEB24 48 08 F2 E5 */ bl __ct__6CTokenFRC6CToken +/* 802B1BC8 002AEB28 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802B1BCC 002AEB2C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BD0 002AEB30 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1BD4 002AEB34 48 08 F1 B1 */ bl Lock__6CTokenFv +lbl_802B1BD8: +/* 802B1BD8 002AEB38 38 00 00 01 */ li r0, 1 +/* 802B1BDC 002AEB3C 98 1F 00 90 */ stb r0, 0x90(r31) +/* 802B1BE0 002AEB40 48 00 00 1C */ b lbl_802B1BFC +lbl_802B1BE4: +/* 802B1BE4 002AEB44 3B 5F 00 84 */ addi r26, r31, 0x84 +/* 802B1BE8 002AEB48 38 81 00 88 */ addi r4, r1, 0x88 +/* 802B1BEC 002AEB4C 7F 43 D3 78 */ mr r3, r26 +/* 802B1BF0 002AEB50 48 08 F0 D5 */ bl __as__6CTokenFRC6CToken +/* 802B1BF4 002AEB54 80 01 00 90 */ lwz r0, 0x90(r1) +/* 802B1BF8 002AEB58 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1BFC: +/* 802B1BFC 002AEB5C 38 61 00 88 */ addi r3, r1, 0x88 +/* 802B1C00 002AEB60 38 80 00 00 */ li r4, 0 +/* 802B1C04 002AEB64 48 08 F2 3D */ bl __dt__6CTokenFv +/* 802B1C08 002AEB68 38 61 00 3C */ addi r3, r1, 0x3c +/* 802B1C0C 002AEB6C 38 80 FF FF */ li r4, -1 +/* 802B1C10 002AEB70 48 08 F2 31 */ bl __dt__6CTokenFv +/* 802B1C14 002AEB74 48 00 01 D4 */ b lbl_802B1DE8 +lbl_802B1C18: +/* 802B1C18 002AEB78 7F C3 F3 78 */ mr r3, r30 +/* 802B1C1C 002AEB7C 48 07 46 39 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1C20 002AEB80 90 7F 00 18 */ stw r3, 0x18(r31) +/* 802B1C24 002AEB84 48 00 01 C4 */ b lbl_802B1DE8 +lbl_802B1C28: +/* 802B1C28 002AEB88 7F C3 F3 78 */ mr r3, r30 +/* 802B1C2C 002AEB8C 48 07 36 31 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1C30 002AEB90 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 802B1C34 002AEB94 48 00 01 B4 */ b lbl_802B1DE8 +lbl_802B1C38: +/* 802B1C38 002AEB98 7F C3 F3 78 */ mr r3, r30 +/* 802B1C3C 002AEB9C 48 07 68 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1C40 002AEBA0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1C44 002AEBA4 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1C48 002AEBA8 41 82 01 A0 */ beq lbl_802B1DE8 +/* 802B1C4C 002AEBAC 7F C3 F3 78 */ mr r3, r30 +/* 802B1C50 002AEBB0 48 08 D0 35 */ bl ReadLong__12CInputStreamFv +/* 802B1C54 002AEBB4 3C 80 43 52 */ lis r4, 0x43525343@ha +/* 802B1C58 002AEBB8 90 61 00 38 */ stw r3, 0x38(r1) +/* 802B1C5C 002AEBBC 38 04 53 43 */ addi r0, r4, 0x43525343@l +/* 802B1C60 002AEBC0 7F A4 EB 78 */ mr r4, r29 +/* 802B1C64 002AEBC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1C68 002AEBC8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B1C6C 002AEBCC 38 A1 00 34 */ addi r5, r1, 0x34 +/* 802B1C70 002AEBD0 81 9D 00 00 */ lwz r12, 0(r29) +/* 802B1C74 002AEBD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 802B1C78 002AEBD8 7D 89 03 A6 */ mtctr r12 +/* 802B1C7C 002AEBDC 4E 80 04 21 */ bctrl +/* 802B1C80 002AEBE0 3B 41 00 7C */ addi r26, r1, 0x7c +/* 802B1C84 002AEBE4 38 81 00 2C */ addi r4, r1, 0x2c +/* 802B1C88 002AEBE8 7F 43 D3 78 */ mr r3, r26 +/* 802B1C8C 002AEBEC 48 08 F2 1D */ bl __ct__6CTokenFRC6CToken +/* 802B1C90 002AEBF0 7F 43 D3 78 */ mr r3, r26 +/* 802B1C94 002AEBF4 48 08 F1 79 */ bl GetObj__6CTokenFv +/* 802B1C98 002AEBF8 80 03 00 04 */ lwz r0, 4(r3) +/* 802B1C9C 002AEBFC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802B1CA0 002AEC00 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 802B1CA4 002AEC04 28 00 00 00 */ cmplwi r0, 0 +/* 802B1CA8 002AEC08 40 82 00 34 */ bne lbl_802B1CDC +/* 802B1CAC 002AEC0C 37 5F 00 94 */ addic. r26, r31, 0x94 +/* 802B1CB0 002AEC10 41 82 00 20 */ beq lbl_802B1CD0 +/* 802B1CB4 002AEC14 7F 43 D3 78 */ mr r3, r26 +/* 802B1CB8 002AEC18 38 81 00 7C */ addi r4, r1, 0x7c +/* 802B1CBC 002AEC1C 48 08 F1 ED */ bl __ct__6CTokenFRC6CToken +/* 802B1CC0 002AEC20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B1CC4 002AEC24 7F 43 D3 78 */ mr r3, r26 +/* 802B1CC8 002AEC28 90 1A 00 08 */ stw r0, 8(r26) +/* 802B1CCC 002AEC2C 48 08 F0 B9 */ bl Lock__6CTokenFv +lbl_802B1CD0: +/* 802B1CD0 002AEC30 38 00 00 01 */ li r0, 1 +/* 802B1CD4 002AEC34 98 1F 00 A0 */ stb r0, 0xa0(r31) +/* 802B1CD8 002AEC38 48 00 00 1C */ b lbl_802B1CF4 +lbl_802B1CDC: +/* 802B1CDC 002AEC3C 3B 5F 00 94 */ addi r26, r31, 0x94 +/* 802B1CE0 002AEC40 38 81 00 7C */ addi r4, r1, 0x7c +/* 802B1CE4 002AEC44 7F 43 D3 78 */ mr r3, r26 +/* 802B1CE8 002AEC48 48 08 EF DD */ bl __as__6CTokenFRC6CToken +/* 802B1CEC 002AEC4C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802B1CF0 002AEC50 90 1A 00 08 */ stw r0, 8(r26) +lbl_802B1CF4: +/* 802B1CF4 002AEC54 38 61 00 7C */ addi r3, r1, 0x7c +/* 802B1CF8 002AEC58 38 80 00 00 */ li r4, 0 +/* 802B1CFC 002AEC5C 48 08 F1 45 */ bl __dt__6CTokenFv +/* 802B1D00 002AEC60 38 61 00 2C */ addi r3, r1, 0x2c +/* 802B1D04 002AEC64 38 80 FF FF */ li r4, -1 +/* 802B1D08 002AEC68 48 08 F1 39 */ bl __dt__6CTokenFv +/* 802B1D0C 002AEC6C 48 00 00 DC */ b lbl_802B1DE8 +lbl_802B1D10: +/* 802B1D10 002AEC70 7F C3 F3 78 */ mr r3, r30 +/* 802B1D14 002AEC74 48 07 45 41 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D18 002AEC78 90 7F 00 20 */ stw r3, 0x20(r31) +/* 802B1D1C 002AEC7C 48 00 00 CC */ b lbl_802B1DE8 +lbl_802B1D20: +/* 802B1D20 002AEC80 7F C3 F3 78 */ mr r3, r30 +/* 802B1D24 002AEC84 48 07 45 31 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D28 002AEC88 90 7F 00 24 */ stw r3, 0x24(r31) +/* 802B1D2C 002AEC8C 48 00 00 BC */ b lbl_802B1DE8 +lbl_802B1D30: +/* 802B1D30 002AEC90 7F C3 F3 78 */ mr r3, r30 +/* 802B1D34 002AEC94 48 07 66 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1D38 002AEC98 98 7F 00 29 */ stb r3, 0x29(r31) +/* 802B1D3C 002AEC9C 48 00 00 AC */ b lbl_802B1DE8 +lbl_802B1D40: +/* 802B1D40 002AECA0 7F C3 F3 78 */ mr r3, r30 +/* 802B1D44 002AECA4 48 07 4F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D48 002AECA8 90 7F 00 30 */ stw r3, 0x30(r31) +/* 802B1D4C 002AECAC 48 00 00 9C */ b lbl_802B1DE8 +lbl_802B1D50: +/* 802B1D50 002AECB0 7F C3 F3 78 */ mr r3, r30 +/* 802B1D54 002AECB4 48 07 67 09 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1D58 002AECB8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 802B1D5C 002AECBC 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 802B1D60 002AECC0 41 82 00 88 */ beq lbl_802B1DE8 +/* 802B1D64 002AECC4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D68 002AECC8 48 08 CF 1D */ bl ReadLong__12CInputStreamFv +/* 802B1D6C 002AECCC 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 802B1D70 002AECD0 48 00 00 78 */ b lbl_802B1DE8 +lbl_802B1D74: +/* 802B1D74 002AECD4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D78 002AECD8 48 07 4F 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D7C 002AECDC 90 7F 00 AC */ stw r3, 0xac(r31) +/* 802B1D80 002AECE0 48 00 00 68 */ b lbl_802B1DE8 +lbl_802B1D84: +/* 802B1D84 002AECE4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D88 002AECE8 48 07 4F 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 802B1D8C 002AECEC 90 7F 00 B0 */ stw r3, 0xb0(r31) +/* 802B1D90 002AECF0 48 00 00 58 */ b lbl_802B1DE8 +lbl_802B1D94: +/* 802B1D94 002AECF4 7F C3 F3 78 */ mr r3, r30 +/* 802B1D98 002AECF8 48 07 66 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1D9C 002AECFC 98 7F 00 A4 */ stb r3, 0xa4(r31) +/* 802B1DA0 002AED00 48 00 00 48 */ b lbl_802B1DE8 +lbl_802B1DA4: +/* 802B1DA4 002AED04 7F C3 F3 78 */ mr r3, r30 +/* 802B1DA8 002AED08 48 07 66 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1DAC 002AED0C 98 7F 00 A5 */ stb r3, 0xa5(r31) +/* 802B1DB0 002AED10 48 00 00 38 */ b lbl_802B1DE8 +lbl_802B1DB4: +/* 802B1DB4 002AED14 7F C3 F3 78 */ mr r3, r30 +/* 802B1DB8 002AED18 48 07 66 71 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 802B1DBC 002AED1C 98 7F 00 A6 */ stb r3, 0xa6(r31) +/* 802B1DC0 002AED20 48 00 00 28 */ b lbl_802B1DE8 +lbl_802B1DC4: +/* 802B1DC4 002AED24 3B 80 00 01 */ li r28, 1 +/* 802B1DC8 002AED28 48 00 00 20 */ b lbl_802B1DE8 +lbl_802B1DCC: +/* 802B1DCC 002AED2C 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1DD0 002AED30 38 80 FF FF */ li r4, -1 +/* 802B1DD4 002AED34 48 06 08 31 */ bl __dt__13CGlobalRandomFv +/* 802B1DD8 002AED38 38 60 00 00 */ li r3, 0 +/* 802B1DDC 002AED3C 48 00 00 24 */ b lbl_802B1E00 +lbl_802B1DE0: +/* 802B1DE0 002AED40 3C 60 4C 57 */ lis r3, 0x4C575452@ha +/* 802B1DE4 002AED44 3B 63 54 52 */ addi r27, r3, 0x4C575452@l +lbl_802B1DE8: +/* 802B1DE8 002AED48 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 802B1DEC 002AED4C 41 82 F3 94 */ beq lbl_802B1180 +/* 802B1DF0 002AED50 38 61 01 40 */ addi r3, r1, 0x140 +/* 802B1DF4 002AED54 38 80 FF FF */ li r4, -1 +/* 802B1DF8 002AED58 48 06 08 0D */ bl __dt__13CGlobalRandomFv +/* 802B1DFC 002AED5C 38 60 00 01 */ li r3, 1 +lbl_802B1E00: +/* 802B1E00 002AED60 BB 41 01 58 */ lmw r26, 0x158(r1) +/* 802B1E04 002AED64 80 01 01 74 */ lwz r0, 0x174(r1) +/* 802B1E08 002AED68 7C 08 03 A6 */ mtlr r0 +/* 802B1E0C 002AED6C 38 21 01 70 */ addi r1, r1, 0x170 +/* 802B1E10 002AED70 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B1E14 002AED74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802B1E18 002AED78 7C 08 02 A6 */ mflr r0 +/* 802B1E1C 002AED7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B1E20 002AED80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802B1E24 002AED84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802B1E28 002AED88 7C 9E 23 78 */ mr r30, r4 +/* 802B1E2C 002AED8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802B1E30 002AED90 7C 7D 1B 78 */ mr r29, r3 +/* 802B1E34 002AED94 48 07 66 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 802B1E38 002AED98 3C 03 A8 B0 */ addis r0, r3, 0xa8b0 +/* 802B1E3C 002AED9C 28 00 53 4D */ cmplwi r0, 0x534d +/* 802B1E40 002AEDA0 41 82 00 0C */ beq lbl_802B1E4C +/* 802B1E44 002AEDA4 38 60 00 00 */ li r3, 0 +/* 802B1E48 002AEDA8 48 00 00 3C */ b lbl_802B1E84 +lbl_802B1E4C: +/* 802B1E4C 002AEDAC 3C 80 80 3D */ lis r4, lbl_803D6190@ha +/* 802B1E50 002AEDB0 38 60 00 B4 */ li r3, 0xb4 +/* 802B1E54 002AEDB4 38 84 61 90 */ addi r4, r4, lbl_803D6190@l +/* 802B1E58 002AEDB8 38 A0 00 00 */ li r5, 0 +/* 802B1E5C 002AEDBC 48 06 3A 11 */ bl __nw__FUlPCcPCc +/* 802B1E60 002AEDC0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B1E64 002AEDC4 41 82 00 0C */ beq lbl_802B1E70 +/* 802B1E68 002AEDC8 48 00 3D D1 */ bl __ct__18CWeaponDescriptionFv +/* 802B1E6C 002AEDCC 7C 7F 1B 78 */ mr r31, r3 +lbl_802B1E70: +/* 802B1E70 002AEDD0 7F E3 FB 78 */ mr r3, r31 +/* 802B1E74 002AEDD4 7F A4 EB 78 */ mr r4, r29 +/* 802B1E78 002AEDD8 7F C5 F3 78 */ mr r5, r30 +/* 802B1E7C 002AEDDC 4B FF F2 C9 */ bl CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool +/* 802B1E80 002AEDE0 7F E3 FB 78 */ mr r3, r31 +lbl_802B1E84: +/* 802B1E84 002AEDE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802B1E88 002AEDE8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802B1E8C 002AEDEC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802B1E90 002AEDF0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802B1E94 002AEDF4 7C 08 03 A6 */ mtlr r0 +/* 802B1E98 002AEDF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802B1E9C 002AEDFC 4E 80 00 20 */ blr + +.global GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: +/* 802B1EA0 002AEE00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B1EA4 002AEE04 7C 08 02 A6 */ mflr r0 +/* 802B1EA8 002AEE08 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1EAC 002AEE0C 38 00 00 00 */ li r0, 0 +/* 802B1EB0 002AEE10 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B1EB4 002AEE14 90 01 00 1C */ stw r0, 0x1c(r1) +/* 802B1EB8 002AEE18 90 01 00 20 */ stw r0, 0x20(r1) +/* 802B1EBC 002AEE1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802B1EC0 002AEE20 4B FF FF 55 */ bl CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +/* 802B1EC4 002AEE24 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 802B1EC8 002AEE28 7C 7F 1B 78 */ mr r31, r3 +/* 802B1ECC 002AEE2C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 802B1ED0 002AEE30 54 00 10 3A */ slwi r0, r0, 2 +/* 802B1ED4 002AEE34 7C 04 02 14 */ add r0, r4, r0 +/* 802B1ED8 002AEE38 90 81 00 0C */ stw r4, 0xc(r1) +/* 802B1EDC 002AEE3C 7C 83 23 78 */ mr r3, r4 +/* 802B1EE0 002AEE40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1EE4 002AEE44 90 01 00 10 */ stw r0, 0x10(r1) +/* 802B1EE8 002AEE48 90 81 00 08 */ stw r4, 8(r1) +/* 802B1EEC 002AEE4C 48 00 00 08 */ b lbl_802B1EF4 +lbl_802B1EF0: +/* 802B1EF0 002AEE50 38 63 00 04 */ addi r3, r3, 4 +lbl_802B1EF4: +/* 802B1EF4 002AEE54 7C 03 00 40 */ cmplw r3, r0 +/* 802B1EF8 002AEE58 40 82 FF F8 */ bne lbl_802B1EF0 +/* 802B1EFC 002AEE5C 28 04 00 00 */ cmplwi r4, 0 +/* 802B1F00 002AEE60 41 82 00 0C */ beq lbl_802B1F0C +/* 802B1F04 002AEE64 7C 83 23 78 */ mr r3, r4 +/* 802B1F08 002AEE68 48 06 3A 29 */ bl Free__7CMemoryFPCv +lbl_802B1F0C: +/* 802B1F0C 002AEE6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B1F10 002AEE70 7F E3 FB 78 */ mr r3, r31 +/* 802B1F14 002AEE74 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B1F18 002AEE78 7C 08 03 A6 */ mtlr r0 +/* 802B1F1C 002AEE7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B1F20 002AEE80 4E 80 00 20 */ blr + +.global "__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv" +"__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv": +/* 802B1F24 002AEE84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B1F28 002AEE88 7C 08 02 A6 */ mflr r0 +/* 802B1F2C 002AEE8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B1F30 002AEE90 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B1F34 002AEE94 7C 9F 23 78 */ mr r31, r4 +/* 802B1F38 002AEE98 93 C1 00 08 */ stw r30, 8(r1) +/* 802B1F3C 002AEE9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802B1F40 002AEEA0 41 82 00 58 */ beq lbl_802B1F98 +/* 802B1F44 002AEEA4 3C 60 80 3F */ lis r3, lbl_803EC508@ha +/* 802B1F48 002AEEA8 38 03 C5 08 */ addi r0, r3, lbl_803EC508@l +/* 802B1F4C 002AEEAC 90 1E 00 00 */ stw r0, 0(r30) +/* 802B1F50 002AEEB0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802B1F54 002AEEB4 28 03 00 00 */ cmplwi r3, 0 +/* 802B1F58 002AEEB8 41 82 00 0C */ beq lbl_802B1F64 +/* 802B1F5C 002AEEBC 38 80 00 01 */ li r4, 1 +/* 802B1F60 002AEEC0 48 00 39 41 */ bl __dt__18CWeaponDescriptionFv +lbl_802B1F64: +/* 802B1F64 002AEEC4 28 1E 00 00 */ cmplwi r30, 0 +/* 802B1F68 002AEEC8 41 82 00 20 */ beq lbl_802B1F88 +/* 802B1F6C 002AEECC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802B1F70 002AEED0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802B1F74 002AEED4 90 1E 00 00 */ stw r0, 0(r30) +/* 802B1F78 002AEED8 41 82 00 10 */ beq lbl_802B1F88 +/* 802B1F7C 002AEEDC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802B1F80 002AEEE0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802B1F84 002AEEE4 90 1E 00 00 */ stw r0, 0(r30) +lbl_802B1F88: +/* 802B1F88 002AEEE8 7F E0 07 35 */ extsh. r0, r31 +/* 802B1F8C 002AEEEC 40 81 00 0C */ ble lbl_802B1F98 +/* 802B1F90 002AEEF0 7F C3 F3 78 */ mr r3, r30 +/* 802B1F94 002AEEF4 48 06 39 9D */ bl Free__7CMemoryFPCv +lbl_802B1F98: +/* 802B1F98 002AEEF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B1F9C 002AEEFC 7F C3 F3 78 */ mr r3, r30 +/* 802B1FA0 002AEF00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B1FA4 002AEF04 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B1FA8 002AEF08 7C 08 03 A6 */ mtlr r0 +/* 802B1FAC 002AEF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B1FB0 002AEF10 4E 80 00 20 */ blr + +.global FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802B1FB4 002AEF14 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802B1FB8 002AEF18 7C 08 02 A6 */ mflr r0 +/* 802B1FBC 002AEF1C 90 01 00 34 */ stw r0, 0x34(r1) +/* 802B1FC0 002AEF20 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802B1FC4 002AEF24 7C 7F 1B 78 */ mr r31, r3 +/* 802B1FC8 002AEF28 7C A3 2B 78 */ mr r3, r5 +/* 802B1FCC 002AEF2C 80 C6 00 00 */ lwz r6, 0(r6) +/* 802B1FD0 002AEF30 90 C1 00 08 */ stw r6, 8(r1) +/* 802B1FD4 002AEF34 80 86 00 04 */ lwz r4, 4(r6) +/* 802B1FD8 002AEF38 38 04 00 01 */ addi r0, r4, 1 +/* 802B1FDC 002AEF3C 90 06 00 04 */ stw r0, 4(r6) +/* 802B1FE0 002AEF40 80 81 00 08 */ lwz r4, 8(r1) +/* 802B1FE4 002AEF44 80 84 00 00 */ lwz r4, 0(r4) +/* 802B1FE8 002AEF48 80 84 00 04 */ lwz r4, 4(r4) +/* 802B1FEC 002AEF4C 4B FF FE B5 */ bl GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool +/* 802B1FF0 002AEF50 7C 03 00 D0 */ neg r0, r3 +/* 802B1FF4 002AEF54 90 61 00 10 */ stw r3, 0x10(r1) +/* 802B1FF8 002AEF58 7C 00 1B 78 */ or r0, r0, r3 +/* 802B1FFC 002AEF5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802B2000 002AEF60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2004 002AEF64 38 81 00 0C */ addi r4, r1, 0xc +/* 802B2008 002AEF68 98 01 00 0C */ stb r0, 0xc(r1) +/* 802B200C 002AEF6C 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +/* 802B2010 002AEF70 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2014 002AEF74 38 00 00 00 */ li r0, 0 +/* 802B2018 002AEF78 98 01 00 14 */ stb r0, 0x14(r1) +/* 802B201C 002AEF7C 7C 03 00 D0 */ neg r0, r3 +/* 802B2020 002AEF80 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2024 002AEF84 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2028 002AEF88 98 1F 00 00 */ stb r0, 0(r31) +/* 802B202C 002AEF8C 90 7F 00 04 */ stw r3, 4(r31) +/* 802B2030 002AEF90 88 01 00 14 */ lbz r0, 0x14(r1) +/* 802B2034 002AEF94 28 00 00 00 */ cmplwi r0, 0 +/* 802B2038 002AEF98 41 82 00 24 */ beq lbl_802B205C +/* 802B203C 002AEF9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 802B2040 002AEFA0 28 03 00 00 */ cmplwi r3, 0 +/* 802B2044 002AEFA4 41 82 00 18 */ beq lbl_802B205C +/* 802B2048 002AEFA8 81 83 00 00 */ lwz r12, 0(r3) +/* 802B204C 002AEFAC 38 80 00 01 */ li r4, 1 +/* 802B2050 002AEFB0 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B2054 002AEFB4 7D 89 03 A6 */ mtctr r12 +/* 802B2058 002AEFB8 4E 80 04 21 */ bctrl +lbl_802B205C: +/* 802B205C 002AEFBC 88 01 00 0C */ lbz r0, 0xc(r1) +/* 802B2060 002AEFC0 28 00 00 00 */ cmplwi r0, 0 +/* 802B2064 002AEFC4 41 82 00 10 */ beq lbl_802B2074 +/* 802B2068 002AEFC8 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802B206C 002AEFCC 38 80 00 01 */ li r4, 1 +/* 802B2070 002AEFD0 48 00 38 31 */ bl __dt__18CWeaponDescriptionFv +lbl_802B2074: +/* 802B2074 002AEFD4 38 61 00 08 */ addi r3, r1, 8 +/* 802B2078 002AEFD8 4B D8 22 8D */ bl sub_80034304 +/* 802B207C 002AEFDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802B2080 002AEFE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802B2084 002AEFE4 7C 08 03 A6 */ mtlr r0 +/* 802B2088 002AEFE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802B208C 002AEFEC 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +"GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": +/* 802B2090 002AEFF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B2094 002AEFF4 7C 08 02 A6 */ mflr r0 +/* 802B2098 002AEFF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B209C 002AEFFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B20A0 002AF000 7C 7F 1B 78 */ mr r31, r3 +/* 802B20A4 002AF004 48 00 00 19 */ bl "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +/* 802B20A8 002AF008 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B20AC 002AF00C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B20B0 002AF010 7C 08 03 A6 */ mtlr r0 +/* 802B20B4 002AF014 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B20B8 002AF018 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" +"GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": +/* 802B20BC 002AF01C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B20C0 002AF020 7C 08 02 A6 */ mflr r0 +/* 802B20C4 002AF024 3C A0 80 3D */ lis r5, lbl_803D6190@ha +/* 802B20C8 002AF028 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B20CC 002AF02C 38 05 61 90 */ addi r0, r5, lbl_803D6190@l +/* 802B20D0 002AF030 38 A0 00 00 */ li r5, 0 +/* 802B20D4 002AF034 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B20D8 002AF038 7C 9F 23 78 */ mr r31, r4 +/* 802B20DC 002AF03C 7C 04 03 78 */ mr r4, r0 +/* 802B20E0 002AF040 93 C1 00 08 */ stw r30, 8(r1) +/* 802B20E4 002AF044 7C 7E 1B 78 */ mr r30, r3 +/* 802B20E8 002AF048 38 60 00 08 */ li r3, 8 +/* 802B20EC 002AF04C 48 06 37 81 */ bl __nw__FUlPCcPCc +/* 802B20F0 002AF050 28 03 00 00 */ cmplwi r3, 0 +/* 802B20F4 002AF054 41 82 00 38 */ beq lbl_802B212C +/* 802B20F8 002AF058 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802B20FC 002AF05C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802B2100 002AF060 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802B2104 002AF064 3C 80 80 3F */ lis r4, lbl_803EC508@ha +/* 802B2108 002AF068 90 03 00 00 */ stw r0, 0(r3) +/* 802B210C 002AF06C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802B2110 002AF070 38 A0 00 00 */ li r5, 0 +/* 802B2114 002AF074 38 04 C5 08 */ addi r0, r4, lbl_803EC508@l +/* 802B2118 002AF078 90 C3 00 00 */ stw r6, 0(r3) +/* 802B211C 002AF07C 98 BF 00 00 */ stb r5, 0(r31) +/* 802B2120 002AF080 80 9F 00 04 */ lwz r4, 4(r31) +/* 802B2124 002AF084 90 83 00 04 */ stw r4, 4(r3) +/* 802B2128 002AF088 90 03 00 00 */ stw r0, 0(r3) +lbl_802B212C: +/* 802B212C 002AF08C 7C 03 00 D0 */ neg r0, r3 +/* 802B2130 002AF090 7C 00 1B 78 */ or r0, r0, r3 +/* 802B2134 002AF094 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802B2138 002AF098 98 1E 00 00 */ stb r0, 0(r30) +/* 802B213C 002AF09C 90 7E 00 04 */ stw r3, 4(r30) +/* 802B2140 002AF0A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B2144 002AF0A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B2148 002AF0A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B214C 002AF0AC 7C 08 03 A6 */ mtlr r0 +/* 802B2150 002AF0B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B2154 002AF0B4 4E 80 00 20 */ blr diff --git a/asm/Weapons/CWeaponDescription.s b/asm/Weapons/CWeaponDescription.s new file mode 100644 index 00000000..da1872ee --- /dev/null +++ b/asm/Weapons/CWeaponDescription.s @@ -0,0 +1,317 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__18CWeaponDescriptionFv +__dt__18CWeaponDescriptionFv: +/* 802B58A0 002B2800 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B58A4 002B2804 7C 08 02 A6 */ mflr r0 +/* 802B58A8 002B2808 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B58AC 002B280C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B58B0 002B2810 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B58B4 002B2814 93 C1 00 08 */ stw r30, 8(r1) +/* 802B58B8 002B2818 7C 9E 23 78 */ mr r30, r4 +/* 802B58BC 002B281C 41 82 03 00 */ beq lbl_802B5BBC +/* 802B58C0 002B2820 80 7F 00 04 */ lwz r3, 4(r31) +/* 802B58C4 002B2824 28 03 00 00 */ cmplwi r3, 0 +/* 802B58C8 002B2828 41 82 00 18 */ beq lbl_802B58E0 +/* 802B58CC 002B282C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B58D0 002B2830 38 80 00 01 */ li r4, 1 +/* 802B58D4 002B2834 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B58D8 002B2838 7D 89 03 A6 */ mtctr r12 +/* 802B58DC 002B283C 4E 80 04 21 */ bctrl +lbl_802B58E0: +/* 802B58E0 002B2840 80 7F 00 00 */ lwz r3, 0(r31) +/* 802B58E4 002B2844 28 03 00 00 */ cmplwi r3, 0 +/* 802B58E8 002B2848 41 82 00 18 */ beq lbl_802B5900 +/* 802B58EC 002B284C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B58F0 002B2850 38 80 00 01 */ li r4, 1 +/* 802B58F4 002B2854 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B58F8 002B2858 7D 89 03 A6 */ mtctr r12 +/* 802B58FC 002B285C 4E 80 04 21 */ bctrl +lbl_802B5900: +/* 802B5900 002B2860 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802B5904 002B2864 28 03 00 00 */ cmplwi r3, 0 +/* 802B5908 002B2868 41 82 00 18 */ beq lbl_802B5920 +/* 802B590C 002B286C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5910 002B2870 38 80 00 01 */ li r4, 1 +/* 802B5914 002B2874 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5918 002B2878 7D 89 03 A6 */ mtctr r12 +/* 802B591C 002B287C 4E 80 04 21 */ bctrl +lbl_802B5920: +/* 802B5920 002B2880 80 7F 00 08 */ lwz r3, 8(r31) +/* 802B5924 002B2884 28 03 00 00 */ cmplwi r3, 0 +/* 802B5928 002B2888 41 82 00 18 */ beq lbl_802B5940 +/* 802B592C 002B288C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5930 002B2890 38 80 00 01 */ li r4, 1 +/* 802B5934 002B2894 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5938 002B2898 7D 89 03 A6 */ mtctr r12 +/* 802B593C 002B289C 4E 80 04 21 */ bctrl +lbl_802B5940: +/* 802B5940 002B28A0 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 802B5944 002B28A4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5948 002B28A8 41 82 00 18 */ beq lbl_802B5960 +/* 802B594C 002B28AC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5950 002B28B0 38 80 00 01 */ li r4, 1 +/* 802B5954 002B28B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5958 002B28B8 7D 89 03 A6 */ mtctr r12 +/* 802B595C 002B28BC 4E 80 04 21 */ bctrl +lbl_802B5960: +/* 802B5960 002B28C0 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802B5964 002B28C4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5968 002B28C8 41 82 00 18 */ beq lbl_802B5980 +/* 802B596C 002B28CC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5970 002B28D0 38 80 00 01 */ li r4, 1 +/* 802B5974 002B28D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5978 002B28D8 7D 89 03 A6 */ mtctr r12 +/* 802B597C 002B28DC 4E 80 04 21 */ bctrl +lbl_802B5980: +/* 802B5980 002B28E0 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 802B5984 002B28E4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5988 002B28E8 41 82 00 18 */ beq lbl_802B59A0 +/* 802B598C 002B28EC 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5990 002B28F0 38 80 00 01 */ li r4, 1 +/* 802B5994 002B28F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5998 002B28F8 7D 89 03 A6 */ mtctr r12 +/* 802B599C 002B28FC 4E 80 04 21 */ bctrl +lbl_802B59A0: +/* 802B59A0 002B2900 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 802B59A4 002B2904 28 03 00 00 */ cmplwi r3, 0 +/* 802B59A8 002B2908 41 82 00 18 */ beq lbl_802B59C0 +/* 802B59AC 002B290C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59B0 002B2910 38 80 00 01 */ li r4, 1 +/* 802B59B4 002B2914 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59B8 002B2918 7D 89 03 A6 */ mtctr r12 +/* 802B59BC 002B291C 4E 80 04 21 */ bctrl +lbl_802B59C0: +/* 802B59C0 002B2920 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 802B59C4 002B2924 28 03 00 00 */ cmplwi r3, 0 +/* 802B59C8 002B2928 41 82 00 18 */ beq lbl_802B59E0 +/* 802B59CC 002B292C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59D0 002B2930 38 80 00 01 */ li r4, 1 +/* 802B59D4 002B2934 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59D8 002B2938 7D 89 03 A6 */ mtctr r12 +/* 802B59DC 002B293C 4E 80 04 21 */ bctrl +lbl_802B59E0: +/* 802B59E0 002B2940 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802B59E4 002B2944 28 03 00 00 */ cmplwi r3, 0 +/* 802B59E8 002B2948 41 82 00 18 */ beq lbl_802B5A00 +/* 802B59EC 002B294C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B59F0 002B2950 38 80 00 01 */ li r4, 1 +/* 802B59F4 002B2954 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B59F8 002B2958 7D 89 03 A6 */ mtctr r12 +/* 802B59FC 002B295C 4E 80 04 21 */ bctrl +lbl_802B5A00: +/* 802B5A00 002B2960 80 7F 00 AC */ lwz r3, 0xac(r31) +/* 802B5A04 002B2964 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A08 002B2968 41 82 00 18 */ beq lbl_802B5A20 +/* 802B5A0C 002B296C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5A10 002B2970 38 80 00 01 */ li r4, 1 +/* 802B5A14 002B2974 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5A18 002B2978 7D 89 03 A6 */ mtctr r12 +/* 802B5A1C 002B297C 4E 80 04 21 */ bctrl +lbl_802B5A20: +/* 802B5A20 002B2980 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 802B5A24 002B2984 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A28 002B2988 41 82 00 18 */ beq lbl_802B5A40 +/* 802B5A2C 002B298C 81 83 00 00 */ lwz r12, 0(r3) +/* 802B5A30 002B2990 38 80 00 01 */ li r4, 1 +/* 802B5A34 002B2994 81 8C 00 08 */ lwz r12, 8(r12) +/* 802B5A38 002B2998 7D 89 03 A6 */ mtctr r12 +/* 802B5A3C 002B299C 4E 80 04 21 */ bctrl +lbl_802B5A40: +/* 802B5A40 002B29A0 34 1F 00 94 */ addic. r0, r31, 0x94 +/* 802B5A44 002B29A4 41 82 00 30 */ beq lbl_802B5A74 +/* 802B5A48 002B29A8 88 1F 00 A0 */ lbz r0, 0xa0(r31) +/* 802B5A4C 002B29AC 28 00 00 00 */ cmplwi r0, 0 +/* 802B5A50 002B29B0 41 82 00 1C */ beq lbl_802B5A6C +/* 802B5A54 002B29B4 34 7F 00 94 */ addic. r3, r31, 0x94 +/* 802B5A58 002B29B8 41 82 00 14 */ beq lbl_802B5A6C +/* 802B5A5C 002B29BC 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A60 002B29C0 41 82 00 0C */ beq lbl_802B5A6C +/* 802B5A64 002B29C4 38 80 00 00 */ li r4, 0 +/* 802B5A68 002B29C8 48 08 B3 D9 */ bl __dt__6CTokenFv +lbl_802B5A6C: +/* 802B5A6C 002B29CC 38 00 00 00 */ li r0, 0 +/* 802B5A70 002B29D0 98 1F 00 A0 */ stb r0, 0xa0(r31) +lbl_802B5A74: +/* 802B5A74 002B29D4 34 1F 00 84 */ addic. r0, r31, 0x84 +/* 802B5A78 002B29D8 41 82 00 30 */ beq lbl_802B5AA8 +/* 802B5A7C 002B29DC 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 802B5A80 002B29E0 28 00 00 00 */ cmplwi r0, 0 +/* 802B5A84 002B29E4 41 82 00 1C */ beq lbl_802B5AA0 +/* 802B5A88 002B29E8 34 7F 00 84 */ addic. r3, r31, 0x84 +/* 802B5A8C 002B29EC 41 82 00 14 */ beq lbl_802B5AA0 +/* 802B5A90 002B29F0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5A94 002B29F4 41 82 00 0C */ beq lbl_802B5AA0 +/* 802B5A98 002B29F8 38 80 00 00 */ li r4, 0 +/* 802B5A9C 002B29FC 48 08 B3 A5 */ bl __dt__6CTokenFv +lbl_802B5AA0: +/* 802B5AA0 002B2A00 38 00 00 00 */ li r0, 0 +/* 802B5AA4 002B2A04 98 1F 00 90 */ stb r0, 0x90(r31) +lbl_802B5AA8: +/* 802B5AA8 002B2A08 34 1F 00 74 */ addic. r0, r31, 0x74 +/* 802B5AAC 002B2A0C 41 82 00 30 */ beq lbl_802B5ADC +/* 802B5AB0 002B2A10 88 1F 00 80 */ lbz r0, 0x80(r31) +/* 802B5AB4 002B2A14 28 00 00 00 */ cmplwi r0, 0 +/* 802B5AB8 002B2A18 41 82 00 1C */ beq lbl_802B5AD4 +/* 802B5ABC 002B2A1C 34 7F 00 74 */ addic. r3, r31, 0x74 +/* 802B5AC0 002B2A20 41 82 00 14 */ beq lbl_802B5AD4 +/* 802B5AC4 002B2A24 28 03 00 00 */ cmplwi r3, 0 +/* 802B5AC8 002B2A28 41 82 00 0C */ beq lbl_802B5AD4 +/* 802B5ACC 002B2A2C 38 80 00 00 */ li r4, 0 +/* 802B5AD0 002B2A30 48 08 B3 71 */ bl __dt__6CTokenFv +lbl_802B5AD4: +/* 802B5AD4 002B2A34 38 00 00 00 */ li r0, 0 +/* 802B5AD8 002B2A38 98 1F 00 80 */ stb r0, 0x80(r31) +lbl_802B5ADC: +/* 802B5ADC 002B2A3C 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 802B5AE0 002B2A40 41 82 00 30 */ beq lbl_802B5B10 +/* 802B5AE4 002B2A44 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 802B5AE8 002B2A48 28 00 00 00 */ cmplwi r0, 0 +/* 802B5AEC 002B2A4C 41 82 00 1C */ beq lbl_802B5B08 +/* 802B5AF0 002B2A50 34 7F 00 64 */ addic. r3, r31, 0x64 +/* 802B5AF4 002B2A54 41 82 00 14 */ beq lbl_802B5B08 +/* 802B5AF8 002B2A58 28 03 00 00 */ cmplwi r3, 0 +/* 802B5AFC 002B2A5C 41 82 00 0C */ beq lbl_802B5B08 +/* 802B5B00 002B2A60 38 80 00 00 */ li r4, 0 +/* 802B5B04 002B2A64 48 08 B3 3D */ bl __dt__6CTokenFv +lbl_802B5B08: +/* 802B5B08 002B2A68 38 00 00 00 */ li r0, 0 +/* 802B5B0C 002B2A6C 98 1F 00 70 */ stb r0, 0x70(r31) +lbl_802B5B10: +/* 802B5B10 002B2A70 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 802B5B14 002B2A74 41 82 00 30 */ beq lbl_802B5B44 +/* 802B5B18 002B2A78 88 1F 00 60 */ lbz r0, 0x60(r31) +/* 802B5B1C 002B2A7C 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B20 002B2A80 41 82 00 1C */ beq lbl_802B5B3C +/* 802B5B24 002B2A84 34 7F 00 54 */ addic. r3, r31, 0x54 +/* 802B5B28 002B2A88 41 82 00 14 */ beq lbl_802B5B3C +/* 802B5B2C 002B2A8C 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B30 002B2A90 41 82 00 0C */ beq lbl_802B5B3C +/* 802B5B34 002B2A94 38 80 00 00 */ li r4, 0 +/* 802B5B38 002B2A98 48 08 B3 09 */ bl __dt__6CTokenFv +lbl_802B5B3C: +/* 802B5B3C 002B2A9C 38 00 00 00 */ li r0, 0 +/* 802B5B40 002B2AA0 98 1F 00 60 */ stb r0, 0x60(r31) +lbl_802B5B44: +/* 802B5B44 002B2AA4 34 1F 00 44 */ addic. r0, r31, 0x44 +/* 802B5B48 002B2AA8 41 82 00 30 */ beq lbl_802B5B78 +/* 802B5B4C 002B2AAC 88 1F 00 50 */ lbz r0, 0x50(r31) +/* 802B5B50 002B2AB0 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B54 002B2AB4 41 82 00 1C */ beq lbl_802B5B70 +/* 802B5B58 002B2AB8 34 7F 00 44 */ addic. r3, r31, 0x44 +/* 802B5B5C 002B2ABC 41 82 00 14 */ beq lbl_802B5B70 +/* 802B5B60 002B2AC0 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B64 002B2AC4 41 82 00 0C */ beq lbl_802B5B70 +/* 802B5B68 002B2AC8 38 80 00 00 */ li r4, 0 +/* 802B5B6C 002B2ACC 48 08 B2 D5 */ bl __dt__6CTokenFv +lbl_802B5B70: +/* 802B5B70 002B2AD0 38 00 00 00 */ li r0, 0 +/* 802B5B74 002B2AD4 98 1F 00 50 */ stb r0, 0x50(r31) +lbl_802B5B78: +/* 802B5B78 002B2AD8 34 1F 00 34 */ addic. r0, r31, 0x34 +/* 802B5B7C 002B2ADC 41 82 00 30 */ beq lbl_802B5BAC +/* 802B5B80 002B2AE0 88 1F 00 40 */ lbz r0, 0x40(r31) +/* 802B5B84 002B2AE4 28 00 00 00 */ cmplwi r0, 0 +/* 802B5B88 002B2AE8 41 82 00 1C */ beq lbl_802B5BA4 +/* 802B5B8C 002B2AEC 34 7F 00 34 */ addic. r3, r31, 0x34 +/* 802B5B90 002B2AF0 41 82 00 14 */ beq lbl_802B5BA4 +/* 802B5B94 002B2AF4 28 03 00 00 */ cmplwi r3, 0 +/* 802B5B98 002B2AF8 41 82 00 0C */ beq lbl_802B5BA4 +/* 802B5B9C 002B2AFC 38 80 00 00 */ li r4, 0 +/* 802B5BA0 002B2B00 48 08 B2 A1 */ bl __dt__6CTokenFv +lbl_802B5BA4: +/* 802B5BA4 002B2B04 38 00 00 00 */ li r0, 0 +/* 802B5BA8 002B2B08 98 1F 00 40 */ stb r0, 0x40(r31) +lbl_802B5BAC: +/* 802B5BAC 002B2B0C 7F C0 07 35 */ extsh. r0, r30 +/* 802B5BB0 002B2B10 40 81 00 0C */ ble lbl_802B5BBC +/* 802B5BB4 002B2B14 7F E3 FB 78 */ mr r3, r31 +/* 802B5BB8 002B2B18 48 05 FD 79 */ bl Free__7CMemoryFPCv +lbl_802B5BBC: +/* 802B5BBC 002B2B1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5BC0 002B2B20 7F E3 FB 78 */ mr r3, r31 +/* 802B5BC4 002B2B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5BC8 002B2B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 802B5BCC 002B2B2C 7C 08 03 A6 */ mtlr r0 +/* 802B5BD0 002B2B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5BD4 002B2B34 4E 80 00 20 */ blr + +.global __dt__17CModVectorElement +__dt__17CModVectorElement: +/* 802B5BD8 002B2B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B5BDC 002B2B3C 7C 08 02 A6 */ mflr r0 +/* 802B5BE0 002B2B40 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B5BE4 002B2B44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B5BE8 002B2B48 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B5BEC 002B2B4C 41 82 00 34 */ beq lbl_802B5C20 +/* 802B5BF0 002B2B50 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 802B5BF4 002B2B54 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 802B5BF8 002B2B58 90 1F 00 00 */ stw r0, 0(r31) +/* 802B5BFC 002B2B5C 41 82 00 10 */ beq lbl_802B5C0C +/* 802B5C00 002B2B60 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 802B5C04 002B2B64 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 802B5C08 002B2B68 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B5C0C: +/* 802B5C0C 002B2B6C 7C 80 07 35 */ extsh. r0, r4 +/* 802B5C10 002B2B70 40 81 00 10 */ ble lbl_802B5C20 +/* 802B5C14 002B2B74 7F E3 FB 78 */ mr r3, r31 +/* 802B5C18 002B2B78 38 80 00 04 */ li r4, 4 +/* 802B5C1C 002B2B7C 48 0B 6E 49 */ bl sub_8036ca64 +lbl_802B5C20: +/* 802B5C20 002B2B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B5C24 002B2B84 7F E3 FB 78 */ mr r3, r31 +/* 802B5C28 002B2B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B5C2C 002B2B8C 7C 08 03 A6 */ mtlr r0 +/* 802B5C30 002B2B90 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B5C34 002B2B94 4E 80 00 20 */ blr + +.global __ct__18CWeaponDescriptionFv +__ct__18CWeaponDescriptionFv: +/* 802B5C38 002B2B98 38 A0 00 00 */ li r5, 0 +/* 802B5C3C 002B2B9C 38 80 00 01 */ li r4, 1 +/* 802B5C40 002B2BA0 90 A3 00 00 */ stw r5, 0(r3) +/* 802B5C44 002B2BA4 38 00 FF FF */ li r0, -1 +/* 802B5C48 002B2BA8 90 A3 00 04 */ stw r5, 4(r3) +/* 802B5C4C 002B2BAC 90 A3 00 08 */ stw r5, 8(r3) +/* 802B5C50 002B2BB0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802B5C54 002B2BB4 98 A3 00 10 */ stb r5, 0x10(r3) +/* 802B5C58 002B2BB8 90 A3 00 14 */ stw r5, 0x14(r3) +/* 802B5C5C 002B2BBC 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802B5C60 002B2BC0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802B5C64 002B2BC4 90 A3 00 20 */ stw r5, 0x20(r3) +/* 802B5C68 002B2BC8 90 A3 00 24 */ stw r5, 0x24(r3) +/* 802B5C6C 002B2BCC 98 A3 00 28 */ stb r5, 0x28(r3) +/* 802B5C70 002B2BD0 98 A3 00 2A */ stb r5, 0x2a(r3) +/* 802B5C74 002B2BD4 98 A3 00 2B */ stb r5, 0x2b(r3) +/* 802B5C78 002B2BD8 98 A3 00 2C */ stb r5, 0x2c(r3) +/* 802B5C7C 002B2BDC 98 A3 00 2D */ stb r5, 0x2d(r3) +/* 802B5C80 002B2BE0 98 A3 00 2E */ stb r5, 0x2e(r3) +/* 802B5C84 002B2BE4 90 A3 00 30 */ stw r5, 0x30(r3) +/* 802B5C88 002B2BE8 98 A3 00 40 */ stb r5, 0x40(r3) +/* 802B5C8C 002B2BEC 98 A3 00 50 */ stb r5, 0x50(r3) +/* 802B5C90 002B2BF0 98 A3 00 60 */ stb r5, 0x60(r3) +/* 802B5C94 002B2BF4 98 A3 00 70 */ stb r5, 0x70(r3) +/* 802B5C98 002B2BF8 98 A3 00 80 */ stb r5, 0x80(r3) +/* 802B5C9C 002B2BFC 98 A3 00 90 */ stb r5, 0x90(r3) +/* 802B5CA0 002B2C00 98 A3 00 A0 */ stb r5, 0xa0(r3) +/* 802B5CA4 002B2C04 98 83 00 A4 */ stb r4, 0xa4(r3) +/* 802B5CA8 002B2C08 98 83 00 A5 */ stb r4, 0xa5(r3) +/* 802B5CAC 002B2C0C 98 83 00 A6 */ stb r4, 0xa6(r3) +/* 802B5CB0 002B2C10 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 802B5CB4 002B2C14 90 A3 00 AC */ stw r5, 0xac(r3) +/* 802B5CB8 002B2C18 90 A3 00 B0 */ stw r5, 0xb0(r3) +/* 802B5CBC 002B2C1C 4E 80 00 20 */ blr + +.global sub_802b5cc0 +sub_802b5cc0: +/* 802B5CC0 002B2C20 38 00 00 00 */ li r0, 0 +/* 802B5CC4 002B2C24 90 03 00 00 */ stw r0, 0(r3) +/* 802B5CC8 002B2C28 90 03 00 04 */ stw r0, 4(r3) +/* 802B5CCC 002B2C2C 90 03 00 08 */ stw r0, 8(r3) +/* 802B5CD0 002B2C30 90 03 00 0C */ stw r0, 0xc(r3) +/* 802B5CD4 002B2C34 90 03 00 10 */ stw r0, 0x10(r3) +/* 802B5CD8 002B2C38 90 03 00 14 */ stw r0, 0x14(r3) +/* 802B5CDC 002B2C3C 98 03 00 18 */ stb r0, 0x18(r3) +/* 802B5CE0 002B2C40 4E 80 00 20 */ blr diff --git a/asm/Weapons/IWeaponRenderer.s b/asm/Weapons/IWeaponRenderer.s new file mode 100644 index 00000000..32a24872 --- /dev/null +++ b/asm/Weapons/IWeaponRenderer.s @@ -0,0 +1,68 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __sinit_IWeaponRenderer_cpp +__sinit_IWeaponRenderer_cpp: +/* 802B36A8 002B0608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B36AC 002B060C 7C 08 02 A6 */ mflr r0 +/* 802B36B0 002B0610 3C 80 80 3F */ lis r4, lbl_803EC538@ha +/* 802B36B4 002B0614 3C 60 80 3F */ lis r3, lbl_803EC528@ha +/* 802B36B8 002B0618 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B36BC 002B061C 38 04 C5 38 */ addi r0, r4, lbl_803EC538@l +/* 802B36C0 002B0620 3C 80 80 2B */ lis r4, __dt__22CDefaultWeaponRendererFv@ha +/* 802B36C4 002B0624 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) +/* 802B36C8 002B0628 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l +/* 802B36CC 002B062C 3C 60 80 47 */ lis r3, lbl_8046E1F0@ha +/* 802B36D0 002B0630 38 84 37 24 */ addi r4, r4, __dt__22CDefaultWeaponRendererFv@l +/* 802B36D4 002B0634 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) +/* 802B36D8 002B0638 38 A3 E1 F0 */ addi r5, r3, lbl_8046E1F0@l +/* 802B36DC 002B063C 38 6D A5 E0 */ addi r3, r13, lbl_805A91A0@sda21 +/* 802B36E0 002B0640 48 0D 5F AD */ bl __register_global_object +/* 802B36E4 002B0644 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B36E8 002B0648 7C 08 03 A6 */ mtlr r0 +/* 802B36EC 002B064C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B36F0 002B0650 4E 80 00 20 */ blr + +.global AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen +AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen: +/* 802B36F4 002B0654 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B36F8 002B0658 7C 08 02 A6 */ mflr r0 +/* 802B36FC 002B065C 7C 83 23 78 */ mr r3, r4 +/* 802B3700 002B0660 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3704 002B0664 81 84 00 00 */ lwz r12, 0(r4) +/* 802B3708 002B0668 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802B370C 002B066C 7D 89 03 A6 */ mtctr r12 +/* 802B3710 002B0670 4E 80 04 21 */ bctrl +/* 802B3714 002B0674 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B3718 002B0678 7C 08 03 A6 */ mtlr r0 +/* 802B371C 002B067C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B3720 002B0680 4E 80 00 20 */ blr + +.global __dt__22CDefaultWeaponRendererFv +__dt__22CDefaultWeaponRendererFv: +/* 802B3724 002B0684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802B3728 002B0688 7C 08 02 A6 */ mflr r0 +/* 802B372C 002B068C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802B3730 002B0690 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802B3734 002B0694 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802B3738 002B0698 41 82 00 30 */ beq lbl_802B3768 +/* 802B373C 002B069C 3C 60 80 3F */ lis r3, lbl_803EC528@ha +/* 802B3740 002B06A0 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l +/* 802B3744 002B06A4 90 1F 00 00 */ stw r0, 0(r31) +/* 802B3748 002B06A8 41 82 00 10 */ beq lbl_802B3758 +/* 802B374C 002B06AC 3C 60 80 3F */ lis r3, lbl_803EC538@ha +/* 802B3750 002B06B0 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l +/* 802B3754 002B06B4 90 1F 00 00 */ stw r0, 0(r31) +lbl_802B3758: +/* 802B3758 002B06B8 7C 80 07 35 */ extsh. r0, r4 +/* 802B375C 002B06BC 40 81 00 0C */ ble lbl_802B3768 +/* 802B3760 002B06C0 7F E3 FB 78 */ mr r3, r31 +/* 802B3764 002B06C4 48 06 21 CD */ bl Free__7CMemoryFPCv +lbl_802B3768: +/* 802B3768 002B06C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802B376C 002B06CC 7F E3 FB 78 */ mr r3, r31 +/* 802B3770 002B06D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802B3774 002B06D4 7C 08 03 A6 */ mtlr r0 +/* 802B3778 002B06D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802B377C 002B06DC 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaBspTree.s b/asm/WorldFormat/CAreaBspTree.s new file mode 100644 index 00000000..319d040c --- /dev/null +++ b/asm/WorldFormat/CAreaBspTree.s @@ -0,0 +1,26 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f +__ct__12CAreaBspTreeFR12CInputStreamRC12CTransform4f: +/* 802A2920 0029F880 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A2924 0029F884 7C 08 02 A6 */ mflr r0 +/* 802A2928 0029F888 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A292C 0029F88C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A2930 0029F890 7C 9F 23 78 */ mr r31, r4 +/* 802A2934 0029F894 93 C1 00 08 */ stw r30, 8(r1) +/* 802A2938 0029F898 7C 7E 1B 78 */ mr r30, r3 +/* 802A293C 0029F89C 7F E3 FB 78 */ mr r3, r31 +/* 802A2940 0029F8A0 48 09 C3 45 */ bl ReadLong__12CInputStreamFv +/* 802A2944 0029F8A4 7F E3 FB 78 */ mr r3, r31 +/* 802A2948 0029F8A8 48 09 C3 69 */ bl ReadShort__12CInputStreamFv +/* 802A294C 0029F8AC 7F E3 FB 78 */ mr r3, r31 +/* 802A2950 0029F8B0 48 09 C3 61 */ bl ReadShort__12CInputStreamFv +/* 802A2954 0029F8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A2958 0029F8B8 7F C3 F3 78 */ mr r3, r30 +/* 802A295C 0029F8BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A2960 0029F8C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A2964 0029F8C4 7C 08 03 A6 */ mtlr r0 +/* 802A2968 0029F8C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A296C 0029F8CC 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaOctTree.s b/asm/WorldFormat/CAreaOctTree.s new file mode 100644 index 00000000..5e114753 --- /dev/null +++ b/asm/WorldFormat/CAreaOctTree.s @@ -0,0 +1,501 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTriangleEdgeIndices__12CAreaOctTreeCFUs +GetTriangleEdgeIndices__12CAreaOctTreeCFUs: +/* 802A2970 0029F8D0 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A2974 0029F8D4 80 63 00 44 */ lwz r3, 0x44(r3) +/* 802A2978 0029F8D8 1C 00 00 06 */ mulli r0, r0, 6 +/* 802A297C 0029F8DC 7C 63 02 14 */ add r3, r3, r0 +/* 802A2980 0029F8E0 4E 80 00 20 */ blr + +.global GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs: +/* 802A2984 0029F8E4 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A2988 0029F8E8 81 03 00 44 */ lwz r8, 0x44(r3) +/* 802A298C 0029F8EC 1C 00 00 03 */ mulli r0, r0, 3 +/* 802A2990 0029F8F0 81 23 00 3C */ lwz r9, 0x3c(r3) +/* 802A2994 0029F8F4 38 C0 00 00 */ li r6, 0 +/* 802A2998 0029F8F8 54 00 08 3C */ slwi r0, r0, 1 +/* 802A299C 0029F8FC 7C E8 02 14 */ add r7, r8, r0 +/* 802A29A0 0029F900 7D 08 02 2E */ lhzx r8, r8, r0 +/* 802A29A4 0029F904 A0 07 00 02 */ lhz r0, 2(r7) +/* 802A29A8 0029F908 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d +/* 802A29AC 0029F90C 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d +/* 802A29B0 0029F910 7D 09 3A 14 */ add r8, r9, r7 +/* 802A29B4 0029F914 7D 29 02 14 */ add r9, r9, r0 +/* 802A29B8 0029F918 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A29BC 0029F91C A0 E9 00 00 */ lhz r7, 0(r9) +/* 802A29C0 0029F920 7C 07 00 40 */ cmplw r7, r0 +/* 802A29C4 0029F924 41 82 00 14 */ beq lbl_802A29D8 +/* 802A29C8 0029F928 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A29CC 0029F92C 7C 07 00 40 */ cmplw r7, r0 +/* 802A29D0 0029F930 41 82 00 08 */ beq lbl_802A29D8 +/* 802A29D4 0029F934 38 C0 00 01 */ li r6, 1 +lbl_802A29D8: +/* 802A29D8 0029F938 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802A29DC 0029F93C 41 82 00 08 */ beq lbl_802A29E4 +/* 802A29E0 0029F940 48 00 00 08 */ b lbl_802A29E8 +lbl_802A29E4: +/* 802A29E4 0029F944 A0 E9 00 02 */ lhz r7, 2(r9) +lbl_802A29E8: +/* 802A29E8 0029F948 B0 E5 00 04 */ sth r7, 4(r5) +/* 802A29EC 0029F94C 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A29F0 0029F950 80 83 00 34 */ lwz r4, 0x34(r3) +/* 802A29F4 0029F954 80 63 00 28 */ lwz r3, 0x28(r3) +/* 802A29F8 0029F958 7C 04 00 AE */ lbzx r0, r4, r0 +/* 802A29FC 0029F95C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2A00 0029F960 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802A2A04 0029F964 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 +/* 802A2A08 0029F968 41 82 00 18 */ beq lbl_802A2A20 +/* 802A2A0C 0029F96C A0 08 00 02 */ lhz r0, 2(r8) +/* 802A2A10 0029F970 B0 05 00 00 */ sth r0, 0(r5) +/* 802A2A14 0029F974 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A2A18 0029F978 B0 05 00 02 */ sth r0, 2(r5) +/* 802A2A1C 0029F97C 4E 80 00 20 */ blr +lbl_802A2A20: +/* 802A2A20 0029F980 A0 08 00 00 */ lhz r0, 0(r8) +/* 802A2A24 0029F984 B0 05 00 00 */ sth r0, 0(r5) +/* 802A2A28 0029F988 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A2A2C 0029F98C B0 05 00 02 */ sth r0, 2(r5) +/* 802A2A30 0029F990 4E 80 00 20 */ blr + +.global GetMasterListTriangle__12CAreaOctTreeCFUs +GetMasterListTriangle__12CAreaOctTreeCFUs: +/* 802A2A34 0029F994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A2A38 0029F998 7C 08 02 A6 */ mflr r0 +/* 802A2A3C 0029F99C 38 C0 00 00 */ li r6, 0 +/* 802A2A40 0029F9A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A2A44 0029F9A4 54 A0 04 3E */ clrlwi r0, r5, 0x10 +/* 802A2A48 0029F9A8 1C 00 00 03 */ mulli r0, r0, 3 +/* 802A2A4C 0029F9AC 81 04 00 44 */ lwz r8, 0x44(r4) +/* 802A2A50 0029F9B0 81 24 00 3C */ lwz r9, 0x3c(r4) +/* 802A2A54 0029F9B4 54 00 08 3C */ slwi r0, r0, 1 +/* 802A2A58 0029F9B8 7C E8 02 14 */ add r7, r8, r0 +/* 802A2A5C 0029F9BC 7D 08 02 2E */ lhzx r8, r8, r0 +/* 802A2A60 0029F9C0 A0 07 00 02 */ lhz r0, 2(r7) +/* 802A2A64 0029F9C4 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d +/* 802A2A68 0029F9C8 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d +/* 802A2A6C 0029F9CC 7D 49 3A 14 */ add r10, r9, r7 +/* 802A2A70 0029F9D0 7C E9 02 14 */ add r7, r9, r0 +/* 802A2A74 0029F9D4 A1 2A 00 00 */ lhz r9, 0(r10) +/* 802A2A78 0029F9D8 A1 07 00 00 */ lhz r8, 0(r7) +/* 802A2A7C 0029F9DC 7C 08 48 40 */ cmplw r8, r9 +/* 802A2A80 0029F9E0 41 82 00 14 */ beq lbl_802A2A94 +/* 802A2A84 0029F9E4 A0 0A 00 02 */ lhz r0, 2(r10) +/* 802A2A88 0029F9E8 7C 08 00 40 */ cmplw r8, r0 +/* 802A2A8C 0029F9EC 41 82 00 08 */ beq lbl_802A2A94 +/* 802A2A90 0029F9F0 38 C0 00 01 */ li r6, 1 +lbl_802A2A94: +/* 802A2A94 0029F9F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 802A2A98 0029F9F8 41 82 00 08 */ beq lbl_802A2AA0 +/* 802A2A9C 0029F9FC 48 00 00 08 */ b lbl_802A2AA4 +lbl_802A2AA0: +/* 802A2AA0 0029FA00 A1 07 00 02 */ lhz r8, 2(r7) +lbl_802A2AA4: +/* 802A2AA4 0029FA04 80 C4 00 34 */ lwz r6, 0x34(r4) +/* 802A2AA8 0029FA08 54 A0 04 3E */ clrlwi r0, r5, 0x10 +/* 802A2AAC 0029FA0C 80 A4 00 28 */ lwz r5, 0x28(r4) +/* 802A2AB0 0029FA10 7C 06 00 AE */ lbzx r0, r6, r0 +/* 802A2AB4 0029FA14 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2AB8 0029FA18 7C E5 00 2E */ lwzx r7, r5, r0 +/* 802A2ABC 0029FA1C 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 +/* 802A2AC0 0029FA20 41 82 00 30 */ beq lbl_802A2AF0 +/* 802A2AC4 0029FA24 A0 CA 00 02 */ lhz r6, 2(r10) +/* 802A2AC8 0029FA28 55 00 04 3E */ clrlwi r0, r8, 0x10 +/* 802A2ACC 0029FA2C 81 04 00 4C */ lwz r8, 0x4c(r4) +/* 802A2AD0 0029FA30 1C A9 00 0C */ mulli r5, r9, 0xc +/* 802A2AD4 0029FA34 1C 86 00 0C */ mulli r4, r6, 0xc +/* 802A2AD8 0029FA38 7C A8 2A 14 */ add r5, r8, r5 +/* 802A2ADC 0029FA3C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A2AE0 0029FA40 7C 88 22 14 */ add r4, r8, r4 +/* 802A2AE4 0029FA44 7C C8 02 14 */ add r6, r8, r0 +/* 802A2AE8 0029FA48 4B FF FC 41 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A2AEC 0029FA4C 48 00 00 2C */ b lbl_802A2B18 +lbl_802A2AF0: +/* 802A2AF0 0029FA50 A0 AA 00 02 */ lhz r5, 2(r10) +/* 802A2AF4 0029FA54 55 00 04 3E */ clrlwi r0, r8, 0x10 +/* 802A2AF8 0029FA58 1C C9 00 0C */ mulli r6, r9, 0xc +/* 802A2AFC 0029FA5C 81 04 00 4C */ lwz r8, 0x4c(r4) +/* 802A2B00 0029FA60 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A2B04 0029FA64 7C 88 32 14 */ add r4, r8, r6 +/* 802A2B08 0029FA68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A2B0C 0029FA6C 7C A8 2A 14 */ add r5, r8, r5 +/* 802A2B10 0029FA70 7C C8 02 14 */ add r6, r8, r0 +/* 802A2B14 0029FA74 4B FF FC 15 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A2B18: +/* 802A2B18 0029FA78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A2B1C 0029FA7C 7C 08 03 A6 */ mtlr r0 +/* 802A2B20 0029FA80 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A2B24 0029FA84 4E 80 00 20 */ blr + +.global MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb +MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb: +/* 802A2B28 0029FA88 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A2B2C 0029FA8C 7C 08 02 A6 */ mflr r0 +/* 802A2B30 0029FA90 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A2B34 0029FA94 7C 80 23 78 */ mr r0, r4 +/* 802A2B38 0029FA98 BE 01 00 70 */ stmw r16, 0x70(r1) +/* 802A2B3C 0029FA9C 7C 7D 1B 78 */ mr r29, r3 +/* 802A2B40 0029FAA0 7C BE 2B 78 */ mr r30, r5 +/* 802A2B44 0029FAA4 7C DF 33 78 */ mr r31, r6 +/* 802A2B48 0029FAA8 7F A4 EB 78 */ mr r4, r29 +/* 802A2B4C 0029FAAC 7C 05 03 78 */ mr r5, r0 +/* 802A2B50 0029FAB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B54 0029FAB4 38 C0 00 01 */ li r6, 1 +/* 802A2B58 0029FAB8 48 09 C6 B5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 802A2B5C 0029FABC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B60 0029FAC0 48 09 C1 25 */ bl ReadLong__12CInputStreamFv +/* 802A2B64 0029FAC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B68 0029FAC8 48 09 C1 1D */ bl ReadLong__12CInputStreamFv +/* 802A2B6C 0029FACC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A2B70 0029FAD0 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A2B74 0029FAD4 48 09 59 C9 */ bl __ct__6CAABoxFR12CInputStream +/* 802A2B78 0029FAD8 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B7C 0029FADC 48 09 C1 09 */ bl ReadLong__12CInputStreamFv +/* 802A2B80 0029FAE0 7C 60 1B 78 */ mr r0, r3 +/* 802A2B84 0029FAE4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2B88 0029FAE8 7C 1C 03 78 */ mr r28, r0 +/* 802A2B8C 0029FAEC 48 09 C0 F9 */ bl ReadLong__12CInputStreamFv +/* 802A2B90 0029FAF0 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802A2B94 0029FAF4 3C C0 AA AB */ lis r6, 0xAAAAAAAB@ha +/* 802A2B98 0029FAF8 3C 80 80 3D */ lis r4, lbl_803D6020@ha +/* 802A2B9C 0029FAFC 38 A0 00 00 */ li r5, 0 +/* 802A2BA0 0029FB00 7F 7D 02 14 */ add r27, r29, r0 +/* 802A2BA4 0029FB04 38 C6 AA AB */ addi r6, r6, 0xAAAAAAAB@l +/* 802A2BA8 0029FB08 7C 7B 1A 14 */ add r3, r27, r3 +/* 802A2BAC 0029FB0C 38 84 60 20 */ addi r4, r4, lbl_803D6020@l +/* 802A2BB0 0029FB10 83 43 00 00 */ lwz r26, 0(r3) +/* 802A2BB4 0029FB14 3B 23 00 04 */ addi r25, r3, 4 +/* 802A2BB8 0029FB18 38 60 00 50 */ li r3, 0x50 +/* 802A2BBC 0029FB1C 57 40 10 3A */ slwi r0, r26, 2 +/* 802A2BC0 0029FB20 7C F9 02 14 */ add r7, r25, r0 +/* 802A2BC4 0029FB24 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BC8 0029FB28 3B 07 00 04 */ addi r24, r7, 4 +/* 802A2BCC 0029FB2C 7C F8 02 14 */ add r7, r24, r0 +/* 802A2BD0 0029FB30 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BD4 0029FB34 3A E7 00 04 */ addi r23, r7, 4 +/* 802A2BD8 0029FB38 7C F7 02 14 */ add r7, r23, r0 +/* 802A2BDC 0029FB3C 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BE0 0029FB40 3A C7 00 04 */ addi r22, r7, 4 +/* 802A2BE4 0029FB44 7C F6 02 14 */ add r7, r22, r0 +/* 802A2BE8 0029FB48 82 A7 00 00 */ lwz r21, 0(r7) +/* 802A2BEC 0029FB4C 3A 87 00 04 */ addi r20, r7, 4 +/* 802A2BF0 0029FB50 56 A0 10 3A */ slwi r0, r21, 2 +/* 802A2BF4 0029FB54 7C F4 02 14 */ add r7, r20, r0 +/* 802A2BF8 0029FB58 80 07 00 00 */ lwz r0, 0(r7) +/* 802A2BFC 0029FB5C 3A 47 00 04 */ addi r18, r7, 4 +/* 802A2C00 0029FB60 7C 06 00 16 */ mulhwu r0, r6, r0 +/* 802A2C04 0029FB64 54 13 F8 7E */ srwi r19, r0, 1 +/* 802A2C08 0029FB68 1C 13 00 06 */ mulli r0, r19, 6 +/* 802A2C0C 0029FB6C 7C D2 02 14 */ add r6, r18, r0 +/* 802A2C10 0029FB70 82 26 00 00 */ lwz r17, 0(r6) +/* 802A2C14 0029FB74 3A 06 00 04 */ addi r16, r6, 4 +/* 802A2C18 0029FB78 48 07 2C 55 */ bl __nw__FUlPCcPCc +/* 802A2C1C 0029FB7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A2C20 0029FB80 41 82 00 48 */ beq lbl_802A2C68 +/* 802A2C24 0029FB84 92 E1 00 08 */ stw r23, 8(r1) +/* 802A2C28 0029FB88 7F 85 E3 78 */ mr r5, r28 +/* 802A2C2C 0029FB8C 7F A6 EB 78 */ mr r6, r29 +/* 802A2C30 0029FB90 7F 67 DB 78 */ mr r7, r27 +/* 802A2C34 0029FB94 92 C1 00 0C */ stw r22, 0xc(r1) +/* 802A2C38 0029FB98 7F 48 D3 78 */ mr r8, r26 +/* 802A2C3C 0029FB9C 7F 29 CB 78 */ mr r9, r25 +/* 802A2C40 0029FBA0 7F 0A C3 78 */ mr r10, r24 +/* 802A2C44 0029FBA4 92 A1 00 10 */ stw r21, 0x10(r1) +/* 802A2C48 0029FBA8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802A2C4C 0029FBAC 92 81 00 14 */ stw r20, 0x14(r1) +/* 802A2C50 0029FBB0 92 61 00 18 */ stw r19, 0x18(r1) +/* 802A2C54 0029FBB4 92 41 00 1C */ stw r18, 0x1c(r1) +/* 802A2C58 0029FBB8 92 21 00 20 */ stw r17, 0x20(r1) +/* 802A2C5C 0029FBBC 92 01 00 24 */ stw r16, 0x24(r1) +/* 802A2C60 0029FBC0 48 00 00 41 */ bl __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f +/* 802A2C64 0029FBC4 7C 60 1B 78 */ mr r0, r3 +lbl_802A2C68: +/* 802A2C68 0029FBC8 90 1E 00 00 */ stw r0, 0(r30) +/* 802A2C6C 0029FBCC 38 00 00 01 */ li r0, 1 +/* 802A2C70 0029FBD0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 802A2C74 0029FBD4 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A2C78 0029FBD8 98 1F 00 00 */ stb r0, 0(r31) +/* 802A2C7C 0029FBDC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 802A2C80 0029FBE0 38 80 00 00 */ li r4, 0 +/* 802A2C84 0029FBE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A2C88 0029FBE8 48 09 C4 25 */ bl __dt__12CInputStreamFv +/* 802A2C8C 0029FBEC BA 01 00 70 */ lmw r16, 0x70(r1) +/* 802A2C90 0029FBF0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A2C94 0029FBF4 7C 08 03 A6 */ mtlr r0 +/* 802A2C98 0029FBF8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A2C9C 0029FBFC 4E 80 00 20 */ blr + +.global __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f +__ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f: +/* 802A2CA0 0029FC00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A2CA4 0029FC04 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802A2CA8 0029FC08 83 61 00 28 */ lwz r27, 0x28(r1) +/* 802A2CAC 0029FC0C 83 81 00 2C */ lwz r28, 0x2c(r1) +/* 802A2CB0 0029FC10 83 A1 00 30 */ lwz r29, 0x30(r1) +/* 802A2CB4 0029FC14 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 802A2CB8 0029FC18 83 E1 00 38 */ lwz r31, 0x38(r1) +/* 802A2CBC 0029FC1C 81 81 00 3C */ lwz r12, 0x3c(r1) +/* 802A2CC0 0029FC20 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A2CC4 0029FC24 81 61 00 40 */ lwz r11, 0x40(r1) +/* 802A2CC8 0029FC28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A2CCC 0029FC2C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2CD0 0029FC30 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A2CD4 0029FC34 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A2CD8 0029FC38 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A2CDC 0029FC3C D0 03 00 08 */ stfs f0, 8(r3) +/* 802A2CE0 0029FC40 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A2CE4 0029FC44 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A2CE8 0029FC48 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A2CEC 0029FC4C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A2CF0 0029FC50 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A2CF4 0029FC54 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2CF8 0029FC58 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A2CFC 0029FC5C 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 802A2D00 0029FC60 90 E3 00 20 */ stw r7, 0x20(r3) +/* 802A2D04 0029FC64 91 03 00 24 */ stw r8, 0x24(r3) +/* 802A2D08 0029FC68 91 23 00 28 */ stw r9, 0x28(r3) +/* 802A2D0C 0029FC6C 91 43 00 2C */ stw r10, 0x2c(r3) +/* 802A2D10 0029FC70 93 63 00 30 */ stw r27, 0x30(r3) +/* 802A2D14 0029FC74 93 83 00 34 */ stw r28, 0x34(r3) +/* 802A2D18 0029FC78 93 A3 00 38 */ stw r29, 0x38(r3) +/* 802A2D1C 0029FC7C 93 C3 00 3C */ stw r30, 0x3c(r3) +/* 802A2D20 0029FC80 93 E3 00 40 */ stw r31, 0x40(r3) +/* 802A2D24 0029FC84 91 83 00 44 */ stw r12, 0x44(r3) +/* 802A2D28 0029FC88 91 63 00 48 */ stw r11, 0x48(r3) +/* 802A2D2C 0029FC8C 90 03 00 4C */ stw r0, 0x4c(r3) +/* 802A2D30 0029FC90 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802A2D34 0029FC94 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2D38 0029FC98 4E 80 00 20 */ blr + +.global GetTriangleArray__Q212CAreaOctTree4NodeCFv +GetTriangleArray__Q212CAreaOctTree4NodeCFv: +/* 802A2D3C 0029FC9C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A2D40 0029FCA0 2C 00 00 02 */ cmpwi r0, 2 +/* 802A2D44 0029FCA4 41 82 00 10 */ beq lbl_802A2D54 +/* 802A2D48 0029FCA8 38 02 C1 40 */ addi r0, r2, lbl_805ADE60@sda21 +/* 802A2D4C 0029FCAC 90 03 00 00 */ stw r0, 0(r3) +/* 802A2D50 0029FCB0 4E 80 00 20 */ blr +lbl_802A2D54: +/* 802A2D54 0029FCB4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802A2D58 0029FCB8 90 03 00 00 */ stw r0, 0(r3) +/* 802A2D5C 0029FCBC 4E 80 00 20 */ blr + +.global GetChild__Q212CAreaOctTree4NodeCFi +GetChild__Q212CAreaOctTree4NodeCFi: +/* 802A2D60 0029FCC0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2D64 0029FCC4 7C 08 02 A6 */ mflr r0 +/* 802A2D68 0029FCC8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A2D6C 0029FCCC 54 A0 10 3A */ slwi r0, r5, 2 +/* 802A2D70 0029FCD0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802A2D74 0029FCD4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802A2D78 0029FCD8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802A2D7C 0029FCDC 7C 9D 23 78 */ mr r29, r4 +/* 802A2D80 0029FCE0 93 81 00 30 */ stw r28, 0x30(r1) +/* 802A2D84 0029FCE4 7C 7C 1B 78 */ mr r28, r3 +/* 802A2D88 0029FCE8 80 E4 00 18 */ lwz r7, 0x18(r4) +/* 802A2D8C 0029FCEC 54 A4 08 3C */ slwi r4, r5, 1 +/* 802A2D90 0029FCF0 A0 C7 00 00 */ lhz r6, 0(r7) +/* 802A2D94 0029FCF4 7C 67 02 14 */ add r3, r7, r0 +/* 802A2D98 0029FCF8 80 63 00 04 */ lwz r3, 4(r3) +/* 802A2D9C 0029FCFC 7C C0 26 30 */ sraw r0, r6, r4 +/* 802A2DA0 0029FD00 54 1F 07 BE */ clrlwi r31, r0, 0x1e +/* 802A2DA4 0029FD04 3B C3 00 24 */ addi r30, r3, 0x24 +/* 802A2DA8 0029FD08 2C 1F 00 02 */ cmpwi r31, 2 +/* 802A2DAC 0029FD0C 7F C7 F2 14 */ add r30, r7, r30 +/* 802A2DB0 0029FD10 40 82 00 48 */ bne lbl_802A2DF8 +/* 802A2DB4 0029FD14 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802A2DB8 0029FD18 C0 5E 00 08 */ lfs f2, 8(r30) +/* 802A2DBC 0029FD1C C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 802A2DC0 0029FD20 C0 9E 00 10 */ lfs f4, 0x10(r30) +/* 802A2DC4 0029FD24 C0 BE 00 14 */ lfs f5, 0x14(r30) +/* 802A2DC8 0029FD28 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802A2DCC 0029FD2C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802A2DD0 0029FD30 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A2DD4 0029FD34 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802A2DD8 0029FD38 D0 5C 00 08 */ stfs f2, 8(r28) +/* 802A2DDC 0029FD3C D0 7C 00 0C */ stfs f3, 0xc(r28) +/* 802A2DE0 0029FD40 D0 9C 00 10 */ stfs f4, 0x10(r28) +/* 802A2DE4 0029FD44 D0 BC 00 14 */ stfs f5, 0x14(r28) +/* 802A2DE8 0029FD48 93 DC 00 18 */ stw r30, 0x18(r28) +/* 802A2DEC 0029FD4C 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 802A2DF0 0029FD50 93 FC 00 20 */ stw r31, 0x20(r28) +/* 802A2DF4 0029FD54 48 00 00 9C */ b lbl_802A2E90 +lbl_802A2DF8: +/* 802A2DF8 0029FD58 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802A2DFC 0029FD5C 7C A4 2B 78 */ mr r4, r5 +/* 802A2E00 0029FD60 C0 5D 00 10 */ lfs f2, 0x10(r29) +/* 802A2E04 0029FD64 38 FD 00 0C */ addi r7, r29, 0xc +/* 802A2E08 0029FD68 C0 3D 00 08 */ lfs f1, 8(r29) +/* 802A2E0C 0029FD6C 7F A5 EB 78 */ mr r5, r29 +/* 802A2E10 0029FD70 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 802A2E14 0029FD74 EC 63 10 2A */ fadds f3, f3, f2 +/* 802A2E18 0029FD78 C0 82 C1 44 */ lfs f4, lbl_805ADE64@sda21(r2) +/* 802A2E1C 0029FD7C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A2E20 0029FD80 EC 41 00 2A */ fadds f2, f1, f0 +/* 802A2E24 0029FD84 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802A2E28 0029FD88 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 802A2E2C 0029FD8C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 802A2E30 0029FD90 38 C1 00 08 */ addi r6, r1, 8 +/* 802A2E34 0029FD94 EC 01 00 2A */ fadds f0, f1, f0 +/* 802A2E38 0029FD98 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 802A2E3C 0029FD9C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A2E40 0029FDA0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A2E44 0029FDA4 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802A2E48 0029FDA8 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A2E4C 0029FDAC 48 00 00 65 */ bl BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A2E50 0029FDB0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A2E54 0029FDB4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802A2E58 0029FDB8 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802A2E5C 0029FDBC C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802A2E60 0029FDC0 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A2E64 0029FDC4 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 802A2E68 0029FDC8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A2E6C 0029FDCC D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A2E70 0029FDD0 D0 3C 00 04 */ stfs f1, 4(r28) +/* 802A2E74 0029FDD4 D0 5C 00 08 */ stfs f2, 8(r28) +/* 802A2E78 0029FDD8 D0 7C 00 0C */ stfs f3, 0xc(r28) +/* 802A2E7C 0029FDDC D0 9C 00 10 */ stfs f4, 0x10(r28) +/* 802A2E80 0029FDE0 D0 BC 00 14 */ stfs f5, 0x14(r28) +/* 802A2E84 0029FDE4 93 DC 00 18 */ stw r30, 0x18(r28) +/* 802A2E88 0029FDE8 90 1C 00 1C */ stw r0, 0x1c(r28) +/* 802A2E8C 0029FDEC 93 FC 00 20 */ stw r31, 0x20(r28) +lbl_802A2E90: +/* 802A2E90 0029FDF0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2E94 0029FDF4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802A2E98 0029FDF8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802A2E9C 0029FDFC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802A2EA0 0029FE00 83 81 00 30 */ lwz r28, 0x30(r1) +/* 802A2EA4 0029FE04 7C 08 03 A6 */ mtlr r0 +/* 802A2EA8 0029FE08 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2EAC 0029FE0C 4E 80 00 20 */ blr + +.global BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f +BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f: +/* 802A2EB0 0029FE10 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A2EB4 0029FE14 7C 08 02 A6 */ mflr r0 +/* 802A2EB8 0029FE18 28 04 00 07 */ cmplwi r4, 7 +/* 802A2EBC 0029FE1C 7C A8 2B 78 */ mr r8, r5 +/* 802A2EC0 0029FE20 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A2EC4 0029FE24 41 81 01 BC */ bgt lbl_802A3080 +/* 802A2EC8 0029FE28 3C A0 80 3F */ lis r5, lbl_803EC408@ha +/* 802A2ECC 0029FE2C 54 80 10 3A */ slwi r0, r4, 2 +/* 802A2ED0 0029FE30 38 85 C4 08 */ addi r4, r5, lbl_803EC408@l +/* 802A2ED4 0029FE34 7C 04 00 2E */ lwzx r0, r4, r0 +/* 802A2ED8 0029FE38 7C 09 03 A6 */ mtctr r0 +/* 802A2EDC 0029FE3C 4E 80 04 20 */ bctr +/* 802A2EE0 0029FE40 7D 04 43 78 */ mr r4, r8 +/* 802A2EE4 0029FE44 7C C5 33 78 */ mr r5, r6 +/* 802A2EE8 0029FE48 48 09 56 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2EEC 0029FE4C 48 00 01 A0 */ b lbl_802A308C +/* 802A2EF0 0029FE50 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2EF4 0029FE54 38 81 00 8C */ addi r4, r1, 0x8c +/* 802A2EF8 0029FE58 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2EFC 0029FE5C 38 A1 00 80 */ addi r5, r1, 0x80 +/* 802A2F00 0029FE60 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A2F04 0029FE64 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F08 0029FE68 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A2F0C 0029FE6C C0 06 00 00 */ lfs f0, 0(r6) +/* 802A2F10 0029FE70 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 802A2F14 0029FE74 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A2F18 0029FE78 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A2F1C 0029FE7C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 802A2F20 0029FE80 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802A2F24 0029FE84 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802A2F28 0029FE88 48 09 55 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2F2C 0029FE8C 48 00 01 60 */ b lbl_802A308C +/* 802A2F30 0029FE90 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2F34 0029FE94 38 81 00 74 */ addi r4, r1, 0x74 +/* 802A2F38 0029FE98 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A2F3C 0029FE9C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A2F40 0029FEA0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A2F44 0029FEA4 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F48 0029FEA8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A2F4C 0029FEAC C0 08 00 00 */ lfs f0, 0(r8) +/* 802A2F50 0029FEB0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802A2F54 0029FEB4 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A2F58 0029FEB8 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A2F5C 0029FEBC D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802A2F60 0029FEC0 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 802A2F64 0029FEC4 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 802A2F68 0029FEC8 48 09 55 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2F6C 0029FECC 48 00 01 20 */ b lbl_802A308C +/* 802A2F70 0029FED0 C0 46 00 08 */ lfs f2, 8(r6) +/* 802A2F74 0029FED4 38 81 00 5C */ addi r4, r1, 0x5c +/* 802A2F78 0029FED8 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A2F7C 0029FEDC 38 A1 00 50 */ addi r5, r1, 0x50 +/* 802A2F80 0029FEE0 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A2F84 0029FEE4 C0 88 00 08 */ lfs f4, 8(r8) +/* 802A2F88 0029FEE8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A2F8C 0029FEEC C0 06 00 00 */ lfs f0, 0(r6) +/* 802A2F90 0029FEF0 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 802A2F94 0029FEF4 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802A2F98 0029FEF8 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A2F9C 0029FEFC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 802A2FA0 0029FF00 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802A2FA4 0029FF04 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802A2FA8 0029FF08 48 09 55 61 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2FAC 0029FF0C 48 00 00 E0 */ b lbl_802A308C +/* 802A2FB0 0029FF10 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A2FB4 0029FF14 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A2FB8 0029FF18 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2FBC 0029FF1C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A2FC0 0029FF20 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A2FC4 0029FF24 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A2FC8 0029FF28 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A2FCC 0029FF2C C0 08 00 00 */ lfs f0, 0(r8) +/* 802A2FD0 0029FF30 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A2FD4 0029FF34 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 802A2FD8 0029FF38 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 802A2FDC 0029FF3C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802A2FE0 0029FF40 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802A2FE4 0029FF44 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 802A2FE8 0029FF48 48 09 55 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A2FEC 0029FF4C 48 00 00 A0 */ b lbl_802A308C +/* 802A2FF0 0029FF50 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A2FF4 0029FF54 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A2FF8 0029FF58 C0 66 00 04 */ lfs f3, 4(r6) +/* 802A2FFC 0029FF5C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802A3000 0029FF60 C0 27 00 00 */ lfs f1, 0(r7) +/* 802A3004 0029FF64 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A3008 0029FF68 C0 A8 00 04 */ lfs f5, 4(r8) +/* 802A300C 0029FF6C C0 06 00 00 */ lfs f0, 0(r6) +/* 802A3010 0029FF70 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802A3014 0029FF74 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802A3018 0029FF78 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A301C 0029FF7C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 802A3020 0029FF80 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802A3024 0029FF84 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802A3028 0029FF88 48 09 54 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A302C 0029FF8C 48 00 00 60 */ b lbl_802A308C +/* 802A3030 0029FF90 C0 47 00 08 */ lfs f2, 8(r7) +/* 802A3034 0029FF94 38 81 00 14 */ addi r4, r1, 0x14 +/* 802A3038 0029FF98 C0 67 00 04 */ lfs f3, 4(r7) +/* 802A303C 0029FF9C 38 A1 00 08 */ addi r5, r1, 8 +/* 802A3040 0029FFA0 C0 26 00 00 */ lfs f1, 0(r6) +/* 802A3044 0029FFA4 C0 86 00 08 */ lfs f4, 8(r6) +/* 802A3048 0029FFA8 C0 A6 00 04 */ lfs f5, 4(r6) +/* 802A304C 0029FFAC C0 08 00 00 */ lfs f0, 0(r8) +/* 802A3050 0029FFB0 D0 21 00 08 */ stfs f1, 8(r1) +/* 802A3054 0029FFB4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A3058 0029FFB8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802A305C 0029FFBC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802A3060 0029FFC0 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802A3064 0029FFC4 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 802A3068 0029FFC8 48 09 54 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A306C 0029FFCC 48 00 00 20 */ b lbl_802A308C +/* 802A3070 0029FFD0 7C C4 33 78 */ mr r4, r6 +/* 802A3074 0029FFD4 7C E5 3B 78 */ mr r5, r7 +/* 802A3078 0029FFD8 48 09 54 91 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A307C 0029FFDC 48 00 00 10 */ b lbl_802A308C +lbl_802A3080: +/* 802A3080 0029FFE0 7D 04 43 78 */ mr r4, r8 +/* 802A3084 0029FFE4 7C E5 3B 78 */ mr r5, r7 +/* 802A3088 0029FFE8 48 09 54 81 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_802A308C: +/* 802A308C 0029FFEC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A3090 0029FFF0 7C 08 03 A6 */ mtlr r0 +/* 802A3094 0029FFF4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A3098 0029FFF8 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaOctTree_Tests.s b/asm/WorldFormat/CAreaOctTree_Tests.s new file mode 100644 index 00000000..e0b7eb00 --- /dev/null +++ b/asm/WorldFormat/CAreaOctTree_Tests.s @@ -0,0 +1,1911 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f: +/* 802A0A0C 0029D96C 94 21 FB A0 */ stwu r1, -0x460(r1) +/* 802A0A10 0029D970 7C 08 02 A6 */ mflr r0 +/* 802A0A14 0029D974 90 01 04 64 */ stw r0, 0x464(r1) +/* 802A0A18 0029D978 DB E1 04 50 */ stfd f31, 0x450(r1) +/* 802A0A1C 0029D97C F3 E1 04 58 */ psq_st f31, 1112(r1), 0, qr0 +/* 802A0A20 0029D980 DB C1 04 40 */ stfd f30, 0x440(r1) +/* 802A0A24 0029D984 F3 C1 04 48 */ psq_st f30, 1096(r1), 0, qr0 +/* 802A0A28 0029D988 DB A1 04 30 */ stfd f29, 0x430(r1) +/* 802A0A2C 0029D98C F3 A1 04 38 */ psq_st f29, 1080(r1), 0, qr0 +/* 802A0A30 0029D990 DB 81 04 20 */ stfd f28, 0x420(r1) +/* 802A0A34 0029D994 F3 81 04 28 */ psq_st f28, 1064(r1), 0, qr0 +/* 802A0A38 0029D998 DB 61 04 10 */ stfd f27, 0x410(r1) +/* 802A0A3C 0029D99C F3 61 04 18 */ psq_st f27, 1048(r1), 0, qr0 +/* 802A0A40 0029D9A0 DB 41 04 00 */ stfd f26, 0x400(r1) +/* 802A0A44 0029D9A4 F3 41 04 08 */ psq_st f26, 1032(r1), 0, qr0 +/* 802A0A48 0029D9A8 DB 21 03 F0 */ stfd f25, 0x3f0(r1) +/* 802A0A4C 0029D9AC F3 21 03 F8 */ psq_st f25, 1016(r1), 0, qr0 +/* 802A0A50 0029D9B0 DB 01 03 E0 */ stfd f24, 0x3e0(r1) +/* 802A0A54 0029D9B4 F3 01 03 E8 */ psq_st f24, 1000(r1), 0, qr0 +/* 802A0A58 0029D9B8 DA E1 03 D0 */ stfd f23, 0x3d0(r1) +/* 802A0A5C 0029D9BC F2 E1 03 D8 */ psq_st f23, 984(r1), 0, qr0 +/* 802A0A60 0029D9C0 DA C1 03 C0 */ stfd f22, 0x3c0(r1) +/* 802A0A64 0029D9C4 F2 C1 03 C8 */ psq_st f22, 968(r1), 0, qr0 +/* 802A0A68 0029D9C8 DA A1 03 B0 */ stfd f21, 0x3b0(r1) +/* 802A0A6C 0029D9CC F2 A1 03 B8 */ psq_st f21, 952(r1), 0, qr0 +/* 802A0A70 0029D9D0 BE 01 03 70 */ stmw r16, 0x370(r1) +/* 802A0A74 0029D9D4 FF 80 08 90 */ fmr f28, f1 +/* 802A0A78 0029D9D8 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) +/* 802A0A7C 0029D9DC FF 40 10 90 */ fmr f26, f2 +/* 802A0A80 0029D9E0 C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) +/* 802A0A84 0029D9E4 FF 20 18 90 */ fmr f25, f3 +/* 802A0A88 0029D9E8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0A8C 0029D9EC EF E4 07 32 */ fmuls f31, f4, f28 +/* 802A0A90 0029D9F0 7C 7B 1B 78 */ mr r27, r3 +/* 802A0A94 0029D9F4 FC 19 00 00 */ fcmpu cr0, f25, f0 +/* 802A0A98 0029D9F8 7C 9C 23 78 */ mr r28, r4 +/* 802A0A9C 0029D9FC EF 61 06 B2 */ fmuls f27, f1, f26 +/* 802A0AA0 0029DA00 7C BD 2B 78 */ mr r29, r5 +/* 802A0AA4 0029DA04 7C DE 33 78 */ mr r30, r6 +/* 802A0AA8 0029DA08 7C FF 3B 78 */ mr r31, r7 +/* 802A0AAC 0029DA0C 41 82 00 24 */ beq lbl_802A0AD0 +/* 802A0AB0 0029DA10 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A0AB4 0029DA14 40 80 00 08 */ bge lbl_802A0ABC +/* 802A0AB8 0029DA18 FF E0 00 90 */ fmr f31, f0 +lbl_802A0ABC: +/* 802A0ABC 0029DA1C FC 1B C8 40 */ fcmpo cr0, f27, f25 +/* 802A0AC0 0029DA20 40 81 00 08 */ ble lbl_802A0AC8 +/* 802A0AC4 0029DA24 FF 60 C8 90 */ fmr f27, f25 +lbl_802A0AC8: +/* 802A0AC8 0029DA28 FC 1F D8 40 */ fcmpo cr0, f31, f27 +/* 802A0ACC 0029DA2C 41 81 0A A0 */ bgt lbl_802A156C +lbl_802A0AD0: +/* 802A0AD0 0029DA30 80 1B 00 20 */ lwz r0, 0x20(r27) +/* 802A0AD4 0029DA34 2C 00 00 02 */ cmpwi r0, 2 +/* 802A0AD8 0029DA38 40 82 03 0C */ bne lbl_802A0DE4 +/* 802A0ADC 0029DA3C 7F 64 DB 78 */ mr r4, r27 +/* 802A0AE0 0029DA40 38 61 00 08 */ addi r3, r1, 8 +/* 802A0AE4 0029DA44 48 00 22 59 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A0AE8 0029DA48 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0AEC 0029DA4C 38 00 00 00 */ li r0, 0 +/* 802A0AF0 0029DA50 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0AF4 0029DA54 FF C0 D8 90 */ fmr f30, f27 +/* 802A0AF8 0029DA58 82 61 00 08 */ lwz r19, 8(r1) +/* 802A0AFC 0029DA5C 3A 81 03 38 */ addi r20, r1, 0x338 +/* 802A0B00 0029DA60 D0 21 03 28 */ stfs f1, 0x328(r1) +/* 802A0B04 0029DA64 3A 40 00 00 */ li r18, 0 +/* 802A0B08 0029DA68 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) +/* 802A0B0C 0029DA6C D0 01 03 2C */ stfs f0, 0x32c(r1) +/* 802A0B10 0029DA70 3A C0 00 00 */ li r22, 0 +/* 802A0B14 0029DA74 D0 01 03 30 */ stfs f0, 0x330(r1) +/* 802A0B18 0029DA78 D0 01 03 34 */ stfs f0, 0x334(r1) +/* 802A0B1C 0029DA7C 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0B20 0029DA80 D0 01 03 64 */ stfs f0, 0x364(r1) +/* 802A0B24 0029DA84 A2 B3 00 18 */ lhz r21, 0x18(r19) +/* 802A0B28 0029DA88 48 00 02 60 */ b lbl_802A0D88 +lbl_802A0B2C: +/* 802A0B2C 0029DA8C 80 9B 00 1C */ lwz r4, 0x1c(r27) +/* 802A0B30 0029DA90 38 61 01 EC */ addi r3, r1, 0x1ec +/* 802A0B34 0029DA94 A0 B3 00 1A */ lhz r5, 0x1a(r19) +/* 802A0B38 0029DA98 48 00 1E FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A0B3C 0029DA9C C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 802A0B40 0029DAA0 C2 C1 02 0C */ lfs f22, 0x20c(r1) +/* 802A0B44 0029DAA4 C3 21 02 00 */ lfs f25, 0x200(r1) +/* 802A0B48 0029DAA8 C0 61 01 EC */ lfs f3, 0x1ec(r1) +/* 802A0B4C 0029DAAC EC F6 08 28 */ fsubs f7, f22, f1 +/* 802A0B50 0029DAB0 C3 01 02 04 */ lfs f24, 0x204(r1) +/* 802A0B54 0029DAB4 EC 99 08 28 */ fsubs f4, f25, f1 +/* 802A0B58 0029DAB8 C0 41 01 F0 */ lfs f2, 0x1f0(r1) +/* 802A0B5C 0029DABC C2 E1 02 08 */ lfs f23, 0x208(r1) +/* 802A0B60 0029DAC0 ED 38 18 28 */ fsubs f9, f24, f3 +/* 802A0B64 0029DAC4 C3 41 01 FC */ lfs f26, 0x1fc(r1) +/* 802A0B68 0029DAC8 C1 BC 00 0C */ lfs f13, 0xc(r28) +/* 802A0B6C 0029DACC ED 17 10 28 */ fsubs f8, f23, f2 +/* 802A0B70 0029DAD0 C2 A1 01 F8 */ lfs f21, 0x1f8(r1) +/* 802A0B74 0029DAD4 EC BA 10 28 */ fsubs f5, f26, f2 +/* 802A0B78 0029DAD8 C3 7C 00 14 */ lfs f27, 0x14(r28) +/* 802A0B7C 0029DADC EC C7 03 72 */ fmuls f6, f7, f13 +/* 802A0B80 0029DAE0 C3 9C 00 10 */ lfs f28, 0x10(r28) +/* 802A0B84 0029DAE4 EC 08 06 F2 */ fmuls f0, f8, f27 +/* 802A0B88 0029DAE8 80 61 02 10 */ lwz r3, 0x210(r1) +/* 802A0B8C 0029DAEC ED 7B 32 78 */ fmsubs f11, f27, f9, f6 +/* 802A0B90 0029DAF0 D0 61 03 00 */ stfs f3, 0x300(r1) +/* 802A0B94 0029DAF4 ED 89 07 32 */ fmuls f12, f9, f28 +/* 802A0B98 0029DAF8 EC D5 18 28 */ fsubs f6, f21, f3 +/* 802A0B9C 0029DAFC ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 +/* 802A0BA0 0029DB00 D0 41 03 04 */ stfs f2, 0x304(r1) +/* 802A0BA4 0029DB04 EC 05 02 F2 */ fmuls f0, f5, f11 +/* 802A0BA8 0029DB08 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 +/* 802A0BAC 0029DB0C D0 21 03 08 */ stfs f1, 0x308(r1) +/* 802A0BB0 0029DB10 EC 06 02 BA */ fmadds f0, f6, f10, f0 +/* 802A0BB4 0029DB14 D2 A1 03 0C */ stfs f21, 0x30c(r1) +/* 802A0BB8 0029DB18 D3 41 03 10 */ stfs f26, 0x310(r1) +/* 802A0BBC 0029DB1C EE A4 03 3A */ fmadds f21, f4, f12, f0 +/* 802A0BC0 0029DB20 D3 21 03 14 */ stfs f25, 0x314(r1) +/* 802A0BC4 0029DB24 FC 00 AA 10 */ fabs f0, f21 +/* 802A0BC8 0029DB28 D3 01 03 18 */ stfs f24, 0x318(r1) +/* 802A0BCC 0029DB2C D2 E1 03 1C */ stfs f23, 0x31c(r1) +/* 802A0BD0 0029DB30 FC 00 00 18 */ frsp f0, f0 +/* 802A0BD4 0029DB34 D2 C1 03 20 */ stfs f22, 0x320(r1) +/* 802A0BD8 0029DB38 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802A0BDC 0029DB3C 90 61 03 24 */ stw r3, 0x324(r1) +/* 802A0BE0 0029DB40 41 80 01 A0 */ blt lbl_802A0D80 +/* 802A0BE4 0029DB44 C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) +/* 802A0BE8 0029DB48 C2 FC 00 04 */ lfs f23, 4(r28) +/* 802A0BEC 0029DB4C EF 40 A8 24 */ fdivs f26, f0, f21 +/* 802A0BF0 0029DB50 C2 DC 00 00 */ lfs f22, 0(r28) +/* 802A0BF4 0029DB54 C3 3C 00 08 */ lfs f25, 8(r28) +/* 802A0BF8 0029DB58 C3 02 C1 24 */ lfs f24, lbl_805ADE44@sda21(r2) +/* 802A0BFC 0029DB5C EE F7 10 28 */ fsubs f23, f23, f2 +/* 802A0C00 0029DB60 EE D6 18 28 */ fsubs f22, f22, f3 +/* 802A0C04 0029DB64 EE B9 08 28 */ fsubs f21, f25, f1 +/* 802A0C08 0029DB68 EC 37 02 F2 */ fmuls f1, f23, f11 +/* 802A0C0C 0029DB6C EC 36 0A BA */ fmadds f1, f22, f10, f1 +/* 802A0C10 0029DB70 EC 35 0B 3A */ fmadds f1, f21, f12, f1 +/* 802A0C14 0029DB74 ED 5A 00 72 */ fmuls f10, f26, f1 +/* 802A0C18 0029DB78 FC 0A C0 40 */ fcmpo cr0, f10, f24 +/* 802A0C1C 0029DB7C 41 80 01 64 */ blt lbl_802A0D80 +/* 802A0C20 0029DB80 FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802A0C24 0029DB84 41 81 01 5C */ bgt lbl_802A0D80 +/* 802A0C28 0029DB88 EC 44 05 B2 */ fmuls f2, f4, f22 +/* 802A0C2C 0029DB8C EC 25 05 72 */ fmuls f1, f5, f21 +/* 802A0C30 0029DB90 EC 66 05 F2 */ fmuls f3, f6, f23 +/* 802A0C34 0029DB94 EC D5 11 B8 */ fmsubs f6, f21, f6, f2 +/* 802A0C38 0029DB98 EC 57 09 38 */ fmsubs f2, f23, f4, f1 +/* 802A0C3C 0029DB9C EC 76 19 78 */ fmsubs f3, f22, f5, f3 +/* 802A0C40 0029DBA0 EC 26 02 32 */ fmuls f1, f6, f8 +/* 802A0C44 0029DBA4 EC 22 0A 7A */ fmadds f1, f2, f9, f1 +/* 802A0C48 0029DBA8 EC 23 09 FA */ fmadds f1, f3, f7, f1 +/* 802A0C4C 0029DBAC EF 3A 00 72 */ fmuls f25, f26, f1 +/* 802A0C50 0029DBB0 FC 19 F0 40 */ fcmpo cr0, f25, f30 +/* 802A0C54 0029DBB4 4C 41 13 82 */ cror 2, 1, 2 +/* 802A0C58 0029DBB8 41 82 01 28 */ beq lbl_802A0D80 +/* 802A0C5C 0029DBBC FC 19 F8 40 */ fcmpo cr0, f25, f31 +/* 802A0C60 0029DBC0 41 80 01 20 */ blt lbl_802A0D80 +/* 802A0C64 0029DBC4 EC 26 07 32 */ fmuls f1, f6, f28 +/* 802A0C68 0029DBC8 EC 22 0B 7A */ fmadds f1, f2, f13, f1 +/* 802A0C6C 0029DBCC EC 23 0E FA */ fmadds f1, f3, f27, f1 +/* 802A0C70 0029DBD0 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A0C74 0029DBD4 FC 01 C0 40 */ fcmpo cr0, f1, f24 +/* 802A0C78 0029DBD8 41 80 01 08 */ blt lbl_802A0D80 +/* 802A0C7C 0029DBDC EC 2A 08 2A */ fadds f1, f10, f1 +/* 802A0C80 0029DBE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A0C84 0029DBE4 41 81 00 FC */ bgt lbl_802A0D80 +/* 802A0C88 0029DBE8 38 00 00 00 */ li r0, 0 +/* 802A0C8C 0029DBEC 90 61 00 24 */ stw r3, 0x24(r1) +/* 802A0C90 0029DBF0 7F A3 EB 78 */ mr r3, r29 +/* 802A0C94 0029DBF4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A0C98 0029DBF8 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A0C9C 0029DBFC 48 03 46 B1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A0CA0 0029DC00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0CA4 0029DC04 41 82 00 DC */ beq lbl_802A0D80 +/* 802A0CA8 0029DC08 FC 19 F0 40 */ fcmpo cr0, f25, f30 +/* 802A0CAC 0029DC0C 4C 40 13 82 */ cror 2, 0, 2 +/* 802A0CB0 0029DC10 40 82 00 D0 */ bne lbl_802A0D80 +/* 802A0CB4 0029DC14 88 01 03 60 */ lbz r0, 0x360(r1) +/* 802A0CB8 0029DC18 FF C0 C8 90 */ fmr f30, f25 +/* 802A0CBC 0029DC1C 3A 40 00 01 */ li r18, 1 +/* 802A0CC0 0029DC20 28 00 00 00 */ cmplwi r0, 0 +/* 802A0CC4 0029DC24 40 82 00 68 */ bne lbl_802A0D2C +/* 802A0CC8 0029DC28 28 14 00 00 */ cmplwi r20, 0 +/* 802A0CCC 0029DC2C 41 82 00 54 */ beq lbl_802A0D20 +/* 802A0CD0 0029DC30 C1 01 03 00 */ lfs f8, 0x300(r1) +/* 802A0CD4 0029DC34 C0 E1 03 04 */ lfs f7, 0x304(r1) +/* 802A0CD8 0029DC38 C0 C1 03 08 */ lfs f6, 0x308(r1) +/* 802A0CDC 0029DC3C C0 A1 03 0C */ lfs f5, 0x30c(r1) +/* 802A0CE0 0029DC40 C0 81 03 10 */ lfs f4, 0x310(r1) +/* 802A0CE4 0029DC44 C0 61 03 14 */ lfs f3, 0x314(r1) +/* 802A0CE8 0029DC48 C0 41 03 18 */ lfs f2, 0x318(r1) +/* 802A0CEC 0029DC4C C0 21 03 1C */ lfs f1, 0x31c(r1) +/* 802A0CF0 0029DC50 C0 01 03 20 */ lfs f0, 0x320(r1) +/* 802A0CF4 0029DC54 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802A0CF8 0029DC58 D1 01 03 38 */ stfs f8, 0x338(r1) +/* 802A0CFC 0029DC5C D0 E1 03 3C */ stfs f7, 0x33c(r1) +/* 802A0D00 0029DC60 D0 C1 03 40 */ stfs f6, 0x340(r1) +/* 802A0D04 0029DC64 D0 A1 03 44 */ stfs f5, 0x344(r1) +/* 802A0D08 0029DC68 D0 81 03 48 */ stfs f4, 0x348(r1) +/* 802A0D0C 0029DC6C D0 61 03 4C */ stfs f3, 0x34c(r1) +/* 802A0D10 0029DC70 D0 41 03 50 */ stfs f2, 0x350(r1) +/* 802A0D14 0029DC74 D0 21 03 54 */ stfs f1, 0x354(r1) +/* 802A0D18 0029DC78 D0 01 03 58 */ stfs f0, 0x358(r1) +/* 802A0D1C 0029DC7C 90 01 03 5C */ stw r0, 0x35c(r1) +lbl_802A0D20: +/* 802A0D20 0029DC80 38 00 00 01 */ li r0, 1 +/* 802A0D24 0029DC84 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0D28 0029DC88 48 00 00 54 */ b lbl_802A0D7C +lbl_802A0D2C: +/* 802A0D2C 0029DC8C 81 61 03 00 */ lwz r11, 0x300(r1) +/* 802A0D30 0029DC90 81 41 03 04 */ lwz r10, 0x304(r1) +/* 802A0D34 0029DC94 81 21 03 08 */ lwz r9, 0x308(r1) +/* 802A0D38 0029DC98 81 01 03 0C */ lwz r8, 0x30c(r1) +/* 802A0D3C 0029DC9C 80 E1 03 10 */ lwz r7, 0x310(r1) +/* 802A0D40 0029DCA0 80 C1 03 14 */ lwz r6, 0x314(r1) +/* 802A0D44 0029DCA4 80 A1 03 18 */ lwz r5, 0x318(r1) +/* 802A0D48 0029DCA8 80 81 03 1C */ lwz r4, 0x31c(r1) +/* 802A0D4C 0029DCAC 80 61 03 20 */ lwz r3, 0x320(r1) +/* 802A0D50 0029DCB0 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802A0D54 0029DCB4 91 61 03 38 */ stw r11, 0x338(r1) +/* 802A0D58 0029DCB8 91 41 03 3C */ stw r10, 0x33c(r1) +/* 802A0D5C 0029DCBC 91 21 03 40 */ stw r9, 0x340(r1) +/* 802A0D60 0029DCC0 91 01 03 44 */ stw r8, 0x344(r1) +/* 802A0D64 0029DCC4 90 E1 03 48 */ stw r7, 0x348(r1) +/* 802A0D68 0029DCC8 90 C1 03 4C */ stw r6, 0x34c(r1) +/* 802A0D6C 0029DCCC 90 A1 03 50 */ stw r5, 0x350(r1) +/* 802A0D70 0029DCD0 90 81 03 54 */ stw r4, 0x354(r1) +/* 802A0D74 0029DCD4 90 61 03 58 */ stw r3, 0x358(r1) +/* 802A0D78 0029DCD8 90 01 03 5C */ stw r0, 0x35c(r1) +lbl_802A0D7C: +/* 802A0D7C 0029DCDC D3 21 03 64 */ stfs f25, 0x364(r1) +lbl_802A0D80: +/* 802A0D80 0029DCE0 3A 73 00 02 */ addi r19, r19, 2 +/* 802A0D84 0029DCE4 3A D6 00 01 */ addi r22, r22, 1 +lbl_802A0D88: +/* 802A0D88 0029DCE8 7C 16 A8 00 */ cmpw r22, r21 +/* 802A0D8C 0029DCEC 41 80 FD A0 */ blt lbl_802A0B2C +/* 802A0D90 0029DCF0 56 40 06 3F */ clrlwi. r0, r18, 0x18 +/* 802A0D94 0029DCF4 41 82 00 3C */ beq lbl_802A0DD0 +/* 802A0D98 0029DCF8 7F C3 F3 78 */ mr r3, r30 +/* 802A0D9C 0029DCFC 38 81 03 28 */ addi r4, r1, 0x328 +/* 802A0DA0 0029DD00 48 00 08 39 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A0DA4 0029DD04 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A0DA8 0029DD08 38 9E 00 10 */ addi r4, r30, 0x10 +/* 802A0DAC 0029DD0C 48 00 18 89 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A0DB0 0029DD10 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802A0DB4 0029DD14 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A0DB8 0029DD18 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802A0DBC 0029DD1C D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A0DC0 0029DD20 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802A0DC4 0029DD24 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A0DC8 0029DD28 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802A0DCC 0029DD2C D0 1E 00 0C */ stfs f0, 0xc(r30) +lbl_802A0DD0: +/* 802A0DD0 0029DD30 28 14 00 00 */ cmplwi r20, 0 +/* 802A0DD4 0029DD34 41 82 07 98 */ beq lbl_802A156C +/* 802A0DD8 0029DD38 38 00 00 00 */ li r0, 0 +/* 802A0DDC 0029DD3C 98 01 03 60 */ stb r0, 0x360(r1) +/* 802A0DE0 0029DD40 48 00 07 8C */ b lbl_802A156C +lbl_802A0DE4: +/* 802A0DE4 0029DD44 2C 00 00 01 */ cmpwi r0, 1 +/* 802A0DE8 0029DD48 40 82 07 84 */ bne lbl_802A156C +/* 802A0DEC 0029DD4C 80 7B 00 18 */ lwz r3, 0x18(r27) +/* 802A0DF0 0029DD50 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A0DF4 0029DD54 28 00 00 0A */ cmplwi r0, 0xa +/* 802A0DF8 0029DD58 40 82 02 C8 */ bne lbl_802A10C0 +/* 802A0DFC 0029DD5C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0E00 0029DD60 38 00 00 00 */ li r0, 0 +/* 802A0E04 0029DD64 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0E08 0029DD68 7F 64 DB 78 */ mr r4, r27 +/* 802A0E0C 0029DD6C D0 01 02 C4 */ stfs f0, 0x2c4(r1) +/* 802A0E10 0029DD70 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 802A0E14 0029DD74 38 A0 00 00 */ li r5, 0 +/* 802A0E18 0029DD78 D0 21 02 C0 */ stfs f1, 0x2c0(r1) +/* 802A0E1C 0029DD7C D0 01 02 C8 */ stfs f0, 0x2c8(r1) +/* 802A0E20 0029DD80 D0 01 02 CC */ stfs f0, 0x2cc(r1) +/* 802A0E24 0029DD84 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A0E28 0029DD88 D0 01 02 FC */ stfs f0, 0x2fc(r1) +/* 802A0E2C 0029DD8C D0 21 02 80 */ stfs f1, 0x280(r1) +/* 802A0E30 0029DD90 D0 01 02 84 */ stfs f0, 0x284(r1) +/* 802A0E34 0029DD94 D0 01 02 88 */ stfs f0, 0x288(r1) +/* 802A0E38 0029DD98 D0 01 02 8C */ stfs f0, 0x28c(r1) +/* 802A0E3C 0029DD9C 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A0E40 0029DDA0 D0 01 02 BC */ stfs f0, 0x2bc(r1) +/* 802A0E44 0029DDA4 48 00 1F 1D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A0E48 0029DDA8 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) +/* 802A0E4C 0029DDAC 7F 84 E3 78 */ mr r4, r28 +/* 802A0E50 0029DDB0 C0 81 01 CC */ lfs f4, 0x1cc(r1) +/* 802A0E54 0029DDB4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802A0E58 0029DDB8 C0 61 01 D0 */ lfs f3, 0x1d0(r1) +/* 802A0E5C 0029DDBC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802A0E60 0029DDC0 C0 41 01 D4 */ lfs f2, 0x1d4(r1) +/* 802A0E64 0029DDC4 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802A0E68 0029DDC8 C0 21 01 D8 */ lfs f1, 0x1d8(r1) +/* 802A0E6C 0029DDCC C0 01 01 DC */ lfs f0, 0x1dc(r1) +/* 802A0E70 0029DDD0 81 01 01 E0 */ lwz r8, 0x1e0(r1) +/* 802A0E74 0029DDD4 80 E1 01 E4 */ lwz r7, 0x1e4(r1) +/* 802A0E78 0029DDD8 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802A0E7C 0029DDDC D0 A1 02 5C */ stfs f5, 0x25c(r1) +/* 802A0E80 0029DDE0 D0 81 02 60 */ stfs f4, 0x260(r1) +/* 802A0E84 0029DDE4 D0 61 02 64 */ stfs f3, 0x264(r1) +/* 802A0E88 0029DDE8 D0 41 02 68 */ stfs f2, 0x268(r1) +/* 802A0E8C 0029DDEC D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 802A0E90 0029DDF0 D0 01 02 70 */ stfs f0, 0x270(r1) +/* 802A0E94 0029DDF4 91 01 02 74 */ stw r8, 0x274(r1) +/* 802A0E98 0029DDF8 90 E1 02 78 */ stw r7, 0x278(r1) +/* 802A0E9C 0029DDFC 90 01 02 7C */ stw r0, 0x27c(r1) +/* 802A0EA0 0029DE00 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 802A0EA4 0029DE04 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 802A0EA8 0029DE08 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 802A0EAC 0029DE0C D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 802A0EB0 0029DE10 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802A0EB4 0029DE14 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 802A0EB8 0029DE18 D3 81 00 18 */ stfs f28, 0x18(r1) +/* 802A0EBC 0029DE1C D3 41 00 14 */ stfs f26, 0x14(r1) +/* 802A0EC0 0029DE20 48 00 15 B5 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A0EC4 0029DE24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0EC8 0029DE28 41 82 00 28 */ beq lbl_802A0EF0 +/* 802A0ECC 0029DE2C FC 60 C8 90 */ fmr f3, f25 +/* 802A0ED0 0029DE30 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A0ED4 0029DE34 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A0ED8 0029DE38 7F 84 E3 78 */ mr r4, r28 +/* 802A0EDC 0029DE3C 7F A5 EB 78 */ mr r5, r29 +/* 802A0EE0 0029DE40 7F E7 FB 78 */ mr r7, r31 +/* 802A0EE4 0029DE44 38 61 02 5C */ addi r3, r1, 0x25c +/* 802A0EE8 0029DE48 38 C1 02 C0 */ addi r6, r1, 0x2c0 +/* 802A0EEC 0029DE4C 4B FF FB 21 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A0EF0: +/* 802A0EF0 0029DE50 7F 64 DB 78 */ mr r4, r27 +/* 802A0EF4 0029DE54 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 802A0EF8 0029DE58 38 A0 00 01 */ li r5, 1 +/* 802A0EFC 0029DE5C 48 00 1E 65 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A0F00 0029DE60 C0 A1 01 A4 */ lfs f5, 0x1a4(r1) +/* 802A0F04 0029DE64 7F 84 E3 78 */ mr r4, r28 +/* 802A0F08 0029DE68 C0 81 01 A8 */ lfs f4, 0x1a8(r1) +/* 802A0F0C 0029DE6C 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A0F10 0029DE70 C0 61 01 AC */ lfs f3, 0x1ac(r1) +/* 802A0F14 0029DE74 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A0F18 0029DE78 C0 41 01 B0 */ lfs f2, 0x1b0(r1) +/* 802A0F1C 0029DE7C 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A0F20 0029DE80 C0 21 01 B4 */ lfs f1, 0x1b4(r1) +/* 802A0F24 0029DE84 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 802A0F28 0029DE88 81 01 01 BC */ lwz r8, 0x1bc(r1) +/* 802A0F2C 0029DE8C 80 E1 01 C0 */ lwz r7, 0x1c0(r1) +/* 802A0F30 0029DE90 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802A0F34 0029DE94 D0 A1 02 38 */ stfs f5, 0x238(r1) +/* 802A0F38 0029DE98 D0 81 02 3C */ stfs f4, 0x23c(r1) +/* 802A0F3C 0029DE9C D0 61 02 40 */ stfs f3, 0x240(r1) +/* 802A0F40 0029DEA0 D0 41 02 44 */ stfs f2, 0x244(r1) +/* 802A0F44 0029DEA4 D0 21 02 48 */ stfs f1, 0x248(r1) +/* 802A0F48 0029DEA8 D0 01 02 4C */ stfs f0, 0x24c(r1) +/* 802A0F4C 0029DEAC 91 01 02 50 */ stw r8, 0x250(r1) +/* 802A0F50 0029DEB0 90 E1 02 54 */ stw r7, 0x254(r1) +/* 802A0F54 0029DEB4 90 01 02 58 */ stw r0, 0x258(r1) +/* 802A0F58 0029DEB8 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802A0F5C 0029DEBC D0 81 00 94 */ stfs f4, 0x94(r1) +/* 802A0F60 0029DEC0 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 802A0F64 0029DEC4 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 802A0F68 0029DEC8 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802A0F6C 0029DECC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802A0F70 0029DED0 D3 81 00 10 */ stfs f28, 0x10(r1) +/* 802A0F74 0029DED4 D3 41 00 0C */ stfs f26, 0xc(r1) +/* 802A0F78 0029DED8 48 00 14 FD */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A0F7C 0029DEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A0F80 0029DEE0 41 82 00 28 */ beq lbl_802A0FA8 +/* 802A0F84 0029DEE4 FC 60 C8 90 */ fmr f3, f25 +/* 802A0F88 0029DEE8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802A0F8C 0029DEEC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802A0F90 0029DEF0 7F 84 E3 78 */ mr r4, r28 +/* 802A0F94 0029DEF4 7F A5 EB 78 */ mr r5, r29 +/* 802A0F98 0029DEF8 7F E7 FB 78 */ mr r7, r31 +/* 802A0F9C 0029DEFC 38 61 02 38 */ addi r3, r1, 0x238 +/* 802A0FA0 0029DF00 38 C1 02 80 */ addi r6, r1, 0x280 +/* 802A0FA4 0029DF04 4B FF FA 69 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A0FA8: +/* 802A0FA8 0029DF08 88 61 02 F8 */ lbz r3, 0x2f8(r1) +/* 802A0FAC 0029DF0C 28 03 00 00 */ cmplwi r3, 0 +/* 802A0FB0 0029DF10 40 82 00 54 */ bne lbl_802A1004 +/* 802A0FB4 0029DF14 88 01 02 B8 */ lbz r0, 0x2b8(r1) +/* 802A0FB8 0029DF18 28 00 00 00 */ cmplwi r0, 0 +/* 802A0FBC 0029DF1C 40 82 00 48 */ bne lbl_802A1004 +/* 802A0FC0 0029DF20 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A0FC4 0029DF24 38 00 00 00 */ li r0, 0 +/* 802A0FC8 0029DF28 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A0FCC 0029DF2C 7F C3 F3 78 */ mr r3, r30 +/* 802A0FD0 0029DF30 D0 01 01 68 */ stfs f0, 0x168(r1) +/* 802A0FD4 0029DF34 38 81 01 64 */ addi r4, r1, 0x164 +/* 802A0FD8 0029DF38 D0 21 01 64 */ stfs f1, 0x164(r1) +/* 802A0FDC 0029DF3C D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 802A0FE0 0029DF40 D0 01 01 70 */ stfs f0, 0x170(r1) +/* 802A0FE4 0029DF44 98 01 01 9C */ stb r0, 0x19c(r1) +/* 802A0FE8 0029DF48 D0 01 01 A0 */ stfs f0, 0x1a0(r1) +/* 802A0FEC 0029DF4C 48 00 05 ED */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A0FF0 0029DF50 38 00 00 00 */ li r0, 0 +/* 802A0FF4 0029DF54 98 01 01 9C */ stb r0, 0x19c(r1) +/* 802A0FF8 0029DF58 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A0FFC 0029DF5C 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A1000 0029DF60 48 00 05 6C */ b lbl_802A156C +lbl_802A1004: +/* 802A1004 0029DF64 28 03 00 00 */ cmplwi r3, 0 +/* 802A1008 0029DF68 41 82 00 40 */ beq lbl_802A1048 +/* 802A100C 0029DF6C 88 01 02 B8 */ lbz r0, 0x2b8(r1) +/* 802A1010 0029DF70 28 00 00 00 */ cmplwi r0, 0 +/* 802A1014 0029DF74 41 82 00 34 */ beq lbl_802A1048 +/* 802A1018 0029DF78 C0 21 02 FC */ lfs f1, 0x2fc(r1) +/* 802A101C 0029DF7C C0 01 02 BC */ lfs f0, 0x2bc(r1) +/* 802A1020 0029DF80 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1024 0029DF84 40 80 00 14 */ bge lbl_802A1038 +/* 802A1028 0029DF88 7F C3 F3 78 */ mr r3, r30 +/* 802A102C 0029DF8C 38 81 02 C0 */ addi r4, r1, 0x2c0 +/* 802A1030 0029DF90 48 00 05 A9 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A1034 0029DF94 48 00 00 38 */ b lbl_802A106C +lbl_802A1038: +/* 802A1038 0029DF98 7F C3 F3 78 */ mr r3, r30 +/* 802A103C 0029DF9C 38 81 02 80 */ addi r4, r1, 0x280 +/* 802A1040 0029DFA0 48 00 05 99 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A1044 0029DFA4 48 00 00 28 */ b lbl_802A106C +lbl_802A1048: +/* 802A1048 0029DFA8 28 03 00 00 */ cmplwi r3, 0 +/* 802A104C 0029DFAC 41 82 00 14 */ beq lbl_802A1060 +/* 802A1050 0029DFB0 7F C3 F3 78 */ mr r3, r30 +/* 802A1054 0029DFB4 38 81 02 C0 */ addi r4, r1, 0x2c0 +/* 802A1058 0029DFB8 48 00 05 81 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A105C 0029DFBC 48 00 00 10 */ b lbl_802A106C +lbl_802A1060: +/* 802A1060 0029DFC0 7F C3 F3 78 */ mr r3, r30 +/* 802A1064 0029DFC4 38 81 02 80 */ addi r4, r1, 0x280 +/* 802A1068 0029DFC8 48 00 05 71 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +lbl_802A106C: +/* 802A106C 0029DFCC C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802A1070 0029DFD0 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802A1074 0029DFD4 40 81 00 3C */ ble lbl_802A10B0 +/* 802A1078 0029DFD8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A107C 0029DFDC 38 00 00 00 */ li r0, 0 +/* 802A1080 0029DFE0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A1084 0029DFE4 7F C3 F3 78 */ mr r3, r30 +/* 802A1088 0029DFE8 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 802A108C 0029DFEC 38 81 01 24 */ addi r4, r1, 0x124 +/* 802A1090 0029DFF0 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 802A1094 0029DFF4 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 802A1098 0029DFF8 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 802A109C 0029DFFC 98 01 01 5C */ stb r0, 0x15c(r1) +/* 802A10A0 0029E000 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 802A10A4 0029E004 48 00 05 35 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A10A8 0029E008 38 00 00 00 */ li r0, 0 +/* 802A10AC 0029E00C 98 01 01 5C */ stb r0, 0x15c(r1) +lbl_802A10B0: +/* 802A10B0 0029E010 38 00 00 00 */ li r0, 0 +/* 802A10B4 0029E014 98 01 02 B8 */ stb r0, 0x2b8(r1) +/* 802A10B8 0029E018 98 01 02 F8 */ stb r0, 0x2f8(r1) +/* 802A10BC 0029E01C 48 00 04 B0 */ b lbl_802A156C +lbl_802A10C0: +/* 802A10C0 0029E020 3C 60 80 3D */ lis r3, lbl_803D6008@ha +/* 802A10C4 0029E024 7F 64 DB 78 */ mr r4, r27 +/* 802A10C8 0029E028 39 03 60 08 */ addi r8, r3, lbl_803D6008@l +/* 802A10CC 0029E02C 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A10D0 0029E030 80 E8 00 00 */ lwz r7, 0(r8) +/* 802A10D4 0029E034 3A 20 00 00 */ li r17, 0 +/* 802A10D8 0029E038 80 C8 00 04 */ lwz r6, 4(r8) +/* 802A10DC 0029E03C 80 A8 00 08 */ lwz r5, 8(r8) +/* 802A10E0 0029E040 80 08 00 0C */ lwz r0, 0xc(r8) +/* 802A10E4 0029E044 90 E1 00 74 */ stw r7, 0x74(r1) +/* 802A10E8 0029E048 90 C1 00 78 */ stw r6, 0x78(r1) +/* 802A10EC 0029E04C 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 802A10F0 0029E050 90 01 00 80 */ stw r0, 0x80(r1) +/* 802A10F4 0029E054 48 09 65 19 */ bl GetCenterPoint__6CAABoxCFv +/* 802A10F8 0029E058 C0 3C 00 10 */ lfs f1, 0x10(r28) +/* 802A10FC 0029E05C 3A 41 00 68 */ addi r18, r1, 0x68 +/* 802A1100 0029E060 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 802A1104 0029E064 7E 5A 93 78 */ mr r26, r18 +/* 802A1108 0029E068 C0 5C 00 0C */ lfs f2, 0xc(r28) +/* 802A110C 0029E06C EC BC 00 72 */ fmuls f5, f28, f1 +/* 802A1110 0029E070 C0 DC 00 04 */ lfs f6, 4(r28) +/* 802A1114 0029E074 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A1118 0029E078 EC 7C 00 32 */ fmuls f3, f28, f0 +/* 802A111C 0029E07C C0 9C 00 08 */ lfs f4, 8(r28) +/* 802A1120 0029E080 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 802A1124 0029E084 ED 26 28 2A */ fadds f9, f6, f5 +/* 802A1128 0029E088 C0 E1 00 28 */ lfs f7, 0x28(r1) +/* 802A112C 0029E08C ED 04 18 2A */ fadds f8, f4, f3 +/* 802A1130 0029E090 ED 46 08 2A */ fadds f10, f6, f1 +/* 802A1134 0029E094 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 802A1138 0029E098 EC C4 00 2A */ fadds f6, f4, f0 +/* 802A113C 0029E09C C0 81 00 30 */ lfs f4, 0x30(r1) +/* 802A1140 0029E0A0 EC 3C 00 B2 */ fmuls f1, f28, f2 +/* 802A1144 0029E0A4 C0 7C 00 00 */ lfs f3, 0(r28) +/* 802A1148 0029E0A8 EC 1A 00 B2 */ fmuls f0, f26, f2 +/* 802A114C 0029E0AC D0 E1 00 68 */ stfs f7, 0x68(r1) +/* 802A1150 0029E0B0 EC 23 08 2A */ fadds f1, f3, f1 +/* 802A1154 0029E0B4 7F 96 E3 78 */ mr r22, r28 +/* 802A1158 0029E0B8 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 802A115C 0029E0BC 7F F5 FB 78 */ mr r21, r31 +/* 802A1160 0029E0C0 EC 03 00 2A */ fadds f0, f3, f0 +/* 802A1164 0029E0C4 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 802A1168 0029E0C8 3B 21 00 5C */ addi r25, r1, 0x5c +/* 802A116C 0029E0CC 3B 01 00 50 */ addi r24, r1, 0x50 +/* 802A1170 0029E0D0 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802A1174 0029E0D4 3A 81 00 84 */ addi r20, r1, 0x84 +/* 802A1178 0029E0D8 D1 21 00 60 */ stfs f9, 0x60(r1) +/* 802A117C 0029E0DC 3A 61 00 74 */ addi r19, r1, 0x74 +/* 802A1180 0029E0E0 3A 00 00 00 */ li r16, 0 +/* 802A1184 0029E0E4 3A E0 00 00 */ li r23, 0 +/* 802A1188 0029E0E8 D1 01 00 64 */ stfs f8, 0x64(r1) +/* 802A118C 0029E0EC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A1190 0029E0F0 D1 41 00 54 */ stfs f10, 0x54(r1) +/* 802A1194 0029E0F4 D0 C1 00 58 */ stfs f6, 0x58(r1) +lbl_802A1198: +/* 802A1198 0029E0F8 C0 59 00 00 */ lfs f2, 0(r25) +/* 802A119C 0029E0FC C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A11A0 0029E100 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A11A4 0029E104 40 80 00 10 */ bge lbl_802A11B4 +/* 802A11A8 0029E108 C0 18 00 00 */ lfs f0, 0(r24) +/* 802A11AC 0029E10C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A11B0 0029E110 41 81 00 18 */ bgt lbl_802A11C8 +lbl_802A11B4: +/* 802A11B4 0029E114 C0 18 00 00 */ lfs f0, 0(r24) +/* 802A11B8 0029E118 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A11BC 0029E11C 40 80 00 4C */ bge lbl_802A1208 +/* 802A11C0 0029E120 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A11C4 0029E124 40 81 00 44 */ ble lbl_802A1208 +lbl_802A11C8: +/* 802A11C8 0029E128 7C 7C BA 14 */ add r3, r28, r23 +/* 802A11CC 0029E12C C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) +/* 802A11D0 0029E130 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 802A11D4 0029E134 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) +/* 802A11D8 0029E138 48 00 14 41 */ bl _close_enough__Ffff +/* 802A11DC 0029E13C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A11E0 0029E140 40 82 00 28 */ bne lbl_802A1208 +/* 802A11E4 0029E144 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A11E8 0029E148 3A 31 00 01 */ addi r17, r17, 1 +/* 802A11EC 0029E14C C0 16 00 00 */ lfs f0, 0(r22) +/* 802A11F0 0029E150 92 13 00 00 */ stw r16, 0(r19) +/* 802A11F4 0029E154 3A 73 00 04 */ addi r19, r19, 4 +/* 802A11F8 0029E158 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A11FC 0029E15C C0 35 00 00 */ lfs f1, 0(r21) +/* 802A1200 0029E160 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A1204 0029E164 D0 14 00 00 */ stfs f0, 0(r20) +lbl_802A1208: +/* 802A1208 0029E168 3A 10 00 01 */ addi r16, r16, 1 +/* 802A120C 0029E16C 3B 39 00 04 */ addi r25, r25, 4 +/* 802A1210 0029E170 2C 10 00 03 */ cmpwi r16, 3 +/* 802A1214 0029E174 3B 18 00 04 */ addi r24, r24, 4 +/* 802A1218 0029E178 3A F7 00 04 */ addi r23, r23, 4 +/* 802A121C 0029E17C 3A D6 00 04 */ addi r22, r22, 4 +/* 802A1220 0029E180 3A B5 00 04 */ addi r21, r21, 4 +/* 802A1224 0029E184 3A 94 00 04 */ addi r20, r20, 4 +/* 802A1228 0029E188 3B 5A 00 04 */ addi r26, r26, 4 +/* 802A122C 0029E18C 41 80 FF 6C */ blt lbl_802A1198 +/* 802A1230 0029E190 2C 11 00 02 */ cmpwi r17, 2 +/* 802A1234 0029E194 41 82 00 20 */ beq lbl_802A1254 +/* 802A1238 0029E198 40 80 00 10 */ bge lbl_802A1248 +/* 802A123C 0029E19C 2C 11 00 00 */ cmpwi r17, 0 +/* 802A1240 0029E1A0 40 80 01 3C */ bge lbl_802A137C +/* 802A1244 0029E1A4 48 00 03 28 */ b lbl_802A156C +lbl_802A1248: +/* 802A1248 0029E1A8 2C 11 00 04 */ cmpwi r17, 4 +/* 802A124C 0029E1AC 40 80 03 20 */ bge lbl_802A156C +/* 802A1250 0029E1B0 48 00 00 34 */ b lbl_802A1284 +lbl_802A1254: +/* 802A1254 0029E1B4 80 C1 00 78 */ lwz r6, 0x78(r1) +/* 802A1258 0029E1B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A125C 0029E1BC 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 802A1260 0029E1C0 54 C4 10 3A */ slwi r4, r6, 2 +/* 802A1264 0029E1C4 54 A0 10 3A */ slwi r0, r5, 2 +/* 802A1268 0029E1C8 7C 23 24 2E */ lfsx f1, r3, r4 +/* 802A126C 0029E1CC 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802A1270 0029E1D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1274 0029E1D4 40 80 01 08 */ bge lbl_802A137C +/* 802A1278 0029E1D8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 802A127C 0029E1DC 90 A1 00 78 */ stw r5, 0x78(r1) +/* 802A1280 0029E1E0 48 00 00 FC */ b lbl_802A137C +lbl_802A1284: +/* 802A1284 0029E1E4 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802A1288 0029E1E8 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 802A128C 0029E1EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A1290 0029E1F0 7C 00 00 26 */ mfcr r0 +/* 802A1294 0029E1F4 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802A1298 0029E1F8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802A129C 0029E1FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A12A0 0029E200 7C 00 00 26 */ mfcr r0 +/* 802A12A4 0029E204 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 802A12A8 0029E208 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A12AC 0029E20C 40 80 00 68 */ bge lbl_802A1314 +/* 802A12B0 0029E210 28 03 00 00 */ cmplwi r3, 0 +/* 802A12B4 0029E214 40 82 00 20 */ bne lbl_802A12D4 +/* 802A12B8 0029E218 38 80 00 02 */ li r4, 2 +/* 802A12BC 0029E21C 38 60 00 00 */ li r3, 0 +/* 802A12C0 0029E220 38 00 00 01 */ li r0, 1 +/* 802A12C4 0029E224 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A12C8 0029E228 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A12CC 0029E22C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A12D0 0029E230 48 00 00 AC */ b lbl_802A137C +lbl_802A12D4: +/* 802A12D4 0029E234 28 00 00 00 */ cmplwi r0, 0 +/* 802A12D8 0029E238 41 82 00 20 */ beq lbl_802A12F8 +/* 802A12DC 0029E23C 38 80 00 00 */ li r4, 0 +/* 802A12E0 0029E240 38 60 00 01 */ li r3, 1 +/* 802A12E4 0029E244 38 00 00 02 */ li r0, 2 +/* 802A12E8 0029E248 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A12EC 0029E24C 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A12F0 0029E250 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A12F4 0029E254 48 00 00 88 */ b lbl_802A137C +lbl_802A12F8: +/* 802A12F8 0029E258 38 80 00 00 */ li r4, 0 +/* 802A12FC 0029E25C 38 60 00 02 */ li r3, 2 +/* 802A1300 0029E260 38 00 00 01 */ li r0, 1 +/* 802A1304 0029E264 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A1308 0029E268 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A130C 0029E26C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1310 0029E270 48 00 00 6C */ b lbl_802A137C +lbl_802A1314: +/* 802A1314 0029E274 28 00 00 00 */ cmplwi r0, 0 +/* 802A1318 0029E278 40 82 00 20 */ bne lbl_802A1338 +/* 802A131C 0029E27C 38 80 00 02 */ li r4, 2 +/* 802A1320 0029E280 38 60 00 01 */ li r3, 1 +/* 802A1324 0029E284 38 00 00 00 */ li r0, 0 +/* 802A1328 0029E288 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A132C 0029E28C 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1330 0029E290 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1334 0029E294 48 00 00 48 */ b lbl_802A137C +lbl_802A1338: +/* 802A1338 0029E298 28 03 00 00 */ cmplwi r3, 0 +/* 802A133C 0029E29C 41 82 00 20 */ beq lbl_802A135C +/* 802A1340 0029E2A0 38 80 00 01 */ li r4, 1 +/* 802A1344 0029E2A4 38 60 00 00 */ li r3, 0 +/* 802A1348 0029E2A8 38 00 00 02 */ li r0, 2 +/* 802A134C 0029E2AC 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A1350 0029E2B0 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1354 0029E2B4 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1358 0029E2B8 48 00 00 24 */ b lbl_802A137C +lbl_802A135C: +/* 802A135C 0029E2BC 38 80 00 01 */ li r4, 1 +/* 802A1360 0029E2C0 38 60 00 02 */ li r3, 2 +/* 802A1364 0029E2C4 38 00 00 00 */ li r0, 0 +/* 802A1368 0029E2C8 90 81 00 74 */ stw r4, 0x74(r1) +/* 802A136C 0029E2CC 90 61 00 78 */ stw r3, 0x78(r1) +/* 802A1370 0029E2D0 90 01 00 7C */ stw r0, 0x7c(r1) +/* 802A1374 0029E2D4 48 00 00 08 */ b lbl_802A137C +/* 802A1378 0029E2D8 48 00 01 F4 */ b lbl_802A156C +lbl_802A137C: +/* 802A137C 0029E2DC C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 802A1380 0029E2E0 3A 00 00 00 */ li r16, 0 +/* 802A1384 0029E2E4 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 802A1388 0029E2E8 38 00 00 00 */ li r0, 0 +/* 802A138C 0029E2EC EC 1C 00 32 */ fmuls f0, f28, f0 +/* 802A1390 0029E2F0 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802A1394 0029E2F4 C0 7C 00 14 */ lfs f3, 0x14(r28) +/* 802A1398 0029E2F8 EC BC 00 B2 */ fmuls f5, f28, f2 +/* 802A139C 0029E2FC C0 DC 00 04 */ lfs f6, 4(r28) +/* 802A13A0 0029E300 38 60 00 01 */ li r3, 1 +/* 802A13A4 0029E304 EC 41 00 2A */ fadds f2, f1, f0 +/* 802A13A8 0029E308 C0 9C 00 08 */ lfs f4, 8(r28) +/* 802A13AC 0029E30C EC 7C 00 F2 */ fmuls f3, f28, f3 +/* 802A13B0 0029E310 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802A13B4 0029E314 EC A6 28 2A */ fadds f5, f6, f5 +/* 802A13B8 0029E318 FC 20 10 18 */ frsp f1, f2 +/* 802A13BC 0029E31C EC 64 18 2A */ fadds f3, f4, f3 +/* 802A13C0 0029E320 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802A13C4 0029E324 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A13C8 0029E328 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 802A13CC 0029E32C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A13D0 0029E330 4C 41 13 82 */ cror 2, 1, 2 +/* 802A13D4 0029E334 40 82 00 0C */ bne lbl_802A13E0 +/* 802A13D8 0029E338 7C 60 00 30 */ slw r0, r3, r0 +/* 802A13DC 0029E33C 7C 10 03 78 */ mr r16, r0 +lbl_802A13E0: +/* 802A13E0 0029E340 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802A13E4 0029E344 38 00 00 01 */ li r0, 1 +/* 802A13E8 0029E348 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A13EC 0029E34C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A13F0 0029E350 4C 41 13 82 */ cror 2, 1, 2 +/* 802A13F4 0029E354 40 82 00 0C */ bne lbl_802A1400 +/* 802A13F8 0029E358 7C 60 00 30 */ slw r0, r3, r0 +/* 802A13FC 0029E35C 7E 10 03 78 */ or r16, r16, r0 +lbl_802A1400: +/* 802A1400 0029E360 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802A1404 0029E364 38 00 00 02 */ li r0, 2 +/* 802A1408 0029E368 C0 12 00 08 */ lfs f0, 8(r18) +/* 802A140C 0029E36C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1410 0029E370 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1414 0029E374 40 82 00 0C */ bne lbl_802A1420 +/* 802A1418 0029E378 7C 60 00 30 */ slw r0, r3, r0 +/* 802A141C 0029E37C 7E 10 03 78 */ or r16, r16, r0 +lbl_802A1420: +/* 802A1420 0029E380 FE A0 E0 90 */ fmr f21, f28 +/* 802A1424 0029E384 3A 61 00 70 */ addi r19, r1, 0x70 +/* 802A1428 0029E388 3A 91 FF FF */ addi r20, r17, -1 +/* 802A142C 0029E38C 3A 40 FF FF */ li r18, -1 +/* 802A1430 0029E390 48 00 01 34 */ b lbl_802A1564 +lbl_802A1434: +/* 802A1434 0029E394 2C 12 00 00 */ cmpwi r18, 0 +/* 802A1438 0029E398 41 80 00 14 */ blt lbl_802A144C +/* 802A143C 0029E39C 80 13 00 00 */ lwz r0, 0(r19) +/* 802A1440 0029E3A0 38 60 00 01 */ li r3, 1 +/* 802A1444 0029E3A4 7C 60 00 30 */ slw r0, r3, r0 +/* 802A1448 0029E3A8 7E 10 02 78 */ xor r16, r16, r0 +lbl_802A144C: +/* 802A144C 0029E3AC 7C 12 A0 00 */ cmpw r18, r20 +/* 802A1450 0029E3B0 40 80 00 18 */ bge lbl_802A1468 +/* 802A1454 0029E3B4 80 13 00 04 */ lwz r0, 4(r19) +/* 802A1458 0029E3B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A145C 0029E3BC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A1460 0029E3C0 7E C3 04 2E */ lfsx f22, r3, r0 +/* 802A1464 0029E3C4 48 00 00 08 */ b lbl_802A146C +lbl_802A1468: +/* 802A1468 0029E3C8 FE C0 D0 90 */ fmr f22, f26 +lbl_802A146C: +/* 802A146C 0029E3CC FC 16 F8 40 */ fcmpo cr0, f22, f31 +/* 802A1470 0029E3D0 40 81 00 E8 */ ble lbl_802A1558 +/* 802A1474 0029E3D4 FC 15 B0 40 */ fcmpo cr0, f21, f22 +/* 802A1478 0029E3D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A147C 0029E3DC 40 82 00 DC */ bne lbl_802A1558 +/* 802A1480 0029E3E0 7F 64 DB 78 */ mr r4, r27 +/* 802A1484 0029E3E4 7E 05 83 78 */ mr r5, r16 +/* 802A1488 0029E3E8 38 61 01 00 */ addi r3, r1, 0x100 +/* 802A148C 0029E3EC 48 00 18 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A1490 0029E3F0 80 01 01 20 */ lwz r0, 0x120(r1) +/* 802A1494 0029E3F4 C0 A1 01 00 */ lfs f5, 0x100(r1) +/* 802A1498 0029E3F8 C0 81 01 04 */ lfs f4, 0x104(r1) +/* 802A149C 0029E3FC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A14A0 0029E400 C0 61 01 08 */ lfs f3, 0x108(r1) +/* 802A14A4 0029E404 C0 41 01 0C */ lfs f2, 0x10c(r1) +/* 802A14A8 0029E408 C0 21 01 10 */ lfs f1, 0x110(r1) +/* 802A14AC 0029E40C C0 01 01 14 */ lfs f0, 0x114(r1) +/* 802A14B0 0029E410 80 81 01 18 */ lwz r4, 0x118(r1) +/* 802A14B4 0029E414 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 802A14B8 0029E418 D0 A1 02 14 */ stfs f5, 0x214(r1) +/* 802A14BC 0029E41C D0 81 02 18 */ stfs f4, 0x218(r1) +/* 802A14C0 0029E420 D0 61 02 1C */ stfs f3, 0x21c(r1) +/* 802A14C4 0029E424 D0 41 02 20 */ stfs f2, 0x220(r1) +/* 802A14C8 0029E428 D0 21 02 24 */ stfs f1, 0x224(r1) +/* 802A14CC 0029E42C D0 01 02 28 */ stfs f0, 0x228(r1) +/* 802A14D0 0029E430 90 81 02 2C */ stw r4, 0x22c(r1) +/* 802A14D4 0029E434 90 61 02 30 */ stw r3, 0x230(r1) +/* 802A14D8 0029E438 90 01 02 34 */ stw r0, 0x234(r1) +/* 802A14DC 0029E43C 41 82 00 28 */ beq lbl_802A1504 +/* 802A14E0 0029E440 FC 20 A8 90 */ fmr f1, f21 +/* 802A14E4 0029E444 7F 84 E3 78 */ mr r4, r28 +/* 802A14E8 0029E448 FC 40 B0 90 */ fmr f2, f22 +/* 802A14EC 0029E44C 7F A5 EB 78 */ mr r5, r29 +/* 802A14F0 0029E450 FC 60 C8 90 */ fmr f3, f25 +/* 802A14F4 0029E454 7F C6 F3 78 */ mr r6, r30 +/* 802A14F8 0029E458 7F E7 FB 78 */ mr r7, r31 +/* 802A14FC 0029E45C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802A1500 0029E460 4B FF F5 0D */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A1504: +/* 802A1504 0029E464 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 802A1508 0029E468 28 00 00 00 */ cmplwi r0, 0 +/* 802A150C 0029E46C 41 82 00 4C */ beq lbl_802A1558 +/* 802A1510 0029E470 C0 1E 00 3C */ lfs f0, 0x3c(r30) +/* 802A1514 0029E474 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 802A1518 0029E478 40 81 00 54 */ ble lbl_802A156C +/* 802A151C 0029E47C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A1520 0029E480 38 00 00 00 */ li r0, 0 +/* 802A1524 0029E484 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A1528 0029E488 7F C3 F3 78 */ mr r3, r30 +/* 802A152C 0029E48C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A1530 0029E490 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802A1534 0029E494 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 802A1538 0029E498 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 802A153C 0029E49C D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 802A1540 0029E4A0 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 802A1544 0029E4A4 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802A1548 0029E4A8 48 00 00 91 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +/* 802A154C 0029E4AC 38 00 00 00 */ li r0, 0 +/* 802A1550 0029E4B0 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 802A1554 0029E4B4 48 00 00 18 */ b lbl_802A156C +lbl_802A1558: +/* 802A1558 0029E4B8 FE A0 B0 90 */ fmr f21, f22 +/* 802A155C 0029E4BC 3A 73 00 04 */ addi r19, r19, 4 +/* 802A1560 0029E4C0 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A1564: +/* 802A1564 0029E4C4 7C 12 88 00 */ cmpw r18, r17 +/* 802A1568 0029E4C8 41 80 FE CC */ blt lbl_802A1434 +lbl_802A156C: +/* 802A156C 0029E4CC E3 E1 04 58 */ psq_l f31, 1112(r1), 0, qr0 +/* 802A1570 0029E4D0 CB E1 04 50 */ lfd f31, 0x450(r1) +/* 802A1574 0029E4D4 E3 C1 04 48 */ psq_l f30, 1096(r1), 0, qr0 +/* 802A1578 0029E4D8 CB C1 04 40 */ lfd f30, 0x440(r1) +/* 802A157C 0029E4DC E3 A1 04 38 */ psq_l f29, 1080(r1), 0, qr0 +/* 802A1580 0029E4E0 CB A1 04 30 */ lfd f29, 0x430(r1) +/* 802A1584 0029E4E4 E3 81 04 28 */ psq_l f28, 1064(r1), 0, qr0 +/* 802A1588 0029E4E8 CB 81 04 20 */ lfd f28, 0x420(r1) +/* 802A158C 0029E4EC E3 61 04 18 */ psq_l f27, 1048(r1), 0, qr0 +/* 802A1590 0029E4F0 CB 61 04 10 */ lfd f27, 0x410(r1) +/* 802A1594 0029E4F4 E3 41 04 08 */ psq_l f26, 1032(r1), 0, qr0 +/* 802A1598 0029E4F8 CB 41 04 00 */ lfd f26, 0x400(r1) +/* 802A159C 0029E4FC E3 21 03 F8 */ psq_l f25, 1016(r1), 0, qr0 +/* 802A15A0 0029E500 CB 21 03 F0 */ lfd f25, 0x3f0(r1) +/* 802A15A4 0029E504 E3 01 03 E8 */ psq_l f24, 1000(r1), 0, qr0 +/* 802A15A8 0029E508 CB 01 03 E0 */ lfd f24, 0x3e0(r1) +/* 802A15AC 0029E50C E2 E1 03 D8 */ psq_l f23, 984(r1), 0, qr0 +/* 802A15B0 0029E510 CA E1 03 D0 */ lfd f23, 0x3d0(r1) +/* 802A15B4 0029E514 E2 C1 03 C8 */ psq_l f22, 968(r1), 0, qr0 +/* 802A15B8 0029E518 CA C1 03 C0 */ lfd f22, 0x3c0(r1) +/* 802A15BC 0029E51C E2 A1 03 B8 */ psq_l f21, 952(r1), 0, qr0 +/* 802A15C0 0029E520 CA A1 03 B0 */ lfd f21, 0x3b0(r1) +/* 802A15C4 0029E524 BA 01 03 70 */ lmw r16, 0x370(r1) +/* 802A15C8 0029E528 80 01 04 64 */ lwz r0, 0x464(r1) +/* 802A15CC 0029E52C 7C 08 03 A6 */ mtlr r0 +/* 802A15D0 0029E530 38 21 04 60 */ addi r1, r1, 0x460 +/* 802A15D4 0029E534 4E 80 00 20 */ blr + +.global __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult +__as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult: +/* 802A15D8 0029E538 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A15DC 0029E53C 7C 08 02 A6 */ mflr r0 +/* 802A15E0 0029E540 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A15E4 0029E544 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A15E8 0029E548 7C 9F 23 78 */ mr r31, r4 +/* 802A15EC 0029E54C 93 C1 00 08 */ stw r30, 8(r1) +/* 802A15F0 0029E550 7C 7E 1B 78 */ mr r30, r3 +/* 802A15F4 0029E554 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A15F8 0029E558 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A15FC 0029E55C 38 9F 00 10 */ addi r4, r31, 0x10 +/* 802A1600 0029E560 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A1604 0029E564 C0 1F 00 04 */ lfs f0, 4(r31) +/* 802A1608 0029E568 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A160C 0029E56C C0 1F 00 08 */ lfs f0, 8(r31) +/* 802A1610 0029E570 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A1614 0029E574 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 802A1618 0029E578 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A161C 0029E57C 48 00 00 29 */ bl "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" +/* 802A1620 0029E580 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 802A1624 0029E584 7F C3 F3 78 */ mr r3, r30 +/* 802A1628 0029E588 D0 1E 00 3C */ stfs f0, 0x3c(r30) +/* 802A162C 0029E58C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A1630 0029E590 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A1634 0029E594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A1638 0029E598 7C 08 03 A6 */ mtlr r0 +/* 802A163C 0029E59C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A1640 0029E5A0 4E 80 00 20 */ blr + +.global "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" +"__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>": +/* 802A1644 0029E5A4 7C 03 20 40 */ cmplw r3, r4 +/* 802A1648 0029E5A8 4D 82 00 20 */ beqlr +/* 802A164C 0029E5AC 88 04 00 28 */ lbz r0, 0x28(r4) +/* 802A1650 0029E5B0 28 00 00 00 */ cmplwi r0, 0 +/* 802A1654 0029E5B4 41 82 00 C8 */ beq lbl_802A171C +/* 802A1658 0029E5B8 88 03 00 28 */ lbz r0, 0x28(r3) +/* 802A165C 0029E5BC 28 00 00 00 */ cmplwi r0, 0 +/* 802A1660 0029E5C0 40 82 00 68 */ bne lbl_802A16C8 +/* 802A1664 0029E5C4 28 03 00 00 */ cmplwi r3, 0 +/* 802A1668 0029E5C8 41 82 00 54 */ beq lbl_802A16BC +/* 802A166C 0029E5CC C0 04 00 00 */ lfs f0, 0(r4) +/* 802A1670 0029E5D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A1674 0029E5D4 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A1678 0029E5D8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A167C 0029E5DC C0 04 00 08 */ lfs f0, 8(r4) +/* 802A1680 0029E5E0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A1684 0029E5E4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A1688 0029E5E8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A168C 0029E5EC C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A1690 0029E5F0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A1694 0029E5F4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A1698 0029E5F8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A169C 0029E5FC C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A16A0 0029E600 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A16A4 0029E604 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A16A8 0029E608 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A16AC 0029E60C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A16B0 0029E610 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A16B4 0029E614 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802A16B8 0029E618 90 03 00 24 */ stw r0, 0x24(r3) +lbl_802A16BC: +/* 802A16BC 0029E61C 38 00 00 01 */ li r0, 1 +/* 802A16C0 0029E620 98 03 00 28 */ stb r0, 0x28(r3) +/* 802A16C4 0029E624 4E 80 00 20 */ blr +lbl_802A16C8: +/* 802A16C8 0029E628 80 A4 00 00 */ lwz r5, 0(r4) +/* 802A16CC 0029E62C 80 04 00 04 */ lwz r0, 4(r4) +/* 802A16D0 0029E630 90 A3 00 00 */ stw r5, 0(r3) +/* 802A16D4 0029E634 90 03 00 04 */ stw r0, 4(r3) +/* 802A16D8 0029E638 80 04 00 08 */ lwz r0, 8(r4) +/* 802A16DC 0029E63C 90 03 00 08 */ stw r0, 8(r3) +/* 802A16E0 0029E640 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802A16E4 0029E644 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802A16E8 0029E648 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802A16EC 0029E64C 90 03 00 10 */ stw r0, 0x10(r3) +/* 802A16F0 0029E650 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802A16F4 0029E654 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A16F8 0029E658 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 802A16FC 0029E65C 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 802A1700 0029E660 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A1704 0029E664 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802A1708 0029E668 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A170C 0029E66C 90 03 00 20 */ stw r0, 0x20(r3) +/* 802A1710 0029E670 80 04 00 24 */ lwz r0, 0x24(r4) +/* 802A1714 0029E674 90 03 00 24 */ stw r0, 0x24(r3) +/* 802A1718 0029E678 4E 80 00 20 */ blr +lbl_802A171C: +/* 802A171C 0029E67C 38 00 00 00 */ li r0, 0 +/* 802A1720 0029E680 98 03 00 28 */ stb r0, 0x28(r3) +/* 802A1724 0029E684 4E 80 00 20 */ blr + +.global LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f: +/* 802A1728 0029E688 94 21 FC 70 */ stwu r1, -0x390(r1) +/* 802A172C 0029E68C 7C 08 02 A6 */ mflr r0 +/* 802A1730 0029E690 90 01 03 94 */ stw r0, 0x394(r1) +/* 802A1734 0029E694 DB E1 03 80 */ stfd f31, 0x380(r1) +/* 802A1738 0029E698 F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 +/* 802A173C 0029E69C DB C1 03 70 */ stfd f30, 0x370(r1) +/* 802A1740 0029E6A0 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 +/* 802A1744 0029E6A4 DB A1 03 60 */ stfd f29, 0x360(r1) +/* 802A1748 0029E6A8 F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 +/* 802A174C 0029E6AC DB 81 03 50 */ stfd f28, 0x350(r1) +/* 802A1750 0029E6B0 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 +/* 802A1754 0029E6B4 DB 61 03 40 */ stfd f27, 0x340(r1) +/* 802A1758 0029E6B8 F3 61 03 48 */ psq_st f27, 840(r1), 0, qr0 +/* 802A175C 0029E6BC DB 41 03 30 */ stfd f26, 0x330(r1) +/* 802A1760 0029E6C0 F3 41 03 38 */ psq_st f26, 824(r1), 0, qr0 +/* 802A1764 0029E6C4 DB 21 03 20 */ stfd f25, 0x320(r1) +/* 802A1768 0029E6C8 F3 21 03 28 */ psq_st f25, 808(r1), 0, qr0 +/* 802A176C 0029E6CC DB 01 03 10 */ stfd f24, 0x310(r1) +/* 802A1770 0029E6D0 F3 01 03 18 */ psq_st f24, 792(r1), 0, qr0 +/* 802A1774 0029E6D4 DA E1 03 00 */ stfd f23, 0x300(r1) +/* 802A1778 0029E6D8 F2 E1 03 08 */ psq_st f23, 776(r1), 0, qr0 +/* 802A177C 0029E6DC DA C1 02 F0 */ stfd f22, 0x2f0(r1) +/* 802A1780 0029E6E0 F2 C1 02 F8 */ psq_st f22, 760(r1), 0, qr0 +/* 802A1784 0029E6E4 DA A1 02 E0 */ stfd f21, 0x2e0(r1) +/* 802A1788 0029E6E8 F2 A1 02 E8 */ psq_st f21, 744(r1), 0, qr0 +/* 802A178C 0029E6EC BF 01 02 C0 */ stmw r24, 0x2c0(r1) +/* 802A1790 0029E6F0 FF 80 08 90 */ fmr f28, f1 +/* 802A1794 0029E6F4 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) +/* 802A1798 0029E6F8 FF 60 10 90 */ fmr f27, f2 +/* 802A179C 0029E6FC C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) +/* 802A17A0 0029E700 FF 40 18 90 */ fmr f26, f3 +/* 802A17A4 0029E704 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A17A8 0029E708 3C E0 80 3D */ lis r7, lbl_803D5EF0@ha +/* 802A17AC 0029E70C EF E4 07 32 */ fmuls f31, f4, f28 +/* 802A17B0 0029E710 FC 1A 00 00 */ fcmpu cr0, f26, f0 +/* 802A17B4 0029E714 7C 7E 1B 78 */ mr r30, r3 +/* 802A17B8 0029E718 EF C1 06 F2 */ fmuls f30, f1, f27 +/* 802A17BC 0029E71C 7C 9F 23 78 */ mr r31, r4 +/* 802A17C0 0029E720 7C BD 2B 78 */ mr r29, r5 +/* 802A17C4 0029E724 7C DB 33 78 */ mr r27, r6 +/* 802A17C8 0029E728 3B 07 5E F0 */ addi r24, r7, lbl_803D5EF0@l +/* 802A17CC 0029E72C 41 82 00 2C */ beq lbl_802A17F8 +/* 802A17D0 0029E730 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A17D4 0029E734 40 80 00 08 */ bge lbl_802A17DC +/* 802A17D8 0029E738 FF E0 00 90 */ fmr f31, f0 +lbl_802A17DC: +/* 802A17DC 0029E73C FC 1E D0 40 */ fcmpo cr0, f30, f26 +/* 802A17E0 0029E740 40 81 00 08 */ ble lbl_802A17E8 +/* 802A17E4 0029E744 FF C0 D0 90 */ fmr f30, f26 +lbl_802A17E8: +/* 802A17E8 0029E748 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 802A17EC 0029E74C 40 81 00 0C */ ble lbl_802A17F8 +/* 802A17F0 0029E750 38 60 00 01 */ li r3, 1 +/* 802A17F4 0029E754 48 00 0A 4C */ b lbl_802A2240 +lbl_802A17F8: +/* 802A17F8 0029E758 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 802A17FC 0029E75C 2C 00 00 02 */ cmpwi r0, 2 +/* 802A1800 0029E760 40 82 01 C0 */ bne lbl_802A19C0 +/* 802A1804 0029E764 7F C4 F3 78 */ mr r4, r30 +/* 802A1808 0029E768 38 61 00 08 */ addi r3, r1, 8 +/* 802A180C 0029E76C 48 00 15 31 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A1810 0029E770 83 01 00 08 */ lwz r24, 8(r1) +/* 802A1814 0029E774 3B 40 00 00 */ li r26, 0 +/* 802A1818 0029E778 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) +/* 802A181C 0029E77C A3 38 00 18 */ lhz r25, 0x18(r24) +/* 802A1820 0029E780 48 00 01 90 */ b lbl_802A19B0 +lbl_802A1824: +/* 802A1824 0029E784 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 802A1828 0029E788 38 61 02 00 */ addi r3, r1, 0x200 +/* 802A182C 0029E78C A0 B8 00 1A */ lhz r5, 0x1a(r24) +/* 802A1830 0029E790 48 00 12 05 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A1834 0029E794 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A1838 0029E798 C2 C1 02 20 */ lfs f22, 0x220(r1) +/* 802A183C 0029E79C C3 21 02 14 */ lfs f25, 0x214(r1) +/* 802A1840 0029E7A0 C0 61 02 00 */ lfs f3, 0x200(r1) +/* 802A1844 0029E7A4 EC F6 08 28 */ fsubs f7, f22, f1 +/* 802A1848 0029E7A8 C3 01 02 18 */ lfs f24, 0x218(r1) +/* 802A184C 0029E7AC EC 99 08 28 */ fsubs f4, f25, f1 +/* 802A1850 0029E7B0 C0 41 02 04 */ lfs f2, 0x204(r1) +/* 802A1854 0029E7B4 C2 E1 02 1C */ lfs f23, 0x21c(r1) +/* 802A1858 0029E7B8 ED 38 18 28 */ fsubs f9, f24, f3 +/* 802A185C 0029E7BC C3 41 02 10 */ lfs f26, 0x210(r1) +/* 802A1860 0029E7C0 C1 BF 00 0C */ lfs f13, 0xc(r31) +/* 802A1864 0029E7C4 ED 17 10 28 */ fsubs f8, f23, f2 +/* 802A1868 0029E7C8 C2 A1 02 0C */ lfs f21, 0x20c(r1) +/* 802A186C 0029E7CC EC BA 10 28 */ fsubs f5, f26, f2 +/* 802A1870 0029E7D0 C3 7F 00 14 */ lfs f27, 0x14(r31) +/* 802A1874 0029E7D4 EC C7 03 72 */ fmuls f6, f7, f13 +/* 802A1878 0029E7D8 C3 9F 00 10 */ lfs f28, 0x10(r31) +/* 802A187C 0029E7DC EC 08 06 F2 */ fmuls f0, f8, f27 +/* 802A1880 0029E7E0 80 61 02 24 */ lwz r3, 0x224(r1) +/* 802A1884 0029E7E4 ED 7B 32 78 */ fmsubs f11, f27, f9, f6 +/* 802A1888 0029E7E8 D0 61 02 94 */ stfs f3, 0x294(r1) +/* 802A188C 0029E7EC ED 89 07 32 */ fmuls f12, f9, f28 +/* 802A1890 0029E7F0 EC D5 18 28 */ fsubs f6, f21, f3 +/* 802A1894 0029E7F4 ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 +/* 802A1898 0029E7F8 D0 41 02 98 */ stfs f2, 0x298(r1) +/* 802A189C 0029E7FC EC 05 02 F2 */ fmuls f0, f5, f11 +/* 802A18A0 0029E800 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 +/* 802A18A4 0029E804 D0 21 02 9C */ stfs f1, 0x29c(r1) +/* 802A18A8 0029E808 EC 06 02 BA */ fmadds f0, f6, f10, f0 +/* 802A18AC 0029E80C D2 A1 02 A0 */ stfs f21, 0x2a0(r1) +/* 802A18B0 0029E810 D3 41 02 A4 */ stfs f26, 0x2a4(r1) +/* 802A18B4 0029E814 EE A4 03 3A */ fmadds f21, f4, f12, f0 +/* 802A18B8 0029E818 D3 21 02 A8 */ stfs f25, 0x2a8(r1) +/* 802A18BC 0029E81C FC 00 AA 10 */ fabs f0, f21 +/* 802A18C0 0029E820 D3 01 02 AC */ stfs f24, 0x2ac(r1) +/* 802A18C4 0029E824 D2 E1 02 B0 */ stfs f23, 0x2b0(r1) +/* 802A18C8 0029E828 FC 00 00 18 */ frsp f0, f0 +/* 802A18CC 0029E82C D2 C1 02 B4 */ stfs f22, 0x2b4(r1) +/* 802A18D0 0029E830 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 802A18D4 0029E834 90 61 02 B8 */ stw r3, 0x2b8(r1) +/* 802A18D8 0029E838 41 80 00 D0 */ blt lbl_802A19A8 +/* 802A18DC 0029E83C C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) +/* 802A18E0 0029E840 C2 FF 00 04 */ lfs f23, 4(r31) +/* 802A18E4 0029E844 EF 40 A8 24 */ fdivs f26, f0, f21 +/* 802A18E8 0029E848 C2 DF 00 00 */ lfs f22, 0(r31) +/* 802A18EC 0029E84C C3 1F 00 08 */ lfs f24, 8(r31) +/* 802A18F0 0029E850 C3 22 C1 24 */ lfs f25, lbl_805ADE44@sda21(r2) +/* 802A18F4 0029E854 EE F7 10 28 */ fsubs f23, f23, f2 +/* 802A18F8 0029E858 EE D6 18 28 */ fsubs f22, f22, f3 +/* 802A18FC 0029E85C EE B8 08 28 */ fsubs f21, f24, f1 +/* 802A1900 0029E860 EC 37 02 F2 */ fmuls f1, f23, f11 +/* 802A1904 0029E864 EC 36 0A BA */ fmadds f1, f22, f10, f1 +/* 802A1908 0029E868 EC 35 0B 3A */ fmadds f1, f21, f12, f1 +/* 802A190C 0029E86C ED 5A 00 72 */ fmuls f10, f26, f1 +/* 802A1910 0029E870 FC 0A C8 40 */ fcmpo cr0, f10, f25 +/* 802A1914 0029E874 41 80 00 94 */ blt lbl_802A19A8 +/* 802A1918 0029E878 FC 0A 00 40 */ fcmpo cr0, f10, f0 +/* 802A191C 0029E87C 41 81 00 8C */ bgt lbl_802A19A8 +/* 802A1920 0029E880 EC 44 05 B2 */ fmuls f2, f4, f22 +/* 802A1924 0029E884 EC 25 05 72 */ fmuls f1, f5, f21 +/* 802A1928 0029E888 EC 66 05 F2 */ fmuls f3, f6, f23 +/* 802A192C 0029E88C EC D5 11 B8 */ fmsubs f6, f21, f6, f2 +/* 802A1930 0029E890 EC 57 09 38 */ fmsubs f2, f23, f4, f1 +/* 802A1934 0029E894 EC 76 19 78 */ fmsubs f3, f22, f5, f3 +/* 802A1938 0029E898 EC 26 02 32 */ fmuls f1, f6, f8 +/* 802A193C 0029E89C EC 22 0A 7A */ fmadds f1, f2, f9, f1 +/* 802A1940 0029E8A0 EC 23 09 FA */ fmadds f1, f3, f7, f1 +/* 802A1944 0029E8A4 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A1948 0029E8A8 FC 01 F0 40 */ fcmpo cr0, f1, f30 +/* 802A194C 0029E8AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1950 0029E8B0 41 82 00 58 */ beq lbl_802A19A8 +/* 802A1954 0029E8B4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 802A1958 0029E8B8 41 80 00 50 */ blt lbl_802A19A8 +/* 802A195C 0029E8BC EC 26 07 32 */ fmuls f1, f6, f28 +/* 802A1960 0029E8C0 EC 22 0B 7A */ fmadds f1, f2, f13, f1 +/* 802A1964 0029E8C4 EC 23 0E FA */ fmadds f1, f3, f27, f1 +/* 802A1968 0029E8C8 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 802A196C 0029E8CC FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 802A1970 0029E8D0 41 80 00 38 */ blt lbl_802A19A8 +/* 802A1974 0029E8D4 EC 2A 08 2A */ fadds f1, f10, f1 +/* 802A1978 0029E8D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A197C 0029E8DC 41 81 00 2C */ bgt lbl_802A19A8 +/* 802A1980 0029E8E0 38 00 00 00 */ li r0, 0 +/* 802A1984 0029E8E4 90 61 00 24 */ stw r3, 0x24(r1) +/* 802A1988 0029E8E8 7F A3 EB 78 */ mr r3, r29 +/* 802A198C 0029E8EC 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A1990 0029E8F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A1994 0029E8F4 48 03 39 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A1998 0029E8F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A199C 0029E8FC 41 82 00 0C */ beq lbl_802A19A8 +/* 802A19A0 0029E900 38 60 00 00 */ li r3, 0 +/* 802A19A4 0029E904 48 00 08 9C */ b lbl_802A2240 +lbl_802A19A8: +/* 802A19A8 0029E908 3B 18 00 02 */ addi r24, r24, 2 +/* 802A19AC 0029E90C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802A19B0: +/* 802A19B0 0029E910 7C 1A C8 00 */ cmpw r26, r25 +/* 802A19B4 0029E914 41 80 FE 70 */ blt lbl_802A1824 +/* 802A19B8 0029E918 38 60 00 01 */ li r3, 1 +/* 802A19BC 0029E91C 48 00 08 84 */ b lbl_802A2240 +lbl_802A19C0: +/* 802A19C0 0029E920 2C 00 00 01 */ cmpwi r0, 1 +/* 802A19C4 0029E924 40 82 08 78 */ bne lbl_802A223C +/* 802A19C8 0029E928 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802A19CC 0029E92C A0 03 00 00 */ lhz r0, 0(r3) +/* 802A19D0 0029E930 28 00 00 0A */ cmplwi r0, 0xa +/* 802A19D4 0029E934 40 82 01 94 */ bne lbl_802A1B68 +/* 802A19D8 0029E938 7F C4 F3 78 */ mr r4, r30 +/* 802A19DC 0029E93C 38 61 01 DC */ addi r3, r1, 0x1dc +/* 802A19E0 0029E940 38 A0 00 00 */ li r5, 0 +/* 802A19E4 0029E944 48 00 13 7D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A19E8 0029E948 C0 A1 01 DC */ lfs f5, 0x1dc(r1) +/* 802A19EC 0029E94C 7F E4 FB 78 */ mr r4, r31 +/* 802A19F0 0029E950 C0 81 01 E0 */ lfs f4, 0x1e0(r1) +/* 802A19F4 0029E954 38 61 01 7C */ addi r3, r1, 0x17c +/* 802A19F8 0029E958 C0 61 01 E4 */ lfs f3, 0x1e4(r1) +/* 802A19FC 0029E95C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 802A1A00 0029E960 C0 41 01 E8 */ lfs f2, 0x1e8(r1) +/* 802A1A04 0029E964 38 C1 00 14 */ addi r6, r1, 0x14 +/* 802A1A08 0029E968 C0 21 01 EC */ lfs f1, 0x1ec(r1) +/* 802A1A0C 0029E96C C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 802A1A10 0029E970 81 01 01 F4 */ lwz r8, 0x1f4(r1) +/* 802A1A14 0029E974 80 E1 01 F8 */ lwz r7, 0x1f8(r1) +/* 802A1A18 0029E978 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802A1A1C 0029E97C D0 A1 02 70 */ stfs f5, 0x270(r1) +/* 802A1A20 0029E980 D0 81 02 74 */ stfs f4, 0x274(r1) +/* 802A1A24 0029E984 D0 61 02 78 */ stfs f3, 0x278(r1) +/* 802A1A28 0029E988 D0 41 02 7C */ stfs f2, 0x27c(r1) +/* 802A1A2C 0029E98C D0 21 02 80 */ stfs f1, 0x280(r1) +/* 802A1A30 0029E990 D0 01 02 84 */ stfs f0, 0x284(r1) +/* 802A1A34 0029E994 91 01 02 88 */ stw r8, 0x288(r1) +/* 802A1A38 0029E998 90 E1 02 8C */ stw r7, 0x28c(r1) +/* 802A1A3C 0029E99C 90 01 02 90 */ stw r0, 0x290(r1) +/* 802A1A40 0029E9A0 D0 A1 01 7C */ stfs f5, 0x17c(r1) +/* 802A1A44 0029E9A4 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 802A1A48 0029E9A8 D0 61 01 84 */ stfs f3, 0x184(r1) +/* 802A1A4C 0029E9AC D0 41 01 88 */ stfs f2, 0x188(r1) +/* 802A1A50 0029E9B0 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 802A1A54 0029E9B4 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 802A1A58 0029E9B8 D3 81 00 18 */ stfs f28, 0x18(r1) +/* 802A1A5C 0029E9BC D3 61 00 14 */ stfs f27, 0x14(r1) +/* 802A1A60 0029E9C0 48 00 0A 15 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A1A64 0029E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1A68 0029E9C8 41 82 00 34 */ beq lbl_802A1A9C +/* 802A1A6C 0029E9CC FC 60 D0 90 */ fmr f3, f26 +/* 802A1A70 0029E9D0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A1A74 0029E9D4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A1A78 0029E9D8 7F E4 FB 78 */ mr r4, r31 +/* 802A1A7C 0029E9DC 7F A5 EB 78 */ mr r5, r29 +/* 802A1A80 0029E9E0 7F 66 DB 78 */ mr r6, r27 +/* 802A1A84 0029E9E4 38 61 02 70 */ addi r3, r1, 0x270 +/* 802A1A88 0029E9E8 4B FF FC A1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A1A8C 0029E9EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1A90 0029E9F0 40 82 00 0C */ bne lbl_802A1A9C +/* 802A1A94 0029E9F4 38 60 00 00 */ li r3, 0 +/* 802A1A98 0029E9F8 48 00 07 A8 */ b lbl_802A2240 +lbl_802A1A9C: +/* 802A1A9C 0029E9FC 7F C4 F3 78 */ mr r4, r30 +/* 802A1AA0 0029EA00 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802A1AA4 0029EA04 38 A0 00 01 */ li r5, 1 +/* 802A1AA8 0029EA08 48 00 12 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A1AAC 0029EA0C C0 A1 01 B8 */ lfs f5, 0x1b8(r1) +/* 802A1AB0 0029EA10 7F E4 FB 78 */ mr r4, r31 +/* 802A1AB4 0029EA14 C0 81 01 BC */ lfs f4, 0x1bc(r1) +/* 802A1AB8 0029EA18 38 61 01 64 */ addi r3, r1, 0x164 +/* 802A1ABC 0029EA1C C0 61 01 C0 */ lfs f3, 0x1c0(r1) +/* 802A1AC0 0029EA20 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A1AC4 0029EA24 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 802A1AC8 0029EA28 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A1ACC 0029EA2C C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 802A1AD0 0029EA30 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 802A1AD4 0029EA34 81 01 01 D0 */ lwz r8, 0x1d0(r1) +/* 802A1AD8 0029EA38 80 E1 01 D4 */ lwz r7, 0x1d4(r1) +/* 802A1ADC 0029EA3C 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802A1AE0 0029EA40 D0 A1 02 4C */ stfs f5, 0x24c(r1) +/* 802A1AE4 0029EA44 D0 81 02 50 */ stfs f4, 0x250(r1) +/* 802A1AE8 0029EA48 D0 61 02 54 */ stfs f3, 0x254(r1) +/* 802A1AEC 0029EA4C D0 41 02 58 */ stfs f2, 0x258(r1) +/* 802A1AF0 0029EA50 D0 21 02 5C */ stfs f1, 0x25c(r1) +/* 802A1AF4 0029EA54 D0 01 02 60 */ stfs f0, 0x260(r1) +/* 802A1AF8 0029EA58 91 01 02 64 */ stw r8, 0x264(r1) +/* 802A1AFC 0029EA5C 90 E1 02 68 */ stw r7, 0x268(r1) +/* 802A1B00 0029EA60 90 01 02 6C */ stw r0, 0x26c(r1) +/* 802A1B04 0029EA64 D0 A1 01 64 */ stfs f5, 0x164(r1) +/* 802A1B08 0029EA68 D0 81 01 68 */ stfs f4, 0x168(r1) +/* 802A1B0C 0029EA6C D0 61 01 6C */ stfs f3, 0x16c(r1) +/* 802A1B10 0029EA70 D0 41 01 70 */ stfs f2, 0x170(r1) +/* 802A1B14 0029EA74 D0 21 01 74 */ stfs f1, 0x174(r1) +/* 802A1B18 0029EA78 D0 01 01 78 */ stfs f0, 0x178(r1) +/* 802A1B1C 0029EA7C D3 81 00 10 */ stfs f28, 0x10(r1) +/* 802A1B20 0029EA80 D3 61 00 0C */ stfs f27, 0xc(r1) +/* 802A1B24 0029EA84 48 00 09 51 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A1B28 0029EA88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1B2C 0029EA8C 41 82 00 34 */ beq lbl_802A1B60 +/* 802A1B30 0029EA90 FC 60 D0 90 */ fmr f3, f26 +/* 802A1B34 0029EA94 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802A1B38 0029EA98 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802A1B3C 0029EA9C 7F E4 FB 78 */ mr r4, r31 +/* 802A1B40 0029EAA0 7F A5 EB 78 */ mr r5, r29 +/* 802A1B44 0029EAA4 7F 66 DB 78 */ mr r6, r27 +/* 802A1B48 0029EAA8 38 61 02 4C */ addi r3, r1, 0x24c +/* 802A1B4C 0029EAAC 4B FF FB DD */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A1B50 0029EAB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A1B54 0029EAB4 40 82 00 0C */ bne lbl_802A1B60 +/* 802A1B58 0029EAB8 38 60 00 00 */ li r3, 0 +/* 802A1B5C 0029EABC 48 00 06 E4 */ b lbl_802A2240 +lbl_802A1B60: +/* 802A1B60 0029EAC0 38 60 00 01 */ li r3, 1 +/* 802A1B64 0029EAC4 48 00 06 DC */ b lbl_802A2240 +lbl_802A1B68: +/* 802A1B68 0029EAC8 7F C4 F3 78 */ mr r4, r30 +/* 802A1B6C 0029EACC 38 61 01 28 */ addi r3, r1, 0x128 +/* 802A1B70 0029EAD0 48 09 5A 9D */ bl GetCenterPoint__6CAABoxCFv +/* 802A1B74 0029EAD4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 802A1B78 0029EAD8 39 21 01 34 */ addi r9, r1, 0x134 +/* 802A1B7C 0029EADC C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 802A1B80 0029EAE0 38 00 00 03 */ li r0, 3 +/* 802A1B84 0029EAE4 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A1B88 0029EAE8 EC BC 00 32 */ fmuls f5, f28, f0 +/* 802A1B8C 0029EAEC C3 A1 01 28 */ lfs f29, 0x128(r1) +/* 802A1B90 0029EAF0 EC 7C 01 32 */ fmuls f3, f28, f4 +/* 802A1B94 0029EAF4 C1 A1 01 2C */ lfs f13, 0x12c(r1) +/* 802A1B98 0029EAF8 EC 3C 00 B2 */ fmuls f1, f28, f2 +/* 802A1B9C 0029EAFC C1 7F 00 04 */ lfs f11, 4(r31) +/* 802A1BA0 0029EB00 C1 3F 00 00 */ lfs f9, 0(r31) +/* 802A1BA4 0029EB04 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 802A1BA8 0029EB08 C1 81 01 30 */ lfs f12, 0x130(r1) +/* 802A1BAC 0029EB0C EC DB 00 B2 */ fmuls f6, f27, f2 +/* 802A1BB0 0029EB10 C1 5F 00 08 */ lfs f10, 8(r31) +/* 802A1BB4 0029EB14 EC FB 01 32 */ fmuls f7, f27, f4 +/* 802A1BB8 0029EB18 EE CB 28 2A */ fadds f22, f11, f5 +/* 802A1BBC 0029EB1C EE AA 18 2A */ fadds f21, f10, f3 +/* 802A1BC0 0029EB20 C0 BB 00 08 */ lfs f5, 8(r27) +/* 802A1BC4 0029EB24 EC 8C 50 28 */ fsubs f4, f12, f10 +/* 802A1BC8 0029EB28 C0 7B 00 04 */ lfs f3, 4(r27) +/* 802A1BCC 0029EB2C EC 4D 58 28 */ fsubs f2, f13, f11 +/* 802A1BD0 0029EB30 ED 09 08 2A */ fadds f8, f9, f1 +/* 802A1BD4 0029EB34 ED 6B 00 2A */ fadds f11, f11, f0 +/* 802A1BD8 0029EB38 C0 3B 00 00 */ lfs f1, 0(r27) +/* 802A1BDC 0029EB3C EC 1D 48 28 */ fsubs f0, f29, f9 +/* 802A1BE0 0029EB40 7D 23 4B 78 */ mr r3, r9 +/* 802A1BE4 0029EB44 EC EA 38 2A */ fadds f7, f10, f7 +/* 802A1BE8 0029EB48 EC C9 30 2A */ fadds f6, f9, f6 +/* 802A1BEC 0029EB4C EC 85 01 32 */ fmuls f4, f5, f4 +/* 802A1BF0 0029EB50 D3 A1 01 58 */ stfs f29, 0x158(r1) +/* 802A1BF4 0029EB54 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802A1BF8 0029EB58 38 98 00 00 */ addi r4, r24, 0 +/* 802A1BFC 0029EB5C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A1C00 0029EB60 D1 A1 01 5C */ stfs f13, 0x15c(r1) +/* 802A1C04 0029EB64 38 A1 01 58 */ addi r5, r1, 0x158 +/* 802A1C08 0029EB68 38 C1 01 4C */ addi r6, r1, 0x14c +/* 802A1C0C 0029EB6C D1 81 01 60 */ stfs f12, 0x160(r1) +/* 802A1C10 0029EB70 38 E1 01 40 */ addi r7, r1, 0x140 +/* 802A1C14 0029EB74 39 18 00 0C */ addi r8, r24, 0xc +/* 802A1C18 0029EB78 3B 80 00 00 */ li r28, 0 +/* 802A1C1C 0029EB7C D1 01 01 4C */ stfs f8, 0x14c(r1) +/* 802A1C20 0029EB80 3B 20 00 00 */ li r25, 0 +/* 802A1C24 0029EB84 3B 40 00 00 */ li r26, 0 +/* 802A1C28 0029EB88 D2 C1 01 50 */ stfs f22, 0x150(r1) +/* 802A1C2C 0029EB8C D2 A1 01 54 */ stfs f21, 0x154(r1) +/* 802A1C30 0029EB90 D0 C1 01 40 */ stfs f6, 0x140(r1) +/* 802A1C34 0029EB94 D1 61 01 44 */ stfs f11, 0x144(r1) +/* 802A1C38 0029EB98 D0 E1 01 48 */ stfs f7, 0x148(r1) +/* 802A1C3C 0029EB9C D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802A1C40 0029EBA0 D0 41 01 38 */ stfs f2, 0x138(r1) +/* 802A1C44 0029EBA4 D0 81 01 3C */ stfs f4, 0x13c(r1) +/* 802A1C48 0029EBA8 7C 09 03 A6 */ mtctr r0 +lbl_802A1C4C: +/* 802A1C4C 0029EBAC C0 06 00 00 */ lfs f0, 0(r6) +/* 802A1C50 0029EBB0 C0 25 00 00 */ lfs f1, 0(r5) +/* 802A1C54 0029EBB4 81 44 00 00 */ lwz r10, 0(r4) +/* 802A1C58 0029EBB8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A1C5C 0029EBBC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1C60 0029EBC0 40 82 00 08 */ bne lbl_802A1C68 +/* 802A1C64 0029EBC4 7F 9C 53 78 */ or r28, r28, r10 +lbl_802A1C68: +/* 802A1C68 0029EBC8 C0 07 00 00 */ lfs f0, 0(r7) +/* 802A1C6C 0029EBCC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 802A1C70 0029EBD0 4C 41 13 82 */ cror 2, 1, 2 +/* 802A1C74 0029EBD4 40 82 00 08 */ bne lbl_802A1C7C +/* 802A1C78 0029EBD8 7F 39 53 78 */ or r25, r25, r10 +lbl_802A1C7C: +/* 802A1C7C 0029EBDC 80 08 00 00 */ lwz r0, 0(r8) +/* 802A1C80 0029EBE0 C0 29 00 00 */ lfs f1, 0(r9) +/* 802A1C84 0029EBE4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A1C88 0029EBE8 7C 03 04 2E */ lfsx f0, r3, r0 +/* 802A1C8C 0029EBEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A1C90 0029EBF0 40 80 00 08 */ bge lbl_802A1C98 +/* 802A1C94 0029EBF4 7F 5A 53 78 */ or r26, r26, r10 +lbl_802A1C98: +/* 802A1C98 0029EBF8 38 84 00 04 */ addi r4, r4, 4 +/* 802A1C9C 0029EBFC 38 A5 00 04 */ addi r5, r5, 4 +/* 802A1CA0 0029EC00 38 C6 00 04 */ addi r6, r6, 4 +/* 802A1CA4 0029EC04 38 E7 00 04 */ addi r7, r7, 4 +/* 802A1CA8 0029EC08 39 08 00 04 */ addi r8, r8, 4 +/* 802A1CAC 0029EC0C 39 29 00 04 */ addi r9, r9, 4 +/* 802A1CB0 0029EC10 42 00 FF 9C */ bdnz lbl_802A1C4C +/* 802A1CB4 0029EC14 88 0D A5 B8 */ lbz r0, lbl_805A9178@sda21(r13) +/* 802A1CB8 0029EC18 7C 00 07 75 */ extsb. r0, r0 +/* 802A1CBC 0029EC1C 40 82 04 4C */ bne lbl_802A2108 +/* 802A1CC0 0029EC20 38 00 00 00 */ li r0, 0 +/* 802A1CC4 0029EC24 38 61 01 1C */ addi r3, r1, 0x11c +/* 802A1CC8 0029EC28 90 01 01 18 */ stw r0, 0x118(r1) +/* 802A1CCC 0029EC2C 38 80 00 00 */ li r4, 0 +/* 802A1CD0 0029EC30 38 A0 00 00 */ li r5, 0 +/* 802A1CD4 0029EC34 38 C0 00 00 */ li r6, 0 +/* 802A1CD8 0029EC38 48 07 2F 71 */ bl __ct__9CVector3iFiii +/* 802A1CDC 0029EC3C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1CE0 0029EC40 80 81 01 18 */ lwz r4, 0x118(r1) +/* 802A1CE4 0029EC44 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1CE8 0029EC48 80 C1 01 1C */ lwz r6, 0x11c(r1) +/* 802A1CEC 0029EC4C 81 01 01 20 */ lwz r8, 0x120(r1) +/* 802A1CF0 0029EC50 38 00 00 01 */ li r0, 1 +/* 802A1CF4 0029EC54 80 E1 01 24 */ lwz r7, 0x124(r1) +/* 802A1CF8 0029EC58 38 61 01 0C */ addi r3, r1, 0x10c +/* 802A1CFC 0029EC5C 90 89 00 00 */ stw r4, 0(r9) +/* 802A1D00 0029EC60 38 80 00 00 */ li r4, 0 +/* 802A1D04 0029EC64 38 A0 00 00 */ li r5, 0 +/* 802A1D08 0029EC68 90 C9 00 04 */ stw r6, 4(r9) +/* 802A1D0C 0029EC6C 38 C0 00 00 */ li r6, 0 +/* 802A1D10 0029EC70 91 09 00 08 */ stw r8, 8(r9) +/* 802A1D14 0029EC74 90 E9 00 0C */ stw r7, 0xc(r9) +/* 802A1D18 0029EC78 90 01 01 08 */ stw r0, 0x108(r1) +/* 802A1D1C 0029EC7C 48 07 2F 2D */ bl __ct__9CVector3iFiii +/* 802A1D20 0029EC80 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1D24 0029EC84 80 81 01 08 */ lwz r4, 0x108(r1) +/* 802A1D28 0029EC88 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1D2C 0029EC8C 80 C1 01 0C */ lwz r6, 0x10c(r1) +/* 802A1D30 0029EC90 81 01 01 10 */ lwz r8, 0x110(r1) +/* 802A1D34 0029EC94 38 00 00 01 */ li r0, 1 +/* 802A1D38 0029EC98 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 802A1D3C 0029EC9C 38 61 00 FC */ addi r3, r1, 0xfc +/* 802A1D40 0029ECA0 90 89 00 10 */ stw r4, 0x10(r9) +/* 802A1D44 0029ECA4 38 80 00 01 */ li r4, 1 +/* 802A1D48 0029ECA8 38 A0 00 00 */ li r5, 0 +/* 802A1D4C 0029ECAC 90 C9 00 14 */ stw r6, 0x14(r9) +/* 802A1D50 0029ECB0 38 C0 00 00 */ li r6, 0 +/* 802A1D54 0029ECB4 91 09 00 18 */ stw r8, 0x18(r9) +/* 802A1D58 0029ECB8 90 E9 00 1C */ stw r7, 0x1c(r9) +/* 802A1D5C 0029ECBC 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 802A1D60 0029ECC0 48 07 2E E9 */ bl __ct__9CVector3iFiii +/* 802A1D64 0029ECC4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1D68 0029ECC8 80 81 00 F8 */ lwz r4, 0xf8(r1) +/* 802A1D6C 0029ECCC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1D70 0029ECD0 80 C1 00 FC */ lwz r6, 0xfc(r1) +/* 802A1D74 0029ECD4 81 01 01 00 */ lwz r8, 0x100(r1) +/* 802A1D78 0029ECD8 38 00 00 02 */ li r0, 2 +/* 802A1D7C 0029ECDC 80 E1 01 04 */ lwz r7, 0x104(r1) +/* 802A1D80 0029ECE0 38 61 00 EC */ addi r3, r1, 0xec +/* 802A1D84 0029ECE4 90 89 00 20 */ stw r4, 0x20(r9) +/* 802A1D88 0029ECE8 38 80 00 00 */ li r4, 0 +/* 802A1D8C 0029ECEC 38 A0 00 01 */ li r5, 1 +/* 802A1D90 0029ECF0 90 C9 00 24 */ stw r6, 0x24(r9) +/* 802A1D94 0029ECF4 38 C0 00 00 */ li r6, 0 +/* 802A1D98 0029ECF8 91 09 00 28 */ stw r8, 0x28(r9) +/* 802A1D9C 0029ECFC 90 E9 00 2C */ stw r7, 0x2c(r9) +/* 802A1DA0 0029ED00 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 802A1DA4 0029ED04 48 07 2E A5 */ bl __ct__9CVector3iFiii +/* 802A1DA8 0029ED08 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1DAC 0029ED0C 80 81 00 E8 */ lwz r4, 0xe8(r1) +/* 802A1DB0 0029ED10 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1DB4 0029ED14 80 C1 00 EC */ lwz r6, 0xec(r1) +/* 802A1DB8 0029ED18 81 01 00 F0 */ lwz r8, 0xf0(r1) +/* 802A1DBC 0029ED1C 38 00 00 02 */ li r0, 2 +/* 802A1DC0 0029ED20 80 E1 00 F4 */ lwz r7, 0xf4(r1) +/* 802A1DC4 0029ED24 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A1DC8 0029ED28 90 89 00 30 */ stw r4, 0x30(r9) +/* 802A1DCC 0029ED2C 38 80 00 01 */ li r4, 1 +/* 802A1DD0 0029ED30 38 A0 00 00 */ li r5, 0 +/* 802A1DD4 0029ED34 90 C9 00 34 */ stw r6, 0x34(r9) +/* 802A1DD8 0029ED38 38 C0 00 00 */ li r6, 0 +/* 802A1DDC 0029ED3C 91 09 00 38 */ stw r8, 0x38(r9) +/* 802A1DE0 0029ED40 90 E9 00 3C */ stw r7, 0x3c(r9) +/* 802A1DE4 0029ED44 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 802A1DE8 0029ED48 48 07 2E 61 */ bl __ct__9CVector3iFiii +/* 802A1DEC 0029ED4C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1DF0 0029ED50 80 81 00 D8 */ lwz r4, 0xd8(r1) +/* 802A1DF4 0029ED54 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1DF8 0029ED58 80 C1 00 DC */ lwz r6, 0xdc(r1) +/* 802A1DFC 0029ED5C 81 01 00 E0 */ lwz r8, 0xe0(r1) +/* 802A1E00 0029ED60 38 00 00 01 */ li r0, 1 +/* 802A1E04 0029ED64 80 E1 00 E4 */ lwz r7, 0xe4(r1) +/* 802A1E08 0029ED68 38 61 00 CC */ addi r3, r1, 0xcc +/* 802A1E0C 0029ED6C 90 89 00 40 */ stw r4, 0x40(r9) +/* 802A1E10 0029ED70 38 80 00 02 */ li r4, 2 +/* 802A1E14 0029ED74 38 A0 00 00 */ li r5, 0 +/* 802A1E18 0029ED78 90 C9 00 44 */ stw r6, 0x44(r9) +/* 802A1E1C 0029ED7C 38 C0 00 00 */ li r6, 0 +/* 802A1E20 0029ED80 91 09 00 48 */ stw r8, 0x48(r9) +/* 802A1E24 0029ED84 90 E9 00 4C */ stw r7, 0x4c(r9) +/* 802A1E28 0029ED88 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 802A1E2C 0029ED8C 48 07 2E 1D */ bl __ct__9CVector3iFiii +/* 802A1E30 0029ED90 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1E34 0029ED94 80 81 00 C8 */ lwz r4, 0xc8(r1) +/* 802A1E38 0029ED98 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1E3C 0029ED9C 80 C1 00 CC */ lwz r6, 0xcc(r1) +/* 802A1E40 0029EDA0 81 01 00 D0 */ lwz r8, 0xd0(r1) +/* 802A1E44 0029EDA4 38 00 00 02 */ li r0, 2 +/* 802A1E48 0029EDA8 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 802A1E4C 0029EDAC 38 61 00 BC */ addi r3, r1, 0xbc +/* 802A1E50 0029EDB0 90 89 00 50 */ stw r4, 0x50(r9) +/* 802A1E54 0029EDB4 38 80 00 00 */ li r4, 0 +/* 802A1E58 0029EDB8 38 A0 00 02 */ li r5, 2 +/* 802A1E5C 0029EDBC 90 C9 00 54 */ stw r6, 0x54(r9) +/* 802A1E60 0029EDC0 38 C0 00 00 */ li r6, 0 +/* 802A1E64 0029EDC4 91 09 00 58 */ stw r8, 0x58(r9) +/* 802A1E68 0029EDC8 90 E9 00 5C */ stw r7, 0x5c(r9) +/* 802A1E6C 0029EDCC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 802A1E70 0029EDD0 48 07 2D D9 */ bl __ct__9CVector3iFiii +/* 802A1E74 0029EDD4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1E78 0029EDD8 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 802A1E7C 0029EDDC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1E80 0029EDE0 80 C1 00 BC */ lwz r6, 0xbc(r1) +/* 802A1E84 0029EDE4 81 01 00 C0 */ lwz r8, 0xc0(r1) +/* 802A1E88 0029EDE8 38 00 00 02 */ li r0, 2 +/* 802A1E8C 0029EDEC 80 E1 00 C4 */ lwz r7, 0xc4(r1) +/* 802A1E90 0029EDF0 38 61 00 AC */ addi r3, r1, 0xac +/* 802A1E94 0029EDF4 90 89 00 60 */ stw r4, 0x60(r9) +/* 802A1E98 0029EDF8 38 80 00 02 */ li r4, 2 +/* 802A1E9C 0029EDFC 38 A0 00 00 */ li r5, 0 +/* 802A1EA0 0029EE00 90 C9 00 64 */ stw r6, 0x64(r9) +/* 802A1EA4 0029EE04 38 C0 00 00 */ li r6, 0 +/* 802A1EA8 0029EE08 91 09 00 68 */ stw r8, 0x68(r9) +/* 802A1EAC 0029EE0C 90 E9 00 6C */ stw r7, 0x6c(r9) +/* 802A1EB0 0029EE10 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 802A1EB4 0029EE14 48 07 2D 95 */ bl __ct__9CVector3iFiii +/* 802A1EB8 0029EE18 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1EBC 0029EE1C 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 802A1EC0 0029EE20 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1EC4 0029EE24 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 802A1EC8 0029EE28 81 01 00 B0 */ lwz r8, 0xb0(r1) +/* 802A1ECC 0029EE2C 38 00 00 02 */ li r0, 2 +/* 802A1ED0 0029EE30 80 E1 00 B4 */ lwz r7, 0xb4(r1) +/* 802A1ED4 0029EE34 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A1ED8 0029EE38 90 89 00 70 */ stw r4, 0x70(r9) +/* 802A1EDC 0029EE3C 38 80 00 02 */ li r4, 2 +/* 802A1EE0 0029EE40 38 A0 00 01 */ li r5, 1 +/* 802A1EE4 0029EE44 90 C9 00 74 */ stw r6, 0x74(r9) +/* 802A1EE8 0029EE48 38 C0 00 00 */ li r6, 0 +/* 802A1EEC 0029EE4C 91 09 00 78 */ stw r8, 0x78(r9) +/* 802A1EF0 0029EE50 90 E9 00 7C */ stw r7, 0x7c(r9) +/* 802A1EF4 0029EE54 90 01 00 98 */ stw r0, 0x98(r1) +/* 802A1EF8 0029EE58 48 07 2D 51 */ bl __ct__9CVector3iFiii +/* 802A1EFC 0029EE5C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F00 0029EE60 80 81 00 98 */ lwz r4, 0x98(r1) +/* 802A1F04 0029EE64 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F08 0029EE68 80 C1 00 9C */ lwz r6, 0x9c(r1) +/* 802A1F0C 0029EE6C 81 01 00 A0 */ lwz r8, 0xa0(r1) +/* 802A1F10 0029EE70 38 00 00 02 */ li r0, 2 +/* 802A1F14 0029EE74 80 E1 00 A4 */ lwz r7, 0xa4(r1) +/* 802A1F18 0029EE78 38 61 00 8C */ addi r3, r1, 0x8c +/* 802A1F1C 0029EE7C 90 89 00 80 */ stw r4, 0x80(r9) +/* 802A1F20 0029EE80 38 80 00 01 */ li r4, 1 +/* 802A1F24 0029EE84 38 A0 00 02 */ li r5, 2 +/* 802A1F28 0029EE88 90 C9 00 84 */ stw r6, 0x84(r9) +/* 802A1F2C 0029EE8C 38 C0 00 00 */ li r6, 0 +/* 802A1F30 0029EE90 91 09 00 88 */ stw r8, 0x88(r9) +/* 802A1F34 0029EE94 90 E9 00 8C */ stw r7, 0x8c(r9) +/* 802A1F38 0029EE98 90 01 00 88 */ stw r0, 0x88(r1) +/* 802A1F3C 0029EE9C 48 07 2D 0D */ bl __ct__9CVector3iFiii +/* 802A1F40 0029EEA0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F44 0029EEA4 80 81 00 88 */ lwz r4, 0x88(r1) +/* 802A1F48 0029EEA8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F4C 0029EEAC 80 C1 00 8C */ lwz r6, 0x8c(r1) +/* 802A1F50 0029EEB0 81 01 00 90 */ lwz r8, 0x90(r1) +/* 802A1F54 0029EEB4 38 00 00 03 */ li r0, 3 +/* 802A1F58 0029EEB8 80 E1 00 94 */ lwz r7, 0x94(r1) +/* 802A1F5C 0029EEBC 38 61 00 7C */ addi r3, r1, 0x7c +/* 802A1F60 0029EEC0 90 89 00 90 */ stw r4, 0x90(r9) +/* 802A1F64 0029EEC4 38 80 00 00 */ li r4, 0 +/* 802A1F68 0029EEC8 38 A0 00 02 */ li r5, 2 +/* 802A1F6C 0029EECC 90 C9 00 94 */ stw r6, 0x94(r9) +/* 802A1F70 0029EED0 38 C0 00 01 */ li r6, 1 +/* 802A1F74 0029EED4 91 09 00 98 */ stw r8, 0x98(r9) +/* 802A1F78 0029EED8 90 E9 00 9C */ stw r7, 0x9c(r9) +/* 802A1F7C 0029EEDC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802A1F80 0029EEE0 48 07 2C C9 */ bl __ct__9CVector3iFiii +/* 802A1F84 0029EEE4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1F88 0029EEE8 80 81 00 78 */ lwz r4, 0x78(r1) +/* 802A1F8C 0029EEEC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1F90 0029EEF0 80 C1 00 7C */ lwz r6, 0x7c(r1) +/* 802A1F94 0029EEF4 81 01 00 80 */ lwz r8, 0x80(r1) +/* 802A1F98 0029EEF8 38 00 00 03 */ li r0, 3 +/* 802A1F9C 0029EEFC 80 E1 00 84 */ lwz r7, 0x84(r1) +/* 802A1FA0 0029EF00 38 61 00 6C */ addi r3, r1, 0x6c +/* 802A1FA4 0029EF04 90 89 00 A0 */ stw r4, 0xa0(r9) +/* 802A1FA8 0029EF08 38 80 00 01 */ li r4, 1 +/* 802A1FAC 0029EF0C 38 A0 00 00 */ li r5, 0 +/* 802A1FB0 0029EF10 90 C9 00 A4 */ stw r6, 0xa4(r9) +/* 802A1FB4 0029EF14 38 C0 00 02 */ li r6, 2 +/* 802A1FB8 0029EF18 91 09 00 A8 */ stw r8, 0xa8(r9) +/* 802A1FBC 0029EF1C 90 E9 00 AC */ stw r7, 0xac(r9) +/* 802A1FC0 0029EF20 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A1FC4 0029EF24 48 07 2C 85 */ bl __ct__9CVector3iFiii +/* 802A1FC8 0029EF28 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A1FCC 0029EF2C 80 81 00 68 */ lwz r4, 0x68(r1) +/* 802A1FD0 0029EF30 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A1FD4 0029EF34 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 802A1FD8 0029EF38 81 01 00 70 */ lwz r8, 0x70(r1) +/* 802A1FDC 0029EF3C 38 00 00 03 */ li r0, 3 +/* 802A1FE0 0029EF40 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 802A1FE4 0029EF44 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A1FE8 0029EF48 90 89 00 B0 */ stw r4, 0xb0(r9) +/* 802A1FEC 0029EF4C 38 80 00 00 */ li r4, 0 +/* 802A1FF0 0029EF50 38 A0 00 01 */ li r5, 1 +/* 802A1FF4 0029EF54 90 C9 00 B4 */ stw r6, 0xb4(r9) +/* 802A1FF8 0029EF58 38 C0 00 02 */ li r6, 2 +/* 802A1FFC 0029EF5C 91 09 00 B8 */ stw r8, 0xb8(r9) +/* 802A2000 0029EF60 90 E9 00 BC */ stw r7, 0xbc(r9) +/* 802A2004 0029EF64 90 01 00 58 */ stw r0, 0x58(r1) +/* 802A2008 0029EF68 48 07 2C 41 */ bl __ct__9CVector3iFiii +/* 802A200C 0029EF6C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2010 0029EF70 80 81 00 58 */ lwz r4, 0x58(r1) +/* 802A2014 0029EF74 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A2018 0029EF78 80 C1 00 5C */ lwz r6, 0x5c(r1) +/* 802A201C 0029EF7C 81 01 00 60 */ lwz r8, 0x60(r1) +/* 802A2020 0029EF80 38 00 00 03 */ li r0, 3 +/* 802A2024 0029EF84 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 802A2028 0029EF88 38 61 00 4C */ addi r3, r1, 0x4c +/* 802A202C 0029EF8C 90 89 00 C0 */ stw r4, 0xc0(r9) +/* 802A2030 0029EF90 38 80 00 02 */ li r4, 2 +/* 802A2034 0029EF94 38 A0 00 01 */ li r5, 1 +/* 802A2038 0029EF98 90 C9 00 C4 */ stw r6, 0xc4(r9) +/* 802A203C 0029EF9C 38 C0 00 00 */ li r6, 0 +/* 802A2040 0029EFA0 91 09 00 C8 */ stw r8, 0xc8(r9) +/* 802A2044 0029EFA4 90 E9 00 CC */ stw r7, 0xcc(r9) +/* 802A2048 0029EFA8 90 01 00 48 */ stw r0, 0x48(r1) +/* 802A204C 0029EFAC 48 07 2B FD */ bl __ct__9CVector3iFiii +/* 802A2050 0029EFB0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2054 0029EFB4 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802A2058 0029EFB8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A205C 0029EFBC 80 C1 00 4C */ lwz r6, 0x4c(r1) +/* 802A2060 0029EFC0 81 01 00 50 */ lwz r8, 0x50(r1) +/* 802A2064 0029EFC4 38 00 00 03 */ li r0, 3 +/* 802A2068 0029EFC8 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 802A206C 0029EFCC 38 61 00 3C */ addi r3, r1, 0x3c +/* 802A2070 0029EFD0 90 89 00 D0 */ stw r4, 0xd0(r9) +/* 802A2074 0029EFD4 38 80 00 02 */ li r4, 2 +/* 802A2078 0029EFD8 38 A0 00 00 */ li r5, 0 +/* 802A207C 0029EFDC 90 C9 00 D4 */ stw r6, 0xd4(r9) +/* 802A2080 0029EFE0 38 C0 00 01 */ li r6, 1 +/* 802A2084 0029EFE4 91 09 00 D8 */ stw r8, 0xd8(r9) +/* 802A2088 0029EFE8 90 E9 00 DC */ stw r7, 0xdc(r9) +/* 802A208C 0029EFEC 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A2090 0029EFF0 48 07 2B B9 */ bl __ct__9CVector3iFiii +/* 802A2094 0029EFF4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2098 0029EFF8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 802A209C 0029EFFC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l +/* 802A20A0 0029F000 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 802A20A4 0029F004 81 01 00 40 */ lwz r8, 0x40(r1) +/* 802A20A8 0029F008 38 00 00 03 */ li r0, 3 +/* 802A20AC 0029F00C 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 802A20B0 0029F010 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A20B4 0029F014 90 89 00 E0 */ stw r4, 0xe0(r9) +/* 802A20B8 0029F018 38 80 00 01 */ li r4, 1 +/* 802A20BC 0029F01C 38 A0 00 02 */ li r5, 2 +/* 802A20C0 0029F020 90 C9 00 E4 */ stw r6, 0xe4(r9) +/* 802A20C4 0029F024 38 C0 00 00 */ li r6, 0 +/* 802A20C8 0029F028 91 09 00 E8 */ stw r8, 0xe8(r9) +/* 802A20CC 0029F02C 90 E9 00 EC */ stw r7, 0xec(r9) +/* 802A20D0 0029F030 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A20D4 0029F034 48 07 2B 75 */ bl __ct__9CVector3iFiii +/* 802A20D8 0029F038 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A20DC 0029F03C 80 E1 00 28 */ lwz r7, 0x28(r1) +/* 802A20E0 0029F040 38 C3 E0 F0 */ addi r6, r3, lbl_8046E0F0@l +/* 802A20E4 0029F044 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 802A20E8 0029F048 80 81 00 30 */ lwz r4, 0x30(r1) +/* 802A20EC 0029F04C 38 00 00 01 */ li r0, 1 +/* 802A20F0 0029F050 80 61 00 34 */ lwz r3, 0x34(r1) +/* 802A20F4 0029F054 90 E6 00 F0 */ stw r7, 0xf0(r6) +/* 802A20F8 0029F058 90 A6 00 F4 */ stw r5, 0xf4(r6) +/* 802A20FC 0029F05C 90 86 00 F8 */ stw r4, 0xf8(r6) +/* 802A2100 0029F060 90 66 00 FC */ stw r3, 0xfc(r6) +/* 802A2104 0029F064 98 0D A5 B8 */ stb r0, lbl_805A9178@sda21(r13) +lbl_802A2108: +/* 802A2108 0029F068 7F 80 CA 78 */ xor r0, r28, r25 +/* 802A210C 0029F06C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha +/* 802A2110 0029F070 57 44 28 34 */ slwi r4, r26, 5 +/* 802A2114 0029F074 38 B8 00 18 */ addi r5, r24, 0x18 +/* 802A2118 0029F078 54 00 10 3A */ slwi r0, r0, 2 +/* 802A211C 0029F07C FE A0 E0 90 */ fmr f21, f28 +/* 802A2120 0029F080 7C 84 02 14 */ add r4, r4, r0 +/* 802A2124 0029F084 38 03 E0 F0 */ addi r0, r3, lbl_8046E0F0@l +/* 802A2128 0029F088 7C 65 20 2E */ lwzx r3, r5, r4 +/* 802A212C 0029F08C 7F 9A E3 78 */ mr r26, r28 +/* 802A2130 0029F090 3B 80 00 00 */ li r28, 0 +/* 802A2134 0029F094 54 63 20 36 */ slwi r3, r3, 4 +/* 802A2138 0029F098 7F 20 1A 14 */ add r25, r0, r3 +/* 802A213C 0029F09C 3B 19 00 04 */ addi r24, r25, 4 +/* 802A2140 0029F0A0 48 00 00 F0 */ b lbl_802A2230 +lbl_802A2144: +/* 802A2144 0029F0A4 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2148 0029F0A8 40 80 00 18 */ bge lbl_802A2160 +/* 802A214C 0029F0AC 80 18 00 00 */ lwz r0, 0(r24) +/* 802A2150 0029F0B0 38 61 01 34 */ addi r3, r1, 0x134 +/* 802A2154 0029F0B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A2158 0029F0B8 7E C3 04 2E */ lfsx f22, r3, r0 +/* 802A215C 0029F0BC 48 00 00 08 */ b lbl_802A2164 +lbl_802A2160: +/* 802A2160 0029F0C0 FE C0 D8 90 */ fmr f22, f27 +lbl_802A2164: +/* 802A2164 0029F0C4 FC 16 F8 40 */ fcmpo cr0, f22, f31 +/* 802A2168 0029F0C8 40 81 00 A0 */ ble lbl_802A2208 +/* 802A216C 0029F0CC FC 15 B0 40 */ fcmpo cr0, f21, f22 +/* 802A2170 0029F0D0 4C 40 13 82 */ cror 2, 0, 2 +/* 802A2174 0029F0D4 40 82 00 94 */ bne lbl_802A2208 +/* 802A2178 0029F0D8 7F C4 F3 78 */ mr r4, r30 +/* 802A217C 0029F0DC 7F 45 D3 78 */ mr r5, r26 +/* 802A2180 0029F0E0 38 61 01 94 */ addi r3, r1, 0x194 +/* 802A2184 0029F0E4 48 00 0B DD */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A2188 0029F0E8 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802A218C 0029F0EC C0 A1 01 94 */ lfs f5, 0x194(r1) +/* 802A2190 0029F0F0 C0 81 01 98 */ lfs f4, 0x198(r1) +/* 802A2194 0029F0F4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A2198 0029F0F8 C0 61 01 9C */ lfs f3, 0x19c(r1) +/* 802A219C 0029F0FC C0 41 01 A0 */ lfs f2, 0x1a0(r1) +/* 802A21A0 0029F100 C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 802A21A4 0029F104 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 802A21A8 0029F108 80 81 01 AC */ lwz r4, 0x1ac(r1) +/* 802A21AC 0029F10C 80 61 01 B0 */ lwz r3, 0x1b0(r1) +/* 802A21B0 0029F110 D0 A1 02 28 */ stfs f5, 0x228(r1) +/* 802A21B4 0029F114 D0 81 02 2C */ stfs f4, 0x22c(r1) +/* 802A21B8 0029F118 D0 61 02 30 */ stfs f3, 0x230(r1) +/* 802A21BC 0029F11C D0 41 02 34 */ stfs f2, 0x234(r1) +/* 802A21C0 0029F120 D0 21 02 38 */ stfs f1, 0x238(r1) +/* 802A21C4 0029F124 D0 01 02 3C */ stfs f0, 0x23c(r1) +/* 802A21C8 0029F128 90 81 02 40 */ stw r4, 0x240(r1) +/* 802A21CC 0029F12C 90 61 02 44 */ stw r3, 0x244(r1) +/* 802A21D0 0029F130 90 01 02 48 */ stw r0, 0x248(r1) +/* 802A21D4 0029F134 41 82 00 34 */ beq lbl_802A2208 +/* 802A21D8 0029F138 FC 20 A8 90 */ fmr f1, f21 +/* 802A21DC 0029F13C 7F E4 FB 78 */ mr r4, r31 +/* 802A21E0 0029F140 FC 40 B0 90 */ fmr f2, f22 +/* 802A21E4 0029F144 7F A5 EB 78 */ mr r5, r29 +/* 802A21E8 0029F148 FC 60 D0 90 */ fmr f3, f26 +/* 802A21EC 0029F14C 7F 66 DB 78 */ mr r6, r27 +/* 802A21F0 0029F150 38 61 02 28 */ addi r3, r1, 0x228 +/* 802A21F4 0029F154 4B FF F5 35 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +/* 802A21F8 0029F158 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A21FC 0029F15C 40 82 00 0C */ bne lbl_802A2208 +/* 802A2200 0029F160 38 60 00 00 */ li r3, 0 +/* 802A2204 0029F164 48 00 00 3C */ b lbl_802A2240 +lbl_802A2208: +/* 802A2208 0029F168 80 19 00 00 */ lwz r0, 0(r25) +/* 802A220C 0029F16C 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2210 0029F170 40 80 00 14 */ bge lbl_802A2224 +/* 802A2214 0029F174 80 18 00 00 */ lwz r0, 0(r24) +/* 802A2218 0029F178 38 60 00 01 */ li r3, 1 +/* 802A221C 0029F17C 7C 60 00 30 */ slw r0, r3, r0 +/* 802A2220 0029F180 7F 5A 02 78 */ xor r26, r26, r0 +lbl_802A2224: +/* 802A2224 0029F184 FE A0 B0 90 */ fmr f21, f22 +/* 802A2228 0029F188 3B 18 00 04 */ addi r24, r24, 4 +/* 802A222C 0029F18C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802A2230: +/* 802A2230 0029F190 80 19 00 00 */ lwz r0, 0(r25) +/* 802A2234 0029F194 7C 1C 00 00 */ cmpw r28, r0 +/* 802A2238 0029F198 40 81 FF 0C */ ble lbl_802A2144 +lbl_802A223C: +/* 802A223C 0029F19C 38 60 00 01 */ li r3, 1 +lbl_802A2240: +/* 802A2240 0029F1A0 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 +/* 802A2244 0029F1A4 CB E1 03 80 */ lfd f31, 0x380(r1) +/* 802A2248 0029F1A8 E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 +/* 802A224C 0029F1AC CB C1 03 70 */ lfd f30, 0x370(r1) +/* 802A2250 0029F1B0 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 +/* 802A2254 0029F1B4 CB A1 03 60 */ lfd f29, 0x360(r1) +/* 802A2258 0029F1B8 E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 +/* 802A225C 0029F1BC CB 81 03 50 */ lfd f28, 0x350(r1) +/* 802A2260 0029F1C0 E3 61 03 48 */ psq_l f27, 840(r1), 0, qr0 +/* 802A2264 0029F1C4 CB 61 03 40 */ lfd f27, 0x340(r1) +/* 802A2268 0029F1C8 E3 41 03 38 */ psq_l f26, 824(r1), 0, qr0 +/* 802A226C 0029F1CC CB 41 03 30 */ lfd f26, 0x330(r1) +/* 802A2270 0029F1D0 E3 21 03 28 */ psq_l f25, 808(r1), 0, qr0 +/* 802A2274 0029F1D4 CB 21 03 20 */ lfd f25, 0x320(r1) +/* 802A2278 0029F1D8 E3 01 03 18 */ psq_l f24, 792(r1), 0, qr0 +/* 802A227C 0029F1DC CB 01 03 10 */ lfd f24, 0x310(r1) +/* 802A2280 0029F1E0 E2 E1 03 08 */ psq_l f23, 776(r1), 0, qr0 +/* 802A2284 0029F1E4 CA E1 03 00 */ lfd f23, 0x300(r1) +/* 802A2288 0029F1E8 E2 C1 02 F8 */ psq_l f22, 760(r1), 0, qr0 +/* 802A228C 0029F1EC CA C1 02 F0 */ lfd f22, 0x2f0(r1) +/* 802A2290 0029F1F0 E2 A1 02 E8 */ psq_l f21, 744(r1), 0, qr0 +/* 802A2294 0029F1F4 CA A1 02 E0 */ lfd f21, 0x2e0(r1) +/* 802A2298 0029F1F8 BB 01 02 C0 */ lmw r24, 0x2c0(r1) +/* 802A229C 0029F1FC 80 01 03 94 */ lwz r0, 0x394(r1) +/* 802A22A0 0029F200 7C 08 03 A6 */ mtlr r0 +/* 802A22A4 0029F204 38 21 03 90 */ addi r1, r1, 0x390 +/* 802A22A8 0029F208 4E 80 00 20 */ blr + +.global LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf +LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf: +/* 802A22AC 0029F20C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A22B0 0029F210 7C 08 02 A6 */ mflr r0 +/* 802A22B4 0029F214 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A22B8 0029F218 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802A22BC 0029F21C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802A22C0 0029F220 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A22C4 0029F224 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A22C8 0029F228 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A22CC 0029F22C 7C 7D 1B 78 */ mr r29, r3 +/* 802A22D0 0029F230 FF E0 08 90 */ fmr f31, f1 +/* 802A22D4 0029F234 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A22D8 0029F238 7C 9E 23 78 */ mr r30, r4 +/* 802A22DC 0029F23C 7C BF 2B 78 */ mr r31, r5 +/* 802A22E0 0029F240 2C 00 00 00 */ cmpwi r0, 0 +/* 802A22E4 0029F244 40 82 00 0C */ bne lbl_802A22F0 +/* 802A22E8 0029F248 38 60 00 01 */ li r3, 1 +/* 802A22EC 0029F24C 48 00 00 80 */ b lbl_802A236C +lbl_802A22F0: +/* 802A22F0 0029F250 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A22F4 0029F254 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A22F8 0029F258 38 C1 00 08 */ addi r6, r1, 8 +/* 802A22FC 0029F25C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802A2300 0029F260 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A2304 0029F264 48 00 01 71 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A2308 0029F268 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A230C 0029F26C 40 82 00 0C */ bne lbl_802A2318 +/* 802A2310 0029F270 38 60 00 01 */ li r3, 1 +/* 802A2314 0029F274 48 00 00 58 */ b lbl_802A236C +lbl_802A2318: +/* 802A2318 0029F278 C0 FE 00 14 */ lfs f7, 0x14(r30) +/* 802A231C 0029F27C FC 60 F8 90 */ fmr f3, f31 +/* 802A2320 0029F280 C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) +/* 802A2324 0029F284 7F A3 EB 78 */ mr r3, r29 +/* 802A2328 0029F288 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 802A232C 0029F28C 7F C4 F3 78 */ mr r4, r30 +/* 802A2330 0029F290 C0 BE 00 0C */ lfs f5, 0xc(r30) +/* 802A2334 0029F294 EC 86 00 24 */ fdivs f4, f6, f0 +/* 802A2338 0029F298 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A233C 0029F29C C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) +/* 802A2340 0029F2A0 7F E5 FB 78 */ mr r5, r31 +/* 802A2344 0029F2A4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A2348 0029F2A8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A234C 0029F2AC EC A6 28 24 */ fdivs f5, f6, f5 +/* 802A2350 0029F2B0 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802A2354 0029F2B4 EC 86 38 24 */ fdivs f4, f6, f7 +/* 802A2358 0029F2B8 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802A235C 0029F2BC EC 21 10 28 */ fsubs f1, f1, f2 +/* 802A2360 0029F2C0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A2364 0029F2C4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802A2368 0029F2C8 4B FF F3 C1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f +lbl_802A236C: +/* 802A236C 0029F2CC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802A2370 0029F2D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2374 0029F2D4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802A2378 0029F2D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A237C 0029F2DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A2380 0029F2E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A2384 0029F2E4 7C 08 03 A6 */ mtlr r0 +/* 802A2388 0029F2E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A238C 0029F2EC 4E 80 00 20 */ blr + +.global LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf +LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf: +/* 802A2390 0029F2F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2394 0029F2F4 7C 08 02 A6 */ mflr r0 +/* 802A2398 0029F2F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A239C 0029F2FC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 802A23A0 0029F300 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 802A23A4 0029F304 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A23A8 0029F308 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A23AC 0029F30C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A23B0 0029F310 93 81 00 20 */ stw r28, 0x20(r1) +/* 802A23B4 0029F314 7C 7C 1B 78 */ mr r28, r3 +/* 802A23B8 0029F318 FF E0 08 90 */ fmr f31, f1 +/* 802A23BC 0029F31C 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A23C0 0029F320 7C 9D 23 78 */ mr r29, r4 +/* 802A23C4 0029F324 7C BE 2B 78 */ mr r30, r5 +/* 802A23C8 0029F328 7C DF 33 78 */ mr r31, r6 +/* 802A23CC 0029F32C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A23D0 0029F330 41 82 00 7C */ beq lbl_802A244C +/* 802A23D4 0029F334 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A23D8 0029F338 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A23DC 0029F33C 38 C1 00 08 */ addi r6, r1, 8 +/* 802A23E0 0029F340 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 802A23E4 0029F344 D0 01 00 08 */ stfs f0, 8(r1) +/* 802A23E8 0029F348 48 00 00 8D */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf +/* 802A23EC 0029F34C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A23F0 0029F350 41 82 00 5C */ beq lbl_802A244C +/* 802A23F4 0029F354 C0 FD 00 14 */ lfs f7, 0x14(r29) +/* 802A23F8 0029F358 FC 60 F8 90 */ fmr f3, f31 +/* 802A23FC 0029F35C C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) +/* 802A2400 0029F360 7F 83 E3 78 */ mr r3, r28 +/* 802A2404 0029F364 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 802A2408 0029F368 7F A4 EB 78 */ mr r4, r29 +/* 802A240C 0029F36C C0 BD 00 0C */ lfs f5, 0xc(r29) +/* 802A2410 0029F370 EC 86 00 24 */ fdivs f4, f6, f0 +/* 802A2414 0029F374 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A2418 0029F378 C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) +/* 802A241C 0029F37C 7F C5 F3 78 */ mr r5, r30 +/* 802A2420 0029F380 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A2424 0029F384 7F E6 FB 78 */ mr r6, r31 +/* 802A2428 0029F388 EC A6 28 24 */ fdivs f5, f6, f5 +/* 802A242C 0029F38C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 802A2430 0029F390 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802A2434 0029F394 EC 86 38 24 */ fdivs f4, f6, f7 +/* 802A2438 0029F398 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 802A243C 0029F39C EC 21 10 28 */ fsubs f1, f1, f2 +/* 802A2440 0029F3A0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A2444 0029F3A4 EC 42 00 2A */ fadds f2, f2, f0 +/* 802A2448 0029F3A8 4B FF E5 C5 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f +lbl_802A244C: +/* 802A244C 0029F3AC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 802A2450 0029F3B0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A2454 0029F3B4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 802A2458 0029F3B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A245C 0029F3BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A2460 0029F3C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A2464 0029F3C4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 802A2468 0029F3C8 7C 08 03 A6 */ mtlr r0 +/* 802A246C 0029F3CC 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2470 0029F3D0 4E 80 00 20 */ blr + +.global BoxLineTest__FRC6CAABoxRC5CLineRfRf +BoxLineTest__FRC6CAABoxRC5CLineRfRf: +/* 802A2474 0029F3D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A2478 0029F3D8 7C 08 02 A6 */ mflr r0 +/* 802A247C 0029F3DC C0 22 C1 38 */ lfs f1, lbl_805ADE58@sda21(r2) +/* 802A2480 0029F3E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A2484 0029F3E4 C0 02 C1 3C */ lfs f0, lbl_805ADE5C@sda21(r2) +/* 802A2488 0029F3E8 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 802A248C 0029F3EC 7C B9 2B 78 */ mr r25, r5 +/* 802A2490 0029F3F0 7C DA 33 78 */ mr r26, r6 +/* 802A2494 0029F3F4 7C 7D 1B 78 */ mr r29, r3 +/* 802A2498 0029F3F8 3B E1 00 08 */ addi r31, r1, 8 +/* 802A249C 0029F3FC 3B C1 00 14 */ addi r30, r1, 0x14 +/* 802A24A0 0029F400 3B 83 00 0C */ addi r28, r3, 0xc +/* 802A24A4 0029F404 3B 60 00 00 */ li r27, 0 +/* 802A24A8 0029F408 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A24AC 0029F40C C0 C4 00 04 */ lfs f6, 4(r4) +/* 802A24B0 0029F410 C0 A4 00 08 */ lfs f5, 8(r4) +/* 802A24B4 0029F414 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 802A24B8 0029F418 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 802A24BC 0029F41C C0 44 00 14 */ lfs f2, 0x14(r4) +/* 802A24C0 0029F420 D0 E1 00 14 */ stfs f7, 0x14(r1) +/* 802A24C4 0029F424 D0 25 00 00 */ stfs f1, 0(r5) +/* 802A24C8 0029F428 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 802A24CC 0029F42C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802A24D0 0029F430 D0 81 00 08 */ stfs f4, 8(r1) +/* 802A24D4 0029F434 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 802A24D8 0029F438 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802A24DC 0029F43C D0 06 00 00 */ stfs f0, 0(r6) +lbl_802A24E0: +/* 802A24E0 0029F440 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A24E4 0029F444 C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) +/* 802A24E8 0029F448 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) +/* 802A24EC 0029F44C 48 00 01 2D */ bl _close_enough__Ffff +/* 802A24F0 0029F450 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A24F4 0029F454 41 82 00 28 */ beq lbl_802A251C +/* 802A24F8 0029F458 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802A24FC 0029F45C C0 1D 00 00 */ lfs f0, 0(r29) +/* 802A2500 0029F460 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A2504 0029F464 41 80 00 10 */ blt lbl_802A2514 +/* 802A2508 0029F468 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802A250C 0029F46C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A2510 0029F470 40 81 00 C0 */ ble lbl_802A25D0 +lbl_802A2514: +/* 802A2514 0029F474 38 60 00 00 */ li r3, 0 +/* 802A2518 0029F478 48 00 00 EC */ b lbl_802A2604 +lbl_802A251C: +/* 802A251C 0029F47C C0 7F 00 00 */ lfs f3, 0(r31) +/* 802A2520 0029F480 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) +/* 802A2524 0029F484 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A2528 0029F488 40 80 00 58 */ bge lbl_802A2580 +/* 802A252C 0029F48C C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A2530 0029F490 C0 19 00 00 */ lfs f0, 0(r25) +/* 802A2534 0029F494 EC A1 18 24 */ fdivs f5, f1, f3 +/* 802A2538 0029F498 C0 5C 00 00 */ lfs f2, 0(r28) +/* 802A253C 0029F49C C0 9E 00 00 */ lfs f4, 0(r30) +/* 802A2540 0029F4A0 C0 3D 00 00 */ lfs f1, 0(r29) +/* 802A2544 0029F4A4 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802A2548 0029F4A8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A254C 0029F4AC EC 61 20 28 */ fsubs f3, f1, f4 +/* 802A2550 0029F4B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A2554 0029F4B4 40 80 00 0C */ bge lbl_802A2560 +/* 802A2558 0029F4B8 EC 02 01 72 */ fmuls f0, f2, f5 +/* 802A255C 0029F4BC D0 19 00 00 */ stfs f0, 0(r25) +lbl_802A2560: +/* 802A2560 0029F4C0 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A2564 0029F4C4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A2568 0029F4C8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A256C 0029F4CC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A2570 0029F4D0 40 81 00 60 */ ble lbl_802A25D0 +/* 802A2574 0029F4D4 EC 03 01 72 */ fmuls f0, f3, f5 +/* 802A2578 0029F4D8 D0 1A 00 00 */ stfs f0, 0(r26) +/* 802A257C 0029F4DC 48 00 00 54 */ b lbl_802A25D0 +lbl_802A2580: +/* 802A2580 0029F4E0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) +/* 802A2584 0029F4E4 C0 19 00 00 */ lfs f0, 0(r25) +/* 802A2588 0029F4E8 EC A1 18 24 */ fdivs f5, f1, f3 +/* 802A258C 0029F4EC C0 5D 00 00 */ lfs f2, 0(r29) +/* 802A2590 0029F4F0 C0 9E 00 00 */ lfs f4, 0(r30) +/* 802A2594 0029F4F4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 802A2598 0029F4F8 EC 42 20 28 */ fsubs f2, f2, f4 +/* 802A259C 0029F4FC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A25A0 0029F500 EC 61 20 28 */ fsubs f3, f1, f4 +/* 802A25A4 0029F504 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 802A25A8 0029F508 40 81 00 0C */ ble lbl_802A25B4 +/* 802A25AC 0029F50C EC 02 01 72 */ fmuls f0, f2, f5 +/* 802A25B0 0029F510 D0 19 00 00 */ stfs f0, 0(r25) +lbl_802A25B4: +/* 802A25B4 0029F514 C0 3A 00 00 */ lfs f1, 0(r26) +/* 802A25B8 0029F518 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A25BC 0029F51C EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A25C0 0029F520 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A25C4 0029F524 40 80 00 0C */ bge lbl_802A25D0 +/* 802A25C8 0029F528 EC 03 01 72 */ fmuls f0, f3, f5 +/* 802A25CC 0029F52C D0 1A 00 00 */ stfs f0, 0(r26) +lbl_802A25D0: +/* 802A25D0 0029F530 3B 7B 00 01 */ addi r27, r27, 1 +/* 802A25D4 0029F534 3B DE 00 04 */ addi r30, r30, 4 +/* 802A25D8 0029F538 2C 1B 00 03 */ cmpwi r27, 3 +/* 802A25DC 0029F53C 3B BD 00 04 */ addi r29, r29, 4 +/* 802A25E0 0029F540 3B 9C 00 04 */ addi r28, r28, 4 +/* 802A25E4 0029F544 3B FF 00 04 */ addi r31, r31, 4 +/* 802A25E8 0029F548 41 80 FE F8 */ blt lbl_802A24E0 +/* 802A25EC 0029F54C C0 39 00 00 */ lfs f1, 0(r25) +/* 802A25F0 0029F550 C0 1A 00 00 */ lfs f0, 0(r26) +/* 802A25F4 0029F554 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A25F8 0029F558 4C 40 13 82 */ cror 2, 0, 2 +/* 802A25FC 0029F55C 7C 00 00 26 */ mfcr r0 +/* 802A2600 0029F560 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +lbl_802A2604: +/* 802A2604 0029F564 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 802A2608 0029F568 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A260C 0029F56C 7C 08 03 A6 */ mtlr r0 +/* 802A2610 0029F570 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A2614 0029F574 4E 80 00 20 */ blr + +.global _close_enough__Ffff +_close_enough__Ffff: +/* 802A2618 0029F578 EC 01 10 28 */ fsubs f0, f1, f2 +/* 802A261C 0029F57C FC 00 02 10 */ fabs f0, f0 +/* 802A2620 0029F580 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A2624 0029F584 4C 40 13 82 */ cror 2, 0, 2 +/* 802A2628 0029F588 7C 00 00 26 */ mfcr r0 +/* 802A262C 0029F58C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 802A2630 0029F590 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CAreaRenderOctTree.s b/asm/WorldFormat/CAreaRenderOctTree.s new file mode 100644 index 00000000..6d22a821 --- /dev/null +++ b/asm/WorldFormat/CAreaRenderOctTree.s @@ -0,0 +1,456 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global TestBit__13CCubeRendererFPCUii +TestBit__13CCubeRendererFPCUii: +/* 802AE6C4 002AB624 7C 80 2E 70 */ srawi r0, r4, 5 +/* 802AE6C8 002AB628 54 84 06 FE */ clrlwi r4, r4, 0x1b +/* 802AE6CC 002AB62C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE6D0 002AB630 38 A0 00 01 */ li r5, 1 +/* 802AE6D4 002AB634 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE6D8 002AB638 7C A3 20 30 */ slw r3, r5, r4 +/* 802AE6DC 002AB63C 7C 63 00 38 */ and r3, r3, r0 +/* 802AE6E0 002AB640 7C 03 00 D0 */ neg r0, r3 +/* 802AE6E4 002AB644 7C 00 1B 78 */ or r0, r0, r3 +/* 802AE6E8 002AB648 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AE6EC 002AB64C 4E 80 00 20 */ blr + +.global RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox: +/* 802AE6F0 002AB650 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802AE6F4 002AB654 7C 08 02 A6 */ mflr r0 +/* 802AE6F8 002AB658 90 01 00 54 */ stw r0, 0x54(r1) +/* 802AE6FC 002AB65C BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802AE700 002AB660 7C D9 33 78 */ mr r25, r6 +/* 802AE704 002AB664 7C 98 23 78 */ mr r24, r4 +/* 802AE708 002AB668 7C FA 3B 78 */ mr r26, r7 +/* 802AE70C 002AB66C 7C 77 1B 78 */ mr r23, r3 +/* 802AE710 002AB670 7C BF 2B 78 */ mr r31, r5 +/* 802AE714 002AB674 7F 43 D3 78 */ mr r3, r26 +/* 802AE718 002AB678 7F 24 CB 78 */ mr r4, r25 +/* 802AE71C 002AB67C 48 08 94 69 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802AE720 002AB680 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AE724 002AB684 41 82 00 E0 */ beq lbl_802AE804 +/* 802AE728 002AB688 88 17 00 03 */ lbz r0, 3(r23) +/* 802AE72C 002AB68C 28 00 00 00 */ cmplwi r0, 0 +/* 802AE730 002AB690 41 82 00 18 */ beq lbl_802AE748 +/* 802AE734 002AB694 7F 23 CB 78 */ mr r3, r25 +/* 802AE738 002AB698 7F 44 D3 78 */ mr r4, r26 +/* 802AE73C 002AB69C 48 08 93 45 */ bl Inside__6CAABoxCFRC6CAABox +/* 802AE740 002AB6A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AE744 002AB6A4 41 82 00 54 */ beq lbl_802AE798 +lbl_802AE748: +/* 802AE748 002AB6A8 A0 77 00 00 */ lhz r3, 0(r23) +/* 802AE74C 002AB6AC 7F 05 C3 78 */ mr r5, r24 +/* 802AE750 002AB6B0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802AE754 002AB6B4 38 C0 00 00 */ li r6, 0 +/* 802AE758 002AB6B8 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 802AE75C 002AB6BC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 802AE760 002AB6C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE764 002AB6C4 7C 84 02 14 */ add r4, r4, r0 +/* 802AE768 002AB6C8 48 00 00 20 */ b lbl_802AE788 +lbl_802AE76C: +/* 802AE76C 002AB6CC 80 04 00 00 */ lwz r0, 0(r4) +/* 802AE770 002AB6D0 38 84 00 04 */ addi r4, r4, 4 +/* 802AE774 002AB6D4 80 65 00 00 */ lwz r3, 0(r5) +/* 802AE778 002AB6D8 38 C6 00 01 */ addi r6, r6, 1 +/* 802AE77C 002AB6DC 7C 60 03 78 */ or r0, r3, r0 +/* 802AE780 002AB6E0 90 05 00 00 */ stw r0, 0(r5) +/* 802AE784 002AB6E4 38 A5 00 04 */ addi r5, r5, 4 +lbl_802AE788: +/* 802AE788 002AB6E8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802AE78C 002AB6EC 7C 06 00 40 */ cmplw r6, r0 +/* 802AE790 002AB6F0 41 80 FF DC */ blt lbl_802AE76C +/* 802AE794 002AB6F4 48 00 00 70 */ b lbl_802AE804 +lbl_802AE798: +/* 802AE798 002AB6F8 7E E3 BB 78 */ mr r3, r23 +/* 802AE79C 002AB6FC 48 00 04 95 */ bl sub_802aec30 +/* 802AE7A0 002AB700 7C 7E 1B 78 */ mr r30, r3 +/* 802AE7A4 002AB704 7E FC BB 78 */ mr r28, r23 +/* 802AE7A8 002AB708 3B 60 00 00 */ li r27, 0 +/* 802AE7AC 002AB70C 48 00 00 50 */ b lbl_802AE7FC +lbl_802AE7B0: +/* 802AE7B0 002AB710 A0 1C 00 04 */ lhz r0, 4(r28) +/* 802AE7B4 002AB714 7E E4 BB 78 */ mr r4, r23 +/* 802AE7B8 002AB718 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 802AE7BC 002AB71C 7F 25 CB 78 */ mr r5, r25 +/* 802AE7C0 002AB720 54 00 10 3A */ slwi r0, r0, 2 +/* 802AE7C4 002AB724 80 FF 00 38 */ lwz r7, 0x38(r31) +/* 802AE7C8 002AB728 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE7CC 002AB72C 7F 66 DB 78 */ mr r6, r27 +/* 802AE7D0 002AB730 38 61 00 08 */ addi r3, r1, 8 +/* 802AE7D4 002AB734 7F A7 02 14 */ add r29, r7, r0 +/* 802AE7D8 002AB738 48 00 01 B9 */ bl sub_802ae990 +/* 802AE7DC 002AB73C 7F A3 EB 78 */ mr r3, r29 +/* 802AE7E0 002AB740 7F 04 C3 78 */ mr r4, r24 +/* 802AE7E4 002AB744 7F E5 FB 78 */ mr r5, r31 +/* 802AE7E8 002AB748 7F 47 D3 78 */ mr r7, r26 +/* 802AE7EC 002AB74C 38 C1 00 08 */ addi r6, r1, 8 +/* 802AE7F0 002AB750 4B FF FF 01 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE7F4 002AB754 3B 9C 00 02 */ addi r28, r28, 2 +/* 802AE7F8 002AB758 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802AE7FC: +/* 802AE7FC 002AB75C 7C 1B F0 00 */ cmpw r27, r30 +/* 802AE800 002AB760 41 80 FF B0 */ blt lbl_802AE7B0 +lbl_802AE804: +/* 802AE804 002AB764 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802AE808 002AB768 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802AE80C 002AB76C 7C 08 03 A6 */ mtlr r0 +/* 802AE810 002AB770 38 21 00 50 */ addi r1, r1, 0x50 +/* 802AE814 002AB774 4E 80 00 20 */ blr + +.global FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox +FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox: +/* 802AE818 002AB778 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE81C 002AB77C 7C 08 02 A6 */ mflr r0 +/* 802AE820 002AB780 7C A7 2B 78 */ mr r7, r5 +/* 802AE824 002AB784 7C 65 1B 78 */ mr r5, r3 +/* 802AE828 002AB788 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE82C 002AB78C 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 802AE830 002AB790 81 03 00 38 */ lwz r8, 0x38(r3) +/* 802AE834 002AB794 80 06 00 00 */ lwz r0, 0(r6) +/* 802AE838 002AB798 38 C3 00 18 */ addi r6, r3, 0x18 +/* 802AE83C 002AB79C 7C 68 02 14 */ add r3, r8, r0 +/* 802AE840 002AB7A0 4B FF FE B1 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE844 002AB7A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE848 002AB7A8 7C 08 03 A6 */ mtlr r0 +/* 802AE84C 002AB7AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE850 002AB7B0 4E 80 00 20 */ blr + +.global "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" +"FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox": +/* 802AE854 002AB7B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AE858 002AB7B8 7C 08 02 A6 */ mflr r0 +/* 802AE85C 002AB7BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AE860 002AB7C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802AE864 002AB7C4 7C BF 2B 78 */ mr r31, r5 +/* 802AE868 002AB7C8 38 AD 9A 80 */ addi r5, r13, lbl_805A8640@sda21 +/* 802AE86C 002AB7CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802AE870 002AB7D0 7C 9E 23 78 */ mr r30, r4 +/* 802AE874 002AB7D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802AE878 002AB7D8 7C 7D 1B 78 */ mr r29, r3 +/* 802AE87C 002AB7DC 80 83 00 14 */ lwz r4, 0x14(r3) +/* 802AE880 002AB7E0 7F C3 F3 78 */ mr r3, r30 +/* 802AE884 002AB7E4 48 00 00 45 */ bl sub_802ae8c8 +/* 802AE888 002AB7E8 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 802AE88C 002AB7EC 7F A5 EB 78 */ mr r5, r29 +/* 802AE890 002AB7F0 81 1D 00 38 */ lwz r8, 0x38(r29) +/* 802AE894 002AB7F4 7F E7 FB 78 */ mr r7, r31 +/* 802AE898 002AB7F8 80 03 00 00 */ lwz r0, 0(r3) +/* 802AE89C 002AB7FC 38 DD 00 18 */ addi r6, r29, 0x18 +/* 802AE8A0 002AB800 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AE8A4 002AB804 7C 68 02 14 */ add r3, r8, r0 +/* 802AE8A8 002AB808 4B FF FE 49 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox +/* 802AE8AC 002AB80C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AE8B0 002AB810 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802AE8B4 002AB814 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802AE8B8 002AB818 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802AE8BC 002AB81C 7C 08 03 A6 */ mtlr r0 +/* 802AE8C0 002AB820 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AE8C4 002AB824 4E 80 00 20 */ blr + +.global sub_802ae8c8 +sub_802ae8c8: +/* 802AE8C8 002AB828 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE8CC 002AB82C 7C 08 02 A6 */ mflr r0 +/* 802AE8D0 002AB830 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE8D4 002AB834 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AE8D8 002AB838 7C BF 2B 78 */ mr r31, r5 +/* 802AE8DC 002AB83C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AE8E0 002AB840 7C 9E 23 78 */ mr r30, r4 +/* 802AE8E4 002AB844 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802AE8E8 002AB848 7C 7D 1B 78 */ mr r29, r3 +/* 802AE8EC 002AB84C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AE8F0 002AB850 7C 00 F0 00 */ cmpw r0, r30 +/* 802AE8F4 002AB854 41 82 00 80 */ beq lbl_802AE974 +/* 802AE8F8 002AB858 7C 1E 00 00 */ cmpw r30, r0 +/* 802AE8FC 002AB85C 40 81 00 40 */ ble lbl_802AE93C +/* 802AE900 002AB860 4B DB 52 25 */ bl "reserve__Q24rstl37vectorFi" +/* 802AE904 002AB864 80 9D 00 04 */ lwz r4, 4(r29) +/* 802AE908 002AB868 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802AE90C 002AB86C 54 80 10 3A */ slwi r0, r4, 2 +/* 802AE910 002AB870 7C 84 F0 51 */ subf. r4, r4, r30 +/* 802AE914 002AB874 7C 63 02 14 */ add r3, r3, r0 +/* 802AE918 002AB878 7C 89 03 A6 */ mtctr r4 +/* 802AE91C 002AB87C 40 81 00 54 */ ble lbl_802AE970 +lbl_802AE920: +/* 802AE920 002AB880 28 03 00 00 */ cmplwi r3, 0 +/* 802AE924 002AB884 41 82 00 0C */ beq lbl_802AE930 +/* 802AE928 002AB888 80 1F 00 00 */ lwz r0, 0(r31) +/* 802AE92C 002AB88C 90 03 00 00 */ stw r0, 0(r3) +lbl_802AE930: +/* 802AE930 002AB890 38 63 00 04 */ addi r3, r3, 4 +/* 802AE934 002AB894 42 00 FF EC */ bdnz lbl_802AE920 +/* 802AE938 002AB898 48 00 00 38 */ b lbl_802AE970 +lbl_802AE93C: +/* 802AE93C 002AB89C 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 802AE940 002AB8A0 54 03 10 3A */ slwi r3, r0, 2 +/* 802AE944 002AB8A4 57 C0 10 3A */ slwi r0, r30, 2 +/* 802AE948 002AB8A8 7C A4 02 14 */ add r5, r4, r0 +/* 802AE94C 002AB8AC 7C 04 1A 14 */ add r0, r4, r3 +/* 802AE950 002AB8B0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802AE954 002AB8B4 90 01 00 08 */ stw r0, 8(r1) +/* 802AE958 002AB8B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AE95C 002AB8BC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802AE960 002AB8C0 48 00 00 08 */ b lbl_802AE968 +lbl_802AE964: +/* 802AE964 002AB8C4 38 A5 00 04 */ addi r5, r5, 4 +lbl_802AE968: +/* 802AE968 002AB8C8 7C 05 00 40 */ cmplw r5, r0 +/* 802AE96C 002AB8CC 40 82 FF F8 */ bne lbl_802AE964 +lbl_802AE970: +/* 802AE970 002AB8D0 93 DD 00 04 */ stw r30, 4(r29) +lbl_802AE974: +/* 802AE974 002AB8D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE978 002AB8D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AE97C 002AB8DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AE980 002AB8E0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802AE984 002AB8E4 7C 08 03 A6 */ mtlr r0 +/* 802AE988 002AB8E8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE98C 002AB8EC 4E 80 00 20 */ blr + +.global sub_802ae990 +sub_802ae990: +/* 802AE990 002AB8F0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE994 002AB8F4 7C 08 02 A6 */ mflr r0 +/* 802AE998 002AB8F8 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE99C 002AB8FC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802AE9A0 002AB900 7C DF 33 78 */ mr r31, r6 +/* 802AE9A4 002AB904 93 C1 00 58 */ stw r30, 0x58(r1) +/* 802AE9A8 002AB908 7C 7E 1B 78 */ mr r30, r3 +/* 802AE9AC 002AB90C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 802AE9B0 002AB910 8B A4 00 03 */ lbz r29, 3(r4) +/* 802AE9B4 002AB914 C0 A5 00 00 */ lfs f5, 0(r5) +/* 802AE9B8 002AB918 C0 85 00 04 */ lfs f4, 4(r5) +/* 802AE9BC 002AB91C 28 1D 00 07 */ cmplwi r29, 7 +/* 802AE9C0 002AB920 C0 65 00 08 */ lfs f3, 8(r5) +/* 802AE9C4 002AB924 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 802AE9C8 002AB928 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 802AE9CC 002AB92C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AE9D0 002AB930 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802AE9D4 002AB934 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802AE9D8 002AB938 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802AE9DC 002AB93C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802AE9E0 002AB940 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802AE9E4 002AB944 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802AE9E8 002AB948 41 81 02 1C */ bgt lbl_802AEC04 +/* 802AE9EC 002AB94C 3C 60 80 3F */ lis r3, lbl_803EC4A8@ha +/* 802AE9F0 002AB950 57 A0 10 3A */ slwi r0, r29, 2 +/* 802AE9F4 002AB954 38 63 C4 A8 */ addi r3, r3, lbl_803EC4A8@l +/* 802AE9F8 002AB958 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802AE9FC 002AB95C 7C 09 03 A6 */ mtctr r0 +/* 802AEA00 002AB960 4E 80 04 20 */ bctr +/* 802AEA04 002AB964 EC 02 28 2A */ fadds f0, f2, f5 +/* 802AEA08 002AB968 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA0C 002AB96C 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA10 002AB970 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA14 002AB974 40 82 00 0C */ bne lbl_802AEA20 +/* 802AEA18 002AB978 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 802AEA1C 002AB97C 48 00 01 E8 */ b lbl_802AEC04 +lbl_802AEA20: +/* 802AEA20 002AB980 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AEA24 002AB984 48 00 01 E0 */ b lbl_802AEC04 +/* 802AEA28 002AB988 EC 01 20 2A */ fadds f0, f1, f4 +/* 802AEA2C 002AB98C C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA30 002AB990 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA34 002AB994 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA38 002AB998 40 82 00 0C */ bne lbl_802AEA44 +/* 802AEA3C 002AB99C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802AEA40 002AB9A0 48 00 01 C4 */ b lbl_802AEC04 +lbl_802AEA44: +/* 802AEA44 002AB9A4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AEA48 002AB9A8 48 00 01 BC */ b lbl_802AEC04 +/* 802AEA4C 002AB9AC EC 00 18 2A */ fadds f0, f0, f3 +/* 802AEA50 002AB9B0 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) +/* 802AEA54 002AB9B4 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEA58 002AB9B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802AEA5C 002AB9BC 40 82 00 0C */ bne lbl_802AEA68 +/* 802AEA60 002AB9C0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802AEA64 002AB9C4 48 00 01 A0 */ b lbl_802AEC04 +lbl_802AEA68: +/* 802AEA68 002AB9C8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AEA6C 002AB9CC 48 00 01 98 */ b lbl_802AEC04 +/* 802AEA70 002AB9D0 7C A4 2B 78 */ mr r4, r5 +/* 802AEA74 002AB9D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AEA78 002AB9D8 48 08 8B 95 */ bl GetCenterPoint__6CAABoxCFv +/* 802AEA7C 002AB9DC 1C 1D 00 03 */ mulli r0, r29, 3 +/* 802AEA80 002AB9E0 3C 60 80 3D */ lis r3, lbl_803D6138@ha +/* 802AEA84 002AB9E4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802AEA88 002AB9E8 2C 1F 00 02 */ cmpwi r31, 2 +/* 802AEA8C 002AB9EC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802AEA90 002AB9F0 38 83 61 38 */ addi r4, r3, lbl_803D6138@l +/* 802AEA94 002AB9F4 54 00 10 3A */ slwi r0, r0, 2 +/* 802AEA98 002AB9F8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AEA9C 002AB9FC 7C 64 02 14 */ add r3, r4, r0 +/* 802AEAA0 002ABA00 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802AEAA4 002ABA04 7C 84 00 2E */ lwzx r4, r4, r0 +/* 802AEAA8 002ABA08 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802AEAAC 002ABA0C 80 A3 00 04 */ lwz r5, 4(r3) +/* 802AEAB0 002ABA10 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 802AEAB4 002ABA14 41 82 00 70 */ beq lbl_802AEB24 +/* 802AEAB8 002ABA18 40 80 00 14 */ bge lbl_802AEACC +/* 802AEABC 002ABA1C 2C 1F 00 00 */ cmpwi r31, 0 +/* 802AEAC0 002ABA20 41 82 00 18 */ beq lbl_802AEAD8 +/* 802AEAC4 002ABA24 40 80 00 38 */ bge lbl_802AEAFC +/* 802AEAC8 002ABA28 48 00 01 3C */ b lbl_802AEC04 +lbl_802AEACC: +/* 802AEACC 002ABA2C 2C 1F 00 04 */ cmpwi r31, 4 +/* 802AEAD0 002ABA30 40 80 01 34 */ bge lbl_802AEC04 +/* 802AEAD4 002ABA34 48 00 00 78 */ b lbl_802AEB4C +lbl_802AEAD8: +/* 802AEAD8 002ABA38 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEADC 002ABA3C 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AEAE0 002ABA40 7C 04 04 2E */ lfsx f0, r4, r0 +/* 802AEAE4 002ABA44 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEAE8 002ABA48 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEAEC 002ABA4C 7C 03 05 2E */ stfsx f0, r3, r0 +/* 802AEAF0 002ABA50 7C 04 2C 2E */ lfsx f0, r4, r5 +/* 802AEAF4 002ABA54 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEAF8 002ABA58 48 00 01 0C */ b lbl_802AEC04 +lbl_802AEAFC: +/* 802AEAFC 002ABA5C 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEB00 002ABA60 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AEB04 002ABA64 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEB08 002ABA68 7C 23 04 2E */ lfsx f1, r3, r0 +/* 802AEB0C 002ABA6C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEB10 002ABA70 7C 03 2C 2E */ lfsx f0, r3, r5 +/* 802AEB14 002ABA74 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEB18 002ABA78 7C 24 05 2E */ stfsx f1, r4, r0 +/* 802AEB1C 002ABA7C 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB20 002ABA80 48 00 00 E4 */ b lbl_802AEC04 +lbl_802AEB24: +/* 802AEB24 002ABA84 54 A0 10 3A */ slwi r0, r5, 2 +/* 802AEB28 002ABA88 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AEB2C 002ABA8C 54 85 10 3A */ slwi r5, r4, 2 +/* 802AEB30 002ABA90 7C 23 04 2E */ lfsx f1, r3, r0 +/* 802AEB34 002ABA94 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEB38 002ABA98 7C 03 2C 2E */ lfsx f0, r3, r5 +/* 802AEB3C 002ABA9C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AEB40 002ABAA0 7C 24 05 2E */ stfsx f1, r4, r0 +/* 802AEB44 002ABAA4 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB48 002ABAA8 48 00 00 BC */ b lbl_802AEC04 +lbl_802AEB4C: +/* 802AEB4C 002ABAAC 54 80 10 3A */ slwi r0, r4, 2 +/* 802AEB50 002ABAB0 38 81 00 2C */ addi r4, r1, 0x2c +/* 802AEB54 002ABAB4 7C 04 04 2E */ lfsx f0, r4, r0 +/* 802AEB58 002ABAB8 38 61 00 44 */ addi r3, r1, 0x44 +/* 802AEB5C 002ABABC 54 A5 10 3A */ slwi r5, r5, 2 +/* 802AEB60 002ABAC0 7C 03 05 2E */ stfsx f0, r3, r0 +/* 802AEB64 002ABAC4 7C 04 2C 2E */ lfsx f0, r4, r5 +/* 802AEB68 002ABAC8 7C 03 2D 2E */ stfsx f0, r3, r5 +/* 802AEB6C 002ABACC 48 00 00 98 */ b lbl_802AEC04 +/* 802AEB70 002ABAD0 7C A4 2B 78 */ mr r4, r5 +/* 802AEB74 002ABAD4 38 61 00 08 */ addi r3, r1, 8 +/* 802AEB78 002ABAD8 48 08 8A 95 */ bl GetCenterPoint__6CAABoxCFv +/* 802AEB7C 002ABADC 38 00 00 00 */ li r0, 0 +/* 802AEB80 002ABAE0 38 60 00 01 */ li r3, 1 +/* 802AEB84 002ABAE4 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEB88 002ABAE8 C0 41 00 08 */ lfs f2, 8(r1) +/* 802AEB8C 002ABAEC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AEB90 002ABAF0 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEB94 002ABAF4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802AEB98 002ABAF8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802AEB9C 002ABAFC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802AEBA0 002ABB00 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802AEBA4 002ABB04 41 82 00 10 */ beq lbl_802AEBB4 +/* 802AEBA8 002ABB08 FC 00 10 18 */ frsp f0, f2 +/* 802AEBAC 002ABB0C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AEBB0 002ABB10 48 00 00 0C */ b lbl_802AEBBC +lbl_802AEBB4: +/* 802AEBB4 002ABB14 FC 00 10 18 */ frsp f0, f2 +/* 802AEBB8 002ABB18 D0 01 00 38 */ stfs f0, 0x38(r1) +lbl_802AEBBC: +/* 802AEBBC 002ABB1C 38 00 00 01 */ li r0, 1 +/* 802AEBC0 002ABB20 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEBC4 002ABB24 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEBC8 002ABB28 41 82 00 10 */ beq lbl_802AEBD8 +/* 802AEBCC 002ABB2C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEBD0 002ABB30 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AEBD4 002ABB34 48 00 00 0C */ b lbl_802AEBE0 +lbl_802AEBD8: +/* 802AEBD8 002ABB38 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 802AEBDC 002ABB3C D0 01 00 3C */ stfs f0, 0x3c(r1) +lbl_802AEBE0: +/* 802AEBE0 002ABB40 38 00 00 02 */ li r0, 2 +/* 802AEBE4 002ABB44 7C 60 00 30 */ slw r0, r3, r0 +/* 802AEBE8 002ABB48 7F E0 00 39 */ and. r0, r31, r0 +/* 802AEBEC 002ABB4C 41 82 00 10 */ beq lbl_802AEBFC +/* 802AEBF0 002ABB50 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEBF4 002ABB54 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802AEBF8 002ABB58 48 00 00 0C */ b lbl_802AEC04 +lbl_802AEBFC: +/* 802AEBFC 002ABB5C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802AEC00 002ABB60 D0 01 00 40 */ stfs f0, 0x40(r1) +lbl_802AEC04: +/* 802AEC04 002ABB64 7F C3 F3 78 */ mr r3, r30 +/* 802AEC08 002ABB68 38 81 00 44 */ addi r4, r1, 0x44 +/* 802AEC0C 002ABB6C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802AEC10 002ABB70 48 08 98 F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802AEC14 002ABB74 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AEC18 002ABB78 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802AEC1C 002ABB7C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 802AEC20 002ABB80 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 802AEC24 002ABB84 7C 08 03 A6 */ mtlr r0 +/* 802AEC28 002ABB88 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AEC2C 002ABB8C 4E 80 00 20 */ blr + +.global sub_802aec30 +sub_802aec30: +/* 802AEC30 002ABB90 88 03 00 03 */ lbz r0, 3(r3) +/* 802AEC34 002ABB94 3C 60 80 3D */ lis r3, lbl_803D6118@ha +/* 802AEC38 002ABB98 38 63 61 18 */ addi r3, r3, lbl_803D6118@l +/* 802AEC3C 002ABB9C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AEC40 002ABBA0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AEC44 002ABBA4 4E 80 00 20 */ blr + +.global sub_802aec48 +sub_802aec48: +/* 802AEC48 002ABBA8 88 A4 00 00 */ lbz r5, 0(r4) +/* 802AEC4C 002ABBAC 38 00 00 00 */ li r0, 0 +/* 802AEC50 002ABBB0 98 A3 00 00 */ stb r5, 0(r3) +/* 802AEC54 002ABBB4 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC58 002ABBB8 90 A3 00 04 */ stw r5, 4(r3) +/* 802AEC5C 002ABBBC 98 04 00 00 */ stb r0, 0(r4) +/* 802AEC60 002ABBC0 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC64 002ABBC4 80 05 00 08 */ lwz r0, 8(r5) +/* 802AEC68 002ABBC8 90 03 00 08 */ stw r0, 8(r3) +/* 802AEC6C 002ABBCC 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC70 002ABBD0 80 05 00 0C */ lwz r0, 0xc(r5) +/* 802AEC74 002ABBD4 90 03 00 0C */ stw r0, 0xc(r3) +/* 802AEC78 002ABBD8 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC7C 002ABBDC 80 05 00 10 */ lwz r0, 0x10(r5) +/* 802AEC80 002ABBE0 90 03 00 10 */ stw r0, 0x10(r3) +/* 802AEC84 002ABBE4 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AEC88 002ABBE8 38 05 00 1F */ addi r0, r5, 0x1f +/* 802AEC8C 002ABBEC 54 00 D9 7E */ srwi r0, r0, 5 +/* 802AEC90 002ABBF0 90 03 00 14 */ stw r0, 0x14(r3) +/* 802AEC94 002ABBF4 80 A4 00 04 */ lwz r5, 4(r4) +/* 802AEC98 002ABBF8 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802AEC9C 002ABBFC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802AECA0 002ABC00 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 802AECA4 002ABC04 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802AECA8 002ABC08 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 802AECAC 002ABC0C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802AECB0 002ABC10 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 802AECB4 002ABC14 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802AECB8 002ABC18 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 802AECBC 002ABC1C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802AECC0 002ABC20 C0 05 00 28 */ lfs f0, 0x28(r5) +/* 802AECC4 002ABC24 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802AECC8 002ABC28 80 84 00 04 */ lwz r4, 4(r4) +/* 802AECCC 002ABC2C 38 04 00 40 */ addi r0, r4, 0x40 +/* 802AECD0 002ABC30 90 03 00 30 */ stw r0, 0x30(r3) +/* 802AECD4 002ABC34 80 83 00 08 */ lwz r4, 8(r3) +/* 802AECD8 002ABC38 80 03 00 14 */ lwz r0, 0x14(r3) +/* 802AECDC 002ABC3C 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 802AECE0 002ABC40 7C 04 01 D6 */ mullw r0, r4, r0 +/* 802AECE4 002ABC44 54 00 10 3A */ slwi r0, r0, 2 +/* 802AECE8 002ABC48 7C 05 02 14 */ add r0, r5, r0 +/* 802AECEC 002ABC4C 90 03 00 34 */ stw r0, 0x34(r3) +/* 802AECF0 002ABC50 80 03 00 10 */ lwz r0, 0x10(r3) +/* 802AECF4 002ABC54 80 83 00 34 */ lwz r4, 0x34(r3) +/* 802AECF8 002ABC58 54 00 10 3A */ slwi r0, r0, 2 +/* 802AECFC 002ABC5C 7C 04 02 14 */ add r0, r4, r0 +/* 802AED00 002ABC60 90 03 00 38 */ stw r0, 0x38(r3) +/* 802AED04 002ABC64 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollidableOBBTree.s b/asm/WorldFormat/CCollidableOBBTree.s new file mode 100644 index 00000000..407eae33 --- /dev/null +++ b/asm/WorldFormat/CCollidableOBBTree.s @@ -0,0 +1,3131 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dtl__18CCollidableOBBTreeFv +__dtl__18CCollidableOBBTreeFv: +/* 802A98EC 002A684C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A98F0 002A6850 7C 08 02 A6 */ mflr r0 +/* 802A98F4 002A6854 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A98F8 002A6858 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A98FC 002A685C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 802A9900 002A6860 41 82 00 30 */ beq lbl_802A9930 +/* 802A9904 002A6864 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802A9908 002A6868 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802A990C 002A686C 90 1F 00 00 */ stw r0, 0(r31) +/* 802A9910 002A6870 41 82 00 10 */ beq lbl_802A9920 +/* 802A9914 002A6874 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802A9918 002A6878 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 802A991C 002A687C 90 1F 00 00 */ stw r0, 0(r31) +lbl_802A9920: +/* 802A9920 002A6880 7C 80 07 35 */ extsh. r0, r4 +/* 802A9924 002A6884 40 81 00 0C */ ble lbl_802A9930 +/* 802A9928 002A6888 7F E3 FB 78 */ mr r3, r31 +/* 802A992C 002A688C 48 06 C0 05 */ bl Free__7CMemoryFPCv +lbl_802A9930: +/* 802A9930 002A6890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A9934 002A6894 7F E3 FB 78 */ mr r3, r31 +/* 802A9938 002A6898 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A993C 002A689C 7C 08 03 A6 */ mtlr r0 +/* 802A9940 002A68A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A9944 002A68A4 4E 80 00 20 */ blr + +.global GetTableIndex__18CCollidableOBBTreeCFv +GetTableIndex__18CCollidableOBBTreeCFv: +/* 802A9948 002A68A8 80 6D 9A 70 */ lwz r3, lbl_805A8630@sda21(r13) +/* 802A994C 002A68AC 4E 80 00 20 */ blr + +.global LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo: +/* 802A9950 002A68B0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A9954 002A68B4 7C 08 02 A6 */ mflr r0 +/* 802A9958 002A68B8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A995C 002A68BC BE E1 00 7C */ stmw r23, 0x7c(r1) +/* 802A9960 002A68C0 7C 98 23 78 */ mr r24, r4 +/* 802A9964 002A68C4 7C B9 2B 78 */ mr r25, r5 +/* 802A9968 002A68C8 7C 77 1B 78 */ mr r23, r3 +/* 802A996C 002A68CC 3B 41 00 48 */ addi r26, r1, 0x48 +/* 802A9970 002A68D0 3B C0 00 00 */ li r30, 0 +/* 802A9974 002A68D4 3B A0 00 00 */ li r29, 0 +/* 802A9978 002A68D8 3B 60 00 00 */ li r27, 0 +/* 802A997C 002A68DC 83 E4 00 04 */ lwz r31, 4(r4) +/* 802A9980 002A68E0 83 85 00 04 */ lwz r28, 4(r5) +/* 802A9984 002A68E4 48 00 00 84 */ b lbl_802A9A08 +lbl_802A9988: +/* 802A9988 002A68E8 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802A998C 002A68EC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A9990 002A68F0 80 97 00 10 */ lwz r4, 0x10(r23) +/* 802A9994 002A68F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802A9998 002A68F8 7C A5 02 2E */ lhzx r5, r5, r0 +/* 802A999C 002A68FC 4B FF F2 21 */ bl GetSurface__8COBBTreeCFUs +/* 802A99A0 002A6900 7E E3 BB 78 */ mr r3, r23 +/* 802A99A4 002A6904 81 97 00 00 */ lwz r12, 0(r23) +/* 802A99A8 002A6908 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802A99AC 002A690C 7D 89 03 A6 */ mtctr r12 +/* 802A99B0 002A6910 4E 80 04 21 */ bctrl +/* 802A99B4 002A6914 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 802A99B8 002A6918 38 81 00 08 */ addi r4, r1, 8 +/* 802A99BC 002A691C 80 03 00 04 */ lwz r0, 4(r3) +/* 802A99C0 002A6920 80 A3 00 00 */ lwz r5, 0(r3) +/* 802A99C4 002A6924 7F 83 E3 78 */ mr r3, r28 +/* 802A99C8 002A6928 7C C0 03 78 */ or r0, r6, r0 +/* 802A99CC 002A692C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802A99D0 002A6930 90 A1 00 08 */ stw r5, 8(r1) +/* 802A99D4 002A6934 48 02 B9 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A99D8 002A6938 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A99DC 002A693C 41 82 00 28 */ beq lbl_802A9A04 +/* 802A99E0 002A6940 80 79 00 00 */ lwz r3, 0(r25) +/* 802A99E4 002A6944 7F 45 D3 78 */ mr r5, r26 +/* 802A99E8 002A6948 38 D9 00 08 */ addi r6, r25, 8 +/* 802A99EC 002A694C 38 83 00 2C */ addi r4, r3, 0x2c +/* 802A99F0 002A6950 48 02 8D 4D */ bl RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf +/* 802A99F4 002A6954 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A99F8 002A6958 41 82 00 0C */ beq lbl_802A9A04 +/* 802A99FC 002A695C 7F 7E DB 78 */ mr r30, r27 +/* 802A9A00 002A6960 3B A0 00 01 */ li r29, 1 +lbl_802A9A04: +/* 802A9A04 002A6964 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802A9A08: +/* 802A9A08 002A6968 57 60 04 3E */ clrlwi r0, r27, 0x10 +/* 802A9A0C 002A696C 7C 00 F8 00 */ cmpw r0, r31 +/* 802A9A10 002A6970 41 80 FF 78 */ blt lbl_802A9988 +/* 802A9A14 002A6974 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 802A9A18 002A6978 41 82 00 58 */ beq lbl_802A9A70 +/* 802A9A1C 002A697C 80 B8 00 0C */ lwz r5, 0xc(r24) +/* 802A9A20 002A6980 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e +/* 802A9A24 002A6984 80 97 00 10 */ lwz r4, 0x10(r23) +/* 802A9A28 002A6988 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A9A2C 002A698C 7C A5 02 2E */ lhzx r5, r5, r0 +/* 802A9A30 002A6990 4B FF F1 8D */ bl GetSurface__8COBBTreeCFUs +/* 802A9A34 002A6994 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A9A38 002A6998 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A9A3C 002A699C 4B FF 8B F9 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A9A40 002A69A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A9A44 002A69A4 38 00 00 00 */ li r0, 0 +/* 802A9A48 002A69A8 D0 19 00 0C */ stfs f0, 0xc(r25) +/* 802A9A4C 002A69AC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A9A50 002A69B0 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 802A9A54 002A69B4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A9A58 002A69B8 D0 19 00 14 */ stfs f0, 0x14(r25) +/* 802A9A5C 002A69BC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A9A60 002A69C0 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 802A9A64 002A69C4 80 61 00 44 */ lwz r3, 0x44(r1) +/* 802A9A68 002A69C8 90 79 00 24 */ stw r3, 0x24(r25) +/* 802A9A6C 002A69CC 90 19 00 20 */ stw r0, 0x20(r25) +lbl_802A9A70: +/* 802A9A70 002A69D0 7F A3 EB 78 */ mr r3, r29 +/* 802A9A74 002A69D4 BA E1 00 7C */ lmw r23, 0x7c(r1) +/* 802A9A78 002A69D8 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A9A7C 002A69DC 7C 08 03 A6 */ mtlr r0 +/* 802A9A80 002A69E0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A9A84 002A69E4 4E 80 00 20 */ blr + +.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo: +/* 802A9A88 002A69E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A9A8C 002A69EC 7C 08 02 A6 */ mflr r0 +/* 802A9A90 002A69F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9A94 002A69F4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 802A9A98 002A69F8 7C 9C 23 78 */ mr r28, r4 +/* 802A9A9C 002A69FC 7C BD 2B 78 */ mr r29, r5 +/* 802A9AA0 002A6A00 7C 7B 1B 78 */ mr r27, r3 +/* 802A9AA4 002A6A04 7C DE 33 78 */ mr r30, r6 +/* 802A9AA8 002A6A08 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A9AAC 002A6A0C 3B E0 00 00 */ li r31, 0 +/* 802A9AB0 002A6A10 3B 40 00 00 */ li r26, 0 +/* 802A9AB4 002A6A14 80 83 00 14 */ lwz r4, 0x14(r3) +/* 802A9AB8 002A6A18 7F 83 E3 78 */ mr r3, r28 +/* 802A9ABC 002A6A1C 38 04 00 02 */ addi r0, r4, 2 +/* 802A9AC0 002A6A20 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802A9AC4 002A6A24 80 86 00 00 */ lwz r4, 0(r6) +/* 802A9AC8 002A6A28 48 02 C0 F1 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9ACC 002A6A2C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9AD0 002A6A30 28 00 00 01 */ cmplwi r0, 1 +/* 802A9AD4 002A6A34 40 82 00 18 */ bne lbl_802A9AEC +/* 802A9AD8 002A6A38 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A9ADC 002A6A3C C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9AE0 002A6A40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9AE4 002A6A44 40 80 00 08 */ bge lbl_802A9AEC +/* 802A9AE8 002A6A48 3B 40 00 01 */ li r26, 1 +lbl_802A9AEC: +/* 802A9AEC 002A6A4C 80 9E 00 00 */ lwz r4, 0(r30) +/* 802A9AF0 002A6A50 7F A3 EB 78 */ mr r3, r29 +/* 802A9AF4 002A6A54 38 A1 00 08 */ addi r5, r1, 8 +/* 802A9AF8 002A6A58 3B 20 00 00 */ li r25, 0 +/* 802A9AFC 002A6A5C 48 02 C0 BD */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9B00 002A6A60 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9B04 002A6A64 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B08 002A6A68 40 82 00 18 */ bne lbl_802A9B20 +/* 802A9B0C 002A6A6C C0 21 00 08 */ lfs f1, 8(r1) +/* 802A9B10 002A6A70 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9B14 002A6A74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B18 002A6A78 40 80 00 08 */ bge lbl_802A9B20 +/* 802A9B1C 002A6A7C 3B 20 00 01 */ li r25, 1 +lbl_802A9B20: +/* 802A9B20 002A6A80 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802A9B24 002A6A84 41 82 01 7C */ beq lbl_802A9CA0 +/* 802A9B28 002A6A88 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802A9B2C 002A6A8C 41 82 01 74 */ beq lbl_802A9CA0 +/* 802A9B30 002A6A90 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802A9B34 002A6A94 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A9B38 002A6A98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B3C 002A6A9C 40 80 00 B4 */ bge lbl_802A9BF0 +/* 802A9B40 002A6AA0 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9B44 002A6AA4 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B48 002A6AA8 40 82 00 18 */ bne lbl_802A9B60 +/* 802A9B4C 002A6AAC 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9B50 002A6AB0 7F 63 DB 78 */ mr r3, r27 +/* 802A9B54 002A6AB4 7F C5 F3 78 */ mr r5, r30 +/* 802A9B58 002A6AB8 4B FF FD F9 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9B5C 002A6ABC 48 00 00 18 */ b lbl_802A9B74 +lbl_802A9B60: +/* 802A9B60 002A6AC0 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9B64 002A6AC4 7F 63 DB 78 */ mr r3, r27 +/* 802A9B68 002A6AC8 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9B6C 002A6ACC 7F C6 F3 78 */ mr r6, r30 +/* 802A9B70 002A6AD0 4B FF FF 19 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +lbl_802A9B74: +/* 802A9B74 002A6AD4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9B78 002A6AD8 28 00 00 01 */ cmplwi r0, 1 +/* 802A9B7C 002A6ADC 40 82 00 20 */ bne lbl_802A9B9C +/* 802A9B80 002A6AE0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802A9B84 002A6AE4 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A9B88 002A6AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9B8C 002A6AEC 40 80 00 0C */ bge lbl_802A9B98 +/* 802A9B90 002A6AF0 38 60 00 01 */ li r3, 1 +/* 802A9B94 002A6AF4 48 00 01 C8 */ b lbl_802A9D5C +lbl_802A9B98: +/* 802A9B98 002A6AF8 3B E0 00 01 */ li r31, 1 +lbl_802A9B9C: +/* 802A9B9C 002A6AFC 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9BA0 002A6B00 28 00 00 00 */ cmplwi r0, 0 +/* 802A9BA4 002A6B04 41 82 00 24 */ beq lbl_802A9BC8 +/* 802A9BA8 002A6B08 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9BAC 002A6B0C 7F 63 DB 78 */ mr r3, r27 +/* 802A9BB0 002A6B10 7F C5 F3 78 */ mr r5, r30 +/* 802A9BB4 002A6B14 4B FF FD 9D */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9BB8 002A6B18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9BBC 002A6B1C 41 82 01 9C */ beq lbl_802A9D58 +/* 802A9BC0 002A6B20 3B E0 00 01 */ li r31, 1 +/* 802A9BC4 002A6B24 48 00 01 94 */ b lbl_802A9D58 +lbl_802A9BC8: +/* 802A9BC8 002A6B28 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9BCC 002A6B2C 7F 63 DB 78 */ mr r3, r27 +/* 802A9BD0 002A6B30 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9BD4 002A6B34 7F C6 F3 78 */ mr r6, r30 +/* 802A9BD8 002A6B38 4B FF FE B1 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9BDC 002A6B3C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9BE0 002A6B40 28 00 00 01 */ cmplwi r0, 1 +/* 802A9BE4 002A6B44 40 82 01 74 */ bne lbl_802A9D58 +/* 802A9BE8 002A6B48 3B E0 00 01 */ li r31, 1 +/* 802A9BEC 002A6B4C 48 00 01 6C */ b lbl_802A9D58 +lbl_802A9BF0: +/* 802A9BF0 002A6B50 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9BF4 002A6B54 28 00 00 01 */ cmplwi r0, 1 +/* 802A9BF8 002A6B58 40 82 00 18 */ bne lbl_802A9C10 +/* 802A9BFC 002A6B5C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9C00 002A6B60 7F 63 DB 78 */ mr r3, r27 +/* 802A9C04 002A6B64 7F C5 F3 78 */ mr r5, r30 +/* 802A9C08 002A6B68 4B FF FD 49 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9C0C 002A6B6C 48 00 00 18 */ b lbl_802A9C24 +lbl_802A9C10: +/* 802A9C10 002A6B70 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9C14 002A6B74 7F 63 DB 78 */ mr r3, r27 +/* 802A9C18 002A6B78 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9C1C 002A6B7C 7F C6 F3 78 */ mr r6, r30 +/* 802A9C20 002A6B80 4B FF FE 69 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +lbl_802A9C24: +/* 802A9C24 002A6B84 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9C28 002A6B88 28 00 00 01 */ cmplwi r0, 1 +/* 802A9C2C 002A6B8C 40 82 00 20 */ bne lbl_802A9C4C +/* 802A9C30 002A6B90 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802A9C34 002A6B94 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A9C38 002A6B98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9C3C 002A6B9C 40 80 00 0C */ bge lbl_802A9C48 +/* 802A9C40 002A6BA0 38 60 00 01 */ li r3, 1 +/* 802A9C44 002A6BA4 48 00 01 18 */ b lbl_802A9D5C +lbl_802A9C48: +/* 802A9C48 002A6BA8 3B E0 00 01 */ li r31, 1 +lbl_802A9C4C: +/* 802A9C4C 002A6BAC 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9C50 002A6BB0 28 00 00 00 */ cmplwi r0, 0 +/* 802A9C54 002A6BB4 41 82 00 24 */ beq lbl_802A9C78 +/* 802A9C58 002A6BB8 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9C5C 002A6BBC 7F 63 DB 78 */ mr r3, r27 +/* 802A9C60 002A6BC0 7F C5 F3 78 */ mr r5, r30 +/* 802A9C64 002A6BC4 4B FF FC ED */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9C68 002A6BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9C6C 002A6BCC 41 82 00 EC */ beq lbl_802A9D58 +/* 802A9C70 002A6BD0 3B E0 00 01 */ li r31, 1 +/* 802A9C74 002A6BD4 48 00 00 E4 */ b lbl_802A9D58 +lbl_802A9C78: +/* 802A9C78 002A6BD8 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9C7C 002A6BDC 7F 63 DB 78 */ mr r3, r27 +/* 802A9C80 002A6BE0 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9C84 002A6BE4 7F C6 F3 78 */ mr r6, r30 +/* 802A9C88 002A6BE8 4B FF FE 01 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9C8C 002A6BEC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9C90 002A6BF0 28 00 00 01 */ cmplwi r0, 1 +/* 802A9C94 002A6BF4 40 82 00 C4 */ bne lbl_802A9D58 +/* 802A9C98 002A6BF8 3B E0 00 01 */ li r31, 1 +/* 802A9C9C 002A6BFC 48 00 00 BC */ b lbl_802A9D58 +lbl_802A9CA0: +/* 802A9CA0 002A6C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 802A9CA4 002A6C04 41 82 00 58 */ beq lbl_802A9CFC +/* 802A9CA8 002A6C08 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802A9CAC 002A6C0C 28 00 00 01 */ cmplwi r0, 1 +/* 802A9CB0 002A6C10 40 82 00 24 */ bne lbl_802A9CD4 +/* 802A9CB4 002A6C14 80 9C 00 48 */ lwz r4, 0x48(r28) +/* 802A9CB8 002A6C18 7F 63 DB 78 */ mr r3, r27 +/* 802A9CBC 002A6C1C 7F C5 F3 78 */ mr r5, r30 +/* 802A9CC0 002A6C20 4B FF FC 91 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9CC4 002A6C24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9CC8 002A6C28 41 82 00 34 */ beq lbl_802A9CFC +/* 802A9CCC 002A6C2C 38 60 00 01 */ li r3, 1 +/* 802A9CD0 002A6C30 48 00 00 8C */ b lbl_802A9D5C +lbl_802A9CD4: +/* 802A9CD4 002A6C34 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802A9CD8 002A6C38 7F 63 DB 78 */ mr r3, r27 +/* 802A9CDC 002A6C3C 80 BC 00 44 */ lwz r5, 0x44(r28) +/* 802A9CE0 002A6C40 7F C6 F3 78 */ mr r6, r30 +/* 802A9CE4 002A6C44 4B FF FD A5 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9CE8 002A6C48 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9CEC 002A6C4C 28 00 00 01 */ cmplwi r0, 1 +/* 802A9CF0 002A6C50 40 82 00 0C */ bne lbl_802A9CFC +/* 802A9CF4 002A6C54 38 60 00 01 */ li r3, 1 +/* 802A9CF8 002A6C58 48 00 00 64 */ b lbl_802A9D5C +lbl_802A9CFC: +/* 802A9CFC 002A6C5C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 802A9D00 002A6C60 41 82 00 58 */ beq lbl_802A9D58 +/* 802A9D04 002A6C64 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9D08 002A6C68 28 00 00 01 */ cmplwi r0, 1 +/* 802A9D0C 002A6C6C 40 82 00 24 */ bne lbl_802A9D30 +/* 802A9D10 002A6C70 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9D14 002A6C74 7F 63 DB 78 */ mr r3, r27 +/* 802A9D18 002A6C78 7F C5 F3 78 */ mr r5, r30 +/* 802A9D1C 002A6C7C 4B FF FC 35 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9D20 002A6C80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9D24 002A6C84 41 82 00 34 */ beq lbl_802A9D58 +/* 802A9D28 002A6C88 38 60 00 01 */ li r3, 1 +/* 802A9D2C 002A6C8C 48 00 00 30 */ b lbl_802A9D5C +lbl_802A9D30: +/* 802A9D30 002A6C90 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9D34 002A6C94 7F 63 DB 78 */ mr r3, r27 +/* 802A9D38 002A6C98 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9D3C 002A6C9C 7F C6 F3 78 */ mr r6, r30 +/* 802A9D40 002A6CA0 4B FF FD 49 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9D44 002A6CA4 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9D48 002A6CA8 28 00 00 01 */ cmplwi r0, 1 +/* 802A9D4C 002A6CAC 40 82 00 0C */ bne lbl_802A9D58 +/* 802A9D50 002A6CB0 38 60 00 01 */ li r3, 1 +/* 802A9D54 002A6CB4 48 00 00 08 */ b lbl_802A9D5C +lbl_802A9D58: +/* 802A9D58 002A6CB8 7F E3 FB 78 */ mr r3, r31 +lbl_802A9D5C: +/* 802A9D5C 002A6CBC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 802A9D60 002A6CC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A9D64 002A6CC4 7C 08 03 A6 */ mtlr r0 +/* 802A9D68 002A6CC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A9D6C 002A6CCC 4E 80 00 20 */ blr + +.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo +LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo: +/* 802A9D70 002A6CD0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A9D74 002A6CD4 7C 08 02 A6 */ mflr r0 +/* 802A9D78 002A6CD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A9D7C 002A6CDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A9D80 002A6CE0 3B E0 00 00 */ li r31, 0 +/* 802A9D84 002A6CE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A9D88 002A6CE8 7C BE 2B 78 */ mr r30, r5 +/* 802A9D8C 002A6CEC 38 A1 00 08 */ addi r5, r1, 8 +/* 802A9D90 002A6CF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A9D94 002A6CF4 7C 9D 23 78 */ mr r29, r4 +/* 802A9D98 002A6CF8 93 81 00 10 */ stw r28, 0x10(r1) +/* 802A9D9C 002A6CFC 7C 7C 1B 78 */ mr r28, r3 +/* 802A9DA0 002A6D00 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 802A9DA4 002A6D04 7F A3 EB 78 */ mr r3, r29 +/* 802A9DA8 002A6D08 38 06 00 01 */ addi r0, r6, 1 +/* 802A9DAC 002A6D0C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802A9DB0 002A6D10 80 9E 00 00 */ lwz r4, 0(r30) +/* 802A9DB4 002A6D14 48 02 BE 05 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf +/* 802A9DB8 002A6D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9DBC 002A6D1C 41 82 00 74 */ beq lbl_802A9E30 +/* 802A9DC0 002A6D20 C0 21 00 08 */ lfs f1, 8(r1) +/* 802A9DC4 002A6D24 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A9DC8 002A6D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A9DCC 002A6D2C 40 80 00 64 */ bge lbl_802A9E30 +/* 802A9DD0 002A6D30 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802A9DD4 002A6D34 28 00 00 01 */ cmplwi r0, 1 +/* 802A9DD8 002A6D38 40 82 00 28 */ bne lbl_802A9E00 +/* 802A9DDC 002A6D3C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802A9DE0 002A6D40 7F 83 E3 78 */ mr r3, r28 +/* 802A9DE4 002A6D44 7F C5 F3 78 */ mr r5, r30 +/* 802A9DE8 002A6D48 4B FF FB 69 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo +/* 802A9DEC 002A6D4C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9DF0 002A6D50 28 00 00 01 */ cmplwi r0, 1 +/* 802A9DF4 002A6D54 40 82 00 30 */ bne lbl_802A9E24 +/* 802A9DF8 002A6D58 3B E0 00 01 */ li r31, 1 +/* 802A9DFC 002A6D5C 48 00 00 28 */ b lbl_802A9E24 +lbl_802A9E00: +/* 802A9E00 002A6D60 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802A9E04 002A6D64 7F 83 E3 78 */ mr r3, r28 +/* 802A9E08 002A6D68 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 802A9E0C 002A6D6C 7F C6 F3 78 */ mr r6, r30 +/* 802A9E10 002A6D70 4B FF FC 79 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9E14 002A6D74 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A9E18 002A6D78 28 00 00 01 */ cmplwi r0, 1 +/* 802A9E1C 002A6D7C 40 82 00 08 */ bne lbl_802A9E24 +/* 802A9E20 002A6D80 3B E0 00 01 */ li r31, 1 +lbl_802A9E24: +/* 802A9E24 002A6D84 38 00 00 01 */ li r0, 1 +/* 802A9E28 002A6D88 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 802A9E2C 002A6D8C 48 00 00 10 */ b lbl_802A9E3C +lbl_802A9E30: +/* 802A9E30 002A6D90 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A9E34 002A6D94 38 03 00 01 */ addi r0, r3, 1 +/* 802A9E38 002A6D98 90 1C 00 18 */ stw r0, 0x18(r28) +lbl_802A9E3C: +/* 802A9E3C 002A6D9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A9E40 002A6DA0 7F E3 FB 78 */ mr r3, r31 +/* 802A9E44 002A6DA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A9E48 002A6DA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A9E4C 002A6DAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A9E50 002A6DB0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802A9E54 002A6DB4 7C 08 03 A6 */ mtlr r0 +/* 802A9E58 002A6DB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A9E5C 002A6DBC 4E 80 00 20 */ blr + +.global LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f +LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f: +/* 802A9E60 002A6DC0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802A9E64 002A6DC4 7C 08 02 A6 */ mflr r0 +/* 802A9E68 002A6DC8 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A9E6C 002A6DCC DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802A9E70 002A6DD0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802A9E74 002A6DD4 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 802A9E78 002A6DD8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 802A9E7C 002A6DDC DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 802A9E80 002A6DE0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 802A9E84 002A6DE4 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 802A9E88 002A6DE8 FF A0 08 90 */ fmr f29, f1 +/* 802A9E8C 002A6DEC 7C 7B 1B 78 */ mr r27, r3 +/* 802A9E90 002A6DF0 7C BD 2B 78 */ mr r29, r5 +/* 802A9E94 002A6DF4 7C FE 3B 78 */ mr r30, r7 +/* 802A9E98 002A6DF8 7C 9C 23 78 */ mr r28, r4 +/* 802A9E9C 002A6DFC 7C DF 33 78 */ mr r31, r6 +/* 802A9EA0 002A6E00 7F A4 EB 78 */ mr r4, r29 +/* 802A9EA4 002A6E04 7F C5 F3 78 */ mr r5, r30 +/* 802A9EA8 002A6E08 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A9EAC 002A6E0C 48 02 C1 3D */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +/* 802A9EB0 002A6E10 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) +/* 802A9EB4 002A6E14 38 01 00 90 */ addi r0, r1, 0x90 +/* 802A9EB8 002A6E18 C3 C1 00 30 */ lfs f30, 0x30(r1) +/* 802A9EBC 002A6E1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A9EC0 002A6E20 C3 E1 00 34 */ lfs f31, 0x34(r1) +/* 802A9EC4 002A6E24 C1 A1 00 38 */ lfs f13, 0x38(r1) +/* 802A9EC8 002A6E28 C1 81 00 3C */ lfs f12, 0x3c(r1) +/* 802A9ECC 002A6E2C C1 61 00 40 */ lfs f11, 0x40(r1) +/* 802A9ED0 002A6E30 C1 41 00 44 */ lfs f10, 0x44(r1) +/* 802A9ED4 002A6E34 C1 21 00 48 */ lfs f9, 0x48(r1) +/* 802A9ED8 002A6E38 C1 01 00 4C */ lfs f8, 0x4c(r1) +/* 802A9EDC 002A6E3C C0 E1 00 50 */ lfs f7, 0x50(r1) +/* 802A9EE0 002A6E40 C0 C1 00 54 */ lfs f6, 0x54(r1) +/* 802A9EE4 002A6E44 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 802A9EE8 002A6E48 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802A9EEC 002A6E4C C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802A9EF0 002A6E50 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802A9EF4 002A6E54 C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) +/* 802A9EF8 002A6E58 D3 C1 00 90 */ stfs f30, 0x90(r1) +/* 802A9EFC 002A6E5C D3 E1 00 94 */ stfs f31, 0x94(r1) +/* 802A9F00 002A6E60 D1 A1 00 98 */ stfs f13, 0x98(r1) +/* 802A9F04 002A6E64 D1 81 00 9C */ stfs f12, 0x9c(r1) +/* 802A9F08 002A6E68 D1 61 00 A0 */ stfs f11, 0xa0(r1) +/* 802A9F0C 002A6E6C D1 41 00 A4 */ stfs f10, 0xa4(r1) +/* 802A9F10 002A6E70 D1 21 00 A8 */ stfs f9, 0xa8(r1) +/* 802A9F14 002A6E74 D1 01 00 AC */ stfs f8, 0xac(r1) +/* 802A9F18 002A6E78 D0 E1 00 B0 */ stfs f7, 0xb0(r1) +/* 802A9F1C 002A6E7C D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 802A9F20 002A6E80 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 802A9F24 002A6E84 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 802A9F28 002A6E88 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 802A9F2C 002A6E8C D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 802A9F30 002A6E90 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A9F34 002A6E94 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 802A9F38 002A6E98 D3 A1 00 70 */ stfs f29, 0x70(r1) +/* 802A9F3C 002A6E9C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802A9F40 002A6EA0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802A9F44 002A6EA4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A9F48 002A6EA8 48 06 A9 B1 */ bl Normalize__9CVector3fFv +/* 802A9F4C 002A6EAC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A9F50 002A6EB0 38 00 00 00 */ li r0, 0 +/* 802A9F54 002A6EB4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 802A9F58 002A6EB8 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802A9F5C 002A6EBC C0 04 00 04 */ lfs f0, 4(r4) +/* 802A9F60 002A6EC0 7F 83 E3 78 */ mr r3, r28 +/* 802A9F64 002A6EC4 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802A9F68 002A6EC8 3B E1 00 74 */ addi r31, r1, 0x74 +/* 802A9F6C 002A6ECC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 802A9F70 002A6ED0 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A9F74 002A6ED4 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802A9F78 002A6ED8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A9F7C 002A6EDC C0 44 00 08 */ lfs f2, 8(r4) +/* 802A9F80 002A6EE0 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802A9F84 002A6EE4 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802A9F88 002A6EE8 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 802A9F8C 002A6EEC EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 802A9F90 002A6EF0 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802A9F94 002A6EF4 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802A9F98 002A6EF8 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 802A9F9C 002A6EFC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 802A9FA0 002A6F00 90 01 00 88 */ stw r0, 0x88(r1) +/* 802A9FA4 002A6F04 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802A9FA8 002A6F08 4B FF FD C9 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo +/* 802A9FAC 002A6F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A9FB0 002A6F10 41 82 00 94 */ beq lbl_802AA044 +/* 802A9FB4 002A6F14 7F E4 FB 78 */ mr r4, r31 +/* 802A9FB8 002A6F18 7F C5 F3 78 */ mr r5, r30 +/* 802A9FBC 002A6F1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A9FC0 002A6F20 48 00 01 0D */ bl TransformPlane__FRC6CPlaneRC12CTransform4f +/* 802A9FC4 002A6F24 C1 01 00 70 */ lfs f8, 0x70(r1) +/* 802A9FC8 002A6F28 38 00 00 01 */ li r0, 1 +/* 802A9FCC 002A6F2C C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 802A9FD0 002A6F30 C0 3D 00 30 */ lfs f1, 0x30(r29) +/* 802A9FD4 002A6F34 EC 88 00 32 */ fmuls f4, f8, f0 +/* 802A9FD8 002A6F38 C0 BD 00 00 */ lfs f5, 0(r29) +/* 802A9FDC 002A6F3C EC 48 00 72 */ fmuls f2, f8, f1 +/* 802A9FE0 002A6F40 C0 7D 00 04 */ lfs f3, 4(r29) +/* 802A9FE4 002A6F44 C0 1D 00 34 */ lfs f0, 0x34(r29) +/* 802A9FE8 002A6F48 EC 85 20 2A */ fadds f4, f5, f4 +/* 802A9FEC 002A6F4C EC 43 10 2A */ fadds f2, f3, f2 +/* 802A9FF0 002A6F50 C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 802A9FF4 002A6F54 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 802A9FF8 002A6F58 EC 08 00 32 */ fmuls f0, f8, f0 +/* 802A9FFC 002A6F5C C0 3D 00 08 */ lfs f1, 8(r29) +/* 802AA000 002A6F60 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802AA004 002A6F64 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802AA008 002A6F68 EC 01 00 2A */ fadds f0, f1, f0 +/* 802AA00C 002A6F6C D1 1B 00 00 */ stfs f8, 0(r27) +/* 802AA010 002A6F70 D0 9B 00 04 */ stfs f4, 4(r27) +/* 802AA014 002A6F74 D0 5B 00 08 */ stfs f2, 8(r27) +/* 802AA018 002A6F78 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 802AA01C 002A6F7C D0 DB 00 10 */ stfs f6, 0x10(r27) +/* 802AA020 002A6F80 D0 FB 00 14 */ stfs f7, 0x14(r27) +/* 802AA024 002A6F84 D0 BB 00 18 */ stfs f5, 0x18(r27) +/* 802AA028 002A6F88 D0 7B 00 1C */ stfs f3, 0x1c(r27) +/* 802AA02C 002A6F8C 98 1B 00 20 */ stb r0, 0x20(r27) +/* 802AA030 002A6F90 80 01 00 88 */ lwz r0, 0x88(r1) +/* 802AA034 002A6F94 80 61 00 8C */ lwz r3, 0x8c(r1) +/* 802AA038 002A6F98 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 802AA03C 002A6F9C 90 1B 00 28 */ stw r0, 0x28(r27) +/* 802AA040 002A6FA0 48 00 00 60 */ b lbl_802AA0A0 +lbl_802AA044: +/* 802AA044 002A6FA4 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) +/* 802AA048 002A6FA8 38 61 00 08 */ addi r3, r1, 8 +/* 802AA04C 002A6FAC C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) +/* 802AA050 002A6FB0 D0 3B 00 00 */ stfs f1, 0(r27) +/* 802AA054 002A6FB4 D0 3B 00 04 */ stfs f1, 4(r27) +/* 802AA058 002A6FB8 D0 3B 00 08 */ stfs f1, 8(r27) +/* 802AA05C 002A6FBC D0 3B 00 0C */ stfs f1, 0xc(r27) +/* 802AA060 002A6FC0 D0 01 00 08 */ stfs f0, 8(r1) +/* 802AA064 002A6FC4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802AA068 002A6FC8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 802AA06C 002A6FCC 48 06 A8 8D */ bl Normalize__9CVector3fFv +/* 802AA070 002A6FD0 C0 21 00 08 */ lfs f1, 8(r1) +/* 802AA074 002A6FD4 38 00 00 00 */ li r0, 0 +/* 802AA078 002A6FD8 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AA07C 002A6FDC D0 3B 00 10 */ stfs f1, 0x10(r27) +/* 802AA080 002A6FE0 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AA084 002A6FE4 D0 3B 00 14 */ stfs f1, 0x14(r27) +/* 802AA088 002A6FE8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802AA08C 002A6FEC D0 3B 00 18 */ stfs f1, 0x18(r27) +/* 802AA090 002A6FF0 D0 1B 00 1C */ stfs f0, 0x1c(r27) +/* 802AA094 002A6FF4 98 1B 00 20 */ stb r0, 0x20(r27) +/* 802AA098 002A6FF8 90 1B 00 2C */ stw r0, 0x2c(r27) +/* 802AA09C 002A6FFC 90 1B 00 28 */ stw r0, 0x28(r27) +lbl_802AA0A0: +/* 802AA0A0 002A7000 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802AA0A4 002A7004 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802AA0A8 002A7008 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 802AA0AC 002A700C CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 802AA0B0 002A7010 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 802AA0B4 002A7014 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 802AA0B8 002A7018 BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 802AA0BC 002A701C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802AA0C0 002A7020 7C 08 03 A6 */ mtlr r0 +/* 802AA0C4 002A7024 38 21 01 10 */ addi r1, r1, 0x110 +/* 802AA0C8 002A7028 4E 80 00 20 */ blr + +.global TransformPlane__FRC6CPlaneRC12CTransform4f +TransformPlane__FRC6CPlaneRC12CTransform4f: +/* 802AA0CC 002A702C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802AA0D0 002A7030 7C 08 02 A6 */ mflr r0 +/* 802AA0D4 002A7034 90 01 00 74 */ stw r0, 0x74(r1) +/* 802AA0D8 002A7038 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 802AA0DC 002A703C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 802AA0E0 002A7040 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 802AA0E4 002A7044 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 802AA0E8 002A7048 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 802AA0EC 002A704C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 802AA0F0 002A7050 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 802AA0F4 002A7054 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802AA0F8 002A7058 93 A1 00 34 */ stw r29, 0x34(r1) +/* 802AA0FC 002A705C 7C 9E 23 78 */ mr r30, r4 +/* 802AA100 002A7060 7C BF 2B 78 */ mr r31, r5 +/* 802AA104 002A7064 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802AA108 002A7068 7C 7D 1B 78 */ mr r29, r3 +/* 802AA10C 002A706C C0 44 00 04 */ lfs f2, 4(r4) +/* 802AA110 002A7070 7F E4 FB 78 */ mr r4, r31 +/* 802AA114 002A7074 C0 3E 00 08 */ lfs f1, 8(r30) +/* 802AA118 002A7078 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AA11C 002A707C C0 1E 00 00 */ lfs f0, 0(r30) +/* 802AA120 002A7080 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 802AA124 002A7084 EC 23 00 72 */ fmuls f1, f3, f1 +/* 802AA128 002A7088 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802AA12C 002A708C EC 03 00 32 */ fmuls f0, f3, f0 +/* 802AA130 002A7090 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802AA134 002A7094 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 802AA138 002A7098 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802AA13C 002A709C 48 06 89 AD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AA140 002A70A0 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 802AA144 002A70A4 7F E4 FB 78 */ mr r4, r31 +/* 802AA148 002A70A8 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 802AA14C 002A70AC 7F C5 F3 78 */ mr r5, r30 +/* 802AA150 002A70B0 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 802AA154 002A70B4 38 61 00 08 */ addi r3, r1, 8 +/* 802AA158 002A70B8 48 06 89 29 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802AA15C 002A70BC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 802AA160 002A70C0 C0 61 00 08 */ lfs f3, 8(r1) +/* 802AA164 002A70C4 EC 1E 00 72 */ fmuls f0, f30, f1 +/* 802AA168 002A70C8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 802AA16C 002A70CC D0 7D 00 00 */ stfs f3, 0(r29) +/* 802AA170 002A70D0 EC 1F 00 FA */ fmadds f0, f31, f3, f0 +/* 802AA174 002A70D4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 802AA178 002A70D8 EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 802AA17C 002A70DC D0 5D 00 08 */ stfs f2, 8(r29) +/* 802AA180 002A70E0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 802AA184 002A70E4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 802AA188 002A70E8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 802AA18C 002A70EC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 802AA190 002A70F0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 802AA194 002A70F4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 802AA198 002A70F8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 802AA19C 002A70FC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 802AA1A0 002A7100 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 802AA1A4 002A7104 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802AA1A8 002A7108 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 802AA1AC 002A710C 7C 08 03 A6 */ mtlr r0 +/* 802AA1B0 002A7110 38 21 00 70 */ addi r1, r1, 0x70 +/* 802AA1B4 002A7114 4E 80 00 20 */ blr + +.global CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure +CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure: +/* 802AA1B8 002A7118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AA1BC 002A711C 7C 08 02 A6 */ mflr r0 +/* 802AA1C0 002A7120 38 E5 00 3C */ addi r7, r5, 0x3c +/* 802AA1C4 002A7124 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AA1C8 002A7128 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AA1CC 002A712C 7C 7F 1B 78 */ mr r31, r3 +/* 802AA1D0 002A7130 80 C5 00 6C */ lwz r6, 0x6c(r5) +/* 802AA1D4 002A7134 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 802AA1D8 002A7138 4B FF FC 89 */ bl LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f +/* 802AA1DC 002A713C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AA1E0 002A7140 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AA1E4 002A7144 7C 08 03 A6 */ mtlr r0 +/* 802AA1E8 002A7148 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AA1EC 002A714C 4E 80 00 20 */ blr + +.global SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: +/* 802AA1F0 002A7150 94 21 FB 30 */ stwu r1, -0x4d0(r1) +/* 802AA1F4 002A7154 7C 08 02 A6 */ mflr r0 +/* 802AA1F8 002A7158 90 01 04 D4 */ stw r0, 0x4d4(r1) +/* 802AA1FC 002A715C DB E1 04 C0 */ stfd f31, 0x4c0(r1) +/* 802AA200 002A7160 F3 E1 04 C8 */ psq_st f31, 1224(r1), 0, qr0 +/* 802AA204 002A7164 DB C1 04 B0 */ stfd f30, 0x4b0(r1) +/* 802AA208 002A7168 F3 C1 04 B8 */ psq_st f30, 1208(r1), 0, qr0 +/* 802AA20C 002A716C DB A1 04 A0 */ stfd f29, 0x4a0(r1) +/* 802AA210 002A7170 F3 A1 04 A8 */ psq_st f29, 1192(r1), 0, qr0 +/* 802AA214 002A7174 DB 81 04 90 */ stfd f28, 0x490(r1) +/* 802AA218 002A7178 F3 81 04 98 */ psq_st f28, 1176(r1), 0, qr0 +/* 802AA21C 002A717C DB 61 04 80 */ stfd f27, 0x480(r1) +/* 802AA220 002A7180 F3 61 04 88 */ psq_st f27, 1160(r1), 0, qr0 +/* 802AA224 002A7184 DB 41 04 70 */ stfd f26, 0x470(r1) +/* 802AA228 002A7188 F3 41 04 78 */ psq_st f26, 1144(r1), 0, qr0 +/* 802AA22C 002A718C DB 21 04 60 */ stfd f25, 0x460(r1) +/* 802AA230 002A7190 F3 21 04 68 */ psq_st f25, 1128(r1), 0, qr0 +/* 802AA234 002A7194 DB 01 04 50 */ stfd f24, 0x450(r1) +/* 802AA238 002A7198 F3 01 04 58 */ psq_st f24, 1112(r1), 0, qr0 +/* 802AA23C 002A719C DA E1 04 40 */ stfd f23, 0x440(r1) +/* 802AA240 002A71A0 F2 E1 04 48 */ psq_st f23, 1096(r1), 0, qr0 +/* 802AA244 002A71A4 DA C1 04 30 */ stfd f22, 0x430(r1) +/* 802AA248 002A71A8 F2 C1 04 38 */ psq_st f22, 1080(r1), 0, qr0 +/* 802AA24C 002A71AC DA A1 04 20 */ stfd f21, 0x420(r1) +/* 802AA250 002A71B0 F2 A1 04 28 */ psq_st f21, 1064(r1), 0, qr0 +/* 802AA254 002A71B4 DA 81 04 10 */ stfd f20, 0x410(r1) +/* 802AA258 002A71B8 F2 81 04 18 */ psq_st f20, 1048(r1), 0, qr0 +/* 802AA25C 002A71BC DA 61 04 00 */ stfd f19, 0x400(r1) +/* 802AA260 002A71C0 F2 61 04 08 */ psq_st f19, 1032(r1), 0, qr0 +/* 802AA264 002A71C4 DA 41 03 F0 */ stfd f18, 0x3f0(r1) +/* 802AA268 002A71C8 F2 41 03 F8 */ psq_st f18, 1016(r1), 0, qr0 +/* 802AA26C 002A71CC BD C1 03 A8 */ stmw r14, 0x3a8(r1) +/* 802AA270 002A71D0 C0 C6 00 0C */ lfs f6, 0xc(r6) +/* 802AA274 002A71D4 7C 6F 1B 78 */ mr r15, r3 +/* 802AA278 002A71D8 C0 66 00 04 */ lfs f3, 4(r6) +/* 802AA27C 002A71DC 7C D0 33 78 */ mr r16, r6 +/* 802AA280 002A71E0 C0 46 00 08 */ lfs f2, 8(r6) +/* 802AA284 002A71E4 7C F1 3B 78 */ mr r17, r7 +/* 802AA288 002A71E8 EC A3 30 2A */ fadds f5, f3, f6 +/* 802AA28C 002A71EC C0 06 00 00 */ lfs f0, 0(r6) +/* 802AA290 002A71F0 EC 82 30 2A */ fadds f4, f2, f6 +/* 802AA294 002A71F4 90 81 00 08 */ stw r4, 8(r1) +/* 802AA298 002A71F8 EC 20 30 2A */ fadds f1, f0, f6 +/* 802AA29C 002A71FC 82 81 04 D8 */ lwz r20, 0x4d8(r1) +/* 802AA2A0 002A7200 EC 63 30 28 */ fsubs f3, f3, f6 +/* 802AA2A4 002A7204 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802AA2A8 002A7208 EC 42 30 28 */ fsubs f2, f2, f6 +/* 802AA2AC 002A720C 7D 32 4B 78 */ mr r18, r9 +/* 802AA2B0 002A7210 EC 00 30 28 */ fsubs f0, f0, f6 +/* 802AA2B4 002A7214 91 01 00 10 */ stw r8, 0x10(r1) +/* 802AA2B8 002A7218 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 802AA2BC 002A721C 7D 53 53 78 */ mr r19, r10 +/* 802AA2C0 002A7220 38 61 02 10 */ addi r3, r1, 0x210 +/* 802AA2C4 002A7224 38 81 01 98 */ addi r4, r1, 0x198 +/* 802AA2C8 002A7228 D0 A1 01 90 */ stfs f5, 0x190(r1) +/* 802AA2CC 002A722C 38 A1 01 8C */ addi r5, r1, 0x18c +/* 802AA2D0 002A7230 D0 81 01 94 */ stfs f4, 0x194(r1) +/* 802AA2D4 002A7234 D0 01 01 98 */ stfs f0, 0x198(r1) +/* 802AA2D8 002A7238 D0 61 01 9C */ stfs f3, 0x19c(r1) +/* 802AA2DC 002A723C D0 41 01 A0 */ stfs f2, 0x1a0(r1) +/* 802AA2E0 002A7240 48 08 E2 29 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802AA2E4 002A7244 C8 93 00 00 */ lfd f4, 0(r19) +/* 802AA2E8 002A7248 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 802AA2EC 002A724C C0 61 02 1C */ lfs f3, 0x21c(r1) +/* 802AA2F0 002A7250 38 81 01 80 */ addi r4, r1, 0x180 +/* 802AA2F4 002A7254 FC 80 20 18 */ frsp f4, f4 +/* 802AA2F8 002A7258 C0 52 00 00 */ lfs f2, 0(r18) +/* 802AA2FC 002A725C C0 32 00 04 */ lfs f1, 4(r18) +/* 802AA300 002A7260 C0 12 00 08 */ lfs f0, 8(r18) +/* 802AA304 002A7264 EF A4 00 B2 */ fmuls f29, f4, f2 +/* 802AA308 002A7268 C0 41 02 20 */ lfs f2, 0x220(r1) +/* 802AA30C 002A726C EF C4 00 72 */ fmuls f30, f4, f1 +/* 802AA310 002A7270 C0 21 02 24 */ lfs f1, 0x224(r1) +/* 802AA314 002A7274 EF E4 00 32 */ fmuls f31, f4, f0 +/* 802AA318 002A7278 C0 C1 02 10 */ lfs f6, 0x210(r1) +/* 802AA31C 002A727C ED 02 F0 2A */ fadds f8, f2, f30 +/* 802AA320 002A7280 C0 A1 02 14 */ lfs f5, 0x214(r1) +/* 802AA324 002A7284 EC E1 F8 2A */ fadds f7, f1, f31 +/* 802AA328 002A7288 C0 81 02 18 */ lfs f4, 0x218(r1) +/* 802AA32C 002A728C EC 03 E8 2A */ fadds f0, f3, f29 +/* 802AA330 002A7290 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802AA334 002A7294 D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 802AA338 002A7298 D0 81 02 00 */ stfs f4, 0x200(r1) +/* 802AA33C 002A729C D0 61 02 04 */ stfs f3, 0x204(r1) +/* 802AA340 002A72A0 D0 41 02 08 */ stfs f2, 0x208(r1) +/* 802AA344 002A72A4 D0 21 02 0C */ stfs f1, 0x20c(r1) +/* 802AA348 002A72A8 D0 01 01 80 */ stfs f0, 0x180(r1) +/* 802AA34C 002A72AC D1 01 01 84 */ stfs f8, 0x184(r1) +/* 802AA350 002A72B0 D0 E1 01 88 */ stfs f7, 0x188(r1) +/* 802AA354 002A72B4 48 08 D7 B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AA358 002A72B8 C0 41 02 14 */ lfs f2, 0x214(r1) +/* 802AA35C 002A72BC 38 61 01 F8 */ addi r3, r1, 0x1f8 +/* 802AA360 002A72C0 C0 21 02 18 */ lfs f1, 0x218(r1) +/* 802AA364 002A72C4 38 81 01 74 */ addi r4, r1, 0x174 +/* 802AA368 002A72C8 C0 01 02 10 */ lfs f0, 0x210(r1) +/* 802AA36C 002A72CC EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AA370 002A72D0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AA374 002A72D4 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AA378 002A72D8 D0 41 01 78 */ stfs f2, 0x178(r1) +/* 802AA37C 002A72DC D0 01 01 74 */ stfs f0, 0x174(r1) +/* 802AA380 002A72E0 D0 21 01 7C */ stfs f1, 0x17c(r1) +/* 802AA384 002A72E4 48 08 D7 85 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AA388 002A72E8 38 61 01 68 */ addi r3, r1, 0x168 +/* 802AA38C 002A72EC 38 81 01 F8 */ addi r4, r1, 0x1f8 +/* 802AA390 002A72F0 48 08 D2 7D */ bl GetCenterPoint__6CAABoxCFv +/* 802AA394 002A72F4 C0 61 02 08 */ lfs f3, 0x208(r1) +/* 802AA398 002A72F8 3A E0 00 00 */ li r23, 0 +/* 802AA39C 002A72FC C0 41 01 FC */ lfs f2, 0x1fc(r1) +/* 802AA3A0 002A7300 C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 802AA3A4 002A7304 C0 01 02 00 */ lfs f0, 0x200(r1) +/* 802AA3A8 002A7308 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AA3AC 002A730C 80 61 00 08 */ lwz r3, 8(r1) +/* 802AA3B0 002A7310 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AA3B4 002A7314 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AA3B8 002A7318 80 03 00 04 */ lwz r0, 4(r3) +/* 802AA3BC 002A731C EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AA3C0 002A7320 C0 21 02 04 */ lfs f1, 0x204(r1) +/* 802AA3C4 002A7324 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AA3C8 002A7328 C0 01 01 F8 */ lfs f0, 0x1f8(r1) +/* 802AA3CC 002A732C C0 61 01 68 */ lfs f3, 0x168(r1) +/* 802AA3D0 002A7330 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AA3D4 002A7334 C0 41 01 6C */ lfs f2, 0x16c(r1) +/* 802AA3D8 002A7338 C0 21 01 70 */ lfs f1, 0x170(r1) +/* 802AA3DC 002A733C 90 01 03 A0 */ stw r0, 0x3a0(r1) +/* 802AA3E0 002A7340 38 00 00 00 */ li r0, 0 +/* 802AA3E4 002A7344 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AA3E8 002A7348 90 01 03 98 */ stw r0, 0x398(r1) +/* 802AA3EC 002A734C 38 00 00 00 */ li r0, 0 +/* 802AA3F0 002A7350 D0 61 01 EC */ stfs f3, 0x1ec(r1) +/* 802AA3F4 002A7354 D0 41 01 F0 */ stfs f2, 0x1f0(r1) +/* 802AA3F8 002A7358 D0 21 01 F4 */ stfs f1, 0x1f4(r1) +/* 802AA3FC 002A735C 90 01 03 9C */ stw r0, 0x39c(r1) +/* 802AA400 002A7360 D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 802AA404 002A7364 D0 C1 01 E4 */ stfs f6, 0x1e4(r1) +/* 802AA408 002A7368 D0 A1 01 E8 */ stfs f5, 0x1e8(r1) +/* 802AA40C 002A736C 48 00 0C A0 */ b lbl_802AB0AC +lbl_802AA410: +/* 802AA410 002A7370 80 61 00 08 */ lwz r3, 8(r1) +/* 802AA414 002A7374 80 01 03 9C */ lwz r0, 0x39c(r1) +/* 802AA418 002A7378 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 802AA41C 002A737C 38 61 02 28 */ addi r3, r1, 0x228 +/* 802AA420 002A7380 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 802AA424 002A7384 7D C5 02 2E */ lhzx r14, r5, r0 +/* 802AA428 002A7388 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AA42C 002A738C 7D C5 73 78 */ mr r5, r14 +/* 802AA430 002A7390 4B FF E6 11 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AA434 002A7394 C1 01 02 28 */ lfs f8, 0x228(r1) +/* 802AA438 002A7398 7D E3 7B 78 */ mr r3, r15 +/* 802AA43C 002A739C C0 E1 02 2C */ lfs f7, 0x22c(r1) +/* 802AA440 002A73A0 C0 C1 02 30 */ lfs f6, 0x230(r1) +/* 802AA444 002A73A4 C0 A1 02 34 */ lfs f5, 0x234(r1) +/* 802AA448 002A73A8 C0 81 02 38 */ lfs f4, 0x238(r1) +/* 802AA44C 002A73AC C0 61 02 3C */ lfs f3, 0x23c(r1) +/* 802AA450 002A73B0 C0 41 02 40 */ lfs f2, 0x240(r1) +/* 802AA454 002A73B4 C0 21 02 44 */ lfs f1, 0x244(r1) +/* 802AA458 002A73B8 C0 01 02 48 */ lfs f0, 0x248(r1) +/* 802AA45C 002A73BC 80 01 02 4C */ lwz r0, 0x24c(r1) +/* 802AA460 002A73C0 D1 01 02 50 */ stfs f8, 0x250(r1) +/* 802AA464 002A73C4 D0 E1 02 54 */ stfs f7, 0x254(r1) +/* 802AA468 002A73C8 D0 C1 02 58 */ stfs f6, 0x258(r1) +/* 802AA46C 002A73CC D0 A1 02 5C */ stfs f5, 0x25c(r1) +/* 802AA470 002A73D0 D0 81 02 60 */ stfs f4, 0x260(r1) +/* 802AA474 002A73D4 D0 61 02 64 */ stfs f3, 0x264(r1) +/* 802AA478 002A73D8 D0 41 02 68 */ stfs f2, 0x268(r1) +/* 802AA47C 002A73DC D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 802AA480 002A73E0 D0 01 02 70 */ stfs f0, 0x270(r1) +/* 802AA484 002A73E4 90 01 02 74 */ stw r0, 0x274(r1) +/* 802AA488 002A73E8 81 8F 00 00 */ lwz r12, 0(r15) +/* 802AA48C 002A73EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AA490 002A73F0 7D 89 03 A6 */ mtctr r12 +/* 802AA494 002A73F4 4E 80 04 21 */ bctrl +/* 802AA498 002A73F8 80 C1 02 74 */ lwz r6, 0x274(r1) +/* 802AA49C 002A73FC 38 81 00 48 */ addi r4, r1, 0x48 +/* 802AA4A0 002A7400 80 03 00 04 */ lwz r0, 4(r3) +/* 802AA4A4 002A7404 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AA4A8 002A7408 7C C0 03 78 */ or r0, r6, r0 +/* 802AA4AC 002A740C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 802AA4B0 002A7410 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802AA4B4 002A7414 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802AA4B8 002A7418 48 02 AE 95 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AA4BC 002A741C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AA4C0 002A7420 41 82 0B D4 */ beq lbl_802AB094 +/* 802AA4C4 002A7424 38 C1 02 5C */ addi r6, r1, 0x25c +/* 802AA4C8 002A7428 38 E1 02 68 */ addi r7, r1, 0x268 +/* 802AA4CC 002A742C 38 61 01 EC */ addi r3, r1, 0x1ec +/* 802AA4D0 002A7430 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 802AA4D4 002A7434 38 A1 02 50 */ addi r5, r1, 0x250 +/* 802AA4D8 002A7438 48 02 70 09 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AA4DC 002A743C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AA4E0 002A7440 41 82 0B 38 */ beq lbl_802AB018 +/* 802AA4E4 002A7444 80 AF 00 1C */ lwz r5, 0x1c(r15) +/* 802AA4E8 002A7448 38 61 01 5C */ addi r3, r1, 0x15c +/* 802AA4EC 002A744C 38 81 02 50 */ addi r4, r1, 0x250 +/* 802AA4F0 002A7450 38 05 00 01 */ addi r0, r5, 1 +/* 802AA4F4 002A7454 90 0F 00 1C */ stw r0, 0x1c(r15) +/* 802AA4F8 002A7458 4B FF 81 AD */ bl GetNormal__17CCollisionSurfaceCFv +/* 802AA4FC 002A745C C3 30 00 04 */ lfs f25, 4(r16) +/* 802AA500 002A7460 C0 50 00 00 */ lfs f2, 0(r16) +/* 802AA504 002A7464 EC 19 F0 2A */ fadds f0, f25, f30 +/* 802AA508 002A7468 C1 01 02 54 */ lfs f8, 0x254(r1) +/* 802AA50C 002A746C C1 81 01 60 */ lfs f12, 0x160(r1) +/* 802AA510 002A7470 EC 22 E8 2A */ fadds f1, f2, f29 +/* 802AA514 002A7474 C3 70 00 08 */ lfs f27, 8(r16) +/* 802AA518 002A7478 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802AA51C 002A747C C1 21 02 50 */ lfs f9, 0x250(r1) +/* 802AA520 002A7480 EC 7B F8 2A */ fadds f3, f27, f31 +/* 802AA524 002A7484 C1 A1 01 5C */ lfs f13, 0x15c(r1) +/* 802AA528 002A7488 EC 21 48 28 */ fsubs f1, f1, f9 +/* 802AA52C 002A748C C1 41 02 58 */ lfs f10, 0x258(r1) +/* 802AA530 002A7490 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802AA534 002A7494 C1 61 01 64 */ lfs f11, 0x164(r1) +/* 802AA538 002A7498 EC 63 50 28 */ fsubs f3, f3, f10 +/* 802AA53C 002A749C C0 F0 00 0C */ lfs f7, 0xc(r16) +/* 802AA540 002A74A0 EC 01 03 7A */ fmadds f0, f1, f13, f0 +/* 802AA544 002A74A4 D1 A1 01 D4 */ stfs f13, 0x1d4(r1) +/* 802AA548 002A74A8 D1 81 01 D8 */ stfs f12, 0x1d8(r1) +/* 802AA54C 002A74AC EC 03 02 FA */ fmadds f0, f3, f11, f0 +/* 802AA550 002A74B0 D1 61 01 DC */ stfs f11, 0x1dc(r1) +/* 802AA554 002A74B4 FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 802AA558 002A74B8 41 81 0B 3C */ bgt lbl_802AB094 +/* 802AA55C 002A74BC EE D9 40 28 */ fsubs f22, f25, f8 +/* 802AA560 002A74C0 C3 12 00 04 */ lfs f24, 4(r18) +/* 802AA564 002A74C4 EE 82 48 28 */ fsubs f20, f2, f9 +/* 802AA568 002A74C8 C0 A1 02 64 */ lfs f5, 0x264(r1) +/* 802AA56C 002A74CC EE BB 50 28 */ fsubs f21, f27, f10 +/* 802AA570 002A74D0 C3 52 00 00 */ lfs f26, 0(r18) +/* 802AA574 002A74D4 EC 76 03 32 */ fmuls f3, f22, f12 +/* 802AA578 002A74D8 D2 81 01 50 */ stfs f20, 0x150(r1) +/* 802AA57C 002A74DC EC 38 03 32 */ fmuls f1, f24, f12 +/* 802AA580 002A74E0 C2 F2 00 08 */ lfs f23, 8(r18) +/* 802AA584 002A74E4 EC 05 50 28 */ fsubs f0, f5, f10 +/* 802AA588 002A74E8 C0 81 02 5C */ lfs f4, 0x25c(r1) +/* 802AA58C 002A74EC EE 74 1B 7A */ fmadds f19, f20, f13, f3 +/* 802AA590 002A74F0 D2 A1 01 58 */ stfs f21, 0x158(r1) +/* 802AA594 002A74F4 EE 5A 0B 7A */ fmadds f18, f26, f13, f1 +/* 802AA598 002A74F8 C0 C1 02 60 */ lfs f6, 0x260(r1) +/* 802AA59C 002A74FC D2 C1 01 54 */ stfs f22, 0x154(r1) +/* 802AA5A0 002A7500 EE 95 9A FA */ fmadds f20, f21, f11, f19 +/* 802AA5A4 002A7504 EE 57 92 FA */ fmadds f18, f23, f11, f18 +/* 802AA5A8 002A7508 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AA5AC 002A750C EE 64 48 28 */ fsubs f19, f4, f9 +/* 802AA5B0 002A7510 C0 62 C1 B4 */ lfs f3, lbl_805ADED4@sda21(r2) +/* 802AA5B4 002A7514 EF 87 A0 28 */ fsubs f28, f7, f20 +/* 802AA5B8 002A7518 EC 26 40 28 */ fsubs f1, f6, f8 +/* 802AA5BC 002A751C EE A0 03 72 */ fmuls f21, f0, f13 +/* 802AA5C0 002A7520 D2 61 01 2C */ stfs f19, 0x12c(r1) +/* 802AA5C4 002A7524 FF 9C 90 24 */ fdiv f28, f28, f18 +/* 802AA5C8 002A7528 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AA5CC 002A752C FE 40 E0 18 */ frsp f18, f28 +/* 802AA5D0 002A7530 EE CB AC F8 */ fmsubs f22, f11, f19, f21 +/* 802AA5D4 002A7534 EE 81 02 F2 */ fmuls f20, f1, f11 +/* 802AA5D8 002A7538 EE B2 06 32 */ fmuls f21, f18, f24 +/* 802AA5DC 002A753C EF 12 06 B2 */ fmuls f24, f18, f26 +/* 802AA5E0 002A7540 D2 C1 01 3C */ stfs f22, 0x13c(r1) +/* 802AA5E4 002A7544 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 +/* 802AA5E8 002A7548 EF 59 A8 2A */ fadds f26, f25, f21 +/* 802AA5EC 002A754C EC 12 05 F2 */ fmuls f0, f18, f23 +/* 802AA5F0 002A7550 EF 22 C0 2A */ fadds f25, f2, f24 +/* 802AA5F4 002A7554 D2 81 01 38 */ stfs f20, 0x138(r1) +/* 802AA5F8 002A7558 EE 5A 40 28 */ fsubs f18, f26, f8 +/* 802AA5FC 002A755C EF 7B 00 2A */ fadds f27, f27, f0 +/* 802AA600 002A7560 EE B3 03 32 */ fmuls f21, f19, f12 +/* 802AA604 002A7564 EC 59 48 28 */ fsubs f2, f25, f9 +/* 802AA608 002A7568 D2 41 01 48 */ stfs f18, 0x148(r1) +/* 802AA60C 002A756C EC 12 05 B2 */ fmuls f0, f18, f22 +/* 802AA610 002A7570 EC 2D A8 78 */ fmsubs f1, f13, f1, f21 +/* 802AA614 002A7574 EE 5B 50 28 */ fsubs f18, f27, f10 +/* 802AA618 002A7578 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802AA61C 002A757C EC 02 05 3A */ fmadds f0, f2, f20, f0 +/* 802AA620 002A7580 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802AA624 002A7584 EC 12 00 7A */ fmadds f0, f18, f1, f0 +/* 802AA628 002A7588 D2 41 01 4C */ stfs f18, 0x14c(r1) +/* 802AA62C 002A758C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802AA630 002A7590 7C 00 00 26 */ mfcr r0 +/* 802AA634 002A7594 C0 01 02 68 */ lfs f0, 0x268(r1) +/* 802AA638 002A7598 C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 802AA63C 002A759C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802AA640 002A75A0 EE A0 20 28 */ fsubs f21, f0, f4 +/* 802AA644 002A75A4 C0 21 02 70 */ lfs f1, 0x270(r1) +/* 802AA648 002A75A8 EE 82 30 28 */ fsubs f20, f2, f6 +/* 802AA64C 002A75AC 98 81 00 18 */ stb r4, 0x18(r1) +/* 802AA650 002A75B0 EE 61 28 28 */ fsubs f19, f1, f5 +/* 802AA654 002A75B4 D2 A1 01 08 */ stfs f21, 0x108(r1) +/* 802AA658 002A75B8 EE F3 03 72 */ fmuls f23, f19, f13 +/* 802AA65C 002A75BC D2 81 01 0C */ stfs f20, 0x10c(r1) +/* 802AA660 002A75C0 EE D4 02 F2 */ fmuls f22, f20, f11 +/* 802AA664 002A75C4 EE 5A 30 28 */ fsubs f18, f26, f6 +/* 802AA668 002A75C8 D2 61 01 10 */ stfs f19, 0x110(r1) +/* 802AA66C 002A75CC EF 0B BD 78 */ fmsubs f24, f11, f21, f23 +/* 802AA670 002A75D0 EE CC B4 F8 */ fmsubs f22, f12, f19, f22 +/* 802AA674 002A75D4 EE F5 03 32 */ fmuls f23, f21, f12 +/* 802AA678 002A75D8 D2 41 01 24 */ stfs f18, 0x124(r1) +/* 802AA67C 002A75DC EC D9 20 28 */ fsubs f6, f25, f4 +/* 802AA680 002A75E0 EC 92 06 32 */ fmuls f4, f18, f24 +/* 802AA684 002A75E4 D2 C1 01 14 */ stfs f22, 0x114(r1) +/* 802AA688 002A75E8 EE ED BD 38 */ fmsubs f23, f13, f20, f23 +/* 802AA68C 002A75EC EC BB 28 28 */ fsubs f5, f27, f5 +/* 802AA690 002A75F0 D3 01 01 18 */ stfs f24, 0x118(r1) +/* 802AA694 002A75F4 EC 86 25 BA */ fmadds f4, f6, f22, f4 +/* 802AA698 002A75F8 D2 E1 01 1C */ stfs f23, 0x11c(r1) +/* 802AA69C 002A75FC EC 85 25 FA */ fmadds f4, f5, f23, f4 +/* 802AA6A0 002A7600 D0 C1 01 20 */ stfs f6, 0x120(r1) +/* 802AA6A4 002A7604 D0 A1 01 28 */ stfs f5, 0x128(r1) +/* 802AA6A8 002A7608 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802AA6AC 002A760C 7C 00 00 26 */ mfcr r0 +/* 802AA6B0 002A7610 ED 4A 08 28 */ fsubs f10, f10, f1 +/* 802AA6B4 002A7614 EE 48 10 28 */ fsubs f18, f8, f2 +/* 802AA6B8 002A7618 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802AA6BC 002A761C ED 09 00 28 */ fsubs f8, f9, f0 +/* 802AA6C0 002A7620 98 61 00 19 */ stb r3, 0x19(r1) +/* 802AA6C4 002A7624 EC 8A 03 72 */ fmuls f4, f10, f13 +/* 802AA6C8 002A7628 EC D2 02 F2 */ fmuls f6, f18, f11 +/* 802AA6CC 002A762C ED 3A 10 28 */ fsubs f9, f26, f2 +/* 802AA6D0 002A7630 D1 01 00 E4 */ stfs f8, 0xe4(r1) +/* 802AA6D4 002A7634 EC AB 22 38 */ fmsubs f5, f11, f8, f4 +/* 802AA6D8 002A7638 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 +/* 802AA6DC 002A763C D2 41 00 E8 */ stfs f18, 0xe8(r1) +/* 802AA6E0 002A7640 EC 88 03 32 */ fmuls f4, f8, f12 +/* 802AA6E4 002A7644 EC 59 00 28 */ fsubs f2, f25, f0 +/* 802AA6E8 002A7648 D1 41 00 EC */ stfs f10, 0xec(r1) +/* 802AA6EC 002A764C EC 09 01 72 */ fmuls f0, f9, f5 +/* 802AA6F0 002A7650 EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 +/* 802AA6F4 002A7654 D0 C1 00 F0 */ stfs f6, 0xf0(r1) +/* 802AA6F8 002A7658 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802AA6FC 002A765C EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802AA700 002A7660 D0 A1 00 F4 */ stfs f5, 0xf4(r1) +/* 802AA704 002A7664 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 802AA708 002A7668 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802AA70C 002A766C D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 802AA710 002A7670 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802AA714 002A7674 D1 21 01 00 */ stfs f9, 0x100(r1) +/* 802AA718 002A7678 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 802AA71C 002A767C 7C 00 00 26 */ mfcr r0 +/* 802AA720 002A7680 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AA724 002A7684 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802AA728 002A7688 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802AA72C 002A768C 98 01 00 1A */ stb r0, 0x1a(r1) +/* 802AA730 002A7690 4C 41 13 82 */ cror 2, 1, 2 +/* 802AA734 002A7694 40 82 01 28 */ bne lbl_802AA85C +/* 802AA738 002A7698 28 04 00 00 */ cmplwi r4, 0 +/* 802AA73C 002A769C 40 82 01 20 */ bne lbl_802AA85C +/* 802AA740 002A76A0 28 03 00 00 */ cmplwi r3, 0 +/* 802AA744 002A76A4 40 82 01 18 */ bne lbl_802AA85C +/* 802AA748 002A76A8 28 00 00 00 */ cmplwi r0, 0 +/* 802AA74C 002A76AC 40 82 01 10 */ bne lbl_802AA85C +/* 802AA750 002A76B0 C8 13 00 00 */ lfd f0, 0(r19) +/* 802AA754 002A76B4 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802AA758 002A76B8 40 80 01 04 */ bge lbl_802AA85C +/* 802AA75C 002A76BC EC 07 03 32 */ fmuls f0, f7, f12 +/* 802AA760 002A76C0 7E 25 8B 78 */ mr r5, r17 +/* 802AA764 002A76C4 EC 47 02 F2 */ fmuls f2, f7, f11 +/* 802AA768 002A76C8 38 61 03 38 */ addi r3, r1, 0x338 +/* 802AA76C 002A76CC EC 27 03 72 */ fmuls f1, f7, f13 +/* 802AA770 002A76D0 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 802AA774 002A76D4 EC 9A 00 28 */ fsubs f4, f26, f0 +/* 802AA778 002A76D8 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 802AA77C 002A76DC EC 7B 10 28 */ fsubs f3, f27, f2 +/* 802AA780 002A76E0 38 C1 00 48 */ addi r6, r1, 0x48 +/* 802AA784 002A76E4 EC 19 08 28 */ fsubs f0, f25, f1 +/* 802AA788 002A76E8 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 802AA78C 002A76EC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802AA790 002A76F0 38 E1 01 D4 */ addi r7, r1, 0x1d4 +/* 802AA794 002A76F4 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 802AA798 002A76F8 D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 802AA79C 002A76FC D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 802AA7A0 002A7700 48 02 3C A9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AA7A4 002A7704 80 61 03 38 */ lwz r3, 0x338(r1) +/* 802AA7A8 002A7708 3A E0 00 01 */ li r23, 1 +/* 802AA7AC 002A770C 80 01 03 3C */ lwz r0, 0x33c(r1) +/* 802AA7B0 002A7710 90 74 00 00 */ stw r3, 0(r20) +/* 802AA7B4 002A7714 90 14 00 04 */ stw r0, 4(r20) +/* 802AA7B8 002A7718 80 01 03 40 */ lwz r0, 0x340(r1) +/* 802AA7BC 002A771C 90 14 00 08 */ stw r0, 8(r20) +/* 802AA7C0 002A7720 80 61 03 44 */ lwz r3, 0x344(r1) +/* 802AA7C4 002A7724 80 01 03 48 */ lwz r0, 0x348(r1) +/* 802AA7C8 002A7728 90 74 00 0C */ stw r3, 0xc(r20) +/* 802AA7CC 002A772C 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AA7D0 002A7730 80 01 03 4C */ lwz r0, 0x34c(r1) +/* 802AA7D4 002A7734 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AA7D8 002A7738 80 61 03 50 */ lwz r3, 0x350(r1) +/* 802AA7DC 002A773C 80 01 03 54 */ lwz r0, 0x354(r1) +/* 802AA7E0 002A7740 90 74 00 18 */ stw r3, 0x18(r20) +/* 802AA7E4 002A7744 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AA7E8 002A7748 80 01 03 58 */ lwz r0, 0x358(r1) +/* 802AA7EC 002A774C 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AA7F0 002A7750 80 61 03 5C */ lwz r3, 0x35c(r1) +/* 802AA7F4 002A7754 80 01 03 60 */ lwz r0, 0x360(r1) +/* 802AA7F8 002A7758 90 74 00 24 */ stw r3, 0x24(r20) +/* 802AA7FC 002A775C 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AA800 002A7760 80 01 03 64 */ lwz r0, 0x364(r1) +/* 802AA804 002A7764 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AA808 002A7768 88 01 03 68 */ lbz r0, 0x368(r1) +/* 802AA80C 002A776C 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AA810 002A7770 88 01 03 69 */ lbz r0, 0x369(r1) +/* 802AA814 002A7774 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AA818 002A7778 C8 01 03 70 */ lfd f0, 0x370(r1) +/* 802AA81C 002A777C D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AA820 002A7780 C8 01 03 78 */ lfd f0, 0x378(r1) +/* 802AA824 002A7784 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AA828 002A7788 80 61 03 80 */ lwz r3, 0x380(r1) +/* 802AA82C 002A778C 80 01 03 84 */ lwz r0, 0x384(r1) +/* 802AA830 002A7790 90 74 00 48 */ stw r3, 0x48(r20) +/* 802AA834 002A7794 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AA838 002A7798 80 01 03 88 */ lwz r0, 0x388(r1) +/* 802AA83C 002A779C 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AA840 002A77A0 80 61 03 8C */ lwz r3, 0x38c(r1) +/* 802AA844 002A77A4 80 01 03 90 */ lwz r0, 0x390(r1) +/* 802AA848 002A77A8 90 74 00 54 */ stw r3, 0x54(r20) +/* 802AA84C 002A77AC 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AA850 002A77B0 80 01 03 94 */ lwz r0, 0x394(r1) +/* 802AA854 002A77B4 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AA858 002A77B8 DB 93 00 00 */ stfd f28, 0(r19) +lbl_802AA85C: +/* 802AA85C 002A77BC C0 30 00 04 */ lfs f1, 4(r16) +/* 802AA860 002A77C0 C0 01 02 54 */ lfs f0, 0x254(r1) +/* 802AA864 002A77C4 C0 50 00 00 */ lfs f2, 0(r16) +/* 802AA868 002A77C8 EC A1 00 28 */ fsubs f5, f1, f0 +/* 802AA86C 002A77CC C0 21 02 50 */ lfs f1, 0x250(r1) +/* 802AA870 002A77D0 C0 01 01 D8 */ lfs f0, 0x1d8(r1) +/* 802AA874 002A77D4 EC 62 08 28 */ fsubs f3, f2, f1 +/* 802AA878 002A77D8 C0 90 00 08 */ lfs f4, 8(r16) +/* 802AA87C 002A77DC C0 41 02 58 */ lfs f2, 0x258(r1) +/* 802AA880 002A77E0 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802AA884 002A77E4 C0 21 01 D4 */ lfs f1, 0x1d4(r1) +/* 802AA888 002A77E8 EC 84 10 28 */ fsubs f4, f4, f2 +/* 802AA88C 002A77EC C0 41 01 DC */ lfs f2, 0x1dc(r1) +/* 802AA890 002A77F0 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 802AA894 002A77F4 C0 10 00 0C */ lfs f0, 0xc(r16) +/* 802AA898 002A77F8 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 802AA89C 002A77FC EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802AA8A0 002A7800 D0 A1 00 C4 */ stfs f5, 0xc4(r1) +/* 802AA8A4 002A7804 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 802AA8A8 002A7808 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AA8AC 002A780C 4C 40 13 82 */ cror 2, 0, 2 +/* 802AA8B0 002A7810 7C A0 00 26 */ mfcr r5 +/* 802AA8B4 002A7814 A0 62 C1 B0 */ lhz r3, lbl_805ADED0@sda21(r2) +/* 802AA8B8 002A7818 88 02 C1 B2 */ lbz r0, lbl_805ADED2@sda21(r2) +/* 802AA8BC 002A781C 7D C4 73 78 */ mr r4, r14 +/* 802AA8C0 002A7820 B0 61 00 14 */ sth r3, 0x14(r1) +/* 802AA8C4 002A7824 54 B6 1F FE */ rlwinm r22, r5, 3, 0x1f, 0x1f +/* 802AA8C8 002A7828 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AA8CC 002A782C 98 01 00 16 */ stb r0, 0x16(r1) +/* 802AA8D0 002A7830 4B FF D6 7D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AA8D4 002A7834 3C 80 80 3F */ lis r4, lbl_803EC438@ha +/* 802AA8D8 002A7838 3B 01 02 50 */ addi r24, r1, 0x250 +/* 802AA8DC 002A783C 3B 21 00 14 */ addi r25, r1, 0x14 +/* 802AA8E0 002A7840 7C 7D 1B 78 */ mr r29, r3 +/* 802AA8E4 002A7844 3B 64 C4 38 */ addi r27, r4, lbl_803EC438@l +/* 802AA8E8 002A7848 7F 1C C3 78 */ mr r28, r24 +/* 802AA8EC 002A784C 7F 3A CB 78 */ mr r26, r25 +/* 802AA8F0 002A7850 3B C1 00 18 */ addi r30, r1, 0x18 +/* 802AA8F4 002A7854 3A A0 00 00 */ li r21, 0 +lbl_802AA8F8: +/* 802AA8F8 002A7858 28 16 00 00 */ cmplwi r22, 0 +/* 802AA8FC 002A785C 40 82 00 10 */ bne lbl_802AA90C +/* 802AA900 002A7860 88 1E 00 00 */ lbz r0, 0(r30) +/* 802AA904 002A7864 28 00 00 00 */ cmplwi r0, 0 +/* 802AA908 002A7868 41 82 04 90 */ beq lbl_802AAD98 +lbl_802AA90C: +/* 802AA90C 002A786C A0 DD 00 00 */ lhz r6, 0(r29) +/* 802AA910 002A7870 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802AA914 002A7874 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802AA918 002A7878 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AA91C 002A787C 54 C4 08 3C */ slwi r4, r6, 1 +/* 802AA920 002A7880 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802AA924 002A7884 7C 00 28 40 */ cmplw r0, r5 +/* 802AA928 002A7888 41 82 04 70 */ beq lbl_802AAD98 +/* 802AA92C 002A788C 7C A3 23 2E */ sthx r5, r3, r4 +/* 802AA930 002A7890 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AA934 002A7894 80 64 00 44 */ lwz r3, 0x44(r4) +/* 802AA938 002A7898 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802AA93C 002A789C 7C 03 30 AE */ lbzx r0, r3, r6 +/* 802AA940 002A78A0 54 00 10 3A */ slwi r0, r0, 2 +/* 802AA944 002A78A4 7F E4 00 2E */ lwzx r31, r4, r0 +/* 802AA948 002A78A8 57 E0 01 CF */ rlwinm. r0, r31, 0, 7, 7 +/* 802AA94C 002A78AC 40 82 04 4C */ bne lbl_802AAD98 +/* 802AA950 002A78B0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AA954 002A78B4 38 81 02 50 */ addi r4, r1, 0x250 +/* 802AA958 002A78B8 C0 9C 00 04 */ lfs f4, 4(r28) +/* 802AA95C 002A78BC 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 802AA960 002A78C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802AA964 002A78C4 C0 5C 00 08 */ lfs f2, 8(r28) +/* 802AA968 002A78C8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 802AA96C 002A78CC 7C 84 02 14 */ add r4, r4, r0 +/* 802AA970 002A78D0 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802AA974 002A78D4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802AA978 002A78D8 C0 24 00 00 */ lfs f1, 0(r4) +/* 802AA97C 002A78DC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802AA980 002A78E0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802AA984 002A78E4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AA988 002A78E8 D0 81 01 CC */ stfs f4, 0x1cc(r1) +/* 802AA98C 002A78EC D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 802AA990 002A78F0 D0 41 01 D0 */ stfs f2, 0x1d0(r1) +/* 802AA994 002A78F4 48 06 9F 25 */ bl Magnitude__9CVector3fCFv +/* 802AA998 002A78F8 C0 42 C1 B8 */ lfs f2, lbl_805ADED8@sda21(r2) +/* 802AA99C 002A78FC C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 802AA9A0 002A7900 EC E2 08 24 */ fdivs f7, f2, f1 +/* 802AA9A4 002A7904 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) +/* 802AA9A8 002A7908 C0 61 01 D0 */ lfs f3, 0x1d0(r1) +/* 802AA9AC 002A790C C2 92 00 04 */ lfs f20, 4(r18) +/* 802AA9B0 002A7910 C0 52 00 00 */ lfs f2, 0(r18) +/* 802AA9B4 002A7914 C0 D2 00 08 */ lfs f6, 8(r18) +/* 802AA9B8 002A7918 ED 80 01 F2 */ fmuls f12, f0, f7 +/* 802AA9BC 002A791C C0 90 00 04 */ lfs f4, 4(r16) +/* 802AA9C0 002A7920 ED A5 01 F2 */ fmuls f13, f5, f7 +/* 802AA9C4 002A7924 C0 1C 00 04 */ lfs f0, 4(r28) +/* 802AA9C8 002A7928 ED 43 01 F2 */ fmuls f10, f3, f7 +/* 802AA9CC 002A792C C1 30 00 00 */ lfs f9, 0(r16) +/* 802AA9D0 002A7930 EC 74 03 32 */ fmuls f3, f20, f12 +/* 802AA9D4 002A7934 C1 1C 00 00 */ lfs f8, 0(r28) +/* 802AA9D8 002A7938 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802AA9DC 002A793C C0 F0 00 08 */ lfs f7, 8(r16) +/* 802AA9E0 002A7940 C0 BC 00 08 */ lfs f5, 8(r28) +/* 802AA9E4 002A7944 EE 69 40 28 */ fsubs f19, f9, f8 +/* 802AA9E8 002A7948 EC 62 1B 7A */ fmadds f3, f2, f13, f3 +/* 802AA9EC 002A794C C1 62 C1 B4 */ lfs f11, lbl_805ADED4@sda21(r2) +/* 802AA9F0 002A7950 EC 80 03 32 */ fmuls f4, f0, f12 +/* 802AA9F4 002A7954 D1 A1 01 C8 */ stfs f13, 0x1c8(r1) +/* 802AA9F8 002A7958 EE 47 28 28 */ fsubs f18, f7, f5 +/* 802AA9FC 002A795C EC A6 1A BA */ fmadds f5, f6, f10, f3 +/* 802AAA00 002A7960 EC 93 23 7A */ fmadds f4, f19, f13, f4 +/* 802AAA04 002A7964 D1 81 01 CC */ stfs f12, 0x1cc(r1) +/* 802AAA08 002A7968 EC 65 03 32 */ fmuls f3, f5, f12 +/* 802AAA0C 002A796C D1 41 01 D0 */ stfs f10, 0x1d0(r1) +/* 802AAA10 002A7970 EC E5 03 72 */ fmuls f7, f5, f13 +/* 802AAA14 002A7974 EC 92 22 BA */ fmadds f4, f18, f10, f4 +/* 802AAA18 002A7978 EE 94 18 28 */ fsubs f20, f20, f3 +/* 802AAA1C 002A797C ED 05 02 B2 */ fmuls f8, f5, f10 +/* 802AAA20 002A7980 EC 62 38 28 */ fsubs f3, f2, f7 +/* 802AAA24 002A7984 EC F4 05 32 */ fmuls f7, f20, f20 +/* 802AAA28 002A7988 EC 46 40 28 */ fsubs f2, f6, f8 +/* 802AAA2C 002A798C ED 24 03 72 */ fmuls f9, f4, f13 +/* 802AAA30 002A7990 EC C3 38 FA */ fmadds f6, f3, f3, f7 +/* 802AAA34 002A7994 ED 04 03 32 */ fmuls f8, f4, f12 +/* 802AAA38 002A7998 EC E4 02 B2 */ fmuls f7, f4, f10 +/* 802AAA3C 002A799C EC C2 30 BA */ fmadds f6, f2, f2, f6 +/* 802AAA40 002A79A0 ED B3 48 28 */ fsubs f13, f19, f9 +/* 802AAA44 002A79A4 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802AAA48 002A79A8 FC 06 58 40 */ fcmpo cr0, f6, f11 +/* 802AAA4C 002A79AC ED 92 38 28 */ fsubs f12, f18, f7 +/* 802AAA50 002A79B0 40 81 03 48 */ ble lbl_802AAD98 +/* 802AAA54 002A79B4 EC E0 00 32 */ fmuls f7, f0, f0 +/* 802AAA58 002A79B8 C1 50 00 0C */ lfs f10, 0xc(r16) +/* 802AAA5C 002A79BC ED 20 05 32 */ fmuls f9, f0, f20 +/* 802AAA60 002A79C0 C1 02 C1 CC */ lfs f8, lbl_805ADEEC@sda21(r2) +/* 802AAA64 002A79C4 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 802AAA68 002A79C8 C1 42 C1 C8 */ lfs f10, lbl_805ADEE8@sda21(r2) +/* 802AAA6C 002A79CC EC ED 3B 7A */ fmadds f7, f13, f13, f7 +/* 802AAA70 002A79D0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 +/* 802AAA74 002A79D4 ED 08 01 B2 */ fmuls f8, f8, f6 +/* 802AAA78 002A79D8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 +/* 802AAA7C 002A79DC EC EC 48 BA */ fmadds f7, f12, f2, f9 +/* 802AAA80 002A79E0 EC 43 00 28 */ fsubs f2, f3, f0 +/* 802AAA84 002A79E4 EC 0A 01 F2 */ fmuls f0, f10, f7 +/* 802AAA88 002A79E8 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 802AAA8C 002A79EC ED 20 10 38 */ fmsubs f9, f0, f0, f2 +/* 802AAA90 002A79F0 FC 09 58 40 */ fcmpo cr0, f9, f11 +/* 802AAA94 002A79F4 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAA98 002A79F8 40 82 02 EC */ bne lbl_802AAD84 +/* 802AAA9C 002A79FC C9 02 C1 D0 */ lfd f8, lbl_805ADEF0@sda21(r2) +/* 802AAAA0 002A7A00 C8 E2 C1 C0 */ lfd f7, lbl_805ADEE0@sda21(r2) +/* 802AAAA4 002A7A04 FC 48 30 24 */ fdiv f2, f8, f6 +/* 802AAAA8 002A7A08 FC 09 38 40 */ fcmpo cr0, f9, f7 +/* 802AAAAC 002A7A0C 40 81 00 54 */ ble lbl_802AAB00 +/* 802AAAB0 002A7A10 FC C0 48 34 */ frsqrte f6, f9 +/* 802AAAB4 002A7A14 C8 E2 C1 D8 */ lfd f7, lbl_805ADEF8@sda21(r2) +/* 802AAAB8 002A7A18 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAABC 002A7A1C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAC0 002A7A20 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAC4 002A7A24 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAC8 002A7A28 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAACC 002A7A2C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAD0 002A7A30 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAD4 002A7A34 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAD8 002A7A38 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAADC 002A7A3C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAE0 002A7A40 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAE4 002A7A44 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802AAAE8 002A7A48 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802AAAEC 002A7A4C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802AAAF0 002A7A50 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802AAAF4 002A7A54 FC 66 00 F2 */ fmul f3, f6, f3 +/* 802AAAF8 002A7A58 FC E9 00 F2 */ fmul f7, f9, f3 +/* 802AAAFC 002A7A5C 48 00 00 2C */ b lbl_802AAB28 +lbl_802AAB00: +/* 802AAB00 002A7A60 FC 07 48 00 */ fcmpu cr0, f7, f9 +/* 802AAB04 002A7A64 40 82 00 08 */ bne lbl_802AAB0C +/* 802AAB08 002A7A68 48 00 00 20 */ b lbl_802AAB28 +lbl_802AAB0C: +/* 802AAB0C 002A7A6C FC 09 38 00 */ fcmpu cr0, f9, f7 +/* 802AAB10 002A7A70 41 82 00 10 */ beq lbl_802AAB20 +/* 802AAB14 002A7A74 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 802AAB18 002A7A78 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) +/* 802AAB1C 002A7A7C 48 00 00 0C */ b lbl_802AAB28 +lbl_802AAB20: +/* 802AAB20 002A7A80 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 802AAB24 002A7A84 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) +lbl_802AAB28: +/* 802AAB28 002A7A88 FC 60 00 50 */ fneg f3, f0 +/* 802AAB2C 002A7A8C C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AAB30 002A7A90 FC 63 38 28 */ fsub f3, f3, f7 +/* 802AAB34 002A7A94 FE E2 00 F2 */ fmul f23, f2, f3 +/* 802AAB38 002A7A98 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802AAB3C 002A7A9C 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAB40 002A7AA0 40 82 02 58 */ bne lbl_802AAD98 +/* 802AAB44 002A7AA4 FC 77 21 7A */ fmadd f3, f23, f5, f4 +/* 802AAB48 002A7AA8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAB4C 002A7AAC 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAB50 002A7AB0 40 82 01 D8 */ bne lbl_802AAD28 +/* 802AAB54 002A7AB4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802AAB58 002A7AB8 4C 40 13 82 */ cror 2, 0, 2 +/* 802AAB5C 002A7ABC 40 82 01 CC */ bne lbl_802AAD28 +/* 802AAB60 002A7AC0 C8 13 00 00 */ lfd f0, 0(r19) +/* 802AAB64 002A7AC4 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802AAB68 002A7AC8 40 80 01 C0 */ bge lbl_802AAD28 +/* 802AAB6C 002A7ACC FD 00 18 18 */ frsp f8, f3 +/* 802AAB70 002A7AD0 C0 21 01 CC */ lfs f1, 0x1cc(r1) +/* 802AAB74 002A7AD4 C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802AAB78 002A7AD8 FC 60 B8 18 */ frsp f3, f23 +/* 802AAB7C 002A7ADC C0 81 01 C8 */ lfs f4, 0x1c8(r1) +/* 802AAB80 002A7AE0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802AAB84 002A7AE4 C0 52 00 04 */ lfs f2, 4(r18) +/* 802AAB88 002A7AE8 EC E8 00 72 */ fmuls f7, f8, f1 +/* 802AAB8C 002A7AEC C0 32 00 08 */ lfs f1, 8(r18) +/* 802AAB90 002A7AF0 EC A8 00 32 */ fmuls f5, f8, f0 +/* 802AAB94 002A7AF4 C0 12 00 00 */ lfs f0, 0(r18) +/* 802AAB98 002A7AF8 ED 63 00 B2 */ fmuls f11, f3, f2 +/* 802AAB9C 002A7AFC ED 43 00 72 */ fmuls f10, f3, f1 +/* 802AABA0 002A7B00 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802AABA4 002A7B04 C1 3C 00 04 */ lfs f9, 4(r28) +/* 802AABA8 002A7B08 C0 DC 00 08 */ lfs f6, 8(r28) +/* 802AABAC 002A7B0C EC 68 01 32 */ fmuls f3, f8, f4 +/* 802AABB0 002A7B10 C0 9C 00 00 */ lfs f4, 0(r28) +/* 802AABB4 002A7B14 C0 10 00 04 */ lfs f0, 4(r16) +/* 802AABB8 002A7B18 C0 30 00 08 */ lfs f1, 8(r16) +/* 802AABBC 002A7B1C EC E9 38 2A */ fadds f7, f9, f7 +/* 802AABC0 002A7B20 ED 00 58 2A */ fadds f8, f0, f11 +/* 802AABC4 002A7B24 C0 10 00 00 */ lfs f0, 0(r16) +/* 802AABC8 002A7B28 EC A6 28 2A */ fadds f5, f6, f5 +/* 802AABCC 002A7B2C D0 41 00 90 */ stfs f2, 0x90(r1) +/* 802AABD0 002A7B30 EC C1 50 2A */ fadds f6, f1, f10 +/* 802AABD4 002A7B34 EC 64 18 2A */ fadds f3, f4, f3 +/* 802AABD8 002A7B38 EC 20 10 2A */ fadds f1, f0, f2 +/* 802AABDC 002A7B3C D0 E1 01 C0 */ stfs f7, 0x1c0(r1) +/* 802AABE0 002A7B40 EC 88 38 28 */ fsubs f4, f8, f7 +/* 802AABE4 002A7B44 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802AABE8 002A7B48 EC 46 28 28 */ fsubs f2, f6, f5 +/* 802AABEC 002A7B4C EC 01 18 28 */ fsubs f0, f1, f3 +/* 802AABF0 002A7B50 D0 61 01 BC */ stfs f3, 0x1bc(r1) +/* 802AABF4 002A7B54 D0 A1 01 C4 */ stfs f5, 0x1c4(r1) +/* 802AABF8 002A7B58 D1 61 00 94 */ stfs f11, 0x94(r1) +/* 802AABFC 002A7B5C D1 41 00 98 */ stfs f10, 0x98(r1) +/* 802AAC00 002A7B60 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802AAC04 002A7B64 D1 01 00 A0 */ stfs f8, 0xa0(r1) +/* 802AAC08 002A7B68 D0 C1 00 A4 */ stfs f6, 0xa4(r1) +/* 802AAC0C 002A7B6C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 802AAC10 002A7B70 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 802AAC14 002A7B74 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802AAC18 002A7B78 48 06 9C 39 */ bl AsNormalized__9CVector3fCFv +/* 802AAC1C 002A7B7C C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 802AAC20 002A7B80 38 00 00 00 */ li r0, 0 +/* 802AAC24 002A7B84 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 802AAC28 002A7B88 7E 25 8B 78 */ mr r5, r17 +/* 802AAC2C 002A7B8C C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 802AAC30 002A7B90 38 61 02 D8 */ addi r3, r1, 0x2d8 +/* 802AAC34 002A7B94 D0 41 01 B0 */ stfs f2, 0x1b0(r1) +/* 802AAC38 002A7B98 38 81 01 BC */ addi r4, r1, 0x1bc +/* 802AAC3C 002A7B9C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802AAC40 002A7BA0 38 E1 01 B0 */ addi r7, r1, 0x1b0 +/* 802AAC44 002A7BA4 D0 21 01 B4 */ stfs f1, 0x1b4(r1) +/* 802AAC48 002A7BA8 D0 01 01 B8 */ stfs f0, 0x1b8(r1) +/* 802AAC4C 002A7BAC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AAC50 002A7BB0 90 01 00 28 */ stw r0, 0x28(r1) +/* 802AAC54 002A7BB4 48 02 37 F5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AAC58 002A7BB8 80 A1 02 D8 */ lwz r5, 0x2d8(r1) +/* 802AAC5C 002A7BBC 38 80 00 00 */ li r4, 0 +/* 802AAC60 002A7BC0 80 01 02 DC */ lwz r0, 0x2dc(r1) +/* 802AAC64 002A7BC4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAC68 002A7BC8 98 9A 00 00 */ stb r4, 0(r26) +/* 802AAC6C 002A7BCC 3A E0 00 01 */ li r23, 1 +/* 802AAC70 002A7BD0 90 B4 00 00 */ stw r5, 0(r20) +/* 802AAC74 002A7BD4 90 14 00 04 */ stw r0, 4(r20) +/* 802AAC78 002A7BD8 80 01 02 E0 */ lwz r0, 0x2e0(r1) +/* 802AAC7C 002A7BDC 90 14 00 08 */ stw r0, 8(r20) +/* 802AAC80 002A7BE0 80 A1 02 E4 */ lwz r5, 0x2e4(r1) +/* 802AAC84 002A7BE4 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 802AAC88 002A7BE8 90 B4 00 0C */ stw r5, 0xc(r20) +/* 802AAC8C 002A7BEC 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AAC90 002A7BF0 80 01 02 EC */ lwz r0, 0x2ec(r1) +/* 802AAC94 002A7BF4 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AAC98 002A7BF8 80 A1 02 F0 */ lwz r5, 0x2f0(r1) +/* 802AAC9C 002A7BFC 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 802AACA0 002A7C00 90 B4 00 18 */ stw r5, 0x18(r20) +/* 802AACA4 002A7C04 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AACA8 002A7C08 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 802AACAC 002A7C0C 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AACB0 002A7C10 80 A1 02 FC */ lwz r5, 0x2fc(r1) +/* 802AACB4 002A7C14 80 01 03 00 */ lwz r0, 0x300(r1) +/* 802AACB8 002A7C18 90 B4 00 24 */ stw r5, 0x24(r20) +/* 802AACBC 002A7C1C 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AACC0 002A7C20 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802AACC4 002A7C24 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AACC8 002A7C28 88 01 03 08 */ lbz r0, 0x308(r1) +/* 802AACCC 002A7C2C 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AACD0 002A7C30 88 01 03 09 */ lbz r0, 0x309(r1) +/* 802AACD4 002A7C34 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AACD8 002A7C38 C8 01 03 10 */ lfd f0, 0x310(r1) +/* 802AACDC 002A7C3C D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AACE0 002A7C40 C8 01 03 18 */ lfd f0, 0x318(r1) +/* 802AACE4 002A7C44 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AACE8 002A7C48 80 A1 03 20 */ lwz r5, 0x320(r1) +/* 802AACEC 002A7C4C 80 01 03 24 */ lwz r0, 0x324(r1) +/* 802AACF0 002A7C50 90 B4 00 48 */ stw r5, 0x48(r20) +/* 802AACF4 002A7C54 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AACF8 002A7C58 80 01 03 28 */ lwz r0, 0x328(r1) +/* 802AACFC 002A7C5C 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AAD00 002A7C60 80 A1 03 2C */ lwz r5, 0x32c(r1) +/* 802AAD04 002A7C64 80 01 03 30 */ lwz r0, 0x330(r1) +/* 802AAD08 002A7C68 90 B4 00 54 */ stw r5, 0x54(r20) +/* 802AAD0C 002A7C6C 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AAD10 002A7C70 80 01 03 34 */ lwz r0, 0x334(r1) +/* 802AAD14 002A7C74 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AAD18 002A7C78 DA F3 00 00 */ stfd f23, 0(r19) +/* 802AAD1C 002A7C7C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD20 002A7C80 7C 83 01 AE */ stbx r4, r3, r0 +/* 802AAD24 002A7C84 48 00 00 74 */ b lbl_802AAD98 +lbl_802AAD28: +/* 802AAD28 002A7C88 C0 50 00 0C */ lfs f2, 0xc(r16) +/* 802AAD2C 002A7C8C FC 00 10 50 */ fneg f0, f2 +/* 802AAD30 002A7C90 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAD34 002A7C94 40 80 00 20 */ bge lbl_802AAD54 +/* 802AAD38 002A7C98 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AAD3C 002A7C9C FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AAD40 002A7CA0 4C 40 13 82 */ cror 2, 0, 2 +/* 802AAD44 002A7CA4 40 82 00 10 */ bne lbl_802AAD54 +/* 802AAD48 002A7CA8 38 00 00 00 */ li r0, 0 +/* 802AAD4C 002A7CAC 98 1A 00 00 */ stb r0, 0(r26) +/* 802AAD50 002A7CB0 48 00 00 48 */ b lbl_802AAD98 +lbl_802AAD54: +/* 802AAD54 002A7CB4 EC 01 10 2A */ fadds f0, f1, f2 +/* 802AAD58 002A7CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802AAD5C 002A7CBC 40 81 00 3C */ ble lbl_802AAD98 +/* 802AAD60 002A7CC0 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) +/* 802AAD64 002A7CC4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AAD68 002A7CC8 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAD6C 002A7CCC 40 82 00 2C */ bne lbl_802AAD98 +/* 802AAD70 002A7CD0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD74 002A7CD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAD78 002A7CD8 38 80 00 00 */ li r4, 0 +/* 802AAD7C 002A7CDC 7C 83 01 AE */ stbx r4, r3, r0 +/* 802AAD80 002A7CE0 48 00 00 18 */ b lbl_802AAD98 +lbl_802AAD84: +/* 802AAD84 002A7CE4 38 80 00 00 */ li r4, 0 +/* 802AAD88 002A7CE8 80 1B 00 04 */ lwz r0, 4(r27) +/* 802AAD8C 002A7CEC 98 9A 00 00 */ stb r4, 0(r26) +/* 802AAD90 002A7CF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AAD94 002A7CF4 7C 83 01 AE */ stbx r4, r3, r0 +lbl_802AAD98: +/* 802AAD98 002A7CF8 3A B5 00 01 */ addi r21, r21, 1 +/* 802AAD9C 002A7CFC 3B BD 00 02 */ addi r29, r29, 2 +/* 802AADA0 002A7D00 2C 15 00 03 */ cmpwi r21, 3 +/* 802AADA4 002A7D04 3B 9C 00 0C */ addi r28, r28, 0xc +/* 802AADA8 002A7D08 3B 7B 00 04 */ addi r27, r27, 4 +/* 802AADAC 002A7D0C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802AADB0 002A7D10 3B DE 00 01 */ addi r30, r30, 1 +/* 802AADB4 002A7D14 41 80 FB 44 */ blt lbl_802AA8F8 +/* 802AADB8 002A7D18 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AADBC 002A7D1C 7D C4 73 78 */ mr r4, r14 +/* 802AADC0 002A7D20 38 A1 00 40 */ addi r5, r1, 0x40 +/* 802AADC4 002A7D24 4B FF D1 9D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AADC8 002A7D28 39 C1 00 40 */ addi r14, r1, 0x40 +/* 802AADCC 002A7D2C 3A A0 00 00 */ li r21, 0 +lbl_802AADD0: +/* 802AADD0 002A7D30 88 19 00 00 */ lbz r0, 0(r25) +/* 802AADD4 002A7D34 A2 CE 00 00 */ lhz r22, 0(r14) +/* 802AADD8 002A7D38 28 00 00 00 */ cmplwi r0, 0 +/* 802AADDC 002A7D3C 41 82 02 0C */ beq lbl_802AAFE8 +/* 802AADE0 002A7D40 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AADE4 002A7D44 56 C4 08 3C */ slwi r4, r22, 1 +/* 802AADE8 002A7D48 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802AADEC 002A7D4C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AADF0 002A7D50 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802AADF4 002A7D54 7C 00 28 40 */ cmplw r0, r5 +/* 802AADF8 002A7D58 41 82 02 04 */ beq lbl_802AAFFC +/* 802AADFC 002A7D5C 7C A3 23 2E */ sthx r5, r3, r4 +/* 802AAE00 002A7D60 7E 04 83 78 */ mr r4, r16 +/* 802AAE04 002A7D64 C0 90 00 0C */ lfs f4, 0xc(r16) +/* 802AAE08 002A7D68 7E 45 93 78 */ mr r5, r18 +/* 802AAE0C 002A7D6C C8 73 00 00 */ lfd f3, 0(r19) +/* 802AAE10 002A7D70 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AAE14 002A7D74 C0 58 00 00 */ lfs f2, 0(r24) +/* 802AAE18 002A7D78 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AAE1C 002A7D7C C0 38 00 04 */ lfs f1, 4(r24) +/* 802AAE20 002A7D80 C0 18 00 08 */ lfs f0, 8(r24) +/* 802AAE24 002A7D84 D8 61 00 38 */ stfd f3, 0x38(r1) +/* 802AAE28 002A7D88 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AAE2C 002A7D8C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AAE30 002A7D90 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AAE34 002A7D94 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 802AAE38 002A7D98 48 02 8B 99 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802AAE3C 002A7D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AAE40 002A7DA0 41 82 01 BC */ beq lbl_802AAFFC +/* 802AAE44 002A7DA4 C8 21 00 38 */ lfd f1, 0x38(r1) +/* 802AAE48 002A7DA8 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) +/* 802AAE4C 002A7DAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AAE50 002A7DB0 4C 41 13 82 */ cror 2, 1, 2 +/* 802AAE54 002A7DB4 40 82 01 A8 */ bne lbl_802AAFFC +/* 802AAE58 002A7DB8 FC 60 08 18 */ frsp f3, f1 +/* 802AAE5C 002A7DBC C0 52 00 04 */ lfs f2, 4(r18) +/* 802AAE60 002A7DC0 C0 32 00 08 */ lfs f1, 8(r18) +/* 802AAE64 002A7DC4 38 61 00 74 */ addi r3, r1, 0x74 +/* 802AAE68 002A7DC8 C0 12 00 00 */ lfs f0, 0(r18) +/* 802AAE6C 002A7DCC 38 81 00 68 */ addi r4, r1, 0x68 +/* 802AAE70 002A7DD0 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 802AAE74 002A7DD4 C0 50 00 04 */ lfs f2, 4(r16) +/* 802AAE78 002A7DD8 EC A3 00 72 */ fmuls f5, f3, f1 +/* 802AAE7C 002A7DDC C0 30 00 08 */ lfs f1, 8(r16) +/* 802AAE80 002A7DE0 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802AAE84 002A7DE4 C0 10 00 00 */ lfs f0, 0(r16) +/* 802AAE88 002A7DE8 ED 02 30 2A */ fadds f8, f2, f6 +/* 802AAE8C 002A7DEC C0 58 00 04 */ lfs f2, 4(r24) +/* 802AAE90 002A7DF0 EC E1 28 2A */ fadds f7, f1, f5 +/* 802AAE94 002A7DF4 C0 38 00 08 */ lfs f1, 8(r24) +/* 802AAE98 002A7DF8 EC 60 20 2A */ fadds f3, f0, f4 +/* 802AAE9C 002A7DFC C0 18 00 00 */ lfs f0, 0(r24) +/* 802AAEA0 002A7E00 EC 48 10 28 */ fsubs f2, f8, f2 +/* 802AAEA4 002A7E04 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 802AAEA8 002A7E08 EC 27 08 28 */ fsubs f1, f7, f1 +/* 802AAEAC 002A7E0C EC 03 00 28 */ fsubs f0, f3, f0 +/* 802AAEB0 002A7E10 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802AAEB4 002A7E14 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802AAEB8 002A7E18 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802AAEBC 002A7E1C D1 01 00 60 */ stfs f8, 0x60(r1) +/* 802AAEC0 002A7E20 D0 E1 00 64 */ stfs f7, 0x64(r1) +/* 802AAEC4 002A7E24 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 802AAEC8 002A7E28 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AAECC 002A7E2C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AAED0 002A7E30 48 06 99 81 */ bl AsNormalized__9CVector3fCFv +/* 802AAED4 002A7E34 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 802AAED8 002A7E38 38 00 00 00 */ li r0, 0 +/* 802AAEDC 002A7E3C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 802AAEE0 002A7E40 7F 04 C3 78 */ mr r4, r24 +/* 802AAEE4 002A7E44 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802AAEE8 002A7E48 7E 25 8B 78 */ mr r5, r17 +/* 802AAEEC 002A7E4C D0 41 01 A4 */ stfs f2, 0x1a4(r1) +/* 802AAEF0 002A7E50 38 61 02 78 */ addi r3, r1, 0x278 +/* 802AAEF4 002A7E54 81 2F 00 10 */ lwz r9, 0x10(r15) +/* 802AAEF8 002A7E58 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802AAEFC 002A7E5C D0 21 01 A8 */ stfs f1, 0x1a8(r1) +/* 802AAF00 002A7E60 38 E1 01 A4 */ addi r7, r1, 0x1a4 +/* 802AAF04 002A7E64 D0 01 01 AC */ stfs f0, 0x1ac(r1) +/* 802AAF08 002A7E68 81 09 00 34 */ lwz r8, 0x34(r9) +/* 802AAF0C 002A7E6C 81 29 00 24 */ lwz r9, 0x24(r9) +/* 802AAF10 002A7E70 7D 08 B0 AE */ lbzx r8, r8, r22 +/* 802AAF14 002A7E74 55 08 10 3A */ slwi r8, r8, 2 +/* 802AAF18 002A7E78 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802AAF1C 002A7E7C 91 01 00 24 */ stw r8, 0x24(r1) +/* 802AAF20 002A7E80 90 01 00 20 */ stw r0, 0x20(r1) +/* 802AAF24 002A7E84 48 02 35 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AAF28 002A7E88 80 61 02 78 */ lwz r3, 0x278(r1) +/* 802AAF2C 002A7E8C 3A E0 00 01 */ li r23, 1 +/* 802AAF30 002A7E90 80 01 02 7C */ lwz r0, 0x27c(r1) +/* 802AAF34 002A7E94 90 74 00 00 */ stw r3, 0(r20) +/* 802AAF38 002A7E98 90 14 00 04 */ stw r0, 4(r20) +/* 802AAF3C 002A7E9C 80 01 02 80 */ lwz r0, 0x280(r1) +/* 802AAF40 002A7EA0 90 14 00 08 */ stw r0, 8(r20) +/* 802AAF44 002A7EA4 80 61 02 84 */ lwz r3, 0x284(r1) +/* 802AAF48 002A7EA8 80 01 02 88 */ lwz r0, 0x288(r1) +/* 802AAF4C 002A7EAC 90 74 00 0C */ stw r3, 0xc(r20) +/* 802AAF50 002A7EB0 90 14 00 10 */ stw r0, 0x10(r20) +/* 802AAF54 002A7EB4 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 802AAF58 002A7EB8 90 14 00 14 */ stw r0, 0x14(r20) +/* 802AAF5C 002A7EBC 80 61 02 90 */ lwz r3, 0x290(r1) +/* 802AAF60 002A7EC0 80 01 02 94 */ lwz r0, 0x294(r1) +/* 802AAF64 002A7EC4 90 74 00 18 */ stw r3, 0x18(r20) +/* 802AAF68 002A7EC8 90 14 00 1C */ stw r0, 0x1c(r20) +/* 802AAF6C 002A7ECC 80 01 02 98 */ lwz r0, 0x298(r1) +/* 802AAF70 002A7ED0 90 14 00 20 */ stw r0, 0x20(r20) +/* 802AAF74 002A7ED4 80 61 02 9C */ lwz r3, 0x29c(r1) +/* 802AAF78 002A7ED8 80 01 02 A0 */ lwz r0, 0x2a0(r1) +/* 802AAF7C 002A7EDC 90 74 00 24 */ stw r3, 0x24(r20) +/* 802AAF80 002A7EE0 90 14 00 28 */ stw r0, 0x28(r20) +/* 802AAF84 002A7EE4 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 802AAF88 002A7EE8 90 14 00 2C */ stw r0, 0x2c(r20) +/* 802AAF8C 002A7EEC 88 01 02 A8 */ lbz r0, 0x2a8(r1) +/* 802AAF90 002A7EF0 98 14 00 30 */ stb r0, 0x30(r20) +/* 802AAF94 002A7EF4 88 01 02 A9 */ lbz r0, 0x2a9(r1) +/* 802AAF98 002A7EF8 98 14 00 31 */ stb r0, 0x31(r20) +/* 802AAF9C 002A7EFC C8 01 02 B0 */ lfd f0, 0x2b0(r1) +/* 802AAFA0 002A7F00 D8 14 00 38 */ stfd f0, 0x38(r20) +/* 802AAFA4 002A7F04 C8 01 02 B8 */ lfd f0, 0x2b8(r1) +/* 802AAFA8 002A7F08 D8 14 00 40 */ stfd f0, 0x40(r20) +/* 802AAFAC 002A7F0C 80 61 02 C0 */ lwz r3, 0x2c0(r1) +/* 802AAFB0 002A7F10 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802AAFB4 002A7F14 90 74 00 48 */ stw r3, 0x48(r20) +/* 802AAFB8 002A7F18 90 14 00 4C */ stw r0, 0x4c(r20) +/* 802AAFBC 002A7F1C 80 01 02 C8 */ lwz r0, 0x2c8(r1) +/* 802AAFC0 002A7F20 90 14 00 50 */ stw r0, 0x50(r20) +/* 802AAFC4 002A7F24 80 61 02 CC */ lwz r3, 0x2cc(r1) +/* 802AAFC8 002A7F28 80 01 02 D0 */ lwz r0, 0x2d0(r1) +/* 802AAFCC 002A7F2C 90 74 00 54 */ stw r3, 0x54(r20) +/* 802AAFD0 002A7F30 90 14 00 58 */ stw r0, 0x58(r20) +/* 802AAFD4 002A7F34 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 802AAFD8 002A7F38 90 14 00 5C */ stw r0, 0x5c(r20) +/* 802AAFDC 002A7F3C C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802AAFE0 002A7F40 D8 13 00 00 */ stfd f0, 0(r19) +/* 802AAFE4 002A7F44 48 00 00 18 */ b lbl_802AAFFC +lbl_802AAFE8: +/* 802AAFE8 002A7F48 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AAFEC 002A7F4C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AAFF0 002A7F50 56 C0 08 3C */ slwi r0, r22, 1 +/* 802AAFF4 002A7F54 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802AAFF8 002A7F58 7C 83 03 2E */ sthx r4, r3, r0 +lbl_802AAFFC: +/* 802AAFFC 002A7F5C 3A B5 00 01 */ addi r21, r21, 1 +/* 802AB000 002A7F60 3B 39 00 01 */ addi r25, r25, 1 +/* 802AB004 002A7F64 2C 15 00 03 */ cmpwi r21, 3 +/* 802AB008 002A7F68 3B 18 00 0C */ addi r24, r24, 0xc +/* 802AB00C 002A7F6C 39 CE 00 02 */ addi r14, r14, 2 +/* 802AB010 002A7F70 41 80 FD C0 */ blt lbl_802AADD0 +/* 802AB014 002A7F74 48 00 00 80 */ b lbl_802AB094 +lbl_802AB018: +/* 802AB018 002A7F78 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB01C 002A7F7C 7D C4 73 78 */ mr r4, r14 +/* 802AB020 002A7F80 4B FF CF 2D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB024 002A7F84 A0 03 00 00 */ lhz r0, 0(r3) +/* 802AB028 002A7F88 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB02C 002A7F8C A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) +/* 802AB030 002A7F90 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l +/* 802AB034 002A7F94 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB038 002A7F98 7D C4 73 78 */ mr r4, r14 +/* 802AB03C 002A7F9C 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB040 002A7FA0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802AB044 002A7FA4 A0 03 00 02 */ lhz r0, 2(r3) +/* 802AB048 002A7FA8 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB04C 002A7FAC 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB050 002A7FB0 A0 03 00 04 */ lhz r0, 4(r3) +/* 802AB054 002A7FB4 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB058 002A7FB8 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB05C 002A7FBC 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB060 002A7FC0 4B FF CF 01 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB064 002A7FC4 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 802AB068 002A7FC8 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AB06C 002A7FCC A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802AB070 002A7FD0 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l +/* 802AB074 002A7FD4 54 03 08 3C */ slwi r3, r0, 1 +/* 802AB078 002A7FD8 A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802AB07C 002A7FDC 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802AB080 002A7FE0 54 03 08 3C */ slwi r3, r0, 1 +/* 802AB084 002A7FE4 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 802AB088 002A7FE8 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802AB08C 002A7FEC 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB090 002A7FF0 7C A4 03 2E */ sthx r5, r4, r0 +lbl_802AB094: +/* 802AB094 002A7FF4 80 61 03 9C */ lwz r3, 0x39c(r1) +/* 802AB098 002A7FF8 38 63 00 02 */ addi r3, r3, 2 +/* 802AB09C 002A7FFC 90 61 03 9C */ stw r3, 0x39c(r1) +/* 802AB0A0 002A8000 80 61 03 98 */ lwz r3, 0x398(r1) +/* 802AB0A4 002A8004 38 63 00 01 */ addi r3, r3, 1 +/* 802AB0A8 002A8008 90 61 03 98 */ stw r3, 0x398(r1) +lbl_802AB0AC: +/* 802AB0AC 002A800C 80 61 03 98 */ lwz r3, 0x398(r1) +/* 802AB0B0 002A8010 80 01 03 A0 */ lwz r0, 0x3a0(r1) +/* 802AB0B4 002A8014 7C 03 00 00 */ cmpw r3, r0 +/* 802AB0B8 002A8018 41 80 F3 58 */ blt lbl_802AA410 +/* 802AB0BC 002A801C 7E E3 BB 78 */ mr r3, r23 +/* 802AB0C0 002A8020 E3 E1 04 C8 */ psq_l f31, 1224(r1), 0, qr0 +/* 802AB0C4 002A8024 CB E1 04 C0 */ lfd f31, 0x4c0(r1) +/* 802AB0C8 002A8028 E3 C1 04 B8 */ psq_l f30, 1208(r1), 0, qr0 +/* 802AB0CC 002A802C CB C1 04 B0 */ lfd f30, 0x4b0(r1) +/* 802AB0D0 002A8030 E3 A1 04 A8 */ psq_l f29, 1192(r1), 0, qr0 +/* 802AB0D4 002A8034 CB A1 04 A0 */ lfd f29, 0x4a0(r1) +/* 802AB0D8 002A8038 E3 81 04 98 */ psq_l f28, 1176(r1), 0, qr0 +/* 802AB0DC 002A803C CB 81 04 90 */ lfd f28, 0x490(r1) +/* 802AB0E0 002A8040 E3 61 04 88 */ psq_l f27, 1160(r1), 0, qr0 +/* 802AB0E4 002A8044 CB 61 04 80 */ lfd f27, 0x480(r1) +/* 802AB0E8 002A8048 E3 41 04 78 */ psq_l f26, 1144(r1), 0, qr0 +/* 802AB0EC 002A804C CB 41 04 70 */ lfd f26, 0x470(r1) +/* 802AB0F0 002A8050 E3 21 04 68 */ psq_l f25, 1128(r1), 0, qr0 +/* 802AB0F4 002A8054 CB 21 04 60 */ lfd f25, 0x460(r1) +/* 802AB0F8 002A8058 E3 01 04 58 */ psq_l f24, 1112(r1), 0, qr0 +/* 802AB0FC 002A805C CB 01 04 50 */ lfd f24, 0x450(r1) +/* 802AB100 002A8060 E2 E1 04 48 */ psq_l f23, 1096(r1), 0, qr0 +/* 802AB104 002A8064 CA E1 04 40 */ lfd f23, 0x440(r1) +/* 802AB108 002A8068 E2 C1 04 38 */ psq_l f22, 1080(r1), 0, qr0 +/* 802AB10C 002A806C CA C1 04 30 */ lfd f22, 0x430(r1) +/* 802AB110 002A8070 E2 A1 04 28 */ psq_l f21, 1064(r1), 0, qr0 +/* 802AB114 002A8074 CA A1 04 20 */ lfd f21, 0x420(r1) +/* 802AB118 002A8078 E2 81 04 18 */ psq_l f20, 1048(r1), 0, qr0 +/* 802AB11C 002A807C CA 81 04 10 */ lfd f20, 0x410(r1) +/* 802AB120 002A8080 E2 61 04 08 */ psq_l f19, 1032(r1), 0, qr0 +/* 802AB124 002A8084 CA 61 04 00 */ lfd f19, 0x400(r1) +/* 802AB128 002A8088 E2 41 03 F8 */ psq_l f18, 1016(r1), 0, qr0 +/* 802AB12C 002A808C CA 41 03 F0 */ lfd f18, 0x3f0(r1) +/* 802AB130 002A8090 B9 C1 03 A8 */ lmw r14, 0x3a8(r1) +/* 802AB134 002A8094 80 01 04 D4 */ lwz r0, 0x4d4(r1) +/* 802AB138 002A8098 7C 08 03 A6 */ mtlr r0 +/* 802AB13C 002A809C 38 21 04 D0 */ addi r1, r1, 0x4d0 +/* 802AB140 002A80A0 4E 80 00 20 */ blr + +.global SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: +/* 802AB144 002A80A4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802AB148 002A80A8 7C 08 02 A6 */ mflr r0 +/* 802AB14C 002A80AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802AB150 002A80B0 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 802AB154 002A80B4 7C 7D 1B 78 */ mr r29, r3 +/* 802AB158 002A80B8 7C F6 3B 78 */ mr r22, r7 +/* 802AB15C 002A80BC 83 41 00 48 */ lwz r26, 0x48(r1) +/* 802AB160 002A80C0 83 61 00 4C */ lwz r27, 0x4c(r1) +/* 802AB164 002A80C4 7C 9E 23 78 */ mr r30, r4 +/* 802AB168 002A80C8 7C BF 2B 78 */ mr r31, r5 +/* 802AB16C 002A80CC 7C D5 33 78 */ mr r21, r6 +/* 802AB170 002A80D0 7D 17 43 78 */ mr r23, r8 +/* 802AB174 002A80D4 7D 38 4B 78 */ mr r24, r9 +/* 802AB178 002A80D8 7D 59 53 78 */ mr r25, r10 +/* 802AB17C 002A80DC 3B 80 00 00 */ li r28, 0 +/* 802AB180 002A80E0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AB184 002A80E4 38 03 00 01 */ addi r0, r3, 1 +/* 802AB188 002A80E8 7E C3 B3 78 */ mr r3, r22 +/* 802AB18C 002A80EC 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802AB190 002A80F0 48 02 A3 05 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AB194 002A80F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB198 002A80F8 41 82 00 C4 */ beq lbl_802AB25C +/* 802AB19C 002A80FC 38 00 00 01 */ li r0, 1 +/* 802AB1A0 002A8100 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 802AB1A4 002A8104 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802AB1A8 002A8108 28 00 00 00 */ cmplwi r0, 0 +/* 802AB1AC 002A810C 41 82 00 3C */ beq lbl_802AB1E8 +/* 802AB1B0 002A8110 93 61 00 08 */ stw r27, 8(r1) +/* 802AB1B4 002A8114 7F A3 EB 78 */ mr r3, r29 +/* 802AB1B8 002A8118 7F E5 FB 78 */ mr r5, r31 +/* 802AB1BC 002A811C 7E A6 AB 78 */ mr r6, r21 +/* 802AB1C0 002A8120 80 9E 00 48 */ lwz r4, 0x48(r30) +/* 802AB1C4 002A8124 7E E7 BB 78 */ mr r7, r23 +/* 802AB1C8 002A8128 7F 08 C3 78 */ mr r8, r24 +/* 802AB1CC 002A812C 7F 29 CB 78 */ mr r9, r25 +/* 802AB1D0 002A8130 7F 4A D3 78 */ mr r10, r26 +/* 802AB1D4 002A8134 4B FF F0 1D */ bl SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB1D8 002A8138 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB1DC 002A813C 41 82 00 8C */ beq lbl_802AB268 +/* 802AB1E0 002A8140 3B 80 00 01 */ li r28, 1 +/* 802AB1E4 002A8144 48 00 00 84 */ b lbl_802AB268 +lbl_802AB1E8: +/* 802AB1E8 002A8148 93 41 00 08 */ stw r26, 8(r1) +/* 802AB1EC 002A814C 7F A3 EB 78 */ mr r3, r29 +/* 802AB1F0 002A8150 7F E5 FB 78 */ mr r5, r31 +/* 802AB1F4 002A8154 7E A6 AB 78 */ mr r6, r21 +/* 802AB1F8 002A8158 93 61 00 0C */ stw r27, 0xc(r1) +/* 802AB1FC 002A815C 7E C7 B3 78 */ mr r7, r22 +/* 802AB200 002A8160 7E E8 BB 78 */ mr r8, r23 +/* 802AB204 002A8164 7F 09 C3 78 */ mr r9, r24 +/* 802AB208 002A8168 80 9E 00 40 */ lwz r4, 0x40(r30) +/* 802AB20C 002A816C 7F 2A CB 78 */ mr r10, r25 +/* 802AB210 002A8170 4B FF FF 35 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB214 002A8174 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB218 002A8178 41 82 00 08 */ beq lbl_802AB220 +/* 802AB21C 002A817C 3B 80 00 01 */ li r28, 1 +lbl_802AB220: +/* 802AB220 002A8180 93 41 00 08 */ stw r26, 8(r1) +/* 802AB224 002A8184 7F A3 EB 78 */ mr r3, r29 +/* 802AB228 002A8188 7F E5 FB 78 */ mr r5, r31 +/* 802AB22C 002A818C 7E A6 AB 78 */ mr r6, r21 +/* 802AB230 002A8190 93 61 00 0C */ stw r27, 0xc(r1) +/* 802AB234 002A8194 7E C7 B3 78 */ mr r7, r22 +/* 802AB238 002A8198 7E E8 BB 78 */ mr r8, r23 +/* 802AB23C 002A819C 7F 09 C3 78 */ mr r9, r24 +/* 802AB240 002A81A0 80 9E 00 44 */ lwz r4, 0x44(r30) +/* 802AB244 002A81A4 7F 2A CB 78 */ mr r10, r25 +/* 802AB248 002A81A8 4B FF FE FD */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AB24C 002A81AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB250 002A81B0 41 82 00 18 */ beq lbl_802AB268 +/* 802AB254 002A81B4 3B 80 00 01 */ li r28, 1 +/* 802AB258 002A81B8 48 00 00 10 */ b lbl_802AB268 +lbl_802AB25C: +/* 802AB25C 002A81BC 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 802AB260 002A81C0 38 03 00 01 */ addi r0, r3, 1 +/* 802AB264 002A81C4 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_802AB268: +/* 802AB268 002A81C8 7F 83 E3 78 */ mr r3, r28 +/* 802AB26C 002A81CC BA A1 00 14 */ lmw r21, 0x14(r1) +/* 802AB270 002A81D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802AB274 002A81D4 7C 08 03 A6 */ mtlr r0 +/* 802AB278 002A81D8 38 21 00 40 */ addi r1, r1, 0x40 +/* 802AB27C 002A81DC 4E 80 00 20 */ blr + +.global AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: +/* 802AB280 002A81E0 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 802AB284 002A81E4 7C 08 02 A6 */ mflr r0 +/* 802AB288 002A81E8 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 802AB28C 002A81EC DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 802AB290 002A81F0 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 802AB294 002A81F4 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 802AB298 002A81F8 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 802AB29C 002A81FC DB A1 02 90 */ stfd f29, 0x290(r1) +/* 802AB2A0 002A8200 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 802AB2A4 002A8204 BD C1 02 48 */ stmw r14, 0x248(r1) +/* 802AB2A8 002A8208 3D 60 80 5A */ lis r11, skZero3f@ha +/* 802AB2AC 002A820C 7D 32 4B 78 */ mr r18, r9 +/* 802AB2B0 002A8210 39 2B 66 A0 */ addi r9, r11, skZero3f@l +/* 802AB2B4 002A8214 C0 12 06 E8 */ lfs f0, 0x6e8(r18) +/* 802AB2B8 002A8218 C0 29 00 00 */ lfs f1, 0(r9) +/* 802AB2BC 002A821C 7C 6F 1B 78 */ mr r15, r3 +/* 802AB2C0 002A8220 C0 49 00 04 */ lfs f2, 4(r9) +/* 802AB2C4 002A8224 7C 8E 23 78 */ mr r14, r4 +/* 802AB2C8 002A8228 C1 69 00 08 */ lfs f11, 8(r9) +/* 802AB2CC 002A822C 7D 53 53 78 */ mr r19, r10 +/* 802AB2D0 002A8230 C1 52 06 EC */ lfs f10, 0x6ec(r18) +/* 802AB2D4 002A8234 7C D0 33 78 */ mr r16, r6 +/* 802AB2D8 002A8238 C1 32 06 F0 */ lfs f9, 0x6f0(r18) +/* 802AB2DC 002A823C 7C F1 3B 78 */ mr r17, r7 +/* 802AB2E0 002A8240 C1 12 06 F4 */ lfs f8, 0x6f4(r18) +/* 802AB2E4 002A8244 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB2E8 002A8248 C0 F2 06 F8 */ lfs f7, 0x6f8(r18) +/* 802AB2EC 002A824C 38 81 00 7C */ addi r4, r1, 0x7c +/* 802AB2F0 002A8250 C0 D2 06 FC */ lfs f6, 0x6fc(r18) +/* 802AB2F4 002A8254 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 802AB2F8 002A8258 82 81 02 C8 */ lwz r20, 0x2c8(r1) +/* 802AB2FC 002A825C D0 21 00 AC */ stfs f1, 0xac(r1) +/* 802AB300 002A8260 C0 AA 00 00 */ lfs f5, 0(r10) +/* 802AB304 002A8264 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802AB308 002A8268 C0 8A 00 04 */ lfs f4, 4(r10) +/* 802AB30C 002A826C D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 802AB310 002A8270 C0 6A 00 08 */ lfs f3, 8(r10) +/* 802AB314 002A8274 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802AB318 002A8278 C0 46 00 10 */ lfs f2, 0x10(r6) +/* 802AB31C 002A827C D1 61 00 B4 */ stfs f11, 0xb4(r1) +/* 802AB320 002A8280 C0 26 00 14 */ lfs f1, 0x14(r6) +/* 802AB324 002A8284 D1 61 00 A8 */ stfs f11, 0xa8(r1) +/* 802AB328 002A8288 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 802AB32C 002A828C D1 41 00 BC */ stfs f10, 0xbc(r1) +/* 802AB330 002A8290 82 A1 02 CC */ lwz r21, 0x2cc(r1) +/* 802AB334 002A8294 D1 21 00 C0 */ stfs f9, 0xc0(r1) +/* 802AB338 002A8298 D1 01 00 C4 */ stfs f8, 0xc4(r1) +/* 802AB33C 002A829C D0 E1 00 C8 */ stfs f7, 0xc8(r1) +/* 802AB340 002A82A0 D0 C1 00 CC */ stfs f6, 0xcc(r1) +/* 802AB344 002A82A4 C8 D4 00 00 */ lfd f6, 0(r20) +/* 802AB348 002A82A8 90 A1 00 08 */ stw r5, 8(r1) +/* 802AB34C 002A82AC FC C0 30 18 */ frsp f6, f6 +/* 802AB350 002A82B0 91 01 00 0C */ stw r8, 0xc(r1) +/* 802AB354 002A82B4 EF A6 01 72 */ fmuls f29, f6, f5 +/* 802AB358 002A82B8 EF C6 01 32 */ fmuls f30, f6, f4 +/* 802AB35C 002A82BC EF E6 00 F2 */ fmuls f31, f6, f3 +/* 802AB360 002A82C0 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AB364 002A82C4 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AB368 002A82C8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AB36C 002A82CC D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802AB370 002A82D0 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AB374 002A82D4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AB378 002A82D8 48 08 C7 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AB37C 002A82DC C0 50 00 04 */ lfs f2, 4(r16) +/* 802AB380 002A82E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB384 002A82E4 C0 30 00 08 */ lfs f1, 8(r16) +/* 802AB388 002A82E8 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AB38C 002A82EC C0 10 00 00 */ lfs f0, 0(r16) +/* 802AB390 002A82F0 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AB394 002A82F4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AB398 002A82F8 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AB39C 002A82FC D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802AB3A0 002A8300 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802AB3A4 002A8304 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802AB3A8 002A8308 48 08 C7 61 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AB3AC 002A830C 38 61 00 64 */ addi r3, r1, 0x64 +/* 802AB3B0 002A8310 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 802AB3B4 002A8314 48 08 C2 59 */ bl GetCenterPoint__6CAABoxCFv +/* 802AB3B8 002A8318 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 802AB3BC 002A831C 3B 40 00 00 */ li r26, 0 +/* 802AB3C0 002A8320 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 802AB3C4 002A8324 3B 20 00 00 */ li r25, 0 +/* 802AB3C8 002A8328 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 802AB3CC 002A832C 3B 80 00 00 */ li r28, 0 +/* 802AB3D0 002A8330 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 802AB3D4 002A8334 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AB3D8 002A8338 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AB3DC 002A833C EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AB3E0 002A8340 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 802AB3E4 002A8344 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 802AB3E8 002A8348 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AB3EC 002A834C C0 61 00 64 */ lfs f3, 0x64(r1) +/* 802AB3F0 002A8350 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AB3F4 002A8354 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AB3F8 002A8358 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 802AB3FC 002A835C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 802AB400 002A8360 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AB404 002A8364 80 0E 00 04 */ lwz r0, 4(r14) +/* 802AB408 002A8368 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802AB40C 002A836C 90 01 02 40 */ stw r0, 0x240(r1) +/* 802AB410 002A8370 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802AB414 002A8374 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802AB418 002A8378 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AB41C 002A837C D0 C1 00 8C */ stfs f6, 0x8c(r1) +/* 802AB420 002A8380 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 802AB424 002A8384 48 00 06 0C */ b lbl_802ABA30 +lbl_802AB428: +/* 802AB428 002A8388 80 AE 00 0C */ lwz r5, 0xc(r14) +/* 802AB42C 002A838C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802AB430 002A8390 80 C1 00 08 */ lwz r6, 8(r1) +/* 802AB434 002A8394 7F 05 E2 2E */ lhzx r24, r5, r28 +/* 802AB438 002A8398 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AB43C 002A839C 7F 05 C3 78 */ mr r5, r24 +/* 802AB440 002A83A0 4B FF D6 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AB444 002A83A4 C1 01 00 D0 */ lfs f8, 0xd0(r1) +/* 802AB448 002A83A8 7D E3 7B 78 */ mr r3, r15 +/* 802AB44C 002A83AC C0 E1 00 D4 */ lfs f7, 0xd4(r1) +/* 802AB450 002A83B0 C0 C1 00 D8 */ lfs f6, 0xd8(r1) +/* 802AB454 002A83B4 C0 A1 00 DC */ lfs f5, 0xdc(r1) +/* 802AB458 002A83B8 C0 81 00 E0 */ lfs f4, 0xe0(r1) +/* 802AB45C 002A83BC C0 61 00 E4 */ lfs f3, 0xe4(r1) +/* 802AB460 002A83C0 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 802AB464 002A83C4 C0 21 00 EC */ lfs f1, 0xec(r1) +/* 802AB468 002A83C8 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802AB46C 002A83CC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802AB470 002A83D0 D1 01 00 F8 */ stfs f8, 0xf8(r1) +/* 802AB474 002A83D4 D0 E1 00 FC */ stfs f7, 0xfc(r1) +/* 802AB478 002A83D8 D0 C1 01 00 */ stfs f6, 0x100(r1) +/* 802AB47C 002A83DC D0 A1 01 04 */ stfs f5, 0x104(r1) +/* 802AB480 002A83E0 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 802AB484 002A83E4 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 802AB488 002A83E8 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 802AB48C 002A83EC D0 21 01 14 */ stfs f1, 0x114(r1) +/* 802AB490 002A83F0 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 802AB494 002A83F4 90 01 01 1C */ stw r0, 0x11c(r1) +/* 802AB498 002A83F8 81 8F 00 00 */ lwz r12, 0(r15) +/* 802AB49C 002A83FC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AB4A0 002A8400 7D 89 03 A6 */ mtctr r12 +/* 802AB4A4 002A8404 4E 80 04 21 */ bctrl +/* 802AB4A8 002A8408 80 C1 01 1C */ lwz r6, 0x11c(r1) +/* 802AB4AC 002A840C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802AB4B0 002A8410 80 03 00 04 */ lwz r0, 4(r3) +/* 802AB4B4 002A8414 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AB4B8 002A8418 7C C0 03 78 */ or r0, r6, r0 +/* 802AB4BC 002A841C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802AB4C0 002A8420 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802AB4C4 002A8424 90 A1 00 38 */ stw r5, 0x38(r1) +/* 802AB4C8 002A8428 48 02 9E 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AB4CC 002A842C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB4D0 002A8430 41 82 05 58 */ beq lbl_802ABA28 +/* 802AB4D4 002A8434 38 C1 01 04 */ addi r6, r1, 0x104 +/* 802AB4D8 002A8438 38 E1 01 10 */ addi r7, r1, 0x110 +/* 802AB4DC 002A843C 38 61 00 94 */ addi r3, r1, 0x94 +/* 802AB4E0 002A8440 38 81 00 88 */ addi r4, r1, 0x88 +/* 802AB4E4 002A8444 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 802AB4E8 002A8448 48 02 5F F9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AB4EC 002A844C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB4F0 002A8450 41 82 04 BC */ beq lbl_802AB9AC +/* 802AB4F4 002A8454 80 6F 00 1C */ lwz r3, 0x1c(r15) +/* 802AB4F8 002A8458 7F 04 C3 78 */ mr r4, r24 +/* 802AB4FC 002A845C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802AB500 002A8460 38 03 00 01 */ addi r0, r3, 1 +/* 802AB504 002A8464 90 0F 00 1C */ stw r0, 0x1c(r15) +/* 802AB508 002A8468 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB50C 002A846C 4B FF CA 55 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB510 002A8470 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB514 002A8474 7E 04 83 78 */ mr r4, r16 +/* 802AB518 002A8478 81 73 00 00 */ lwz r11, 0(r19) +/* 802AB51C 002A847C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802AB520 002A8480 81 53 00 04 */ lwz r10, 4(r19) +/* 802AB524 002A8484 38 B2 06 C4 */ addi r5, r18, 0x6c4 +/* 802AB528 002A8488 80 13 00 08 */ lwz r0, 8(r19) +/* 802AB52C 002A848C 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802AB530 002A8490 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB534 002A8494 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802AB538 002A8498 39 01 00 AC */ addi r8, r1, 0xac +/* 802AB53C 002A849C 39 21 00 A0 */ addi r9, r1, 0xa0 +/* 802AB540 002A84A0 91 61 00 58 */ stw r11, 0x58(r1) +/* 802AB544 002A84A4 91 41 00 5C */ stw r10, 0x5c(r1) +/* 802AB548 002A84A8 90 01 00 60 */ stw r0, 0x60(r1) +/* 802AB54C 002A84AC 4B FF 8A A9 */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802AB550 002A84B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB554 002A84B4 41 82 00 E8 */ beq lbl_802AB63C +/* 802AB558 002A84B8 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB55C 002A84BC C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB560 002A84C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB564 002A84C4 40 80 00 D8 */ bge lbl_802AB63C +/* 802AB568 002A84C8 7E 25 8B 78 */ mr r5, r17 +/* 802AB56C 002A84CC 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802AB570 002A84D0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB574 002A84D4 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AB578 002A84D8 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB57C 002A84DC 48 02 2E CD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB580 002A84E0 80 61 01 E0 */ lwz r3, 0x1e0(r1) +/* 802AB584 002A84E4 3B 40 00 01 */ li r26, 1 +/* 802AB588 002A84E8 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 802AB58C 002A84EC 90 75 00 00 */ stw r3, 0(r21) +/* 802AB590 002A84F0 90 15 00 04 */ stw r0, 4(r21) +/* 802AB594 002A84F4 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802AB598 002A84F8 90 15 00 08 */ stw r0, 8(r21) +/* 802AB59C 002A84FC 80 61 01 EC */ lwz r3, 0x1ec(r1) +/* 802AB5A0 002A8500 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 802AB5A4 002A8504 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB5A8 002A8508 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB5AC 002A850C 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 802AB5B0 002A8510 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB5B4 002A8514 80 61 01 F8 */ lwz r3, 0x1f8(r1) +/* 802AB5B8 002A8518 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802AB5BC 002A851C 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB5C0 002A8520 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB5C4 002A8524 80 01 02 00 */ lwz r0, 0x200(r1) +/* 802AB5C8 002A8528 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB5CC 002A852C 80 61 02 04 */ lwz r3, 0x204(r1) +/* 802AB5D0 002A8530 80 01 02 08 */ lwz r0, 0x208(r1) +/* 802AB5D4 002A8534 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB5D8 002A8538 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB5DC 002A853C 80 01 02 0C */ lwz r0, 0x20c(r1) +/* 802AB5E0 002A8540 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB5E4 002A8544 88 01 02 10 */ lbz r0, 0x210(r1) +/* 802AB5E8 002A8548 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB5EC 002A854C 88 01 02 11 */ lbz r0, 0x211(r1) +/* 802AB5F0 002A8550 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB5F4 002A8554 C8 01 02 18 */ lfd f0, 0x218(r1) +/* 802AB5F8 002A8558 D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB5FC 002A855C C8 01 02 20 */ lfd f0, 0x220(r1) +/* 802AB600 002A8560 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB604 002A8564 80 61 02 28 */ lwz r3, 0x228(r1) +/* 802AB608 002A8568 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 802AB60C 002A856C 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB610 002A8570 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB614 002A8574 80 01 02 30 */ lwz r0, 0x230(r1) +/* 802AB618 002A8578 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB61C 002A857C 80 61 02 34 */ lwz r3, 0x234(r1) +/* 802AB620 002A8580 80 01 02 38 */ lwz r0, 0x238(r1) +/* 802AB624 002A8584 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB628 002A8588 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB62C 002A858C 80 01 02 3C */ lwz r0, 0x23c(r1) +/* 802AB630 002A8590 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB634 002A8594 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB638 002A8598 D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB63C: +/* 802AB63C 002A859C 3B 61 00 F8 */ addi r27, r1, 0xf8 +/* 802AB640 002A85A0 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802AB644 002A85A4 7F 7D DB 78 */ mr r29, r27 +/* 802AB648 002A85A8 3B C1 00 30 */ addi r30, r1, 0x30 +/* 802AB64C 002A85AC 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l +/* 802AB650 002A85B0 3A E0 00 00 */ li r23, 0 +lbl_802AB654: +/* 802AB654 002A85B4 A2 DE 00 00 */ lhz r22, 0(r30) +/* 802AB658 002A85B8 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AB65C 002A85BC 56 C3 08 3C */ slwi r3, r22, 1 +/* 802AB660 002A85C0 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802AB664 002A85C4 7C 00 20 40 */ cmplw r0, r4 +/* 802AB668 002A85C8 41 82 01 68 */ beq lbl_802AB7D0 +/* 802AB66C 002A85CC 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802AB670 002A85D0 7F A4 EB 78 */ mr r4, r29 +/* 802AB674 002A85D4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 802AB678 002A85D8 48 08 BE BD */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802AB67C 002A85DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB680 002A85E0 41 82 01 50 */ beq lbl_802AB7D0 +/* 802AB684 002A85E4 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB688 002A85E8 7F A3 EB 78 */ mr r3, r29 +/* 802AB68C 002A85EC 81 53 00 00 */ lwz r10, 0(r19) +/* 802AB690 002A85F0 7E 04 83 78 */ mr r4, r16 +/* 802AB694 002A85F4 81 33 00 04 */ lwz r9, 4(r19) +/* 802AB698 002A85F8 38 A1 00 4C */ addi r5, r1, 0x4c +/* 802AB69C 002A85FC 80 13 00 08 */ lwz r0, 8(r19) +/* 802AB6A0 002A8600 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802AB6A4 002A8604 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB6A8 002A8608 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB6AC 002A860C 39 01 00 A0 */ addi r8, r1, 0xa0 +/* 802AB6B0 002A8610 91 41 00 4C */ stw r10, 0x4c(r1) +/* 802AB6B4 002A8614 91 21 00 50 */ stw r9, 0x50(r1) +/* 802AB6B8 002A8618 90 01 00 54 */ stw r0, 0x54(r1) +/* 802AB6BC 002A861C 4B FF 8A 51 */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +/* 802AB6C0 002A8620 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB6C4 002A8624 41 82 01 0C */ beq lbl_802AB7D0 +/* 802AB6C8 002A8628 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB6CC 002A862C C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB6D0 002A8630 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB6D4 002A8634 40 80 00 FC */ bge lbl_802AB7D0 +/* 802AB6D8 002A8638 80 CF 00 10 */ lwz r6, 0x10(r15) +/* 802AB6DC 002A863C 38 00 00 00 */ li r0, 0 +/* 802AB6E0 002A8640 7E 25 8B 78 */ mr r5, r17 +/* 802AB6E4 002A8644 38 61 01 80 */ addi r3, r1, 0x180 +/* 802AB6E8 002A8648 80 E6 00 34 */ lwz r7, 0x34(r6) +/* 802AB6EC 002A864C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB6F0 002A8650 81 26 00 24 */ lwz r9, 0x24(r6) +/* 802AB6F4 002A8654 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802AB6F8 002A8658 7D 07 B0 AE */ lbzx r8, r7, r22 +/* 802AB6FC 002A865C 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB700 002A8660 55 08 10 3A */ slwi r8, r8, 2 +/* 802AB704 002A8664 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802AB708 002A8668 91 01 00 1C */ stw r8, 0x1c(r1) +/* 802AB70C 002A866C 90 01 00 18 */ stw r0, 0x18(r1) +/* 802AB710 002A8670 48 02 2D 39 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB714 002A8674 80 61 01 80 */ lwz r3, 0x180(r1) +/* 802AB718 002A8678 3B 40 00 01 */ li r26, 1 +/* 802AB71C 002A867C 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802AB720 002A8680 90 75 00 00 */ stw r3, 0(r21) +/* 802AB724 002A8684 90 15 00 04 */ stw r0, 4(r21) +/* 802AB728 002A8688 80 01 01 88 */ lwz r0, 0x188(r1) +/* 802AB72C 002A868C 90 15 00 08 */ stw r0, 8(r21) +/* 802AB730 002A8690 80 61 01 8C */ lwz r3, 0x18c(r1) +/* 802AB734 002A8694 80 01 01 90 */ lwz r0, 0x190(r1) +/* 802AB738 002A8698 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB73C 002A869C 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB740 002A86A0 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802AB744 002A86A4 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB748 002A86A8 80 61 01 98 */ lwz r3, 0x198(r1) +/* 802AB74C 002A86AC 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 802AB750 002A86B0 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB754 002A86B4 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB758 002A86B8 80 01 01 A0 */ lwz r0, 0x1a0(r1) +/* 802AB75C 002A86BC 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB760 002A86C0 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802AB764 002A86C4 80 01 01 A8 */ lwz r0, 0x1a8(r1) +/* 802AB768 002A86C8 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB76C 002A86CC 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB770 002A86D0 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 802AB774 002A86D4 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB778 002A86D8 88 01 01 B0 */ lbz r0, 0x1b0(r1) +/* 802AB77C 002A86DC 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB780 002A86E0 88 01 01 B1 */ lbz r0, 0x1b1(r1) +/* 802AB784 002A86E4 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB788 002A86E8 C8 01 01 B8 */ lfd f0, 0x1b8(r1) +/* 802AB78C 002A86EC D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB790 002A86F0 C8 01 01 C0 */ lfd f0, 0x1c0(r1) +/* 802AB794 002A86F4 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB798 002A86F8 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 802AB79C 002A86FC 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 802AB7A0 002A8700 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB7A4 002A8704 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB7A8 002A8708 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 802AB7AC 002A870C 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB7B0 002A8710 80 61 01 D4 */ lwz r3, 0x1d4(r1) +/* 802AB7B4 002A8714 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802AB7B8 002A8718 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB7BC 002A871C 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB7C0 002A8720 80 01 01 DC */ lwz r0, 0x1dc(r1) +/* 802AB7C4 002A8724 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB7C8 002A8728 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB7CC 002A872C D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB7D0: +/* 802AB7D0 002A8730 3A F7 00 01 */ addi r23, r23, 1 +/* 802AB7D4 002A8734 3B BD 00 0C */ addi r29, r29, 0xc +/* 802AB7D8 002A8738 2C 17 00 03 */ cmpwi r23, 3 +/* 802AB7DC 002A873C 3B DE 00 02 */ addi r30, r30, 2 +/* 802AB7E0 002A8740 41 80 FE 74 */ blt lbl_802AB654 +/* 802AB7E4 002A8744 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB7E8 002A8748 7F 04 C3 78 */ mr r4, r24 +/* 802AB7EC 002A874C 4B FF C7 61 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB7F0 002A8750 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB7F4 002A8754 7C 78 1B 78 */ mr r24, r3 +/* 802AB7F8 002A8758 3A C4 BB AC */ addi r22, r4, lbl_8058BBAC@l +/* 802AB7FC 002A875C 3B A0 00 00 */ li r29, 0 +lbl_802AB800: +/* 802AB800 002A8760 A0 B8 00 00 */ lhz r5, 0(r24) +/* 802AB804 002A8764 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802AB808 002A8768 54 A3 08 3C */ slwi r3, r5, 1 +/* 802AB80C 002A876C 7C 16 1A 2E */ lhzx r0, r22, r3 +/* 802AB810 002A8770 7C 00 20 40 */ cmplw r0, r4 +/* 802AB814 002A8774 41 82 01 80 */ beq lbl_802AB994 +/* 802AB818 002A8778 7C 96 1B 2E */ sthx r4, r22, r3 +/* 802AB81C 002A877C 80 8F 00 10 */ lwz r4, 0x10(r15) +/* 802AB820 002A8780 80 64 00 44 */ lwz r3, 0x44(r4) +/* 802AB824 002A8784 80 84 00 24 */ lwz r4, 0x24(r4) +/* 802AB828 002A8788 7C 03 28 AE */ lbzx r0, r3, r5 +/* 802AB82C 002A878C 54 00 10 3A */ slwi r0, r0, 2 +/* 802AB830 002A8790 7E E4 00 2E */ lwzx r23, r4, r0 +/* 802AB834 002A8794 56 E0 01 CF */ rlwinm. r0, r23, 0, 7, 7 +/* 802AB838 002A8798 40 82 01 5C */ bne lbl_802AB994 +/* 802AB83C 002A879C 38 7D FF FE */ addi r3, r29, -2 +/* 802AB840 002A87A0 20 1D 00 02 */ subfic r0, r29, 2 +/* 802AB844 002A87A4 7C 60 00 F8 */ nor r0, r3, r0 +/* 802AB848 002A87A8 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB84C 002A87AC 7C 03 FE 70 */ srawi r3, r0, 0x1f +/* 802AB850 002A87B0 38 1D 00 01 */ addi r0, r29, 1 +/* 802AB854 002A87B4 7C 00 18 78 */ andc r0, r0, r3 +/* 802AB858 002A87B8 80 D3 00 00 */ lwz r6, 0(r19) +/* 802AB85C 002A87BC 81 13 00 04 */ lwz r8, 4(r19) +/* 802AB860 002A87C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802AB864 002A87C4 81 53 00 08 */ lwz r10, 8(r19) +/* 802AB868 002A87C8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 802AB86C 002A87CC D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802AB870 002A87D0 7F 63 DB 78 */ mr r3, r27 +/* 802AB874 002A87D4 7E 45 93 78 */ mr r5, r18 +/* 802AB878 002A87D8 90 C1 00 40 */ stw r6, 0x40(r1) +/* 802AB87C 002A87DC 7C 84 02 14 */ add r4, r4, r0 +/* 802AB880 002A87E0 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802AB884 002A87E4 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802AB888 002A87E8 91 01 00 44 */ stw r8, 0x44(r1) +/* 802AB88C 002A87EC 39 01 00 AC */ addi r8, r1, 0xac +/* 802AB890 002A87F0 39 21 00 A0 */ addi r9, r1, 0xa0 +/* 802AB894 002A87F4 91 41 00 48 */ stw r10, 0x48(r1) +/* 802AB898 002A87F8 4B FF 82 F1 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802AB89C 002A87FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AB8A0 002A8800 41 82 00 F4 */ beq lbl_802AB994 +/* 802AB8A4 002A8804 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802AB8A8 002A8808 C8 14 00 00 */ lfd f0, 0(r20) +/* 802AB8AC 002A880C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802AB8B0 002A8810 40 80 00 E4 */ bge lbl_802AB994 +/* 802AB8B4 002A8814 38 00 00 00 */ li r0, 0 +/* 802AB8B8 002A8818 92 E1 00 14 */ stw r23, 0x14(r1) +/* 802AB8BC 002A881C 7E 25 8B 78 */ mr r5, r17 +/* 802AB8C0 002A8820 38 61 01 20 */ addi r3, r1, 0x120 +/* 802AB8C4 002A8824 90 01 00 10 */ stw r0, 0x10(r1) +/* 802AB8C8 002A8828 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AB8CC 002A882C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802AB8D0 002A8830 38 E1 00 AC */ addi r7, r1, 0xac +/* 802AB8D4 002A8834 48 02 2B 75 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AB8D8 002A8838 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802AB8DC 002A883C 3B 40 00 01 */ li r26, 1 +/* 802AB8E0 002A8840 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802AB8E4 002A8844 90 75 00 00 */ stw r3, 0(r21) +/* 802AB8E8 002A8848 90 15 00 04 */ stw r0, 4(r21) +/* 802AB8EC 002A884C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802AB8F0 002A8850 90 15 00 08 */ stw r0, 8(r21) +/* 802AB8F4 002A8854 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802AB8F8 002A8858 80 01 01 30 */ lwz r0, 0x130(r1) +/* 802AB8FC 002A885C 90 75 00 0C */ stw r3, 0xc(r21) +/* 802AB900 002A8860 90 15 00 10 */ stw r0, 0x10(r21) +/* 802AB904 002A8864 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802AB908 002A8868 90 15 00 14 */ stw r0, 0x14(r21) +/* 802AB90C 002A886C 80 61 01 38 */ lwz r3, 0x138(r1) +/* 802AB910 002A8870 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 802AB914 002A8874 90 75 00 18 */ stw r3, 0x18(r21) +/* 802AB918 002A8878 90 15 00 1C */ stw r0, 0x1c(r21) +/* 802AB91C 002A887C 80 01 01 40 */ lwz r0, 0x140(r1) +/* 802AB920 002A8880 90 15 00 20 */ stw r0, 0x20(r21) +/* 802AB924 002A8884 80 61 01 44 */ lwz r3, 0x144(r1) +/* 802AB928 002A8888 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802AB92C 002A888C 90 75 00 24 */ stw r3, 0x24(r21) +/* 802AB930 002A8890 90 15 00 28 */ stw r0, 0x28(r21) +/* 802AB934 002A8894 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 802AB938 002A8898 90 15 00 2C */ stw r0, 0x2c(r21) +/* 802AB93C 002A889C 88 01 01 50 */ lbz r0, 0x150(r1) +/* 802AB940 002A88A0 98 15 00 30 */ stb r0, 0x30(r21) +/* 802AB944 002A88A4 88 01 01 51 */ lbz r0, 0x151(r1) +/* 802AB948 002A88A8 98 15 00 31 */ stb r0, 0x31(r21) +/* 802AB94C 002A88AC C8 01 01 58 */ lfd f0, 0x158(r1) +/* 802AB950 002A88B0 D8 15 00 38 */ stfd f0, 0x38(r21) +/* 802AB954 002A88B4 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 802AB958 002A88B8 D8 15 00 40 */ stfd f0, 0x40(r21) +/* 802AB95C 002A88BC 80 61 01 68 */ lwz r3, 0x168(r1) +/* 802AB960 002A88C0 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 802AB964 002A88C4 90 75 00 48 */ stw r3, 0x48(r21) +/* 802AB968 002A88C8 90 15 00 4C */ stw r0, 0x4c(r21) +/* 802AB96C 002A88CC 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802AB970 002A88D0 90 15 00 50 */ stw r0, 0x50(r21) +/* 802AB974 002A88D4 80 61 01 74 */ lwz r3, 0x174(r1) +/* 802AB978 002A88D8 80 01 01 78 */ lwz r0, 0x178(r1) +/* 802AB97C 002A88DC 90 75 00 54 */ stw r3, 0x54(r21) +/* 802AB980 002A88E0 90 15 00 58 */ stw r0, 0x58(r21) +/* 802AB984 002A88E4 80 01 01 7C */ lwz r0, 0x17c(r1) +/* 802AB988 002A88E8 90 15 00 5C */ stw r0, 0x5c(r21) +/* 802AB98C 002A88EC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802AB990 002A88F0 D8 14 00 00 */ stfd f0, 0(r20) +lbl_802AB994: +/* 802AB994 002A88F4 3B BD 00 01 */ addi r29, r29, 1 +/* 802AB998 002A88F8 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802AB99C 002A88FC 2C 1D 00 03 */ cmpwi r29, 3 +/* 802AB9A0 002A8900 3B 18 00 02 */ addi r24, r24, 2 +/* 802AB9A4 002A8904 41 80 FE 5C */ blt lbl_802AB800 +/* 802AB9A8 002A8908 48 00 00 80 */ b lbl_802ABA28 +lbl_802AB9AC: +/* 802AB9AC 002A890C 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB9B0 002A8910 7F 04 C3 78 */ mr r4, r24 +/* 802AB9B4 002A8914 4B FF C5 99 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs +/* 802AB9B8 002A8918 A0 03 00 00 */ lhz r0, 0(r3) +/* 802AB9BC 002A891C 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802AB9C0 002A8920 A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) +/* 802AB9C4 002A8924 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l +/* 802AB9C8 002A8928 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9CC 002A892C 7F 04 C3 78 */ mr r4, r24 +/* 802AB9D0 002A8930 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9D4 002A8934 38 A1 00 20 */ addi r5, r1, 0x20 +/* 802AB9D8 002A8938 A0 03 00 02 */ lhz r0, 2(r3) +/* 802AB9DC 002A893C 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9E0 002A8940 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9E4 002A8944 A0 03 00 04 */ lhz r0, 4(r3) +/* 802AB9E8 002A8948 80 6F 00 10 */ lwz r3, 0x10(r15) +/* 802AB9EC 002A894C 54 00 08 3C */ slwi r0, r0, 1 +/* 802AB9F0 002A8950 7C E6 03 2E */ sthx r7, r6, r0 +/* 802AB9F4 002A8954 4B FF C5 6D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs +/* 802AB9F8 002A8958 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 802AB9FC 002A895C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802ABA00 002A8960 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802ABA04 002A8964 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l +/* 802ABA08 002A8968 54 03 08 3C */ slwi r3, r0, 1 +/* 802ABA0C 002A896C A0 01 00 22 */ lhz r0, 0x22(r1) +/* 802ABA10 002A8970 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802ABA14 002A8974 54 03 08 3C */ slwi r3, r0, 1 +/* 802ABA18 002A8978 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 802ABA1C 002A897C 7C A4 1B 2E */ sthx r5, r4, r3 +/* 802ABA20 002A8980 54 00 08 3C */ slwi r0, r0, 1 +/* 802ABA24 002A8984 7C A4 03 2E */ sthx r5, r4, r0 +lbl_802ABA28: +/* 802ABA28 002A8988 3B 9C 00 02 */ addi r28, r28, 2 +/* 802ABA2C 002A898C 3B 39 00 01 */ addi r25, r25, 1 +lbl_802ABA30: +/* 802ABA30 002A8990 80 01 02 40 */ lwz r0, 0x240(r1) +/* 802ABA34 002A8994 7C 19 00 00 */ cmpw r25, r0 +/* 802ABA38 002A8998 41 80 F9 F0 */ blt lbl_802AB428 +/* 802ABA3C 002A899C 7F 43 D3 78 */ mr r3, r26 +/* 802ABA40 002A89A0 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 802ABA44 002A89A4 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 802ABA48 002A89A8 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 802ABA4C 002A89AC CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 802ABA50 002A89B0 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 802ABA54 002A89B4 CB A1 02 90 */ lfd f29, 0x290(r1) +/* 802ABA58 002A89B8 B9 C1 02 48 */ lmw r14, 0x248(r1) +/* 802ABA5C 002A89BC 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 802ABA60 002A89C0 7C 08 03 A6 */ mtlr r0 +/* 802ABA64 002A89C4 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 802ABA68 002A89C8 4E 80 00 20 */ blr + +.global AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: +/* 802ABA6C 002A89CC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802ABA70 002A89D0 7C 08 02 A6 */ mflr r0 +/* 802ABA74 002A89D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 802ABA78 002A89D8 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 802ABA7C 002A89DC 7C 7C 1B 78 */ mr r28, r3 +/* 802ABA80 002A89E0 7C FF 3B 78 */ mr r31, r7 +/* 802ABA84 002A89E4 83 01 00 58 */ lwz r24, 0x58(r1) +/* 802ABA88 002A89E8 83 21 00 5C */ lwz r25, 0x5c(r1) +/* 802ABA8C 002A89EC 7C 9D 23 78 */ mr r29, r4 +/* 802ABA90 002A89F0 83 41 00 60 */ lwz r26, 0x60(r1) +/* 802ABA94 002A89F4 7C BE 2B 78 */ mr r30, r5 +/* 802ABA98 002A89F8 7C D4 33 78 */ mr r20, r6 +/* 802ABA9C 002A89FC 7D 15 43 78 */ mr r21, r8 +/* 802ABAA0 002A8A00 7D 36 4B 78 */ mr r22, r9 +/* 802ABAA4 002A8A04 7D 57 53 78 */ mr r23, r10 +/* 802ABAA8 002A8A08 3B 60 00 00 */ li r27, 0 +/* 802ABAAC 002A8A0C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802ABAB0 002A8A10 38 03 00 01 */ addi r0, r3, 1 +/* 802ABAB4 002A8A14 7F E3 FB 78 */ mr r3, r31 +/* 802ABAB8 002A8A18 90 1C 00 14 */ stw r0, 0x14(r28) +/* 802ABABC 002A8A1C 48 02 99 D9 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABAC0 002A8A20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABAC4 002A8A24 41 82 00 D0 */ beq lbl_802ABB94 +/* 802ABAC8 002A8A28 38 00 00 01 */ li r0, 1 +/* 802ABACC 002A8A2C 98 1D 00 4C */ stb r0, 0x4c(r29) +/* 802ABAD0 002A8A30 88 1D 00 3C */ lbz r0, 0x3c(r29) +/* 802ABAD4 002A8A34 28 00 00 00 */ cmplwi r0, 0 +/* 802ABAD8 002A8A38 41 82 00 40 */ beq lbl_802ABB18 +/* 802ABADC 002A8A3C 93 21 00 08 */ stw r25, 8(r1) +/* 802ABAE0 002A8A40 7F 83 E3 78 */ mr r3, r28 +/* 802ABAE4 002A8A44 7F C5 F3 78 */ mr r5, r30 +/* 802ABAE8 002A8A48 7E 86 A3 78 */ mr r6, r20 +/* 802ABAEC 002A8A4C 93 41 00 0C */ stw r26, 0xc(r1) +/* 802ABAF0 002A8A50 7E A7 AB 78 */ mr r7, r21 +/* 802ABAF4 002A8A54 7E C8 B3 78 */ mr r8, r22 +/* 802ABAF8 002A8A58 7E E9 BB 78 */ mr r9, r23 +/* 802ABAFC 002A8A5C 80 9D 00 48 */ lwz r4, 0x48(r29) +/* 802ABB00 002A8A60 7F 0A C3 78 */ mr r10, r24 +/* 802ABB04 002A8A64 4B FF F7 7D */ bl AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB08 002A8A68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB0C 002A8A6C 41 82 00 94 */ beq lbl_802ABBA0 +/* 802ABB10 002A8A70 3B 60 00 01 */ li r27, 1 +/* 802ABB14 002A8A74 48 00 00 8C */ b lbl_802ABBA0 +lbl_802ABB18: +/* 802ABB18 002A8A78 93 01 00 08 */ stw r24, 8(r1) +/* 802ABB1C 002A8A7C 7F 83 E3 78 */ mr r3, r28 +/* 802ABB20 002A8A80 7F C5 F3 78 */ mr r5, r30 +/* 802ABB24 002A8A84 7E 86 A3 78 */ mr r6, r20 +/* 802ABB28 002A8A88 93 21 00 0C */ stw r25, 0xc(r1) +/* 802ABB2C 002A8A8C 7F E7 FB 78 */ mr r7, r31 +/* 802ABB30 002A8A90 7E A8 AB 78 */ mr r8, r21 +/* 802ABB34 002A8A94 7E C9 B3 78 */ mr r9, r22 +/* 802ABB38 002A8A98 93 41 00 10 */ stw r26, 0x10(r1) +/* 802ABB3C 002A8A9C 7E EA BB 78 */ mr r10, r23 +/* 802ABB40 002A8AA0 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 802ABB44 002A8AA4 4B FF FF 29 */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB48 002A8AA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB4C 002A8AAC 41 82 00 08 */ beq lbl_802ABB54 +/* 802ABB50 002A8AB0 3B 60 00 01 */ li r27, 1 +lbl_802ABB54: +/* 802ABB54 002A8AB4 93 01 00 08 */ stw r24, 8(r1) +/* 802ABB58 002A8AB8 7F 83 E3 78 */ mr r3, r28 +/* 802ABB5C 002A8ABC 7F C5 F3 78 */ mr r5, r30 +/* 802ABB60 002A8AC0 7E 86 A3 78 */ mr r6, r20 +/* 802ABB64 002A8AC4 93 21 00 0C */ stw r25, 0xc(r1) +/* 802ABB68 002A8AC8 7F E7 FB 78 */ mr r7, r31 +/* 802ABB6C 002A8ACC 7E A8 AB 78 */ mr r8, r21 +/* 802ABB70 002A8AD0 7E C9 B3 78 */ mr r9, r22 +/* 802ABB74 002A8AD4 93 41 00 10 */ stw r26, 0x10(r1) +/* 802ABB78 002A8AD8 7E EA BB 78 */ mr r10, r23 +/* 802ABB7C 002A8ADC 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 802ABB80 002A8AE0 4B FF FE ED */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ABB84 002A8AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABB88 002A8AE8 41 82 00 18 */ beq lbl_802ABBA0 +/* 802ABB8C 002A8AEC 3B 60 00 01 */ li r27, 1 +/* 802ABB90 002A8AF0 48 00 00 10 */ b lbl_802ABBA0 +lbl_802ABB94: +/* 802ABB94 002A8AF4 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802ABB98 002A8AF8 38 03 00 01 */ addi r0, r3, 1 +/* 802ABB9C 002A8AFC 90 1C 00 18 */ stw r0, 0x18(r28) +lbl_802ABBA0: +/* 802ABBA0 002A8B00 7F 63 DB 78 */ mr r3, r27 +/* 802ABBA4 002A8B04 BA 81 00 20 */ lmw r20, 0x20(r1) +/* 802ABBA8 002A8B08 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802ABBAC 002A8B0C 7C 08 03 A6 */ mtlr r0 +/* 802ABBB0 002A8B10 38 21 00 50 */ addi r1, r1, 0x50 +/* 802ABBB4 002A8B14 4E 80 00 20 */ blr + +.global SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter: +/* 802ABBB8 002A8B18 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802ABBBC 002A8B1C 7C 08 02 A6 */ mflr r0 +/* 802ABBC0 002A8B20 90 01 00 94 */ stw r0, 0x94(r1) +/* 802ABBC4 002A8B24 BE C1 00 68 */ stmw r22, 0x68(r1) +/* 802ABBC8 002A8B28 7C 76 1B 78 */ mr r22, r3 +/* 802ABBCC 002A8B2C 7C FA 3B 78 */ mr r26, r7 +/* 802ABBD0 002A8B30 7C 9B 23 78 */ mr r27, r4 +/* 802ABBD4 002A8B34 7C B7 2B 78 */ mr r23, r5 +/* 802ABBD8 002A8B38 7C D8 33 78 */ mr r24, r6 +/* 802ABBDC 002A8B3C 7D 19 43 78 */ mr r25, r8 +/* 802ABBE0 002A8B40 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802ABBE4 002A8B44 38 03 00 01 */ addi r0, r3, 1 +/* 802ABBE8 002A8B48 7F 43 D3 78 */ mr r3, r26 +/* 802ABBEC 002A8B4C 90 16 00 14 */ stw r0, 0x14(r22) +/* 802ABBF0 002A8B50 48 02 98 A5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABBF4 002A8B54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABBF8 002A8B58 41 82 01 6C */ beq lbl_802ABD64 +/* 802ABBFC 002A8B5C 38 00 00 01 */ li r0, 1 +/* 802ABC00 002A8B60 98 1B 00 4C */ stb r0, 0x4c(r27) +/* 802ABC04 002A8B64 88 1B 00 3C */ lbz r0, 0x3c(r27) +/* 802ABC08 002A8B68 28 00 00 00 */ cmplwi r0, 0 +/* 802ABC0C 002A8B6C 41 82 01 00 */ beq lbl_802ABD0C +/* 802ABC10 002A8B70 83 FB 00 48 */ lwz r31, 0x48(r27) +/* 802ABC14 002A8B74 3B 61 00 44 */ addi r27, r1, 0x44 +/* 802ABC18 002A8B78 3B 81 00 50 */ addi r28, r1, 0x50 +/* 802ABC1C 002A8B7C 3B 40 00 00 */ li r26, 0 +/* 802ABC20 002A8B80 83 DF 00 04 */ lwz r30, 4(r31) +/* 802ABC24 002A8B84 3B A0 00 00 */ li r29, 0 +/* 802ABC28 002A8B88 48 00 00 D8 */ b lbl_802ABD00 +lbl_802ABC2C: +/* 802ABC2C 002A8B8C 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802ABC30 002A8B90 7E E6 BB 78 */ mr r6, r23 +/* 802ABC34 002A8B94 80 96 00 10 */ lwz r4, 0x10(r22) +/* 802ABC38 002A8B98 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ABC3C 002A8B9C 7C A5 EA 2E */ lhzx r5, r5, r29 +/* 802ABC40 002A8BA0 4B FF CE 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802ABC44 002A8BA4 C1 01 00 10 */ lfs f8, 0x10(r1) +/* 802ABC48 002A8BA8 7E C3 B3 78 */ mr r3, r22 +/* 802ABC4C 002A8BAC C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 802ABC50 002A8BB0 C0 C1 00 18 */ lfs f6, 0x18(r1) +/* 802ABC54 002A8BB4 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 802ABC58 002A8BB8 C0 81 00 20 */ lfs f4, 0x20(r1) +/* 802ABC5C 002A8BBC C0 61 00 24 */ lfs f3, 0x24(r1) +/* 802ABC60 002A8BC0 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802ABC64 002A8BC4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 802ABC68 002A8BC8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802ABC6C 002A8BCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802ABC70 002A8BD0 D1 01 00 38 */ stfs f8, 0x38(r1) +/* 802ABC74 002A8BD4 D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 802ABC78 002A8BD8 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 802ABC7C 002A8BDC D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802ABC80 002A8BE0 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802ABC84 002A8BE4 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802ABC88 002A8BE8 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802ABC8C 002A8BEC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802ABC90 002A8BF0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802ABC94 002A8BF4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 802ABC98 002A8BF8 81 96 00 00 */ lwz r12, 0(r22) +/* 802ABC9C 002A8BFC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ABCA0 002A8C00 7D 89 03 A6 */ mtctr r12 +/* 802ABCA4 002A8C04 4E 80 04 21 */ bctrl +/* 802ABCA8 002A8C08 80 C1 00 5C */ lwz r6, 0x5c(r1) +/* 802ABCAC 002A8C0C 38 81 00 08 */ addi r4, r1, 8 +/* 802ABCB0 002A8C10 80 03 00 04 */ lwz r0, 4(r3) +/* 802ABCB4 002A8C14 80 A3 00 00 */ lwz r5, 0(r3) +/* 802ABCB8 002A8C18 7F 23 CB 78 */ mr r3, r25 +/* 802ABCBC 002A8C1C 7C C0 03 78 */ or r0, r6, r0 +/* 802ABCC0 002A8C20 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ABCC4 002A8C24 90 A1 00 08 */ stw r5, 8(r1) +/* 802ABCC8 002A8C28 48 02 96 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802ABCCC 002A8C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABCD0 002A8C30 41 82 00 28 */ beq lbl_802ABCF8 +/* 802ABCD4 002A8C34 7F 03 C3 78 */ mr r3, r24 +/* 802ABCD8 002A8C38 7F 65 DB 78 */ mr r5, r27 +/* 802ABCDC 002A8C3C 7F 86 E3 78 */ mr r6, r28 +/* 802ABCE0 002A8C40 38 81 00 38 */ addi r4, r1, 0x38 +/* 802ABCE4 002A8C44 48 02 47 5D */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802ABCE8 002A8C48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABCEC 002A8C4C 41 82 00 0C */ beq lbl_802ABCF8 +/* 802ABCF0 002A8C50 38 60 00 01 */ li r3, 1 +/* 802ABCF4 002A8C54 48 00 00 80 */ b lbl_802ABD74 +lbl_802ABCF8: +/* 802ABCF8 002A8C58 3B BD 00 02 */ addi r29, r29, 2 +/* 802ABCFC 002A8C5C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802ABD00: +/* 802ABD00 002A8C60 7C 1A F0 00 */ cmpw r26, r30 +/* 802ABD04 002A8C64 41 80 FF 28 */ blt lbl_802ABC2C +/* 802ABD08 002A8C68 48 00 00 68 */ b lbl_802ABD70 +lbl_802ABD0C: +/* 802ABD0C 002A8C6C 80 9B 00 40 */ lwz r4, 0x40(r27) +/* 802ABD10 002A8C70 7E C3 B3 78 */ mr r3, r22 +/* 802ABD14 002A8C74 7E E5 BB 78 */ mr r5, r23 +/* 802ABD18 002A8C78 7F 06 C3 78 */ mr r6, r24 +/* 802ABD1C 002A8C7C 7F 47 D3 78 */ mr r7, r26 +/* 802ABD20 002A8C80 7F 28 CB 78 */ mr r8, r25 +/* 802ABD24 002A8C84 4B FF FE 95 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ABD28 002A8C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABD2C 002A8C8C 41 82 00 0C */ beq lbl_802ABD38 +/* 802ABD30 002A8C90 38 60 00 01 */ li r3, 1 +/* 802ABD34 002A8C94 48 00 00 40 */ b lbl_802ABD74 +lbl_802ABD38: +/* 802ABD38 002A8C98 80 9B 00 44 */ lwz r4, 0x44(r27) +/* 802ABD3C 002A8C9C 7E C3 B3 78 */ mr r3, r22 +/* 802ABD40 002A8CA0 7E E5 BB 78 */ mr r5, r23 +/* 802ABD44 002A8CA4 7F 06 C3 78 */ mr r6, r24 +/* 802ABD48 002A8CA8 7F 47 D3 78 */ mr r7, r26 +/* 802ABD4C 002A8CAC 7F 28 CB 78 */ mr r8, r25 +/* 802ABD50 002A8CB0 4B FF FE 69 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ABD54 002A8CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABD58 002A8CB8 41 82 00 18 */ beq lbl_802ABD70 +/* 802ABD5C 002A8CBC 38 60 00 01 */ li r3, 1 +/* 802ABD60 002A8CC0 48 00 00 14 */ b lbl_802ABD74 +lbl_802ABD64: +/* 802ABD64 002A8CC4 80 76 00 18 */ lwz r3, 0x18(r22) +/* 802ABD68 002A8CC8 38 03 00 01 */ addi r0, r3, 1 +/* 802ABD6C 002A8CCC 90 16 00 18 */ stw r0, 0x18(r22) +lbl_802ABD70: +/* 802ABD70 002A8CD0 38 60 00 00 */ li r3, 0 +lbl_802ABD74: +/* 802ABD74 002A8CD4 BA C1 00 68 */ lmw r22, 0x68(r1) +/* 802ABD78 002A8CD8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802ABD7C 002A8CDC 7C 08 03 A6 */ mtlr r0 +/* 802ABD80 002A8CE0 38 21 00 90 */ addi r1, r1, 0x90 +/* 802ABD84 002A8CE4 4E 80 00 20 */ blr + +.global AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter: +/* 802ABD88 002A8CE8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802ABD8C 002A8CEC 7C 08 02 A6 */ mflr r0 +/* 802ABD90 002A8CF0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802ABD94 002A8CF4 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802ABD98 002A8CF8 7C 78 1B 78 */ mr r24, r3 +/* 802ABD9C 002A8CFC 7C DB 33 78 */ mr r27, r6 +/* 802ABDA0 002A8D00 7C 9C 23 78 */ mr r28, r4 +/* 802ABDA4 002A8D04 7C B9 2B 78 */ mr r25, r5 +/* 802ABDA8 002A8D08 7C F7 3B 78 */ mr r23, r7 +/* 802ABDAC 002A8D0C 7D 1A 43 78 */ mr r26, r8 +/* 802ABDB0 002A8D10 7F 64 DB 78 */ mr r4, r27 +/* 802ABDB4 002A8D14 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ABDB8 002A8D18 48 08 B8 55 */ bl GetCenterPoint__6CAABoxCFv +/* 802ABDBC 002A8D1C C0 7B 00 10 */ lfs f3, 0x10(r27) +/* 802ABDC0 002A8D20 7E E3 BB 78 */ mr r3, r23 +/* 802ABDC4 002A8D24 C0 5B 00 04 */ lfs f2, 4(r27) +/* 802ABDC8 002A8D28 7F 84 E3 78 */ mr r4, r28 +/* 802ABDCC 002A8D2C C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 802ABDD0 002A8D30 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802ABDD4 002A8D34 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802ABDD8 002A8D38 C0 62 C1 BC */ lfs f3, lbl_805ADEDC@sda21(r2) +/* 802ABDDC 002A8D3C EC 01 00 28 */ fsubs f0, f1, f0 +/* 802ABDE0 002A8D40 80 B8 00 14 */ lwz r5, 0x14(r24) +/* 802ABDE4 002A8D44 EC E3 00 B2 */ fmuls f7, f3, f2 +/* 802ABDE8 002A8D48 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 802ABDEC 002A8D4C C0 81 00 14 */ lfs f4, 0x14(r1) +/* 802ABDF0 002A8D50 38 05 00 01 */ addi r0, r5, 1 +/* 802ABDF4 002A8D54 EC C3 00 32 */ fmuls f6, f3, f0 +/* 802ABDF8 002A8D58 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 802ABDFC 002A8D5C C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 802ABE00 002A8D60 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802ABE04 002A8D64 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 802ABE08 002A8D68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802ABE0C 002A8D6C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802ABE10 002A8D70 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802ABE14 002A8D74 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 802ABE18 002A8D78 D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 802ABE1C 002A8D7C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802ABE20 002A8D80 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 802ABE24 002A8D84 90 18 00 14 */ stw r0, 0x14(r24) +/* 802ABE28 002A8D88 48 02 96 6D */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802ABE2C 002A8D8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABE30 002A8D90 41 82 01 70 */ beq lbl_802ABFA0 +/* 802ABE34 002A8D94 38 00 00 01 */ li r0, 1 +/* 802ABE38 002A8D98 98 1C 00 4C */ stb r0, 0x4c(r28) +/* 802ABE3C 002A8D9C 88 1C 00 3C */ lbz r0, 0x3c(r28) +/* 802ABE40 002A8DA0 28 00 00 00 */ cmplwi r0, 0 +/* 802ABE44 002A8DA4 41 82 01 04 */ beq lbl_802ABF48 +/* 802ABE48 002A8DA8 83 FC 00 48 */ lwz r31, 0x48(r28) +/* 802ABE4C 002A8DAC 3B 81 00 68 */ addi r28, r1, 0x68 +/* 802ABE50 002A8DB0 3B A1 00 74 */ addi r29, r1, 0x74 +/* 802ABE54 002A8DB4 3B 60 00 00 */ li r27, 0 +/* 802ABE58 002A8DB8 83 DF 00 04 */ lwz r30, 4(r31) +/* 802ABE5C 002A8DBC 3A E0 00 00 */ li r23, 0 +/* 802ABE60 002A8DC0 48 00 00 DC */ b lbl_802ABF3C +lbl_802ABE64: +/* 802ABE64 002A8DC4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 802ABE68 002A8DC8 7F 26 CB 78 */ mr r6, r25 +/* 802ABE6C 002A8DCC 80 98 00 10 */ lwz r4, 0x10(r24) +/* 802ABE70 002A8DD0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802ABE74 002A8DD4 7C A5 BA 2E */ lhzx r5, r5, r23 +/* 802ABE78 002A8DD8 4B FF CB C9 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802ABE7C 002A8DDC C1 01 00 34 */ lfs f8, 0x34(r1) +/* 802ABE80 002A8DE0 7F 03 C3 78 */ mr r3, r24 +/* 802ABE84 002A8DE4 C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 802ABE88 002A8DE8 C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 802ABE8C 002A8DEC C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802ABE90 002A8DF0 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802ABE94 002A8DF4 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802ABE98 002A8DF8 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802ABE9C 002A8DFC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802ABEA0 002A8E00 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802ABEA4 002A8E04 80 01 00 58 */ lwz r0, 0x58(r1) +/* 802ABEA8 002A8E08 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802ABEAC 002A8E0C D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 802ABEB0 002A8E10 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 802ABEB4 002A8E14 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 802ABEB8 002A8E18 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802ABEBC 002A8E1C D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802ABEC0 002A8E20 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802ABEC4 002A8E24 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802ABEC8 002A8E28 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802ABECC 002A8E2C 90 01 00 80 */ stw r0, 0x80(r1) +/* 802ABED0 002A8E30 81 98 00 00 */ lwz r12, 0(r24) +/* 802ABED4 002A8E34 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ABED8 002A8E38 7D 89 03 A6 */ mtctr r12 +/* 802ABEDC 002A8E3C 4E 80 04 21 */ bctrl +/* 802ABEE0 002A8E40 80 C1 00 80 */ lwz r6, 0x80(r1) +/* 802ABEE4 002A8E44 38 81 00 08 */ addi r4, r1, 8 +/* 802ABEE8 002A8E48 80 03 00 04 */ lwz r0, 4(r3) +/* 802ABEEC 002A8E4C 80 A3 00 00 */ lwz r5, 0(r3) +/* 802ABEF0 002A8E50 7F 43 D3 78 */ mr r3, r26 +/* 802ABEF4 002A8E54 7C C0 03 78 */ or r0, r6, r0 +/* 802ABEF8 002A8E58 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ABEFC 002A8E5C 90 A1 00 08 */ stw r5, 8(r1) +/* 802ABF00 002A8E60 48 02 94 4D */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802ABF04 002A8E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF08 002A8E68 41 82 00 2C */ beq lbl_802ABF34 +/* 802ABF0C 002A8E6C 7F 86 E3 78 */ mr r6, r28 +/* 802ABF10 002A8E70 7F A7 EB 78 */ mr r7, r29 +/* 802ABF14 002A8E74 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ABF18 002A8E78 38 81 00 1C */ addi r4, r1, 0x1c +/* 802ABF1C 002A8E7C 38 A1 00 5C */ addi r5, r1, 0x5c +/* 802ABF20 002A8E80 48 02 55 C1 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802ABF24 002A8E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF28 002A8E88 41 82 00 0C */ beq lbl_802ABF34 +/* 802ABF2C 002A8E8C 38 60 00 01 */ li r3, 1 +/* 802ABF30 002A8E90 48 00 00 80 */ b lbl_802ABFB0 +lbl_802ABF34: +/* 802ABF34 002A8E94 3A F7 00 02 */ addi r23, r23, 2 +/* 802ABF38 002A8E98 3B 7B 00 01 */ addi r27, r27, 1 +lbl_802ABF3C: +/* 802ABF3C 002A8E9C 7C 1B F0 00 */ cmpw r27, r30 +/* 802ABF40 002A8EA0 41 80 FF 24 */ blt lbl_802ABE64 +/* 802ABF44 002A8EA4 48 00 00 68 */ b lbl_802ABFAC +lbl_802ABF48: +/* 802ABF48 002A8EA8 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 802ABF4C 002A8EAC 7F 03 C3 78 */ mr r3, r24 +/* 802ABF50 002A8EB0 7F 25 CB 78 */ mr r5, r25 +/* 802ABF54 002A8EB4 7F 66 DB 78 */ mr r6, r27 +/* 802ABF58 002A8EB8 7E E7 BB 78 */ mr r7, r23 +/* 802ABF5C 002A8EBC 7F 48 D3 78 */ mr r8, r26 +/* 802ABF60 002A8EC0 4B FF FE 29 */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802ABF64 002A8EC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF68 002A8EC8 41 82 00 0C */ beq lbl_802ABF74 +/* 802ABF6C 002A8ECC 38 60 00 01 */ li r3, 1 +/* 802ABF70 002A8ED0 48 00 00 40 */ b lbl_802ABFB0 +lbl_802ABF74: +/* 802ABF74 002A8ED4 80 9C 00 44 */ lwz r4, 0x44(r28) +/* 802ABF78 002A8ED8 7F 03 C3 78 */ mr r3, r24 +/* 802ABF7C 002A8EDC 7F 25 CB 78 */ mr r5, r25 +/* 802ABF80 002A8EE0 7F 66 DB 78 */ mr r6, r27 +/* 802ABF84 002A8EE4 7E E7 BB 78 */ mr r7, r23 +/* 802ABF88 002A8EE8 7F 48 D3 78 */ mr r8, r26 +/* 802ABF8C 002A8EEC 4B FF FD FD */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802ABF90 002A8EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ABF94 002A8EF4 41 82 00 18 */ beq lbl_802ABFAC +/* 802ABF98 002A8EF8 38 60 00 01 */ li r3, 1 +/* 802ABF9C 002A8EFC 48 00 00 14 */ b lbl_802ABFB0 +lbl_802ABFA0: +/* 802ABFA0 002A8F00 80 78 00 18 */ lwz r3, 0x18(r24) +/* 802ABFA4 002A8F04 38 03 00 01 */ addi r0, r3, 1 +/* 802ABFA8 002A8F08 90 18 00 18 */ stw r0, 0x18(r24) +lbl_802ABFAC: +/* 802ABFAC 002A8F0C 38 60 00 00 */ li r3, 0 +lbl_802ABFB0: +/* 802ABFB0 002A8F10 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802ABFB4 002A8F14 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802ABFB8 002A8F18 7C 08 03 A6 */ mtlr r0 +/* 802ABFBC 002A8F1C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802ABFC0 002A8F20 4E 80 00 20 */ blr + +.global SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802ABFC4 002A8F24 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802ABFC8 002A8F28 7C 08 02 A6 */ mflr r0 +/* 802ABFCC 002A8F2C 3D 40 80 5A */ lis r10, skZero3f@ha +/* 802ABFD0 002A8F30 90 01 01 14 */ stw r0, 0x114(r1) +/* 802ABFD4 002A8F34 BE 61 00 DC */ stmw r19, 0xdc(r1) +/* 802ABFD8 002A8F38 7C 94 23 78 */ mr r20, r4 +/* 802ABFDC 002A8F3C 38 8A 66 A0 */ addi r4, r10, skZero3f@l +/* 802ABFE0 002A8F40 3B 81 00 5C */ addi r28, r1, 0x5c +/* 802ABFE4 002A8F44 3B A1 00 68 */ addi r29, r1, 0x68 +/* 802ABFE8 002A8F48 7C 73 1B 78 */ mr r19, r3 +/* 802ABFEC 002A8F4C 7C B5 2B 78 */ mr r21, r5 +/* 802ABFF0 002A8F50 7C D6 33 78 */ mr r22, r6 +/* 802ABFF4 002A8F54 7C F7 3B 78 */ mr r23, r7 +/* 802ABFF8 002A8F58 7D 18 43 78 */ mr r24, r8 +/* 802ABFFC 002A8F5C 7D 39 4B 78 */ mr r25, r9 +/* 802AC000 002A8F60 3B 60 00 00 */ li r27, 0 +/* 802AC004 002A8F64 3B 40 00 00 */ li r26, 0 +/* 802AC008 002A8F68 3B C0 00 00 */ li r30, 0 +/* 802AC00C 002A8F6C C0 04 00 00 */ lfs f0, 0(r4) +/* 802AC010 002A8F70 C0 24 00 04 */ lfs f1, 4(r4) +/* 802AC014 002A8F74 C0 44 00 08 */ lfs f2, 8(r4) +/* 802AC018 002A8F78 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AC01C 002A8F7C 83 F4 00 04 */ lwz r31, 4(r20) +/* 802AC020 002A8F80 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802AC024 002A8F84 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 802AC028 002A8F88 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AC02C 002A8F8C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AC030 002A8F90 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802AC034 002A8F94 48 00 01 10 */ b lbl_802AC144 +lbl_802AC038: +/* 802AC038 002A8F98 80 B4 00 0C */ lwz r5, 0xc(r20) +/* 802AC03C 002A8F9C 7E A6 AB 78 */ mr r6, r21 +/* 802AC040 002A8FA0 80 93 00 10 */ lwz r4, 0x10(r19) +/* 802AC044 002A8FA4 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AC048 002A8FA8 7C A5 F2 2E */ lhzx r5, r5, r30 +/* 802AC04C 002A8FAC 4B FF C9 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AC050 002A8FB0 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 802AC054 002A8FB4 7E 63 9B 78 */ mr r3, r19 +/* 802AC058 002A8FB8 C0 E1 00 2C */ lfs f7, 0x2c(r1) +/* 802AC05C 002A8FBC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 802AC060 002A8FC0 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 802AC064 002A8FC4 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 802AC068 002A8FC8 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 802AC06C 002A8FCC C0 41 00 40 */ lfs f2, 0x40(r1) +/* 802AC070 002A8FD0 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 802AC074 002A8FD4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802AC078 002A8FD8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AC07C 002A8FDC D1 01 00 50 */ stfs f8, 0x50(r1) +/* 802AC080 002A8FE0 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 802AC084 002A8FE4 D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 802AC088 002A8FE8 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802AC08C 002A8FEC D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802AC090 002A8FF0 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802AC094 002A8FF4 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802AC098 002A8FF8 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802AC09C 002A8FFC D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802AC0A0 002A9000 90 01 00 74 */ stw r0, 0x74(r1) +/* 802AC0A4 002A9004 81 93 00 00 */ lwz r12, 0(r19) +/* 802AC0A8 002A9008 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC0AC 002A900C 7D 89 03 A6 */ mtctr r12 +/* 802AC0B0 002A9010 4E 80 04 21 */ bctrl +/* 802AC0B4 002A9014 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 802AC0B8 002A9018 38 81 00 08 */ addi r4, r1, 8 +/* 802AC0BC 002A901C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AC0C0 002A9020 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AC0C4 002A9024 7F 03 C3 78 */ mr r3, r24 +/* 802AC0C8 002A9028 7C C0 03 78 */ or r0, r6, r0 +/* 802AC0CC 002A902C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AC0D0 002A9030 90 A1 00 08 */ stw r5, 8(r1) +/* 802AC0D4 002A9034 48 02 92 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AC0D8 002A9038 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC0DC 002A903C 41 82 00 60 */ beq lbl_802AC13C +/* 802AC0E0 002A9040 80 93 00 1C */ lwz r4, 0x1c(r19) +/* 802AC0E4 002A9044 7E C3 B3 78 */ mr r3, r22 +/* 802AC0E8 002A9048 7F 85 E3 78 */ mr r5, r28 +/* 802AC0EC 002A904C 7F A6 EB 78 */ mr r6, r29 +/* 802AC0F0 002A9050 38 04 00 01 */ addi r0, r4, 1 +/* 802AC0F4 002A9054 38 81 00 50 */ addi r4, r1, 0x50 +/* 802AC0F8 002A9058 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802AC0FC 002A905C 38 E1 00 1C */ addi r7, r1, 0x1c +/* 802AC100 002A9060 39 01 00 10 */ addi r8, r1, 0x10 +/* 802AC104 002A9064 48 02 41 4D */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802AC108 002A9068 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC10C 002A906C 41 82 00 30 */ beq lbl_802AC13C +/* 802AC110 002A9070 7E E5 BB 78 */ mr r5, r23 +/* 802AC114 002A9074 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AC118 002A9078 38 81 00 1C */ addi r4, r1, 0x1c +/* 802AC11C 002A907C 38 C1 00 08 */ addi r6, r1, 8 +/* 802AC120 002A9080 38 E1 00 10 */ addi r7, r1, 0x10 +/* 802AC124 002A9084 48 02 23 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802AC128 002A9088 7C 64 1B 78 */ mr r4, r3 +/* 802AC12C 002A908C 7F 23 CB 78 */ mr r3, r25 +/* 802AC130 002A9090 38 A0 00 00 */ li r5, 0 +/* 802AC134 002A9094 4B ED 94 ED */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802AC138 002A9098 3B 60 00 01 */ li r27, 1 +lbl_802AC13C: +/* 802AC13C 002A909C 3B DE 00 02 */ addi r30, r30, 2 +/* 802AC140 002A90A0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_802AC144: +/* 802AC144 002A90A4 7C 1A F8 00 */ cmpw r26, r31 +/* 802AC148 002A90A8 41 80 FE F0 */ blt lbl_802AC038 +/* 802AC14C 002A90AC 7F 63 DB 78 */ mr r3, r27 +/* 802AC150 002A90B0 BA 61 00 DC */ lmw r19, 0xdc(r1) +/* 802AC154 002A90B4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802AC158 002A90B8 7C 08 03 A6 */ mtlr r0 +/* 802AC15C 002A90BC 38 21 01 10 */ addi r1, r1, 0x110 +/* 802AC160 002A90C0 4E 80 00 20 */ blr + +.global SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802AC164 002A90C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AC168 002A90C8 7C 08 02 A6 */ mflr r0 +/* 802AC16C 002A90CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AC170 002A90D0 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 802AC174 002A90D4 7C 77 1B 78 */ mr r23, r3 +/* 802AC178 002A90D8 7C FB 3B 78 */ mr r27, r7 +/* 802AC17C 002A90DC 7C 98 23 78 */ mr r24, r4 +/* 802AC180 002A90E0 7C B9 2B 78 */ mr r25, r5 +/* 802AC184 002A90E4 7C DA 33 78 */ mr r26, r6 +/* 802AC188 002A90E8 7D 1C 43 78 */ mr r28, r8 +/* 802AC18C 002A90EC 7D 3D 4B 78 */ mr r29, r9 +/* 802AC190 002A90F0 7D 5E 53 78 */ mr r30, r10 +/* 802AC194 002A90F4 3B E0 00 00 */ li r31, 0 +/* 802AC198 002A90F8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AC19C 002A90FC 38 03 00 01 */ addi r0, r3, 1 +/* 802AC1A0 002A9100 7F 63 DB 78 */ mr r3, r27 +/* 802AC1A4 002A9104 90 17 00 14 */ stw r0, 0x14(r23) +/* 802AC1A8 002A9108 48 02 92 ED */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AC1AC 002A910C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC1B0 002A9110 41 82 00 AC */ beq lbl_802AC25C +/* 802AC1B4 002A9114 38 00 00 01 */ li r0, 1 +/* 802AC1B8 002A9118 98 18 00 4C */ stb r0, 0x4c(r24) +/* 802AC1BC 002A911C 88 18 00 3C */ lbz r0, 0x3c(r24) +/* 802AC1C0 002A9120 28 00 00 00 */ cmplwi r0, 0 +/* 802AC1C4 002A9124 41 82 00 34 */ beq lbl_802AC1F8 +/* 802AC1C8 002A9128 80 98 00 48 */ lwz r4, 0x48(r24) +/* 802AC1CC 002A912C 7E E3 BB 78 */ mr r3, r23 +/* 802AC1D0 002A9130 7F 25 CB 78 */ mr r5, r25 +/* 802AC1D4 002A9134 7F 46 D3 78 */ mr r6, r26 +/* 802AC1D8 002A9138 7F 87 E3 78 */ mr r7, r28 +/* 802AC1DC 002A913C 7F A8 EB 78 */ mr r8, r29 +/* 802AC1E0 002A9140 7F C9 F3 78 */ mr r9, r30 +/* 802AC1E4 002A9144 4B FF FD E1 */ bl SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC1E8 002A9148 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC1EC 002A914C 41 82 00 7C */ beq lbl_802AC268 +/* 802AC1F0 002A9150 3B E0 00 01 */ li r31, 1 +/* 802AC1F4 002A9154 48 00 00 74 */ b lbl_802AC268 +lbl_802AC1F8: +/* 802AC1F8 002A9158 80 98 00 40 */ lwz r4, 0x40(r24) +/* 802AC1FC 002A915C 7E E3 BB 78 */ mr r3, r23 +/* 802AC200 002A9160 7F 25 CB 78 */ mr r5, r25 +/* 802AC204 002A9164 7F 46 D3 78 */ mr r6, r26 +/* 802AC208 002A9168 7F 67 DB 78 */ mr r7, r27 +/* 802AC20C 002A916C 7F 88 E3 78 */ mr r8, r28 +/* 802AC210 002A9170 7F A9 EB 78 */ mr r9, r29 +/* 802AC214 002A9174 7F CA F3 78 */ mr r10, r30 +/* 802AC218 002A9178 4B FF FF 4D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC21C 002A917C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC220 002A9180 41 82 00 08 */ beq lbl_802AC228 +/* 802AC224 002A9184 3B E0 00 01 */ li r31, 1 +lbl_802AC228: +/* 802AC228 002A9188 80 98 00 44 */ lwz r4, 0x44(r24) +/* 802AC22C 002A918C 7E E3 BB 78 */ mr r3, r23 +/* 802AC230 002A9190 7F 25 CB 78 */ mr r5, r25 +/* 802AC234 002A9194 7F 46 D3 78 */ mr r6, r26 +/* 802AC238 002A9198 7F 67 DB 78 */ mr r7, r27 +/* 802AC23C 002A919C 7F 88 E3 78 */ mr r8, r28 +/* 802AC240 002A91A0 7F A9 EB 78 */ mr r9, r29 +/* 802AC244 002A91A4 7F CA F3 78 */ mr r10, r30 +/* 802AC248 002A91A8 4B FF FF 1D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AC24C 002A91AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC250 002A91B0 41 82 00 18 */ beq lbl_802AC268 +/* 802AC254 002A91B4 3B E0 00 01 */ li r31, 1 +/* 802AC258 002A91B8 48 00 00 10 */ b lbl_802AC268 +lbl_802AC25C: +/* 802AC25C 002A91BC 80 77 00 18 */ lwz r3, 0x18(r23) +/* 802AC260 002A91C0 38 03 00 01 */ addi r0, r3, 1 +/* 802AC264 002A91C4 90 17 00 18 */ stw r0, 0x18(r23) +lbl_802AC268: +/* 802AC268 002A91C8 7F E3 FB 78 */ mr r3, r31 +/* 802AC26C 002A91CC BA E1 00 0C */ lmw r23, 0xc(r1) +/* 802AC270 002A91D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AC274 002A91D4 7C 08 03 A6 */ mtlr r0 +/* 802AC278 002A91D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AC27C 002A91DC 4E 80 00 20 */ blr + +.global AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: +/* 802AC280 002A91E0 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 802AC284 002A91E4 7C 08 02 A6 */ mflr r0 +/* 802AC288 002A91E8 90 01 01 64 */ stw r0, 0x164(r1) +/* 802AC28C 002A91EC BE 41 01 28 */ stmw r18, 0x128(r1) +/* 802AC290 002A91F0 7C 72 1B 78 */ mr r18, r3 +/* 802AC294 002A91F4 7C D9 33 78 */ mr r25, r6 +/* 802AC298 002A91F8 7C 93 23 78 */ mr r19, r4 +/* 802AC29C 002A91FC 7C B4 2B 78 */ mr r20, r5 +/* 802AC2A0 002A9200 7C F5 3B 78 */ mr r21, r7 +/* 802AC2A4 002A9204 7D 16 43 78 */ mr r22, r8 +/* 802AC2A8 002A9208 7D 37 4B 78 */ mr r23, r9 +/* 802AC2AC 002A920C 7D 58 53 78 */ mr r24, r10 +/* 802AC2B0 002A9210 7F 24 CB 78 */ mr r4, r25 +/* 802AC2B4 002A9214 38 61 00 2C */ addi r3, r1, 0x2c +/* 802AC2B8 002A9218 48 08 B3 55 */ bl GetCenterPoint__6CAABoxCFv +/* 802AC2BC 002A921C C0 79 00 10 */ lfs f3, 0x10(r25) +/* 802AC2C0 002A9220 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802AC2C4 002A9224 C0 59 00 04 */ lfs f2, 4(r25) +/* 802AC2C8 002A9228 3B 61 00 AC */ addi r27, r1, 0xac +/* 802AC2CC 002A922C C0 39 00 14 */ lfs f1, 0x14(r25) +/* 802AC2D0 002A9230 3B 81 00 B8 */ addi r28, r1, 0xb8 +/* 802AC2D4 002A9234 C0 19 00 08 */ lfs f0, 8(r25) +/* 802AC2D8 002A9238 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802AC2DC 002A923C C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) +/* 802AC2E0 002A9240 3B E3 67 54 */ addi r31, r3, lbl_805A6754@l +/* 802AC2E4 002A9244 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802AC2E8 002A9248 C0 39 00 0C */ lfs f1, 0xc(r25) +/* 802AC2EC 002A924C C0 19 00 00 */ lfs f0, 0(r25) +/* 802AC2F0 002A9250 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802AC2F4 002A9254 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 802AC2F8 002A9258 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802AC2FC 002A925C EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802AC300 002A9260 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802AC304 002A9264 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802AC308 002A9268 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802AC30C 002A926C D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802AC310 002A9270 83 D3 00 04 */ lwz r30, 4(r19) +/* 802AC314 002A9274 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802AC318 002A9278 3B 40 00 00 */ li r26, 0 +/* 802AC31C 002A927C 3B 20 00 00 */ li r25, 0 +/* 802AC320 002A9280 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802AC324 002A9284 3B A0 00 00 */ li r29, 0 +/* 802AC328 002A9288 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 802AC32C 002A928C D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 802AC330 002A9290 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 802AC334 002A9294 48 00 01 A0 */ b lbl_802AC4D4 +lbl_802AC338: +/* 802AC338 002A9298 80 B3 00 0C */ lwz r5, 0xc(r19) +/* 802AC33C 002A929C 7E 86 A3 78 */ mr r6, r20 +/* 802AC340 002A92A0 80 92 00 10 */ lwz r4, 0x10(r18) +/* 802AC344 002A92A4 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AC348 002A92A8 7C A5 EA 2E */ lhzx r5, r5, r29 +/* 802AC34C 002A92AC 4B FF C6 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +/* 802AC350 002A92B0 C1 01 00 78 */ lfs f8, 0x78(r1) +/* 802AC354 002A92B4 7E 43 93 78 */ mr r3, r18 +/* 802AC358 002A92B8 C0 E1 00 7C */ lfs f7, 0x7c(r1) +/* 802AC35C 002A92BC C0 C1 00 80 */ lfs f6, 0x80(r1) +/* 802AC360 002A92C0 C0 A1 00 84 */ lfs f5, 0x84(r1) +/* 802AC364 002A92C4 C0 81 00 88 */ lfs f4, 0x88(r1) +/* 802AC368 002A92C8 C0 61 00 8C */ lfs f3, 0x8c(r1) +/* 802AC36C 002A92CC C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802AC370 002A92D0 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802AC374 002A92D4 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802AC378 002A92D8 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 802AC37C 002A92DC D1 01 00 A0 */ stfs f8, 0xa0(r1) +/* 802AC380 002A92E0 D0 E1 00 A4 */ stfs f7, 0xa4(r1) +/* 802AC384 002A92E4 D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 802AC388 002A92E8 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 802AC38C 002A92EC D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 802AC390 002A92F0 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 802AC394 002A92F4 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 802AC398 002A92F8 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 802AC39C 002A92FC D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 802AC3A0 002A9300 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802AC3A4 002A9304 81 92 00 00 */ lwz r12, 0(r18) +/* 802AC3A8 002A9308 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC3AC 002A930C 7D 89 03 A6 */ mtctr r12 +/* 802AC3B0 002A9310 4E 80 04 21 */ bctrl +/* 802AC3B4 002A9314 80 C1 00 C4 */ lwz r6, 0xc4(r1) +/* 802AC3B8 002A9318 38 81 00 08 */ addi r4, r1, 8 +/* 802AC3BC 002A931C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AC3C0 002A9320 80 A3 00 00 */ lwz r5, 0(r3) +/* 802AC3C4 002A9324 7E C3 B3 78 */ mr r3, r22 +/* 802AC3C8 002A9328 7C C0 03 78 */ or r0, r6, r0 +/* 802AC3CC 002A932C 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AC3D0 002A9330 90 A1 00 08 */ stw r5, 8(r1) +/* 802AC3D4 002A9334 48 02 8F 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802AC3D8 002A9338 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC3DC 002A933C 41 82 00 F0 */ beq lbl_802AC4CC +/* 802AC3E0 002A9340 7F 66 DB 78 */ mr r6, r27 +/* 802AC3E4 002A9344 7F 87 E3 78 */ mr r7, r28 +/* 802AC3E8 002A9348 38 61 00 54 */ addi r3, r1, 0x54 +/* 802AC3EC 002A934C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802AC3F0 002A9350 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 802AC3F4 002A9354 48 02 50 ED */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802AC3F8 002A9358 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC3FC 002A935C 41 82 00 D0 */ beq lbl_802AC4CC +/* 802AC400 002A9360 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802AC404 002A9364 80 92 00 1C */ lwz r4, 0x1c(r18) +/* 802AC408 002A9368 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802AC40C 002A936C 7E E3 BB 78 */ mr r3, r23 +/* 802AC410 002A9370 38 04 00 01 */ addi r0, r4, 1 +/* 802AC414 002A9374 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802AC418 002A9378 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802AC41C 002A937C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AC420 002A9380 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802AC424 002A9384 38 A1 00 60 */ addi r5, r1, 0x60 +/* 802AC428 002A9388 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802AC42C 002A938C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802AC430 002A9390 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802AC434 002A9394 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802AC438 002A9398 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802AC43C 002A939C D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802AC440 002A93A0 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AC444 002A93A4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AC448 002A93A8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802AC44C 002A93AC 4B FF AC 8D */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802AC450 002A93B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC454 002A93B4 41 82 00 78 */ beq lbl_802AC4CC +/* 802AC458 002A93B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 802AC45C 002A93BC 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802AC460 002A93C0 4B FF 61 D5 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802AC464 002A93C4 C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 802AC468 002A93C8 7E A6 AB 78 */ mr r6, r21 +/* 802AC46C 002A93CC C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802AC470 002A93D0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802AC474 002A93D4 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802AC478 002A93D8 FC 40 30 50 */ fneg f2, f6 +/* 802AC47C 002A93DC FC 20 28 50 */ fneg f1, f5 +/* 802AC480 002A93E0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AC484 002A93E4 FC 00 20 50 */ fneg f0, f4 +/* 802AC488 002A93E8 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 802AC48C 002A93EC 38 81 00 60 */ addi r4, r1, 0x60 +/* 802AC490 002A93F0 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 802AC494 002A93F4 38 A1 00 08 */ addi r5, r1, 8 +/* 802AC498 002A93F8 38 E1 00 38 */ addi r7, r1, 0x38 +/* 802AC49C 002A93FC D0 81 00 40 */ stfs f4, 0x40(r1) +/* 802AC4A0 002A9400 39 01 00 10 */ addi r8, r1, 0x10 +/* 802AC4A4 002A9404 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 802AC4A8 002A9408 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 802AC4AC 002A940C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AC4B0 002A9410 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802AC4B4 002A9414 48 02 1E 05 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802AC4B8 002A9418 7C 64 1B 78 */ mr r4, r3 +/* 802AC4BC 002A941C 7F 03 C3 78 */ mr r3, r24 +/* 802AC4C0 002A9420 38 A0 00 00 */ li r5, 0 +/* 802AC4C4 002A9424 4B ED 91 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802AC4C8 002A9428 3B 40 00 01 */ li r26, 1 +lbl_802AC4CC: +/* 802AC4CC 002A942C 3B BD 00 02 */ addi r29, r29, 2 +/* 802AC4D0 002A9430 3B 39 00 01 */ addi r25, r25, 1 +lbl_802AC4D4: +/* 802AC4D4 002A9434 7C 19 F0 00 */ cmpw r25, r30 +/* 802AC4D8 002A9438 41 80 FE 60 */ blt lbl_802AC338 +/* 802AC4DC 002A943C 7F 43 D3 78 */ mr r3, r26 +/* 802AC4E0 002A9440 BA 41 01 28 */ lmw r18, 0x128(r1) +/* 802AC4E4 002A9444 80 01 01 64 */ lwz r0, 0x164(r1) +/* 802AC4E8 002A9448 7C 08 03 A6 */ mtlr r0 +/* 802AC4EC 002A944C 38 21 01 60 */ addi r1, r1, 0x160 +/* 802AC4F0 002A9450 4E 80 00 20 */ blr + +.global AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: +/* 802AC4F4 002A9454 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802AC4F8 002A9458 7C 08 02 A6 */ mflr r0 +/* 802AC4FC 002A945C 90 01 00 44 */ stw r0, 0x44(r1) +/* 802AC500 002A9460 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 802AC504 002A9464 7C 7F 1B 78 */ mr r31, r3 +/* 802AC508 002A9468 7C F9 3B 78 */ mr r25, r7 +/* 802AC50C 002A946C 83 A1 00 48 */ lwz r29, 0x48(r1) +/* 802AC510 002A9470 7C 96 23 78 */ mr r22, r4 +/* 802AC514 002A9474 7C B7 2B 78 */ mr r23, r5 +/* 802AC518 002A9478 7C D8 33 78 */ mr r24, r6 +/* 802AC51C 002A947C 7D 1A 43 78 */ mr r26, r8 +/* 802AC520 002A9480 7D 3B 4B 78 */ mr r27, r9 +/* 802AC524 002A9484 7D 5C 53 78 */ mr r28, r10 +/* 802AC528 002A9488 3B C0 00 00 */ li r30, 0 +/* 802AC52C 002A948C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 802AC530 002A9490 38 03 00 01 */ addi r0, r3, 1 +/* 802AC534 002A9494 7F 23 CB 78 */ mr r3, r25 +/* 802AC538 002A9498 90 1F 00 14 */ stw r0, 0x14(r31) +/* 802AC53C 002A949C 48 02 8F 59 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox +/* 802AC540 002A94A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC544 002A94A4 41 82 00 B8 */ beq lbl_802AC5FC +/* 802AC548 002A94A8 38 00 00 01 */ li r0, 1 +/* 802AC54C 002A94AC 98 16 00 4C */ stb r0, 0x4c(r22) +/* 802AC550 002A94B0 88 16 00 3C */ lbz r0, 0x3c(r22) +/* 802AC554 002A94B4 28 00 00 00 */ cmplwi r0, 0 +/* 802AC558 002A94B8 41 82 00 38 */ beq lbl_802AC590 +/* 802AC55C 002A94BC 80 96 00 48 */ lwz r4, 0x48(r22) +/* 802AC560 002A94C0 7F E3 FB 78 */ mr r3, r31 +/* 802AC564 002A94C4 7E E5 BB 78 */ mr r5, r23 +/* 802AC568 002A94C8 7F 06 C3 78 */ mr r6, r24 +/* 802AC56C 002A94CC 7F 47 D3 78 */ mr r7, r26 +/* 802AC570 002A94D0 7F 68 DB 78 */ mr r8, r27 +/* 802AC574 002A94D4 7F 89 E3 78 */ mr r9, r28 +/* 802AC578 002A94D8 7F AA EB 78 */ mr r10, r29 +/* 802AC57C 002A94DC 4B FF FD 05 */ bl AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC580 002A94E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC584 002A94E4 41 82 00 84 */ beq lbl_802AC608 +/* 802AC588 002A94E8 3B C0 00 01 */ li r30, 1 +/* 802AC58C 002A94EC 48 00 00 7C */ b lbl_802AC608 +lbl_802AC590: +/* 802AC590 002A94F0 93 A1 00 08 */ stw r29, 8(r1) +/* 802AC594 002A94F4 7F E3 FB 78 */ mr r3, r31 +/* 802AC598 002A94F8 7E E5 BB 78 */ mr r5, r23 +/* 802AC59C 002A94FC 7F 06 C3 78 */ mr r6, r24 +/* 802AC5A0 002A9500 80 96 00 40 */ lwz r4, 0x40(r22) +/* 802AC5A4 002A9504 7F 27 CB 78 */ mr r7, r25 +/* 802AC5A8 002A9508 7F 48 D3 78 */ mr r8, r26 +/* 802AC5AC 002A950C 7F 69 DB 78 */ mr r9, r27 +/* 802AC5B0 002A9510 7F 8A E3 78 */ mr r10, r28 +/* 802AC5B4 002A9514 4B FF FF 41 */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC5B8 002A9518 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC5BC 002A951C 41 82 00 08 */ beq lbl_802AC5C4 +/* 802AC5C0 002A9520 3B C0 00 01 */ li r30, 1 +lbl_802AC5C4: +/* 802AC5C4 002A9524 93 A1 00 08 */ stw r29, 8(r1) +/* 802AC5C8 002A9528 7F E3 FB 78 */ mr r3, r31 +/* 802AC5CC 002A952C 7E E5 BB 78 */ mr r5, r23 +/* 802AC5D0 002A9530 7F 06 C3 78 */ mr r6, r24 +/* 802AC5D4 002A9534 80 96 00 44 */ lwz r4, 0x44(r22) +/* 802AC5D8 002A9538 7F 27 CB 78 */ mr r7, r25 +/* 802AC5DC 002A953C 7F 48 D3 78 */ mr r8, r26 +/* 802AC5E0 002A9540 7F 69 DB 78 */ mr r9, r27 +/* 802AC5E4 002A9544 7F 8A E3 78 */ mr r10, r28 +/* 802AC5E8 002A9548 4B FF FF 0D */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AC5EC 002A954C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC5F0 002A9550 41 82 00 18 */ beq lbl_802AC608 +/* 802AC5F4 002A9554 3B C0 00 01 */ li r30, 1 +/* 802AC5F8 002A9558 48 00 00 10 */ b lbl_802AC608 +lbl_802AC5FC: +/* 802AC5FC 002A955C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 802AC600 002A9560 38 03 00 01 */ addi r0, r3, 1 +/* 802AC604 002A9564 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_802AC608: +/* 802AC608 002A9568 7F C3 F3 78 */ mr r3, r30 +/* 802AC60C 002A956C BA C1 00 18 */ lmw r22, 0x18(r1) +/* 802AC610 002A9570 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802AC614 002A9574 7C 08 03 A6 */ mtlr r0 +/* 802AC618 002A9578 38 21 00 40 */ addi r1, r1, 0x40 +/* 802AC61C 002A957C 4E 80 00 20 */ blr + +.global GetPrimType__18CCollidableOBBTreeCFv +GetPrimType__18CCollidableOBBTreeCFv: +/* 802AC620 002A9580 3C 60 4F 42 */ lis r3, 0x4F424254@ha +/* 802AC624 002A9584 38 63 42 54 */ addi r3, r3, 0x4F424254@l +/* 802AC628 002A9588 4E 80 00 20 */ blr + +.global CalculateLocalAABox__18CCollidableOBBTreeCFv +CalculateLocalAABox__18CCollidableOBBTreeCFv: +/* 802AC62C 002A958C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC630 002A9590 7C 08 02 A6 */ mflr r0 +/* 802AC634 002A9594 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC638 002A9598 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC63C 002A959C 7C 7F 1B 78 */ mr r31, r3 +/* 802AC640 002A95A0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC644 002A95A4 4B FF C6 6D */ bl CalculateLocalAABox__8COBBTreeCFv +/* 802AC648 002A95A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC64C 002A95AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC650 002A95B0 7C 08 03 A6 */ mtlr r0 +/* 802AC654 002A95B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC658 002A95B8 4E 80 00 20 */ blr + +.global CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f +CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f: +/* 802AC65C 002A95BC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802AC660 002A95C0 7C 08 02 A6 */ mflr r0 +/* 802AC664 002A95C4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802AC668 002A95C8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802AC66C 002A95CC 7C BF 2B 78 */ mr r31, r5 +/* 802AC670 002A95D0 93 C1 00 98 */ stw r30, 0x98(r1) +/* 802AC674 002A95D4 7C 7E 1B 78 */ mr r30, r3 +/* 802AC678 002A95D8 38 61 00 08 */ addi r3, r1, 8 +/* 802AC67C 002A95DC 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC680 002A95E0 4B FF C6 31 */ bl CalculateLocalAABox__8COBBTreeCFv +/* 802AC684 002A95E4 7F E5 FB 78 */ mr r5, r31 +/* 802AC688 002A95E8 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AC68C 002A95EC 38 81 00 08 */ addi r4, r1, 8 +/* 802AC690 002A95F0 48 02 96 8D */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AC694 002A95F4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802AC698 002A95F8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AC69C 002A95FC 48 06 64 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC6A0 002A9600 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 802AC6A4 002A9604 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802AC6A8 002A9608 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 802AC6AC 002A960C 38 A3 66 70 */ addi r5, r3, skIdentity4f@l +/* 802AC6B0 002A9610 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 802AC6B4 002A9614 7F C3 F3 78 */ mr r3, r30 +/* 802AC6B8 002A9618 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 802AC6BC 002A961C 38 81 00 5C */ addi r4, r1, 0x5c +/* 802AC6C0 002A9620 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 802AC6C4 002A9624 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802AC6C8 002A9628 48 02 97 11 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f +/* 802AC6CC 002A962C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802AC6D0 002A9630 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 802AC6D4 002A9634 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802AC6D8 002A9638 7C 08 03 A6 */ mtlr r0 +/* 802AC6DC 002A963C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802AC6E0 002A9640 4E 80 00 20 */ blr + +.global __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +__ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList: +/* 802AC6E4 002A9644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC6E8 002A9648 7C 08 02 A6 */ mflr r0 +/* 802AC6EC 002A964C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC6F0 002A9650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC6F4 002A9654 7C 9F 23 78 */ mr r31, r4 +/* 802AC6F8 002A9658 7C A4 2B 78 */ mr r4, r5 +/* 802AC6FC 002A965C 93 C1 00 08 */ stw r30, 8(r1) +/* 802AC700 002A9660 7C 7E 1B 78 */ mr r30, r3 +/* 802AC704 002A9664 48 02 31 B1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 802AC708 002A9668 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802AC70C 002A966C 38 00 00 00 */ li r0, 0 +/* 802AC710 002A9670 38 83 C4 48 */ addi r4, r3, lbl_803EC448@l +/* 802AC714 002A9674 7F C3 F3 78 */ mr r3, r30 +/* 802AC718 002A9678 90 9E 00 00 */ stw r4, 0(r30) +/* 802AC71C 002A967C 93 FE 00 10 */ stw r31, 0x10(r30) +/* 802AC720 002A9680 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802AC724 002A9684 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802AC728 002A9688 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802AC72C 002A968C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC730 002A9690 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AC734 002A9694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC738 002A9698 7C 08 03 A6 */ mtlr r0 +/* 802AC73C 002A969C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC740 002A96A0 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollidableOBBTreeGroup.s b/asm/WorldFormat/CCollidableOBBTreeGroup.s new file mode 100644 index 00000000..6aa45997 --- /dev/null +++ b/asm/WorldFormat/CCollidableOBBTreeGroup.s @@ -0,0 +1,1995 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTableIndex__23CCollidableOBBTreeGroupCFv +GetTableIndex__23CCollidableOBBTreeGroupCFv: +/* 802AC744 002A96A4 80 6D 9A 78 */ lwz r3, lbl_805A8638@sda21(r13) +/* 802AC748 002A96A8 4E 80 00 20 */ blr + +.global GetPrimType__23CCollidableOBBTreeGroupCFv +GetPrimType__23CCollidableOBBTreeGroupCFv: +/* 802AC74C 002A96AC 3C 60 4F 42 */ lis r3, 0x4F425447@ha +/* 802AC750 002A96B0 38 63 54 47 */ addi r3, r3, 0x4F425447@l +/* 802AC754 002A96B4 4E 80 00 20 */ blr + +.global CalculateLocalAABox__23CCollidableOBBTreeGroupCFv +CalculateLocalAABox__23CCollidableOBBTreeGroupCFv: +/* 802AC758 002A96B8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC75C 002A96BC C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802AC760 002A96C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AC764 002A96C4 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 802AC768 002A96C8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AC76C 002A96CC C0 04 00 28 */ lfs f0, 0x28(r4) +/* 802AC770 002A96D0 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AC774 002A96D4 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802AC778 002A96D8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AC77C 002A96DC C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802AC780 002A96E0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AC784 002A96E4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802AC788 002A96E8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802AC78C 002A96EC 4E 80 00 20 */ blr + +.global CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f +CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f: +/* 802AC790 002A96F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AC794 002A96F4 7C 08 02 A6 */ mflr r0 +/* 802AC798 002A96F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AC79C 002A96FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC7A0 002A9700 7C 7F 1B 78 */ mr r31, r3 +/* 802AC7A4 002A9704 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AC7A8 002A9708 38 84 00 20 */ addi r4, r4, 0x20 +/* 802AC7AC 002A970C 48 08 B1 51 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 802AC7B0 002A9710 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AC7B4 002A9714 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AC7B8 002A9718 7C 08 03 A6 */ mtlr r0 +/* 802AC7BC 002A971C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AC7C0 002A9720 4E 80 00 20 */ blr + +.global CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802AC7C4 002A9724 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802AC7C8 002A9728 7C 08 02 A6 */ mflr r0 +/* 802AC7CC 002A972C 90 01 02 34 */ stw r0, 0x234(r1) +/* 802AC7D0 002A9730 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 802AC7D4 002A9734 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 802AC7D8 002A9738 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 802AC7DC 002A973C F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 802AC7E0 002A9740 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 802AC7E4 002A9744 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 802AC7E8 002A9748 BE C1 01 D8 */ stmw r22, 0x1d8(r1) +/* 802AC7EC 002A974C 7C 7C 1B 78 */ mr r28, r3 +/* 802AC7F0 002A9750 7C 9D 23 78 */ mr r29, r4 +/* 802AC7F4 002A9754 83 03 00 38 */ lwz r24, 0x38(r3) +/* 802AC7F8 002A9758 7C BE 2B 78 */ mr r30, r5 +/* 802AC7FC 002A975C 80 83 00 00 */ lwz r4, 0(r3) +/* 802AC800 002A9760 7C DF 33 78 */ mr r31, r6 +/* 802AC804 002A9764 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AC808 002A9768 38 BC 00 08 */ addi r5, r28, 8 +/* 802AC80C 002A976C 48 02 7B 49 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802AC810 002A9770 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AC814 002A9774 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802AC818 002A9778 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802AC81C 002A977C 38 9C 00 40 */ addi r4, r28, 0x40 +/* 802AC820 002A9780 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802AC824 002A9784 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AC828 002A9788 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802AC82C 002A978C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802AC830 002A9790 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802AC834 002A9794 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802AC838 002A9798 48 06 63 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC83C 002A979C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 802AC840 002A97A0 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802AC844 002A97A4 48 06 64 59 */ bl GetQuickInverse__12CTransform4fCFv +/* 802AC848 002A97A8 38 61 01 04 */ addi r3, r1, 0x104 +/* 802AC84C 002A97AC 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 802AC850 002A97B0 38 BC 00 08 */ addi r5, r28, 8 +/* 802AC854 002A97B4 48 06 60 FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AC858 002A97B8 38 61 01 70 */ addi r3, r1, 0x170 +/* 802AC85C 002A97BC 38 81 01 04 */ addi r4, r1, 0x104 +/* 802AC860 002A97C0 48 06 63 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC864 002A97C4 80 9C 00 00 */ lwz r4, 0(r28) +/* 802AC868 002A97C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 802AC86C 002A97CC 81 84 00 00 */ lwz r12, 0(r4) +/* 802AC870 002A97D0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AC874 002A97D4 7D 89 03 A6 */ mtctr r12 +/* 802AC878 002A97D8 4E 80 04 21 */ bctrl +/* 802AC87C 002A97DC C0 41 00 48 */ lfs f2, 0x48(r1) +/* 802AC880 002A97E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AC884 002A97E4 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 802AC888 002A97E8 38 81 00 1C */ addi r4, r1, 0x1c +/* 802AC88C 002A97EC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 802AC890 002A97F0 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 802AC894 002A97F4 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 802AC898 002A97F8 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 802AC89C 002A97FC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802AC8A0 002A9800 C0 5D 00 00 */ lfs f2, 0(r29) +/* 802AC8A4 002A9804 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802AC8A8 002A9808 C0 3D 00 04 */ lfs f1, 4(r29) +/* 802AC8AC 002A980C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802AC8B0 002A9810 C0 1D 00 08 */ lfs f0, 8(r29) +/* 802AC8B4 002A9814 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802AC8B8 002A9818 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802AC8BC 002A981C D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802AC8C0 002A9820 C8 DE 00 00 */ lfd f6, 0(r30) +/* 802AC8C4 002A9824 FC C0 30 18 */ frsp f6, f6 +/* 802AC8C8 002A9828 EF A6 00 B2 */ fmuls f29, f6, f2 +/* 802AC8CC 002A982C EF C6 00 72 */ fmuls f30, f6, f1 +/* 802AC8D0 002A9830 EF E6 00 32 */ fmuls f31, f6, f0 +/* 802AC8D4 002A9834 EC 05 E8 2A */ fadds f0, f5, f29 +/* 802AC8D8 002A9838 EC 44 F0 2A */ fadds f2, f4, f30 +/* 802AC8DC 002A983C EC 23 F8 2A */ fadds f1, f3, f31 +/* 802AC8E0 002A9840 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802AC8E4 002A9844 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802AC8E8 002A9848 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802AC8EC 002A984C 48 08 B2 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AC8F0 002A9850 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802AC8F4 002A9854 38 61 00 80 */ addi r3, r1, 0x80 +/* 802AC8F8 002A9858 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802AC8FC 002A985C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802AC900 002A9860 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802AC904 002A9864 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802AC908 002A9868 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802AC90C 002A986C EC 00 E8 2A */ fadds f0, f0, f29 +/* 802AC910 002A9870 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802AC914 002A9874 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AC918 002A9878 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AC91C 002A987C 48 08 B1 ED */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802AC920 002A9880 38 61 00 98 */ addi r3, r1, 0x98 +/* 802AC924 002A9884 38 81 00 80 */ addi r4, r1, 0x80 +/* 802AC928 002A9888 38 A1 01 70 */ addi r5, r1, 0x170 +/* 802AC92C 002A988C 48 02 93 F1 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AC930 002A9890 38 61 01 34 */ addi r3, r1, 0x134 +/* 802AC934 002A9894 38 81 00 98 */ addi r4, r1, 0x98 +/* 802AC938 002A9898 48 06 62 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AC93C 002A989C C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 802AC940 002A98A0 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AC944 002A98A4 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 802AC948 002A98A8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AC94C 002A98AC C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 802AC950 002A98B0 3B 44 C4 48 */ addi r26, r4, lbl_803EC448@l +/* 802AC954 002A98B4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 802AC958 002A98B8 3B 63 97 E4 */ addi r27, r3, lbl_803D97E4@l +/* 802AC95C 002A98BC 3A E0 00 00 */ li r23, 0 +/* 802AC960 002A98C0 3A C0 00 00 */ li r22, 0 +/* 802AC964 002A98C4 D0 21 01 68 */ stfs f1, 0x168(r1) +/* 802AC968 002A98C8 D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 802AC96C 002A98CC 48 00 00 9C */ b lbl_802ACA08 +lbl_802AC970: +/* 802AC970 002A98D0 7F 03 C3 78 */ mr r3, r24 +/* 802AC974 002A98D4 81 98 00 00 */ lwz r12, 0(r24) +/* 802AC978 002A98D8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC97C 002A98DC 7D 89 03 A6 */ mtctr r12 +/* 802AC980 002A98E0 4E 80 04 21 */ bctrl +/* 802AC984 002A98E4 7C 79 1B 78 */ mr r25, r3 +/* 802AC988 002A98E8 7F 03 C3 78 */ mr r3, r24 +/* 802AC98C 002A98EC 7E C4 B3 78 */ mr r4, r22 +/* 802AC990 002A98F0 48 00 0F BD */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AC994 002A98F4 7C 64 1B 78 */ mr r4, r3 +/* 802AC998 002A98F8 7F 25 CB 78 */ mr r5, r25 +/* 802AC99C 002A98FC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802AC9A0 002A9900 4B FF FD 45 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AC9A4 002A9904 4B FF A6 9D */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802AC9A8 002A9908 80 7C 00 00 */ lwz r3, 0(r28) +/* 802AC9AC 002A990C 80 81 00 70 */ lwz r4, 0x70(r1) +/* 802AC9B0 002A9910 81 83 00 00 */ lwz r12, 0(r3) +/* 802AC9B4 002A9914 83 24 00 88 */ lwz r25, 0x88(r4) +/* 802AC9B8 002A9918 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AC9BC 002A991C 7D 89 03 A6 */ mtctr r12 +/* 802AC9C0 002A9920 4E 80 04 21 */ bctrl +/* 802AC9C4 002A9924 93 C1 00 08 */ stw r30, 8(r1) +/* 802AC9C8 002A9928 7C 68 1B 78 */ mr r8, r3 +/* 802AC9CC 002A992C 7F 24 CB 78 */ mr r4, r25 +/* 802AC9D0 002A9930 7F AA EB 78 */ mr r10, r29 +/* 802AC9D4 002A9934 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AC9D8 002A9938 38 61 00 60 */ addi r3, r1, 0x60 +/* 802AC9DC 002A993C 38 A1 01 A0 */ addi r5, r1, 0x1a0 +/* 802AC9E0 002A9940 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802AC9E4 002A9944 81 3C 00 04 */ lwz r9, 4(r28) +/* 802AC9E8 002A9948 38 E1 01 34 */ addi r7, r1, 0x134 +/* 802AC9EC 002A994C 4B FF E7 59 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo +/* 802AC9F0 002A9950 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AC9F4 002A9954 41 82 00 08 */ beq lbl_802AC9FC +/* 802AC9F8 002A9958 3A E0 00 01 */ li r23, 1 +lbl_802AC9FC: +/* 802AC9FC 002A995C 93 41 00 60 */ stw r26, 0x60(r1) +/* 802ACA00 002A9960 3A D6 00 01 */ addi r22, r22, 1 +/* 802ACA04 002A9964 93 61 00 60 */ stw r27, 0x60(r1) +lbl_802ACA08: +/* 802ACA08 002A9968 80 78 00 10 */ lwz r3, 0x10(r24) +/* 802ACA0C 002A996C 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACA10 002A9970 7C 16 00 00 */ cmpw r22, r0 +/* 802ACA14 002A9974 41 80 FF 5C */ blt lbl_802AC970 +/* 802ACA18 002A9978 7E E3 BB 78 */ mr r3, r23 +/* 802ACA1C 002A997C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 802ACA20 002A9980 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 802ACA24 002A9984 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 802ACA28 002A9988 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 802ACA2C 002A998C E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 802ACA30 002A9990 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 802ACA34 002A9994 BA C1 01 D8 */ lmw r22, 0x1d8(r1) +/* 802ACA38 002A9998 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802ACA3C 002A999C 7C 08 03 A6 */ mtlr r0 +/* 802ACA40 002A99A0 38 21 02 30 */ addi r1, r1, 0x230 +/* 802ACA44 002A99A4 4E 80 00 20 */ blr + +.global CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo +CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: +/* 802ACA48 002A99A8 94 21 F6 C0 */ stwu r1, -0x940(r1) +/* 802ACA4C 002A99AC 7C 08 02 A6 */ mflr r0 +/* 802ACA50 002A99B0 90 01 09 44 */ stw r0, 0x944(r1) +/* 802ACA54 002A99B4 DB E1 09 30 */ stfd f31, 0x930(r1) +/* 802ACA58 002A99B8 F3 E1 09 38 */ psq_st f31, -1736(r1), 0, qr0 +/* 802ACA5C 002A99BC DB C1 09 20 */ stfd f30, 0x920(r1) +/* 802ACA60 002A99C0 F3 C1 09 28 */ psq_st f30, -1752(r1), 0, qr0 +/* 802ACA64 002A99C4 DB A1 09 10 */ stfd f29, 0x910(r1) +/* 802ACA68 002A99C8 F3 A1 09 18 */ psq_st f29, -1768(r1), 0, qr0 +/* 802ACA6C 002A99CC BE C1 08 E8 */ stmw r22, 0x8e8(r1) +/* 802ACA70 002A99D0 7C 7A 1B 78 */ mr r26, r3 +/* 802ACA74 002A99D4 7C 9B 23 78 */ mr r27, r4 +/* 802ACA78 002A99D8 80 83 00 00 */ lwz r4, 0(r3) +/* 802ACA7C 002A99DC 7C BC 2B 78 */ mr r28, r5 +/* 802ACA80 002A99E0 7C DD 33 78 */ mr r29, r6 +/* 802ACA84 002A99E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 802ACA88 002A99E8 81 84 00 00 */ lwz r12, 0(r4) +/* 802ACA8C 002A99EC 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACA90 002A99F0 83 FA 00 38 */ lwz r31, 0x38(r26) +/* 802ACA94 002A99F4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802ACA98 002A99F8 7D 89 03 A6 */ mtctr r12 +/* 802ACA9C 002A99FC 4E 80 04 21 */ bctrl +/* 802ACAA0 002A9A00 C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 802ACAA4 002A9A04 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802ACAA8 002A9A08 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 802ACAAC 002A9A0C 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802ACAB0 002A9A10 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 802ACAB4 002A9A14 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 802ACAB8 002A9A18 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 802ACABC 002A9A1C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 802ACAC0 002A9A20 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 802ACAC4 002A9A24 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 802ACAC8 002A9A28 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 802ACACC 002A9A2C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 802ACAD0 002A9A30 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 802ACAD4 002A9A34 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 802ACAD8 002A9A38 48 06 60 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACADC 002A9A3C 38 61 00 EC */ addi r3, r1, 0xec +/* 802ACAE0 002A9A40 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802ACAE4 002A9A44 48 06 61 B9 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACAE8 002A9A48 38 61 01 1C */ addi r3, r1, 0x11c +/* 802ACAEC 002A9A4C 38 81 00 EC */ addi r4, r1, 0xec +/* 802ACAF0 002A9A50 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACAF4 002A9A54 48 06 5E 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACAF8 002A9A58 38 61 01 88 */ addi r3, r1, 0x188 +/* 802ACAFC 002A9A5C 38 81 01 1C */ addi r4, r1, 0x11c +/* 802ACB00 002A9A60 48 06 60 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACB04 002A9A64 7F 65 DB 78 */ mr r5, r27 +/* 802ACB08 002A9A68 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802ACB0C 002A9A6C 38 81 00 98 */ addi r4, r1, 0x98 +/* 802ACB10 002A9A70 4B FF 65 8D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +/* 802ACB14 002A9A74 80 9A 00 00 */ lwz r4, 0(r26) +/* 802ACB18 002A9A78 38 61 00 30 */ addi r3, r1, 0x30 +/* 802ACB1C 002A9A7C 81 84 00 00 */ lwz r12, 0(r4) +/* 802ACB20 002A9A80 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACB24 002A9A84 7D 89 03 A6 */ mtctr r12 +/* 802ACB28 002A9A88 4E 80 04 21 */ bctrl +/* 802ACB2C 002A9A8C C0 41 00 30 */ lfs f2, 0x30(r1) +/* 802ACB30 002A9A90 38 61 00 80 */ addi r3, r1, 0x80 +/* 802ACB34 002A9A94 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 802ACB38 002A9A98 38 81 00 24 */ addi r4, r1, 0x24 +/* 802ACB3C 002A9A9C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ACB40 002A9AA0 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 802ACB44 002A9AA4 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 802ACB48 002A9AA8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 802ACB4C 002A9AAC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 802ACB50 002A9AB0 C0 5B 00 00 */ lfs f2, 0(r27) +/* 802ACB54 002A9AB4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 802ACB58 002A9AB8 C0 3B 00 04 */ lfs f1, 4(r27) +/* 802ACB5C 002A9ABC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 802ACB60 002A9AC0 C0 1B 00 08 */ lfs f0, 8(r27) +/* 802ACB64 002A9AC4 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 802ACB68 002A9AC8 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 802ACB6C 002A9ACC D0 61 00 94 */ stfs f3, 0x94(r1) +/* 802ACB70 002A9AD0 C8 DC 00 00 */ lfd f6, 0(r28) +/* 802ACB74 002A9AD4 FC C0 30 18 */ frsp f6, f6 +/* 802ACB78 002A9AD8 EF A6 00 B2 */ fmuls f29, f6, f2 +/* 802ACB7C 002A9ADC EF C6 00 72 */ fmuls f30, f6, f1 +/* 802ACB80 002A9AE0 EF E6 00 32 */ fmuls f31, f6, f0 +/* 802ACB84 002A9AE4 EC 05 E8 2A */ fadds f0, f5, f29 +/* 802ACB88 002A9AE8 EC 44 F0 2A */ fadds f2, f4, f30 +/* 802ACB8C 002A9AEC EC 23 F8 2A */ fadds f1, f3, f31 +/* 802ACB90 002A9AF0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACB94 002A9AF4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802ACB98 002A9AF8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802ACB9C 002A9AFC 48 08 AF 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ACBA0 002A9B00 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 802ACBA4 002A9B04 38 61 00 80 */ addi r3, r1, 0x80 +/* 802ACBA8 002A9B08 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 802ACBAC 002A9B0C 38 81 00 18 */ addi r4, r1, 0x18 +/* 802ACBB0 002A9B10 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802ACBB4 002A9B14 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802ACBB8 002A9B18 EC 21 F8 2A */ fadds f1, f1, f31 +/* 802ACBBC 002A9B1C EC 00 E8 2A */ fadds f0, f0, f29 +/* 802ACBC0 002A9B20 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACBC4 002A9B24 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802ACBC8 002A9B28 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACBCC 002A9B2C 48 08 AF 3D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ACBD0 002A9B30 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802ACBD4 002A9B34 38 81 00 80 */ addi r4, r1, 0x80 +/* 802ACBD8 002A9B38 38 A1 01 88 */ addi r5, r1, 0x188 +/* 802ACBDC 002A9B3C 48 02 91 41 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACBE0 002A9B40 38 61 01 4C */ addi r3, r1, 0x14c +/* 802ACBE4 002A9B44 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 802ACBE8 002A9B48 48 06 5F 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACBEC 002A9B4C C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802ACBF0 002A9B50 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ACBF4 002A9B54 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 802ACBF8 002A9B58 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ACBFC 002A9B5C C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802ACC00 002A9B60 3B 04 C4 48 */ addi r24, r4, lbl_803EC448@l +/* 802ACC04 002A9B64 D0 41 01 7C */ stfs f2, 0x17c(r1) +/* 802ACC08 002A9B68 3B 23 97 E4 */ addi r25, r3, lbl_803D97E4@l +/* 802ACC0C 002A9B6C 3B C0 00 00 */ li r30, 0 +/* 802ACC10 002A9B70 3A C0 00 00 */ li r22, 0 +/* 802ACC14 002A9B74 D0 21 01 80 */ stfs f1, 0x180(r1) +/* 802ACC18 002A9B78 D0 01 01 84 */ stfs f0, 0x184(r1) +/* 802ACC1C 002A9B7C 48 00 00 A0 */ b lbl_802ACCBC +lbl_802ACC20: +/* 802ACC20 002A9B80 7F E3 FB 78 */ mr r3, r31 +/* 802ACC24 002A9B84 81 9F 00 00 */ lwz r12, 0(r31) +/* 802ACC28 002A9B88 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACC2C 002A9B8C 7D 89 03 A6 */ mtctr r12 +/* 802ACC30 002A9B90 4E 80 04 21 */ bctrl +/* 802ACC34 002A9B94 7C 77 1B 78 */ mr r23, r3 +/* 802ACC38 002A9B98 7F E3 FB 78 */ mr r3, r31 +/* 802ACC3C 002A9B9C 7E C4 B3 78 */ mr r4, r22 +/* 802ACC40 002A9BA0 48 00 0D 0D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802ACC44 002A9BA4 7C 64 1B 78 */ mr r4, r3 +/* 802ACC48 002A9BA8 7E E5 BB 78 */ mr r5, r23 +/* 802ACC4C 002A9BAC 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACC50 002A9BB0 4B FF FA 95 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ACC54 002A9BB4 4B FF A3 ED */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802ACC58 002A9BB8 80 7A 00 00 */ lwz r3, 0(r26) +/* 802ACC5C 002A9BBC 80 81 00 70 */ lwz r4, 0x70(r1) +/* 802ACC60 002A9BC0 81 83 00 00 */ lwz r12, 0(r3) +/* 802ACC64 002A9BC4 82 E4 00 88 */ lwz r23, 0x88(r4) +/* 802ACC68 002A9BC8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACC6C 002A9BCC 7D 89 03 A6 */ mtctr r12 +/* 802ACC70 002A9BD0 4E 80 04 21 */ bctrl +/* 802ACC74 002A9BD4 93 61 00 08 */ stw r27, 8(r1) +/* 802ACC78 002A9BD8 7C 68 1B 78 */ mr r8, r3 +/* 802ACC7C 002A9BDC 7E E4 BB 78 */ mr r4, r23 +/* 802ACC80 002A9BE0 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACC84 002A9BE4 93 81 00 0C */ stw r28, 0xc(r1) +/* 802ACC88 002A9BE8 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802ACC8C 002A9BEC 38 C1 00 98 */ addi r6, r1, 0x98 +/* 802ACC90 002A9BF0 38 E1 01 4C */ addi r7, r1, 0x14c +/* 802ACC94 002A9BF4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 802ACC98 002A9BF8 39 41 01 E8 */ addi r10, r1, 0x1e8 +/* 802ACC9C 002A9BFC 81 3A 00 04 */ lwz r9, 4(r26) +/* 802ACCA0 002A9C00 4B FF ED CD */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo +/* 802ACCA4 002A9C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ACCA8 002A9C08 41 82 00 08 */ beq lbl_802ACCB0 +/* 802ACCAC 002A9C0C 3B C0 00 01 */ li r30, 1 +lbl_802ACCB0: +/* 802ACCB0 002A9C10 93 01 00 60 */ stw r24, 0x60(r1) +/* 802ACCB4 002A9C14 3A D6 00 01 */ addi r22, r22, 1 +/* 802ACCB8 002A9C18 93 21 00 60 */ stw r25, 0x60(r1) +lbl_802ACCBC: +/* 802ACCBC 002A9C1C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 802ACCC0 002A9C20 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACCC4 002A9C24 7C 16 00 00 */ cmpw r22, r0 +/* 802ACCC8 002A9C28 41 80 FF 58 */ blt lbl_802ACC20 +/* 802ACCCC 002A9C2C 34 A1 08 AC */ addic. r5, r1, 0x8ac +/* 802ACCD0 002A9C30 41 82 00 58 */ beq lbl_802ACD28 +/* 802ACCD4 002A9C34 80 C5 00 00 */ lwz r6, 0(r5) +/* 802ACCD8 002A9C38 38 60 00 00 */ li r3, 0 +/* 802ACCDC 002A9C3C 2C 06 00 00 */ cmpwi r6, 0 +/* 802ACCE0 002A9C40 40 81 00 40 */ ble lbl_802ACD20 +/* 802ACCE4 002A9C44 2C 06 00 08 */ cmpwi r6, 8 +/* 802ACCE8 002A9C48 38 86 FF F8 */ addi r4, r6, -8 +/* 802ACCEC 002A9C4C 40 81 00 20 */ ble lbl_802ACD0C +/* 802ACCF0 002A9C50 38 04 00 07 */ addi r0, r4, 7 +/* 802ACCF4 002A9C54 54 00 E8 FE */ srwi r0, r0, 3 +/* 802ACCF8 002A9C58 7C 09 03 A6 */ mtctr r0 +/* 802ACCFC 002A9C5C 2C 04 00 00 */ cmpwi r4, 0 +/* 802ACD00 002A9C60 40 81 00 0C */ ble lbl_802ACD0C +lbl_802ACD04: +/* 802ACD04 002A9C64 38 63 00 08 */ addi r3, r3, 8 +/* 802ACD08 002A9C68 42 00 FF FC */ bdnz lbl_802ACD04 +lbl_802ACD0C: +/* 802ACD0C 002A9C6C 7C 03 30 50 */ subf r0, r3, r6 +/* 802ACD10 002A9C70 7C 09 03 A6 */ mtctr r0 +/* 802ACD14 002A9C74 7C 03 30 00 */ cmpw r3, r6 +/* 802ACD18 002A9C78 40 80 00 08 */ bge lbl_802ACD20 +lbl_802ACD1C: +/* 802ACD1C 002A9C7C 42 00 00 00 */ bdnz lbl_802ACD1C +lbl_802ACD20: +/* 802ACD20 002A9C80 38 00 00 00 */ li r0, 0 +/* 802ACD24 002A9C84 90 05 00 00 */ stw r0, 0(r5) +lbl_802ACD28: +/* 802ACD28 002A9C88 80 A1 01 E8 */ lwz r5, 0x1e8(r1) +/* 802ACD2C 002A9C8C 38 60 00 00 */ li r3, 0 +/* 802ACD30 002A9C90 2C 05 00 00 */ cmpwi r5, 0 +/* 802ACD34 002A9C94 40 81 00 40 */ ble lbl_802ACD74 +/* 802ACD38 002A9C98 2C 05 00 08 */ cmpwi r5, 8 +/* 802ACD3C 002A9C9C 38 85 FF F8 */ addi r4, r5, -8 +/* 802ACD40 002A9CA0 40 81 00 20 */ ble lbl_802ACD60 +/* 802ACD44 002A9CA4 38 04 00 07 */ addi r0, r4, 7 +/* 802ACD48 002A9CA8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802ACD4C 002A9CAC 7C 09 03 A6 */ mtctr r0 +/* 802ACD50 002A9CB0 2C 04 00 00 */ cmpwi r4, 0 +/* 802ACD54 002A9CB4 40 81 00 0C */ ble lbl_802ACD60 +lbl_802ACD58: +/* 802ACD58 002A9CB8 38 63 00 08 */ addi r3, r3, 8 +/* 802ACD5C 002A9CBC 42 00 FF FC */ bdnz lbl_802ACD58 +lbl_802ACD60: +/* 802ACD60 002A9CC0 7C 03 28 50 */ subf r0, r3, r5 +/* 802ACD64 002A9CC4 7C 09 03 A6 */ mtctr r0 +/* 802ACD68 002A9CC8 7C 03 28 00 */ cmpw r3, r5 +/* 802ACD6C 002A9CCC 40 80 00 08 */ bge lbl_802ACD74 +lbl_802ACD70: +/* 802ACD70 002A9CD0 42 00 00 00 */ bdnz lbl_802ACD70 +lbl_802ACD74: +/* 802ACD74 002A9CD4 38 00 00 00 */ li r0, 0 +/* 802ACD78 002A9CD8 7F C3 F3 78 */ mr r3, r30 +/* 802ACD7C 002A9CDC 90 01 01 E8 */ stw r0, 0x1e8(r1) +/* 802ACD80 002A9CE0 E3 E1 09 38 */ psq_l f31, -1736(r1), 0, qr0 +/* 802ACD84 002A9CE4 CB E1 09 30 */ lfd f31, 0x930(r1) +/* 802ACD88 002A9CE8 E3 C1 09 28 */ psq_l f30, -1752(r1), 0, qr0 +/* 802ACD8C 002A9CEC CB C1 09 20 */ lfd f30, 0x920(r1) +/* 802ACD90 002A9CF0 E3 A1 09 18 */ psq_l f29, -1768(r1), 0, qr0 +/* 802ACD94 002A9CF4 CB A1 09 10 */ lfd f29, 0x910(r1) +/* 802ACD98 002A9CF8 BA C1 08 E8 */ lmw r22, 0x8e8(r1) +/* 802ACD9C 002A9CFC 80 01 09 44 */ lwz r0, 0x944(r1) +/* 802ACDA0 002A9D00 7C 08 03 A6 */ mtlr r0 +/* 802ACDA4 002A9D04 38 21 09 40 */ addi r1, r1, 0x940 +/* 802ACDA8 002A9D08 4E 80 00 20 */ blr + +.global SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure +SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: +/* 802ACDAC 002A9D0C 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 802ACDB0 002A9D10 7C 08 02 A6 */ mflr r0 +/* 802ACDB4 002A9D14 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 802ACDB8 002A9D18 BF 41 01 98 */ stmw r26, 0x198(r1) +/* 802ACDBC 002A9D1C 7C 7A 1B 78 */ mr r26, r3 +/* 802ACDC0 002A9D20 38 61 00 08 */ addi r3, r1, 8 +/* 802ACDC4 002A9D24 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACDC8 002A9D28 83 BA 00 00 */ lwz r29, 0(r26) +/* 802ACDCC 002A9D2C 83 9A 00 38 */ lwz r28, 0x38(r26) +/* 802ACDD0 002A9D30 7F A4 EB 78 */ mr r4, r29 +/* 802ACDD4 002A9D34 48 02 75 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802ACDD8 002A9D38 C0 61 00 08 */ lfs f3, 8(r1) +/* 802ACDDC 002A9D3C 38 61 01 68 */ addi r3, r1, 0x168 +/* 802ACDE0 002A9D40 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802ACDE4 002A9D44 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802ACDE8 002A9D48 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802ACDEC 002A9D4C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802ACDF0 002A9D50 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802ACDF4 002A9D54 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACDF8 002A9D58 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACDFC 002A9D5C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACE00 002A9D60 48 06 5D 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE04 002A9D64 38 61 00 9C */ addi r3, r1, 0x9c +/* 802ACE08 002A9D68 38 81 01 68 */ addi r4, r1, 0x168 +/* 802ACE0C 002A9D6C 48 06 5E 91 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACE10 002A9D70 38 61 00 CC */ addi r3, r1, 0xcc +/* 802ACE14 002A9D74 38 81 00 9C */ addi r4, r1, 0x9c +/* 802ACE18 002A9D78 38 BA 00 08 */ addi r5, r26, 8 +/* 802ACE1C 002A9D7C 48 06 5B 35 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACE20 002A9D80 38 61 01 38 */ addi r3, r1, 0x138 +/* 802ACE24 002A9D84 38 81 00 CC */ addi r4, r1, 0xcc +/* 802ACE28 002A9D88 48 06 5D 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE2C 002A9D8C 7F A4 EB 78 */ mr r4, r29 +/* 802ACE30 002A9D90 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ACE34 002A9D94 81 9D 00 00 */ lwz r12, 0(r29) +/* 802ACE38 002A9D98 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACE3C 002A9D9C 7D 89 03 A6 */ mtctr r12 +/* 802ACE40 002A9DA0 4E 80 04 21 */ bctrl +/* 802ACE44 002A9DA4 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACE48 002A9DA8 38 81 00 28 */ addi r4, r1, 0x28 +/* 802ACE4C 002A9DAC 38 A1 01 38 */ addi r5, r1, 0x138 +/* 802ACE50 002A9DB0 48 02 8E CD */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACE54 002A9DB4 38 61 00 FC */ addi r3, r1, 0xfc +/* 802ACE58 002A9DB8 38 81 00 60 */ addi r4, r1, 0x60 +/* 802ACE5C 002A9DBC 48 06 5D 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACE60 002A9DC0 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802ACE64 002A9DC4 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ACE68 002A9DC8 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802ACE6C 002A9DCC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ACE70 002A9DD0 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802ACE74 002A9DD4 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802ACE78 002A9DD8 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802ACE7C 002A9DDC 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802ACE80 002A9DE0 3B 60 00 00 */ li r27, 0 +/* 802ACE84 002A9DE4 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802ACE88 002A9DE8 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802ACE8C 002A9DEC 48 00 00 8C */ b lbl_802ACF18 +lbl_802ACE90: +/* 802ACE90 002A9DF0 7F 83 E3 78 */ mr r3, r28 +/* 802ACE94 002A9DF4 81 9C 00 00 */ lwz r12, 0(r28) +/* 802ACE98 002A9DF8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802ACE9C 002A9DFC 7D 89 03 A6 */ mtctr r12 +/* 802ACEA0 002A9E00 4E 80 04 21 */ bctrl +/* 802ACEA4 002A9E04 7C 7D 1B 78 */ mr r29, r3 +/* 802ACEA8 002A9E08 7F 83 E3 78 */ mr r3, r28 +/* 802ACEAC 002A9E0C 7F 64 DB 78 */ mr r4, r27 +/* 802ACEB0 002A9E10 48 00 0A 9D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802ACEB4 002A9E14 7C 64 1B 78 */ mr r4, r3 +/* 802ACEB8 002A9E18 7F A5 EB 78 */ mr r5, r29 +/* 802ACEBC 002A9E1C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802ACEC0 002A9E20 4B FF F8 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ACEC4 002A9E24 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802ACEC8 002A9E28 38 61 00 40 */ addi r3, r1, 0x40 +/* 802ACECC 002A9E2C 81 1A 00 04 */ lwz r8, 4(r26) +/* 802ACED0 002A9E30 38 A1 01 68 */ addi r5, r1, 0x168 +/* 802ACED4 002A9E34 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802ACED8 002A9E38 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802ACEDC 002A9E3C 38 E1 00 FC */ addi r7, r1, 0xfc +/* 802ACEE0 002A9E40 4B FF EC D9 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter +/* 802ACEE4 002A9E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802ACEE8 002A9E48 41 82 00 24 */ beq lbl_802ACF0C +/* 802ACEEC 002A9E4C 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802ACEF0 002A9E50 3C 80 80 3E */ lis r4, lbl_803D97E4@ha +/* 802ACEF4 002A9E54 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802ACEF8 002A9E58 38 60 00 01 */ li r3, 1 +/* 802ACEFC 002A9E5C 90 01 00 40 */ stw r0, 0x40(r1) +/* 802ACF00 002A9E60 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l +/* 802ACF04 002A9E64 90 01 00 40 */ stw r0, 0x40(r1) +/* 802ACF08 002A9E68 48 00 00 24 */ b lbl_802ACF2C +lbl_802ACF0C: +/* 802ACF0C 002A9E6C 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802ACF10 002A9E70 3B 7B 00 01 */ addi r27, r27, 1 +/* 802ACF14 002A9E74 93 E1 00 40 */ stw r31, 0x40(r1) +lbl_802ACF18: +/* 802ACF18 002A9E78 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802ACF1C 002A9E7C 80 03 00 04 */ lwz r0, 4(r3) +/* 802ACF20 002A9E80 7C 1B 00 00 */ cmpw r27, r0 +/* 802ACF24 002A9E84 41 80 FF 6C */ blt lbl_802ACE90 +/* 802ACF28 002A9E88 38 60 00 00 */ li r3, 0 +lbl_802ACF2C: +/* 802ACF2C 002A9E8C BB 41 01 98 */ lmw r26, 0x198(r1) +/* 802ACF30 002A9E90 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 802ACF34 002A9E94 7C 08 03 A6 */ mtlr r0 +/* 802ACF38 002A9E98 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 802ACF3C 002A9E9C 4E 80 00 20 */ blr + +.global SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList +SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802ACF40 002A9EA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802ACF44 002A9EA4 7C 08 02 A6 */ mflr r0 +/* 802ACF48 002A9EA8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802ACF4C 002A9EAC BE E1 01 9C */ stmw r23, 0x19c(r1) +/* 802ACF50 002A9EB0 7C 7E 1B 78 */ mr r30, r3 +/* 802ACF54 002A9EB4 7C 9F 23 78 */ mr r31, r4 +/* 802ACF58 002A9EB8 38 BE 00 08 */ addi r5, r30, 8 +/* 802ACF5C 002A9EBC 83 23 00 00 */ lwz r25, 0(r3) +/* 802ACF60 002A9EC0 38 61 00 08 */ addi r3, r1, 8 +/* 802ACF64 002A9EC4 83 5E 00 38 */ lwz r26, 0x38(r30) +/* 802ACF68 002A9EC8 7F 24 CB 78 */ mr r4, r25 +/* 802ACF6C 002A9ECC 48 02 73 E9 */ bl Transform__17CCollidableSphereCFRC12CTransform4f +/* 802ACF70 002A9ED0 C0 61 00 08 */ lfs f3, 8(r1) +/* 802ACF74 002A9ED4 38 61 01 68 */ addi r3, r1, 0x168 +/* 802ACF78 002A9ED8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 802ACF7C 002A9EDC 38 9E 00 40 */ addi r4, r30, 0x40 +/* 802ACF80 002A9EE0 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 802ACF84 002A9EE4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802ACF88 002A9EE8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802ACF8C 002A9EEC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802ACF90 002A9EF0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802ACF94 002A9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802ACF98 002A9EF8 48 06 5B DD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACF9C 002A9EFC 38 61 00 9C */ addi r3, r1, 0x9c +/* 802ACFA0 002A9F00 38 81 01 68 */ addi r4, r1, 0x168 +/* 802ACFA4 002A9F04 48 06 5C F9 */ bl GetQuickInverse__12CTransform4fCFv +/* 802ACFA8 002A9F08 38 61 00 CC */ addi r3, r1, 0xcc +/* 802ACFAC 002A9F0C 38 81 00 9C */ addi r4, r1, 0x9c +/* 802ACFB0 002A9F10 38 BE 00 08 */ addi r5, r30, 8 +/* 802ACFB4 002A9F14 48 06 59 9D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802ACFB8 002A9F18 38 61 01 38 */ addi r3, r1, 0x138 +/* 802ACFBC 002A9F1C 38 81 00 CC */ addi r4, r1, 0xcc +/* 802ACFC0 002A9F20 48 06 5B B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACFC4 002A9F24 7F 24 CB 78 */ mr r4, r25 +/* 802ACFC8 002A9F28 38 61 00 28 */ addi r3, r1, 0x28 +/* 802ACFCC 002A9F2C 81 99 00 00 */ lwz r12, 0(r25) +/* 802ACFD0 002A9F30 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802ACFD4 002A9F34 7D 89 03 A6 */ mtctr r12 +/* 802ACFD8 002A9F38 4E 80 04 21 */ bctrl +/* 802ACFDC 002A9F3C 38 61 00 60 */ addi r3, r1, 0x60 +/* 802ACFE0 002A9F40 38 81 00 28 */ addi r4, r1, 0x28 +/* 802ACFE4 002A9F44 38 A1 01 38 */ addi r5, r1, 0x138 +/* 802ACFE8 002A9F48 48 02 8D 35 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802ACFEC 002A9F4C 38 61 00 FC */ addi r3, r1, 0xfc +/* 802ACFF0 002A9F50 38 81 00 60 */ addi r4, r1, 0x60 +/* 802ACFF4 002A9F54 48 06 5B 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802ACFF8 002A9F58 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802ACFFC 002A9F5C 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD000 002A9F60 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802AD004 002A9F64 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD008 002A9F68 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802AD00C 002A9F6C 3B 84 C4 48 */ addi r28, r4, lbl_803EC448@l +/* 802AD010 002A9F70 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 802AD014 002A9F74 3B A3 97 E4 */ addi r29, r3, lbl_803D97E4@l +/* 802AD018 002A9F78 3B 00 00 00 */ li r24, 0 +/* 802AD01C 002A9F7C 3A E0 00 00 */ li r23, 0 +/* 802AD020 002A9F80 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 802AD024 002A9F84 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 802AD028 002A9F88 48 00 00 90 */ b lbl_802AD0B8 +lbl_802AD02C: +/* 802AD02C 002A9F8C 7F 43 D3 78 */ mr r3, r26 +/* 802AD030 002A9F90 81 9A 00 00 */ lwz r12, 0(r26) +/* 802AD034 002A9F94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD038 002A9F98 7D 89 03 A6 */ mtctr r12 +/* 802AD03C 002A9F9C 4E 80 04 21 */ bctrl +/* 802AD040 002A9FA0 7C 7B 1B 78 */ mr r27, r3 +/* 802AD044 002A9FA4 7F 43 D3 78 */ mr r3, r26 +/* 802AD048 002A9FA8 7E E4 BB 78 */ mr r4, r23 +/* 802AD04C 002A9FAC 48 00 09 01 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD050 002A9FB0 7C 64 1B 78 */ mr r4, r3 +/* 802AD054 002A9FB4 7F 65 DB 78 */ mr r5, r27 +/* 802AD058 002A9FB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD05C 002A9FBC 4B FF F6 89 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD060 002A9FC0 7F 23 CB 78 */ mr r3, r25 +/* 802AD064 002A9FC4 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802AD068 002A9FC8 81 99 00 00 */ lwz r12, 0(r25) +/* 802AD06C 002A9FCC 83 64 00 88 */ lwz r27, 0x88(r4) +/* 802AD070 002A9FD0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD074 002A9FD4 7D 89 03 A6 */ mtctr r12 +/* 802AD078 002A9FD8 4E 80 04 21 */ bctrl +/* 802AD07C 002A9FDC 81 3E 00 04 */ lwz r9, 4(r30) +/* 802AD080 002A9FE0 7C 68 1B 78 */ mr r8, r3 +/* 802AD084 002A9FE4 7F 64 DB 78 */ mr r4, r27 +/* 802AD088 002A9FE8 7F EA FB 78 */ mr r10, r31 +/* 802AD08C 002A9FEC 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD090 002A9FF0 38 A1 01 68 */ addi r5, r1, 0x168 +/* 802AD094 002A9FF4 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802AD098 002A9FF8 38 E1 00 FC */ addi r7, r1, 0xfc +/* 802AD09C 002A9FFC 4B FF F0 C9 */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +/* 802AD0A0 002AA000 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD0A4 002AA004 41 82 00 08 */ beq lbl_802AD0AC +/* 802AD0A8 002AA008 3B 00 00 01 */ li r24, 1 +lbl_802AD0AC: +/* 802AD0AC 002AA00C 93 81 00 40 */ stw r28, 0x40(r1) +/* 802AD0B0 002AA010 3A F7 00 01 */ addi r23, r23, 1 +/* 802AD0B4 002AA014 93 A1 00 40 */ stw r29, 0x40(r1) +lbl_802AD0B8: +/* 802AD0B8 002AA018 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 802AD0BC 002AA01C 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD0C0 002AA020 7C 17 00 00 */ cmpw r23, r0 +/* 802AD0C4 002AA024 41 80 FF 68 */ blt lbl_802AD02C +/* 802AD0C8 002AA028 7F 03 C3 78 */ mr r3, r24 +/* 802AD0CC 002AA02C BA E1 01 9C */ lmw r23, 0x19c(r1) +/* 802AD0D0 002AA030 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802AD0D4 002AA034 7C 08 03 A6 */ mtlr r0 +/* 802AD0D8 002AA038 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802AD0DC 002AA03C 4E 80 00 20 */ blr + +.global AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure +AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: +/* 802AD0E0 002AA040 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 802AD0E4 002AA044 7C 08 02 A6 */ mflr r0 +/* 802AD0E8 002AA048 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 802AD0EC 002AA04C BF 41 01 A8 */ stmw r26, 0x1a8(r1) +/* 802AD0F0 002AA050 7C 7A 1B 78 */ mr r26, r3 +/* 802AD0F4 002AA054 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AD0F8 002AA058 38 BA 00 08 */ addi r5, r26, 8 +/* 802AD0FC 002AA05C 80 9A 00 00 */ lwz r4, 0(r26) +/* 802AD100 002AA060 83 9A 00 38 */ lwz r28, 0x38(r26) +/* 802AD104 002AA064 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD108 002AA068 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AD10C 002AA06C 7D 89 03 A6 */ mtctr r12 +/* 802AD110 002AA070 4E 80 04 21 */ bctrl +/* 802AD114 002AA074 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802AD118 002AA078 38 61 01 78 */ addi r3, r1, 0x178 +/* 802AD11C 002AA07C C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802AD120 002AA080 38 9A 00 40 */ addi r4, r26, 0x40 +/* 802AD124 002AA084 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802AD128 002AA088 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802AD12C 002AA08C C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802AD130 002AA090 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802AD134 002AA094 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802AD138 002AA098 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 802AD13C 002AA09C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 802AD140 002AA0A0 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802AD144 002AA0A4 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802AD148 002AA0A8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 802AD14C 002AA0AC 48 06 5A 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD150 002AA0B0 38 61 00 AC */ addi r3, r1, 0xac +/* 802AD154 002AA0B4 38 81 01 78 */ addi r4, r1, 0x178 +/* 802AD158 002AA0B8 48 06 5B 45 */ bl GetQuickInverse__12CTransform4fCFv +/* 802AD15C 002AA0BC 38 61 00 DC */ addi r3, r1, 0xdc +/* 802AD160 002AA0C0 38 81 00 AC */ addi r4, r1, 0xac +/* 802AD164 002AA0C4 38 BA 00 08 */ addi r5, r26, 8 +/* 802AD168 002AA0C8 48 06 57 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AD16C 002AA0CC 38 61 01 48 */ addi r3, r1, 0x148 +/* 802AD170 002AA0D0 38 81 00 DC */ addi r4, r1, 0xdc +/* 802AD174 002AA0D4 48 06 5A 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD178 002AA0D8 80 9A 00 00 */ lwz r4, 0(r26) +/* 802AD17C 002AA0DC 38 61 00 08 */ addi r3, r1, 8 +/* 802AD180 002AA0E0 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD184 002AA0E4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AD188 002AA0E8 7D 89 03 A6 */ mtctr r12 +/* 802AD18C 002AA0EC 4E 80 04 21 */ bctrl +/* 802AD190 002AA0F0 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AD194 002AA0F4 38 81 00 08 */ addi r4, r1, 8 +/* 802AD198 002AA0F8 38 A1 01 48 */ addi r5, r1, 0x148 +/* 802AD19C 002AA0FC 48 02 8B 81 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AD1A0 002AA100 38 61 01 0C */ addi r3, r1, 0x10c +/* 802AD1A4 002AA104 38 81 00 70 */ addi r4, r1, 0x70 +/* 802AD1A8 002AA108 48 06 59 CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD1AC 002AA10C C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 802AD1B0 002AA110 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD1B4 002AA114 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 802AD1B8 002AA118 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD1BC 002AA11C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 802AD1C0 002AA120 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802AD1C4 002AA124 D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 802AD1C8 002AA128 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802AD1CC 002AA12C 3B 60 00 00 */ li r27, 0 +/* 802AD1D0 002AA130 D0 21 01 40 */ stfs f1, 0x140(r1) +/* 802AD1D4 002AA134 D0 01 01 44 */ stfs f0, 0x144(r1) +/* 802AD1D8 002AA138 48 00 00 8C */ b lbl_802AD264 +lbl_802AD1DC: +/* 802AD1DC 002AA13C 7F 83 E3 78 */ mr r3, r28 +/* 802AD1E0 002AA140 81 9C 00 00 */ lwz r12, 0(r28) +/* 802AD1E4 002AA144 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD1E8 002AA148 7D 89 03 A6 */ mtctr r12 +/* 802AD1EC 002AA14C 4E 80 04 21 */ bctrl +/* 802AD1F0 002AA150 7C 7D 1B 78 */ mr r29, r3 +/* 802AD1F4 002AA154 7F 83 E3 78 */ mr r3, r28 +/* 802AD1F8 002AA158 7F 64 DB 78 */ mr r4, r27 +/* 802AD1FC 002AA15C 48 00 07 51 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD200 002AA160 7C 64 1B 78 */ mr r4, r3 +/* 802AD204 002AA164 7F A5 EB 78 */ mr r5, r29 +/* 802AD208 002AA168 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AD20C 002AA16C 4B FF F4 D9 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD210 002AA170 80 81 00 48 */ lwz r4, 0x48(r1) +/* 802AD214 002AA174 38 61 00 38 */ addi r3, r1, 0x38 +/* 802AD218 002AA178 81 1A 00 04 */ lwz r8, 4(r26) +/* 802AD21C 002AA17C 38 A1 01 78 */ addi r5, r1, 0x178 +/* 802AD220 002AA180 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802AD224 002AA184 38 C1 00 58 */ addi r6, r1, 0x58 +/* 802AD228 002AA188 38 E1 01 0C */ addi r7, r1, 0x10c +/* 802AD22C 002AA18C 4B FF EB 5D */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter +/* 802AD230 002AA190 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD234 002AA194 41 82 00 24 */ beq lbl_802AD258 +/* 802AD238 002AA198 3C 60 80 3F */ lis r3, lbl_803EC448@ha +/* 802AD23C 002AA19C 3C 80 80 3E */ lis r4, lbl_803D97E4@ha +/* 802AD240 002AA1A0 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l +/* 802AD244 002AA1A4 38 60 00 01 */ li r3, 1 +/* 802AD248 002AA1A8 90 01 00 38 */ stw r0, 0x38(r1) +/* 802AD24C 002AA1AC 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l +/* 802AD250 002AA1B0 90 01 00 38 */ stw r0, 0x38(r1) +/* 802AD254 002AA1B4 48 00 00 24 */ b lbl_802AD278 +lbl_802AD258: +/* 802AD258 002AA1B8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 802AD25C 002AA1BC 3B 7B 00 01 */ addi r27, r27, 1 +/* 802AD260 002AA1C0 93 E1 00 38 */ stw r31, 0x38(r1) +lbl_802AD264: +/* 802AD264 002AA1C4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802AD268 002AA1C8 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD26C 002AA1CC 7C 1B 00 00 */ cmpw r27, r0 +/* 802AD270 002AA1D0 41 80 FF 6C */ blt lbl_802AD1DC +/* 802AD274 002AA1D4 38 60 00 00 */ li r3, 0 +lbl_802AD278: +/* 802AD278 002AA1D8 BB 41 01 A8 */ lmw r26, 0x1a8(r1) +/* 802AD27C 002AA1DC 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 802AD280 002AA1E0 7C 08 03 A6 */ mtlr r0 +/* 802AD284 002AA1E4 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 802AD288 002AA1E8 4E 80 00 20 */ blr + +.global AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList +AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: +/* 802AD28C 002AA1EC 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 802AD290 002AA1F0 7C 08 02 A6 */ mflr r0 +/* 802AD294 002AA1F4 90 01 02 84 */ stw r0, 0x284(r1) +/* 802AD298 002AA1F8 DB E1 02 70 */ stfd f31, 0x270(r1) +/* 802AD29C 002AA1FC F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 802AD2A0 002AA200 DB C1 02 60 */ stfd f30, 0x260(r1) +/* 802AD2A4 002AA204 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 802AD2A8 002AA208 DB A1 02 50 */ stfd f29, 0x250(r1) +/* 802AD2AC 002AA20C F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 802AD2B0 002AA210 DB 81 02 40 */ stfd f28, 0x240(r1) +/* 802AD2B4 002AA214 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 802AD2B8 002AA218 DB 61 02 30 */ stfd f27, 0x230(r1) +/* 802AD2BC 002AA21C F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 +/* 802AD2C0 002AA220 BF 01 02 10 */ stmw r24, 0x210(r1) +/* 802AD2C4 002AA224 7C 78 1B 78 */ mr r24, r3 +/* 802AD2C8 002AA228 7C 99 23 78 */ mr r25, r4 +/* 802AD2CC 002AA22C 80 83 00 00 */ lwz r4, 0(r3) +/* 802AD2D0 002AA230 38 61 00 28 */ addi r3, r1, 0x28 +/* 802AD2D4 002AA234 38 B8 00 08 */ addi r5, r24, 8 +/* 802AD2D8 002AA238 83 98 00 38 */ lwz r28, 0x38(r24) +/* 802AD2DC 002AA23C 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD2E0 002AA240 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 802AD2E4 002AA244 7D 89 03 A6 */ mtctr r12 +/* 802AD2E8 002AA248 4E 80 04 21 */ bctrl +/* 802AD2EC 002AA24C C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802AD2F0 002AA250 38 61 01 80 */ addi r3, r1, 0x180 +/* 802AD2F4 002AA254 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802AD2F8 002AA258 38 98 00 40 */ addi r4, r24, 0x40 +/* 802AD2FC 002AA25C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802AD300 002AA260 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 802AD304 002AA264 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 802AD308 002AA268 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802AD30C 002AA26C D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 802AD310 002AA270 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 802AD314 002AA274 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 802AD318 002AA278 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 802AD31C 002AA27C D0 21 00 70 */ stfs f1, 0x70(r1) +/* 802AD320 002AA280 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 802AD324 002AA284 48 06 58 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD328 002AA288 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 802AD32C 002AA28C 38 81 01 80 */ addi r4, r1, 0x180 +/* 802AD330 002AA290 48 06 59 6D */ bl GetQuickInverse__12CTransform4fCFv +/* 802AD334 002AA294 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 802AD338 002AA298 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 802AD33C 002AA29C 38 B8 00 08 */ addi r5, r24, 8 +/* 802AD340 002AA2A0 48 06 56 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 802AD344 002AA2A4 38 61 01 50 */ addi r3, r1, 0x150 +/* 802AD348 002AA2A8 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 802AD34C 002AA2AC 48 06 58 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD350 002AA2B0 80 98 00 00 */ lwz r4, 0(r24) +/* 802AD354 002AA2B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AD358 002AA2B8 81 84 00 00 */ lwz r12, 0(r4) +/* 802AD35C 002AA2BC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 802AD360 002AA2C0 7D 89 03 A6 */ mtctr r12 +/* 802AD364 002AA2C4 4E 80 04 21 */ bctrl +/* 802AD368 002AA2C8 38 61 00 78 */ addi r3, r1, 0x78 +/* 802AD36C 002AA2CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802AD370 002AA2D0 38 A1 01 50 */ addi r5, r1, 0x150 +/* 802AD374 002AA2D4 48 02 89 A9 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f +/* 802AD378 002AA2D8 38 61 01 14 */ addi r3, r1, 0x114 +/* 802AD37C 002AA2DC 38 81 00 78 */ addi r4, r1, 0x78 +/* 802AD380 002AA2E0 48 06 57 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD384 002AA2E4 C0 E2 C1 E0 */ lfs f7, lbl_805ADF00@sda21(r2) +/* 802AD388 002AA2E8 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD38C 002AA2EC C0 C2 C1 E4 */ lfs f6, lbl_805ADF04@sda21(r2) +/* 802AD390 002AA2F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD394 002AA2F4 FF E0 38 50 */ fneg f31, f7 +/* 802AD398 002AA2F8 C1 41 00 64 */ lfs f10, 0x64(r1) +/* 802AD39C 002AA2FC FF A0 30 50 */ fneg f29, f6 +/* 802AD3A0 002AA300 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802AD3A4 002AA304 C3 C1 00 60 */ lfs f30, 0x60(r1) +/* 802AD3A8 002AA308 EF 8A 01 F2 */ fmuls f28, f10, f7 +/* 802AD3AC 002AA30C EF 7E 01 F2 */ fmuls f27, f30, f7 +/* 802AD3B0 002AA310 C1 61 00 68 */ lfs f11, 0x68(r1) +/* 802AD3B4 002AA314 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 802AD3B8 002AA318 C1 81 00 6C */ lfs f12, 0x6c(r1) +/* 802AD3BC 002AA31C EC 00 07 72 */ fmuls f0, f0, f29 +/* 802AD3C0 002AA320 C1 21 00 A8 */ lfs f9, 0xa8(r1) +/* 802AD3C4 002AA324 EC 3B E0 2A */ fadds f1, f27, f28 +/* 802AD3C8 002AA328 C1 A1 00 74 */ lfs f13, 0x74(r1) +/* 802AD3CC 002AA32C EC 6C 27 7A */ fmadds f3, f12, f29, f4 +/* 802AD3D0 002AA330 C1 01 00 AC */ lfs f8, 0xac(r1) +/* 802AD3D4 002AA334 EC 4C 07 FA */ fmadds f2, f12, f31, f0 +/* 802AD3D8 002AA338 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 802AD3DC 002AA33C EC 0C 27 FA */ fmadds f0, f12, f31, f4 +/* 802AD3E0 002AA340 D1 21 01 44 */ stfs f9, 0x144(r1) +/* 802AD3E4 002AA344 EC 8D 1F FA */ fmadds f4, f13, f31, f3 +/* 802AD3E8 002AA348 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l +/* 802AD3EC 002AA34C EC 4D 17 FA */ fmadds f2, f13, f31, f2 +/* 802AD3F0 002AA350 D1 01 01 48 */ stfs f8, 0x148(r1) +/* 802AD3F4 002AA354 EC 2B 09 BA */ fmadds f1, f11, f6, f1 +/* 802AD3F8 002AA358 D0 A1 01 4C */ stfs f5, 0x14c(r1) +/* 802AD3FC 002AA35C EC 0D 07 7A */ fmadds f0, f13, f29, f0 +/* 802AD400 002AA360 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l +/* 802AD404 002AA364 ED 0B 01 F2 */ fmuls f8, f11, f7 +/* 802AD408 002AA368 D0 C1 01 B0 */ stfs f6, 0x1b0(r1) +/* 802AD40C 002AA36C EC BE E1 BA */ fmadds f5, f30, f6, f28 +/* 802AD410 002AA370 D0 E1 01 B4 */ stfs f7, 0x1b4(r1) +/* 802AD414 002AA374 EC 6A D9 BA */ fmadds f3, f10, f6, f27 +/* 802AD418 002AA378 3B 60 00 00 */ li r27, 0 +/* 802AD41C 002AA37C D0 E1 01 B8 */ stfs f7, 0x1b8(r1) +/* 802AD420 002AA380 3B 40 00 00 */ li r26, 0 +/* 802AD424 002AA384 EC A8 28 2A */ fadds f5, f8, f5 +/* 802AD428 002AA388 D3 A1 01 C0 */ stfs f29, 0x1c0(r1) +/* 802AD42C 002AA38C EC 68 18 2A */ fadds f3, f8, f3 +/* 802AD430 002AA390 D3 E1 01 C4 */ stfs f31, 0x1c4(r1) +/* 802AD434 002AA394 D0 A1 01 BC */ stfs f5, 0x1bc(r1) +/* 802AD438 002AA398 D3 E1 01 C8 */ stfs f31, 0x1c8(r1) +/* 802AD43C 002AA39C D0 81 01 CC */ stfs f4, 0x1cc(r1) +/* 802AD440 002AA3A0 D0 E1 01 D0 */ stfs f7, 0x1d0(r1) +/* 802AD444 002AA3A4 D0 C1 01 D4 */ stfs f6, 0x1d4(r1) +/* 802AD448 002AA3A8 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) +/* 802AD44C 002AA3AC D0 61 01 DC */ stfs f3, 0x1dc(r1) +/* 802AD450 002AA3B0 D3 E1 01 E0 */ stfs f31, 0x1e0(r1) +/* 802AD454 002AA3B4 D3 A1 01 E4 */ stfs f29, 0x1e4(r1) +/* 802AD458 002AA3B8 D3 E1 01 E8 */ stfs f31, 0x1e8(r1) +/* 802AD45C 002AA3BC D0 41 01 EC */ stfs f2, 0x1ec(r1) +/* 802AD460 002AA3C0 D0 E1 01 F0 */ stfs f7, 0x1f0(r1) +/* 802AD464 002AA3C4 D0 E1 01 F4 */ stfs f7, 0x1f4(r1) +/* 802AD468 002AA3C8 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) +/* 802AD46C 002AA3CC D0 21 01 FC */ stfs f1, 0x1fc(r1) +/* 802AD470 002AA3D0 D3 E1 02 00 */ stfs f31, 0x200(r1) +/* 802AD474 002AA3D4 D3 E1 02 04 */ stfs f31, 0x204(r1) +/* 802AD478 002AA3D8 D3 A1 02 08 */ stfs f29, 0x208(r1) +/* 802AD47C 002AA3DC D0 01 02 0C */ stfs f0, 0x20c(r1) +/* 802AD480 002AA3E0 48 00 00 94 */ b lbl_802AD514 +lbl_802AD484: +/* 802AD484 002AA3E4 7F 83 E3 78 */ mr r3, r28 +/* 802AD488 002AA3E8 81 9C 00 00 */ lwz r12, 0(r28) +/* 802AD48C 002AA3EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD490 002AA3F0 7D 89 03 A6 */ mtctr r12 +/* 802AD494 002AA3F4 4E 80 04 21 */ bctrl +/* 802AD498 002AA3F8 7C 7D 1B 78 */ mr r29, r3 +/* 802AD49C 002AA3FC 7F 83 E3 78 */ mr r3, r28 +/* 802AD4A0 002AA400 7F 44 D3 78 */ mr r4, r26 +/* 802AD4A4 002AA404 48 00 04 A9 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +/* 802AD4A8 002AA408 7C 64 1B 78 */ mr r4, r3 +/* 802AD4AC 002AA40C 7F A5 EB 78 */ mr r5, r29 +/* 802AD4B0 002AA410 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD4B4 002AA414 4B FF F2 31 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD4B8 002AA418 80 78 00 00 */ lwz r3, 0(r24) +/* 802AD4BC 002AA41C 80 81 00 50 */ lwz r4, 0x50(r1) +/* 802AD4C0 002AA420 81 83 00 00 */ lwz r12, 0(r3) +/* 802AD4C4 002AA424 83 A4 00 88 */ lwz r29, 0x88(r4) +/* 802AD4C8 002AA428 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD4CC 002AA42C 7D 89 03 A6 */ mtctr r12 +/* 802AD4D0 002AA430 4E 80 04 21 */ bctrl +/* 802AD4D4 002AA434 93 21 00 08 */ stw r25, 8(r1) +/* 802AD4D8 002AA438 7C 68 1B 78 */ mr r8, r3 +/* 802AD4DC 002AA43C 7F A4 EB 78 */ mr r4, r29 +/* 802AD4E0 002AA440 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD4E4 002AA444 81 38 00 04 */ lwz r9, 4(r24) +/* 802AD4E8 002AA448 38 A1 01 80 */ addi r5, r1, 0x180 +/* 802AD4EC 002AA44C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 802AD4F0 002AA450 38 E1 01 14 */ addi r7, r1, 0x114 +/* 802AD4F4 002AA454 39 41 01 B0 */ addi r10, r1, 0x1b0 +/* 802AD4F8 002AA458 4B FF EF FD */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList +/* 802AD4FC 002AA45C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802AD500 002AA460 41 82 00 08 */ beq lbl_802AD508 +/* 802AD504 002AA464 3B 60 00 01 */ li r27, 1 +lbl_802AD508: +/* 802AD508 002AA468 93 C1 00 40 */ stw r30, 0x40(r1) +/* 802AD50C 002AA46C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802AD510 002AA470 93 E1 00 40 */ stw r31, 0x40(r1) +lbl_802AD514: +/* 802AD514 002AA474 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 802AD518 002AA478 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD51C 002AA47C 7C 1A 00 00 */ cmpw r26, r0 +/* 802AD520 002AA480 41 80 FF 64 */ blt lbl_802AD484 +/* 802AD524 002AA484 7F 63 DB 78 */ mr r3, r27 +/* 802AD528 002AA488 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 802AD52C 002AA48C CB E1 02 70 */ lfd f31, 0x270(r1) +/* 802AD530 002AA490 E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 802AD534 002AA494 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 802AD538 002AA498 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 802AD53C 002AA49C CB A1 02 50 */ lfd f29, 0x250(r1) +/* 802AD540 002AA4A0 E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 802AD544 002AA4A4 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 802AD548 002AA4A8 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 +/* 802AD54C 002AA4AC CB 61 02 30 */ lfd f27, 0x230(r1) +/* 802AD550 002AA4B0 BB 01 02 10 */ lmw r24, 0x210(r1) +/* 802AD554 002AA4B4 80 01 02 84 */ lwz r0, 0x284(r1) +/* 802AD558 002AA4B8 7C 08 03 A6 */ mtlr r0 +/* 802AD55C 002AA4BC 38 21 02 80 */ addi r1, r1, 0x280 +/* 802AD560 002AA4C0 4E 80 00 20 */ blr + +.global CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure +CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure: +/* 802AD564 002AA4C4 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802AD568 002AA4C8 7C 08 02 A6 */ mflr r0 +/* 802AD56C 002AA4CC 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802AD570 002AA4D0 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802AD574 002AA4D4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802AD578 002AA4D8 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802AD57C 002AA4DC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802AD580 002AA4E0 BE C1 01 88 */ stmw r22, 0x188(r1) +/* 802AD584 002AA4E4 C0 22 C1 E0 */ lfs f1, lbl_805ADF00@sda21(r2) +/* 802AD588 002AA4E8 7C 79 1B 78 */ mr r25, r3 +/* 802AD58C 002AA4EC C0 02 C1 E4 */ lfs f0, lbl_805ADF04@sda21(r2) +/* 802AD590 002AA4F0 7C 9A 23 78 */ mr r26, r4 +/* 802AD594 002AA4F4 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 802AD598 002AA4F8 7C BB 2B 78 */ mr r27, r5 +/* 802AD59C 002AA4FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AD5A0 002AA500 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 802AD5A4 002AA504 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 802AD5A8 002AA508 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 802AD5AC 002AA50C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802AD5B0 002AA510 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 802AD5B4 002AA514 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802AD5B8 002AA518 48 06 73 41 */ bl Normalize__9CVector3fFv +/* 802AD5BC 002AA51C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802AD5C0 002AA520 38 00 00 00 */ li r0, 0 +/* 802AD5C4 002AA524 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802AD5C8 002AA528 7F 64 DB 78 */ mr r4, r27 +/* 802AD5CC 002AA52C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802AD5D0 002AA530 38 61 00 70 */ addi r3, r1, 0x70 +/* 802AD5D4 002AA534 C0 02 C1 E0 */ lfs f0, lbl_805ADF00@sda21(r2) +/* 802AD5D8 002AA538 38 BB 00 3C */ addi r5, r27, 0x3c +/* 802AD5DC 002AA53C D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 802AD5E0 002AA540 80 DA 00 10 */ lwz r6, 0x10(r26) +/* 802AD5E4 002AA544 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 802AD5E8 002AA548 C3 FB 00 38 */ lfs f31, 0x38(r27) +/* 802AD5EC 002AA54C D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 802AD5F0 002AA550 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 802AD5F4 002AA554 98 01 01 00 */ stb r0, 0x100(r1) +/* 802AD5F8 002AA558 90 01 01 0C */ stw r0, 0x10c(r1) +/* 802AD5FC 002AA55C 90 01 01 08 */ stw r0, 0x108(r1) +/* 802AD600 002AA560 83 E6 00 0C */ lwz r31, 0xc(r6) +/* 802AD604 002AA564 83 C6 00 1C */ lwz r30, 0x1c(r6) +/* 802AD608 002AA568 48 02 89 E1 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f +/* 802AD60C 002AA56C C1 A1 00 70 */ lfs f13, 0x70(r1) +/* 802AD610 002AA570 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802AD614 002AA574 C1 81 00 74 */ lfs f12, 0x74(r1) +/* 802AD618 002AA578 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802AD61C 002AA57C C1 61 00 78 */ lfs f11, 0x78(r1) +/* 802AD620 002AA580 3B 81 00 D4 */ addi r28, r1, 0xd4 +/* 802AD624 002AA584 C1 41 00 7C */ lfs f10, 0x7c(r1) +/* 802AD628 002AA588 3B A1 01 4C */ addi r29, r1, 0x14c +/* 802AD62C 002AA58C C1 21 00 80 */ lfs f9, 0x80(r1) +/* 802AD630 002AA590 3A E4 C4 48 */ addi r23, r4, lbl_803EC448@l +/* 802AD634 002AA594 C1 01 00 84 */ lfs f8, 0x84(r1) +/* 802AD638 002AA598 3B 03 97 E4 */ addi r24, r3, lbl_803D97E4@l +/* 802AD63C 002AA59C C0 E1 00 88 */ lfs f7, 0x88(r1) +/* 802AD640 002AA5A0 C0 C1 00 8C */ lfs f6, 0x8c(r1) +/* 802AD644 002AA5A4 C0 A1 00 90 */ lfs f5, 0x90(r1) +/* 802AD648 002AA5A8 C0 81 00 94 */ lfs f4, 0x94(r1) +/* 802AD64C 002AA5AC C0 61 00 98 */ lfs f3, 0x98(r1) +/* 802AD650 002AA5B0 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 802AD654 002AA5B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 802AD658 002AA5B8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 802AD65C 002AA5BC D1 A1 00 A8 */ stfs f13, 0xa8(r1) +/* 802AD660 002AA5C0 C3 C2 C1 E0 */ lfs f30, lbl_805ADF00@sda21(r2) +/* 802AD664 002AA5C4 D1 81 00 AC */ stfs f12, 0xac(r1) +/* 802AD668 002AA5C8 D1 61 00 B0 */ stfs f11, 0xb0(r1) +/* 802AD66C 002AA5CC D1 41 00 B4 */ stfs f10, 0xb4(r1) +/* 802AD670 002AA5D0 D1 21 00 B8 */ stfs f9, 0xb8(r1) +/* 802AD674 002AA5D4 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802AD678 002AA5D8 D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 802AD67C 002AA5DC D0 C1 00 C4 */ stfs f6, 0xc4(r1) +/* 802AD680 002AA5E0 D0 A1 00 C8 */ stfs f5, 0xc8(r1) +/* 802AD684 002AA5E4 D0 81 00 CC */ stfs f4, 0xcc(r1) +/* 802AD688 002AA5E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802AD68C 002AA5EC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802AD690 002AA5F0 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802AD694 002AA5F4 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 802AD698 002AA5F8 48 00 01 74 */ b lbl_802AD80C +lbl_802AD69C: +/* 802AD69C 002AA5FC 7F 43 D3 78 */ mr r3, r26 +/* 802AD6A0 002AA600 82 DF 00 04 */ lwz r22, 4(r31) +/* 802AD6A4 002AA604 81 9A 00 00 */ lwz r12, 0(r26) +/* 802AD6A8 002AA608 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 802AD6AC 002AA60C 7D 89 03 A6 */ mtctr r12 +/* 802AD6B0 002AA610 4E 80 04 21 */ bctrl +/* 802AD6B4 002AA614 7C 65 1B 78 */ mr r5, r3 +/* 802AD6B8 002AA618 7E C4 B3 78 */ mr r4, r22 +/* 802AD6BC 002AA61C 38 61 00 20 */ addi r3, r1, 0x20 +/* 802AD6C0 002AA620 4B FF F0 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802AD6C4 002AA624 D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 802AD6C8 002AA628 7F C4 F3 78 */ mr r4, r30 +/* 802AD6CC 002AA62C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802AD6D0 002AA630 38 A1 00 0C */ addi r5, r1, 0xc +/* 802AD6D4 002AA634 D3 C1 00 08 */ stfs f30, 8(r1) +/* 802AD6D8 002AA638 38 C1 00 08 */ addi r6, r1, 8 +/* 802AD6DC 002AA63C 48 02 58 A5 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf +/* 802AD6E0 002AA640 2C 03 00 00 */ cmpwi r3, 0 +/* 802AD6E4 002AA644 41 82 01 18 */ beq lbl_802AD7FC +/* 802AD6E8 002AA648 FC 20 F8 90 */ fmr f1, f31 +/* 802AD6EC 002AA64C 82 DB 00 6C */ lwz r22, 0x6c(r27) +/* 802AD6F0 002AA650 7F 85 E3 78 */ mr r5, r28 +/* 802AD6F4 002AA654 38 61 01 10 */ addi r3, r1, 0x110 +/* 802AD6F8 002AA658 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 802AD6FC 002AA65C 48 02 89 71 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 802AD700 002AA660 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 802AD704 002AA664 D3 E1 01 48 */ stfs f31, 0x148(r1) +/* 802AD708 002AA668 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 802AD70C 002AA66C 7F A3 EB 78 */ mr r3, r29 +/* 802AD710 002AA670 48 06 54 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802AD714 002AA674 92 C1 01 7C */ stw r22, 0x17c(r1) +/* 802AD718 002AA678 38 61 00 40 */ addi r3, r1, 0x40 +/* 802AD71C 002AA67C 81 81 00 20 */ lwz r12, 0x20(r1) +/* 802AD720 002AA680 38 81 00 20 */ addi r4, r1, 0x20 +/* 802AD724 002AA684 38 A1 01 10 */ addi r5, r1, 0x110 +/* 802AD728 002AA688 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 802AD72C 002AA68C 7D 89 03 A6 */ mtctr r12 +/* 802AD730 002AA690 4E 80 04 21 */ bctrl +/* 802AD734 002AA694 88 A1 00 60 */ lbz r5, 0x60(r1) +/* 802AD738 002AA698 28 05 00 00 */ cmplwi r5, 0 +/* 802AD73C 002AA69C 41 82 00 C0 */ beq lbl_802AD7FC +/* 802AD740 002AA6A0 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AD744 002AA6A4 28 00 00 00 */ cmplwi r0, 0 +/* 802AD748 002AA6A8 41 82 00 64 */ beq lbl_802AD7AC +/* 802AD74C 002AA6AC C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802AD750 002AA6B0 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802AD754 002AA6B4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802AD758 002AA6B8 40 80 00 A4 */ bge lbl_802AD7FC +/* 802AD75C 002AA6BC 80 81 00 44 */ lwz r4, 0x44(r1) +/* 802AD760 002AA6C0 FF E0 28 90 */ fmr f31, f5 +/* 802AD764 002AA6C4 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802AD768 002AA6C8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AD76C 002AA6CC C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802AD770 002AA6D0 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802AD774 002AA6D4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802AD778 002AA6D8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802AD77C 002AA6DC C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802AD780 002AA6E0 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802AD784 002AA6E4 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 802AD788 002AA6E8 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802AD78C 002AA6EC 90 01 00 EC */ stw r0, 0xec(r1) +/* 802AD790 002AA6F0 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 802AD794 002AA6F4 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 802AD798 002AA6F8 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 802AD79C 002AA6FC D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 802AD7A0 002AA700 98 A1 01 00 */ stb r5, 0x100(r1) +/* 802AD7A4 002AA704 D8 01 01 08 */ stfd f0, 0x108(r1) +/* 802AD7A8 002AA708 48 00 00 54 */ b lbl_802AD7FC +lbl_802AD7AC: +/* 802AD7AC 002AA70C C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802AD7B0 002AA710 80 81 00 44 */ lwz r4, 0x44(r1) +/* 802AD7B4 002AA714 80 61 00 48 */ lwz r3, 0x48(r1) +/* 802AD7B8 002AA718 FF E0 28 90 */ fmr f31, f5 +/* 802AD7BC 002AA71C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 802AD7C0 002AA720 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 802AD7C4 002AA724 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 802AD7C8 002AA728 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 802AD7CC 002AA72C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 802AD7D0 002AA730 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 802AD7D4 002AA734 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802AD7D8 002AA738 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 802AD7DC 002AA73C 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 802AD7E0 002AA740 90 01 00 EC */ stw r0, 0xec(r1) +/* 802AD7E4 002AA744 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 802AD7E8 002AA748 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 802AD7EC 002AA74C D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 802AD7F0 002AA750 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 802AD7F4 002AA754 98 A1 01 00 */ stb r5, 0x100(r1) +/* 802AD7F8 002AA758 D8 01 01 08 */ stfd f0, 0x108(r1) +lbl_802AD7FC: +/* 802AD7FC 002AA75C 92 E1 00 20 */ stw r23, 0x20(r1) +/* 802AD800 002AA760 3B FF 00 08 */ addi r31, r31, 8 +/* 802AD804 002AA764 3B DE 00 18 */ addi r30, r30, 0x18 +/* 802AD808 002AA768 93 01 00 20 */ stw r24, 0x20(r1) +lbl_802AD80C: +/* 802AD80C 002AA76C 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 802AD810 002AA770 80 03 00 04 */ lwz r0, 4(r3) +/* 802AD814 002AA774 80 63 00 0C */ lwz r3, 0xc(r3) +/* 802AD818 002AA778 54 00 18 38 */ slwi r0, r0, 3 +/* 802AD81C 002AA77C 7C 03 02 14 */ add r0, r3, r0 +/* 802AD820 002AA780 7C 1F 00 40 */ cmplw r31, r0 +/* 802AD824 002AA784 40 82 FE 78 */ bne lbl_802AD69C +/* 802AD828 002AA788 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802AD82C 002AA78C 38 9B 00 3C */ addi r4, r27, 0x3c +/* 802AD830 002AA790 48 00 00 81 */ bl Transform__14CRayCastResultFRC12CTransform4f +/* 802AD834 002AA794 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 802AD838 002AA798 D0 19 00 00 */ stfs f0, 0(r25) +/* 802AD83C 002AA79C C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802AD840 002AA7A0 D0 19 00 04 */ stfs f0, 4(r25) +/* 802AD844 002AA7A4 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 802AD848 002AA7A8 D0 19 00 08 */ stfs f0, 8(r25) +/* 802AD84C 002AA7AC C0 01 00 EC */ lfs f0, 0xec(r1) +/* 802AD850 002AA7B0 D0 19 00 0C */ stfs f0, 0xc(r25) +/* 802AD854 002AA7B4 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 802AD858 002AA7B8 D0 19 00 10 */ stfs f0, 0x10(r25) +/* 802AD85C 002AA7BC C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 802AD860 002AA7C0 D0 19 00 14 */ stfs f0, 0x14(r25) +/* 802AD864 002AA7C4 C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 802AD868 002AA7C8 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 802AD86C 002AA7CC C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 802AD870 002AA7D0 D0 19 00 1C */ stfs f0, 0x1c(r25) +/* 802AD874 002AA7D4 88 01 01 00 */ lbz r0, 0x100(r1) +/* 802AD878 002AA7D8 98 19 00 20 */ stb r0, 0x20(r25) +/* 802AD87C 002AA7DC 80 01 01 08 */ lwz r0, 0x108(r1) +/* 802AD880 002AA7E0 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 802AD884 002AA7E4 90 79 00 2C */ stw r3, 0x2c(r25) +/* 802AD888 002AA7E8 90 19 00 28 */ stw r0, 0x28(r25) +/* 802AD88C 002AA7EC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802AD890 002AA7F0 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802AD894 002AA7F4 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802AD898 002AA7F8 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802AD89C 002AA7FC BA C1 01 88 */ lmw r22, 0x188(r1) +/* 802AD8A0 002AA800 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802AD8A4 002AA804 7C 08 03 A6 */ mtlr r0 +/* 802AD8A8 002AA808 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802AD8AC 002AA80C 4E 80 00 20 */ blr + +.global Transform__14CRayCastResultFRC12CTransform4f +Transform__14CRayCastResultFRC12CTransform4f: +/* 802AD8B0 002AA810 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AD8B4 002AA814 7C 08 02 A6 */ mflr r0 +/* 802AD8B8 002AA818 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AD8BC 002AA81C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AD8C0 002AA820 7C 9F 23 78 */ mr r31, r4 +/* 802AD8C4 002AA824 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AD8C8 002AA828 7C 7E 1B 78 */ mr r30, r3 +/* 802AD8CC 002AA82C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802AD8D0 002AA830 38 BE 00 04 */ addi r5, r30, 4 +/* 802AD8D4 002AA834 48 06 52 15 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802AD8D8 002AA838 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802AD8DC 002AA83C 7F E4 FB 78 */ mr r4, r31 +/* 802AD8E0 002AA840 38 61 00 08 */ addi r3, r1, 8 +/* 802AD8E4 002AA844 38 BE 00 10 */ addi r5, r30, 0x10 +/* 802AD8E8 002AA848 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802AD8EC 002AA84C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802AD8F0 002AA850 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802AD8F4 002AA854 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802AD8F8 002AA858 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802AD8FC 002AA85C 48 06 51 85 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 802AD900 002AA860 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802AD904 002AA864 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802AD908 002AA868 C0 61 00 08 */ lfs f3, 8(r1) +/* 802AD90C 002AA86C EC 00 01 32 */ fmuls f0, f0, f4 +/* 802AD910 002AA870 C0 3E 00 04 */ lfs f1, 4(r30) +/* 802AD914 002AA874 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 802AD918 002AA878 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802AD91C 002AA87C EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 802AD920 002AA880 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 802AD924 002AA884 D0 9E 00 14 */ stfs f4, 0x14(r30) +/* 802AD928 002AA888 EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 802AD92C 002AA88C D0 BE 00 18 */ stfs f5, 0x18(r30) +/* 802AD930 002AA890 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802AD934 002AA894 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AD938 002AA898 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AD93C 002AA89C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AD940 002AA8A0 7C 08 03 A6 */ mtlr r0 +/* 802AD944 002AA8A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AD948 002AA8A8 4E 80 00 20 */ blr + +.global GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi +GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi: +/* 802AD94C 002AA8AC 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 802AD950 002AA8B0 54 83 18 38 */ slwi r3, r4, 3 +/* 802AD954 002AA8B4 38 03 00 04 */ addi r0, r3, 4 +/* 802AD958 002AA8B8 80 65 00 0C */ lwz r3, 0xc(r5) +/* 802AD95C 002AA8BC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AD960 002AA8C0 4E 80 00 20 */ blr + +.global "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" +"__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList": +/* 802AD964 002AA8C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AD968 002AA8C8 7C 08 02 A6 */ mflr r0 +/* 802AD96C 002AA8CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AD970 002AA8D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AD974 002AA8D4 7C 9F 23 78 */ mr r31, r4 +/* 802AD978 002AA8D8 7C A4 2B 78 */ mr r4, r5 +/* 802AD97C 002AA8DC 93 C1 00 08 */ stw r30, 8(r1) +/* 802AD980 002AA8E0 7C 7E 1B 78 */ mr r30, r3 +/* 802AD984 002AA8E4 48 02 1F 31 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 802AD988 002AA8E8 3C 80 80 3F */ lis r4, lbl_803EC470@ha +/* 802AD98C 002AA8EC 7F C3 F3 78 */ mr r3, r30 +/* 802AD990 002AA8F0 38 04 C4 70 */ addi r0, r4, lbl_803EC470@l +/* 802AD994 002AA8F4 90 1E 00 00 */ stw r0, 0(r30) +/* 802AD998 002AA8F8 93 FE 00 10 */ stw r31, 0x10(r30) +/* 802AD99C 002AA8FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AD9A0 002AA900 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AD9A4 002AA904 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AD9A8 002AA908 7C 08 03 A6 */ mtlr r0 +/* 802AD9AC 002AA90C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AD9B0 002AA910 4E 80 00 20 */ blr + +.global GetType__23CCollidableOBBTreeGroupFv +GetType__23CCollidableOBBTreeGroupFv: +/* 802AD9B4 002AA914 3C A0 80 2B */ lis r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@ha +/* 802AD9B8 002AA918 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AD9BC 002AA91C 38 05 D9 D0 */ addi r0, r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@l +/* 802AD9C0 002AA920 90 03 00 00 */ stw r0, 0(r3) +/* 802AD9C4 002AA924 38 04 60 F0 */ addi r0, r4, lbl_803D60F0@l +/* 802AD9C8 002AA928 90 03 00 04 */ stw r0, 4(r3) +/* 802AD9CC 002AA92C 4E 80 00 20 */ blr + +.global SetStaticTableIndex__23CCollidableOBBTreeGroupFUi +SetStaticTableIndex__23CCollidableOBBTreeGroupFUi: +/* 802AD9D0 002AA930 90 6D 9A 78 */ stw r3, lbl_805A8638@sda21(r13) +/* 802AD9D4 002AA934 4E 80 00 20 */ blr + +.global __ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f +__ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f: +/* 802AD9D8 002AA938 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802AD9DC 002AA93C 7C 08 02 A6 */ mflr r0 +/* 802AD9E0 002AA940 3C C0 80 5A */ lis r6, lbl_805A6754@ha +/* 802AD9E4 002AA944 90 01 00 94 */ stw r0, 0x94(r1) +/* 802AD9E8 002AA948 38 00 00 00 */ li r0, 0 +/* 802AD9EC 002AA94C BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 802AD9F0 002AA950 7C BB 2B 78 */ mr r27, r5 +/* 802AD9F4 002AA954 7C 9C 23 78 */ mr r28, r4 +/* 802AD9F8 002AA958 38 A6 67 54 */ addi r5, r6, lbl_805A6754@l +/* 802AD9FC 002AA95C 7C 7D 1B 78 */ mr r29, r3 +/* 802ADA00 002AA960 38 80 00 01 */ li r4, 1 +/* 802ADA04 002AA964 90 03 00 04 */ stw r0, 4(r3) +/* 802ADA08 002AA968 90 03 00 08 */ stw r0, 8(r3) +/* 802ADA0C 002AA96C 90 03 00 0C */ stw r0, 0xc(r3) +/* 802ADA10 002AA970 90 03 00 14 */ stw r0, 0x14(r3) +/* 802ADA14 002AA974 90 03 00 18 */ stw r0, 0x18(r3) +/* 802ADA18 002AA978 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802ADA1C 002AA97C C0 05 00 00 */ lfs f0, 0(r5) +/* 802ADA20 002AA980 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802ADA24 002AA984 C0 05 00 04 */ lfs f0, 4(r5) +/* 802ADA28 002AA988 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 802ADA2C 002AA98C C0 05 00 08 */ lfs f0, 8(r5) +/* 802ADA30 002AA990 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 802ADA34 002AA994 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 802ADA38 002AA998 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802ADA3C 002AA99C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 802ADA40 002AA9A0 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802ADA44 002AA9A4 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 802ADA48 002AA9A8 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802ADA4C 002AA9AC 48 00 07 6D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +/* 802ADA50 002AA9B0 7F 84 E3 78 */ mr r4, r28 +/* 802ADA54 002AA9B4 7F 65 DB 78 */ mr r5, r27 +/* 802ADA58 002AA9B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802ADA5C 002AA9BC 4B FF A5 B5 */ bl BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f +/* 802ADA60 002AA9C0 88 81 00 18 */ lbz r4, 0x18(r1) +/* 802ADA64 002AA9C4 38 00 00 00 */ li r0, 0 +/* 802ADA68 002AA9C8 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802ADA6C 002AA9CC 98 01 00 18 */ stb r0, 0x18(r1) +/* 802ADA70 002AA9D0 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADA74 002AA9D4 80 BD 00 08 */ lwz r5, 8(r29) +/* 802ADA78 002AA9D8 98 81 00 10 */ stb r4, 0x10(r1) +/* 802ADA7C 002AA9DC 7C 00 28 00 */ cmpw r0, r5 +/* 802ADA80 002AA9E0 90 61 00 14 */ stw r3, 0x14(r1) +/* 802ADA84 002AA9E4 41 80 00 1C */ blt lbl_802ADAA0 +/* 802ADA88 002AA9E8 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADA8C 002AA9EC 7F A3 EB 78 */ mr r3, r29 +/* 802ADA90 002AA9F0 38 80 00 04 */ li r4, 4 +/* 802ADA94 002AA9F4 41 82 00 08 */ beq lbl_802ADA9C +/* 802ADA98 002AA9F8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADA9C: +/* 802ADA9C 002AA9FC 48 00 07 1D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +lbl_802ADAA0: +/* 802ADAA0 002AAA00 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADAA4 002AAA04 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802ADAA8 002AAA08 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADAAC 002AAA0C 7C A3 02 15 */ add. r5, r3, r0 +/* 802ADAB0 002AAA10 41 82 00 1C */ beq lbl_802ADACC +/* 802ADAB4 002AAA14 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802ADAB8 002AAA18 38 00 00 00 */ li r0, 0 +/* 802ADABC 002AAA1C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADAC0 002AAA20 98 85 00 00 */ stb r4, 0(r5) +/* 802ADAC4 002AAA24 90 65 00 04 */ stw r3, 4(r5) +/* 802ADAC8 002AAA28 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802ADACC: +/* 802ADACC 002AAA2C 80 7D 00 04 */ lwz r3, 4(r29) +/* 802ADAD0 002AAA30 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802ADAD4 002AAA34 38 63 00 01 */ addi r3, r3, 1 +/* 802ADAD8 002AAA38 28 00 00 00 */ cmplwi r0, 0 +/* 802ADADC 002AAA3C 90 7D 00 04 */ stw r3, 4(r29) +/* 802ADAE0 002AAA40 41 82 00 10 */ beq lbl_802ADAF0 +/* 802ADAE4 002AAA44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADAE8 002AAA48 38 80 00 01 */ li r4, 1 +/* 802ADAEC 002AAA4C 4B FF B2 25 */ bl __dt__8COBBTreeFv +lbl_802ADAF0: +/* 802ADAF0 002AAA50 88 01 00 18 */ lbz r0, 0x18(r1) +/* 802ADAF4 002AAA54 28 00 00 00 */ cmplwi r0, 0 +/* 802ADAF8 002AAA58 41 82 00 10 */ beq lbl_802ADB08 +/* 802ADAFC 002AAA5C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 802ADB00 002AAA60 38 80 00 01 */ li r4, 1 +/* 802ADB04 002AAA64 4B FF B2 0D */ bl __dt__8COBBTreeFv +lbl_802ADB08: +/* 802ADB08 002AAA68 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802ADB0C 002AAA6C 38 80 00 01 */ li r4, 1 +/* 802ADB10 002AAA70 48 00 07 B9 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +/* 802ADB14 002AAA74 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ADB18 002AAA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ADB1C 002AAA7C 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 802ADB20 002AAA80 3B C1 00 44 */ addi r30, r1, 0x44 +/* 802ADB24 002AAA84 3B 64 C4 48 */ addi r27, r4, lbl_803EC448@l +/* 802ADB28 002AAA88 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l +/* 802ADB2C 002AAA8C 48 00 00 F8 */ b lbl_802ADC24 +lbl_802ADB30: +/* 802ADB30 002AAA90 38 00 00 00 */ li r0, 0 +/* 802ADB34 002AAA94 38 61 00 50 */ addi r3, r1, 0x50 +/* 802ADB38 002AAA98 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ADB3C 002AAA9C 38 A1 00 08 */ addi r5, r1, 8 +/* 802ADB40 002AAAA0 90 01 00 08 */ stw r0, 8(r1) +/* 802ADB44 002AAAA4 80 9F 00 04 */ lwz r4, 4(r31) +/* 802ADB48 002AAAA8 4B FF EB 9D */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ADB4C 002AAAAC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802ADB50 002AAAB0 38 81 00 50 */ addi r4, r1, 0x50 +/* 802ADB54 002AAAB4 4B FF EA D9 */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv +/* 802ADB58 002AAAB8 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 802ADB5C 002AAABC C0 81 00 24 */ lfs f4, 0x24(r1) +/* 802ADB60 002AAAC0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802ADB64 002AAAC4 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 802ADB68 002AAAC8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802ADB6C 002AAACC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802ADB70 002AAAD0 D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802ADB74 002AAAD4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802ADB78 002AAAD8 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802ADB7C 002AAADC D0 41 00 44 */ stfs f2, 0x44(r1) +/* 802ADB80 002AAAE0 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 802ADB84 002AAAE4 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802ADB88 002AAAE8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802ADB8C 002AAAEC 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 802ADB90 002AAAF0 7C 00 28 00 */ cmpw r0, r5 +/* 802ADB94 002AAAF4 41 80 00 1C */ blt lbl_802ADBB0 +/* 802ADB98 002AAAF8 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADB9C 002AAAFC 38 7D 00 10 */ addi r3, r29, 0x10 +/* 802ADBA0 002AAB00 38 80 00 04 */ li r4, 4 +/* 802ADBA4 002AAB04 41 82 00 08 */ beq lbl_802ADBAC +/* 802ADBA8 002AAB08 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADBAC: +/* 802ADBAC 002AAB0C 48 00 07 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +lbl_802ADBB0: +/* 802ADBB0 002AAB10 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 802ADBB4 002AAB14 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 802ADBB8 002AAB18 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802ADBBC 002AAB1C 7C 63 02 15 */ add. r3, r3, r0 +/* 802ADBC0 002AAB20 41 82 00 34 */ beq lbl_802ADBF4 +/* 802ADBC4 002AAB24 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ADBC8 002AAB28 D0 03 00 00 */ stfs f0, 0(r3) +/* 802ADBCC 002AAB2C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802ADBD0 002AAB30 D0 03 00 04 */ stfs f0, 4(r3) +/* 802ADBD4 002AAB34 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802ADBD8 002AAB38 D0 03 00 08 */ stfs f0, 8(r3) +/* 802ADBDC 002AAB3C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802ADBE0 002AAB40 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802ADBE4 002AAB44 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 802ADBE8 002AAB48 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802ADBEC 002AAB4C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 802ADBF0 002AAB50 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802ADBF4: +/* 802ADBF4 002AAB54 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 802ADBF8 002AAB58 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ADBFC 002AAB5C 38 81 00 38 */ addi r4, r1, 0x38 +/* 802ADC00 002AAB60 38 05 00 01 */ addi r0, r5, 1 +/* 802ADC04 002AAB64 90 1D 00 14 */ stw r0, 0x14(r29) +/* 802ADC08 002AAB68 48 08 9F 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADC0C 002AAB6C 7F C4 F3 78 */ mr r4, r30 +/* 802ADC10 002AAB70 38 7D 00 20 */ addi r3, r29, 0x20 +/* 802ADC14 002AAB74 48 08 9E F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADC18 002AAB78 93 61 00 50 */ stw r27, 0x50(r1) +/* 802ADC1C 002AAB7C 3B FF 00 08 */ addi r31, r31, 8 +/* 802ADC20 002AAB80 93 81 00 50 */ stw r28, 0x50(r1) +lbl_802ADC24: +/* 802ADC24 002AAB84 80 1D 00 04 */ lwz r0, 4(r29) +/* 802ADC28 002AAB88 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 802ADC2C 002AAB8C 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADC30 002AAB90 7C 03 02 14 */ add r0, r3, r0 +/* 802ADC34 002AAB94 7C 1F 00 40 */ cmplw r31, r0 +/* 802ADC38 002AAB98 40 82 FE F8 */ bne lbl_802ADB30 +/* 802ADC3C 002AAB9C 7F A3 EB 78 */ mr r3, r29 +/* 802ADC40 002AABA0 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 802ADC44 002AABA4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802ADC48 002AABA8 7C 08 03 A6 */ mtlr r0 +/* 802ADC4C 002AABAC 38 21 00 90 */ addi r1, r1, 0x90 +/* 802ADC50 002AABB0 4E 80 00 20 */ blr + +.global __ct__23CCollidableOBBTreeGroupFR12CInputStream +__ct__23CCollidableOBBTreeGroupFR12CInputStream: +/* 802ADC54 002AABB4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802ADC58 002AABB8 7C 08 02 A6 */ mflr r0 +/* 802ADC5C 002AABBC 90 01 00 84 */ stw r0, 0x84(r1) +/* 802ADC60 002AABC0 38 00 00 00 */ li r0, 0 +/* 802ADC64 002AABC4 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 802ADC68 002AABC8 7C 7B 1B 78 */ mr r27, r3 +/* 802ADC6C 002AABCC 7C 9C 23 78 */ mr r28, r4 +/* 802ADC70 002AABD0 90 03 00 04 */ stw r0, 4(r3) +/* 802ADC74 002AABD4 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802ADC78 002AABD8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 802ADC7C 002AABDC 90 1B 00 08 */ stw r0, 8(r27) +/* 802ADC80 002AABE0 7F 83 E3 78 */ mr r3, r28 +/* 802ADC84 002AABE4 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802ADC88 002AABE8 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802ADC8C 002AABEC 90 1B 00 18 */ stw r0, 0x18(r27) +/* 802ADC90 002AABF0 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 802ADC94 002AABF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 802ADC98 002AABF8 D0 1B 00 20 */ stfs f0, 0x20(r27) +/* 802ADC9C 002AABFC C0 04 00 04 */ lfs f0, 4(r4) +/* 802ADCA0 002AAC00 D0 1B 00 24 */ stfs f0, 0x24(r27) +/* 802ADCA4 002AAC04 C0 04 00 08 */ lfs f0, 8(r4) +/* 802ADCA8 002AAC08 D0 1B 00 28 */ stfs f0, 0x28(r27) +/* 802ADCAC 002AAC0C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802ADCB0 002AAC10 D0 1B 00 2C */ stfs f0, 0x2c(r27) +/* 802ADCB4 002AAC14 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802ADCB8 002AAC18 D0 1B 00 30 */ stfs f0, 0x30(r27) +/* 802ADCBC 002AAC1C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802ADCC0 002AAC20 D0 1B 00 34 */ stfs f0, 0x34(r27) +/* 802ADCC4 002AAC24 48 09 0F C1 */ bl ReadLong__12CInputStreamFv +/* 802ADCC8 002AAC28 7C 7E 1B 78 */ mr r30, r3 +/* 802ADCCC 002AAC2C 7F 63 DB 78 */ mr r3, r27 +/* 802ADCD0 002AAC30 7F C4 F3 78 */ mr r4, r30 +/* 802ADCD4 002AAC34 48 00 04 E5 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +/* 802ADCD8 002AAC38 3C 60 80 3D */ lis r3, lbl_803D60F0@ha +/* 802ADCDC 002AAC3C 3B A0 00 00 */ li r29, 0 +/* 802ADCE0 002AAC40 3B E3 60 F0 */ addi r31, r3, lbl_803D60F0@l +/* 802ADCE4 002AAC44 48 00 00 B8 */ b lbl_802ADD9C +lbl_802ADCE8: +/* 802ADCE8 002AAC48 38 9F 00 18 */ addi r4, r31, 0x18 +/* 802ADCEC 002AAC4C 38 60 00 8C */ li r3, 0x8c +/* 802ADCF0 002AAC50 38 A0 00 00 */ li r5, 0 +/* 802ADCF4 002AAC54 48 06 7B 79 */ bl __nw__FUlPCcPCc +/* 802ADCF8 002AAC58 7C 64 1B 79 */ or. r4, r3, r3 +/* 802ADCFC 002AAC5C 41 82 00 10 */ beq lbl_802ADD0C +/* 802ADD00 002AAC60 7F 84 E3 78 */ mr r4, r28 +/* 802ADD04 002AAC64 4B FF B0 9D */ bl __ct__8COBBTreeFR12CInputStream +/* 802ADD08 002AAC68 7C 64 1B 78 */ mr r4, r3 +lbl_802ADD0C: +/* 802ADD0C 002AAC6C 7C 64 00 D0 */ neg r3, r4 +/* 802ADD10 002AAC70 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADD14 002AAC74 80 BB 00 08 */ lwz r5, 8(r27) +/* 802ADD18 002AAC78 7C 63 23 78 */ or r3, r3, r4 +/* 802ADD1C 002AAC7C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 802ADD20 002AAC80 90 81 00 14 */ stw r4, 0x14(r1) +/* 802ADD24 002AAC84 7C 00 28 00 */ cmpw r0, r5 +/* 802ADD28 002AAC88 98 61 00 10 */ stb r3, 0x10(r1) +/* 802ADD2C 002AAC8C 41 80 00 1C */ blt lbl_802ADD48 +/* 802ADD30 002AAC90 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADD34 002AAC94 7F 63 DB 78 */ mr r3, r27 +/* 802ADD38 002AAC98 38 80 00 04 */ li r4, 4 +/* 802ADD3C 002AAC9C 41 82 00 08 */ beq lbl_802ADD44 +/* 802ADD40 002AACA0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADD44: +/* 802ADD44 002AACA4 48 00 04 75 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +lbl_802ADD48: +/* 802ADD48 002AACA8 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADD4C 002AACAC 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802ADD50 002AACB0 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADD54 002AACB4 7C A3 02 15 */ add. r5, r3, r0 +/* 802ADD58 002AACB8 41 82 00 1C */ beq lbl_802ADD74 +/* 802ADD5C 002AACBC 88 81 00 10 */ lbz r4, 0x10(r1) +/* 802ADD60 002AACC0 38 00 00 00 */ li r0, 0 +/* 802ADD64 002AACC4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADD68 002AACC8 98 85 00 00 */ stb r4, 0(r5) +/* 802ADD6C 002AACCC 90 65 00 04 */ stw r3, 4(r5) +/* 802ADD70 002AACD0 98 01 00 10 */ stb r0, 0x10(r1) +lbl_802ADD74: +/* 802ADD74 002AACD4 80 7B 00 04 */ lwz r3, 4(r27) +/* 802ADD78 002AACD8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802ADD7C 002AACDC 38 63 00 01 */ addi r3, r3, 1 +/* 802ADD80 002AACE0 28 00 00 00 */ cmplwi r0, 0 +/* 802ADD84 002AACE4 90 7B 00 04 */ stw r3, 4(r27) +/* 802ADD88 002AACE8 41 82 00 10 */ beq lbl_802ADD98 +/* 802ADD8C 002AACEC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802ADD90 002AACF0 38 80 00 01 */ li r4, 1 +/* 802ADD94 002AACF4 4B FF AF 7D */ bl __dt__8COBBTreeFv +lbl_802ADD98: +/* 802ADD98 002AACF8 3B BD 00 01 */ addi r29, r29, 1 +lbl_802ADD9C: +/* 802ADD9C 002AACFC 7C 1D F0 40 */ cmplw r29, r30 +/* 802ADDA0 002AAD00 41 80 FF 48 */ blt lbl_802ADCE8 +/* 802ADDA4 002AAD04 80 9B 00 04 */ lwz r4, 4(r27) +/* 802ADDA8 002AAD08 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802ADDAC 002AAD0C 48 00 05 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +/* 802ADDB0 002AAD10 3C 80 80 3F */ lis r4, lbl_803EC448@ha +/* 802ADDB4 002AAD14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 802ADDB8 002AAD18 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 802ADDBC 002AAD1C 3B E1 00 3C */ addi r31, r1, 0x3c +/* 802ADDC0 002AAD20 3B A4 C4 48 */ addi r29, r4, lbl_803EC448@l +/* 802ADDC4 002AAD24 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l +/* 802ADDC8 002AAD28 48 00 00 F8 */ b lbl_802ADEC0 +lbl_802ADDCC: +/* 802ADDCC 002AAD2C 38 00 00 00 */ li r0, 0 +/* 802ADDD0 002AAD30 38 61 00 48 */ addi r3, r1, 0x48 +/* 802ADDD4 002AAD34 90 01 00 0C */ stw r0, 0xc(r1) +/* 802ADDD8 002AAD38 38 A1 00 08 */ addi r5, r1, 8 +/* 802ADDDC 002AAD3C 90 01 00 08 */ stw r0, 8(r1) +/* 802ADDE0 002AAD40 80 9E 00 04 */ lwz r4, 4(r30) +/* 802ADDE4 002AAD44 4B FF E9 01 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList +/* 802ADDE8 002AAD48 38 61 00 18 */ addi r3, r1, 0x18 +/* 802ADDEC 002AAD4C 38 81 00 48 */ addi r4, r1, 0x48 +/* 802ADDF0 002AAD50 4B FF E8 3D */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv +/* 802ADDF4 002AAD54 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 802ADDF8 002AAD58 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 802ADDFC 002AAD5C C0 61 00 20 */ lfs f3, 0x20(r1) +/* 802ADE00 002AAD60 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802ADE04 002AAD64 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802ADE08 002AAD68 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802ADE0C 002AAD6C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 802ADE10 002AAD70 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 802ADE14 002AAD74 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 802ADE18 002AAD78 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 802ADE1C 002AAD7C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 802ADE20 002AAD80 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 802ADE24 002AAD84 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802ADE28 002AAD88 80 BB 00 18 */ lwz r5, 0x18(r27) +/* 802ADE2C 002AAD8C 7C 00 28 00 */ cmpw r0, r5 +/* 802ADE30 002AAD90 41 80 00 1C */ blt lbl_802ADE4C +/* 802ADE34 002AAD94 2C 05 00 00 */ cmpwi r5, 0 +/* 802ADE38 002AAD98 38 7B 00 10 */ addi r3, r27, 0x10 +/* 802ADE3C 002AAD9C 38 80 00 04 */ li r4, 4 +/* 802ADE40 002AADA0 41 82 00 08 */ beq lbl_802ADE48 +/* 802ADE44 002AADA4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802ADE48: +/* 802ADE48 002AADA8 48 00 04 81 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +lbl_802ADE4C: +/* 802ADE4C 002AADAC 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 802ADE50 002AADB0 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 802ADE54 002AADB4 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802ADE58 002AADB8 7C 63 02 15 */ add. r3, r3, r0 +/* 802ADE5C 002AADBC 41 82 00 34 */ beq lbl_802ADE90 +/* 802ADE60 002AADC0 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802ADE64 002AADC4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802ADE68 002AADC8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 802ADE6C 002AADCC D0 03 00 04 */ stfs f0, 4(r3) +/* 802ADE70 002AADD0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 802ADE74 002AADD4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802ADE78 002AADD8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 802ADE7C 002AADDC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802ADE80 002AADE0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 802ADE84 002AADE4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802ADE88 002AADE8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 802ADE8C 002AADEC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802ADE90: +/* 802ADE90 002AADF0 80 BB 00 14 */ lwz r5, 0x14(r27) +/* 802ADE94 002AADF4 38 7B 00 20 */ addi r3, r27, 0x20 +/* 802ADE98 002AADF8 38 81 00 30 */ addi r4, r1, 0x30 +/* 802ADE9C 002AADFC 38 05 00 01 */ addi r0, r5, 1 +/* 802ADEA0 002AAE00 90 1B 00 14 */ stw r0, 0x14(r27) +/* 802ADEA4 002AAE04 48 08 9C 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADEA8 002AAE08 7F E4 FB 78 */ mr r4, r31 +/* 802ADEAC 002AAE0C 38 7B 00 20 */ addi r3, r27, 0x20 +/* 802ADEB0 002AAE10 48 08 9C 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802ADEB4 002AAE14 93 A1 00 48 */ stw r29, 0x48(r1) +/* 802ADEB8 002AAE18 3B DE 00 08 */ addi r30, r30, 8 +/* 802ADEBC 002AAE1C 93 81 00 48 */ stw r28, 0x48(r1) +lbl_802ADEC0: +/* 802ADEC0 002AAE20 80 1B 00 04 */ lwz r0, 4(r27) +/* 802ADEC4 002AAE24 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802ADEC8 002AAE28 54 00 18 38 */ slwi r0, r0, 3 +/* 802ADECC 002AAE2C 7C 03 02 14 */ add r0, r3, r0 +/* 802ADED0 002AAE30 7C 1E 00 40 */ cmplw r30, r0 +/* 802ADED4 002AAE34 40 82 FE F8 */ bne lbl_802ADDCC +/* 802ADED8 002AAE38 7F 63 DB 78 */ mr r3, r27 +/* 802ADEDC 002AAE3C BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 802ADEE0 002AAE40 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802ADEE4 002AAE44 7C 08 03 A6 */ mtlr r0 +/* 802ADEE8 002AAE48 38 21 00 80 */ addi r1, r1, 0x80 +/* 802ADEEC 002AAE4C 4E 80 00 20 */ blr + +.global FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 802ADEF0 002AAE50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802ADEF4 002AAE54 7C 08 02 A6 */ mflr r0 +/* 802ADEF8 002AAE58 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802ADEFC 002AAE5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802ADF00 002AAE60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802ADF04 002AAE64 7C BF 2B 78 */ mr r31, r5 +/* 802ADF08 002AAE68 38 A0 00 00 */ li r5, 0 +/* 802ADF0C 002AAE6C 93 C1 00 08 */ stw r30, 8(r1) +/* 802ADF10 002AAE70 7C 7E 1B 78 */ mr r30, r3 +/* 802ADF14 002AAE74 38 64 60 F0 */ addi r3, r4, lbl_803D60F0@l +/* 802ADF18 002AAE78 38 83 00 18 */ addi r4, r3, 0x18 +/* 802ADF1C 002AAE7C 38 60 00 38 */ li r3, 0x38 +/* 802ADF20 002AAE80 48 06 79 4D */ bl __nw__FUlPCcPCc +/* 802ADF24 002AAE84 7C 64 1B 79 */ or. r4, r3, r3 +/* 802ADF28 002AAE88 41 82 00 10 */ beq lbl_802ADF38 +/* 802ADF2C 002AAE8C 7F E4 FB 78 */ mr r4, r31 +/* 802ADF30 002AAE90 4B FF FD 25 */ bl __ct__23CCollidableOBBTreeGroupFR12CInputStream +/* 802ADF34 002AAE94 7C 64 1B 78 */ mr r4, r3 +lbl_802ADF38: +/* 802ADF38 002AAE98 7F C3 F3 78 */ mr r3, r30 +/* 802ADF3C 002AAE9C 48 00 00 1D */ bl "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" +/* 802ADF40 002AAEA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802ADF44 002AAEA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802ADF48 002AAEA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 802ADF4C 002AAEAC 7C 08 03 A6 */ mtlr r0 +/* 802ADF50 002AAEB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802ADF54 002AAEB4 4E 80 00 20 */ blr + +.global "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" +"__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup": +/* 802ADF58 002AAEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802ADF5C 002AAEBC 7C 08 02 A6 */ mflr r0 +/* 802ADF60 002AAEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 802ADF64 002AAEC4 7C 04 00 D0 */ neg r0, r4 +/* 802ADF68 002AAEC8 7C 00 23 78 */ or r0, r0, r4 +/* 802ADF6C 002AAECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802ADF70 002AAED0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802ADF74 002AAED4 7C 7F 1B 78 */ mr r31, r3 +/* 802ADF78 002AAED8 38 61 00 08 */ addi r3, r1, 8 +/* 802ADF7C 002AAEDC 90 81 00 14 */ stw r4, 0x14(r1) +/* 802ADF80 002AAEE0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802ADF84 002AAEE4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802ADF88 002AAEE8 48 00 01 05 */ bl "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +/* 802ADF8C 002AAEEC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802ADF90 002AAEF0 38 00 00 00 */ li r0, 0 +/* 802ADF94 002AAEF4 98 01 00 08 */ stb r0, 8(r1) +/* 802ADF98 002AAEF8 7C 03 00 D0 */ neg r0, r3 +/* 802ADF9C 002AAEFC 7C 00 1B 78 */ or r0, r0, r3 +/* 802ADFA0 002AAF00 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802ADFA4 002AAF04 98 1F 00 00 */ stb r0, 0(r31) +/* 802ADFA8 002AAF08 90 7F 00 04 */ stw r3, 4(r31) +/* 802ADFAC 002AAF0C 88 01 00 08 */ lbz r0, 8(r1) +/* 802ADFB0 002AAF10 28 00 00 00 */ cmplwi r0, 0 +/* 802ADFB4 002AAF14 41 82 00 24 */ beq lbl_802ADFD8 +/* 802ADFB8 002AAF18 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802ADFBC 002AAF1C 28 03 00 00 */ cmplwi r3, 0 +/* 802ADFC0 002AAF20 41 82 00 18 */ beq lbl_802ADFD8 +/* 802ADFC4 002AAF24 81 83 00 00 */ lwz r12, 0(r3) +/* 802ADFC8 002AAF28 38 80 00 01 */ li r4, 1 +/* 802ADFCC 002AAF2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 802ADFD0 002AAF30 7D 89 03 A6 */ mtctr r12 +/* 802ADFD4 002AAF34 4E 80 04 21 */ bctrl +lbl_802ADFD8: +/* 802ADFD8 002AAF38 38 61 00 10 */ addi r3, r1, 0x10 +/* 802ADFDC 002AAF3C 38 80 FF FF */ li r4, -1 +/* 802ADFE0 002AAF40 48 00 01 75 */ bl sub_802ae154 +/* 802ADFE4 002AAF44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802ADFE8 002AAF48 7F E3 FB 78 */ mr r3, r31 +/* 802ADFEC 002AAF4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802ADFF0 002AAF50 7C 08 03 A6 */ mtlr r0 +/* 802ADFF4 002AAF54 38 21 00 20 */ addi r1, r1, 0x20 +/* 802ADFF8 002AAF58 4E 80 00 20 */ blr + +.global "__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv" +"__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv": +/* 802ADFFC 002AAF5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE000 002AAF60 7C 08 02 A6 */ mflr r0 +/* 802AE004 002AAF64 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE008 002AAF68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE00C 002AAF6C 7C 9F 23 78 */ mr r31, r4 +/* 802AE010 002AAF70 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE014 002AAF74 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802AE018 002AAF78 41 82 00 58 */ beq lbl_802AE070 +/* 802AE01C 002AAF7C 3C 60 80 3F */ lis r3, lbl_803EC498@ha +/* 802AE020 002AAF80 38 03 C4 98 */ addi r0, r3, lbl_803EC498@l +/* 802AE024 002AAF84 90 1E 00 00 */ stw r0, 0(r30) +/* 802AE028 002AAF88 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE02C 002AAF8C 28 03 00 00 */ cmplwi r3, 0 +/* 802AE030 002AAF90 41 82 00 0C */ beq lbl_802AE03C +/* 802AE034 002AAF94 38 80 00 01 */ li r4, 1 +/* 802AE038 002AAF98 4B EF A9 D5 */ bl sub_801a8a0c +lbl_802AE03C: +/* 802AE03C 002AAF9C 28 1E 00 00 */ cmplwi r30, 0 +/* 802AE040 002AAFA0 41 82 00 20 */ beq lbl_802AE060 +/* 802AE044 002AAFA4 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 802AE048 002AAFA8 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 802AE04C 002AAFAC 90 1E 00 00 */ stw r0, 0(r30) +/* 802AE050 002AAFB0 41 82 00 10 */ beq lbl_802AE060 +/* 802AE054 002AAFB4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 802AE058 002AAFB8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 802AE05C 002AAFBC 90 1E 00 00 */ stw r0, 0(r30) +lbl_802AE060: +/* 802AE060 002AAFC0 7F E0 07 35 */ extsh. r0, r31 +/* 802AE064 002AAFC4 40 81 00 0C */ ble lbl_802AE070 +/* 802AE068 002AAFC8 7F C3 F3 78 */ mr r3, r30 +/* 802AE06C 002AAFCC 48 06 78 C5 */ bl Free__7CMemoryFPCv +lbl_802AE070: +/* 802AE070 002AAFD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE074 002AAFD4 7F C3 F3 78 */ mr r3, r30 +/* 802AE078 002AAFD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE07C 002AAFDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE080 002AAFE0 7C 08 03 A6 */ mtlr r0 +/* 802AE084 002AAFE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE088 002AAFE8 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +"GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": +/* 802AE08C 002AAFEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE090 002AAFF0 7C 08 02 A6 */ mflr r0 +/* 802AE094 002AAFF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE098 002AAFF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE09C 002AAFFC 7C 7F 1B 78 */ mr r31, r3 +/* 802AE0A0 002AB000 48 00 00 19 */ bl "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +/* 802AE0A4 002AB004 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE0A8 002AB008 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE0AC 002AB00C 7C 08 03 A6 */ mtlr r0 +/* 802AE0B0 002AB010 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE0B4 002AB014 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" +"GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": +/* 802AE0B8 002AB018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE0BC 002AB01C 7C 08 02 A6 */ mflr r0 +/* 802AE0C0 002AB020 3C A0 80 3D */ lis r5, lbl_803D60F0@ha +/* 802AE0C4 002AB024 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE0C8 002AB028 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE0CC 002AB02C 7C 9F 23 78 */ mr r31, r4 +/* 802AE0D0 002AB030 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE0D4 002AB034 7C 7E 1B 78 */ mr r30, r3 +/* 802AE0D8 002AB038 38 65 60 F0 */ addi r3, r5, lbl_803D60F0@l +/* 802AE0DC 002AB03C 38 A0 00 00 */ li r5, 0 +/* 802AE0E0 002AB040 38 83 00 18 */ addi r4, r3, 0x18 +/* 802AE0E4 002AB044 38 60 00 08 */ li r3, 8 +/* 802AE0E8 002AB048 48 06 77 85 */ bl __nw__FUlPCcPCc +/* 802AE0EC 002AB04C 28 03 00 00 */ cmplwi r3, 0 +/* 802AE0F0 002AB050 41 82 00 38 */ beq lbl_802AE128 +/* 802AE0F4 002AB054 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 802AE0F8 002AB058 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 802AE0FC 002AB05C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 802AE100 002AB060 3C 80 80 3F */ lis r4, lbl_803EC498@ha +/* 802AE104 002AB064 90 03 00 00 */ stw r0, 0(r3) +/* 802AE108 002AB068 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 802AE10C 002AB06C 38 A0 00 00 */ li r5, 0 +/* 802AE110 002AB070 38 04 C4 98 */ addi r0, r4, lbl_803EC498@l +/* 802AE114 002AB074 90 C3 00 00 */ stw r6, 0(r3) +/* 802AE118 002AB078 98 BF 00 00 */ stb r5, 0(r31) +/* 802AE11C 002AB07C 80 9F 00 04 */ lwz r4, 4(r31) +/* 802AE120 002AB080 90 83 00 04 */ stw r4, 4(r3) +/* 802AE124 002AB084 90 03 00 00 */ stw r0, 0(r3) +lbl_802AE128: +/* 802AE128 002AB088 7C 03 00 D0 */ neg r0, r3 +/* 802AE12C 002AB08C 7C 00 1B 78 */ or r0, r0, r3 +/* 802AE130 002AB090 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802AE134 002AB094 98 1E 00 00 */ stb r0, 0(r30) +/* 802AE138 002AB098 90 7E 00 04 */ stw r3, 4(r30) +/* 802AE13C 002AB09C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE140 002AB0A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE144 002AB0A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE148 002AB0A8 7C 08 03 A6 */ mtlr r0 +/* 802AE14C 002AB0AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE150 002AB0B0 4E 80 00 20 */ blr + +.global sub_802ae154 +sub_802ae154: +/* 802AE154 002AB0B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802AE158 002AB0B8 7C 08 02 A6 */ mflr r0 +/* 802AE15C 002AB0BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802AE160 002AB0C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802AE164 002AB0C4 7C 9F 23 78 */ mr r31, r4 +/* 802AE168 002AB0C8 93 C1 00 08 */ stw r30, 8(r1) +/* 802AE16C 002AB0CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802AE170 002AB0D0 41 82 00 2C */ beq lbl_802AE19C +/* 802AE174 002AB0D4 88 1E 00 00 */ lbz r0, 0(r30) +/* 802AE178 002AB0D8 28 00 00 00 */ cmplwi r0, 0 +/* 802AE17C 002AB0DC 41 82 00 10 */ beq lbl_802AE18C +/* 802AE180 002AB0E0 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE184 002AB0E4 38 80 00 01 */ li r4, 1 +/* 802AE188 002AB0E8 4B EF A8 85 */ bl sub_801a8a0c +lbl_802AE18C: +/* 802AE18C 002AB0EC 7F E0 07 35 */ extsh. r0, r31 +/* 802AE190 002AB0F0 40 81 00 0C */ ble lbl_802AE19C +/* 802AE194 002AB0F4 7F C3 F3 78 */ mr r3, r30 +/* 802AE198 002AB0F8 48 06 77 99 */ bl Free__7CMemoryFPCv +lbl_802AE19C: +/* 802AE19C 002AB0FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802AE1A0 002AB100 7F C3 F3 78 */ mr r3, r30 +/* 802AE1A4 002AB104 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802AE1A8 002AB108 83 C1 00 08 */ lwz r30, 8(r1) +/* 802AE1AC 002AB10C 7C 08 03 A6 */ mtlr r0 +/* 802AE1B0 002AB110 38 21 00 10 */ addi r1, r1, 0x10 +/* 802AE1B4 002AB114 4E 80 00 20 */ blr + +.global "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi": +/* 802AE1B8 002AB118 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE1BC 002AB11C 7C 08 02 A6 */ mflr r0 +/* 802AE1C0 002AB120 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE1C4 002AB124 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802AE1C8 002AB128 7C 9F 23 78 */ mr r31, r4 +/* 802AE1CC 002AB12C 7C 7E 1B 78 */ mr r30, r3 +/* 802AE1D0 002AB130 80 03 00 08 */ lwz r0, 8(r3) +/* 802AE1D4 002AB134 7C 1F 00 00 */ cmpw r31, r0 +/* 802AE1D8 002AB138 40 81 00 DC */ ble lbl_802AE2B4 +/* 802AE1DC 002AB13C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 802AE1E0 002AB140 40 82 00 0C */ bne lbl_802AE1EC +/* 802AE1E4 002AB144 3B A0 00 00 */ li r29, 0 +/* 802AE1E8 002AB148 48 00 00 1C */ b lbl_802AE204 +lbl_802AE1EC: +/* 802AE1EC 002AB14C 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AE1F0 002AB150 38 A0 00 00 */ li r5, 0 +/* 802AE1F4 002AB154 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l +/* 802AE1F8 002AB158 38 84 00 18 */ addi r4, r4, 0x18 +/* 802AE1FC 002AB15C 48 06 76 1D */ bl __nwa__FUlPCcPCc +/* 802AE200 002AB160 7C 7D 1B 78 */ mr r29, r3 +lbl_802AE204: +/* 802AE204 002AB164 80 7E 00 04 */ lwz r3, 4(r30) +/* 802AE208 002AB168 7F A5 EB 78 */ mr r5, r29 +/* 802AE20C 002AB16C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 802AE210 002AB170 38 00 00 00 */ li r0, 0 +/* 802AE214 002AB174 54 63 18 38 */ slwi r3, r3, 3 +/* 802AE218 002AB178 7C 86 1A 14 */ add r4, r6, r3 +/* 802AE21C 002AB17C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802AE220 002AB180 90 81 00 08 */ stw r4, 8(r1) +/* 802AE224 002AB184 90 81 00 0C */ stw r4, 0xc(r1) +/* 802AE228 002AB188 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802AE22C 002AB18C 48 00 00 28 */ b lbl_802AE254 +lbl_802AE230: +/* 802AE230 002AB190 28 05 00 00 */ cmplwi r5, 0 +/* 802AE234 002AB194 41 82 00 18 */ beq lbl_802AE24C +/* 802AE238 002AB198 88 66 00 00 */ lbz r3, 0(r6) +/* 802AE23C 002AB19C 98 65 00 00 */ stb r3, 0(r5) +/* 802AE240 002AB1A0 80 66 00 04 */ lwz r3, 4(r6) +/* 802AE244 002AB1A4 90 65 00 04 */ stw r3, 4(r5) +/* 802AE248 002AB1A8 98 06 00 00 */ stb r0, 0(r6) +lbl_802AE24C: +/* 802AE24C 002AB1AC 38 A5 00 08 */ addi r5, r5, 8 +/* 802AE250 002AB1B0 38 C6 00 08 */ addi r6, r6, 8 +lbl_802AE254: +/* 802AE254 002AB1B4 7C 06 20 40 */ cmplw r6, r4 +/* 802AE258 002AB1B8 40 82 FF D8 */ bne lbl_802AE230 +/* 802AE25C 002AB1BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE260 002AB1C0 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 802AE264 002AB1C4 54 00 18 38 */ slwi r0, r0, 3 +/* 802AE268 002AB1C8 7F 9B 02 14 */ add r28, r27, r0 +/* 802AE26C 002AB1CC 48 00 00 28 */ b lbl_802AE294 +lbl_802AE270: +/* 802AE270 002AB1D0 28 1B 00 00 */ cmplwi r27, 0 +/* 802AE274 002AB1D4 41 82 00 1C */ beq lbl_802AE290 +/* 802AE278 002AB1D8 88 1B 00 00 */ lbz r0, 0(r27) +/* 802AE27C 002AB1DC 28 00 00 00 */ cmplwi r0, 0 +/* 802AE280 002AB1E0 41 82 00 10 */ beq lbl_802AE290 +/* 802AE284 002AB1E4 80 7B 00 04 */ lwz r3, 4(r27) +/* 802AE288 002AB1E8 38 80 00 01 */ li r4, 1 +/* 802AE28C 002AB1EC 4B FF AA 85 */ bl __dt__8COBBTreeFv +lbl_802AE290: +/* 802AE290 002AB1F0 3B 7B 00 08 */ addi r27, r27, 8 +lbl_802AE294: +/* 802AE294 002AB1F4 7C 1B E0 40 */ cmplw r27, r28 +/* 802AE298 002AB1F8 40 82 FF D8 */ bne lbl_802AE270 +/* 802AE29C 002AB1FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802AE2A0 002AB200 28 03 00 00 */ cmplwi r3, 0 +/* 802AE2A4 002AB204 41 82 00 08 */ beq lbl_802AE2AC +/* 802AE2A8 002AB208 48 06 76 89 */ bl Free__7CMemoryFPCv +lbl_802AE2AC: +/* 802AE2AC 002AB20C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802AE2B0 002AB210 93 FE 00 08 */ stw r31, 8(r30) +lbl_802AE2B4: +/* 802AE2B4 002AB214 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802AE2B8 002AB218 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE2BC 002AB21C 7C 08 03 A6 */ mtlr r0 +/* 802AE2C0 002AB220 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE2C4 002AB224 4E 80 00 20 */ blr + +.global "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi": +/* 802AE2C8 002AB228 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802AE2CC 002AB22C 7C 08 02 A6 */ mflr r0 +/* 802AE2D0 002AB230 90 01 00 34 */ stw r0, 0x34(r1) +/* 802AE2D4 002AB234 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802AE2D8 002AB238 7C 9F 23 78 */ mr r31, r4 +/* 802AE2DC 002AB23C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802AE2E0 002AB240 7C 7E 1B 78 */ mr r30, r3 +/* 802AE2E4 002AB244 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802AE2E8 002AB248 80 03 00 08 */ lwz r0, 8(r3) +/* 802AE2EC 002AB24C 7C 1F 00 00 */ cmpw r31, r0 +/* 802AE2F0 002AB250 40 81 00 D8 */ ble lbl_802AE3C8 +/* 802AE2F4 002AB254 1C 7F 00 18 */ mulli r3, r31, 0x18 +/* 802AE2F8 002AB258 2C 03 00 00 */ cmpwi r3, 0 +/* 802AE2FC 002AB25C 40 82 00 0C */ bne lbl_802AE308 +/* 802AE300 002AB260 3B A0 00 00 */ li r29, 0 +/* 802AE304 002AB264 48 00 00 1C */ b lbl_802AE320 +lbl_802AE308: +/* 802AE308 002AB268 3C 80 80 3D */ lis r4, lbl_803D60F0@ha +/* 802AE30C 002AB26C 38 A0 00 00 */ li r5, 0 +/* 802AE310 002AB270 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l +/* 802AE314 002AB274 38 84 00 18 */ addi r4, r4, 0x18 +/* 802AE318 002AB278 48 06 75 01 */ bl __nwa__FUlPCcPCc +/* 802AE31C 002AB27C 7C 7D 1B 78 */ mr r29, r3 +lbl_802AE320: +/* 802AE320 002AB280 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE324 002AB284 7F A3 EB 78 */ mr r3, r29 +/* 802AE328 002AB288 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 802AE32C 002AB28C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802AE330 002AB290 90 81 00 10 */ stw r4, 0x10(r1) +/* 802AE334 002AB294 7C 04 02 14 */ add r0, r4, r0 +/* 802AE338 002AB298 90 81 00 14 */ stw r4, 0x14(r1) +/* 802AE33C 002AB29C 90 01 00 08 */ stw r0, 8(r1) +/* 802AE340 002AB2A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 802AE344 002AB2A4 48 00 00 44 */ b lbl_802AE388 +lbl_802AE348: +/* 802AE348 002AB2A8 28 03 00 00 */ cmplwi r3, 0 +/* 802AE34C 002AB2AC 41 82 00 34 */ beq lbl_802AE380 +/* 802AE350 002AB2B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AE354 002AB2B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AE358 002AB2B8 C0 04 00 04 */ lfs f0, 4(r4) +/* 802AE35C 002AB2BC D0 03 00 04 */ stfs f0, 4(r3) +/* 802AE360 002AB2C0 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AE364 002AB2C4 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AE368 002AB2C8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802AE36C 002AB2CC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AE370 002AB2D0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802AE374 002AB2D4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AE378 002AB2D8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802AE37C 002AB2DC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_802AE380: +/* 802AE380 002AB2E0 38 63 00 18 */ addi r3, r3, 0x18 +/* 802AE384 002AB2E4 38 84 00 18 */ addi r4, r4, 0x18 +lbl_802AE388: +/* 802AE388 002AB2E8 7C 04 00 40 */ cmplw r4, r0 +/* 802AE38C 002AB2EC 40 82 FF BC */ bne lbl_802AE348 +/* 802AE390 002AB2F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802AE394 002AB2F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802AE398 002AB2F8 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 802AE39C 002AB2FC 7C 64 1B 78 */ mr r4, r3 +/* 802AE3A0 002AB300 7C 03 02 14 */ add r0, r3, r0 +/* 802AE3A4 002AB304 48 00 00 08 */ b lbl_802AE3AC +lbl_802AE3A8: +/* 802AE3A8 002AB308 38 84 00 18 */ addi r4, r4, 0x18 +lbl_802AE3AC: +/* 802AE3AC 002AB30C 7C 04 00 40 */ cmplw r4, r0 +/* 802AE3B0 002AB310 40 82 FF F8 */ bne lbl_802AE3A8 +/* 802AE3B4 002AB314 28 03 00 00 */ cmplwi r3, 0 +/* 802AE3B8 002AB318 41 82 00 08 */ beq lbl_802AE3C0 +/* 802AE3BC 002AB31C 48 06 75 75 */ bl Free__7CMemoryFPCv +lbl_802AE3C0: +/* 802AE3C0 002AB320 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802AE3C4 002AB324 93 FE 00 08 */ stw r31, 8(r30) +lbl_802AE3C8: +/* 802AE3C8 002AB328 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802AE3CC 002AB32C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802AE3D0 002AB330 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802AE3D4 002AB334 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802AE3D8 002AB338 7C 08 03 A6 */ mtlr r0 +/* 802AE3DC 002AB33C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802AE3E0 002AB340 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CCollisionSurface.s b/asm/WorldFormat/CCollisionSurface.s new file mode 100644 index 00000000..bcb22afe --- /dev/null +++ b/asm/WorldFormat/CCollisionSurface.s @@ -0,0 +1,93 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPlane__17CCollisionSurfaceCFv +GetPlane__17CCollisionSurfaceCFv: +/* 802A2634 0029F594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A2638 0029F598 7C 08 02 A6 */ mflr r0 +/* 802A263C 0029F59C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A2640 0029F5A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A2644 0029F5A4 7C 9F 23 78 */ mr r31, r4 +/* 802A2648 0029F5A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A264C 0029F5AC 7C 7E 1B 78 */ mr r30, r3 +/* 802A2650 0029F5B0 38 61 00 08 */ addi r3, r1, 8 +/* 802A2654 0029F5B4 48 00 00 51 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A2658 0029F5B8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 802A265C 0029F5BC C0 1F 00 04 */ lfs f0, 4(r31) +/* 802A2660 0029F5C0 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 802A2664 0029F5C4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 802A2668 0029F5C8 C0 5F 00 08 */ lfs f2, 8(r31) +/* 802A266C 0029F5CC C0 A1 00 08 */ lfs f5, 8(r1) +/* 802A2670 0029F5D0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A2674 0029F5D4 D0 BE 00 00 */ stfs f5, 0(r30) +/* 802A2678 0029F5D8 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 802A267C 0029F5DC D0 7E 00 04 */ stfs f3, 4(r30) +/* 802A2680 0029F5E0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 802A2684 0029F5E4 D0 9E 00 08 */ stfs f4, 8(r30) +/* 802A2688 0029F5E8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A268C 0029F5EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A2690 0029F5F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A2694 0029F5F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A2698 0029F5F8 7C 08 03 A6 */ mtlr r0 +/* 802A269C 0029F5FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A26A0 0029F600 4E 80 00 20 */ blr + +.global GetNormal__17CCollisionSurfaceCFv +GetNormal__17CCollisionSurfaceCFv: +/* 802A26A4 0029F604 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A26A8 0029F608 7C 08 02 A6 */ mflr r0 +/* 802A26AC 0029F60C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A26B0 0029F610 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 802A26B4 0029F614 C0 64 00 00 */ lfs f3, 0(r4) +/* 802A26B8 0029F618 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A26BC 0029F61C EC A2 18 28 */ fsubs f5, f2, f3 +/* 802A26C0 0029F620 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802A26C4 0029F624 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A26C8 0029F628 ED 00 18 28 */ fsubs f8, f0, f3 +/* 802A26CC 0029F62C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A26D0 0029F630 EC 81 10 28 */ fsubs f4, f1, f2 +/* 802A26D4 0029F634 EC E0 10 28 */ fsubs f7, f0, f2 +/* 802A26D8 0029F638 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 802A26DC 0029F63C C0 C4 00 08 */ lfs f6, 8(r4) +/* 802A26E0 0029F640 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A26E4 0029F644 38 81 00 08 */ addi r4, r1, 8 +/* 802A26E8 0029F648 EC 61 30 28 */ fsubs f3, f1, f6 +/* 802A26EC 0029F64C EC C0 30 28 */ fsubs f6, f0, f6 +/* 802A26F0 0029F650 EC 08 01 32 */ fmuls f0, f8, f4 +/* 802A26F4 0029F654 EC 47 00 F2 */ fmuls f2, f7, f3 +/* 802A26F8 0029F658 EC 26 01 72 */ fmuls f1, f6, f5 +/* 802A26FC 0029F65C EC 05 01 F8 */ fmsubs f0, f5, f7, f0 +/* 802A2700 0029F660 EC 44 11 B8 */ fmsubs f2, f4, f6, f2 +/* 802A2704 0029F664 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 +/* 802A2708 0029F668 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802A270C 0029F66C D0 41 00 08 */ stfs f2, 8(r1) +/* 802A2710 0029F670 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 802A2714 0029F674 48 07 16 BD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802A2718 0029F678 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A271C 0029F67C 7C 08 03 A6 */ mtlr r0 +/* 802A2720 0029F680 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2724 0029F684 4E 80 00 20 */ blr + +.global __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +__ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi: +/* 802A2728 0029F688 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A272C 0029F68C D0 03 00 00 */ stfs f0, 0(r3) +/* 802A2730 0029F690 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A2734 0029F694 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A2738 0029F698 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A273C 0029F69C D0 03 00 08 */ stfs f0, 8(r3) +/* 802A2740 0029F6A0 C0 05 00 00 */ lfs f0, 0(r5) +/* 802A2744 0029F6A4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A2748 0029F6A8 C0 05 00 04 */ lfs f0, 4(r5) +/* 802A274C 0029F6AC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A2750 0029F6B0 C0 05 00 08 */ lfs f0, 8(r5) +/* 802A2754 0029F6B4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2758 0029F6B8 C0 06 00 00 */ lfs f0, 0(r6) +/* 802A275C 0029F6BC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A2760 0029F6C0 C0 06 00 04 */ lfs f0, 4(r6) +/* 802A2764 0029F6C4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A2768 0029F6C8 C0 06 00 08 */ lfs f0, 8(r6) +/* 802A276C 0029F6CC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A2770 0029F6D0 90 E3 00 24 */ stw r7, 0x24(r3) +/* 802A2774 0029F6D4 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CMetroidAreaCollider.s b/asm/WorldFormat/CMetroidAreaCollider.s new file mode 100644 index 00000000..1865fd84 --- /dev/null +++ b/asm/WorldFormat/CMetroidAreaCollider.s @@ -0,0 +1,4759 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +__ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f: +/* 802A309C 0029FFFC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 802A30A0 002A0000 7C 08 02 A6 */ mflr r0 +/* 802A30A4 002A0004 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A30A8 002A0008 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 802A30AC 002A000C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 802A30B0 002A0010 BF 01 00 E0 */ stmw r24, 0xe0(r1) +/* 802A30B4 002A0014 3B 40 00 00 */ li r26, 0 +/* 802A30B8 002A0018 7C BE 2B 78 */ mr r30, r5 +/* 802A30BC 002A001C 93 43 00 00 */ stw r26, 0(r3) +/* 802A30C0 002A0020 7C 7C 1B 78 */ mr r28, r3 +/* 802A30C4 002A0024 3C 60 80 3D */ lis r3, lbl_803D0004@ha +/* 802A30C8 002A0028 7C 9D 23 78 */ mr r29, r4 +/* 802A30CC 002A002C 93 5C 06 C4 */ stw r26, 0x6c4(r28) +/* 802A30D0 002A0030 7F DB F3 78 */ mr r27, r30 +/* 802A30D4 002A0034 C3 E2 C1 4C */ lfs f31, lbl_805ADE6C@sda21(r2) +/* 802A30D8 002A0038 3B E0 00 00 */ li r31, 0 +/* 802A30DC 002A003C C0 04 00 00 */ lfs f0, 0(r4) +/* 802A30E0 002A0040 3B 20 00 00 */ li r25, 0 +/* 802A30E4 002A0044 D0 1C 06 E8 */ stfs f0, 0x6e8(r28) +/* 802A30E8 002A0048 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A30EC 002A004C D0 1C 06 EC */ stfs f0, 0x6ec(r28) +/* 802A30F0 002A0050 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A30F4 002A0054 D0 1C 06 F0 */ stfs f0, 0x6f0(r28) +/* 802A30F8 002A0058 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A30FC 002A005C D0 1C 06 F4 */ stfs f0, 0x6f4(r28) +/* 802A3100 002A0060 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3104 002A0064 D0 1C 06 F8 */ stfs f0, 0x6f8(r28) +/* 802A3108 002A0068 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A310C 002A006C D0 1C 06 FC */ stfs f0, 0x6fc(r28) +/* 802A3110 002A0070 84 C3 60 28 */ lwzu r6, 0x6028(r3) +/* 802A3114 002A0074 80 02 D7 6C */ lwz r0, lbl_805AF48C@sda21(r2) +/* 802A3118 002A0078 80 A3 00 04 */ lwz r5, lbl_803D0004@l(r3) +/* 802A311C 002A007C 80 83 00 08 */ lwz r4, 8(r3) +/* 802A3120 002A0080 80 62 D7 68 */ lwz r3, lbl_805AF488@sda21(r2) +/* 802A3124 002A0084 90 C1 00 40 */ stw r6, 0x40(r1) +/* 802A3128 002A0088 90 A1 00 44 */ stw r5, 0x44(r1) +/* 802A312C 002A008C 90 81 00 48 */ stw r4, 0x48(r1) +/* 802A3130 002A0090 90 61 00 08 */ stw r3, 8(r1) +/* 802A3134 002A0094 90 01 00 0C */ stw r0, 0xc(r1) +lbl_802A3138: +/* 802A3138 002A0098 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802A313C 002A009C FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 802A3140 002A00A0 41 82 00 30 */ beq lbl_802A3170 +/* 802A3144 002A00A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 802A3148 002A00A8 7C 00 00 26 */ mfcr r0 +/* 802A314C 002A00AC 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A3150 002A00B0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A3154 002A00B4 7F 1A 02 14 */ add r24, r26, r0 +/* 802A3158 002A00B8 7F 03 C3 78 */ mr r3, r24 +/* 802A315C 002A00BC 48 00 05 29 */ bl FlagEdgeIndicesForFace__FUiPb +/* 802A3160 002A00C0 7F 03 C3 78 */ mr r3, r24 +/* 802A3164 002A00C4 38 81 00 08 */ addi r4, r1, 8 +/* 802A3168 002A00C8 48 00 04 59 */ bl FlagVertexIndicesForFace__FUiPb +/* 802A316C 002A00CC 3B FF 00 01 */ addi r31, r31, 1 +lbl_802A3170: +/* 802A3170 002A00D0 3B 39 00 01 */ addi r25, r25, 1 +/* 802A3174 002A00D4 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A3178 002A00D8 2C 19 00 03 */ cmpwi r25, 3 +/* 802A317C 002A00DC 3B 7B 00 04 */ addi r27, r27, 4 +/* 802A3180 002A00E0 41 80 FF B8 */ blt lbl_802A3138 +/* 802A3184 002A00E4 3B 00 00 00 */ li r24, 0 +/* 802A3188 002A00E8 3B 41 00 40 */ addi r26, r1, 0x40 +lbl_802A318C: +/* 802A318C 002A00EC 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A3190 002A00F0 28 00 00 00 */ cmplwi r0, 0 +/* 802A3194 002A00F4 41 82 00 24 */ beq lbl_802A31B8 +/* 802A3198 002A00F8 7F A4 EB 78 */ mr r4, r29 +/* 802A319C 002A00FC 7F 05 C3 78 */ mr r5, r24 +/* 802A31A0 002A0100 7F C6 F3 78 */ mr r6, r30 +/* 802A31A4 002A0104 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A31A8 002A0108 48 00 03 01 */ bl __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f +/* 802A31AC 002A010C 7C 64 1B 78 */ mr r4, r3 +/* 802A31B0 002A0110 7F 83 E3 78 */ mr r3, r28 +/* 802A31B4 002A0114 48 00 01 D1 */ bl sub_802a3384 +lbl_802A31B8: +/* 802A31B8 002A0118 3B 18 00 01 */ addi r24, r24, 1 +/* 802A31BC 002A011C 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A31C0 002A0120 2C 18 00 0C */ cmpwi r24, 0xc +/* 802A31C4 002A0124 41 80 FF C8 */ blt lbl_802A318C +/* 802A31C8 002A0128 38 00 00 02 */ li r0, 2 +/* 802A31CC 002A012C 38 81 00 08 */ addi r4, r1, 8 +/* 802A31D0 002A0130 38 BC 06 C4 */ addi r5, r28, 0x6c4 +/* 802A31D4 002A0134 38 C0 00 00 */ li r6, 0 +/* 802A31D8 002A0138 7C 09 03 A6 */ mtctr r0 +lbl_802A31DC: +/* 802A31DC 002A013C 88 04 00 00 */ lbz r0, 0(r4) +/* 802A31E0 002A0140 28 00 00 00 */ cmplwi r0, 0 +/* 802A31E4 002A0144 41 82 00 28 */ beq lbl_802A320C +/* 802A31E8 002A0148 80 05 00 00 */ lwz r0, 0(r5) +/* 802A31EC 002A014C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A31F0 002A0150 7C 65 02 14 */ add r3, r5, r0 +/* 802A31F4 002A0154 34 63 00 04 */ addic. r3, r3, 4 +/* 802A31F8 002A0158 41 82 00 08 */ beq lbl_802A3200 +/* 802A31FC 002A015C 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3200: +/* 802A3200 002A0160 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A3204 002A0164 38 03 00 01 */ addi r0, r3, 1 +/* 802A3208 002A0168 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A320C: +/* 802A320C 002A016C 88 04 00 01 */ lbz r0, 1(r4) +/* 802A3210 002A0170 38 C6 00 01 */ addi r6, r6, 1 +/* 802A3214 002A0174 28 00 00 00 */ cmplwi r0, 0 +/* 802A3218 002A0178 41 82 00 28 */ beq lbl_802A3240 +/* 802A321C 002A017C 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3220 002A0180 54 00 10 3A */ slwi r0, r0, 2 +/* 802A3224 002A0184 7C 65 02 14 */ add r3, r5, r0 +/* 802A3228 002A0188 34 63 00 04 */ addic. r3, r3, 4 +/* 802A322C 002A018C 41 82 00 08 */ beq lbl_802A3234 +/* 802A3230 002A0190 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3234: +/* 802A3234 002A0194 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A3238 002A0198 38 03 00 01 */ addi r0, r3, 1 +/* 802A323C 002A019C 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A3240: +/* 802A3240 002A01A0 88 04 00 02 */ lbz r0, 2(r4) +/* 802A3244 002A01A4 38 C6 00 01 */ addi r6, r6, 1 +/* 802A3248 002A01A8 28 00 00 00 */ cmplwi r0, 0 +/* 802A324C 002A01AC 41 82 00 28 */ beq lbl_802A3274 +/* 802A3250 002A01B0 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3254 002A01B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A3258 002A01B8 7C 65 02 14 */ add r3, r5, r0 +/* 802A325C 002A01BC 34 63 00 04 */ addic. r3, r3, 4 +/* 802A3260 002A01C0 41 82 00 08 */ beq lbl_802A3268 +/* 802A3264 002A01C4 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A3268: +/* 802A3268 002A01C8 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A326C 002A01CC 38 03 00 01 */ addi r0, r3, 1 +/* 802A3270 002A01D0 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A3274: +/* 802A3274 002A01D4 88 04 00 03 */ lbz r0, 3(r4) +/* 802A3278 002A01D8 38 C6 00 01 */ addi r6, r6, 1 +/* 802A327C 002A01DC 28 00 00 00 */ cmplwi r0, 0 +/* 802A3280 002A01E0 41 82 00 28 */ beq lbl_802A32A8 +/* 802A3284 002A01E4 80 05 00 00 */ lwz r0, 0(r5) +/* 802A3288 002A01E8 54 00 10 3A */ slwi r0, r0, 2 +/* 802A328C 002A01EC 7C 65 02 14 */ add r3, r5, r0 +/* 802A3290 002A01F0 34 63 00 04 */ addic. r3, r3, 4 +/* 802A3294 002A01F4 41 82 00 08 */ beq lbl_802A329C +/* 802A3298 002A01F8 90 C3 00 00 */ stw r6, 0(r3) +lbl_802A329C: +/* 802A329C 002A01FC 80 7C 06 C4 */ lwz r3, 0x6c4(r28) +/* 802A32A0 002A0200 38 03 00 01 */ addi r0, r3, 1 +/* 802A32A4 002A0204 90 1C 06 C4 */ stw r0, 0x6c4(r28) +lbl_802A32A8: +/* 802A32A8 002A0208 38 84 00 04 */ addi r4, r4, 4 +/* 802A32AC 002A020C 38 C6 00 01 */ addi r6, r6, 1 +/* 802A32B0 002A0210 42 00 FF 2C */ bdnz lbl_802A31DC +/* 802A32B4 002A0214 28 1F 00 01 */ cmplwi r31, 1 +/* 802A32B8 002A0218 40 82 00 AC */ bne lbl_802A3364 +/* 802A32BC 002A021C 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A32C0 002A0220 7F A4 EB 78 */ mr r4, r29 +/* 802A32C4 002A0224 38 C3 67 54 */ addi r6, r3, lbl_805A6754@l +/* 802A32C8 002A0228 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A32CC 002A022C 80 A6 00 00 */ lwz r5, 0(r6) +/* 802A32D0 002A0230 80 06 00 04 */ lwz r0, 4(r6) +/* 802A32D4 002A0234 90 BC 06 E8 */ stw r5, 0x6e8(r28) +/* 802A32D8 002A0238 90 1C 06 EC */ stw r0, 0x6ec(r28) +/* 802A32DC 002A023C 80 06 00 08 */ lwz r0, 8(r6) +/* 802A32E0 002A0240 90 1C 06 F0 */ stw r0, 0x6f0(r28) +/* 802A32E4 002A0244 80 A6 00 0C */ lwz r5, 0xc(r6) +/* 802A32E8 002A0248 80 06 00 10 */ lwz r0, 0x10(r6) +/* 802A32EC 002A024C 90 BC 06 F4 */ stw r5, 0x6f4(r28) +/* 802A32F0 002A0250 90 1C 06 F8 */ stw r0, 0x6f8(r28) +/* 802A32F4 002A0254 80 06 00 14 */ lwz r0, 0x14(r6) +/* 802A32F8 002A0258 90 1C 06 FC */ stw r0, 0x6fc(r28) +/* 802A32FC 002A025C 80 BC 06 C8 */ lwz r5, 0x6c8(r28) +/* 802A3300 002A0260 48 09 42 B1 */ bl GetPoint__6CAABoxCFi +/* 802A3304 002A0264 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3308 002A0268 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A330C 002A026C 48 09 47 FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A3310 002A0270 80 BC 06 CC */ lwz r5, 0x6cc(r28) +/* 802A3314 002A0274 7F A4 EB 78 */ mr r4, r29 +/* 802A3318 002A0278 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A331C 002A027C 48 09 42 95 */ bl GetPoint__6CAABoxCFi +/* 802A3320 002A0280 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3324 002A0284 38 81 00 28 */ addi r4, r1, 0x28 +/* 802A3328 002A0288 48 09 47 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A332C 002A028C 80 BC 06 D0 */ lwz r5, 0x6d0(r28) +/* 802A3330 002A0290 7F A4 EB 78 */ mr r4, r29 +/* 802A3334 002A0294 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A3338 002A0298 48 09 42 79 */ bl GetPoint__6CAABoxCFi +/* 802A333C 002A029C 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A3340 002A02A0 38 81 00 1C */ addi r4, r1, 0x1c +/* 802A3344 002A02A4 48 09 47 C5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A3348 002A02A8 80 BC 06 D4 */ lwz r5, 0x6d4(r28) +/* 802A334C 002A02AC 7F A4 EB 78 */ mr r4, r29 +/* 802A3350 002A02B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A3354 002A02B4 48 09 42 5D */ bl GetPoint__6CAABoxCFi +/* 802A3358 002A02B8 38 7C 06 E8 */ addi r3, r28, 0x6e8 +/* 802A335C 002A02BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A3360 002A02C0 48 09 47 A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_802A3364: +/* 802A3364 002A02C4 7F 83 E3 78 */ mr r3, r28 +/* 802A3368 002A02C8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 802A336C 002A02CC CB E1 01 00 */ lfd f31, 0x100(r1) +/* 802A3370 002A02D0 BB 01 00 E0 */ lmw r24, 0xe0(r1) +/* 802A3374 002A02D4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A3378 002A02D8 7C 08 03 A6 */ mtlr r0 +/* 802A337C 002A02DC 38 21 01 10 */ addi r1, r1, 0x110 +/* 802A3380 002A02E0 4E 80 00 20 */ blr + +.global sub_802a3384 +sub_802a3384: +/* 802A3384 002A02E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A3388 002A02E8 7C 08 02 A6 */ mflr r0 +/* 802A338C 002A02EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A3390 002A02F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A3394 002A02F4 7C 7F 1B 78 */ mr r31, r3 +/* 802A3398 002A02F8 80 03 00 00 */ lwz r0, 0(r3) +/* 802A339C 002A02FC 1C 00 00 90 */ mulli r0, r0, 0x90 +/* 802A33A0 002A0300 7C 7F 02 14 */ add r3, r31, r0 +/* 802A33A4 002A0304 38 63 00 04 */ addi r3, r3, 4 +/* 802A33A8 002A0308 48 00 00 25 */ bl sub_802a33cc +/* 802A33AC 002A030C 80 7F 00 00 */ lwz r3, 0(r31) +/* 802A33B0 002A0310 38 03 00 01 */ addi r0, r3, 1 +/* 802A33B4 002A0314 90 1F 00 00 */ stw r0, 0(r31) +/* 802A33B8 002A0318 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A33BC 002A031C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A33C0 002A0320 7C 08 03 A6 */ mtlr r0 +/* 802A33C4 002A0324 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A33C8 002A0328 4E 80 00 20 */ blr + +.global sub_802a33cc +sub_802a33cc: +/* 802A33CC 002A032C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A33D0 002A0330 7C 08 02 A6 */ mflr r0 +/* 802A33D4 002A0334 28 03 00 00 */ cmplwi r3, 0 +/* 802A33D8 002A0338 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A33DC 002A033C 41 82 00 08 */ beq lbl_802A33E4 +/* 802A33E0 002A0340 48 00 00 15 */ bl sub_802a33f4 +lbl_802A33E4: +/* 802A33E4 002A0344 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A33E8 002A0348 7C 08 03 A6 */ mtlr r0 +/* 802A33EC 002A034C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A33F0 002A0350 4E 80 00 20 */ blr + +.global sub_802a33f4 +sub_802a33f4: +/* 802A33F4 002A0354 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A33F8 002A0358 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A33FC 002A035C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3400 002A0360 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A3404 002A0364 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3408 002A0368 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A340C 002A036C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3410 002A0370 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A3414 002A0374 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3418 002A0378 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A341C 002A037C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3420 002A0380 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A3424 002A0384 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A3428 002A0388 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 802A342C 002A038C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 802A3430 002A0390 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 802A3434 002A0394 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A3438 002A0398 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 802A343C 002A039C C8 04 00 28 */ lfd f0, 0x28(r4) +/* 802A3440 002A03A0 D8 03 00 28 */ stfd f0, 0x28(r3) +/* 802A3444 002A03A4 C8 04 00 30 */ lfd f0, 0x30(r4) +/* 802A3448 002A03A8 D8 03 00 30 */ stfd f0, 0x30(r3) +/* 802A344C 002A03AC C8 04 00 38 */ lfd f0, 0x38(r4) +/* 802A3450 002A03B0 D8 03 00 38 */ stfd f0, 0x38(r3) +/* 802A3454 002A03B4 C8 04 00 40 */ lfd f0, 0x40(r4) +/* 802A3458 002A03B8 D8 03 00 40 */ stfd f0, 0x40(r3) +/* 802A345C 002A03BC C8 04 00 48 */ lfd f0, 0x48(r4) +/* 802A3460 002A03C0 D8 03 00 48 */ stfd f0, 0x48(r3) +/* 802A3464 002A03C4 C8 04 00 50 */ lfd f0, 0x50(r4) +/* 802A3468 002A03C8 D8 03 00 50 */ stfd f0, 0x50(r3) +/* 802A346C 002A03CC C8 04 00 58 */ lfd f0, 0x58(r4) +/* 802A3470 002A03D0 D8 03 00 58 */ stfd f0, 0x58(r3) +/* 802A3474 002A03D4 C8 04 00 60 */ lfd f0, 0x60(r4) +/* 802A3478 002A03D8 D8 03 00 60 */ stfd f0, 0x60(r3) +/* 802A347C 002A03DC C8 04 00 68 */ lfd f0, 0x68(r4) +/* 802A3480 002A03E0 D8 03 00 68 */ stfd f0, 0x68(r3) +/* 802A3484 002A03E4 C8 04 00 70 */ lfd f0, 0x70(r4) +/* 802A3488 002A03E8 D8 03 00 70 */ stfd f0, 0x70(r3) +/* 802A348C 002A03EC C8 04 00 78 */ lfd f0, 0x78(r4) +/* 802A3490 002A03F0 D8 03 00 78 */ stfd f0, 0x78(r3) +/* 802A3494 002A03F4 C8 04 00 80 */ lfd f0, 0x80(r4) +/* 802A3498 002A03F8 D8 03 00 80 */ stfd f0, 0x80(r3) +/* 802A349C 002A03FC C8 04 00 88 */ lfd f0, 0x88(r4) +/* 802A34A0 002A0400 D8 03 00 88 */ stfd f0, 0x88(r3) +/* 802A34A4 002A0404 4E 80 00 20 */ blr + +.global __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f +__ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f: +/* 802A34A8 002A0408 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 802A34AC 002A040C 7C 08 02 A6 */ mflr r0 +/* 802A34B0 002A0410 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 802A34B4 002A0414 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 802A34B8 002A0418 7C DF 33 78 */ mr r31, r6 +/* 802A34BC 002A041C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 802A34C0 002A0420 7C 7E 1B 78 */ mr r30, r3 +/* 802A34C4 002A0424 38 61 00 68 */ addi r3, r1, 0x68 +/* 802A34C8 002A0428 48 09 49 D9 */ bl GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId +/* 802A34CC 002A042C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 802A34D0 002A0430 7F C4 F3 78 */ mr r4, r30 +/* 802A34D4 002A0434 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802A34D8 002A0438 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A34DC 002A043C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A34E0 002A0440 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A34E4 002A0444 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 802A34E8 002A0448 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A34EC 002A044C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 802A34F0 002A0450 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A34F4 002A0454 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 802A34F8 002A0458 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802A34FC 002A045C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 802A3500 002A0460 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A3504 002A0464 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 802A3508 002A0468 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802A350C 002A046C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 802A3510 002A0470 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A3514 002A0474 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 802A3518 002A0478 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802A351C 002A047C 48 07 10 69 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3520 002A0480 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802A3524 002A0484 38 9E 00 18 */ addi r4, r30, 0x18 +/* 802A3528 002A0488 48 07 10 5D */ bl __ct__9CVector3dFRC9CVector3f +/* 802A352C 002A048C 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A3530 002A0490 38 9E 00 40 */ addi r4, r30, 0x40 +/* 802A3534 002A0494 38 BE 00 28 */ addi r5, r30, 0x28 +/* 802A3538 002A0498 48 07 0E 5D */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A353C 002A049C C8 01 00 50 */ lfd f0, 0x50(r1) +/* 802A3540 002A04A0 7F E4 FB 78 */ mr r4, r31 +/* 802A3544 002A04A4 38 61 00 08 */ addi r3, r1, 8 +/* 802A3548 002A04A8 D8 1E 00 58 */ stfd f0, 0x58(r30) +/* 802A354C 002A04AC C8 01 00 58 */ lfd f0, 0x58(r1) +/* 802A3550 002A04B0 D8 1E 00 60 */ stfd f0, 0x60(r30) +/* 802A3554 002A04B4 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 802A3558 002A04B8 D8 1E 00 68 */ stfd f0, 0x68(r30) +/* 802A355C 002A04BC 48 07 10 29 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3560 002A04C0 7C 65 1B 78 */ mr r5, r3 +/* 802A3564 002A04C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A3568 002A04C8 38 9E 00 58 */ addi r4, r30, 0x58 +/* 802A356C 002A04CC 48 07 0E B1 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3570 002A04D0 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A3574 002A04D4 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A3578 002A04D8 48 07 0F 45 */ bl AsNormalized__9CVector3dCFv +/* 802A357C 002A04DC C8 01 00 38 */ lfd f0, 0x38(r1) +/* 802A3580 002A04E0 38 7E 00 28 */ addi r3, r30, 0x28 +/* 802A3584 002A04E4 38 9E 00 70 */ addi r4, r30, 0x70 +/* 802A3588 002A04E8 D8 1E 00 70 */ stfd f0, 0x70(r30) +/* 802A358C 002A04EC C8 01 00 40 */ lfd f0, 0x40(r1) +/* 802A3590 002A04F0 D8 1E 00 78 */ stfd f0, 0x78(r30) +/* 802A3594 002A04F4 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 802A3598 002A04F8 D8 1E 00 80 */ stfd f0, 0x80(r30) +/* 802A359C 002A04FC 48 07 0E D1 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A35A0 002A0500 D8 3E 00 88 */ stfd f1, 0x88(r30) +/* 802A35A4 002A0504 7F C3 F3 78 */ mr r3, r30 +/* 802A35A8 002A0508 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 802A35AC 002A050C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 802A35B0 002A0510 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802A35B4 002A0514 7C 08 03 A6 */ mtlr r0 +/* 802A35B8 002A0518 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 802A35BC 002A051C 4E 80 00 20 */ blr + +.global FlagVertexIndicesForFace__FUiPb +FlagVertexIndicesForFace__FUiPb: +/* 802A35C0 002A0520 2C 03 00 03 */ cmpwi r3, 3 +/* 802A35C4 002A0524 41 82 00 78 */ beq lbl_802A363C +/* 802A35C8 002A0528 40 80 00 1C */ bge lbl_802A35E4 +/* 802A35CC 002A052C 2C 03 00 01 */ cmpwi r3, 1 +/* 802A35D0 002A0530 41 82 00 3C */ beq lbl_802A360C +/* 802A35D4 002A0534 40 80 00 50 */ bge lbl_802A3624 +/* 802A35D8 002A0538 2C 03 00 00 */ cmpwi r3, 0 +/* 802A35DC 002A053C 40 80 00 18 */ bge lbl_802A35F4 +/* 802A35E0 002A0540 4E 80 00 20 */ blr +lbl_802A35E4: +/* 802A35E4 002A0544 2C 03 00 05 */ cmpwi r3, 5 +/* 802A35E8 002A0548 41 82 00 84 */ beq lbl_802A366C +/* 802A35EC 002A054C 4C 80 00 20 */ bgelr +/* 802A35F0 002A0550 48 00 00 64 */ b lbl_802A3654 +lbl_802A35F4: +/* 802A35F4 002A0554 38 00 00 01 */ li r0, 1 +/* 802A35F8 002A0558 98 04 00 01 */ stb r0, 1(r4) +/* 802A35FC 002A055C 98 04 00 03 */ stb r0, 3(r4) +/* 802A3600 002A0560 98 04 00 05 */ stb r0, 5(r4) +/* 802A3604 002A0564 98 04 00 07 */ stb r0, 7(r4) +/* 802A3608 002A0568 4E 80 00 20 */ blr +lbl_802A360C: +/* 802A360C 002A056C 38 00 00 01 */ li r0, 1 +/* 802A3610 002A0570 98 04 00 00 */ stb r0, 0(r4) +/* 802A3614 002A0574 98 04 00 02 */ stb r0, 2(r4) +/* 802A3618 002A0578 98 04 00 04 */ stb r0, 4(r4) +/* 802A361C 002A057C 98 04 00 06 */ stb r0, 6(r4) +/* 802A3620 002A0580 4E 80 00 20 */ blr +lbl_802A3624: +/* 802A3624 002A0584 38 00 00 01 */ li r0, 1 +/* 802A3628 002A0588 98 04 00 02 */ stb r0, 2(r4) +/* 802A362C 002A058C 98 04 00 03 */ stb r0, 3(r4) +/* 802A3630 002A0590 98 04 00 06 */ stb r0, 6(r4) +/* 802A3634 002A0594 98 04 00 07 */ stb r0, 7(r4) +/* 802A3638 002A0598 4E 80 00 20 */ blr +lbl_802A363C: +/* 802A363C 002A059C 38 00 00 01 */ li r0, 1 +/* 802A3640 002A05A0 98 04 00 00 */ stb r0, 0(r4) +/* 802A3644 002A05A4 98 04 00 01 */ stb r0, 1(r4) +/* 802A3648 002A05A8 98 04 00 04 */ stb r0, 4(r4) +/* 802A364C 002A05AC 98 04 00 05 */ stb r0, 5(r4) +/* 802A3650 002A05B0 4E 80 00 20 */ blr +lbl_802A3654: +/* 802A3654 002A05B4 38 00 00 01 */ li r0, 1 +/* 802A3658 002A05B8 98 04 00 04 */ stb r0, 4(r4) +/* 802A365C 002A05BC 98 04 00 05 */ stb r0, 5(r4) +/* 802A3660 002A05C0 98 04 00 06 */ stb r0, 6(r4) +/* 802A3664 002A05C4 98 04 00 07 */ stb r0, 7(r4) +/* 802A3668 002A05C8 4E 80 00 20 */ blr +lbl_802A366C: +/* 802A366C 002A05CC 38 00 00 01 */ li r0, 1 +/* 802A3670 002A05D0 98 04 00 00 */ stb r0, 0(r4) +/* 802A3674 002A05D4 98 04 00 01 */ stb r0, 1(r4) +/* 802A3678 002A05D8 98 04 00 02 */ stb r0, 2(r4) +/* 802A367C 002A05DC 98 04 00 03 */ stb r0, 3(r4) +/* 802A3680 002A05E0 4E 80 00 20 */ blr + +.global FlagEdgeIndicesForFace__FUiPb +FlagEdgeIndicesForFace__FUiPb: +/* 802A3684 002A05E4 2C 03 00 03 */ cmpwi r3, 3 +/* 802A3688 002A05E8 41 82 00 78 */ beq lbl_802A3700 +/* 802A368C 002A05EC 40 80 00 1C */ bge lbl_802A36A8 +/* 802A3690 002A05F0 2C 03 00 01 */ cmpwi r3, 1 +/* 802A3694 002A05F4 41 82 00 3C */ beq lbl_802A36D0 +/* 802A3698 002A05F8 40 80 00 50 */ bge lbl_802A36E8 +/* 802A369C 002A05FC 2C 03 00 00 */ cmpwi r3, 0 +/* 802A36A0 002A0600 40 80 00 18 */ bge lbl_802A36B8 +/* 802A36A4 002A0604 4E 80 00 20 */ blr +lbl_802A36A8: +/* 802A36A8 002A0608 2C 03 00 05 */ cmpwi r3, 5 +/* 802A36AC 002A060C 41 82 00 84 */ beq lbl_802A3730 +/* 802A36B0 002A0610 4C 80 00 20 */ bgelr +/* 802A36B4 002A0614 48 00 00 64 */ b lbl_802A3718 +lbl_802A36B8: +/* 802A36B8 002A0618 38 00 00 01 */ li r0, 1 +/* 802A36BC 002A061C 98 04 00 0A */ stb r0, 0xa(r4) +/* 802A36C0 002A0620 98 04 00 0B */ stb r0, 0xb(r4) +/* 802A36C4 002A0624 98 04 00 02 */ stb r0, 2(r4) +/* 802A36C8 002A0628 98 04 00 04 */ stb r0, 4(r4) +/* 802A36CC 002A062C 4E 80 00 20 */ blr +lbl_802A36D0: +/* 802A36D0 002A0630 38 00 00 01 */ li r0, 1 +/* 802A36D4 002A0634 98 04 00 08 */ stb r0, 8(r4) +/* 802A36D8 002A0638 98 04 00 09 */ stb r0, 9(r4) +/* 802A36DC 002A063C 98 04 00 00 */ stb r0, 0(r4) +/* 802A36E0 002A0640 98 04 00 06 */ stb r0, 6(r4) +/* 802A36E4 002A0644 4E 80 00 20 */ blr +lbl_802A36E8: +/* 802A36E8 002A0648 38 00 00 01 */ li r0, 1 +/* 802A36EC 002A064C 98 04 00 04 */ stb r0, 4(r4) +/* 802A36F0 002A0650 98 04 00 05 */ stb r0, 5(r4) +/* 802A36F4 002A0654 98 04 00 06 */ stb r0, 6(r4) +/* 802A36F8 002A0658 98 04 00 07 */ stb r0, 7(r4) +/* 802A36FC 002A065C 4E 80 00 20 */ blr +lbl_802A3700: +/* 802A3700 002A0660 38 00 00 01 */ li r0, 1 +/* 802A3704 002A0664 98 04 00 00 */ stb r0, 0(r4) +/* 802A3708 002A0668 98 04 00 01 */ stb r0, 1(r4) +/* 802A370C 002A066C 98 04 00 02 */ stb r0, 2(r4) +/* 802A3710 002A0670 98 04 00 03 */ stb r0, 3(r4) +/* 802A3714 002A0674 4E 80 00 20 */ blr +lbl_802A3718: +/* 802A3718 002A0678 38 00 00 01 */ li r0, 1 +/* 802A371C 002A067C 98 04 00 07 */ stb r0, 7(r4) +/* 802A3720 002A0680 98 04 00 08 */ stb r0, 8(r4) +/* 802A3724 002A0684 98 04 00 03 */ stb r0, 3(r4) +/* 802A3728 002A0688 98 04 00 0B */ stb r0, 0xb(r4) +/* 802A372C 002A068C 4E 80 00 20 */ blr +lbl_802A3730: +/* 802A3730 002A0690 38 00 00 01 */ li r0, 1 +/* 802A3734 002A0694 98 04 00 01 */ stb r0, 1(r4) +/* 802A3738 002A0698 98 04 00 05 */ stb r0, 5(r4) +/* 802A373C 002A069C 98 04 00 09 */ stb r0, 9(r4) +/* 802A3740 002A06A0 98 04 00 0A */ stb r0, 0xa(r4) +/* 802A3744 002A06A4 4E 80 00 20 */ blr + +.global BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache +BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache: +/* 802A3748 002A06A8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A374C 002A06AC 7C 08 02 A6 */ mflr r0 +/* 802A3750 002A06B0 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A3754 002A06B4 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802A3758 002A06B8 7C 7A 1B 78 */ mr r26, r3 +/* 802A375C 002A06BC 7C 9B 23 78 */ mr r27, r4 +/* 802A3760 002A06C0 7C BC 2B 78 */ mr r28, r5 +/* 802A3764 002A06C4 3B C0 00 00 */ li r30, 0 +/* 802A3768 002A06C8 3B E0 00 00 */ li r31, 0 +lbl_802A376C: +/* 802A376C 002A06CC 80 7A 00 18 */ lwz r3, 0x18(r26) +/* 802A3770 002A06D0 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A3774 002A06D4 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A3778 002A06D8 54 1D 07 BF */ clrlwi. r29, r0, 0x1e +/* 802A377C 002A06DC 41 82 00 98 */ beq lbl_802A3814 +/* 802A3780 002A06E0 7F 44 D3 78 */ mr r4, r26 +/* 802A3784 002A06E4 7F C5 F3 78 */ mr r5, r30 +/* 802A3788 002A06E8 38 61 00 08 */ addi r3, r1, 8 +/* 802A378C 002A06EC 4B FF F5 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A3790 002A06F0 C0 A1 00 08 */ lfs f5, 8(r1) +/* 802A3794 002A06F4 7F 63 DB 78 */ mr r3, r27 +/* 802A3798 002A06F8 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 802A379C 002A06FC 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A37A0 002A0700 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 802A37A4 002A0704 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A37A8 002A0708 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A37AC 002A070C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A37B0 002A0710 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 802A37B4 002A0714 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 802A37B8 002A0718 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802A37BC 002A071C D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802A37C0 002A0720 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 802A37C4 002A0724 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 802A37C8 002A0728 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 802A37CC 002A072C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 802A37D0 002A0730 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 802A37D4 002A0734 90 C1 00 44 */ stw r6, 0x44(r1) +/* 802A37D8 002A0738 90 A1 00 48 */ stw r5, 0x48(r1) +/* 802A37DC 002A073C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 802A37E0 002A0740 48 09 43 A5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A37E4 002A0744 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A37E8 002A0748 41 82 00 2C */ beq lbl_802A3814 +/* 802A37EC 002A074C 2C 1D 00 02 */ cmpwi r29, 2 +/* 802A37F0 002A0750 40 82 00 14 */ bne lbl_802A3804 +/* 802A37F4 002A0754 7F 83 E3 78 */ mr r3, r28 +/* 802A37F8 002A0758 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A37FC 002A075C 48 00 02 E9 */ bl AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node +/* 802A3800 002A0760 48 00 00 14 */ b lbl_802A3814 +lbl_802A3804: +/* 802A3804 002A0764 7F 64 DB 78 */ mr r4, r27 +/* 802A3808 002A0768 7F 85 E3 78 */ mr r5, r28 +/* 802A380C 002A076C 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A3810 002A0770 4B FF FF 39 */ bl BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache +lbl_802A3814: +/* 802A3814 002A0774 3B DE 00 01 */ addi r30, r30, 1 +/* 802A3818 002A0778 3B FF 00 02 */ addi r31, r31, 2 +/* 802A381C 002A077C 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A3820 002A0780 41 80 FF 4C */ blt lbl_802A376C +/* 802A3824 002A0784 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802A3828 002A0788 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A382C 002A078C 7C 08 03 A6 */ mtlr r0 +/* 802A3830 002A0790 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A3834 002A0794 4E 80 00 20 */ blr + +.global ClearCache__19CAreaCollisionCacheFv +ClearCache__19CAreaCollisionCacheFv: +/* 802A3838 002A0798 38 E3 00 1C */ addi r7, r3, 0x1c +/* 802A383C 002A079C 38 80 00 00 */ li r4, 0 +/* 802A3840 002A07A0 48 00 00 74 */ b lbl_802A38B4 +lbl_802A3844: +/* 802A3844 002A07A4 28 07 00 00 */ cmplwi r7, 0 +/* 802A3848 002A07A8 41 82 00 64 */ beq lbl_802A38AC +/* 802A384C 002A07AC 34 07 00 04 */ addic. r0, r7, 4 +/* 802A3850 002A07B0 41 82 00 5C */ beq lbl_802A38AC +/* 802A3854 002A07B4 81 07 00 04 */ lwz r8, 4(r7) +/* 802A3858 002A07B8 38 A0 00 00 */ li r5, 0 +/* 802A385C 002A07BC 2C 08 00 00 */ cmpwi r8, 0 +/* 802A3860 002A07C0 40 81 00 44 */ ble lbl_802A38A4 +/* 802A3864 002A07C4 2C 08 00 08 */ cmpwi r8, 8 +/* 802A3868 002A07C8 38 C8 FF F8 */ addi r6, r8, -8 +/* 802A386C 002A07CC 40 81 00 20 */ ble lbl_802A388C +/* 802A3870 002A07D0 38 06 00 07 */ addi r0, r6, 7 +/* 802A3874 002A07D4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A3878 002A07D8 7C 09 03 A6 */ mtctr r0 +/* 802A387C 002A07DC 2C 06 00 00 */ cmpwi r6, 0 +/* 802A3880 002A07E0 40 81 00 0C */ ble lbl_802A388C +lbl_802A3884: +/* 802A3884 002A07E4 38 A5 00 08 */ addi r5, r5, 8 +/* 802A3888 002A07E8 42 00 FF FC */ bdnz lbl_802A3884 +lbl_802A388C: +/* 802A388C 002A07EC 7C 05 40 50 */ subf r0, r5, r8 +/* 802A3890 002A07F0 7C 09 03 A6 */ mtctr r0 +/* 802A3894 002A07F4 7C 05 40 00 */ cmpw r5, r8 +/* 802A3898 002A07F8 40 80 00 0C */ bge lbl_802A38A4 +lbl_802A389C: +/* 802A389C 002A07FC 38 A5 00 01 */ addi r5, r5, 1 +/* 802A38A0 002A0800 42 00 FF FC */ bdnz lbl_802A389C +lbl_802A38A4: +/* 802A38A4 002A0804 38 00 00 00 */ li r0, 0 +/* 802A38A8 002A0808 90 07 00 04 */ stw r0, 4(r7) +lbl_802A38AC: +/* 802A38AC 002A080C 38 E7 09 0C */ addi r7, r7, 0x90c +/* 802A38B0 002A0810 38 84 00 01 */ addi r4, r4, 1 +lbl_802A38B4: +/* 802A38B4 002A0814 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A38B8 002A0818 7C 04 00 00 */ cmpw r4, r0 +/* 802A38BC 002A081C 41 80 FF 88 */ blt lbl_802A3844 +/* 802A38C0 002A0820 38 80 00 00 */ li r4, 0 +/* 802A38C4 002A0824 90 83 00 18 */ stw r4, 0x18(r3) +/* 802A38C8 002A0828 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A38CC 002A082C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A38D0 002A0830 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A38D4 002A0834 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A38D8 002A0838 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802A38DC 002A083C 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A38E0 002A0840 4E 80 00 20 */ blr + +.global SetCacheBounds__19CAreaCollisionCacheFRC6CAABox +SetCacheBounds__19CAreaCollisionCacheFRC6CAABox: +/* 802A38E4 002A0844 80 A4 00 00 */ lwz r5, 0(r4) +/* 802A38E8 002A0848 80 04 00 04 */ lwz r0, 4(r4) +/* 802A38EC 002A084C 90 A3 00 00 */ stw r5, 0(r3) +/* 802A38F0 002A0850 90 03 00 04 */ stw r0, 4(r3) +/* 802A38F4 002A0854 80 04 00 08 */ lwz r0, 8(r4) +/* 802A38F8 002A0858 90 03 00 08 */ stw r0, 8(r3) +/* 802A38FC 002A085C 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 802A3900 002A0860 80 04 00 10 */ lwz r0, 0x10(r4) +/* 802A3904 002A0864 90 A3 00 0C */ stw r5, 0xc(r3) +/* 802A3908 002A0868 90 03 00 10 */ stw r0, 0x10(r3) +/* 802A390C 002A086C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 802A3910 002A0870 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A3914 002A0874 4E 80 00 20 */ blr + +.global AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache +AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache: +/* 802A3918 002A0878 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A391C 002A087C 7C 08 02 A6 */ mflr r0 +/* 802A3920 002A0880 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A3924 002A0884 80 04 00 04 */ lwz r0, 4(r4) +/* 802A3928 002A0888 2C 00 00 00 */ cmpwi r0, 0 +/* 802A392C 002A088C 41 82 00 54 */ beq lbl_802A3980 +/* 802A3930 002A0890 88 04 09 08 */ lbz r0, 0x908(r4) +/* 802A3934 002A0894 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 802A3938 002A0898 41 82 00 14 */ beq lbl_802A394C +/* 802A393C 002A089C 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3940 002A08A0 38 A0 00 01 */ li r5, 1 +/* 802A3944 002A08A4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3948 002A08A8 98 03 1B 40 */ stb r0, 0x1b40(r3) +lbl_802A394C: +/* 802A394C 002A08AC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A3950 002A08B0 2C 00 00 03 */ cmpwi r0, 3 +/* 802A3954 002A08B4 40 80 00 10 */ bge lbl_802A3964 +/* 802A3958 002A08B8 38 63 00 18 */ addi r3, r3, 0x18 +/* 802A395C 002A08BC 48 00 00 35 */ bl sub_802a3990 +/* 802A3960 002A08C0 48 00 00 20 */ b lbl_802A3980 +lbl_802A3964: +/* 802A3964 002A08C4 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3968 002A08C8 38 80 00 01 */ li r4, 1 +/* 802A396C 002A08CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A3970 002A08D0 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3974 002A08D4 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3978 002A08D8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 802A397C 002A08DC 98 03 1B 40 */ stb r0, 0x1b40(r3) +lbl_802A3980: +/* 802A3980 002A08E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A3984 002A08E4 7C 08 03 A6 */ mtlr r0 +/* 802A3988 002A08E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A398C 002A08EC 4E 80 00 20 */ blr + +.global sub_802a3990 +sub_802a3990: +/* 802A3990 002A08F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A3994 002A08F4 7C 08 02 A6 */ mflr r0 +/* 802A3998 002A08F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A399C 002A08FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A39A0 002A0900 7C 7F 1B 78 */ mr r31, r3 +/* 802A39A4 002A0904 80 03 00 00 */ lwz r0, 0(r3) +/* 802A39A8 002A0908 1C 00 09 0C */ mulli r0, r0, 0x90c +/* 802A39AC 002A090C 7C 7F 02 14 */ add r3, r31, r0 +/* 802A39B0 002A0910 38 63 00 04 */ addi r3, r3, 4 +/* 802A39B4 002A0914 48 00 00 25 */ bl sub_802a39d8 +/* 802A39B8 002A0918 80 7F 00 00 */ lwz r3, 0(r31) +/* 802A39BC 002A091C 38 03 00 01 */ addi r0, r3, 1 +/* 802A39C0 002A0920 90 1F 00 00 */ stw r0, 0(r31) +/* 802A39C4 002A0924 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A39C8 002A0928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A39CC 002A092C 7C 08 03 A6 */ mtlr r0 +/* 802A39D0 002A0930 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A39D4 002A0934 4E 80 00 20 */ blr + +.global sub_802a39d8 +sub_802a39d8: +/* 802A39D8 002A0938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A39DC 002A093C 7C 08 02 A6 */ mflr r0 +/* 802A39E0 002A0940 28 03 00 00 */ cmplwi r3, 0 +/* 802A39E4 002A0944 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A39E8 002A0948 41 82 00 08 */ beq lbl_802A39F0 +/* 802A39EC 002A094C 48 00 00 15 */ bl sub_802a3a00 +lbl_802A39F0: +/* 802A39F0 002A0950 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A39F4 002A0954 7C 08 03 A6 */ mtlr r0 +/* 802A39F8 002A0958 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A39FC 002A095C 4E 80 00 20 */ blr + +.global sub_802a3a00 +sub_802a3a00: +/* 802A3A00 002A0960 80 04 00 00 */ lwz r0, 0(r4) +/* 802A3A04 002A0964 38 C4 00 08 */ addi r6, r4, 8 +/* 802A3A08 002A0968 38 A3 00 08 */ addi r5, r3, 8 +/* 802A3A0C 002A096C 90 03 00 00 */ stw r0, 0(r3) +/* 802A3A10 002A0970 80 04 00 04 */ lwz r0, 4(r4) +/* 802A3A14 002A0974 90 03 00 04 */ stw r0, 4(r3) +/* 802A3A18 002A0978 80 03 00 04 */ lwz r0, 4(r3) +/* 802A3A1C 002A097C 7C 09 03 A6 */ mtctr r0 +/* 802A3A20 002A0980 2C 00 00 00 */ cmpwi r0, 0 +/* 802A3A24 002A0984 40 81 00 60 */ ble lbl_802A3A84 +lbl_802A3A28: +/* 802A3A28 002A0988 28 05 00 00 */ cmplwi r5, 0 +/* 802A3A2C 002A098C 41 82 00 4C */ beq lbl_802A3A78 +/* 802A3A30 002A0990 C0 06 00 00 */ lfs f0, 0(r6) +/* 802A3A34 002A0994 D0 05 00 00 */ stfs f0, 0(r5) +/* 802A3A38 002A0998 C0 06 00 04 */ lfs f0, 4(r6) +/* 802A3A3C 002A099C D0 05 00 04 */ stfs f0, 4(r5) +/* 802A3A40 002A09A0 C0 06 00 08 */ lfs f0, 8(r6) +/* 802A3A44 002A09A4 D0 05 00 08 */ stfs f0, 8(r5) +/* 802A3A48 002A09A8 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 802A3A4C 002A09AC D0 05 00 0C */ stfs f0, 0xc(r5) +/* 802A3A50 002A09B0 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 802A3A54 002A09B4 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 802A3A58 002A09B8 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 802A3A5C 002A09BC D0 05 00 14 */ stfs f0, 0x14(r5) +/* 802A3A60 002A09C0 80 06 00 18 */ lwz r0, 0x18(r6) +/* 802A3A64 002A09C4 90 05 00 18 */ stw r0, 0x18(r5) +/* 802A3A68 002A09C8 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 802A3A6C 002A09CC 90 05 00 1C */ stw r0, 0x1c(r5) +/* 802A3A70 002A09D0 80 06 00 20 */ lwz r0, 0x20(r6) +/* 802A3A74 002A09D4 90 05 00 20 */ stw r0, 0x20(r5) +lbl_802A3A78: +/* 802A3A78 002A09D8 38 A5 00 24 */ addi r5, r5, 0x24 +/* 802A3A7C 002A09DC 38 C6 00 24 */ addi r6, r6, 0x24 +/* 802A3A80 002A09E0 42 00 FF A8 */ bdnz lbl_802A3A28 +lbl_802A3A84: +/* 802A3A84 002A09E4 88 04 09 08 */ lbz r0, 0x908(r4) +/* 802A3A88 002A09E8 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3A8C 002A09EC 4E 80 00 20 */ blr + +.global __ct__19CAreaCollisionCacheFRC6CAABox +__ct__19CAreaCollisionCacheFRC6CAABox: +/* 802A3A90 002A09F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A3A94 002A09F4 38 A0 00 00 */ li r5, 0 +/* 802A3A98 002A09F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A3A9C 002A09FC C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3AA0 002A0A00 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A3AA4 002A0A04 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3AA8 002A0A08 D0 03 00 08 */ stfs f0, 8(r3) +/* 802A3AAC 002A0A0C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3AB0 002A0A10 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802A3AB4 002A0A14 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3AB8 002A0A18 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802A3ABC 002A0A1C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3AC0 002A0A20 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A3AC4 002A0A24 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802A3AC8 002A0A28 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3ACC 002A0A2C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3AD0 002A0A30 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3AD4 002A0A34 88 03 1B 40 */ lbz r0, 0x1b40(r3) +/* 802A3AD8 002A0A38 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 802A3ADC 002A0A3C 98 03 1B 40 */ stb r0, 0x1b40(r3) +/* 802A3AE0 002A0A40 4E 80 00 20 */ blr + +.global AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node +AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node: +/* 802A3AE4 002A0A44 80 03 00 04 */ lwz r0, 4(r3) +/* 802A3AE8 002A0A48 2C 00 00 40 */ cmpwi r0, 0x40 +/* 802A3AEC 002A0A4C 40 82 00 18 */ bne lbl_802A3B04 +/* 802A3AF0 002A0A50 88 03 09 08 */ lbz r0, 0x908(r3) +/* 802A3AF4 002A0A54 38 80 00 01 */ li r4, 1 +/* 802A3AF8 002A0A58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 802A3AFC 002A0A5C 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3B00 002A0A60 4E 80 00 20 */ blr +lbl_802A3B04: +/* 802A3B04 002A0A64 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 802A3B08 002A0A68 7C A3 02 14 */ add r5, r3, r0 +/* 802A3B0C 002A0A6C 34 A5 00 08 */ addic. r5, r5, 8 +/* 802A3B10 002A0A70 41 82 00 4C */ beq lbl_802A3B5C +/* 802A3B14 002A0A74 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A3B18 002A0A78 D0 05 00 00 */ stfs f0, 0(r5) +/* 802A3B1C 002A0A7C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A3B20 002A0A80 D0 05 00 04 */ stfs f0, 4(r5) +/* 802A3B24 002A0A84 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A3B28 002A0A88 D0 05 00 08 */ stfs f0, 8(r5) +/* 802A3B2C 002A0A8C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A3B30 002A0A90 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 802A3B34 002A0A94 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A3B38 002A0A98 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 802A3B3C 002A0A9C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A3B40 002A0AA0 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 802A3B44 002A0AA4 80 04 00 18 */ lwz r0, 0x18(r4) +/* 802A3B48 002A0AA8 90 05 00 18 */ stw r0, 0x18(r5) +/* 802A3B4C 002A0AAC 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 802A3B50 002A0AB0 90 05 00 1C */ stw r0, 0x1c(r5) +/* 802A3B54 002A0AB4 80 04 00 20 */ lwz r0, 0x20(r4) +/* 802A3B58 002A0AB8 90 05 00 20 */ stw r0, 0x20(r5) +lbl_802A3B5C: +/* 802A3B5C 002A0ABC 80 83 00 04 */ lwz r4, 4(r3) +/* 802A3B60 002A0AC0 38 04 00 01 */ addi r0, r4, 1 +/* 802A3B64 002A0AC4 90 03 00 04 */ stw r0, 4(r3) +/* 802A3B68 002A0AC8 4E 80 00 20 */ blr + +.global __ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree +__ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree: +/* 802A3B6C 002A0ACC 90 83 00 00 */ stw r4, 0(r3) +/* 802A3B70 002A0AD0 38 A0 00 00 */ li r5, 0 +/* 802A3B74 002A0AD4 90 A3 00 04 */ stw r5, 4(r3) +/* 802A3B78 002A0AD8 88 03 09 08 */ lbz r0, 0x908(r3) +/* 802A3B7C 002A0ADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 802A3B80 002A0AE0 98 03 09 08 */ stb r0, 0x908(r3) +/* 802A3B84 002A0AE4 4E 80 00 20 */ blr + +.global "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +"MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f": +/* 802A3B88 002A0AE8 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 802A3B8C 002A0AEC 7C 08 02 A6 */ mflr r0 +/* 802A3B90 002A0AF0 90 01 02 44 */ stw r0, 0x244(r1) +/* 802A3B94 002A0AF4 DB E1 02 30 */ stfd f31, 0x230(r1) +/* 802A3B98 002A0AF8 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 +/* 802A3B9C 002A0AFC BE A1 02 04 */ stmw r21, 0x204(r1) +/* 802A3BA0 002A0B00 7C B8 2B 78 */ mr r24, r5 +/* 802A3BA4 002A0B04 7C 76 1B 78 */ mr r22, r3 +/* 802A3BA8 002A0B08 7C 97 23 78 */ mr r23, r4 +/* 802A3BAC 002A0B0C 7C D9 33 78 */ mr r25, r6 +/* 802A3BB0 002A0B10 7C FA 3B 78 */ mr r26, r7 +/* 802A3BB4 002A0B14 7D 1B 43 78 */ mr r27, r8 +/* 802A3BB8 002A0B18 7D 3C 4B 78 */ mr r28, r9 +/* 802A3BBC 002A0B1C 3B F8 00 04 */ addi r31, r24, 4 +/* 802A3BC0 002A0B20 3B C0 00 00 */ li r30, 0 +/* 802A3BC4 002A0B24 3B A0 00 00 */ li r29, 0 +/* 802A3BC8 002A0B28 48 00 04 00 */ b lbl_802A3FC8 +lbl_802A3BCC: +/* 802A3BCC 002A0B2C 7E C4 B3 78 */ mr r4, r22 +/* 802A3BD0 002A0B30 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802A3BD4 002A0B34 48 07 09 B1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3BD8 002A0B38 7E E4 BB 78 */ mr r4, r23 +/* 802A3BDC 002A0B3C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 802A3BE0 002A0B40 48 07 09 A5 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3BE4 002A0B44 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802A3BE8 002A0B48 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 802A3BEC 002A0B4C 48 07 08 81 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3BF0 002A0B50 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3BF4 002A0B54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3BF8 002A0B58 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3BFC 002A0B5C 7C 00 00 26 */ mfcr r0 +/* 802A3C00 002A0B60 38 7F 00 70 */ addi r3, r31, 0x70 +/* 802A3C04 002A0B64 54 15 1F FE */ rlwinm r21, r0, 3, 0x1f, 0x1f +/* 802A3C08 002A0B68 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3C0C 002A0B6C 48 07 08 61 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3C10 002A0B70 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3C14 002A0B74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3C18 002A0B78 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3C1C 002A0B7C 7C 00 00 26 */ mfcr r0 +/* 802A3C20 002A0B80 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f +/* 802A3C24 002A0B84 7C 00 A8 40 */ cmplw r0, r21 +/* 802A3C28 002A0B88 41 82 03 98 */ beq lbl_802A3FC0 +/* 802A3C2C 002A0B8C 38 61 01 58 */ addi r3, r1, 0x158 +/* 802A3C30 002A0B90 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3C34 002A0B94 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 802A3C38 002A0B98 48 07 07 5D */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3C3C 002A0B9C C8 41 01 58 */ lfd f2, 0x158(r1) +/* 802A3C40 002A0BA0 38 61 01 40 */ addi r3, r1, 0x140 +/* 802A3C44 002A0BA4 C8 21 01 60 */ lfd f1, 0x160(r1) +/* 802A3C48 002A0BA8 38 9F 00 58 */ addi r4, r31, 0x58 +/* 802A3C4C 002A0BAC C8 01 01 68 */ lfd f0, 0x168(r1) +/* 802A3C50 002A0BB0 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802A3C54 002A0BB4 D8 41 01 B8 */ stfd f2, 0x1b8(r1) +/* 802A3C58 002A0BB8 D8 21 01 C0 */ stfd f1, 0x1c0(r1) +/* 802A3C5C 002A0BBC D8 01 01 C8 */ stfd f0, 0x1c8(r1) +/* 802A3C60 002A0BC0 48 07 07 BD */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3C64 002A0BC4 C8 41 01 40 */ lfd f2, 0x140(r1) +/* 802A3C68 002A0BC8 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 802A3C6C 002A0BCC C8 21 01 48 */ lfd f1, 0x148(r1) +/* 802A3C70 002A0BD0 C8 01 01 50 */ lfd f0, 0x150(r1) +/* 802A3C74 002A0BD4 D8 41 01 A0 */ stfd f2, 0x1a0(r1) +/* 802A3C78 002A0BD8 D8 21 01 A8 */ stfd f1, 0x1a8(r1) +/* 802A3C7C 002A0BDC D8 01 01 B0 */ stfd f0, 0x1b0(r1) +/* 802A3C80 002A0BE0 48 07 08 A1 */ bl MagSquared__9CVector3dCFv +/* 802A3C84 002A0BE4 C8 02 C1 50 */ lfd f0, lbl_805ADE70@sda21(r2) +/* 802A3C88 002A0BE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3C8C 002A0BEC 41 80 03 34 */ blt lbl_802A3FC0 +/* 802A3C90 002A0BF0 38 61 01 28 */ addi r3, r1, 0x128 +/* 802A3C94 002A0BF4 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802A3C98 002A0BF8 48 07 08 25 */ bl AsNormalized__9CVector3dCFv +/* 802A3C9C 002A0BFC C8 41 01 28 */ lfd f2, 0x128(r1) +/* 802A3CA0 002A0C00 7F 24 CB 78 */ mr r4, r25 +/* 802A3CA4 002A0C04 C8 21 01 30 */ lfd f1, 0x130(r1) +/* 802A3CA8 002A0C08 38 61 01 10 */ addi r3, r1, 0x110 +/* 802A3CAC 002A0C0C C8 01 01 38 */ lfd f0, 0x138(r1) +/* 802A3CB0 002A0C10 D8 41 01 88 */ stfd f2, 0x188(r1) +/* 802A3CB4 002A0C14 D8 21 01 90 */ stfd f1, 0x190(r1) +/* 802A3CB8 002A0C18 D8 01 01 98 */ stfd f0, 0x198(r1) +/* 802A3CBC 002A0C1C 48 07 08 C9 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3CC0 002A0C20 7C 64 1B 78 */ mr r4, r3 +/* 802A3CC4 002A0C24 38 61 01 88 */ addi r3, r1, 0x188 +/* 802A3CC8 002A0C28 48 07 07 A5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3CCC 002A0C2C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3CD0 002A0C30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3CD4 002A0C34 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3CD8 002A0C38 40 82 00 C0 */ bne lbl_802A3D98 +/* 802A3CDC 002A0C3C 7E C4 B3 78 */ mr r4, r22 +/* 802A3CE0 002A0C40 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 802A3CE4 002A0C44 48 07 08 A1 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3CE8 002A0C48 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 802A3CEC 002A0C4C 7E E4 BB 78 */ mr r4, r23 +/* 802A3CF0 002A0C50 C8 21 01 00 */ lfd f1, 0x100(r1) +/* 802A3CF4 002A0C54 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 802A3CF8 002A0C58 C8 01 01 08 */ lfd f0, 0x108(r1) +/* 802A3CFC 002A0C5C D8 41 01 D0 */ stfd f2, 0x1d0(r1) +/* 802A3D00 002A0C60 D8 21 01 D8 */ stfd f1, 0x1d8(r1) +/* 802A3D04 002A0C64 D8 01 01 E0 */ stfd f0, 0x1e0(r1) +/* 802A3D08 002A0C68 48 07 08 7D */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3D0C 002A0C6C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 802A3D10 002A0C70 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 802A3D14 002A0C74 C8 21 00 E8 */ lfd f1, 0xe8(r1) +/* 802A3D18 002A0C78 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3D1C 002A0C7C C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 802A3D20 002A0C80 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 802A3D24 002A0C84 D8 41 01 E8 */ stfd f2, 0x1e8(r1) +/* 802A3D28 002A0C88 D8 21 01 F0 */ stfd f1, 0x1f0(r1) +/* 802A3D2C 002A0C8C D8 01 01 F8 */ stfd f0, 0x1f8(r1) +/* 802A3D30 002A0C90 48 07 06 65 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3D34 002A0C94 C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 802A3D38 002A0C98 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 802A3D3C 002A0C9C C8 21 00 D0 */ lfd f1, 0xd0(r1) +/* 802A3D40 002A0CA0 38 9F 00 58 */ addi r4, r31, 0x58 +/* 802A3D44 002A0CA4 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 802A3D48 002A0CA8 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 802A3D4C 002A0CAC D8 41 01 B8 */ stfd f2, 0x1b8(r1) +/* 802A3D50 002A0CB0 D8 21 01 C0 */ stfd f1, 0x1c0(r1) +/* 802A3D54 002A0CB4 D8 01 01 C8 */ stfd f0, 0x1c8(r1) +/* 802A3D58 002A0CB8 48 07 06 C5 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3D5C 002A0CBC C8 41 00 B0 */ lfd f2, 0xb0(r1) +/* 802A3D60 002A0CC0 38 61 00 98 */ addi r3, r1, 0x98 +/* 802A3D64 002A0CC4 C8 21 00 B8 */ lfd f1, 0xb8(r1) +/* 802A3D68 002A0CC8 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 802A3D6C 002A0CCC C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 802A3D70 002A0CD0 D8 41 01 A0 */ stfd f2, 0x1a0(r1) +/* 802A3D74 002A0CD4 D8 21 01 A8 */ stfd f1, 0x1a8(r1) +/* 802A3D78 002A0CD8 D8 01 01 B0 */ stfd f0, 0x1b0(r1) +/* 802A3D7C 002A0CDC 48 07 07 41 */ bl AsNormalized__9CVector3dCFv +/* 802A3D80 002A0CE0 C8 41 00 98 */ lfd f2, 0x98(r1) +/* 802A3D84 002A0CE4 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 802A3D88 002A0CE8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 802A3D8C 002A0CEC D8 41 01 88 */ stfd f2, 0x188(r1) +/* 802A3D90 002A0CF0 D8 21 01 90 */ stfd f1, 0x190(r1) +/* 802A3D94 002A0CF4 D8 01 01 98 */ stfd f0, 0x198(r1) +lbl_802A3D98: +/* 802A3D98 002A0CF8 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 802A3D9C 002A0CFC 38 9F 00 70 */ addi r4, r31, 0x70 +/* 802A3DA0 002A0D00 48 07 06 CD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3DA4 002A0D04 FF E0 08 90 */ fmr f31, f1 +/* 802A3DA8 002A0D08 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 802A3DAC 002A0D0C 38 9F 00 70 */ addi r4, r31, 0x70 +/* 802A3DB0 002A0D10 48 07 06 BD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d +/* 802A3DB4 002A0D14 C8 1F 00 88 */ lfd f0, 0x88(r31) +/* 802A3DB8 002A0D18 38 61 00 68 */ addi r3, r1, 0x68 +/* 802A3DBC 002A0D1C 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 802A3DC0 002A0D20 FC 01 00 28 */ fsub f0, f1, f0 +/* 802A3DC4 002A0D24 FC 00 00 50 */ fneg f0, f0 +/* 802A3DC8 002A0D28 FC 20 F8 24 */ fdiv f1, f0, f31 +/* 802A3DCC 002A0D2C 48 07 05 8D */ bl __ml__FdRC9CVector3d +/* 802A3DD0 002A0D30 38 61 00 80 */ addi r3, r1, 0x80 +/* 802A3DD4 002A0D34 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 802A3DD8 002A0D38 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A3DDC 002A0D3C 48 07 05 FD */ bl __pl__FRC9CVector3dRC9CVector3d +/* 802A3DE0 002A0D40 C8 3F 00 78 */ lfd f1, 0x78(r31) +/* 802A3DE4 002A0D44 C8 1F 00 70 */ lfd f0, 0x70(r31) +/* 802A3DE8 002A0D48 FC 60 0A 10 */ fabs f3, f1 +/* 802A3DEC 002A0D4C C8 41 00 80 */ lfd f2, 0x80(r1) +/* 802A3DF0 002A0D50 FC 80 02 10 */ fabs f4, f0 +/* 802A3DF4 002A0D54 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 802A3DF8 002A0D58 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 802A3DFC 002A0D5C D8 41 01 70 */ stfd f2, 0x170(r1) +/* 802A3E00 002A0D60 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802A3E04 002A0D64 D8 21 01 78 */ stfd f1, 0x178(r1) +/* 802A3E08 002A0D68 D8 01 01 80 */ stfd f0, 0x180(r1) +/* 802A3E0C 002A0D6C 40 81 00 0C */ ble lbl_802A3E18 +/* 802A3E10 002A0D70 38 80 00 00 */ li r4, 0 +/* 802A3E14 002A0D74 48 00 00 08 */ b lbl_802A3E1C +lbl_802A3E18: +/* 802A3E18 002A0D78 38 80 00 01 */ li r4, 1 +lbl_802A3E1C: +/* 802A3E1C 002A0D7C 54 80 18 38 */ slwi r0, r4, 3 +/* 802A3E20 002A0D80 C8 1F 00 80 */ lfd f0, 0x80(r31) +/* 802A3E24 002A0D84 7C 7F 02 14 */ add r3, r31, r0 +/* 802A3E28 002A0D88 C8 23 00 70 */ lfd f1, 0x70(r3) +/* 802A3E2C 002A0D8C FC 40 02 10 */ fabs f2, f0 +/* 802A3E30 002A0D90 FC 00 0A 10 */ fabs f0, f1 +/* 802A3E34 002A0D94 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 802A3E38 002A0D98 40 80 00 08 */ bge lbl_802A3E40 +/* 802A3E3C 002A0D9C 38 80 00 02 */ li r4, 2 +lbl_802A3E40: +/* 802A3E40 002A0DA0 2C 04 00 00 */ cmpwi r4, 0 +/* 802A3E44 002A0DA4 40 82 00 10 */ bne lbl_802A3E54 +/* 802A3E48 002A0DA8 38 80 00 01 */ li r4, 1 +/* 802A3E4C 002A0DAC 39 00 00 02 */ li r8, 2 +/* 802A3E50 002A0DB0 48 00 00 20 */ b lbl_802A3E70 +lbl_802A3E54: +/* 802A3E54 002A0DB4 2C 04 00 01 */ cmpwi r4, 1 +/* 802A3E58 002A0DB8 40 82 00 10 */ bne lbl_802A3E68 +/* 802A3E5C 002A0DBC 38 80 00 00 */ li r4, 0 +/* 802A3E60 002A0DC0 39 00 00 02 */ li r8, 2 +/* 802A3E64 002A0DC4 48 00 00 0C */ b lbl_802A3E70 +lbl_802A3E68: +/* 802A3E68 002A0DC8 38 80 00 00 */ li r4, 0 +/* 802A3E6C 002A0DCC 39 00 00 01 */ li r8, 1 +lbl_802A3E70: +/* 802A3E70 002A0DD0 54 80 18 38 */ slwi r0, r4, 3 +/* 802A3E74 002A0DD4 38 61 01 70 */ addi r3, r1, 0x170 +/* 802A3E78 002A0DD8 7C FF 02 14 */ add r7, r31, r0 +/* 802A3E7C 002A0DDC 55 06 18 38 */ slwi r6, r8, 3 +/* 802A3E80 002A0DE0 7C 23 04 AE */ lfdx f1, r3, r0 +/* 802A3E84 002A0DE4 7C BF 32 14 */ add r5, r31, r6 +/* 802A3E88 002A0DE8 C8 07 00 28 */ lfd f0, 0x28(r7) +/* 802A3E8C 002A0DEC 54 84 10 3A */ slwi r4, r4, 2 +/* 802A3E90 002A0DF0 55 00 10 3A */ slwi r0, r8, 2 +/* 802A3E94 002A0DF4 C8 85 00 58 */ lfd f4, 0x58(r5) +/* 802A3E98 002A0DF8 FC 61 00 28 */ fsub f3, f1, f0 +/* 802A3E9C 002A0DFC 7C 19 24 2E */ lfsx f0, r25, r4 +/* 802A3EA0 002A0E00 7C C3 34 AE */ lfdx f6, r3, r6 +/* 802A3EA4 002A0E04 C8 A5 00 28 */ lfd f5, 0x28(r5) +/* 802A3EA8 002A0E08 FC 24 00 32 */ fmul f1, f4, f0 +/* 802A3EAC 002A0E0C C8 E7 00 58 */ lfd f7, 0x58(r7) +/* 802A3EB0 002A0E10 7C 59 04 2E */ lfsx f2, r25, r0 +/* 802A3EB4 002A0E14 FC 64 00 F2 */ fmul f3, f4, f3 +/* 802A3EB8 002A0E18 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3EBC 002A0E1C FC 86 28 28 */ fsub f4, f6, f5 +/* 802A3EC0 002A0E20 FC 27 08 B8 */ fmsub f1, f7, f2, f1 +/* 802A3EC4 002A0E24 FC 47 19 38 */ fmsub f2, f7, f4, f3 +/* 802A3EC8 002A0E28 FF E2 08 24 */ fdiv f31, f2, f1 +/* 802A3ECC 002A0E2C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3ED0 002A0E30 41 80 00 F0 */ blt lbl_802A3FC0 +/* 802A3ED4 002A0E34 C8 1A 00 00 */ lfd f0, 0(r26) +/* 802A3ED8 002A0E38 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3EDC 002A0E3C 4C 41 13 82 */ cror 2, 1, 2 +/* 802A3EE0 002A0E40 41 82 00 E0 */ beq lbl_802A3FC0 +/* 802A3EE4 002A0E44 7F 24 CB 78 */ mr r4, r25 +/* 802A3EE8 002A0E48 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A3EEC 002A0E4C 48 07 06 99 */ bl __ct__9CVector3dFRC9CVector3f +/* 802A3EF0 002A0E50 FC 20 F8 90 */ fmr f1, f31 +/* 802A3EF4 002A0E54 7C 64 1B 78 */ mr r4, r3 +/* 802A3EF8 002A0E58 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A3EFC 002A0E5C 48 07 04 5D */ bl __ml__FdRC9CVector3d +/* 802A3F00 002A0E60 38 61 00 50 */ addi r3, r1, 0x50 +/* 802A3F04 002A0E64 38 81 01 70 */ addi r4, r1, 0x170 +/* 802A3F08 002A0E68 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A3F0C 002A0E6C 48 07 04 89 */ bl __mi__FRC9CVector3dRC9CVector3d +/* 802A3F10 002A0E70 C8 41 00 50 */ lfd f2, 0x50(r1) +/* 802A3F14 002A0E74 C8 3F 00 28 */ lfd f1, 0x28(r31) +/* 802A3F18 002A0E78 C8 1F 00 40 */ lfd f0, 0x40(r31) +/* 802A3F1C 002A0E7C FC 21 10 28 */ fsub f1, f1, f2 +/* 802A3F20 002A0E80 C8 A1 00 58 */ lfd f5, 0x58(r1) +/* 802A3F24 002A0E84 FC 00 10 28 */ fsub f0, f0, f2 +/* 802A3F28 002A0E88 C8 7F 00 30 */ lfd f3, 0x30(r31) +/* 802A3F2C 002A0E8C C8 5F 00 48 */ lfd f2, 0x48(r31) +/* 802A3F30 002A0E90 FC 63 28 28 */ fsub f3, f3, f5 +/* 802A3F34 002A0E94 FC 01 00 32 */ fmul f0, f1, f0 +/* 802A3F38 002A0E98 C8 C1 00 60 */ lfd f6, 0x60(r1) +/* 802A3F3C 002A0E9C C8 9F 00 38 */ lfd f4, 0x38(r31) +/* 802A3F40 002A0EA0 FC 22 28 28 */ fsub f1, f2, f5 +/* 802A3F44 002A0EA4 C8 5F 00 50 */ lfd f2, 0x50(r31) +/* 802A3F48 002A0EA8 FC 84 30 28 */ fsub f4, f4, f6 +/* 802A3F4C 002A0EAC FC 23 00 7A */ fmadd f1, f3, f1, f0 +/* 802A3F50 002A0EB0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A3F54 002A0EB4 FC 42 30 28 */ fsub f2, f2, f6 +/* 802A3F58 002A0EB8 FC 24 08 BA */ fmadd f1, f4, f2, f1 +/* 802A3F5C 002A0EBC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A3F60 002A0EC0 40 80 00 60 */ bge lbl_802A3FC0 +/* 802A3F64 002A0EC4 C8 1A 00 00 */ lfd f0, 0(r26) +/* 802A3F68 002A0EC8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 802A3F6C 002A0ECC 40 80 00 54 */ bge lbl_802A3FC0 +/* 802A3F70 002A0ED0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A3F74 002A0ED4 38 81 01 88 */ addi r4, r1, 0x188 +/* 802A3F78 002A0ED8 48 07 05 1D */ bl AsCVector3f__9CVector3dCFv +/* 802A3F7C 002A0EDC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A3F80 002A0EE0 38 61 00 08 */ addi r3, r1, 8 +/* 802A3F84 002A0EE4 38 81 01 70 */ addi r4, r1, 0x170 +/* 802A3F88 002A0EE8 D0 1B 00 00 */ stfs f0, 0(r27) +/* 802A3F8C 002A0EEC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A3F90 002A0EF0 D0 1B 00 04 */ stfs f0, 4(r27) +/* 802A3F94 002A0EF4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A3F98 002A0EF8 D0 1B 00 08 */ stfs f0, 8(r27) +/* 802A3F9C 002A0EFC DB FA 00 00 */ stfd f31, 0(r26) +/* 802A3FA0 002A0F00 48 07 04 F5 */ bl AsCVector3f__9CVector3dCFv +/* 802A3FA4 002A0F04 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A3FA8 002A0F08 3B C0 00 01 */ li r30, 1 +/* 802A3FAC 002A0F0C D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A3FB0 002A0F10 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A3FB4 002A0F14 D0 1C 00 04 */ stfs f0, 4(r28) +/* 802A3FB8 002A0F18 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A3FBC 002A0F1C D0 1C 00 08 */ stfs f0, 8(r28) +lbl_802A3FC0: +/* 802A3FC0 002A0F20 3B FF 00 90 */ addi r31, r31, 0x90 +/* 802A3FC4 002A0F24 3B BD 00 01 */ addi r29, r29, 1 +lbl_802A3FC8: +/* 802A3FC8 002A0F28 80 18 00 00 */ lwz r0, 0(r24) +/* 802A3FCC 002A0F2C 7C 1D 00 00 */ cmpw r29, r0 +/* 802A3FD0 002A0F30 41 80 FB FC */ blt lbl_802A3BCC +/* 802A3FD4 002A0F34 7F C3 F3 78 */ mr r3, r30 +/* 802A3FD8 002A0F38 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 +/* 802A3FDC 002A0F3C CB E1 02 30 */ lfd f31, 0x230(r1) +/* 802A3FE0 002A0F40 BA A1 02 04 */ lmw r21, 0x204(r1) +/* 802A3FE4 002A0F44 80 01 02 44 */ lwz r0, 0x244(r1) +/* 802A3FE8 002A0F48 7C 08 03 A6 */ mtlr r0 +/* 802A3FEC 002A0F4C 38 21 02 40 */ addi r1, r1, 0x240 +/* 802A3FF0 002A0F50 4E 80 00 20 */ blr + +.global "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +"MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f": +/* 802A3FF4 002A0F54 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802A3FF8 002A0F58 7C 08 02 A6 */ mflr r0 +/* 802A3FFC 002A0F5C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A4000 002A0F60 BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802A4004 002A0F64 7C B8 2B 78 */ mr r24, r5 +/* 802A4008 002A0F68 7C 76 1B 78 */ mr r22, r3 +/* 802A400C 002A0F6C 7C 97 23 78 */ mr r23, r4 +/* 802A4010 002A0F70 7C D9 33 78 */ mr r25, r6 +/* 802A4014 002A0F74 7C FA 3B 78 */ mr r26, r7 +/* 802A4018 002A0F78 7D 1B 43 78 */ mr r27, r8 +/* 802A401C 002A0F7C 7D 3C 4B 78 */ mr r28, r9 +/* 802A4020 002A0F80 3B F8 00 04 */ addi r31, r24, 4 +/* 802A4024 002A0F84 3B C0 00 00 */ li r30, 0 +/* 802A4028 002A0F88 3B A0 00 00 */ li r29, 0 +/* 802A402C 002A0F8C 48 00 00 BC */ b lbl_802A40E8 +lbl_802A4030: +/* 802A4030 002A0F90 80 BF 00 00 */ lwz r5, 0(r31) +/* 802A4034 002A0F94 7E E4 BB 78 */ mr r4, r23 +/* 802A4038 002A0F98 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A403C 002A0F9C 48 09 35 75 */ bl GetPoint__6CAABoxCFi +/* 802A4040 002A0FA0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 802A4044 002A0FA4 7F 24 CB 78 */ mr r4, r25 +/* 802A4048 002A0FA8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 802A404C 002A0FAC 7E C5 B3 78 */ mr r5, r22 +/* 802A4050 002A0FB0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A4054 002A0FB4 7F 46 D3 78 */ mr r6, r26 +/* 802A4058 002A0FB8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A405C 002A0FBC 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A4060 002A0FC0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802A4064 002A0FC4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802A4068 002A0FC8 48 02 E4 8D */ bl RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd +/* 802A406C 002A0FCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4070 002A0FD0 41 82 00 70 */ beq lbl_802A40E0 +/* 802A4074 002A0FD4 C8 DA 00 00 */ lfd f6, 0(r26) +/* 802A4078 002A0FD8 7E C4 B3 78 */ mr r4, r22 +/* 802A407C 002A0FDC C0 19 00 00 */ lfs f0, 0(r25) +/* 802A4080 002A0FE0 38 61 00 08 */ addi r3, r1, 8 +/* 802A4084 002A0FE4 FC C0 30 18 */ frsp f6, f6 +/* 802A4088 002A0FE8 C0 79 00 04 */ lfs f3, 4(r25) +/* 802A408C 002A0FEC C0 59 00 08 */ lfs f2, 8(r25) +/* 802A4090 002A0FF0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A4094 002A0FF4 EC 06 00 32 */ fmuls f0, f6, f0 +/* 802A4098 002A0FF8 C0 A1 00 24 */ lfs f5, 0x24(r1) +/* 802A409C 002A0FFC EC 86 00 F2 */ fmuls f4, f6, f3 +/* 802A40A0 002A1000 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 802A40A4 002A1004 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 802A40A8 002A1008 EC 01 00 2A */ fadds f0, f1, f0 +/* 802A40AC 002A100C EC 85 20 2A */ fadds f4, f5, f4 +/* 802A40B0 002A1010 EC 23 10 2A */ fadds f1, f3, f2 +/* 802A40B4 002A1014 D0 1C 00 00 */ stfs f0, 0(r28) +/* 802A40B8 002A1018 D0 9C 00 04 */ stfs f4, 4(r28) +/* 802A40BC 002A101C D0 3C 00 08 */ stfs f1, 8(r28) +/* 802A40C0 002A1020 4B FF E5 E5 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A40C4 002A1024 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A40C8 002A1028 3B C0 00 01 */ li r30, 1 +/* 802A40CC 002A102C D0 1B 00 00 */ stfs f0, 0(r27) +/* 802A40D0 002A1030 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A40D4 002A1034 D0 1B 00 04 */ stfs f0, 4(r27) +/* 802A40D8 002A1038 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A40DC 002A103C D0 1B 00 08 */ stfs f0, 8(r27) +lbl_802A40E0: +/* 802A40E0 002A1040 3B FF 00 04 */ addi r31, r31, 4 +/* 802A40E4 002A1044 3B BD 00 01 */ addi r29, r29, 1 +lbl_802A40E8: +/* 802A40E8 002A1048 80 18 00 00 */ lwz r0, 0(r24) +/* 802A40EC 002A104C 7C 1D 00 00 */ cmpw r29, r0 +/* 802A40F0 002A1050 41 80 FF 40 */ blt lbl_802A4030 +/* 802A40F4 002A1054 7F C3 F3 78 */ mr r3, r30 +/* 802A40F8 002A1058 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802A40FC 002A105C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802A4100 002A1060 7C 08 03 A6 */ mtlr r0 +/* 802A4104 002A1064 38 21 00 60 */ addi r1, r1, 0x60 +/* 802A4108 002A1068 4E 80 00 20 */ blr + +.global MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f: +/* 802A410C 002A106C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A4110 002A1070 7C 08 02 A6 */ mflr r0 +/* 802A4114 002A1074 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A4118 002A1078 BF 41 00 68 */ stmw r26, 0x68(r1) +/* 802A411C 002A107C 7C 7A 1B 78 */ mr r26, r3 +/* 802A4120 002A1080 7C 9B 23 78 */ mr r27, r4 +/* 802A4124 002A1084 7C DC 33 78 */ mr r28, r6 +/* 802A4128 002A1088 7C FD 3B 78 */ mr r29, r7 +/* 802A412C 002A108C 7D 1E 43 78 */ mr r30, r8 +/* 802A4130 002A1090 7F 44 D3 78 */ mr r4, r26 +/* 802A4134 002A1094 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A4138 002A1098 3B E0 00 00 */ li r31, 0 +/* 802A413C 002A109C C0 05 00 08 */ lfs f0, 8(r5) +/* 802A4140 002A10A0 C0 45 00 04 */ lfs f2, 4(r5) +/* 802A4144 002A10A4 FC 60 00 50 */ fneg f3, f0 +/* 802A4148 002A10A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 802A414C 002A10AC C8 26 00 00 */ lfd f1, 0(r6) +/* 802A4150 002A10B0 FC 40 10 50 */ fneg f2, f2 +/* 802A4154 002A10B4 FC 00 00 50 */ fneg f0, f0 +/* 802A4158 002A10B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A415C 002A10BC FC 20 08 18 */ frsp f1, f1 +/* 802A4160 002A10C0 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 802A4164 002A10C4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 802A4168 002A10C8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802A416C 002A10CC 48 03 1F 01 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff +/* 802A4170 002A10D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A4174 002A10D4 7F 64 DB 78 */ mr r4, r27 +/* 802A4178 002A10D8 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 802A417C 002A10DC 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A4180 002A10E0 C0 47 00 00 */ lfs f2, 0(r7) +/* 802A4184 002A10E4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802A4188 002A10E8 C0 27 00 04 */ lfs f1, 4(r7) +/* 802A418C 002A10EC 38 C1 00 08 */ addi r6, r1, 8 +/* 802A4190 002A10F0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802A4194 002A10F4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 802A4198 002A10F8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 802A419C 002A10FC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A41A0 002A1100 48 02 EF 41 */ bl RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd +/* 802A41A4 002A1104 2C 03 00 02 */ cmpwi r3, 2 +/* 802A41A8 002A1108 40 82 00 5C */ bne lbl_802A4204 +/* 802A41AC 002A110C C8 01 00 08 */ lfd f0, 8(r1) +/* 802A41B0 002A1110 C8 3C 00 00 */ lfd f1, 0(r28) +/* 802A41B4 002A1114 FC 60 00 72 */ fmul f3, f0, f1 +/* 802A41B8 002A1118 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802A41BC 002A111C 40 80 00 48 */ bge lbl_802A4204 +/* 802A41C0 002A1120 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A41C4 002A1124 3B E0 00 01 */ li r31, 1 +/* 802A41C8 002A1128 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A41CC 002A112C FC 00 00 50 */ fneg f0, f0 +/* 802A41D0 002A1130 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 802A41D4 002A1134 FC 20 08 50 */ fneg f1, f1 +/* 802A41D8 002A1138 FC 40 10 50 */ fneg f2, f2 +/* 802A41DC 002A113C D0 1D 00 00 */ stfs f0, 0(r29) +/* 802A41E0 002A1140 D0 3D 00 04 */ stfs f1, 4(r29) +/* 802A41E4 002A1144 D0 5D 00 08 */ stfs f2, 8(r29) +/* 802A41E8 002A1148 D8 7C 00 00 */ stfd f3, 0(r28) +/* 802A41EC 002A114C C0 1A 00 00 */ lfs f0, 0(r26) +/* 802A41F0 002A1150 D0 1E 00 00 */ stfs f0, 0(r30) +/* 802A41F4 002A1154 C0 1A 00 04 */ lfs f0, 4(r26) +/* 802A41F8 002A1158 D0 1E 00 04 */ stfs f0, 4(r30) +/* 802A41FC 002A115C C0 1A 00 08 */ lfs f0, 8(r26) +/* 802A4200 002A1160 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_802A4204: +/* 802A4204 002A1164 7F E3 FB 78 */ mr r3, r31 +/* 802A4208 002A1168 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 802A420C 002A116C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A4210 002A1170 7C 08 03 A6 */ mtlr r0 +/* 802A4214 002A1174 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A4218 002A1178 4E 80 00 20 */ blr + +.global MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd +MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: +/* 802A421C 002A117C 94 21 F6 30 */ stwu r1, -0x9d0(r1) +/* 802A4220 002A1180 7C 08 02 A6 */ mflr r0 +/* 802A4224 002A1184 90 01 09 D4 */ stw r0, 0x9d4(r1) +/* 802A4228 002A1188 DB E1 09 C0 */ stfd f31, 0x9c0(r1) +/* 802A422C 002A118C F3 E1 09 C8 */ psq_st f31, -1592(r1), 0, qr0 +/* 802A4230 002A1190 DB C1 09 B0 */ stfd f30, 0x9b0(r1) +/* 802A4234 002A1194 F3 C1 09 B8 */ psq_st f30, -1608(r1), 0, qr0 +/* 802A4238 002A1198 DB A1 09 A0 */ stfd f29, 0x9a0(r1) +/* 802A423C 002A119C F3 A1 09 A8 */ psq_st f29, -1624(r1), 0, qr0 +/* 802A4240 002A11A0 BD C1 09 58 */ stmw r14, 0x958(r1) +/* 802A4244 002A11A4 FF E0 08 90 */ fmr f31, f1 +/* 802A4248 002A11A8 90 61 00 08 */ stw r3, 8(r1) +/* 802A424C 002A11AC 7D 33 4B 78 */ mr r19, r9 +/* 802A4250 002A11B0 7C 8F 23 78 */ mr r15, r4 +/* 802A4254 002A11B4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A4258 002A11B8 7C D0 33 78 */ mr r16, r6 +/* 802A425C 002A11BC DB E9 00 00 */ stfd f31, 0(r9) +/* 802A4260 002A11C0 7C F1 3B 78 */ mr r17, r7 +/* 802A4264 002A11C4 7D 12 43 78 */ mr r18, r8 +/* 802A4268 002A11C8 48 00 2D D9 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A426C 002A11CC C0 51 00 00 */ lfs f2, 0(r17) +/* 802A4270 002A11D0 7D E4 7B 78 */ mr r4, r15 +/* 802A4274 002A11D4 C0 31 00 04 */ lfs f1, 4(r17) +/* 802A4278 002A11D8 7E 25 8B 78 */ mr r5, r17 +/* 802A427C 002A11DC C0 11 00 08 */ lfs f0, 8(r17) +/* 802A4280 002A11E0 EF BF 00 B2 */ fmuls f29, f31, f2 +/* 802A4284 002A11E4 EF DF 00 72 */ fmuls f30, f31, f1 +/* 802A4288 002A11E8 38 61 02 40 */ addi r3, r1, 0x240 +/* 802A428C 002A11EC EF FF 00 32 */ fmuls f31, f31, f0 +/* 802A4290 002A11F0 4B FF EE 0D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f +/* 802A4294 002A11F4 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A4298 002A11F8 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A429C 002A11FC C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A42A0 002A1200 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 802A42A4 002A1204 C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A42A8 002A1208 ED 02 F0 2A */ fadds f8, f2, f30 +/* 802A42AC 002A120C EC E1 F8 2A */ fadds f7, f1, f31 +/* 802A42B0 002A1210 C0 C1 09 28 */ lfs f6, 0x928(r1) +/* 802A42B4 002A1214 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802A42B8 002A1218 C0 A1 09 2C */ lfs f5, 0x92c(r1) +/* 802A42BC 002A121C C0 81 09 30 */ lfs f4, 0x930(r1) +/* 802A42C0 002A1220 C0 61 09 34 */ lfs f3, 0x934(r1) +/* 802A42C4 002A1224 C0 41 09 38 */ lfs f2, 0x938(r1) +/* 802A42C8 002A1228 C0 21 09 3C */ lfs f1, 0x93c(r1) +/* 802A42CC 002A122C D0 C1 00 DC */ stfs f6, 0xdc(r1) +/* 802A42D0 002A1230 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802A42D4 002A1234 D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 802A42D8 002A1238 D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 802A42DC 002A123C D0 41 00 EC */ stfs f2, 0xec(r1) +/* 802A42E0 002A1240 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 802A42E4 002A1244 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 802A42E8 002A1248 D1 01 00 A4 */ stfs f8, 0xa4(r1) +/* 802A42EC 002A124C D0 E1 00 A8 */ stfs f7, 0xa8(r1) +/* 802A42F0 002A1250 48 09 38 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A42F4 002A1254 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A42F8 002A1258 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A42FC 002A125C C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4300 002A1260 38 81 00 94 */ addi r4, r1, 0x94 +/* 802A4304 002A1264 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4308 002A1268 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A430C 002A126C EC 21 F8 2A */ fadds f1, f1, f31 +/* 802A4310 002A1270 EC 00 E8 2A */ fadds f0, f0, f29 +/* 802A4314 002A1274 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 802A4318 002A1278 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 802A431C 002A127C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 802A4320 002A1280 48 09 37 E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4324 002A1284 38 61 00 88 */ addi r3, r1, 0x88 +/* 802A4328 002A1288 38 81 00 DC */ addi r4, r1, 0xdc +/* 802A432C 002A128C 48 09 32 E1 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4330 002A1290 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802A4334 002A1294 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A4338 002A1298 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802A433C 002A129C 3B 00 00 00 */ li r24, 0 +/* 802A4340 002A12A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 802A4344 002A12A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802A4348 002A12A8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A434C 002A12AC C4 E3 66 A0 */ lfsu f7, skZero3f@l(r3) +/* 802A4350 002A12B0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4354 002A12B4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4358 002A12B8 C1 03 00 04 */ lfs f8, 4(r3) +/* 802A435C 002A12BC C1 23 00 08 */ lfs f9, 8(r3) +/* 802A4360 002A12C0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4364 002A12C4 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4368 002A12C8 80 61 00 08 */ lwz r3, 8(r1) +/* 802A436C 002A12CC C0 61 00 88 */ lfs f3, 0x88(r1) +/* 802A4370 002A12D0 38 03 00 08 */ addi r0, r3, 8 +/* 802A4374 002A12D4 C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 802A4378 002A12D8 90 01 09 48 */ stw r0, 0x948(r1) +/* 802A437C 002A12DC 38 00 00 00 */ li r0, 0 +/* 802A4380 002A12E0 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 802A4384 002A12E4 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802A4388 002A12E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802A438C 002A12EC EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4390 002A12F0 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 802A4394 002A12F4 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802A4398 002A12F8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A439C 002A12FC 90 01 09 44 */ stw r0, 0x944(r1) +/* 802A43A0 002A1300 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802A43A4 002A1304 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A43A8 002A1308 D0 C1 00 C8 */ stfs f6, 0xc8(r1) +/* 802A43AC 002A130C D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 802A43B0 002A1310 D0 E1 00 B8 */ stfs f7, 0xb8(r1) +/* 802A43B4 002A1314 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802A43B8 002A1318 D1 21 00 C0 */ stfs f9, 0xc0(r1) +/* 802A43BC 002A131C D0 E1 00 AC */ stfs f7, 0xac(r1) +/* 802A43C0 002A1320 D1 01 00 B0 */ stfs f8, 0xb0(r1) +/* 802A43C4 002A1324 D1 21 00 B4 */ stfs f9, 0xb4(r1) +/* 802A43C8 002A1328 48 00 07 60 */ b lbl_802A4B28 +lbl_802A43CC: +/* 802A43CC 002A132C 80 81 09 48 */ lwz r4, 0x948(r1) +/* 802A43D0 002A1330 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A43D4 002A1334 48 09 37 B1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A43D8 002A1338 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A43DC 002A133C 41 82 07 34 */ beq lbl_802A4B10 +/* 802A43E0 002A1340 80 81 09 48 */ lwz r4, 0x948(r1) +/* 802A43E4 002A1344 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A43E8 002A1348 4B FF E9 55 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A43EC 002A134C 83 21 00 10 */ lwz r25, 0x10(r1) +/* 802A43F0 002A1350 3C 80 80 59 */ lis r4, lbl_80597BAC@ha +/* 802A43F4 002A1354 80 61 09 48 */ lwz r3, 0x948(r1) +/* 802A43F8 002A1358 39 C1 09 04 */ addi r14, r1, 0x904 +/* 802A43FC 002A135C A0 19 00 18 */ lhz r0, 0x18(r25) +/* 802A4400 002A1360 3B C4 7B AC */ addi r30, r4, lbl_80597BAC@l +/* 802A4404 002A1364 83 A3 00 1C */ lwz r29, 0x1c(r3) +/* 802A4408 002A1368 3A E0 00 00 */ li r23, 0 +/* 802A440C 002A136C 90 01 09 40 */ stw r0, 0x940(r1) +/* 802A4410 002A1370 48 00 06 F4 */ b lbl_802A4B04 +lbl_802A4414: +/* 802A4414 002A1374 A3 99 00 1A */ lhz r28, 0x1a(r25) +/* 802A4418 002A1378 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A441C 002A137C 57 83 0B FC */ rlwinm r3, r28, 1, 0xf, 0x1e +/* 802A4420 002A1380 7C 1E 1A 2E */ lhzx r0, r30, r3 +/* 802A4424 002A1384 7C 05 00 40 */ cmplw r5, r0 +/* 802A4428 002A1388 41 82 06 D4 */ beq lbl_802A4AFC +/* 802A442C 002A138C 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) +/* 802A4430 002A1390 38 00 00 00 */ li r0, 0 +/* 802A4434 002A1394 7C BE 1B 2E */ sthx r5, r30, r3 +/* 802A4438 002A1398 38 A4 00 01 */ addi r5, r4, 1 +/* 802A443C 002A139C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802A4440 002A13A0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) +/* 802A4444 002A13A4 38 81 00 38 */ addi r4, r1, 0x38 +/* 802A4448 002A13A8 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 802A444C 002A13AC 80 DD 00 28 */ lwz r6, 0x28(r29) +/* 802A4450 002A13B0 7C A5 E0 AE */ lbzx r5, r5, r28 +/* 802A4454 002A13B4 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A4458 002A13B8 7E 86 28 2E */ lwzx r20, r6, r5 +/* 802A445C 002A13BC 92 81 00 3C */ stw r20, 0x3c(r1) +/* 802A4460 002A13C0 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A4464 002A13C4 48 03 0E E9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A4468 002A13C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A446C 002A13CC 41 82 06 90 */ beq lbl_802A4AFC +/* 802A4470 002A13D0 7F A3 EB 78 */ mr r3, r29 +/* 802A4474 002A13D4 7F 84 E3 78 */ mr r4, r28 +/* 802A4478 002A13D8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 802A447C 002A13DC 4B FF E5 09 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +/* 802A4480 002A13E0 A0 A1 00 34 */ lhz r5, 0x34(r1) +/* 802A4484 002A13E4 7E 87 A3 78 */ mr r7, r20 +/* 802A4488 002A13E8 A0 81 00 30 */ lhz r4, 0x30(r1) +/* 802A448C 002A13EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802A4490 002A13F0 A0 01 00 32 */ lhz r0, 0x32(r1) +/* 802A4494 002A13F4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A4498 002A13F8 81 1D 00 4C */ lwz r8, 0x4c(r29) +/* 802A449C 002A13FC 1C 84 00 0C */ mulli r4, r4, 0xc +/* 802A44A0 002A1400 7C C8 2A 14 */ add r6, r8, r5 +/* 802A44A4 002A1404 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A44A8 002A1408 7C 88 22 14 */ add r4, r8, r4 +/* 802A44AC 002A140C 7C A8 02 14 */ add r5, r8, r0 +/* 802A44B0 002A1410 4B FF E2 79 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A44B4 002A1414 38 C1 01 00 */ addi r6, r1, 0x100 +/* 802A44B8 002A1418 38 E1 01 0C */ addi r7, r1, 0x10c +/* 802A44BC 002A141C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A44C0 002A1420 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802A44C4 002A1424 38 A1 00 F4 */ addi r5, r1, 0xf4 +/* 802A44C8 002A1428 48 02 D0 19 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A44CC 002A142C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A44D0 002A1430 28 00 00 01 */ cmplwi r0, 1 +/* 802A44D4 002A1434 40 82 05 C0 */ bne lbl_802A4A94 +/* 802A44D8 002A1438 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A44DC 002A143C 7D E4 7B 78 */ mr r4, r15 +/* 802A44E0 002A1440 81 71 00 00 */ lwz r11, 0(r17) +/* 802A44E4 002A1444 7D C5 73 78 */ mr r5, r14 +/* 802A44E8 002A1448 81 51 00 04 */ lwz r10, 4(r17) +/* 802A44EC 002A144C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 802A44F0 002A1450 80 11 00 08 */ lwz r0, 8(r17) +/* 802A44F4 002A1454 38 C1 00 7C */ addi r6, r1, 0x7c +/* 802A44F8 002A1458 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A44FC 002A145C 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802A4500 002A1460 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 802A4504 002A1464 39 21 00 AC */ addi r9, r1, 0xac +/* 802A4508 002A1468 91 61 00 7C */ stw r11, 0x7c(r1) +/* 802A450C 002A146C 3A C0 00 00 */ li r22, 0 +/* 802A4510 002A1470 91 41 00 80 */ stw r10, 0x80(r1) +/* 802A4514 002A1474 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A4518 002A1478 4B FF FA DD */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802A451C 002A147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4520 002A1480 41 82 00 EC */ beq lbl_802A460C +/* 802A4524 002A1484 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A4528 002A1488 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A452C 002A148C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A4530 002A1490 40 80 00 DC */ bge lbl_802A460C +/* 802A4534 002A1494 7E 05 83 78 */ mr r5, r16 +/* 802A4538 002A1498 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 802A453C 002A149C 38 81 00 AC */ addi r4, r1, 0xac +/* 802A4540 002A14A0 38 C1 00 38 */ addi r6, r1, 0x38 +/* 802A4544 002A14A4 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A4548 002A14A8 3A C0 00 01 */ li r22, 1 +/* 802A454C 002A14AC 48 02 9E FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A4550 002A14B0 80 61 01 E0 */ lwz r3, 0x1e0(r1) +/* 802A4554 002A14B4 3B 00 00 01 */ li r24, 1 +/* 802A4558 002A14B8 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 802A455C 002A14BC 90 72 00 00 */ stw r3, 0(r18) +/* 802A4560 002A14C0 90 12 00 04 */ stw r0, 4(r18) +/* 802A4564 002A14C4 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 802A4568 002A14C8 90 12 00 08 */ stw r0, 8(r18) +/* 802A456C 002A14CC 80 61 01 EC */ lwz r3, 0x1ec(r1) +/* 802A4570 002A14D0 80 01 01 F0 */ lwz r0, 0x1f0(r1) +/* 802A4574 002A14D4 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A4578 002A14D8 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A457C 002A14DC 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 802A4580 002A14E0 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A4584 002A14E4 80 61 01 F8 */ lwz r3, 0x1f8(r1) +/* 802A4588 002A14E8 80 01 01 FC */ lwz r0, 0x1fc(r1) +/* 802A458C 002A14EC 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A4590 002A14F0 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A4594 002A14F4 80 01 02 00 */ lwz r0, 0x200(r1) +/* 802A4598 002A14F8 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A459C 002A14FC 80 61 02 04 */ lwz r3, 0x204(r1) +/* 802A45A0 002A1500 80 01 02 08 */ lwz r0, 0x208(r1) +/* 802A45A4 002A1504 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A45A8 002A1508 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A45AC 002A150C 80 01 02 0C */ lwz r0, 0x20c(r1) +/* 802A45B0 002A1510 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A45B4 002A1514 88 01 02 10 */ lbz r0, 0x210(r1) +/* 802A45B8 002A1518 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A45BC 002A151C 88 01 02 11 */ lbz r0, 0x211(r1) +/* 802A45C0 002A1520 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A45C4 002A1524 C8 01 02 18 */ lfd f0, 0x218(r1) +/* 802A45C8 002A1528 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A45CC 002A152C C8 01 02 20 */ lfd f0, 0x220(r1) +/* 802A45D0 002A1530 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A45D4 002A1534 80 61 02 28 */ lwz r3, 0x228(r1) +/* 802A45D8 002A1538 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 802A45DC 002A153C 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A45E0 002A1540 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A45E4 002A1544 80 01 02 30 */ lwz r0, 0x230(r1) +/* 802A45E8 002A1548 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A45EC 002A154C 80 61 02 34 */ lwz r3, 0x234(r1) +/* 802A45F0 002A1550 80 01 02 38 */ lwz r0, 0x238(r1) +/* 802A45F4 002A1554 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A45F8 002A1558 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A45FC 002A155C 80 01 02 3C */ lwz r0, 0x23c(r1) +/* 802A4600 002A1560 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A4604 002A1564 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A4608 002A1568 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A460C: +/* 802A460C 002A156C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A4610 002A1570 3B 41 00 30 */ addi r26, r1, 0x30 +/* 802A4614 002A1574 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l +/* 802A4618 002A1578 3A A0 00 00 */ li r21, 0 +lbl_802A461C: +/* 802A461C 002A157C A2 9A 00 00 */ lhz r20, 0(r26) +/* 802A4620 002A1580 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A4624 002A1584 56 83 08 3C */ slwi r3, r20, 1 +/* 802A4628 002A1588 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A462C 002A158C 7C 04 00 40 */ cmplw r4, r0 +/* 802A4630 002A1590 41 82 01 74 */ beq lbl_802A47A4 +/* 802A4634 002A1594 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A4638 002A1598 1C 14 00 0C */ mulli r0, r20, 0xc +/* 802A463C 002A159C 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4640 002A15A0 80 9D 00 4C */ lwz r4, 0x4c(r29) +/* 802A4644 002A15A4 7F 64 02 14 */ add r27, r4, r0 +/* 802A4648 002A15A8 7F 64 DB 78 */ mr r4, r27 +/* 802A464C 002A15AC 48 09 2E E9 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 802A4650 002A15B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4654 002A15B4 41 82 01 50 */ beq lbl_802A47A4 +/* 802A4658 002A15B8 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A465C 002A15BC 7F 63 DB 78 */ mr r3, r27 +/* 802A4660 002A15C0 81 51 00 00 */ lwz r10, 0(r17) +/* 802A4664 002A15C4 7D E4 7B 78 */ mr r4, r15 +/* 802A4668 002A15C8 81 31 00 04 */ lwz r9, 4(r17) +/* 802A466C 002A15CC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 802A4670 002A15D0 80 11 00 08 */ lwz r0, 8(r17) +/* 802A4674 002A15D4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802A4678 002A15D8 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A467C 002A15DC 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A4680 002A15E0 39 01 00 AC */ addi r8, r1, 0xac +/* 802A4684 002A15E4 91 41 00 70 */ stw r10, 0x70(r1) +/* 802A4688 002A15E8 91 21 00 74 */ stw r9, 0x74(r1) +/* 802A468C 002A15EC 90 01 00 78 */ stw r0, 0x78(r1) +/* 802A4690 002A15F0 4B FF FA 7D */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f +/* 802A4694 002A15F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4698 002A15F8 41 82 01 0C */ beq lbl_802A47A4 +/* 802A469C 002A15FC C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A46A0 002A1600 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A46A4 002A1604 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A46A8 002A1608 40 80 00 FC */ bge lbl_802A47A4 +/* 802A46AC 002A160C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 802A46B0 002A1610 38 00 00 00 */ li r0, 0 +/* 802A46B4 002A1614 81 3D 00 28 */ lwz r9, 0x28(r29) +/* 802A46B8 002A1618 7E 05 83 78 */ mr r5, r16 +/* 802A46BC 002A161C 7C E3 A0 AE */ lbzx r7, r3, r20 +/* 802A46C0 002A1620 38 61 01 80 */ addi r3, r1, 0x180 +/* 802A46C4 002A1624 38 81 00 AC */ addi r4, r1, 0xac +/* 802A46C8 002A1628 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802A46CC 002A162C 54 E8 10 3A */ slwi r8, r7, 2 +/* 802A46D0 002A1630 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A46D4 002A1634 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802A46D8 002A1638 3A C0 00 01 */ li r22, 1 +/* 802A46DC 002A163C 91 01 00 24 */ stw r8, 0x24(r1) +/* 802A46E0 002A1640 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A46E4 002A1644 48 02 9D 65 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A46E8 002A1648 80 61 01 80 */ lwz r3, 0x180(r1) +/* 802A46EC 002A164C 3B 00 00 01 */ li r24, 1 +/* 802A46F0 002A1650 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802A46F4 002A1654 90 72 00 00 */ stw r3, 0(r18) +/* 802A46F8 002A1658 90 12 00 04 */ stw r0, 4(r18) +/* 802A46FC 002A165C 80 01 01 88 */ lwz r0, 0x188(r1) +/* 802A4700 002A1660 90 12 00 08 */ stw r0, 8(r18) +/* 802A4704 002A1664 80 61 01 8C */ lwz r3, 0x18c(r1) +/* 802A4708 002A1668 80 01 01 90 */ lwz r0, 0x190(r1) +/* 802A470C 002A166C 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A4710 002A1670 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A4714 002A1674 80 01 01 94 */ lwz r0, 0x194(r1) +/* 802A4718 002A1678 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A471C 002A167C 80 61 01 98 */ lwz r3, 0x198(r1) +/* 802A4720 002A1680 80 01 01 9C */ lwz r0, 0x19c(r1) +/* 802A4724 002A1684 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A4728 002A1688 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A472C 002A168C 80 01 01 A0 */ lwz r0, 0x1a0(r1) +/* 802A4730 002A1690 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A4734 002A1694 80 61 01 A4 */ lwz r3, 0x1a4(r1) +/* 802A4738 002A1698 80 01 01 A8 */ lwz r0, 0x1a8(r1) +/* 802A473C 002A169C 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A4740 002A16A0 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A4744 002A16A4 80 01 01 AC */ lwz r0, 0x1ac(r1) +/* 802A4748 002A16A8 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A474C 002A16AC 88 01 01 B0 */ lbz r0, 0x1b0(r1) +/* 802A4750 002A16B0 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A4754 002A16B4 88 01 01 B1 */ lbz r0, 0x1b1(r1) +/* 802A4758 002A16B8 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A475C 002A16BC C8 01 01 B8 */ lfd f0, 0x1b8(r1) +/* 802A4760 002A16C0 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A4764 002A16C4 C8 01 01 C0 */ lfd f0, 0x1c0(r1) +/* 802A4768 002A16C8 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A476C 002A16CC 80 61 01 C8 */ lwz r3, 0x1c8(r1) +/* 802A4770 002A16D0 80 01 01 CC */ lwz r0, 0x1cc(r1) +/* 802A4774 002A16D4 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A4778 002A16D8 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A477C 002A16DC 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 802A4780 002A16E0 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A4784 002A16E4 80 61 01 D4 */ lwz r3, 0x1d4(r1) +/* 802A4788 002A16E8 80 01 01 D8 */ lwz r0, 0x1d8(r1) +/* 802A478C 002A16EC 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A4790 002A16F0 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A4794 002A16F4 80 01 01 DC */ lwz r0, 0x1dc(r1) +/* 802A4798 002A16F8 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A479C 002A16FC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A47A0 002A1700 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A47A4: +/* 802A47A4 002A1704 3A B5 00 01 */ addi r21, r21, 1 +/* 802A47A8 002A1708 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A47AC 002A170C 2C 15 00 03 */ cmpwi r21, 3 +/* 802A47B0 002A1710 41 80 FE 6C */ blt lbl_802A461C +/* 802A47B4 002A1714 7F A3 EB 78 */ mr r3, r29 +/* 802A47B8 002A1718 7F 84 E3 78 */ mr r4, r28 +/* 802A47BC 002A171C 4B FF E1 B5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A47C0 002A1720 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha +/* 802A47C4 002A1724 3B 60 00 00 */ li r27, 0 +/* 802A47C8 002A1728 7C 7A 1B 78 */ mr r26, r3 +/* 802A47CC 002A172C 3A 84 BB AC */ addi r20, r4, lbl_8058BBAC@l +lbl_802A47D0: +/* 802A47D0 002A1730 A0 BA 00 00 */ lhz r5, 0(r26) +/* 802A47D4 002A1734 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A47D8 002A1738 54 A3 08 3C */ slwi r3, r5, 1 +/* 802A47DC 002A173C 7C 14 1A 2E */ lhzx r0, r20, r3 +/* 802A47E0 002A1740 7C 04 00 40 */ cmplw r4, r0 +/* 802A47E4 002A1744 41 82 01 80 */ beq lbl_802A4964 +/* 802A47E8 002A1748 7C 94 1B 2E */ sthx r4, r20, r3 +/* 802A47EC 002A174C 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 802A47F0 002A1750 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 802A47F4 002A1754 7C 03 28 AE */ lbzx r0, r3, r5 +/* 802A47F8 002A1758 54 00 10 3A */ slwi r0, r0, 2 +/* 802A47FC 002A175C 7E A4 00 2E */ lwzx r21, r4, r0 +/* 802A4800 002A1760 56 A0 01 CF */ rlwinm. r0, r21, 0, 7, 7 +/* 802A4804 002A1764 40 82 01 60 */ bne lbl_802A4964 +/* 802A4808 002A1768 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A480C 002A176C 54 AA 10 3A */ slwi r10, r5, 2 +/* 802A4810 002A1770 80 91 00 00 */ lwz r4, 0(r17) +/* 802A4814 002A1774 38 A1 02 40 */ addi r5, r1, 0x240 +/* 802A4818 002A1778 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 802A481C 002A177C 38 C1 00 64 */ addi r6, r1, 0x64 +/* 802A4820 002A1780 80 71 00 04 */ lwz r3, 4(r17) +/* 802A4824 002A1784 38 E1 00 28 */ addi r7, r1, 0x28 +/* 802A4828 002A1788 81 7D 00 3C */ lwz r11, 0x3c(r29) +/* 802A482C 002A178C 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 802A4830 002A1790 80 11 00 08 */ lwz r0, 8(r17) +/* 802A4834 002A1794 39 21 00 AC */ addi r9, r1, 0xac +/* 802A4838 002A1798 90 81 00 64 */ stw r4, 0x64(r1) +/* 802A483C 002A179C 7C 8B 52 14 */ add r4, r11, r10 +/* 802A4840 002A17A0 90 61 00 68 */ stw r3, 0x68(r1) +/* 802A4844 002A17A4 90 01 00 6C */ stw r0, 0x6c(r1) +/* 802A4848 002A17A8 A0 64 00 02 */ lhz r3, 2(r4) +/* 802A484C 002A17AC A0 04 00 00 */ lhz r0, 0(r4) +/* 802A4850 002A17B0 1C 63 00 0C */ mulli r3, r3, 0xc +/* 802A4854 002A17B4 81 5D 00 4C */ lwz r10, 0x4c(r29) +/* 802A4858 002A17B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A485C 002A17BC 7C 8A 1A 14 */ add r4, r10, r3 +/* 802A4860 002A17C0 7C 6A 02 14 */ add r3, r10, r0 +/* 802A4864 002A17C4 4B FF F3 25 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" +/* 802A4868 002A17C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A486C 002A17CC 41 82 00 F8 */ beq lbl_802A4964 +/* 802A4870 002A17D0 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 802A4874 002A17D4 C8 13 00 00 */ lfd f0, 0(r19) +/* 802A4878 002A17D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A487C 002A17DC 40 80 00 E8 */ bge lbl_802A4964 +/* 802A4880 002A17E0 38 00 00 00 */ li r0, 0 +/* 802A4884 002A17E4 92 A1 00 1C */ stw r21, 0x1c(r1) +/* 802A4888 002A17E8 7E 05 83 78 */ mr r5, r16 +/* 802A488C 002A17EC 38 61 01 20 */ addi r3, r1, 0x120 +/* 802A4890 002A17F0 90 01 00 18 */ stw r0, 0x18(r1) +/* 802A4894 002A17F4 38 81 00 AC */ addi r4, r1, 0xac +/* 802A4898 002A17F8 38 C1 00 18 */ addi r6, r1, 0x18 +/* 802A489C 002A17FC 38 E1 00 B8 */ addi r7, r1, 0xb8 +/* 802A48A0 002A1800 3A C0 00 01 */ li r22, 1 +/* 802A48A4 002A1804 48 02 9B A5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A48A8 002A1808 80 61 01 20 */ lwz r3, 0x120(r1) +/* 802A48AC 002A180C 3B 00 00 01 */ li r24, 1 +/* 802A48B0 002A1810 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A48B4 002A1814 90 72 00 00 */ stw r3, 0(r18) +/* 802A48B8 002A1818 90 12 00 04 */ stw r0, 4(r18) +/* 802A48BC 002A181C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 802A48C0 002A1820 90 12 00 08 */ stw r0, 8(r18) +/* 802A48C4 002A1824 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802A48C8 002A1828 80 01 01 30 */ lwz r0, 0x130(r1) +/* 802A48CC 002A182C 90 72 00 0C */ stw r3, 0xc(r18) +/* 802A48D0 002A1830 90 12 00 10 */ stw r0, 0x10(r18) +/* 802A48D4 002A1834 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802A48D8 002A1838 90 12 00 14 */ stw r0, 0x14(r18) +/* 802A48DC 002A183C 80 61 01 38 */ lwz r3, 0x138(r1) +/* 802A48E0 002A1840 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 802A48E4 002A1844 90 72 00 18 */ stw r3, 0x18(r18) +/* 802A48E8 002A1848 90 12 00 1C */ stw r0, 0x1c(r18) +/* 802A48EC 002A184C 80 01 01 40 */ lwz r0, 0x140(r1) +/* 802A48F0 002A1850 90 12 00 20 */ stw r0, 0x20(r18) +/* 802A48F4 002A1854 80 61 01 44 */ lwz r3, 0x144(r1) +/* 802A48F8 002A1858 80 01 01 48 */ lwz r0, 0x148(r1) +/* 802A48FC 002A185C 90 72 00 24 */ stw r3, 0x24(r18) +/* 802A4900 002A1860 90 12 00 28 */ stw r0, 0x28(r18) +/* 802A4904 002A1864 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 802A4908 002A1868 90 12 00 2C */ stw r0, 0x2c(r18) +/* 802A490C 002A186C 88 01 01 50 */ lbz r0, 0x150(r1) +/* 802A4910 002A1870 98 12 00 30 */ stb r0, 0x30(r18) +/* 802A4914 002A1874 88 01 01 51 */ lbz r0, 0x151(r1) +/* 802A4918 002A1878 98 12 00 31 */ stb r0, 0x31(r18) +/* 802A491C 002A187C C8 01 01 58 */ lfd f0, 0x158(r1) +/* 802A4920 002A1880 D8 12 00 38 */ stfd f0, 0x38(r18) +/* 802A4924 002A1884 C8 01 01 60 */ lfd f0, 0x160(r1) +/* 802A4928 002A1888 D8 12 00 40 */ stfd f0, 0x40(r18) +/* 802A492C 002A188C 80 61 01 68 */ lwz r3, 0x168(r1) +/* 802A4930 002A1890 80 01 01 6C */ lwz r0, 0x16c(r1) +/* 802A4934 002A1894 90 72 00 48 */ stw r3, 0x48(r18) +/* 802A4938 002A1898 90 12 00 4C */ stw r0, 0x4c(r18) +/* 802A493C 002A189C 80 01 01 70 */ lwz r0, 0x170(r1) +/* 802A4940 002A18A0 90 12 00 50 */ stw r0, 0x50(r18) +/* 802A4944 002A18A4 80 61 01 74 */ lwz r3, 0x174(r1) +/* 802A4948 002A18A8 80 01 01 78 */ lwz r0, 0x178(r1) +/* 802A494C 002A18AC 90 72 00 54 */ stw r3, 0x54(r18) +/* 802A4950 002A18B0 90 12 00 58 */ stw r0, 0x58(r18) +/* 802A4954 002A18B4 80 01 01 7C */ lwz r0, 0x17c(r1) +/* 802A4958 002A18B8 90 12 00 5C */ stw r0, 0x5c(r18) +/* 802A495C 002A18BC C8 01 00 28 */ lfd f0, 0x28(r1) +/* 802A4960 002A18C0 D8 13 00 00 */ stfd f0, 0(r19) +lbl_802A4964: +/* 802A4964 002A18C4 3B 7B 00 01 */ addi r27, r27, 1 +/* 802A4968 002A18C8 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A496C 002A18CC 2C 1B 00 03 */ cmpwi r27, 3 +/* 802A4970 002A18D0 41 80 FE 60 */ blt lbl_802A47D0 +/* 802A4974 002A18D4 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 802A4978 002A18D8 41 82 01 84 */ beq lbl_802A4AFC +/* 802A497C 002A18DC C8 73 00 00 */ lfd f3, 0(r19) +/* 802A4980 002A18E0 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4984 002A18E4 81 21 09 28 */ lwz r9, 0x928(r1) +/* 802A4988 002A18E8 38 81 00 58 */ addi r4, r1, 0x58 +/* 802A498C 002A18EC FC 60 18 18 */ frsp f3, f3 +/* 802A4990 002A18F0 C0 11 00 00 */ lfs f0, 0(r17) +/* 802A4994 002A18F4 C0 51 00 04 */ lfs f2, 4(r17) +/* 802A4998 002A18F8 C0 31 00 08 */ lfs f1, 8(r17) +/* 802A499C 002A18FC EF E3 00 32 */ fmuls f31, f3, f0 +/* 802A49A0 002A1900 C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A49A4 002A1904 EF C3 00 B2 */ fmuls f30, f3, f2 +/* 802A49A8 002A1908 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A49AC 002A190C EF A3 00 72 */ fmuls f29, f3, f1 +/* 802A49B0 002A1910 C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A49B4 002A1914 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A49B8 002A1918 81 01 09 2C */ lwz r8, 0x92c(r1) +/* 802A49BC 002A191C EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A49C0 002A1920 80 E1 09 30 */ lwz r7, 0x930(r1) +/* 802A49C4 002A1924 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A49C8 002A1928 80 C1 09 34 */ lwz r6, 0x934(r1) +/* 802A49CC 002A192C 80 A1 09 38 */ lwz r5, 0x938(r1) +/* 802A49D0 002A1930 80 01 09 3C */ lwz r0, 0x93c(r1) +/* 802A49D4 002A1934 91 21 00 DC */ stw r9, 0xdc(r1) +/* 802A49D8 002A1938 91 01 00 E0 */ stw r8, 0xe0(r1) +/* 802A49DC 002A193C 90 E1 00 E4 */ stw r7, 0xe4(r1) +/* 802A49E0 002A1940 90 C1 00 E8 */ stw r6, 0xe8(r1) +/* 802A49E4 002A1944 90 A1 00 EC */ stw r5, 0xec(r1) +/* 802A49E8 002A1948 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 802A49EC 002A194C D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802A49F0 002A1950 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 802A49F4 002A1954 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 802A49F8 002A1958 48 09 31 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A49FC 002A195C C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4A00 002A1960 38 61 00 DC */ addi r3, r1, 0xdc +/* 802A4A04 002A1964 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4A08 002A1968 38 81 00 4C */ addi r4, r1, 0x4c +/* 802A4A0C 002A196C C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4A10 002A1970 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A4A14 002A1974 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A4A18 002A1978 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A4A1C 002A197C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802A4A20 002A1980 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 802A4A24 002A1984 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802A4A28 002A1988 48 09 30 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4A2C 002A198C 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A4A30 002A1990 38 81 00 DC */ addi r4, r1, 0xdc +/* 802A4A34 002A1994 48 09 2B D9 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4A38 002A1998 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 802A4A3C 002A199C C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 802A4A40 002A19A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 802A4A44 002A19A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 802A4A48 002A19A8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A4A4C 002A19AC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4A50 002A19B0 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4A54 002A19B4 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 802A4A58 002A19B8 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 802A4A5C 002A19BC EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4A60 002A19C0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 802A4A64 002A19C4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4A68 002A19C8 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4A6C 002A19CC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 802A4A70 002A19D0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 802A4A74 002A19D4 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A4A78 002A19D8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 802A4A7C 002A19DC D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 802A4A80 002A19E0 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 802A4A84 002A19E4 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A4A88 002A19E8 D0 C1 00 C8 */ stfs f6, 0xc8(r1) +/* 802A4A8C 002A19EC D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 802A4A90 002A19F0 48 00 00 6C */ b lbl_802A4AFC +lbl_802A4A94: +/* 802A4A94 002A19F4 7F A3 EB 78 */ mr r3, r29 +/* 802A4A98 002A19F8 7F 84 E3 78 */ mr r4, r28 +/* 802A4A9C 002A19FC 4B FF DE D5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A4AA0 002A1A00 A0 C3 00 00 */ lhz r6, 0(r3) +/* 802A4AA4 002A1A04 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha +/* 802A4AA8 002A1A08 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) +/* 802A4AAC 002A1A0C 3C 80 80 57 */ lis r4, lbl_80572BAC@ha +/* 802A4AB0 002A1A10 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A4AB4 002A1A14 39 25 BB AC */ addi r9, r5, lbl_8058BBAC@l +/* 802A4AB8 002A1A18 7C 09 33 2E */ sthx r0, r9, r6 +/* 802A4ABC 002A1A1C 38 C4 2B AC */ addi r6, r4, lbl_80572BAC@l +/* 802A4AC0 002A1A20 A0 81 00 30 */ lhz r4, 0x30(r1) +/* 802A4AC4 002A1A24 A1 03 00 02 */ lhz r8, 2(r3) +/* 802A4AC8 002A1A28 A0 A1 00 32 */ lhz r5, 0x32(r1) +/* 802A4ACC 002A1A2C 54 87 08 3C */ slwi r7, r4, 1 +/* 802A4AD0 002A1A30 55 08 08 3C */ slwi r8, r8, 1 +/* 802A4AD4 002A1A34 A0 81 00 34 */ lhz r4, 0x34(r1) +/* 802A4AD8 002A1A38 7C 09 43 2E */ sthx r0, r9, r8 +/* 802A4ADC 002A1A3C 54 A5 08 3C */ slwi r5, r5, 1 +/* 802A4AE0 002A1A40 54 84 08 3C */ slwi r4, r4, 1 +/* 802A4AE4 002A1A44 A0 63 00 04 */ lhz r3, 4(r3) +/* 802A4AE8 002A1A48 7C 06 3B 2E */ sthx r0, r6, r7 +/* 802A4AEC 002A1A4C 54 63 08 3C */ slwi r3, r3, 1 +/* 802A4AF0 002A1A50 7C 06 2B 2E */ sthx r0, r6, r5 +/* 802A4AF4 002A1A54 7C 09 1B 2E */ sthx r0, r9, r3 +/* 802A4AF8 002A1A58 7C 06 23 2E */ sthx r0, r6, r4 +lbl_802A4AFC: +/* 802A4AFC 002A1A5C 3B 39 00 02 */ addi r25, r25, 2 +/* 802A4B00 002A1A60 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A4B04: +/* 802A4B04 002A1A64 80 01 09 40 */ lwz r0, 0x940(r1) +/* 802A4B08 002A1A68 7C 17 00 00 */ cmpw r23, r0 +/* 802A4B0C 002A1A6C 41 80 F9 08 */ blt lbl_802A4414 +lbl_802A4B10: +/* 802A4B10 002A1A70 80 61 09 48 */ lwz r3, 0x948(r1) +/* 802A4B14 002A1A74 38 63 00 24 */ addi r3, r3, 0x24 +/* 802A4B18 002A1A78 90 61 09 48 */ stw r3, 0x948(r1) +/* 802A4B1C 002A1A7C 80 61 09 44 */ lwz r3, 0x944(r1) +/* 802A4B20 002A1A80 38 63 00 01 */ addi r3, r3, 1 +/* 802A4B24 002A1A84 90 61 09 44 */ stw r3, 0x944(r1) +lbl_802A4B28: +/* 802A4B28 002A1A88 80 61 00 08 */ lwz r3, 8(r1) +/* 802A4B2C 002A1A8C 80 01 09 44 */ lwz r0, 0x944(r1) +/* 802A4B30 002A1A90 80 63 00 04 */ lwz r3, 4(r3) +/* 802A4B34 002A1A94 7C 00 18 00 */ cmpw r0, r3 +/* 802A4B38 002A1A98 41 80 F8 94 */ blt lbl_802A43CC +/* 802A4B3C 002A1A9C 34 01 09 04 */ addic. r0, r1, 0x904 +/* 802A4B40 002A1AA0 41 82 00 58 */ beq lbl_802A4B98 +/* 802A4B44 002A1AA4 80 A1 09 04 */ lwz r5, 0x904(r1) +/* 802A4B48 002A1AA8 38 60 00 00 */ li r3, 0 +/* 802A4B4C 002A1AAC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A4B50 002A1AB0 40 81 00 40 */ ble lbl_802A4B90 +/* 802A4B54 002A1AB4 2C 05 00 08 */ cmpwi r5, 8 +/* 802A4B58 002A1AB8 38 85 FF F8 */ addi r4, r5, -8 +/* 802A4B5C 002A1ABC 40 81 00 20 */ ble lbl_802A4B7C +/* 802A4B60 002A1AC0 38 04 00 07 */ addi r0, r4, 7 +/* 802A4B64 002A1AC4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A4B68 002A1AC8 7C 09 03 A6 */ mtctr r0 +/* 802A4B6C 002A1ACC 2C 04 00 00 */ cmpwi r4, 0 +/* 802A4B70 002A1AD0 40 81 00 0C */ ble lbl_802A4B7C +lbl_802A4B74: +/* 802A4B74 002A1AD4 38 63 00 08 */ addi r3, r3, 8 +/* 802A4B78 002A1AD8 42 00 FF FC */ bdnz lbl_802A4B74 +lbl_802A4B7C: +/* 802A4B7C 002A1ADC 7C 03 28 50 */ subf r0, r3, r5 +/* 802A4B80 002A1AE0 7C 09 03 A6 */ mtctr r0 +/* 802A4B84 002A1AE4 7C 03 28 00 */ cmpw r3, r5 +/* 802A4B88 002A1AE8 40 80 00 08 */ bge lbl_802A4B90 +lbl_802A4B8C: +/* 802A4B8C 002A1AEC 42 00 00 00 */ bdnz lbl_802A4B8C +lbl_802A4B90: +/* 802A4B90 002A1AF0 38 00 00 00 */ li r0, 0 +/* 802A4B94 002A1AF4 90 01 09 04 */ stw r0, 0x904(r1) +lbl_802A4B98: +/* 802A4B98 002A1AF8 80 A1 02 40 */ lwz r5, 0x240(r1) +/* 802A4B9C 002A1AFC 38 60 00 00 */ li r3, 0 +/* 802A4BA0 002A1B00 2C 05 00 00 */ cmpwi r5, 0 +/* 802A4BA4 002A1B04 40 81 00 40 */ ble lbl_802A4BE4 +/* 802A4BA8 002A1B08 2C 05 00 08 */ cmpwi r5, 8 +/* 802A4BAC 002A1B0C 38 85 FF F8 */ addi r4, r5, -8 +/* 802A4BB0 002A1B10 40 81 00 20 */ ble lbl_802A4BD0 +/* 802A4BB4 002A1B14 38 04 00 07 */ addi r0, r4, 7 +/* 802A4BB8 002A1B18 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A4BBC 002A1B1C 7C 09 03 A6 */ mtctr r0 +/* 802A4BC0 002A1B20 2C 04 00 00 */ cmpwi r4, 0 +/* 802A4BC4 002A1B24 40 81 00 0C */ ble lbl_802A4BD0 +lbl_802A4BC8: +/* 802A4BC8 002A1B28 38 63 00 08 */ addi r3, r3, 8 +/* 802A4BCC 002A1B2C 42 00 FF FC */ bdnz lbl_802A4BC8 +lbl_802A4BD0: +/* 802A4BD0 002A1B30 7C 03 28 50 */ subf r0, r3, r5 +/* 802A4BD4 002A1B34 7C 09 03 A6 */ mtctr r0 +/* 802A4BD8 002A1B38 7C 03 28 00 */ cmpw r3, r5 +/* 802A4BDC 002A1B3C 40 80 00 08 */ bge lbl_802A4BE4 +lbl_802A4BE0: +/* 802A4BE0 002A1B40 42 00 00 00 */ bdnz lbl_802A4BE0 +lbl_802A4BE4: +/* 802A4BE4 002A1B44 38 00 00 00 */ li r0, 0 +/* 802A4BE8 002A1B48 7F 03 C3 78 */ mr r3, r24 +/* 802A4BEC 002A1B4C 90 01 02 40 */ stw r0, 0x240(r1) +/* 802A4BF0 002A1B50 E3 E1 09 C8 */ psq_l f31, -1592(r1), 0, qr0 +/* 802A4BF4 002A1B54 CB E1 09 C0 */ lfd f31, 0x9c0(r1) +/* 802A4BF8 002A1B58 E3 C1 09 B8 */ psq_l f30, -1608(r1), 0, qr0 +/* 802A4BFC 002A1B5C CB C1 09 B0 */ lfd f30, 0x9b0(r1) +/* 802A4C00 002A1B60 E3 A1 09 A8 */ psq_l f29, -1624(r1), 0, qr0 +/* 802A4C04 002A1B64 CB A1 09 A0 */ lfd f29, 0x9a0(r1) +/* 802A4C08 002A1B68 B9 C1 09 58 */ lmw r14, 0x958(r1) +/* 802A4C0C 002A1B6C 80 01 09 D4 */ lwz r0, 0x9d4(r1) +/* 802A4C10 002A1B70 7C 08 03 A6 */ mtlr r0 +/* 802A4C14 002A1B74 38 21 09 D0 */ addi r1, r1, 0x9d0 +/* 802A4C18 002A1B78 4E 80 00 20 */ blr + +.global MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd +MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: +/* 802A4C1C 002A1B7C 94 21 FB 50 */ stwu r1, -0x4b0(r1) +/* 802A4C20 002A1B80 7C 08 02 A6 */ mflr r0 +/* 802A4C24 002A1B84 90 01 04 B4 */ stw r0, 0x4b4(r1) +/* 802A4C28 002A1B88 DB E1 04 A0 */ stfd f31, 0x4a0(r1) +/* 802A4C2C 002A1B8C F3 E1 04 A8 */ psq_st f31, 1192(r1), 0, qr0 +/* 802A4C30 002A1B90 DB C1 04 90 */ stfd f30, 0x490(r1) +/* 802A4C34 002A1B94 F3 C1 04 98 */ psq_st f30, 1176(r1), 0, qr0 +/* 802A4C38 002A1B98 DB A1 04 80 */ stfd f29, 0x480(r1) +/* 802A4C3C 002A1B9C F3 A1 04 88 */ psq_st f29, 1160(r1), 0, qr0 +/* 802A4C40 002A1BA0 DB 81 04 70 */ stfd f28, 0x470(r1) +/* 802A4C44 002A1BA4 F3 81 04 78 */ psq_st f28, 1144(r1), 0, qr0 +/* 802A4C48 002A1BA8 DB 61 04 60 */ stfd f27, 0x460(r1) +/* 802A4C4C 002A1BAC F3 61 04 68 */ psq_st f27, 1128(r1), 0, qr0 +/* 802A4C50 002A1BB0 DB 41 04 50 */ stfd f26, 0x450(r1) +/* 802A4C54 002A1BB4 F3 41 04 58 */ psq_st f26, 1112(r1), 0, qr0 +/* 802A4C58 002A1BB8 DB 21 04 40 */ stfd f25, 0x440(r1) +/* 802A4C5C 002A1BBC F3 21 04 48 */ psq_st f25, 1096(r1), 0, qr0 +/* 802A4C60 002A1BC0 DB 01 04 30 */ stfd f24, 0x430(r1) +/* 802A4C64 002A1BC4 F3 01 04 38 */ psq_st f24, 1080(r1), 0, qr0 +/* 802A4C68 002A1BC8 DA E1 04 20 */ stfd f23, 0x420(r1) +/* 802A4C6C 002A1BCC F2 E1 04 28 */ psq_st f23, 1064(r1), 0, qr0 +/* 802A4C70 002A1BD0 DA C1 04 10 */ stfd f22, 0x410(r1) +/* 802A4C74 002A1BD4 F2 C1 04 18 */ psq_st f22, 1048(r1), 0, qr0 +/* 802A4C78 002A1BD8 DA A1 04 00 */ stfd f21, 0x400(r1) +/* 802A4C7C 002A1BDC F2 A1 04 08 */ psq_st f21, 1032(r1), 0, qr0 +/* 802A4C80 002A1BE0 DA 81 03 F0 */ stfd f20, 0x3f0(r1) +/* 802A4C84 002A1BE4 F2 81 03 F8 */ psq_st f20, 1016(r1), 0, qr0 +/* 802A4C88 002A1BE8 DA 61 03 E0 */ stfd f19, 0x3e0(r1) +/* 802A4C8C 002A1BEC F2 61 03 E8 */ psq_st f19, 1000(r1), 0, qr0 +/* 802A4C90 002A1BF0 DA 41 03 D0 */ stfd f18, 0x3d0(r1) +/* 802A4C94 002A1BF4 F2 41 03 D8 */ psq_st f18, 984(r1), 0, qr0 +/* 802A4C98 002A1BF8 BD C1 03 88 */ stmw r14, 0x388(r1) +/* 802A4C9C 002A1BFC FE 40 08 90 */ fmr f18, f1 +/* 802A4CA0 002A1C00 90 61 00 08 */ stw r3, 8(r1) +/* 802A4CA4 002A1C04 7D 54 53 78 */ mr r20, r10 +/* 802A4CA8 002A1C08 7C 8F 23 78 */ mr r15, r4 +/* 802A4CAC 002A1C0C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 802A4CB0 002A1C10 7C B0 2B 78 */ mr r16, r5 +/* 802A4CB4 002A1C14 DA 4A 00 00 */ stfd f18, 0(r10) +/* 802A4CB8 002A1C18 7C F1 3B 78 */ mr r17, r7 +/* 802A4CBC 002A1C1C 7D 12 43 78 */ mr r18, r8 +/* 802A4CC0 002A1C20 7D 33 4B 78 */ mr r19, r9 +/* 802A4CC4 002A1C24 48 00 23 7D */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A4CC8 002A1C28 C0 52 00 00 */ lfs f2, 0(r18) +/* 802A4CCC 002A1C2C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4CD0 002A1C30 C0 32 00 04 */ lfs f1, 4(r18) +/* 802A4CD4 002A1C34 38 81 01 9C */ addi r4, r1, 0x19c +/* 802A4CD8 002A1C38 C0 12 00 08 */ lfs f0, 8(r18) +/* 802A4CDC 002A1C3C EF F2 00 B2 */ fmuls f31, f18, f2 +/* 802A4CE0 002A1C40 EF D2 00 72 */ fmuls f30, f18, f1 +/* 802A4CE4 002A1C44 C0 AF 00 04 */ lfs f5, 4(r15) +/* 802A4CE8 002A1C48 C0 CF 00 00 */ lfs f6, 0(r15) +/* 802A4CEC 002A1C4C EF B2 00 32 */ fmuls f29, f18, f0 +/* 802A4CF0 002A1C50 C0 8F 00 08 */ lfs f4, 8(r15) +/* 802A4CF4 002A1C54 ED 05 F0 2A */ fadds f8, f5, f30 +/* 802A4CF8 002A1C58 EC E4 E8 2A */ fadds f7, f4, f29 +/* 802A4CFC 002A1C5C C0 6F 00 0C */ lfs f3, 0xc(r15) +/* 802A4D00 002A1C60 EC 06 F8 2A */ fadds f0, f6, f31 +/* 802A4D04 002A1C64 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4D08 002A1C68 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4D0C 002A1C6C D0 C1 01 FC */ stfs f6, 0x1fc(r1) +/* 802A4D10 002A1C70 D0 A1 02 00 */ stfs f5, 0x200(r1) +/* 802A4D14 002A1C74 D0 81 02 04 */ stfs f4, 0x204(r1) +/* 802A4D18 002A1C78 D0 61 02 08 */ stfs f3, 0x208(r1) +/* 802A4D1C 002A1C7C D0 41 02 0C */ stfs f2, 0x20c(r1) +/* 802A4D20 002A1C80 D0 21 02 10 */ stfs f1, 0x210(r1) +/* 802A4D24 002A1C84 D0 01 01 9C */ stfs f0, 0x19c(r1) +/* 802A4D28 002A1C88 D1 01 01 A0 */ stfs f8, 0x1a0(r1) +/* 802A4D2C 002A1C8C D0 E1 01 A4 */ stfs f7, 0x1a4(r1) +/* 802A4D30 002A1C90 48 09 2D D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4D34 002A1C94 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A4D38 002A1C98 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4D3C 002A1C9C C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A4D40 002A1CA0 38 81 01 90 */ addi r4, r1, 0x190 +/* 802A4D44 002A1CA4 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A4D48 002A1CA8 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A4D4C 002A1CAC EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A4D50 002A1CB0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A4D54 002A1CB4 D0 41 01 94 */ stfs f2, 0x194(r1) +/* 802A4D58 002A1CB8 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 802A4D5C 002A1CBC D0 21 01 98 */ stfs f1, 0x198(r1) +/* 802A4D60 002A1CC0 48 09 2D A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A4D64 002A1CC4 38 61 01 84 */ addi r3, r1, 0x184 +/* 802A4D68 002A1CC8 38 81 01 FC */ addi r4, r1, 0x1fc +/* 802A4D6C 002A1CCC 48 09 28 A1 */ bl GetCenterPoint__6CAABoxCFv +/* 802A4D70 002A1CD0 C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 802A4D74 002A1CD4 C0 41 02 00 */ lfs f2, 0x200(r1) +/* 802A4D78 002A1CD8 C0 21 02 10 */ lfs f1, 0x210(r1) +/* 802A4D7C 002A1CDC C0 01 02 04 */ lfs f0, 0x204(r1) +/* 802A4D80 002A1CE0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A4D84 002A1CE4 80 61 00 08 */ lwz r3, 8(r1) +/* 802A4D88 002A1CE8 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A4D8C 002A1CEC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A4D90 002A1CF0 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A4D94 002A1CF4 38 03 00 08 */ addi r0, r3, 8 +/* 802A4D98 002A1CF8 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A4D9C 002A1CFC C0 01 01 FC */ lfs f0, 0x1fc(r1) +/* 802A4DA0 002A1D00 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A4DA4 002A1D04 90 01 03 74 */ stw r0, 0x374(r1) +/* 802A4DA8 002A1D08 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A4DAC 002A1D0C 38 00 00 00 */ li r0, 0 +/* 802A4DB0 002A1D10 C0 61 01 84 */ lfs f3, 0x184(r1) +/* 802A4DB4 002A1D14 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A4DB8 002A1D18 C0 41 01 88 */ lfs f2, 0x188(r1) +/* 802A4DBC 002A1D1C C0 21 01 8C */ lfs f1, 0x18c(r1) +/* 802A4DC0 002A1D20 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A4DC4 002A1D24 38 00 00 00 */ li r0, 0 +/* 802A4DC8 002A1D28 D0 61 01 F0 */ stfs f3, 0x1f0(r1) +/* 802A4DCC 002A1D2C 90 01 03 68 */ stw r0, 0x368(r1) +/* 802A4DD0 002A1D30 D0 41 01 F4 */ stfs f2, 0x1f4(r1) +/* 802A4DD4 002A1D34 D0 21 01 F8 */ stfs f1, 0x1f8(r1) +/* 802A4DD8 002A1D38 D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 802A4DDC 002A1D3C D0 C1 01 E8 */ stfs f6, 0x1e8(r1) +/* 802A4DE0 002A1D40 D0 A1 01 EC */ stfs f5, 0x1ec(r1) +/* 802A4DE4 002A1D44 48 00 0E 14 */ b lbl_802A5BF8 +lbl_802A4DE8: +/* 802A4DE8 002A1D48 80 81 03 74 */ lwz r4, 0x374(r1) +/* 802A4DEC 002A1D4C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A4DF0 002A1D50 48 09 2D 95 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A4DF4 002A1D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4DF8 002A1D58 41 82 0D E8 */ beq lbl_802A5BE0 +/* 802A4DFC 002A1D5C 80 81 03 74 */ lwz r4, 0x374(r1) +/* 802A4E00 002A1D60 38 61 00 10 */ addi r3, r1, 0x10 +/* 802A4E04 002A1D64 4B FF DF 39 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A4E08 002A1D68 80 01 00 10 */ lwz r0, 0x10(r1) +/* 802A4E0C 002A1D6C 3C 80 80 59 */ lis r4, lbl_80597BAC@ha +/* 802A4E10 002A1D70 80 61 03 74 */ lwz r3, 0x374(r1) +/* 802A4E14 002A1D74 90 01 03 70 */ stw r0, 0x370(r1) +/* 802A4E18 002A1D78 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 802A4E1C 002A1D7C 7C 03 03 78 */ mr r3, r0 +/* 802A4E20 002A1D80 A0 03 00 18 */ lhz r0, 0x18(r3) +/* 802A4E24 002A1D84 90 01 03 64 */ stw r0, 0x364(r1) +/* 802A4E28 002A1D88 38 04 7B AC */ addi r0, r4, lbl_80597BAC@l +/* 802A4E2C 002A1D8C 90 01 03 78 */ stw r0, 0x378(r1) +/* 802A4E30 002A1D90 38 00 00 00 */ li r0, 0 +/* 802A4E34 002A1D94 90 01 03 60 */ stw r0, 0x360(r1) +/* 802A4E38 002A1D98 48 00 0D 98 */ b lbl_802A5BD0 +lbl_802A4E3C: +/* 802A4E3C 002A1D9C 80 61 03 70 */ lwz r3, 0x370(r1) +/* 802A4E40 002A1DA0 A0 CD A5 D0 */ lhz r6, lbl_805A9190@sda21(r13) +/* 802A4E44 002A1DA4 A1 C3 00 1A */ lhz r14, 0x1a(r3) +/* 802A4E48 002A1DA8 80 61 03 78 */ lwz r3, 0x378(r1) +/* 802A4E4C 002A1DAC 55 C5 0B FC */ rlwinm r5, r14, 1, 0xf, 0x1e +/* 802A4E50 002A1DB0 7C 03 2A 2E */ lhzx r0, r3, r5 +/* 802A4E54 002A1DB4 7C 06 00 40 */ cmplw r6, r0 +/* 802A4E58 002A1DB8 41 82 0D 60 */ beq lbl_802A5BB8 +/* 802A4E5C 002A1DBC 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) +/* 802A4E60 002A1DC0 38 00 00 00 */ li r0, 0 +/* 802A4E64 002A1DC4 7C C3 2B 2E */ sthx r6, r3, r5 +/* 802A4E68 002A1DC8 38 A4 00 01 */ addi r5, r4, 1 +/* 802A4E6C 002A1DCC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802A4E70 002A1DD0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) +/* 802A4E74 002A1DD4 38 81 00 40 */ addi r4, r1, 0x40 +/* 802A4E78 002A1DD8 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 802A4E7C 002A1DDC 80 DF 00 28 */ lwz r6, 0x28(r31) +/* 802A4E80 002A1DE0 7C A5 70 AE */ lbzx r5, r5, r14 +/* 802A4E84 002A1DE4 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A4E88 002A1DE8 7E A6 28 2E */ lwzx r21, r6, r5 +/* 802A4E8C 002A1DEC 92 A1 00 44 */ stw r21, 0x44(r1) +/* 802A4E90 002A1DF0 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A4E94 002A1DF4 48 03 04 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A4E98 002A1DF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A4E9C 002A1DFC 41 82 0D 1C */ beq lbl_802A5BB8 +/* 802A4EA0 002A1E00 7F E3 FB 78 */ mr r3, r31 +/* 802A4EA4 002A1E04 7D C4 73 78 */ mr r4, r14 +/* 802A4EA8 002A1E08 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A4EAC 002A1E0C 4B FF DA D9 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs +/* 802A4EB0 002A1E10 A0 A1 00 3C */ lhz r5, 0x3c(r1) +/* 802A4EB4 002A1E14 7E A7 AB 78 */ mr r7, r21 +/* 802A4EB8 002A1E18 A0 81 00 38 */ lhz r4, 0x38(r1) +/* 802A4EBC 002A1E1C 38 61 02 14 */ addi r3, r1, 0x214 +/* 802A4EC0 002A1E20 A0 01 00 3A */ lhz r0, 0x3a(r1) +/* 802A4EC4 002A1E24 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A4EC8 002A1E28 81 1F 00 4C */ lwz r8, 0x4c(r31) +/* 802A4ECC 002A1E2C 1C 84 00 0C */ mulli r4, r4, 0xc +/* 802A4ED0 002A1E30 7C C8 2A 14 */ add r6, r8, r5 +/* 802A4ED4 002A1E34 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A4ED8 002A1E38 7C 88 22 14 */ add r4, r8, r4 +/* 802A4EDC 002A1E3C 7C A8 02 14 */ add r5, r8, r0 +/* 802A4EE0 002A1E40 4B FF D8 49 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A4EE4 002A1E44 38 C1 02 20 */ addi r6, r1, 0x220 +/* 802A4EE8 002A1E48 38 E1 02 2C */ addi r7, r1, 0x22c +/* 802A4EEC 002A1E4C 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 802A4EF0 002A1E50 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 802A4EF4 002A1E54 38 A1 02 14 */ addi r5, r1, 0x214 +/* 802A4EF8 002A1E58 48 02 C5 E9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A4EFC 002A1E5C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A4F00 002A1E60 28 00 00 01 */ cmplwi r0, 1 +/* 802A4F04 002A1E64 40 82 0C 4C */ bne lbl_802A5B50 +/* 802A4F08 002A1E68 38 61 01 78 */ addi r3, r1, 0x178 +/* 802A4F0C 002A1E6C 38 81 02 14 */ addi r4, r1, 0x214 +/* 802A4F10 002A1E70 4B FF D7 95 */ bl GetNormal__17CCollisionSurfaceCFv +/* 802A4F14 002A1E74 C3 30 00 04 */ lfs f25, 4(r16) +/* 802A4F18 002A1E78 C0 50 00 00 */ lfs f2, 0(r16) +/* 802A4F1C 002A1E7C EC 19 F0 2A */ fadds f0, f25, f30 +/* 802A4F20 002A1E80 C1 01 02 18 */ lfs f8, 0x218(r1) +/* 802A4F24 002A1E84 C1 81 01 7C */ lfs f12, 0x17c(r1) +/* 802A4F28 002A1E88 EC 22 F8 2A */ fadds f1, f2, f31 +/* 802A4F2C 002A1E8C C3 70 00 08 */ lfs f27, 8(r16) +/* 802A4F30 002A1E90 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802A4F34 002A1E94 C1 21 02 14 */ lfs f9, 0x214(r1) +/* 802A4F38 002A1E98 EC 7B E8 2A */ fadds f3, f27, f29 +/* 802A4F3C 002A1E9C C1 A1 01 78 */ lfs f13, 0x178(r1) +/* 802A4F40 002A1EA0 EC 21 48 28 */ fsubs f1, f1, f9 +/* 802A4F44 002A1EA4 C1 41 02 1C */ lfs f10, 0x21c(r1) +/* 802A4F48 002A1EA8 EC 00 03 32 */ fmuls f0, f0, f12 +/* 802A4F4C 002A1EAC C1 61 01 80 */ lfs f11, 0x180(r1) +/* 802A4F50 002A1EB0 EC 63 50 28 */ fsubs f3, f3, f10 +/* 802A4F54 002A1EB4 C0 F0 00 0C */ lfs f7, 0xc(r16) +/* 802A4F58 002A1EB8 EC 01 03 7A */ fmadds f0, f1, f13, f0 +/* 802A4F5C 002A1EBC D1 A1 01 D8 */ stfs f13, 0x1d8(r1) +/* 802A4F60 002A1EC0 D1 81 01 DC */ stfs f12, 0x1dc(r1) +/* 802A4F64 002A1EC4 EC 03 02 FA */ fmadds f0, f3, f11, f0 +/* 802A4F68 002A1EC8 D1 61 01 E0 */ stfs f11, 0x1e0(r1) +/* 802A4F6C 002A1ECC FC 00 38 40 */ fcmpo cr0, f0, f7 +/* 802A4F70 002A1ED0 41 81 0C 48 */ bgt lbl_802A5BB8 +/* 802A4F74 002A1ED4 EE D9 40 28 */ fsubs f22, f25, f8 +/* 802A4F78 002A1ED8 C3 12 00 04 */ lfs f24, 4(r18) +/* 802A4F7C 002A1EDC EE 82 48 28 */ fsubs f20, f2, f9 +/* 802A4F80 002A1EE0 C0 A1 02 28 */ lfs f5, 0x228(r1) +/* 802A4F84 002A1EE4 EE BB 50 28 */ fsubs f21, f27, f10 +/* 802A4F88 002A1EE8 C3 52 00 00 */ lfs f26, 0(r18) +/* 802A4F8C 002A1EEC EC 76 03 32 */ fmuls f3, f22, f12 +/* 802A4F90 002A1EF0 D2 81 01 6C */ stfs f20, 0x16c(r1) +/* 802A4F94 002A1EF4 EC 38 03 32 */ fmuls f1, f24, f12 +/* 802A4F98 002A1EF8 C2 F2 00 08 */ lfs f23, 8(r18) +/* 802A4F9C 002A1EFC EC 05 50 28 */ fsubs f0, f5, f10 +/* 802A4FA0 002A1F00 C0 81 02 20 */ lfs f4, 0x220(r1) +/* 802A4FA4 002A1F04 EE 74 1B 7A */ fmadds f19, f20, f13, f3 +/* 802A4FA8 002A1F08 D2 A1 01 74 */ stfs f21, 0x174(r1) +/* 802A4FAC 002A1F0C EE 5A 0B 7A */ fmadds f18, f26, f13, f1 +/* 802A4FB0 002A1F10 C0 C1 02 24 */ lfs f6, 0x224(r1) +/* 802A4FB4 002A1F14 D2 C1 01 70 */ stfs f22, 0x170(r1) +/* 802A4FB8 002A1F18 3A C0 00 00 */ li r22, 0 +/* 802A4FBC 002A1F1C EE 95 9A FA */ fmadds f20, f21, f11, f19 +/* 802A4FC0 002A1F20 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 802A4FC4 002A1F24 EE 57 92 FA */ fmadds f18, f23, f11, f18 +/* 802A4FC8 002A1F28 C0 62 C1 4C */ lfs f3, lbl_805ADE6C@sda21(r2) +/* 802A4FCC 002A1F2C EE 64 48 28 */ fsubs f19, f4, f9 +/* 802A4FD0 002A1F30 EF 87 A0 28 */ fsubs f28, f7, f20 +/* 802A4FD4 002A1F34 EC 26 40 28 */ fsubs f1, f6, f8 +/* 802A4FD8 002A1F38 EE A0 03 72 */ fmuls f21, f0, f13 +/* 802A4FDC 002A1F3C D2 61 01 48 */ stfs f19, 0x148(r1) +/* 802A4FE0 002A1F40 FF 9C 90 24 */ fdiv f28, f28, f18 +/* 802A4FE4 002A1F44 D0 21 01 4C */ stfs f1, 0x14c(r1) +/* 802A4FE8 002A1F48 EE CB AC F8 */ fmsubs f22, f11, f19, f21 +/* 802A4FEC 002A1F4C FE 40 E0 18 */ frsp f18, f28 +/* 802A4FF0 002A1F50 EE 81 02 F2 */ fmuls f20, f1, f11 +/* 802A4FF4 002A1F54 D2 C1 01 58 */ stfs f22, 0x158(r1) +/* 802A4FF8 002A1F58 EE B2 06 32 */ fmuls f21, f18, f24 +/* 802A4FFC 002A1F5C EF 12 06 B2 */ fmuls f24, f18, f26 +/* 802A5000 002A1F60 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 +/* 802A5004 002A1F64 EF 59 A8 2A */ fadds f26, f25, f21 +/* 802A5008 002A1F68 EC 12 05 F2 */ fmuls f0, f18, f23 +/* 802A500C 002A1F6C EF 22 C0 2A */ fadds f25, f2, f24 +/* 802A5010 002A1F70 D2 81 01 54 */ stfs f20, 0x154(r1) +/* 802A5014 002A1F74 EE 5A 40 28 */ fsubs f18, f26, f8 +/* 802A5018 002A1F78 EF 7B 00 2A */ fadds f27, f27, f0 +/* 802A501C 002A1F7C EE B3 03 32 */ fmuls f21, f19, f12 +/* 802A5020 002A1F80 EC 59 48 28 */ fsubs f2, f25, f9 +/* 802A5024 002A1F84 D2 41 01 64 */ stfs f18, 0x164(r1) +/* 802A5028 002A1F88 EC 12 05 B2 */ fmuls f0, f18, f22 +/* 802A502C 002A1F8C EC 2D A8 78 */ fmsubs f1, f13, f1, f21 +/* 802A5030 002A1F90 EE 5B 50 28 */ fsubs f18, f27, f10 +/* 802A5034 002A1F94 D0 41 01 60 */ stfs f2, 0x160(r1) +/* 802A5038 002A1F98 EC 02 05 3A */ fmadds f0, f2, f20, f0 +/* 802A503C 002A1F9C D0 21 01 5C */ stfs f1, 0x15c(r1) +/* 802A5040 002A1FA0 EC 12 00 7A */ fmadds f0, f18, f1, f0 +/* 802A5044 002A1FA4 D2 41 01 68 */ stfs f18, 0x168(r1) +/* 802A5048 002A1FA8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A504C 002A1FAC 7C 00 00 26 */ mfcr r0 +/* 802A5050 002A1FB0 C0 01 02 2C */ lfs f0, 0x22c(r1) +/* 802A5054 002A1FB4 C0 41 02 30 */ lfs f2, 0x230(r1) +/* 802A5058 002A1FB8 54 04 0F FE */ srwi r4, r0, 0x1f +/* 802A505C 002A1FBC EE A0 20 28 */ fsubs f21, f0, f4 +/* 802A5060 002A1FC0 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 802A5064 002A1FC4 EE 82 30 28 */ fsubs f20, f2, f6 +/* 802A5068 002A1FC8 98 81 00 18 */ stb r4, 0x18(r1) +/* 802A506C 002A1FCC EE 61 28 28 */ fsubs f19, f1, f5 +/* 802A5070 002A1FD0 D2 A1 01 24 */ stfs f21, 0x124(r1) +/* 802A5074 002A1FD4 EE F3 03 72 */ fmuls f23, f19, f13 +/* 802A5078 002A1FD8 D2 81 01 28 */ stfs f20, 0x128(r1) +/* 802A507C 002A1FDC EE D4 02 F2 */ fmuls f22, f20, f11 +/* 802A5080 002A1FE0 EE 5A 30 28 */ fsubs f18, f26, f6 +/* 802A5084 002A1FE4 D2 61 01 2C */ stfs f19, 0x12c(r1) +/* 802A5088 002A1FE8 EF 0B BD 78 */ fmsubs f24, f11, f21, f23 +/* 802A508C 002A1FEC EE CC B4 F8 */ fmsubs f22, f12, f19, f22 +/* 802A5090 002A1FF0 EE F5 03 32 */ fmuls f23, f21, f12 +/* 802A5094 002A1FF4 D2 41 01 40 */ stfs f18, 0x140(r1) +/* 802A5098 002A1FF8 EC D9 20 28 */ fsubs f6, f25, f4 +/* 802A509C 002A1FFC EC 92 06 32 */ fmuls f4, f18, f24 +/* 802A50A0 002A2000 D2 C1 01 30 */ stfs f22, 0x130(r1) +/* 802A50A4 002A2004 EE ED BD 38 */ fmsubs f23, f13, f20, f23 +/* 802A50A8 002A2008 EC BB 28 28 */ fsubs f5, f27, f5 +/* 802A50AC 002A200C D3 01 01 34 */ stfs f24, 0x134(r1) +/* 802A50B0 002A2010 EC 86 25 BA */ fmadds f4, f6, f22, f4 +/* 802A50B4 002A2014 D2 E1 01 38 */ stfs f23, 0x138(r1) +/* 802A50B8 002A2018 EC 85 25 FA */ fmadds f4, f5, f23, f4 +/* 802A50BC 002A201C D0 C1 01 3C */ stfs f6, 0x13c(r1) +/* 802A50C0 002A2020 D0 A1 01 44 */ stfs f5, 0x144(r1) +/* 802A50C4 002A2024 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 802A50C8 002A2028 7C 00 00 26 */ mfcr r0 +/* 802A50CC 002A202C ED 4A 08 28 */ fsubs f10, f10, f1 +/* 802A50D0 002A2030 EE 48 10 28 */ fsubs f18, f8, f2 +/* 802A50D4 002A2034 54 03 0F FE */ srwi r3, r0, 0x1f +/* 802A50D8 002A2038 ED 09 00 28 */ fsubs f8, f9, f0 +/* 802A50DC 002A203C 98 61 00 19 */ stb r3, 0x19(r1) +/* 802A50E0 002A2040 EC 8A 03 72 */ fmuls f4, f10, f13 +/* 802A50E4 002A2044 EC D2 02 F2 */ fmuls f6, f18, f11 +/* 802A50E8 002A2048 ED 3A 10 28 */ fsubs f9, f26, f2 +/* 802A50EC 002A204C D1 01 01 00 */ stfs f8, 0x100(r1) +/* 802A50F0 002A2050 EC AB 22 38 */ fmsubs f5, f11, f8, f4 +/* 802A50F4 002A2054 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 +/* 802A50F8 002A2058 D2 41 01 04 */ stfs f18, 0x104(r1) +/* 802A50FC 002A205C EC 88 03 32 */ fmuls f4, f8, f12 +/* 802A5100 002A2060 EC 59 00 28 */ fsubs f2, f25, f0 +/* 802A5104 002A2064 D1 41 01 08 */ stfs f10, 0x108(r1) +/* 802A5108 002A2068 EC 09 01 72 */ fmuls f0, f9, f5 +/* 802A510C 002A206C EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 +/* 802A5110 002A2070 D0 C1 01 0C */ stfs f6, 0x10c(r1) +/* 802A5114 002A2074 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 802A5118 002A2078 EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 802A511C 002A207C D0 A1 01 10 */ stfs f5, 0x110(r1) +/* 802A5120 002A2080 D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802A5124 002A2084 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 802A5128 002A2088 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 802A512C 002A208C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 802A5130 002A2090 D1 21 01 1C */ stfs f9, 0x11c(r1) +/* 802A5134 002A2094 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 802A5138 002A2098 7C 00 00 26 */ mfcr r0 +/* 802A513C 002A209C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5140 002A20A0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A5144 002A20A4 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802A5148 002A20A8 98 01 00 1A */ stb r0, 0x1a(r1) +/* 802A514C 002A20AC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5150 002A20B0 40 82 01 30 */ bne lbl_802A5280 +/* 802A5154 002A20B4 28 04 00 00 */ cmplwi r4, 0 +/* 802A5158 002A20B8 40 82 01 28 */ bne lbl_802A5280 +/* 802A515C 002A20BC 28 03 00 00 */ cmplwi r3, 0 +/* 802A5160 002A20C0 40 82 01 20 */ bne lbl_802A5280 +/* 802A5164 002A20C4 28 00 00 00 */ cmplwi r0, 0 +/* 802A5168 002A20C8 40 82 01 18 */ bne lbl_802A5280 +/* 802A516C 002A20CC C8 14 00 00 */ lfd f0, 0(r20) +/* 802A5170 002A20D0 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 802A5174 002A20D4 40 80 01 0C */ bge lbl_802A5280 +/* 802A5178 002A20D8 EC 07 03 32 */ fmuls f0, f7, f12 +/* 802A517C 002A20DC 7E 25 8B 78 */ mr r5, r17 +/* 802A5180 002A20E0 EC 47 02 F2 */ fmuls f2, f7, f11 +/* 802A5184 002A20E4 38 61 03 00 */ addi r3, r1, 0x300 +/* 802A5188 002A20E8 EC 27 03 72 */ fmuls f1, f7, f13 +/* 802A518C 002A20EC 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 802A5190 002A20F0 EC 9A 00 28 */ fsubs f4, f26, f0 +/* 802A5194 002A20F4 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 802A5198 002A20F8 EC 7B 10 28 */ fsubs f3, f27, f2 +/* 802A519C 002A20FC 38 C1 00 40 */ addi r6, r1, 0x40 +/* 802A51A0 002A2100 EC 19 08 28 */ fsubs f0, f25, f1 +/* 802A51A4 002A2104 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 802A51A8 002A2108 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 802A51AC 002A210C 38 E1 01 D8 */ addi r7, r1, 0x1d8 +/* 802A51B0 002A2110 3A C0 00 01 */ li r22, 1 +/* 802A51B4 002A2114 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 802A51B8 002A2118 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 802A51BC 002A211C D0 61 00 FC */ stfs f3, 0xfc(r1) +/* 802A51C0 002A2120 48 02 92 89 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A51C4 002A2124 38 00 00 01 */ li r0, 1 +/* 802A51C8 002A2128 80 61 03 00 */ lwz r3, 0x300(r1) +/* 802A51CC 002A212C 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A51D0 002A2130 80 01 03 04 */ lwz r0, 0x304(r1) +/* 802A51D4 002A2134 90 73 00 00 */ stw r3, 0(r19) +/* 802A51D8 002A2138 90 13 00 04 */ stw r0, 4(r19) +/* 802A51DC 002A213C 80 01 03 08 */ lwz r0, 0x308(r1) +/* 802A51E0 002A2140 90 13 00 08 */ stw r0, 8(r19) +/* 802A51E4 002A2144 80 61 03 0C */ lwz r3, 0x30c(r1) +/* 802A51E8 002A2148 80 01 03 10 */ lwz r0, 0x310(r1) +/* 802A51EC 002A214C 90 73 00 0C */ stw r3, 0xc(r19) +/* 802A51F0 002A2150 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A51F4 002A2154 80 01 03 14 */ lwz r0, 0x314(r1) +/* 802A51F8 002A2158 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A51FC 002A215C 80 61 03 18 */ lwz r3, 0x318(r1) +/* 802A5200 002A2160 80 01 03 1C */ lwz r0, 0x31c(r1) +/* 802A5204 002A2164 90 73 00 18 */ stw r3, 0x18(r19) +/* 802A5208 002A2168 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A520C 002A216C 80 01 03 20 */ lwz r0, 0x320(r1) +/* 802A5210 002A2170 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A5214 002A2174 80 61 03 24 */ lwz r3, 0x324(r1) +/* 802A5218 002A2178 80 01 03 28 */ lwz r0, 0x328(r1) +/* 802A521C 002A217C 90 73 00 24 */ stw r3, 0x24(r19) +/* 802A5220 002A2180 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A5224 002A2184 80 01 03 2C */ lwz r0, 0x32c(r1) +/* 802A5228 002A2188 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A522C 002A218C 88 01 03 30 */ lbz r0, 0x330(r1) +/* 802A5230 002A2190 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A5234 002A2194 88 01 03 31 */ lbz r0, 0x331(r1) +/* 802A5238 002A2198 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A523C 002A219C C8 01 03 38 */ lfd f0, 0x338(r1) +/* 802A5240 002A21A0 D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A5244 002A21A4 C8 01 03 40 */ lfd f0, 0x340(r1) +/* 802A5248 002A21A8 D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A524C 002A21AC 80 61 03 48 */ lwz r3, 0x348(r1) +/* 802A5250 002A21B0 80 01 03 4C */ lwz r0, 0x34c(r1) +/* 802A5254 002A21B4 90 73 00 48 */ stw r3, 0x48(r19) +/* 802A5258 002A21B8 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A525C 002A21BC 80 01 03 50 */ lwz r0, 0x350(r1) +/* 802A5260 002A21C0 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A5264 002A21C4 80 61 03 54 */ lwz r3, 0x354(r1) +/* 802A5268 002A21C8 80 01 03 58 */ lwz r0, 0x358(r1) +/* 802A526C 002A21CC 90 73 00 54 */ stw r3, 0x54(r19) +/* 802A5270 002A21D0 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A5274 002A21D4 80 01 03 5C */ lwz r0, 0x35c(r1) +/* 802A5278 002A21D8 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A527C 002A21DC DB 94 00 00 */ stfd f28, 0(r20) +lbl_802A5280: +/* 802A5280 002A21E0 C0 30 00 04 */ lfs f1, 4(r16) +/* 802A5284 002A21E4 C0 01 02 18 */ lfs f0, 0x218(r1) +/* 802A5288 002A21E8 C0 50 00 00 */ lfs f2, 0(r16) +/* 802A528C 002A21EC EC A1 00 28 */ fsubs f5, f1, f0 +/* 802A5290 002A21F0 C0 21 02 14 */ lfs f1, 0x214(r1) +/* 802A5294 002A21F4 C0 01 01 DC */ lfs f0, 0x1dc(r1) +/* 802A5298 002A21F8 EC 62 08 28 */ fsubs f3, f2, f1 +/* 802A529C 002A21FC C0 90 00 08 */ lfs f4, 8(r16) +/* 802A52A0 002A2200 C0 41 02 1C */ lfs f2, 0x21c(r1) +/* 802A52A4 002A2204 EC 05 00 32 */ fmuls f0, f5, f0 +/* 802A52A8 002A2208 C0 21 01 D8 */ lfs f1, 0x1d8(r1) +/* 802A52AC 002A220C EC 84 10 28 */ fsubs f4, f4, f2 +/* 802A52B0 002A2210 C0 41 01 E0 */ lfs f2, 0x1e0(r1) +/* 802A52B4 002A2214 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 802A52B8 002A2218 C0 10 00 0C */ lfs f0, 0xc(r16) +/* 802A52BC 002A221C D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 802A52C0 002A2220 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 802A52C4 002A2224 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 802A52C8 002A2228 D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 802A52CC 002A222C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A52D0 002A2230 4C 40 13 82 */ cror 2, 0, 2 +/* 802A52D4 002A2234 7C A0 00 26 */ mfcr r5 +/* 802A52D8 002A2238 A0 82 C1 48 */ lhz r4, lbl_805ADE68@sda21(r2) +/* 802A52DC 002A223C 88 02 C1 4A */ lbz r0, lbl_805ADE6A@sda21(r2) +/* 802A52E0 002A2240 7F E3 FB 78 */ mr r3, r31 +/* 802A52E4 002A2244 B0 81 00 14 */ sth r4, 0x14(r1) +/* 802A52E8 002A2248 7D C4 73 78 */ mr r4, r14 +/* 802A52EC 002A224C 54 AE 1F FE */ rlwinm r14, r5, 3, 0x1f, 0x1f +/* 802A52F0 002A2250 98 01 00 16 */ stb r0, 0x16(r1) +/* 802A52F4 002A2254 4B FF D6 7D */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A52F8 002A2258 3C 80 80 3F */ lis r4, lbl_803EC428@ha +/* 802A52FC 002A225C 3A E1 02 14 */ addi r23, r1, 0x214 +/* 802A5300 002A2260 3B 01 00 14 */ addi r24, r1, 0x14 +/* 802A5304 002A2264 7C 7C 1B 78 */ mr r28, r3 +/* 802A5308 002A2268 3B 44 C4 28 */ addi r26, r4, lbl_803EC428@l +/* 802A530C 002A226C 7E FB BB 78 */ mr r27, r23 +/* 802A5310 002A2270 7F 19 C3 78 */ mr r25, r24 +/* 802A5314 002A2274 3B A1 00 18 */ addi r29, r1, 0x18 +/* 802A5318 002A2278 3A A0 00 00 */ li r21, 0 +lbl_802A531C: +/* 802A531C 002A227C 28 0E 00 00 */ cmplwi r14, 0 +/* 802A5320 002A2280 40 82 00 10 */ bne lbl_802A5330 +/* 802A5324 002A2284 88 1D 00 00 */ lbz r0, 0(r29) +/* 802A5328 002A2288 28 00 00 00 */ cmplwi r0, 0 +/* 802A532C 002A228C 41 82 04 94 */ beq lbl_802A57C0 +lbl_802A5330: +/* 802A5330 002A2290 A0 DC 00 00 */ lhz r6, 0(r28) +/* 802A5334 002A2294 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802A5338 002A2298 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802A533C 002A229C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A5340 002A22A0 54 C4 08 3C */ slwi r4, r6, 1 +/* 802A5344 002A22A4 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802A5348 002A22A8 7C 05 00 40 */ cmplw r5, r0 +/* 802A534C 002A22AC 41 82 04 74 */ beq lbl_802A57C0 +/* 802A5350 002A22B0 7C A3 23 2E */ sthx r5, r3, r4 +/* 802A5354 002A22B4 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 802A5358 002A22B8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 802A535C 002A22BC 7C 03 30 AE */ lbzx r0, r3, r6 +/* 802A5360 002A22C0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A5364 002A22C4 7F C4 00 2E */ lwzx r30, r4, r0 +/* 802A5368 002A22C8 57 C0 01 CF */ rlwinm. r0, r30, 0, 7, 7 +/* 802A536C 002A22CC 40 82 04 54 */ bne lbl_802A57C0 +/* 802A5370 002A22D0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A5374 002A22D4 38 81 02 14 */ addi r4, r1, 0x214 +/* 802A5378 002A22D8 C0 9B 00 04 */ lfs f4, 4(r27) +/* 802A537C 002A22DC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 802A5380 002A22E0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A5384 002A22E4 C0 5B 00 08 */ lfs f2, 8(r27) +/* 802A5388 002A22E8 C0 1B 00 00 */ lfs f0, 0(r27) +/* 802A538C 002A22EC 7C 84 02 14 */ add r4, r4, r0 +/* 802A5390 002A22F0 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802A5394 002A22F4 C0 64 00 08 */ lfs f3, 8(r4) +/* 802A5398 002A22F8 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A539C 002A22FC EC 85 20 28 */ fsubs f4, f5, f4 +/* 802A53A0 002A2300 EC 43 10 28 */ fsubs f2, f3, f2 +/* 802A53A4 002A2304 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A53A8 002A2308 D0 81 01 D0 */ stfs f4, 0x1d0(r1) +/* 802A53AC 002A230C D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 802A53B0 002A2310 D0 41 01 D4 */ stfs f2, 0x1d4(r1) +/* 802A53B4 002A2314 48 06 F5 05 */ bl Magnitude__9CVector3fCFv +/* 802A53B8 002A2318 C0 42 C1 64 */ lfs f2, lbl_805ADE84@sda21(r2) +/* 802A53BC 002A231C C0 01 01 D0 */ lfs f0, 0x1d0(r1) +/* 802A53C0 002A2320 EC E2 08 24 */ fdivs f7, f2, f1 +/* 802A53C4 002A2324 C0 A1 01 CC */ lfs f5, 0x1cc(r1) +/* 802A53C8 002A2328 C0 61 01 D4 */ lfs f3, 0x1d4(r1) +/* 802A53CC 002A232C C2 92 00 04 */ lfs f20, 4(r18) +/* 802A53D0 002A2330 C0 52 00 00 */ lfs f2, 0(r18) +/* 802A53D4 002A2334 C0 D2 00 08 */ lfs f6, 8(r18) +/* 802A53D8 002A2338 ED 80 01 F2 */ fmuls f12, f0, f7 +/* 802A53DC 002A233C C0 90 00 04 */ lfs f4, 4(r16) +/* 802A53E0 002A2340 ED A5 01 F2 */ fmuls f13, f5, f7 +/* 802A53E4 002A2344 C0 1B 00 04 */ lfs f0, 4(r27) +/* 802A53E8 002A2348 ED 43 01 F2 */ fmuls f10, f3, f7 +/* 802A53EC 002A234C C1 30 00 00 */ lfs f9, 0(r16) +/* 802A53F0 002A2350 EC 74 03 32 */ fmuls f3, f20, f12 +/* 802A53F4 002A2354 C1 1B 00 00 */ lfs f8, 0(r27) +/* 802A53F8 002A2358 EC 04 00 28 */ fsubs f0, f4, f0 +/* 802A53FC 002A235C C0 F0 00 08 */ lfs f7, 8(r16) +/* 802A5400 002A2360 C0 BB 00 08 */ lfs f5, 8(r27) +/* 802A5404 002A2364 EE 69 40 28 */ fsubs f19, f9, f8 +/* 802A5408 002A2368 EC 62 1B 7A */ fmadds f3, f2, f13, f3 +/* 802A540C 002A236C C1 62 C1 4C */ lfs f11, lbl_805ADE6C@sda21(r2) +/* 802A5410 002A2370 EC 80 03 32 */ fmuls f4, f0, f12 +/* 802A5414 002A2374 D1 A1 01 CC */ stfs f13, 0x1cc(r1) +/* 802A5418 002A2378 EE 47 28 28 */ fsubs f18, f7, f5 +/* 802A541C 002A237C EC A6 1A BA */ fmadds f5, f6, f10, f3 +/* 802A5420 002A2380 EC 93 23 7A */ fmadds f4, f19, f13, f4 +/* 802A5424 002A2384 D1 81 01 D0 */ stfs f12, 0x1d0(r1) +/* 802A5428 002A2388 EC 65 03 32 */ fmuls f3, f5, f12 +/* 802A542C 002A238C D1 41 01 D4 */ stfs f10, 0x1d4(r1) +/* 802A5430 002A2390 EC E5 03 72 */ fmuls f7, f5, f13 +/* 802A5434 002A2394 EC 92 22 BA */ fmadds f4, f18, f10, f4 +/* 802A5438 002A2398 EE 94 18 28 */ fsubs f20, f20, f3 +/* 802A543C 002A239C ED 05 02 B2 */ fmuls f8, f5, f10 +/* 802A5440 002A23A0 EC 62 38 28 */ fsubs f3, f2, f7 +/* 802A5444 002A23A4 EC F4 05 32 */ fmuls f7, f20, f20 +/* 802A5448 002A23A8 EC 46 40 28 */ fsubs f2, f6, f8 +/* 802A544C 002A23AC ED 24 03 72 */ fmuls f9, f4, f13 +/* 802A5450 002A23B0 EC C3 38 FA */ fmadds f6, f3, f3, f7 +/* 802A5454 002A23B4 ED 04 03 32 */ fmuls f8, f4, f12 +/* 802A5458 002A23B8 EC E4 02 B2 */ fmuls f7, f4, f10 +/* 802A545C 002A23BC EC C2 30 BA */ fmadds f6, f2, f2, f6 +/* 802A5460 002A23C0 ED B3 48 28 */ fsubs f13, f19, f9 +/* 802A5464 002A23C4 EC 00 40 28 */ fsubs f0, f0, f8 +/* 802A5468 002A23C8 FC 06 58 40 */ fcmpo cr0, f6, f11 +/* 802A546C 002A23CC ED 92 38 28 */ fsubs f12, f18, f7 +/* 802A5470 002A23D0 40 81 03 50 */ ble lbl_802A57C0 +/* 802A5474 002A23D4 EC E0 00 32 */ fmuls f7, f0, f0 +/* 802A5478 002A23D8 C1 50 00 0C */ lfs f10, 0xc(r16) +/* 802A547C 002A23DC ED 20 05 32 */ fmuls f9, f0, f20 +/* 802A5480 002A23E0 C1 02 C1 6C */ lfs f8, lbl_805ADE8C@sda21(r2) +/* 802A5484 002A23E4 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 802A5488 002A23E8 C1 42 C1 68 */ lfs f10, lbl_805ADE88@sda21(r2) +/* 802A548C 002A23EC EC ED 3B 7A */ fmadds f7, f13, f13, f7 +/* 802A5490 002A23F0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 +/* 802A5494 002A23F4 ED 08 01 B2 */ fmuls f8, f8, f6 +/* 802A5498 002A23F8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 +/* 802A549C 002A23FC EC EC 48 BA */ fmadds f7, f12, f2, f9 +/* 802A54A0 002A2400 EC 43 00 28 */ fsubs f2, f3, f0 +/* 802A54A4 002A2404 EC 0A 01 F2 */ fmuls f0, f10, f7 +/* 802A54A8 002A2408 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 802A54AC 002A240C ED 20 10 38 */ fmsubs f9, f0, f0, f2 +/* 802A54B0 002A2410 FC 09 58 40 */ fcmpo cr0, f9, f11 +/* 802A54B4 002A2414 4C 41 13 82 */ cror 2, 1, 2 +/* 802A54B8 002A2418 40 82 02 F4 */ bne lbl_802A57AC +/* 802A54BC 002A241C C9 02 C1 70 */ lfd f8, lbl_805ADE90@sda21(r2) +/* 802A54C0 002A2420 C8 E2 C1 58 */ lfd f7, lbl_805ADE78@sda21(r2) +/* 802A54C4 002A2424 FC 48 30 24 */ fdiv f2, f8, f6 +/* 802A54C8 002A2428 FC 09 38 40 */ fcmpo cr0, f9, f7 +/* 802A54CC 002A242C 40 81 00 54 */ ble lbl_802A5520 +/* 802A54D0 002A2430 FC C0 48 34 */ frsqrte f6, f9 +/* 802A54D4 002A2434 C8 E2 C1 78 */ lfd f7, lbl_805ADE98@sda21(r2) +/* 802A54D8 002A2438 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54DC 002A243C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A54E0 002A2440 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A54E4 002A2444 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A54E8 002A2448 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54EC 002A244C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A54F0 002A2450 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A54F4 002A2454 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A54F8 002A2458 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A54FC 002A245C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A5500 002A2460 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A5504 002A2464 FC C6 00 F2 */ fmul f6, f6, f3 +/* 802A5508 002A2468 FC 66 01 B2 */ fmul f3, f6, f6 +/* 802A550C 002A246C FC C8 01 B2 */ fmul f6, f8, f6 +/* 802A5510 002A2470 FC 69 38 FC */ fnmsub f3, f9, f3, f7 +/* 802A5514 002A2474 FC 66 00 F2 */ fmul f3, f6, f3 +/* 802A5518 002A2478 FC E9 00 F2 */ fmul f7, f9, f3 +/* 802A551C 002A247C 48 00 00 2C */ b lbl_802A5548 +lbl_802A5520: +/* 802A5520 002A2480 FC 07 48 00 */ fcmpu cr0, f7, f9 +/* 802A5524 002A2484 40 82 00 08 */ bne lbl_802A552C +/* 802A5528 002A2488 48 00 00 20 */ b lbl_802A5548 +lbl_802A552C: +/* 802A552C 002A248C FC 09 38 00 */ fcmpu cr0, f9, f7 +/* 802A5530 002A2490 41 82 00 10 */ beq lbl_802A5540 +/* 802A5534 002A2494 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 802A5538 002A2498 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) +/* 802A553C 002A249C 48 00 00 0C */ b lbl_802A5548 +lbl_802A5540: +/* 802A5540 002A24A0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 802A5544 002A24A4 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) +lbl_802A5548: +/* 802A5548 002A24A8 FC 60 00 50 */ fneg f3, f0 +/* 802A554C 002A24AC C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5550 002A24B0 FC 63 38 28 */ fsub f3, f3, f7 +/* 802A5554 002A24B4 FE E2 00 F2 */ fmul f23, f2, f3 +/* 802A5558 002A24B8 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802A555C 002A24BC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5560 002A24C0 40 82 02 60 */ bne lbl_802A57C0 +/* 802A5564 002A24C4 FC 77 21 7A */ fmadd f3, f23, f5, f4 +/* 802A5568 002A24C8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A556C 002A24CC 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5570 002A24D0 40 82 01 E0 */ bne lbl_802A5750 +/* 802A5574 002A24D4 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 802A5578 002A24D8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A557C 002A24DC 40 82 01 D4 */ bne lbl_802A5750 +/* 802A5580 002A24E0 C8 14 00 00 */ lfd f0, 0(r20) +/* 802A5584 002A24E4 FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 802A5588 002A24E8 40 80 01 C8 */ bge lbl_802A5750 +/* 802A558C 002A24EC FD 00 18 18 */ frsp f8, f3 +/* 802A5590 002A24F0 C0 21 01 D0 */ lfs f1, 0x1d0(r1) +/* 802A5594 002A24F4 C0 01 01 D4 */ lfs f0, 0x1d4(r1) +/* 802A5598 002A24F8 FC 60 B8 18 */ frsp f3, f23 +/* 802A559C 002A24FC C0 81 01 CC */ lfs f4, 0x1cc(r1) +/* 802A55A0 002A2500 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A55A4 002A2504 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A55A8 002A2508 EC E8 00 72 */ fmuls f7, f8, f1 +/* 802A55AC 002A250C C0 32 00 08 */ lfs f1, 8(r18) +/* 802A55B0 002A2510 EC A8 00 32 */ fmuls f5, f8, f0 +/* 802A55B4 002A2514 C0 12 00 00 */ lfs f0, 0(r18) +/* 802A55B8 002A2518 ED 63 00 B2 */ fmuls f11, f3, f2 +/* 802A55BC 002A251C ED 43 00 72 */ fmuls f10, f3, f1 +/* 802A55C0 002A2520 EC 43 00 32 */ fmuls f2, f3, f0 +/* 802A55C4 002A2524 C1 3B 00 04 */ lfs f9, 4(r27) +/* 802A55C8 002A2528 C0 DB 00 08 */ lfs f6, 8(r27) +/* 802A55CC 002A252C EC 68 01 32 */ fmuls f3, f8, f4 +/* 802A55D0 002A2530 C0 9B 00 00 */ lfs f4, 0(r27) +/* 802A55D4 002A2534 C0 10 00 04 */ lfs f0, 4(r16) +/* 802A55D8 002A2538 C0 30 00 08 */ lfs f1, 8(r16) +/* 802A55DC 002A253C EC E9 38 2A */ fadds f7, f9, f7 +/* 802A55E0 002A2540 ED 00 58 2A */ fadds f8, f0, f11 +/* 802A55E4 002A2544 C0 10 00 00 */ lfs f0, 0(r16) +/* 802A55E8 002A2548 EC A6 28 2A */ fadds f5, f6, f5 +/* 802A55EC 002A254C D0 41 00 AC */ stfs f2, 0xac(r1) +/* 802A55F0 002A2550 EC C1 50 2A */ fadds f6, f1, f10 +/* 802A55F4 002A2554 EC 64 18 2A */ fadds f3, f4, f3 +/* 802A55F8 002A2558 EC 20 10 2A */ fadds f1, f0, f2 +/* 802A55FC 002A255C D0 E1 01 C4 */ stfs f7, 0x1c4(r1) +/* 802A5600 002A2560 EC 88 38 28 */ fsubs f4, f8, f7 +/* 802A5604 002A2564 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 802A5608 002A2568 EC 46 28 28 */ fsubs f2, f6, f5 +/* 802A560C 002A256C EC 01 18 28 */ fsubs f0, f1, f3 +/* 802A5610 002A2570 D0 61 01 C0 */ stfs f3, 0x1c0(r1) +/* 802A5614 002A2574 3A C0 00 01 */ li r22, 1 +/* 802A5618 002A2578 D0 A1 01 C8 */ stfs f5, 0x1c8(r1) +/* 802A561C 002A257C D1 61 00 B0 */ stfs f11, 0xb0(r1) +/* 802A5620 002A2580 D1 41 00 B4 */ stfs f10, 0xb4(r1) +/* 802A5624 002A2584 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 802A5628 002A2588 D1 01 00 BC */ stfs f8, 0xbc(r1) +/* 802A562C 002A258C D0 C1 00 C0 */ stfs f6, 0xc0(r1) +/* 802A5630 002A2590 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 802A5634 002A2594 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 802A5638 002A2598 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802A563C 002A259C 48 06 F2 15 */ bl AsNormalized__9CVector3fCFv +/* 802A5640 002A25A0 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 802A5644 002A25A4 38 00 00 00 */ li r0, 0 +/* 802A5648 002A25A8 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 802A564C 002A25AC 7E 25 8B 78 */ mr r5, r17 +/* 802A5650 002A25B0 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 802A5654 002A25B4 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 802A5658 002A25B8 D0 41 01 B4 */ stfs f2, 0x1b4(r1) +/* 802A565C 002A25BC 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 802A5660 002A25C0 38 C1 00 28 */ addi r6, r1, 0x28 +/* 802A5664 002A25C4 38 E1 01 B4 */ addi r7, r1, 0x1b4 +/* 802A5668 002A25C8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) +/* 802A566C 002A25CC D0 01 01 BC */ stfs f0, 0x1bc(r1) +/* 802A5670 002A25D0 93 C1 00 2C */ stw r30, 0x2c(r1) +/* 802A5674 002A25D4 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A5678 002A25D8 48 02 8D D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A567C 002A25DC 80 C1 02 A0 */ lwz r6, 0x2a0(r1) +/* 802A5680 002A25E0 38 00 00 01 */ li r0, 1 +/* 802A5684 002A25E4 80 A1 02 A4 */ lwz r5, 0x2a4(r1) +/* 802A5688 002A25E8 38 80 00 00 */ li r4, 0 +/* 802A568C 002A25EC 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A5690 002A25F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A5694 002A25F4 90 D3 00 00 */ stw r6, 0(r19) +/* 802A5698 002A25F8 90 B3 00 04 */ stw r5, 4(r19) +/* 802A569C 002A25FC 80 01 02 A8 */ lwz r0, 0x2a8(r1) +/* 802A56A0 002A2600 98 99 00 00 */ stb r4, 0(r25) +/* 802A56A4 002A2604 90 13 00 08 */ stw r0, 8(r19) +/* 802A56A8 002A2608 80 A1 02 AC */ lwz r5, 0x2ac(r1) +/* 802A56AC 002A260C 80 01 02 B0 */ lwz r0, 0x2b0(r1) +/* 802A56B0 002A2610 90 B3 00 0C */ stw r5, 0xc(r19) +/* 802A56B4 002A2614 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A56B8 002A2618 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 802A56BC 002A261C 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A56C0 002A2620 80 A1 02 B8 */ lwz r5, 0x2b8(r1) +/* 802A56C4 002A2624 80 01 02 BC */ lwz r0, 0x2bc(r1) +/* 802A56C8 002A2628 90 B3 00 18 */ stw r5, 0x18(r19) +/* 802A56CC 002A262C 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A56D0 002A2630 80 01 02 C0 */ lwz r0, 0x2c0(r1) +/* 802A56D4 002A2634 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A56D8 002A2638 80 A1 02 C4 */ lwz r5, 0x2c4(r1) +/* 802A56DC 002A263C 80 01 02 C8 */ lwz r0, 0x2c8(r1) +/* 802A56E0 002A2640 90 B3 00 24 */ stw r5, 0x24(r19) +/* 802A56E4 002A2644 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A56E8 002A2648 80 01 02 CC */ lwz r0, 0x2cc(r1) +/* 802A56EC 002A264C 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A56F0 002A2650 88 01 02 D0 */ lbz r0, 0x2d0(r1) +/* 802A56F4 002A2654 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A56F8 002A2658 88 01 02 D1 */ lbz r0, 0x2d1(r1) +/* 802A56FC 002A265C 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A5700 002A2660 C8 01 02 D8 */ lfd f0, 0x2d8(r1) +/* 802A5704 002A2664 D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A5708 002A2668 C8 01 02 E0 */ lfd f0, 0x2e0(r1) +/* 802A570C 002A266C D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A5710 002A2670 80 A1 02 E8 */ lwz r5, 0x2e8(r1) +/* 802A5714 002A2674 80 01 02 EC */ lwz r0, 0x2ec(r1) +/* 802A5718 002A2678 90 B3 00 48 */ stw r5, 0x48(r19) +/* 802A571C 002A267C 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A5720 002A2680 80 01 02 F0 */ lwz r0, 0x2f0(r1) +/* 802A5724 002A2684 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A5728 002A2688 80 A1 02 F4 */ lwz r5, 0x2f4(r1) +/* 802A572C 002A268C 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 802A5730 002A2690 90 B3 00 54 */ stw r5, 0x54(r19) +/* 802A5734 002A2694 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A5738 002A2698 80 01 02 FC */ lwz r0, 0x2fc(r1) +/* 802A573C 002A269C 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A5740 002A26A0 DA F4 00 00 */ stfd f23, 0(r20) +/* 802A5744 002A26A4 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A5748 002A26A8 7C 83 01 AE */ stbx r4, r3, r0 +/* 802A574C 002A26AC 48 00 00 74 */ b lbl_802A57C0 +lbl_802A5750: +/* 802A5750 002A26B0 C0 50 00 0C */ lfs f2, 0xc(r16) +/* 802A5754 002A26B4 FC 00 10 50 */ fneg f0, f2 +/* 802A5758 002A26B8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A575C 002A26BC 40 80 00 20 */ bge lbl_802A577C +/* 802A5760 002A26C0 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) +/* 802A5764 002A26C4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802A5768 002A26C8 4C 40 13 82 */ cror 2, 0, 2 +/* 802A576C 002A26CC 40 82 00 10 */ bne lbl_802A577C +/* 802A5770 002A26D0 38 00 00 00 */ li r0, 0 +/* 802A5774 002A26D4 98 19 00 00 */ stb r0, 0(r25) +/* 802A5778 002A26D8 48 00 00 48 */ b lbl_802A57C0 +lbl_802A577C: +/* 802A577C 002A26DC EC 01 10 2A */ fadds f0, f1, f2 +/* 802A5780 002A26E0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A5784 002A26E4 40 81 00 3C */ ble lbl_802A57C0 +/* 802A5788 002A26E8 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) +/* 802A578C 002A26EC FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 802A5790 002A26F0 4C 41 13 82 */ cror 2, 1, 2 +/* 802A5794 002A26F4 40 82 00 2C */ bne lbl_802A57C0 +/* 802A5798 002A26F8 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A579C 002A26FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A57A0 002A2700 38 80 00 00 */ li r4, 0 +/* 802A57A4 002A2704 7C 83 01 AE */ stbx r4, r3, r0 +/* 802A57A8 002A2708 48 00 00 18 */ b lbl_802A57C0 +lbl_802A57AC: +/* 802A57AC 002A270C 38 80 00 00 */ li r4, 0 +/* 802A57B0 002A2710 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A57B4 002A2714 98 99 00 00 */ stb r4, 0(r25) +/* 802A57B8 002A2718 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A57BC 002A271C 7C 83 01 AE */ stbx r4, r3, r0 +lbl_802A57C0: +/* 802A57C0 002A2720 3A B5 00 01 */ addi r21, r21, 1 +/* 802A57C4 002A2724 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A57C8 002A2728 2C 15 00 03 */ cmpwi r21, 3 +/* 802A57CC 002A272C 3B 7B 00 0C */ addi r27, r27, 0xc +/* 802A57D0 002A2730 3B 5A 00 04 */ addi r26, r26, 4 +/* 802A57D4 002A2734 3B 39 00 01 */ addi r25, r25, 1 +/* 802A57D8 002A2738 3B BD 00 01 */ addi r29, r29, 1 +/* 802A57DC 002A273C 41 80 FB 40 */ blt lbl_802A531C +/* 802A57E0 002A2740 39 C1 00 38 */ addi r14, r1, 0x38 +/* 802A57E4 002A2744 3A A0 00 00 */ li r21, 0 +lbl_802A57E8: +/* 802A57E8 002A2748 88 18 00 00 */ lbz r0, 0(r24) +/* 802A57EC 002A274C A3 2E 00 00 */ lhz r25, 0(r14) +/* 802A57F0 002A2750 28 00 00 00 */ cmplwi r0, 0 +/* 802A57F4 002A2754 41 82 02 10 */ beq lbl_802A5A04 +/* 802A57F8 002A2758 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A57FC 002A275C 57 24 08 3C */ slwi r4, r25, 1 +/* 802A5800 002A2760 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A5804 002A2764 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) +/* 802A5808 002A2768 7C 03 22 2E */ lhzx r0, r3, r4 +/* 802A580C 002A276C 7C 05 00 40 */ cmplw r5, r0 +/* 802A5810 002A2770 41 82 02 08 */ beq lbl_802A5A18 +/* 802A5814 002A2774 7C A3 23 2E */ sthx r5, r3, r4 +/* 802A5818 002A2778 7E 04 83 78 */ mr r4, r16 +/* 802A581C 002A277C C0 90 00 0C */ lfs f4, 0xc(r16) +/* 802A5820 002A2780 7E 45 93 78 */ mr r5, r18 +/* 802A5824 002A2784 C8 74 00 00 */ lfd f3, 0(r20) +/* 802A5828 002A2788 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A582C 002A278C C0 57 00 00 */ lfs f2, 0(r23) +/* 802A5830 002A2790 38 C1 00 30 */ addi r6, r1, 0x30 +/* 802A5834 002A2794 C0 37 00 04 */ lfs f1, 4(r23) +/* 802A5838 002A2798 C0 17 00 08 */ lfs f0, 8(r23) +/* 802A583C 002A279C D8 61 00 30 */ stfd f3, 0x30(r1) +/* 802A5840 002A27A0 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 802A5844 002A27A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 802A5848 002A27A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 802A584C 002A27AC D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 802A5850 002A27B0 48 02 E1 81 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd +/* 802A5854 002A27B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5858 002A27B8 41 82 01 C0 */ beq lbl_802A5A18 +/* 802A585C 002A27BC C8 21 00 30 */ lfd f1, 0x30(r1) +/* 802A5860 002A27C0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) +/* 802A5864 002A27C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A5868 002A27C8 4C 41 13 82 */ cror 2, 1, 2 +/* 802A586C 002A27CC 40 82 01 AC */ bne lbl_802A5A18 +/* 802A5870 002A27D0 FC 60 08 18 */ frsp f3, f1 +/* 802A5874 002A27D4 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A5878 002A27D8 C0 32 00 08 */ lfs f1, 8(r18) +/* 802A587C 002A27DC 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A5880 002A27E0 C0 12 00 00 */ lfs f0, 0(r18) +/* 802A5884 002A27E4 38 81 00 84 */ addi r4, r1, 0x84 +/* 802A5888 002A27E8 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 802A588C 002A27EC C0 50 00 04 */ lfs f2, 4(r16) +/* 802A5890 002A27F0 EC A3 00 72 */ fmuls f5, f3, f1 +/* 802A5894 002A27F4 C0 30 00 08 */ lfs f1, 8(r16) +/* 802A5898 002A27F8 EC 83 00 32 */ fmuls f4, f3, f0 +/* 802A589C 002A27FC C0 10 00 00 */ lfs f0, 0(r16) +/* 802A58A0 002A2800 ED 02 30 2A */ fadds f8, f2, f6 +/* 802A58A4 002A2804 C0 57 00 04 */ lfs f2, 4(r23) +/* 802A58A8 002A2808 EC E1 28 2A */ fadds f7, f1, f5 +/* 802A58AC 002A280C C0 37 00 08 */ lfs f1, 8(r23) +/* 802A58B0 002A2810 EC 60 20 2A */ fadds f3, f0, f4 +/* 802A58B4 002A2814 C0 17 00 00 */ lfs f0, 0(r23) +/* 802A58B8 002A2818 EC 48 10 28 */ fsubs f2, f8, f2 +/* 802A58BC 002A281C D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A58C0 002A2820 EC 27 08 28 */ fsubs f1, f7, f1 +/* 802A58C4 002A2824 3A C0 00 01 */ li r22, 1 +/* 802A58C8 002A2828 EC 03 00 28 */ fsubs f0, f3, f0 +/* 802A58CC 002A282C D0 C1 00 70 */ stfs f6, 0x70(r1) +/* 802A58D0 002A2830 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 802A58D4 002A2834 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 802A58D8 002A2838 D1 01 00 7C */ stfs f8, 0x7c(r1) +/* 802A58DC 002A283C D0 E1 00 80 */ stfs f7, 0x80(r1) +/* 802A58E0 002A2840 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 802A58E4 002A2844 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A58E8 002A2848 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802A58EC 002A284C 48 06 EF 65 */ bl AsNormalized__9CVector3fCFv +/* 802A58F0 002A2850 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 802A58F4 002A2854 38 00 00 00 */ li r0, 0 +/* 802A58F8 002A2858 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 802A58FC 002A285C 7E E4 BB 78 */ mr r4, r23 +/* 802A5900 002A2860 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 802A5904 002A2864 7E 25 8B 78 */ mr r5, r17 +/* 802A5908 002A2868 D0 41 01 A8 */ stfs f2, 0x1a8(r1) +/* 802A590C 002A286C 38 61 02 40 */ addi r3, r1, 0x240 +/* 802A5910 002A2870 38 C1 00 20 */ addi r6, r1, 0x20 +/* 802A5914 002A2874 38 E1 01 A8 */ addi r7, r1, 0x1a8 +/* 802A5918 002A2878 D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 802A591C 002A287C D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 802A5920 002A2880 81 1F 00 2C */ lwz r8, 0x2c(r31) +/* 802A5924 002A2884 81 3F 00 28 */ lwz r9, 0x28(r31) +/* 802A5928 002A2888 7D 08 C8 AE */ lbzx r8, r8, r25 +/* 802A592C 002A288C 55 08 10 3A */ slwi r8, r8, 2 +/* 802A5930 002A2890 7D 09 40 2E */ lwzx r8, r9, r8 +/* 802A5934 002A2894 91 01 00 24 */ stw r8, 0x24(r1) +/* 802A5938 002A2898 90 01 00 20 */ stw r0, 0x20(r1) +/* 802A593C 002A289C 48 02 8B 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A5940 002A28A0 38 00 00 01 */ li r0, 1 +/* 802A5944 002A28A4 80 61 02 40 */ lwz r3, 0x240(r1) +/* 802A5948 002A28A8 98 01 03 6C */ stb r0, 0x36c(r1) +/* 802A594C 002A28AC 80 01 02 44 */ lwz r0, 0x244(r1) +/* 802A5950 002A28B0 90 73 00 00 */ stw r3, 0(r19) +/* 802A5954 002A28B4 90 13 00 04 */ stw r0, 4(r19) +/* 802A5958 002A28B8 80 01 02 48 */ lwz r0, 0x248(r1) +/* 802A595C 002A28BC 90 13 00 08 */ stw r0, 8(r19) +/* 802A5960 002A28C0 80 61 02 4C */ lwz r3, 0x24c(r1) +/* 802A5964 002A28C4 80 01 02 50 */ lwz r0, 0x250(r1) +/* 802A5968 002A28C8 90 73 00 0C */ stw r3, 0xc(r19) +/* 802A596C 002A28CC 90 13 00 10 */ stw r0, 0x10(r19) +/* 802A5970 002A28D0 80 01 02 54 */ lwz r0, 0x254(r1) +/* 802A5974 002A28D4 90 13 00 14 */ stw r0, 0x14(r19) +/* 802A5978 002A28D8 80 61 02 58 */ lwz r3, 0x258(r1) +/* 802A597C 002A28DC 80 01 02 5C */ lwz r0, 0x25c(r1) +/* 802A5980 002A28E0 90 73 00 18 */ stw r3, 0x18(r19) +/* 802A5984 002A28E4 90 13 00 1C */ stw r0, 0x1c(r19) +/* 802A5988 002A28E8 80 01 02 60 */ lwz r0, 0x260(r1) +/* 802A598C 002A28EC 90 13 00 20 */ stw r0, 0x20(r19) +/* 802A5990 002A28F0 80 61 02 64 */ lwz r3, 0x264(r1) +/* 802A5994 002A28F4 80 01 02 68 */ lwz r0, 0x268(r1) +/* 802A5998 002A28F8 90 73 00 24 */ stw r3, 0x24(r19) +/* 802A599C 002A28FC 90 13 00 28 */ stw r0, 0x28(r19) +/* 802A59A0 002A2900 80 01 02 6C */ lwz r0, 0x26c(r1) +/* 802A59A4 002A2904 90 13 00 2C */ stw r0, 0x2c(r19) +/* 802A59A8 002A2908 88 01 02 70 */ lbz r0, 0x270(r1) +/* 802A59AC 002A290C 98 13 00 30 */ stb r0, 0x30(r19) +/* 802A59B0 002A2910 88 01 02 71 */ lbz r0, 0x271(r1) +/* 802A59B4 002A2914 98 13 00 31 */ stb r0, 0x31(r19) +/* 802A59B8 002A2918 C8 01 02 78 */ lfd f0, 0x278(r1) +/* 802A59BC 002A291C D8 13 00 38 */ stfd f0, 0x38(r19) +/* 802A59C0 002A2920 C8 01 02 80 */ lfd f0, 0x280(r1) +/* 802A59C4 002A2924 D8 13 00 40 */ stfd f0, 0x40(r19) +/* 802A59C8 002A2928 80 61 02 88 */ lwz r3, 0x288(r1) +/* 802A59CC 002A292C 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 802A59D0 002A2930 90 73 00 48 */ stw r3, 0x48(r19) +/* 802A59D4 002A2934 90 13 00 4C */ stw r0, 0x4c(r19) +/* 802A59D8 002A2938 80 01 02 90 */ lwz r0, 0x290(r1) +/* 802A59DC 002A293C 90 13 00 50 */ stw r0, 0x50(r19) +/* 802A59E0 002A2940 80 61 02 94 */ lwz r3, 0x294(r1) +/* 802A59E4 002A2944 80 01 02 98 */ lwz r0, 0x298(r1) +/* 802A59E8 002A2948 90 73 00 54 */ stw r3, 0x54(r19) +/* 802A59EC 002A294C 90 13 00 58 */ stw r0, 0x58(r19) +/* 802A59F0 002A2950 80 01 02 9C */ lwz r0, 0x29c(r1) +/* 802A59F4 002A2954 90 13 00 5C */ stw r0, 0x5c(r19) +/* 802A59F8 002A2958 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 802A59FC 002A295C D8 14 00 00 */ stfd f0, 0(r20) +/* 802A5A00 002A2960 48 00 00 18 */ b lbl_802A5A18 +lbl_802A5A04: +/* 802A5A04 002A2964 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A5A08 002A2968 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A5A0C 002A296C 57 20 08 3C */ slwi r0, r25, 1 +/* 802A5A10 002A2970 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A5A14 002A2974 7C 83 03 2E */ sthx r4, r3, r0 +lbl_802A5A18: +/* 802A5A18 002A2978 3A B5 00 01 */ addi r21, r21, 1 +/* 802A5A1C 002A297C 3B 18 00 01 */ addi r24, r24, 1 +/* 802A5A20 002A2980 2C 15 00 03 */ cmpwi r21, 3 +/* 802A5A24 002A2984 3A F7 00 0C */ addi r23, r23, 0xc +/* 802A5A28 002A2988 39 CE 00 02 */ addi r14, r14, 2 +/* 802A5A2C 002A298C 41 80 FD BC */ blt lbl_802A57E8 +/* 802A5A30 002A2990 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 802A5A34 002A2994 41 82 01 84 */ beq lbl_802A5BB8 +/* 802A5A38 002A2998 C8 74 00 00 */ lfd f3, 0(r20) +/* 802A5A3C 002A299C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A5A40 002A29A0 81 2F 00 00 */ lwz r9, 0(r15) +/* 802A5A44 002A29A4 38 81 00 60 */ addi r4, r1, 0x60 +/* 802A5A48 002A29A8 FC 60 18 18 */ frsp f3, f3 +/* 802A5A4C 002A29AC C0 12 00 00 */ lfs f0, 0(r18) +/* 802A5A50 002A29B0 C0 52 00 04 */ lfs f2, 4(r18) +/* 802A5A54 002A29B4 C0 32 00 08 */ lfs f1, 8(r18) +/* 802A5A58 002A29B8 EF E3 00 32 */ fmuls f31, f3, f0 +/* 802A5A5C 002A29BC C0 0F 00 00 */ lfs f0, 0(r15) +/* 802A5A60 002A29C0 EF C3 00 B2 */ fmuls f30, f3, f2 +/* 802A5A64 002A29C4 C0 4F 00 04 */ lfs f2, 4(r15) +/* 802A5A68 002A29C8 EF A3 00 72 */ fmuls f29, f3, f1 +/* 802A5A6C 002A29CC C0 2F 00 08 */ lfs f1, 8(r15) +/* 802A5A70 002A29D0 EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A5A74 002A29D4 81 0F 00 04 */ lwz r8, 4(r15) +/* 802A5A78 002A29D8 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A5A7C 002A29DC 80 EF 00 08 */ lwz r7, 8(r15) +/* 802A5A80 002A29E0 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A5A84 002A29E4 80 CF 00 0C */ lwz r6, 0xc(r15) +/* 802A5A88 002A29E8 80 AF 00 10 */ lwz r5, 0x10(r15) +/* 802A5A8C 002A29EC 80 0F 00 14 */ lwz r0, 0x14(r15) +/* 802A5A90 002A29F0 91 21 01 FC */ stw r9, 0x1fc(r1) +/* 802A5A94 002A29F4 91 01 02 00 */ stw r8, 0x200(r1) +/* 802A5A98 002A29F8 90 E1 02 04 */ stw r7, 0x204(r1) +/* 802A5A9C 002A29FC 90 C1 02 08 */ stw r6, 0x208(r1) +/* 802A5AA0 002A2A00 90 A1 02 0C */ stw r5, 0x20c(r1) +/* 802A5AA4 002A2A04 90 01 02 10 */ stw r0, 0x210(r1) +/* 802A5AA8 002A2A08 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 802A5AAC 002A2A0C D0 41 00 64 */ stfs f2, 0x64(r1) +/* 802A5AB0 002A2A10 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 802A5AB4 002A2A14 48 09 20 55 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A5AB8 002A2A18 C0 4F 00 10 */ lfs f2, 0x10(r15) +/* 802A5ABC 002A2A1C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 802A5AC0 002A2A20 C0 2F 00 14 */ lfs f1, 0x14(r15) +/* 802A5AC4 002A2A24 38 81 00 54 */ addi r4, r1, 0x54 +/* 802A5AC8 002A2A28 C0 0F 00 0C */ lfs f0, 0xc(r15) +/* 802A5ACC 002A2A2C EC 42 F0 2A */ fadds f2, f2, f30 +/* 802A5AD0 002A2A30 EC 21 E8 2A */ fadds f1, f1, f29 +/* 802A5AD4 002A2A34 EC 00 F8 2A */ fadds f0, f0, f31 +/* 802A5AD8 002A2A38 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A5ADC 002A2A3C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 802A5AE0 002A2A40 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 802A5AE4 002A2A44 48 09 20 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A5AE8 002A2A48 38 61 00 48 */ addi r3, r1, 0x48 +/* 802A5AEC 002A2A4C 38 81 01 FC */ addi r4, r1, 0x1fc +/* 802A5AF0 002A2A50 48 09 1B 1D */ bl GetCenterPoint__6CAABoxCFv +/* 802A5AF4 002A2A54 C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 802A5AF8 002A2A58 C0 41 02 00 */ lfs f2, 0x200(r1) +/* 802A5AFC 002A2A5C C0 21 02 10 */ lfs f1, 0x210(r1) +/* 802A5B00 002A2A60 C0 01 02 04 */ lfs f0, 0x204(r1) +/* 802A5B04 002A2A64 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A5B08 002A2A68 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A5B0C 002A2A6C EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A5B10 002A2A70 C0 21 02 08 */ lfs f1, 0x208(r1) +/* 802A5B14 002A2A74 C0 01 01 FC */ lfs f0, 0x1fc(r1) +/* 802A5B18 002A2A78 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A5B1C 002A2A7C C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A5B20 002A2A80 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A5B24 002A2A84 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A5B28 002A2A88 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A5B2C 002A2A8C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A5B30 002A2A90 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A5B34 002A2A94 D0 61 01 F0 */ stfs f3, 0x1f0(r1) +/* 802A5B38 002A2A98 D0 41 01 F4 */ stfs f2, 0x1f4(r1) +/* 802A5B3C 002A2A9C D0 21 01 F8 */ stfs f1, 0x1f8(r1) +/* 802A5B40 002A2AA0 D0 01 01 E4 */ stfs f0, 0x1e4(r1) +/* 802A5B44 002A2AA4 D0 C1 01 E8 */ stfs f6, 0x1e8(r1) +/* 802A5B48 002A2AA8 D0 A1 01 EC */ stfs f5, 0x1ec(r1) +/* 802A5B4C 002A2AAC 48 00 00 6C */ b lbl_802A5BB8 +lbl_802A5B50: +/* 802A5B50 002A2AB0 7F E3 FB 78 */ mr r3, r31 +/* 802A5B54 002A2AB4 7D C4 73 78 */ mr r4, r14 +/* 802A5B58 002A2AB8 4B FF CE 19 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs +/* 802A5B5C 002A2ABC A0 03 00 00 */ lhz r0, 0(r3) +/* 802A5B60 002A2AC0 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha +/* 802A5B64 002A2AC4 A1 2D A5 D0 */ lhz r9, lbl_805A9190@sda21(r13) +/* 802A5B68 002A2AC8 3C 80 80 57 */ lis r4, lbl_80572BAC@ha +/* 802A5B6C 002A2ACC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A5B70 002A2AD0 39 05 BB AC */ addi r8, r5, lbl_8058BBAC@l +/* 802A5B74 002A2AD4 7D 28 03 2E */ sthx r9, r8, r0 +/* 802A5B78 002A2AD8 38 A4 2B AC */ addi r5, r4, lbl_80572BAC@l +/* 802A5B7C 002A2ADC A0 01 00 38 */ lhz r0, 0x38(r1) +/* 802A5B80 002A2AE0 A0 E3 00 02 */ lhz r7, 2(r3) +/* 802A5B84 002A2AE4 A0 81 00 3A */ lhz r4, 0x3a(r1) +/* 802A5B88 002A2AE8 54 06 08 3C */ slwi r6, r0, 1 +/* 802A5B8C 002A2AEC 54 E7 08 3C */ slwi r7, r7, 1 +/* 802A5B90 002A2AF0 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 802A5B94 002A2AF4 7D 28 3B 2E */ sthx r9, r8, r7 +/* 802A5B98 002A2AF8 54 84 08 3C */ slwi r4, r4, 1 +/* 802A5B9C 002A2AFC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A5BA0 002A2B00 A0 63 00 04 */ lhz r3, 4(r3) +/* 802A5BA4 002A2B04 7D 25 33 2E */ sthx r9, r5, r6 +/* 802A5BA8 002A2B08 54 63 08 3C */ slwi r3, r3, 1 +/* 802A5BAC 002A2B0C 7D 25 23 2E */ sthx r9, r5, r4 +/* 802A5BB0 002A2B10 7D 28 1B 2E */ sthx r9, r8, r3 +/* 802A5BB4 002A2B14 7D 25 03 2E */ sthx r9, r5, r0 +lbl_802A5BB8: +/* 802A5BB8 002A2B18 80 61 03 70 */ lwz r3, 0x370(r1) +/* 802A5BBC 002A2B1C 38 63 00 02 */ addi r3, r3, 2 +/* 802A5BC0 002A2B20 90 61 03 70 */ stw r3, 0x370(r1) +/* 802A5BC4 002A2B24 80 61 03 60 */ lwz r3, 0x360(r1) +/* 802A5BC8 002A2B28 38 63 00 01 */ addi r3, r3, 1 +/* 802A5BCC 002A2B2C 90 61 03 60 */ stw r3, 0x360(r1) +lbl_802A5BD0: +/* 802A5BD0 002A2B30 80 61 03 60 */ lwz r3, 0x360(r1) +/* 802A5BD4 002A2B34 80 01 03 64 */ lwz r0, 0x364(r1) +/* 802A5BD8 002A2B38 7C 03 00 00 */ cmpw r3, r0 +/* 802A5BDC 002A2B3C 41 80 F2 60 */ blt lbl_802A4E3C +lbl_802A5BE0: +/* 802A5BE0 002A2B40 80 61 03 74 */ lwz r3, 0x374(r1) +/* 802A5BE4 002A2B44 38 63 00 24 */ addi r3, r3, 0x24 +/* 802A5BE8 002A2B48 90 61 03 74 */ stw r3, 0x374(r1) +/* 802A5BEC 002A2B4C 80 61 03 68 */ lwz r3, 0x368(r1) +/* 802A5BF0 002A2B50 38 63 00 01 */ addi r3, r3, 1 +/* 802A5BF4 002A2B54 90 61 03 68 */ stw r3, 0x368(r1) +lbl_802A5BF8: +/* 802A5BF8 002A2B58 80 61 00 08 */ lwz r3, 8(r1) +/* 802A5BFC 002A2B5C 80 01 03 68 */ lwz r0, 0x368(r1) +/* 802A5C00 002A2B60 80 63 00 04 */ lwz r3, 4(r3) +/* 802A5C04 002A2B64 7C 00 18 00 */ cmpw r0, r3 +/* 802A5C08 002A2B68 41 80 F1 E0 */ blt lbl_802A4DE8 +/* 802A5C0C 002A2B6C 88 61 03 6C */ lbz r3, 0x36c(r1) +/* 802A5C10 002A2B70 E3 E1 04 A8 */ psq_l f31, 1192(r1), 0, qr0 +/* 802A5C14 002A2B74 CB E1 04 A0 */ lfd f31, 0x4a0(r1) +/* 802A5C18 002A2B78 E3 C1 04 98 */ psq_l f30, 1176(r1), 0, qr0 +/* 802A5C1C 002A2B7C CB C1 04 90 */ lfd f30, 0x490(r1) +/* 802A5C20 002A2B80 E3 A1 04 88 */ psq_l f29, 1160(r1), 0, qr0 +/* 802A5C24 002A2B84 CB A1 04 80 */ lfd f29, 0x480(r1) +/* 802A5C28 002A2B88 E3 81 04 78 */ psq_l f28, 1144(r1), 0, qr0 +/* 802A5C2C 002A2B8C CB 81 04 70 */ lfd f28, 0x470(r1) +/* 802A5C30 002A2B90 E3 61 04 68 */ psq_l f27, 1128(r1), 0, qr0 +/* 802A5C34 002A2B94 CB 61 04 60 */ lfd f27, 0x460(r1) +/* 802A5C38 002A2B98 E3 41 04 58 */ psq_l f26, 1112(r1), 0, qr0 +/* 802A5C3C 002A2B9C CB 41 04 50 */ lfd f26, 0x450(r1) +/* 802A5C40 002A2BA0 E3 21 04 48 */ psq_l f25, 1096(r1), 0, qr0 +/* 802A5C44 002A2BA4 CB 21 04 40 */ lfd f25, 0x440(r1) +/* 802A5C48 002A2BA8 E3 01 04 38 */ psq_l f24, 1080(r1), 0, qr0 +/* 802A5C4C 002A2BAC CB 01 04 30 */ lfd f24, 0x430(r1) +/* 802A5C50 002A2BB0 E2 E1 04 28 */ psq_l f23, 1064(r1), 0, qr0 +/* 802A5C54 002A2BB4 CA E1 04 20 */ lfd f23, 0x420(r1) +/* 802A5C58 002A2BB8 E2 C1 04 18 */ psq_l f22, 1048(r1), 0, qr0 +/* 802A5C5C 002A2BBC CA C1 04 10 */ lfd f22, 0x410(r1) +/* 802A5C60 002A2BC0 E2 A1 04 08 */ psq_l f21, 1032(r1), 0, qr0 +/* 802A5C64 002A2BC4 CA A1 04 00 */ lfd f21, 0x400(r1) +/* 802A5C68 002A2BC8 E2 81 03 F8 */ psq_l f20, 1016(r1), 0, qr0 +/* 802A5C6C 002A2BCC CA 81 03 F0 */ lfd f20, 0x3f0(r1) +/* 802A5C70 002A2BD0 E2 61 03 E8 */ psq_l f19, 1000(r1), 0, qr0 +/* 802A5C74 002A2BD4 CA 61 03 E0 */ lfd f19, 0x3e0(r1) +/* 802A5C78 002A2BD8 E2 41 03 D8 */ psq_l f18, 984(r1), 0, qr0 +/* 802A5C7C 002A2BDC CA 41 03 D0 */ lfd f18, 0x3d0(r1) +/* 802A5C80 002A2BE0 B9 C1 03 88 */ lmw r14, 0x388(r1) +/* 802A5C84 002A2BE4 80 01 04 B4 */ lwz r0, 0x4b4(r1) +/* 802A5C88 002A2BE8 7C 08 03 A6 */ mtlr r0 +/* 802A5C8C 002A2BEC 38 21 04 B0 */ addi r1, r1, 0x4b0 +/* 802A5C90 002A2BF0 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter +SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter: +/* 802A5C94 002A2BF4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 802A5C98 002A2BF8 7C 08 02 A6 */ mflr r0 +/* 802A5C9C 002A2BFC 90 01 00 44 */ stw r0, 0x44(r1) +/* 802A5CA0 002A2C00 80 03 00 18 */ lwz r0, 0x18(r3) +/* 802A5CA4 002A2C04 80 E3 00 20 */ lwz r7, 0x20(r3) +/* 802A5CA8 002A2C08 C0 A3 00 00 */ lfs f5, 0(r3) +/* 802A5CAC 002A2C0C C0 83 00 04 */ lfs f4, 4(r3) +/* 802A5CB0 002A2C10 C0 63 00 08 */ lfs f3, 8(r3) +/* 802A5CB4 002A2C14 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 802A5CB8 002A2C18 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 802A5CBC 002A2C1C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 802A5CC0 002A2C20 90 81 00 08 */ stw r4, 8(r1) +/* 802A5CC4 002A2C24 38 81 00 08 */ addi r4, r1, 8 +/* 802A5CC8 002A2C28 90 61 00 30 */ stw r3, 0x30(r1) +/* 802A5CCC 002A2C2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A5CD0 002A2C30 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A5CD4 002A2C34 90 C1 00 10 */ stw r6, 0x10(r1) +/* 802A5CD8 002A2C38 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802A5CDC 002A2C3C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 802A5CE0 002A2C40 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 802A5CE4 002A2C44 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A5CE8 002A2C48 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 802A5CEC 002A2C4C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 802A5CF0 002A2C50 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 802A5CF4 002A2C54 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A5CF8 002A2C58 48 00 01 1D */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +/* 802A5CFC 002A2C5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 802A5D00 002A2C60 7C 08 03 A6 */ mtlr r0 +/* 802A5D04 002A2C64 38 21 00 40 */ addi r1, r1, 0x40 +/* 802A5D08 002A2C68 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter +SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter: +/* 802A5D0C 002A2C6C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A5D10 002A2C70 7C 08 02 A6 */ mflr r0 +/* 802A5D14 002A2C74 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A5D18 002A2C78 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 802A5D1C 002A2C7C 7C 77 1B 78 */ mr r23, r3 +/* 802A5D20 002A2C80 7C 98 23 78 */ mr r24, r4 +/* 802A5D24 002A2C84 7C B9 2B 78 */ mr r25, r5 +/* 802A5D28 002A2C88 7C DA 33 78 */ mr r26, r6 +/* 802A5D2C 002A2C8C 3B F7 00 08 */ addi r31, r23, 8 +/* 802A5D30 002A2C90 3B C0 00 00 */ li r30, 0 +/* 802A5D34 002A2C94 48 00 00 BC */ b lbl_802A5DF0 +lbl_802A5D38: +/* 802A5D38 002A2C98 7F 03 C3 78 */ mr r3, r24 +/* 802A5D3C 002A2C9C 7F E4 FB 78 */ mr r4, r31 +/* 802A5D40 002A2CA0 48 09 1E 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A5D44 002A2CA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5D48 002A2CA8 41 82 00 A0 */ beq lbl_802A5DE8 +/* 802A5D4C 002A2CAC 7F E4 FB 78 */ mr r4, r31 +/* 802A5D50 002A2CB0 38 61 00 08 */ addi r3, r1, 8 +/* 802A5D54 002A2CB4 4B FF CF E9 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A5D58 002A2CB8 82 A1 00 08 */ lwz r21, 8(r1) +/* 802A5D5C 002A2CBC 3B 61 00 18 */ addi r27, r1, 0x18 +/* 802A5D60 002A2CC0 82 DF 00 1C */ lwz r22, 0x1c(r31) +/* 802A5D64 002A2CC4 3B 80 00 00 */ li r28, 0 +/* 802A5D68 002A2CC8 A3 B5 00 18 */ lhz r29, 0x18(r21) +/* 802A5D6C 002A2CCC 48 00 00 74 */ b lbl_802A5DE0 +lbl_802A5D70: +/* 802A5D70 002A2CD0 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A5D74 002A2CD4 7E C4 B3 78 */ mr r4, r22 +/* 802A5D78 002A2CD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A5D7C 002A2CDC 38 05 00 01 */ addi r0, r5, 1 +/* 802A5D80 002A2CE0 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A5D84 002A2CE4 A0 B5 00 1A */ lhz r5, 0x1a(r21) +/* 802A5D88 002A2CE8 4B FF CC AD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A5D8C 002A2CEC 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A5D90 002A2CF0 38 00 00 00 */ li r0, 0 +/* 802A5D94 002A2CF4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A5D98 002A2CF8 7F 43 D3 78 */ mr r3, r26 +/* 802A5D9C 002A2CFC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A5DA0 002A2D00 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A5DA4 002A2D04 48 02 F5 A9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A5DA8 002A2D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5DAC 002A2D0C 41 82 00 2C */ beq lbl_802A5DD8 +/* 802A5DB0 002A2D10 7F 23 CB 78 */ mr r3, r25 +/* 802A5DB4 002A2D14 7F 64 DB 78 */ mr r4, r27 +/* 802A5DB8 002A2D18 38 BB 00 0C */ addi r5, r27, 0xc +/* 802A5DBC 002A2D1C 38 DB 00 18 */ addi r6, r27, 0x18 +/* 802A5DC0 002A2D20 48 02 A6 81 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A5DC4 002A2D24 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5DC8 002A2D28 28 00 00 01 */ cmplwi r0, 1 +/* 802A5DCC 002A2D2C 40 82 00 0C */ bne lbl_802A5DD8 +/* 802A5DD0 002A2D30 38 60 00 01 */ li r3, 1 +/* 802A5DD4 002A2D34 48 00 00 2C */ b lbl_802A5E00 +lbl_802A5DD8: +/* 802A5DD8 002A2D38 3A B5 00 02 */ addi r21, r21, 2 +/* 802A5DDC 002A2D3C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_802A5DE0: +/* 802A5DE0 002A2D40 7C 1C E8 00 */ cmpw r28, r29 +/* 802A5DE4 002A2D44 41 80 FF 8C */ blt lbl_802A5D70 +lbl_802A5DE8: +/* 802A5DE8 002A2D48 3B FF 00 24 */ addi r31, r31, 0x24 +/* 802A5DEC 002A2D4C 3B DE 00 01 */ addi r30, r30, 1 +lbl_802A5DF0: +/* 802A5DF0 002A2D50 80 17 00 04 */ lwz r0, 4(r23) +/* 802A5DF4 002A2D54 7C 1E 00 00 */ cmpw r30, r0 +/* 802A5DF8 002A2D58 41 80 FF 40 */ blt lbl_802A5D38 +/* 802A5DFC 002A2D5C 38 60 00 00 */ li r3, 0 +lbl_802A5E00: +/* 802A5E00 002A2D60 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 802A5E04 002A2D64 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A5E08 002A2D68 7C 08 03 A6 */ mtlr r0 +/* 802A5E0C 002A2D6C 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A5E10 002A2D70 4E 80 00 20 */ blr + +.global SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache: +/* 802A5E14 002A2D74 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A5E18 002A2D78 7C 08 02 A6 */ mflr r0 +/* 802A5E1C 002A2D7C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A5E20 002A2D80 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802A5E24 002A2D84 7C 7C 1B 78 */ mr r28, r3 +/* 802A5E28 002A2D88 7C 9D 23 78 */ mr r29, r4 +/* 802A5E2C 002A2D8C 3B C0 00 00 */ li r30, 0 +/* 802A5E30 002A2D90 3B E0 00 00 */ li r31, 0 +lbl_802A5E34: +/* 802A5E34 002A2D94 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A5E38 002A2D98 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A5E3C 002A2D9C 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A5E40 002A2DA0 54 1A 07 BF */ clrlwi. r26, r0, 0x1e +/* 802A5E44 002A2DA4 41 82 01 38 */ beq lbl_802A5F7C +/* 802A5E48 002A2DA8 7F 84 E3 78 */ mr r4, r28 +/* 802A5E4C 002A2DAC 7F C5 F3 78 */ mr r5, r30 +/* 802A5E50 002A2DB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A5E54 002A2DB4 4B FF CF 0D */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A5E58 002A2DB8 C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802A5E5C 002A2DBC 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A5E60 002A2DC0 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802A5E64 002A2DC4 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A5E68 002A2DC8 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A5E6C 002A2DCC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A5E70 002A2DD0 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802A5E74 002A2DD4 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802A5E78 002A2DD8 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802A5E7C 002A2DDC 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A5E80 002A2DE0 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A5E84 002A2DE4 80 7D 00 00 */ lwz r3, 0(r29) +/* 802A5E88 002A2DE8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802A5E8C 002A2DEC D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A5E90 002A2DF0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A5E94 002A2DF4 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802A5E98 002A2DF8 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802A5E9C 002A2DFC 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802A5EA0 002A2E00 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802A5EA4 002A2E04 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A5EA8 002A2E08 48 09 1C DD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A5EAC 002A2E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5EB0 002A2E10 41 82 00 CC */ beq lbl_802A5F7C +/* 802A5EB4 002A2E14 2C 1A 00 02 */ cmpwi r26, 2 +/* 802A5EB8 002A2E18 40 82 00 A4 */ bne lbl_802A5F5C +/* 802A5EBC 002A2E1C 38 61 00 08 */ addi r3, r1, 8 +/* 802A5EC0 002A2E20 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A5EC4 002A2E24 4B FF CE 79 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A5EC8 002A2E28 83 41 00 08 */ lwz r26, 8(r1) +/* 802A5ECC 002A2E2C 3A E1 00 18 */ addi r23, r1, 0x18 +/* 802A5ED0 002A2E30 83 61 00 80 */ lwz r27, 0x80(r1) +/* 802A5ED4 002A2E34 3B 00 00 00 */ li r24, 0 +/* 802A5ED8 002A2E38 A3 3A 00 18 */ lhz r25, 0x18(r26) +/* 802A5EDC 002A2E3C 48 00 00 74 */ b lbl_802A5F50 +lbl_802A5EE0: +/* 802A5EE0 002A2E40 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A5EE4 002A2E44 7F 64 DB 78 */ mr r4, r27 +/* 802A5EE8 002A2E48 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A5EEC 002A2E4C 38 05 00 01 */ addi r0, r5, 1 +/* 802A5EF0 002A2E50 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A5EF4 002A2E54 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A5EF8 002A2E58 4B FF CB 3D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A5EFC 002A2E5C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A5F00 002A2E60 38 00 00 00 */ li r0, 0 +/* 802A5F04 002A2E64 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A5F08 002A2E68 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A5F0C 002A2E6C 80 7D 00 08 */ lwz r3, 8(r29) +/* 802A5F10 002A2E70 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A5F14 002A2E74 48 02 F4 39 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A5F18 002A2E78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A5F1C 002A2E7C 41 82 00 2C */ beq lbl_802A5F48 +/* 802A5F20 002A2E80 80 7D 00 04 */ lwz r3, 4(r29) +/* 802A5F24 002A2E84 7E E4 BB 78 */ mr r4, r23 +/* 802A5F28 002A2E88 38 B7 00 0C */ addi r5, r23, 0xc +/* 802A5F2C 002A2E8C 38 D7 00 18 */ addi r6, r23, 0x18 +/* 802A5F30 002A2E90 48 02 A5 11 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A5F34 002A2E94 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5F38 002A2E98 28 00 00 01 */ cmplwi r0, 1 +/* 802A5F3C 002A2E9C 40 82 00 0C */ bne lbl_802A5F48 +/* 802A5F40 002A2EA0 38 60 00 01 */ li r3, 1 +/* 802A5F44 002A2EA4 48 00 00 4C */ b lbl_802A5F90 +lbl_802A5F48: +/* 802A5F48 002A2EA8 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A5F4C 002A2EAC 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A5F50: +/* 802A5F50 002A2EB0 7C 18 C8 00 */ cmpw r24, r25 +/* 802A5F54 002A2EB4 41 80 FF 8C */ blt lbl_802A5EE0 +/* 802A5F58 002A2EB8 48 00 00 24 */ b lbl_802A5F7C +lbl_802A5F5C: +/* 802A5F5C 002A2EBC 7F A4 EB 78 */ mr r4, r29 +/* 802A5F60 002A2EC0 38 61 00 64 */ addi r3, r1, 0x64 +/* 802A5F64 002A2EC4 4B FF FE B1 */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache +/* 802A5F68 002A2EC8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A5F6C 002A2ECC 28 00 00 01 */ cmplwi r0, 1 +/* 802A5F70 002A2ED0 40 82 00 0C */ bne lbl_802A5F7C +/* 802A5F74 002A2ED4 38 60 00 01 */ li r3, 1 +/* 802A5F78 002A2ED8 48 00 00 18 */ b lbl_802A5F90 +lbl_802A5F7C: +/* 802A5F7C 002A2EDC 3B DE 00 01 */ addi r30, r30, 1 +/* 802A5F80 002A2EE0 3B FF 00 02 */ addi r31, r31, 2 +/* 802A5F84 002A2EE4 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A5F88 002A2EE8 41 80 FE AC */ blt lbl_802A5E34 +/* 802A5F8C 002A2EEC 38 60 00 00 */ li r3, 0 +lbl_802A5F90: +/* 802A5F90 002A2EF0 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802A5F94 002A2EF4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A5F98 002A2EF8 7C 08 03 A6 */ mtlr r0 +/* 802A5F9C 002A2EFC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A5FA0 002A2F00 4E 80 00 20 */ blr + +.global SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802A5FA4 002A2F04 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802A5FA8 002A2F08 7C 08 02 A6 */ mflr r0 +/* 802A5FAC 002A2F0C 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A5FB0 002A2F10 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 802A5FB4 002A2F14 7C 7F 1B 78 */ mr r31, r3 +/* 802A5FB8 002A2F18 90 81 00 08 */ stw r4, 8(r1) +/* 802A5FBC 002A2F1C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 802A5FC0 002A2F20 90 E1 00 10 */ stw r7, 0x10(r1) +/* 802A5FC4 002A2F24 90 C1 00 14 */ stw r6, 0x14(r1) +/* 802A5FC8 002A2F28 91 01 00 18 */ stw r8, 0x18(r1) +/* 802A5FCC 002A2F2C 48 00 10 75 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A5FD0 002A2F30 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A5FD4 002A2F34 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A5FD8 002A2F38 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A5FDC 002A2F3C 38 81 00 08 */ addi r4, r1, 8 +/* 802A5FE0 002A2F40 C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A5FE4 002A2F44 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A5FE8 002A2F48 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A5FEC 002A2F4C C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A5FF0 002A2F50 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A5FF4 002A2F54 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A5FF8 002A2F58 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 802A5FFC 002A2F5C D0 81 00 20 */ stfs f4, 0x20(r1) +/* 802A6000 002A2F60 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 802A6004 002A2F64 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A6008 002A2F68 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 802A600C 002A2F6C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 802A6010 002A2F70 90 A1 00 34 */ stw r5, 0x34(r1) +/* 802A6014 002A2F74 93 E1 00 38 */ stw r31, 0x38(r1) +/* 802A6018 002A2F78 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802A601C 002A2F7C 48 00 01 B1 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +/* 802A6020 002A2F80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802A6024 002A2F84 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 802A6028 002A2F88 7C 08 03 A6 */ mtlr r0 +/* 802A602C 002A2F8C 38 21 00 50 */ addi r1, r1, 0x50 +/* 802A6030 002A2F90 4E 80 00 20 */ blr + +.global SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList +SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: +/* 802A6034 002A2F94 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802A6038 002A2F98 7C 08 02 A6 */ mflr r0 +/* 802A603C 002A2F9C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A6040 002A2FA0 BE 21 00 C4 */ stmw r17, 0xc4(r1) +/* 802A6044 002A2FA4 7C 7A 1B 78 */ mr r26, r3 +/* 802A6048 002A2FA8 7C 9B 23 78 */ mr r27, r4 +/* 802A604C 002A2FAC 7C BC 2B 78 */ mr r28, r5 +/* 802A6050 002A2FB0 7C DD 33 78 */ mr r29, r6 +/* 802A6054 002A2FB4 7C FE 3B 78 */ mr r30, r7 +/* 802A6058 002A2FB8 7D 1F 43 78 */ mr r31, r8 +/* 802A605C 002A2FBC 48 00 0F E5 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6060 002A2FC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 802A6064 002A2FC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 802A6068 002A2FC8 3A FA 00 08 */ addi r23, r26, 8 +/* 802A606C 002A2FCC 3A A0 00 00 */ li r21, 0 +/* 802A6070 002A2FD0 C0 23 00 04 */ lfs f1, 4(r3) +/* 802A6074 002A2FD4 3A 80 00 00 */ li r20, 0 +/* 802A6078 002A2FD8 C0 43 00 08 */ lfs f2, 8(r3) +/* 802A607C 002A2FDC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A6080 002A2FE0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A6084 002A2FE4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A6088 002A2FE8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802A608C 002A2FEC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6090 002A2FF0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 802A6094 002A2FF4 48 00 01 14 */ b lbl_802A61A8 +lbl_802A6098: +/* 802A6098 002A2FF8 7F 63 DB 78 */ mr r3, r27 +/* 802A609C 002A2FFC 7E E4 BB 78 */ mr r4, r23 +/* 802A60A0 002A3000 48 09 1A E5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A60A4 002A3004 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A60A8 002A3008 41 82 00 F8 */ beq lbl_802A61A0 +/* 802A60AC 002A300C 7E E4 BB 78 */ mr r4, r23 +/* 802A60B0 002A3010 38 61 00 08 */ addi r3, r1, 8 +/* 802A60B4 002A3014 4B FF CC 89 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A60B8 002A3018 82 C1 00 08 */ lwz r22, 8(r1) +/* 802A60BC 002A301C 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A60C0 002A3020 83 17 00 1C */ lwz r24, 0x1c(r23) +/* 802A60C4 002A3024 3B 23 7B AC */ addi r25, r3, lbl_80597BAC@l +/* 802A60C8 002A3028 A2 76 00 18 */ lhz r19, 0x18(r22) +/* 802A60CC 002A302C 3A 40 00 00 */ li r18, 0 +/* 802A60D0 002A3030 48 00 00 C8 */ b lbl_802A6198 +lbl_802A60D4: +/* 802A60D4 002A3034 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A60D8 002A3038 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A60DC 002A303C 38 03 00 01 */ addi r0, r3, 1 +/* 802A60E0 002A3040 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A60E4 002A3044 A0 B6 00 1A */ lhz r5, 0x1a(r22) +/* 802A60E8 002A3048 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A60EC 002A304C 7C 19 1A 2E */ lhzx r0, r25, r3 +/* 802A60F0 002A3050 7C 04 00 40 */ cmplw r4, r0 +/* 802A60F4 002A3054 40 82 00 14 */ bne lbl_802A6108 +/* 802A60F8 002A3058 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A60FC 002A305C 38 03 00 01 */ addi r0, r3, 1 +/* 802A6100 002A3060 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6104 002A3064 48 00 00 8C */ b lbl_802A6190 +lbl_802A6108: +/* 802A6108 002A3068 7C 99 1B 2E */ sthx r4, r25, r3 +/* 802A610C 002A306C 7F 04 C3 78 */ mr r4, r24 +/* 802A6110 002A3070 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A6114 002A3074 4B FF C9 21 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6118 002A3078 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 802A611C 002A307C 38 00 00 00 */ li r0, 0 +/* 802A6120 002A3080 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6124 002A3084 7F C3 F3 78 */ mr r3, r30 +/* 802A6128 002A3088 3A 21 00 30 */ addi r17, r1, 0x30 +/* 802A612C 002A308C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6130 002A3090 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6134 002A3094 48 02 F2 19 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6138 002A3098 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A613C 002A309C 41 82 00 54 */ beq lbl_802A6190 +/* 802A6140 002A30A0 7F 83 E3 78 */ mr r3, r28 +/* 802A6144 002A30A4 7E 24 8B 78 */ mr r4, r17 +/* 802A6148 002A30A8 38 B1 00 0C */ addi r5, r17, 0xc +/* 802A614C 002A30AC 38 D1 00 18 */ addi r6, r17, 0x18 +/* 802A6150 002A30B0 38 E1 00 24 */ addi r7, r1, 0x24 +/* 802A6154 002A30B4 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6158 002A30B8 48 02 A0 F9 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802A615C 002A30BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6160 002A30C0 41 82 00 30 */ beq lbl_802A6190 +/* 802A6164 002A30C4 7F A5 EB 78 */ mr r5, r29 +/* 802A6168 002A30C8 38 61 00 58 */ addi r3, r1, 0x58 +/* 802A616C 002A30CC 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A6170 002A30D0 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6174 002A30D4 38 E1 00 18 */ addi r7, r1, 0x18 +/* 802A6178 002A30D8 48 02 82 D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A617C 002A30DC 7C 64 1B 78 */ mr r4, r3 +/* 802A6180 002A30E0 7F E3 FB 78 */ mr r3, r31 +/* 802A6184 002A30E4 38 A0 00 00 */ li r5, 0 +/* 802A6188 002A30E8 4B ED F4 99 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A618C 002A30EC 3A A0 00 01 */ li r21, 1 +lbl_802A6190: +/* 802A6190 002A30F0 3A D6 00 02 */ addi r22, r22, 2 +/* 802A6194 002A30F4 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A6198: +/* 802A6198 002A30F8 7C 12 98 00 */ cmpw r18, r19 +/* 802A619C 002A30FC 41 80 FF 38 */ blt lbl_802A60D4 +lbl_802A61A0: +/* 802A61A0 002A3100 3A F7 00 24 */ addi r23, r23, 0x24 +/* 802A61A4 002A3104 3A 94 00 01 */ addi r20, r20, 1 +lbl_802A61A8: +/* 802A61A8 002A3108 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A61AC 002A310C 7C 14 00 00 */ cmpw r20, r0 +/* 802A61B0 002A3110 41 80 FE E8 */ blt lbl_802A6098 +/* 802A61B4 002A3114 7E A3 AB 78 */ mr r3, r21 +/* 802A61B8 002A3118 BA 21 00 C4 */ lmw r17, 0xc4(r1) +/* 802A61BC 002A311C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A61C0 002A3120 7C 08 03 A6 */ mtlr r0 +/* 802A61C4 002A3124 38 21 01 00 */ addi r1, r1, 0x100 +/* 802A61C8 002A3128 4E 80 00 20 */ blr + +.global SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache: +/* 802A61CC 002A312C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 802A61D0 002A3130 7C 08 02 A6 */ mflr r0 +/* 802A61D4 002A3134 3C A0 80 5A */ lis r5, skZero3f@ha +/* 802A61D8 002A3138 90 01 01 34 */ stw r0, 0x134(r1) +/* 802A61DC 002A313C BE A1 01 04 */ stmw r21, 0x104(r1) +/* 802A61E0 002A3140 7C 76 1B 78 */ mr r22, r3 +/* 802A61E4 002A3144 38 65 66 A0 */ addi r3, r5, skZero3f@l +/* 802A61E8 002A3148 7C 97 23 78 */ mr r23, r4 +/* 802A61EC 002A314C 3B 60 00 00 */ li r27, 0 +/* 802A61F0 002A3150 3B 40 00 00 */ li r26, 0 +/* 802A61F4 002A3154 3B A0 00 00 */ li r29, 0 +/* 802A61F8 002A3158 C0 03 00 00 */ lfs f0, 0(r3) +/* 802A61FC 002A315C C0 23 00 04 */ lfs f1, 4(r3) +/* 802A6200 002A3160 C0 43 00 08 */ lfs f2, 8(r3) +/* 802A6204 002A3164 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A6208 002A3168 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A620C 002A316C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A6210 002A3170 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 802A6214 002A3174 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6218 002A3178 D0 41 00 20 */ stfs f2, 0x20(r1) +lbl_802A621C: +/* 802A621C 002A317C 80 76 00 18 */ lwz r3, 0x18(r22) +/* 802A6220 002A3180 A0 03 00 00 */ lhz r0, 0(r3) +/* 802A6224 002A3184 7C 00 EE 30 */ sraw r0, r0, r29 +/* 802A6228 002A3188 54 18 07 BF */ clrlwi. r24, r0, 0x1e +/* 802A622C 002A318C 41 82 01 8C */ beq lbl_802A63B8 +/* 802A6230 002A3190 7E C4 B3 78 */ mr r4, r22 +/* 802A6234 002A3194 7F 45 D3 78 */ mr r5, r26 +/* 802A6238 002A3198 38 61 00 58 */ addi r3, r1, 0x58 +/* 802A623C 002A319C 4B FF CB 25 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A6240 002A31A0 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 802A6244 002A31A4 38 81 00 7C */ addi r4, r1, 0x7c +/* 802A6248 002A31A8 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 802A624C 002A31AC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 802A6250 002A31B0 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 802A6254 002A31B4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 802A6258 002A31B8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 802A625C 002A31BC 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 802A6260 002A31C0 80 61 00 74 */ lwz r3, 0x74(r1) +/* 802A6264 002A31C4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 802A6268 002A31C8 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 802A626C 002A31CC D0 81 00 80 */ stfs f4, 0x80(r1) +/* 802A6270 002A31D0 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A6274 002A31D4 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 802A6278 002A31D8 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 802A627C 002A31DC D0 01 00 90 */ stfs f0, 0x90(r1) +/* 802A6280 002A31E0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 802A6284 002A31E4 90 61 00 98 */ stw r3, 0x98(r1) +/* 802A6288 002A31E8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 802A628C 002A31EC 80 77 00 00 */ lwz r3, 0(r23) +/* 802A6290 002A31F0 48 09 18 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6294 002A31F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6298 002A31F8 41 82 01 20 */ beq lbl_802A63B8 +/* 802A629C 002A31FC 2C 18 00 02 */ cmpwi r24, 2 +/* 802A62A0 002A3200 40 82 00 FC */ bne lbl_802A639C +/* 802A62A4 002A3204 38 61 00 08 */ addi r3, r1, 8 +/* 802A62A8 002A3208 38 81 00 7C */ addi r4, r1, 0x7c +/* 802A62AC 002A320C 4B FF CA 91 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A62B0 002A3210 83 81 00 08 */ lwz r28, 8(r1) +/* 802A62B4 002A3214 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A62B8 002A3218 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 802A62BC 002A321C 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l +/* 802A62C0 002A3220 A3 3C 00 18 */ lhz r25, 0x18(r28) +/* 802A62C4 002A3224 3B 00 00 00 */ li r24, 0 +/* 802A62C8 002A3228 48 00 00 C8 */ b lbl_802A6390 +lbl_802A62CC: +/* 802A62CC 002A322C 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A62D0 002A3230 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A62D4 002A3234 38 03 00 01 */ addi r0, r3, 1 +/* 802A62D8 002A3238 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A62DC 002A323C A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 802A62E0 002A3240 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A62E4 002A3244 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A62E8 002A3248 7C 04 00 40 */ cmplw r4, r0 +/* 802A62EC 002A324C 40 82 00 14 */ bne lbl_802A6300 +/* 802A62F0 002A3250 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A62F4 002A3254 38 03 00 01 */ addi r0, r3, 1 +/* 802A62F8 002A3258 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A62FC 002A325C 48 00 00 8C */ b lbl_802A6388 +lbl_802A6300: +/* 802A6300 002A3260 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A6304 002A3264 7F C4 F3 78 */ mr r4, r30 +/* 802A6308 002A3268 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A630C 002A326C 4B FF C7 29 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6310 002A3270 80 61 00 54 */ lwz r3, 0x54(r1) +/* 802A6314 002A3274 38 00 00 00 */ li r0, 0 +/* 802A6318 002A3278 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A631C 002A327C 3A A1 00 30 */ addi r21, r1, 0x30 +/* 802A6320 002A3280 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6324 002A3284 90 61 00 14 */ stw r3, 0x14(r1) +/* 802A6328 002A3288 80 77 00 08 */ lwz r3, 8(r23) +/* 802A632C 002A328C 48 02 F0 21 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6330 002A3290 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6334 002A3294 41 82 00 54 */ beq lbl_802A6388 +/* 802A6338 002A3298 80 77 00 04 */ lwz r3, 4(r23) +/* 802A633C 002A329C 7E A4 AB 78 */ mr r4, r21 +/* 802A6340 002A32A0 38 B5 00 0C */ addi r5, r21, 0xc +/* 802A6344 002A32A4 38 D5 00 18 */ addi r6, r21, 0x18 +/* 802A6348 002A32A8 38 E1 00 24 */ addi r7, r1, 0x24 +/* 802A634C 002A32AC 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6350 002A32B0 48 02 9F 01 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f +/* 802A6354 002A32B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6358 002A32B8 41 82 00 30 */ beq lbl_802A6388 +/* 802A635C 002A32BC 80 B7 00 0C */ lwz r5, 0xc(r23) +/* 802A6360 002A32C0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 802A6364 002A32C4 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A6368 002A32C8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A636C 002A32CC 38 E1 00 18 */ addi r7, r1, 0x18 +/* 802A6370 002A32D0 48 02 80 D9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f +/* 802A6374 002A32D4 7C 64 1B 78 */ mr r4, r3 +/* 802A6378 002A32D8 80 77 00 10 */ lwz r3, 0x10(r23) +/* 802A637C 002A32DC 38 A0 00 00 */ li r5, 0 +/* 802A6380 002A32E0 4B ED F2 A1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A6384 002A32E4 3B 60 00 01 */ li r27, 1 +lbl_802A6388: +/* 802A6388 002A32E8 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A638C 002A32EC 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A6390: +/* 802A6390 002A32F0 7C 18 C8 00 */ cmpw r24, r25 +/* 802A6394 002A32F4 41 80 FF 38 */ blt lbl_802A62CC +/* 802A6398 002A32F8 48 00 00 20 */ b lbl_802A63B8 +lbl_802A639C: +/* 802A639C 002A32FC 7E E4 BB 78 */ mr r4, r23 +/* 802A63A0 002A3300 38 61 00 7C */ addi r3, r1, 0x7c +/* 802A63A4 002A3304 4B FF FE 29 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache +/* 802A63A8 002A3308 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A63AC 002A330C 28 00 00 01 */ cmplwi r0, 1 +/* 802A63B0 002A3310 40 82 00 08 */ bne lbl_802A63B8 +/* 802A63B4 002A3314 3B 60 00 01 */ li r27, 1 +lbl_802A63B8: +/* 802A63B8 002A3318 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A63BC 002A331C 3B BD 00 02 */ addi r29, r29, 2 +/* 802A63C0 002A3320 2C 1A 00 08 */ cmpwi r26, 8 +/* 802A63C4 002A3324 41 80 FE 58 */ blt lbl_802A621C +/* 802A63C8 002A3328 7F 63 DB 78 */ mr r3, r27 +/* 802A63CC 002A332C BA A1 01 04 */ lmw r21, 0x104(r1) +/* 802A63D0 002A3330 80 01 01 34 */ lwz r0, 0x134(r1) +/* 802A63D4 002A3334 7C 08 03 A6 */ mtlr r0 +/* 802A63D8 002A3338 38 21 01 30 */ addi r1, r1, 0x130 +/* 802A63DC 002A333C 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter +AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter: +/* 802A63E0 002A3340 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802A63E4 002A3344 7C 08 02 A6 */ mflr r0 +/* 802A63E8 002A3348 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A63EC 002A334C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802A63F0 002A3350 7C 7F 1B 78 */ mr r31, r3 +/* 802A63F4 002A3354 38 61 00 08 */ addi r3, r1, 8 +/* 802A63F8 002A3358 48 00 00 69 */ bl __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter +/* 802A63FC 002A335C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A6400 002A3360 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A6404 002A3364 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A6408 002A3368 38 81 00 08 */ addi r4, r1, 8 +/* 802A640C 002A336C C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A6410 002A3370 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A6414 002A3374 C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A6418 002A3378 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A641C 002A337C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A6420 002A3380 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A6424 002A3384 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 802A6428 002A3388 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 802A642C 002A338C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A6430 002A3390 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802A6434 002A3394 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A6438 002A3398 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 802A643C 002A339C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 802A6440 002A33A0 93 E1 00 44 */ stw r31, 0x44(r1) +/* 802A6444 002A33A4 90 01 00 48 */ stw r0, 0x48(r1) +/* 802A6448 002A33A8 48 00 02 21 */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +/* 802A644C 002A33AC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802A6450 002A33B0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802A6454 002A33B4 7C 08 03 A6 */ mtlr r0 +/* 802A6458 002A33B8 38 21 00 60 */ addi r1, r1, 0x60 +/* 802A645C 002A33BC 4E 80 00 20 */ blr + +.global __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter +__ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter: +/* 802A6460 002A33C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A6464 002A33C4 7C 08 02 A6 */ mflr r0 +/* 802A6468 002A33C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A646C 002A33CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A6470 002A33D0 7C 9F 23 78 */ mr r31, r4 +/* 802A6474 002A33D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A6478 002A33D8 7C 7E 1B 78 */ mr r30, r3 +/* 802A647C 002A33DC 93 E3 00 00 */ stw r31, 0(r3) +/* 802A6480 002A33E0 38 61 00 08 */ addi r3, r1, 8 +/* 802A6484 002A33E4 90 BE 00 04 */ stw r5, 4(r30) +/* 802A6488 002A33E8 48 09 11 85 */ bl GetCenterPoint__6CAABoxCFv +/* 802A648C 002A33EC C0 01 00 08 */ lfs f0, 8(r1) +/* 802A6490 002A33F0 7F C3 F3 78 */ mr r3, r30 +/* 802A6494 002A33F4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6498 002A33F8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 802A649C 002A33FC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A64A0 002A3400 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 802A64A4 002A3404 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A64A8 002A3408 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 802A64AC 002A340C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A64B0 002A3410 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A64B4 002A3414 C0 7F 00 10 */ lfs f3, 0x10(r31) +/* 802A64B8 002A3418 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A64BC 002A341C C0 3F 00 04 */ lfs f1, 4(r31) +/* 802A64C0 002A3420 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802A64C4 002A3424 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802A64C8 002A3428 C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A64CC 002A342C EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A64D0 002A3430 EC 22 08 28 */ fsubs f1, f2, f1 +/* 802A64D4 002A3434 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 802A64D8 002A3438 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A64DC 002A343C EC 04 00 72 */ fmuls f0, f4, f1 +/* 802A64E0 002A3440 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 802A64E4 002A3444 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A64E8 002A3448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A64EC 002A344C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A64F0 002A3450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A64F4 002A3454 7C 08 03 A6 */ mtlr r0 +/* 802A64F8 002A3458 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A64FC 002A345C 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter +AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter: +/* 802A6500 002A3460 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 802A6504 002A3464 7C 08 02 A6 */ mflr r0 +/* 802A6508 002A3468 90 01 00 94 */ stw r0, 0x94(r1) +/* 802A650C 002A346C BE C1 00 68 */ stmw r22, 0x68(r1) +/* 802A6510 002A3470 7C 7D 1B 78 */ mr r29, r3 +/* 802A6514 002A3474 7C 9E 23 78 */ mr r30, r4 +/* 802A6518 002A3478 7C BF 2B 78 */ mr r31, r5 +/* 802A651C 002A347C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A6520 002A3480 48 09 10 ED */ bl GetCenterPoint__6CAABoxCFv +/* 802A6524 002A3484 C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 802A6528 002A3488 3B 7D 00 08 */ addi r27, r29, 8 +/* 802A652C 002A348C C0 5E 00 04 */ lfs f2, 4(r30) +/* 802A6530 002A3490 3B 20 00 00 */ li r25, 0 +/* 802A6534 002A3494 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 802A6538 002A3498 C0 1E 00 08 */ lfs f0, 8(r30) +/* 802A653C 002A349C EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A6540 002A34A0 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6544 002A34A4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A6548 002A34A8 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 802A654C 002A34AC C0 1E 00 00 */ lfs f0, 0(r30) +/* 802A6550 002A34B0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A6554 002A34B4 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 802A6558 002A34B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A655C 002A34BC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A6560 002A34C0 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 802A6564 002A34C4 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 802A6568 002A34C8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A656C 002A34CC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A6570 002A34D0 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 802A6574 002A34D4 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 802A6578 002A34D8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 802A657C 002A34DC D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 802A6580 002A34E0 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 802A6584 002A34E4 48 00 00 C0 */ b lbl_802A6644 +lbl_802A6588: +/* 802A6588 002A34E8 7F C3 F3 78 */ mr r3, r30 +/* 802A658C 002A34EC 7F 64 DB 78 */ mr r4, r27 +/* 802A6590 002A34F0 48 09 15 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6594 002A34F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6598 002A34F8 41 82 00 A4 */ beq lbl_802A663C +/* 802A659C 002A34FC 7F 64 DB 78 */ mr r4, r27 +/* 802A65A0 002A3500 38 61 00 08 */ addi r3, r1, 8 +/* 802A65A4 002A3504 4B FF C7 99 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A65A8 002A3508 83 41 00 08 */ lwz r26, 8(r1) +/* 802A65AC 002A350C 3A C1 00 3C */ addi r22, r1, 0x3c +/* 802A65B0 002A3510 83 9B 00 1C */ lwz r28, 0x1c(r27) +/* 802A65B4 002A3514 3A E0 00 00 */ li r23, 0 +/* 802A65B8 002A3518 A3 1A 00 18 */ lhz r24, 0x18(r26) +/* 802A65BC 002A351C 48 00 00 78 */ b lbl_802A6634 +lbl_802A65C0: +/* 802A65C0 002A3520 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A65C4 002A3524 7F 84 E3 78 */ mr r4, r28 +/* 802A65C8 002A3528 38 61 00 3C */ addi r3, r1, 0x3c +/* 802A65CC 002A352C 38 05 00 01 */ addi r0, r5, 1 +/* 802A65D0 002A3530 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A65D4 002A3534 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A65D8 002A3538 4B FF C4 5D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A65DC 002A353C 80 A1 00 60 */ lwz r5, 0x60(r1) +/* 802A65E0 002A3540 38 00 00 00 */ li r0, 0 +/* 802A65E4 002A3544 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A65E8 002A3548 7F E3 FB 78 */ mr r3, r31 +/* 802A65EC 002A354C 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A65F0 002A3550 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A65F4 002A3554 48 02 ED 59 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A65F8 002A3558 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A65FC 002A355C 41 82 00 30 */ beq lbl_802A662C +/* 802A6600 002A3560 7E C5 B3 78 */ mr r5, r22 +/* 802A6604 002A3564 38 61 00 30 */ addi r3, r1, 0x30 +/* 802A6608 002A3568 38 81 00 24 */ addi r4, r1, 0x24 +/* 802A660C 002A356C 38 D6 00 0C */ addi r6, r22, 0xc +/* 802A6610 002A3570 38 F6 00 18 */ addi r7, r22, 0x18 +/* 802A6614 002A3574 48 02 AE CD */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6618 002A3578 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A661C 002A357C 28 00 00 01 */ cmplwi r0, 1 +/* 802A6620 002A3580 40 82 00 0C */ bne lbl_802A662C +/* 802A6624 002A3584 38 60 00 01 */ li r3, 1 +/* 802A6628 002A3588 48 00 00 2C */ b lbl_802A6654 +lbl_802A662C: +/* 802A662C 002A358C 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A6630 002A3590 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A6634: +/* 802A6634 002A3594 7C 17 C0 00 */ cmpw r23, r24 +/* 802A6638 002A3598 41 80 FF 88 */ blt lbl_802A65C0 +lbl_802A663C: +/* 802A663C 002A359C 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 802A6640 002A35A0 3B 39 00 01 */ addi r25, r25, 1 +lbl_802A6644: +/* 802A6644 002A35A4 80 1D 00 04 */ lwz r0, 4(r29) +/* 802A6648 002A35A8 7C 19 00 00 */ cmpw r25, r0 +/* 802A664C 002A35AC 41 80 FF 3C */ blt lbl_802A6588 +/* 802A6650 002A35B0 38 60 00 00 */ li r3, 0 +lbl_802A6654: +/* 802A6654 002A35B4 BA C1 00 68 */ lmw r22, 0x68(r1) +/* 802A6658 002A35B8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 802A665C 002A35BC 7C 08 03 A6 */ mtlr r0 +/* 802A6660 002A35C0 38 21 00 90 */ addi r1, r1, 0x90 +/* 802A6664 002A35C4 4E 80 00 20 */ blr + +.global AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache: +/* 802A6668 002A35C8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 802A666C 002A35CC 7C 08 02 A6 */ mflr r0 +/* 802A6670 002A35D0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 802A6674 002A35D4 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 802A6678 002A35D8 7C 7C 1B 78 */ mr r28, r3 +/* 802A667C 002A35DC 7C 9D 23 78 */ mr r29, r4 +/* 802A6680 002A35E0 3B C0 00 00 */ li r30, 0 +/* 802A6684 002A35E4 3B E0 00 00 */ li r31, 0 +lbl_802A6688: +/* 802A6688 002A35E8 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 802A668C 002A35EC A0 03 00 00 */ lhz r0, 0(r3) +/* 802A6690 002A35F0 7C 00 FE 30 */ sraw r0, r0, r31 +/* 802A6694 002A35F4 54 1A 07 BF */ clrlwi. r26, r0, 0x1e +/* 802A6698 002A35F8 41 82 01 3C */ beq lbl_802A67D4 +/* 802A669C 002A35FC 7F 84 E3 78 */ mr r4, r28 +/* 802A66A0 002A3600 7F C5 F3 78 */ mr r5, r30 +/* 802A66A4 002A3604 38 61 00 40 */ addi r3, r1, 0x40 +/* 802A66A8 002A3608 4B FF C6 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A66AC 002A360C C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 802A66B0 002A3610 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A66B4 002A3614 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 802A66B8 002A3618 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 802A66BC 002A361C C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 802A66C0 002A3620 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 802A66C4 002A3624 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 802A66C8 002A3628 80 C1 00 58 */ lwz r6, 0x58(r1) +/* 802A66CC 002A362C 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 802A66D0 002A3630 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A66D4 002A3634 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A66D8 002A3638 80 7D 00 00 */ lwz r3, 0(r29) +/* 802A66DC 002A363C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 802A66E0 002A3640 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 802A66E4 002A3644 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 802A66E8 002A3648 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 802A66EC 002A364C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 802A66F0 002A3650 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 802A66F4 002A3654 90 A1 00 80 */ stw r5, 0x80(r1) +/* 802A66F8 002A3658 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A66FC 002A365C 48 09 14 89 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6700 002A3660 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6704 002A3664 41 82 00 D0 */ beq lbl_802A67D4 +/* 802A6708 002A3668 2C 1A 00 02 */ cmpwi r26, 2 +/* 802A670C 002A366C 40 82 00 A8 */ bne lbl_802A67B4 +/* 802A6710 002A3670 38 61 00 08 */ addi r3, r1, 8 +/* 802A6714 002A3674 38 81 00 64 */ addi r4, r1, 0x64 +/* 802A6718 002A3678 4B FF C6 25 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A671C 002A367C 83 41 00 08 */ lwz r26, 8(r1) +/* 802A6720 002A3680 3A E1 00 18 */ addi r23, r1, 0x18 +/* 802A6724 002A3684 83 61 00 80 */ lwz r27, 0x80(r1) +/* 802A6728 002A3688 3B 00 00 00 */ li r24, 0 +/* 802A672C 002A368C A3 3A 00 18 */ lhz r25, 0x18(r26) +/* 802A6730 002A3690 48 00 00 78 */ b lbl_802A67A8 +lbl_802A6734: +/* 802A6734 002A3694 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) +/* 802A6738 002A3698 7F 64 DB 78 */ mr r4, r27 +/* 802A673C 002A369C 38 61 00 18 */ addi r3, r1, 0x18 +/* 802A6740 002A36A0 38 05 00 01 */ addi r0, r5, 1 +/* 802A6744 002A36A4 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6748 002A36A8 A0 BA 00 1A */ lhz r5, 0x1a(r26) +/* 802A674C 002A36AC 4B FF C2 E9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6750 002A36B0 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 802A6754 002A36B4 38 00 00 00 */ li r0, 0 +/* 802A6758 002A36B8 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A675C 002A36BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6760 002A36C0 80 7D 00 04 */ lwz r3, 4(r29) +/* 802A6764 002A36C4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6768 002A36C8 48 02 EB E5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A676C 002A36CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6770 002A36D0 41 82 00 30 */ beq lbl_802A67A0 +/* 802A6774 002A36D4 7E E5 BB 78 */ mr r5, r23 +/* 802A6778 002A36D8 38 7D 00 08 */ addi r3, r29, 8 +/* 802A677C 002A36DC 38 9D 00 14 */ addi r4, r29, 0x14 +/* 802A6780 002A36E0 38 D7 00 0C */ addi r6, r23, 0xc +/* 802A6784 002A36E4 38 F7 00 18 */ addi r7, r23, 0x18 +/* 802A6788 002A36E8 48 02 AD 59 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A678C 002A36EC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6790 002A36F0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6794 002A36F4 40 82 00 0C */ bne lbl_802A67A0 +/* 802A6798 002A36F8 38 60 00 01 */ li r3, 1 +/* 802A679C 002A36FC 48 00 00 4C */ b lbl_802A67E8 +lbl_802A67A0: +/* 802A67A0 002A3700 3B 5A 00 02 */ addi r26, r26, 2 +/* 802A67A4 002A3704 3B 18 00 01 */ addi r24, r24, 1 +lbl_802A67A8: +/* 802A67A8 002A3708 7C 18 C8 00 */ cmpw r24, r25 +/* 802A67AC 002A370C 41 80 FF 88 */ blt lbl_802A6734 +/* 802A67B0 002A3710 48 00 00 24 */ b lbl_802A67D4 +lbl_802A67B4: +/* 802A67B4 002A3714 7F A4 EB 78 */ mr r4, r29 +/* 802A67B8 002A3718 38 61 00 64 */ addi r3, r1, 0x64 +/* 802A67BC 002A371C 4B FF FE AD */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache +/* 802A67C0 002A3720 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A67C4 002A3724 28 00 00 01 */ cmplwi r0, 1 +/* 802A67C8 002A3728 40 82 00 0C */ bne lbl_802A67D4 +/* 802A67CC 002A372C 38 60 00 01 */ li r3, 1 +/* 802A67D0 002A3730 48 00 00 18 */ b lbl_802A67E8 +lbl_802A67D4: +/* 802A67D4 002A3734 3B DE 00 01 */ addi r30, r30, 1 +/* 802A67D8 002A3738 3B FF 00 02 */ addi r31, r31, 2 +/* 802A67DC 002A373C 2C 1E 00 08 */ cmpwi r30, 8 +/* 802A67E0 002A3740 41 80 FE A8 */ blt lbl_802A6688 +/* 802A67E4 002A3744 38 60 00 00 */ li r3, 0 +lbl_802A67E8: +/* 802A67E8 002A3748 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 802A67EC 002A374C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 802A67F0 002A3750 7C 08 03 A6 */ mtlr r0 +/* 802A67F4 002A3754 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 802A67F8 002A3758 4E 80 00 20 */ blr + +.global AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A67FC 002A375C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 802A6800 002A3760 7C 08 02 A6 */ mflr r0 +/* 802A6804 002A3764 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802A6808 002A3768 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 802A680C 002A376C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 802A6810 002A3770 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 802A6814 002A3774 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 802A6818 002A3778 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 802A681C 002A377C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 802A6820 002A3780 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 802A6824 002A3784 C1 02 C1 4C */ lfs f8, lbl_805ADE6C@sda21(r2) +/* 802A6828 002A3788 7C C0 33 78 */ mr r0, r6 +/* 802A682C 002A378C C0 E2 C1 64 */ lfs f7, lbl_805ADE84@sda21(r2) +/* 802A6830 002A3790 7C E8 3B 78 */ mr r8, r7 +/* 802A6834 002A3794 FD 80 40 50 */ fneg f12, f8 +/* 802A6838 002A3798 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A683C 002A379C FF E0 38 50 */ fneg f31, f7 +/* 802A6840 002A37A0 C0 24 00 00 */ lfs f1, 0(r4) +/* 802A6844 002A37A4 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A6848 002A37A8 7C 7F 1B 78 */ mr r31, r3 +/* 802A684C 002A37AC EF A1 02 32 */ fmuls f29, f1, f8 +/* 802A6850 002A37B0 C1 24 00 08 */ lfs f9, 8(r4) +/* 802A6854 002A37B4 EC A0 03 32 */ fmuls f5, f0, f12 +/* 802A6858 002A37B8 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 802A685C 002A37BC EF C2 02 32 */ fmuls f30, f2, f8 +/* 802A6860 002A37C0 7C A6 2B 78 */ mr r6, r5 +/* 802A6864 002A37C4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 802A6868 002A37C8 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 802A686C 002A37CC EC C1 F1 FA */ fmadds f6, f1, f7, f30 +/* 802A6870 002A37D0 D0 E1 00 58 */ stfs f7, 0x58(r1) +/* 802A6874 002A37D4 EC 8A 2F FA */ fmadds f4, f10, f31, f5 +/* 802A6878 002A37D8 7C 07 03 78 */ mr r7, r0 +/* 802A687C 002A37DC EC 62 E9 FA */ fmadds f3, f2, f7, f29 +/* 802A6880 002A37E0 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 802A6884 002A37E4 EC 4A 03 3A */ fmadds f2, f10, f12, f0 +/* 802A6888 002A37E8 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A688C 002A37EC ED A9 02 32 */ fmuls f13, f9, f8 +/* 802A6890 002A37F0 D1 01 00 60 */ stfs f8, 0x60(r1) +/* 802A6894 002A37F4 EC 0A 2B 3A */ fmadds f0, f10, f12, f5 +/* 802A6898 002A37F8 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 802A689C 002A37FC EC 3D F0 2A */ fadds f1, f29, f30 +/* 802A68A0 002A3800 38 A1 00 58 */ addi r5, r1, 0x58 +/* 802A68A4 002A3804 EC AD 30 2A */ fadds f5, f13, f6 +/* 802A68A8 002A3808 D1 81 00 6C */ stfs f12, 0x6c(r1) +/* 802A68AC 002A380C EC 8B 23 3A */ fmadds f4, f11, f12, f4 +/* 802A68B0 002A3810 D1 81 00 70 */ stfs f12, 0x70(r1) +/* 802A68B4 002A3814 EC 6D 18 2A */ fadds f3, f13, f3 +/* 802A68B8 002A3818 EC 4B 13 3A */ fmadds f2, f11, f12, f2 +/* 802A68BC 002A381C D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 802A68C0 002A3820 EC 29 09 FA */ fmadds f1, f9, f7, f1 +/* 802A68C4 002A3824 EC 0B 07 FA */ fmadds f0, f11, f31, f0 +/* 802A68C8 002A3828 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 802A68CC 002A382C D1 01 00 78 */ stfs f8, 0x78(r1) +/* 802A68D0 002A3830 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 802A68D4 002A3834 D1 01 00 80 */ stfs f8, 0x80(r1) +/* 802A68D8 002A3838 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 802A68DC 002A383C D1 81 00 88 */ stfs f12, 0x88(r1) +/* 802A68E0 002A3840 D3 E1 00 8C */ stfs f31, 0x8c(r1) +/* 802A68E4 002A3844 D1 81 00 90 */ stfs f12, 0x90(r1) +/* 802A68E8 002A3848 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 802A68EC 002A384C D1 01 00 98 */ stfs f8, 0x98(r1) +/* 802A68F0 002A3850 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 802A68F4 002A3854 D0 E1 00 A0 */ stfs f7, 0xa0(r1) +/* 802A68F8 002A3858 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 802A68FC 002A385C D1 81 00 A8 */ stfs f12, 0xa8(r1) +/* 802A6900 002A3860 D1 81 00 AC */ stfs f12, 0xac(r1) +/* 802A6904 002A3864 D3 E1 00 B0 */ stfs f31, 0xb0(r1) +/* 802A6908 002A3868 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 802A690C 002A386C 48 00 00 85 */ bl __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +/* 802A6910 002A3870 48 00 07 31 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6914 002A3874 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A6918 002A3878 38 61 00 08 */ addi r3, r1, 8 +/* 802A691C 002A387C 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 802A6920 002A3880 38 81 00 2C */ addi r4, r1, 0x2c +/* 802A6924 002A3884 C0 BF 00 00 */ lfs f5, 0(r31) +/* 802A6928 002A3888 C0 9F 00 04 */ lfs f4, 4(r31) +/* 802A692C 002A388C C0 7F 00 08 */ lfs f3, 8(r31) +/* 802A6930 002A3890 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 802A6934 002A3894 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 802A6938 002A3898 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 802A693C 002A389C D0 A1 00 08 */ stfs f5, 8(r1) +/* 802A6940 002A38A0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 802A6944 002A38A4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 802A6948 002A38A8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 802A694C 002A38AC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 802A6950 002A38B0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A6954 002A38B4 90 A1 00 20 */ stw r5, 0x20(r1) +/* 802A6958 002A38B8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 802A695C 002A38BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 802A6960 002A38C0 48 00 04 35 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +/* 802A6964 002A38C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 802A6968 002A38C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 802A696C 002A38CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 802A6970 002A38D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 802A6974 002A38D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 802A6978 002A38D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 802A697C 002A38DC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A6980 002A38E0 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 802A6984 002A38E4 7C 08 03 A6 */ mtlr r0 +/* 802A6988 002A38E8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 802A698C 002A38EC 4E 80 00 20 */ blr + +.global __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +__ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A6990 002A38F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A6994 002A38F4 7C 08 02 A6 */ mflr r0 +/* 802A6998 002A38F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A699C 002A38FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A69A0 002A3900 7C 9F 23 78 */ mr r31, r4 +/* 802A69A4 002A3904 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A69A8 002A3908 7C 7E 1B 78 */ mr r30, r3 +/* 802A69AC 002A390C 93 E3 00 00 */ stw r31, 0(r3) +/* 802A69B0 002A3910 38 61 00 08 */ addi r3, r1, 8 +/* 802A69B4 002A3914 90 BE 00 04 */ stw r5, 4(r30) +/* 802A69B8 002A3918 90 DE 00 08 */ stw r6, 8(r30) +/* 802A69BC 002A391C 90 FE 00 0C */ stw r7, 0xc(r30) +/* 802A69C0 002A3920 91 1E 00 10 */ stw r8, 0x10(r30) +/* 802A69C4 002A3924 48 09 0C 49 */ bl GetCenterPoint__6CAABoxCFv +/* 802A69C8 002A3928 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A69CC 002A392C 7F C3 F3 78 */ mr r3, r30 +/* 802A69D0 002A3930 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A69D4 002A3934 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 802A69D8 002A3938 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A69DC 002A393C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 802A69E0 002A3940 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A69E4 002A3944 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 802A69E8 002A3948 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 802A69EC 002A394C C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A69F0 002A3950 C0 7F 00 10 */ lfs f3, 0x10(r31) +/* 802A69F4 002A3954 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A69F8 002A3958 C0 3F 00 04 */ lfs f1, 4(r31) +/* 802A69FC 002A395C C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 802A6A00 002A3960 EC 63 08 28 */ fsubs f3, f3, f1 +/* 802A6A04 002A3964 C0 3F 00 08 */ lfs f1, 8(r31) +/* 802A6A08 002A3968 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A6A0C 002A396C EC 22 08 28 */ fsubs f1, f2, f1 +/* 802A6A10 002A3970 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 802A6A14 002A3974 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 802A6A18 002A3978 EC 04 00 72 */ fmuls f0, f4, f1 +/* 802A6A1C 002A397C D0 5E 00 24 */ stfs f2, 0x24(r30) +/* 802A6A20 002A3980 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 802A6A24 002A3984 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A6A28 002A3988 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A6A2C 002A398C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A6A30 002A3990 7C 08 03 A6 */ mtlr r0 +/* 802A6A34 002A3994 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A6A38 002A3998 4E 80 00 20 */ blr + +.global AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList +AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: +/* 802A6A3C 002A399C 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 802A6A40 002A39A0 7C 08 02 A6 */ mflr r0 +/* 802A6A44 002A39A4 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 802A6A48 002A39A8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 802A6A4C 002A39AC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 802A6A50 002A39B0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 802A6A54 002A39B4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 802A6A58 002A39B8 BE 21 01 74 */ stmw r17, 0x174(r1) +/* 802A6A5C 002A39BC C0 C2 C1 4C */ lfs f6, lbl_805ADE6C@sda21(r2) +/* 802A6A60 002A39C0 7C 9C 23 78 */ mr r28, r4 +/* 802A6A64 002A39C4 C0 A2 C1 64 */ lfs f5, lbl_805ADE84@sda21(r2) +/* 802A6A68 002A39C8 7C 7B 1B 78 */ mr r27, r3 +/* 802A6A6C 002A39CC FD 80 30 50 */ fneg f12, f6 +/* 802A6A70 002A39D0 C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A6A74 002A39D4 FD A0 28 50 */ fneg f13, f5 +/* 802A6A78 002A39D8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802A6A7C 002A39DC C1 04 00 04 */ lfs f8, 4(r4) +/* 802A6A80 002A39E0 EF C7 01 B2 */ fmuls f30, f7, f6 +/* 802A6A84 002A39E4 EF E8 01 B2 */ fmuls f31, f8, f6 +/* 802A6A88 002A39E8 C1 24 00 08 */ lfs f9, 8(r4) +/* 802A6A8C 002A39EC EC 80 03 32 */ fmuls f4, f0, f12 +/* 802A6A90 002A39F0 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 802A6A94 002A39F4 EC 00 03 72 */ fmuls f0, f0, f13 +/* 802A6A98 002A39F8 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 802A6A9C 002A39FC EC 6A 23 7A */ fmadds f3, f10, f13, f4 +/* 802A6AA0 002A3A00 D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 802A6AA4 002A3A04 EC 4A 03 3A */ fmadds f2, f10, f12, f0 +/* 802A6AA8 002A3A08 7C BD 2B 78 */ mr r29, r5 +/* 802A6AAC 002A3A0C EC 3E F8 2A */ fadds f1, f30, f31 +/* 802A6AB0 002A3A10 D0 C1 01 0C */ stfs f6, 0x10c(r1) +/* 802A6AB4 002A3A14 EC 0A 23 3A */ fmadds f0, f10, f12, f4 +/* 802A6AB8 002A3A18 D0 C1 01 10 */ stfs f6, 0x110(r1) +/* 802A6ABC 002A3A1C EC 6B 1B 3A */ fmadds f3, f11, f12, f3 +/* 802A6AC0 002A3A20 7C DE 33 78 */ mr r30, r6 +/* 802A6AC4 002A3A24 EC 4B 13 3A */ fmadds f2, f11, f12, f2 +/* 802A6AC8 002A3A28 D1 A1 01 18 */ stfs f13, 0x118(r1) +/* 802A6ACC 002A3A2C EC 29 09 7A */ fmadds f1, f9, f5, f1 +/* 802A6AD0 002A3A30 D1 81 01 1C */ stfs f12, 0x11c(r1) +/* 802A6AD4 002A3A34 EC 0B 03 7A */ fmadds f0, f11, f13, f0 +/* 802A6AD8 002A3A38 7C FF 3B 78 */ mr r31, r7 +/* 802A6ADC 002A3A3C ED 29 01 B2 */ fmuls f9, f9, f6 +/* 802A6AE0 002A3A40 D1 81 01 20 */ stfs f12, 0x120(r1) +/* 802A6AE4 002A3A44 EC 87 F9 7A */ fmadds f4, f7, f5, f31 +/* 802A6AE8 002A3A48 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 802A6AEC 002A3A4C EC 68 F1 7A */ fmadds f3, f8, f5, f30 +/* 802A6AF0 002A3A50 D0 C1 01 28 */ stfs f6, 0x128(r1) +/* 802A6AF4 002A3A54 EC 89 20 2A */ fadds f4, f9, f4 +/* 802A6AF8 002A3A58 EC 69 18 2A */ fadds f3, f9, f3 +/* 802A6AFC 002A3A5C D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 802A6B00 002A3A60 D0 81 01 14 */ stfs f4, 0x114(r1) +/* 802A6B04 002A3A64 D0 C1 01 30 */ stfs f6, 0x130(r1) +/* 802A6B08 002A3A68 D0 61 01 34 */ stfs f3, 0x134(r1) +/* 802A6B0C 002A3A6C D1 81 01 38 */ stfs f12, 0x138(r1) +/* 802A6B10 002A3A70 D1 A1 01 3C */ stfs f13, 0x13c(r1) +/* 802A6B14 002A3A74 D1 81 01 40 */ stfs f12, 0x140(r1) +/* 802A6B18 002A3A78 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 802A6B1C 002A3A7C D0 C1 01 48 */ stfs f6, 0x148(r1) +/* 802A6B20 002A3A80 D0 C1 01 4C */ stfs f6, 0x14c(r1) +/* 802A6B24 002A3A84 D0 A1 01 50 */ stfs f5, 0x150(r1) +/* 802A6B28 002A3A88 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 802A6B2C 002A3A8C D1 81 01 58 */ stfs f12, 0x158(r1) +/* 802A6B30 002A3A90 D1 81 01 5C */ stfs f12, 0x15c(r1) +/* 802A6B34 002A3A94 D1 A1 01 60 */ stfs f13, 0x160(r1) +/* 802A6B38 002A3A98 D0 01 01 64 */ stfs f0, 0x164(r1) +/* 802A6B3C 002A3A9C 48 00 05 05 */ bl ResetInternalCounters__20CMetroidAreaColliderFv +/* 802A6B40 002A3AA0 7F 84 E3 78 */ mr r4, r28 +/* 802A6B44 002A3AA4 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A6B48 002A3AA8 48 09 0A C5 */ bl GetCenterPoint__6CAABoxCFv +/* 802A6B4C 002A3AAC C0 7C 00 10 */ lfs f3, 0x10(r28) +/* 802A6B50 002A3AB0 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6B54 002A3AB4 C0 5C 00 04 */ lfs f2, 4(r28) +/* 802A6B58 002A3AB8 3A FB 00 08 */ addi r23, r27, 8 +/* 802A6B5C 002A3ABC C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 802A6B60 002A3AC0 3B 23 67 54 */ addi r25, r3, lbl_805A6754@l +/* 802A6B64 002A3AC4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 802A6B68 002A3AC8 EC 63 10 28 */ fsubs f3, f3, f2 +/* 802A6B6C 002A3ACC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) +/* 802A6B70 002A3AD0 3A A0 00 00 */ li r21, 0 +/* 802A6B74 002A3AD4 EC 41 00 28 */ fsubs f2, f1, f0 +/* 802A6B78 002A3AD8 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 802A6B7C 002A3ADC C0 1C 00 00 */ lfs f0, 0(r28) +/* 802A6B80 002A3AE0 EC C4 00 F2 */ fmuls f6, f4, f3 +/* 802A6B84 002A3AE4 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 802A6B88 002A3AE8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A6B8C 002A3AEC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 802A6B90 002A3AF0 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 802A6B94 002A3AF4 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 802A6B98 002A3AF8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 802A6B9C 002A3AFC D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 802A6BA0 002A3B00 3A 80 00 00 */ li r20, 0 +/* 802A6BA4 002A3B04 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 802A6BA8 002A3B08 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 802A6BAC 002A3B0C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A6BB0 002A3B10 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 802A6BB4 002A3B14 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 802A6BB8 002A3B18 48 00 01 A8 */ b lbl_802A6D60 +lbl_802A6BBC: +/* 802A6BBC 002A3B1C 7F 83 E3 78 */ mr r3, r28 +/* 802A6BC0 002A3B20 7E E4 BB 78 */ mr r4, r23 +/* 802A6BC4 002A3B24 48 09 0F C1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6BC8 002A3B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6BCC 002A3B2C 41 82 01 8C */ beq lbl_802A6D58 +/* 802A6BD0 002A3B30 7E E4 BB 78 */ mr r4, r23 +/* 802A6BD4 002A3B34 38 61 00 08 */ addi r3, r1, 8 +/* 802A6BD8 002A3B38 4B FF C1 65 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A6BDC 002A3B3C 82 C1 00 08 */ lwz r22, 8(r1) +/* 802A6BE0 002A3B40 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A6BE4 002A3B44 83 17 00 1C */ lwz r24, 0x1c(r23) +/* 802A6BE8 002A3B48 3B 43 7B AC */ addi r26, r3, lbl_80597BAC@l +/* 802A6BEC 002A3B4C A2 76 00 18 */ lhz r19, 0x18(r22) +/* 802A6BF0 002A3B50 3A 40 00 00 */ li r18, 0 +/* 802A6BF4 002A3B54 48 00 01 5C */ b lbl_802A6D50 +lbl_802A6BF8: +/* 802A6BF8 002A3B58 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A6BFC 002A3B5C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A6C00 002A3B60 38 03 00 01 */ addi r0, r3, 1 +/* 802A6C04 002A3B64 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6C08 002A3B68 A0 B6 00 1A */ lhz r5, 0x1a(r22) +/* 802A6C0C 002A3B6C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A6C10 002A3B70 7C 1A 1A 2E */ lhzx r0, r26, r3 +/* 802A6C14 002A3B74 7C 04 00 40 */ cmplw r4, r0 +/* 802A6C18 002A3B78 40 82 00 14 */ bne lbl_802A6C2C +/* 802A6C1C 002A3B7C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A6C20 002A3B80 38 03 00 01 */ addi r0, r3, 1 +/* 802A6C24 002A3B84 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6C28 002A3B88 48 00 01 20 */ b lbl_802A6D48 +lbl_802A6C2C: +/* 802A6C2C 002A3B8C 7C 9A 1B 2E */ sthx r4, r26, r3 +/* 802A6C30 002A3B90 7F 04 C3 78 */ mr r4, r24 +/* 802A6C34 002A3B94 38 61 00 80 */ addi r3, r1, 0x80 +/* 802A6C38 002A3B98 4B FF BD FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6C3C 002A3B9C 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 802A6C40 002A3BA0 38 00 00 00 */ li r0, 0 +/* 802A6C44 002A3BA4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6C48 002A3BA8 7F A3 EB 78 */ mr r3, r29 +/* 802A6C4C 002A3BAC 3A 21 00 80 */ addi r17, r1, 0x80 +/* 802A6C50 002A3BB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6C54 002A3BB4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6C58 002A3BB8 48 02 E6 F5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6C5C 002A3BBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6C60 002A3BC0 41 82 00 E8 */ beq lbl_802A6D48 +/* 802A6C64 002A3BC4 7E 25 8B 78 */ mr r5, r17 +/* 802A6C68 002A3BC8 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A6C6C 002A3BCC 38 81 00 50 */ addi r4, r1, 0x50 +/* 802A6C70 002A3BD0 38 D1 00 0C */ addi r6, r17, 0xc +/* 802A6C74 002A3BD4 38 F1 00 18 */ addi r7, r17, 0x18 +/* 802A6C78 002A3BD8 48 02 A8 69 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6C7C 002A3BDC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6C80 002A3BE0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6C84 002A3BE4 40 82 00 C4 */ bne lbl_802A6D48 +/* 802A6C88 002A3BE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6C8C 002A3BEC C0 99 00 04 */ lfs f4, 4(r25) +/* 802A6C90 002A3BF0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802A6C94 002A3BF4 7E 24 8B 78 */ mr r4, r17 +/* 802A6C98 002A3BF8 C0 79 00 08 */ lfs f3, 8(r25) +/* 802A6C9C 002A3BFC 38 61 01 08 */ addi r3, r1, 0x108 +/* 802A6CA0 002A3C00 C0 59 00 0C */ lfs f2, 0xc(r25) +/* 802A6CA4 002A3C04 38 A1 00 68 */ addi r5, r1, 0x68 +/* 802A6CA8 002A3C08 C0 39 00 10 */ lfs f1, 0x10(r25) +/* 802A6CAC 002A3C0C C0 19 00 14 */ lfs f0, 0x14(r25) +/* 802A6CB0 002A3C10 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 802A6CB4 002A3C14 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A6CB8 002A3C18 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 802A6CBC 002A3C1C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 802A6CC0 002A3C20 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 802A6CC4 002A3C24 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 802A6CC8 002A3C28 48 00 04 11 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802A6CCC 002A3C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6CD0 002A3C30 41 82 00 78 */ beq lbl_802A6D48 +/* 802A6CD4 002A3C34 7E 24 8B 78 */ mr r4, r17 +/* 802A6CD8 002A3C38 38 61 00 24 */ addi r3, r1, 0x24 +/* 802A6CDC 002A3C3C 4B FF B9 59 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A6CE0 002A3C40 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802A6CE4 002A3C44 7F C5 F3 78 */ mr r5, r30 +/* 802A6CE8 002A3C48 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A6CEC 002A3C4C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 802A6CF0 002A3C50 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802A6CF4 002A3C54 FC 40 30 50 */ fneg f2, f6 +/* 802A6CF8 002A3C58 FC 20 28 50 */ fneg f1, f5 +/* 802A6CFC 002A3C5C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802A6D00 002A3C60 FC 00 20 50 */ fneg f0, f4 +/* 802A6D04 002A3C64 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 802A6D08 002A3C68 38 81 00 68 */ addi r4, r1, 0x68 +/* 802A6D0C 002A3C6C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802A6D10 002A3C70 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6D14 002A3C74 38 E1 00 40 */ addi r7, r1, 0x40 +/* 802A6D18 002A3C78 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802A6D1C 002A3C7C 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6D20 002A3C80 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A6D24 002A3C84 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A6D28 002A3C88 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6D2C 002A3C8C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802A6D30 002A3C90 48 02 75 89 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802A6D34 002A3C94 7C 64 1B 78 */ mr r4, r3 +/* 802A6D38 002A3C98 7F E3 FB 78 */ mr r3, r31 +/* 802A6D3C 002A3C9C 38 A0 00 00 */ li r5, 0 +/* 802A6D40 002A3CA0 4B ED E8 E1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A6D44 002A3CA4 3A A0 00 01 */ li r21, 1 +lbl_802A6D48: +/* 802A6D48 002A3CA8 3A D6 00 02 */ addi r22, r22, 2 +/* 802A6D4C 002A3CAC 3A 52 00 01 */ addi r18, r18, 1 +lbl_802A6D50: +/* 802A6D50 002A3CB0 7C 12 98 00 */ cmpw r18, r19 +/* 802A6D54 002A3CB4 41 80 FE A4 */ blt lbl_802A6BF8 +lbl_802A6D58: +/* 802A6D58 002A3CB8 3A F7 00 24 */ addi r23, r23, 0x24 +/* 802A6D5C 002A3CBC 3A 94 00 01 */ addi r20, r20, 1 +lbl_802A6D60: +/* 802A6D60 002A3CC0 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A6D64 002A3CC4 7C 14 00 00 */ cmpw r20, r0 +/* 802A6D68 002A3CC8 41 80 FE 54 */ blt lbl_802A6BBC +/* 802A6D6C 002A3CCC 7E A3 AB 78 */ mr r3, r21 +/* 802A6D70 002A3CD0 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 802A6D74 002A3CD4 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 802A6D78 002A3CD8 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 802A6D7C 002A3CDC CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 802A6D80 002A3CE0 BA 21 01 74 */ lmw r17, 0x174(r1) +/* 802A6D84 002A3CE4 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 802A6D88 002A3CE8 7C 08 03 A6 */ mtlr r0 +/* 802A6D8C 002A3CEC 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 802A6D90 002A3CF0 4E 80 00 20 */ blr + +.global AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache: +/* 802A6D94 002A3CF4 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 802A6D98 002A3CF8 7C 08 02 A6 */ mflr r0 +/* 802A6D9C 002A3CFC 90 01 01 84 */ stw r0, 0x184(r1) +/* 802A6DA0 002A3D00 BE A1 01 54 */ stmw r21, 0x154(r1) +/* 802A6DA4 002A3D04 7C 77 1B 78 */ mr r23, r3 +/* 802A6DA8 002A3D08 7C 95 23 78 */ mr r21, r4 +/* 802A6DAC 002A3D0C 3B 60 00 00 */ li r27, 0 +/* 802A6DB0 002A3D10 80 03 00 20 */ lwz r0, 0x20(r3) +/* 802A6DB4 002A3D14 2C 00 00 01 */ cmpwi r0, 1 +/* 802A6DB8 002A3D18 41 82 00 28 */ beq lbl_802A6DE0 +/* 802A6DBC 002A3D1C 40 80 00 10 */ bge lbl_802A6DCC +/* 802A6DC0 002A3D20 2C 00 00 00 */ cmpwi r0, 0 +/* 802A6DC4 002A3D24 40 80 00 14 */ bge lbl_802A6DD8 +/* 802A6DC8 002A3D28 48 00 02 60 */ b lbl_802A7028 +lbl_802A6DCC: +/* 802A6DCC 002A3D2C 2C 00 00 03 */ cmpwi r0, 3 +/* 802A6DD0 002A3D30 40 80 02 58 */ bge lbl_802A7028 +/* 802A6DD4 002A3D34 48 00 00 BC */ b lbl_802A6E90 +lbl_802A6DD8: +/* 802A6DD8 002A3D38 38 60 00 00 */ li r3, 0 +/* 802A6DDC 002A3D3C 48 00 02 50 */ b lbl_802A702C +lbl_802A6DE0: +/* 802A6DE0 002A3D40 3A C0 00 00 */ li r22, 0 +lbl_802A6DE4: +/* 802A6DE4 002A3D44 7E E4 BB 78 */ mr r4, r23 +/* 802A6DE8 002A3D48 7E C5 B3 78 */ mr r5, r22 +/* 802A6DEC 002A3D4C 38 61 00 9C */ addi r3, r1, 0x9c +/* 802A6DF0 002A3D50 4B FF BF 71 */ bl GetChild__Q212CAreaOctTree4NodeCFi +/* 802A6DF4 002A3D54 C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 802A6DF8 002A3D58 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A6DFC 002A3D5C C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 802A6E00 002A3D60 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 802A6E04 002A3D64 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 802A6E08 002A3D68 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 802A6E0C 002A3D6C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 802A6E10 002A3D70 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 802A6E14 002A3D74 80 81 00 B8 */ lwz r4, 0xb8(r1) +/* 802A6E18 002A3D78 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 802A6E1C 002A3D7C D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 802A6E20 002A3D80 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 802A6E24 002A3D84 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 802A6E28 002A3D88 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 802A6E2C 002A3D8C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 802A6E30 002A3D90 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 802A6E34 002A3D94 90 A1 00 D8 */ stw r5, 0xd8(r1) +/* 802A6E38 002A3D98 90 81 00 DC */ stw r4, 0xdc(r1) +/* 802A6E3C 002A3D9C 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 802A6E40 002A3DA0 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 802A6E44 002A3DA4 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 802A6E48 002A3DA8 D0 61 00 64 */ stfs f3, 0x64(r1) +/* 802A6E4C 002A3DAC D0 41 00 68 */ stfs f2, 0x68(r1) +/* 802A6E50 002A3DB0 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 802A6E54 002A3DB4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 802A6E58 002A3DB8 80 95 00 00 */ lwz r4, 0(r21) +/* 802A6E5C 002A3DBC 48 09 0D 29 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 802A6E60 002A3DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6E64 002A3DC4 41 82 00 1C */ beq lbl_802A6E80 +/* 802A6E68 002A3DC8 7E A4 AB 78 */ mr r4, r21 +/* 802A6E6C 002A3DCC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A6E70 002A3DD0 4B FF FF 25 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache +/* 802A6E74 002A3DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6E78 002A3DD8 41 82 00 08 */ beq lbl_802A6E80 +/* 802A6E7C 002A3DDC 3B 60 00 01 */ li r27, 1 +lbl_802A6E80: +/* 802A6E80 002A3DE0 3A D6 00 01 */ addi r22, r22, 1 +/* 802A6E84 002A3DE4 2C 16 00 08 */ cmpwi r22, 8 +/* 802A6E88 002A3DE8 41 80 FF 5C */ blt lbl_802A6DE4 +/* 802A6E8C 002A3DEC 48 00 01 9C */ b lbl_802A7028 +lbl_802A6E90: +/* 802A6E90 002A3DF0 7E E4 BB 78 */ mr r4, r23 +/* 802A6E94 002A3DF4 38 61 00 08 */ addi r3, r1, 8 +/* 802A6E98 002A3DF8 4B FF BE A5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv +/* 802A6E9C 002A3DFC 83 81 00 08 */ lwz r28, 8(r1) +/* 802A6EA0 002A3E00 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 802A6EA4 002A3E04 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A6EA8 002A3E08 83 B7 00 1C */ lwz r29, 0x1c(r23) +/* 802A6EAC 002A3E0C A3 5C 00 18 */ lhz r26, 0x18(r28) +/* 802A6EB0 002A3E10 3B C4 67 54 */ addi r30, r4, lbl_805A6754@l +/* 802A6EB4 002A3E14 83 35 00 08 */ lwz r25, 8(r21) +/* 802A6EB8 002A3E18 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l +/* 802A6EBC 002A3E1C 83 15 00 04 */ lwz r24, 4(r21) +/* 802A6EC0 002A3E20 3A E0 00 00 */ li r23, 0 +/* 802A6EC4 002A3E24 48 00 01 5C */ b lbl_802A7020 +lbl_802A6EC8: +/* 802A6EC8 002A3E28 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) +/* 802A6ECC 002A3E2C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) +/* 802A6ED0 002A3E30 38 03 00 01 */ addi r0, r3, 1 +/* 802A6ED4 002A3E34 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) +/* 802A6ED8 002A3E38 A0 BC 00 1A */ lhz r5, 0x1a(r28) +/* 802A6EDC 002A3E3C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e +/* 802A6EE0 002A3E40 7C 1F 1A 2E */ lhzx r0, r31, r3 +/* 802A6EE4 002A3E44 7C 04 00 40 */ cmplw r4, r0 +/* 802A6EE8 002A3E48 40 82 00 14 */ bne lbl_802A6EFC +/* 802A6EEC 002A3E4C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) +/* 802A6EF0 002A3E50 38 03 00 01 */ addi r0, r3, 1 +/* 802A6EF4 002A3E54 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) +/* 802A6EF8 002A3E58 48 00 01 20 */ b lbl_802A7018 +lbl_802A6EFC: +/* 802A6EFC 002A3E5C 7C 9F 1B 2E */ sthx r4, r31, r3 +/* 802A6F00 002A3E60 7F A4 EB 78 */ mr r4, r29 +/* 802A6F04 002A3E64 38 61 00 74 */ addi r3, r1, 0x74 +/* 802A6F08 002A3E68 4B FF BB 2D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs +/* 802A6F0C 002A3E6C 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 802A6F10 002A3E70 38 00 00 00 */ li r0, 0 +/* 802A6F14 002A3E74 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A6F18 002A3E78 7F 23 CB 78 */ mr r3, r25 +/* 802A6F1C 002A3E7C 3A C1 00 74 */ addi r22, r1, 0x74 +/* 802A6F20 002A3E80 38 81 00 10 */ addi r4, r1, 0x10 +/* 802A6F24 002A3E84 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A6F28 002A3E88 48 02 E4 25 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 802A6F2C 002A3E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6F30 002A3E90 41 82 00 E8 */ beq lbl_802A7018 +/* 802A6F34 002A3E94 7E C5 B3 78 */ mr r5, r22 +/* 802A6F38 002A3E98 38 75 00 14 */ addi r3, r21, 0x14 +/* 802A6F3C 002A3E9C 38 95 00 20 */ addi r4, r21, 0x20 +/* 802A6F40 002A3EA0 38 D6 00 0C */ addi r6, r22, 0xc +/* 802A6F44 002A3EA4 38 F6 00 18 */ addi r7, r22, 0x18 +/* 802A6F48 002A3EA8 48 02 A5 99 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +/* 802A6F4C 002A3EAC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 802A6F50 002A3EB0 28 00 00 01 */ cmplwi r0, 1 +/* 802A6F54 002A3EB4 40 82 00 C4 */ bne lbl_802A7018 +/* 802A6F58 002A3EB8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 802A6F5C 002A3EBC C0 9E 00 04 */ lfs f4, 4(r30) +/* 802A6F60 002A3EC0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) +/* 802A6F64 002A3EC4 7F 03 C3 78 */ mr r3, r24 +/* 802A6F68 002A3EC8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 802A6F6C 002A3ECC 7E C4 B3 78 */ mr r4, r22 +/* 802A6F70 002A3ED0 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 802A6F74 002A3ED4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802A6F78 002A3ED8 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 802A6F7C 002A3EDC C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 802A6F80 002A3EE0 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 802A6F84 002A3EE4 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 802A6F88 002A3EE8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 802A6F8C 002A3EEC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 802A6F90 002A3EF0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 802A6F94 002A3EF4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 802A6F98 002A3EF8 48 00 01 41 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +/* 802A6F9C 002A3EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A6FA0 002A3F00 41 82 00 78 */ beq lbl_802A7018 +/* 802A6FA4 002A3F04 7E C4 B3 78 */ mr r4, r22 +/* 802A6FA8 002A3F08 38 61 00 24 */ addi r3, r1, 0x24 +/* 802A6FAC 002A3F0C 4B FF B6 89 */ bl GetPlane__17CCollisionSurfaceCFv +/* 802A6FB0 002A3F10 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 802A6FB4 002A3F14 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 802A6FB8 002A3F18 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 802A6FBC 002A3F1C 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A6FC0 002A3F20 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 802A6FC4 002A3F24 FC 40 30 50 */ fneg f2, f6 +/* 802A6FC8 002A3F28 FC 20 28 50 */ fneg f1, f5 +/* 802A6FCC 002A3F2C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 802A6FD0 002A3F30 FC 00 20 50 */ fneg f0, f4 +/* 802A6FD4 002A3F34 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 802A6FD8 002A3F38 38 C1 00 10 */ addi r6, r1, 0x10 +/* 802A6FDC 002A3F3C D0 A1 00 38 */ stfs f5, 0x38(r1) +/* 802A6FE0 002A3F40 38 E1 00 34 */ addi r7, r1, 0x34 +/* 802A6FE4 002A3F44 39 01 00 18 */ addi r8, r1, 0x18 +/* 802A6FE8 002A3F48 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 802A6FEC 002A3F4C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 802A6FF0 002A3F50 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A6FF4 002A3F54 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 802A6FF8 002A3F58 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 802A6FFC 002A3F5C 80 B5 00 0C */ lwz r5, 0xc(r21) +/* 802A7000 002A3F60 48 02 72 B9 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f +/* 802A7004 002A3F64 7C 64 1B 78 */ mr r4, r3 +/* 802A7008 002A3F68 80 75 00 10 */ lwz r3, 0x10(r21) +/* 802A700C 002A3F6C 38 A0 00 00 */ li r5, 0 +/* 802A7010 002A3F70 4B ED E6 11 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob +/* 802A7014 002A3F74 3B 60 00 01 */ li r27, 1 +lbl_802A7018: +/* 802A7018 002A3F78 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A701C 002A3F7C 3A F7 00 01 */ addi r23, r23, 1 +lbl_802A7020: +/* 802A7020 002A3F80 7C 17 D0 00 */ cmpw r23, r26 +/* 802A7024 002A3F84 41 80 FE A4 */ blt lbl_802A6EC8 +lbl_802A7028: +/* 802A7028 002A3F88 7F 63 DB 78 */ mr r3, r27 +lbl_802A702C: +/* 802A702C 002A3F8C BA A1 01 54 */ lmw r21, 0x154(r1) +/* 802A7030 002A3F90 80 01 01 84 */ lwz r0, 0x184(r1) +/* 802A7034 002A3F94 7C 08 03 A6 */ mtlr r0 +/* 802A7038 002A3F98 38 21 01 80 */ addi r1, r1, 0x180 +/* 802A703C 002A3F9C 4E 80 00 20 */ blr + +.global ResetInternalCounters__20CMetroidAreaColliderFv +ResetInternalCounters__20CMetroidAreaColliderFv: +/* 802A7040 002A3FA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7044 002A3FA4 7C 08 02 A6 */ mflr r0 +/* 802A7048 002A3FA8 38 60 00 00 */ li r3, 0 +/* 802A704C 002A3FAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7050 002A3FB0 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) +/* 802A7054 002A3FB4 90 6D A5 C0 */ stw r3, lbl_805A9180@sda21(r13) +/* 802A7058 002A3FB8 28 00 FF FF */ cmplwi r0, 0xffff +/* 802A705C 002A3FBC 90 6D A5 C4 */ stw r3, lbl_805A9184@sda21(r13) +/* 802A7060 002A3FC0 90 6D A5 C8 */ stw r3, lbl_805A9188@sda21(r13) +/* 802A7064 002A3FC4 90 6D A5 CC */ stw r3, lbl_805A918C@sda21(r13) +/* 802A7068 002A3FC8 40 82 00 54 */ bne lbl_802A70BC +/* 802A706C 002A3FCC 3C 60 80 57 */ lis r3, lbl_80572BAC@ha +/* 802A7070 002A3FD0 38 80 00 00 */ li r4, 0 +/* 802A7074 002A3FD4 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l +/* 802A7078 002A3FD8 38 A0 50 00 */ li r5, 0x5000 +/* 802A707C 002A3FDC 4B D5 C3 2D */ bl memset +/* 802A7080 002A3FE0 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha +/* 802A7084 002A3FE4 3C A0 00 01 */ lis r5, 0x0000C000@ha +/* 802A7088 002A3FE8 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l +/* 802A708C 002A3FEC 38 80 00 00 */ li r4, 0 +/* 802A7090 002A3FF0 38 A5 C0 00 */ addi r5, r5, 0x0000C000@l +/* 802A7094 002A3FF4 4B D5 C3 15 */ bl memset +/* 802A7098 002A3FF8 3C 60 80 59 */ lis r3, lbl_80597BAC@ha +/* 802A709C 002A3FFC 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 802A70A0 002A4000 38 63 7B AC */ addi r3, r3, lbl_80597BAC@l +/* 802A70A4 002A4004 38 80 00 00 */ li r4, 0 +/* 802A70A8 002A4008 38 A5 80 00 */ addi r5, r5, 0x00008000@l +/* 802A70AC 002A400C 4B D5 C2 FD */ bl memset +/* 802A70B0 002A4010 A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) +/* 802A70B4 002A4014 38 03 00 01 */ addi r0, r3, 1 +/* 802A70B8 002A4018 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) +lbl_802A70BC: +/* 802A70BC 002A401C A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) +/* 802A70C0 002A4020 38 03 00 01 */ addi r0, r3, 1 +/* 802A70C4 002A4024 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) +/* 802A70C8 002A4028 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A70CC 002A402C 7C 08 03 A6 */ mtlr r0 +/* 802A70D0 002A4030 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A70D4 002A4034 4E 80 00 20 */ blr + +.global ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox +ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox: +/* 802A70D8 002A4038 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 802A70DC 002A403C 7C 08 02 A6 */ mflr r0 +/* 802A70E0 002A4040 90 01 02 34 */ stw r0, 0x234(r1) +/* 802A70E4 002A4044 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 802A70E8 002A4048 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 802A70EC 002A404C DB C1 02 10 */ stfd f30, 0x210(r1) +/* 802A70F0 002A4050 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 802A70F4 002A4054 93 E1 02 0C */ stw r31, 0x20c(r1) +/* 802A70F8 002A4058 93 C1 02 08 */ stw r30, 0x208(r1) +/* 802A70FC 002A405C 93 A1 02 04 */ stw r29, 0x204(r1) +/* 802A7100 002A4060 93 81 02 00 */ stw r28, 0x200(r1) +/* 802A7104 002A4064 39 20 00 00 */ li r9, 0 +/* 802A7108 002A4068 81 0D A5 C0 */ lwz r8, lbl_805A9180@sda21(r13) +/* 802A710C 002A406C 1C C9 00 0C */ mulli r6, r9, 0xc +/* 802A7110 002A4070 80 ED A5 C4 */ lwz r7, lbl_805A9184@sda21(r13) +/* 802A7114 002A4074 39 41 00 18 */ addi r10, r1, 0x18 +/* 802A7118 002A4078 91 21 00 14 */ stw r9, 0x14(r1) +/* 802A711C 002A407C 38 08 00 01 */ addi r0, r8, 1 +/* 802A7120 002A4080 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7124 002A4084 90 0D A5 C0 */ stw r0, lbl_805A9180@sda21(r13) +/* 802A7128 002A4088 7C CA 32 15 */ add. r6, r10, r6 +/* 802A712C 002A408C 7C BE 2B 78 */ mr r30, r5 +/* 802A7130 002A4090 3B E1 01 08 */ addi r31, r1, 0x108 +/* 802A7134 002A4094 91 21 01 08 */ stw r9, 0x108(r1) +/* 802A7138 002A4098 38 00 00 00 */ li r0, 0 +/* 802A713C 002A409C 38 A0 00 01 */ li r5, 1 +/* 802A7140 002A40A0 90 ED A5 C4 */ stw r7, lbl_805A9184@sda21(r13) +/* 802A7144 002A40A4 41 82 00 1C */ beq lbl_802A7160 +/* 802A7148 002A40A8 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A714C 002A40AC C0 24 00 04 */ lfs f1, 4(r4) +/* 802A7150 002A40B0 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A7154 002A40B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A7158 002A40B8 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A715C 002A40BC D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A7160: +/* 802A7160 002A40C0 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A7164 002A40C4 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7168 002A40C8 1C C7 00 0C */ mulli r6, r7, 0xc +/* 802A716C 002A40CC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802A7170 002A40D0 7C CA 32 15 */ add. r6, r10, r6 +/* 802A7174 002A40D4 41 82 00 1C */ beq lbl_802A7190 +/* 802A7178 002A40D8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802A717C 002A40DC C0 24 00 10 */ lfs f1, 0x10(r4) +/* 802A7180 002A40E0 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A7184 002A40E4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A7188 002A40E8 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A718C 002A40EC D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A7190: +/* 802A7190 002A40F0 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A7194 002A40F4 38 E7 00 01 */ addi r7, r7, 1 +/* 802A7198 002A40F8 1C C7 00 0C */ mulli r6, r7, 0xc +/* 802A719C 002A40FC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 802A71A0 002A4100 7C CA 32 15 */ add. r6, r10, r6 +/* 802A71A4 002A4104 41 82 00 1C */ beq lbl_802A71C0 +/* 802A71A8 002A4108 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 802A71AC 002A410C C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 802A71B0 002A4110 D0 06 00 00 */ stfs f0, 0(r6) +/* 802A71B4 002A4114 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 802A71B8 002A4118 D0 26 00 04 */ stfs f1, 4(r6) +/* 802A71BC 002A411C D0 06 00 08 */ stfs f0, 8(r6) +lbl_802A71C0: +/* 802A71C0 002A4120 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 802A71C4 002A4124 38 C0 00 00 */ li r6, 0 +/* 802A71C8 002A4128 C1 42 C1 4C */ lfs f10, lbl_805ADE6C@sda21(r2) +/* 802A71CC 002A412C 38 E7 00 01 */ addi r7, r7, 1 +/* 802A71D0 002A4130 90 E1 00 14 */ stw r7, 0x14(r1) +lbl_802A71D4: +/* 802A71D4 002A4134 1C 85 00 F4 */ mulli r4, r5, 0xf4 +/* 802A71D8 002A4138 39 01 00 14 */ addi r8, r1, 0x14 +/* 802A71DC 002A413C 39 20 00 00 */ li r9, 0 +/* 802A71E0 002A4140 7D 07 43 78 */ mr r7, r8 +/* 802A71E4 002A4144 7D 08 22 14 */ add r8, r8, r4 +/* 802A71E8 002A4148 81 68 00 00 */ lwz r11, 0(r8) +/* 802A71EC 002A414C 1C 80 00 F4 */ mulli r4, r0, 0xf4 +/* 802A71F0 002A4150 2C 0B 00 00 */ cmpwi r11, 0 +/* 802A71F4 002A4154 7C E7 22 14 */ add r7, r7, r4 +/* 802A71F8 002A4158 40 81 00 44 */ ble lbl_802A723C +/* 802A71FC 002A415C 2C 0B 00 08 */ cmpwi r11, 8 +/* 802A7200 002A4160 39 4B FF F8 */ addi r10, r11, -8 +/* 802A7204 002A4164 40 81 00 20 */ ble lbl_802A7224 +/* 802A7208 002A4168 38 8A 00 07 */ addi r4, r10, 7 +/* 802A720C 002A416C 54 84 E8 FE */ srwi r4, r4, 3 +/* 802A7210 002A4170 7C 89 03 A6 */ mtctr r4 +/* 802A7214 002A4174 2C 0A 00 00 */ cmpwi r10, 0 +/* 802A7218 002A4178 40 81 00 0C */ ble lbl_802A7224 +lbl_802A721C: +/* 802A721C 002A417C 39 29 00 08 */ addi r9, r9, 8 +/* 802A7220 002A4180 42 00 FF FC */ bdnz lbl_802A721C +lbl_802A7224: +/* 802A7224 002A4184 7C 89 58 50 */ subf r4, r9, r11 +/* 802A7228 002A4188 7C 89 03 A6 */ mtctr r4 +/* 802A722C 002A418C 7C 09 58 00 */ cmpw r9, r11 +/* 802A7230 002A4190 40 80 00 0C */ bge lbl_802A723C +lbl_802A7234: +/* 802A7234 002A4194 39 29 00 01 */ addi r9, r9, 1 +/* 802A7238 002A4198 42 00 FF FC */ bdnz lbl_802A7234 +lbl_802A723C: +/* 802A723C 002A419C 39 20 00 00 */ li r9, 0 +/* 802A7240 002A41A0 C0 23 00 04 */ lfs f1, 4(r3) +/* 802A7244 002A41A4 91 28 00 00 */ stw r9, 0(r8) +/* 802A7248 002A41A8 38 87 00 04 */ addi r4, r7, 4 +/* 802A724C 002A41AC C0 43 00 00 */ lfs f2, 0(r3) +/* 802A7250 002A41B0 C0 07 00 08 */ lfs f0, 8(r7) +/* 802A7254 002A41B4 C0 83 00 08 */ lfs f4, 8(r3) +/* 802A7258 002A41B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 802A725C 002A41BC C0 27 00 04 */ lfs f1, 4(r7) +/* 802A7260 002A41C0 C0 67 00 0C */ lfs f3, 0xc(r7) +/* 802A7264 002A41C4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 802A7268 002A41C8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 802A726C 002A41CC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 802A7270 002A41D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 802A7274 002A41D4 FC 00 50 40 */ fcmpo cr0, f0, f10 +/* 802A7278 002A41D8 4C 41 13 82 */ cror 2, 1, 2 +/* 802A727C 002A41DC 7D 20 00 26 */ mfcr r9 +/* 802A7280 002A41E0 39 40 00 00 */ li r10, 0 +/* 802A7284 002A41E4 55 29 1F FE */ rlwinm r9, r9, 3, 0x1f, 0x1f +/* 802A7288 002A41E8 48 00 01 5C */ b lbl_802A73E4 +lbl_802A728C: +/* 802A728C 002A41EC 3B AB FF FF */ addi r29, r11, -1 +/* 802A7290 002A41F0 55 2B 06 3F */ clrlwi. r11, r9, 0x18 +/* 802A7294 002A41F4 7F 9D 50 50 */ subf r28, r29, r10 +/* 802A7298 002A41F8 39 8A 00 01 */ addi r12, r10, 1 +/* 802A729C 002A41FC 7F AA E8 50 */ subf r29, r10, r29 +/* 802A72A0 002A4200 7F 8B E8 F8 */ nor r11, r28, r29 +/* 802A72A4 002A4204 7D 6B FE 70 */ srawi r11, r11, 0x1f +/* 802A72A8 002A4208 7D 8B 58 78 */ andc r11, r12, r11 +/* 802A72AC 002A420C 1D 6B 00 0C */ mulli r11, r11, 0xc +/* 802A72B0 002A4210 7D 87 5A 14 */ add r12, r7, r11 +/* 802A72B4 002A4214 41 82 00 3C */ beq lbl_802A72F0 +/* 802A72B8 002A4218 81 68 00 00 */ lwz r11, 0(r8) +/* 802A72BC 002A421C 1D 6B 00 0C */ mulli r11, r11, 0xc +/* 802A72C0 002A4220 7D 68 5A 14 */ add r11, r8, r11 +/* 802A72C4 002A4224 35 6B 00 04 */ addic. r11, r11, 4 +/* 802A72C8 002A4228 41 82 00 1C */ beq lbl_802A72E4 +/* 802A72CC 002A422C C0 04 00 00 */ lfs f0, 0(r4) +/* 802A72D0 002A4230 D0 0B 00 00 */ stfs f0, 0(r11) +/* 802A72D4 002A4234 C0 04 00 04 */ lfs f0, 4(r4) +/* 802A72D8 002A4238 D0 0B 00 04 */ stfs f0, 4(r11) +/* 802A72DC 002A423C C0 04 00 08 */ lfs f0, 8(r4) +/* 802A72E0 002A4240 D0 0B 00 08 */ stfs f0, 8(r11) +lbl_802A72E4: +/* 802A72E4 002A4244 81 68 00 00 */ lwz r11, 0(r8) +/* 802A72E8 002A4248 39 6B 00 01 */ addi r11, r11, 1 +/* 802A72EC 002A424C 91 68 00 00 */ stw r11, 0(r8) +lbl_802A72F0: +/* 802A72F0 002A4250 C0 A3 00 04 */ lfs f5, 4(r3) +/* 802A72F4 002A4254 C0 2C 00 08 */ lfs f1, 8(r12) +/* 802A72F8 002A4258 C1 83 00 00 */ lfs f12, 0(r3) +/* 802A72FC 002A425C EC 65 00 72 */ fmuls f3, f5, f1 +/* 802A7300 002A4260 C0 0C 00 04 */ lfs f0, 4(r12) +/* 802A7304 002A4264 C1 A3 00 08 */ lfs f13, 8(r3) +/* 802A7308 002A4268 C0 4C 00 0C */ lfs f2, 0xc(r12) +/* 802A730C 002A426C EC 6C 18 3A */ fmadds f3, f12, f0, f3 +/* 802A7310 002A4270 C1 63 00 0C */ lfs f11, 0xc(r3) +/* 802A7314 002A4274 EC 6D 18 BA */ fmadds f3, f13, f2, f3 +/* 802A7318 002A4278 EC 63 58 28 */ fsubs f3, f3, f11 +/* 802A731C 002A427C FC 03 50 40 */ fcmpo cr0, f3, f10 +/* 802A7320 002A4280 4C 41 13 82 */ cror 2, 1, 2 +/* 802A7324 002A4284 7D 60 00 26 */ mfcr r11 +/* 802A7328 002A4288 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 802A732C 002A428C 55 6B 1F FE */ rlwinm r11, r11, 3, 0x1f, 0x1f +/* 802A7330 002A4290 7D 69 4A 79 */ xor. r9, r11, r9 +/* 802A7334 002A4294 41 82 00 A4 */ beq lbl_802A73D8 +/* 802A7338 002A4298 C1 24 00 04 */ lfs f9, 4(r4) +/* 802A733C 002A429C C0 E4 00 00 */ lfs f7, 0(r4) +/* 802A7340 002A42A0 EC 69 01 72 */ fmuls f3, f9, f5 +/* 802A7344 002A42A4 C1 04 00 08 */ lfs f8, 8(r4) +/* 802A7348 002A42A8 EF C1 48 28 */ fsubs f30, f1, f9 +/* 802A734C 002A42AC 81 28 00 00 */ lwz r9, 0(r8) +/* 802A7350 002A42B0 EC C0 38 28 */ fsubs f6, f0, f7 +/* 802A7354 002A42B4 C0 82 C1 64 */ lfs f4, lbl_805ADE84@sda21(r2) +/* 802A7358 002A42B8 EC 67 1B 3A */ fmadds f3, f7, f12, f3 +/* 802A735C 002A42BC 1D 29 00 0C */ mulli r9, r9, 0xc +/* 802A7360 002A42C0 EC BE 01 72 */ fmuls f5, f30, f5 +/* 802A7364 002A42C4 D0 C1 00 08 */ stfs f6, 8(r1) +/* 802A7368 002A42C8 EF E2 40 28 */ fsubs f31, f2, f8 +/* 802A736C 002A42CC EC 68 1B 7A */ fmadds f3, f8, f13, f3 +/* 802A7370 002A42D0 EC A6 2B 3A */ fmadds f5, f6, f12, f5 +/* 802A7374 002A42D4 7D 28 4A 14 */ add r9, r8, r9 +/* 802A7378 002A42D8 ED 87 00 28 */ fsubs f12, f7, f0 +/* 802A737C 002A42DC 35 29 00 04 */ addic. r9, r9, 4 +/* 802A7380 002A42E0 EC 63 58 28 */ fsubs f3, f3, f11 +/* 802A7384 002A42E4 EC BF 2B 7A */ fmadds f5, f31, f13, f5 +/* 802A7388 002A42E8 EC E9 08 28 */ fsubs f7, f9, f1 +/* 802A738C 002A42EC D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 802A7390 002A42F0 FC 60 18 50 */ fneg f3, f3 +/* 802A7394 002A42F4 EC C8 10 28 */ fsubs f6, f8, f2 +/* 802A7398 002A42F8 D3 E1 00 10 */ stfs f31, 0x10(r1) +/* 802A739C 002A42FC EC 63 28 24 */ fdivs f3, f3, f5 +/* 802A73A0 002A4300 EC 64 18 28 */ fsubs f3, f4, f3 +/* 802A73A4 002A4304 EC A3 03 32 */ fmuls f5, f3, f12 +/* 802A73A8 002A4308 EC 83 01 F2 */ fmuls f4, f3, f7 +/* 802A73AC 002A430C EC 63 01 B2 */ fmuls f3, f3, f6 +/* 802A73B0 002A4310 EC A5 00 2A */ fadds f5, f5, f0 +/* 802A73B4 002A4314 EC 24 08 2A */ fadds f1, f4, f1 +/* 802A73B8 002A4318 EC 03 10 2A */ fadds f0, f3, f2 +/* 802A73BC 002A431C 41 82 00 10 */ beq lbl_802A73CC +/* 802A73C0 002A4320 D0 A9 00 00 */ stfs f5, 0(r9) +/* 802A73C4 002A4324 D0 29 00 04 */ stfs f1, 4(r9) +/* 802A73C8 002A4328 D0 09 00 08 */ stfs f0, 8(r9) +lbl_802A73CC: +/* 802A73CC 002A432C 81 28 00 00 */ lwz r9, 0(r8) +/* 802A73D0 002A4330 39 29 00 01 */ addi r9, r9, 1 +/* 802A73D4 002A4334 91 28 00 00 */ stw r9, 0(r8) +lbl_802A73D8: +/* 802A73D8 002A4338 7D 69 5B 78 */ mr r9, r11 +/* 802A73DC 002A433C 38 84 00 0C */ addi r4, r4, 0xc +/* 802A73E0 002A4340 39 4A 00 01 */ addi r10, r10, 1 +lbl_802A73E4: +/* 802A73E4 002A4344 81 67 00 00 */ lwz r11, 0(r7) +/* 802A73E8 002A4348 7C 0A 58 00 */ cmpw r10, r11 +/* 802A73EC 002A434C 41 80 FE A0 */ blt lbl_802A728C +/* 802A73F0 002A4350 80 88 00 00 */ lwz r4, 0(r8) +/* 802A73F4 002A4354 2C 04 00 00 */ cmpwi r4, 0 +/* 802A73F8 002A4358 40 82 00 BC */ bne lbl_802A74B4 +/* 802A73FC 002A435C 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7400 002A4360 41 82 00 58 */ beq lbl_802A7458 +/* 802A7404 002A4364 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A7408 002A4368 38 60 00 00 */ li r3, 0 +/* 802A740C 002A436C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7410 002A4370 40 81 00 40 */ ble lbl_802A7450 +/* 802A7414 002A4374 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7418 002A4378 38 85 FF F8 */ addi r4, r5, -8 +/* 802A741C 002A437C 40 81 00 20 */ ble lbl_802A743C +/* 802A7420 002A4380 38 04 00 07 */ addi r0, r4, 7 +/* 802A7424 002A4384 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7428 002A4388 7C 09 03 A6 */ mtctr r0 +/* 802A742C 002A438C 2C 04 00 00 */ cmpwi r4, 0 +/* 802A7430 002A4390 40 81 00 0C */ ble lbl_802A743C +lbl_802A7434: +/* 802A7434 002A4394 38 63 00 08 */ addi r3, r3, 8 +/* 802A7438 002A4398 42 00 FF FC */ bdnz lbl_802A7434 +lbl_802A743C: +/* 802A743C 002A439C 7C 03 28 50 */ subf r0, r3, r5 +/* 802A7440 002A43A0 7C 09 03 A6 */ mtctr r0 +/* 802A7444 002A43A4 7C 03 28 00 */ cmpw r3, r5 +/* 802A7448 002A43A8 40 80 00 08 */ bge lbl_802A7450 +lbl_802A744C: +/* 802A744C 002A43AC 42 00 00 00 */ bdnz lbl_802A744C +lbl_802A7450: +/* 802A7450 002A43B0 38 00 00 00 */ li r0, 0 +/* 802A7454 002A43B4 90 01 01 08 */ stw r0, 0x108(r1) +lbl_802A7458: +/* 802A7458 002A43B8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802A745C 002A43BC 38 60 00 00 */ li r3, 0 +/* 802A7460 002A43C0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7464 002A43C4 40 81 00 40 */ ble lbl_802A74A4 +/* 802A7468 002A43C8 2C 05 00 08 */ cmpwi r5, 8 +/* 802A746C 002A43CC 38 85 FF F8 */ addi r4, r5, -8 +/* 802A7470 002A43D0 40 81 00 20 */ ble lbl_802A7490 +/* 802A7474 002A43D4 38 04 00 07 */ addi r0, r4, 7 +/* 802A7478 002A43D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A747C 002A43DC 7C 09 03 A6 */ mtctr r0 +/* 802A7480 002A43E0 2C 04 00 00 */ cmpwi r4, 0 +/* 802A7484 002A43E4 40 81 00 0C */ ble lbl_802A7490 +lbl_802A7488: +/* 802A7488 002A43E8 38 63 00 08 */ addi r3, r3, 8 +/* 802A748C 002A43EC 42 00 FF FC */ bdnz lbl_802A7488 +lbl_802A7490: +/* 802A7490 002A43F0 7C 03 28 50 */ subf r0, r3, r5 +/* 802A7494 002A43F4 7C 09 03 A6 */ mtctr r0 +/* 802A7498 002A43F8 7C 03 28 00 */ cmpw r3, r5 +/* 802A749C 002A43FC 40 80 00 08 */ bge lbl_802A74A4 +lbl_802A74A0: +/* 802A74A0 002A4400 42 00 00 00 */ bdnz lbl_802A74A0 +lbl_802A74A4: +/* 802A74A4 002A4404 38 00 00 00 */ li r0, 0 +/* 802A74A8 002A4408 38 60 00 00 */ li r3, 0 +/* 802A74AC 002A440C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A74B0 002A4410 48 00 01 1C */ b lbl_802A75CC +lbl_802A74B4: +/* 802A74B4 002A4414 38 C6 00 01 */ addi r6, r6, 1 +/* 802A74B8 002A4418 68 A5 00 01 */ xori r5, r5, 1 +/* 802A74BC 002A441C 2C 06 00 06 */ cmpwi r6, 6 +/* 802A74C0 002A4420 68 00 00 01 */ xori r0, r0, 1 +/* 802A74C4 002A4424 38 63 00 10 */ addi r3, r3, 0x10 +/* 802A74C8 002A4428 41 80 FD 0C */ blt lbl_802A71D4 +/* 802A74CC 002A442C 68 A0 00 01 */ xori r0, r5, 1 +/* 802A74D0 002A4430 3B 81 00 14 */ addi r28, r1, 0x14 +/* 802A74D4 002A4434 1C 00 00 F4 */ mulli r0, r0, 0xf4 +/* 802A74D8 002A4438 7F 9C 02 14 */ add r28, r28, r0 +/* 802A74DC 002A443C 3B BC 00 04 */ addi r29, r28, 4 +/* 802A74E0 002A4440 48 00 00 14 */ b lbl_802A74F4 +lbl_802A74E4: +/* 802A74E4 002A4444 7F C3 F3 78 */ mr r3, r30 +/* 802A74E8 002A4448 7F A4 EB 78 */ mr r4, r29 +/* 802A74EC 002A444C 48 09 06 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 802A74F0 002A4450 3B BD 00 0C */ addi r29, r29, 0xc +lbl_802A74F4: +/* 802A74F4 002A4454 80 1C 00 00 */ lwz r0, 0(r28) +/* 802A74F8 002A4458 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A74FC 002A445C 7C 7C 02 14 */ add r3, r28, r0 +/* 802A7500 002A4460 38 03 00 04 */ addi r0, r3, 4 +/* 802A7504 002A4464 7C 1D 00 40 */ cmplw r29, r0 +/* 802A7508 002A4468 40 82 FF DC */ bne lbl_802A74E4 +/* 802A750C 002A446C 80 6D A5 C4 */ lwz r3, lbl_805A9184@sda21(r13) +/* 802A7510 002A4470 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7514 002A4474 38 03 FF FF */ addi r0, r3, -1 +/* 802A7518 002A4478 90 0D A5 C4 */ stw r0, lbl_805A9184@sda21(r13) +/* 802A751C 002A447C 41 82 00 58 */ beq lbl_802A7574 +/* 802A7520 002A4480 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A7524 002A4484 38 60 00 00 */ li r3, 0 +/* 802A7528 002A4488 2C 05 00 00 */ cmpwi r5, 0 +/* 802A752C 002A448C 40 81 00 40 */ ble lbl_802A756C +/* 802A7530 002A4490 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7534 002A4494 38 85 FF F8 */ addi r4, r5, -8 +/* 802A7538 002A4498 40 81 00 20 */ ble lbl_802A7558 +/* 802A753C 002A449C 38 04 00 07 */ addi r0, r4, 7 +/* 802A7540 002A44A0 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7544 002A44A4 7C 09 03 A6 */ mtctr r0 +/* 802A7548 002A44A8 2C 04 00 00 */ cmpwi r4, 0 +/* 802A754C 002A44AC 40 81 00 0C */ ble lbl_802A7558 +lbl_802A7550: +/* 802A7550 002A44B0 38 63 00 08 */ addi r3, r3, 8 +/* 802A7554 002A44B4 42 00 FF FC */ bdnz lbl_802A7550 +lbl_802A7558: +/* 802A7558 002A44B8 7C 03 28 50 */ subf r0, r3, r5 +/* 802A755C 002A44BC 7C 09 03 A6 */ mtctr r0 +/* 802A7560 002A44C0 7C 03 28 00 */ cmpw r3, r5 +/* 802A7564 002A44C4 40 80 00 08 */ bge lbl_802A756C +lbl_802A7568: +/* 802A7568 002A44C8 42 00 00 00 */ bdnz lbl_802A7568 +lbl_802A756C: +/* 802A756C 002A44CC 38 00 00 00 */ li r0, 0 +/* 802A7570 002A44D0 90 01 01 08 */ stw r0, 0x108(r1) +lbl_802A7574: +/* 802A7574 002A44D4 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 802A7578 002A44D8 38 60 00 00 */ li r3, 0 +/* 802A757C 002A44DC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7580 002A44E0 40 81 00 40 */ ble lbl_802A75C0 +/* 802A7584 002A44E4 2C 05 00 08 */ cmpwi r5, 8 +/* 802A7588 002A44E8 38 85 FF F8 */ addi r4, r5, -8 +/* 802A758C 002A44EC 40 81 00 20 */ ble lbl_802A75AC +/* 802A7590 002A44F0 38 04 00 07 */ addi r0, r4, 7 +/* 802A7594 002A44F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 802A7598 002A44F8 7C 09 03 A6 */ mtctr r0 +/* 802A759C 002A44FC 2C 04 00 00 */ cmpwi r4, 0 +/* 802A75A0 002A4500 40 81 00 0C */ ble lbl_802A75AC +lbl_802A75A4: +/* 802A75A4 002A4504 38 63 00 08 */ addi r3, r3, 8 +/* 802A75A8 002A4508 42 00 FF FC */ bdnz lbl_802A75A4 +lbl_802A75AC: +/* 802A75AC 002A450C 7C 03 28 50 */ subf r0, r3, r5 +/* 802A75B0 002A4510 7C 09 03 A6 */ mtctr r0 +/* 802A75B4 002A4514 7C 03 28 00 */ cmpw r3, r5 +/* 802A75B8 002A4518 40 80 00 08 */ bge lbl_802A75C0 +lbl_802A75BC: +/* 802A75BC 002A451C 42 00 00 00 */ bdnz lbl_802A75BC +lbl_802A75C0: +/* 802A75C0 002A4520 38 00 00 00 */ li r0, 0 +/* 802A75C4 002A4524 38 60 00 01 */ li r3, 1 +/* 802A75C8 002A4528 90 01 00 14 */ stw r0, 0x14(r1) +lbl_802A75CC: +/* 802A75CC 002A452C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 802A75D0 002A4530 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 802A75D4 002A4534 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 802A75D8 002A4538 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 802A75DC 002A453C 83 E1 02 0C */ lwz r31, 0x20c(r1) +/* 802A75E0 002A4540 83 C1 02 08 */ lwz r30, 0x208(r1) +/* 802A75E4 002A4544 83 A1 02 04 */ lwz r29, 0x204(r1) +/* 802A75E8 002A4548 80 01 02 34 */ lwz r0, 0x234(r1) +/* 802A75EC 002A454C 83 81 02 00 */ lwz r28, 0x200(r1) +/* 802A75F0 002A4550 7C 08 03 A6 */ mtlr r0 +/* 802A75F4 002A4554 38 21 02 30 */ addi r1, r1, 0x230 +/* 802A75F8 002A4558 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CMetroidModelInstance.s b/asm/WorldFormat/CMetroidModelInstance.s new file mode 100644 index 00000000..e9bf6bc5 --- /dev/null +++ b/asm/WorldFormat/CMetroidModelInstance.s @@ -0,0 +1,123 @@ +.include "macros.inc" + +.section .text, "ax" + +.global "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector" +"__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector": +/* 802A2778 0029F6D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 802A277C 0029F6DC 7C 08 02 A6 */ mflr r0 +/* 802A2780 0029F6E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A2784 0029F6E4 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 802A2788 0029F6E8 7C 97 23 78 */ mr r23, r4 +/* 802A278C 0029F6EC 83 E1 00 58 */ lwz r31, 0x58(r1) +/* 802A2790 0029F6F0 7C 79 1B 78 */ mr r25, r3 +/* 802A2794 0029F6F4 7C B8 2B 78 */ mr r24, r5 +/* 802A2798 0029F6F8 7C DA 33 78 */ mr r26, r6 +/* 802A279C 0029F6FC 7C FB 3B 78 */ mr r27, r7 +/* 802A27A0 0029F700 7D 1C 43 78 */ mr r28, r8 +/* 802A27A4 0029F704 7D 3D 4B 78 */ mr r29, r9 +/* 802A27A8 0029F708 7D 5E 53 78 */ mr r30, r10 +/* 802A27AC 0029F70C 80 04 00 00 */ lwz r0, 0(r4) +/* 802A27B0 0029F710 90 03 00 00 */ stw r0, 0(r3) +/* 802A27B4 0029F714 38 77 00 04 */ addi r3, r23, 4 +/* 802A27B8 0029F718 48 00 01 65 */ bl nullsub_30 +/* 802A27BC 0029F71C 7C 64 1B 78 */ mr r4, r3 +/* 802A27C0 0029F720 38 79 00 04 */ addi r3, r25, 4 +/* 802A27C4 0029F724 48 07 03 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 802A27C8 0029F728 38 61 00 08 */ addi r3, r1, 8 +/* 802A27CC 0029F72C 38 97 00 34 */ addi r4, r23, 0x34 +/* 802A27D0 0029F730 48 00 00 F9 */ bl sub_802a28c8 +/* 802A27D4 0029F734 C0 01 00 08 */ lfs f0, 8(r1) +/* 802A27D8 0029F738 D0 19 00 34 */ stfs f0, 0x34(r25) +/* 802A27DC 0029F73C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A27E0 0029F740 D0 19 00 38 */ stfs f0, 0x38(r25) +/* 802A27E4 0029F744 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A27E8 0029F748 D0 19 00 3C */ stfs f0, 0x3c(r25) +/* 802A27EC 0029F74C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A27F0 0029F750 D0 19 00 40 */ stfs f0, 0x40(r25) +/* 802A27F4 0029F754 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 802A27F8 0029F758 D0 19 00 44 */ stfs f0, 0x44(r25) +/* 802A27FC 0029F75C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 802A2800 0029F760 D0 19 00 48 */ stfs f0, 0x48(r25) +/* 802A2804 0029F764 93 19 00 4C */ stw r24, 0x4c(r25) +/* 802A2808 0029F768 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A280C 0029F76C 90 19 00 54 */ stw r0, 0x54(r25) +/* 802A2810 0029F770 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A2814 0029F774 90 19 00 58 */ stw r0, 0x58(r25) +/* 802A2818 0029F778 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A281C 0029F77C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A2820 0029F780 40 82 00 1C */ bne lbl_802A283C +/* 802A2824 0029F784 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A2828 0029F788 2C 00 00 00 */ cmpwi r0, 0 +/* 802A282C 0029F78C 40 82 00 10 */ bne lbl_802A283C +/* 802A2830 0029F790 38 00 00 00 */ li r0, 0 +/* 802A2834 0029F794 90 19 00 5C */ stw r0, 0x5c(r25) +/* 802A2838 0029F798 48 00 00 64 */ b lbl_802A289C +lbl_802A283C: +/* 802A283C 0029F79C 80 19 00 58 */ lwz r0, 0x58(r25) +/* 802A2840 0029F7A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A2844 0029F7A4 40 82 00 10 */ bne lbl_802A2854 +/* 802A2848 0029F7A8 38 00 00 00 */ li r0, 0 +/* 802A284C 0029F7AC 90 19 00 5C */ stw r0, 0x5c(r25) +/* 802A2850 0029F7B0 48 00 00 18 */ b lbl_802A2868 +lbl_802A2854: +/* 802A2854 0029F7B4 3C 80 80 3D */ lis r4, lbl_803D6018@ha +/* 802A2858 0029F7B8 38 A0 00 00 */ li r5, 0 +/* 802A285C 0029F7BC 38 84 60 18 */ addi r4, r4, lbl_803D6018@l +/* 802A2860 0029F7C0 48 07 2F B9 */ bl __nwa__FUlPCcPCc +/* 802A2864 0029F7C4 90 79 00 5C */ stw r3, 0x5c(r25) +lbl_802A2868: +/* 802A2868 0029F7C8 80 19 00 54 */ lwz r0, 0x54(r25) +/* 802A286C 0029F7CC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A2870 0029F7D0 80 79 00 5C */ lwz r3, 0x5c(r25) +/* 802A2874 0029F7D4 7C 09 03 A6 */ mtctr r0 +/* 802A2878 0029F7D8 2C 00 00 00 */ cmpwi r0, 0 +/* 802A287C 0029F7DC 40 81 00 20 */ ble lbl_802A289C +lbl_802A2880: +/* 802A2880 0029F7E0 28 03 00 00 */ cmplwi r3, 0 +/* 802A2884 0029F7E4 41 82 00 0C */ beq lbl_802A2890 +/* 802A2888 0029F7E8 80 04 00 00 */ lwz r0, 0(r4) +/* 802A288C 0029F7EC 90 03 00 00 */ stw r0, 0(r3) +lbl_802A2890: +/* 802A2890 0029F7F0 38 63 00 04 */ addi r3, r3, 4 +/* 802A2894 0029F7F4 38 84 00 04 */ addi r4, r4, 4 +/* 802A2898 0029F7F8 42 00 FF E8 */ bdnz lbl_802A2880 +lbl_802A289C: +/* 802A289C 0029F7FC 93 59 00 60 */ stw r26, 0x60(r25) +/* 802A28A0 0029F800 7F 23 CB 78 */ mr r3, r25 +/* 802A28A4 0029F804 93 79 00 64 */ stw r27, 0x64(r25) +/* 802A28A8 0029F808 93 99 00 68 */ stw r28, 0x68(r25) +/* 802A28AC 0029F80C 93 B9 00 6C */ stw r29, 0x6c(r25) +/* 802A28B0 0029F810 93 D9 00 70 */ stw r30, 0x70(r25) +/* 802A28B4 0029F814 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 802A28B8 0029F818 80 01 00 54 */ lwz r0, 0x54(r1) +/* 802A28BC 0029F81C 7C 08 03 A6 */ mtlr r0 +/* 802A28C0 0029F820 38 21 00 50 */ addi r1, r1, 0x50 +/* 802A28C4 0029F824 4E 80 00 20 */ blr + +.global sub_802a28c8 +sub_802a28c8: +/* 802A28C8 0029F828 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A28CC 0029F82C C0 24 00 00 */ lfs f1, 0(r4) +/* 802A28D0 0029F830 C0 A4 00 04 */ lfs f5, 4(r4) +/* 802A28D4 0029F834 C0 84 00 08 */ lfs f4, 8(r4) +/* 802A28D8 0029F838 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802A28DC 0029F83C C0 44 00 10 */ lfs f2, 0x10(r4) +/* 802A28E0 0029F840 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802A28E4 0029F844 D0 21 00 08 */ stfs f1, 8(r1) +/* 802A28E8 0029F848 D0 23 00 00 */ stfs f1, 0(r3) +/* 802A28EC 0029F84C D0 A3 00 04 */ stfs f5, 4(r3) +/* 802A28F0 0029F850 D0 83 00 08 */ stfs f4, 8(r3) +/* 802A28F4 0029F854 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 802A28F8 0029F858 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 802A28FC 0029F85C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 802A2900 0029F860 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802A2904 0029F864 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 802A2908 0029F868 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 802A290C 0029F86C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 802A2910 0029F870 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802A2914 0029F874 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A2918 0029F878 4E 80 00 20 */ blr + +nullsub_30: +/* 802A291C 0029F87C 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/COBBTree.s b/asm/WorldFormat/COBBTree.s new file mode 100644 index 00000000..36816a1b --- /dev/null +++ b/asm/WorldFormat/COBBTree.s @@ -0,0 +1,2332 @@ +.include "macros.inc" + +.section .text, "ax" + +.global Alloc__Q28COBBTree16CSimpleAllocatorFUl +Alloc__Q28COBBTree16CSimpleAllocatorFUl: +/* 802A7974 002A48D4 80 A3 00 08 */ lwz r5, 8(r3) +/* 802A7978 002A48D8 80 C3 00 00 */ lwz r6, 0(r3) +/* 802A797C 002A48DC 7C 05 22 14 */ add r0, r5, r4 +/* 802A7980 002A48E0 90 03 00 08 */ stw r0, 8(r3) +/* 802A7984 002A48E4 7C A6 2A 14 */ add r5, r6, r5 +/* 802A7988 002A48E8 80 83 00 08 */ lwz r4, 8(r3) +/* 802A798C 002A48EC 54 80 07 BF */ clrlwi. r0, r4, 0x1e +/* 802A7990 002A48F0 41 82 00 10 */ beq lbl_802A79A0 +/* 802A7994 002A48F4 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7998 002A48F8 7C 04 02 14 */ add r0, r4, r0 +/* 802A799C 002A48FC 90 03 00 08 */ stw r0, 8(r3) +lbl_802A79A0: +/* 802A79A0 002A4900 7C A3 2B 78 */ mr r3, r5 +/* 802A79A4 002A4904 4E 80 00 20 */ blr + +.global __dt__Q28COBBTree16CSimpleAllocatorFv +__dt__Q28COBBTree16CSimpleAllocatorFv: +/* 802A79A8 002A4908 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A79AC 002A490C 7C 08 02 A6 */ mflr r0 +/* 802A79B0 002A4910 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A79B4 002A4914 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A79B8 002A4918 7C 9F 23 78 */ mr r31, r4 +/* 802A79BC 002A491C 93 C1 00 08 */ stw r30, 8(r1) +/* 802A79C0 002A4920 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A79C4 002A4924 41 82 00 24 */ beq lbl_802A79E8 +/* 802A79C8 002A4928 80 7E 00 00 */ lwz r3, 0(r30) +/* 802A79CC 002A492C 28 03 00 00 */ cmplwi r3, 0 +/* 802A79D0 002A4930 41 82 00 08 */ beq lbl_802A79D8 +/* 802A79D4 002A4934 48 06 DF 5D */ bl Free__7CMemoryFPCv +lbl_802A79D8: +/* 802A79D8 002A4938 7F E0 07 35 */ extsh. r0, r31 +/* 802A79DC 002A493C 40 81 00 0C */ ble lbl_802A79E8 +/* 802A79E0 002A4940 7F C3 F3 78 */ mr r3, r30 +/* 802A79E4 002A4944 48 06 DF 4D */ bl Free__7CMemoryFPCv +lbl_802A79E8: +/* 802A79E8 002A4948 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A79EC 002A494C 7F C3 F3 78 */ mr r3, r30 +/* 802A79F0 002A4950 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A79F4 002A4954 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A79F8 002A4958 7C 08 03 A6 */ mtlr r0 +/* 802A79FC 002A495C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7A00 002A4960 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree16CSimpleAllocatorFUi +__ct__Q28COBBTree16CSimpleAllocatorFUi: +/* 802A7A04 002A4964 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7A08 002A4968 7C 08 02 A6 */ mflr r0 +/* 802A7A0C 002A496C 3C A0 80 3D */ lis r5, lbl_803D60E8@ha +/* 802A7A10 002A4970 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7A14 002A4974 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7A18 002A4978 7C 9F 23 78 */ mr r31, r4 +/* 802A7A1C 002A497C 38 85 60 E8 */ addi r4, r5, lbl_803D60E8@l +/* 802A7A20 002A4980 38 A0 00 00 */ li r5, 0 +/* 802A7A24 002A4984 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7A28 002A4988 7C 7E 1B 78 */ mr r30, r3 +/* 802A7A2C 002A498C 7F E3 FB 78 */ mr r3, r31 +/* 802A7A30 002A4990 48 06 DD E9 */ bl __nwa__FUlPCcPCc +/* 802A7A34 002A4994 90 7E 00 00 */ stw r3, 0(r30) +/* 802A7A38 002A4998 38 00 00 00 */ li r0, 0 +/* 802A7A3C 002A499C 7F C3 F3 78 */ mr r3, r30 +/* 802A7A40 002A49A0 93 FE 00 04 */ stw r31, 4(r30) +/* 802A7A44 002A49A4 90 1E 00 08 */ stw r0, 8(r30) +/* 802A7A48 002A49A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7A4C 002A49AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7A50 002A49B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7A54 002A49B4 7C 08 03 A6 */ mtlr r0 +/* 802A7A58 002A49B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7A5C 002A49BC 4E 80 00 20 */ blr + +.global GetMemoryUsage__Q28COBBTree9CLeafDataCFv +GetMemoryUsage__Q28COBBTree9CLeafDataCFv: +/* 802A7A60 002A49C0 80 03 00 04 */ lwz r0, 4(r3) +/* 802A7A64 002A49C4 54 03 08 3C */ slwi r3, r0, 1 +/* 802A7A68 002A49C8 38 63 00 10 */ addi r3, r3, 0x10 +/* 802A7A6C 002A49CC 54 60 07 BF */ clrlwi. r0, r3, 0x1e +/* 802A7A70 002A49D0 4D 82 00 20 */ beqlr +/* 802A7A74 002A49D4 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7A78 002A49D8 7C 63 02 14 */ add r3, r3, r0 +/* 802A7A7C 002A49DC 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree9CLeafDataFR12CInputStream +__ct__Q28COBBTree9CLeafDataFR12CInputStream: +/* 802A7A80 002A49E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A7A84 002A49E4 7C 08 02 A6 */ mflr r0 +/* 802A7A88 002A49E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A7A8C 002A49EC 38 00 00 00 */ li r0, 0 +/* 802A7A90 002A49F0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 802A7A94 002A49F4 7C 7B 1B 78 */ mr r27, r3 +/* 802A7A98 002A49F8 7C 9C 23 78 */ mr r28, r4 +/* 802A7A9C 002A49FC 90 03 00 04 */ stw r0, 4(r3) +/* 802A7AA0 002A4A00 7F 83 E3 78 */ mr r3, r28 +/* 802A7AA4 002A4A04 90 1B 00 08 */ stw r0, 8(r27) +/* 802A7AA8 002A4A08 90 1B 00 0C */ stw r0, 0xc(r27) +/* 802A7AAC 002A4A0C 48 09 71 D9 */ bl ReadLong__12CInputStreamFv +/* 802A7AB0 002A4A10 7C 7D 1B 78 */ mr r29, r3 +/* 802A7AB4 002A4A14 7F 63 DB 78 */ mr r3, r27 +/* 802A7AB8 002A4A18 7F A4 EB 78 */ mr r4, r29 +/* 802A7ABC 002A4A1C 4B DB C8 45 */ bl "reserve__Q24rstl37vectorFi" +/* 802A7AC0 002A4A20 3B C0 00 00 */ li r30, 0 +/* 802A7AC4 002A4A24 48 00 00 60 */ b lbl_802A7B24 +lbl_802A7AC8: +/* 802A7AC8 002A4A28 7F 83 E3 78 */ mr r3, r28 +/* 802A7ACC 002A4A2C 48 09 71 E5 */ bl ReadShort__12CInputStreamFv +/* 802A7AD0 002A4A30 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A7AD4 002A4A34 7C 7F 1B 78 */ mr r31, r3 +/* 802A7AD8 002A4A38 80 BB 00 08 */ lwz r5, 8(r27) +/* 802A7ADC 002A4A3C 7C 00 28 00 */ cmpw r0, r5 +/* 802A7AE0 002A4A40 41 80 00 1C */ blt lbl_802A7AFC +/* 802A7AE4 002A4A44 2C 05 00 00 */ cmpwi r5, 0 +/* 802A7AE8 002A4A48 7F 63 DB 78 */ mr r3, r27 +/* 802A7AEC 002A4A4C 38 80 00 04 */ li r4, 4 +/* 802A7AF0 002A4A50 41 82 00 08 */ beq lbl_802A7AF8 +/* 802A7AF4 002A4A54 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A7AF8: +/* 802A7AF8 002A4A58 4B DB C8 09 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A7AFC: +/* 802A7AFC 002A4A5C 80 1B 00 04 */ lwz r0, 4(r27) +/* 802A7B00 002A4A60 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 802A7B04 002A4A64 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7B08 002A4A68 7C 63 02 15 */ add. r3, r3, r0 +/* 802A7B0C 002A4A6C 41 82 00 08 */ beq lbl_802A7B14 +/* 802A7B10 002A4A70 B3 E3 00 00 */ sth r31, 0(r3) +lbl_802A7B14: +/* 802A7B14 002A4A74 80 7B 00 04 */ lwz r3, 4(r27) +/* 802A7B18 002A4A78 3B DE 00 01 */ addi r30, r30, 1 +/* 802A7B1C 002A4A7C 38 03 00 01 */ addi r0, r3, 1 +/* 802A7B20 002A4A80 90 1B 00 04 */ stw r0, 4(r27) +lbl_802A7B24: +/* 802A7B24 002A4A84 7C 1E E8 00 */ cmpw r30, r29 +/* 802A7B28 002A4A88 41 80 FF A0 */ blt lbl_802A7AC8 +/* 802A7B2C 002A4A8C 7F 63 DB 78 */ mr r3, r27 +/* 802A7B30 002A4A90 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 802A7B34 002A4A94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A7B38 002A4A98 7C 08 03 A6 */ mtlr r0 +/* 802A7B3C 002A4A9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A7B40 002A4AA0 4E 80 00 20 */ blr + +.global "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" +"__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector": +/* 802A7B44 002A4AA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7B48 002A4AA8 7C 08 02 A6 */ mflr r0 +/* 802A7B4C 002A4AAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7B50 002A4AB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7B54 002A4AB4 7C 9F 23 78 */ mr r31, r4 +/* 802A7B58 002A4AB8 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7B5C 002A4ABC 7C 7E 1B 78 */ mr r30, r3 +/* 802A7B60 002A4AC0 80 04 00 04 */ lwz r0, 4(r4) +/* 802A7B64 002A4AC4 90 03 00 04 */ stw r0, 4(r3) +/* 802A7B68 002A4AC8 80 04 00 08 */ lwz r0, 8(r4) +/* 802A7B6C 002A4ACC 90 03 00 08 */ stw r0, 8(r3) +/* 802A7B70 002A4AD0 80 04 00 04 */ lwz r0, 4(r4) +/* 802A7B74 002A4AD4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7B78 002A4AD8 40 82 00 1C */ bne lbl_802A7B94 +/* 802A7B7C 002A4ADC 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A7B80 002A4AE0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7B84 002A4AE4 40 82 00 10 */ bne lbl_802A7B94 +/* 802A7B88 002A4AE8 38 00 00 00 */ li r0, 0 +/* 802A7B8C 002A4AEC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A7B90 002A4AF0 48 00 00 64 */ b lbl_802A7BF4 +lbl_802A7B94: +/* 802A7B94 002A4AF4 80 1E 00 08 */ lwz r0, 8(r30) +/* 802A7B98 002A4AF8 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802A7B9C 002A4AFC 40 82 00 10 */ bne lbl_802A7BAC +/* 802A7BA0 002A4B00 38 00 00 00 */ li r0, 0 +/* 802A7BA4 002A4B04 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A7BA8 002A4B08 48 00 00 18 */ b lbl_802A7BC0 +lbl_802A7BAC: +/* 802A7BAC 002A4B0C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7BB0 002A4B10 38 A0 00 00 */ li r5, 0 +/* 802A7BB4 002A4B14 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7BB8 002A4B18 48 06 DC 61 */ bl __nwa__FUlPCcPCc +/* 802A7BBC 002A4B1C 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802A7BC0: +/* 802A7BC0 002A4B20 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A7BC4 002A4B24 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A7BC8 002A4B28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A7BCC 002A4B2C 7C 09 03 A6 */ mtctr r0 +/* 802A7BD0 002A4B30 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7BD4 002A4B34 40 81 00 20 */ ble lbl_802A7BF4 +lbl_802A7BD8: +/* 802A7BD8 002A4B38 28 03 00 00 */ cmplwi r3, 0 +/* 802A7BDC 002A4B3C 41 82 00 0C */ beq lbl_802A7BE8 +/* 802A7BE0 002A4B40 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A7BE4 002A4B44 B0 03 00 00 */ sth r0, 0(r3) +lbl_802A7BE8: +/* 802A7BE8 002A4B48 38 63 00 02 */ addi r3, r3, 2 +/* 802A7BEC 002A4B4C 38 84 00 02 */ addi r4, r4, 2 +/* 802A7BF0 002A4B50 42 00 FF E8 */ bdnz lbl_802A7BD8 +lbl_802A7BF4: +/* 802A7BF4 002A4B54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7BF8 002A4B58 7F C3 F3 78 */ mr r3, r30 +/* 802A7BFC 002A4B5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7C00 002A4B60 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7C04 002A4B64 7C 08 03 A6 */ mtlr r0 +/* 802A7C08 002A4B68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C0C 002A4B6C 4E 80 00 20 */ blr + +.global __dl__Q28COBBTree5CNodeFPvUl +__dl__Q28COBBTree5CNodeFPvUl: +/* 802A7C10 002A4B70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C14 002A4B74 7C 08 02 A6 */ mflr r0 +/* 802A7C18 002A4B78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7C1C 002A4B7C 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) +/* 802A7C20 002A4B80 28 00 00 00 */ cmplwi r0, 0 +/* 802A7C24 002A4B84 40 82 00 10 */ bne lbl_802A7C34 +/* 802A7C28 002A4B88 28 03 00 00 */ cmplwi r3, 0 +/* 802A7C2C 002A4B8C 41 82 00 08 */ beq lbl_802A7C34 +/* 802A7C30 002A4B90 48 06 DD 01 */ bl Free__7CMemoryFPCv +lbl_802A7C34: +/* 802A7C34 002A4B94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7C38 002A4B98 7C 08 03 A6 */ mtlr r0 +/* 802A7C3C 002A4B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C40 002A4BA0 4E 80 00 20 */ blr + +.global __nw__Q28COBBTree5CNodeFUlPCci +__nw__Q28COBBTree5CNodeFUlPCci: +/* 802A7C44 002A4BA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C48 002A4BA8 7C 08 02 A6 */ mflr r0 +/* 802A7C4C 002A4BAC 7C 64 1B 78 */ mr r4, r3 +/* 802A7C50 002A4BB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7C54 002A4BB4 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) +/* 802A7C58 002A4BB8 28 00 00 00 */ cmplwi r0, 0 +/* 802A7C5C 002A4BBC 40 82 00 18 */ bne lbl_802A7C74 +/* 802A7C60 002A4BC0 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7C64 002A4BC4 38 A0 00 00 */ li r5, 0 +/* 802A7C68 002A4BC8 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7C6C 002A4BCC 48 06 DB AD */ bl __nwa__FUlPCcPCc +/* 802A7C70 002A4BD0 48 00 00 0C */ b lbl_802A7C7C +lbl_802A7C74: +/* 802A7C74 002A4BD4 7C 03 03 78 */ mr r3, r0 +/* 802A7C78 002A4BD8 4B FF FC FD */ bl Alloc__Q28COBBTree16CSimpleAllocatorFUl +lbl_802A7C7C: +/* 802A7C7C 002A4BDC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7C80 002A4BE0 7C 08 03 A6 */ mtlr r0 +/* 802A7C84 002A4BE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7C88 002A4BE8 4E 80 00 20 */ blr + +.global SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator: +/* 802A7C8C 002A4BEC 90 6D A5 D8 */ stw r3, lbl_805A9198@sda21(r13) +/* 802A7C90 002A4BF0 4E 80 00 20 */ blr + +.global GetMemoryUsage__Q28COBBTree5CNodeCFv +GetMemoryUsage__Q28COBBTree5CNodeCFv: +/* 802A7C94 002A4BF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7C98 002A4BF8 7C 08 02 A6 */ mflr r0 +/* 802A7C9C 002A4BFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7CA0 002A4C00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7CA4 002A4C04 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7CA8 002A4C08 7C 7E 1B 78 */ mr r30, r3 +/* 802A7CAC 002A4C0C 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 802A7CB0 002A4C10 28 00 00 00 */ cmplwi r0, 0 +/* 802A7CB4 002A4C14 41 82 00 14 */ beq lbl_802A7CC8 +/* 802A7CB8 002A4C18 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 802A7CBC 002A4C1C 4B FF FD A5 */ bl GetMemoryUsage__Q28COBBTree9CLeafDataCFv +/* 802A7CC0 002A4C20 3B E3 00 50 */ addi r31, r3, 0x50 +/* 802A7CC4 002A4C24 48 00 00 1C */ b lbl_802A7CE0 +lbl_802A7CC8: +/* 802A7CC8 002A4C28 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 802A7CCC 002A4C2C 4B FF FF C9 */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A7CD0 002A4C30 3B E3 00 50 */ addi r31, r3, 0x50 +/* 802A7CD4 002A4C34 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 802A7CD8 002A4C38 4B FF FF BD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A7CDC 002A4C3C 7F FF 1A 14 */ add r31, r31, r3 +lbl_802A7CE0: +/* 802A7CE0 002A4C40 57 E0 07 BF */ clrlwi. r0, r31, 0x1e +/* 802A7CE4 002A4C44 41 82 00 0C */ beq lbl_802A7CF0 +/* 802A7CE8 002A4C48 20 00 00 04 */ subfic r0, r0, 4 +/* 802A7CEC 002A4C4C 7F FF 02 14 */ add r31, r31, r0 +lbl_802A7CF0: +/* 802A7CF0 002A4C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7CF4 002A4C54 7F E3 FB 78 */ mr r3, r31 +/* 802A7CF8 002A4C58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7CFC 002A4C5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7D00 002A4C60 7C 08 03 A6 */ mtlr r0 +/* 802A7D04 002A4C64 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7D08 002A4C68 4E 80 00 20 */ blr + +.global __dt__Q28COBBTree5CNodeFv +__dt__Q28COBBTree5CNodeFv: +/* 802A7D0C 002A4C6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A7D10 002A4C70 7C 08 02 A6 */ mflr r0 +/* 802A7D14 002A4C74 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A7D18 002A4C78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A7D1C 002A4C7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A7D20 002A4C80 7C 9E 23 78 */ mr r30, r4 +/* 802A7D24 002A4C84 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A7D28 002A4C88 7C 7D 1B 79 */ or. r29, r3, r3 +/* 802A7D2C 002A4C8C 41 82 00 88 */ beq lbl_802A7DB4 +/* 802A7D30 002A4C90 80 7D 00 40 */ lwz r3, 0x40(r29) +/* 802A7D34 002A4C94 38 80 00 01 */ li r4, 1 +/* 802A7D38 002A4C98 4B FF FF D5 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A7D3C 002A4C9C 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 802A7D40 002A4CA0 38 80 00 01 */ li r4, 1 +/* 802A7D44 002A4CA4 4B FF FF C9 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A7D48 002A4CA8 83 FD 00 48 */ lwz r31, 0x48(r29) +/* 802A7D4C 002A4CAC 28 1F 00 00 */ cmplwi r31, 0 +/* 802A7D50 002A4CB0 41 82 00 50 */ beq lbl_802A7DA0 +/* 802A7D54 002A4CB4 41 82 00 44 */ beq lbl_802A7D98 +/* 802A7D58 002A4CB8 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A7D5C 002A4CBC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A7D60 002A4CC0 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7D64 002A4CC4 7C 03 02 14 */ add r0, r3, r0 +/* 802A7D68 002A4CC8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A7D6C 002A4CCC 7C 64 1B 78 */ mr r4, r3 +/* 802A7D70 002A4CD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7D74 002A4CD4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A7D78 002A4CD8 90 61 00 08 */ stw r3, 8(r1) +/* 802A7D7C 002A4CDC 48 00 00 08 */ b lbl_802A7D84 +lbl_802A7D80: +/* 802A7D80 002A4CE0 38 84 00 02 */ addi r4, r4, 2 +lbl_802A7D84: +/* 802A7D84 002A4CE4 7C 04 00 40 */ cmplw r4, r0 +/* 802A7D88 002A4CE8 40 82 FF F8 */ bne lbl_802A7D80 +/* 802A7D8C 002A4CEC 28 03 00 00 */ cmplwi r3, 0 +/* 802A7D90 002A4CF0 41 82 00 08 */ beq lbl_802A7D98 +/* 802A7D94 002A4CF4 48 06 DB 9D */ bl Free__7CMemoryFPCv +lbl_802A7D98: +/* 802A7D98 002A4CF8 7F E3 FB 78 */ mr r3, r31 +/* 802A7D9C 002A4CFC 48 06 DB 95 */ bl Free__7CMemoryFPCv +lbl_802A7DA0: +/* 802A7DA0 002A4D00 7F C0 07 35 */ extsh. r0, r30 +/* 802A7DA4 002A4D04 40 81 00 10 */ ble lbl_802A7DB4 +/* 802A7DA8 002A4D08 7F A3 EB 78 */ mr r3, r29 +/* 802A7DAC 002A4D0C 38 80 00 50 */ li r4, 0x50 +/* 802A7DB0 002A4D10 4B FF FE 61 */ bl __dl__Q28COBBTree5CNodeFPvUl +lbl_802A7DB4: +/* 802A7DB4 002A4D14 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A7DB8 002A4D18 7F A3 EB 78 */ mr r3, r29 +/* 802A7DBC 002A4D1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A7DC0 002A4D20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A7DC4 002A4D24 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A7DC8 002A4D28 7C 08 03 A6 */ mtlr r0 +/* 802A7DCC 002A4D2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A7DD0 002A4D30 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree5CNodeFR12CInputStream +__ct__Q28COBBTree5CNodeFR12CInputStream: +/* 802A7DD4 002A4D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7DD8 002A4D38 7C 08 02 A6 */ mflr r0 +/* 802A7DDC 002A4D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7DE0 002A4D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A7DE4 002A4D44 7C 9F 23 78 */ mr r31, r4 +/* 802A7DE8 002A4D48 93 C1 00 08 */ stw r30, 8(r1) +/* 802A7DEC 002A4D4C 7C 7E 1B 78 */ mr r30, r3 +/* 802A7DF0 002A4D50 48 02 E1 5D */ bl __ct__6COBBoxFR12CInputStream +/* 802A7DF4 002A4D54 7F E3 FB 78 */ mr r3, r31 +/* 802A7DF8 002A4D58 48 09 6E E5 */ bl ReadBool__12CInputStreamFv +/* 802A7DFC 002A4D5C 98 7E 00 3C */ stb r3, 0x3c(r30) +/* 802A7E00 002A4D60 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E04 002A4D64 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E08 002A4D68 41 82 00 0C */ beq lbl_802A7E14 +/* 802A7E0C 002A4D6C 38 00 00 00 */ li r0, 0 +/* 802A7E10 002A4D70 48 00 00 2C */ b lbl_802A7E3C +lbl_802A7E14: +/* 802A7E14 002A4D74 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E18 002A4D78 38 60 00 50 */ li r3, 0x50 +/* 802A7E1C 002A4D7C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E20 002A4D80 38 A0 00 00 */ li r5, 0 +/* 802A7E24 002A4D84 4B FF FE 21 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A7E28 002A4D88 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7E2C 002A4D8C 41 82 00 10 */ beq lbl_802A7E3C +/* 802A7E30 002A4D90 7F E4 FB 78 */ mr r4, r31 +/* 802A7E34 002A4D94 4B FF FF A1 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A7E38 002A4D98 7C 60 1B 78 */ mr r0, r3 +lbl_802A7E3C: +/* 802A7E3C 002A4D9C 90 1E 00 40 */ stw r0, 0x40(r30) +/* 802A7E40 002A4DA0 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E44 002A4DA4 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E48 002A4DA8 41 82 00 0C */ beq lbl_802A7E54 +/* 802A7E4C 002A4DAC 38 00 00 00 */ li r0, 0 +/* 802A7E50 002A4DB0 48 00 00 2C */ b lbl_802A7E7C +lbl_802A7E54: +/* 802A7E54 002A4DB4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E58 002A4DB8 38 60 00 50 */ li r3, 0x50 +/* 802A7E5C 002A4DBC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E60 002A4DC0 38 A0 00 00 */ li r5, 0 +/* 802A7E64 002A4DC4 4B FF FD E1 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A7E68 002A4DC8 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7E6C 002A4DCC 41 82 00 10 */ beq lbl_802A7E7C +/* 802A7E70 002A4DD0 7F E4 FB 78 */ mr r4, r31 +/* 802A7E74 002A4DD4 4B FF FF 61 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A7E78 002A4DD8 7C 60 1B 78 */ mr r0, r3 +lbl_802A7E7C: +/* 802A7E7C 002A4DDC 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802A7E80 002A4DE0 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 802A7E84 002A4DE4 28 00 00 00 */ cmplwi r0, 0 +/* 802A7E88 002A4DE8 41 82 00 30 */ beq lbl_802A7EB8 +/* 802A7E8C 002A4DEC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A7E90 002A4DF0 38 60 00 10 */ li r3, 0x10 +/* 802A7E94 002A4DF4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A7E98 002A4DF8 38 A0 00 00 */ li r5, 0 +/* 802A7E9C 002A4DFC 48 06 D9 D1 */ bl __nw__FUlPCcPCc +/* 802A7EA0 002A4E00 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A7EA4 002A4E04 41 82 00 18 */ beq lbl_802A7EBC +/* 802A7EA8 002A4E08 7F E4 FB 78 */ mr r4, r31 +/* 802A7EAC 002A4E0C 4B FF FB D5 */ bl __ct__Q28COBBTree9CLeafDataFR12CInputStream +/* 802A7EB0 002A4E10 7C 60 1B 78 */ mr r0, r3 +/* 802A7EB4 002A4E14 48 00 00 08 */ b lbl_802A7EBC +lbl_802A7EB8: +/* 802A7EB8 002A4E18 38 00 00 00 */ li r0, 0 +lbl_802A7EBC: +/* 802A7EBC 002A4E1C 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802A7EC0 002A4E20 7F C3 F3 78 */ mr r3, r30 +/* 802A7EC4 002A4E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7EC8 002A4E28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7ECC 002A4E2C 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A7ED0 002A4E30 7C 08 03 A6 */ mtlr r0 +/* 802A7ED4 002A4E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7ED8 002A4E38 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData +__ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData: +/* 802A7EDC 002A4E3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A7EE0 002A4E40 7C 08 02 A6 */ mflr r0 +/* 802A7EE4 002A4E44 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A7EE8 002A4E48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A7EEC 002A4E4C 7D 1F 43 78 */ mr r31, r8 +/* 802A7EF0 002A4E50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A7EF4 002A4E54 7C FE 3B 78 */ mr r30, r7 +/* 802A7EF8 002A4E58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A7EFC 002A4E5C 7C DD 33 78 */ mr r29, r6 +/* 802A7F00 002A4E60 93 81 00 10 */ stw r28, 0x10(r1) +/* 802A7F04 002A4E64 7C 7C 1B 78 */ mr r28, r3 +/* 802A7F08 002A4E68 48 02 E0 8D */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f +/* 802A7F0C 002A4E6C 7C 1F 00 D0 */ neg r0, r31 +/* 802A7F10 002A4E70 7F 83 E3 78 */ mr r3, r28 +/* 802A7F14 002A4E74 7C 00 FB 78 */ or r0, r0, r31 +/* 802A7F18 002A4E78 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A7F1C 002A4E7C 98 1C 00 3C */ stb r0, 0x3c(r28) +/* 802A7F20 002A4E80 93 BC 00 40 */ stw r29, 0x40(r28) +/* 802A7F24 002A4E84 93 DC 00 44 */ stw r30, 0x44(r28) +/* 802A7F28 002A4E88 93 FC 00 48 */ stw r31, 0x48(r28) +/* 802A7F2C 002A4E8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A7F30 002A4E90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A7F34 002A4E94 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A7F38 002A4E98 83 81 00 10 */ lwz r28, 0x10(r1) +/* 802A7F3C 002A4E9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A7F40 002A4EA0 7C 08 03 A6 */ mtlr r0 +/* 802A7F44 002A4EA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A7F48 002A4EA8 4E 80 00 20 */ blr + +.global GetTriangleEdgeIndices__8COBBTreeCFUs +GetTriangleEdgeIndices__8COBBTreeCFUs: +/* 802A7F4C 002A4EAC 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 802A7F50 002A4EB0 80 63 00 74 */ lwz r3, 0x74(r3) +/* 802A7F54 002A4EB4 1C 00 00 06 */ mulli r0, r0, 6 +/* 802A7F58 002A4EB8 7C 63 02 14 */ add r3, r3, r0 +/* 802A7F5C 002A4EBC 4E 80 00 20 */ blr + +.global GetTriangleVertexIndices__8COBBTreeCFUsPUs +GetTriangleVertexIndices__8COBBTreeCFUsPUs: +/* 802A7F60 002A4EC0 54 89 04 3E */ clrlwi r9, r4, 0x10 +/* 802A7F64 002A4EC4 80 E3 00 74 */ lwz r7, 0x74(r3) +/* 802A7F68 002A4EC8 1C C9 00 03 */ mulli r6, r9, 3 +/* 802A7F6C 002A4ECC 81 03 00 64 */ lwz r8, 0x64(r3) +/* 802A7F70 002A4ED0 38 80 00 00 */ li r4, 0 +/* 802A7F74 002A4ED4 38 06 00 01 */ addi r0, r6, 1 +/* 802A7F78 002A4ED8 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A7F7C 002A4EDC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A7F80 002A4EE0 7C C7 32 2E */ lhzx r6, r7, r6 +/* 802A7F84 002A4EE4 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A7F88 002A4EE8 54 C6 10 3A */ slwi r6, r6, 2 +/* 802A7F8C 002A4EEC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A7F90 002A4EF0 7C C8 32 14 */ add r6, r8, r6 +/* 802A7F94 002A4EF4 7C E8 02 14 */ add r7, r8, r0 +/* 802A7F98 002A4EF8 A0 06 00 00 */ lhz r0, 0(r6) +/* 802A7F9C 002A4EFC A1 07 00 00 */ lhz r8, 0(r7) +/* 802A7FA0 002A4F00 7C 08 00 40 */ cmplw r8, r0 +/* 802A7FA4 002A4F04 41 82 00 14 */ beq lbl_802A7FB8 +/* 802A7FA8 002A4F08 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A7FAC 002A4F0C 7C 08 00 40 */ cmplw r8, r0 +/* 802A7FB0 002A4F10 41 82 00 08 */ beq lbl_802A7FB8 +/* 802A7FB4 002A4F14 38 80 00 01 */ li r4, 1 +lbl_802A7FB8: +/* 802A7FB8 002A4F18 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 802A7FBC 002A4F1C 41 82 00 08 */ beq lbl_802A7FC4 +/* 802A7FC0 002A4F20 48 00 00 08 */ b lbl_802A7FC8 +lbl_802A7FC4: +/* 802A7FC4 002A4F24 A1 07 00 02 */ lhz r8, 2(r7) +lbl_802A7FC8: +/* 802A7FC8 002A4F28 B1 05 00 04 */ sth r8, 4(r5) +/* 802A7FCC 002A4F2C 80 83 00 54 */ lwz r4, 0x54(r3) +/* 802A7FD0 002A4F30 80 63 00 24 */ lwz r3, 0x24(r3) +/* 802A7FD4 002A4F34 7C 04 48 AE */ lbzx r0, r4, r9 +/* 802A7FD8 002A4F38 54 00 10 3A */ slwi r0, r0, 2 +/* 802A7FDC 002A4F3C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 802A7FE0 002A4F40 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 +/* 802A7FE4 002A4F44 41 82 00 18 */ beq lbl_802A7FFC +/* 802A7FE8 002A4F48 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A7FEC 002A4F4C B0 05 00 00 */ sth r0, 0(r5) +/* 802A7FF0 002A4F50 A0 06 00 00 */ lhz r0, 0(r6) +/* 802A7FF4 002A4F54 B0 05 00 02 */ sth r0, 2(r5) +/* 802A7FF8 002A4F58 4E 80 00 20 */ blr +lbl_802A7FFC: +/* 802A7FFC 002A4F5C A0 06 00 00 */ lhz r0, 0(r6) +/* 802A8000 002A4F60 B0 05 00 00 */ sth r0, 0(r5) +/* 802A8004 002A4F64 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8008 002A4F68 B0 05 00 02 */ sth r0, 2(r5) +/* 802A800C 002A4F6C 4E 80 00 20 */ blr + +.global BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f +BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f: +/* 802A8010 002A4F70 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 802A8014 002A4F74 7C 08 02 A6 */ mflr r0 +/* 802A8018 002A4F78 C0 62 C1 A0 */ lfs f3, lbl_805ADEC0@sda21(r2) +/* 802A801C 002A4F7C 90 01 01 54 */ stw r0, 0x154(r1) +/* 802A8020 002A4F80 C0 22 C1 A4 */ lfs f1, lbl_805ADEC4@sda21(r2) +/* 802A8024 002A4F84 BF 01 01 30 */ stmw r24, 0x130(r1) +/* 802A8028 002A4F88 7C BF 2B 78 */ mr r31, r5 +/* 802A802C 002A4F8C 3C A0 80 3D */ lis r5, lbl_803D6038@ha +/* 802A8030 002A4F90 7C 7E 1B 78 */ mr r30, r3 +/* 802A8034 002A4F94 3B A5 60 38 */ addi r29, r5, lbl_803D6038@l +/* 802A8038 002A4F98 38 61 00 78 */ addi r3, r1, 0x78 +/* 802A803C 002A4F9C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 802A8040 002A4FA0 C0 44 00 04 */ lfs f2, 4(r4) +/* 802A8044 002A4FA4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A8048 002A4FA8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 802A804C 002A4FAC ED 03 00 B2 */ fmuls f8, f3, f2 +/* 802A8050 002A4FB0 EC E3 00 32 */ fmuls f7, f3, f0 +/* 802A8054 002A4FB4 38 81 00 50 */ addi r4, r1, 0x50 +/* 802A8058 002A4FB8 EC 83 01 72 */ fmuls f4, f3, f5 +/* 802A805C 002A4FBC C0 7F 00 04 */ lfs f3, 4(r31) +/* 802A8060 002A4FC0 ED 41 00 B2 */ fmuls f10, f1, f2 +/* 802A8064 002A4FC4 EC C8 18 2A */ fadds f6, f8, f3 +/* 802A8068 002A4FC8 ED 21 00 32 */ fmuls f9, f1, f0 +/* 802A806C 002A4FCC C0 5F 00 08 */ lfs f2, 8(r31) +/* 802A8070 002A4FD0 ED 61 01 72 */ fmuls f11, f1, f5 +/* 802A8074 002A4FD4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 802A8078 002A4FD8 EC A7 10 2A */ fadds f5, f7, f2 +/* 802A807C 002A4FDC EC 24 00 2A */ fadds f1, f4, f0 +/* 802A8080 002A4FE0 EC 6A 18 2A */ fadds f3, f10, f3 +/* 802A8084 002A4FE4 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 802A8088 002A4FE8 EC 49 10 2A */ fadds f2, f9, f2 +/* 802A808C 002A4FEC EC 0B 00 2A */ fadds f0, f11, f0 +/* 802A8090 002A4FF0 D1 01 00 70 */ stfs f8, 0x70(r1) +/* 802A8094 002A4FF4 D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 802A8098 002A4FF8 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 802A809C 002A4FFC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 802A80A0 002A5000 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 802A80A4 002A5004 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 802A80A8 002A5008 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 802A80AC 002A500C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 802A80B0 002A5010 48 09 04 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 802A80B4 002A5014 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80B8 002A5018 48 00 09 2D */ bl __ct__Q28COBBTree10SIndexDataFv +/* 802A80BC 002A501C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80C0 002A5020 38 80 00 03 */ li r4, 3 +/* 802A80C4 002A5024 4B DB BA 61 */ bl "reserve__Q24rstl37vectorFi" +/* 802A80C8 002A5028 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A80CC 002A502C 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A80D0 002A5030 7C 00 28 00 */ cmpw r0, r5 +/* 802A80D4 002A5034 41 80 00 1C */ blt lbl_802A80F0 +/* 802A80D8 002A5038 2C 05 00 00 */ cmpwi r5, 0 +/* 802A80DC 002A503C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A80E0 002A5040 38 80 00 04 */ li r4, 4 +/* 802A80E4 002A5044 41 82 00 08 */ beq lbl_802A80EC +/* 802A80E8 002A5048 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A80EC: +/* 802A80EC 002A504C 4B DB BA 39 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A80F0: +/* 802A80F0 002A5050 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A80F4 002A5054 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A80F8 002A5058 54 00 10 3A */ slwi r0, r0, 2 +/* 802A80FC 002A505C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8100 002A5060 41 82 00 0C */ beq lbl_802A810C +/* 802A8104 002A5064 80 0D 9A 60 */ lwz r0, lbl_805A8620@sda21(r13) +/* 802A8108 002A5068 90 03 00 00 */ stw r0, 0(r3) +lbl_802A810C: +/* 802A810C 002A506C 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A8110 002A5070 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A8114 002A5074 38 03 00 01 */ addi r0, r3, 1 +/* 802A8118 002A5078 7C 00 28 00 */ cmpw r0, r5 +/* 802A811C 002A507C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802A8120 002A5080 41 80 00 1C */ blt lbl_802A813C +/* 802A8124 002A5084 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8128 002A5088 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A812C 002A508C 38 80 00 04 */ li r4, 4 +/* 802A8130 002A5090 41 82 00 08 */ beq lbl_802A8138 +/* 802A8134 002A5094 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8138: +/* 802A8138 002A5098 4B DB B9 ED */ bl "reserve__Q24rstl37vectorFi" +lbl_802A813C: +/* 802A813C 002A509C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A8140 002A50A0 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A8144 002A50A4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8148 002A50A8 7C 63 02 15 */ add. r3, r3, r0 +/* 802A814C 002A50AC 41 82 00 0C */ beq lbl_802A8158 +/* 802A8150 002A50B0 80 0D 9A 64 */ lwz r0, lbl_805A8624@sda21(r13) +/* 802A8154 002A50B4 90 03 00 00 */ stw r0, 0(r3) +lbl_802A8158: +/* 802A8158 002A50B8 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A815C 002A50BC 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 802A8160 002A50C0 38 03 00 01 */ addi r0, r3, 1 +/* 802A8164 002A50C4 7C 00 28 00 */ cmpw r0, r5 +/* 802A8168 002A50C8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 802A816C 002A50CC 41 80 00 1C */ blt lbl_802A8188 +/* 802A8170 002A50D0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8174 002A50D4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A8178 002A50D8 38 80 00 04 */ li r4, 4 +/* 802A817C 002A50DC 41 82 00 08 */ beq lbl_802A8184 +/* 802A8180 002A50E0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8184: +/* 802A8184 002A50E4 4B DB B9 A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8188: +/* 802A8188 002A50E8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 802A818C 002A50EC 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 802A8190 002A50F0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8194 002A50F4 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8198 002A50F8 41 82 00 0C */ beq lbl_802A81A4 +/* 802A819C 002A50FC 80 0D 9A 68 */ lwz r0, lbl_805A8628@sda21(r13) +/* 802A81A0 002A5100 90 03 00 00 */ stw r0, 0(r3) +lbl_802A81A4: +/* 802A81A4 002A5104 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 802A81A8 002A5108 38 00 00 08 */ li r0, 8 +/* 802A81AC 002A510C 90 01 00 38 */ stw r0, 0x38(r1) +/* 802A81B0 002A5110 38 63 00 01 */ addi r3, r3, 1 +/* 802A81B4 002A5114 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 802A81B8 002A5118 90 01 00 3C */ stw r0, 0x3c(r1) +/* 802A81BC 002A511C 48 00 00 0C */ b lbl_802A81C8 +/* 802A81C0 002A5120 90 01 00 40 */ stw r0, 0x40(r1) +/* 802A81C4 002A5124 48 00 00 1C */ b lbl_802A81E0 +lbl_802A81C8: +/* 802A81C8 002A5128 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A81CC 002A512C 38 60 00 08 */ li r3, 8 +/* 802A81D0 002A5130 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A81D4 002A5134 38 A0 00 00 */ li r5, 0 +/* 802A81D8 002A5138 48 06 D6 41 */ bl __nwa__FUlPCcPCc +/* 802A81DC 002A513C 90 61 00 40 */ stw r3, 0x40(r1) +lbl_802A81E0: +/* 802A81E0 002A5140 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802A81E4 002A5144 28 03 00 00 */ cmplwi r3, 0 +/* 802A81E8 002A5148 41 82 00 0C */ beq lbl_802A81F4 +/* 802A81EC 002A514C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A81F0 002A5150 98 03 00 00 */ stb r0, 0(r3) +lbl_802A81F4: +/* 802A81F4 002A5154 34 63 00 01 */ addic. r3, r3, 1 +/* 802A81F8 002A5158 41 82 00 0C */ beq lbl_802A8204 +/* 802A81FC 002A515C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8200 002A5160 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8204: +/* 802A8204 002A5164 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8208 002A5168 41 82 00 0C */ beq lbl_802A8214 +/* 802A820C 002A516C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8210 002A5170 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8214: +/* 802A8214 002A5174 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8218 002A5178 41 82 00 0C */ beq lbl_802A8224 +/* 802A821C 002A517C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8220 002A5180 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8224: +/* 802A8224 002A5184 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8228 002A5188 41 82 00 0C */ beq lbl_802A8234 +/* 802A822C 002A518C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8230 002A5190 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8234: +/* 802A8234 002A5194 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8238 002A5198 41 82 00 0C */ beq lbl_802A8244 +/* 802A823C 002A519C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8240 002A51A0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8244: +/* 802A8244 002A51A4 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8248 002A51A8 41 82 00 0C */ beq lbl_802A8254 +/* 802A824C 002A51AC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8250 002A51B0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8254: +/* 802A8254 002A51B4 34 63 00 01 */ addic. r3, r3, 1 +/* 802A8258 002A51B8 41 82 00 0C */ beq lbl_802A8264 +/* 802A825C 002A51BC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) +/* 802A8260 002A51C0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8264: +/* 802A8264 002A51C4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 802A8268 002A51C8 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A826C 002A51CC 48 00 04 49 */ bl sub_802a86b4 +/* 802A8270 002A51D0 80 61 00 40 */ lwz r3, 0x40(r1) +/* 802A8274 002A51D4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 802A8278 002A51D8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802A827C 002A51DC 7C 83 02 14 */ add r4, r3, r0 +/* 802A8280 002A51E0 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8284 002A51E4 90 81 00 24 */ stw r4, 0x24(r1) +/* 802A8288 002A51E8 90 81 00 20 */ stw r4, 0x20(r1) +/* 802A828C 002A51EC 90 61 00 18 */ stw r3, 0x18(r1) +/* 802A8290 002A51F0 7C 09 03 A6 */ mtctr r0 +/* 802A8294 002A51F4 7C 03 20 40 */ cmplw r3, r4 +/* 802A8298 002A51F8 41 82 00 08 */ beq lbl_802A82A0 +lbl_802A829C: +/* 802A829C 002A51FC 42 00 00 00 */ bdnz lbl_802A829C +lbl_802A82A0: +/* 802A82A0 002A5200 28 03 00 00 */ cmplwi r3, 0 +/* 802A82A4 002A5204 41 82 00 08 */ beq lbl_802A82AC +/* 802A82A8 002A5208 48 06 D6 89 */ bl Free__7CMemoryFPCv +lbl_802A82AC: +/* 802A82AC 002A520C 3B 21 00 E0 */ addi r25, r1, 0xe0 +/* 802A82B0 002A5210 38 80 00 12 */ li r4, 0x12 +/* 802A82B4 002A5214 7F 23 CB 78 */ mr r3, r25 +/* 802A82B8 002A5218 4B F2 DF 45 */ bl "reserve__Q24rstl37vectorFi" +/* 802A82BC 002A521C 3B 5D 00 00 */ addi r26, r29, 0 +/* 802A82C0 002A5220 3B 00 00 00 */ li r24, 0 +lbl_802A82C4: +/* 802A82C4 002A5224 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A82C8 002A5228 80 A1 00 E8 */ lwz r5, 0xe8(r1) +/* 802A82CC 002A522C 7C 00 28 00 */ cmpw r0, r5 +/* 802A82D0 002A5230 41 80 00 1C */ blt lbl_802A82EC +/* 802A82D4 002A5234 2C 05 00 00 */ cmpwi r5, 0 +/* 802A82D8 002A5238 7F 23 CB 78 */ mr r3, r25 +/* 802A82DC 002A523C 38 80 00 04 */ li r4, 4 +/* 802A82E0 002A5240 41 82 00 08 */ beq lbl_802A82E8 +/* 802A82E4 002A5244 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A82E8: +/* 802A82E8 002A5248 4B F2 DF 15 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A82EC: +/* 802A82EC 002A524C 80 61 00 EC */ lwz r3, 0xec(r1) +/* 802A82F0 002A5250 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 802A82F4 002A5254 7C 63 02 15 */ add. r3, r3, r0 +/* 802A82F8 002A5258 41 82 00 0C */ beq lbl_802A8304 +/* 802A82FC 002A525C 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A8300 002A5260 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8304: +/* 802A8304 002A5264 80 61 00 E4 */ lwz r3, 0xe4(r1) +/* 802A8308 002A5268 3B 18 00 01 */ addi r24, r24, 1 +/* 802A830C 002A526C 28 18 00 12 */ cmplwi r24, 0x12 +/* 802A8310 002A5270 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8314 002A5274 38 03 00 01 */ addi r0, r3, 1 +/* 802A8318 002A5278 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 802A831C 002A527C 41 80 FF A8 */ blt lbl_802A82C4 +/* 802A8320 002A5280 3B 21 00 F0 */ addi r25, r1, 0xf0 +/* 802A8324 002A5284 38 80 00 0C */ li r4, 0xc +/* 802A8328 002A5288 7F 23 CB 78 */ mr r3, r25 +/* 802A832C 002A528C 4B F2 DE D1 */ bl "reserve__Q24rstl37vectorFi" +/* 802A8330 002A5290 3B 5D 00 14 */ addi r26, r29, 0x14 +/* 802A8334 002A5294 3B 00 00 00 */ li r24, 0 +lbl_802A8338: +/* 802A8338 002A5298 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A833C 002A529C 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 802A8340 002A52A0 7C 00 28 00 */ cmpw r0, r5 +/* 802A8344 002A52A4 41 80 00 1C */ blt lbl_802A8360 +/* 802A8348 002A52A8 2C 05 00 00 */ cmpwi r5, 0 +/* 802A834C 002A52AC 7F 23 CB 78 */ mr r3, r25 +/* 802A8350 002A52B0 38 80 00 04 */ li r4, 4 +/* 802A8354 002A52B4 41 82 00 08 */ beq lbl_802A835C +/* 802A8358 002A52B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A835C: +/* 802A835C 002A52BC 4B F2 DE A1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8360: +/* 802A8360 002A52C0 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 802A8364 002A52C4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 802A8368 002A52C8 7C 63 02 15 */ add. r3, r3, r0 +/* 802A836C 002A52CC 41 82 00 0C */ beq lbl_802A8378 +/* 802A8370 002A52D0 88 1A 00 00 */ lbz r0, 0(r26) +/* 802A8374 002A52D4 98 03 00 00 */ stb r0, 0(r3) +lbl_802A8378: +/* 802A8378 002A52D8 80 61 00 F4 */ lwz r3, 0xf4(r1) +/* 802A837C 002A52DC 3B 18 00 01 */ addi r24, r24, 1 +/* 802A8380 002A52E0 28 18 00 0C */ cmplwi r24, 0xc +/* 802A8384 002A52E4 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8388 002A52E8 38 03 00 01 */ addi r0, r3, 1 +/* 802A838C 002A52EC 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 802A8390 002A52F0 41 80 FF A8 */ blt lbl_802A8338 +/* 802A8394 002A52F4 3B 01 01 00 */ addi r24, r1, 0x100 +/* 802A8398 002A52F8 38 80 00 12 */ li r4, 0x12 +/* 802A839C 002A52FC 7F 03 C3 78 */ mr r3, r24 +/* 802A83A0 002A5300 48 00 14 59 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +/* 802A83A4 002A5304 3B 3D 00 20 */ addi r25, r29, 0x20 +/* 802A83A8 002A5308 3B 80 00 00 */ li r28, 0 +lbl_802A83AC: +/* 802A83AC 002A530C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A83B0 002A5310 80 A1 01 08 */ lwz r5, 0x108(r1) +/* 802A83B4 002A5314 A3 59 00 00 */ lhz r26, 0(r25) +/* 802A83B8 002A5318 7C 00 28 00 */ cmpw r0, r5 +/* 802A83BC 002A531C A3 79 00 02 */ lhz r27, 2(r25) +/* 802A83C0 002A5320 41 80 00 1C */ blt lbl_802A83DC +/* 802A83C4 002A5324 2C 05 00 00 */ cmpwi r5, 0 +/* 802A83C8 002A5328 7F 03 C3 78 */ mr r3, r24 +/* 802A83CC 002A532C 38 80 00 04 */ li r4, 4 +/* 802A83D0 002A5330 41 82 00 08 */ beq lbl_802A83D8 +/* 802A83D4 002A5334 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A83D8: +/* 802A83D8 002A5338 48 00 14 21 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +lbl_802A83DC: +/* 802A83DC 002A533C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A83E0 002A5340 80 61 01 0C */ lwz r3, 0x10c(r1) +/* 802A83E4 002A5344 54 00 10 3A */ slwi r0, r0, 2 +/* 802A83E8 002A5348 7C 63 02 15 */ add. r3, r3, r0 +/* 802A83EC 002A534C 41 82 00 0C */ beq lbl_802A83F8 +/* 802A83F0 002A5350 B3 43 00 00 */ sth r26, 0(r3) +/* 802A83F4 002A5354 B3 63 00 02 */ sth r27, 2(r3) +lbl_802A83F8: +/* 802A83F8 002A5358 80 61 01 04 */ lwz r3, 0x104(r1) +/* 802A83FC 002A535C 3B 9C 00 02 */ addi r28, r28, 2 +/* 802A8400 002A5360 28 1C 00 24 */ cmplwi r28, 0x24 +/* 802A8404 002A5364 3B 39 00 04 */ addi r25, r25, 4 +/* 802A8408 002A5368 38 03 00 01 */ addi r0, r3, 1 +/* 802A840C 002A536C 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A8410 002A5370 41 80 FF 9C */ blt lbl_802A83AC +/* 802A8414 002A5374 3B 01 01 10 */ addi r24, r1, 0x110 +/* 802A8418 002A5378 38 80 00 24 */ li r4, 0x24 +/* 802A841C 002A537C 7F 03 C3 78 */ mr r3, r24 +/* 802A8420 002A5380 4B DB BE E1 */ bl "reserve__Q24rstl37vectorFi" +/* 802A8424 002A5384 3B 3D 00 68 */ addi r25, r29, 0x68 +/* 802A8428 002A5388 3B 40 00 00 */ li r26, 0 +lbl_802A842C: +/* 802A842C 002A538C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A8430 002A5390 80 A1 01 18 */ lwz r5, 0x118(r1) +/* 802A8434 002A5394 7C 00 28 00 */ cmpw r0, r5 +/* 802A8438 002A5398 41 80 00 1C */ blt lbl_802A8454 +/* 802A843C 002A539C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8440 002A53A0 7F 03 C3 78 */ mr r3, r24 +/* 802A8444 002A53A4 38 80 00 04 */ li r4, 4 +/* 802A8448 002A53A8 41 82 00 08 */ beq lbl_802A8450 +/* 802A844C 002A53AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8450: +/* 802A8450 002A53B0 4B DB BE B1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8454: +/* 802A8454 002A53B4 80 01 01 14 */ lwz r0, 0x114(r1) +/* 802A8458 002A53B8 80 61 01 1C */ lwz r3, 0x11c(r1) +/* 802A845C 002A53BC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8460 002A53C0 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8464 002A53C4 41 82 00 0C */ beq lbl_802A8470 +/* 802A8468 002A53C8 A0 19 00 00 */ lhz r0, 0(r25) +/* 802A846C 002A53CC B0 03 00 00 */ sth r0, 0(r3) +lbl_802A8470: +/* 802A8470 002A53D0 80 61 01 14 */ lwz r3, 0x114(r1) +/* 802A8474 002A53D4 3B 5A 00 01 */ addi r26, r26, 1 +/* 802A8478 002A53D8 28 1A 00 24 */ cmplwi r26, 0x24 +/* 802A847C 002A53DC 3B 39 00 02 */ addi r25, r25, 2 +/* 802A8480 002A53E0 38 03 00 01 */ addi r0, r3, 1 +/* 802A8484 002A53E4 90 01 01 14 */ stw r0, 0x114(r1) +/* 802A8488 002A53E8 41 80 FF A4 */ blt lbl_802A842C +/* 802A848C 002A53EC 3B 01 01 20 */ addi r24, r1, 0x120 +/* 802A8490 002A53F0 38 80 00 08 */ li r4, 8 +/* 802A8494 002A53F4 7F 03 C3 78 */ mr r3, r24 +/* 802A8498 002A53F8 4B DB 58 61 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 802A849C 002A53FC 3B 20 00 00 */ li r25, 0 +lbl_802A84A0: +/* 802A84A0 002A5400 7F 25 CB 78 */ mr r5, r25 +/* 802A84A4 002A5404 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A84A8 002A5408 38 81 00 78 */ addi r4, r1, 0x78 +/* 802A84AC 002A540C 48 08 F1 05 */ bl GetPoint__6CAABoxCFi +/* 802A84B0 002A5410 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A84B4 002A5414 80 A1 01 28 */ lwz r5, 0x128(r1) +/* 802A84B8 002A5418 7C 00 28 00 */ cmpw r0, r5 +/* 802A84BC 002A541C 41 80 00 1C */ blt lbl_802A84D8 +/* 802A84C0 002A5420 2C 05 00 00 */ cmpwi r5, 0 +/* 802A84C4 002A5424 7F 03 C3 78 */ mr r3, r24 +/* 802A84C8 002A5428 38 80 00 04 */ li r4, 4 +/* 802A84CC 002A542C 41 82 00 08 */ beq lbl_802A84D4 +/* 802A84D0 002A5430 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A84D4: +/* 802A84D4 002A5434 4B DB 58 25 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_802A84D8: +/* 802A84D8 002A5438 80 01 01 24 */ lwz r0, 0x124(r1) +/* 802A84DC 002A543C 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 802A84E0 002A5440 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A84E4 002A5444 7C 63 02 15 */ add. r3, r3, r0 +/* 802A84E8 002A5448 41 82 00 1C */ beq lbl_802A8504 +/* 802A84EC 002A544C C0 01 00 28 */ lfs f0, 0x28(r1) +/* 802A84F0 002A5450 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A84F4 002A5454 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802A84F8 002A5458 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A84FC 002A545C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 802A8500 002A5460 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A8504: +/* 802A8504 002A5464 80 61 01 24 */ lwz r3, 0x124(r1) +/* 802A8508 002A5468 3B 39 00 01 */ addi r25, r25, 1 +/* 802A850C 002A546C 2C 19 00 08 */ cmpwi r25, 8 +/* 802A8510 002A5470 38 03 00 01 */ addi r0, r3, 1 +/* 802A8514 002A5474 90 01 01 24 */ stw r0, 0x124(r1) +/* 802A8518 002A5478 41 80 FF 88 */ blt lbl_802A84A0 +/* 802A851C 002A547C 38 00 00 00 */ li r0, 0 +/* 802A8520 002A5480 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A8524 002A5484 90 01 00 60 */ stw r0, 0x60(r1) +/* 802A8528 002A5488 38 80 00 0C */ li r4, 0xc +/* 802A852C 002A548C 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A8530 002A5490 90 01 00 68 */ stw r0, 0x68(r1) +/* 802A8534 002A5494 4B DB BD CD */ bl "reserve__Q24rstl37vectorFi" +/* 802A8538 002A5498 3B 00 00 00 */ li r24, 0 +/* 802A853C 002A549C 48 00 00 54 */ b lbl_802A8590 +lbl_802A8540: +/* 802A8540 002A54A0 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A8544 002A54A4 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 802A8548 002A54A8 7C 00 28 00 */ cmpw r0, r5 +/* 802A854C 002A54AC 41 80 00 1C */ blt lbl_802A8568 +/* 802A8550 002A54B0 2C 05 00 00 */ cmpwi r5, 0 +/* 802A8554 002A54B4 38 61 00 5C */ addi r3, r1, 0x5c +/* 802A8558 002A54B8 38 80 00 04 */ li r4, 4 +/* 802A855C 002A54BC 41 82 00 08 */ beq lbl_802A8564 +/* 802A8560 002A54C0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A8564: +/* 802A8564 002A54C4 4B DB BD 9D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A8568: +/* 802A8568 002A54C8 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A856C 002A54CC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802A8570 002A54D0 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8574 002A54D4 7C 63 02 15 */ add. r3, r3, r0 +/* 802A8578 002A54D8 41 82 00 08 */ beq lbl_802A8580 +/* 802A857C 002A54DC B3 03 00 00 */ sth r24, 0(r3) +lbl_802A8580: +/* 802A8580 002A54E0 80 61 00 60 */ lwz r3, 0x60(r1) +/* 802A8584 002A54E4 3B 18 00 01 */ addi r24, r24, 1 +/* 802A8588 002A54E8 38 03 00 01 */ addi r0, r3, 1 +/* 802A858C 002A54EC 90 01 00 60 */ stw r0, 0x60(r1) +lbl_802A8590: +/* 802A8590 002A54F0 57 00 04 3E */ clrlwi r0, r24, 0x10 +/* 802A8594 002A54F4 28 00 00 0C */ cmplwi r0, 0xc +/* 802A8598 002A54F8 41 80 FF A8 */ blt lbl_802A8540 +/* 802A859C 002A54FC 38 60 00 00 */ li r3, 0 +/* 802A85A0 002A5500 4B FF F6 ED */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A85A4 002A5504 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A85A8 002A5508 38 60 00 10 */ li r3, 0x10 +/* 802A85AC 002A550C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A85B0 002A5510 38 A0 00 00 */ li r5, 0 +/* 802A85B4 002A5514 48 06 D2 B9 */ bl __nw__FUlPCcPCc +/* 802A85B8 002A5518 7C 7A 1B 79 */ or. r26, r3, r3 +/* 802A85BC 002A551C 41 82 00 10 */ beq lbl_802A85CC +/* 802A85C0 002A5520 38 81 00 5C */ addi r4, r1, 0x5c +/* 802A85C4 002A5524 4B FF F5 81 */ bl "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" +/* 802A85C8 002A5528 7C 7A 1B 78 */ mr r26, r3 +lbl_802A85CC: +/* 802A85CC 002A552C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A85D0 002A5530 38 60 00 50 */ li r3, 0x50 +/* 802A85D4 002A5534 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A85D8 002A5538 38 A0 00 00 */ li r5, 0 +/* 802A85DC 002A553C 4B FF F6 69 */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A85E0 002A5540 7C 7B 1B 79 */ or. r27, r3, r3 +/* 802A85E4 002A5544 41 82 00 30 */ beq lbl_802A8614 +/* 802A85E8 002A5548 7F E4 FB 78 */ mr r4, r31 +/* 802A85EC 002A554C 38 61 00 90 */ addi r3, r1, 0x90 +/* 802A85F0 002A5550 48 06 AB 51 */ bl Translate__12CTransform4fFRC9CVector3f +/* 802A85F4 002A5554 7F 63 DB 78 */ mr r3, r27 +/* 802A85F8 002A5558 7F 48 D3 78 */ mr r8, r26 +/* 802A85FC 002A555C 38 81 00 90 */ addi r4, r1, 0x90 +/* 802A8600 002A5560 38 A1 00 6C */ addi r5, r1, 0x6c +/* 802A8604 002A5564 38 C0 00 00 */ li r6, 0 +/* 802A8608 002A5568 38 E0 00 00 */ li r7, 0 +/* 802A860C 002A556C 4B FF F8 D1 */ bl __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData +/* 802A8610 002A5570 7C 7B 1B 78 */ mr r27, r3 +lbl_802A8614: +/* 802A8614 002A5574 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8618 002A5578 38 60 00 8C */ li r3, 0x8c +/* 802A861C 002A557C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8620 002A5580 38 A0 00 00 */ li r5, 0 +/* 802A8624 002A5584 48 06 D2 49 */ bl __nw__FUlPCcPCc +/* 802A8628 002A5588 7C 64 1B 79 */ or. r4, r3, r3 +/* 802A862C 002A558C 41 82 00 14 */ beq lbl_802A8640 +/* 802A8630 002A5590 7F 65 DB 78 */ mr r5, r27 +/* 802A8634 002A5594 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 802A8638 002A5598 48 00 08 59 */ bl __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode +/* 802A863C 002A559C 7C 64 1B 78 */ mr r4, r3 +lbl_802A8640: +/* 802A8640 002A55A0 7C 04 00 D0 */ neg r0, r4 +/* 802A8644 002A55A4 7C 00 23 78 */ or r0, r0, r4 +/* 802A8648 002A55A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 802A864C 002A55AC 98 1E 00 00 */ stb r0, 0(r30) +/* 802A8650 002A55B0 90 9E 00 04 */ stw r4, 4(r30) +/* 802A8654 002A55B4 80 01 00 60 */ lwz r0, 0x60(r1) +/* 802A8658 002A55B8 80 61 00 68 */ lwz r3, 0x68(r1) +/* 802A865C 002A55BC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8660 002A55C0 7C 03 02 14 */ add r0, r3, r0 +/* 802A8664 002A55C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A8668 002A55C8 7C 64 1B 78 */ mr r4, r3 +/* 802A866C 002A55CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8670 002A55D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A8674 002A55D4 90 61 00 08 */ stw r3, 8(r1) +/* 802A8678 002A55D8 48 00 00 08 */ b lbl_802A8680 +lbl_802A867C: +/* 802A867C 002A55DC 38 84 00 02 */ addi r4, r4, 2 +lbl_802A8680: +/* 802A8680 002A55E0 7C 04 00 40 */ cmplw r4, r0 +/* 802A8684 002A55E4 40 82 FF F8 */ bne lbl_802A867C +/* 802A8688 002A55E8 28 03 00 00 */ cmplwi r3, 0 +/* 802A868C 002A55EC 41 82 00 08 */ beq lbl_802A8694 +/* 802A8690 002A55F0 48 06 D2 A1 */ bl Free__7CMemoryFPCv +lbl_802A8694: +/* 802A8694 002A55F4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 802A8698 002A55F8 38 80 FF FF */ li r4, -1 +/* 802A869C 002A55FC 48 00 01 11 */ bl sub_802a87ac +/* 802A86A0 002A5600 BB 01 01 30 */ lmw r24, 0x130(r1) +/* 802A86A4 002A5604 80 01 01 54 */ lwz r0, 0x154(r1) +/* 802A86A8 002A5608 7C 08 03 A6 */ mtlr r0 +/* 802A86AC 002A560C 38 21 01 50 */ addi r1, r1, 0x150 +/* 802A86B0 002A5610 4E 80 00 20 */ blr + +.global sub_802a86b4 +sub_802a86b4: +/* 802A86B4 002A5614 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A86B8 002A5618 7C 08 02 A6 */ mflr r0 +/* 802A86BC 002A561C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A86C0 002A5620 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A86C4 002A5624 7C 7F 1B 78 */ mr r31, r3 +/* 802A86C8 002A5628 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A86CC 002A562C 7C 9E 23 78 */ mr r30, r4 +/* 802A86D0 002A5630 7C 1F F0 40 */ cmplw r31, r30 +/* 802A86D4 002A5634 40 82 00 08 */ bne lbl_802A86DC +/* 802A86D8 002A5638 48 00 00 BC */ b lbl_802A8794 +lbl_802A86DC: +/* 802A86DC 002A563C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A86E0 002A5640 80 1F 00 04 */ lwz r0, 4(r31) +/* 802A86E4 002A5644 90 81 00 0C */ stw r4, 0xc(r1) +/* 802A86E8 002A5648 7C 64 02 14 */ add r3, r4, r0 +/* 802A86EC 002A564C 7C 04 18 50 */ subf r0, r4, r3 +/* 802A86F0 002A5650 90 61 00 14 */ stw r3, 0x14(r1) +/* 802A86F4 002A5654 90 61 00 10 */ stw r3, 0x10(r1) +/* 802A86F8 002A5658 90 81 00 08 */ stw r4, 8(r1) +/* 802A86FC 002A565C 7C 09 03 A6 */ mtctr r0 +/* 802A8700 002A5660 7C 04 18 40 */ cmplw r4, r3 +/* 802A8704 002A5664 41 82 00 08 */ beq lbl_802A870C +lbl_802A8708: +/* 802A8708 002A5668 42 00 00 00 */ bdnz lbl_802A8708 +lbl_802A870C: +/* 802A870C 002A566C 38 00 00 00 */ li r0, 0 +/* 802A8710 002A5670 90 1F 00 04 */ stw r0, 4(r31) +/* 802A8714 002A5674 80 9E 00 04 */ lwz r4, 4(r30) +/* 802A8718 002A5678 2C 04 00 00 */ cmpwi r4, 0 +/* 802A871C 002A567C 40 82 00 28 */ bne lbl_802A8744 +/* 802A8720 002A5680 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A8724 002A5684 28 03 00 00 */ cmplwi r3, 0 +/* 802A8728 002A5688 41 82 00 08 */ beq lbl_802A8730 +/* 802A872C 002A568C 48 06 D2 05 */ bl Free__7CMemoryFPCv +lbl_802A8730: +/* 802A8730 002A5690 38 00 00 00 */ li r0, 0 +/* 802A8734 002A5694 90 1F 00 04 */ stw r0, 4(r31) +/* 802A8738 002A5698 90 1F 00 08 */ stw r0, 8(r31) +/* 802A873C 002A569C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 802A8740 002A56A0 48 00 00 50 */ b lbl_802A8790 +lbl_802A8744: +/* 802A8744 002A56A4 7F E3 FB 78 */ mr r3, r31 +/* 802A8748 002A56A8 4B F2 DA B5 */ bl "reserve__Q24rstl37vectorFi" +/* 802A874C 002A56AC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802A8750 002A56B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A8754 002A56B4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 802A8758 002A56B8 7C 85 02 14 */ add r4, r5, r0 +/* 802A875C 002A56BC 7C 05 20 50 */ subf r0, r5, r4 +/* 802A8760 002A56C0 7C 09 03 A6 */ mtctr r0 +/* 802A8764 002A56C4 7C 05 20 40 */ cmplw r5, r4 +/* 802A8768 002A56C8 41 82 00 20 */ beq lbl_802A8788 +lbl_802A876C: +/* 802A876C 002A56CC 28 03 00 00 */ cmplwi r3, 0 +/* 802A8770 002A56D0 41 82 00 0C */ beq lbl_802A877C +/* 802A8774 002A56D4 88 05 00 00 */ lbz r0, 0(r5) +/* 802A8778 002A56D8 98 03 00 00 */ stb r0, 0(r3) +lbl_802A877C: +/* 802A877C 002A56DC 38 63 00 01 */ addi r3, r3, 1 +/* 802A8780 002A56E0 38 A5 00 01 */ addi r5, r5, 1 +/* 802A8784 002A56E4 42 00 FF E8 */ bdnz lbl_802A876C +lbl_802A8788: +/* 802A8788 002A56E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A878C 002A56EC 90 1F 00 04 */ stw r0, 4(r31) +lbl_802A8790: +/* 802A8790 002A56F0 7F E3 FB 78 */ mr r3, r31 +lbl_802A8794: +/* 802A8794 002A56F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A8798 002A56F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A879C 002A56FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A87A0 002A5700 7C 08 03 A6 */ mtlr r0 +/* 802A87A4 002A5704 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A87A8 002A5708 4E 80 00 20 */ blr + +.global sub_802a87ac +sub_802a87ac: +/* 802A87AC 002A570C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 802A87B0 002A5710 7C 08 02 A6 */ mflr r0 +/* 802A87B4 002A5714 90 01 00 84 */ stw r0, 0x84(r1) +/* 802A87B8 002A5718 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 802A87BC 002A571C 7C 9F 23 78 */ mr r31, r4 +/* 802A87C0 002A5720 93 C1 00 78 */ stw r30, 0x78(r1) +/* 802A87C4 002A5724 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A87C8 002A5728 41 82 02 00 */ beq lbl_802A89C8 +/* 802A87CC 002A572C 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 802A87D0 002A5730 41 82 00 44 */ beq lbl_802A8814 +/* 802A87D4 002A5734 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A87D8 002A5738 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A87DC 002A573C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A87E0 002A5740 90 61 00 6C */ stw r3, 0x6c(r1) +/* 802A87E4 002A5744 7C 64 1B 78 */ mr r4, r3 +/* 802A87E8 002A5748 7C 03 02 14 */ add r0, r3, r0 +/* 802A87EC 002A574C 90 61 00 68 */ stw r3, 0x68(r1) +/* 802A87F0 002A5750 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A87F4 002A5754 90 01 00 70 */ stw r0, 0x70(r1) +/* 802A87F8 002A5758 48 00 00 08 */ b lbl_802A8800 +lbl_802A87FC: +/* 802A87FC 002A575C 38 84 00 0C */ addi r4, r4, 0xc +lbl_802A8800: +/* 802A8800 002A5760 7C 04 00 40 */ cmplw r4, r0 +/* 802A8804 002A5764 40 82 FF F8 */ bne lbl_802A87FC +/* 802A8808 002A5768 28 03 00 00 */ cmplwi r3, 0 +/* 802A880C 002A576C 41 82 00 08 */ beq lbl_802A8814 +/* 802A8810 002A5770 48 06 D1 21 */ bl Free__7CMemoryFPCv +lbl_802A8814: +/* 802A8814 002A5774 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 802A8818 002A5778 41 82 00 44 */ beq lbl_802A885C +/* 802A881C 002A577C 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A8820 002A5780 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A8824 002A5784 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8828 002A5788 7C 03 02 14 */ add r0, r3, r0 +/* 802A882C 002A578C 90 61 00 5C */ stw r3, 0x5c(r1) +/* 802A8830 002A5790 7C 64 1B 78 */ mr r4, r3 +/* 802A8834 002A5794 90 01 00 64 */ stw r0, 0x64(r1) +/* 802A8838 002A5798 90 01 00 60 */ stw r0, 0x60(r1) +/* 802A883C 002A579C 90 61 00 58 */ stw r3, 0x58(r1) +/* 802A8840 002A57A0 48 00 00 08 */ b lbl_802A8848 +lbl_802A8844: +/* 802A8844 002A57A4 38 84 00 02 */ addi r4, r4, 2 +lbl_802A8848: +/* 802A8848 002A57A8 7C 04 00 40 */ cmplw r4, r0 +/* 802A884C 002A57AC 40 82 FF F8 */ bne lbl_802A8844 +/* 802A8850 002A57B0 28 03 00 00 */ cmplwi r3, 0 +/* 802A8854 002A57B4 41 82 00 08 */ beq lbl_802A885C +/* 802A8858 002A57B8 48 06 D0 D9 */ bl Free__7CMemoryFPCv +lbl_802A885C: +/* 802A885C 002A57BC 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 802A8860 002A57C0 41 82 00 44 */ beq lbl_802A88A4 +/* 802A8864 002A57C4 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802A8868 002A57C8 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802A886C 002A57CC 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8870 002A57D0 7C 03 02 14 */ add r0, r3, r0 +/* 802A8874 002A57D4 90 61 00 4C */ stw r3, 0x4c(r1) +/* 802A8878 002A57D8 7C 64 1B 78 */ mr r4, r3 +/* 802A887C 002A57DC 90 01 00 54 */ stw r0, 0x54(r1) +/* 802A8880 002A57E0 90 01 00 50 */ stw r0, 0x50(r1) +/* 802A8884 002A57E4 90 61 00 48 */ stw r3, 0x48(r1) +/* 802A8888 002A57E8 48 00 00 08 */ b lbl_802A8890 +lbl_802A888C: +/* 802A888C 002A57EC 38 84 00 04 */ addi r4, r4, 4 +lbl_802A8890: +/* 802A8890 002A57F0 7C 04 00 40 */ cmplw r4, r0 +/* 802A8894 002A57F4 40 82 FF F8 */ bne lbl_802A888C +/* 802A8898 002A57F8 28 03 00 00 */ cmplwi r3, 0 +/* 802A889C 002A57FC 41 82 00 08 */ beq lbl_802A88A4 +/* 802A88A0 002A5800 48 06 D0 91 */ bl Free__7CMemoryFPCv +lbl_802A88A4: +/* 802A88A4 002A5804 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 802A88A8 002A5808 41 82 00 40 */ beq lbl_802A88E8 +/* 802A88AC 002A580C 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A88B0 002A5810 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A88B4 002A5814 90 61 00 3C */ stw r3, 0x3c(r1) +/* 802A88B8 002A5818 7C 83 02 14 */ add r4, r3, r0 +/* 802A88BC 002A581C 7C 03 20 50 */ subf r0, r3, r4 +/* 802A88C0 002A5820 90 81 00 44 */ stw r4, 0x44(r1) +/* 802A88C4 002A5824 90 81 00 40 */ stw r4, 0x40(r1) +/* 802A88C8 002A5828 90 61 00 38 */ stw r3, 0x38(r1) +/* 802A88CC 002A582C 7C 09 03 A6 */ mtctr r0 +/* 802A88D0 002A5830 7C 03 20 40 */ cmplw r3, r4 +/* 802A88D4 002A5834 41 82 00 08 */ beq lbl_802A88DC +lbl_802A88D8: +/* 802A88D8 002A5838 42 00 00 00 */ bdnz lbl_802A88D8 +lbl_802A88DC: +/* 802A88DC 002A583C 28 03 00 00 */ cmplwi r3, 0 +/* 802A88E0 002A5840 41 82 00 08 */ beq lbl_802A88E8 +/* 802A88E4 002A5844 48 06 D0 4D */ bl Free__7CMemoryFPCv +lbl_802A88E8: +/* 802A88E8 002A5848 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 802A88EC 002A584C 41 82 00 40 */ beq lbl_802A892C +/* 802A88F0 002A5850 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A88F4 002A5854 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A88F8 002A5858 90 61 00 2C */ stw r3, 0x2c(r1) +/* 802A88FC 002A585C 7C 83 02 14 */ add r4, r3, r0 +/* 802A8900 002A5860 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8904 002A5864 90 81 00 34 */ stw r4, 0x34(r1) +/* 802A8908 002A5868 90 81 00 30 */ stw r4, 0x30(r1) +/* 802A890C 002A586C 90 61 00 28 */ stw r3, 0x28(r1) +/* 802A8910 002A5870 7C 09 03 A6 */ mtctr r0 +/* 802A8914 002A5874 7C 03 20 40 */ cmplw r3, r4 +/* 802A8918 002A5878 41 82 00 08 */ beq lbl_802A8920 +lbl_802A891C: +/* 802A891C 002A587C 42 00 00 00 */ bdnz lbl_802A891C +lbl_802A8920: +/* 802A8920 002A5880 28 03 00 00 */ cmplwi r3, 0 +/* 802A8924 002A5884 41 82 00 08 */ beq lbl_802A892C +/* 802A8928 002A5888 48 06 D0 09 */ bl Free__7CMemoryFPCv +lbl_802A892C: +/* 802A892C 002A588C 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 802A8930 002A5890 41 82 00 40 */ beq lbl_802A8970 +/* 802A8934 002A5894 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A8938 002A5898 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A893C 002A589C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 802A8940 002A58A0 7C 83 02 14 */ add r4, r3, r0 +/* 802A8944 002A58A4 7C 03 20 50 */ subf r0, r3, r4 +/* 802A8948 002A58A8 90 81 00 24 */ stw r4, 0x24(r1) +/* 802A894C 002A58AC 90 81 00 20 */ stw r4, 0x20(r1) +/* 802A8950 002A58B0 90 61 00 18 */ stw r3, 0x18(r1) +/* 802A8954 002A58B4 7C 09 03 A6 */ mtctr r0 +/* 802A8958 002A58B8 7C 03 20 40 */ cmplw r3, r4 +/* 802A895C 002A58BC 41 82 00 08 */ beq lbl_802A8964 +lbl_802A8960: +/* 802A8960 002A58C0 42 00 00 00 */ bdnz lbl_802A8960 +lbl_802A8964: +/* 802A8964 002A58C4 28 03 00 00 */ cmplwi r3, 0 +/* 802A8968 002A58C8 41 82 00 08 */ beq lbl_802A8970 +/* 802A896C 002A58CC 48 06 CF C5 */ bl Free__7CMemoryFPCv +lbl_802A8970: +/* 802A8970 002A58D0 28 1E 00 00 */ cmplwi r30, 0 +/* 802A8974 002A58D4 41 82 00 44 */ beq lbl_802A89B8 +/* 802A8978 002A58D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A897C 002A58DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A8980 002A58E0 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8984 002A58E4 7C 03 02 14 */ add r0, r3, r0 +/* 802A8988 002A58E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A898C 002A58EC 7C 64 1B 78 */ mr r4, r3 +/* 802A8990 002A58F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8994 002A58F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 802A8998 002A58F8 90 61 00 08 */ stw r3, 8(r1) +/* 802A899C 002A58FC 48 00 00 08 */ b lbl_802A89A4 +lbl_802A89A0: +/* 802A89A0 002A5900 38 84 00 04 */ addi r4, r4, 4 +lbl_802A89A4: +/* 802A89A4 002A5904 7C 04 00 40 */ cmplw r4, r0 +/* 802A89A8 002A5908 40 82 FF F8 */ bne lbl_802A89A0 +/* 802A89AC 002A590C 28 03 00 00 */ cmplwi r3, 0 +/* 802A89B0 002A5910 41 82 00 08 */ beq lbl_802A89B8 +/* 802A89B4 002A5914 48 06 CF 7D */ bl Free__7CMemoryFPCv +lbl_802A89B8: +/* 802A89B8 002A5918 7F E0 07 35 */ extsh. r0, r31 +/* 802A89BC 002A591C 40 81 00 0C */ ble lbl_802A89C8 +/* 802A89C0 002A5920 7F C3 F3 78 */ mr r3, r30 +/* 802A89C4 002A5924 48 06 CF 6D */ bl Free__7CMemoryFPCv +lbl_802A89C8: +/* 802A89C8 002A5928 80 01 00 84 */ lwz r0, 0x84(r1) +/* 802A89CC 002A592C 7F C3 F3 78 */ mr r3, r30 +/* 802A89D0 002A5930 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 802A89D4 002A5934 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 802A89D8 002A5938 7C 08 03 A6 */ mtlr r0 +/* 802A89DC 002A593C 38 21 00 80 */ addi r1, r1, 0x80 +/* 802A89E0 002A5940 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFv +__ct__Q28COBBTree10SIndexDataFv: +/* 802A89E4 002A5944 38 00 00 00 */ li r0, 0 +/* 802A89E8 002A5948 90 03 00 04 */ stw r0, 4(r3) +/* 802A89EC 002A594C 90 03 00 08 */ stw r0, 8(r3) +/* 802A89F0 002A5950 90 03 00 0C */ stw r0, 0xc(r3) +/* 802A89F4 002A5954 90 03 00 14 */ stw r0, 0x14(r3) +/* 802A89F8 002A5958 90 03 00 18 */ stw r0, 0x18(r3) +/* 802A89FC 002A595C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 802A8A00 002A5960 90 03 00 24 */ stw r0, 0x24(r3) +/* 802A8A04 002A5964 90 03 00 28 */ stw r0, 0x28(r3) +/* 802A8A08 002A5968 90 03 00 2C */ stw r0, 0x2c(r3) +/* 802A8A0C 002A596C 90 03 00 34 */ stw r0, 0x34(r3) +/* 802A8A10 002A5970 90 03 00 38 */ stw r0, 0x38(r3) +/* 802A8A14 002A5974 90 03 00 3C */ stw r0, 0x3c(r3) +/* 802A8A18 002A5978 90 03 00 44 */ stw r0, 0x44(r3) +/* 802A8A1C 002A597C 90 03 00 48 */ stw r0, 0x48(r3) +/* 802A8A20 002A5980 90 03 00 4C */ stw r0, 0x4c(r3) +/* 802A8A24 002A5984 90 03 00 54 */ stw r0, 0x54(r3) +/* 802A8A28 002A5988 90 03 00 58 */ stw r0, 0x58(r3) +/* 802A8A2C 002A598C 90 03 00 5C */ stw r0, 0x5c(r3) +/* 802A8A30 002A5990 90 03 00 64 */ stw r0, 0x64(r3) +/* 802A8A34 002A5994 90 03 00 68 */ stw r0, 0x68(r3) +/* 802A8A38 002A5998 90 03 00 6C */ stw r0, 0x6c(r3) +/* 802A8A3C 002A599C 4E 80 00 20 */ blr + +.global GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f +GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f: +/* 802A8A40 002A59A0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 802A8A44 002A59A4 7C 08 02 A6 */ mflr r0 +/* 802A8A48 002A59A8 54 A9 04 3E */ clrlwi r9, r5, 0x10 +/* 802A8A4C 002A59AC 90 01 00 74 */ stw r0, 0x74(r1) +/* 802A8A50 002A59B0 1C A9 00 03 */ mulli r5, r9, 3 +/* 802A8A54 002A59B4 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 802A8A58 002A59B8 7C 7C 1B 78 */ mr r28, r3 +/* 802A8A5C 002A59BC 38 05 00 01 */ addi r0, r5, 1 +/* 802A8A60 002A59C0 7C DD 33 78 */ mr r29, r6 +/* 802A8A64 002A59C4 54 A5 08 3C */ slwi r5, r5, 1 +/* 802A8A68 002A59C8 38 60 00 00 */ li r3, 0 +/* 802A8A6C 002A59CC 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8A70 002A59D0 80 E4 00 74 */ lwz r7, 0x74(r4) +/* 802A8A74 002A59D4 81 04 00 64 */ lwz r8, 0x64(r4) +/* 802A8A78 002A59D8 7C A7 2A 2E */ lhzx r5, r7, r5 +/* 802A8A7C 002A59DC 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A8A80 002A59E0 54 A5 10 3A */ slwi r5, r5, 2 +/* 802A8A84 002A59E4 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8A88 002A59E8 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8A8C 002A59EC 7C A8 02 14 */ add r5, r8, r0 +/* 802A8A90 002A59F0 A3 E6 00 00 */ lhz r31, 0(r6) +/* 802A8A94 002A59F4 A0 E5 00 00 */ lhz r7, 0(r5) +/* 802A8A98 002A59F8 7C 07 F8 40 */ cmplw r7, r31 +/* 802A8A9C 002A59FC 41 82 00 14 */ beq lbl_802A8AB0 +/* 802A8AA0 002A5A00 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8AA4 002A5A04 7C 07 00 40 */ cmplw r7, r0 +/* 802A8AA8 002A5A08 41 82 00 08 */ beq lbl_802A8AB0 +/* 802A8AAC 002A5A0C 38 60 00 01 */ li r3, 1 +lbl_802A8AB0: +/* 802A8AB0 002A5A10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 802A8AB4 002A5A14 41 82 00 08 */ beq lbl_802A8ABC +/* 802A8AB8 002A5A18 48 00 00 08 */ b lbl_802A8AC0 +lbl_802A8ABC: +/* 802A8ABC 002A5A1C A0 E5 00 02 */ lhz r7, 2(r5) +lbl_802A8AC0: +/* 802A8AC0 002A5A20 80 64 00 54 */ lwz r3, 0x54(r4) +/* 802A8AC4 002A5A24 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802A8AC8 002A5A28 7C 03 48 AE */ lbzx r0, r3, r9 +/* 802A8ACC 002A5A2C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8AD0 002A5A30 7F C5 00 2E */ lwzx r30, r5, r0 +/* 802A8AD4 002A5A34 57 C0 01 8D */ rlwinm. r0, r30, 0, 6, 6 +/* 802A8AD8 002A5A38 41 82 00 6C */ beq lbl_802A8B44 +/* 802A8ADC 002A5A3C A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8AE0 002A5A40 54 E3 04 3E */ clrlwi r3, r7, 0x10 +/* 802A8AE4 002A5A44 1C A3 00 0C */ mulli r5, r3, 0xc +/* 802A8AE8 002A5A48 83 44 00 84 */ lwz r26, 0x84(r4) +/* 802A8AEC 002A5A4C 7F A4 EB 78 */ mr r4, r29 +/* 802A8AF0 002A5A50 38 61 00 2C */ addi r3, r1, 0x2c +/* 802A8AF4 002A5A54 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8AF8 002A5A58 7C BA 2A 14 */ add r5, r26, r5 +/* 802A8AFC 002A5A5C 7F 7A 02 14 */ add r27, r26, r0 +/* 802A8B00 002A5A60 48 06 9F E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B04 002A5A64 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 802A8B08 002A5A68 7F A4 EB 78 */ mr r4, r29 +/* 802A8B0C 002A5A6C 38 61 00 38 */ addi r3, r1, 0x38 +/* 802A8B10 002A5A70 7C BA 02 14 */ add r5, r26, r0 +/* 802A8B14 002A5A74 48 06 9F D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B18 002A5A78 7F A4 EB 78 */ mr r4, r29 +/* 802A8B1C 002A5A7C 7F 65 DB 78 */ mr r5, r27 +/* 802A8B20 002A5A80 38 61 00 44 */ addi r3, r1, 0x44 +/* 802A8B24 002A5A84 48 06 9F C5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B28 002A5A88 7F 83 E3 78 */ mr r3, r28 +/* 802A8B2C 002A5A8C 7F C7 F3 78 */ mr r7, r30 +/* 802A8B30 002A5A90 38 81 00 44 */ addi r4, r1, 0x44 +/* 802A8B34 002A5A94 38 A1 00 38 */ addi r5, r1, 0x38 +/* 802A8B38 002A5A98 38 C1 00 2C */ addi r6, r1, 0x2c +/* 802A8B3C 002A5A9C 4B FF 9B ED */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A8B40 002A5AA0 48 00 00 68 */ b lbl_802A8BA8 +lbl_802A8B44: +/* 802A8B44 002A5AA4 A0 06 00 02 */ lhz r0, 2(r6) +/* 802A8B48 002A5AA8 54 E3 04 3E */ clrlwi r3, r7, 0x10 +/* 802A8B4C 002A5AAC 1C A3 00 0C */ mulli r5, r3, 0xc +/* 802A8B50 002A5AB0 83 44 00 84 */ lwz r26, 0x84(r4) +/* 802A8B54 002A5AB4 7F A4 EB 78 */ mr r4, r29 +/* 802A8B58 002A5AB8 38 61 00 08 */ addi r3, r1, 8 +/* 802A8B5C 002A5ABC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8B60 002A5AC0 7C BA 2A 14 */ add r5, r26, r5 +/* 802A8B64 002A5AC4 7F 7A 02 14 */ add r27, r26, r0 +/* 802A8B68 002A5AC8 48 06 9F 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B6C 002A5ACC 7F A4 EB 78 */ mr r4, r29 +/* 802A8B70 002A5AD0 7F 65 DB 78 */ mr r5, r27 +/* 802A8B74 002A5AD4 38 61 00 14 */ addi r3, r1, 0x14 +/* 802A8B78 002A5AD8 48 06 9F 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B7C 002A5ADC 1C 1F 00 0C */ mulli r0, r31, 0xc +/* 802A8B80 002A5AE0 7F A4 EB 78 */ mr r4, r29 +/* 802A8B84 002A5AE4 38 61 00 20 */ addi r3, r1, 0x20 +/* 802A8B88 002A5AE8 7C BA 02 14 */ add r5, r26, r0 +/* 802A8B8C 002A5AEC 48 06 9F 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 802A8B90 002A5AF0 7F 83 E3 78 */ mr r3, r28 +/* 802A8B94 002A5AF4 7F C7 F3 78 */ mr r7, r30 +/* 802A8B98 002A5AF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 802A8B9C 002A5AFC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 802A8BA0 002A5B00 38 C1 00 08 */ addi r6, r1, 8 +/* 802A8BA4 002A5B04 4B FF 9B 85 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A8BA8: +/* 802A8BA8 002A5B08 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 802A8BAC 002A5B0C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 802A8BB0 002A5B10 7C 08 03 A6 */ mtlr r0 +/* 802A8BB4 002A5B14 38 21 00 70 */ addi r1, r1, 0x70 +/* 802A8BB8 002A5B18 4E 80 00 20 */ blr + +.global GetSurface__8COBBTreeCFUs +GetSurface__8COBBTreeCFUs: +/* 802A8BBC 002A5B1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8BC0 002A5B20 7C 08 02 A6 */ mflr r0 +/* 802A8BC4 002A5B24 54 AA 04 3E */ clrlwi r10, r5, 0x10 +/* 802A8BC8 002A5B28 38 A0 00 00 */ li r5, 0 +/* 802A8BCC 002A5B2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8BD0 002A5B30 1C CA 00 03 */ mulli r6, r10, 3 +/* 802A8BD4 002A5B34 80 E4 00 74 */ lwz r7, 0x74(r4) +/* 802A8BD8 002A5B38 38 06 00 01 */ addi r0, r6, 1 +/* 802A8BDC 002A5B3C 81 24 00 64 */ lwz r9, 0x64(r4) +/* 802A8BE0 002A5B40 54 C6 08 3C */ slwi r6, r6, 1 +/* 802A8BE4 002A5B44 54 00 08 3C */ slwi r0, r0, 1 +/* 802A8BE8 002A5B48 7C C7 32 2E */ lhzx r6, r7, r6 +/* 802A8BEC 002A5B4C 7C 07 02 2E */ lhzx r0, r7, r0 +/* 802A8BF0 002A5B50 54 C6 10 3A */ slwi r6, r6, 2 +/* 802A8BF4 002A5B54 7D 09 32 14 */ add r8, r9, r6 +/* 802A8BF8 002A5B58 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8BFC 002A5B5C 7C C9 02 14 */ add r6, r9, r0 +/* 802A8C00 002A5B60 A1 68 00 00 */ lhz r11, 0(r8) +/* 802A8C04 002A5B64 A1 26 00 00 */ lhz r9, 0(r6) +/* 802A8C08 002A5B68 7C 09 58 40 */ cmplw r9, r11 +/* 802A8C0C 002A5B6C 41 82 00 14 */ beq lbl_802A8C20 +/* 802A8C10 002A5B70 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C14 002A5B74 7C 09 00 40 */ cmplw r9, r0 +/* 802A8C18 002A5B78 41 82 00 08 */ beq lbl_802A8C20 +/* 802A8C1C 002A5B7C 38 A0 00 01 */ li r5, 1 +lbl_802A8C20: +/* 802A8C20 002A5B80 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 802A8C24 002A5B84 41 82 00 08 */ beq lbl_802A8C2C +/* 802A8C28 002A5B88 48 00 00 08 */ b lbl_802A8C30 +lbl_802A8C2C: +/* 802A8C2C 002A5B8C A1 26 00 02 */ lhz r9, 2(r6) +lbl_802A8C30: +/* 802A8C30 002A5B90 80 A4 00 54 */ lwz r5, 0x54(r4) +/* 802A8C34 002A5B94 80 C4 00 24 */ lwz r6, 0x24(r4) +/* 802A8C38 002A5B98 7C 05 50 AE */ lbzx r0, r5, r10 +/* 802A8C3C 002A5B9C 54 00 10 3A */ slwi r0, r0, 2 +/* 802A8C40 002A5BA0 7C E6 00 2E */ lwzx r7, r6, r0 +/* 802A8C44 002A5BA4 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 +/* 802A8C48 002A5BA8 41 82 00 30 */ beq lbl_802A8C78 +/* 802A8C4C 002A5BAC A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C50 002A5BB0 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 802A8C54 002A5BB4 81 04 00 84 */ lwz r8, 0x84(r4) +/* 802A8C58 002A5BB8 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A8C5C 002A5BBC 1C 80 00 0C */ mulli r4, r0, 0xc +/* 802A8C60 002A5BC0 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8C64 002A5BC4 1C 0B 00 0C */ mulli r0, r11, 0xc +/* 802A8C68 002A5BC8 7C 88 22 14 */ add r4, r8, r4 +/* 802A8C6C 002A5BCC 7C A8 02 14 */ add r5, r8, r0 +/* 802A8C70 002A5BD0 4B FF 9A B9 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +/* 802A8C74 002A5BD4 48 00 00 2C */ b lbl_802A8CA0 +lbl_802A8C78: +/* 802A8C78 002A5BD8 A0 08 00 02 */ lhz r0, 2(r8) +/* 802A8C7C 002A5BDC 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 802A8C80 002A5BE0 81 04 00 84 */ lwz r8, 0x84(r4) +/* 802A8C84 002A5BE4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 802A8C88 002A5BE8 1C 8B 00 0C */ mulli r4, r11, 0xc +/* 802A8C8C 002A5BEC 7C C8 2A 14 */ add r6, r8, r5 +/* 802A8C90 002A5BF0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A8C94 002A5BF4 7C 88 22 14 */ add r4, r8, r4 +/* 802A8C98 002A5BF8 7C A8 02 14 */ add r5, r8, r0 +/* 802A8C9C 002A5BFC 4B FF 9A 8D */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi +lbl_802A8CA0: +/* 802A8CA0 002A5C00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8CA4 002A5C04 7C 08 03 A6 */ mtlr r0 +/* 802A8CA8 002A5C08 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8CAC 002A5C0C 4E 80 00 20 */ blr + +.global CalculateLocalAABox__8COBBTreeCFv +CalculateLocalAABox__8COBBTreeCFv: +/* 802A8CB0 002A5C10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8CB4 002A5C14 7C 08 02 A6 */ mflr r0 +/* 802A8CB8 002A5C18 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8CBC 002A5C1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8CC0 002A5C20 7C 7F 1B 78 */ mr r31, r3 +/* 802A8CC4 002A5C24 80 84 00 88 */ lwz r4, 0x88(r4) +/* 802A8CC8 002A5C28 28 04 00 00 */ cmplwi r4, 0 +/* 802A8CCC 002A5C2C 41 82 00 14 */ beq lbl_802A8CE0 +/* 802A8CD0 002A5C30 3C A0 80 5A */ lis r5, skIdentity4f@ha +/* 802A8CD4 002A5C34 38 A5 66 70 */ addi r5, r5, skIdentity4f@l +/* 802A8CD8 002A5C38 48 02 D1 01 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f +/* 802A8CDC 002A5C3C 48 00 00 20 */ b lbl_802A8CFC +lbl_802A8CE0: +/* 802A8CE0 002A5C40 C0 02 C1 A8 */ lfs f0, lbl_805ADEC8@sda21(r2) +/* 802A8CE4 002A5C44 D0 1F 00 00 */ stfs f0, 0(r31) +/* 802A8CE8 002A5C48 D0 1F 00 04 */ stfs f0, 4(r31) +/* 802A8CEC 002A5C4C D0 1F 00 08 */ stfs f0, 8(r31) +/* 802A8CF0 002A5C50 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 802A8CF4 002A5C54 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 802A8CF8 002A5C58 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_802A8CFC: +/* 802A8CFC 002A5C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8D00 002A5C60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8D04 002A5C64 7C 08 03 A6 */ mtlr r0 +/* 802A8D08 002A5C68 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8D0C 002A5C6C 4E 80 00 20 */ blr + +.global __dt__8COBBTreeFv +__dt__8COBBTreeFv: +/* 802A8D10 002A5C70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8D14 002A5C74 7C 08 02 A6 */ mflr r0 +/* 802A8D18 002A5C78 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8D1C 002A5C7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8D20 002A5C80 7C 9F 23 78 */ mr r31, r4 +/* 802A8D24 002A5C84 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8D28 002A5C88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 802A8D2C 002A5C8C 41 82 00 58 */ beq lbl_802A8D84 +/* 802A8D30 002A5C90 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 802A8D34 002A5C94 28 00 00 00 */ cmplwi r0, 0 +/* 802A8D38 002A5C98 41 82 00 10 */ beq lbl_802A8D48 +/* 802A8D3C 002A5C9C 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8D40 002A5CA0 4B FF EF 4D */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8D44 002A5CA4 48 00 00 0C */ b lbl_802A8D50 +lbl_802A8D48: +/* 802A8D48 002A5CA8 38 60 00 00 */ li r3, 0 +/* 802A8D4C 002A5CAC 4B FF EF 41 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +lbl_802A8D50: +/* 802A8D50 002A5CB0 80 7E 00 88 */ lwz r3, 0x88(r30) +/* 802A8D54 002A5CB4 38 80 00 01 */ li r4, 1 +/* 802A8D58 002A5CB8 4B FF EF B5 */ bl __dt__Q28COBBTree5CNodeFv +/* 802A8D5C 002A5CBC 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802A8D60 002A5CC0 38 80 FF FF */ li r4, -1 +/* 802A8D64 002A5CC4 4B FF FA 49 */ bl sub_802a87ac +/* 802A8D68 002A5CC8 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8D6C 002A5CCC 38 80 FF FF */ li r4, -1 +/* 802A8D70 002A5CD0 4B FF EC 39 */ bl __dt__Q28COBBTree16CSimpleAllocatorFv +/* 802A8D74 002A5CD4 7F E0 07 35 */ extsh. r0, r31 +/* 802A8D78 002A5CD8 40 81 00 0C */ ble lbl_802A8D84 +/* 802A8D7C 002A5CDC 7F C3 F3 78 */ mr r3, r30 +/* 802A8D80 002A5CE0 48 06 CB B1 */ bl Free__7CMemoryFPCv +lbl_802A8D84: +/* 802A8D84 002A5CE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8D88 002A5CE8 7F C3 F3 78 */ mr r3, r30 +/* 802A8D8C 002A5CEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8D90 002A5CF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A8D94 002A5CF4 7C 08 03 A6 */ mtlr r0 +/* 802A8D98 002A5CF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8D9C 002A5CFC 4E 80 00 20 */ blr + +.global __ct__8COBBTreeFR12CInputStream +__ct__8COBBTreeFR12CInputStream: +/* 802A8DA0 002A5D00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8DA4 002A5D04 7C 08 02 A6 */ mflr r0 +/* 802A8DA8 002A5D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8DAC 002A5D0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8DB0 002A5D10 7C 9F 23 78 */ mr r31, r4 +/* 802A8DB4 002A5D14 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8DB8 002A5D18 7C 7E 1B 78 */ mr r30, r3 +/* 802A8DBC 002A5D1C 7F E3 FB 78 */ mr r3, r31 +/* 802A8DC0 002A5D20 48 00 00 B1 */ bl verify_deaf_babe__FR12CInputStream +/* 802A8DC4 002A5D24 90 7E 00 00 */ stw r3, 0(r30) +/* 802A8DC8 002A5D28 7F E3 FB 78 */ mr r3, r31 +/* 802A8DCC 002A5D2C 48 00 00 85 */ bl verify_version__FR12CInputStream +/* 802A8DD0 002A5D30 90 7E 00 04 */ stw r3, 4(r30) +/* 802A8DD4 002A5D34 7F E3 FB 78 */ mr r3, r31 +/* 802A8DD8 002A5D38 48 09 5E AD */ bl ReadLong__12CInputStreamFv +/* 802A8DDC 002A5D3C 90 7E 00 08 */ stw r3, 8(r30) +/* 802A8DE0 002A5D40 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8DE4 002A5D44 80 9E 00 08 */ lwz r4, 8(r30) +/* 802A8DE8 002A5D48 4B FF EC 1D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi +/* 802A8DEC 002A5D4C 7F E4 FB 78 */ mr r4, r31 +/* 802A8DF0 002A5D50 38 7E 00 18 */ addi r3, r30, 0x18 +/* 802A8DF4 002A5D54 48 00 05 71 */ bl __ct__Q28COBBTree10SIndexDataFR12CInputStream +/* 802A8DF8 002A5D58 38 00 00 00 */ li r0, 0 +/* 802A8DFC 002A5D5C 38 7E 00 0C */ addi r3, r30, 0xc +/* 802A8E00 002A5D60 90 1E 00 88 */ stw r0, 0x88(r30) +/* 802A8E04 002A5D64 4B FF EE 89 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8E08 002A5D68 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8E0C 002A5D6C 38 60 00 50 */ li r3, 0x50 +/* 802A8E10 002A5D70 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8E14 002A5D74 38 A0 00 00 */ li r5, 0 +/* 802A8E18 002A5D78 4B FF EE 2D */ bl __nw__Q28COBBTree5CNodeFUlPCci +/* 802A8E1C 002A5D7C 7C 60 1B 79 */ or. r0, r3, r3 +/* 802A8E20 002A5D80 41 82 00 10 */ beq lbl_802A8E30 +/* 802A8E24 002A5D84 7F E4 FB 78 */ mr r4, r31 +/* 802A8E28 002A5D88 4B FF EF AD */ bl __ct__Q28COBBTree5CNodeFR12CInputStream +/* 802A8E2C 002A5D8C 7C 60 1B 78 */ mr r0, r3 +lbl_802A8E30: +/* 802A8E30 002A5D90 90 1E 00 88 */ stw r0, 0x88(r30) +/* 802A8E34 002A5D94 7F C3 F3 78 */ mr r3, r30 +/* 802A8E38 002A5D98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E3C 002A5D9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A8E40 002A5DA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A8E44 002A5DA4 7C 08 03 A6 */ mtlr r0 +/* 802A8E48 002A5DA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E4C 002A5DAC 4E 80 00 20 */ blr + +.global verify_version__FR12CInputStream +verify_version__FR12CInputStream: +/* 802A8E50 002A5DB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8E54 002A5DB4 7C 08 02 A6 */ mflr r0 +/* 802A8E58 002A5DB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8E5C 002A5DBC 48 09 5E 29 */ bl ReadLong__12CInputStreamFv +/* 802A8E60 002A5DC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E64 002A5DC4 7C 08 03 A6 */ mtlr r0 +/* 802A8E68 002A5DC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E6C 002A5DCC 4E 80 00 20 */ blr + +.global verify_deaf_babe__FR12CInputStream +verify_deaf_babe__FR12CInputStream: +/* 802A8E70 002A5DD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8E74 002A5DD4 7C 08 02 A6 */ mflr r0 +/* 802A8E78 002A5DD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8E7C 002A5DDC 48 09 5E 09 */ bl ReadLong__12CInputStreamFv +/* 802A8E80 002A5DE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A8E84 002A5DE4 7C 08 03 A6 */ mtlr r0 +/* 802A8E88 002A5DE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A8E8C 002A5DEC 4E 80 00 20 */ blr + +.global __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode +__ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode: +/* 802A8E90 002A5DF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A8E94 002A5DF4 7C 08 02 A6 */ mflr r0 +/* 802A8E98 002A5DF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A8E9C 002A5DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 802A8EA0 002A5E00 7C BF 2B 78 */ mr r31, r5 +/* 802A8EA4 002A5E04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 802A8EA8 002A5E08 7C 9E 23 78 */ mr r30, r4 +/* 802A8EAC 002A5E0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 802A8EB0 002A5E10 7C 7D 1B 78 */ mr r29, r3 +/* 802A8EB4 002A5E14 7F E3 FB 78 */ mr r3, r31 +/* 802A8EB8 002A5E18 4B FF ED DD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv +/* 802A8EBC 002A5E1C 90 7D 00 08 */ stw r3, 8(r29) +/* 802A8EC0 002A5E20 38 7D 00 0C */ addi r3, r29, 0xc +/* 802A8EC4 002A5E24 38 80 00 00 */ li r4, 0 +/* 802A8EC8 002A5E28 4B FF EB 3D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi +/* 802A8ECC 002A5E2C 7F C4 F3 78 */ mr r4, r30 +/* 802A8ED0 002A5E30 38 7D 00 18 */ addi r3, r29, 0x18 +/* 802A8ED4 002A5E34 48 00 00 31 */ bl __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData +/* 802A8ED8 002A5E38 93 FD 00 88 */ stw r31, 0x88(r29) +/* 802A8EDC 002A5E3C 38 60 00 00 */ li r3, 0 +/* 802A8EE0 002A5E40 4B FF ED AD */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator +/* 802A8EE4 002A5E44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A8EE8 002A5E48 7F A3 EB 78 */ mr r3, r29 +/* 802A8EEC 002A5E4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 802A8EF0 002A5E50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 802A8EF4 002A5E54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 802A8EF8 002A5E58 7C 08 03 A6 */ mtlr r0 +/* 802A8EFC 002A5E5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A8F00 002A5E60 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData +__ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData: +/* 802A8F04 002A5E64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A8F08 002A5E68 7C 08 02 A6 */ mflr r0 +/* 802A8F0C 002A5E6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A8F10 002A5E70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A8F14 002A5E74 7C 9F 23 78 */ mr r31, r4 +/* 802A8F18 002A5E78 93 C1 00 08 */ stw r30, 8(r1) +/* 802A8F1C 002A5E7C 7C 7E 1B 78 */ mr r30, r3 +/* 802A8F20 002A5E80 80 04 00 04 */ lwz r0, 4(r4) +/* 802A8F24 002A5E84 90 03 00 04 */ stw r0, 4(r3) +/* 802A8F28 002A5E88 80 04 00 08 */ lwz r0, 8(r4) +/* 802A8F2C 002A5E8C 90 03 00 08 */ stw r0, 8(r3) +/* 802A8F30 002A5E90 80 04 00 04 */ lwz r0, 4(r4) +/* 802A8F34 002A5E94 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F38 002A5E98 40 82 00 1C */ bne lbl_802A8F54 +/* 802A8F3C 002A5E9C 80 1F 00 08 */ lwz r0, 8(r31) +/* 802A8F40 002A5EA0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F44 002A5EA4 40 82 00 10 */ bne lbl_802A8F54 +/* 802A8F48 002A5EA8 38 00 00 00 */ li r0, 0 +/* 802A8F4C 002A5EAC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A8F50 002A5EB0 48 00 00 64 */ b lbl_802A8FB4 +lbl_802A8F54: +/* 802A8F54 002A5EB4 80 1E 00 08 */ lwz r0, 8(r30) +/* 802A8F58 002A5EB8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A8F5C 002A5EBC 40 82 00 10 */ bne lbl_802A8F6C +/* 802A8F60 002A5EC0 38 00 00 00 */ li r0, 0 +/* 802A8F64 002A5EC4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A8F68 002A5EC8 48 00 00 18 */ b lbl_802A8F80 +lbl_802A8F6C: +/* 802A8F6C 002A5ECC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A8F70 002A5ED0 38 A0 00 00 */ li r5, 0 +/* 802A8F74 002A5ED4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A8F78 002A5ED8 48 06 C8 A1 */ bl __nwa__FUlPCcPCc +/* 802A8F7C 002A5EDC 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_802A8F80: +/* 802A8F80 002A5EE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A8F84 002A5EE4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 802A8F88 002A5EE8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A8F8C 002A5EEC 7C 09 03 A6 */ mtctr r0 +/* 802A8F90 002A5EF0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8F94 002A5EF4 40 81 00 20 */ ble lbl_802A8FB4 +lbl_802A8F98: +/* 802A8F98 002A5EF8 28 03 00 00 */ cmplwi r3, 0 +/* 802A8F9C 002A5EFC 41 82 00 0C */ beq lbl_802A8FA8 +/* 802A8FA0 002A5F00 80 04 00 00 */ lwz r0, 0(r4) +/* 802A8FA4 002A5F04 90 03 00 00 */ stw r0, 0(r3) +lbl_802A8FA8: +/* 802A8FA8 002A5F08 38 63 00 04 */ addi r3, r3, 4 +/* 802A8FAC 002A5F0C 38 84 00 04 */ addi r4, r4, 4 +/* 802A8FB0 002A5F10 42 00 FF E8 */ bdnz lbl_802A8F98 +lbl_802A8FB4: +/* 802A8FB4 002A5F14 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802A8FB8 002A5F18 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802A8FBC 002A5F1C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A8FC0 002A5F20 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802A8FC4 002A5F24 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 802A8FC8 002A5F28 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8FCC 002A5F2C 40 82 00 1C */ bne lbl_802A8FE8 +/* 802A8FD0 002A5F30 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 802A8FD4 002A5F34 2C 00 00 00 */ cmpwi r0, 0 +/* 802A8FD8 002A5F38 40 82 00 10 */ bne lbl_802A8FE8 +/* 802A8FDC 002A5F3C 38 00 00 00 */ li r0, 0 +/* 802A8FE0 002A5F40 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A8FE4 002A5F44 48 00 00 64 */ b lbl_802A9048 +lbl_802A8FE8: +/* 802A8FE8 002A5F48 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 802A8FEC 002A5F4C 2C 03 00 00 */ cmpwi r3, 0 +/* 802A8FF0 002A5F50 40 82 00 10 */ bne lbl_802A9000 +/* 802A8FF4 002A5F54 38 00 00 00 */ li r0, 0 +/* 802A8FF8 002A5F58 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A8FFC 002A5F5C 48 00 00 18 */ b lbl_802A9014 +lbl_802A9000: +/* 802A9000 002A5F60 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9004 002A5F64 38 A0 00 00 */ li r5, 0 +/* 802A9008 002A5F68 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A900C 002A5F6C 48 06 C8 0D */ bl __nwa__FUlPCcPCc +/* 802A9010 002A5F70 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_802A9014: +/* 802A9014 002A5F74 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A9018 002A5F78 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 802A901C 002A5F7C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A9020 002A5F80 7C 09 03 A6 */ mtctr r0 +/* 802A9024 002A5F84 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9028 002A5F88 40 81 00 20 */ ble lbl_802A9048 +lbl_802A902C: +/* 802A902C 002A5F8C 28 03 00 00 */ cmplwi r3, 0 +/* 802A9030 002A5F90 41 82 00 0C */ beq lbl_802A903C +/* 802A9034 002A5F94 88 04 00 00 */ lbz r0, 0(r4) +/* 802A9038 002A5F98 98 03 00 00 */ stb r0, 0(r3) +lbl_802A903C: +/* 802A903C 002A5F9C 38 63 00 01 */ addi r3, r3, 1 +/* 802A9040 002A5FA0 38 84 00 01 */ addi r4, r4, 1 +/* 802A9044 002A5FA4 42 00 FF E8 */ bdnz lbl_802A902C +lbl_802A9048: +/* 802A9048 002A5FA8 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802A904C 002A5FAC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802A9050 002A5FB0 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802A9054 002A5FB4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802A9058 002A5FB8 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 802A905C 002A5FBC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9060 002A5FC0 40 82 00 1C */ bne lbl_802A907C +/* 802A9064 002A5FC4 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 802A9068 002A5FC8 2C 00 00 00 */ cmpwi r0, 0 +/* 802A906C 002A5FCC 40 82 00 10 */ bne lbl_802A907C +/* 802A9070 002A5FD0 38 00 00 00 */ li r0, 0 +/* 802A9074 002A5FD4 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A9078 002A5FD8 48 00 00 64 */ b lbl_802A90DC +lbl_802A907C: +/* 802A907C 002A5FDC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 802A9080 002A5FE0 2C 03 00 00 */ cmpwi r3, 0 +/* 802A9084 002A5FE4 40 82 00 10 */ bne lbl_802A9094 +/* 802A9088 002A5FE8 38 00 00 00 */ li r0, 0 +/* 802A908C 002A5FEC 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A9090 002A5FF0 48 00 00 18 */ b lbl_802A90A8 +lbl_802A9094: +/* 802A9094 002A5FF4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9098 002A5FF8 38 A0 00 00 */ li r5, 0 +/* 802A909C 002A5FFC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A90A0 002A6000 48 06 C7 79 */ bl __nwa__FUlPCcPCc +/* 802A90A4 002A6004 90 7E 00 2C */ stw r3, 0x2c(r30) +lbl_802A90A8: +/* 802A90A8 002A6008 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A90AC 002A600C 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 802A90B0 002A6010 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A90B4 002A6014 7C 09 03 A6 */ mtctr r0 +/* 802A90B8 002A6018 2C 00 00 00 */ cmpwi r0, 0 +/* 802A90BC 002A601C 40 81 00 20 */ ble lbl_802A90DC +lbl_802A90C0: +/* 802A90C0 002A6020 28 03 00 00 */ cmplwi r3, 0 +/* 802A90C4 002A6024 41 82 00 0C */ beq lbl_802A90D0 +/* 802A90C8 002A6028 88 04 00 00 */ lbz r0, 0(r4) +/* 802A90CC 002A602C 98 03 00 00 */ stb r0, 0(r3) +lbl_802A90D0: +/* 802A90D0 002A6030 38 63 00 01 */ addi r3, r3, 1 +/* 802A90D4 002A6034 38 84 00 01 */ addi r4, r4, 1 +/* 802A90D8 002A6038 42 00 FF E8 */ bdnz lbl_802A90C0 +lbl_802A90DC: +/* 802A90DC 002A603C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802A90E0 002A6040 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A90E4 002A6044 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802A90E8 002A6048 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802A90EC 002A604C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 802A90F0 002A6050 2C 00 00 00 */ cmpwi r0, 0 +/* 802A90F4 002A6054 40 82 00 1C */ bne lbl_802A9110 +/* 802A90F8 002A6058 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 802A90FC 002A605C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9100 002A6060 40 82 00 10 */ bne lbl_802A9110 +/* 802A9104 002A6064 38 00 00 00 */ li r0, 0 +/* 802A9108 002A6068 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A910C 002A606C 48 00 00 64 */ b lbl_802A9170 +lbl_802A9110: +/* 802A9110 002A6070 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 802A9114 002A6074 2C 03 00 00 */ cmpwi r3, 0 +/* 802A9118 002A6078 40 82 00 10 */ bne lbl_802A9128 +/* 802A911C 002A607C 38 00 00 00 */ li r0, 0 +/* 802A9120 002A6080 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A9124 002A6084 48 00 00 18 */ b lbl_802A913C +lbl_802A9128: +/* 802A9128 002A6088 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A912C 002A608C 38 A0 00 00 */ li r5, 0 +/* 802A9130 002A6090 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9134 002A6094 48 06 C6 E5 */ bl __nwa__FUlPCcPCc +/* 802A9138 002A6098 90 7E 00 3C */ stw r3, 0x3c(r30) +lbl_802A913C: +/* 802A913C 002A609C 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A9140 002A60A0 80 9F 00 3C */ lwz r4, 0x3c(r31) +/* 802A9144 002A60A4 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A9148 002A60A8 7C 09 03 A6 */ mtctr r0 +/* 802A914C 002A60AC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9150 002A60B0 40 81 00 20 */ ble lbl_802A9170 +lbl_802A9154: +/* 802A9154 002A60B4 28 03 00 00 */ cmplwi r3, 0 +/* 802A9158 002A60B8 41 82 00 0C */ beq lbl_802A9164 +/* 802A915C 002A60BC 88 04 00 00 */ lbz r0, 0(r4) +/* 802A9160 002A60C0 98 03 00 00 */ stb r0, 0(r3) +lbl_802A9164: +/* 802A9164 002A60C4 38 63 00 01 */ addi r3, r3, 1 +/* 802A9168 002A60C8 38 84 00 01 */ addi r4, r4, 1 +/* 802A916C 002A60CC 42 00 FF E8 */ bdnz lbl_802A9154 +lbl_802A9170: +/* 802A9170 002A60D0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802A9174 002A60D4 90 1E 00 44 */ stw r0, 0x44(r30) +/* 802A9178 002A60D8 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802A917C 002A60DC 90 1E 00 48 */ stw r0, 0x48(r30) +/* 802A9180 002A60E0 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 802A9184 002A60E4 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9188 002A60E8 40 82 00 1C */ bne lbl_802A91A4 +/* 802A918C 002A60EC 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 802A9190 002A60F0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9194 002A60F4 40 82 00 10 */ bne lbl_802A91A4 +/* 802A9198 002A60F8 38 00 00 00 */ li r0, 0 +/* 802A919C 002A60FC 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802A91A0 002A6100 48 00 00 6C */ b lbl_802A920C +lbl_802A91A4: +/* 802A91A4 002A6104 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 802A91A8 002A6108 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 802A91AC 002A610C 40 82 00 10 */ bne lbl_802A91BC +/* 802A91B0 002A6110 38 00 00 00 */ li r0, 0 +/* 802A91B4 002A6114 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 802A91B8 002A6118 48 00 00 18 */ b lbl_802A91D0 +lbl_802A91BC: +/* 802A91BC 002A611C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A91C0 002A6120 38 A0 00 00 */ li r5, 0 +/* 802A91C4 002A6124 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A91C8 002A6128 48 06 C6 51 */ bl __nwa__FUlPCcPCc +/* 802A91CC 002A612C 90 7E 00 4C */ stw r3, 0x4c(r30) +lbl_802A91D0: +/* 802A91D0 002A6130 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 802A91D4 002A6134 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 802A91D8 002A6138 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 802A91DC 002A613C 7C 09 03 A6 */ mtctr r0 +/* 802A91E0 002A6140 2C 00 00 00 */ cmpwi r0, 0 +/* 802A91E4 002A6144 40 81 00 28 */ ble lbl_802A920C +lbl_802A91E8: +/* 802A91E8 002A6148 28 03 00 00 */ cmplwi r3, 0 +/* 802A91EC 002A614C 41 82 00 14 */ beq lbl_802A9200 +/* 802A91F0 002A6150 A0 04 00 00 */ lhz r0, 0(r4) +/* 802A91F4 002A6154 B0 03 00 00 */ sth r0, 0(r3) +/* 802A91F8 002A6158 A0 04 00 02 */ lhz r0, 2(r4) +/* 802A91FC 002A615C B0 03 00 02 */ sth r0, 2(r3) +lbl_802A9200: +/* 802A9200 002A6160 38 63 00 04 */ addi r3, r3, 4 +/* 802A9204 002A6164 38 84 00 04 */ addi r4, r4, 4 +/* 802A9208 002A6168 42 00 FF E0 */ bdnz lbl_802A91E8 +lbl_802A920C: +/* 802A920C 002A616C 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 802A9210 002A6170 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802A9214 002A6174 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802A9218 002A6178 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802A921C 002A617C 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 802A9220 002A6180 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9224 002A6184 40 82 00 1C */ bne lbl_802A9240 +/* 802A9228 002A6188 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 802A922C 002A618C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9230 002A6190 40 82 00 10 */ bne lbl_802A9240 +/* 802A9234 002A6194 38 00 00 00 */ li r0, 0 +/* 802A9238 002A6198 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A923C 002A619C 48 00 00 64 */ b lbl_802A92A0 +lbl_802A9240: +/* 802A9240 002A61A0 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 802A9244 002A61A4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e +/* 802A9248 002A61A8 40 82 00 10 */ bne lbl_802A9258 +/* 802A924C 002A61AC 38 00 00 00 */ li r0, 0 +/* 802A9250 002A61B0 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A9254 002A61B4 48 00 00 18 */ b lbl_802A926C +lbl_802A9258: +/* 802A9258 002A61B8 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A925C 002A61BC 38 A0 00 00 */ li r5, 0 +/* 802A9260 002A61C0 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9264 002A61C4 48 06 C5 B5 */ bl __nwa__FUlPCcPCc +/* 802A9268 002A61C8 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_802A926C: +/* 802A926C 002A61CC 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A9270 002A61D0 80 9F 00 5C */ lwz r4, 0x5c(r31) +/* 802A9274 002A61D4 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A9278 002A61D8 7C 09 03 A6 */ mtctr r0 +/* 802A927C 002A61DC 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9280 002A61E0 40 81 00 20 */ ble lbl_802A92A0 +lbl_802A9284: +/* 802A9284 002A61E4 28 03 00 00 */ cmplwi r3, 0 +/* 802A9288 002A61E8 41 82 00 0C */ beq lbl_802A9294 +/* 802A928C 002A61EC A0 04 00 00 */ lhz r0, 0(r4) +/* 802A9290 002A61F0 B0 03 00 00 */ sth r0, 0(r3) +lbl_802A9294: +/* 802A9294 002A61F4 38 63 00 02 */ addi r3, r3, 2 +/* 802A9298 002A61F8 38 84 00 02 */ addi r4, r4, 2 +/* 802A929C 002A61FC 42 00 FF E8 */ bdnz lbl_802A9284 +lbl_802A92A0: +/* 802A92A0 002A6200 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 802A92A4 002A6204 90 1E 00 64 */ stw r0, 0x64(r30) +/* 802A92A8 002A6208 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802A92AC 002A620C 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802A92B0 002A6210 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 802A92B4 002A6214 2C 00 00 00 */ cmpwi r0, 0 +/* 802A92B8 002A6218 40 82 00 1C */ bne lbl_802A92D4 +/* 802A92BC 002A621C 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 802A92C0 002A6220 2C 00 00 00 */ cmpwi r0, 0 +/* 802A92C4 002A6224 40 82 00 10 */ bne lbl_802A92D4 +/* 802A92C8 002A6228 38 00 00 00 */ li r0, 0 +/* 802A92CC 002A622C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A92D0 002A6230 48 00 00 78 */ b lbl_802A9348 +lbl_802A92D4: +/* 802A92D4 002A6234 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 802A92D8 002A6238 1C 60 00 0C */ mulli r3, r0, 0xc +/* 802A92DC 002A623C 2C 03 00 00 */ cmpwi r3, 0 +/* 802A92E0 002A6240 40 82 00 10 */ bne lbl_802A92F0 +/* 802A92E4 002A6244 38 00 00 00 */ li r0, 0 +/* 802A92E8 002A6248 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A92EC 002A624C 48 00 00 18 */ b lbl_802A9304 +lbl_802A92F0: +/* 802A92F0 002A6250 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A92F4 002A6254 38 A0 00 00 */ li r5, 0 +/* 802A92F8 002A6258 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A92FC 002A625C 48 06 C5 1D */ bl __nwa__FUlPCcPCc +/* 802A9300 002A6260 90 7E 00 6C */ stw r3, 0x6c(r30) +lbl_802A9304: +/* 802A9304 002A6264 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A9308 002A6268 80 9F 00 6C */ lwz r4, 0x6c(r31) +/* 802A930C 002A626C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A9310 002A6270 7C 09 03 A6 */ mtctr r0 +/* 802A9314 002A6274 2C 00 00 00 */ cmpwi r0, 0 +/* 802A9318 002A6278 40 81 00 30 */ ble lbl_802A9348 +lbl_802A931C: +/* 802A931C 002A627C 28 03 00 00 */ cmplwi r3, 0 +/* 802A9320 002A6280 41 82 00 1C */ beq lbl_802A933C +/* 802A9324 002A6284 C0 04 00 00 */ lfs f0, 0(r4) +/* 802A9328 002A6288 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A932C 002A628C C0 04 00 04 */ lfs f0, 4(r4) +/* 802A9330 002A6290 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A9334 002A6294 C0 04 00 08 */ lfs f0, 8(r4) +/* 802A9338 002A6298 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A933C: +/* 802A933C 002A629C 38 63 00 0C */ addi r3, r3, 0xc +/* 802A9340 002A62A0 38 84 00 0C */ addi r4, r4, 0xc +/* 802A9344 002A62A4 42 00 FF D8 */ bdnz lbl_802A931C +lbl_802A9348: +/* 802A9348 002A62A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A934C 002A62AC 7F C3 F3 78 */ mr r3, r30 +/* 802A9350 002A62B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A9354 002A62B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A9358 002A62B8 7C 08 03 A6 */ mtlr r0 +/* 802A935C 002A62BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A9360 002A62C0 4E 80 00 20 */ blr + +.global __ct__Q28COBBTree10SIndexDataFR12CInputStream +__ct__Q28COBBTree10SIndexDataFR12CInputStream: +/* 802A9364 002A62C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A9368 002A62C8 7C 08 02 A6 */ mflr r0 +/* 802A936C 002A62CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9370 002A62D0 38 00 00 00 */ li r0, 0 +/* 802A9374 002A62D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 802A9378 002A62D8 7C 7E 1B 78 */ mr r30, r3 +/* 802A937C 002A62DC 7C 9F 23 78 */ mr r31, r4 +/* 802A9380 002A62E0 90 03 00 04 */ stw r0, 4(r3) +/* 802A9384 002A62E4 7F E3 FB 78 */ mr r3, r31 +/* 802A9388 002A62E8 90 1E 00 08 */ stw r0, 8(r30) +/* 802A938C 002A62EC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 802A9390 002A62F0 48 09 58 F5 */ bl ReadLong__12CInputStreamFv +/* 802A9394 002A62F4 7C 7B 1B 78 */ mr r27, r3 +/* 802A9398 002A62F8 7F C3 F3 78 */ mr r3, r30 +/* 802A939C 002A62FC 7F 64 DB 78 */ mr r4, r27 +/* 802A93A0 002A6300 4B DB A7 85 */ bl "reserve__Q24rstl37vectorFi" +/* 802A93A4 002A6304 3B 80 00 00 */ li r28, 0 +/* 802A93A8 002A6308 48 00 00 60 */ b lbl_802A9408 +lbl_802A93AC: +/* 802A93AC 002A630C 7F E3 FB 78 */ mr r3, r31 +/* 802A93B0 002A6310 48 09 58 D5 */ bl ReadLong__12CInputStreamFv +/* 802A93B4 002A6314 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A93B8 002A6318 7C 7D 1B 78 */ mr r29, r3 +/* 802A93BC 002A631C 80 BE 00 08 */ lwz r5, 8(r30) +/* 802A93C0 002A6320 7C 00 28 00 */ cmpw r0, r5 +/* 802A93C4 002A6324 41 80 00 1C */ blt lbl_802A93E0 +/* 802A93C8 002A6328 2C 05 00 00 */ cmpwi r5, 0 +/* 802A93CC 002A632C 7F C3 F3 78 */ mr r3, r30 +/* 802A93D0 002A6330 38 80 00 04 */ li r4, 4 +/* 802A93D4 002A6334 41 82 00 08 */ beq lbl_802A93DC +/* 802A93D8 002A6338 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A93DC: +/* 802A93DC 002A633C 4B DB A7 49 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A93E0: +/* 802A93E0 002A6340 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A93E4 002A6344 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A93E8 002A6348 54 00 10 3A */ slwi r0, r0, 2 +/* 802A93EC 002A634C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A93F0 002A6350 41 82 00 08 */ beq lbl_802A93F8 +/* 802A93F4 002A6354 93 A3 00 00 */ stw r29, 0(r3) +lbl_802A93F8: +/* 802A93F8 002A6358 80 7E 00 04 */ lwz r3, 4(r30) +/* 802A93FC 002A635C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9400 002A6360 38 03 00 01 */ addi r0, r3, 1 +/* 802A9404 002A6364 90 1E 00 04 */ stw r0, 4(r30) +lbl_802A9408: +/* 802A9408 002A6368 7C 1C D8 00 */ cmpw r28, r27 +/* 802A940C 002A636C 41 80 FF A0 */ blt lbl_802A93AC +/* 802A9410 002A6370 38 00 00 00 */ li r0, 0 +/* 802A9414 002A6374 7F E3 FB 78 */ mr r3, r31 +/* 802A9418 002A6378 90 1E 00 14 */ stw r0, 0x14(r30) +/* 802A941C 002A637C 90 1E 00 18 */ stw r0, 0x18(r30) +/* 802A9420 002A6380 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 802A9424 002A6384 48 09 58 61 */ bl ReadLong__12CInputStreamFv +/* 802A9428 002A6388 7C 7B 1B 78 */ mr r27, r3 +/* 802A942C 002A638C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A9430 002A6390 7F 64 DB 78 */ mr r4, r27 +/* 802A9434 002A6394 4B F2 CD C9 */ bl "reserve__Q24rstl37vectorFi" +/* 802A9438 002A6398 3B 80 00 00 */ li r28, 0 +/* 802A943C 002A639C 48 00 00 5C */ b lbl_802A9498 +lbl_802A9440: +/* 802A9440 002A63A0 7F E3 FB 78 */ mr r3, r31 +/* 802A9444 002A63A4 48 09 58 C9 */ bl ReadChar__12CInputStreamFv +/* 802A9448 002A63A8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A944C 002A63AC 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A9450 002A63B0 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 802A9454 002A63B4 7C 00 28 00 */ cmpw r0, r5 +/* 802A9458 002A63B8 41 80 00 1C */ blt lbl_802A9474 +/* 802A945C 002A63BC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9460 002A63C0 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A9464 002A63C4 38 80 00 04 */ li r4, 4 +/* 802A9468 002A63C8 41 82 00 08 */ beq lbl_802A9470 +/* 802A946C 002A63CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9470: +/* 802A9470 002A63D0 4B F2 CD 8D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9474: +/* 802A9474 002A63D4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 802A9478 002A63D8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 802A947C 002A63DC 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9480 002A63E0 41 82 00 08 */ beq lbl_802A9488 +/* 802A9484 002A63E4 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A9488: +/* 802A9488 002A63E8 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 802A948C 002A63EC 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9490 002A63F0 38 03 00 01 */ addi r0, r3, 1 +/* 802A9494 002A63F4 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_802A9498: +/* 802A9498 002A63F8 7C 1C D8 00 */ cmpw r28, r27 +/* 802A949C 002A63FC 41 80 FF A4 */ blt lbl_802A9440 +/* 802A94A0 002A6400 38 00 00 00 */ li r0, 0 +/* 802A94A4 002A6404 7F E3 FB 78 */ mr r3, r31 +/* 802A94A8 002A6408 90 1E 00 24 */ stw r0, 0x24(r30) +/* 802A94AC 002A640C 90 1E 00 28 */ stw r0, 0x28(r30) +/* 802A94B0 002A6410 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 802A94B4 002A6414 48 09 57 D1 */ bl ReadLong__12CInputStreamFv +/* 802A94B8 002A6418 7C 7B 1B 78 */ mr r27, r3 +/* 802A94BC 002A641C 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802A94C0 002A6420 7F 64 DB 78 */ mr r4, r27 +/* 802A94C4 002A6424 4B F2 CD 39 */ bl "reserve__Q24rstl37vectorFi" +/* 802A94C8 002A6428 3B 80 00 00 */ li r28, 0 +/* 802A94CC 002A642C 48 00 00 5C */ b lbl_802A9528 +lbl_802A94D0: +/* 802A94D0 002A6430 7F E3 FB 78 */ mr r3, r31 +/* 802A94D4 002A6434 48 09 58 39 */ bl ReadChar__12CInputStreamFv +/* 802A94D8 002A6438 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A94DC 002A643C 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A94E0 002A6440 80 BE 00 28 */ lwz r5, 0x28(r30) +/* 802A94E4 002A6444 7C 00 28 00 */ cmpw r0, r5 +/* 802A94E8 002A6448 41 80 00 1C */ blt lbl_802A9504 +/* 802A94EC 002A644C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A94F0 002A6450 38 7E 00 20 */ addi r3, r30, 0x20 +/* 802A94F4 002A6454 38 80 00 04 */ li r4, 4 +/* 802A94F8 002A6458 41 82 00 08 */ beq lbl_802A9500 +/* 802A94FC 002A645C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9500: +/* 802A9500 002A6460 4B F2 CC FD */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9504: +/* 802A9504 002A6464 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 802A9508 002A6468 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 802A950C 002A646C 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9510 002A6470 41 82 00 08 */ beq lbl_802A9518 +/* 802A9514 002A6474 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A9518: +/* 802A9518 002A6478 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 802A951C 002A647C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9520 002A6480 38 03 00 01 */ addi r0, r3, 1 +/* 802A9524 002A6484 90 1E 00 24 */ stw r0, 0x24(r30) +lbl_802A9528: +/* 802A9528 002A6488 7C 1C D8 00 */ cmpw r28, r27 +/* 802A952C 002A648C 41 80 FF A4 */ blt lbl_802A94D0 +/* 802A9530 002A6490 38 00 00 00 */ li r0, 0 +/* 802A9534 002A6494 7F E3 FB 78 */ mr r3, r31 +/* 802A9538 002A6498 90 1E 00 34 */ stw r0, 0x34(r30) +/* 802A953C 002A649C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 802A9540 002A64A0 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 802A9544 002A64A4 48 09 57 41 */ bl ReadLong__12CInputStreamFv +/* 802A9548 002A64A8 7C 7B 1B 78 */ mr r27, r3 +/* 802A954C 002A64AC 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802A9550 002A64B0 7F 64 DB 78 */ mr r4, r27 +/* 802A9554 002A64B4 4B F2 CC A9 */ bl "reserve__Q24rstl37vectorFi" +/* 802A9558 002A64B8 3B 80 00 00 */ li r28, 0 +/* 802A955C 002A64BC 48 00 00 5C */ b lbl_802A95B8 +lbl_802A9560: +/* 802A9560 002A64C0 7F E3 FB 78 */ mr r3, r31 +/* 802A9564 002A64C4 48 09 57 A9 */ bl ReadChar__12CInputStreamFv +/* 802A9568 002A64C8 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A956C 002A64CC 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 802A9570 002A64D0 80 BE 00 38 */ lwz r5, 0x38(r30) +/* 802A9574 002A64D4 7C 00 28 00 */ cmpw r0, r5 +/* 802A9578 002A64D8 41 80 00 1C */ blt lbl_802A9594 +/* 802A957C 002A64DC 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9580 002A64E0 38 7E 00 30 */ addi r3, r30, 0x30 +/* 802A9584 002A64E4 38 80 00 04 */ li r4, 4 +/* 802A9588 002A64E8 41 82 00 08 */ beq lbl_802A9590 +/* 802A958C 002A64EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9590: +/* 802A9590 002A64F0 4B F2 CC 6D */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9594: +/* 802A9594 002A64F4 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 802A9598 002A64F8 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 802A959C 002A64FC 7C 63 02 15 */ add. r3, r3, r0 +/* 802A95A0 002A6500 41 82 00 08 */ beq lbl_802A95A8 +/* 802A95A4 002A6504 9B A3 00 00 */ stb r29, 0(r3) +lbl_802A95A8: +/* 802A95A8 002A6508 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 802A95AC 002A650C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A95B0 002A6510 38 03 00 01 */ addi r0, r3, 1 +/* 802A95B4 002A6514 90 1E 00 34 */ stw r0, 0x34(r30) +lbl_802A95B8: +/* 802A95B8 002A6518 7C 1C D8 00 */ cmpw r28, r27 +/* 802A95BC 002A651C 41 80 FF A4 */ blt lbl_802A9560 +/* 802A95C0 002A6520 7F E4 FB 78 */ mr r4, r31 +/* 802A95C4 002A6524 38 7E 00 40 */ addi r3, r30, 0x40 +/* 802A95C8 002A6528 38 A1 00 08 */ addi r5, r1, 8 +/* 802A95CC 002A652C 48 00 01 59 */ bl "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 802A95D0 002A6530 38 00 00 00 */ li r0, 0 +/* 802A95D4 002A6534 7F E3 FB 78 */ mr r3, r31 +/* 802A95D8 002A6538 90 1E 00 54 */ stw r0, 0x54(r30) +/* 802A95DC 002A653C 90 1E 00 58 */ stw r0, 0x58(r30) +/* 802A95E0 002A6540 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 802A95E4 002A6544 48 09 56 A1 */ bl ReadLong__12CInputStreamFv +/* 802A95E8 002A6548 7C 7B 1B 78 */ mr r27, r3 +/* 802A95EC 002A654C 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802A95F0 002A6550 7F 64 DB 78 */ mr r4, r27 +/* 802A95F4 002A6554 4B DB AD 0D */ bl "reserve__Q24rstl37vectorFi" +/* 802A95F8 002A6558 3B 80 00 00 */ li r28, 0 +/* 802A95FC 002A655C 48 00 00 60 */ b lbl_802A965C +lbl_802A9600: +/* 802A9600 002A6560 7F E3 FB 78 */ mr r3, r31 +/* 802A9604 002A6564 48 09 56 AD */ bl ReadShort__12CInputStreamFv +/* 802A9608 002A6568 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A960C 002A656C 7C 7D 1B 78 */ mr r29, r3 +/* 802A9610 002A6570 80 BE 00 58 */ lwz r5, 0x58(r30) +/* 802A9614 002A6574 7C 00 28 00 */ cmpw r0, r5 +/* 802A9618 002A6578 41 80 00 1C */ blt lbl_802A9634 +/* 802A961C 002A657C 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9620 002A6580 38 7E 00 50 */ addi r3, r30, 0x50 +/* 802A9624 002A6584 38 80 00 04 */ li r4, 4 +/* 802A9628 002A6588 41 82 00 08 */ beq lbl_802A9630 +/* 802A962C 002A658C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A9630: +/* 802A9630 002A6590 4B DB AC D1 */ bl "reserve__Q24rstl37vectorFi" +lbl_802A9634: +/* 802A9634 002A6594 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 802A9638 002A6598 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 802A963C 002A659C 54 00 08 3C */ slwi r0, r0, 1 +/* 802A9640 002A65A0 7C 63 02 15 */ add. r3, r3, r0 +/* 802A9644 002A65A4 41 82 00 08 */ beq lbl_802A964C +/* 802A9648 002A65A8 B3 A3 00 00 */ sth r29, 0(r3) +lbl_802A964C: +/* 802A964C 002A65AC 80 7E 00 54 */ lwz r3, 0x54(r30) +/* 802A9650 002A65B0 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A9654 002A65B4 38 03 00 01 */ addi r0, r3, 1 +/* 802A9658 002A65B8 90 1E 00 54 */ stw r0, 0x54(r30) +lbl_802A965C: +/* 802A965C 002A65BC 7C 1C D8 00 */ cmpw r28, r27 +/* 802A9660 002A65C0 41 80 FF A0 */ blt lbl_802A9600 +/* 802A9664 002A65C4 38 00 00 00 */ li r0, 0 +/* 802A9668 002A65C8 7F E3 FB 78 */ mr r3, r31 +/* 802A966C 002A65CC 90 1E 00 64 */ stw r0, 0x64(r30) +/* 802A9670 002A65D0 90 1E 00 68 */ stw r0, 0x68(r30) +/* 802A9674 002A65D4 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 802A9678 002A65D8 48 09 56 0D */ bl ReadLong__12CInputStreamFv +/* 802A967C 002A65DC 7C 7B 1B 78 */ mr r27, r3 +/* 802A9680 002A65E0 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802A9684 002A65E4 7F 64 DB 78 */ mr r4, r27 +/* 802A9688 002A65E8 4B DB 46 71 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 802A968C 002A65EC 3B 80 00 00 */ li r28, 0 +/* 802A9690 002A65F0 48 00 00 74 */ b lbl_802A9704 +lbl_802A9694: +/* 802A9694 002A65F4 7F E4 FB 78 */ mr r4, r31 +/* 802A9698 002A65F8 38 61 00 0C */ addi r3, r1, 0xc +/* 802A969C 002A65FC 48 06 B4 F1 */ bl __ct__9CVector3fFR12CInputStream +/* 802A96A0 002A6600 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A96A4 002A6604 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 802A96A8 002A6608 7C 00 28 00 */ cmpw r0, r5 +/* 802A96AC 002A660C 41 80 00 1C */ blt lbl_802A96C8 +/* 802A96B0 002A6610 2C 05 00 00 */ cmpwi r5, 0 +/* 802A96B4 002A6614 38 7E 00 60 */ addi r3, r30, 0x60 +/* 802A96B8 002A6618 38 80 00 04 */ li r4, 4 +/* 802A96BC 002A661C 41 82 00 08 */ beq lbl_802A96C4 +/* 802A96C0 002A6620 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A96C4: +/* 802A96C4 002A6624 4B DB 46 35 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_802A96C8: +/* 802A96C8 002A6628 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 802A96CC 002A662C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 802A96D0 002A6630 1C 00 00 0C */ mulli r0, r0, 0xc +/* 802A96D4 002A6634 7C 63 02 15 */ add. r3, r3, r0 +/* 802A96D8 002A6638 41 82 00 1C */ beq lbl_802A96F4 +/* 802A96DC 002A663C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 802A96E0 002A6640 D0 03 00 00 */ stfs f0, 0(r3) +/* 802A96E4 002A6644 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 802A96E8 002A6648 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A96EC 002A664C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 802A96F0 002A6650 D0 03 00 08 */ stfs f0, 8(r3) +lbl_802A96F4: +/* 802A96F4 002A6654 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 802A96F8 002A6658 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A96FC 002A665C 38 03 00 01 */ addi r0, r3, 1 +/* 802A9700 002A6660 90 1E 00 64 */ stw r0, 0x64(r30) +lbl_802A9704: +/* 802A9704 002A6664 7C 1C D8 00 */ cmpw r28, r27 +/* 802A9708 002A6668 41 80 FF 8C */ blt lbl_802A9694 +/* 802A970C 002A666C 7F C3 F3 78 */ mr r3, r30 +/* 802A9710 002A6670 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 802A9714 002A6674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A9718 002A6678 7C 08 03 A6 */ mtlr r0 +/* 802A971C 002A667C 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A9720 002A6680 4E 80 00 20 */ blr + +.global "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 802A9724 002A6684 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802A9728 002A6688 7C 08 02 A6 */ mflr r0 +/* 802A972C 002A668C 90 01 00 24 */ stw r0, 0x24(r1) +/* 802A9730 002A6690 38 00 00 00 */ li r0, 0 +/* 802A9734 002A6694 BF 41 00 08 */ stmw r26, 8(r1) +/* 802A9738 002A6698 7C 7A 1B 78 */ mr r26, r3 +/* 802A973C 002A669C 7C 9B 23 78 */ mr r27, r4 +/* 802A9740 002A66A0 90 03 00 04 */ stw r0, 4(r3) +/* 802A9744 002A66A4 7F 63 DB 78 */ mr r3, r27 +/* 802A9748 002A66A8 90 1A 00 08 */ stw r0, 8(r26) +/* 802A974C 002A66AC 90 1A 00 0C */ stw r0, 0xc(r26) +/* 802A9750 002A66B0 48 09 55 35 */ bl ReadLong__12CInputStreamFv +/* 802A9754 002A66B4 7C 7D 1B 78 */ mr r29, r3 +/* 802A9758 002A66B8 7F 43 D3 78 */ mr r3, r26 +/* 802A975C 002A66BC 7F A4 EB 78 */ mr r4, r29 +/* 802A9760 002A66C0 48 00 00 99 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +/* 802A9764 002A66C4 3B 80 00 00 */ li r28, 0 +/* 802A9768 002A66C8 48 00 00 70 */ b lbl_802A97D8 +lbl_802A976C: +/* 802A976C 002A66CC 7F 63 DB 78 */ mr r3, r27 +/* 802A9770 002A66D0 48 09 55 41 */ bl ReadShort__12CInputStreamFv +/* 802A9774 002A66D4 7C 7E 1B 78 */ mr r30, r3 +/* 802A9778 002A66D8 7F 63 DB 78 */ mr r3, r27 +/* 802A977C 002A66DC 48 09 55 35 */ bl ReadShort__12CInputStreamFv +/* 802A9780 002A66E0 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A9784 002A66E4 7C 7F 1B 78 */ mr r31, r3 +/* 802A9788 002A66E8 80 BA 00 08 */ lwz r5, 8(r26) +/* 802A978C 002A66EC 7C 00 28 00 */ cmpw r0, r5 +/* 802A9790 002A66F0 41 80 00 1C */ blt lbl_802A97AC +/* 802A9794 002A66F4 2C 05 00 00 */ cmpwi r5, 0 +/* 802A9798 002A66F8 7F 43 D3 78 */ mr r3, r26 +/* 802A979C 002A66FC 38 80 00 04 */ li r4, 4 +/* 802A97A0 002A6700 41 82 00 08 */ beq lbl_802A97A8 +/* 802A97A4 002A6704 54 A4 08 3C */ slwi r4, r5, 1 +lbl_802A97A8: +/* 802A97A8 002A6708 48 00 00 51 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +lbl_802A97AC: +/* 802A97AC 002A670C 80 1A 00 04 */ lwz r0, 4(r26) +/* 802A97B0 002A6710 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 802A97B4 002A6714 54 00 10 3A */ slwi r0, r0, 2 +/* 802A97B8 002A6718 7C 63 02 15 */ add. r3, r3, r0 +/* 802A97BC 002A671C 41 82 00 0C */ beq lbl_802A97C8 +/* 802A97C0 002A6720 B3 C3 00 00 */ sth r30, 0(r3) +/* 802A97C4 002A6724 B3 E3 00 02 */ sth r31, 2(r3) +lbl_802A97C8: +/* 802A97C8 002A6728 80 7A 00 04 */ lwz r3, 4(r26) +/* 802A97CC 002A672C 3B 9C 00 01 */ addi r28, r28, 1 +/* 802A97D0 002A6730 38 03 00 01 */ addi r0, r3, 1 +/* 802A97D4 002A6734 90 1A 00 04 */ stw r0, 4(r26) +lbl_802A97D8: +/* 802A97D8 002A6738 7C 1C E8 00 */ cmpw r28, r29 +/* 802A97DC 002A673C 41 80 FF 90 */ blt lbl_802A976C +/* 802A97E0 002A6740 7F 43 D3 78 */ mr r3, r26 +/* 802A97E4 002A6744 BB 41 00 08 */ lmw r26, 8(r1) +/* 802A97E8 002A6748 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802A97EC 002A674C 7C 08 03 A6 */ mtlr r0 +/* 802A97F0 002A6750 38 21 00 20 */ addi r1, r1, 0x20 +/* 802A97F4 002A6754 4E 80 00 20 */ blr + +.global "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi": +/* 802A97F8 002A6758 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 802A97FC 002A675C 7C 08 02 A6 */ mflr r0 +/* 802A9800 002A6760 90 01 00 34 */ stw r0, 0x34(r1) +/* 802A9804 002A6764 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 802A9808 002A6768 7C 9F 23 78 */ mr r31, r4 +/* 802A980C 002A676C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 802A9810 002A6770 7C 7E 1B 78 */ mr r30, r3 +/* 802A9814 002A6774 93 A1 00 24 */ stw r29, 0x24(r1) +/* 802A9818 002A6778 80 03 00 08 */ lwz r0, 8(r3) +/* 802A981C 002A677C 7C 1F 00 00 */ cmpw r31, r0 +/* 802A9820 002A6780 40 81 00 B0 */ ble lbl_802A98D0 +/* 802A9824 002A6784 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 802A9828 002A6788 40 82 00 0C */ bne lbl_802A9834 +/* 802A982C 002A678C 3B A0 00 00 */ li r29, 0 +/* 802A9830 002A6790 48 00 00 18 */ b lbl_802A9848 +lbl_802A9834: +/* 802A9834 002A6794 3C 80 80 3D */ lis r4, lbl_803D60E8@ha +/* 802A9838 002A6798 38 A0 00 00 */ li r5, 0 +/* 802A983C 002A679C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l +/* 802A9840 002A67A0 48 06 BF D9 */ bl __nwa__FUlPCcPCc +/* 802A9844 002A67A4 7C 7D 1B 78 */ mr r29, r3 +lbl_802A9848: +/* 802A9848 002A67A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A984C 002A67AC 7F A4 EB 78 */ mr r4, r29 +/* 802A9850 002A67B0 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 802A9854 002A67B4 54 00 10 3A */ slwi r0, r0, 2 +/* 802A9858 002A67B8 7C 65 02 14 */ add r3, r5, r0 +/* 802A985C 002A67BC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 802A9860 002A67C0 90 61 00 08 */ stw r3, 8(r1) +/* 802A9864 002A67C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 802A9868 002A67C8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 802A986C 002A67CC 48 00 00 24 */ b lbl_802A9890 +lbl_802A9870: +/* 802A9870 002A67D0 28 04 00 00 */ cmplwi r4, 0 +/* 802A9874 002A67D4 41 82 00 14 */ beq lbl_802A9888 +/* 802A9878 002A67D8 A0 05 00 00 */ lhz r0, 0(r5) +/* 802A987C 002A67DC B0 04 00 00 */ sth r0, 0(r4) +/* 802A9880 002A67E0 A0 05 00 02 */ lhz r0, 2(r5) +/* 802A9884 002A67E4 B0 04 00 02 */ sth r0, 2(r4) +lbl_802A9888: +/* 802A9888 002A67E8 38 84 00 04 */ addi r4, r4, 4 +/* 802A988C 002A67EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_802A9890: +/* 802A9890 002A67F0 7C 05 18 40 */ cmplw r5, r3 +/* 802A9894 002A67F4 40 82 FF DC */ bne lbl_802A9870 +/* 802A9898 002A67F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 802A989C 002A67FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 802A98A0 002A6800 54 00 10 3A */ slwi r0, r0, 2 +/* 802A98A4 002A6804 7C 64 1B 78 */ mr r4, r3 +/* 802A98A8 002A6808 7C 03 02 14 */ add r0, r3, r0 +/* 802A98AC 002A680C 48 00 00 08 */ b lbl_802A98B4 +lbl_802A98B0: +/* 802A98B0 002A6810 38 84 00 04 */ addi r4, r4, 4 +lbl_802A98B4: +/* 802A98B4 002A6814 7C 04 00 40 */ cmplw r4, r0 +/* 802A98B8 002A6818 40 82 FF F8 */ bne lbl_802A98B0 +/* 802A98BC 002A681C 28 03 00 00 */ cmplwi r3, 0 +/* 802A98C0 002A6820 41 82 00 08 */ beq lbl_802A98C8 +/* 802A98C4 002A6824 48 06 C0 6D */ bl Free__7CMemoryFPCv +lbl_802A98C8: +/* 802A98C8 002A6828 93 BE 00 0C */ stw r29, 0xc(r30) +/* 802A98CC 002A682C 93 FE 00 08 */ stw r31, 8(r30) +lbl_802A98D0: +/* 802A98D0 002A6830 80 01 00 34 */ lwz r0, 0x34(r1) +/* 802A98D4 002A6834 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 802A98D8 002A6838 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 802A98DC 002A683C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 802A98E0 002A6840 7C 08 03 A6 */ mtlr r0 +/* 802A98E4 002A6844 38 21 00 30 */ addi r1, r1, 0x30 +/* 802A98E8 002A6848 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CPVSVisOctree.s b/asm/WorldFormat/CPVSVisOctree.s new file mode 100644 index 00000000..8b7109e4 --- /dev/null +++ b/asm/WorldFormat/CPVSVisOctree.s @@ -0,0 +1,209 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetEntityIdByIndex__13CPVSVisOctreeFi +GetEntityIdByIndex__13CPVSVisOctreeFi: +/* 802AE3E4 002AB344 80 63 00 18 */ lwz r3, 0x18(r3) +/* 802AE3E8 002AB348 54 80 10 3A */ slwi r0, r4, 2 +/* 802AE3EC 002AB34C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 802AE3F0 002AB350 4E 80 00 20 */ blr + +.global GetLightSet__11CPVSAreaSetCFi +GetLightSet__11CPVSAreaSetCFi: +/* 802AE3F4 002AB354 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 802AE3F8 002AB358 7C 08 02 A6 */ mflr r0 +/* 802AE3FC 002AB35C 7C 89 23 78 */ mr r9, r4 +/* 802AE400 002AB360 90 01 00 24 */ stw r0, 0x24(r1) +/* 802AE404 002AB364 38 00 00 00 */ li r0, 0 +/* 802AE408 002AB368 38 C1 00 08 */ addi r6, r1, 8 +/* 802AE40C 002AB36C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 802AE410 002AB370 81 09 00 1C */ lwz r8, 0x1c(r9) +/* 802AE414 002AB374 7C E4 29 D6 */ mullw r7, r4, r5 +/* 802AE418 002AB378 98 01 00 08 */ stb r0, 8(r1) +/* 802AE41C 002AB37C 80 89 00 38 */ lwz r4, 0x38(r9) +/* 802AE420 002AB380 80 A9 00 3C */ lwz r5, 0x3c(r9) +/* 802AE424 002AB384 7D 08 3A 14 */ add r8, r8, r7 +/* 802AE428 002AB388 7C E8 00 D0 */ neg r7, r8 +/* 802AE42C 002AB38C 91 01 00 14 */ stw r8, 0x14(r1) +/* 802AE430 002AB390 7C E7 43 78 */ or r7, r7, r8 +/* 802AE434 002AB394 54 E7 0F FE */ srwi r7, r7, 0x1f +/* 802AE438 002AB398 91 01 00 0C */ stw r8, 0xc(r1) +/* 802AE43C 002AB39C 98 E1 00 10 */ stb r7, 0x10(r1) +/* 802AE440 002AB3A0 98 01 00 10 */ stb r0, 0x10(r1) +/* 802AE444 002AB3A4 98 01 00 10 */ stb r0, 0x10(r1) +/* 802AE448 002AB3A8 48 06 7F 55 */ bl SetFromMemory__10CPVSVisSetFiiPCc +/* 802AE44C 002AB3AC 88 01 00 08 */ lbz r0, 8(r1) +/* 802AE450 002AB3B0 28 00 00 00 */ cmplwi r0, 0 +/* 802AE454 002AB3B4 41 82 00 0C */ beq lbl_802AE460 +/* 802AE458 002AB3B8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 802AE45C 002AB3BC 48 06 74 D5 */ bl Free__7CMemoryFPCv +lbl_802AE460: +/* 802AE460 002AB3C0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 802AE464 002AB3C4 28 00 00 00 */ cmplwi r0, 0 +/* 802AE468 002AB3C8 41 82 00 0C */ beq lbl_802AE474 +/* 802AE46C 002AB3CC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 802AE470 002AB3D0 48 06 74 C1 */ bl Free__7CMemoryFPCv +lbl_802AE474: +/* 802AE474 002AB3D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 802AE478 002AB3D8 7C 08 03 A6 */ mtlr r0 +/* 802AE47C 002AB3DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 802AE480 002AB3E0 4E 80 00 20 */ blr + +.global GetVisOctree__13CPVSVisOctreeFv +GetVisOctree__13CPVSVisOctreeFv: +/* 802AE484 002AB3E4 38 63 00 20 */ addi r3, r3, 0x20 +/* 802AE488 002AB3E8 4E 80 00 20 */ blr + +.global __ct__11CPVSAreaSetFPCci +__ct__11CPVSAreaSetFPCci: +/* 802AE48C 002AB3EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE490 002AB3F0 7C 08 02 A6 */ mflr r0 +/* 802AE494 002AB3F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE498 002AB3F8 BE C1 00 38 */ stmw r22, 0x38(r1) +/* 802AE49C 002AB3FC 7C 7B 1B 78 */ mr r27, r3 +/* 802AE4A0 002AB400 7C 9C 23 78 */ mr r28, r4 +/* 802AE4A4 002AB404 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4A8 002AB408 48 09 0D 25 */ bl __ct__15CMemoryInStreamFPCvUl +/* 802AE4AC 002AB40C 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4B0 002AB410 48 09 07 D5 */ bl ReadLong__12CInputStreamFv +/* 802AE4B4 002AB414 7C 60 1B 78 */ mr r0, r3 +/* 802AE4B8 002AB418 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4BC 002AB41C 7C 1F 03 78 */ mr r31, r0 +/* 802AE4C0 002AB420 48 09 07 C5 */ bl ReadLong__12CInputStreamFv +/* 802AE4C4 002AB424 7C 60 1B 78 */ mr r0, r3 +/* 802AE4C8 002AB428 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4CC 002AB42C 7C 1E 03 78 */ mr r30, r0 +/* 802AE4D0 002AB430 48 09 07 B5 */ bl ReadLong__12CInputStreamFv +/* 802AE4D4 002AB434 7C 60 1B 78 */ mr r0, r3 +/* 802AE4D8 002AB438 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4DC 002AB43C 7C 1D 03 78 */ mr r29, r0 +/* 802AE4E0 002AB440 48 09 07 A5 */ bl ReadLong__12CInputStreamFv +/* 802AE4E4 002AB444 7C 60 1B 78 */ mr r0, r3 +/* 802AE4E8 002AB448 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4EC 002AB44C 7C 1A 03 78 */ mr r26, r0 +/* 802AE4F0 002AB450 48 09 07 95 */ bl ReadLong__12CInputStreamFv +/* 802AE4F4 002AB454 7C 60 1B 78 */ mr r0, r3 +/* 802AE4F8 002AB458 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE4FC 002AB45C 7C 19 03 78 */ mr r25, r0 +/* 802AE500 002AB460 48 09 07 85 */ bl ReadLong__12CInputStreamFv +/* 802AE504 002AB464 80 01 00 28 */ lwz r0, 0x28(r1) +/* 802AE508 002AB468 7C 78 1B 78 */ mr r24, r3 +/* 802AE50C 002AB46C 3C 80 80 3D */ lis r4, lbl_803D6110@ha +/* 802AE510 002AB470 57 43 10 3A */ slwi r3, r26, 2 +/* 802AE514 002AB474 7F 9C 02 14 */ add r28, r28, r0 +/* 802AE518 002AB478 38 A0 00 00 */ li r5, 0 +/* 802AE51C 002AB47C 7C 18 C9 D6 */ mullw r0, r24, r25 +/* 802AE520 002AB480 38 84 61 10 */ addi r4, r4, lbl_803D6110@l +/* 802AE524 002AB484 7E FC 1A 14 */ add r23, r28, r3 +/* 802AE528 002AB488 38 60 00 64 */ li r3, 0x64 +/* 802AE52C 002AB48C 7E D7 02 14 */ add r22, r23, r0 +/* 802AE530 002AB490 48 06 73 3D */ bl __nw__FUlPCcPCc +/* 802AE534 002AB494 7C 66 1B 79 */ or. r6, r3, r3 +/* 802AE538 002AB498 41 82 00 30 */ beq lbl_802AE568 +/* 802AE53C 002AB49C 92 E1 00 08 */ stw r23, 8(r1) +/* 802AE540 002AB4A0 7F E4 FB 78 */ mr r4, r31 +/* 802AE544 002AB4A4 7F C5 F3 78 */ mr r5, r30 +/* 802AE548 002AB4A8 7F A6 EB 78 */ mr r6, r29 +/* 802AE54C 002AB4AC 92 C1 00 0C */ stw r22, 0xc(r1) +/* 802AE550 002AB4B0 7F 47 D3 78 */ mr r7, r26 +/* 802AE554 002AB4B4 7F 28 CB 78 */ mr r8, r25 +/* 802AE558 002AB4B8 7F 09 C3 78 */ mr r9, r24 +/* 802AE55C 002AB4BC 7F 8A E3 78 */ mr r10, r28 +/* 802AE560 002AB4C0 48 00 00 49 */ bl __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii +/* 802AE564 002AB4C4 7C 66 1B 78 */ mr r6, r3 +lbl_802AE568: +/* 802AE568 002AB4C8 7C 06 00 D0 */ neg r0, r6 +/* 802AE56C 002AB4CC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 802AE570 002AB4D0 7C 00 33 78 */ or r0, r0, r6 +/* 802AE574 002AB4D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 802AE578 002AB4D8 54 05 0F FE */ srwi r5, r0, 0x1f +/* 802AE57C 002AB4DC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 802AE580 002AB4E0 98 BB 00 00 */ stb r5, 0(r27) +/* 802AE584 002AB4E4 38 80 00 00 */ li r4, 0 +/* 802AE588 002AB4E8 90 DB 00 04 */ stw r6, 4(r27) +/* 802AE58C 002AB4EC 90 01 00 10 */ stw r0, 0x10(r1) +/* 802AE590 002AB4F0 48 09 0B 1D */ bl __dt__12CInputStreamFv +/* 802AE594 002AB4F4 BA C1 00 38 */ lmw r22, 0x38(r1) +/* 802AE598 002AB4F8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AE59C 002AB4FC 7C 08 03 A6 */ mtlr r0 +/* 802AE5A0 002AB500 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AE5A4 002AB504 4E 80 00 20 */ blr + +.global __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii +__ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii: +/* 802AE5A8 002AB508 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 802AE5AC 002AB50C 7C 08 02 A6 */ mflr r0 +/* 802AE5B0 002AB510 90 01 00 64 */ stw r0, 0x64(r1) +/* 802AE5B4 002AB514 80 01 00 68 */ lwz r0, 0x68(r1) +/* 802AE5B8 002AB518 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 802AE5BC 002AB51C 7C 7F 1B 78 */ mr r31, r3 +/* 802AE5C0 002AB520 90 83 00 00 */ stw r4, 0(r3) +/* 802AE5C4 002AB524 38 61 00 08 */ addi r3, r1, 8 +/* 802AE5C8 002AB528 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 802AE5CC 002AB52C 90 BF 00 04 */ stw r5, 4(r31) +/* 802AE5D0 002AB530 38 A0 00 44 */ li r5, 0x44 +/* 802AE5D4 002AB534 90 DF 00 08 */ stw r6, 8(r31) +/* 802AE5D8 002AB538 90 FF 00 0C */ stw r7, 0xc(r31) +/* 802AE5DC 002AB53C 91 1F 00 10 */ stw r8, 0x10(r31) +/* 802AE5E0 002AB540 91 3F 00 14 */ stw r9, 0x14(r31) +/* 802AE5E4 002AB544 91 5F 00 18 */ stw r10, 0x18(r31) +/* 802AE5E8 002AB548 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 802AE5EC 002AB54C 48 06 7B B9 */ bl MakePVSVisOctree__13CPVSVisOctreeFPCci +/* 802AE5F0 002AB550 38 7F 00 20 */ addi r3, r31, 0x20 +/* 802AE5F4 002AB554 38 81 00 08 */ addi r4, r1, 8 +/* 802AE5F8 002AB558 48 00 00 39 */ bl sub_802ae630 +/* 802AE5FC 002AB55C 34 61 00 28 */ addic. r3, r1, 0x28 +/* 802AE600 002AB560 41 82 00 18 */ beq lbl_802AE618 +/* 802AE604 002AB564 88 03 00 00 */ lbz r0, 0(r3) +/* 802AE608 002AB568 28 00 00 00 */ cmplwi r0, 0 +/* 802AE60C 002AB56C 41 82 00 0C */ beq lbl_802AE618 +/* 802AE610 002AB570 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 802AE614 002AB574 48 06 73 1D */ bl Free__7CMemoryFPCv +lbl_802AE618: +/* 802AE618 002AB578 80 01 00 64 */ lwz r0, 0x64(r1) +/* 802AE61C 002AB57C 7F E3 FB 78 */ mr r3, r31 +/* 802AE620 002AB580 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 802AE624 002AB584 7C 08 03 A6 */ mtlr r0 +/* 802AE628 002AB588 38 21 00 60 */ addi r1, r1, 0x60 +/* 802AE62C 002AB58C 4E 80 00 20 */ blr + +.global sub_802ae630 +sub_802ae630: +/* 802AE630 002AB590 C0 04 00 00 */ lfs f0, 0(r4) +/* 802AE634 002AB594 38 00 00 00 */ li r0, 0 +/* 802AE638 002AB598 D0 03 00 00 */ stfs f0, 0(r3) +/* 802AE63C 002AB59C C0 04 00 04 */ lfs f0, 4(r4) +/* 802AE640 002AB5A0 D0 03 00 04 */ stfs f0, 4(r3) +/* 802AE644 002AB5A4 C0 04 00 08 */ lfs f0, 8(r4) +/* 802AE648 002AB5A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 802AE64C 002AB5AC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 802AE650 002AB5B0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 802AE654 002AB5B4 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 802AE658 002AB5B8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 802AE65C 002AB5BC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 802AE660 002AB5C0 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 802AE664 002AB5C4 80 A4 00 18 */ lwz r5, 0x18(r4) +/* 802AE668 002AB5C8 90 A3 00 18 */ stw r5, 0x18(r3) +/* 802AE66C 002AB5CC 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 802AE670 002AB5D0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 802AE674 002AB5D4 88 A4 00 20 */ lbz r5, 0x20(r4) +/* 802AE678 002AB5D8 98 A3 00 20 */ stb r5, 0x20(r3) +/* 802AE67C 002AB5DC 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 802AE680 002AB5E0 90 A3 00 24 */ stw r5, 0x24(r3) +/* 802AE684 002AB5E4 98 04 00 20 */ stb r0, 0x20(r4) +/* 802AE688 002AB5E8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 802AE68C 002AB5EC 90 03 00 28 */ stw r0, 0x28(r3) +/* 802AE690 002AB5F0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 802AE694 002AB5F4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 802AE698 002AB5F8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 802AE69C 002AB5FC D0 03 00 30 */ stfs f0, 0x30(r3) +/* 802AE6A0 002AB600 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 802AE6A4 002AB604 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 802AE6A8 002AB608 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 802AE6AC 002AB60C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 802AE6B0 002AB610 C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 802AE6B4 002AB614 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 802AE6B8 002AB618 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 802AE6BC 002AB61C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 802AE6C0 002AB620 4E 80 00 20 */ blr diff --git a/asm/WorldFormat/CWorldLight.s b/asm/WorldFormat/CWorldLight.s new file mode 100644 index 00000000..77398741 --- /dev/null +++ b/asm/WorldFormat/CWorldLight.s @@ -0,0 +1,257 @@ +.include "macros.inc" + +.section .text, "ax" + +.global GetAsCGraphicsLight__11CWorldLightCFv +GetAsCGraphicsLight__11CWorldLightCFv: +/* 802A75FC 002A455C 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 802A7600 002A4560 7C 08 02 A6 */ mflr r0 +/* 802A7604 002A4564 90 01 01 04 */ stw r0, 0x104(r1) +/* 802A7608 002A4568 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 802A760C 002A456C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 802A7610 002A4570 93 E1 00 EC */ stw r31, 0xec(r1) +/* 802A7614 002A4574 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 802A7618 002A4578 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 802A761C 002A457C 93 81 00 E0 */ stw r28, 0xe0(r1) +/* 802A7620 002A4580 C0 24 00 04 */ lfs f1, 4(r4) +/* 802A7624 002A4584 7C 7C 1B 78 */ mr r28, r3 +/* 802A7628 002A4588 C0 44 00 08 */ lfs f2, 8(r4) +/* 802A762C 002A458C 7C 9D 23 78 */ mr r29, r4 +/* 802A7630 002A4590 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 802A7634 002A4594 3B E1 00 2C */ addi r31, r1, 0x2c +/* 802A7638 002A4598 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 802A763C 002A459C 3B C1 00 30 */ addi r30, r1, 0x30 +/* 802A7640 002A45A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7644 002A45A4 38 61 00 0C */ addi r3, r1, 0xc +/* 802A7648 002A45A8 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A764C 002A45AC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 802A7650 002A45B0 48 0B BD 9D */ bl __ct__6CColorFffff +/* 802A7654 002A45B4 C0 3D 00 28 */ lfs f1, 0x28(r29) +/* 802A7658 002A45B8 C0 02 C1 88 */ lfs f0, lbl_805ADEA8@sda21(r2) +/* 802A765C 002A45BC FF E0 08 90 */ fmr f31, f1 +/* 802A7660 002A45C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A7664 002A45C4 40 80 00 08 */ bge lbl_802A766C +/* 802A7668 002A45C8 C3 E2 C1 84 */ lfs f31, lbl_805ADEA4@sda21(r2) +lbl_802A766C: +/* 802A766C 002A45CC 80 1D 00 00 */ lwz r0, 0(r29) +/* 802A7670 002A45D0 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7674 002A45D4 40 82 00 B8 */ bne lbl_802A772C +/* 802A7678 002A45D8 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 802A767C 002A45DC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 802A7680 002A45E0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 802A7684 002A45E4 EC 62 07 F2 */ fmuls f3, f2, f31 +/* 802A7688 002A45E8 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 802A768C 002A45EC C0 0D 9A 50 */ lfs f0, lbl_805A8610@sda21(r13) +/* 802A7690 002A45F0 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 802A7694 002A45F4 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 802A7698 002A45F8 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 802A769C 002A45FC D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 802A76A0 002A4600 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 802A76A4 002A4604 40 80 00 0C */ bge lbl_802A76B0 +/* 802A76A8 002A4608 38 61 00 28 */ addi r3, r1, 0x28 +/* 802A76AC 002A460C 48 00 00 08 */ b lbl_802A76B4 +lbl_802A76B0: +/* 802A76B0 002A4610 38 6D 9A 50 */ addi r3, r13, lbl_805A8610@sda21 +lbl_802A76B4: +/* 802A76B4 002A4614 C0 3F 00 00 */ lfs f1, 0(r31) +/* 802A76B8 002A4618 C0 0D 9A 54 */ lfs f0, lbl_805A8614@sda21(r13) +/* 802A76BC 002A461C C0 43 00 00 */ lfs f2, 0(r3) +/* 802A76C0 002A4620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A76C4 002A4624 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 802A76C8 002A4628 40 80 00 0C */ bge lbl_802A76D4 +/* 802A76CC 002A462C 7F E3 FB 78 */ mr r3, r31 +/* 802A76D0 002A4630 48 00 00 08 */ b lbl_802A76D8 +lbl_802A76D4: +/* 802A76D4 002A4634 38 6D 9A 54 */ addi r3, r13, lbl_805A8614@sda21 +lbl_802A76D8: +/* 802A76D8 002A4638 C0 3E 00 00 */ lfs f1, 0(r30) +/* 802A76DC 002A463C C0 0D 9A 58 */ lfs f0, lbl_805A8618@sda21(r13) +/* 802A76E0 002A4640 C0 43 00 00 */ lfs f2, 0(r3) +/* 802A76E4 002A4644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 802A76E8 002A4648 D0 5F 00 00 */ stfs f2, 0(r31) +/* 802A76EC 002A464C 40 80 00 0C */ bge lbl_802A76F8 +/* 802A76F0 002A4650 7F C3 F3 78 */ mr r3, r30 +/* 802A76F4 002A4654 48 00 00 08 */ b lbl_802A76FC +lbl_802A76F8: +/* 802A76F8 002A4658 38 6D 9A 58 */ addi r3, r13, lbl_805A8618@sda21 +lbl_802A76FC: +/* 802A76FC 002A465C C0 63 00 00 */ lfs f3, 0(r3) +/* 802A7700 002A4660 38 61 00 08 */ addi r3, r1, 8 +/* 802A7704 002A4664 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 802A7708 002A4668 D0 7E 00 00 */ stfs f3, 0(r30) +/* 802A770C 002A466C C0 5F 00 00 */ lfs f2, 0(r31) +/* 802A7710 002A4670 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7714 002A4674 48 0B BC D9 */ bl __ct__6CColorFffff +/* 802A7718 002A4678 7F 83 E3 78 */ mr r3, r28 +/* 802A771C 002A467C 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A7720 002A4680 38 A1 00 08 */ addi r5, r1, 8 +/* 802A7724 002A4684 48 05 ED 81 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 802A7728 002A4688 48 00 01 3C */ b lbl_802A7864 +lbl_802A772C: +/* 802A772C 002A468C 2C 00 00 01 */ cmpwi r0, 1 +/* 802A7730 002A4690 40 82 00 18 */ bne lbl_802A7748 +/* 802A7734 002A4694 7F 83 E3 78 */ mr r3, r28 +/* 802A7738 002A4698 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802A773C 002A469C 38 A1 00 0C */ addi r5, r1, 0xc +/* 802A7740 002A46A0 48 05 ED 2D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 802A7744 002A46A4 48 00 01 20 */ b lbl_802A7864 +lbl_802A7748: +/* 802A7748 002A46A8 2C 00 00 03 */ cmpwi r0, 3 +/* 802A774C 002A46AC 40 82 00 A0 */ bne lbl_802A77EC +/* 802A7750 002A46B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 802A7754 002A46B4 38 9D 00 1C */ addi r4, r29, 0x1c +/* 802A7758 002A46B8 48 06 D0 F9 */ bl AsNormalized__9CVector3fCFv +/* 802A775C 002A46BC C0 3D 00 2C */ lfs f1, 0x2c(r29) +/* 802A7760 002A46C0 38 61 00 34 */ addi r3, r1, 0x34 +/* 802A7764 002A46C4 C0 02 C1 8C */ lfs f0, lbl_805ADEAC@sda21(r2) +/* 802A7768 002A46C8 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A776C 002A46CC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 802A7770 002A46D0 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A7774 002A46D4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 802A7778 002A46D8 48 05 EC 85 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 802A777C 002A46DC 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A7780 002A46E0 38 81 00 34 */ addi r4, r1, 0x34 +/* 802A7784 002A46E4 4B D9 3D ED */ bl __ct__6CLightFCR6CLight +/* 802A7788 002A46E8 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 802A778C 002A46EC 2C 00 00 02 */ cmpwi r0, 2 +/* 802A7790 002A46F0 40 82 00 10 */ bne lbl_802A77A0 +/* 802A7794 002A46F4 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) +/* 802A7798 002A46F8 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 802A779C 002A46FC 48 00 00 08 */ b lbl_802A77A4 +lbl_802A77A0: +/* 802A77A0 002A4700 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) +lbl_802A77A4: +/* 802A77A4 002A4704 2C 00 00 01 */ cmpwi r0, 1 +/* 802A77A8 002A4708 40 82 00 10 */ bne lbl_802A77B8 +/* 802A77AC 002A470C C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) +/* 802A77B0 002A4710 EC 40 F8 24 */ fdivs f2, f0, f31 +/* 802A77B4 002A4714 48 00 00 08 */ b lbl_802A77BC +lbl_802A77B8: +/* 802A77B8 002A4718 C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) +lbl_802A77BC: +/* 802A77BC 002A471C 2C 00 00 00 */ cmpwi r0, 0 +/* 802A77C0 002A4720 38 61 00 84 */ addi r3, r1, 0x84 +/* 802A77C4 002A4724 40 82 00 10 */ bne lbl_802A77D4 +/* 802A77C8 002A4728 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) +/* 802A77CC 002A472C EC 20 F8 24 */ fdivs f1, f0, f31 +/* 802A77D0 002A4730 48 00 00 08 */ b lbl_802A77D8 +lbl_802A77D4: +/* 802A77D4 002A4734 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +lbl_802A77D8: +/* 802A77D8 002A4738 48 05 EB D9 */ bl SetAttenuation__6CLightFfff +/* 802A77DC 002A473C 7F 83 E3 78 */ mr r3, r28 +/* 802A77E0 002A4740 38 81 00 84 */ addi r4, r1, 0x84 +/* 802A77E4 002A4744 4B D9 3D 8D */ bl __ct__6CLightFCR6CLight +/* 802A77E8 002A4748 48 00 00 7C */ b lbl_802A7864 +lbl_802A77EC: +/* 802A77EC 002A474C 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 802A77F0 002A4750 2C 00 00 02 */ cmpwi r0, 2 +/* 802A77F4 002A4754 40 82 00 10 */ bne lbl_802A7804 +/* 802A77F8 002A4758 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) +/* 802A77FC 002A475C EC 60 F8 24 */ fdivs f3, f0, f31 +/* 802A7800 002A4760 48 00 00 08 */ b lbl_802A7808 +lbl_802A7804: +/* 802A7804 002A4764 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) +lbl_802A7808: +/* 802A7808 002A4768 2C 00 00 01 */ cmpwi r0, 1 +/* 802A780C 002A476C 40 82 00 10 */ bne lbl_802A781C +/* 802A7810 002A4770 C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) +/* 802A7814 002A4774 EC 40 F8 24 */ fdivs f2, f0, f31 +/* 802A7818 002A4778 48 00 00 08 */ b lbl_802A7820 +lbl_802A781C: +/* 802A781C 002A477C C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) +lbl_802A7820: +/* 802A7820 002A4780 2C 00 00 00 */ cmpwi r0, 0 +/* 802A7824 002A4784 40 82 00 10 */ bne lbl_802A7834 +/* 802A7828 002A4788 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) +/* 802A782C 002A478C EC 20 F8 24 */ fdivs f1, f0, f31 +/* 802A7830 002A4790 48 00 00 08 */ b lbl_802A7838 +lbl_802A7834: +/* 802A7834 002A4794 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +lbl_802A7838: +/* 802A7838 002A4798 C0 A2 C1 94 */ lfs f5, lbl_805ADEB4@sda21(r2) +/* 802A783C 002A479C 7F 83 E3 78 */ mr r3, r28 +/* 802A7840 002A47A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) +/* 802A7844 002A47A4 38 9D 00 10 */ addi r4, r29, 0x10 +/* 802A7848 002A47A8 FC C0 28 90 */ fmr f6, f5 +/* 802A784C 002A47AC D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 802A7850 002A47B0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 802A7854 002A47B4 38 C1 00 0C */ addi r6, r1, 0xc +/* 802A7858 002A47B8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 802A785C 002A47BC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 802A7860 002A47C0 48 05 EB 7D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +lbl_802A7864: +/* 802A7864 002A47C4 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 802A7868 002A47C8 80 01 01 04 */ lwz r0, 0x104(r1) +/* 802A786C 002A47CC CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 802A7870 002A47D0 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 802A7874 002A47D4 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 802A7878 002A47D8 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 802A787C 002A47DC 83 81 00 E0 */ lwz r28, 0xe0(r1) +/* 802A7880 002A47E0 7C 08 03 A6 */ mtlr r0 +/* 802A7884 002A47E4 38 21 01 00 */ addi r1, r1, 0x100 +/* 802A7888 002A47E8 4E 80 00 20 */ blr + +.global __ct__11CWorldLightFR12CInputStream +__ct__11CWorldLightFR12CInputStream: +/* 802A788C 002A47EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 802A7890 002A47F0 7C 08 02 A6 */ mflr r0 +/* 802A7894 002A47F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 802A7898 002A47F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 802A789C 002A47FC 7C 9F 23 78 */ mr r31, r4 +/* 802A78A0 002A4800 93 C1 00 08 */ stw r30, 8(r1) +/* 802A78A4 002A4804 7C 7E 1B 78 */ mr r30, r3 +/* 802A78A8 002A4808 7F E3 FB 78 */ mr r3, r31 +/* 802A78AC 002A480C 48 09 73 D9 */ bl ReadLong__12CInputStreamFv +/* 802A78B0 002A4810 90 7E 00 00 */ stw r3, 0(r30) +/* 802A78B4 002A4814 7F E4 FB 78 */ mr r4, r31 +/* 802A78B8 002A4818 38 7E 00 04 */ addi r3, r30, 4 +/* 802A78BC 002A481C 48 06 D2 D1 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78C0 002A4820 7F E4 FB 78 */ mr r4, r31 +/* 802A78C4 002A4824 38 7E 00 10 */ addi r3, r30, 0x10 +/* 802A78C8 002A4828 48 06 D2 C5 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78CC 002A482C 7F E4 FB 78 */ mr r4, r31 +/* 802A78D0 002A4830 38 7E 00 1C */ addi r3, r30, 0x1c +/* 802A78D4 002A4834 48 06 D2 B9 */ bl __ct__9CVector3fFR12CInputStream +/* 802A78D8 002A4838 7F E3 FB 78 */ mr r3, r31 +/* 802A78DC 002A483C 48 09 73 4D */ bl ReadFloat__12CInputStreamFv +/* 802A78E0 002A4840 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 802A78E4 002A4844 7F E3 FB 78 */ mr r3, r31 +/* 802A78E8 002A4848 48 09 73 41 */ bl ReadFloat__12CInputStreamFv +/* 802A78EC 002A484C D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 802A78F0 002A4850 7F E3 FB 78 */ mr r3, r31 +/* 802A78F4 002A4854 48 09 73 35 */ bl ReadFloat__12CInputStreamFv +/* 802A78F8 002A4858 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 802A78FC 002A485C 7F E3 FB 78 */ mr r3, r31 +/* 802A7900 002A4860 48 09 73 DD */ bl ReadBool__12CInputStreamFv +/* 802A7904 002A4864 98 7E 00 34 */ stb r3, 0x34(r30) +/* 802A7908 002A4868 7F E3 FB 78 */ mr r3, r31 +/* 802A790C 002A486C 48 09 73 1D */ bl ReadFloat__12CInputStreamFv +/* 802A7910 002A4870 D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 802A7914 002A4874 7F E3 FB 78 */ mr r3, r31 +/* 802A7918 002A4878 48 09 73 6D */ bl ReadLong__12CInputStreamFv +/* 802A791C 002A487C 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 802A7920 002A4880 7F E3 FB 78 */ mr r3, r31 +/* 802A7924 002A4884 48 09 73 05 */ bl ReadFloat__12CInputStreamFv +/* 802A7928 002A4888 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 802A792C 002A488C 7F C3 F3 78 */ mr r3, r30 +/* 802A7930 002A4890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 802A7934 002A4894 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 802A7938 002A4898 83 C1 00 08 */ lwz r30, 8(r1) +/* 802A793C 002A489C 7C 08 03 A6 */ mtlr r0 +/* 802A7940 002A48A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 802A7944 002A48A4 4E 80 00 20 */ blr + +.global __sinit_CWorldLight_cpp +__sinit_CWorldLight_cpp: +/* 802A7948 002A48A8 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) +/* 802A794C 002A48AC 3C 80 80 5A */ lis r4, lbl_8059FBAC@ha +/* 802A7950 002A48B0 3C 60 80 5A */ lis r3, lbl_8059FBC4@ha +/* 802A7954 002A48B4 C0 02 C1 80 */ lfs f0, lbl_805ADEA0@sda21(r2) +/* 802A7958 002A48B8 D4 24 FB AC */ stfsu f1, lbl_8059FBAC@l(r4) +/* 802A795C 002A48BC D4 23 FB C4 */ stfsu f1, lbl_8059FBC4@l(r3) +/* 802A7960 002A48C0 D0 24 00 04 */ stfs f1, 4(r4) +/* 802A7964 002A48C4 D0 24 00 08 */ stfs f1, 8(r4) +/* 802A7968 002A48C8 D0 03 00 04 */ stfs f0, 4(r3) +/* 802A796C 002A48CC D0 23 00 08 */ stfs f1, 8(r3) +/* 802A7970 002A48D0 4E 80 00 20 */ blr diff --git a/asm/text.s b/asm/text.s index ba29e83f..42eda321 100644 --- a/asm/text.s +++ b/asm/text.s @@ -2,156208 +2,6 @@ .section .text, "ax" # 0x80003640 - 0x803CB1C0 -.global SetInGame__15CSaveGameScreenb -SetInGame__15CSaveGameScreenb: -/* 8024F16C 0024C0CC 98 83 00 93 */ stb r4, 0x93(r3) -/* 8024F170 0024C0D0 4E 80 00 20 */ blr - -.global SetUIColors__15CSaveGameScreenFv -SetUIColors__15CSaveGameScreenFv: -/* 8024F174 0024C0D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F178 0024C0D8 7C 08 02 A6 */ mflr r0 -/* 8024F17C 0024C0DC 38 C0 00 A0 */ li r6, 0xa0 -/* 8024F180 0024C0E0 38 80 FF FF */ li r4, -1 -/* 8024F184 0024C0E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F188 0024C0E8 38 00 00 C8 */ li r0, 0xc8 -/* 8024F18C 0024C0EC 38 A1 00 08 */ addi r5, r1, 8 -/* 8024F190 0024C0F0 90 81 00 0C */ stw r4, 0xc(r1) -/* 8024F194 0024C0F4 38 81 00 0C */ addi r4, r1, 0xc -/* 8024F198 0024C0F8 98 C1 00 08 */ stb r6, 8(r1) -/* 8024F19C 0024C0FC 98 C1 00 09 */ stb r6, 9(r1) -/* 8024F1A0 0024C100 98 C1 00 0A */ stb r6, 0xa(r1) -/* 8024F1A4 0024C104 98 01 00 0B */ stb r0, 0xb(r1) -/* 8024F1A8 0024C108 80 63 00 58 */ lwz r3, 0x58(r3) -/* 8024F1AC 0024C10C 48 07 74 51 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor -/* 8024F1B0 0024C110 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F1B4 0024C114 7C 08 03 A6 */ mtlr r0 -/* 8024F1B8 0024C118 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F1BC 0024C11C 4E 80 00 20 */ blr - -.global DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup -DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup: -/* 8024F1C0 0024C120 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024F1C4 0024C124 7C 08 02 A6 */ mflr r0 -/* 8024F1C8 0024C128 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024F1CC 0024C12C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024F1D0 0024C130 7C 7F 1B 78 */ mr r31, r3 -/* 8024F1D4 0024C134 4B FF FF A1 */ bl SetUIColors__15CSaveGameScreenFv -/* 8024F1D8 0024C138 80 1F 00 88 */ lwz r0, 0x88(r31) -/* 8024F1DC 0024C13C 38 61 00 08 */ addi r3, r1, 8 -/* 8024F1E0 0024C140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8024F1E4 0024C144 38 A0 00 7F */ li r5, 0x7f -/* 8024F1E8 0024C148 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8024F1EC 0024C14C 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 8024F1F0 0024C150 38 C0 00 40 */ li r6, 0x40 -/* 8024F1F4 0024C154 38 E0 00 00 */ li r7, 0 -/* 8024F1F8 0024C158 39 20 00 00 */ li r9, 0 -/* 8024F1FC 0024C15C 48 09 AB 79 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8024F200 0024C160 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024F204 0024C164 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024F208 0024C168 7C 08 03 A6 */ mtlr r0 -/* 8024F20C 0024C16C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024F210 0024C170 4E 80 00 20 */ blr - -.global DoAdvance__15CSaveGameScreenFP14CGuiTableGroup -DoAdvance__15CSaveGameScreenFP14CGuiTableGroup: -/* 8024F214 0024C174 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024F218 0024C178 7C 08 02 A6 */ mflr r0 -/* 8024F21C 0024C17C 38 C0 FF FF */ li r6, -1 -/* 8024F220 0024C180 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024F224 0024C184 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024F228 0024C188 7C 7F 1B 78 */ mr r31, r3 -/* 8024F22C 0024C18C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024F230 0024C190 80 83 00 58 */ lwz r4, 0x58(r3) -/* 8024F234 0024C194 28 00 00 10 */ cmplwi r0, 0x10 -/* 8024F238 0024C198 80 A4 00 C4 */ lwz r5, 0xc4(r4) -/* 8024F23C 0024C19C 41 81 03 78 */ bgt lbl_8024F5B4 -/* 8024F240 0024C1A0 3C 80 80 3F */ lis r4, lbl_803E8DB8@ha -/* 8024F244 0024C1A4 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F248 0024C1A8 38 84 8D B8 */ addi r4, r4, lbl_803E8DB8@l -/* 8024F24C 0024C1AC 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8024F250 0024C1B0 7C 09 03 A6 */ mtctr r0 -/* 8024F254 0024C1B4 4E 80 04 20 */ bctr -/* 8024F258 0024C1B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F25C 0024C1BC 40 82 00 2C */ bne lbl_8024F288 -/* 8024F260 0024C1C0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F264 0024C1C4 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F268 0024C1C8 40 82 00 10 */ bne lbl_8024F278 -/* 8024F26C 0024C1CC 38 00 00 02 */ li r0, 2 -/* 8024F270 0024C1D0 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F274 0024C1D4 48 00 00 0C */ b lbl_8024F280 -lbl_8024F278: -/* 8024F278 0024C1D8 7F E3 FB 78 */ mr r3, r31 -/* 8024F27C 0024C1DC 48 00 04 D9 */ bl ContinueWithoutSaving__15CSaveGameScreenFv -lbl_8024F280: -/* 8024F280 0024C1E0 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F284 0024C1E4 48 00 03 30 */ b lbl_8024F5B4 -lbl_8024F288: -/* 8024F288 0024C1E8 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F28C 0024C1EC 40 82 03 28 */ bne lbl_8024F5B4 -/* 8024F290 0024C1F0 7F E3 FB 78 */ mr r3, r31 -/* 8024F294 0024C1F4 48 00 0A F9 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F298 0024C1F8 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F29C 0024C1FC 48 00 03 18 */ b lbl_8024F5B4 -/* 8024F2A0 0024C200 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F2A4 0024C204 40 82 00 2C */ bne lbl_8024F2D0 -/* 8024F2A8 0024C208 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F2AC 0024C20C 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F2B0 0024C210 40 82 00 10 */ bne lbl_8024F2C0 -/* 8024F2B4 0024C214 38 00 00 02 */ li r0, 2 -/* 8024F2B8 0024C218 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F2BC 0024C21C 48 00 00 0C */ b lbl_8024F2C8 -lbl_8024F2C0: -/* 8024F2C0 0024C220 7F E3 FB 78 */ mr r3, r31 -/* 8024F2C4 0024C224 48 00 04 91 */ bl ContinueWithoutSaving__15CSaveGameScreenFv -lbl_8024F2C8: -/* 8024F2C8 0024C228 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F2CC 0024C22C 48 00 02 E8 */ b lbl_8024F5B4 -lbl_8024F2D0: -/* 8024F2D0 0024C230 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F2D4 0024C234 40 82 00 14 */ bne lbl_8024F2E8 -/* 8024F2D8 0024C238 7F E3 FB 78 */ mr r3, r31 -/* 8024F2DC 0024C23C 48 00 0A B1 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F2E0 0024C240 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F2E4 0024C244 48 00 02 D0 */ b lbl_8024F5B4 -lbl_8024F2E8: -/* 8024F2E8 0024C248 2C 05 00 02 */ cmpwi r5, 2 -/* 8024F2EC 0024C24C 40 82 02 C8 */ bne lbl_8024F5B4 -/* 8024F2F0 0024C250 38 60 00 0F */ li r3, 0xf -/* 8024F2F4 0024C254 38 00 00 01 */ li r0, 1 -/* 8024F2F8 0024C258 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8024F2FC 0024C25C 98 1F 00 91 */ stb r0, 0x91(r31) -/* 8024F300 0024C260 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F304 0024C264 48 00 02 B0 */ b lbl_8024F5B4 -/* 8024F308 0024C268 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F30C 0024C26C 40 82 00 2C */ bne lbl_8024F338 -/* 8024F310 0024C270 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F314 0024C274 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F318 0024C278 40 82 00 10 */ bne lbl_8024F328 -/* 8024F31C 0024C27C 38 00 00 02 */ li r0, 2 -/* 8024F320 0024C280 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F324 0024C284 48 00 00 0C */ b lbl_8024F330 -lbl_8024F328: -/* 8024F328 0024C288 7F E3 FB 78 */ mr r3, r31 -/* 8024F32C 0024C28C 48 00 04 29 */ bl ContinueWithoutSaving__15CSaveGameScreenFv -lbl_8024F330: -/* 8024F330 0024C290 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F334 0024C294 48 00 02 80 */ b lbl_8024F5B4 -lbl_8024F338: -/* 8024F338 0024C298 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F33C 0024C29C 40 82 00 14 */ bne lbl_8024F350 -/* 8024F340 0024C2A0 7F E3 FB 78 */ mr r3, r31 -/* 8024F344 0024C2A4 48 00 0A 49 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F348 0024C2A8 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F34C 0024C2AC 48 00 02 68 */ b lbl_8024F5B4 -lbl_8024F350: -/* 8024F350 0024C2B0 2C 05 00 02 */ cmpwi r5, 2 -/* 8024F354 0024C2B4 40 82 02 60 */ bne lbl_8024F5B4 -/* 8024F358 0024C2B8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F35C 0024C2BC 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F360 0024C2C0 40 82 00 1C */ bne lbl_8024F37C -/* 8024F364 0024C2C4 38 60 00 0D */ li r3, 0xd -/* 8024F368 0024C2C8 38 00 00 01 */ li r0, 1 -/* 8024F36C 0024C2CC 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8024F370 0024C2D0 98 1F 00 91 */ stb r0, 0x91(r31) -/* 8024F374 0024C2D4 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F378 0024C2D8 48 00 02 3C */ b lbl_8024F5B4 -lbl_8024F37C: -/* 8024F37C 0024C2DC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8024F380 0024C2E0 38 80 00 01 */ li r4, 1 -/* 8024F384 0024C2E4 88 03 01 60 */ lbz r0, 0x160(r3) -/* 8024F388 0024C2E8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8024F38C 0024C2EC 98 03 01 60 */ stb r0, 0x160(r3) -/* 8024F390 0024C2F0 48 00 02 24 */ b lbl_8024F5B4 -/* 8024F394 0024C2F4 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F398 0024C2F8 40 82 00 14 */ bne lbl_8024F3AC -/* 8024F39C 0024C2FC 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F3A0 0024C300 4B FF E6 A9 */ bl StartFileDeleteBad__17CMemoryCardDriverFv -/* 8024F3A4 0024C304 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F3A8 0024C308 48 00 02 0C */ b lbl_8024F5B4 -lbl_8024F3AC: -/* 8024F3AC 0024C30C 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F3B0 0024C310 40 82 00 28 */ bne lbl_8024F3D8 -/* 8024F3B4 0024C314 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F3B8 0024C318 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F3BC 0024C31C 40 82 00 10 */ bne lbl_8024F3CC -/* 8024F3C0 0024C320 38 00 00 02 */ li r0, 2 -/* 8024F3C4 0024C324 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F3C8 0024C328 48 00 00 08 */ b lbl_8024F3D0 -lbl_8024F3CC: -/* 8024F3CC 0024C32C 48 00 03 89 */ bl ContinueWithoutSaving__15CSaveGameScreenFv -lbl_8024F3D0: -/* 8024F3D0 0024C330 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F3D4 0024C334 48 00 01 E0 */ b lbl_8024F5B4 -lbl_8024F3D8: -/* 8024F3D8 0024C338 2C 05 00 02 */ cmpwi r5, 2 -/* 8024F3DC 0024C33C 40 82 01 D8 */ bne lbl_8024F5B4 -/* 8024F3E0 0024C340 48 00 09 AD */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F3E4 0024C344 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F3E8 0024C348 48 00 01 CC */ b lbl_8024F5B4 -/* 8024F3EC 0024C34C 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F3F0 0024C350 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F3F4 0024C354 40 82 00 50 */ bne lbl_8024F444 -/* 8024F3F8 0024C358 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F3FC 0024C35C 40 82 00 14 */ bne lbl_8024F410 -/* 8024F400 0024C360 38 00 00 02 */ li r0, 2 -/* 8024F404 0024C364 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F408 0024C368 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F40C 0024C36C 48 00 01 A8 */ b lbl_8024F5B4 -lbl_8024F410: -/* 8024F410 0024C370 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F414 0024C374 40 82 00 10 */ bne lbl_8024F424 -/* 8024F418 0024C378 48 00 09 75 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F41C 0024C37C 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F420 0024C380 48 00 01 94 */ b lbl_8024F5B4 -lbl_8024F424: -/* 8024F424 0024C384 2C 05 00 02 */ cmpwi r5, 2 -/* 8024F428 0024C388 40 82 01 8C */ bne lbl_8024F5B4 -/* 8024F42C 0024C38C 38 60 00 0D */ li r3, 0xd -/* 8024F430 0024C390 38 00 00 01 */ li r0, 1 -/* 8024F434 0024C394 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8024F438 0024C398 98 1F 00 91 */ stb r0, 0x91(r31) -/* 8024F43C 0024C39C 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F440 0024C3A0 48 00 01 74 */ b lbl_8024F5B4 -lbl_8024F444: -/* 8024F444 0024C3A4 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F448 0024C3A8 40 82 00 38 */ bne lbl_8024F480 -/* 8024F44C 0024C3AC 88 1F 00 93 */ lbz r0, 0x93(r31) -/* 8024F450 0024C3B0 28 00 00 00 */ cmplwi r0, 0 -/* 8024F454 0024C3B4 41 82 00 14 */ beq lbl_8024F468 -/* 8024F458 0024C3B8 38 00 00 02 */ li r0, 2 -/* 8024F45C 0024C3BC 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F460 0024C3C0 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F464 0024C3C4 48 00 01 50 */ b lbl_8024F5B4 -lbl_8024F468: -/* 8024F468 0024C3C8 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F46C 0024C3CC 4B FF E8 F1 */ bl ClearError__17CMemoryCardDriverFv -/* 8024F470 0024C3D0 38 00 00 01 */ li r0, 1 -/* 8024F474 0024C3D4 98 1F 00 92 */ stb r0, 0x92(r31) -/* 8024F478 0024C3D8 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F47C 0024C3DC 48 00 01 38 */ b lbl_8024F5B4 -lbl_8024F480: -/* 8024F480 0024C3E0 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F484 0024C3E4 40 82 00 10 */ bne lbl_8024F494 -/* 8024F488 0024C3E8 48 00 09 05 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F48C 0024C3EC 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F490 0024C3F0 48 00 01 24 */ b lbl_8024F5B4 -lbl_8024F494: -/* 8024F494 0024C3F4 2C 05 00 02 */ cmpwi r5, 2 -/* 8024F498 0024C3F8 40 82 01 1C */ bne lbl_8024F5B4 -/* 8024F49C 0024C3FC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8024F4A0 0024C400 38 80 00 01 */ li r4, 1 -/* 8024F4A4 0024C404 88 03 01 60 */ lbz r0, 0x160(r3) -/* 8024F4A8 0024C408 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8024F4AC 0024C40C 98 03 01 60 */ stb r0, 0x160(r3) -/* 8024F4B0 0024C410 48 00 01 04 */ b lbl_8024F5B4 -/* 8024F4B4 0024C414 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F4B8 0024C418 40 82 00 1C */ bne lbl_8024F4D4 -/* 8024F4BC 0024C41C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8024F4C0 0024C420 38 80 00 01 */ li r4, 1 -/* 8024F4C4 0024C424 88 03 01 60 */ lbz r0, 0x160(r3) -/* 8024F4C8 0024C428 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8024F4CC 0024C42C 98 03 01 60 */ stb r0, 0x160(r3) -/* 8024F4D0 0024C430 48 00 00 E4 */ b lbl_8024F5B4 -lbl_8024F4D4: -/* 8024F4D4 0024C434 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F4D8 0024C438 40 82 00 DC */ bne lbl_8024F5B4 -/* 8024F4DC 0024C43C 38 00 00 02 */ li r0, 2 -/* 8024F4E0 0024C440 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F4E4 0024C444 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F4E8 0024C448 48 00 00 CC */ b lbl_8024F5B4 -/* 8024F4EC 0024C44C 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F4F0 0024C450 40 82 00 30 */ bne lbl_8024F520 -/* 8024F4F4 0024C454 80 9F 00 6C */ lwz r4, 0x6c(r31) -/* 8024F4F8 0024C458 38 00 00 00 */ li r0, 0 -/* 8024F4FC 0024C45C 80 64 00 28 */ lwz r3, 0x28(r4) -/* 8024F500 0024C460 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 8024F504 0024C464 90 9F 00 0C */ stw r4, 0xc(r31) -/* 8024F508 0024C468 90 7F 00 08 */ stw r3, 8(r31) -/* 8024F50C 0024C46C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024F510 0024C470 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F514 0024C474 4B FF E5 C1 */ bl IndexFiles__17CMemoryCardDriverFv -/* 8024F518 0024C478 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F51C 0024C47C 48 00 00 98 */ b lbl_8024F5B4 -lbl_8024F520: -/* 8024F520 0024C480 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F524 0024C484 40 82 00 90 */ bne lbl_8024F5B4 -/* 8024F528 0024C488 38 00 00 02 */ li r0, 2 -/* 8024F52C 0024C48C 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F530 0024C490 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F534 0024C494 48 00 00 80 */ b lbl_8024F5B4 -/* 8024F538 0024C498 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F53C 0024C49C 40 82 00 1C */ bne lbl_8024F558 -/* 8024F540 0024C4A0 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F544 0024C4A4 4B FF DE 9D */ bl StartCardFormat__17CMemoryCardDriverFv -/* 8024F548 0024C4A8 38 00 00 00 */ li r0, 0 -/* 8024F54C 0024C4AC 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024F550 0024C4B0 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F554 0024C4B4 48 00 00 60 */ b lbl_8024F5B4 -lbl_8024F558: -/* 8024F558 0024C4B8 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F55C 0024C4BC 40 82 00 58 */ bne lbl_8024F5B4 -/* 8024F560 0024C4C0 48 00 08 2D */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F564 0024C4C4 80 DF 00 8C */ lwz r6, 0x8c(r31) -/* 8024F568 0024C4C8 48 00 00 4C */ b lbl_8024F5B4 -/* 8024F56C 0024C4CC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F570 0024C4D0 2C 00 00 00 */ cmpwi r0, 0 -/* 8024F574 0024C4D4 41 82 00 40 */ beq lbl_8024F5B4 -/* 8024F578 0024C4D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8024F57C 0024C4DC 40 82 00 24 */ bne lbl_8024F5A0 -/* 8024F580 0024C4E0 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 8024F584 0024C4E4 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F588 0024C4E8 80 84 02 0C */ lwz r4, 0x20c(r4) -/* 8024F58C 0024C4EC 4B FF D3 61 */ bl BuildExistingFileSlot__17CMemoryCardDriverFi -/* 8024F590 0024C4F0 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F594 0024C4F4 4B FF DF 79 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv -/* 8024F598 0024C4F8 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 8024F59C 0024C4FC 48 00 00 18 */ b lbl_8024F5B4 -lbl_8024F5A0: -/* 8024F5A0 0024C500 2C 05 00 01 */ cmpwi r5, 1 -/* 8024F5A4 0024C504 40 82 00 10 */ bne lbl_8024F5B4 -/* 8024F5A8 0024C508 38 00 00 02 */ li r0, 2 -/* 8024F5AC 0024C50C 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8024F5B0 0024C510 80 DF 00 8C */ lwz r6, 0x8c(r31) -lbl_8024F5B4: -/* 8024F5B4 0024C514 2C 06 00 00 */ cmpwi r6, 0 -/* 8024F5B8 0024C518 41 80 00 28 */ blt lbl_8024F5E0 -/* 8024F5BC 0024C51C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8024F5C0 0024C520 38 61 00 08 */ addi r3, r1, 8 -/* 8024F5C4 0024C524 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8024F5C8 0024C528 54 C4 04 3E */ clrlwi r4, r6, 0x10 -/* 8024F5CC 0024C52C 38 A0 00 7F */ li r5, 0x7f -/* 8024F5D0 0024C530 38 C0 00 40 */ li r6, 0x40 -/* 8024F5D4 0024C534 38 E0 00 00 */ li r7, 0 -/* 8024F5D8 0024C538 39 20 00 00 */ li r9, 0 -/* 8024F5DC 0024C53C 48 09 A7 99 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8024F5E0: -/* 8024F5E0 0024C540 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024F5E4 0024C544 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024F5E8 0024C548 7C 08 03 A6 */ mtlr r0 -/* 8024F5EC 0024C54C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024F5F0 0024C550 4E 80 00 20 */ blr - -.global StartGame__15CSaveGameScreenFi -StartGame__15CSaveGameScreenFi: -/* 8024F5F4 0024C554 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024F5F8 0024C558 7C 08 02 A6 */ mflr r0 -/* 8024F5FC 0024C55C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024F600 0024C560 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024F604 0024C564 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024F608 0024C568 7C 9E 23 78 */ mr r30, r4 -/* 8024F60C 0024C56C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024F610 0024C570 7C 7D 1B 78 */ mr r29, r3 -/* 8024F614 0024C574 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8024F618 0024C578 4B FF CC CD */ bl GetGameFileStateInfo__17CMemoryCardDriverFi -/* 8024F61C 0024C57C 7C 60 00 34 */ cntlzw r0, r3 -/* 8024F620 0024C580 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F624 0024C584 54 1F D9 7E */ srwi r31, r0, 5 -/* 8024F628 0024C588 4B FF D1 B5 */ bl ExportPersistentOptions__17CMemoryCardDriverFv -/* 8024F62C 0024C58C 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F630 0024C590 7F C4 F3 78 */ mr r4, r30 -/* 8024F634 0024C594 4B FF D4 89 */ bl BuildNewFileSlot__17CMemoryCardDriverFi -/* 8024F638 0024C598 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8024F63C 0024C59C 41 82 00 10 */ beq lbl_8024F64C -/* 8024F640 0024C5A0 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F644 0024C5A4 4B FF DE C9 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv -/* 8024F648 0024C5A8 48 00 00 0C */ b lbl_8024F654 -lbl_8024F64C: -/* 8024F64C 0024C5AC 38 00 00 01 */ li r0, 1 -/* 8024F650 0024C5B0 90 1D 00 80 */ stw r0, 0x80(r29) -lbl_8024F654: -/* 8024F654 0024C5B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024F658 0024C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024F65C 0024C5BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024F660 0024C5C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024F664 0024C5C4 7C 08 03 A6 */ mtlr r0 -/* 8024F668 0024C5C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024F66C 0024C5CC 4E 80 00 20 */ blr - -.global SaveNESState__15CSaveGameScreenFv -SaveNESState__15CSaveGameScreenFv: -/* 8024F670 0024C5D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F674 0024C5D4 7C 08 02 A6 */ mflr r0 -/* 8024F678 0024C5D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F67C 0024C5DC 88 03 00 92 */ lbz r0, 0x92(r3) -/* 8024F680 0024C5E0 28 00 00 00 */ cmplwi r0, 0 -/* 8024F684 0024C5E4 40 82 00 28 */ bne lbl_8024F6AC -/* 8024F688 0024C5E8 38 00 00 01 */ li r0, 1 -/* 8024F68C 0024C5EC 98 03 00 90 */ stb r0, 0x90(r3) -/* 8024F690 0024C5F0 80 83 00 6C */ lwz r4, 0x6c(r3) -/* 8024F694 0024C5F4 80 04 00 28 */ lwz r0, 0x28(r4) -/* 8024F698 0024C5F8 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 8024F69C 0024C5FC 90 83 00 0C */ stw r4, 0xc(r3) -/* 8024F6A0 0024C600 90 03 00 08 */ stw r0, 8(r3) -/* 8024F6A4 0024C604 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8024F6A8 0024C608 4B FF DE 65 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv -lbl_8024F6AC: -/* 8024F6AC 0024C60C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F6B0 0024C610 7C 08 03 A6 */ mtlr r0 -/* 8024F6B4 0024C614 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F6B8 0024C618 4E 80 00 20 */ blr - -.global EraseGame__15CSaveGameScreenFi -EraseGame__15CSaveGameScreenFi: -/* 8024F6BC 0024C61C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F6C0 0024C620 7C 08 02 A6 */ mflr r0 -/* 8024F6C4 0024C624 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F6C8 0024C628 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024F6CC 0024C62C 7C 7F 1B 78 */ mr r31, r3 -/* 8024F6D0 0024C630 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8024F6D4 0024C634 4B FF D6 09 */ bl EraseFileSlot__17CMemoryCardDriverFi -/* 8024F6D8 0024C638 38 00 00 01 */ li r0, 1 -/* 8024F6DC 0024C63C 98 1F 00 90 */ stb r0, 0x90(r31) -/* 8024F6E0 0024C640 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024F6E4 0024C644 4B FF DE 29 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv -/* 8024F6E8 0024C648 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F6EC 0024C64C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024F6F0 0024C650 7C 08 03 A6 */ mtlr r0 -/* 8024F6F4 0024C654 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F6F8 0024C658 4E 80 00 20 */ blr - -.global GetGameData__15CSaveGameScreenFi -GetGameData__15CSaveGameScreenFi: -/* 8024F6FC 0024C65C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F700 0024C660 7C 08 02 A6 */ mflr r0 -/* 8024F704 0024C664 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F708 0024C668 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8024F70C 0024C66C 4B FF CB D9 */ bl GetGameFileStateInfo__17CMemoryCardDriverFi -/* 8024F710 0024C670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F714 0024C674 7C 08 03 A6 */ mtlr r0 -/* 8024F718 0024C678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F71C 0024C67C 4E 80 00 20 */ blr - -.global Draw__15CSaveGameScreenFv -Draw__15CSaveGameScreenFv: -/* 8024F720 0024C680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F724 0024C684 7C 08 02 A6 */ mflr r0 -/* 8024F728 0024C688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F72C 0024C68C 80 63 00 50 */ lwz r3, 0x50(r3) -/* 8024F730 0024C690 28 03 00 00 */ cmplwi r3, 0 -/* 8024F734 0024C694 41 82 00 10 */ beq lbl_8024F744 -/* 8024F738 0024C698 3C 80 80 5A */ lis r4, lbl_8059FD08@ha -/* 8024F73C 0024C69C 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l -/* 8024F740 0024C6A0 48 07 2F F5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -lbl_8024F744: -/* 8024F744 0024C6A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F748 0024C6A8 7C 08 03 A6 */ mtlr r0 -/* 8024F74C 0024C6AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F750 0024C6B0 4E 80 00 20 */ blr - -.global ContinueWithoutSaving__15CSaveGameScreenFv -ContinueWithoutSaving__15CSaveGameScreenFv: -/* 8024F754 0024C6B4 38 80 00 03 */ li r4, 3 -/* 8024F758 0024C6B8 38 00 00 00 */ li r0, 0 -/* 8024F75C 0024C6BC 90 83 00 80 */ stw r4, 0x80(r3) -/* 8024F760 0024C6C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8024F764 0024C6C4 90 03 02 14 */ stw r0, 0x214(r3) -/* 8024F768 0024C6C8 90 03 02 10 */ stw r0, 0x210(r3) -/* 8024F76C 0024C6CC 4E 80 00 20 */ blr - -.global ProcessUserInput__15CSaveGameScreenFRC11CFinalInput -ProcessUserInput__15CSaveGameScreenFRC11CFinalInput: -/* 8024F770 0024C6D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F774 0024C6D4 7C 08 02 A6 */ mflr r0 -/* 8024F778 0024C6D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F77C 0024C6DC 80 63 00 50 */ lwz r3, 0x50(r3) -/* 8024F780 0024C6E0 28 03 00 00 */ cmplwi r3, 0 -/* 8024F784 0024C6E4 41 82 00 08 */ beq lbl_8024F78C -/* 8024F788 0024C6E8 48 07 2E D1 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput -lbl_8024F78C: -/* 8024F78C 0024C6EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F790 0024C6F0 7C 08 03 A6 */ mtlr r0 -/* 8024F794 0024C6F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F798 0024C6F8 4E 80 00 20 */ blr - -.global Update__15CSaveGameScreenFf -Update__15CSaveGameScreenFf: -/* 8024F79C 0024C6FC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024F7A0 0024C700 7C 08 02 A6 */ mflr r0 -/* 8024F7A4 0024C704 90 01 00 44 */ stw r0, 0x44(r1) -/* 8024F7A8 0024C708 DB E1 00 38 */ stfd f31, 0x38(r1) -/* 8024F7AC 0024C70C FF E0 08 90 */ fmr f31, f1 -/* 8024F7B0 0024C710 93 E1 00 34 */ stw r31, 0x34(r1) -/* 8024F7B4 0024C714 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8024F7B8 0024C718 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 8024F7BC 0024C71C 7C 7D 1B 78 */ mr r29, r3 -/* 8024F7C0 0024C720 93 81 00 28 */ stw r28, 0x28(r1) -/* 8024F7C4 0024C724 48 00 01 E1 */ bl PumpLoad__15CSaveGameScreenFv -/* 8024F7C8 0024C728 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024F7CC 0024C72C 40 82 00 0C */ bne lbl_8024F7D8 -/* 8024F7D0 0024C730 38 60 00 00 */ li r3, 0 -/* 8024F7D4 0024C734 48 00 01 AC */ b lbl_8024F980 -lbl_8024F7D8: -/* 8024F7D8 0024C738 FC 20 F8 90 */ fmr f1, f31 -/* 8024F7DC 0024C73C 80 7D 00 50 */ lwz r3, 0x50(r29) -/* 8024F7E0 0024C740 48 07 2F 25 */ bl Update__9CGuiFrameFf -/* 8024F7E4 0024C744 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F7E8 0024C748 4B FF EE 29 */ bl Update__17CMemoryCardDriverFv -/* 8024F7EC 0024C74C 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F7F0 0024C750 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024F7F4 0024C754 83 C3 00 14 */ lwz r30, 0x14(r3) -/* 8024F7F8 0024C758 2C 1F 00 03 */ cmpwi r31, 3 -/* 8024F7FC 0024C75C 40 82 00 30 */ bne lbl_8024F82C -/* 8024F800 0024C760 88 1D 00 90 */ lbz r0, 0x90(r29) -/* 8024F804 0024C764 28 00 00 00 */ cmplwi r0, 0 -/* 8024F808 0024C768 41 82 00 18 */ beq lbl_8024F820 -/* 8024F80C 0024C76C 7F A3 EB 78 */ mr r3, r29 -/* 8024F810 0024C770 48 00 05 7D */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F814 0024C774 38 00 00 00 */ li r0, 0 -/* 8024F818 0024C778 98 1D 00 90 */ stb r0, 0x90(r29) -/* 8024F81C 0024C77C 48 00 00 AC */ b lbl_8024F8C8 -lbl_8024F820: -/* 8024F820 0024C780 38 00 00 01 */ li r0, 1 -/* 8024F824 0024C784 90 1D 00 80 */ stw r0, 0x80(r29) -/* 8024F828 0024C788 48 00 00 A0 */ b lbl_8024F8C8 -lbl_8024F82C: -/* 8024F82C 0024C78C 2C 1F 00 07 */ cmpwi r31, 7 -/* 8024F830 0024C790 40 82 00 80 */ bne lbl_8024F8B0 -/* 8024F834 0024C794 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8024F838 0024C798 2C 00 00 0E */ cmpwi r0, 0xe -/* 8024F83C 0024C79C 41 82 00 74 */ beq lbl_8024F8B0 -/* 8024F840 0024C7A0 80 A3 00 28 */ lwz r5, 0x28(r3) -/* 8024F844 0024C7A4 38 80 00 00 */ li r4, 0 -/* 8024F848 0024C7A8 80 C3 00 2C */ lwz r6, 0x2c(r3) -/* 8024F84C 0024C7AC 7C A0 22 78 */ xor r0, r5, r4 -/* 8024F850 0024C7B0 7C C4 22 78 */ xor r4, r6, r4 -/* 8024F854 0024C7B4 7C 80 03 79 */ or. r0, r4, r0 -/* 8024F858 0024C7B8 41 82 00 50 */ beq lbl_8024F8A8 -/* 8024F85C 0024C7BC 80 1D 00 08 */ lwz r0, 8(r29) -/* 8024F860 0024C7C0 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8024F864 0024C7C4 7C A0 02 78 */ xor r0, r5, r0 -/* 8024F868 0024C7C8 7C C4 22 78 */ xor r4, r6, r4 -/* 8024F86C 0024C7CC 7C 80 03 79 */ or. r0, r4, r0 -/* 8024F870 0024C7D0 41 82 00 38 */ beq lbl_8024F8A8 -/* 8024F874 0024C7D4 88 1D 00 93 */ lbz r0, 0x93(r29) -/* 8024F878 0024C7D8 28 00 00 00 */ cmplwi r0, 0 -/* 8024F87C 0024C7DC 41 82 00 18 */ beq lbl_8024F894 -/* 8024F880 0024C7E0 38 60 00 0E */ li r3, 0xe -/* 8024F884 0024C7E4 38 00 00 01 */ li r0, 1 -/* 8024F888 0024C7E8 90 7D 00 10 */ stw r3, 0x10(r29) -/* 8024F88C 0024C7EC 98 1D 00 91 */ stb r0, 0x91(r29) -/* 8024F890 0024C7F0 48 00 00 38 */ b lbl_8024F8C8 -lbl_8024F894: -/* 8024F894 0024C7F4 90 DD 00 0C */ stw r6, 0xc(r29) -/* 8024F898 0024C7F8 90 BD 00 08 */ stw r5, 8(r29) -/* 8024F89C 0024C7FC 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F8A0 0024C800 4B FF E2 35 */ bl IndexFiles__17CMemoryCardDriverFv -/* 8024F8A4 0024C804 48 00 00 24 */ b lbl_8024F8C8 -lbl_8024F8A8: -/* 8024F8A8 0024C808 4B FF E2 2D */ bl IndexFiles__17CMemoryCardDriverFv -/* 8024F8AC 0024C80C 48 00 00 1C */ b lbl_8024F8C8 -lbl_8024F8B0: -/* 8024F8B0 0024C810 2C 1F 00 01 */ cmpwi r31, 1 -/* 8024F8B4 0024C814 40 82 00 14 */ bne lbl_8024F8C8 -/* 8024F8B8 0024C818 88 1D 00 90 */ lbz r0, 0x90(r29) -/* 8024F8BC 0024C81C 28 00 00 00 */ cmplwi r0, 0 -/* 8024F8C0 0024C820 41 82 00 08 */ beq lbl_8024F8C8 -/* 8024F8C4 0024C824 4B FF DC 49 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv -lbl_8024F8C8: -/* 8024F8C8 0024C828 80 7D 00 80 */ lwz r3, 0x80(r29) -/* 8024F8CC 0024C82C 2C 03 00 00 */ cmpwi r3, 0 -/* 8024F8D0 0024C830 41 82 00 08 */ beq lbl_8024F8D8 -/* 8024F8D4 0024C834 48 00 00 AC */ b lbl_8024F980 -lbl_8024F8D8: -/* 8024F8D8 0024C838 83 9D 00 10 */ lwz r28, 0x10(r29) -/* 8024F8DC 0024C83C 7F A3 EB 78 */ mr r3, r29 -/* 8024F8E0 0024C840 48 00 0F 45 */ bl SelectUIType__15CSaveGameScreenFv -/* 8024F8E4 0024C844 90 7D 00 10 */ stw r3, 0x10(r29) -/* 8024F8E8 0024C848 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8024F8EC 0024C84C 7C 1C 00 00 */ cmpw r28, r0 -/* 8024F8F0 0024C850 40 82 00 10 */ bne lbl_8024F900 -/* 8024F8F4 0024C854 88 1D 00 91 */ lbz r0, 0x91(r29) -/* 8024F8F8 0024C858 28 00 00 00 */ cmplwi r0, 0 -/* 8024F8FC 0024C85C 41 82 00 0C */ beq lbl_8024F908 -lbl_8024F900: -/* 8024F900 0024C860 7F A3 EB 78 */ mr r3, r29 -/* 8024F904 0024C864 48 00 0A 89 */ bl SetUIText__15CSaveGameScreenFv -lbl_8024F908: -/* 8024F908 0024C868 2C 1F 00 02 */ cmpwi r31, 2 -/* 8024F90C 0024C86C 40 82 00 44 */ bne lbl_8024F950 -/* 8024F910 0024C870 38 61 00 08 */ addi r3, r1, 8 -/* 8024F914 0024C874 38 80 00 00 */ li r4, 0 -/* 8024F918 0024C878 48 0F EA F5 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8024F91C 0024C87C 80 81 00 08 */ lwz r4, 8(r1) -/* 8024F920 0024C880 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8024F924 0024C884 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8024F928 0024C888 2C 04 00 00 */ cmpwi r4, 0 -/* 8024F92C 0024C88C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8024F930 0024C890 90 61 00 18 */ stw r3, 0x18(r1) -/* 8024F934 0024C894 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8024F938 0024C898 41 82 00 0C */ beq lbl_8024F944 -/* 8024F93C 0024C89C 2C 04 FF FE */ cmpwi r4, -2 -/* 8024F940 0024C8A0 40 82 00 3C */ bne lbl_8024F97C -lbl_8024F944: -/* 8024F944 0024C8A4 7F A3 EB 78 */ mr r3, r29 -/* 8024F948 0024C8A8 48 00 04 45 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F94C 0024C8AC 48 00 00 30 */ b lbl_8024F97C -lbl_8024F950: -/* 8024F950 0024C8B0 2C 1F 00 04 */ cmpwi r31, 4 -/* 8024F954 0024C8B4 40 82 00 10 */ bne lbl_8024F964 -/* 8024F958 0024C8B8 7F A3 EB 78 */ mr r3, r29 -/* 8024F95C 0024C8BC 48 00 04 31 */ bl ResetCardDriver__15CSaveGameScreenFv -/* 8024F960 0024C8C0 48 00 00 1C */ b lbl_8024F97C -lbl_8024F964: -/* 8024F964 0024C8C4 2C 1F 00 11 */ cmpwi r31, 0x11 -/* 8024F968 0024C8C8 40 82 00 14 */ bne lbl_8024F97C -/* 8024F96C 0024C8CC 2C 1E 00 08 */ cmpwi r30, 8 -/* 8024F970 0024C8D0 40 82 00 0C */ bne lbl_8024F97C -/* 8024F974 0024C8D4 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8024F978 0024C8D8 4B FF DE C9 */ bl StartFileCreate__17CMemoryCardDriverFv -lbl_8024F97C: -/* 8024F97C 0024C8DC 38 60 00 00 */ li r3, 0 -lbl_8024F980: -/* 8024F980 0024C8E0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8024F984 0024C8E4 CB E1 00 38 */ lfd f31, 0x38(r1) -/* 8024F988 0024C8E8 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 8024F98C 0024C8EC 83 C1 00 30 */ lwz r30, 0x30(r1) -/* 8024F990 0024C8F0 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 8024F994 0024C8F4 83 81 00 28 */ lwz r28, 0x28(r1) -/* 8024F998 0024C8F8 7C 08 03 A6 */ mtlr r0 -/* 8024F99C 0024C8FC 38 21 00 40 */ addi r1, r1, 0x40 -/* 8024F9A0 0024C900 4E 80 00 20 */ blr - -.global PumpLoad__15CSaveGameScreenFv -PumpLoad__15CSaveGameScreenFv: -/* 8024F9A4 0024C904 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8024F9A8 0024C908 7C 08 02 A6 */ mflr r0 -/* 8024F9AC 0024C90C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8024F9B0 0024C910 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8024F9B4 0024C914 7C 7F 1B 78 */ mr r31, r3 -/* 8024F9B8 0024C918 80 03 00 50 */ lwz r0, 0x50(r3) -/* 8024F9BC 0024C91C 28 00 00 00 */ cmplwi r0, 0 -/* 8024F9C0 0024C920 41 82 00 0C */ beq lbl_8024F9CC -/* 8024F9C4 0024C924 38 60 00 01 */ li r3, 1 -/* 8024F9C8 0024C928 48 00 02 F8 */ b lbl_8024FCC0 -lbl_8024F9CC: -/* 8024F9CC 0024C92C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8024F9D0 0024C930 38 80 00 00 */ li r4, 0 -/* 8024F9D4 0024C934 28 00 00 00 */ cmplwi r0, 0 -/* 8024F9D8 0024C938 40 82 00 14 */ bne lbl_8024F9EC -/* 8024F9DC 0024C93C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8024F9E0 0024C940 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024F9E4 0024C944 28 00 00 00 */ cmplwi r0, 0 -/* 8024F9E8 0024C948 41 82 00 08 */ beq lbl_8024F9F0 -lbl_8024F9EC: -/* 8024F9EC 0024C94C 38 80 00 01 */ li r4, 1 -lbl_8024F9F0: -/* 8024F9F0 0024C950 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8024F9F4 0024C954 41 82 00 B0 */ beq lbl_8024FAA4 -/* 8024F9F8 0024C958 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8024F9FC 0024C95C 38 80 00 00 */ li r4, 0 -/* 8024FA00 0024C960 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA04 0024C964 40 82 00 14 */ bne lbl_8024FA18 -/* 8024FA08 0024C968 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8024FA0C 0024C96C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024FA10 0024C970 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA14 0024C974 41 82 00 08 */ beq lbl_8024FA1C -lbl_8024FA18: -/* 8024FA18 0024C978 38 80 00 01 */ li r4, 1 -lbl_8024FA1C: -/* 8024FA1C 0024C97C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8024FA20 0024C980 41 82 00 84 */ beq lbl_8024FAA4 -/* 8024FA24 0024C984 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8024FA28 0024C988 38 80 00 00 */ li r4, 0 -/* 8024FA2C 0024C98C 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA30 0024C990 40 82 00 14 */ bne lbl_8024FA44 -/* 8024FA34 0024C994 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 8024FA38 0024C998 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024FA3C 0024C99C 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA40 0024C9A0 41 82 00 08 */ beq lbl_8024FA48 -lbl_8024FA44: -/* 8024FA44 0024C9A4 38 80 00 01 */ li r4, 1 -lbl_8024FA48: -/* 8024FA48 0024C9A8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8024FA4C 0024C9AC 41 82 00 58 */ beq lbl_8024FAA4 -/* 8024FA50 0024C9B0 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 8024FA54 0024C9B4 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA58 0024C9B8 41 82 00 0C */ beq lbl_8024FA64 -/* 8024FA5C 0024C9BC 38 60 00 01 */ li r3, 1 -/* 8024FA60 0024C9C0 48 00 00 3C */ b lbl_8024FA9C -lbl_8024FA64: -/* 8024FA64 0024C9C4 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 8024FA68 0024C9C8 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA6C 0024C9CC 41 82 00 2C */ beq lbl_8024FA98 -/* 8024FA70 0024C9D0 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8024FA74 0024C9D4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024FA78 0024C9D8 28 00 00 00 */ cmplwi r0, 0 -/* 8024FA7C 0024C9DC 41 82 00 1C */ beq lbl_8024FA98 -/* 8024FA80 0024C9E0 38 7F 00 38 */ addi r3, r31, 0x38 -/* 8024FA84 0024C9E4 48 0F 13 89 */ bl GetObj__6CTokenFv -/* 8024FA88 0024C9E8 80 03 00 04 */ lwz r0, 4(r3) -/* 8024FA8C 0024C9EC 38 60 00 01 */ li r3, 1 -/* 8024FA90 0024C9F0 90 1F 00 40 */ stw r0, 0x40(r31) -/* 8024FA94 0024C9F4 48 00 00 08 */ b lbl_8024FA9C -lbl_8024FA98: -/* 8024FA98 0024C9F8 38 60 00 00 */ li r3, 0 -lbl_8024FA9C: -/* 8024FA9C 0024C9FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024FAA0 0024CA00 40 82 00 0C */ bne lbl_8024FAAC -lbl_8024FAA4: -/* 8024FAA4 0024CA04 38 60 00 00 */ li r3, 0 -/* 8024FAA8 0024CA08 48 00 02 18 */ b lbl_8024FCC0 -lbl_8024FAAC: -/* 8024FAAC 0024CA0C 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 8024FAB0 0024CA10 80 BF 00 7C */ lwz r5, 0x7c(r31) -/* 8024FAB4 0024CA14 54 00 18 38 */ slwi r0, r0, 3 -/* 8024FAB8 0024CA18 7C 85 02 14 */ add r4, r5, r0 -/* 8024FABC 0024CA1C 48 00 00 20 */ b lbl_8024FADC -lbl_8024FAC0: -/* 8024FAC0 0024CA20 80 65 00 00 */ lwz r3, 0(r5) -/* 8024FAC4 0024CA24 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024FAC8 0024CA28 28 00 00 00 */ cmplwi r0, 0 -/* 8024FACC 0024CA2C 40 82 00 0C */ bne lbl_8024FAD8 -/* 8024FAD0 0024CA30 38 60 00 00 */ li r3, 0 -/* 8024FAD4 0024CA34 48 00 01 EC */ b lbl_8024FCC0 -lbl_8024FAD8: -/* 8024FAD8 0024CA38 38 A5 00 08 */ addi r5, r5, 8 -lbl_8024FADC: -/* 8024FADC 0024CA3C 7C 05 20 40 */ cmplw r5, r4 -/* 8024FAE0 0024CA40 40 82 FF E0 */ bne lbl_8024FAC0 -/* 8024FAE4 0024CA44 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8024FAE8 0024CA48 28 00 00 00 */ cmplwi r0, 0 -/* 8024FAEC 0024CA4C 41 82 00 0C */ beq lbl_8024FAF8 -/* 8024FAF0 0024CA50 38 60 00 01 */ li r3, 1 -/* 8024FAF4 0024CA54 48 00 00 3C */ b lbl_8024FB30 -lbl_8024FAF8: -/* 8024FAF8 0024CA58 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8024FAFC 0024CA5C 28 00 00 00 */ cmplwi r0, 0 -/* 8024FB00 0024CA60 41 82 00 2C */ beq lbl_8024FB2C -/* 8024FB04 0024CA64 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8024FB08 0024CA68 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024FB0C 0024CA6C 28 00 00 00 */ cmplwi r0, 0 -/* 8024FB10 0024CA70 41 82 00 1C */ beq lbl_8024FB2C -/* 8024FB14 0024CA74 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8024FB18 0024CA78 48 0F 12 F5 */ bl GetObj__6CTokenFv -/* 8024FB1C 0024CA7C 80 03 00 04 */ lwz r0, 4(r3) -/* 8024FB20 0024CA80 38 60 00 01 */ li r3, 1 -/* 8024FB24 0024CA84 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 8024FB28 0024CA88 48 00 00 08 */ b lbl_8024FB30 -lbl_8024FB2C: -/* 8024FB2C 0024CA8C 38 60 00 00 */ li r3, 0 -lbl_8024FB30: -/* 8024FB30 0024CA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024FB34 0024CA94 41 82 01 58 */ beq lbl_8024FC8C -/* 8024FB38 0024CA98 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8024FB3C 0024CA9C 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FB40 0024CAA0 38 63 4A 90 */ addi r3, r3, lbl_803D4A90@l -/* 8024FB44 0024CAA4 90 1F 00 50 */ stw r0, 0x50(r31) -/* 8024FB48 0024CAA8 38 83 00 4F */ addi r4, r3, 0x4f -/* 8024FB4C 0024CAAC 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FB50 0024CAB0 48 07 26 05 */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FB54 0024CAB4 90 7F 00 54 */ stw r3, 0x54(r31) -/* 8024FB58 0024CAB8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FB5C 0024CABC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l -/* 8024FB60 0024CAC0 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FB64 0024CAC4 38 84 00 60 */ addi r4, r4, 0x60 -/* 8024FB68 0024CAC8 48 07 25 ED */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FB6C 0024CACC 90 7F 00 58 */ stw r3, 0x58(r31) -/* 8024FB70 0024CAD0 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FB74 0024CAD4 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l -/* 8024FB78 0024CAD8 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FB7C 0024CADC 38 84 00 73 */ addi r4, r4, 0x73 -/* 8024FB80 0024CAE0 48 07 25 D5 */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FB84 0024CAE4 90 7F 00 5C */ stw r3, 0x5c(r31) -/* 8024FB88 0024CAE8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FB8C 0024CAEC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l -/* 8024FB90 0024CAF0 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FB94 0024CAF4 38 84 00 84 */ addi r4, r4, 0x84 -/* 8024FB98 0024CAF8 48 07 25 BD */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FB9C 0024CAFC 90 7F 00 60 */ stw r3, 0x60(r31) -/* 8024FBA0 0024CB00 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FBA4 0024CB04 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l -/* 8024FBA8 0024CB08 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FBAC 0024CB0C 38 84 00 95 */ addi r4, r4, 0x95 -/* 8024FBB0 0024CB10 48 07 25 A5 */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FBB4 0024CB14 90 7F 00 64 */ stw r3, 0x64(r31) -/* 8024FBB8 0024CB18 3C 60 80 3D */ lis r3, lbl_803D4A90@ha -/* 8024FBBC 0024CB1C 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l -/* 8024FBC0 0024CB20 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8024FBC4 0024CB24 38 84 00 A6 */ addi r4, r4, 0xa6 -/* 8024FBC8 0024CB28 48 07 25 8D */ bl FindWidget__9CGuiFrameCFPCc -/* 8024FBCC 0024CB2C 90 7F 00 68 */ stw r3, 0x68(r31) -/* 8024FBD0 0024CB30 3C 60 80 3F */ lis r3, lbl_803E8DA0@ha -/* 8024FBD4 0024CB34 39 03 8D A0 */ addi r8, r3, lbl_803E8DA0@l -/* 8024FBD8 0024CB38 38 61 00 14 */ addi r3, r1, 0x14 -/* 8024FBDC 0024CB3C 80 E8 00 00 */ lwz r7, 0(r8) -/* 8024FBE0 0024CB40 38 81 00 2C */ addi r4, r1, 0x2c -/* 8024FBE4 0024CB44 80 C8 00 04 */ lwz r6, 4(r8) -/* 8024FBE8 0024CB48 38 A0 00 0C */ li r5, 0xc -/* 8024FBEC 0024CB4C 80 08 00 08 */ lwz r0, 8(r8) -/* 8024FBF0 0024CB50 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8024FBF4 0024CB54 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8024FBF8 0024CB58 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024FBFC 0024CB5C 4B DB 38 95 */ bl memcpy -/* 8024FC00 0024CB60 3C 60 80 25 */ lis r3, sub_8024fd38@ha -/* 8024FC04 0024CB64 93 E1 00 54 */ stw r31, 0x54(r1) -/* 8024FC08 0024CB68 38 03 FD 38 */ addi r0, r3, sub_8024fd38@l -/* 8024FC0C 0024CB6C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8024FC10 0024CB70 90 01 00 50 */ stw r0, 0x50(r1) -/* 8024FC14 0024CB74 38 81 00 14 */ addi r4, r1, 0x14 -/* 8024FC18 0024CB78 38 A0 00 0C */ li r5, 0xc -/* 8024FC1C 0024CB7C 4B DB 38 75 */ bl memcpy -/* 8024FC20 0024CB80 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8024FC24 0024CB84 38 81 00 50 */ addi r4, r1, 0x50 -/* 8024FC28 0024CB88 48 07 6C 31 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" -/* 8024FC2C 0024CB8C 3C 80 80 3F */ lis r4, lbl_803E8DAC@ha -/* 8024FC30 0024CB90 38 61 00 08 */ addi r3, r1, 8 -/* 8024FC34 0024CB94 39 04 8D AC */ addi r8, r4, lbl_803E8DAC@l -/* 8024FC38 0024CB98 38 81 00 20 */ addi r4, r1, 0x20 -/* 8024FC3C 0024CB9C 80 E8 00 00 */ lwz r7, 0(r8) -/* 8024FC40 0024CBA0 38 A0 00 0C */ li r5, 0xc -/* 8024FC44 0024CBA4 80 C8 00 04 */ lwz r6, 4(r8) -/* 8024FC48 0024CBA8 80 08 00 08 */ lwz r0, 8(r8) -/* 8024FC4C 0024CBAC 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8024FC50 0024CBB0 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8024FC54 0024CBB4 90 01 00 28 */ stw r0, 0x28(r1) -/* 8024FC58 0024CBB8 4B DB 38 39 */ bl memcpy -/* 8024FC5C 0024CBBC 3C 60 80 25 */ lis r3, sub_8024fcd4@ha -/* 8024FC60 0024CBC0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8024FC64 0024CBC4 38 03 FC D4 */ addi r0, r3, sub_8024fcd4@l -/* 8024FC68 0024CBC8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8024FC6C 0024CBCC 90 01 00 38 */ stw r0, 0x38(r1) -/* 8024FC70 0024CBD0 38 81 00 08 */ addi r4, r1, 8 -/* 8024FC74 0024CBD4 38 A0 00 0C */ li r5, 0xc -/* 8024FC78 0024CBD8 4B DB 38 19 */ bl memcpy -/* 8024FC7C 0024CBDC 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8024FC80 0024CBE0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8024FC84 0024CBE4 48 07 6B 6D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -/* 8024FC88 0024CBE8 48 00 00 0C */ b lbl_8024FC94 -lbl_8024FC8C: -/* 8024FC8C 0024CBEC 38 60 00 00 */ li r3, 0 -/* 8024FC90 0024CBF0 48 00 00 30 */ b lbl_8024FCC0 -lbl_8024FC94: -/* 8024FC94 0024CBF4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024FC98 0024CBF8 2C 00 00 01 */ cmpwi r0, 1 -/* 8024FC9C 0024CBFC 40 82 00 0C */ bne lbl_8024FCA8 -/* 8024FCA0 0024CC00 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 8024FCA4 0024CC04 4B FF E2 15 */ bl StartCardProbe__17CMemoryCardDriverFv -lbl_8024FCA8: -/* 8024FCA8 0024CC08 7F E3 FB 78 */ mr r3, r31 -/* 8024FCAC 0024CC0C 48 00 0B 79 */ bl SelectUIType__15CSaveGameScreenFv -/* 8024FCB0 0024CC10 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8024FCB4 0024CC14 7F E3 FB 78 */ mr r3, r31 -/* 8024FCB8 0024CC18 48 00 06 D5 */ bl SetUIText__15CSaveGameScreenFv -/* 8024FCBC 0024CC1C 38 60 00 01 */ li r3, 1 -lbl_8024FCC0: -/* 8024FCC0 0024CC20 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024FCC4 0024CC24 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8024FCC8 0024CC28 7C 08 03 A6 */ mtlr r0 -/* 8024FCCC 0024CC2C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8024FCD0 0024CC30 4E 80 00 20 */ blr - -.global sub_8024fcd4 -sub_8024fcd4: -/* 8024FCD4 0024CC34 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024FCD8 0024CC38 7C 08 02 A6 */ mflr r0 -/* 8024FCDC 0024CC3C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024FCE0 0024CC40 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8024FCE4 0024CC44 7C DF 33 78 */ mr r31, r6 -/* 8024FCE8 0024CC48 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8024FCEC 0024CC4C 7C BE 2B 78 */ mr r30, r5 -/* 8024FCF0 0024CC50 38 A0 00 0C */ li r5, 0xc -/* 8024FCF4 0024CC54 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8024FCF8 0024CC58 7C 7D 1B 78 */ mr r29, r3 -/* 8024FCFC 0024CC5C 38 61 00 08 */ addi r3, r1, 8 -/* 8024FD00 0024CC60 4B DB 37 91 */ bl memcpy -/* 8024FD04 0024CC64 7F A3 EB 78 */ mr r3, r29 -/* 8024FD08 0024CC68 7F C4 F3 78 */ mr r4, r30 -/* 8024FD0C 0024CC6C 7F E5 FB 78 */ mr r5, r31 -/* 8024FD10 0024CC70 39 81 00 08 */ addi r12, r1, 8 -/* 8024FD14 0024CC74 48 13 9C 19 */ bl __ptmf_scall -/* 8024FD18 0024CC78 60 00 00 00 */ nop -/* 8024FD1C 0024CC7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024FD20 0024CC80 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8024FD24 0024CC84 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8024FD28 0024CC88 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8024FD2C 0024CC8C 7C 08 03 A6 */ mtlr r0 -/* 8024FD30 0024CC90 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024FD34 0024CC94 4E 80 00 20 */ blr - -.global sub_8024fd38 -sub_8024fd38: -/* 8024FD38 0024CC98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024FD3C 0024CC9C 7C 08 02 A6 */ mflr r0 -/* 8024FD40 0024CCA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024FD44 0024CCA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024FD48 0024CCA8 7C BF 2B 78 */ mr r31, r5 -/* 8024FD4C 0024CCAC 38 A0 00 0C */ li r5, 0xc -/* 8024FD50 0024CCB0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024FD54 0024CCB4 7C 7E 1B 78 */ mr r30, r3 -/* 8024FD58 0024CCB8 38 61 00 08 */ addi r3, r1, 8 -/* 8024FD5C 0024CCBC 4B DB 37 35 */ bl memcpy -/* 8024FD60 0024CCC0 7F C3 F3 78 */ mr r3, r30 -/* 8024FD64 0024CCC4 7F E4 FB 78 */ mr r4, r31 -/* 8024FD68 0024CCC8 39 81 00 08 */ addi r12, r1, 8 -/* 8024FD6C 0024CCCC 48 13 9B C1 */ bl __ptmf_scall -/* 8024FD70 0024CCD0 60 00 00 00 */ nop -/* 8024FD74 0024CCD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024FD78 0024CCD8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024FD7C 0024CCDC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024FD80 0024CCE0 7C 08 03 A6 */ mtlr r0 -/* 8024FD84 0024CCE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024FD88 0024CCE8 4E 80 00 20 */ blr - -.global ResetCardDriver__15CSaveGameScreenFv -ResetCardDriver__15CSaveGameScreenFv: -/* 8024FD8C 0024CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024FD90 0024CCF0 7C 08 02 A6 */ mflr r0 -/* 8024FD94 0024CCF4 38 80 00 01 */ li r4, 1 -/* 8024FD98 0024CCF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024FD9C 0024CCFC 38 00 00 00 */ li r0, 0 -/* 8024FDA0 0024CD00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024FDA4 0024CD04 93 C1 00 08 */ stw r30, 8(r1) -/* 8024FDA8 0024CD08 7C 7E 1B 78 */ mr r30, r3 -/* 8024FDAC 0024CD0C 98 03 00 92 */ stb r0, 0x92(r3) -/* 8024FDB0 0024CD10 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8024FDB4 0024CD14 4B FF EA 35 */ bl __dt__17CMemoryCardDriverFv -/* 8024FDB8 0024CD18 38 60 00 00 */ li r3, 0 -/* 8024FDBC 0024CD1C 90 7E 00 6C */ stw r3, 0x6c(r30) -/* 8024FDC0 0024CD20 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024FDC4 0024CD24 2C 00 00 00 */ cmpwi r0, 0 -/* 8024FDC8 0024CD28 40 82 00 14 */ bne lbl_8024FDDC -/* 8024FDCC 0024CD2C 88 1E 00 90 */ lbz r0, 0x90(r30) -/* 8024FDD0 0024CD30 28 00 00 00 */ cmplwi r0, 0 -/* 8024FDD4 0024CD34 40 82 00 08 */ bne lbl_8024FDDC -/* 8024FDD8 0024CD38 38 60 00 01 */ li r3, 1 -lbl_8024FDDC: -/* 8024FDDC 0024CD3C 48 00 04 DD */ bl ConstructCardDriver__15CSaveGameScreen -/* 8024FDE0 0024CD40 7C 7F 1B 78 */ mr r31, r3 -/* 8024FDE4 0024CD44 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8024FDE8 0024CD48 38 80 00 01 */ li r4, 1 -/* 8024FDEC 0024CD4C 4B FF E9 FD */ bl __dt__17CMemoryCardDriverFv -/* 8024FDF0 0024CD50 93 FE 00 6C */ stw r31, 0x6c(r30) -/* 8024FDF4 0024CD54 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8024FDF8 0024CD58 4B FF E0 C1 */ bl StartCardProbe__17CMemoryCardDriverFv -/* 8024FDFC 0024CD5C 38 00 00 00 */ li r0, 0 -/* 8024FE00 0024CD60 7F C3 F3 78 */ mr r3, r30 -/* 8024FE04 0024CD64 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8024FE08 0024CD68 48 00 05 85 */ bl SetUIText__15CSaveGameScreenFv -/* 8024FE0C 0024CD6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024FE10 0024CD70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024FE14 0024CD74 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024FE18 0024CD78 7C 08 03 A6 */ mtlr r0 -/* 8024FE1C 0024CD7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024FE20 0024CD80 4E 80 00 20 */ blr - -.global __dt__15CSaveGameScreenFv -__dt__15CSaveGameScreenFv: -/* 8024FE24 0024CD84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024FE28 0024CD88 7C 08 02 A6 */ mflr r0 -/* 8024FE2C 0024CD8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024FE30 0024CD90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8024FE34 0024CD94 7C 9F 23 78 */ mr r31, r4 -/* 8024FE38 0024CD98 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8024FE3C 0024CD9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024FE40 0024CDA0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8024FE44 0024CDA4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8024FE48 0024CDA8 41 82 01 10 */ beq lbl_8024FF58 -/* 8024FE4C 0024CDAC 34 1E 00 70 */ addic. r0, r30, 0x70 -/* 8024FE50 0024CDB0 41 82 00 58 */ beq lbl_8024FEA8 -/* 8024FE54 0024CDB4 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8024FE58 0024CDB8 83 9E 00 7C */ lwz r28, 0x7c(r30) -/* 8024FE5C 0024CDBC 54 00 18 38 */ slwi r0, r0, 3 -/* 8024FE60 0024CDC0 7F BC 02 14 */ add r29, r28, r0 -/* 8024FE64 0024CDC4 93 81 00 0C */ stw r28, 0xc(r1) -/* 8024FE68 0024CDC8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024FE6C 0024CDCC 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8024FE70 0024CDD0 93 81 00 08 */ stw r28, 8(r1) -/* 8024FE74 0024CDD4 48 00 00 1C */ b lbl_8024FE90 -lbl_8024FE78: -/* 8024FE78 0024CDD8 28 1C 00 00 */ cmplwi r28, 0 -/* 8024FE7C 0024CDDC 41 82 00 10 */ beq lbl_8024FE8C -/* 8024FE80 0024CDE0 7F 83 E3 78 */ mr r3, r28 -/* 8024FE84 0024CDE4 38 80 00 00 */ li r4, 0 -/* 8024FE88 0024CDE8 48 0F 0F B9 */ bl __dt__6CTokenFv -lbl_8024FE8C: -/* 8024FE8C 0024CDEC 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8024FE90: -/* 8024FE90 0024CDF0 7C 1C E8 40 */ cmplw r28, r29 -/* 8024FE94 0024CDF4 40 82 FF E4 */ bne lbl_8024FE78 -/* 8024FE98 0024CDF8 80 7E 00 7C */ lwz r3, 0x7c(r30) -/* 8024FE9C 0024CDFC 28 03 00 00 */ cmplwi r3, 0 -/* 8024FEA0 0024CE00 41 82 00 08 */ beq lbl_8024FEA8 -/* 8024FEA4 0024CE04 48 0C 5A 8D */ bl Free__7CMemoryFPCv -lbl_8024FEA8: -/* 8024FEA8 0024CE08 34 1E 00 6C */ addic. r0, r30, 0x6c -/* 8024FEAC 0024CE0C 41 82 00 10 */ beq lbl_8024FEBC -/* 8024FEB0 0024CE10 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8024FEB4 0024CE14 38 80 00 01 */ li r4, 1 -/* 8024FEB8 0024CE18 4B FF E9 31 */ bl __dt__17CMemoryCardDriverFv -lbl_8024FEBC: -/* 8024FEBC 0024CE1C 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 8024FEC0 0024CE20 41 82 00 18 */ beq lbl_8024FED8 -/* 8024FEC4 0024CE24 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 8024FEC8 0024CE28 41 82 00 10 */ beq lbl_8024FED8 -/* 8024FECC 0024CE2C 38 7E 00 44 */ addi r3, r30, 0x44 -/* 8024FED0 0024CE30 38 80 00 00 */ li r4, 0 -/* 8024FED4 0024CE34 48 0F 0F 6D */ bl __dt__6CTokenFv -lbl_8024FED8: -/* 8024FED8 0024CE38 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 8024FEDC 0024CE3C 41 82 00 18 */ beq lbl_8024FEF4 -/* 8024FEE0 0024CE40 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 8024FEE4 0024CE44 41 82 00 10 */ beq lbl_8024FEF4 -/* 8024FEE8 0024CE48 38 7E 00 38 */ addi r3, r30, 0x38 -/* 8024FEEC 0024CE4C 38 80 00 00 */ li r4, 0 -/* 8024FEF0 0024CE50 48 0F 0F 51 */ bl __dt__6CTokenFv -lbl_8024FEF4: -/* 8024FEF4 0024CE54 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 8024FEF8 0024CE58 41 82 00 18 */ beq lbl_8024FF10 -/* 8024FEFC 0024CE5C 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 8024FF00 0024CE60 41 82 00 10 */ beq lbl_8024FF10 -/* 8024FF04 0024CE64 38 7E 00 2C */ addi r3, r30, 0x2c -/* 8024FF08 0024CE68 38 80 00 00 */ li r4, 0 -/* 8024FF0C 0024CE6C 48 0F 0F 35 */ bl __dt__6CTokenFv -lbl_8024FF10: -/* 8024FF10 0024CE70 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8024FF14 0024CE74 41 82 00 18 */ beq lbl_8024FF2C -/* 8024FF18 0024CE78 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8024FF1C 0024CE7C 41 82 00 10 */ beq lbl_8024FF2C -/* 8024FF20 0024CE80 38 7E 00 20 */ addi r3, r30, 0x20 -/* 8024FF24 0024CE84 38 80 00 00 */ li r4, 0 -/* 8024FF28 0024CE88 48 0F 0F 19 */ bl __dt__6CTokenFv -lbl_8024FF2C: -/* 8024FF2C 0024CE8C 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8024FF30 0024CE90 41 82 00 18 */ beq lbl_8024FF48 -/* 8024FF34 0024CE94 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8024FF38 0024CE98 41 82 00 10 */ beq lbl_8024FF48 -/* 8024FF3C 0024CE9C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8024FF40 0024CEA0 38 80 00 00 */ li r4, 0 -/* 8024FF44 0024CEA4 48 0F 0E FD */ bl __dt__6CTokenFv -lbl_8024FF48: -/* 8024FF48 0024CEA8 7F E0 07 35 */ extsh. r0, r31 -/* 8024FF4C 0024CEAC 40 81 00 0C */ ble lbl_8024FF58 -/* 8024FF50 0024CEB0 7F C3 F3 78 */ mr r3, r30 -/* 8024FF54 0024CEB4 48 0C 59 DD */ bl Free__7CMemoryFPCv -lbl_8024FF58: -/* 8024FF58 0024CEB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024FF5C 0024CEBC 7F C3 F3 78 */ mr r3, r30 -/* 8024FF60 0024CEC0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8024FF64 0024CEC4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8024FF68 0024CEC8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8024FF6C 0024CECC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8024FF70 0024CED0 7C 08 03 A6 */ mtlr r0 -/* 8024FF74 0024CED4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024FF78 0024CED8 4E 80 00 20 */ blr - -.global __ct__15CSaveGameScreen -__ct__15CSaveGameScreen: -/* 8024FF7C 0024CEDC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8024FF80 0024CEE0 7C 08 02 A6 */ mflr r0 -/* 8024FF84 0024CEE4 90 01 00 64 */ stw r0, 0x64(r1) -/* 8024FF88 0024CEE8 38 00 00 00 */ li r0, 0 -/* 8024FF8C 0024CEEC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8024FF90 0024CEF0 7C 7F 1B 78 */ mr r31, r3 -/* 8024FF94 0024CEF4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8024FF98 0024CEF8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8024FF9C 0024CEFC 93 81 00 50 */ stw r28, 0x50(r1) -/* 8024FFA0 0024CF00 90 83 00 00 */ stw r4, 0(r3) -/* 8024FFA4 0024CF04 38 61 00 38 */ addi r3, r1, 0x38 -/* 8024FFA8 0024CF08 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8024FFAC 0024CF0C 90 BF 00 08 */ stw r5, 8(r31) -/* 8024FFB0 0024CF10 80 A2 B8 B8 */ lwz r5, lbl_805AD5D8@sda21(r2) -/* 8024FFB4 0024CF14 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024FFB8 0024CF18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8024FFBC 0024CF1C 81 84 00 00 */ lwz r12, 0(r4) -/* 8024FFC0 0024CF20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8024FFC4 0024CF24 7D 89 03 A6 */ mtctr r12 -/* 8024FFC8 0024CF28 4E 80 04 21 */ bctrl -/* 8024FFCC 0024CF2C 3B 9F 00 14 */ addi r28, r31, 0x14 -/* 8024FFD0 0024CF30 38 81 00 38 */ addi r4, r1, 0x38 -/* 8024FFD4 0024CF34 7F 83 E3 78 */ mr r3, r28 -/* 8024FFD8 0024CF38 48 0F 0E D1 */ bl __ct__6CTokenFRC6CToken -/* 8024FFDC 0024CF3C 38 00 00 00 */ li r0, 0 -/* 8024FFE0 0024CF40 38 61 00 38 */ addi r3, r1, 0x38 -/* 8024FFE4 0024CF44 90 1C 00 08 */ stw r0, 8(r28) -/* 8024FFE8 0024CF48 38 80 FF FF */ li r4, -1 -/* 8024FFEC 0024CF4C 48 0F 0E 55 */ bl __dt__6CTokenFv -/* 8024FFF0 0024CF50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8024FFF4 0024CF54 38 61 00 30 */ addi r3, r1, 0x30 -/* 8024FFF8 0024CF58 80 A2 B8 BC */ lwz r5, lbl_805AD5DC@sda21(r2) -/* 8024FFFC 0024CF5C 81 84 00 00 */ lwz r12, 0(r4) -/* 80250000 0024CF60 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80250004 0024CF64 7D 89 03 A6 */ mtctr r12 -/* 80250008 0024CF68 4E 80 04 21 */ bctrl -/* 8025000C 0024CF6C 3B 9F 00 20 */ addi r28, r31, 0x20 -/* 80250010 0024CF70 38 81 00 30 */ addi r4, r1, 0x30 -/* 80250014 0024CF74 7F 83 E3 78 */ mr r3, r28 -/* 80250018 0024CF78 48 0F 0E 91 */ bl __ct__6CTokenFRC6CToken -/* 8025001C 0024CF7C 38 00 00 00 */ li r0, 0 -/* 80250020 0024CF80 38 61 00 30 */ addi r3, r1, 0x30 -/* 80250024 0024CF84 90 1C 00 08 */ stw r0, 8(r28) -/* 80250028 0024CF88 38 80 FF FF */ li r4, -1 -/* 8025002C 0024CF8C 48 0F 0E 15 */ bl __dt__6CTokenFv -/* 80250030 0024CF90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80250034 0024CF94 38 61 00 28 */ addi r3, r1, 0x28 -/* 80250038 0024CF98 80 A2 B8 C0 */ lwz r5, lbl_805AD5E0@sda21(r2) -/* 8025003C 0024CF9C 81 84 00 00 */ lwz r12, 0(r4) -/* 80250040 0024CFA0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80250044 0024CFA4 7D 89 03 A6 */ mtctr r12 -/* 80250048 0024CFA8 4E 80 04 21 */ bctrl -/* 8025004C 0024CFAC 3B 9F 00 2C */ addi r28, r31, 0x2c -/* 80250050 0024CFB0 38 81 00 28 */ addi r4, r1, 0x28 -/* 80250054 0024CFB4 7F 83 E3 78 */ mr r3, r28 -/* 80250058 0024CFB8 48 0F 0E 51 */ bl __ct__6CTokenFRC6CToken -/* 8025005C 0024CFBC 38 00 00 00 */ li r0, 0 -/* 80250060 0024CFC0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80250064 0024CFC4 90 1C 00 08 */ stw r0, 8(r28) -/* 80250068 0024CFC8 38 80 FF FF */ li r4, -1 -/* 8025006C 0024CFCC 48 0F 0D D5 */ bl __dt__6CTokenFv -/* 80250070 0024CFD0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80250074 0024CFD4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80250078 0024CFD8 80 A2 B8 C4 */ lwz r5, lbl_805AD5E4@sda21(r2) -/* 8025007C 0024CFDC 81 84 00 00 */ lwz r12, 0(r4) -/* 80250080 0024CFE0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80250084 0024CFE4 7D 89 03 A6 */ mtctr r12 -/* 80250088 0024CFE8 4E 80 04 21 */ bctrl -/* 8025008C 0024CFEC 3B 9F 00 38 */ addi r28, r31, 0x38 -/* 80250090 0024CFF0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80250094 0024CFF4 7F 83 E3 78 */ mr r3, r28 -/* 80250098 0024CFF8 48 0F 0E 11 */ bl __ct__6CTokenFRC6CToken -/* 8025009C 0024CFFC 38 00 00 00 */ li r0, 0 -/* 802500A0 0024D000 38 61 00 20 */ addi r3, r1, 0x20 -/* 802500A4 0024D004 90 1C 00 08 */ stw r0, 8(r28) -/* 802500A8 0024D008 38 80 FF FF */ li r4, -1 -/* 802500AC 0024D00C 48 0F 0D 95 */ bl __dt__6CTokenFv -/* 802500B0 0024D010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802500B4 0024D014 38 61 00 18 */ addi r3, r1, 0x18 -/* 802500B8 0024D018 80 A2 B8 C8 */ lwz r5, lbl_805AD5E8@sda21(r2) -/* 802500BC 0024D01C 81 84 00 00 */ lwz r12, 0(r4) -/* 802500C0 0024D020 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802500C4 0024D024 7D 89 03 A6 */ mtctr r12 -/* 802500C8 0024D028 4E 80 04 21 */ bctrl -/* 802500CC 0024D02C 3B 9F 00 44 */ addi r28, r31, 0x44 -/* 802500D0 0024D030 38 81 00 18 */ addi r4, r1, 0x18 -/* 802500D4 0024D034 7F 83 E3 78 */ mr r3, r28 -/* 802500D8 0024D038 48 0F 0D D1 */ bl __ct__6CTokenFRC6CToken -/* 802500DC 0024D03C 38 00 00 00 */ li r0, 0 -/* 802500E0 0024D040 38 61 00 18 */ addi r3, r1, 0x18 -/* 802500E4 0024D044 90 1C 00 08 */ stw r0, 8(r28) -/* 802500E8 0024D048 38 80 FF FF */ li r4, -1 -/* 802500EC 0024D04C 48 0F 0D 55 */ bl __dt__6CTokenFv -/* 802500F0 0024D050 38 00 00 00 */ li r0, 0 -/* 802500F4 0024D054 90 1F 00 50 */ stw r0, 0x50(r31) -/* 802500F8 0024D058 80 1F 00 00 */ lwz r0, 0(r31) -/* 802500FC 0024D05C 7C 00 00 34 */ cntlzw r0, r0 -/* 80250100 0024D060 54 03 D9 7E */ srwi r3, r0, 5 -/* 80250104 0024D064 48 00 01 B5 */ bl ConstructCardDriver__15CSaveGameScreen -/* 80250108 0024D068 90 7F 00 6C */ stw r3, 0x6c(r31) -/* 8025010C 0024D06C 38 00 00 00 */ li r0, 0 -/* 80250110 0024D070 38 60 05 B4 */ li r3, 0x5b4 -/* 80250114 0024D074 90 1F 00 74 */ stw r0, 0x74(r31) -/* 80250118 0024D078 90 1F 00 78 */ stw r0, 0x78(r31) -/* 8025011C 0024D07C 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 80250120 0024D080 90 1F 00 80 */ stw r0, 0x80(r31) -/* 80250124 0024D084 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250128 0024D088 2C 00 00 01 */ cmpwi r0, 1 -/* 8025012C 0024D08C 40 82 00 08 */ bne lbl_80250134 -/* 80250130 0024D090 38 60 05 98 */ li r3, 0x598 -lbl_80250134: -/* 80250134 0024D094 90 7F 00 84 */ stw r3, 0x84(r31) -/* 80250138 0024D098 38 60 05 B5 */ li r3, 0x5b5 -/* 8025013C 0024D09C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250140 0024D0A0 2C 00 00 01 */ cmpwi r0, 1 -/* 80250144 0024D0A4 40 82 00 08 */ bne lbl_8025014C -/* 80250148 0024D0A8 38 60 05 9C */ li r3, 0x59c -lbl_8025014C: -/* 8025014C 0024D0AC 90 7F 00 88 */ stw r3, 0x88(r31) -/* 80250150 0024D0B0 38 60 05 B3 */ li r3, 0x5b3 -/* 80250154 0024D0B4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250158 0024D0B8 2C 00 00 01 */ cmpwi r0, 1 -/* 8025015C 0024D0BC 40 82 00 08 */ bne lbl_80250164 -/* 80250160 0024D0C0 38 60 05 97 */ li r3, 0x597 -lbl_80250164: -/* 80250164 0024D0C4 90 7F 00 8C */ stw r3, 0x8c(r31) -/* 80250168 0024D0C8 38 00 00 00 */ li r0, 0 -/* 8025016C 0024D0CC 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80250170 0024D0D0 98 1F 00 90 */ stb r0, 0x90(r31) -/* 80250174 0024D0D4 98 1F 00 91 */ stb r0, 0x91(r31) -/* 80250178 0024D0D8 98 1F 00 92 */ stb r0, 0x92(r31) -/* 8025017C 0024D0DC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250180 0024D0E0 20 00 00 01 */ subfic r0, r0, 1 -/* 80250184 0024D0E4 7C 00 00 34 */ cntlzw r0, r0 -/* 80250188 0024D0E8 54 00 D9 7E */ srwi r0, r0, 5 -/* 8025018C 0024D0EC 98 1F 00 93 */ stb r0, 0x93(r31) -/* 80250190 0024D0F0 48 0F 0B F5 */ bl Lock__6CTokenFv -/* 80250194 0024D0F4 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80250198 0024D0F8 48 0F 0B ED */ bl Lock__6CTokenFv -/* 8025019C 0024D0FC 38 7F 00 2C */ addi r3, r31, 0x2c -/* 802501A0 0024D100 48 0F 0B E5 */ bl Lock__6CTokenFv -/* 802501A4 0024D104 38 7F 00 38 */ addi r3, r31, 0x38 -/* 802501A8 0024D108 48 0F 0B DD */ bl Lock__6CTokenFv -/* 802501AC 0024D10C 38 7F 00 44 */ addi r3, r31, 0x44 -/* 802501B0 0024D110 48 0F 0B D5 */ bl Lock__6CTokenFv -/* 802501B4 0024D114 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13) -/* 802501B8 0024D118 38 7F 00 70 */ addi r3, r31, 0x70 -/* 802501BC 0024D11C 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 802501C0 0024D120 48 00 07 C5 */ bl sub_80250984 -/* 802501C4 0024D124 3C 60 53 41 */ lis r3, 0x53415657@ha -/* 802501C8 0024D128 83 9D 00 18 */ lwz r28, 0x18(r29) -/* 802501CC 0024D12C 3B C3 56 57 */ addi r30, r3, 0x53415657@l -/* 802501D0 0024D130 48 00 00 AC */ b lbl_8025027C -lbl_802501D4: -/* 802501D4 0024D134 80 1C 00 08 */ lwz r0, 8(r28) -/* 802501D8 0024D138 38 61 00 08 */ addi r3, r1, 8 -/* 802501DC 0024D13C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802501E0 0024D140 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802501E4 0024D144 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802501E8 0024D148 90 01 00 14 */ stw r0, 0x14(r1) -/* 802501EC 0024D14C 81 84 00 00 */ lwz r12, 0(r4) -/* 802501F0 0024D150 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802501F4 0024D154 7D 89 03 A6 */ mtctr r12 -/* 802501F8 0024D158 4E 80 04 21 */ bctrl -/* 802501FC 0024D15C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80250200 0024D160 38 81 00 08 */ addi r4, r1, 8 -/* 80250204 0024D164 48 0F 0C A5 */ bl __ct__6CTokenFRC6CToken -/* 80250208 0024D168 38 61 00 08 */ addi r3, r1, 8 -/* 8025020C 0024D16C 38 80 FF FF */ li r4, -1 -/* 80250210 0024D170 48 0F 0C 31 */ bl __dt__6CTokenFv -/* 80250214 0024D174 38 61 00 40 */ addi r3, r1, 0x40 -/* 80250218 0024D178 48 0F 0B 6D */ bl Lock__6CTokenFv -/* 8025021C 0024D17C 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 80250220 0024D180 80 BF 00 78 */ lwz r5, 0x78(r31) -/* 80250224 0024D184 7C 00 28 00 */ cmpw r0, r5 -/* 80250228 0024D188 41 80 00 1C */ blt lbl_80250244 -/* 8025022C 0024D18C 2C 05 00 00 */ cmpwi r5, 0 -/* 80250230 0024D190 38 7F 00 70 */ addi r3, r31, 0x70 -/* 80250234 0024D194 38 80 00 04 */ li r4, 4 -/* 80250238 0024D198 41 82 00 08 */ beq lbl_80250240 -/* 8025023C 0024D19C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80250240: -/* 80250240 0024D1A0 48 00 07 45 */ bl sub_80250984 -lbl_80250244: -/* 80250244 0024D1A4 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 80250248 0024D1A8 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 8025024C 0024D1AC 54 00 18 38 */ slwi r0, r0, 3 -/* 80250250 0024D1B0 7C 63 02 15 */ add. r3, r3, r0 -/* 80250254 0024D1B4 41 82 00 0C */ beq lbl_80250260 -/* 80250258 0024D1B8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8025025C 0024D1BC 48 0F 0C 4D */ bl __ct__6CTokenFRC6CToken -lbl_80250260: -/* 80250260 0024D1C0 80 BF 00 74 */ lwz r5, 0x74(r31) -/* 80250264 0024D1C4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80250268 0024D1C8 38 80 00 00 */ li r4, 0 -/* 8025026C 0024D1CC 38 05 00 01 */ addi r0, r5, 1 -/* 80250270 0024D1D0 90 1F 00 74 */ stw r0, 0x74(r31) -/* 80250274 0024D1D4 48 0F 0B CD */ bl __dt__6CTokenFv -/* 80250278 0024D1D8 3B 9C 00 4C */ addi r28, r28, 0x4c -lbl_8025027C: -/* 8025027C 0024D1DC 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 80250280 0024D1E0 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80250284 0024D1E4 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 80250288 0024D1E8 7C 03 02 14 */ add r0, r3, r0 -/* 8025028C 0024D1EC 7C 1C 00 40 */ cmplw r28, r0 -/* 80250290 0024D1F0 40 82 FF 44 */ bne lbl_802501D4 -/* 80250294 0024D1F4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80250298 0024D1F8 7F E3 FB 78 */ mr r3, r31 -/* 8025029C 0024D1FC 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802502A0 0024D200 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802502A4 0024D204 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 802502A8 0024D208 83 81 00 50 */ lwz r28, 0x50(r1) -/* 802502AC 0024D20C 7C 08 03 A6 */ mtlr r0 -/* 802502B0 0024D210 38 21 00 60 */ addi r1, r1, 0x60 -/* 802502B4 0024D214 4E 80 00 20 */ blr - -.global ConstructCardDriver__15CSaveGameScreen -ConstructCardDriver__15CSaveGameScreen: -/* 802502B8 0024D218 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802502BC 0024D21C 7C 08 02 A6 */ mflr r0 -/* 802502C0 0024D220 3C 80 80 3D */ lis r4, lbl_803D4A90@ha -/* 802502C4 0024D224 38 A0 00 00 */ li r5, 0 -/* 802502C8 0024D228 90 01 00 24 */ stw r0, 0x24(r1) -/* 802502CC 0024D22C 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l -/* 802502D0 0024D230 38 84 00 B7 */ addi r4, r4, 0xb7 -/* 802502D4 0024D234 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802502D8 0024D238 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802502DC 0024D23C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802502E0 0024D240 93 81 00 10 */ stw r28, 0x10(r1) -/* 802502E4 0024D244 7C 7C 1B 78 */ mr r28, r3 -/* 802502E8 0024D248 38 60 01 A0 */ li r3, 0x1a0 -/* 802502EC 0024D24C 48 0C 55 81 */ bl __nw__FUlPCcPCc -/* 802502F0 0024D250 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802502F4 0024D254 41 82 00 74 */ beq lbl_80250368 -/* 802502F8 0024D258 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 802502FC 0024D25C 80 82 B8 C0 */ lwz r4, lbl_805AD5E0@sda21(r2) -/* 80250300 0024D260 81 83 00 00 */ lwz r12, 0(r3) -/* 80250304 0024D264 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80250308 0024D268 7D 89 03 A6 */ mtctr r12 -/* 8025030C 0024D26C 4E 80 04 21 */ bctrl -/* 80250310 0024D270 7C 7E 1B 78 */ mr r30, r3 -/* 80250314 0024D274 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80250318 0024D278 80 82 B8 BC */ lwz r4, lbl_805AD5DC@sda21(r2) -/* 8025031C 0024D27C 81 83 00 00 */ lwz r12, 0(r3) -/* 80250320 0024D280 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80250324 0024D284 7D 89 03 A6 */ mtctr r12 -/* 80250328 0024D288 4E 80 04 21 */ bctrl -/* 8025032C 0024D28C 7C 7F 1B 78 */ mr r31, r3 -/* 80250330 0024D290 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80250334 0024D294 80 82 B8 B8 */ lwz r4, lbl_805AD5D8@sda21(r2) -/* 80250338 0024D298 81 83 00 00 */ lwz r12, 0(r3) -/* 8025033C 0024D29C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80250340 0024D2A0 7D 89 03 A6 */ mtctr r12 -/* 80250344 0024D2A4 4E 80 04 21 */ bctrl -/* 80250348 0024D2A8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8025034C 0024D2AC 7F A3 EB 78 */ mr r3, r29 -/* 80250350 0024D2B0 80 DF 00 04 */ lwz r6, 4(r31) -/* 80250354 0024D2B4 7F 88 E3 78 */ mr r8, r28 -/* 80250358 0024D2B8 80 FE 00 04 */ lwz r7, 4(r30) -/* 8025035C 0024D2BC 38 80 00 00 */ li r4, 0 -/* 80250360 0024D2C0 4B FF E8 B9 */ bl __ct__17CMemoryCardDriverFv -/* 80250364 0024D2C4 7C 7D 1B 78 */ mr r29, r3 -lbl_80250368: -/* 80250368 0024D2C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025036C 0024D2CC 7F A3 EB 78 */ mr r3, r29 -/* 80250370 0024D2D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250374 0024D2D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80250378 0024D2D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025037C 0024D2DC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80250380 0024D2E0 7C 08 03 A6 */ mtlr r0 -/* 80250384 0024D2E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250388 0024D2E8 4E 80 00 20 */ blr - -.global SetUIText__15CSaveGameScreenFv -SetUIText__15CSaveGameScreenFv: -/* 8025038C 0024D2EC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80250390 0024D2F0 7C 08 02 A6 */ mflr r0 -/* 80250394 0024D2F4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80250398 0024D2F8 38 00 00 00 */ li r0, 0 -/* 8025039C 0024D2FC BF 01 00 B0 */ stmw r24, 0xb0(r1) -/* 802503A0 0024D300 7C 7C 1B 78 */ mr r28, r3 -/* 802503A4 0024D304 3B 40 FF FF */ li r26, -1 -/* 802503A8 0024D308 3B 20 FF FF */ li r25, -1 -/* 802503AC 0024D30C 3B E0 FF FF */ li r31, -1 -/* 802503B0 0024D310 3B C0 FF FF */ li r30, -1 -/* 802503B4 0024D314 3B A0 FF FF */ li r29, -1 -/* 802503B8 0024D318 98 03 00 91 */ stb r0, 0x91(r3) -/* 802503BC 0024D31C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802503C0 0024D320 83 63 00 40 */ lwz r27, 0x40(r3) -/* 802503C4 0024D324 28 00 00 10 */ cmplwi r0, 0x10 -/* 802503C8 0024D328 41 81 01 80 */ bgt lbl_80250548 -/* 802503CC 0024D32C 3C 60 80 3F */ lis r3, lbl_803E8DFC@ha -/* 802503D0 0024D330 54 00 10 3A */ slwi r0, r0, 2 -/* 802503D4 0024D334 38 63 8D FC */ addi r3, r3, lbl_803E8DFC@l -/* 802503D8 0024D338 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802503DC 0024D33C 7C 09 03 A6 */ mtctr r0 -/* 802503E0 0024D340 4E 80 04 20 */ bctr -/* 802503E4 0024D344 3B 20 00 18 */ li r25, 0x18 -/* 802503E8 0024D348 48 00 01 60 */ b lbl_80250548 -/* 802503EC 0024D34C 3B 20 00 19 */ li r25, 0x19 -/* 802503F0 0024D350 48 00 01 58 */ b lbl_80250548 -/* 802503F4 0024D354 3B 20 00 00 */ li r25, 0 -/* 802503F8 0024D358 3B E0 00 11 */ li r31, 0x11 -/* 802503FC 0024D35C 3B C0 00 12 */ li r30, 0x12 -/* 80250400 0024D360 48 00 01 48 */ b lbl_80250548 -/* 80250404 0024D364 3B 20 00 01 */ li r25, 1 -/* 80250408 0024D368 3B E0 00 11 */ li r31, 0x11 -/* 8025040C 0024D36C 3B C0 00 12 */ li r30, 0x12 -/* 80250410 0024D370 3B A0 00 14 */ li r29, 0x14 -/* 80250414 0024D374 48 00 01 34 */ b lbl_80250548 -/* 80250418 0024D378 3B 20 00 02 */ li r25, 2 -/* 8025041C 0024D37C 3B E0 00 11 */ li r31, 0x11 -/* 80250420 0024D380 3B C0 00 12 */ li r30, 0x12 -/* 80250424 0024D384 3B A0 00 14 */ li r29, 0x14 -/* 80250428 0024D388 48 00 01 20 */ b lbl_80250548 -/* 8025042C 0024D38C 3B 20 00 03 */ li r25, 3 -/* 80250430 0024D390 3B E0 00 11 */ li r31, 0x11 -/* 80250434 0024D394 3B C0 00 12 */ li r30, 0x12 -/* 80250438 0024D398 48 00 01 10 */ b lbl_80250548 -/* 8025043C 0024D39C 3B 20 00 05 */ li r25, 5 -/* 80250440 0024D3A0 3B E0 00 11 */ li r31, 0x11 -/* 80250444 0024D3A4 3B C0 00 12 */ li r30, 0x12 -/* 80250448 0024D3A8 48 00 01 00 */ b lbl_80250548 -/* 8025044C 0024D3AC 3B 20 00 06 */ li r25, 6 -/* 80250450 0024D3B0 3B E0 00 11 */ li r31, 0x11 -/* 80250454 0024D3B4 3B C0 00 12 */ li r30, 0x12 -/* 80250458 0024D3B8 3B A0 00 13 */ li r29, 0x13 -/* 8025045C 0024D3BC 48 00 00 EC */ b lbl_80250548 -/* 80250460 0024D3C0 80 1C 00 00 */ lwz r0, 0(r28) -/* 80250464 0024D3C4 3B E0 00 11 */ li r31, 0x11 -/* 80250468 0024D3C8 3B C0 00 12 */ li r30, 0x12 -/* 8025046C 0024D3CC 3B A0 00 13 */ li r29, 0x13 -/* 80250470 0024D3D0 20 00 00 01 */ subfic r0, r0, 1 -/* 80250474 0024D3D4 7C 00 00 34 */ cntlzw r0, r0 -/* 80250478 0024D3D8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8025047C 0024D3DC 38 03 00 09 */ addi r0, r3, 9 -/* 80250480 0024D3E0 7C 19 03 78 */ mr r25, r0 -/* 80250484 0024D3E4 48 00 00 C4 */ b lbl_80250548 -/* 80250488 0024D3E8 3B 20 00 07 */ li r25, 7 -/* 8025048C 0024D3EC 3B E0 00 11 */ li r31, 0x11 -/* 80250490 0024D3F0 3B C0 00 12 */ li r30, 0x12 -/* 80250494 0024D3F4 48 00 00 B4 */ b lbl_80250548 -/* 80250498 0024D3F8 3B 20 00 04 */ li r25, 4 -/* 8025049C 0024D3FC 3B E0 00 16 */ li r31, 0x16 -/* 802504A0 0024D400 3B C0 00 11 */ li r30, 0x11 -/* 802504A4 0024D404 3B A0 00 12 */ li r29, 0x12 -/* 802504A8 0024D408 48 00 00 A0 */ b lbl_80250548 -/* 802504AC 0024D40C 80 1C 00 00 */ lwz r0, 0(r28) -/* 802504B0 0024D410 2C 00 00 01 */ cmpwi r0, 1 -/* 802504B4 0024D414 40 82 00 18 */ bne lbl_802504CC -/* 802504B8 0024D418 3B 20 00 0A */ li r25, 0xa -/* 802504BC 0024D41C 3B E0 00 11 */ li r31, 0x11 -/* 802504C0 0024D420 3B C0 00 12 */ li r30, 0x12 -/* 802504C4 0024D424 3B A0 00 13 */ li r29, 0x13 -/* 802504C8 0024D428 48 00 00 80 */ b lbl_80250548 -lbl_802504CC: -/* 802504CC 0024D42C 3B 20 00 09 */ li r25, 9 -/* 802504D0 0024D430 3B E0 00 11 */ li r31, 0x11 -/* 802504D4 0024D434 3B C0 00 12 */ li r30, 0x12 -/* 802504D8 0024D438 3B A0 00 13 */ li r29, 0x13 -/* 802504DC 0024D43C 48 00 00 6C */ b lbl_80250548 -/* 802504E0 0024D440 3B 40 00 1C */ li r26, 0x1c -/* 802504E4 0024D444 3B 20 00 0B */ li r25, 0xb -/* 802504E8 0024D448 3B E0 00 15 */ li r31, 0x15 -/* 802504EC 0024D44C 3B C0 00 10 */ li r30, 0x10 -/* 802504F0 0024D450 48 00 00 58 */ b lbl_80250548 -/* 802504F4 0024D454 80 1C 00 00 */ lwz r0, 0(r28) -/* 802504F8 0024D458 3B 40 00 1C */ li r26, 0x1c -/* 802504FC 0024D45C 3B 20 00 0C */ li r25, 0xc -/* 80250500 0024D460 38 60 00 11 */ li r3, 0x11 -/* 80250504 0024D464 2C 00 00 01 */ cmpwi r0, 1 -/* 80250508 0024D468 40 82 00 08 */ bne lbl_80250510 -/* 8025050C 0024D46C 38 60 00 15 */ li r3, 0x15 -lbl_80250510: -/* 80250510 0024D470 7C 7F 1B 78 */ mr r31, r3 -/* 80250514 0024D474 3B C0 00 10 */ li r30, 0x10 -/* 80250518 0024D478 48 00 00 30 */ b lbl_80250548 -/* 8025051C 0024D47C 3B 40 00 1C */ li r26, 0x1c -/* 80250520 0024D480 3B 20 00 0D */ li r25, 0xd -/* 80250524 0024D484 3B E0 00 10 */ li r31, 0x10 -/* 80250528 0024D488 3B C0 00 15 */ li r30, 0x15 -/* 8025052C 0024D48C 48 00 00 1C */ b lbl_80250548 -/* 80250530 0024D490 80 1C 00 00 */ lwz r0, 0(r28) -/* 80250534 0024D494 2C 00 00 01 */ cmpwi r0, 1 -/* 80250538 0024D498 40 82 00 10 */ bne lbl_80250548 -/* 8025053C 0024D49C 3B 20 00 08 */ li r25, 8 -/* 80250540 0024D4A0 3B E0 00 0E */ li r31, 0xe -/* 80250544 0024D4A4 3B C0 00 0F */ li r30, 0xf -lbl_80250548: -/* 80250548 0024D4A8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8025054C 0024D4AC 38 8D 97 18 */ addi r4, r13, lbl_805A82D8@sda21 -/* 80250550 0024D4B0 4B DC 54 A1 */ bl wstring_l__4rstlFPCw -/* 80250554 0024D4B4 38 61 00 98 */ addi r3, r1, 0x98 -/* 80250558 0024D4B8 38 81 00 68 */ addi r4, r1, 0x68 -/* 8025055C 0024D4BC 48 0E D2 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80250560 0024D4C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80250564 0024D4C4 48 0E CB D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80250568 0024D4C8 2C 1A FF FF */ cmpwi r26, -1 -/* 8025056C 0024D4CC 3B 00 00 00 */ li r24, 0 -/* 80250570 0024D4D0 40 82 00 0C */ bne lbl_8025057C -/* 80250574 0024D4D4 38 81 00 98 */ addi r4, r1, 0x98 -/* 80250578 0024D4D8 48 00 00 24 */ b lbl_8025059C -lbl_8025057C: -/* 8025057C 0024D4DC 7F 63 DB 78 */ mr r3, r27 -/* 80250580 0024D4E0 7F 44 D3 78 */ mr r4, r26 -/* 80250584 0024D4E4 48 10 61 79 */ bl GetString__12CStringTableCFi -/* 80250588 0024D4E8 7C 64 1B 78 */ mr r4, r3 -/* 8025058C 0024D4EC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80250590 0024D4F0 4B DC 54 61 */ bl wstring_l__4rstlFPCw -/* 80250594 0024D4F4 3B 00 00 01 */ li r24, 1 -/* 80250598 0024D4F8 38 81 00 58 */ addi r4, r1, 0x58 -lbl_8025059C: -/* 8025059C 0024D4FC 38 61 00 88 */ addi r3, r1, 0x88 -/* 802505A0 0024D500 48 0E D1 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802505A4 0024D504 7F 00 07 75 */ extsb. r0, r24 -/* 802505A8 0024D508 41 82 00 0C */ beq lbl_802505B4 -/* 802505AC 0024D50C 38 61 00 58 */ addi r3, r1, 0x58 -/* 802505B0 0024D510 48 0E CB 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802505B4: -/* 802505B4 0024D514 2C 19 FF FF */ cmpwi r25, -1 -/* 802505B8 0024D518 3B 00 00 00 */ li r24, 0 -/* 802505BC 0024D51C 40 82 00 0C */ bne lbl_802505C8 -/* 802505C0 0024D520 38 A1 00 98 */ addi r5, r1, 0x98 -/* 802505C4 0024D524 48 00 00 24 */ b lbl_802505E8 -lbl_802505C8: -/* 802505C8 0024D528 7F 63 DB 78 */ mr r3, r27 -/* 802505CC 0024D52C 7F 24 CB 78 */ mr r4, r25 -/* 802505D0 0024D530 48 10 61 2D */ bl GetString__12CStringTableCFi -/* 802505D4 0024D534 7C 64 1B 78 */ mr r4, r3 -/* 802505D8 0024D538 38 61 00 48 */ addi r3, r1, 0x48 -/* 802505DC 0024D53C 4B DC 54 15 */ bl wstring_l__4rstlFPCw -/* 802505E0 0024D540 3B 00 00 01 */ li r24, 1 -/* 802505E4 0024D544 38 A1 00 48 */ addi r5, r1, 0x48 -lbl_802505E8: -/* 802505E8 0024D548 38 61 00 38 */ addi r3, r1, 0x38 -/* 802505EC 0024D54C 38 81 00 88 */ addi r4, r1, 0x88 -/* 802505F0 0024D550 4B DC FA 75 */ bl sub_80020064 -/* 802505F4 0024D554 38 61 00 78 */ addi r3, r1, 0x78 -/* 802505F8 0024D558 38 81 00 38 */ addi r4, r1, 0x38 -/* 802505FC 0024D55C 48 0E D1 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80250600 0024D560 38 61 00 38 */ addi r3, r1, 0x38 -/* 80250604 0024D564 48 0E CB 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80250608 0024D568 7F 00 07 75 */ extsb. r0, r24 -/* 8025060C 0024D56C 41 82 00 0C */ beq lbl_80250618 -/* 80250610 0024D570 38 61 00 48 */ addi r3, r1, 0x48 -/* 80250614 0024D574 48 0E CB 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80250618: -/* 80250618 0024D578 80 7C 00 54 */ lwz r3, 0x54(r28) -/* 8025061C 0024D57C 38 81 00 78 */ addi r4, r1, 0x78 -/* 80250620 0024D580 38 A0 00 00 */ li r5, 0 -/* 80250624 0024D584 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80250628 0024D588 48 07 92 5D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025062C 0024D58C 2C 1F FF FF */ cmpwi r31, -1 -/* 80250630 0024D590 3B 00 00 00 */ li r24, 0 -/* 80250634 0024D594 40 82 00 0C */ bne lbl_80250640 -/* 80250638 0024D598 38 81 00 98 */ addi r4, r1, 0x98 -/* 8025063C 0024D59C 48 00 00 24 */ b lbl_80250660 -lbl_80250640: -/* 80250640 0024D5A0 7F 63 DB 78 */ mr r3, r27 -/* 80250644 0024D5A4 7F E4 FB 78 */ mr r4, r31 -/* 80250648 0024D5A8 48 10 60 B5 */ bl GetString__12CStringTableCFi -/* 8025064C 0024D5AC 7C 64 1B 78 */ mr r4, r3 -/* 80250650 0024D5B0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80250654 0024D5B4 4B DC 53 9D */ bl wstring_l__4rstlFPCw -/* 80250658 0024D5B8 3B 00 00 01 */ li r24, 1 -/* 8025065C 0024D5BC 38 81 00 28 */ addi r4, r1, 0x28 -lbl_80250660: -/* 80250660 0024D5C0 80 7C 00 5C */ lwz r3, 0x5c(r28) -/* 80250664 0024D5C4 38 A0 00 00 */ li r5, 0 -/* 80250668 0024D5C8 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 8025066C 0024D5CC 48 07 92 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80250670 0024D5D0 7F 00 07 75 */ extsb. r0, r24 -/* 80250674 0024D5D4 41 82 00 0C */ beq lbl_80250680 -/* 80250678 0024D5D8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8025067C 0024D5DC 48 0E CA B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80250680: -/* 80250680 0024D5E0 2C 1E FF FF */ cmpwi r30, -1 -/* 80250684 0024D5E4 3B 00 00 00 */ li r24, 0 -/* 80250688 0024D5E8 40 82 00 0C */ bne lbl_80250694 -/* 8025068C 0024D5EC 38 81 00 98 */ addi r4, r1, 0x98 -/* 80250690 0024D5F0 48 00 00 24 */ b lbl_802506B4 -lbl_80250694: -/* 80250694 0024D5F4 7F 63 DB 78 */ mr r3, r27 -/* 80250698 0024D5F8 7F C4 F3 78 */ mr r4, r30 -/* 8025069C 0024D5FC 48 10 60 61 */ bl GetString__12CStringTableCFi -/* 802506A0 0024D600 7C 64 1B 78 */ mr r4, r3 -/* 802506A4 0024D604 38 61 00 18 */ addi r3, r1, 0x18 -/* 802506A8 0024D608 4B DC 53 49 */ bl wstring_l__4rstlFPCw -/* 802506AC 0024D60C 3B 00 00 01 */ li r24, 1 -/* 802506B0 0024D610 38 81 00 18 */ addi r4, r1, 0x18 -lbl_802506B4: -/* 802506B4 0024D614 80 7C 00 60 */ lwz r3, 0x60(r28) -/* 802506B8 0024D618 38 A0 00 00 */ li r5, 0 -/* 802506BC 0024D61C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 802506C0 0024D620 48 07 91 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802506C4 0024D624 7F 00 07 75 */ extsb. r0, r24 -/* 802506C8 0024D628 41 82 00 0C */ beq lbl_802506D4 -/* 802506CC 0024D62C 38 61 00 18 */ addi r3, r1, 0x18 -/* 802506D0 0024D630 48 0E CA 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802506D4: -/* 802506D4 0024D634 2C 1D FF FF */ cmpwi r29, -1 -/* 802506D8 0024D638 3B 00 00 00 */ li r24, 0 -/* 802506DC 0024D63C 40 82 00 0C */ bne lbl_802506E8 -/* 802506E0 0024D640 38 81 00 98 */ addi r4, r1, 0x98 -/* 802506E4 0024D644 48 00 00 24 */ b lbl_80250708 -lbl_802506E8: -/* 802506E8 0024D648 7F 63 DB 78 */ mr r3, r27 -/* 802506EC 0024D64C 7F A4 EB 78 */ mr r4, r29 -/* 802506F0 0024D650 48 10 60 0D */ bl GetString__12CStringTableCFi -/* 802506F4 0024D654 7C 64 1B 78 */ mr r4, r3 -/* 802506F8 0024D658 38 61 00 08 */ addi r3, r1, 8 -/* 802506FC 0024D65C 4B DC 52 F5 */ bl wstring_l__4rstlFPCw -/* 80250700 0024D660 3B 00 00 01 */ li r24, 1 -/* 80250704 0024D664 38 81 00 08 */ addi r4, r1, 8 -lbl_80250708: -/* 80250708 0024D668 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 8025070C 0024D66C 38 A0 00 00 */ li r5, 0 -/* 80250710 0024D670 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80250714 0024D674 48 07 91 71 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80250718 0024D678 7F 00 07 75 */ extsb. r0, r24 -/* 8025071C 0024D67C 41 82 00 0C */ beq lbl_80250728 -/* 80250720 0024D680 38 61 00 08 */ addi r3, r1, 8 -/* 80250724 0024D684 48 0E CA 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80250728: -/* 80250728 0024D688 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 8025072C 0024D68C 38 81 00 98 */ addi r4, r1, 0x98 -/* 80250730 0024D690 38 A0 00 00 */ li r5, 0 -/* 80250734 0024D694 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 80250738 0024D698 48 07 91 4D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025073C 0024D69C 80 DC 00 5C */ lwz r6, 0x5c(r28) -/* 80250740 0024D6A0 20 7F FF FF */ subfic r3, r31, -1 -/* 80250744 0024D6A4 38 1F 00 01 */ addi r0, r31, 1 -/* 80250748 0024D6A8 38 A0 00 00 */ li r5, 0 -/* 8025074C 0024D6AC 7C 60 03 78 */ or r0, r3, r0 -/* 80250750 0024D6B0 88 86 00 B6 */ lbz r4, 0xb6(r6) -/* 80250754 0024D6B4 50 04 2E F6 */ rlwimi r4, r0, 5, 0x1b, 0x1b -/* 80250758 0024D6B8 20 7E FF FF */ subfic r3, r30, -1 -/* 8025075C 0024D6BC 98 86 00 B6 */ stb r4, 0xb6(r6) -/* 80250760 0024D6C0 38 1E 00 01 */ addi r0, r30, 1 -/* 80250764 0024D6C4 7C 60 03 78 */ or r0, r3, r0 -/* 80250768 0024D6C8 20 7D FF FF */ subfic r3, r29, -1 -/* 8025076C 0024D6CC 80 9C 00 60 */ lwz r4, 0x60(r28) -/* 80250770 0024D6D0 54 06 0F FE */ srwi r6, r0, 0x1f -/* 80250774 0024D6D4 38 1D 00 01 */ addi r0, r29, 1 -/* 80250778 0024D6D8 2C 1F FF FF */ cmpwi r31, -1 -/* 8025077C 0024D6DC 7C 60 03 78 */ or r0, r3, r0 -/* 80250780 0024D6E0 88 64 00 B6 */ lbz r3, 0xb6(r4) -/* 80250784 0024D6E4 50 C3 26 F6 */ rlwimi r3, r6, 4, 0x1b, 0x1b -/* 80250788 0024D6E8 98 64 00 B6 */ stb r3, 0xb6(r4) -/* 8025078C 0024D6EC 54 06 0F FE */ srwi r6, r0, 0x1f -/* 80250790 0024D6F0 38 80 00 01 */ li r4, 1 -/* 80250794 0024D6F4 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80250798 0024D6F8 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 8025079C 0024D6FC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 802507A0 0024D700 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 802507A4 0024D704 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 802507A8 0024D708 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 802507AC 0024D70C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 802507B0 0024D710 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 802507B4 0024D714 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 802507B8 0024D718 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 802507BC 0024D71C 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 802507C0 0024D720 90 A3 00 C4 */ stw r5, 0xc4(r3) -/* 802507C4 0024D724 40 82 00 14 */ bne lbl_802507D8 -/* 802507C8 0024D728 2C 1E FF FF */ cmpwi r30, -1 -/* 802507CC 0024D72C 40 82 00 0C */ bne lbl_802507D8 -/* 802507D0 0024D730 2C 1D FF FF */ cmpwi r29, -1 -/* 802507D4 0024D734 41 82 00 08 */ beq lbl_802507DC -lbl_802507D8: -/* 802507D8 0024D738 38 A0 00 01 */ li r5, 1 -lbl_802507DC: -/* 802507DC 0024D73C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802507E0 0024D740 40 82 00 08 */ bne lbl_802507E8 -/* 802507E4 0024D744 38 80 00 00 */ li r4, 0 -lbl_802507E8: -/* 802507E8 0024D748 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 802507EC 0024D74C 48 07 9D F9 */ bl SetIsActive__10CGuiWidgetFb -/* 802507F0 0024D750 7F 83 E3 78 */ mr r3, r28 -/* 802507F4 0024D754 4B FF E9 81 */ bl SetUIColors__15CSaveGameScreenFv -/* 802507F8 0024D758 38 61 00 78 */ addi r3, r1, 0x78 -/* 802507FC 0024D75C 48 0E C9 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80250800 0024D760 38 61 00 88 */ addi r3, r1, 0x88 -/* 80250804 0024D764 48 0E C9 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80250808 0024D768 38 61 00 98 */ addi r3, r1, 0x98 -/* 8025080C 0024D76C 48 0E C9 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80250810 0024D770 BB 01 00 B0 */ lmw r24, 0xb0(r1) -/* 80250814 0024D774 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80250818 0024D778 7C 08 03 A6 */ mtlr r0 -/* 8025081C 0024D77C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80250820 0024D780 4E 80 00 20 */ blr - -.global SelectUIType__15CSaveGameScreenFv -SelectUIType__15CSaveGameScreenFv: -/* 80250824 0024D784 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250828 0024D788 7C 08 02 A6 */ mflr r0 -/* 8025082C 0024D78C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250830 0024D790 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250834 0024D794 93 C1 00 08 */ stw r30, 8(r1) -/* 80250838 0024D798 80 83 00 6C */ lwz r4, 0x6c(r3) -/* 8025083C 0024D79C 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 80250840 0024D7A0 83 C4 00 14 */ lwz r30, 0x14(r4) -/* 80250844 0024D7A4 2C 1F 00 02 */ cmpwi r31, 2 -/* 80250848 0024D7A8 40 82 00 0C */ bne lbl_80250854 -/* 8025084C 0024D7AC 38 60 00 03 */ li r3, 3 -/* 80250850 0024D7B0 48 00 00 EC */ b lbl_8025093C -lbl_80250854: -/* 80250854 0024D7B4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80250858 0024D7B8 2C 00 00 0D */ cmpwi r0, 0xd -/* 8025085C 0024D7BC 41 82 00 14 */ beq lbl_80250870 -/* 80250860 0024D7C0 2C 00 00 0F */ cmpwi r0, 0xf -/* 80250864 0024D7C4 41 82 00 0C */ beq lbl_80250870 -/* 80250868 0024D7C8 2C 00 00 0E */ cmpwi r0, 0xe -/* 8025086C 0024D7CC 40 82 00 0C */ bne lbl_80250878 -lbl_80250870: -/* 80250870 0024D7D0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80250874 0024D7D4 48 00 00 C8 */ b lbl_8025093C -lbl_80250878: -/* 80250878 0024D7D8 7F E3 FB 78 */ mr r3, r31 -/* 8025087C 0024D7DC 4B FF E8 D1 */ bl IsCardBusy__17CMemoryCardDriverF6EState -/* 80250880 0024D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250884 0024D7E4 41 82 00 20 */ beq lbl_802508A4 -/* 80250888 0024D7E8 7F E3 FB 78 */ mr r3, r31 -/* 8025088C 0024D7EC 4B FF E8 65 */ bl IsCardWriting__17CMemoryCardDriverF6EState -/* 80250890 0024D7F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250894 0024D7F4 38 60 00 02 */ li r3, 2 -/* 80250898 0024D7F8 41 82 00 A4 */ beq lbl_8025093C -/* 8025089C 0024D7FC 38 60 00 01 */ li r3, 1 -/* 802508A0 0024D800 48 00 00 9C */ b lbl_8025093C -lbl_802508A4: -/* 802508A4 0024D804 2C 1F 00 01 */ cmpwi r31, 1 -/* 802508A8 0024D808 40 82 00 18 */ bne lbl_802508C0 -/* 802508AC 0024D80C 2C 1E 00 06 */ cmpwi r30, 6 -/* 802508B0 0024D810 38 60 00 10 */ li r3, 0x10 -/* 802508B4 0024D814 40 82 00 88 */ bne lbl_8025093C -/* 802508B8 0024D818 38 60 00 0C */ li r3, 0xc -/* 802508BC 0024D81C 48 00 00 80 */ b lbl_8025093C -lbl_802508C0: -/* 802508C0 0024D820 2C 1E 00 01 */ cmpwi r30, 1 -/* 802508C4 0024D824 40 82 00 0C */ bne lbl_802508D0 -/* 802508C8 0024D828 38 60 00 04 */ li r3, 4 -/* 802508CC 0024D82C 48 00 00 70 */ b lbl_8025093C -lbl_802508D0: -/* 802508D0 0024D830 2C 1E 00 02 */ cmpwi r30, 2 -/* 802508D4 0024D834 40 82 00 0C */ bne lbl_802508E0 -/* 802508D8 0024D838 38 60 00 05 */ li r3, 5 -/* 802508DC 0024D83C 48 00 00 60 */ b lbl_8025093C -lbl_802508E0: -/* 802508E0 0024D840 2C 1E 00 04 */ cmpwi r30, 4 -/* 802508E4 0024D844 40 82 00 0C */ bne lbl_802508F0 -/* 802508E8 0024D848 38 60 00 07 */ li r3, 7 -/* 802508EC 0024D84C 48 00 00 50 */ b lbl_8025093C -lbl_802508F0: -/* 802508F0 0024D850 2C 1E 00 05 */ cmpwi r30, 5 -/* 802508F4 0024D854 40 82 00 18 */ bne lbl_8025090C -/* 802508F8 0024D858 2C 1F 00 14 */ cmpwi r31, 0x14 -/* 802508FC 0024D85C 38 60 00 09 */ li r3, 9 -/* 80250900 0024D860 40 82 00 3C */ bne lbl_8025093C -/* 80250904 0024D864 38 60 00 08 */ li r3, 8 -/* 80250908 0024D868 48 00 00 34 */ b lbl_8025093C -lbl_8025090C: -/* 8025090C 0024D86C 2C 1E 00 07 */ cmpwi r30, 7 -/* 80250910 0024D870 40 82 00 0C */ bne lbl_8025091C -/* 80250914 0024D874 38 60 00 0A */ li r3, 0xa -/* 80250918 0024D878 48 00 00 24 */ b lbl_8025093C -lbl_8025091C: -/* 8025091C 0024D87C 2C 1E 00 09 */ cmpwi r30, 9 -/* 80250920 0024D880 40 82 00 0C */ bne lbl_8025092C -/* 80250924 0024D884 38 60 00 0B */ li r3, 0xb -/* 80250928 0024D888 48 00 00 14 */ b lbl_8025093C -lbl_8025092C: -/* 8025092C 0024D88C 2C 1E 00 03 */ cmpwi r30, 3 -/* 80250930 0024D890 38 60 00 00 */ li r3, 0 -/* 80250934 0024D894 40 82 00 08 */ bne lbl_8025093C -/* 80250938 0024D898 38 60 00 06 */ li r3, 6 -lbl_8025093C: -/* 8025093C 0024D89C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250940 0024D8A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80250944 0024D8A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80250948 0024D8A8 7C 08 03 A6 */ mtlr r0 -/* 8025094C 0024D8AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250950 0024D8B0 4E 80 00 20 */ blr - -.global IsHiddenFromFrontEnd__15CSaveGameScreenFv -IsHiddenFromFrontEnd__15CSaveGameScreenFv: -/* 80250954 0024D8B4 2C 03 00 10 */ cmpwi r3, 0x10 -/* 80250958 0024D8B8 41 82 00 1C */ beq lbl_80250974 -/* 8025095C 0024D8BC 40 80 00 20 */ bge lbl_8025097C -/* 80250960 0024D8C0 2C 03 00 03 */ cmpwi r3, 3 -/* 80250964 0024D8C4 40 80 00 18 */ bge lbl_8025097C -/* 80250968 0024D8C8 2C 03 00 00 */ cmpwi r3, 0 -/* 8025096C 0024D8CC 40 80 00 08 */ bge lbl_80250974 -/* 80250970 0024D8D0 48 00 00 0C */ b lbl_8025097C -lbl_80250974: -/* 80250974 0024D8D4 38 60 00 00 */ li r3, 0 -/* 80250978 0024D8D8 4E 80 00 20 */ blr -lbl_8025097C: -/* 8025097C 0024D8DC 38 60 00 01 */ li r3, 1 -/* 80250980 0024D8E0 4E 80 00 20 */ blr - -.global sub_80250984 -sub_80250984: -/* 80250984 0024D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80250988 0024D8E8 7C 08 02 A6 */ mflr r0 -/* 8025098C 0024D8EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80250990 0024D8F0 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80250994 0024D8F4 7C 9F 23 78 */ mr r31, r4 -/* 80250998 0024D8F8 7C 7E 1B 78 */ mr r30, r3 -/* 8025099C 0024D8FC 80 03 00 08 */ lwz r0, 8(r3) -/* 802509A0 0024D900 7C 1F 00 00 */ cmpw r31, r0 -/* 802509A4 0024D904 40 81 00 C4 */ ble lbl_80250A68 -/* 802509A8 0024D908 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802509AC 0024D90C 40 82 00 0C */ bne lbl_802509B8 -/* 802509B0 0024D910 3B 80 00 00 */ li r28, 0 -/* 802509B4 0024D914 48 00 00 1C */ b lbl_802509D0 -lbl_802509B8: -/* 802509B8 0024D918 3C 80 80 3D */ lis r4, lbl_803D4A90@ha -/* 802509BC 0024D91C 38 A0 00 00 */ li r5, 0 -/* 802509C0 0024D920 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l -/* 802509C4 0024D924 38 84 00 B7 */ addi r4, r4, 0xb7 -/* 802509C8 0024D928 48 0C 4E 51 */ bl __nwa__FUlPCcPCc -/* 802509CC 0024D92C 7C 7C 1B 78 */ mr r28, r3 -lbl_802509D0: -/* 802509D0 0024D930 80 1E 00 04 */ lwz r0, 4(r30) -/* 802509D4 0024D934 7F 9B E3 78 */ mr r27, r28 -/* 802509D8 0024D938 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802509DC 0024D93C 54 00 18 38 */ slwi r0, r0, 3 -/* 802509E0 0024D940 7F BA 02 14 */ add r29, r26, r0 -/* 802509E4 0024D944 93 41 00 10 */ stw r26, 0x10(r1) -/* 802509E8 0024D948 93 A1 00 08 */ stw r29, 8(r1) -/* 802509EC 0024D94C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802509F0 0024D950 93 41 00 14 */ stw r26, 0x14(r1) -/* 802509F4 0024D954 48 00 00 20 */ b lbl_80250A14 -lbl_802509F8: -/* 802509F8 0024D958 28 1B 00 00 */ cmplwi r27, 0 -/* 802509FC 0024D95C 41 82 00 10 */ beq lbl_80250A0C -/* 80250A00 0024D960 7F 63 DB 78 */ mr r3, r27 -/* 80250A04 0024D964 7F 44 D3 78 */ mr r4, r26 -/* 80250A08 0024D968 48 0F 04 A1 */ bl __ct__6CTokenFRC6CToken -lbl_80250A0C: -/* 80250A0C 0024D96C 3B 7B 00 08 */ addi r27, r27, 8 -/* 80250A10 0024D970 3B 5A 00 08 */ addi r26, r26, 8 -lbl_80250A14: -/* 80250A14 0024D974 7C 1A E8 40 */ cmplw r26, r29 -/* 80250A18 0024D978 40 82 FF E0 */ bne lbl_802509F8 -/* 80250A1C 0024D97C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80250A20 0024D980 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80250A24 0024D984 54 00 18 38 */ slwi r0, r0, 3 -/* 80250A28 0024D988 7F 7A 02 14 */ add r27, r26, r0 -/* 80250A2C 0024D98C 48 00 00 1C */ b lbl_80250A48 -lbl_80250A30: -/* 80250A30 0024D990 28 1A 00 00 */ cmplwi r26, 0 -/* 80250A34 0024D994 41 82 00 10 */ beq lbl_80250A44 -/* 80250A38 0024D998 7F 43 D3 78 */ mr r3, r26 -/* 80250A3C 0024D99C 38 80 00 00 */ li r4, 0 -/* 80250A40 0024D9A0 48 0F 04 01 */ bl __dt__6CTokenFv -lbl_80250A44: -/* 80250A44 0024D9A4 3B 5A 00 08 */ addi r26, r26, 8 -lbl_80250A48: -/* 80250A48 0024D9A8 7C 1A D8 40 */ cmplw r26, r27 -/* 80250A4C 0024D9AC 40 82 FF E4 */ bne lbl_80250A30 -/* 80250A50 0024D9B0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80250A54 0024D9B4 28 03 00 00 */ cmplwi r3, 0 -/* 80250A58 0024D9B8 41 82 00 08 */ beq lbl_80250A60 -/* 80250A5C 0024D9BC 48 0C 4E D5 */ bl Free__7CMemoryFPCv -lbl_80250A60: -/* 80250A60 0024D9C0 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80250A64 0024D9C4 93 FE 00 08 */ stw r31, 8(r30) -lbl_80250A68: -/* 80250A68 0024D9C8 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80250A6C 0024D9CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80250A70 0024D9D0 7C 08 03 A6 */ mtlr r0 -/* 80250A74 0024D9D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80250A78 0024D9D8 4E 80 00 20 */ blr - -.global GetDamageVulnerability__11CAtomicBetaFv -GetDamageVulnerability__11CAtomicBetaFv: -/* 80250A7C 0024D9DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80250A80 0024D9E0 7C 08 02 A6 */ mflr r0 -/* 80250A84 0024D9E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80250A88 0024D9E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80250A8C 0024D9EC 7C DF 33 78 */ mr r31, r6 -/* 80250A90 0024D9F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80250A94 0024D9F4 7C BE 2B 78 */ mr r30, r5 -/* 80250A98 0024D9F8 38 A0 00 00 */ li r5, 0 -/* 80250A9C 0024D9FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80250AA0 0024DA00 7C 9D 23 78 */ mr r29, r4 -/* 80250AA4 0024DA04 93 81 00 10 */ stw r28, 0x10(r1) -/* 80250AA8 0024DA08 7C 7C 1B 78 */ mr r28, r3 -/* 80250AAC 0024DA0C 48 00 08 2D */ bl sub_802512d8 -/* 80250AB0 0024DA10 7F 83 E3 78 */ mr r3, r28 -/* 80250AB4 0024DA14 38 9C 06 50 */ addi r4, r28, 0x650 -/* 80250AB8 0024DA18 48 00 02 19 */ bl sub_80250cd0 -/* 80250ABC 0024DA1C 7F 83 E3 78 */ mr r3, r28 -/* 80250AC0 0024DA20 38 9C 06 54 */ addi r4, r28, 0x654 -/* 80250AC4 0024DA24 48 00 02 0D */ bl sub_80250cd0 -/* 80250AC8 0024DA28 7F 83 E3 78 */ mr r3, r28 -/* 80250ACC 0024DA2C 38 9C 06 4C */ addi r4, r28, 0x64c -/* 80250AD0 0024DA30 48 00 02 01 */ bl sub_80250cd0 -/* 80250AD4 0024DA34 7F 83 E3 78 */ mr r3, r28 -/* 80250AD8 0024DA38 7F A4 EB 78 */ mr r4, r29 -/* 80250ADC 0024DA3C 7F C5 F3 78 */ mr r5, r30 -/* 80250AE0 0024DA40 7F E6 FB 78 */ mr r6, r31 -/* 80250AE4 0024DA44 4B E2 A8 C1 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 80250AE8 0024DA48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250AEC 0024DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250AF0 0024DA50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80250AF4 0024DA54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80250AF8 0024DA58 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80250AFC 0024DA5C 7C 08 03 A6 */ mtlr r0 -/* 80250B00 0024DA60 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250B04 0024DA64 4E 80 00 20 */ blr - -.global GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__11CAtomicBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80250B08 0024DA68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250B0C 0024DA6C 7C 08 02 A6 */ mflr r0 -/* 80250B10 0024DA70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250B14 0024DA74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250B18 0024DA78 7C DF 33 78 */ mr r31, r6 -/* 80250B1C 0024DA7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80250B20 0024DA80 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80250B24 0024DA84 7D 89 03 A6 */ mtctr r12 -/* 80250B28 0024DA88 4E 80 04 21 */ bctrl -/* 80250B2C 0024DA8C 7F E4 FB 78 */ mr r4, r31 -/* 80250B30 0024DA90 38 A0 00 00 */ li r5, 0 -/* 80250B34 0024DA94 4B EB 1A 51 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei -/* 80250B38 0024DA98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250B3C 0024DA9C 38 60 00 5C */ li r3, 0x5c -/* 80250B40 0024DAA0 41 82 00 08 */ beq lbl_80250B48 -/* 80250B44 0024DAA4 38 60 00 2A */ li r3, 0x2a -lbl_80250B48: -/* 80250B48 0024DAA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250B4C 0024DAAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80250B50 0024DAB0 7C 08 03 A6 */ mtlr r0 -/* 80250B54 0024DAB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250B58 0024DAB8 4E 80 00 20 */ blr - -.global Touch__11CAtomicBetaFR6CActorR13CStateManager -Touch__11CAtomicBetaFR6CActorR13CStateManager: -/* 80250B5C 0024DABC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80250B60 0024DAC0 7C 08 02 A6 */ mflr r0 -/* 80250B64 0024DAC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80250B68 0024DAC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80250B6C 0024DACC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80250B70 0024DAD0 7C BE 2B 78 */ mr r30, r5 -/* 80250B74 0024DAD4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80250B78 0024DAD8 7C 9D 23 78 */ mr r29, r4 -/* 80250B7C 0024DADC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80250B80 0024DAE0 7C 7C 1B 78 */ mr r28, r3 -/* 80250B84 0024DAE4 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80250B88 0024DAE8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80250B8C 0024DAEC 41 82 00 90 */ beq lbl_80250C1C -/* 80250B90 0024DAF0 38 61 00 08 */ addi r3, r1, 8 -/* 80250B94 0024DAF4 4B E5 CB E5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 80250B98 0024DAF8 83 E3 00 04 */ lwz r31, 4(r3) -/* 80250B9C 0024DAFC 28 1F 00 00 */ cmplwi r31, 0 -/* 80250BA0 0024DB00 41 82 00 6C */ beq lbl_80250C0C -/* 80250BA4 0024DB04 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80250BA8 0024DB08 A0 9F 00 EC */ lhz r4, 0xec(r31) -/* 80250BAC 0024DB0C A0 03 00 08 */ lhz r0, 8(r3) -/* 80250BB0 0024DB10 7C 04 00 40 */ cmplw r4, r0 -/* 80250BB4 0024DB14 40 82 00 58 */ bne lbl_80250C0C -/* 80250BB8 0024DB18 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 80250BBC 0024DB1C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c -/* 80250BC0 0024DB20 2C 00 00 08 */ cmpwi r0, 8 -/* 80250BC4 0024DB24 40 82 00 48 */ bne lbl_80250C0C -/* 80250BC8 0024DB28 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80250BCC 0024DB2C 4B EE 95 01 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80250BD0 0024DB30 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) -/* 80250BD4 0024DB34 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80250BD8 0024DB38 40 82 00 34 */ bne lbl_80250C0C -/* 80250BDC 0024DB3C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80250BE0 0024DB40 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 80250BE4 0024DB44 FC 20 00 90 */ fmr f1, f0 -/* 80250BE8 0024DB48 7F 83 E3 78 */ mr r3, r28 -/* 80250BEC 0024DB4C 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 80250BF0 0024DB50 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 80250BF4 0024DB54 7F C5 F3 78 */ mr r5, r30 -/* 80250BF8 0024DB58 38 DF 01 2C */ addi r6, r31, 0x12c -/* 80250BFC 0024DB5C 38 E0 00 01 */ li r7, 1 -/* 80250C00 0024DB60 39 00 00 00 */ li r8, 0 -/* 80250C04 0024DB64 7D 89 03 A6 */ mtctr r12 -/* 80250C08 0024DB68 4E 80 04 21 */ bctrl -lbl_80250C0C: -/* 80250C0C 0024DB6C 7F 83 E3 78 */ mr r3, r28 -/* 80250C10 0024DB70 7F A4 EB 78 */ mr r4, r29 -/* 80250C14 0024DB74 7F C5 F3 78 */ mr r5, r30 -/* 80250C18 0024DB78 4B E2 8E 89 */ bl Touch__10CPatternedFR6CActorR13CStateManager -lbl_80250C1C: -/* 80250C1C 0024DB7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250C20 0024DB80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250C24 0024DB84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80250C28 0024DB88 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80250C2C 0024DB8C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80250C30 0024DB90 7C 08 03 A6 */ mtlr r0 -/* 80250C34 0024DB94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250C38 0024DB98 4E 80 00 20 */ blr - -.global GetDamageVulnerability__11CAtomicBetaCFv -GetDamageVulnerability__11CAtomicBetaCFv: -/* 80250C3C 0024DB9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250C40 0024DBA0 7C 08 02 A6 */ mflr r0 -/* 80250C44 0024DBA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250C48 0024DBA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250C4C 0024DBAC 7C 7F 1B 78 */ mr r31, r3 -/* 80250C50 0024DBB0 80 63 04 50 */ lwz r3, 0x450(r3) -/* 80250C54 0024DBB4 4B EE 94 79 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80250C58 0024DBB8 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) -/* 80250C5C 0024DBBC C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) -/* 80250C60 0024DBC0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80250C64 0024DBC4 FC 20 0A 10 */ fabs f1, f1 -/* 80250C68 0024DBC8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80250C6C 0024DBCC 40 80 00 10 */ bge lbl_80250C7C -/* 80250C70 0024DBD0 7F E3 FB 78 */ mr r3, r31 -/* 80250C74 0024DBD4 4B E5 20 FD */ bl GetDamageVulnerability__3CAiCFv -/* 80250C78 0024DBD8 48 00 00 08 */ b lbl_80250C80 -lbl_80250C7C: -/* 80250C7C 0024DBDC 38 7F 05 88 */ addi r3, r31, 0x588 -lbl_80250C80: -/* 80250C80 0024DBE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250C84 0024DBE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80250C88 0024DBE8 7C 08 03 A6 */ mtlr r0 -/* 80250C8C 0024DBEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250C90 0024DBF0 4E 80 00 20 */ blr - -.global sub_80250c94 -sub_80250c94: -/* 80250C94 0024DBF4 80 63 08 4C */ lwz r3, 0x84c(r3) -/* 80250C98 0024DBF8 80 63 04 90 */ lwz r3, 0x490(r3) -/* 80250C9C 0024DBFC 88 03 08 34 */ lbz r0, 0x834(r3) -/* 80250CA0 0024DC00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80250CA4 0024DC04 41 82 00 0C */ beq lbl_80250CB0 -/* 80250CA8 0024DC08 C0 23 03 40 */ lfs f1, 0x340(r3) -/* 80250CAC 0024DC0C 48 00 00 08 */ b lbl_80250CB4 -lbl_80250CB0: -/* 80250CB0 0024DC10 C0 22 B8 D0 */ lfs f1, lbl_805AD5F0@sda21(r2) -lbl_80250CB4: -/* 80250CB4 0024DC14 C0 02 B8 D8 */ lfs f0, lbl_805AD5F8@sda21(r2) -/* 80250CB8 0024DC18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80250CBC 0024DC1C 40 81 00 0C */ ble lbl_80250CC8 -/* 80250CC0 0024DC20 38 60 00 01 */ li r3, 1 -/* 80250CC4 0024DC24 4E 80 00 20 */ blr -lbl_80250CC8: -/* 80250CC8 0024DC28 38 60 00 00 */ li r3, 0 -/* 80250CCC 0024DC2C 4E 80 00 20 */ blr - -.global sub_80250cd0 -sub_80250cd0: -/* 80250CD0 0024DC30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80250CD4 0024DC34 7C 08 02 A6 */ mflr r0 -/* 80250CD8 0024DC38 90 01 00 24 */ stw r0, 0x24(r1) -/* 80250CDC 0024DC3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80250CE0 0024DC40 7C 9F 23 78 */ mr r31, r4 -/* 80250CE4 0024DC44 80 04 00 00 */ lwz r0, 0(r4) -/* 80250CE8 0024DC48 28 00 00 00 */ cmplwi r0, 0 -/* 80250CEC 0024DC4C 41 82 00 1C */ beq lbl_80250D08 -/* 80250CF0 0024DC50 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250CF4 0024DC54 38 61 00 08 */ addi r3, r1, 8 -/* 80250CF8 0024DC58 90 01 00 08 */ stw r0, 8(r1) -/* 80250CFC 0024DC5C 48 09 91 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80250D00 0024DC60 38 00 00 00 */ li r0, 0 -/* 80250D04 0024DC64 90 1F 00 00 */ stw r0, 0(r31) -lbl_80250D08: -/* 80250D08 0024DC68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250D0C 0024DC6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250D10 0024DC70 7C 08 03 A6 */ mtlr r0 -/* 80250D14 0024DC74 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250D18 0024DC78 4E 80 00 20 */ blr - -.global sub_80250d1c -sub_80250d1c: -/* 80250D1C 0024DC7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80250D20 0024DC80 7C 08 02 A6 */ mflr r0 -/* 80250D24 0024DC84 90 01 00 24 */ stw r0, 0x24(r1) -/* 80250D28 0024DC88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80250D2C 0024DC8C 7C 9F 23 78 */ mr r31, r4 -/* 80250D30 0024DC90 80 04 00 00 */ lwz r0, 0(r4) -/* 80250D34 0024DC94 28 00 00 00 */ cmplwi r0, 0 -/* 80250D38 0024DC98 40 82 00 40 */ bne lbl_80250D78 -/* 80250D3C 0024DC9C 80 83 00 04 */ lwz r4, 4(r3) -/* 80250D40 0024DCA0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80250D44 0024DCA4 38 03 66 A0 */ addi r0, r3, skZero3f@l -/* 80250D48 0024DCA8 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 80250D4C 0024DCAC 90 81 00 08 */ stw r4, 8(r1) -/* 80250D50 0024DCB0 7C A4 2B 78 */ mr r4, r5 -/* 80250D54 0024DCB4 7C C5 33 78 */ mr r5, r6 -/* 80250D58 0024DCB8 7C 06 03 78 */ mr r6, r0 -/* 80250D5C 0024DCBC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80250D60 0024DCC0 39 00 00 01 */ li r8, 1 -/* 80250D64 0024DCC4 39 20 00 01 */ li r9, 1 -/* 80250D68 0024DCC8 48 09 94 51 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -/* 80250D6C 0024DCCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250D70 0024DCD0 90 1F 00 00 */ stw r0, 0(r31) -/* 80250D74 0024DCD4 48 00 00 24 */ b lbl_80250D98 -lbl_80250D78: -/* 80250D78 0024DCD8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80250D7C 0024DCDC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80250D80 0024DCE0 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80250D84 0024DCE4 7C C4 33 78 */ mr r4, r6 -/* 80250D88 0024DCE8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80250D8C 0024DCEC 7C E6 3B 78 */ mr r6, r7 -/* 80250D90 0024DCF0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80250D94 0024DCF4 48 09 91 1D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80250D98: -/* 80250D98 0024DCF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250D9C 0024DCFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250DA0 0024DD00 7C 08 03 A6 */ mtlr r0 -/* 80250DA4 0024DD04 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250DA8 0024DD08 4E 80 00 20 */ blr - -.global Think__11CAtomicBetaFfR13CStateManager -Think__11CAtomicBetaFfR13CStateManager: -/* 80250DAC 0024DD0C 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 80250DB0 0024DD10 7C 08 02 A6 */ mflr r0 -/* 80250DB4 0024DD14 90 01 02 04 */ stw r0, 0x204(r1) -/* 80250DB8 0024DD18 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 80250DBC 0024DD1C F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 80250DC0 0024DD20 DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 80250DC4 0024DD24 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 80250DC8 0024DD28 DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 80250DCC 0024DD2C F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 80250DD0 0024DD30 DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 80250DD4 0024DD34 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 80250DD8 0024DD38 BF 41 01 A8 */ stmw r26, 0x1a8(r1) -/* 80250DDC 0024DD3C FF E0 08 90 */ fmr f31, f1 -/* 80250DE0 0024DD40 7C 7E 1B 78 */ mr r30, r3 -/* 80250DE4 0024DD44 7C 9F 23 78 */ mr r31, r4 -/* 80250DE8 0024DD48 4B E2 8D 31 */ bl Think__10CPatternedFfR13CStateManager -/* 80250DEC 0024DD4C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80250DF0 0024DD50 C7 C3 00 04 */ lfsu f30, 4(r3) -/* 80250DF4 0024DD54 C3 A3 00 04 */ lfs f29, 4(r3) -/* 80250DF8 0024DD58 C3 83 00 08 */ lfs f28, 8(r3) -/* 80250DFC 0024DD5C 4B EE 06 AD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv -/* 80250E00 0024DD60 C0 02 B8 D0 */ lfs f0, lbl_805AD5F0@sda21(r2) -/* 80250E04 0024DD64 38 00 00 00 */ li r0, 0 -/* 80250E08 0024DD68 FC 00 F0 00 */ fcmpu cr0, f0, f30 -/* 80250E0C 0024DD6C 40 82 00 14 */ bne lbl_80250E20 -/* 80250E10 0024DD70 FC 00 E8 00 */ fcmpu cr0, f0, f29 -/* 80250E14 0024DD74 40 82 00 0C */ bne lbl_80250E20 -/* 80250E18 0024DD78 FC 00 E0 00 */ fcmpu cr0, f0, f28 -/* 80250E1C 0024DD7C 41 82 00 08 */ beq lbl_80250E24 -lbl_80250E20: -/* 80250E20 0024DD80 38 00 00 01 */ li r0, 1 -lbl_80250E24: -/* 80250E24 0024DD84 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80250E28 0024DD88 41 82 00 40 */ beq lbl_80250E68 -/* 80250E2C 0024DD8C D3 C1 00 9C */ stfs f30, 0x9c(r1) -/* 80250E30 0024DD90 38 81 00 9C */ addi r4, r1, 0x9c -/* 80250E34 0024DD94 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) -/* 80250E38 0024DD98 D3 A1 00 A0 */ stfs f29, 0xa0(r1) -/* 80250E3C 0024DD9C D3 81 00 A4 */ stfs f28, 0xa4(r1) -/* 80250E40 0024DDA0 C0 3E 05 F4 */ lfs f1, 0x5f4(r30) -/* 80250E44 0024DDA4 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80250E48 0024DDA8 C0 3E 05 F8 */ lfs f1, 0x5f8(r30) -/* 80250E4C 0024DDAC D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80250E50 0024DDB0 C0 3E 05 FC */ lfs f1, 0x5fc(r30) -/* 80250E54 0024DDB4 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80250E58 0024DDB8 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80250E5C 0024DDBC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80250E60 0024DDC0 38 63 00 04 */ addi r3, r3, 4 -/* 80250E64 0024DDC4 4B EE 08 B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_80250E68: -/* 80250E68 0024DDC8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80250E6C 0024DDCC C0 3E 06 40 */ lfs f1, 0x640(r30) -/* 80250E70 0024DDD0 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 80250E74 0024DDD4 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80250E78 0024DDD8 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80250E7C 0024DDDC C0 83 00 40 */ lfs f4, 0x40(r3) -/* 80250E80 0024DDE0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80250E84 0024DDE4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80250E88 0024DDE8 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80250E8C 0024DDEC EC A4 00 28 */ fsubs f5, f4, f0 -/* 80250E90 0024DDF0 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80250E94 0024DDF4 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80250E98 0024DDF8 EC 83 00 28 */ fsubs f4, f3, f0 -/* 80250E9C 0024DDFC C0 62 B8 DC */ lfs f3, lbl_805AD5FC@sda21(r2) -/* 80250EA0 0024DE00 C0 0D 97 20 */ lfs f0, lbl_805A82E0@sda21(r13) -/* 80250EA4 0024DE04 EC 45 11 7A */ fmadds f2, f5, f5, f2 -/* 80250EA8 0024DE08 EC 44 11 3A */ fmadds f2, f4, f4, f2 -/* 80250EAC 0024DE0C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80250EB0 0024DE10 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80250EB4 0024DE14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80250EB8 0024DE18 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80250EBC 0024DE1C 40 80 00 0C */ bge lbl_80250EC8 -/* 80250EC0 0024DE20 38 6D 97 20 */ addi r3, r13, lbl_805A82E0@sda21 -/* 80250EC4 0024DE24 48 00 00 08 */ b lbl_80250ECC -lbl_80250EC8: -/* 80250EC8 0024DE28 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80250ECC: -/* 80250ECC 0024DE2C C0 3E 06 3C */ lfs f1, 0x63c(r30) -/* 80250ED0 0024DE30 C0 03 00 00 */ lfs f0, 0(r3) -/* 80250ED4 0024DE34 C0 42 B8 D0 */ lfs f2, lbl_805AD5F0@sda21(r2) -/* 80250ED8 0024DE38 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80250EDC 0024DE3C C0 02 B8 D4 */ lfs f0, lbl_805AD5F4@sda21(r2) -/* 80250EE0 0024DE40 EC 41 10 28 */ fsubs f2, f1, f2 -/* 80250EE4 0024DE44 FC 40 12 10 */ fabs f2, f2 -/* 80250EE8 0024DE48 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80250EEC 0024DE4C 41 80 00 28 */ blt lbl_80250F14 -/* 80250EF0 0024DE50 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80250EF4 0024DE54 38 81 00 14 */ addi r4, r1, 0x14 -/* 80250EF8 0024DE58 C0 42 B8 E0 */ lfs f2, lbl_805AD600@sda21(r2) -/* 80250EFC 0024DE5C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80250F00 0024DE60 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80250F04 0024DE64 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80250F08 0024DE68 80 63 00 00 */ lwz r3, 0(r3) -/* 80250F0C 0024DE6C 38 63 01 88 */ addi r3, r3, 0x188 -/* 80250F10 0024DE70 4B F6 FC 29 */ bl AddSource__19CStaticInterferenceF9TUniqueId -lbl_80250F14: -/* 80250F14 0024DE74 7F C3 F3 78 */ mr r3, r30 -/* 80250F18 0024DE78 FC 20 F8 90 */ fmr f1, f31 -/* 80250F1C 0024DE7C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80250F20 0024DE80 7F E4 FB 78 */ mr r4, r31 -/* 80250F24 0024DE84 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80250F28 0024DE88 7D 89 03 A6 */ mtctr r12 -/* 80250F2C 0024DE8C 4E 80 04 21 */ bctrl -/* 80250F30 0024DE90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250F34 0024DE94 41 82 00 B4 */ beq lbl_80250FE8 -/* 80250F38 0024DE98 7F C3 F3 78 */ mr r3, r30 -/* 80250F3C 0024DE9C 7F E4 FB 78 */ mr r4, r31 -/* 80250F40 0024DEA0 38 A0 00 01 */ li r5, 1 -/* 80250F44 0024DEA4 48 00 03 95 */ bl sub_802512d8 -/* 80250F48 0024DEA8 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80250F4C 0024DEAC 7F C3 F3 78 */ mr r3, r30 -/* 80250F50 0024DEB0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80250F54 0024DEB4 38 9E 06 50 */ addi r4, r30, 0x650 -/* 80250F58 0024DEB8 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80250F5C 0024DEBC 38 C1 00 90 */ addi r6, r1, 0x90 -/* 80250F60 0024DEC0 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 80250F64 0024DEC4 38 E0 00 60 */ li r7, 0x60 -/* 80250F68 0024DEC8 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80250F6C 0024DECC 81 01 00 84 */ lwz r8, 0x84(r1) -/* 80250F70 0024DED0 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80250F74 0024DED4 80 A1 00 88 */ lwz r5, 0x88(r1) -/* 80250F78 0024DED8 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80250F7C 0024DEDC 91 01 00 90 */ stw r8, 0x90(r1) -/* 80250F80 0024DEE0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80250F84 0024DEE4 90 01 00 98 */ stw r0, 0x98(r1) -/* 80250F88 0024DEE8 A0 BE 06 46 */ lhz r5, 0x646(r30) -/* 80250F8C 0024DEEC 4B FF FD 91 */ bl sub_80250d1c -/* 80250F90 0024DEF0 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80250F94 0024DEF4 7F C3 F3 78 */ mr r3, r30 -/* 80250F98 0024DEF8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80250F9C 0024DEFC 38 9E 06 54 */ addi r4, r30, 0x654 -/* 80250FA0 0024DF00 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80250FA4 0024DF04 38 C1 00 78 */ addi r6, r1, 0x78 -/* 80250FA8 0024DF08 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80250FAC 0024DF0C 38 E0 00 60 */ li r7, 0x60 -/* 80250FB0 0024DF10 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80250FB4 0024DF14 81 01 00 6C */ lwz r8, 0x6c(r1) -/* 80250FB8 0024DF18 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80250FBC 0024DF1C 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 80250FC0 0024DF20 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80250FC4 0024DF24 91 01 00 78 */ stw r8, 0x78(r1) -/* 80250FC8 0024DF28 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 80250FCC 0024DF2C 90 01 00 80 */ stw r0, 0x80(r1) -/* 80250FD0 0024DF30 A0 BE 06 48 */ lhz r5, 0x648(r30) -/* 80250FD4 0024DF34 4B FF FD 49 */ bl sub_80250d1c -/* 80250FD8 0024DF38 7F C3 F3 78 */ mr r3, r30 -/* 80250FDC 0024DF3C 38 9E 06 4C */ addi r4, r30, 0x64c -/* 80250FE0 0024DF40 4B FF FC F1 */ bl sub_80250cd0 -/* 80250FE4 0024DF44 48 00 00 74 */ b lbl_80251058 -lbl_80250FE8: -/* 80250FE8 0024DF48 7F C3 F3 78 */ mr r3, r30 -/* 80250FEC 0024DF4C 7F E4 FB 78 */ mr r4, r31 -/* 80250FF0 0024DF50 38 A0 00 00 */ li r5, 0 -/* 80250FF4 0024DF54 48 00 02 E5 */ bl sub_802512d8 -/* 80250FF8 0024DF58 7F C3 F3 78 */ mr r3, r30 -/* 80250FFC 0024DF5C 38 9E 06 50 */ addi r4, r30, 0x650 -/* 80251000 0024DF60 4B FF FC D1 */ bl sub_80250cd0 -/* 80251004 0024DF64 7F C3 F3 78 */ mr r3, r30 -/* 80251008 0024DF68 38 9E 06 54 */ addi r4, r30, 0x654 -/* 8025100C 0024DF6C 4B FF FC C5 */ bl sub_80250cd0 -/* 80251010 0024DF70 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80251014 0024DF74 7F C3 F3 78 */ mr r3, r30 -/* 80251018 0024DF78 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8025101C 0024DF7C 38 9E 06 4C */ addi r4, r30, 0x64c -/* 80251020 0024DF80 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80251024 0024DF84 38 C1 00 60 */ addi r6, r1, 0x60 -/* 80251028 0024DF88 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8025102C 0024DF8C 38 E0 00 60 */ li r7, 0x60 -/* 80251030 0024DF90 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80251034 0024DF94 81 01 00 54 */ lwz r8, 0x54(r1) -/* 80251038 0024DF98 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8025103C 0024DF9C 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 80251040 0024DFA0 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80251044 0024DFA4 91 01 00 60 */ stw r8, 0x60(r1) -/* 80251048 0024DFA8 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8025104C 0024DFAC 90 01 00 68 */ stw r0, 0x68(r1) -/* 80251050 0024DFB0 A0 BE 06 44 */ lhz r5, 0x644(r30) -/* 80251054 0024DFB4 4B FF FC C9 */ bl sub_80250d1c -lbl_80251058: -/* 80251058 0024DFB8 3C 60 80 3F */ lis r3, lbl_803E8E40@ha -/* 8025105C 0024DFBC 3B BE 05 6C */ addi r29, r30, 0x56c -/* 80251060 0024DFC0 3B 83 8E 40 */ addi r28, r3, lbl_803E8E40@l -/* 80251064 0024DFC4 3B 60 00 00 */ li r27, 0 -lbl_80251068: -/* 80251068 0024DFC8 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8025106C 0024DFCC 7F E3 FB 78 */ mr r3, r31 -/* 80251070 0024DFD0 38 81 00 0C */ addi r4, r1, 0xc -/* 80251074 0024DFD4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80251078 0024DFD8 4B DF B4 FD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025107C 0024DFDC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80251080 0024DFE0 41 82 00 E4 */ beq lbl_80251164 -/* 80251084 0024DFE4 88 1A 00 30 */ lbz r0, 0x30(r26) -/* 80251088 0024DFE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025108C 0024DFEC 41 82 00 D8 */ beq lbl_80251164 -/* 80251090 0024DFF0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80251094 0024DFF4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80251098 0024DFF8 38 C1 00 08 */ addi r6, r1, 8 -/* 8025109C 0024DFFC 38 A0 FF FF */ li r5, -1 -/* 802510A0 0024E000 48 0E D0 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 802510A4 0024E004 7F C4 F3 78 */ mr r4, r30 -/* 802510A8 0024E008 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 802510AC 0024E00C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 802510B0 0024E010 4B E0 1E 21 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802510B4 0024E014 38 61 01 18 */ addi r3, r1, 0x118 -/* 802510B8 0024E018 38 9E 00 34 */ addi r4, r30, 0x34 -/* 802510BC 0024E01C 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 802510C0 0024E020 48 0C 18 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802510C4 0024E024 38 61 01 78 */ addi r3, r1, 0x178 -/* 802510C8 0024E028 38 81 01 18 */ addi r4, r1, 0x118 -/* 802510CC 0024E02C 48 0C 1A A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802510D0 0024E030 38 61 00 44 */ addi r3, r1, 0x44 -/* 802510D4 0024E034 48 0E CA 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802510D8 0024E038 C0 61 01 84 */ lfs f3, 0x184(r1) -/* 802510DC 0024E03C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802510E0 0024E040 C0 41 01 94 */ lfs f2, 0x194(r1) -/* 802510E4 0024E044 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802510E8 0024E048 C0 21 01 A4 */ lfs f1, 0x1a4(r1) -/* 802510EC 0024E04C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802510F0 0024E050 C0 81 01 9C */ lfs f4, 0x19c(r1) -/* 802510F4 0024E054 38 81 00 38 */ addi r4, r1, 0x38 -/* 802510F8 0024E058 C0 A1 01 8C */ lfs f5, 0x18c(r1) -/* 802510FC 0024E05C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80251100 0024E060 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 80251104 0024E064 EC 81 20 2A */ fadds f4, f1, f4 -/* 80251108 0024E068 EC A2 28 2A */ fadds f5, f2, f5 -/* 8025110C 0024E06C D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80251110 0024E070 EC 03 00 2A */ fadds f0, f3, f0 -/* 80251114 0024E074 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80251118 0024E078 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8025111C 0024E07C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80251120 0024E080 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80251124 0024E084 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80251128 0024E088 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8025112C 0024E08C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80251130 0024E090 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80251134 0024E094 48 0C 29 DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80251138 0024E098 38 61 01 48 */ addi r3, r1, 0x148 -/* 8025113C 0024E09C 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80251140 0024E0A0 48 0C 1A 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80251144 0024E0A4 7F 43 D3 78 */ mr r3, r26 -/* 80251148 0024E0A8 FC 20 F8 90 */ fmr f1, f31 -/* 8025114C 0024E0AC 81 9A 00 00 */ lwz r12, 0(r26) -/* 80251150 0024E0B0 7F E5 FB 78 */ mr r5, r31 -/* 80251154 0024E0B4 38 81 01 48 */ addi r4, r1, 0x148 -/* 80251158 0024E0B8 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8025115C 0024E0BC 7D 89 03 A6 */ mtctr r12 -/* 80251160 0024E0C0 4E 80 04 21 */ bctrl -lbl_80251164: -/* 80251164 0024E0C4 3B 7B 00 01 */ addi r27, r27, 1 -/* 80251168 0024E0C8 3B 9C 00 04 */ addi r28, r28, 4 -/* 8025116C 0024E0CC 2C 1B 00 03 */ cmpwi r27, 3 -/* 80251170 0024E0D0 3B BD 00 02 */ addi r29, r29, 2 -/* 80251174 0024E0D4 41 80 FE F4 */ blt lbl_80251068 -/* 80251178 0024E0D8 7F E3 FB 78 */ mr r3, r31 -/* 8025117C 0024E0DC 4B FF FB 19 */ bl sub_80250c94 -/* 80251180 0024E0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80251184 0024E0E4 41 82 00 0C */ beq lbl_80251190 -/* 80251188 0024E0E8 C0 02 B8 DC */ lfs f0, lbl_805AD5FC@sda21(r2) -/* 8025118C 0024E0EC 48 00 00 08 */ b lbl_80251194 -lbl_80251190: -/* 80251190 0024E0F0 C0 02 B8 E4 */ lfs f0, lbl_805AD604@sda21(r2) -lbl_80251194: -/* 80251194 0024E0F4 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80251198 0024E0F8 C0 5E 05 80 */ lfs f2, 0x580(r30) -/* 8025119C 0024E0FC C0 1E 05 84 */ lfs f0, 0x584(r30) -/* 802511A0 0024E100 38 7E 05 78 */ addi r3, r30, 0x578 -/* 802511A4 0024E104 38 81 00 18 */ addi r4, r1, 0x18 -/* 802511A8 0024E108 38 BE 05 7C */ addi r5, r30, 0x57c -/* 802511AC 0024E10C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802511B0 0024E110 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802511B4 0024E114 4B DB B1 01 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802511B8 0024E118 C0 03 00 00 */ lfs f0, 0(r3) -/* 802511BC 0024E11C D0 1E 05 84 */ stfs f0, 0x584(r30) -/* 802511C0 0024E120 C0 1E 05 84 */ lfs f0, 0x584(r30) -/* 802511C4 0024E124 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) -/* 802511C8 0024E128 C0 3E 05 F0 */ lfs f1, 0x5f0(r30) -/* 802511CC 0024E12C C0 1E 05 84 */ lfs f0, 0x584(r30) -/* 802511D0 0024E130 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802511D4 0024E134 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802511D8 0024E138 D0 03 03 30 */ stfs f0, 0x330(r3) -/* 802511DC 0024E13C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 802511E0 0024E140 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 802511E4 0024E144 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 802511E8 0024E148 CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 802511EC 0024E14C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 802511F0 0024E150 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 802511F4 0024E154 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 802511F8 0024E158 CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 802511FC 0024E15C BB 41 01 A8 */ lmw r26, 0x1a8(r1) -/* 80251200 0024E160 80 01 02 04 */ lwz r0, 0x204(r1) -/* 80251204 0024E164 7C 08 03 A6 */ mtlr r0 -/* 80251208 0024E168 38 21 02 00 */ addi r1, r1, 0x200 -/* 8025120C 0024E16C 4E 80 00 20 */ blr - -.global sub_80251210 -sub_80251210: -/* 80251210 0024E170 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80251214 0024E174 7C 08 02 A6 */ mflr r0 -/* 80251218 0024E178 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025121C 0024E17C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80251220 0024E180 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80251224 0024E184 3B C0 00 00 */ li r30, 0 -/* 80251228 0024E188 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025122C 0024E18C 7C 9D 23 78 */ mr r29, r4 -/* 80251230 0024E190 93 81 00 10 */ stw r28, 0x10(r1) -/* 80251234 0024E194 7C 7C 1B 78 */ mr r28, r3 -/* 80251238 0024E198 3B FC 05 6C */ addi r31, r28, 0x56c -/* 8025123C 0024E19C 48 00 00 20 */ b lbl_8025125C -lbl_80251240: -/* 80251240 0024E1A0 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80251244 0024E1A4 7F A3 EB 78 */ mr r3, r29 -/* 80251248 0024E1A8 38 81 00 08 */ addi r4, r1, 8 -/* 8025124C 0024E1AC B0 01 00 08 */ sth r0, 8(r1) -/* 80251250 0024E1B0 4B DF B0 1D */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80251254 0024E1B4 3B FF 00 02 */ addi r31, r31, 2 -/* 80251258 0024E1B8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8025125C: -/* 8025125C 0024E1BC 80 BC 05 68 */ lwz r5, 0x568(r28) -/* 80251260 0024E1C0 7C 1E 28 00 */ cmpw r30, r5 -/* 80251264 0024E1C4 41 80 FF DC */ blt lbl_80251240 -/* 80251268 0024E1C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8025126C 0024E1CC 38 60 00 00 */ li r3, 0 -/* 80251270 0024E1D0 40 81 00 40 */ ble lbl_802512B0 -/* 80251274 0024E1D4 2C 05 00 08 */ cmpwi r5, 8 -/* 80251278 0024E1D8 38 85 FF F8 */ addi r4, r5, -8 -/* 8025127C 0024E1DC 40 81 00 20 */ ble lbl_8025129C -/* 80251280 0024E1E0 38 04 00 07 */ addi r0, r4, 7 -/* 80251284 0024E1E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80251288 0024E1E8 7C 09 03 A6 */ mtctr r0 -/* 8025128C 0024E1EC 2C 04 00 00 */ cmpwi r4, 0 -/* 80251290 0024E1F0 40 81 00 0C */ ble lbl_8025129C -lbl_80251294: -/* 80251294 0024E1F4 38 63 00 08 */ addi r3, r3, 8 -/* 80251298 0024E1F8 42 00 FF FC */ bdnz lbl_80251294 -lbl_8025129C: -/* 8025129C 0024E1FC 7C 03 28 50 */ subf r0, r3, r5 -/* 802512A0 0024E200 7C 09 03 A6 */ mtctr r0 -/* 802512A4 0024E204 7C 03 28 00 */ cmpw r3, r5 -/* 802512A8 0024E208 40 80 00 08 */ bge lbl_802512B0 -lbl_802512AC: -/* 802512AC 0024E20C 42 00 00 00 */ bdnz lbl_802512AC -lbl_802512B0: -/* 802512B0 0024E210 38 00 00 00 */ li r0, 0 -/* 802512B4 0024E214 90 1C 05 68 */ stw r0, 0x568(r28) -/* 802512B8 0024E218 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802512BC 0024E21C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802512C0 0024E220 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802512C4 0024E224 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802512C8 0024E228 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802512CC 0024E22C 7C 08 03 A6 */ mtlr r0 -/* 802512D0 0024E230 38 21 00 20 */ addi r1, r1, 0x20 -/* 802512D4 0024E234 4E 80 00 20 */ blr - -.global sub_802512d8 -sub_802512d8: -/* 802512D8 0024E238 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 802512DC 0024E23C 7C 08 02 A6 */ mflr r0 -/* 802512E0 0024E240 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 802512E4 0024E244 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 802512E8 0024E248 BF 01 01 B0 */ stmw r24, 0x1b0(r1) -/* 802512EC 0024E24C 7C 78 1B 78 */ mr r24, r3 -/* 802512F0 0024E250 7C BA 2B 78 */ mr r26, r5 -/* 802512F4 0024E254 7C 99 23 78 */ mr r25, r4 -/* 802512F8 0024E258 88 63 05 74 */ lbz r3, 0x574(r3) -/* 802512FC 0024E25C 7C 03 00 40 */ cmplw r3, r0 -/* 80251300 0024E260 41 82 01 80 */ beq lbl_80251480 -/* 80251304 0024E264 3C 80 80 3F */ lis r4, lbl_803E8E40@ha -/* 80251308 0024E268 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8025130C 0024E26C 3B C4 8E 40 */ addi r30, r4, lbl_803E8E40@l -/* 80251310 0024E270 3B B8 05 6C */ addi r29, r24, 0x56c -/* 80251314 0024E274 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l -/* 80251318 0024E278 3B 80 00 00 */ li r28, 0 -lbl_8025131C: -/* 8025131C 0024E27C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80251320 0024E280 38 61 00 48 */ addi r3, r1, 0x48 -/* 80251324 0024E284 38 C1 00 0C */ addi r6, r1, 0xc -/* 80251328 0024E288 38 A0 FF FF */ li r5, -1 -/* 8025132C 0024E28C 48 0E CE 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80251330 0024E290 7F 04 C3 78 */ mr r4, r24 -/* 80251334 0024E294 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80251338 0024E298 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8025133C 0024E29C 4B E0 1B 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80251340 0024E2A0 38 61 01 18 */ addi r3, r1, 0x118 -/* 80251344 0024E2A4 38 98 00 34 */ addi r4, r24, 0x34 -/* 80251348 0024E2A8 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 8025134C 0024E2AC 48 0C 16 05 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80251350 0024E2B0 38 61 01 78 */ addi r3, r1, 0x178 -/* 80251354 0024E2B4 38 81 01 18 */ addi r4, r1, 0x118 -/* 80251358 0024E2B8 48 0C 18 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025135C 0024E2BC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80251360 0024E2C0 48 0E C7 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80251364 0024E2C4 C0 61 01 84 */ lfs f3, 0x184(r1) -/* 80251368 0024E2C8 7F E6 FB 78 */ mr r6, r31 -/* 8025136C 0024E2CC C0 41 01 94 */ lfs f2, 0x194(r1) -/* 80251370 0024E2D0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80251374 0024E2D4 C0 21 01 A4 */ lfs f1, 0x1a4(r1) -/* 80251378 0024E2D8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8025137C 0024E2DC C0 81 01 9C */ lfs f4, 0x19c(r1) -/* 80251380 0024E2E0 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80251384 0024E2E4 C0 A1 01 8C */ lfs f5, 0x18c(r1) -/* 80251388 0024E2E8 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 8025138C 0024E2EC EC 81 20 2A */ fadds f4, f1, f4 -/* 80251390 0024E2F0 EC A2 28 2A */ fadds f5, f2, f5 -/* 80251394 0024E2F4 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80251398 0024E2F8 EC 03 00 2A */ fadds f0, f3, f0 -/* 8025139C 0024E2FC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802513A0 0024E300 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802513A4 0024E304 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802513A8 0024E308 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802513AC 0024E30C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802513B0 0024E310 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 802513B4 0024E314 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802513B8 0024E318 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802513BC 0024E31C 48 0C 27 55 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802513C0 0024E320 38 61 01 48 */ addi r3, r1, 0x148 -/* 802513C4 0024E324 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 802513C8 0024E328 48 0C 17 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802513CC 0024E32C A0 1D 00 00 */ lhz r0, 0(r29) -/* 802513D0 0024E330 7F 23 CB 78 */ mr r3, r25 -/* 802513D4 0024E334 38 81 00 10 */ addi r4, r1, 0x10 -/* 802513D8 0024E338 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802513DC 0024E33C 4B DF B1 99 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802513E0 0024E340 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802513E4 0024E344 41 82 00 84 */ beq lbl_80251468 -/* 802513E8 0024E348 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 802513EC 0024E34C 41 82 00 64 */ beq lbl_80251450 -/* 802513F0 0024E350 80 9E 00 00 */ lwz r4, 0(r30) -/* 802513F4 0024E354 38 61 00 14 */ addi r3, r1, 0x14 -/* 802513F8 0024E358 38 C1 00 08 */ addi r6, r1, 8 -/* 802513FC 0024E35C 38 A0 FF FF */ li r5, -1 -/* 80251400 0024E360 48 0E CD 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80251404 0024E364 7F 04 C3 78 */ mr r4, r24 -/* 80251408 0024E368 38 61 00 58 */ addi r3, r1, 0x58 -/* 8025140C 0024E36C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80251410 0024E370 4B E0 1A C1 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80251414 0024E374 38 61 00 88 */ addi r3, r1, 0x88 -/* 80251418 0024E378 38 98 00 34 */ addi r4, r24, 0x34 -/* 8025141C 0024E37C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80251420 0024E380 48 0C 15 31 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80251424 0024E384 7F 63 DB 78 */ mr r3, r27 -/* 80251428 0024E388 7F 25 CB 78 */ mr r5, r25 -/* 8025142C 0024E38C 81 9B 00 00 */ lwz r12, 0(r27) -/* 80251430 0024E390 38 81 00 88 */ addi r4, r1, 0x88 -/* 80251434 0024E394 38 C0 00 00 */ li r6, 0 -/* 80251438 0024E398 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 8025143C 0024E39C 7D 89 03 A6 */ mtctr r12 -/* 80251440 0024E3A0 4E 80 04 21 */ bctrl -/* 80251444 0024E3A4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80251448 0024E3A8 48 0E C6 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025144C 0024E3AC 48 00 00 1C */ b lbl_80251468 -lbl_80251450: -/* 80251450 0024E3B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80251454 0024E3B4 7F 24 CB 78 */ mr r4, r25 -/* 80251458 0024E3B8 38 A0 00 00 */ li r5, 0 -/* 8025145C 0024E3BC 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80251460 0024E3C0 7D 89 03 A6 */ mtctr r12 -/* 80251464 0024E3C4 4E 80 04 21 */ bctrl -lbl_80251468: -/* 80251468 0024E3C8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025146C 0024E3CC 3B BD 00 02 */ addi r29, r29, 2 -/* 80251470 0024E3D0 2C 1C 00 03 */ cmpwi r28, 3 -/* 80251474 0024E3D4 3B DE 00 04 */ addi r30, r30, 4 -/* 80251478 0024E3D8 41 80 FE A4 */ blt lbl_8025131C -/* 8025147C 0024E3DC 9B 58 05 74 */ stb r26, 0x574(r24) -lbl_80251480: -/* 80251480 0024E3E0 BB 01 01 B0 */ lmw r24, 0x1b0(r1) -/* 80251484 0024E3E4 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 80251488 0024E3E8 7C 08 03 A6 */ mtlr r0 -/* 8025148C 0024E3EC 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 80251490 0024E3F0 4E 80 00 20 */ blr - -.global sub_80251494 -sub_80251494: -/* 80251494 0024E3F4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80251498 0024E3F8 7C 08 02 A6 */ mflr r0 -/* 8025149C 0024E3FC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802514A0 0024E400 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 802514A4 0024E404 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 802514A8 0024E408 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 802514AC 0024E40C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 802514B0 0024E410 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 802514B4 0024E414 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 802514B8 0024E418 BF 21 00 64 */ stmw r25, 0x64(r1) -/* 802514BC 0024E41C 7C 7C 1B 78 */ mr r28, r3 -/* 802514C0 0024E420 7C 9D 23 78 */ mr r29, r4 -/* 802514C4 0024E424 C3 A3 06 38 */ lfs f29, 0x638(r3) -/* 802514C8 0024E428 38 61 00 34 */ addi r3, r1, 0x34 -/* 802514CC 0024E42C C3 DC 06 30 */ lfs f30, 0x630(r28) -/* 802514D0 0024E430 38 9C 06 00 */ addi r4, r28, 0x600 -/* 802514D4 0024E434 83 5C 06 2C */ lwz r26, 0x62c(r28) -/* 802514D8 0024E438 C3 FC 06 34 */ lfs f31, 0x634(r28) -/* 802514DC 0024E43C 48 0E F9 CD */ bl __ct__6CTokenFRC6CToken -/* 802514E0 0024E440 C0 22 B8 E8 */ lfs f1, lbl_805AD608@sda21(r2) -/* 802514E4 0024E444 3C 60 80 3D */ lis r3, lbl_803D4B50@ha -/* 802514E8 0024E448 C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) -/* 802514EC 0024E44C 3B FC 05 6C */ addi r31, r28, 0x56c -/* 802514F0 0024E450 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802514F4 0024E454 3B 23 4B 50 */ addi r25, r3, lbl_803D4B50@l -/* 802514F8 0024E458 3B C0 00 00 */ li r30, 0 -/* 802514FC 0024E45C D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 80251500 0024E460 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80251504 0024E464 93 41 00 48 */ stw r26, 0x48(r1) -/* 80251508 0024E468 D3 C1 00 4C */ stfs f30, 0x4c(r1) -/* 8025150C 0024E46C D3 A1 00 50 */ stfs f29, 0x50(r1) -lbl_80251510: -/* 80251510 0024E470 7F A4 EB 78 */ mr r4, r29 -/* 80251514 0024E474 38 61 00 24 */ addi r3, r1, 0x24 -/* 80251518 0024E478 4B DF BB C5 */ bl AllocateUniqueId__13CStateManagerFv -/* 8025151C 0024E47C 80 1C 05 68 */ lwz r0, 0x568(r28) -/* 80251520 0024E480 A0 61 00 24 */ lhz r3, 0x24(r1) -/* 80251524 0024E484 54 00 08 3C */ slwi r0, r0, 1 -/* 80251528 0024E488 7C 9F 02 15 */ add. r4, r31, r0 -/* 8025152C 0024E48C B0 61 00 28 */ sth r3, 0x28(r1) -/* 80251530 0024E490 41 82 00 08 */ beq lbl_80251538 -/* 80251534 0024E494 B0 64 00 00 */ sth r3, 0(r4) -lbl_80251538: -/* 80251538 0024E498 80 DC 05 68 */ lwz r6, 0x568(r28) -/* 8025153C 0024E49C 38 99 00 21 */ addi r4, r25, 0x21 -/* 80251540 0024E4A0 38 60 04 90 */ li r3, 0x490 -/* 80251544 0024E4A4 38 A0 00 00 */ li r5, 0 -/* 80251548 0024E4A8 38 06 00 01 */ addi r0, r6, 1 -/* 8025154C 0024E4AC 90 1C 05 68 */ stw r0, 0x568(r28) -/* 80251550 0024E4B0 48 0C 43 1D */ bl __nw__FUlPCcPCc -/* 80251554 0024E4B4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80251558 0024E4B8 41 82 00 64 */ beq lbl_802515BC -/* 8025155C 0024E4BC A0 BC 00 08 */ lhz r5, 8(r28) -/* 80251560 0024E4C0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80251564 0024E4C4 38 E4 66 70 */ addi r7, r4, skIdentity4f@l -/* 80251568 0024E4C8 A3 61 00 28 */ lhz r27, 0x28(r1) -/* 8025156C 0024E4CC B0 A1 00 20 */ sth r5, 0x20(r1) -/* 80251570 0024E4D0 39 81 00 30 */ addi r12, r1, 0x30 -/* 80251574 0024E4D4 39 61 00 20 */ addi r11, r1, 0x20 -/* 80251578 0024E4D8 38 00 00 00 */ li r0, 0 -/* 8025157C 0024E4DC 83 5C 00 04 */ lwz r26, 4(r28) -/* 80251580 0024E4E0 38 9C 06 08 */ addi r4, r28, 0x608 -/* 80251584 0024E4E4 B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 80251588 0024E4E8 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8025158C 0024E4EC 39 3C 06 10 */ addi r9, r28, 0x610 -/* 80251590 0024E4F0 39 41 00 18 */ addi r10, r1, 0x18 -/* 80251594 0024E4F4 93 41 00 30 */ stw r26, 0x30(r1) -/* 80251598 0024E4F8 38 A0 00 09 */ li r5, 9 -/* 8025159C 0024E4FC 39 00 00 21 */ li r8, 0x21 -/* 802515A0 0024E500 B3 61 00 18 */ sth r27, 0x18(r1) -/* 802515A4 0024E504 91 81 00 08 */ stw r12, 8(r1) -/* 802515A8 0024E508 91 61 00 0C */ stw r11, 0xc(r1) -/* 802515AC 0024E50C 93 41 00 2C */ stw r26, 0x2c(r1) -/* 802515B0 0024E510 90 01 00 10 */ stw r0, 0x10(r1) -/* 802515B4 0024E514 48 00 0D 89 */ bl __ct__23CElectricBeamProjectile -/* 802515B8 0024E518 7C 64 1B 78 */ mr r4, r3 -lbl_802515BC: -/* 802515BC 0024E51C 7F A3 EB 78 */ mr r3, r29 -/* 802515C0 0024E520 4B DF B7 35 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 802515C4 0024E524 3B DE 00 01 */ addi r30, r30, 1 -/* 802515C8 0024E528 2C 1E 00 03 */ cmpwi r30, 3 -/* 802515CC 0024E52C 41 80 FF 44 */ blt lbl_80251510 -/* 802515D0 0024E530 38 61 00 34 */ addi r3, r1, 0x34 -/* 802515D4 0024E534 38 80 00 00 */ li r4, 0 -/* 802515D8 0024E538 48 0E F8 69 */ bl __dt__6CTokenFv -/* 802515DC 0024E53C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802515E0 0024E540 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802515E4 0024E544 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 802515E8 0024E548 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 802515EC 0024E54C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 802515F0 0024E550 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 802515F4 0024E554 BB 21 00 64 */ lmw r25, 0x64(r1) -/* 802515F8 0024E558 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802515FC 0024E55C 7C 08 03 A6 */ mtlr r0 -/* 80251600 0024E560 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80251604 0024E564 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CAtomicBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80251608 0024E568 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025160C 0024E56C 7C 08 02 A6 */ mflr r0 -/* 80251610 0024E570 90 01 00 24 */ stw r0, 0x24(r1) -/* 80251614 0024E574 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80251618 0024E578 7C DF 33 78 */ mr r31, r6 -/* 8025161C 0024E57C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80251620 0024E580 7C BE 2B 78 */ mr r30, r5 -/* 80251624 0024E584 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80251628 0024E588 7C 9D 23 78 */ mr r29, r4 -/* 8025162C 0024E58C 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 80251630 0024E590 93 81 00 10 */ stw r28, 0x10(r1) -/* 80251634 0024E594 7C 7C 1B 78 */ mr r28, r3 -/* 80251638 0024E598 41 82 00 20 */ beq lbl_80251658 -/* 8025163C 0024E59C 40 80 00 10 */ bge lbl_8025164C -/* 80251640 0024E5A0 2C 1D 00 04 */ cmpwi r29, 4 -/* 80251644 0024E5A4 41 82 00 30 */ beq lbl_80251674 -/* 80251648 0024E5A8 48 00 00 68 */ b lbl_802516B0 -lbl_8025164C: -/* 8025164C 0024E5AC 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 80251650 0024E5B0 40 80 00 60 */ bge lbl_802516B0 -/* 80251654 0024E5B4 48 00 00 54 */ b lbl_802516A8 -lbl_80251658: -/* 80251658 0024E5B8 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8025165C 0024E5BC 7F E4 FB 78 */ mr r4, r31 -/* 80251660 0024E5C0 4B EE 96 91 */ bl Activate__15CBodyControllerFR13CStateManager -/* 80251664 0024E5C4 7F 83 E3 78 */ mr r3, r28 -/* 80251668 0024E5C8 7F E4 FB 78 */ mr r4, r31 -/* 8025166C 0024E5CC 4B FF FE 29 */ bl sub_80251494 -/* 80251670 0024E5D0 48 00 00 40 */ b lbl_802516B0 -lbl_80251674: -/* 80251674 0024E5D4 7F E4 FB 78 */ mr r4, r31 -/* 80251678 0024E5D8 38 A0 00 00 */ li r5, 0 -/* 8025167C 0024E5DC 4B FF FC 5D */ bl sub_802512d8 -/* 80251680 0024E5E0 7F 83 E3 78 */ mr r3, r28 -/* 80251684 0024E5E4 38 9C 06 50 */ addi r4, r28, 0x650 -/* 80251688 0024E5E8 4B FF F6 49 */ bl sub_80250cd0 -/* 8025168C 0024E5EC 7F 83 E3 78 */ mr r3, r28 -/* 80251690 0024E5F0 38 9C 06 54 */ addi r4, r28, 0x654 -/* 80251694 0024E5F4 4B FF F6 3D */ bl sub_80250cd0 -/* 80251698 0024E5F8 7F 83 E3 78 */ mr r3, r28 -/* 8025169C 0024E5FC 38 9C 06 4C */ addi r4, r28, 0x64c -/* 802516A0 0024E600 4B FF F6 31 */ bl sub_80250cd0 -/* 802516A4 0024E604 48 00 00 0C */ b lbl_802516B0 -lbl_802516A8: -/* 802516A8 0024E608 7F E4 FB 78 */ mr r4, r31 -/* 802516AC 0024E60C 4B FF FB 65 */ bl sub_80251210 -lbl_802516B0: -/* 802516B0 0024E610 A0 1E 00 00 */ lhz r0, 0(r30) -/* 802516B4 0024E614 7F 83 E3 78 */ mr r3, r28 -/* 802516B8 0024E618 7F A4 EB 78 */ mr r4, r29 -/* 802516BC 0024E61C 7F E6 FB 78 */ mr r6, r31 -/* 802516C0 0024E620 B0 01 00 08 */ sth r0, 8(r1) -/* 802516C4 0024E624 38 A1 00 08 */ addi r5, r1, 8 -/* 802516C8 0024E628 4B E2 B4 B1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 802516CC 0024E62C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802516D0 0024E630 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802516D4 0024E634 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802516D8 0024E638 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802516DC 0024E63C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802516E0 0024E640 7C 08 03 A6 */ mtlr r0 -/* 802516E4 0024E644 38 21 00 20 */ addi r1, r1, 0x20 -/* 802516E8 0024E648 4E 80 00 20 */ blr - -.global Accept__11CAtomicBetaFR8IVisitor -Accept__11CAtomicBetaFR8IVisitor: -/* 802516EC 0024E64C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802516F0 0024E650 7C 08 02 A6 */ mflr r0 -/* 802516F4 0024E654 90 01 00 14 */ stw r0, 0x14(r1) -/* 802516F8 0024E658 7C 60 1B 78 */ mr r0, r3 -/* 802516FC 0024E65C 7C 83 23 78 */ mr r3, r4 -/* 80251700 0024E660 81 84 00 00 */ lwz r12, 0(r4) -/* 80251704 0024E664 7C 04 03 78 */ mr r4, r0 -/* 80251708 0024E668 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8025170C 0024E66C 7D 89 03 A6 */ mtctr r12 -/* 80251710 0024E670 4E 80 04 21 */ bctrl -/* 80251714 0024E674 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251718 0024E678 7C 08 03 A6 */ mtlr r0 -/* 8025171C 0024E67C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251720 0024E680 4E 80 00 20 */ blr - -.global __dt__11CAtomicBetaFv -__dt__11CAtomicBetaFv: -/* 80251724 0024E684 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251728 0024E688 7C 08 02 A6 */ mflr r0 -/* 8025172C 0024E68C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251730 0024E690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251734 0024E694 7C 9F 23 78 */ mr r31, r4 -/* 80251738 0024E698 93 C1 00 08 */ stw r30, 8(r1) -/* 8025173C 0024E69C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80251740 0024E6A0 41 82 00 D0 */ beq lbl_80251810 -/* 80251744 0024E6A4 3C A0 80 3F */ lis r5, lbl_803E8E4C@ha -/* 80251748 0024E6A8 38 9E 06 50 */ addi r4, r30, 0x650 -/* 8025174C 0024E6AC 38 05 8E 4C */ addi r0, r5, lbl_803E8E4C@l -/* 80251750 0024E6B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80251754 0024E6B4 4B FF F5 7D */ bl sub_80250cd0 -/* 80251758 0024E6B8 7F C3 F3 78 */ mr r3, r30 -/* 8025175C 0024E6BC 38 9E 06 54 */ addi r4, r30, 0x654 -/* 80251760 0024E6C0 4B FF F5 71 */ bl sub_80250cd0 -/* 80251764 0024E6C4 7F C3 F3 78 */ mr r3, r30 -/* 80251768 0024E6C8 38 9E 06 4C */ addi r4, r30, 0x64c -/* 8025176C 0024E6CC 4B FF F5 65 */ bl sub_80250cd0 -/* 80251770 0024E6D0 34 1E 06 08 */ addic. r0, r30, 0x608 -/* 80251774 0024E6D4 41 82 00 10 */ beq lbl_80251784 -/* 80251778 0024E6D8 38 7E 06 08 */ addi r3, r30, 0x608 -/* 8025177C 0024E6DC 38 80 00 00 */ li r4, 0 -/* 80251780 0024E6E0 48 0E F6 C1 */ bl __dt__6CTokenFv -lbl_80251784: -/* 80251784 0024E6E4 34 1E 06 00 */ addic. r0, r30, 0x600 -/* 80251788 0024E6E8 41 82 00 10 */ beq lbl_80251798 -/* 8025178C 0024E6EC 38 7E 06 00 */ addi r3, r30, 0x600 -/* 80251790 0024E6F0 38 80 00 00 */ li r4, 0 -/* 80251794 0024E6F4 48 0E F6 AD */ bl __dt__6CTokenFv -lbl_80251798: -/* 80251798 0024E6F8 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 8025179C 0024E6FC 41 82 00 58 */ beq lbl_802517F4 -/* 802517A0 0024E700 80 BE 05 68 */ lwz r5, 0x568(r30) -/* 802517A4 0024E704 38 60 00 00 */ li r3, 0 -/* 802517A8 0024E708 2C 05 00 00 */ cmpwi r5, 0 -/* 802517AC 0024E70C 40 81 00 40 */ ble lbl_802517EC -/* 802517B0 0024E710 2C 05 00 08 */ cmpwi r5, 8 -/* 802517B4 0024E714 38 85 FF F8 */ addi r4, r5, -8 -/* 802517B8 0024E718 40 81 00 20 */ ble lbl_802517D8 -/* 802517BC 0024E71C 38 04 00 07 */ addi r0, r4, 7 -/* 802517C0 0024E720 54 00 E8 FE */ srwi r0, r0, 3 -/* 802517C4 0024E724 7C 09 03 A6 */ mtctr r0 -/* 802517C8 0024E728 2C 04 00 00 */ cmpwi r4, 0 -/* 802517CC 0024E72C 40 81 00 0C */ ble lbl_802517D8 -lbl_802517D0: -/* 802517D0 0024E730 38 63 00 08 */ addi r3, r3, 8 -/* 802517D4 0024E734 42 00 FF FC */ bdnz lbl_802517D0 -lbl_802517D8: -/* 802517D8 0024E738 7C 03 28 50 */ subf r0, r3, r5 -/* 802517DC 0024E73C 7C 09 03 A6 */ mtctr r0 -/* 802517E0 0024E740 7C 03 28 00 */ cmpw r3, r5 -/* 802517E4 0024E744 40 80 00 08 */ bge lbl_802517EC -lbl_802517E8: -/* 802517E8 0024E748 42 00 00 00 */ bdnz lbl_802517E8 -lbl_802517EC: -/* 802517EC 0024E74C 38 00 00 00 */ li r0, 0 -/* 802517F0 0024E750 90 1E 05 68 */ stw r0, 0x568(r30) -lbl_802517F4: -/* 802517F4 0024E754 7F C3 F3 78 */ mr r3, r30 -/* 802517F8 0024E758 38 80 00 00 */ li r4, 0 -/* 802517FC 0024E75C 4B E2 5D 75 */ bl __dt__10CPatternedFv -/* 80251800 0024E760 7F E0 07 35 */ extsh. r0, r31 -/* 80251804 0024E764 40 81 00 0C */ ble lbl_80251810 -/* 80251808 0024E768 7F C3 F3 78 */ mr r3, r30 -/* 8025180C 0024E76C 48 0C 41 25 */ bl Free__7CMemoryFPCv -lbl_80251810: -/* 80251810 0024E770 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251814 0024E774 7F C3 F3 78 */ mr r3, r30 -/* 80251818 0024E778 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025181C 0024E77C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80251820 0024E780 7C 08 03 A6 */ mtlr r0 -/* 80251824 0024E784 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251828 0024E788 4E 80 00 20 */ blr - -.global __ct__11CAtomicBeta -__ct__11CAtomicBeta: -/* 8025182C 0024E78C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80251830 0024E790 7C 08 02 A6 */ mflr r0 -/* 80251834 0024E794 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80251838 0024E798 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8025183C 0024E79C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80251840 0024E7A0 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80251844 0024E7A4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80251848 0024E7A8 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8025184C 0024E7AC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80251850 0024E7B0 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 80251854 0024E7B4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 80251858 0024E7B8 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8025185C 0024E7BC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 80251860 0024E7C0 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 80251864 0024E7C4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 80251868 0024E7C8 DB 21 00 70 */ stfd f25, 0x70(r1) -/* 8025186C 0024E7CC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 80251870 0024E7D0 BE C1 00 48 */ stmw r22, 0x48(r1) -/* 80251874 0024E7D4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80251878 0024E7D8 7C CB 33 78 */ mr r11, r6 -/* 8025187C 0024E7DC 7C F7 3B 78 */ mr r23, r7 -/* 80251880 0024E7E0 7D 07 43 78 */ mr r7, r8 -/* 80251884 0024E7E4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80251888 0024E7E8 38 C0 00 01 */ li r6, 1 -/* 8025188C 0024E7EC 38 80 00 05 */ li r4, 5 -/* 80251890 0024E7F0 FF 20 08 90 */ fmr f25, f1 -/* 80251894 0024E7F4 91 41 00 08 */ stw r10, 8(r1) -/* 80251898 0024E7F8 7C EA 3B 78 */ mr r10, r7 -/* 8025189C 0024E7FC FF 40 10 90 */ fmr f26, f2 -/* 802518A0 0024E800 38 00 00 00 */ li r0, 0 -/* 802518A4 0024E804 90 C1 00 0C */ stw r6, 0xc(r1) -/* 802518A8 0024E808 FF 60 18 90 */ fmr f27, f3 -/* 802518AC 0024E80C 83 01 00 E8 */ lwz r24, 0xe8(r1) -/* 802518B0 0024E810 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802518B4 0024E814 7C A6 2B 78 */ mr r6, r5 -/* 802518B8 0024E818 FF 80 20 90 */ fmr f28, f4 -/* 802518BC 0024E81C 90 81 00 14 */ stw r4, 0x14(r1) -/* 802518C0 0024E820 FF A0 28 90 */ fmr f29, f5 -/* 802518C4 0024E824 83 21 00 EC */ lwz r25, 0xec(r1) -/* 802518C8 0024E828 91 21 00 18 */ stw r9, 0x18(r1) -/* 802518CC 0024E82C FF C0 30 90 */ fmr f30, f6 -/* 802518D0 0024E830 FF E0 38 90 */ fmr f31, f7 -/* 802518D4 0024E834 83 41 00 F0 */ lwz r26, 0xf0(r1) -/* 802518D8 0024E838 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802518DC 0024E83C 7C 76 1B 78 */ mr r22, r3 -/* 802518E0 0024E840 83 61 00 F4 */ lwz r27, 0xf4(r1) -/* 802518E4 0024E844 7D 68 5B 78 */ mr r8, r11 -/* 802518E8 0024E848 83 81 00 F8 */ lwz r28, 0xf8(r1) -/* 802518EC 0024E84C 7E E9 BB 78 */ mr r9, r23 -/* 802518F0 0024E850 A3 A1 00 FE */ lhz r29, 0xfe(r1) -/* 802518F4 0024E854 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802518F8 0024E858 A3 C1 01 02 */ lhz r30, 0x102(r1) -/* 802518FC 0024E85C 38 80 00 01 */ li r4, 1 -/* 80251900 0024E860 A3 E1 01 06 */ lhz r31, 0x106(r1) -/* 80251904 0024E864 38 E0 00 00 */ li r7, 0 -/* 80251908 0024E868 4B E2 BB 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8025190C 0024E86C 3C 80 80 3F */ lis r4, lbl_803E8E4C@ha -/* 80251910 0024E870 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 80251914 0024E874 38 04 8E 4C */ addi r0, r4, lbl_803E8E4C@l -/* 80251918 0024E878 38 80 00 00 */ li r4, 0 -/* 8025191C 0024E87C 90 16 00 00 */ stw r0, 0(r22) -/* 80251920 0024E880 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 80251924 0024E884 38 61 00 34 */ addi r3, r1, 0x34 -/* 80251928 0024E888 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8025192C 0024E88C 90 96 05 68 */ stw r4, 0x568(r22) -/* 80251930 0024E890 98 96 05 74 */ stb r4, 0x574(r22) -/* 80251934 0024E894 D3 B6 05 78 */ stfs f29, 0x578(r22) -/* 80251938 0024E898 D3 D6 05 7C */ stfs f30, 0x57c(r22) -/* 8025193C 0024E89C D3 F6 05 80 */ stfs f31, 0x580(r22) -/* 80251940 0024E8A0 C0 16 05 78 */ lfs f0, 0x578(r22) -/* 80251944 0024E8A4 D0 16 05 84 */ stfs f0, 0x584(r22) -/* 80251948 0024E8A8 80 DC 00 00 */ lwz r6, 0(r28) -/* 8025194C 0024E8AC 80 9C 00 04 */ lwz r4, 4(r28) -/* 80251950 0024E8B0 90 D6 05 88 */ stw r6, 0x588(r22) -/* 80251954 0024E8B4 90 96 05 8C */ stw r4, 0x58c(r22) -/* 80251958 0024E8B8 80 DC 00 08 */ lwz r6, 8(r28) -/* 8025195C 0024E8BC 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80251960 0024E8C0 90 D6 05 90 */ stw r6, 0x590(r22) -/* 80251964 0024E8C4 90 96 05 94 */ stw r4, 0x594(r22) -/* 80251968 0024E8C8 80 DC 00 10 */ lwz r6, 0x10(r28) -/* 8025196C 0024E8CC 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 80251970 0024E8D0 90 D6 05 98 */ stw r6, 0x598(r22) -/* 80251974 0024E8D4 90 96 05 9C */ stw r4, 0x59c(r22) -/* 80251978 0024E8D8 80 DC 00 18 */ lwz r6, 0x18(r28) -/* 8025197C 0024E8DC 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80251980 0024E8E0 90 D6 05 A0 */ stw r6, 0x5a0(r22) -/* 80251984 0024E8E4 90 96 05 A4 */ stw r4, 0x5a4(r22) -/* 80251988 0024E8E8 80 DC 00 20 */ lwz r6, 0x20(r28) -/* 8025198C 0024E8EC 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 80251990 0024E8F0 90 D6 05 A8 */ stw r6, 0x5a8(r22) -/* 80251994 0024E8F4 90 96 05 AC */ stw r4, 0x5ac(r22) -/* 80251998 0024E8F8 80 DC 00 28 */ lwz r6, 0x28(r28) -/* 8025199C 0024E8FC 80 9C 00 2C */ lwz r4, 0x2c(r28) -/* 802519A0 0024E900 90 D6 05 B0 */ stw r6, 0x5b0(r22) -/* 802519A4 0024E904 90 96 05 B4 */ stw r4, 0x5b4(r22) -/* 802519A8 0024E908 80 DC 00 30 */ lwz r6, 0x30(r28) -/* 802519AC 0024E90C 80 9C 00 34 */ lwz r4, 0x34(r28) -/* 802519B0 0024E910 90 D6 05 B8 */ stw r6, 0x5b8(r22) -/* 802519B4 0024E914 90 96 05 BC */ stw r4, 0x5bc(r22) -/* 802519B8 0024E918 80 9C 00 38 */ lwz r4, 0x38(r28) -/* 802519BC 0024E91C 90 96 05 C0 */ stw r4, 0x5c0(r22) -/* 802519C0 0024E920 80 DC 00 3C */ lwz r6, 0x3c(r28) -/* 802519C4 0024E924 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 802519C8 0024E928 90 D6 05 C4 */ stw r6, 0x5c4(r22) -/* 802519CC 0024E92C 90 96 05 C8 */ stw r4, 0x5c8(r22) -/* 802519D0 0024E930 80 DC 00 44 */ lwz r6, 0x44(r28) -/* 802519D4 0024E934 80 9C 00 48 */ lwz r4, 0x48(r28) -/* 802519D8 0024E938 90 D6 05 CC */ stw r6, 0x5cc(r22) -/* 802519DC 0024E93C 90 96 05 D0 */ stw r4, 0x5d0(r22) -/* 802519E0 0024E940 80 DC 00 4C */ lwz r6, 0x4c(r28) -/* 802519E4 0024E944 80 9C 00 50 */ lwz r4, 0x50(r28) -/* 802519E8 0024E948 90 D6 05 D4 */ stw r6, 0x5d4(r22) -/* 802519EC 0024E94C 90 96 05 D8 */ stw r4, 0x5d8(r22) -/* 802519F0 0024E950 80 DC 00 54 */ lwz r6, 0x54(r28) -/* 802519F4 0024E954 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802519F8 0024E958 90 D6 05 DC */ stw r6, 0x5dc(r22) -/* 802519FC 0024E95C 90 96 05 E0 */ stw r4, 0x5e0(r22) -/* 80251A00 0024E960 80 9C 00 5C */ lwz r4, 0x5c(r28) -/* 80251A04 0024E964 90 96 05 E4 */ stw r4, 0x5e4(r22) -/* 80251A08 0024E968 80 9C 00 60 */ lwz r4, 0x60(r28) -/* 80251A0C 0024E96C 90 96 05 E8 */ stw r4, 0x5e8(r22) -/* 80251A10 0024E970 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 80251A14 0024E974 90 96 05 EC */ stw r4, 0x5ec(r22) -/* 80251A18 0024E978 D3 96 05 F0 */ stfs f28, 0x5f0(r22) -/* 80251A1C 0024E97C C0 57 00 24 */ lfs f2, 0x24(r23) -/* 80251A20 0024E980 C0 37 00 14 */ lfs f1, 0x14(r23) -/* 80251A24 0024E984 C0 17 00 04 */ lfs f0, 4(r23) -/* 80251A28 0024E988 D0 16 05 F4 */ stfs f0, 0x5f4(r22) -/* 80251A2C 0024E98C D0 36 05 F8 */ stfs f1, 0x5f8(r22) -/* 80251A30 0024E990 D0 56 05 FC */ stfs f2, 0x5fc(r22) -/* 80251A34 0024E994 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80251A38 0024E998 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80251A3C 0024E99C 93 01 00 40 */ stw r24, 0x40(r1) -/* 80251A40 0024E9A0 81 84 00 00 */ lwz r12, 0(r4) -/* 80251A44 0024E9A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80251A48 0024E9A8 7D 89 03 A6 */ mtctr r12 -/* 80251A4C 0024E9AC 4E 80 04 21 */ bctrl -/* 80251A50 0024E9B0 38 76 06 00 */ addi r3, r22, 0x600 -/* 80251A54 0024E9B4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80251A58 0024E9B8 48 0E F4 51 */ bl __ct__6CTokenFRC6CToken -/* 80251A5C 0024E9BC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80251A60 0024E9C0 38 80 FF FF */ li r4, -1 -/* 80251A64 0024E9C4 48 0E F3 DD */ bl __dt__6CTokenFv -/* 80251A68 0024E9C8 3C 60 57 50 */ lis r3, 0x57505343@ha -/* 80251A6C 0024E9CC 93 21 00 30 */ stw r25, 0x30(r1) -/* 80251A70 0024E9D0 38 03 53 43 */ addi r0, r3, 0x57505343@l -/* 80251A74 0024E9D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80251A78 0024E9D8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80251A7C 0024E9DC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80251A80 0024E9E0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80251A84 0024E9E4 81 84 00 00 */ lwz r12, 0(r4) -/* 80251A88 0024E9E8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80251A8C 0024E9EC 7D 89 03 A6 */ mtctr r12 -/* 80251A90 0024E9F0 4E 80 04 21 */ bctrl -/* 80251A94 0024E9F4 38 76 06 08 */ addi r3, r22, 0x608 -/* 80251A98 0024E9F8 38 81 00 24 */ addi r4, r1, 0x24 -/* 80251A9C 0024E9FC 48 0E F4 0D */ bl __ct__6CTokenFRC6CToken -/* 80251AA0 0024EA00 38 61 00 24 */ addi r3, r1, 0x24 -/* 80251AA4 0024EA04 38 80 FF FF */ li r4, -1 -/* 80251AA8 0024EA08 48 0E F3 99 */ bl __dt__6CTokenFv -/* 80251AAC 0024EA0C 80 1A 00 00 */ lwz r0, 0(r26) -/* 80251AB0 0024EA10 7F A3 EB 78 */ mr r3, r29 -/* 80251AB4 0024EA14 C0 22 B8 DC */ lfs f1, lbl_805AD5FC@sda21(r2) -/* 80251AB8 0024EA18 90 16 06 10 */ stw r0, 0x610(r22) -/* 80251ABC 0024EA1C C0 02 B8 EC */ lfs f0, lbl_805AD60C@sda21(r2) -/* 80251AC0 0024EA20 88 1A 00 04 */ lbz r0, 4(r26) -/* 80251AC4 0024EA24 98 16 06 14 */ stb r0, 0x614(r22) -/* 80251AC8 0024EA28 C0 5A 00 08 */ lfs f2, 8(r26) -/* 80251ACC 0024EA2C D0 56 06 18 */ stfs f2, 0x618(r22) -/* 80251AD0 0024EA30 C0 5A 00 0C */ lfs f2, 0xc(r26) -/* 80251AD4 0024EA34 D0 56 06 1C */ stfs f2, 0x61c(r22) -/* 80251AD8 0024EA38 C0 5A 00 10 */ lfs f2, 0x10(r26) -/* 80251ADC 0024EA3C D0 56 06 20 */ stfs f2, 0x620(r22) -/* 80251AE0 0024EA40 C0 5A 00 14 */ lfs f2, 0x14(r26) -/* 80251AE4 0024EA44 D0 56 06 24 */ stfs f2, 0x624(r22) -/* 80251AE8 0024EA48 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80251AEC 0024EA4C 98 16 06 28 */ stb r0, 0x628(r22) -/* 80251AF0 0024EA50 93 76 06 2C */ stw r27, 0x62c(r22) -/* 80251AF4 0024EA54 D3 36 06 30 */ stfs f25, 0x630(r22) -/* 80251AF8 0024EA58 D3 56 06 34 */ stfs f26, 0x634(r22) -/* 80251AFC 0024EA5C D3 76 06 38 */ stfs f27, 0x638(r22) -/* 80251B00 0024EA60 D0 36 06 3C */ stfs f1, 0x63c(r22) -/* 80251B04 0024EA64 D0 16 06 40 */ stfs f0, 0x640(r22) -/* 80251B08 0024EA68 48 09 6E A9 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80251B0C 0024EA6C B0 76 06 44 */ sth r3, 0x644(r22) -/* 80251B10 0024EA70 7F C3 F3 78 */ mr r3, r30 -/* 80251B14 0024EA74 48 09 6E 9D */ bl TranslateSFXID__11CSfxManagerFUs -/* 80251B18 0024EA78 B0 76 06 46 */ sth r3, 0x646(r22) -/* 80251B1C 0024EA7C 7F E3 FB 78 */ mr r3, r31 -/* 80251B20 0024EA80 48 09 6E 91 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80251B24 0024EA84 B0 76 06 48 */ sth r3, 0x648(r22) -/* 80251B28 0024EA88 38 00 00 00 */ li r0, 0 -/* 80251B2C 0024EA8C 38 76 04 60 */ addi r3, r22, 0x460 -/* 80251B30 0024EA90 38 80 00 00 */ li r4, 0 -/* 80251B34 0024EA94 90 16 06 4C */ stw r0, 0x64c(r22) -/* 80251B38 0024EA98 90 16 06 50 */ stw r0, 0x650(r22) -/* 80251B3C 0024EA9C 90 16 06 54 */ stw r0, 0x654(r22) -/* 80251B40 0024EAA0 4B FE 22 25 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 80251B44 0024EAA4 88 16 04 E1 */ lbz r0, 0x4e1(r22) -/* 80251B48 0024EAA8 38 80 00 00 */ li r4, 0 -/* 80251B4C 0024EAAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80251B50 0024EAB0 7E C3 B3 78 */ mr r3, r22 -/* 80251B54 0024EAB4 98 16 04 E1 */ stb r0, 0x4e1(r22) -/* 80251B58 0024EAB8 88 16 04 E2 */ lbz r0, 0x4e2(r22) -/* 80251B5C 0024EABC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80251B60 0024EAC0 98 16 04 E2 */ stb r0, 0x4e2(r22) -/* 80251B64 0024EAC4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80251B68 0024EAC8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80251B6C 0024EACC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80251B70 0024EAD0 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 80251B74 0024EAD4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 80251B78 0024EAD8 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 80251B7C 0024EADC E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 80251B80 0024EAE0 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 80251B84 0024EAE4 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 80251B88 0024EAE8 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 80251B8C 0024EAEC E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 80251B90 0024EAF0 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 80251B94 0024EAF4 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 80251B98 0024EAF8 CB 21 00 70 */ lfd f25, 0x70(r1) -/* 80251B9C 0024EAFC BA C1 00 48 */ lmw r22, 0x48(r1) -/* 80251BA0 0024EB00 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80251BA4 0024EB04 7C 08 03 A6 */ mtlr r0 -/* 80251BA8 0024EB08 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80251BAC 0024EB0C 4E 80 00 20 */ blr - -.global __dt__23CElectricBeamProjectileFv -__dt__23CElectricBeamProjectileFv: -/* 80251BB0 0024EB10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251BB4 0024EB14 7C 08 02 A6 */ mflr r0 -/* 80251BB8 0024EB18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251BBC 0024EB1C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251BC0 0024EB20 7C 9F 23 78 */ mr r31, r4 -/* 80251BC4 0024EB24 93 C1 00 08 */ stw r30, 8(r1) -/* 80251BC8 0024EB28 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80251BCC 0024EB2C 41 82 00 98 */ beq lbl_80251C64 -/* 80251BD0 0024EB30 3C 60 80 3F */ lis r3, lbl_803E9118@ha -/* 80251BD4 0024EB34 34 1E 04 78 */ addic. r0, r30, 0x478 -/* 80251BD8 0024EB38 38 03 91 18 */ addi r0, r3, lbl_803E9118@l -/* 80251BDC 0024EB3C 90 1E 00 00 */ stw r0, 0(r30) -/* 80251BE0 0024EB40 41 82 00 24 */ beq lbl_80251C04 -/* 80251BE4 0024EB44 80 7E 04 78 */ lwz r3, 0x478(r30) -/* 80251BE8 0024EB48 28 03 00 00 */ cmplwi r3, 0 -/* 80251BEC 0024EB4C 41 82 00 18 */ beq lbl_80251C04 -/* 80251BF0 0024EB50 81 83 00 00 */ lwz r12, 0(r3) -/* 80251BF4 0024EB54 38 80 00 01 */ li r4, 1 -/* 80251BF8 0024EB58 81 8C 00 08 */ lwz r12, 8(r12) -/* 80251BFC 0024EB5C 7D 89 03 A6 */ mtctr r12 -/* 80251C00 0024EB60 4E 80 04 21 */ bctrl -lbl_80251C04: -/* 80251C04 0024EB64 34 1E 04 6C */ addic. r0, r30, 0x46c -/* 80251C08 0024EB68 41 82 00 18 */ beq lbl_80251C20 -/* 80251C0C 0024EB6C 34 1E 04 6C */ addic. r0, r30, 0x46c -/* 80251C10 0024EB70 41 82 00 10 */ beq lbl_80251C20 -/* 80251C14 0024EB74 38 7E 04 6C */ addi r3, r30, 0x46c -/* 80251C18 0024EB78 38 80 00 00 */ li r4, 0 -/* 80251C1C 0024EB7C 48 0E F2 25 */ bl __dt__6CTokenFv -lbl_80251C20: -/* 80251C20 0024EB80 34 1E 04 68 */ addic. r0, r30, 0x468 -/* 80251C24 0024EB84 41 82 00 24 */ beq lbl_80251C48 -/* 80251C28 0024EB88 80 7E 04 68 */ lwz r3, 0x468(r30) -/* 80251C2C 0024EB8C 28 03 00 00 */ cmplwi r3, 0 -/* 80251C30 0024EB90 41 82 00 18 */ beq lbl_80251C48 -/* 80251C34 0024EB94 81 83 00 00 */ lwz r12, 0(r3) -/* 80251C38 0024EB98 38 80 00 01 */ li r4, 1 -/* 80251C3C 0024EB9C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80251C40 0024EBA0 7D 89 03 A6 */ mtctr r12 -/* 80251C44 0024EBA4 4E 80 04 21 */ bctrl -lbl_80251C48: -/* 80251C48 0024EBA8 7F C3 F3 78 */ mr r3, r30 -/* 80251C4C 0024EBAC 38 80 00 00 */ li r4, 0 -/* 80251C50 0024EBB0 4B F2 50 C9 */ bl __dt__15CBeamProjectileFv -/* 80251C54 0024EBB4 7F E0 07 35 */ extsh. r0, r31 -/* 80251C58 0024EBB8 40 81 00 0C */ ble lbl_80251C64 -/* 80251C5C 0024EBBC 7F C3 F3 78 */ mr r3, r30 -/* 80251C60 0024EBC0 48 0C 3C D1 */ bl Free__7CMemoryFPCv -lbl_80251C64: -/* 80251C64 0024EBC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251C68 0024EBC8 7F C3 F3 78 */ mr r3, r30 -/* 80251C6C 0024EBCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251C70 0024EBD0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80251C74 0024EBD4 7C 08 03 A6 */ mtlr r0 -/* 80251C78 0024EBD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251C7C 0024EBDC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__23CElectricBeamProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80251C80 0024EBE0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80251C84 0024EBE4 7C 08 02 A6 */ mflr r0 -/* 80251C88 0024EBE8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80251C8C 0024EBEC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80251C90 0024EBF0 7C DF 33 78 */ mr r31, r6 -/* 80251C94 0024EBF4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80251C98 0024EBF8 7C BE 2B 78 */ mr r30, r5 -/* 80251C9C 0024EBFC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80251CA0 0024EC00 7C 9D 23 78 */ mr r29, r4 -/* 80251CA4 0024EC04 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 80251CA8 0024EC08 93 81 00 20 */ stw r28, 0x20(r1) -/* 80251CAC 0024EC0C 7C 7C 1B 78 */ mr r28, r3 -/* 80251CB0 0024EC10 41 82 00 44 */ beq lbl_80251CF4 -/* 80251CB4 0024EC14 40 80 00 48 */ bge lbl_80251CFC -/* 80251CB8 0024EC18 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 80251CBC 0024EC1C 40 80 00 08 */ bge lbl_80251CC4 -/* 80251CC0 0024EC20 48 00 00 3C */ b lbl_80251CFC -lbl_80251CC4: -/* 80251CC4 0024EC24 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 80251CC8 0024EC28 7F E3 FB 78 */ mr r3, r31 -/* 80251CCC 0024EC2C 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 80251CD0 0024EC30 38 81 00 10 */ addi r4, r1, 0x10 -/* 80251CD4 0024EC34 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80251CD8 0024EC38 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80251CDC 0024EC3C 4B DF 30 2D */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType -/* 80251CE0 0024EC40 88 1C 04 64 */ lbz r0, 0x464(r28) -/* 80251CE4 0024EC44 38 60 00 01 */ li r3, 1 -/* 80251CE8 0024EC48 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80251CEC 0024EC4C 98 1C 04 64 */ stb r0, 0x464(r28) -/* 80251CF0 0024EC50 48 00 00 0C */ b lbl_80251CFC -lbl_80251CF4: -/* 80251CF4 0024EC54 7F E4 FB 78 */ mr r4, r31 -/* 80251CF8 0024EC58 4B DE 5B B1 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager -lbl_80251CFC: -/* 80251CFC 0024EC5C A0 1E 00 00 */ lhz r0, 0(r30) -/* 80251D00 0024EC60 7F 83 E3 78 */ mr r3, r28 -/* 80251D04 0024EC64 7F A4 EB 78 */ mr r4, r29 -/* 80251D08 0024EC68 7F E6 FB 78 */ mr r6, r31 -/* 80251D0C 0024EC6C B0 01 00 08 */ sth r0, 8(r1) -/* 80251D10 0024EC70 38 A1 00 08 */ addi r5, r1, 8 -/* 80251D14 0024EC74 4B DE 68 B9 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80251D18 0024EC78 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80251D1C 0024EC7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80251D20 0024EC80 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80251D24 0024EC84 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80251D28 0024EC88 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80251D2C 0024EC8C 7C 08 03 A6 */ mtlr r0 -/* 80251D30 0024EC90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80251D34 0024EC94 4E 80 00 20 */ blr - -.global sub_80251d38 -sub_80251d38: -/* 80251D38 0024EC98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251D3C 0024EC9C 7C 08 02 A6 */ mflr r0 -/* 80251D40 0024ECA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251D44 0024ECA4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80251D48 0024ECA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251D4C 0024ECAC 7C 9F 23 78 */ mr r31, r4 -/* 80251D50 0024ECB0 93 C1 00 08 */ stw r30, 8(r1) -/* 80251D54 0024ECB4 7C 7E 1B 78 */ mr r30, r3 -/* 80251D58 0024ECB8 41 82 00 5C */ beq lbl_80251DB4 -/* 80251D5C 0024ECBC 81 83 00 00 */ lwz r12, 0(r3) -/* 80251D60 0024ECC0 38 80 00 00 */ li r4, 0 -/* 80251D64 0024ECC4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80251D68 0024ECC8 7D 89 03 A6 */ mtctr r12 -/* 80251D6C 0024ECCC 4E 80 04 21 */ bctrl -/* 80251D70 0024ECD0 80 7E 04 78 */ lwz r3, 0x478(r30) -/* 80251D74 0024ECD4 38 80 00 00 */ li r4, 0 -/* 80251D78 0024ECD8 81 83 00 00 */ lwz r12, 0(r3) -/* 80251D7C 0024ECDC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80251D80 0024ECE0 7D 89 03 A6 */ mtctr r12 -/* 80251D84 0024ECE4 4E 80 04 21 */ bctrl -/* 80251D88 0024ECE8 80 7E 04 68 */ lwz r3, 0x468(r30) -/* 80251D8C 0024ECEC 38 80 00 00 */ li r4, 0 -/* 80251D90 0024ECF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80251D94 0024ECF4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80251D98 0024ECF8 7D 89 03 A6 */ mtctr r12 -/* 80251D9C 0024ECFC 4E 80 04 21 */ bctrl -/* 80251DA0 0024ED00 7F C3 F3 78 */ mr r3, r30 -/* 80251DA4 0024ED04 7F E4 FB 78 */ mr r4, r31 -/* 80251DA8 0024ED08 38 A0 00 01 */ li r5, 1 -/* 80251DAC 0024ED0C 4B F4 75 8D */ bl ResetBeam__15CBeamProjectileFR13CStateManagerb -/* 80251DB0 0024ED10 48 00 00 0C */ b lbl_80251DBC -lbl_80251DB4: -/* 80251DB4 0024ED14 38 00 00 00 */ li r0, 0 -/* 80251DB8 0024ED18 98 1E 04 8C */ stb r0, 0x48c(r30) -lbl_80251DBC: -/* 80251DBC 0024ED1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251DC0 0024ED20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251DC4 0024ED24 83 C1 00 08 */ lwz r30, 8(r1) -/* 80251DC8 0024ED28 7C 08 03 A6 */ mtlr r0 -/* 80251DCC 0024ED2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251DD0 0024ED30 4E 80 00 20 */ blr - -.global sub_80251dd4 -sub_80251dd4: -/* 80251DD4 0024ED34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251DD8 0024ED38 7C 08 02 A6 */ mflr r0 -/* 80251DDC 0024ED3C 38 80 00 01 */ li r4, 1 -/* 80251DE0 0024ED40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251DE4 0024ED44 38 00 00 01 */ li r0, 1 -/* 80251DE8 0024ED48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251DEC 0024ED4C 7C 7F 1B 78 */ mr r31, r3 -/* 80251DF0 0024ED50 98 03 04 8C */ stb r0, 0x48c(r3) -/* 80251DF4 0024ED54 81 83 00 00 */ lwz r12, 0(r3) -/* 80251DF8 0024ED58 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80251DFC 0024ED5C 7D 89 03 A6 */ mtctr r12 -/* 80251E00 0024ED60 4E 80 04 21 */ bctrl -/* 80251E04 0024ED64 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) -/* 80251E08 0024ED68 D0 1F 04 80 */ stfs f0, 0x480(r31) -/* 80251E0C 0024ED6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251E10 0024ED70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251E14 0024ED74 7C 08 03 A6 */ mtlr r0 -/* 80251E18 0024ED78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251E1C 0024ED7C 4E 80 00 20 */ blr - -.global AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__23CElectricBeamProjectileCFRC14CFrustumPlanesRC13CStateManager: -/* 80251E20 0024ED80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251E24 0024ED84 7C 08 02 A6 */ mflr r0 -/* 80251E28 0024ED88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251E2C 0024ED8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251E30 0024ED90 7C 7F 1B 78 */ mr r31, r3 -/* 80251E34 0024ED94 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80251E38 0024ED98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80251E3C 0024ED9C 41 82 00 34 */ beq lbl_80251E70 -/* 80251E40 0024EDA0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80251E44 0024EDA4 80 9F 04 78 */ lwz r4, 0x478(r31) -/* 80251E48 0024EDA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80251E4C 0024EDAC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80251E50 0024EDB0 7D 89 03 A6 */ mtctr r12 -/* 80251E54 0024EDB4 4E 80 04 21 */ bctrl -/* 80251E58 0024EDB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80251E5C 0024EDBC 80 9F 04 68 */ lwz r4, 0x468(r31) -/* 80251E60 0024EDC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80251E64 0024EDC4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80251E68 0024EDC8 7D 89 03 A6 */ mtctr r12 -/* 80251E6C 0024EDCC 4E 80 04 21 */ bctrl -lbl_80251E70: -/* 80251E70 0024EDD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251E74 0024EDD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251E78 0024EDD8 7C 08 03 A6 */ mtlr r0 -/* 80251E7C 0024EDDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251E80 0024EDE0 4E 80 00 20 */ blr - -.global sub_80251e84 -sub_80251e84: -/* 80251E84 0024EDE4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80251E88 0024EDE8 7C 08 02 A6 */ mflr r0 -/* 80251E8C 0024EDEC 90 01 00 94 */ stw r0, 0x94(r1) -/* 80251E90 0024EDF0 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80251E94 0024EDF4 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80251E98 0024EDF8 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80251E9C 0024EDFC 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80251EA0 0024EE00 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80251EA4 0024EE04 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80251EA8 0024EE08 FF E0 08 90 */ fmr f31, f1 -/* 80251EAC 0024EE0C 7C 7F 1B 78 */ mr r31, r3 -/* 80251EB0 0024EE10 7C 9E 23 78 */ mr r30, r4 -/* 80251EB4 0024EE14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80251EB8 0024EE18 7C BD 2B 78 */ mr r29, r5 -/* 80251EBC 0024EE1C 41 82 04 20 */ beq lbl_802522DC -/* 80251EC0 0024EE20 C0 3F 04 84 */ lfs f1, 0x484(r31) -/* 80251EC4 0024EE24 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) -/* 80251EC8 0024EE28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80251ECC 0024EE2C 4C 40 13 82 */ cror 2, 0, 2 -/* 80251ED0 0024EE30 40 82 00 14 */ bne lbl_80251EE4 -/* 80251ED4 0024EE34 88 1F 04 64 */ lbz r0, 0x464(r31) -/* 80251ED8 0024EE38 38 60 00 01 */ li r3, 1 -/* 80251EDC 0024EE3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80251EE0 0024EE40 98 1F 04 64 */ stb r0, 0x464(r31) -lbl_80251EE4: -/* 80251EE4 0024EE44 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80251EE8 0024EE48 2C 00 00 01 */ cmpwi r0, 1 -/* 80251EEC 0024EE4C 40 82 00 1C */ bne lbl_80251F08 -/* 80251EF0 0024EE50 C0 1F 04 88 */ lfs f0, 0x488(r31) -/* 80251EF4 0024EE54 38 60 00 00 */ li r3, 0 -/* 80251EF8 0024EE58 D0 1F 04 84 */ stfs f0, 0x484(r31) -/* 80251EFC 0024EE5C 88 1F 04 64 */ lbz r0, 0x464(r31) -/* 80251F00 0024EE60 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80251F04 0024EE64 98 1F 04 64 */ stb r0, 0x464(r31) -lbl_80251F08: -/* 80251F08 0024EE68 C0 1F 04 84 */ lfs f0, 0x484(r31) -/* 80251F0C 0024EE6C C0 22 B8 F0 */ lfs f1, lbl_805AD610@sda21(r2) -/* 80251F10 0024EE70 EC 40 F8 28 */ fsubs f2, f0, f31 -/* 80251F14 0024EE74 C0 02 B8 F4 */ lfs f0, lbl_805AD614@sda21(r2) -/* 80251F18 0024EE78 D0 5F 04 84 */ stfs f2, 0x484(r31) -/* 80251F1C 0024EE7C C0 5F 04 7C */ lfs f2, 0x47c(r31) -/* 80251F20 0024EE80 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80251F24 0024EE84 FC 20 0A 10 */ fabs f1, f1 -/* 80251F28 0024EE88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80251F2C 0024EE8C 41 80 00 80 */ blt lbl_80251FAC -/* 80251F30 0024EE90 88 1F 04 8C */ lbz r0, 0x48c(r31) -/* 80251F34 0024EE94 28 00 00 00 */ cmplwi r0, 0 -/* 80251F38 0024EE98 41 82 00 0C */ beq lbl_80251F44 -/* 80251F3C 0024EE9C C0 42 B8 F8 */ lfs f2, lbl_805AD618@sda21(r2) -/* 80251F40 0024EEA0 48 00 00 08 */ b lbl_80251F48 -lbl_80251F44: -/* 80251F44 0024EEA4 C0 42 B8 FC */ lfs f2, lbl_805AD61C@sda21(r2) -lbl_80251F48: -/* 80251F48 0024EEA8 C0 1F 04 7C */ lfs f0, 0x47c(r31) -/* 80251F4C 0024EEAC C0 3F 04 80 */ lfs f1, 0x480(r31) -/* 80251F50 0024EEB0 EC 42 00 24 */ fdivs f2, f2, f0 -/* 80251F54 0024EEB4 C0 0D 97 28 */ lfs f0, lbl_805A82E8@sda21(r13) -/* 80251F58 0024EEB8 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 80251F5C 0024EEBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80251F60 0024EEC0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80251F64 0024EEC4 40 80 00 0C */ bge lbl_80251F70 -/* 80251F68 0024EEC8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80251F6C 0024EECC 48 00 00 08 */ b lbl_80251F74 -lbl_80251F70: -/* 80251F70 0024EED0 38 6D 97 28 */ addi r3, r13, lbl_805A82E8@sda21 -lbl_80251F74: -/* 80251F74 0024EED4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80251F78 0024EED8 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) -/* 80251F7C 0024EEDC D0 3F 04 80 */ stfs f1, 0x480(r31) -/* 80251F80 0024EEE0 C0 3F 04 80 */ lfs f1, 0x480(r31) -/* 80251F84 0024EEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80251F88 0024EEE8 40 80 00 2C */ bge lbl_80251FB4 -/* 80251F8C 0024EEEC 7F E3 FB 78 */ mr r3, r31 -/* 80251F90 0024EEF0 7F A4 EB 78 */ mr r4, r29 -/* 80251F94 0024EEF4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80251F98 0024EEF8 38 A0 00 01 */ li r5, 1 -/* 80251F9C 0024EEFC 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80251FA0 0024EF00 7D 89 03 A6 */ mtctr r12 -/* 80251FA4 0024EF04 4E 80 04 21 */ bctrl -/* 80251FA8 0024EF08 48 00 00 0C */ b lbl_80251FB4 -lbl_80251FAC: -/* 80251FAC 0024EF0C C0 02 B8 F8 */ lfs f0, lbl_805AD618@sda21(r2) -/* 80251FB0 0024EF10 D0 1F 04 80 */ stfs f0, 0x480(r31) -lbl_80251FB4: -/* 80251FB4 0024EF14 FC 20 F8 90 */ fmr f1, f31 -/* 80251FB8 0024EF18 7F E3 FB 78 */ mr r3, r31 -/* 80251FBC 0024EF1C 7F C4 F3 78 */ mr r4, r30 -/* 80251FC0 0024EF20 7F A5 EB 78 */ mr r5, r29 -/* 80251FC4 0024EF24 4B F4 6E 1D */ bl UpdateFx__15CBeamProjectileFRC12CTransform4ffR13CStateManager -/* 80251FC8 0024EF28 83 BF 04 78 */ lwz r29, 0x478(r31) -/* 80251FCC 0024EF2C 48 0F 7F E1 */ bl White__6CColorFv -/* 80251FD0 0024EF30 7C 7E 1B 78 */ mr r30, r3 -/* 80251FD4 0024EF34 48 0F 7F E1 */ bl Black__6CColorFv -/* 80251FD8 0024EF38 C0 3F 04 80 */ lfs f1, 0x480(r31) -/* 80251FDC 0024EF3C 7C 64 1B 78 */ mr r4, r3 -/* 80251FE0 0024EF40 7F C5 F3 78 */ mr r5, r30 -/* 80251FE4 0024EF44 38 61 00 0C */ addi r3, r1, 0xc -/* 80251FE8 0024EF48 48 11 12 C5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80251FEC 0024EF4C 7F A3 EB 78 */ mr r3, r29 -/* 80251FF0 0024EF50 38 81 00 0C */ addi r4, r1, 0xc -/* 80251FF4 0024EF54 81 9D 00 00 */ lwz r12, 0(r29) -/* 80251FF8 0024EF58 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80251FFC 0024EF5C 7D 89 03 A6 */ mtctr r12 -/* 80252000 0024EF60 4E 80 04 21 */ bctrl -/* 80252004 0024EF64 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 80252008 0024EF68 7C 03 00 D0 */ neg r0, r3 -/* 8025200C 0024EF6C 7C 00 1B 78 */ or r0, r0, r3 -/* 80252010 0024EF70 54 1E 0F FF */ rlwinm. r30, r0, 1, 0x1f, 0x1f -/* 80252014 0024EF74 41 82 00 A0 */ beq lbl_802520B4 -/* 80252018 0024EF78 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025201C 0024EF7C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80252020 0024EF80 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80252024 0024EF84 83 BF 04 78 */ lwz r29, 0x478(r31) -/* 80252028 0024EF88 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8025202C 0024EF8C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80252030 0024EF90 38 BF 03 0C */ addi r5, r31, 0x30c -/* 80252034 0024EF94 48 0C 1A DD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80252038 0024EF98 7F A3 EB 78 */ mr r3, r29 -/* 8025203C 0024EF9C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80252040 0024EFA0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80252044 0024EFA4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80252048 0024EFA8 7D 89 03 A6 */ mtctr r12 -/* 8025204C 0024EFAC 4E 80 04 21 */ bctrl -/* 80252050 0024EFB0 C0 62 B9 00 */ lfs f3, lbl_805AD620@sda21(r2) -/* 80252054 0024EFB4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80252058 0024EFB8 C0 5F 03 10 */ lfs f2, 0x310(r31) -/* 8025205C 0024EFBC C0 3F 03 14 */ lfs f1, 0x314(r31) -/* 80252060 0024EFC0 C0 1F 03 0C */ lfs f0, 0x30c(r31) -/* 80252064 0024EFC4 EC A3 00 B2 */ fmuls f5, f3, f2 -/* 80252068 0024EFC8 EC 83 00 72 */ fmuls f4, f3, f1 -/* 8025206C 0024EFCC C0 5F 03 1C */ lfs f2, 0x31c(r31) -/* 80252070 0024EFD0 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80252074 0024EFD4 C0 3F 03 20 */ lfs f1, 0x320(r31) -/* 80252078 0024EFD8 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 8025207C 0024EFDC EC 42 28 2A */ fadds f2, f2, f5 -/* 80252080 0024EFE0 EC 21 20 2A */ fadds f1, f1, f4 -/* 80252084 0024EFE4 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80252088 0024EFE8 EC 00 18 2A */ fadds f0, f0, f3 -/* 8025208C 0024EFEC D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80252090 0024EFF0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80252094 0024EFF4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80252098 0024EFF8 80 7F 04 78 */ lwz r3, 0x478(r31) -/* 8025209C 0024EFFC D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802520A0 0024F000 81 83 00 00 */ lwz r12, 0(r3) -/* 802520A4 0024F004 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 802520A8 0024F008 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802520AC 0024F00C 7D 89 03 A6 */ mtctr r12 -/* 802520B0 0024F010 4E 80 04 21 */ bctrl -lbl_802520B4: -/* 802520B4 0024F014 80 7F 04 78 */ lwz r3, 0x478(r31) -/* 802520B8 0024F018 7F C4 F3 78 */ mr r4, r30 -/* 802520BC 0024F01C 81 83 00 00 */ lwz r12, 0(r3) -/* 802520C0 0024F020 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802520C4 0024F024 7D 89 03 A6 */ mtctr r12 -/* 802520C8 0024F028 4E 80 04 21 */ bctrl -/* 802520CC 0024F02C 80 7F 04 78 */ lwz r3, 0x478(r31) -/* 802520D0 0024F030 FC 20 F8 90 */ fmr f1, f31 -/* 802520D4 0024F034 81 83 00 00 */ lwz r12, 0(r3) -/* 802520D8 0024F038 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802520DC 0024F03C 7D 89 03 A6 */ mtctr r12 -/* 802520E0 0024F040 4E 80 04 21 */ bctrl -/* 802520E4 0024F044 83 BF 04 68 */ lwz r29, 0x468(r31) -/* 802520E8 0024F048 48 0F 7E C5 */ bl White__6CColorFv -/* 802520EC 0024F04C 7C 7E 1B 78 */ mr r30, r3 -/* 802520F0 0024F050 48 0F 7E C5 */ bl Black__6CColorFv -/* 802520F4 0024F054 C0 3F 04 80 */ lfs f1, 0x480(r31) -/* 802520F8 0024F058 7C 64 1B 78 */ mr r4, r3 -/* 802520FC 0024F05C 7F C5 F3 78 */ mr r5, r30 -/* 80252100 0024F060 38 61 00 08 */ addi r3, r1, 8 -/* 80252104 0024F064 48 11 11 A9 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80252108 0024F068 7F A3 EB 78 */ mr r3, r29 -/* 8025210C 0024F06C 38 81 00 08 */ addi r4, r1, 8 -/* 80252110 0024F070 81 9D 00 00 */ lwz r12, 0(r29) -/* 80252114 0024F074 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80252118 0024F078 7D 89 03 A6 */ mtctr r12 -/* 8025211C 0024F07C 4E 80 04 21 */ bctrl -/* 80252120 0024F080 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 80252124 0024F084 38 80 00 01 */ li r4, 1 -/* 80252128 0024F088 81 83 00 00 */ lwz r12, 0(r3) -/* 8025212C 0024F08C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80252130 0024F090 7D 89 03 A6 */ mtctr r12 -/* 80252134 0024F094 4E 80 04 21 */ bctrl -/* 80252138 0024F098 C0 3F 03 1C */ lfs f1, 0x31c(r31) -/* 8025213C 0024F09C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80252140 0024F0A0 C0 1F 03 40 */ lfs f0, 0x340(r31) -/* 80252144 0024F0A4 C0 7F 03 20 */ lfs f3, 0x320(r31) -/* 80252148 0024F0A8 C0 5F 03 50 */ lfs f2, 0x350(r31) -/* 8025214C 0024F0AC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80252150 0024F0B0 C0 3F 03 18 */ lfs f1, 0x318(r31) -/* 80252154 0024F0B4 C0 1F 03 30 */ lfs f0, 0x330(r31) -/* 80252158 0024F0B8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025215C 0024F0BC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80252160 0024F0C0 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80252164 0024F0C4 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80252168 0024F0C8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8025216C 0024F0CC 48 0C 25 8D */ bl CanBeNormalized__9CVector3fCFv -/* 80252170 0024F0D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252174 0024F0D4 41 82 00 0C */ beq lbl_80252180 -/* 80252178 0024F0D8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025217C 0024F0DC 48 0C 27 7D */ bl Normalize__9CVector3fFv -lbl_80252180: -/* 80252180 0024F0E0 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 80252184 0024F0E4 C0 5F 03 50 */ lfs f2, 0x350(r31) -/* 80252188 0024F0E8 88 03 01 84 */ lbz r0, 0x184(r3) -/* 8025218C 0024F0EC C0 3F 03 40 */ lfs f1, 0x340(r31) -/* 80252190 0024F0F0 28 00 00 00 */ cmplwi r0, 0 -/* 80252194 0024F0F4 C0 1F 03 30 */ lfs f0, 0x330(r31) -/* 80252198 0024F0F8 40 82 00 24 */ bne lbl_802521BC -/* 8025219C 0024F0FC 34 83 01 78 */ addic. r4, r3, 0x178 -/* 802521A0 0024F100 41 82 00 10 */ beq lbl_802521B0 -/* 802521A4 0024F104 D0 04 00 00 */ stfs f0, 0(r4) -/* 802521A8 0024F108 D0 24 00 04 */ stfs f1, 4(r4) -/* 802521AC 0024F10C D0 44 00 08 */ stfs f2, 8(r4) -lbl_802521B0: -/* 802521B0 0024F110 38 00 00 01 */ li r0, 1 -/* 802521B4 0024F114 98 03 01 84 */ stb r0, 0x184(r3) -/* 802521B8 0024F118 48 00 00 10 */ b lbl_802521C8 -lbl_802521BC: -/* 802521BC 0024F11C D0 03 01 78 */ stfs f0, 0x178(r3) -/* 802521C0 0024F120 D0 23 01 7C */ stfs f1, 0x17c(r3) -/* 802521C4 0024F124 D0 43 01 80 */ stfs f2, 0x180(r3) -lbl_802521C8: -/* 802521C8 0024F128 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 802521CC 0024F12C 88 03 01 94 */ lbz r0, 0x194(r3) -/* 802521D0 0024F130 28 00 00 00 */ cmplwi r0, 0 -/* 802521D4 0024F134 40 82 00 30 */ bne lbl_80252204 -/* 802521D8 0024F138 34 83 01 88 */ addic. r4, r3, 0x188 -/* 802521DC 0024F13C 41 82 00 1C */ beq lbl_802521F8 -/* 802521E0 0024F140 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802521E4 0024F144 D0 04 00 00 */ stfs f0, 0(r4) -/* 802521E8 0024F148 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802521EC 0024F14C D0 04 00 04 */ stfs f0, 4(r4) -/* 802521F0 0024F150 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802521F4 0024F154 D0 04 00 08 */ stfs f0, 8(r4) -lbl_802521F8: -/* 802521F8 0024F158 38 00 00 01 */ li r0, 1 -/* 802521FC 0024F15C 98 03 01 94 */ stb r0, 0x194(r3) -/* 80252200 0024F160 48 00 00 1C */ b lbl_8025221C -lbl_80252204: -/* 80252204 0024F164 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80252208 0024F168 D0 03 01 88 */ stfs f0, 0x188(r3) -/* 8025220C 0024F16C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80252210 0024F170 D0 03 01 8C */ stfs f0, 0x18c(r3) -/* 80252214 0024F174 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80252218 0024F178 D0 03 01 90 */ stfs f0, 0x190(r3) -lbl_8025221C: -/* 8025221C 0024F17C 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 80252220 0024F180 88 03 01 A4 */ lbz r0, 0x1a4(r3) -/* 80252224 0024F184 28 00 00 00 */ cmplwi r0, 0 -/* 80252228 0024F188 40 82 00 30 */ bne lbl_80252258 -/* 8025222C 0024F18C 34 83 01 98 */ addic. r4, r3, 0x198 -/* 80252230 0024F190 41 82 00 1C */ beq lbl_8025224C -/* 80252234 0024F194 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 80252238 0024F198 D0 04 00 00 */ stfs f0, 0(r4) -/* 8025223C 0024F19C C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 80252240 0024F1A0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80252244 0024F1A4 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 80252248 0024F1A8 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8025224C: -/* 8025224C 0024F1AC 38 00 00 01 */ li r0, 1 -/* 80252250 0024F1B0 98 03 01 A4 */ stb r0, 0x1a4(r3) -/* 80252254 0024F1B4 48 00 00 1C */ b lbl_80252270 -lbl_80252258: -/* 80252258 0024F1B8 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 8025225C 0024F1BC D0 03 01 98 */ stfs f0, 0x198(r3) -/* 80252260 0024F1C0 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 80252264 0024F1C4 D0 03 01 9C */ stfs f0, 0x19c(r3) -/* 80252268 0024F1C8 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 8025226C 0024F1CC D0 03 01 A0 */ stfs f0, 0x1a0(r3) -lbl_80252270: -/* 80252270 0024F1D0 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 80252274 0024F1D4 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80252278 0024F1D8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8025227C 0024F1DC C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80252280 0024F1E0 FC 40 10 50 */ fneg f2, f2 -/* 80252284 0024F1E4 88 03 01 B4 */ lbz r0, 0x1b4(r3) -/* 80252288 0024F1E8 FC 20 08 50 */ fneg f1, f1 -/* 8025228C 0024F1EC FC 00 00 50 */ fneg f0, f0 -/* 80252290 0024F1F0 28 00 00 00 */ cmplwi r0, 0 -/* 80252294 0024F1F4 40 82 00 24 */ bne lbl_802522B8 -/* 80252298 0024F1F8 34 83 01 A8 */ addic. r4, r3, 0x1a8 -/* 8025229C 0024F1FC 41 82 00 10 */ beq lbl_802522AC -/* 802522A0 0024F200 D0 04 00 00 */ stfs f0, 0(r4) -/* 802522A4 0024F204 D0 24 00 04 */ stfs f1, 4(r4) -/* 802522A8 0024F208 D0 44 00 08 */ stfs f2, 8(r4) -lbl_802522AC: -/* 802522AC 0024F20C 38 00 00 01 */ li r0, 1 -/* 802522B0 0024F210 98 03 01 B4 */ stb r0, 0x1b4(r3) -/* 802522B4 0024F214 48 00 00 10 */ b lbl_802522C4 -lbl_802522B8: -/* 802522B8 0024F218 D0 03 01 A8 */ stfs f0, 0x1a8(r3) -/* 802522BC 0024F21C D0 23 01 AC */ stfs f1, 0x1ac(r3) -/* 802522C0 0024F220 D0 43 01 B0 */ stfs f2, 0x1b0(r3) -lbl_802522C4: -/* 802522C4 0024F224 80 7F 04 68 */ lwz r3, 0x468(r31) -/* 802522C8 0024F228 FC 20 F8 90 */ fmr f1, f31 -/* 802522CC 0024F22C 81 83 00 00 */ lwz r12, 0(r3) -/* 802522D0 0024F230 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802522D4 0024F234 7D 89 03 A6 */ mtctr r12 -/* 802522D8 0024F238 4E 80 04 21 */ bctrl -lbl_802522DC: -/* 802522DC 0024F23C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802522E0 0024F240 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802522E4 0024F244 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802522E8 0024F248 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802522EC 0024F24C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802522F0 0024F250 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 802522F4 0024F254 7C 08 03 A6 */ mtlr r0 -/* 802522F8 0024F258 38 21 00 90 */ addi r1, r1, 0x90 -/* 802522FC 0024F25C 4E 80 00 20 */ blr - -.global nullsub_65 -nullsub_65: -/* 80252300 0024F260 4E 80 00 20 */ blr - -.global Accept__23CElectricBeamProjectileFR8IVisitor -Accept__23CElectricBeamProjectileFR8IVisitor: -/* 80252304 0024F264 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252308 0024F268 7C 08 02 A6 */ mflr r0 -/* 8025230C 0024F26C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80252310 0024F270 7C 60 1B 78 */ mr r0, r3 -/* 80252314 0024F274 7C 83 23 78 */ mr r3, r4 -/* 80252318 0024F278 81 84 00 00 */ lwz r12, 0(r4) -/* 8025231C 0024F27C 7C 04 03 78 */ mr r4, r0 -/* 80252320 0024F280 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80252324 0024F284 7D 89 03 A6 */ mtctr r12 -/* 80252328 0024F288 4E 80 04 21 */ bctrl -/* 8025232C 0024F28C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80252330 0024F290 7C 08 03 A6 */ mtlr r0 -/* 80252334 0024F294 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252338 0024F298 4E 80 00 20 */ blr - -.global __ct__23CElectricBeamProjectile -__ct__23CElectricBeamProjectile: -/* 8025233C 0024F29C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80252340 0024F2A0 7C 08 02 A6 */ mflr r0 -/* 80252344 0024F2A4 3D 60 80 3D */ lis r11, lbl_803D4B78@ha -/* 80252348 0024F2A8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025234C 0024F2AC 38 0B 4B 78 */ addi r0, r11, lbl_803D4B78@l -/* 80252350 0024F2B0 BE A1 00 74 */ stmw r21, 0x74(r1) -/* 80252354 0024F2B4 7C 78 1B 78 */ mr r24, r3 -/* 80252358 0024F2B8 7C 99 23 78 */ mr r25, r4 -/* 8025235C 0024F2BC 83 E1 00 A8 */ lwz r31, 0xa8(r1) -/* 80252360 0024F2C0 82 E1 00 AC */ lwz r23, 0xac(r1) -/* 80252364 0024F2C4 7C BA 2B 78 */ mr r26, r5 -/* 80252368 0024F2C8 82 C1 00 B0 */ lwz r22, 0xb0(r1) -/* 8025236C 0024F2CC 7C DB 33 78 */ mr r27, r6 -/* 80252370 0024F2D0 7C FC 3B 78 */ mr r28, r7 -/* 80252374 0024F2D4 7D 1D 43 78 */ mr r29, r8 -/* 80252378 0024F2D8 7D 3E 4B 78 */ mr r30, r9 -/* 8025237C 0024F2DC 7D 55 53 78 */ mr r21, r10 -/* 80252380 0024F2E0 7C 04 03 78 */ mr r4, r0 -/* 80252384 0024F2E4 38 61 00 4C */ addi r3, r1, 0x4c -/* 80252388 0024F2E8 4B DB 29 31 */ bl string_l__4rstlFPCc -/* 8025238C 0024F2EC A0 17 00 00 */ lhz r0, 0(r23) -/* 80252390 0024F2F0 39 81 00 24 */ addi r12, r1, 0x24 -/* 80252394 0024F2F4 A2 F5 00 00 */ lhz r23, 0(r21) -/* 80252398 0024F2F8 39 61 00 28 */ addi r11, r1, 0x28 -/* 8025239C 0024F2FC B0 01 00 20 */ sth r0, 0x20(r1) -/* 802523A0 0024F300 39 01 00 20 */ addi r8, r1, 0x20 -/* 802523A4 0024F304 38 00 00 00 */ li r0, 0 -/* 802523A8 0024F308 7F 03 C3 78 */ mr r3, r24 -/* 802523AC 0024F30C 80 BF 00 00 */ lwz r5, 0(r31) -/* 802523B0 0024F310 7F 24 CB 78 */ mr r4, r25 -/* 802523B4 0024F314 7F 46 D3 78 */ mr r6, r26 -/* 802523B8 0024F318 7F 87 E3 78 */ mr r7, r28 -/* 802523BC 0024F31C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 802523C0 0024F320 7F A9 EB 78 */ mr r9, r29 -/* 802523C4 0024F324 7F CA F3 78 */ mr r10, r30 -/* 802523C8 0024F328 38 A1 00 4C */ addi r5, r1, 0x4c -/* 802523CC 0024F32C B2 E1 00 24 */ sth r23, 0x24(r1) -/* 802523D0 0024F330 91 81 00 08 */ stw r12, 8(r1) -/* 802523D4 0024F334 91 61 00 0C */ stw r11, 0xc(r1) -/* 802523D8 0024F338 91 01 00 10 */ stw r8, 0x10(r1) -/* 802523DC 0024F33C 92 C1 00 14 */ stw r22, 0x14(r1) -/* 802523E0 0024F340 90 01 00 18 */ stw r0, 0x18(r1) -/* 802523E4 0024F344 C0 1B 00 08 */ lfs f0, 8(r27) -/* 802523E8 0024F348 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 802523EC 0024F34C FC 00 00 1E */ fctiwz f0, f0 -/* 802523F0 0024F350 C0 5B 00 10 */ lfs f2, 0x10(r27) -/* 802523F4 0024F354 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 802523F8 0024F358 81 01 00 64 */ lwz r8, 0x64(r1) -/* 802523FC 0024F35C 4B F4 70 91 */ bl "__ct__15CBeamProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib" -/* 80252400 0024F360 38 61 00 4C */ addi r3, r1, 0x4c -/* 80252404 0024F364 48 0E B6 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80252408 0024F368 3C 80 80 3F */ lis r4, lbl_803E9118@ha -/* 8025240C 0024F36C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha -/* 80252410 0024F370 38 04 91 18 */ addi r0, r4, lbl_803E9118@l -/* 80252414 0024F374 3A A0 00 00 */ li r21, 0 -/* 80252418 0024F378 38 63 4B 78 */ addi r3, r3, lbl_803D4B78@l -/* 8025241C 0024F37C 90 18 00 00 */ stw r0, 0(r24) -/* 80252420 0024F380 38 83 00 17 */ addi r4, r3, 0x17 -/* 80252424 0024F384 38 60 04 58 */ li r3, 0x458 -/* 80252428 0024F388 38 A0 00 00 */ li r5, 0 -/* 8025242C 0024F38C 48 0C 34 41 */ bl __nw__FUlPCcPCc -/* 80252430 0024F390 7C 77 1B 79 */ or. r23, r3, r3 -/* 80252434 0024F394 41 82 00 24 */ beq lbl_80252458 -/* 80252438 0024F398 7F 64 DB 78 */ mr r4, r27 -/* 8025243C 0024F39C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80252440 0024F3A0 48 0E EA 69 */ bl __ct__6CTokenFRC6CToken -/* 80252444 0024F3A4 7E E3 BB 78 */ mr r3, r23 -/* 80252448 0024F3A8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8025244C 0024F3AC 3A A0 00 01 */ li r21, 1 -/* 80252450 0024F3B0 48 10 FD 21 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 80252454 0024F3B4 7C 77 1B 78 */ mr r23, r3 -lbl_80252458: -/* 80252458 0024F3B8 7E A0 07 75 */ extsb. r0, r21 -/* 8025245C 0024F3BC 92 F8 04 68 */ stw r23, 0x468(r24) -/* 80252460 0024F3C0 41 82 00 10 */ beq lbl_80252470 -/* 80252464 0024F3C4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80252468 0024F3C8 38 80 00 00 */ li r4, 0 -/* 8025246C 0024F3CC 48 0E E9 D5 */ bl __dt__6CTokenFv -lbl_80252470: -/* 80252470 0024F3D0 80 DB 00 14 */ lwz r6, 0x14(r27) -/* 80252474 0024F3D4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80252478 0024F3D8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8025247C 0024F3DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80252480 0024F3E0 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80252484 0024F3E4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80252488 0024F3E8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8025248C 0024F3EC 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80252490 0024F3F0 81 84 00 00 */ lwz r12, 0(r4) -/* 80252494 0024F3F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80252498 0024F3F8 7D 89 03 A6 */ mtctr r12 -/* 8025249C 0024F3FC 4E 80 04 21 */ bctrl -/* 802524A0 0024F400 3A B8 04 6C */ addi r21, r24, 0x46c -/* 802524A4 0024F404 38 81 00 34 */ addi r4, r1, 0x34 -/* 802524A8 0024F408 7E A3 AB 78 */ mr r3, r21 -/* 802524AC 0024F40C 48 0E E9 FD */ bl __ct__6CTokenFRC6CToken -/* 802524B0 0024F410 7E A3 AB 78 */ mr r3, r21 -/* 802524B4 0024F414 48 0E E9 59 */ bl GetObj__6CTokenFv -/* 802524B8 0024F418 80 03 00 04 */ lwz r0, 4(r3) -/* 802524BC 0024F41C 38 61 00 34 */ addi r3, r1, 0x34 -/* 802524C0 0024F420 38 80 FF FF */ li r4, -1 -/* 802524C4 0024F424 90 15 00 08 */ stw r0, 8(r21) -/* 802524C8 0024F428 48 0E E9 79 */ bl __dt__6CTokenFv -/* 802524CC 0024F42C 3C 60 80 3D */ lis r3, lbl_803D4B78@ha -/* 802524D0 0024F430 3A A0 00 00 */ li r21, 0 -/* 802524D4 0024F434 38 83 4B 78 */ addi r4, r3, lbl_803D4B78@l -/* 802524D8 0024F438 38 60 03 40 */ li r3, 0x340 -/* 802524DC 0024F43C 38 84 00 17 */ addi r4, r4, 0x17 -/* 802524E0 0024F440 38 A0 00 00 */ li r5, 0 -/* 802524E4 0024F444 48 0C 33 89 */ bl __nw__FUlPCcPCc -/* 802524E8 0024F448 7C 77 1B 79 */ or. r23, r3, r3 -/* 802524EC 0024F44C 41 82 00 2C */ beq lbl_80252518 -/* 802524F0 0024F450 38 61 00 2C */ addi r3, r1, 0x2c -/* 802524F4 0024F454 38 98 04 6C */ addi r4, r24, 0x46c -/* 802524F8 0024F458 48 0E E9 B1 */ bl __ct__6CTokenFRC6CToken -/* 802524FC 0024F45C 7E E3 BB 78 */ mr r3, r23 -/* 80252500 0024F460 38 81 00 2C */ addi r4, r1, 0x2c -/* 80252504 0024F464 3A A0 00 01 */ li r21, 1 -/* 80252508 0024F468 38 A0 00 00 */ li r5, 0 -/* 8025250C 0024F46C 38 C0 00 01 */ li r6, 1 -/* 80252510 0024F470 48 0C CE D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80252514 0024F474 7C 77 1B 78 */ mr r23, r3 -lbl_80252518: -/* 80252518 0024F478 7E A0 07 75 */ extsb. r0, r21 -/* 8025251C 0024F47C 92 F8 04 78 */ stw r23, 0x478(r24) -/* 80252520 0024F480 41 82 00 10 */ beq lbl_80252530 -/* 80252524 0024F484 38 61 00 2C */ addi r3, r1, 0x2c -/* 80252528 0024F488 38 80 00 00 */ li r4, 0 -/* 8025252C 0024F48C 48 0E E9 15 */ bl __dt__6CTokenFv -lbl_80252530: -/* 80252530 0024F490 C0 3B 00 18 */ lfs f1, 0x18(r27) -/* 80252534 0024F494 38 00 00 00 */ li r0, 0 -/* 80252538 0024F498 C0 02 B8 F0 */ lfs f0, lbl_805AD610@sda21(r2) -/* 8025253C 0024F49C 38 80 00 00 */ li r4, 0 -/* 80252540 0024F4A0 D0 38 04 7C */ stfs f1, 0x47c(r24) -/* 80252544 0024F4A4 D0 18 04 84 */ stfs f0, 0x484(r24) -/* 80252548 0024F4A8 C0 1B 00 1C */ lfs f0, 0x1c(r27) -/* 8025254C 0024F4AC D0 18 04 88 */ stfs f0, 0x488(r24) -/* 80252550 0024F4B0 98 18 04 8C */ stb r0, 0x48c(r24) -/* 80252554 0024F4B4 80 78 04 78 */ lwz r3, 0x478(r24) -/* 80252558 0024F4B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025255C 0024F4BC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80252560 0024F4C0 7D 89 03 A6 */ mtctr r12 -/* 80252564 0024F4C4 4E 80 04 21 */ bctrl -/* 80252568 0024F4C8 80 78 04 68 */ lwz r3, 0x468(r24) -/* 8025256C 0024F4CC 38 80 00 00 */ li r4, 0 -/* 80252570 0024F4D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80252574 0024F4D4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80252578 0024F4D8 7D 89 03 A6 */ mtctr r12 -/* 8025257C 0024F4DC 4E 80 04 21 */ bctrl -/* 80252580 0024F4E0 7F 03 C3 78 */ mr r3, r24 -/* 80252584 0024F4E4 BA A1 00 74 */ lmw r21, 0x74(r1) -/* 80252588 0024F4E8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025258C 0024F4EC 7C 08 03 A6 */ mtlr r0 -/* 80252590 0024F4F0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80252594 0024F4F4 4E 80 00 20 */ blr - -.global __dt__7CRidleyFv -__dt__7CRidleyFv: -/* 80252598 0024F4F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025259C 0024F4FC 7C 08 02 A6 */ mflr r0 -/* 802525A0 0024F500 90 01 00 14 */ stw r0, 0x14(r1) -/* 802525A4 0024F504 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802525A8 0024F508 7C 9F 23 78 */ mr r31, r4 -/* 802525AC 0024F50C 93 C1 00 08 */ stw r30, 8(r1) -/* 802525B0 0024F510 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802525B4 0024F514 41 82 01 E4 */ beq lbl_80252798 -/* 802525B8 0024F518 3C 60 80 3F */ lis r3, lbl_803E9258@ha -/* 802525BC 0024F51C 34 1E 0D 10 */ addic. r0, r30, 0xd10 -/* 802525C0 0024F520 38 03 92 58 */ addi r0, r3, lbl_803E9258@l -/* 802525C4 0024F524 90 1E 00 00 */ stw r0, 0(r30) -/* 802525C8 0024F528 41 82 00 10 */ beq lbl_802525D8 -/* 802525CC 0024F52C 80 7E 0D 10 */ lwz r3, 0xd10(r30) -/* 802525D0 0024F530 38 80 00 01 */ li r4, 1 -/* 802525D4 0024F534 48 04 BD AD */ bl __dt__16CProjectedShadowFv -lbl_802525D8: -/* 802525D8 0024F538 34 1E 0C E4 */ addic. r0, r30, 0xce4 -/* 802525DC 0024F53C 41 82 00 58 */ beq lbl_80252634 -/* 802525E0 0024F540 80 BE 0C E4 */ lwz r5, 0xce4(r30) -/* 802525E4 0024F544 38 60 00 00 */ li r3, 0 -/* 802525E8 0024F548 2C 05 00 00 */ cmpwi r5, 0 -/* 802525EC 0024F54C 40 81 00 40 */ ble lbl_8025262C -/* 802525F0 0024F550 2C 05 00 08 */ cmpwi r5, 8 -/* 802525F4 0024F554 38 85 FF F8 */ addi r4, r5, -8 -/* 802525F8 0024F558 40 81 00 20 */ ble lbl_80252618 -/* 802525FC 0024F55C 38 04 00 07 */ addi r0, r4, 7 -/* 80252600 0024F560 54 00 E8 FE */ srwi r0, r0, 3 -/* 80252604 0024F564 7C 09 03 A6 */ mtctr r0 -/* 80252608 0024F568 2C 04 00 00 */ cmpwi r4, 0 -/* 8025260C 0024F56C 40 81 00 0C */ ble lbl_80252618 -lbl_80252610: -/* 80252610 0024F570 38 63 00 08 */ addi r3, r3, 8 -/* 80252614 0024F574 42 00 FF FC */ bdnz lbl_80252610 -lbl_80252618: -/* 80252618 0024F578 7C 03 28 50 */ subf r0, r3, r5 -/* 8025261C 0024F57C 7C 09 03 A6 */ mtctr r0 -/* 80252620 0024F580 7C 03 28 00 */ cmpw r3, r5 -/* 80252624 0024F584 40 80 00 08 */ bge lbl_8025262C -lbl_80252628: -/* 80252628 0024F588 42 00 00 00 */ bdnz lbl_80252628 -lbl_8025262C: -/* 8025262C 0024F58C 38 00 00 00 */ li r0, 0 -/* 80252630 0024F590 90 1E 0C E4 */ stw r0, 0xce4(r30) -lbl_80252634: -/* 80252634 0024F594 34 1E 0C DC */ addic. r0, r30, 0xcdc -/* 80252638 0024F598 41 82 00 30 */ beq lbl_80252668 -/* 8025263C 0024F59C 88 1E 0C DC */ lbz r0, 0xcdc(r30) -/* 80252640 0024F5A0 28 00 00 00 */ cmplwi r0, 0 -/* 80252644 0024F5A4 41 82 00 24 */ beq lbl_80252668 -/* 80252648 0024F5A8 80 7E 0C E0 */ lwz r3, 0xce0(r30) -/* 8025264C 0024F5AC 28 03 00 00 */ cmplwi r3, 0 -/* 80252650 0024F5B0 41 82 00 18 */ beq lbl_80252668 -/* 80252654 0024F5B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80252658 0024F5B8 38 80 00 01 */ li r4, 1 -/* 8025265C 0024F5BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80252660 0024F5C0 7D 89 03 A6 */ mtctr r12 -/* 80252664 0024F5C4 4E 80 04 21 */ bctrl -lbl_80252668: -/* 80252668 0024F5C8 34 1E 0C D0 */ addic. r0, r30, 0xcd0 -/* 8025266C 0024F5CC 41 82 00 18 */ beq lbl_80252684 -/* 80252670 0024F5D0 34 1E 0C D0 */ addic. r0, r30, 0xcd0 -/* 80252674 0024F5D4 41 82 00 10 */ beq lbl_80252684 -/* 80252678 0024F5D8 38 7E 0C D0 */ addi r3, r30, 0xcd0 -/* 8025267C 0024F5DC 38 80 00 00 */ li r4, 0 -/* 80252680 0024F5E0 48 0E E7 C1 */ bl __dt__6CTokenFv -lbl_80252684: -/* 80252684 0024F5E4 34 1E 0C 3C */ addic. r0, r30, 0xc3c -/* 80252688 0024F5E8 41 82 00 20 */ beq lbl_802526A8 -/* 8025268C 0024F5EC 34 1E 0C 3C */ addic. r0, r30, 0xc3c -/* 80252690 0024F5F0 41 82 00 18 */ beq lbl_802526A8 -/* 80252694 0024F5F4 34 1E 0C 3C */ addic. r0, r30, 0xc3c -/* 80252698 0024F5F8 41 82 00 10 */ beq lbl_802526A8 -/* 8025269C 0024F5FC 38 7E 0C 3C */ addi r3, r30, 0xc3c -/* 802526A0 0024F600 38 80 00 00 */ li r4, 0 -/* 802526A4 0024F604 48 0E E7 9D */ bl __dt__6CTokenFv -lbl_802526A8: -/* 802526A8 0024F608 34 1E 0C 14 */ addic. r0, r30, 0xc14 -/* 802526AC 0024F60C 41 82 00 20 */ beq lbl_802526CC -/* 802526B0 0024F610 34 1E 0C 14 */ addic. r0, r30, 0xc14 -/* 802526B4 0024F614 41 82 00 18 */ beq lbl_802526CC -/* 802526B8 0024F618 34 1E 0C 14 */ addic. r0, r30, 0xc14 -/* 802526BC 0024F61C 41 82 00 10 */ beq lbl_802526CC -/* 802526C0 0024F620 38 7E 0C 14 */ addi r3, r30, 0xc14 -/* 802526C4 0024F624 38 80 00 00 */ li r4, 0 -/* 802526C8 0024F628 48 0E E7 79 */ bl __dt__6CTokenFv -lbl_802526CC: -/* 802526CC 0024F62C 34 1E 0B 68 */ addic. r0, r30, 0xb68 -/* 802526D0 0024F630 41 82 00 20 */ beq lbl_802526F0 -/* 802526D4 0024F634 34 1E 0B 68 */ addic. r0, r30, 0xb68 -/* 802526D8 0024F638 41 82 00 18 */ beq lbl_802526F0 -/* 802526DC 0024F63C 34 1E 0B 68 */ addic. r0, r30, 0xb68 -/* 802526E0 0024F640 41 82 00 10 */ beq lbl_802526F0 -/* 802526E4 0024F644 38 7E 0B 68 */ addi r3, r30, 0xb68 -/* 802526E8 0024F648 38 80 00 00 */ li r4, 0 -/* 802526EC 0024F64C 48 0E E7 55 */ bl __dt__6CTokenFv -lbl_802526F0: -/* 802526F0 0024F650 34 1E 0B 2C */ addic. r0, r30, 0xb2c -/* 802526F4 0024F654 41 82 00 14 */ beq lbl_80252708 -/* 802526F8 0024F658 34 1E 0B 50 */ addic. r0, r30, 0xb50 -/* 802526FC 0024F65C 41 82 00 0C */ beq lbl_80252708 -/* 80252700 0024F660 38 00 00 00 */ li r0, 0 -/* 80252704 0024F664 98 1E 0B 5C */ stb r0, 0xb5c(r30) -lbl_80252708: -/* 80252708 0024F668 38 7E 0A 38 */ addi r3, r30, 0xa38 -/* 8025270C 0024F66C 38 80 FF FF */ li r4, -1 -/* 80252710 0024F670 4B EC 43 3D */ bl __dt__10CModelDataFv -/* 80252714 0024F674 38 7E 09 E4 */ addi r3, r30, 0x9e4 -/* 80252718 0024F678 38 80 FF FF */ li r4, -1 -/* 8025271C 0024F67C 4B EC 43 31 */ bl __dt__10CModelDataFv -/* 80252720 0024F680 38 7E 09 98 */ addi r3, r30, 0x998 -/* 80252724 0024F684 38 80 FF FF */ li r4, -1 -/* 80252728 0024F688 4B EC 43 25 */ bl __dt__10CModelDataFv -/* 8025272C 0024F68C 34 1E 09 8C */ addic. r0, r30, 0x98c -/* 80252730 0024F690 41 82 00 18 */ beq lbl_80252748 -/* 80252734 0024F694 34 1E 09 8C */ addic. r0, r30, 0x98c -/* 80252738 0024F698 41 82 00 10 */ beq lbl_80252748 -/* 8025273C 0024F69C 38 7E 09 8C */ addi r3, r30, 0x98c -/* 80252740 0024F6A0 38 80 00 00 */ li r4, 0 -/* 80252744 0024F6A4 48 0E E6 FD */ bl __dt__6CTokenFv -lbl_80252748: -/* 80252748 0024F6A8 34 1E 09 84 */ addic. r0, r30, 0x984 -/* 8025274C 0024F6AC 41 82 00 10 */ beq lbl_8025275C -/* 80252750 0024F6B0 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 80252754 0024F6B4 38 80 00 01 */ li r4, 1 -/* 80252758 0024F6B8 4B F5 51 85 */ bl sub_801a78dc -lbl_8025275C: -/* 8025275C 0024F6BC 34 1E 09 80 */ addic. r0, r30, 0x980 -/* 80252760 0024F6C0 41 82 00 10 */ beq lbl_80252770 -/* 80252764 0024F6C4 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 80252768 0024F6C8 38 80 00 01 */ li r4, 1 -/* 8025276C 0024F6CC 4B F5 51 71 */ bl sub_801a78dc -lbl_80252770: -/* 80252770 0024F6D0 38 7E 05 68 */ addi r3, r30, 0x568 -/* 80252774 0024F6D4 38 80 FF FF */ li r4, -1 -/* 80252778 0024F6D8 48 00 00 3D */ bl sub_802527b4 -/* 8025277C 0024F6DC 7F C3 F3 78 */ mr r3, r30 -/* 80252780 0024F6E0 38 80 00 00 */ li r4, 0 -/* 80252784 0024F6E4 4B E2 4D ED */ bl __dt__10CPatternedFv -/* 80252788 0024F6E8 7F E0 07 35 */ extsh. r0, r31 -/* 8025278C 0024F6EC 40 81 00 0C */ ble lbl_80252798 -/* 80252790 0024F6F0 7F C3 F3 78 */ mr r3, r30 -/* 80252794 0024F6F4 48 0C 31 9D */ bl Free__7CMemoryFPCv -lbl_80252798: -/* 80252798 0024F6F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025279C 0024F6FC 7F C3 F3 78 */ mr r3, r30 -/* 802527A0 0024F700 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802527A4 0024F704 83 C1 00 08 */ lwz r30, 8(r1) -/* 802527A8 0024F708 7C 08 03 A6 */ mtlr r0 -/* 802527AC 0024F70C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802527B0 0024F710 4E 80 00 20 */ blr - -.global sub_802527b4 -sub_802527b4: -/* 802527B4 0024F714 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802527B8 0024F718 7C 08 02 A6 */ mflr r0 -/* 802527BC 0024F71C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802527C0 0024F720 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802527C4 0024F724 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802527C8 0024F728 41 82 00 E0 */ beq lbl_802528A8 -/* 802527CC 0024F72C 34 1F 02 B4 */ addic. r0, r31, 0x2b4 -/* 802527D0 0024F730 41 82 00 40 */ beq lbl_80252810 -/* 802527D4 0024F734 34 1F 03 34 */ addic. r0, r31, 0x334 -/* 802527D8 0024F738 41 82 00 10 */ beq lbl_802527E8 -/* 802527DC 0024F73C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802527E0 0024F740 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802527E4 0024F744 90 1F 03 34 */ stw r0, 0x334(r31) -lbl_802527E8: -/* 802527E8 0024F748 34 1F 02 F8 */ addic. r0, r31, 0x2f8 -/* 802527EC 0024F74C 41 82 00 10 */ beq lbl_802527FC -/* 802527F0 0024F750 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802527F4 0024F754 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802527F8 0024F758 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_802527FC: -/* 802527FC 0024F75C 34 1F 02 BC */ addic. r0, r31, 0x2bc -/* 80252800 0024F760 41 82 00 10 */ beq lbl_80252810 -/* 80252804 0024F764 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80252808 0024F768 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025280C 0024F76C 90 1F 02 BC */ stw r0, 0x2bc(r31) -lbl_80252810: -/* 80252810 0024F770 34 1F 01 C0 */ addic. r0, r31, 0x1c0 -/* 80252814 0024F774 41 82 00 40 */ beq lbl_80252854 -/* 80252818 0024F778 34 1F 02 40 */ addic. r0, r31, 0x240 -/* 8025281C 0024F77C 41 82 00 10 */ beq lbl_8025282C -/* 80252820 0024F780 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80252824 0024F784 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80252828 0024F788 90 1F 02 40 */ stw r0, 0x240(r31) -lbl_8025282C: -/* 8025282C 0024F78C 34 1F 02 04 */ addic. r0, r31, 0x204 -/* 80252830 0024F790 41 82 00 10 */ beq lbl_80252840 -/* 80252834 0024F794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80252838 0024F798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025283C 0024F79C 90 1F 02 04 */ stw r0, 0x204(r31) -lbl_80252840: -/* 80252840 0024F7A0 34 1F 01 C8 */ addic. r0, r31, 0x1c8 -/* 80252844 0024F7A4 41 82 00 10 */ beq lbl_80252854 -/* 80252848 0024F7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025284C 0024F7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80252850 0024F7B0 90 1F 01 C8 */ stw r0, 0x1c8(r31) -lbl_80252854: -/* 80252854 0024F7B4 34 1F 00 CC */ addic. r0, r31, 0xcc -/* 80252858 0024F7B8 41 82 00 40 */ beq lbl_80252898 -/* 8025285C 0024F7BC 34 1F 01 4C */ addic. r0, r31, 0x14c -/* 80252860 0024F7C0 41 82 00 10 */ beq lbl_80252870 -/* 80252864 0024F7C4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80252868 0024F7C8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025286C 0024F7CC 90 1F 01 4C */ stw r0, 0x14c(r31) -lbl_80252870: -/* 80252870 0024F7D0 34 1F 01 10 */ addic. r0, r31, 0x110 -/* 80252874 0024F7D4 41 82 00 10 */ beq lbl_80252884 -/* 80252878 0024F7D8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025287C 0024F7DC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80252880 0024F7E0 90 1F 01 10 */ stw r0, 0x110(r31) -lbl_80252884: -/* 80252884 0024F7E4 34 1F 00 D4 */ addic. r0, r31, 0xd4 -/* 80252888 0024F7E8 41 82 00 10 */ beq lbl_80252898 -/* 8025288C 0024F7EC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80252890 0024F7F0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80252894 0024F7F4 90 1F 00 D4 */ stw r0, 0xd4(r31) -lbl_80252898: -/* 80252898 0024F7F8 7C 80 07 35 */ extsh. r0, r4 -/* 8025289C 0024F7FC 40 81 00 0C */ ble lbl_802528A8 -/* 802528A0 0024F800 7F E3 FB 78 */ mr r3, r31 -/* 802528A4 0024F804 48 0C 30 8D */ bl Free__7CMemoryFPCv -lbl_802528A8: -/* 802528A8 0024F808 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802528AC 0024F80C 7F E3 FB 78 */ mr r3, r31 -/* 802528B0 0024F810 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802528B4 0024F814 7C 08 03 A6 */ mtlr r0 -/* 802528B8 0024F818 38 21 00 10 */ addi r1, r1, 0x10 -/* 802528BC 0024F81C 4E 80 00 20 */ blr - -.global GetGravityConstant__7CRidleyCFv -GetGravityConstant__7CRidleyCFv: -/* 802528C0 0024F820 C0 22 B9 0C */ lfs f1, lbl_805AD62C@sda21(r2) -/* 802528C4 0024F824 4E 80 00 20 */ blr - -.global GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__7CRidleyCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 802528C8 0024F828 38 60 00 10 */ li r3, 0x10 -/* 802528CC 0024F82C 4E 80 00 20 */ blr - -.global SetAIStage__7CRidleyFR13CStateManagerf -SetAIStage__7CRidleyFR13CStateManagerf: -/* 802528D0 0024F830 FC 00 08 1E */ fctiwz f0, f1 -/* 802528D4 0024F834 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802528D8 0024F838 D8 01 00 08 */ stfd f0, 8(r1) -/* 802528DC 0024F83C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802528E0 0024F840 90 03 0C 64 */ stw r0, 0xc64(r3) -/* 802528E4 0024F844 38 60 00 01 */ li r3, 1 -/* 802528E8 0024F848 38 21 00 10 */ addi r1, r1, 0x10 -/* 802528EC 0024F84C 4E 80 00 20 */ blr - -.global HitSomething__7CRidleyFR13CStateManagerf -HitSomething__7CRidleyFR13CStateManagerf: -/* 802528F0 0024F850 88 03 0A 32 */ lbz r0, 0xa32(r3) -/* 802528F4 0024F854 38 80 00 00 */ li r4, 0 -/* 802528F8 0024F858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802528FC 0024F85C 40 82 00 10 */ bne lbl_8025290C -/* 80252900 0024F860 80 03 0C 64 */ lwz r0, 0xc64(r3) -/* 80252904 0024F864 2C 00 00 03 */ cmpwi r0, 3 -/* 80252908 0024F868 40 82 00 08 */ bne lbl_80252910 -lbl_8025290C: -/* 8025290C 0024F86C 38 80 00 01 */ li r4, 1 -lbl_80252910: -/* 80252910 0024F870 7C 83 23 78 */ mr r3, r4 -/* 80252914 0024F874 4E 80 00 20 */ blr - -.global Attacked__7CRidleyFR13CStateManagerf -Attacked__7CRidleyFR13CStateManagerf: -/* 80252918 0024F878 88 83 0A 31 */ lbz r4, 0xa31(r3) -/* 8025291C 0024F87C 38 60 00 00 */ li r3, 0 -/* 80252920 0024F880 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80252924 0024F884 4D 82 00 20 */ beqlr -/* 80252928 0024F888 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8025292C 0024F88C 4D 82 00 20 */ beqlr -/* 80252930 0024F890 38 60 00 01 */ li r3, 1 -/* 80252934 0024F894 4E 80 00 20 */ blr - -.global ShotAt__7CRidleyFR13CStateManagerf -ShotAt__7CRidleyFR13CStateManagerf: -/* 80252938 0024F898 88 03 0A 32 */ lbz r0, 0xa32(r3) -/* 8025293C 0024F89C 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 80252940 0024F8A0 4E 80 00 20 */ blr - -.global IsDizzy__7CRidleyFR13CStateManagerf -IsDizzy__7CRidleyFR13CStateManagerf: -/* 80252944 0024F8A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80252948 0024F8A8 7C 08 02 A6 */ mflr r0 -/* 8025294C 0024F8AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80252950 0024F8B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80252954 0024F8B4 7C 7F 1B 78 */ mr r31, r3 -/* 80252958 0024F8B8 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 8025295C 0024F8BC 2C 00 00 03 */ cmpwi r0, 3 -/* 80252960 0024F8C0 40 82 00 0C */ bne lbl_8025296C -/* 80252964 0024F8C4 38 60 00 01 */ li r3, 1 -/* 80252968 0024F8C8 48 00 00 A8 */ b lbl_80252A10 -lbl_8025296C: -/* 8025296C 0024F8CC 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 80252970 0024F8D0 2C 00 00 03 */ cmpwi r0, 3 -/* 80252974 0024F8D4 41 82 00 98 */ beq lbl_80252A0C -/* 80252978 0024F8D8 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8025297C 0024F8DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252980 0024F8E0 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80252984 0024F8E4 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80252988 0024F8E8 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8025298C 0024F8EC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80252990 0024F8F0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80252994 0024F8F4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80252998 0024F8F8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8025299C 0024F8FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 802529A0 0024F900 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802529A4 0024F904 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802529A8 0024F908 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802529AC 0024F90C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802529B0 0024F910 48 0C 1F 09 */ bl Magnitude__9CVector3fCFv -/* 802529B4 0024F914 C0 1F 03 00 */ lfs f0, 0x300(r31) -/* 802529B8 0024F918 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802529BC 0024F91C 40 80 00 50 */ bge lbl_80252A0C -/* 802529C0 0024F920 C0 9F 00 48 */ lfs f4, 0x48(r31) -/* 802529C4 0024F924 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802529C8 0024F928 C0 7F 00 38 */ lfs f3, 0x38(r31) -/* 802529CC 0024F92C EC 00 01 32 */ fmuls f0, f0, f4 -/* 802529D0 0024F930 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802529D4 0024F934 C0 BF 00 58 */ lfs f5, 0x58(r31) -/* 802529D8 0024F938 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802529DC 0024F93C EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 802529E0 0024F940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802529E4 0024F944 D0 61 00 08 */ stfs f3, 8(r1) -/* 802529E8 0024F948 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 802529EC 0024F94C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802529F0 0024F950 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802529F4 0024F954 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802529F8 0024F958 40 80 00 14 */ bge lbl_80252A0C -/* 802529FC 0024F95C 38 00 00 03 */ li r0, 3 -/* 80252A00 0024F960 38 60 00 01 */ li r3, 1 -/* 80252A04 0024F964 90 1F 0B 0C */ stw r0, 0xb0c(r31) -/* 80252A08 0024F968 48 00 00 08 */ b lbl_80252A10 -lbl_80252A0C: -/* 80252A0C 0024F96C 38 60 00 00 */ li r3, 0 -lbl_80252A10: -/* 80252A10 0024F970 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80252A14 0024F974 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80252A18 0024F978 7C 08 03 A6 */ mtlr r0 -/* 80252A1C 0024F97C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80252A20 0024F980 4E 80 00 20 */ blr - -.global ShouldMove__7CRidleyFR13CStateManagerf -ShouldMove__7CRidleyFR13CStateManagerf: -/* 80252A24 0024F984 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80252A28 0024F988 7C 08 02 A6 */ mflr r0 -/* 80252A2C 0024F98C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80252A30 0024F990 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80252A34 0024F994 7C 7F 1B 78 */ mr r31, r3 -/* 80252A38 0024F998 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 80252A3C 0024F99C 2C 00 00 05 */ cmpwi r0, 5 -/* 80252A40 0024F9A0 40 82 00 1C */ bne lbl_80252A5C -/* 80252A44 0024F9A4 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 80252A48 0024F9A8 38 60 00 01 */ li r3, 1 -/* 80252A4C 0024F9AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80252A50 0024F9B0 38 60 00 01 */ li r3, 1 -/* 80252A54 0024F9B4 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80252A58 0024F9B8 48 00 00 CC */ b lbl_80252B24 -lbl_80252A5C: -/* 80252A5C 0024F9BC 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 80252A60 0024F9C0 2C 00 00 05 */ cmpwi r0, 5 -/* 80252A64 0024F9C4 41 82 00 BC */ beq lbl_80252B20 -/* 80252A68 0024F9C8 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80252A6C 0024F9CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252A70 0024F9D0 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80252A74 0024F9D4 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80252A78 0024F9D8 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80252A7C 0024F9DC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80252A80 0024F9E0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80252A84 0024F9E4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80252A88 0024F9E8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80252A8C 0024F9EC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80252A90 0024F9F0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80252A94 0024F9F4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80252A98 0024F9F8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80252A9C 0024F9FC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80252AA0 0024FA00 48 0C 1E 19 */ bl Magnitude__9CVector3fCFv -/* 80252AA4 0024FA04 C0 1F 03 00 */ lfs f0, 0x300(r31) -/* 80252AA8 0024FA08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252AAC 0024FA0C 40 81 00 74 */ ble lbl_80252B20 -/* 80252AB0 0024FA10 C0 BF 00 48 */ lfs f5, 0x48(r31) -/* 80252AB4 0024FA14 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80252AB8 0024FA18 C0 9F 00 38 */ lfs f4, 0x38(r31) -/* 80252ABC 0024FA1C EC 40 01 72 */ fmuls f2, f0, f5 -/* 80252AC0 0024FA20 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80252AC4 0024FA24 C0 DF 00 58 */ lfs f6, 0x58(r31) -/* 80252AC8 0024FA28 C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) -/* 80252ACC 0024FA2C EC 43 11 3A */ fmadds f2, f3, f4, f2 -/* 80252AD0 0024FA30 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80252AD4 0024FA34 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80252AD8 0024FA38 D0 81 00 08 */ stfs f4, 8(r1) -/* 80252ADC 0024FA3C EC 23 11 BA */ fmadds f1, f3, f6, f2 -/* 80252AE0 0024FA40 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80252AE4 0024FA44 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80252AE8 0024FA48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252AEC 0024FA4C 40 81 00 34 */ ble lbl_80252B20 -/* 80252AF0 0024FA50 7F E3 FB 78 */ mr r3, r31 -/* 80252AF4 0024FA54 48 00 0E 6D */ bl sub_80253960 -/* 80252AF8 0024FA58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252AFC 0024FA5C 41 82 00 24 */ beq lbl_80252B20 -/* 80252B00 0024FA60 88 7F 0A 34 */ lbz r3, 0xa34(r31) -/* 80252B04 0024FA64 38 00 00 01 */ li r0, 1 -/* 80252B08 0024FA68 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 80252B0C 0024FA6C 38 00 00 05 */ li r0, 5 -/* 80252B10 0024FA70 98 7F 0A 34 */ stb r3, 0xa34(r31) -/* 80252B14 0024FA74 38 60 00 01 */ li r3, 1 -/* 80252B18 0024FA78 90 1F 0B 0C */ stw r0, 0xb0c(r31) -/* 80252B1C 0024FA7C 48 00 00 08 */ b lbl_80252B24 -lbl_80252B20: -/* 80252B20 0024FA80 38 60 00 00 */ li r3, 0 -lbl_80252B24: -/* 80252B24 0024FA84 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80252B28 0024FA88 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80252B2C 0024FA8C 7C 08 03 A6 */ mtlr r0 -/* 80252B30 0024FA90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80252B34 0024FA94 4E 80 00 20 */ blr - -.global TooClose__7CRidleyFR13CStateManagerf -TooClose__7CRidleyFR13CStateManagerf: -/* 80252B38 0024FA98 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80252B3C 0024FA9C 7C 08 02 A6 */ mflr r0 -/* 80252B40 0024FAA0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80252B44 0024FAA4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80252B48 0024FAA8 7C 7F 1B 78 */ mr r31, r3 -/* 80252B4C 0024FAAC 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 80252B50 0024FAB0 2C 00 00 04 */ cmpwi r0, 4 -/* 80252B54 0024FAB4 40 82 00 0C */ bne lbl_80252B60 -/* 80252B58 0024FAB8 38 60 00 01 */ li r3, 1 -/* 80252B5C 0024FABC 48 00 00 AC */ b lbl_80252C08 -lbl_80252B60: -/* 80252B60 0024FAC0 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 80252B64 0024FAC4 2C 00 00 04 */ cmpwi r0, 4 -/* 80252B68 0024FAC8 41 82 00 9C */ beq lbl_80252C04 -/* 80252B6C 0024FACC 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80252B70 0024FAD0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252B74 0024FAD4 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80252B78 0024FAD8 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80252B7C 0024FADC C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80252B80 0024FAE0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80252B84 0024FAE4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80252B88 0024FAE8 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80252B8C 0024FAEC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80252B90 0024FAF0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80252B94 0024FAF4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80252B98 0024FAF8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80252B9C 0024FAFC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80252BA0 0024FB00 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80252BA4 0024FB04 48 0C 1D 15 */ bl Magnitude__9CVector3fCFv -/* 80252BA8 0024FB08 C0 1F 02 FC */ lfs f0, 0x2fc(r31) -/* 80252BAC 0024FB0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252BB0 0024FB10 40 80 00 54 */ bge lbl_80252C04 -/* 80252BB4 0024FB14 C0 BF 00 48 */ lfs f5, 0x48(r31) -/* 80252BB8 0024FB18 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80252BBC 0024FB1C C0 9F 00 38 */ lfs f4, 0x38(r31) -/* 80252BC0 0024FB20 EC 40 01 72 */ fmuls f2, f0, f5 -/* 80252BC4 0024FB24 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80252BC8 0024FB28 C0 DF 00 58 */ lfs f6, 0x58(r31) -/* 80252BCC 0024FB2C C0 02 B9 20 */ lfs f0, lbl_805AD640@sda21(r2) -/* 80252BD0 0024FB30 EC 43 11 3A */ fmadds f2, f3, f4, f2 -/* 80252BD4 0024FB34 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80252BD8 0024FB38 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80252BDC 0024FB3C D0 81 00 08 */ stfs f4, 8(r1) -/* 80252BE0 0024FB40 EC 23 11 BA */ fmadds f1, f3, f6, f2 -/* 80252BE4 0024FB44 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80252BE8 0024FB48 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80252BEC 0024FB4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252BF0 0024FB50 40 81 00 14 */ ble lbl_80252C04 -/* 80252BF4 0024FB54 38 00 00 04 */ li r0, 4 -/* 80252BF8 0024FB58 38 60 00 01 */ li r3, 1 -/* 80252BFC 0024FB5C 90 1F 0B 0C */ stw r0, 0xb0c(r31) -/* 80252C00 0024FB60 48 00 00 08 */ b lbl_80252C08 -lbl_80252C04: -/* 80252C04 0024FB64 38 60 00 00 */ li r3, 0 -lbl_80252C08: -/* 80252C08 0024FB68 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80252C0C 0024FB6C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80252C10 0024FB70 7C 08 03 A6 */ mtlr r0 -/* 80252C14 0024FB74 38 21 00 30 */ addi r1, r1, 0x30 -/* 80252C18 0024FB78 4E 80 00 20 */ blr - -.global AttackOver__7CRidleyFR13CStateManagerf -AttackOver__7CRidleyFR13CStateManagerf: -/* 80252C1C 0024FB7C 80 03 0C C4 */ lwz r0, 0xcc4(r3) -/* 80252C20 0024FB80 7C 00 00 34 */ cntlzw r0, r0 -/* 80252C24 0024FB84 54 03 D9 7E */ srwi r3, r0, 5 -/* 80252C28 0024FB88 4E 80 00 20 */ blr - -.global ShouldTurn__7CRidleyFR13CStateManagerf -ShouldTurn__7CRidleyFR13CStateManagerf: -/* 80252C2C 0024FB8C 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252C30 0024FB90 20 00 00 05 */ subfic r0, r0, 5 -/* 80252C34 0024FB94 7C 00 00 34 */ cntlzw r0, r0 -/* 80252C38 0024FB98 54 03 D9 7E */ srwi r3, r0, 5 -/* 80252C3C 0024FB9C 4E 80 00 20 */ blr - -.global ShouldDodge__7CRidleyFR13CStateManagerf -ShouldDodge__7CRidleyFR13CStateManagerf: -/* 80252C40 0024FBA0 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252C44 0024FBA4 20 00 00 03 */ subfic r0, r0, 3 -/* 80252C48 0024FBA8 7C 00 00 34 */ cntlzw r0, r0 -/* 80252C4C 0024FBAC 54 03 D9 7E */ srwi r3, r0, 5 -/* 80252C50 0024FBB0 4E 80 00 20 */ blr - -.global ShouldRetreat__7CRidleyFR13CStateManagerf -ShouldRetreat__7CRidleyFR13CStateManagerf: -/* 80252C54 0024FBB4 88 03 0A 34 */ lbz r0, 0xa34(r3) -/* 80252C58 0024FBB8 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f -/* 80252C5C 0024FBBC 4E 80 00 20 */ blr - -.global ShouldCrouch__7CRidleyFR13CStateManagerf -ShouldCrouch__7CRidleyFR13CStateManagerf: -/* 80252C60 0024FBC0 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252C64 0024FBC4 20 00 00 01 */ subfic r0, r0, 1 -/* 80252C68 0024FBC8 7C 00 00 34 */ cntlzw r0, r0 -/* 80252C6C 0024FBCC 54 03 D9 7E */ srwi r3, r0, 5 -/* 80252C70 0024FBD0 4E 80 00 20 */ blr - -.global InRange__7CRidleyFR13CStateManagerf -InRange__7CRidleyFR13CStateManagerf: -/* 80252C74 0024FBD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252C78 0024FBD8 7C 08 02 A6 */ mflr r0 -/* 80252C7C 0024FBDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80252C80 0024FBE0 C0 A3 00 60 */ lfs f5, 0x60(r3) -/* 80252C84 0024FBE4 C0 83 00 50 */ lfs f4, 0x50(r3) -/* 80252C88 0024FBE8 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80252C8C 0024FBEC C0 43 02 E4 */ lfs f2, 0x2e4(r3) -/* 80252C90 0024FBF0 C0 23 02 E8 */ lfs f1, 0x2e8(r3) -/* 80252C94 0024FBF4 C0 03 02 E0 */ lfs f0, 0x2e0(r3) -/* 80252C98 0024FBF8 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80252C9C 0024FBFC EC 25 08 28 */ fsubs f1, f5, f1 -/* 80252CA0 0024FC00 D0 61 00 08 */ stfs f3, 8(r1) -/* 80252CA4 0024FC04 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80252CA8 0024FC08 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252CAC 0024FC0C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80252CB0 0024FC10 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80252CB4 0024FC14 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80252CB8 0024FC18 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80252CBC 0024FC1C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80252CC0 0024FC20 48 0C 1B F9 */ bl Magnitude__9CVector3fCFv -/* 80252CC4 0024FC24 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) -/* 80252CC8 0024FC28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252CCC 0024FC2C 7C 00 00 26 */ mfcr r0 -/* 80252CD0 0024FC30 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80252CD4 0024FC34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80252CD8 0024FC38 7C 08 03 A6 */ mtlr r0 -/* 80252CDC 0024FC3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252CE0 0024FC40 4E 80 00 20 */ blr - -.global AIStage__7CRidleyFR13CStateManagerf -AIStage__7CRidleyFR13CStateManagerf: -/* 80252CE4 0024FC44 FC 00 08 1E */ fctiwz f0, f1 -/* 80252CE8 0024FC48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252CEC 0024FC4C 80 A3 0C 64 */ lwz r5, 0xc64(r3) -/* 80252CF0 0024FC50 D8 01 00 08 */ stfd f0, 8(r1) -/* 80252CF4 0024FC54 7C A4 FE 70 */ srawi r4, r5, 0x1f -/* 80252CF8 0024FC58 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80252CFC 0024FC5C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80252D00 0024FC60 7C 00 28 10 */ subfc r0, r0, r5 -/* 80252D04 0024FC64 7C 64 19 14 */ adde r3, r4, r3 -/* 80252D08 0024FC68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252D0C 0024FC6C 4E 80 00 20 */ blr - -.global ShouldAttack__7CRidleyFR13CStateManagerf -ShouldAttack__7CRidleyFR13CStateManagerf: -/* 80252D10 0024FC70 80 03 0C 64 */ lwz r0, 0xc64(r3) -/* 80252D14 0024FC74 38 80 00 00 */ li r4, 0 -/* 80252D18 0024FC78 2C 00 00 03 */ cmpwi r0, 3 -/* 80252D1C 0024FC7C 41 82 00 24 */ beq lbl_80252D40 -/* 80252D20 0024FC80 40 80 00 30 */ bge lbl_80252D50 -/* 80252D24 0024FC84 2C 00 00 02 */ cmpwi r0, 2 -/* 80252D28 0024FC88 40 80 00 08 */ bge lbl_80252D30 -/* 80252D2C 0024FC8C 48 00 00 24 */ b lbl_80252D50 -lbl_80252D30: -/* 80252D30 0024FC90 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252D34 0024FC94 7C 00 00 34 */ cntlzw r0, r0 -/* 80252D38 0024FC98 54 04 D9 7E */ srwi r4, r0, 5 -/* 80252D3C 0024FC9C 48 00 00 14 */ b lbl_80252D50 -lbl_80252D40: -/* 80252D40 0024FCA0 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 80252D44 0024FCA4 20 00 00 02 */ subfic r0, r0, 2 -/* 80252D48 0024FCA8 7C 00 00 34 */ cntlzw r0, r0 -/* 80252D4C 0024FCAC 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80252D50: -/* 80252D50 0024FCB0 7C 83 23 78 */ mr r3, r4 -/* 80252D54 0024FCB4 4E 80 00 20 */ blr - -.global ShouldFire__7CRidleyFR13CStateManagerf -ShouldFire__7CRidleyFR13CStateManagerf: -/* 80252D58 0024FCB8 80 03 0C 64 */ lwz r0, 0xc64(r3) -/* 80252D5C 0024FCBC 38 80 00 00 */ li r4, 0 -/* 80252D60 0024FCC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80252D64 0024FCC4 41 82 00 08 */ beq lbl_80252D6C -/* 80252D68 0024FCC8 48 00 00 14 */ b lbl_80252D7C -lbl_80252D6C: -/* 80252D6C 0024FCCC 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252D70 0024FCD0 20 00 00 02 */ subfic r0, r0, 2 -/* 80252D74 0024FCD4 7C 00 00 34 */ cntlzw r0, r0 -/* 80252D78 0024FCD8 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80252D7C: -/* 80252D7C 0024FCDC 7C 83 23 78 */ mr r3, r4 -/* 80252D80 0024FCE0 4E 80 00 20 */ blr - -.global ShouldTaunt__7CRidleyFR13CStateManagerf -ShouldTaunt__7CRidleyFR13CStateManagerf: -/* 80252D84 0024FCE4 80 03 0C 64 */ lwz r0, 0xc64(r3) -/* 80252D88 0024FCE8 38 80 00 00 */ li r4, 0 -/* 80252D8C 0024FCEC 2C 00 00 03 */ cmpwi r0, 3 -/* 80252D90 0024FCF0 41 82 00 28 */ beq lbl_80252DB8 -/* 80252D94 0024FCF4 40 80 00 34 */ bge lbl_80252DC8 -/* 80252D98 0024FCF8 2C 00 00 02 */ cmpwi r0, 2 -/* 80252D9C 0024FCFC 40 80 00 08 */ bge lbl_80252DA4 -/* 80252DA0 0024FD00 48 00 00 28 */ b lbl_80252DC8 -lbl_80252DA4: -/* 80252DA4 0024FD04 80 03 0B 04 */ lwz r0, 0xb04(r3) -/* 80252DA8 0024FD08 20 00 00 04 */ subfic r0, r0, 4 -/* 80252DAC 0024FD0C 7C 00 00 34 */ cntlzw r0, r0 -/* 80252DB0 0024FD10 54 04 D9 7E */ srwi r4, r0, 5 -/* 80252DB4 0024FD14 48 00 00 14 */ b lbl_80252DC8 -lbl_80252DB8: -/* 80252DB8 0024FD18 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 80252DBC 0024FD1C 20 00 00 01 */ subfic r0, r0, 1 -/* 80252DC0 0024FD20 7C 00 00 34 */ cntlzw r0, r0 -/* 80252DC4 0024FD24 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80252DC8: -/* 80252DC8 0024FD28 7C 83 23 78 */ mr r3, r4 -/* 80252DCC 0024FD2C 4E 80 00 20 */ blr - -.global Dead__7CRidleyFR13CStateManager9EStateMsgf -Dead__7CRidleyFR13CStateManager9EStateMsgf: -/* 80252DD0 0024FD30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252DD4 0024FD34 7C 08 02 A6 */ mflr r0 -/* 80252DD8 0024FD38 2C 05 00 00 */ cmpwi r5, 0 -/* 80252DDC 0024FD3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80252DE0 0024FD40 41 82 00 0C */ beq lbl_80252DEC -/* 80252DE4 0024FD44 41 80 00 24 */ blt lbl_80252E08 -/* 80252DE8 0024FD48 48 00 00 20 */ b lbl_80252E08 -lbl_80252DEC: -/* 80252DEC 0024FD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80252DF0 0024FD50 7C 83 23 78 */ mr r3, r4 -/* 80252DF4 0024FD54 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80252DF8 0024FD58 38 81 00 08 */ addi r4, r1, 8 -/* 80252DFC 0024FD5C B0 01 00 08 */ sth r0, 8(r1) -/* 80252E00 0024FD60 38 A0 00 00 */ li r5, 0 -/* 80252E04 0024FD64 4B DF 11 41 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -lbl_80252E08: -/* 80252E08 0024FD68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80252E0C 0024FD6C 7C 08 03 A6 */ mtlr r0 -/* 80252E10 0024FD70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252E14 0024FD74 4E 80 00 20 */ blr - -.global CoverAttack__7CRidleyFR13CStateManager9EStateMsgf -CoverAttack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80252E18 0024FD78 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80252E1C 0024FD7C 7C 08 02 A6 */ mflr r0 -/* 80252E20 0024FD80 2C 05 00 01 */ cmpwi r5, 1 -/* 80252E24 0024FD84 90 01 00 44 */ stw r0, 0x44(r1) -/* 80252E28 0024FD88 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80252E2C 0024FD8C 7C 7F 1B 78 */ mr r31, r3 -/* 80252E30 0024FD90 41 82 00 88 */ beq lbl_80252EB8 -/* 80252E34 0024FD94 40 80 00 10 */ bge lbl_80252E44 -/* 80252E38 0024FD98 2C 05 00 00 */ cmpwi r5, 0 -/* 80252E3C 0024FD9C 40 80 00 14 */ bge lbl_80252E50 -/* 80252E40 0024FDA0 48 00 01 20 */ b lbl_80252F60 -lbl_80252E44: -/* 80252E44 0024FDA4 2C 05 00 03 */ cmpwi r5, 3 -/* 80252E48 0024FDA8 40 80 01 18 */ bge lbl_80252F60 -/* 80252E4C 0024FDAC 48 00 00 A0 */ b lbl_80252EEC -lbl_80252E50: -/* 80252E50 0024FDB0 38 00 00 01 */ li r0, 1 -/* 80252E54 0024FDB4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80252E58 0024FDB8 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80252E5C 0024FDBC C0 3F 09 54 */ lfs f1, 0x954(r31) -/* 80252E60 0024FDC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252E64 0024FDC4 7C A0 00 26 */ mfcr r5 -/* 80252E68 0024FDC8 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80252E6C 0024FDCC 50 A0 2F 38 */ rlwimi r0, r5, 5, 0x1c, 0x1c -/* 80252E70 0024FDD0 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80252E74 0024FDD4 D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 80252E78 0024FDD8 80 BF 09 38 */ lwz r5, 0x938(r31) -/* 80252E7C 0024FDDC 80 1F 09 3C */ lwz r0, 0x93c(r31) -/* 80252E80 0024FDE0 90 BF 0C 8C */ stw r5, 0xc8c(r31) -/* 80252E84 0024FDE4 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 80252E88 0024FDE8 C0 1F 09 40 */ lfs f0, 0x940(r31) -/* 80252E8C 0024FDEC D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 80252E90 0024FDF0 C0 1F 09 44 */ lfs f0, 0x944(r31) -/* 80252E94 0024FDF4 D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 80252E98 0024FDF8 C0 1F 09 48 */ lfs f0, 0x948(r31) -/* 80252E9C 0024FDFC D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 80252EA0 0024FE00 C0 1F 09 4C */ lfs f0, 0x94c(r31) -/* 80252EA4 0024FE04 D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 80252EA8 0024FE08 88 1F 09 50 */ lbz r0, 0x950(r31) -/* 80252EAC 0024FE0C 98 1F 0C A4 */ stb r0, 0xca4(r31) -/* 80252EB0 0024FE10 48 00 36 D1 */ bl sub_80256580 -/* 80252EB4 0024FE14 48 00 00 AC */ b lbl_80252F60 -lbl_80252EB8: -/* 80252EB8 0024FE18 3C A0 80 3F */ lis r5, lbl_803E924C@ha -/* 80252EBC 0024FE1C 38 C1 00 08 */ addi r6, r1, 8 -/* 80252EC0 0024FE20 39 45 92 4C */ addi r10, r5, lbl_803E924C@l -/* 80252EC4 0024FE24 38 A0 00 07 */ li r5, 7 -/* 80252EC8 0024FE28 81 2A 00 00 */ lwz r9, 0(r10) -/* 80252ECC 0024FE2C 38 E0 00 01 */ li r7, 1 -/* 80252ED0 0024FE30 81 0A 00 04 */ lwz r8, 4(r10) -/* 80252ED4 0024FE34 80 0A 00 08 */ lwz r0, 8(r10) -/* 80252ED8 0024FE38 91 21 00 08 */ stw r9, 8(r1) -/* 80252EDC 0024FE3C 91 01 00 0C */ stw r8, 0xc(r1) -/* 80252EE0 0024FE40 90 01 00 10 */ stw r0, 0x10(r1) -/* 80252EE4 0024FE44 4B E2 98 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80252EE8 0024FE48 48 00 00 78 */ b lbl_80252F60 -lbl_80252EEC: -/* 80252EEC 0024FE4C 38 A0 00 00 */ li r5, 0 -/* 80252EF0 0024FE50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80252EF4 0024FE54 90 BF 03 2C */ stw r5, 0x32c(r31) -/* 80252EF8 0024FE58 7F E4 FB 78 */ mr r4, r31 -/* 80252EFC 0024FE5C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252F00 0024FE60 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80252F04 0024FE64 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80252F08 0024FE68 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80252F0C 0024FE6C D0 1F 05 04 */ stfs f0, 0x504(r31) -/* 80252F10 0024FE70 81 9F 00 00 */ lwz r12, 0(r31) -/* 80252F14 0024FE74 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80252F18 0024FE78 7D 89 03 A6 */ mtctr r12 -/* 80252F1C 0024FE7C 4E 80 04 21 */ bctrl -/* 80252F20 0024FE80 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80252F24 0024FE84 7F E3 FB 78 */ mr r3, r31 -/* 80252F28 0024FE88 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80252F2C 0024FE8C 90 9F 0C 8C */ stw r4, 0xc8c(r31) -/* 80252F30 0024FE90 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 80252F34 0024FE94 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80252F38 0024FE98 D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 80252F3C 0024FE9C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80252F40 0024FEA0 D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 80252F44 0024FEA4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80252F48 0024FEA8 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 80252F4C 0024FEAC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80252F50 0024FEB0 D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 80252F54 0024FEB4 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 80252F58 0024FEB8 98 1F 0C A4 */ stb r0, 0xca4(r31) -/* 80252F5C 0024FEBC 48 00 36 21 */ bl nullsub_53 -lbl_80252F60: -/* 80252F60 0024FEC0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80252F64 0024FEC4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80252F68 0024FEC8 7C 08 03 A6 */ mtlr r0 -/* 80252F6C 0024FECC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80252F70 0024FED0 4E 80 00 20 */ blr - -.global Dodge__7CRidleyFR13CStateManager9EStateMsgf -Dodge__7CRidleyFR13CStateManager9EStateMsgf: -/* 80252F74 0024FED4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80252F78 0024FED8 7C 08 02 A6 */ mflr r0 -/* 80252F7C 0024FEDC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80252F80 0024FEE0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80252F84 0024FEE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80252F88 0024FEE8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80252F8C 0024FEEC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80252F90 0024FEF0 FF E0 08 90 */ fmr f31, f1 -/* 80252F94 0024FEF4 2C 05 00 01 */ cmpwi r5, 1 -/* 80252F98 0024FEF8 7C 7E 1B 78 */ mr r30, r3 -/* 80252F9C 0024FEFC 7C 9F 23 78 */ mr r31, r4 -/* 80252FA0 0024FF00 41 82 00 E0 */ beq lbl_80253080 -/* 80252FA4 0024FF04 40 80 00 10 */ bge lbl_80252FB4 -/* 80252FA8 0024FF08 2C 05 00 00 */ cmpwi r5, 0 -/* 80252FAC 0024FF0C 40 80 00 14 */ bge lbl_80252FC0 -/* 80252FB0 0024FF10 48 00 02 3C */ b lbl_802531EC -lbl_80252FB4: -/* 80252FB4 0024FF14 2C 05 00 03 */ cmpwi r5, 3 -/* 80252FB8 0024FF18 40 80 02 34 */ bge lbl_802531EC -/* 80252FBC 0024FF1C 48 00 02 28 */ b lbl_802531E4 -lbl_80252FC0: -/* 80252FC0 0024FF20 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80252FC4 0024FF24 38 61 00 14 */ addi r3, r1, 0x14 -/* 80252FC8 0024FF28 C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 80252FCC 0024FF2C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80252FD0 0024FF30 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 80252FD4 0024FF34 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80252FD8 0024FF38 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80252FDC 0024FF3C 48 0C 12 25 */ bl __ct__9CVector2fFff -/* 80252FE0 0024FF40 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80252FE4 0024FF44 38 61 00 70 */ addi r3, r1, 0x70 -/* 80252FE8 0024FF48 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80252FEC 0024FF4C 38 81 00 64 */ addi r4, r1, 0x64 -/* 80252FF0 0024FF50 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80252FF4 0024FF54 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80252FF8 0024FF58 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80252FFC 0024FF5C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80253000 0024FF60 48 0C 18 51 */ bl AsNormalized__9CVector3fCFv -/* 80253004 0024FF64 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80253008 0024FF68 38 81 00 08 */ addi r4, r1, 8 -/* 8025300C 0024FF6C C0 1E 0A 94 */ lfs f0, 0xa94(r30) -/* 80253010 0024FF70 38 6D 97 B4 */ addi r3, r13, lbl_805A8374@sda21 -/* 80253014 0024FF74 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80253018 0024FF78 38 AD 97 B8 */ addi r5, r13, lbl_805A8378@sda21 -/* 8025301C 0024FF7C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80253020 0024FF80 C0 3E 0A 84 */ lfs f1, 0xa84(r30) -/* 80253024 0024FF84 C0 81 00 78 */ lfs f4, 0x78(r1) -/* 80253028 0024FF88 C0 7E 0A A4 */ lfs f3, 0xaa4(r30) -/* 8025302C 0024FF8C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80253030 0024FF90 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) -/* 80253034 0024FF94 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80253038 0024FF98 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8025303C 0024FF9C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80253040 0024FFA0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80253044 0024FFA4 4B DB 92 71 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80253048 0024FFA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8025304C 0024FFAC 38 00 00 02 */ li r0, 2 -/* 80253050 0024FFB0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80253054 0024FFB4 90 1E 0C 84 */ stw r0, 0xc84(r30) -/* 80253058 0024FFB8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8025305C 0024FFBC 48 0B F4 81 */ bl Float__9CRandom16Fv -/* 80253060 0024FFC0 C0 01 00 08 */ lfs f0, 8(r1) -/* 80253064 0024FFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253068 0024FFC8 40 80 00 0C */ bge lbl_80253074 -/* 8025306C 0024FFCC 38 00 00 03 */ li r0, 3 -/* 80253070 0024FFD0 90 1E 0C 84 */ stw r0, 0xc84(r30) -lbl_80253074: -/* 80253074 0024FFD4 38 00 00 01 */ li r0, 1 -/* 80253078 0024FFD8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8025307C 0024FFDC 48 00 01 70 */ b lbl_802531EC -lbl_80253080: -/* 80253080 0024FFE0 3C A0 80 3F */ lis r5, lbl_803E9240@ha -/* 80253084 0024FFE4 38 C1 00 58 */ addi r6, r1, 0x58 -/* 80253088 0024FFE8 39 25 92 40 */ addi r9, r5, lbl_803E9240@l -/* 8025308C 0024FFEC 38 A0 00 03 */ li r5, 3 -/* 80253090 0024FFF0 81 09 00 00 */ lwz r8, 0(r9) -/* 80253094 0024FFF4 80 E9 00 04 */ lwz r7, 4(r9) -/* 80253098 0024FFF8 80 09 00 08 */ lwz r0, 8(r9) -/* 8025309C 0024FFFC 91 01 00 58 */ stw r8, 0x58(r1) -/* 802530A0 00250000 90 E1 00 5C */ stw r7, 0x5c(r1) -/* 802530A4 00250004 90 01 00 60 */ stw r0, 0x60(r1) -/* 802530A8 00250008 80 FE 0C 84 */ lwz r7, 0xc84(r30) -/* 802530AC 0025000C 4B E2 97 09 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802530B0 00250010 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 802530B4 00250014 2C 00 00 03 */ cmpwi r0, 3 -/* 802530B8 00250018 40 82 00 CC */ bne lbl_80253184 -/* 802530BC 0025001C C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 802530C0 00250020 38 61 00 0C */ addi r3, r1, 0xc -/* 802530C4 00250024 C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 802530C8 00250028 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 802530CC 0025002C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 802530D0 00250030 EC 23 08 28 */ fsubs f1, f3, f1 -/* 802530D4 00250034 EC 42 00 28 */ fsubs f2, f2, f0 -/* 802530D8 00250038 48 0C 11 29 */ bl __ct__9CVector2fFff -/* 802530DC 0025003C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802530E0 00250040 38 61 00 4C */ addi r3, r1, 0x4c -/* 802530E4 00250044 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802530E8 00250048 38 81 00 40 */ addi r4, r1, 0x40 -/* 802530EC 0025004C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802530F0 00250050 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802530F4 00250054 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802530F8 00250058 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802530FC 0025005C 48 0C 17 55 */ bl AsNormalized__9CVector3fCFv -/* 80253100 00250060 C0 5E 0A BC */ lfs f2, 0xabc(r30) -/* 80253104 00250064 38 61 00 7C */ addi r3, r1, 0x7c -/* 80253108 00250068 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8025310C 0025006C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80253110 00250070 EC 82 00 72 */ fmuls f4, f2, f1 -/* 80253114 00250074 C0 BE 0A A0 */ lfs f5, 0xaa0(r30) -/* 80253118 00250078 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8025311C 0025007C C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 80253120 00250080 C0 7E 0A B0 */ lfs f3, 0xab0(r30) -/* 80253124 00250084 C0 5E 0A C0 */ lfs f2, 0xac0(r30) -/* 80253128 00250088 EC A5 20 2A */ fadds f5, f5, f4 -/* 8025312C 0025008C C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 80253130 00250090 EC 63 10 2A */ fadds f3, f3, f2 -/* 80253134 00250094 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80253138 00250098 EC 21 00 2A */ fadds f1, f1, f0 -/* 8025313C 0025009C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80253140 002500A0 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80253144 002500A4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80253148 002500A8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025314C 002500AC D0 81 00 80 */ stfs f4, 0x80(r1) -/* 80253150 002500B0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80253154 002500B4 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 80253158 002500B8 48 0C 17 61 */ bl Magnitude__9CVector3fCFv -/* 8025315C 002500BC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80253160 002500C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253164 002500C4 40 81 00 0C */ ble lbl_80253170 -/* 80253168 002500C8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025316C 002500CC 48 0C 17 8D */ bl Normalize__9CVector3fFv -lbl_80253170: -/* 80253170 002500D0 FC 40 F8 90 */ fmr f2, f31 -/* 80253174 002500D4 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) -/* 80253178 002500D8 7F C3 F3 78 */ mr r3, r30 -/* 8025317C 002500DC 38 81 00 7C */ addi r4, r1, 0x7c -/* 80253180 002500E0 48 00 2E 69 */ bl sub_80255fe8 -lbl_80253184: -/* 80253184 002500E4 C0 9E 0A B0 */ lfs f4, 0xab0(r30) -/* 80253188 002500E8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8025318C 002500EC C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80253190 002500F0 38 81 00 28 */ addi r4, r1, 0x28 -/* 80253194 002500F4 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) -/* 80253198 002500F8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8025319C 002500FC EC 24 00 28 */ fsubs f1, f4, f0 -/* 802531A0 00250100 C0 1E 0A 90 */ lfs f0, 0xa90(r30) -/* 802531A4 00250104 C0 BE 00 40 */ lfs f5, 0x40(r30) -/* 802531A8 00250108 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802531AC 0025010C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802531B0 00250110 EC 00 28 28 */ fsubs f0, f0, f5 -/* 802531B4 00250114 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802531B8 00250118 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802531BC 0025011C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802531C0 00250120 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 802531C4 00250124 83 FE 04 50 */ lwz r31, 0x450(r30) -/* 802531C8 00250128 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802531CC 0025012C 48 0C 16 85 */ bl AsNormalized__9CVector3fCFv -/* 802531D0 00250130 FC 20 F8 90 */ fmr f1, f31 -/* 802531D4 00250134 7F E3 FB 78 */ mr r3, r31 -/* 802531D8 00250138 38 81 00 34 */ addi r4, r1, 0x34 -/* 802531DC 0025013C 4B EE 74 C9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 802531E0 00250140 48 00 00 0C */ b lbl_802531EC -lbl_802531E4: -/* 802531E4 00250144 38 00 00 00 */ li r0, 0 -/* 802531E8 00250148 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_802531EC: -/* 802531EC 0025014C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802531F0 00250150 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802531F4 00250154 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802531F8 00250158 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802531FC 0025015C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80253200 00250160 7C 08 03 A6 */ mtlr r0 -/* 80253204 00250164 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80253208 00250168 4E 80 00 20 */ blr - -.global Hurled__7CRidleyFR13CStateManager9EStateMsgf -Hurled__7CRidleyFR13CStateManager9EStateMsgf: -/* 8025320C 0025016C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80253210 00250170 7C 08 02 A6 */ mflr r0 -/* 80253214 00250174 2C 05 00 00 */ cmpwi r5, 0 -/* 80253218 00250178 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025321C 0025017C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80253220 00250180 7C 7F 1B 78 */ mr r31, r3 -/* 80253224 00250184 41 82 00 0C */ beq lbl_80253230 -/* 80253228 00250188 41 80 00 9C */ blt lbl_802532C4 -/* 8025322C 0025018C 48 00 00 98 */ b lbl_802532C4 -lbl_80253230: -/* 80253230 00250190 48 00 44 21 */ bl sub_80257650 -/* 80253234 00250194 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80253238 00250198 38 A0 00 04 */ li r5, 4 -/* 8025323C 0025019C 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l -/* 80253240 002501A0 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80253244 002501A4 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80253248 002501A8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8025324C 002501AC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80253250 002501B0 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l -/* 80253254 002501B4 90 81 00 08 */ stw r4, 8(r1) -/* 80253258 002501B8 38 80 00 04 */ li r4, 4 -/* 8025325C 002501BC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80253260 002501C0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80253264 002501C4 3B E3 00 04 */ addi r31, r3, 4 -/* 80253268 002501C8 90 01 00 08 */ stw r0, 8(r1) -/* 8025326C 002501CC 7F E3 FB 78 */ mr r3, r31 -/* 80253270 002501D0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80253274 002501D4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80253278 002501D8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8025327C 002501DC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80253280 002501E0 4B ED E1 B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80253284 002501E4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80253288 002501E8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8025328C 002501EC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 80253290 002501F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80253294 002501F4 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 80253298 002501F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8025329C 002501FC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 802532A0 00250200 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802532A4 00250204 90 BF 00 FC */ stw r5, 0xfc(r31) -/* 802532A8 00250208 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 802532AC 0025020C 90 7F 01 00 */ stw r3, 0x100(r31) -/* 802532B0 00250210 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802532B4 00250214 90 BF 01 04 */ stw r5, 0x104(r31) -/* 802532B8 00250218 90 81 00 08 */ stw r4, 8(r1) -/* 802532BC 0025021C 90 7F 01 08 */ stw r3, 0x108(r31) -/* 802532C0 00250220 90 01 00 08 */ stw r0, 8(r1) -lbl_802532C4: -/* 802532C4 00250224 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802532C8 00250228 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802532CC 0025022C 7C 08 03 A6 */ mtlr r0 -/* 802532D0 00250230 38 21 00 30 */ addi r1, r1, 0x30 -/* 802532D4 00250234 4E 80 00 20 */ blr - -.global Flinch__7CRidleyFR13CStateManager9EStateMsgf -Flinch__7CRidleyFR13CStateManager9EStateMsgf: -/* 802532D8 00250238 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802532DC 0025023C 7C 08 02 A6 */ mflr r0 -/* 802532E0 00250240 2C 05 00 01 */ cmpwi r5, 1 -/* 802532E4 00250244 90 01 00 24 */ stw r0, 0x24(r1) -/* 802532E8 00250248 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802532EC 0025024C 7C 7F 1B 78 */ mr r31, r3 -/* 802532F0 00250250 41 82 00 30 */ beq lbl_80253320 -/* 802532F4 00250254 40 80 00 10 */ bge lbl_80253304 -/* 802532F8 00250258 2C 05 00 00 */ cmpwi r5, 0 -/* 802532FC 0025025C 40 80 00 14 */ bge lbl_80253310 -/* 80253300 00250260 48 00 00 70 */ b lbl_80253370 -lbl_80253304: -/* 80253304 00250264 2C 05 00 03 */ cmpwi r5, 3 -/* 80253308 00250268 40 80 00 68 */ bge lbl_80253370 -/* 8025330C 0025026C 48 00 00 48 */ b lbl_80253354 -lbl_80253310: -/* 80253310 00250270 48 00 44 35 */ bl sub_80257744 -/* 80253314 00250274 38 00 00 01 */ li r0, 1 -/* 80253318 00250278 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8025331C 0025027C 48 00 00 54 */ b lbl_80253370 -lbl_80253320: -/* 80253320 00250280 3C A0 80 3F */ lis r5, lbl_803E9234@ha -/* 80253324 00250284 38 C1 00 08 */ addi r6, r1, 8 -/* 80253328 00250288 39 45 92 34 */ addi r10, r5, lbl_803E9234@l -/* 8025332C 0025028C 38 A0 00 06 */ li r5, 6 -/* 80253330 00250290 81 2A 00 00 */ lwz r9, 0(r10) -/* 80253334 00250294 38 E0 00 03 */ li r7, 3 -/* 80253338 00250298 81 0A 00 04 */ lwz r8, 4(r10) -/* 8025333C 0025029C 80 0A 00 08 */ lwz r0, 8(r10) -/* 80253340 002502A0 91 21 00 08 */ stw r9, 8(r1) -/* 80253344 002502A4 91 01 00 0C */ stw r8, 0xc(r1) -/* 80253348 002502A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8025334C 002502AC 4B E2 94 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80253350 002502B0 48 00 00 20 */ b lbl_80253370 -lbl_80253354: -/* 80253354 002502B4 38 00 00 00 */ li r0, 0 -/* 80253358 002502B8 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8025335C 002502BC 48 00 42 F5 */ bl sub_80257650 -/* 80253360 002502C0 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80253364 002502C4 38 60 00 00 */ li r3, 0 -/* 80253368 002502C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8025336C 002502CC 98 1F 0A 32 */ stb r0, 0xa32(r31) -lbl_80253370: -/* 80253370 002502D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253374 002502D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253378 002502D8 7C 08 03 A6 */ mtlr r0 -/* 8025337C 002502DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253380 002502E0 4E 80 00 20 */ blr - -.global Jump__7CRidleyFR13CStateManager9EStateMsgf -Jump__7CRidleyFR13CStateManager9EStateMsgf: -/* 80253384 002502E4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80253388 002502E8 7C 08 02 A6 */ mflr r0 -/* 8025338C 002502EC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80253390 002502F0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80253394 002502F4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80253398 002502F8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025339C 002502FC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802533A0 00250300 FF E0 08 90 */ fmr f31, f1 -/* 802533A4 00250304 2C 05 00 01 */ cmpwi r5, 1 -/* 802533A8 00250308 7C 7F 1B 78 */ mr r31, r3 -/* 802533AC 0025030C 7C 9E 23 78 */ mr r30, r4 -/* 802533B0 00250310 41 82 00 F0 */ beq lbl_802534A0 -/* 802533B4 00250314 40 80 00 10 */ bge lbl_802533C4 -/* 802533B8 00250318 2C 05 00 00 */ cmpwi r5, 0 -/* 802533BC 0025031C 40 80 00 14 */ bge lbl_802533D0 -/* 802533C0 00250320 48 00 01 C8 */ b lbl_80253588 -lbl_802533C4: -/* 802533C4 00250324 2C 05 00 03 */ cmpwi r5, 3 -/* 802533C8 00250328 40 80 01 C0 */ bge lbl_80253588 -/* 802533CC 0025032C 48 00 01 28 */ b lbl_802534F4 -lbl_802533D0: -/* 802533D0 00250330 38 00 00 01 */ li r0, 1 -/* 802533D4 00250334 38 61 00 14 */ addi r3, r1, 0x14 -/* 802533D8 00250338 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 802533DC 0025033C 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 802533E0 00250340 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 802533E4 00250344 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802533E8 00250348 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 802533EC 0025034C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802533F0 00250350 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802533F4 00250354 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 802533F8 00250358 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802533FC 0025035C EC 43 10 28 */ fsubs f2, f3, f2 -/* 80253400 00250360 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80253404 00250364 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80253408 00250368 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025340C 0025036C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80253410 00250370 48 0C 14 A9 */ bl Magnitude__9CVector3fCFv -/* 80253414 00250374 C0 1F 0A E4 */ lfs f0, 0xae4(r31) -/* 80253418 00250378 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025341C 0025037C 40 81 00 10 */ ble lbl_8025342C -/* 80253420 00250380 38 00 00 05 */ li r0, 5 -/* 80253424 00250384 90 1F 0C 88 */ stw r0, 0xc88(r31) -/* 80253428 00250388 48 00 00 0C */ b lbl_80253434 -lbl_8025342C: -/* 8025342C 0025038C 38 00 00 04 */ li r0, 4 -/* 80253430 00250390 90 1F 0C 88 */ stw r0, 0xc88(r31) -lbl_80253434: -/* 80253434 00250394 C0 3F 09 14 */ lfs f1, 0x914(r31) -/* 80253438 00250398 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025343C 0025039C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253440 002503A0 7C 60 00 26 */ mfcr r3 -/* 80253444 002503A4 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80253448 002503A8 54 64 17 FE */ rlwinm r4, r3, 2, 0x1f, 0x1f -/* 8025344C 002503AC 7F E3 FB 78 */ mr r3, r31 -/* 80253450 002503B0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80253454 002503B4 7F C4 F3 78 */ mr r4, r30 -/* 80253458 002503B8 98 1F 04 02 */ stb r0, 0x402(r31) -/* 8025345C 002503BC D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 80253460 002503C0 80 BF 08 F8 */ lwz r5, 0x8f8(r31) -/* 80253464 002503C4 80 1F 08 FC */ lwz r0, 0x8fc(r31) -/* 80253468 002503C8 90 BF 0C 8C */ stw r5, 0xc8c(r31) -/* 8025346C 002503CC 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 80253470 002503D0 C0 1F 09 00 */ lfs f0, 0x900(r31) -/* 80253474 002503D4 D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 80253478 002503D8 C0 1F 09 04 */ lfs f0, 0x904(r31) -/* 8025347C 002503DC D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 80253480 002503E0 C0 1F 09 08 */ lfs f0, 0x908(r31) -/* 80253484 002503E4 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 80253488 002503E8 C0 1F 09 0C */ lfs f0, 0x90c(r31) -/* 8025348C 002503EC D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 80253490 002503F0 88 1F 09 10 */ lbz r0, 0x910(r31) -/* 80253494 002503F4 98 1F 0C A4 */ stb r0, 0xca4(r31) -/* 80253498 002503F8 48 00 30 E9 */ bl sub_80256580 -/* 8025349C 002503FC 48 00 00 EC */ b lbl_80253588 -lbl_802534A0: -/* 802534A0 00250400 3C A0 80 3F */ lis r5, lbl_803E9228@ha -/* 802534A4 00250404 38 C1 00 08 */ addi r6, r1, 8 -/* 802534A8 00250408 39 25 92 28 */ addi r9, r5, lbl_803E9228@l -/* 802534AC 0025040C 38 A0 00 07 */ li r5, 7 -/* 802534B0 00250410 81 09 00 00 */ lwz r8, 0(r9) -/* 802534B4 00250414 80 E9 00 04 */ lwz r7, 4(r9) -/* 802534B8 00250418 80 09 00 08 */ lwz r0, 8(r9) -/* 802534BC 0025041C 91 01 00 08 */ stw r8, 8(r1) -/* 802534C0 00250420 90 E1 00 0C */ stw r7, 0xc(r1) -/* 802534C4 00250424 90 01 00 10 */ stw r0, 0x10(r1) -/* 802534C8 00250428 80 FF 0C 88 */ lwz r7, 0xc88(r31) -/* 802534CC 0025042C 4B E2 92 E9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802534D0 00250430 C0 3F 03 38 */ lfs f1, 0x338(r31) -/* 802534D4 00250434 C0 02 B9 30 */ lfs f0, lbl_805AD650@sda21(r2) -/* 802534D8 00250438 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802534DC 0025043C 40 80 00 AC */ bge lbl_80253588 -/* 802534E0 00250440 FC 20 F8 90 */ fmr f1, f31 -/* 802534E4 00250444 7F E3 FB 78 */ mr r3, r31 -/* 802534E8 00250448 7F C4 F3 78 */ mr r4, r30 -/* 802534EC 0025044C 48 00 2A 65 */ bl sub_80255f50 -/* 802534F0 00250450 48 00 00 98 */ b lbl_80253588 -lbl_802534F4: -/* 802534F4 00250454 7F C6 F3 78 */ mr r6, r30 -/* 802534F8 00250458 38 80 00 29 */ li r4, 0x29 -/* 802534FC 0025045C 38 A0 00 28 */ li r5, 0x28 -/* 80253500 00250460 4B E0 0D B5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80253504 00250464 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80253508 00250468 38 60 00 00 */ li r3, 0 -/* 8025350C 0025046C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80253510 00250470 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80253514 00250474 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80253518 00250478 7F E4 FB 78 */ mr r4, r31 -/* 8025351C 0025047C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80253520 00250480 D0 1F 05 04 */ stfs f0, 0x504(r31) -/* 80253524 00250484 81 9F 00 00 */ lwz r12, 0(r31) -/* 80253528 00250488 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 8025352C 0025048C 7D 89 03 A6 */ mtctr r12 -/* 80253530 00250490 4E 80 04 21 */ bctrl -/* 80253534 00250494 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80253538 00250498 38 80 00 00 */ li r4, 0 -/* 8025353C 0025049C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253540 002504A0 7F E3 FB 78 */ mr r3, r31 -/* 80253544 002504A4 90 BF 0C 8C */ stw r5, 0xc8c(r31) -/* 80253548 002504A8 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 8025354C 002504AC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80253550 002504B0 D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 80253554 002504B4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80253558 002504B8 D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 8025355C 002504BC C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80253560 002504C0 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 80253564 002504C4 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80253568 002504C8 D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 8025356C 002504CC 88 01 00 38 */ lbz r0, 0x38(r1) -/* 80253570 002504D0 98 1F 0C A4 */ stb r0, 0xca4(r31) -/* 80253574 002504D4 90 9F 03 2C */ stw r4, 0x32c(r31) -/* 80253578 002504D8 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 8025357C 002504DC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80253580 002504E0 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80253584 002504E4 48 00 2F F9 */ bl nullsub_53 -lbl_80253588: -/* 80253588 002504E8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8025358C 002504EC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80253590 002504F0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80253594 002504F4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80253598 002504F8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8025359C 002504FC 7C 08 03 A6 */ mtlr r0 -/* 802535A0 00250500 38 21 00 60 */ addi r1, r1, 0x60 -/* 802535A4 00250504 4E 80 00 20 */ blr - -.global DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf -DoubleSnap__7CRidleyFR13CStateManager9EStateMsgf: -/* 802535A8 00250508 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802535AC 0025050C 7C 08 02 A6 */ mflr r0 -/* 802535B0 00250510 2C 05 00 01 */ cmpwi r5, 1 -/* 802535B4 00250514 90 01 00 44 */ stw r0, 0x44(r1) -/* 802535B8 00250518 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802535BC 0025051C 7C 7F 1B 78 */ mr r31, r3 -/* 802535C0 00250520 41 82 00 84 */ beq lbl_80253644 -/* 802535C4 00250524 40 80 00 10 */ bge lbl_802535D4 -/* 802535C8 00250528 2C 05 00 00 */ cmpwi r5, 0 -/* 802535CC 0025052C 40 80 00 14 */ bge lbl_802535E0 -/* 802535D0 00250530 48 00 01 14 */ b lbl_802536E4 -lbl_802535D4: -/* 802535D4 00250534 2C 05 00 03 */ cmpwi r5, 3 -/* 802535D8 00250538 40 80 01 0C */ bge lbl_802536E4 -/* 802535DC 0025053C 48 00 00 9C */ b lbl_80253678 -lbl_802535E0: -/* 802535E0 00250540 38 00 00 01 */ li r0, 1 -/* 802535E4 00250544 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802535E8 00250548 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 802535EC 0025054C C0 3F 09 34 */ lfs f1, 0x934(r31) -/* 802535F0 00250550 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802535F4 00250554 7C 60 00 26 */ mfcr r3 -/* 802535F8 00250558 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 802535FC 0025055C 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c -/* 80253600 00250560 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80253604 00250564 D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 80253608 00250568 80 7F 09 18 */ lwz r3, 0x918(r31) -/* 8025360C 0025056C 80 1F 09 1C */ lwz r0, 0x91c(r31) -/* 80253610 00250570 90 7F 0C 8C */ stw r3, 0xc8c(r31) -/* 80253614 00250574 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 80253618 00250578 C0 1F 09 20 */ lfs f0, 0x920(r31) -/* 8025361C 0025057C D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 80253620 00250580 C0 1F 09 24 */ lfs f0, 0x924(r31) -/* 80253624 00250584 D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 80253628 00250588 C0 1F 09 28 */ lfs f0, 0x928(r31) -/* 8025362C 0025058C D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 80253630 00250590 C0 1F 09 2C */ lfs f0, 0x92c(r31) -/* 80253634 00250594 D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 80253638 00250598 88 1F 09 30 */ lbz r0, 0x930(r31) -/* 8025363C 0025059C 98 1F 0C A4 */ stb r0, 0xca4(r31) -/* 80253640 002505A0 48 00 00 A4 */ b lbl_802536E4 -lbl_80253644: -/* 80253644 002505A4 3C A0 80 3F */ lis r5, lbl_803E921C@ha -/* 80253648 002505A8 38 C1 00 08 */ addi r6, r1, 8 -/* 8025364C 002505AC 39 45 92 1C */ addi r10, r5, lbl_803E921C@l -/* 80253650 002505B0 38 A0 00 07 */ li r5, 7 -/* 80253654 002505B4 81 2A 00 00 */ lwz r9, 0(r10) -/* 80253658 002505B8 38 E0 00 02 */ li r7, 2 -/* 8025365C 002505BC 81 0A 00 04 */ lwz r8, 4(r10) -/* 80253660 002505C0 80 0A 00 08 */ lwz r0, 8(r10) -/* 80253664 002505C4 91 21 00 08 */ stw r9, 8(r1) -/* 80253668 002505C8 91 01 00 0C */ stw r8, 0xc(r1) -/* 8025366C 002505CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80253670 002505D0 4B E2 91 45 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80253674 002505D4 48 00 00 70 */ b lbl_802536E4 -lbl_80253678: -/* 80253678 002505D8 38 A0 00 00 */ li r5, 0 -/* 8025367C 002505DC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80253680 002505E0 90 BF 03 2C */ stw r5, 0x32c(r31) -/* 80253684 002505E4 7F E4 FB 78 */ mr r4, r31 -/* 80253688 002505E8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025368C 002505EC 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80253690 002505F0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80253694 002505F4 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80253698 002505F8 D0 1F 05 04 */ stfs f0, 0x504(r31) -/* 8025369C 002505FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802536A0 00250600 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 802536A4 00250604 7D 89 03 A6 */ mtctr r12 -/* 802536A8 00250608 4E 80 04 21 */ bctrl -/* 802536AC 0025060C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802536B0 00250610 80 01 00 18 */ lwz r0, 0x18(r1) -/* 802536B4 00250614 90 7F 0C 8C */ stw r3, 0xc8c(r31) -/* 802536B8 00250618 90 1F 0C 90 */ stw r0, 0xc90(r31) -/* 802536BC 0025061C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802536C0 00250620 D0 1F 0C 94 */ stfs f0, 0xc94(r31) -/* 802536C4 00250624 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802536C8 00250628 D0 1F 0C 98 */ stfs f0, 0xc98(r31) -/* 802536CC 0025062C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802536D0 00250630 D0 1F 0C 9C */ stfs f0, 0xc9c(r31) -/* 802536D4 00250634 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802536D8 00250638 D0 1F 0C A0 */ stfs f0, 0xca0(r31) -/* 802536DC 0025063C 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 802536E0 00250640 98 1F 0C A4 */ stb r0, 0xca4(r31) -lbl_802536E4: -/* 802536E4 00250644 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802536E8 00250648 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802536EC 0025064C 7C 08 03 A6 */ mtlr r0 -/* 802536F0 00250650 38 21 00 40 */ addi r1, r1, 0x40 -/* 802536F4 00250654 4E 80 00 20 */ blr - -.global ShouldDoubleSnap__7CRidleyFR13CStateManagerf -ShouldDoubleSnap__7CRidleyFR13CStateManagerf: -/* 802536F8 00250658 88 03 0A 33 */ lbz r0, 0xa33(r3) -/* 802536FC 0025065C 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f -/* 80253700 00250660 4E 80 00 20 */ blr - -.global ShouldStrafe__7CRidleyFR13CStateManagerf -ShouldStrafe__7CRidleyFR13CStateManagerf: -/* 80253704 00250664 88 03 0A 33 */ lbz r0, 0xa33(r3) -/* 80253708 00250668 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f -/* 8025370C 0025066C 4E 80 00 20 */ blr - -.global sub_80253710 -sub_80253710: -/* 80253710 00250670 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80253714 00250674 7C 08 02 A6 */ mflr r0 -/* 80253718 00250678 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025371C 0025067C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80253720 00250680 7C 7F 1B 78 */ mr r31, r3 -/* 80253724 00250684 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80253728 00250688 7C 9E 23 78 */ mr r30, r4 -/* 8025372C 0025068C 80 03 0B 0C */ lwz r0, 0xb0c(r3) -/* 80253730 00250690 90 03 0B 08 */ stw r0, 0xb08(r3) -/* 80253734 00250694 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80253738 00250698 48 0B ED A5 */ bl Float__9CRandom16Fv -/* 8025373C 0025069C 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 80253740 002506A0 3C 60 80 3D */ lis r3, lbl_803D4CCC@ha -/* 80253744 002506A4 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) -/* 80253748 002506A8 38 63 4C CC */ addi r3, r3, lbl_803D4CCC@l -/* 8025374C 002506AC 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80253750 002506B0 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) -/* 80253754 002506B4 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80253758 002506B8 38 80 00 00 */ li r4, 0 -/* 8025375C 002506BC 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80253760 002506C0 EC 42 00 2A */ fadds f2, f2, f0 -/* 80253764 002506C4 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80253768 002506C8 40 80 00 0C */ bge lbl_80253774 -/* 8025376C 002506CC 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 80253770 002506D0 48 00 00 90 */ b lbl_80253800 -lbl_80253774: -/* 80253774 002506D4 7C 63 02 14 */ add r3, r3, r0 -/* 80253778 002506D8 38 80 00 01 */ li r4, 1 -/* 8025377C 002506DC C0 03 00 04 */ lfs f0, 4(r3) -/* 80253780 002506E0 EC 42 00 2A */ fadds f2, f2, f0 -/* 80253784 002506E4 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80253788 002506E8 40 80 00 0C */ bge lbl_80253794 -/* 8025378C 002506EC 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 80253790 002506F0 48 00 00 70 */ b lbl_80253800 -lbl_80253794: -/* 80253794 002506F4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80253798 002506F8 38 80 00 02 */ li r4, 2 -/* 8025379C 002506FC EC 42 00 2A */ fadds f2, f2, f0 -/* 802537A0 00250700 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802537A4 00250704 40 80 00 0C */ bge lbl_802537B0 -/* 802537A8 00250708 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 802537AC 0025070C 48 00 00 54 */ b lbl_80253800 -lbl_802537B0: -/* 802537B0 00250710 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802537B4 00250714 38 80 00 03 */ li r4, 3 -/* 802537B8 00250718 EC 42 00 2A */ fadds f2, f2, f0 -/* 802537BC 0025071C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802537C0 00250720 40 80 00 0C */ bge lbl_802537CC -/* 802537C4 00250724 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 802537C8 00250728 48 00 00 38 */ b lbl_80253800 -lbl_802537CC: -/* 802537CC 0025072C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802537D0 00250730 38 80 00 04 */ li r4, 4 -/* 802537D4 00250734 EC 42 00 2A */ fadds f2, f2, f0 -/* 802537D8 00250738 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802537DC 0025073C 40 80 00 0C */ bge lbl_802537E8 -/* 802537E0 00250740 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 802537E4 00250744 48 00 00 1C */ b lbl_80253800 -lbl_802537E8: -/* 802537E8 00250748 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802537EC 0025074C 38 80 00 05 */ li r4, 5 -/* 802537F0 00250750 EC 42 00 2A */ fadds f2, f2, f0 -/* 802537F4 00250754 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802537F8 00250758 40 80 00 08 */ bge lbl_80253800 -/* 802537FC 0025075C 90 9F 0B 0C */ stw r4, 0xb0c(r31) -lbl_80253800: -/* 80253800 00250760 80 1F 0B 0C */ lwz r0, 0xb0c(r31) -/* 80253804 00250764 2C 00 00 05 */ cmpwi r0, 5 -/* 80253808 00250768 40 82 00 1C */ bne lbl_80253824 -/* 8025380C 0025076C 7F E3 FB 78 */ mr r3, r31 -/* 80253810 00250770 48 00 01 51 */ bl sub_80253960 -/* 80253814 00250774 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253818 00250778 40 82 00 0C */ bne lbl_80253824 -/* 8025381C 0025077C 38 00 00 02 */ li r0, 2 -/* 80253820 00250780 90 1F 0B 0C */ stw r0, 0xb0c(r31) -lbl_80253824: -/* 80253824 00250784 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80253828 00250788 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025382C 0025078C C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80253830 00250790 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80253834 00250794 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80253838 00250798 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8025383C 0025079C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80253840 002507A0 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80253844 002507A4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80253848 002507A8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025384C 002507AC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80253850 002507B0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80253854 002507B4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80253858 002507B8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025385C 002507BC 48 0C 10 5D */ bl Magnitude__9CVector3fCFv -/* 80253860 002507C0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80253864 002507C4 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80253868 002507C8 EC C0 08 24 */ fdivs f6, f0, f1 -/* 8025386C 002507CC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80253870 002507D0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80253874 002507D4 EC A3 01 B2 */ fmuls f5, f3, f6 -/* 80253878 002507D8 EC 82 01 B2 */ fmuls f4, f2, f6 -/* 8025387C 002507DC EC 60 01 B2 */ fmuls f3, f0, f6 -/* 80253880 002507E0 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80253884 002507E4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80253888 002507E8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8025388C 002507EC C0 DF 00 48 */ lfs f6, 0x48(r31) -/* 80253890 002507F0 C0 5F 00 38 */ lfs f2, 0x38(r31) -/* 80253894 002507F4 EC 04 01 B2 */ fmuls f0, f4, f6 -/* 80253898 002507F8 C0 9F 00 58 */ lfs f4, 0x58(r31) -/* 8025389C 002507FC 80 1F 0B 0C */ lwz r0, 0xb0c(r31) -/* 802538A0 00250800 D0 41 00 08 */ stfs f2, 8(r1) -/* 802538A4 00250804 EC 05 00 BA */ fmadds f0, f5, f2, f0 -/* 802538A8 00250808 2C 00 00 02 */ cmpwi r0, 2 -/* 802538AC 0025080C D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 802538B0 00250810 EC 43 01 3A */ fmadds f2, f3, f4, f0 -/* 802538B4 00250814 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802538B8 00250818 40 82 00 18 */ bne lbl_802538D0 -/* 802538BC 0025081C C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) -/* 802538C0 00250820 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802538C4 00250824 40 80 00 0C */ bge lbl_802538D0 -/* 802538C8 00250828 38 00 00 00 */ li r0, 0 -/* 802538CC 0025082C 90 1F 0B 0C */ stw r0, 0xb0c(r31) -lbl_802538D0: -/* 802538D0 00250830 80 1F 0B 0C */ lwz r0, 0xb0c(r31) -/* 802538D4 00250834 2C 00 00 05 */ cmpwi r0, 5 -/* 802538D8 00250838 40 82 00 18 */ bne lbl_802538F0 -/* 802538DC 0025083C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) -/* 802538E0 00250840 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802538E4 00250844 40 80 00 0C */ bge lbl_802538F0 -/* 802538E8 00250848 38 00 00 00 */ li r0, 0 -/* 802538EC 0025084C 90 1F 0B 0C */ stw r0, 0xb0c(r31) -lbl_802538F0: -/* 802538F0 00250850 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802538F4 00250854 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802538F8 00250858 40 80 00 24 */ bge lbl_8025391C -/* 802538FC 0025085C C0 1F 03 00 */ lfs f0, 0x300(r31) -/* 80253900 00250860 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253904 00250864 40 80 00 18 */ bge lbl_8025391C -/* 80253908 00250868 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 8025390C 0025086C 2C 00 00 03 */ cmpwi r0, 3 -/* 80253910 00250870 41 82 00 0C */ beq lbl_8025391C -/* 80253914 00250874 38 00 00 03 */ li r0, 3 -/* 80253918 00250878 90 1F 0B 0C */ stw r0, 0xb0c(r31) -lbl_8025391C: -/* 8025391C 0025087C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80253920 00250880 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80253924 00250884 40 81 00 24 */ ble lbl_80253948 -/* 80253928 00250888 C0 1F 02 FC */ lfs f0, 0x2fc(r31) -/* 8025392C 0025088C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253930 00250890 40 80 00 18 */ bge lbl_80253948 -/* 80253934 00250894 80 1F 0B 08 */ lwz r0, 0xb08(r31) -/* 80253938 00250898 2C 00 00 04 */ cmpwi r0, 4 -/* 8025393C 0025089C 41 82 00 0C */ beq lbl_80253948 -/* 80253940 002508A0 38 00 00 04 */ li r0, 4 -/* 80253944 002508A4 90 1F 0B 0C */ stw r0, 0xb0c(r31) -lbl_80253948: -/* 80253948 002508A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025394C 002508AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80253950 002508B0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80253954 002508B4 7C 08 03 A6 */ mtlr r0 -/* 80253958 002508B8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025395C 002508BC 4E 80 00 20 */ blr - -.global sub_80253960 -sub_80253960: -/* 80253960 002508C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80253964 002508C4 7C 08 02 A6 */ mflr r0 -/* 80253968 002508C8 C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) -/* 8025396C 002508CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80253970 002508D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253974 002508D4 7C 7F 1B 78 */ mr r31, r3 -/* 80253978 002508D8 C0 03 0A E4 */ lfs f0, 0xae4(r3) -/* 8025397C 002508DC 38 61 00 08 */ addi r3, r1, 8 -/* 80253980 002508E0 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80253984 002508E4 EC C1 00 32 */ fmuls f6, f1, f0 -/* 80253988 002508E8 C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 8025398C 002508EC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80253990 002508F0 C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 80253994 002508F4 EC 66 00 B2 */ fmuls f3, f6, f2 -/* 80253998 002508F8 C0 BF 00 60 */ lfs f5, 0x60(r31) -/* 8025399C 002508FC EC 86 00 72 */ fmuls f4, f6, f1 -/* 802539A0 00250900 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 802539A4 00250904 EC 26 00 32 */ fmuls f1, f6, f0 -/* 802539A8 00250908 C0 DF 0A A0 */ lfs f6, 0xaa0(r31) -/* 802539AC 0025090C EC E7 18 2A */ fadds f7, f7, f3 -/* 802539B0 00250910 C0 7F 0A B0 */ lfs f3, 0xab0(r31) -/* 802539B4 00250914 EC 85 20 2A */ fadds f4, f5, f4 -/* 802539B8 00250918 C0 1F 0A 90 */ lfs f0, 0xa90(r31) -/* 802539BC 0025091C EC 22 08 2A */ fadds f1, f2, f1 -/* 802539C0 00250920 EC A7 30 28 */ fsubs f5, f7, f6 -/* 802539C4 00250924 EC 44 18 28 */ fsubs f2, f4, f3 -/* 802539C8 00250928 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802539CC 0025092C D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802539D0 00250930 D0 01 00 08 */ stfs f0, 8(r1) -/* 802539D4 00250934 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802539D8 00250938 48 0C 0E E1 */ bl Magnitude__9CVector3fCFv -/* 802539DC 0025093C C0 5F 0A B4 */ lfs f2, 0xab4(r31) -/* 802539E0 00250940 C0 1F 0A BC */ lfs f0, 0xabc(r31) -/* 802539E4 00250944 C0 62 B9 38 */ lfs f3, lbl_805AD658@sda21(r2) -/* 802539E8 00250948 EC 02 00 2A */ fadds f0, f2, f0 -/* 802539EC 0025094C EC 03 00 32 */ fmuls f0, f3, f0 -/* 802539F0 00250950 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802539F4 00250954 7C 00 00 26 */ mfcr r0 -/* 802539F8 00250958 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802539FC 0025095C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80253A00 00250960 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253A04 00250964 7C 08 03 A6 */ mtlr r0 -/* 80253A08 00250968 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253A0C 0025096C 4E 80 00 20 */ blr - -.global FadeOut__7CRidleyFR13CStateManager9EStateMsgf -FadeOut__7CRidleyFR13CStateManager9EStateMsgf: -/* 80253A10 00250970 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80253A14 00250974 7C 08 02 A6 */ mflr r0 -/* 80253A18 00250978 2C 05 00 01 */ cmpwi r5, 1 -/* 80253A1C 0025097C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80253A20 00250980 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80253A24 00250984 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80253A28 00250988 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80253A2C 0025098C 7C 9D 23 78 */ mr r29, r4 -/* 80253A30 00250990 93 81 00 20 */ stw r28, 0x20(r1) -/* 80253A34 00250994 7C 7C 1B 78 */ mr r28, r3 -/* 80253A38 00250998 41 82 00 B0 */ beq lbl_80253AE8 -/* 80253A3C 0025099C 40 80 00 10 */ bge lbl_80253A4C -/* 80253A40 002509A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80253A44 002509A4 40 80 00 14 */ bge lbl_80253A58 -/* 80253A48 002509A8 48 00 00 EC */ b lbl_80253B34 -lbl_80253A4C: -/* 80253A4C 002509AC 2C 05 00 03 */ cmpwi r5, 3 -/* 80253A50 002509B0 40 80 00 E4 */ bge lbl_80253B34 -/* 80253A54 002509B4 48 00 00 C8 */ b lbl_80253B1C -lbl_80253A58: -/* 80253A58 002509B8 38 00 00 01 */ li r0, 1 -/* 80253A5C 002509BC 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha -/* 80253A60 002509C0 90 1C 03 2C */ stw r0, 0x32c(r28) -/* 80253A64 002509C4 3B E3 D4 F8 */ addi r31, r3, lbl_8046D4F8@l -/* 80253A68 002509C8 3B C0 00 00 */ li r30, 0 -lbl_80253A6C: -/* 80253A6C 002509CC 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80253A70 002509D0 7F E4 FB 78 */ mr r4, r31 -/* 80253A74 002509D4 7F A6 EB 78 */ mr r6, r29 -/* 80253A78 002509D8 38 A0 00 00 */ li r5, 0 -/* 80253A7C 002509DC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80253A80 002509E0 4B DD 73 41 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80253A84 002509E4 3B DE 00 01 */ addi r30, r30, 1 -/* 80253A88 002509E8 3B FF 00 10 */ addi r31, r31, 0x10 -/* 80253A8C 002509EC 28 1E 00 18 */ cmplwi r30, 0x18 -/* 80253A90 002509F0 41 80 FF DC */ blt lbl_80253A6C -/* 80253A94 002509F4 88 7C 0A 34 */ lbz r3, 0xa34(r28) -/* 80253A98 002509F8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80253A9C 002509FC 40 82 00 10 */ bne lbl_80253AAC -/* 80253AA0 00250A00 38 00 00 01 */ li r0, 1 -/* 80253AA4 00250A04 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80253AA8 00250A08 98 7C 0A 34 */ stb r3, 0xa34(r28) -lbl_80253AAC: -/* 80253AAC 00250A0C 80 7C 09 64 */ lwz r3, 0x964(r28) -/* 80253AB0 00250A10 80 1C 09 68 */ lwz r0, 0x968(r28) -/* 80253AB4 00250A14 90 7C 0B 74 */ stw r3, 0xb74(r28) -/* 80253AB8 00250A18 90 1C 0B 78 */ stw r0, 0xb78(r28) -/* 80253ABC 00250A1C C0 1C 09 6C */ lfs f0, 0x96c(r28) -/* 80253AC0 00250A20 D0 1C 0B 7C */ stfs f0, 0xb7c(r28) -/* 80253AC4 00250A24 C0 1C 09 70 */ lfs f0, 0x970(r28) -/* 80253AC8 00250A28 D0 1C 0B 80 */ stfs f0, 0xb80(r28) -/* 80253ACC 00250A2C C0 1C 09 74 */ lfs f0, 0x974(r28) -/* 80253AD0 00250A30 D0 1C 0B 84 */ stfs f0, 0xb84(r28) -/* 80253AD4 00250A34 C0 1C 09 78 */ lfs f0, 0x978(r28) -/* 80253AD8 00250A38 D0 1C 0B 88 */ stfs f0, 0xb88(r28) -/* 80253ADC 00250A3C 88 1C 09 7C */ lbz r0, 0x97c(r28) -/* 80253AE0 00250A40 98 1C 0B 8C */ stb r0, 0xb8c(r28) -/* 80253AE4 00250A44 48 00 00 50 */ b lbl_80253B34 -lbl_80253AE8: -/* 80253AE8 00250A48 3C A0 80 3F */ lis r5, lbl_803E9210@ha -/* 80253AEC 00250A4C 38 C1 00 08 */ addi r6, r1, 8 -/* 80253AF0 00250A50 39 45 92 10 */ addi r10, r5, lbl_803E9210@l -/* 80253AF4 00250A54 38 A0 00 06 */ li r5, 6 -/* 80253AF8 00250A58 81 2A 00 00 */ lwz r9, 0(r10) -/* 80253AFC 00250A5C 38 E0 00 05 */ li r7, 5 -/* 80253B00 00250A60 81 0A 00 04 */ lwz r8, 4(r10) -/* 80253B04 00250A64 80 0A 00 08 */ lwz r0, 8(r10) -/* 80253B08 00250A68 91 21 00 08 */ stw r9, 8(r1) -/* 80253B0C 00250A6C 91 01 00 0C */ stw r8, 0xc(r1) -/* 80253B10 00250A70 90 01 00 10 */ stw r0, 0x10(r1) -/* 80253B14 00250A74 4B E2 8C A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80253B18 00250A78 48 00 00 1C */ b lbl_80253B34 -lbl_80253B1C: -/* 80253B1C 00250A7C 38 00 00 00 */ li r0, 0 -/* 80253B20 00250A80 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) -/* 80253B24 00250A84 90 1C 03 2C */ stw r0, 0x32c(r28) -/* 80253B28 00250A88 C0 1C 05 A4 */ lfs f0, 0x5a4(r28) -/* 80253B2C 00250A8C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80253B30 00250A90 D0 1C 0C BC */ stfs f0, 0xcbc(r28) -lbl_80253B34: -/* 80253B34 00250A94 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80253B38 00250A98 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80253B3C 00250A9C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80253B40 00250AA0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80253B44 00250AA4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80253B48 00250AA8 7C 08 03 A6 */ mtlr r0 -/* 80253B4C 00250AAC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80253B50 00250AB0 4E 80 00 20 */ blr - -.global ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf -ProjectileAttack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80253B54 00250AB4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80253B58 00250AB8 7C 08 02 A6 */ mflr r0 -/* 80253B5C 00250ABC 2C 05 00 01 */ cmpwi r5, 1 -/* 80253B60 00250AC0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80253B64 00250AC4 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80253B68 00250AC8 FF E0 08 90 */ fmr f31, f1 -/* 80253B6C 00250ACC 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80253B70 00250AD0 7C 9F 23 78 */ mr r31, r4 -/* 80253B74 00250AD4 93 C1 00 20 */ stw r30, 0x20(r1) -/* 80253B78 00250AD8 7C 7E 1B 78 */ mr r30, r3 -/* 80253B7C 00250ADC 41 82 00 44 */ beq lbl_80253BC0 -/* 80253B80 00250AE0 40 80 00 10 */ bge lbl_80253B90 -/* 80253B84 00250AE4 2C 05 00 00 */ cmpwi r5, 0 -/* 80253B88 00250AE8 40 80 00 14 */ bge lbl_80253B9C -/* 80253B8C 00250AEC 48 00 00 98 */ b lbl_80253C24 -lbl_80253B90: -/* 80253B90 00250AF0 2C 05 00 03 */ cmpwi r5, 3 -/* 80253B94 00250AF4 40 80 00 90 */ bge lbl_80253C24 -/* 80253B98 00250AF8 48 00 00 6C */ b lbl_80253C04 -lbl_80253B9C: -/* 80253B9C 00250AFC 38 80 00 01 */ li r4, 1 -/* 80253BA0 00250B00 90 9E 03 2C */ stw r4, 0x32c(r30) -/* 80253BA4 00250B04 80 7E 0C C4 */ lwz r3, 0xcc4(r30) -/* 80253BA8 00250B08 38 03 FF FF */ addi r0, r3, -1 -/* 80253BAC 00250B0C 90 1E 0C C4 */ stw r0, 0xcc4(r30) -/* 80253BB0 00250B10 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80253BB4 00250B14 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80253BB8 00250B18 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 80253BBC 00250B1C 48 00 00 68 */ b lbl_80253C24 -lbl_80253BC0: -/* 80253BC0 00250B20 3C A0 80 3F */ lis r5, lbl_803E9204@ha -/* 80253BC4 00250B24 38 C1 00 08 */ addi r6, r1, 8 -/* 80253BC8 00250B28 39 45 92 04 */ addi r10, r5, lbl_803E9204@l -/* 80253BCC 00250B2C 38 A0 00 12 */ li r5, 0x12 -/* 80253BD0 00250B30 81 2A 00 00 */ lwz r9, 0(r10) -/* 80253BD4 00250B34 38 E0 00 02 */ li r7, 2 -/* 80253BD8 00250B38 81 0A 00 04 */ lwz r8, 4(r10) -/* 80253BDC 00250B3C 80 0A 00 08 */ lwz r0, 8(r10) -/* 80253BE0 00250B40 91 21 00 08 */ stw r9, 8(r1) -/* 80253BE4 00250B44 91 01 00 0C */ stw r8, 0xc(r1) -/* 80253BE8 00250B48 90 01 00 10 */ stw r0, 0x10(r1) -/* 80253BEC 00250B4C 4B E2 8B C9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80253BF0 00250B50 FC 20 F8 90 */ fmr f1, f31 -/* 80253BF4 00250B54 7F C3 F3 78 */ mr r3, r30 -/* 80253BF8 00250B58 7F E4 FB 78 */ mr r4, r31 -/* 80253BFC 00250B5C 48 00 23 55 */ bl sub_80255f50 -/* 80253C00 00250B60 48 00 00 24 */ b lbl_80253C24 -lbl_80253C04: -/* 80253C04 00250B64 38 60 00 00 */ li r3, 0 -/* 80253C08 00250B68 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80253C0C 00250B6C 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80253C10 00250B70 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80253C14 00250B74 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 80253C18 00250B78 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80253C1C 00250B7C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80253C20 00250B80 98 1E 0A 33 */ stb r0, 0xa33(r30) -lbl_80253C24: -/* 80253C24 00250B84 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80253C28 00250B88 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80253C2C 00250B8C 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 80253C30 00250B90 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 80253C34 00250B94 7C 08 03 A6 */ mtlr r0 -/* 80253C38 00250B98 38 21 00 30 */ addi r1, r1, 0x30 -/* 80253C3C 00250B9C 4E 80 00 20 */ blr - -.global Crouch__7CRidleyFR13CStateManager9EStateMsgf -Crouch__7CRidleyFR13CStateManager9EStateMsgf: -/* 80253C40 00250BA0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80253C44 00250BA4 7C 08 02 A6 */ mflr r0 -/* 80253C48 00250BA8 2C 05 00 01 */ cmpwi r5, 1 -/* 80253C4C 00250BAC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80253C50 00250BB0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80253C54 00250BB4 7C 9F 23 78 */ mr r31, r4 -/* 80253C58 00250BB8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80253C5C 00250BBC 7C 7E 1B 78 */ mr r30, r3 -/* 80253C60 00250BC0 41 82 00 6C */ beq lbl_80253CCC -/* 80253C64 00250BC4 40 80 01 40 */ bge lbl_80253DA4 -/* 80253C68 00250BC8 2C 05 00 00 */ cmpwi r5, 0 -/* 80253C6C 00250BCC 40 80 00 0C */ bge lbl_80253C78 -/* 80253C70 00250BD0 48 00 01 34 */ b lbl_80253DA4 -/* 80253C74 00250BD4 48 00 01 30 */ b lbl_80253DA4 -lbl_80253C78: -/* 80253C78 00250BD8 81 83 00 00 */ lwz r12, 0(r3) -/* 80253C7C 00250BDC 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 80253C80 00250BE0 7D 89 03 A6 */ mtctr r12 -/* 80253C84 00250BE4 4E 80 04 21 */ bctrl -/* 80253C88 00250BE8 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80253C8C 00250BEC C4 03 67 00 */ lfsu f0, lbl_805A6700@l(r3) -/* 80253C90 00250BF0 C0 63 00 04 */ lfs f3, 4(r3) -/* 80253C94 00250BF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80253C98 00250BF8 C0 43 00 08 */ lfs f2, 8(r3) -/* 80253C9C 00250BFC EC 61 00 F2 */ fmuls f3, f1, f3 -/* 80253CA0 00250C00 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 80253CA4 00250C04 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80253CA8 00250C08 D0 7E 01 54 */ stfs f3, 0x154(r30) -/* 80253CAC 00250C0C D0 3E 01 58 */ stfs f1, 0x158(r30) -/* 80253CB0 00250C10 80 1E 0C 64 */ lwz r0, 0xc64(r30) -/* 80253CB4 00250C14 2C 00 00 03 */ cmpwi r0, 3 -/* 80253CB8 00250C18 40 82 00 EC */ bne lbl_80253DA4 -/* 80253CBC 00250C1C 7F C3 F3 78 */ mr r3, r30 -/* 80253CC0 00250C20 7F E4 FB 78 */ mr r4, r31 -/* 80253CC4 00250C24 4B FF FA 4D */ bl sub_80253710 -/* 80253CC8 00250C28 48 00 00 DC */ b lbl_80253DA4 -lbl_80253CCC: -/* 80253CCC 00250C2C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80253CD0 00250C30 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80253CD4 00250C34 2C 00 00 08 */ cmpwi r0, 8 -/* 80253CD8 00250C38 41 82 00 CC */ beq lbl_80253DA4 -/* 80253CDC 00250C3C 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80253CE0 00250C40 38 61 00 2C */ addi r3, r1, 0x2c -/* 80253CE4 00250C44 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80253CE8 00250C48 38 81 00 20 */ addi r4, r1, 0x20 -/* 80253CEC 00250C4C C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 80253CF0 00250C50 C0 85 00 50 */ lfs f4, 0x50(r5) -/* 80253CF4 00250C54 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80253CF8 00250C58 EC 25 00 28 */ fsubs f1, f5, f0 -/* 80253CFC 00250C5C C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80253D00 00250C60 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80253D04 00250C64 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80253D08 00250C68 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80253D0C 00250C6C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80253D10 00250C70 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80253D14 00250C74 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80253D18 00250C78 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80253D1C 00250C7C D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80253D20 00250C80 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80253D24 00250C84 48 0C 0B 2D */ bl AsNormalized__9CVector3fCFv -/* 80253D28 00250C88 C0 7E 00 48 */ lfs f3, 0x48(r30) -/* 80253D2C 00250C8C C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 80253D30 00250C90 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 80253D34 00250C94 EC 05 00 F2 */ fmuls f0, f5, f3 -/* 80253D38 00250C98 C0 E1 00 2C */ lfs f7, 0x2c(r1) -/* 80253D3C 00250C9C C0 9E 00 58 */ lfs f4, 0x58(r30) -/* 80253D40 00250CA0 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80253D44 00250CA4 EC 27 00 BA */ fmadds f1, f7, f2, f0 -/* 80253D48 00250CA8 C0 02 B9 40 */ lfs f0, lbl_805AD660@sda21(r2) -/* 80253D4C 00250CAC D0 41 00 08 */ stfs f2, 8(r1) -/* 80253D50 00250CB0 EC 26 09 3A */ fmadds f1, f6, f4, f1 -/* 80253D54 00250CB4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80253D58 00250CB8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80253D5C 00250CBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253D60 00250CC0 40 80 00 44 */ bge lbl_80253DA4 -/* 80253D64 00250CC4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80253D68 00250CC8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80253D6C 00250CCC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80253D70 00250CD0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80253D74 00250CD4 C0 43 00 04 */ lfs f2, 4(r3) -/* 80253D78 00250CD8 C0 23 00 08 */ lfs f1, 8(r3) -/* 80253D7C 00250CDC D0 E1 00 44 */ stfs f7, 0x44(r1) -/* 80253D80 00250CE0 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80253D84 00250CE4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80253D88 00250CE8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80253D8C 00250CEC D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 80253D90 00250CF0 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 80253D94 00250CF4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80253D98 00250CF8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80253D9C 00250CFC 38 63 00 04 */ addi r3, r3, 4 -/* 80253DA0 00250D00 4B ED D9 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_80253DA4: -/* 80253DA4 00250D04 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80253DA8 00250D08 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80253DAC 00250D0C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80253DB0 00250D10 7C 08 03 A6 */ mtlr r0 -/* 80253DB4 00250D14 38 21 00 60 */ addi r1, r1, 0x60 -/* 80253DB8 00250D18 4E 80 00 20 */ blr - -.global JumpBack__7CRidleyFR13CStateManager9EStateMsgf -JumpBack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80253DBC 00250D1C 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80253DC0 00250D20 7C 08 02 A6 */ mflr r0 -/* 80253DC4 00250D24 90 01 01 34 */ stw r0, 0x134(r1) -/* 80253DC8 00250D28 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80253DCC 00250D2C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80253DD0 00250D30 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 80253DD4 00250D34 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 80253DD8 00250D38 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 80253DDC 00250D3C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 80253DE0 00250D40 BF 61 00 EC */ stmw r27, 0xec(r1) -/* 80253DE4 00250D44 FF A0 08 90 */ fmr f29, f1 -/* 80253DE8 00250D48 2C 05 00 01 */ cmpwi r5, 1 -/* 80253DEC 00250D4C 7C 7F 1B 78 */ mr r31, r3 -/* 80253DF0 00250D50 7C 9B 23 78 */ mr r27, r4 -/* 80253DF4 00250D54 41 82 02 18 */ beq lbl_8025400C -/* 80253DF8 00250D58 40 80 00 10 */ bge lbl_80253E08 -/* 80253DFC 00250D5C 2C 05 00 00 */ cmpwi r5, 0 -/* 80253E00 00250D60 40 80 00 14 */ bge lbl_80253E14 -/* 80253E04 00250D64 48 00 03 94 */ b lbl_80254198 -lbl_80253E08: -/* 80253E08 00250D68 2C 05 00 03 */ cmpwi r5, 3 -/* 80253E0C 00250D6C 40 80 03 8C */ bge lbl_80254198 -/* 80253E10 00250D70 48 00 03 80 */ b lbl_80254190 -lbl_80253E14: -/* 80253E14 00250D74 38 C0 00 01 */ li r6, 1 -/* 80253E18 00250D78 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80253E1C 00250D7C 90 DF 03 2C */ stw r6, 0x32c(r31) -/* 80253E20 00250D80 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80253E24 00250D84 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80253E28 00250D88 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80253E2C 00250D8C C0 25 00 00 */ lfs f1, 0(r5) -/* 80253E30 00250D90 D0 3F 01 50 */ stfs f1, 0x150(r31) -/* 80253E34 00250D94 C0 25 00 04 */ lfs f1, 4(r5) -/* 80253E38 00250D98 D0 3F 01 54 */ stfs f1, 0x154(r31) -/* 80253E3C 00250D9C C0 25 00 08 */ lfs f1, 8(r5) -/* 80253E40 00250DA0 D0 3F 01 58 */ stfs f1, 0x158(r31) -/* 80253E44 00250DA4 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 80253E48 00250DA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80253E4C 00250DAC 98 1F 03 28 */ stb r0, 0x328(r31) -/* 80253E50 00250DB0 C0 BF 0A BC */ lfs f5, 0xabc(r31) -/* 80253E54 00250DB4 C0 7F 0A 98 */ lfs f3, 0xa98(r31) -/* 80253E58 00250DB8 C0 5F 0A A8 */ lfs f2, 0xaa8(r31) -/* 80253E5C 00250DBC C0 3F 0A 88 */ lfs f1, 0xa88(r31) -/* 80253E60 00250DC0 EC 85 00 F2 */ fmuls f4, f5, f3 -/* 80253E64 00250DC4 C1 3F 0A A0 */ lfs f9, 0xaa0(r31) -/* 80253E68 00250DC8 EC 65 00 B2 */ fmuls f3, f5, f2 -/* 80253E6C 00250DCC C1 5F 0A B0 */ lfs f10, 0xab0(r31) -/* 80253E70 00250DD0 EC 25 00 72 */ fmuls f1, f5, f1 -/* 80253E74 00250DD4 C0 5F 0A 90 */ lfs f2, 0xa90(r31) -/* 80253E78 00250DD8 EC C9 20 2A */ fadds f6, f9, f4 -/* 80253E7C 00250DDC C0 FF 0A C0 */ lfs f7, 0xac0(r31) -/* 80253E80 00250DE0 EC AA 18 2A */ fadds f5, f10, f3 -/* 80253E84 00250DE4 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80253E88 00250DE8 EC 22 08 2A */ fadds f1, f2, f1 -/* 80253E8C 00250DEC ED 06 00 2A */ fadds f8, f6, f0 -/* 80253E90 00250DF0 EC E5 38 2A */ fadds f7, f5, f7 -/* 80253E94 00250DF4 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 80253E98 00250DF8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80253E9C 00250DFC D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80253EA0 00250E00 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80253EA4 00250E04 D1 21 00 A0 */ stfs f9, 0xa0(r1) -/* 80253EA8 00250E08 D1 41 00 A4 */ stfs f10, 0xa4(r1) -/* 80253EAC 00250E0C D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80253EB0 00250E10 D0 C1 00 AC */ stfs f6, 0xac(r1) -/* 80253EB4 00250E14 D0 A1 00 B0 */ stfs f5, 0xb0(r1) -/* 80253EB8 00250E18 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80253EBC 00250E1C D1 01 00 B8 */ stfs f8, 0xb8(r1) -/* 80253EC0 00250E20 D0 E1 00 BC */ stfs f7, 0xbc(r1) -/* 80253EC4 00250E24 4B E2 8C 99 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80253EC8 00250E28 7F E3 FB 78 */ mr r3, r31 -/* 80253ECC 00250E2C 7F 65 DB 78 */ mr r5, r27 -/* 80253ED0 00250E30 38 80 00 13 */ li r4, 0x13 -/* 80253ED4 00250E34 4B E0 00 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80253ED8 00250E38 7F E3 FB 78 */ mr r3, r31 -/* 80253EDC 00250E3C 4B DF F9 E1 */ bl GetMaterialFilter__6CActorCFv -/* 80253EE0 00250E40 80 AD 97 B0 */ lwz r5, lbl_805A8370@sda21(r13) -/* 80253EE4 00250E44 38 80 00 01 */ li r4, 1 -/* 80253EE8 00250E48 83 C3 00 00 */ lwz r30, 0(r3) -/* 80253EEC 00250E4C 83 A3 00 04 */ lwz r29, 4(r3) -/* 80253EF0 00250E50 38 60 00 00 */ li r3, 0 -/* 80253EF4 00250E54 48 13 60 01 */ bl __shl2i -/* 80253EF8 00250E58 7C 7C 1B 78 */ mr r28, r3 -/* 80253EFC 00250E5C 7C 9B 23 78 */ mr r27, r4 -/* 80253F00 00250E60 7F E3 FB 78 */ mr r3, r31 -/* 80253F04 00250E64 4B DF F9 B9 */ bl GetMaterialFilter__6CActorCFv -/* 80253F08 00250E68 80 A3 00 08 */ lwz r5, 8(r3) -/* 80253F0C 00250E6C 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha -/* 80253F10 00250E70 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 80253F14 00250E74 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l -/* 80253F18 00250E78 38 00 FF FF */ li r0, -1 -/* 80253F1C 00250E7C 7C A7 E3 78 */ or r7, r5, r28 -/* 80253F20 00250E80 7C C6 DB 78 */ or r6, r6, r27 -/* 80253F24 00250E84 7F A3 18 38 */ and r3, r29, r3 -/* 80253F28 00250E88 7F C5 00 38 */ and r5, r30, r0 -/* 80253F2C 00250E8C 38 00 00 03 */ li r0, 3 -/* 80253F30 00250E90 90 61 00 D4 */ stw r3, 0xd4(r1) -/* 80253F34 00250E94 7F E3 FB 78 */ mr r3, r31 -/* 80253F38 00250E98 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80253F3C 00250E9C 90 A1 00 D0 */ stw r5, 0xd0(r1) -/* 80253F40 00250EA0 90 C1 00 DC */ stw r6, 0xdc(r1) -/* 80253F44 00250EA4 90 E1 00 D8 */ stw r7, 0xd8(r1) -/* 80253F48 00250EA8 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80253F4C 00250EAC 4B DF F9 55 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80253F50 00250EB0 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80253F54 00250EB4 38 60 00 00 */ li r3, 0 -/* 80253F58 00250EB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80253F5C 00250EBC 38 61 00 3C */ addi r3, r1, 0x3c -/* 80253F60 00250EC0 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80253F64 00250EC4 C0 7F 02 E0 */ lfs f3, 0x2e0(r31) -/* 80253F68 00250EC8 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80253F6C 00250ECC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80253F70 00250ED0 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80253F74 00250ED4 EF A3 10 28 */ fsubs f29, f3, f2 -/* 80253F78 00250ED8 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) -/* 80253F7C 00250EDC EF C1 00 28 */ fsubs f30, f1, f0 -/* 80253F80 00250EE0 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 80253F84 00250EE4 FC 20 E8 90 */ fmr f1, f29 -/* 80253F88 00250EE8 EF E2 00 28 */ fsubs f31, f2, f0 -/* 80253F8C 00250EEC FC 40 F0 90 */ fmr f2, f30 -/* 80253F90 00250EF0 48 0C 02 71 */ bl __ct__9CVector2fFff -/* 80253F94 00250EF4 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80253F98 00250EF8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80253F9C 00250EFC C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80253FA0 00250F00 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 80253FA4 00250F04 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80253FA8 00250F08 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80253FAC 00250F0C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80253FB0 00250F10 48 0C 02 51 */ bl __ct__9CVector2fFff -/* 80253FB4 00250F14 38 61 00 44 */ addi r3, r1, 0x44 -/* 80253FB8 00250F18 38 81 00 3C */ addi r4, r1, 0x3c -/* 80253FBC 00250F1C 48 0C 00 09 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f -/* 80253FC0 00250F20 D0 3F 0C 7C */ stfs f1, 0xc7c(r31) -/* 80253FC4 00250F24 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80253FC8 00250F28 C0 7F 00 44 */ lfs f3, 0x44(r31) -/* 80253FCC 00250F2C C0 5F 00 34 */ lfs f2, 0x34(r31) -/* 80253FD0 00250F30 EC 23 07 B2 */ fmuls f1, f3, f30 -/* 80253FD4 00250F34 C0 9F 00 54 */ lfs f4, 0x54(r31) -/* 80253FD8 00250F38 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80253FDC 00250F3C EC 22 0F 7A */ fmadds f1, f2, f29, f1 -/* 80253FE0 00250F40 D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 80253FE4 00250F44 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 80253FE8 00250F48 EC 24 0F FA */ fmadds f1, f4, f31, f1 -/* 80253FEC 00250F4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80253FF0 00250F50 40 81 00 10 */ ble lbl_80254000 -/* 80253FF4 00250F54 C0 1F 0C 7C */ lfs f0, 0xc7c(r31) -/* 80253FF8 00250F58 FC 00 00 50 */ fneg f0, f0 -/* 80253FFC 00250F5C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) -lbl_80254000: -/* 80254000 00250F60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254004 00250F64 D0 1F 0C 78 */ stfs f0, 0xc78(r31) -/* 80254008 00250F68 48 00 01 90 */ b lbl_80254198 -lbl_8025400C: -/* 8025400C 00250F6C 3C A0 80 3F */ lis r5, lbl_803E91F8@ha -/* 80254010 00250F70 38 C1 00 6C */ addi r6, r1, 0x6c -/* 80254014 00250F74 39 45 91 F8 */ addi r10, r5, lbl_803E91F8@l -/* 80254018 00250F78 38 A0 00 0C */ li r5, 0xc -/* 8025401C 00250F7C 81 2A 00 00 */ lwz r9, 0(r10) -/* 80254020 00250F80 38 E0 00 04 */ li r7, 4 -/* 80254024 00250F84 81 0A 00 04 */ lwz r8, 4(r10) -/* 80254028 00250F88 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025402C 00250F8C 91 21 00 6C */ stw r9, 0x6c(r1) -/* 80254030 00250F90 91 01 00 70 */ stw r8, 0x70(r1) -/* 80254034 00250F94 90 01 00 74 */ stw r0, 0x74(r1) -/* 80254038 00250F98 4B E2 87 7D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025403C 00250F9C 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 80254040 00250FA0 2C 00 00 02 */ cmpwi r0, 2 -/* 80254044 00250FA4 41 82 00 08 */ beq lbl_8025404C -/* 80254048 00250FA8 48 00 01 50 */ b lbl_80254198 -lbl_8025404C: -/* 8025404C 00250FAC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80254050 00250FB0 38 80 00 01 */ li r4, 1 -/* 80254054 00250FB4 4B EE 69 85 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80254058 00250FB8 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 8025405C 00250FBC C0 1F 0C 78 */ lfs f0, 0xc78(r31) -/* 80254060 00250FC0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80254064 00250FC4 40 82 00 CC */ bne lbl_80254130 -/* 80254068 00250FC8 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) -/* 8025406C 00250FCC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80254070 00250FD0 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) -/* 80254074 00250FD4 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80254078 00250FD8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8025407C 00250FDC 38 A0 00 14 */ li r5, 0x14 -/* 80254080 00250FE0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80254084 00250FE4 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80254088 00250FE8 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025408C 00250FEC 4B DD 6F 4D */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime -/* 80254090 00250FF0 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80254094 00250FF4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80254098 00250FF8 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8025409C 00250FFC 38 C1 00 1C */ addi r6, r1, 0x1c -/* 802540A0 00251000 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) -/* 802540A4 00251004 38 A0 00 15 */ li r5, 0x15 -/* 802540A8 00251008 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) -/* 802540AC 0025100C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802540B0 00251010 90 81 00 58 */ stw r4, 0x58(r1) -/* 802540B4 00251014 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802540B8 00251018 90 01 00 20 */ stw r0, 0x20(r1) -/* 802540BC 0025101C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 802540C0 00251020 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802540C4 00251024 4B DD 6F 15 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime -/* 802540C8 00251028 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802540CC 0025102C 38 61 00 54 */ addi r3, r1, 0x54 -/* 802540D0 00251030 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 802540D4 00251034 38 81 00 14 */ addi r4, r1, 0x14 -/* 802540D8 00251038 C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) -/* 802540DC 0025103C 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) -/* 802540E0 00251040 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 802540E4 00251044 90 A1 00 50 */ stw r5, 0x50(r1) -/* 802540E8 00251048 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802540EC 0025104C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802540F0 00251050 48 0F 49 E5 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime -/* 802540F4 00251054 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802540F8 00251058 41 82 00 38 */ beq lbl_80254130 -/* 802540FC 0025105C C0 0D 97 34 */ lfs f0, lbl_805A82F4@sda21(r13) -/* 80254100 00251060 38 61 00 4C */ addi r3, r1, 0x4c -/* 80254104 00251064 80 0D 97 30 */ lwz r0, lbl_805A82F0@sda21(r13) -/* 80254108 00251068 38 81 00 0C */ addi r4, r1, 0xc -/* 8025410C 0025106C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80254110 00251070 90 01 00 10 */ stw r0, 0x10(r1) -/* 80254114 00251074 48 0F 49 C1 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime -/* 80254118 00251078 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025411C 0025107C 41 82 00 14 */ beq lbl_80254130 -/* 80254120 00251080 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80254124 00251084 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80254128 00251088 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025412C 0025108C D0 1F 0C 78 */ stfs f0, 0xc78(r31) -lbl_80254130: -/* 80254130 00251090 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80254134 00251094 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80254138 00251098 41 82 00 60 */ beq lbl_80254198 -/* 8025413C 0025109C C0 3F 0C 7C */ lfs f1, 0xc7c(r31) -/* 80254140 002510A0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80254144 002510A4 C0 1F 0C 78 */ lfs f0, 0xc78(r31) -/* 80254148 002510A8 38 81 00 08 */ addi r4, r1, 8 -/* 8025414C 002510AC EC 21 07 72 */ fmuls f1, f1, f29 -/* 80254150 002510B0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80254154 002510B4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80254158 002510B8 48 0B CF A1 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8025415C 002510BC C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 80254160 002510C0 FC 20 E8 90 */ fmr f1, f29 -/* 80254164 002510C4 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 80254168 002510C8 7F E3 FB 78 */ mr r3, r31 -/* 8025416C 002510CC C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80254170 002510D0 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 80254174 002510D4 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80254178 002510D8 D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 8025417C 002510DC D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 80254180 002510E0 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 80254184 002510E4 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80254188 002510E8 4B EC 6B D5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -/* 8025418C 002510EC 48 00 00 0C */ b lbl_80254198 -lbl_80254190: -/* 80254190 002510F0 38 00 00 00 */ li r0, 0 -/* 80254194 002510F4 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_80254198: -/* 80254198 002510F8 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8025419C 002510FC CB E1 01 20 */ lfd f31, 0x120(r1) -/* 802541A0 00251100 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 802541A4 00251104 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 802541A8 00251108 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 802541AC 0025110C CB A1 01 00 */ lfd f29, 0x100(r1) -/* 802541B0 00251110 BB 61 00 EC */ lmw r27, 0xec(r1) -/* 802541B4 00251114 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802541B8 00251118 7C 08 03 A6 */ mtlr r0 -/* 802541BC 0025111C 38 21 01 30 */ addi r1, r1, 0x130 -/* 802541C0 00251120 4E 80 00 20 */ blr - -.global Land__7CRidleyFR13CStateManager9EStateMsgf -Land__7CRidleyFR13CStateManager9EStateMsgf: -/* 802541C4 00251124 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802541C8 00251128 7C 08 02 A6 */ mflr r0 -/* 802541CC 0025112C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802541D0 00251130 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 802541D4 00251134 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 802541D8 00251138 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 802541DC 0025113C 2C 05 00 01 */ cmpwi r5, 1 -/* 802541E0 00251140 7C 7E 1B 78 */ mr r30, r3 -/* 802541E4 00251144 7C 9F 23 78 */ mr r31, r4 -/* 802541E8 00251148 41 82 01 C4 */ beq lbl_802543AC -/* 802541EC 0025114C 40 80 00 10 */ bge lbl_802541FC -/* 802541F0 00251150 2C 05 00 00 */ cmpwi r5, 0 -/* 802541F4 00251154 40 80 00 14 */ bge lbl_80254208 -/* 802541F8 00251158 48 00 02 EC */ b lbl_802544E4 -lbl_802541FC: -/* 802541FC 0025115C 2C 05 00 03 */ cmpwi r5, 3 -/* 80254200 00251160 40 80 02 E4 */ bge lbl_802544E4 -/* 80254204 00251164 48 00 02 00 */ b lbl_80254404 -lbl_80254208: -/* 80254208 00251168 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8025420C 0025116C 38 61 00 64 */ addi r3, r1, 0x64 -/* 80254210 00251170 C0 1E 0A B0 */ lfs f0, 0xab0(r30) -/* 80254214 00251174 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 80254218 00251178 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 8025421C 0025117C C0 7E 0A A0 */ lfs f3, 0xaa0(r30) -/* 80254220 00251180 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80254224 00251184 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 80254228 00251188 C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 8025422C 0025118C EC 64 18 28 */ fsubs f3, f4, f3 -/* 80254230 00251190 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254234 00251194 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80254238 00251198 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 8025423C 0025119C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 80254240 002511A0 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80254244 002511A4 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80254248 002511A8 48 0C 06 71 */ bl Magnitude__9CVector3fCFv -/* 8025424C 002511AC D0 21 00 08 */ stfs f1, 8(r1) -/* 80254250 002511B0 38 61 00 0C */ addi r3, r1, 0xc -/* 80254254 002511B4 C0 22 B9 44 */ lfs f1, lbl_805AD664@sda21(r2) -/* 80254258 002511B8 38 81 00 08 */ addi r4, r1, 8 -/* 8025425C 002511BC C0 1E 0A B4 */ lfs f0, 0xab4(r30) -/* 80254260 002511C0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80254264 002511C4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80254268 002511C8 4B E2 9B 79 */ bl "Min__5CMathFRCfRCf" -/* 8025426C 002511CC C3 E3 00 00 */ lfs f31, 0(r3) -/* 80254270 002511D0 38 61 00 64 */ addi r3, r1, 0x64 -/* 80254274 002511D4 48 0C 06 85 */ bl Normalize__9CVector3fFv -/* 80254278 002511D8 C0 43 00 04 */ lfs f2, 4(r3) -/* 8025427C 002511DC 38 81 00 58 */ addi r4, r1, 0x58 -/* 80254280 002511E0 C0 23 00 08 */ lfs f1, 8(r3) -/* 80254284 002511E4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80254288 002511E8 EC 9F 00 B2 */ fmuls f4, f31, f2 -/* 8025428C 002511EC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) -/* 80254290 002511F0 EC 7F 00 72 */ fmuls f3, f31, f1 -/* 80254294 002511F4 C0 FE 0A B0 */ lfs f7, 0xab0(r30) -/* 80254298 002511F8 EC 5F 00 32 */ fmuls f2, f31, f0 -/* 8025429C 002511FC C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 802542A0 00251200 EC A6 20 2A */ fadds f5, f6, f4 -/* 802542A4 00251204 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 802542A8 00251208 EC 87 18 2A */ fadds f4, f7, f3 -/* 802542AC 0025120C 7F C3 F3 78 */ mr r3, r30 -/* 802542B0 00251210 EC 01 10 2A */ fadds f0, f1, f2 -/* 802542B4 00251214 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802542B8 00251218 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 802542BC 0025121C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 802542C0 00251220 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 802542C4 00251224 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 802542C8 00251228 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 802542CC 0025122C D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 802542D0 00251230 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 802542D4 00251234 4B E2 88 89 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 802542D8 00251238 38 00 00 01 */ li r0, 1 -/* 802542DC 0025123C 7F C3 F3 78 */ mr r3, r30 -/* 802542E0 00251240 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802542E4 00251244 7F E5 FB 78 */ mr r5, r31 -/* 802542E8 00251248 38 80 00 13 */ li r4, 0x13 -/* 802542EC 0025124C 4B E0 00 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802542F0 00251250 7F C3 F3 78 */ mr r3, r30 -/* 802542F4 00251254 4B DF F5 C9 */ bl GetMaterialFilter__6CActorCFv -/* 802542F8 00251258 80 AD 97 AC */ lwz r5, lbl_805A836C@sda21(r13) -/* 802542FC 0025125C 38 80 00 01 */ li r4, 1 -/* 80254300 00251260 83 A3 00 08 */ lwz r29, 8(r3) -/* 80254304 00251264 83 83 00 0C */ lwz r28, 0xc(r3) -/* 80254308 00251268 38 60 00 00 */ li r3, 0 -/* 8025430C 0025126C 48 13 5B E9 */ bl __shl2i -/* 80254310 00251270 7C 7B 1B 78 */ mr r27, r3 -/* 80254314 00251274 7C 9A 23 78 */ mr r26, r4 -/* 80254318 00251278 7F C3 F3 78 */ mr r3, r30 -/* 8025431C 0025127C 4B DF F5 A1 */ bl GetMaterialFilter__6CActorCFv -/* 80254320 00251280 80 A3 00 00 */ lwz r5, 0(r3) -/* 80254324 00251284 3C 80 FF F8 */ lis r4, 0xFFF7FFFF@ha -/* 80254328 00251288 80 C3 00 04 */ lwz r6, 4(r3) -/* 8025432C 0025128C 38 64 FF FF */ addi r3, r4, 0xFFF7FFFF@l -/* 80254330 00251290 38 00 FF FF */ li r0, -1 -/* 80254334 00251294 7C A7 DB 78 */ or r7, r5, r27 -/* 80254338 00251298 7C C4 D3 78 */ or r4, r6, r26 -/* 8025433C 0025129C 7F 86 18 38 */ and r6, r28, r3 -/* 80254340 002512A0 7F A5 00 38 */ and r5, r29, r0 -/* 80254344 002512A4 38 00 00 03 */ li r0, 3 -/* 80254348 002512A8 90 81 00 74 */ stw r4, 0x74(r1) -/* 8025434C 002512AC 7F C3 F3 78 */ mr r3, r30 -/* 80254350 002512B0 38 81 00 70 */ addi r4, r1, 0x70 -/* 80254354 002512B4 90 E1 00 70 */ stw r7, 0x70(r1) -/* 80254358 002512B8 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 8025435C 002512BC 90 A1 00 78 */ stw r5, 0x78(r1) -/* 80254360 002512C0 90 01 00 80 */ stw r0, 0x80(r1) -/* 80254364 002512C4 4B DF F5 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80254368 002512C8 80 1E 0C 64 */ lwz r0, 0xc64(r30) -/* 8025436C 002512CC 2C 00 00 03 */ cmpwi r0, 3 -/* 80254370 002512D0 40 82 00 18 */ bne lbl_80254388 -/* 80254374 002512D4 7F C3 F3 78 */ mr r3, r30 -/* 80254378 002512D8 7F E6 FB 78 */ mr r6, r31 -/* 8025437C 002512DC 38 80 00 25 */ li r4, 0x25 -/* 80254380 002512E0 38 A0 00 13 */ li r5, 0x13 -/* 80254384 002512E4 4B DF FF 31 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_80254388: -/* 80254388 002512E8 C0 3E 08 F4 */ lfs f1, 0x8f4(r30) -/* 8025438C 002512EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254390 002512F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80254394 002512F4 7C 60 00 26 */ mfcr r3 -/* 80254398 002512F8 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 8025439C 002512FC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c -/* 802543A0 00251300 98 1E 04 02 */ stb r0, 0x402(r30) -/* 802543A4 00251304 D0 3E 05 04 */ stfs f1, 0x504(r30) -/* 802543A8 00251308 48 00 01 3C */ b lbl_802544E4 -lbl_802543AC: -/* 802543AC 0025130C 3C A0 80 3F */ lis r5, lbl_803E91EC@ha -/* 802543B0 00251310 38 C1 00 34 */ addi r6, r1, 0x34 -/* 802543B4 00251314 39 45 91 EC */ addi r10, r5, lbl_803E91EC@l -/* 802543B8 00251318 38 A0 00 07 */ li r5, 7 -/* 802543BC 0025131C 81 2A 00 00 */ lwz r9, 0(r10) -/* 802543C0 00251320 38 E0 00 08 */ li r7, 8 -/* 802543C4 00251324 81 0A 00 04 */ lwz r8, 4(r10) -/* 802543C8 00251328 80 0A 00 08 */ lwz r0, 8(r10) -/* 802543CC 0025132C 91 21 00 34 */ stw r9, 0x34(r1) -/* 802543D0 00251330 91 01 00 38 */ stw r8, 0x38(r1) -/* 802543D4 00251334 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802543D8 00251338 4B E2 83 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802543DC 0025133C 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 802543E0 00251340 2C 00 00 02 */ cmpwi r0, 2 -/* 802543E4 00251344 40 82 00 10 */ bne lbl_802543F4 -/* 802543E8 00251348 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802543EC 0025134C 38 80 00 03 */ li r4, 3 -/* 802543F0 00251350 4B EE 65 E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_802543F4: -/* 802543F4 00251354 7F C3 F3 78 */ mr r3, r30 -/* 802543F8 00251358 7F E4 FB 78 */ mr r4, r31 -/* 802543FC 0025135C 48 00 1A 61 */ bl sub_80255e5c -/* 80254400 00251360 48 00 00 E4 */ b lbl_802544E4 -lbl_80254404: -/* 80254404 00251364 38 60 00 00 */ li r3, 0 -/* 80254408 00251368 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 8025440C 0025136C 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80254410 00251370 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) -/* 80254414 00251374 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80254418 00251378 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8025441C 0025137C 98 1E 04 02 */ stb r0, 0x402(r30) -/* 80254420 00251380 D0 3E 05 04 */ stfs f1, 0x504(r30) -/* 80254424 00251384 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80254428 00251388 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8025442C 0025138C 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 80254430 00251390 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80254434 00251394 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80254438 00251398 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 8025443C 0025139C 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80254440 002513A0 48 0B E1 05 */ bl Range__9CRandom16Fff -/* 80254444 002513A4 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) -/* 80254448 002513A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025444C 002513AC 40 80 00 98 */ bge lbl_802544E4 -/* 80254450 002513B0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80254454 002513B4 C0 FE 00 48 */ lfs f7, 0x48(r30) -/* 80254458 002513B8 C1 23 00 50 */ lfs f9, 0x50(r3) -/* 8025445C 002513BC C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80254460 002513C0 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80254464 002513C4 EC C9 00 28 */ fsubs f6, f9, f0 -/* 80254468 002513C8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8025446C 002513CC C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 80254470 002513D0 EC 43 00 28 */ fsubs f2, f3, f0 -/* 80254474 002513D4 C1 43 00 60 */ lfs f10, 0x60(r3) -/* 80254478 002513D8 EC 26 01 F2 */ fmuls f1, f6, f7 -/* 8025447C 002513DC C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80254480 002513E0 C1 1E 00 58 */ lfs f8, 0x58(r30) -/* 80254484 002513E4 EC AA 00 28 */ fsubs f5, f10, f0 -/* 80254488 002513E8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025448C 002513EC EC 22 09 3A */ fmadds f1, f2, f4, f1 -/* 80254490 002513F0 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80254494 002513F4 D0 E1 00 14 */ stfs f7, 0x14(r1) -/* 80254498 002513F8 EC 25 0A 3A */ fmadds f1, f5, f8, f1 -/* 8025449C 002513FC D1 01 00 18 */ stfs f8, 0x18(r1) -/* 802544A0 00251400 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802544A4 00251404 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802544A8 00251408 D1 21 00 20 */ stfs f9, 0x20(r1) -/* 802544AC 0025140C D1 41 00 24 */ stfs f10, 0x24(r1) -/* 802544B0 00251410 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802544B4 00251414 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 802544B8 00251418 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 802544BC 0025141C 40 81 00 18 */ ble lbl_802544D4 -/* 802544C0 00251420 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802544C4 00251424 38 60 00 01 */ li r3, 1 -/* 802544C8 00251428 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 802544CC 0025142C 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 802544D0 00251430 48 00 00 14 */ b lbl_802544E4 -lbl_802544D4: -/* 802544D4 00251434 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802544D8 00251438 38 60 00 01 */ li r3, 1 -/* 802544DC 0025143C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 802544E0 00251440 98 1E 0A 33 */ stb r0, 0xa33(r30) -lbl_802544E4: -/* 802544E4 00251444 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802544E8 00251448 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802544EC 0025144C BB 41 00 88 */ lmw r26, 0x88(r1) -/* 802544F0 00251450 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802544F4 00251454 7C 08 03 A6 */ mtlr r0 -/* 802544F8 00251458 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802544FC 0025145C 4E 80 00 20 */ blr - -.global Approach__7CRidleyFR13CStateManager9EStateMsgf -Approach__7CRidleyFR13CStateManager9EStateMsgf: -/* 80254500 00251460 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80254504 00251464 7C 08 02 A6 */ mflr r0 -/* 80254508 00251468 90 01 00 74 */ stw r0, 0x74(r1) -/* 8025450C 0025146C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80254510 00251470 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80254514 00251474 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80254518 00251478 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8025451C 0025147C FF E0 08 90 */ fmr f31, f1 -/* 80254520 00251480 2C 05 00 01 */ cmpwi r5, 1 -/* 80254524 00251484 7C 7E 1B 78 */ mr r30, r3 -/* 80254528 00251488 7C 9F 23 78 */ mr r31, r4 -/* 8025452C 0025148C 41 82 01 0C */ beq lbl_80254638 -/* 80254530 00251490 40 80 01 68 */ bge lbl_80254698 -/* 80254534 00251494 2C 05 00 00 */ cmpwi r5, 0 -/* 80254538 00251498 40 80 00 0C */ bge lbl_80254544 -/* 8025453C 0025149C 48 00 01 5C */ b lbl_80254698 -/* 80254540 002514A0 48 00 01 58 */ b lbl_80254698 -lbl_80254544: -/* 80254544 002514A4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80254548 002514A8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025454C 002514AC C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 80254550 002514B0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80254554 002514B4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80254558 002514B8 C0 5E 0A B0 */ lfs f2, 0xab0(r30) -/* 8025455C 002514BC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80254560 002514C0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80254564 002514C4 C0 1E 0A 90 */ lfs f0, 0xa90(r30) -/* 80254568 002514C8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025456C 002514CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80254570 002514D0 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80254574 002514D4 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80254578 002514D8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8025457C 002514DC 48 0C 02 D5 */ bl AsNormalized__9CVector3fCFv -/* 80254580 002514E0 C0 FE 0A B4 */ lfs f7, 0xab4(r30) -/* 80254584 002514E4 7F C3 F3 78 */ mr r3, r30 -/* 80254588 002514E8 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8025458C 002514EC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80254590 002514F0 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80254594 002514F4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80254598 002514F8 EC A7 00 B2 */ fmuls f5, f7, f2 -/* 8025459C 002514FC C0 DE 0A A0 */ lfs f6, 0xaa0(r30) -/* 802545A0 00251500 EC 67 00 72 */ fmuls f3, f7, f1 -/* 802545A4 00251504 C0 9E 0A B0 */ lfs f4, 0xab0(r30) -/* 802545A8 00251508 EC 27 00 32 */ fmuls f1, f7, f0 -/* 802545AC 0025150C C0 5E 0A 90 */ lfs f2, 0xa90(r30) -/* 802545B0 00251510 EC A6 28 2A */ fadds f5, f6, f5 -/* 802545B4 00251514 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 802545B8 00251518 EC 64 18 2A */ fadds f3, f4, f3 -/* 802545BC 0025151C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802545C0 00251520 EC 22 08 2A */ fadds f1, f2, f1 -/* 802545C4 00251524 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 802545C8 00251528 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802545CC 0025152C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802545D0 00251530 C0 3E 0A E8 */ lfs f1, 0xae8(r30) -/* 802545D4 00251534 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 802545D8 00251538 EC 21 20 2A */ fadds f1, f1, f4 -/* 802545DC 0025153C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 802545E0 00251540 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802545E4 00251544 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802545E8 00251548 4B E2 85 75 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 802545EC 0025154C 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802545F0 00251550 38 60 00 00 */ li r3, 0 -/* 802545F4 00251554 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802545F8 00251558 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 802545FC 0025155C 80 1E 0C 64 */ lwz r0, 0xc64(r30) -/* 80254600 00251560 2C 00 00 03 */ cmpwi r0, 3 -/* 80254604 00251564 40 82 00 94 */ bne lbl_80254698 -/* 80254608 00251568 88 9E 0A 34 */ lbz r4, 0xa34(r30) -/* 8025460C 0025156C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80254610 00251570 40 82 00 88 */ bne lbl_80254698 -/* 80254614 00251574 38 00 00 01 */ li r0, 1 -/* 80254618 00251578 7F C3 F3 78 */ mr r3, r30 -/* 8025461C 0025157C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 80254620 00251580 7F E5 FB 78 */ mr r5, r31 -/* 80254624 00251584 98 9E 0A 34 */ stb r4, 0xa34(r30) -/* 80254628 00251588 38 80 00 0F */ li r4, 0xf -/* 8025462C 0025158C 38 C0 FF FF */ li r6, -1 -/* 80254630 00251590 4B DF CA 91 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80254634 00251594 48 00 00 64 */ b lbl_80254698 -lbl_80254638: -/* 80254638 00251598 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) -/* 8025463C 0025159C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80254640 002515A0 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80254644 002515A4 38 81 00 08 */ addi r4, r1, 8 -/* 80254648 002515A8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) -/* 8025464C 002515AC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80254650 002515B0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80254654 002515B4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 80254658 002515B8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8025465C 002515BC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80254660 002515C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80254664 002515C4 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80254668 002515C8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025466C 002515CC D0 01 00 08 */ stfs f0, 8(r1) -/* 80254670 002515D0 48 0C 01 E1 */ bl AsNormalized__9CVector3fCFv -/* 80254674 002515D4 FC 40 F8 90 */ fmr f2, f31 -/* 80254678 002515D8 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) -/* 8025467C 002515DC 7F C3 F3 78 */ mr r3, r30 -/* 80254680 002515E0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80254684 002515E4 48 00 19 65 */ bl sub_80255fe8 -/* 80254688 002515E8 FC 20 F8 90 */ fmr f1, f31 -/* 8025468C 002515EC 7F C3 F3 78 */ mr r3, r30 -/* 80254690 002515F0 7F E4 FB 78 */ mr r4, r31 -/* 80254694 002515F4 48 00 18 BD */ bl sub_80255f50 -lbl_80254698: -/* 80254698 002515F8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8025469C 002515FC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802546A0 00251600 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 802546A4 00251604 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802546A8 00251608 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802546AC 0025160C 7C 08 03 A6 */ mtlr r0 -/* 802546B0 00251610 38 21 00 70 */ addi r1, r1, 0x70 -/* 802546B4 00251614 4E 80 00 20 */ blr - -.global Explode__7CRidleyFR13CStateManager9EStateMsgf -Explode__7CRidleyFR13CStateManager9EStateMsgf: -/* 802546B8 00251618 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802546BC 0025161C 7C 08 02 A6 */ mflr r0 -/* 802546C0 00251620 2C 05 00 01 */ cmpwi r5, 1 -/* 802546C4 00251624 90 01 00 24 */ stw r0, 0x24(r1) -/* 802546C8 00251628 41 82 00 3C */ beq lbl_80254704 -/* 802546CC 0025162C 40 80 00 10 */ bge lbl_802546DC -/* 802546D0 00251630 2C 05 00 00 */ cmpwi r5, 0 -/* 802546D4 00251634 40 80 00 14 */ bge lbl_802546E8 -/* 802546D8 00251638 48 00 00 68 */ b lbl_80254740 -lbl_802546DC: -/* 802546DC 0025163C 2C 05 00 03 */ cmpwi r5, 3 -/* 802546E0 00251640 40 80 00 60 */ bge lbl_80254740 -/* 802546E4 00251644 48 00 00 54 */ b lbl_80254738 -lbl_802546E8: -/* 802546E8 00251648 88 83 0A 32 */ lbz r4, 0xa32(r3) -/* 802546EC 0025164C 38 00 00 00 */ li r0, 0 -/* 802546F0 00251650 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b -/* 802546F4 00251654 38 00 00 01 */ li r0, 1 -/* 802546F8 00251658 98 83 0A 32 */ stb r4, 0xa32(r3) -/* 802546FC 0025165C 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80254700 00251660 48 00 00 40 */ b lbl_80254740 -lbl_80254704: -/* 80254704 00251664 3C A0 80 3F */ lis r5, lbl_803E91E0@ha -/* 80254708 00251668 38 C1 00 08 */ addi r6, r1, 8 -/* 8025470C 0025166C 39 45 91 E0 */ addi r10, r5, lbl_803E91E0@l -/* 80254710 00251670 38 A0 00 06 */ li r5, 6 -/* 80254714 00251674 81 2A 00 00 */ lwz r9, 0(r10) -/* 80254718 00251678 38 E0 00 02 */ li r7, 2 -/* 8025471C 0025167C 81 0A 00 04 */ lwz r8, 4(r10) -/* 80254720 00251680 80 0A 00 08 */ lwz r0, 8(r10) -/* 80254724 00251684 91 21 00 08 */ stw r9, 8(r1) -/* 80254728 00251688 91 01 00 0C */ stw r8, 0xc(r1) -/* 8025472C 0025168C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80254730 00251690 4B E2 80 85 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80254734 00251694 48 00 00 0C */ b lbl_80254740 -lbl_80254738: -/* 80254738 00251698 38 00 00 00 */ li r0, 0 -/* 8025473C 0025169C 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80254740: -/* 80254740 002516A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80254744 002516A4 7C 08 03 A6 */ mtlr r0 -/* 80254748 002516A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025474C 002516AC 4E 80 00 20 */ blr - -.global LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf -LoopedAttack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80254750 002516B0 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80254754 002516B4 7C 08 02 A6 */ mflr r0 -/* 80254758 002516B8 90 01 01 04 */ stw r0, 0x104(r1) -/* 8025475C 002516BC DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 80254760 002516C0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 80254764 002516C4 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 80254768 002516C8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 8025476C 002516CC 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80254770 002516D0 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80254774 002516D4 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80254778 002516D8 FF C0 08 90 */ fmr f30, f1 -/* 8025477C 002516DC 2C 05 00 01 */ cmpwi r5, 1 -/* 80254780 002516E0 7C 7E 1B 78 */ mr r30, r3 -/* 80254784 002516E4 7C 9F 23 78 */ mr r31, r4 -/* 80254788 002516E8 41 82 02 E8 */ beq lbl_80254A70 -/* 8025478C 002516EC 40 80 00 10 */ bge lbl_8025479C -/* 80254790 002516F0 2C 05 00 00 */ cmpwi r5, 0 -/* 80254794 002516F4 40 80 00 14 */ bge lbl_802547A8 -/* 80254798 002516F8 48 00 07 D4 */ b lbl_80254F6C -lbl_8025479C: -/* 8025479C 002516FC 2C 05 00 03 */ cmpwi r5, 3 -/* 802547A0 00251700 40 80 07 CC */ bge lbl_80254F6C -/* 802547A4 00251704 48 00 06 F4 */ b lbl_80254E98 -lbl_802547A8: -/* 802547A8 00251708 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 802547AC 0025170C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802547B0 00251710 41 82 00 48 */ beq lbl_802547F8 -/* 802547B4 00251714 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802547B8 00251718 38 60 00 00 */ li r3, 0 -/* 802547BC 0025171C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802547C0 00251720 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 802547C4 00251724 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802547C8 00251728 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 802547CC 0025172C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802547D0 00251730 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) -/* 802547D4 00251734 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) -/* 802547D8 00251738 D0 5E 0B CC */ stfs f2, 0xbcc(r30) -/* 802547DC 0025173C C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 802547E0 00251740 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 802547E4 00251744 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 802547E8 00251748 D0 1E 0B D0 */ stfs f0, 0xbd0(r30) -/* 802547EC 0025174C D0 3E 0B D4 */ stfs f1, 0xbd4(r30) -/* 802547F0 00251750 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) -/* 802547F4 00251754 48 00 01 EC */ b lbl_802549E0 -lbl_802547F8: -/* 802547F8 00251758 C1 3E 00 50 */ lfs f9, 0x50(r30) -/* 802547FC 0025175C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 80254800 00251760 C0 9E 00 40 */ lfs f4, 0x40(r30) -/* 80254804 00251764 EC C9 00 28 */ fsubs f6, f9, f0 -/* 80254808 00251768 C0 FE 0A 94 */ lfs f7, 0xa94(r30) -/* 8025480C 0025176C C0 1E 0A 90 */ lfs f0, 0xa90(r30) -/* 80254810 00251770 C1 5E 00 60 */ lfs f10, 0x60(r30) -/* 80254814 00251774 EC 64 00 28 */ fsubs f3, f4, f0 -/* 80254818 00251778 C0 3E 0A B0 */ lfs f1, 0xab0(r30) -/* 8025481C 0025177C C0 5E 0A 84 */ lfs f2, 0xa84(r30) -/* 80254820 00251780 EC 07 01 B2 */ fmuls f0, f7, f6 -/* 80254824 00251784 EC AA 08 28 */ fsubs f5, f10, f1 -/* 80254828 00251788 C1 1E 0A A4 */ lfs f8, 0xaa4(r30) -/* 8025482C 0025178C EC 22 00 FA */ fmadds f1, f2, f3, f0 -/* 80254830 00251790 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254834 00251794 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 80254838 00251798 EC 28 09 7A */ fmadds f1, f8, f5, f1 -/* 8025483C 0025179C D1 21 00 8C */ stfs f9, 0x8c(r1) -/* 80254840 002517A0 D1 41 00 90 */ stfs f10, 0x90(r1) -/* 80254844 002517A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80254848 002517A8 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 8025484C 002517AC D0 C1 00 98 */ stfs f6, 0x98(r1) -/* 80254850 002517B0 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 80254854 002517B4 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 80254858 002517B8 D0 E1 00 A4 */ stfs f7, 0xa4(r1) -/* 8025485C 002517BC D1 01 00 A8 */ stfs f8, 0xa8(r1) -/* 80254860 002517C0 7C 00 00 26 */ mfcr r0 -/* 80254864 002517C4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80254868 002517C8 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 8025486C 002517CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80254870 002517D0 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 80254874 002517D4 83 BE 00 2C */ lwz r29, 0x2c(r30) -/* 80254878 002517D8 48 00 01 50 */ b lbl_802549C8 -lbl_8025487C: -/* 8025487C 002517DC 80 1D 00 00 */ lwz r0, 0(r29) -/* 80254880 002517E0 2C 00 00 0A */ cmpwi r0, 0xa -/* 80254884 002517E4 40 82 01 40 */ bne lbl_802549C4 -/* 80254888 002517E8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8025488C 002517EC 2C 00 00 06 */ cmpwi r0, 6 -/* 80254890 002517F0 40 82 01 34 */ bne lbl_802549C4 -/* 80254894 002517F4 80 1D 00 08 */ lwz r0, 8(r29) -/* 80254898 002517F8 7F E4 FB 78 */ mr r4, r31 -/* 8025489C 002517FC 38 61 00 0C */ addi r3, r1, 0xc -/* 802548A0 00251800 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802548A4 00251804 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802548A8 00251808 4B DF 36 75 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 802548AC 0025180C A0 61 00 0C */ lhz r3, 0xc(r1) -/* 802548B0 00251810 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802548B4 00251814 B0 61 00 10 */ sth r3, 0x10(r1) -/* 802548B8 00251818 7C 03 00 40 */ cmplw r3, r0 -/* 802548BC 0025181C 41 82 01 08 */ beq lbl_802549C4 -/* 802548C0 00251820 B0 61 00 08 */ sth r3, 8(r1) -/* 802548C4 00251824 7F E3 FB 78 */ mr r3, r31 -/* 802548C8 00251828 38 81 00 08 */ addi r4, r1, 8 -/* 802548CC 0025182C 4B DF 7C D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802548D0 00251830 7C 64 1B 78 */ mr r4, r3 -/* 802548D4 00251834 38 61 00 34 */ addi r3, r1, 0x34 -/* 802548D8 00251838 4B E5 1C 75 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 802548DC 0025183C 80 63 00 04 */ lwz r3, 4(r3) -/* 802548E0 00251840 28 03 00 00 */ cmplwi r3, 0 -/* 802548E4 00251844 41 82 00 E0 */ beq lbl_802549C4 -/* 802548E8 00251848 C1 03 00 50 */ lfs f8, 0x50(r3) -/* 802548EC 0025184C C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 802548F0 00251850 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 802548F4 00251854 EC A8 00 28 */ fsubs f5, f8, f0 -/* 802548F8 00251858 C0 DE 0A 94 */ lfs f6, 0xa94(r30) -/* 802548FC 0025185C C0 1E 0A 90 */ lfs f0, 0xa90(r30) -/* 80254900 00251860 C1 23 00 60 */ lfs f9, 0x60(r3) -/* 80254904 00251864 EC 43 00 28 */ fsubs f2, f3, f0 -/* 80254908 00251868 C0 9E 0A B0 */ lfs f4, 0xab0(r30) -/* 8025490C 0025186C C0 3E 0A 84 */ lfs f1, 0xa84(r30) -/* 80254910 00251870 EC 06 01 72 */ fmuls f0, f6, f5 -/* 80254914 00251874 EC 89 20 28 */ fsubs f4, f9, f4 -/* 80254918 00251878 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 8025491C 0025187C C0 FE 0A A4 */ lfs f7, 0xaa4(r30) -/* 80254920 00251880 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 80254924 00251884 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 80254928 00251888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025492C 0025188C EC 67 01 3A */ fmadds f3, f7, f4, f0 -/* 80254930 00251890 D1 01 00 68 */ stfs f8, 0x68(r1) -/* 80254934 00251894 D1 21 00 6C */ stfs f9, 0x6c(r1) -/* 80254938 00251898 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8025493C 0025189C D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80254940 002518A0 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 80254944 002518A4 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 80254948 002518A8 D0 C1 00 80 */ stfs f6, 0x80(r1) -/* 8025494C 002518AC D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 80254950 002518B0 41 82 00 10 */ beq lbl_80254960 -/* 80254954 002518B4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254958 002518B8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8025495C 002518BC 41 81 00 1C */ bgt lbl_80254978 -lbl_80254960: -/* 80254960 002518C0 28 00 00 00 */ cmplwi r0, 0 -/* 80254964 002518C4 40 82 00 60 */ bne lbl_802549C4 -/* 80254968 002518C8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025496C 002518CC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80254970 002518D0 4C 40 13 82 */ cror 2, 0, 2 -/* 80254974 002518D4 40 82 00 50 */ bne lbl_802549C4 -lbl_80254978: -/* 80254978 002518D8 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8025497C 002518DC C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80254980 002518E0 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80254984 002518E4 D0 1E 0B C4 */ stfs f0, 0xbc4(r30) -/* 80254988 002518E8 D0 3E 0B C8 */ stfs f1, 0xbc8(r30) -/* 8025498C 002518EC D0 5E 0B CC */ stfs f2, 0xbcc(r30) -/* 80254990 002518F0 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80254994 002518F4 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80254998 002518F8 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8025499C 002518FC D0 1E 0B D0 */ stfs f0, 0xbd0(r30) -/* 802549A0 00251900 D0 3E 0B D4 */ stfs f1, 0xbd4(r30) -/* 802549A4 00251904 D0 5E 0B D8 */ stfs f2, 0xbd8(r30) -/* 802549A8 00251908 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802549AC 0025190C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 802549B0 00251910 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802549B4 00251914 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 802549B8 00251918 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 802549BC 0025191C D0 5E 02 F4 */ stfs f2, 0x2f4(r30) -/* 802549C0 00251920 48 00 00 20 */ b lbl_802549E0 -lbl_802549C4: -/* 802549C4 00251924 3B BD 00 0C */ addi r29, r29, 0xc -lbl_802549C8: -/* 802549C8 00251928 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802549CC 0025192C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802549D0 00251930 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802549D4 00251934 7C 03 02 14 */ add r0, r3, r0 -/* 802549D8 00251938 7C 1D 00 40 */ cmplw r29, r0 -/* 802549DC 0025193C 40 82 FE A0 */ bne lbl_8025487C -lbl_802549E0: -/* 802549E0 00251940 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802549E4 00251944 3C 60 80 3D */ lis r3, lbl_803D4C18@ha -/* 802549E8 00251948 C0 22 B9 50 */ lfs f1, lbl_805AD670@sda21(r2) -/* 802549EC 0025194C 38 E0 00 00 */ li r7, 0 -/* 802549F0 00251950 D0 1E 0B DC */ stfs f0, 0xbdc(r30) -/* 802549F4 00251954 38 C0 00 01 */ li r6, 1 -/* 802549F8 00251958 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) -/* 802549FC 0025195C 38 A3 4C 18 */ addi r5, r3, lbl_803D4C18@l -/* 80254A00 00251960 D0 3E 0B E0 */ stfs f1, 0xbe0(r30) -/* 80254A04 00251964 7F C3 F3 78 */ mr r3, r30 -/* 80254A08 00251968 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) -/* 80254A0C 0025196C 7F E4 FB 78 */ mr r4, r31 -/* 80254A10 00251970 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254A14 00251974 50 E0 0F BC */ rlwimi r0, r7, 1, 0x1e, 0x1e -/* 80254A18 00251978 98 1E 0A 31 */ stb r0, 0xa31(r30) -/* 80254A1C 0025197C 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254A20 00251980 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 80254A24 00251984 98 1E 0A 31 */ stb r0, 0xa31(r30) -/* 80254A28 00251988 D0 1E 0C 10 */ stfs f0, 0xc10(r30) -/* 80254A2C 0025198C 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254A30 00251990 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80254A34 00251994 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 80254A38 00251998 80 1E 0C B0 */ lwz r0, 0xcb0(r30) -/* 80254A3C 0025199C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80254A40 002519A0 7C A5 02 14 */ add r5, r5, r0 -/* 80254A44 002519A4 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80254A48 002519A8 90 1E 0C C0 */ stw r0, 0xcc0(r30) -/* 80254A4C 002519AC 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 80254A50 002519B0 C0 45 00 04 */ lfs f2, 4(r5) -/* 80254A54 002519B4 C0 65 00 08 */ lfs f3, 8(r5) -/* 80254A58 002519B8 C0 05 00 00 */ lfs f0, 0(r5) -/* 80254A5C 002519BC D0 1E 0C 68 */ stfs f0, 0xc68(r30) -/* 80254A60 002519C0 D0 5E 0C 6C */ stfs f2, 0xc6c(r30) -/* 80254A64 002519C4 D0 7E 0C 70 */ stfs f3, 0xc70(r30) -/* 80254A68 002519C8 48 00 2B 25 */ bl sub_8025758c -/* 80254A6C 002519CC 48 00 05 00 */ b lbl_80254F6C -lbl_80254A70: -/* 80254A70 002519D0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80254A74 002519D4 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80254A78 002519D8 C0 1E 0A A0 */ lfs f0, 0xaa0(r30) -/* 80254A7C 002519DC C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80254A80 002519E0 C0 5E 0A B0 */ lfs f2, 0xab0(r30) -/* 80254A84 002519E4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80254A88 002519E8 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80254A8C 002519EC C0 1E 0A 90 */ lfs f0, 0xa90(r30) -/* 80254A90 002519F0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80254A94 002519F4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80254A98 002519F8 D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 80254A9C 002519FC D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 80254AA0 00251A00 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80254AA4 00251A04 48 0B FE 15 */ bl Magnitude__9CVector3fCFv -/* 80254AA8 00251A08 C0 02 B9 34 */ lfs f0, lbl_805AD654@sda21(r2) -/* 80254AAC 00251A0C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80254AB0 00251A10 38 6D 97 9C */ addi r3, r13, lbl_805A835C@sda21 -/* 80254AB4 00251A14 38 A2 B9 4C */ addi r5, r2, lbl_805AD66C@sda21 -/* 80254AB8 00251A18 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80254ABC 00251A1C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80254AC0 00251A20 4B DB 77 F5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80254AC4 00251A24 C0 23 00 00 */ lfs f1, 0(r3) -/* 80254AC8 00251A28 38 81 00 30 */ addi r4, r1, 0x30 -/* 80254ACC 00251A2C C0 02 B9 58 */ lfs f0, lbl_805AD678@sda21(r2) -/* 80254AD0 00251A30 38 62 B9 10 */ addi r3, r2, lbl_805AD630@sda21 -/* 80254AD4 00251A34 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) -/* 80254AD8 00251A38 38 AD 97 A0 */ addi r5, r13, lbl_805A8360@sda21 -/* 80254ADC 00251A3C EC 81 00 24 */ fdivs f4, f1, f0 -/* 80254AE0 00251A40 C0 22 B9 5C */ lfs f1, lbl_805AD67C@sda21(r2) -/* 80254AE4 00251A44 C0 62 B9 20 */ lfs f3, lbl_805AD640@sda21(r2) -/* 80254AE8 00251A48 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80254AEC 00251A4C EC 42 09 3C */ fnmsubs f2, f2, f4, f1 -/* 80254AF0 00251A50 EC 24 01 32 */ fmuls f1, f4, f4 -/* 80254AF4 00251A54 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80254AF8 00251A58 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 -/* 80254AFC 00251A5C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80254B00 00251A60 4B DB 77 B5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80254B04 00251A64 C0 83 00 00 */ lfs f4, 0(r3) -/* 80254B08 00251A68 C0 62 B9 28 */ lfs f3, lbl_805AD648@sda21(r2) -/* 80254B0C 00251A6C D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80254B10 00251A70 EC A3 20 24 */ fdivs f5, f3, f4 -/* 80254B14 00251A74 C0 5E 0C 68 */ lfs f2, 0xc68(r30) -/* 80254B18 00251A78 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) -/* 80254B1C 00251A7C C0 1E 0C 70 */ lfs f0, 0xc70(r30) -/* 80254B20 00251A80 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80254B24 00251A84 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80254B28 00251A88 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80254B2C 00251A8C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80254B30 00251A90 D0 43 00 00 */ stfs f2, 0(r3) -/* 80254B34 00251A94 D0 23 00 04 */ stfs f1, 4(r3) -/* 80254B38 00251A98 D0 03 00 08 */ stfs f0, 8(r3) -/* 80254B3C 00251A9C D0 BE 05 5C */ stfs f5, 0x55c(r30) -/* 80254B40 00251AA0 D0 BE 05 60 */ stfs f5, 0x560(r30) -/* 80254B44 00251AA4 D0 BE 05 64 */ stfs f5, 0x564(r30) -/* 80254B48 00251AA8 D0 5E 09 E4 */ stfs f2, 0x9e4(r30) -/* 80254B4C 00251AAC D0 3E 09 E8 */ stfs f1, 0x9e8(r30) -/* 80254B50 00251AB0 D0 1E 09 EC */ stfs f0, 0x9ec(r30) -/* 80254B54 00251AB4 C0 1E 03 38 */ lfs f0, 0x338(r30) -/* 80254B58 00251AB8 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80254B5C 00251ABC 40 81 00 34 */ ble lbl_80254B90 -/* 80254B60 00251AC0 80 1E 0C B0 */ lwz r0, 0xcb0(r30) -/* 80254B64 00251AC4 3C 60 80 3D */ lis r3, lbl_803D4C18@ha -/* 80254B68 00251AC8 38 63 4C 18 */ addi r3, r3, lbl_803D4C18@l -/* 80254B6C 00251ACC 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80254B70 00251AD0 7C 63 02 14 */ add r3, r3, r0 -/* 80254B74 00251AD4 88 03 00 20 */ lbz r0, 0x20(r3) -/* 80254B78 00251AD8 28 00 00 00 */ cmplwi r0, 0 -/* 80254B7C 00251ADC 41 82 00 14 */ beq lbl_80254B90 -/* 80254B80 00251AE0 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254B84 00251AE4 38 60 00 01 */ li r3, 1 -/* 80254B88 00251AE8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80254B8C 00251AEC 98 1E 0A 32 */ stb r0, 0xa32(r30) -lbl_80254B90: -/* 80254B90 00251AF0 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254B94 00251AF4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80254B98 00251AF8 41 82 00 54 */ beq lbl_80254BEC -/* 80254B9C 00251AFC 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254BA0 00251B00 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80254BA4 00251B04 41 82 00 48 */ beq lbl_80254BEC -/* 80254BA8 00251B08 C0 02 B9 60 */ lfs f0, lbl_805AD680@sda21(r2) -/* 80254BAC 00251B0C C0 7E 0B F0 */ lfs f3, 0xbf0(r30) -/* 80254BB0 00251B10 EC 80 07 B2 */ fmuls f4, f0, f30 -/* 80254BB4 00251B14 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) -/* 80254BB8 00251B18 C0 3E 0B F8 */ lfs f1, 0xbf8(r30) -/* 80254BBC 00251B1C C0 1E 0B E4 */ lfs f0, 0xbe4(r30) -/* 80254BC0 00251B20 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80254BC4 00251B24 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80254BC8 00251B28 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80254BCC 00251B2C EC 00 18 2A */ fadds f0, f0, f3 -/* 80254BD0 00251B30 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) -/* 80254BD4 00251B34 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) -/* 80254BD8 00251B38 EC 00 10 2A */ fadds f0, f0, f2 -/* 80254BDC 00251B3C D0 1E 0B E8 */ stfs f0, 0xbe8(r30) -/* 80254BE0 00251B40 C0 1E 0B EC */ lfs f0, 0xbec(r30) -/* 80254BE4 00251B44 EC 00 08 2A */ fadds f0, f0, f1 -/* 80254BE8 00251B48 D0 1E 0B EC */ stfs f0, 0xbec(r30) -lbl_80254BEC: -/* 80254BEC 00251B4C 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254BF0 00251B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80254BF4 00251B54 41 82 00 48 */ beq lbl_80254C3C -/* 80254BF8 00251B58 80 1E 0C AC */ lwz r0, 0xcac(r30) -/* 80254BFC 00251B5C 28 00 00 00 */ cmplwi r0, 0 -/* 80254C00 00251B60 41 82 00 3C */ beq lbl_80254C3C -/* 80254C04 00251B64 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80254C08 00251B68 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80254C0C 00251B6C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80254C10 00251B70 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80254C14 00251B74 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80254C18 00251B78 38 61 00 24 */ addi r3, r1, 0x24 -/* 80254C1C 00251B7C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80254C20 00251B80 38 C0 00 7F */ li r6, 0x7f -/* 80254C24 00251B84 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80254C28 00251B88 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80254C2C 00251B8C D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80254C30 00251B90 80 1E 0C A8 */ lwz r0, 0xca8(r30) -/* 80254C34 00251B94 90 01 00 24 */ stw r0, 0x24(r1) -/* 80254C38 00251B98 48 09 52 79 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80254C3C: -/* 80254C3C 00251B9C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80254C40 00251BA0 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80254C44 00251BA4 2C 00 00 03 */ cmpwi r0, 3 -/* 80254C48 00251BA8 41 82 03 24 */ beq lbl_80254F6C -/* 80254C4C 00251BAC 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254C50 00251BB0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80254C54 00251BB4 40 82 02 30 */ bne lbl_80254E84 -/* 80254C58 00251BB8 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) -/* 80254C5C 00251BBC 38 61 00 AC */ addi r3, r1, 0xac -/* 80254C60 00251BC0 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80254C64 00251BC4 C0 7E 0B CC */ lfs f3, 0xbcc(r30) -/* 80254C68 00251BC8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80254C6C 00251BCC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80254C70 00251BD0 C0 3E 0B C4 */ lfs f1, 0xbc4(r30) -/* 80254C74 00251BD4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80254C78 00251BD8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80254C7C 00251BDC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80254C80 00251BE0 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 80254C84 00251BE4 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80254C88 00251BE8 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80254C8C 00251BEC 48 0B FC 2D */ bl Magnitude__9CVector3fCFv -/* 80254C90 00251BF0 FF E0 08 90 */ fmr f31, f1 -/* 80254C94 00251BF4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) -/* 80254C98 00251BF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80254C9C 00251BFC 40 81 01 14 */ ble lbl_80254DB0 -/* 80254CA0 00251C00 C0 3E 0B C8 */ lfs f1, 0xbc8(r30) -/* 80254CA4 00251C04 C0 1E 02 F0 */ lfs f0, 0x2f0(r30) -/* 80254CA8 00251C08 C0 5E 0B C4 */ lfs f2, 0xbc4(r30) -/* 80254CAC 00251C0C EC A1 00 28 */ fsubs f5, f1, f0 -/* 80254CB0 00251C10 C0 3E 02 EC */ lfs f1, 0x2ec(r30) -/* 80254CB4 00251C14 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80254CB8 00251C18 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80254CBC 00251C1C C0 9E 0B CC */ lfs f4, 0xbcc(r30) -/* 80254CC0 00251C20 C0 5E 02 F4 */ lfs f2, 0x2f4(r30) -/* 80254CC4 00251C24 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80254CC8 00251C28 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 80254CCC 00251C2C EC 84 10 28 */ fsubs f4, f4, f2 -/* 80254CD0 00251C30 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 80254CD4 00251C34 EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 80254CD8 00251C38 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80254CDC 00251C3C D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80254CE0 00251C40 EC 22 09 3A */ fmadds f1, f2, f4, f1 -/* 80254CE4 00251C44 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 80254CE8 00251C48 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80254CEC 00251C4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80254CF0 00251C50 40 81 00 C0 */ ble lbl_80254DB0 -/* 80254CF4 00251C54 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80254CF8 00251C58 38 61 00 20 */ addi r3, r1, 0x20 -/* 80254CFC 00251C5C C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) -/* 80254D00 00251C60 38 81 00 1C */ addi r4, r1, 0x1c -/* 80254D04 00251C64 EC A0 F8 24 */ fdivs f5, f0, f31 -/* 80254D08 00251C68 C0 81 00 AC */ lfs f4, 0xac(r1) -/* 80254D0C 00251C6C C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 80254D10 00251C70 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80254D14 00251C74 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 80254D18 00251C78 C0 02 B9 64 */ lfs f0, lbl_805AD684@sda21(r2) -/* 80254D1C 00251C7C EC 84 01 72 */ fmuls f4, f4, f5 -/* 80254D20 00251C80 EC 63 01 72 */ fmuls f3, f3, f5 -/* 80254D24 00251C84 EC 42 01 72 */ fmuls f2, f2, f5 -/* 80254D28 00251C88 EC 21 07 B2 */ fmuls f1, f1, f30 -/* 80254D2C 00251C8C D0 81 00 AC */ stfs f4, 0xac(r1) -/* 80254D30 00251C90 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80254D34 00251C94 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 80254D38 00251C98 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80254D3C 00251C9C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80254D40 00251CA0 C0 5E 0B E0 */ lfs f2, 0xbe0(r30) -/* 80254D44 00251CA4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) -/* 80254D48 00251CA8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80254D4C 00251CAC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80254D50 00251CB0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80254D54 00251CB4 4B DB 75 61 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80254D58 00251CB8 C0 23 00 00 */ lfs f1, 0(r3) -/* 80254D5C 00251CBC FC 40 F0 90 */ fmr f2, f30 -/* 80254D60 00251CC0 C0 1E 0B DC */ lfs f0, 0xbdc(r30) -/* 80254D64 00251CC4 7F C3 F3 78 */ mr r3, r30 -/* 80254D68 00251CC8 38 81 00 AC */ addi r4, r1, 0xac -/* 80254D6C 00251CCC EC 00 08 2A */ fadds f0, f0, f1 -/* 80254D70 00251CD0 D0 1E 0B DC */ stfs f0, 0xbdc(r30) -/* 80254D74 00251CD4 C0 3E 0B DC */ lfs f1, 0xbdc(r30) -/* 80254D78 00251CD8 48 00 12 71 */ bl sub_80255fe8 -/* 80254D7C 00251CDC C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 80254D80 00251CE0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80254D84 00251CE4 38 6D 97 A4 */ addi r3, r13, lbl_805A8364@sda21 -/* 80254D88 00251CE8 38 AD 97 A8 */ addi r5, r13, lbl_805A8368@sda21 -/* 80254D8C 00251CEC EC 00 F8 24 */ fdivs f0, f0, f31 -/* 80254D90 00251CF0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80254D94 00251CF4 4B DB 75 21 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80254D98 00251CF8 C0 03 00 00 */ lfs f0, 0(r3) -/* 80254D9C 00251CFC 38 9E 0B D0 */ addi r4, r30, 0xbd0 -/* 80254DA0 00251D00 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80254DA4 00251D04 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 80254DA8 00251D08 4B EE 58 FD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 80254DAC 00251D0C 48 00 01 C0 */ b lbl_80254F6C -lbl_80254DB0: -/* 80254DB0 00251D10 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254DB4 00251D14 38 60 00 03 */ li r3, 3 -/* 80254DB8 00251D18 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80254DBC 00251D1C 41 82 00 08 */ beq lbl_80254DC4 -/* 80254DC0 00251D20 38 60 00 02 */ li r3, 2 -lbl_80254DC4: -/* 80254DC4 00251D24 80 1E 0C C0 */ lwz r0, 0xcc0(r30) -/* 80254DC8 00251D28 7C 66 1B 78 */ mr r6, r3 -/* 80254DCC 00251D2C 2C 00 00 03 */ cmpwi r0, 3 -/* 80254DD0 00251D30 41 82 00 1C */ beq lbl_80254DEC -/* 80254DD4 00251D34 40 80 00 1C */ bge lbl_80254DF0 -/* 80254DD8 00251D38 2C 00 00 02 */ cmpwi r0, 2 -/* 80254DDC 00251D3C 40 80 00 08 */ bge lbl_80254DE4 -/* 80254DE0 00251D40 48 00 00 10 */ b lbl_80254DF0 -lbl_80254DE4: -/* 80254DE4 00251D44 38 C0 00 00 */ li r6, 0 -/* 80254DE8 00251D48 48 00 00 08 */ b lbl_80254DF0 -lbl_80254DEC: -/* 80254DEC 00251D4C 38 C0 00 04 */ li r6, 4 -lbl_80254DF0: -/* 80254DF0 00251D50 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80254DF4 00251D54 38 A0 00 00 */ li r5, 0 -/* 80254DF8 00251D58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80254DFC 00251D5C 41 82 00 08 */ beq lbl_80254E04 -/* 80254E00 00251D60 38 A0 00 02 */ li r5, 2 -lbl_80254E04: -/* 80254E04 00251D64 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80254E08 00251D68 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80254E0C 00251D6C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 80254E10 00251D70 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 80254E14 00251D74 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80254E18 00251D78 38 04 A9 E4 */ addi r0, r4, lbl_803DA9E4@l -/* 80254E1C 00251D7C 38 80 00 01 */ li r4, 1 -/* 80254E20 00251D80 3B E3 00 04 */ addi r31, r3, 4 -/* 80254E24 00251D84 90 81 00 40 */ stw r4, 0x40(r1) -/* 80254E28 00251D88 7F E3 FB 78 */ mr r3, r31 -/* 80254E2C 00251D8C 38 80 00 01 */ li r4, 1 -/* 80254E30 00251D90 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80254E34 00251D94 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80254E38 00251D98 90 A1 00 48 */ stw r5, 0x48(r1) -/* 80254E3C 00251D9C 4B ED C5 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80254E40 00251DA0 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 80254E44 00251DA4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80254E48 00251DA8 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l -/* 80254E4C 00251DAC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80254E50 00251DB0 90 BF 00 C8 */ stw r5, 0xc8(r31) -/* 80254E54 00251DB4 38 60 00 01 */ li r3, 1 -/* 80254E58 00251DB8 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 80254E5C 00251DBC 38 84 AA 68 */ addi r4, r4, lbl_803DAA68@l -/* 80254E60 00251DC0 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 80254E64 00251DC4 90 DF 00 CC */ stw r6, 0xcc(r31) -/* 80254E68 00251DC8 90 BF 00 D0 */ stw r5, 0xd0(r31) -/* 80254E6C 00251DCC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80254E70 00251DD0 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254E74 00251DD4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80254E78 00251DD8 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80254E7C 00251DDC 98 1E 0A 31 */ stb r0, 0xa31(r30) -/* 80254E80 00251DE0 48 00 00 EC */ b lbl_80254F6C -lbl_80254E84: -/* 80254E84 00251DE4 88 1E 03 48 */ lbz r0, 0x348(r30) -/* 80254E88 00251DE8 38 60 00 01 */ li r3, 1 -/* 80254E8C 00251DEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80254E90 00251DF0 98 1E 03 48 */ stb r0, 0x348(r30) -/* 80254E94 00251DF4 48 00 00 D8 */ b lbl_80254F6C -lbl_80254E98: -/* 80254E98 00251DF8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80254E9C 00251DFC 38 80 00 01 */ li r4, 1 -/* 80254EA0 00251E00 4B EE 5B 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80254EA4 00251E04 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254EA8 00251E08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80254EAC 00251E0C 41 82 00 14 */ beq lbl_80254EC0 -/* 80254EB0 00251E10 7F C3 F3 78 */ mr r3, r30 -/* 80254EB4 00251E14 7F E4 FB 78 */ mr r4, r31 -/* 80254EB8 00251E18 38 A0 00 01 */ li r5, 1 -/* 80254EBC 00251E1C 48 00 1B B1 */ bl sub_80256a6c -lbl_80254EC0: -/* 80254EC0 00251E20 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254EC4 00251E24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80254EC8 00251E28 41 82 00 0C */ beq lbl_80254ED4 -/* 80254ECC 00251E2C 38 00 00 00 */ li r0, 0 -/* 80254ED0 00251E30 90 1E 0C AC */ stw r0, 0xcac(r30) -lbl_80254ED4: -/* 80254ED4 00251E34 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254ED8 00251E38 38 A0 00 00 */ li r5, 0 -/* 80254EDC 00251E3C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80254EE0 00251E40 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80254EE4 00251E44 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 80254EE8 00251E48 7F C3 F3 78 */ mr r3, r30 -/* 80254EEC 00251E4C 7F E4 FB 78 */ mr r4, r31 -/* 80254EF0 00251E50 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254EF4 00251E54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80254EF8 00251E58 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 80254EFC 00251E5C 80 DE 00 64 */ lwz r6, 0x64(r30) -/* 80254F00 00251E60 C0 3E 0C 68 */ lfs f1, 0xc68(r30) -/* 80254F04 00251E64 D0 26 00 00 */ stfs f1, 0(r6) -/* 80254F08 00251E68 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) -/* 80254F0C 00251E6C D0 26 00 04 */ stfs f1, 4(r6) -/* 80254F10 00251E70 C0 3E 0C 70 */ lfs f1, 0xc70(r30) -/* 80254F14 00251E74 D0 26 00 08 */ stfs f1, 8(r6) -/* 80254F18 00251E78 C0 3E 0C 68 */ lfs f1, 0xc68(r30) -/* 80254F1C 00251E7C D0 3E 09 E4 */ stfs f1, 0x9e4(r30) -/* 80254F20 00251E80 C0 3E 0C 6C */ lfs f1, 0xc6c(r30) -/* 80254F24 00251E84 D0 3E 09 E8 */ stfs f1, 0x9e8(r30) -/* 80254F28 00251E88 C0 3E 0C 70 */ lfs f1, 0xc70(r30) -/* 80254F2C 00251E8C D0 3E 09 EC */ stfs f1, 0x9ec(r30) -/* 80254F30 00251E90 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80254F34 00251E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80254F38 00251E98 98 1E 0A 31 */ stb r0, 0xa31(r30) -/* 80254F3C 00251E9C D0 1E 05 5C */ stfs f0, 0x55c(r30) -/* 80254F40 00251EA0 D0 1E 05 60 */ stfs f0, 0x560(r30) -/* 80254F44 00251EA4 D0 1E 05 64 */ stfs f0, 0x564(r30) -/* 80254F48 00251EA8 48 00 2A 0D */ bl sub_80257954 -/* 80254F4C 00251EAC C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) -/* 80254F50 00251EB0 7F C3 F3 78 */ mr r3, r30 -/* 80254F54 00251EB4 7F E4 FB 78 */ mr r4, r31 -/* 80254F58 00251EB8 48 00 26 35 */ bl sub_8025758c -/* 80254F5C 00251EBC 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80254F60 00251EC0 38 60 00 00 */ li r3, 0 -/* 80254F64 00251EC4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80254F68 00251EC8 98 1E 0A 32 */ stb r0, 0xa32(r30) -lbl_80254F6C: -/* 80254F6C 00251ECC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 80254F70 00251ED0 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 80254F74 00251ED4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 80254F78 00251ED8 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 80254F7C 00251EDC 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80254F80 00251EE0 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80254F84 00251EE4 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80254F88 00251EE8 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80254F8C 00251EEC 7C 08 03 A6 */ mtlr r0 -/* 80254F90 00251EF0 38 21 01 00 */ addi r1, r1, 0x100 -/* 80254F94 00251EF4 4E 80 00 20 */ blr - -.global Enraged__7CRidleyFR13CStateManager9EStateMsgf -Enraged__7CRidleyFR13CStateManager9EStateMsgf: -/* 80254F98 00251EF8 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80254F9C 00251EFC 7C 08 02 A6 */ mflr r0 -/* 80254FA0 00251F00 90 01 01 34 */ stw r0, 0x134(r1) -/* 80254FA4 00251F04 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80254FA8 00251F08 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80254FAC 00251F0C BF 41 01 08 */ stmw r26, 0x108(r1) -/* 80254FB0 00251F10 FF E0 08 90 */ fmr f31, f1 -/* 80254FB4 00251F14 2C 05 00 01 */ cmpwi r5, 1 -/* 80254FB8 00251F18 7C 7E 1B 78 */ mr r30, r3 -/* 80254FBC 00251F1C 7C 9F 23 78 */ mr r31, r4 -/* 80254FC0 00251F20 41 82 02 8C */ beq lbl_8025524C -/* 80254FC4 00251F24 40 80 00 10 */ bge lbl_80254FD4 -/* 80254FC8 00251F28 2C 05 00 00 */ cmpwi r5, 0 -/* 80254FCC 00251F2C 40 80 00 14 */ bge lbl_80254FE0 -/* 80254FD0 00251F30 48 00 02 D8 */ b lbl_802552A8 -lbl_80254FD4: -/* 80254FD4 00251F34 2C 05 00 03 */ cmpwi r5, 3 -/* 80254FD8 00251F38 40 80 02 D0 */ bge lbl_802552A8 -/* 80254FDC 00251F3C 48 00 02 B4 */ b lbl_80255290 -lbl_80254FE0: -/* 80254FE0 00251F40 38 00 00 01 */ li r0, 1 -/* 80254FE4 00251F44 7F E6 FB 78 */ mr r6, r31 -/* 80254FE8 00251F48 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80254FEC 00251F4C 38 80 00 29 */ li r4, 0x29 -/* 80254FF0 00251F50 38 A0 00 28 */ li r5, 0x28 -/* 80254FF4 00251F54 4B DF F2 C1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80254FF8 00251F58 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80254FFC 00251F5C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80255000 00251F60 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80255004 00251F64 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80255008 00251F68 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8025500C 00251F6C EC 44 08 28 */ fsubs f2, f4, f1 -/* 80255010 00251F70 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80255014 00251F74 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 80255018 00251F78 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8025501C 00251F7C EC 20 08 28 */ fsubs f1, f0, f1 -/* 80255020 00251F80 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80255024 00251F84 EC 65 18 28 */ fsubs f3, f5, f3 -/* 80255028 00251F88 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 8025502C 00251F8C D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 80255030 00251F90 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80255034 00251F94 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80255038 00251F98 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 8025503C 00251F9C 48 0B F1 C5 */ bl __ct__9CVector2fFff -/* 80255040 00251FA0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80255044 00251FA4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80255048 00251FA8 48 0B F0 39 */ bl AsNormalized__9CVector2fCFv -/* 8025504C 00251FAC C0 C1 00 3C */ lfs f6, 0x3c(r1) -/* 80255050 00251FB0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80255054 00251FB4 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 80255058 00251FB8 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l -/* 8025505C 00251FBC C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) -/* 80255060 00251FC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80255064 00251FC4 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) -/* 80255068 00251FC8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l -/* 8025506C 00251FCC D0 C1 00 A8 */ stfs f6, 0xa8(r1) -/* 80255070 00251FD0 38 83 00 85 */ addi r4, r3, 0x85 -/* 80255074 00251FD4 ED 20 01 B2 */ fmuls f9, f0, f6 -/* 80255078 00251FD8 C1 45 00 04 */ lfs f10, 4(r5) -/* 8025507C 00251FDC D0 81 00 AC */ stfs f4, 0xac(r1) -/* 80255080 00251FE0 ED 00 01 32 */ fmuls f8, f0, f4 -/* 80255084 00251FE4 C1 65 00 08 */ lfs f11, 8(r5) -/* 80255088 00251FE8 EC E0 00 F2 */ fmuls f7, f0, f3 -/* 8025508C 00251FEC D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 80255090 00251FF0 EC 2A 00 F2 */ fmuls f1, f10, f3 -/* 80255094 00251FF4 C1 85 00 00 */ lfs f12, 0(r5) -/* 80255098 00251FF8 EC 0B 01 B2 */ fmuls f0, f11, f6 -/* 8025509C 00251FFC 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802550A0 00252000 3B A0 00 00 */ li r29, 0 -/* 802550A4 00252004 EC 4C 01 32 */ fmuls f2, f12, f4 -/* 802550A8 00252008 C0 A3 00 50 */ lfs f5, 0x50(r3) -/* 802550AC 0025200C EC 24 0A F8 */ fmsubs f1, f4, f11, f1 -/* 802550B0 00252010 C0 83 00 60 */ lfs f4, 0x60(r3) -/* 802550B4 00252014 EC 03 03 38 */ fmsubs f0, f3, f12, f0 -/* 802550B8 00252018 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 802550BC 0025201C EC A5 40 28 */ fsubs f5, f5, f8 -/* 802550C0 00252020 3B 40 00 00 */ li r26, 0 -/* 802550C4 00252024 EC 84 38 28 */ fsubs f4, f4, f7 -/* 802550C8 00252028 38 60 01 00 */ li r3, 0x100 -/* 802550CC 0025202C EC 63 48 28 */ fsubs f3, f3, f9 -/* 802550D0 00252030 38 A0 00 00 */ li r5, 0 -/* 802550D4 00252034 D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 802550D8 00252038 EC A6 12 B8 */ fmsubs f5, f6, f10, f2 -/* 802550DC 0025203C D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 802550E0 00252040 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 802550E4 00252044 C0 9E 0A B0 */ lfs f4, 0xab0(r30) -/* 802550E8 00252048 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) -/* 802550EC 0025204C C0 5E 0A 90 */ lfs f2, 0xa90(r30) -/* 802550F0 00252050 D0 61 00 70 */ stfs f3, 0x70(r1) -/* 802550F4 00252054 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802550F8 00252058 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802550FC 0025205C D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 80255100 00252060 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80255104 00252064 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80255108 00252068 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 8025510C 0025206C 48 0C 07 61 */ bl __nw__FUlPCcPCc -/* 80255110 00252070 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80255114 00252074 41 82 00 C8 */ beq lbl_802551DC -/* 80255118 00252078 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 8025511C 0025207C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80255120 00252080 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l -/* 80255124 00252084 38 61 00 50 */ addi r3, r1, 0x50 -/* 80255128 00252088 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8025512C 0025208C 38 84 00 8C */ addi r4, r4, 0x8c -/* 80255130 00252090 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80255134 00252094 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80255138 00252098 4B DA FB 81 */ bl string_l__4rstlFPCc -/* 8025513C 0025209C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80255140 002520A0 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 80255144 002520A4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 80255148 002520A8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8025514C 002520AC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80255150 002520B0 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80255154 002520B4 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80255158 002520B8 3B A0 00 01 */ li r29, 1 -/* 8025515C 002520BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80255160 002520C0 90 01 00 28 */ stw r0, 0x28(r1) -/* 80255164 002520C4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80255168 002520C8 4B DF C3 1D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8025516C 002520CC 7F E4 FB 78 */ mr r4, r31 -/* 80255170 002520D0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80255174 002520D4 3B 40 00 01 */ li r26, 1 -/* 80255178 002520D8 4B DF 7F 65 */ bl AllocateUniqueId__13CStateManagerFv -/* 8025517C 002520DC A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80255180 002520E0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80255184 002520E4 48 0F 4E 29 */ bl White__6CColorFv -/* 80255188 002520E8 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8025518C 002520EC 7C 7C 1B 78 */ mr r28, r3 -/* 80255190 002520F0 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 80255194 002520F4 38 61 00 CC */ addi r3, r1, 0xcc -/* 80255198 002520F8 38 81 00 90 */ addi r4, r1, 0x90 -/* 8025519C 002520FC 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 802551A0 00252100 38 E1 00 9C */ addi r7, r1, 0x9c -/* 802551A4 00252104 48 0B DC B9 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 802551A8 00252108 38 01 00 60 */ addi r0, r1, 0x60 -/* 802551AC 0025210C 7F 63 DB 78 */ mr r3, r27 -/* 802551B0 00252110 90 01 00 08 */ stw r0, 8(r1) -/* 802551B4 00252114 38 9E 09 8C */ addi r4, r30, 0x98c -/* 802551B8 00252118 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802551BC 0025211C 38 E1 00 B4 */ addi r7, r1, 0xb4 -/* 802551C0 00252120 93 81 00 0C */ stw r28, 0xc(r1) -/* 802551C4 00252124 39 01 00 50 */ addi r8, r1, 0x50 -/* 802551C8 00252128 39 21 00 CC */ addi r9, r1, 0xcc -/* 802551CC 0025212C 38 C0 00 01 */ li r6, 1 -/* 802551D0 00252130 39 40 00 00 */ li r10, 0 -/* 802551D4 00252134 4B E0 59 25 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 802551D8 00252138 7C 7B 1B 78 */ mr r27, r3 -lbl_802551DC: -/* 802551DC 0025213C 7F 40 07 75 */ extsb. r0, r26 -/* 802551E0 00252140 41 82 00 44 */ beq lbl_80255224 -/* 802551E4 00252144 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 802551E8 00252148 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 802551EC 0025214C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802551F0 00252150 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802551F4 00252154 7C 64 1B 78 */ mr r4, r3 -/* 802551F8 00252158 7C 03 02 14 */ add r0, r3, r0 -/* 802551FC 0025215C 90 61 00 18 */ stw r3, 0x18(r1) -/* 80255200 00252160 90 01 00 24 */ stw r0, 0x24(r1) -/* 80255204 00252164 90 01 00 20 */ stw r0, 0x20(r1) -/* 80255208 00252168 48 00 00 08 */ b lbl_80255210 -lbl_8025520C: -/* 8025520C 0025216C 38 84 00 0C */ addi r4, r4, 0xc -lbl_80255210: -/* 80255210 00252170 7C 04 00 40 */ cmplw r4, r0 -/* 80255214 00252174 40 82 FF F8 */ bne lbl_8025520C -/* 80255218 00252178 28 03 00 00 */ cmplwi r3, 0 -/* 8025521C 0025217C 41 82 00 08 */ beq lbl_80255224 -/* 80255220 00252180 48 0C 07 11 */ bl Free__7CMemoryFPCv -lbl_80255224: -/* 80255224 00252184 7F A0 07 75 */ extsb. r0, r29 -/* 80255228 00252188 41 82 00 0C */ beq lbl_80255234 -/* 8025522C 0025218C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80255230 00252190 48 0E 88 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80255234: -/* 80255234 00252194 28 1B 00 00 */ cmplwi r27, 0 -/* 80255238 00252198 41 82 00 70 */ beq lbl_802552A8 -/* 8025523C 0025219C 7F E3 FB 78 */ mr r3, r31 -/* 80255240 002521A0 7F 64 DB 78 */ mr r4, r27 -/* 80255244 002521A4 4B DF 78 D1 */ bl AddObject__13CStateManagerFR7CEntity -/* 80255248 002521A8 48 00 00 60 */ b lbl_802552A8 -lbl_8025524C: -/* 8025524C 002521AC 3C A0 80 3F */ lis r5, lbl_803E91D4@ha -/* 80255250 002521B0 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80255254 002521B4 39 45 91 D4 */ addi r10, r5, lbl_803E91D4@l -/* 80255258 002521B8 38 A0 00 03 */ li r5, 3 -/* 8025525C 002521BC 81 2A 00 00 */ lwz r9, 0(r10) -/* 80255260 002521C0 38 E0 00 04 */ li r7, 4 -/* 80255264 002521C4 81 0A 00 04 */ lwz r8, 4(r10) -/* 80255268 002521C8 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025526C 002521CC 91 21 00 44 */ stw r9, 0x44(r1) -/* 80255270 002521D0 91 01 00 48 */ stw r8, 0x48(r1) -/* 80255274 002521D4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80255278 002521D8 4B E2 75 3D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025527C 002521DC FC 20 F8 90 */ fmr f1, f31 -/* 80255280 002521E0 7F C3 F3 78 */ mr r3, r30 -/* 80255284 002521E4 7F E4 FB 78 */ mr r4, r31 -/* 80255288 002521E8 48 00 0C C9 */ bl sub_80255f50 -/* 8025528C 002521EC 48 00 00 1C */ b lbl_802552A8 -lbl_80255290: -/* 80255290 002521F0 38 00 00 00 */ li r0, 0 -/* 80255294 002521F4 38 60 00 01 */ li r3, 1 -/* 80255298 002521F8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8025529C 002521FC 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802552A0 00252200 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 802552A4 00252204 98 1E 0A 33 */ stb r0, 0xa33(r30) -lbl_802552A8: -/* 802552A8 00252208 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 802552AC 0025220C CB E1 01 20 */ lfd f31, 0x120(r1) -/* 802552B0 00252210 BB 41 01 08 */ lmw r26, 0x108(r1) -/* 802552B4 00252214 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802552B8 00252218 7C 08 03 A6 */ mtlr r0 -/* 802552BC 0025221C 38 21 01 30 */ addi r1, r1, 0x130 -/* 802552C0 00252220 4E 80 00 20 */ blr - -.global Lurk__7CRidleyFR13CStateManager9EStateMsgf -Lurk__7CRidleyFR13CStateManager9EStateMsgf: -/* 802552C4 00252224 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 802552C8 00252228 7C 08 02 A6 */ mflr r0 -/* 802552CC 0025222C 90 01 01 04 */ stw r0, 0x104(r1) -/* 802552D0 00252230 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 802552D4 00252234 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 802552D8 00252238 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 802552DC 0025223C F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 802552E0 00252240 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 802552E4 00252244 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 802552E8 00252248 FF C0 08 90 */ fmr f30, f1 -/* 802552EC 0025224C 2C 05 00 01 */ cmpwi r5, 1 -/* 802552F0 00252250 7C 7E 1B 78 */ mr r30, r3 -/* 802552F4 00252254 7C 9F 23 78 */ mr r31, r4 -/* 802552F8 00252258 41 82 02 78 */ beq lbl_80255570 -/* 802552FC 0025225C 40 80 02 D8 */ bge lbl_802555D4 -/* 80255300 00252260 2C 05 00 00 */ cmpwi r5, 0 -/* 80255304 00252264 40 80 00 0C */ bge lbl_80255310 -/* 80255308 00252268 48 00 02 CC */ b lbl_802555D4 -/* 8025530C 0025226C 48 00 02 C8 */ b lbl_802555D4 -lbl_80255310: -/* 80255310 00252270 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80255314 00252274 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80255318 00252278 40 82 00 C4 */ bne lbl_802553DC -/* 8025531C 0025227C C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 80255320 00252280 38 61 00 64 */ addi r3, r1, 0x64 -/* 80255324 00252284 C0 1E 0A B0 */ lfs f0, 0xab0(r30) -/* 80255328 00252288 38 81 00 94 */ addi r4, r1, 0x94 -/* 8025532C 0025228C C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 80255330 00252290 C0 7E 0A A0 */ lfs f3, 0xaa0(r30) -/* 80255334 00252294 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80255338 00252298 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8025533C 0025229C C0 3E 0A 90 */ lfs f1, 0xa90(r30) -/* 80255340 002522A0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80255344 002522A4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80255348 002522A8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8025534C 002522AC D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 80255350 002522B0 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80255354 002522B4 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 80255358 002522B8 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8025535C 002522BC C0 5E 0A A8 */ lfs f2, 0xaa8(r30) -/* 80255360 002522C0 C0 3E 0A 98 */ lfs f1, 0xa98(r30) -/* 80255364 002522C4 C0 1E 0A 88 */ lfs f0, 0xa88(r30) -/* 80255368 002522C8 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8025536C 002522CC D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80255370 002522D0 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80255374 002522D4 48 0B F2 BD */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 80255378 002522D8 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 8025537C 002522DC FF C0 08 90 */ fmr f30, f1 -/* 80255380 002522E0 C0 1E 0A 94 */ lfs f0, 0xa94(r30) -/* 80255384 002522E4 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 80255388 002522E8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8025538C 002522EC C0 5E 0A 84 */ lfs f2, 0xa84(r30) -/* 80255390 002522F0 C0 A1 00 9C */ lfs f5, 0x9c(r1) -/* 80255394 002522F4 C0 9E 0A A4 */ lfs f4, 0xaa4(r30) -/* 80255398 002522F8 EC 23 00 BA */ fmadds f1, f3, f2, f0 -/* 8025539C 002522FC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802553A0 00252300 EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 802553A4 00252304 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802553A8 00252308 40 80 00 08 */ bge lbl_802553B0 -/* 802553AC 0025230C FF C0 F0 50 */ fneg f30, f30 -lbl_802553B0: -/* 802553B0 00252310 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 802553B4 00252314 C0 22 B9 6C */ lfs f1, lbl_805AD68C@sda21(r2) -/* 802553B8 00252318 C0 42 B9 70 */ lfs f2, lbl_805AD690@sda21(r2) -/* 802553BC 0025231C 48 0B D1 89 */ bl Range__9CRandom16Fff -/* 802553C0 00252320 EC 41 F0 28 */ fsubs f2, f1, f30 -/* 802553C4 00252324 C0 02 B9 74 */ lfs f0, lbl_805AD694@sda21(r2) -/* 802553C8 00252328 FC 40 12 10 */ fabs f2, f2 -/* 802553CC 0025232C FC 40 10 18 */ frsp f2, f2 -/* 802553D0 00252330 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802553D4 00252334 40 80 00 24 */ bge lbl_802553F8 -/* 802553D8 00252338 48 00 00 20 */ b lbl_802553F8 -lbl_802553DC: -/* 802553DC 0025233C 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 802553E0 00252340 38 A0 00 01 */ li r5, 1 -/* 802553E4 00252344 4B F5 1F 15 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 802553E8 00252348 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 802553EC 0025234C 7F E4 FB 78 */ mr r4, r31 -/* 802553F0 00252350 38 A0 00 01 */ li r5, 1 -/* 802553F4 00252354 4B F5 1F 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -lbl_802553F8: -/* 802553F8 00252358 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 802553FC 0025235C 38 60 00 00 */ li r3, 0 -/* 80255400 00252360 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80255404 00252364 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80255408 00252368 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 8025540C 0025236C C0 5E 0A C0 */ lfs f2, 0xac0(r30) -/* 80255410 00252370 C0 1E 0A DC */ lfs f0, 0xadc(r30) -/* 80255414 00252374 EF C2 00 28 */ fsubs f30, f2, f0 -/* 80255418 00252378 48 0B F9 2D */ bl FastCosR__5CMathFf -/* 8025541C 0025237C C0 1E 0A BC */ lfs f0, 0xabc(r30) -/* 80255420 00252380 EF E0 00 72 */ fmuls f31, f0, f1 -/* 80255424 00252384 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80255428 00252388 48 0B F9 C9 */ bl FastSinR__5CMathFf -/* 8025542C 0025238C C0 1E 0A BC */ lfs f0, 0xabc(r30) -/* 80255430 00252390 38 61 00 58 */ addi r3, r1, 0x58 -/* 80255434 00252394 38 9E 0A 84 */ addi r4, r30, 0xa84 -/* 80255438 00252398 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8025543C 0025239C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80255440 002523A0 D3 E1 00 8C */ stfs f31, 0x8c(r1) -/* 80255444 002523A4 D3 C1 00 90 */ stfs f30, 0x90(r1) -/* 80255448 002523A8 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8025544C 002523AC 48 0B D6 9D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80255450 002523B0 7F C3 F3 78 */ mr r3, r30 -/* 80255454 002523B4 38 81 00 58 */ addi r4, r1, 0x58 -/* 80255458 002523B8 4B E2 77 05 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8025545C 002523BC C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 80255460 002523C0 38 61 00 08 */ addi r3, r1, 8 -/* 80255464 002523C4 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 80255468 002523C8 C0 1E 00 58 */ lfs f0, 0x58(r30) -/* 8025546C 002523CC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80255470 002523D0 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80255474 002523D4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80255478 002523D8 48 0B ED 89 */ bl __ct__9CVector2fFff -/* 8025547C 002523DC C0 41 00 08 */ lfs f2, 8(r1) -/* 80255480 002523E0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80255484 002523E4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80255488 002523E8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8025548C 002523EC C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80255490 002523F0 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80255494 002523F4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80255498 002523F8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8025549C 002523FC 48 0B F3 B5 */ bl AsNormalized__9CVector3fCFv -/* 802554A0 00252400 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802554A4 00252404 C0 A1 00 4C */ lfs f5, 0x4c(r1) -/* 802554A8 00252408 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802554AC 0025240C C0 81 00 50 */ lfs f4, 0x50(r1) -/* 802554B0 00252410 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 802554B4 00252414 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802554B8 00252418 C0 C6 00 04 */ lfs f6, 4(r6) -/* 802554BC 0025241C 38 81 00 70 */ addi r4, r1, 0x70 -/* 802554C0 00252420 C0 E6 00 08 */ lfs f7, 8(r6) -/* 802554C4 00252424 38 A1 00 7C */ addi r5, r1, 0x7c -/* 802554C8 00252428 C1 06 00 00 */ lfs f8, 0(r6) -/* 802554CC 0025242C EC 26 00 F2 */ fmuls f1, f6, f3 -/* 802554D0 00252430 EC 07 01 72 */ fmuls f0, f7, f5 -/* 802554D4 00252434 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 802554D8 00252438 EC 48 01 32 */ fmuls f2, f8, f4 -/* 802554DC 0025243C 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802554E0 00252440 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 -/* 802554E4 00252444 EC 03 02 38 */ fmsubs f0, f3, f8, f0 -/* 802554E8 00252448 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 -/* 802554EC 0025244C D0 81 00 80 */ stfs f4, 0x80(r1) -/* 802554F0 00252450 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802554F4 00252454 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802554F8 00252458 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802554FC 0025245C D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80255500 00252460 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80255504 00252464 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80255508 00252468 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8025550C 0025246C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80255510 00252470 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80255514 00252474 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80255518 00252478 48 0B D9 45 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 8025551C 0025247C 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80255520 00252480 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80255524 00252484 48 0B D6 1D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80255528 00252488 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8025552C 0025248C 38 80 00 01 */ li r4, 1 -/* 80255530 00252490 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80255534 00252494 38 60 00 00 */ li r3, 0 -/* 80255538 00252498 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8025553C 0025249C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80255540 002524A0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80255544 002524A4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80255548 002524A8 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8025554C 002524AC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80255550 002524B0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80255554 002524B4 88 1E 0A 33 */ lbz r0, 0xa33(r30) -/* 80255558 002524B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025555C 002524BC 98 1E 0A 33 */ stb r0, 0xa33(r30) -/* 80255560 002524C0 88 1E 0A 34 */ lbz r0, 0xa34(r30) -/* 80255564 002524C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80255568 002524C8 98 1E 0A 34 */ stb r0, 0xa34(r30) -/* 8025556C 002524CC 48 00 00 68 */ b lbl_802555D4 -lbl_80255570: -/* 80255570 002524D0 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) -/* 80255574 002524D4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80255578 002524D8 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8025557C 002524DC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80255580 002524E0 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) -/* 80255584 002524E4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80255588 002524E8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8025558C 002524EC C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 80255590 002524F0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80255594 002524F4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80255598 002524F8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025559C 002524FC D0 81 00 14 */ stfs f4, 0x14(r1) -/* 802555A0 00252500 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802555A4 00252504 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802555A8 00252508 48 0B F2 A9 */ bl AsNormalized__9CVector3fCFv -/* 802555AC 0025250C FC 40 F0 90 */ fmr f2, f30 -/* 802555B0 00252510 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) -/* 802555B4 00252514 7F C3 F3 78 */ mr r3, r30 -/* 802555B8 00252518 38 81 00 1C */ addi r4, r1, 0x1c -/* 802555BC 0025251C 48 00 0A 2D */ bl sub_80255fe8 -/* 802555C0 00252520 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 802555C4 00252524 7F C3 F3 78 */ mr r3, r30 -/* 802555C8 00252528 7F E4 FB 78 */ mr r4, r31 -/* 802555CC 0025252C EC 20 07 B2 */ fmuls f1, f0, f30 -/* 802555D0 00252530 48 00 09 81 */ bl sub_80255f50 -lbl_802555D4: -/* 802555D4 00252534 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 802555D8 00252538 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 802555DC 0025253C E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 802555E0 00252540 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 802555E4 00252544 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 802555E8 00252548 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802555EC 0025254C 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 802555F0 00252550 7C 08 03 A6 */ mtlr r0 -/* 802555F4 00252554 38 21 01 00 */ addi r1, r1, 0x100 -/* 802555F8 00252558 4E 80 00 20 */ blr - -.global Retreat__7CRidleyFR13CStateManager9EStateMsgf -Retreat__7CRidleyFR13CStateManager9EStateMsgf: -/* 802555FC 0025255C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80255600 00252560 7C 08 02 A6 */ mflr r0 -/* 80255604 00252564 2C 05 00 01 */ cmpwi r5, 1 -/* 80255608 00252568 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025560C 0025256C 41 82 00 2C */ beq lbl_80255638 -/* 80255610 00252570 40 80 00 10 */ bge lbl_80255620 -/* 80255614 00252574 2C 05 00 00 */ cmpwi r5, 0 -/* 80255618 00252578 40 80 00 14 */ bge lbl_8025562C -/* 8025561C 0025257C 48 00 00 58 */ b lbl_80255674 -lbl_80255620: -/* 80255620 00252580 2C 05 00 03 */ cmpwi r5, 3 -/* 80255624 00252584 40 80 00 50 */ bge lbl_80255674 -/* 80255628 00252588 48 00 00 44 */ b lbl_8025566C -lbl_8025562C: -/* 8025562C 0025258C 38 00 00 01 */ li r0, 1 -/* 80255630 00252590 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80255634 00252594 48 00 00 40 */ b lbl_80255674 -lbl_80255638: -/* 80255638 00252598 3C A0 80 3F */ lis r5, lbl_803E91C8@ha -/* 8025563C 0025259C 38 C1 00 08 */ addi r6, r1, 8 -/* 80255640 002525A0 39 45 91 C8 */ addi r10, r5, lbl_803E91C8@l -/* 80255644 002525A4 38 A0 00 03 */ li r5, 3 -/* 80255648 002525A8 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025564C 002525AC 38 E0 00 05 */ li r7, 5 -/* 80255650 002525B0 81 0A 00 04 */ lwz r8, 4(r10) -/* 80255654 002525B4 80 0A 00 08 */ lwz r0, 8(r10) -/* 80255658 002525B8 91 21 00 08 */ stw r9, 8(r1) -/* 8025565C 002525BC 91 01 00 0C */ stw r8, 0xc(r1) -/* 80255660 002525C0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80255664 002525C4 4B E2 71 51 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80255668 002525C8 48 00 00 0C */ b lbl_80255674 -lbl_8025566C: -/* 8025566C 002525CC 38 00 00 00 */ li r0, 0 -/* 80255670 002525D0 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80255674: -/* 80255674 002525D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80255678 002525D8 7C 08 03 A6 */ mtlr r0 -/* 8025567C 002525DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80255680 002525E0 4E 80 00 20 */ blr - -.global Flee__7CRidleyFR13CStateManager9EStateMsgf -Flee__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255684 002525E4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80255688 002525E8 7C 08 02 A6 */ mflr r0 -/* 8025568C 002525EC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80255690 002525F0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80255694 002525F4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80255698 002525F8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8025569C 002525FC FF E0 08 90 */ fmr f31, f1 -/* 802556A0 00252600 2C 05 00 01 */ cmpwi r5, 1 -/* 802556A4 00252604 7C 7F 1B 78 */ mr r31, r3 -/* 802556A8 00252608 41 82 00 C4 */ beq lbl_8025576C -/* 802556AC 0025260C 40 80 01 38 */ bge lbl_802557E4 -/* 802556B0 00252610 2C 05 00 00 */ cmpwi r5, 0 -/* 802556B4 00252614 40 80 00 0C */ bge lbl_802556C0 -/* 802556B8 00252618 48 00 01 2C */ b lbl_802557E4 -/* 802556BC 0025261C 48 00 01 28 */ b lbl_802557E4 -lbl_802556C0: -/* 802556C0 00252620 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802556C4 00252624 38 61 00 2C */ addi r3, r1, 0x2c -/* 802556C8 00252628 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) -/* 802556CC 0025262C 38 81 00 50 */ addi r4, r1, 0x50 -/* 802556D0 00252630 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 802556D4 00252634 C0 5F 0A B0 */ lfs f2, 0xab0(r31) -/* 802556D8 00252638 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802556DC 0025263C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 802556E0 00252640 C0 1F 0A 90 */ lfs f0, 0xa90(r31) -/* 802556E4 00252644 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802556E8 00252648 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802556EC 0025264C D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802556F0 00252650 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802556F4 00252654 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802556F8 00252658 48 0B F1 59 */ bl AsNormalized__9CVector3fCFv -/* 802556FC 0025265C C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) -/* 80255700 00252660 7F E3 FB 78 */ mr r3, r31 -/* 80255704 00252664 C0 1F 0A BC */ lfs f0, 0xabc(r31) -/* 80255708 00252668 38 81 00 44 */ addi r4, r1, 0x44 -/* 8025570C 0025266C C0 BF 0A A0 */ lfs f5, 0xaa0(r31) -/* 80255710 00252670 EC C1 00 2A */ fadds f6, f1, f0 -/* 80255714 00252674 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80255718 00252678 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8025571C 0025267C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80255720 00252680 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 80255724 00252684 C0 7F 0A B0 */ lfs f3, 0xab0(r31) -/* 80255728 00252688 EC 46 00 72 */ fmuls f2, f6, f1 -/* 8025572C 0025268C C0 3F 0A 90 */ lfs f1, 0xa90(r31) -/* 80255730 00252690 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80255734 00252694 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80255738 00252698 EC 85 20 2A */ fadds f4, f5, f4 -/* 8025573C 0025269C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80255740 002526A0 EC 43 10 2A */ fadds f2, f3, f2 -/* 80255744 002526A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80255748 002526A8 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8025574C 002526AC D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80255750 002526B0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80255754 002526B4 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80255758 002526B8 C0 1F 0A C0 */ lfs f0, 0xac0(r31) -/* 8025575C 002526BC EC 00 18 2A */ fadds f0, f0, f3 -/* 80255760 002526C0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80255764 002526C4 4B E2 73 F9 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80255768 002526C8 48 00 00 7C */ b lbl_802557E4 -lbl_8025576C: -/* 8025576C 002526CC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80255770 002526D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80255774 002526D4 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80255778 002526D8 38 81 00 08 */ addi r4, r1, 8 -/* 8025577C 002526DC C0 7F 02 E8 */ lfs f3, 0x2e8(r31) -/* 80255780 002526E0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80255784 002526E4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80255788 002526E8 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 8025578C 002526EC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80255790 002526F0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80255794 002526F4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80255798 002526F8 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8025579C 002526FC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802557A0 00252700 D0 01 00 08 */ stfs f0, 8(r1) -/* 802557A4 00252704 48 0B F0 AD */ bl AsNormalized__9CVector3fCFv -/* 802557A8 00252708 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802557AC 0025270C FC 40 F8 90 */ fmr f2, f31 -/* 802557B0 00252710 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802557B4 00252714 7F E3 FB 78 */ mr r3, r31 -/* 802557B8 00252718 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802557BC 0025271C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802557C0 00252720 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802557C4 00252724 C0 22 B9 48 */ lfs f1, lbl_805AD668@sda21(r2) -/* 802557C8 00252728 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 802557CC 0025272C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802557D0 00252730 48 00 08 19 */ bl sub_80255fe8 -/* 802557D4 00252734 FC 20 F8 90 */ fmr f1, f31 -/* 802557D8 00252738 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802557DC 0025273C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802557E0 00252740 4B EE 4E C5 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_802557E4: -/* 802557E4 00252744 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802557E8 00252748 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802557EC 0025274C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802557F0 00252750 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802557F4 00252754 7C 08 03 A6 */ mtlr r0 -/* 802557F8 00252758 38 21 00 80 */ addi r1, r1, 0x80 -/* 802557FC 0025275C 4E 80 00 20 */ blr - -.global TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf -TelegraphAttack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255800 00252760 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80255804 00252764 7C 08 02 A6 */ mflr r0 -/* 80255808 00252768 2C 05 00 01 */ cmpwi r5, 1 -/* 8025580C 0025276C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80255810 00252770 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80255814 00252774 7C 9F 23 78 */ mr r31, r4 -/* 80255818 00252778 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025581C 0025277C 7C 7E 1B 78 */ mr r30, r3 -/* 80255820 00252780 41 82 00 48 */ beq lbl_80255868 -/* 80255824 00252784 40 80 00 10 */ bge lbl_80255834 -/* 80255828 00252788 2C 05 00 00 */ cmpwi r5, 0 -/* 8025582C 0025278C 40 80 00 14 */ bge lbl_80255840 -/* 80255830 00252790 48 00 00 A0 */ b lbl_802558D0 -lbl_80255834: -/* 80255834 00252794 2C 05 00 03 */ cmpwi r5, 3 -/* 80255838 00252798 40 80 00 98 */ bge lbl_802558D0 -/* 8025583C 0025279C 48 00 00 60 */ b lbl_8025589C -lbl_80255840: -/* 80255840 002527A0 48 00 20 0D */ bl sub_8025784c -/* 80255844 002527A4 38 A0 00 01 */ li r5, 1 -/* 80255848 002527A8 7F C3 F3 78 */ mr r3, r30 -/* 8025584C 002527AC 90 BE 03 2C */ stw r5, 0x32c(r30) -/* 80255850 002527B0 7F E4 FB 78 */ mr r4, r31 -/* 80255854 002527B4 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80255858 002527B8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8025585C 002527BC 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 80255860 002527C0 48 00 0D 21 */ bl sub_80256580 -/* 80255864 002527C4 48 00 00 6C */ b lbl_802558D0 -lbl_80255868: -/* 80255868 002527C8 3C A0 80 3F */ lis r5, lbl_803E91BC@ha -/* 8025586C 002527CC 38 C1 00 08 */ addi r6, r1, 8 -/* 80255870 002527D0 39 45 91 BC */ addi r10, r5, lbl_803E91BC@l -/* 80255874 002527D4 38 A0 00 12 */ li r5, 0x12 -/* 80255878 002527D8 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025587C 002527DC 38 E0 00 00 */ li r7, 0 -/* 80255880 002527E0 81 0A 00 04 */ lwz r8, 4(r10) -/* 80255884 002527E4 80 0A 00 08 */ lwz r0, 8(r10) -/* 80255888 002527E8 91 21 00 08 */ stw r9, 8(r1) -/* 8025588C 002527EC 91 01 00 0C */ stw r8, 0xc(r1) -/* 80255890 002527F0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80255894 002527F4 4B E2 6F 21 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80255898 002527F8 48 00 00 38 */ b lbl_802558D0 -lbl_8025589C: -/* 8025589C 002527FC 38 00 00 00 */ li r0, 0 -/* 802558A0 00252800 38 A0 00 01 */ li r5, 1 -/* 802558A4 00252804 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802558A8 00252808 48 00 11 C5 */ bl sub_80256a6c -/* 802558AC 0025280C 7F C3 F3 78 */ mr r3, r30 -/* 802558B0 00252810 7F E4 FB 78 */ mr r4, r31 -/* 802558B4 00252814 48 00 1D 9D */ bl sub_80257650 -/* 802558B8 00252818 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 802558BC 0025281C 38 60 00 00 */ li r3, 0 -/* 802558C0 00252820 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802558C4 00252824 7F C3 F3 78 */ mr r3, r30 -/* 802558C8 00252828 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 802558CC 0025282C 48 00 0C B1 */ bl nullsub_53 -lbl_802558D0: -/* 802558D0 00252830 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802558D4 00252834 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802558D8 00252838 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802558DC 0025283C 7C 08 03 A6 */ mtlr r0 -/* 802558E0 00252840 38 21 00 20 */ addi r1, r1, 0x20 -/* 802558E4 00252844 4E 80 00 20 */ blr - -.global Attack__7CRidleyFR13CStateManager9EStateMsgf -Attack__7CRidleyFR13CStateManager9EStateMsgf: -/* 802558E8 00252848 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802558EC 0025284C 7C 08 02 A6 */ mflr r0 -/* 802558F0 00252850 90 01 00 34 */ stw r0, 0x34(r1) -/* 802558F4 00252854 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802558F8 00252858 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802558FC 0025285C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80255900 00252860 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80255904 00252864 FF E0 08 90 */ fmr f31, f1 -/* 80255908 00252868 2C 05 00 01 */ cmpwi r5, 1 -/* 8025590C 0025286C 7C 7E 1B 78 */ mr r30, r3 -/* 80255910 00252870 7C 9F 23 78 */ mr r31, r4 -/* 80255914 00252874 41 82 00 EC */ beq lbl_80255A00 -/* 80255918 00252878 40 80 00 10 */ bge lbl_80255928 -/* 8025591C 0025287C 2C 05 00 00 */ cmpwi r5, 0 -/* 80255920 00252880 40 80 00 14 */ bge lbl_80255934 -/* 80255924 00252884 48 00 01 C0 */ b lbl_80255AE4 -lbl_80255928: -/* 80255928 00252888 2C 05 00 03 */ cmpwi r5, 3 -/* 8025592C 0025288C 40 80 01 B8 */ bge lbl_80255AE4 -/* 80255930 00252890 48 00 01 94 */ b lbl_80255AC4 -lbl_80255934: -/* 80255934 00252894 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80255938 00252898 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8025593C 0025289C 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l -/* 80255940 002528A0 C0 82 B9 7C */ lfs f4, lbl_805AD69C@sda21(r2) -/* 80255944 002528A4 C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 80255948 002528A8 38 60 00 01 */ li r3, 1 -/* 8025594C 002528AC C0 45 00 40 */ lfs f2, 0x40(r5) -/* 80255950 002528B0 C0 24 00 00 */ lfs f1, 0(r4) -/* 80255954 002528B4 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80255958 002528B8 C0 7E 00 44 */ lfs f3, 0x44(r30) -/* 8025595C 002528BC EC 22 08 2A */ fadds f1, f2, f1 -/* 80255960 002528C0 C0 5E 00 54 */ lfs f2, 0x54(r30) -/* 80255964 002528C4 C0 C5 00 50 */ lfs f6, 0x50(r5) -/* 80255968 002528C8 EC A4 00 F2 */ fmuls f5, f4, f3 -/* 8025596C 002528CC C0 64 00 04 */ lfs f3, 4(r4) -/* 80255970 002528D0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80255974 002528D4 EC C6 18 2A */ fadds f6, f6, f3 -/* 80255978 002528D8 C0 85 00 60 */ lfs f4, 0x60(r5) -/* 8025597C 002528DC C0 64 00 08 */ lfs f3, 8(r4) -/* 80255980 002528E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80255984 002528E4 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80255988 002528E8 EC 64 18 2A */ fadds f3, f4, f3 -/* 8025598C 002528EC EC 86 28 28 */ fsubs f4, f6, f5 -/* 80255990 002528F0 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) -/* 80255994 002528F4 C0 02 B9 80 */ lfs f0, lbl_805AD6A0@sda21(r2) -/* 80255998 002528F8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025599C 002528FC D0 9E 0B E8 */ stfs f4, 0xbe8(r30) -/* 802559A0 00252900 D0 5E 0B EC */ stfs f2, 0xbec(r30) -/* 802559A4 00252904 C0 9E 00 54 */ lfs f4, 0x54(r30) -/* 802559A8 00252908 C0 7E 00 44 */ lfs f3, 0x44(r30) -/* 802559AC 0025290C C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 802559B0 00252910 D0 5E 0B F0 */ stfs f2, 0xbf0(r30) -/* 802559B4 00252914 D0 7E 0B F4 */ stfs f3, 0xbf4(r30) -/* 802559B8 00252918 D0 9E 0B F8 */ stfs f4, 0xbf8(r30) -/* 802559BC 0025291C C0 5E 0B F0 */ lfs f2, 0xbf0(r30) -/* 802559C0 00252920 D0 5E 0B FC */ stfs f2, 0xbfc(r30) -/* 802559C4 00252924 C0 5E 0B F4 */ lfs f2, 0xbf4(r30) -/* 802559C8 00252928 D0 5E 0C 00 */ stfs f2, 0xc00(r30) -/* 802559CC 0025292C C0 5E 0B F8 */ lfs f2, 0xbf8(r30) -/* 802559D0 00252930 D0 5E 0C 04 */ stfs f2, 0xc04(r30) -/* 802559D4 00252934 D0 3E 0C 08 */ stfs f1, 0xc08(r30) -/* 802559D8 00252938 D0 3E 0C 0C */ stfs f1, 0xc0c(r30) -/* 802559DC 0025293C D0 1E 0C 10 */ stfs f0, 0xc10(r30) -/* 802559E0 00252940 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 802559E4 00252944 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 802559E8 00252948 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802559EC 0025294C 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 802559F0 00252950 80 7E 0C C4 */ lwz r3, 0xcc4(r30) -/* 802559F4 00252954 38 03 FF FF */ addi r0, r3, -1 -/* 802559F8 00252958 90 1E 0C C4 */ stw r0, 0xcc4(r30) -/* 802559FC 0025295C 48 00 00 E8 */ b lbl_80255AE4 -lbl_80255A00: -/* 80255A00 00252960 88 1E 0A 31 */ lbz r0, 0xa31(r30) -/* 80255A04 00252964 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80255A08 00252968 41 82 00 7C */ beq lbl_80255A84 -/* 80255A0C 0025296C C0 22 B9 38 */ lfs f1, lbl_805AD658@sda21(r2) -/* 80255A10 00252970 38 81 00 08 */ addi r4, r1, 8 -/* 80255A14 00252974 C0 1E 0C 0C */ lfs f0, 0xc0c(r30) -/* 80255A18 00252978 38 62 B9 14 */ addi r3, r2, lbl_805AD634@sda21 -/* 80255A1C 0025297C EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80255A20 00252980 D0 01 00 08 */ stfs f0, 8(r1) -/* 80255A24 00252984 4B E2 83 BD */ bl "Min__5CMathFRCfRCf" -/* 80255A28 00252988 C0 03 00 00 */ lfs f0, 0(r3) -/* 80255A2C 0025298C D0 1E 0C 0C */ stfs f0, 0xc0c(r30) -/* 80255A30 00252990 C0 3E 0C 0C */ lfs f1, 0xc0c(r30) -/* 80255A34 00252994 C0 1E 0C 08 */ lfs f0, 0xc08(r30) -/* 80255A38 00252998 EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 80255A3C 0025299C D0 1E 0C 08 */ stfs f0, 0xc08(r30) -/* 80255A40 002529A0 C0 9E 0C 08 */ lfs f4, 0xc08(r30) -/* 80255A44 002529A4 C0 1E 0B F0 */ lfs f0, 0xbf0(r30) -/* 80255A48 002529A8 C0 3E 0B E4 */ lfs f1, 0xbe4(r30) -/* 80255A4C 002529AC EC 04 00 32 */ fmuls f0, f4, f0 -/* 80255A50 002529B0 C0 7E 0B F4 */ lfs f3, 0xbf4(r30) -/* 80255A54 002529B4 C0 5E 0B F8 */ lfs f2, 0xbf8(r30) -/* 80255A58 002529B8 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80255A5C 002529BC EC 01 00 2A */ fadds f0, f1, f0 -/* 80255A60 002529C0 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80255A64 002529C4 D0 1E 0B E4 */ stfs f0, 0xbe4(r30) -/* 80255A68 002529C8 C0 1E 0B E8 */ lfs f0, 0xbe8(r30) -/* 80255A6C 002529CC EC 00 18 2A */ fadds f0, f0, f3 -/* 80255A70 002529D0 D0 1E 0B E8 */ stfs f0, 0xbe8(r30) -/* 80255A74 002529D4 C0 1E 0B EC */ lfs f0, 0xbec(r30) -/* 80255A78 002529D8 EC 00 08 2A */ fadds f0, f0, f1 -/* 80255A7C 002529DC D0 1E 0B EC */ stfs f0, 0xbec(r30) -/* 80255A80 002529E0 48 00 00 08 */ b lbl_80255A88 -lbl_80255A84: -/* 80255A84 002529E4 48 00 04 CD */ bl sub_80255f50 -lbl_80255A88: -/* 80255A88 002529E8 3C 80 80 3F */ lis r4, lbl_803E91B0@ha -/* 80255A8C 002529EC 7F C3 F3 78 */ mr r3, r30 -/* 80255A90 002529F0 38 E4 91 B0 */ addi r7, r4, lbl_803E91B0@l -/* 80255A94 002529F4 7F E4 FB 78 */ mr r4, r31 -/* 80255A98 002529F8 81 27 00 00 */ lwz r9, 0(r7) -/* 80255A9C 002529FC 38 C1 00 0C */ addi r6, r1, 0xc -/* 80255AA0 00252A00 81 07 00 04 */ lwz r8, 4(r7) -/* 80255AA4 00252A04 38 A0 00 12 */ li r5, 0x12 -/* 80255AA8 00252A08 80 07 00 08 */ lwz r0, 8(r7) -/* 80255AAC 00252A0C 38 E0 00 00 */ li r7, 0 -/* 80255AB0 00252A10 91 21 00 0C */ stw r9, 0xc(r1) -/* 80255AB4 00252A14 91 01 00 10 */ stw r8, 0x10(r1) -/* 80255AB8 00252A18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255ABC 00252A1C 4B E2 6C F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80255AC0 00252A20 48 00 00 24 */ b lbl_80255AE4 -lbl_80255AC4: -/* 80255AC4 00252A24 38 00 00 00 */ li r0, 0 -/* 80255AC8 00252A28 38 A0 00 01 */ li r5, 1 -/* 80255ACC 00252A2C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80255AD0 00252A30 48 00 0F 9D */ bl sub_80256a6c -/* 80255AD4 00252A34 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 80255AD8 00252A38 38 60 00 00 */ li r3, 0 -/* 80255ADC 00252A3C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80255AE0 00252A40 98 1E 0A 32 */ stb r0, 0xa32(r30) -lbl_80255AE4: -/* 80255AE4 00252A44 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80255AE8 00252A48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80255AEC 00252A4C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80255AF0 00252A50 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80255AF4 00252A54 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80255AF8 00252A58 7C 08 03 A6 */ mtlr r0 -/* 80255AFC 00252A5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80255B00 00252A60 4E 80 00 20 */ blr - -.global SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf -SpecialAttack__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255B04 00252A64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80255B08 00252A68 7C 08 02 A6 */ mflr r0 -/* 80255B0C 00252A6C 2C 05 00 01 */ cmpwi r5, 1 -/* 80255B10 00252A70 90 01 00 24 */ stw r0, 0x24(r1) -/* 80255B14 00252A74 41 82 00 2C */ beq lbl_80255B40 -/* 80255B18 00252A78 40 80 00 10 */ bge lbl_80255B28 -/* 80255B1C 00252A7C 2C 05 00 00 */ cmpwi r5, 0 -/* 80255B20 00252A80 40 80 00 14 */ bge lbl_80255B34 -/* 80255B24 00252A84 48 00 00 58 */ b lbl_80255B7C -lbl_80255B28: -/* 80255B28 00252A88 2C 05 00 03 */ cmpwi r5, 3 -/* 80255B2C 00252A8C 40 80 00 50 */ bge lbl_80255B7C -/* 80255B30 00252A90 48 00 00 44 */ b lbl_80255B74 -lbl_80255B34: -/* 80255B34 00252A94 38 00 00 01 */ li r0, 1 -/* 80255B38 00252A98 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80255B3C 00252A9C 48 00 00 40 */ b lbl_80255B7C -lbl_80255B40: -/* 80255B40 00252AA0 3C A0 80 3F */ lis r5, lbl_803E91A4@ha -/* 80255B44 00252AA4 38 C1 00 08 */ addi r6, r1, 8 -/* 80255B48 00252AA8 39 45 91 A4 */ addi r10, r5, lbl_803E91A4@l -/* 80255B4C 00252AAC 38 A0 00 10 */ li r5, 0x10 -/* 80255B50 00252AB0 81 2A 00 00 */ lwz r9, 0(r10) -/* 80255B54 00252AB4 38 E0 00 00 */ li r7, 0 -/* 80255B58 00252AB8 81 0A 00 04 */ lwz r8, 4(r10) -/* 80255B5C 00252ABC 80 0A 00 08 */ lwz r0, 8(r10) -/* 80255B60 00252AC0 91 21 00 08 */ stw r9, 8(r1) -/* 80255B64 00252AC4 91 01 00 0C */ stw r8, 0xc(r1) -/* 80255B68 00252AC8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80255B6C 00252ACC 4B E2 6C 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80255B70 00252AD0 48 00 00 0C */ b lbl_80255B7C -lbl_80255B74: -/* 80255B74 00252AD4 38 00 00 00 */ li r0, 0 -/* 80255B78 00252AD8 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80255B7C: -/* 80255B7C 00252ADC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80255B80 00252AE0 7C 08 03 A6 */ mtlr r0 -/* 80255B84 00252AE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80255B88 00252AE8 4E 80 00 20 */ blr - -.global Generate__7CRidleyFR13CStateManager9EStateMsgf -Generate__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255B8C 00252AEC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80255B90 00252AF0 7C 08 02 A6 */ mflr r0 -/* 80255B94 00252AF4 2C 05 00 00 */ cmpwi r5, 0 -/* 80255B98 00252AF8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255B9C 00252AFC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80255BA0 00252B00 7C 7F 1B 78 */ mr r31, r3 -/* 80255BA4 00252B04 41 82 00 0C */ beq lbl_80255BB0 -/* 80255BA8 00252B08 41 80 00 84 */ blt lbl_80255C2C -/* 80255BAC 00252B0C 48 00 00 80 */ b lbl_80255C2C -lbl_80255BB0: -/* 80255BB0 00252B10 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 80255BB4 00252B14 38 60 00 00 */ li r3, 0 -/* 80255BB8 00252B18 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80255BBC 00252B1C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80255BC0 00252B20 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80255BC4 00252B24 38 61 00 1C */ addi r3, r1, 0x1c -/* 80255BC8 00252B28 38 9F 0A 84 */ addi r4, r31, 0xa84 -/* 80255BCC 00252B2C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80255BD0 00252B30 C0 5F 0A C0 */ lfs f2, 0xac0(r31) -/* 80255BD4 00252B34 C0 3F 0A DC */ lfs f1, 0xadc(r31) -/* 80255BD8 00252B38 C0 7F 0A BC */ lfs f3, 0xabc(r31) -/* 80255BDC 00252B3C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80255BE0 00252B40 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80255BE4 00252B44 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80255BE8 00252B48 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80255BEC 00252B4C 48 0B CE FD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80255BF0 00252B50 7F E3 FB 78 */ mr r3, r31 -/* 80255BF4 00252B54 38 81 00 1C */ addi r4, r1, 0x1c -/* 80255BF8 00252B58 4B DF D2 95 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80255BFC 00252B5C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80255C00 00252B60 38 00 00 0C */ li r0, 0xc -/* 80255C04 00252B64 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 80255C08 00252B68 90 01 00 0C */ stw r0, 0xc(r1) -/* 80255C0C 00252B6C 38 81 00 08 */ addi r4, r1, 8 -/* 80255C10 00252B70 90 61 00 08 */ stw r3, 8(r1) -/* 80255C14 00252B74 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80255C18 00252B78 38 63 00 04 */ addi r3, r3, 4 -/* 80255C1C 00252B7C 4B ED BB 9D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80255C20 00252B80 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80255C24 00252B84 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80255C28 00252B88 90 01 00 08 */ stw r0, 8(r1) -lbl_80255C2C: -/* 80255C2C 00252B8C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80255C30 00252B90 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80255C34 00252B94 7C 08 03 A6 */ mtlr r0 -/* 80255C38 00252B98 38 21 00 30 */ addi r1, r1, 0x30 -/* 80255C3C 00252B9C 4E 80 00 20 */ blr - -.global Taunt__7CRidleyFR13CStateManager9EStateMsgf -Taunt__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255C40 00252BA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80255C44 00252BA4 7C 08 02 A6 */ mflr r0 -/* 80255C48 00252BA8 2C 05 00 01 */ cmpwi r5, 1 -/* 80255C4C 00252BAC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255C50 00252BB0 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80255C54 00252BB4 FF E0 08 90 */ fmr f31, f1 -/* 80255C58 00252BB8 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80255C5C 00252BBC 7C 9F 23 78 */ mr r31, r4 -/* 80255C60 00252BC0 93 C1 00 20 */ stw r30, 0x20(r1) -/* 80255C64 00252BC4 7C 7E 1B 78 */ mr r30, r3 -/* 80255C68 00252BC8 41 82 00 2C */ beq lbl_80255C94 -/* 80255C6C 00252BCC 40 80 00 10 */ bge lbl_80255C7C -/* 80255C70 00252BD0 2C 05 00 00 */ cmpwi r5, 0 -/* 80255C74 00252BD4 40 80 00 14 */ bge lbl_80255C88 -/* 80255C78 00252BD8 48 00 00 68 */ b lbl_80255CE0 -lbl_80255C7C: -/* 80255C7C 00252BDC 2C 05 00 03 */ cmpwi r5, 3 -/* 80255C80 00252BE0 40 80 00 60 */ bge lbl_80255CE0 -/* 80255C84 00252BE4 48 00 00 54 */ b lbl_80255CD8 -lbl_80255C88: -/* 80255C88 00252BE8 38 00 00 01 */ li r0, 1 -/* 80255C8C 00252BEC 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80255C90 00252BF0 48 00 00 50 */ b lbl_80255CE0 -lbl_80255C94: -/* 80255C94 00252BF4 3C A0 80 3F */ lis r5, lbl_803E9198@ha -/* 80255C98 00252BF8 38 C1 00 08 */ addi r6, r1, 8 -/* 80255C9C 00252BFC 39 45 91 98 */ addi r10, r5, lbl_803E9198@l -/* 80255CA0 00252C00 38 A0 00 10 */ li r5, 0x10 -/* 80255CA4 00252C04 81 2A 00 00 */ lwz r9, 0(r10) -/* 80255CA8 00252C08 38 E0 00 03 */ li r7, 3 -/* 80255CAC 00252C0C 81 0A 00 04 */ lwz r8, 4(r10) -/* 80255CB0 00252C10 80 0A 00 08 */ lwz r0, 8(r10) -/* 80255CB4 00252C14 91 21 00 08 */ stw r9, 8(r1) -/* 80255CB8 00252C18 91 01 00 0C */ stw r8, 0xc(r1) -/* 80255CBC 00252C1C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80255CC0 00252C20 4B E2 6A F5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80255CC4 00252C24 FC 20 F8 90 */ fmr f1, f31 -/* 80255CC8 00252C28 7F C3 F3 78 */ mr r3, r30 -/* 80255CCC 00252C2C 7F E4 FB 78 */ mr r4, r31 -/* 80255CD0 00252C30 48 00 02 81 */ bl sub_80255f50 -/* 80255CD4 00252C34 48 00 00 0C */ b lbl_80255CE0 -lbl_80255CD8: -/* 80255CD8 00252C38 38 00 00 00 */ li r0, 0 -/* 80255CDC 00252C3C 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80255CE0: -/* 80255CE0 00252C40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80255CE4 00252C44 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80255CE8 00252C48 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 80255CEC 00252C4C 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 80255CF0 00252C50 7C 08 03 A6 */ mtlr r0 -/* 80255CF4 00252C54 38 21 00 30 */ addi r1, r1, 0x30 -/* 80255CF8 00252C58 4E 80 00 20 */ blr - -.global Patrol__7CRidleyFR13CStateManager9EStateMsgf -Patrol__7CRidleyFR13CStateManager9EStateMsgf: -/* 80255CFC 00252C5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255D00 00252C60 7C 08 02 A6 */ mflr r0 -/* 80255D04 00252C64 2C 05 00 00 */ cmpwi r5, 0 -/* 80255D08 00252C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255D0C 00252C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80255D10 00252C70 7C 7F 1B 78 */ mr r31, r3 -/* 80255D14 00252C74 41 82 00 0C */ beq lbl_80255D20 -/* 80255D18 00252C78 41 80 00 2C */ blt lbl_80255D44 -/* 80255D1C 00252C7C 48 00 00 28 */ b lbl_80255D44 -lbl_80255D20: -/* 80255D20 00252C80 48 00 00 39 */ bl sub_80255d58 -/* 80255D24 00252C84 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80255D28 00252C88 38 60 00 00 */ li r3, 0 -/* 80255D2C 00252C8C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80255D30 00252C90 38 60 00 01 */ li r3, 1 -/* 80255D34 00252C94 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80255D38 00252C98 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80255D3C 00252C9C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80255D40 00252CA0 98 1F 0A 33 */ stb r0, 0xa33(r31) -lbl_80255D44: -/* 80255D44 00252CA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255D48 00252CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80255D4C 00252CAC 7C 08 03 A6 */ mtlr r0 -/* 80255D50 00252CB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255D54 00252CB4 4E 80 00 20 */ blr - -.global sub_80255d58 -sub_80255d58: -/* 80255D58 00252CB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80255D5C 00252CBC 7C 08 02 A6 */ mflr r0 -/* 80255D60 00252CC0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80255D64 00252CC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80255D68 00252CC8 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) -/* 80255D6C 00252CCC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80255D70 00252CD0 7C 7F 1B 78 */ mr r31, r3 -/* 80255D74 00252CD4 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha -/* 80255D78 00252CD8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80255D7C 00252CDC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80255D80 00252CE0 7C 9D 23 78 */ mr r29, r4 -/* 80255D84 00252CE4 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l -/* 80255D88 00252CE8 80 BF 0C B0 */ lwz r5, 0xcb0(r31) -/* 80255D8C 00252CEC 80 1F 0C B4 */ lwz r0, 0xcb4(r31) -/* 80255D90 00252CF0 1C A5 00 90 */ mulli r5, r5, 0x90 -/* 80255D94 00252CF4 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80255D98 00252CF8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80255D9C 00252CFC 7C 84 2A 14 */ add r4, r4, r5 -/* 80255DA0 00252D00 7F C4 02 14 */ add r30, r4, r0 -/* 80255DA4 00252D04 48 0B C7 A1 */ bl Range__9CRandom16Fff -/* 80255DA8 00252D08 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80255DAC 00252D0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80255DB0 00252D10 4C 40 13 82 */ cror 2, 0, 2 -/* 80255DB4 00252D14 40 82 00 0C */ bne lbl_80255DC0 -/* 80255DB8 00252D18 80 1E 00 00 */ lwz r0, 0(r30) -/* 80255DBC 00252D1C 48 00 00 08 */ b lbl_80255DC4 -lbl_80255DC0: -/* 80255DC0 00252D20 80 1E 00 08 */ lwz r0, 8(r30) -lbl_80255DC4: -/* 80255DC4 00252D24 90 1F 0B 04 */ stw r0, 0xb04(r31) -/* 80255DC8 00252D28 80 1F 0B 04 */ lwz r0, 0xb04(r31) -/* 80255DCC 00252D2C 2C 00 FF FF */ cmpwi r0, -1 -/* 80255DD0 00252D30 40 82 00 5C */ bne lbl_80255E2C -/* 80255DD4 00252D34 38 00 00 00 */ li r0, 0 -/* 80255DD8 00252D38 3C 60 80 47 */ lis r3, lbl_8046D9C0@ha -/* 80255DDC 00252D3C 90 1F 0C B4 */ stw r0, 0xcb4(r31) -/* 80255DE0 00252D40 38 83 D9 C0 */ addi r4, r3, lbl_8046D9C0@l -/* 80255DE4 00252D44 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80255DE8 00252D48 80 7F 0C B0 */ lwz r3, 0xcb0(r31) -/* 80255DEC 00252D4C 80 1F 0C B4 */ lwz r0, 0xcb4(r31) -/* 80255DF0 00252D50 1C A3 00 90 */ mulli r5, r3, 0x90 -/* 80255DF4 00252D54 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80255DF8 00252D58 C0 42 B9 34 */ lfs f2, lbl_805AD654@sda21(r2) -/* 80255DFC 00252D5C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80255E00 00252D60 7C 84 2A 14 */ add r4, r4, r5 -/* 80255E04 00252D64 7F C4 02 14 */ add r30, r4, r0 -/* 80255E08 00252D68 48 0B C7 3D */ bl Range__9CRandom16Fff -/* 80255E0C 00252D6C C0 1E 00 04 */ lfs f0, 4(r30) -/* 80255E10 00252D70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80255E14 00252D74 4C 40 13 82 */ cror 2, 0, 2 -/* 80255E18 00252D78 40 82 00 0C */ bne lbl_80255E24 -/* 80255E1C 00252D7C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80255E20 00252D80 48 00 00 08 */ b lbl_80255E28 -lbl_80255E24: -/* 80255E24 00252D84 80 1E 00 08 */ lwz r0, 8(r30) -lbl_80255E28: -/* 80255E28 00252D88 90 1F 0B 04 */ stw r0, 0xb04(r31) -lbl_80255E2C: -/* 80255E2C 00252D8C 80 7F 0C B4 */ lwz r3, 0xcb4(r31) -/* 80255E30 00252D90 38 00 00 01 */ li r0, 1 -/* 80255E34 00252D94 38 63 00 01 */ addi r3, r3, 1 -/* 80255E38 00252D98 90 7F 0C B4 */ stw r3, 0xcb4(r31) -/* 80255E3C 00252D9C 90 1F 0C C4 */ stw r0, 0xcc4(r31) -/* 80255E40 00252DA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80255E44 00252DA4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80255E48 00252DA8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80255E4C 00252DAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80255E50 00252DB0 7C 08 03 A6 */ mtlr r0 -/* 80255E54 00252DB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80255E58 00252DB8 4E 80 00 20 */ blr - -.global sub_80255e5c -sub_80255e5c: -/* 80255E5C 00252DBC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80255E60 00252DC0 7C 08 02 A6 */ mflr r0 -/* 80255E64 00252DC4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80255E68 00252DC8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80255E6C 00252DCC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80255E70 00252DD0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80255E74 00252DD4 7C 9F 23 78 */ mr r31, r4 -/* 80255E78 00252DD8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80255E7C 00252DDC 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80255E80 00252DE0 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80255E84 00252DE4 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80255E88 00252DE8 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80255E8C 00252DEC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80255E90 00252DF0 EC 84 08 28 */ fsubs f4, f4, f1 -/* 80255E94 00252DF4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80255E98 00252DF8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80255E9C 00252DFC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80255EA0 00252E00 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80255EA4 00252E04 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80255EA8 00252E08 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80255EAC 00252E0C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80255EB0 00252E10 48 0B EA 09 */ bl Magnitude__9CVector3fCFv -/* 80255EB4 00252E14 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) -/* 80255EB8 00252E18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80255EBC 00252E1C 40 80 00 78 */ bge lbl_80255F34 -/* 80255EC0 00252E20 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80255EC4 00252E24 38 61 00 24 */ addi r3, r1, 0x24 -/* 80255EC8 00252E28 C3 E4 00 E8 */ lfs f31, 0xe8(r4) -/* 80255ECC 00252E2C 48 0B E9 ED */ bl Magnitude__9CVector3fCFv -/* 80255ED0 00252E30 C0 02 B9 7C */ lfs f0, lbl_805AD69C@sda21(r2) -/* 80255ED4 00252E34 38 61 00 08 */ addi r3, r1, 8 -/* 80255ED8 00252E38 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80255EDC 00252E3C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80255EE0 00252E40 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80255EE4 00252E44 EF FF 00 32 */ fmuls f31, f31, f0 -/* 80255EE8 00252E48 48 0B E3 19 */ bl __ct__9CVector2fFff -/* 80255EEC 00252E4C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80255EF0 00252E50 38 81 00 08 */ addi r4, r1, 8 -/* 80255EF4 00252E54 48 0B E1 8D */ bl AsNormalized__9CVector2fCFv -/* 80255EF8 00252E58 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80255EFC 00252E5C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80255F00 00252E60 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80255F04 00252E64 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80255F08 00252E68 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80255F0C 00252E6C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80255F10 00252E70 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80255F14 00252E74 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80255F18 00252E78 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80255F1C 00252E7C 83 FF 08 4C */ lwz r31, 0x84c(r31) -/* 80255F20 00252E80 4B DC 56 15 */ bl Identity__10CAxisAngleFv -/* 80255F24 00252E84 7C 65 1B 78 */ mr r5, r3 -/* 80255F28 00252E88 7F E3 FB 78 */ mr r3, r31 -/* 80255F2C 00252E8C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80255F30 00252E90 4B EC 64 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_80255F34: -/* 80255F34 00252E94 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80255F38 00252E98 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80255F3C 00252E9C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80255F40 00252EA0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80255F44 00252EA4 7C 08 03 A6 */ mtlr r0 -/* 80255F48 00252EA8 38 21 00 50 */ addi r1, r1, 0x50 -/* 80255F4C 00252EAC 4E 80 00 20 */ blr - -.global sub_80255f50 -sub_80255f50: -/* 80255F50 00252EB0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80255F54 00252EB4 7C 08 02 A6 */ mflr r0 -/* 80255F58 00252EB8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80255F5C 00252EBC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80255F60 00252EC0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80255F64 00252EC4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80255F68 00252EC8 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 80255F6C 00252ECC FF E0 08 90 */ fmr f31, f1 -/* 80255F70 00252ED0 C0 03 00 60 */ lfs f0, 0x60(r3) -/* 80255F74 00252ED4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80255F78 00252ED8 C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 80255F7C 00252EDC C0 85 00 50 */ lfs f4, 0x50(r5) -/* 80255F80 00252EE0 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 80255F84 00252EE4 EC 25 00 28 */ fsubs f1, f5, f0 -/* 80255F88 00252EE8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80255F8C 00252EEC C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80255F90 00252EF0 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80255F94 00252EF4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80255F98 00252EF8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80255F9C 00252EFC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80255FA0 00252F00 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80255FA4 00252F04 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80255FA8 00252F08 83 E3 04 50 */ lwz r31, 0x450(r3) -/* 80255FAC 00252F0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80255FB0 00252F10 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80255FB4 00252F14 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80255FB8 00252F18 48 0B E8 99 */ bl AsNormalized__9CVector3fCFv -/* 80255FBC 00252F1C FC 20 F8 90 */ fmr f1, f31 -/* 80255FC0 00252F20 7F E3 FB 78 */ mr r3, r31 -/* 80255FC4 00252F24 38 81 00 20 */ addi r4, r1, 0x20 -/* 80255FC8 00252F28 4B EE 46 DD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 80255FCC 00252F2C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80255FD0 00252F30 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80255FD4 00252F34 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80255FD8 00252F38 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80255FDC 00252F3C 7C 08 03 A6 */ mtlr r0 -/* 80255FE0 00252F40 38 21 00 50 */ addi r1, r1, 0x50 -/* 80255FE4 00252F44 4E 80 00 20 */ blr - -.global sub_80255fe8 -sub_80255fe8: -/* 80255FE8 00252F48 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80255FEC 00252F4C 7C 08 02 A6 */ mflr r0 -/* 80255FF0 00252F50 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255FF4 00252F54 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80255FF8 00252F58 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80255FFC 00252F5C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80256000 00252F60 FF E0 08 90 */ fmr f31, f1 -/* 80256004 00252F64 C0 02 B9 84 */ lfs f0, lbl_805AD6A4@sda21(r2) -/* 80256008 00252F68 7C 7F 1B 78 */ mr r31, r3 -/* 8025600C 00252F6C C0 64 00 00 */ lfs f3, 0(r4) -/* 80256010 00252F70 C0 24 00 04 */ lfs f1, 4(r4) -/* 80256014 00252F74 38 7F 0A EC */ addi r3, r31, 0xaec -/* 80256018 00252F78 EC 80 07 F2 */ fmuls f4, f0, f31 -/* 8025601C 00252F7C C0 04 00 08 */ lfs f0, 8(r4) -/* 80256020 00252F80 EC 9F 01 32 */ fmuls f4, f31, f4 -/* 80256024 00252F84 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80256028 00252F88 EC 24 00 72 */ fmuls f1, f4, f1 -/* 8025602C 00252F8C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80256030 00252F90 D0 7F 0A F8 */ stfs f3, 0xaf8(r31) -/* 80256034 00252F94 D0 3F 0A FC */ stfs f1, 0xafc(r31) -/* 80256038 00252F98 D0 1F 0B 00 */ stfs f0, 0xb00(r31) -/* 8025603C 00252F9C C0 1F 0A F8 */ lfs f0, 0xaf8(r31) -/* 80256040 00252FA0 C0 9F 0A FC */ lfs f4, 0xafc(r31) -/* 80256044 00252FA4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80256048 00252FA8 C0 3F 0A EC */ lfs f1, 0xaec(r31) -/* 8025604C 00252FAC C0 7F 0B 00 */ lfs f3, 0xb00(r31) -/* 80256050 00252FB0 EC 82 01 32 */ fmuls f4, f2, f4 -/* 80256054 00252FB4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80256058 00252FB8 EC 22 00 F2 */ fmuls f1, f2, f3 -/* 8025605C 00252FBC D0 1F 0A EC */ stfs f0, 0xaec(r31) -/* 80256060 00252FC0 C0 1F 0A F0 */ lfs f0, 0xaf0(r31) -/* 80256064 00252FC4 EC 00 20 2A */ fadds f0, f0, f4 -/* 80256068 00252FC8 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) -/* 8025606C 00252FCC C0 1F 0A F4 */ lfs f0, 0xaf4(r31) -/* 80256070 00252FD0 EC 00 08 2A */ fadds f0, f0, f1 -/* 80256074 00252FD4 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) -/* 80256078 00252FD8 48 0B E8 41 */ bl Magnitude__9CVector3fCFv -/* 8025607C 00252FDC FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80256080 00252FE0 40 81 00 34 */ ble lbl_802560B4 -/* 80256084 00252FE4 38 61 00 08 */ addi r3, r1, 8 -/* 80256088 00252FE8 38 9F 0A EC */ addi r4, r31, 0xaec -/* 8025608C 00252FEC 48 0B E7 C5 */ bl AsNormalized__9CVector3fCFv -/* 80256090 00252FF0 C0 01 00 08 */ lfs f0, 8(r1) -/* 80256094 00252FF4 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80256098 00252FF8 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8025609C 00252FFC C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802560A0 00253000 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 802560A4 00253004 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 802560A8 00253008 D0 1F 0A EC */ stfs f0, 0xaec(r31) -/* 802560AC 0025300C D0 5F 0A F0 */ stfs f2, 0xaf0(r31) -/* 802560B0 00253010 D0 3F 0A F4 */ stfs f1, 0xaf4(r31) -lbl_802560B4: -/* 802560B4 00253014 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802560B8 00253018 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802560BC 0025301C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802560C0 00253020 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802560C4 00253024 7C 08 03 A6 */ mtlr r0 -/* 802560C8 00253028 38 21 00 30 */ addi r1, r1, 0x30 -/* 802560CC 0025302C 4E 80 00 20 */ blr - -.global sub_802560d0 -sub_802560d0: -/* 802560D0 00253030 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802560D4 00253034 7C 08 02 A6 */ mflr r0 -/* 802560D8 00253038 90 01 00 74 */ stw r0, 0x74(r1) -/* 802560DC 0025303C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 802560E0 00253040 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802560E4 00253044 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802560E8 00253048 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802560EC 0025304C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 802560F0 00253050 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 802560F4 00253054 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 802560F8 00253058 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 802560FC 0025305C DB 61 00 20 */ stfd f27, 0x20(r1) -/* 80256100 00253060 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 80256104 00253064 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80256108 00253068 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8025610C 0025306C FF E0 08 90 */ fmr f31, f1 -/* 80256110 00253070 7C 7F 1B 78 */ mr r31, r3 -/* 80256114 00253074 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80256118 00253078 41 82 00 F4 */ beq lbl_8025620C -/* 8025611C 0025307C 38 7F 0A EC */ addi r3, r31, 0xaec -/* 80256120 00253080 48 0B E6 6D */ bl IsMagnitudeSafe__9CVector3fCFv -/* 80256124 00253084 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80256128 00253088 41 82 01 00 */ beq lbl_80256228 -/* 8025612C 0025308C 38 7F 0A EC */ addi r3, r31, 0xaec -/* 80256130 00253090 48 0B E7 89 */ bl Magnitude__9CVector3fCFv -/* 80256134 00253094 FF C0 08 90 */ fmr f30, f1 -/* 80256138 00253098 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 8025613C 0025309C C0 3F 0A F8 */ lfs f1, 0xaf8(r31) -/* 80256140 002530A0 C0 5F 0A FC */ lfs f2, 0xafc(r31) -/* 80256144 002530A4 EC E0 F0 24 */ fdivs f7, f0, f30 -/* 80256148 002530A8 C1 1F 0B 00 */ lfs f8, 0xb00(r31) -/* 8025614C 002530AC C0 DF 0A EC */ lfs f6, 0xaec(r31) -/* 80256150 002530B0 C0 BF 0A F0 */ lfs f5, 0xaf0(r31) -/* 80256154 002530B4 C0 9F 0A F4 */ lfs f4, 0xaf4(r31) -/* 80256158 002530B8 C0 62 B9 18 */ lfs f3, lbl_805AD638@sda21(r2) -/* 8025615C 002530BC EC 21 00 72 */ fmuls f1, f1, f1 -/* 80256160 002530C0 C1 22 B9 84 */ lfs f9, lbl_805AD6A4@sda21(r2) -/* 80256164 002530C4 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80256168 002530C8 EC 48 02 32 */ fmuls f2, f8, f8 -/* 8025616C 002530CC EF 67 01 B2 */ fmuls f27, f7, f6 -/* 80256170 002530D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80256174 002530D4 EF 87 01 72 */ fmuls f28, f7, f5 -/* 80256178 002530D8 EF A7 01 32 */ fmuls f29, f7, f4 -/* 8025617C 002530DC EC 02 00 2A */ fadds f0, f2, f0 -/* 80256180 002530E0 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 80256184 002530E4 40 82 00 0C */ bne lbl_80256190 -/* 80256188 002530E8 C0 02 B9 5C */ lfs f0, lbl_805AD67C@sda21(r2) -/* 8025618C 002530EC ED 29 00 32 */ fmuls f9, f9, f0 -lbl_80256190: -/* 80256190 002530F0 EC 09 07 B2 */ fmuls f0, f9, f30 -/* 80256194 002530F4 38 81 00 08 */ addi r4, r1, 8 -/* 80256198 002530F8 38 6D 97 94 */ addi r3, r13, lbl_805A8354@sda21 -/* 8025619C 002530FC 38 AD 97 98 */ addi r5, r13, lbl_805A8358@sda21 -/* 802561A0 00253100 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 802561A4 00253104 D0 01 00 08 */ stfs f0, 8(r1) -/* 802561A8 00253108 4B DB 61 0D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802561AC 0025310C C0 03 00 00 */ lfs f0, 0(r3) -/* 802561B0 00253110 EC 00 F7 BC */ fnmsubs f0, f0, f30, f30 -/* 802561B4 00253114 EC 40 06 F2 */ fmuls f2, f0, f27 -/* 802561B8 00253118 EC 20 07 32 */ fmuls f1, f0, f28 -/* 802561BC 0025311C EC 00 07 72 */ fmuls f0, f0, f29 -/* 802561C0 00253120 D0 5F 0A EC */ stfs f2, 0xaec(r31) -/* 802561C4 00253124 D0 3F 0A F0 */ stfs f1, 0xaf0(r31) -/* 802561C8 00253128 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) -/* 802561CC 0025312C C0 7F 00 E8 */ lfs f3, 0xe8(r31) -/* 802561D0 00253130 C0 5F 0A F0 */ lfs f2, 0xaf0(r31) -/* 802561D4 00253134 C0 3F 0A F4 */ lfs f1, 0xaf4(r31) -/* 802561D8 00253138 C0 1F 0A EC */ lfs f0, 0xaec(r31) -/* 802561DC 0025313C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802561E0 00253140 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802561E4 00253144 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802561E8 00253148 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802561EC 0025314C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802561F0 00253150 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802561F4 00253154 4B DC 53 41 */ bl Identity__10CAxisAngleFv -/* 802561F8 00253158 7C 65 1B 78 */ mr r5, r3 -/* 802561FC 0025315C 7F E3 FB 78 */ mr r3, r31 -/* 80256200 00253160 38 81 00 0C */ addi r4, r1, 0xc -/* 80256204 00253164 4B EC 61 95 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 80256208 00253168 48 00 00 20 */ b lbl_80256228 -lbl_8025620C: -/* 8025620C 0025316C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80256210 00253170 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80256214 00253174 D0 1F 0A EC */ stfs f0, 0xaec(r31) -/* 80256218 00253178 C0 03 00 04 */ lfs f0, 4(r3) -/* 8025621C 0025317C D0 1F 0A F0 */ stfs f0, 0xaf0(r31) -/* 80256220 00253180 C0 03 00 08 */ lfs f0, 8(r3) -/* 80256224 00253184 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) -lbl_80256228: -/* 80256228 00253188 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025622C 0025318C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80256230 00253190 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) -/* 80256234 00253194 C0 03 00 04 */ lfs f0, 4(r3) -/* 80256238 00253198 D0 1F 0A FC */ stfs f0, 0xafc(r31) -/* 8025623C 0025319C C0 03 00 08 */ lfs f0, 8(r3) -/* 80256240 002531A0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) -/* 80256244 002531A4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80256248 002531A8 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8025624C 002531AC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80256250 002531B0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80256254 002531B4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80256258 002531B8 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8025625C 002531BC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80256260 002531C0 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80256264 002531C4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 80256268 002531C8 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 8025626C 002531CC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80256270 002531D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80256274 002531D4 7C 08 03 A6 */ mtlr r0 -/* 80256278 002531D8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8025627C 002531DC 4E 80 00 20 */ blr - -.global Think__7CRidleyR13CStateManager -Think__7CRidleyR13CStateManager: -/* 80256280 002531E0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80256284 002531E4 7C 08 02 A6 */ mflr r0 -/* 80256288 002531E8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025628C 002531EC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80256290 002531F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80256294 002531F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80256298 002531F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025629C 002531FC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 802562A0 00253200 FF E0 08 90 */ fmr f31, f1 -/* 802562A4 00253204 7C 7E 1B 78 */ mr r30, r3 -/* 802562A8 00253208 7C 9F 23 78 */ mr r31, r4 -/* 802562AC 0025320C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802562B0 00253210 41 82 00 D8 */ beq lbl_80256388 -/* 802562B4 00253214 4B FF FE 1D */ bl sub_802560d0 -/* 802562B8 00253218 FC 20 F8 90 */ fmr f1, f31 -/* 802562BC 0025321C 7F C3 F3 78 */ mr r3, r30 -/* 802562C0 00253220 7F E4 FB 78 */ mr r4, r31 -/* 802562C4 00253224 4B E2 38 55 */ bl Think__10CPatternedFfR13CStateManager -/* 802562C8 00253228 FC 20 F8 90 */ fmr f1, f31 -/* 802562CC 0025322C 7F C3 F3 78 */ mr r3, r30 -/* 802562D0 00253230 48 00 00 D9 */ bl sub_802563a8 -/* 802562D4 00253234 FC 20 F8 90 */ fmr f1, f31 -/* 802562D8 00253238 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 802562DC 0025323C 7F E4 FB 78 */ mr r4, r31 -/* 802562E0 00253240 38 A0 00 00 */ li r5, 0 -/* 802562E4 00253244 4B F5 11 6D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 802562E8 00253248 FC 20 F8 90 */ fmr f1, f31 -/* 802562EC 0025324C 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 802562F0 00253250 7F E4 FB 78 */ mr r4, r31 -/* 802562F4 00253254 38 A0 00 00 */ li r5, 0 -/* 802562F8 00253258 4B F5 11 59 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 802562FC 0025325C C0 1E 0B 20 */ lfs f0, 0xb20(r30) -/* 80256300 00253260 38 81 00 10 */ addi r4, r1, 0x10 -/* 80256304 00253264 38 6D 97 88 */ addi r3, r13, lbl_805A8348@sda21 -/* 80256308 00253268 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8025630C 0025326C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80256310 00253270 4B DF 94 21 */ bl "Max__5CMathFRCfRCf" -/* 80256314 00253274 C0 03 00 00 */ lfs f0, 0(r3) -/* 80256318 00253278 38 81 00 0C */ addi r4, r1, 0xc -/* 8025631C 0025327C 38 6D 97 8C */ addi r3, r13, lbl_805A834C@sda21 -/* 80256320 00253280 D0 1E 0B 20 */ stfs f0, 0xb20(r30) -/* 80256324 00253284 C0 1E 0B 24 */ lfs f0, 0xb24(r30) -/* 80256328 00253288 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8025632C 0025328C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80256330 00253290 4B DF 94 01 */ bl "Max__5CMathFRCfRCf" -/* 80256334 00253294 C0 03 00 00 */ lfs f0, 0(r3) -/* 80256338 00253298 38 81 00 08 */ addi r4, r1, 8 -/* 8025633C 0025329C 38 6D 97 90 */ addi r3, r13, lbl_805A8350@sda21 -/* 80256340 002532A0 D0 1E 0B 24 */ stfs f0, 0xb24(r30) -/* 80256344 002532A4 C0 1E 0C C8 */ lfs f0, 0xcc8(r30) -/* 80256348 002532A8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8025634C 002532AC D0 01 00 08 */ stfs f0, 8(r1) -/* 80256350 002532B0 4B DF 93 E1 */ bl "Max__5CMathFRCfRCf" -/* 80256354 002532B4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80256358 002532B8 FC 20 F8 90 */ fmr f1, f31 -/* 8025635C 002532BC 7F C3 F3 78 */ mr r3, r30 -/* 80256360 002532C0 7F E4 FB 78 */ mr r4, r31 -/* 80256364 002532C4 D0 1E 0C C8 */ stfs f0, 0xcc8(r30) -/* 80256368 002532C8 48 00 07 AD */ bl sub_80256b14 -/* 8025636C 002532CC FC 20 F8 90 */ fmr f1, f31 -/* 80256370 002532D0 7F C3 F3 78 */ mr r3, r30 -/* 80256374 002532D4 7F E4 FB 78 */ mr r4, r31 -/* 80256378 002532D8 48 00 02 AD */ bl sub_80256624 -/* 8025637C 002532DC FC 20 F8 90 */ fmr f1, f31 -/* 80256380 002532E0 38 7E 0B 2C */ addi r3, r30, 0xb2c -/* 80256384 002532E4 4B F1 F6 25 */ bl Update__13CBoneTrackingFf -lbl_80256388: -/* 80256388 002532E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8025638C 002532EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80256390 002532F0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80256394 002532F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80256398 002532F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025639C 002532FC 7C 08 03 A6 */ mtlr r0 -/* 802563A0 00253300 38 21 00 30 */ addi r1, r1, 0x30 -/* 802563A4 00253304 4E 80 00 20 */ blr - -.global sub_802563a8 -sub_802563a8: -/* 802563A8 00253308 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802563AC 0025330C 7C 08 02 A6 */ mflr r0 -/* 802563B0 00253310 90 01 00 74 */ stw r0, 0x74(r1) -/* 802563B4 00253314 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 802563B8 00253318 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802563BC 0025331C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802563C0 00253320 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802563C4 00253324 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802563C8 00253328 7C 7F 1B 78 */ mr r31, r3 -/* 802563CC 0025332C FF C0 08 90 */ fmr f30, f1 -/* 802563D0 00253330 80 03 0C 64 */ lwz r0, 0xc64(r3) -/* 802563D4 00253334 2C 00 00 03 */ cmpwi r0, 3 -/* 802563D8 00253338 40 82 01 80 */ bne lbl_80256558 -/* 802563DC 0025333C 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 802563E0 00253340 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802563E4 00253344 40 82 01 74 */ bne lbl_80256558 -/* 802563E8 00253348 C0 5F 0A B0 */ lfs f2, 0xab0(r31) -/* 802563EC 0025334C 38 81 00 30 */ addi r4, r1, 0x30 -/* 802563F0 00253350 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) -/* 802563F4 00253354 C0 1F 0A 90 */ lfs f0, 0xa90(r31) -/* 802563F8 00253358 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 802563FC 0025335C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 80256400 00253360 C0 BF 00 40 */ lfs f5, 0x40(r31) -/* 80256404 00253364 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80256408 00253368 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8025640C 0025336C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80256410 00253370 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80256414 00253374 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80256418 00253378 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8025641C 0025337C D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80256420 00253380 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80256424 00253384 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80256428 00253388 4B DF CA 65 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8025642C 0025338C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80256430 00253390 38 61 00 3C */ addi r3, r1, 0x3c -/* 80256434 00253394 C0 1F 0A A0 */ lfs f0, 0xaa0(r31) -/* 80256438 00253398 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8025643C 0025339C C0 5F 0A B0 */ lfs f2, 0xab0(r31) -/* 80256440 002533A0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80256444 002533A4 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80256448 002533A8 C0 1F 0A 90 */ lfs f0, 0xa90(r31) -/* 8025644C 002533AC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80256450 002533B0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80256454 002533B4 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80256458 002533B8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8025645C 002533BC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80256460 002533C0 48 0B E4 59 */ bl Magnitude__9CVector3fCFv -/* 80256464 002533C4 FF E0 08 90 */ fmr f31, f1 -/* 80256468 002533C8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 8025646C 002533CC C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80256470 002533D0 38 81 00 08 */ addi r4, r1, 8 -/* 80256474 002533D4 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80256478 002533D8 38 6D 97 80 */ addi r3, r13, lbl_805A8340@sda21 -/* 8025647C 002533DC EC 60 F8 24 */ fdivs f3, f0, f31 -/* 80256480 002533E0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80256484 002533E4 38 AD 97 84 */ addi r5, r13, lbl_805A8344@sda21 -/* 80256488 002533E8 EC 82 00 F2 */ fmuls f4, f2, f3 -/* 8025648C 002533EC EC 41 00 F2 */ fmuls f2, f1, f3 -/* 80256490 002533F0 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 80256494 002533F4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80256498 002533F8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8025649C 002533FC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 802564A0 00253400 C0 1F 0A 98 */ lfs f0, 0xa98(r31) -/* 802564A4 00253404 C0 3F 0A 88 */ lfs f1, 0xa88(r31) -/* 802564A8 00253408 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802564AC 0025340C C0 5F 0A A8 */ lfs f2, 0xaa8(r31) -/* 802564B0 00253410 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 802564B4 00253414 EC 02 00 FA */ fmadds f0, f2, f3, f0 -/* 802564B8 00253418 D0 01 00 08 */ stfs f0, 8(r1) -/* 802564BC 0025341C 4B DB 5D F9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802564C0 00253420 C0 23 00 00 */ lfs f1, 0(r3) -/* 802564C4 00253424 C0 02 B9 88 */ lfs f0, lbl_805AD6A8@sda21(r2) -/* 802564C8 00253428 D0 21 00 08 */ stfs f1, 8(r1) -/* 802564CC 0025342C EC 00 00 72 */ fmuls f0, f0, f1 -/* 802564D0 00253430 C0 3F 0A B4 */ lfs f1, 0xab4(r31) -/* 802564D4 00253434 EC 01 00 2A */ fadds f0, f1, f0 -/* 802564D8 00253438 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802564DC 0025343C 40 81 00 7C */ ble lbl_80256558 -/* 802564E0 00253440 C0 3F 01 3C */ lfs f1, 0x13c(r31) -/* 802564E4 00253444 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802564E8 00253448 C0 5F 01 38 */ lfs f2, 0x138(r31) -/* 802564EC 0025344C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802564F0 00253450 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 802564F4 00253454 C0 9F 01 40 */ lfs f4, 0x140(r31) -/* 802564F8 00253458 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 802564FC 0025345C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80256500 00253460 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80256504 00253464 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80256508 00253468 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025650C 0025346C 40 81 00 0C */ ble lbl_80256518 -/* 80256510 00253470 7F E3 FB 78 */ mr r3, r31 -/* 80256514 00253474 4B EC 4E 65 */ bl Stop__13CPhysicsActorFv -lbl_80256518: -/* 80256518 00253478 C0 BF 00 50 */ lfs f5, 0x50(r31) -/* 8025651C 0025347C FC 20 F0 90 */ fmr f1, f30 -/* 80256520 00253480 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80256524 00253484 7F E3 FB 78 */ mr r3, r31 -/* 80256528 00253488 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8025652C 0025348C 38 81 00 0C */ addi r4, r1, 0xc -/* 80256530 00253490 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80256534 00253494 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80256538 00253498 EC A5 00 28 */ fsubs f5, f5, f0 -/* 8025653C 0025349C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80256540 002534A0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80256544 002534A4 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80256548 002534A8 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8025654C 002534AC D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80256550 002534B0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80256554 002534B4 4B EC 4B 45 */ bl MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff -lbl_80256558: -/* 80256558 002534B8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8025655C 002534BC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80256560 002534C0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80256564 002534C4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80256568 002534C8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8025656C 002534CC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80256570 002534D0 7C 08 03 A6 */ mtlr r0 -/* 80256574 002534D4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80256578 002534D8 4E 80 00 20 */ blr - -.global nullsub_53 -nullsub_53: -/* 8025657C 002534DC 4E 80 00 20 */ blr - -.global sub_80256580 -sub_80256580: -/* 80256580 002534E0 88 03 0A 31 */ lbz r0, 0xa31(r3) -/* 80256584 002534E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80256588 002534E8 4C 82 00 20 */ bnelr -/* 8025658C 002534EC C0 02 B9 8C */ lfs f0, lbl_805AD6AC@sda21(r2) -/* 80256590 002534F0 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 80256594 002534F4 4E 80 00 20 */ blr - -.global GetAimPosition__7CRidleyCFRC13CStateManagerf -GetAimPosition__7CRidleyCFRC13CStateManagerf: -/* 80256598 002534F8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8025659C 002534FC 7C 08 02 A6 */ mflr r0 -/* 802565A0 00253500 90 01 00 74 */ stw r0, 0x74(r1) -/* 802565A4 00253504 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802565A8 00253508 7C 7F 1B 78 */ mr r31, r3 -/* 802565AC 0025350C 80 04 0C 64 */ lwz r0, 0xc64(r4) -/* 802565B0 00253510 2C 00 00 03 */ cmpwi r0, 3 -/* 802565B4 00253514 40 82 00 38 */ bne lbl_802565EC -/* 802565B8 00253518 88 04 0A 32 */ lbz r0, 0xa32(r4) -/* 802565BC 0025351C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802565C0 00253520 40 82 00 2C */ bne lbl_802565EC -/* 802565C4 00253524 38 61 00 38 */ addi r3, r1, 0x38 -/* 802565C8 00253528 38 A4 0B 90 */ addi r5, r4, 0xb90 -/* 802565CC 0025352C 4B E2 22 ED */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 802565D0 00253530 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 802565D4 00253534 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802565D8 00253538 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802565DC 0025353C D0 1F 00 00 */ stfs f0, 0(r31) -/* 802565E0 00253540 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802565E4 00253544 D0 5F 00 08 */ stfs f2, 8(r31) -/* 802565E8 00253548 48 00 00 28 */ b lbl_80256610 -lbl_802565EC: -/* 802565EC 0025354C 38 61 00 08 */ addi r3, r1, 8 -/* 802565F0 00253550 38 A4 0A 30 */ addi r5, r4, 0xa30 -/* 802565F4 00253554 4B E2 22 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 802565F8 00253558 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802565FC 0025355C C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80256600 00253560 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80256604 00253564 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80256608 00253568 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8025660C 0025356C D0 5F 00 08 */ stfs f2, 8(r31) -lbl_80256610: -/* 80256610 00253570 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80256614 00253574 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80256618 00253578 7C 08 03 A6 */ mtlr r0 -/* 8025661C 0025357C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80256620 00253580 4E 80 00 20 */ blr - -.global sub_80256624 -sub_80256624: -/* 80256624 00253584 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80256628 00253588 7C 08 02 A6 */ mflr r0 -/* 8025662C 0025358C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80256630 00253590 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 80256634 00253594 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 80256638 00253598 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8025663C 0025359C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80256640 002535A0 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80256644 002535A4 7C 7F 1B 78 */ mr r31, r3 -/* 80256648 002535A8 FF E0 08 90 */ fmr f31, f1 -/* 8025664C 002535AC 83 C3 0C E0 */ lwz r30, 0xce0(r3) -/* 80256650 002535B0 7C 9D 23 78 */ mr r29, r4 -/* 80256654 002535B4 28 1E 00 00 */ cmplwi r30, 0 -/* 80256658 002535B8 41 82 02 30 */ beq lbl_80256888 -/* 8025665C 002535BC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80256660 002535C0 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80256664 002535C4 48 0B C5 DD */ bl GetRotation__12CTransform4fCFv -/* 80256668 002535C8 7F C3 F3 78 */ mr r3, r30 -/* 8025666C 002535CC 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80256670 002535D0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256674 002535D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256678 002535D8 7D 89 03 A6 */ mtctr r12 -/* 8025667C 002535DC 4E 80 04 21 */ bctrl -/* 80256680 002535E0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80256684 002535E4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80256688 002535E8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8025668C 002535EC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80256690 002535F0 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80256694 002535F4 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80256698 002535F8 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8025669C 002535FC 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 802566A0 00253600 81 83 00 00 */ lwz r12, 0(r3) -/* 802566A4 00253604 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802566A8 00253608 7D 89 03 A6 */ mtctr r12 -/* 802566AC 0025360C 4E 80 04 21 */ bctrl -/* 802566B0 00253610 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 802566B4 00253614 38 81 00 28 */ addi r4, r1, 0x28 -/* 802566B8 00253618 C0 03 00 00 */ lfs f0, 0(r3) -/* 802566BC 0025361C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802566C0 00253620 C0 03 00 04 */ lfs f0, 4(r3) -/* 802566C4 00253624 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802566C8 00253628 C0 03 00 08 */ lfs f0, 8(r3) -/* 802566CC 0025362C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802566D0 00253630 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 802566D4 00253634 81 83 00 00 */ lwz r12, 0(r3) -/* 802566D8 00253638 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802566DC 0025363C 7D 89 03 A6 */ mtctr r12 -/* 802566E0 00253640 4E 80 04 21 */ bctrl -/* 802566E4 00253644 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 802566E8 00253648 81 83 00 00 */ lwz r12, 0(r3) -/* 802566EC 0025364C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 802566F0 00253650 7D 89 03 A6 */ mtctr r12 -/* 802566F4 00253654 4E 80 04 21 */ bctrl -/* 802566F8 00253658 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802566FC 0025365C 41 82 01 70 */ beq lbl_8025686C -/* 80256700 00253660 C0 3F 0D 08 */ lfs f1, 0xd08(r31) -/* 80256704 00253664 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80256708 00253668 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8025670C 0025366C D0 3F 0D 08 */ stfs f1, 0xd08(r31) -/* 80256710 00253670 C0 3F 0D 08 */ lfs f1, 0xd08(r31) -/* 80256714 00253674 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256718 00253678 4C 40 13 82 */ cror 2, 0, 2 -/* 8025671C 0025367C 40 82 00 44 */ bne lbl_80256760 -/* 80256720 00253680 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 80256724 00253684 38 80 00 00 */ li r4, 0 -/* 80256728 00253688 81 83 00 00 */ lwz r12, 0(r3) -/* 8025672C 0025368C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80256730 00253690 7D 89 03 A6 */ mtctr r12 -/* 80256734 00253694 4E 80 04 21 */ bctrl -/* 80256738 00253698 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 8025673C 0025369C 28 00 00 00 */ cmplwi r0, 0 -/* 80256740 002536A0 41 82 01 2C */ beq lbl_8025686C -/* 80256744 002536A4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 80256748 002536A8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025674C 002536AC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80256750 002536B0 48 09 37 35 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80256754 002536B4 38 00 00 00 */ li r0, 0 -/* 80256758 002536B8 90 1F 0D 0C */ stw r0, 0xd0c(r31) -/* 8025675C 002536BC 48 00 01 10 */ b lbl_8025686C -lbl_80256760: -/* 80256760 002536C0 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80256764 002536C4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80256768 002536C8 88 1F 0A 30 */ lbz r0, 0xa30(r31) -/* 8025676C 002536CC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80256770 002536D0 83 C4 00 10 */ lwz r30, 0x10(r4) -/* 80256774 002536D4 38 C0 00 00 */ li r6, 0 -/* 80256778 002536D8 98 01 00 0C */ stb r0, 0xc(r1) -/* 8025677C 002536DC 7F C4 F3 78 */ mr r4, r30 -/* 80256780 002536E0 4B DD 5A F5 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 80256784 002536E4 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 80256788 002536E8 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 8025678C 002536EC 88 03 01 84 */ lbz r0, 0x184(r3) -/* 80256790 002536F0 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80256794 002536F4 28 00 00 00 */ cmplwi r0, 0 -/* 80256798 002536F8 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8025679C 002536FC 40 82 00 24 */ bne lbl_802567C0 -/* 802567A0 00253700 34 83 01 78 */ addic. r4, r3, 0x178 -/* 802567A4 00253704 41 82 00 10 */ beq lbl_802567B4 -/* 802567A8 00253708 D0 04 00 00 */ stfs f0, 0(r4) -/* 802567AC 0025370C D0 24 00 04 */ stfs f1, 4(r4) -/* 802567B0 00253710 D0 44 00 08 */ stfs f2, 8(r4) -lbl_802567B4: -/* 802567B4 00253714 38 00 00 01 */ li r0, 1 -/* 802567B8 00253718 98 03 01 84 */ stb r0, 0x184(r3) -/* 802567BC 0025371C 48 00 00 10 */ b lbl_802567CC -lbl_802567C0: -/* 802567C0 00253720 D0 03 01 78 */ stfs f0, 0x178(r3) -/* 802567C4 00253724 D0 23 01 7C */ stfs f1, 0x17c(r3) -/* 802567C8 00253728 D0 43 01 80 */ stfs f2, 0x180(r3) -lbl_802567CC: -/* 802567CC 0025372C 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 802567D0 00253730 38 80 00 00 */ li r4, 0 -/* 802567D4 00253734 80 7F 0C E4 */ lwz r3, 0xce4(r31) -/* 802567D8 00253738 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 802567DC 0025373C 38 A3 FF FF */ addi r5, r3, -1 -/* 802567E0 00253740 40 82 00 0C */ bne lbl_802567EC -/* 802567E4 00253744 38 A5 FF FA */ addi r5, r5, -6 -/* 802567E8 00253748 48 00 00 08 */ b lbl_802567F0 -lbl_802567EC: -/* 802567EC 0025374C 38 85 FF F4 */ addi r4, r5, -12 -lbl_802567F0: -/* 802567F0 00253750 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 802567F4 00253754 48 0B BD A1 */ bl Range__9CRandom16Fii -/* 802567F8 00253758 7C 7F 1A 14 */ add r3, r31, r3 -/* 802567FC 0025375C 7F C4 F3 78 */ mr r4, r30 -/* 80256800 00253760 88 03 0C E8 */ lbz r0, 0xce8(r3) -/* 80256804 00253764 38 61 00 40 */ addi r3, r1, 0x40 -/* 80256808 00253768 38 A1 00 08 */ addi r5, r1, 8 -/* 8025680C 0025376C 38 C0 00 00 */ li r6, 0 -/* 80256810 00253770 98 01 00 08 */ stb r0, 8(r1) -/* 80256814 00253774 4B DD 5A 61 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 80256818 00253778 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 8025681C 0025377C C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 80256820 00253780 88 03 01 A4 */ lbz r0, 0x1a4(r3) -/* 80256824 00253784 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80256828 00253788 28 00 00 00 */ cmplwi r0, 0 -/* 8025682C 0025378C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80256830 00253790 40 82 00 24 */ bne lbl_80256854 -/* 80256834 00253794 34 83 01 98 */ addic. r4, r3, 0x198 -/* 80256838 00253798 41 82 00 10 */ beq lbl_80256848 -/* 8025683C 0025379C D0 04 00 00 */ stfs f0, 0(r4) -/* 80256840 002537A0 D0 24 00 04 */ stfs f1, 4(r4) -/* 80256844 002537A4 D0 44 00 08 */ stfs f2, 8(r4) -lbl_80256848: -/* 80256848 002537A8 38 00 00 01 */ li r0, 1 -/* 8025684C 002537AC 98 03 01 A4 */ stb r0, 0x1a4(r3) -/* 80256850 002537B0 48 00 00 10 */ b lbl_80256860 -lbl_80256854: -/* 80256854 002537B4 D0 03 01 98 */ stfs f0, 0x198(r3) -/* 80256858 002537B8 D0 23 01 9C */ stfs f1, 0x19c(r3) -/* 8025685C 002537BC D0 43 01 A0 */ stfs f2, 0x1a0(r3) -lbl_80256860: -/* 80256860 002537C0 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 80256864 002537C4 38 80 00 01 */ li r4, 1 -/* 80256868 002537C8 48 10 86 D5 */ bl ForceParticleCreation__17CParticleElectricFi -lbl_8025686C: -/* 8025686C 002537CC 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 80256870 002537D0 FC 20 F8 90 */ fmr f1, f31 -/* 80256874 002537D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80256878 002537D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025687C 002537DC 7D 89 03 A6 */ mtctr r12 -/* 80256880 002537E0 4E 80 04 21 */ bctrl -/* 80256884 002537E4 48 00 00 28 */ b lbl_802568AC -lbl_80256888: -/* 80256888 002537E8 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 8025688C 002537EC 28 00 00 00 */ cmplwi r0, 0 -/* 80256890 002537F0 41 82 00 1C */ beq lbl_802568AC -/* 80256894 002537F4 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 80256898 002537F8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025689C 002537FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802568A0 00253800 48 09 35 E5 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 802568A4 00253804 38 00 00 00 */ li r0, 0 -/* 802568A8 00253808 90 1F 0D 0C */ stw r0, 0xd0c(r31) -lbl_802568AC: -/* 802568AC 0025380C 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 802568B0 00253810 28 00 00 00 */ cmplwi r0, 0 -/* 802568B4 00253814 41 82 00 3C */ beq lbl_802568F0 -/* 802568B8 00253818 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802568BC 0025381C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802568C0 00253820 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802568C4 00253824 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 802568C8 00253828 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802568CC 0025382C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802568D0 00253830 38 81 00 1C */ addi r4, r1, 0x1c -/* 802568D4 00253834 38 C0 00 7F */ li r6, 0x7f -/* 802568D8 00253838 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802568DC 0025383C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802568E0 00253840 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 802568E4 00253844 80 1F 0D 0C */ lwz r0, 0xd0c(r31) -/* 802568E8 00253848 90 01 00 10 */ stw r0, 0x10(r1) -/* 802568EC 0025384C 48 09 35 C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_802568F0: -/* 802568F0 00253850 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802568F4 00253854 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802568F8 00253858 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802568FC 0025385C 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80256900 00253860 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80256904 00253864 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80256908 00253868 7C 08 03 A6 */ mtlr r0 -/* 8025690C 0025386C 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80256910 00253870 4E 80 00 20 */ blr - -.global sub_80256914 -sub_80256914: -/* 80256914 00253874 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80256918 00253878 7C 08 02 A6 */ mflr r0 -/* 8025691C 0025387C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80256920 00253880 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80256924 00253884 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80256928 00253888 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025692C 0025388C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80256930 00253890 7C 7E 1B 78 */ mr r30, r3 -/* 80256934 00253894 FF E0 08 90 */ fmr f31, f1 -/* 80256938 00253898 80 63 0C E0 */ lwz r3, 0xce0(r3) -/* 8025693C 0025389C 7C 9F 23 78 */ mr r31, r4 -/* 80256940 002538A0 28 03 00 00 */ cmplwi r3, 0 -/* 80256944 002538A4 41 82 00 18 */ beq lbl_8025695C -/* 80256948 002538A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025694C 002538AC 38 80 00 01 */ li r4, 1 -/* 80256950 002538B0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80256954 002538B4 7D 89 03 A6 */ mtctr r12 -/* 80256958 002538B8 4E 80 04 21 */ bctrl -lbl_8025695C: -/* 8025695C 002538BC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80256960 002538C0 41 82 00 10 */ beq lbl_80256970 -/* 80256964 002538C4 C0 02 B9 24 */ lfs f0, lbl_805AD644@sda21(r2) -/* 80256968 002538C8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8025696C 002538CC 48 00 00 08 */ b lbl_80256974 -lbl_80256970: -/* 80256970 002538D0 FC 00 F8 90 */ fmr f0, f31 -lbl_80256974: -/* 80256974 002538D4 D0 1E 0D 08 */ stfs f0, 0xd08(r30) -/* 80256978 002538D8 88 1E 0A 32 */ lbz r0, 0xa32(r30) -/* 8025697C 002538DC 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e -/* 80256980 002538E0 98 1E 0A 32 */ stb r0, 0xa32(r30) -/* 80256984 002538E4 80 1E 0D 0C */ lwz r0, 0xd0c(r30) -/* 80256988 002538E8 28 00 00 00 */ cmplwi r0, 0 -/* 8025698C 002538EC 40 82 00 C0 */ bne lbl_80256A4C -/* 80256990 002538F0 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) -/* 80256994 002538F4 39 60 00 00 */ li r11, 0 -/* 80256998 002538F8 C0 82 B9 90 */ lfs f4, lbl_805AD6B0@sda21(r2) -/* 8025699C 002538FC 39 80 00 01 */ li r12, 1 -/* 802569A0 00253900 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) -/* 802569A4 00253904 39 40 00 7F */ li r10, 0x7f -/* 802569A8 00253908 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 802569AC 0025390C 39 20 00 3F */ li r9, 0x3f -/* 802569B0 00253910 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802569B4 00253914 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802569B8 00253918 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 802569BC 0025391C A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 802569C0 00253920 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802569C4 00253924 38 61 00 08 */ addi r3, r1, 8 -/* 802569C8 00253928 C0 48 00 00 */ lfs f2, 0(r8) -/* 802569CC 0025392C 38 81 00 0C */ addi r4, r1, 0xc -/* 802569D0 00253930 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 802569D4 00253934 38 A0 00 01 */ li r5, 1 -/* 802569D8 00253938 C0 28 00 04 */ lfs f1, 4(r8) -/* 802569DC 0025393C 38 E0 00 01 */ li r7, 1 -/* 802569E0 00253940 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802569E4 00253944 C0 08 00 08 */ lfs f0, 8(r8) -/* 802569E8 00253948 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 802569EC 0025394C 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) -/* 802569F0 00253950 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 802569F4 00253954 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802569F8 00253958 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 802569FC 0025395C 91 81 00 2C */ stw r12, 0x2c(r1) -/* 80256A00 00253960 B1 61 00 30 */ sth r11, 0x30(r1) -/* 80256A04 00253964 99 41 00 32 */ stb r10, 0x32(r1) -/* 80256A08 00253968 99 21 00 33 */ stb r9, 0x33(r1) -/* 80256A0C 0025396C 99 61 00 34 */ stb r11, 0x34(r1) -/* 80256A10 00253970 98 01 00 35 */ stb r0, 0x35(r1) -/* 80256A14 00253974 C0 BE 00 60 */ lfs f5, 0x60(r30) -/* 80256A18 00253978 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 80256A1C 0025397C C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80256A20 00253980 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80256A24 00253984 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80256A28 00253988 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80256A2C 0025398C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80256A30 00253990 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80256A34 00253994 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80256A38 00253998 A0 1E 09 60 */ lhz r0, 0x960(r30) -/* 80256A3C 0025399C B0 01 00 30 */ sth r0, 0x30(r1) -/* 80256A40 002539A0 48 09 35 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 80256A44 002539A4 80 01 00 08 */ lwz r0, 8(r1) -/* 80256A48 002539A8 90 1E 0D 0C */ stw r0, 0xd0c(r30) -lbl_80256A4C: -/* 80256A4C 002539AC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80256A50 002539B0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80256A54 002539B4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80256A58 002539B8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80256A5C 002539BC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80256A60 002539C0 7C 08 03 A6 */ mtlr r0 -/* 80256A64 002539C4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80256A68 002539C8 4E 80 00 20 */ blr - -.global sub_80256a6c -sub_80256a6c: -/* 80256A6C 002539CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80256A70 002539D0 7C 08 02 A6 */ mflr r0 -/* 80256A74 002539D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80256A78 002539D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80256A7C 002539DC 7C BF 2B 78 */ mr r31, r5 -/* 80256A80 002539E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80256A84 002539E4 7C 9E 23 78 */ mr r30, r4 -/* 80256A88 002539E8 38 81 00 08 */ addi r4, r1, 8 -/* 80256A8C 002539EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80256A90 002539F0 7C 7D 1B 78 */ mr r29, r3 -/* 80256A94 002539F4 A0 03 0B 64 */ lhz r0, 0xb64(r3) -/* 80256A98 002539F8 7F C3 F3 78 */ mr r3, r30 -/* 80256A9C 002539FC B0 01 00 08 */ sth r0, 8(r1) -/* 80256AA0 00253A00 4B DF 5A D5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80256AA4 00253A04 28 03 00 00 */ cmplwi r3, 0 -/* 80256AA8 00253A08 41 82 00 2C */ beq lbl_80256AD4 -/* 80256AAC 00253A0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80256AB0 00253A10 7F C4 F3 78 */ mr r4, r30 -/* 80256AB4 00253A14 7F E5 FB 78 */ mr r5, r31 -/* 80256AB8 00253A18 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80256ABC 00253A1C 7D 89 03 A6 */ mtctr r12 -/* 80256AC0 00253A20 4E 80 04 21 */ bctrl -/* 80256AC4 00253A24 88 1D 0A 31 */ lbz r0, 0xa31(r29) -/* 80256AC8 00253A28 38 60 00 00 */ li r3, 0 -/* 80256ACC 00253A2C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80256AD0 00253A30 98 1D 0A 31 */ stb r0, 0xa31(r29) -lbl_80256AD4: -/* 80256AD4 00253A34 80 1D 0C A8 */ lwz r0, 0xca8(r29) -/* 80256AD8 00253A38 28 00 00 00 */ cmplwi r0, 0 -/* 80256ADC 00253A3C 41 82 00 1C */ beq lbl_80256AF8 -/* 80256AE0 00253A40 80 1D 0C A8 */ lwz r0, 0xca8(r29) -/* 80256AE4 00253A44 38 61 00 0C */ addi r3, r1, 0xc -/* 80256AE8 00253A48 90 01 00 0C */ stw r0, 0xc(r1) -/* 80256AEC 00253A4C 48 09 33 99 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80256AF0 00253A50 38 00 00 00 */ li r0, 0 -/* 80256AF4 00253A54 90 1D 0C A8 */ stw r0, 0xca8(r29) -lbl_80256AF8: -/* 80256AF8 00253A58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80256AFC 00253A5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80256B00 00253A60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80256B04 00253A64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80256B08 00253A68 7C 08 03 A6 */ mtlr r0 -/* 80256B0C 00253A6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80256B10 00253A70 4E 80 00 20 */ blr - -.global sub_80256b14 -sub_80256b14: -/* 80256B14 00253A74 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 80256B18 00253A78 7C 08 02 A6 */ mflr r0 -/* 80256B1C 00253A7C 90 01 01 44 */ stw r0, 0x144(r1) -/* 80256B20 00253A80 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 80256B24 00253A84 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 80256B28 00253A88 93 E1 01 2C */ stw r31, 0x12c(r1) -/* 80256B2C 00253A8C 93 C1 01 28 */ stw r30, 0x128(r1) -/* 80256B30 00253A90 93 A1 01 24 */ stw r29, 0x124(r1) -/* 80256B34 00253A94 7C 7D 1B 78 */ mr r29, r3 -/* 80256B38 00253A98 7C 9E 23 78 */ mr r30, r4 -/* 80256B3C 00253A9C A0 03 0B 64 */ lhz r0, 0xb64(r3) -/* 80256B40 00253AA0 FF E0 08 90 */ fmr f31, f1 -/* 80256B44 00253AA4 7F C3 F3 78 */ mr r3, r30 -/* 80256B48 00253AA8 38 81 00 08 */ addi r4, r1, 8 -/* 80256B4C 00253AAC B0 01 00 08 */ sth r0, 8(r1) -/* 80256B50 00253AB0 4B DF 5A 25 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80256B54 00253AB4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80256B58 00253AB8 41 82 01 F4 */ beq lbl_80256D4C -/* 80256B5C 00253ABC 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80256B60 00253AC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80256B64 00253AC4 41 82 01 E8 */ beq lbl_80256D4C -/* 80256B68 00253AC8 7F A4 EB 78 */ mr r4, r29 -/* 80256B6C 00253ACC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80256B70 00253AD0 38 BD 0B 91 */ addi r5, r29, 0xb91 -/* 80256B74 00253AD4 4B E2 1D 45 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80256B78 00253AD8 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80256B7C 00253ADC 38 81 00 88 */ addi r4, r1, 0x88 -/* 80256B80 00253AE0 48 0B BF F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80256B84 00253AE4 80 1D 0C 64 */ lwz r0, 0xc64(r29) -/* 80256B88 00253AE8 2C 00 00 03 */ cmpwi r0, 3 -/* 80256B8C 00253AEC 40 82 00 28 */ bne lbl_80256BB4 -/* 80256B90 00253AF0 7F E3 FB 78 */ mr r3, r31 -/* 80256B94 00253AF4 FC 20 F8 90 */ fmr f1, f31 -/* 80256B98 00253AF8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256B9C 00253AFC 7F C5 F3 78 */ mr r5, r30 -/* 80256BA0 00253B00 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 80256BA4 00253B04 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80256BA8 00253B08 7D 89 03 A6 */ mtctr r12 -/* 80256BAC 00253B0C 4E 80 04 21 */ bctrl -/* 80256BB0 00253B10 48 00 01 9C */ b lbl_80256D4C -lbl_80256BB4: -/* 80256BB4 00253B14 C0 41 00 F4 */ lfs f2, 0xf4(r1) -/* 80256BB8 00253B18 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80256BBC 00253B1C C0 21 01 04 */ lfs f1, 0x104(r1) -/* 80256BC0 00253B20 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80256BC4 00253B24 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 80256BC8 00253B28 38 61 00 58 */ addi r3, r1, 0x58 -/* 80256BCC 00253B2C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80256BD0 00253B30 38 81 00 3C */ addi r4, r1, 0x3c -/* 80256BD4 00253B34 38 BD 0B E4 */ addi r5, r29, 0xbe4 -/* 80256BD8 00253B38 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80256BDC 00253B3C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80256BE0 00253B40 48 0B CF 31 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80256BE4 00253B44 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80256BE8 00253B48 38 81 00 58 */ addi r4, r1, 0x58 -/* 80256BEC 00253B4C 48 0B BF 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80256BF0 00253B50 7F E3 FB 78 */ mr r3, r31 -/* 80256BF4 00253B54 FC 20 F8 90 */ fmr f1, f31 -/* 80256BF8 00253B58 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256BFC 00253B5C 7F C5 F3 78 */ mr r5, r30 -/* 80256C00 00253B60 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80256C04 00253B64 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80256C08 00253B68 7D 89 03 A6 */ mtctr r12 -/* 80256C0C 00253B6C 4E 80 04 21 */ bctrl -/* 80256C10 00253B70 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80256C14 00253B74 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80256C18 00253B78 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l -/* 80256C1C 00253B7C C1 3D 0B F0 */ lfs f9, 0xbf0(r29) -/* 80256C20 00253B80 C1 83 00 08 */ lfs f12, 8(r3) -/* 80256C24 00253B84 C1 63 00 04 */ lfs f11, 4(r3) -/* 80256C28 00253B88 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 80256C2C 00253B8C EC 4C 02 72 */ fmuls f2, f12, f9 -/* 80256C30 00253B90 C0 BD 0B F8 */ lfs f5, 0xbf8(r29) -/* 80256C34 00253B94 C1 43 00 00 */ lfs f10, 0(r3) -/* 80256C38 00253B98 EC 20 58 2A */ fadds f1, f0, f11 -/* 80256C3C 00253B9C C0 64 00 40 */ lfs f3, 0x40(r4) -/* 80256C40 00253BA0 EC 8B 01 72 */ fmuls f4, f11, f5 -/* 80256C44 00253BA4 C0 FD 0B F4 */ lfs f7, 0xbf4(r29) -/* 80256C48 00253BA8 EC 45 12 B8 */ fmsubs f2, f5, f10, f2 -/* 80256C4C 00253BAC C0 1D 0B E8 */ lfs f0, 0xbe8(r29) -/* 80256C50 00253BB0 C0 C4 00 60 */ lfs f6, 0x60(r4) -/* 80256C54 00253BB4 ED 0A 01 F2 */ fmuls f8, f10, f7 -/* 80256C58 00253BB8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80256C5C 00253BBC C0 1D 0B E4 */ lfs f0, 0xbe4(r29) -/* 80256C60 00253BC0 EC 63 50 2A */ fadds f3, f3, f10 -/* 80256C64 00253BC4 C0 BD 0B EC */ lfs f5, 0xbec(r29) -/* 80256C68 00253BC8 EC C6 60 2A */ fadds f6, f6, f12 -/* 80256C6C 00253BCC EC 87 23 38 */ fmsubs f4, f7, f12, f4 -/* 80256C70 00253BD0 EC 63 00 28 */ fsubs f3, f3, f0 -/* 80256C74 00253BD4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80256C78 00253BD8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80256C7C 00253BDC C0 E2 B9 98 */ lfs f7, lbl_805AD6B8@sda21(r2) -/* 80256C80 00253BE0 ED 09 42 F8 */ fmsubs f8, f9, f11, f8 -/* 80256C84 00253BE4 EC 46 28 28 */ fsubs f2, f6, f5 -/* 80256C88 00253BE8 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80256C8C 00253BEC EC 28 08 BA */ fmadds f1, f8, f2, f1 -/* 80256C90 00253BF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256C94 00253BF4 40 81 00 10 */ ble lbl_80256CA4 -/* 80256C98 00253BF8 C0 1D 0C 10 */ lfs f0, 0xc10(r29) -/* 80256C9C 00253BFC FC 00 00 50 */ fneg f0, f0 -/* 80256CA0 00253C00 48 00 00 08 */ b lbl_80256CA8 -lbl_80256CA4: -/* 80256CA4 00253C04 C0 1D 0C 10 */ lfs f0, 0xc10(r29) -lbl_80256CA8: -/* 80256CA8 00253C08 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80256CAC 00253C0C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80256CB0 00253C10 38 81 00 10 */ addi r4, r1, 0x10 -/* 80256CB4 00253C14 EC 07 00 32 */ fmuls f0, f7, f0 -/* 80256CB8 00253C18 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80256CBC 00253C1C 48 0B A4 3D */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80256CC0 00253C20 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80256CC4 00253C24 38 61 00 20 */ addi r3, r1, 0x20 -/* 80256CC8 00253C28 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80256CCC 00253C2C 38 81 00 48 */ addi r4, r1, 0x48 -/* 80256CD0 00253C30 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80256CD4 00253C34 38 BD 0B F0 */ addi r5, r29, 0xbf0 -/* 80256CD8 00253C38 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80256CDC 00253C3C D0 61 00 48 */ stfs f3, 0x48(r1) -/* 80256CE0 00253C40 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80256CE4 00253C44 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80256CE8 00253C48 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80256CEC 00253C4C 48 0B A5 79 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80256CF0 00253C50 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 80256CF4 00253C54 C0 5D 0C 00 */ lfs f2, 0xc00(r29) -/* 80256CF8 00253C58 C0 C1 00 20 */ lfs f6, 0x20(r1) -/* 80256CFC 00253C5C EC 02 01 32 */ fmuls f0, f2, f4 -/* 80256D00 00253C60 C0 FD 0B FC */ lfs f7, 0xbfc(r29) -/* 80256D04 00253C64 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 80256D08 00253C68 C1 1D 0C 04 */ lfs f8, 0xc04(r29) -/* 80256D0C 00253C6C EC 27 01 BA */ fmadds f1, f7, f6, f0 -/* 80256D10 00253C70 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) -/* 80256D14 00253C74 EC 68 09 7A */ fmadds f3, f8, f5, f1 -/* 80256D18 00253C78 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80256D1C 00253C7C 41 81 00 24 */ bgt lbl_80256D40 -/* 80256D20 00253C80 C0 1D 0B F4 */ lfs f0, 0xbf4(r29) -/* 80256D24 00253C84 C0 3D 0B F0 */ lfs f1, 0xbf0(r29) -/* 80256D28 00253C88 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80256D2C 00253C8C C0 5D 0B F8 */ lfs f2, 0xbf8(r29) -/* 80256D30 00253C90 EC 07 00 7A */ fmadds f0, f7, f1, f0 -/* 80256D34 00253C94 EC 08 00 BA */ fmadds f0, f8, f2, f0 -/* 80256D38 00253C98 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80256D3C 00253C9C 40 81 00 10 */ ble lbl_80256D4C -lbl_80256D40: -/* 80256D40 00253CA0 D0 DD 0B F0 */ stfs f6, 0xbf0(r29) -/* 80256D44 00253CA4 D0 9D 0B F4 */ stfs f4, 0xbf4(r29) -/* 80256D48 00253CA8 D0 BD 0B F8 */ stfs f5, 0xbf8(r29) -lbl_80256D4C: -/* 80256D4C 00253CAC 80 1D 0C A8 */ lwz r0, 0xca8(r29) -/* 80256D50 00253CB0 28 00 00 00 */ cmplwi r0, 0 -/* 80256D54 00253CB4 41 82 00 3C */ beq lbl_80256D90 -/* 80256D58 00253CB8 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80256D5C 00253CBC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80256D60 00253CC0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80256D64 00253CC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80256D68 00253CC8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80256D6C 00253CCC 38 61 00 0C */ addi r3, r1, 0xc -/* 80256D70 00253CD0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80256D74 00253CD4 38 C0 00 7F */ li r6, 0x7f -/* 80256D78 00253CD8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80256D7C 00253CDC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80256D80 00253CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80256D84 00253CE4 80 1D 0C A8 */ lwz r0, 0xca8(r29) -/* 80256D88 00253CE8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80256D8C 00253CEC 48 09 31 25 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80256D90: -/* 80256D90 00253CF0 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 80256D94 00253CF4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 80256D98 00253CF8 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 80256D9C 00253CFC 83 E1 01 2C */ lwz r31, 0x12c(r1) -/* 80256DA0 00253D00 83 C1 01 28 */ lwz r30, 0x128(r1) -/* 80256DA4 00253D04 83 A1 01 24 */ lwz r29, 0x124(r1) -/* 80256DA8 00253D08 7C 08 03 A6 */ mtlr r0 -/* 80256DAC 00253D0C 38 21 01 40 */ addi r1, r1, 0x140 -/* 80256DB0 00253D10 4E 80 00 20 */ blr - -.global sub_80256db4 -sub_80256db4: -/* 80256DB4 00253D14 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80256DB8 00253D18 7C 08 02 A6 */ mflr r0 -/* 80256DBC 00253D1C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80256DC0 00253D20 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80256DC4 00253D24 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80256DC8 00253D28 7C 9E 23 78 */ mr r30, r4 -/* 80256DCC 00253D2C 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80256DD0 00253D30 7C 7D 1B 78 */ mr r29, r3 -/* 80256DD4 00253D34 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 80256DD8 00253D38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80256DDC 00253D3C A0 63 0B 64 */ lhz r3, 0xb64(r3) -/* 80256DE0 00253D40 7C 03 00 40 */ cmplw r3, r0 -/* 80256DE4 00253D44 40 82 01 20 */ bne lbl_80256F04 -/* 80256DE8 00253D48 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80256DEC 00253D4C 3B 80 00 00 */ li r28, 0 -/* 80256DF0 00253D50 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l -/* 80256DF4 00253D54 38 60 05 50 */ li r3, 0x550 -/* 80256DF8 00253D58 38 84 00 85 */ addi r4, r4, 0x85 -/* 80256DFC 00253D5C 38 A0 00 00 */ li r5, 0 -/* 80256E00 00253D60 48 0B EA 6D */ bl __nw__FUlPCcPCc -/* 80256E04 00253D64 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80256E08 00253D68 41 82 00 D0 */ beq lbl_80256ED8 -/* 80256E0C 00253D6C 38 00 FF FF */ li r0, -1 -/* 80256E10 00253D70 38 60 00 08 */ li r3, 8 -/* 80256E14 00253D74 90 61 00 80 */ stw r3, 0x80(r1) -/* 80256E18 00253D78 7F C4 F3 78 */ mr r4, r30 -/* 80256E1C 00253D7C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80256E20 00253D80 90 01 00 84 */ stw r0, 0x84(r1) -/* 80256E24 00253D84 90 01 00 88 */ stw r0, 0x88(r1) -/* 80256E28 00253D88 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80256E2C 00253D8C 90 01 00 90 */ stw r0, 0x90(r1) -/* 80256E30 00253D90 90 01 00 94 */ stw r0, 0x94(r1) -/* 80256E34 00253D94 90 01 00 98 */ stw r0, 0x98(r1) -/* 80256E38 00253D98 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80256E3C 00253D9C 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80256E40 00253DA0 A0 BD 00 08 */ lhz r5, 8(r29) -/* 80256E44 00253DA4 B0 A1 00 30 */ sth r5, 0x30(r1) -/* 80256E48 00253DA8 80 1D 00 04 */ lwz r0, 4(r29) -/* 80256E4C 00253DAC B0 A1 00 2C */ sth r5, 0x2c(r1) -/* 80256E50 00253DB0 90 01 00 38 */ stw r0, 0x38(r1) -/* 80256E54 00253DB4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80256E58 00253DB8 4B DF 62 85 */ bl AllocateUniqueId__13CStateManagerFv -/* 80256E5C 00253DBC A0 01 00 24 */ lhz r0, 0x24(r1) -/* 80256E60 00253DC0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80256E64 00253DC4 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l -/* 80256E68 00253DC8 38 61 00 40 */ addi r3, r1, 0x40 -/* 80256E6C 00253DCC B0 01 00 28 */ sth r0, 0x28(r1) -/* 80256E70 00253DD0 38 84 00 8C */ addi r4, r4, 0x8c -/* 80256E74 00253DD4 4B DA DE 45 */ bl string_l__4rstlFPCc -/* 80256E78 00253DD8 38 01 00 28 */ addi r0, r1, 0x28 -/* 80256E7C 00253DDC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80256E80 00253DE0 90 01 00 08 */ stw r0, 8(r1) -/* 80256E84 00253DE4 38 01 00 3C */ addi r0, r1, 0x3c -/* 80256E88 00253DE8 39 03 66 70 */ addi r8, r3, skIdentity4f@l -/* 80256E8C 00253DEC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80256E90 00253DF0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80256E94 00253DF4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80256E98 00253DF8 38 C0 00 00 */ li r6, 0 -/* 80256E9C 00253DFC 3C 00 00 02 */ lis r0, 2 -/* 80256EA0 00253E00 90 61 00 10 */ stw r3, 0x10(r1) -/* 80256EA4 00253E04 7F E3 FB 78 */ mr r3, r31 -/* 80256EA8 00253E08 38 9D 0B 68 */ addi r4, r29, 0xb68 -/* 80256EAC 00253E0C 38 FD 05 CC */ addi r7, r29, 0x5cc -/* 80256EB0 00253E10 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80256EB4 00253E14 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80256EB8 00253E18 39 5D 0B 74 */ addi r10, r29, 0xb74 -/* 80256EBC 00253E1C 3B 80 00 01 */ li r28, 1 -/* 80256EC0 00253E20 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80256EC4 00253E24 38 C0 00 09 */ li r6, 9 -/* 80256EC8 00253E28 39 20 00 21 */ li r9, 0x21 -/* 80256ECC 00253E2C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80256ED0 00253E30 4B F2 1D 59 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" -/* 80256ED4 00253E34 7C 7F 1B 78 */ mr r31, r3 -lbl_80256ED8: -/* 80256ED8 00253E38 7F 80 07 75 */ extsb. r0, r28 -/* 80256EDC 00253E3C 41 82 00 0C */ beq lbl_80256EE8 -/* 80256EE0 00253E40 38 61 00 40 */ addi r3, r1, 0x40 -/* 80256EE4 00253E44 48 0E 6B FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80256EE8: -/* 80256EE8 00253E48 28 1F 00 00 */ cmplwi r31, 0 -/* 80256EEC 00253E4C 41 82 00 18 */ beq lbl_80256F04 -/* 80256EF0 00253E50 7F C3 F3 78 */ mr r3, r30 -/* 80256EF4 00253E54 7F E4 FB 78 */ mr r4, r31 -/* 80256EF8 00253E58 4B DF 5C 1D */ bl AddObject__13CStateManagerFR7CEntity -/* 80256EFC 00253E5C A0 1F 00 08 */ lhz r0, 8(r31) -/* 80256F00 00253E60 B0 1D 0B 64 */ sth r0, 0xb64(r29) -lbl_80256F04: -/* 80256F04 00253E64 A0 1D 0B 64 */ lhz r0, 0xb64(r29) -/* 80256F08 00253E68 7F C3 F3 78 */ mr r3, r30 -/* 80256F0C 00253E6C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80256F10 00253E70 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80256F14 00253E74 4B DF 56 61 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80256F18 00253E78 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80256F1C 00253E7C 41 82 01 08 */ beq lbl_80257024 -/* 80256F20 00253E80 7F A4 EB 78 */ mr r4, r29 -/* 80256F24 00253E84 38 61 00 50 */ addi r3, r1, 0x50 -/* 80256F28 00253E88 38 BD 0B 91 */ addi r5, r29, 0xb91 -/* 80256F2C 00253E8C 4B E2 19 8D */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80256F30 00253E90 7F E3 FB 78 */ mr r3, r31 -/* 80256F34 00253E94 7F C5 F3 78 */ mr r5, r30 -/* 80256F38 00253E98 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256F3C 00253E9C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80256F40 00253EA0 38 C0 00 00 */ li r6, 0 -/* 80256F44 00253EA4 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80256F48 00253EA8 7D 89 03 A6 */ mtctr r12 -/* 80256F4C 00253EAC 4E 80 04 21 */ bctrl -/* 80256F50 00253EB0 88 1D 0A 31 */ lbz r0, 0xa31(r29) -/* 80256F54 00253EB4 39 80 00 01 */ li r12, 1 -/* 80256F58 00253EB8 51 80 17 7A */ rlwimi r0, r12, 2, 0x1d, 0x1d -/* 80256F5C 00253EBC 98 1D 0A 31 */ stb r0, 0xa31(r29) -/* 80256F60 00253EC0 80 1D 0C A8 */ lwz r0, 0xca8(r29) -/* 80256F64 00253EC4 28 00 00 00 */ cmplwi r0, 0 -/* 80256F68 00253EC8 40 82 00 BC */ bne lbl_80257024 -/* 80256F6C 00253ECC C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) -/* 80256F70 00253ED0 39 60 00 00 */ li r11, 0 -/* 80256F74 00253ED4 C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) -/* 80256F78 00253ED8 39 40 00 7F */ li r10, 0x7f -/* 80256F7C 00253EDC C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) -/* 80256F80 00253EE0 39 20 00 3F */ li r9, 0x3f -/* 80256F84 00253EE4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 80256F88 00253EE8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80256F8C 00253EEC 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80256F90 00253EF0 D0 A1 00 A4 */ stfs f5, 0xa4(r1) -/* 80256F94 00253EF4 C0 46 00 00 */ lfs f2, 0(r6) -/* 80256F98 00253EF8 38 61 00 34 */ addi r3, r1, 0x34 -/* 80256F9C 00253EFC D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 80256FA0 00253F00 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80256FA4 00253F04 C0 26 00 04 */ lfs f1, 4(r6) -/* 80256FA8 00253F08 38 A0 00 01 */ li r5, 1 -/* 80256FAC 00253F0C D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 80256FB0 00253F10 38 E0 00 01 */ li r7, 1 -/* 80256FB4 00253F14 C0 06 00 08 */ lfs f0, 8(r6) -/* 80256FB8 00253F18 D0 A1 00 B0 */ stfs f5, 0xb0(r1) -/* 80256FBC 00253F1C A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) -/* 80256FC0 00253F20 D0 A1 00 B4 */ stfs f5, 0xb4(r1) -/* 80256FC4 00253F24 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) -/* 80256FC8 00253F28 D0 A1 00 B8 */ stfs f5, 0xb8(r1) -/* 80256FCC 00253F2C D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 80256FD0 00253F30 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 80256FD4 00253F34 91 81 00 C4 */ stw r12, 0xc4(r1) -/* 80256FD8 00253F38 B1 61 00 C8 */ sth r11, 0xc8(r1) -/* 80256FDC 00253F3C 99 41 00 CA */ stb r10, 0xca(r1) -/* 80256FE0 00253F40 99 21 00 CB */ stb r9, 0xcb(r1) -/* 80256FE4 00253F44 99 61 00 CC */ stb r11, 0xcc(r1) -/* 80256FE8 00253F48 98 01 00 CD */ stb r0, 0xcd(r1) -/* 80256FEC 00253F4C C0 BD 00 60 */ lfs f5, 0x60(r29) -/* 80256FF0 00253F50 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 80256FF4 00253F54 C0 7D 00 40 */ lfs f3, 0x40(r29) -/* 80256FF8 00253F58 D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 80256FFC 00253F5C D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 80257000 00253F60 D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 80257004 00253F64 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80257008 00253F68 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8025700C 00253F6C D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80257010 00253F70 A0 1D 06 10 */ lhz r0, 0x610(r29) -/* 80257014 00253F74 B0 01 00 C8 */ sth r0, 0xc8(r1) -/* 80257018 00253F78 48 09 2F C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8025701C 00253F7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80257020 00253F80 90 1D 0C A8 */ stw r0, 0xca8(r29) -lbl_80257024: -/* 80257024 00253F84 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80257028 00253F88 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8025702C 00253F8C 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80257030 00253F90 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80257034 00253F94 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 80257038 00253F98 7C 08 03 A6 */ mtlr r0 -/* 8025703C 00253F9C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80257040 00253FA0 4E 80 00 20 */ blr - -.global sub_80257044 -sub_80257044: -/* 80257044 00253FA4 94 21 FD E0 */ stwu r1, -0x220(r1) -/* 80257048 00253FA8 7C 08 02 A6 */ mflr r0 -/* 8025704C 00253FAC 90 01 02 24 */ stw r0, 0x224(r1) -/* 80257050 00253FB0 DB E1 02 10 */ stfd f31, 0x210(r1) -/* 80257054 00253FB4 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 -/* 80257058 00253FB8 BF 01 01 F0 */ stmw r24, 0x1f0(r1) -/* 8025705C 00253FBC 38 A0 00 00 */ li r5, 0 -/* 80257060 00253FC0 7C 7D 1B 78 */ mr r29, r3 -/* 80257064 00253FC4 90 A1 01 38 */ stw r5, 0x138(r1) -/* 80257068 00253FC8 7C 9E 23 78 */ mr r30, r4 -/* 8025706C 00253FCC 80 6D 97 64 */ lwz r3, lbl_805A8324@sda21(r13) -/* 80257070 00253FD0 38 8D 97 64 */ addi r4, r13, lbl_805A8324@sda21 -/* 80257074 00253FD4 80 0D 97 68 */ lwz r0, lbl_805A8328@sda21(r13) -/* 80257078 00253FD8 90 A1 01 3C */ stw r5, 0x13c(r1) -/* 8025707C 00253FDC 7C 03 00 40 */ cmplw r3, r0 -/* 80257080 00253FE0 90 A1 01 40 */ stw r5, 0x140(r1) -/* 80257084 00253FE4 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80257088 00253FE8 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8025708C 00253FEC 40 80 00 08 */ bge lbl_80257094 -/* 80257090 00253FF0 38 8D 97 68 */ addi r4, r13, lbl_805A8328@sda21 -lbl_80257094: -/* 80257094 00253FF4 80 84 00 00 */ lwz r4, 0(r4) -/* 80257098 00253FF8 38 61 01 34 */ addi r3, r1, 0x134 -/* 8025709C 00253FFC 4B EF F7 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" -/* 802570A0 00254000 80 01 01 38 */ lwz r0, 0x138(r1) -/* 802570A4 00254004 83 01 01 40 */ lwz r24, 0x140(r1) -/* 802570A8 00254008 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 802570AC 0025400C 93 01 00 44 */ stw r24, 0x44(r1) -/* 802570B0 00254010 7F 98 02 14 */ add r28, r24, r0 -/* 802570B4 00254014 93 01 00 40 */ stw r24, 0x40(r1) -/* 802570B8 00254018 93 81 00 4C */ stw r28, 0x4c(r1) -/* 802570BC 0025401C 93 81 00 48 */ stw r28, 0x48(r1) -/* 802570C0 00254020 48 00 00 20 */ b lbl_802570E0 -lbl_802570C4: -/* 802570C4 00254024 28 18 00 00 */ cmplwi r24, 0 -/* 802570C8 00254028 41 82 00 14 */ beq lbl_802570DC -/* 802570CC 0025402C 34 18 00 2C */ addic. r0, r24, 0x2c -/* 802570D0 00254030 41 82 00 0C */ beq lbl_802570DC -/* 802570D4 00254034 38 78 00 2C */ addi r3, r24, 0x2c -/* 802570D8 00254038 48 0E 6A 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802570DC: -/* 802570DC 0025403C 3B 18 00 44 */ addi r24, r24, 0x44 -lbl_802570E0: -/* 802570E0 00254040 7C 18 E0 40 */ cmplw r24, r28 -/* 802570E4 00254044 40 82 FF E0 */ bne lbl_802570C4 -/* 802570E8 00254048 38 00 00 00 */ li r0, 0 -/* 802570EC 0025404C 3C 60 80 3D */ lis r3, lbl_803D4B98@ha -/* 802570F0 00254050 3B 03 4B 98 */ addi r24, r3, lbl_803D4B98@l -/* 802570F4 00254054 90 01 01 38 */ stw r0, 0x138(r1) -/* 802570F8 00254058 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 802570FC 0025405C 3B 21 01 D0 */ addi r25, r1, 0x1d0 -/* 80257100 00254060 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l -/* 80257104 00254064 3B 40 00 00 */ li r26, 0 -lbl_80257108: -/* 80257108 00254068 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 8025710C 0025406C 38 61 01 18 */ addi r3, r1, 0x118 -/* 80257110 00254070 C0 18 00 08 */ lfs f0, 8(r24) -/* 80257114 00254074 C0 24 00 08 */ lfs f1, 8(r4) -/* 80257118 00254078 C0 64 00 00 */ lfs f3, 0(r4) -/* 8025711C 0025407C C0 44 00 04 */ lfs f2, 4(r4) -/* 80257120 00254080 EF E0 00 72 */ fmuls f31, f0, f1 -/* 80257124 00254084 D0 61 01 28 */ stfs f3, 0x128(r1) -/* 80257128 00254088 80 98 00 00 */ lwz r4, 0(r24) -/* 8025712C 0025408C D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 80257130 00254090 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 80257134 00254094 4B DA DB 85 */ bl string_l__4rstlFPCc -/* 80257138 00254098 80 98 00 04 */ lwz r4, 4(r24) -/* 8025713C 0025409C 38 61 01 08 */ addi r3, r1, 0x108 -/* 80257140 002540A0 4B DA DB 79 */ bl string_l__4rstlFPCc -/* 80257144 002540A4 38 61 00 EC */ addi r3, r1, 0xec -/* 80257148 002540A8 38 9C 00 8D */ addi r4, r28, 0x8d -/* 8025714C 002540AC 4B DA DB 6D */ bl string_l__4rstlFPCc -/* 80257150 002540B0 38 61 00 DC */ addi r3, r1, 0xdc -/* 80257154 002540B4 38 9D 00 10 */ addi r4, r29, 0x10 -/* 80257158 002540B8 38 A1 00 EC */ addi r5, r1, 0xec -/* 8025715C 002540BC 4B DA DB 01 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80257160 002540C0 80 98 00 00 */ lwz r4, 0(r24) -/* 80257164 002540C4 38 61 00 CC */ addi r3, r1, 0xcc -/* 80257168 002540C8 4B DA DB 51 */ bl string_l__4rstlFPCc -/* 8025716C 002540CC 38 61 00 BC */ addi r3, r1, 0xbc -/* 80257170 002540D0 38 81 00 DC */ addi r4, r1, 0xdc -/* 80257174 002540D4 38 A1 00 CC */ addi r5, r1, 0xcc -/* 80257178 002540D8 4B DA DA E5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025717C 002540DC D3 E1 00 FC */ stfs f31, 0xfc(r1) -/* 80257180 002540E0 7F E4 FB 78 */ mr r4, r31 -/* 80257184 002540E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80257188 002540E8 38 A1 01 08 */ addi r5, r1, 0x108 -/* 8025718C 002540EC D3 E1 01 00 */ stfs f31, 0x100(r1) -/* 80257190 002540F0 D3 E1 01 04 */ stfs f31, 0x104(r1) -/* 80257194 002540F4 4B DD 76 A5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80257198 002540F8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8025719C 002540FC 7F E4 FB 78 */ mr r4, r31 -/* 802571A0 00254100 38 61 00 18 */ addi r3, r1, 0x18 -/* 802571A4 00254104 38 A1 01 18 */ addi r5, r1, 0x118 -/* 802571A8 00254108 98 01 00 14 */ stb r0, 0x14(r1) -/* 802571AC 0025410C 4B DD 76 8D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802571B0 00254110 88 01 00 18 */ lbz r0, 0x18(r1) -/* 802571B4 00254114 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 802571B8 00254118 C0 22 B9 2C */ lfs f1, lbl_805AD64C@sda21(r2) -/* 802571BC 0025411C 38 81 00 1C */ addi r4, r1, 0x1c -/* 802571C0 00254120 98 01 00 1C */ stb r0, 0x1c(r1) -/* 802571C4 00254124 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802571C8 00254128 38 C1 00 FC */ addi r6, r1, 0xfc -/* 802571CC 0025412C 39 01 00 BC */ addi r8, r1, 0xbc -/* 802571D0 00254130 38 E0 00 01 */ li r7, 1 -/* 802571D4 00254134 4B F5 14 01 */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 802571D8 00254138 38 61 01 34 */ addi r3, r1, 0x134 -/* 802571DC 0025413C 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 802571E0 00254140 4B EF F0 51 */ bl sub_80156230 -/* 802571E4 00254144 28 19 00 00 */ cmplwi r25, 0 -/* 802571E8 00254148 41 82 00 0C */ beq lbl_802571F4 -/* 802571EC 0025414C 7F 23 CB 78 */ mr r3, r25 -/* 802571F0 00254150 48 0E 68 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802571F4: -/* 802571F4 00254154 38 61 00 BC */ addi r3, r1, 0xbc -/* 802571F8 00254158 48 0E 68 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802571FC 0025415C 38 61 00 CC */ addi r3, r1, 0xcc -/* 80257200 00254160 48 0E 68 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80257204 00254164 38 61 00 DC */ addi r3, r1, 0xdc -/* 80257208 00254168 48 0E 68 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025720C 0025416C 38 61 00 EC */ addi r3, r1, 0xec -/* 80257210 00254170 48 0E 68 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80257214 00254174 38 61 01 08 */ addi r3, r1, 0x108 -/* 80257218 00254178 48 0E 68 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025721C 0025417C 38 61 01 18 */ addi r3, r1, 0x118 -/* 80257220 00254180 48 0E 68 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80257224 00254184 3B 5A 00 01 */ addi r26, r26, 1 -/* 80257228 00254188 3B 18 00 0C */ addi r24, r24, 0xc -/* 8025722C 0025418C 28 1A 00 04 */ cmplwi r26, 4 -/* 80257230 00254190 41 80 FE D8 */ blt lbl_80257108 -/* 80257234 00254194 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 80257238 00254198 38 60 00 18 */ li r3, 0x18 -/* 8025723C 0025419C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 80257240 002541A0 38 A0 00 00 */ li r5, 0 -/* 80257244 002541A4 38 84 00 85 */ addi r4, r4, 0x85 -/* 80257248 002541A8 48 0B E6 25 */ bl __nw__FUlPCcPCc -/* 8025724C 002541AC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80257250 002541B0 41 82 00 38 */ beq lbl_80257288 -/* 80257254 002541B4 81 3D 00 04 */ lwz r9, 4(r29) -/* 80257258 002541B8 7F C4 F3 78 */ mr r4, r30 -/* 8025725C 002541BC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80257260 002541C0 38 C1 00 5C */ addi r6, r1, 0x5c -/* 80257264 002541C4 91 21 00 5C */ stw r9, 0x5c(r1) -/* 80257268 002541C8 38 E1 01 34 */ addi r7, r1, 0x134 -/* 8025726C 002541CC 39 00 00 00 */ li r8, 0 -/* 80257270 002541D0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80257274 002541D4 91 21 00 58 */ stw r9, 0x58(r1) -/* 80257278 002541D8 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8025727C 002541DC B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80257280 002541E0 4B F5 06 B1 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 80257284 002541E4 7C 7C 1B 78 */ mr r28, r3 -lbl_80257288: -/* 80257288 002541E8 80 7D 09 80 */ lwz r3, 0x980(r29) -/* 8025728C 002541EC 38 80 00 01 */ li r4, 1 -/* 80257290 002541F0 4B F5 06 4D */ bl sub_801a78dc -/* 80257294 002541F4 93 9D 09 80 */ stw r28, 0x980(r29) -/* 80257298 002541F8 80 01 01 38 */ lwz r0, 0x138(r1) -/* 8025729C 002541FC 83 01 01 40 */ lwz r24, 0x140(r1) -/* 802572A0 00254200 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 802572A4 00254204 93 01 00 34 */ stw r24, 0x34(r1) -/* 802572A8 00254208 7F 98 02 14 */ add r28, r24, r0 -/* 802572AC 0025420C 93 01 00 30 */ stw r24, 0x30(r1) -/* 802572B0 00254210 93 81 00 3C */ stw r28, 0x3c(r1) -/* 802572B4 00254214 93 81 00 38 */ stw r28, 0x38(r1) -/* 802572B8 00254218 48 00 00 20 */ b lbl_802572D8 -lbl_802572BC: -/* 802572BC 0025421C 28 18 00 00 */ cmplwi r24, 0 -/* 802572C0 00254220 41 82 00 14 */ beq lbl_802572D4 -/* 802572C4 00254224 34 18 00 2C */ addic. r0, r24, 0x2c -/* 802572C8 00254228 41 82 00 0C */ beq lbl_802572D4 -/* 802572CC 0025422C 38 78 00 2C */ addi r3, r24, 0x2c -/* 802572D0 00254230 48 0E 68 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802572D4: -/* 802572D4 00254234 3B 18 00 44 */ addi r24, r24, 0x44 -lbl_802572D8: -/* 802572D8 00254238 7C 18 E0 40 */ cmplw r24, r28 -/* 802572DC 0025423C 40 82 FF E0 */ bne lbl_802572BC -/* 802572E0 00254240 3B 40 00 00 */ li r26, 0 -/* 802572E4 00254244 3C 60 80 3D */ lis r3, lbl_803D4BC8@ha -/* 802572E8 00254248 3B 03 4B C8 */ addi r24, r3, lbl_803D4BC8@l -/* 802572EC 0025424C 93 41 01 38 */ stw r26, 0x138(r1) -/* 802572F0 00254250 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 802572F4 00254254 3B 21 01 8C */ addi r25, r1, 0x18c -/* 802572F8 00254258 3B 83 4D 5C */ addi r28, r3, lbl_803D4D5C@l -lbl_802572FC: -/* 802572FC 0025425C 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80257300 00254260 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80257304 00254264 C0 18 00 04 */ lfs f0, 4(r24) -/* 80257308 00254268 C0 24 00 08 */ lfs f1, 8(r4) -/* 8025730C 0025426C C0 64 00 00 */ lfs f3, 0(r4) -/* 80257310 00254270 C0 44 00 04 */ lfs f2, 4(r4) -/* 80257314 00254274 EF E0 00 72 */ fmuls f31, f0, f1 -/* 80257318 00254278 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 8025731C 0025427C 80 98 00 00 */ lwz r4, 0(r24) -/* 80257320 00254280 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80257324 00254284 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80257328 00254288 4B DA D9 91 */ bl string_l__4rstlFPCc -/* 8025732C 0025428C 38 61 00 90 */ addi r3, r1, 0x90 -/* 80257330 00254290 38 9C 00 8D */ addi r4, r28, 0x8d -/* 80257334 00254294 4B DA D9 85 */ bl string_l__4rstlFPCc -/* 80257338 00254298 38 61 00 80 */ addi r3, r1, 0x80 -/* 8025733C 0025429C 38 9D 00 10 */ addi r4, r29, 0x10 -/* 80257340 002542A0 38 A1 00 90 */ addi r5, r1, 0x90 -/* 80257344 002542A4 4B DA D9 19 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80257348 002542A8 80 98 00 00 */ lwz r4, 0(r24) -/* 8025734C 002542AC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80257350 002542B0 4B DA D9 69 */ bl string_l__4rstlFPCc -/* 80257354 002542B4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80257358 002542B8 38 81 00 80 */ addi r4, r1, 0x80 -/* 8025735C 002542BC 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80257360 002542C0 4B DA D8 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80257364 002542C4 7F E4 FB 78 */ mr r4, r31 -/* 80257368 002542C8 38 61 00 08 */ addi r3, r1, 8 -/* 8025736C 002542CC 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 80257370 002542D0 4B DD 74 C9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80257374 002542D4 88 01 00 08 */ lbz r0, 8(r1) -/* 80257378 002542D8 FC 20 F8 90 */ fmr f1, f31 -/* 8025737C 002542DC C0 42 B9 2C */ lfs f2, lbl_805AD64C@sda21(r2) -/* 80257380 002542E0 38 61 01 60 */ addi r3, r1, 0x160 -/* 80257384 002542E4 98 01 00 0C */ stb r0, 0xc(r1) -/* 80257388 002542E8 38 81 00 0C */ addi r4, r1, 0xc -/* 8025738C 002542EC 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80257390 002542F0 4B F5 14 7D */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 80257394 002542F4 38 61 01 34 */ addi r3, r1, 0x134 -/* 80257398 002542F8 38 81 01 60 */ addi r4, r1, 0x160 -/* 8025739C 002542FC 4B EF EE 95 */ bl sub_80156230 -/* 802573A0 00254300 28 19 00 00 */ cmplwi r25, 0 -/* 802573A4 00254304 41 82 00 0C */ beq lbl_802573B0 -/* 802573A8 00254308 7F 23 CB 78 */ mr r3, r25 -/* 802573AC 0025430C 48 0E 67 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802573B0: -/* 802573B0 00254310 38 61 00 60 */ addi r3, r1, 0x60 -/* 802573B4 00254314 48 0E 67 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802573B8 00254318 38 61 00 70 */ addi r3, r1, 0x70 -/* 802573BC 0025431C 48 0E 67 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802573C0 00254320 38 61 00 80 */ addi r3, r1, 0x80 -/* 802573C4 00254324 48 0E 67 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802573C8 00254328 38 61 00 90 */ addi r3, r1, 0x90 -/* 802573CC 0025432C 48 0E 67 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802573D0 00254330 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802573D4 00254334 48 0E 67 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802573D8 00254338 3B 5A 00 01 */ addi r26, r26, 1 -/* 802573DC 0025433C 3B 18 00 08 */ addi r24, r24, 8 -/* 802573E0 00254340 28 1A 00 0A */ cmplwi r26, 0xa -/* 802573E4 00254344 41 80 FF 18 */ blt lbl_802572FC -/* 802573E8 00254348 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 802573EC 0025434C 38 60 00 18 */ li r3, 0x18 -/* 802573F0 00254350 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 802573F4 00254354 38 A0 00 00 */ li r5, 0 -/* 802573F8 00254358 38 84 00 85 */ addi r4, r4, 0x85 -/* 802573FC 0025435C 48 0B E4 71 */ bl __nw__FUlPCcPCc -/* 80257400 00254360 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80257404 00254364 41 82 00 38 */ beq lbl_8025743C -/* 80257408 00254368 81 3D 00 04 */ lwz r9, 4(r29) -/* 8025740C 0025436C 7F C4 F3 78 */ mr r4, r30 -/* 80257410 00254370 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80257414 00254374 38 C1 00 54 */ addi r6, r1, 0x54 -/* 80257418 00254378 91 21 00 54 */ stw r9, 0x54(r1) -/* 8025741C 0025437C 38 E1 01 34 */ addi r7, r1, 0x134 -/* 80257420 00254380 39 00 00 00 */ li r8, 0 -/* 80257424 00254384 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80257428 00254388 91 21 00 50 */ stw r9, 0x50(r1) -/* 8025742C 0025438C B0 01 00 20 */ sth r0, 0x20(r1) -/* 80257430 00254390 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80257434 00254394 4B F5 04 FD */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 80257438 00254398 7C 7C 1B 78 */ mr r28, r3 -lbl_8025743C: -/* 8025743C 0025439C 80 7D 09 84 */ lwz r3, 0x984(r29) -/* 80257440 002543A0 38 80 00 01 */ li r4, 1 -/* 80257444 002543A4 4B F5 04 99 */ bl sub_801a78dc -/* 80257448 002543A8 93 9D 09 84 */ stw r28, 0x984(r29) -/* 8025744C 002543AC 38 80 00 03 */ li r4, 3 -/* 80257450 002543B0 80 7D 09 84 */ lwz r3, 0x984(r29) -/* 80257454 002543B4 4B F4 FD E5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 80257458 002543B8 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8025745C 002543BC 38 80 00 02 */ li r4, 2 -/* 80257460 002543C0 B0 1D 09 88 */ sth r0, 0x988(r29) -/* 80257464 002543C4 80 7D 09 84 */ lwz r3, 0x984(r29) -/* 80257468 002543C8 4B F4 FD D1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8025746C 002543CC A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 80257470 002543D0 7F A3 EB 78 */ mr r3, r29 -/* 80257474 002543D4 7F C4 F3 78 */ mr r4, r30 -/* 80257478 002543D8 B0 1D 09 8A */ sth r0, 0x98a(r29) -/* 8025747C 002543DC 48 00 04 D9 */ bl sub_80257954 -/* 80257480 002543E0 7F A3 EB 78 */ mr r3, r29 -/* 80257484 002543E4 4B DF C4 39 */ bl GetMaterialFilter__6CActorCFv -/* 80257488 002543E8 83 83 00 00 */ lwz r28, 0(r3) -/* 8025748C 002543EC 83 E3 00 04 */ lwz r31, 4(r3) -/* 80257490 002543F0 7F A3 EB 78 */ mr r3, r29 -/* 80257494 002543F4 4B DF C4 29 */ bl GetMaterialFilter__6CActorCFv -/* 80257498 002543F8 80 AD 97 6C */ lwz r5, lbl_805A832C@sda21(r13) -/* 8025749C 002543FC 38 80 00 01 */ li r4, 1 -/* 802574A0 00254400 83 63 00 08 */ lwz r27, 8(r3) -/* 802574A4 00254404 83 43 00 0C */ lwz r26, 0xc(r3) -/* 802574A8 00254408 38 60 00 00 */ li r3, 0 -/* 802574AC 0025440C 48 13 2A 49 */ bl __shl2i -/* 802574B0 00254410 80 AD 97 70 */ lwz r5, lbl_805A8330@sda21(r13) -/* 802574B4 00254414 7C 98 23 78 */ mr r24, r4 -/* 802574B8 00254418 7C 79 1B 78 */ mr r25, r3 -/* 802574BC 0025441C 38 60 00 00 */ li r3, 0 -/* 802574C0 00254420 38 80 00 01 */ li r4, 1 -/* 802574C4 00254424 48 13 2A 31 */ bl __shl2i -/* 802574C8 00254428 80 AD 97 74 */ lwz r5, lbl_805A8334@sda21(r13) -/* 802574CC 0025442C 7F 18 23 78 */ or r24, r24, r4 -/* 802574D0 00254430 7F 39 1B 78 */ or r25, r25, r3 -/* 802574D4 00254434 38 60 00 00 */ li r3, 0 -/* 802574D8 00254438 38 80 00 01 */ li r4, 1 -/* 802574DC 0025443C 48 13 2A 19 */ bl __shl2i -/* 802574E0 00254440 80 AD 97 78 */ lwz r5, lbl_805A8338@sda21(r13) -/* 802574E4 00254444 7F 18 23 78 */ or r24, r24, r4 -/* 802574E8 00254448 7F 39 1B 78 */ or r25, r25, r3 -/* 802574EC 0025444C 38 60 00 00 */ li r3, 0 -/* 802574F0 00254450 38 80 00 01 */ li r4, 1 -/* 802574F4 00254454 48 13 2A 01 */ bl __shl2i -/* 802574F8 00254458 80 AD 97 7C */ lwz r5, lbl_805A833C@sda21(r13) -/* 802574FC 0025445C 7F 18 23 78 */ or r24, r24, r4 -/* 80257500 00254460 7F 39 1B 78 */ or r25, r25, r3 -/* 80257504 00254464 38 60 00 00 */ li r3, 0 -/* 80257508 00254468 38 80 00 01 */ li r4, 1 -/* 8025750C 0025446C 48 13 29 E9 */ bl __shl2i -/* 80257510 00254470 7F 18 23 78 */ or r24, r24, r4 -/* 80257514 00254474 7F 39 1B 78 */ or r25, r25, r3 -/* 80257518 00254478 7F 04 C0 F8 */ nor r4, r24, r24 -/* 8025751C 0025447C 38 00 00 03 */ li r0, 3 -/* 80257520 00254480 7F 23 C8 F8 */ nor r3, r25, r25 -/* 80257524 00254484 7F 5A C3 78 */ or r26, r26, r24 -/* 80257528 00254488 7F FF 20 38 */ and r31, r31, r4 -/* 8025752C 0025448C 7F 7B CB 78 */ or r27, r27, r25 -/* 80257530 00254490 7F 9C 18 38 */ and r28, r28, r3 -/* 80257534 00254494 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 80257538 00254498 7F A3 EB 78 */ mr r3, r29 -/* 8025753C 0025449C 38 81 01 48 */ addi r4, r1, 0x148 -/* 80257540 002544A0 93 81 01 48 */ stw r28, 0x148(r1) -/* 80257544 002544A4 93 41 01 54 */ stw r26, 0x154(r1) -/* 80257548 002544A8 93 61 01 50 */ stw r27, 0x150(r1) -/* 8025754C 002544AC 90 01 01 58 */ stw r0, 0x158(r1) -/* 80257550 002544B0 4B DF C3 51 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80257554 002544B4 7F A3 EB 78 */ mr r3, r29 -/* 80257558 002544B8 7F C5 F3 78 */ mr r5, r30 -/* 8025755C 002544BC 38 80 00 12 */ li r4, 0x12 -/* 80257560 002544C0 4B DF CD F1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80257564 002544C4 38 61 01 34 */ addi r3, r1, 0x134 -/* 80257568 002544C8 38 80 FF FF */ li r4, -1 -/* 8025756C 002544CC 4B EF ED C1 */ bl sub_8015632c -/* 80257570 002544D0 E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 -/* 80257574 002544D4 CB E1 02 10 */ lfd f31, 0x210(r1) -/* 80257578 002544D8 BB 01 01 F0 */ lmw r24, 0x1f0(r1) -/* 8025757C 002544DC 80 01 02 24 */ lwz r0, 0x224(r1) -/* 80257580 002544E0 7C 08 03 A6 */ mtlr r0 -/* 80257584 002544E4 38 21 02 20 */ addi r1, r1, 0x220 -/* 80257588 002544E8 4E 80 00 20 */ blr - -.global sub_8025758c -sub_8025758c: -/* 8025758C 002544EC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80257590 002544F0 7C 08 02 A6 */ mflr r0 -/* 80257594 002544F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80257598 002544F8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8025759C 002544FC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802575A0 00254500 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802575A4 00254504 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802575A8 00254508 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802575AC 0025450C 93 81 00 20 */ stw r28, 0x20(r1) -/* 802575B0 00254510 FF E0 08 90 */ fmr f31, f1 -/* 802575B4 00254514 7C 7C 1B 78 */ mr r28, r3 -/* 802575B8 00254518 7C 9D 23 78 */ mr r29, r4 -/* 802575BC 0025451C 3B C0 00 00 */ li r30, 0 -/* 802575C0 00254520 48 00 00 58 */ b lbl_80257618 -lbl_802575C4: -/* 802575C4 00254524 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 802575C8 00254528 7F C4 F3 78 */ mr r4, r30 -/* 802575CC 0025452C 4B F4 FC 6D */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 802575D0 00254530 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 802575D4 00254534 7F A3 EB 78 */ mr r3, r29 -/* 802575D8 00254538 38 81 00 08 */ addi r4, r1, 8 -/* 802575DC 0025453C B0 01 00 0C */ sth r0, 0xc(r1) -/* 802575E0 00254540 B0 01 00 08 */ sth r0, 8(r1) -/* 802575E4 00254544 4B DF 4F 91 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802575E8 00254548 7C 64 1B 78 */ mr r4, r3 -/* 802575EC 0025454C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802575F0 00254550 4B E5 7D 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802575F4 00254554 83 E3 00 04 */ lwz r31, 4(r3) -/* 802575F8 00254558 28 1F 00 00 */ cmplwi r31, 0 -/* 802575FC 0025455C 41 82 00 18 */ beq lbl_80257614 -/* 80257600 00254560 7F E3 FB 78 */ mr r3, r31 -/* 80257604 00254564 4B F5 15 79 */ bl GetSphereRadius__15CCollisionActorCFv -/* 80257608 00254568 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8025760C 0025456C 7F E3 FB 78 */ mr r3, r31 -/* 80257610 00254570 4B F5 15 11 */ bl sub_801a8b20 -lbl_80257614: -/* 80257614 00254574 3B DE 00 01 */ addi r30, r30, 1 -lbl_80257618: -/* 80257618 00254578 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 8025761C 0025457C 4B F4 FC 2D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 80257620 00254580 7C 1E 18 40 */ cmplw r30, r3 -/* 80257624 00254584 41 80 FF A0 */ blt lbl_802575C4 -/* 80257628 00254588 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8025762C 0025458C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80257630 00254590 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80257634 00254594 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257638 00254598 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025763C 0025459C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80257640 002545A0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80257644 002545A4 7C 08 03 A6 */ mtlr r0 -/* 80257648 002545A8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025764C 002545AC 4E 80 00 20 */ blr - -.global sub_80257650 -sub_80257650: -/* 80257650 002545B0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80257654 002545B4 7C 08 02 A6 */ mflr r0 -/* 80257658 002545B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025765C 002545BC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80257660 002545C0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80257664 002545C4 3B C0 00 00 */ li r30, 0 -/* 80257668 002545C8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8025766C 002545CC 7C 9D 23 78 */ mr r29, r4 -/* 80257670 002545D0 93 81 00 20 */ stw r28, 0x20(r1) -/* 80257674 002545D4 7C 7C 1B 78 */ mr r28, r3 -/* 80257678 002545D8 48 00 00 80 */ b lbl_802576F8 -lbl_8025767C: -/* 8025767C 002545DC 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 80257680 002545E0 7F C4 F3 78 */ mr r4, r30 -/* 80257684 002545E4 4B F4 FB B5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 80257688 002545E8 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8025768C 002545EC 7F A3 EB 78 */ mr r3, r29 -/* 80257690 002545F0 38 81 00 08 */ addi r4, r1, 8 -/* 80257694 002545F4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80257698 002545F8 B0 01 00 08 */ sth r0, 8(r1) -/* 8025769C 002545FC 4B DF 4E D9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802576A0 00254600 7C 64 1B 78 */ mr r4, r3 -/* 802576A4 00254604 38 61 00 10 */ addi r3, r1, 0x10 -/* 802576A8 00254608 4B E5 7C A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802576AC 0025460C 83 E3 00 04 */ lwz r31, 4(r3) -/* 802576B0 00254610 28 1F 00 00 */ cmplwi r31, 0 -/* 802576B4 00254614 41 82 00 40 */ beq lbl_802576F4 -/* 802576B8 00254618 3C 80 80 57 */ lis r4, lbl_8056D718@ha -/* 802576BC 0025461C 7F E3 FB 78 */ mr r3, r31 -/* 802576C0 00254620 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l -/* 802576C4 00254624 4B F5 14 D5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 802576C8 00254628 7F E3 FB 78 */ mr r3, r31 -/* 802576CC 0025462C 7F A4 EB 78 */ mr r4, r29 -/* 802576D0 00254630 81 9F 00 00 */ lwz r12, 0(r31) -/* 802576D4 00254634 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802576D8 00254638 7D 89 03 A6 */ mtctr r12 -/* 802576DC 0025463C 4E 80 04 21 */ bctrl -/* 802576E0 00254640 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 802576E4 00254644 38 80 00 01 */ li r4, 1 -/* 802576E8 00254648 D0 03 00 00 */ stfs f0, 0(r3) -/* 802576EC 0025464C 7F E3 FB 78 */ mr r3, r31 -/* 802576F0 00254650 4B DF B6 7D */ bl CreateShadow__6CActorFb -lbl_802576F4: -/* 802576F4 00254654 3B DE 00 01 */ addi r30, r30, 1 -lbl_802576F8: -/* 802576F8 00254658 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 802576FC 0025465C 4B F4 FB 4D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 80257700 00254660 7C 1E 18 40 */ cmplw r30, r3 -/* 80257704 00254664 41 80 FF 78 */ blt lbl_8025767C -/* 80257708 00254668 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 8025770C 0025466C 38 60 00 00 */ li r3, 0 -/* 80257710 00254670 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80257714 00254674 98 1C 0A 32 */ stb r0, 0xa32(r28) -/* 80257718 00254678 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 8025771C 0025467C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80257720 00254680 98 1C 0A 31 */ stb r0, 0xa31(r28) -/* 80257724 00254684 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257728 00254688 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025772C 0025468C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80257730 00254690 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80257734 00254694 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80257738 00254698 7C 08 03 A6 */ mtlr r0 -/* 8025773C 0025469C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80257740 002546A0 4E 80 00 20 */ blr - -.global sub_80257744 -sub_80257744: -/* 80257744 002546A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80257748 002546A8 7C 08 02 A6 */ mflr r0 -/* 8025774C 002546AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80257750 002546B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80257754 002546B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80257758 002546B8 3B C0 00 00 */ li r30, 0 -/* 8025775C 002546BC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80257760 002546C0 7C 9D 23 78 */ mr r29, r4 -/* 80257764 002546C4 93 81 00 20 */ stw r28, 0x20(r1) -/* 80257768 002546C8 7C 7C 1B 78 */ mr r28, r3 -/* 8025776C 002546CC 48 00 00 90 */ b lbl_802577FC -lbl_80257770: -/* 80257770 002546D0 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 80257774 002546D4 7F C4 F3 78 */ mr r4, r30 -/* 80257778 002546D8 4B F4 FA C1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8025777C 002546DC A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 80257780 002546E0 7F A3 EB 78 */ mr r3, r29 -/* 80257784 002546E4 38 81 00 08 */ addi r4, r1, 8 -/* 80257788 002546E8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025778C 002546EC B0 01 00 08 */ sth r0, 8(r1) -/* 80257790 002546F0 4B DF 4D E5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80257794 002546F4 7C 64 1B 78 */ mr r4, r3 -/* 80257798 002546F8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025779C 002546FC 4B E5 7B B1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802577A0 00254700 83 E3 00 04 */ lwz r31, 4(r3) -/* 802577A4 00254704 28 1F 00 00 */ cmplwi r31, 0 -/* 802577A8 00254708 41 82 00 50 */ beq lbl_802577F8 -/* 802577AC 0025470C 28 1E 00 02 */ cmplwi r30, 2 -/* 802577B0 00254710 3C 60 80 57 */ lis r3, lbl_8056D718@ha -/* 802577B4 00254714 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l -/* 802577B8 00254718 7F E3 FB 78 */ mr r3, r31 -/* 802577BC 0025471C 40 82 00 0C */ bne lbl_802577C8 -/* 802577C0 00254720 3C 80 80 57 */ lis r4, lbl_80572544@ha -/* 802577C4 00254724 38 84 25 44 */ addi r4, r4, lbl_80572544@l -lbl_802577C8: -/* 802577C8 00254728 4B F5 13 D1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 802577CC 0025472C 7F E3 FB 78 */ mr r3, r31 -/* 802577D0 00254730 7F A4 EB 78 */ mr r4, r29 -/* 802577D4 00254734 81 9F 00 00 */ lwz r12, 0(r31) -/* 802577D8 00254738 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802577DC 0025473C 7D 89 03 A6 */ mtctr r12 -/* 802577E0 00254740 4E 80 04 21 */ bctrl -/* 802577E4 00254744 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 802577E8 00254748 38 80 00 01 */ li r4, 1 -/* 802577EC 0025474C D0 03 00 00 */ stfs f0, 0(r3) -/* 802577F0 00254750 7F E3 FB 78 */ mr r3, r31 -/* 802577F4 00254754 4B DF B5 79 */ bl CreateShadow__6CActorFb -lbl_802577F8: -/* 802577F8 00254758 3B DE 00 01 */ addi r30, r30, 1 -lbl_802577FC: -/* 802577FC 0025475C 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 80257800 00254760 4B F4 FA 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 80257804 00254764 7C 1E 18 40 */ cmplw r30, r3 -/* 80257808 00254768 41 80 FF 68 */ blt lbl_80257770 -/* 8025780C 0025476C 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 80257810 00254770 38 60 00 00 */ li r3, 0 -/* 80257814 00254774 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80257818 00254778 38 60 00 01 */ li r3, 1 -/* 8025781C 0025477C 98 1C 0A 32 */ stb r0, 0xa32(r28) -/* 80257820 00254780 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 80257824 00254784 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80257828 00254788 98 1C 0A 31 */ stb r0, 0xa31(r28) -/* 8025782C 0025478C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257830 00254790 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80257834 00254794 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80257838 00254798 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8025783C 0025479C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80257840 002547A0 7C 08 03 A6 */ mtlr r0 -/* 80257844 002547A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80257848 002547A8 4E 80 00 20 */ blr - -.global sub_8025784c -sub_8025784c: -/* 8025784C 002547AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80257850 002547B0 7C 08 02 A6 */ mflr r0 -/* 80257854 002547B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80257858 002547B8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025785C 002547BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80257860 002547C0 3B C0 00 00 */ li r30, 0 -/* 80257864 002547C4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80257868 002547C8 7C 9D 23 78 */ mr r29, r4 -/* 8025786C 002547CC 93 81 00 20 */ stw r28, 0x20(r1) -/* 80257870 002547D0 7C 7C 1B 78 */ mr r28, r3 -/* 80257874 002547D4 48 00 00 90 */ b lbl_80257904 -lbl_80257878: -/* 80257878 002547D8 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 8025787C 002547DC 7F C4 F3 78 */ mr r4, r30 -/* 80257880 002547E0 4B F4 F9 B9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 80257884 002547E4 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 80257888 002547E8 7F A3 EB 78 */ mr r3, r29 -/* 8025788C 002547EC 38 81 00 08 */ addi r4, r1, 8 -/* 80257890 002547F0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80257894 002547F4 B0 01 00 08 */ sth r0, 8(r1) -/* 80257898 002547F8 4B DF 4C DD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025789C 002547FC 7C 64 1B 78 */ mr r4, r3 -/* 802578A0 00254800 38 61 00 10 */ addi r3, r1, 0x10 -/* 802578A4 00254804 4B E5 7A A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802578A8 00254808 83 E3 00 04 */ lwz r31, 4(r3) -/* 802578AC 0025480C 28 1F 00 00 */ cmplwi r31, 0 -/* 802578B0 00254810 41 82 00 50 */ beq lbl_80257900 -/* 802578B4 00254814 28 1E 00 03 */ cmplwi r30, 3 -/* 802578B8 00254818 3C 60 80 57 */ lis r3, lbl_8056D718@ha -/* 802578BC 0025481C 38 83 D7 18 */ addi r4, r3, lbl_8056D718@l -/* 802578C0 00254820 7F E3 FB 78 */ mr r3, r31 -/* 802578C4 00254824 40 82 00 0C */ bne lbl_802578D0 -/* 802578C8 00254828 3C 80 80 57 */ lis r4, lbl_805725AC@ha -/* 802578CC 0025482C 38 84 25 AC */ addi r4, r4, lbl_805725AC@l -lbl_802578D0: -/* 802578D0 00254830 4B F5 12 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 802578D4 00254834 7F E3 FB 78 */ mr r3, r31 -/* 802578D8 00254838 7F A4 EB 78 */ mr r4, r29 -/* 802578DC 0025483C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802578E0 00254840 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802578E4 00254844 7D 89 03 A6 */ mtctr r12 -/* 802578E8 00254848 4E 80 04 21 */ bctrl -/* 802578EC 0025484C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 802578F0 00254850 38 80 00 01 */ li r4, 1 -/* 802578F4 00254854 D0 03 00 00 */ stfs f0, 0(r3) -/* 802578F8 00254858 7F E3 FB 78 */ mr r3, r31 -/* 802578FC 0025485C 4B DF B4 71 */ bl CreateShadow__6CActorFb -lbl_80257900: -/* 80257900 00254860 3B DE 00 01 */ addi r30, r30, 1 -lbl_80257904: -/* 80257904 00254864 80 7C 09 84 */ lwz r3, 0x984(r28) -/* 80257908 00254868 4B F4 F9 41 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 8025790C 0025486C 7C 1E 18 40 */ cmplw r30, r3 -/* 80257910 00254870 41 80 FF 68 */ blt lbl_80257878 -/* 80257914 00254874 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 80257918 00254878 38 60 00 01 */ li r3, 1 -/* 8025791C 0025487C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80257920 00254880 38 60 00 00 */ li r3, 0 -/* 80257924 00254884 98 1C 0A 32 */ stb r0, 0xa32(r28) -/* 80257928 00254888 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 8025792C 0025488C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80257930 00254890 98 1C 0A 31 */ stb r0, 0xa31(r28) -/* 80257934 00254894 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257938 00254898 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025793C 0025489C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80257940 002548A0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80257944 002548A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80257948 002548A8 7C 08 03 A6 */ mtlr r0 -/* 8025794C 002548AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80257950 002548B0 4E 80 00 20 */ blr - -.global sub_80257954 -sub_80257954: -/* 80257954 002548B4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80257958 002548B8 7C 08 02 A6 */ mflr r0 -/* 8025795C 002548BC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80257960 002548C0 BF 41 00 68 */ stmw r26, 0x68(r1) -/* 80257964 002548C4 7C 7E 1B 78 */ mr r30, r3 -/* 80257968 002548C8 7C 9F 23 78 */ mr r31, r4 -/* 8025796C 002548CC 3B 40 00 00 */ li r26, 0 -/* 80257970 002548D0 48 00 00 D4 */ b lbl_80257A44 -lbl_80257974: -/* 80257974 002548D4 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 80257978 002548D8 7F 44 D3 78 */ mr r4, r26 -/* 8025797C 002548DC 4B F4 F8 BD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 80257980 002548E0 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 80257984 002548E4 7F E3 FB 78 */ mr r3, r31 -/* 80257988 002548E8 38 81 00 0C */ addi r4, r1, 0xc -/* 8025798C 002548EC B0 01 00 14 */ sth r0, 0x14(r1) -/* 80257990 002548F0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80257994 002548F4 4B DF 4B E1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80257998 002548F8 7C 64 1B 78 */ mr r4, r3 -/* 8025799C 002548FC 38 61 00 30 */ addi r3, r1, 0x30 -/* 802579A0 00254900 4B E5 79 AD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802579A4 00254904 83 A3 00 04 */ lwz r29, 4(r3) -/* 802579A8 00254908 28 1D 00 00 */ cmplwi r29, 0 -/* 802579AC 0025490C 41 82 00 94 */ beq lbl_80257A40 -/* 802579B0 00254910 3C 80 80 57 */ lis r4, lbl_8056D718@ha -/* 802579B4 00254914 7F A3 EB 78 */ mr r3, r29 -/* 802579B8 00254918 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l -/* 802579BC 0025491C 4B F5 11 DD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 802579C0 00254920 7F A3 EB 78 */ mr r3, r29 -/* 802579C4 00254924 7F E4 FB 78 */ mr r4, r31 -/* 802579C8 00254928 81 9D 00 00 */ lwz r12, 0(r29) -/* 802579CC 0025492C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802579D0 00254930 7D 89 03 A6 */ mtctr r12 -/* 802579D4 00254934 4E 80 04 21 */ bctrl -/* 802579D8 00254938 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 802579DC 0025493C 38 80 00 01 */ li r4, 1 -/* 802579E0 00254940 D0 03 00 00 */ stfs f0, 0(r3) -/* 802579E4 00254944 38 60 00 00 */ li r3, 0 -/* 802579E8 00254948 80 AD 97 4C */ lwz r5, lbl_805A830C@sda21(r13) -/* 802579EC 0025494C 48 13 25 09 */ bl __shl2i -/* 802579F0 00254950 80 AD 97 50 */ lwz r5, lbl_805A8310@sda21(r13) -/* 802579F4 00254954 7C 9B 23 78 */ mr r27, r4 -/* 802579F8 00254958 7C 7C 1B 78 */ mr r28, r3 -/* 802579FC 0025495C 38 60 00 00 */ li r3, 0 -/* 80257A00 00254960 38 80 00 01 */ li r4, 1 -/* 80257A04 00254964 48 13 24 F1 */ bl __shl2i -/* 80257A08 00254968 7F 7B 23 78 */ or r27, r27, r4 -/* 80257A0C 0025496C 7F 9C 1B 78 */ or r28, r28, r3 -/* 80257A10 00254970 38 A0 00 00 */ li r5, 0 -/* 80257A14 00254974 38 00 00 01 */ li r0, 1 -/* 80257A18 00254978 93 61 00 54 */ stw r27, 0x54(r1) -/* 80257A1C 0025497C 7F A3 EB 78 */ mr r3, r29 -/* 80257A20 00254980 38 81 00 50 */ addi r4, r1, 0x50 -/* 80257A24 00254984 93 81 00 50 */ stw r28, 0x50(r1) -/* 80257A28 00254988 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 80257A2C 0025498C 90 A1 00 58 */ stw r5, 0x58(r1) -/* 80257A30 00254990 90 01 00 60 */ stw r0, 0x60(r1) -/* 80257A34 00254994 4B DF BE 6D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80257A38 00254998 38 00 00 10 */ li r0, 0x10 -/* 80257A3C 0025499C 90 1D 03 00 */ stw r0, 0x300(r29) -lbl_80257A40: -/* 80257A40 002549A0 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80257A44: -/* 80257A44 002549A4 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 80257A48 002549A8 4B F4 F8 01 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 80257A4C 002549AC 7C 1A 18 40 */ cmplw r26, r3 -/* 80257A50 002549B0 41 80 FF 24 */ blt lbl_80257974 -/* 80257A54 002549B4 38 00 00 00 */ li r0, 0 -/* 80257A58 002549B8 80 AD 97 54 */ lwz r5, lbl_805A8314@sda21(r13) -/* 80257A5C 002549BC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80257A60 002549C0 38 60 00 00 */ li r3, 0 -/* 80257A64 002549C4 38 80 00 01 */ li r4, 1 -/* 80257A68 002549C8 90 01 00 28 */ stw r0, 0x28(r1) -/* 80257A6C 002549CC 48 13 24 89 */ bl __shl2i -/* 80257A70 002549D0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80257A74 002549D4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80257A78 002549D8 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80257A7C 002549DC 7C 00 1B 78 */ or r0, r0, r3 -/* 80257A80 002549E0 7C C3 23 78 */ or r3, r6, r4 -/* 80257A84 002549E4 90 01 00 28 */ stw r0, 0x28(r1) -/* 80257A88 002549E8 7F E4 FB 78 */ mr r4, r31 -/* 80257A8C 002549EC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80257A90 002549F0 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 80257A94 002549F4 4B F4 F7 BD */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList -/* 80257A98 002549F8 3B 40 00 00 */ li r26, 0 -/* 80257A9C 002549FC 48 00 00 D4 */ b lbl_80257B70 -lbl_80257AA0: -/* 80257AA0 00254A00 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 80257AA4 00254A04 7F 44 D3 78 */ mr r4, r26 -/* 80257AA8 00254A08 4B F4 F7 91 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 80257AAC 00254A0C A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 80257AB0 00254A10 7F E3 FB 78 */ mr r3, r31 -/* 80257AB4 00254A14 38 81 00 08 */ addi r4, r1, 8 -/* 80257AB8 00254A18 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80257ABC 00254A1C B0 01 00 08 */ sth r0, 8(r1) -/* 80257AC0 00254A20 4B DF 4A B5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80257AC4 00254A24 7C 64 1B 78 */ mr r4, r3 -/* 80257AC8 00254A28 38 61 00 20 */ addi r3, r1, 0x20 -/* 80257ACC 00254A2C 4B E5 78 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80257AD0 00254A30 83 A3 00 04 */ lwz r29, 4(r3) -/* 80257AD4 00254A34 28 1D 00 00 */ cmplwi r29, 0 -/* 80257AD8 00254A38 41 82 00 94 */ beq lbl_80257B6C -/* 80257ADC 00254A3C 3C 80 80 57 */ lis r4, lbl_80572544@ha -/* 80257AE0 00254A40 7F A3 EB 78 */ mr r3, r29 -/* 80257AE4 00254A44 38 84 25 44 */ addi r4, r4, lbl_80572544@l -/* 80257AE8 00254A48 4B F5 10 B1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 80257AEC 00254A4C 7F A3 EB 78 */ mr r3, r29 -/* 80257AF0 00254A50 7F E4 FB 78 */ mr r4, r31 -/* 80257AF4 00254A54 81 9D 00 00 */ lwz r12, 0(r29) -/* 80257AF8 00254A58 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80257AFC 00254A5C 7D 89 03 A6 */ mtctr r12 -/* 80257B00 00254A60 4E 80 04 21 */ bctrl -/* 80257B04 00254A64 C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 80257B08 00254A68 38 80 00 01 */ li r4, 1 -/* 80257B0C 00254A6C D0 03 00 00 */ stfs f0, 0(r3) -/* 80257B10 00254A70 38 60 00 00 */ li r3, 0 -/* 80257B14 00254A74 80 AD 97 58 */ lwz r5, lbl_805A8318@sda21(r13) -/* 80257B18 00254A78 48 13 23 DD */ bl __shl2i -/* 80257B1C 00254A7C 80 AD 97 5C */ lwz r5, lbl_805A831C@sda21(r13) -/* 80257B20 00254A80 7C 9C 23 78 */ mr r28, r4 -/* 80257B24 00254A84 7C 7B 1B 78 */ mr r27, r3 -/* 80257B28 00254A88 38 60 00 00 */ li r3, 0 -/* 80257B2C 00254A8C 38 80 00 01 */ li r4, 1 -/* 80257B30 00254A90 48 13 23 C5 */ bl __shl2i -/* 80257B34 00254A94 7F 9C 23 78 */ or r28, r28, r4 -/* 80257B38 00254A98 7F 7B 1B 78 */ or r27, r27, r3 -/* 80257B3C 00254A9C 38 A0 00 00 */ li r5, 0 -/* 80257B40 00254AA0 38 00 00 01 */ li r0, 1 -/* 80257B44 00254AA4 93 81 00 3C */ stw r28, 0x3c(r1) -/* 80257B48 00254AA8 7F A3 EB 78 */ mr r3, r29 -/* 80257B4C 00254AAC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80257B50 00254AB0 93 61 00 38 */ stw r27, 0x38(r1) -/* 80257B54 00254AB4 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80257B58 00254AB8 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80257B5C 00254ABC 90 01 00 48 */ stw r0, 0x48(r1) -/* 80257B60 00254AC0 4B DF BD 41 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80257B64 00254AC4 38 00 00 10 */ li r0, 0x10 -/* 80257B68 00254AC8 90 1D 03 00 */ stw r0, 0x300(r29) -lbl_80257B6C: -/* 80257B6C 00254ACC 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80257B70: -/* 80257B70 00254AD0 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 80257B74 00254AD4 4B F4 F6 D5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 80257B78 00254AD8 7C 1A 18 40 */ cmplw r26, r3 -/* 80257B7C 00254ADC 41 80 FF 24 */ blt lbl_80257AA0 -/* 80257B80 00254AE0 38 00 00 00 */ li r0, 0 -/* 80257B84 00254AE4 80 AD 97 60 */ lwz r5, lbl_805A8320@sda21(r13) -/* 80257B88 00254AE8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80257B8C 00254AEC 38 60 00 00 */ li r3, 0 -/* 80257B90 00254AF0 38 80 00 01 */ li r4, 1 -/* 80257B94 00254AF4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80257B98 00254AF8 48 13 23 5D */ bl __shl2i -/* 80257B9C 00254AFC 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80257BA0 00254B00 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80257BA4 00254B04 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80257BA8 00254B08 7C 00 1B 78 */ or r0, r0, r3 -/* 80257BAC 00254B0C 7C C3 23 78 */ or r3, r6, r4 -/* 80257BB0 00254B10 90 01 00 18 */ stw r0, 0x18(r1) -/* 80257BB4 00254B14 7F E4 FB 78 */ mr r4, r31 -/* 80257BB8 00254B18 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80257BBC 00254B1C 80 7E 09 84 */ lwz r3, 0x984(r30) -/* 80257BC0 00254B20 4B F4 F6 91 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList -/* 80257BC4 00254B24 BB 41 00 68 */ lmw r26, 0x68(r1) -/* 80257BC8 00254B28 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80257BCC 00254B2C 7C 08 03 A6 */ mtlr r0 -/* 80257BD0 00254B30 38 21 00 80 */ addi r1, r1, 0x80 -/* 80257BD4 00254B34 4E 80 00 20 */ blr - -.global Render__7CRidleyCFRC13CStateManager -Render__7CRidleyCFRC13CStateManager: -/* 80257BD8 00254B38 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80257BDC 00254B3C 7C 08 02 A6 */ mflr r0 -/* 80257BE0 00254B40 90 01 01 24 */ stw r0, 0x124(r1) -/* 80257BE4 00254B44 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80257BE8 00254B48 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80257BEC 00254B4C DB C1 01 00 */ stfd f30, 0x100(r1) -/* 80257BF0 00254B50 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80257BF4 00254B54 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80257BF8 00254B58 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80257BFC 00254B5C 7C 7E 1B 78 */ mr r30, r3 -/* 80257C00 00254B60 7C 9F 23 78 */ mr r31, r4 -/* 80257C04 00254B64 48 0F 23 B1 */ bl Black__6CColorFv -/* 80257C08 00254B68 C3 DE 0B 20 */ lfs f30, 0xb20(r30) -/* 80257C0C 00254B6C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80257C10 00254B70 80 A3 00 00 */ lwz r5, 0(r3) -/* 80257C14 00254B74 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80257C18 00254B78 40 81 00 24 */ ble lbl_80257C3C -/* 80257C1C 00254B7C C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) -/* 80257C20 00254B80 48 0F 23 95 */ bl Black__6CColorFv -/* 80257C24 00254B84 EC 3E F8 24 */ fdivs f1, f30, f31 -/* 80257C28 00254B88 7C 64 1B 78 */ mr r4, r3 -/* 80257C2C 00254B8C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80257C30 00254B90 38 BE 04 30 */ addi r5, r30, 0x430 -/* 80257C34 00254B94 48 10 B6 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80257C38 00254B98 80 A1 00 10 */ lwz r5, 0x10(r1) -lbl_80257C3C: -/* 80257C3C 00254B9C 38 80 00 02 */ li r4, 2 -/* 80257C40 00254BA0 38 60 00 00 */ li r3, 0 -/* 80257C44 00254BA4 38 00 00 03 */ li r0, 3 -/* 80257C48 00254BA8 98 81 00 30 */ stb r4, 0x30(r1) -/* 80257C4C 00254BAC 98 61 00 31 */ stb r3, 0x31(r1) -/* 80257C50 00254BB0 B0 01 00 32 */ sth r0, 0x32(r1) -/* 80257C54 00254BB4 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80257C58 00254BB8 48 0F 23 55 */ bl White__6CColorFv -/* 80257C5C 00254BBC C3 DE 0B 24 */ lfs f30, 0xb24(r30) -/* 80257C60 00254BC0 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80257C64 00254BC4 80 03 00 00 */ lwz r0, 0(r3) -/* 80257C68 00254BC8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80257C6C 00254BCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257C70 00254BD0 40 81 00 28 */ ble lbl_80257C98 -/* 80257C74 00254BD4 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) -/* 80257C78 00254BD8 48 0F 23 35 */ bl White__6CColorFv -/* 80257C7C 00254BDC EC 3E F8 24 */ fdivs f1, f30, f31 -/* 80257C80 00254BE0 7C 64 1B 78 */ mr r4, r3 -/* 80257C84 00254BE4 38 61 00 0C */ addi r3, r1, 0xc -/* 80257C88 00254BE8 38 BE 04 30 */ addi r5, r30, 0x430 -/* 80257C8C 00254BEC 48 10 B6 21 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80257C90 00254BF0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80257C94 00254BF4 90 01 00 14 */ stw r0, 0x14(r1) -lbl_80257C98: -/* 80257C98 00254BF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80257C9C 00254BFC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80257CA0 00254C00 81 83 00 00 */ lwz r12, 0(r3) -/* 80257CA4 00254C04 81 8C 00 FC */ lwz r12, 0xfc(r12) -/* 80257CA8 00254C08 7D 89 03 A6 */ mtctr r12 -/* 80257CAC 00254C0C 4E 80 04 21 */ bctrl -/* 80257CB0 00254C10 88 7E 0A 31 */ lbz r3, 0xa31(r30) -/* 80257CB4 00254C14 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80257CB8 00254C18 41 82 00 D0 */ beq lbl_80257D88 -/* 80257CBC 00254C1C 7F C4 F3 78 */ mr r4, r30 -/* 80257CC0 00254C20 38 61 00 68 */ addi r3, r1, 0x68 -/* 80257CC4 00254C24 38 BE 0A 30 */ addi r5, r30, 0xa30 -/* 80257CC8 00254C28 4B E2 0B F1 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80257CCC 00254C2C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80257CD0 00254C30 38 81 00 68 */ addi r4, r1, 0x68 -/* 80257CD4 00254C34 48 0B AE A1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80257CD8 00254C38 C3 DE 0B 24 */ lfs f30, 0xb24(r30) -/* 80257CDC 00254C3C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80257CE0 00254C40 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80257CE4 00254C44 40 81 00 5C */ ble lbl_80257D40 -/* 80257CE8 00254C48 C3 E2 88 F0 */ lfs f31, lbl_805AA610@sda21(r2) -/* 80257CEC 00254C4C 48 0F 22 C9 */ bl Black__6CColorFv -/* 80257CF0 00254C50 EC 3E F8 24 */ fdivs f1, f30, f31 -/* 80257CF4 00254C54 7C 64 1B 78 */ mr r4, r3 -/* 80257CF8 00254C58 38 61 00 08 */ addi r3, r1, 8 -/* 80257CFC 00254C5C 38 BE 04 30 */ addi r5, r30, 0x430 -/* 80257D00 00254C60 48 10 B5 AD */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80257D04 00254C64 80 01 00 08 */ lwz r0, 8(r1) -/* 80257D08 00254C68 38 60 00 02 */ li r3, 2 -/* 80257D0C 00254C6C 38 A0 00 00 */ li r5, 0 -/* 80257D10 00254C70 39 00 00 03 */ li r8, 3 -/* 80257D14 00254C74 98 61 00 28 */ stb r3, 0x28(r1) -/* 80257D18 00254C78 7F E4 FB 78 */ mr r4, r31 -/* 80257D1C 00254C7C 80 DE 00 90 */ lwz r6, 0x90(r30) -/* 80257D20 00254C80 38 7E 09 E4 */ addi r3, r30, 0x9e4 -/* 80257D24 00254C84 98 A1 00 29 */ stb r5, 0x29(r1) -/* 80257D28 00254C88 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 80257D2C 00254C8C 38 E1 00 28 */ addi r7, r1, 0x28 -/* 80257D30 00254C90 B1 01 00 2A */ sth r8, 0x2a(r1) -/* 80257D34 00254C94 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80257D38 00254C98 4B EB D0 85 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80257D3C 00254C9C 48 00 00 E0 */ b lbl_80257E1C -lbl_80257D40: -/* 80257D40 00254CA0 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) -/* 80257D44 00254CA4 38 80 00 00 */ li r4, 0 -/* 80257D48 00254CA8 38 00 00 03 */ li r0, 3 -/* 80257D4C 00254CAC 98 81 00 20 */ stb r4, 0x20(r1) -/* 80257D50 00254CB0 FC 40 08 90 */ fmr f2, f1 -/* 80257D54 00254CB4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80257D58 00254CB8 FC 60 08 90 */ fmr f3, f1 -/* 80257D5C 00254CBC 98 81 00 21 */ stb r4, 0x21(r1) -/* 80257D60 00254CC0 FC 80 08 90 */ fmr f4, f1 -/* 80257D64 00254CC4 B0 01 00 22 */ sth r0, 0x22(r1) -/* 80257D68 00254CC8 48 10 B6 85 */ bl __ct__6CColorFffff -/* 80257D6C 00254CCC 80 DE 00 90 */ lwz r6, 0x90(r30) -/* 80257D70 00254CD0 7F E4 FB 78 */ mr r4, r31 -/* 80257D74 00254CD4 38 7E 09 E4 */ addi r3, r30, 0x9e4 -/* 80257D78 00254CD8 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 80257D7C 00254CDC 38 E1 00 20 */ addi r7, r1, 0x20 -/* 80257D80 00254CE0 4B EB D0 3D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80257D84 00254CE4 48 00 00 98 */ b lbl_80257E1C -lbl_80257D88: -/* 80257D88 00254CE8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80257D8C 00254CEC 41 82 00 90 */ beq lbl_80257E1C -/* 80257D90 00254CF0 7F C4 F3 78 */ mr r4, r30 -/* 80257D94 00254CF4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80257D98 00254CF8 38 BE 0A 30 */ addi r5, r30, 0xa30 -/* 80257D9C 00254CFC 4B E2 0B 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80257DA0 00254D00 38 61 00 98 */ addi r3, r1, 0x98 -/* 80257DA4 00254D04 38 81 00 38 */ addi r4, r1, 0x38 -/* 80257DA8 00254D08 48 0B AD CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80257DAC 00254D0C C0 3E 0B 20 */ lfs f1, 0xb20(r30) -/* 80257DB0 00254D10 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80257DB4 00254D14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257DB8 00254D18 40 81 00 20 */ ble lbl_80257DD8 -/* 80257DBC 00254D1C 80 DE 00 90 */ lwz r6, 0x90(r30) -/* 80257DC0 00254D20 7F E4 FB 78 */ mr r4, r31 -/* 80257DC4 00254D24 38 7E 09 98 */ addi r3, r30, 0x998 -/* 80257DC8 00254D28 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80257DCC 00254D2C 38 E1 00 30 */ addi r7, r1, 0x30 -/* 80257DD0 00254D30 4B EB CF ED */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80257DD4 00254D34 48 00 00 48 */ b lbl_80257E1C -lbl_80257DD8: -/* 80257DD8 00254D38 C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) -/* 80257DDC 00254D3C 38 80 00 00 */ li r4, 0 -/* 80257DE0 00254D40 38 00 00 03 */ li r0, 3 -/* 80257DE4 00254D44 98 81 00 18 */ stb r4, 0x18(r1) -/* 80257DE8 00254D48 FC 40 08 90 */ fmr f2, f1 -/* 80257DEC 00254D4C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80257DF0 00254D50 FC 60 08 90 */ fmr f3, f1 -/* 80257DF4 00254D54 98 81 00 19 */ stb r4, 0x19(r1) -/* 80257DF8 00254D58 FC 80 08 90 */ fmr f4, f1 -/* 80257DFC 00254D5C B0 01 00 1A */ sth r0, 0x1a(r1) -/* 80257E00 00254D60 48 10 B5 ED */ bl __ct__6CColorFffff -/* 80257E04 00254D64 80 DE 00 90 */ lwz r6, 0x90(r30) -/* 80257E08 00254D68 7F E4 FB 78 */ mr r4, r31 -/* 80257E0C 00254D6C 38 7E 09 98 */ addi r3, r30, 0x998 -/* 80257E10 00254D70 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80257E14 00254D74 38 E1 00 18 */ addi r7, r1, 0x18 -/* 80257E18 00254D78 4B EB CF A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_80257E1C: -/* 80257E1C 00254D7C 7F C3 F3 78 */ mr r3, r30 -/* 80257E20 00254D80 7F E4 FB 78 */ mr r4, r31 -/* 80257E24 00254D84 4B E2 02 09 */ bl Render__10CPatternedCFRC13CStateManager -/* 80257E28 00254D88 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80257E2C 00254D8C CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80257E30 00254D90 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80257E34 00254D94 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 80257E38 00254D98 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80257E3C 00254D9C 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80257E40 00254DA0 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80257E44 00254DA4 7C 08 03 A6 */ mtlr r0 -/* 80257E48 00254DA8 38 21 01 20 */ addi r1, r1, 0x120 -/* 80257E4C 00254DAC 4E 80 00 20 */ blr - -.global PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes -PreRender__7CRidleyFR13CStateManagerRC14CFrustumPlanes: -/* 80257E50 00254DB0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80257E54 00254DB4 7C 08 02 A6 */ mflr r0 -/* 80257E58 00254DB8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80257E5C 00254DBC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80257E60 00254DC0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80257E64 00254DC4 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 80257E68 00254DC8 7C 7D 1B 78 */ mr r29, r3 -/* 80257E6C 00254DCC 7C 9E 23 78 */ mr r30, r4 -/* 80257E70 00254DD0 4B E2 04 6D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes -/* 80257E74 00254DD4 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80257E78 00254DD8 7F C4 F3 78 */ mr r4, r30 -/* 80257E7C 00254DDC 81 1D 04 50 */ lwz r8, 0x450(r29) -/* 80257E80 00254DE0 38 7D 0B 2C */ addi r3, r29, 0xb2c -/* 80257E84 00254DE4 C0 05 00 00 */ lfs f0, 0(r5) -/* 80257E88 00254DE8 38 DD 00 34 */ addi r6, r29, 0x34 -/* 80257E8C 00254DEC 38 E1 00 48 */ addi r7, r1, 0x48 -/* 80257E90 00254DF0 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80257E94 00254DF4 C0 05 00 04 */ lfs f0, 4(r5) -/* 80257E98 00254DF8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80257E9C 00254DFC C0 05 00 08 */ lfs f0, 8(r5) -/* 80257EA0 00254E00 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80257EA4 00254E04 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80257EA8 00254E08 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80257EAC 00254E0C 4B F1 DA 65 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController -/* 80257EB0 00254E10 C0 3D 0C C8 */ lfs f1, 0xcc8(r29) -/* 80257EB4 00254E14 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80257EB8 00254E18 83 7D 0C 74 */ lwz r27, 0xc74(r29) -/* 80257EBC 00254E1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257EC0 00254E20 40 81 00 30 */ ble lbl_80257EF0 -/* 80257EC4 00254E24 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80257EC8 00254E28 4B EB CD 81 */ bl GetNumMaterialSets__10CModelDataCFv -/* 80257ECC 00254E2C C0 22 B9 A0 */ lfs f1, lbl_805AD6C0@sda21(r2) -/* 80257ED0 00254E30 C0 1D 0C C8 */ lfs f0, 0xcc8(r29) -/* 80257ED4 00254E34 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80257ED8 00254E38 FC 00 00 1E */ fctiwz f0, f0 -/* 80257EDC 00254E3C D8 01 00 70 */ stfd f0, 0x70(r1) -/* 80257EE0 00254E40 80 81 00 74 */ lwz r4, 0x74(r1) -/* 80257EE4 00254E44 7C 04 1B D6 */ divw r0, r4, r3 -/* 80257EE8 00254E48 7C 00 19 D6 */ mullw r0, r0, r3 -/* 80257EEC 00254E4C 7F 60 20 50 */ subf r27, r0, r4 -lbl_80257EF0: -/* 80257EF0 00254E50 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80257EF4 00254E54 7F C4 F3 78 */ mr r4, r30 -/* 80257EF8 00254E58 80 63 00 00 */ lwz r3, 0(r3) -/* 80257EFC 00254E5C 4B E3 96 5D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80257F00 00254E60 7C 7C 1B 78 */ mr r28, r3 -/* 80257F04 00254E64 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80257F08 00254E68 4B EB CD 41 */ bl GetNumMaterialSets__10CModelDataCFv -/* 80257F0C 00254E6C 38 1B 00 01 */ addi r0, r27, 1 -/* 80257F10 00254E70 2C 1C 00 03 */ cmpwi r28, 3 -/* 80257F14 00254E74 7C 00 18 50 */ subf r0, r0, r3 -/* 80257F18 00254E78 38 60 00 00 */ li r3, 0 -/* 80257F1C 00254E7C 7C 00 00 34 */ cntlzw r0, r0 -/* 80257F20 00254E80 54 1F D9 7E */ srwi r31, r0, 5 -/* 80257F24 00254E84 40 82 00 10 */ bne lbl_80257F34 -/* 80257F28 00254E88 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80257F2C 00254E8C 41 82 00 08 */ beq lbl_80257F34 -/* 80257F30 00254E90 38 60 00 01 */ li r3, 1 -lbl_80257F34: -/* 80257F34 00254E94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80257F38 00254E98 88 9D 00 B4 */ lbz r4, 0xb4(r29) -/* 80257F3C 00254E9C A0 7D 00 B6 */ lhz r3, 0xb6(r29) -/* 80257F40 00254EA0 80 1D 00 B8 */ lwz r0, 0xb8(r29) -/* 80257F44 00254EA4 98 81 00 10 */ stb r4, 0x10(r1) -/* 80257F48 00254EA8 9B 61 00 11 */ stb r27, 0x11(r1) -/* 80257F4C 00254EAC B0 61 00 12 */ sth r3, 0x12(r1) -/* 80257F50 00254EB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257F54 00254EB4 41 82 00 0C */ beq lbl_80257F60 -/* 80257F58 00254EB8 60 63 00 40 */ ori r3, r3, 0x40 -/* 80257F5C 00254EBC 48 00 00 08 */ b lbl_80257F64 -lbl_80257F60: -/* 80257F60 00254EC0 54 63 06 B0 */ rlwinm r3, r3, 0, 0x1a, 0x18 -lbl_80257F64: -/* 80257F64 00254EC4 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80257F68 00254EC8 88 81 00 11 */ lbz r4, 0x11(r1) -/* 80257F6C 00254ECC 98 1D 00 B4 */ stb r0, 0xb4(r29) -/* 80257F70 00254ED0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257F74 00254ED4 98 9D 00 B5 */ stb r4, 0xb5(r29) -/* 80257F78 00254ED8 B0 7D 00 B6 */ sth r3, 0xb6(r29) -/* 80257F7C 00254EDC 90 1D 00 B8 */ stw r0, 0xb8(r29) -/* 80257F80 00254EE0 88 1D 0A 33 */ lbz r0, 0xa33(r29) -/* 80257F84 00254EE4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80257F88 00254EE8 41 82 01 A0 */ beq lbl_80258128 -/* 80257F8C 00254EEC C0 FD 0A B0 */ lfs f7, 0xab0(r29) -/* 80257F90 00254EF0 C0 BD 00 60 */ lfs f5, 0x60(r29) -/* 80257F94 00254EF4 C0 DD 0A A0 */ lfs f6, 0xaa0(r29) -/* 80257F98 00254EF8 EC 25 38 28 */ fsubs f1, f5, f7 -/* 80257F9C 00254EFC C0 0D 97 40 */ lfs f0, lbl_805A8300@sda21(r13) -/* 80257FA0 00254F00 C0 7D 0A 90 */ lfs f3, 0xa90(r29) -/* 80257FA4 00254F04 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 80257FA8 00254F08 C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 80257FAC 00254F0C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80257FB0 00254F10 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80257FB4 00254F14 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 80257FB8 00254F18 D0 E1 00 38 */ stfs f7, 0x38(r1) -/* 80257FBC 00254F1C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80257FC0 00254F20 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80257FC4 00254F24 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80257FC8 00254F28 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80257FCC 00254F2C 40 80 00 0C */ bge lbl_80257FD8 -/* 80257FD0 00254F30 38 61 00 0C */ addi r3, r1, 0xc -/* 80257FD4 00254F34 48 00 00 08 */ b lbl_80257FDC -lbl_80257FD8: -/* 80257FD8 00254F38 38 6D 97 40 */ addi r3, r13, lbl_805A8300@sda21 -lbl_80257FDC: -/* 80257FDC 00254F3C C3 E3 00 00 */ lfs f31, 0(r3) -/* 80257FE0 00254F40 38 81 00 08 */ addi r4, r1, 8 -/* 80257FE4 00254F44 C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) -/* 80257FE8 00254F48 38 6D 97 44 */ addi r3, r13, lbl_805A8304@sda21 -/* 80257FEC 00254F4C C0 22 B9 A4 */ lfs f1, lbl_805AD6C4@sda21(r2) -/* 80257FF0 00254F50 38 AD 97 48 */ addi r5, r13, lbl_805A8308@sda21 -/* 80257FF4 00254F54 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 80257FF8 00254F58 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80257FFC 00254F5C D0 01 00 08 */ stfs f0, 8(r1) -/* 80258000 00254F60 4B DB 42 B5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80258004 00254F64 C0 23 00 00 */ lfs f1, 0(r3) -/* 80258008 00254F68 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025800C 00254F6C C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80258010 00254F70 38 81 00 24 */ addi r4, r1, 0x24 -/* 80258014 00254F74 C0 82 B9 38 */ lfs f4, lbl_805AD658@sda21(r2) -/* 80258018 00254F78 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8025801C 00254F7C EC 00 08 2A */ fadds f0, f0, f1 -/* 80258020 00254F80 D0 1D 0C CC */ stfs f0, 0xccc(r29) -/* 80258024 00254F84 C1 5D 00 A8 */ lfs f10, 0xa8(r29) -/* 80258028 00254F88 C1 3D 00 9C */ lfs f9, 0x9c(r29) -/* 8025802C 00254F8C C1 1D 00 AC */ lfs f8, 0xac(r29) -/* 80258030 00254F90 C0 FD 00 A0 */ lfs f7, 0xa0(r29) -/* 80258034 00254F94 EC 6A 48 28 */ fsubs f3, f10, f9 -/* 80258038 00254F98 C1 9D 0C CC */ lfs f12, 0xccc(r29) -/* 8025803C 00254F9C EC 48 38 28 */ fsubs f2, f8, f7 -/* 80258040 00254FA0 C0 DD 00 B0 */ lfs f6, 0xb0(r29) -/* 80258044 00254FA4 C0 BD 00 A4 */ lfs f5, 0xa4(r29) -/* 80258048 00254FA8 EC 0C 00 F2 */ fmuls f0, f12, f3 -/* 8025804C 00254FAC ED 66 28 28 */ fsubs f11, f6, f5 -/* 80258050 00254FB0 EC 2C 00 B2 */ fmuls f1, f12, f2 -/* 80258054 00254FB4 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80258058 00254FB8 EC 0C 02 F2 */ fmuls f0, f12, f11 -/* 8025805C 00254FBC EC 41 10 28 */ fsubs f2, f1, f2 -/* 80258060 00254FC0 ED 84 00 F2 */ fmuls f12, f4, f3 -/* 80258064 00254FC4 EC 20 58 28 */ fsubs f1, f0, f11 -/* 80258068 00254FC8 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8025806C 00254FCC EC 0A 60 2A */ fadds f0, f10, f12 -/* 80258070 00254FD0 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80258074 00254FD4 EC 88 10 2A */ fadds f4, f8, f2 -/* 80258078 00254FD8 EC 47 10 28 */ fsubs f2, f7, f2 -/* 8025807C 00254FDC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80258080 00254FE0 EC 66 08 2A */ fadds f3, f6, f1 -/* 80258084 00254FE4 EC 25 08 28 */ fsubs f1, f5, f1 -/* 80258088 00254FE8 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8025808C 00254FEC EC 09 60 28 */ fsubs f0, f9, f12 -/* 80258090 00254FF0 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80258094 00254FF4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80258098 00254FF8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8025809C 00254FFC D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802580A0 00255000 48 0E 04 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802580A4 00255004 2C 1C 00 00 */ cmpwi r28, 0 -/* 802580A8 00255008 41 82 00 0C */ beq lbl_802580B4 -/* 802580AC 0025500C 2C 1C 00 02 */ cmpwi r28, 2 -/* 802580B0 00255010 40 82 00 6C */ bne lbl_8025811C -lbl_802580B4: -/* 802580B4 00255014 38 7D 0A C4 */ addi r3, r29, 0xac4 -/* 802580B8 00255018 38 81 00 54 */ addi r4, r1, 0x54 -/* 802580BC 0025501C 48 0D FA C9 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802580C0 00255020 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802580C4 00255024 41 82 00 58 */ beq lbl_8025811C -/* 802580C8 00255028 C0 02 B9 A8 */ lfs f0, lbl_805AD6C8@sda21(r2) -/* 802580CC 0025502C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802580D0 00255030 40 81 00 4C */ ble lbl_8025811C -/* 802580D4 00255034 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 802580D8 00255038 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 802580DC 0025503C 7C 04 00 D0 */ neg r0, r4 -/* 802580E0 00255040 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802580E4 00255044 EC 40 F8 2A */ fadds f2, f0, f31 -/* 802580E8 00255048 7C 00 23 78 */ or r0, r0, r4 -/* 802580EC 0025504C 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 802580F0 00255050 80 7D 0D 10 */ lwz r3, 0xd10(r29) -/* 802580F4 00255054 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 802580F8 00255058 7F C4 F3 78 */ mr r4, r30 -/* 802580FC 0025505C C0 3D 0C CC */ lfs f1, 0xccc(r29) -/* 80258100 00255060 38 DD 00 34 */ addi r6, r29, 0x34 -/* 80258104 00255064 54 07 0F FE */ srwi r7, r0, 0x1f -/* 80258108 00255068 48 04 5C 81 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff -/* 8025810C 0025506C C0 02 B9 1C */ lfs f0, lbl_805AD63C@sda21(r2) -/* 80258110 00255070 80 7D 0D 10 */ lwz r3, 0xd10(r29) -/* 80258114 00255074 D0 03 00 98 */ stfs f0, 0x98(r3) -/* 80258118 00255078 48 00 00 18 */ b lbl_80258130 -lbl_8025811C: -/* 8025811C 0025507C 80 7D 0D 10 */ lwz r3, 0xd10(r29) -/* 80258120 00255080 48 04 55 A9 */ bl sub_8029d6c8 -/* 80258124 00255084 48 00 00 0C */ b lbl_80258130 -lbl_80258128: -/* 80258128 00255088 80 7D 0D 10 */ lwz r3, 0xd10(r29) -/* 8025812C 0025508C 48 04 55 9D */ bl sub_8029d6c8 -lbl_80258130: -/* 80258130 00255090 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80258134 00255094 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80258138 00255098 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 8025813C 0025509C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80258140 002550A0 7C 08 03 A6 */ mtlr r0 -/* 80258144 002550A4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80258148 002550A8 4E 80 00 20 */ blr - -.global AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__7CRidleyCFRC14CFrustumPlanesRC13CStateManager: -/* 8025814C 002550AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80258150 002550B0 7C 08 02 A6 */ mflr r0 -/* 80258154 002550B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80258158 002550B8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025815C 002550BC 7C 9F 23 78 */ mr r31, r4 -/* 80258160 002550C0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80258164 002550C4 7C 7E 1B 78 */ mr r30, r3 -/* 80258168 002550C8 4B E1 F7 51 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager -/* 8025816C 002550CC 80 9E 0C E0 */ lwz r4, 0xce0(r30) -/* 80258170 002550D0 28 04 00 00 */ cmplwi r4, 0 -/* 80258174 002550D4 41 82 00 4C */ beq lbl_802581C0 -/* 80258178 002550D8 81 84 00 00 */ lwz r12, 0(r4) -/* 8025817C 002550DC 38 61 00 08 */ addi r3, r1, 8 -/* 80258180 002550E0 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80258184 002550E4 7D 89 03 A6 */ mtctr r12 -/* 80258188 002550E8 4E 80 04 21 */ bctrl -/* 8025818C 002550EC 7F E3 FB 78 */ mr r3, r31 -/* 80258190 002550F0 38 81 00 08 */ addi r4, r1, 8 -/* 80258194 002550F4 48 0E CF F5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 80258198 002550F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025819C 002550FC 38 60 00 00 */ li r3, 0 -/* 802581A0 00255100 98 61 00 20 */ stb r3, 0x20(r1) -/* 802581A4 00255104 41 82 00 1C */ beq lbl_802581C0 -/* 802581A8 00255108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802581AC 0025510C 80 9E 0C E0 */ lwz r4, 0xce0(r30) -/* 802581B0 00255110 81 83 00 00 */ lwz r12, 0(r3) -/* 802581B4 00255114 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802581B8 00255118 7D 89 03 A6 */ mtctr r12 -/* 802581BC 0025511C 4E 80 04 21 */ bctrl -lbl_802581C0: -/* 802581C0 00255120 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802581C4 00255124 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802581C8 00255128 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802581CC 0025512C 7C 08 03 A6 */ mtlr r0 -/* 802581D0 00255130 38 21 00 30 */ addi r1, r1, 0x30 -/* 802581D4 00255134 4E 80 00 20 */ blr - -.global GetSortingBounds__7CRidleyCFRC12CTransform4f -GetSortingBounds__7CRidleyCFRC12CTransform4f: -/* 802581D8 00255138 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802581DC 0025513C 7C 08 02 A6 */ mflr r0 -/* 802581E0 00255140 90 01 00 14 */ stw r0, 0x14(r1) -/* 802581E4 00255144 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802581E8 00255148 7C 7F 1B 78 */ mr r31, r3 -/* 802581EC 0025514C 4B EC 27 41 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 802581F0 00255150 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802581F4 00255154 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802581F8 00255158 7C 08 03 A6 */ mtlr r0 -/* 802581FC 0025515C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258200 00255160 4E 80 00 20 */ blr - -.global GetDamageVulnerability__7CRidleyCFv -GetDamageVulnerability__7CRidleyCFv: -/* 80258204 00255164 3C 60 80 57 */ lis r3, lbl_8056D718@ha -/* 80258208 00255168 38 63 D7 18 */ addi r3, r3, lbl_8056D718@l -/* 8025820C 0025516C 4E 80 00 20 */ blr - -.global DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__7CRidleyFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80258210 00255170 94 21 FC 50 */ stwu r1, -0x3b0(r1) -/* 80258214 00255174 7C 08 02 A6 */ mflr r0 -/* 80258218 00255178 90 01 03 B4 */ stw r0, 0x3b4(r1) -/* 8025821C 0025517C DB E1 03 A0 */ stfd f31, 0x3a0(r1) -/* 80258220 00255180 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 -/* 80258224 00255184 DB C1 03 90 */ stfd f30, 0x390(r1) -/* 80258228 00255188 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 -/* 8025822C 0025518C DB A1 03 80 */ stfd f29, 0x380(r1) -/* 80258230 00255190 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 -/* 80258234 00255194 BF 01 03 60 */ stmw r24, 0x360(r1) -/* 80258238 00255198 7C DF 33 78 */ mr r31, r6 -/* 8025823C 0025519C FF E0 08 90 */ fmr f31, f1 -/* 80258240 002551A0 28 1F 00 1F */ cmplwi r31, 0x1f -/* 80258244 002551A4 7C 7C 1B 78 */ mr r28, r3 -/* 80258248 002551A8 7C 9D 23 78 */ mr r29, r4 -/* 8025824C 002551AC 7C BE 2B 78 */ mr r30, r5 -/* 80258250 002551B0 3B 40 00 00 */ li r26, 0 -/* 80258254 002551B4 41 81 0A 4C */ bgt lbl_80258CA0 -/* 80258258 002551B8 3C A0 80 3F */ lis r5, lbl_803E9524@ha -/* 8025825C 002551BC 57 E0 10 3A */ slwi r0, r31, 2 -/* 80258260 002551C0 38 A5 95 24 */ addi r5, r5, lbl_803E9524@l -/* 80258264 002551C4 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80258268 002551C8 7C 09 03 A6 */ mtctr r0 -/* 8025826C 002551CC 4E 80 04 20 */ bctr -/* 80258270 002551D0 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 80258274 002551D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80258278 002551D8 41 82 00 14 */ beq lbl_8025828C -/* 8025827C 002551DC 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 80258280 002551E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80258284 002551E4 40 82 00 08 */ bne lbl_8025828C -/* 80258288 002551E8 4B FF EB 2D */ bl sub_80256db4 -lbl_8025828C: -/* 8025828C 002551EC 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 80258290 002551F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80258294 002551F4 41 82 0A 0C */ beq lbl_80258CA0 -/* 80258298 002551F8 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 8025829C 002551FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802582A0 00255200 41 82 0A 00 */ beq lbl_80258CA0 -/* 802582A4 00255204 C0 7C 0A A4 */ lfs f3, 0xaa4(r28) -/* 802582A8 00255208 C0 5C 0A 94 */ lfs f2, 0xa94(r28) -/* 802582AC 0025520C C0 3C 0A 84 */ lfs f1, 0xa84(r28) -/* 802582B0 00255210 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802582B4 00255214 D0 3C 0B F0 */ stfs f1, 0xbf0(r28) -/* 802582B8 00255218 D0 5C 0B F4 */ stfs f2, 0xbf4(r28) -/* 802582BC 0025521C D0 7C 0B F8 */ stfs f3, 0xbf8(r28) -/* 802582C0 00255220 C1 1C 00 50 */ lfs f8, 0x50(r28) -/* 802582C4 00255224 C0 3C 0A A0 */ lfs f1, 0xaa0(r28) -/* 802582C8 00255228 C0 BC 00 40 */ lfs f5, 0x40(r28) -/* 802582CC 0025522C EC E8 08 28 */ fsubs f7, f8, f1 -/* 802582D0 00255230 C0 5C 0A 90 */ lfs f2, 0xa90(r28) -/* 802582D4 00255234 C0 3C 0B F4 */ lfs f1, 0xbf4(r28) -/* 802582D8 00255238 EC 85 10 28 */ fsubs f4, f5, f2 -/* 802582DC 0025523C C1 3C 00 60 */ lfs f9, 0x60(r28) -/* 802582E0 00255240 C0 7C 0A B0 */ lfs f3, 0xab0(r28) -/* 802582E4 00255244 EC 27 00 72 */ fmuls f1, f7, f1 -/* 802582E8 00255248 C0 5C 0B F0 */ lfs f2, 0xbf0(r28) -/* 802582EC 0025524C EC C9 18 28 */ fsubs f6, f9, f3 -/* 802582F0 00255250 C0 7C 0B F8 */ lfs f3, 0xbf8(r28) -/* 802582F4 00255254 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 802582F8 00255258 D0 A1 01 28 */ stfs f5, 0x128(r1) -/* 802582FC 0025525C D1 01 01 2C */ stfs f8, 0x12c(r1) -/* 80258300 00255260 EC 26 08 FA */ fmadds f1, f6, f3, f1 -/* 80258304 00255264 D1 21 01 30 */ stfs f9, 0x130(r1) -/* 80258308 00255268 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025830C 0025526C D0 81 01 34 */ stfs f4, 0x134(r1) -/* 80258310 00255270 D0 E1 01 38 */ stfs f7, 0x138(r1) -/* 80258314 00255274 D0 C1 01 3C */ stfs f6, 0x13c(r1) -/* 80258318 00255278 40 81 00 2C */ ble lbl_80258344 -/* 8025831C 0025527C C0 1C 0B F0 */ lfs f0, 0xbf0(r28) -/* 80258320 00255280 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) -/* 80258324 00255284 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80258328 00255288 D0 1C 0B F0 */ stfs f0, 0xbf0(r28) -/* 8025832C 0025528C C0 1C 0B F4 */ lfs f0, 0xbf4(r28) -/* 80258330 00255290 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80258334 00255294 D0 1C 0B F4 */ stfs f0, 0xbf4(r28) -/* 80258338 00255298 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) -/* 8025833C 0025529C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80258340 002552A0 D0 1C 0B F8 */ stfs f0, 0xbf8(r28) -lbl_80258344: -/* 80258344 002552A4 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) -/* 80258348 002552A8 D0 1C 0B FC */ stfs f0, 0xbfc(r28) -/* 8025834C 002552AC C0 1C 0B F4 */ lfs f0, 0xbf4(r28) -/* 80258350 002552B0 D0 1C 0C 00 */ stfs f0, 0xc00(r28) -/* 80258354 002552B4 C0 1C 0B F8 */ lfs f0, 0xbf8(r28) -/* 80258358 002552B8 D0 1C 0C 04 */ stfs f0, 0xc04(r28) -/* 8025835C 002552BC C0 DC 0A BC */ lfs f6, 0xabc(r28) -/* 80258360 002552C0 C0 1C 0B F0 */ lfs f0, 0xbf0(r28) -/* 80258364 002552C4 C0 7C 0B F4 */ lfs f3, 0xbf4(r28) -/* 80258368 002552C8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8025836C 002552CC C0 3C 0A 90 */ lfs f1, 0xa90(r28) -/* 80258370 002552D0 C0 5C 0B F8 */ lfs f2, 0xbf8(r28) -/* 80258374 002552D4 EC 86 00 F2 */ fmuls f4, f6, f3 -/* 80258378 002552D8 C0 BC 0A A0 */ lfs f5, 0xaa0(r28) -/* 8025837C 002552DC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80258380 002552E0 C0 7C 0A B0 */ lfs f3, 0xab0(r28) -/* 80258384 002552E4 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 80258388 002552E8 EC 45 20 28 */ fsubs f2, f5, f4 -/* 8025838C 002552EC D0 1C 0B E4 */ stfs f0, 0xbe4(r28) -/* 80258390 002552F0 EC 03 08 28 */ fsubs f0, f3, f1 -/* 80258394 002552F4 D0 5C 0B E8 */ stfs f2, 0xbe8(r28) -/* 80258398 002552F8 D0 1C 0B EC */ stfs f0, 0xbec(r28) -/* 8025839C 002552FC 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 802583A0 00255300 C0 1C 0A A0 */ lfs f0, 0xaa0(r28) -/* 802583A4 00255304 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 802583A8 00255308 C0 BC 0A 98 */ lfs f5, 0xa98(r28) -/* 802583AC 0025530C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802583B0 00255310 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 802583B4 00255314 C0 3C 0A 90 */ lfs f1, 0xa90(r28) -/* 802583B8 00255318 C0 DC 0A 88 */ lfs f6, 0xa88(r28) -/* 802583BC 0025531C EC 22 08 28 */ fsubs f1, f2, f1 -/* 802583C0 00255320 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 802583C4 00255324 EC 00 01 72 */ fmuls f0, f0, f5 -/* 802583C8 00255328 C0 5C 0A B0 */ lfs f2, 0xab0(r28) -/* 802583CC 0025532C C0 9C 0A A8 */ lfs f4, 0xaa8(r28) -/* 802583D0 00255330 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802583D4 00255334 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 802583D8 00255338 C0 7C 0B E4 */ lfs f3, 0xbe4(r28) -/* 802583DC 0025533C EC 02 01 3A */ fmadds f0, f2, f4, f0 -/* 802583E0 00255340 EC 40 01 B2 */ fmuls f2, f0, f6 -/* 802583E4 00255344 EC 20 01 72 */ fmuls f1, f0, f5 -/* 802583E8 00255348 EC 00 01 32 */ fmuls f0, f0, f4 -/* 802583EC 0025534C EC 43 10 2A */ fadds f2, f3, f2 -/* 802583F0 00255350 D0 5C 0B E4 */ stfs f2, 0xbe4(r28) -/* 802583F4 00255354 C0 5C 0B E8 */ lfs f2, 0xbe8(r28) -/* 802583F8 00255358 EC 22 08 2A */ fadds f1, f2, f1 -/* 802583FC 0025535C D0 3C 0B E8 */ stfs f1, 0xbe8(r28) -/* 80258400 00255360 C0 3C 0B EC */ lfs f1, 0xbec(r28) -/* 80258404 00255364 EC 01 00 2A */ fadds f0, f1, f0 -/* 80258408 00255368 D0 1C 0B EC */ stfs f0, 0xbec(r28) -/* 8025840C 0025536C 48 00 08 94 */ b lbl_80258CA0 -/* 80258410 00255370 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 80258414 00255374 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80258418 00255378 41 82 08 88 */ beq lbl_80258CA0 -/* 8025841C 0025537C 38 A0 00 00 */ li r5, 0 -/* 80258420 00255380 4B FF E6 4D */ bl sub_80256a6c -/* 80258424 00255384 48 00 08 7C */ b lbl_80258CA0 -/* 80258428 00255388 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 8025842C 0025538C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80258430 00255390 40 82 08 70 */ bne lbl_80258CA0 -/* 80258434 00255394 C0 A2 B9 18 */ lfs f5, lbl_805AD638@sda21(r2) -/* 80258438 00255398 39 60 00 00 */ li r11, 0 -/* 8025843C 0025539C C0 82 B9 9C */ lfs f4, lbl_805AD6BC@sda21(r2) -/* 80258440 002553A0 39 80 00 01 */ li r12, 1 -/* 80258444 002553A4 C0 62 B9 94 */ lfs f3, lbl_805AD6B4@sda21(r2) -/* 80258448 002553A8 39 40 00 7F */ li r10, 0x7f -/* 8025844C 002553AC 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 80258450 002553B0 39 20 00 3F */ li r9, 0x3f -/* 80258454 002553B4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80258458 002553B8 D0 A1 03 30 */ stfs f5, 0x330(r1) -/* 8025845C 002553BC 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 80258460 002553C0 A8 C2 C5 F8 */ lha r6, lbl_805AE318@sda21(r2) -/* 80258464 002553C4 D0 A1 03 34 */ stfs f5, 0x334(r1) -/* 80258468 002553C8 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8025846C 002553CC C0 48 00 00 */ lfs f2, 0(r8) -/* 80258470 002553D0 38 81 03 30 */ addi r4, r1, 0x330 -/* 80258474 002553D4 D0 A1 03 38 */ stfs f5, 0x338(r1) -/* 80258478 002553D8 38 A0 00 01 */ li r5, 1 -/* 8025847C 002553DC C0 28 00 04 */ lfs f1, 4(r8) -/* 80258480 002553E0 38 E0 00 00 */ li r7, 0 -/* 80258484 002553E4 D0 A1 03 3C */ stfs f5, 0x33c(r1) -/* 80258488 002553E8 C0 08 00 08 */ lfs f0, 8(r8) -/* 8025848C 002553EC D0 A1 03 40 */ stfs f5, 0x340(r1) -/* 80258490 002553F0 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) -/* 80258494 002553F4 D0 A1 03 44 */ stfs f5, 0x344(r1) -/* 80258498 002553F8 D0 81 03 48 */ stfs f4, 0x348(r1) -/* 8025849C 002553FC D0 61 03 4C */ stfs f3, 0x34c(r1) -/* 802584A0 00255400 91 81 03 50 */ stw r12, 0x350(r1) -/* 802584A4 00255404 B1 61 03 54 */ sth r11, 0x354(r1) -/* 802584A8 00255408 99 41 03 56 */ stb r10, 0x356(r1) -/* 802584AC 0025540C 99 21 03 57 */ stb r9, 0x357(r1) -/* 802584B0 00255410 99 61 03 58 */ stb r11, 0x358(r1) -/* 802584B4 00255414 98 01 03 59 */ stb r0, 0x359(r1) -/* 802584B8 00255418 C0 BC 00 60 */ lfs f5, 0x60(r28) -/* 802584BC 0025541C C0 9C 00 50 */ lfs f4, 0x50(r28) -/* 802584C0 00255420 C0 7C 00 40 */ lfs f3, 0x40(r28) -/* 802584C4 00255424 D0 61 03 30 */ stfs f3, 0x330(r1) -/* 802584C8 00255428 D0 81 03 34 */ stfs f4, 0x334(r1) -/* 802584CC 0025542C D0 A1 03 38 */ stfs f5, 0x338(r1) -/* 802584D0 00255430 D0 41 03 3C */ stfs f2, 0x33c(r1) -/* 802584D4 00255434 D0 21 03 40 */ stfs f1, 0x340(r1) -/* 802584D8 00255438 D0 01 03 44 */ stfs f0, 0x344(r1) -/* 802584DC 0025543C A0 1C 07 FC */ lhz r0, 0x7fc(r28) -/* 802584E0 00255440 B0 01 03 54 */ sth r0, 0x354(r1) -/* 802584E4 00255444 48 09 1A FD */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 802584E8 00255448 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802584EC 0025544C 90 1C 0C AC */ stw r0, 0xcac(r28) -/* 802584F0 00255450 48 00 07 B0 */ b lbl_80258CA0 -/* 802584F4 00255454 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 802584F8 00255458 4B EB C7 51 */ bl GetNumMaterialSets__10CModelDataCFv -/* 802584FC 0025545C 80 9C 0C 74 */ lwz r4, 0xc74(r28) -/* 80258500 00255460 38 04 00 01 */ addi r0, r4, 1 -/* 80258504 00255464 7C 00 18 00 */ cmpw r0, r3 -/* 80258508 00255468 40 80 00 08 */ bge lbl_80258510 -/* 8025850C 0025546C 90 1C 0C 74 */ stw r0, 0xc74(r28) -lbl_80258510: -/* 80258510 00255470 3B 40 00 01 */ li r26, 1 -/* 80258514 00255474 48 00 07 8C */ b lbl_80258CA0 -/* 80258518 00255478 80 1C 0C 64 */ lwz r0, 0xc64(r28) -/* 8025851C 0025547C 2C 00 00 02 */ cmpwi r0, 2 -/* 80258520 00255480 41 82 00 08 */ beq lbl_80258528 -/* 80258524 00255484 48 00 02 A0 */ b lbl_802587C4 -lbl_80258528: -/* 80258528 00255488 3B 1C 0C 14 */ addi r24, r28, 0xc14 -/* 8025852C 0025548C 80 1C 0C 1C */ lwz r0, 0xc1c(r28) -/* 80258530 00255490 28 00 00 00 */ cmplwi r0, 0 -/* 80258534 00255494 41 82 00 0C */ beq lbl_80258540 -/* 80258538 00255498 38 60 00 01 */ li r3, 1 -/* 8025853C 0025549C 48 00 00 3C */ b lbl_80258578 -lbl_80258540: -/* 80258540 002554A0 88 18 00 04 */ lbz r0, 4(r24) -/* 80258544 002554A4 28 00 00 00 */ cmplwi r0, 0 -/* 80258548 002554A8 41 82 00 2C */ beq lbl_80258574 -/* 8025854C 002554AC 80 78 00 00 */ lwz r3, 0(r24) -/* 80258550 002554B0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80258554 002554B4 28 00 00 00 */ cmplwi r0, 0 -/* 80258558 002554B8 41 82 00 1C */ beq lbl_80258574 -/* 8025855C 002554BC 7F 03 C3 78 */ mr r3, r24 -/* 80258560 002554C0 48 0E 88 AD */ bl GetObj__6CTokenFv -/* 80258564 002554C4 80 03 00 04 */ lwz r0, 4(r3) -/* 80258568 002554C8 38 60 00 01 */ li r3, 1 -/* 8025856C 002554CC 90 18 00 08 */ stw r0, 8(r24) -/* 80258570 002554D0 48 00 00 08 */ b lbl_80258578 -lbl_80258574: -/* 80258574 002554D4 38 60 00 00 */ li r3, 0 -lbl_80258578: -/* 80258578 002554D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025857C 002554DC 41 82 02 48 */ beq lbl_802587C4 -/* 80258580 002554E0 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80258584 002554E4 7F A3 EB 78 */ mr r3, r29 -/* 80258588 002554E8 38 81 00 88 */ addi r4, r1, 0x88 -/* 8025858C 002554EC 38 A0 00 09 */ li r5, 9 -/* 80258590 002554F0 B0 01 00 84 */ sth r0, 0x84(r1) -/* 80258594 002554F4 38 C0 00 09 */ li r6, 9 -/* 80258598 002554F8 B0 01 00 88 */ sth r0, 0x88(r1) -/* 8025859C 002554FC 4B DE D1 95 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 802585A0 00255500 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802585A4 00255504 41 82 02 20 */ beq lbl_802587C4 -/* 802585A8 00255508 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 802585AC 0025550C C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) -/* 802585B0 00255510 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) -/* 802585B4 00255514 48 0B 9F 91 */ bl Range__9CRandom16Fff -/* 802585B8 00255518 FC 00 08 90 */ fmr f0, f1 -/* 802585BC 0025551C 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 802585C0 00255520 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) -/* 802585C4 00255524 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) -/* 802585C8 00255528 FF A0 00 90 */ fmr f29, f0 -/* 802585CC 0025552C 48 0B 9F 79 */ bl Range__9CRandom16Fff -/* 802585D0 00255530 FC 40 E8 90 */ fmr f2, f29 -/* 802585D4 00255534 48 13 C6 99 */ bl atan2 -/* 802585D8 00255538 C0 02 B9 B0 */ lfs f0, lbl_805AD6D0@sda21(r2) -/* 802585DC 0025553C FF A0 08 18 */ frsp f29, f1 -/* 802585E0 00255540 38 61 02 40 */ addi r3, r1, 0x240 -/* 802585E4 00255544 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802585E8 00255548 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 802585EC 0025554C 48 0B B3 55 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 802585F0 00255550 7F 84 E3 78 */ mr r4, r28 -/* 802585F4 00255554 38 61 02 70 */ addi r3, r1, 0x270 -/* 802585F8 00255558 38 BC 0A 30 */ addi r5, r28, 0xa30 -/* 802585FC 0025555C 4B E2 02 BD */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80258600 00255560 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 80258604 00255564 38 81 02 70 */ addi r4, r1, 0x270 -/* 80258608 00255568 38 A1 02 40 */ addi r5, r1, 0x240 -/* 8025860C 0025556C 48 0B A3 45 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80258610 00255570 38 61 03 00 */ addi r3, r1, 0x300 -/* 80258614 00255574 38 81 02 A0 */ addi r4, r1, 0x2a0 -/* 80258618 00255578 48 0B A5 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025861C 0025557C D3 A1 00 9C */ stfs f29, 0x9c(r1) -/* 80258620 00255580 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80258624 00255584 38 81 00 9C */ addi r4, r1, 0x9c -/* 80258628 00255588 48 0B B2 81 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 8025862C 0025558C 38 61 02 10 */ addi r3, r1, 0x210 -/* 80258630 00255590 38 81 03 00 */ addi r4, r1, 0x300 -/* 80258634 00255594 38 A1 01 E0 */ addi r5, r1, 0x1e0 -/* 80258638 00255598 48 0B A3 19 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8025863C 0025559C 38 61 03 00 */ addi r3, r1, 0x300 -/* 80258640 002555A0 38 81 02 10 */ addi r4, r1, 0x210 -/* 80258644 002555A4 48 0B A4 FD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80258648 002555A8 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 8025864C 002555AC 38 61 01 1C */ addi r3, r1, 0x11c -/* 80258650 002555B0 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 80258654 002555B4 38 81 03 00 */ addi r4, r1, 0x300 -/* 80258658 002555B8 D0 01 01 5C */ stfs f0, 0x15c(r1) -/* 8025865C 002555BC 38 A1 01 58 */ addi r5, r1, 0x158 -/* 80258660 002555C0 D0 21 01 58 */ stfs f1, 0x158(r1) -/* 80258664 002555C4 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 80258668 002555C8 48 0B A4 81 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8025866C 002555CC C0 41 01 1C */ lfs f2, 0x11c(r1) -/* 80258670 002555D0 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80258674 002555D4 C0 21 01 20 */ lfs f1, 0x120(r1) -/* 80258678 002555D8 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l -/* 8025867C 002555DC C0 01 01 24 */ lfs f0, 0x124(r1) -/* 80258680 002555E0 38 83 00 85 */ addi r4, r3, 0x85 -/* 80258684 002555E4 D0 41 03 0C */ stfs f2, 0x30c(r1) -/* 80258688 002555E8 3B 40 00 00 */ li r26, 0 -/* 8025868C 002555EC 38 60 03 D8 */ li r3, 0x3d8 -/* 80258690 002555F0 38 A0 00 00 */ li r5, 0 -/* 80258694 002555F4 D0 21 03 1C */ stfs f1, 0x31c(r1) -/* 80258698 002555F8 D0 01 03 2C */ stfs f0, 0x32c(r1) -/* 8025869C 002555FC 48 0B D1 D1 */ bl __nw__FUlPCcPCc -/* 802586A0 00255600 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802586A4 00255604 41 82 00 C4 */ beq lbl_80258768 -/* 802586A8 00255608 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 802586AC 0025560C 38 00 00 00 */ li r0, 0 -/* 802586B0 00255610 98 01 01 18 */ stb r0, 0x118(r1) -/* 802586B4 00255614 7F A4 EB 78 */ mr r4, r29 -/* 802586B8 00255618 38 61 00 6C */ addi r3, r1, 0x6c -/* 802586BC 0025561C 3B 40 00 01 */ li r26, 1 -/* 802586C0 00255620 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 802586C4 00255624 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 802586C8 00255628 D0 01 01 08 */ stfs f0, 0x108(r1) -/* 802586CC 0025562C 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 802586D0 00255630 A0 05 00 08 */ lhz r0, 8(r5) -/* 802586D4 00255634 B0 01 00 80 */ sth r0, 0x80(r1) -/* 802586D8 00255638 A0 BC 00 08 */ lhz r5, 8(r28) -/* 802586DC 0025563C B0 01 00 7C */ sth r0, 0x7c(r1) -/* 802586E0 00255640 B0 A1 00 78 */ sth r5, 0x78(r1) -/* 802586E4 00255644 80 1C 00 04 */ lwz r0, 4(r28) -/* 802586E8 00255648 B0 A1 00 74 */ sth r5, 0x74(r1) -/* 802586EC 0025564C 90 01 00 94 */ stw r0, 0x94(r1) -/* 802586F0 00255650 90 01 00 98 */ stw r0, 0x98(r1) -/* 802586F4 00255654 4B DF 49 E9 */ bl AllocateUniqueId__13CStateManagerFv -/* 802586F8 00255658 A0 61 00 6C */ lhz r3, 0x6c(r1) -/* 802586FC 0025565C 38 01 00 98 */ addi r0, r1, 0x98 -/* 80258700 00255660 38 C1 00 78 */ addi r6, r1, 0x78 -/* 80258704 00255664 38 81 00 80 */ addi r4, r1, 0x80 -/* 80258708 00255668 B0 61 00 70 */ sth r3, 0x70(r1) -/* 8025870C 0025566C 3B 00 00 00 */ li r24, 0 -/* 80258710 00255670 39 81 01 00 */ addi r12, r1, 0x100 -/* 80258714 00255674 39 61 01 0C */ addi r11, r1, 0x10c -/* 80258718 00255678 90 01 00 08 */ stw r0, 8(r1) -/* 8025871C 0025567C 7F 63 DB 78 */ mr r3, r27 -/* 80258720 00255680 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 80258724 00255684 38 BC 0C 14 */ addi r5, r28, 0xc14 -/* 80258728 00255688 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8025872C 0025568C 38 E1 03 00 */ addi r7, r1, 0x300 -/* 80258730 00255690 39 3C 0C 20 */ addi r9, r28, 0xc20 -/* 80258734 00255694 39 41 00 70 */ addi r10, r1, 0x70 -/* 80258738 00255698 90 81 00 10 */ stw r4, 0x10(r1) -/* 8025873C 0025569C 38 80 00 01 */ li r4, 1 -/* 80258740 002556A0 38 C0 00 09 */ li r6, 9 -/* 80258744 002556A4 39 00 00 21 */ li r8, 0x21 -/* 80258748 002556A8 93 01 00 14 */ stw r24, 0x14(r1) -/* 8025874C 002556AC 93 01 00 18 */ stw r24, 0x18(r1) -/* 80258750 002556B0 91 81 00 1C */ stw r12, 0x1c(r1) -/* 80258754 002556B4 91 61 00 20 */ stw r11, 0x20(r1) -/* 80258758 002556B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025875C 002556BC 93 01 00 28 */ stw r24, 0x28(r1) -/* 80258760 002556C0 4B FB CF 39 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 80258764 002556C4 7C 7B 1B 78 */ mr r27, r3 -lbl_80258768: -/* 80258768 002556C8 7F 40 07 75 */ extsb. r0, r26 -/* 8025876C 002556CC 41 82 00 30 */ beq lbl_8025879C -/* 80258770 002556D0 88 01 01 18 */ lbz r0, 0x118(r1) -/* 80258774 002556D4 28 00 00 00 */ cmplwi r0, 0 -/* 80258778 002556D8 41 82 00 1C */ beq lbl_80258794 -/* 8025877C 002556DC 34 61 01 0C */ addic. r3, r1, 0x10c -/* 80258780 002556E0 41 82 00 14 */ beq lbl_80258794 -/* 80258784 002556E4 28 03 00 00 */ cmplwi r3, 0 -/* 80258788 002556E8 41 82 00 0C */ beq lbl_80258794 -/* 8025878C 002556EC 38 80 00 00 */ li r4, 0 -/* 80258790 002556F0 48 0E 86 B1 */ bl __dt__6CTokenFv -lbl_80258794: -/* 80258794 002556F4 38 00 00 00 */ li r0, 0 -/* 80258798 002556F8 98 01 01 18 */ stb r0, 0x118(r1) -lbl_8025879C: -/* 8025879C 002556FC 28 1B 00 00 */ cmplwi r27, 0 -/* 802587A0 00255700 41 82 00 24 */ beq lbl_802587C4 -/* 802587A4 00255704 7F A3 EB 78 */ mr r3, r29 -/* 802587A8 00255708 7F 64 DB 78 */ mr r4, r27 -/* 802587AC 0025570C 4B DF 45 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 802587B0 00255710 7F 63 DB 78 */ mr r3, r27 -/* 802587B4 00255714 38 9C 06 34 */ addi r4, r28, 0x634 -/* 802587B8 00255718 4B FB B3 15 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData -/* 802587BC 0025571C C0 02 B9 68 */ lfs f0, lbl_805AD688@sda21(r2) -/* 802587C0 00255720 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) -lbl_802587C4: -/* 802587C4 00255724 3B 40 00 01 */ li r26, 1 -/* 802587C8 00255728 48 00 04 D8 */ b lbl_80258CA0 -/* 802587CC 0025572C 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 802587D0 00255730 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802587D4 00255734 41 82 02 A8 */ beq lbl_80258A7C -/* 802587D8 00255738 3B 1C 0C 3C */ addi r24, r28, 0xc3c -/* 802587DC 0025573C 80 1C 0C 44 */ lwz r0, 0xc44(r28) -/* 802587E0 00255740 28 00 00 00 */ cmplwi r0, 0 -/* 802587E4 00255744 41 82 00 0C */ beq lbl_802587F0 -/* 802587E8 00255748 38 60 00 01 */ li r3, 1 -/* 802587EC 0025574C 48 00 00 3C */ b lbl_80258828 -lbl_802587F0: -/* 802587F0 00255750 88 18 00 04 */ lbz r0, 4(r24) -/* 802587F4 00255754 28 00 00 00 */ cmplwi r0, 0 -/* 802587F8 00255758 41 82 00 2C */ beq lbl_80258824 -/* 802587FC 0025575C 80 78 00 00 */ lwz r3, 0(r24) -/* 80258800 00255760 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80258804 00255764 28 00 00 00 */ cmplwi r0, 0 -/* 80258808 00255768 41 82 00 1C */ beq lbl_80258824 -/* 8025880C 0025576C 7F 03 C3 78 */ mr r3, r24 -/* 80258810 00255770 48 0E 85 FD */ bl GetObj__6CTokenFv -/* 80258814 00255774 80 03 00 04 */ lwz r0, 4(r3) -/* 80258818 00255778 38 60 00 01 */ li r3, 1 -/* 8025881C 0025577C 90 18 00 08 */ stw r0, 8(r24) -/* 80258820 00255780 48 00 00 08 */ b lbl_80258828 -lbl_80258824: -/* 80258824 00255784 38 60 00 00 */ li r3, 0 -lbl_80258828: -/* 80258828 00255788 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025882C 0025578C 41 82 04 74 */ beq lbl_80258CA0 -/* 80258830 00255790 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80258834 00255794 7F A3 EB 78 */ mr r3, r29 -/* 80258838 00255798 38 81 00 68 */ addi r4, r1, 0x68 -/* 8025883C 0025579C 38 A0 00 09 */ li r5, 9 -/* 80258840 002557A0 B0 01 00 64 */ sth r0, 0x64(r1) -/* 80258844 002557A4 38 C0 00 08 */ li r6, 8 -/* 80258848 002557A8 B0 01 00 68 */ sth r0, 0x68(r1) -/* 8025884C 002557AC 4B DE CE E5 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 80258850 002557B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80258854 002557B4 41 82 04 4C */ beq lbl_80258CA0 -/* 80258858 002557B8 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8025885C 002557BC C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) -/* 80258860 002557C0 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) -/* 80258864 002557C4 48 0B 9C E1 */ bl Range__9CRandom16Fff -/* 80258868 002557C8 FF A0 08 90 */ fmr f29, f1 -/* 8025886C 002557CC 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80258870 002557D0 C0 22 B9 AC */ lfs f1, lbl_805AD6CC@sda21(r2) -/* 80258874 002557D4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) -/* 80258878 002557D8 48 0B 9C CD */ bl Range__9CRandom16Fff -/* 8025887C 002557DC FF C0 08 90 */ fmr f30, f1 -/* 80258880 002557E0 C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80258884 002557E4 D3 A1 01 4C */ stfs f29, 0x14c(r1) -/* 80258888 002557E8 7F 84 E3 78 */ mr r4, r28 -/* 8025888C 002557EC 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80258890 002557F0 38 BC 0A 30 */ addi r5, r28, 0xa30 -/* 80258894 002557F4 D0 01 01 50 */ stfs f0, 0x150(r1) -/* 80258898 002557F8 D3 C1 01 54 */ stfs f30, 0x154(r1) -/* 8025889C 002557FC 4B E2 00 1D */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 802588A0 00255800 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802588A4 00255804 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 802588A8 00255808 38 A1 01 4C */ addi r5, r1, 0x14c -/* 802588AC 0025580C 48 0B A2 3D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802588B0 00255810 C0 21 00 F4 */ lfs f1, 0xf4(r1) -/* 802588B4 00255814 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802588B8 00255818 C0 81 00 F8 */ lfs f4, 0xf8(r1) -/* 802588BC 0025581C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802588C0 00255820 C0 61 00 FC */ lfs f3, 0xfc(r1) -/* 802588C4 00255824 38 61 01 80 */ addi r3, r1, 0x180 -/* 802588C8 00255828 D0 21 01 40 */ stfs f1, 0x140(r1) -/* 802588CC 0025582C 38 81 01 40 */ addi r4, r1, 0x140 -/* 802588D0 00255830 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 802588D4 00255834 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 802588D8 00255838 D0 81 01 44 */ stfs f4, 0x144(r1) -/* 802588DC 0025583C EC 40 07 B2 */ fmuls f2, f0, f30 -/* 802588E0 00255840 C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 802588E4 00255844 D0 61 01 48 */ stfs f3, 0x148(r1) -/* 802588E8 00255848 EC 00 07 72 */ fmuls f0, f0, f29 -/* 802588EC 0025584C 80 FD 08 4C */ lwz r7, 0x84c(r29) -/* 802588F0 00255850 C0 A7 00 60 */ lfs f5, 0x60(r7) -/* 802588F4 00255854 C0 87 00 50 */ lfs f4, 0x50(r7) -/* 802588F8 00255858 C0 67 00 40 */ lfs f3, 0x40(r7) -/* 802588FC 0025585C EC 25 08 2A */ fadds f1, f5, f1 -/* 80258900 00255860 EC 44 10 2A */ fadds f2, f4, f2 -/* 80258904 00255864 D0 81 00 E0 */ stfs f4, 0xe0(r1) -/* 80258908 00255868 EC 03 00 2A */ fadds f0, f3, f0 -/* 8025890C 0025586C D0 61 00 DC */ stfs f3, 0xdc(r1) -/* 80258910 00255870 D0 A1 00 E4 */ stfs f5, 0xe4(r1) -/* 80258914 00255874 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 80258918 00255878 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 8025891C 0025587C D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 80258920 00255880 48 0B B1 F1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80258924 00255884 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 80258928 00255888 38 81 01 80 */ addi r4, r1, 0x180 -/* 8025892C 0025588C 48 0B A2 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80258930 00255890 C0 41 01 40 */ lfs f2, 0x140(r1) -/* 80258934 00255894 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 80258938 00255898 C0 21 01 44 */ lfs f1, 0x144(r1) -/* 8025893C 0025589C 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l -/* 80258940 002558A0 C0 01 01 48 */ lfs f0, 0x148(r1) -/* 80258944 002558A4 38 83 00 85 */ addi r4, r3, 0x85 -/* 80258948 002558A8 D0 41 02 DC */ stfs f2, 0x2dc(r1) -/* 8025894C 002558AC 3B 20 00 00 */ li r25, 0 -/* 80258950 002558B0 38 60 03 D8 */ li r3, 0x3d8 -/* 80258954 002558B4 38 A0 00 00 */ li r5, 0 -/* 80258958 002558B8 D0 21 02 EC */ stfs f1, 0x2ec(r1) -/* 8025895C 002558BC D0 01 02 FC */ stfs f0, 0x2fc(r1) -/* 80258960 002558C0 48 0B CF 0D */ bl __nw__FUlPCcPCc -/* 80258964 002558C4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80258968 002558C8 41 82 00 BC */ beq lbl_80258A24 -/* 8025896C 002558CC C0 02 B9 28 */ lfs f0, lbl_805AD648@sda21(r2) -/* 80258970 002558D0 38 60 00 00 */ li r3, 0 -/* 80258974 002558D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80258978 002558D8 7F A4 EB 78 */ mr r4, r29 -/* 8025897C 002558DC 98 61 00 D8 */ stb r3, 0xd8(r1) -/* 80258980 002558E0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80258984 002558E4 3B 20 00 01 */ li r25, 1 -/* 80258988 002558E8 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8025898C 002558EC D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 80258990 002558F0 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80258994 002558F4 B0 01 00 60 */ sth r0, 0x60(r1) -/* 80258998 002558F8 A0 BC 00 08 */ lhz r5, 8(r28) -/* 8025899C 002558FC B0 A1 00 5C */ sth r5, 0x5c(r1) -/* 802589A0 00255900 80 1C 00 04 */ lwz r0, 4(r28) -/* 802589A4 00255904 B0 A1 00 58 */ sth r5, 0x58(r1) -/* 802589A8 00255908 90 01 00 8C */ stw r0, 0x8c(r1) -/* 802589AC 0025590C 90 01 00 90 */ stw r0, 0x90(r1) -/* 802589B0 00255910 4B DF 47 2D */ bl AllocateUniqueId__13CStateManagerFv -/* 802589B4 00255914 A0 61 00 50 */ lhz r3, 0x50(r1) -/* 802589B8 00255918 38 01 00 90 */ addi r0, r1, 0x90 -/* 802589BC 0025591C 38 C1 00 5C */ addi r6, r1, 0x5c -/* 802589C0 00255920 38 81 00 60 */ addi r4, r1, 0x60 -/* 802589C4 00255924 B0 61 00 54 */ sth r3, 0x54(r1) -/* 802589C8 00255928 3B 00 00 00 */ li r24, 0 -/* 802589CC 0025592C 39 81 00 C0 */ addi r12, r1, 0xc0 -/* 802589D0 00255930 39 61 00 CC */ addi r11, r1, 0xcc -/* 802589D4 00255934 90 01 00 08 */ stw r0, 8(r1) -/* 802589D8 00255938 7F 63 DB 78 */ mr r3, r27 -/* 802589DC 0025593C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 802589E0 00255940 38 BC 0C 3C */ addi r5, r28, 0xc3c -/* 802589E4 00255944 90 C1 00 0C */ stw r6, 0xc(r1) -/* 802589E8 00255948 38 E1 02 D0 */ addi r7, r1, 0x2d0 -/* 802589EC 0025594C 39 3C 0C 48 */ addi r9, r28, 0xc48 -/* 802589F0 00255950 39 41 00 54 */ addi r10, r1, 0x54 -/* 802589F4 00255954 90 81 00 10 */ stw r4, 0x10(r1) -/* 802589F8 00255958 38 80 00 01 */ li r4, 1 -/* 802589FC 0025595C 38 C0 00 09 */ li r6, 9 -/* 80258A00 00255960 39 00 00 21 */ li r8, 0x21 -/* 80258A04 00255964 93 01 00 14 */ stw r24, 0x14(r1) -/* 80258A08 00255968 93 01 00 18 */ stw r24, 0x18(r1) -/* 80258A0C 0025596C 91 81 00 1C */ stw r12, 0x1c(r1) -/* 80258A10 00255970 91 61 00 20 */ stw r11, 0x20(r1) -/* 80258A14 00255974 90 01 00 24 */ stw r0, 0x24(r1) -/* 80258A18 00255978 93 01 00 28 */ stw r24, 0x28(r1) -/* 80258A1C 0025597C 4B FB CC 7D */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 80258A20 00255980 7C 7B 1B 78 */ mr r27, r3 -lbl_80258A24: -/* 80258A24 00255984 7F 20 07 75 */ extsb. r0, r25 -/* 80258A28 00255988 41 82 00 30 */ beq lbl_80258A58 -/* 80258A2C 0025598C 88 01 00 D8 */ lbz r0, 0xd8(r1) -/* 80258A30 00255990 28 00 00 00 */ cmplwi r0, 0 -/* 80258A34 00255994 41 82 00 1C */ beq lbl_80258A50 -/* 80258A38 00255998 34 61 00 CC */ addic. r3, r1, 0xcc -/* 80258A3C 0025599C 41 82 00 14 */ beq lbl_80258A50 -/* 80258A40 002559A0 28 03 00 00 */ cmplwi r3, 0 -/* 80258A44 002559A4 41 82 00 0C */ beq lbl_80258A50 -/* 80258A48 002559A8 38 80 00 00 */ li r4, 0 -/* 80258A4C 002559AC 48 0E 83 F5 */ bl __dt__6CTokenFv -lbl_80258A50: -/* 80258A50 002559B0 38 00 00 00 */ li r0, 0 -/* 80258A54 002559B4 98 01 00 D8 */ stb r0, 0xd8(r1) -lbl_80258A58: -/* 80258A58 002559B8 28 1B 00 00 */ cmplwi r27, 0 -/* 80258A5C 002559BC 41 82 02 44 */ beq lbl_80258CA0 -/* 80258A60 002559C0 7F A3 EB 78 */ mr r3, r29 -/* 80258A64 002559C4 7F 64 DB 78 */ mr r4, r27 -/* 80258A68 002559C8 4B DF 42 8D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80258A6C 002559CC 7F 63 DB 78 */ mr r3, r27 -/* 80258A70 002559D0 38 9C 07 28 */ addi r4, r28, 0x728 -/* 80258A74 002559D4 4B FB B0 59 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData -/* 80258A78 002559D8 48 00 02 28 */ b lbl_80258CA0 -lbl_80258A7C: -/* 80258A7C 002559DC 80 1C 0C 64 */ lwz r0, 0xc64(r28) -/* 80258A80 002559E0 2C 00 00 03 */ cmpwi r0, 3 -/* 80258A84 002559E4 40 82 02 1C */ bne lbl_80258CA0 -/* 80258A88 002559E8 88 1C 0A 31 */ lbz r0, 0xa31(r28) -/* 80258A8C 002559EC 38 60 00 00 */ li r3, 0 -/* 80258A90 002559F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80258A94 002559F4 98 1C 0A 31 */ stb r0, 0xa31(r28) -/* 80258A98 002559F8 48 00 02 08 */ b lbl_80258CA0 -/* 80258A9C 002559FC 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 80258AA0 00255A00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80258AA4 00255A04 41 82 01 FC */ beq lbl_80258CA0 -/* 80258AA8 00255A08 7F A6 EB 78 */ mr r6, r29 -/* 80258AAC 00255A0C 38 80 00 28 */ li r4, 0x28 -/* 80258AB0 00255A10 38 A0 00 29 */ li r5, 0x29 -/* 80258AB4 00255A14 4B DF B4 21 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80258AB8 00255A18 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80258ABC 00255A1C 7F A6 EB 78 */ mr r6, r29 -/* 80258AC0 00255A20 38 81 00 4C */ addi r4, r1, 0x4c -/* 80258AC4 00255A24 38 A0 00 08 */ li r5, 8 -/* 80258AC8 00255A28 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 80258ACC 00255A2C B0 01 00 48 */ sth r0, 0x48(r1) -/* 80258AD0 00255A30 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80258AD4 00255A34 4B F2 27 81 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 80258AD8 00255A38 3B 40 00 01 */ li r26, 1 -/* 80258ADC 00255A3C 48 00 01 C4 */ b lbl_80258CA0 -/* 80258AE0 00255A40 3C 80 80 5A */ lis r4, lbl_805A6700@ha -/* 80258AE4 00255A44 38 84 67 00 */ addi r4, r4, lbl_805A6700@l -/* 80258AE8 00255A48 4B EC 21 B9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80258AEC 00255A4C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80258AF0 00255A50 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80258AF4 00255A54 D0 1C 0A EC */ stfs f0, 0xaec(r28) -/* 80258AF8 00255A58 C0 03 00 04 */ lfs f0, 4(r3) -/* 80258AFC 00255A5C D0 1C 0A F0 */ stfs f0, 0xaf0(r28) -/* 80258B00 00255A60 C0 03 00 08 */ lfs f0, 8(r3) -/* 80258B04 00255A64 D0 1C 0A F4 */ stfs f0, 0xaf4(r28) -/* 80258B08 00255A68 C0 03 00 00 */ lfs f0, 0(r3) -/* 80258B0C 00255A6C D0 1C 0A F8 */ stfs f0, 0xaf8(r28) -/* 80258B10 00255A70 C0 03 00 04 */ lfs f0, 4(r3) -/* 80258B14 00255A74 D0 1C 0A FC */ stfs f0, 0xafc(r28) -/* 80258B18 00255A78 C0 03 00 08 */ lfs f0, 8(r3) -/* 80258B1C 00255A7C D0 1C 0B 00 */ stfs f0, 0xb00(r28) -/* 80258B20 00255A80 48 00 01 80 */ b lbl_80258CA0 -/* 80258B24 00255A84 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 80258B28 00255A88 38 60 00 00 */ li r3, 0 -/* 80258B2C 00255A8C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80258B30 00255A90 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80258B34 00255A94 98 1C 03 28 */ stb r0, 0x328(r28) -/* 80258B38 00255A98 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 80258B3C 00255A9C C0 1C 00 60 */ lfs f0, 0x60(r28) -/* 80258B40 00255AA0 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 80258B44 00255AA4 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80258B48 00255AA8 C0 5C 00 50 */ lfs f2, 0x50(r28) -/* 80258B4C 00255AAC EC 25 00 28 */ fsubs f1, f5, f0 -/* 80258B50 00255AB0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80258B54 00255AB4 C0 7C 00 40 */ lfs f3, 0x40(r28) -/* 80258B58 00255AB8 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80258B5C 00255ABC D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80258B60 00255AC0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80258B64 00255AC4 D0 81 00 AC */ stfs f4, 0xac(r1) -/* 80258B68 00255AC8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) -/* 80258B6C 00255ACC D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80258B70 00255AD0 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 80258B74 00255AD4 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 80258B78 00255AD8 48 0B BD 41 */ bl Magnitude__9CVector3fCFv -/* 80258B7C 00255ADC C0 1C 08 F0 */ lfs f0, 0x8f0(r28) -/* 80258B80 00255AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80258B84 00255AE4 40 80 01 1C */ bge lbl_80258CA0 -/* 80258B88 00255AE8 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) -/* 80258B8C 00255AEC 38 60 00 00 */ li r3, 0 -/* 80258B90 00255AF0 38 80 00 01 */ li r4, 1 -/* 80258B94 00255AF4 48 13 13 61 */ bl __shl2i -/* 80258B98 00255AF8 39 40 00 00 */ li r10, 0 -/* 80258B9C 00255AFC 38 00 00 03 */ li r0, 3 -/* 80258BA0 00255B00 90 81 01 6C */ stw r4, 0x16c(r1) -/* 80258BA4 00255B04 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80258BA8 00255B08 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80258BAC 00255B0C 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80258BB0 00255B10 90 61 01 68 */ stw r3, 0x168(r1) -/* 80258BB4 00255B14 38 81 00 44 */ addi r4, r1, 0x44 -/* 80258BB8 00255B18 7F A3 EB 78 */ mr r3, r29 -/* 80258BBC 00255B1C 38 C1 00 34 */ addi r6, r1, 0x34 -/* 80258BC0 00255B20 91 41 01 74 */ stw r10, 0x174(r1) -/* 80258BC4 00255B24 38 FC 08 00 */ addi r7, r28, 0x800 -/* 80258BC8 00255B28 39 01 01 68 */ addi r8, r1, 0x168 -/* 80258BCC 00255B2C 91 41 01 70 */ stw r10, 0x170(r1) -/* 80258BD0 00255B30 90 01 01 78 */ stw r0, 0x178(r1) -/* 80258BD4 00255B34 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80258BD8 00255B38 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80258BDC 00255B3C 81 5D 08 4C */ lwz r10, 0x84c(r29) -/* 80258BE0 00255B40 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80258BE4 00255B44 A1 4A 00 08 */ lhz r10, 8(r10) -/* 80258BE8 00255B48 B1 41 00 3C */ sth r10, 0x3c(r1) -/* 80258BEC 00255B4C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80258BF0 00255B50 B1 41 00 38 */ sth r10, 0x38(r1) -/* 80258BF4 00255B54 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80258BF8 00255B58 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80258BFC 00255B5C 4B DF 14 A5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80258C00 00255B60 48 00 00 A0 */ b lbl_80258CA0 -/* 80258C04 00255B64 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 80258C08 00255B68 38 60 00 01 */ li r3, 1 -/* 80258C0C 00255B6C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80258C10 00255B70 98 1C 0A 32 */ stb r0, 0xa32(r28) -/* 80258C14 00255B74 48 00 00 8C */ b lbl_80258CA0 -/* 80258C18 00255B78 88 1C 0A 32 */ lbz r0, 0xa32(r28) -/* 80258C1C 00255B7C 38 60 00 00 */ li r3, 0 -/* 80258C20 00255B80 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80258C24 00255B84 98 1C 0A 32 */ stb r0, 0xa32(r28) -/* 80258C28 00255B88 48 00 00 78 */ b lbl_80258CA0 -/* 80258C2C 00255B8C 80 1C 0C 64 */ lwz r0, 0xc64(r28) -/* 80258C30 00255B90 2C 00 00 03 */ cmpwi r0, 3 -/* 80258C34 00255B94 41 82 00 28 */ beq lbl_80258C5C -/* 80258C38 00255B98 40 80 00 68 */ bge lbl_80258CA0 -/* 80258C3C 00255B9C 2C 00 00 02 */ cmpwi r0, 2 -/* 80258C40 00255BA0 40 80 00 08 */ bge lbl_80258C48 -/* 80258C44 00255BA4 48 00 00 5C */ b lbl_80258CA0 -lbl_80258C48: -/* 80258C48 00255BA8 88 1C 0A 33 */ lbz r0, 0xa33(r28) -/* 80258C4C 00255BAC 38 60 00 00 */ li r3, 0 -/* 80258C50 00255BB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80258C54 00255BB4 98 1C 0A 33 */ stb r0, 0xa33(r28) -/* 80258C58 00255BB8 48 00 00 48 */ b lbl_80258CA0 -lbl_80258C5C: -/* 80258C5C 00255BBC 4B FF EB F1 */ bl sub_8025784c -/* 80258C60 00255BC0 48 00 00 40 */ b lbl_80258CA0 -/* 80258C64 00255BC4 80 1C 0C 64 */ lwz r0, 0xc64(r28) -/* 80258C68 00255BC8 2C 00 00 03 */ cmpwi r0, 3 -/* 80258C6C 00255BCC 41 82 00 30 */ beq lbl_80258C9C -/* 80258C70 00255BD0 40 80 00 30 */ bge lbl_80258CA0 -/* 80258C74 00255BD4 2C 00 00 02 */ cmpwi r0, 2 -/* 80258C78 00255BD8 40 80 00 08 */ bge lbl_80258C80 -/* 80258C7C 00255BDC 48 00 00 24 */ b lbl_80258CA0 -lbl_80258C80: -/* 80258C80 00255BE0 88 7C 0A 33 */ lbz r3, 0xa33(r28) -/* 80258C84 00255BE4 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 80258C88 00255BE8 41 82 00 18 */ beq lbl_80258CA0 -/* 80258C8C 00255BEC 38 00 00 01 */ li r0, 1 -/* 80258C90 00255BF0 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 80258C94 00255BF4 98 7C 0A 33 */ stb r3, 0xa33(r28) -/* 80258C98 00255BF8 48 00 00 08 */ b lbl_80258CA0 -lbl_80258C9C: -/* 80258C9C 00255BFC 4B FF E9 B5 */ bl sub_80257650 -lbl_80258CA0: -/* 80258CA0 00255C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80258CA4 00255C04 40 82 00 1C */ bne lbl_80258CC0 -/* 80258CA8 00255C08 FC 20 F8 90 */ fmr f1, f31 -/* 80258CAC 00255C0C 7F 83 E3 78 */ mr r3, r28 -/* 80258CB0 00255C10 7F A4 EB 78 */ mr r4, r29 -/* 80258CB4 00255C14 7F C5 F3 78 */ mr r5, r30 -/* 80258CB8 00255C18 7F E6 FB 78 */ mr r6, r31 -/* 80258CBC 00255C1C 4B E2 01 F5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80258CC0: -/* 80258CC0 00255C20 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 -/* 80258CC4 00255C24 CB E1 03 A0 */ lfd f31, 0x3a0(r1) -/* 80258CC8 00255C28 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 -/* 80258CCC 00255C2C CB C1 03 90 */ lfd f30, 0x390(r1) -/* 80258CD0 00255C30 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 -/* 80258CD4 00255C34 CB A1 03 80 */ lfd f29, 0x380(r1) -/* 80258CD8 00255C38 BB 01 03 60 */ lmw r24, 0x360(r1) -/* 80258CDC 00255C3C 80 01 03 B4 */ lwz r0, 0x3b4(r1) -/* 80258CE0 00255C40 7C 08 03 A6 */ mtlr r0 -/* 80258CE4 00255C44 38 21 03 B0 */ addi r1, r1, 0x3b0 -/* 80258CE8 00255C48 4E 80 00 20 */ blr - -.global AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__7CRidleyF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80258CEC 00255C4C 94 21 FC B0 */ stwu r1, -0x350(r1) -/* 80258CF0 00255C50 7C 08 02 A6 */ mflr r0 -/* 80258CF4 00255C54 90 01 03 54 */ stw r0, 0x354(r1) -/* 80258CF8 00255C58 DB E1 03 40 */ stfd f31, 0x340(r1) -/* 80258CFC 00255C5C F3 E1 03 48 */ psq_st f31, 840(r1), 0, qr0 -/* 80258D00 00255C60 DB C1 03 30 */ stfd f30, 0x330(r1) -/* 80258D04 00255C64 F3 C1 03 38 */ psq_st f30, 824(r1), 0, qr0 -/* 80258D08 00255C68 BF 41 03 18 */ stmw r26, 0x318(r1) -/* 80258D0C 00255C6C 7C BA 2B 78 */ mr r26, r5 -/* 80258D10 00255C70 7C 7F 1B 78 */ mr r31, r3 -/* 80258D14 00255C74 A0 05 00 00 */ lhz r0, 0(r5) -/* 80258D18 00255C78 7C 9B 23 78 */ mr r27, r4 -/* 80258D1C 00255C7C 7C DE 33 78 */ mr r30, r6 -/* 80258D20 00255C80 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80258D24 00255C84 B0 01 00 98 */ sth r0, 0x98(r1) -/* 80258D28 00255C88 4B E2 3E 51 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80258D2C 00255C8C 28 1B 00 2A */ cmplwi r27, 0x2a -/* 80258D30 00255C90 41 81 0F 7C */ bgt lbl_80259CAC -/* 80258D34 00255C94 3C 60 80 3F */ lis r3, lbl_803E95A4@ha -/* 80258D38 00255C98 57 60 10 3A */ slwi r0, r27, 2 -/* 80258D3C 00255C9C 38 63 95 A4 */ addi r3, r3, lbl_803E95A4@l -/* 80258D40 00255CA0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80258D44 00255CA4 7C 09 03 A6 */ mtctr r0 -/* 80258D48 00255CA8 4E 80 04 20 */ bctr -/* 80258D4C 00255CAC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80258D50 00255CB0 7F C4 F3 78 */ mr r4, r30 -/* 80258D54 00255CB4 4B EE 1F 9D */ bl Activate__15CBodyControllerFR13CStateManager -/* 80258D58 00255CB8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80258D5C 00255CBC 38 80 00 01 */ li r4, 1 -/* 80258D60 00255CC0 4B EE 1C 79 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80258D64 00255CC4 7F E3 FB 78 */ mr r3, r31 -/* 80258D68 00255CC8 7F C4 F3 78 */ mr r4, r30 -/* 80258D6C 00255CCC 4B FF E2 D9 */ bl sub_80257044 -/* 80258D70 00255CD0 7F E3 FB 78 */ mr r3, r31 -/* 80258D74 00255CD4 7F C4 F3 78 */ mr r4, r30 -/* 80258D78 00255CD8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258D7C 00255CDC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80258D80 00255CE0 7D 89 03 A6 */ mtctr r12 -/* 80258D84 00255CE4 4E 80 04 21 */ bctrl -/* 80258D88 00255CE8 C0 03 00 00 */ lfs f0, 0(r3) -/* 80258D8C 00255CEC C0 22 B9 1C */ lfs f1, lbl_805AD63C@sda21(r2) -/* 80258D90 00255CF0 D0 1F 0C B8 */ stfs f0, 0xcb8(r31) -/* 80258D94 00255CF4 C0 1F 0C B8 */ lfs f0, 0xcb8(r31) -/* 80258D98 00255CF8 D0 1F 0B 10 */ stfs f0, 0xb10(r31) -/* 80258D9C 00255CFC C0 1F 0C B8 */ lfs f0, 0xcb8(r31) -/* 80258DA0 00255D00 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80258DA4 00255D04 D0 1F 0C BC */ stfs f0, 0xcbc(r31) -/* 80258DA8 00255D08 48 00 0F 04 */ b lbl_80259CAC -/* 80258DAC 00255D0C 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 80258DB0 00255D10 38 60 00 01 */ li r3, 1 -/* 80258DB4 00255D14 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80258DB8 00255D18 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80258DBC 00255D1C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80258DC0 00255D20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80258DC4 00255D24 40 82 0E E8 */ bne lbl_80259CAC -/* 80258DC8 00255D28 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80258DCC 00255D2C 7F E3 FB 78 */ mr r3, r31 -/* 80258DD0 00255D30 7F C6 F3 78 */ mr r6, r30 -/* 80258DD4 00255D34 38 A1 00 94 */ addi r5, r1, 0x94 -/* 80258DD8 00255D38 B0 01 00 94 */ sth r0, 0x94(r1) -/* 80258DDC 00255D3C 38 80 00 01 */ li r4, 1 -/* 80258DE0 00255D40 4B E2 3D 99 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80258DE4 00255D44 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80258DE8 00255D48 7F C3 F3 78 */ mr r3, r30 -/* 80258DEC 00255D4C 38 81 00 90 */ addi r4, r1, 0x90 -/* 80258DF0 00255D50 38 A0 00 5A */ li r5, 0x5a -/* 80258DF4 00255D54 B0 01 00 90 */ sth r0, 0x90(r1) -/* 80258DF8 00255D58 C0 3F 0C B8 */ lfs f1, 0xcb8(r31) -/* 80258DFC 00255D5C C0 1F 0B 18 */ lfs f0, 0xb18(r31) -/* 80258E00 00255D60 C0 5F 0B 1C */ lfs f2, 0xb1c(r31) -/* 80258E04 00255D64 EC 01 00 2A */ fadds f0, f1, f0 -/* 80258E08 00255D68 B0 01 00 8C */ sth r0, 0x8c(r1) -/* 80258E0C 00255D6C EC 22 00 2A */ fadds f1, f2, f0 -/* 80258E10 00255D70 4B DE B1 35 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 80258E14 00255D74 C0 3F 0B 10 */ lfs f1, 0xb10(r31) -/* 80258E18 00255D78 7F E3 FB 78 */ mr r3, r31 -/* 80258E1C 00255D7C C0 1F 0B 18 */ lfs f0, 0xb18(r31) -/* 80258E20 00255D80 7F C4 F3 78 */ mr r4, r30 -/* 80258E24 00255D84 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258E28 00255D88 EC 01 00 2A */ fadds f0, f1, f0 -/* 80258E2C 00255D8C C0 3F 0B 1C */ lfs f1, 0xb1c(r31) -/* 80258E30 00255D90 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80258E34 00255D94 EF E1 00 2A */ fadds f31, f1, f0 -/* 80258E38 00255D98 7D 89 03 A6 */ mtctr r12 -/* 80258E3C 00255D9C 4E 80 04 21 */ bctrl -/* 80258E40 00255DA0 D3 E3 00 00 */ stfs f31, 0(r3) -/* 80258E44 00255DA4 38 60 00 01 */ li r3, 1 -/* 80258E48 00255DA8 C0 22 B9 B4 */ lfs f1, lbl_805AD6D4@sda21(r2) -/* 80258E4C 00255DAC 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80258E50 00255DB0 C0 02 B9 B8 */ lfs f0, lbl_805AD6D8@sda21(r2) -/* 80258E54 00255DB4 88 04 09 C6 */ lbz r0, 0x9c6(r4) -/* 80258E58 00255DB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80258E5C 00255DBC 98 04 09 C6 */ stb r0, 0x9c6(r4) -/* 80258E60 00255DC0 D0 24 0A 20 */ stfs f1, 0xa20(r4) -/* 80258E64 00255DC4 D0 04 0A 24 */ stfs f0, 0xa24(r4) -/* 80258E68 00255DC8 48 00 0E 44 */ b lbl_80259CAC -/* 80258E6C 00255DCC 80 7F 09 84 */ lwz r3, 0x984(r31) -/* 80258E70 00255DD0 7F C4 F3 78 */ mr r4, r30 -/* 80258E74 00255DD4 38 A0 00 00 */ li r5, 0 -/* 80258E78 00255DD8 4B F4 E4 81 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80258E7C 00255DDC 80 7F 09 80 */ lwz r3, 0x980(r31) -/* 80258E80 00255DE0 7F C4 F3 78 */ mr r4, r30 -/* 80258E84 00255DE4 38 A0 00 00 */ li r5, 0 -/* 80258E88 00255DE8 4B F4 E4 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80258E8C 00255DEC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80258E90 00255DF0 38 80 00 00 */ li r4, 0 -/* 80258E94 00255DF4 88 03 09 C6 */ lbz r0, 0x9c6(r3) -/* 80258E98 00255DF8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80258E9C 00255DFC 98 03 09 C6 */ stb r0, 0x9c6(r3) -/* 80258EA0 00255E00 48 00 0E 0C */ b lbl_80259CAC -/* 80258EA4 00255E04 80 7F 09 84 */ lwz r3, 0x984(r31) -/* 80258EA8 00255E08 7F C4 F3 78 */ mr r4, r30 -/* 80258EAC 00255E0C 4B F4 E5 19 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 80258EB0 00255E10 80 7F 09 80 */ lwz r3, 0x980(r31) -/* 80258EB4 00255E14 7F C4 F3 78 */ mr r4, r30 -/* 80258EB8 00255E18 4B F4 E5 0D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 80258EBC 00255E1C A0 7F 0B 64 */ lhz r3, 0xb64(r31) -/* 80258EC0 00255E20 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80258EC4 00255E24 7C 03 00 40 */ cmplw r3, r0 -/* 80258EC8 00255E28 41 82 0D E4 */ beq lbl_80259CAC -/* 80258ECC 00255E2C A0 1F 0B 64 */ lhz r0, 0xb64(r31) -/* 80258ED0 00255E30 7F C3 F3 78 */ mr r3, r30 -/* 80258ED4 00255E34 38 81 00 88 */ addi r4, r1, 0x88 -/* 80258ED8 00255E38 B0 01 00 88 */ sth r0, 0x88(r1) -/* 80258EDC 00255E3C 4B DF 33 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80258EE0 00255E40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80258EE4 00255E44 B0 1F 0B 64 */ sth r0, 0xb64(r31) -/* 80258EE8 00255E48 48 00 0D C4 */ b lbl_80259CAC -/* 80258EEC 00255E4C 7F E4 FB 78 */ mr r4, r31 -/* 80258EF0 00255E50 7F C5 F3 78 */ mr r5, r30 -/* 80258EF4 00255E54 38 61 00 84 */ addi r3, r1, 0x84 -/* 80258EF8 00255E58 38 C0 00 0D */ li r6, 0xd -/* 80258EFC 00255E5C 38 E0 00 06 */ li r7, 6 -/* 80258F00 00255E60 4B F9 C0 99 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80258F04 00255E64 A0 61 00 84 */ lhz r3, 0x84(r1) -/* 80258F08 00255E68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80258F0C 00255E6C B0 61 00 A4 */ sth r3, 0xa4(r1) -/* 80258F10 00255E70 7C 03 00 40 */ cmplw r3, r0 -/* 80258F14 00255E74 41 82 0D 98 */ beq lbl_80259CAC -/* 80258F18 00255E78 B0 61 00 80 */ sth r3, 0x80(r1) -/* 80258F1C 00255E7C 7F C3 F3 78 */ mr r3, r30 -/* 80258F20 00255E80 38 81 00 80 */ addi r4, r1, 0x80 -/* 80258F24 00255E84 4B DF 36 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80258F28 00255E88 7C 64 1B 78 */ mr r4, r3 -/* 80258F2C 00255E8C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80258F30 00255E90 4B E4 D6 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80258F34 00255E94 83 43 00 04 */ lwz r26, 4(r3) -/* 80258F38 00255E98 28 1A 00 00 */ cmplwi r26, 0 -/* 80258F3C 00255E9C 41 82 0D 70 */ beq lbl_80259CAC -/* 80258F40 00255EA0 38 7F 0A 84 */ addi r3, r31, 0xa84 -/* 80258F44 00255EA4 38 9A 00 34 */ addi r4, r26, 0x34 -/* 80258F48 00255EA8 48 0B 9B F9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80258F4C 00255EAC 7F 44 D3 78 */ mr r4, r26 -/* 80258F50 00255EB0 7F C5 F3 78 */ mr r5, r30 -/* 80258F54 00255EB4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80258F58 00255EB8 4B E1 E1 DD */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 80258F5C 00255EBC A0 01 00 78 */ lhz r0, 0x78(r1) -/* 80258F60 00255EC0 7F C3 F3 78 */ mr r3, r30 -/* 80258F64 00255EC4 38 81 00 7C */ addi r4, r1, 0x7c -/* 80258F68 00255EC8 B0 01 00 7C */ sth r0, 0x7c(r1) -/* 80258F6C 00255ECC 4B DF 36 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80258F70 00255ED0 7C 64 1B 78 */ mr r4, r3 -/* 80258F74 00255ED4 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80258F78 00255ED8 4B E4 D5 D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80258F7C 00255EDC 83 63 00 04 */ lwz r27, 4(r3) -/* 80258F80 00255EE0 28 1B 00 00 */ cmplwi r27, 0 -/* 80258F84 00255EE4 41 82 0D 28 */ beq lbl_80259CAC -/* 80258F88 00255EE8 C0 9B 00 50 */ lfs f4, 0x50(r27) -/* 80258F8C 00255EEC 38 61 01 08 */ addi r3, r1, 0x108 -/* 80258F90 00255EF0 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80258F94 00255EF4 C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 80258F98 00255EF8 EC 44 08 28 */ fsubs f2, f4, f1 -/* 80258F9C 00255EFC C0 3A 00 40 */ lfs f1, 0x40(r26) -/* 80258FA0 00255F00 C0 BB 00 60 */ lfs f5, 0x60(r27) -/* 80258FA4 00255F04 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 80258FA8 00255F08 EC 20 08 28 */ fsubs f1, f0, f1 -/* 80258FAC 00255F0C D0 01 01 AC */ stfs f0, 0x1ac(r1) -/* 80258FB0 00255F10 EC 65 18 28 */ fsubs f3, f5, f3 -/* 80258FB4 00255F14 D0 81 01 B0 */ stfs f4, 0x1b0(r1) -/* 80258FB8 00255F18 D0 A1 01 B4 */ stfs f5, 0x1b4(r1) -/* 80258FBC 00255F1C D0 21 01 B8 */ stfs f1, 0x1b8(r1) -/* 80258FC0 00255F20 D0 41 01 BC */ stfs f2, 0x1bc(r1) -/* 80258FC4 00255F24 D0 61 01 C0 */ stfs f3, 0x1c0(r1) -/* 80258FC8 00255F28 48 0B B2 39 */ bl __ct__9CVector2fFff -/* 80258FCC 00255F2C 38 61 01 08 */ addi r3, r1, 0x108 -/* 80258FD0 00255F30 48 0B B1 25 */ bl Magnitude__9CVector2fCFv -/* 80258FD4 00255F34 D0 3F 0A B4 */ stfs f1, 0xab4(r31) -/* 80258FD8 00255F38 7F 64 DB 78 */ mr r4, r27 -/* 80258FDC 00255F3C 7F C5 F3 78 */ mr r5, r30 -/* 80258FE0 00255F40 38 61 00 70 */ addi r3, r1, 0x70 -/* 80258FE4 00255F44 C0 9F 0A B0 */ lfs f4, 0xab0(r31) -/* 80258FE8 00255F48 C0 DB 00 60 */ lfs f6, 0x60(r27) -/* 80258FEC 00255F4C C0 7F 0A A0 */ lfs f3, 0xaa0(r31) -/* 80258FF0 00255F50 C0 5F 0A 90 */ lfs f2, 0xa90(r31) -/* 80258FF4 00255F54 EC 06 20 28 */ fsubs f0, f6, f4 -/* 80258FF8 00255F58 C0 BB 00 50 */ lfs f5, 0x50(r27) -/* 80258FFC 00255F5C C0 3B 00 40 */ lfs f1, 0x40(r27) -/* 80259000 00255F60 D0 41 01 94 */ stfs f2, 0x194(r1) -/* 80259004 00255F64 D0 61 01 98 */ stfs f3, 0x198(r1) -/* 80259008 00255F68 D0 81 01 9C */ stfs f4, 0x19c(r1) -/* 8025900C 00255F6C D0 21 01 A0 */ stfs f1, 0x1a0(r1) -/* 80259010 00255F70 D0 A1 01 A4 */ stfs f5, 0x1a4(r1) -/* 80259014 00255F74 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) -/* 80259018 00255F78 D0 1F 0A B8 */ stfs f0, 0xab8(r31) -/* 8025901C 00255F7C 4B E1 E1 19 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 80259020 00255F80 A0 01 00 70 */ lhz r0, 0x70(r1) -/* 80259024 00255F84 7F C3 F3 78 */ mr r3, r30 -/* 80259028 00255F88 38 81 00 74 */ addi r4, r1, 0x74 -/* 8025902C 00255F8C B0 01 00 74 */ sth r0, 0x74(r1) -/* 80259030 00255F90 4B DF 35 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80259034 00255F94 7C 64 1B 78 */ mr r4, r3 -/* 80259038 00255F98 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8025903C 00255F9C 4B E4 D5 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80259040 00255FA0 83 43 00 04 */ lwz r26, 4(r3) -/* 80259044 00255FA4 28 1A 00 00 */ cmplwi r26, 0 -/* 80259048 00255FA8 41 82 0C 64 */ beq lbl_80259CAC -/* 8025904C 00255FAC C0 9A 00 50 */ lfs f4, 0x50(r26) -/* 80259050 00255FB0 38 61 01 00 */ addi r3, r1, 0x100 -/* 80259054 00255FB4 C0 3F 0A A0 */ lfs f1, 0xaa0(r31) -/* 80259058 00255FB8 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 8025905C 00255FBC EC 44 08 28 */ fsubs f2, f4, f1 -/* 80259060 00255FC0 C0 3F 0A 90 */ lfs f1, 0xa90(r31) -/* 80259064 00255FC4 C0 BA 00 60 */ lfs f5, 0x60(r26) -/* 80259068 00255FC8 C0 7F 0A B0 */ lfs f3, 0xab0(r31) -/* 8025906C 00255FCC EC 20 08 28 */ fsubs f1, f0, f1 -/* 80259070 00255FD0 D0 01 01 7C */ stfs f0, 0x17c(r1) -/* 80259074 00255FD4 EC 65 18 28 */ fsubs f3, f5, f3 -/* 80259078 00255FD8 D0 81 01 80 */ stfs f4, 0x180(r1) -/* 8025907C 00255FDC D0 A1 01 84 */ stfs f5, 0x184(r1) -/* 80259080 00255FE0 D0 21 01 88 */ stfs f1, 0x188(r1) -/* 80259084 00255FE4 D0 41 01 8C */ stfs f2, 0x18c(r1) -/* 80259088 00255FE8 D0 61 01 90 */ stfs f3, 0x190(r1) -/* 8025908C 00255FEC 48 0B B1 75 */ bl __ct__9CVector2fFff -/* 80259090 00255FF0 38 61 01 00 */ addi r3, r1, 0x100 -/* 80259094 00255FF4 48 0B B0 61 */ bl Magnitude__9CVector2fCFv -/* 80259098 00255FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) -/* 8025909C 00255FFC 38 61 02 78 */ addi r3, r1, 0x278 -/* 802590A0 00256000 C0 C2 B9 18 */ lfs f6, lbl_805AD638@sda21(r2) -/* 802590A4 00256004 38 81 01 58 */ addi r4, r1, 0x158 -/* 802590A8 00256008 C1 7F 0A B0 */ lfs f11, 0xab0(r31) -/* 802590AC 0025600C 38 A1 01 40 */ addi r5, r1, 0x140 -/* 802590B0 00256010 C3 FA 00 60 */ lfs f31, 0x60(r26) -/* 802590B4 00256014 C1 5F 0A A0 */ lfs f10, 0xaa0(r31) -/* 802590B8 00256018 C0 5F 0A 90 */ lfs f2, 0xa90(r31) -/* 802590BC 0025601C EC 1F 58 28 */ fsubs f0, f31, f11 -/* 802590C0 00256020 C1 BA 00 50 */ lfs f13, 0x50(r26) -/* 802590C4 00256024 C1 3A 00 40 */ lfs f9, 0x40(r26) -/* 802590C8 00256028 C0 82 B9 34 */ lfs f4, lbl_805AD654@sda21(r2) -/* 802590CC 0025602C D0 1F 0A C0 */ stfs f0, 0xac0(r31) -/* 802590D0 00256030 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 802590D4 00256034 C0 3F 0A B0 */ lfs f1, 0xab0(r31) -/* 802590D8 00256038 C1 9F 0A A0 */ lfs f12, 0xaa0(r31) -/* 802590DC 0025603C C3 DF 0A BC */ lfs f30, 0xabc(r31) -/* 802590E0 00256040 EC A1 30 2A */ fadds f5, f1, f6 -/* 802590E4 00256044 C0 7F 0A 90 */ lfs f3, 0xa90(r31) -/* 802590E8 00256048 EC 21 30 28 */ fsubs f1, f1, f6 -/* 802590EC 0025604C EC EC F0 2A */ fadds f7, f12, f30 -/* 802590F0 00256050 D0 41 01 64 */ stfs f2, 0x164(r1) -/* 802590F4 00256054 ED 03 F0 2A */ fadds f8, f3, f30 -/* 802590F8 00256058 EC 63 F0 28 */ fsubs f3, f3, f30 -/* 802590FC 0025605C D1 41 01 68 */ stfs f10, 0x168(r1) -/* 80259100 00256060 EC 4C F0 28 */ fsubs f2, f12, f30 -/* 80259104 00256064 ED 87 30 2A */ fadds f12, f7, f6 -/* 80259108 00256068 D1 61 01 6C */ stfs f11, 0x16c(r1) -/* 8025910C 0025606C ED 65 20 2A */ fadds f11, f5, f4 -/* 80259110 00256070 EC 88 30 2A */ fadds f4, f8, f6 -/* 80259114 00256074 D1 21 01 70 */ stfs f9, 0x170(r1) -/* 80259118 00256078 ED 42 30 28 */ fsubs f10, f2, f6 -/* 8025911C 0025607C ED 21 00 28 */ fsubs f9, f1, f0 -/* 80259120 00256080 D1 A1 01 74 */ stfs f13, 0x174(r1) -/* 80259124 00256084 EC 03 30 28 */ fsubs f0, f3, f6 -/* 80259128 00256088 D3 E1 01 78 */ stfs f31, 0x178(r1) -/* 8025912C 0025608C D1 01 01 34 */ stfs f8, 0x134(r1) -/* 80259130 00256090 D0 E1 01 38 */ stfs f7, 0x138(r1) -/* 80259134 00256094 D0 A1 01 3C */ stfs f5, 0x13c(r1) -/* 80259138 00256098 D0 81 01 40 */ stfs f4, 0x140(r1) -/* 8025913C 0025609C D1 81 01 44 */ stfs f12, 0x144(r1) -/* 80259140 002560A0 D1 61 01 48 */ stfs f11, 0x148(r1) -/* 80259144 002560A4 D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 80259148 002560A8 D0 41 01 50 */ stfs f2, 0x150(r1) -/* 8025914C 002560AC D0 21 01 54 */ stfs f1, 0x154(r1) -/* 80259150 002560B0 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 80259154 002560B4 D1 41 01 5C */ stfs f10, 0x15c(r1) -/* 80259158 002560B8 D1 21 01 60 */ stfs f9, 0x160(r1) -/* 8025915C 002560BC 48 0D F3 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80259160 002560C0 80 61 02 78 */ lwz r3, 0x278(r1) -/* 80259164 002560C4 80 01 02 7C */ lwz r0, 0x27c(r1) -/* 80259168 002560C8 90 7F 0A C4 */ stw r3, 0xac4(r31) -/* 8025916C 002560CC 90 1F 0A C8 */ stw r0, 0xac8(r31) -/* 80259170 002560D0 80 01 02 80 */ lwz r0, 0x280(r1) -/* 80259174 002560D4 90 1F 0A CC */ stw r0, 0xacc(r31) -/* 80259178 002560D8 80 61 02 84 */ lwz r3, 0x284(r1) -/* 8025917C 002560DC 80 01 02 88 */ lwz r0, 0x288(r1) -/* 80259180 002560E0 90 7F 0A D0 */ stw r3, 0xad0(r31) -/* 80259184 002560E4 90 1F 0A D4 */ stw r0, 0xad4(r31) -/* 80259188 002560E8 80 01 02 8C */ lwz r0, 0x28c(r1) -/* 8025918C 002560EC 90 1F 0A D8 */ stw r0, 0xad8(r31) -/* 80259190 002560F0 48 00 0B 1C */ b lbl_80259CAC -/* 80259194 002560F4 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80259198 002560F8 7F C3 F3 78 */ mr r3, r30 -/* 8025919C 002560FC 38 81 00 6C */ addi r4, r1, 0x6c -/* 802591A0 00256100 B0 01 00 6C */ sth r0, 0x6c(r1) -/* 802591A4 00256104 4B DF 33 D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802591A8 00256108 7C 64 1B 78 */ mr r4, r3 -/* 802591AC 0025610C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 802591B0 00256110 4B E5 61 9D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802591B4 00256114 83 A3 00 04 */ lwz r29, 4(r3) -/* 802591B8 00256118 28 1D 00 00 */ cmplwi r29, 0 -/* 802591BC 0025611C 41 82 0A F0 */ beq lbl_80259CAC -/* 802591C0 00256120 7F A3 EB 78 */ mr r3, r29 -/* 802591C4 00256124 7F C4 F3 78 */ mr r4, r30 -/* 802591C8 00256128 81 9D 00 00 */ lwz r12, 0(r29) -/* 802591CC 0025612C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802591D0 00256130 7D 89 03 A6 */ mtctr r12 -/* 802591D4 00256134 4E 80 04 21 */ bctrl -/* 802591D8 00256138 C0 03 00 00 */ lfs f0, 0(r3) -/* 802591DC 0025613C 7F A3 EB 78 */ mr r3, r29 -/* 802591E0 00256140 81 9D 00 00 */ lwz r12, 0(r29) -/* 802591E4 00256144 7F C4 F3 78 */ mr r4, r30 -/* 802591E8 00256148 C0 22 B9 9C */ lfs f1, lbl_805AD6BC@sda21(r2) -/* 802591EC 0025614C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802591F0 00256150 EF E1 00 28 */ fsubs f31, f1, f0 -/* 802591F4 00256154 7D 89 03 A6 */ mtctr r12 -/* 802591F8 00256158 4E 80 04 21 */ bctrl -/* 802591FC 0025615C C0 02 B9 9C */ lfs f0, lbl_805AD6BC@sda21(r2) -/* 80259200 00256160 3B 60 00 00 */ li r27, 0 -/* 80259204 00256164 D0 03 00 00 */ stfs f0, 0(r3) -/* 80259208 00256168 80 1F 0C 64 */ lwz r0, 0xc64(r31) -/* 8025920C 0025616C 2C 00 00 03 */ cmpwi r0, 3 -/* 80259210 00256170 41 82 02 6C */ beq lbl_8025947C -/* 80259214 00256174 40 80 06 14 */ bge lbl_80259828 -/* 80259218 00256178 2C 00 00 02 */ cmpwi r0, 2 -/* 8025921C 0025617C 40 80 00 08 */ bge lbl_80259224 -/* 80259220 00256180 48 00 06 08 */ b lbl_80259828 -lbl_80259224: -/* 80259224 00256184 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259228 00256188 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8025922C 0025618C 41 82 00 0C */ beq lbl_80259238 -/* 80259230 00256190 3B 60 00 01 */ li r27, 1 -/* 80259234 00256194 48 00 05 F4 */ b lbl_80259828 -lbl_80259238: -/* 80259238 00256198 C0 1F 0B 10 */ lfs f0, 0xb10(r31) -/* 8025923C 0025619C 3B 40 00 00 */ li r26, 0 -/* 80259240 002561A0 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) -/* 80259244 002561A4 EC 40 F8 28 */ fsubs f2, f0, f31 -/* 80259248 002561A8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025924C 002561AC D0 5F 0B 10 */ stfs f2, 0xb10(r31) -/* 80259250 002561B0 D0 3F 0B 24 */ stfs f1, 0xb24(r31) -/* 80259254 002561B4 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) -/* 80259258 002561B8 90 1F 04 30 */ stw r0, 0x430(r31) -/* 8025925C 002561BC C0 3F 0B 10 */ lfs f1, 0xb10(r31) -/* 80259260 002561C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80259264 002561C4 4C 40 13 82 */ cror 2, 0, 2 -/* 80259268 002561C8 40 82 00 9C */ bne lbl_80259304 -/* 8025926C 002561CC 38 00 00 03 */ li r0, 3 -/* 80259270 002561D0 38 A0 00 00 */ li r5, 0 -/* 80259274 002561D4 90 1F 0C 64 */ stw r0, 0xc64(r31) -/* 80259278 002561D8 7F E3 FB 78 */ mr r3, r31 -/* 8025927C 002561DC 7F C4 F3 78 */ mr r4, r30 -/* 80259280 002561E0 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259284 002561E4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80259288 002561E8 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 8025928C 002561EC 4B FF E3 C5 */ bl sub_80257650 -/* 80259290 002561F0 C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) -/* 80259294 002561F4 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) -/* 80259298 002561F8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8025929C 002561FC D0 1F 0C BC */ stfs f0, 0xcbc(r31) -/* 802592A0 00256200 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802592A4 00256204 80 03 02 EC */ lwz r0, 0x2ec(r3) -/* 802592A8 00256208 2C 00 00 03 */ cmpwi r0, 3 -/* 802592AC 0025620C 41 82 00 38 */ beq lbl_802592E4 -/* 802592B0 00256210 3C 60 80 47 */ lis r3, lbl_8046D4F8@ha -/* 802592B4 00256214 3B 80 00 00 */ li r28, 0 -/* 802592B8 00256218 3B 43 D4 F8 */ addi r26, r3, lbl_8046D4F8@l -lbl_802592BC: -/* 802592BC 0025621C 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 802592C0 00256220 7F 44 D3 78 */ mr r4, r26 -/* 802592C4 00256224 7F C6 F3 78 */ mr r6, r30 -/* 802592C8 00256228 38 A0 00 01 */ li r5, 1 -/* 802592CC 0025622C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802592D0 00256230 4B DD 1A F1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 802592D4 00256234 3B 9C 00 01 */ addi r28, r28, 1 -/* 802592D8 00256238 3B 5A 00 10 */ addi r26, r26, 0x10 -/* 802592DC 0025623C 28 1C 00 18 */ cmplwi r28, 0x18 -/* 802592E0 00256240 41 80 FF DC */ blt lbl_802592BC -lbl_802592E4: -/* 802592E4 00256244 C0 42 B9 24 */ lfs f2, lbl_805AD644@sda21(r2) -/* 802592E8 00256248 3B 40 00 01 */ li r26, 1 -/* 802592EC 0025624C C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) -/* 802592F0 00256250 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802592F4 00256254 EC 22 00 72 */ fmuls f1, f2, f1 -/* 802592F8 00256258 D0 3F 0C C8 */ stfs f1, 0xcc8(r31) -/* 802592FC 0025625C D0 1F 0B 10 */ stfs f0, 0xb10(r31) -/* 80259300 00256260 48 00 01 60 */ b lbl_80259460 -lbl_80259304: -/* 80259304 00256264 C0 1F 0C BC */ lfs f0, 0xcbc(r31) -/* 80259308 00256268 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025930C 0025626C 40 80 00 98 */ bge lbl_802593A4 -/* 80259310 00256270 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259314 00256274 38 60 00 01 */ li r3, 1 -/* 80259318 00256278 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025931C 0025627C 3B 60 00 01 */ li r27, 1 -/* 80259320 00256280 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259324 00256284 38 00 00 04 */ li r0, 4 -/* 80259328 00256288 80 7F 0C B0 */ lwz r3, 0xcb0(r31) -/* 8025932C 0025628C 38 63 00 01 */ addi r3, r3, 1 -/* 80259330 00256290 90 7F 0C B0 */ stw r3, 0xcb0(r31) -/* 80259334 00256294 80 7F 0C B0 */ lwz r3, 0xcb0(r31) -/* 80259338 00256298 2C 03 00 05 */ cmpwi r3, 5 -/* 8025933C 0025629C 40 80 00 08 */ bge lbl_80259344 -/* 80259340 002562A0 7C 60 1B 78 */ mr r0, r3 -lbl_80259344: -/* 80259344 002562A4 90 1F 0C B0 */ stw r0, 0xcb0(r31) -/* 80259348 002562A8 3C 60 43 30 */ lis r3, 0x4330 -/* 8025934C 002562AC C8 82 B9 C0 */ lfd f4, lbl_805AD6E0@sda21(r2) -/* 80259350 002562B0 38 00 00 00 */ li r0, 0 -/* 80259354 002562B4 80 9F 0C B0 */ lwz r4, 0xcb0(r31) -/* 80259358 002562B8 3B 40 00 01 */ li r26, 1 -/* 8025935C 002562BC 90 61 03 10 */ stw r3, 0x310(r1) -/* 80259360 002562C0 38 64 00 01 */ addi r3, r4, 1 -/* 80259364 002562C4 C0 A2 B9 84 */ lfs f5, lbl_805AD6A4@sda21(r2) -/* 80259368 002562C8 20 63 00 05 */ subfic r3, r3, 5 -/* 8025936C 002562CC C0 5F 0C B8 */ lfs f2, 0xcb8(r31) -/* 80259370 002562D0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80259374 002562D4 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) -/* 80259378 002562D8 90 61 03 14 */ stw r3, 0x314(r1) -/* 8025937C 002562DC C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) -/* 80259380 002562E0 C8 61 03 10 */ lfd f3, 0x310(r1) -/* 80259384 002562E4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80259388 002562E8 EC 23 20 28 */ fsubs f1, f3, f4 -/* 8025938C 002562EC EC 25 00 72 */ fmuls f1, f5, f1 -/* 80259390 002562F0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80259394 002562F4 D0 3F 0C BC */ stfs f1, 0xcbc(r31) -/* 80259398 002562F8 90 1F 0C B4 */ stw r0, 0xcb4(r31) -/* 8025939C 002562FC D0 1F 0C C8 */ stfs f0, 0xcc8(r31) -/* 802593A0 00256300 48 00 00 C0 */ b lbl_80259460 -lbl_802593A4: -/* 802593A4 00256304 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 802593A8 00256308 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 802593AC 0025630C 41 82 00 B4 */ beq lbl_80259460 -/* 802593B0 00256310 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 802593B4 00256314 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802593B8 00256318 40 82 00 A8 */ bne lbl_80259460 -/* 802593BC 0025631C C0 1F 09 5C */ lfs f0, 0x95c(r31) -/* 802593C0 00256320 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802593C4 00256324 40 81 00 9C */ ble lbl_80259460 -/* 802593C8 00256328 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802593CC 0025632C C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 802593D0 00256330 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 802593D4 00256334 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 802593D8 00256338 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 802593DC 0025633C 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 802593E0 00256340 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802593E4 00256344 38 C0 00 04 */ li r6, 4 -/* 802593E8 00256348 38 00 00 00 */ li r0, 0 -/* 802593EC 0025634C 90 A1 02 60 */ stw r5, 0x260(r1) -/* 802593F0 00256350 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 802593F4 00256354 3B 83 00 04 */ addi r28, r3, 4 -/* 802593F8 00256358 90 C1 02 64 */ stw r6, 0x264(r1) -/* 802593FC 0025635C 7F 83 E3 78 */ mr r3, r28 -/* 80259400 00256360 3B 60 00 01 */ li r27, 1 -/* 80259404 00256364 38 80 00 04 */ li r4, 4 -/* 80259408 00256368 90 A1 02 60 */ stw r5, 0x260(r1) -/* 8025940C 0025636C D0 01 02 68 */ stfs f0, 0x268(r1) -/* 80259410 00256370 D0 21 02 6C */ stfs f1, 0x26c(r1) -/* 80259414 00256374 D0 41 02 70 */ stfs f2, 0x270(r1) -/* 80259418 00256378 90 01 02 74 */ stw r0, 0x274(r1) -/* 8025941C 0025637C 4B ED 80 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80259420 00256380 80 01 02 64 */ lwz r0, 0x264(r1) -/* 80259424 00256384 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 80259428 00256388 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 8025942C 0025638C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80259430 00256390 90 1C 00 F8 */ stw r0, 0xf8(r28) -/* 80259434 00256394 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80259438 00256398 80 A1 02 68 */ lwz r5, 0x268(r1) -/* 8025943C 0025639C 80 61 02 6C */ lwz r3, 0x26c(r1) -/* 80259440 002563A0 90 BC 00 FC */ stw r5, 0xfc(r28) -/* 80259444 002563A4 80 A1 02 70 */ lwz r5, 0x270(r1) -/* 80259448 002563A8 90 7C 01 00 */ stw r3, 0x100(r28) -/* 8025944C 002563AC 80 61 02 74 */ lwz r3, 0x274(r1) -/* 80259450 002563B0 90 BC 01 04 */ stw r5, 0x104(r28) -/* 80259454 002563B4 90 81 02 60 */ stw r4, 0x260(r1) -/* 80259458 002563B8 90 7C 01 08 */ stw r3, 0x108(r28) -/* 8025945C 002563BC 90 01 02 60 */ stw r0, 0x260(r1) -lbl_80259460: -/* 80259460 002563C0 C0 22 B9 24 */ lfs f1, lbl_805AD644@sda21(r2) -/* 80259464 002563C4 7F E3 FB 78 */ mr r3, r31 -/* 80259468 002563C8 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) -/* 8025946C 002563CC 57 44 06 3E */ clrlwi r4, r26, 0x18 -/* 80259470 002563D0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80259474 002563D4 4B FF D4 A1 */ bl sub_80256914 -/* 80259478 002563D8 48 00 03 B0 */ b lbl_80259828 -lbl_8025947C: -/* 8025947C 002563DC 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259480 002563E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80259484 002563E4 41 82 00 8C */ beq lbl_80259510 -/* 80259488 002563E8 7F E4 FB 78 */ mr r4, r31 -/* 8025948C 002563EC 38 61 02 AC */ addi r3, r1, 0x2ac -/* 80259490 002563F0 38 BF 0B 90 */ addi r5, r31, 0xb90 -/* 80259494 002563F4 4B E1 F4 25 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80259498 002563F8 38 61 02 DC */ addi r3, r1, 0x2dc -/* 8025949C 002563FC 38 81 02 AC */ addi r4, r1, 0x2ac -/* 802594A0 00256400 48 0B 96 D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802594A4 00256404 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 802594A8 00256408 C0 01 02 F8 */ lfs f0, 0x2f8(r1) -/* 802594AC 0025640C C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 802594B0 00256410 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 802594B4 00256414 EC A7 00 28 */ fsubs f5, f7, f0 -/* 802594B8 00256418 C0 01 02 F0 */ lfs f0, 0x2f0(r1) -/* 802594BC 0025641C C0 21 02 E8 */ lfs f1, 0x2e8(r1) -/* 802594C0 00256420 C1 03 00 60 */ lfs f8, 0x60(r3) -/* 802594C4 00256424 EC 43 08 28 */ fsubs f2, f3, f1 -/* 802594C8 00256428 C0 81 03 08 */ lfs f4, 0x308(r1) -/* 802594CC 0025642C EC 05 00 32 */ fmuls f0, f5, f0 -/* 802594D0 00256430 C0 21 02 E0 */ lfs f1, 0x2e0(r1) -/* 802594D4 00256434 EC 88 20 28 */ fsubs f4, f8, f4 -/* 802594D8 00256438 C0 C1 03 00 */ lfs f6, 0x300(r1) -/* 802594DC 0025643C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 802594E0 00256440 C0 02 B9 38 */ lfs f0, lbl_805AD658@sda21(r2) -/* 802594E4 00256444 D0 61 01 1C */ stfs f3, 0x11c(r1) -/* 802594E8 00256448 EC 24 09 BA */ fmadds f1, f4, f6, f1 -/* 802594EC 0025644C D0 E1 01 20 */ stfs f7, 0x120(r1) -/* 802594F0 00256450 D1 01 01 24 */ stfs f8, 0x124(r1) -/* 802594F4 00256454 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802594F8 00256458 D0 41 01 28 */ stfs f2, 0x128(r1) -/* 802594FC 0025645C D0 A1 01 2C */ stfs f5, 0x12c(r1) -/* 80259500 00256460 D0 81 01 30 */ stfs f4, 0x130(r1) -/* 80259504 00256464 40 80 00 0C */ bge lbl_80259510 -/* 80259508 00256468 3B 60 00 01 */ li r27, 1 -/* 8025950C 0025646C 48 00 03 1C */ b lbl_80259828 -lbl_80259510: -/* 80259510 00256470 81 9F 00 00 */ lwz r12, 0(r31) -/* 80259514 00256474 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 80259518 00256478 7F E3 FB 78 */ mr r3, r31 -/* 8025951C 0025647C C0 22 B9 28 */ lfs f1, lbl_805AD648@sda21(r2) -/* 80259520 00256480 81 8C 00 90 */ lwz r12, 0x90(r12) -/* 80259524 00256484 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 80259528 00256488 7D 89 03 A6 */ mtctr r12 -/* 8025952C 0025648C 4E 80 04 21 */ bctrl -/* 80259530 00256490 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) -/* 80259534 00256494 D0 1F 0B 20 */ stfs f0, 0xb20(r31) -/* 80259538 00256498 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 8025953C 0025649C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80259540 002564A0 41 82 00 C4 */ beq lbl_80259604 -/* 80259544 002564A4 7F A4 EB 78 */ mr r4, r29 -/* 80259548 002564A8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8025954C 002564AC 4B F4 F6 41 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 80259550 002564B0 A0 01 00 64 */ lhz r0, 0x64(r1) -/* 80259554 002564B4 7F C3 F3 78 */ mr r3, r30 -/* 80259558 002564B8 38 81 00 68 */ addi r4, r1, 0x68 -/* 8025955C 002564BC B0 01 00 68 */ sth r0, 0x68(r1) -/* 80259560 002564C0 4B DF 30 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80259564 002564C4 28 03 00 00 */ cmplwi r3, 0 -/* 80259568 002564C8 41 82 00 44 */ beq lbl_802595AC -/* 8025956C 002564CC 7C 64 1B 78 */ mr r4, r3 -/* 80259570 002564D0 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80259574 002564D4 4B E5 41 99 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 80259578 002564D8 80 83 00 04 */ lwz r4, 4(r3) -/* 8025957C 002564DC 28 04 00 00 */ cmplwi r4, 0 -/* 80259580 002564E0 41 82 00 2C */ beq lbl_802595AC -/* 80259584 002564E4 88 64 01 30 */ lbz r3, 0x130(r4) -/* 80259588 002564E8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8025958C 002564EC 40 82 00 18 */ bne lbl_802595A4 -/* 80259590 002564F0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80259594 002564F4 40 82 00 10 */ bne lbl_802595A4 -/* 80259598 002564F8 80 04 01 2C */ lwz r0, 0x12c(r4) -/* 8025959C 002564FC 2C 00 00 06 */ cmpwi r0, 6 -/* 802595A0 00256500 40 82 00 0C */ bne lbl_802595AC -lbl_802595A4: -/* 802595A4 00256504 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802595A8 00256508 D0 1F 0B 14 */ stfs f0, 0xb14(r31) -lbl_802595AC: -/* 802595AC 0025650C C0 3F 0B 14 */ lfs f1, 0xb14(r31) -/* 802595B0 00256510 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802595B4 00256514 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 802595B8 00256518 D0 3F 0B 14 */ stfs f1, 0xb14(r31) -/* 802595BC 0025651C 80 0D A2 54 */ lwz r0, lbl_805A8E14@sda21(r13) -/* 802595C0 00256520 90 1F 04 30 */ stw r0, 0x430(r31) -/* 802595C4 00256524 C0 3F 0B 14 */ lfs f1, 0xb14(r31) -/* 802595C8 00256528 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802595CC 0025652C 4C 40 13 82 */ cror 2, 0, 2 -/* 802595D0 00256530 40 82 02 58 */ bne lbl_80259828 -/* 802595D4 00256534 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 802595D8 00256538 38 60 00 00 */ li r3, 0 -/* 802595DC 0025653C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 802595E0 00256540 38 60 00 01 */ li r3, 1 -/* 802595E4 00256544 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 802595E8 00256548 3B 60 00 01 */ li r27, 1 -/* 802595EC 0025654C 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 802595F0 00256550 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 802595F4 00256554 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 802595F8 00256558 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) -/* 802595FC 0025655C D0 1F 0B 14 */ stfs f0, 0xb14(r31) -/* 80259600 00256560 48 00 02 28 */ b lbl_80259828 -lbl_80259604: -/* 80259604 00256564 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259608 00256568 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8025960C 0025656C 41 82 02 1C */ beq lbl_80259828 -/* 80259610 00256570 80 0D A2 50 */ lwz r0, lbl_805A8E10@sda21(r13) -/* 80259614 00256574 C0 42 B9 18 */ lfs f2, lbl_805AD638@sda21(r2) -/* 80259618 00256578 90 1F 04 30 */ stw r0, 0x430(r31) -/* 8025961C 0025657C C0 1F 0B 18 */ lfs f0, 0xb18(r31) -/* 80259620 00256580 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80259624 00256584 40 81 01 04 */ ble lbl_80259728 -/* 80259628 00256588 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8025962C 0025658C D0 1F 0B 18 */ stfs f0, 0xb18(r31) -/* 80259630 00256590 C0 3F 0B 18 */ lfs f1, 0xb18(r31) -/* 80259634 00256594 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80259638 00256598 4C 40 13 82 */ cror 2, 0, 2 -/* 8025963C 0025659C 40 82 00 30 */ bne lbl_8025966C -/* 80259640 002565A0 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259644 002565A4 38 60 00 01 */ li r3, 1 -/* 80259648 002565A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025964C 002565AC C0 22 B9 3C */ lfs f1, lbl_805AD65C@sda21(r2) -/* 80259650 002565B0 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259654 002565B4 3B 60 00 01 */ li r27, 1 -/* 80259658 002565B8 D0 5F 0B 18 */ stfs f2, 0xb18(r31) -/* 8025965C 002565BC C0 1F 05 A8 */ lfs f0, 0x5a8(r31) -/* 80259660 002565C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80259664 002565C4 D0 1F 0C BC */ stfs f0, 0xcbc(r31) -/* 80259668 002565C8 48 00 01 C0 */ b lbl_80259828 -lbl_8025966C: -/* 8025966C 002565CC C0 1F 0C BC */ lfs f0, 0xcbc(r31) -/* 80259670 002565D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80259674 002565D4 40 80 01 B4 */ bge lbl_80259828 -/* 80259678 002565D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8025967C 002565DC C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80259680 002565E0 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80259684 002565E4 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80259688 002565E8 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8025968C 002565EC 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 80259690 002565F0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80259694 002565F4 38 C0 00 04 */ li r6, 4 -/* 80259698 002565F8 38 00 00 06 */ li r0, 6 -/* 8025969C 002565FC 90 A1 02 48 */ stw r5, 0x248(r1) -/* 802596A0 00256600 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 802596A4 00256604 3B 43 00 04 */ addi r26, r3, 4 -/* 802596A8 00256608 90 C1 02 4C */ stw r6, 0x24c(r1) -/* 802596AC 0025660C 7F 43 D3 78 */ mr r3, r26 -/* 802596B0 00256610 3B 60 00 01 */ li r27, 1 -/* 802596B4 00256614 38 80 00 04 */ li r4, 4 -/* 802596B8 00256618 90 A1 02 48 */ stw r5, 0x248(r1) -/* 802596BC 0025661C D0 01 02 50 */ stfs f0, 0x250(r1) -/* 802596C0 00256620 D0 21 02 54 */ stfs f1, 0x254(r1) -/* 802596C4 00256624 D0 41 02 58 */ stfs f2, 0x258(r1) -/* 802596C8 00256628 90 01 02 5C */ stw r0, 0x25c(r1) -/* 802596CC 0025662C 4B ED 7D 6D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 802596D0 00256630 80 01 02 4C */ lwz r0, 0x24c(r1) -/* 802596D4 00256634 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 802596D8 00256638 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 802596DC 0025663C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802596E0 00256640 90 1A 00 F8 */ stw r0, 0xf8(r26) -/* 802596E4 00256644 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 802596E8 00256648 80 A1 02 50 */ lwz r5, 0x250(r1) -/* 802596EC 0025664C 80 61 02 54 */ lwz r3, 0x254(r1) -/* 802596F0 00256650 90 BA 00 FC */ stw r5, 0xfc(r26) -/* 802596F4 00256654 80 A1 02 58 */ lwz r5, 0x258(r1) -/* 802596F8 00256658 90 7A 01 00 */ stw r3, 0x100(r26) -/* 802596FC 0025665C 80 61 02 5C */ lwz r3, 0x25c(r1) -/* 80259700 00256660 90 BA 01 04 */ stw r5, 0x104(r26) -/* 80259704 00256664 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) -/* 80259708 00256668 90 7A 01 08 */ stw r3, 0x108(r26) -/* 8025970C 0025666C C0 3F 05 A4 */ lfs f1, 0x5a4(r31) -/* 80259710 00256670 C0 1F 0C BC */ lfs f0, 0xcbc(r31) -/* 80259714 00256674 90 81 02 48 */ stw r4, 0x248(r1) -/* 80259718 00256678 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 8025971C 0025667C 90 01 02 48 */ stw r0, 0x248(r1) -/* 80259720 00256680 D0 1F 0C BC */ stfs f0, 0xcbc(r31) -/* 80259724 00256684 48 00 01 04 */ b lbl_80259828 -lbl_80259728: -/* 80259728 00256688 C0 1F 0B 1C */ lfs f0, 0xb1c(r31) -/* 8025972C 0025668C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80259730 00256690 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) -/* 80259734 00256694 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) -/* 80259738 00256698 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8025973C 0025669C 4C 40 13 82 */ cror 2, 0, 2 -/* 80259740 002566A0 40 82 00 30 */ bne lbl_80259770 -/* 80259744 002566A4 88 1F 04 01 */ lbz r0, 0x401(r31) -/* 80259748 002566A8 38 60 00 01 */ li r3, 1 -/* 8025974C 002566AC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80259750 002566B0 38 80 00 00 */ li r4, 0 -/* 80259754 002566B4 98 1F 04 01 */ stb r0, 0x401(r31) -/* 80259758 002566B8 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8025975C 002566BC 88 03 09 C6 */ lbz r0, 0x9c6(r3) -/* 80259760 002566C0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80259764 002566C4 98 03 09 C6 */ stb r0, 0x9c6(r3) -/* 80259768 002566C8 D0 5F 0B 1C */ stfs f2, 0xb1c(r31) -/* 8025976C 002566CC 48 00 00 BC */ b lbl_80259828 -lbl_80259770: -/* 80259770 002566D0 C0 1F 0C BC */ lfs f0, 0xcbc(r31) -/* 80259774 002566D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80259778 002566D8 40 80 00 B0 */ bge lbl_80259828 -/* 8025977C 002566DC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80259780 002566E0 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80259784 002566E4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80259788 002566E8 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 8025978C 002566EC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80259790 002566F0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 80259794 002566F4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80259798 002566F8 38 C0 00 04 */ li r6, 4 -/* 8025979C 002566FC 38 00 00 06 */ li r0, 6 -/* 802597A0 00256700 90 A1 02 30 */ stw r5, 0x230(r1) -/* 802597A4 00256704 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 802597A8 00256708 3B 43 00 04 */ addi r26, r3, 4 -/* 802597AC 0025670C 90 C1 02 34 */ stw r6, 0x234(r1) -/* 802597B0 00256710 7F 43 D3 78 */ mr r3, r26 -/* 802597B4 00256714 3B 60 00 01 */ li r27, 1 -/* 802597B8 00256718 38 80 00 04 */ li r4, 4 -/* 802597BC 0025671C 90 A1 02 30 */ stw r5, 0x230(r1) -/* 802597C0 00256720 D0 01 02 38 */ stfs f0, 0x238(r1) -/* 802597C4 00256724 D0 21 02 3C */ stfs f1, 0x23c(r1) -/* 802597C8 00256728 D0 41 02 40 */ stfs f2, 0x240(r1) -/* 802597CC 0025672C 90 01 02 44 */ stw r0, 0x244(r1) -/* 802597D0 00256730 4B ED 7C 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 802597D4 00256734 80 01 02 34 */ lwz r0, 0x234(r1) -/* 802597D8 00256738 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 802597DC 0025673C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 802597E0 00256740 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802597E4 00256744 90 1A 00 F8 */ stw r0, 0xf8(r26) -/* 802597E8 00256748 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 802597EC 0025674C 80 A1 02 38 */ lwz r5, 0x238(r1) -/* 802597F0 00256750 80 61 02 3C */ lwz r3, 0x23c(r1) -/* 802597F4 00256754 90 BA 00 FC */ stw r5, 0xfc(r26) -/* 802597F8 00256758 80 A1 02 40 */ lwz r5, 0x240(r1) -/* 802597FC 0025675C 90 7A 01 00 */ stw r3, 0x100(r26) -/* 80259800 00256760 80 61 02 44 */ lwz r3, 0x244(r1) -/* 80259804 00256764 90 BA 01 04 */ stw r5, 0x104(r26) -/* 80259808 00256768 C0 42 B9 BC */ lfs f2, lbl_805AD6DC@sda21(r2) -/* 8025980C 0025676C 90 7A 01 08 */ stw r3, 0x108(r26) -/* 80259810 00256770 C0 3F 05 A8 */ lfs f1, 0x5a8(r31) -/* 80259814 00256774 C0 1F 0C BC */ lfs f0, 0xcbc(r31) -/* 80259818 00256778 90 81 02 30 */ stw r4, 0x230(r1) -/* 8025981C 0025677C EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 80259820 00256780 90 01 02 30 */ stw r0, 0x230(r1) -/* 80259824 00256784 D0 1F 0C BC */ stfs f0, 0xcbc(r31) -lbl_80259828: -/* 80259828 00256788 C0 3F 0B 10 */ lfs f1, 0xb10(r31) -/* 8025982C 0025678C 7F E3 FB 78 */ mr r3, r31 -/* 80259830 00256790 C0 1F 0B 18 */ lfs f0, 0xb18(r31) -/* 80259834 00256794 7F C4 F3 78 */ mr r4, r30 -/* 80259838 00256798 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025983C 0025679C EC 01 00 2A */ fadds f0, f1, f0 -/* 80259840 002567A0 C0 3F 0B 1C */ lfs f1, 0xb1c(r31) -/* 80259844 002567A4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80259848 002567A8 EF E1 00 2A */ fadds f31, f1, f0 -/* 8025984C 002567AC 7D 89 03 A6 */ mtctr r12 -/* 80259850 002567B0 4E 80 04 21 */ bctrl -/* 80259854 002567B4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80259858 002567B8 D3 E3 00 00 */ stfs f31, 0(r3) -/* 8025985C 002567BC 40 82 04 50 */ bne lbl_80259CAC -/* 80259860 002567C0 7F A4 EB 78 */ mr r4, r29 -/* 80259864 002567C4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80259868 002567C8 4B F4 F3 25 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 8025986C 002567CC A0 01 00 60 */ lhz r0, 0x60(r1) -/* 80259870 002567D0 7F C3 F3 78 */ mr r3, r30 -/* 80259874 002567D4 38 81 00 5C */ addi r4, r1, 0x5c -/* 80259878 002567D8 B0 01 00 A0 */ sth r0, 0xa0(r1) -/* 8025987C 002567DC B0 01 00 5C */ sth r0, 0x5c(r1) -/* 80259880 002567E0 4B DF 2D 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80259884 002567E4 7C 64 1B 78 */ mr r4, r3 -/* 80259888 002567E8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8025988C 002567EC 4B E5 3E 81 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 80259890 002567F0 80 E3 00 04 */ lwz r7, 4(r3) -/* 80259894 002567F4 28 07 00 00 */ cmplwi r7, 0 -/* 80259898 002567F8 41 82 04 14 */ beq lbl_80259CAC -/* 8025989C 002567FC C0 47 00 50 */ lfs f2, 0x50(r7) -/* 802598A0 00256800 7F E3 FB 78 */ mr r3, r31 -/* 802598A4 00256804 C0 27 02 9C */ lfs f1, 0x29c(r7) -/* 802598A8 00256808 7F C5 F3 78 */ mr r5, r30 -/* 802598AC 0025680C C0 67 00 60 */ lfs f3, 0x60(r7) -/* 802598B0 00256810 38 81 01 10 */ addi r4, r1, 0x110 -/* 802598B4 00256814 EC 82 08 28 */ fsubs f4, f2, f1 -/* 802598B8 00256818 C0 07 02 A0 */ lfs f0, 0x2a0(r7) -/* 802598BC 0025681C C0 47 00 40 */ lfs f2, 0x40(r7) -/* 802598C0 00256820 38 C7 01 2C */ addi r6, r7, 0x12c -/* 802598C4 00256824 EC 63 00 28 */ fsubs f3, f3, f0 -/* 802598C8 00256828 C0 07 02 98 */ lfs f0, 0x298(r7) -/* 802598CC 0025682C C0 27 01 40 */ lfs f1, 0x140(r7) -/* 802598D0 00256830 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802598D4 00256834 38 E0 00 01 */ li r7, 1 -/* 802598D8 00256838 39 00 00 00 */ li r8, 0 -/* 802598DC 0025683C D0 81 01 14 */ stfs f4, 0x114(r1) -/* 802598E0 00256840 D0 61 01 18 */ stfs f3, 0x118(r1) -/* 802598E4 00256844 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 802598E8 00256848 81 9F 00 00 */ lwz r12, 0(r31) -/* 802598EC 0025684C 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 802598F0 00256850 7D 89 03 A6 */ mtctr r12 -/* 802598F4 00256854 4E 80 04 21 */ bctrl -/* 802598F8 00256858 48 00 03 B4 */ b lbl_80259CAC -/* 802598FC 0025685C A0 1A 00 00 */ lhz r0, 0(r26) -/* 80259900 00256860 7F C3 F3 78 */ mr r3, r30 -/* 80259904 00256864 38 81 00 58 */ addi r4, r1, 0x58 -/* 80259908 00256868 B0 01 00 58 */ sth r0, 0x58(r1) -/* 8025990C 0025686C 4B DF 2C 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80259910 00256870 7C 64 1B 78 */ mr r4, r3 -/* 80259914 00256874 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80259918 00256878 4B E5 3D F5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8025991C 0025687C 83 83 00 04 */ lwz r28, 4(r3) -/* 80259920 00256880 28 1C 00 00 */ cmplwi r28, 0 -/* 80259924 00256884 41 82 03 88 */ beq lbl_80259CAC -/* 80259928 00256888 80 1F 0C 64 */ lwz r0, 0xc64(r31) -/* 8025992C 0025688C 38 80 00 00 */ li r4, 0 -/* 80259930 00256890 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 80259934 00256894 2C 00 00 03 */ cmpwi r0, 3 -/* 80259938 00256898 B0 61 00 9C */ sth r3, 0x9c(r1) -/* 8025993C 0025689C 41 82 00 30 */ beq lbl_8025996C -/* 80259940 002568A0 40 80 00 60 */ bge lbl_802599A0 -/* 80259944 002568A4 2C 00 00 02 */ cmpwi r0, 2 -/* 80259948 002568A8 40 80 00 08 */ bge lbl_80259950 -/* 8025994C 002568AC 48 00 00 54 */ b lbl_802599A0 -lbl_80259950: -/* 80259950 002568B0 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259954 002568B4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80259958 002568B8 40 82 00 48 */ bne lbl_802599A0 -/* 8025995C 002568BC A0 1F 09 8A */ lhz r0, 0x98a(r31) -/* 80259960 002568C0 38 80 00 01 */ li r4, 1 -/* 80259964 002568C4 B0 01 00 9C */ sth r0, 0x9c(r1) -/* 80259968 002568C8 48 00 00 38 */ b lbl_802599A0 -lbl_8025996C: -/* 8025996C 002568CC 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259970 002568D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80259974 002568D4 41 82 00 14 */ beq lbl_80259988 -/* 80259978 002568D8 A0 1F 09 88 */ lhz r0, 0x988(r31) -/* 8025997C 002568DC 38 80 00 01 */ li r4, 1 -/* 80259980 002568E0 B0 01 00 9C */ sth r0, 0x9c(r1) -/* 80259984 002568E4 48 00 00 1C */ b lbl_802599A0 -lbl_80259988: -/* 80259988 002568E8 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 8025998C 002568EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80259990 002568F0 41 82 00 10 */ beq lbl_802599A0 -/* 80259994 002568F4 A0 1F 09 8A */ lhz r0, 0x98a(r31) -/* 80259998 002568F8 38 80 00 01 */ li r4, 1 -/* 8025999C 002568FC B0 01 00 9C */ sth r0, 0x9c(r1) -lbl_802599A0: -/* 802599A0 00256900 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802599A4 00256904 41 82 03 08 */ beq lbl_80259CAC -/* 802599A8 00256908 80 1C 01 2C */ lwz r0, 0x12c(r28) -/* 802599AC 0025690C 38 60 00 00 */ li r3, 0 -/* 802599B0 00256910 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 802599B4 00256914 38 80 00 01 */ li r4, 1 -/* 802599B8 00256918 90 01 02 90 */ stw r0, 0x290(r1) -/* 802599BC 0025691C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) -/* 802599C0 00256920 88 1C 01 30 */ lbz r0, 0x130(r28) -/* 802599C4 00256924 98 01 02 94 */ stb r0, 0x294(r1) -/* 802599C8 00256928 C0 3C 01 34 */ lfs f1, 0x134(r28) -/* 802599CC 0025692C D0 21 02 98 */ stfs f1, 0x298(r1) -/* 802599D0 00256930 C0 3C 01 38 */ lfs f1, 0x138(r28) -/* 802599D4 00256934 D0 21 02 9C */ stfs f1, 0x29c(r1) -/* 802599D8 00256938 C0 3C 01 3C */ lfs f1, 0x13c(r28) -/* 802599DC 0025693C D0 21 02 A0 */ stfs f1, 0x2a0(r1) -/* 802599E0 00256940 C0 3C 01 40 */ lfs f1, 0x140(r28) -/* 802599E4 00256944 D0 21 02 A4 */ stfs f1, 0x2a4(r1) -/* 802599E8 00256948 88 1C 01 44 */ lbz r0, 0x144(r28) -/* 802599EC 0025694C 98 01 02 A8 */ stb r0, 0x2a8(r1) -/* 802599F0 00256950 D0 01 02 A0 */ stfs f0, 0x2a0(r1) -/* 802599F4 00256954 48 13 05 01 */ bl __shl2i -/* 802599F8 00256958 38 E0 00 00 */ li r7, 0 -/* 802599FC 0025695C 39 60 00 03 */ li r11, 3 -/* 80259A00 00256960 90 81 02 1C */ stw r4, 0x21c(r1) -/* 80259A04 00256964 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80259A08 00256968 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80259A0C 0025696C A1 41 00 9C */ lhz r10, 0x9c(r1) -/* 80259A10 00256970 90 61 02 18 */ stw r3, 0x218(r1) -/* 80259A14 00256974 7F C3 F3 78 */ mr r3, r30 -/* 80259A18 00256978 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80259A1C 0025697C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80259A20 00256980 90 E1 02 24 */ stw r7, 0x224(r1) -/* 80259A24 00256984 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80259A28 00256988 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80259A2C 0025698C 39 01 02 18 */ addi r8, r1, 0x218 -/* 80259A30 00256990 90 E1 02 20 */ stw r7, 0x220(r1) -/* 80259A34 00256994 38 E1 02 90 */ addi r7, r1, 0x290 -/* 80259A38 00256998 91 61 02 28 */ stw r11, 0x228(r1) -/* 80259A3C 0025699C A1 7C 00 EC */ lhz r11, 0xec(r28) -/* 80259A40 002569A0 B1 61 00 48 */ sth r11, 0x48(r1) -/* 80259A44 002569A4 B1 61 00 4C */ sth r11, 0x4c(r1) -/* 80259A48 002569A8 B1 41 00 50 */ sth r10, 0x50(r1) -/* 80259A4C 002569AC B0 01 00 54 */ sth r0, 0x54(r1) -/* 80259A50 002569B0 4B DF 06 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80259A54 002569B4 48 00 02 58 */ b lbl_80259CAC -/* 80259A58 002569B8 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80259A5C 002569BC 7F C3 F3 78 */ mr r3, r30 -/* 80259A60 002569C0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80259A64 002569C4 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80259A68 002569C8 4B DF 2B 0D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80259A6C 002569CC 7C 64 1B 78 */ mr r4, r3 -/* 80259A70 002569D0 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80259A74 002569D4 4B E5 58 D9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80259A78 002569D8 83 83 00 04 */ lwz r28, 4(r3) -/* 80259A7C 002569DC 28 1C 00 00 */ cmplwi r28, 0 -/* 80259A80 002569E0 41 82 02 2C */ beq lbl_80259CAC -/* 80259A84 002569E4 38 00 00 00 */ li r0, 0 -/* 80259A88 002569E8 80 AD 97 3C */ lwz r5, lbl_805A82FC@sda21(r13) -/* 80259A8C 002569EC 90 01 00 EC */ stw r0, 0xec(r1) -/* 80259A90 002569F0 38 60 00 00 */ li r3, 0 -/* 80259A94 002569F4 38 80 00 01 */ li r4, 1 -/* 80259A98 002569F8 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 80259A9C 002569FC 48 13 04 59 */ bl __shl2i -/* 80259AA0 00256A00 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 80259AA4 00256A04 80 A1 00 EC */ lwz r5, 0xec(r1) -/* 80259AA8 00256A08 7C 00 1B 78 */ or r0, r0, r3 -/* 80259AAC 00256A0C 7F 83 E3 78 */ mr r3, r28 -/* 80259AB0 00256A10 7C A4 23 78 */ or r4, r5, r4 -/* 80259AB4 00256A14 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 80259AB8 00256A18 90 81 00 EC */ stw r4, 0xec(r1) -/* 80259ABC 00256A1C 4B DF 9E 01 */ bl GetMaterialFilter__6CActorCFv -/* 80259AC0 00256A20 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 80259AC4 00256A24 48 07 B8 89 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 80259AC8 00256A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80259ACC 00256A2C 41 82 01 2C */ beq lbl_80259BF8 -/* 80259AD0 00256A30 7F 84 E3 78 */ mr r4, r28 -/* 80259AD4 00256A34 38 61 00 3C */ addi r3, r1, 0x3c -/* 80259AD8 00256A38 4B F4 F0 B5 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 80259ADC 00256A3C A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 80259AE0 00256A40 7F C3 F3 78 */ mr r3, r30 -/* 80259AE4 00256A44 38 81 00 40 */ addi r4, r1, 0x40 -/* 80259AE8 00256A48 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80259AEC 00256A4C 4B DF 2A B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80259AF0 00256A50 7C 64 1B 78 */ mr r4, r3 -/* 80259AF4 00256A54 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80259AF8 00256A58 4B E4 F3 1D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 80259AFC 00256A5C 83 63 00 04 */ lwz r27, 4(r3) -/* 80259B00 00256A60 28 1B 00 00 */ cmplwi r27, 0 -/* 80259B04 00256A64 41 82 00 F4 */ beq lbl_80259BF8 -/* 80259B08 00256A68 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) -/* 80259B0C 00256A6C 38 60 00 00 */ li r3, 0 -/* 80259B10 00256A70 38 80 00 01 */ li r4, 1 -/* 80259B14 00256A74 48 13 03 E1 */ bl __shl2i -/* 80259B18 00256A78 38 A0 00 00 */ li r5, 0 -/* 80259B1C 00256A7C 38 00 00 03 */ li r0, 3 -/* 80259B20 00256A80 90 81 01 E4 */ stw r4, 0x1e4(r1) -/* 80259B24 00256A84 7F C4 F3 78 */ mr r4, r30 -/* 80259B28 00256A88 90 61 01 E0 */ stw r3, 0x1e0(r1) -/* 80259B2C 00256A8C 7F 63 DB 78 */ mr r3, r27 -/* 80259B30 00256A90 90 A1 01 EC */ stw r5, 0x1ec(r1) -/* 80259B34 00256A94 90 A1 01 E8 */ stw r5, 0x1e8(r1) -/* 80259B38 00256A98 90 01 01 F0 */ stw r0, 0x1f0(r1) -/* 80259B3C 00256A9C 81 9B 00 00 */ lwz r12, 0(r27) -/* 80259B40 00256AA0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80259B44 00256AA4 7D 89 03 A6 */ mtctr r12 -/* 80259B48 00256AA8 4E 80 04 21 */ bctrl -/* 80259B4C 00256AAC C0 03 00 00 */ lfs f0, 0(r3) -/* 80259B50 00256AB0 3B 40 00 09 */ li r26, 9 -/* 80259B54 00256AB4 C0 42 B9 28 */ lfs f2, lbl_805AD648@sda21(r2) -/* 80259B58 00256AB8 38 60 00 00 */ li r3, 0 -/* 80259B5C 00256ABC 88 C1 00 E4 */ lbz r6, 0xe4(r1) -/* 80259B60 00256AC0 50 66 3E 30 */ rlwimi r6, r3, 7, 0x18, 0x18 -/* 80259B64 00256AC4 EC 22 00 2A */ fadds f1, f2, f0 -/* 80259B68 00256AC8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80259B6C 00256ACC 54 CA 06 3E */ clrlwi r10, r6, 0x18 -/* 80259B70 00256AD0 88 01 02 10 */ lbz r0, 0x210(r1) -/* 80259B74 00256AD4 50 6A 36 72 */ rlwimi r10, r3, 6, 0x19, 0x19 -/* 80259B78 00256AD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80259B7C 00256ADC 55 4C 06 3E */ clrlwi r12, r10, 0x18 -/* 80259B80 00256AE0 93 41 01 F8 */ stw r26, 0x1f8(r1) -/* 80259B84 00256AE4 50 6C 2E B4 */ rlwimi r12, r3, 5, 0x1a, 0x1a -/* 80259B88 00256AE8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80259B8C 00256AEC 98 C1 00 E4 */ stb r6, 0xe4(r1) -/* 80259B90 00256AF0 39 23 66 A0 */ addi r9, r3, skZero3f@l -/* 80259B94 00256AF4 7F C3 F3 78 */ mr r3, r30 -/* 80259B98 00256AF8 38 81 00 38 */ addi r4, r1, 0x38 -/* 80259B9C 00256AFC 99 41 00 E4 */ stb r10, 0xe4(r1) -/* 80259BA0 00256B00 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80259BA4 00256B04 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80259BA8 00256B08 38 E1 01 F8 */ addi r7, r1, 0x1f8 -/* 80259BAC 00256B0C 99 81 01 FC */ stb r12, 0x1fc(r1) -/* 80259BB0 00256B10 39 01 01 E0 */ addi r8, r1, 0x1e0 -/* 80259BB4 00256B14 D0 21 02 00 */ stfs f1, 0x200(r1) -/* 80259BB8 00256B18 D0 21 02 04 */ stfs f1, 0x204(r1) -/* 80259BBC 00256B1C D0 01 02 08 */ stfs f0, 0x208(r1) -/* 80259BC0 00256B20 D0 41 02 0C */ stfs f2, 0x20c(r1) -/* 80259BC4 00256B24 98 01 02 10 */ stb r0, 0x210(r1) -/* 80259BC8 00256B28 A1 7F 00 08 */ lhz r11, 8(r31) -/* 80259BCC 00256B2C 93 41 00 E0 */ stw r26, 0xe0(r1) -/* 80259BD0 00256B30 B1 61 00 28 */ sth r11, 0x28(r1) -/* 80259BD4 00256B34 A1 5B 00 08 */ lhz r10, 8(r27) -/* 80259BD8 00256B38 99 81 00 E4 */ stb r12, 0xe4(r1) -/* 80259BDC 00256B3C B1 41 00 30 */ sth r10, 0x30(r1) -/* 80259BE0 00256B40 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80259BE4 00256B44 B1 61 00 24 */ sth r11, 0x24(r1) -/* 80259BE8 00256B48 B1 41 00 2C */ sth r10, 0x2c(r1) -/* 80259BEC 00256B4C B0 01 00 34 */ sth r0, 0x34(r1) -/* 80259BF0 00256B50 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80259BF4 00256B54 4B DF 04 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_80259BF8: -/* 80259BF8 00256B58 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80259BFC 00256B5C 7F 84 E3 78 */ mr r4, r28 -/* 80259C00 00256B60 38 61 00 20 */ addi r3, r1, 0x20 -/* 80259C04 00256B64 A3 45 00 08 */ lhz r26, 8(r5) -/* 80259C08 00256B68 4B F4 EF 85 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 80259C0C 00256B6C A0 01 00 20 */ lhz r0, 0x20(r1) -/* 80259C10 00256B70 7C 00 D0 40 */ cmplw r0, r26 -/* 80259C14 00256B74 40 82 00 98 */ bne lbl_80259CAC -/* 80259C18 00256B78 C0 3F 04 20 */ lfs f1, 0x420(r31) -/* 80259C1C 00256B7C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 80259C20 00256B80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80259C24 00256B84 4C 40 13 82 */ cror 2, 0, 2 -/* 80259C28 00256B88 40 82 00 84 */ bne lbl_80259CAC -/* 80259C2C 00256B8C 80 AD 97 38 */ lwz r5, lbl_805A82F8@sda21(r13) -/* 80259C30 00256B90 38 60 00 00 */ li r3, 0 -/* 80259C34 00256B94 38 80 00 01 */ li r4, 1 -/* 80259C38 00256B98 48 13 02 BD */ bl __shl2i -/* 80259C3C 00256B9C 39 40 00 00 */ li r10, 0 -/* 80259C40 00256BA0 38 00 00 03 */ li r0, 3 -/* 80259C44 00256BA4 90 81 01 CC */ stw r4, 0x1cc(r1) -/* 80259C48 00256BA8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80259C4C 00256BAC 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80259C50 00256BB0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80259C54 00256BB4 90 61 01 C8 */ stw r3, 0x1c8(r1) -/* 80259C58 00256BB8 38 81 00 1C */ addi r4, r1, 0x1c -/* 80259C5C 00256BBC 7F C3 F3 78 */ mr r3, r30 -/* 80259C60 00256BC0 38 C1 00 0C */ addi r6, r1, 0xc -/* 80259C64 00256BC4 91 41 01 D4 */ stw r10, 0x1d4(r1) -/* 80259C68 00256BC8 38 FF 0C 8C */ addi r7, r31, 0xc8c -/* 80259C6C 00256BCC 39 01 01 C8 */ addi r8, r1, 0x1c8 -/* 80259C70 00256BD0 91 41 01 D0 */ stw r10, 0x1d0(r1) -/* 80259C74 00256BD4 90 01 01 D8 */ stw r0, 0x1d8(r1) -/* 80259C78 00256BD8 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80259C7C 00256BDC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80259C80 00256BE0 81 5E 08 4C */ lwz r10, 0x84c(r30) -/* 80259C84 00256BE4 B0 01 00 08 */ sth r0, 8(r1) -/* 80259C88 00256BE8 A1 4A 00 08 */ lhz r10, 8(r10) -/* 80259C8C 00256BEC B1 41 00 14 */ sth r10, 0x14(r1) -/* 80259C90 00256BF0 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80259C94 00256BF4 B1 41 00 10 */ sth r10, 0x10(r1) -/* 80259C98 00256BF8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80259C9C 00256BFC B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80259CA0 00256C00 4B DF 04 01 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80259CA4 00256C04 C0 1F 04 24 */ lfs f0, 0x424(r31) -/* 80259CA8 00256C08 D0 1F 04 20 */ stfs f0, 0x420(r31) -lbl_80259CAC: -/* 80259CAC 00256C0C E3 E1 03 48 */ psq_l f31, 840(r1), 0, qr0 -/* 80259CB0 00256C10 CB E1 03 40 */ lfd f31, 0x340(r1) -/* 80259CB4 00256C14 E3 C1 03 38 */ psq_l f30, 824(r1), 0, qr0 -/* 80259CB8 00256C18 CB C1 03 30 */ lfd f30, 0x330(r1) -/* 80259CBC 00256C1C BB 41 03 18 */ lmw r26, 0x318(r1) -/* 80259CC0 00256C20 80 01 03 54 */ lwz r0, 0x354(r1) -/* 80259CC4 00256C24 7C 08 03 A6 */ mtlr r0 -/* 80259CC8 00256C28 38 21 03 50 */ addi r1, r1, 0x350 -/* 80259CCC 00256C2C 4E 80 00 20 */ blr - -.global Touch__7CRidleyFR6CActorR13CStateManager -Touch__7CRidleyFR6CActorR13CStateManager: -/* 80259CD0 00256C30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259CD4 00256C34 7C 08 02 A6 */ mflr r0 -/* 80259CD8 00256C38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259CDC 00256C3C 4B E1 FD C5 */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 80259CE0 00256C40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259CE4 00256C44 7C 08 03 A6 */ mtlr r0 -/* 80259CE8 00256C48 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259CEC 00256C4C 4E 80 00 20 */ blr - -.global Accept__7CRidleyFR8IVisitor -Accept__7CRidleyFR8IVisitor: -/* 80259CF0 00256C50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259CF4 00256C54 7C 08 02 A6 */ mflr r0 -/* 80259CF8 00256C58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259CFC 00256C5C 7C 60 1B 78 */ mr r0, r3 -/* 80259D00 00256C60 7C 83 23 78 */ mr r3, r4 -/* 80259D04 00256C64 81 84 00 00 */ lwz r12, 0(r4) -/* 80259D08 00256C68 7C 04 03 78 */ mr r4, r0 -/* 80259D0C 00256C6C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80259D10 00256C70 7D 89 03 A6 */ mtctr r12 -/* 80259D14 00256C74 4E 80 04 21 */ bctrl -/* 80259D18 00256C78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259D1C 00256C7C 7C 08 03 A6 */ mtlr r0 -/* 80259D20 00256C80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259D24 00256C84 4E 80 00 20 */ blr - -.global "__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi" -"__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi": -/* 80259D28 00256C88 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80259D2C 00256C8C 7C 08 02 A6 */ mflr r0 -/* 80259D30 00256C90 7C CC 33 78 */ mr r12, r6 -/* 80259D34 00256C94 7C A6 2B 78 */ mr r6, r5 -/* 80259D38 00256C98 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80259D3C 00256C9C 39 60 00 03 */ li r11, 3 -/* 80259D40 00256CA0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80259D44 00256CA4 93 E1 01 CC */ stw r31, 0x1cc(r1) -/* 80259D48 00256CA8 7C 7F 1B 78 */ mr r31, r3 -/* 80259D4C 00256CAC 93 C1 01 C8 */ stw r30, 0x1c8(r1) -/* 80259D50 00256CB0 7D 1E 43 78 */ mr r30, r8 -/* 80259D54 00256CB4 7D 88 63 78 */ mr r8, r12 -/* 80259D58 00256CB8 93 A1 01 C4 */ stw r29, 0x1c4(r1) -/* 80259D5C 00256CBC 83 A1 01 D8 */ lwz r29, 0x1d8(r1) -/* 80259D60 00256CC0 93 81 01 C0 */ stw r28, 0x1c0(r1) -/* 80259D64 00256CC4 83 81 01 DC */ lwz r28, 0x1dc(r1) -/* 80259D68 00256CC8 A0 04 00 00 */ lhz r0, 0(r4) -/* 80259D6C 00256CCC 38 80 00 01 */ li r4, 1 -/* 80259D70 00256CD0 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80259D74 00256CD4 38 00 00 02 */ li r0, 2 -/* 80259D78 00256CD8 91 21 00 08 */ stw r9, 8(r1) -/* 80259D7C 00256CDC 7C E9 3B 78 */ mr r9, r7 -/* 80259D80 00256CE0 38 E0 00 00 */ li r7, 0 -/* 80259D84 00256CE4 90 81 00 0C */ stw r4, 0xc(r1) -/* 80259D88 00256CE8 90 81 00 10 */ stw r4, 0x10(r1) -/* 80259D8C 00256CEC 38 80 00 1E */ li r4, 0x1e -/* 80259D90 00256CF0 91 61 00 14 */ stw r11, 0x14(r1) -/* 80259D94 00256CF4 91 41 00 18 */ stw r10, 0x18(r1) -/* 80259D98 00256CF8 7F CA F3 78 */ mr r10, r30 -/* 80259D9C 00256CFC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80259DA0 00256D00 4B E2 36 B1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80259DA4 00256D04 3C 60 80 3F */ lis r3, lbl_803E9258@ha -/* 80259DA8 00256D08 7F A4 EB 78 */ mr r4, r29 -/* 80259DAC 00256D0C 38 03 92 58 */ addi r0, r3, lbl_803E9258@l -/* 80259DB0 00256D10 7F 85 E3 78 */ mr r5, r28 -/* 80259DB4 00256D14 90 1F 00 00 */ stw r0, 0(r31) -/* 80259DB8 00256D18 38 7F 05 68 */ addi r3, r31, 0x568 -/* 80259DBC 00256D1C 48 00 09 39 */ bl sub_8025a6f4 -/* 80259DC0 00256D20 38 80 00 00 */ li r4, 0 -/* 80259DC4 00256D24 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80259DC8 00256D28 90 9F 09 80 */ stw r4, 0x980(r31) -/* 80259DCC 00256D2C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80259DD0 00256D30 38 61 00 94 */ addi r3, r1, 0x94 -/* 80259DD4 00256D34 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80259DD8 00256D38 90 9F 09 84 */ stw r4, 0x984(r31) -/* 80259DDC 00256D3C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80259DE0 00256D40 B0 9F 09 88 */ sth r4, 0x988(r31) -/* 80259DE4 00256D44 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80259DE8 00256D48 B0 9F 09 8A */ sth r4, 0x98a(r31) -/* 80259DEC 00256D4C 80 DF 05 98 */ lwz r6, 0x598(r31) -/* 80259DF0 00256D50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80259DF4 00256D54 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80259DF8 00256D58 90 C1 00 A0 */ stw r6, 0xa0(r1) -/* 80259DFC 00256D5C 81 84 00 00 */ lwz r12, 0(r4) -/* 80259E00 00256D60 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80259E04 00256D64 7D 89 03 A6 */ mtctr r12 -/* 80259E08 00256D68 4E 80 04 21 */ bctrl -/* 80259E0C 00256D6C 3B 9F 09 8C */ addi r28, r31, 0x98c -/* 80259E10 00256D70 38 81 00 94 */ addi r4, r1, 0x94 -/* 80259E14 00256D74 7F 83 E3 78 */ mr r3, r28 -/* 80259E18 00256D78 48 0E 70 91 */ bl __ct__6CTokenFRC6CToken -/* 80259E1C 00256D7C 7F 83 E3 78 */ mr r3, r28 -/* 80259E20 00256D80 48 0E 6F ED */ bl GetObj__6CTokenFv -/* 80259E24 00256D84 80 03 00 04 */ lwz r0, 4(r3) -/* 80259E28 00256D88 38 61 00 94 */ addi r3, r1, 0x94 -/* 80259E2C 00256D8C 38 80 FF FF */ li r4, -1 -/* 80259E30 00256D90 90 1C 00 08 */ stw r0, 8(r28) -/* 80259E34 00256D94 48 0E 70 0D */ bl __dt__6CTokenFv -/* 80259E38 00256D98 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80259E3C 00256D9C 38 7F 09 98 */ addi r3, r31, 0x998 -/* 80259E40 00256DA0 80 1F 05 90 */ lwz r0, 0x590(r31) -/* 80259E44 00256DA4 38 81 01 18 */ addi r4, r1, 0x118 -/* 80259E48 00256DA8 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80259E4C 00256DAC C0 1E 00 08 */ lfs f0, 8(r30) -/* 80259E50 00256DB0 D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 80259E54 00256DB4 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 80259E58 00256DB8 D0 01 01 14 */ stfs f0, 0x114(r1) -/* 80259E5C 00256DBC 90 01 01 18 */ stw r0, 0x118(r1) -/* 80259E60 00256DC0 D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 80259E64 00256DC4 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 80259E68 00256DC8 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80259E6C 00256DCC 4B EB CE F1 */ bl __ct__10CModelDataFRC10CStaticRes -/* 80259E70 00256DD0 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80259E74 00256DD4 38 7F 09 E4 */ addi r3, r31, 0x9e4 -/* 80259E78 00256DD8 80 1F 05 94 */ lwz r0, 0x594(r31) -/* 80259E7C 00256DDC 38 81 00 FC */ addi r4, r1, 0xfc -/* 80259E80 00256DE0 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80259E84 00256DE4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80259E88 00256DE8 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 80259E8C 00256DEC D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 80259E90 00256DF0 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 80259E94 00256DF4 90 01 00 FC */ stw r0, 0xfc(r1) -/* 80259E98 00256DF8 D0 41 01 00 */ stfs f2, 0x100(r1) -/* 80259E9C 00256DFC D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80259EA0 00256E00 D0 01 01 08 */ stfs f0, 0x108(r1) -/* 80259EA4 00256E04 4B EB CE B9 */ bl __ct__10CModelDataFRC10CStaticRes -/* 80259EA8 00256E08 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80259EAC 00256E0C 3C 60 80 57 */ lis r3, lbl_80572404@ha -/* 80259EB0 00256E10 38 A3 24 04 */ addi r5, r3, lbl_80572404@l -/* 80259EB4 00256E14 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80259EB8 00256E18 38 61 00 30 */ addi r3, r1, 0x30 -/* 80259EBC 00256E1C 4B DD 49 7D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80259EC0 00256E20 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80259EC4 00256E24 38 C0 00 01 */ li r6, 1 -/* 80259EC8 00256E28 38 A0 00 00 */ li r5, 0 -/* 80259ECC 00256E2C C0 22 B9 C8 */ lfs f1, lbl_805AD6E8@sda21(r2) -/* 80259ED0 00256E30 98 1F 0A 30 */ stb r0, 0xa30(r31) -/* 80259ED4 00256E34 38 7F 0A 38 */ addi r3, r31, 0xa38 -/* 80259ED8 00256E38 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80259EDC 00256E3C 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259EE0 00256E40 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80259EE4 00256E44 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259EE8 00256E48 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259EEC 00256E4C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80259EF0 00256E50 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259EF4 00256E54 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259EF8 00256E58 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80259EFC 00256E5C 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F00 00256E60 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259F04 00256E64 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80259F08 00256E68 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F0C 00256E6C 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259F10 00256E70 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80259F14 00256E74 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F18 00256E78 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259F1C 00256E7C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80259F20 00256E80 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F24 00256E84 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259F28 00256E88 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 80259F2C 00256E8C 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F30 00256E90 88 1F 0A 31 */ lbz r0, 0xa31(r31) -/* 80259F34 00256E94 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80259F38 00256E98 98 1F 0A 31 */ stb r0, 0xa31(r31) -/* 80259F3C 00256E9C 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F40 00256EA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80259F44 00256EA4 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F48 00256EA8 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F4C 00256EAC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80259F50 00256EB0 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F54 00256EB4 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F58 00256EB8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80259F5C 00256EBC 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F60 00256EC0 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F64 00256EC4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80259F68 00256EC8 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F6C 00256ECC 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F70 00256ED0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80259F74 00256ED4 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F78 00256ED8 88 1F 0A 32 */ lbz r0, 0xa32(r31) -/* 80259F7C 00256EDC 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 80259F80 00256EE0 98 1F 0A 32 */ stb r0, 0xa32(r31) -/* 80259F84 00256EE4 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259F88 00256EE8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80259F8C 00256EEC 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259F90 00256EF0 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259F94 00256EF4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80259F98 00256EF8 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259F9C 00256EFC 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FA0 00256F00 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80259FA4 00256F04 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FA8 00256F08 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FAC 00256F0C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80259FB0 00256F10 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FB4 00256F14 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FB8 00256F18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80259FBC 00256F1C 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FC0 00256F20 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FC4 00256F24 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80259FC8 00256F28 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FCC 00256F2C 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FD0 00256F30 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 80259FD4 00256F34 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FD8 00256F38 88 1F 0A 33 */ lbz r0, 0xa33(r31) -/* 80259FDC 00256F3C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80259FE0 00256F40 98 1F 0A 33 */ stb r0, 0xa33(r31) -/* 80259FE4 00256F44 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 80259FE8 00256F48 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80259FEC 00256F4C 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80259FF0 00256F50 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 80259FF4 00256F54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80259FF8 00256F58 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 80259FFC 00256F5C 88 1F 0A 34 */ lbz r0, 0xa34(r31) -/* 8025A000 00256F60 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 8025A004 00256F64 98 1F 0A 34 */ stb r0, 0xa34(r31) -/* 8025A008 00256F68 C0 9E 00 00 */ lfs f4, 0(r30) -/* 8025A00C 00256F6C C0 7E 00 04 */ lfs f3, 4(r30) -/* 8025A010 00256F70 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8025A014 00256F74 EC 01 01 32 */ fmuls f0, f1, f4 -/* 8025A018 00256F78 80 1F 05 8C */ lwz r0, 0x58c(r31) -/* 8025A01C 00256F7C EC A1 00 F2 */ fmuls f5, f1, f3 -/* 8025A020 00256F80 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8025A024 00256F84 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 8025A028 00256F88 D0 61 00 CC */ stfs f3, 0xcc(r1) -/* 8025A02C 00256F8C D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 8025A030 00256F90 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8025A034 00256F94 D0 A1 00 D8 */ stfs f5, 0xd8(r1) -/* 8025A038 00256F98 D0 21 00 DC */ stfs f1, 0xdc(r1) -/* 8025A03C 00256F9C 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 8025A040 00256FA0 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 8025A044 00256FA4 D0 A1 00 E8 */ stfs f5, 0xe8(r1) -/* 8025A048 00256FA8 D0 21 00 EC */ stfs f1, 0xec(r1) -/* 8025A04C 00256FAC 4B EB CD 11 */ bl __ct__10CModelDataFRC10CStaticRes -/* 8025A050 00256FB0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8025A054 00256FB4 38 7F 0A 84 */ addi r3, r31, 0xa84 -/* 8025A058 00256FB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8025A05C 00256FBC 48 0B 8B 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025A060 00256FC0 C0 C2 B9 68 */ lfs f6, lbl_805AD688@sda21(r2) -/* 8025A064 00256FC4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025A068 00256FC8 3B C4 66 A0 */ addi r30, r4, skZero3f@l -/* 8025A06C 00256FCC 3C 60 80 57 */ lis r3, lbl_80572534@ha -/* 8025A070 00256FD0 D0 DF 0A B4 */ stfs f6, 0xab4(r31) -/* 8025A074 00256FD4 38 A3 25 34 */ addi r5, r3, lbl_80572534@l -/* 8025A078 00256FD8 C0 02 B9 CC */ lfs f0, lbl_805AD6EC@sda21(r2) -/* 8025A07C 00256FDC 3C C0 80 5A */ lis r6, lbl_805A6754@ha -/* 8025A080 00256FE0 C0 22 B9 78 */ lfs f1, lbl_805AD698@sda21(r2) -/* 8025A084 00256FE4 38 80 00 02 */ li r4, 2 -/* 8025A088 00256FE8 D0 1F 0A B8 */ stfs f0, 0xab8(r31) -/* 8025A08C 00256FEC 38 00 00 00 */ li r0, 0 -/* 8025A090 00256FF0 C0 02 B9 2C */ lfs f0, lbl_805AD64C@sda21(r2) -/* 8025A094 00256FF4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025A098 00256FF8 D0 3F 0A BC */ stfs f1, 0xabc(r31) -/* 8025A09C 00256FFC C0 42 B9 D0 */ lfs f2, lbl_805AD6F0@sda21(r2) -/* 8025A0A0 00257000 D0 1F 0A C0 */ stfs f0, 0xac0(r31) -/* 8025A0A4 00257004 C0 02 B9 D4 */ lfs f0, lbl_805AD6F4@sda21(r2) -/* 8025A0A8 00257008 C4 66 67 54 */ lfsu f3, lbl_805A6754@l(r6) -/* 8025A0AC 0025700C C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 8025A0B0 00257010 D0 7F 0A C4 */ stfs f3, 0xac4(r31) -/* 8025A0B4 00257014 C0 66 00 04 */ lfs f3, 4(r6) -/* 8025A0B8 00257018 D0 7F 0A C8 */ stfs f3, 0xac8(r31) -/* 8025A0BC 0025701C C0 66 00 08 */ lfs f3, 8(r6) -/* 8025A0C0 00257020 D0 7F 0A CC */ stfs f3, 0xacc(r31) -/* 8025A0C4 00257024 C0 66 00 0C */ lfs f3, 0xc(r6) -/* 8025A0C8 00257028 D0 7F 0A D0 */ stfs f3, 0xad0(r31) -/* 8025A0CC 0025702C C0 66 00 10 */ lfs f3, 0x10(r6) -/* 8025A0D0 00257030 D0 7F 0A D4 */ stfs f3, 0xad4(r31) -/* 8025A0D4 00257034 C0 66 00 14 */ lfs f3, 0x14(r6) -/* 8025A0D8 00257038 D0 7F 0A D8 */ stfs f3, 0xad8(r31) -/* 8025A0DC 0025703C 80 DF 00 64 */ lwz r6, 0x64(r31) -/* 8025A0E0 00257040 C0 66 00 08 */ lfs f3, 8(r6) -/* 8025A0E4 00257044 C0 A6 00 00 */ lfs f5, 0(r6) -/* 8025A0E8 00257048 C0 86 00 04 */ lfs f4, 4(r6) -/* 8025A0EC 0025704C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8025A0F0 00257050 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 8025A0F4 00257054 D0 5F 0A DC */ stfs f2, 0xadc(r31) -/* 8025A0F8 00257058 80 DF 00 64 */ lwz r6, 0x64(r31) -/* 8025A0FC 0025705C D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 8025A100 00257060 C0 46 00 00 */ lfs f2, 0(r6) -/* 8025A104 00257064 D0 A1 00 BC */ stfs f5, 0xbc(r1) -/* 8025A108 00257068 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 8025A10C 0025706C D0 5F 0A E0 */ stfs f2, 0xae0(r31) -/* 8025A110 00257070 80 DF 00 64 */ lwz r6, 0x64(r31) -/* 8025A114 00257074 C0 46 00 08 */ lfs f2, 8(r6) -/* 8025A118 00257078 C0 86 00 00 */ lfs f4, 0(r6) -/* 8025A11C 0025707C C0 66 00 04 */ lfs f3, 4(r6) -/* 8025A120 00257080 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8025A124 00257084 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8025A128 00257088 D0 1F 0A E8 */ stfs f0, 0xae8(r31) -/* 8025A12C 0025708C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8025A130 00257090 D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 8025A134 00257094 D0 1F 0A EC */ stfs f0, 0xaec(r31) -/* 8025A138 00257098 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8025A13C 0025709C D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 8025A140 002570A0 D0 1F 0A F0 */ stfs f0, 0xaf0(r31) -/* 8025A144 002570A4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8025A148 002570A8 D0 1F 0A F4 */ stfs f0, 0xaf4(r31) -/* 8025A14C 002570AC C0 1E 00 00 */ lfs f0, 0(r30) -/* 8025A150 002570B0 D0 1F 0A F8 */ stfs f0, 0xaf8(r31) -/* 8025A154 002570B4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8025A158 002570B8 D0 1F 0A FC */ stfs f0, 0xafc(r31) -/* 8025A15C 002570BC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8025A160 002570C0 D0 1F 0B 00 */ stfs f0, 0xb00(r31) -/* 8025A164 002570C4 90 9F 0B 04 */ stw r4, 0xb04(r31) -/* 8025A168 002570C8 90 1F 0B 0C */ stw r0, 0xb0c(r31) -/* 8025A16C 002570CC D0 3F 0B 10 */ stfs f1, 0xb10(r31) -/* 8025A170 002570D0 C0 1F 05 A0 */ lfs f0, 0x5a0(r31) -/* 8025A174 002570D4 D0 1F 0B 14 */ stfs f0, 0xb14(r31) -/* 8025A178 002570D8 C0 1F 05 A4 */ lfs f0, 0x5a4(r31) -/* 8025A17C 002570DC D0 1F 0B 18 */ stfs f0, 0xb18(r31) -/* 8025A180 002570E0 C0 1F 05 A8 */ lfs f0, 0x5a8(r31) -/* 8025A184 002570E4 D0 1F 0B 1C */ stfs f0, 0xb1c(r31) -/* 8025A188 002570E8 D0 3F 0B 20 */ stfs f1, 0xb20(r31) -/* 8025A18C 002570EC D0 3F 0B 24 */ stfs f1, 0xb24(r31) -/* 8025A190 002570F0 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8025A194 002570F4 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025A198 002570F8 4B DD 46 A1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025A19C 002570FC 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 8025A1A0 00257100 3C 60 80 57 */ lis r3, lbl_80572524@ha -/* 8025A1A4 00257104 38 A3 25 24 */ addi r5, r3, lbl_80572524@l -/* 8025A1A8 00257108 C0 22 B9 D8 */ lfs f1, lbl_805AD6F8@sda21(r2) -/* 8025A1AC 0025710C 98 1F 0B 28 */ stb r0, 0xb28(r31) -/* 8025A1B0 00257110 38 7F 0B 2C */ addi r3, r31, 0xb2c -/* 8025A1B4 00257114 C0 42 B9 DC */ lfs f2, lbl_805AD6FC@sda21(r2) -/* 8025A1B8 00257118 38 C0 00 0A */ li r6, 0xa -/* 8025A1BC 0025711C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8025A1C0 00257120 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025A1C4 00257124 4B F1 B7 F5 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" -/* 8025A1C8 00257128 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025A1CC 0025712C 38 7F 0B 68 */ addi r3, r31, 0xb68 -/* 8025A1D0 00257130 38 BF 05 B0 */ addi r5, r31, 0x5b0 -/* 8025A1D4 00257134 B0 1F 0B 64 */ sth r0, 0xb64(r31) -/* 8025A1D8 00257138 80 9F 05 AC */ lwz r4, 0x5ac(r31) -/* 8025A1DC 0025713C 4B FC 1E CD */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8025A1E0 00257140 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8025A1E4 00257144 3C 60 80 57 */ lis r3, lbl_80572524@ha -/* 8025A1E8 00257148 38 A3 25 24 */ addi r5, r3, lbl_80572524@l -/* 8025A1EC 0025714C 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025A1F0 00257150 38 61 00 28 */ addi r3, r1, 0x28 -/* 8025A1F4 00257154 4B DD 46 45 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025A1F8 00257158 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8025A1FC 0025715C 3C 60 80 57 */ lis r3, lbl_80572514@ha -/* 8025A200 00257160 38 A3 25 14 */ addi r5, r3, lbl_80572514@l -/* 8025A204 00257164 98 1F 0B 90 */ stb r0, 0xb90(r31) -/* 8025A208 00257168 38 61 00 24 */ addi r3, r1, 0x24 -/* 8025A20C 0025716C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8025A210 00257170 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025A214 00257174 4B DD 46 25 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025A218 00257178 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8025A21C 0025717C 38 61 01 44 */ addi r3, r1, 0x144 -/* 8025A220 00257180 C0 02 B9 E0 */ lfs f0, lbl_805AD700@sda21(r2) -/* 8025A224 00257184 38 81 00 38 */ addi r4, r1, 0x38 -/* 8025A228 00257188 98 1F 0B 91 */ stb r0, 0xb91(r31) -/* 8025A22C 0025718C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8025A230 00257190 48 0B 97 11 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8025A234 00257194 38 7F 0B 94 */ addi r3, r31, 0xb94 -/* 8025A238 00257198 38 81 01 44 */ addi r4, r1, 0x144 -/* 8025A23C 0025719C 48 0B 89 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025A240 002571A0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025A244 002571A4 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8025A248 002571A8 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 8025A24C 002571AC C0 22 B9 18 */ lfs f1, lbl_805AD638@sda21(r2) -/* 8025A250 002571B0 C0 46 00 00 */ lfs f2, 0(r6) -/* 8025A254 002571B4 38 83 67 24 */ addi r4, r3, lbl_805A6724@l -/* 8025A258 002571B8 C0 02 B9 54 */ lfs f0, lbl_805AD674@sda21(r2) -/* 8025A25C 002571BC 38 7F 0C 14 */ addi r3, r31, 0xc14 -/* 8025A260 002571C0 D0 5F 0B C4 */ stfs f2, 0xbc4(r31) -/* 8025A264 002571C4 38 BF 06 18 */ addi r5, r31, 0x618 -/* 8025A268 002571C8 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8025A26C 002571CC D0 5F 0B C8 */ stfs f2, 0xbc8(r31) -/* 8025A270 002571D0 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8025A274 002571D4 D0 5F 0B CC */ stfs f2, 0xbcc(r31) -/* 8025A278 002571D8 C0 46 00 00 */ lfs f2, 0(r6) -/* 8025A27C 002571DC D0 5F 0B D0 */ stfs f2, 0xbd0(r31) -/* 8025A280 002571E0 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8025A284 002571E4 D0 5F 0B D4 */ stfs f2, 0xbd4(r31) -/* 8025A288 002571E8 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8025A28C 002571EC D0 5F 0B D8 */ stfs f2, 0xbd8(r31) -/* 8025A290 002571F0 C0 46 00 00 */ lfs f2, 0(r6) -/* 8025A294 002571F4 D0 5F 0B E4 */ stfs f2, 0xbe4(r31) -/* 8025A298 002571F8 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8025A29C 002571FC D0 5F 0B E8 */ stfs f2, 0xbe8(r31) -/* 8025A2A0 00257200 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8025A2A4 00257204 D0 5F 0B EC */ stfs f2, 0xbec(r31) -/* 8025A2A8 00257208 C0 44 00 00 */ lfs f2, 0(r4) -/* 8025A2AC 0025720C D0 5F 0B F0 */ stfs f2, 0xbf0(r31) -/* 8025A2B0 00257210 C0 44 00 04 */ lfs f2, 4(r4) -/* 8025A2B4 00257214 D0 5F 0B F4 */ stfs f2, 0xbf4(r31) -/* 8025A2B8 00257218 C0 44 00 08 */ lfs f2, 8(r4) -/* 8025A2BC 0025721C D0 5F 0B F8 */ stfs f2, 0xbf8(r31) -/* 8025A2C0 00257220 C0 44 00 00 */ lfs f2, 0(r4) -/* 8025A2C4 00257224 D0 5F 0B FC */ stfs f2, 0xbfc(r31) -/* 8025A2C8 00257228 C0 44 00 04 */ lfs f2, 4(r4) -/* 8025A2CC 0025722C D0 5F 0C 00 */ stfs f2, 0xc00(r31) -/* 8025A2D0 00257230 C0 44 00 08 */ lfs f2, 8(r4) -/* 8025A2D4 00257234 D0 5F 0C 04 */ stfs f2, 0xc04(r31) -/* 8025A2D8 00257238 D0 3F 0C 08 */ stfs f1, 0xc08(r31) -/* 8025A2DC 0025723C D0 3F 0C 0C */ stfs f1, 0xc0c(r31) -/* 8025A2E0 00257240 D0 1F 0C 10 */ stfs f0, 0xc10(r31) -/* 8025A2E4 00257244 80 9F 06 14 */ lwz r4, 0x614(r31) -/* 8025A2E8 00257248 4B FC 1D C1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8025A2EC 0025724C 80 9F 07 08 */ lwz r4, 0x708(r31) -/* 8025A2F0 00257250 38 7F 0C 3C */ addi r3, r31, 0xc3c -/* 8025A2F4 00257254 38 BF 07 0C */ addi r5, r31, 0x70c -/* 8025A2F8 00257258 4B FC 1D B1 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8025A2FC 0025725C 38 00 00 02 */ li r0, 2 -/* 8025A300 00257260 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025A304 00257264 90 1F 0C 64 */ stw r0, 0xc64(r31) -/* 8025A308 00257268 38 A0 00 00 */ li r5, 0 -/* 8025A30C 0025726C C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025A310 00257270 38 00 00 04 */ li r0, 4 -/* 8025A314 00257274 C0 23 66 A0 */ lfs f1, skZero3f@l(r3) -/* 8025A318 00257278 7F E4 FB 78 */ mr r4, r31 -/* 8025A31C 0025727C 38 61 01 28 */ addi r3, r1, 0x128 -/* 8025A320 00257280 D0 3F 0C 68 */ stfs f1, 0xc68(r31) -/* 8025A324 00257284 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8025A328 00257288 D0 3F 0C 6C */ stfs f1, 0xc6c(r31) -/* 8025A32C 0025728C C0 3E 00 08 */ lfs f1, 8(r30) -/* 8025A330 00257290 D0 3F 0C 70 */ stfs f1, 0xc70(r31) -/* 8025A334 00257294 90 BF 0C 74 */ stw r5, 0xc74(r31) -/* 8025A338 00257298 D0 1F 0C 78 */ stfs f0, 0xc78(r31) -/* 8025A33C 0025729C D0 1F 0C 7C */ stfs f0, 0xc7c(r31) -/* 8025A340 002572A0 D0 1F 0C 80 */ stfs f0, 0xc80(r31) -/* 8025A344 002572A4 90 1F 0C 88 */ stw r0, 0xc88(r31) -/* 8025A348 002572A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A34C 002572AC 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 8025A350 002572B0 7D 89 03 A6 */ mtctr r12 -/* 8025A354 002572B4 4E 80 04 21 */ bctrl -/* 8025A358 002572B8 80 01 01 28 */ lwz r0, 0x128(r1) -/* 8025A35C 002572BC 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 8025A360 002572C0 38 C0 00 00 */ li r6, 0 -/* 8025A364 002572C4 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025A368 002572C8 90 1F 0C 8C */ stw r0, 0xc8c(r31) -/* 8025A36C 002572CC 38 80 00 01 */ li r4, 1 -/* 8025A370 002572D0 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 8025A374 002572D4 38 61 00 84 */ addi r3, r1, 0x84 -/* 8025A378 002572D8 88 E1 01 2C */ lbz r7, 0x12c(r1) -/* 8025A37C 002572DC 38 A1 00 8C */ addi r5, r1, 0x8c -/* 8025A380 002572E0 98 FF 0C 90 */ stb r7, 0xc90(r31) -/* 8025A384 002572E4 C0 21 01 30 */ lfs f1, 0x130(r1) -/* 8025A388 002572E8 D0 3F 0C 94 */ stfs f1, 0xc94(r31) -/* 8025A38C 002572EC C0 21 01 34 */ lfs f1, 0x134(r1) -/* 8025A390 002572F0 D0 3F 0C 98 */ stfs f1, 0xc98(r31) -/* 8025A394 002572F4 C0 21 01 38 */ lfs f1, 0x138(r1) -/* 8025A398 002572F8 D0 3F 0C 9C */ stfs f1, 0xc9c(r31) -/* 8025A39C 002572FC C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 8025A3A0 00257300 D0 3F 0C A0 */ stfs f1, 0xca0(r31) -/* 8025A3A4 00257304 88 E1 01 40 */ lbz r7, 0x140(r1) -/* 8025A3A8 00257308 98 FF 0C A4 */ stb r7, 0xca4(r31) -/* 8025A3AC 0025730C 90 DF 0C A8 */ stw r6, 0xca8(r31) -/* 8025A3B0 00257310 90 DF 0C AC */ stw r6, 0xcac(r31) -/* 8025A3B4 00257314 90 DF 0C B0 */ stw r6, 0xcb0(r31) -/* 8025A3B8 00257318 90 DF 0C B4 */ stw r6, 0xcb4(r31) -/* 8025A3BC 0025731C D0 1F 0C B8 */ stfs f0, 0xcb8(r31) -/* 8025A3C0 00257320 D0 1F 0C BC */ stfs f0, 0xcbc(r31) -/* 8025A3C4 00257324 90 9F 0C C0 */ stw r4, 0xcc0(r31) -/* 8025A3C8 00257328 90 9F 0C C4 */ stw r4, 0xcc4(r31) -/* 8025A3CC 0025732C D0 1F 0C C8 */ stfs f0, 0xcc8(r31) -/* 8025A3D0 00257330 80 DF 09 58 */ lwz r6, 0x958(r31) -/* 8025A3D4 00257334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8025A3D8 00257338 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8025A3DC 0025733C 90 C1 00 90 */ stw r6, 0x90(r1) -/* 8025A3E0 00257340 81 84 00 00 */ lwz r12, 0(r4) -/* 8025A3E4 00257344 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025A3E8 00257348 7D 89 03 A6 */ mtctr r12 -/* 8025A3EC 0025734C 4E 80 04 21 */ bctrl -/* 8025A3F0 00257350 3B 9F 0C D0 */ addi r28, r31, 0xcd0 -/* 8025A3F4 00257354 38 81 00 84 */ addi r4, r1, 0x84 -/* 8025A3F8 00257358 7F 83 E3 78 */ mr r3, r28 -/* 8025A3FC 0025735C 48 0E 6A AD */ bl __ct__6CTokenFRC6CToken -/* 8025A400 00257360 7F 83 E3 78 */ mr r3, r28 -/* 8025A404 00257364 48 0E 6A 09 */ bl GetObj__6CTokenFv -/* 8025A408 00257368 80 03 00 04 */ lwz r0, 4(r3) -/* 8025A40C 0025736C 38 61 00 84 */ addi r3, r1, 0x84 -/* 8025A410 00257370 38 80 FF FF */ li r4, -1 -/* 8025A414 00257374 90 1C 00 08 */ stw r0, 8(r28) -/* 8025A418 00257378 48 0E 6A 29 */ bl __dt__6CTokenFv -/* 8025A41C 0025737C 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 8025A420 00257380 3B 80 00 00 */ li r28, 0 -/* 8025A424 00257384 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l -/* 8025A428 00257388 38 60 04 58 */ li r3, 0x458 -/* 8025A42C 0025738C 38 84 00 85 */ addi r4, r4, 0x85 -/* 8025A430 00257390 38 A0 00 00 */ li r5, 0 -/* 8025A434 00257394 48 0B B4 39 */ bl __nw__FUlPCcPCc -/* 8025A438 00257398 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025A43C 0025739C 41 82 00 24 */ beq lbl_8025A460 -/* 8025A440 002573A0 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025A444 002573A4 38 9F 0C D0 */ addi r4, r31, 0xcd0 -/* 8025A448 002573A8 48 0E 6A 61 */ bl __ct__6CTokenFRC6CToken -/* 8025A44C 002573AC 7F C3 F3 78 */ mr r3, r30 -/* 8025A450 002573B0 38 81 00 7C */ addi r4, r1, 0x7c -/* 8025A454 002573B4 3B 80 00 01 */ li r28, 1 -/* 8025A458 002573B8 48 10 7D 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8025A45C 002573BC 7C 7E 1B 78 */ mr r30, r3 -lbl_8025A460: -/* 8025A460 002573C0 7C 7E 00 D0 */ neg r3, r30 -/* 8025A464 002573C4 7F 80 07 75 */ extsb. r0, r28 -/* 8025A468 002573C8 7C 60 F3 78 */ or r0, r3, r30 -/* 8025A46C 002573CC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8025A470 002573D0 98 1F 0C DC */ stb r0, 0xcdc(r31) -/* 8025A474 002573D4 93 DF 0C E0 */ stw r30, 0xce0(r31) -/* 8025A478 002573D8 41 82 00 10 */ beq lbl_8025A488 -/* 8025A47C 002573DC 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025A480 002573E0 38 80 00 00 */ li r4, 0 -/* 8025A484 002573E4 48 0E 69 BD */ bl __dt__6CTokenFv -lbl_8025A488: -/* 8025A488 002573E8 38 00 00 00 */ li r0, 0 -/* 8025A48C 002573EC 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 8025A490 002573F0 90 1F 0C E4 */ stw r0, 0xce4(r31) -/* 8025A494 002573F4 38 63 4D 5C */ addi r3, r3, lbl_803D4D5C@l -/* 8025A498 002573F8 C0 02 B9 18 */ lfs f0, lbl_805AD638@sda21(r2) -/* 8025A49C 002573FC 38 83 00 85 */ addi r4, r3, 0x85 -/* 8025A4A0 00257400 38 60 00 9C */ li r3, 0x9c -/* 8025A4A4 00257404 38 A0 00 00 */ li r5, 0 -/* 8025A4A8 00257408 D0 1F 0D 08 */ stfs f0, 0xd08(r31) -/* 8025A4AC 0025740C 90 1F 0D 0C */ stw r0, 0xd0c(r31) -/* 8025A4B0 00257410 48 0B B3 BD */ bl __nw__FUlPCcPCc -/* 8025A4B4 00257414 7C 60 1B 79 */ or. r0, r3, r3 -/* 8025A4B8 00257418 41 82 00 18 */ beq lbl_8025A4D0 -/* 8025A4BC 0025741C 38 80 00 80 */ li r4, 0x80 -/* 8025A4C0 00257420 38 A0 00 80 */ li r5, 0x80 -/* 8025A4C4 00257424 38 C0 00 01 */ li r6, 1 -/* 8025A4C8 00257428 48 04 3F 15 */ bl __ct__16CProjectedShadowFv -/* 8025A4CC 0025742C 7C 60 1B 78 */ mr r0, r3 -lbl_8025A4D0: -/* 8025A4D0 00257430 90 1F 0D 10 */ stw r0, 0xd10(r31) -/* 8025A4D4 00257434 38 80 00 00 */ li r4, 0 -/* 8025A4D8 00257438 38 7F 0B 68 */ addi r3, r31, 0xb68 -/* 8025A4DC 0025743C 88 1F 00 E7 */ lbz r0, 0xe7(r31) -/* 8025A4E0 00257440 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8025A4E4 00257444 98 1F 00 E7 */ stb r0, 0xe7(r31) -/* 8025A4E8 00257448 48 0E 68 9D */ bl Lock__6CTokenFv -/* 8025A4EC 0025744C 38 7F 0C 14 */ addi r3, r31, 0xc14 -/* 8025A4F0 00257450 48 0E 68 95 */ bl Lock__6CTokenFv -/* 8025A4F4 00257454 38 7F 0C 3C */ addi r3, r31, 0xc3c -/* 8025A4F8 00257458 48 0E 68 8D */ bl Lock__6CTokenFv -/* 8025A4FC 0025745C 80 7F 0C E0 */ lwz r3, 0xce0(r31) -/* 8025A500 00257460 28 03 00 00 */ cmplwi r3, 0 -/* 8025A504 00257464 41 82 00 18 */ beq lbl_8025A51C -/* 8025A508 00257468 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A50C 0025746C 38 80 00 00 */ li r4, 0 -/* 8025A510 00257470 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8025A514 00257474 7D 89 03 A6 */ mtctr r12 -/* 8025A518 00257478 4E 80 04 21 */ bctrl -lbl_8025A51C: -/* 8025A51C 0025747C 3C 60 80 47 */ lis r3, lbl_8046D7E0@ha -/* 8025A520 00257480 3B BF 0C E4 */ addi r29, r31, 0xce4 -/* 8025A524 00257484 3B C3 D7 E0 */ addi r30, r3, lbl_8046D7E0@l -/* 8025A528 00257488 3B 80 00 00 */ li r28, 0 -lbl_8025A52C: -/* 8025A52C 0025748C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8025A530 00257490 7F C5 F3 78 */ mr r5, r30 -/* 8025A534 00257494 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025A538 00257498 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8025A53C 0025749C 4B DD 42 FD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025A540 002574A0 80 1D 00 00 */ lwz r0, 0(r29) -/* 8025A544 002574A4 7C 7D 02 14 */ add r3, r29, r0 -/* 8025A548 002574A8 34 63 00 04 */ addic. r3, r3, 4 -/* 8025A54C 002574AC 41 82 00 0C */ beq lbl_8025A558 -/* 8025A550 002574B0 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8025A554 002574B4 98 03 00 00 */ stb r0, 0(r3) -lbl_8025A558: -/* 8025A558 002574B8 80 7F 0C E4 */ lwz r3, 0xce4(r31) -/* 8025A55C 002574BC 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025A560 002574C0 28 1C 00 1E */ cmplwi r28, 0x1e -/* 8025A564 002574C4 3B DE 00 10 */ addi r30, r30, 0x10 -/* 8025A568 002574C8 38 03 00 01 */ addi r0, r3, 1 -/* 8025A56C 002574CC 90 1F 0C E4 */ stw r0, 0xce4(r31) -/* 8025A570 002574D0 41 80 FF BC */ blt lbl_8025A52C -/* 8025A574 002574D4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8025A578 002574D8 48 08 8B 05 */ bl NoParameter__12CPASAnimParmFv -/* 8025A57C 002574DC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025A580 002574E0 48 08 8A FD */ bl NoParameter__12CPASAnimParmFv -/* 8025A584 002574E4 38 61 00 4C */ addi r3, r1, 0x4c -/* 8025A588 002574E8 48 08 8A F5 */ bl NoParameter__12CPASAnimParmFv -/* 8025A58C 002574EC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025A590 002574F0 48 08 8A ED */ bl NoParameter__12CPASAnimParmFv -/* 8025A594 002574F4 38 61 00 5C */ addi r3, r1, 0x5c -/* 8025A598 002574F8 48 08 8A E5 */ bl NoParameter__12CPASAnimParmFv -/* 8025A59C 002574FC 38 61 00 64 */ addi r3, r1, 0x64 -/* 8025A5A0 00257500 48 08 8A DD */ bl NoParameter__12CPASAnimParmFv -/* 8025A5A4 00257504 38 61 00 6C */ addi r3, r1, 0x6c -/* 8025A5A8 00257508 38 80 00 03 */ li r4, 3 -/* 8025A5AC 0025750C 48 08 89 D9 */ bl FromEnum__12CPASAnimParmFi -/* 8025A5B0 00257510 38 61 00 74 */ addi r3, r1, 0x74 -/* 8025A5B4 00257514 38 80 00 04 */ li r4, 4 -/* 8025A5B8 00257518 48 08 89 CD */ bl FromEnum__12CPASAnimParmFi -/* 8025A5BC 0025751C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025A5C0 00257520 38 01 00 3C */ addi r0, r1, 0x3c -/* 8025A5C4 00257524 90 61 00 08 */ stw r3, 8(r1) -/* 8025A5C8 00257528 38 61 01 74 */ addi r3, r1, 0x174 -/* 8025A5CC 0025752C 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8025A5D0 00257530 38 C1 00 6C */ addi r6, r1, 0x6c -/* 8025A5D4 00257534 90 01 00 0C */ stw r0, 0xc(r1) -/* 8025A5D8 00257538 38 E1 00 64 */ addi r7, r1, 0x64 -/* 8025A5DC 0025753C 39 01 00 5C */ addi r8, r1, 0x5c -/* 8025A5E0 00257540 39 21 00 54 */ addi r9, r1, 0x54 -/* 8025A5E4 00257544 39 41 00 4C */ addi r10, r1, 0x4c -/* 8025A5E8 00257548 38 80 00 07 */ li r4, 7 -/* 8025A5EC 0025754C 4B E2 2C D9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8025A5F0 00257550 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 8025A5F4 00257554 7F E3 FB 78 */ mr r3, r31 -/* 8025A5F8 00257558 38 81 01 74 */ addi r4, r1, 0x174 -/* 8025A5FC 0025755C C0 45 00 00 */ lfs f2, 0(r5) -/* 8025A600 00257560 C0 25 00 04 */ lfs f1, 4(r5) -/* 8025A604 00257564 C0 05 00 08 */ lfs f0, 8(r5) -/* 8025A608 00257568 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8025A60C 0025756C D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8025A610 00257570 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8025A614 00257574 4B E2 23 ED */ bl func_8007CA00 -/* 8025A618 00257578 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8025A61C 0025757C 34 A1 01 78 */ addic. r5, r1, 0x178 -/* 8025A620 00257580 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8025A624 00257584 D0 1F 0A E4 */ stfs f0, 0xae4(r31) -/* 8025A628 00257588 41 82 00 58 */ beq lbl_8025A680 -/* 8025A62C 0025758C 80 C5 00 00 */ lwz r6, 0(r5) -/* 8025A630 00257590 38 60 00 00 */ li r3, 0 -/* 8025A634 00257594 2C 06 00 00 */ cmpwi r6, 0 -/* 8025A638 00257598 40 81 00 40 */ ble lbl_8025A678 -/* 8025A63C 0025759C 2C 06 00 08 */ cmpwi r6, 8 -/* 8025A640 002575A0 38 86 FF F8 */ addi r4, r6, -8 -/* 8025A644 002575A4 40 81 00 20 */ ble lbl_8025A664 -/* 8025A648 002575A8 38 04 00 07 */ addi r0, r4, 7 -/* 8025A64C 002575AC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8025A650 002575B0 7C 09 03 A6 */ mtctr r0 -/* 8025A654 002575B4 2C 04 00 00 */ cmpwi r4, 0 -/* 8025A658 002575B8 40 81 00 0C */ ble lbl_8025A664 -lbl_8025A65C: -/* 8025A65C 002575BC 38 63 00 08 */ addi r3, r3, 8 -/* 8025A660 002575C0 42 00 FF FC */ bdnz lbl_8025A65C -lbl_8025A664: -/* 8025A664 002575C4 7C 03 30 50 */ subf r0, r3, r6 -/* 8025A668 002575C8 7C 09 03 A6 */ mtctr r0 -/* 8025A66C 002575CC 7C 03 30 00 */ cmpw r3, r6 -/* 8025A670 002575D0 40 80 00 08 */ bge lbl_8025A678 -lbl_8025A674: -/* 8025A674 002575D4 42 00 00 00 */ bdnz lbl_8025A674 -lbl_8025A678: -/* 8025A678 002575D8 38 00 00 00 */ li r0, 0 -/* 8025A67C 002575DC 90 05 00 00 */ stw r0, 0(r5) -lbl_8025A680: -/* 8025A680 002575E0 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8025A684 002575E4 38 80 00 01 */ li r4, 1 -/* 8025A688 002575E8 38 A0 00 01 */ li r5, 1 -/* 8025A68C 002575EC 4B FD 97 09 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState -/* 8025A690 002575F0 88 1F 04 E1 */ lbz r0, 0x4e1(r31) -/* 8025A694 002575F4 38 A0 00 00 */ li r5, 0 -/* 8025A698 002575F8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8025A69C 002575FC 7F E3 FB 78 */ mr r3, r31 -/* 8025A6A0 00257600 98 1F 04 E1 */ stb r0, 0x4e1(r31) -/* 8025A6A4 00257604 38 80 00 00 */ li r4, 0 -/* 8025A6A8 00257608 88 1F 04 E1 */ lbz r0, 0x4e1(r31) -/* 8025A6AC 0025760C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8025A6B0 00257610 98 1F 04 E1 */ stb r0, 0x4e1(r31) -/* 8025A6B4 00257614 88 1F 04 E1 */ lbz r0, 0x4e1(r31) -/* 8025A6B8 00257618 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 8025A6BC 0025761C 98 1F 04 E1 */ stb r0, 0x4e1(r31) -/* 8025A6C0 00257620 88 1F 04 E1 */ lbz r0, 0x4e1(r31) -/* 8025A6C4 00257624 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 8025A6C8 00257628 98 1F 04 E1 */ stb r0, 0x4e1(r31) -/* 8025A6CC 0025762C 4B DF 86 A1 */ bl CreateShadow__6CActorFb -/* 8025A6D0 00257630 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 8025A6D4 00257634 7F E3 FB 78 */ mr r3, r31 -/* 8025A6D8 00257638 83 E1 01 CC */ lwz r31, 0x1cc(r1) -/* 8025A6DC 0025763C 83 C1 01 C8 */ lwz r30, 0x1c8(r1) -/* 8025A6E0 00257640 83 A1 01 C4 */ lwz r29, 0x1c4(r1) -/* 8025A6E4 00257644 83 81 01 C0 */ lwz r28, 0x1c0(r1) -/* 8025A6E8 00257648 7C 08 03 A6 */ mtlr r0 -/* 8025A6EC 0025764C 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 8025A6F0 00257650 4E 80 00 20 */ blr - -.global sub_8025a6f4 -sub_8025a6f4: -/* 8025A6F4 00257654 94 21 FD 50 */ stwu r1, -0x2b0(r1) -/* 8025A6F8 00257658 7C 08 02 A6 */ mflr r0 -/* 8025A6FC 0025765C 90 01 02 B4 */ stw r0, 0x2b4(r1) -/* 8025A700 00257660 93 E1 02 AC */ stw r31, 0x2ac(r1) -/* 8025A704 00257664 7C BF 2B 78 */ mr r31, r5 -/* 8025A708 00257668 93 C1 02 A8 */ stw r30, 0x2a8(r1) -/* 8025A70C 0025766C 7C 9E 23 78 */ mr r30, r4 -/* 8025A710 00257670 93 A1 02 A4 */ stw r29, 0x2a4(r1) -/* 8025A714 00257674 7C 7D 1B 78 */ mr r29, r3 -/* 8025A718 00257678 7F C3 F3 78 */ mr r3, r30 -/* 8025A71C 0025767C 48 0E 45 69 */ bl ReadLong__12CInputStreamFv -/* 8025A720 00257680 90 7D 00 00 */ stw r3, 0(r29) -/* 8025A724 00257684 7F C3 F3 78 */ mr r3, r30 -/* 8025A728 00257688 48 0E 45 5D */ bl ReadLong__12CInputStreamFv -/* 8025A72C 0025768C 90 7D 00 04 */ stw r3, 4(r29) -/* 8025A730 00257690 7F C3 F3 78 */ mr r3, r30 -/* 8025A734 00257694 48 0E 45 51 */ bl ReadLong__12CInputStreamFv -/* 8025A738 00257698 90 7D 00 08 */ stw r3, 8(r29) -/* 8025A73C 0025769C 7F C3 F3 78 */ mr r3, r30 -/* 8025A740 002576A0 48 0E 45 45 */ bl ReadLong__12CInputStreamFv -/* 8025A744 002576A4 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8025A748 002576A8 7F C3 F3 78 */ mr r3, r30 -/* 8025A74C 002576AC 48 0E 45 39 */ bl ReadLong__12CInputStreamFv -/* 8025A750 002576B0 90 7D 00 10 */ stw r3, 0x10(r29) -/* 8025A754 002576B4 7F C3 F3 78 */ mr r3, r30 -/* 8025A758 002576B8 48 0E 45 2D */ bl ReadLong__12CInputStreamFv -/* 8025A75C 002576BC 90 7D 00 14 */ stw r3, 0x14(r29) -/* 8025A760 002576C0 7F C3 F3 78 */ mr r3, r30 -/* 8025A764 002576C4 48 0E 45 21 */ bl ReadLong__12CInputStreamFv -/* 8025A768 002576C8 90 7D 00 18 */ stw r3, 0x18(r29) -/* 8025A76C 002576CC 7F C3 F3 78 */ mr r3, r30 -/* 8025A770 002576D0 48 0E 45 15 */ bl ReadLong__12CInputStreamFv -/* 8025A774 002576D4 90 7D 00 1C */ stw r3, 0x1c(r29) -/* 8025A778 002576D8 7F C3 F3 78 */ mr r3, r30 -/* 8025A77C 002576DC 48 0E 45 09 */ bl ReadLong__12CInputStreamFv -/* 8025A780 002576E0 90 7D 00 20 */ stw r3, 0x20(r29) -/* 8025A784 002576E4 7F C3 F3 78 */ mr r3, r30 -/* 8025A788 002576E8 48 0E 44 FD */ bl ReadLong__12CInputStreamFv -/* 8025A78C 002576EC 90 7D 00 24 */ stw r3, 0x24(r29) -/* 8025A790 002576F0 7F C3 F3 78 */ mr r3, r30 -/* 8025A794 002576F4 48 0E 44 F1 */ bl ReadLong__12CInputStreamFv -/* 8025A798 002576F8 90 7D 00 28 */ stw r3, 0x28(r29) -/* 8025A79C 002576FC 7F C3 F3 78 */ mr r3, r30 -/* 8025A7A0 00257700 48 0E 44 E5 */ bl ReadLong__12CInputStreamFv -/* 8025A7A4 00257704 90 7D 00 2C */ stw r3, 0x2c(r29) -/* 8025A7A8 00257708 7F C3 F3 78 */ mr r3, r30 -/* 8025A7AC 0025770C 48 0E 44 D9 */ bl ReadLong__12CInputStreamFv -/* 8025A7B0 00257710 90 7D 00 30 */ stw r3, 0x30(r29) -/* 8025A7B4 00257714 7F C3 F3 78 */ mr r3, r30 -/* 8025A7B8 00257718 48 0E 44 71 */ bl ReadFloat__12CInputStreamFv -/* 8025A7BC 0025771C D0 3D 00 34 */ stfs f1, 0x34(r29) -/* 8025A7C0 00257720 7F C3 F3 78 */ mr r3, r30 -/* 8025A7C4 00257724 48 0E 44 65 */ bl ReadFloat__12CInputStreamFv -/* 8025A7C8 00257728 D0 3D 00 38 */ stfs f1, 0x38(r29) -/* 8025A7CC 0025772C 7F C3 F3 78 */ mr r3, r30 -/* 8025A7D0 00257730 48 0E 44 59 */ bl ReadFloat__12CInputStreamFv -/* 8025A7D4 00257734 D0 3D 00 3C */ stfs f1, 0x3c(r29) -/* 8025A7D8 00257738 7F C3 F3 78 */ mr r3, r30 -/* 8025A7DC 0025773C 48 0E 44 4D */ bl ReadFloat__12CInputStreamFv -/* 8025A7E0 00257740 D0 3D 00 40 */ stfs f1, 0x40(r29) -/* 8025A7E4 00257744 7F C3 F3 78 */ mr r3, r30 -/* 8025A7E8 00257748 48 0E 44 9D */ bl ReadLong__12CInputStreamFv -/* 8025A7EC 0025774C 90 7D 00 44 */ stw r3, 0x44(r29) -/* 8025A7F0 00257750 7F C4 F3 78 */ mr r4, r30 -/* 8025A7F4 00257754 38 7D 00 48 */ addi r3, r29, 0x48 -/* 8025A7F8 00257758 4B E6 8D 69 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A7FC 0025775C 7F C4 F3 78 */ mr r4, r30 -/* 8025A800 00257760 38 7D 00 64 */ addi r3, r29, 0x64 -/* 8025A804 00257764 4B E6 BD 4D */ bl __ct__9CBeamInfoFR12CInputStream -/* 8025A808 00257768 7F C3 F3 78 */ mr r3, r30 -/* 8025A80C 0025776C 48 0E 44 79 */ bl ReadLong__12CInputStreamFv -/* 8025A810 00257770 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8025A814 00257774 48 08 E1 9D */ bl TranslateSFXID__11CSfxManagerFUs -/* 8025A818 00257778 B0 7D 00 A8 */ sth r3, 0xa8(r29) -/* 8025A81C 0025777C 7F C3 F3 78 */ mr r3, r30 -/* 8025A820 00257780 48 0E 44 65 */ bl ReadLong__12CInputStreamFv -/* 8025A824 00257784 90 7D 00 AC */ stw r3, 0xac(r29) -/* 8025A828 00257788 7F C4 F3 78 */ mr r4, r30 -/* 8025A82C 0025778C 38 7D 00 B0 */ addi r3, r29, 0xb0 -/* 8025A830 00257790 4B E6 8D 31 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A834 00257794 7F C4 F3 78 */ mr r4, r30 -/* 8025A838 00257798 38 61 01 CC */ addi r3, r1, 0x1cc -/* 8025A83C 0025779C 4B F0 21 F5 */ bl __ct__16CCameraShakeDataFR12CInputStream -/* 8025A840 002577A0 38 7D 00 CC */ addi r3, r29, 0xcc -/* 8025A844 002577A4 38 81 01 CC */ addi r4, r1, 0x1cc -/* 8025A848 002577A8 4B DB 05 61 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8025A84C 002577AC 34 81 02 4C */ addic. r4, r1, 0x24c -/* 8025A850 002577B0 41 82 00 10 */ beq lbl_8025A860 -/* 8025A854 002577B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A858 002577B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A85C 002577BC 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A860: -/* 8025A860 002577C0 34 81 02 10 */ addic. r4, r1, 0x210 -/* 8025A864 002577C4 41 82 00 10 */ beq lbl_8025A874 -/* 8025A868 002577C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A86C 002577CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A870 002577D0 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A874: -/* 8025A874 002577D4 34 81 01 D4 */ addic. r4, r1, 0x1d4 -/* 8025A878 002577D8 41 82 00 10 */ beq lbl_8025A888 -/* 8025A87C 002577DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A880 002577E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A884 002577E4 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A888: -/* 8025A888 002577E8 7F C3 F3 78 */ mr r3, r30 -/* 8025A88C 002577EC 48 0E 43 F9 */ bl ReadLong__12CInputStreamFv -/* 8025A890 002577F0 90 7D 01 A0 */ stw r3, 0x1a0(r29) -/* 8025A894 002577F4 7F C4 F3 78 */ mr r4, r30 -/* 8025A898 002577F8 38 7D 01 A4 */ addi r3, r29, 0x1a4 -/* 8025A89C 002577FC 4B E6 8C C5 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A8A0 00257800 7F C4 F3 78 */ mr r4, r30 -/* 8025A8A4 00257804 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8025A8A8 00257808 4B F0 21 89 */ bl __ct__16CCameraShakeDataFR12CInputStream -/* 8025A8AC 0025780C 38 7D 01 C0 */ addi r3, r29, 0x1c0 -/* 8025A8B0 00257810 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8025A8B4 00257814 4B DB 04 F5 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8025A8B8 00257818 34 81 01 78 */ addic. r4, r1, 0x178 -/* 8025A8BC 0025781C 41 82 00 10 */ beq lbl_8025A8CC -/* 8025A8C0 00257820 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A8C4 00257824 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A8C8 00257828 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A8CC: -/* 8025A8CC 0025782C 34 81 01 3C */ addic. r4, r1, 0x13c -/* 8025A8D0 00257830 41 82 00 10 */ beq lbl_8025A8E0 -/* 8025A8D4 00257834 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A8D8 00257838 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A8DC 0025783C 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A8E0: -/* 8025A8E0 00257840 34 81 01 00 */ addic. r4, r1, 0x100 -/* 8025A8E4 00257844 41 82 00 10 */ beq lbl_8025A8F4 -/* 8025A8E8 00257848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A8EC 0025784C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A8F0 00257850 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A8F4: -/* 8025A8F4 00257854 7F C3 F3 78 */ mr r3, r30 -/* 8025A8F8 00257858 48 0E 43 8D */ bl ReadLong__12CInputStreamFv -/* 8025A8FC 0025785C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8025A900 00257860 48 08 E0 B1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8025A904 00257864 B0 7D 02 94 */ sth r3, 0x294(r29) -/* 8025A908 00257868 7F C4 F3 78 */ mr r4, r30 -/* 8025A90C 0025786C 38 7D 02 98 */ addi r3, r29, 0x298 -/* 8025A910 00257870 4B E6 8C 51 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A914 00257874 7F C4 F3 78 */ mr r4, r30 -/* 8025A918 00257878 38 61 00 24 */ addi r3, r1, 0x24 -/* 8025A91C 0025787C 4B F0 21 15 */ bl __ct__16CCameraShakeDataFR12CInputStream -/* 8025A920 00257880 38 7D 02 B4 */ addi r3, r29, 0x2b4 -/* 8025A924 00257884 38 81 00 24 */ addi r4, r1, 0x24 -/* 8025A928 00257888 4B DB 04 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8025A92C 0025788C 34 81 00 A4 */ addic. r4, r1, 0xa4 -/* 8025A930 00257890 41 82 00 10 */ beq lbl_8025A940 -/* 8025A934 00257894 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A938 00257898 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A93C 0025789C 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A940: -/* 8025A940 002578A0 34 81 00 68 */ addic. r4, r1, 0x68 -/* 8025A944 002578A4 41 82 00 10 */ beq lbl_8025A954 -/* 8025A948 002578A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A94C 002578AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A950 002578B0 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A954: -/* 8025A954 002578B4 34 81 00 2C */ addic. r4, r1, 0x2c -/* 8025A958 002578B8 41 82 00 10 */ beq lbl_8025A968 -/* 8025A95C 002578BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8025A960 002578C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8025A964 002578C4 90 04 00 00 */ stw r0, 0(r4) -lbl_8025A968: -/* 8025A968 002578C8 7F C3 F3 78 */ mr r3, r30 -/* 8025A96C 002578CC 48 0E 42 BD */ bl ReadFloat__12CInputStreamFv -/* 8025A970 002578D0 D0 3D 03 88 */ stfs f1, 0x388(r29) -/* 8025A974 002578D4 7F C3 F3 78 */ mr r3, r30 -/* 8025A978 002578D8 48 0E 42 B1 */ bl ReadFloat__12CInputStreamFv -/* 8025A97C 002578DC D0 3D 03 8C */ stfs f1, 0x38c(r29) -/* 8025A980 002578E0 7F C4 F3 78 */ mr r4, r30 -/* 8025A984 002578E4 38 7D 03 90 */ addi r3, r29, 0x390 -/* 8025A988 002578E8 4B E6 8B D9 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A98C 002578EC 7F C3 F3 78 */ mr r3, r30 -/* 8025A990 002578F0 48 0E 42 99 */ bl ReadFloat__12CInputStreamFv -/* 8025A994 002578F4 D0 3D 03 AC */ stfs f1, 0x3ac(r29) -/* 8025A998 002578F8 7F C4 F3 78 */ mr r4, r30 -/* 8025A99C 002578FC 38 7D 03 B0 */ addi r3, r29, 0x3b0 -/* 8025A9A0 00257900 4B E6 8B C1 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A9A4 00257904 7F C3 F3 78 */ mr r3, r30 -/* 8025A9A8 00257908 48 0E 42 81 */ bl ReadFloat__12CInputStreamFv -/* 8025A9AC 0025790C D0 3D 03 CC */ stfs f1, 0x3cc(r29) -/* 8025A9B0 00257910 7F C4 F3 78 */ mr r4, r30 -/* 8025A9B4 00257914 38 7D 03 D0 */ addi r3, r29, 0x3d0 -/* 8025A9B8 00257918 4B E6 8B A9 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025A9BC 0025791C 7F C3 F3 78 */ mr r3, r30 -/* 8025A9C0 00257920 48 0E 42 69 */ bl ReadFloat__12CInputStreamFv -/* 8025A9C4 00257924 D0 3D 03 EC */ stfs f1, 0x3ec(r29) -/* 8025A9C8 00257928 7F C3 F3 78 */ mr r3, r30 -/* 8025A9CC 0025792C 48 0E 42 B9 */ bl ReadLong__12CInputStreamFv -/* 8025A9D0 00257930 90 7D 03 F0 */ stw r3, 0x3f0(r29) -/* 8025A9D4 00257934 7F C3 F3 78 */ mr r3, r30 -/* 8025A9D8 00257938 48 0E 42 51 */ bl ReadFloat__12CInputStreamFv -/* 8025A9DC 0025793C D0 3D 03 F4 */ stfs f1, 0x3f4(r29) -/* 8025A9E0 00257940 7F C3 F3 78 */ mr r3, r30 -/* 8025A9E4 00257944 48 0E 42 A1 */ bl ReadLong__12CInputStreamFv -/* 8025A9E8 00257948 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8025A9EC 0025794C 48 08 DF C5 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8025A9F0 00257950 2C 1F 00 2F */ cmpwi r31, 0x2f -/* 8025A9F4 00257954 B0 7D 03 F8 */ sth r3, 0x3f8(r29) -/* 8025A9F8 00257958 40 81 00 18 */ ble lbl_8025AA10 -/* 8025A9FC 0025795C 7F C4 F3 78 */ mr r4, r30 -/* 8025AA00 00257960 38 61 00 08 */ addi r3, r1, 8 -/* 8025AA04 00257964 4B E6 8B 5D */ bl __ct__11CDamageInfoFR12CInputStream -/* 8025AA08 00257968 7C 64 1B 78 */ mr r4, r3 -/* 8025AA0C 0025796C 48 00 00 08 */ b lbl_8025AA14 -lbl_8025AA10: -/* 8025AA10 00257970 38 9D 00 48 */ addi r4, r29, 0x48 -lbl_8025AA14: -/* 8025AA14 00257974 80 04 00 00 */ lwz r0, 0(r4) -/* 8025AA18 00257978 7F A3 EB 78 */ mr r3, r29 -/* 8025AA1C 0025797C 90 1D 03 FC */ stw r0, 0x3fc(r29) -/* 8025AA20 00257980 88 04 00 04 */ lbz r0, 4(r4) -/* 8025AA24 00257984 98 1D 04 00 */ stb r0, 0x400(r29) -/* 8025AA28 00257988 C0 04 00 08 */ lfs f0, 8(r4) -/* 8025AA2C 0025798C D0 1D 04 04 */ stfs f0, 0x404(r29) -/* 8025AA30 00257990 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8025AA34 00257994 D0 1D 04 08 */ stfs f0, 0x408(r29) -/* 8025AA38 00257998 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8025AA3C 0025799C D0 1D 04 0C */ stfs f0, 0x40c(r29) -/* 8025AA40 002579A0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8025AA44 002579A4 D0 1D 04 10 */ stfs f0, 0x410(r29) -/* 8025AA48 002579A8 88 04 00 18 */ lbz r0, 0x18(r4) -/* 8025AA4C 002579AC 98 1D 04 14 */ stb r0, 0x414(r29) -/* 8025AA50 002579B0 83 E1 02 AC */ lwz r31, 0x2ac(r1) -/* 8025AA54 002579B4 83 C1 02 A8 */ lwz r30, 0x2a8(r1) -/* 8025AA58 002579B8 83 A1 02 A4 */ lwz r29, 0x2a4(r1) -/* 8025AA5C 002579BC 80 01 02 B4 */ lwz r0, 0x2b4(r1) -/* 8025AA60 002579C0 7C 08 03 A6 */ mtlr r0 -/* 8025AA64 002579C4 38 21 02 B0 */ addi r1, r1, 0x2b0 -/* 8025AA68 002579C8 4E 80 00 20 */ blr - -.global __sinit_CRidley_cpp -__sinit_CRidley_cpp: -/* 8025AA6C 002579CC 94 21 F9 00 */ stwu r1, -0x700(r1) -/* 8025AA70 002579D0 7C 08 02 A6 */ mflr r0 -/* 8025AA74 002579D4 3C 60 80 3D */ lis r3, lbl_803D4D5C@ha -/* 8025AA78 002579D8 3C A0 80 47 */ lis r5, lbl_8046D3A8@ha -/* 8025AA7C 002579DC 90 01 07 04 */ stw r0, 0x704(r1) -/* 8025AA80 002579E0 38 83 4D 5C */ addi r4, r3, lbl_803D4D5C@l -/* 8025AA84 002579E4 38 61 05 B8 */ addi r3, r1, 0x5b8 -/* 8025AA88 002579E8 BD C1 06 B8 */ stmw r14, 0x6b8(r1) -/* 8025AA8C 002579EC 39 C5 D3 A8 */ addi r14, r5, lbl_8046D3A8@l -/* 8025AA90 002579F0 38 84 00 39 */ addi r4, r4, 0x39 -/* 8025AA94 002579F4 4B DA A2 25 */ bl string_l__4rstlFPCc -/* 8025AA98 002579F8 3C 60 80 57 */ lis r3, lbl_80572404@ha -/* 8025AA9C 002579FC 38 81 05 B8 */ addi r4, r1, 0x5b8 -/* 8025AAA0 00257A00 38 63 24 04 */ addi r3, r3, lbl_80572404@l -/* 8025AAA4 00257A04 48 0E 36 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AAA8 00257A08 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AAAC 00257A0C 38 AE 00 00 */ addi r5, r14, 0 -/* 8025AAB0 00257A10 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AAB4 00257A14 48 12 EB D9 */ bl __register_global_object -/* 8025AAB8 00257A18 38 61 05 B8 */ addi r3, r1, 0x5b8 -/* 8025AABC 00257A1C 48 0E 30 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AAC0 00257A20 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AAC4 00257A24 38 61 05 A8 */ addi r3, r1, 0x5a8 -/* 8025AAC8 00257A28 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AACC 00257A2C 38 84 00 A1 */ addi r4, r4, 0xa1 -/* 8025AAD0 00257A30 4B DA A1 E9 */ bl string_l__4rstlFPCc -/* 8025AAD4 00257A34 3C 60 80 57 */ lis r3, lbl_80572514@ha -/* 8025AAD8 00257A38 38 81 05 A8 */ addi r4, r1, 0x5a8 -/* 8025AADC 00257A3C 38 63 25 14 */ addi r3, r3, lbl_80572514@l -/* 8025AAE0 00257A40 48 0E 36 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AAE4 00257A44 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AAE8 00257A48 38 AE 00 0C */ addi r5, r14, 0xc -/* 8025AAEC 00257A4C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AAF0 00257A50 48 12 EB 9D */ bl __register_global_object -/* 8025AAF4 00257A54 38 61 05 A8 */ addi r3, r1, 0x5a8 -/* 8025AAF8 00257A58 48 0E 2F E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AAFC 00257A5C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AB00 00257A60 38 61 05 98 */ addi r3, r1, 0x598 -/* 8025AB04 00257A64 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AB08 00257A68 38 84 00 4A */ addi r4, r4, 0x4a -/* 8025AB0C 00257A6C 4B DA A1 AD */ bl string_l__4rstlFPCc -/* 8025AB10 00257A70 3C 60 80 57 */ lis r3, lbl_80572524@ha -/* 8025AB14 00257A74 38 81 05 98 */ addi r4, r1, 0x598 -/* 8025AB18 00257A78 38 63 25 24 */ addi r3, r3, lbl_80572524@l -/* 8025AB1C 00257A7C 48 0E 36 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AB20 00257A80 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AB24 00257A84 38 AE 00 18 */ addi r5, r14, 0x18 -/* 8025AB28 00257A88 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AB2C 00257A8C 48 12 EB 61 */ bl __register_global_object -/* 8025AB30 00257A90 38 61 05 98 */ addi r3, r1, 0x598 -/* 8025AB34 00257A94 48 0E 2F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AB38 00257A98 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AB3C 00257A9C 38 61 05 88 */ addi r3, r1, 0x588 -/* 8025AB40 00257AA0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AB44 00257AA4 38 84 00 23 */ addi r4, r4, 0x23 -/* 8025AB48 00257AA8 4B DA A1 71 */ bl string_l__4rstlFPCc -/* 8025AB4C 00257AAC 3C 60 80 57 */ lis r3, lbl_80572534@ha -/* 8025AB50 00257AB0 38 81 05 88 */ addi r4, r1, 0x588 -/* 8025AB54 00257AB4 38 63 25 34 */ addi r3, r3, lbl_80572534@l -/* 8025AB58 00257AB8 48 0E 36 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AB5C 00257ABC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AB60 00257AC0 38 AE 00 24 */ addi r5, r14, 0x24 -/* 8025AB64 00257AC4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AB68 00257AC8 48 12 EB 25 */ bl __register_global_object -/* 8025AB6C 00257ACC 38 61 05 88 */ addi r3, r1, 0x588 -/* 8025AB70 00257AD0 48 0E 2F 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AB74 00257AD4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AB78 00257AD8 38 61 05 78 */ addi r3, r1, 0x578 -/* 8025AB7C 00257ADC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AB80 00257AE0 38 84 00 AC */ addi r4, r4, 0xac -/* 8025AB84 00257AE4 4B DA A1 35 */ bl string_l__4rstlFPCc -/* 8025AB88 00257AE8 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AB8C 00257AEC 38 81 05 78 */ addi r4, r1, 0x578 -/* 8025AB90 00257AF0 48 0E 35 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AB94 00257AF4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AB98 00257AF8 38 AE 00 30 */ addi r5, r14, 0x30 -/* 8025AB9C 00257AFC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025ABA0 00257B00 48 12 EA ED */ bl __register_global_object -/* 8025ABA4 00257B04 38 61 05 78 */ addi r3, r1, 0x578 -/* 8025ABA8 00257B08 48 0E 2F 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025ABAC 00257B0C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025ABB0 00257B10 38 61 05 68 */ addi r3, r1, 0x568 -/* 8025ABB4 00257B14 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025ABB8 00257B18 38 84 00 BC */ addi r4, r4, 0xbc -/* 8025ABBC 00257B1C 4B DA A0 FD */ bl string_l__4rstlFPCc -/* 8025ABC0 00257B20 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025ABC4 00257B24 38 81 05 68 */ addi r4, r1, 0x568 -/* 8025ABC8 00257B28 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025ABCC 00257B2C 48 0E 35 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025ABD0 00257B30 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025ABD4 00257B34 38 AE 00 3C */ addi r5, r14, 0x3c -/* 8025ABD8 00257B38 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025ABDC 00257B3C 48 12 EA B1 */ bl __register_global_object -/* 8025ABE0 00257B40 38 61 05 68 */ addi r3, r1, 0x568 -/* 8025ABE4 00257B44 48 0E 2E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025ABE8 00257B48 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025ABEC 00257B4C 38 61 05 58 */ addi r3, r1, 0x558 -/* 8025ABF0 00257B50 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025ABF4 00257B54 38 84 00 CC */ addi r4, r4, 0xcc -/* 8025ABF8 00257B58 4B DA A0 C1 */ bl string_l__4rstlFPCc -/* 8025ABFC 00257B5C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AC00 00257B60 38 81 05 58 */ addi r4, r1, 0x558 -/* 8025AC04 00257B64 38 63 00 20 */ addi r3, r3, 0x20 -/* 8025AC08 00257B68 48 0E 35 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AC0C 00257B6C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AC10 00257B70 38 AE 00 48 */ addi r5, r14, 0x48 -/* 8025AC14 00257B74 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AC18 00257B78 48 12 EA 75 */ bl __register_global_object -/* 8025AC1C 00257B7C 38 61 05 58 */ addi r3, r1, 0x558 -/* 8025AC20 00257B80 48 0E 2E C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AC24 00257B84 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AC28 00257B88 38 61 05 48 */ addi r3, r1, 0x548 -/* 8025AC2C 00257B8C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AC30 00257B90 38 84 00 DC */ addi r4, r4, 0xdc -/* 8025AC34 00257B94 4B DA A0 85 */ bl string_l__4rstlFPCc -/* 8025AC38 00257B98 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AC3C 00257B9C 38 81 05 48 */ addi r4, r1, 0x548 -/* 8025AC40 00257BA0 38 63 00 30 */ addi r3, r3, 0x30 -/* 8025AC44 00257BA4 48 0E 35 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AC48 00257BA8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AC4C 00257BAC 38 AE 00 54 */ addi r5, r14, 0x54 -/* 8025AC50 00257BB0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AC54 00257BB4 48 12 EA 39 */ bl __register_global_object -/* 8025AC58 00257BB8 38 61 05 48 */ addi r3, r1, 0x548 -/* 8025AC5C 00257BBC 48 0E 2E 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AC60 00257BC0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AC64 00257BC4 38 61 05 38 */ addi r3, r1, 0x538 -/* 8025AC68 00257BC8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AC6C 00257BCC 38 84 00 EC */ addi r4, r4, 0xec -/* 8025AC70 00257BD0 4B DA A0 49 */ bl string_l__4rstlFPCc -/* 8025AC74 00257BD4 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AC78 00257BD8 38 81 05 38 */ addi r4, r1, 0x538 -/* 8025AC7C 00257BDC 38 63 00 40 */ addi r3, r3, 0x40 -/* 8025AC80 00257BE0 48 0E 34 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AC84 00257BE4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AC88 00257BE8 38 AE 00 60 */ addi r5, r14, 0x60 -/* 8025AC8C 00257BEC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AC90 00257BF0 48 12 E9 FD */ bl __register_global_object -/* 8025AC94 00257BF4 38 61 05 38 */ addi r3, r1, 0x538 -/* 8025AC98 00257BF8 48 0E 2E 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AC9C 00257BFC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025ACA0 00257C00 38 61 05 28 */ addi r3, r1, 0x528 -/* 8025ACA4 00257C04 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025ACA8 00257C08 38 84 00 FC */ addi r4, r4, 0xfc -/* 8025ACAC 00257C0C 4B DA A0 0D */ bl string_l__4rstlFPCc -/* 8025ACB0 00257C10 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025ACB4 00257C14 38 81 05 28 */ addi r4, r1, 0x528 -/* 8025ACB8 00257C18 38 63 00 50 */ addi r3, r3, 0x50 -/* 8025ACBC 00257C1C 48 0E 34 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025ACC0 00257C20 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025ACC4 00257C24 38 AE 00 6C */ addi r5, r14, 0x6c -/* 8025ACC8 00257C28 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025ACCC 00257C2C 48 12 E9 C1 */ bl __register_global_object -/* 8025ACD0 00257C30 38 61 05 28 */ addi r3, r1, 0x528 -/* 8025ACD4 00257C34 48 0E 2E 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025ACD8 00257C38 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025ACDC 00257C3C 38 61 05 18 */ addi r3, r1, 0x518 -/* 8025ACE0 00257C40 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025ACE4 00257C44 38 84 01 0C */ addi r4, r4, 0x10c -/* 8025ACE8 00257C48 4B DA 9F D1 */ bl string_l__4rstlFPCc -/* 8025ACEC 00257C4C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025ACF0 00257C50 38 81 05 18 */ addi r4, r1, 0x518 -/* 8025ACF4 00257C54 38 63 00 60 */ addi r3, r3, 0x60 -/* 8025ACF8 00257C58 48 0E 34 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025ACFC 00257C5C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AD00 00257C60 38 AE 00 78 */ addi r5, r14, 0x78 -/* 8025AD04 00257C64 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AD08 00257C68 48 12 E9 85 */ bl __register_global_object -/* 8025AD0C 00257C6C 38 61 05 18 */ addi r3, r1, 0x518 -/* 8025AD10 00257C70 48 0E 2D D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AD14 00257C74 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AD18 00257C78 38 61 05 08 */ addi r3, r1, 0x508 -/* 8025AD1C 00257C7C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AD20 00257C80 38 84 01 1C */ addi r4, r4, 0x11c -/* 8025AD24 00257C84 4B DA 9F 95 */ bl string_l__4rstlFPCc -/* 8025AD28 00257C88 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AD2C 00257C8C 38 81 05 08 */ addi r4, r1, 0x508 -/* 8025AD30 00257C90 38 63 00 70 */ addi r3, r3, 0x70 -/* 8025AD34 00257C94 48 0E 34 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AD38 00257C98 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AD3C 00257C9C 38 AE 00 84 */ addi r5, r14, 0x84 -/* 8025AD40 00257CA0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AD44 00257CA4 48 12 E9 49 */ bl __register_global_object -/* 8025AD48 00257CA8 38 61 05 08 */ addi r3, r1, 0x508 -/* 8025AD4C 00257CAC 48 0E 2D 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AD50 00257CB0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AD54 00257CB4 38 61 04 F8 */ addi r3, r1, 0x4f8 -/* 8025AD58 00257CB8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AD5C 00257CBC 38 84 01 2C */ addi r4, r4, 0x12c -/* 8025AD60 00257CC0 4B DA 9F 59 */ bl string_l__4rstlFPCc -/* 8025AD64 00257CC4 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AD68 00257CC8 38 81 04 F8 */ addi r4, r1, 0x4f8 -/* 8025AD6C 00257CCC 38 63 00 80 */ addi r3, r3, 0x80 -/* 8025AD70 00257CD0 48 0E 33 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AD74 00257CD4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AD78 00257CD8 38 AE 00 90 */ addi r5, r14, 0x90 -/* 8025AD7C 00257CDC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AD80 00257CE0 48 12 E9 0D */ bl __register_global_object -/* 8025AD84 00257CE4 38 61 04 F8 */ addi r3, r1, 0x4f8 -/* 8025AD88 00257CE8 48 0E 2D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AD8C 00257CEC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AD90 00257CF0 38 61 04 E8 */ addi r3, r1, 0x4e8 -/* 8025AD94 00257CF4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AD98 00257CF8 38 84 01 36 */ addi r4, r4, 0x136 -/* 8025AD9C 00257CFC 4B DA 9F 1D */ bl string_l__4rstlFPCc -/* 8025ADA0 00257D00 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025ADA4 00257D04 38 81 04 E8 */ addi r4, r1, 0x4e8 -/* 8025ADA8 00257D08 38 63 00 90 */ addi r3, r3, 0x90 -/* 8025ADAC 00257D0C 48 0E 33 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025ADB0 00257D10 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025ADB4 00257D14 38 AE 00 9C */ addi r5, r14, 0x9c -/* 8025ADB8 00257D18 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025ADBC 00257D1C 48 12 E8 D1 */ bl __register_global_object -/* 8025ADC0 00257D20 38 61 04 E8 */ addi r3, r1, 0x4e8 -/* 8025ADC4 00257D24 48 0E 2D 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025ADC8 00257D28 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025ADCC 00257D2C 38 61 04 D8 */ addi r3, r1, 0x4d8 -/* 8025ADD0 00257D30 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025ADD4 00257D34 38 84 01 40 */ addi r4, r4, 0x140 -/* 8025ADD8 00257D38 4B DA 9E E1 */ bl string_l__4rstlFPCc -/* 8025ADDC 00257D3C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025ADE0 00257D40 38 81 04 D8 */ addi r4, r1, 0x4d8 -/* 8025ADE4 00257D44 38 63 00 A0 */ addi r3, r3, 0xa0 -/* 8025ADE8 00257D48 48 0E 33 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025ADEC 00257D4C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025ADF0 00257D50 38 AE 00 A8 */ addi r5, r14, 0xa8 -/* 8025ADF4 00257D54 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025ADF8 00257D58 48 12 E8 95 */ bl __register_global_object -/* 8025ADFC 00257D5C 38 61 04 D8 */ addi r3, r1, 0x4d8 -/* 8025AE00 00257D60 48 0E 2C E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AE04 00257D64 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AE08 00257D68 38 61 04 C8 */ addi r3, r1, 0x4c8 -/* 8025AE0C 00257D6C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AE10 00257D70 38 84 01 4A */ addi r4, r4, 0x14a -/* 8025AE14 00257D74 4B DA 9E A5 */ bl string_l__4rstlFPCc -/* 8025AE18 00257D78 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AE1C 00257D7C 38 81 04 C8 */ addi r4, r1, 0x4c8 -/* 8025AE20 00257D80 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 8025AE24 00257D84 48 0E 33 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AE28 00257D88 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AE2C 00257D8C 38 AE 00 B4 */ addi r5, r14, 0xb4 -/* 8025AE30 00257D90 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AE34 00257D94 48 12 E8 59 */ bl __register_global_object -/* 8025AE38 00257D98 38 61 04 C8 */ addi r3, r1, 0x4c8 -/* 8025AE3C 00257D9C 48 0E 2C A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AE40 00257DA0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AE44 00257DA4 38 61 04 B8 */ addi r3, r1, 0x4b8 -/* 8025AE48 00257DA8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AE4C 00257DAC 38 84 01 54 */ addi r4, r4, 0x154 -/* 8025AE50 00257DB0 4B DA 9E 69 */ bl string_l__4rstlFPCc -/* 8025AE54 00257DB4 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AE58 00257DB8 38 81 04 B8 */ addi r4, r1, 0x4b8 -/* 8025AE5C 00257DBC 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 8025AE60 00257DC0 48 0E 33 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AE64 00257DC4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AE68 00257DC8 38 AE 00 C0 */ addi r5, r14, 0xc0 -/* 8025AE6C 00257DCC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AE70 00257DD0 48 12 E8 1D */ bl __register_global_object -/* 8025AE74 00257DD4 38 61 04 B8 */ addi r3, r1, 0x4b8 -/* 8025AE78 00257DD8 48 0E 2C 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AE7C 00257DDC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AE80 00257DE0 38 61 04 A8 */ addi r3, r1, 0x4a8 -/* 8025AE84 00257DE4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AE88 00257DE8 38 84 01 5E */ addi r4, r4, 0x15e -/* 8025AE8C 00257DEC 4B DA 9E 2D */ bl string_l__4rstlFPCc -/* 8025AE90 00257DF0 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AE94 00257DF4 38 81 04 A8 */ addi r4, r1, 0x4a8 -/* 8025AE98 00257DF8 38 63 00 D0 */ addi r3, r3, 0xd0 -/* 8025AE9C 00257DFC 48 0E 32 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AEA0 00257E00 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AEA4 00257E04 38 AE 00 CC */ addi r5, r14, 0xcc -/* 8025AEA8 00257E08 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AEAC 00257E0C 48 12 E7 E1 */ bl __register_global_object -/* 8025AEB0 00257E10 38 61 04 A8 */ addi r3, r1, 0x4a8 -/* 8025AEB4 00257E14 48 0E 2C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AEB8 00257E18 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AEBC 00257E1C 38 61 04 98 */ addi r3, r1, 0x498 -/* 8025AEC0 00257E20 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AEC4 00257E24 38 84 01 68 */ addi r4, r4, 0x168 -/* 8025AEC8 00257E28 4B DA 9D F1 */ bl string_l__4rstlFPCc -/* 8025AECC 00257E2C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AED0 00257E30 38 81 04 98 */ addi r4, r1, 0x498 -/* 8025AED4 00257E34 38 63 00 E0 */ addi r3, r3, 0xe0 -/* 8025AED8 00257E38 48 0E 32 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AEDC 00257E3C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AEE0 00257E40 38 AE 00 D8 */ addi r5, r14, 0xd8 -/* 8025AEE4 00257E44 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AEE8 00257E48 48 12 E7 A5 */ bl __register_global_object -/* 8025AEEC 00257E4C 38 61 04 98 */ addi r3, r1, 0x498 -/* 8025AEF0 00257E50 48 0E 2B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AEF4 00257E54 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AEF8 00257E58 38 61 04 88 */ addi r3, r1, 0x488 -/* 8025AEFC 00257E5C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AF00 00257E60 38 84 01 72 */ addi r4, r4, 0x172 -/* 8025AF04 00257E64 4B DA 9D B5 */ bl string_l__4rstlFPCc -/* 8025AF08 00257E68 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AF0C 00257E6C 38 81 04 88 */ addi r4, r1, 0x488 -/* 8025AF10 00257E70 38 63 00 F0 */ addi r3, r3, 0xf0 -/* 8025AF14 00257E74 48 0E 32 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AF18 00257E78 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AF1C 00257E7C 38 AE 00 E4 */ addi r5, r14, 0xe4 -/* 8025AF20 00257E80 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AF24 00257E84 48 12 E7 69 */ bl __register_global_object -/* 8025AF28 00257E88 38 61 04 88 */ addi r3, r1, 0x488 -/* 8025AF2C 00257E8C 48 0E 2B B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AF30 00257E90 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AF34 00257E94 38 61 04 78 */ addi r3, r1, 0x478 -/* 8025AF38 00257E98 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AF3C 00257E9C 38 84 01 7C */ addi r4, r4, 0x17c -/* 8025AF40 00257EA0 4B DA 9D 79 */ bl string_l__4rstlFPCc -/* 8025AF44 00257EA4 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AF48 00257EA8 38 81 04 78 */ addi r4, r1, 0x478 -/* 8025AF4C 00257EAC 38 63 01 00 */ addi r3, r3, 0x100 -/* 8025AF50 00257EB0 48 0E 32 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AF54 00257EB4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AF58 00257EB8 38 AE 00 F0 */ addi r5, r14, 0xf0 -/* 8025AF5C 00257EBC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AF60 00257EC0 48 12 E7 2D */ bl __register_global_object -/* 8025AF64 00257EC4 38 61 04 78 */ addi r3, r1, 0x478 -/* 8025AF68 00257EC8 48 0E 2B 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AF6C 00257ECC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AF70 00257ED0 38 61 04 68 */ addi r3, r1, 0x468 -/* 8025AF74 00257ED4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AF78 00257ED8 38 84 01 88 */ addi r4, r4, 0x188 -/* 8025AF7C 00257EDC 4B DA 9D 3D */ bl string_l__4rstlFPCc -/* 8025AF80 00257EE0 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AF84 00257EE4 38 81 04 68 */ addi r4, r1, 0x468 -/* 8025AF88 00257EE8 38 63 01 10 */ addi r3, r3, 0x110 -/* 8025AF8C 00257EEC 48 0E 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AF90 00257EF0 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AF94 00257EF4 38 AE 00 FC */ addi r5, r14, 0xfc -/* 8025AF98 00257EF8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AF9C 00257EFC 48 12 E6 F1 */ bl __register_global_object -/* 8025AFA0 00257F00 38 61 04 68 */ addi r3, r1, 0x468 -/* 8025AFA4 00257F04 48 0E 2B 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AFA8 00257F08 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AFAC 00257F0C 38 61 04 58 */ addi r3, r1, 0x458 -/* 8025AFB0 00257F10 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AFB4 00257F14 38 84 01 94 */ addi r4, r4, 0x194 -/* 8025AFB8 00257F18 4B DA 9D 01 */ bl string_l__4rstlFPCc -/* 8025AFBC 00257F1C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AFC0 00257F20 38 81 04 58 */ addi r4, r1, 0x458 -/* 8025AFC4 00257F24 38 63 01 20 */ addi r3, r3, 0x120 -/* 8025AFC8 00257F28 48 0E 31 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025AFCC 00257F2C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025AFD0 00257F30 38 AE 01 08 */ addi r5, r14, 0x108 -/* 8025AFD4 00257F34 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025AFD8 00257F38 48 12 E6 B5 */ bl __register_global_object -/* 8025AFDC 00257F3C 38 61 04 58 */ addi r3, r1, 0x458 -/* 8025AFE0 00257F40 48 0E 2B 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025AFE4 00257F44 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025AFE8 00257F48 38 61 04 48 */ addi r3, r1, 0x448 -/* 8025AFEC 00257F4C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025AFF0 00257F50 38 84 01 A0 */ addi r4, r4, 0x1a0 -/* 8025AFF4 00257F54 4B DA 9C C5 */ bl string_l__4rstlFPCc -/* 8025AFF8 00257F58 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025AFFC 00257F5C 38 81 04 48 */ addi r4, r1, 0x448 -/* 8025B000 00257F60 38 63 01 30 */ addi r3, r3, 0x130 -/* 8025B004 00257F64 48 0E 31 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B008 00257F68 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B00C 00257F6C 38 AE 01 14 */ addi r5, r14, 0x114 -/* 8025B010 00257F70 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B014 00257F74 48 12 E6 79 */ bl __register_global_object -/* 8025B018 00257F78 38 61 04 48 */ addi r3, r1, 0x448 -/* 8025B01C 00257F7C 48 0E 2A C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B020 00257F80 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B024 00257F84 38 61 04 38 */ addi r3, r1, 0x438 -/* 8025B028 00257F88 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B02C 00257F8C 38 84 01 AC */ addi r4, r4, 0x1ac -/* 8025B030 00257F90 4B DA 9C 89 */ bl string_l__4rstlFPCc -/* 8025B034 00257F94 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025B038 00257F98 38 81 04 38 */ addi r4, r1, 0x438 -/* 8025B03C 00257F9C 38 63 01 40 */ addi r3, r3, 0x140 -/* 8025B040 00257FA0 48 0E 31 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B044 00257FA4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B048 00257FA8 38 AE 01 20 */ addi r5, r14, 0x120 -/* 8025B04C 00257FAC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B050 00257FB0 48 12 E6 3D */ bl __register_global_object -/* 8025B054 00257FB4 38 61 04 38 */ addi r3, r1, 0x438 -/* 8025B058 00257FB8 48 0E 2A 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B05C 00257FBC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B060 00257FC0 38 61 04 28 */ addi r3, r1, 0x428 -/* 8025B064 00257FC4 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B068 00257FC8 38 84 01 B8 */ addi r4, r4, 0x1b8 -/* 8025B06C 00257FCC 4B DA 9C 4D */ bl string_l__4rstlFPCc -/* 8025B070 00257FD0 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025B074 00257FD4 38 81 04 28 */ addi r4, r1, 0x428 -/* 8025B078 00257FD8 38 63 01 50 */ addi r3, r3, 0x150 -/* 8025B07C 00257FDC 48 0E 30 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B080 00257FE0 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B084 00257FE4 38 AE 01 2C */ addi r5, r14, 0x12c -/* 8025B088 00257FE8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B08C 00257FEC 48 12 E6 01 */ bl __register_global_object -/* 8025B090 00257FF0 38 61 04 28 */ addi r3, r1, 0x428 -/* 8025B094 00257FF4 48 0E 2A 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B098 00257FF8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B09C 00257FFC 38 61 04 18 */ addi r3, r1, 0x418 -/* 8025B0A0 00258000 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B0A4 00258004 38 84 01 C4 */ addi r4, r4, 0x1c4 -/* 8025B0A8 00258008 4B DA 9C 11 */ bl string_l__4rstlFPCc -/* 8025B0AC 0025800C 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025B0B0 00258010 38 81 04 18 */ addi r4, r1, 0x418 -/* 8025B0B4 00258014 38 63 01 60 */ addi r3, r3, 0x160 -/* 8025B0B8 00258018 48 0E 30 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B0BC 0025801C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B0C0 00258020 38 AE 01 38 */ addi r5, r14, 0x138 -/* 8025B0C4 00258024 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B0C8 00258028 48 12 E5 C5 */ bl __register_global_object -/* 8025B0CC 0025802C 38 61 04 18 */ addi r3, r1, 0x418 -/* 8025B0D0 00258030 48 0E 2A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B0D4 00258034 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B0D8 00258038 38 61 04 08 */ addi r3, r1, 0x408 -/* 8025B0DC 0025803C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B0E0 00258040 38 84 01 D0 */ addi r4, r4, 0x1d0 -/* 8025B0E4 00258044 4B DA 9B D5 */ bl string_l__4rstlFPCc -/* 8025B0E8 00258048 38 6E 01 50 */ addi r3, r14, 0x150 -/* 8025B0EC 0025804C 38 81 04 08 */ addi r4, r1, 0x408 -/* 8025B0F0 00258050 38 63 01 70 */ addi r3, r3, 0x170 -/* 8025B0F4 00258054 48 0E 30 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B0F8 00258058 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B0FC 0025805C 38 AE 01 44 */ addi r5, r14, 0x144 -/* 8025B100 00258060 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B104 00258064 48 12 E5 89 */ bl __register_global_object -/* 8025B108 00258068 38 61 04 08 */ addi r3, r1, 0x408 -/* 8025B10C 0025806C 48 0E 29 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B110 00258070 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B114 00258074 38 61 03 F8 */ addi r3, r1, 0x3f8 -/* 8025B118 00258078 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B11C 0025807C 38 84 01 DC */ addi r4, r4, 0x1dc -/* 8025B120 00258080 4B DA 9B 99 */ bl string_l__4rstlFPCc -/* 8025B124 00258084 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B128 00258088 38 81 03 F8 */ addi r4, r1, 0x3f8 -/* 8025B12C 0025808C 48 0E 30 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B130 00258090 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B134 00258094 38 AE 02 D0 */ addi r5, r14, 0x2d0 -/* 8025B138 00258098 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B13C 0025809C 48 12 E5 51 */ bl __register_global_object -/* 8025B140 002580A0 38 61 03 F8 */ addi r3, r1, 0x3f8 -/* 8025B144 002580A4 48 0E 29 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B148 002580A8 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B14C 002580AC 38 61 03 E8 */ addi r3, r1, 0x3e8 -/* 8025B150 002580B0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B154 002580B4 38 84 01 EA */ addi r4, r4, 0x1ea -/* 8025B158 002580B8 4B DA 9B 61 */ bl string_l__4rstlFPCc -/* 8025B15C 002580BC 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B160 002580C0 38 81 03 E8 */ addi r4, r1, 0x3e8 -/* 8025B164 002580C4 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025B168 002580C8 48 0E 2F F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B16C 002580CC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B170 002580D0 38 AE 02 DC */ addi r5, r14, 0x2dc -/* 8025B174 002580D4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B178 002580D8 48 12 E5 15 */ bl __register_global_object -/* 8025B17C 002580DC 38 61 03 E8 */ addi r3, r1, 0x3e8 -/* 8025B180 002580E0 48 0E 29 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B184 002580E4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B188 002580E8 38 61 03 D8 */ addi r3, r1, 0x3d8 -/* 8025B18C 002580EC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B190 002580F0 38 84 01 F8 */ addi r4, r4, 0x1f8 -/* 8025B194 002580F4 4B DA 9B 25 */ bl string_l__4rstlFPCc -/* 8025B198 002580F8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B19C 002580FC 38 81 03 D8 */ addi r4, r1, 0x3d8 -/* 8025B1A0 00258100 38 63 00 20 */ addi r3, r3, 0x20 -/* 8025B1A4 00258104 48 0E 2F BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B1A8 00258108 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B1AC 0025810C 38 AE 02 E8 */ addi r5, r14, 0x2e8 -/* 8025B1B0 00258110 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B1B4 00258114 48 12 E4 D9 */ bl __register_global_object -/* 8025B1B8 00258118 38 61 03 D8 */ addi r3, r1, 0x3d8 -/* 8025B1BC 0025811C 48 0E 29 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B1C0 00258120 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B1C4 00258124 38 61 03 C8 */ addi r3, r1, 0x3c8 -/* 8025B1C8 00258128 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B1CC 0025812C 38 84 02 06 */ addi r4, r4, 0x206 -/* 8025B1D0 00258130 4B DA 9A E9 */ bl string_l__4rstlFPCc -/* 8025B1D4 00258134 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B1D8 00258138 38 81 03 C8 */ addi r4, r1, 0x3c8 -/* 8025B1DC 0025813C 38 63 00 30 */ addi r3, r3, 0x30 -/* 8025B1E0 00258140 48 0E 2F 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B1E4 00258144 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B1E8 00258148 38 AE 02 F4 */ addi r5, r14, 0x2f4 -/* 8025B1EC 0025814C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B1F0 00258150 48 12 E4 9D */ bl __register_global_object -/* 8025B1F4 00258154 38 61 03 C8 */ addi r3, r1, 0x3c8 -/* 8025B1F8 00258158 48 0E 28 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B1FC 0025815C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B200 00258160 38 61 03 B8 */ addi r3, r1, 0x3b8 -/* 8025B204 00258164 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B208 00258168 38 84 02 14 */ addi r4, r4, 0x214 -/* 8025B20C 0025816C 4B DA 9A AD */ bl string_l__4rstlFPCc -/* 8025B210 00258170 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B214 00258174 38 81 03 B8 */ addi r4, r1, 0x3b8 -/* 8025B218 00258178 38 63 00 40 */ addi r3, r3, 0x40 -/* 8025B21C 0025817C 48 0E 2F 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B220 00258180 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B224 00258184 38 AE 03 00 */ addi r5, r14, 0x300 -/* 8025B228 00258188 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B22C 0025818C 48 12 E4 61 */ bl __register_global_object -/* 8025B230 00258190 38 61 03 B8 */ addi r3, r1, 0x3b8 -/* 8025B234 00258194 48 0E 28 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B238 00258198 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B23C 0025819C 38 61 03 A8 */ addi r3, r1, 0x3a8 -/* 8025B240 002581A0 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B244 002581A4 38 84 02 22 */ addi r4, r4, 0x222 -/* 8025B248 002581A8 4B DA 9A 71 */ bl string_l__4rstlFPCc -/* 8025B24C 002581AC 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B250 002581B0 38 81 03 A8 */ addi r4, r1, 0x3a8 -/* 8025B254 002581B4 38 63 00 50 */ addi r3, r3, 0x50 -/* 8025B258 002581B8 48 0E 2F 09 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B25C 002581BC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B260 002581C0 38 AE 03 0C */ addi r5, r14, 0x30c -/* 8025B264 002581C4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B268 002581C8 48 12 E4 25 */ bl __register_global_object -/* 8025B26C 002581CC 38 61 03 A8 */ addi r3, r1, 0x3a8 -/* 8025B270 002581D0 48 0E 28 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B274 002581D4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B278 002581D8 38 61 03 98 */ addi r3, r1, 0x398 -/* 8025B27C 002581DC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B280 002581E0 38 84 02 30 */ addi r4, r4, 0x230 -/* 8025B284 002581E4 4B DA 9A 35 */ bl string_l__4rstlFPCc -/* 8025B288 002581E8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B28C 002581EC 38 81 03 98 */ addi r4, r1, 0x398 -/* 8025B290 002581F0 38 63 00 60 */ addi r3, r3, 0x60 -/* 8025B294 002581F4 48 0E 2E CD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B298 002581F8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B29C 002581FC 38 AE 03 18 */ addi r5, r14, 0x318 -/* 8025B2A0 00258200 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B2A4 00258204 48 12 E3 E9 */ bl __register_global_object -/* 8025B2A8 00258208 38 61 03 98 */ addi r3, r1, 0x398 -/* 8025B2AC 0025820C 48 0E 28 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B2B0 00258210 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B2B4 00258214 38 61 03 88 */ addi r3, r1, 0x388 -/* 8025B2B8 00258218 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B2BC 0025821C 38 84 02 3F */ addi r4, r4, 0x23f -/* 8025B2C0 00258220 4B DA 99 F9 */ bl string_l__4rstlFPCc -/* 8025B2C4 00258224 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B2C8 00258228 38 81 03 88 */ addi r4, r1, 0x388 -/* 8025B2CC 0025822C 38 63 00 70 */ addi r3, r3, 0x70 -/* 8025B2D0 00258230 48 0E 2E 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B2D4 00258234 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B2D8 00258238 38 AE 03 24 */ addi r5, r14, 0x324 -/* 8025B2DC 0025823C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B2E0 00258240 48 12 E3 AD */ bl __register_global_object -/* 8025B2E4 00258244 38 61 03 88 */ addi r3, r1, 0x388 -/* 8025B2E8 00258248 48 0E 27 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B2EC 0025824C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B2F0 00258250 38 61 03 78 */ addi r3, r1, 0x378 -/* 8025B2F4 00258254 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B2F8 00258258 38 84 02 4E */ addi r4, r4, 0x24e -/* 8025B2FC 0025825C 4B DA 99 BD */ bl string_l__4rstlFPCc -/* 8025B300 00258260 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B304 00258264 38 81 03 78 */ addi r4, r1, 0x378 -/* 8025B308 00258268 38 63 00 80 */ addi r3, r3, 0x80 -/* 8025B30C 0025826C 48 0E 2E 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B310 00258270 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B314 00258274 38 AE 03 30 */ addi r5, r14, 0x330 -/* 8025B318 00258278 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B31C 0025827C 48 12 E3 71 */ bl __register_global_object -/* 8025B320 00258280 38 61 03 78 */ addi r3, r1, 0x378 -/* 8025B324 00258284 48 0E 27 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B328 00258288 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B32C 0025828C 38 61 03 68 */ addi r3, r1, 0x368 -/* 8025B330 00258290 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B334 00258294 38 84 02 5D */ addi r4, r4, 0x25d -/* 8025B338 00258298 4B DA 99 81 */ bl string_l__4rstlFPCc -/* 8025B33C 0025829C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B340 002582A0 38 81 03 68 */ addi r4, r1, 0x368 -/* 8025B344 002582A4 38 63 00 90 */ addi r3, r3, 0x90 -/* 8025B348 002582A8 48 0E 2E 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B34C 002582AC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B350 002582B0 38 AE 03 3C */ addi r5, r14, 0x33c -/* 8025B354 002582B4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B358 002582B8 48 12 E3 35 */ bl __register_global_object -/* 8025B35C 002582BC 38 61 03 68 */ addi r3, r1, 0x368 -/* 8025B360 002582C0 48 0E 27 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B364 002582C4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B368 002582C8 38 61 03 58 */ addi r3, r1, 0x358 -/* 8025B36C 002582CC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B370 002582D0 38 84 02 6C */ addi r4, r4, 0x26c -/* 8025B374 002582D4 4B DA 99 45 */ bl string_l__4rstlFPCc -/* 8025B378 002582D8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B37C 002582DC 38 81 03 58 */ addi r4, r1, 0x358 -/* 8025B380 002582E0 38 63 00 A0 */ addi r3, r3, 0xa0 -/* 8025B384 002582E4 48 0E 2D DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B388 002582E8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B38C 002582EC 38 AE 03 48 */ addi r5, r14, 0x348 -/* 8025B390 002582F0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B394 002582F4 48 12 E2 F9 */ bl __register_global_object -/* 8025B398 002582F8 38 61 03 58 */ addi r3, r1, 0x358 -/* 8025B39C 002582FC 48 0E 27 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B3A0 00258300 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B3A4 00258304 38 61 03 48 */ addi r3, r1, 0x348 -/* 8025B3A8 00258308 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B3AC 0025830C 38 84 02 7B */ addi r4, r4, 0x27b -/* 8025B3B0 00258310 4B DA 99 09 */ bl string_l__4rstlFPCc -/* 8025B3B4 00258314 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B3B8 00258318 38 81 03 48 */ addi r4, r1, 0x348 -/* 8025B3BC 0025831C 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 8025B3C0 00258320 48 0E 2D A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B3C4 00258324 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B3C8 00258328 38 AE 03 54 */ addi r5, r14, 0x354 -/* 8025B3CC 0025832C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B3D0 00258330 48 12 E2 BD */ bl __register_global_object -/* 8025B3D4 00258334 38 61 03 48 */ addi r3, r1, 0x348 -/* 8025B3D8 00258338 48 0E 27 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B3DC 0025833C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B3E0 00258340 38 61 03 38 */ addi r3, r1, 0x338 -/* 8025B3E4 00258344 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B3E8 00258348 38 84 02 8A */ addi r4, r4, 0x28a -/* 8025B3EC 0025834C 4B DA 98 CD */ bl string_l__4rstlFPCc -/* 8025B3F0 00258350 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B3F4 00258354 38 81 03 38 */ addi r4, r1, 0x338 -/* 8025B3F8 00258358 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 8025B3FC 0025835C 48 0E 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B400 00258360 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B404 00258364 38 AE 03 60 */ addi r5, r14, 0x360 -/* 8025B408 00258368 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B40C 0025836C 48 12 E2 81 */ bl __register_global_object -/* 8025B410 00258370 38 61 03 38 */ addi r3, r1, 0x338 -/* 8025B414 00258374 48 0E 26 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B418 00258378 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B41C 0025837C 38 61 03 28 */ addi r3, r1, 0x328 -/* 8025B420 00258380 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B424 00258384 38 84 02 98 */ addi r4, r4, 0x298 -/* 8025B428 00258388 4B DA 98 91 */ bl string_l__4rstlFPCc -/* 8025B42C 0025838C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B430 00258390 38 81 03 28 */ addi r4, r1, 0x328 -/* 8025B434 00258394 38 63 00 D0 */ addi r3, r3, 0xd0 -/* 8025B438 00258398 48 0E 2D 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B43C 0025839C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B440 002583A0 38 AE 03 6C */ addi r5, r14, 0x36c -/* 8025B444 002583A4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B448 002583A8 48 12 E2 45 */ bl __register_global_object -/* 8025B44C 002583AC 38 61 03 28 */ addi r3, r1, 0x328 -/* 8025B450 002583B0 48 0E 26 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B454 002583B4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B458 002583B8 38 61 03 18 */ addi r3, r1, 0x318 -/* 8025B45C 002583BC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B460 002583C0 38 84 02 A6 */ addi r4, r4, 0x2a6 -/* 8025B464 002583C4 4B DA 98 55 */ bl string_l__4rstlFPCc -/* 8025B468 002583C8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B46C 002583CC 38 81 03 18 */ addi r4, r1, 0x318 -/* 8025B470 002583D0 38 63 00 E0 */ addi r3, r3, 0xe0 -/* 8025B474 002583D4 48 0E 2C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B478 002583D8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B47C 002583DC 38 AE 03 78 */ addi r5, r14, 0x378 -/* 8025B480 002583E0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B484 002583E4 48 12 E2 09 */ bl __register_global_object -/* 8025B488 002583E8 38 61 03 18 */ addi r3, r1, 0x318 -/* 8025B48C 002583EC 48 0E 26 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B490 002583F0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B494 002583F4 38 61 03 08 */ addi r3, r1, 0x308 -/* 8025B498 002583F8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B49C 002583FC 38 84 02 B4 */ addi r4, r4, 0x2b4 -/* 8025B4A0 00258400 4B DA 98 19 */ bl string_l__4rstlFPCc -/* 8025B4A4 00258404 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B4A8 00258408 38 81 03 08 */ addi r4, r1, 0x308 -/* 8025B4AC 0025840C 38 63 00 F0 */ addi r3, r3, 0xf0 -/* 8025B4B0 00258410 48 0E 2C B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B4B4 00258414 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B4B8 00258418 38 AE 03 84 */ addi r5, r14, 0x384 -/* 8025B4BC 0025841C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B4C0 00258420 48 12 E1 CD */ bl __register_global_object -/* 8025B4C4 00258424 38 61 03 08 */ addi r3, r1, 0x308 -/* 8025B4C8 00258428 48 0E 26 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B4CC 0025842C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B4D0 00258430 38 61 02 F8 */ addi r3, r1, 0x2f8 -/* 8025B4D4 00258434 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B4D8 00258438 38 84 02 C2 */ addi r4, r4, 0x2c2 -/* 8025B4DC 0025843C 4B DA 97 DD */ bl string_l__4rstlFPCc -/* 8025B4E0 00258440 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B4E4 00258444 38 81 02 F8 */ addi r4, r1, 0x2f8 -/* 8025B4E8 00258448 38 63 01 00 */ addi r3, r3, 0x100 -/* 8025B4EC 0025844C 48 0E 2C 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B4F0 00258450 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B4F4 00258454 38 AE 03 90 */ addi r5, r14, 0x390 -/* 8025B4F8 00258458 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B4FC 0025845C 48 12 E1 91 */ bl __register_global_object -/* 8025B500 00258460 38 61 02 F8 */ addi r3, r1, 0x2f8 -/* 8025B504 00258464 48 0E 25 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B508 00258468 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B50C 0025846C 38 61 02 E8 */ addi r3, r1, 0x2e8 -/* 8025B510 00258470 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B514 00258474 38 84 02 D0 */ addi r4, r4, 0x2d0 -/* 8025B518 00258478 4B DA 97 A1 */ bl string_l__4rstlFPCc -/* 8025B51C 0025847C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B520 00258480 38 81 02 E8 */ addi r4, r1, 0x2e8 -/* 8025B524 00258484 38 63 01 10 */ addi r3, r3, 0x110 -/* 8025B528 00258488 48 0E 2C 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B52C 0025848C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B530 00258490 38 AE 03 9C */ addi r5, r14, 0x39c -/* 8025B534 00258494 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B538 00258498 48 12 E1 55 */ bl __register_global_object -/* 8025B53C 0025849C 38 61 02 E8 */ addi r3, r1, 0x2e8 -/* 8025B540 002584A0 48 0E 25 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B544 002584A4 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B548 002584A8 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 8025B54C 002584AC 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B550 002584B0 38 84 02 DE */ addi r4, r4, 0x2de -/* 8025B554 002584B4 4B DA 97 65 */ bl string_l__4rstlFPCc -/* 8025B558 002584B8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B55C 002584BC 38 81 02 D8 */ addi r4, r1, 0x2d8 -/* 8025B560 002584C0 38 63 01 20 */ addi r3, r3, 0x120 -/* 8025B564 002584C4 48 0E 2B FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B568 002584C8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B56C 002584CC 38 AE 03 A8 */ addi r5, r14, 0x3a8 -/* 8025B570 002584D0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B574 002584D4 48 12 E1 19 */ bl __register_global_object -/* 8025B578 002584D8 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 8025B57C 002584DC 48 0E 25 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B580 002584E0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B584 002584E4 38 61 02 C8 */ addi r3, r1, 0x2c8 -/* 8025B588 002584E8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B58C 002584EC 38 84 02 ED */ addi r4, r4, 0x2ed -/* 8025B590 002584F0 4B DA 97 29 */ bl string_l__4rstlFPCc -/* 8025B594 002584F4 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B598 002584F8 38 81 02 C8 */ addi r4, r1, 0x2c8 -/* 8025B59C 002584FC 38 63 01 30 */ addi r3, r3, 0x130 -/* 8025B5A0 00258500 48 0E 2B C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B5A4 00258504 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B5A8 00258508 38 AE 03 B4 */ addi r5, r14, 0x3b4 -/* 8025B5AC 0025850C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B5B0 00258510 48 12 E0 DD */ bl __register_global_object -/* 8025B5B4 00258514 38 61 02 C8 */ addi r3, r1, 0x2c8 -/* 8025B5B8 00258518 48 0E 25 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B5BC 0025851C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B5C0 00258520 38 61 02 B8 */ addi r3, r1, 0x2b8 -/* 8025B5C4 00258524 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B5C8 00258528 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8025B5CC 0025852C 4B DA 96 ED */ bl string_l__4rstlFPCc -/* 8025B5D0 00258530 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B5D4 00258534 38 81 02 B8 */ addi r4, r1, 0x2b8 -/* 8025B5D8 00258538 38 63 01 40 */ addi r3, r3, 0x140 -/* 8025B5DC 0025853C 48 0E 2B 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B5E0 00258540 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B5E4 00258544 38 AE 03 C0 */ addi r5, r14, 0x3c0 -/* 8025B5E8 00258548 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B5EC 0025854C 48 12 E0 A1 */ bl __register_global_object -/* 8025B5F0 00258550 38 61 02 B8 */ addi r3, r1, 0x2b8 -/* 8025B5F4 00258554 48 0E 24 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B5F8 00258558 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B5FC 0025855C 38 61 02 A8 */ addi r3, r1, 0x2a8 -/* 8025B600 00258560 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B604 00258564 38 84 03 0B */ addi r4, r4, 0x30b -/* 8025B608 00258568 4B DA 96 B1 */ bl string_l__4rstlFPCc -/* 8025B60C 0025856C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B610 00258570 38 81 02 A8 */ addi r4, r1, 0x2a8 -/* 8025B614 00258574 38 63 01 50 */ addi r3, r3, 0x150 -/* 8025B618 00258578 48 0E 2B 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B61C 0025857C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B620 00258580 38 AE 03 CC */ addi r5, r14, 0x3cc -/* 8025B624 00258584 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B628 00258588 48 12 E0 65 */ bl __register_global_object -/* 8025B62C 0025858C 38 61 02 A8 */ addi r3, r1, 0x2a8 -/* 8025B630 00258590 48 0E 24 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B634 00258594 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B638 00258598 38 61 02 98 */ addi r3, r1, 0x298 -/* 8025B63C 0025859C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B640 002585A0 38 84 03 1A */ addi r4, r4, 0x31a -/* 8025B644 002585A4 4B DA 96 75 */ bl string_l__4rstlFPCc -/* 8025B648 002585A8 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B64C 002585AC 38 81 02 98 */ addi r4, r1, 0x298 -/* 8025B650 002585B0 38 63 01 60 */ addi r3, r3, 0x160 -/* 8025B654 002585B4 48 0E 2B 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B658 002585B8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B65C 002585BC 38 AE 03 D8 */ addi r5, r14, 0x3d8 -/* 8025B660 002585C0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B664 002585C4 48 12 E0 29 */ bl __register_global_object -/* 8025B668 002585C8 38 61 02 98 */ addi r3, r1, 0x298 -/* 8025B66C 002585CC 48 0E 24 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B670 002585D0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B674 002585D4 38 61 02 88 */ addi r3, r1, 0x288 -/* 8025B678 002585D8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B67C 002585DC 38 84 03 29 */ addi r4, r4, 0x329 -/* 8025B680 002585E0 4B DA 96 39 */ bl string_l__4rstlFPCc -/* 8025B684 002585E4 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B688 002585E8 38 81 02 88 */ addi r4, r1, 0x288 -/* 8025B68C 002585EC 38 63 01 70 */ addi r3, r3, 0x170 -/* 8025B690 002585F0 48 0E 2A D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B694 002585F4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B698 002585F8 38 AE 03 E4 */ addi r5, r14, 0x3e4 -/* 8025B69C 002585FC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B6A0 00258600 48 12 DF ED */ bl __register_global_object -/* 8025B6A4 00258604 38 61 02 88 */ addi r3, r1, 0x288 -/* 8025B6A8 00258608 48 0E 24 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B6AC 0025860C 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B6B0 00258610 38 61 02 78 */ addi r3, r1, 0x278 -/* 8025B6B4 00258614 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B6B8 00258618 38 84 03 38 */ addi r4, r4, 0x338 -/* 8025B6BC 0025861C 4B DA 95 FD */ bl string_l__4rstlFPCc -/* 8025B6C0 00258620 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B6C4 00258624 38 81 02 78 */ addi r4, r1, 0x278 -/* 8025B6C8 00258628 38 63 01 80 */ addi r3, r3, 0x180 -/* 8025B6CC 0025862C 48 0E 2A 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B6D0 00258630 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B6D4 00258634 38 AE 03 F0 */ addi r5, r14, 0x3f0 -/* 8025B6D8 00258638 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B6DC 0025863C 48 12 DF B1 */ bl __register_global_object -/* 8025B6E0 00258640 38 61 02 78 */ addi r3, r1, 0x278 -/* 8025B6E4 00258644 48 0E 23 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B6E8 00258648 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B6EC 0025864C 38 61 02 68 */ addi r3, r1, 0x268 -/* 8025B6F0 00258650 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B6F4 00258654 38 84 03 49 */ addi r4, r4, 0x349 -/* 8025B6F8 00258658 4B DA 95 C1 */ bl string_l__4rstlFPCc -/* 8025B6FC 0025865C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B700 00258660 38 81 02 68 */ addi r4, r1, 0x268 -/* 8025B704 00258664 38 63 01 90 */ addi r3, r3, 0x190 -/* 8025B708 00258668 48 0E 2A 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B70C 0025866C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B710 00258670 38 AE 03 FC */ addi r5, r14, 0x3fc -/* 8025B714 00258674 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B718 00258678 48 12 DF 75 */ bl __register_global_object -/* 8025B71C 0025867C 38 61 02 68 */ addi r3, r1, 0x268 -/* 8025B720 00258680 48 0E 23 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B724 00258684 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B728 00258688 38 61 02 58 */ addi r3, r1, 0x258 -/* 8025B72C 0025868C 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B730 00258690 38 84 03 5A */ addi r4, r4, 0x35a -/* 8025B734 00258694 4B DA 95 85 */ bl string_l__4rstlFPCc -/* 8025B738 00258698 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B73C 0025869C 38 81 02 58 */ addi r4, r1, 0x258 -/* 8025B740 002586A0 38 63 01 A0 */ addi r3, r3, 0x1a0 -/* 8025B744 002586A4 48 0E 2A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B748 002586A8 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B74C 002586AC 38 AE 04 08 */ addi r5, r14, 0x408 -/* 8025B750 002586B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B754 002586B4 48 12 DF 39 */ bl __register_global_object -/* 8025B758 002586B8 38 61 02 58 */ addi r3, r1, 0x258 -/* 8025B75C 002586BC 48 0E 23 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B760 002586C0 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B764 002586C4 38 61 02 48 */ addi r3, r1, 0x248 -/* 8025B768 002586C8 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B76C 002586CC 38 84 03 6B */ addi r4, r4, 0x36b -/* 8025B770 002586D0 4B DA 95 49 */ bl string_l__4rstlFPCc -/* 8025B774 002586D4 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B778 002586D8 38 81 02 48 */ addi r4, r1, 0x248 -/* 8025B77C 002586DC 38 63 01 B0 */ addi r3, r3, 0x1b0 -/* 8025B780 002586E0 48 0E 29 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B784 002586E4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B788 002586E8 38 AE 04 14 */ addi r5, r14, 0x414 -/* 8025B78C 002586EC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B790 002586F0 48 12 DE FD */ bl __register_global_object -/* 8025B794 002586F4 38 61 02 48 */ addi r3, r1, 0x248 -/* 8025B798 002586F8 48 0E 23 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B79C 002586FC 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B7A0 00258700 38 61 02 38 */ addi r3, r1, 0x238 -/* 8025B7A4 00258704 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B7A8 00258708 38 84 03 7C */ addi r4, r4, 0x37c -/* 8025B7AC 0025870C 4B DA 95 0D */ bl string_l__4rstlFPCc -/* 8025B7B0 00258710 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B7B4 00258714 38 81 02 38 */ addi r4, r1, 0x238 -/* 8025B7B8 00258718 38 63 01 C0 */ addi r3, r3, 0x1c0 -/* 8025B7BC 0025871C 48 0E 29 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B7C0 00258720 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B7C4 00258724 38 AE 04 20 */ addi r5, r14, 0x420 -/* 8025B7C8 00258728 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B7CC 0025872C 48 12 DE C1 */ bl __register_global_object -/* 8025B7D0 00258730 38 61 02 38 */ addi r3, r1, 0x238 -/* 8025B7D4 00258734 48 0E 23 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B7D8 00258738 3C 80 80 3D */ lis r4, lbl_803D4D5C@ha -/* 8025B7DC 0025873C 38 61 02 28 */ addi r3, r1, 0x228 -/* 8025B7E0 00258740 38 84 4D 5C */ addi r4, r4, lbl_803D4D5C@l -/* 8025B7E4 00258744 38 84 03 8D */ addi r4, r4, 0x38d -/* 8025B7E8 00258748 4B DA 94 D1 */ bl string_l__4rstlFPCc -/* 8025B7EC 0025874C 38 6E 04 38 */ addi r3, r14, 0x438 -/* 8025B7F0 00258750 38 81 02 28 */ addi r4, r1, 0x228 -/* 8025B7F4 00258754 38 63 01 D0 */ addi r3, r3, 0x1d0 -/* 8025B7F8 00258758 48 0E 29 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025B7FC 0025875C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8025B800 00258760 38 AE 04 2C */ addi r5, r14, 0x42c -/* 8025B804 00258764 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8025B808 00258768 48 12 DE 85 */ bl __register_global_object -/* 8025B80C 0025876C 38 61 02 28 */ addi r3, r1, 0x228 -/* 8025B810 00258770 48 0E 22 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025B814 00258774 C0 22 B9 34 */ lfs f1, lbl_805AD654@sda21(r2) -/* 8025B818 00258778 39 6E 06 18 */ addi r11, r14, 0x618 -/* 8025B81C 0025877C 39 80 FF FF */ li r12, -1 -/* 8025B820 00258780 38 C0 00 03 */ li r6, 3 -/* 8025B824 00258784 C0 02 B9 48 */ lfs f0, lbl_805AD668@sda21(r2) -/* 8025B828 00258788 39 E0 00 00 */ li r15, 0 -/* 8025B82C 0025878C 38 A0 00 02 */ li r5, 2 -/* 8025B830 00258790 38 80 00 04 */ li r4, 4 -/* 8025B834 00258794 38 60 00 05 */ li r3, 5 -/* 8025B838 00258798 91 E1 02 1C */ stw r15, 0x21c(r1) -/* 8025B83C 0025879C D0 21 02 20 */ stfs f1, 0x220(r1) -/* 8025B840 002587A0 91 81 02 24 */ stw r12, 0x224(r1) -/* 8025B844 002587A4 91 EE 06 18 */ stw r15, 0x618(r14) -/* 8025B848 002587A8 D0 2B 00 04 */ stfs f1, 4(r11) -/* 8025B84C 002587AC 91 8B 00 08 */ stw r12, 8(r11) -/* 8025B850 002587B0 90 C1 02 10 */ stw r6, 0x210(r1) -/* 8025B854 002587B4 D0 21 02 14 */ stfs f1, 0x214(r1) -/* 8025B858 002587B8 91 81 02 18 */ stw r12, 0x218(r1) -/* 8025B85C 002587BC 90 CB 00 0C */ stw r6, 0xc(r11) -/* 8025B860 002587C0 D0 2B 00 10 */ stfs f1, 0x10(r11) -/* 8025B864 002587C4 91 8B 00 14 */ stw r12, 0x14(r11) -/* 8025B868 002587C8 90 A1 02 04 */ stw r5, 0x204(r1) -/* 8025B86C 002587CC D0 21 02 08 */ stfs f1, 0x208(r1) -/* 8025B870 002587D0 91 81 02 0C */ stw r12, 0x20c(r1) -/* 8025B874 002587D4 90 AB 00 18 */ stw r5, 0x18(r11) -/* 8025B878 002587D8 D0 2B 00 1C */ stfs f1, 0x1c(r11) -/* 8025B87C 002587DC 91 8B 00 20 */ stw r12, 0x20(r11) -/* 8025B880 002587E0 90 C1 01 F8 */ stw r6, 0x1f8(r1) -/* 8025B884 002587E4 D0 01 01 FC */ stfs f0, 0x1fc(r1) -/* 8025B888 002587E8 90 81 02 00 */ stw r4, 0x200(r1) -/* 8025B88C 002587EC 90 CB 00 24 */ stw r6, 0x24(r11) -/* 8025B890 002587F0 D0 0B 00 28 */ stfs f0, 0x28(r11) -/* 8025B894 002587F4 90 8B 00 2C */ stw r4, 0x2c(r11) -/* 8025B898 002587F8 91 E1 01 EC */ stw r15, 0x1ec(r1) -/* 8025B89C 002587FC D0 21 01 F0 */ stfs f1, 0x1f0(r1) -/* 8025B8A0 00258800 91 81 01 F4 */ stw r12, 0x1f4(r1) -/* 8025B8A4 00258804 91 EB 00 30 */ stw r15, 0x30(r11) -/* 8025B8A8 00258808 D0 2B 00 34 */ stfs f1, 0x34(r11) -/* 8025B8AC 0025880C 91 8B 00 38 */ stw r12, 0x38(r11) -/* 8025B8B0 00258810 90 C1 01 E0 */ stw r6, 0x1e0(r1) -/* 8025B8B4 00258814 D0 21 01 E4 */ stfs f1, 0x1e4(r1) -/* 8025B8B8 00258818 91 81 01 E8 */ stw r12, 0x1e8(r1) -/* 8025B8BC 0025881C 90 CB 00 3C */ stw r6, 0x3c(r11) -/* 8025B8C0 00258820 D0 2B 00 40 */ stfs f1, 0x40(r11) -/* 8025B8C4 00258824 91 8B 00 44 */ stw r12, 0x44(r11) -/* 8025B8C8 00258828 90 A1 01 D4 */ stw r5, 0x1d4(r1) -/* 8025B8CC 0025882C D0 21 01 D8 */ stfs f1, 0x1d8(r1) -/* 8025B8D0 00258830 91 81 01 DC */ stw r12, 0x1dc(r1) -/* 8025B8D4 00258834 90 AB 00 48 */ stw r5, 0x48(r11) -/* 8025B8D8 00258838 D0 2B 00 4C */ stfs f1, 0x4c(r11) -/* 8025B8DC 0025883C 91 8B 00 50 */ stw r12, 0x50(r11) -/* 8025B8E0 00258840 90 C1 01 C8 */ stw r6, 0x1c8(r1) -/* 8025B8E4 00258844 D0 01 01 CC */ stfs f0, 0x1cc(r1) -/* 8025B8E8 00258848 90 81 01 D0 */ stw r4, 0x1d0(r1) -/* 8025B8EC 0025884C 90 CB 00 54 */ stw r6, 0x54(r11) -/* 8025B8F0 00258850 D0 0B 00 58 */ stfs f0, 0x58(r11) -/* 8025B8F4 00258854 90 8B 00 5C */ stw r4, 0x5c(r11) -/* 8025B8F8 00258858 90 61 01 BC */ stw r3, 0x1bc(r1) -/* 8025B8FC 0025885C D0 21 01 C0 */ stfs f1, 0x1c0(r1) -/* 8025B900 00258860 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 8025B904 00258864 90 6B 00 60 */ stw r3, 0x60(r11) -/* 8025B908 00258868 D0 2B 00 64 */ stfs f1, 0x64(r11) -/* 8025B90C 0025886C 91 8B 00 68 */ stw r12, 0x68(r11) -/* 8025B910 00258870 91 81 01 B0 */ stw r12, 0x1b0(r1) -/* 8025B914 00258874 D0 21 01 B4 */ stfs f1, 0x1b4(r1) -/* 8025B918 00258878 91 81 01 B8 */ stw r12, 0x1b8(r1) -/* 8025B91C 0025887C 91 8B 00 6C */ stw r12, 0x6c(r11) -/* 8025B920 00258880 D0 2B 00 70 */ stfs f1, 0x70(r11) -/* 8025B924 00258884 91 8B 00 74 */ stw r12, 0x74(r11) -/* 8025B928 00258888 91 8B 00 78 */ stw r12, 0x78(r11) -/* 8025B92C 0025888C D0 2B 00 7C */ stfs f1, 0x7c(r11) -/* 8025B930 00258890 91 8B 00 80 */ stw r12, 0x80(r11) -/* 8025B934 00258894 91 8B 00 84 */ stw r12, 0x84(r11) -/* 8025B938 00258898 D0 2B 00 88 */ stfs f1, 0x88(r11) -/* 8025B93C 0025889C 91 8B 00 8C */ stw r12, 0x8c(r11) -/* 8025B940 002588A0 90 61 01 A4 */ stw r3, 0x1a4(r1) -/* 8025B944 002588A4 D0 21 01 A8 */ stfs f1, 0x1a8(r1) -/* 8025B948 002588A8 91 81 01 AC */ stw r12, 0x1ac(r1) -/* 8025B94C 002588AC 90 6B 00 90 */ stw r3, 0x90(r11) -/* 8025B950 002588B0 D0 2B 00 94 */ stfs f1, 0x94(r11) -/* 8025B954 002588B4 91 8B 00 98 */ stw r12, 0x98(r11) -/* 8025B958 002588B8 38 00 00 01 */ li r0, 1 -/* 8025B95C 002588BC D0 21 01 9C */ stfs f1, 0x19c(r1) -/* 8025B960 002588C0 90 01 01 98 */ stw r0, 0x198(r1) -/* 8025B964 002588C4 91 81 01 A0 */ stw r12, 0x1a0(r1) -/* 8025B968 002588C8 90 0B 00 9C */ stw r0, 0x9c(r11) -/* 8025B96C 002588CC D0 2B 00 A0 */ stfs f1, 0xa0(r11) -/* 8025B970 002588D0 91 8B 00 A4 */ stw r12, 0xa4(r11) -/* 8025B974 002588D4 90 01 01 8C */ stw r0, 0x18c(r1) -/* 8025B978 002588D8 D0 21 01 90 */ stfs f1, 0x190(r1) -/* 8025B97C 002588DC 91 81 01 94 */ stw r12, 0x194(r1) -/* 8025B980 002588E0 90 0B 00 A8 */ stw r0, 0xa8(r11) -/* 8025B984 002588E4 D0 2B 00 AC */ stfs f1, 0xac(r11) -/* 8025B988 002588E8 91 8B 00 B0 */ stw r12, 0xb0(r11) -/* 8025B98C 002588EC 90 01 01 80 */ stw r0, 0x180(r1) -/* 8025B990 002588F0 D0 21 01 84 */ stfs f1, 0x184(r1) -/* 8025B994 002588F4 91 81 01 88 */ stw r12, 0x188(r1) -/* 8025B998 002588F8 90 0B 00 B4 */ stw r0, 0xb4(r11) -/* 8025B99C 002588FC D0 2B 00 B8 */ stfs f1, 0xb8(r11) -/* 8025B9A0 00258900 91 8B 00 BC */ stw r12, 0xbc(r11) -/* 8025B9A4 00258904 90 01 01 74 */ stw r0, 0x174(r1) -/* 8025B9A8 00258908 D0 21 01 78 */ stfs f1, 0x178(r1) -/* 8025B9AC 0025890C 91 81 01 7C */ stw r12, 0x17c(r1) -/* 8025B9B0 00258910 90 0B 00 C0 */ stw r0, 0xc0(r11) -/* 8025B9B4 00258914 D0 2B 00 C4 */ stfs f1, 0xc4(r11) -/* 8025B9B8 00258918 91 8B 00 C8 */ stw r12, 0xc8(r11) -/* 8025B9BC 0025891C 91 81 01 68 */ stw r12, 0x168(r1) -/* 8025B9C0 00258920 D0 21 01 6C */ stfs f1, 0x16c(r1) -/* 8025B9C4 00258924 91 81 01 70 */ stw r12, 0x170(r1) -/* 8025B9C8 00258928 91 8B 00 CC */ stw r12, 0xcc(r11) -/* 8025B9CC 0025892C D0 2B 00 D0 */ stfs f1, 0xd0(r11) -/* 8025B9D0 00258930 91 8B 00 D4 */ stw r12, 0xd4(r11) -/* 8025B9D4 00258934 91 8B 00 D8 */ stw r12, 0xd8(r11) -/* 8025B9D8 00258938 D0 2B 00 DC */ stfs f1, 0xdc(r11) -/* 8025B9DC 0025893C 91 8B 00 E0 */ stw r12, 0xe0(r11) -/* 8025B9E0 00258940 91 8B 00 E4 */ stw r12, 0xe4(r11) -/* 8025B9E4 00258944 D0 2B 00 E8 */ stfs f1, 0xe8(r11) -/* 8025B9E8 00258948 91 8B 00 EC */ stw r12, 0xec(r11) -/* 8025B9EC 0025894C 91 8B 00 F0 */ stw r12, 0xf0(r11) -/* 8025B9F0 00258950 D0 2B 00 F4 */ stfs f1, 0xf4(r11) -/* 8025B9F4 00258954 91 8B 00 F8 */ stw r12, 0xf8(r11) -/* 8025B9F8 00258958 91 8B 00 FC */ stw r12, 0xfc(r11) -/* 8025B9FC 0025895C D0 2B 01 00 */ stfs f1, 0x100(r11) -/* 8025BA00 00258960 91 8B 01 04 */ stw r12, 0x104(r11) -/* 8025BA04 00258964 91 8B 01 08 */ stw r12, 0x108(r11) -/* 8025BA08 00258968 D0 2B 01 0C */ stfs f1, 0x10c(r11) -/* 8025BA0C 0025896C 91 8B 01 10 */ stw r12, 0x110(r11) -/* 8025BA10 00258970 91 8B 01 14 */ stw r12, 0x114(r11) -/* 8025BA14 00258974 D0 2B 01 18 */ stfs f1, 0x118(r11) -/* 8025BA18 00258978 91 8B 01 1C */ stw r12, 0x11c(r11) -/* 8025BA1C 0025897C 90 61 01 5C */ stw r3, 0x15c(r1) -/* 8025BA20 00258980 D0 21 01 60 */ stfs f1, 0x160(r1) -/* 8025BA24 00258984 91 81 01 64 */ stw r12, 0x164(r1) -/* 8025BA28 00258988 90 6B 01 20 */ stw r3, 0x120(r11) -/* 8025BA2C 0025898C D0 2B 01 24 */ stfs f1, 0x124(r11) -/* 8025BA30 00258990 91 8B 01 28 */ stw r12, 0x128(r11) -/* 8025BA34 00258994 91 E1 01 50 */ stw r15, 0x150(r1) -/* 8025BA38 00258998 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 8025BA3C 0025899C 91 81 01 58 */ stw r12, 0x158(r1) -/* 8025BA40 002589A0 91 EB 01 2C */ stw r15, 0x12c(r11) -/* 8025BA44 002589A4 D0 2B 01 30 */ stfs f1, 0x130(r11) -/* 8025BA48 002589A8 91 8B 01 34 */ stw r12, 0x134(r11) -/* 8025BA4C 002589AC 91 E1 01 44 */ stw r15, 0x144(r1) -/* 8025BA50 002589B0 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 8025BA54 002589B4 90 81 01 4C */ stw r4, 0x14c(r1) -/* 8025BA58 002589B8 91 EB 01 38 */ stw r15, 0x138(r11) -/* 8025BA5C 002589BC D0 0B 01 3C */ stfs f0, 0x13c(r11) -/* 8025BA60 002589C0 90 8B 01 40 */ stw r4, 0x140(r11) -/* 8025BA64 002589C4 90 A1 01 38 */ stw r5, 0x138(r1) -/* 8025BA68 002589C8 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 8025BA6C 002589CC 91 81 01 40 */ stw r12, 0x140(r1) -/* 8025BA70 002589D0 90 AB 01 44 */ stw r5, 0x144(r11) -/* 8025BA74 002589D4 D0 2B 01 48 */ stfs f1, 0x148(r11) -/* 8025BA78 002589D8 91 8B 01 4C */ stw r12, 0x14c(r11) -/* 8025BA7C 002589DC 90 C1 01 2C */ stw r6, 0x12c(r1) -/* 8025BA80 002589E0 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 8025BA84 002589E4 90 81 01 34 */ stw r4, 0x134(r1) -/* 8025BA88 002589E8 90 CB 01 50 */ stw r6, 0x150(r11) -/* 8025BA8C 002589EC D0 0B 01 54 */ stfs f0, 0x154(r11) -/* 8025BA90 002589F0 90 8B 01 58 */ stw r4, 0x158(r11) -/* 8025BA94 002589F4 90 A1 01 20 */ stw r5, 0x120(r1) -/* 8025BA98 002589F8 D0 21 01 24 */ stfs f1, 0x124(r1) -/* 8025BA9C 002589FC 91 81 01 28 */ stw r12, 0x128(r1) -/* 8025BAA0 00258A00 90 AB 01 5C */ stw r5, 0x15c(r11) -/* 8025BAA4 00258A04 D0 2B 01 60 */ stfs f1, 0x160(r11) -/* 8025BAA8 00258A08 91 8B 01 64 */ stw r12, 0x164(r11) -/* 8025BAAC 00258A0C 90 C1 01 14 */ stw r6, 0x114(r1) -/* 8025BAB0 00258A10 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 8025BAB4 00258A14 90 81 01 1C */ stw r4, 0x11c(r1) -/* 8025BAB8 00258A18 90 CB 01 68 */ stw r6, 0x168(r11) -/* 8025BABC 00258A1C D0 0B 01 6C */ stfs f0, 0x16c(r11) -/* 8025BAC0 00258A20 90 8B 01 70 */ stw r4, 0x170(r11) -/* 8025BAC4 00258A24 91 E1 01 08 */ stw r15, 0x108(r1) -/* 8025BAC8 00258A28 D0 21 01 0C */ stfs f1, 0x10c(r1) -/* 8025BACC 00258A2C 91 81 01 10 */ stw r12, 0x110(r1) -/* 8025BAD0 00258A30 91 EB 01 74 */ stw r15, 0x174(r11) -/* 8025BAD4 00258A34 D0 2B 01 78 */ stfs f1, 0x178(r11) -/* 8025BAD8 00258A38 91 8B 01 7C */ stw r12, 0x17c(r11) -/* 8025BADC 00258A3C 90 A1 00 FC */ stw r5, 0xfc(r1) -/* 8025BAE0 00258A40 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 8025BAE4 00258A44 90 C1 01 04 */ stw r6, 0x104(r1) -/* 8025BAE8 00258A48 90 AB 01 80 */ stw r5, 0x180(r11) -/* 8025BAEC 00258A4C D0 0B 01 84 */ stfs f0, 0x184(r11) -/* 8025BAF0 00258A50 90 CB 01 88 */ stw r6, 0x188(r11) -/* 8025BAF4 00258A54 90 A1 00 F0 */ stw r5, 0xf0(r1) -/* 8025BAF8 00258A58 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 8025BAFC 00258A5C 91 81 00 F8 */ stw r12, 0xf8(r1) -/* 8025BB00 00258A60 90 AB 01 8C */ stw r5, 0x18c(r11) -/* 8025BB04 00258A64 D0 2B 01 90 */ stfs f1, 0x190(r11) -/* 8025BB08 00258A68 91 8B 01 94 */ stw r12, 0x194(r11) -/* 8025BB0C 00258A6C 91 81 00 E4 */ stw r12, 0xe4(r1) -/* 8025BB10 00258A70 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 8025BB14 00258A74 91 81 00 EC */ stw r12, 0xec(r1) -/* 8025BB18 00258A78 91 8B 01 98 */ stw r12, 0x198(r11) -/* 8025BB1C 00258A7C D0 2B 01 9C */ stfs f1, 0x19c(r11) -/* 8025BB20 00258A80 91 8B 01 A0 */ stw r12, 0x1a0(r11) -/* 8025BB24 00258A84 91 8B 01 A4 */ stw r12, 0x1a4(r11) -/* 8025BB28 00258A88 D0 2B 01 A8 */ stfs f1, 0x1a8(r11) -/* 8025BB2C 00258A8C 91 8B 01 AC */ stw r12, 0x1ac(r11) -/* 8025BB30 00258A90 90 61 00 D8 */ stw r3, 0xd8(r1) -/* 8025BB34 00258A94 D0 21 00 DC */ stfs f1, 0xdc(r1) -/* 8025BB38 00258A98 91 81 00 E0 */ stw r12, 0xe0(r1) -/* 8025BB3C 00258A9C 90 6B 01 B0 */ stw r3, 0x1b0(r11) -/* 8025BB40 00258AA0 D0 2B 01 B4 */ stfs f1, 0x1b4(r11) -/* 8025BB44 00258AA4 91 8B 01 B8 */ stw r12, 0x1b8(r11) -/* 8025BB48 00258AA8 90 01 00 CC */ stw r0, 0xcc(r1) -/* 8025BB4C 00258AAC D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 8025BB50 00258AB0 91 81 00 D4 */ stw r12, 0xd4(r1) -/* 8025BB54 00258AB4 90 0B 01 BC */ stw r0, 0x1bc(r11) -/* 8025BB58 00258AB8 D0 2B 01 C0 */ stfs f1, 0x1c0(r11) -/* 8025BB5C 00258ABC 91 8B 01 C4 */ stw r12, 0x1c4(r11) -/* 8025BB60 00258AC0 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8025BB64 00258AC4 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 8025BB68 00258AC8 91 81 00 C8 */ stw r12, 0xc8(r1) -/* 8025BB6C 00258ACC 90 0B 01 C8 */ stw r0, 0x1c8(r11) -/* 8025BB70 00258AD0 D0 2B 01 CC */ stfs f1, 0x1cc(r11) -/* 8025BB74 00258AD4 91 8B 01 D0 */ stw r12, 0x1d0(r11) -/* 8025BB78 00258AD8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8025BB7C 00258ADC D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8025BB80 00258AE0 91 81 00 BC */ stw r12, 0xbc(r1) -/* 8025BB84 00258AE4 90 0B 01 D4 */ stw r0, 0x1d4(r11) -/* 8025BB88 00258AE8 D0 2B 01 D8 */ stfs f1, 0x1d8(r11) -/* 8025BB8C 00258AEC 91 8B 01 DC */ stw r12, 0x1dc(r11) -/* 8025BB90 00258AF0 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8025BB94 00258AF4 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8025BB98 00258AF8 91 81 00 B0 */ stw r12, 0xb0(r1) -/* 8025BB9C 00258AFC 90 0B 01 E0 */ stw r0, 0x1e0(r11) -/* 8025BBA0 00258B00 D0 2B 01 E4 */ stfs f1, 0x1e4(r11) -/* 8025BBA4 00258B04 91 8B 01 E8 */ stw r12, 0x1e8(r11) -/* 8025BBA8 00258B08 91 81 00 9C */ stw r12, 0x9c(r1) -/* 8025BBAC 00258B0C D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8025BBB0 00258B10 91 81 00 A4 */ stw r12, 0xa4(r1) -/* 8025BBB4 00258B14 91 8B 01 EC */ stw r12, 0x1ec(r11) -/* 8025BBB8 00258B18 D0 2B 01 F0 */ stfs f1, 0x1f0(r11) -/* 8025BBBC 00258B1C 91 8B 01 F4 */ stw r12, 0x1f4(r11) -/* 8025BBC0 00258B20 91 8B 01 F8 */ stw r12, 0x1f8(r11) -/* 8025BBC4 00258B24 D0 2B 01 FC */ stfs f1, 0x1fc(r11) -/* 8025BBC8 00258B28 91 8B 02 00 */ stw r12, 0x200(r11) -/* 8025BBCC 00258B2C 91 8B 02 04 */ stw r12, 0x204(r11) -/* 8025BBD0 00258B30 D0 2B 02 08 */ stfs f1, 0x208(r11) -/* 8025BBD4 00258B34 91 8B 02 0C */ stw r12, 0x20c(r11) -/* 8025BBD8 00258B38 91 8B 02 10 */ stw r12, 0x210(r11) -/* 8025BBDC 00258B3C D0 2B 02 14 */ stfs f1, 0x214(r11) -/* 8025BBE0 00258B40 91 8B 02 18 */ stw r12, 0x218(r11) -/* 8025BBE4 00258B44 91 8B 02 1C */ stw r12, 0x21c(r11) -/* 8025BBE8 00258B48 D0 2B 02 20 */ stfs f1, 0x220(r11) -/* 8025BBEC 00258B4C 91 8B 02 24 */ stw r12, 0x224(r11) -/* 8025BBF0 00258B50 91 8B 02 28 */ stw r12, 0x228(r11) -/* 8025BBF4 00258B54 D0 2B 02 2C */ stfs f1, 0x22c(r11) -/* 8025BBF8 00258B58 91 8B 02 30 */ stw r12, 0x230(r11) -/* 8025BBFC 00258B5C 91 8B 02 34 */ stw r12, 0x234(r11) -/* 8025BC00 00258B60 D0 2B 02 38 */ stfs f1, 0x238(r11) -/* 8025BC04 00258B64 91 8B 02 3C */ stw r12, 0x23c(r11) -/* 8025BC08 00258B68 90 61 00 90 */ stw r3, 0x90(r1) -/* 8025BC0C 00258B6C D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8025BC10 00258B70 91 81 00 98 */ stw r12, 0x98(r1) -/* 8025BC14 00258B74 90 6B 02 40 */ stw r3, 0x240(r11) -/* 8025BC18 00258B78 D0 2B 02 44 */ stfs f1, 0x244(r11) -/* 8025BC1C 00258B7C 91 8B 02 48 */ stw r12, 0x248(r11) -/* 8025BC20 00258B80 91 E1 00 84 */ stw r15, 0x84(r1) -/* 8025BC24 00258B84 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8025BC28 00258B88 91 81 00 8C */ stw r12, 0x8c(r1) -/* 8025BC2C 00258B8C 91 EB 02 4C */ stw r15, 0x24c(r11) -/* 8025BC30 00258B90 D0 2B 02 50 */ stfs f1, 0x250(r11) -/* 8025BC34 00258B94 91 8B 02 54 */ stw r12, 0x254(r11) -/* 8025BC38 00258B98 91 E1 00 78 */ stw r15, 0x78(r1) -/* 8025BC3C 00258B9C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8025BC40 00258BA0 90 C1 00 80 */ stw r6, 0x80(r1) -/* 8025BC44 00258BA4 91 EB 02 58 */ stw r15, 0x258(r11) -/* 8025BC48 00258BA8 D0 0B 02 5C */ stfs f0, 0x25c(r11) -/* 8025BC4C 00258BAC 90 CB 02 60 */ stw r6, 0x260(r11) -/* 8025BC50 00258BB0 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 8025BC54 00258BB4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8025BC58 00258BB8 91 81 00 74 */ stw r12, 0x74(r1) -/* 8025BC5C 00258BBC 90 CB 02 64 */ stw r6, 0x264(r11) -/* 8025BC60 00258BC0 D0 2B 02 68 */ stfs f1, 0x268(r11) -/* 8025BC64 00258BC4 91 8B 02 6C */ stw r12, 0x26c(r11) -/* 8025BC68 00258BC8 91 E1 00 60 */ stw r15, 0x60(r1) -/* 8025BC6C 00258BCC D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8025BC70 00258BD0 90 C1 00 68 */ stw r6, 0x68(r1) -/* 8025BC74 00258BD4 91 EB 02 70 */ stw r15, 0x270(r11) -/* 8025BC78 00258BD8 D0 0B 02 74 */ stfs f0, 0x274(r11) -/* 8025BC7C 00258BDC 90 CB 02 78 */ stw r6, 0x278(r11) -/* 8025BC80 00258BE0 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8025BC84 00258BE4 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8025BC88 00258BE8 91 81 00 5C */ stw r12, 0x5c(r1) -/* 8025BC8C 00258BEC 90 AB 02 7C */ stw r5, 0x27c(r11) -/* 8025BC90 00258BF0 D0 2B 02 80 */ stfs f1, 0x280(r11) -/* 8025BC94 00258BF4 91 8B 02 84 */ stw r12, 0x284(r11) -/* 8025BC98 00258BF8 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8025BC9C 00258BFC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8025BCA0 00258C00 90 81 00 50 */ stw r4, 0x50(r1) -/* 8025BCA4 00258C04 90 AB 02 88 */ stw r5, 0x288(r11) -/* 8025BCA8 00258C08 D0 0B 02 8C */ stfs f0, 0x28c(r11) -/* 8025BCAC 00258C0C 90 8B 02 90 */ stw r4, 0x290(r11) -/* 8025BCB0 00258C10 91 E1 00 3C */ stw r15, 0x3c(r1) -/* 8025BCB4 00258C14 91 EB 02 94 */ stw r15, 0x294(r11) -/* 8025BCB8 00258C18 38 00 00 06 */ li r0, 6 -/* 8025BCBC 00258C1C 38 61 06 30 */ addi r3, r1, 0x630 -/* 8025BCC0 00258C20 38 80 00 06 */ li r4, 6 -/* 8025BCC4 00258C24 D0 2B 02 98 */ stfs f1, 0x298(r11) -/* 8025BCC8 00258C28 38 A0 00 06 */ li r5, 6 -/* 8025BCCC 00258C2C 38 C0 00 06 */ li r6, 6 -/* 8025BCD0 00258C30 38 E0 00 06 */ li r7, 6 -/* 8025BCD4 00258C34 91 8B 02 9C */ stw r12, 0x29c(r11) -/* 8025BCD8 00258C38 39 00 00 06 */ li r8, 6 -/* 8025BCDC 00258C3C 39 20 00 06 */ li r9, 6 -/* 8025BCE0 00258C40 39 40 00 06 */ li r10, 6 -/* 8025BCE4 00258C44 91 8B 02 A0 */ stw r12, 0x2a0(r11) -/* 8025BCE8 00258C48 D0 2B 02 A4 */ stfs f1, 0x2a4(r11) -/* 8025BCEC 00258C4C 91 8B 02 A8 */ stw r12, 0x2a8(r11) -/* 8025BCF0 00258C50 91 8B 02 AC */ stw r12, 0x2ac(r11) -/* 8025BCF4 00258C54 D0 2B 02 B0 */ stfs f1, 0x2b0(r11) -/* 8025BCF8 00258C58 91 8B 02 B4 */ stw r12, 0x2b4(r11) -/* 8025BCFC 00258C5C 91 8B 02 B8 */ stw r12, 0x2b8(r11) -/* 8025BD00 00258C60 D0 2B 02 BC */ stfs f1, 0x2bc(r11) -/* 8025BD04 00258C64 91 8B 02 C0 */ stw r12, 0x2c0(r11) -/* 8025BD08 00258C68 91 8B 02 C4 */ stw r12, 0x2c4(r11) -/* 8025BD0C 00258C6C D0 2B 02 C8 */ stfs f1, 0x2c8(r11) -/* 8025BD10 00258C70 91 8B 02 CC */ stw r12, 0x2cc(r11) -/* 8025BD14 00258C74 90 01 00 08 */ stw r0, 8(r1) -/* 8025BD18 00258C78 90 01 00 0C */ stw r0, 0xc(r1) -/* 8025BD1C 00258C7C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8025BD20 00258C80 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BD24 00258C84 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025BD28 00258C88 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8025BD2C 00258C8C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025BD30 00258C90 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025BD34 00258C94 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8025BD38 00258C98 91 81 00 44 */ stw r12, 0x44(r1) -/* 8025BD3C 00258C9C 91 81 00 30 */ stw r12, 0x30(r1) -/* 8025BD40 00258CA0 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8025BD44 00258CA4 91 81 00 38 */ stw r12, 0x38(r1) -/* 8025BD48 00258CA8 91 E1 00 28 */ stw r15, 0x28(r1) -/* 8025BD4C 00258CAC 4B EA 6B E9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType -/* 8025BD50 00258CB0 81 E1 06 78 */ lwz r15, 0x678(r1) -/* 8025BD54 00258CB4 3C 60 80 57 */ lis r3, lbl_80572544@ha -/* 8025BD58 00258CB8 3A 03 25 44 */ addi r16, r3, lbl_80572544@l -/* 8025BD5C 00258CBC 81 61 06 70 */ lwz r11, 0x670(r1) -/* 8025BD60 00258CC0 91 E1 06 B4 */ stw r15, 0x6b4(r1) -/* 8025BD64 00258CC4 38 00 00 06 */ li r0, 6 -/* 8025BD68 00258CC8 81 E1 06 7C */ lwz r15, 0x67c(r1) -/* 8025BD6C 00258CCC 38 61 05 C8 */ addi r3, r1, 0x5c8 -/* 8025BD70 00258CD0 91 70 00 40 */ stw r11, 0x40(r16) -/* 8025BD74 00258CD4 38 80 00 06 */ li r4, 6 -/* 8025BD78 00258CD8 81 61 06 B4 */ lwz r11, 0x6b4(r1) -/* 8025BD7C 00258CDC 38 A0 00 05 */ li r5, 5 -/* 8025BD80 00258CE0 91 E1 06 98 */ stw r15, 0x698(r1) -/* 8025BD84 00258CE4 38 C0 00 06 */ li r6, 6 -/* 8025BD88 00258CE8 81 E1 06 80 */ lwz r15, 0x680(r1) -/* 8025BD8C 00258CEC 38 E0 00 06 */ li r7, 6 -/* 8025BD90 00258CF0 91 70 00 48 */ stw r11, 0x48(r16) -/* 8025BD94 00258CF4 39 00 00 06 */ li r8, 6 -/* 8025BD98 00258CF8 81 61 06 98 */ lwz r11, 0x698(r1) -/* 8025BD9C 00258CFC 39 20 00 06 */ li r9, 6 -/* 8025BDA0 00258D00 91 E1 06 9C */ stw r15, 0x69c(r1) -/* 8025BDA4 00258D04 39 40 00 06 */ li r10, 6 -/* 8025BDA8 00258D08 81 E1 06 84 */ lwz r15, 0x684(r1) -/* 8025BDAC 00258D0C 91 70 00 4C */ stw r11, 0x4c(r16) -/* 8025BDB0 00258D10 81 61 06 9C */ lwz r11, 0x69c(r1) -/* 8025BDB4 00258D14 91 E1 06 A0 */ stw r15, 0x6a0(r1) -/* 8025BDB8 00258D18 81 E1 06 88 */ lwz r15, 0x688(r1) -/* 8025BDBC 00258D1C 91 70 00 50 */ stw r11, 0x50(r16) -/* 8025BDC0 00258D20 81 61 06 A0 */ lwz r11, 0x6a0(r1) -/* 8025BDC4 00258D24 91 E1 06 A4 */ stw r15, 0x6a4(r1) -/* 8025BDC8 00258D28 81 E1 06 8C */ lwz r15, 0x68c(r1) -/* 8025BDCC 00258D2C 91 70 00 54 */ stw r11, 0x54(r16) -/* 8025BDD0 00258D30 81 61 06 A4 */ lwz r11, 0x6a4(r1) -/* 8025BDD4 00258D34 91 E1 06 A8 */ stw r15, 0x6a8(r1) -/* 8025BDD8 00258D38 81 E1 06 90 */ lwz r15, 0x690(r1) -/* 8025BDDC 00258D3C 91 70 00 58 */ stw r11, 0x58(r16) -/* 8025BDE0 00258D40 81 61 06 A8 */ lwz r11, 0x6a8(r1) -/* 8025BDE4 00258D44 91 E1 06 AC */ stw r15, 0x6ac(r1) -/* 8025BDE8 00258D48 81 E1 06 94 */ lwz r15, 0x694(r1) -/* 8025BDEC 00258D4C 91 70 00 5C */ stw r11, 0x5c(r16) -/* 8025BDF0 00258D50 81 61 06 AC */ lwz r11, 0x6ac(r1) -/* 8025BDF4 00258D54 82 21 06 30 */ lwz r17, 0x630(r1) -/* 8025BDF8 00258D58 82 41 06 34 */ lwz r18, 0x634(r1) -/* 8025BDFC 00258D5C 82 61 06 38 */ lwz r19, 0x638(r1) -/* 8025BE00 00258D60 82 81 06 3C */ lwz r20, 0x63c(r1) -/* 8025BE04 00258D64 82 A1 06 40 */ lwz r21, 0x640(r1) -/* 8025BE08 00258D68 82 C1 06 44 */ lwz r22, 0x644(r1) -/* 8025BE0C 00258D6C 82 E1 06 48 */ lwz r23, 0x648(r1) -/* 8025BE10 00258D70 83 01 06 4C */ lwz r24, 0x64c(r1) -/* 8025BE14 00258D74 83 21 06 50 */ lwz r25, 0x650(r1) -/* 8025BE18 00258D78 83 41 06 54 */ lwz r26, 0x654(r1) -/* 8025BE1C 00258D7C 83 61 06 58 */ lwz r27, 0x658(r1) -/* 8025BE20 00258D80 83 81 06 5C */ lwz r28, 0x65c(r1) -/* 8025BE24 00258D84 83 A1 06 60 */ lwz r29, 0x660(r1) -/* 8025BE28 00258D88 83 C1 06 64 */ lwz r30, 0x664(r1) -/* 8025BE2C 00258D8C 83 E1 06 68 */ lwz r31, 0x668(r1) -/* 8025BE30 00258D90 81 81 06 6C */ lwz r12, 0x66c(r1) -/* 8025BE34 00258D94 81 C1 06 74 */ lwz r14, 0x674(r1) -/* 8025BE38 00258D98 91 70 00 60 */ stw r11, 0x60(r16) -/* 8025BE3C 00258D9C 7D EB 7B 78 */ mr r11, r15 -/* 8025BE40 00258DA0 92 30 00 00 */ stw r17, 0(r16) -/* 8025BE44 00258DA4 92 50 00 04 */ stw r18, 4(r16) -/* 8025BE48 00258DA8 92 70 00 08 */ stw r19, 8(r16) -/* 8025BE4C 00258DAC 92 90 00 0C */ stw r20, 0xc(r16) -/* 8025BE50 00258DB0 92 B0 00 10 */ stw r21, 0x10(r16) -/* 8025BE54 00258DB4 92 D0 00 14 */ stw r22, 0x14(r16) -/* 8025BE58 00258DB8 92 F0 00 18 */ stw r23, 0x18(r16) -/* 8025BE5C 00258DBC 93 10 00 1C */ stw r24, 0x1c(r16) -/* 8025BE60 00258DC0 93 30 00 20 */ stw r25, 0x20(r16) -/* 8025BE64 00258DC4 93 50 00 24 */ stw r26, 0x24(r16) -/* 8025BE68 00258DC8 93 70 00 28 */ stw r27, 0x28(r16) -/* 8025BE6C 00258DCC 93 90 00 2C */ stw r28, 0x2c(r16) -/* 8025BE70 00258DD0 93 B0 00 30 */ stw r29, 0x30(r16) -/* 8025BE74 00258DD4 93 D0 00 34 */ stw r30, 0x34(r16) -/* 8025BE78 00258DD8 93 F0 00 38 */ stw r31, 0x38(r16) -/* 8025BE7C 00258DDC 91 90 00 3C */ stw r12, 0x3c(r16) -/* 8025BE80 00258DE0 91 D0 00 44 */ stw r14, 0x44(r16) -/* 8025BE84 00258DE4 91 70 00 64 */ stw r11, 0x64(r16) -/* 8025BE88 00258DE8 90 01 00 08 */ stw r0, 8(r1) -/* 8025BE8C 00258DEC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8025BE90 00258DF0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8025BE94 00258DF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BE98 00258DF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025BE9C 00258DFC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8025BEA0 00258E00 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025BEA4 00258E04 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025BEA8 00258E08 38 00 00 00 */ li r0, 0 -/* 8025BEAC 00258E0C 91 E1 06 B0 */ stw r15, 0x6b0(r1) -/* 8025BEB0 00258E10 90 01 00 28 */ stw r0, 0x28(r1) -/* 8025BEB4 00258E14 4B EA 6A 81 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType -/* 8025BEB8 00258E18 3C 60 80 57 */ lis r3, lbl_805725AC@ha -/* 8025BEBC 00258E1C 83 81 05 C8 */ lwz r28, 0x5c8(r1) -/* 8025BEC0 00258E20 3B A3 25 AC */ addi r29, r3, lbl_805725AC@l -/* 8025BEC4 00258E24 83 61 05 CC */ lwz r27, 0x5cc(r1) -/* 8025BEC8 00258E28 83 41 05 D0 */ lwz r26, 0x5d0(r1) -/* 8025BECC 00258E2C 83 21 05 D4 */ lwz r25, 0x5d4(r1) -/* 8025BED0 00258E30 83 01 05 D8 */ lwz r24, 0x5d8(r1) -/* 8025BED4 00258E34 82 E1 05 DC */ lwz r23, 0x5dc(r1) -/* 8025BED8 00258E38 82 C1 05 E0 */ lwz r22, 0x5e0(r1) -/* 8025BEDC 00258E3C 82 A1 05 E4 */ lwz r21, 0x5e4(r1) -/* 8025BEE0 00258E40 82 81 05 E8 */ lwz r20, 0x5e8(r1) -/* 8025BEE4 00258E44 82 61 05 EC */ lwz r19, 0x5ec(r1) -/* 8025BEE8 00258E48 82 41 05 F0 */ lwz r18, 0x5f0(r1) -/* 8025BEEC 00258E4C 82 21 05 F4 */ lwz r17, 0x5f4(r1) -/* 8025BEF0 00258E50 82 01 05 F8 */ lwz r16, 0x5f8(r1) -/* 8025BEF4 00258E54 81 E1 05 FC */ lwz r15, 0x5fc(r1) -/* 8025BEF8 00258E58 81 C1 06 00 */ lwz r14, 0x600(r1) -/* 8025BEFC 00258E5C 81 81 06 04 */ lwz r12, 0x604(r1) -/* 8025BF00 00258E60 81 61 06 08 */ lwz r11, 0x608(r1) -/* 8025BF04 00258E64 81 41 06 0C */ lwz r10, 0x60c(r1) -/* 8025BF08 00258E68 81 21 06 10 */ lwz r9, 0x610(r1) -/* 8025BF0C 00258E6C 81 01 06 14 */ lwz r8, 0x614(r1) -/* 8025BF10 00258E70 80 E1 06 18 */ lwz r7, 0x618(r1) -/* 8025BF14 00258E74 80 C1 06 1C */ lwz r6, 0x61c(r1) -/* 8025BF18 00258E78 80 A1 06 20 */ lwz r5, 0x620(r1) -/* 8025BF1C 00258E7C 80 81 06 24 */ lwz r4, 0x624(r1) -/* 8025BF20 00258E80 80 61 06 28 */ lwz r3, 0x628(r1) -/* 8025BF24 00258E84 80 01 06 2C */ lwz r0, 0x62c(r1) -/* 8025BF28 00258E88 93 9D 00 00 */ stw r28, 0(r29) -/* 8025BF2C 00258E8C 93 7D 00 04 */ stw r27, 4(r29) -/* 8025BF30 00258E90 93 5D 00 08 */ stw r26, 8(r29) -/* 8025BF34 00258E94 93 3D 00 0C */ stw r25, 0xc(r29) -/* 8025BF38 00258E98 93 1D 00 10 */ stw r24, 0x10(r29) -/* 8025BF3C 00258E9C 92 FD 00 14 */ stw r23, 0x14(r29) -/* 8025BF40 00258EA0 92 DD 00 18 */ stw r22, 0x18(r29) -/* 8025BF44 00258EA4 92 BD 00 1C */ stw r21, 0x1c(r29) -/* 8025BF48 00258EA8 92 9D 00 20 */ stw r20, 0x20(r29) -/* 8025BF4C 00258EAC 92 7D 00 24 */ stw r19, 0x24(r29) -/* 8025BF50 00258EB0 92 5D 00 28 */ stw r18, 0x28(r29) -/* 8025BF54 00258EB4 92 3D 00 2C */ stw r17, 0x2c(r29) -/* 8025BF58 00258EB8 92 1D 00 30 */ stw r16, 0x30(r29) -/* 8025BF5C 00258EBC 91 FD 00 34 */ stw r15, 0x34(r29) -/* 8025BF60 00258EC0 91 DD 00 38 */ stw r14, 0x38(r29) -/* 8025BF64 00258EC4 91 9D 00 3C */ stw r12, 0x3c(r29) -/* 8025BF68 00258EC8 91 7D 00 40 */ stw r11, 0x40(r29) -/* 8025BF6C 00258ECC 91 5D 00 44 */ stw r10, 0x44(r29) -/* 8025BF70 00258ED0 91 3D 00 48 */ stw r9, 0x48(r29) -/* 8025BF74 00258ED4 91 1D 00 4C */ stw r8, 0x4c(r29) -/* 8025BF78 00258ED8 90 FD 00 50 */ stw r7, 0x50(r29) -/* 8025BF7C 00258EDC 90 DD 00 54 */ stw r6, 0x54(r29) -/* 8025BF80 00258EE0 90 BD 00 58 */ stw r5, 0x58(r29) -/* 8025BF84 00258EE4 90 9D 00 5C */ stw r4, 0x5c(r29) -/* 8025BF88 00258EE8 90 7D 00 60 */ stw r3, 0x60(r29) -/* 8025BF8C 00258EEC 90 1D 00 64 */ stw r0, 0x64(r29) -/* 8025BF90 00258EF0 B9 C1 06 B8 */ lmw r14, 0x6b8(r1) -/* 8025BF94 00258EF4 80 01 07 04 */ lwz r0, 0x704(r1) -/* 8025BF98 00258EF8 7C 08 03 A6 */ mtlr r0 -/* 8025BF9C 00258EFC 38 21 07 00 */ addi r1, r1, 0x700 -/* 8025BFA0 00258F00 4E 80 00 20 */ blr - -.global sub_8025bfa4 -sub_8025bfa4: -/* 8025BFA4 00258F04 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8025BFA8 00258F08 7C 08 02 A6 */ mflr r0 -/* 8025BFAC 00258F0C 90 01 01 14 */ stw r0, 0x114(r1) -/* 8025BFB0 00258F10 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 8025BFB4 00258F14 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 8025BFB8 00258F18 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 8025BFBC 00258F1C F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 8025BFC0 00258F20 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 8025BFC4 00258F24 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 8025BFC8 00258F28 DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 8025BFCC 00258F2C F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 8025BFD0 00258F30 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 8025BFD4 00258F34 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 8025BFD8 00258F38 DB 41 00 B0 */ stfd f26, 0xb0(r1) -/* 8025BFDC 00258F3C F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 -/* 8025BFE0 00258F40 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 8025BFE4 00258F44 7C 7D 1B 78 */ mr r29, r3 -/* 8025BFE8 00258F48 7C 9E 23 78 */ mr r30, r4 -/* 8025BFEC 00258F4C 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8025BFF0 00258F50 C0 03 00 04 */ lfs f0, 4(r3) -/* 8025BFF4 00258F54 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8025BFF8 00258F58 C0 03 00 08 */ lfs f0, 8(r3) -/* 8025BFFC 00258F5C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8025C000 00258F60 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025C004 00258F64 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8025C008 00258F68 80 1D 05 D4 */ lwz r0, 0x5d4(r29) -/* 8025C00C 00258F6C 2C 00 00 00 */ cmpwi r0, 0 -/* 8025C010 00258F70 40 82 00 7C */ bne lbl_8025C08C -/* 8025C014 00258F74 3C 60 80 3F */ lis r3, lbl_803E9688@ha -/* 8025C018 00258F78 3B 9D 05 D8 */ addi r28, r29, 0x5d8 -/* 8025C01C 00258F7C 3B E3 96 88 */ addi r31, r3, lbl_803E9688@l -/* 8025C020 00258F80 3B 40 00 00 */ li r26, 0 -lbl_8025C024: -/* 8025C024 00258F84 80 9F 00 00 */ lwz r4, 0(r31) -/* 8025C028 00258F88 38 61 00 40 */ addi r3, r1, 0x40 -/* 8025C02C 00258F8C 4B DA 8C 8D */ bl string_l__4rstlFPCc -/* 8025C030 00258F90 7F A4 EB 78 */ mr r4, r29 -/* 8025C034 00258F94 38 61 00 5C */ addi r3, r1, 0x5c -/* 8025C038 00258F98 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8025C03C 00258F9C 4B DF 6E 95 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025C040 00258FA0 80 1D 05 D4 */ lwz r0, 0x5d4(r29) -/* 8025C044 00258FA4 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8025C048 00258FA8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8025C04C 00258FAC C0 21 00 70 */ lfs f1, 0x70(r1) -/* 8025C050 00258FB0 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8025C054 00258FB4 7C 7C 02 15 */ add. r3, r28, r0 -/* 8025C058 00258FB8 41 82 00 10 */ beq lbl_8025C068 -/* 8025C05C 00258FBC D0 03 00 00 */ stfs f0, 0(r3) -/* 8025C060 00258FC0 D0 23 00 04 */ stfs f1, 4(r3) -/* 8025C064 00258FC4 D0 43 00 08 */ stfs f2, 8(r3) -lbl_8025C068: -/* 8025C068 00258FC8 80 9D 05 D4 */ lwz r4, 0x5d4(r29) -/* 8025C06C 00258FCC 38 61 00 40 */ addi r3, r1, 0x40 -/* 8025C070 00258FD0 38 04 00 01 */ addi r0, r4, 1 -/* 8025C074 00258FD4 90 1D 05 D4 */ stw r0, 0x5d4(r29) -/* 8025C078 00258FD8 48 0E 1A 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025C07C 00258FDC 3B 5A 00 01 */ addi r26, r26, 1 -/* 8025C080 00258FE0 3B FF 00 04 */ addi r31, r31, 4 -/* 8025C084 00258FE4 2C 1A 00 0E */ cmpwi r26, 0xe -/* 8025C088 00258FE8 41 80 FF 9C */ blt lbl_8025C024 -lbl_8025C08C: -/* 8025C08C 00258FEC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8025C090 00258FF0 48 0B 86 69 */ bl CanBeNormalized__9CVector3fCFv -/* 8025C094 00258FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C098 00258FF8 41 82 00 FC */ beq lbl_8025C194 -/* 8025C09C 00258FFC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8025C0A0 00259000 38 81 00 50 */ addi r4, r1, 0x50 -/* 8025C0A4 00259004 48 0B 87 AD */ bl AsNormalized__9CVector3fCFv -/* 8025C0A8 00259008 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8025C0AC 0025900C 3C 60 80 3F */ lis r3, lbl_803E9650@ha -/* 8025C0B0 00259010 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8025C0B4 00259014 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l -/* 8025C0B8 00259018 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8025C0BC 0025901C FF E0 10 50 */ fneg f31, f2 -/* 8025C0C0 00259020 FF C0 08 50 */ fneg f30, f1 -/* 8025C0C4 00259024 3B 9D 05 D8 */ addi r28, r29, 0x5d8 -/* 8025C0C8 00259028 FF A0 00 50 */ fneg f29, f0 -/* 8025C0CC 0025902C 3B E0 00 00 */ li r31, 0 -lbl_8025C0D0: -/* 8025C0D0 00259030 7F 85 E3 78 */ mr r5, r28 -/* 8025C0D4 00259034 38 61 00 28 */ addi r3, r1, 0x28 -/* 8025C0D8 00259038 38 9D 00 34 */ addi r4, r29, 0x34 -/* 8025C0DC 0025903C 48 0B 69 A5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8025C0E0 00259040 C3 81 00 28 */ lfs f28, 0x28(r1) -/* 8025C0E4 00259044 C3 61 00 2C */ lfs f27, 0x2c(r1) -/* 8025C0E8 00259048 C3 41 00 30 */ lfs f26, 0x30(r1) -/* 8025C0EC 0025904C C0 22 B9 E8 */ lfs f1, lbl_805AD708@sda21(r2) -/* 8025C0F0 00259050 48 0B 8C 55 */ bl FastCosR__5CMathFf -/* 8025C0F4 00259054 EC 1E 06 F2 */ fmuls f0, f30, f27 -/* 8025C0F8 00259058 EC 1F 07 3A */ fmadds f0, f31, f28, f0 -/* 8025C0FC 0025905C EC 1D 06 BA */ fmadds f0, f29, f26, f0 -/* 8025C100 00259060 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025C104 00259064 7C 80 00 26 */ mfcr r4 -/* 8025C108 00259068 38 00 00 01 */ li r0, 1 -/* 8025C10C 0025906C 80 7D 05 D0 */ lwz r3, 0x5d0(r29) -/* 8025C110 00259070 7C 1A F8 30 */ slw r26, r0, r31 -/* 8025C114 00259074 54 99 17 FE */ rlwinm r25, r4, 2, 0x1f, 0x1f -/* 8025C118 00259078 7C 63 D0 38 */ and r3, r3, r26 -/* 8025C11C 0025907C 7C 03 00 D0 */ neg r0, r3 -/* 8025C120 00259080 7C 00 1B 78 */ or r0, r0, r3 -/* 8025C124 00259084 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8025C128 00259088 7C 00 C8 40 */ cmplw r0, r25 -/* 8025C12C 0025908C 41 82 00 30 */ beq lbl_8025C15C -/* 8025C130 00259090 80 9B 00 00 */ lwz r4, 0(r27) -/* 8025C134 00259094 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025C138 00259098 4B DA 8B 81 */ bl string_l__4rstlFPCc -/* 8025C13C 0025909C 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8025C140 002590A0 7F 25 CB 78 */ mr r5, r25 -/* 8025C144 002590A4 7F C6 F3 78 */ mr r6, r30 -/* 8025C148 002590A8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8025C14C 002590AC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8025C150 002590B0 4B DC EC 71 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 8025C154 002590B4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025C158 002590B8 48 0E 19 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8025C15C: -/* 8025C15C 002590BC 28 19 00 00 */ cmplwi r25, 0 -/* 8025C160 002590C0 41 82 00 10 */ beq lbl_8025C170 -/* 8025C164 002590C4 80 1D 05 D0 */ lwz r0, 0x5d0(r29) -/* 8025C168 002590C8 7C 00 D3 78 */ or r0, r0, r26 -/* 8025C16C 002590CC 48 00 00 0C */ b lbl_8025C178 -lbl_8025C170: -/* 8025C170 002590D0 80 7D 05 D0 */ lwz r3, 0x5d0(r29) -/* 8025C174 002590D4 7C 60 D0 78 */ andc r0, r3, r26 -lbl_8025C178: -/* 8025C178 002590D8 3B FF 00 01 */ addi r31, r31, 1 -/* 8025C17C 002590DC 90 1D 05 D0 */ stw r0, 0x5d0(r29) -/* 8025C180 002590E0 2C 1F 00 0E */ cmpwi r31, 0xe -/* 8025C184 002590E4 3B 9C 00 0C */ addi r28, r28, 0xc -/* 8025C188 002590E8 3B 7B 00 04 */ addi r27, r27, 4 -/* 8025C18C 002590EC 41 80 FF 44 */ blt lbl_8025C0D0 -/* 8025C190 002590F0 48 00 00 68 */ b lbl_8025C1F8 -lbl_8025C194: -/* 8025C194 002590F4 3C 60 80 3F */ lis r3, lbl_803E9650@ha -/* 8025C198 002590F8 3B 20 00 00 */ li r25, 0 -/* 8025C19C 002590FC 3B 63 96 50 */ addi r27, r3, lbl_803E9650@l -/* 8025C1A0 00259100 3B E0 00 01 */ li r31, 1 -lbl_8025C1A4: -/* 8025C1A4 00259104 80 7D 05 D0 */ lwz r3, 0x5d0(r29) -/* 8025C1A8 00259108 7F E0 C8 30 */ slw r0, r31, r25 -/* 8025C1AC 0025910C 7C 60 00 39 */ and. r0, r3, r0 -/* 8025C1B0 00259110 41 82 00 30 */ beq lbl_8025C1E0 -/* 8025C1B4 00259114 80 9B 00 00 */ lwz r4, 0(r27) -/* 8025C1B8 00259118 38 61 00 08 */ addi r3, r1, 8 -/* 8025C1BC 0025911C 4B DA 8A FD */ bl string_l__4rstlFPCc -/* 8025C1C0 00259120 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8025C1C4 00259124 7F C6 F3 78 */ mr r6, r30 -/* 8025C1C8 00259128 38 81 00 08 */ addi r4, r1, 8 -/* 8025C1CC 0025912C 38 A0 00 00 */ li r5, 0 -/* 8025C1D0 00259130 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8025C1D4 00259134 4B DC EB ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 8025C1D8 00259138 38 61 00 08 */ addi r3, r1, 8 -/* 8025C1DC 0025913C 48 0E 19 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8025C1E0: -/* 8025C1E0 00259140 3B 39 00 01 */ addi r25, r25, 1 -/* 8025C1E4 00259144 3B 7B 00 04 */ addi r27, r27, 4 -/* 8025C1E8 00259148 2C 19 00 0E */ cmpwi r25, 0xe -/* 8025C1EC 0025914C 41 80 FF B8 */ blt lbl_8025C1A4 -/* 8025C1F0 00259150 38 00 00 00 */ li r0, 0 -/* 8025C1F4 00259154 90 1D 05 D0 */ stw r0, 0x5d0(r29) -lbl_8025C1F8: -/* 8025C1F8 00259158 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 8025C1FC 0025915C CB E1 01 00 */ lfd f31, 0x100(r1) -/* 8025C200 00259160 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 8025C204 00259164 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 8025C208 00259168 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 8025C20C 0025916C CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 8025C210 00259170 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 8025C214 00259174 CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 8025C218 00259178 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 8025C21C 0025917C CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 8025C220 00259180 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 -/* 8025C224 00259184 CB 41 00 B0 */ lfd f26, 0xb0(r1) -/* 8025C228 00259188 BB 21 00 94 */ lmw r25, 0x94(r1) -/* 8025C22C 0025918C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8025C230 00259190 7C 08 03 A6 */ mtlr r0 -/* 8025C234 00259194 38 21 01 10 */ addi r1, r1, 0x110 -/* 8025C238 00259198 4E 80 00 20 */ blr - -.global Think__7CPufferFfR13CStateManager -Think__7CPufferFfR13CStateManager: -/* 8025C23C 0025919C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8025C240 002591A0 7C 08 02 A6 */ mflr r0 -/* 8025C244 002591A4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8025C248 002591A8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8025C24C 002591AC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8025C250 002591B0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8025C254 002591B4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8025C258 002591B8 FF E0 08 90 */ fmr f31, f1 -/* 8025C25C 002591BC 7C 7E 1B 78 */ mr r30, r3 -/* 8025C260 002591C0 7C 9F 23 78 */ mr r31, r4 -/* 8025C264 002591C4 4B E1 D8 B5 */ bl Think__10CPatternedFfR13CStateManager -/* 8025C268 002591C8 7F C3 F3 78 */ mr r3, r30 -/* 8025C26C 002591CC 7F E4 FB 78 */ mr r4, r31 -/* 8025C270 002591D0 4B FF FD 35 */ bl sub_8025bfa4 -/* 8025C274 002591D4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025C278 002591D8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8025C27C 002591DC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8025C280 002591E0 C0 03 00 08 */ lfs f0, 8(r3) -/* 8025C284 002591E4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8025C288 002591E8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025C28C 002591EC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8025C290 002591F0 A0 1E 05 CC */ lhz r0, 0x5cc(r30) -/* 8025C294 002591F4 A0 7E 02 DC */ lhz r3, 0x2dc(r30) -/* 8025C298 002591F8 7C 00 18 40 */ cmplw r0, r3 -/* 8025C29C 002591FC 41 82 00 48 */ beq lbl_8025C2E4 -/* 8025C2A0 00259200 B0 7E 05 CC */ sth r3, 0x5cc(r30) -/* 8025C2A4 00259204 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025C2A8 00259208 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8025C2AC 0025920C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8025C2B0 00259210 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8025C2B4 00259214 38 61 00 08 */ addi r3, r1, 8 -/* 8025C2B8 00259218 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8025C2BC 0025921C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8025C2C0 00259220 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8025C2C4 00259224 38 E0 00 01 */ li r7, 1 -/* 8025C2C8 00259228 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8025C2CC 0025922C 39 00 00 00 */ li r8, 0 -/* 8025C2D0 00259230 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8025C2D4 00259234 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8025C2D8 00259238 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8025C2DC 0025923C A0 9E 05 9A */ lhz r4, 0x59a(r30) -/* 8025C2E0 00259240 48 08 DF D1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_8025C2E4: -/* 8025C2E4 00259244 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025C2E8 00259248 38 63 00 04 */ addi r3, r3, 4 -/* 8025C2EC 0025924C 4B ED 51 BD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv -/* 8025C2F0 00259250 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025C2F4 00259254 48 0B 84 05 */ bl CanBeNormalized__9CVector3fCFv -/* 8025C2F8 00259258 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C2FC 0025925C 41 82 00 BC */ beq lbl_8025C3B8 -/* 8025C300 00259260 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2) -/* 8025C304 00259264 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025C308 00259268 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2) -/* 8025C30C 0025926C 38 81 00 0C */ addi r4, r1, 0xc -/* 8025C310 00259270 EC FF 00 24 */ fdivs f7, f31, f0 -/* 8025C314 00259274 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 8025C318 00259278 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8025C31C 0025927C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8025C320 00259280 C0 BE 05 C4 */ lfs f5, 0x5c4(r30) -/* 8025C324 00259284 C0 7E 05 C8 */ lfs f3, 0x5c8(r30) -/* 8025C328 00259288 EC C1 38 28 */ fsubs f6, f1, f7 -/* 8025C32C 0025928C C0 3E 05 C0 */ lfs f1, 0x5c0(r30) -/* 8025C330 00259290 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8025C334 00259294 EC 42 01 F2 */ fmuls f2, f2, f7 -/* 8025C338 00259298 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 8025C33C 0025929C EC 85 21 BA */ fmadds f4, f5, f6, f4 -/* 8025C340 002592A0 EC 43 11 BA */ fmadds f2, f3, f6, f2 -/* 8025C344 002592A4 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 8025C348 002592A8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8025C34C 002592AC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8025C350 002592B0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8025C354 002592B4 48 0B 84 FD */ bl AsNormalized__9CVector3fCFv -/* 8025C358 002592B8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8025C35C 002592BC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8025C360 002592C0 C0 02 B9 EC */ lfs f0, lbl_805AD70C@sda21(r2) -/* 8025C364 002592C4 D0 3E 05 C0 */ stfs f1, 0x5c0(r30) -/* 8025C368 002592C8 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8025C36C 002592CC D0 3E 05 C4 */ stfs f1, 0x5c4(r30) -/* 8025C370 002592D0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8025C374 002592D4 D0 3E 05 C8 */ stfs f1, 0x5c8(r30) -/* 8025C378 002592D8 C0 3E 05 C0 */ lfs f1, 0x5c0(r30) -/* 8025C37C 002592DC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8025C380 002592E0 C0 3E 05 C4 */ lfs f1, 0x5c4(r30) -/* 8025C384 002592E4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8025C388 002592E8 C0 3E 05 C8 */ lfs f1, 0x5c8(r30) -/* 8025C38C 002592EC D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8025C390 002592F0 C0 3E 05 68 */ lfs f1, 0x568(r30) -/* 8025C394 002592F4 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8025C398 002592F8 C0 3E 05 6C */ lfs f1, 0x56c(r30) -/* 8025C39C 002592FC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8025C3A0 00259300 C0 3E 05 70 */ lfs f1, 0x570(r30) -/* 8025C3A4 00259304 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8025C3A8 00259308 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8025C3AC 0025930C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025C3B0 00259310 38 63 00 04 */ addi r3, r3, 4 -/* 8025C3B4 00259314 4B ED 53 65 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8025C3B8: -/* 8025C3B8 00259318 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8025C3BC 0025931C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8025C3C0 00259320 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8025C3C4 00259324 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8025C3C8 00259328 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8025C3CC 0025932C 7C 08 03 A6 */ mtlr r0 -/* 8025C3D0 00259330 38 21 00 70 */ addi r1, r1, 0x70 -/* 8025C3D4 00259334 4E 80 00 20 */ blr - -.global Death__7CPufferFRC9CVector3fR13CStateManager -Death__7CPufferFRC9CVector3fR13CStateManager: -/* 8025C3D8 00259338 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8025C3DC 0025933C 7C 08 02 A6 */ mflr r0 -/* 8025C3E0 00259340 90 01 01 64 */ stw r0, 0x164(r1) -/* 8025C3E4 00259344 BF 61 01 4C */ stmw r27, 0x14c(r1) -/* 8025C3E8 00259348 7C 7E 1B 78 */ mr r30, r3 -/* 8025C3EC 0025934C 7C 9F 23 78 */ mr r31, r4 -/* 8025C3F0 00259350 4B E1 EF B5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 8025C3F4 00259354 80 AD 97 C0 */ lwz r5, lbl_805A8380@sda21(r13) -/* 8025C3F8 00259358 38 60 00 00 */ li r3, 0 -/* 8025C3FC 0025935C 38 80 00 01 */ li r4, 1 -/* 8025C400 00259360 48 12 DA F5 */ bl __shl2i -/* 8025C404 00259364 39 20 00 00 */ li r9, 0 -/* 8025C408 00259368 38 00 00 03 */ li r0, 3 -/* 8025C40C 0025936C 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8025C410 00259370 7F C5 F3 78 */ mr r5, r30 -/* 8025C414 00259374 38 81 00 3C */ addi r4, r1, 0x3c -/* 8025C418 00259378 38 C1 00 70 */ addi r6, r1, 0x70 -/* 8025C41C 0025937C 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8025C420 00259380 7F E3 FB 78 */ mr r3, r31 -/* 8025C424 00259384 38 FE 05 9C */ addi r7, r30, 0x59c -/* 8025C428 00259388 39 01 00 B0 */ addi r8, r1, 0xb0 -/* 8025C42C 0025938C 91 21 00 BC */ stw r9, 0xbc(r1) -/* 8025C430 00259390 91 21 00 B8 */ stw r9, 0xb8(r1) -/* 8025C434 00259394 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8025C438 00259398 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8025C43C 0025939C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8025C440 002593A0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8025C444 002593A4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8025C448 002593A8 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 8025C44C 002593AC D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8025C450 002593B0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8025C454 002593B4 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8025C458 002593B8 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8025C45C 002593BC 4B DE C8 51 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -/* 8025C460 002593C0 7F E4 FB 78 */ mr r4, r31 -/* 8025C464 002593C4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8025C468 002593C8 4B DF 0C 75 */ bl AllocateUniqueId__13CStateManagerFv -/* 8025C46C 002593CC A0 01 00 34 */ lhz r0, 0x34(r1) -/* 8025C470 002593D0 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8025C474 002593D4 C0 3E 05 8C */ lfs f1, 0x58c(r30) -/* 8025C478 002593D8 C0 42 B9 EC */ lfs f2, lbl_805AD70C@sda21(r2) -/* 8025C47C 002593DC C0 02 B9 F4 */ lfs f0, lbl_805AD714@sda21(r2) -/* 8025C480 002593E0 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8025C484 002593E4 B0 01 00 40 */ sth r0, 0x40(r1) -/* 8025C488 002593E8 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8025C48C 002593EC D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8025C490 002593F0 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8025C494 002593F4 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8025C498 002593F8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8025C49C 002593FC 48 0B 6D A5 */ bl Scale__12CTransform4fFf -/* 8025C4A0 00259400 38 61 01 10 */ addi r3, r1, 0x110 -/* 8025C4A4 00259404 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8025C4A8 00259408 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8025C4AC 0025940C 48 0B 64 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8025C4B0 00259410 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025C4B4 00259414 38 81 00 64 */ addi r4, r1, 0x64 -/* 8025C4B8 00259418 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8025C4BC 0025941C 48 0D C0 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8025C4C0 00259420 7C 64 1B 78 */ mr r4, r3 -/* 8025C4C4 00259424 38 61 00 94 */ addi r3, r1, 0x94 -/* 8025C4C8 00259428 38 A1 01 10 */ addi r5, r1, 0x110 -/* 8025C4CC 0025942C 48 0D B4 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8025C4D0 00259430 C0 A1 00 94 */ lfs f5, 0x94(r1) -/* 8025C4D4 00259434 3C 60 80 3D */ lis r3, lbl_803D5100@ha -/* 8025C4D8 00259438 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 8025C4DC 0025943C 38 63 51 00 */ addi r3, r3, lbl_803D5100@l -/* 8025C4E0 00259440 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 8025C4E4 00259444 38 83 01 26 */ addi r4, r3, 0x126 -/* 8025C4E8 00259448 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 8025C4EC 0025944C 38 60 01 60 */ li r3, 0x160 -/* 8025C4F0 00259450 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 8025C4F4 00259454 38 A0 00 00 */ li r5, 0 -/* 8025C4F8 00259458 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8025C4FC 0025945C D0 A1 00 C8 */ stfs f5, 0xc8(r1) -/* 8025C500 00259460 D0 81 00 CC */ stfs f4, 0xcc(r1) -/* 8025C504 00259464 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 8025C508 00259468 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8025C50C 0025946C D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 8025C510 00259470 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 8025C514 00259474 48 0B 93 59 */ bl __nw__FUlPCcPCc -/* 8025C518 00259478 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025C51C 0025947C 41 82 00 A8 */ beq lbl_8025C5C4 -/* 8025C520 00259480 C0 22 B9 EC */ lfs f1, lbl_805AD70C@sda21(r2) -/* 8025C524 00259484 39 81 00 C8 */ addi r12, r1, 0xc8 -/* 8025C528 00259488 A3 A1 00 40 */ lhz r29, 0x40(r1) -/* 8025C52C 0025948C 39 61 00 4C */ addi r11, r1, 0x4c -/* 8025C530 00259490 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8025C534 00259494 38 00 00 01 */ li r0, 1 -/* 8025C538 00259498 FC 60 08 90 */ fmr f3, f1 -/* 8025C53C 0025949C 38 9E 05 74 */ addi r4, r30, 0x574 -/* 8025C540 002594A0 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8025C544 002594A4 FC 80 08 90 */ fmr f4, f1 -/* 8025C548 002594A8 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8025C54C 002594AC 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8025C550 002594B0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8025C554 002594B4 39 01 00 30 */ addi r8, r1, 0x30 -/* 8025C558 002594B8 39 3E 00 34 */ addi r9, r30, 0x34 -/* 8025C55C 002594BC 39 5E 05 7C */ addi r10, r30, 0x57c -/* 8025C560 002594C0 A3 7E 00 08 */ lhz r27, 8(r30) -/* 8025C564 002594C4 38 E0 00 01 */ li r7, 1 -/* 8025C568 002594C8 B3 61 00 30 */ sth r27, 0x30(r1) -/* 8025C56C 002594CC 83 9E 00 04 */ lwz r28, 4(r30) -/* 8025C570 002594D0 B3 61 00 2C */ sth r27, 0x2c(r1) -/* 8025C574 002594D4 93 81 00 48 */ stw r28, 0x48(r1) -/* 8025C578 002594D8 B3 A1 00 28 */ sth r29, 0x28(r1) -/* 8025C57C 002594DC 91 81 00 08 */ stw r12, 8(r1) -/* 8025C580 002594E0 91 61 00 0C */ stw r11, 0xc(r1) -/* 8025C584 002594E4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8025C588 002594E8 80 1E 05 BC */ lwz r0, 0x5bc(r30) -/* 8025C58C 002594EC 93 81 00 44 */ stw r28, 0x44(r1) -/* 8025C590 002594F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C594 002594F4 88 1E 05 98 */ lbz r0, 0x598(r30) -/* 8025C598 002594F8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8025C59C 002594FC 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025C5A0 00259500 88 1E 05 98 */ lbz r0, 0x598(r30) -/* 8025C5A4 00259504 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 8025C5A8 00259508 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8025C5AC 0025950C 88 1E 05 98 */ lbz r0, 0x598(r30) -/* 8025C5B0 00259510 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8025C5B4 00259514 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025C5B8 00259518 C0 5E 05 B8 */ lfs f2, 0x5b8(r30) -/* 8025C5BC 0025951C 48 00 0C 21 */ bl __ct__5CFire -/* 8025C5C0 00259520 7C 64 1B 78 */ mr r4, r3 -lbl_8025C5C4: -/* 8025C5C4 00259524 7F E3 FB 78 */ mr r3, r31 -/* 8025C5C8 00259528 4B DF 07 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8025C5CC 0025952C BB 61 01 4C */ lmw r27, 0x14c(r1) -/* 8025C5D0 00259530 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8025C5D4 00259534 7C 08 03 A6 */ mtlr r0 -/* 8025C5D8 00259538 38 21 01 60 */ addi r1, r1, 0x160 -/* 8025C5DC 0025953C 4E 80 00 20 */ blr - -.global GetTouchBounds__7CPufferCFv -GetTouchBounds__7CPufferCFv: -/* 8025C5E0 00259540 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8025C5E4 00259544 7C 08 02 A6 */ mflr r0 -/* 8025C5E8 00259548 90 01 00 84 */ stw r0, 0x84(r1) -/* 8025C5EC 0025954C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8025C5F0 00259550 7C 7F 1B 78 */ mr r31, r3 -/* 8025C5F4 00259554 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025C5F8 00259558 4B E1 B1 79 */ bl GetTouchBounds__10CPatternedCFv -/* 8025C5FC 0025955C 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8025C600 00259560 28 00 00 00 */ cmplwi r0, 0 -/* 8025C604 00259564 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8025C608 00259568 41 82 00 3C */ beq lbl_8025C644 -/* 8025C60C 0025956C 34 61 00 54 */ addic. r3, r1, 0x54 -/* 8025C610 00259570 41 82 00 34 */ beq lbl_8025C644 -/* 8025C614 00259574 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8025C618 00259578 D0 03 00 00 */ stfs f0, 0(r3) -/* 8025C61C 0025957C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8025C620 00259580 D0 03 00 04 */ stfs f0, 4(r3) -/* 8025C624 00259584 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8025C628 00259588 D0 03 00 08 */ stfs f0, 8(r3) -/* 8025C62C 0025958C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8025C630 00259590 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8025C634 00259594 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8025C638 00259598 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8025C63C 0025959C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8025C640 002595A0 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8025C644: -/* 8025C644 002595A4 88 61 00 6C */ lbz r3, 0x6c(r1) -/* 8025C648 002595A8 38 00 00 00 */ li r0, 0 -/* 8025C64C 002595AC 98 01 00 38 */ stb r0, 0x38(r1) -/* 8025C650 002595B0 28 03 00 00 */ cmplwi r3, 0 -/* 8025C654 002595B4 41 82 00 DC */ beq lbl_8025C730 -/* 8025C658 002595B8 C0 C1 00 54 */ lfs f6, 0x54(r1) -/* 8025C65C 002595BC 38 61 00 3C */ addi r3, r1, 0x3c -/* 8025C660 002595C0 C0 A1 00 58 */ lfs f5, 0x58(r1) -/* 8025C664 002595C4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025C668 002595C8 C0 02 B9 F0 */ lfs f0, lbl_805AD710@sda21(r2) -/* 8025C66C 002595CC C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 8025C670 002595D0 ED 05 00 28 */ fsubs f8, f5, f0 -/* 8025C674 002595D4 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8025C678 002595D8 EC E4 00 28 */ fsubs f7, f4, f0 -/* 8025C67C 002595DC C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8025C680 002595E0 EC 06 00 28 */ fsubs f0, f6, f0 -/* 8025C684 002595E4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8025C688 002595E8 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 8025C68C 002595EC D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8025C690 002595F0 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 8025C694 002595F4 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8025C698 002595F8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8025C69C 002595FC D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8025C6A0 00259600 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025C6A4 00259604 D1 01 00 18 */ stfs f8, 0x18(r1) -/* 8025C6A8 00259608 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 8025C6AC 0025960C 48 0D B4 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8025C6B0 00259610 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 8025C6B4 00259614 38 61 00 3C */ addi r3, r1, 0x3c -/* 8025C6B8 00259618 C0 42 B9 F0 */ lfs f2, lbl_805AD710@sda21(r2) -/* 8025C6BC 0025961C 38 81 00 08 */ addi r4, r1, 8 -/* 8025C6C0 00259620 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8025C6C4 00259624 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8025C6C8 00259628 EC 63 10 2A */ fadds f3, f3, f2 -/* 8025C6CC 0025962C EC 21 10 2A */ fadds f1, f1, f2 -/* 8025C6D0 00259630 EC 00 10 2A */ fadds f0, f0, f2 -/* 8025C6D4 00259634 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8025C6D8 00259638 D0 01 00 08 */ stfs f0, 8(r1) -/* 8025C6DC 0025963C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8025C6E0 00259640 48 0D B4 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8025C6E4 00259644 38 00 00 01 */ li r0, 1 -/* 8025C6E8 00259648 28 1F 00 00 */ cmplwi r31, 0 -/* 8025C6EC 0025964C 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8025C6F0 00259650 41 82 00 34 */ beq lbl_8025C724 -/* 8025C6F4 00259654 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8025C6F8 00259658 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8025C6FC 0025965C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8025C700 00259660 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8025C704 00259664 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8025C708 00259668 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8025C70C 0025966C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8025C710 00259670 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8025C714 00259674 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8025C718 00259678 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8025C71C 0025967C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8025C720 00259680 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_8025C724: -/* 8025C724 00259684 38 00 00 00 */ li r0, 0 -/* 8025C728 00259688 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8025C72C 0025968C 48 00 00 4C */ b lbl_8025C778 -lbl_8025C730: -/* 8025C730 00259690 98 7F 00 18 */ stb r3, 0x18(r31) -/* 8025C734 00259694 41 82 00 3C */ beq lbl_8025C770 -/* 8025C738 00259698 28 1F 00 00 */ cmplwi r31, 0 -/* 8025C73C 0025969C 41 82 00 34 */ beq lbl_8025C770 -/* 8025C740 002596A0 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8025C744 002596A4 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8025C748 002596A8 D0 3F 00 00 */ stfs f1, 0(r31) -/* 8025C74C 002596AC C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8025C750 002596B0 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8025C754 002596B4 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8025C758 002596B8 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8025C75C 002596BC C0 21 00 64 */ lfs f1, 0x64(r1) -/* 8025C760 002596C0 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8025C764 002596C4 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8025C768 002596C8 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 8025C76C 002596CC D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_8025C770: -/* 8025C770 002596D0 38 00 00 00 */ li r0, 0 -/* 8025C774 002596D4 98 01 00 6C */ stb r0, 0x6c(r1) -lbl_8025C778: -/* 8025C778 002596D8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8025C77C 002596DC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8025C780 002596E0 7C 08 03 A6 */ mtlr r0 -/* 8025C784 002596E4 38 21 00 80 */ addi r1, r1, 0x80 -/* 8025C788 002596E8 4E 80 00 20 */ blr - -.global Touch__7CPufferR6CActorR13CStateManager -Touch__7CPufferR6CActorR13CStateManager: -/* 8025C78C 002596EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025C790 002596F0 7C 08 02 A6 */ mflr r0 -/* 8025C794 002596F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025C798 002596F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025C79C 002596FC 7C BF 2B 78 */ mr r31, r5 -/* 8025C7A0 00259700 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025C7A4 00259704 7C 9E 23 78 */ mr r30, r4 -/* 8025C7A8 00259708 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025C7AC 0025970C 7C 7D 1B 78 */ mr r29, r3 -/* 8025C7B0 00259710 4B E1 D2 F1 */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 8025C7B4 00259714 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 8025C7B8 00259718 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8025C7BC 0025971C 41 82 00 28 */ beq lbl_8025C7E4 -/* 8025C7C0 00259720 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025C7C4 00259724 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8025C7C8 00259728 A0 63 00 08 */ lhz r3, 8(r3) -/* 8025C7CC 0025972C 7C 03 00 40 */ cmplw r3, r0 -/* 8025C7D0 00259730 40 82 00 14 */ bne lbl_8025C7E4 -/* 8025C7D4 00259734 88 1D 04 01 */ lbz r0, 0x401(r29) -/* 8025C7D8 00259738 38 60 00 01 */ li r3, 1 -/* 8025C7DC 0025973C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8025C7E0 00259740 98 1D 04 01 */ stb r0, 0x401(r29) -lbl_8025C7E4: -/* 8025C7E4 00259744 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025C7E8 00259748 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025C7EC 0025974C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025C7F0 00259750 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025C7F4 00259754 7C 08 03 A6 */ mtlr r0 -/* 8025C7F8 00259758 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025C7FC 0025975C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__7CPufferF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8025C800 00259760 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025C804 00259764 7C 08 02 A6 */ mflr r0 -/* 8025C808 00259768 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025C80C 0025976C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025C810 00259770 7C 9F 23 78 */ mr r31, r4 -/* 8025C814 00259774 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8025C818 00259778 7C DE 33 78 */ mr r30, r6 -/* 8025C81C 0025977C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8025C820 00259780 7C 7D 1B 78 */ mr r29, r3 -/* 8025C824 00259784 A0 05 00 00 */ lhz r0, 0(r5) -/* 8025C828 00259788 38 A1 00 08 */ addi r5, r1, 8 -/* 8025C82C 0025978C B0 01 00 08 */ sth r0, 8(r1) -/* 8025C830 00259790 4B E2 03 49 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8025C834 00259794 2C 1F 00 21 */ cmpwi r31, 0x21 -/* 8025C838 00259798 41 82 00 14 */ beq lbl_8025C84C -/* 8025C83C 0025979C 40 80 00 88 */ bge lbl_8025C8C4 -/* 8025C840 002597A0 2C 1F 00 13 */ cmpwi r31, 0x13 -/* 8025C844 002597A4 41 82 00 64 */ beq lbl_8025C8A8 -/* 8025C848 002597A8 48 00 00 7C */ b lbl_8025C8C4 -lbl_8025C84C: -/* 8025C84C 002597AC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8025C850 002597B0 7F C4 F3 78 */ mr r4, r30 -/* 8025C854 002597B4 4B ED E4 9D */ bl Activate__15CBodyControllerFR13CStateManager -/* 8025C858 002597B8 80 AD 97 C8 */ lwz r5, lbl_805A8388@sda21(r13) -/* 8025C85C 002597BC 38 60 00 00 */ li r3, 0 -/* 8025C860 002597C0 38 80 00 01 */ li r4, 1 -/* 8025C864 002597C4 48 12 D6 91 */ bl __shl2i -/* 8025C868 002597C8 80 AD 97 C4 */ lwz r5, lbl_805A8384@sda21(r13) -/* 8025C86C 002597CC 7C 9E 23 78 */ mr r30, r4 -/* 8025C870 002597D0 7C 7F 1B 78 */ mr r31, r3 -/* 8025C874 002597D4 38 60 00 00 */ li r3, 0 -/* 8025C878 002597D8 38 80 00 01 */ li r4, 1 -/* 8025C87C 002597DC 48 12 D6 79 */ bl __shl2i -/* 8025C880 002597E0 38 00 00 03 */ li r0, 3 -/* 8025C884 002597E4 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025C888 002597E8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8025C88C 002597EC 90 61 00 10 */ stw r3, 0x10(r1) -/* 8025C890 002597F0 7F A3 EB 78 */ mr r3, r29 -/* 8025C894 002597F4 93 C1 00 1C */ stw r30, 0x1c(r1) -/* 8025C898 002597F8 93 E1 00 18 */ stw r31, 0x18(r1) -/* 8025C89C 002597FC 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025C8A0 00259800 4B DF 70 01 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8025C8A4 00259804 48 00 00 20 */ b lbl_8025C8C4 -lbl_8025C8A8: -/* 8025C8A8 00259808 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8025C8AC 0025980C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025C8B0 00259810 41 82 00 14 */ beq lbl_8025C8C4 -/* 8025C8B4 00259814 88 1D 04 01 */ lbz r0, 0x401(r29) -/* 8025C8B8 00259818 38 60 00 01 */ li r3, 1 -/* 8025C8BC 0025981C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8025C8C0 00259820 98 1D 04 01 */ stb r0, 0x401(r29) -lbl_8025C8C4: -/* 8025C8C4 00259824 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8025C8C8 00259828 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025C8CC 0025982C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8025C8D0 00259830 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8025C8D4 00259834 7C 08 03 A6 */ mtlr r0 -/* 8025C8D8 00259838 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025C8DC 0025983C 4E 80 00 20 */ blr - -.global Accept__7CPufferFR8IVisitor -Accept__7CPufferFR8IVisitor: -/* 8025C8E0 00259840 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C8E4 00259844 7C 08 02 A6 */ mflr r0 -/* 8025C8E8 00259848 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C8EC 0025984C 7C 60 1B 78 */ mr r0, r3 -/* 8025C8F0 00259850 7C 83 23 78 */ mr r3, r4 -/* 8025C8F4 00259854 81 84 00 00 */ lwz r12, 0(r4) -/* 8025C8F8 00259858 7C 04 03 78 */ mr r4, r0 -/* 8025C8FC 0025985C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8025C900 00259860 7D 89 03 A6 */ mtctr r12 -/* 8025C904 00259864 4E 80 04 21 */ bctrl -/* 8025C908 00259868 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C90C 0025986C 7C 08 03 A6 */ mtlr r0 -/* 8025C910 00259870 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C914 00259874 4E 80 00 20 */ blr - -.global __dt__7CPufferFv -__dt__7CPufferFv: -/* 8025C918 00259878 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C91C 0025987C 7C 08 02 A6 */ mflr r0 -/* 8025C920 00259880 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C924 00259884 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C928 00259888 7C 9F 23 78 */ mr r31, r4 -/* 8025C92C 0025988C 93 C1 00 08 */ stw r30, 8(r1) -/* 8025C930 00259890 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025C934 00259894 41 82 00 9C */ beq lbl_8025C9D0 -/* 8025C938 00259898 3C 60 80 3F */ lis r3, lbl_803E96C0@ha -/* 8025C93C 0025989C 34 1E 05 D4 */ addic. r0, r30, 0x5d4 -/* 8025C940 002598A0 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l -/* 8025C944 002598A4 90 1E 00 00 */ stw r0, 0(r30) -/* 8025C948 002598A8 41 82 00 58 */ beq lbl_8025C9A0 -/* 8025C94C 002598AC 80 BE 05 D4 */ lwz r5, 0x5d4(r30) -/* 8025C950 002598B0 38 60 00 00 */ li r3, 0 -/* 8025C954 002598B4 2C 05 00 00 */ cmpwi r5, 0 -/* 8025C958 002598B8 40 81 00 40 */ ble lbl_8025C998 -/* 8025C95C 002598BC 2C 05 00 08 */ cmpwi r5, 8 -/* 8025C960 002598C0 38 85 FF F8 */ addi r4, r5, -8 -/* 8025C964 002598C4 40 81 00 20 */ ble lbl_8025C984 -/* 8025C968 002598C8 38 04 00 07 */ addi r0, r4, 7 -/* 8025C96C 002598CC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8025C970 002598D0 7C 09 03 A6 */ mtctr r0 -/* 8025C974 002598D4 2C 04 00 00 */ cmpwi r4, 0 -/* 8025C978 002598D8 40 81 00 0C */ ble lbl_8025C984 -lbl_8025C97C: -/* 8025C97C 002598DC 38 63 00 08 */ addi r3, r3, 8 -/* 8025C980 002598E0 42 00 FF FC */ bdnz lbl_8025C97C -lbl_8025C984: -/* 8025C984 002598E4 7C 03 28 50 */ subf r0, r3, r5 -/* 8025C988 002598E8 7C 09 03 A6 */ mtctr r0 -/* 8025C98C 002598EC 7C 03 28 00 */ cmpw r3, r5 -/* 8025C990 002598F0 40 80 00 08 */ bge lbl_8025C998 -lbl_8025C994: -/* 8025C994 002598F4 42 00 00 00 */ bdnz lbl_8025C994 -lbl_8025C998: -/* 8025C998 002598F8 38 00 00 00 */ li r0, 0 -/* 8025C99C 002598FC 90 1E 05 D4 */ stw r0, 0x5d4(r30) -lbl_8025C9A0: -/* 8025C9A0 00259900 34 1E 05 74 */ addic. r0, r30, 0x574 -/* 8025C9A4 00259904 41 82 00 10 */ beq lbl_8025C9B4 -/* 8025C9A8 00259908 38 7E 05 74 */ addi r3, r30, 0x574 -/* 8025C9AC 0025990C 38 80 00 00 */ li r4, 0 -/* 8025C9B0 00259910 48 0E 44 91 */ bl __dt__6CTokenFv -lbl_8025C9B4: -/* 8025C9B4 00259914 7F C3 F3 78 */ mr r3, r30 -/* 8025C9B8 00259918 38 80 00 00 */ li r4, 0 -/* 8025C9BC 0025991C 4B E1 AB B5 */ bl __dt__10CPatternedFv -/* 8025C9C0 00259920 7F E0 07 35 */ extsh. r0, r31 -/* 8025C9C4 00259924 40 81 00 0C */ ble lbl_8025C9D0 -/* 8025C9C8 00259928 7F C3 F3 78 */ mr r3, r30 -/* 8025C9CC 0025992C 48 0B 8F 65 */ bl Free__7CMemoryFPCv -lbl_8025C9D0: -/* 8025C9D0 00259930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C9D4 00259934 7F C3 F3 78 */ mr r3, r30 -/* 8025C9D8 00259938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C9DC 0025993C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025C9E0 00259940 7C 08 03 A6 */ mtlr r0 -/* 8025C9E4 00259944 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C9E8 00259948 4E 80 00 20 */ blr - -.global __ct__7CPuffer -__ct__7CPuffer: -/* 8025C9EC 0025994C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8025C9F0 00259950 7C 08 02 A6 */ mflr r0 -/* 8025C9F4 00259954 90 01 00 84 */ stw r0, 0x84(r1) -/* 8025C9F8 00259958 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8025C9FC 0025995C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8025CA00 00259960 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8025CA04 00259964 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8025CA08 00259968 BE C1 00 38 */ stmw r22, 0x38(r1) -/* 8025CA0C 0025996C A0 04 00 00 */ lhz r0, 0(r4) -/* 8025CA10 00259970 7C CB 33 78 */ mr r11, r6 -/* 8025CA14 00259974 7C F8 3B 78 */ mr r24, r7 -/* 8025CA18 00259978 7D 07 43 78 */ mr r7, r8 -/* 8025CA1C 0025997C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8025CA20 00259980 38 C0 00 01 */ li r6, 1 -/* 8025CA24 00259984 38 80 00 05 */ li r4, 5 -/* 8025CA28 00259988 FF C0 08 90 */ fmr f30, f1 -/* 8025CA2C 0025998C 91 41 00 08 */ stw r10, 8(r1) -/* 8025CA30 00259990 7C EA 3B 78 */ mr r10, r7 -/* 8025CA34 00259994 FF E0 10 90 */ fmr f31, f2 -/* 8025CA38 00259998 38 00 00 00 */ li r0, 0 -/* 8025CA3C 0025999C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8025CA40 002599A0 83 21 00 88 */ lwz r25, 0x88(r1) -/* 8025CA44 002599A4 7C 77 1B 78 */ mr r23, r3 -/* 8025CA48 002599A8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8025CA4C 002599AC 7C A6 2B 78 */ mr r6, r5 -/* 8025CA50 002599B0 83 41 00 8C */ lwz r26, 0x8c(r1) -/* 8025CA54 002599B4 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025CA58 002599B8 7D 68 5B 78 */ mr r8, r11 -/* 8025CA5C 002599BC 83 61 00 90 */ lwz r27, 0x90(r1) -/* 8025CA60 002599C0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8025CA64 002599C4 91 21 00 18 */ stw r9, 0x18(r1) -/* 8025CA68 002599C8 7F 09 C3 78 */ mr r9, r24 -/* 8025CA6C 002599CC 8B 81 00 97 */ lbz r28, 0x97(r1) -/* 8025CA70 002599D0 38 80 00 1D */ li r4, 0x1d -/* 8025CA74 002599D4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8025CA78 002599D8 38 E0 00 00 */ li r7, 0 -/* 8025CA7C 002599DC 8B A1 00 9B */ lbz r29, 0x9b(r1) -/* 8025CA80 002599E0 8B C1 00 9F */ lbz r30, 0x9f(r1) -/* 8025CA84 002599E4 83 E1 00 A0 */ lwz r31, 0xa0(r1) -/* 8025CA88 002599E8 A2 C1 00 A6 */ lhz r22, 0xa6(r1) -/* 8025CA8C 002599EC 4B E2 09 C5 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8025CA90 002599F0 3C 60 80 3F */ lis r3, lbl_803E96C0@ha -/* 8025CA94 002599F4 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 8025CA98 002599F8 38 03 96 C0 */ addi r0, r3, lbl_803E96C0@l -/* 8025CA9C 002599FC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8025CAA0 00259A00 90 17 00 00 */ stw r0, 0(r23) -/* 8025CAA4 00259A04 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 8025CAA8 00259A08 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8025CAAC 00259A0C C0 58 00 24 */ lfs f2, 0x24(r24) -/* 8025CAB0 00259A10 C0 38 00 14 */ lfs f1, 0x14(r24) -/* 8025CAB4 00259A14 C0 18 00 04 */ lfs f0, 4(r24) -/* 8025CAB8 00259A18 D0 17 05 68 */ stfs f0, 0x568(r23) -/* 8025CABC 00259A1C D0 37 05 6C */ stfs f1, 0x56c(r23) -/* 8025CAC0 00259A20 D0 57 05 70 */ stfs f2, 0x570(r23) -/* 8025CAC4 00259A24 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8025CAC8 00259A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8025CACC 00259A2C 93 21 00 30 */ stw r25, 0x30(r1) -/* 8025CAD0 00259A30 81 84 00 00 */ lwz r12, 0(r4) -/* 8025CAD4 00259A34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025CAD8 00259A38 7D 89 03 A6 */ mtctr r12 -/* 8025CADC 00259A3C 4E 80 04 21 */ bctrl -/* 8025CAE0 00259A40 38 77 05 74 */ addi r3, r23, 0x574 -/* 8025CAE4 00259A44 38 81 00 24 */ addi r4, r1, 0x24 -/* 8025CAE8 00259A48 48 0E 43 C1 */ bl __ct__6CTokenFRC6CToken -/* 8025CAEC 00259A4C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8025CAF0 00259A50 38 80 FF FF */ li r4, -1 -/* 8025CAF4 00259A54 48 0E 43 4D */ bl __dt__6CTokenFv -/* 8025CAF8 00259A58 80 1A 00 00 */ lwz r0, 0(r26) -/* 8025CAFC 00259A5C 7E C3 B3 78 */ mr r3, r22 -/* 8025CB00 00259A60 90 17 05 7C */ stw r0, 0x57c(r23) -/* 8025CB04 00259A64 88 1A 00 04 */ lbz r0, 4(r26) -/* 8025CB08 00259A68 98 17 05 80 */ stb r0, 0x580(r23) -/* 8025CB0C 00259A6C C0 1A 00 08 */ lfs f0, 8(r26) -/* 8025CB10 00259A70 D0 17 05 84 */ stfs f0, 0x584(r23) -/* 8025CB14 00259A74 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 8025CB18 00259A78 D0 17 05 88 */ stfs f0, 0x588(r23) -/* 8025CB1C 00259A7C C0 1A 00 10 */ lfs f0, 0x10(r26) -/* 8025CB20 00259A80 D0 17 05 8C */ stfs f0, 0x58c(r23) -/* 8025CB24 00259A84 C0 1A 00 14 */ lfs f0, 0x14(r26) -/* 8025CB28 00259A88 D0 17 05 90 */ stfs f0, 0x590(r23) -/* 8025CB2C 00259A8C 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 8025CB30 00259A90 98 17 05 94 */ stb r0, 0x594(r23) -/* 8025CB34 00259A94 88 17 05 98 */ lbz r0, 0x598(r23) -/* 8025CB38 00259A98 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 -/* 8025CB3C 00259A9C 98 17 05 98 */ stb r0, 0x598(r23) -/* 8025CB40 00259AA0 88 17 05 98 */ lbz r0, 0x598(r23) -/* 8025CB44 00259AA4 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 -/* 8025CB48 00259AA8 98 17 05 98 */ stb r0, 0x598(r23) -/* 8025CB4C 00259AAC 88 17 05 98 */ lbz r0, 0x598(r23) -/* 8025CB50 00259AB0 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a -/* 8025CB54 00259AB4 98 17 05 98 */ stb r0, 0x598(r23) -/* 8025CB58 00259AB8 48 08 BE 59 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8025CB5C 00259ABC B0 77 05 9A */ sth r3, 0x59a(r23) -/* 8025CB60 00259AC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025CB64 00259AC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8025CB68 00259AC8 38 00 00 00 */ li r0, 0 -/* 8025CB6C 00259ACC 80 DF 00 00 */ lwz r6, 0(r31) -/* 8025CB70 00259AD0 7E E3 BB 78 */ mr r3, r23 -/* 8025CB74 00259AD4 38 80 00 00 */ li r4, 0 -/* 8025CB78 00259AD8 90 D7 05 9C */ stw r6, 0x59c(r23) -/* 8025CB7C 00259ADC 88 DF 00 04 */ lbz r6, 4(r31) -/* 8025CB80 00259AE0 98 D7 05 A0 */ stb r6, 0x5a0(r23) -/* 8025CB84 00259AE4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8025CB88 00259AE8 D0 17 05 A4 */ stfs f0, 0x5a4(r23) -/* 8025CB8C 00259AEC C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8025CB90 00259AF0 D0 17 05 A8 */ stfs f0, 0x5a8(r23) -/* 8025CB94 00259AF4 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8025CB98 00259AF8 D0 17 05 AC */ stfs f0, 0x5ac(r23) -/* 8025CB9C 00259AFC C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8025CBA0 00259B00 D0 17 05 B0 */ stfs f0, 0x5b0(r23) -/* 8025CBA4 00259B04 88 DF 00 18 */ lbz r6, 0x18(r31) -/* 8025CBA8 00259B08 98 D7 05 B4 */ stb r6, 0x5b4(r23) -/* 8025CBAC 00259B0C D3 F7 05 B8 */ stfs f31, 0x5b8(r23) -/* 8025CBB0 00259B10 93 77 05 BC */ stw r27, 0x5bc(r23) -/* 8025CBB4 00259B14 C0 05 00 00 */ lfs f0, 0(r5) -/* 8025CBB8 00259B18 D0 17 05 C0 */ stfs f0, 0x5c0(r23) -/* 8025CBBC 00259B1C C0 05 00 04 */ lfs f0, 4(r5) -/* 8025CBC0 00259B20 D0 17 05 C4 */ stfs f0, 0x5c4(r23) -/* 8025CBC4 00259B24 C0 05 00 08 */ lfs f0, 8(r5) -/* 8025CBC8 00259B28 D0 17 05 C8 */ stfs f0, 0x5c8(r23) -/* 8025CBCC 00259B2C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8025CBD0 00259B30 B0 B7 05 CC */ sth r5, 0x5cc(r23) -/* 8025CBD4 00259B34 90 17 05 D0 */ stw r0, 0x5d0(r23) -/* 8025CBD8 00259B38 90 17 05 D4 */ stw r0, 0x5d4(r23) -/* 8025CBDC 00259B3C 4B DF 61 91 */ bl CreateShadow__6CActorFb -/* 8025CBE0 00259B40 38 77 04 60 */ addi r3, r23, 0x460 -/* 8025CBE4 00259B44 38 80 00 01 */ li r4, 1 -/* 8025CBE8 00259B48 4B FD 71 A5 */ bl SetImpulseDurationIdx__20CKnockBackControllerFi -/* 8025CBEC 00259B4C 38 77 05 74 */ addi r3, r23, 0x574 -/* 8025CBF0 00259B50 48 0E 41 95 */ bl Lock__6CTokenFv -/* 8025CBF4 00259B54 80 97 04 50 */ lwz r4, 0x450(r23) -/* 8025CBF8 00259B58 7E E3 BB 78 */ mr r3, r23 -/* 8025CBFC 00259B5C D3 C4 03 30 */ stfs f30, 0x330(r4) -/* 8025CC00 00259B60 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8025CC04 00259B64 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8025CC08 00259B68 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8025CC0C 00259B6C CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8025CC10 00259B70 BA C1 00 38 */ lmw r22, 0x38(r1) -/* 8025CC14 00259B74 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8025CC18 00259B78 7C 08 03 A6 */ mtlr r0 -/* 8025CC1C 00259B7C 38 21 00 80 */ addi r1, r1, 0x80 -/* 8025CC20 00259B80 4E 80 00 20 */ blr - -.global AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__5CFireF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8025CC24 00259B84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025CC28 00259B88 7C 08 02 A6 */ mflr r0 -/* 8025CC2C 00259B8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025CC30 00259B90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025CC34 00259B94 7C 9F 23 78 */ mr r31, r4 -/* 8025CC38 00259B98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025CC3C 00259B9C 7C 7E 1B 78 */ mr r30, r3 -/* 8025CC40 00259BA0 A0 05 00 00 */ lhz r0, 0(r5) -/* 8025CC44 00259BA4 38 A1 00 08 */ addi r5, r1, 8 -/* 8025CC48 00259BA8 B0 01 00 08 */ sth r0, 8(r1) -/* 8025CC4C 00259BAC 4B DF 69 C9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8025CC50 00259BB0 2C 1F 00 21 */ cmpwi r31, 0x21 -/* 8025CC54 00259BB4 41 82 00 08 */ beq lbl_8025CC5C -/* 8025CC58 00259BB8 48 00 00 34 */ b lbl_8025CC8C -lbl_8025CC5C: -/* 8025CC5C 00259BBC 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8025CC60 00259BC0 38 80 00 01 */ li r4, 1 -/* 8025CC64 00259BC4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025CC68 00259BC8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8025CC6C 00259BCC 7D 89 03 A6 */ mtctr r12 -/* 8025CC70 00259BD0 4E 80 04 21 */ bctrl -/* 8025CC74 00259BD4 7F C3 F3 78 */ mr r3, r30 -/* 8025CC78 00259BD8 38 80 00 01 */ li r4, 1 -/* 8025CC7C 00259BDC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CC80 00259BE0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CC84 00259BE4 7D 89 03 A6 */ mtctr r12 -/* 8025CC88 00259BE8 4E 80 04 21 */ bctrl -lbl_8025CC8C: -/* 8025CC8C 00259BEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025CC90 00259BF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025CC94 00259BF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025CC98 00259BF8 7C 08 03 A6 */ mtlr r0 -/* 8025CC9C 00259BFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025CCA0 00259C00 4E 80 00 20 */ blr - -.global Think__5CFireFfR13CStateManager -Think__5CFireFfR13CStateManager: -/* 8025CCA4 00259C04 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8025CCA8 00259C08 7C 08 02 A6 */ mflr r0 -/* 8025CCAC 00259C0C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8025CCB0 00259C10 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8025CCB4 00259C14 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8025CCB8 00259C18 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8025CCBC 00259C1C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8025CCC0 00259C20 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8025CCC4 00259C24 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8025CCC8 00259C28 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8025CCCC 00259C2C 7C 7E 1B 78 */ mr r30, r3 -/* 8025CCD0 00259C30 FF C0 08 90 */ fmr f30, f1 -/* 8025CCD4 00259C34 83 A3 00 E8 */ lwz r29, 0xe8(r3) -/* 8025CCD8 00259C38 7C 9F 23 78 */ mr r31, r4 -/* 8025CCDC 00259C3C 7F A3 EB 78 */ mr r3, r29 -/* 8025CCE0 00259C40 81 9D 00 00 */ lwz r12, 0(r29) -/* 8025CCE4 00259C44 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8025CCE8 00259C48 7D 89 03 A6 */ mtctr r12 -/* 8025CCEC 00259C4C 4E 80 04 21 */ bctrl -/* 8025CCF0 00259C50 3C A0 43 30 */ lis r5, 0x4330 -/* 8025CCF4 00259C54 6C 66 80 00 */ xoris r6, r3, 0x8000 -/* 8025CCF8 00259C58 80 9D 00 90 */ lwz r4, 0x90(r29) -/* 8025CCFC 00259C5C 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 8025CD00 00259C60 6C 83 80 00 */ xoris r3, r4, 0x8000 -/* 8025CD04 00259C64 C8 42 BA 08 */ lfd f2, lbl_805AD728@sda21(r2) -/* 8025CD08 00259C68 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8025CD0C 00259C6C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8025CD10 00259C70 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8025CD14 00259C74 90 61 00 74 */ stw r3, 0x74(r1) -/* 8025CD18 00259C78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025CD1C 00259C7C EC 20 10 28 */ fsubs f1, f0, f2 -/* 8025CD20 00259C80 90 A1 00 70 */ stw r5, 0x70(r1) -/* 8025CD24 00259C84 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8025CD28 00259C88 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8025CD2C 00259C8C EF E1 00 24 */ fdivs f31, f1, f0 -/* 8025CD30 00259C90 41 82 00 80 */ beq lbl_8025CDB0 -/* 8025CD34 00259C94 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8025CD38 00259C98 C0 1E 01 44 */ lfs f0, 0x144(r30) -/* 8025CD3C 00259C9C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025CD40 00259CA0 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8025CD44 00259CA4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025CD48 00259CA8 7D 89 03 A6 */ mtctr r12 -/* 8025CD4C 00259CAC 4E 80 04 21 */ bctrl -/* 8025CD50 00259CB0 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2) -/* 8025CD54 00259CB4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8025CD58 00259CB8 38 9E 00 F0 */ addi r4, r30, 0xf0 -/* 8025CD5C 00259CBC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8025CD60 00259CC0 40 81 00 0C */ ble lbl_8025CD6C -/* 8025CD64 00259CC4 FC 00 F8 90 */ fmr f0, f31 -/* 8025CD68 00259CC8 48 00 00 08 */ b lbl_8025CD70 -lbl_8025CD6C: -/* 8025CD6C 00259CCC C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2) -lbl_8025CD70: -/* 8025CD70 00259CD0 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8025CD74 00259CD4 4B E6 66 D5 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 8025CD78 00259CD8 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8025CD7C 00259CDC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8025CD80 00259CE0 90 7E 01 0C */ stw r3, 0x10c(r30) -/* 8025CD84 00259CE4 90 1E 01 10 */ stw r0, 0x110(r30) -/* 8025CD88 00259CE8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8025CD8C 00259CEC D0 1E 01 14 */ stfs f0, 0x114(r30) -/* 8025CD90 00259CF0 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8025CD94 00259CF4 D0 1E 01 18 */ stfs f0, 0x118(r30) -/* 8025CD98 00259CF8 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8025CD9C 00259CFC D0 1E 01 1C */ stfs f0, 0x11c(r30) -/* 8025CDA0 00259D00 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8025CDA4 00259D04 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 8025CDA8 00259D08 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8025CDAC 00259D0C 98 1E 01 24 */ stb r0, 0x124(r30) -lbl_8025CDB0: -/* 8025CDB0 00259D10 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8025CDB4 00259D14 3B A0 00 00 */ li r29, 0 -/* 8025CDB8 00259D18 81 83 00 00 */ lwz r12, 0(r3) -/* 8025CDBC 00259D1C 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8025CDC0 00259D20 7D 89 03 A6 */ mtctr r12 -/* 8025CDC4 00259D24 4E 80 04 21 */ bctrl -/* 8025CDC8 00259D28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025CDCC 00259D2C 41 82 00 08 */ beq lbl_8025CDD4 -/* 8025CDD0 00259D30 3B A0 00 01 */ li r29, 1 -lbl_8025CDD4: -/* 8025CDD4 00259D34 88 1E 01 48 */ lbz r0, 0x148(r30) -/* 8025CDD8 00259D38 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8025CDDC 00259D3C 41 82 00 A8 */ beq lbl_8025CE84 -/* 8025CDE0 00259D40 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8025CDE4 00259D44 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025CDE8 00259D48 81 84 00 00 */ lwz r12, 0(r4) -/* 8025CDEC 00259D4C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8025CDF0 00259D50 7D 89 03 A6 */ mtctr r12 -/* 8025CDF4 00259D54 4E 80 04 21 */ bctrl -/* 8025CDF8 00259D58 7F C4 F3 78 */ mr r4, r30 -/* 8025CDFC 00259D5C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025CE00 00259D60 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CE04 00259D64 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8025CE08 00259D68 7D 89 03 A6 */ mtctr r12 -/* 8025CE0C 00259D6C 4E 80 04 21 */ bctrl -/* 8025CE10 00259D70 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025CE14 00259D74 38 81 00 10 */ addi r4, r1, 0x10 -/* 8025CE18 00259D78 48 0D AD 6D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 8025CE1C 00259D7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025CE20 00259D80 38 60 00 00 */ li r3, 0 -/* 8025CE24 00259D84 98 61 00 28 */ stb r3, 0x28(r1) -/* 8025CE28 00259D88 98 61 00 44 */ stb r3, 0x44(r1) -/* 8025CE2C 00259D8C 41 82 00 3C */ beq lbl_8025CE68 -/* 8025CE30 00259D90 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8025CE34 00259D94 40 82 00 34 */ bne lbl_8025CE68 -/* 8025CE38 00259D98 C0 02 B9 FC */ lfs f0, lbl_805AD71C@sda21(r2) -/* 8025CE3C 00259D9C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8025CE40 00259DA0 40 81 00 28 */ ble lbl_8025CE68 -/* 8025CE44 00259DA4 C0 1E 01 4C */ lfs f0, 0x14c(r30) -/* 8025CE48 00259DA8 38 A0 00 01 */ li r5, 1 -/* 8025CE4C 00259DAC 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025CE50 00259DB0 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 8025CE54 00259DB4 C0 5E 01 54 */ lfs f2, 0x154(r30) -/* 8025CE58 00259DB8 C0 7E 01 58 */ lfs f3, 0x158(r30) -/* 8025CE5C 00259DBC 80 9E 01 50 */ lwz r4, 0x150(r30) -/* 8025CE60 00259DC0 4B DB AC 55 */ bl SetVisorSteam__7CPlayerFfffUib -/* 8025CE64 00259DC4 48 00 00 20 */ b lbl_8025CE84 -lbl_8025CE68: -/* 8025CE68 00259DC8 C0 42 BA 00 */ lfs f2, lbl_805AD720@sda21(r2) -/* 8025CE6C 00259DCC 38 80 FF FF */ li r4, -1 -/* 8025CE70 00259DD0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025CE74 00259DD4 38 A0 00 01 */ li r5, 1 -/* 8025CE78 00259DD8 FC 60 10 90 */ fmr f3, f2 -/* 8025CE7C 00259DDC C0 22 B9 F8 */ lfs f1, lbl_805AD718@sda21(r2) -/* 8025CE80 00259DE0 4B DB AC 35 */ bl SetVisorSteam__7CPlayerFfffUib -lbl_8025CE84: -/* 8025CE84 00259DE4 C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 8025CE88 00259DE8 C0 02 BA 04 */ lfs f0, lbl_805AD724@sda21(r2) -/* 8025CE8C 00259DEC EC 21 F0 2A */ fadds f1, f1, f30 -/* 8025CE90 00259DF0 D0 3E 01 5C */ stfs f1, 0x15c(r30) -/* 8025CE94 00259DF4 C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 8025CE98 00259DF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CE9C 00259DFC 40 81 00 08 */ ble lbl_8025CEA4 -/* 8025CEA0 00259E00 3B A0 00 01 */ li r29, 1 -lbl_8025CEA4: -/* 8025CEA4 00259E04 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8025CEA8 00259E08 41 82 00 1C */ beq lbl_8025CEC4 -/* 8025CEAC 00259E0C A0 1E 00 08 */ lhz r0, 8(r30) -/* 8025CEB0 00259E10 7F E3 FB 78 */ mr r3, r31 -/* 8025CEB4 00259E14 38 81 00 0C */ addi r4, r1, 0xc -/* 8025CEB8 00259E18 B0 01 00 08 */ sth r0, 8(r1) -/* 8025CEBC 00259E1C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025CEC0 00259E20 4B DE F3 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8025CEC4: -/* 8025CEC4 00259E24 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8025CEC8 00259E28 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8025CECC 00259E2C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8025CED0 00259E30 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8025CED4 00259E34 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8025CED8 00259E38 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8025CEDC 00259E3C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8025CEE0 00259E40 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8025CEE4 00259E44 7C 08 03 A6 */ mtlr r0 -/* 8025CEE8 00259E48 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8025CEEC 00259E4C 4E 80 00 20 */ blr - -.global Accept__5CFireFR8IVisitor -Accept__5CFireFR8IVisitor: -/* 8025CEF0 00259E50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CEF4 00259E54 7C 08 02 A6 */ mflr r0 -/* 8025CEF8 00259E58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CEFC 00259E5C 7C 60 1B 78 */ mr r0, r3 -/* 8025CF00 00259E60 7C 83 23 78 */ mr r3, r4 -/* 8025CF04 00259E64 81 84 00 00 */ lwz r12, 0(r4) -/* 8025CF08 00259E68 7C 04 03 78 */ mr r4, r0 -/* 8025CF0C 00259E6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025CF10 00259E70 7D 89 03 A6 */ mtctr r12 -/* 8025CF14 00259E74 4E 80 04 21 */ bctrl -/* 8025CF18 00259E78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025CF1C 00259E7C 7C 08 03 A6 */ mtlr r0 -/* 8025CF20 00259E80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025CF24 00259E84 4E 80 00 20 */ blr - -.global Render__5CFireCFRC13CStateManager -Render__5CFireCFRC13CStateManager: -/* 8025CF28 00259E88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025CF2C 00259E8C 7C 08 02 A6 */ mflr r0 -/* 8025CF30 00259E90 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025CF34 00259E94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025CF38 00259E98 3B E0 00 01 */ li r31, 1 -/* 8025CF3C 00259E9C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025CF40 00259EA0 7C BE 2B 78 */ mr r30, r5 -/* 8025CF44 00259EA4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025CF48 00259EA8 7C 9D 23 78 */ mr r29, r4 -/* 8025CF4C 00259EAC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8025CF50 00259EB0 7C 7C 1B 78 */ mr r28, r3 -/* 8025CF54 00259EB4 88 03 01 48 */ lbz r0, 0x148(r3) -/* 8025CF58 00259EB8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8025CF5C 00259EBC 40 82 00 68 */ bne lbl_8025CFC4 -/* 8025CF60 00259EC0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8025CF64 00259EC4 7F C4 F3 78 */ mr r4, r30 -/* 8025CF68 00259EC8 80 63 00 00 */ lwz r3, 0(r3) -/* 8025CF6C 00259ECC 4B E3 45 ED */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8025CF70 00259ED0 2C 03 00 02 */ cmpwi r3, 2 -/* 8025CF74 00259ED4 41 82 00 24 */ beq lbl_8025CF98 -/* 8025CF78 00259ED8 40 80 00 14 */ bge lbl_8025CF8C -/* 8025CF7C 00259EDC 2C 03 00 00 */ cmpwi r3, 0 -/* 8025CF80 00259EE0 41 82 00 18 */ beq lbl_8025CF98 -/* 8025CF84 00259EE4 40 80 00 24 */ bge lbl_8025CFA8 -/* 8025CF88 00259EE8 48 00 00 3C */ b lbl_8025CFC4 -lbl_8025CF8C: -/* 8025CF8C 00259EEC 2C 03 00 04 */ cmpwi r3, 4 -/* 8025CF90 00259EF0 40 80 00 34 */ bge lbl_8025CFC4 -/* 8025CF94 00259EF4 48 00 00 24 */ b lbl_8025CFB8 -lbl_8025CF98: -/* 8025CF98 00259EF8 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 8025CF9C 00259EFC 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8025CFA0 00259F00 7C 1F 03 78 */ mr r31, r0 -/* 8025CFA4 00259F04 48 00 00 20 */ b lbl_8025CFC4 -lbl_8025CFA8: -/* 8025CFA8 00259F08 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 8025CFAC 00259F0C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f -/* 8025CFB0 00259F10 7C 1F 03 78 */ mr r31, r0 -/* 8025CFB4 00259F14 48 00 00 10 */ b lbl_8025CFC4 -lbl_8025CFB8: -/* 8025CFB8 00259F18 88 1C 01 48 */ lbz r0, 0x148(r28) -/* 8025CFBC 00259F1C 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8025CFC0 00259F20 7C 1F 03 78 */ mr r31, r0 -lbl_8025CFC4: -/* 8025CFC4 00259F24 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8025CFC8 00259F28 41 82 00 1C */ beq lbl_8025CFE4 -/* 8025CFCC 00259F2C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8025CFD0 00259F30 80 9C 00 E8 */ lwz r4, 0xe8(r28) -/* 8025CFD4 00259F34 81 83 00 00 */ lwz r12, 0(r3) -/* 8025CFD8 00259F38 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8025CFDC 00259F3C 7D 89 03 A6 */ mtctr r12 -/* 8025CFE0 00259F40 4E 80 04 21 */ bctrl -lbl_8025CFE4: -/* 8025CFE4 00259F44 7F 83 E3 78 */ mr r3, r28 -/* 8025CFE8 00259F48 7F A4 EB 78 */ mr r4, r29 -/* 8025CFEC 00259F4C 7F C5 F3 78 */ mr r5, r30 -/* 8025CFF0 00259F50 4B DF 7B 49 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager -/* 8025CFF4 00259F54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025CFF8 00259F58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025CFFC 00259F5C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025D000 00259F60 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025D004 00259F64 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8025D008 00259F68 7C 08 03 A6 */ mtlr r0 -/* 8025D00C 00259F6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025D010 00259F70 4E 80 00 20 */ blr - -.global GetTouchBounds__5CFireCFv -GetTouchBounds__5CFireCFv: -/* 8025D014 00259F74 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8025D018 00259F78 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025D01C 00259F7C 41 82 00 54 */ beq lbl_8025D070 -/* 8025D020 00259F80 88 04 01 40 */ lbz r0, 0x140(r4) -/* 8025D024 00259F84 98 03 00 18 */ stb r0, 0x18(r3) -/* 8025D028 00259F88 88 04 01 40 */ lbz r0, 0x140(r4) -/* 8025D02C 00259F8C 28 00 00 00 */ cmplwi r0, 0 -/* 8025D030 00259F90 4D 82 00 20 */ beqlr -/* 8025D034 00259F94 28 03 00 00 */ cmplwi r3, 0 -/* 8025D038 00259F98 4D 82 00 20 */ beqlr -/* 8025D03C 00259F9C C0 04 01 28 */ lfs f0, 0x128(r4) -/* 8025D040 00259FA0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8025D044 00259FA4 C0 04 01 2C */ lfs f0, 0x12c(r4) -/* 8025D048 00259FA8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8025D04C 00259FAC C0 04 01 30 */ lfs f0, 0x130(r4) -/* 8025D050 00259FB0 D0 03 00 08 */ stfs f0, 8(r3) -/* 8025D054 00259FB4 C0 04 01 34 */ lfs f0, 0x134(r4) -/* 8025D058 00259FB8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8025D05C 00259FBC C0 04 01 38 */ lfs f0, 0x138(r4) -/* 8025D060 00259FC0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8025D064 00259FC4 C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 8025D068 00259FC8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8025D06C 00259FCC 4E 80 00 20 */ blr -lbl_8025D070: -/* 8025D070 00259FD0 38 00 00 00 */ li r0, 0 -/* 8025D074 00259FD4 98 03 00 18 */ stb r0, 0x18(r3) -/* 8025D078 00259FD8 4E 80 00 20 */ blr - -.global Touch__5CFireFR6CActorR13CStateManager -Touch__5CFireFR6CActorR13CStateManager: -/* 8025D07C 00259FDC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025D080 00259FE0 7C 08 02 A6 */ mflr r0 -/* 8025D084 00259FE4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025D088 00259FE8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025D08C 00259FEC 7C BF 2B 78 */ mr r31, r5 -/* 8025D090 00259FF0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8025D094 00259FF4 7C 9E 23 78 */ mr r30, r4 -/* 8025D098 00259FF8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8025D09C 00259FFC 7C 7D 1B 78 */ mr r29, r3 -/* 8025D0A0 0025A000 A0 64 00 08 */ lhz r3, 8(r4) -/* 8025D0A4 0025A004 A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 8025D0A8 0025A008 7C 03 00 40 */ cmplw r3, r0 -/* 8025D0AC 0025A00C 41 82 00 78 */ beq lbl_8025D124 -/* 8025D0B0 0025A010 80 AD 97 D0 */ lwz r5, lbl_805A8390@sda21(r13) -/* 8025D0B4 0025A014 38 60 00 00 */ li r3, 0 -/* 8025D0B8 0025A018 38 80 00 01 */ li r4, 1 -/* 8025D0BC 0025A01C 48 12 CE 39 */ bl __shl2i -/* 8025D0C0 0025A020 39 40 00 00 */ li r10, 0 -/* 8025D0C4 0025A024 38 00 00 03 */ li r0, 3 -/* 8025D0C8 0025A028 90 81 00 24 */ stw r4, 0x24(r1) -/* 8025D0CC 0025A02C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025D0D0 0025A030 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8025D0D4 0025A034 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025D0D8 0025A038 90 61 00 20 */ stw r3, 0x20(r1) -/* 8025D0DC 0025A03C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8025D0E0 0025A040 7F E3 FB 78 */ mr r3, r31 -/* 8025D0E4 0025A044 38 C1 00 0C */ addi r6, r1, 0xc -/* 8025D0E8 0025A048 91 41 00 2C */ stw r10, 0x2c(r1) -/* 8025D0EC 0025A04C 38 FD 01 0C */ addi r7, r29, 0x10c -/* 8025D0F0 0025A050 39 01 00 20 */ addi r8, r1, 0x20 -/* 8025D0F4 0025A054 91 41 00 28 */ stw r10, 0x28(r1) -/* 8025D0F8 0025A058 90 01 00 30 */ stw r0, 0x30(r1) -/* 8025D0FC 0025A05C A0 1D 00 08 */ lhz r0, 8(r29) -/* 8025D100 0025A060 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025D104 0025A064 A1 5E 00 08 */ lhz r10, 8(r30) -/* 8025D108 0025A068 B0 01 00 08 */ sth r0, 8(r1) -/* 8025D10C 0025A06C B1 41 00 14 */ sth r10, 0x14(r1) -/* 8025D110 0025A070 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8025D114 0025A074 B1 41 00 10 */ sth r10, 0x10(r1) -/* 8025D118 0025A078 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8025D11C 0025A07C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8025D120 0025A080 4B DE CF 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_8025D124: -/* 8025D124 0025A084 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025D128 0025A088 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025D12C 0025A08C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8025D130 0025A090 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8025D134 0025A094 7C 08 03 A6 */ mtlr r0 -/* 8025D138 0025A098 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025D13C 0025A09C 4E 80 00 20 */ blr - -.global __dt__5CFireFv -__dt__5CFireFv: -/* 8025D140 0025A0A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D144 0025A0A4 7C 08 02 A6 */ mflr r0 -/* 8025D148 0025A0A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D14C 0025A0AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D150 0025A0B0 7C 9F 23 78 */ mr r31, r4 -/* 8025D154 0025A0B4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025D158 0025A0B8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025D15C 0025A0BC 41 82 00 64 */ beq lbl_8025D1C0 -/* 8025D160 0025A0C0 3C 60 80 3F */ lis r3, lbl_803E9990@ha -/* 8025D164 0025A0C4 34 1E 01 28 */ addic. r0, r30, 0x128 -/* 8025D168 0025A0C8 38 03 99 90 */ addi r0, r3, lbl_803E9990@l -/* 8025D16C 0025A0CC 90 1E 00 00 */ stw r0, 0(r30) -/* 8025D170 0025A0D0 41 82 00 0C */ beq lbl_8025D17C -/* 8025D174 0025A0D4 38 00 00 00 */ li r0, 0 -/* 8025D178 0025A0D8 98 1E 01 40 */ stb r0, 0x140(r30) -lbl_8025D17C: -/* 8025D17C 0025A0DC 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8025D180 0025A0E0 41 82 00 24 */ beq lbl_8025D1A4 -/* 8025D184 0025A0E4 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8025D188 0025A0E8 28 03 00 00 */ cmplwi r3, 0 -/* 8025D18C 0025A0EC 41 82 00 18 */ beq lbl_8025D1A4 -/* 8025D190 0025A0F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D194 0025A0F4 38 80 00 01 */ li r4, 1 -/* 8025D198 0025A0F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025D19C 0025A0FC 7D 89 03 A6 */ mtctr r12 -/* 8025D1A0 0025A100 4E 80 04 21 */ bctrl -lbl_8025D1A4: -/* 8025D1A4 0025A104 7F C3 F3 78 */ mr r3, r30 -/* 8025D1A8 0025A108 38 80 00 00 */ li r4, 0 -/* 8025D1AC 0025A10C 4B DF 85 45 */ bl __dt__6CActorFv -/* 8025D1B0 0025A110 7F E0 07 35 */ extsh. r0, r31 -/* 8025D1B4 0025A114 40 81 00 0C */ ble lbl_8025D1C0 -/* 8025D1B8 0025A118 7F C3 F3 78 */ mr r3, r30 -/* 8025D1BC 0025A11C 48 0B 87 75 */ bl Free__7CMemoryFPCv -lbl_8025D1C0: -/* 8025D1C0 0025A120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D1C4 0025A124 7F C3 F3 78 */ mr r3, r30 -/* 8025D1C8 0025A128 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D1CC 0025A12C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025D1D0 0025A130 7C 08 03 A6 */ mtlr r0 -/* 8025D1D4 0025A134 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D1D8 0025A138 4E 80 00 20 */ blr - -.global __ct__5CFire -__ct__5CFire: -/* 8025D1DC 0025A13C 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 8025D1E0 0025A140 7C 08 02 A6 */ mflr r0 -/* 8025D1E4 0025A144 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 8025D1E8 0025A148 DB E1 01 A0 */ stfd f31, 0x1a0(r1) -/* 8025D1EC 0025A14C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 -/* 8025D1F0 0025A150 DB C1 01 90 */ stfd f30, 0x190(r1) -/* 8025D1F4 0025A154 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 -/* 8025D1F8 0025A158 DB A1 01 80 */ stfd f29, 0x180(r1) -/* 8025D1FC 0025A15C F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 -/* 8025D200 0025A160 DB 81 01 70 */ stfd f28, 0x170(r1) -/* 8025D204 0025A164 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 -/* 8025D208 0025A168 BE 21 01 34 */ stmw r17, 0x134(r1) -/* 8025D20C 0025A16C 3D 60 80 3D */ lis r11, lbl_803D5230@ha -/* 8025D210 0025A170 FF 80 08 90 */ fmr f28, f1 -/* 8025D214 0025A174 FF A0 10 90 */ fmr f29, f2 -/* 8025D218 0025A178 38 0B 52 30 */ addi r0, r11, lbl_803D5230@l -/* 8025D21C 0025A17C 7C 75 1B 78 */ mr r21, r3 -/* 8025D220 0025A180 7C 96 23 78 */ mr r22, r4 -/* 8025D224 0025A184 7C B3 2B 78 */ mr r19, r5 -/* 8025D228 0025A188 7C D1 33 78 */ mr r17, r6 -/* 8025D22C 0025A18C FF C0 18 90 */ fmr f30, f3 -/* 8025D230 0025A190 83 41 01 B8 */ lwz r26, 0x1b8(r1) -/* 8025D234 0025A194 FF E0 20 90 */ fmr f31, f4 -/* 8025D238 0025A198 83 61 01 BC */ lwz r27, 0x1bc(r1) -/* 8025D23C 0025A19C 8B 81 01 C3 */ lbz r28, 0x1c3(r1) -/* 8025D240 0025A1A0 7C F2 3B 78 */ mr r18, r7 -/* 8025D244 0025A1A4 83 A1 01 C4 */ lwz r29, 0x1c4(r1) -/* 8025D248 0025A1A8 7D 17 43 78 */ mr r23, r8 -/* 8025D24C 0025A1AC 8B C1 01 CB */ lbz r30, 0x1cb(r1) -/* 8025D250 0025A1B0 7D 38 4B 78 */ mr r24, r9 -/* 8025D254 0025A1B4 8B E1 01 CF */ lbz r31, 0x1cf(r1) -/* 8025D258 0025A1B8 7D 59 53 78 */ mr r25, r10 -/* 8025D25C 0025A1BC 8A 81 01 D3 */ lbz r20, 0x1d3(r1) -/* 8025D260 0025A1C0 7C 04 03 78 */ mr r4, r0 -/* 8025D264 0025A1C4 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025D268 0025A1C8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8025D26C 0025A1CC 38 A0 FF FF */ li r5, -1 -/* 8025D270 0025A1D0 48 0E 0F 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8025D274 0025A1D4 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) -/* 8025D278 0025A1D8 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8025D27C 0025A1DC 80 11 00 00 */ lwz r0, 0(r17) -/* 8025D280 0025A1E0 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8025D284 0025A1E4 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8025D288 0025A1E8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8025D28C 0025A1EC 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025D290 0025A1F0 38 C1 00 2C */ addi r6, r1, 0x2c -/* 8025D294 0025A1F4 90 01 00 30 */ stw r0, 0x30(r1) -/* 8025D298 0025A1F8 4B DF 41 ED */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8025D29C 0025A1FC 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8025D2A0 0025A200 4B DD D5 05 */ bl CModelDataNull__10CModelDataFv -/* 8025D2A4 0025A204 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025D2A8 0025A208 4B DB DB 91 */ bl None__16CActorParametersFv -/* 8025D2AC 0025A20C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8025D2B0 0025A210 38 00 00 00 */ li r0, 0 -/* 8025D2B4 0025A214 80 AD 97 D4 */ lwz r5, lbl_805A8394@sda21(r13) -/* 8025D2B8 0025A218 38 60 00 00 */ li r3, 0 -/* 8025D2BC 0025A21C B0 81 00 14 */ sth r4, 0x14(r1) -/* 8025D2C0 0025A220 38 80 00 01 */ li r4, 1 -/* 8025D2C4 0025A224 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025D2C8 0025A228 90 01 00 40 */ stw r0, 0x40(r1) -/* 8025D2CC 0025A22C 48 12 CC 29 */ bl __shl2i -/* 8025D2D0 0025A230 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 8025D2D4 0025A234 39 61 00 7C */ addi r11, r1, 0x7c -/* 8025D2D8 0025A238 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 8025D2DC 0025A23C 38 01 00 14 */ addi r0, r1, 0x14 -/* 8025D2E0 0025A240 7C A3 1B 78 */ or r3, r5, r3 -/* 8025D2E4 0025A244 A0 F3 00 00 */ lhz r7, 0(r19) -/* 8025D2E8 0025A248 7C C4 23 78 */ or r4, r6, r4 -/* 8025D2EC 0025A24C 90 61 00 40 */ stw r3, 0x40(r1) -/* 8025D2F0 0025A250 7E A3 AB 78 */ mr r3, r21 -/* 8025D2F4 0025A254 7E 45 93 78 */ mr r5, r18 -/* 8025D2F8 0025A258 90 81 00 44 */ stw r4, 0x44(r1) -/* 8025D2FC 0025A25C 7F 08 C3 78 */ mr r8, r24 -/* 8025D300 0025A260 38 81 00 18 */ addi r4, r1, 0x18 -/* 8025D304 0025A264 38 C1 00 54 */ addi r6, r1, 0x54 -/* 8025D308 0025A268 B0 E1 00 18 */ sth r7, 0x18(r1) -/* 8025D30C 0025A26C 38 E1 00 64 */ addi r7, r1, 0x64 -/* 8025D310 0025A270 39 21 00 E4 */ addi r9, r1, 0xe4 -/* 8025D314 0025A274 39 41 00 40 */ addi r10, r1, 0x40 -/* 8025D318 0025A278 91 61 00 08 */ stw r11, 8(r1) -/* 8025D31C 0025A27C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8025D320 0025A280 4B DF 85 01 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8025D324 0025A284 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025D328 0025A288 38 80 FF FF */ li r4, -1 -/* 8025D32C 0025A28C 4B EA 92 DD */ bl __dt__16CActorParametersFv -/* 8025D330 0025A290 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8025D334 0025A294 38 80 FF FF */ li r4, -1 -/* 8025D338 0025A298 4B EB 97 15 */ bl __dt__10CModelDataFv -/* 8025D33C 0025A29C 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8025D340 0025A2A0 80 61 00 74 */ lwz r3, 0x74(r1) -/* 8025D344 0025A2A4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8025D348 0025A2A8 90 61 00 20 */ stw r3, 0x20(r1) -/* 8025D34C 0025A2AC 7C 64 1B 78 */ mr r4, r3 -/* 8025D350 0025A2B0 7C 03 02 14 */ add r0, r3, r0 -/* 8025D354 0025A2B4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8025D358 0025A2B8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8025D35C 0025A2BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025D360 0025A2C0 48 00 00 08 */ b lbl_8025D368 -lbl_8025D364: -/* 8025D364 0025A2C4 38 84 00 0C */ addi r4, r4, 0xc -lbl_8025D368: -/* 8025D368 0025A2C8 7C 04 00 40 */ cmplw r4, r0 -/* 8025D36C 0025A2CC 40 82 FF F8 */ bne lbl_8025D364 -/* 8025D370 0025A2D0 28 03 00 00 */ cmplwi r3, 0 -/* 8025D374 0025A2D4 41 82 00 08 */ beq lbl_8025D37C -/* 8025D378 0025A2D8 48 0B 85 B9 */ bl Free__7CMemoryFPCv -lbl_8025D37C: -/* 8025D37C 0025A2DC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025D380 0025A2E0 48 0E 07 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025D384 0025A2E4 3C 80 80 3F */ lis r4, lbl_803E9990@ha -/* 8025D388 0025A2E8 3C 60 80 3D */ lis r3, lbl_803D5230@ha -/* 8025D38C 0025A2EC 38 04 99 90 */ addi r0, r4, lbl_803E9990@l -/* 8025D390 0025A2F0 3A 20 00 00 */ li r17, 0 -/* 8025D394 0025A2F4 38 63 52 30 */ addi r3, r3, lbl_803D5230@l -/* 8025D398 0025A2F8 90 15 00 00 */ stw r0, 0(r21) -/* 8025D39C 0025A2FC 38 83 00 05 */ addi r4, r3, 5 -/* 8025D3A0 0025A300 38 60 03 40 */ li r3, 0x340 -/* 8025D3A4 0025A304 38 A0 00 00 */ li r5, 0 -/* 8025D3A8 0025A308 48 0B 84 C5 */ bl __nw__FUlPCcPCc -/* 8025D3AC 0025A30C 7C 72 1B 79 */ or. r18, r3, r3 -/* 8025D3B0 0025A310 41 82 00 2C */ beq lbl_8025D3DC -/* 8025D3B4 0025A314 7E C4 B3 78 */ mr r4, r22 -/* 8025D3B8 0025A318 38 61 00 34 */ addi r3, r1, 0x34 -/* 8025D3BC 0025A31C 48 0E 3A ED */ bl __ct__6CTokenFRC6CToken -/* 8025D3C0 0025A320 7E 43 93 78 */ mr r3, r18 -/* 8025D3C4 0025A324 38 81 00 34 */ addi r4, r1, 0x34 -/* 8025D3C8 0025A328 3A 20 00 01 */ li r17, 1 -/* 8025D3CC 0025A32C 38 A0 00 00 */ li r5, 0 -/* 8025D3D0 0025A330 38 C0 00 01 */ li r6, 1 -/* 8025D3D4 0025A334 48 0C 20 0D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8025D3D8 0025A338 7C 72 1B 78 */ mr r18, r3 -lbl_8025D3DC: -/* 8025D3DC 0025A33C 7E 20 07 75 */ extsb. r0, r17 -/* 8025D3E0 0025A340 92 55 00 E8 */ stw r18, 0xe8(r21) -/* 8025D3E4 0025A344 41 82 00 10 */ beq lbl_8025D3F4 -/* 8025D3E8 0025A348 38 61 00 34 */ addi r3, r1, 0x34 -/* 8025D3EC 0025A34C 38 80 00 00 */ li r4, 0 -/* 8025D3F0 0025A350 48 0E 3A 51 */ bl __dt__6CTokenFv -lbl_8025D3F4: -/* 8025D3F4 0025A354 A0 77 00 00 */ lhz r3, 0(r23) -/* 8025D3F8 0025A358 34 95 01 28 */ addic. r4, r21, 0x128 -/* 8025D3FC 0025A35C 38 00 00 01 */ li r0, 1 -/* 8025D400 0025A360 B0 75 00 EC */ sth r3, 0xec(r21) -/* 8025D404 0025A364 80 79 00 00 */ lwz r3, 0(r25) -/* 8025D408 0025A368 90 75 00 F0 */ stw r3, 0xf0(r21) -/* 8025D40C 0025A36C 88 79 00 04 */ lbz r3, 4(r25) -/* 8025D410 0025A370 98 75 00 F4 */ stb r3, 0xf4(r21) -/* 8025D414 0025A374 C0 19 00 08 */ lfs f0, 8(r25) -/* 8025D418 0025A378 D0 15 00 F8 */ stfs f0, 0xf8(r21) -/* 8025D41C 0025A37C C0 19 00 0C */ lfs f0, 0xc(r25) -/* 8025D420 0025A380 D0 15 00 FC */ stfs f0, 0xfc(r21) -/* 8025D424 0025A384 C0 19 00 10 */ lfs f0, 0x10(r25) -/* 8025D428 0025A388 D0 15 01 00 */ stfs f0, 0x100(r21) -/* 8025D42C 0025A38C C0 19 00 14 */ lfs f0, 0x14(r25) -/* 8025D430 0025A390 D0 15 01 04 */ stfs f0, 0x104(r21) -/* 8025D434 0025A394 88 79 00 18 */ lbz r3, 0x18(r25) -/* 8025D438 0025A398 98 75 01 08 */ stb r3, 0x108(r21) -/* 8025D43C 0025A39C 80 79 00 00 */ lwz r3, 0(r25) -/* 8025D440 0025A3A0 90 75 01 0C */ stw r3, 0x10c(r21) -/* 8025D444 0025A3A4 88 79 00 04 */ lbz r3, 4(r25) -/* 8025D448 0025A3A8 98 75 01 10 */ stb r3, 0x110(r21) -/* 8025D44C 0025A3AC C0 19 00 08 */ lfs f0, 8(r25) -/* 8025D450 0025A3B0 D0 15 01 14 */ stfs f0, 0x114(r21) -/* 8025D454 0025A3B4 C0 19 00 0C */ lfs f0, 0xc(r25) -/* 8025D458 0025A3B8 D0 15 01 18 */ stfs f0, 0x118(r21) -/* 8025D45C 0025A3BC C0 19 00 10 */ lfs f0, 0x10(r25) -/* 8025D460 0025A3C0 D0 15 01 1C */ stfs f0, 0x11c(r21) -/* 8025D464 0025A3C4 C0 19 00 14 */ lfs f0, 0x14(r25) -/* 8025D468 0025A3C8 D0 15 01 20 */ stfs f0, 0x120(r21) -/* 8025D46C 0025A3CC 88 79 00 18 */ lbz r3, 0x18(r25) -/* 8025D470 0025A3D0 98 75 01 24 */ stb r3, 0x124(r21) -/* 8025D474 0025A3D4 98 15 01 40 */ stb r0, 0x140(r21) -/* 8025D478 0025A3D8 41 82 00 34 */ beq lbl_8025D4AC -/* 8025D47C 0025A3DC C0 1A 00 00 */ lfs f0, 0(r26) -/* 8025D480 0025A3E0 D0 04 00 00 */ stfs f0, 0(r4) -/* 8025D484 0025A3E4 C0 1A 00 04 */ lfs f0, 4(r26) -/* 8025D488 0025A3E8 D0 04 00 04 */ stfs f0, 4(r4) -/* 8025D48C 0025A3EC C0 1A 00 08 */ lfs f0, 8(r26) -/* 8025D490 0025A3F0 D0 04 00 08 */ stfs f0, 8(r4) -/* 8025D494 0025A3F4 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 8025D498 0025A3F8 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8025D49C 0025A3FC C0 1A 00 10 */ lfs f0, 0x10(r26) -/* 8025D4A0 0025A400 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8025D4A4 0025A404 C0 1A 00 14 */ lfs f0, 0x14(r26) -/* 8025D4A8 0025A408 D0 04 00 14 */ stfs f0, 0x14(r4) -lbl_8025D4AC: -/* 8025D4AC 0025A40C D3 95 01 44 */ stfs f28, 0x144(r21) -/* 8025D4B0 0025A410 28 14 00 00 */ cmplwi r20, 0 -/* 8025D4B4 0025A414 38 60 00 00 */ li r3, 0 -/* 8025D4B8 0025A418 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D4BC 0025A41C 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 -/* 8025D4C0 0025A420 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D4C4 0025A424 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D4C8 0025A428 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 -/* 8025D4CC 0025A42C 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D4D0 0025A430 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D4D4 0025A434 52 80 2E B4 */ rlwimi r0, r20, 5, 0x1a, 0x1a -/* 8025D4D8 0025A438 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D4DC 0025A43C 41 82 00 18 */ beq lbl_8025D4F4 -/* 8025D4E0 0025A440 28 1F 00 00 */ cmplwi r31, 0 -/* 8025D4E4 0025A444 41 82 00 10 */ beq lbl_8025D4F4 -/* 8025D4E8 0025A448 28 1E 00 00 */ cmplwi r30, 0 -/* 8025D4EC 0025A44C 41 82 00 08 */ beq lbl_8025D4F4 -/* 8025D4F0 0025A450 38 60 00 01 */ li r3, 1 -lbl_8025D4F4: -/* 8025D4F4 0025A454 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D4F8 0025A458 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025D4FC 0025A45C 38 60 00 00 */ li r3, 0 -/* 8025D500 0025A460 C0 02 B9 F8 */ lfs f0, lbl_805AD718@sda21(r2) -/* 8025D504 0025A464 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D508 0025A468 7F 64 DB 78 */ mr r4, r27 -/* 8025D50C 0025A46C 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D510 0025A470 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8025D514 0025A474 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D518 0025A478 88 15 01 48 */ lbz r0, 0x148(r21) -/* 8025D51C 0025A47C 53 80 17 7A */ rlwimi r0, r28, 2, 0x1d, 0x1d -/* 8025D520 0025A480 98 15 01 48 */ stb r0, 0x148(r21) -/* 8025D524 0025A484 D3 B5 01 4C */ stfs f29, 0x14c(r21) -/* 8025D528 0025A488 93 B5 01 50 */ stw r29, 0x150(r21) -/* 8025D52C 0025A48C D3 D5 01 54 */ stfs f30, 0x154(r21) -/* 8025D530 0025A490 D3 F5 01 58 */ stfs f31, 0x158(r21) -/* 8025D534 0025A494 D0 15 01 5C */ stfs f0, 0x15c(r21) -/* 8025D538 0025A498 80 75 00 E8 */ lwz r3, 0xe8(r21) -/* 8025D53C 0025A49C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D540 0025A4A0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8025D544 0025A4A4 7D 89 03 A6 */ mtctr r12 -/* 8025D548 0025A4A8 4E 80 04 21 */ bctrl -/* 8025D54C 0025A4AC C0 58 00 2C */ lfs f2, 0x2c(r24) -/* 8025D550 0025A4B0 38 81 00 48 */ addi r4, r1, 0x48 -/* 8025D554 0025A4B4 C0 38 00 1C */ lfs f1, 0x1c(r24) -/* 8025D558 0025A4B8 C0 18 00 0C */ lfs f0, 0xc(r24) -/* 8025D55C 0025A4BC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8025D560 0025A4C0 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8025D564 0025A4C4 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8025D568 0025A4C8 80 75 00 E8 */ lwz r3, 0xe8(r21) -/* 8025D56C 0025A4CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D570 0025A4D0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025D574 0025A4D4 7D 89 03 A6 */ mtctr r12 -/* 8025D578 0025A4D8 4E 80 04 21 */ bctrl -/* 8025D57C 0025A4DC 7E A3 AB 78 */ mr r3, r21 -/* 8025D580 0025A4E0 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 -/* 8025D584 0025A4E4 CB E1 01 A0 */ lfd f31, 0x1a0(r1) -/* 8025D588 0025A4E8 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 -/* 8025D58C 0025A4EC CB C1 01 90 */ lfd f30, 0x190(r1) -/* 8025D590 0025A4F0 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 -/* 8025D594 0025A4F4 CB A1 01 80 */ lfd f29, 0x180(r1) -/* 8025D598 0025A4F8 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 -/* 8025D59C 0025A4FC CB 81 01 70 */ lfd f28, 0x170(r1) -/* 8025D5A0 0025A500 BA 21 01 34 */ lmw r17, 0x134(r1) -/* 8025D5A4 0025A504 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 8025D5A8 0025A508 7C 08 03 A6 */ mtlr r0 -/* 8025D5AC 0025A50C 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 8025D5B0 0025A510 4E 80 00 20 */ blr - -.global GetBlurAmt__16CPauseScreenBlurCFv -GetBlurAmt__16CPauseScreenBlurCFv: -/* 8025D5B4 0025A514 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8025D5B8 0025A518 FC 00 02 10 */ fabs f0, f0 -/* 8025D5BC 0025A51C FC 20 00 18 */ frsp f1, f0 -/* 8025D5C0 0025A520 4E 80 00 20 */ blr - -.global SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState: -/* 8025D5C4 0025A524 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025D5C8 0025A528 7C 08 02 A6 */ mflr r0 -/* 8025D5CC 0025A52C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025D5D0 0025A530 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025D5D4 0025A534 7C 9F 23 78 */ mr r31, r4 -/* 8025D5D8 0025A538 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025D5DC 0025A53C 7C 7E 1B 78 */ mr r30, r3 -/* 8025D5E0 0025A540 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8025D5E4 0025A544 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D5E8 0025A548 41 82 00 0C */ beq lbl_8025D5F4 -/* 8025D5EC 0025A54C 41 80 00 7C */ blt lbl_8025D668 -/* 8025D5F0 0025A550 48 00 00 78 */ b lbl_8025D668 -lbl_8025D5F4: -/* 8025D5F4 0025A554 2C 1F 00 00 */ cmpwi r31, 0 -/* 8025D5F8 0025A558 41 82 00 70 */ beq lbl_8025D668 -/* 8025D5FC 0025A55C 38 60 00 02 */ li r3, 2 -/* 8025D600 0025A560 48 08 C2 B5 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 8025D604 0025A564 2C 1F 00 03 */ cmpwi r31, 3 -/* 8025D608 0025A568 40 82 00 2C */ bne lbl_8025D634 -/* 8025D60C 0025A56C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8025D610 0025A570 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025D614 0025A574 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8025D618 0025A578 38 80 05 87 */ li r4, 0x587 -/* 8025D61C 0025A57C 38 A0 00 7F */ li r5, 0x7f -/* 8025D620 0025A580 38 C0 00 40 */ li r6, 0x40 -/* 8025D624 0025A584 38 E0 00 00 */ li r7, 0 -/* 8025D628 0025A588 39 20 00 00 */ li r9, 0 -/* 8025D62C 0025A58C 48 08 C7 49 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8025D630 0025A590 48 00 00 30 */ b lbl_8025D660 -lbl_8025D634: -/* 8025D634 0025A594 2C 1F 00 01 */ cmpwi r31, 1 -/* 8025D638 0025A598 40 82 00 28 */ bne lbl_8025D660 -/* 8025D63C 0025A59C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8025D640 0025A5A0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025D644 0025A5A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8025D648 0025A5A8 38 80 05 62 */ li r4, 0x562 -/* 8025D64C 0025A5AC 38 A0 00 7F */ li r5, 0x7f -/* 8025D650 0025A5B0 38 C0 00 40 */ li r6, 0x40 -/* 8025D654 0025A5B4 38 E0 00 00 */ li r7, 0 -/* 8025D658 0025A5B8 39 20 00 00 */ li r9, 0 -/* 8025D65C 0025A5BC 48 08 C7 19 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8025D660: -/* 8025D660 0025A5C0 C0 02 BA 10 */ lfs f0, lbl_805AD730@sda21(r2) -/* 8025D664 0025A5C4 D0 1E 00 18 */ stfs f0, 0x18(r30) -lbl_8025D668: -/* 8025D668 0025A5C8 2C 1F 00 00 */ cmpwi r31, 0 -/* 8025D66C 0025A5CC 41 82 00 0C */ beq lbl_8025D678 -/* 8025D670 0025A5D0 41 80 00 A0 */ blt lbl_8025D710 -/* 8025D674 0025A5D4 48 00 00 9C */ b lbl_8025D710 -lbl_8025D678: -/* 8025D678 0025A5D8 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8025D67C 0025A5DC 38 60 00 01 */ li r3, 1 -/* 8025D680 0025A5E0 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D684 0025A5E4 40 82 00 14 */ bne lbl_8025D698 -/* 8025D688 0025A5E8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8025D68C 0025A5EC 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D690 0025A5F0 40 82 00 08 */ bne lbl_8025D698 -/* 8025D694 0025A5F4 38 60 00 00 */ li r3, 0 -lbl_8025D698: -/* 8025D698 0025A5F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025D69C 0025A5FC 41 82 00 74 */ beq lbl_8025D710 -/* 8025D6A0 0025A600 38 60 00 01 */ li r3, 1 -/* 8025D6A4 0025A604 48 08 C2 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 8025D6A8 0025A608 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8025D6AC 0025A60C 2C 00 00 03 */ cmpwi r0, 3 -/* 8025D6B0 0025A610 40 82 00 2C */ bne lbl_8025D6DC -/* 8025D6B4 0025A614 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8025D6B8 0025A618 38 61 00 0C */ addi r3, r1, 0xc -/* 8025D6BC 0025A61C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8025D6C0 0025A620 38 80 05 88 */ li r4, 0x588 -/* 8025D6C4 0025A624 38 A0 00 7F */ li r5, 0x7f -/* 8025D6C8 0025A628 38 C0 00 40 */ li r6, 0x40 -/* 8025D6CC 0025A62C 38 E0 00 00 */ li r7, 0 -/* 8025D6D0 0025A630 39 20 00 00 */ li r9, 0 -/* 8025D6D4 0025A634 48 08 C6 A1 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8025D6D8 0025A638 48 00 00 30 */ b lbl_8025D708 -lbl_8025D6DC: -/* 8025D6DC 0025A63C 2C 00 00 01 */ cmpwi r0, 1 -/* 8025D6E0 0025A640 40 82 00 28 */ bne lbl_8025D708 -/* 8025D6E4 0025A644 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8025D6E8 0025A648 38 61 00 08 */ addi r3, r1, 8 -/* 8025D6EC 0025A64C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8025D6F0 0025A650 38 80 05 64 */ li r4, 0x564 -/* 8025D6F4 0025A654 38 A0 00 7F */ li r5, 0x7f -/* 8025D6F8 0025A658 38 C0 00 40 */ li r6, 0x40 -/* 8025D6FC 0025A65C 38 E0 00 00 */ li r7, 0 -/* 8025D700 0025A660 39 20 00 00 */ li r9, 0 -/* 8025D704 0025A664 48 08 C6 71 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8025D708: -/* 8025D708 0025A668 C0 02 BA 14 */ lfs f0, lbl_805AD734@sda21(r2) -/* 8025D70C 0025A66C D0 1E 00 18 */ stfs f0, 0x18(r30) -lbl_8025D710: -/* 8025D710 0025A670 93 FE 00 14 */ stw r31, 0x14(r30) -/* 8025D714 0025A674 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025D718 0025A678 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025D71C 0025A67C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025D720 0025A680 7C 08 03 A6 */ mtlr r0 -/* 8025D724 0025A684 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025D728 0025A688 4E 80 00 20 */ blr - -.global sub_8025d72c -sub_8025d72c: -/* 8025D72C 0025A68C 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8025D730 0025A690 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D734 0025A694 40 82 00 0C */ bne lbl_8025D740 -/* 8025D738 0025A698 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8025D73C 0025A69C 4D 82 00 20 */ beqlr -lbl_8025D740: -/* 8025D740 0025A6A0 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8025D744 0025A6A4 90 03 00 10 */ stw r0, 0x10(r3) -/* 8025D748 0025A6A8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8025D74C 0025A6AC 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D750 0025A6B0 4C 82 00 20 */ bnelr -/* 8025D754 0025A6B4 88 03 00 50 */ lbz r0, 0x50(r3) -/* 8025D758 0025A6B8 38 80 00 01 */ li r4, 1 -/* 8025D75C 0025A6BC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8025D760 0025A6C0 98 03 00 50 */ stb r0, 0x50(r3) -/* 8025D764 0025A6C4 4E 80 00 20 */ blr - -.global Draw__16CPauseScreenBlurFRC13CStateManager -Draw__16CPauseScreenBlurFRC13CStateManager: -/* 8025D768 0025A6C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025D76C 0025A6CC 7C 08 02 A6 */ mflr r0 -/* 8025D770 0025A6D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025D774 0025A6D4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8025D778 0025A6D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8025D77C 0025A6DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025D780 0025A6E0 7C 7F 1B 78 */ mr r31, r3 -/* 8025D784 0025A6E4 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8025D788 0025A6E8 4B E8 D3 01 */ bl Draw__15CCameraBlurPassCFv -/* 8025D78C 0025A6EC 48 0A F1 F1 */ bl DisableAllLights__9CGraphicsFv -/* 8025D790 0025A6F0 38 00 FF FF */ li r0, -1 -/* 8025D794 0025A6F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025D798 0025A6F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D79C 0025A6FC 48 0A E8 81 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 8025D7A0 0025A700 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8025D7A4 0025A704 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8025D7A8 0025A708 FC 00 02 10 */ fabs f0, f0 -/* 8025D7AC 0025A70C 2C 00 00 00 */ cmpwi r0, 0 -/* 8025D7B0 0025A710 FF E0 00 18 */ frsp f31, f0 -/* 8025D7B4 0025A714 41 82 00 74 */ beq lbl_8025D828 -/* 8025D7B8 0025A718 48 0E C7 F5 */ bl White__6CColorFv -/* 8025D7BC 0025A71C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 8025D7C0 0025A720 FC 20 F8 90 */ fmr f1, f31 -/* 8025D7C4 0025A724 7C 64 1B 78 */ mr r4, r3 -/* 8025D7C8 0025A728 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025D7CC 0025A72C 38 A5 00 04 */ addi r5, r5, 4 -/* 8025D7D0 0025A730 48 10 5A DD */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8025D7D4 0025A734 FC 20 F8 90 */ fmr f1, f31 -/* 8025D7D8 0025A738 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8025D7DC 0025A73C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8025D7E0 0025A740 38 60 00 01 */ li r3, 1 -/* 8025D7E4 0025A744 38 80 00 03 */ li r4, 3 -/* 8025D7E8 0025A748 4B E8 E9 61 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 8025D7EC 0025A74C 3C 60 C0 C1 */ lis r3, 0xC0C0C0FF@ha -/* 8025D7F0 0025A750 38 03 C0 FF */ addi r0, r3, 0xC0C0C0FF@l -/* 8025D7F4 0025A754 90 01 00 08 */ stw r0, 8(r1) -/* 8025D7F8 0025A758 48 0E C7 B5 */ bl White__6CColorFv -/* 8025D7FC 0025A75C FC 20 F8 90 */ fmr f1, f31 -/* 8025D800 0025A760 7C 64 1B 78 */ mr r4, r3 -/* 8025D804 0025A764 38 61 00 0C */ addi r3, r1, 0xc -/* 8025D808 0025A768 38 A1 00 08 */ addi r5, r1, 8 -/* 8025D80C 0025A76C 48 10 5A A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8025D810 0025A770 FC 20 F8 90 */ fmr f1, f31 -/* 8025D814 0025A774 38 A1 00 0C */ addi r5, r1, 0xc -/* 8025D818 0025A778 38 60 00 01 */ li r3, 1 -/* 8025D81C 0025A77C 38 80 00 05 */ li r4, 5 -/* 8025D820 0025A780 38 C0 00 00 */ li r6, 0 -/* 8025D824 0025A784 4B E8 E9 25 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_8025D828: -/* 8025D828 0025A788 88 9F 00 50 */ lbz r4, 0x50(r31) -/* 8025D82C 0025A78C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 8025D830 0025A790 41 82 00 28 */ beq lbl_8025D858 -/* 8025D834 0025A794 88 1F 00 49 */ lbz r0, 0x49(r31) -/* 8025D838 0025A798 28 00 00 00 */ cmplwi r0, 0 -/* 8025D83C 0025A79C 41 82 00 1C */ beq lbl_8025D858 -/* 8025D840 0025A7A0 38 60 00 00 */ li r3, 0 -/* 8025D844 0025A7A4 50 64 3E 30 */ rlwimi r4, r3, 7, 0x18, 0x18 -/* 8025D848 0025A7A8 98 9F 00 50 */ stb r4, 0x50(r31) -/* 8025D84C 0025A7AC 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 8025D850 0025A7B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8025D854 0025A7B4 98 1F 00 50 */ stb r0, 0x50(r31) -lbl_8025D858: -/* 8025D858 0025A7B8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8025D85C 0025A7BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025D860 0025A7C0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8025D864 0025A7C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025D868 0025A7C8 7C 08 03 A6 */ mtlr r0 -/* 8025D86C 0025A7CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025D870 0025A7D0 4E 80 00 20 */ blr - -.global Update__16CPauseScreenBlurfRC13CStateManagerb -Update__16CPauseScreenBlurfRC13CStateManagerb: -/* 8025D874 0025A7D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025D878 0025A7D8 7C 08 02 A6 */ mflr r0 -/* 8025D87C 0025A7DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025D880 0025A7E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025D884 0025A7E4 7C BF 2B 78 */ mr r31, r5 -/* 8025D888 0025A7E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025D88C 0025A7EC 7C 7E 1B 78 */ mr r30, r3 -/* 8025D890 0025A7F0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8025D894 0025A7F4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8025D898 0025A7F8 7C 03 00 00 */ cmpw r3, r0 -/* 8025D89C 0025A7FC 41 82 00 F8 */ beq lbl_8025D994 -/* 8025D8A0 0025A800 C0 7E 00 18 */ lfs f3, 0x18(r30) -/* 8025D8A4 0025A804 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) -/* 8025D8A8 0025A808 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8025D8AC 0025A80C 40 80 00 34 */ bge lbl_8025D8E0 -/* 8025D8B0 0025A810 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2) -/* 8025D8B4 0025A814 C0 0D 97 D8 */ lfs f0, lbl_805A8398@sda21(r13) -/* 8025D8B8 0025A818 EC 22 18 7A */ fmadds f1, f2, f1, f3 -/* 8025D8BC 0025A81C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D8C0 0025A820 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025D8C4 0025A824 40 80 00 0C */ bge lbl_8025D8D0 -/* 8025D8C8 0025A828 38 61 00 0C */ addi r3, r1, 0xc -/* 8025D8CC 0025A82C 48 00 00 08 */ b lbl_8025D8D4 -lbl_8025D8D0: -/* 8025D8D0 0025A830 38 6D 97 D8 */ addi r3, r13, lbl_805A8398@sda21 -lbl_8025D8D4: -/* 8025D8D4 0025A834 C0 03 00 00 */ lfs f0, 0(r3) -/* 8025D8D8 0025A838 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8025D8DC 0025A83C 48 00 00 34 */ b lbl_8025D910 -lbl_8025D8E0: -/* 8025D8E0 0025A840 40 81 00 30 */ ble lbl_8025D910 -/* 8025D8E4 0025A844 C0 42 BA 1C */ lfs f2, lbl_805AD73C@sda21(r2) -/* 8025D8E8 0025A848 C0 0D 97 DC */ lfs f0, lbl_805A839C@sda21(r13) -/* 8025D8EC 0025A84C EC 22 18 7A */ fmadds f1, f2, f1, f3 -/* 8025D8F0 0025A850 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D8F4 0025A854 D0 21 00 08 */ stfs f1, 8(r1) -/* 8025D8F8 0025A858 40 80 00 0C */ bge lbl_8025D904 -/* 8025D8FC 0025A85C 38 61 00 08 */ addi r3, r1, 8 -/* 8025D900 0025A860 48 00 00 08 */ b lbl_8025D908 -lbl_8025D904: -/* 8025D904 0025A864 38 6D 97 DC */ addi r3, r13, lbl_805A839C@sda21 -lbl_8025D908: -/* 8025D908 0025A868 C0 03 00 00 */ lfs f0, 0(r3) -/* 8025D90C 0025A86C D0 1E 00 18 */ stfs f0, 0x18(r30) -lbl_8025D910: -/* 8025D910 0025A870 C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) -/* 8025D914 0025A874 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 8025D918 0025A878 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8025D91C 0025A87C 41 82 00 10 */ beq lbl_8025D92C -/* 8025D920 0025A880 C0 02 BA 20 */ lfs f0, lbl_805AD740@sda21(r2) -/* 8025D924 0025A884 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8025D928 0025A888 40 82 00 10 */ bne lbl_8025D938 -lbl_8025D92C: -/* 8025D92C 0025A88C 7F C3 F3 78 */ mr r3, r30 -/* 8025D930 0025A890 7F E4 FB 78 */ mr r4, r31 -/* 8025D934 0025A894 4B FF FD F9 */ bl sub_8025d72c -lbl_8025D938: -/* 8025D938 0025A898 C0 22 BA 18 */ lfs f1, lbl_805AD738@sda21(r2) -/* 8025D93C 0025A89C C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 8025D940 0025A8A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8025D944 0025A8A4 40 82 00 18 */ bne lbl_8025D95C -/* 8025D948 0025A8A8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8025D94C 0025A8AC 41 82 00 10 */ beq lbl_8025D95C -/* 8025D950 0025A8B0 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8025D954 0025A8B4 4B E8 E0 21 */ bl DisableBlur__15CCameraBlurPassFf -/* 8025D958 0025A8B8 48 00 00 3C */ b lbl_8025D994 -lbl_8025D95C: -/* 8025D95C 0025A8BC FC 00 02 10 */ fabs f0, f0 -/* 8025D960 0025A8C0 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 8025D964 0025A8C4 C0 42 BA 18 */ lfs f2, lbl_805AD738@sda21(r2) -/* 8025D968 0025A8C8 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8025D96C 0025A8CC C0 24 00 0C */ lfs f1, 0xc(r4) -/* 8025D970 0025A8D0 38 80 00 02 */ li r4, 2 -/* 8025D974 0025A8D4 FC 00 00 18 */ frsp f0, f0 -/* 8025D978 0025A8D8 38 A0 00 01 */ li r5, 1 -/* 8025D97C 0025A8DC EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025D980 0025A8E0 4B E8 E0 25 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 8025D984 0025A8E4 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 8025D988 0025A8E8 38 60 00 01 */ li r3, 1 -/* 8025D98C 0025A8EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8025D990 0025A8F0 98 1E 00 50 */ stb r0, 0x50(r30) -lbl_8025D994: -/* 8025D994 0025A8F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025D998 0025A8F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025D99C 0025A8FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025D9A0 0025A900 7C 08 03 A6 */ mtlr r0 -/* 8025D9A4 0025A904 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025D9A8 0025A908 4E 80 00 20 */ blr - -.global OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager -OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager: -/* 8025D9AC 0025A90C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D9B0 0025A910 7C 08 02 A6 */ mflr r0 -/* 8025D9B4 0025A914 2C 04 00 00 */ cmpwi r4, 0 -/* 8025D9B8 0025A918 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D9BC 0025A91C 38 00 00 00 */ li r0, 0 -/* 8025D9C0 0025A920 41 80 00 10 */ blt lbl_8025D9D0 -/* 8025D9C4 0025A924 2C 04 00 01 */ cmpwi r4, 1 -/* 8025D9C8 0025A928 41 81 00 08 */ bgt lbl_8025D9D0 -/* 8025D9CC 0025A92C 38 00 00 01 */ li r0, 1 -lbl_8025D9D0: -/* 8025D9D0 0025A930 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8025D9D4 0025A934 41 82 00 10 */ beq lbl_8025D9E4 -/* 8025D9D8 0025A938 38 80 00 00 */ li r4, 0 -/* 8025D9DC 0025A93C 4B FF FB E9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -/* 8025D9E0 0025A940 48 00 00 58 */ b lbl_8025DA38 -lbl_8025D9E4: -/* 8025D9E4 0025A944 2C 04 00 05 */ cmpwi r4, 5 -/* 8025D9E8 0025A948 41 82 00 30 */ beq lbl_8025DA18 -/* 8025D9EC 0025A94C 40 80 00 14 */ bge lbl_8025DA00 -/* 8025D9F0 0025A950 2C 04 00 02 */ cmpwi r4, 2 -/* 8025D9F4 0025A954 41 82 00 18 */ beq lbl_8025DA0C -/* 8025D9F8 0025A958 40 80 00 38 */ bge lbl_8025DA30 -/* 8025D9FC 0025A95C 48 00 00 3C */ b lbl_8025DA38 -lbl_8025DA00: -/* 8025DA00 0025A960 2C 04 00 07 */ cmpwi r4, 7 -/* 8025DA04 0025A964 40 80 00 34 */ bge lbl_8025DA38 -/* 8025DA08 0025A968 48 00 00 1C */ b lbl_8025DA24 -lbl_8025DA0C: -/* 8025DA0C 0025A96C 38 80 00 01 */ li r4, 1 -/* 8025DA10 0025A970 4B FF FB B5 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -/* 8025DA14 0025A974 48 00 00 24 */ b lbl_8025DA38 -lbl_8025DA18: -/* 8025DA18 0025A978 38 80 00 02 */ li r4, 2 -/* 8025DA1C 0025A97C 4B FF FB A9 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -/* 8025DA20 0025A980 48 00 00 18 */ b lbl_8025DA38 -lbl_8025DA24: -/* 8025DA24 0025A984 38 80 00 03 */ li r4, 3 -/* 8025DA28 0025A988 4B FF FB 9D */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -/* 8025DA2C 0025A98C 48 00 00 0C */ b lbl_8025DA38 -lbl_8025DA30: -/* 8025DA30 0025A990 38 80 00 04 */ li r4, 4 -/* 8025DA34 0025A994 4B FF FB 91 */ bl SetState__16CPauseScreenBlurFQ216CPauseScreenBlur6EState -lbl_8025DA38: -/* 8025DA38 0025A998 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DA3C 0025A99C 7C 08 03 A6 */ mtlr r0 -/* 8025DA40 0025A9A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DA44 0025A9A4 4E 80 00 20 */ blr - -.global __dt__16CPauseScreenBlurFv -__dt__16CPauseScreenBlurFv: -/* 8025DA48 0025A9A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DA4C 0025A9AC 7C 08 02 A6 */ mflr r0 -/* 8025DA50 0025A9B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DA54 0025A9B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DA58 0025A9B8 7C 9F 23 78 */ mr r31, r4 -/* 8025DA5C 0025A9BC 93 C1 00 08 */ stw r30, 8(r1) -/* 8025DA60 0025A9C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025DA64 0025A9C4 41 82 00 78 */ beq lbl_8025DADC -/* 8025DA68 0025A9C8 3C 60 80 3F */ lis r3, lbl_803E9A00@ha -/* 8025DA6C 0025A9CC 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8025DA70 0025A9D0 38 03 9A 00 */ addi r0, r3, lbl_803E9A00@l -/* 8025DA74 0025A9D4 90 1E 00 00 */ stw r0, 0(r30) -/* 8025DA78 0025A9D8 41 82 00 38 */ beq lbl_8025DAB0 -/* 8025DA7C 0025A9DC 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8025DA80 0025A9E0 41 82 00 30 */ beq lbl_8025DAB0 -/* 8025DA84 0025A9E4 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 8025DA88 0025A9E8 28 00 00 00 */ cmplwi r0, 0 -/* 8025DA8C 0025A9EC 41 82 00 1C */ beq lbl_8025DAA8 -/* 8025DA90 0025A9F0 34 7E 00 1C */ addic. r3, r30, 0x1c -/* 8025DA94 0025A9F4 41 82 00 14 */ beq lbl_8025DAA8 -/* 8025DA98 0025A9F8 28 03 00 00 */ cmplwi r3, 0 -/* 8025DA9C 0025A9FC 41 82 00 0C */ beq lbl_8025DAA8 -/* 8025DAA0 0025AA00 38 80 00 00 */ li r4, 0 -/* 8025DAA4 0025AA04 48 0E 33 9D */ bl __dt__6CTokenFv -lbl_8025DAA8: -/* 8025DAA8 0025AA08 38 00 00 00 */ li r0, 0 -/* 8025DAAC 0025AA0C 98 1E 00 28 */ stb r0, 0x28(r30) -lbl_8025DAB0: -/* 8025DAB0 0025AA10 34 1E 00 04 */ addic. r0, r30, 4 -/* 8025DAB4 0025AA14 41 82 00 18 */ beq lbl_8025DACC -/* 8025DAB8 0025AA18 34 1E 00 04 */ addic. r0, r30, 4 -/* 8025DABC 0025AA1C 41 82 00 10 */ beq lbl_8025DACC -/* 8025DAC0 0025AA20 38 7E 00 04 */ addi r3, r30, 4 -/* 8025DAC4 0025AA24 38 80 00 00 */ li r4, 0 -/* 8025DAC8 0025AA28 48 0E 33 79 */ bl __dt__6CTokenFv -lbl_8025DACC: -/* 8025DACC 0025AA2C 7F E0 07 35 */ extsh. r0, r31 -/* 8025DAD0 0025AA30 40 81 00 0C */ ble lbl_8025DADC -/* 8025DAD4 0025AA34 7F C3 F3 78 */ mr r3, r30 -/* 8025DAD8 0025AA38 48 0B 7E 59 */ bl Free__7CMemoryFPCv -lbl_8025DADC: -/* 8025DADC 0025AA3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DAE0 0025AA40 7F C3 F3 78 */ mr r3, r30 -/* 8025DAE4 0025AA44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DAE8 0025AA48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025DAEC 0025AA4C 7C 08 03 A6 */ mtlr r0 -/* 8025DAF0 0025AA50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DAF4 0025AA54 4E 80 00 20 */ blr - -.global __ct__16CPauseScreenBlurFv -__ct__16CPauseScreenBlurFv: -/* 8025DAF8 0025AA58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025DAFC 0025AA5C 7C 08 02 A6 */ mflr r0 -/* 8025DB00 0025AA60 3C 80 80 3F */ lis r4, lbl_803E9A00@ha -/* 8025DB04 0025AA64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025DB08 0025AA68 38 04 9A 00 */ addi r0, r4, lbl_803E9A00@l -/* 8025DB0C 0025AA6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025DB10 0025AA70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025DB14 0025AA74 7C 7E 1B 78 */ mr r30, r3 -/* 8025DB18 0025AA78 3C 60 80 3D */ lis r3, lbl_803D5240@ha -/* 8025DB1C 0025AA7C 90 1E 00 00 */ stw r0, 0(r30) -/* 8025DB20 0025AA80 38 A3 52 40 */ addi r5, r3, lbl_803D5240@l -/* 8025DB24 0025AA84 38 61 00 08 */ addi r3, r1, 8 -/* 8025DB28 0025AA88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8025DB2C 0025AA8C 81 84 00 00 */ lwz r12, 0(r4) -/* 8025DB30 0025AA90 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025DB34 0025AA94 7D 89 03 A6 */ mtctr r12 -/* 8025DB38 0025AA98 4E 80 04 21 */ bctrl -/* 8025DB3C 0025AA9C 3B FE 00 04 */ addi r31, r30, 4 -/* 8025DB40 0025AAA0 38 81 00 08 */ addi r4, r1, 8 -/* 8025DB44 0025AAA4 7F E3 FB 78 */ mr r3, r31 -/* 8025DB48 0025AAA8 48 0E 33 61 */ bl __ct__6CTokenFRC6CToken -/* 8025DB4C 0025AAAC 7F E3 FB 78 */ mr r3, r31 -/* 8025DB50 0025AAB0 48 0E 32 BD */ bl GetObj__6CTokenFv -/* 8025DB54 0025AAB4 80 03 00 04 */ lwz r0, 4(r3) -/* 8025DB58 0025AAB8 38 61 00 08 */ addi r3, r1, 8 -/* 8025DB5C 0025AABC 38 80 FF FF */ li r4, -1 -/* 8025DB60 0025AAC0 90 1F 00 08 */ stw r0, 8(r31) -/* 8025DB64 0025AAC4 48 0E 32 DD */ bl __dt__6CTokenFv -/* 8025DB68 0025AAC8 38 00 00 00 */ li r0, 0 -/* 8025DB6C 0025AACC C0 02 BA 18 */ lfs f0, lbl_805AD738@sda21(r2) -/* 8025DB70 0025AAD0 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8025DB74 0025AAD4 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8025DB78 0025AAD8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8025DB7C 0025AADC D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8025DB80 0025AAE0 4B E8 E4 BD */ bl __ct__15CCameraBlurPassFv -/* 8025DB84 0025AAE4 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 8025DB88 0025AAE8 38 60 00 00 */ li r3, 0 -/* 8025DB8C 0025AAEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8025DB90 0025AAF0 38 80 00 01 */ li r4, 1 -/* 8025DB94 0025AAF4 98 1E 00 50 */ stb r0, 0x50(r30) -/* 8025DB98 0025AAF8 7F C3 F3 78 */ mr r3, r30 -/* 8025DB9C 0025AAFC 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 8025DBA0 0025AB00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8025DBA4 0025AB04 98 1E 00 50 */ stb r0, 0x50(r30) -/* 8025DBA8 0025AB08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025DBAC 0025AB0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025DBB0 0025AB10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025DBB4 0025AB14 7C 08 03 A6 */ mtlr r0 -/* 8025DBB8 0025AB18 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025DBBC 0025AB1C 4E 80 00 20 */ blr - -.global sub_8025dbc0 -sub_8025dbc0: -/* 8025DBC0 0025AB20 38 63 05 68 */ addi r3, r3, 0x568 -/* 8025DBC4 0025AB24 4E 80 00 20 */ blr - -.global sub_8025dbc8 -sub_8025dbc8: -/* 8025DBC8 0025AB28 38 60 00 01 */ li r3, 1 -/* 8025DBCC 0025AB2C 4E 80 00 20 */ blr - -.global sub_8025dbd0 -sub_8025dbd0: -/* 8025DBD0 0025AB30 94 21 F5 E0 */ stwu r1, -0xa20(r1) -/* 8025DBD4 0025AB34 7C 08 02 A6 */ mflr r0 -/* 8025DBD8 0025AB38 90 01 0A 24 */ stw r0, 0xa24(r1) -/* 8025DBDC 0025AB3C DB E1 0A 10 */ stfd f31, 0xa10(r1) -/* 8025DBE0 0025AB40 F3 E1 0A 18 */ psq_st f31, -1512(r1), 0, qr0 -/* 8025DBE4 0025AB44 DB C1 0A 00 */ stfd f30, 0xa00(r1) -/* 8025DBE8 0025AB48 F3 C1 0A 08 */ psq_st f30, -1528(r1), 0, qr0 -/* 8025DBEC 0025AB4C DB A1 09 F0 */ stfd f29, 0x9f0(r1) -/* 8025DBF0 0025AB50 F3 A1 09 F8 */ psq_st f29, -1544(r1), 0, qr0 -/* 8025DBF4 0025AB54 DB 81 09 E0 */ stfd f28, 0x9e0(r1) -/* 8025DBF8 0025AB58 F3 81 09 E8 */ psq_st f28, -1560(r1), 0, qr0 -/* 8025DBFC 0025AB5C BF 21 09 C4 */ stmw r25, 0x9c4(r1) -/* 8025DC00 0025AB60 7C 9B 23 78 */ mr r27, r4 -/* 8025DC04 0025AB64 80 82 BA 2C */ lwz r4, lbl_805AD74C@sda21(r2) -/* 8025DC08 0025AB68 7C 7A 1B 78 */ mr r26, r3 -/* 8025DC0C 0025AB6C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025DC10 0025AB70 4B DA 70 A9 */ bl string_l__4rstlFPCc -/* 8025DC14 0025AB74 7F 44 D3 78 */ mr r4, r26 -/* 8025DC18 0025AB78 38 61 01 80 */ addi r3, r1, 0x180 -/* 8025DC1C 0025AB7C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8025DC20 0025AB80 4B E1 AD 59 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025DC24 0025AB84 C0 41 01 AC */ lfs f2, 0x1ac(r1) -/* 8025DC28 0025AB88 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025DC2C 0025AB8C C0 21 01 9C */ lfs f1, 0x19c(r1) -/* 8025DC30 0025AB90 C0 01 01 8C */ lfs f0, 0x18c(r1) -/* 8025DC34 0025AB94 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8025DC38 0025AB98 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8025DC3C 0025AB9C D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8025DC40 0025ABA0 48 0D FE A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025DC44 0025ABA4 C0 5A 00 58 */ lfs f2, 0x58(r26) -/* 8025DC48 0025ABA8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8025DC4C 0025ABAC C0 3A 00 48 */ lfs f1, 0x48(r26) -/* 8025DC50 0025ABB0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l -/* 8025DC54 0025ABB4 C0 1A 00 38 */ lfs f0, 0x38(r26) -/* 8025DC58 0025ABB8 7F 64 DB 78 */ mr r4, r27 -/* 8025DC5C 0025ABBC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8025DC60 0025ABC0 38 61 01 50 */ addi r3, r1, 0x150 -/* 8025DC64 0025ABC4 C0 22 BA 30 */ lfs f1, lbl_805AD750@sda21(r2) -/* 8025DC68 0025ABC8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8025DC6C 0025ABCC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8025DC70 0025ABD0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8025DC74 0025ABD4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8025DC78 0025ABD8 4B DE F3 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8025DC7C 0025ABDC 88 01 01 70 */ lbz r0, 0x170(r1) -/* 8025DC80 0025ABE0 28 00 00 00 */ cmplwi r0, 0 -/* 8025DC84 0025ABE4 41 82 00 0C */ beq lbl_8025DC90 -/* 8025DC88 0025ABE8 38 60 00 01 */ li r3, 1 -/* 8025DC8C 0025ABEC 48 00 03 74 */ b lbl_8025E000 -lbl_8025DC90: -/* 8025DC90 0025ABF0 83 FB 08 4C */ lwz r31, 0x84c(r27) -/* 8025DC94 0025ABF4 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 8025DC98 0025ABF8 4B E9 B1 6D */ bl GetBallRadius__10CMorphBallCFv -/* 8025DC9C 0025ABFC FF E0 08 90 */ fmr f31, f1 -/* 8025DCA0 0025AC00 80 AD 97 FC */ lwz r5, lbl_805A83BC@sda21(r13) -/* 8025DCA4 0025AC04 38 60 00 00 */ li r3, 0 -/* 8025DCA8 0025AC08 38 80 00 01 */ li r4, 1 -/* 8025DCAC 0025AC0C 48 12 C2 49 */ bl __shl2i -/* 8025DCB0 0025AC10 80 AD 97 F8 */ lwz r5, lbl_805A83B8@sda21(r13) -/* 8025DCB4 0025AC14 7C 9D 23 78 */ mr r29, r4 -/* 8025DCB8 0025AC18 7C 7C 1B 78 */ mr r28, r3 -/* 8025DCBC 0025AC1C 38 60 00 00 */ li r3, 0 -/* 8025DCC0 0025AC20 38 80 00 01 */ li r4, 1 -/* 8025DCC4 0025AC24 48 12 C2 31 */ bl __shl2i -/* 8025DCC8 0025AC28 38 C0 00 03 */ li r6, 3 -/* 8025DCCC 0025AC2C 38 00 00 00 */ li r0, 0 -/* 8025DCD0 0025AC30 90 81 00 9C */ stw r4, 0x9c(r1) -/* 8025DCD4 0025AC34 38 80 00 01 */ li r4, 1 -/* 8025DCD8 0025AC38 80 AD 98 00 */ lwz r5, lbl_805A83C0@sda21(r13) -/* 8025DCDC 0025AC3C 90 61 00 98 */ stw r3, 0x98(r1) -/* 8025DCE0 0025AC40 38 60 00 00 */ li r3, 0 -/* 8025DCE4 0025AC44 90 C1 00 70 */ stw r6, 0x70(r1) -/* 8025DCE8 0025AC48 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8025DCEC 0025AC4C 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 8025DCF0 0025AC50 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 8025DCF4 0025AC54 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8025DCF8 0025AC58 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025DCFC 0025AC5C 48 12 C1 F9 */ bl __shl2i -/* 8025DD00 0025AC60 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8025DD04 0025AC64 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8025DD08 0025AC68 7C 00 1B 78 */ or r0, r0, r3 -/* 8025DD0C 0025AC6C 80 AD 98 04 */ lwz r5, lbl_805A83C4@sda21(r13) -/* 8025DD10 0025AC70 7C C4 23 78 */ or r4, r6, r4 -/* 8025DD14 0025AC74 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025DD18 0025AC78 38 60 00 00 */ li r3, 0 -/* 8025DD1C 0025AC7C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8025DD20 0025AC80 38 80 00 01 */ li r4, 1 -/* 8025DD24 0025AC84 48 12 C1 D1 */ bl __shl2i -/* 8025DD28 0025AC88 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8025DD2C 0025AC8C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8025DD30 0025AC90 7C 00 1B 78 */ or r0, r0, r3 -/* 8025DD34 0025AC94 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) -/* 8025DD38 0025AC98 7C A5 23 78 */ or r5, r5, r4 -/* 8025DD3C 0025AC9C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025DD40 0025ACA0 38 61 00 78 */ addi r3, r1, 0x78 -/* 8025DD44 0025ACA4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8025DD48 0025ACA8 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8025DD4C 0025ACAC C0 7F 00 40 */ lfs f3, 0x40(r31) -/* 8025DD50 0025ACB0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8025DD54 0025ACB4 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8025DD58 0025ACB8 EF 83 10 2A */ fadds f28, f3, f2 -/* 8025DD5C 0025ACBC EF A1 10 2A */ fadds f29, f1, f2 -/* 8025DD60 0025ACC0 EF C0 F8 2A */ fadds f30, f0, f31 -/* 8025DD64 0025ACC4 48 07 1B 51 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8025DD68 0025ACC8 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8025DD6C 0025ACCC 38 00 00 00 */ li r0, 0 -/* 8025DD70 0025ACD0 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l -/* 8025DD74 0025ACD4 D3 81 00 88 */ stfs f28, 0x88(r1) -/* 8025DD78 0025ACD8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8025DD7C 0025ACDC 38 81 00 78 */ addi r4, r1, 0x78 -/* 8025DD80 0025ACE0 90 A1 00 78 */ stw r5, 0x78(r1) -/* 8025DD84 0025ACE4 D3 A1 00 8C */ stfs f29, 0x8c(r1) -/* 8025DD88 0025ACE8 D3 C1 00 90 */ stfs f30, 0x90(r1) -/* 8025DD8C 0025ACEC D3 E1 00 94 */ stfs f31, 0x94(r1) -/* 8025DD90 0025ACF0 90 01 01 B0 */ stw r0, 0x1b0(r1) -/* 8025DD94 0025ACF4 48 07 66 39 */ bl CalculateLocalAABox__17CCollidableSphereCFv -/* 8025DD98 0025ACF8 7F 63 DB 78 */ mr r3, r27 -/* 8025DD9C 0025ACFC 7F E5 FB 78 */ mr r5, r31 -/* 8025DDA0 0025AD00 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 8025DDA4 0025AD04 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8025DDA8 0025AD08 4B DE E9 55 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -/* 8025DDAC 0025AD0C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8025DDB0 0025AD10 7F 63 DB 78 */ mr r3, r27 -/* 8025DDB4 0025AD14 38 A4 66 70 */ addi r5, r4, skIdentity4f@l -/* 8025DDB8 0025AD18 38 C1 00 98 */ addi r6, r1, 0x98 -/* 8025DDBC 0025AD1C 38 81 00 78 */ addi r4, r1, 0x78 -/* 8025DDC0 0025AD20 4B F2 55 E1 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter -/* 8025DDC4 0025AD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025DDC8 0025AD28 41 82 00 78 */ beq lbl_8025DE40 -/* 8025DDCC 0025AD2C 80 A1 01 B0 */ lwz r5, 0x1b0(r1) -/* 8025DDD0 0025AD30 38 60 00 00 */ li r3, 0 -/* 8025DDD4 0025AD34 2C 05 00 00 */ cmpwi r5, 0 -/* 8025DDD8 0025AD38 40 81 00 40 */ ble lbl_8025DE18 -/* 8025DDDC 0025AD3C 2C 05 00 08 */ cmpwi r5, 8 -/* 8025DDE0 0025AD40 38 85 FF F8 */ addi r4, r5, -8 -/* 8025DDE4 0025AD44 40 81 00 20 */ ble lbl_8025DE04 -/* 8025DDE8 0025AD48 38 04 00 07 */ addi r0, r4, 7 -/* 8025DDEC 0025AD4C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8025DDF0 0025AD50 7C 09 03 A6 */ mtctr r0 -/* 8025DDF4 0025AD54 2C 04 00 00 */ cmpwi r4, 0 -/* 8025DDF8 0025AD58 40 81 00 0C */ ble lbl_8025DE04 -lbl_8025DDFC: -/* 8025DDFC 0025AD5C 38 63 00 08 */ addi r3, r3, 8 -/* 8025DE00 0025AD60 42 00 FF FC */ bdnz lbl_8025DDFC -lbl_8025DE04: -/* 8025DE04 0025AD64 7C 03 28 50 */ subf r0, r3, r5 -/* 8025DE08 0025AD68 7C 09 03 A6 */ mtctr r0 -/* 8025DE0C 0025AD6C 7C 03 28 00 */ cmpw r3, r5 -/* 8025DE10 0025AD70 40 80 00 08 */ bge lbl_8025DE18 -lbl_8025DE14: -/* 8025DE14 0025AD74 42 00 00 00 */ bdnz lbl_8025DE14 -lbl_8025DE18: -/* 8025DE18 0025AD78 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8025DE1C 0025AD7C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8025DE20 0025AD80 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 8025DE24 0025AD84 38 80 00 00 */ li r4, 0 -/* 8025DE28 0025AD88 90 01 00 78 */ stw r0, 0x78(r1) -/* 8025DE2C 0025AD8C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8025DE30 0025AD90 38 60 00 01 */ li r3, 1 -/* 8025DE34 0025AD94 90 81 01 B0 */ stw r4, 0x1b0(r1) -/* 8025DE38 0025AD98 90 01 00 78 */ stw r0, 0x78(r1) -/* 8025DE3C 0025AD9C 48 00 01 C4 */ b lbl_8025E000 -lbl_8025DE40: -/* 8025DE40 0025ADA0 3B A1 01 B4 */ addi r29, r1, 0x1b4 -/* 8025DE44 0025ADA4 3B E1 00 E8 */ addi r31, r1, 0xe8 -/* 8025DE48 0025ADA8 7F BC EB 78 */ mr r28, r29 -/* 8025DE4C 0025ADAC 3B C1 01 20 */ addi r30, r1, 0x120 -/* 8025DE50 0025ADB0 48 00 01 30 */ b lbl_8025DF80 -lbl_8025DE54: -/* 8025DE54 0025ADB4 A0 7C 00 00 */ lhz r3, 0(r28) -/* 8025DE58 0025ADB8 A0 1A 00 08 */ lhz r0, 8(r26) -/* 8025DE5C 0025ADBC 7C 03 00 40 */ cmplw r3, r0 -/* 8025DE60 0025ADC0 41 82 01 1C */ beq lbl_8025DF7C -/* 8025DE64 0025ADC4 B0 61 00 08 */ sth r3, 8(r1) -/* 8025DE68 0025ADC8 7F 63 DB 78 */ mr r3, r27 -/* 8025DE6C 0025ADCC 38 81 00 08 */ addi r4, r1, 8 -/* 8025DE70 0025ADD0 4B DE E7 35 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025DE74 0025ADD4 7C 64 1B 78 */ mr r4, r3 -/* 8025DE78 0025ADD8 38 61 00 0C */ addi r3, r1, 0xc -/* 8025DE7C 0025ADDC 4B E4 E8 69 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 8025DE80 0025ADE0 83 23 00 04 */ lwz r25, 4(r3) -/* 8025DE84 0025ADE4 28 19 00 00 */ cmplwi r25, 0 -/* 8025DE88 0025ADE8 41 82 00 F4 */ beq lbl_8025DF7C -/* 8025DE8C 0025ADEC 7F 24 CB 78 */ mr r4, r25 -/* 8025DE90 0025ADF0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8025DE94 0025ADF4 81 99 00 00 */ lwz r12, 0(r25) -/* 8025DE98 0025ADF8 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8025DE9C 0025ADFC 7D 89 03 A6 */ mtctr r12 -/* 8025DEA0 0025AE00 4E 80 04 21 */ bctrl -/* 8025DEA4 0025AE04 7F 23 CB 78 */ mr r3, r25 -/* 8025DEA8 0025AE08 81 99 00 00 */ lwz r12, 0(r25) -/* 8025DEAC 0025AE0C 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 8025DEB0 0025AE10 7D 89 03 A6 */ mtctr r12 -/* 8025DEB4 0025AE14 4E 80 04 21 */ bctrl -/* 8025DEB8 0025AE18 3C 80 80 5A */ lis r4, lbl_8059FD18@ha -/* 8025DEBC 0025AE1C 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 8025DEC0 0025AE20 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l -/* 8025DEC4 0025AE24 7F E3 FB 78 */ mr r3, r31 -/* 8025DEC8 0025AE28 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8025DECC 0025AE2C 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8025DED0 0025AE30 48 0B 4C A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025DED4 0025AE34 38 81 00 78 */ addi r4, r1, 0x78 -/* 8025DED8 0025AE38 38 01 00 98 */ addi r0, r1, 0x98 -/* 8025DEDC 0025AE3C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8025DEE0 0025AE40 90 81 01 18 */ stw r4, 0x118(r1) -/* 8025DEE4 0025AE44 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8025DEE8 0025AE48 90 01 01 1C */ stw r0, 0x11c(r1) -/* 8025DEEC 0025AE4C 7F C3 F3 78 */ mr r3, r30 -/* 8025DEF0 0025AE50 48 0B 4C 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025DEF4 0025AE54 38 61 01 18 */ addi r3, r1, 0x118 -/* 8025DEF8 0025AE58 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 8025DEFC 0025AE5C 48 07 09 31 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc -/* 8025DF00 0025AE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025DF04 0025AE64 41 82 00 78 */ beq lbl_8025DF7C -/* 8025DF08 0025AE68 80 A1 01 B0 */ lwz r5, 0x1b0(r1) -/* 8025DF0C 0025AE6C 38 60 00 00 */ li r3, 0 -/* 8025DF10 0025AE70 2C 05 00 00 */ cmpwi r5, 0 -/* 8025DF14 0025AE74 40 81 00 40 */ ble lbl_8025DF54 -/* 8025DF18 0025AE78 2C 05 00 08 */ cmpwi r5, 8 -/* 8025DF1C 0025AE7C 38 85 FF F8 */ addi r4, r5, -8 -/* 8025DF20 0025AE80 40 81 00 20 */ ble lbl_8025DF40 -/* 8025DF24 0025AE84 38 04 00 07 */ addi r0, r4, 7 -/* 8025DF28 0025AE88 54 00 E8 FE */ srwi r0, r0, 3 -/* 8025DF2C 0025AE8C 7C 09 03 A6 */ mtctr r0 -/* 8025DF30 0025AE90 2C 04 00 00 */ cmpwi r4, 0 -/* 8025DF34 0025AE94 40 81 00 0C */ ble lbl_8025DF40 -lbl_8025DF38: -/* 8025DF38 0025AE98 38 63 00 08 */ addi r3, r3, 8 -/* 8025DF3C 0025AE9C 42 00 FF FC */ bdnz lbl_8025DF38 -lbl_8025DF40: -/* 8025DF40 0025AEA0 7C 03 28 50 */ subf r0, r3, r5 -/* 8025DF44 0025AEA4 7C 09 03 A6 */ mtctr r0 -/* 8025DF48 0025AEA8 7C 03 28 00 */ cmpw r3, r5 -/* 8025DF4C 0025AEAC 40 80 00 08 */ bge lbl_8025DF54 -lbl_8025DF50: -/* 8025DF50 0025AEB0 42 00 00 00 */ bdnz lbl_8025DF50 -lbl_8025DF54: -/* 8025DF54 0025AEB4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8025DF58 0025AEB8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8025DF5C 0025AEBC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 8025DF60 0025AEC0 38 80 00 00 */ li r4, 0 -/* 8025DF64 0025AEC4 90 01 00 78 */ stw r0, 0x78(r1) -/* 8025DF68 0025AEC8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8025DF6C 0025AECC 38 60 00 01 */ li r3, 1 -/* 8025DF70 0025AED0 90 81 01 B0 */ stw r4, 0x1b0(r1) -/* 8025DF74 0025AED4 90 01 00 78 */ stw r0, 0x78(r1) -/* 8025DF78 0025AED8 48 00 00 88 */ b lbl_8025E000 -lbl_8025DF7C: -/* 8025DF7C 0025AEDC 3B 9C 00 02 */ addi r28, r28, 2 -lbl_8025DF80: -/* 8025DF80 0025AEE0 80 A1 01 B0 */ lwz r5, 0x1b0(r1) -/* 8025DF84 0025AEE4 54 A0 08 3C */ slwi r0, r5, 1 -/* 8025DF88 0025AEE8 7C 1D 02 14 */ add r0, r29, r0 -/* 8025DF8C 0025AEEC 7C 1C 00 40 */ cmplw r28, r0 -/* 8025DF90 0025AEF0 40 82 FE C4 */ bne lbl_8025DE54 -/* 8025DF94 0025AEF4 2C 05 00 00 */ cmpwi r5, 0 -/* 8025DF98 0025AEF8 38 60 00 00 */ li r3, 0 -/* 8025DF9C 0025AEFC 40 81 00 40 */ ble lbl_8025DFDC -/* 8025DFA0 0025AF00 2C 05 00 08 */ cmpwi r5, 8 -/* 8025DFA4 0025AF04 38 85 FF F8 */ addi r4, r5, -8 -/* 8025DFA8 0025AF08 40 81 00 20 */ ble lbl_8025DFC8 -/* 8025DFAC 0025AF0C 38 04 00 07 */ addi r0, r4, 7 -/* 8025DFB0 0025AF10 54 00 E8 FE */ srwi r0, r0, 3 -/* 8025DFB4 0025AF14 7C 09 03 A6 */ mtctr r0 -/* 8025DFB8 0025AF18 2C 04 00 00 */ cmpwi r4, 0 -/* 8025DFBC 0025AF1C 40 81 00 0C */ ble lbl_8025DFC8 -lbl_8025DFC0: -/* 8025DFC0 0025AF20 38 63 00 08 */ addi r3, r3, 8 -/* 8025DFC4 0025AF24 42 00 FF FC */ bdnz lbl_8025DFC0 -lbl_8025DFC8: -/* 8025DFC8 0025AF28 7C 03 28 50 */ subf r0, r3, r5 -/* 8025DFCC 0025AF2C 7C 09 03 A6 */ mtctr r0 -/* 8025DFD0 0025AF30 7C 03 28 00 */ cmpw r3, r5 -/* 8025DFD4 0025AF34 40 80 00 08 */ bge lbl_8025DFDC -lbl_8025DFD8: -/* 8025DFD8 0025AF38 42 00 00 00 */ bdnz lbl_8025DFD8 -lbl_8025DFDC: -/* 8025DFDC 0025AF3C 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8025DFE0 0025AF40 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8025DFE4 0025AF44 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 8025DFE8 0025AF48 38 80 00 00 */ li r4, 0 -/* 8025DFEC 0025AF4C 90 01 00 78 */ stw r0, 0x78(r1) -/* 8025DFF0 0025AF50 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8025DFF4 0025AF54 38 60 00 00 */ li r3, 0 -/* 8025DFF8 0025AF58 90 81 01 B0 */ stw r4, 0x1b0(r1) -/* 8025DFFC 0025AF5C 90 01 00 78 */ stw r0, 0x78(r1) -lbl_8025E000: -/* 8025E000 0025AF60 E3 E1 0A 18 */ psq_l f31, -1512(r1), 0, qr0 -/* 8025E004 0025AF64 CB E1 0A 10 */ lfd f31, 0xa10(r1) -/* 8025E008 0025AF68 E3 C1 0A 08 */ psq_l f30, -1528(r1), 0, qr0 -/* 8025E00C 0025AF6C CB C1 0A 00 */ lfd f30, 0xa00(r1) -/* 8025E010 0025AF70 E3 A1 09 F8 */ psq_l f29, -1544(r1), 0, qr0 -/* 8025E014 0025AF74 CB A1 09 F0 */ lfd f29, 0x9f0(r1) -/* 8025E018 0025AF78 E3 81 09 E8 */ psq_l f28, -1560(r1), 0, qr0 -/* 8025E01C 0025AF7C CB 81 09 E0 */ lfd f28, 0x9e0(r1) -/* 8025E020 0025AF80 BB 21 09 C4 */ lmw r25, 0x9c4(r1) -/* 8025E024 0025AF84 80 01 0A 24 */ lwz r0, 0xa24(r1) -/* 8025E028 0025AF88 7C 08 03 A6 */ mtlr r0 -/* 8025E02C 0025AF8C 38 21 0A 20 */ addi r1, r1, 0xa20 -/* 8025E030 0025AF90 4E 80 00 20 */ blr - -.global sub_8025e034 -sub_8025e034: -/* 8025E034 0025AF94 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025E038 0025AF98 7C 08 02 A6 */ mflr r0 -/* 8025E03C 0025AF9C 2C 05 00 01 */ cmpwi r5, 1 -/* 8025E040 0025AFA0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025E044 0025AFA4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8025E048 0025AFA8 7C 7F 1B 78 */ mr r31, r3 -/* 8025E04C 0025AFAC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8025E050 0025AFB0 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8025E054 0025AFB4 7C 9D 23 78 */ mr r29, r4 -/* 8025E058 0025AFB8 83 C4 08 4C */ lwz r30, 0x84c(r4) -/* 8025E05C 0025AFBC 41 82 00 5C */ beq lbl_8025E0B8 -/* 8025E060 0025AFC0 40 80 00 10 */ bge lbl_8025E070 -/* 8025E064 0025AFC4 2C 05 00 00 */ cmpwi r5, 0 -/* 8025E068 0025AFC8 40 80 00 14 */ bge lbl_8025E07C -/* 8025E06C 0025AFCC 48 00 01 2C */ b lbl_8025E198 -lbl_8025E070: -/* 8025E070 0025AFD0 2C 05 00 03 */ cmpwi r5, 3 -/* 8025E074 0025AFD4 40 80 01 24 */ bge lbl_8025E198 -/* 8025E078 0025AFD8 48 00 00 D8 */ b lbl_8025E150 -lbl_8025E07C: -/* 8025E07C 0025AFDC 7F C3 F3 78 */ mr r3, r30 -/* 8025E080 0025AFE0 4B EB D2 F9 */ bl Stop__13CPhysicsActorFv -/* 8025E084 0025AFE4 7F C3 F3 78 */ mr r3, r30 -/* 8025E088 0025AFE8 7F A5 EB 78 */ mr r5, r29 -/* 8025E08C 0025AFEC 38 80 00 13 */ li r4, 0x13 -/* 8025E090 0025AFF0 4B DF 5E F1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025E094 0025AFF4 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8025E098 0025AFF8 38 80 00 00 */ li r4, 0 -/* 8025E09C 0025AFFC 38 00 00 01 */ li r0, 1 -/* 8025E0A0 0025B000 98 83 05 90 */ stb r4, 0x590(r3) -/* 8025E0A4 0025B004 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8025E0A8 0025B008 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025E0AC 0025B00C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8025E0B0 0025B010 98 1F 06 98 */ stb r0, 0x698(r31) -/* 8025E0B4 0025B014 48 00 00 E4 */ b lbl_8025E198 -lbl_8025E0B8: -/* 8025E0B8 0025B018 3C A0 80 3F */ lis r5, lbl_803E9A34@ha -/* 8025E0BC 0025B01C 38 C1 00 24 */ addi r6, r1, 0x24 -/* 8025E0C0 0025B020 39 45 9A 34 */ addi r10, r5, lbl_803E9A34@l -/* 8025E0C4 0025B024 38 A0 00 07 */ li r5, 7 -/* 8025E0C8 0025B028 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025E0CC 0025B02C 38 E0 00 00 */ li r7, 0 -/* 8025E0D0 0025B030 81 0A 00 04 */ lwz r8, 4(r10) -/* 8025E0D4 0025B034 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025E0D8 0025B038 91 21 00 24 */ stw r9, 0x24(r1) -/* 8025E0DC 0025B03C 91 01 00 28 */ stw r8, 0x28(r1) -/* 8025E0E0 0025B040 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8025E0E4 0025B044 4B E1 E6 D1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025E0E8 0025B048 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025E0EC 0025B04C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025E0F0 0025B050 40 82 00 A8 */ bne lbl_8025E198 -/* 8025E0F4 0025B054 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025E0F8 0025B058 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025E0FC 0025B05C 4B DA 6B BD */ bl string_l__4rstlFPCc -/* 8025E100 0025B060 7F E4 FB 78 */ mr r4, r31 -/* 8025E104 0025B064 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025E108 0025B068 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025E10C 0025B06C 4B E1 A8 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025E110 0025B070 38 61 00 60 */ addi r3, r1, 0x60 -/* 8025E114 0025B074 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025E118 0025B078 48 0B 4A 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025E11C 0025B07C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025E120 0025B080 48 0D F9 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025E124 0025B084 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 8025E128 0025B088 7F E3 FB 78 */ mr r3, r31 -/* 8025E12C 0025B08C C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 8025E130 0025B090 7F A4 EB 78 */ mr r4, r29 -/* 8025E134 0025B094 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8025E138 0025B098 38 A1 00 08 */ addi r5, r1, 8 -/* 8025E13C 0025B09C D0 41 00 08 */ stfs f2, 8(r1) -/* 8025E140 0025B0A0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025E144 0025B0A4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025E148 0025B0A8 48 00 12 55 */ bl sub_8025f39c -/* 8025E14C 0025B0AC 48 00 00 4C */ b lbl_8025E198 -lbl_8025E150: -/* 8025E150 0025B0B0 38 00 00 00 */ li r0, 0 -/* 8025E154 0025B0B4 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8025E158 0025B0B8 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8025E15C 0025B0BC A0 1F 00 08 */ lhz r0, 8(r31) -/* 8025E160 0025B0C0 A0 83 02 6C */ lhz r4, 0x26c(r3) -/* 8025E164 0025B0C4 7C 04 00 40 */ cmplw r4, r0 -/* 8025E168 0025B0C8 40 82 00 30 */ bne lbl_8025E198 -/* 8025E16C 0025B0CC 38 00 00 01 */ li r0, 1 -/* 8025E170 0025B0D0 7F A5 EB 78 */ mr r5, r29 -/* 8025E174 0025B0D4 98 03 05 90 */ stb r0, 0x590(r3) -/* 8025E178 0025B0D8 38 80 00 13 */ li r4, 0x13 -/* 8025E17C 0025B0DC 4B DF 61 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025E180 0025B0E0 7F C3 F3 78 */ mr r3, r30 -/* 8025E184 0025B0E4 4B DB 68 21 */ bl DetachActorFromPlayer__7CPlayerFv -/* 8025E188 0025B0E8 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025E18C 0025B0EC 38 60 00 00 */ li r3, 0 -/* 8025E190 0025B0F0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025E194 0025B0F4 98 1F 06 98 */ stb r0, 0x698(r31) -lbl_8025E198: -/* 8025E198 0025B0F8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025E19C 0025B0FC 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8025E1A0 0025B100 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8025E1A4 0025B104 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8025E1A8 0025B108 7C 08 03 A6 */ mtlr r0 -/* 8025E1AC 0025B10C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025E1B0 0025B110 4E 80 00 20 */ blr - -.global sub_8025e1b4 -sub_8025e1b4: -/* 8025E1B4 0025B114 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025E1B8 0025B118 7C 08 02 A6 */ mflr r0 -/* 8025E1BC 0025B11C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025E1C0 0025B120 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025E1C4 0025B124 7C BF 2B 78 */ mr r31, r5 -/* 8025E1C8 0025B128 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8025E1CC 0025B12C 7C 9E 23 78 */ mr r30, r4 -/* 8025E1D0 0025B130 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8025E1D4 0025B134 7C 7D 1B 78 */ mr r29, r3 -/* 8025E1D8 0025B138 4B F9 89 05 */ bl TargetPlayer__10CPatternedFR13CStateManager9EStateMsgf -/* 8025E1DC 0025B13C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8025E1E0 0025B140 41 82 00 08 */ beq lbl_8025E1E8 -/* 8025E1E4 0025B144 48 00 00 64 */ b lbl_8025E248 -lbl_8025E1E8: -/* 8025E1E8 0025B148 A0 7D 06 94 */ lhz r3, 0x694(r29) -/* 8025E1EC 0025B14C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E1F0 0025B150 7C 03 00 40 */ cmplw r3, r0 -/* 8025E1F4 0025B154 41 82 00 54 */ beq lbl_8025E248 -/* 8025E1F8 0025B158 A0 1D 06 94 */ lhz r0, 0x694(r29) -/* 8025E1FC 0025B15C 7F C3 F3 78 */ mr r3, r30 -/* 8025E200 0025B160 38 81 00 08 */ addi r4, r1, 8 -/* 8025E204 0025B164 B0 01 00 08 */ sth r0, 8(r1) -/* 8025E208 0025B168 4B DE E3 6D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025E20C 0025B16C 7C 64 1B 78 */ mr r4, r3 -/* 8025E210 0025B170 38 61 00 0C */ addi r3, r1, 0xc -/* 8025E214 0025B174 4B E5 18 29 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025E218 0025B178 80 83 00 04 */ lwz r4, 4(r3) -/* 8025E21C 0025B17C 28 04 00 00 */ cmplwi r4, 0 -/* 8025E220 0025B180 41 82 00 28 */ beq lbl_8025E248 -/* 8025E224 0025B184 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8025E228 0025B188 38 60 00 00 */ li r3, 0 -/* 8025E22C 0025B18C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025E230 0025B190 98 04 01 90 */ stb r0, 0x190(r4) -/* 8025E234 0025B194 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8025E238 0025B198 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8025E23C 0025B19C 98 04 01 90 */ stb r0, 0x190(r4) -/* 8025E240 0025B1A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E244 0025B1A4 B0 1D 06 94 */ sth r0, 0x694(r29) -lbl_8025E248: -/* 8025E248 0025B1A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025E24C 0025B1AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025E250 0025B1B0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025E254 0025B1B4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8025E258 0025B1B8 7C 08 03 A6 */ mtlr r0 -/* 8025E25C 0025B1BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025E260 0025B1C0 4E 80 00 20 */ blr - -.global sub_8025e264 -sub_8025e264: -/* 8025E264 0025B1C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E268 0025B1C8 7C 08 02 A6 */ mflr r0 -/* 8025E26C 0025B1CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E270 0025B1D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025E274 0025B1D4 7C BF 2B 78 */ mr r31, r5 -/* 8025E278 0025B1D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025E27C 0025B1DC 7C 9E 23 78 */ mr r30, r4 -/* 8025E280 0025B1E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025E284 0025B1E4 7C 7D 1B 78 */ mr r29, r3 -/* 8025E288 0025B1E8 4B F9 8B ED */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 8025E28C 0025B1EC 2C 1F 00 01 */ cmpwi r31, 1 -/* 8025E290 0025B1F0 41 82 00 28 */ beq lbl_8025E2B8 -/* 8025E294 0025B1F4 40 80 00 30 */ bge lbl_8025E2C4 -/* 8025E298 0025B1F8 2C 1F 00 00 */ cmpwi r31, 0 -/* 8025E29C 0025B1FC 40 80 00 0C */ bge lbl_8025E2A8 -/* 8025E2A0 0025B200 48 00 00 24 */ b lbl_8025E2C4 -/* 8025E2A4 0025B204 48 00 00 20 */ b lbl_8025E2C4 -lbl_8025E2A8: -/* 8025E2A8 0025B208 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8025E2AC 0025B20C 38 80 00 01 */ li r4, 1 -/* 8025E2B0 0025B210 4B ED C7 29 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8025E2B4 0025B214 48 00 00 10 */ b lbl_8025E2C4 -lbl_8025E2B8: -/* 8025E2B8 0025B218 7F A3 EB 78 */ mr r3, r29 -/* 8025E2BC 0025B21C 7F C4 F3 78 */ mr r4, r30 -/* 8025E2C0 0025B220 48 00 00 21 */ bl sub_8025e2e0 -lbl_8025E2C4: -/* 8025E2C4 0025B224 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E2C8 0025B228 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025E2CC 0025B22C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025E2D0 0025B230 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025E2D4 0025B234 7C 08 03 A6 */ mtlr r0 -/* 8025E2D8 0025B238 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E2DC 0025B23C 4E 80 00 20 */ blr - -.global sub_8025e2e0 -sub_8025e2e0: -/* 8025E2E0 0025B240 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8025E2E4 0025B244 7C 08 02 A6 */ mflr r0 -/* 8025E2E8 0025B248 90 01 00 64 */ stw r0, 0x64(r1) -/* 8025E2EC 0025B24C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8025E2F0 0025B250 7C 7F 1B 78 */ mr r31, r3 -/* 8025E2F4 0025B254 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8025E2F8 0025B258 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8025E2FC 0025B25C 93 81 00 50 */ stw r28, 0x50(r1) -/* 8025E300 0025B260 83 A4 08 38 */ lwz r29, 0x838(r4) -/* 8025E304 0025B264 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025E308 0025B268 3B C4 66 A0 */ addi r30, r4, skZero3f@l -/* 8025E30C 0025B26C AB 9D 20 08 */ lha r28, 0x2008(r29) -/* 8025E310 0025B270 48 00 01 04 */ b lbl_8025E414 -lbl_8025E314: -/* 8025E314 0025B274 7F A3 EB 78 */ mr r3, r29 -/* 8025E318 0025B278 7F 84 E3 78 */ mr r4, r28 -/* 8025E31C 0025B27C 4B DB 19 C1 */ bl __vc__11CObjectListCFi -/* 8025E320 0025B280 7C 64 1B 78 */ mr r4, r3 -/* 8025E324 0025B284 38 61 00 08 */ addi r3, r1, 8 -/* 8025E328 0025B288 4B E4 E7 35 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8025E32C 0025B28C 80 83 00 04 */ lwz r4, 4(r3) -/* 8025E330 0025B290 28 04 00 00 */ cmplwi r4, 0 -/* 8025E334 0025B294 41 82 00 C4 */ beq lbl_8025E3F8 -/* 8025E338 0025B298 7C 04 F8 40 */ cmplw r4, r31 -/* 8025E33C 0025B29C 41 82 00 BC */ beq lbl_8025E3F8 -/* 8025E340 0025B2A0 80 64 00 04 */ lwz r3, 4(r4) -/* 8025E344 0025B2A4 80 1F 00 04 */ lwz r0, 4(r31) -/* 8025E348 0025B2A8 7C 03 00 00 */ cmpw r3, r0 -/* 8025E34C 0025B2AC 40 82 00 AC */ bne lbl_8025E3F8 -/* 8025E350 0025B2B0 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8025E354 0025B2B4 7F E5 FB 78 */ mr r5, r31 -/* 8025E358 0025B2B8 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8025E35C 0025B2BC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8025E360 0025B2C0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8025E364 0025B2C4 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8025E368 0025B2C8 C0 22 BA 38 */ lfs f1, lbl_805AD758@sda21(r2) -/* 8025E36C 0025B2CC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8025E370 0025B2D0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025E374 0025B2D4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8025E378 0025B2D8 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8025E37C 0025B2DC 4B EE 05 75 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8025E380 0025B2E0 C0 C1 00 1C */ lfs f6, 0x1c(r1) -/* 8025E384 0025B2E4 38 00 00 00 */ li r0, 0 -/* 8025E388 0025B2E8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 8025E38C 0025B2EC C0 81 00 20 */ lfs f4, 0x20(r1) -/* 8025E390 0025B2F0 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 8025E394 0025B2F4 C0 A1 00 24 */ lfs f5, 0x24(r1) -/* 8025E398 0025B2F8 40 82 00 14 */ bne lbl_8025E3AC -/* 8025E39C 0025B2FC FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 8025E3A0 0025B300 40 82 00 0C */ bne lbl_8025E3AC -/* 8025E3A4 0025B304 FC 00 28 00 */ fcmpu cr0, f0, f5 -/* 8025E3A8 0025B308 41 82 00 08 */ beq lbl_8025E3B0 -lbl_8025E3AC: -/* 8025E3AC 0025B30C 38 00 00 01 */ li r0, 1 -lbl_8025E3B0: -/* 8025E3B0 0025B310 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8025E3B4 0025B314 41 82 00 44 */ beq lbl_8025E3F8 -/* 8025E3B8 0025B318 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025E3BC 0025B31C C0 5E 00 04 */ lfs f2, 4(r30) -/* 8025E3C0 0025B320 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8025E3C4 0025B324 38 81 00 28 */ addi r4, r1, 0x28 -/* 8025E3C8 0025B328 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 8025E3CC 0025B32C C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) -/* 8025E3D0 0025B330 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 8025E3D4 0025B334 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8025E3D8 0025B338 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 8025E3DC 0025B33C D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8025E3E0 0025B340 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8025E3E4 0025B344 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8025E3E8 0025B348 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8025E3EC 0025B34C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8025E3F0 0025B350 38 63 00 04 */ addi r3, r3, 4 -/* 8025E3F4 0025B354 4B ED 33 25 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8025E3F8: -/* 8025E3F8 0025B358 2C 1C FF FF */ cmpwi r28, -1 -/* 8025E3FC 0025B35C 41 82 00 14 */ beq lbl_8025E410 -/* 8025E400 0025B360 57 83 18 38 */ slwi r3, r28, 3 -/* 8025E404 0025B364 38 03 00 08 */ addi r0, r3, 8 -/* 8025E408 0025B368 7F 9D 02 AE */ lhax r28, r29, r0 -/* 8025E40C 0025B36C 48 00 00 08 */ b lbl_8025E414 -lbl_8025E410: -/* 8025E410 0025B370 3B 80 FF FF */ li r28, -1 -lbl_8025E414: -/* 8025E414 0025B374 2C 1C FF FF */ cmpwi r28, -1 -/* 8025E418 0025B378 40 82 FE FC */ bne lbl_8025E314 -/* 8025E41C 0025B37C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025E420 0025B380 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8025E424 0025B384 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8025E428 0025B388 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8025E42C 0025B38C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8025E430 0025B390 7C 08 03 A6 */ mtlr r0 -/* 8025E434 0025B394 38 21 00 60 */ addi r1, r1, 0x60 -/* 8025E438 0025B398 4E 80 00 20 */ blr - -.global sub_8025e43c -sub_8025e43c: -/* 8025E43C 0025B39C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025E440 0025B3A0 7C 08 02 A6 */ mflr r0 -/* 8025E444 0025B3A4 38 C0 00 19 */ li r6, 0x19 -/* 8025E448 0025B3A8 38 E0 00 08 */ li r7, 8 -/* 8025E44C 0025B3AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025E450 0025B3B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025E454 0025B3B4 7C 9F 23 78 */ mr r31, r4 -/* 8025E458 0025B3B8 7F E5 FB 78 */ mr r5, r31 -/* 8025E45C 0025B3BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8025E460 0025B3C0 7C 7E 1B 78 */ mr r30, r3 -/* 8025E464 0025B3C4 7F C4 F3 78 */ mr r4, r30 -/* 8025E468 0025B3C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8025E46C 0025B3CC 4B F9 6B 2D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8025E470 0025B3D0 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8025E474 0025B3D4 7F E3 FB 78 */ mr r3, r31 -/* 8025E478 0025B3D8 38 81 00 08 */ addi r4, r1, 8 -/* 8025E47C 0025B3DC B0 01 00 10 */ sth r0, 0x10(r1) -/* 8025E480 0025B3E0 B0 01 00 08 */ sth r0, 8(r1) -/* 8025E484 0025B3E4 4B DE E1 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025E488 0025B3E8 7C 64 1B 78 */ mr r4, r3 -/* 8025E48C 0025B3EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025E490 0025B3F0 4B E5 18 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8025E494 0025B3F4 80 A3 00 04 */ lwz r5, 4(r3) -/* 8025E498 0025B3F8 28 05 00 00 */ cmplwi r5, 0 -/* 8025E49C 0025B3FC 41 82 00 30 */ beq lbl_8025E4CC -/* 8025E4A0 0025B400 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8025E4A4 0025B404 7F C3 F3 78 */ mr r3, r30 -/* 8025E4A8 0025B408 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8025E4AC 0025B40C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8025E4B0 0025B410 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8025E4B4 0025B414 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8025E4B8 0025B418 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8025E4BC 0025B41C D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8025E4C0 0025B420 4B E1 E6 9D */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8025E4C4 0025B424 38 60 00 01 */ li r3, 1 -/* 8025E4C8 0025B428 48 00 00 08 */ b lbl_8025E4D0 -lbl_8025E4CC: -/* 8025E4CC 0025B42C 38 60 00 00 */ li r3, 0 -lbl_8025E4D0: -/* 8025E4D0 0025B430 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025E4D4 0025B434 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025E4D8 0025B438 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025E4DC 0025B43C 7C 08 03 A6 */ mtlr r0 -/* 8025E4E0 0025B440 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025E4E4 0025B444 4E 80 00 20 */ blr - -.global sub_8025e4e8 -sub_8025e4e8: -/* 8025E4E8 0025B448 88 03 06 98 */ lbz r0, 0x698(r3) -/* 8025E4EC 0025B44C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 8025E4F0 0025B450 4E 80 00 20 */ blr - -.global sub_8025e4f4 -sub_8025e4f4: -/* 8025E4F4 0025B454 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E4F8 0025B458 7C 08 02 A6 */ mflr r0 -/* 8025E4FC 0025B45C 7C 65 1B 78 */ mr r5, r3 -/* 8025E500 0025B460 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E504 0025B464 38 81 00 08 */ addi r4, r1, 8 -/* 8025E508 0025B468 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8025E50C 0025B46C 38 65 05 68 */ addi r3, r5, 0x568 -/* 8025E510 0025B470 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8025E514 0025B474 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8025E518 0025B478 D0 01 00 08 */ stfs f0, 8(r1) -/* 8025E51C 0025B47C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025E520 0025B480 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025E524 0025B484 4B F6 86 11 */ bl OnPath__15CPathFindSearchCFRC9CVector3f -/* 8025E528 0025B488 2C 03 00 01 */ cmpwi r3, 1 -/* 8025E52C 0025B48C 41 82 00 08 */ beq lbl_8025E534 -/* 8025E530 0025B490 48 00 00 0C */ b lbl_8025E53C -lbl_8025E534: -/* 8025E534 0025B494 38 60 00 00 */ li r3, 0 -/* 8025E538 0025B498 48 00 00 08 */ b lbl_8025E540 -lbl_8025E53C: -/* 8025E53C 0025B49C 38 60 00 01 */ li r3, 1 -lbl_8025E540: -/* 8025E540 0025B4A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E544 0025B4A4 7C 08 03 A6 */ mtlr r0 -/* 8025E548 0025B4A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E54C 0025B4AC 4E 80 00 20 */ blr - -.global sub_8025e550 -sub_8025e550: -/* 8025E550 0025B4B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E554 0025B4B4 7C 08 02 A6 */ mflr r0 -/* 8025E558 0025B4B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8025E55C 0025B4BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E560 0025B4C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E564 0025B4C4 41 82 00 08 */ beq lbl_8025E56C -/* 8025E568 0025B4C8 48 00 00 4C */ b lbl_8025E5B4 -lbl_8025E56C: -/* 8025E56C 0025B4CC 88 03 06 98 */ lbz r0, 0x698(r3) -/* 8025E570 0025B4D0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8025E574 0025B4D4 40 82 00 0C */ bne lbl_8025E580 -/* 8025E578 0025B4D8 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) -/* 8025E57C 0025B4DC D0 03 06 8C */ stfs f0, 0x68c(r3) -lbl_8025E580: -/* 8025E580 0025B4E0 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025E584 0025B4E4 A0 03 00 08 */ lhz r0, 8(r3) -/* 8025E588 0025B4E8 A0 7F 02 6C */ lhz r3, 0x26c(r31) -/* 8025E58C 0025B4EC 7C 03 00 40 */ cmplw r3, r0 -/* 8025E590 0025B4F0 40 82 00 24 */ bne lbl_8025E5B4 -/* 8025E594 0025B4F4 38 00 00 01 */ li r0, 1 -/* 8025E598 0025B4F8 7F E3 FB 78 */ mr r3, r31 -/* 8025E59C 0025B4FC 98 1F 05 90 */ stb r0, 0x590(r31) -/* 8025E5A0 0025B500 7C 85 23 78 */ mr r5, r4 -/* 8025E5A4 0025B504 38 80 00 13 */ li r4, 0x13 -/* 8025E5A8 0025B508 4B DF 5D A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025E5AC 0025B50C 7F E3 FB 78 */ mr r3, r31 -/* 8025E5B0 0025B510 4B DB 63 F5 */ bl DetachActorFromPlayer__7CPlayerFv -lbl_8025E5B4: -/* 8025E5B4 0025B514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E5B8 0025B518 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E5BC 0025B51C 7C 08 03 A6 */ mtlr r0 -/* 8025E5C0 0025B520 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E5C4 0025B524 4E 80 00 20 */ blr - -.global sub_8025e5c8 -sub_8025e5c8: -/* 8025E5C8 0025B528 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E5CC 0025B52C 7C 08 02 A6 */ mflr r0 -/* 8025E5D0 0025B530 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E5D4 0025B534 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8025E5D8 0025B538 FF E0 08 90 */ fmr f31, f1 -/* 8025E5DC 0025B53C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8025E5E0 0025B540 7C BF 2B 79 */ or. r31, r5, r5 -/* 8025E5E4 0025B544 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8025E5E8 0025B548 7C 9E 23 78 */ mr r30, r4 -/* 8025E5EC 0025B54C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8025E5F0 0025B550 7C 7D 1B 78 */ mr r29, r3 -/* 8025E5F4 0025B554 41 82 00 0C */ beq lbl_8025E600 -/* 8025E5F8 0025B558 41 80 00 14 */ blt lbl_8025E60C -/* 8025E5FC 0025B55C 48 00 00 10 */ b lbl_8025E60C -lbl_8025E600: -/* 8025E600 0025B560 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8025E604 0025B564 38 80 00 01 */ li r4, 1 -/* 8025E608 0025B568 4B ED C3 D1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_8025E60C: -/* 8025E60C 0025B56C FC 20 F8 90 */ fmr f1, f31 -/* 8025E610 0025B570 7F A3 EB 78 */ mr r3, r29 -/* 8025E614 0025B574 7F C4 F3 78 */ mr r4, r30 -/* 8025E618 0025B578 7F E5 FB 78 */ mr r5, r31 -/* 8025E61C 0025B57C 4B F9 85 4D */ bl TargetPatrol__10CPatternedFR13CStateManager9EStateMsgf -/* 8025E620 0025B580 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E624 0025B584 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8025E628 0025B588 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8025E62C 0025B58C 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 8025E630 0025B590 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 8025E634 0025B594 7C 08 03 A6 */ mtlr r0 -/* 8025E638 0025B598 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E63C 0025B59C 4E 80 00 20 */ blr - -.global sub_8025e640 -sub_8025e640: -/* 8025E640 0025B5A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025E644 0025B5A4 7C 08 02 A6 */ mflr r0 -/* 8025E648 0025B5A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025E64C 0025B5AC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8025E650 0025B5B0 7C 7C 1B 78 */ mr r28, r3 -/* 8025E654 0025B5B4 7C 9D 23 78 */ mr r29, r4 -/* 8025E658 0025B5B8 7C BE 2B 78 */ mr r30, r5 -/* 8025E65C 0025B5BC 7C DF 33 78 */ mr r31, r6 -/* 8025E660 0025B5C0 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8025E664 0025B5C4 83 64 08 4C */ lwz r27, 0x84c(r4) -/* 8025E668 0025B5C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8025E66C 0025B5CC 41 82 00 98 */ beq lbl_8025E704 -/* 8025E670 0025B5D0 A0 7B 02 6C */ lhz r3, 0x26c(r27) -/* 8025E674 0025B5D4 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025E678 0025B5D8 7C 03 00 40 */ cmplw r3, r0 -/* 8025E67C 0025B5DC 40 82 00 28 */ bne lbl_8025E6A4 -/* 8025E680 0025B5E0 38 00 00 01 */ li r0, 1 -/* 8025E684 0025B5E4 7F 63 DB 78 */ mr r3, r27 -/* 8025E688 0025B5E8 98 1B 05 90 */ stb r0, 0x590(r27) -/* 8025E68C 0025B5EC 7F A5 EB 78 */ mr r5, r29 -/* 8025E690 0025B5F0 38 80 00 13 */ li r4, 0x13 -/* 8025E694 0025B5F4 4B DF 5C BD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025E698 0025B5F8 7F 63 DB 78 */ mr r3, r27 -/* 8025E69C 0025B5FC 4B DB 63 09 */ bl DetachActorFromPlayer__7CPlayerFv -/* 8025E6A0 0025B600 48 00 00 64 */ b lbl_8025E704 -lbl_8025E6A4: -/* 8025E6A4 0025B604 A0 7C 06 94 */ lhz r3, 0x694(r28) -/* 8025E6A8 0025B608 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E6AC 0025B60C 7C 03 00 40 */ cmplw r3, r0 -/* 8025E6B0 0025B610 41 82 00 54 */ beq lbl_8025E704 -/* 8025E6B4 0025B614 A0 1C 06 94 */ lhz r0, 0x694(r28) -/* 8025E6B8 0025B618 7F A3 EB 78 */ mr r3, r29 -/* 8025E6BC 0025B61C 38 81 00 08 */ addi r4, r1, 8 -/* 8025E6C0 0025B620 B0 01 00 08 */ sth r0, 8(r1) -/* 8025E6C4 0025B624 4B DE DE B1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025E6C8 0025B628 7C 64 1B 78 */ mr r4, r3 -/* 8025E6CC 0025B62C 38 61 00 0C */ addi r3, r1, 0xc -/* 8025E6D0 0025B630 4B E5 13 6D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025E6D4 0025B634 80 83 00 04 */ lwz r4, 4(r3) -/* 8025E6D8 0025B638 28 04 00 00 */ cmplwi r4, 0 -/* 8025E6DC 0025B63C 41 82 00 20 */ beq lbl_8025E6FC -/* 8025E6E0 0025B640 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8025E6E4 0025B644 38 60 00 00 */ li r3, 0 -/* 8025E6E8 0025B648 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025E6EC 0025B64C 98 04 01 90 */ stb r0, 0x190(r4) -/* 8025E6F0 0025B650 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8025E6F4 0025B654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8025E6F8 0025B658 98 04 01 90 */ stb r0, 0x190(r4) -lbl_8025E6FC: -/* 8025E6FC 0025B65C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E700 0025B660 B0 1C 06 94 */ sth r0, 0x694(r28) -lbl_8025E704: -/* 8025E704 0025B664 7F 83 E3 78 */ mr r3, r28 -/* 8025E708 0025B668 7F A4 EB 78 */ mr r4, r29 -/* 8025E70C 0025B66C 7F C5 F3 78 */ mr r5, r30 -/* 8025E710 0025B670 7F E6 FB 78 */ mr r6, r31 -/* 8025E714 0025B674 4B E1 CC 91 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 8025E718 0025B678 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8025E71C 0025B67C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025E720 0025B680 7C 08 03 A6 */ mtlr r0 -/* 8025E724 0025B684 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025E728 0025B688 4E 80 00 20 */ blr - -.global sub_8025e72c -sub_8025e72c: -/* 8025E72C 0025B68C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E730 0025B690 7C 08 02 A6 */ mflr r0 -/* 8025E734 0025B694 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E738 0025B698 88 03 06 98 */ lbz r0, 0x698(r3) -/* 8025E73C 0025B69C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8025E740 0025B6A0 41 82 00 0C */ beq lbl_8025E74C -/* 8025E744 0025B6A4 4B E4 46 2D */ bl GetDamageVulnerability__3CAiCFv -/* 8025E748 0025B6A8 48 00 00 0C */ b lbl_8025E754 -lbl_8025E74C: -/* 8025E74C 0025B6AC 3C 60 80 57 */ lis r3, lbl_80572614@ha -/* 8025E750 0025B6B0 38 63 26 14 */ addi r3, r3, lbl_80572614@l -lbl_8025E754: -/* 8025E754 0025B6B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E758 0025B6B8 7C 08 03 A6 */ mtlr r0 -/* 8025E75C 0025B6BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E760 0025B6C0 4E 80 00 20 */ blr - -.global sub_8025e764 -sub_8025e764: -/* 8025E764 0025B6C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E768 0025B6C8 7C 08 02 A6 */ mflr r0 -/* 8025E76C 0025B6CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E770 0025B6D0 88 03 06 98 */ lbz r0, 0x698(r3) -/* 8025E774 0025B6D4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8025E778 0025B6D8 41 82 00 0C */ beq lbl_8025E784 -/* 8025E77C 0025B6DC 4B E4 45 F5 */ bl GetDamageVulnerability__3CAiCFv -/* 8025E780 0025B6E0 48 00 00 0C */ b lbl_8025E78C -lbl_8025E784: -/* 8025E784 0025B6E4 3C 60 80 57 */ lis r3, lbl_80572614@ha -/* 8025E788 0025B6E8 38 63 26 14 */ addi r3, r3, lbl_80572614@l -lbl_8025E78C: -/* 8025E78C 0025B6EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E790 0025B6F0 7C 08 03 A6 */ mtlr r0 -/* 8025E794 0025B6F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E798 0025B6F8 4E 80 00 20 */ blr - -.global sub_8025e79c -sub_8025e79c: -/* 8025E79C 0025B6FC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025E7A0 0025B700 7C 08 02 A6 */ mflr r0 -/* 8025E7A4 0025B704 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025E7A8 0025B708 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8025E7AC 0025B70C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8025E7B0 0025B710 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8025E7B4 0025B714 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8025E7B8 0025B718 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8025E7BC 0025B71C 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8025E7C0 0025B720 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8025E7C4 0025B724 93 81 00 70 */ stw r28, 0x70(r1) -/* 8025E7C8 0025B728 7C DF 33 79 */ or. r31, r6, r6 -/* 8025E7CC 0025B72C FF C0 08 90 */ fmr f30, f1 -/* 8025E7D0 0025B730 7C 7C 1B 78 */ mr r28, r3 -/* 8025E7D4 0025B734 7C 9D 23 78 */ mr r29, r4 -/* 8025E7D8 0025B738 7C BE 2B 78 */ mr r30, r5 -/* 8025E7DC 0025B73C 38 00 00 00 */ li r0, 0 -/* 8025E7E0 0025B740 41 82 00 08 */ beq lbl_8025E7E8 -/* 8025E7E4 0025B744 48 00 00 78 */ b lbl_8025E85C -lbl_8025E7E8: -/* 8025E7E8 0025B748 A0 7C 06 94 */ lhz r3, 0x694(r28) -/* 8025E7EC 0025B74C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E7F0 0025B750 7C 03 00 40 */ cmplw r3, r0 -/* 8025E7F4 0025B754 40 82 00 44 */ bne lbl_8025E838 -/* 8025E7F8 0025B758 88 1C 06 98 */ lbz r0, 0x698(r28) -/* 8025E7FC 0025B75C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8025E800 0025B760 41 82 00 0C */ beq lbl_8025E80C -/* 8025E804 0025B764 C3 E2 BA 44 */ lfs f31, lbl_805AD764@sda21(r2) -/* 8025E808 0025B768 48 00 00 08 */ b lbl_8025E810 -lbl_8025E80C: -/* 8025E80C 0025B76C C3 FC 06 88 */ lfs f31, 0x688(r28) -lbl_8025E810: -/* 8025E810 0025B770 7F 84 E3 78 */ mr r4, r28 -/* 8025E814 0025B774 38 61 00 38 */ addi r3, r1, 0x38 -/* 8025E818 0025B778 38 BE 00 3C */ addi r5, r30, 0x3c -/* 8025E81C 0025B77C 4B E1 A1 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025E820 0025B780 FC 20 F8 90 */ fmr f1, f31 -/* 8025E824 0025B784 7F 83 E3 78 */ mr r3, r28 -/* 8025E828 0025B788 7F A4 EB 78 */ mr r4, r29 -/* 8025E82C 0025B78C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8025E830 0025B790 48 00 05 F9 */ bl sub_8025ee28 -/* 8025E834 0025B794 48 00 00 24 */ b lbl_8025E858 -lbl_8025E838: -/* 8025E838 0025B798 7F 84 E3 78 */ mr r4, r28 -/* 8025E83C 0025B79C 38 61 00 08 */ addi r3, r1, 8 -/* 8025E840 0025B7A0 38 BE 00 3C */ addi r5, r30, 0x3c -/* 8025E844 0025B7A4 4B E1 A1 35 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025E848 0025B7A8 7F 83 E3 78 */ mr r3, r28 -/* 8025E84C 0025B7AC 7F A4 EB 78 */ mr r4, r29 -/* 8025E850 0025B7B0 38 A1 00 08 */ addi r5, r1, 8 -/* 8025E854 0025B7B4 48 00 04 91 */ bl sub_8025ece4 -lbl_8025E858: -/* 8025E858 0025B7B8 38 00 00 01 */ li r0, 1 -lbl_8025E85C: -/* 8025E85C 0025B7BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8025E860 0025B7C0 40 82 00 1C */ bne lbl_8025E87C -/* 8025E864 0025B7C4 FC 20 F0 90 */ fmr f1, f30 -/* 8025E868 0025B7C8 7F 83 E3 78 */ mr r3, r28 -/* 8025E86C 0025B7CC 7F A4 EB 78 */ mr r4, r29 -/* 8025E870 0025B7D0 7F C5 F3 78 */ mr r5, r30 -/* 8025E874 0025B7D4 7F E6 FB 78 */ mr r6, r31 -/* 8025E878 0025B7D8 4B E1 A6 39 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_8025E87C: -/* 8025E87C 0025B7DC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8025E880 0025B7E0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8025E884 0025B7E4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8025E888 0025B7E8 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8025E88C 0025B7EC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8025E890 0025B7F0 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8025E894 0025B7F4 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8025E898 0025B7F8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025E89C 0025B7FC 83 81 00 70 */ lwz r28, 0x70(r1) -/* 8025E8A0 0025B800 7C 08 03 A6 */ mtlr r0 -/* 8025E8A4 0025B804 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025E8A8 0025B808 4E 80 00 20 */ blr - -.global sub_8025e8ac -sub_8025e8ac: -/* 8025E8AC 0025B80C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8025E8B0 0025B810 7C 08 02 A6 */ mflr r0 -/* 8025E8B4 0025B814 90 01 01 24 */ stw r0, 0x124(r1) -/* 8025E8B8 0025B818 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8025E8BC 0025B81C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8025E8C0 0025B820 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8025E8C4 0025B824 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 8025E8C8 0025B828 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8025E8CC 0025B82C 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8025E8D0 0025B830 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 8025E8D4 0025B834 2C 05 00 01 */ cmpwi r5, 1 -/* 8025E8D8 0025B838 83 A4 08 4C */ lwz r29, 0x84c(r4) -/* 8025E8DC 0025B83C 7C 9F 23 78 */ mr r31, r4 -/* 8025E8E0 0025B840 7C 7E 1B 78 */ mr r30, r3 -/* 8025E8E4 0025B844 41 82 01 E0 */ beq lbl_8025EAC4 -/* 8025E8E8 0025B848 40 80 00 10 */ bge lbl_8025E8F8 -/* 8025E8EC 0025B84C 2C 05 00 00 */ cmpwi r5, 0 -/* 8025E8F0 0025B850 40 80 00 14 */ bge lbl_8025E904 -/* 8025E8F4 0025B854 48 00 02 B8 */ b lbl_8025EBAC -lbl_8025E8F8: -/* 8025E8F8 0025B858 2C 05 00 03 */ cmpwi r5, 3 -/* 8025E8FC 0025B85C 40 80 02 B0 */ bge lbl_8025EBAC -/* 8025E900 0025B860 48 00 02 70 */ b lbl_8025EB70 -lbl_8025E904: -/* 8025E904 0025B864 A0 7E 06 94 */ lhz r3, 0x694(r30) -/* 8025E908 0025B868 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E90C 0025B86C 7C 03 00 40 */ cmplw r3, r0 -/* 8025E910 0025B870 40 82 00 28 */ bne lbl_8025E938 -/* 8025E914 0025B874 7F A3 EB 78 */ mr r3, r29 -/* 8025E918 0025B878 4B EB CA 61 */ bl Stop__13CPhysicsActorFv -/* 8025E91C 0025B87C 7F A3 EB 78 */ mr r3, r29 -/* 8025E920 0025B880 7F E5 FB 78 */ mr r5, r31 -/* 8025E924 0025B884 38 80 00 13 */ li r4, 0x13 -/* 8025E928 0025B888 4B DF 56 59 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025E92C 0025B88C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025E930 0025B890 38 00 00 00 */ li r0, 0 -/* 8025E934 0025B894 98 03 05 90 */ stb r0, 0x590(r3) -lbl_8025E938: -/* 8025E938 0025B898 7F C4 F3 78 */ mr r4, r30 -/* 8025E93C 0025B89C 7F E5 FB 78 */ mr r5, r31 -/* 8025E940 0025B8A0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025E944 0025B8A4 38 C0 00 19 */ li r6, 0x19 -/* 8025E948 0025B8A8 38 E0 00 06 */ li r7, 6 -/* 8025E94C 0025B8AC 4B F9 66 4D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8025E950 0025B8B0 A0 61 00 10 */ lhz r3, 0x10(r1) -/* 8025E954 0025B8B4 3B A0 00 00 */ li r29, 0 -/* 8025E958 0025B8B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025E95C 0025B8BC B0 61 00 14 */ sth r3, 0x14(r1) -/* 8025E960 0025B8C0 7C 03 00 40 */ cmplw r3, r0 -/* 8025E964 0025B8C4 40 82 00 28 */ bne lbl_8025E98C -/* 8025E968 0025B8C8 7F C4 F3 78 */ mr r4, r30 -/* 8025E96C 0025B8CC 7F E5 FB 78 */ mr r5, r31 -/* 8025E970 0025B8D0 38 61 00 0C */ addi r3, r1, 0xc -/* 8025E974 0025B8D4 38 C0 00 0C */ li r6, 0xc -/* 8025E978 0025B8D8 38 E0 00 06 */ li r7, 6 -/* 8025E97C 0025B8DC 4B F9 66 1D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8025E980 0025B8E0 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8025E984 0025B8E4 3B A0 00 01 */ li r29, 1 -/* 8025E988 0025B8E8 B0 01 00 14 */ sth r0, 0x14(r1) -lbl_8025E98C: -/* 8025E98C 0025B8EC A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8025E990 0025B8F0 7F E3 FB 78 */ mr r3, r31 -/* 8025E994 0025B8F4 38 81 00 08 */ addi r4, r1, 8 -/* 8025E998 0025B8F8 B0 01 00 08 */ sth r0, 8(r1) -/* 8025E99C 0025B8FC 4B DE DC 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025E9A0 0025B900 7C 64 1B 78 */ mr r4, r3 -/* 8025E9A4 0025B904 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025E9A8 0025B908 4B E5 12 E9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8025E9AC 0025B90C 80 63 00 04 */ lwz r3, 4(r3) -/* 8025E9B0 0025B910 28 03 00 00 */ cmplwi r3, 0 -/* 8025E9B4 0025B914 41 82 01 F8 */ beq lbl_8025EBAC -/* 8025E9B8 0025B918 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8025E9BC 0025B91C 41 82 00 24 */ beq lbl_8025E9E0 -/* 8025E9C0 0025B920 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8025E9C4 0025B924 38 81 00 6C */ addi r4, r1, 0x6c -/* 8025E9C8 0025B928 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8025E9CC 0025B92C C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8025E9D0 0025B930 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8025E9D4 0025B934 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8025E9D8 0025B938 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8025E9DC 0025B93C 48 00 00 44 */ b lbl_8025EA20 -lbl_8025E9E0: -/* 8025E9E0 0025B940 C0 A3 00 60 */ lfs f5, 0x60(r3) -/* 8025E9E4 0025B944 38 81 00 54 */ addi r4, r1, 0x54 -/* 8025E9E8 0025B948 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8025E9EC 0025B94C C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8025E9F0 0025B950 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8025E9F4 0025B954 EC 25 00 28 */ fsubs f1, f5, f0 -/* 8025E9F8 0025B958 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8025E9FC 0025B95C C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 8025EA00 0025B960 EC 44 10 28 */ fsubs f2, f4, f2 -/* 8025EA04 0025B964 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8025EA08 0025B968 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8025EA0C 0025B96C D0 81 00 64 */ stfs f4, 0x64(r1) -/* 8025EA10 0025B970 D0 A1 00 68 */ stfs f5, 0x68(r1) -/* 8025EA14 0025B974 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8025EA18 0025B978 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8025EA1C 0025B97C D0 21 00 5C */ stfs f1, 0x5c(r1) -lbl_8025EA20: -/* 8025EA20 0025B980 C0 04 00 00 */ lfs f0, 0(r4) -/* 8025EA24 0025B984 38 61 00 78 */ addi r3, r1, 0x78 -/* 8025EA28 0025B988 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8025EA2C 0025B98C C0 04 00 04 */ lfs f0, 4(r4) -/* 8025EA30 0025B990 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8025EA34 0025B994 C0 04 00 08 */ lfs f0, 8(r4) -/* 8025EA38 0025B998 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8025EA3C 0025B99C C3 DE 00 48 */ lfs f30, 0x48(r30) -/* 8025EA40 0025B9A0 C3 FE 00 38 */ lfs f31, 0x38(r30) -/* 8025EA44 0025B9A4 48 0B 5E B5 */ bl Normalize__9CVector3fFv -/* 8025EA48 0025B9A8 C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) -/* 8025EA4C 0025B9AC 7F C3 F3 78 */ mr r3, r30 -/* 8025EA50 0025B9B0 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 8025EA54 0025B9B4 38 81 00 48 */ addi r4, r1, 0x48 -/* 8025EA58 0025B9B8 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 8025EA5C 0025B9BC C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8025EA60 0025B9C0 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 8025EA64 0025B9C4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8025EA68 0025B9C8 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8025EA6C 0025B9CC EC 64 18 2A */ fadds f3, f4, f3 -/* 8025EA70 0025B9D0 EC 42 28 2A */ fadds f2, f2, f5 -/* 8025EA74 0025B9D4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025EA78 0025B9D8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8025EA7C 0025B9DC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8025EA80 0025B9E0 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8025EA84 0025B9E4 4B E1 E0 D9 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8025EA88 0025B9E8 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8025EA8C 0025B9EC C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8025EA90 0025B9F0 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8025EA94 0025B9F4 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) -/* 8025EA98 0025B9F8 C0 61 00 80 */ lfs f3, 0x80(r1) -/* 8025EA9C 0025B9FC C0 02 BA 48 */ lfs f0, lbl_805AD768@sda21(r2) -/* 8025EAA0 0025BA00 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 8025EAA4 0025BA04 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8025EAA8 0025BA08 FC 20 0A 10 */ fabs f1, f1 -/* 8025EAAC 0025BA0C FC 20 08 18 */ frsp f1, f1 -/* 8025EAB0 0025BA10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025EAB4 0025BA14 40 80 00 F8 */ bge lbl_8025EBAC -/* 8025EAB8 0025BA18 38 00 00 01 */ li r0, 1 -/* 8025EABC 0025BA1C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8025EAC0 0025BA20 48 00 00 EC */ b lbl_8025EBAC -lbl_8025EAC4: -/* 8025EAC4 0025BA24 3C A0 80 3F */ lis r5, lbl_803E9A28@ha -/* 8025EAC8 0025BA28 38 C1 00 3C */ addi r6, r1, 0x3c -/* 8025EACC 0025BA2C 39 45 9A 28 */ addi r10, r5, lbl_803E9A28@l -/* 8025EAD0 0025BA30 38 A0 00 08 */ li r5, 8 -/* 8025EAD4 0025BA34 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025EAD8 0025BA38 38 E0 00 00 */ li r7, 0 -/* 8025EADC 0025BA3C 81 0A 00 04 */ lwz r8, 4(r10) -/* 8025EAE0 0025BA40 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025EAE4 0025BA44 91 21 00 3C */ stw r9, 0x3c(r1) -/* 8025EAE8 0025BA48 91 01 00 40 */ stw r8, 0x40(r1) -/* 8025EAEC 0025BA4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025EAF0 0025BA50 4B E1 DC C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025EAF4 0025BA54 A0 7E 06 94 */ lhz r3, 0x694(r30) -/* 8025EAF8 0025BA58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025EAFC 0025BA5C 7C 03 00 40 */ cmplw r3, r0 -/* 8025EB00 0025BA60 40 82 00 60 */ bne lbl_8025EB60 -/* 8025EB04 0025BA64 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025EB08 0025BA68 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025EB0C 0025BA6C 4B DA 61 AD */ bl string_l__4rstlFPCc -/* 8025EB10 0025BA70 7F C4 F3 78 */ mr r4, r30 -/* 8025EB14 0025BA74 38 61 00 84 */ addi r3, r1, 0x84 -/* 8025EB18 0025BA78 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8025EB1C 0025BA7C 4B E1 9E 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025EB20 0025BA80 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8025EB24 0025BA84 38 81 00 84 */ addi r4, r1, 0x84 -/* 8025EB28 0025BA88 48 0B 40 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025EB2C 0025BA8C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025EB30 0025BA90 48 0D EF B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025EB34 0025BA94 C0 41 00 C0 */ lfs f2, 0xc0(r1) -/* 8025EB38 0025BA98 7F C3 F3 78 */ mr r3, r30 -/* 8025EB3C 0025BA9C C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 8025EB40 0025BAA0 7F E4 FB 78 */ mr r4, r31 -/* 8025EB44 0025BAA4 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 8025EB48 0025BAA8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8025EB4C 0025BAAC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025EB50 0025BAB0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8025EB54 0025BAB4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025EB58 0025BAB8 48 00 08 45 */ bl sub_8025f39c -/* 8025EB5C 0025BABC 48 00 00 50 */ b lbl_8025EBAC -lbl_8025EB60: -/* 8025EB60 0025BAC0 7F C3 F3 78 */ mr r3, r30 -/* 8025EB64 0025BAC4 7F E4 FB 78 */ mr r4, r31 -/* 8025EB68 0025BAC8 48 00 07 3D */ bl sub_8025f2a4 -/* 8025EB6C 0025BACC 48 00 00 40 */ b lbl_8025EBAC -lbl_8025EB70: -/* 8025EB70 0025BAD0 38 60 00 00 */ li r3, 0 -/* 8025EB74 0025BAD4 38 00 00 01 */ li r0, 1 -/* 8025EB78 0025BAD8 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 8025EB7C 0025BADC 7F E5 FB 78 */ mr r5, r31 -/* 8025EB80 0025BAE0 38 80 00 13 */ li r4, 0x13 -/* 8025EB84 0025BAE4 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025EB88 0025BAE8 98 03 05 90 */ stb r0, 0x590(r3) -/* 8025EB8C 0025BAEC 4B DF 57 C5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025EB90 0025BAF0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8025EB94 0025BAF4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8025EB98 0025BAF8 A0 63 02 6C */ lhz r3, 0x26c(r3) -/* 8025EB9C 0025BAFC 7C 03 00 40 */ cmplw r3, r0 -/* 8025EBA0 0025BB00 40 82 00 0C */ bne lbl_8025EBAC -/* 8025EBA4 0025BB04 7F A3 EB 78 */ mr r3, r29 -/* 8025EBA8 0025BB08 4B DB 5D FD */ bl DetachActorFromPlayer__7CPlayerFv -lbl_8025EBAC: -/* 8025EBAC 0025BB0C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8025EBB0 0025BB10 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8025EBB4 0025BB14 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 8025EBB8 0025BB18 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8025EBBC 0025BB1C 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8025EBC0 0025BB20 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8025EBC4 0025BB24 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8025EBC8 0025BB28 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 8025EBCC 0025BB2C 7C 08 03 A6 */ mtlr r0 -/* 8025EBD0 0025BB30 38 21 01 20 */ addi r1, r1, 0x120 -/* 8025EBD4 0025BB34 4E 80 00 20 */ blr - -.global sub_8025ebd8 -sub_8025ebd8: -/* 8025EBD8 0025BB38 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025EBDC 0025BB3C 7C 08 02 A6 */ mflr r0 -/* 8025EBE0 0025BB40 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025EBE4 0025BB44 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025EBE8 0025BB48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025EBEC 0025BB4C 7C 7E 1B 78 */ mr r30, r3 -/* 8025EBF0 0025BB50 A0 63 06 94 */ lhz r3, 0x694(r3) -/* 8025EBF4 0025BB54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025EBF8 0025BB58 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025EBFC 0025BB5C 7C 03 00 40 */ cmplw r3, r0 -/* 8025EC00 0025BB60 41 82 00 C8 */ beq lbl_8025ECC8 -/* 8025EC04 0025BB64 A0 1E 06 94 */ lhz r0, 0x694(r30) -/* 8025EC08 0025BB68 7C 83 23 78 */ mr r3, r4 -/* 8025EC0C 0025BB6C 38 81 00 08 */ addi r4, r1, 8 -/* 8025EC10 0025BB70 B0 01 00 08 */ sth r0, 8(r1) -/* 8025EC14 0025BB74 4B DE D9 61 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025EC18 0025BB78 7C 64 1B 78 */ mr r4, r3 -/* 8025EC1C 0025BB7C 38 61 00 0C */ addi r3, r1, 0xc -/* 8025EC20 0025BB80 4B E5 0E 1D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025EC24 0025BB84 80 A3 00 04 */ lwz r5, 4(r3) -/* 8025EC28 0025BB88 28 05 00 00 */ cmplwi r5, 0 -/* 8025EC2C 0025BB8C 41 82 00 9C */ beq lbl_8025ECC8 -/* 8025EC30 0025BB90 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8025EC34 0025BB94 2C 00 00 01 */ cmpwi r0, 1 -/* 8025EC38 0025BB98 40 82 00 90 */ bne lbl_8025ECC8 -/* 8025EC3C 0025BB9C C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8025EC40 0025BBA0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8025EC44 0025BBA4 C0 05 00 50 */ lfs f0, 0x50(r5) -/* 8025EC48 0025BBA8 EC 41 18 28 */ fsubs f2, f1, f3 -/* 8025EC4C 0025BBAC C0 DE 00 40 */ lfs f6, 0x40(r30) -/* 8025EC50 0025BBB0 EC A0 18 28 */ fsubs f5, f0, f3 -/* 8025EC54 0025BBB4 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8025EC58 0025BBB8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8025EC5C 0025BBBC EC 81 30 28 */ fsubs f4, f1, f6 -/* 8025EC60 0025BBC0 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8025EC64 0025BBC4 C0 FE 00 60 */ lfs f7, 0x60(r30) -/* 8025EC68 0025BBC8 EC C0 30 28 */ fsubs f6, f0, f6 -/* 8025EC6C 0025BBCC C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8025EC70 0025BBD0 EC 05 01 72 */ fmuls f0, f5, f5 -/* 8025EC74 0025BBD4 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8025EC78 0025BBD8 EC 63 38 28 */ fsubs f3, f3, f7 -/* 8025EC7C 0025BBDC EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8025EC80 0025BBE0 EC 42 38 28 */ fsubs f2, f2, f7 -/* 8025EC84 0025BBE4 EC 06 01 BA */ fmadds f0, f6, f6, f0 -/* 8025EC88 0025BBE8 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8025EC8C 0025BBEC EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 8025EC90 0025BBF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025EC94 0025BBF4 7C 00 00 26 */ mfcr r0 -/* 8025EC98 0025BBF8 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f -/* 8025EC9C 0025BBFC 41 82 00 30 */ beq lbl_8025ECCC -/* 8025ECA0 0025BC00 88 05 01 90 */ lbz r0, 0x190(r5) -/* 8025ECA4 0025BC04 38 80 00 00 */ li r4, 0 -/* 8025ECA8 0025BC08 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8025ECAC 0025BC0C 98 05 01 90 */ stb r0, 0x190(r5) -/* 8025ECB0 0025BC10 88 05 01 90 */ lbz r0, 0x190(r5) -/* 8025ECB4 0025BC14 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8025ECB8 0025BC18 98 05 01 90 */ stb r0, 0x190(r5) -/* 8025ECBC 0025BC1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025ECC0 0025BC20 B0 1E 06 94 */ sth r0, 0x694(r30) -/* 8025ECC4 0025BC24 48 00 00 08 */ b lbl_8025ECCC -lbl_8025ECC8: -/* 8025ECC8 0025BC28 38 60 00 01 */ li r3, 1 -lbl_8025ECCC: -/* 8025ECCC 0025BC2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025ECD0 0025BC30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025ECD4 0025BC34 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025ECD8 0025BC38 7C 08 03 A6 */ mtlr r0 -/* 8025ECDC 0025BC3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025ECE0 0025BC40 4E 80 00 20 */ blr - -.global sub_8025ece4 -sub_8025ece4: -/* 8025ECE4 0025BC44 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8025ECE8 0025BC48 7C 08 02 A6 */ mflr r0 -/* 8025ECEC 0025BC4C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8025ECF0 0025BC50 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8025ECF4 0025BC54 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8025ECF8 0025BC58 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8025ECFC 0025BC5C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8025ED00 0025BC60 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8025ED04 0025BC64 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8025ED08 0025BC68 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025ED0C 0025BC6C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8025ED10 0025BC70 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8025ED14 0025BC74 7C 7D 1B 78 */ mr r29, r3 -/* 8025ED18 0025BC78 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025ED1C 0025BC7C A0 63 06 94 */ lhz r3, 0x694(r3) -/* 8025ED20 0025BC80 7C 9E 23 78 */ mr r30, r4 -/* 8025ED24 0025BC84 7C 03 00 40 */ cmplw r3, r0 -/* 8025ED28 0025BC88 41 82 00 A4 */ beq lbl_8025EDCC -/* 8025ED2C 0025BC8C C0 45 00 24 */ lfs f2, 0x24(r5) -/* 8025ED30 0025BC90 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025ED34 0025BC94 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8025ED38 0025BC98 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025ED3C 0025BC9C C0 05 00 04 */ lfs f0, 4(r5) -/* 8025ED40 0025BCA0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8025ED44 0025BCA4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025ED48 0025BCA8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025ED4C 0025BCAC 48 0B 5B 05 */ bl AsNormalized__9CVector3fCFv -/* 8025ED50 0025BCB0 A0 1D 06 94 */ lhz r0, 0x694(r29) -/* 8025ED54 0025BCB4 7F C3 F3 78 */ mr r3, r30 -/* 8025ED58 0025BCB8 C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 8025ED5C 0025BCBC 38 81 00 08 */ addi r4, r1, 8 -/* 8025ED60 0025BCC0 B0 01 00 08 */ sth r0, 8(r1) -/* 8025ED64 0025BCC4 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 8025ED68 0025BCC8 C3 A1 00 28 */ lfs f29, 0x28(r1) -/* 8025ED6C 0025BCCC 4B DE D8 09 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025ED70 0025BCD0 7C 64 1B 78 */ mr r4, r3 -/* 8025ED74 0025BCD4 38 61 00 0C */ addi r3, r1, 0xc -/* 8025ED78 0025BCD8 4B E5 0C C5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025ED7C 0025BCDC 83 E3 00 04 */ lwz r31, 4(r3) -/* 8025ED80 0025BCE0 28 1F 00 00 */ cmplwi r31, 0 -/* 8025ED84 0025BCE4 41 82 00 48 */ beq lbl_8025EDCC -/* 8025ED88 0025BCE8 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8025ED8C 0025BCEC 48 0B 37 51 */ bl Float__9CRandom16Fv -/* 8025ED90 0025BCF0 C0 62 BA 44 */ lfs f3, lbl_805AD764@sda21(r2) -/* 8025ED94 0025BCF4 C0 02 BA 4C */ lfs f0, lbl_805AD76C@sda21(r2) -/* 8025ED98 0025BCF8 C0 42 96 A0 */ lfs f2, lbl_805AB3C0@sda21(r2) -/* 8025ED9C 0025BCFC EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 8025EDA0 0025BD00 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 8025EDA4 0025BD04 FC 80 10 50 */ fneg f4, f2 -/* 8025EDA8 0025BD08 EC 61 07 F2 */ fmuls f3, f1, f31 -/* 8025EDAC 0025BD0C EC 41 07 B2 */ fmuls f2, f1, f30 -/* 8025EDB0 0025BD10 EC 21 07 72 */ fmuls f1, f1, f29 -/* 8025EDB4 0025BD14 D0 7F 01 58 */ stfs f3, 0x158(r31) -/* 8025EDB8 0025BD18 D0 5F 01 5C */ stfs f2, 0x15c(r31) -/* 8025EDBC 0025BD1C D0 3F 01 60 */ stfs f1, 0x160(r31) -/* 8025EDC0 0025BD20 D0 1F 01 64 */ stfs f0, 0x164(r31) -/* 8025EDC4 0025BD24 D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8025EDC8 0025BD28 D0 9F 01 6C */ stfs f4, 0x16c(r31) -lbl_8025EDCC: -/* 8025EDCC 0025BD2C 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 8025EDD0 0025BD30 38 60 00 00 */ li r3, 0 -/* 8025EDD4 0025BD34 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025EDD8 0025BD38 38 60 00 01 */ li r3, 1 -/* 8025EDDC 0025BD3C 98 1D 06 98 */ stb r0, 0x698(r29) -/* 8025EDE0 0025BD40 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 8025EDE4 0025BD44 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8025EDE8 0025BD48 98 1D 06 98 */ stb r0, 0x698(r29) -/* 8025EDEC 0025BD4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025EDF0 0025BD50 B0 1D 06 94 */ sth r0, 0x694(r29) -/* 8025EDF4 0025BD54 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8025EDF8 0025BD58 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8025EDFC 0025BD5C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8025EE00 0025BD60 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8025EE04 0025BD64 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8025EE08 0025BD68 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8025EE0C 0025BD6C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025EE10 0025BD70 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8025EE14 0025BD74 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8025EE18 0025BD78 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8025EE1C 0025BD7C 7C 08 03 A6 */ mtlr r0 -/* 8025EE20 0025BD80 38 21 00 70 */ addi r1, r1, 0x70 -/* 8025EE24 0025BD84 4E 80 00 20 */ blr - -.global sub_8025ee28 -sub_8025ee28: -/* 8025EE28 0025BD88 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8025EE2C 0025BD8C 7C 08 02 A6 */ mflr r0 -/* 8025EE30 0025BD90 90 01 01 44 */ stw r0, 0x144(r1) -/* 8025EE34 0025BD94 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8025EE38 0025BD98 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8025EE3C 0025BD9C DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8025EE40 0025BDA0 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8025EE44 0025BDA4 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8025EE48 0025BDA8 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8025EE4C 0025BDAC DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8025EE50 0025BDB0 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8025EE54 0025BDB4 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8025EE58 0025BDB8 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8025EE5C 0025BDBC 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 8025EE60 0025BDC0 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 8025EE64 0025BDC4 7C BE 2B 78 */ mr r30, r5 -/* 8025EE68 0025BDC8 7C 9D 23 78 */ mr r29, r4 -/* 8025EE6C 0025BDCC 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025EE70 0025BDD0 7C 7C 1B 78 */ mr r28, r3 -/* 8025EE74 0025BDD4 C0 45 00 24 */ lfs f2, 0x24(r5) -/* 8025EE78 0025BDD8 FF E0 08 90 */ fmr f31, f1 -/* 8025EE7C 0025BDDC C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8025EE80 0025BDE0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025EE84 0025BDE4 C0 05 00 04 */ lfs f0, 4(r5) -/* 8025EE88 0025BDE8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8025EE8C 0025BDEC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8025EE90 0025BDF0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8025EE94 0025BDF4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8025EE98 0025BDF8 48 0B 59 B9 */ bl AsNormalized__9CVector3fCFv -/* 8025EE9C 0025BDFC C3 C1 00 44 */ lfs f30, 0x44(r1) -/* 8025EEA0 0025BE00 38 60 00 01 */ li r3, 1 -/* 8025EEA4 0025BE04 C3 A1 00 48 */ lfs f29, 0x48(r1) -/* 8025EEA8 0025BE08 C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 8025EEAC 0025BE0C 98 7F 05 90 */ stb r3, 0x590(r31) -/* 8025EEB0 0025BE10 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8025EEB4 0025BE14 2C 00 00 01 */ cmpwi r0, 1 -/* 8025EEB8 0025BE18 40 82 01 70 */ bne lbl_8025F028 -/* 8025EEBC 0025BE1C 88 1C 06 98 */ lbz r0, 0x698(r28) -/* 8025EEC0 0025BE20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8025EEC4 0025BE24 C0 02 BA 40 */ lfs f0, lbl_805AD760@sda21(r2) -/* 8025EEC8 0025BE28 7F E3 FB 78 */ mr r3, r31 -/* 8025EECC 0025BE2C 98 1C 06 98 */ stb r0, 0x698(r28) -/* 8025EED0 0025BE30 D0 1C 06 8C */ stfs f0, 0x68c(r28) -/* 8025EED4 0025BE34 4B EB C4 A5 */ bl Stop__13CPhysicsActorFv -/* 8025EED8 0025BE38 7F C4 F3 78 */ mr r4, r30 -/* 8025EEDC 0025BE3C 38 61 00 84 */ addi r3, r1, 0x84 -/* 8025EEE0 0025BE40 38 BC 06 4C */ addi r5, r28, 0x64c -/* 8025EEE4 0025BE44 48 0B 3A 6D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8025EEE8 0025BE48 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8025EEEC 0025BE4C 38 81 00 84 */ addi r4, r1, 0x84 -/* 8025EEF0 0025BE50 48 0B 3C 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025EEF4 0025BE54 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8025EEF8 0025BE58 7F E3 FB 78 */ mr r3, r31 -/* 8025EEFC 0025BE5C C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) -/* 8025EF00 0025BE60 7F A5 EB 78 */ mr r5, r29 -/* 8025EF04 0025BE64 C0 41 00 D0 */ lfs f2, 0xd0(r1) -/* 8025EF08 0025BE68 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8025EF0C 0025BE6C EC 60 20 2A */ fadds f3, f0, f4 -/* 8025EF10 0025BE70 C0 21 00 E0 */ lfs f1, 0xe0(r1) -/* 8025EF14 0025BE74 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) -/* 8025EF18 0025BE78 EC 42 20 2A */ fadds f2, f2, f4 -/* 8025EF1C 0025BE7C 38 C0 00 00 */ li r6, 0 -/* 8025EF20 0025BE80 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025EF24 0025BE84 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 8025EF28 0025BE88 D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 8025EF2C 0025BE8C D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 8025EF30 0025BE90 48 02 61 6D */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb -/* 8025EF34 0025BE94 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 8025EF38 0025BE98 EC 60 07 B2 */ fmuls f3, f0, f30 -/* 8025EF3C 0025BE9C EC 40 07 72 */ fmuls f2, f0, f29 -/* 8025EF40 0025BEA0 EC 20 07 32 */ fmuls f1, f0, f28 -/* 8025EF44 0025BEA4 EC 1F 00 F2 */ fmuls f0, f31, f3 -/* 8025EF48 0025BEA8 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8025EF4C 0025BEAC EC 9F 00 B2 */ fmuls f4, f31, f2 -/* 8025EF50 0025BEB0 EC 7F 00 72 */ fmuls f3, f31, f1 -/* 8025EF54 0025BEB4 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8025EF58 0025BEB8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8025EF5C 0025BEBC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8025EF60 0025BEC0 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8025EF64 0025BEC4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8025EF68 0025BEC8 4B DB C5 CD */ bl Identity__10CAxisAngleFv -/* 8025EF6C 0025BECC 7C 65 1B 78 */ mr r5, r3 -/* 8025EF70 0025BED0 7F E3 FB 78 */ mr r3, r31 -/* 8025EF74 0025BED4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8025EF78 0025BED8 4B EB D4 21 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 8025EF7C 0025BEDC 7F E3 FB 78 */ mr r3, r31 -/* 8025EF80 0025BEE0 7F A5 EB 78 */ mr r5, r29 -/* 8025EF84 0025BEE4 38 80 00 02 */ li r4, 2 -/* 8025EF88 0025BEE8 48 02 74 65 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -/* 8025EF8C 0025BEEC 7F E3 FB 78 */ mr r3, r31 -/* 8025EF90 0025BEF0 7F A5 EB 78 */ mr r5, r29 -/* 8025EF94 0025BEF4 38 80 00 13 */ li r4, 0x13 -/* 8025EF98 0025BEF8 4B DF 53 B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025EF9C 0025BEFC 80 AD 97 E0 */ lwz r5, lbl_805A83A0@sda21(r13) -/* 8025EFA0 0025BF00 38 60 00 00 */ li r3, 0 -/* 8025EFA4 0025BF04 38 80 00 01 */ li r4, 1 -/* 8025EFA8 0025BF08 48 12 AF 4D */ bl __shl2i -/* 8025EFAC 0025BF0C 38 A0 00 00 */ li r5, 0 -/* 8025EFB0 0025BF10 38 00 00 03 */ li r0, 3 -/* 8025EFB4 0025BF14 90 81 00 54 */ stw r4, 0x54(r1) -/* 8025EFB8 0025BF18 7F 84 E3 78 */ mr r4, r28 -/* 8025EFBC 0025BF1C 90 61 00 50 */ stw r3, 0x50(r1) -/* 8025EFC0 0025BF20 38 61 00 68 */ addi r3, r1, 0x68 -/* 8025EFC4 0025BF24 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 8025EFC8 0025BF28 90 A1 00 58 */ stw r5, 0x58(r1) -/* 8025EFCC 0025BF2C 90 01 00 60 */ stw r0, 0x60(r1) -/* 8025EFD0 0025BF30 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025EFD4 0025BF34 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025EFD8 0025BF38 A0 BF 00 08 */ lhz r5, 8(r31) -/* 8025EFDC 0025BF3C B0 01 00 08 */ sth r0, 8(r1) -/* 8025EFE0 0025BF40 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 8025EFE4 0025BF44 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025EFE8 0025BF48 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 8025EFEC 0025BF4C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8025EFF0 0025BF50 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025EFF4 0025BF54 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8025EFF8 0025BF58 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 8025EFFC 0025BF5C 7D 89 03 A6 */ mtctr r12 -/* 8025F000 0025BF60 4E 80 04 21 */ bctrl -/* 8025F004 0025BF64 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8025F008 0025BF68 7F A3 EB 78 */ mr r3, r29 -/* 8025F00C 0025BF6C 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8025F010 0025BF70 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025F014 0025BF74 38 81 00 1C */ addi r4, r1, 0x1c -/* 8025F018 0025BF78 38 C1 00 0C */ addi r6, r1, 0xc -/* 8025F01C 0025BF7C 38 E1 00 68 */ addi r7, r1, 0x68 -/* 8025F020 0025BF80 39 01 00 50 */ addi r8, r1, 0x50 -/* 8025F024 0025BF84 4B DE B0 7D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_8025F028: -/* 8025F028 0025BF88 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8025F02C 0025BF8C CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8025F030 0025BF90 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8025F034 0025BF94 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8025F038 0025BF98 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8025F03C 0025BF9C CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8025F040 0025BFA0 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8025F044 0025BFA4 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8025F048 0025BFA8 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8025F04C 0025BFAC 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8025F050 0025BFB0 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 8025F054 0025BFB4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8025F058 0025BFB8 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 8025F05C 0025BFBC 7C 08 03 A6 */ mtlr r0 -/* 8025F060 0025BFC0 38 21 01 40 */ addi r1, r1, 0x140 -/* 8025F064 0025BFC4 4E 80 00 20 */ blr - -.global sub_8025f068 -sub_8025f068: -/* 8025F068 0025BFC8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025F06C 0025BFCC 7C 08 02 A6 */ mflr r0 -/* 8025F070 0025BFD0 2C 05 00 01 */ cmpwi r5, 1 -/* 8025F074 0025BFD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025F078 0025BFD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025F07C 0025BFDC 7C 9F 23 78 */ mr r31, r4 -/* 8025F080 0025BFE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025F084 0025BFE4 7C 7E 1B 78 */ mr r30, r3 -/* 8025F088 0025BFE8 41 82 00 3C */ beq lbl_8025F0C4 -/* 8025F08C 0025BFEC 40 80 00 10 */ bge lbl_8025F09C -/* 8025F090 0025BFF0 2C 05 00 00 */ cmpwi r5, 0 -/* 8025F094 0025BFF4 40 80 00 14 */ bge lbl_8025F0A8 -/* 8025F098 0025BFF8 48 00 00 80 */ b lbl_8025F118 -lbl_8025F09C: -/* 8025F09C 0025BFFC 2C 05 00 03 */ cmpwi r5, 3 -/* 8025F0A0 0025C000 40 80 00 78 */ bge lbl_8025F118 -/* 8025F0A4 0025C004 48 00 00 6C */ b lbl_8025F110 -lbl_8025F0A8: -/* 8025F0A8 0025C008 38 00 00 01 */ li r0, 1 -/* 8025F0AC 0025C00C 38 60 00 00 */ li r3, 0 -/* 8025F0B0 0025C010 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8025F0B4 0025C014 88 1E 06 98 */ lbz r0, 0x698(r30) -/* 8025F0B8 0025C018 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8025F0BC 0025C01C 98 1E 06 98 */ stb r0, 0x698(r30) -/* 8025F0C0 0025C020 48 00 00 58 */ b lbl_8025F118 -lbl_8025F0C4: -/* 8025F0C4 0025C024 3C A0 80 3F */ lis r5, lbl_803E9A1C@ha -/* 8025F0C8 0025C028 38 C1 00 08 */ addi r6, r1, 8 -/* 8025F0CC 0025C02C 39 45 9A 1C */ addi r10, r5, lbl_803E9A1C@l -/* 8025F0D0 0025C030 38 A0 00 07 */ li r5, 7 -/* 8025F0D4 0025C034 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025F0D8 0025C038 38 E0 00 01 */ li r7, 1 -/* 8025F0DC 0025C03C 81 0A 00 04 */ lwz r8, 4(r10) -/* 8025F0E0 0025C040 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025F0E4 0025C044 91 21 00 08 */ stw r9, 8(r1) -/* 8025F0E8 0025C048 91 01 00 0C */ stw r8, 0xc(r1) -/* 8025F0EC 0025C04C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8025F0F0 0025C050 4B E1 D6 C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025F0F4 0025C054 88 1E 06 98 */ lbz r0, 0x698(r30) -/* 8025F0F8 0025C058 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025F0FC 0025C05C 40 82 00 1C */ bne lbl_8025F118 -/* 8025F100 0025C060 7F C3 F3 78 */ mr r3, r30 -/* 8025F104 0025C064 7F E4 FB 78 */ mr r4, r31 -/* 8025F108 0025C068 48 00 01 9D */ bl sub_8025f2a4 -/* 8025F10C 0025C06C 48 00 00 0C */ b lbl_8025F118 -lbl_8025F110: -/* 8025F110 0025C070 38 00 00 00 */ li r0, 0 -/* 8025F114 0025C074 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_8025F118: -/* 8025F118 0025C078 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025F11C 0025C07C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025F120 0025C080 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025F124 0025C084 7C 08 03 A6 */ mtlr r0 -/* 8025F128 0025C088 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025F12C 0025C08C 4E 80 00 20 */ blr - -.global sub_8025f130 -sub_8025f130: -/* 8025F130 0025C090 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025F134 0025C094 7C 08 02 A6 */ mflr r0 -/* 8025F138 0025C098 2C 05 00 01 */ cmpwi r5, 1 -/* 8025F13C 0025C09C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025F140 0025C0A0 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8025F144 0025C0A4 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8025F148 0025C0A8 7C 9E 23 78 */ mr r30, r4 -/* 8025F14C 0025C0AC 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8025F150 0025C0B0 7C 7D 1B 78 */ mr r29, r3 -/* 8025F154 0025C0B4 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025F158 0025C0B8 41 82 00 5C */ beq lbl_8025F1B4 -/* 8025F15C 0025C0BC 40 80 00 10 */ bge lbl_8025F16C -/* 8025F160 0025C0C0 2C 05 00 00 */ cmpwi r5, 0 -/* 8025F164 0025C0C4 40 80 00 14 */ bge lbl_8025F178 -/* 8025F168 0025C0C8 48 00 01 20 */ b lbl_8025F288 -lbl_8025F16C: -/* 8025F16C 0025C0CC 2C 05 00 03 */ cmpwi r5, 3 -/* 8025F170 0025C0D0 40 80 01 18 */ bge lbl_8025F288 -/* 8025F174 0025C0D4 48 00 00 D8 */ b lbl_8025F24C -lbl_8025F178: -/* 8025F178 0025C0D8 7F E3 FB 78 */ mr r3, r31 -/* 8025F17C 0025C0DC 4B EB C1 FD */ bl Stop__13CPhysicsActorFv -/* 8025F180 0025C0E0 7F E3 FB 78 */ mr r3, r31 -/* 8025F184 0025C0E4 7F C5 F3 78 */ mr r5, r30 -/* 8025F188 0025C0E8 38 80 00 13 */ li r4, 0x13 -/* 8025F18C 0025C0EC 4B DF 4D F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025F190 0025C0F0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8025F194 0025C0F4 38 80 00 00 */ li r4, 0 -/* 8025F198 0025C0F8 38 00 00 01 */ li r0, 1 -/* 8025F19C 0025C0FC 98 83 05 90 */ stb r4, 0x590(r3) -/* 8025F1A0 0025C100 90 1D 03 2C */ stw r0, 0x32c(r29) -/* 8025F1A4 0025C104 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 8025F1A8 0025C108 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8025F1AC 0025C10C 98 1D 06 98 */ stb r0, 0x698(r29) -/* 8025F1B0 0025C110 48 00 00 D8 */ b lbl_8025F288 -lbl_8025F1B4: -/* 8025F1B4 0025C114 3C A0 80 3F */ lis r5, lbl_803E9A10@ha -/* 8025F1B8 0025C118 38 C1 00 24 */ addi r6, r1, 0x24 -/* 8025F1BC 0025C11C 39 45 9A 10 */ addi r10, r5, lbl_803E9A10@l -/* 8025F1C0 0025C120 38 A0 00 07 */ li r5, 7 -/* 8025F1C4 0025C124 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025F1C8 0025C128 38 E0 00 01 */ li r7, 1 -/* 8025F1CC 0025C12C 81 0A 00 04 */ lwz r8, 4(r10) -/* 8025F1D0 0025C130 80 0A 00 08 */ lwz r0, 8(r10) -/* 8025F1D4 0025C134 91 21 00 24 */ stw r9, 0x24(r1) -/* 8025F1D8 0025C138 91 01 00 28 */ stw r8, 0x28(r1) -/* 8025F1DC 0025C13C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8025F1E0 0025C140 4B E1 D5 D5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8025F1E4 0025C144 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 8025F1E8 0025C148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8025F1EC 0025C14C 40 82 00 9C */ bne lbl_8025F288 -/* 8025F1F0 0025C150 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025F1F4 0025C154 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F1F8 0025C158 4B DA 5A C1 */ bl string_l__4rstlFPCc -/* 8025F1FC 0025C15C 7F A4 EB 78 */ mr r4, r29 -/* 8025F200 0025C160 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025F204 0025C164 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025F208 0025C168 4B E1 97 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025F20C 0025C16C 38 61 00 60 */ addi r3, r1, 0x60 -/* 8025F210 0025C170 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025F214 0025C174 48 0B 39 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025F218 0025C178 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F21C 0025C17C 48 0D E8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025F220 0025C180 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 8025F224 0025C184 7F A3 EB 78 */ mr r3, r29 -/* 8025F228 0025C188 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 8025F22C 0025C18C 7F C4 F3 78 */ mr r4, r30 -/* 8025F230 0025C190 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8025F234 0025C194 38 A1 00 08 */ addi r5, r1, 8 -/* 8025F238 0025C198 D0 41 00 08 */ stfs f2, 8(r1) -/* 8025F23C 0025C19C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025F240 0025C1A0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025F244 0025C1A4 48 00 01 59 */ bl sub_8025f39c -/* 8025F248 0025C1A8 48 00 00 40 */ b lbl_8025F288 -lbl_8025F24C: -/* 8025F24C 0025C1AC 38 00 00 00 */ li r0, 0 -/* 8025F250 0025C1B0 90 1D 03 2C */ stw r0, 0x32c(r29) -/* 8025F254 0025C1B4 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8025F258 0025C1B8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8025F25C 0025C1BC A0 63 02 6C */ lhz r3, 0x26c(r3) -/* 8025F260 0025C1C0 7C 03 00 40 */ cmplw r3, r0 -/* 8025F264 0025C1C4 40 82 00 0C */ bne lbl_8025F270 -/* 8025F268 0025C1C8 7F E3 FB 78 */ mr r3, r31 -/* 8025F26C 0025C1CC 4B DB 57 39 */ bl DetachActorFromPlayer__7CPlayerFv -lbl_8025F270: -/* 8025F270 0025C1D0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8025F274 0025C1D4 38 00 00 01 */ li r0, 1 -/* 8025F278 0025C1D8 7F C5 F3 78 */ mr r5, r30 -/* 8025F27C 0025C1DC 38 80 00 13 */ li r4, 0x13 -/* 8025F280 0025C1E0 98 03 05 90 */ stb r0, 0x590(r3) -/* 8025F284 0025C1E4 4B DF 50 CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8025F288: -/* 8025F288 0025C1E8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025F28C 0025C1EC 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8025F290 0025C1F0 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8025F294 0025C1F4 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8025F298 0025C1F8 7C 08 03 A6 */ mtlr r0 -/* 8025F29C 0025C1FC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025F2A0 0025C200 4E 80 00 20 */ blr - -.global sub_8025f2a4 -sub_8025f2a4: -/* 8025F2A4 0025C204 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8025F2A8 0025C208 7C 08 02 A6 */ mflr r0 -/* 8025F2AC 0025C20C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8025F2B0 0025C210 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8025F2B4 0025C214 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8025F2B8 0025C218 7C 7E 1B 78 */ mr r30, r3 -/* 8025F2BC 0025C21C A0 03 06 94 */ lhz r0, 0x694(r3) -/* 8025F2C0 0025C220 7C 83 23 78 */ mr r3, r4 -/* 8025F2C4 0025C224 38 81 00 08 */ addi r4, r1, 8 -/* 8025F2C8 0025C228 B0 01 00 08 */ sth r0, 8(r1) -/* 8025F2CC 0025C22C 4B DE D2 A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025F2D0 0025C230 7C 64 1B 78 */ mr r4, r3 -/* 8025F2D4 0025C234 38 61 00 0C */ addi r3, r1, 0xc -/* 8025F2D8 0025C238 4B E5 07 65 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025F2DC 0025C23C 83 E3 00 04 */ lwz r31, 4(r3) -/* 8025F2E0 0025C240 28 1F 00 00 */ cmplwi r31, 0 -/* 8025F2E4 0025C244 41 82 00 A0 */ beq lbl_8025F384 -/* 8025F2E8 0025C248 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025F2EC 0025C24C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F2F0 0025C250 4B DA 59 C9 */ bl string_l__4rstlFPCc -/* 8025F2F4 0025C254 7F C4 F3 78 */ mr r4, r30 -/* 8025F2F8 0025C258 38 61 00 24 */ addi r3, r1, 0x24 -/* 8025F2FC 0025C25C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025F300 0025C260 4B E1 96 79 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025F304 0025C264 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025F308 0025C268 38 81 00 24 */ addi r4, r1, 0x24 -/* 8025F30C 0025C26C 48 0B 38 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025F310 0025C270 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F314 0025C274 48 0D E7 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025F318 0025C278 3C 60 80 57 */ lis r3, lbl_80572688@ha -/* 8025F31C 0025C27C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8025F320 0025C280 38 A3 26 88 */ addi r5, r3, lbl_80572688@l -/* 8025F324 0025C284 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 8025F328 0025C288 C0 05 00 00 */ lfs f0, 0(r5) -/* 8025F32C 0025C28C 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8025F330 0025C290 C0 45 00 04 */ lfs f2, 4(r5) -/* 8025F334 0025C294 38 81 00 54 */ addi r4, r1, 0x54 -/* 8025F338 0025C298 EC 81 00 2A */ fadds f4, f1, f0 -/* 8025F33C 0025C29C C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8025F340 0025C2A0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8025F344 0025C2A4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8025F348 0025C2A8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025F34C 0025C2AC D0 81 00 60 */ stfs f4, 0x60(r1) -/* 8025F350 0025C2B0 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8025F354 0025C2B4 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8025F358 0025C2B8 48 0B 37 E9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8025F35C 0025C2BC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F360 0025C2C0 38 60 00 01 */ li r3, 1 -/* 8025F364 0025C2C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025F368 0025C2C8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8025F36C 0025C2CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F370 0025C2D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8025F374 0025C2D4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8025F378 0025C2D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F37C 0025C2DC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8025F380 0025C2E0 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_8025F384: -/* 8025F384 0025C2E4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8025F388 0025C2E8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8025F38C 0025C2EC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8025F390 0025C2F0 7C 08 03 A6 */ mtlr r0 -/* 8025F394 0025C2F4 38 21 00 90 */ addi r1, r1, 0x90 -/* 8025F398 0025C2F8 4E 80 00 20 */ blr - -.global sub_8025f39c -sub_8025f39c: -/* 8025F39C 0025C2FC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8025F3A0 0025C300 7C 08 02 A6 */ mflr r0 -/* 8025F3A4 0025C304 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8025F3A8 0025C308 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8025F3AC 0025C30C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8025F3B0 0025C310 7C 9E 23 78 */ mr r30, r4 -/* 8025F3B4 0025C314 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8025F3B8 0025C318 7C 7D 1B 78 */ mr r29, r3 -/* 8025F3BC 0025C31C 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025F3C0 0025C320 7F E3 FB 78 */ mr r3, r31 -/* 8025F3C4 0025C324 4B EB BF B5 */ bl Stop__13CPhysicsActorFv -/* 8025F3C8 0025C328 7F E3 FB 78 */ mr r3, r31 -/* 8025F3CC 0025C32C 7F C5 F3 78 */ mr r5, r30 -/* 8025F3D0 0025C330 38 80 00 13 */ li r4, 0x13 -/* 8025F3D4 0025C334 4B DF 4B AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025F3D8 0025C338 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025F3DC 0025C33C 38 61 00 08 */ addi r3, r1, 8 -/* 8025F3E0 0025C340 4B DA 58 D9 */ bl string_l__4rstlFPCc -/* 8025F3E4 0025C344 7F A4 EB 78 */ mr r4, r29 -/* 8025F3E8 0025C348 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025F3EC 0025C34C 38 A1 00 08 */ addi r5, r1, 8 -/* 8025F3F0 0025C350 4B E1 95 89 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025F3F4 0025C354 38 61 00 48 */ addi r3, r1, 0x48 -/* 8025F3F8 0025C358 38 81 00 18 */ addi r4, r1, 0x18 -/* 8025F3FC 0025C35C 38 BD 06 4C */ addi r5, r29, 0x64c -/* 8025F400 0025C360 48 0B 35 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8025F404 0025C364 38 61 00 78 */ addi r3, r1, 0x78 -/* 8025F408 0025C368 38 81 00 48 */ addi r4, r1, 0x48 -/* 8025F40C 0025C36C 48 0B 37 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025F410 0025C370 38 61 00 08 */ addi r3, r1, 8 -/* 8025F414 0025C374 48 0D E6 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025F418 0025C378 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8025F41C 0025C37C 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8025F420 0025C380 C0 82 BA 34 */ lfs f4, lbl_805AD754@sda21(r2) -/* 8025F424 0025C384 38 81 00 78 */ addi r4, r1, 0x78 -/* 8025F428 0025C388 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 8025F42C 0025C38C EC 60 20 2A */ fadds f3, f0, f4 -/* 8025F430 0025C390 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 8025F434 0025C394 C0 02 BA 50 */ lfs f0, lbl_805AD770@sda21(r2) -/* 8025F438 0025C398 EC 42 20 2A */ fadds f2, f2, f4 -/* 8025F43C 0025C39C EC 01 00 2A */ fadds f0, f1, f0 -/* 8025F440 0025C3A0 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 8025F444 0025C3A4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8025F448 0025C3A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8025F44C 0025C3AC 48 0B 36 F5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8025F450 0025C3B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F454 0025C3B4 38 60 00 01 */ li r3, 1 -/* 8025F458 0025C3B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8025F45C 0025C3BC 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8025F460 0025C3C0 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F464 0025C3C4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8025F468 0025C3C8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8025F46C 0025C3CC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8025F470 0025C3D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8025F474 0025C3D4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8025F478 0025C3D8 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8025F47C 0025C3DC 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8025F480 0025C3E0 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8025F484 0025C3E4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8025F488 0025C3E8 7C 08 03 A6 */ mtlr r0 -/* 8025F48C 0025C3EC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8025F490 0025C3F0 4E 80 00 20 */ blr - -.global sub_8025f494 -sub_8025f494: -/* 8025F494 0025C3F4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025F498 0025C3F8 7C 08 02 A6 */ mflr r0 -/* 8025F49C 0025C3FC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025F4A0 0025C400 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8025F4A4 0025C404 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8025F4A8 0025C408 7C BE 2B 78 */ mr r30, r5 -/* 8025F4AC 0025C40C 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8025F4B0 0025C410 7C 9D 23 78 */ mr r29, r4 -/* 8025F4B4 0025C414 93 81 00 90 */ stw r28, 0x90(r1) -/* 8025F4B8 0025C418 7C 7C 1B 78 */ mr r28, r3 -/* 8025F4BC 0025C41C 4B F9 72 11 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8025F4C0 0025C420 7F 83 E3 78 */ mr r3, r28 -/* 8025F4C4 0025C424 7F A4 EB 78 */ mr r4, r29 -/* 8025F4C8 0025C428 4B FF EE 19 */ bl sub_8025e2e0 -/* 8025F4CC 0025C42C 2C 1E 00 01 */ cmpwi r30, 1 -/* 8025F4D0 0025C430 83 FD 08 4C */ lwz r31, 0x84c(r29) -/* 8025F4D4 0025C434 41 82 00 60 */ beq lbl_8025F534 -/* 8025F4D8 0025C438 40 80 00 B4 */ bge lbl_8025F58C -/* 8025F4DC 0025C43C 2C 1E 00 00 */ cmpwi r30, 0 -/* 8025F4E0 0025C440 40 80 00 0C */ bge lbl_8025F4EC -/* 8025F4E4 0025C444 48 00 00 A8 */ b lbl_8025F58C -/* 8025F4E8 0025C448 48 00 00 A4 */ b lbl_8025F58C -lbl_8025F4EC: -/* 8025F4EC 0025C44C 7F E3 FB 78 */ mr r3, r31 -/* 8025F4F0 0025C450 4B EB BE 89 */ bl Stop__13CPhysicsActorFv -/* 8025F4F4 0025C454 7F E3 FB 78 */ mr r3, r31 -/* 8025F4F8 0025C458 7F A5 EB 78 */ mr r5, r29 -/* 8025F4FC 0025C45C 38 80 00 13 */ li r4, 0x13 -/* 8025F500 0025C460 4B DF 4A 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025F504 0025C464 38 00 00 00 */ li r0, 0 -/* 8025F508 0025C468 98 1F 05 90 */ stb r0, 0x590(r31) -/* 8025F50C 0025C46C 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 8025F510 0025C470 4B E9 23 E5 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 8025F514 0025C474 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025F518 0025C478 38 81 00 0C */ addi r4, r1, 0xc -/* 8025F51C 0025C47C 38 A0 00 01 */ li r5, 1 -/* 8025F520 0025C480 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025F524 0025C484 B0 01 00 08 */ sth r0, 8(r1) -/* 8025F528 0025C488 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8025F52C 0025C48C 4B DB 54 A5 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId -/* 8025F530 0025C490 48 00 00 5C */ b lbl_8025F58C -lbl_8025F534: -/* 8025F534 0025C494 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025F538 0025C498 38 61 00 1C */ addi r3, r1, 0x1c -/* 8025F53C 0025C49C 4B DA 57 7D */ bl string_l__4rstlFPCc -/* 8025F540 0025C4A0 7F 84 E3 78 */ mr r4, r28 -/* 8025F544 0025C4A4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025F548 0025C4A8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8025F54C 0025C4AC 4B E1 94 2D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025F550 0025C4B0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8025F554 0025C4B4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8025F558 0025C4B8 48 0B 36 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025F55C 0025C4BC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8025F560 0025C4C0 48 0D E5 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025F564 0025C4C4 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8025F568 0025C4C8 7F 83 E3 78 */ mr r3, r28 -/* 8025F56C 0025C4CC C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8025F570 0025C4D0 7F A4 EB 78 */ mr r4, r29 -/* 8025F574 0025C4D4 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8025F578 0025C4D8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8025F57C 0025C4DC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025F580 0025C4E0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8025F584 0025C4E4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8025F588 0025C4E8 4B FF FE 15 */ bl sub_8025f39c -lbl_8025F58C: -/* 8025F58C 0025C4EC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025F590 0025C4F0 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8025F594 0025C4F4 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8025F598 0025C4F8 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8025F59C 0025C4FC 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8025F5A0 0025C500 7C 08 03 A6 */ mtlr r0 -/* 8025F5A4 0025C504 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025F5A8 0025C508 4E 80 00 20 */ blr - -.global sub_8025f5ac -sub_8025f5ac: -/* 8025F5AC 0025C50C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025F5B0 0025C510 7C 08 02 A6 */ mflr r0 -/* 8025F5B4 0025C514 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025F5B8 0025C518 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025F5BC 0025C51C 7C BF 2B 78 */ mr r31, r5 -/* 8025F5C0 0025C520 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025F5C4 0025C524 7C 9E 23 78 */ mr r30, r4 -/* 8025F5C8 0025C528 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025F5CC 0025C52C 7C 7D 1B 78 */ mr r29, r3 -/* 8025F5D0 0025C530 4B F9 70 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8025F5D4 0025C534 7F A3 EB 78 */ mr r3, r29 -/* 8025F5D8 0025C538 7F C4 F3 78 */ mr r4, r30 -/* 8025F5DC 0025C53C 4B FF ED 05 */ bl sub_8025e2e0 -/* 8025F5E0 0025C540 2C 1F 00 01 */ cmpwi r31, 1 -/* 8025F5E4 0025C544 41 82 00 10 */ beq lbl_8025F5F4 -/* 8025F5E8 0025C548 40 80 00 18 */ bge lbl_8025F600 -/* 8025F5EC 0025C54C 48 00 00 14 */ b lbl_8025F600 -/* 8025F5F0 0025C550 48 00 00 10 */ b lbl_8025F600 -lbl_8025F5F4: -/* 8025F5F4 0025C554 7F A3 EB 78 */ mr r3, r29 -/* 8025F5F8 0025C558 7F C4 F3 78 */ mr r4, r30 -/* 8025F5FC 0025C55C 4B FF FC A9 */ bl sub_8025f2a4 -lbl_8025F600: -/* 8025F600 0025C560 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025F604 0025C564 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025F608 0025C568 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025F60C 0025C56C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025F610 0025C570 7C 08 03 A6 */ mtlr r0 -/* 8025F614 0025C574 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025F618 0025C578 4E 80 00 20 */ blr - -.global sub_8025f61c -sub_8025f61c: -/* 8025F61C 0025C57C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F620 0025C580 7C 08 02 A6 */ mflr r0 -/* 8025F624 0025C584 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F628 0025C588 81 83 00 00 */ lwz r12, 0(r3) -/* 8025F62C 0025C58C 81 8C 00 B0 */ lwz r12, 0xb0(r12) -/* 8025F630 0025C590 7D 89 03 A6 */ mtctr r12 -/* 8025F634 0025C594 4E 80 04 21 */ bctrl -/* 8025F638 0025C598 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F63C 0025C59C 7C 08 03 A6 */ mtlr r0 -/* 8025F640 0025C5A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F644 0025C5A4 4E 80 00 20 */ blr - -.global sub_8025f648 -sub_8025f648: -/* 8025F648 0025C5A8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025F64C 0025C5AC 7C 08 02 A6 */ mflr r0 -/* 8025F650 0025C5B0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025F654 0025C5B4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025F658 0025C5B8 7C 9F 23 78 */ mr r31, r4 -/* 8025F65C 0025C5BC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8025F660 0025C5C0 7C 7E 1B 78 */ mr r30, r3 -/* 8025F664 0025C5C4 4B F9 70 69 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8025F668 0025C5C8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025F66C 0025C5CC C0 BE 00 58 */ lfs f5, 0x58(r30) -/* 8025F670 0025C5D0 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8025F674 0025C5D4 C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 8025F678 0025C5D8 C0 63 00 04 */ lfs f3, 4(r3) -/* 8025F67C 0025C5DC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 8025F680 0025C5E0 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 8025F684 0025C5E4 C0 43 00 08 */ lfs f2, 8(r3) -/* 8025F688 0025C5E8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8025F68C 0025C5EC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8025F690 0025C5F0 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 8025F694 0025C5F4 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8025F698 0025C5F8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025F69C 0025C5FC EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 8025F6A0 0025C600 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025F6A4 0025C604 40 80 00 78 */ bge lbl_8025F71C -/* 8025F6A8 0025C608 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F6AC 0025C60C 48 0B 50 4D */ bl CanBeNormalized__9CVector3fCFv -/* 8025F6B0 0025C610 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025F6B4 0025C614 41 82 00 68 */ beq lbl_8025F71C -/* 8025F6B8 0025C618 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025F6BC 0025C61C 38 63 00 04 */ addi r3, r3, 4 -/* 8025F6C0 0025C620 4B ED 1D E9 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv -/* 8025F6C4 0025C624 38 61 00 08 */ addi r3, r1, 8 -/* 8025F6C8 0025C628 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025F6CC 0025C62C 48 0B 51 85 */ bl AsNormalized__9CVector3fCFv -/* 8025F6D0 0025C630 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8025F6D4 0025C634 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) -/* 8025F6D8 0025C638 C0 61 00 08 */ lfs f3, 8(r1) -/* 8025F6DC 0025C63C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8025F6E0 0025C640 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8025F6E4 0025C644 C0 A3 00 04 */ lfs f5, 4(r3) -/* 8025F6E8 0025C648 C0 83 00 08 */ lfs f4, 8(r3) -/* 8025F6EC 0025C64C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025F6F0 0025C650 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) -/* 8025F6F4 0025C654 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 8025F6F8 0025C658 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 8025F6FC 0025C65C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8025F700 0025C660 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8025F704 0025C664 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8025F708 0025C668 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8025F70C 0025C66C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8025F710 0025C670 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025F714 0025C674 38 63 00 04 */ addi r3, r3, 4 -/* 8025F718 0025C678 4B ED 20 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8025F71C: -/* 8025F71C 0025C67C 7F C3 F3 78 */ mr r3, r30 -/* 8025F720 0025C680 7F E4 FB 78 */ mr r4, r31 -/* 8025F724 0025C684 4B FF EB BD */ bl sub_8025e2e0 -/* 8025F728 0025C688 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025F72C 0025C68C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025F730 0025C690 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8025F734 0025C694 7C 08 03 A6 */ mtlr r0 -/* 8025F738 0025C698 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025F73C 0025C69C 4E 80 00 20 */ blr - -.global sub_8025f740 -sub_8025f740: -/* 8025F740 0025C6A0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025F744 0025C6A4 7C 08 02 A6 */ mflr r0 -/* 8025F748 0025C6A8 2C 05 00 01 */ cmpwi r5, 1 -/* 8025F74C 0025C6AC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025F750 0025C6B0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025F754 0025C6B4 7C 9F 23 78 */ mr r31, r4 -/* 8025F758 0025C6B8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8025F75C 0025C6BC 7C 7E 1B 78 */ mr r30, r3 -/* 8025F760 0025C6C0 41 82 01 00 */ beq lbl_8025F860 -/* 8025F764 0025C6C4 40 80 01 00 */ bge lbl_8025F864 -/* 8025F768 0025C6C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8025F76C 0025C6CC 40 80 00 0C */ bge lbl_8025F778 -/* 8025F770 0025C6D0 48 00 00 F4 */ b lbl_8025F864 -/* 8025F774 0025C6D4 48 00 00 F0 */ b lbl_8025F864 -lbl_8025F778: -/* 8025F778 0025C6D8 7F C4 F3 78 */ mr r4, r30 -/* 8025F77C 0025C6DC 7F E5 FB 78 */ mr r5, r31 -/* 8025F780 0025C6E0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8025F784 0025C6E4 38 C0 00 0C */ li r6, 0xc -/* 8025F788 0025C6E8 38 E0 00 06 */ li r7, 6 -/* 8025F78C 0025C6EC 4B F9 58 0D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8025F790 0025C6F0 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8025F794 0025C6F4 7F E3 FB 78 */ mr r3, r31 -/* 8025F798 0025C6F8 38 81 00 0C */ addi r4, r1, 0xc -/* 8025F79C 0025C6FC B0 01 00 14 */ sth r0, 0x14(r1) -/* 8025F7A0 0025C700 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025F7A4 0025C704 4B DE CE 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025F7A8 0025C708 7C 64 1B 78 */ mr r4, r3 -/* 8025F7AC 0025C70C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8025F7B0 0025C710 4B E5 04 E1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8025F7B4 0025C714 80 A3 00 04 */ lwz r5, 4(r3) -/* 8025F7B8 0025C718 28 05 00 00 */ cmplwi r5, 0 -/* 8025F7BC 0025C71C 41 82 00 28 */ beq lbl_8025F7E4 -/* 8025F7C0 0025C720 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8025F7C4 0025C724 7F C3 F3 78 */ mr r3, r30 -/* 8025F7C8 0025C728 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8025F7CC 0025C72C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8025F7D0 0025C730 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8025F7D4 0025C734 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025F7D8 0025C738 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8025F7DC 0025C73C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8025F7E0 0025C740 4B E1 D3 7D */ bl SetDestPos__10CPatternedFRC9CVector3f -lbl_8025F7E4: -/* 8025F7E4 0025C744 A0 7E 06 94 */ lhz r3, 0x694(r30) -/* 8025F7E8 0025C748 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025F7EC 0025C74C 7C 03 00 40 */ cmplw r3, r0 -/* 8025F7F0 0025C750 41 82 00 4C */ beq lbl_8025F83C -/* 8025F7F4 0025C754 A0 1E 06 94 */ lhz r0, 0x694(r30) -/* 8025F7F8 0025C758 7F E3 FB 78 */ mr r3, r31 -/* 8025F7FC 0025C75C 38 81 00 08 */ addi r4, r1, 8 -/* 8025F800 0025C760 B0 01 00 08 */ sth r0, 8(r1) -/* 8025F804 0025C764 4B DE CD 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025F808 0025C768 7C 64 1B 78 */ mr r4, r3 -/* 8025F80C 0025C76C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025F810 0025C770 4B E5 02 2D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025F814 0025C774 80 83 00 04 */ lwz r4, 4(r3) -/* 8025F818 0025C778 28 04 00 00 */ cmplwi r4, 0 -/* 8025F81C 0025C77C 41 82 00 18 */ beq lbl_8025F834 -/* 8025F820 0025C780 88 04 01 90 */ lbz r0, 0x190(r4) -/* 8025F824 0025C784 38 60 00 00 */ li r3, 0 -/* 8025F828 0025C788 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025F82C 0025C78C 98 04 01 90 */ stb r0, 0x190(r4) -/* 8025F830 0025C790 48 00 00 0C */ b lbl_8025F83C -lbl_8025F834: -/* 8025F834 0025C794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025F838 0025C798 B0 1E 06 94 */ sth r0, 0x694(r30) -lbl_8025F83C: -/* 8025F83C 0025C79C 7F C3 F3 78 */ mr r3, r30 -/* 8025F840 0025C7A0 7F E5 FB 78 */ mr r5, r31 -/* 8025F844 0025C7A4 38 80 00 06 */ li r4, 6 -/* 8025F848 0025C7A8 38 C0 FF FF */ li r6, -1 -/* 8025F84C 0025C7AC 4B DF 18 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8025F850 0025C7B0 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8025F854 0025C7B4 38 80 00 03 */ li r4, 3 -/* 8025F858 0025C7B8 4B ED B1 81 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8025F85C 0025C7BC 48 00 00 08 */ b lbl_8025F864 -lbl_8025F860: -/* 8025F860 0025C7C0 4B FF FA 45 */ bl sub_8025f2a4 -lbl_8025F864: -/* 8025F864 0025C7C4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8025F868 0025C7C8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025F86C 0025C7CC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8025F870 0025C7D0 7C 08 03 A6 */ mtlr r0 -/* 8025F874 0025C7D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025F878 0025C7D8 4E 80 00 20 */ blr - -.global sub_8025f87c -sub_8025f87c: -/* 8025F87C 0025C7DC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8025F880 0025C7E0 7C 08 02 A6 */ mflr r0 -/* 8025F884 0025C7E4 2C 05 00 01 */ cmpwi r5, 1 -/* 8025F888 0025C7E8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8025F88C 0025C7EC 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8025F890 0025C7F0 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8025F894 0025C7F4 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8025F898 0025C7F8 7C 9D 23 78 */ mr r29, r4 -/* 8025F89C 0025C7FC 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8025F8A0 0025C800 7C 7C 1B 78 */ mr r28, r3 -/* 8025F8A4 0025C804 83 C4 08 4C */ lwz r30, 0x84c(r4) -/* 8025F8A8 0025C808 41 82 00 F8 */ beq lbl_8025F9A0 -/* 8025F8AC 0025C80C 40 80 00 10 */ bge lbl_8025F8BC -/* 8025F8B0 0025C810 2C 05 00 00 */ cmpwi r5, 0 -/* 8025F8B4 0025C814 40 80 00 14 */ bge lbl_8025F8C8 -/* 8025F8B8 0025C818 48 00 01 74 */ b lbl_8025FA2C -lbl_8025F8BC: -/* 8025F8BC 0025C81C 2C 05 00 03 */ cmpwi r5, 3 -/* 8025F8C0 0025C820 40 80 01 6C */ bge lbl_8025FA2C -/* 8025F8C4 0025C824 48 00 01 38 */ b lbl_8025F9FC -lbl_8025F8C8: -/* 8025F8C8 0025C828 7F 84 E3 78 */ mr r4, r28 -/* 8025F8CC 0025C82C 7F A5 EB 78 */ mr r5, r29 -/* 8025F8D0 0025C830 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025F8D4 0025C834 38 C0 00 0C */ li r6, 0xc -/* 8025F8D8 0025C838 38 E0 00 06 */ li r7, 6 -/* 8025F8DC 0025C83C 4B F9 56 BD */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8025F8E0 0025C840 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8025F8E4 0025C844 7F A3 EB 78 */ mr r3, r29 -/* 8025F8E8 0025C848 38 81 00 10 */ addi r4, r1, 0x10 -/* 8025F8EC 0025C84C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8025F8F0 0025C850 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8025F8F4 0025C854 4B DE CC B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025F8F8 0025C858 7C 64 1B 78 */ mr r4, r3 -/* 8025F8FC 0025C85C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8025F900 0025C860 4B E5 03 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8025F904 0025C864 80 A3 00 04 */ lwz r5, 4(r3) -/* 8025F908 0025C868 28 05 00 00 */ cmplwi r5, 0 -/* 8025F90C 0025C86C 41 82 00 28 */ beq lbl_8025F934 -/* 8025F910 0025C870 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8025F914 0025C874 7F 83 E3 78 */ mr r3, r28 -/* 8025F918 0025C878 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8025F91C 0025C87C 38 81 00 40 */ addi r4, r1, 0x40 -/* 8025F920 0025C880 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8025F924 0025C884 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8025F928 0025C888 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8025F92C 0025C88C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8025F930 0025C890 4B E1 D2 2D */ bl SetDestPos__10CPatternedFRC9CVector3f -lbl_8025F934: -/* 8025F934 0025C894 83 FD 08 4C */ lwz r31, 0x84c(r29) -/* 8025F938 0025C898 7F E3 FB 78 */ mr r3, r31 -/* 8025F93C 0025C89C 4B EB BA 3D */ bl Stop__13CPhysicsActorFv -/* 8025F940 0025C8A0 7F E3 FB 78 */ mr r3, r31 -/* 8025F944 0025C8A4 7F A5 EB 78 */ mr r5, r29 -/* 8025F948 0025C8A8 38 80 00 13 */ li r4, 0x13 -/* 8025F94C 0025C8AC 4B DF 46 35 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025F950 0025C8B0 7F 83 E3 78 */ mr r3, r28 -/* 8025F954 0025C8B4 7F A5 EB 78 */ mr r5, r29 -/* 8025F958 0025C8B8 38 80 00 06 */ li r4, 6 -/* 8025F95C 0025C8BC 38 C0 FF FF */ li r6, -1 -/* 8025F960 0025C8C0 4B DF 17 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8025F964 0025C8C4 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025F968 0025C8C8 38 81 00 0C */ addi r4, r1, 0xc -/* 8025F96C 0025C8CC 38 A0 00 01 */ li r5, 1 -/* 8025F970 0025C8D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8025F974 0025C8D4 B0 01 00 08 */ sth r0, 8(r1) -/* 8025F978 0025C8D8 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8025F97C 0025C8DC 4B DB 50 55 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId -/* 8025F980 0025C8E0 38 00 00 00 */ li r0, 0 -/* 8025F984 0025C8E4 98 1E 05 90 */ stb r0, 0x590(r30) -/* 8025F988 0025C8E8 80 7E 07 68 */ lwz r3, 0x768(r30) -/* 8025F98C 0025C8EC 4B E9 1F 69 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 8025F990 0025C8F0 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8025F994 0025C8F4 38 80 00 03 */ li r4, 3 -/* 8025F998 0025C8F8 4B ED B0 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8025F99C 0025C8FC 48 00 00 90 */ b lbl_8025FA2C -lbl_8025F9A0: -/* 8025F9A0 0025C900 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025F9A4 0025C904 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025F9A8 0025C908 4B DA 53 11 */ bl string_l__4rstlFPCc -/* 8025F9AC 0025C90C 7F 84 E3 78 */ mr r4, r28 -/* 8025F9B0 0025C910 38 61 00 4C */ addi r3, r1, 0x4c -/* 8025F9B4 0025C914 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8025F9B8 0025C918 4B E1 8F C1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025F9BC 0025C91C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8025F9C0 0025C920 38 81 00 4C */ addi r4, r1, 0x4c -/* 8025F9C4 0025C924 48 0B 31 B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025F9C8 0025C928 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025F9CC 0025C92C 48 0D E1 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025F9D0 0025C930 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8025F9D4 0025C934 7F 83 E3 78 */ mr r3, r28 -/* 8025F9D8 0025C938 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 8025F9DC 0025C93C 7F A4 EB 78 */ mr r4, r29 -/* 8025F9E0 0025C940 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8025F9E4 0025C944 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8025F9E8 0025C948 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8025F9EC 0025C94C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8025F9F0 0025C950 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8025F9F4 0025C954 4B FF F9 A9 */ bl sub_8025f39c -/* 8025F9F8 0025C958 48 00 00 34 */ b lbl_8025FA2C -lbl_8025F9FC: -/* 8025F9FC 0025C95C A0 7E 02 6C */ lhz r3, 0x26c(r30) -/* 8025FA00 0025C960 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8025FA04 0025C964 7C 03 00 40 */ cmplw r3, r0 -/* 8025FA08 0025C968 40 82 00 0C */ bne lbl_8025FA14 -/* 8025FA0C 0025C96C 7F C3 F3 78 */ mr r3, r30 -/* 8025FA10 0025C970 4B DB 4F 95 */ bl DetachActorFromPlayer__7CPlayerFv -lbl_8025FA14: -/* 8025FA14 0025C974 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8025FA18 0025C978 38 00 00 01 */ li r0, 1 -/* 8025FA1C 0025C97C 7F A5 EB 78 */ mr r5, r29 -/* 8025FA20 0025C980 38 80 00 13 */ li r4, 0x13 -/* 8025FA24 0025C984 98 03 05 90 */ stb r0, 0x590(r3) -/* 8025FA28 0025C988 4B DF 49 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8025FA2C: -/* 8025FA2C 0025C98C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8025FA30 0025C990 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8025FA34 0025C994 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8025FA38 0025C998 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8025FA3C 0025C99C 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8025FA40 0025C9A0 7C 08 03 A6 */ mtlr r0 -/* 8025FA44 0025C9A4 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8025FA48 0025C9A8 4E 80 00 20 */ blr - -.global sub_8025fa4c -sub_8025fa4c: -/* 8025FA4C 0025C9AC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025FA50 0025C9B0 7C 08 02 A6 */ mflr r0 -/* 8025FA54 0025C9B4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025FA58 0025C9B8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8025FA5C 0025C9BC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8025FA60 0025C9C0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025FA64 0025C9C4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8025FA68 0025C9C8 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025FA6C 0025C9CC FF E0 08 90 */ fmr f31, f1 -/* 8025FA70 0025C9D0 7C BE 2B 78 */ mr r30, r5 -/* 8025FA74 0025C9D4 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 8025FA78 0025C9D8 4B E9 93 8D */ bl GetBallRadius__10CMorphBallCFv -/* 8025FA7C 0025C9DC C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8025FA80 0025C9E0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025FA84 0025C9E4 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 8025FA88 0025C9E8 38 81 00 08 */ addi r4, r1, 8 -/* 8025FA8C 0025C9EC C0 A2 BA 34 */ lfs f5, lbl_805AD754@sda21(r2) -/* 8025FA90 0025C9F0 EC 40 08 2A */ fadds f2, f0, f1 -/* 8025FA94 0025C9F4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8025FA98 0025C9F8 C0 7E 00 08 */ lfs f3, 8(r30) -/* 8025FA9C 0025C9FC EC 84 28 2A */ fadds f4, f4, f5 -/* 8025FAA0 0025CA00 C0 DE 00 04 */ lfs f6, 4(r30) -/* 8025FAA4 0025CA04 EC 00 28 2A */ fadds f0, f0, f5 -/* 8025FAA8 0025CA08 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8025FAAC 0025CA0C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025FAB0 0025CA10 EC 66 20 28 */ fsubs f3, f6, f4 -/* 8025FAB4 0025CA14 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025FAB8 0025CA18 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025FABC 0025CA1C D0 01 00 08 */ stfs f0, 8(r1) -/* 8025FAC0 0025CA20 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8025FAC4 0025CA24 48 0B 4D 8D */ bl AsNormalized__9CVector3fCFv -/* 8025FAC8 0025CA28 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) -/* 8025FACC 0025CA2C 7F E3 FB 78 */ mr r3, r31 -/* 8025FAD0 0025CA30 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) -/* 8025FAD4 0025CA34 38 81 00 20 */ addi r4, r1, 0x20 -/* 8025FAD8 0025CA38 EC 60 07 F2 */ fmuls f3, f0, f31 -/* 8025FADC 0025CA3C C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8025FAE0 0025CA40 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8025FAE4 0025CA44 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8025FAE8 0025CA48 EC 64 18 24 */ fdivs f3, f4, f3 -/* 8025FAEC 0025CA4C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8025FAF0 0025CA50 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8025FAF4 0025CA54 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8025FAF8 0025CA58 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025FAFC 0025CA5C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8025FB00 0025CA60 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025FB04 0025CA64 4B EB B1 9D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 8025FB08 0025CA68 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8025FB0C 0025CA6C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025FB10 0025CA70 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8025FB14 0025CA74 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025FB18 0025CA78 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8025FB1C 0025CA7C 7C 08 03 A6 */ mtlr r0 -/* 8025FB20 0025CA80 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025FB24 0025CA84 4E 80 00 20 */ blr - -.global sub_8025fb28 -sub_8025fb28: -/* 8025FB28 0025CA88 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8025FB2C 0025CA8C 7C 08 02 A6 */ mflr r0 -/* 8025FB30 0025CA90 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8025FB34 0025CA94 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8025FB38 0025CA98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8025FB3C 0025CA9C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8025FB40 0025CAA0 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8025FB44 0025CAA4 A0 03 06 94 */ lhz r0, 0x694(r3) -/* 8025FB48 0025CAA8 7C 7E 1B 78 */ mr r30, r3 -/* 8025FB4C 0025CAAC FF E0 08 90 */ fmr f31, f1 -/* 8025FB50 0025CAB0 7C 83 23 78 */ mr r3, r4 -/* 8025FB54 0025CAB4 B0 01 00 08 */ sth r0, 8(r1) -/* 8025FB58 0025CAB8 38 81 00 08 */ addi r4, r1, 8 -/* 8025FB5C 0025CABC 4B DE CA 19 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8025FB60 0025CAC0 7C 64 1B 78 */ mr r4, r3 -/* 8025FB64 0025CAC4 38 61 00 0C */ addi r3, r1, 0xc -/* 8025FB68 0025CAC8 4B E4 FE D5 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025FB6C 0025CACC 83 E3 00 04 */ lwz r31, 4(r3) -/* 8025FB70 0025CAD0 28 1F 00 00 */ cmplwi r31, 0 -/* 8025FB74 0025CAD4 41 82 00 C4 */ beq lbl_8025FC38 -/* 8025FB78 0025CAD8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025FB7C 0025CADC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025FB80 0025CAE0 4B DA 51 39 */ bl string_l__4rstlFPCc -/* 8025FB84 0025CAE4 7F C4 F3 78 */ mr r4, r30 -/* 8025FB88 0025CAE8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8025FB8C 0025CAEC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8025FB90 0025CAF0 4B E1 8D E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025FB94 0025CAF4 38 61 00 6C */ addi r3, r1, 0x6c -/* 8025FB98 0025CAF8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8025FB9C 0025CAFC 48 0B 2F D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025FBA0 0025CB00 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025FBA4 0025CB04 48 0D DF 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025FBA8 0025CB08 3C 60 80 57 */ lis r3, lbl_80572688@ha -/* 8025FBAC 0025CB0C C0 81 00 88 */ lfs f4, 0x88(r1) -/* 8025FBB0 0025CB10 38 A3 26 88 */ addi r5, r3, lbl_80572688@l -/* 8025FBB4 0025CB14 C0 61 00 98 */ lfs f3, 0x98(r1) -/* 8025FBB8 0025CB18 C0 05 00 04 */ lfs f0, 4(r5) -/* 8025FBBC 0025CB1C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025FBC0 0025CB20 C0 45 00 08 */ lfs f2, 8(r5) -/* 8025FBC4 0025CB24 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025FBC8 0025CB28 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8025FBCC 0025CB2C EC A4 00 2A */ fadds f5, f4, f0 -/* 8025FBD0 0025CB30 C0 05 00 00 */ lfs f0, 0(r5) -/* 8025FBD4 0025CB34 EC 63 10 2A */ fadds f3, f3, f2 -/* 8025FBD8 0025CB38 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 8025FBDC 0025CB3C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8025FBE0 0025CB40 EC 21 00 2A */ fadds f1, f1, f0 -/* 8025FBE4 0025CB44 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8025FBE8 0025CB48 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8025FBEC 0025CB4C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8025FBF0 0025CB50 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025FBF4 0025CB54 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8025FBF8 0025CB58 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025FBFC 0025CB5C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025FC00 0025CB60 48 0B 4C 51 */ bl AsNormalized__9CVector3fCFv -/* 8025FC04 0025CB64 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) -/* 8025FC08 0025CB68 C0 82 BA 3C */ lfs f4, lbl_805AD75C@sda21(r2) -/* 8025FC0C 0025CB6C EC 60 07 F2 */ fmuls f3, f0, f31 -/* 8025FC10 0025CB70 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8025FC14 0025CB74 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8025FC18 0025CB78 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8025FC1C 0025CB7C EC 64 18 24 */ fdivs f3, f4, f3 -/* 8025FC20 0025CB80 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8025FC24 0025CB84 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8025FC28 0025CB88 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8025FC2C 0025CB8C D0 5F 01 58 */ stfs f2, 0x158(r31) -/* 8025FC30 0025CB90 D0 3F 01 5C */ stfs f1, 0x15c(r31) -/* 8025FC34 0025CB94 D0 1F 01 60 */ stfs f0, 0x160(r31) -lbl_8025FC38: -/* 8025FC38 0025CB98 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8025FC3C 0025CB9C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8025FC40 0025CBA0 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8025FC44 0025CBA4 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8025FC48 0025CBA8 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8025FC4C 0025CBAC 7C 08 03 A6 */ mtlr r0 -/* 8025FC50 0025CBB0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8025FC54 0025CBB4 4E 80 00 20 */ blr - -.global sub_8025fc58 -sub_8025fc58: -/* 8025FC58 0025CBB8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8025FC5C 0025CBBC 7C 08 02 A6 */ mflr r0 -/* 8025FC60 0025CBC0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8025FC64 0025CBC4 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8025FC68 0025CBC8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8025FC6C 0025CBCC 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8025FC70 0025CBD0 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8025FC74 0025CBD4 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8025FC78 0025CBD8 7C 9E 23 78 */ mr r30, r4 -/* 8025FC7C 0025CBDC FF E0 08 90 */ fmr f31, f1 -/* 8025FC80 0025CBE0 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8025FC84 0025CBE4 7C 7D 1B 78 */ mr r29, r3 -/* 8025FC88 0025CBE8 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 8025FC8C 0025CBEC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025FC90 0025CBF0 4B DA 50 29 */ bl string_l__4rstlFPCc -/* 8025FC94 0025CBF4 7F A4 EB 78 */ mr r4, r29 -/* 8025FC98 0025CBF8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8025FC9C 0025CBFC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8025FCA0 0025CC00 4B E1 8C D9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8025FCA4 0025CC04 38 61 00 6C */ addi r3, r1, 0x6c -/* 8025FCA8 0025CC08 38 81 00 3C */ addi r4, r1, 0x3c -/* 8025FCAC 0025CC0C 48 0B 2E C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8025FCB0 0025CC10 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025FCB4 0025CC14 48 0D DE 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8025FCB8 0025CC18 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 8025FCBC 0025CC1C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8025FCC0 0025CC20 C0 81 00 88 */ lfs f4, 0x88(r1) -/* 8025FCC4 0025CC24 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8025FCC8 0025CC28 EC 40 10 28 */ fsubs f2, f0, f2 -/* 8025FCCC 0025CC2C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8025FCD0 0025CC30 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 8025FCD4 0025CC34 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8025FCD8 0025CC38 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8025FCDC 0025CC3C EC 00 18 28 */ fsubs f0, f0, f3 -/* 8025FCE0 0025CC40 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8025FCE4 0025CC44 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8025FCE8 0025CC48 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8025FCEC 0025CC4C 2C 00 00 01 */ cmpwi r0, 1 -/* 8025FCF0 0025CC50 40 82 00 B8 */ bne lbl_8025FDA8 -/* 8025FCF4 0025CC54 38 61 00 30 */ addi r3, r1, 0x30 -/* 8025FCF8 0025CC58 48 0B 4B C1 */ bl Magnitude__9CVector3fCFv -/* 8025FCFC 0025CC5C C0 02 BA 30 */ lfs f0, lbl_805AD750@sda21(r2) -/* 8025FD00 0025CC60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025FD04 0025CC64 40 80 00 3C */ bge lbl_8025FD40 -/* 8025FD08 0025CC68 7F E3 FB 78 */ mr r3, r31 -/* 8025FD0C 0025CC6C 4B EB B6 6D */ bl Stop__13CPhysicsActorFv -/* 8025FD10 0025CC70 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 8025FD14 0025CC74 FC 20 F8 90 */ fmr f1, f31 -/* 8025FD18 0025CC78 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8025FD1C 0025CC7C 7F A3 EB 78 */ mr r3, r29 -/* 8025FD20 0025CC80 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8025FD24 0025CC84 7F C4 F3 78 */ mr r4, r30 -/* 8025FD28 0025CC88 D0 61 00 08 */ stfs f3, 8(r1) -/* 8025FD2C 0025CC8C 38 A1 00 08 */ addi r5, r1, 8 -/* 8025FD30 0025CC90 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8025FD34 0025CC94 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025FD38 0025CC98 4B FF FD 15 */ bl sub_8025fa4c -/* 8025FD3C 0025CC9C 48 00 00 6C */ b lbl_8025FDA8 -lbl_8025FD40: -/* 8025FD40 0025CCA0 EC 01 00 72 */ fmuls f0, f1, f1 -/* 8025FD44 0025CCA4 C0 7D 06 84 */ lfs f3, 0x684(r29) -/* 8025FD48 0025CCA8 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8025FD4C 0025CCAC C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8025FD50 0025CCB0 EC 63 00 24 */ fdivs f3, f3, f0 -/* 8025FD54 0025CCB4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8025FD58 0025CCB8 C0 9D 06 7C */ lfs f4, 0x67c(r29) -/* 8025FD5C 0025CCBC C0 BF 00 E8 */ lfs f5, 0xe8(r31) -/* 8025FD60 0025CCC0 FC 40 10 50 */ fneg f2, f2 -/* 8025FD64 0025CCC4 FC 20 08 50 */ fneg f1, f1 -/* 8025FD68 0025CCC8 FC 00 00 50 */ fneg f0, f0 -/* 8025FD6C 0025CCCC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8025FD70 0025CCD0 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 8025FD74 0025CCD4 EC 25 00 72 */ fmuls f1, f5, f1 -/* 8025FD78 0025CCD8 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8025FD7C 0025CCDC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8025FD80 0025CCE0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8025FD84 0025CCE4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8025FD88 0025CCE8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8025FD8C 0025CCEC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8025FD90 0025CCF0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8025FD94 0025CCF4 4B DB B7 A1 */ bl Identity__10CAxisAngleFv -/* 8025FD98 0025CCF8 7C 65 1B 78 */ mr r5, r3 -/* 8025FD9C 0025CCFC 7F E3 FB 78 */ mr r3, r31 -/* 8025FDA0 0025CD00 38 81 00 24 */ addi r4, r1, 0x24 -/* 8025FDA4 0025CD04 4B EB C5 21 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_8025FDA8: -/* 8025FDA8 0025CD08 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8025FDAC 0025CD0C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8025FDB0 0025CD10 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8025FDB4 0025CD14 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8025FDB8 0025CD18 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8025FDBC 0025CD1C 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8025FDC0 0025CD20 7C 08 03 A6 */ mtlr r0 -/* 8025FDC4 0025CD24 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8025FDC8 0025CD28 4E 80 00 20 */ blr - -.global sub_8025fdcc -sub_8025fdcc: -/* 8025FDCC 0025CD2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FDD0 0025CD30 7C 08 02 A6 */ mflr r0 -/* 8025FDD4 0025CD34 2C 05 00 01 */ cmpwi r5, 1 -/* 8025FDD8 0025CD38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FDDC 0025CD3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FDE0 0025CD40 7C 7F 1B 78 */ mr r31, r3 -/* 8025FDE4 0025CD44 41 82 00 50 */ beq lbl_8025FE34 -/* 8025FDE8 0025CD48 40 80 00 50 */ bge lbl_8025FE38 -/* 8025FDEC 0025CD4C 2C 05 00 00 */ cmpwi r5, 0 -/* 8025FDF0 0025CD50 40 80 00 0C */ bge lbl_8025FDFC -/* 8025FDF4 0025CD54 48 00 00 44 */ b lbl_8025FE38 -/* 8025FDF8 0025CD58 48 00 00 40 */ b lbl_8025FE38 -lbl_8025FDFC: -/* 8025FDFC 0025CD5C 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8025FE00 0025CD60 38 00 00 01 */ li r0, 1 -/* 8025FE04 0025CD64 7C 85 23 78 */ mr r5, r4 -/* 8025FE08 0025CD68 38 80 00 13 */ li r4, 0x13 -/* 8025FE0C 0025CD6C 98 03 05 90 */ stb r0, 0x590(r3) -/* 8025FE10 0025CD70 4B DF 45 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8025FE14 0025CD74 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025FE18 0025CD78 38 60 00 01 */ li r3, 1 -/* 8025FE1C 0025CD7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8025FE20 0025CD80 38 80 00 06 */ li r4, 6 -/* 8025FE24 0025CD84 98 1F 06 98 */ stb r0, 0x698(r31) -/* 8025FE28 0025CD88 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8025FE2C 0025CD8C 4B ED AB AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8025FE30 0025CD90 48 00 00 08 */ b lbl_8025FE38 -lbl_8025FE34: -/* 8025FE34 0025CD94 4B FF FC F5 */ bl sub_8025fb28 -lbl_8025FE38: -/* 8025FE38 0025CD98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FE3C 0025CD9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FE40 0025CDA0 7C 08 03 A6 */ mtlr r0 -/* 8025FE44 0025CDA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FE48 0025CDA8 4E 80 00 20 */ blr - -.global sub_8025fe4c -sub_8025fe4c: -/* 8025FE4C 0025CDAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FE50 0025CDB0 7C 08 02 A6 */ mflr r0 -/* 8025FE54 0025CDB4 2C 05 00 01 */ cmpwi r5, 1 -/* 8025FE58 0025CDB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FE5C 0025CDBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FE60 0025CDC0 7C 7F 1B 78 */ mr r31, r3 -/* 8025FE64 0025CDC4 80 C4 08 4C */ lwz r6, 0x84c(r4) -/* 8025FE68 0025CDC8 41 82 00 40 */ beq lbl_8025FEA8 -/* 8025FE6C 0025CDCC 40 80 00 10 */ bge lbl_8025FE7C -/* 8025FE70 0025CDD0 2C 05 00 00 */ cmpwi r5, 0 -/* 8025FE74 0025CDD4 40 80 00 14 */ bge lbl_8025FE88 -/* 8025FE78 0025CDD8 48 00 00 50 */ b lbl_8025FEC8 -lbl_8025FE7C: -/* 8025FE7C 0025CDDC 2C 05 00 03 */ cmpwi r5, 3 -/* 8025FE80 0025CDE0 40 80 00 48 */ bge lbl_8025FEC8 -/* 8025FE84 0025CDE4 48 00 00 2C */ b lbl_8025FEB0 -lbl_8025FE88: -/* 8025FE88 0025CDE8 38 00 00 00 */ li r0, 0 -/* 8025FE8C 0025CDEC 98 06 05 90 */ stb r0, 0x590(r6) -/* 8025FE90 0025CDF0 80 66 07 68 */ lwz r3, 0x768(r6) -/* 8025FE94 0025CDF4 4B E9 1A 61 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 8025FE98 0025CDF8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8025FE9C 0025CDFC 38 80 00 06 */ li r4, 6 -/* 8025FEA0 0025CE00 4B ED AB 39 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8025FEA4 0025CE04 48 00 00 24 */ b lbl_8025FEC8 -lbl_8025FEA8: -/* 8025FEA8 0025CE08 4B FF FD B1 */ bl sub_8025fc58 -/* 8025FEAC 0025CE0C 48 00 00 1C */ b lbl_8025FEC8 -lbl_8025FEB0: -/* 8025FEB0 0025CE10 38 00 00 01 */ li r0, 1 -/* 8025FEB4 0025CE14 7C C3 33 78 */ mr r3, r6 -/* 8025FEB8 0025CE18 98 06 05 90 */ stb r0, 0x590(r6) -/* 8025FEBC 0025CE1C 7C 85 23 78 */ mr r5, r4 -/* 8025FEC0 0025CE20 38 80 00 13 */ li r4, 0x13 -/* 8025FEC4 0025CE24 4B DF 44 8D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8025FEC8: -/* 8025FEC8 0025CE28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FECC 0025CE2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FED0 0025CE30 7C 08 03 A6 */ mtlr r0 -/* 8025FED4 0025CE34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FED8 0025CE38 4E 80 00 20 */ blr - -.global sub_8025fedc -sub_8025fedc: -/* 8025FEDC 0025CE3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025FEE0 0025CE40 7C 08 02 A6 */ mflr r0 -/* 8025FEE4 0025CE44 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025FEE8 0025CE48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025FEEC 0025CE4C 7C 7F 1B 78 */ mr r31, r3 -/* 8025FEF0 0025CE50 38 60 00 00 */ li r3, 0 -/* 8025FEF4 0025CE54 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025FEF8 0025CE58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025FEFC 0025CE5C 98 1F 06 98 */ stb r0, 0x698(r31) -/* 8025FF00 0025CE60 A0 7F 06 94 */ lhz r3, 0x694(r31) -/* 8025FF04 0025CE64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025FF08 0025CE68 7C 03 00 40 */ cmplw r3, r0 -/* 8025FF0C 0025CE6C 41 82 00 58 */ beq lbl_8025FF64 -/* 8025FF10 0025CE70 A0 1F 06 94 */ lhz r0, 0x694(r31) -/* 8025FF14 0025CE74 7C 83 23 78 */ mr r3, r4 -/* 8025FF18 0025CE78 38 81 00 08 */ addi r4, r1, 8 -/* 8025FF1C 0025CE7C B0 01 00 08 */ sth r0, 8(r1) -/* 8025FF20 0025CE80 4B DE C6 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025FF24 0025CE84 7C 64 1B 78 */ mr r4, r3 -/* 8025FF28 0025CE88 38 61 00 0C */ addi r3, r1, 0xc -/* 8025FF2C 0025CE8C 4B E4 FB 11 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025FF30 0025CE90 80 03 00 04 */ lwz r0, 4(r3) -/* 8025FF34 0025CE94 28 00 00 00 */ cmplwi r0, 0 -/* 8025FF38 0025CE98 41 82 00 1C */ beq lbl_8025FF54 -/* 8025FF3C 0025CE9C 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 8025FF40 0025CEA0 38 60 00 01 */ li r3, 1 -/* 8025FF44 0025CEA4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8025FF48 0025CEA8 38 60 00 00 */ li r3, 0 -/* 8025FF4C 0025CEAC 98 1F 06 98 */ stb r0, 0x698(r31) -/* 8025FF50 0025CEB0 48 00 00 18 */ b lbl_8025FF68 -lbl_8025FF54: -/* 8025FF54 0025CEB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025FF58 0025CEB8 38 60 00 01 */ li r3, 1 -/* 8025FF5C 0025CEBC B0 1F 06 94 */ sth r0, 0x694(r31) -/* 8025FF60 0025CEC0 48 00 00 08 */ b lbl_8025FF68 -lbl_8025FF64: -/* 8025FF64 0025CEC4 38 60 00 01 */ li r3, 1 -lbl_8025FF68: -/* 8025FF68 0025CEC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025FF6C 0025CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025FF70 0025CED0 7C 08 03 A6 */ mtlr r0 -/* 8025FF74 0025CED4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025FF78 0025CED8 4E 80 00 20 */ blr - -.global sub_8025ff7c -sub_8025ff7c: -/* 8025FF7C 0025CEDC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025FF80 0025CEE0 7C 08 02 A6 */ mflr r0 -/* 8025FF84 0025CEE4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025FF88 0025CEE8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8025FF8C 0025CEEC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8025FF90 0025CEF0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025FF94 0025CEF4 7C 7F 1B 78 */ mr r31, r3 -/* 8025FF98 0025CEF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8025FF9C 0025CEFC A0 63 06 94 */ lhz r3, 0x694(r3) -/* 8025FFA0 0025CF00 FF E0 08 90 */ fmr f31, f1 -/* 8025FFA4 0025CF04 7C 03 00 40 */ cmplw r3, r0 -/* 8025FFA8 0025CF08 41 82 00 5C */ beq lbl_80260004 -/* 8025FFAC 0025CF0C A0 1F 06 94 */ lhz r0, 0x694(r31) -/* 8025FFB0 0025CF10 7C 83 23 78 */ mr r3, r4 -/* 8025FFB4 0025CF14 38 81 00 08 */ addi r4, r1, 8 -/* 8025FFB8 0025CF18 B0 01 00 08 */ sth r0, 8(r1) -/* 8025FFBC 0025CF1C 4B DE C5 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8025FFC0 0025CF20 7C 64 1B 78 */ mr r4, r3 -/* 8025FFC4 0025CF24 38 61 00 0C */ addi r3, r1, 0xc -/* 8025FFC8 0025CF28 4B E4 FA 75 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8025FFCC 0025CF2C 80 83 00 04 */ lwz r4, 4(r3) -/* 8025FFD0 0025CF30 28 04 00 00 */ cmplwi r4, 0 -/* 8025FFD4 0025CF34 41 82 00 30 */ beq lbl_80260004 -/* 8025FFD8 0025CF38 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8025FFDC 0025CF3C FC 20 F8 90 */ fmr f1, f31 -/* 8025FFE0 0025CF40 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8025FFE4 0025CF44 7F E3 FB 78 */ mr r3, r31 -/* 8025FFE8 0025CF48 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8025FFEC 0025CF4C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025FFF0 0025CF50 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025FFF4 0025CF54 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8025FFF8 0025CF58 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8025FFFC 0025CF5C 48 00 00 CD */ bl sub_802600c8 -/* 80260000 0025CF60 48 00 00 08 */ b lbl_80260008 -lbl_80260004: -/* 80260004 0025CF64 38 60 00 00 */ li r3, 0 -lbl_80260008: -/* 80260008 0025CF68 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8026000C 0025CF6C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80260010 0025CF70 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80260014 0025CF74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80260018 0025CF78 7C 08 03 A6 */ mtlr r0 -/* 8026001C 0025CF7C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80260020 0025CF80 4E 80 00 20 */ blr - -.global sub_80260024 -sub_80260024: -/* 80260024 0025CF84 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80260028 0025CF88 7C 08 02 A6 */ mflr r0 -/* 8026002C 0025CF8C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80260030 0025CF90 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80260034 0025CF94 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80260038 0025CF98 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8026003C 0025CF9C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80260040 0025CFA0 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80260044 0025CFA4 7C 7E 1B 78 */ mr r30, r3 -/* 80260048 0025CFA8 FF E0 08 90 */ fmr f31, f1 -/* 8026004C 0025CFAC 80 64 07 68 */ lwz r3, 0x768(r4) -/* 80260050 0025CFB0 3B E4 00 34 */ addi r31, r4, 0x34 -/* 80260054 0025CFB4 4B E9 8D B1 */ bl GetBallRadius__10CMorphBallCFv -/* 80260058 0025CFB8 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8026005C 0025CFBC 7F E4 FB 78 */ mr r4, r31 -/* 80260060 0025CFC0 C0 7F 00 1C */ lfs f3, 0x1c(r31) -/* 80260064 0025CFC4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80260068 0025CFC8 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) -/* 8026006C 0025CFCC EC 20 08 2A */ fadds f1, f0, f1 -/* 80260070 0025CFD0 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80260074 0025CFD4 EC 63 10 2A */ fadds f3, f3, f2 -/* 80260078 0025CFD8 EC 00 10 2A */ fadds f0, f0, f2 -/* 8026007C 0025CFDC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80260080 0025CFE0 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80260084 0025CFE4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80260088 0025CFE8 48 0B 2B B9 */ bl GetRotation__12CTransform4fCFv -/* 8026008C 0025CFEC 38 7E 06 4C */ addi r3, r30, 0x64c -/* 80260090 0025CFF0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80260094 0025CFF4 48 0B 2A AD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80260098 0025CFF8 FC 20 F8 90 */ fmr f1, f31 -/* 8026009C 0025CFFC 7F C3 F3 78 */ mr r3, r30 -/* 802600A0 0025D000 38 81 00 08 */ addi r4, r1, 8 -/* 802600A4 0025D004 48 00 00 25 */ bl sub_802600c8 -/* 802600A8 0025D008 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802600AC 0025D00C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802600B0 0025D010 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802600B4 0025D014 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802600B8 0025D018 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802600BC 0025D01C 7C 08 03 A6 */ mtlr r0 -/* 802600C0 0025D020 38 21 00 60 */ addi r1, r1, 0x60 -/* 802600C4 0025D024 4E 80 00 20 */ blr - -.global sub_802600c8 -sub_802600c8: -/* 802600C8 0025D028 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802600CC 0025D02C 7C 08 02 A6 */ mflr r0 -/* 802600D0 0025D030 90 01 00 94 */ stw r0, 0x94(r1) -/* 802600D4 0025D034 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802600D8 0025D038 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802600DC 0025D03C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802600E0 0025D040 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802600E4 0025D044 FF E0 08 90 */ fmr f31, f1 -/* 802600E8 0025D048 7C 9F 23 78 */ mr r31, r4 -/* 802600EC 0025D04C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 802600F0 0025D050 7C 7E 1B 78 */ mr r30, r3 -/* 802600F4 0025D054 38 61 00 08 */ addi r3, r1, 8 -/* 802600F8 0025D058 4B DA 4B C1 */ bl string_l__4rstlFPCc -/* 802600FC 0025D05C 7F C4 F3 78 */ mr r4, r30 -/* 80260100 0025D060 38 61 00 18 */ addi r3, r1, 0x18 -/* 80260104 0025D064 38 A1 00 08 */ addi r5, r1, 8 -/* 80260108 0025D068 4B E1 88 71 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8026010C 0025D06C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80260110 0025D070 38 81 00 18 */ addi r4, r1, 0x18 -/* 80260114 0025D074 48 0B 2A 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80260118 0025D078 38 61 00 08 */ addi r3, r1, 8 -/* 8026011C 0025D07C 48 0D D9 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80260120 0025D080 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80260124 0025D084 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80260128 0025D088 C0 7F 00 00 */ lfs f3, 0(r31) -/* 8026012C 0025D08C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80260130 0025D090 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80260134 0025D094 C0 5F 00 08 */ lfs f2, 8(r31) -/* 80260138 0025D098 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026013C 0025D09C C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80260140 0025D0A0 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80260144 0025D0A4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80260148 0025D0A8 EC 03 00 FA */ fmadds f0, f3, f3, f0 -/* 8026014C 0025D0AC EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 80260150 0025D0B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80260154 0025D0B4 4C 40 13 82 */ cror 2, 0, 2 -/* 80260158 0025D0B8 7C 00 00 26 */ mfcr r0 -/* 8026015C 0025D0BC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 80260160 0025D0C0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80260164 0025D0C4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80260168 0025D0C8 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8026016C 0025D0CC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80260170 0025D0D0 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80260174 0025D0D4 7C 08 03 A6 */ mtlr r0 -/* 80260178 0025D0D8 38 21 00 90 */ addi r1, r1, 0x90 -/* 8026017C 0025D0DC 4E 80 00 20 */ blr - -.global sub_80260180 -sub_80260180: -/* 80260180 0025D0E0 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 80260184 0025D0E4 7C 08 02 A6 */ mflr r0 -/* 80260188 0025D0E8 90 01 01 94 */ stw r0, 0x194(r1) -/* 8026018C 0025D0EC DB E1 01 80 */ stfd f31, 0x180(r1) -/* 80260190 0025D0F0 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 80260194 0025D0F4 DB C1 01 70 */ stfd f30, 0x170(r1) -/* 80260198 0025D0F8 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 -/* 8026019C 0025D0FC DB A1 01 60 */ stfd f29, 0x160(r1) -/* 802601A0 0025D100 F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 -/* 802601A4 0025D104 DB 81 01 50 */ stfd f28, 0x150(r1) -/* 802601A8 0025D108 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 -/* 802601AC 0025D10C BF 61 01 3C */ stmw r27, 0x13c(r1) -/* 802601B0 0025D110 7C 7E 1B 78 */ mr r30, r3 -/* 802601B4 0025D114 7C 9B 23 78 */ mr r27, r4 -/* 802601B8 0025D118 7C BD 2B 78 */ mr r29, r5 -/* 802601BC 0025D11C 7C DC 33 78 */ mr r28, r6 -/* 802601C0 0025D120 7C FF 3B 78 */ mr r31, r7 -/* 802601C4 0025D124 7F C4 F3 78 */ mr r4, r30 -/* 802601C8 0025D128 38 61 00 78 */ addi r3, r1, 0x78 -/* 802601CC 0025D12C 4B EB A7 61 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 802601D0 0025D130 C0 A1 00 78 */ lfs f5, 0x78(r1) -/* 802601D4 0025D134 7F 83 E3 78 */ mr r3, r28 -/* 802601D8 0025D138 C0 81 00 7C */ lfs f4, 0x7c(r1) -/* 802601DC 0025D13C 38 81 00 90 */ addi r4, r1, 0x90 -/* 802601E0 0025D140 C0 61 00 80 */ lfs f3, 0x80(r1) -/* 802601E4 0025D144 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 802601E8 0025D148 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 802601EC 0025D14C C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 802601F0 0025D150 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 802601F4 0025D154 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 802601F8 0025D158 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 802601FC 0025D15C D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80260200 0025D160 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80260204 0025D164 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80260208 0025D168 48 0D 79 7D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 8026020C 0025D16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80260210 0025D170 41 82 00 0C */ beq lbl_8026021C -/* 80260214 0025D174 38 60 00 01 */ li r3, 1 -/* 80260218 0025D178 48 00 02 74 */ b lbl_8026048C -lbl_8026021C: -/* 8026021C 0025D17C 80 82 BA 28 */ lwz r4, lbl_805AD748@sda21(r2) -/* 80260220 0025D180 38 61 00 38 */ addi r3, r1, 0x38 -/* 80260224 0025D184 4B DA 4A 95 */ bl string_l__4rstlFPCc -/* 80260228 0025D188 7F C4 F3 78 */ mr r4, r30 -/* 8026022C 0025D18C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80260230 0025D190 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80260234 0025D194 4B E1 87 45 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80260238 0025D198 38 61 01 08 */ addi r3, r1, 0x108 -/* 8026023C 0025D19C 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80260240 0025D1A0 48 0B 29 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80260244 0025D1A4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80260248 0025D1A8 48 0D D8 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8026024C 0025D1AC C3 BE 00 58 */ lfs f29, 0x58(r30) -/* 80260250 0025D1B0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80260254 0025D1B4 C0 62 BA 3C */ lfs f3, lbl_805AD75C@sda21(r2) -/* 80260258 0025D1B8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8026025C 0025D1BC C3 DE 00 48 */ lfs f30, 0x48(r30) -/* 80260260 0025D1C0 C0 02 BA 58 */ lfs f0, lbl_805AD778@sda21(r2) -/* 80260264 0025D1C4 EC 83 07 72 */ fmuls f4, f3, f29 -/* 80260268 0025D1C8 C3 FE 00 38 */ lfs f31, 0x38(r30) -/* 8026026C 0025D1CC EC A3 07 B2 */ fmuls f5, f3, f30 -/* 80260270 0025D1D0 C1 81 01 34 */ lfs f12, 0x134(r1) -/* 80260274 0025D1D4 EC 40 07 72 */ fmuls f2, f0, f29 -/* 80260278 0025D1D8 C1 A1 01 24 */ lfs f13, 0x124(r1) -/* 8026027C 0025D1DC EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80260280 0025D1E0 C3 81 01 14 */ lfs f28, 0x114(r1) -/* 80260284 0025D1E4 EC 63 07 F2 */ fmuls f3, f3, f31 -/* 80260288 0025D1E8 C1 7D 00 04 */ lfs f11, 4(r29) -/* 8026028C 0025D1EC EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80260290 0025D1F0 C1 3D 00 08 */ lfs f9, 8(r29) -/* 80260294 0025D1F4 ED 4D 28 28 */ fsubs f10, f13, f5 -/* 80260298 0025D1F8 C0 FD 00 00 */ lfs f7, 0(r29) -/* 8026029C 0025D1FC ED 0C 20 28 */ fsubs f8, f12, f4 -/* 802602A0 0025D200 C0 BB 00 04 */ lfs f5, 4(r27) -/* 802602A4 0025D204 EC DC 18 28 */ fsubs f6, f28, f3 -/* 802602A8 0025D208 C0 7B 00 08 */ lfs f3, 8(r27) -/* 802602AC 0025D20C EC 8D 08 28 */ fsubs f4, f13, f1 -/* 802602B0 0025D210 C0 3B 00 00 */ lfs f1, 0(r27) -/* 802602B4 0025D214 EC 4C 10 28 */ fsubs f2, f12, f2 -/* 802602B8 0025D218 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 802602BC 0025D21C ED 4B 50 28 */ fsubs f10, f11, f10 -/* 802602C0 0025D220 ED 09 40 28 */ fsubs f8, f9, f8 -/* 802602C4 0025D224 EC C7 30 28 */ fsubs f6, f7, f6 -/* 802602C8 0025D228 EC 85 20 28 */ fsubs f4, f5, f4 -/* 802602CC 0025D22C D1 41 00 58 */ stfs f10, 0x58(r1) -/* 802602D0 0025D230 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802602D4 0025D234 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802602D8 0025D238 D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 802602DC 0025D23C D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 802602E0 0025D240 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802602E4 0025D244 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802602E8 0025D248 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802602EC 0025D24C 48 0B 45 65 */ bl AsNormalized__9CVector3fCFv -/* 802602F0 0025D250 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802602F4 0025D254 38 61 00 20 */ addi r3, r1, 0x20 -/* 802602F8 0025D258 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802602FC 0025D25C 38 81 00 48 */ addi r4, r1, 0x48 -/* 80260300 0025D260 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80260304 0025D264 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80260308 0025D268 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 8026030C 0025D26C EF 82 07 7A */ fmadds f28, f2, f29, f0 -/* 80260310 0025D270 48 0B 45 41 */ bl AsNormalized__9CVector3fCFv -/* 80260314 0025D274 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80260318 0025D278 38 61 00 54 */ addi r3, r1, 0x54 -/* 8026031C 0025D27C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80260320 0025D280 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80260324 0025D284 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80260328 0025D288 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 8026032C 0025D28C EF C2 07 7A */ fmadds f30, f2, f29, f0 -/* 80260330 0025D290 48 0B 45 89 */ bl Magnitude__9CVector3fCFv -/* 80260334 0025D294 88 0D A5 60 */ lbz r0, lbl_805A9120@sda21(r13) -/* 80260338 0025D298 FF A0 08 90 */ fmr f29, f1 -/* 8026033C 0025D29C 7C 00 07 75 */ extsb. r0, r0 -/* 80260340 0025D2A0 40 82 00 88 */ bne lbl_802603C8 -/* 80260344 0025D2A4 80 AD 97 EC */ lwz r5, lbl_805A83AC@sda21(r13) -/* 80260348 0025D2A8 38 60 00 00 */ li r3, 0 -/* 8026034C 0025D2AC 38 80 00 01 */ li r4, 1 -/* 80260350 0025D2B0 48 12 9B A5 */ bl __shl2i -/* 80260354 0025D2B4 80 AD 97 F0 */ lwz r5, lbl_805A83B0@sda21(r13) -/* 80260358 0025D2B8 7C 9C 23 78 */ mr r28, r4 -/* 8026035C 0025D2BC 7C 7D 1B 78 */ mr r29, r3 -/* 80260360 0025D2C0 38 60 00 00 */ li r3, 0 -/* 80260364 0025D2C4 38 80 00 01 */ li r4, 1 -/* 80260368 0025D2C8 48 12 9B 8D */ bl __shl2i -/* 8026036C 0025D2CC 80 AD 97 F4 */ lwz r5, lbl_805A83B4@sda21(r13) -/* 80260370 0025D2D0 7F 9C 23 78 */ or r28, r28, r4 -/* 80260374 0025D2D4 7F BD 1B 78 */ or r29, r29, r3 -/* 80260378 0025D2D8 38 60 00 00 */ li r3, 0 -/* 8026037C 0025D2DC 38 80 00 01 */ li r4, 1 -/* 80260380 0025D2E0 48 12 9B 75 */ bl __shl2i -/* 80260384 0025D2E4 80 AD 97 E8 */ lwz r5, lbl_805A83A8@sda21(r13) -/* 80260388 0025D2E8 7F 9C 23 78 */ or r28, r28, r4 -/* 8026038C 0025D2EC 7F BD 1B 78 */ or r29, r29, r3 -/* 80260390 0025D2F0 38 60 00 00 */ li r3, 0 -/* 80260394 0025D2F4 38 80 00 01 */ li r4, 1 -/* 80260398 0025D2F8 48 12 9B 5D */ bl __shl2i -/* 8026039C 0025D2FC 3C A0 80 47 */ lis r5, lbl_8046DC90@ha -/* 802603A0 0025D300 38 C0 00 03 */ li r6, 3 -/* 802603A4 0025D304 38 A5 DC 90 */ addi r5, r5, lbl_8046DC90@l -/* 802603A8 0025D308 38 00 00 01 */ li r0, 1 -/* 802603AC 0025D30C 90 C1 00 70 */ stw r6, 0x70(r1) -/* 802603B0 0025D310 90 85 00 04 */ stw r4, 4(r5) -/* 802603B4 0025D314 90 65 00 00 */ stw r3, 0(r5) -/* 802603B8 0025D318 93 85 00 0C */ stw r28, 0xc(r5) -/* 802603BC 0025D31C 93 A5 00 08 */ stw r29, 8(r5) -/* 802603C0 0025D320 90 C5 00 10 */ stw r6, 0x10(r5) -/* 802603C4 0025D324 98 0D A5 60 */ stb r0, lbl_805A9120@sda21(r13) -lbl_802603C8: -/* 802603C8 0025D328 C0 02 BA 54 */ lfs f0, lbl_805AD774@sda21(r2) -/* 802603CC 0025D32C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802603D0 0025D330 40 81 00 88 */ ble lbl_80260458 -/* 802603D4 0025D334 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) -/* 802603D8 0025D338 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802603DC 0025D33C EC C0 E8 24 */ fdivs f6, f0, f29 -/* 802603E0 0025D340 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802603E4 0025D344 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802603E8 0025D348 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 802603EC 0025D34C 80 63 07 68 */ lwz r3, 0x768(r3) -/* 802603F0 0025D350 C0 41 01 14 */ lfs f2, 0x114(r1) -/* 802603F4 0025D354 EC A6 00 72 */ fmuls f5, f6, f1 -/* 802603F8 0025D358 C0 21 01 24 */ lfs f1, 0x124(r1) -/* 802603FC 0025D35C EC 86 00 32 */ fmuls f4, f6, f0 -/* 80260400 0025D360 C0 01 01 34 */ lfs f0, 0x134(r1) -/* 80260404 0025D364 EC 66 00 F2 */ fmuls f3, f6, f3 -/* 80260408 0025D368 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026040C 0025D36C D0 A1 00 08 */ stfs f5, 8(r1) -/* 80260410 0025D370 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80260414 0025D374 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80260418 0025D378 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8026041C 0025D37C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80260420 0025D380 4B E9 89 E5 */ bl GetBallRadius__10CMorphBallCFv -/* 80260424 0025D384 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 80260428 0025D388 3C 60 80 47 */ lis r3, lbl_8046DC90@ha -/* 8026042C 0025D38C 38 E3 DC 90 */ addi r7, r3, lbl_8046DC90@l -/* 80260430 0025D390 7F E4 FB 78 */ mr r4, r31 -/* 80260434 0025D394 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80260438 0025D398 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8026043C 0025D39C 38 C1 00 08 */ addi r6, r1, 8 -/* 80260440 0025D3A0 4B DE CB 59 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80260444 0025D3A4 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 80260448 0025D3A8 28 00 00 00 */ cmplwi r0, 0 -/* 8026044C 0025D3AC 41 82 00 0C */ beq lbl_80260458 -/* 80260450 0025D3B0 38 60 00 00 */ li r3, 0 -/* 80260454 0025D3B4 48 00 00 38 */ b lbl_8026048C -lbl_80260458: -/* 80260458 0025D3B8 C0 1E 06 84 */ lfs f0, 0x684(r30) -/* 8026045C 0025D3BC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80260460 0025D3C0 40 80 00 28 */ bge lbl_80260488 -/* 80260464 0025D3C4 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260468 0025D3C8 38 60 00 00 */ li r3, 0 -/* 8026046C 0025D3CC FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80260470 0025D3D0 40 81 00 1C */ ble lbl_8026048C -/* 80260474 0025D3D4 C0 1E 06 80 */ lfs f0, 0x680(r30) -/* 80260478 0025D3D8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8026047C 0025D3DC 40 81 00 10 */ ble lbl_8026048C -/* 80260480 0025D3E0 38 60 00 01 */ li r3, 1 -/* 80260484 0025D3E4 48 00 00 08 */ b lbl_8026048C -lbl_80260488: -/* 80260488 0025D3E8 38 60 00 00 */ li r3, 0 -lbl_8026048C: -/* 8026048C 0025D3EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 80260490 0025D3F0 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 80260494 0025D3F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 -/* 80260498 0025D3F8 CB C1 01 70 */ lfd f30, 0x170(r1) -/* 8026049C 0025D3FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 -/* 802604A0 0025D400 CB A1 01 60 */ lfd f29, 0x160(r1) -/* 802604A4 0025D404 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 -/* 802604A8 0025D408 CB 81 01 50 */ lfd f28, 0x150(r1) -/* 802604AC 0025D40C BB 61 01 3C */ lmw r27, 0x13c(r1) -/* 802604B0 0025D410 80 01 01 94 */ lwz r0, 0x194(r1) -/* 802604B4 0025D414 7C 08 03 A6 */ mtlr r0 -/* 802604B8 0025D418 38 21 01 90 */ addi r1, r1, 0x190 -/* 802604BC 0025D41C 4E 80 00 20 */ blr - -.global sub_802604c0 -sub_802604c0: -/* 802604C0 0025D420 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802604C4 0025D424 7C 08 02 A6 */ mflr r0 -/* 802604C8 0025D428 90 01 00 54 */ stw r0, 0x54(r1) -/* 802604CC 0025D42C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802604D0 0025D430 7C 9F 23 78 */ mr r31, r4 -/* 802604D4 0025D434 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802604D8 0025D438 7C 7E 1B 78 */ mr r30, r3 -/* 802604DC 0025D43C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802604E0 0025D440 A0 63 06 94 */ lhz r3, 0x694(r3) -/* 802604E4 0025D444 7C 03 00 40 */ cmplw r3, r0 -/* 802604E8 0025D448 41 82 00 80 */ beq lbl_80260568 -/* 802604EC 0025D44C A0 1E 06 94 */ lhz r0, 0x694(r30) -/* 802604F0 0025D450 7F E3 FB 78 */ mr r3, r31 -/* 802604F4 0025D454 38 81 00 08 */ addi r4, r1, 8 -/* 802604F8 0025D458 B0 01 00 08 */ sth r0, 8(r1) -/* 802604FC 0025D45C 4B DE C0 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80260500 0025D460 7C 64 1B 78 */ mr r4, r3 -/* 80260504 0025D464 38 61 00 0C */ addi r3, r1, 0xc -/* 80260508 0025D468 4B E4 F5 35 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 8026050C 0025D46C 80 83 00 04 */ lwz r4, 4(r3) -/* 80260510 0025D470 28 04 00 00 */ cmplwi r4, 0 -/* 80260514 0025D474 41 82 00 54 */ beq lbl_80260568 -/* 80260518 0025D478 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8026051C 0025D47C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80260520 0025D480 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80260524 0025D484 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80260528 0025D488 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8026052C 0025D48C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80260530 0025D490 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80260534 0025D494 81 84 00 00 */ lwz r12, 0(r4) -/* 80260538 0025D498 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8026053C 0025D49C 7D 89 03 A6 */ mtctr r12 -/* 80260540 0025D4A0 4E 80 04 21 */ bctrl -/* 80260544 0025D4A4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80260548 0025D4A8 7F C3 F3 78 */ mr r3, r30 -/* 8026054C 0025D4AC 7C 85 23 78 */ mr r5, r4 -/* 80260550 0025D4B0 7F E7 FB 78 */ mr r7, r31 -/* 80260554 0025D4B4 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80260558 0025D4B8 4B FF FC 29 */ bl sub_80260180 -/* 8026055C 0025D4BC 38 00 00 00 */ li r0, 0 -/* 80260560 0025D4C0 98 01 00 38 */ stb r0, 0x38(r1) -/* 80260564 0025D4C4 48 00 00 08 */ b lbl_8026056C -lbl_80260568: -/* 80260568 0025D4C8 38 60 00 00 */ li r3, 0 -lbl_8026056C: -/* 8026056C 0025D4CC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80260570 0025D4D0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80260574 0025D4D4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80260578 0025D4D8 7C 08 03 A6 */ mtlr r0 -/* 8026057C 0025D4DC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80260580 0025D4E0 4E 80 00 20 */ blr - -.global sub_80260584 -sub_80260584: -/* 80260584 0025D4E4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80260588 0025D4E8 7C 08 02 A6 */ mflr r0 -/* 8026058C 0025D4EC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80260590 0025D4F0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80260594 0025D4F4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80260598 0025D4F8 7C 9E 23 78 */ mr r30, r4 -/* 8026059C 0025D4FC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802605A0 0025D500 7C 7D 1B 78 */ mr r29, r3 -/* 802605A4 0025D504 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 802605A8 0025D508 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 802605AC 0025D50C 2C 00 00 01 */ cmpwi r0, 1 -/* 802605B0 0025D510 40 82 00 A4 */ bne lbl_80260654 -/* 802605B4 0025D514 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802605B8 0025D518 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802605BC 0025D51C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802605C0 0025D520 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802605C4 0025D524 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802605C8 0025D528 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802605CC 0025D52C 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 802605D0 0025D530 4B E9 88 35 */ bl GetBallRadius__10CMorphBallCFv -/* 802605D4 0025D534 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 802605D8 0025D538 7F E4 FB 78 */ mr r4, r31 -/* 802605DC 0025D53C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 802605E0 0025D540 38 61 00 20 */ addi r3, r1, 0x20 -/* 802605E4 0025D544 C0 42 BA 34 */ lfs f2, lbl_805AD754@sda21(r2) -/* 802605E8 0025D548 EC 20 08 2A */ fadds f1, f0, f1 -/* 802605EC 0025D54C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802605F0 0025D550 EC 63 10 2A */ fadds f3, f3, f2 -/* 802605F4 0025D554 EC 00 10 2A */ fadds f0, f0, f2 -/* 802605F8 0025D558 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802605FC 0025D55C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80260600 0025D560 D0 01 00 08 */ stfs f0, 8(r1) -/* 80260604 0025D564 4B EB A3 29 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80260608 0025D568 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 8026060C 0025D56C 7F A3 EB 78 */ mr r3, r29 -/* 80260610 0025D570 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 80260614 0025D574 7F C7 F3 78 */ mr r7, r30 -/* 80260618 0025D578 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8026061C 0025D57C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80260620 0025D580 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80260624 0025D584 38 A1 00 08 */ addi r5, r1, 8 -/* 80260628 0025D588 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8026062C 0025D58C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80260630 0025D590 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80260634 0025D594 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 80260638 0025D598 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8026063C 0025D59C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80260640 0025D5A0 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80260644 0025D5A4 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80260648 0025D5A8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8026064C 0025D5AC 4B FF FB 35 */ bl sub_80260180 -/* 80260650 0025D5B0 48 00 00 08 */ b lbl_80260658 -lbl_80260654: -/* 80260654 0025D5B4 38 60 00 00 */ li r3, 0 -lbl_80260658: -/* 80260658 0025D5B8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8026065C 0025D5BC 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80260660 0025D5C0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80260664 0025D5C4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80260668 0025D5C8 7C 08 03 A6 */ mtlr r0 -/* 8026066C 0025D5CC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80260670 0025D5D0 4E 80 00 20 */ blr - -.global sub_80260674 -sub_80260674: -/* 80260674 0025D5D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80260678 0025D5D8 7C 08 02 A6 */ mflr r0 -/* 8026067C 0025D5DC 2C 05 00 00 */ cmpwi r5, 0 -/* 80260680 0025D5E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80260684 0025D5E4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80260688 0025D5E8 7C 9F 23 78 */ mr r31, r4 -/* 8026068C 0025D5EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80260690 0025D5F0 7C 7E 1B 78 */ mr r30, r3 -/* 80260694 0025D5F4 41 82 00 08 */ beq lbl_8026069C -/* 80260698 0025D5F8 48 00 00 7C */ b lbl_80260714 -lbl_8026069C: -/* 8026069C 0025D5FC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802606A0 0025D600 38 80 00 01 */ li r4, 1 -/* 802606A4 0025D604 4B ED A3 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802606A8 0025D608 A0 7E 06 94 */ lhz r3, 0x694(r30) -/* 802606AC 0025D60C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802606B0 0025D610 7C 03 00 40 */ cmplw r3, r0 -/* 802606B4 0025D614 41 82 00 60 */ beq lbl_80260714 -/* 802606B8 0025D618 A0 1E 06 94 */ lhz r0, 0x694(r30) -/* 802606BC 0025D61C 7F E3 FB 78 */ mr r3, r31 -/* 802606C0 0025D620 38 81 00 08 */ addi r4, r1, 8 -/* 802606C4 0025D624 B0 01 00 08 */ sth r0, 8(r1) -/* 802606C8 0025D628 4B DE BE DD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802606CC 0025D62C 7C 64 1B 78 */ mr r4, r3 -/* 802606D0 0025D630 38 61 00 0C */ addi r3, r1, 0xc -/* 802606D4 0025D634 4B E4 F3 69 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 802606D8 0025D638 80 A3 00 04 */ lwz r5, 4(r3) -/* 802606DC 0025D63C 28 05 00 00 */ cmplwi r5, 0 -/* 802606E0 0025D640 41 82 00 2C */ beq lbl_8026070C -/* 802606E4 0025D644 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 802606E8 0025D648 7F C3 F3 78 */ mr r3, r30 -/* 802606EC 0025D64C C0 25 00 50 */ lfs f1, 0x50(r5) -/* 802606F0 0025D650 38 81 00 14 */ addi r4, r1, 0x14 -/* 802606F4 0025D654 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 802606F8 0025D658 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802606FC 0025D65C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80260700 0025D660 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80260704 0025D664 4B E1 C4 59 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80260708 0025D668 48 00 00 0C */ b lbl_80260714 -lbl_8026070C: -/* 8026070C 0025D66C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80260710 0025D670 B0 1E 06 94 */ sth r0, 0x694(r30) -lbl_80260714: -/* 80260714 0025D674 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80260718 0025D678 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026071C 0025D67C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80260720 0025D680 7C 08 03 A6 */ mtlr r0 -/* 80260724 0025D684 38 21 00 30 */ addi r1, r1, 0x30 -/* 80260728 0025D688 4E 80 00 20 */ blr - -.global Think__9CTryclopsFfR13CStateManager -Think__9CTryclopsFfR13CStateManager: -/* 8026072C 0025D68C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80260730 0025D690 7C 08 02 A6 */ mflr r0 -/* 80260734 0025D694 90 01 00 34 */ stw r0, 0x34(r1) -/* 80260738 0025D698 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8026073C 0025D69C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80260740 0025D6A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80260744 0025D6A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80260748 0025D6A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026074C 0025D6AC FF E0 08 90 */ fmr f31, f1 -/* 80260750 0025D6B0 7C 7D 1B 78 */ mr r29, r3 -/* 80260754 0025D6B4 7C 9E 23 78 */ mr r30, r4 -/* 80260758 0025D6B8 4B E1 93 C1 */ bl Think__10CPatternedFfR13CStateManager -/* 8026075C 0025D6BC 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 80260760 0025D6C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80260764 0025D6C4 41 82 00 1C */ beq lbl_80260780 -/* 80260768 0025D6C8 C0 3D 06 8C */ lfs f1, 0x68c(r29) -/* 8026076C 0025D6CC C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260770 0025D6D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80260774 0025D6D4 40 81 00 0C */ ble lbl_80260780 -/* 80260778 0025D6D8 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 8026077C 0025D6DC D0 1D 06 8C */ stfs f0, 0x68c(r29) -lbl_80260780: -/* 80260780 0025D6E0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80260784 0025D6E4 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80260788 0025D6E8 A0 83 02 6C */ lhz r4, 0x26c(r3) -/* 8026078C 0025D6EC 7C 04 00 40 */ cmplw r4, r0 -/* 80260790 0025D6F0 40 82 00 48 */ bne lbl_802607D8 -/* 80260794 0025D6F4 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 80260798 0025D6F8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8026079C 0025D6FC 40 82 00 3C */ bne lbl_802607D8 -/* 802607A0 0025D700 3B E0 00 00 */ li r31, 0 -/* 802607A4 0025D704 4B DB 04 B5 */ bl GetAttachedActorStruggle__7CPlayerCFv -/* 802607A8 0025D708 C0 02 BA 3C */ lfs f0, lbl_805AD75C@sda21(r2) -/* 802607AC 0025D70C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802607B0 0025D710 40 82 00 1C */ bne lbl_802607CC -/* 802607B4 0025D714 7F A3 EB 78 */ mr r3, r29 -/* 802607B8 0025D718 7F C4 F3 78 */ mr r4, r30 -/* 802607BC 0025D71C 4B FF D4 15 */ bl sub_8025dbd0 -/* 802607C0 0025D720 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802607C4 0025D724 40 82 00 08 */ bne lbl_802607CC -/* 802607C8 0025D728 3B E0 00 01 */ li r31, 1 -lbl_802607CC: -/* 802607CC 0025D72C 88 1D 06 98 */ lbz r0, 0x698(r29) -/* 802607D0 0025D730 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b -/* 802607D4 0025D734 98 1D 06 98 */ stb r0, 0x698(r29) -lbl_802607D8: -/* 802607D8 0025D738 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802607DC 0025D73C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802607E0 0025D740 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802607E4 0025D744 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802607E8 0025D748 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802607EC 0025D74C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802607F0 0025D750 7C 08 03 A6 */ mtlr r0 -/* 802607F4 0025D754 38 21 00 30 */ addi r1, r1, 0x30 -/* 802607F8 0025D758 4E 80 00 20 */ blr - -.global sub_802607fc -sub_802607fc: -/* 802607FC 0025D75C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80260800 0025D760 7C 08 02 A6 */ mflr r0 -/* 80260804 0025D764 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260808 0025D768 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026080C 0025D76C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80260810 0025D770 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80260814 0025D774 7C 7E 1B 78 */ mr r30, r3 -/* 80260818 0025D778 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8026081C 0025D77C C0 43 06 8C */ lfs f2, 0x68c(r3) -/* 80260820 0025D780 A0 BF 02 6C */ lhz r5, 0x26c(r31) -/* 80260824 0025D784 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80260828 0025D788 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8026082C 0025D78C 7C 05 00 50 */ subf r0, r5, r0 -/* 80260830 0025D790 7C 00 00 34 */ cntlzw r0, r0 -/* 80260834 0025D794 54 06 D9 7E */ srwi r6, r0, 5 -/* 80260838 0025D798 7C A0 00 26 */ mfcr r5 -/* 8026083C 0025D79C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80260840 0025D7A0 54 A5 17 FE */ rlwinm r5, r5, 2, 0x1f, 0x1f -/* 80260844 0025D7A4 2C 00 00 01 */ cmpwi r0, 1 -/* 80260848 0025D7A8 40 82 00 44 */ bne lbl_8026088C -/* 8026084C 0025D7AC 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80260850 0025D7B0 41 82 00 3C */ beq lbl_8026088C -/* 80260854 0025D7B4 28 05 00 00 */ cmplwi r5, 0 -/* 80260858 0025D7B8 40 82 00 34 */ bne lbl_8026088C -/* 8026085C 0025D7BC 4B F9 5B 11 */ bl InDetectionRange__10CPatternedFR13CStateManagerf -/* 80260860 0025D7C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80260864 0025D7C4 41 82 00 28 */ beq lbl_8026088C -/* 80260868 0025D7C8 7F E4 FB 78 */ mr r4, r31 -/* 8026086C 0025D7CC 38 61 00 08 */ addi r3, r1, 8 -/* 80260870 0025D7D0 48 02 44 D9 */ bl GetBallPosition__7CPlayerCFv -/* 80260874 0025D7D4 38 7E 05 68 */ addi r3, r30, 0x568 -/* 80260878 0025D7D8 38 81 00 08 */ addi r4, r1, 8 -/* 8026087C 0025D7DC 4B F6 62 B9 */ bl OnPath__15CPathFindSearchCFRC9CVector3f -/* 80260880 0025D7E0 7C 60 00 34 */ cntlzw r0, r3 -/* 80260884 0025D7E4 54 03 D9 7E */ srwi r3, r0, 5 -/* 80260888 0025D7E8 48 00 00 08 */ b lbl_80260890 -lbl_8026088C: -/* 8026088C 0025D7EC 38 60 00 00 */ li r3, 0 -lbl_80260890: -/* 80260890 0025D7F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80260894 0025D7F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80260898 0025D7F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026089C 0025D7FC 7C 08 03 A6 */ mtlr r0 -/* 802608A0 0025D800 38 21 00 20 */ addi r1, r1, 0x20 -/* 802608A4 0025D804 4E 80 00 20 */ blr - -.global sub_802608a8 -sub_802608a8: -/* 802608A8 0025D808 94 21 F7 10 */ stwu r1, -0x8f0(r1) -/* 802608AC 0025D80C 7C 08 02 A6 */ mflr r0 -/* 802608B0 0025D810 90 01 08 F4 */ stw r0, 0x8f4(r1) -/* 802608B4 0025D814 DB E1 08 E0 */ stfd f31, 0x8e0(r1) -/* 802608B8 0025D818 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 -/* 802608BC 0025D81C DB C1 08 D0 */ stfd f30, 0x8d0(r1) -/* 802608C0 0025D820 F3 C1 08 D8 */ psq_st f30, -1832(r1), 0, qr0 -/* 802608C4 0025D824 DB A1 08 C0 */ stfd f29, 0x8c0(r1) -/* 802608C8 0025D828 F3 A1 08 C8 */ psq_st f29, -1848(r1), 0, qr0 -/* 802608CC 0025D82C DB 81 08 B0 */ stfd f28, 0x8b0(r1) -/* 802608D0 0025D830 F3 81 08 B8 */ psq_st f28, -1864(r1), 0, qr0 -/* 802608D4 0025D834 BF 61 08 9C */ stmw r27, 0x89c(r1) -/* 802608D8 0025D838 7C 7E 1B 78 */ mr r30, r3 -/* 802608DC 0025D83C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802608E0 0025D840 A0 63 06 94 */ lhz r3, 0x694(r3) -/* 802608E4 0025D844 7C 9F 23 78 */ mr r31, r4 -/* 802608E8 0025D848 7C 03 00 40 */ cmplw r3, r0 -/* 802608EC 0025D84C 41 82 00 0C */ beq lbl_802608F8 -/* 802608F0 0025D850 38 60 00 01 */ li r3, 1 -/* 802608F4 0025D854 48 00 02 C8 */ b lbl_80260BBC -lbl_802608F8: -/* 802608F8 0025D858 C1 3E 03 BC */ lfs f9, 0x3bc(r30) -/* 802608FC 0025D85C 38 61 00 78 */ addi r3, r1, 0x78 -/* 80260900 0025D860 C0 FE 00 50 */ lfs f7, 0x50(r30) -/* 80260904 0025D864 38 81 00 50 */ addi r4, r1, 0x50 -/* 80260908 0025D868 FD 40 48 50 */ fneg f10, f9 -/* 8026090C 0025D86C C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80260910 0025D870 C1 1E 00 60 */ lfs f8, 0x60(r30) -/* 80260914 0025D874 EC C7 48 2A */ fadds f6, f7, f9 -/* 80260918 0025D878 C3 FE 03 C0 */ lfs f31, 0x3c0(r30) -/* 8026091C 0025D87C EC 22 48 2A */ fadds f1, f2, f9 -/* 80260920 0025D880 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260924 0025D884 EC A8 F8 2A */ fadds f5, f8, f31 -/* 80260928 0025D888 EC 87 50 2A */ fadds f4, f7, f10 -/* 8026092C 0025D88C D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80260930 0025D890 EC 68 00 2A */ fadds f3, f8, f0 -/* 80260934 0025D894 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80260938 0025D898 EC 02 50 2A */ fadds f0, f2, f10 -/* 8026093C 0025D89C EF C9 02 72 */ fmuls f30, f9, f9 -/* 80260940 0025D8A0 EF BF 07 F2 */ fmuls f29, f31, f31 -/* 80260944 0025D8A4 D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 80260948 0025D8A8 D1 01 00 34 */ stfs f8, 0x34(r1) -/* 8026094C 0025D8AC D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80260950 0025D8B0 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 80260954 0025D8B4 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 80260958 0025D8B8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8026095C 0025D8BC D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 80260960 0025D8C0 D1 01 00 4C */ stfs f8, 0x4c(r1) -/* 80260964 0025D8C4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80260968 0025D8C8 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8026096C 0025D8CC D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80260970 0025D8D0 48 0D 7B 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80260974 0025D8D4 38 00 00 00 */ li r0, 0 -/* 80260978 0025D8D8 80 AD 97 E4 */ lwz r5, lbl_805A83A4@sda21(r13) -/* 8026097C 0025D8DC 90 01 00 90 */ stw r0, 0x90(r1) -/* 80260980 0025D8E0 38 60 00 00 */ li r3, 0 -/* 80260984 0025D8E4 38 80 00 01 */ li r4, 1 -/* 80260988 0025D8E8 48 12 95 6D */ bl __shl2i -/* 8026098C 0025D8EC 39 00 00 00 */ li r8, 0 -/* 80260990 0025D8F0 38 00 00 01 */ li r0, 1 -/* 80260994 0025D8F4 90 81 00 64 */ stw r4, 0x64(r1) -/* 80260998 0025D8F8 7F C7 F3 78 */ mr r7, r30 -/* 8026099C 0025D8FC 38 81 00 90 */ addi r4, r1, 0x90 -/* 802609A0 0025D900 38 A1 00 78 */ addi r5, r1, 0x78 -/* 802609A4 0025D904 90 61 00 60 */ stw r3, 0x60(r1) -/* 802609A8 0025D908 7F E3 FB 78 */ mr r3, r31 -/* 802609AC 0025D90C 38 C1 00 60 */ addi r6, r1, 0x60 -/* 802609B0 0025D910 91 01 00 6C */ stw r8, 0x6c(r1) -/* 802609B4 0025D914 91 01 00 68 */ stw r8, 0x68(r1) -/* 802609B8 0025D918 90 01 00 70 */ stw r0, 0x70(r1) -/* 802609BC 0025D91C 4B DE BD 65 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 802609C0 0025D920 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802609C4 0025D924 3B A1 00 94 */ addi r29, r1, 0x94 -/* 802609C8 0025D928 7F BC EB 78 */ mr r28, r29 -/* 802609CC 0025D92C B0 1E 06 94 */ sth r0, 0x694(r30) -/* 802609D0 0025D930 48 00 00 CC */ b lbl_80260A9C -lbl_802609D4: -/* 802609D4 0025D934 A0 1C 00 00 */ lhz r0, 0(r28) -/* 802609D8 0025D938 7F E3 FB 78 */ mr r3, r31 -/* 802609DC 0025D93C 38 81 00 0C */ addi r4, r1, 0xc -/* 802609E0 0025D940 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802609E4 0025D944 4B DE BB C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802609E8 0025D948 7C 64 1B 78 */ mr r4, r3 -/* 802609EC 0025D94C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802609F0 0025D950 4B E4 F0 4D */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 802609F4 0025D954 83 63 00 04 */ lwz r27, 4(r3) -/* 802609F8 0025D958 28 1B 00 00 */ cmplwi r27, 0 -/* 802609FC 0025D95C 41 82 00 9C */ beq lbl_80260A98 -/* 80260A00 0025D960 88 1B 01 90 */ lbz r0, 0x190(r27) -/* 80260A04 0025D964 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80260A08 0025D968 40 82 00 90 */ bne lbl_80260A98 -/* 80260A0C 0025D96C C0 BB 00 50 */ lfs f5, 0x50(r27) -/* 80260A10 0025D970 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80260A14 0025D974 C0 9B 00 60 */ lfs f4, 0x60(r27) -/* 80260A18 0025D978 EC 65 00 28 */ fsubs f3, f5, f0 -/* 80260A1C 0025D97C C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80260A20 0025D980 C0 DB 00 40 */ lfs f6, 0x40(r27) -/* 80260A24 0025D984 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80260A28 0025D988 EC 44 00 28 */ fsubs f2, f4, f0 -/* 80260A2C 0025D98C EC 03 00 F2 */ fmuls f0, f3, f3 -/* 80260A30 0025D990 EC 26 08 28 */ fsubs f1, f6, f1 -/* 80260A34 0025D994 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80260A38 0025D998 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 80260A3C 0025D99C EF 82 00 2A */ fadds f28, f2, f0 -/* 80260A40 0025D9A0 FC 1C F0 40 */ fcmpo cr0, f28, f30 -/* 80260A44 0025D9A4 40 80 00 54 */ bge lbl_80260A98 -/* 80260A48 0025D9A8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260A4C 0025D9AC 38 00 00 01 */ li r0, 1 -/* 80260A50 0025D9B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80260A54 0025D9B4 40 81 00 10 */ ble lbl_80260A64 -/* 80260A58 0025D9B8 FC 02 E8 40 */ fcmpo cr0, f2, f29 -/* 80260A5C 0025D9BC 7C 00 00 26 */ mfcr r0 -/* 80260A60 0025D9C0 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_80260A64: -/* 80260A64 0025D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80260A68 0025D9C8 41 82 00 30 */ beq lbl_80260A98 -/* 80260A6C 0025D9CC D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 80260A70 0025D9D0 38 7E 05 68 */ addi r3, r30, 0x568 -/* 80260A74 0025D9D4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80260A78 0025D9D8 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80260A7C 0025D9DC D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80260A80 0025D9E0 4B F6 60 B5 */ bl OnPath__15CPathFindSearchCFRC9CVector3f -/* 80260A84 0025D9E4 2C 03 00 00 */ cmpwi r3, 0 -/* 80260A88 0025D9E8 40 82 00 10 */ bne lbl_80260A98 -/* 80260A8C 0025D9EC A0 1B 00 08 */ lhz r0, 8(r27) -/* 80260A90 0025D9F0 FF C0 E0 90 */ fmr f30, f28 -/* 80260A94 0025D9F4 B0 1E 06 94 */ sth r0, 0x694(r30) -lbl_80260A98: -/* 80260A98 0025D9F8 3B 9C 00 02 */ addi r28, r28, 2 -lbl_80260A9C: -/* 80260A9C 0025D9FC 80 01 00 90 */ lwz r0, 0x90(r1) -/* 80260AA0 0025DA00 54 00 08 3C */ slwi r0, r0, 1 -/* 80260AA4 0025DA04 7C 1D 02 14 */ add r0, r29, r0 -/* 80260AA8 0025DA08 7C 1C 00 40 */ cmplw r28, r0 -/* 80260AAC 0025DA0C 40 82 FF 28 */ bne lbl_802609D4 -/* 80260AB0 0025DA10 A0 7E 06 94 */ lhz r3, 0x694(r30) -/* 80260AB4 0025DA14 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80260AB8 0025DA18 7C 03 00 40 */ cmplw r3, r0 -/* 80260ABC 0025DA1C 41 82 00 A8 */ beq lbl_80260B64 -/* 80260AC0 0025DA20 A0 1E 06 94 */ lhz r0, 0x694(r30) -/* 80260AC4 0025DA24 7F E3 FB 78 */ mr r3, r31 -/* 80260AC8 0025DA28 38 81 00 08 */ addi r4, r1, 8 -/* 80260ACC 0025DA2C B0 01 00 08 */ sth r0, 8(r1) -/* 80260AD0 0025DA30 4B DE BA A5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80260AD4 0025DA34 7C 64 1B 78 */ mr r4, r3 -/* 80260AD8 0025DA38 38 61 00 18 */ addi r3, r1, 0x18 -/* 80260ADC 0025DA3C 4B E4 EF 61 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" -/* 80260AE0 0025DA40 80 A3 00 04 */ lwz r5, 4(r3) -/* 80260AE4 0025DA44 28 05 00 00 */ cmplwi r5, 0 -/* 80260AE8 0025DA48 41 82 00 7C */ beq lbl_80260B64 -/* 80260AEC 0025DA4C 88 05 01 90 */ lbz r0, 0x190(r5) -/* 80260AF0 0025DA50 38 60 00 01 */ li r3, 1 -/* 80260AF4 0025DA54 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80260AF8 0025DA58 38 80 00 00 */ li r4, 0 -/* 80260AFC 0025DA5C 98 05 01 90 */ stb r0, 0x190(r5) -/* 80260B00 0025DA60 88 05 01 90 */ lbz r0, 0x190(r5) -/* 80260B04 0025DA64 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80260B08 0025DA68 98 05 01 90 */ stb r0, 0x190(r5) -/* 80260B0C 0025DA6C 80 A1 00 90 */ lwz r5, 0x90(r1) -/* 80260B10 0025DA70 2C 05 00 00 */ cmpwi r5, 0 -/* 80260B14 0025DA74 40 81 00 40 */ ble lbl_80260B54 -/* 80260B18 0025DA78 2C 05 00 08 */ cmpwi r5, 8 -/* 80260B1C 0025DA7C 38 65 FF F8 */ addi r3, r5, -8 -/* 80260B20 0025DA80 40 81 00 20 */ ble lbl_80260B40 -/* 80260B24 0025DA84 38 03 00 07 */ addi r0, r3, 7 -/* 80260B28 0025DA88 54 00 E8 FE */ srwi r0, r0, 3 -/* 80260B2C 0025DA8C 7C 09 03 A6 */ mtctr r0 -/* 80260B30 0025DA90 2C 03 00 00 */ cmpwi r3, 0 -/* 80260B34 0025DA94 40 81 00 0C */ ble lbl_80260B40 -lbl_80260B38: -/* 80260B38 0025DA98 38 84 00 08 */ addi r4, r4, 8 -/* 80260B3C 0025DA9C 42 00 FF FC */ bdnz lbl_80260B38 -lbl_80260B40: -/* 80260B40 0025DAA0 7C 04 28 50 */ subf r0, r4, r5 -/* 80260B44 0025DAA4 7C 09 03 A6 */ mtctr r0 -/* 80260B48 0025DAA8 7C 04 28 00 */ cmpw r4, r5 -/* 80260B4C 0025DAAC 40 80 00 08 */ bge lbl_80260B54 -lbl_80260B50: -/* 80260B50 0025DAB0 42 00 00 00 */ bdnz lbl_80260B50 -lbl_80260B54: -/* 80260B54 0025DAB4 38 00 00 00 */ li r0, 0 -/* 80260B58 0025DAB8 38 60 00 01 */ li r3, 1 -/* 80260B5C 0025DABC 90 01 00 90 */ stw r0, 0x90(r1) -/* 80260B60 0025DAC0 48 00 00 5C */ b lbl_80260BBC -lbl_80260B64: -/* 80260B64 0025DAC4 80 A1 00 90 */ lwz r5, 0x90(r1) -/* 80260B68 0025DAC8 38 60 00 00 */ li r3, 0 -/* 80260B6C 0025DACC 2C 05 00 00 */ cmpwi r5, 0 -/* 80260B70 0025DAD0 40 81 00 40 */ ble lbl_80260BB0 -/* 80260B74 0025DAD4 2C 05 00 08 */ cmpwi r5, 8 -/* 80260B78 0025DAD8 38 85 FF F8 */ addi r4, r5, -8 -/* 80260B7C 0025DADC 40 81 00 20 */ ble lbl_80260B9C -/* 80260B80 0025DAE0 38 04 00 07 */ addi r0, r4, 7 -/* 80260B84 0025DAE4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80260B88 0025DAE8 7C 09 03 A6 */ mtctr r0 -/* 80260B8C 0025DAEC 2C 04 00 00 */ cmpwi r4, 0 -/* 80260B90 0025DAF0 40 81 00 0C */ ble lbl_80260B9C -lbl_80260B94: -/* 80260B94 0025DAF4 38 63 00 08 */ addi r3, r3, 8 -/* 80260B98 0025DAF8 42 00 FF FC */ bdnz lbl_80260B94 -lbl_80260B9C: -/* 80260B9C 0025DAFC 7C 03 28 50 */ subf r0, r3, r5 -/* 80260BA0 0025DB00 7C 09 03 A6 */ mtctr r0 -/* 80260BA4 0025DB04 7C 03 28 00 */ cmpw r3, r5 -/* 80260BA8 0025DB08 40 80 00 08 */ bge lbl_80260BB0 -lbl_80260BAC: -/* 80260BAC 0025DB0C 42 00 00 00 */ bdnz lbl_80260BAC -lbl_80260BB0: -/* 80260BB0 0025DB10 38 00 00 00 */ li r0, 0 -/* 80260BB4 0025DB14 38 60 00 00 */ li r3, 0 -/* 80260BB8 0025DB18 90 01 00 90 */ stw r0, 0x90(r1) -lbl_80260BBC: -/* 80260BBC 0025DB1C E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 -/* 80260BC0 0025DB20 CB E1 08 E0 */ lfd f31, 0x8e0(r1) -/* 80260BC4 0025DB24 E3 C1 08 D8 */ psq_l f30, -1832(r1), 0, qr0 -/* 80260BC8 0025DB28 CB C1 08 D0 */ lfd f30, 0x8d0(r1) -/* 80260BCC 0025DB2C E3 A1 08 C8 */ psq_l f29, -1848(r1), 0, qr0 -/* 80260BD0 0025DB30 CB A1 08 C0 */ lfd f29, 0x8c0(r1) -/* 80260BD4 0025DB34 E3 81 08 B8 */ psq_l f28, -1864(r1), 0, qr0 -/* 80260BD8 0025DB38 CB 81 08 B0 */ lfd f28, 0x8b0(r1) -/* 80260BDC 0025DB3C BB 61 08 9C */ lmw r27, 0x89c(r1) -/* 80260BE0 0025DB40 80 01 08 F4 */ lwz r0, 0x8f4(r1) -/* 80260BE4 0025DB44 7C 08 03 A6 */ mtlr r0 -/* 80260BE8 0025DB48 38 21 08 F0 */ addi r1, r1, 0x8f0 -/* 80260BEC 0025DB4C 4E 80 00 20 */ blr - -.global sub_80260bf0 -sub_80260bf0: -/* 80260BF0 0025DB50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80260BF4 0025DB54 7C 08 02 A6 */ mflr r0 -/* 80260BF8 0025DB58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80260BFC 0025DB5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80260C00 0025DB60 7C DF 33 78 */ mr r31, r6 -/* 80260C04 0025DB64 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80260C08 0025DB68 7C 9E 23 78 */ mr r30, r4 -/* 80260C0C 0025DB6C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80260C10 0025DB70 7C 7D 1B 78 */ mr r29, r3 -/* 80260C14 0025DB74 A0 05 00 00 */ lhz r0, 0(r5) -/* 80260C18 0025DB78 38 A1 00 08 */ addi r5, r1, 8 -/* 80260C1C 0025DB7C B0 01 00 08 */ sth r0, 8(r1) -/* 80260C20 0025DB80 4B E1 BF 59 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80260C24 0025DB84 2C 1E 00 22 */ cmpwi r30, 0x22 -/* 80260C28 0025DB88 41 82 00 5C */ beq lbl_80260C84 -/* 80260C2C 0025DB8C 40 80 00 10 */ bge lbl_80260C3C -/* 80260C30 0025DB90 2C 1E 00 21 */ cmpwi r30, 0x21 -/* 80260C34 0025DB94 40 80 00 14 */ bge lbl_80260C48 -/* 80260C38 0025DB98 48 00 00 4C */ b lbl_80260C84 -lbl_80260C3C: -/* 80260C3C 0025DB9C 2C 1E 00 24 */ cmpwi r30, 0x24 -/* 80260C40 0025DBA0 40 80 00 44 */ bge lbl_80260C84 -/* 80260C44 0025DBA4 48 00 00 14 */ b lbl_80260C58 -lbl_80260C48: -/* 80260C48 0025DBA8 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80260C4C 0025DBAC 7F E4 FB 78 */ mr r4, r31 -/* 80260C50 0025DBB0 4B ED A0 A1 */ bl Activate__15CBodyControllerFR13CStateManager -/* 80260C54 0025DBB4 48 00 00 30 */ b lbl_80260C84 -lbl_80260C58: -/* 80260C58 0025DBB8 80 BD 00 04 */ lwz r5, 4(r29) -/* 80260C5C 0025DBBC 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 80260C60 0025DBC0 54 A3 18 38 */ slwi r3, r5, 3 -/* 80260C64 0025DBC4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80260C68 0025DBC8 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80260C6C 0025DBCC 38 03 00 04 */ addi r0, r3, 4 -/* 80260C70 0025DBD0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80260C74 0025DBD4 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80260C78 0025DBD8 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80260C7C 0025DBDC 80 03 10 BC */ lwz r0, 0x10bc(r3) -/* 80260C80 0025DBE0 90 1D 05 68 */ stw r0, 0x568(r29) -lbl_80260C84: -/* 80260C84 0025DBE4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80260C88 0025DBE8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80260C8C 0025DBEC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80260C90 0025DBF0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80260C94 0025DBF4 7C 08 03 A6 */ mtlr r0 -/* 80260C98 0025DBF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80260C9C 0025DBFC 4E 80 00 20 */ blr - -.global __dt__9CTryclopsFv -__dt__9CTryclopsFv: -/* 80260CA0 0025DC00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260CA4 0025DC04 7C 08 02 A6 */ mflr r0 -/* 80260CA8 0025DC08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260CAC 0025DC0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260CB0 0025DC10 7C 9F 23 78 */ mr r31, r4 -/* 80260CB4 0025DC14 93 C1 00 08 */ stw r30, 8(r1) -/* 80260CB8 0025DC18 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80260CBC 0025DC1C 41 82 00 90 */ beq lbl_80260D4C -/* 80260CC0 0025DC20 3C 60 80 3F */ lis r3, lbl_803E9A40@ha -/* 80260CC4 0025DC24 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80260CC8 0025DC28 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l -/* 80260CCC 0025DC2C 90 1E 00 00 */ stw r0, 0(r30) -/* 80260CD0 0025DC30 41 82 00 60 */ beq lbl_80260D30 -/* 80260CD4 0025DC34 34 1E 05 6C */ addic. r0, r30, 0x56c -/* 80260CD8 0025DC38 41 82 00 58 */ beq lbl_80260D30 -/* 80260CDC 0025DC3C 80 BE 05 6C */ lwz r5, 0x56c(r30) -/* 80260CE0 0025DC40 38 60 00 00 */ li r3, 0 -/* 80260CE4 0025DC44 2C 05 00 00 */ cmpwi r5, 0 -/* 80260CE8 0025DC48 40 81 00 40 */ ble lbl_80260D28 -/* 80260CEC 0025DC4C 2C 05 00 08 */ cmpwi r5, 8 -/* 80260CF0 0025DC50 38 85 FF F8 */ addi r4, r5, -8 -/* 80260CF4 0025DC54 40 81 00 20 */ ble lbl_80260D14 -/* 80260CF8 0025DC58 38 04 00 07 */ addi r0, r4, 7 -/* 80260CFC 0025DC5C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80260D00 0025DC60 7C 09 03 A6 */ mtctr r0 -/* 80260D04 0025DC64 2C 04 00 00 */ cmpwi r4, 0 -/* 80260D08 0025DC68 40 81 00 0C */ ble lbl_80260D14 -lbl_80260D0C: -/* 80260D0C 0025DC6C 38 63 00 08 */ addi r3, r3, 8 -/* 80260D10 0025DC70 42 00 FF FC */ bdnz lbl_80260D0C -lbl_80260D14: -/* 80260D14 0025DC74 7C 03 28 50 */ subf r0, r3, r5 -/* 80260D18 0025DC78 7C 09 03 A6 */ mtctr r0 -/* 80260D1C 0025DC7C 7C 03 28 00 */ cmpw r3, r5 -/* 80260D20 0025DC80 40 80 00 08 */ bge lbl_80260D28 -lbl_80260D24: -/* 80260D24 0025DC84 42 00 00 00 */ bdnz lbl_80260D24 -lbl_80260D28: -/* 80260D28 0025DC88 38 00 00 00 */ li r0, 0 -/* 80260D2C 0025DC8C 90 1E 05 6C */ stw r0, 0x56c(r30) -lbl_80260D30: -/* 80260D30 0025DC90 7F C3 F3 78 */ mr r3, r30 -/* 80260D34 0025DC94 38 80 00 00 */ li r4, 0 -/* 80260D38 0025DC98 4B E1 68 39 */ bl __dt__10CPatternedFv -/* 80260D3C 0025DC9C 7F E0 07 35 */ extsh. r0, r31 -/* 80260D40 0025DCA0 40 81 00 0C */ ble lbl_80260D4C -/* 80260D44 0025DCA4 7F C3 F3 78 */ mr r3, r30 -/* 80260D48 0025DCA8 48 0B 4B E9 */ bl Free__7CMemoryFPCv -lbl_80260D4C: -/* 80260D4C 0025DCAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260D50 0025DCB0 7F C3 F3 78 */ mr r3, r30 -/* 80260D54 0025DCB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260D58 0025DCB8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80260D5C 0025DCBC 7C 08 03 A6 */ mtlr r0 -/* 80260D60 0025DCC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260D64 0025DCC4 4E 80 00 20 */ blr - -.global __ct__9CTryclops -__ct__9CTryclops: -/* 80260D68 0025DCC8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80260D6C 0025DCCC 7C 08 02 A6 */ mflr r0 -/* 80260D70 0025DCD0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80260D74 0025DCD4 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80260D78 0025DCD8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80260D7C 0025DCDC DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80260D80 0025DCE0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80260D84 0025DCE4 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80260D88 0025DCE8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80260D8C 0025DCEC DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80260D90 0025DCF0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80260D94 0025DCF4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80260D98 0025DCF8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80260D9C 0025DCFC A0 04 00 00 */ lhz r0, 0(r4) -/* 80260DA0 0025DD00 7D 3E 4B 78 */ mr r30, r9 -/* 80260DA4 0025DD04 7C C4 33 78 */ mr r4, r6 -/* 80260DA8 0025DD08 7D 0C 43 78 */ mr r12, r8 -/* 80260DAC 0025DD0C B0 01 00 20 */ sth r0, 0x20(r1) -/* 80260DB0 0025DD10 7C A6 2B 78 */ mr r6, r5 -/* 80260DB4 0025DD14 7C 88 23 78 */ mr r8, r4 -/* 80260DB8 0025DD18 7C E9 3B 78 */ mr r9, r7 -/* 80260DBC 0025DD1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80260DC0 0025DD20 39 60 00 00 */ li r11, 0 -/* 80260DC4 0025DD24 38 00 00 01 */ li r0, 1 -/* 80260DC8 0025DD28 FF 80 08 90 */ fmr f28, f1 -/* 80260DCC 0025DD2C 91 61 00 0C */ stw r11, 0xc(r1) -/* 80260DD0 0025DD30 FF A0 10 90 */ fmr f29, f2 -/* 80260DD4 0025DD34 FF C0 18 90 */ fmr f30, f3 -/* 80260DD8 0025DD38 7C 7F 1B 78 */ mr r31, r3 -/* 80260DDC 0025DD3C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80260DE0 0025DD40 FF E0 20 90 */ fmr f31, f4 -/* 80260DE4 0025DD44 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80260DE8 0025DD48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260DEC 0025DD4C 38 80 00 26 */ li r4, 0x26 -/* 80260DF0 0025DD50 38 E0 00 00 */ li r7, 0 -/* 80260DF4 0025DD54 91 41 00 18 */ stw r10, 0x18(r1) -/* 80260DF8 0025DD58 7D 8A 63 78 */ mr r10, r12 -/* 80260DFC 0025DD5C 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80260E00 0025DD60 4B E1 C6 51 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80260E04 0025DD64 3C 60 80 3F */ lis r3, lbl_803E9A40@ha -/* 80260E08 0025DD68 C0 22 BA 3C */ lfs f1, lbl_805AD75C@sda21(r2) -/* 80260E0C 0025DD6C 38 03 9A 40 */ addi r0, r3, lbl_803E9A40@l -/* 80260E10 0025DD70 38 7F 05 68 */ addi r3, r31, 0x568 -/* 80260E14 0025DD74 90 1F 00 00 */ stw r0, 0(r31) -/* 80260E18 0025DD78 FC 40 08 90 */ fmr f2, f1 -/* 80260E1C 0025DD7C 38 80 00 00 */ li r4, 0 -/* 80260E20 0025DD80 38 A0 00 01 */ li r5, 1 -/* 80260E24 0025DD84 80 DE 01 0C */ lwz r6, 0x10c(r30) -/* 80260E28 0025DD88 4B F6 7F 6D */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 80260E2C 0025DD8C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80260E30 0025DD90 38 7F 06 4C */ addi r3, r31, 0x64c -/* 80260E34 0025DD94 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80260E38 0025DD98 48 0B 1D 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80260E3C 0025DD9C C0 02 BA 60 */ lfs f0, lbl_805AD780@sda21(r2) -/* 80260E40 0025DDA0 C0 22 BA 5C */ lfs f1, lbl_805AD77C@sda21(r2) -/* 80260E44 0025DDA4 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80260E48 0025DDA8 D3 9F 06 7C */ stfs f28, 0x67c(r31) -/* 80260E4C 0025DDAC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80260E50 0025DDB0 48 13 35 A1 */ bl cos -/* 80260E54 0025DDB4 FC 20 08 18 */ frsp f1, f1 -/* 80260E58 0025DDB8 C0 02 BA 34 */ lfs f0, lbl_805AD754@sda21(r2) -/* 80260E5C 0025DDBC 38 A0 00 00 */ li r5, 0 -/* 80260E60 0025DDC0 7F E3 FB 78 */ mr r3, r31 -/* 80260E64 0025DDC4 38 80 00 00 */ li r4, 0 -/* 80260E68 0025DDC8 D0 3F 06 80 */ stfs f1, 0x680(r31) -/* 80260E6C 0025DDCC D3 DF 06 84 */ stfs f30, 0x684(r31) -/* 80260E70 0025DDD0 D3 FF 06 88 */ stfs f31, 0x688(r31) -/* 80260E74 0025DDD4 D0 1F 06 8C */ stfs f0, 0x68c(r31) -/* 80260E78 0025DDD8 90 BF 06 90 */ stw r5, 0x690(r31) -/* 80260E7C 0025DDDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80260E80 0025DDE0 B0 1F 06 94 */ sth r0, 0x694(r31) -/* 80260E84 0025DDE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80260E88 0025DDE8 B0 1F 06 96 */ sth r0, 0x696(r31) -/* 80260E8C 0025DDEC 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 80260E90 0025DDF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80260E94 0025DDF4 98 1F 06 98 */ stb r0, 0x698(r31) -/* 80260E98 0025DDF8 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 80260E9C 0025DDFC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80260EA0 0025DE00 98 1F 06 98 */ stb r0, 0x698(r31) -/* 80260EA4 0025DE04 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 80260EA8 0025DE08 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80260EAC 0025DE0C 98 1F 06 98 */ stb r0, 0x698(r31) -/* 80260EB0 0025DE10 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 80260EB4 0025DE14 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80260EB8 0025DE18 98 1F 06 98 */ stb r0, 0x698(r31) -/* 80260EBC 0025DE1C 4B DF 1E B1 */ bl CreateShadow__6CActorFb -/* 80260EC0 0025DE20 7F E3 FB 78 */ mr r3, r31 -/* 80260EC4 0025DE24 4B E1 69 D1 */ bl MakeThermalColdAndHot__10CPatternedFv -/* 80260EC8 0025DE28 38 7F 04 60 */ addi r3, r31, 0x460 -/* 80260ECC 0025DE2C 38 80 00 00 */ li r4, 0 -/* 80260ED0 0025DE30 4B FD 2E 95 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 80260ED4 0025DE34 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 80260ED8 0025DE38 38 60 00 00 */ li r3, 0 -/* 80260EDC 0025DE3C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80260EE0 0025DE40 7F E3 FB 78 */ mr r3, r31 -/* 80260EE4 0025DE44 98 1F 03 28 */ stb r0, 0x328(r31) -/* 80260EE8 0025DE48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80260EEC 0025DE4C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80260EF0 0025DE50 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80260EF4 0025DE54 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80260EF8 0025DE58 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80260EFC 0025DE5C CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80260F00 0025DE60 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80260F04 0025DE64 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80260F08 0025DE68 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80260F0C 0025DE6C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80260F10 0025DE70 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80260F14 0025DE74 7C 08 03 A6 */ mtlr r0 -/* 80260F18 0025DE78 38 21 00 70 */ addi r1, r1, 0x70 -/* 80260F1C 0025DE7C 4E 80 00 20 */ blr - -.global __sinit_CTryclops_cpp -__sinit_CTryclops_cpp: -/* 80260F20 0025DE80 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80260F24 0025DE84 7C 08 02 A6 */ mflr r0 -/* 80260F28 0025DE88 39 60 00 02 */ li r11, 2 -/* 80260F2C 0025DE8C 38 80 00 02 */ li r4, 2 -/* 80260F30 0025DE90 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80260F34 0025DE94 38 00 00 00 */ li r0, 0 -/* 80260F38 0025DE98 38 61 00 30 */ addi r3, r1, 0x30 -/* 80260F3C 0025DE9C 38 A0 00 02 */ li r5, 2 -/* 80260F40 0025DEA0 BD E1 00 9C */ stmw r15, 0x9c(r1) -/* 80260F44 0025DEA4 38 C0 00 02 */ li r6, 2 -/* 80260F48 0025DEA8 38 E0 00 02 */ li r7, 2 -/* 80260F4C 0025DEAC 39 00 00 02 */ li r8, 2 -/* 80260F50 0025DEB0 39 20 00 01 */ li r9, 1 -/* 80260F54 0025DEB4 39 40 00 02 */ li r10, 2 -/* 80260F58 0025DEB8 91 61 00 08 */ stw r11, 8(r1) -/* 80260F5C 0025DEBC 91 61 00 0C */ stw r11, 0xc(r1) -/* 80260F60 0025DEC0 91 61 00 10 */ stw r11, 0x10(r1) -/* 80260F64 0025DEC4 91 61 00 14 */ stw r11, 0x14(r1) -/* 80260F68 0025DEC8 91 61 00 18 */ stw r11, 0x18(r1) -/* 80260F6C 0025DECC 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80260F70 0025DED0 91 61 00 20 */ stw r11, 0x20(r1) -/* 80260F74 0025DED4 91 61 00 24 */ stw r11, 0x24(r1) -/* 80260F78 0025DED8 90 01 00 28 */ stw r0, 0x28(r1) -/* 80260F7C 0025DEDC 4B EA 19 B9 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType -/* 80260F80 0025DEE0 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80260F84 0025DEE4 3C 80 80 57 */ lis r4, lbl_80572614@ha -/* 80260F88 0025DEE8 C0 22 BA 34 */ lfs f1, lbl_805AD754@sda21(r2) -/* 80260F8C 0025DEEC 3C A0 80 57 */ lis r5, lbl_80572688@ha -/* 80260F90 0025DEF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80260F94 0025DEF4 94 64 26 14 */ stwu r3, lbl_80572614@l(r4) -/* 80260F98 0025DEF8 81 E1 00 38 */ lwz r15, 0x38(r1) -/* 80260F9C 0025DEFC 82 01 00 3C */ lwz r16, 0x3c(r1) -/* 80260FA0 0025DF00 82 21 00 40 */ lwz r17, 0x40(r1) -/* 80260FA4 0025DF04 82 41 00 44 */ lwz r18, 0x44(r1) -/* 80260FA8 0025DF08 82 61 00 48 */ lwz r19, 0x48(r1) -/* 80260FAC 0025DF0C 82 81 00 4C */ lwz r20, 0x4c(r1) -/* 80260FB0 0025DF10 82 A1 00 50 */ lwz r21, 0x50(r1) -/* 80260FB4 0025DF14 82 C1 00 54 */ lwz r22, 0x54(r1) -/* 80260FB8 0025DF18 82 E1 00 58 */ lwz r23, 0x58(r1) -/* 80260FBC 0025DF1C 83 01 00 5C */ lwz r24, 0x5c(r1) -/* 80260FC0 0025DF20 83 21 00 60 */ lwz r25, 0x60(r1) -/* 80260FC4 0025DF24 83 41 00 64 */ lwz r26, 0x64(r1) -/* 80260FC8 0025DF28 83 61 00 68 */ lwz r27, 0x68(r1) -/* 80260FCC 0025DF2C 83 81 00 6C */ lwz r28, 0x6c(r1) -/* 80260FD0 0025DF30 83 A1 00 70 */ lwz r29, 0x70(r1) -/* 80260FD4 0025DF34 83 C1 00 74 */ lwz r30, 0x74(r1) -/* 80260FD8 0025DF38 83 E1 00 78 */ lwz r31, 0x78(r1) -/* 80260FDC 0025DF3C 81 81 00 7C */ lwz r12, 0x7c(r1) -/* 80260FE0 0025DF40 81 61 00 80 */ lwz r11, 0x80(r1) -/* 80260FE4 0025DF44 81 41 00 84 */ lwz r10, 0x84(r1) -/* 80260FE8 0025DF48 81 21 00 88 */ lwz r9, 0x88(r1) -/* 80260FEC 0025DF4C 81 01 00 8C */ lwz r8, 0x8c(r1) -/* 80260FF0 0025DF50 80 E1 00 90 */ lwz r7, 0x90(r1) -/* 80260FF4 0025DF54 80 C1 00 94 */ lwz r6, 0x94(r1) -/* 80260FF8 0025DF58 D4 25 26 88 */ stfsu f1, lbl_80572688@l(r5) -/* 80260FFC 0025DF5C C0 02 BA 64 */ lfs f0, lbl_805AD784@sda21(r2) -/* 80261000 0025DF60 90 04 00 04 */ stw r0, 4(r4) -/* 80261004 0025DF64 91 E4 00 08 */ stw r15, 8(r4) -/* 80261008 0025DF68 92 04 00 0C */ stw r16, 0xc(r4) -/* 8026100C 0025DF6C 92 24 00 10 */ stw r17, 0x10(r4) -/* 80261010 0025DF70 92 44 00 14 */ stw r18, 0x14(r4) -/* 80261014 0025DF74 92 64 00 18 */ stw r19, 0x18(r4) -/* 80261018 0025DF78 92 84 00 1C */ stw r20, 0x1c(r4) -/* 8026101C 0025DF7C 92 A4 00 20 */ stw r21, 0x20(r4) -/* 80261020 0025DF80 92 C4 00 24 */ stw r22, 0x24(r4) -/* 80261024 0025DF84 92 E4 00 28 */ stw r23, 0x28(r4) -/* 80261028 0025DF88 93 04 00 2C */ stw r24, 0x2c(r4) -/* 8026102C 0025DF8C 93 24 00 30 */ stw r25, 0x30(r4) -/* 80261030 0025DF90 93 44 00 34 */ stw r26, 0x34(r4) -/* 80261034 0025DF94 93 64 00 38 */ stw r27, 0x38(r4) -/* 80261038 0025DF98 93 84 00 3C */ stw r28, 0x3c(r4) -/* 8026103C 0025DF9C 93 A4 00 40 */ stw r29, 0x40(r4) -/* 80261040 0025DFA0 93 C4 00 44 */ stw r30, 0x44(r4) -/* 80261044 0025DFA4 93 E4 00 48 */ stw r31, 0x48(r4) -/* 80261048 0025DFA8 91 84 00 4C */ stw r12, 0x4c(r4) -/* 8026104C 0025DFAC 91 64 00 50 */ stw r11, 0x50(r4) -/* 80261050 0025DFB0 91 44 00 54 */ stw r10, 0x54(r4) -/* 80261054 0025DFB4 91 24 00 58 */ stw r9, 0x58(r4) -/* 80261058 0025DFB8 91 04 00 5C */ stw r8, 0x5c(r4) -/* 8026105C 0025DFBC 90 E4 00 60 */ stw r7, 0x60(r4) -/* 80261060 0025DFC0 90 C4 00 64 */ stw r6, 0x64(r4) -/* 80261064 0025DFC4 D0 25 00 04 */ stfs f1, 4(r5) -/* 80261068 0025DFC8 D0 05 00 08 */ stfs f0, 8(r5) -/* 8026106C 0025DFCC B9 E1 00 9C */ lmw r15, 0x9c(r1) -/* 80261070 0025DFD0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80261074 0025DFD4 7C 08 03 A6 */ mtlr r0 -/* 80261078 0025DFD8 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8026107C 0025DFDC 4E 80 00 20 */ blr - -.global __dt__16CNewFlameThrowerFv -__dt__16CNewFlameThrowerFv: -/* 80261080 0025DFE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261084 0025DFE4 7C 08 02 A6 */ mflr r0 -/* 80261088 0025DFE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026108C 0025DFEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261090 0025DFF0 7C 9F 23 78 */ mr r31, r4 -/* 80261094 0025DFF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80261098 0025DFF8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026109C 0025DFFC 41 82 02 80 */ beq lbl_8026131C -/* 802610A0 0025E000 3C 60 80 3F */ lis r3, lbl_803E9D10@ha -/* 802610A4 0025E004 34 1E 03 B8 */ addic. r0, r30, 0x3b8 -/* 802610A8 0025E008 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l -/* 802610AC 0025E00C 90 1E 00 00 */ stw r0, 0(r30) -/* 802610B0 0025E010 41 82 00 58 */ beq lbl_80261108 -/* 802610B4 0025E014 80 BE 03 B8 */ lwz r5, 0x3b8(r30) -/* 802610B8 0025E018 38 60 00 00 */ li r3, 0 -/* 802610BC 0025E01C 2C 05 00 00 */ cmpwi r5, 0 -/* 802610C0 0025E020 40 81 00 40 */ ble lbl_80261100 -/* 802610C4 0025E024 2C 05 00 08 */ cmpwi r5, 8 -/* 802610C8 0025E028 38 85 FF F8 */ addi r4, r5, -8 -/* 802610CC 0025E02C 40 81 00 20 */ ble lbl_802610EC -/* 802610D0 0025E030 38 04 00 07 */ addi r0, r4, 7 -/* 802610D4 0025E034 54 00 E8 FE */ srwi r0, r0, 3 -/* 802610D8 0025E038 7C 09 03 A6 */ mtctr r0 -/* 802610DC 0025E03C 2C 04 00 00 */ cmpwi r4, 0 -/* 802610E0 0025E040 40 81 00 0C */ ble lbl_802610EC -lbl_802610E4: -/* 802610E4 0025E044 38 63 00 08 */ addi r3, r3, 8 -/* 802610E8 0025E048 42 00 FF FC */ bdnz lbl_802610E4 -lbl_802610EC: -/* 802610EC 0025E04C 7C 03 28 50 */ subf r0, r3, r5 -/* 802610F0 0025E050 7C 09 03 A6 */ mtctr r0 -/* 802610F4 0025E054 7C 03 28 00 */ cmpw r3, r5 -/* 802610F8 0025E058 40 80 00 08 */ bge lbl_80261100 -lbl_802610FC: -/* 802610FC 0025E05C 42 00 00 00 */ bdnz lbl_802610FC -lbl_80261100: -/* 80261100 0025E060 38 00 00 00 */ li r0, 0 -/* 80261104 0025E064 90 1E 03 B8 */ stw r0, 0x3b8(r30) -lbl_80261108: -/* 80261108 0025E068 38 7E 03 80 */ addi r3, r30, 0x380 -/* 8026110C 0025E06C 38 80 FF FF */ li r4, -1 -/* 80261110 0025E070 48 00 02 29 */ bl sub_80261338 -/* 80261114 0025E074 34 1E 03 70 */ addic. r0, r30, 0x370 -/* 80261118 0025E078 41 82 00 24 */ beq lbl_8026113C -/* 8026111C 0025E07C 80 7E 03 70 */ lwz r3, 0x370(r30) -/* 80261120 0025E080 28 03 00 00 */ cmplwi r3, 0 -/* 80261124 0025E084 41 82 00 18 */ beq lbl_8026113C -/* 80261128 0025E088 81 83 00 00 */ lwz r12, 0(r3) -/* 8026112C 0025E08C 38 80 00 01 */ li r4, 1 -/* 80261130 0025E090 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261134 0025E094 7D 89 03 A6 */ mtctr r12 -/* 80261138 0025E098 4E 80 04 21 */ bctrl -lbl_8026113C: -/* 8026113C 0025E09C 34 1E 03 6C */ addic. r0, r30, 0x36c -/* 80261140 0025E0A0 41 82 00 24 */ beq lbl_80261164 -/* 80261144 0025E0A4 80 7E 03 6C */ lwz r3, 0x36c(r30) -/* 80261148 0025E0A8 28 03 00 00 */ cmplwi r3, 0 -/* 8026114C 0025E0AC 41 82 00 18 */ beq lbl_80261164 -/* 80261150 0025E0B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80261154 0025E0B4 38 80 00 01 */ li r4, 1 -/* 80261158 0025E0B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026115C 0025E0BC 7D 89 03 A6 */ mtctr r12 -/* 80261160 0025E0C0 4E 80 04 21 */ bctrl -lbl_80261164: -/* 80261164 0025E0C4 34 1E 03 68 */ addic. r0, r30, 0x368 -/* 80261168 0025E0C8 41 82 00 24 */ beq lbl_8026118C -/* 8026116C 0025E0CC 80 7E 03 68 */ lwz r3, 0x368(r30) -/* 80261170 0025E0D0 28 03 00 00 */ cmplwi r3, 0 -/* 80261174 0025E0D4 41 82 00 18 */ beq lbl_8026118C -/* 80261178 0025E0D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026117C 0025E0DC 38 80 00 01 */ li r4, 1 -/* 80261180 0025E0E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261184 0025E0E4 7D 89 03 A6 */ mtctr r12 -/* 80261188 0025E0E8 4E 80 04 21 */ bctrl -lbl_8026118C: -/* 8026118C 0025E0EC 34 1E 03 64 */ addic. r0, r30, 0x364 -/* 80261190 0025E0F0 41 82 00 24 */ beq lbl_802611B4 -/* 80261194 0025E0F4 80 7E 03 64 */ lwz r3, 0x364(r30) -/* 80261198 0025E0F8 28 03 00 00 */ cmplwi r3, 0 -/* 8026119C 0025E0FC 41 82 00 18 */ beq lbl_802611B4 -/* 802611A0 0025E100 81 83 00 00 */ lwz r12, 0(r3) -/* 802611A4 0025E104 38 80 00 01 */ li r4, 1 -/* 802611A8 0025E108 81 8C 00 08 */ lwz r12, 8(r12) -/* 802611AC 0025E10C 7D 89 03 A6 */ mtctr r12 -/* 802611B0 0025E110 4E 80 04 21 */ bctrl -lbl_802611B4: -/* 802611B4 0025E114 34 1E 03 60 */ addic. r0, r30, 0x360 -/* 802611B8 0025E118 41 82 00 24 */ beq lbl_802611DC -/* 802611BC 0025E11C 80 7E 03 60 */ lwz r3, 0x360(r30) -/* 802611C0 0025E120 28 03 00 00 */ cmplwi r3, 0 -/* 802611C4 0025E124 41 82 00 18 */ beq lbl_802611DC -/* 802611C8 0025E128 81 83 00 00 */ lwz r12, 0(r3) -/* 802611CC 0025E12C 38 80 00 01 */ li r4, 1 -/* 802611D0 0025E130 81 8C 00 08 */ lwz r12, 8(r12) -/* 802611D4 0025E134 7D 89 03 A6 */ mtctr r12 -/* 802611D8 0025E138 4E 80 04 21 */ bctrl -lbl_802611DC: -/* 802611DC 0025E13C 34 1E 03 5C */ addic. r0, r30, 0x35c -/* 802611E0 0025E140 41 82 00 24 */ beq lbl_80261204 -/* 802611E4 0025E144 80 7E 03 5C */ lwz r3, 0x35c(r30) -/* 802611E8 0025E148 28 03 00 00 */ cmplwi r3, 0 -/* 802611EC 0025E14C 41 82 00 18 */ beq lbl_80261204 -/* 802611F0 0025E150 81 83 00 00 */ lwz r12, 0(r3) -/* 802611F4 0025E154 38 80 00 01 */ li r4, 1 -/* 802611F8 0025E158 81 8C 00 08 */ lwz r12, 8(r12) -/* 802611FC 0025E15C 7D 89 03 A6 */ mtctr r12 -/* 80261200 0025E160 4E 80 04 21 */ bctrl -lbl_80261204: -/* 80261204 0025E164 34 1E 03 58 */ addic. r0, r30, 0x358 -/* 80261208 0025E168 41 82 00 24 */ beq lbl_8026122C -/* 8026120C 0025E16C 80 7E 03 58 */ lwz r3, 0x358(r30) -/* 80261210 0025E170 28 03 00 00 */ cmplwi r3, 0 -/* 80261214 0025E174 41 82 00 18 */ beq lbl_8026122C -/* 80261218 0025E178 81 83 00 00 */ lwz r12, 0(r3) -/* 8026121C 0025E17C 38 80 00 01 */ li r4, 1 -/* 80261220 0025E180 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261224 0025E184 7D 89 03 A6 */ mtctr r12 -/* 80261228 0025E188 4E 80 04 21 */ bctrl -lbl_8026122C: -/* 8026122C 0025E18C 34 1E 03 4C */ addic. r0, r30, 0x34c -/* 80261230 0025E190 41 82 00 18 */ beq lbl_80261248 -/* 80261234 0025E194 34 1E 03 4C */ addic. r0, r30, 0x34c -/* 80261238 0025E198 41 82 00 10 */ beq lbl_80261248 -/* 8026123C 0025E19C 38 7E 03 4C */ addi r3, r30, 0x34c -/* 80261240 0025E1A0 38 80 00 00 */ li r4, 0 -/* 80261244 0025E1A4 48 0D FB FD */ bl __dt__6CTokenFv -lbl_80261248: -/* 80261248 0025E1A8 34 1E 03 40 */ addic. r0, r30, 0x340 -/* 8026124C 0025E1AC 41 82 00 18 */ beq lbl_80261264 -/* 80261250 0025E1B0 34 1E 03 40 */ addic. r0, r30, 0x340 -/* 80261254 0025E1B4 41 82 00 10 */ beq lbl_80261264 -/* 80261258 0025E1B8 38 7E 03 40 */ addi r3, r30, 0x340 -/* 8026125C 0025E1BC 38 80 00 00 */ li r4, 0 -/* 80261260 0025E1C0 48 0D FB E1 */ bl __dt__6CTokenFv -lbl_80261264: -/* 80261264 0025E1C4 34 1E 03 34 */ addic. r0, r30, 0x334 -/* 80261268 0025E1C8 41 82 00 18 */ beq lbl_80261280 -/* 8026126C 0025E1CC 34 1E 03 34 */ addic. r0, r30, 0x334 -/* 80261270 0025E1D0 41 82 00 10 */ beq lbl_80261280 -/* 80261274 0025E1D4 38 7E 03 34 */ addi r3, r30, 0x334 -/* 80261278 0025E1D8 38 80 00 00 */ li r4, 0 -/* 8026127C 0025E1DC 48 0D FB C5 */ bl __dt__6CTokenFv -lbl_80261280: -/* 80261280 0025E1E0 34 1E 03 28 */ addic. r0, r30, 0x328 -/* 80261284 0025E1E4 41 82 00 18 */ beq lbl_8026129C -/* 80261288 0025E1E8 34 1E 03 28 */ addic. r0, r30, 0x328 -/* 8026128C 0025E1EC 41 82 00 10 */ beq lbl_8026129C -/* 80261290 0025E1F0 38 7E 03 28 */ addi r3, r30, 0x328 -/* 80261294 0025E1F4 38 80 00 00 */ li r4, 0 -/* 80261298 0025E1F8 48 0D FB A9 */ bl __dt__6CTokenFv -lbl_8026129C: -/* 8026129C 0025E1FC 34 1E 03 1C */ addic. r0, r30, 0x31c -/* 802612A0 0025E200 41 82 00 18 */ beq lbl_802612B8 -/* 802612A4 0025E204 34 1E 03 1C */ addic. r0, r30, 0x31c -/* 802612A8 0025E208 41 82 00 10 */ beq lbl_802612B8 -/* 802612AC 0025E20C 38 7E 03 1C */ addi r3, r30, 0x31c -/* 802612B0 0025E210 38 80 00 00 */ li r4, 0 -/* 802612B4 0025E214 48 0D FB 8D */ bl __dt__6CTokenFv -lbl_802612B8: -/* 802612B8 0025E218 34 1E 03 10 */ addic. r0, r30, 0x310 -/* 802612BC 0025E21C 41 82 00 18 */ beq lbl_802612D4 -/* 802612C0 0025E220 34 1E 03 10 */ addic. r0, r30, 0x310 -/* 802612C4 0025E224 41 82 00 10 */ beq lbl_802612D4 -/* 802612C8 0025E228 38 7E 03 10 */ addi r3, r30, 0x310 -/* 802612CC 0025E22C 38 80 00 00 */ li r4, 0 -/* 802612D0 0025E230 48 0D FB 71 */ bl __dt__6CTokenFv -lbl_802612D4: -/* 802612D4 0025E234 34 1E 03 04 */ addic. r0, r30, 0x304 -/* 802612D8 0025E238 41 82 00 18 */ beq lbl_802612F0 -/* 802612DC 0025E23C 34 1E 03 04 */ addic. r0, r30, 0x304 -/* 802612E0 0025E240 41 82 00 10 */ beq lbl_802612F0 -/* 802612E4 0025E244 38 7E 03 04 */ addi r3, r30, 0x304 -/* 802612E8 0025E248 38 80 00 00 */ li r4, 0 -/* 802612EC 0025E24C 48 0D FB 55 */ bl __dt__6CTokenFv -lbl_802612F0: -/* 802612F0 0025E250 34 1E 02 F4 */ addic. r0, r30, 0x2f4 -/* 802612F4 0025E254 41 82 00 0C */ beq lbl_80261300 -/* 802612F8 0025E258 38 00 00 00 */ li r0, 0 -/* 802612FC 0025E25C 98 1E 03 00 */ stb r0, 0x300(r30) -lbl_80261300: -/* 80261300 0025E260 7F C3 F3 78 */ mr r3, r30 -/* 80261304 0025E264 38 80 00 00 */ li r4, 0 -/* 80261308 0025E268 4B DD 60 F9 */ bl __dt__15CGameProjectileFv -/* 8026130C 0025E26C 7F E0 07 35 */ extsh. r0, r31 -/* 80261310 0025E270 40 81 00 0C */ ble lbl_8026131C -/* 80261314 0025E274 7F C3 F3 78 */ mr r3, r30 -/* 80261318 0025E278 48 0B 46 19 */ bl Free__7CMemoryFPCv -lbl_8026131C: -/* 8026131C 0025E27C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261320 0025E280 7F C3 F3 78 */ mr r3, r30 -/* 80261324 0025E284 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261328 0025E288 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026132C 0025E28C 7C 08 03 A6 */ mtlr r0 -/* 80261330 0025E290 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261334 0025E294 4E 80 00 20 */ blr - -.global sub_80261338 -sub_80261338: -/* 80261338 0025E298 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026133C 0025E29C 7C 08 02 A6 */ mflr r0 -/* 80261340 0025E2A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261344 0025E2A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261348 0025E2A8 7C 9F 23 78 */ mr r31, r4 -/* 8026134C 0025E2AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80261350 0025E2B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80261354 0025E2B4 41 82 00 18 */ beq lbl_8026136C -/* 80261358 0025E2B8 48 00 00 31 */ bl sub_80261388 -/* 8026135C 0025E2BC 7F E0 07 35 */ extsh. r0, r31 -/* 80261360 0025E2C0 40 81 00 0C */ ble lbl_8026136C -/* 80261364 0025E2C4 7F C3 F3 78 */ mr r3, r30 -/* 80261368 0025E2C8 48 0B 45 C9 */ bl Free__7CMemoryFPCv -lbl_8026136C: -/* 8026136C 0025E2CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261370 0025E2D0 7F C3 F3 78 */ mr r3, r30 -/* 80261374 0025E2D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261378 0025E2D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026137C 0025E2DC 7C 08 03 A6 */ mtlr r0 -/* 80261380 0025E2E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261384 0025E2E4 4E 80 00 20 */ blr - -.global sub_80261388 -sub_80261388: -/* 80261388 0025E2E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026138C 0025E2EC 7C 08 02 A6 */ mflr r0 -/* 80261390 0025E2F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80261394 0025E2F4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80261398 0025E2F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8026139C 0025E2FC 3B C0 00 00 */ li r30, 0 -/* 802613A0 0025E300 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802613A4 0025E304 7C 7D 1B 78 */ mr r29, r3 -/* 802613A8 0025E308 3B FD 00 04 */ addi r31, r29, 4 -/* 802613AC 0025E30C 48 00 00 54 */ b lbl_80261400 -lbl_802613B0: -/* 802613B0 0025E310 28 1F 00 00 */ cmplwi r31, 0 -/* 802613B4 0025E314 41 82 00 44 */ beq lbl_802613F8 -/* 802613B8 0025E318 80 1F 00 04 */ lwz r0, 4(r31) -/* 802613BC 0025E31C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802613C0 0025E320 54 00 18 38 */ slwi r0, r0, 3 -/* 802613C4 0025E324 7C 03 02 14 */ add r0, r3, r0 -/* 802613C8 0025E328 90 61 00 0C */ stw r3, 0xc(r1) -/* 802613CC 0025E32C 7C 64 1B 78 */ mr r4, r3 -/* 802613D0 0025E330 90 01 00 14 */ stw r0, 0x14(r1) -/* 802613D4 0025E334 90 01 00 10 */ stw r0, 0x10(r1) -/* 802613D8 0025E338 90 61 00 08 */ stw r3, 8(r1) -/* 802613DC 0025E33C 48 00 00 08 */ b lbl_802613E4 -lbl_802613E0: -/* 802613E0 0025E340 38 84 00 08 */ addi r4, r4, 8 -lbl_802613E4: -/* 802613E4 0025E344 7C 04 00 40 */ cmplw r4, r0 -/* 802613E8 0025E348 40 82 FF F8 */ bne lbl_802613E0 -/* 802613EC 0025E34C 28 03 00 00 */ cmplwi r3, 0 -/* 802613F0 0025E350 41 82 00 08 */ beq lbl_802613F8 -/* 802613F4 0025E354 48 0B 45 3D */ bl Free__7CMemoryFPCv -lbl_802613F8: -/* 802613F8 0025E358 3B FF 00 10 */ addi r31, r31, 0x10 -/* 802613FC 0025E35C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80261400: -/* 80261400 0025E360 80 1D 00 00 */ lwz r0, 0(r29) -/* 80261404 0025E364 7C 1E 00 00 */ cmpw r30, r0 -/* 80261408 0025E368 41 80 FF A8 */ blt lbl_802613B0 -/* 8026140C 0025E36C 38 00 00 00 */ li r0, 0 -/* 80261410 0025E370 90 1D 00 00 */ stw r0, 0(r29) -/* 80261414 0025E374 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80261418 0025E378 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026141C 0025E37C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80261420 0025E380 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80261424 0025E384 7C 08 03 A6 */ mtlr r0 -/* 80261428 0025E388 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026142C 0025E38C 4E 80 00 20 */ blr - -.global sub_80261430 -sub_80261430: -/* 80261430 0025E390 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80261434 0025E394 7C 08 02 A6 */ mflr r0 -/* 80261438 0025E398 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8026143C 0025E39C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80261440 0025E3A0 7C BF 2B 78 */ mr r31, r5 -/* 80261444 0025E3A4 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80261448 0025E3A8 7C 9E 23 78 */ mr r30, r4 -/* 8026144C 0025E3AC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80261450 0025E3B0 7C 7D 1B 78 */ mr r29, r3 -/* 80261454 0025E3B4 7F C3 F3 78 */ mr r3, r30 -/* 80261458 0025E3B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026145C 0025E3BC 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80261460 0025E3C0 7D 89 03 A6 */ mtctr r12 -/* 80261464 0025E3C4 4E 80 04 21 */ bctrl -/* 80261468 0025E3C8 38 9D 01 2C */ addi r4, r29, 0x12c -/* 8026146C 0025E3CC 38 A0 00 00 */ li r5, 0 -/* 80261470 0025E3D0 4B EA 10 4D */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80261474 0025E3D4 2C 03 00 04 */ cmpwi r3, 4 -/* 80261478 0025E3D8 40 82 00 0C */ bne lbl_80261484 -/* 8026147C 0025E3DC 38 60 00 00 */ li r3, 0 -/* 80261480 0025E3E0 48 00 00 D8 */ b lbl_80261558 -lbl_80261484: -/* 80261484 0025E3E4 7F C4 F3 78 */ mr r4, r30 -/* 80261488 0025E3E8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8026148C 0025E3EC 4B E4 5A C9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" -/* 80261490 0025E3F0 80 03 00 04 */ lwz r0, 4(r3) -/* 80261494 0025E3F4 28 00 00 00 */ cmplwi r0, 0 -/* 80261498 0025E3F8 41 82 00 3C */ beq lbl_802614D4 -/* 8026149C 0025E3FC 7F A4 EB 78 */ mr r4, r29 -/* 802614A0 0025E400 7F C5 F3 78 */ mr r5, r30 -/* 802614A4 0025E404 7F E6 FB 78 */ mr r6, r31 -/* 802614A8 0025E408 38 61 00 5C */ addi r3, r1, 0x5c -/* 802614AC 0025E40C 4B DD 8B 75 */ bl CanCollideWithTrigger__15CGameProjectileFR6CActorR13CStateManager -/* 802614B0 0025E410 A0 A1 00 5C */ lhz r5, 0x5c(r1) -/* 802614B4 0025E414 38 00 00 00 */ li r0, 0 -/* 802614B8 0025E418 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 802614BC 0025E41C 98 01 00 90 */ stb r0, 0x90(r1) -/* 802614C0 0025E420 7C 65 20 50 */ subf r3, r5, r4 -/* 802614C4 0025E424 7C 04 28 50 */ subf r0, r4, r5 -/* 802614C8 0025E428 7C 60 03 78 */ or r0, r3, r0 -/* 802614CC 0025E42C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802614D0 0025E430 48 00 00 88 */ b lbl_80261558 -lbl_802614D4: -/* 802614D4 0025E434 7F C4 F3 78 */ mr r4, r30 -/* 802614D8 0025E438 38 61 00 14 */ addi r3, r1, 0x14 -/* 802614DC 0025E43C 4B E4 79 A5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FR7CEntity" -/* 802614E0 0025E440 80 03 00 04 */ lwz r0, 4(r3) -/* 802614E4 0025E444 28 00 00 00 */ cmplwi r0, 0 -/* 802614E8 0025E448 40 82 00 34 */ bne lbl_8026151C -/* 802614EC 0025E44C 7F C4 F3 78 */ mr r4, r30 -/* 802614F0 0025E450 38 61 00 0C */ addi r3, r1, 0xc -/* 802614F4 0025E454 4B E4 DE C5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FR7CEntity" -/* 802614F8 0025E458 80 03 00 04 */ lwz r0, 4(r3) -/* 802614FC 0025E45C 28 00 00 00 */ cmplwi r0, 0 -/* 80261500 0025E460 40 82 00 1C */ bne lbl_8026151C -/* 80261504 0025E464 7F C4 F3 78 */ mr r4, r30 -/* 80261508 0025E468 38 61 00 08 */ addi r3, r1, 8 -/* 8026150C 0025E46C 4B E4 3E F9 */ bl sub_800a5404 -/* 80261510 0025E470 4B E4 3E C9 */ bl "CastTo<11CPuddleToad>__10CPatternedFP7CEntity" -/* 80261514 0025E474 28 03 00 00 */ cmplwi r3, 0 -/* 80261518 0025E478 41 82 00 0C */ beq lbl_80261524 -lbl_8026151C: -/* 8026151C 0025E47C 38 60 00 01 */ li r3, 1 -/* 80261520 0025E480 48 00 00 38 */ b lbl_80261558 -lbl_80261524: -/* 80261524 0025E484 7F A4 EB 78 */ mr r4, r29 -/* 80261528 0025E488 7F C5 F3 78 */ mr r5, r30 -/* 8026152C 0025E48C 7F E6 FB 78 */ mr r6, r31 -/* 80261530 0025E490 38 61 00 24 */ addi r3, r1, 0x24 -/* 80261534 0025E494 4B DD 85 69 */ bl CanCollideWithGameObject__15CGameProjectileFR6CActorR13CStateManager -/* 80261538 0025E498 A0 A1 00 24 */ lhz r5, 0x24(r1) -/* 8026153C 0025E49C 38 00 00 00 */ li r0, 0 -/* 80261540 0025E4A0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80261544 0025E4A4 98 01 00 58 */ stb r0, 0x58(r1) -/* 80261548 0025E4A8 7C 65 20 50 */ subf r3, r5, r4 -/* 8026154C 0025E4AC 7C 04 28 50 */ subf r0, r4, r5 -/* 80261550 0025E4B0 7C 60 03 78 */ or r0, r3, r0 -/* 80261554 0025E4B4 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_80261558: -/* 80261558 0025E4B8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8026155C 0025E4BC 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80261560 0025E4C0 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80261564 0025E4C4 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80261568 0025E4C8 7C 08 03 A6 */ mtlr r0 -/* 8026156C 0025E4CC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80261570 0025E4D0 4E 80 00 20 */ blr - -.global SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff -SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff: -/* 80261574 0025E4D4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80261578 0025E4D8 7C 08 02 A6 */ mflr r0 -/* 8026157C 0025E4DC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80261580 0025E4E0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80261584 0025E4E4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80261588 0025E4E8 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8026158C 0025E4EC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80261590 0025E4F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80261594 0025E4F4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80261598 0025E4F8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026159C 0025E4FC 88 03 03 7C */ lbz r0, 0x37c(r3) -/* 802615A0 0025E500 FF C0 08 90 */ fmr f30, f1 -/* 802615A4 0025E504 FF E0 10 90 */ fmr f31, f2 -/* 802615A8 0025E508 7C 7E 1B 78 */ mr r30, r3 -/* 802615AC 0025E50C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802615B0 0025E510 7C 9F 23 78 */ mr r31, r4 -/* 802615B4 0025E514 7C BD 2B 78 */ mr r29, r5 -/* 802615B8 0025E518 41 82 00 54 */ beq lbl_8026160C -/* 802615BC 0025E51C 80 7E 03 78 */ lwz r3, 0x378(r30) -/* 802615C0 0025E520 80 1D 00 00 */ lwz r0, 0(r29) -/* 802615C4 0025E524 7C 03 00 00 */ cmpw r3, r0 -/* 802615C8 0025E528 41 82 00 44 */ beq lbl_8026160C -/* 802615CC 0025E52C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 802615D0 0025E530 7C 03 00 00 */ cmpw r3, r0 -/* 802615D4 0025E534 41 82 00 38 */ beq lbl_8026160C -/* 802615D8 0025E538 80 1E 03 78 */ lwz r0, 0x378(r30) -/* 802615DC 0025E53C 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 802615E0 0025E540 54 03 18 38 */ slwi r3, r0, 3 -/* 802615E4 0025E544 90 01 00 0C */ stw r0, 0xc(r1) -/* 802615E8 0025E548 80 84 00 20 */ lwz r4, 0x20(r4) -/* 802615EC 0025E54C 38 03 00 04 */ addi r0, r3, 4 -/* 802615F0 0025E550 7C 64 00 2E */ lwzx r3, r4, r0 -/* 802615F4 0025E554 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 802615F8 0025E558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802615FC 0025E55C 41 82 00 10 */ beq lbl_8026160C -/* 80261600 0025E560 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) -/* 80261604 0025E564 FC 40 08 90 */ fmr f2, f1 -/* 80261608 0025E568 4B DF CB CD */ bl SetWeaponWorldLighting__9CGameAreaFff -lbl_8026160C: -/* 8026160C 0025E56C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) -/* 80261610 0025E570 80 1D 00 00 */ lwz r0, 0(r29) -/* 80261614 0025E574 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80261618 0025E578 90 1E 03 78 */ stw r0, 0x378(r30) -/* 8026161C 0025E57C 7C 60 00 26 */ mfcr r3 -/* 80261620 0025E580 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80261624 0025E584 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f -/* 80261628 0025E588 68 63 00 01 */ xori r3, r3, 1 -/* 8026162C 0025E58C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80261630 0025E590 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80261634 0025E594 80 7E 03 78 */ lwz r3, 0x378(r30) -/* 80261638 0025E598 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8026163C 0025E59C 7C 03 00 00 */ cmpw r3, r0 -/* 80261640 0025E5A0 41 82 00 38 */ beq lbl_80261678 -/* 80261644 0025E5A4 80 1E 03 78 */ lwz r0, 0x378(r30) -/* 80261648 0025E5A8 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 8026164C 0025E5AC 54 03 18 38 */ slwi r3, r0, 3 -/* 80261650 0025E5B0 90 01 00 08 */ stw r0, 8(r1) -/* 80261654 0025E5B4 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80261658 0025E5B8 38 03 00 04 */ addi r0, r3, 4 -/* 8026165C 0025E5BC 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80261660 0025E5C0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80261664 0025E5C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80261668 0025E5C8 41 82 00 10 */ beq lbl_80261678 -/* 8026166C 0025E5CC FC 20 F0 90 */ fmr f1, f30 -/* 80261670 0025E5D0 FC 40 F8 90 */ fmr f2, f31 -/* 80261674 0025E5D4 4B DF CB 61 */ bl SetWeaponWorldLighting__9CGameAreaFff -lbl_80261678: -/* 80261678 0025E5D8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8026167C 0025E5DC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80261680 0025E5E0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80261684 0025E5E4 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80261688 0025E5E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026168C 0025E5EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80261690 0025E5F0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80261694 0025E5F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80261698 0025E5F8 7C 08 03 A6 */ mtlr r0 -/* 8026169C 0025E5FC 38 21 00 40 */ addi r1, r1, 0x40 -/* 802616A0 0025E600 4E 80 00 20 */ blr - -.global sub_802616a4 -sub_802616a4: -/* 802616A4 0025E604 38 00 00 03 */ li r0, 3 -/* 802616A8 0025E608 39 03 03 84 */ addi r8, r3, 0x384 -/* 802616AC 0025E60C 7C 09 03 A6 */ mtctr r0 -lbl_802616B0: -/* 802616B0 0025E610 80 68 00 04 */ lwz r3, 4(r8) -/* 802616B4 0025E614 39 20 00 00 */ li r9, 0 -/* 802616B8 0025E618 38 C0 00 00 */ li r6, 0 -/* 802616BC 0025E61C 38 03 FF FF */ addi r0, r3, -1 -/* 802616C0 0025E620 54 07 18 38 */ slwi r7, r0, 3 -/* 802616C4 0025E624 48 00 00 58 */ b lbl_8026171C -lbl_802616C8: -/* 802616C8 0025E628 80 A8 00 0C */ lwz r5, 0xc(r8) -/* 802616CC 0025E62C 38 86 00 04 */ addi r4, r6, 4 -/* 802616D0 0025E630 7C 65 20 2E */ lwzx r3, r5, r4 -/* 802616D4 0025E634 38 03 FF FF */ addi r0, r3, -1 -/* 802616D8 0025E638 7C 05 21 2E */ stwx r0, r5, r4 -/* 802616DC 0025E63C 80 68 00 0C */ lwz r3, 0xc(r8) -/* 802616E0 0025E640 7C 83 32 14 */ add r4, r3, r6 -/* 802616E4 0025E644 80 04 00 04 */ lwz r0, 4(r4) -/* 802616E8 0025E648 2C 00 00 00 */ cmpwi r0, 0 -/* 802616EC 0025E64C 40 82 00 28 */ bne lbl_80261714 -/* 802616F0 0025E650 7C 63 3A 14 */ add r3, r3, r7 -/* 802616F4 0025E654 38 E7 FF F8 */ addi r7, r7, -8 -/* 802616F8 0025E658 C0 03 00 00 */ lfs f0, 0(r3) -/* 802616FC 0025E65C D0 04 00 00 */ stfs f0, 0(r4) -/* 80261700 0025E660 80 03 00 04 */ lwz r0, 4(r3) -/* 80261704 0025E664 90 04 00 04 */ stw r0, 4(r4) -/* 80261708 0025E668 80 68 00 04 */ lwz r3, 4(r8) -/* 8026170C 0025E66C 38 03 FF FF */ addi r0, r3, -1 -/* 80261710 0025E670 90 08 00 04 */ stw r0, 4(r8) -lbl_80261714: -/* 80261714 0025E674 38 C6 00 08 */ addi r6, r6, 8 -/* 80261718 0025E678 39 29 00 01 */ addi r9, r9, 1 -lbl_8026171C: -/* 8026171C 0025E67C 80 08 00 04 */ lwz r0, 4(r8) -/* 80261720 0025E680 7C 09 00 00 */ cmpw r9, r0 -/* 80261724 0025E684 41 80 FF A4 */ blt lbl_802616C8 -/* 80261728 0025E688 39 08 00 10 */ addi r8, r8, 0x10 -/* 8026172C 0025E68C 42 00 FF 84 */ bdnz lbl_802616B0 - -.global sub_80261730 -sub_80261730: -/* 80261730 0025E690 4E 80 00 20 */ blr - -.global sub_80261734 -sub_80261734: -/* 80261734 0025E694 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80261738 0025E698 7C 08 02 A6 */ mflr r0 -/* 8026173C 0025E69C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80261740 0025E6A0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80261744 0025E6A4 7C 7F 1B 78 */ mr r31, r3 -/* 80261748 0025E6A8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8026174C 0025E6AC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80261750 0025E6B0 93 81 00 60 */ stw r28, 0x60(r1) -/* 80261754 0025E6B4 7C 9C 23 78 */ mr r28, r4 -/* 80261758 0025E6B8 88 03 03 7C */ lbz r0, 0x37c(r3) -/* 8026175C 0025E6BC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80261760 0025E6C0 41 82 00 4C */ beq lbl_802617AC -/* 80261764 0025E6C4 3B C0 00 00 */ li r30, 0 -/* 80261768 0025E6C8 3B BF 03 84 */ addi r29, r31, 0x384 -lbl_8026176C: -/* 8026176C 0025E6CC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80261770 0025E6D0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80261774 0025E6D4 80 BD 00 0C */ lwz r5, 0xc(r29) -/* 80261778 0025E6D8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8026177C 0025E6DC 54 00 18 38 */ slwi r0, r0, 3 -/* 80261780 0025E6E0 7C A5 02 14 */ add r5, r5, r0 -/* 80261784 0025E6E4 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80261788 0025E6E8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8026178C 0025E6EC 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80261790 0025E6F0 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80261794 0025E6F4 90 01 00 40 */ stw r0, 0x40(r1) -/* 80261798 0025E6F8 48 00 32 51 */ bl sub_802649e8 -/* 8026179C 0025E6FC 3B DE 00 01 */ addi r30, r30, 1 -/* 802617A0 0025E700 3B BD 00 10 */ addi r29, r29, 0x10 -/* 802617A4 0025E704 2C 1E 00 03 */ cmpwi r30, 3 -/* 802617A8 0025E708 41 80 FF C4 */ blt lbl_8026176C -lbl_802617AC: -/* 802617AC 0025E70C 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha -/* 802617B0 0025E710 7F 9E E3 78 */ mr r30, r28 -/* 802617B4 0025E714 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l -/* 802617B8 0025E718 3B FF 03 84 */ addi r31, r31, 0x384 -/* 802617BC 0025E71C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802617C0 0025E720 3B A0 00 00 */ li r29, 0 -lbl_802617C4: -/* 802617C4 0025E724 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802617C8 0025E728 38 00 00 00 */ li r0, 0 -/* 802617CC 0025E72C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 802617D0 0025E730 38 61 00 18 */ addi r3, r1, 0x18 -/* 802617D4 0025E734 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802617D8 0025E738 38 81 00 14 */ addi r4, r1, 0x14 -/* 802617DC 0025E73C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802617E0 0025E740 38 A1 00 0C */ addi r5, r1, 0xc -/* 802617E4 0025E744 38 C1 00 48 */ addi r6, r1, 0x48 -/* 802617E8 0025E748 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802617EC 0025E74C 80 1F 00 04 */ lwz r0, 4(r31) -/* 802617F0 0025E750 80 FF 00 0C */ lwz r7, 0xc(r31) -/* 802617F4 0025E754 54 00 18 38 */ slwi r0, r0, 3 -/* 802617F8 0025E758 7C E7 02 14 */ add r7, r7, r0 -/* 802617FC 0025E75C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80261800 0025E760 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80261804 0025E764 90 E1 00 08 */ stw r7, 8(r1) -/* 80261808 0025E768 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026180C 0025E76C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261810 0025E770 48 00 33 61 */ bl sub_80264b70 -/* 80261814 0025E774 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80261818 0025E778 38 00 00 00 */ li r0, 0 -/* 8026181C 0025E77C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80261820 0025E780 38 61 00 2C */ addi r3, r1, 0x2c -/* 80261824 0025E784 90 01 00 54 */ stw r0, 0x54(r1) -/* 80261828 0025E788 38 81 00 28 */ addi r4, r1, 0x28 -/* 8026182C 0025E78C EC 01 00 2A */ fadds f0, f1, f0 -/* 80261830 0025E790 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80261834 0025E794 38 C1 00 50 */ addi r6, r1, 0x50 -/* 80261838 0025E798 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8026183C 0025E79C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80261840 0025E7A0 80 FF 00 0C */ lwz r7, 0xc(r31) -/* 80261844 0025E7A4 54 00 18 38 */ slwi r0, r0, 3 -/* 80261848 0025E7A8 7C E7 02 14 */ add r7, r7, r0 -/* 8026184C 0025E7AC 90 E1 00 20 */ stw r7, 0x20(r1) -/* 80261850 0025E7B0 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80261854 0025E7B4 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 80261858 0025E7B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026185C 0025E7BC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80261860 0025E7C0 48 00 33 D1 */ bl sub_80264c30 -/* 80261864 0025E7C4 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80261868 0025E7C8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8026186C 0025E7CC 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80261870 0025E7D0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80261874 0025E7D4 7C 85 20 50 */ subf r4, r5, r4 -/* 80261878 0025E7D8 7C 84 1E 70 */ srawi r4, r4, 3 -/* 8026187C 0025E7DC 7C 84 01 94 */ addze r4, r4 -/* 80261880 0025E7E0 7C 04 00 00 */ cmpw r4, r0 -/* 80261884 0025E7E4 90 81 00 30 */ stw r4, 0x30(r1) -/* 80261888 0025E7E8 40 80 00 08 */ bge lbl_80261890 -/* 8026188C 0025E7EC 38 61 00 30 */ addi r3, r1, 0x30 -lbl_80261890: -/* 80261890 0025E7F0 80 63 00 00 */ lwz r3, 0(r3) -/* 80261894 0025E7F4 2C 03 00 00 */ cmpwi r3, 0 -/* 80261898 0025E7F8 90 61 00 44 */ stw r3, 0x44(r1) -/* 8026189C 0025E7FC 40 82 00 08 */ bne lbl_802618A4 -/* 802618A0 0025E800 48 00 00 18 */ b lbl_802618B8 -lbl_802618A4: -/* 802618A4 0025E804 3B BD 00 01 */ addi r29, r29, 1 -/* 802618A8 0025E808 3B DE 00 04 */ addi r30, r30, 4 -/* 802618AC 0025E80C 2C 1D 00 03 */ cmpwi r29, 3 -/* 802618B0 0025E810 3B FF 00 10 */ addi r31, r31, 0x10 -/* 802618B4 0025E814 41 80 FF 10 */ blt lbl_802617C4 -lbl_802618B8: -/* 802618B8 0025E818 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802618BC 0025E81C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802618C0 0025E820 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802618C4 0025E824 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 802618C8 0025E828 83 81 00 60 */ lwz r28, 0x60(r1) -/* 802618CC 0025E82C 7C 08 03 A6 */ mtlr r0 -/* 802618D0 0025E830 38 21 00 70 */ addi r1, r1, 0x70 -/* 802618D4 0025E834 4E 80 00 20 */ blr - -.global sub_802618d8 -sub_802618d8: -/* 802618D8 0025E838 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802618DC 0025E83C 7C 08 02 A6 */ mflr r0 -/* 802618E0 0025E840 90 01 00 34 */ stw r0, 0x34(r1) -/* 802618E4 0025E844 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802618E8 0025E848 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802618EC 0025E84C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802618F0 0025E850 7C 7F 1B 78 */ mr r31, r3 -/* 802618F4 0025E854 7C BB 2B 78 */ mr r27, r5 -/* 802618F8 0025E858 3B 80 00 00 */ li r28, 0 -/* 802618FC 0025E85C 7C 9D 23 78 */ mr r29, r4 -/* 80261900 0025E860 3B DF 03 84 */ addi r30, r31, 0x384 -lbl_80261904: -/* 80261904 0025E864 80 1E 00 04 */ lwz r0, 4(r30) -/* 80261908 0025E868 80 BE 00 08 */ lwz r5, 8(r30) -/* 8026190C 0025E86C 7C 00 28 00 */ cmpw r0, r5 -/* 80261910 0025E870 40 82 00 1C */ bne lbl_8026192C -/* 80261914 0025E874 2C 05 00 00 */ cmpwi r5, 0 -/* 80261918 0025E878 7F C3 F3 78 */ mr r3, r30 -/* 8026191C 0025E87C 38 80 00 0A */ li r4, 0xa -/* 80261920 0025E880 40 81 00 08 */ ble lbl_80261928 -/* 80261924 0025E884 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80261928: -/* 80261928 0025E888 48 00 33 C9 */ bl sub_80264cf0 -lbl_8026192C: -/* 8026192C 0025E88C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80261930 0025E890 80 BE 00 08 */ lwz r5, 8(r30) -/* 80261934 0025E894 C3 FD 00 00 */ lfs f31, 0(r29) -/* 80261938 0025E898 7C 00 28 00 */ cmpw r0, r5 -/* 8026193C 0025E89C 41 80 00 1C */ blt lbl_80261958 -/* 80261940 0025E8A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80261944 0025E8A4 7F C3 F3 78 */ mr r3, r30 -/* 80261948 0025E8A8 38 80 00 04 */ li r4, 4 -/* 8026194C 0025E8AC 41 82 00 08 */ beq lbl_80261954 -/* 80261950 0025E8B0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80261954: -/* 80261954 0025E8B4 48 00 33 9D */ bl sub_80264cf0 -lbl_80261958: -/* 80261958 0025E8B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026195C 0025E8BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80261960 0025E8C0 54 00 18 38 */ slwi r0, r0, 3 -/* 80261964 0025E8C4 7C 63 02 15 */ add. r3, r3, r0 -/* 80261968 0025E8C8 41 82 00 0C */ beq lbl_80261974 -/* 8026196C 0025E8CC D3 E3 00 00 */ stfs f31, 0(r3) -/* 80261970 0025E8D0 93 63 00 04 */ stw r27, 4(r3) -lbl_80261974: -/* 80261974 0025E8D4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80261978 0025E8D8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8026197C 0025E8DC 2C 1C 00 03 */ cmpwi r28, 3 -/* 80261980 0025E8E0 3B BD 00 04 */ addi r29, r29, 4 -/* 80261984 0025E8E4 38 03 00 01 */ addi r0, r3, 1 -/* 80261988 0025E8E8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026198C 0025E8EC 3B DE 00 10 */ addi r30, r30, 0x10 -/* 80261990 0025E8F0 41 80 FF 74 */ blt lbl_80261904 -/* 80261994 0025E8F4 88 1F 03 7C */ lbz r0, 0x37c(r31) -/* 80261998 0025E8F8 38 60 00 01 */ li r3, 1 -/* 8026199C 0025E8FC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 802619A0 0025E900 98 1F 03 7C */ stb r0, 0x37c(r31) -/* 802619A4 0025E904 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802619A8 0025E908 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802619AC 0025E90C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802619B0 0025E910 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802619B4 0025E914 7C 08 03 A6 */ mtlr r0 -/* 802619B8 0025E918 38 21 00 30 */ addi r1, r1, 0x30 -/* 802619BC 0025E91C 4E 80 00 20 */ blr - -.global sub_802619c0 -sub_802619c0: -/* 802619C0 0025E920 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802619C4 0025E924 7C 08 02 A6 */ mflr r0 -/* 802619C8 0025E928 90 01 00 34 */ stw r0, 0x34(r1) -/* 802619CC 0025E92C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802619D0 0025E930 7C 7B 1B 78 */ mr r27, r3 -/* 802619D4 0025E934 7C 9C 23 78 */ mr r28, r4 -/* 802619D8 0025E938 54 BE 06 3E */ clrlwi r30, r5, 0x18 -/* 802619DC 0025E93C 3B FB 03 BC */ addi r31, r27, 0x3bc -/* 802619E0 0025E940 3B A0 00 00 */ li r29, 0 -/* 802619E4 0025E944 48 00 00 4C */ b lbl_80261A30 -lbl_802619E8: -/* 802619E8 0025E948 A0 1F 00 00 */ lhz r0, 0(r31) -/* 802619EC 0025E94C 7F 83 E3 78 */ mr r3, r28 -/* 802619F0 0025E950 38 81 00 08 */ addi r4, r1, 8 -/* 802619F4 0025E954 B0 01 00 08 */ sth r0, 8(r1) -/* 802619F8 0025E958 4B DE AB 7D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802619FC 0025E95C 7C 64 1B 78 */ mr r4, r3 -/* 80261A00 0025E960 38 61 00 0C */ addi r3, r1, 0xc -/* 80261A04 0025E964 4B E4 C0 81 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 80261A08 0025E968 80 63 00 04 */ lwz r3, 4(r3) -/* 80261A0C 0025E96C 28 03 00 00 */ cmplwi r3, 0 -/* 80261A10 0025E970 41 82 00 18 */ beq lbl_80261A28 -/* 80261A14 0025E974 81 83 00 00 */ lwz r12, 0(r3) -/* 80261A18 0025E978 7F C4 F3 78 */ mr r4, r30 -/* 80261A1C 0025E97C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80261A20 0025E980 7D 89 03 A6 */ mtctr r12 -/* 80261A24 0025E984 4E 80 04 21 */ bctrl -lbl_80261A28: -/* 80261A28 0025E988 3B FF 00 02 */ addi r31, r31, 2 -/* 80261A2C 0025E98C 3B BD 00 01 */ addi r29, r29, 1 -lbl_80261A30: -/* 80261A30 0025E990 80 1B 03 B8 */ lwz r0, 0x3b8(r27) -/* 80261A34 0025E994 7C 1D 00 00 */ cmpw r29, r0 -/* 80261A38 0025E998 41 80 FF B0 */ blt lbl_802619E8 -/* 80261A3C 0025E99C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80261A40 0025E9A0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80261A44 0025E9A4 7C 08 03 A6 */ mtlr r0 -/* 80261A48 0025E9A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80261A4C 0025E9AC 4E 80 00 20 */ blr - -.global DeleteLightObjects__16CNewFlameThrowerFR13CStateManager -DeleteLightObjects__16CNewFlameThrowerFR13CStateManager: -/* 80261A50 0025E9B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80261A54 0025E9B4 7C 08 02 A6 */ mflr r0 -/* 80261A58 0025E9B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80261A5C 0025E9BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80261A60 0025E9C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80261A64 0025E9C4 3B C0 00 00 */ li r30, 0 -/* 80261A68 0025E9C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80261A6C 0025E9CC 7C 9D 23 78 */ mr r29, r4 -/* 80261A70 0025E9D0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80261A74 0025E9D4 7C 7C 1B 78 */ mr r28, r3 -/* 80261A78 0025E9D8 3B FC 03 BC */ addi r31, r28, 0x3bc -/* 80261A7C 0025E9DC 48 00 00 20 */ b lbl_80261A9C -lbl_80261A80: -/* 80261A80 0025E9E0 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80261A84 0025E9E4 7F A3 EB 78 */ mr r3, r29 -/* 80261A88 0025E9E8 38 81 00 08 */ addi r4, r1, 8 -/* 80261A8C 0025E9EC B0 01 00 08 */ sth r0, 8(r1) -/* 80261A90 0025E9F0 4B DE A7 DD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80261A94 0025E9F4 3B FF 00 02 */ addi r31, r31, 2 -/* 80261A98 0025E9F8 3B DE 00 01 */ addi r30, r30, 1 -lbl_80261A9C: -/* 80261A9C 0025E9FC 80 BC 03 B8 */ lwz r5, 0x3b8(r28) -/* 80261AA0 0025EA00 7C 1E 28 00 */ cmpw r30, r5 -/* 80261AA4 0025EA04 41 80 FF DC */ blt lbl_80261A80 -/* 80261AA8 0025EA08 2C 05 00 00 */ cmpwi r5, 0 -/* 80261AAC 0025EA0C 38 60 00 00 */ li r3, 0 -/* 80261AB0 0025EA10 40 81 00 40 */ ble lbl_80261AF0 -/* 80261AB4 0025EA14 2C 05 00 08 */ cmpwi r5, 8 -/* 80261AB8 0025EA18 38 85 FF F8 */ addi r4, r5, -8 -/* 80261ABC 0025EA1C 40 81 00 20 */ ble lbl_80261ADC -/* 80261AC0 0025EA20 38 04 00 07 */ addi r0, r4, 7 -/* 80261AC4 0025EA24 54 00 E8 FE */ srwi r0, r0, 3 -/* 80261AC8 0025EA28 7C 09 03 A6 */ mtctr r0 -/* 80261ACC 0025EA2C 2C 04 00 00 */ cmpwi r4, 0 -/* 80261AD0 0025EA30 40 81 00 0C */ ble lbl_80261ADC -lbl_80261AD4: -/* 80261AD4 0025EA34 38 63 00 08 */ addi r3, r3, 8 -/* 80261AD8 0025EA38 42 00 FF FC */ bdnz lbl_80261AD4 -lbl_80261ADC: -/* 80261ADC 0025EA3C 7C 03 28 50 */ subf r0, r3, r5 -/* 80261AE0 0025EA40 7C 09 03 A6 */ mtctr r0 -/* 80261AE4 0025EA44 7C 03 28 00 */ cmpw r3, r5 -/* 80261AE8 0025EA48 40 80 00 08 */ bge lbl_80261AF0 -lbl_80261AEC: -/* 80261AEC 0025EA4C 42 00 00 00 */ bdnz lbl_80261AEC -lbl_80261AF0: -/* 80261AF0 0025EA50 38 00 00 00 */ li r0, 0 -/* 80261AF4 0025EA54 90 1C 03 B8 */ stw r0, 0x3b8(r28) -/* 80261AF8 0025EA58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80261AFC 0025EA5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80261B00 0025EA60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80261B04 0025EA64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80261B08 0025EA68 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80261B0C 0025EA6C 7C 08 03 A6 */ mtlr r0 -/* 80261B10 0025EA70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80261B14 0025EA74 4E 80 00 20 */ blr - -.global sub_80261b18 -sub_80261b18: -/* 80261B18 0025EA78 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80261B1C 0025EA7C 7C 08 02 A6 */ mflr r0 -/* 80261B20 0025EA80 90 01 01 04 */ stw r0, 0x104(r1) -/* 80261B24 0025EA84 BE 81 00 D0 */ stmw r20, 0xd0(r1) -/* 80261B28 0025EA88 7C 75 1B 78 */ mr r21, r3 -/* 80261B2C 0025EA8C 7C 96 23 78 */ mr r22, r4 -/* 80261B30 0025EA90 38 61 00 20 */ addi r3, r1, 0x20 -/* 80261B34 0025EA94 38 95 02 E8 */ addi r4, r21, 0x2e8 -/* 80261B38 0025EA98 48 0B 0B 49 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 80261B3C 0025EA9C 83 95 03 70 */ lwz r28, 0x370(r21) -/* 80261B40 0025EAA0 38 6D 98 30 */ addi r3, r13, lbl_805A83F0@sda21 -/* 80261B44 0025EAA4 80 0D 98 30 */ lwz r0, lbl_805A83F0@sda21(r13) -/* 80261B48 0025EAA8 80 FC 01 60 */ lwz r7, 0x160(r28) -/* 80261B4C 0025EAAC 80 BC 01 58 */ lwz r5, 0x158(r28) -/* 80261B50 0025EAB0 7C E4 16 70 */ srawi r4, r7, 2 -/* 80261B54 0025EAB4 7C A7 2A 14 */ add r5, r7, r5 -/* 80261B58 0025EAB8 38 C5 FF FF */ addi r6, r5, -1 -/* 80261B5C 0025EABC 7C 84 01 94 */ addze r4, r4 -/* 80261B60 0025EAC0 7C A6 3B D6 */ divw r5, r6, r7 -/* 80261B64 0025EAC4 90 81 00 0C */ stw r4, 0xc(r1) -/* 80261B68 0025EAC8 7C 00 20 00 */ cmpw r0, r4 -/* 80261B6C 0025EACC 7C 05 39 D6 */ mullw r0, r5, r7 -/* 80261B70 0025EAD0 7F 60 30 50 */ subf r27, r0, r6 -/* 80261B74 0025EAD4 40 80 00 08 */ bge lbl_80261B7C -/* 80261B78 0025EAD8 38 61 00 0C */ addi r3, r1, 0xc -lbl_80261B7C: -/* 80261B7C 0025EADC 83 43 00 00 */ lwz r26, 0(r3) -/* 80261B80 0025EAE0 3B B5 03 BC */ addi r29, r21, 0x3bc -/* 80261B84 0025EAE4 3B 20 00 00 */ li r25, 0 -/* 80261B88 0025EAE8 3B C0 00 00 */ li r30, 0 -/* 80261B8C 0025EAEC 48 00 01 94 */ b lbl_80261D20 -lbl_80261B90: -/* 80261B90 0025EAF0 A0 1D 00 00 */ lhz r0, 0(r29) -/* 80261B94 0025EAF4 7E C3 B3 78 */ mr r3, r22 -/* 80261B98 0025EAF8 38 81 00 08 */ addi r4, r1, 8 -/* 80261B9C 0025EAFC B0 01 00 08 */ sth r0, 8(r1) -/* 80261BA0 0025EB00 4B DE A9 D5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80261BA4 0025EB04 7C 64 1B 78 */ mr r4, r3 -/* 80261BA8 0025EB08 38 61 00 18 */ addi r3, r1, 0x18 -/* 80261BAC 0025EB0C 4B E4 BE D9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 80261BB0 0025EB10 83 03 00 04 */ lwz r24, 4(r3) -/* 80261BB4 0025EB14 28 18 00 00 */ cmplwi r24, 0 -/* 80261BB8 0025EB18 41 82 01 5C */ beq lbl_80261D14 -/* 80261BBC 0025EB1C 80 BC 01 60 */ lwz r5, 0x160(r28) -/* 80261BC0 0025EB20 3A E0 00 01 */ li r23, 1 -/* 80261BC4 0025EB24 7C 1E 28 00 */ cmpw r30, r5 -/* 80261BC8 0025EB28 41 80 00 08 */ blt lbl_80261BD0 -/* 80261BCC 0025EB2C 3A E0 00 00 */ li r23, 0 -lbl_80261BD0: -/* 80261BD0 0025EB30 7C 7E DA 14 */ add r3, r30, r27 -/* 80261BD4 0025EB34 80 9C 01 68 */ lwz r4, 0x168(r28) -/* 80261BD8 0025EB38 7C 03 2B D6 */ divw r0, r3, r5 -/* 80261BDC 0025EB3C 7C 00 29 D6 */ mullw r0, r0, r5 -/* 80261BE0 0025EB40 7C 00 18 50 */ subf r0, r0, r3 -/* 80261BE4 0025EB44 54 00 38 30 */ slwi r0, r0, 7 -/* 80261BE8 0025EB48 7F E4 02 14 */ add r31, r4, r0 -/* 80261BEC 0025EB4C 88 1F 00 00 */ lbz r0, 0(r31) -/* 80261BF0 0025EB50 28 00 00 00 */ cmplwi r0, 0 -/* 80261BF4 0025EB54 40 82 00 08 */ bne lbl_80261BFC -/* 80261BF8 0025EB58 3A E0 00 00 */ li r23, 0 -lbl_80261BFC: -/* 80261BFC 0025EB5C 7F 03 C3 78 */ mr r3, r24 -/* 80261C00 0025EB60 7E E4 BB 78 */ mr r4, r23 -/* 80261C04 0025EB64 81 98 00 00 */ lwz r12, 0(r24) -/* 80261C08 0025EB68 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80261C0C 0025EB6C 7D 89 03 A6 */ mtctr r12 -/* 80261C10 0025EB70 4E 80 04 21 */ bctrl -/* 80261C14 0025EB74 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80261C18 0025EB78 41 82 00 FC */ beq lbl_80261D14 -/* 80261C1C 0025EB7C 80 95 03 58 */ lwz r4, 0x358(r21) -/* 80261C20 0025EB80 38 61 00 2C */ addi r3, r1, 0x2c -/* 80261C24 0025EB84 81 84 00 00 */ lwz r12, 0(r4) -/* 80261C28 0025EB88 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80261C2C 0025EB8C 7D 89 03 A6 */ mtctr r12 -/* 80261C30 0025EB90 4E 80 04 21 */ bctrl -/* 80261C34 0025EB94 38 61 00 7C */ addi r3, r1, 0x7c -/* 80261C38 0025EB98 38 81 00 2C */ addi r4, r1, 0x2c -/* 80261C3C 0025EB9C 4B DD 99 35 */ bl __ct__6CLightFCR6CLight -/* 80261C40 0025EBA0 80 75 03 0C */ lwz r3, 0x30c(r21) -/* 80261C44 0025EBA4 82 E3 00 F0 */ lwz r23, 0xf0(r3) -/* 80261C48 0025EBA8 28 17 00 00 */ cmplwi r23, 0 -/* 80261C4C 0025EBAC 41 82 00 50 */ beq lbl_80261C9C -/* 80261C50 0025EBB0 38 75 02 E8 */ addi r3, r21, 0x2e8 -/* 80261C54 0025EBB4 38 80 00 00 */ li r4, 0 -/* 80261C58 0025EBB8 38 A0 00 10 */ li r5, 0x10 -/* 80261C5C 0025EBBC 48 0B 09 39 */ bl Range__9CRandom16Fii -/* 80261C60 0025EBC0 7C 74 1B 78 */ mr r20, r3 -/* 80261C64 0025EBC4 48 0C 8A E5 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 80261C68 0025EBC8 48 0E 83 25 */ bl Yellow__6CColorFv -/* 80261C6C 0025EBCC 80 03 00 00 */ lwz r0, 0(r3) -/* 80261C70 0025EBD0 7E E3 BB 78 */ mr r3, r23 -/* 80261C74 0025EBD4 7E 84 A3 78 */ mr r4, r20 -/* 80261C78 0025EBD8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80261C7C 0025EBDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261C80 0025EBE0 81 97 00 00 */ lwz r12, 0(r23) -/* 80261C84 0025EBE4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80261C88 0025EBE8 7D 89 03 A6 */ mtctr r12 -/* 80261C8C 0025EBEC 4E 80 04 21 */ bctrl -/* 80261C90 0025EBF0 38 61 00 7C */ addi r3, r1, 0x7c -/* 80261C94 0025EBF4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80261C98 0025EBF8 48 0A 46 C5 */ bl SetColor__6CLightFRC6CColor -lbl_80261C9C: -/* 80261C9C 0025EBFC 80 75 03 0C */ lwz r3, 0x30c(r21) -/* 80261CA0 0025EC00 82 83 00 F4 */ lwz r20, 0xf4(r3) -/* 80261CA4 0025EC04 28 14 00 00 */ cmplwi r20, 0 -/* 80261CA8 0025EC08 41 82 00 54 */ beq lbl_80261CFC -/* 80261CAC 0025EC0C 38 75 02 E8 */ addi r3, r21, 0x2e8 -/* 80261CB0 0025EC10 38 80 00 00 */ li r4, 0 -/* 80261CB4 0025EC14 38 A0 00 10 */ li r5, 0x10 -/* 80261CB8 0025EC18 48 0B 08 DD */ bl Range__9CRandom16Fii -/* 80261CBC 0025EC1C 7C 77 1B 78 */ mr r23, r3 -/* 80261CC0 0025EC20 48 0C 8A 89 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 80261CC4 0025EC24 C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) -/* 80261CC8 0025EC28 7E 83 A3 78 */ mr r3, r20 -/* 80261CCC 0025EC2C 7E E4 BB 78 */ mr r4, r23 -/* 80261CD0 0025EC30 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80261CD4 0025EC34 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80261CD8 0025EC38 81 94 00 00 */ lwz r12, 0(r20) -/* 80261CDC 0025EC3C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80261CE0 0025EC40 7D 89 03 A6 */ mtctr r12 -/* 80261CE4 0025EC44 4E 80 04 21 */ bctrl -/* 80261CE8 0025EC48 C0 42 BA 6C */ lfs f2, lbl_805AD78C@sda21(r2) -/* 80261CEC 0025EC4C 38 61 00 7C */ addi r3, r1, 0x7c -/* 80261CF0 0025EC50 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80261CF4 0025EC54 FC 60 10 90 */ fmr f3, f2 -/* 80261CF8 0025EC58 48 0A 46 8D */ bl SetAngleAttenuation__6CLightFfff -lbl_80261CFC: -/* 80261CFC 0025EC5C 7F 03 C3 78 */ mr r3, r24 -/* 80261D00 0025EC60 38 81 00 7C */ addi r4, r1, 0x7c -/* 80261D04 0025EC64 4B E5 3A 41 */ bl SetLight__10CGameLightFRC6CLight -/* 80261D08 0025EC68 7F 03 C3 78 */ mr r3, r24 -/* 80261D0C 0025EC6C 38 9F 00 0C */ addi r4, r31, 0xc -/* 80261D10 0025EC70 4B DF 11 7D */ bl SetTranslation__6CActorFRC9CVector3f -lbl_80261D14: -/* 80261D14 0025EC74 7F DE D2 14 */ add r30, r30, r26 -/* 80261D18 0025EC78 3B BD 00 02 */ addi r29, r29, 2 -/* 80261D1C 0025EC7C 3B 39 00 01 */ addi r25, r25, 1 -lbl_80261D20: -/* 80261D20 0025EC80 80 15 03 B8 */ lwz r0, 0x3b8(r21) -/* 80261D24 0025EC84 7C 19 00 00 */ cmpw r25, r0 -/* 80261D28 0025EC88 41 80 FE 68 */ blt lbl_80261B90 -/* 80261D2C 0025EC8C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80261D30 0025EC90 38 80 FF FF */ li r4, -1 -/* 80261D34 0025EC94 48 0B 08 D1 */ bl __dt__13CGlobalRandomFv -/* 80261D38 0025EC98 BA 81 00 D0 */ lmw r20, 0xd0(r1) -/* 80261D3C 0025EC9C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80261D40 0025ECA0 7C 08 03 A6 */ mtlr r0 -/* 80261D44 0025ECA4 38 21 01 00 */ addi r1, r1, 0x100 -/* 80261D48 0025ECA8 4E 80 00 20 */ blr - -.global CreateLightObjects__16CNewFlameThrowerFR13CStateManager -CreateLightObjects__16CNewFlameThrowerFR13CStateManager: -/* 80261D4C 0025ECAC 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80261D50 0025ECB0 7C 08 02 A6 */ mflr r0 -/* 80261D54 0025ECB4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80261D58 0025ECB8 BF 01 00 90 */ stmw r24, 0x90(r1) -/* 80261D5C 0025ECBC 7C 7C 1B 78 */ mr r28, r3 -/* 80261D60 0025ECC0 7C 9D 23 78 */ mr r29, r4 -/* 80261D64 0025ECC4 4B FF FC ED */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager -/* 80261D68 0025ECC8 3B C0 00 00 */ li r30, 0 -/* 80261D6C 0025ECCC 3B FC 03 BC */ addi r31, r28, 0x3bc -lbl_80261D70: -/* 80261D70 0025ECD0 7F A4 EB 78 */ mr r4, r29 -/* 80261D74 0025ECD4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80261D78 0025ECD8 4B DE B3 65 */ bl AllocateUniqueId__13CStateManagerFv -/* 80261D7C 0025ECDC A0 61 00 1C */ lhz r3, 0x1c(r1) -/* 80261D80 0025ECE0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80261D84 0025ECE4 B0 61 00 20 */ sth r3, 0x20(r1) -/* 80261D88 0025ECE8 7C 03 00 40 */ cmplw r3, r0 -/* 80261D8C 0025ECEC 41 82 01 08 */ beq lbl_80261E94 -/* 80261D90 0025ECF0 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 80261D94 0025ECF4 57 C0 07 FE */ clrlwi r0, r30, 0x1f -/* 80261D98 0025ECF8 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 80261D9C 0025ECFC 3B 00 00 00 */ li r24, 0 -/* 80261DA0 0025ED00 7F 3C 02 14 */ add r25, r28, r0 -/* 80261DA4 0025ED04 38 60 01 48 */ li r3, 0x148 -/* 80261DA8 0025ED08 38 A0 00 00 */ li r5, 0 -/* 80261DAC 0025ED0C 48 0B 3A C1 */ bl __nw__FUlPCcPCc -/* 80261DB0 0025ED10 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80261DB4 0025ED14 41 82 00 9C */ beq lbl_80261E50 -/* 80261DB8 0025ED18 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80261DBC 0025ED1C 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 80261DC0 0025ED20 83 5C 03 58 */ lwz r26, 0x358(r28) -/* 80261DC4 0025ED24 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 80261DC8 0025ED28 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80261DCC 0025ED2C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80261DD0 0025ED30 38 84 00 07 */ addi r4, r4, 7 -/* 80261DD4 0025ED34 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80261DD8 0025ED38 4B DA 2E E1 */ bl string_l__4rstlFPCc -/* 80261DDC 0025ED3C 7F 84 E3 78 */ mr r4, r28 -/* 80261DE0 0025ED40 38 61 00 24 */ addi r3, r1, 0x24 -/* 80261DE4 0025ED44 3B 00 00 01 */ li r24, 1 -/* 80261DE8 0025ED48 4B DE F2 9D */ bl GetAreaId__7CEntityCFv -/* 80261DEC 0025ED4C 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 80261DF0 0025ED50 7F 44 D3 78 */ mr r4, r26 -/* 80261DF4 0025ED54 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 80261DF8 0025ED58 38 61 00 3C */ addi r3, r1, 0x3c -/* 80261DFC 0025ED5C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80261E00 0025ED60 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80261E04 0025ED64 81 9A 00 00 */ lwz r12, 0(r26) -/* 80261E08 0025ED68 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80261E0C 0025ED6C 7D 89 03 A6 */ mtctr r12 -/* 80261E10 0025ED70 4E 80 04 21 */ bctrl -/* 80261E14 0025ED74 93 21 00 08 */ stw r25, 8(r1) -/* 80261E18 0025ED78 38 00 00 00 */ li r0, 0 -/* 80261E1C 0025ED7C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80261E20 0025ED80 C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) -/* 80261E24 0025ED84 90 01 00 0C */ stw r0, 0xc(r1) -/* 80261E28 0025ED88 39 03 66 70 */ addi r8, r3, skIdentity4f@l -/* 80261E2C 0025ED8C 7F 63 DB 78 */ mr r3, r27 -/* 80261E30 0025ED90 38 81 00 10 */ addi r4, r1, 0x10 -/* 80261E34 0025ED94 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80261E38 0025ED98 38 E1 00 2C */ addi r7, r1, 0x2c -/* 80261E3C 0025ED9C 39 21 00 18 */ addi r9, r1, 0x18 -/* 80261E40 0025EDA0 39 41 00 3C */ addi r10, r1, 0x3c -/* 80261E44 0025EDA4 38 C0 00 00 */ li r6, 0 -/* 80261E48 0025EDA8 4B E5 39 DD */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 80261E4C 0025EDAC 7C 7B 1B 78 */ mr r27, r3 -lbl_80261E50: -/* 80261E50 0025EDB0 7F 00 07 75 */ extsb. r0, r24 -/* 80261E54 0025EDB4 7F 79 DB 78 */ mr r25, r27 -/* 80261E58 0025EDB8 41 82 00 0C */ beq lbl_80261E64 -/* 80261E5C 0025EDBC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80261E60 0025EDC0 48 0D BC 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80261E64: -/* 80261E64 0025EDC4 7F A3 EB 78 */ mr r3, r29 -/* 80261E68 0025EDC8 7F 24 CB 78 */ mr r4, r25 -/* 80261E6C 0025EDCC 4B DE AE 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80261E70 0025EDD0 80 1C 03 B8 */ lwz r0, 0x3b8(r28) -/* 80261E74 0025EDD4 54 00 08 3C */ slwi r0, r0, 1 -/* 80261E78 0025EDD8 7C 7F 02 15 */ add. r3, r31, r0 -/* 80261E7C 0025EDDC 41 82 00 0C */ beq lbl_80261E88 -/* 80261E80 0025EDE0 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 80261E84 0025EDE4 B0 03 00 00 */ sth r0, 0(r3) -lbl_80261E88: -/* 80261E88 0025EDE8 80 7C 03 B8 */ lwz r3, 0x3b8(r28) -/* 80261E8C 0025EDEC 38 03 00 01 */ addi r0, r3, 1 -/* 80261E90 0025EDF0 90 1C 03 B8 */ stw r0, 0x3b8(r28) -lbl_80261E94: -/* 80261E94 0025EDF4 3B DE 00 01 */ addi r30, r30, 1 -/* 80261E98 0025EDF8 2C 1E 00 04 */ cmpwi r30, 4 -/* 80261E9C 0025EDFC 41 80 FE D4 */ blt lbl_80261D70 -/* 80261EA0 0025EE00 BB 01 00 90 */ lmw r24, 0x90(r1) -/* 80261EA4 0025EE04 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80261EA8 0025EE08 7C 08 03 A6 */ mtlr r0 -/* 80261EAC 0025EE0C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80261EB0 0025EE10 4E 80 00 20 */ blr - -.global AreParticlesDoneEmitting__16CNewFlameThrowerCFv -AreParticlesDoneEmitting__16CNewFlameThrowerCFv: -/* 80261EB4 0025EE14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261EB8 0025EE18 7C 08 02 A6 */ mflr r0 -/* 80261EBC 0025EE1C 38 80 00 00 */ li r4, 0 -/* 80261EC0 0025EE20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261EC4 0025EE24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261EC8 0025EE28 7C 7F 1B 78 */ mr r31, r3 -/* 80261ECC 0025EE2C 80 63 03 58 */ lwz r3, 0x358(r3) -/* 80261ED0 0025EE30 28 03 00 00 */ cmplwi r3, 0 -/* 80261ED4 0025EE34 41 82 00 1C */ beq lbl_80261EF0 -/* 80261ED8 0025EE38 81 83 00 00 */ lwz r12, 0(r3) -/* 80261EDC 0025EE3C 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80261EE0 0025EE40 7D 89 03 A6 */ mtctr r12 -/* 80261EE4 0025EE44 4E 80 04 21 */ bctrl -/* 80261EE8 0025EE48 7C 60 00 34 */ cntlzw r0, r3 -/* 80261EEC 0025EE4C 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80261EF0: -/* 80261EF0 0025EE50 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80261EF4 0025EE54 41 82 00 28 */ beq lbl_80261F1C -/* 80261EF8 0025EE58 80 7F 03 5C */ lwz r3, 0x35c(r31) -/* 80261EFC 0025EE5C 28 03 00 00 */ cmplwi r3, 0 -/* 80261F00 0025EE60 41 82 00 1C */ beq lbl_80261F1C -/* 80261F04 0025EE64 81 83 00 00 */ lwz r12, 0(r3) -/* 80261F08 0025EE68 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80261F0C 0025EE6C 7D 89 03 A6 */ mtctr r12 -/* 80261F10 0025EE70 4E 80 04 21 */ bctrl -/* 80261F14 0025EE74 7C 60 00 34 */ cntlzw r0, r3 -/* 80261F18 0025EE78 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80261F1C: -/* 80261F1C 0025EE7C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80261F20 0025EE80 41 82 00 28 */ beq lbl_80261F48 -/* 80261F24 0025EE84 80 7F 03 60 */ lwz r3, 0x360(r31) -/* 80261F28 0025EE88 28 03 00 00 */ cmplwi r3, 0 -/* 80261F2C 0025EE8C 41 82 00 1C */ beq lbl_80261F48 -/* 80261F30 0025EE90 81 83 00 00 */ lwz r12, 0(r3) -/* 80261F34 0025EE94 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80261F38 0025EE98 7D 89 03 A6 */ mtctr r12 -/* 80261F3C 0025EE9C 4E 80 04 21 */ bctrl -/* 80261F40 0025EEA0 7C 60 00 34 */ cntlzw r0, r3 -/* 80261F44 0025EEA4 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80261F48: -/* 80261F48 0025EEA8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80261F4C 0025EEAC 41 82 00 28 */ beq lbl_80261F74 -/* 80261F50 0025EEB0 80 7F 03 64 */ lwz r3, 0x364(r31) -/* 80261F54 0025EEB4 28 03 00 00 */ cmplwi r3, 0 -/* 80261F58 0025EEB8 41 82 00 1C */ beq lbl_80261F74 -/* 80261F5C 0025EEBC 81 83 00 00 */ lwz r12, 0(r3) -/* 80261F60 0025EEC0 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80261F64 0025EEC4 7D 89 03 A6 */ mtctr r12 -/* 80261F68 0025EEC8 4E 80 04 21 */ bctrl -/* 80261F6C 0025EECC 7C 60 00 34 */ cntlzw r0, r3 -/* 80261F70 0025EED0 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80261F74: -/* 80261F74 0025EED4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80261F78 0025EED8 41 82 00 28 */ beq lbl_80261FA0 -/* 80261F7C 0025EEDC 80 7F 03 68 */ lwz r3, 0x368(r31) -/* 80261F80 0025EEE0 28 03 00 00 */ cmplwi r3, 0 -/* 80261F84 0025EEE4 41 82 00 1C */ beq lbl_80261FA0 -/* 80261F88 0025EEE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80261F8C 0025EEEC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80261F90 0025EEF0 7D 89 03 A6 */ mtctr r12 -/* 80261F94 0025EEF4 4E 80 04 21 */ bctrl -/* 80261F98 0025EEF8 7C 60 00 34 */ cntlzw r0, r3 -/* 80261F9C 0025EEFC 54 04 D9 7E */ srwi r4, r0, 5 -lbl_80261FA0: -/* 80261FA0 0025EF00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261FA4 0025EF04 54 83 06 3E */ clrlwi r3, r4, 0x18 -/* 80261FA8 0025EF08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261FAC 0025EF0C 7C 08 03 A6 */ mtlr r0 -/* 80261FB0 0025EF10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261FB4 0025EF14 4E 80 00 20 */ blr - -.global sub_80261fb8 -sub_80261fb8: -/* 80261FB8 0025EF18 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80261FBC 0025EF1C 7C 08 02 A6 */ mflr r0 -/* 80261FC0 0025EF20 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80261FC4 0025EF24 BE 81 01 A0 */ stmw r20, 0x1a0(r1) -/* 80261FC8 0025EF28 7C B7 2B 78 */ mr r23, r5 -/* 80261FCC 0025EF2C 7C 96 23 78 */ mr r22, r4 -/* 80261FD0 0025EF30 7C D8 33 78 */ mr r24, r6 -/* 80261FD4 0025EF34 7C F9 3B 78 */ mr r25, r7 -/* 80261FD8 0025EF38 7D 1A 43 78 */ mr r26, r8 -/* 80261FDC 0025EF3C 3B 77 00 04 */ addi r27, r23, 4 -/* 80261FE0 0025EF40 3B E1 01 30 */ addi r31, r1, 0x130 -/* 80261FE4 0025EF44 3B C1 01 68 */ addi r30, r1, 0x168 -/* 80261FE8 0025EF48 3B A1 00 90 */ addi r29, r1, 0x90 -/* 80261FEC 0025EF4C 3B 81 00 C8 */ addi r28, r1, 0xc8 -/* 80261FF0 0025EF50 48 00 02 60 */ b lbl_80262250 -lbl_80261FF4: -/* 80261FF4 0025EF54 A0 1B 00 00 */ lhz r0, 0(r27) -/* 80261FF8 0025EF58 7E C3 B3 78 */ mr r3, r22 -/* 80261FFC 0025EF5C 38 81 00 08 */ addi r4, r1, 8 -/* 80262000 0025EF60 B0 01 00 08 */ sth r0, 8(r1) -/* 80262004 0025EF64 4B DE A5 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80262008 0025EF68 7C 64 1B 78 */ mr r4, r3 -/* 8026200C 0025EF6C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80262010 0025EF70 4B E4 DC 81 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80262014 0025EF74 82 A3 00 04 */ lwz r21, 4(r3) -/* 80262018 0025EF78 28 15 00 00 */ cmplwi r21, 0 -/* 8026201C 0025EF7C 41 82 02 30 */ beq lbl_8026224C -/* 80262020 0025EF80 7E A4 AB 78 */ mr r4, r21 -/* 80262024 0025EF84 38 61 00 18 */ addi r3, r1, 0x18 -/* 80262028 0025EF88 4B E4 A6 BD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 8026202C 0025EF8C 82 83 00 04 */ lwz r20, 4(r3) -/* 80262030 0025EF90 28 14 00 00 */ cmplwi r20, 0 -/* 80262034 0025EF94 41 82 00 98 */ beq lbl_802620CC -/* 80262038 0025EF98 7E 84 A3 78 */ mr r4, r20 -/* 8026203C 0025EF9C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80262040 0025EFA0 81 94 00 00 */ lwz r12, 0(r20) -/* 80262044 0025EFA4 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80262048 0025EFA8 7D 89 03 A6 */ mtctr r12 -/* 8026204C 0025EFAC 4E 80 04 21 */ bctrl -/* 80262050 0025EFB0 7E 83 A3 78 */ mr r3, r20 -/* 80262054 0025EFB4 4B DF 18 69 */ bl GetMaterialFilter__6CActorCFv -/* 80262058 0025EFB8 7C 75 1B 78 */ mr r21, r3 -/* 8026205C 0025EFBC 7E 83 A3 78 */ mr r3, r20 -/* 80262060 0025EFC0 81 94 00 00 */ lwz r12, 0(r20) -/* 80262064 0025EFC4 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80262068 0025EFC8 7D 89 03 A6 */ mtctr r12 -/* 8026206C 0025EFCC 4E 80 04 21 */ bctrl -/* 80262070 0025EFD0 90 61 01 28 */ stw r3, 0x128(r1) -/* 80262074 0025EFD4 7F E3 FB 78 */ mr r3, r31 -/* 80262078 0025EFD8 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8026207C 0025EFDC 92 A1 01 2C */ stw r21, 0x12c(r1) -/* 80262080 0025EFE0 48 0B 0A F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80262084 0025EFE4 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha -/* 80262088 0025EFE8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8026208C 0025EFEC 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l -/* 80262090 0025EFF0 93 01 01 60 */ stw r24, 0x160(r1) -/* 80262094 0025EFF4 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80262098 0025EFF8 7F C3 F3 78 */ mr r3, r30 -/* 8026209C 0025EFFC 90 01 01 64 */ stw r0, 0x164(r1) -/* 802620A0 0025F000 48 0B 0A D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802620A4 0025F004 7F 45 D3 78 */ mr r5, r26 -/* 802620A8 0025F008 38 61 01 60 */ addi r3, r1, 0x160 -/* 802620AC 0025F00C 38 81 01 28 */ addi r4, r1, 0x128 -/* 802620B0 0025F010 48 06 C7 01 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList -/* 802620B4 0025F014 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802620B8 0025F018 41 82 01 94 */ beq lbl_8026224C -/* 802620BC 0025F01C A0 1B 00 00 */ lhz r0, 0(r27) -/* 802620C0 0025F020 38 60 00 01 */ li r3, 1 -/* 802620C4 0025F024 B0 19 00 00 */ sth r0, 0(r25) -/* 802620C8 0025F028 48 00 01 A4 */ b lbl_8026226C -lbl_802620CC: -/* 802620CC 0025F02C 7E A4 AB 78 */ mr r4, r21 -/* 802620D0 0025F030 38 61 00 28 */ addi r3, r1, 0x28 -/* 802620D4 0025F034 81 95 00 00 */ lwz r12, 0(r21) -/* 802620D8 0025F038 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802620DC 0025F03C 7D 89 03 A6 */ mtctr r12 -/* 802620E0 0025F040 4E 80 04 21 */ bctrl -/* 802620E4 0025F044 88 01 00 40 */ lbz r0, 0x40(r1) -/* 802620E8 0025F048 28 00 00 00 */ cmplwi r0, 0 -/* 802620EC 0025F04C 98 01 00 5C */ stb r0, 0x5c(r1) -/* 802620F0 0025F050 41 82 00 3C */ beq lbl_8026212C -/* 802620F4 0025F054 34 61 00 44 */ addic. r3, r1, 0x44 -/* 802620F8 0025F058 41 82 00 34 */ beq lbl_8026212C -/* 802620FC 0025F05C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80262100 0025F060 D0 03 00 00 */ stfs f0, 0(r3) -/* 80262104 0025F064 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80262108 0025F068 D0 03 00 04 */ stfs f0, 4(r3) -/* 8026210C 0025F06C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80262110 0025F070 D0 03 00 08 */ stfs f0, 8(r3) -/* 80262114 0025F074 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80262118 0025F078 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8026211C 0025F07C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80262120 0025F080 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80262124 0025F084 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80262128 0025F088 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8026212C: -/* 8026212C 0025F08C 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 80262130 0025F090 38 C0 00 00 */ li r6, 0 -/* 80262134 0025F094 98 C1 00 40 */ stb r6, 0x40(r1) -/* 80262138 0025F098 28 00 00 00 */ cmplwi r0, 0 -/* 8026213C 0025F09C 41 82 01 08 */ beq lbl_80262244 -/* 80262140 0025F0A0 80 AD 98 2C */ lwz r5, lbl_805A83EC@sda21(r13) -/* 80262144 0025F0A4 38 60 00 00 */ li r3, 0 -/* 80262148 0025F0A8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8026214C 0025F0AC 38 80 00 01 */ li r4, 1 -/* 80262150 0025F0B0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80262154 0025F0B4 48 12 7D A1 */ bl __shl2i -/* 80262158 0025F0B8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8026215C 0025F0BC 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80262160 0025F0C0 7C 00 1B 78 */ or r0, r0, r3 -/* 80262164 0025F0C4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80262168 0025F0C8 7C A5 23 78 */ or r5, r5, r4 -/* 8026216C 0025F0CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80262170 0025F0D0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80262174 0025F0D4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80262178 0025F0D8 48 06 D7 3D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8026217C 0025F0DC C0 A1 00 44 */ lfs f5, 0x44(r1) -/* 80262180 0025F0E0 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 80262184 0025F0E4 C0 81 00 48 */ lfs f4, 0x48(r1) -/* 80262188 0025F0E8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8026218C 0025F0EC 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l -/* 80262190 0025F0F0 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 80262194 0025F0F4 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80262198 0025F0F8 38 C4 CA D0 */ addi r6, r4, lbl_803ECAD0@l -/* 8026219C 0025F0FC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802621A0 0025F100 38 A1 00 60 */ addi r5, r1, 0x60 -/* 802621A4 0025F104 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802621A8 0025F108 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802621AC 0025F10C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802621B0 0025F110 90 C1 00 60 */ stw r6, 0x60(r1) -/* 802621B4 0025F114 7F A3 EB 78 */ mr r3, r29 -/* 802621B8 0025F118 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 802621BC 0025F11C D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802621C0 0025F120 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 802621C4 0025F124 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 802621C8 0025F128 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 802621CC 0025F12C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 802621D0 0025F130 90 A1 00 88 */ stw r5, 0x88(r1) -/* 802621D4 0025F134 90 01 00 8C */ stw r0, 0x8c(r1) -/* 802621D8 0025F138 48 0B 09 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802621DC 0025F13C 3C 80 80 47 */ lis r4, lbl_8046DCA8@ha -/* 802621E0 0025F140 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802621E4 0025F144 38 04 DC A8 */ addi r0, r4, lbl_8046DCA8@l -/* 802621E8 0025F148 93 01 00 C0 */ stw r24, 0xc0(r1) -/* 802621EC 0025F14C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802621F0 0025F150 7F 83 E3 78 */ mr r3, r28 -/* 802621F4 0025F154 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802621F8 0025F158 48 0B 09 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802621FC 0025F15C 7F 45 D3 78 */ mr r5, r26 -/* 80262200 0025F160 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80262204 0025F164 38 81 00 88 */ addi r4, r1, 0x88 -/* 80262208 0025F168 48 06 C5 A9 */ bl Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList -/* 8026220C 0025F16C 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 80262210 0025F170 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80262214 0025F174 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l -/* 80262218 0025F178 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8026221C 0025F17C 90 81 00 60 */ stw r4, 0x60(r1) -/* 80262220 0025F180 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 80262224 0025F184 90 61 00 60 */ stw r3, 0x60(r1) -/* 80262228 0025F188 41 82 00 1C */ beq lbl_80262244 -/* 8026222C 0025F18C A0 9B 00 00 */ lhz r4, 0(r27) -/* 80262230 0025F190 38 00 00 00 */ li r0, 0 -/* 80262234 0025F194 98 01 00 5C */ stb r0, 0x5c(r1) -/* 80262238 0025F198 38 60 00 01 */ li r3, 1 -/* 8026223C 0025F19C B0 99 00 00 */ sth r4, 0(r25) -/* 80262240 0025F1A0 48 00 00 2C */ b lbl_8026226C -lbl_80262244: -/* 80262244 0025F1A4 38 00 00 00 */ li r0, 0 -/* 80262248 0025F1A8 98 01 00 5C */ stb r0, 0x5c(r1) -lbl_8026224C: -/* 8026224C 0025F1AC 3B 7B 00 02 */ addi r27, r27, 2 -lbl_80262250: -/* 80262250 0025F1B0 80 17 00 00 */ lwz r0, 0(r23) -/* 80262254 0025F1B4 54 00 08 3C */ slwi r0, r0, 1 -/* 80262258 0025F1B8 7C 77 02 14 */ add r3, r23, r0 -/* 8026225C 0025F1BC 38 03 00 04 */ addi r0, r3, 4 -/* 80262260 0025F1C0 7C 1B 00 40 */ cmplw r27, r0 -/* 80262264 0025F1C4 40 82 FD 90 */ bne lbl_80261FF4 -/* 80262268 0025F1C8 38 60 00 00 */ li r3, 0 -lbl_8026226C: -/* 8026226C 0025F1CC BA 81 01 A0 */ lmw r20, 0x1a0(r1) -/* 80262270 0025F1D0 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 80262274 0025F1D4 7C 08 03 A6 */ mtlr r0 -/* 80262278 0025F1D8 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 8026227C 0025F1DC 4E 80 00 20 */ blr - -.global sub_80262280 -sub_80262280: -/* 80262280 0025F1E0 94 21 B5 10 */ stwu r1, -0x4af0(r1) -/* 80262284 0025F1E4 7C 08 02 A6 */ mflr r0 -/* 80262288 0025F1E8 90 01 4A F4 */ stw r0, 0x4af4(r1) -/* 8026228C 0025F1EC 38 00 4A E8 */ li r0, 0x4ae8 -/* 80262290 0025F1F0 DB E1 4A E0 */ stfd f31, 0x4ae0(r1) -/* 80262294 0025F1F4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 80262298 0025F1F8 38 00 4A D8 */ li r0, 0x4ad8 -/* 8026229C 0025F1FC DB C1 4A D0 */ stfd f30, 0x4ad0(r1) -/* 802622A0 0025F200 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 802622A4 0025F204 38 00 4A C8 */ li r0, 0x4ac8 -/* 802622A8 0025F208 DB A1 4A C0 */ stfd f29, 0x4ac0(r1) -/* 802622AC 0025F20C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 802622B0 0025F210 38 00 4A B8 */ li r0, 0x4ab8 -/* 802622B4 0025F214 DB 81 4A B0 */ stfd f28, 0x4ab0(r1) -/* 802622B8 0025F218 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 -/* 802622BC 0025F21C 38 00 4A A8 */ li r0, 0x4aa8 -/* 802622C0 0025F220 DB 61 4A A0 */ stfd f27, 0x4aa0(r1) -/* 802622C4 0025F224 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 -/* 802622C8 0025F228 38 00 4A 98 */ li r0, 0x4a98 -/* 802622CC 0025F22C DB 41 4A 90 */ stfd f26, 0x4a90(r1) -/* 802622D0 0025F230 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 -/* 802622D4 0025F234 38 00 4A 88 */ li r0, 0x4a88 -/* 802622D8 0025F238 DB 21 4A 80 */ stfd f25, 0x4a80(r1) -/* 802622DC 0025F23C 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 -/* 802622E0 0025F240 38 00 4A 78 */ li r0, 0x4a78 -/* 802622E4 0025F244 DB 01 4A 70 */ stfd f24, 0x4a70(r1) -/* 802622E8 0025F248 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 -/* 802622EC 0025F24C 38 00 4A 68 */ li r0, 0x4a68 -/* 802622F0 0025F250 DA E1 4A 60 */ stfd f23, 0x4a60(r1) -/* 802622F4 0025F254 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 -/* 802622F8 0025F258 38 00 4A 58 */ li r0, 0x4a58 -/* 802622FC 0025F25C DA C1 4A 50 */ stfd f22, 0x4a50(r1) -/* 80262300 0025F260 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0 -/* 80262304 0025F264 BD C1 4A 08 */ stmw r14, 0x4a08(r1) -/* 80262308 0025F268 7C 7D 1B 78 */ mr r29, r3 -/* 8026230C 0025F26C 38 C0 00 00 */ li r6, 0 -/* 80262310 0025F270 38 7D 02 F4 */ addi r3, r29, 0x2f4 -/* 80262314 0025F274 38 01 00 D4 */ addi r0, r1, 0xd4 -/* 80262318 0025F278 FE C0 08 90 */ fmr f22, f1 -/* 8026231C 0025F27C 7C 03 00 40 */ cmplw r3, r0 -/* 80262320 0025F280 98 C1 00 E0 */ stb r6, 0xe0(r1) -/* 80262324 0025F284 7C 9E 23 78 */ mr r30, r4 -/* 80262328 0025F288 7C BF 2B 78 */ mr r31, r5 -/* 8026232C 0025F28C 3A 60 00 00 */ li r19, 0 -/* 80262330 0025F290 41 82 00 64 */ beq lbl_80262394 -/* 80262334 0025F294 28 06 00 00 */ cmplwi r6, 0 -/* 80262338 0025F298 41 82 00 58 */ beq lbl_80262390 -/* 8026233C 0025F29C 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80262340 0025F2A0 28 00 00 00 */ cmplwi r0, 0 -/* 80262344 0025F2A4 40 82 00 30 */ bne lbl_80262374 -/* 80262348 0025F2A8 34 7D 02 F4 */ addic. r3, r29, 0x2f4 -/* 8026234C 0025F2AC 41 82 00 1C */ beq lbl_80262368 -/* 80262350 0025F2B0 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80262354 0025F2B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80262358 0025F2B8 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 8026235C 0025F2BC D0 03 00 04 */ stfs f0, 4(r3) -/* 80262360 0025F2C0 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80262364 0025F2C4 D0 03 00 08 */ stfs f0, 8(r3) -lbl_80262368: -/* 80262368 0025F2C8 38 00 00 01 */ li r0, 1 -/* 8026236C 0025F2CC 98 1D 03 00 */ stb r0, 0x300(r29) -/* 80262370 0025F2D0 48 00 00 24 */ b lbl_80262394 -lbl_80262374: -/* 80262374 0025F2D4 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80262378 0025F2D8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8026237C 0025F2DC C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 80262380 0025F2E0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80262384 0025F2E4 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80262388 0025F2E8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8026238C 0025F2EC 48 00 00 08 */ b lbl_80262394 -lbl_80262390: -/* 80262390 0025F2F0 98 DD 03 00 */ stb r6, 0x300(r29) -lbl_80262394: -/* 80262394 0025F2F4 38 60 00 00 */ li r3, 0 -/* 80262398 0025F2F8 80 0D 98 10 */ lwz r0, lbl_805A83D0@sda21(r13) -/* 8026239C 0025F2FC 98 61 00 E0 */ stb r3, 0xe0(r1) -/* 802623A0 0025F300 38 A1 00 64 */ addi r5, r1, 0x64 -/* 802623A4 0025F304 83 7D 03 70 */ lwz r27, 0x370(r29) -/* 802623A8 0025F308 90 61 41 F4 */ stw r3, 0x41f4(r1) -/* 802623AC 0025F30C 80 7B 01 60 */ lwz r3, 0x160(r27) -/* 802623B0 0025F310 7C 63 16 70 */ srawi r3, r3, 2 -/* 802623B4 0025F314 7C 63 01 94 */ addze r3, r3 -/* 802623B8 0025F318 7C 03 00 00 */ cmpw r3, r0 -/* 802623BC 0025F31C 90 61 00 64 */ stw r3, 0x64(r1) -/* 802623C0 0025F320 40 80 00 08 */ bge lbl_802623C8 -/* 802623C4 0025F324 38 AD 98 10 */ addi r5, r13, lbl_805A83D0@sda21 -lbl_802623C8: -/* 802623C8 0025F328 80 9D 03 70 */ lwz r4, 0x370(r29) -/* 802623CC 0025F32C 38 61 26 C8 */ addi r3, r1, 0x26c8 -/* 802623D0 0025F330 3A 83 00 04 */ addi r20, r3, 4 -/* 802623D4 0025F334 80 05 00 00 */ lwz r0, 0(r5) -/* 802623D8 0025F338 80 C4 01 60 */ lwz r6, 0x160(r4) -/* 802623DC 0025F33C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802623E0 0025F340 80 84 01 58 */ lwz r4, 0x158(r4) -/* 802623E4 0025F344 3B 83 66 A0 */ addi r28, r3, skZero3f@l -/* 802623E8 0025F348 90 01 49 F8 */ stw r0, 0x49f8(r1) -/* 802623EC 0025F34C 3A C1 41 F8 */ addi r22, r1, 0x41f8 -/* 802623F0 0025F350 7C 66 22 14 */ add r3, r6, r4 -/* 802623F4 0025F354 C3 C2 BA 6C */ lfs f30, lbl_805AD78C@sda21(r2) -/* 802623F8 0025F358 38 63 FF FF */ addi r3, r3, -1 -/* 802623FC 0025F35C C3 E2 BA 70 */ lfs f31, lbl_805AD790@sda21(r2) -/* 80262400 0025F360 7C 03 33 D6 */ divw r0, r3, r6 -/* 80262404 0025F364 39 C1 0E AC */ addi r14, r1, 0xeac -/* 80262408 0025F368 3A 40 00 00 */ li r18, 0 -/* 8026240C 0025F36C 7C 00 31 D6 */ mullw r0, r0, r6 -/* 80262410 0025F370 7F 40 18 50 */ subf r26, r0, r3 -/* 80262414 0025F374 48 00 0E 98 */ b lbl_802632AC -lbl_80262418: -/* 80262418 0025F378 38 60 00 00 */ li r3, 0 -/* 8026241C 0025F37C 80 01 49 F8 */ lwz r0, 0x49f8(r1) -/* 80262420 0025F380 98 61 02 40 */ stb r3, 0x240(r1) -/* 80262424 0025F384 38 61 00 60 */ addi r3, r1, 0x60 -/* 80262428 0025F388 7C 12 02 14 */ add r0, r18, r0 -/* 8026242C 0025F38C 80 9B 01 60 */ lwz r4, 0x160(r27) -/* 80262430 0025F390 7C 04 00 00 */ cmpw r4, r0 -/* 80262434 0025F394 90 81 00 5C */ stw r4, 0x5c(r1) -/* 80262438 0025F398 90 01 00 60 */ stw r0, 0x60(r1) -/* 8026243C 0025F39C 40 80 00 08 */ bge lbl_80262444 -/* 80262440 0025F3A0 38 61 00 5C */ addi r3, r1, 0x5c -lbl_80262444: -/* 80262444 0025F3A4 82 23 00 00 */ lwz r17, 0(r3) -/* 80262448 0025F3A8 56 55 38 30 */ slwi r21, r18, 7 -/* 8026244C 0025F3AC 7E 57 93 78 */ mr r23, r18 -/* 80262450 0025F3B0 D3 C1 00 68 */ stfs f30, 0x68(r1) -/* 80262454 0025F3B4 7E B0 AB 78 */ mr r16, r21 -/* 80262458 0025F3B8 48 00 00 FC */ b lbl_80262554 -lbl_8026245C: -/* 8026245C 0025F3BC 80 1B 01 68 */ lwz r0, 0x168(r27) -/* 80262460 0025F3C0 7D E0 82 14 */ add r15, r0, r16 -/* 80262464 0025F3C4 88 0F 00 00 */ lbz r0, 0(r15) -/* 80262468 0025F3C8 28 00 00 00 */ cmplwi r0, 0 -/* 8026246C 0025F3CC 41 82 00 E0 */ beq lbl_8026254C -/* 80262470 0025F3D0 88 01 02 40 */ lbz r0, 0x240(r1) -/* 80262474 0025F3D4 28 00 00 00 */ cmplwi r0, 0 -/* 80262478 0025F3D8 40 82 00 84 */ bne lbl_802624FC -/* 8026247C 0025F3DC 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 80262480 0025F3E0 39 03 67 54 */ addi r8, r3, lbl_805A6754@l -/* 80262484 0025F3E4 40 82 00 48 */ bne lbl_802624CC -/* 80262488 0025F3E8 34 61 02 28 */ addic. r3, r1, 0x228 -/* 8026248C 0025F3EC 41 82 00 34 */ beq lbl_802624C0 -/* 80262490 0025F3F0 C0 08 00 00 */ lfs f0, 0(r8) -/* 80262494 0025F3F4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80262498 0025F3F8 C0 08 00 04 */ lfs f0, 4(r8) -/* 8026249C 0025F3FC D0 03 00 04 */ stfs f0, 4(r3) -/* 802624A0 0025F400 C0 08 00 08 */ lfs f0, 8(r8) -/* 802624A4 0025F404 D0 03 00 08 */ stfs f0, 8(r3) -/* 802624A8 0025F408 C0 08 00 0C */ lfs f0, 0xc(r8) -/* 802624AC 0025F40C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802624B0 0025F410 C0 08 00 10 */ lfs f0, 0x10(r8) -/* 802624B4 0025F414 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802624B8 0025F418 C0 08 00 14 */ lfs f0, 0x14(r8) -/* 802624BC 0025F41C D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802624C0: -/* 802624C0 0025F420 38 00 00 01 */ li r0, 1 -/* 802624C4 0025F424 98 01 02 40 */ stb r0, 0x240(r1) -/* 802624C8 0025F428 48 00 00 34 */ b lbl_802624FC -lbl_802624CC: -/* 802624CC 0025F42C 80 E8 00 00 */ lwz r7, 0(r8) -/* 802624D0 0025F430 80 C8 00 04 */ lwz r6, 4(r8) -/* 802624D4 0025F434 80 A8 00 08 */ lwz r5, 8(r8) -/* 802624D8 0025F438 80 88 00 0C */ lwz r4, 0xc(r8) -/* 802624DC 0025F43C 80 68 00 10 */ lwz r3, 0x10(r8) -/* 802624E0 0025F440 80 08 00 14 */ lwz r0, 0x14(r8) -/* 802624E4 0025F444 90 E1 02 28 */ stw r7, 0x228(r1) -/* 802624E8 0025F448 90 C1 02 2C */ stw r6, 0x22c(r1) -/* 802624EC 0025F44C 90 A1 02 30 */ stw r5, 0x230(r1) -/* 802624F0 0025F450 90 81 02 34 */ stw r4, 0x234(r1) -/* 802624F4 0025F454 90 61 02 38 */ stw r3, 0x238(r1) -/* 802624F8 0025F458 90 01 02 3C */ stw r0, 0x23c(r1) -lbl_802624FC: -/* 802624FC 0025F45C 38 61 02 28 */ addi r3, r1, 0x228 -/* 80262500 0025F460 38 8F 00 0C */ addi r4, r15, 0xc -/* 80262504 0025F464 48 0D 56 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80262508 0025F468 C0 2F 00 74 */ lfs f1, 0x74(r15) -/* 8026250C 0025F46C C0 0F 00 78 */ lfs f0, 0x78(r15) -/* 80262510 0025F470 EC 41 00 72 */ fmuls f2, f1, f1 -/* 80262514 0025F474 C0 6F 00 7C */ lfs f3, 0x7c(r15) -/* 80262518 0025F478 EC 20 00 32 */ fmuls f1, f0, f0 -/* 8026251C 0025F47C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80262520 0025F480 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80262524 0025F484 EC 22 08 2A */ fadds f1, f2, f1 -/* 80262528 0025F488 EC 23 08 2A */ fadds f1, f3, f1 -/* 8026252C 0025F48C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80262530 0025F490 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80262534 0025F494 40 80 00 0C */ bge lbl_80262540 -/* 80262538 0025F498 38 61 00 58 */ addi r3, r1, 0x58 -/* 8026253C 0025F49C 48 00 00 08 */ b lbl_80262544 -lbl_80262540: -/* 80262540 0025F4A0 38 61 00 68 */ addi r3, r1, 0x68 -lbl_80262544: -/* 80262544 0025F4A4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80262548 0025F4A8 D0 01 00 68 */ stfs f0, 0x68(r1) -lbl_8026254C: -/* 8026254C 0025F4AC 3A 10 00 80 */ addi r16, r16, 0x80 -/* 80262550 0025F4B0 3A F7 00 01 */ addi r23, r23, 1 -lbl_80262554: -/* 80262554 0025F4B4 7C 17 88 00 */ cmpw r23, r17 -/* 80262558 0025F4B8 41 80 FF 04 */ blt lbl_8026245C -/* 8026255C 0025F4BC C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80262560 0025F4C0 48 0B 2F A1 */ bl SqrtF__5CMathFf -/* 80262564 0025F4C4 EE FF 08 2A */ fadds f23, f31, f1 -/* 80262568 0025F4C8 88 01 02 40 */ lbz r0, 0x240(r1) -/* 8026256C 0025F4CC 28 00 00 00 */ cmplwi r0, 0 -/* 80262570 0025F4D0 D2 E1 00 68 */ stfs f23, 0x68(r1) -/* 80262574 0025F4D4 41 82 0D 28 */ beq lbl_8026329C -/* 80262578 0025F4D8 C0 41 02 2C */ lfs f2, 0x22c(r1) -/* 8026257C 0025F4DC 38 61 02 28 */ addi r3, r1, 0x228 -/* 80262580 0025F4E0 C0 21 02 30 */ lfs f1, 0x230(r1) -/* 80262584 0025F4E4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80262588 0025F4E8 C0 01 02 28 */ lfs f0, 0x228(r1) -/* 8026258C 0025F4EC EC 42 B8 28 */ fsubs f2, f2, f23 -/* 80262590 0025F4F0 EC 21 B8 28 */ fsubs f1, f1, f23 -/* 80262594 0025F4F4 EC 00 B8 28 */ fsubs f0, f0, f23 -/* 80262598 0025F4F8 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 8026259C 0025F4FC D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 802625A0 0025F500 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 802625A4 0025F504 48 0D 55 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802625A8 0025F508 C0 41 02 38 */ lfs f2, 0x238(r1) -/* 802625AC 0025F50C 38 61 02 28 */ addi r3, r1, 0x228 -/* 802625B0 0025F510 C0 21 02 3C */ lfs f1, 0x23c(r1) -/* 802625B4 0025F514 38 81 00 BC */ addi r4, r1, 0xbc -/* 802625B8 0025F518 C0 01 02 34 */ lfs f0, 0x234(r1) -/* 802625BC 0025F51C EC 42 B8 2A */ fadds f2, f2, f23 -/* 802625C0 0025F520 EC 21 B8 2A */ fadds f1, f1, f23 -/* 802625C4 0025F524 EC 00 B8 2A */ fadds f0, f0, f23 -/* 802625C8 0025F528 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 802625CC 0025F52C D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 802625D0 0025F530 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 802625D4 0025F534 48 0D 55 35 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802625D8 0025F538 80 A1 41 F4 */ lwz r5, 0x41f4(r1) -/* 802625DC 0025F53C 38 60 00 00 */ li r3, 0 -/* 802625E0 0025F540 2C 05 00 00 */ cmpwi r5, 0 -/* 802625E4 0025F544 40 81 00 44 */ ble lbl_80262628 -/* 802625E8 0025F548 2C 05 00 08 */ cmpwi r5, 8 -/* 802625EC 0025F54C 38 85 FF F8 */ addi r4, r5, -8 -/* 802625F0 0025F550 40 81 00 20 */ ble lbl_80262610 -/* 802625F4 0025F554 38 04 00 07 */ addi r0, r4, 7 -/* 802625F8 0025F558 54 00 E8 FE */ srwi r0, r0, 3 -/* 802625FC 0025F55C 7C 09 03 A6 */ mtctr r0 -/* 80262600 0025F560 2C 04 00 00 */ cmpwi r4, 0 -/* 80262604 0025F564 40 81 00 0C */ ble lbl_80262610 -lbl_80262608: -/* 80262608 0025F568 38 63 00 08 */ addi r3, r3, 8 -/* 8026260C 0025F56C 42 00 FF FC */ bdnz lbl_80262608 -lbl_80262610: -/* 80262610 0025F570 7C 03 28 50 */ subf r0, r3, r5 -/* 80262614 0025F574 7C 09 03 A6 */ mtctr r0 -/* 80262618 0025F578 7C 03 28 00 */ cmpw r3, r5 -/* 8026261C 0025F57C 40 80 00 0C */ bge lbl_80262628 -lbl_80262620: -/* 80262620 0025F580 38 63 00 01 */ addi r3, r3, 1 -/* 80262624 0025F584 42 00 FF FC */ bdnz lbl_80262620 -lbl_80262628: -/* 80262628 0025F588 38 00 00 00 */ li r0, 0 -/* 8026262C 0025F58C 80 AD 98 18 */ lwz r5, lbl_805A83D8@sda21(r13) -/* 80262630 0025F590 90 01 41 F4 */ stw r0, 0x41f4(r1) -/* 80262634 0025F594 38 60 00 00 */ li r3, 0 -/* 80262638 0025F598 38 80 00 01 */ li r4, 1 -/* 8026263C 0025F59C 81 FE 08 4C */ lwz r15, 0x84c(r30) -/* 80262640 0025F5A0 48 12 78 B5 */ bl __shl2i -/* 80262644 0025F5A4 80 AD 98 14 */ lwz r5, lbl_805A83D4@sda21(r13) -/* 80262648 0025F5A8 7C 97 23 78 */ mr r23, r4 -/* 8026264C 0025F5AC 7C 70 1B 78 */ mr r16, r3 -/* 80262650 0025F5B0 38 60 00 00 */ li r3, 0 -/* 80262654 0025F5B4 38 80 00 01 */ li r4, 1 -/* 80262658 0025F5B8 48 12 78 9D */ bl __shl2i -/* 8026265C 0025F5BC 38 00 00 03 */ li r0, 3 -/* 80262660 0025F5C0 90 81 01 D4 */ stw r4, 0x1d4(r1) -/* 80262664 0025F5C4 7D E7 7B 78 */ mr r7, r15 -/* 80262668 0025F5C8 38 81 41 F4 */ addi r4, r1, 0x41f4 -/* 8026266C 0025F5CC 90 61 01 D0 */ stw r3, 0x1d0(r1) -/* 80262670 0025F5D0 7F C3 F3 78 */ mr r3, r30 -/* 80262674 0025F5D4 38 A1 02 28 */ addi r5, r1, 0x228 -/* 80262678 0025F5D8 38 C1 01 D0 */ addi r6, r1, 0x1d0 -/* 8026267C 0025F5DC 92 E1 01 DC */ stw r23, 0x1dc(r1) -/* 80262680 0025F5E0 92 01 01 D8 */ stw r16, 0x1d8(r1) -/* 80262684 0025F5E4 90 01 01 E0 */ stw r0, 0x1e0(r1) -/* 80262688 0025F5E8 4B DE A0 99 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8026268C 0025F5EC 38 61 26 B0 */ addi r3, r1, 0x26b0 -/* 80262690 0025F5F0 38 81 02 28 */ addi r4, r1, 0x228 -/* 80262694 0025F5F4 48 04 13 FD */ bl __ct__19CAreaCollisionCacheFRC6CAABox -/* 80262698 0025F5F8 7F C3 F3 78 */ mr r3, r30 -/* 8026269C 0025F5FC 38 81 26 B0 */ addi r4, r1, 0x26b0 -/* 802626A0 0025F600 4B F2 20 25 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache -/* 802626A4 0025F604 7E 50 93 78 */ mr r16, r18 -/* 802626A8 0025F608 7E B7 AB 78 */ mr r23, r21 -/* 802626AC 0025F60C 48 00 07 C0 */ b lbl_80262E6C -lbl_802626B0: -/* 802626B0 0025F610 80 1B 01 68 */ lwz r0, 0x168(r27) -/* 802626B4 0025F614 7C 1A 80 00 */ cmpw r26, r16 -/* 802626B8 0025F618 7F 20 BA 14 */ add r25, r0, r23 -/* 802626BC 0025F61C 41 82 07 A8 */ beq lbl_80262E64 -/* 802626C0 0025F620 88 19 00 00 */ lbz r0, 0(r25) -/* 802626C4 0025F624 28 00 00 00 */ cmplwi r0, 0 -/* 802626C8 0025F628 41 82 07 9C */ beq lbl_80262E64 -/* 802626CC 0025F62C C3 B9 00 0C */ lfs f29, 0xc(r25) -/* 802626D0 0025F630 38 00 00 00 */ li r0, 0 -/* 802626D4 0025F634 C3 99 00 10 */ lfs f28, 0x10(r25) -/* 802626D8 0025F638 38 60 00 00 */ li r3, 0 -/* 802626DC 0025F63C C3 79 00 14 */ lfs f27, 0x14(r25) -/* 802626E0 0025F640 38 80 00 01 */ li r4, 1 -/* 802626E4 0025F644 80 AD 98 1C */ lwz r5, lbl_805A83DC@sda21(r13) -/* 802626E8 0025F648 C3 41 00 68 */ lfs f26, 0x68(r1) -/* 802626EC 0025F64C 90 01 00 94 */ stw r0, 0x94(r1) -/* 802626F0 0025F650 90 01 00 90 */ stw r0, 0x90(r1) -/* 802626F4 0025F654 48 12 78 01 */ bl __shl2i -/* 802626F8 0025F658 80 01 00 90 */ lwz r0, 0x90(r1) -/* 802626FC 0025F65C 80 A1 00 94 */ lwz r5, 0x94(r1) -/* 80262700 0025F660 7C 00 1B 78 */ or r0, r0, r3 -/* 80262704 0025F664 38 61 02 08 */ addi r3, r1, 0x208 -/* 80262708 0025F668 7C A5 23 78 */ or r5, r5, r4 -/* 8026270C 0025F66C 90 01 00 90 */ stw r0, 0x90(r1) -/* 80262710 0025F670 38 81 00 90 */ addi r4, r1, 0x90 -/* 80262714 0025F674 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80262718 0025F678 48 06 D1 9D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8026271C 0025F67C A1 2D A3 8C */ lhz r9, lbl_805A8F4C@sda21(r13) -/* 80262720 0025F680 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80262724 0025F684 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l -/* 80262728 0025F688 38 00 00 00 */ li r0, 0 -/* 8026272C 0025F68C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80262730 0025F690 3C 60 80 47 */ lis r3, lbl_8046DCA8@ha -/* 80262734 0025F694 90 A1 02 08 */ stw r5, 0x208(r1) -/* 80262738 0025F698 38 C4 66 70 */ addi r6, r4, skIdentity4f@l -/* 8026273C 0025F69C 38 E3 DC A8 */ addi r7, r3, lbl_8046DCA8@l -/* 80262740 0025F6A0 7F C3 F3 78 */ mr r3, r30 -/* 80262744 0025F6A4 D3 A1 02 18 */ stfs f29, 0x218(r1) -/* 80262748 0025F6A8 38 81 26 B0 */ addi r4, r1, 0x26b0 -/* 8026274C 0025F6AC 38 A1 02 08 */ addi r5, r1, 0x208 -/* 80262750 0025F6B0 39 01 1A AC */ addi r8, r1, 0x1aac -/* 80262754 0025F6B4 D3 81 02 1C */ stfs f28, 0x21c(r1) -/* 80262758 0025F6B8 D3 61 02 20 */ stfs f27, 0x220(r1) -/* 8026275C 0025F6BC D3 41 02 24 */ stfs f26, 0x224(r1) -/* 80262760 0025F6C0 B1 21 00 50 */ sth r9, 0x50(r1) -/* 80262764 0025F6C4 90 01 1A AC */ stw r0, 0x1aac(r1) -/* 80262768 0025F6C8 4B F2 14 11 */ bl DetectStaticCollision_Cached__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterR18CCollisionInfoList -/* 8026276C 0025F6CC 7C 6F 1B 78 */ mr r15, r3 -/* 80262770 0025F6D0 7F A3 EB 78 */ mr r3, r29 -/* 80262774 0025F6D4 7F C4 F3 78 */ mr r4, r30 -/* 80262778 0025F6D8 38 A1 41 F4 */ addi r5, r1, 0x41f4 -/* 8026277C 0025F6DC 38 C1 02 08 */ addi r6, r1, 0x208 -/* 80262780 0025F6E0 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80262784 0025F6E4 39 01 1A AC */ addi r8, r1, 0x1aac -/* 80262788 0025F6E8 4B FF F8 31 */ bl sub_80261fb8 -/* 8026278C 0025F6EC 7D E0 1B 78 */ or r0, r15, r3 -/* 80262790 0025F6F0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80262794 0025F6F4 41 82 06 60 */ beq lbl_80262DF4 -/* 80262798 0025F6F8 80 01 1A AC */ lwz r0, 0x1aac(r1) -/* 8026279C 0025F6FC 2C 00 00 00 */ cmpwi r0, 0 -/* 802627A0 0025F700 41 82 06 54 */ beq lbl_80262DF4 -/* 802627A4 0025F704 38 00 00 00 */ li r0, 0 -/* 802627A8 0025F708 38 61 1A AC */ addi r3, r1, 0x1aac -/* 802627AC 0025F70C 98 19 00 00 */ stb r0, 0(r25) -/* 802627B0 0025F710 38 81 0E A8 */ addi r4, r1, 0xea8 -/* 802627B4 0025F714 3A 60 00 01 */ li r19, 1 -/* 802627B8 0025F718 90 01 0E A8 */ stw r0, 0xea8(r1) -/* 802627BC 0025F71C 4B F2 2C 81 */ bl sub_8018543c -/* 802627C0 0025F720 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802627C4 0025F724 C3 1C 00 04 */ lfs f24, 4(r28) -/* 802627C8 0025F728 C2 FC 00 08 */ lfs f23, 8(r28) -/* 802627CC 0025F72C 7D D8 73 78 */ mr r24, r14 -/* 802627D0 0025F730 C3 23 66 A0 */ lfs f25, skZero3f@l(r3) -/* 802627D4 0025F734 39 E0 00 00 */ li r15, 0 -/* 802627D8 0025F738 48 00 01 9C */ b lbl_80262974 -lbl_802627DC: -/* 802627DC 0025F73C 2C 0F 00 03 */ cmpwi r15, 3 -/* 802627E0 0025F740 41 81 01 A0 */ bgt lbl_80262980 -/* 802627E4 0025F744 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 802627E8 0025F748 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 802627EC 0025F74C 41 82 00 0C */ beq lbl_802627F8 -/* 802627F0 0025F750 C0 62 BA 68 */ lfs f3, lbl_805AD788@sda21(r2) -/* 802627F4 0025F754 48 00 00 08 */ b lbl_802627FC -lbl_802627F8: -/* 802627F8 0025F758 C0 62 BA 74 */ lfs f3, lbl_805AD794@sda21(r2) -lbl_802627FC: -/* 802627FC 0025F75C C0 58 00 00 */ lfs f2, 0(r24) -/* 80262800 0025F760 7F A3 EB 78 */ mr r3, r29 -/* 80262804 0025F764 C0 38 00 04 */ lfs f1, 4(r24) -/* 80262808 0025F768 38 81 01 00 */ addi r4, r1, 0x100 -/* 8026280C 0025F76C C0 18 00 08 */ lfs f0, 8(r24) -/* 80262810 0025F770 D0 41 01 00 */ stfs f2, 0x100(r1) -/* 80262814 0025F774 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80262818 0025F778 D0 01 01 08 */ stfs f0, 0x108(r1) -/* 8026281C 0025F77C D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 80262820 0025F780 4B FF EF 15 */ bl sub_80261734 -/* 80262824 0025F784 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 80262828 0025F788 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f -/* 8026282C 0025F78C 7C 04 00 D0 */ neg r0, r4 -/* 80262830 0025F790 7C 00 23 78 */ or r0, r0, r4 -/* 80262834 0025F794 7C 04 FE 70 */ srawi r4, r0, 0x1f -/* 80262838 0025F798 38 04 00 03 */ addi r0, r4, 3 -/* 8026283C 0025F79C 7C 03 00 00 */ cmpw r3, r0 -/* 80262840 0025F7A0 40 80 01 2C */ bge lbl_8026296C -/* 80262844 0025F7A4 7F A3 EB 78 */ mr r3, r29 -/* 80262848 0025F7A8 7F 04 C3 78 */ mr r4, r24 -/* 8026284C 0025F7AC 38 A0 00 0A */ li r5, 0xa -/* 80262850 0025F7B0 4B FF F0 89 */ bl sub_802618d8 -/* 80262854 0025F7B4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80262858 0025F7B8 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 8026285C 0025F7BC 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80262860 0025F7C0 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 80262864 0025F7C4 38 61 02 44 */ addi r3, r1, 0x244 -/* 80262868 0025F7C8 38 B8 00 48 */ addi r5, r24, 0x48 -/* 8026286C 0025F7CC 48 0B 12 A5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80262870 0025F7D0 38 61 02 74 */ addi r3, r1, 0x274 -/* 80262874 0025F7D4 38 81 02 44 */ addi r4, r1, 0x244 -/* 80262878 0025F7D8 48 0B 02 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8026287C 0025F7DC 80 7D 03 60 */ lwz r3, 0x360(r29) -/* 80262880 0025F7E0 38 81 02 74 */ addi r4, r1, 0x274 -/* 80262884 0025F7E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80262888 0025F7E8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026288C 0025F7EC 7D 89 03 A6 */ mtctr r12 -/* 80262890 0025F7F0 4E 80 04 21 */ bctrl -/* 80262894 0025F7F4 80 7D 03 64 */ lwz r3, 0x364(r29) -/* 80262898 0025F7F8 38 81 02 74 */ addi r4, r1, 0x274 -/* 8026289C 0025F7FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802628A0 0025F800 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802628A4 0025F804 7D 89 03 A6 */ mtctr r12 -/* 802628A8 0025F808 4E 80 04 21 */ bctrl -/* 802628AC 0025F80C 80 7D 03 68 */ lwz r3, 0x368(r29) -/* 802628B0 0025F810 38 81 02 74 */ addi r4, r1, 0x274 -/* 802628B4 0025F814 81 83 00 00 */ lwz r12, 0(r3) -/* 802628B8 0025F818 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802628BC 0025F81C 7D 89 03 A6 */ mtctr r12 -/* 802628C0 0025F820 4E 80 04 21 */ bctrl -/* 802628C4 0025F824 80 7D 03 60 */ lwz r3, 0x360(r29) -/* 802628C8 0025F828 7F 04 C3 78 */ mr r4, r24 -/* 802628CC 0025F82C 81 83 00 00 */ lwz r12, 0(r3) -/* 802628D0 0025F830 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802628D4 0025F834 7D 89 03 A6 */ mtctr r12 -/* 802628D8 0025F838 4E 80 04 21 */ bctrl -/* 802628DC 0025F83C 80 7D 03 64 */ lwz r3, 0x364(r29) -/* 802628E0 0025F840 7F 04 C3 78 */ mr r4, r24 -/* 802628E4 0025F844 81 83 00 00 */ lwz r12, 0(r3) -/* 802628E8 0025F848 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802628EC 0025F84C 7D 89 03 A6 */ mtctr r12 -/* 802628F0 0025F850 4E 80 04 21 */ bctrl -/* 802628F4 0025F854 80 7D 03 68 */ lwz r3, 0x368(r29) -/* 802628F8 0025F858 7F 04 C3 78 */ mr r4, r24 -/* 802628FC 0025F85C 81 83 00 00 */ lwz r12, 0(r3) -/* 80262900 0025F860 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80262904 0025F864 7D 89 03 A6 */ mtctr r12 -/* 80262908 0025F868 4E 80 04 21 */ bctrl -/* 8026290C 0025F86C 80 7D 03 60 */ lwz r3, 0x360(r29) -/* 80262910 0025F870 38 80 00 01 */ li r4, 1 -/* 80262914 0025F874 48 0B 9F AD */ bl ForceParticleCreation__11CElementGenFi -/* 80262918 0025F878 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 8026291C 0025F87C 80 7D 03 64 */ lwz r3, 0x364(r29) -/* 80262920 0025F880 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f -/* 80262924 0025F884 7C 04 00 D0 */ neg r0, r4 -/* 80262928 0025F888 7C 00 23 78 */ or r0, r0, r4 -/* 8026292C 0025F88C 7C 04 FE 70 */ srawi r4, r0, 0x1f -/* 80262930 0025F890 38 84 00 03 */ addi r4, r4, 3 -/* 80262934 0025F894 48 0B 9F 8D */ bl ForceParticleCreation__11CElementGenFi -/* 80262938 0025F898 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 8026293C 0025F89C 38 80 00 05 */ li r4, 5 -/* 80262940 0025F8A0 80 7D 03 68 */ lwz r3, 0x368(r29) -/* 80262944 0025F8A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80262948 0025F8A8 41 82 00 08 */ beq lbl_80262950 -/* 8026294C 0025F8AC 38 80 00 03 */ li r4, 3 -lbl_80262950: -/* 80262950 0025F8B0 48 0B 9F 71 */ bl ForceParticleCreation__11CElementGenFi -/* 80262954 0025F8B4 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 80262958 0025F8B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8026295C 0025F8BC 40 82 00 24 */ bne lbl_80262980 -/* 80262960 0025F8C0 C3 38 00 00 */ lfs f25, 0(r24) -/* 80262964 0025F8C4 C3 18 00 04 */ lfs f24, 4(r24) -/* 80262968 0025F8C8 C2 F8 00 08 */ lfs f23, 8(r24) -lbl_8026296C: -/* 8026296C 0025F8CC 3B 18 00 60 */ addi r24, r24, 0x60 -/* 80262970 0025F8D0 39 EF 00 01 */ addi r15, r15, 1 -lbl_80262974: -/* 80262974 0025F8D4 80 01 0E A8 */ lwz r0, 0xea8(r1) -/* 80262978 0025F8D8 7C 0F 00 00 */ cmpw r15, r0 -/* 8026297C 0025F8DC 41 80 FE 60 */ blt lbl_802627DC -lbl_80262980: -/* 80262980 0025F8E0 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 80262984 0025F8E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80262988 0025F8E8 40 82 00 B8 */ bne lbl_80262A40 -/* 8026298C 0025F8EC 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80262990 0025F8F0 28 00 00 00 */ cmplwi r0, 0 -/* 80262994 0025F8F4 41 82 00 AC */ beq lbl_80262A40 -/* 80262998 0025F8F8 80 01 0E A8 */ lwz r0, 0xea8(r1) -/* 8026299C 0025F8FC 2C 00 00 03 */ cmpwi r0, 3 -/* 802629A0 0025F900 41 80 00 48 */ blt lbl_802629E8 -/* 802629A4 0025F904 C0 3D 02 F8 */ lfs f1, 0x2f8(r29) -/* 802629A8 0025F908 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) -/* 802629AC 0025F90C EC A1 C0 28 */ fsubs f5, f1, f24 -/* 802629B0 0025F910 C0 3D 02 FC */ lfs f1, 0x2fc(r29) -/* 802629B4 0025F914 EC 60 C8 28 */ fsubs f3, f0, f25 -/* 802629B8 0025F918 C0 02 BA 78 */ lfs f0, lbl_805AD798@sda21(r2) -/* 802629BC 0025F91C EC 81 B8 28 */ fsubs f4, f1, f23 -/* 802629C0 0025F920 EC 25 01 72 */ fmuls f1, f5, f5 -/* 802629C4 0025F924 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 802629C8 0025F928 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 802629CC 0025F92C EC 64 01 32 */ fmuls f3, f4, f4 -/* 802629D0 0025F930 D0 A1 00 B4 */ stfs f5, 0xb4(r1) -/* 802629D4 0025F934 EC 22 08 2A */ fadds f1, f2, f1 -/* 802629D8 0025F938 D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 802629DC 0025F93C EC 23 08 2A */ fadds f1, f3, f1 -/* 802629E0 0025F940 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802629E4 0025F944 40 81 00 5C */ ble lbl_80262A40 -lbl_802629E8: -/* 802629E8 0025F948 C0 62 BA 7C */ lfs f3, lbl_805AD79C@sda21(r2) -/* 802629EC 0025F94C 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 802629F0 0025F950 C0 5D 02 F8 */ lfs f2, 0x2f8(r29) -/* 802629F4 0025F954 C0 3D 02 FC */ lfs f1, 0x2fc(r29) -/* 802629F8 0025F958 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) -/* 802629FC 0025F95C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80262A00 0025F960 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80262A04 0025F964 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80262A08 0025F968 EC 58 10 FA */ fmadds f2, f24, f3, f2 -/* 80262A0C 0025F96C EC 37 08 FA */ fmadds f1, f23, f3, f1 -/* 80262A10 0025F970 EC 19 00 FA */ fmadds f0, f25, f3, f0 -/* 80262A14 0025F974 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 80262A18 0025F978 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 80262A1C 0025F97C D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 80262A20 0025F980 80 7D 03 64 */ lwz r3, 0x364(r29) -/* 80262A24 0025F984 81 83 00 00 */ lwz r12, 0(r3) -/* 80262A28 0025F988 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80262A2C 0025F98C 7D 89 03 A6 */ mtctr r12 -/* 80262A30 0025F990 4E 80 04 21 */ bctrl -/* 80262A34 0025F994 80 7D 03 64 */ lwz r3, 0x364(r29) -/* 80262A38 0025F998 38 80 00 02 */ li r4, 2 -/* 80262A3C 0025F99C 48 0B 9E 85 */ bl ForceParticleCreation__11CElementGenFi -lbl_80262A40: -/* 80262A40 0025F9A0 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80262A44 0025F9A4 28 00 00 00 */ cmplwi r0, 0 -/* 80262A48 0025F9A8 40 82 00 24 */ bne lbl_80262A6C -/* 80262A4C 0025F9AC 34 7D 02 F4 */ addic. r3, r29, 0x2f4 -/* 80262A50 0025F9B0 41 82 00 10 */ beq lbl_80262A60 -/* 80262A54 0025F9B4 D3 23 00 00 */ stfs f25, 0(r3) -/* 80262A58 0025F9B8 D3 03 00 04 */ stfs f24, 4(r3) -/* 80262A5C 0025F9BC D2 E3 00 08 */ stfs f23, 8(r3) -lbl_80262A60: -/* 80262A60 0025F9C0 38 00 00 01 */ li r0, 1 -/* 80262A64 0025F9C4 98 1D 03 00 */ stb r0, 0x300(r29) -/* 80262A68 0025F9C8 48 00 00 10 */ b lbl_80262A78 -lbl_80262A6C: -/* 80262A6C 0025F9CC D3 3D 02 F4 */ stfs f25, 0x2f4(r29) -/* 80262A70 0025F9D0 D3 1D 02 F8 */ stfs f24, 0x2f8(r29) -/* 80262A74 0025F9D4 D2 FD 02 FC */ stfs f23, 0x2fc(r29) -lbl_80262A78: -/* 80262A78 0025F9D8 A0 61 00 50 */ lhz r3, 0x50(r1) -/* 80262A7C 0025F9DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80262A80 0025F9E0 7C 03 00 40 */ cmplw r3, r0 -/* 80262A84 0025F9E4 41 82 00 D0 */ beq lbl_80262B54 -/* 80262A88 0025F9E8 A0 01 00 50 */ lhz r0, 0x50(r1) -/* 80262A8C 0025F9EC 7F C3 F3 78 */ mr r3, r30 -/* 80262A90 0025F9F0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80262A94 0025F9F4 B0 01 00 48 */ sth r0, 0x48(r1) -/* 80262A98 0025F9F8 4B DE 9A DD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80262A9C 0025F9FC 7C 64 1B 78 */ mr r4, r3 -/* 80262AA0 0025FA00 38 61 00 88 */ addi r3, r1, 0x88 -/* 80262AA4 0025FA04 4B E4 D1 ED */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80262AA8 0025FA08 81 E3 00 04 */ lwz r15, 4(r3) -/* 80262AAC 0025FA0C 28 0F 00 00 */ cmplwi r15, 0 -/* 80262AB0 0025FA10 41 82 00 A4 */ beq lbl_80262B54 -/* 80262AB4 0025FA14 7F A3 EB 78 */ mr r3, r29 -/* 80262AB8 0025FA18 7D E4 7B 78 */ mr r4, r15 -/* 80262ABC 0025FA1C 7F C5 F3 78 */ mr r5, r30 -/* 80262AC0 0025FA20 4B FF E9 71 */ bl sub_80261430 -/* 80262AC4 0025FA24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80262AC8 0025FA28 41 82 00 8C */ beq lbl_80262B54 -/* 80262ACC 0025FA2C 80 1D 00 F8 */ lwz r0, 0xf8(r29) -/* 80262AD0 0025FA30 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80262AD4 0025FA34 80 BD 00 FC */ lwz r5, 0xfc(r29) -/* 80262AD8 0025FA38 38 99 00 74 */ addi r4, r25, 0x74 -/* 80262ADC 0025FA3C 90 A1 01 9C */ stw r5, 0x19c(r1) -/* 80262AE0 0025FA40 90 01 01 98 */ stw r0, 0x198(r1) -/* 80262AE4 0025FA44 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80262AE8 0025FA48 80 BD 01 04 */ lwz r5, 0x104(r29) -/* 80262AEC 0025FA4C 90 A1 01 A4 */ stw r5, 0x1a4(r1) -/* 80262AF0 0025FA50 90 01 01 A0 */ stw r0, 0x1a0(r1) -/* 80262AF4 0025FA54 80 1D 01 08 */ lwz r0, 0x108(r29) -/* 80262AF8 0025FA58 90 01 01 A8 */ stw r0, 0x1a8(r1) -/* 80262AFC 0025FA5C A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 80262B00 0025FA60 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80262B04 0025FA64 A0 AF 00 08 */ lhz r5, 8(r15) -/* 80262B08 0025FA68 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80262B0C 0025FA6C B0 A1 00 3C */ sth r5, 0x3c(r1) -/* 80262B10 0025FA70 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80262B14 0025FA74 B0 A1 00 38 */ sth r5, 0x38(r1) -/* 80262B18 0025FA78 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80262B1C 0025FA7C B0 01 00 44 */ sth r0, 0x44(r1) -/* 80262B20 0025FA80 48 0B 1D 31 */ bl AsNormalized__9CVector3fCFv -/* 80262B24 0025FA84 FC 20 B0 90 */ fmr f1, f22 -/* 80262B28 0025FA88 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80262B2C 0025FA8C 38 9D 01 2C */ addi r4, r29, 0x12c -/* 80262B30 0025FA90 4B E6 09 19 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 80262B34 0025FA94 7F C3 F3 78 */ mr r3, r30 -/* 80262B38 0025FA98 38 81 00 44 */ addi r4, r1, 0x44 -/* 80262B3C 0025FA9C 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80262B40 0025FAA0 38 C1 00 34 */ addi r6, r1, 0x34 -/* 80262B44 0025FAA4 38 E1 01 B0 */ addi r7, r1, 0x1b0 -/* 80262B48 0025FAA8 39 01 01 98 */ addi r8, r1, 0x198 -/* 80262B4C 0025FAAC 39 21 00 A4 */ addi r9, r1, 0xa4 -/* 80262B50 0025FAB0 4B DE 75 51 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_80262B54: -/* 80262B54 0025FAB4 80 1D 00 F8 */ lwz r0, 0xf8(r29) -/* 80262B58 0025FAB8 FC 20 B0 90 */ fmr f1, f22 -/* 80262B5C 0025FABC 80 BD 00 FC */ lwz r5, 0xfc(r29) -/* 80262B60 0025FAC0 38 61 01 78 */ addi r3, r1, 0x178 -/* 80262B64 0025FAC4 38 9D 01 2C */ addi r4, r29, 0x12c -/* 80262B68 0025FAC8 90 A1 01 64 */ stw r5, 0x164(r1) -/* 80262B6C 0025FACC 90 01 01 60 */ stw r0, 0x160(r1) -/* 80262B70 0025FAD0 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80262B74 0025FAD4 80 BD 01 04 */ lwz r5, 0x104(r29) -/* 80262B78 0025FAD8 90 A1 01 6C */ stw r5, 0x16c(r1) -/* 80262B7C 0025FADC 90 01 01 68 */ stw r0, 0x168(r1) -/* 80262B80 0025FAE0 80 1D 01 08 */ lwz r0, 0x108(r29) -/* 80262B84 0025FAE4 90 01 01 70 */ stw r0, 0x170(r1) -/* 80262B88 0025FAE8 A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 80262B8C 0025FAEC B0 01 00 28 */ sth r0, 0x28(r1) -/* 80262B90 0025FAF0 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80262B94 0025FAF4 4B E6 08 B5 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 80262B98 0025FAF8 7F C3 F3 78 */ mr r3, r30 -/* 80262B9C 0025FAFC 7F A5 EB 78 */ mr r5, r29 -/* 80262BA0 0025FB00 38 81 00 2C */ addi r4, r1, 0x2c -/* 80262BA4 0025FB04 38 D9 00 0C */ addi r6, r25, 0xc -/* 80262BA8 0025FB08 38 E1 01 78 */ addi r7, r1, 0x178 -/* 80262BAC 0025FB0C 39 01 01 60 */ addi r8, r1, 0x160 -/* 80262BB0 0025FB10 4B DE 60 FD */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -/* 80262BB4 0025FB14 80 1F 00 00 */ lwz r0, 0(r31) -/* 80262BB8 0025FB18 54 00 20 36 */ slwi r0, r0, 4 -/* 80262BBC 0025FB1C 7C 7F 02 14 */ add r3, r31, r0 -/* 80262BC0 0025FB20 34 63 00 04 */ addic. r3, r3, 4 -/* 80262BC4 0025FB24 41 82 00 14 */ beq lbl_80262BD8 -/* 80262BC8 0025FB28 D3 A3 00 00 */ stfs f29, 0(r3) -/* 80262BCC 0025FB2C D3 83 00 04 */ stfs f28, 4(r3) -/* 80262BD0 0025FB30 D3 63 00 08 */ stfs f27, 8(r3) -/* 80262BD4 0025FB34 D3 43 00 0C */ stfs f26, 0xc(r3) -lbl_80262BD8: -/* 80262BD8 0025FB38 80 7F 00 00 */ lwz r3, 0(r31) -/* 80262BDC 0025FB3C 38 03 00 01 */ addi r0, r3, 1 -/* 80262BE0 0025FB40 90 1F 00 00 */ stw r0, 0(r31) -/* 80262BE4 0025FB44 80 1F 00 00 */ lwz r0, 0(r31) -/* 80262BE8 0025FB48 2C 00 00 20 */ cmpwi r0, 0x20 -/* 80262BEC 0025FB4C 40 82 01 B0 */ bne lbl_80262D9C -/* 80262BF0 0025FB50 80 A1 0E A8 */ lwz r5, 0xea8(r1) -/* 80262BF4 0025FB54 38 60 00 00 */ li r3, 0 -/* 80262BF8 0025FB58 2C 05 00 00 */ cmpwi r5, 0 -/* 80262BFC 0025FB5C 40 81 00 40 */ ble lbl_80262C3C -/* 80262C00 0025FB60 2C 05 00 08 */ cmpwi r5, 8 -/* 80262C04 0025FB64 38 85 FF F8 */ addi r4, r5, -8 -/* 80262C08 0025FB68 40 81 00 20 */ ble lbl_80262C28 -/* 80262C0C 0025FB6C 38 04 00 07 */ addi r0, r4, 7 -/* 80262C10 0025FB70 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262C14 0025FB74 7C 09 03 A6 */ mtctr r0 -/* 80262C18 0025FB78 2C 04 00 00 */ cmpwi r4, 0 -/* 80262C1C 0025FB7C 40 81 00 0C */ ble lbl_80262C28 -lbl_80262C20: -/* 80262C20 0025FB80 38 63 00 08 */ addi r3, r3, 8 -/* 80262C24 0025FB84 42 00 FF FC */ bdnz lbl_80262C20 -lbl_80262C28: -/* 80262C28 0025FB88 7C 03 28 50 */ subf r0, r3, r5 -/* 80262C2C 0025FB8C 7C 09 03 A6 */ mtctr r0 -/* 80262C30 0025FB90 7C 03 28 00 */ cmpw r3, r5 -/* 80262C34 0025FB94 40 80 00 08 */ bge lbl_80262C3C -lbl_80262C38: -/* 80262C38 0025FB98 42 00 00 00 */ bdnz lbl_80262C38 -lbl_80262C3C: -/* 80262C3C 0025FB9C 80 A1 1A AC */ lwz r5, 0x1aac(r1) -/* 80262C40 0025FBA0 38 60 00 00 */ li r3, 0 -/* 80262C44 0025FBA4 90 61 0E A8 */ stw r3, 0xea8(r1) -/* 80262C48 0025FBA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80262C4C 0025FBAC 40 81 00 40 */ ble lbl_80262C8C -/* 80262C50 0025FBB0 2C 05 00 08 */ cmpwi r5, 8 -/* 80262C54 0025FBB4 38 85 FF F8 */ addi r4, r5, -8 -/* 80262C58 0025FBB8 40 81 00 20 */ ble lbl_80262C78 -/* 80262C5C 0025FBBC 38 04 00 07 */ addi r0, r4, 7 -/* 80262C60 0025FBC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262C64 0025FBC4 7C 09 03 A6 */ mtctr r0 -/* 80262C68 0025FBC8 2C 04 00 00 */ cmpwi r4, 0 -/* 80262C6C 0025FBCC 40 81 00 0C */ ble lbl_80262C78 -lbl_80262C70: -/* 80262C70 0025FBD0 38 63 00 08 */ addi r3, r3, 8 -/* 80262C74 0025FBD4 42 00 FF FC */ bdnz lbl_80262C70 -lbl_80262C78: -/* 80262C78 0025FBD8 7C 03 28 50 */ subf r0, r3, r5 -/* 80262C7C 0025FBDC 7C 09 03 A6 */ mtctr r0 -/* 80262C80 0025FBE0 7C 03 28 00 */ cmpw r3, r5 -/* 80262C84 0025FBE4 40 80 00 08 */ bge lbl_80262C8C -lbl_80262C88: -/* 80262C88 0025FBE8 42 00 00 00 */ bdnz lbl_80262C88 -lbl_80262C8C: -/* 80262C8C 0025FBEC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 80262C90 0025FBF0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80262C94 0025FBF4 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 80262C98 0025FBF8 90 01 02 08 */ stw r0, 0x208(r1) -/* 80262C9C 0025FBFC 38 80 00 00 */ li r4, 0 -/* 80262CA0 0025FC00 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 80262CA4 0025FC04 34 01 26 C8 */ addic. r0, r1, 0x26c8 -/* 80262CA8 0025FC08 90 81 1A AC */ stw r4, 0x1aac(r1) -/* 80262CAC 0025FC0C 90 61 02 08 */ stw r3, 0x208(r1) -/* 80262CB0 0025FC10 41 82 00 8C */ beq lbl_80262D3C -/* 80262CB4 0025FC14 48 00 00 74 */ b lbl_80262D28 -lbl_80262CB8: -/* 80262CB8 0025FC18 28 14 00 00 */ cmplwi r20, 0 -/* 80262CBC 0025FC1C 41 82 00 64 */ beq lbl_80262D20 -/* 80262CC0 0025FC20 34 14 00 04 */ addic. r0, r20, 4 -/* 80262CC4 0025FC24 41 82 00 5C */ beq lbl_80262D20 -/* 80262CC8 0025FC28 80 D4 00 04 */ lwz r6, 4(r20) -/* 80262CCC 0025FC2C 38 60 00 00 */ li r3, 0 -/* 80262CD0 0025FC30 2C 06 00 00 */ cmpwi r6, 0 -/* 80262CD4 0025FC34 40 81 00 44 */ ble lbl_80262D18 -/* 80262CD8 0025FC38 2C 06 00 08 */ cmpwi r6, 8 -/* 80262CDC 0025FC3C 38 A6 FF F8 */ addi r5, r6, -8 -/* 80262CE0 0025FC40 40 81 00 20 */ ble lbl_80262D00 -/* 80262CE4 0025FC44 38 05 00 07 */ addi r0, r5, 7 -/* 80262CE8 0025FC48 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262CEC 0025FC4C 7C 09 03 A6 */ mtctr r0 -/* 80262CF0 0025FC50 2C 05 00 00 */ cmpwi r5, 0 -/* 80262CF4 0025FC54 40 81 00 0C */ ble lbl_80262D00 -lbl_80262CF8: -/* 80262CF8 0025FC58 38 63 00 08 */ addi r3, r3, 8 -/* 80262CFC 0025FC5C 42 00 FF FC */ bdnz lbl_80262CF8 -lbl_80262D00: -/* 80262D00 0025FC60 7C 03 30 50 */ subf r0, r3, r6 -/* 80262D04 0025FC64 7C 09 03 A6 */ mtctr r0 -/* 80262D08 0025FC68 7C 03 30 00 */ cmpw r3, r6 -/* 80262D0C 0025FC6C 40 80 00 0C */ bge lbl_80262D18 -lbl_80262D10: -/* 80262D10 0025FC70 38 63 00 01 */ addi r3, r3, 1 -/* 80262D14 0025FC74 42 00 FF FC */ bdnz lbl_80262D10 -lbl_80262D18: -/* 80262D18 0025FC78 38 00 00 00 */ li r0, 0 -/* 80262D1C 0025FC7C 90 14 00 04 */ stw r0, 4(r20) -lbl_80262D20: -/* 80262D20 0025FC80 3A 94 09 0C */ addi r20, r20, 0x90c -/* 80262D24 0025FC84 38 84 00 01 */ addi r4, r4, 1 -lbl_80262D28: -/* 80262D28 0025FC88 80 01 26 C8 */ lwz r0, 0x26c8(r1) -/* 80262D2C 0025FC8C 7C 04 00 00 */ cmpw r4, r0 -/* 80262D30 0025FC90 41 80 FF 88 */ blt lbl_80262CB8 -/* 80262D34 0025FC94 38 00 00 00 */ li r0, 0 -/* 80262D38 0025FC98 90 01 26 C8 */ stw r0, 0x26c8(r1) -lbl_80262D3C: -/* 80262D3C 0025FC9C 80 A1 41 F4 */ lwz r5, 0x41f4(r1) -/* 80262D40 0025FCA0 38 60 00 00 */ li r3, 0 -/* 80262D44 0025FCA4 98 61 02 40 */ stb r3, 0x240(r1) -/* 80262D48 0025FCA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80262D4C 0025FCAC 40 81 00 40 */ ble lbl_80262D8C -/* 80262D50 0025FCB0 2C 05 00 08 */ cmpwi r5, 8 -/* 80262D54 0025FCB4 38 85 FF F8 */ addi r4, r5, -8 -/* 80262D58 0025FCB8 40 81 00 20 */ ble lbl_80262D78 -/* 80262D5C 0025FCBC 38 04 00 07 */ addi r0, r4, 7 -/* 80262D60 0025FCC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262D64 0025FCC4 7C 09 03 A6 */ mtctr r0 -/* 80262D68 0025FCC8 2C 04 00 00 */ cmpwi r4, 0 -/* 80262D6C 0025FCCC 40 81 00 0C */ ble lbl_80262D78 -lbl_80262D70: -/* 80262D70 0025FCD0 38 63 00 08 */ addi r3, r3, 8 -/* 80262D74 0025FCD4 42 00 FF FC */ bdnz lbl_80262D70 -lbl_80262D78: -/* 80262D78 0025FCD8 7C 03 28 50 */ subf r0, r3, r5 -/* 80262D7C 0025FCDC 7C 09 03 A6 */ mtctr r0 -/* 80262D80 0025FCE0 7C 03 28 00 */ cmpw r3, r5 -/* 80262D84 0025FCE4 40 80 00 08 */ bge lbl_80262D8C -lbl_80262D88: -/* 80262D88 0025FCE8 42 00 00 00 */ bdnz lbl_80262D88 -lbl_80262D8C: -/* 80262D8C 0025FCEC 38 00 00 00 */ li r0, 0 -/* 80262D90 0025FCF0 38 60 00 01 */ li r3, 1 -/* 80262D94 0025FCF4 90 01 41 F4 */ stw r0, 0x41f4(r1) -/* 80262D98 0025FCF8 48 00 05 80 */ b lbl_80263318 -lbl_80262D9C: -/* 80262D9C 0025FCFC 80 A1 0E A8 */ lwz r5, 0xea8(r1) -/* 80262DA0 0025FD00 38 60 00 00 */ li r3, 0 -/* 80262DA4 0025FD04 2C 05 00 00 */ cmpwi r5, 0 -/* 80262DA8 0025FD08 40 81 00 44 */ ble lbl_80262DEC -/* 80262DAC 0025FD0C 2C 05 00 08 */ cmpwi r5, 8 -/* 80262DB0 0025FD10 38 85 FF F8 */ addi r4, r5, -8 -/* 80262DB4 0025FD14 40 81 00 20 */ ble lbl_80262DD4 -/* 80262DB8 0025FD18 38 04 00 07 */ addi r0, r4, 7 -/* 80262DBC 0025FD1C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262DC0 0025FD20 7C 09 03 A6 */ mtctr r0 -/* 80262DC4 0025FD24 2C 04 00 00 */ cmpwi r4, 0 -/* 80262DC8 0025FD28 40 81 00 0C */ ble lbl_80262DD4 -lbl_80262DCC: -/* 80262DCC 0025FD2C 38 63 00 08 */ addi r3, r3, 8 -/* 80262DD0 0025FD30 42 00 FF FC */ bdnz lbl_80262DCC -lbl_80262DD4: -/* 80262DD4 0025FD34 7C 03 28 50 */ subf r0, r3, r5 -/* 80262DD8 0025FD38 7C 09 03 A6 */ mtctr r0 -/* 80262DDC 0025FD3C 7C 03 28 00 */ cmpw r3, r5 -/* 80262DE0 0025FD40 40 80 00 0C */ bge lbl_80262DEC -lbl_80262DE4: -/* 80262DE4 0025FD44 38 63 00 01 */ addi r3, r3, 1 -/* 80262DE8 0025FD48 42 00 FF FC */ bdnz lbl_80262DE4 -lbl_80262DEC: -/* 80262DEC 0025FD4C 38 00 00 00 */ li r0, 0 -/* 80262DF0 0025FD50 90 01 0E A8 */ stw r0, 0xea8(r1) -lbl_80262DF4: -/* 80262DF4 0025FD54 80 A1 1A AC */ lwz r5, 0x1aac(r1) -/* 80262DF8 0025FD58 38 60 00 00 */ li r3, 0 -/* 80262DFC 0025FD5C 2C 05 00 00 */ cmpwi r5, 0 -/* 80262E00 0025FD60 40 81 00 44 */ ble lbl_80262E44 -/* 80262E04 0025FD64 2C 05 00 08 */ cmpwi r5, 8 -/* 80262E08 0025FD68 38 85 FF F8 */ addi r4, r5, -8 -/* 80262E0C 0025FD6C 40 81 00 20 */ ble lbl_80262E2C -/* 80262E10 0025FD70 38 04 00 07 */ addi r0, r4, 7 -/* 80262E14 0025FD74 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262E18 0025FD78 7C 09 03 A6 */ mtctr r0 -/* 80262E1C 0025FD7C 2C 04 00 00 */ cmpwi r4, 0 -/* 80262E20 0025FD80 40 81 00 0C */ ble lbl_80262E2C -lbl_80262E24: -/* 80262E24 0025FD84 38 63 00 08 */ addi r3, r3, 8 -/* 80262E28 0025FD88 42 00 FF FC */ bdnz lbl_80262E24 -lbl_80262E2C: -/* 80262E2C 0025FD8C 7C 03 28 50 */ subf r0, r3, r5 -/* 80262E30 0025FD90 7C 09 03 A6 */ mtctr r0 -/* 80262E34 0025FD94 7C 03 28 00 */ cmpw r3, r5 -/* 80262E38 0025FD98 40 80 00 0C */ bge lbl_80262E44 -lbl_80262E3C: -/* 80262E3C 0025FD9C 38 63 00 01 */ addi r3, r3, 1 -/* 80262E40 0025FDA0 42 00 FF FC */ bdnz lbl_80262E3C -lbl_80262E44: -/* 80262E44 0025FDA4 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 80262E48 0025FDA8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80262E4C 0025FDAC 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 80262E50 0025FDB0 38 80 00 00 */ li r4, 0 -/* 80262E54 0025FDB4 90 01 02 08 */ stw r0, 0x208(r1) -/* 80262E58 0025FDB8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 80262E5C 0025FDBC 90 81 1A AC */ stw r4, 0x1aac(r1) -/* 80262E60 0025FDC0 90 01 02 08 */ stw r0, 0x208(r1) -lbl_80262E64: -/* 80262E64 0025FDC4 3A F7 00 80 */ addi r23, r23, 0x80 -/* 80262E68 0025FDC8 3A 10 00 01 */ addi r16, r16, 1 -lbl_80262E6C: -/* 80262E6C 0025FDCC 7C 10 88 00 */ cmpw r16, r17 -/* 80262E70 0025FDD0 41 80 F8 40 */ blt lbl_802626B0 -/* 80262E74 0025FDD4 80 A1 41 F4 */ lwz r5, 0x41f4(r1) -/* 80262E78 0025FDD8 38 60 00 00 */ li r3, 0 -/* 80262E7C 0025FDDC 2C 05 00 00 */ cmpwi r5, 0 -/* 80262E80 0025FDE0 40 81 00 44 */ ble lbl_80262EC4 -/* 80262E84 0025FDE4 2C 05 00 08 */ cmpwi r5, 8 -/* 80262E88 0025FDE8 38 85 FF F8 */ addi r4, r5, -8 -/* 80262E8C 0025FDEC 40 81 00 20 */ ble lbl_80262EAC -/* 80262E90 0025FDF0 38 04 00 07 */ addi r0, r4, 7 -/* 80262E94 0025FDF4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80262E98 0025FDF8 7C 09 03 A6 */ mtctr r0 -/* 80262E9C 0025FDFC 2C 04 00 00 */ cmpwi r4, 0 -/* 80262EA0 0025FE00 40 81 00 0C */ ble lbl_80262EAC -lbl_80262EA4: -/* 80262EA4 0025FE04 38 63 00 08 */ addi r3, r3, 8 -/* 80262EA8 0025FE08 42 00 FF FC */ bdnz lbl_80262EA4 -lbl_80262EAC: -/* 80262EAC 0025FE0C 7C 03 28 50 */ subf r0, r3, r5 -/* 80262EB0 0025FE10 7C 09 03 A6 */ mtctr r0 -/* 80262EB4 0025FE14 7C 03 28 00 */ cmpw r3, r5 -/* 80262EB8 0025FE18 40 80 00 0C */ bge lbl_80262EC4 -lbl_80262EBC: -/* 80262EBC 0025FE1C 38 63 00 01 */ addi r3, r3, 1 -/* 80262EC0 0025FE20 42 00 FF FC */ bdnz lbl_80262EBC -lbl_80262EC4: -/* 80262EC4 0025FE24 38 00 00 00 */ li r0, 0 -/* 80262EC8 0025FE28 80 AD 98 20 */ lwz r5, lbl_805A83E0@sda21(r13) -/* 80262ECC 0025FE2C 90 01 41 F4 */ stw r0, 0x41f4(r1) -/* 80262ED0 0025FE30 38 60 00 00 */ li r3, 0 -/* 80262ED4 0025FE34 38 80 00 01 */ li r4, 1 -/* 80262ED8 0025FE38 81 FE 08 4C */ lwz r15, 0x84c(r30) -/* 80262EDC 0025FE3C 48 12 70 19 */ bl __shl2i -/* 80262EE0 0025FE40 39 00 00 00 */ li r8, 0 -/* 80262EE4 0025FE44 38 00 00 01 */ li r0, 1 -/* 80262EE8 0025FE48 90 81 01 4C */ stw r4, 0x14c(r1) -/* 80262EEC 0025FE4C 7D E7 7B 78 */ mr r7, r15 -/* 80262EF0 0025FE50 38 81 41 F4 */ addi r4, r1, 0x41f4 -/* 80262EF4 0025FE54 38 A1 02 28 */ addi r5, r1, 0x228 -/* 80262EF8 0025FE58 90 61 01 48 */ stw r3, 0x148(r1) -/* 80262EFC 0025FE5C 7F C3 F3 78 */ mr r3, r30 -/* 80262F00 0025FE60 38 C1 01 48 */ addi r6, r1, 0x148 -/* 80262F04 0025FE64 91 01 01 54 */ stw r8, 0x154(r1) -/* 80262F08 0025FE68 91 01 01 50 */ stw r8, 0x150(r1) -/* 80262F0C 0025FE6C 90 01 01 58 */ stw r0, 0x158(r1) -/* 80262F10 0025FE70 4B DE 98 11 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80262F14 0025FE74 7E D0 B3 78 */ mr r16, r22 -/* 80262F18 0025FE78 48 00 00 C4 */ b lbl_80262FDC -lbl_80262F1C: -/* 80262F1C 0025FE7C A0 10 00 00 */ lhz r0, 0(r16) -/* 80262F20 0025FE80 7F C3 F3 78 */ mr r3, r30 -/* 80262F24 0025FE84 38 81 00 24 */ addi r4, r1, 0x24 -/* 80262F28 0025FE88 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80262F2C 0025FE8C 4B DE 96 49 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80262F30 0025FE90 7C 64 1B 78 */ mr r4, r3 -/* 80262F34 0025FE94 38 61 00 80 */ addi r3, r1, 0x80 -/* 80262F38 0025FE98 4B E4 33 01 */ bl "__ct__29TCastToPtr<15CSnakeWeedSwarm>FP7CEntity" -/* 80262F3C 0025FE9C 82 E3 00 04 */ lwz r23, 4(r3) -/* 80262F40 0025FEA0 28 17 00 00 */ cmplwi r23, 0 -/* 80262F44 0025FEA4 41 82 00 94 */ beq lbl_80262FD8 -/* 80262F48 0025FEA8 7E 58 93 78 */ mr r24, r18 -/* 80262F4C 0025FEAC 7E AF AB 78 */ mr r15, r21 -/* 80262F50 0025FEB0 48 00 00 80 */ b lbl_80262FD0 -lbl_80262F54: -/* 80262F54 0025FEB4 80 1B 01 68 */ lwz r0, 0x168(r27) -/* 80262F58 0025FEB8 7C 1A C0 00 */ cmpw r26, r24 -/* 80262F5C 0025FEBC 7C 60 7A 14 */ add r3, r0, r15 -/* 80262F60 0025FEC0 41 82 00 68 */ beq lbl_80262FC8 -/* 80262F64 0025FEC4 88 03 00 00 */ lbz r0, 0(r3) -/* 80262F68 0025FEC8 28 00 00 00 */ cmplwi r0, 0 -/* 80262F6C 0025FECC 41 82 00 5C */ beq lbl_80262FC8 -/* 80262F70 0025FED0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80262F74 0025FED4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80262F78 0025FED8 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80262F7C 0025FEDC C0 0D 98 24 */ lfs f0, lbl_805A83E4@sda21(r13) -/* 80262F80 0025FEE0 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 80262F84 0025FEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80262F88 0025FEE8 D0 41 00 E8 */ stfs f2, 0xe8(r1) -/* 80262F8C 0025FEEC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80262F90 0025FEF0 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80262F94 0025FEF4 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 80262F98 0025FEF8 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80262F9C 0025FEFC 40 80 00 0C */ bge lbl_80262FA8 -/* 80262FA0 0025FF00 38 6D 98 24 */ addi r3, r13, lbl_805A83E4@sda21 -/* 80262FA4 0025FF04 48 00 00 08 */ b lbl_80262FAC -lbl_80262FA8: -/* 80262FA8 0025FF08 38 61 00 54 */ addi r3, r1, 0x54 -lbl_80262FAC: -/* 80262FAC 0025FF0C C0 23 00 00 */ lfs f1, 0(r3) -/* 80262FB0 0025FF10 7E E3 BB 78 */ mr r3, r23 -/* 80262FB4 0025FF14 C0 17 01 00 */ lfs f0, 0x100(r23) -/* 80262FB8 0025FF18 7F C4 F3 78 */ mr r4, r30 -/* 80262FBC 0025FF1C 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 80262FC0 0025FF20 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80262FC4 0025FF24 4B FD 9A 85 */ bl sub_8023ca48 -lbl_80262FC8: -/* 80262FC8 0025FF28 39 EF 00 80 */ addi r15, r15, 0x80 -/* 80262FCC 0025FF2C 3B 18 00 01 */ addi r24, r24, 1 -lbl_80262FD0: -/* 80262FD0 0025FF30 7C 18 88 00 */ cmpw r24, r17 -/* 80262FD4 0025FF34 41 80 FF 80 */ blt lbl_80262F54 -lbl_80262FD8: -/* 80262FD8 0025FF38 3A 10 00 02 */ addi r16, r16, 2 -lbl_80262FDC: -/* 80262FDC 0025FF3C 80 01 41 F4 */ lwz r0, 0x41f4(r1) -/* 80262FE0 0025FF40 54 00 08 3C */ slwi r0, r0, 1 -/* 80262FE4 0025FF44 7C 16 02 14 */ add r0, r22, r0 -/* 80262FE8 0025FF48 7C 10 00 40 */ cmplw r16, r0 -/* 80262FEC 0025FF4C 40 82 FF 30 */ bne lbl_80262F1C -/* 80262FF0 0025FF50 7E 50 93 78 */ mr r16, r18 -/* 80262FF4 0025FF54 48 00 02 08 */ b lbl_802631FC -lbl_80262FF8: -/* 80262FF8 0025FF58 80 1B 01 68 */ lwz r0, 0x168(r27) -/* 80262FFC 0025FF5C 7C 1A 80 00 */ cmpw r26, r16 -/* 80263000 0025FF60 7D E0 AA 14 */ add r15, r0, r21 -/* 80263004 0025FF64 41 82 01 F0 */ beq lbl_802631F4 -/* 80263008 0025FF68 88 0F 00 00 */ lbz r0, 0(r15) -/* 8026300C 0025FF6C 28 00 00 00 */ cmplwi r0, 0 -/* 80263010 0025FF70 41 82 01 E4 */ beq lbl_802631F4 -/* 80263014 0025FF74 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80263018 0025FF78 38 00 00 00 */ li r0, 0 -/* 8026301C 0025FF7C 90 01 02 A4 */ stw r0, 0x2a4(r1) -/* 80263020 0025FF80 38 60 00 00 */ li r3, 0 -/* 80263024 0025FF84 80 AD 98 28 */ lwz r5, lbl_805A83E8@sda21(r13) -/* 80263028 0025FF88 B0 81 00 4C */ sth r4, 0x4c(r1) -/* 8026302C 0025FF8C 38 80 00 01 */ li r4, 1 -/* 80263030 0025FF90 C3 41 00 68 */ lfs f26, 0x68(r1) -/* 80263034 0025FF94 C2 EF 00 0C */ lfs f23, 0xc(r15) -/* 80263038 0025FF98 C3 0F 00 10 */ lfs f24, 0x10(r15) -/* 8026303C 0025FF9C C3 2F 00 14 */ lfs f25, 0x14(r15) -/* 80263040 0025FFA0 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80263044 0025FFA4 90 01 00 78 */ stw r0, 0x78(r1) -/* 80263048 0025FFA8 48 12 6E AD */ bl __shl2i -/* 8026304C 0025FFAC 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80263050 0025FFB0 80 A1 00 7C */ lwz r5, 0x7c(r1) -/* 80263054 0025FFB4 7C 00 1B 78 */ or r0, r0, r3 -/* 80263058 0025FFB8 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8026305C 0025FFBC 7C A5 23 78 */ or r5, r5, r4 -/* 80263060 0025FFC0 90 01 00 78 */ stw r0, 0x78(r1) -/* 80263064 0025FFC4 38 81 00 78 */ addi r4, r1, 0x78 -/* 80263068 0025FFC8 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 8026306C 0025FFCC 48 06 C8 49 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 80263070 0025FFD0 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80263074 0025FFD4 D2 E1 01 F8 */ stfs f23, 0x1f8(r1) -/* 80263078 0025FFD8 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 8026307C 0025FFDC 7F A3 EB 78 */ mr r3, r29 -/* 80263080 0025FFE0 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 80263084 0025FFE4 7F C4 F3 78 */ mr r4, r30 -/* 80263088 0025FFE8 38 A1 41 F4 */ addi r5, r1, 0x41f4 -/* 8026308C 0025FFEC 38 C1 01 E8 */ addi r6, r1, 0x1e8 -/* 80263090 0025FFF0 D3 01 01 FC */ stfs f24, 0x1fc(r1) -/* 80263094 0025FFF4 38 E1 00 4C */ addi r7, r1, 0x4c -/* 80263098 0025FFF8 39 01 02 A4 */ addi r8, r1, 0x2a4 -/* 8026309C 0025FFFC D3 21 02 00 */ stfs f25, 0x200(r1) -/* 802630A0 00260000 D3 41 02 04 */ stfs f26, 0x204(r1) -/* 802630A4 00260004 4B FF EF 15 */ bl sub_80261fb8 -/* 802630A8 00260008 A0 61 00 4C */ lhz r3, 0x4c(r1) -/* 802630AC 0026000C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802630B0 00260010 7C 03 00 40 */ cmplw r3, r0 -/* 802630B4 00260014 41 82 00 D0 */ beq lbl_80263184 -/* 802630B8 00260018 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 802630BC 0026001C 7F C3 F3 78 */ mr r3, r30 -/* 802630C0 00260020 38 81 00 20 */ addi r4, r1, 0x20 -/* 802630C4 00260024 B0 01 00 20 */ sth r0, 0x20(r1) -/* 802630C8 00260028 4B DE 94 AD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802630CC 0026002C 7C 64 1B 78 */ mr r4, r3 -/* 802630D0 00260030 38 61 00 6C */ addi r3, r1, 0x6c -/* 802630D4 00260034 4B E4 CB BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 802630D8 00260038 82 E3 00 04 */ lwz r23, 4(r3) -/* 802630DC 0026003C 28 17 00 00 */ cmplwi r23, 0 -/* 802630E0 00260040 41 82 00 A4 */ beq lbl_80263184 -/* 802630E4 00260044 7F A3 EB 78 */ mr r3, r29 -/* 802630E8 00260048 7E E4 BB 78 */ mr r4, r23 -/* 802630EC 0026004C 7F C5 F3 78 */ mr r5, r30 -/* 802630F0 00260050 4B FF E3 41 */ bl sub_80261430 -/* 802630F4 00260054 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802630F8 00260058 41 82 00 8C */ beq lbl_80263184 -/* 802630FC 0026005C 80 1D 00 F8 */ lwz r0, 0xf8(r29) -/* 80263100 00260060 38 61 00 98 */ addi r3, r1, 0x98 -/* 80263104 00260064 80 BD 00 FC */ lwz r5, 0xfc(r29) -/* 80263108 00260068 38 8F 00 74 */ addi r4, r15, 0x74 -/* 8026310C 0026006C 90 A1 01 14 */ stw r5, 0x114(r1) -/* 80263110 00260070 90 01 01 10 */ stw r0, 0x110(r1) -/* 80263114 00260074 80 1D 01 00 */ lwz r0, 0x100(r29) -/* 80263118 00260078 80 BD 01 04 */ lwz r5, 0x104(r29) -/* 8026311C 0026007C 90 A1 01 1C */ stw r5, 0x11c(r1) -/* 80263120 00260080 90 01 01 18 */ stw r0, 0x118(r1) -/* 80263124 00260084 80 1D 01 08 */ lwz r0, 0x108(r29) -/* 80263128 00260088 90 01 01 20 */ stw r0, 0x120(r1) -/* 8026312C 0026008C A0 1D 00 EC */ lhz r0, 0xec(r29) -/* 80263130 00260090 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80263134 00260094 A0 B7 00 08 */ lhz r5, 8(r23) -/* 80263138 00260098 B0 01 00 08 */ sth r0, 8(r1) -/* 8026313C 0026009C B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80263140 002600A0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80263144 002600A4 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 80263148 002600A8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8026314C 002600AC B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80263150 002600B0 48 0B 17 01 */ bl AsNormalized__9CVector3fCFv -/* 80263154 002600B4 FC 20 B0 90 */ fmr f1, f22 -/* 80263158 002600B8 38 61 01 28 */ addi r3, r1, 0x128 -/* 8026315C 002600BC 38 9D 01 2C */ addi r4, r29, 0x12c -/* 80263160 002600C0 4B E6 02 E9 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 80263164 002600C4 7F C3 F3 78 */ mr r3, r30 -/* 80263168 002600C8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8026316C 002600CC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80263170 002600D0 38 C1 00 0C */ addi r6, r1, 0xc -/* 80263174 002600D4 38 E1 01 28 */ addi r7, r1, 0x128 -/* 80263178 002600D8 39 01 01 10 */ addi r8, r1, 0x110 -/* 8026317C 002600DC 39 21 00 98 */ addi r9, r1, 0x98 -/* 80263180 002600E0 4B DE 6F 21 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_80263184: -/* 80263184 002600E4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80263188 002600E8 80 A1 02 A4 */ lwz r5, 0x2a4(r1) -/* 8026318C 002600EC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 80263190 002600F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80263194 002600F4 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 80263198 002600F8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8026319C 002600FC 2C 05 00 00 */ cmpwi r5, 0 -/* 802631A0 00260100 38 60 00 00 */ li r3, 0 -/* 802631A4 00260104 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 802631A8 00260108 40 81 00 44 */ ble lbl_802631EC -/* 802631AC 0026010C 2C 05 00 08 */ cmpwi r5, 8 -/* 802631B0 00260110 38 85 FF F8 */ addi r4, r5, -8 -/* 802631B4 00260114 40 81 00 20 */ ble lbl_802631D4 -/* 802631B8 00260118 38 04 00 07 */ addi r0, r4, 7 -/* 802631BC 0026011C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802631C0 00260120 7C 09 03 A6 */ mtctr r0 -/* 802631C4 00260124 2C 04 00 00 */ cmpwi r4, 0 -/* 802631C8 00260128 40 81 00 0C */ ble lbl_802631D4 -lbl_802631CC: -/* 802631CC 0026012C 38 63 00 08 */ addi r3, r3, 8 -/* 802631D0 00260130 42 00 FF FC */ bdnz lbl_802631CC -lbl_802631D4: -/* 802631D4 00260134 7C 03 28 50 */ subf r0, r3, r5 -/* 802631D8 00260138 7C 09 03 A6 */ mtctr r0 -/* 802631DC 0026013C 7C 03 28 00 */ cmpw r3, r5 -/* 802631E0 00260140 40 80 00 0C */ bge lbl_802631EC -lbl_802631E4: -/* 802631E4 00260144 38 63 00 01 */ addi r3, r3, 1 -/* 802631E8 00260148 42 00 FF FC */ bdnz lbl_802631E4 -lbl_802631EC: -/* 802631EC 0026014C 38 00 00 00 */ li r0, 0 -/* 802631F0 00260150 90 01 02 A4 */ stw r0, 0x2a4(r1) -lbl_802631F4: -/* 802631F4 00260154 3A B5 00 80 */ addi r21, r21, 0x80 -/* 802631F8 00260158 3A 10 00 01 */ addi r16, r16, 1 -lbl_802631FC: -/* 802631FC 0026015C 7C 10 88 00 */ cmpw r16, r17 -/* 80263200 00260160 41 80 FD F8 */ blt lbl_80262FF8 -/* 80263204 00260164 34 01 26 C8 */ addic. r0, r1, 0x26c8 -/* 80263208 00260168 41 82 00 94 */ beq lbl_8026329C -/* 8026320C 0026016C 7E 86 A3 78 */ mr r6, r20 -/* 80263210 00260170 38 60 00 00 */ li r3, 0 -/* 80263214 00260174 48 00 00 74 */ b lbl_80263288 -lbl_80263218: -/* 80263218 00260178 28 06 00 00 */ cmplwi r6, 0 -/* 8026321C 0026017C 41 82 00 64 */ beq lbl_80263280 -/* 80263220 00260180 34 06 00 04 */ addic. r0, r6, 4 -/* 80263224 00260184 41 82 00 5C */ beq lbl_80263280 -/* 80263228 00260188 80 E6 00 04 */ lwz r7, 4(r6) -/* 8026322C 0026018C 38 80 00 00 */ li r4, 0 -/* 80263230 00260190 2C 07 00 00 */ cmpwi r7, 0 -/* 80263234 00260194 40 81 00 44 */ ble lbl_80263278 -/* 80263238 00260198 2C 07 00 08 */ cmpwi r7, 8 -/* 8026323C 0026019C 38 A7 FF F8 */ addi r5, r7, -8 -/* 80263240 002601A0 40 81 00 20 */ ble lbl_80263260 -/* 80263244 002601A4 38 05 00 07 */ addi r0, r5, 7 -/* 80263248 002601A8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8026324C 002601AC 7C 09 03 A6 */ mtctr r0 -/* 80263250 002601B0 2C 05 00 00 */ cmpwi r5, 0 -/* 80263254 002601B4 40 81 00 0C */ ble lbl_80263260 -lbl_80263258: -/* 80263258 002601B8 38 84 00 08 */ addi r4, r4, 8 -/* 8026325C 002601BC 42 00 FF FC */ bdnz lbl_80263258 -lbl_80263260: -/* 80263260 002601C0 7C 04 38 50 */ subf r0, r4, r7 -/* 80263264 002601C4 7C 09 03 A6 */ mtctr r0 -/* 80263268 002601C8 7C 04 38 00 */ cmpw r4, r7 -/* 8026326C 002601CC 40 80 00 0C */ bge lbl_80263278 -lbl_80263270: -/* 80263270 002601D0 38 84 00 01 */ addi r4, r4, 1 -/* 80263274 002601D4 42 00 FF FC */ bdnz lbl_80263270 -lbl_80263278: -/* 80263278 002601D8 38 00 00 00 */ li r0, 0 -/* 8026327C 002601DC 90 06 00 04 */ stw r0, 4(r6) -lbl_80263280: -/* 80263280 002601E0 38 C6 09 0C */ addi r6, r6, 0x90c -/* 80263284 002601E4 38 63 00 01 */ addi r3, r3, 1 -lbl_80263288: -/* 80263288 002601E8 80 01 26 C8 */ lwz r0, 0x26c8(r1) -/* 8026328C 002601EC 7C 03 00 00 */ cmpw r3, r0 -/* 80263290 002601F0 41 80 FF 88 */ blt lbl_80263218 -/* 80263294 002601F4 38 00 00 00 */ li r0, 0 -/* 80263298 002601F8 90 01 26 C8 */ stw r0, 0x26c8(r1) -lbl_8026329C: -/* 8026329C 002601FC 38 60 00 00 */ li r3, 0 -/* 802632A0 00260200 80 01 49 F8 */ lwz r0, 0x49f8(r1) -/* 802632A4 00260204 98 61 02 40 */ stb r3, 0x240(r1) -/* 802632A8 00260208 7E 52 02 14 */ add r18, r18, r0 -lbl_802632AC: -/* 802632AC 0026020C 80 1B 01 60 */ lwz r0, 0x160(r27) -/* 802632B0 00260210 7C 12 00 00 */ cmpw r18, r0 -/* 802632B4 00260214 41 80 F1 64 */ blt lbl_80262418 -/* 802632B8 00260218 7F A3 EB 78 */ mr r3, r29 -/* 802632BC 0026021C 4B FF E3 E9 */ bl sub_802616a4 -/* 802632C0 00260220 80 A1 41 F4 */ lwz r5, 0x41f4(r1) -/* 802632C4 00260224 38 60 00 00 */ li r3, 0 -/* 802632C8 00260228 2C 05 00 00 */ cmpwi r5, 0 -/* 802632CC 0026022C 40 81 00 40 */ ble lbl_8026330C -/* 802632D0 00260230 2C 05 00 08 */ cmpwi r5, 8 -/* 802632D4 00260234 38 85 FF F8 */ addi r4, r5, -8 -/* 802632D8 00260238 40 81 00 20 */ ble lbl_802632F8 -/* 802632DC 0026023C 38 04 00 07 */ addi r0, r4, 7 -/* 802632E0 00260240 54 00 E8 FE */ srwi r0, r0, 3 -/* 802632E4 00260244 7C 09 03 A6 */ mtctr r0 -/* 802632E8 00260248 2C 04 00 00 */ cmpwi r4, 0 -/* 802632EC 0026024C 40 81 00 0C */ ble lbl_802632F8 -lbl_802632F0: -/* 802632F0 00260250 38 63 00 08 */ addi r3, r3, 8 -/* 802632F4 00260254 42 00 FF FC */ bdnz lbl_802632F0 -lbl_802632F8: -/* 802632F8 00260258 7C 03 28 50 */ subf r0, r3, r5 -/* 802632FC 0026025C 7C 09 03 A6 */ mtctr r0 -/* 80263300 00260260 7C 03 28 00 */ cmpw r3, r5 -/* 80263304 00260264 40 80 00 08 */ bge lbl_8026330C -lbl_80263308: -/* 80263308 00260268 42 00 00 00 */ bdnz lbl_80263308 -lbl_8026330C: -/* 8026330C 0026026C 38 00 00 00 */ li r0, 0 -/* 80263310 00260270 7E 63 9B 78 */ mr r3, r19 -/* 80263314 00260274 90 01 41 F4 */ stw r0, 0x41f4(r1) -lbl_80263318: -/* 80263318 00260278 38 00 4A E8 */ li r0, 0x4ae8 -/* 8026331C 0026027C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 80263320 00260280 CB E1 4A E0 */ lfd f31, 0x4ae0(r1) -/* 80263324 00260284 38 00 4A D8 */ li r0, 0x4ad8 -/* 80263328 00260288 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 8026332C 0026028C CB C1 4A D0 */ lfd f30, 0x4ad0(r1) -/* 80263330 00260290 38 00 4A C8 */ li r0, 0x4ac8 -/* 80263334 00260294 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 80263338 00260298 CB A1 4A C0 */ lfd f29, 0x4ac0(r1) -/* 8026333C 0026029C 38 00 4A B8 */ li r0, 0x4ab8 -/* 80263340 002602A0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 -/* 80263344 002602A4 CB 81 4A B0 */ lfd f28, 0x4ab0(r1) -/* 80263348 002602A8 38 00 4A A8 */ li r0, 0x4aa8 -/* 8026334C 002602AC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 -/* 80263350 002602B0 CB 61 4A A0 */ lfd f27, 0x4aa0(r1) -/* 80263354 002602B4 38 00 4A 98 */ li r0, 0x4a98 -/* 80263358 002602B8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 -/* 8026335C 002602BC CB 41 4A 90 */ lfd f26, 0x4a90(r1) -/* 80263360 002602C0 38 00 4A 88 */ li r0, 0x4a88 -/* 80263364 002602C4 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 -/* 80263368 002602C8 CB 21 4A 80 */ lfd f25, 0x4a80(r1) -/* 8026336C 002602CC 38 00 4A 78 */ li r0, 0x4a78 -/* 80263370 002602D0 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 -/* 80263374 002602D4 CB 01 4A 70 */ lfd f24, 0x4a70(r1) -/* 80263378 002602D8 38 00 4A 68 */ li r0, 0x4a68 -/* 8026337C 002602DC 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 -/* 80263380 002602E0 CA E1 4A 60 */ lfd f23, 0x4a60(r1) -/* 80263384 002602E4 38 00 4A 58 */ li r0, 0x4a58 -/* 80263388 002602E8 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0 -/* 8026338C 002602EC CA C1 4A 50 */ lfd f22, 0x4a50(r1) -/* 80263390 002602F0 B9 C1 4A 08 */ lmw r14, 0x4a08(r1) -/* 80263394 002602F4 80 01 4A F4 */ lwz r0, 0x4af4(r1) -/* 80263398 002602F8 7C 08 03 A6 */ mtlr r0 -/* 8026339C 002602FC 38 21 4A F0 */ addi r1, r1, 0x4af0 -/* 802633A0 00260300 4E 80 00 20 */ blr - -.global AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__16CNewFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 802633A4 00260304 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802633A8 00260308 7C 08 02 A6 */ mflr r0 -/* 802633AC 0026030C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802633B0 00260310 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802633B4 00260314 7C DF 33 78 */ mr r31, r6 -/* 802633B8 00260318 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802633BC 0026031C 7C BE 2B 78 */ mr r30, r5 -/* 802633C0 00260320 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802633C4 00260324 7C 9D 23 78 */ mr r29, r4 -/* 802633C8 00260328 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 802633CC 0026032C 93 81 00 30 */ stw r28, 0x30(r1) -/* 802633D0 00260330 7C 7C 1B 78 */ mr r28, r3 -/* 802633D4 00260334 41 82 00 5C */ beq lbl_80263430 -/* 802633D8 00260338 40 80 00 A8 */ bge lbl_80263480 -/* 802633DC 0026033C 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 802633E0 00260340 40 80 00 08 */ bge lbl_802633E8 -/* 802633E4 00260344 48 00 00 9C */ b lbl_80263480 -lbl_802633E8: -/* 802633E8 00260348 88 1C 00 E6 */ lbz r0, 0xe6(r28) -/* 802633EC 0026034C 38 80 00 02 */ li r4, 2 -/* 802633F0 00260350 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c -/* 802633F4 00260354 7F E4 FB 78 */ mr r4, r31 -/* 802633F8 00260358 98 1C 00 E6 */ stb r0, 0xe6(r28) -/* 802633FC 0026035C C0 22 BA 80 */ lfs f1, lbl_805AD7A0@sda21(r2) -/* 80263400 00260360 81 83 00 00 */ lwz r12, 0(r3) -/* 80263404 00260364 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263408 00260368 7D 89 03 A6 */ mtctr r12 -/* 8026340C 0026036C 4E 80 04 21 */ bctrl -/* 80263410 00260370 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 80263414 00260374 7F E3 FB 78 */ mr r3, r31 -/* 80263418 00260378 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 8026341C 0026037C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80263420 00260380 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80263424 00260384 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80263428 00260388 4B DE 18 E1 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType -/* 8026342C 0026038C 48 00 00 54 */ b lbl_80263480 -lbl_80263430: -/* 80263430 00260390 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 80263434 00260394 7F E3 FB 78 */ mr r3, r31 -/* 80263438 00260398 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 8026343C 0026039C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80263440 002603A0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80263444 002603A4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80263448 002603A8 4B DE 18 91 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType -/* 8026344C 002603AC 7F 83 E3 78 */ mr r3, r28 -/* 80263450 002603B0 7F E4 FB 78 */ mr r4, r31 -/* 80263454 002603B4 4B FF E5 FD */ bl DeleteLightObjects__16CNewFlameThrowerFR13CStateManager -/* 80263458 002603B8 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8026345C 002603BC 7F 83 E3 78 */ mr r3, r28 -/* 80263460 002603C0 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) -/* 80263464 002603C4 7F E4 FB 78 */ mr r4, r31 -/* 80263468 002603C8 80 05 00 04 */ lwz r0, 4(r5) -/* 8026346C 002603CC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80263470 002603D0 C0 42 BA 68 */ lfs f2, lbl_805AD788@sda21(r2) -/* 80263474 002603D4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80263478 002603D8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026347C 002603DC 4B FF E0 F9 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff -lbl_80263480: -/* 80263480 002603E0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80263484 002603E4 7F 83 E3 78 */ mr r3, r28 -/* 80263488 002603E8 7F A4 EB 78 */ mr r4, r29 -/* 8026348C 002603EC 7F E6 FB 78 */ mr r6, r31 -/* 80263490 002603F0 B0 01 00 08 */ sth r0, 8(r1) -/* 80263494 002603F4 38 A1 00 08 */ addi r5, r1, 8 -/* 80263498 002603F8 4B DD 51 35 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8026349C 002603FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802634A0 00260400 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802634A4 00260404 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802634A8 00260408 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802634AC 0026040C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 802634B0 00260410 7C 08 03 A6 */ mtlr r0 -/* 802634B4 00260414 38 21 00 40 */ addi r1, r1, 0x40 -/* 802634B8 00260418 4E 80 00 20 */ blr - -.global EnableFx__16CNewFlameThrowerFRC13CStateManager -EnableFx__16CNewFlameThrowerFRC13CStateManager: -/* 802634BC 0026041C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802634C0 00260420 7C 08 02 A6 */ mflr r0 -/* 802634C4 00260424 90 01 00 54 */ stw r0, 0x54(r1) -/* 802634C8 00260428 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802634CC 0026042C 7C 7F 1B 78 */ mr r31, r3 -/* 802634D0 00260430 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802634D4 00260434 7C 9E 23 78 */ mr r30, r4 -/* 802634D8 00260438 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802634DC 0026043C 93 81 00 40 */ stw r28, 0x40(r1) -/* 802634E0 00260440 4B DD 43 C9 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager -/* 802634E4 00260444 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 802634E8 00260448 3B 80 00 00 */ li r28, 0 -/* 802634EC 0026044C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 802634F0 00260450 38 A0 00 00 */ li r5, 0 -/* 802634F4 00260454 38 60 03 40 */ li r3, 0x340 -/* 802634F8 00260458 48 0B 23 75 */ bl __nw__FUlPCcPCc -/* 802634FC 0026045C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263500 00260460 41 82 00 2C */ beq lbl_8026352C -/* 80263504 00260464 38 61 00 38 */ addi r3, r1, 0x38 -/* 80263508 00260468 38 9F 03 04 */ addi r4, r31, 0x304 -/* 8026350C 0026046C 48 0D D9 9D */ bl __ct__6CTokenFRC6CToken -/* 80263510 00260470 7F A3 EB 78 */ mr r3, r29 -/* 80263514 00260474 38 81 00 38 */ addi r4, r1, 0x38 -/* 80263518 00260478 3B 80 00 01 */ li r28, 1 -/* 8026351C 0026047C 38 A0 00 00 */ li r5, 0 -/* 80263520 00260480 38 C0 00 01 */ li r6, 1 -/* 80263524 00260484 48 0B BE BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80263528 00260488 7C 7D 1B 78 */ mr r29, r3 -lbl_8026352C: -/* 8026352C 0026048C 80 7F 03 58 */ lwz r3, 0x358(r31) -/* 80263530 00260490 28 03 00 00 */ cmplwi r3, 0 -/* 80263534 00260494 41 82 00 18 */ beq lbl_8026354C -/* 80263538 00260498 81 83 00 00 */ lwz r12, 0(r3) -/* 8026353C 0026049C 38 80 00 01 */ li r4, 1 -/* 80263540 002604A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263544 002604A4 7D 89 03 A6 */ mtctr r12 -/* 80263548 002604A8 4E 80 04 21 */ bctrl -lbl_8026354C: -/* 8026354C 002604AC 7F 80 07 75 */ extsb. r0, r28 -/* 80263550 002604B0 93 BF 03 58 */ stw r29, 0x358(r31) -/* 80263554 002604B4 41 82 00 10 */ beq lbl_80263564 -/* 80263558 002604B8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8026355C 002604BC 38 80 00 00 */ li r4, 0 -/* 80263560 002604C0 48 0D D8 E1 */ bl __dt__6CTokenFv -lbl_80263564: -/* 80263564 002604C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 80263568 002604C8 3B 80 00 00 */ li r28, 0 -/* 8026356C 002604CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 80263570 002604D0 38 A0 00 00 */ li r5, 0 -/* 80263574 002604D4 38 60 03 40 */ li r3, 0x340 -/* 80263578 002604D8 48 0B 22 F5 */ bl __nw__FUlPCcPCc -/* 8026357C 002604DC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263580 002604E0 41 82 00 2C */ beq lbl_802635AC -/* 80263584 002604E4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80263588 002604E8 38 9F 03 10 */ addi r4, r31, 0x310 -/* 8026358C 002604EC 48 0D D9 1D */ bl __ct__6CTokenFRC6CToken -/* 80263590 002604F0 7F A3 EB 78 */ mr r3, r29 -/* 80263594 002604F4 38 81 00 30 */ addi r4, r1, 0x30 -/* 80263598 002604F8 3B 80 00 01 */ li r28, 1 -/* 8026359C 002604FC 38 A0 00 00 */ li r5, 0 -/* 802635A0 00260500 38 C0 00 01 */ li r6, 1 -/* 802635A4 00260504 48 0B BE 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 802635A8 00260508 7C 7D 1B 78 */ mr r29, r3 -lbl_802635AC: -/* 802635AC 0026050C 80 7F 03 5C */ lwz r3, 0x35c(r31) -/* 802635B0 00260510 28 03 00 00 */ cmplwi r3, 0 -/* 802635B4 00260514 41 82 00 18 */ beq lbl_802635CC -/* 802635B8 00260518 81 83 00 00 */ lwz r12, 0(r3) -/* 802635BC 0026051C 38 80 00 01 */ li r4, 1 -/* 802635C0 00260520 81 8C 00 08 */ lwz r12, 8(r12) -/* 802635C4 00260524 7D 89 03 A6 */ mtctr r12 -/* 802635C8 00260528 4E 80 04 21 */ bctrl -lbl_802635CC: -/* 802635CC 0026052C 7F 80 07 75 */ extsb. r0, r28 -/* 802635D0 00260530 93 BF 03 5C */ stw r29, 0x35c(r31) -/* 802635D4 00260534 41 82 00 10 */ beq lbl_802635E4 -/* 802635D8 00260538 38 61 00 30 */ addi r3, r1, 0x30 -/* 802635DC 0026053C 38 80 00 00 */ li r4, 0 -/* 802635E0 00260540 48 0D D8 61 */ bl __dt__6CTokenFv -lbl_802635E4: -/* 802635E4 00260544 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 802635E8 00260548 3B 80 00 00 */ li r28, 0 -/* 802635EC 0026054C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 802635F0 00260550 38 A0 00 00 */ li r5, 0 -/* 802635F4 00260554 38 60 03 40 */ li r3, 0x340 -/* 802635F8 00260558 48 0B 22 75 */ bl __nw__FUlPCcPCc -/* 802635FC 0026055C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263600 00260560 41 82 00 2C */ beq lbl_8026362C -/* 80263604 00260564 38 61 00 28 */ addi r3, r1, 0x28 -/* 80263608 00260568 38 9F 03 1C */ addi r4, r31, 0x31c -/* 8026360C 0026056C 48 0D D8 9D */ bl __ct__6CTokenFRC6CToken -/* 80263610 00260570 7F A3 EB 78 */ mr r3, r29 -/* 80263614 00260574 38 81 00 28 */ addi r4, r1, 0x28 -/* 80263618 00260578 3B 80 00 01 */ li r28, 1 -/* 8026361C 0026057C 38 A0 00 00 */ li r5, 0 -/* 80263620 00260580 38 C0 00 01 */ li r6, 1 -/* 80263624 00260584 48 0B BD BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80263628 00260588 7C 7D 1B 78 */ mr r29, r3 -lbl_8026362C: -/* 8026362C 0026058C 80 7F 03 60 */ lwz r3, 0x360(r31) -/* 80263630 00260590 28 03 00 00 */ cmplwi r3, 0 -/* 80263634 00260594 41 82 00 18 */ beq lbl_8026364C -/* 80263638 00260598 81 83 00 00 */ lwz r12, 0(r3) -/* 8026363C 0026059C 38 80 00 01 */ li r4, 1 -/* 80263640 002605A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263644 002605A4 7D 89 03 A6 */ mtctr r12 -/* 80263648 002605A8 4E 80 04 21 */ bctrl -lbl_8026364C: -/* 8026364C 002605AC 7F 80 07 75 */ extsb. r0, r28 -/* 80263650 002605B0 93 BF 03 60 */ stw r29, 0x360(r31) -/* 80263654 002605B4 41 82 00 10 */ beq lbl_80263664 -/* 80263658 002605B8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8026365C 002605BC 38 80 00 00 */ li r4, 0 -/* 80263660 002605C0 48 0D D7 E1 */ bl __dt__6CTokenFv -lbl_80263664: -/* 80263664 002605C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 80263668 002605C8 3B 80 00 00 */ li r28, 0 -/* 8026366C 002605CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 80263670 002605D0 38 A0 00 00 */ li r5, 0 -/* 80263674 002605D4 38 60 03 40 */ li r3, 0x340 -/* 80263678 002605D8 48 0B 21 F5 */ bl __nw__FUlPCcPCc -/* 8026367C 002605DC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263680 002605E0 41 82 00 2C */ beq lbl_802636AC -/* 80263684 002605E4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80263688 002605E8 38 9F 03 28 */ addi r4, r31, 0x328 -/* 8026368C 002605EC 48 0D D8 1D */ bl __ct__6CTokenFRC6CToken -/* 80263690 002605F0 7F A3 EB 78 */ mr r3, r29 -/* 80263694 002605F4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80263698 002605F8 3B 80 00 01 */ li r28, 1 -/* 8026369C 002605FC 38 A0 00 00 */ li r5, 0 -/* 802636A0 00260600 38 C0 00 01 */ li r6, 1 -/* 802636A4 00260604 48 0B BD 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 802636A8 00260608 7C 7D 1B 78 */ mr r29, r3 -lbl_802636AC: -/* 802636AC 0026060C 80 7F 03 64 */ lwz r3, 0x364(r31) -/* 802636B0 00260610 28 03 00 00 */ cmplwi r3, 0 -/* 802636B4 00260614 41 82 00 18 */ beq lbl_802636CC -/* 802636B8 00260618 81 83 00 00 */ lwz r12, 0(r3) -/* 802636BC 0026061C 38 80 00 01 */ li r4, 1 -/* 802636C0 00260620 81 8C 00 08 */ lwz r12, 8(r12) -/* 802636C4 00260624 7D 89 03 A6 */ mtctr r12 -/* 802636C8 00260628 4E 80 04 21 */ bctrl -lbl_802636CC: -/* 802636CC 0026062C 7F 80 07 75 */ extsb. r0, r28 -/* 802636D0 00260630 93 BF 03 64 */ stw r29, 0x364(r31) -/* 802636D4 00260634 41 82 00 10 */ beq lbl_802636E4 -/* 802636D8 00260638 38 61 00 20 */ addi r3, r1, 0x20 -/* 802636DC 0026063C 38 80 00 00 */ li r4, 0 -/* 802636E0 00260640 48 0D D7 61 */ bl __dt__6CTokenFv -lbl_802636E4: -/* 802636E4 00260644 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 802636E8 00260648 3B 80 00 00 */ li r28, 0 -/* 802636EC 0026064C 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 802636F0 00260650 38 A0 00 00 */ li r5, 0 -/* 802636F4 00260654 38 60 03 40 */ li r3, 0x340 -/* 802636F8 00260658 48 0B 21 75 */ bl __nw__FUlPCcPCc -/* 802636FC 0026065C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263700 00260660 41 82 00 2C */ beq lbl_8026372C -/* 80263704 00260664 38 61 00 18 */ addi r3, r1, 0x18 -/* 80263708 00260668 38 9F 03 34 */ addi r4, r31, 0x334 -/* 8026370C 0026066C 48 0D D7 9D */ bl __ct__6CTokenFRC6CToken -/* 80263710 00260670 7F A3 EB 78 */ mr r3, r29 -/* 80263714 00260674 38 81 00 18 */ addi r4, r1, 0x18 -/* 80263718 00260678 3B 80 00 01 */ li r28, 1 -/* 8026371C 0026067C 38 A0 00 00 */ li r5, 0 -/* 80263720 00260680 38 C0 00 01 */ li r6, 1 -/* 80263724 00260684 48 0B BC BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80263728 00260688 7C 7D 1B 78 */ mr r29, r3 -lbl_8026372C: -/* 8026372C 0026068C 80 7F 03 68 */ lwz r3, 0x368(r31) -/* 80263730 00260690 28 03 00 00 */ cmplwi r3, 0 -/* 80263734 00260694 41 82 00 18 */ beq lbl_8026374C -/* 80263738 00260698 81 83 00 00 */ lwz r12, 0(r3) -/* 8026373C 0026069C 38 80 00 01 */ li r4, 1 -/* 80263740 002606A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263744 002606A4 7D 89 03 A6 */ mtctr r12 -/* 80263748 002606A8 4E 80 04 21 */ bctrl -lbl_8026374C: -/* 8026374C 002606AC 7F 80 07 75 */ extsb. r0, r28 -/* 80263750 002606B0 93 BF 03 68 */ stw r29, 0x368(r31) -/* 80263754 002606B4 41 82 00 10 */ beq lbl_80263764 -/* 80263758 002606B8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8026375C 002606BC 38 80 00 00 */ li r4, 0 -/* 80263760 002606C0 48 0D D6 E1 */ bl __dt__6CTokenFv -lbl_80263764: -/* 80263764 002606C4 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 80263768 002606C8 3B 80 00 00 */ li r28, 0 -/* 8026376C 002606CC 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 80263770 002606D0 38 A0 00 00 */ li r5, 0 -/* 80263774 002606D4 38 60 02 10 */ li r3, 0x210 -/* 80263778 002606D8 48 0B 20 F5 */ bl __nw__FUlPCcPCc -/* 8026377C 002606DC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263780 002606E0 41 82 00 28 */ beq lbl_802637A8 -/* 80263784 002606E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80263788 002606E8 38 9F 03 40 */ addi r4, r31, 0x340 -/* 8026378C 002606EC 48 0D D7 1D */ bl __ct__6CTokenFRC6CToken -/* 80263790 002606F0 7F A3 EB 78 */ mr r3, r29 -/* 80263794 002606F4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80263798 002606F8 3B 80 00 01 */ li r28, 1 -/* 8026379C 002606FC 38 A0 00 00 */ li r5, 0 -/* 802637A0 00260700 48 0C B6 45 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 802637A4 00260704 7C 7D 1B 78 */ mr r29, r3 -lbl_802637A8: -/* 802637A8 00260708 80 7F 03 6C */ lwz r3, 0x36c(r31) -/* 802637AC 0026070C 28 03 00 00 */ cmplwi r3, 0 -/* 802637B0 00260710 41 82 00 18 */ beq lbl_802637C8 -/* 802637B4 00260714 81 83 00 00 */ lwz r12, 0(r3) -/* 802637B8 00260718 38 80 00 01 */ li r4, 1 -/* 802637BC 0026071C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802637C0 00260720 7D 89 03 A6 */ mtctr r12 -/* 802637C4 00260724 4E 80 04 21 */ bctrl -lbl_802637C8: -/* 802637C8 00260728 7F 80 07 75 */ extsb. r0, r28 -/* 802637CC 0026072C 93 BF 03 6C */ stw r29, 0x36c(r31) -/* 802637D0 00260730 41 82 00 10 */ beq lbl_802637E0 -/* 802637D4 00260734 38 61 00 10 */ addi r3, r1, 0x10 -/* 802637D8 00260738 38 80 00 00 */ li r4, 0 -/* 802637DC 0026073C 48 0D D6 65 */ bl __dt__6CTokenFv -lbl_802637E0: -/* 802637E0 00260740 80 BF 03 6C */ lwz r5, 0x36c(r31) -/* 802637E4 00260744 3C 60 80 3D */ lis r3, lbl_803D5278@ha -/* 802637E8 00260748 38 83 52 78 */ addi r4, r3, lbl_803D5278@l -/* 802637EC 0026074C 3B 80 00 00 */ li r28, 0 -/* 802637F0 00260750 38 60 00 01 */ li r3, 1 -/* 802637F4 00260754 88 05 01 D0 */ lbz r0, 0x1d0(r5) -/* 802637F8 00260758 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 802637FC 0026075C 98 05 01 D0 */ stb r0, 0x1d0(r5) -/* 80263800 00260760 38 60 02 10 */ li r3, 0x210 -/* 80263804 00260764 38 A0 00 00 */ li r5, 0 -/* 80263808 00260768 48 0B 20 65 */ bl __nw__FUlPCcPCc -/* 8026380C 0026076C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80263810 00260770 41 82 00 28 */ beq lbl_80263838 -/* 80263814 00260774 38 61 00 08 */ addi r3, r1, 8 -/* 80263818 00260778 38 9F 03 4C */ addi r4, r31, 0x34c -/* 8026381C 0026077C 48 0D D6 8D */ bl __ct__6CTokenFRC6CToken -/* 80263820 00260780 7F A3 EB 78 */ mr r3, r29 -/* 80263824 00260784 38 81 00 08 */ addi r4, r1, 8 -/* 80263828 00260788 3B 80 00 01 */ li r28, 1 -/* 8026382C 0026078C 38 A0 00 00 */ li r5, 0 -/* 80263830 00260790 48 0C B5 B5 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 80263834 00260794 7C 7D 1B 78 */ mr r29, r3 -lbl_80263838: -/* 80263838 00260798 80 7F 03 70 */ lwz r3, 0x370(r31) -/* 8026383C 0026079C 28 03 00 00 */ cmplwi r3, 0 -/* 80263840 002607A0 41 82 00 18 */ beq lbl_80263858 -/* 80263844 002607A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80263848 002607A8 38 80 00 01 */ li r4, 1 -/* 8026384C 002607AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263850 002607B0 7D 89 03 A6 */ mtctr r12 -/* 80263854 002607B4 4E 80 04 21 */ bctrl -lbl_80263858: -/* 80263858 002607B8 7F 80 07 75 */ extsb. r0, r28 -/* 8026385C 002607BC 93 BF 03 70 */ stw r29, 0x370(r31) -/* 80263860 002607C0 41 82 00 10 */ beq lbl_80263870 -/* 80263864 002607C4 38 61 00 08 */ addi r3, r1, 8 -/* 80263868 002607C8 38 80 00 00 */ li r4, 0 -/* 8026386C 002607CC 48 0D D5 D5 */ bl __dt__6CTokenFv -lbl_80263870: -/* 80263870 002607D0 80 7F 03 70 */ lwz r3, 0x370(r31) -/* 80263874 002607D4 38 80 00 01 */ li r4, 1 -/* 80263878 002607D8 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 8026387C 002607DC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80263880 002607E0 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 80263884 002607E4 80 7F 03 58 */ lwz r3, 0x358(r31) -/* 80263888 002607E8 28 03 00 00 */ cmplwi r3, 0 -/* 8026388C 002607EC 41 82 00 34 */ beq lbl_802638C0 -/* 80263890 002607F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80263894 002607F4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263898 002607F8 7D 89 03 A6 */ mtctr r12 -/* 8026389C 002607FC 4E 80 04 21 */ bctrl -/* 802638A0 00260800 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802638A4 00260804 41 82 00 1C */ beq lbl_802638C0 -/* 802638A8 00260808 80 1F 03 B8 */ lwz r0, 0x3b8(r31) -/* 802638AC 0026080C 2C 00 00 00 */ cmpwi r0, 0 -/* 802638B0 00260810 40 82 00 10 */ bne lbl_802638C0 -/* 802638B4 00260814 7F E3 FB 78 */ mr r3, r31 -/* 802638B8 00260818 7F C4 F3 78 */ mr r4, r30 -/* 802638BC 0026081C 4B FF E4 91 */ bl CreateLightObjects__16CNewFlameThrowerFR13CStateManager -lbl_802638C0: -/* 802638C0 00260820 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802638C4 00260824 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802638C8 00260828 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802638CC 0026082C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802638D0 00260830 83 81 00 40 */ lwz r28, 0x40(r1) -/* 802638D4 00260834 7C 08 03 A6 */ mtlr r0 -/* 802638D8 00260838 38 21 00 50 */ addi r1, r1, 0x50 -/* 802638DC 0026083C 4E 80 00 20 */ blr - -.global Reset__16CFlameNewThrowerFR13CStateManagerb -Reset__16CFlameNewThrowerFR13CStateManagerb: -/* 802638E0 00260840 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802638E4 00260844 7C 08 02 A6 */ mflr r0 -/* 802638E8 00260848 90 01 00 14 */ stw r0, 0x14(r1) -/* 802638EC 0026084C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802638F0 00260850 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802638F4 00260854 7C 7F 1B 78 */ mr r31, r3 -/* 802638F8 00260858 41 82 00 3C */ beq lbl_80263934 -/* 802638FC 0026085C 38 A0 00 00 */ li r5, 0 -/* 80263900 00260860 4B FF E0 C1 */ bl sub_802619c0 -/* 80263904 00260864 7F E3 FB 78 */ mr r3, r31 -/* 80263908 00260868 38 80 00 00 */ li r4, 0 -/* 8026390C 0026086C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263910 00260870 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80263914 00260874 7D 89 03 A6 */ mtctr r12 -/* 80263918 00260878 4E 80 04 21 */ bctrl -/* 8026391C 0026087C 38 00 00 00 */ li r0, 0 -/* 80263920 00260880 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) -/* 80263924 00260884 90 1F 03 74 */ stw r0, 0x374(r31) -/* 80263928 00260888 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 8026392C 0026088C D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 80263930 00260890 48 00 00 0C */ b lbl_8026393C -lbl_80263934: -/* 80263934 00260894 38 00 00 03 */ li r0, 3 -/* 80263938 00260898 90 1F 03 74 */ stw r0, 0x374(r31) -lbl_8026393C: -/* 8026393C 0026089C 88 1F 03 7C */ lbz r0, 0x37c(r31) -/* 80263940 002608A0 38 60 00 00 */ li r3, 0 -/* 80263944 002608A4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80263948 002608A8 38 80 00 00 */ li r4, 0 -/* 8026394C 002608AC 98 1F 03 7C */ stb r0, 0x37c(r31) -/* 80263950 002608B0 80 7F 03 58 */ lwz r3, 0x358(r31) -/* 80263954 002608B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80263958 002608B8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8026395C 002608BC 7D 89 03 A6 */ mtctr r12 -/* 80263960 002608C0 4E 80 04 21 */ bctrl -/* 80263964 002608C4 80 7F 03 5C */ lwz r3, 0x35c(r31) -/* 80263968 002608C8 38 80 00 00 */ li r4, 0 -/* 8026396C 002608CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80263970 002608D0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80263974 002608D4 7D 89 03 A6 */ mtctr r12 -/* 80263978 002608D8 4E 80 04 21 */ bctrl -/* 8026397C 002608DC 80 7F 03 6C */ lwz r3, 0x36c(r31) -/* 80263980 002608E0 38 80 00 00 */ li r4, 0 -/* 80263984 002608E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80263988 002608E8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8026398C 002608EC 7D 89 03 A6 */ mtctr r12 -/* 80263990 002608F0 4E 80 04 21 */ bctrl -/* 80263994 002608F4 80 7F 03 70 */ lwz r3, 0x370(r31) -/* 80263998 002608F8 38 80 00 00 */ li r4, 0 -/* 8026399C 002608FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802639A0 00260900 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802639A4 00260904 7D 89 03 A6 */ mtctr r12 -/* 802639A8 00260908 4E 80 04 21 */ bctrl -/* 802639AC 0026090C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802639B0 00260910 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802639B4 00260914 7C 08 03 A6 */ mtlr r0 -/* 802639B8 00260918 38 21 00 10 */ addi r1, r1, 0x10 -/* 802639BC 0026091C 4E 80 00 20 */ blr - -.global StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager -StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager: -/* 802639C0 00260920 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802639C4 00260924 7C 08 02 A6 */ mflr r0 -/* 802639C8 00260928 38 80 00 01 */ li r4, 1 -/* 802639CC 0026092C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802639D0 00260930 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802639D4 00260934 7C BF 2B 78 */ mr r31, r5 -/* 802639D8 00260938 93 C1 00 08 */ stw r30, 8(r1) -/* 802639DC 0026093C 7C 7E 1B 78 */ mr r30, r3 -/* 802639E0 00260940 81 83 00 00 */ lwz r12, 0(r3) -/* 802639E4 00260944 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802639E8 00260948 7D 89 03 A6 */ mtctr r12 -/* 802639EC 0026094C 4E 80 04 21 */ bctrl -/* 802639F0 00260950 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 802639F4 00260954 38 A0 00 01 */ li r5, 1 -/* 802639F8 00260958 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 802639FC 0026095C 7F C3 F3 78 */ mr r3, r30 -/* 80263A00 00260960 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80263A04 00260964 7F E4 FB 78 */ mr r4, r31 -/* 80263A08 00260968 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80263A0C 0026096C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80263A10 00260970 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80263A14 00260974 90 BE 03 74 */ stw r5, 0x374(r30) -/* 80263A18 00260978 4B FF FA A5 */ bl EnableFx__16CNewFlameThrowerFRC13CStateManager -/* 80263A1C 0026097C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263A20 00260980 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80263A24 00260984 83 C1 00 08 */ lwz r30, 8(r1) -/* 80263A28 00260988 7C 08 03 A6 */ mtlr r0 -/* 80263A2C 0026098C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263A30 00260990 4E 80 00 20 */ blr - -.global Render__16CNewFlameThrowerCFRC13CStateManager -Render__16CNewFlameThrowerCFRC13CStateManager: -/* 80263A34 00260994 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80263A38 00260998 7C 08 02 A6 */ mflr r0 -/* 80263A3C 0026099C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80263A40 002609A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80263A44 002609A4 7C 7F 1B 78 */ mr r31, r3 -/* 80263A48 002609A8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80263A4C 002609AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80263A50 002609B0 41 82 00 60 */ beq lbl_80263AB0 -/* 80263A54 002609B4 80 7F 03 6C */ lwz r3, 0x36c(r31) -/* 80263A58 002609B8 81 83 00 00 */ lwz r12, 0(r3) -/* 80263A5C 002609BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80263A60 002609C0 7D 89 03 A6 */ mtctr r12 -/* 80263A64 002609C4 4E 80 04 21 */ bctrl -/* 80263A68 002609C8 80 7F 03 70 */ lwz r3, 0x370(r31) -/* 80263A6C 002609CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80263A70 002609D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80263A74 002609D4 7D 89 03 A6 */ mtctr r12 -/* 80263A78 002609D8 4E 80 04 21 */ bctrl -/* 80263A7C 002609DC 81 1F 03 58 */ lwz r8, 0x358(r31) -/* 80263A80 002609E0 38 61 00 08 */ addi r3, r1, 8 -/* 80263A84 002609E4 80 FF 03 5C */ lwz r7, 0x35c(r31) -/* 80263A88 002609E8 38 80 00 05 */ li r4, 5 -/* 80263A8C 002609EC 80 DF 03 60 */ lwz r6, 0x360(r31) -/* 80263A90 002609F0 80 BF 03 64 */ lwz r5, 0x364(r31) -/* 80263A94 002609F4 80 1F 03 68 */ lwz r0, 0x368(r31) -/* 80263A98 002609F8 91 01 00 08 */ stw r8, 8(r1) -/* 80263A9C 002609FC 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80263AA0 00260A00 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80263AA4 00260A04 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80263AA8 00260A08 90 01 00 18 */ stw r0, 0x18(r1) -/* 80263AAC 00260A0C 48 0B 63 91 */ bl sub_80319e3c -lbl_80263AB0: -/* 80263AB0 00260A10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80263AB4 00260A14 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80263AB8 00260A18 7C 08 03 A6 */ mtlr r0 -/* 80263ABC 00260A1C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80263AC0 00260A20 4E 80 00 20 */ blr - -.global AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__16CNewFlameThrowerCFRC14CFrustumPlanesRC13CStateManager: -/* 80263AC4 00260A24 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80263AC8 00260A28 7C 08 02 A6 */ mflr r0 -/* 80263ACC 00260A2C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80263AD0 00260A30 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80263AD4 00260A34 7C BF 2B 78 */ mr r31, r5 -/* 80263AD8 00260A38 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80263ADC 00260A3C 7C 7E 1B 78 */ mr r30, r3 -/* 80263AE0 00260A40 7F C4 F3 78 */ mr r4, r30 -/* 80263AE4 00260A44 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80263AE8 00260A48 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80263AEC 00260A4C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80263AF0 00260A50 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80263AF4 00260A54 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80263AF8 00260A58 D0 01 00 08 */ stfs f0, 8(r1) -/* 80263AFC 00260A5C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80263B00 00260A60 81 9E 00 00 */ lwz r12, 0(r30) -/* 80263B04 00260A64 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263B08 00260A68 7D 89 03 A6 */ mtctr r12 -/* 80263B0C 00260A6C 4E 80 04 21 */ bctrl -/* 80263B10 00260A70 7F C3 F3 78 */ mr r3, r30 -/* 80263B14 00260A74 7F E4 FB 78 */ mr r4, r31 -/* 80263B18 00260A78 38 A1 00 08 */ addi r5, r1, 8 -/* 80263B1C 00260A7C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80263B20 00260A80 4B DF 0F 89 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f -/* 80263B24 00260A84 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80263B28 00260A88 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80263B2C 00260A8C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80263B30 00260A90 7C 08 03 A6 */ mtlr r0 -/* 80263B34 00260A94 38 21 00 40 */ addi r1, r1, 0x40 -/* 80263B38 00260A98 4E 80 00 20 */ blr - -.global UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager -UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager: -/* 80263B3C 00260A9C 94 21 FD 10 */ stwu r1, -0x2f0(r1) -/* 80263B40 00260AA0 7C 08 02 A6 */ mflr r0 -/* 80263B44 00260AA4 90 01 02 F4 */ stw r0, 0x2f4(r1) -/* 80263B48 00260AA8 DB E1 02 E0 */ stfd f31, 0x2e0(r1) -/* 80263B4C 00260AAC F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 -/* 80263B50 00260AB0 BF 61 02 CC */ stmw r27, 0x2cc(r1) -/* 80263B54 00260AB4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80263B58 00260AB8 FF E0 08 90 */ fmr f31, f1 -/* 80263B5C 00260ABC 7C 7C 1B 78 */ mr r28, r3 -/* 80263B60 00260AC0 7C 9B 23 78 */ mr r27, r4 -/* 80263B64 00260AC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80263B68 00260AC8 7C BD 2B 78 */ mr r29, r5 -/* 80263B6C 00260ACC 41 82 06 44 */ beq lbl_802641B0 -/* 80263B70 00260AD0 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) -/* 80263B74 00260AD4 C0 02 BA 88 */ lfs f0, lbl_805AD7A8@sda21(r2) -/* 80263B78 00260AD8 C0 64 01 18 */ lfs f3, 0x118(r4) -/* 80263B7C 00260ADC C0 44 01 1C */ lfs f2, 0x11c(r4) -/* 80263B80 00260AE0 EC 42 18 2A */ fadds f2, f2, f3 -/* 80263B84 00260AE4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80263B88 00260AE8 7C 80 00 26 */ mfcr r4 -/* 80263B8C 00260AEC 88 1C 03 7C */ lbz r0, 0x37c(r28) -/* 80263B90 00260AF0 54 85 17 FE */ rlwinm r5, r4, 2, 0x1f, 0x1f -/* 80263B94 00260AF4 7F A4 EB 78 */ mr r4, r29 -/* 80263B98 00260AF8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80263B9C 00260AFC 98 1C 03 7C */ stb r0, 0x37c(r28) -/* 80263BA0 00260B00 48 00 06 2D */ bl sub_802641cc -/* 80263BA4 00260B04 C0 5B 00 2C */ lfs f2, 0x2c(r27) -/* 80263BA8 00260B08 7F 64 DB 78 */ mr r4, r27 -/* 80263BAC 00260B0C C0 3B 00 1C */ lfs f1, 0x1c(r27) -/* 80263BB0 00260B10 38 61 00 54 */ addi r3, r1, 0x54 -/* 80263BB4 00260B14 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 80263BB8 00260B18 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80263BBC 00260B1C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80263BC0 00260B20 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80263BC4 00260B24 48 0A F0 7D */ bl GetRotation__12CTransform4fCFv -/* 80263BC8 00260B28 38 61 00 84 */ addi r3, r1, 0x84 -/* 80263BCC 00260B2C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80263BD0 00260B30 48 0A EF A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80263BD4 00260B34 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263BD8 00260B38 38 81 00 48 */ addi r4, r1, 0x48 -/* 80263BDC 00260B3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263BE0 00260B40 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80263BE4 00260B44 7D 89 03 A6 */ mtctr r12 -/* 80263BE8 00260B48 4E 80 04 21 */ bctrl -/* 80263BEC 00260B4C 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263BF0 00260B50 38 81 00 84 */ addi r4, r1, 0x84 -/* 80263BF4 00260B54 81 83 00 00 */ lwz r12, 0(r3) -/* 80263BF8 00260B58 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263BFC 00260B5C 7D 89 03 A6 */ mtctr r12 -/* 80263C00 00260B60 4E 80 04 21 */ bctrl -/* 80263C04 00260B64 80 7C 03 6C */ lwz r3, 0x36c(r28) -/* 80263C08 00260B68 38 81 00 48 */ addi r4, r1, 0x48 -/* 80263C0C 00260B6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C10 00260B70 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80263C14 00260B74 7D 89 03 A6 */ mtctr r12 -/* 80263C18 00260B78 4E 80 04 21 */ bctrl -/* 80263C1C 00260B7C 80 7C 03 6C */ lwz r3, 0x36c(r28) -/* 80263C20 00260B80 38 81 00 84 */ addi r4, r1, 0x84 -/* 80263C24 00260B84 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C28 00260B88 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263C2C 00260B8C 7D 89 03 A6 */ mtctr r12 -/* 80263C30 00260B90 4E 80 04 21 */ bctrl -/* 80263C34 00260B94 80 7C 03 70 */ lwz r3, 0x370(r28) -/* 80263C38 00260B98 38 81 00 48 */ addi r4, r1, 0x48 -/* 80263C3C 00260B9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C40 00260BA0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80263C44 00260BA4 7D 89 03 A6 */ mtctr r12 -/* 80263C48 00260BA8 4E 80 04 21 */ bctrl -/* 80263C4C 00260BAC 80 7C 03 70 */ lwz r3, 0x370(r28) -/* 80263C50 00260BB0 38 81 00 84 */ addi r4, r1, 0x84 -/* 80263C54 00260BB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C58 00260BB8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263C5C 00260BBC 7D 89 03 A6 */ mtctr r12 -/* 80263C60 00260BC0 4E 80 04 21 */ bctrl -/* 80263C64 00260BC4 88 1C 03 7C */ lbz r0, 0x37c(r28) -/* 80263C68 00260BC8 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263C6C 00260BCC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80263C70 00260BD0 41 82 00 0C */ beq lbl_80263C7C -/* 80263C74 00260BD4 C0 22 BA 7C */ lfs f1, lbl_805AD79C@sda21(r2) -/* 80263C78 00260BD8 48 00 00 08 */ b lbl_80263C80 -lbl_80263C7C: -/* 80263C7C 00260BDC C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) -lbl_80263C80: -/* 80263C80 00260BE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C84 00260BE4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80263C88 00260BE8 7D 89 03 A6 */ mtctr r12 -/* 80263C8C 00260BEC 4E 80 04 21 */ bctrl -/* 80263C90 00260BF0 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263C94 00260BF4 FC 20 F8 90 */ fmr f1, f31 -/* 80263C98 00260BF8 81 83 00 00 */ lwz r12, 0(r3) -/* 80263C9C 00260BFC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263CA0 00260C00 7D 89 03 A6 */ mtctr r12 -/* 80263CA4 00260C04 4E 80 04 21 */ bctrl -/* 80263CA8 00260C08 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 80263CAC 00260C0C FC 20 F8 90 */ fmr f1, f31 -/* 80263CB0 00260C10 81 83 00 00 */ lwz r12, 0(r3) -/* 80263CB4 00260C14 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263CB8 00260C18 7D 89 03 A6 */ mtctr r12 -/* 80263CBC 00260C1C 4E 80 04 21 */ bctrl -/* 80263CC0 00260C20 80 7C 03 60 */ lwz r3, 0x360(r28) -/* 80263CC4 00260C24 FC 20 F8 90 */ fmr f1, f31 -/* 80263CC8 00260C28 81 83 00 00 */ lwz r12, 0(r3) -/* 80263CCC 00260C2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263CD0 00260C30 7D 89 03 A6 */ mtctr r12 -/* 80263CD4 00260C34 4E 80 04 21 */ bctrl -/* 80263CD8 00260C38 80 7C 03 64 */ lwz r3, 0x364(r28) -/* 80263CDC 00260C3C FC 20 F8 90 */ fmr f1, f31 -/* 80263CE0 00260C40 81 83 00 00 */ lwz r12, 0(r3) -/* 80263CE4 00260C44 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263CE8 00260C48 7D 89 03 A6 */ mtctr r12 -/* 80263CEC 00260C4C 4E 80 04 21 */ bctrl -/* 80263CF0 00260C50 80 7C 03 68 */ lwz r3, 0x368(r28) -/* 80263CF4 00260C54 FC 20 F8 90 */ fmr f1, f31 -/* 80263CF8 00260C58 81 83 00 00 */ lwz r12, 0(r3) -/* 80263CFC 00260C5C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263D00 00260C60 7D 89 03 A6 */ mtctr r12 -/* 80263D04 00260C64 4E 80 04 21 */ bctrl -/* 80263D08 00260C68 80 7C 03 6C */ lwz r3, 0x36c(r28) -/* 80263D0C 00260C6C FC 20 F8 90 */ fmr f1, f31 -/* 80263D10 00260C70 81 83 00 00 */ lwz r12, 0(r3) -/* 80263D14 00260C74 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263D18 00260C78 7D 89 03 A6 */ mtctr r12 -/* 80263D1C 00260C7C 4E 80 04 21 */ bctrl -/* 80263D20 00260C80 80 7C 03 70 */ lwz r3, 0x370(r28) -/* 80263D24 00260C84 FC 20 F8 90 */ fmr f1, f31 -/* 80263D28 00260C88 81 83 00 00 */ lwz r12, 0(r3) -/* 80263D2C 00260C8C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263D30 00260C90 7D 89 03 A6 */ mtctr r12 -/* 80263D34 00260C94 4E 80 04 21 */ bctrl -/* 80263D38 00260C98 38 00 00 00 */ li r0, 0 -/* 80263D3C 00260C9C FC 20 F8 90 */ fmr f1, f31 -/* 80263D40 00260CA0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80263D44 00260CA4 7F 83 E3 78 */ mr r3, r28 -/* 80263D48 00260CA8 7F A4 EB 78 */ mr r4, r29 -/* 80263D4C 00260CAC 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 80263D50 00260CB0 4B FF E5 31 */ bl sub_80262280 -/* 80263D54 00260CB4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80263D58 00260CB8 2C 00 00 00 */ cmpwi r0, 0 -/* 80263D5C 00260CBC 40 81 02 2C */ ble lbl_80263F88 -/* 80263D60 00260CC0 80 7C 03 6C */ lwz r3, 0x36c(r28) -/* 80263D64 00260CC4 3B E1 00 B8 */ addi r31, r1, 0xb8 -/* 80263D68 00260CC8 38 E0 00 00 */ li r7, 0 -/* 80263D6C 00260CCC 38 C0 00 00 */ li r6, 0 -/* 80263D70 00260CD0 48 00 00 9C */ b lbl_80263E0C -lbl_80263D74: -/* 80263D74 00260CD4 80 03 01 68 */ lwz r0, 0x168(r3) -/* 80263D78 00260CD8 7C 80 32 14 */ add r4, r0, r6 -/* 80263D7C 00260CDC 88 04 00 00 */ lbz r0, 0(r4) -/* 80263D80 00260CE0 28 00 00 00 */ cmplwi r0, 0 -/* 80263D84 00260CE4 41 82 00 80 */ beq lbl_80263E04 -/* 80263D88 00260CE8 7F E5 FB 78 */ mr r5, r31 -/* 80263D8C 00260CEC 39 00 00 00 */ li r8, 0 -/* 80263D90 00260CF0 48 00 00 68 */ b lbl_80263DF8 -lbl_80263D94: -/* 80263D94 00260CF4 C0 45 00 04 */ lfs f2, 4(r5) -/* 80263D98 00260CF8 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80263D9C 00260CFC C0 25 00 00 */ lfs f1, 0(r5) -/* 80263DA0 00260D00 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80263DA4 00260D04 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80263DA8 00260D08 C0 65 00 08 */ lfs f3, 8(r5) -/* 80263DAC 00260D0C EC 41 00 28 */ fsubs f2, f1, f0 -/* 80263DB0 00260D10 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 80263DB4 00260D14 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80263DB8 00260D18 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80263DBC 00260D1C C0 A5 00 0C */ lfs f5, 0xc(r5) -/* 80263DC0 00260D20 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80263DC4 00260D24 EC A5 01 72 */ fmuls f5, f5, f5 -/* 80263DC8 00260D28 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80263DCC 00260D2C EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80263DD0 00260D30 EC 01 00 2A */ fadds f0, f1, f0 -/* 80263DD4 00260D34 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80263DD8 00260D38 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80263DDC 00260D3C EC 02 00 2A */ fadds f0, f2, f0 -/* 80263DE0 00260D40 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 80263DE4 00260D44 40 80 00 0C */ bge lbl_80263DF0 -/* 80263DE8 00260D48 38 00 00 00 */ li r0, 0 -/* 80263DEC 00260D4C 98 04 00 00 */ stb r0, 0(r4) -lbl_80263DF0: -/* 80263DF0 00260D50 38 A5 00 10 */ addi r5, r5, 0x10 -/* 80263DF4 00260D54 39 08 00 01 */ addi r8, r8, 1 -lbl_80263DF8: -/* 80263DF8 00260D58 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80263DFC 00260D5C 7C 08 00 00 */ cmpw r8, r0 -/* 80263E00 00260D60 41 80 FF 94 */ blt lbl_80263D94 -lbl_80263E04: -/* 80263E04 00260D64 38 C6 00 80 */ addi r6, r6, 0x80 -/* 80263E08 00260D68 38 E7 00 01 */ addi r7, r7, 1 -lbl_80263E0C: -/* 80263E0C 00260D6C 80 03 01 60 */ lwz r0, 0x160(r3) -/* 80263E10 00260D70 7C 07 00 00 */ cmpw r7, r0 -/* 80263E14 00260D74 41 80 FF 60 */ blt lbl_80263D74 -/* 80263E18 00260D78 3B 60 00 00 */ li r27, 0 -/* 80263E1C 00260D7C 3B C0 00 00 */ li r30, 0 -/* 80263E20 00260D80 48 00 00 94 */ b lbl_80263EB4 -lbl_80263E24: -/* 80263E24 00260D84 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263E28 00260D88 7F E4 FB 78 */ mr r4, r31 -/* 80263E2C 00260D8C 38 A0 00 00 */ li r5, 0 -/* 80263E30 00260D90 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80263E34 00260D94 7C 60 F2 14 */ add r3, r0, r30 -/* 80263E38 00260D98 48 00 00 68 */ b lbl_80263EA0 -lbl_80263E3C: -/* 80263E3C 00260D9C C0 44 00 04 */ lfs f2, 4(r4) -/* 80263E40 00260DA0 C0 03 00 08 */ lfs f0, 8(r3) -/* 80263E44 00260DA4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80263E48 00260DA8 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80263E4C 00260DAC C0 03 00 04 */ lfs f0, 4(r3) -/* 80263E50 00260DB0 C0 64 00 08 */ lfs f3, 8(r4) -/* 80263E54 00260DB4 EC 41 00 28 */ fsubs f2, f1, f0 -/* 80263E58 00260DB8 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80263E5C 00260DBC EC 04 01 32 */ fmuls f0, f4, f4 -/* 80263E60 00260DC0 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80263E64 00260DC4 C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 80263E68 00260DC8 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80263E6C 00260DCC EC A5 01 72 */ fmuls f5, f5, f5 -/* 80263E70 00260DD0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80263E74 00260DD4 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80263E78 00260DD8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80263E7C 00260DDC D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80263E80 00260DE0 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80263E84 00260DE4 EC 02 00 2A */ fadds f0, f2, f0 -/* 80263E88 00260DE8 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 80263E8C 00260DEC 40 80 00 0C */ bge lbl_80263E98 -/* 80263E90 00260DF0 38 00 FF FF */ li r0, -1 -/* 80263E94 00260DF4 90 03 00 00 */ stw r0, 0(r3) -lbl_80263E98: -/* 80263E98 00260DF8 38 84 00 10 */ addi r4, r4, 0x10 -/* 80263E9C 00260DFC 38 A5 00 01 */ addi r5, r5, 1 -lbl_80263EA0: -/* 80263EA0 00260E00 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80263EA4 00260E04 7C 05 00 00 */ cmpw r5, r0 -/* 80263EA8 00260E08 41 80 FF 94 */ blt lbl_80263E3C -/* 80263EAC 00260E0C 3B 7B 00 01 */ addi r27, r27, 1 -/* 80263EB0 00260E10 3B DE 00 38 */ addi r30, r30, 0x38 -lbl_80263EB4: -/* 80263EB4 00260E14 80 7C 03 58 */ lwz r3, 0x358(r28) -/* 80263EB8 00260E18 81 83 00 00 */ lwz r12, 0(r3) -/* 80263EBC 00260E1C 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80263EC0 00260E20 7D 89 03 A6 */ mtctr r12 -/* 80263EC4 00260E24 4E 80 04 21 */ bctrl -/* 80263EC8 00260E28 7C 1B 18 00 */ cmpw r27, r3 -/* 80263ECC 00260E2C 41 80 FF 58 */ blt lbl_80263E24 -/* 80263ED0 00260E30 3B 60 00 00 */ li r27, 0 -/* 80263ED4 00260E34 3B C0 00 00 */ li r30, 0 -/* 80263ED8 00260E38 48 00 00 94 */ b lbl_80263F6C -lbl_80263EDC: -/* 80263EDC 00260E3C 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 80263EE0 00260E40 7F E4 FB 78 */ mr r4, r31 -/* 80263EE4 00260E44 38 A0 00 00 */ li r5, 0 -/* 80263EE8 00260E48 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80263EEC 00260E4C 7C 60 F2 14 */ add r3, r0, r30 -/* 80263EF0 00260E50 48 00 00 68 */ b lbl_80263F58 -lbl_80263EF4: -/* 80263EF4 00260E54 C0 44 00 04 */ lfs f2, 4(r4) -/* 80263EF8 00260E58 C0 03 00 08 */ lfs f0, 8(r3) -/* 80263EFC 00260E5C C0 24 00 00 */ lfs f1, 0(r4) -/* 80263F00 00260E60 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80263F04 00260E64 C0 03 00 04 */ lfs f0, 4(r3) -/* 80263F08 00260E68 C0 64 00 08 */ lfs f3, 8(r4) -/* 80263F0C 00260E6C EC 41 00 28 */ fsubs f2, f1, f0 -/* 80263F10 00260E70 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80263F14 00260E74 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80263F18 00260E78 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80263F1C 00260E7C C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 80263F20 00260E80 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80263F24 00260E84 EC A5 01 72 */ fmuls f5, f5, f5 -/* 80263F28 00260E88 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80263F2C 00260E8C EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80263F30 00260E90 EC 01 00 2A */ fadds f0, f1, f0 -/* 80263F34 00260E94 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80263F38 00260E98 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80263F3C 00260E9C EC 02 00 2A */ fadds f0, f2, f0 -/* 80263F40 00260EA0 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 80263F44 00260EA4 40 80 00 0C */ bge lbl_80263F50 -/* 80263F48 00260EA8 38 00 FF FF */ li r0, -1 -/* 80263F4C 00260EAC 90 03 00 00 */ stw r0, 0(r3) -lbl_80263F50: -/* 80263F50 00260EB0 38 84 00 10 */ addi r4, r4, 0x10 -/* 80263F54 00260EB4 38 A5 00 01 */ addi r5, r5, 1 -lbl_80263F58: -/* 80263F58 00260EB8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80263F5C 00260EBC 7C 05 00 00 */ cmpw r5, r0 -/* 80263F60 00260EC0 41 80 FF 94 */ blt lbl_80263EF4 -/* 80263F64 00260EC4 3B 7B 00 01 */ addi r27, r27, 1 -/* 80263F68 00260EC8 3B DE 00 38 */ addi r30, r30, 0x38 -lbl_80263F6C: -/* 80263F6C 00260ECC 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 80263F70 00260ED0 81 83 00 00 */ lwz r12, 0(r3) -/* 80263F74 00260ED4 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80263F78 00260ED8 7D 89 03 A6 */ mtctr r12 -/* 80263F7C 00260EDC 4E 80 04 21 */ bctrl -/* 80263F80 00260EE0 7C 1B 18 00 */ cmpw r27, r3 -/* 80263F84 00260EE4 41 80 FF 58 */ blt lbl_80263EDC -lbl_80263F88: -/* 80263F88 00260EE8 80 1C 03 74 */ lwz r0, 0x374(r28) -/* 80263F8C 00260EEC 2C 00 00 02 */ cmpwi r0, 2 -/* 80263F90 00260EF0 40 82 01 C0 */ bne lbl_80264150 -/* 80263F94 00260EF4 80 9C 03 6C */ lwz r4, 0x36c(r28) -/* 80263F98 00260EF8 80 A4 01 60 */ lwz r5, 0x160(r4) -/* 80263F9C 00260EFC 80 04 01 64 */ lwz r0, 0x164(r4) -/* 80263FA0 00260F00 7C 05 00 50 */ subf r0, r5, r0 -/* 80263FA4 00260F04 2C 00 00 04 */ cmpwi r0, 4 -/* 80263FA8 00260F08 40 80 01 A8 */ bge lbl_80264150 -/* 80263FAC 00260F0C 54 A3 0F FE */ srwi r3, r5, 0x1f -/* 80263FB0 00260F10 80 04 01 58 */ lwz r0, 0x158(r4) -/* 80263FB4 00260F14 7C 63 2A 14 */ add r3, r3, r5 -/* 80263FB8 00260F18 80 C4 01 68 */ lwz r6, 0x168(r4) -/* 80263FBC 00260F1C 7C 63 0E 70 */ srawi r3, r3, 1 -/* 80263FC0 00260F20 1C 83 00 03 */ mulli r4, r3, 3 -/* 80263FC4 00260F24 54 83 0F FE */ srwi r3, r4, 0x1f -/* 80263FC8 00260F28 7C 63 22 14 */ add r3, r3, r4 -/* 80263FCC 00260F2C 7C 63 0E 70 */ srawi r3, r3, 1 -/* 80263FD0 00260F30 7C 63 02 14 */ add r3, r3, r0 -/* 80263FD4 00260F34 7C 03 2B D6 */ divw r0, r3, r5 -/* 80263FD8 00260F38 7C 00 29 D6 */ mullw r0, r0, r5 -/* 80263FDC 00260F3C 7C 80 18 50 */ subf r4, r0, r3 -/* 80263FE0 00260F40 54 80 38 30 */ slwi r0, r4, 7 -/* 80263FE4 00260F44 7C 66 02 14 */ add r3, r6, r0 -/* 80263FE8 00260F48 88 03 00 00 */ lbz r0, 0(r3) -/* 80263FEC 00260F4C 28 00 00 00 */ cmplwi r0, 0 -/* 80263FF0 00260F50 41 82 01 60 */ beq lbl_80264150 -/* 80263FF4 00260F54 38 84 00 01 */ addi r4, r4, 1 -/* 80263FF8 00260F58 3B E3 00 0C */ addi r31, r3, 0xc -/* 80263FFC 00260F5C 7C 04 2B D6 */ divw r0, r4, r5 -/* 80264000 00260F60 C0 A3 00 10 */ lfs f5, 0x10(r3) -/* 80264004 00260F64 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 80264008 00260F68 3B C3 00 38 */ addi r30, r3, 0x38 -/* 8026400C 00260F6C C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80264010 00260F70 38 61 00 3C */ addi r3, r1, 0x3c -/* 80264014 00260F74 7C 00 29 D6 */ mullw r0, r0, r5 -/* 80264018 00260F78 7C 00 20 50 */ subf r0, r0, r4 -/* 8026401C 00260F7C 54 04 38 30 */ slwi r4, r0, 7 -/* 80264020 00260F80 38 84 00 0C */ addi r4, r4, 0xc -/* 80264024 00260F84 7C 86 22 14 */ add r4, r6, r4 -/* 80264028 00260F88 C0 84 00 04 */ lfs f4, 4(r4) -/* 8026402C 00260F8C C0 44 00 08 */ lfs f2, 8(r4) -/* 80264030 00260F90 C0 04 00 00 */ lfs f0, 0(r4) -/* 80264034 00260F94 EC A5 20 28 */ fsubs f5, f5, f4 -/* 80264038 00260F98 EC 83 10 28 */ fsubs f4, f3, f2 -/* 8026403C 00260F9C EC 61 00 28 */ fsubs f3, f1, f0 -/* 80264040 00260FA0 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 80264044 00260FA4 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80264048 00260FA8 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 8026404C 00260FAC C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 80264050 00260FB0 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80264054 00260FB4 EC 05 00 72 */ fmuls f0, f5, f1 -/* 80264058 00260FB8 C0 DE 00 24 */ lfs f6, 0x24(r30) -/* 8026405C 00260FBC EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 80264060 00260FC0 EC 04 01 BA */ fmadds f0, f4, f6, f0 -/* 80264064 00260FC4 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80264068 00260FC8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8026406C 00260FCC EC 00 01 B2 */ fmuls f0, f0, f6 -/* 80264070 00260FD0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80264074 00260FD4 EC 25 08 28 */ fsubs f1, f5, f1 -/* 80264078 00260FD8 EC 04 00 28 */ fsubs f0, f4, f0 -/* 8026407C 00260FDC D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80264080 00260FE0 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80264084 00260FE4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80264088 00260FE8 48 0B 08 31 */ bl Magnitude__9CVector3fCFv -/* 8026408C 00260FEC 88 1C 03 7C */ lbz r0, 0x37c(r28) -/* 80264090 00260FF0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80264094 00260FF4 41 82 00 0C */ beq lbl_802640A0 -/* 80264098 00260FF8 C0 62 BA 8C */ lfs f3, lbl_805AD7AC@sda21(r2) -/* 8026409C 00260FFC 48 00 00 08 */ b lbl_802640A4 -lbl_802640A0: -/* 802640A0 00261000 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) -lbl_802640A4: -/* 802640A4 00261004 C0 42 BA 90 */ lfs f2, lbl_805AD7B0@sda21(r2) -/* 802640A8 00261008 C0 0D 98 0C */ lfs f0, lbl_805A83CC@sda21(r13) -/* 802640AC 0026100C EC 22 00 72 */ fmuls f1, f2, f1 -/* 802640B0 00261010 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802640B4 00261014 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802640B8 00261018 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802640BC 0026101C 40 80 00 0C */ bge lbl_802640C8 -/* 802640C0 00261020 38 61 00 0C */ addi r3, r1, 0xc -/* 802640C4 00261024 48 00 00 08 */ b lbl_802640CC -lbl_802640C8: -/* 802640C8 00261028 38 6D 98 0C */ addi r3, r13, lbl_805A83CC@sda21 -lbl_802640CC: -/* 802640CC 0026102C C0 03 00 00 */ lfs f0, 0(r3) -/* 802640D0 00261030 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802640D4 00261034 40 80 00 08 */ bge lbl_802640DC -/* 802640D8 00261038 38 61 00 14 */ addi r3, r1, 0x14 -lbl_802640DC: -/* 802640DC 0026103C C0 03 00 00 */ lfs f0, 0(r3) -/* 802640E0 00261040 38 61 00 08 */ addi r3, r1, 8 -/* 802640E4 00261044 FC 00 00 1E */ fctiwz f0, f0 -/* 802640E8 00261048 D8 01 02 B8 */ stfd f0, 0x2b8(r1) -/* 802640EC 0026104C 80 A1 02 BC */ lwz r5, 0x2bc(r1) -/* 802640F0 00261050 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802640F4 00261054 80 9C 03 B4 */ lwz r4, 0x3b4(r28) -/* 802640F8 00261058 38 04 FF FF */ addi r0, r4, -1 -/* 802640FC 0026105C 7C 00 28 00 */ cmpw r0, r5 -/* 80264100 00261060 90 01 00 08 */ stw r0, 8(r1) -/* 80264104 00261064 40 80 00 08 */ bge lbl_8026410C -/* 80264108 00261068 38 61 00 10 */ addi r3, r1, 0x10 -lbl_8026410C: -/* 8026410C 0026106C 80 03 00 00 */ lwz r0, 0(r3) -/* 80264110 00261070 7F E4 FB 78 */ mr r4, r31 -/* 80264114 00261074 90 1C 03 B4 */ stw r0, 0x3b4(r28) -/* 80264118 00261078 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 8026411C 0026107C 81 83 00 00 */ lwz r12, 0(r3) -/* 80264120 00261080 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80264124 00261084 7D 89 03 A6 */ mtctr r12 -/* 80264128 00261088 4E 80 04 21 */ bctrl -/* 8026412C 0026108C 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 80264130 00261090 7F C4 F3 78 */ mr r4, r30 -/* 80264134 00261094 81 83 00 00 */ lwz r12, 0(r3) -/* 80264138 00261098 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026413C 0026109C 7D 89 03 A6 */ mtctr r12 -/* 80264140 002610A0 4E 80 04 21 */ bctrl -/* 80264144 002610A4 80 7C 03 5C */ lwz r3, 0x35c(r28) -/* 80264148 002610A8 80 9C 03 B4 */ lwz r4, 0x3b4(r28) -/* 8026414C 002610AC 48 0B 87 75 */ bl ForceParticleCreation__11CElementGenFi -lbl_80264150: -/* 80264150 002610B0 7F 83 E3 78 */ mr r3, r28 -/* 80264154 002610B4 7F A4 EB 78 */ mr r4, r29 -/* 80264158 002610B8 4B FF D9 C1 */ bl sub_80261b18 -/* 8026415C 002610BC 80 A1 00 B4 */ lwz r5, 0xb4(r1) -/* 80264160 002610C0 38 60 00 00 */ li r3, 0 -/* 80264164 002610C4 2C 05 00 00 */ cmpwi r5, 0 -/* 80264168 002610C8 40 81 00 40 */ ble lbl_802641A8 -/* 8026416C 002610CC 2C 05 00 08 */ cmpwi r5, 8 -/* 80264170 002610D0 38 85 FF F8 */ addi r4, r5, -8 -/* 80264174 002610D4 40 81 00 20 */ ble lbl_80264194 -/* 80264178 002610D8 38 04 00 07 */ addi r0, r4, 7 -/* 8026417C 002610DC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80264180 002610E0 7C 09 03 A6 */ mtctr r0 -/* 80264184 002610E4 2C 04 00 00 */ cmpwi r4, 0 -/* 80264188 002610E8 40 81 00 0C */ ble lbl_80264194 -lbl_8026418C: -/* 8026418C 002610EC 38 63 00 08 */ addi r3, r3, 8 -/* 80264190 002610F0 42 00 FF FC */ bdnz lbl_8026418C -lbl_80264194: -/* 80264194 002610F4 7C 03 28 50 */ subf r0, r3, r5 -/* 80264198 002610F8 7C 09 03 A6 */ mtctr r0 -/* 8026419C 002610FC 7C 03 28 00 */ cmpw r3, r5 -/* 802641A0 00261100 40 80 00 08 */ bge lbl_802641A8 -lbl_802641A4: -/* 802641A4 00261104 42 00 00 00 */ bdnz lbl_802641A4 -lbl_802641A8: -/* 802641A8 00261108 38 00 00 00 */ li r0, 0 -/* 802641AC 0026110C 90 01 00 B4 */ stw r0, 0xb4(r1) -lbl_802641B0: -/* 802641B0 00261110 E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 -/* 802641B4 00261114 CB E1 02 E0 */ lfd f31, 0x2e0(r1) -/* 802641B8 00261118 BB 61 02 CC */ lmw r27, 0x2cc(r1) -/* 802641BC 0026111C 80 01 02 F4 */ lwz r0, 0x2f4(r1) -/* 802641C0 00261120 7C 08 03 A6 */ mtlr r0 -/* 802641C4 00261124 38 21 02 F0 */ addi r1, r1, 0x2f0 -/* 802641C8 00261128 4E 80 00 20 */ blr - -.global sub_802641cc -sub_802641cc: -/* 802641CC 0026112C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802641D0 00261130 7C 08 02 A6 */ mflr r0 -/* 802641D4 00261134 90 01 00 34 */ stw r0, 0x34(r1) -/* 802641D8 00261138 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802641DC 0026113C 3B E0 00 00 */ li r31, 0 -/* 802641E0 00261140 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802641E4 00261144 7C 9E 23 78 */ mr r30, r4 -/* 802641E8 00261148 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802641EC 0026114C 7C 7D 1B 78 */ mr r29, r3 -/* 802641F0 00261150 80 03 03 74 */ lwz r0, 0x374(r3) -/* 802641F4 00261154 2C 00 00 03 */ cmpwi r0, 3 -/* 802641F8 00261158 41 82 00 38 */ beq lbl_80264230 -/* 802641FC 0026115C 40 80 00 14 */ bge lbl_80264210 -/* 80264200 00261160 2C 00 00 01 */ cmpwi r0, 1 -/* 80264204 00261164 41 82 00 18 */ beq lbl_8026421C -/* 80264208 00261168 40 80 00 20 */ bge lbl_80264228 -/* 8026420C 0026116C 48 00 00 A8 */ b lbl_802642B4 -lbl_80264210: -/* 80264210 00261170 2C 00 00 05 */ cmpwi r0, 5 -/* 80264214 00261174 40 80 00 A0 */ bge lbl_802642B4 -/* 80264218 00261178 48 00 00 5C */ b lbl_80264274 -lbl_8026421C: -/* 8026421C 0026117C 38 00 00 02 */ li r0, 2 -/* 80264220 00261180 90 1D 03 74 */ stw r0, 0x374(r29) -/* 80264224 00261184 48 00 00 90 */ b lbl_802642B4 -lbl_80264228: -/* 80264228 00261188 3B E0 00 01 */ li r31, 1 -/* 8026422C 0026118C 48 00 00 88 */ b lbl_802642B4 -lbl_80264230: -/* 80264230 00261190 C0 62 BA 84 */ lfs f3, lbl_805AD7A4@sda21(r2) -/* 80264234 00261194 3B E0 00 01 */ li r31, 1 -/* 80264238 00261198 C0 5D 02 F0 */ lfs f2, 0x2f0(r29) -/* 8026423C 0026119C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) -/* 80264240 002611A0 EC 23 10 7A */ fmadds f1, f3, f1, f2 -/* 80264244 002611A4 D0 3D 02 F0 */ stfs f1, 0x2f0(r29) -/* 80264248 002611A8 C0 3D 02 F0 */ lfs f1, 0x2f0(r29) -/* 8026424C 002611AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264250 002611B0 40 81 00 64 */ ble lbl_802642B4 -/* 80264254 002611B4 D0 1D 02 F0 */ stfs f0, 0x2f0(r29) -/* 80264258 002611B8 38 00 00 04 */ li r0, 4 -/* 8026425C 002611BC 38 60 00 00 */ li r3, 0 -/* 80264260 002611C0 90 1D 03 74 */ stw r0, 0x374(r29) -/* 80264264 002611C4 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 80264268 002611C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8026426C 002611CC 98 1D 03 7C */ stb r0, 0x37c(r29) -/* 80264270 002611D0 48 00 00 44 */ b lbl_802642B4 -lbl_80264274: -/* 80264274 002611D4 C0 5D 02 EC */ lfs f2, 0x2ec(r29) -/* 80264278 002611D8 C0 02 BA 70 */ lfs f0, lbl_805AD790@sda21(r2) -/* 8026427C 002611DC EC 22 08 2A */ fadds f1, f2, f1 -/* 80264280 002611E0 D0 3D 02 EC */ stfs f1, 0x2ec(r29) -/* 80264284 002611E4 C0 3D 02 EC */ lfs f1, 0x2ec(r29) -/* 80264288 002611E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026428C 002611EC 40 81 00 28 */ ble lbl_802642B4 -/* 80264290 002611F0 4B FF DC 25 */ bl AreParticlesDoneEmitting__16CNewFlameThrowerCFv -/* 80264294 002611F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80264298 002611F8 41 82 00 1C */ beq lbl_802642B4 -/* 8026429C 002611FC 38 00 00 00 */ li r0, 0 -/* 802642A0 00261200 7F A3 EB 78 */ mr r3, r29 -/* 802642A4 00261204 90 1D 03 74 */ stw r0, 0x374(r29) -/* 802642A8 00261208 7F C4 F3 78 */ mr r4, r30 -/* 802642AC 0026120C 38 A0 00 01 */ li r5, 1 -/* 802642B0 00261210 4B FF F6 31 */ bl Reset__16CFlameNewThrowerFR13CStateManagerb -lbl_802642B4: -/* 802642B4 00261214 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802642B8 00261218 41 82 00 30 */ beq lbl_802642E8 -/* 802642BC 0026121C 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 802642C0 00261220 7F A3 EB 78 */ mr r3, r29 -/* 802642C4 00261224 C0 22 BA 84 */ lfs f1, lbl_805AD7A4@sda21(r2) -/* 802642C8 00261228 7F C4 F3 78 */ mr r4, r30 -/* 802642CC 0026122C 80 05 00 04 */ lwz r0, 4(r5) -/* 802642D0 00261230 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802642D4 00261234 C0 42 BA 94 */ lfs f2, lbl_805AD7B4@sda21(r2) -/* 802642D8 00261238 90 01 00 10 */ stw r0, 0x10(r1) -/* 802642DC 0026123C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802642E0 00261240 4B FF D2 95 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff -/* 802642E4 00261244 48 00 00 2C */ b lbl_80264310 -lbl_802642E8: -/* 802642E8 00261248 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 802642EC 0026124C 7F A3 EB 78 */ mr r3, r29 -/* 802642F0 00261250 C0 22 BA 68 */ lfs f1, lbl_805AD788@sda21(r2) -/* 802642F4 00261254 7F C4 F3 78 */ mr r4, r30 -/* 802642F8 00261258 80 05 00 04 */ lwz r0, 4(r5) -/* 802642FC 0026125C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80264300 00261260 FC 40 08 90 */ fmr f2, f1 -/* 80264304 00261264 90 01 00 08 */ stw r0, 8(r1) -/* 80264308 00261268 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026430C 0026126C 4B FF D2 69 */ bl SetWorldLighting__16CNewFlameThrowerFR13CStateManager7TAreaIdff -lbl_80264310: -/* 80264310 00261270 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80264314 00261274 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80264318 00261278 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8026431C 0026127C C0 22 BA 6C */ lfs f1, lbl_805AD78C@sda21(r2) -/* 80264320 00261280 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80264324 00261284 7C 08 03 A6 */ mtlr r0 -/* 80264328 00261288 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026432C 0026128C 4E 80 00 20 */ blr - -.global Think__16CNewFlameThrowerFfR13CStateManager -Think__16CNewFlameThrowerFfR13CStateManager: -/* 80264330 00261290 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80264334 00261294 7C 08 02 A6 */ mflr r0 -/* 80264338 00261298 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026433C 0026129C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80264340 002612A0 7C 7B 1B 78 */ mr r27, r3 -/* 80264344 002612A4 7C 9C 23 78 */ mr r28, r4 -/* 80264348 002612A8 4B E9 DD 91 */ bl Think__7CWeaponFfR13CStateManager -/* 8026434C 002612AC 80 DC 08 50 */ lwz r6, 0x850(r28) -/* 80264350 002612B0 7F 83 E3 78 */ mr r3, r28 -/* 80264354 002612B4 7F 64 DB 78 */ mr r4, r27 -/* 80264358 002612B8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8026435C 002612BC 80 06 00 68 */ lwz r0, 0x68(r6) -/* 80264360 002612C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264364 002612C4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80264368 002612C8 4B DE 0F 11 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -/* 8026436C 002612CC 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80264370 002612D0 3B DB 03 BC */ addi r30, r27, 0x3bc -/* 80264374 002612D4 3B A0 00 00 */ li r29, 0 -/* 80264378 002612D8 48 00 00 44 */ b lbl_802643BC -lbl_8026437C: -/* 8026437C 002612DC A0 1E 00 00 */ lhz r0, 0(r30) -/* 80264380 002612E0 7F 83 E3 78 */ mr r3, r28 -/* 80264384 002612E4 38 81 00 08 */ addi r4, r1, 8 -/* 80264388 002612E8 B0 01 00 08 */ sth r0, 8(r1) -/* 8026438C 002612EC 4B DE 81 E9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80264390 002612F0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264394 002612F4 41 82 00 18 */ beq lbl_802643AC -/* 80264398 002612F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026439C 002612FC 7F 83 E3 78 */ mr r3, r28 -/* 802643A0 00261300 38 A1 00 0C */ addi r5, r1, 0xc -/* 802643A4 00261304 4B DE 0E D5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -/* 802643A8 00261308 48 00 00 0C */ b lbl_802643B4 -lbl_802643AC: -/* 802643AC 0026130C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802643B0 00261310 B0 1E 00 00 */ sth r0, 0(r30) -lbl_802643B4: -/* 802643B4 00261314 3B DE 00 02 */ addi r30, r30, 2 -/* 802643B8 00261318 3B BD 00 01 */ addi r29, r29, 1 -lbl_802643BC: -/* 802643BC 0026131C 80 1B 03 B8 */ lwz r0, 0x3b8(r27) -/* 802643C0 00261320 7C 1D 00 00 */ cmpw r29, r0 -/* 802643C4 00261324 41 80 FF B8 */ blt lbl_8026437C -/* 802643C8 00261328 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802643CC 0026132C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802643D0 00261330 7C 08 03 A6 */ mtlr r0 -/* 802643D4 00261334 38 21 00 30 */ addi r1, r1, 0x30 -/* 802643D8 00261338 4E 80 00 20 */ blr - -.global nullsub_66 -nullsub_66: -/* 802643DC 0026133C 4E 80 00 20 */ blr - -.global Accept__16CNewFlameThrowerFR8IVisitor -Accept__16CNewFlameThrowerFR8IVisitor: -/* 802643E0 00261340 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802643E4 00261344 7C 08 02 A6 */ mflr r0 -/* 802643E8 00261348 90 01 00 14 */ stw r0, 0x14(r1) -/* 802643EC 0026134C 7C 60 1B 78 */ mr r0, r3 -/* 802643F0 00261350 7C 83 23 78 */ mr r3, r4 -/* 802643F4 00261354 81 84 00 00 */ lwz r12, 0(r4) -/* 802643F8 00261358 7C 04 03 78 */ mr r4, r0 -/* 802643FC 0026135C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80264400 00261360 7D 89 03 A6 */ mtctr r12 -/* 80264404 00261364 4E 80 04 21 */ bctrl -/* 80264408 00261368 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026440C 0026136C 7C 08 03 A6 */ mtlr r0 -/* 80264410 00261370 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264414 00261374 4E 80 00 20 */ blr - -.global GetTouchBounds__16CNewFlameThrowerCFv -GetTouchBounds__16CNewFlameThrowerCFv: -/* 80264418 00261378 38 00 00 00 */ li r0, 0 -/* 8026441C 0026137C 98 03 00 18 */ stb r0, 0x18(r3) -/* 80264420 00261380 4E 80 00 20 */ blr - -.global "__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi" -"__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi": -/* 80264424 00261384 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80264428 00261388 7C 08 02 A6 */ mflr r0 -/* 8026442C 0026138C C0 02 BA 68 */ lfs f0, lbl_805AD788@sda21(r2) -/* 80264430 00261390 90 01 01 34 */ stw r0, 0x134(r1) -/* 80264434 00261394 39 81 00 E0 */ addi r12, r1, 0xe0 -/* 80264438 00261398 39 61 00 D0 */ addi r11, r1, 0xd0 -/* 8026443C 0026139C BE 61 00 FC */ stmw r19, 0xfc(r1) -/* 80264440 002613A0 3B 00 00 00 */ li r24, 0 -/* 80264444 002613A4 7C B3 2B 78 */ mr r19, r5 -/* 80264448 002613A8 7C D4 33 78 */ mr r20, r6 -/* 8026444C 002613AC 7C FF 3B 78 */ mr r31, r7 -/* 80264450 002613B0 80 A1 01 40 */ lwz r5, 0x140(r1) -/* 80264454 002613B4 82 C1 01 3C */ lwz r22, 0x13c(r1) -/* 80264458 002613B8 3B 41 00 38 */ addi r26, r1, 0x38 -/* 8026445C 002613BC 82 A1 01 38 */ lwz r21, 0x138(r1) -/* 80264460 002613C0 3B 61 00 4C */ addi r27, r1, 0x4c -/* 80264464 002613C4 3B 81 00 34 */ addi r28, r1, 0x34 -/* 80264468 002613C8 3B A1 00 30 */ addi r29, r1, 0x30 -/* 8026446C 002613CC 82 E1 01 44 */ lwz r23, 0x144(r1) -/* 80264470 002613D0 7C 7E 1B 78 */ mr r30, r3 -/* 80264474 002613D4 7E 66 9B 78 */ mr r6, r19 -/* 80264478 002613D8 7E 87 A3 78 */ mr r7, r20 -/* 8026447C 002613DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80264480 002613E0 9B 01 00 DC */ stb r24, 0xdc(r1) -/* 80264484 002613E4 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80264488 002613E8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 8026448C 002613EC D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 80264490 002613F0 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80264494 002613F4 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 80264498 002613F8 A3 25 00 00 */ lhz r25, 0(r5) -/* 8026449C 002613FC 7C 85 23 78 */ mr r5, r4 -/* 802644A0 00261400 38 80 00 00 */ li r4, 0 -/* 802644A4 00261404 B3 21 00 34 */ sth r25, 0x34(r1) -/* 802644A8 00261408 83 36 00 00 */ lwz r25, 0(r22) -/* 802644AC 0026140C 93 21 00 4C */ stw r25, 0x4c(r1) -/* 802644B0 00261410 A3 35 00 00 */ lhz r25, 0(r21) -/* 802644B4 00261414 B3 21 00 38 */ sth r25, 0x38(r1) -/* 802644B8 00261418 93 41 00 08 */ stw r26, 8(r1) -/* 802644BC 0026141C 93 61 00 0C */ stw r27, 0xc(r1) -/* 802644C0 00261420 93 81 00 10 */ stw r28, 0x10(r1) -/* 802644C4 00261424 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802644C8 00261428 92 E1 00 18 */ stw r23, 0x18(r1) -/* 802644CC 0026142C 93 01 00 1C */ stw r24, 0x1c(r1) -/* 802644D0 00261430 91 81 00 20 */ stw r12, 0x20(r1) -/* 802644D4 00261434 91 61 00 24 */ stw r11, 0x24(r1) -/* 802644D8 00261438 90 01 00 28 */ stw r0, 0x28(r1) -/* 802644DC 0026143C 93 01 00 2C */ stw r24, 0x2c(r1) -/* 802644E0 00261440 4B DD 5F A5 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 802644E4 00261444 88 01 00 DC */ lbz r0, 0xdc(r1) -/* 802644E8 00261448 28 00 00 00 */ cmplwi r0, 0 -/* 802644EC 0026144C 41 82 00 1C */ beq lbl_80264508 -/* 802644F0 00261450 34 61 00 D0 */ addic. r3, r1, 0xd0 -/* 802644F4 00261454 41 82 00 14 */ beq lbl_80264508 -/* 802644F8 00261458 28 03 00 00 */ cmplwi r3, 0 -/* 802644FC 0026145C 41 82 00 0C */ beq lbl_80264508 -/* 80264500 00261460 38 80 00 00 */ li r4, 0 -/* 80264504 00261464 48 0D C9 3D */ bl __dt__6CTokenFv -lbl_80264508: -/* 80264508 00261468 38 00 00 00 */ li r0, 0 -/* 8026450C 0026146C 3C 60 80 3F */ lis r3, lbl_803E9D10@ha -/* 80264510 00261470 98 01 00 DC */ stb r0, 0xdc(r1) -/* 80264514 00261474 38 03 9D 10 */ addi r0, r3, lbl_803E9D10@l -/* 80264518 00261478 38 7E 02 E8 */ addi r3, r30, 0x2e8 -/* 8026451C 0026147C 38 80 00 63 */ li r4, 0x63 -/* 80264520 00261480 90 1E 00 00 */ stw r0, 0(r30) -/* 80264524 00261484 48 0A E0 C9 */ bl __ct__9CRandom16FUi -/* 80264528 00261488 C0 02 BA 6C */ lfs f0, lbl_805AD78C@sda21(r2) -/* 8026452C 0026148C 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 80264530 00261490 38 C0 00 00 */ li r6, 0 -/* 80264534 00261494 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80264538 00261498 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 8026453C 0026149C 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 80264540 002614A0 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80264544 002614A4 D0 1E 02 F0 */ stfs f0, 0x2f0(r30) -/* 80264548 002614A8 98 DE 03 00 */ stb r6, 0x300(r30) -/* 8026454C 002614AC 80 DF 00 04 */ lwz r6, 4(r31) -/* 80264550 002614B0 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80264554 002614B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80264558 002614B8 90 C1 00 BC */ stw r6, 0xbc(r1) -/* 8026455C 002614BC 81 84 00 00 */ lwz r12, 0(r4) -/* 80264560 002614C0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80264564 002614C4 7D 89 03 A6 */ mtctr r12 -/* 80264568 002614C8 4E 80 04 21 */ bctrl -/* 8026456C 002614CC 3A 7E 03 04 */ addi r19, r30, 0x304 -/* 80264570 002614D0 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80264574 002614D4 7E 63 9B 78 */ mr r3, r19 -/* 80264578 002614D8 48 0D C9 31 */ bl __ct__6CTokenFRC6CToken -/* 8026457C 002614DC 7E 63 9B 78 */ mr r3, r19 -/* 80264580 002614E0 48 0D C8 8D */ bl GetObj__6CTokenFv -/* 80264584 002614E4 80 03 00 04 */ lwz r0, 4(r3) -/* 80264588 002614E8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8026458C 002614EC 38 80 FF FF */ li r4, -1 -/* 80264590 002614F0 90 13 00 08 */ stw r0, 8(r19) -/* 80264594 002614F4 48 0D C8 AD */ bl __dt__6CTokenFv -/* 80264598 002614F8 80 DF 00 08 */ lwz r6, 8(r31) -/* 8026459C 002614FC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 802645A0 00261500 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 802645A4 00261504 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802645A8 00261508 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 802645AC 0026150C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802645B0 00261510 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 802645B4 00261514 90 C1 00 AC */ stw r6, 0xac(r1) -/* 802645B8 00261518 81 84 00 00 */ lwz r12, 0(r4) -/* 802645BC 0026151C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802645C0 00261520 7D 89 03 A6 */ mtctr r12 -/* 802645C4 00261524 4E 80 04 21 */ bctrl -/* 802645C8 00261528 3A 7E 03 10 */ addi r19, r30, 0x310 -/* 802645CC 0026152C 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802645D0 00261530 7E 63 9B 78 */ mr r3, r19 -/* 802645D4 00261534 48 0D C8 D5 */ bl __ct__6CTokenFRC6CToken -/* 802645D8 00261538 7E 63 9B 78 */ mr r3, r19 -/* 802645DC 0026153C 48 0D C8 31 */ bl GetObj__6CTokenFv -/* 802645E0 00261540 80 03 00 04 */ lwz r0, 4(r3) -/* 802645E4 00261544 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802645E8 00261548 38 80 FF FF */ li r4, -1 -/* 802645EC 0026154C 90 13 00 08 */ stw r0, 8(r19) -/* 802645F0 00261550 48 0D C8 51 */ bl __dt__6CTokenFv -/* 802645F4 00261554 80 DF 00 14 */ lwz r6, 0x14(r31) -/* 802645F8 00261558 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 802645FC 0026155C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80264600 00261560 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80264604 00261564 90 01 00 98 */ stw r0, 0x98(r1) -/* 80264608 00261568 38 61 00 90 */ addi r3, r1, 0x90 -/* 8026460C 0026156C 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80264610 00261570 90 C1 00 9C */ stw r6, 0x9c(r1) -/* 80264614 00261574 81 84 00 00 */ lwz r12, 0(r4) -/* 80264618 00261578 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026461C 0026157C 7D 89 03 A6 */ mtctr r12 -/* 80264620 00261580 4E 80 04 21 */ bctrl -/* 80264624 00261584 3A 7E 03 1C */ addi r19, r30, 0x31c -/* 80264628 00261588 38 81 00 90 */ addi r4, r1, 0x90 -/* 8026462C 0026158C 7E 63 9B 78 */ mr r3, r19 -/* 80264630 00261590 48 0D C8 79 */ bl __ct__6CTokenFRC6CToken -/* 80264634 00261594 7E 63 9B 78 */ mr r3, r19 -/* 80264638 00261598 48 0D C7 D5 */ bl GetObj__6CTokenFv -/* 8026463C 0026159C 80 03 00 04 */ lwz r0, 4(r3) -/* 80264640 002615A0 38 61 00 90 */ addi r3, r1, 0x90 -/* 80264644 002615A4 38 80 FF FF */ li r4, -1 -/* 80264648 002615A8 90 13 00 08 */ stw r0, 8(r19) -/* 8026464C 002615AC 48 0D C7 F5 */ bl __dt__6CTokenFv -/* 80264650 002615B0 80 DF 00 18 */ lwz r6, 0x18(r31) -/* 80264654 002615B4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80264658 002615B8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8026465C 002615BC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80264660 002615C0 90 01 00 88 */ stw r0, 0x88(r1) -/* 80264664 002615C4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80264668 002615C8 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8026466C 002615CC 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 80264670 002615D0 81 84 00 00 */ lwz r12, 0(r4) -/* 80264674 002615D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80264678 002615D8 7D 89 03 A6 */ mtctr r12 -/* 8026467C 002615DC 4E 80 04 21 */ bctrl -/* 80264680 002615E0 3A 7E 03 28 */ addi r19, r30, 0x328 -/* 80264684 002615E4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80264688 002615E8 7E 63 9B 78 */ mr r3, r19 -/* 8026468C 002615EC 48 0D C8 1D */ bl __ct__6CTokenFRC6CToken -/* 80264690 002615F0 7E 63 9B 78 */ mr r3, r19 -/* 80264694 002615F4 48 0D C7 79 */ bl GetObj__6CTokenFv -/* 80264698 002615F8 80 03 00 04 */ lwz r0, 4(r3) -/* 8026469C 002615FC 38 61 00 80 */ addi r3, r1, 0x80 -/* 802646A0 00261600 38 80 FF FF */ li r4, -1 -/* 802646A4 00261604 90 13 00 08 */ stw r0, 8(r19) -/* 802646A8 00261608 48 0D C7 99 */ bl __dt__6CTokenFv -/* 802646AC 0026160C 80 DF 00 1C */ lwz r6, 0x1c(r31) -/* 802646B0 00261610 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 802646B4 00261614 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 802646B8 00261618 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802646BC 0026161C 90 01 00 78 */ stw r0, 0x78(r1) -/* 802646C0 00261620 38 61 00 70 */ addi r3, r1, 0x70 -/* 802646C4 00261624 38 A1 00 78 */ addi r5, r1, 0x78 -/* 802646C8 00261628 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 802646CC 0026162C 81 84 00 00 */ lwz r12, 0(r4) -/* 802646D0 00261630 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802646D4 00261634 7D 89 03 A6 */ mtctr r12 -/* 802646D8 00261638 4E 80 04 21 */ bctrl -/* 802646DC 0026163C 3A 7E 03 34 */ addi r19, r30, 0x334 -/* 802646E0 00261640 38 81 00 70 */ addi r4, r1, 0x70 -/* 802646E4 00261644 7E 63 9B 78 */ mr r3, r19 -/* 802646E8 00261648 48 0D C7 C1 */ bl __ct__6CTokenFRC6CToken -/* 802646EC 0026164C 7E 63 9B 78 */ mr r3, r19 -/* 802646F0 00261650 48 0D C7 1D */ bl GetObj__6CTokenFv -/* 802646F4 00261654 80 03 00 04 */ lwz r0, 4(r3) -/* 802646F8 00261658 38 61 00 70 */ addi r3, r1, 0x70 -/* 802646FC 0026165C 38 80 FF FF */ li r4, -1 -/* 80264700 00261660 90 13 00 08 */ stw r0, 8(r19) -/* 80264704 00261664 48 0D C7 3D */ bl __dt__6CTokenFv -/* 80264708 00261668 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8026470C 0026166C 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 80264710 00261670 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 80264714 00261674 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80264718 00261678 90 01 00 68 */ stw r0, 0x68(r1) -/* 8026471C 0026167C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80264720 00261680 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80264724 00261684 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80264728 00261688 81 84 00 00 */ lwz r12, 0(r4) -/* 8026472C 0026168C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80264730 00261690 7D 89 03 A6 */ mtctr r12 -/* 80264734 00261694 4E 80 04 21 */ bctrl -/* 80264738 00261698 3A 7E 03 40 */ addi r19, r30, 0x340 -/* 8026473C 0026169C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80264740 002616A0 7E 63 9B 78 */ mr r3, r19 -/* 80264744 002616A4 48 0D C7 65 */ bl __ct__6CTokenFRC6CToken -/* 80264748 002616A8 7E 63 9B 78 */ mr r3, r19 -/* 8026474C 002616AC 48 0D C6 C1 */ bl GetObj__6CTokenFv -/* 80264750 002616B0 80 03 00 04 */ lwz r0, 4(r3) -/* 80264754 002616B4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80264758 002616B8 38 80 FF FF */ li r4, -1 -/* 8026475C 002616BC 90 13 00 08 */ stw r0, 8(r19) -/* 80264760 002616C0 48 0D C6 E1 */ bl __dt__6CTokenFv -/* 80264764 002616C4 80 DF 00 10 */ lwz r6, 0x10(r31) -/* 80264768 002616C8 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 8026476C 002616CC 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 80264770 002616D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80264774 002616D4 90 01 00 58 */ stw r0, 0x58(r1) -/* 80264778 002616D8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026477C 002616DC 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80264780 002616E0 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80264784 002616E4 81 84 00 00 */ lwz r12, 0(r4) -/* 80264788 002616E8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026478C 002616EC 7D 89 03 A6 */ mtctr r12 -/* 80264790 002616F0 4E 80 04 21 */ bctrl -/* 80264794 002616F4 3A 7E 03 4C */ addi r19, r30, 0x34c -/* 80264798 002616F8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8026479C 002616FC 7E 63 9B 78 */ mr r3, r19 -/* 802647A0 00261700 48 0D C7 09 */ bl __ct__6CTokenFRC6CToken -/* 802647A4 00261704 7E 63 9B 78 */ mr r3, r19 -/* 802647A8 00261708 48 0D C6 65 */ bl GetObj__6CTokenFv -/* 802647AC 0026170C 80 03 00 04 */ lwz r0, 4(r3) -/* 802647B0 00261710 38 61 00 50 */ addi r3, r1, 0x50 -/* 802647B4 00261714 38 80 FF FF */ li r4, -1 -/* 802647B8 00261718 90 13 00 08 */ stw r0, 8(r19) -/* 802647BC 0026171C 48 0D C6 85 */ bl __dt__6CTokenFv -/* 802647C0 00261720 38 E0 00 00 */ li r7, 0 -/* 802647C4 00261724 38 C0 00 01 */ li r6, 1 -/* 802647C8 00261728 90 FE 03 58 */ stw r7, 0x358(r30) -/* 802647CC 0026172C 38 7E 03 80 */ addi r3, r30, 0x380 -/* 802647D0 00261730 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 802647D4 00261734 38 80 00 03 */ li r4, 3 -/* 802647D8 00261738 90 FE 03 5C */ stw r7, 0x35c(r30) -/* 802647DC 0026173C 90 FE 03 60 */ stw r7, 0x360(r30) -/* 802647E0 00261740 90 FE 03 64 */ stw r7, 0x364(r30) -/* 802647E4 00261744 90 FE 03 68 */ stw r7, 0x368(r30) -/* 802647E8 00261748 90 FE 03 6C */ stw r7, 0x36c(r30) -/* 802647EC 0026174C 90 FE 03 70 */ stw r7, 0x370(r30) -/* 802647F0 00261750 90 FE 03 74 */ stw r7, 0x374(r30) -/* 802647F4 00261754 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 802647F8 00261758 90 1E 03 78 */ stw r0, 0x378(r30) -/* 802647FC 0026175C 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80264800 00261760 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 80264804 00261764 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80264808 00261768 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 8026480C 0026176C 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 80264810 00261770 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80264814 00261774 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80264818 00261778 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a -/* 8026481C 0026177C 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80264820 00261780 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80264824 00261784 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80264828 00261788 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 8026482C 0026178C 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 80264830 00261790 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 80264834 00261794 98 1E 03 7C */ stb r0, 0x37c(r30) -/* 80264838 00261798 90 E1 00 C4 */ stw r7, 0xc4(r1) -/* 8026483C 0026179C 90 E1 00 C8 */ stw r7, 0xc8(r1) -/* 80264840 002617A0 90 E1 00 CC */ stw r7, 0xcc(r1) -/* 80264844 002617A4 48 00 00 69 */ bl sub_802648ac -/* 80264848 002617A8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8026484C 002617AC 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 80264850 002617B0 54 00 18 38 */ slwi r0, r0, 3 -/* 80264854 002617B4 7C 03 02 14 */ add r0, r3, r0 -/* 80264858 002617B8 90 61 00 40 */ stw r3, 0x40(r1) -/* 8026485C 002617BC 7C 64 1B 78 */ mr r4, r3 -/* 80264860 002617C0 90 01 00 48 */ stw r0, 0x48(r1) -/* 80264864 002617C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80264868 002617C8 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8026486C 002617CC 48 00 00 08 */ b lbl_80264874 -lbl_80264870: -/* 80264870 002617D0 38 84 00 08 */ addi r4, r4, 8 -lbl_80264874: -/* 80264874 002617D4 7C 04 00 40 */ cmplw r4, r0 -/* 80264878 002617D8 40 82 FF F8 */ bne lbl_80264870 -/* 8026487C 002617DC 28 03 00 00 */ cmplwi r3, 0 -/* 80264880 002617E0 41 82 00 08 */ beq lbl_80264888 -/* 80264884 002617E4 48 0B 10 AD */ bl Free__7CMemoryFPCv -lbl_80264888: -/* 80264888 002617E8 38 00 00 00 */ li r0, 0 -/* 8026488C 002617EC 7F C3 F3 78 */ mr r3, r30 -/* 80264890 002617F0 90 1E 03 B4 */ stw r0, 0x3b4(r30) -/* 80264894 002617F4 90 1E 03 B8 */ stw r0, 0x3b8(r30) -/* 80264898 002617F8 BA 61 00 FC */ lmw r19, 0xfc(r1) -/* 8026489C 002617FC 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802648A0 00261800 7C 08 03 A6 */ mtlr r0 -/* 802648A4 00261804 38 21 01 30 */ addi r1, r1, 0x130 -/* 802648A8 00261808 4E 80 00 20 */ blr - -.global sub_802648ac -sub_802648ac: -/* 802648AC 0026180C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802648B0 00261810 7C 08 02 A6 */ mflr r0 -/* 802648B4 00261814 90 01 00 14 */ stw r0, 0x14(r1) -/* 802648B8 00261818 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802648BC 0026181C 7C 7F 1B 78 */ mr r31, r3 -/* 802648C0 00261820 90 83 00 00 */ stw r4, 0(r3) -/* 802648C4 00261824 38 7F 00 04 */ addi r3, r31, 4 -/* 802648C8 00261828 48 00 00 1D */ bl sub_802648e4 -/* 802648CC 0026182C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802648D0 00261830 7F E3 FB 78 */ mr r3, r31 -/* 802648D4 00261834 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802648D8 00261838 7C 08 03 A6 */ mtlr r0 -/* 802648DC 0026183C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802648E0 00261840 4E 80 00 20 */ blr - -.global sub_802648e4 -sub_802648e4: -/* 802648E4 00261844 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802648E8 00261848 7C 08 02 A6 */ mflr r0 -/* 802648EC 0026184C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802648F0 00261850 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802648F4 00261854 3B E0 00 00 */ li r31, 0 -/* 802648F8 00261858 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802648FC 0026185C 7C BE 2B 78 */ mr r30, r5 -/* 80264900 00261860 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80264904 00261864 7C 9D 23 78 */ mr r29, r4 -/* 80264908 00261868 93 81 00 10 */ stw r28, 0x10(r1) -/* 8026490C 0026186C 7C 7C 1B 78 */ mr r28, r3 -/* 80264910 00261870 48 00 00 B0 */ b lbl_802649C0 -lbl_80264914: -/* 80264914 00261874 28 1C 00 00 */ cmplwi r28, 0 -/* 80264918 00261878 41 82 00 A0 */ beq lbl_802649B8 -/* 8026491C 0026187C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80264920 00261880 90 1C 00 04 */ stw r0, 4(r28) -/* 80264924 00261884 80 1E 00 08 */ lwz r0, 8(r30) -/* 80264928 00261888 90 1C 00 08 */ stw r0, 8(r28) -/* 8026492C 0026188C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80264930 00261890 2C 00 00 00 */ cmpwi r0, 0 -/* 80264934 00261894 40 82 00 1C */ bne lbl_80264950 -/* 80264938 00261898 80 1E 00 08 */ lwz r0, 8(r30) -/* 8026493C 0026189C 2C 00 00 00 */ cmpwi r0, 0 -/* 80264940 002618A0 40 82 00 10 */ bne lbl_80264950 -/* 80264944 002618A4 38 00 00 00 */ li r0, 0 -/* 80264948 002618A8 90 1C 00 0C */ stw r0, 0xc(r28) -/* 8026494C 002618AC 48 00 00 6C */ b lbl_802649B8 -lbl_80264950: -/* 80264950 002618B0 80 1C 00 08 */ lwz r0, 8(r28) -/* 80264954 002618B4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 80264958 002618B8 40 82 00 10 */ bne lbl_80264968 -/* 8026495C 002618BC 38 00 00 00 */ li r0, 0 -/* 80264960 002618C0 90 1C 00 0C */ stw r0, 0xc(r28) -/* 80264964 002618C4 48 00 00 18 */ b lbl_8026497C -lbl_80264968: -/* 80264968 002618C8 3C 80 80 3D */ lis r4, lbl_803D5278@ha -/* 8026496C 002618CC 38 A0 00 00 */ li r5, 0 -/* 80264970 002618D0 38 84 52 78 */ addi r4, r4, lbl_803D5278@l -/* 80264974 002618D4 48 0B 0E A5 */ bl __nwa__FUlPCcPCc -/* 80264978 002618D8 90 7C 00 0C */ stw r3, 0xc(r28) -lbl_8026497C: -/* 8026497C 002618DC 80 1C 00 04 */ lwz r0, 4(r28) -/* 80264980 002618E0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80264984 002618E4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80264988 002618E8 7C 09 03 A6 */ mtctr r0 -/* 8026498C 002618EC 2C 00 00 00 */ cmpwi r0, 0 -/* 80264990 002618F0 40 81 00 28 */ ble lbl_802649B8 -lbl_80264994: -/* 80264994 002618F4 28 03 00 00 */ cmplwi r3, 0 -/* 80264998 002618F8 41 82 00 14 */ beq lbl_802649AC -/* 8026499C 002618FC C0 04 00 00 */ lfs f0, 0(r4) -/* 802649A0 00261900 D0 03 00 00 */ stfs f0, 0(r3) -/* 802649A4 00261904 80 04 00 04 */ lwz r0, 4(r4) -/* 802649A8 00261908 90 03 00 04 */ stw r0, 4(r3) -lbl_802649AC: -/* 802649AC 0026190C 38 63 00 08 */ addi r3, r3, 8 -/* 802649B0 00261910 38 84 00 08 */ addi r4, r4, 8 -/* 802649B4 00261914 42 00 FF E0 */ bdnz lbl_80264994 -lbl_802649B8: -/* 802649B8 00261918 3B FF 00 01 */ addi r31, r31, 1 -/* 802649BC 0026191C 3B 9C 00 10 */ addi r28, r28, 0x10 -lbl_802649C0: -/* 802649C0 00261920 7C 1F E8 00 */ cmpw r31, r29 -/* 802649C4 00261924 41 80 FF 50 */ blt lbl_80264914 -/* 802649C8 00261928 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802649CC 0026192C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802649D0 00261930 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802649D4 00261934 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802649D8 00261938 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802649DC 0026193C 7C 08 03 A6 */ mtlr r0 -/* 802649E0 00261940 38 21 00 20 */ addi r1, r1, 0x20 -/* 802649E4 00261944 4E 80 00 20 */ blr - -.global sub_802649e8 -sub_802649e8: -/* 802649E8 00261948 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802649EC 0026194C 7C 08 02 A6 */ mflr r0 -/* 802649F0 00261950 90 01 00 44 */ stw r0, 0x44(r1) -/* 802649F4 00261954 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802649F8 00261958 7C 9F 23 78 */ mr r31, r4 -/* 802649FC 0026195C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80264A00 00261960 7C 7E 1B 78 */ mr r30, r3 -/* 80264A04 00261964 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80264A08 00261968 80 63 00 00 */ lwz r3, 0(r3) -/* 80264A0C 0026196C 80 A4 00 00 */ lwz r5, 0(r4) -/* 80264A10 00261970 7C 03 28 50 */ subf r0, r3, r5 -/* 80264A14 00261974 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80264A18 00261978 7C 80 01 94 */ addze r4, r0 -/* 80264A1C 0026197C 2C 04 00 01 */ cmpwi r4, 1 -/* 80264A20 00261980 40 81 01 34 */ ble lbl_80264B54 -/* 80264A24 00261984 2C 04 00 14 */ cmpwi r4, 0x14 -/* 80264A28 00261988 41 81 00 24 */ bgt lbl_80264A4C -/* 80264A2C 0026198C 80 BF 00 00 */ lwz r5, 0(r31) -/* 80264A30 00261990 38 61 00 24 */ addi r3, r1, 0x24 -/* 80264A34 00261994 80 1E 00 00 */ lwz r0, 0(r30) -/* 80264A38 00261998 38 81 00 20 */ addi r4, r1, 0x20 -/* 80264A3C 0026199C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80264A40 002619A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80264A44 002619A4 48 00 04 B5 */ bl sub_80264ef8 -/* 80264A48 002619A8 48 00 01 0C */ b lbl_80264B54 -lbl_80264A4C: -/* 80264A4C 002619AC 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80264A50 002619B0 38 A5 FF F8 */ addi r5, r5, -8 -/* 80264A54 002619B4 7C 00 22 14 */ add r0, r0, r4 -/* 80264A58 002619B8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80264A5C 002619BC 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80264A60 002619C0 54 00 18 38 */ slwi r0, r0, 3 -/* 80264A64 002619C4 7F A3 02 14 */ add r29, r3, r0 -/* 80264A68 002619C8 7F A4 EB 78 */ mr r4, r29 -/* 80264A6C 002619CC 48 00 04 15 */ bl sub_80264e80 -/* 80264A70 002619D0 80 9E 00 00 */ lwz r4, 0(r30) -/* 80264A74 002619D4 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80264A78 002619D8 38 84 00 08 */ addi r4, r4, 8 -/* 80264A7C 002619DC C0 3D 00 00 */ lfs f1, 0(r29) -/* 80264A80 002619E0 38 03 FF F8 */ addi r0, r3, -8 -/* 80264A84 002619E4 90 81 00 28 */ stw r4, 0x28(r1) -/* 80264A88 002619E8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80264A8C 002619EC 48 00 00 10 */ b lbl_80264A9C -lbl_80264A90: -/* 80264A90 002619F0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80264A94 002619F4 38 03 00 08 */ addi r0, r3, 8 -/* 80264A98 002619F8 90 01 00 28 */ stw r0, 0x28(r1) -lbl_80264A9C: -/* 80264A9C 002619FC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80264AA0 00261A00 C0 03 00 00 */ lfs f0, 0(r3) -/* 80264AA4 00261A04 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80264AA8 00261A08 41 80 FF E8 */ blt lbl_80264A90 -/* 80264AAC 00261A0C 48 00 00 10 */ b lbl_80264ABC -lbl_80264AB0: -/* 80264AB0 00261A10 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80264AB4 00261A14 38 03 FF F8 */ addi r0, r3, -8 -/* 80264AB8 00261A18 90 01 00 2C */ stw r0, 0x2c(r1) -lbl_80264ABC: -/* 80264ABC 00261A1C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80264AC0 00261A20 C0 03 00 00 */ lfs f0, 0(r3) -/* 80264AC4 00261A24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264AC8 00261A28 41 80 FF E8 */ blt lbl_80264AB0 -/* 80264ACC 00261A2C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80264AD0 00261A30 7C 00 18 40 */ cmplw r0, r3 -/* 80264AD4 00261A34 40 80 00 48 */ bge lbl_80264B1C -/* 80264AD8 00261A38 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 80264ADC 00261A3C 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80264AE0 00261A40 C0 45 00 00 */ lfs f2, 0(r5) -/* 80264AE4 00261A44 38 65 00 08 */ addi r3, r5, 8 -/* 80264AE8 00261A48 80 E5 00 04 */ lwz r7, 4(r5) -/* 80264AEC 00261A4C 38 06 FF F8 */ addi r0, r6, -8 -/* 80264AF0 00261A50 C0 06 00 00 */ lfs f0, 0(r6) -/* 80264AF4 00261A54 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80264AF8 00261A58 D0 05 00 00 */ stfs f0, 0(r5) -/* 80264AFC 00261A5C 80 86 00 04 */ lwz r4, 4(r6) -/* 80264B00 00261A60 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80264B04 00261A64 90 85 00 04 */ stw r4, 4(r5) -/* 80264B08 00261A68 D0 46 00 00 */ stfs f2, 0(r6) -/* 80264B0C 00261A6C 90 E6 00 04 */ stw r7, 4(r6) -/* 80264B10 00261A70 90 61 00 28 */ stw r3, 0x28(r1) -/* 80264B14 00261A74 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80264B18 00261A78 4B FF FF 84 */ b lbl_80264A9C -lbl_80264B1C: -/* 80264B1C 00261A7C 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 80264B20 00261A80 38 61 00 14 */ addi r3, r1, 0x14 -/* 80264B24 00261A84 80 1E 00 00 */ lwz r0, 0(r30) -/* 80264B28 00261A88 38 81 00 10 */ addi r4, r1, 0x10 -/* 80264B2C 00261A8C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80264B30 00261A90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264B34 00261A94 4B FF FE B5 */ bl sub_802649e8 -/* 80264B38 00261A98 80 BF 00 00 */ lwz r5, 0(r31) -/* 80264B3C 00261A9C 38 61 00 0C */ addi r3, r1, 0xc -/* 80264B40 00261AA0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80264B44 00261AA4 38 81 00 08 */ addi r4, r1, 8 -/* 80264B48 00261AA8 90 A1 00 08 */ stw r5, 8(r1) -/* 80264B4C 00261AAC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80264B50 00261AB0 4B FF FE 99 */ bl sub_802649e8 -lbl_80264B54: -/* 80264B54 00261AB4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80264B58 00261AB8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80264B5C 00261ABC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80264B60 00261AC0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80264B64 00261AC4 7C 08 03 A6 */ mtlr r0 -/* 80264B68 00261AC8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80264B6C 00261ACC 4E 80 00 20 */ blr - -.global sub_80264b70 -sub_80264b70: -/* 80264B70 00261AD0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80264B74 00261AD4 7C 08 02 A6 */ mflr r0 -/* 80264B78 00261AD8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80264B7C 00261ADC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80264B80 00261AE0 7C 9C 23 78 */ mr r28, r4 -/* 80264B84 00261AE4 7C 7B 1B 78 */ mr r27, r3 -/* 80264B88 00261AE8 7C DD 33 78 */ mr r29, r6 -/* 80264B8C 00261AEC 38 61 00 0C */ addi r3, r1, 0xc -/* 80264B90 00261AF0 80 85 00 00 */ lwz r4, 0(r5) -/* 80264B94 00261AF4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264B98 00261AF8 90 81 00 08 */ stw r4, 8(r1) -/* 80264B9C 00261AFC 38 81 00 08 */ addi r4, r1, 8 -/* 80264BA0 00261B00 90 01 00 0C */ stw r0, 0xc(r1) -/* 80264BA4 00261B04 48 00 02 81 */ bl sub_80264e24 -/* 80264BA8 00261B08 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264BAC 00261B0C 7C 7F 1B 78 */ mr r31, r3 -/* 80264BB0 00261B10 90 01 00 10 */ stw r0, 0x10(r1) -/* 80264BB4 00261B14 48 00 00 58 */ b lbl_80264C0C -lbl_80264BB8: -/* 80264BB8 00261B18 57 E3 0F FE */ srwi r3, r31, 0x1f -/* 80264BBC 00261B1C 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264BC0 00261B20 7C 83 FA 14 */ add r4, r3, r31 -/* 80264BC4 00261B24 38 61 00 10 */ addi r3, r1, 0x10 -/* 80264BC8 00261B28 7C 9E 0E 70 */ srawi r30, r4, 1 -/* 80264BCC 00261B2C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80264BD0 00261B30 7F C4 F3 78 */ mr r4, r30 -/* 80264BD4 00261B34 48 00 02 11 */ bl sub_80264de4 -/* 80264BD8 00261B38 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80264BDC 00261B3C C0 1D 00 00 */ lfs f0, 0(r29) -/* 80264BE0 00261B40 C0 23 00 00 */ lfs f1, 0(r3) -/* 80264BE4 00261B44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264BE8 00261B48 40 80 00 20 */ bge lbl_80264C08 -/* 80264BEC 00261B4C 90 7C 00 00 */ stw r3, 0(r28) -/* 80264BF0 00261B50 7C 7E F8 50 */ subf r3, r30, r31 -/* 80264BF4 00261B54 3B E3 FF FF */ addi r31, r3, -1 -/* 80264BF8 00261B58 80 7C 00 00 */ lwz r3, 0(r28) -/* 80264BFC 00261B5C 38 03 00 08 */ addi r0, r3, 8 -/* 80264C00 00261B60 90 1C 00 00 */ stw r0, 0(r28) -/* 80264C04 00261B64 48 00 00 08 */ b lbl_80264C0C -lbl_80264C08: -/* 80264C08 00261B68 7F DF F3 78 */ mr r31, r30 -lbl_80264C0C: -/* 80264C0C 00261B6C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80264C10 00261B70 41 81 FF A8 */ bgt lbl_80264BB8 -/* 80264C14 00261B74 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264C18 00261B78 90 1B 00 00 */ stw r0, 0(r27) -/* 80264C1C 00261B7C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80264C20 00261B80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80264C24 00261B84 7C 08 03 A6 */ mtlr r0 -/* 80264C28 00261B88 38 21 00 30 */ addi r1, r1, 0x30 -/* 80264C2C 00261B8C 4E 80 00 20 */ blr - -.global sub_80264c30 -sub_80264c30: -/* 80264C30 00261B90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80264C34 00261B94 7C 08 02 A6 */ mflr r0 -/* 80264C38 00261B98 90 01 00 34 */ stw r0, 0x34(r1) -/* 80264C3C 00261B9C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80264C40 00261BA0 7C 9C 23 78 */ mr r28, r4 -/* 80264C44 00261BA4 7C 7B 1B 78 */ mr r27, r3 -/* 80264C48 00261BA8 7C DD 33 78 */ mr r29, r6 -/* 80264C4C 00261BAC 38 61 00 0C */ addi r3, r1, 0xc -/* 80264C50 00261BB0 80 85 00 00 */ lwz r4, 0(r5) -/* 80264C54 00261BB4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264C58 00261BB8 90 81 00 08 */ stw r4, 8(r1) -/* 80264C5C 00261BBC 38 81 00 08 */ addi r4, r1, 8 -/* 80264C60 00261BC0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80264C64 00261BC4 48 00 01 C1 */ bl sub_80264e24 -/* 80264C68 00261BC8 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264C6C 00261BCC 7C 7F 1B 78 */ mr r31, r3 -/* 80264C70 00261BD0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80264C74 00261BD4 48 00 00 58 */ b lbl_80264CCC -lbl_80264C78: -/* 80264C78 00261BD8 57 E3 0F FE */ srwi r3, r31, 0x1f -/* 80264C7C 00261BDC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264C80 00261BE0 7C 83 FA 14 */ add r4, r3, r31 -/* 80264C84 00261BE4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80264C88 00261BE8 7C 9E 0E 70 */ srawi r30, r4, 1 -/* 80264C8C 00261BEC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80264C90 00261BF0 7F C4 F3 78 */ mr r4, r30 -/* 80264C94 00261BF4 48 00 01 51 */ bl sub_80264de4 -/* 80264C98 00261BF8 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80264C9C 00261BFC C0 3D 00 00 */ lfs f1, 0(r29) -/* 80264CA0 00261C00 C0 03 00 00 */ lfs f0, 0(r3) -/* 80264CA4 00261C04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264CA8 00261C08 40 80 00 0C */ bge lbl_80264CB4 -/* 80264CAC 00261C0C 7F DF F3 78 */ mr r31, r30 -/* 80264CB0 00261C10 48 00 00 1C */ b lbl_80264CCC -lbl_80264CB4: -/* 80264CB4 00261C14 90 7C 00 00 */ stw r3, 0(r28) -/* 80264CB8 00261C18 7C 7E F8 50 */ subf r3, r30, r31 -/* 80264CBC 00261C1C 3B E3 FF FF */ addi r31, r3, -1 -/* 80264CC0 00261C20 80 7C 00 00 */ lwz r3, 0(r28) -/* 80264CC4 00261C24 38 03 00 08 */ addi r0, r3, 8 -/* 80264CC8 00261C28 90 1C 00 00 */ stw r0, 0(r28) -lbl_80264CCC: -/* 80264CCC 00261C2C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80264CD0 00261C30 41 81 FF A8 */ bgt lbl_80264C78 -/* 80264CD4 00261C34 80 1C 00 00 */ lwz r0, 0(r28) -/* 80264CD8 00261C38 90 1B 00 00 */ stw r0, 0(r27) -/* 80264CDC 00261C3C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80264CE0 00261C40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80264CE4 00261C44 7C 08 03 A6 */ mtlr r0 -/* 80264CE8 00261C48 38 21 00 30 */ addi r1, r1, 0x30 -/* 80264CEC 00261C4C 4E 80 00 20 */ blr - -.global sub_80264cf0 -sub_80264cf0: -/* 80264CF0 00261C50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80264CF4 00261C54 7C 08 02 A6 */ mflr r0 -/* 80264CF8 00261C58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80264CFC 00261C5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80264D00 00261C60 7C 9F 23 78 */ mr r31, r4 -/* 80264D04 00261C64 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80264D08 00261C68 7C 7E 1B 78 */ mr r30, r3 -/* 80264D0C 00261C6C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80264D10 00261C70 80 03 00 08 */ lwz r0, 8(r3) -/* 80264D14 00261C74 7C 1F 00 00 */ cmpw r31, r0 -/* 80264D18 00261C78 40 81 00 B0 */ ble lbl_80264DC8 -/* 80264D1C 00261C7C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 80264D20 00261C80 40 82 00 0C */ bne lbl_80264D2C -/* 80264D24 00261C84 3B A0 00 00 */ li r29, 0 -/* 80264D28 00261C88 48 00 00 18 */ b lbl_80264D40 -lbl_80264D2C: -/* 80264D2C 00261C8C 3C 80 80 3D */ lis r4, lbl_803D5278@ha -/* 80264D30 00261C90 38 A0 00 00 */ li r5, 0 -/* 80264D34 00261C94 38 84 52 78 */ addi r4, r4, lbl_803D5278@l -/* 80264D38 00261C98 48 0B 0A E1 */ bl __nwa__FUlPCcPCc -/* 80264D3C 00261C9C 7C 7D 1B 78 */ mr r29, r3 -lbl_80264D40: -/* 80264D40 00261CA0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80264D44 00261CA4 7F A4 EB 78 */ mr r4, r29 -/* 80264D48 00261CA8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80264D4C 00261CAC 54 00 18 38 */ slwi r0, r0, 3 -/* 80264D50 00261CB0 7C 65 02 14 */ add r3, r5, r0 -/* 80264D54 00261CB4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80264D58 00261CB8 90 61 00 08 */ stw r3, 8(r1) -/* 80264D5C 00261CBC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80264D60 00261CC0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80264D64 00261CC4 48 00 00 24 */ b lbl_80264D88 -lbl_80264D68: -/* 80264D68 00261CC8 28 04 00 00 */ cmplwi r4, 0 -/* 80264D6C 00261CCC 41 82 00 14 */ beq lbl_80264D80 -/* 80264D70 00261CD0 C0 05 00 00 */ lfs f0, 0(r5) -/* 80264D74 00261CD4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80264D78 00261CD8 80 05 00 04 */ lwz r0, 4(r5) -/* 80264D7C 00261CDC 90 04 00 04 */ stw r0, 4(r4) -lbl_80264D80: -/* 80264D80 00261CE0 38 84 00 08 */ addi r4, r4, 8 -/* 80264D84 00261CE4 38 A5 00 08 */ addi r5, r5, 8 -lbl_80264D88: -/* 80264D88 00261CE8 7C 05 18 40 */ cmplw r5, r3 -/* 80264D8C 00261CEC 40 82 FF DC */ bne lbl_80264D68 -/* 80264D90 00261CF0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80264D94 00261CF4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80264D98 00261CF8 54 00 18 38 */ slwi r0, r0, 3 -/* 80264D9C 00261CFC 7C 64 1B 78 */ mr r4, r3 -/* 80264DA0 00261D00 7C 03 02 14 */ add r0, r3, r0 -/* 80264DA4 00261D04 48 00 00 08 */ b lbl_80264DAC -lbl_80264DA8: -/* 80264DA8 00261D08 38 84 00 08 */ addi r4, r4, 8 -lbl_80264DAC: -/* 80264DAC 00261D0C 7C 04 00 40 */ cmplw r4, r0 -/* 80264DB0 00261D10 40 82 FF F8 */ bne lbl_80264DA8 -/* 80264DB4 00261D14 28 03 00 00 */ cmplwi r3, 0 -/* 80264DB8 00261D18 41 82 00 08 */ beq lbl_80264DC0 -/* 80264DBC 00261D1C 48 0B 0B 75 */ bl Free__7CMemoryFPCv -lbl_80264DC0: -/* 80264DC0 00261D20 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80264DC4 00261D24 93 FE 00 08 */ stw r31, 8(r30) -lbl_80264DC8: -/* 80264DC8 00261D28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80264DCC 00261D2C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80264DD0 00261D30 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80264DD4 00261D34 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80264DD8 00261D38 7C 08 03 A6 */ mtlr r0 -/* 80264DDC 00261D3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80264DE0 00261D40 4E 80 00 20 */ blr - -.global sub_80264de4 -sub_80264de4: -/* 80264DE4 00261D44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264DE8 00261D48 7C 08 02 A6 */ mflr r0 -/* 80264DEC 00261D4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264DF0 00261D50 38 A1 00 0C */ addi r5, r1, 0xc -/* 80264DF4 00261D54 88 01 00 08 */ lbz r0, 8(r1) -/* 80264DF8 00261D58 98 01 00 0C */ stb r0, 0xc(r1) -/* 80264DFC 00261D5C 48 00 00 15 */ bl sub_80264e10 -/* 80264E00 00261D60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264E04 00261D64 7C 08 03 A6 */ mtlr r0 -/* 80264E08 00261D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264E0C 00261D6C 4E 80 00 20 */ blr - -.global sub_80264e10 -sub_80264e10: -/* 80264E10 00261D70 80 A3 00 00 */ lwz r5, 0(r3) -/* 80264E14 00261D74 54 80 18 38 */ slwi r0, r4, 3 -/* 80264E18 00261D78 7C 05 02 14 */ add r0, r5, r0 -/* 80264E1C 00261D7C 90 03 00 00 */ stw r0, 0(r3) -/* 80264E20 00261D80 4E 80 00 20 */ blr - -.global sub_80264e24 -sub_80264e24: -/* 80264E24 00261D84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80264E28 00261D88 7C 08 02 A6 */ mflr r0 -/* 80264E2C 00261D8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80264E30 00261D90 38 A1 00 0C */ addi r5, r1, 0xc -/* 80264E34 00261D94 88 E1 00 08 */ lbz r7, 8(r1) -/* 80264E38 00261D98 80 C4 00 00 */ lwz r6, 0(r4) -/* 80264E3C 00261D9C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80264E40 00261DA0 80 03 00 00 */ lwz r0, 0(r3) -/* 80264E44 00261DA4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80264E48 00261DA8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80264E4C 00261DAC 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80264E50 00261DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264E54 00261DB4 48 00 00 15 */ bl sub_80264e68 -/* 80264E58 00261DB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80264E5C 00261DBC 7C 08 03 A6 */ mtlr r0 -/* 80264E60 00261DC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80264E64 00261DC4 4E 80 00 20 */ blr - -.global sub_80264e68 -sub_80264e68: -/* 80264E68 00261DC8 80 63 00 00 */ lwz r3, 0(r3) -/* 80264E6C 00261DCC 80 04 00 00 */ lwz r0, 0(r4) -/* 80264E70 00261DD0 7C 03 00 50 */ subf r0, r3, r0 -/* 80264E74 00261DD4 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80264E78 00261DD8 7C 60 01 94 */ addze r3, r0 -/* 80264E7C 00261DDC 4E 80 00 20 */ blr - -.global sub_80264e80 -sub_80264e80: -/* 80264E80 00261DE0 C0 24 00 00 */ lfs f1, 0(r4) -/* 80264E84 00261DE4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80264E88 00261DE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264E8C 00261DEC 40 80 00 1C */ bge lbl_80264EA8 -/* 80264E90 00261DF0 80 C3 00 04 */ lwz r6, 4(r3) -/* 80264E94 00261DF4 D0 23 00 00 */ stfs f1, 0(r3) -/* 80264E98 00261DF8 80 04 00 04 */ lwz r0, 4(r4) -/* 80264E9C 00261DFC 90 03 00 04 */ stw r0, 4(r3) -/* 80264EA0 00261E00 D0 04 00 00 */ stfs f0, 0(r4) -/* 80264EA4 00261E04 90 C4 00 04 */ stw r6, 4(r4) -lbl_80264EA8: -/* 80264EA8 00261E08 C0 05 00 00 */ lfs f0, 0(r5) -/* 80264EAC 00261E0C C0 24 00 00 */ lfs f1, 0(r4) -/* 80264EB0 00261E10 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80264EB4 00261E14 4C 80 00 20 */ bgelr -/* 80264EB8 00261E18 80 C5 00 04 */ lwz r6, 4(r5) -/* 80264EBC 00261E1C D0 25 00 00 */ stfs f1, 0(r5) -/* 80264EC0 00261E20 80 04 00 04 */ lwz r0, 4(r4) -/* 80264EC4 00261E24 90 05 00 04 */ stw r0, 4(r5) -/* 80264EC8 00261E28 C0 23 00 00 */ lfs f1, 0(r3) -/* 80264ECC 00261E2C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80264ED0 00261E30 40 80 00 1C */ bge lbl_80264EEC -/* 80264ED4 00261E34 D0 24 00 00 */ stfs f1, 0(r4) -/* 80264ED8 00261E38 80 03 00 04 */ lwz r0, 4(r3) -/* 80264EDC 00261E3C 90 04 00 04 */ stw r0, 4(r4) -/* 80264EE0 00261E40 D0 03 00 00 */ stfs f0, 0(r3) -/* 80264EE4 00261E44 90 C3 00 04 */ stw r6, 4(r3) -/* 80264EE8 00261E48 4E 80 00 20 */ blr -lbl_80264EEC: -/* 80264EEC 00261E4C D0 04 00 00 */ stfs f0, 0(r4) -/* 80264EF0 00261E50 90 C4 00 04 */ stw r6, 4(r4) -/* 80264EF4 00261E54 4E 80 00 20 */ blr - -.global sub_80264ef8 -sub_80264ef8: -/* 80264EF8 00261E58 80 A3 00 00 */ lwz r5, 0(r3) -/* 80264EFC 00261E5C 38 A5 00 08 */ addi r5, r5, 8 -/* 80264F00 00261E60 48 00 00 54 */ b lbl_80264F54 -lbl_80264F04: -/* 80264F04 00261E64 C0 25 00 00 */ lfs f1, 0(r5) -/* 80264F08 00261E68 7C A8 2B 78 */ mr r8, r5 -/* 80264F0C 00261E6C 80 C5 00 04 */ lwz r6, 4(r5) -/* 80264F10 00261E70 38 E5 FF F8 */ addi r7, r5, -8 -/* 80264F14 00261E74 48 00 00 1C */ b lbl_80264F30 -lbl_80264F18: -/* 80264F18 00261E78 C0 07 00 00 */ lfs f0, 0(r7) -/* 80264F1C 00261E7C D0 08 00 00 */ stfs f0, 0(r8) -/* 80264F20 00261E80 80 07 00 04 */ lwz r0, 4(r7) -/* 80264F24 00261E84 38 E7 FF F8 */ addi r7, r7, -8 -/* 80264F28 00261E88 90 08 00 04 */ stw r0, 4(r8) -/* 80264F2C 00261E8C 39 08 FF F8 */ addi r8, r8, -8 -lbl_80264F30: -/* 80264F30 00261E90 80 03 00 00 */ lwz r0, 0(r3) -/* 80264F34 00261E94 7C 00 40 40 */ cmplw r0, r8 -/* 80264F38 00261E98 40 80 00 10 */ bge lbl_80264F48 -/* 80264F3C 00261E9C C0 07 00 00 */ lfs f0, 0(r7) -/* 80264F40 00261EA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264F44 00261EA4 41 80 FF D4 */ blt lbl_80264F18 -lbl_80264F48: -/* 80264F48 00261EA8 D0 28 00 00 */ stfs f1, 0(r8) -/* 80264F4C 00261EAC 38 A5 00 08 */ addi r5, r5, 8 -/* 80264F50 00261EB0 90 C8 00 04 */ stw r6, 4(r8) -lbl_80264F54: -/* 80264F54 00261EB4 80 04 00 00 */ lwz r0, 0(r4) -/* 80264F58 00261EB8 7C 05 00 40 */ cmplw r5, r0 -/* 80264F5C 00261EBC 41 80 FF A8 */ blt lbl_80264F04 - -.global sub_80264f60 -sub_80264f60: -/* 80264F60 00261EC0 4E 80 00 20 */ blr - -.global __sinit_CNewFlameThrower_cpp -__sinit_CNewFlameThrower_cpp: -/* 80264F64 00261EC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80264F68 00261EC8 7C 08 02 A6 */ mflr r0 -/* 80264F6C 00261ECC 38 60 00 00 */ li r3, 0 -/* 80264F70 00261ED0 38 80 00 01 */ li r4, 1 -/* 80264F74 00261ED4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80264F78 00261ED8 80 AD 98 08 */ lwz r5, lbl_805A83C8@sda21(r13) -/* 80264F7C 00261EDC 48 12 4F 79 */ bl __shl2i -/* 80264F80 00261EE0 3C A0 80 47 */ lis r5, lbl_8046DCA8@ha -/* 80264F84 00261EE4 38 E0 00 02 */ li r7, 2 -/* 80264F88 00261EE8 38 A5 DC A8 */ addi r5, r5, lbl_8046DCA8@l -/* 80264F8C 00261EEC 38 C0 FF FF */ li r6, -1 -/* 80264F90 00261EF0 38 00 00 00 */ li r0, 0 -/* 80264F94 00261EF4 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80264F98 00261EF8 90 C5 00 04 */ stw r6, 4(r5) -/* 80264F9C 00261EFC 90 05 00 00 */ stw r0, 0(r5) -/* 80264FA0 00261F00 90 85 00 0C */ stw r4, 0xc(r5) -/* 80264FA4 00261F04 90 65 00 08 */ stw r3, 8(r5) -/* 80264FA8 00261F08 90 E5 00 10 */ stw r7, 0x10(r5) -/* 80264FAC 00261F0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80264FB0 00261F10 7C 08 03 A6 */ mtlr r0 -/* 80264FB4 00261F14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80264FB8 00261F18 4E 80 00 20 */ blr - -.global AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__20CInterpolationCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80264FBC 00261F1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264FC0 00261F20 7C 08 02 A6 */ mflr r0 -/* 80264FC4 00261F24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264FC8 00261F28 A0 05 00 00 */ lhz r0, 0(r5) -/* 80264FCC 00261F2C 38 A1 00 08 */ addi r5, r1, 8 -/* 80264FD0 00261F30 B0 01 00 08 */ sth r0, 8(r1) -/* 80264FD4 00261F34 4B DF 63 75 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80264FD8 00261F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264FDC 00261F3C 7C 08 03 A6 */ mtlr r0 -/* 80264FE0 00261F40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264FE4 00261F44 4E 80 00 20 */ blr - -.global Render__20CInterpolationCameraCFRC13CStateManager -Render__20CInterpolationCameraCFRC13CStateManager: -/* 80264FE8 00261F48 4E 80 00 20 */ blr - -.global Accept__20CInterpolationCameraFR8IVisitor -Accept__20CInterpolationCameraFR8IVisitor: -/* 80264FEC 00261F4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264FF0 00261F50 7C 08 02 A6 */ mflr r0 -/* 80264FF4 00261F54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264FF8 00261F58 7C 60 1B 78 */ mr r0, r3 -/* 80264FFC 00261F5C 7C 83 23 78 */ mr r3, r4 -/* 80265000 00261F60 81 84 00 00 */ lwz r12, 0(r4) -/* 80265004 00261F64 7C 04 03 78 */ mr r4, r0 -/* 80265008 00261F68 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8026500C 00261F6C 7D 89 03 A6 */ mtctr r12 -/* 80265010 00261F70 4E 80 04 21 */ bctrl -/* 80265014 00261F74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265018 00261F78 7C 08 03 A6 */ mtlr r0 -/* 8026501C 00261F7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265020 00261F80 4E 80 00 20 */ blr - -.global ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager -ProcessInput__20CInterpolationCameraFRC11CFinalInputR13CStateManager: -/* 80265024 00261F84 4E 80 00 20 */ blr - -.global Think__20CInterpolationCameraFfR13CStateManager -Think__20CInterpolationCameraFfR13CStateManager: -/* 80265028 00261F88 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8026502C 00261F8C 7C 08 02 A6 */ mflr r0 -/* 80265030 00261F90 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80265034 00261F94 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 80265038 00261F98 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8026503C 00261F9C DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 80265040 00261FA0 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 80265044 00261FA4 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 80265048 00261FA8 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8026504C 00261FAC DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 80265050 00261FB0 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 80265054 00261FB4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80265058 00261FB8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8026505C 00261FBC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80265060 00261FC0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80265064 00261FC4 FF E0 08 90 */ fmr f31, f1 -/* 80265068 00261FC8 7C 7E 1B 78 */ mr r30, r3 -/* 8026506C 00261FCC 7C 9F 23 78 */ mr r31, r4 -/* 80265070 00261FD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80265074 00261FD4 41 82 02 64 */ beq lbl_802652D8 -/* 80265078 00261FD8 80 DF 08 70 */ lwz r6, 0x870(r31) -/* 8026507C 00261FDC 38 A0 00 01 */ li r5, 1 -/* 80265080 00261FE0 80 C6 00 80 */ lwz r6, 0x80(r6) -/* 80265084 00261FE4 C0 06 01 5C */ lfs f0, 0x15c(r6) -/* 80265088 00261FE8 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 8026508C 00261FEC 88 1E 01 70 */ lbz r0, 0x170(r30) -/* 80265090 00261FF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80265094 00261FF4 98 1E 01 70 */ stb r0, 0x170(r30) -/* 80265098 00261FF8 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8026509C 00261FFC 80 05 02 F8 */ lwz r0, 0x2f8(r5) -/* 802650A0 00262000 2C 00 00 03 */ cmpwi r0, 3 -/* 802650A4 00262004 40 82 00 08 */ bne lbl_802650AC -/* 802650A8 00262008 48 00 02 6D */ bl sub_80265314 -lbl_802650AC: -/* 802650AC 0026200C C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 802650B0 00262010 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802650B4 00262014 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 802650B8 00262018 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 802650BC 0026201C C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 802650C0 00262020 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802650C4 00262024 40 81 00 08 */ ble lbl_802650CC -/* 802650C8 00262028 D0 3E 01 8C */ stfs f1, 0x18c(r30) -lbl_802650CC: -/* 802650CC 0026202C 38 61 00 6C */ addi r3, r1, 0x6c -/* 802650D0 00262030 38 9E 00 34 */ addi r4, r30, 0x34 -/* 802650D4 00262034 48 0A DA A1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802650D8 00262038 A0 1E 01 88 */ lhz r0, 0x188(r30) -/* 802650DC 0026203C 7F E3 FB 78 */ mr r3, r31 -/* 802650E0 00262040 38 81 00 10 */ addi r4, r1, 0x10 -/* 802650E4 00262044 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802650E8 00262048 4B DE 74 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802650EC 0026204C 7C 64 1B 78 */ mr r4, r3 -/* 802650F0 00262050 38 61 00 1C */ addi r3, r1, 0x1c -/* 802650F4 00262054 4B E4 8C F5 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" -/* 802650F8 00262058 80 63 00 04 */ lwz r3, 4(r3) -/* 802650FC 0026205C 28 03 00 00 */ cmplwi r3, 0 -/* 80265100 00262060 40 82 00 14 */ bne lbl_80265114 -/* 80265104 00262064 7F C3 F3 78 */ mr r3, r30 -/* 80265108 00262068 7F E4 FB 78 */ mr r4, r31 -/* 8026510C 0026206C 48 00 02 09 */ bl sub_80265314 -/* 80265110 00262070 48 00 01 C8 */ b lbl_802652D8 -lbl_80265114: -/* 80265114 00262074 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80265118 00262078 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8026511C 0026207C C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80265120 00262080 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80265124 00262084 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80265128 00262088 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8026512C 0026208C 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 80265130 00262090 80 64 00 80 */ lwz r3, 0x80(r4) -/* 80265134 00262094 C0 03 01 D8 */ lfs f0, 0x1d8(r3) -/* 80265138 00262098 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8026513C 0026209C C0 03 01 DC */ lfs f0, 0x1dc(r3) -/* 80265140 002620A0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80265144 002620A4 C0 03 01 E0 */ lfs f0, 0x1e0(r3) -/* 80265148 002620A8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8026514C 002620AC 80 03 01 88 */ lwz r0, 0x188(r3) -/* 80265150 002620B0 2C 00 00 08 */ cmpwi r0, 8 -/* 80265154 002620B4 41 82 00 08 */ beq lbl_8026515C -/* 80265158 002620B8 48 00 00 C4 */ b lbl_8026521C -lbl_8026515C: -/* 8026515C 002620BC 38 61 00 08 */ addi r3, r1, 8 -/* 80265160 002620C0 4B DA 40 A5 */ bl GetSpindleCameraId__14CCameraManagerCFv -/* 80265164 002620C4 A0 01 00 08 */ lhz r0, 8(r1) -/* 80265168 002620C8 7F E3 FB 78 */ mr r3, r31 -/* 8026516C 002620CC 38 81 00 0C */ addi r4, r1, 0xc -/* 80265170 002620D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80265174 002620D4 4B DE 74 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80265178 002620D8 7C 64 1B 78 */ mr r4, r3 -/* 8026517C 002620DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80265180 002620E0 4B E4 0D A5 */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" -/* 80265184 002620E4 83 A3 00 04 */ lwz r29, 4(r3) -/* 80265188 002620E8 28 1D 00 00 */ cmplwi r29, 0 -/* 8026518C 002620EC 41 82 00 90 */ beq lbl_8026521C -/* 80265190 002620F0 C3 9D 00 60 */ lfs f28, 0x60(r29) -/* 80265194 002620F4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80265198 002620F8 C3 BD 00 50 */ lfs f29, 0x50(r29) -/* 8026519C 002620FC C3 DD 00 40 */ lfs f30, 0x40(r29) -/* 802651A0 00262100 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 802651A4 00262104 48 01 FB A5 */ bl GetBallPosition__7CPlayerCFv -/* 802651A8 00262108 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802651AC 0026210C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802651B0 00262110 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802651B4 00262114 EC 40 E0 28 */ fsubs f2, f0, f28 -/* 802651B8 00262118 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802651BC 0026211C EC 21 F0 28 */ fsubs f1, f1, f30 -/* 802651C0 00262120 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 802651C4 00262124 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802651C8 00262128 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802651CC 0026212C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802651D0 00262130 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802651D4 00262134 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802651D8 00262138 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802651DC 0026213C 48 0A F6 DD */ bl Magnitude__9CVector3fCFv -/* 802651E0 00262140 C0 7D 00 48 */ lfs f3, 0x48(r29) -/* 802651E4 00262144 C0 5D 00 58 */ lfs f2, 0x58(r29) -/* 802651E8 00262148 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 802651EC 0026214C EC 81 00 F2 */ fmuls f4, f1, f3 -/* 802651F0 00262150 C0 BD 00 50 */ lfs f5, 0x50(r29) -/* 802651F4 00262154 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 802651F8 00262158 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 802651FC 0026215C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80265200 00262160 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80265204 00262164 EC 85 20 2A */ fadds f4, f5, f4 -/* 80265208 00262168 EC 43 10 2A */ fadds f2, f3, f2 -/* 8026520C 0026216C EC 01 00 2A */ fadds f0, f1, f0 -/* 80265210 00262170 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80265214 00262174 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80265218 00262178 D0 41 00 5C */ stfs f2, 0x5c(r1) -lbl_8026521C: -/* 8026521C 0026217C 88 1E 01 D8 */ lbz r0, 0x1d8(r30) -/* 80265220 00262180 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80265224 00262184 41 82 00 40 */ beq lbl_80265264 -/* 80265228 00262188 80 C1 00 54 */ lwz r6, 0x54(r1) -/* 8026522C 0026218C 7F C3 F3 78 */ mr r3, r30 -/* 80265230 00262190 80 E1 00 58 */ lwz r7, 0x58(r1) -/* 80265234 00262194 38 81 00 6C */ addi r4, r1, 0x6c -/* 80265238 00262198 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8026523C 0026219C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80265240 002621A0 90 C1 00 24 */ stw r6, 0x24(r1) -/* 80265244 002621A4 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80265248 002621A8 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8026524C 002621AC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80265250 002621B0 C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 80265254 002621B4 C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 80265258 002621B8 48 00 02 81 */ bl InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff -/* 8026525C 002621BC 7C 7D 1B 78 */ mr r29, r3 -/* 80265260 002621C0 48 00 00 30 */ b lbl_80265290 -lbl_80265264: -/* 80265264 002621C4 FC 60 F8 90 */ fmr f3, f31 -/* 80265268 002621C8 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) -/* 8026526C 002621CC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 80265270 002621D0 7F C3 F3 78 */ mr r3, r30 -/* 80265274 002621D4 C0 9E 01 90 */ lfs f4, 0x190(r30) -/* 80265278 002621D8 38 81 00 6C */ addi r4, r1, 0x6c -/* 8026527C 002621DC C0 BE 01 8C */ lfs f5, 0x18c(r30) -/* 80265280 002621E0 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80265284 002621E4 38 C1 00 54 */ addi r6, r1, 0x54 -/* 80265288 002621E8 48 00 06 39 */ bl InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff -/* 8026528C 002621EC 7C 7D 1B 78 */ mr r29, r3 -lbl_80265290: -/* 80265290 002621F0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80265294 002621F4 38 81 00 6C */ addi r4, r1, 0x6c -/* 80265298 002621F8 48 0A D8 A9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8026529C 002621FC 88 7E 00 E4 */ lbz r3, 0xe4(r30) -/* 802652A0 00262200 38 80 00 01 */ li r4, 1 -/* 802652A4 00262204 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 802652A8 00262208 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802652AC 0026220C 98 7E 00 E4 */ stb r3, 0xe4(r30) -/* 802652B0 00262210 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 802652B4 00262214 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 802652B8 00262218 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 802652BC 0026221C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 802652C0 00262220 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 802652C4 00262224 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 802652C8 00262228 41 82 00 10 */ beq lbl_802652D8 -/* 802652CC 0026222C 7F C3 F3 78 */ mr r3, r30 -/* 802652D0 00262230 7F E4 FB 78 */ mr r4, r31 -/* 802652D4 00262234 48 00 00 41 */ bl sub_80265314 -lbl_802652D8: -/* 802652D8 00262238 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802652DC 0026223C CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802652E0 00262240 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 802652E4 00262244 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 802652E8 00262248 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 802652EC 0026224C CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 802652F0 00262250 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 802652F4 00262254 CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 802652F8 00262258 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802652FC 0026225C 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80265300 00262260 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80265304 00262264 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80265308 00262268 7C 08 03 A6 */ mtlr r0 -/* 8026530C 0026226C 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80265310 00262270 4E 80 00 20 */ blr - -.global sub_80265314 -sub_80265314: -/* 80265314 00262274 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80265318 00262278 7C 08 02 A6 */ mflr r0 -/* 8026531C 0026227C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80265320 00262280 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80265324 00262284 7C 9F 23 78 */ mr r31, r4 -/* 80265328 00262288 38 80 00 00 */ li r4, 0 -/* 8026532C 0026228C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80265330 00262290 7C 7E 1B 78 */ mr r30, r3 -/* 80265334 00262294 81 83 00 00 */ lwz r12, 0(r3) -/* 80265338 00262298 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026533C 0026229C 7D 89 03 A6 */ mtctr r12 -/* 80265340 002622A0 4E 80 04 21 */ bctrl -/* 80265344 002622A4 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80265348 002622A8 4B DA 55 85 */ bl ShouldBypassInterpolationCamera__14CCameraManagerCFv -/* 8026534C 002622AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265350 002622B0 40 82 00 18 */ bne lbl_80265368 -/* 80265354 002622B4 A0 1E 01 88 */ lhz r0, 0x188(r30) -/* 80265358 002622B8 38 81 00 08 */ addi r4, r1, 8 -/* 8026535C 002622BC B0 01 00 08 */ sth r0, 8(r1) -/* 80265360 002622C0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80265364 002622C4 4B DA 67 61 */ bl SetCurrentCameraId__14CCameraManagerF9TUniqueIdR13CStateManager -lbl_80265368: -/* 80265368 002622C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026536C 002622CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80265370 002622D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80265374 002622D4 7C 08 03 A6 */ mtlr r0 -/* 80265378 002622D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026537C 002622DC 4E 80 00 20 */ blr - -.global SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager -SetInterpolation__20CInterpolationCameraFRC12CTransform4fRC9CVector3ffff9TUniqueIdbR13CStateManager: -/* 80265380 002622E0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80265384 002622E4 7C 08 02 A6 */ mflr r0 -/* 80265388 002622E8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8026538C 002622EC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80265390 002622F0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80265394 002622F4 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80265398 002622F8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8026539C 002622FC DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802653A0 00262300 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802653A4 00262304 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802653A8 00262308 81 83 00 00 */ lwz r12, 0(r3) -/* 802653AC 0026230C 7C 9A 23 78 */ mr r26, r4 -/* 802653B0 00262310 FF A0 08 90 */ fmr f29, f1 -/* 802653B4 00262314 7C 7F 1B 78 */ mr r31, r3 -/* 802653B8 00262318 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802653BC 0026231C FF C0 10 90 */ fmr f30, f2 -/* 802653C0 00262320 FF E0 18 90 */ fmr f31, f3 -/* 802653C4 00262324 7C BB 2B 78 */ mr r27, r5 -/* 802653C8 00262328 7C DC 33 78 */ mr r28, r6 -/* 802653CC 0026232C 7C FD 3B 78 */ mr r29, r7 -/* 802653D0 00262330 7D 1E 43 78 */ mr r30, r8 -/* 802653D4 00262334 38 80 00 01 */ li r4, 1 -/* 802653D8 00262338 7D 89 03 A6 */ mtctr r12 -/* 802653DC 0026233C 4E 80 04 21 */ bctrl -/* 802653E0 00262340 7F 44 D3 78 */ mr r4, r26 -/* 802653E4 00262344 38 7F 00 34 */ addi r3, r31, 0x34 -/* 802653E8 00262348 48 0A D7 59 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802653EC 0026234C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 802653F0 00262350 38 A0 00 01 */ li r5, 1 -/* 802653F4 00262354 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 802653F8 00262358 7F 44 D3 78 */ mr r4, r26 -/* 802653FC 0026235C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80265400 00262360 38 7F 01 94 */ addi r3, r31, 0x194 -/* 80265404 00262364 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80265408 00262368 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8026540C 0026236C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80265410 00262370 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80265414 00262374 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80265418 00262378 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8026541C 0026237C 48 0A D7 25 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265420 00262380 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80265424 00262384 7F C3 F3 78 */ mr r3, r30 -/* 80265428 00262388 C0 22 BA 98 */ lfs f1, lbl_805AD7B8@sda21(r2) -/* 8026542C 0026238C 38 81 00 08 */ addi r4, r1, 8 -/* 80265430 00262390 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) -/* 80265434 00262394 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) -/* 80265438 00262398 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8026543C 0026239C D0 5F 01 C8 */ stfs f2, 0x1c8(r31) -/* 80265440 002623A0 C0 5B 00 08 */ lfs f2, 8(r27) -/* 80265444 002623A4 D0 5F 01 CC */ stfs f2, 0x1cc(r31) -/* 80265448 002623A8 A0 1C 00 00 */ lhz r0, 0(r28) -/* 8026544C 002623AC B0 1F 01 88 */ sth r0, 0x188(r31) -/* 80265450 002623B0 88 1F 01 D8 */ lbz r0, 0x1d8(r31) -/* 80265454 002623B4 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 -/* 80265458 002623B8 98 1F 01 D8 */ stb r0, 0x1d8(r31) -/* 8026545C 002623BC D3 BF 01 90 */ stfs f29, 0x190(r31) -/* 80265460 002623C0 D3 DF 01 D0 */ stfs f30, 0x1d0(r31) -/* 80265464 002623C4 D3 FF 01 D4 */ stfs f31, 0x1d4(r31) -/* 80265468 002623C8 D0 3F 01 DC */ stfs f1, 0x1dc(r31) -/* 8026546C 002623CC D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80265470 002623D0 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80265474 002623D4 B0 01 00 08 */ sth r0, 8(r1) -/* 80265478 002623D8 4B DE 71 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8026547C 002623DC 7C 64 1B 78 */ mr r4, r3 -/* 80265480 002623E0 38 61 00 0C */ addi r3, r1, 0xc -/* 80265484 002623E4 4B E4 89 65 */ bl "__ct__25TCastToPtr<11CGameCamera>FP7CEntity" -/* 80265488 002623E8 80 63 00 04 */ lwz r3, 4(r3) -/* 8026548C 002623EC 28 03 00 00 */ cmplwi r3, 0 -/* 80265490 002623F0 41 82 00 1C */ beq lbl_802654AC -/* 80265494 002623F4 C0 03 01 5C */ lfs f0, 0x15c(r3) -/* 80265498 002623F8 38 60 00 01 */ li r3, 1 -/* 8026549C 002623FC D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 802654A0 00262400 88 1F 01 70 */ lbz r0, 0x170(r31) -/* 802654A4 00262404 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802654A8 00262408 98 1F 01 70 */ stb r0, 0x170(r31) -lbl_802654AC: -/* 802654AC 0026240C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802654B0 00262410 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802654B4 00262414 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802654B8 00262418 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802654BC 0026241C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802654C0 00262420 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802654C4 00262424 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802654C8 00262428 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802654CC 0026242C 7C 08 03 A6 */ mtlr r0 -/* 802654D0 00262430 38 21 00 60 */ addi r1, r1, 0x60 -/* 802654D4 00262434 4E 80 00 20 */ blr - -.global InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff -InterpolateSinusoidal__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3fff: -/* 802654D8 00262438 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 802654DC 0026243C 7C 08 02 A6 */ mflr r0 -/* 802654E0 00262440 90 01 01 84 */ stw r0, 0x184(r1) -/* 802654E4 00262444 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 802654E8 00262448 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 802654EC 0026244C DB C1 01 60 */ stfd f30, 0x160(r1) -/* 802654F0 00262450 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 802654F4 00262454 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 802654F8 00262458 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 802654FC 0026245C DB 81 01 40 */ stfd f28, 0x140(r1) -/* 80265500 00262460 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 80265504 00262464 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 80265508 00262468 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8026550C 0026246C 93 A1 01 34 */ stw r29, 0x134(r1) -/* 80265510 00262470 93 81 01 30 */ stw r28, 0x130(r1) -/* 80265514 00262474 FF 80 08 90 */ fmr f28, f1 -/* 80265518 00262478 7C 7C 1B 78 */ mr r28, r3 -/* 8026551C 0026247C FF A0 10 90 */ fmr f29, f2 -/* 80265520 00262480 7C 9D 23 78 */ mr r29, r4 -/* 80265524 00262484 7C BE 2B 78 */ mr r30, r5 -/* 80265528 00262488 7C DF 33 78 */ mr r31, r6 -/* 8026552C 0026248C FC 1D E0 40 */ fcmpo cr0, f29, f28 -/* 80265530 00262490 40 81 00 08 */ ble lbl_80265538 -/* 80265534 00262494 FF A0 E0 90 */ fmr f29, f28 -lbl_80265538: -/* 80265538 00262498 EF DD E0 24 */ fdivs f30, f29, f28 -/* 8026553C 0026249C C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265540 002624A0 FC 20 F2 10 */ fabs f1, f30 -/* 80265544 002624A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265548 002624A8 40 81 00 14 */ ble lbl_8026555C -/* 8026554C 002624AC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 80265550 002624B0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 80265554 002624B4 FC 1E 00 6E */ fsel f0, f30, f1, f0 -/* 80265558 002624B8 EF C1 00 32 */ fmuls f30, f1, f0 -lbl_8026555C: -/* 8026555C 002624BC C0 02 BA B0 */ lfs f0, lbl_805AD7D0@sda21(r2) -/* 80265560 002624C0 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80265564 002624C4 48 12 F5 79 */ bl sin -/* 80265568 002624C8 FC 40 08 18 */ frsp f2, f1 -/* 8026556C 002624CC C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265570 002624D0 FC 20 12 10 */ fabs f1, f2 -/* 80265574 002624D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265578 002624D8 40 81 00 14 */ ble lbl_8026558C -/* 8026557C 002624DC C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 80265580 002624E0 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 80265584 002624E4 FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80265588 002624E8 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_8026558C: -/* 8026558C 002624EC C0 22 BA B4 */ lfs f1, lbl_805AD7D4@sda21(r2) -/* 80265590 002624F0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80265594 002624F4 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80265598 002624F8 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8026559C 002624FC C0 FE 00 00 */ lfs f7, 0(r30) -/* 802655A0 00262500 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 802655A4 00262504 C1 1E 00 04 */ lfs f8, 4(r30) -/* 802655A8 00262508 EC A0 38 28 */ fsubs f5, f0, f7 -/* 802655AC 0026250C EC 5E 10 28 */ fsubs f2, f30, f2 -/* 802655B0 00262510 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) -/* 802655B4 00262514 EC 81 40 28 */ fsubs f4, f1, f8 -/* 802655B8 00262518 C0 3C 00 60 */ lfs f1, 0x60(r28) -/* 802655BC 0026251C EC C0 10 28 */ fsubs f6, f0, f2 -/* 802655C0 00262520 C1 3E 00 08 */ lfs f9, 8(r30) -/* 802655C4 00262524 C0 5F 00 04 */ lfs f2, 4(r31) -/* 802655C8 00262528 EC 61 48 28 */ fsubs f3, f1, f9 -/* 802655CC 0026252C C0 3F 00 08 */ lfs f1, 8(r31) -/* 802655D0 00262530 EC A6 01 72 */ fmuls f5, f6, f5 -/* 802655D4 00262534 EC 86 01 32 */ fmuls f4, f6, f4 -/* 802655D8 00262538 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802655DC 0026253C EC 66 00 F2 */ fmuls f3, f6, f3 -/* 802655E0 00262540 EC A7 28 2A */ fadds f5, f7, f5 -/* 802655E4 00262544 EC 88 20 2A */ fadds f4, f8, f4 -/* 802655E8 00262548 EC 69 18 2A */ fadds f3, f9, f3 -/* 802655EC 0026254C EC 00 28 28 */ fsubs f0, f0, f5 -/* 802655F0 00262550 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 802655F4 00262554 EC 42 20 28 */ fsubs f2, f2, f4 -/* 802655F8 00262558 EC 21 18 28 */ fsubs f1, f1, f3 -/* 802655FC 0026255C D0 81 00 90 */ stfs f4, 0x90(r1) -/* 80265600 00262560 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 80265604 00262564 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80265608 00262568 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8026560C 0026256C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80265610 00262570 48 0A F0 E9 */ bl CanBeNormalized__9CVector3fCFv -/* 80265614 00262574 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265618 00262578 41 82 00 10 */ beq lbl_80265628 -/* 8026561C 0026257C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80265620 00262580 48 0A F2 D9 */ bl Normalize__9CVector3fFv -/* 80265624 00262584 48 00 00 1C */ b lbl_80265640 -lbl_80265628: -/* 80265628 00262588 C0 5C 00 58 */ lfs f2, 0x58(r28) -/* 8026562C 0026258C C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 80265630 00262590 C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 80265634 00262594 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80265638 00262598 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 8026563C 0026259C D0 41 00 88 */ stfs f2, 0x88(r1) -lbl_80265640: -/* 80265640 002625A0 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80265644 002625A4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80265648 002625A8 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8026564C 002625AC C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80265650 002625B0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80265654 002625B4 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) -/* 80265658 002625B8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8026565C 002625BC D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80265660 002625C0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80265664 002625C4 48 0A F0 95 */ bl CanBeNormalized__9CVector3fCFv -/* 80265668 002625C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026566C 002625CC 41 82 01 E0 */ beq lbl_8026584C -/* 80265670 002625D0 C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 80265674 002625D4 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80265678 002625D8 C0 5C 00 38 */ lfs f2, 0x38(r28) -/* 8026567C 002625DC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80265680 002625E0 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 80265684 002625E4 C0 9C 00 58 */ lfs f4, 0x58(r28) -/* 80265688 002625E8 C0 61 00 88 */ lfs f3, 0x88(r1) -/* 8026568C 002625EC EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80265690 002625F0 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265694 002625F4 EF E4 08 FA */ fmadds f31, f4, f3, f1 -/* 80265698 002625F8 FC 20 FA 10 */ fabs f1, f31 -/* 8026569C 002625FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802656A0 00262600 40 81 00 14 */ ble lbl_802656B4 -/* 802656A4 00262604 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 802656A8 00262608 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 802656AC 0026260C FC 1F 00 6E */ fsel f0, f31, f1, f0 -/* 802656B0 00262610 EF E1 00 32 */ fmuls f31, f1, f0 -lbl_802656B4: -/* 802656B4 00262614 FC 20 F8 90 */ fmr f1, f31 -/* 802656B8 00262618 48 12 F5 75 */ bl acos -/* 802656BC 0026261C FC 40 F2 10 */ fabs f2, f30 -/* 802656C0 00262620 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 802656C4 00262624 FC 20 08 18 */ frsp f1, f1 -/* 802656C8 00262628 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802656CC 0026262C 40 81 00 14 */ ble lbl_802656E0 -/* 802656D0 00262630 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 802656D4 00262634 C0 42 BA AC */ lfs f2, lbl_805AD7CC@sda21(r2) -/* 802656D8 00262638 FC 1E 00 AE */ fsel f0, f30, f2, f0 -/* 802656DC 0026263C EF C2 00 32 */ fmuls f30, f2, f0 -lbl_802656E0: -/* 802656E0 00262640 C0 02 BA AC */ lfs f0, lbl_805AD7CC@sda21(r2) -/* 802656E4 00262644 C0 5C 01 DC */ lfs f2, 0x1dc(r28) -/* 802656E8 00262648 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802656EC 0026264C EF C1 00 32 */ fmuls f30, f1, f0 -/* 802656F0 00262650 FC 1E 10 40 */ fcmpo cr0, f30, f2 -/* 802656F4 00262654 40 81 00 0C */ ble lbl_80265700 -/* 802656F8 00262658 FF C0 10 90 */ fmr f30, f2 -/* 802656FC 0026265C 48 00 00 08 */ b lbl_80265704 -lbl_80265700: -/* 80265700 00262660 D3 DC 01 DC */ stfs f30, 0x1dc(r28) -lbl_80265704: -/* 80265704 00262664 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 80265708 00262668 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8026570C 0026266C C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80265710 00262670 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80265714 00262674 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 80265718 00262678 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8026571C 0026267C EC 81 00 2A */ fadds f4, f1, f0 -/* 80265720 00262680 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 80265724 00262684 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80265728 00262688 38 81 00 8C */ addi r4, r1, 0x8c -/* 8026572C 0026268C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80265730 00262690 EC 43 10 2A */ fadds f2, f3, f2 -/* 80265734 00262694 EC 01 00 2A */ fadds f0, f1, f0 -/* 80265738 00262698 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 8026573C 0026269C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80265740 002626A0 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80265744 002626A4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80265748 002626A8 48 0A E3 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8026574C 002626AC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80265750 002626B0 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80265754 002626B4 48 0A D4 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80265758 002626B8 FC 20 FA 10 */ fabs f1, f31 -/* 8026575C 002626BC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) -/* 80265760 002626C0 FC 20 08 18 */ frsp f1, f1 -/* 80265764 002626C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265768 002626C8 40 80 00 D4 */ bge lbl_8026583C -/* 8026576C 002626CC D3 C1 00 08 */ stfs f30, 8(r1) -/* 80265770 002626D0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80265774 002626D4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80265778 002626D8 C0 5C 00 58 */ lfs f2, 0x58(r28) -/* 8026577C 002626DC C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 80265780 002626E0 C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 80265784 002626E4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80265788 002626E8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8026578C 002626EC D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80265790 002626F0 48 0A E6 41 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80265794 002626F4 7C 7F 1B 78 */ mr r31, r3 -/* 80265798 002626F8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8026579C 002626FC 38 81 00 80 */ addi r4, r1, 0x80 -/* 802657A0 00262700 48 0A E6 31 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 802657A4 00262704 7C 64 1B 78 */ mr r4, r3 -/* 802657A8 00262708 7F E5 FB 78 */ mr r5, r31 -/* 802657AC 0026270C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802657B0 00262710 38 C1 00 08 */ addi r6, r1, 8 -/* 802657B4 00262714 48 0A BE E1 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 802657B8 00262718 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 802657BC 0026271C 38 61 00 18 */ addi r3, r1, 0x18 -/* 802657C0 00262720 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 802657C4 00262724 38 81 00 64 */ addi r4, r1, 0x64 -/* 802657C8 00262728 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802657CC 0026272C 38 A1 00 80 */ addi r5, r1, 0x80 -/* 802657D0 00262730 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802657D4 00262734 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802657D8 00262738 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802657DC 0026273C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802657E0 00262740 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802657E4 00262744 48 0A BA 81 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 802657E8 00262748 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 802657EC 0026274C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802657F0 00262750 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802657F4 00262754 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802657F8 00262758 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 802657FC 0026275C 38 61 00 98 */ addi r3, r1, 0x98 -/* 80265800 00262760 EC 81 00 2A */ fadds f4, f1, f0 -/* 80265804 00262764 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80265808 00262768 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 8026580C 0026276C 38 81 00 8C */ addi r4, r1, 0x8c -/* 80265810 00262770 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80265814 00262774 EC 43 10 2A */ fadds f2, f3, f2 -/* 80265818 00262778 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026581C 0026277C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80265820 00262780 38 A1 00 0C */ addi r5, r1, 0xc -/* 80265824 00262784 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80265828 00262788 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8026582C 0026278C 48 0A E2 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80265830 00262790 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80265834 00262794 38 81 00 98 */ addi r4, r1, 0x98 -/* 80265838 00262798 48 0A D3 09 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8026583C: -/* 8026583C 0026279C 7F A3 EB 78 */ mr r3, r29 -/* 80265840 002627A0 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80265844 002627A4 48 0A D2 FD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265848 002627A8 48 00 00 28 */ b lbl_80265870 -lbl_8026584C: -/* 8026584C 002627AC 7F A3 EB 78 */ mr r3, r29 -/* 80265850 002627B0 38 9C 00 34 */ addi r4, r28, 0x34 -/* 80265854 002627B4 48 0A D2 ED */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265858 002627B8 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8026585C 002627BC D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80265860 002627C0 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80265864 002627C4 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80265868 002627C8 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8026586C 002627CC D0 1D 00 2C */ stfs f0, 0x2c(r29) -lbl_80265870: -/* 80265870 002627D0 FC 1D E0 40 */ fcmpo cr0, f29, f28 -/* 80265874 002627D4 4C 41 13 82 */ cror 2, 1, 2 -/* 80265878 002627D8 7C 00 00 26 */ mfcr r0 -/* 8026587C 002627DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 80265880 002627E0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80265884 002627E4 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 80265888 002627E8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 8026588C 002627EC CB C1 01 60 */ lfd f30, 0x160(r1) -/* 80265890 002627F0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80265894 002627F4 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 80265898 002627F8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 8026589C 002627FC CB 81 01 40 */ lfd f28, 0x140(r1) -/* 802658A0 00262800 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 802658A4 00262804 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 802658A8 00262808 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 802658AC 0026280C 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802658B0 00262810 83 81 01 30 */ lwz r28, 0x130(r1) -/* 802658B4 00262814 7C 08 03 A6 */ mtlr r0 -/* 802658B8 00262818 38 21 01 80 */ addi r1, r1, 0x180 -/* 802658BC 0026281C 4E 80 00 20 */ blr - -.global InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff -InterpolateWithDistance__20CInterpolationCameraFR12CTransform4fRC9CVector3fRC9CVector3ffffff: -/* 802658C0 00262820 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 802658C4 00262824 7C 08 02 A6 */ mflr r0 -/* 802658C8 00262828 90 01 02 04 */ stw r0, 0x204(r1) -/* 802658CC 0026282C DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 802658D0 00262830 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 802658D4 00262834 DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 802658D8 00262838 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 802658DC 0026283C DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 802658E0 00262840 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 802658E4 00262844 DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 802658E8 00262848 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 802658EC 0026284C DB 61 01 B0 */ stfd f27, 0x1b0(r1) -/* 802658F0 00262850 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 -/* 802658F4 00262854 DB 41 01 A0 */ stfd f26, 0x1a0(r1) -/* 802658F8 00262858 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 -/* 802658FC 0026285C BF 41 01 88 */ stmw r26, 0x188(r1) -/* 80265900 00262860 7C 9B 23 78 */ mr r27, r4 -/* 80265904 00262864 7C BF 2B 78 */ mr r31, r5 -/* 80265908 00262868 C1 05 00 04 */ lfs f8, 4(r5) -/* 8026590C 0026286C FF 80 18 90 */ fmr f28, f3 -/* 80265910 00262870 C0 E4 00 1C */ lfs f7, 0x1c(r4) -/* 80265914 00262874 7C 7A 1B 78 */ mr r26, r3 -/* 80265918 00262878 C0 C5 00 08 */ lfs f6, 8(r5) -/* 8026591C 0026287C FF 60 10 90 */ fmr f27, f2 -/* 80265920 00262880 C0 64 00 2C */ lfs f3, 0x2c(r4) -/* 80265924 00262884 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80265928 00262888 ED 08 38 28 */ fsubs f8, f8, f7 -/* 8026592C 0026288C C0 45 00 00 */ lfs f2, 0(r5) -/* 80265930 00262890 EC C6 18 28 */ fsubs f6, f6, f3 -/* 80265934 00262894 FF A0 20 90 */ fmr f29, f4 -/* 80265938 00262898 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8026593C 0026289C EC 02 00 28 */ fsubs f0, f2, f0 -/* 80265940 002628A0 FF C0 28 90 */ fmr f30, f5 -/* 80265944 002628A4 D1 01 00 90 */ stfs f8, 0x90(r1) -/* 80265948 002628A8 EF E1 07 32 */ fmuls f31, f1, f28 -/* 8026594C 002628AC D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80265950 002628B0 7C DC 33 78 */ mr r28, r6 -/* 80265954 002628B4 38 61 00 8C */ addi r3, r1, 0x8c -/* 80265958 002628B8 D0 C1 00 94 */ stfs f6, 0x94(r1) -/* 8026595C 002628BC 3B C0 00 00 */ li r30, 0 -/* 80265960 002628C0 3B A0 00 00 */ li r29, 0 -/* 80265964 002628C4 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 80265968 002628C8 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8026596C 002628CC 48 0A ED 8D */ bl CanBeNormalized__9CVector3fCFv -/* 80265970 002628D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265974 002628D4 41 82 00 B8 */ beq lbl_80265A2C -/* 80265978 002628D8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8026597C 002628DC 48 0A EF 3D */ bl Magnitude__9CVector3fCFv -/* 80265980 002628E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80265984 002628E4 40 81 00 A8 */ ble lbl_80265A2C -/* 80265988 002628E8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8026598C 002628EC 48 0A EF 2D */ bl Magnitude__9CVector3fCFv -/* 80265990 002628F0 FF 40 08 90 */ fmr f26, f1 -/* 80265994 002628F4 38 61 00 8C */ addi r3, r1, 0x8c -/* 80265998 002628F8 48 0A EF 61 */ bl Normalize__9CVector3fFv -/* 8026599C 002628FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) -/* 802659A0 00262900 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 802659A4 00262904 EC 5A 08 24 */ fdivs f2, f26, f1 -/* 802659A8 00262908 FC 20 12 10 */ fabs f1, f2 -/* 802659AC 0026290C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802659B0 00262910 40 81 00 14 */ ble lbl_802659C4 -/* 802659B4 00262914 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 802659B8 00262918 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 802659BC 0026291C FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 802659C0 00262920 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_802659C4: -/* 802659C4 00262924 EC C2 07 F2 */ fmuls f6, f2, f31 -/* 802659C8 00262928 C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 802659CC 0026292C C0 21 00 90 */ lfs f1, 0x90(r1) -/* 802659D0 00262930 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 802659D4 00262934 EC A6 00 B2 */ fmuls f5, f6, f2 -/* 802659D8 00262938 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 802659DC 0026293C EC 86 00 72 */ fmuls f4, f6, f1 -/* 802659E0 00262940 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 802659E4 00262944 EC 66 00 32 */ fmuls f3, f6, f0 -/* 802659E8 00262948 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 802659EC 0026294C EC 42 28 2A */ fadds f2, f2, f5 -/* 802659F0 00262950 EC 21 20 2A */ fadds f1, f1, f4 -/* 802659F4 00262954 EC 00 18 2A */ fadds f0, f0, f3 -/* 802659F8 00262958 FC 1A 30 40 */ fcmpo cr0, f26, f6 -/* 802659FC 0026295C D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80265A00 00262960 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80265A04 00262964 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80265A08 00262968 40 80 00 40 */ bge lbl_80265A48 -/* 80265A0C 0026296C C0 5F 00 00 */ lfs f2, 0(r31) -/* 80265A10 00262970 3B A0 00 01 */ li r29, 1 -/* 80265A14 00262974 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80265A18 00262978 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80265A1C 0026297C D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80265A20 00262980 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80265A24 00262984 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80265A28 00262988 48 00 00 20 */ b lbl_80265A48 -lbl_80265A2C: -/* 80265A2C 0026298C C0 5F 00 00 */ lfs f2, 0(r31) -/* 80265A30 00262990 3B A0 00 01 */ li r29, 1 -/* 80265A34 00262994 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80265A38 00262998 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80265A3C 0026299C D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80265A40 002629A0 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80265A44 002629A4 D0 01 00 88 */ stfs f0, 0x88(r1) -lbl_80265A48: -/* 80265A48 002629A8 C0 3C 00 04 */ lfs f1, 4(r28) -/* 80265A4C 002629AC 38 61 00 74 */ addi r3, r1, 0x74 -/* 80265A50 002629B0 C0 1A 01 C8 */ lfs f0, 0x1c8(r26) -/* 80265A54 002629B4 C0 7C 00 08 */ lfs f3, 8(r28) -/* 80265A58 002629B8 C0 5A 01 CC */ lfs f2, 0x1cc(r26) -/* 80265A5C 002629BC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80265A60 002629C0 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) -/* 80265A64 002629C4 C0 3C 00 00 */ lfs f1, 0(r28) -/* 80265A68 002629C8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80265A6C 002629CC D0 81 00 78 */ stfs f4, 0x78(r1) -/* 80265A70 002629D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80265A74 002629D4 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80265A78 002629D8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80265A7C 002629DC 48 0A EE 3D */ bl Magnitude__9CVector3fCFv -/* 80265A80 002629E0 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80265A84 002629E4 40 81 00 84 */ ble lbl_80265B08 -/* 80265A88 002629E8 38 61 00 74 */ addi r3, r1, 0x74 -/* 80265A8C 002629EC 48 0A EE 2D */ bl Magnitude__9CVector3fCFv -/* 80265A90 002629F0 FF 40 08 90 */ fmr f26, f1 -/* 80265A94 002629F4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80265A98 002629F8 48 0A EE 61 */ bl Normalize__9CVector3fFv -/* 80265A9C 002629FC C0 22 BA BC */ lfs f1, lbl_805AD7DC@sda21(r2) -/* 80265AA0 00262A00 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265AA4 00262A04 EC 5A 08 24 */ fdivs f2, f26, f1 -/* 80265AA8 00262A08 FC 20 12 10 */ fabs f1, f2 -/* 80265AAC 00262A0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265AB0 00262A10 40 81 00 14 */ ble lbl_80265AC4 -/* 80265AB4 00262A14 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 80265AB8 00262A18 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 80265ABC 00262A1C FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80265AC0 00262A20 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_80265AC4: -/* 80265AC4 00262A24 EC 82 07 F2 */ fmuls f4, f2, f31 -/* 80265AC8 00262A28 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80265ACC 00262A2C C0 41 00 78 */ lfs f2, 0x78(r1) -/* 80265AD0 00262A30 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80265AD4 00262A34 EC 64 00 32 */ fmuls f3, f4, f0 -/* 80265AD8 00262A38 C0 1A 01 C4 */ lfs f0, 0x1c4(r26) -/* 80265ADC 00262A3C EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80265AE0 00262A40 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80265AE4 00262A44 EC 00 18 2A */ fadds f0, f0, f3 -/* 80265AE8 00262A48 D0 1A 01 C4 */ stfs f0, 0x1c4(r26) -/* 80265AEC 00262A4C C0 1A 01 C8 */ lfs f0, 0x1c8(r26) -/* 80265AF0 00262A50 EC 00 10 2A */ fadds f0, f0, f2 -/* 80265AF4 00262A54 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) -/* 80265AF8 00262A58 C0 1A 01 CC */ lfs f0, 0x1cc(r26) -/* 80265AFC 00262A5C EC 00 08 2A */ fadds f0, f0, f1 -/* 80265B00 00262A60 D0 1A 01 CC */ stfs f0, 0x1cc(r26) -/* 80265B04 00262A64 48 00 00 1C */ b lbl_80265B20 -lbl_80265B08: -/* 80265B08 00262A68 C0 1C 00 00 */ lfs f0, 0(r28) -/* 80265B0C 00262A6C D0 1A 01 C4 */ stfs f0, 0x1c4(r26) -/* 80265B10 00262A70 C0 1C 00 04 */ lfs f0, 4(r28) -/* 80265B14 00262A74 D0 1A 01 C8 */ stfs f0, 0x1c8(r26) -/* 80265B18 00262A78 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80265B1C 00262A7C D0 1A 01 CC */ stfs f0, 0x1cc(r26) -lbl_80265B20: -/* 80265B20 00262A80 C0 3A 01 C8 */ lfs f1, 0x1c8(r26) -/* 80265B24 00262A84 38 61 00 68 */ addi r3, r1, 0x68 -/* 80265B28 00262A88 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80265B2C 00262A8C C0 7A 01 CC */ lfs f3, 0x1cc(r26) -/* 80265B30 00262A90 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 80265B34 00262A94 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80265B38 00262A98 C0 3A 01 C4 */ lfs f1, 0x1c4(r26) -/* 80265B3C 00262A9C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80265B40 00262AA0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80265B44 00262AA4 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80265B48 00262AA8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80265B4C 00262AAC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80265B50 00262AB0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80265B54 00262AB4 48 0A EB A5 */ bl CanBeNormalized__9CVector3fCFv -/* 80265B58 00262AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265B5C 00262ABC 41 82 00 10 */ beq lbl_80265B6C -/* 80265B60 00262AC0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80265B64 00262AC4 48 0A ED 95 */ bl Normalize__9CVector3fFv -/* 80265B68 00262AC8 48 00 00 1C */ b lbl_80265B84 -lbl_80265B6C: -/* 80265B6C 00262ACC C0 5A 00 58 */ lfs f2, 0x58(r26) -/* 80265B70 00262AD0 C0 3A 00 48 */ lfs f1, 0x48(r26) -/* 80265B74 00262AD4 C0 1A 00 38 */ lfs f0, 0x38(r26) -/* 80265B78 00262AD8 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80265B7C 00262ADC D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 80265B80 00262AE0 D0 41 00 70 */ stfs f2, 0x70(r1) -lbl_80265B84: -/* 80265B84 00262AE4 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 80265B88 00262AE8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80265B8C 00262AEC C0 5B 00 04 */ lfs f2, 4(r27) -/* 80265B90 00262AF0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80265B94 00262AF4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80265B98 00262AF8 C0 9B 00 24 */ lfs f4, 0x24(r27) -/* 80265B9C 00262AFC C0 61 00 70 */ lfs f3, 0x70(r1) -/* 80265BA0 00262B00 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80265BA4 00262B04 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265BA8 00262B08 EF E4 08 FA */ fmadds f31, f4, f3, f1 -/* 80265BAC 00262B0C FC 20 FA 10 */ fabs f1, f31 -/* 80265BB0 00262B10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265BB4 00262B14 40 81 00 14 */ ble lbl_80265BC8 -/* 80265BB8 00262B18 C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 80265BBC 00262B1C C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 80265BC0 00262B20 FC 1F 00 6E */ fsel f0, f31, f1, f0 -/* 80265BC4 00262B24 EF E1 00 32 */ fmuls f31, f1, f0 -lbl_80265BC8: -/* 80265BC8 00262B28 FC 20 F8 90 */ fmr f1, f31 -/* 80265BCC 00262B2C 48 12 F0 61 */ bl acos -/* 80265BD0 00262B30 FC 40 08 18 */ frsp f2, f1 -/* 80265BD4 00262B34 C0 22 BA C0 */ lfs f1, lbl_805AD7E0@sda21(r2) -/* 80265BD8 00262B38 C8 02 BA A0 */ lfd f0, lbl_805AD7C0@sda21(r2) -/* 80265BDC 00262B3C EC 82 08 24 */ fdivs f4, f2, f1 -/* 80265BE0 00262B40 FC 20 22 10 */ fabs f1, f4 -/* 80265BE4 00262B44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265BE8 00262B48 40 81 00 14 */ ble lbl_80265BFC -/* 80265BEC 00262B4C C0 02 BA A8 */ lfs f0, lbl_805AD7C8@sda21(r2) -/* 80265BF0 00262B50 C0 22 BA AC */ lfs f1, lbl_805AD7CC@sda21(r2) -/* 80265BF4 00262B54 FC 04 00 6E */ fsel f0, f4, f1, f0 -/* 80265BF8 00262B58 EC 81 00 32 */ fmuls f4, f1, f0 -lbl_80265BFC: -/* 80265BFC 00262B5C EC 7B 07 32 */ fmuls f3, f27, f28 -/* 80265C00 00262B60 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80265C04 00262B64 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80265C08 00262B68 38 61 00 5C */ addi r3, r1, 0x5c -/* 80265C0C 00262B6C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 80265C10 00262B70 3B 80 00 00 */ li r28, 0 -/* 80265C14 00262B74 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80265C18 00262B78 EF 44 00 F2 */ fmuls f26, f4, f3 -/* 80265C1C 00262B7C C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) -/* 80265C20 00262B80 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80265C24 00262B84 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80265C28 00262B88 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80265C2C 00262B8C 48 0A EA CD */ bl CanBeNormalized__9CVector3fCFv -/* 80265C30 00262B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265C34 00262B94 41 82 01 34 */ beq lbl_80265D68 -/* 80265C38 00262B98 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80265C3C 00262B9C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80265C40 00262BA0 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80265C44 00262BA4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80265C48 00262BA8 C0 61 00 88 */ lfs f3, 0x88(r1) -/* 80265C4C 00262BAC 38 61 01 28 */ addi r3, r1, 0x128 -/* 80265C50 00262BB0 EC 81 00 2A */ fadds f4, f1, f0 -/* 80265C54 00262BB4 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80265C58 00262BB8 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 80265C5C 00262BBC 38 81 00 80 */ addi r4, r1, 0x80 -/* 80265C60 00262BC0 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80265C64 00262BC4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80265C68 00262BC8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80265C6C 00262BCC D0 81 00 44 */ stfs f4, 0x44(r1) -/* 80265C70 00262BD0 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80265C74 00262BD4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80265C78 00262BD8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80265C7C 00262BDC 48 0A DE 95 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80265C80 00262BE0 38 61 01 58 */ addi r3, r1, 0x158 -/* 80265C84 00262BE4 38 81 01 28 */ addi r4, r1, 0x128 -/* 80265C88 00262BE8 48 0A CE ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80265C8C 00262BEC C0 02 BA B8 */ lfs f0, lbl_805AD7D8@sda21(r2) -/* 80265C90 00262BF0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80265C94 00262BF4 40 80 00 A8 */ bge lbl_80265D3C -/* 80265C98 00262BF8 D3 41 00 08 */ stfs f26, 8(r1) -/* 80265C9C 00262BFC 38 61 00 0C */ addi r3, r1, 0xc -/* 80265CA0 00262C00 38 81 00 68 */ addi r4, r1, 0x68 -/* 80265CA4 00262C04 C0 5B 00 24 */ lfs f2, 0x24(r27) -/* 80265CA8 00262C08 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 80265CAC 00262C0C C0 1B 00 04 */ lfs f0, 4(r27) -/* 80265CB0 00262C10 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80265CB4 00262C14 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80265CB8 00262C18 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80265CBC 00262C1C 48 0A E1 15 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80265CC0 00262C20 7C 7F 1B 78 */ mr r31, r3 -/* 80265CC4 00262C24 38 61 00 24 */ addi r3, r1, 0x24 -/* 80265CC8 00262C28 38 81 00 18 */ addi r4, r1, 0x18 -/* 80265CCC 00262C2C 48 0A E1 05 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80265CD0 00262C30 7C 64 1B 78 */ mr r4, r3 -/* 80265CD4 00262C34 7F E5 FB 78 */ mr r5, r31 -/* 80265CD8 00262C38 38 61 00 30 */ addi r3, r1, 0x30 -/* 80265CDC 00262C3C 38 C1 00 08 */ addi r6, r1, 8 -/* 80265CE0 00262C40 48 0A B9 B5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 80265CE4 00262C44 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 80265CE8 00262C48 7F 64 DB 78 */ mr r4, r27 -/* 80265CEC 00262C4C C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80265CF0 00262C50 38 61 00 98 */ addi r3, r1, 0x98 -/* 80265CF4 00262C54 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80265CF8 00262C58 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80265CFC 00262C5C D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80265D00 00262C60 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80265D04 00262C64 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80265D08 00262C68 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80265D0C 00262C6C 48 0A CF 35 */ bl GetRotation__12CTransform4fCFv -/* 80265D10 00262C70 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80265D14 00262C74 38 81 00 4C */ addi r4, r1, 0x4c -/* 80265D18 00262C78 48 0A C2 A1 */ bl BuildTransform4f__11CQuaternionCFv -/* 80265D1C 00262C7C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80265D20 00262C80 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80265D24 00262C84 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80265D28 00262C88 48 0A CC 29 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80265D2C 00262C8C 38 61 01 58 */ addi r3, r1, 0x158 -/* 80265D30 00262C90 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80265D34 00262C94 48 0A CE 0D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265D38 00262C98 48 00 00 08 */ b lbl_80265D40 -lbl_80265D3C: -/* 80265D3C 00262C9C 3B 80 00 01 */ li r28, 1 -lbl_80265D40: -/* 80265D40 00262CA0 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 80265D44 00262CA4 7F 63 DB 78 */ mr r3, r27 -/* 80265D48 00262CA8 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80265D4C 00262CAC 38 81 01 58 */ addi r4, r1, 0x158 -/* 80265D50 00262CB0 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80265D54 00262CB4 D0 41 01 64 */ stfs f2, 0x164(r1) -/* 80265D58 00262CB8 D0 21 01 74 */ stfs f1, 0x174(r1) -/* 80265D5C 00262CBC D0 01 01 84 */ stfs f0, 0x184(r1) -/* 80265D60 00262CC0 48 0A CD E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265D64 00262CC4 48 00 00 2C */ b lbl_80265D90 -lbl_80265D68: -/* 80265D68 00262CC8 7F 63 DB 78 */ mr r3, r27 -/* 80265D6C 00262CCC 38 9A 00 34 */ addi r4, r26, 0x34 -/* 80265D70 00262CD0 48 0A CD D1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80265D74 00262CD4 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80265D78 00262CD8 3B 80 00 01 */ li r28, 1 -/* 80265D7C 00262CDC D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 80265D80 00262CE0 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80265D84 00262CE4 D0 1B 00 1C */ stfs f0, 0x1c(r27) -/* 80265D88 00262CE8 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80265D8C 00262CEC D0 1B 00 2C */ stfs f0, 0x2c(r27) -lbl_80265D90: -/* 80265D90 00262CF0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80265D94 00262CF4 41 82 00 10 */ beq lbl_80265DA4 -/* 80265D98 00262CF8 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80265D9C 00262CFC 41 82 00 08 */ beq lbl_80265DA4 -/* 80265DA0 00262D00 3B C0 00 01 */ li r30, 1 -lbl_80265DA4: -/* 80265DA4 00262D04 FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 80265DA8 00262D08 4C 41 13 82 */ cror 2, 1, 2 -/* 80265DAC 00262D0C 40 82 00 18 */ bne lbl_80265DC4 -/* 80265DB0 00262D10 C0 02 BA C4 */ lfs f0, lbl_805AD7E4@sda21(r2) -/* 80265DB4 00262D14 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80265DB8 00262D18 4C 41 13 82 */ cror 2, 1, 2 -/* 80265DBC 00262D1C 40 82 00 08 */ bne lbl_80265DC4 -/* 80265DC0 00262D20 3B C0 00 01 */ li r30, 1 -lbl_80265DC4: -/* 80265DC4 00262D24 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 80265DC8 00262D28 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 80265DCC 00262D2C CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 80265DD0 00262D30 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 80265DD4 00262D34 CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 80265DD8 00262D38 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 80265DDC 00262D3C CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 80265DE0 00262D40 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 80265DE4 00262D44 CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 80265DE8 00262D48 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 -/* 80265DEC 00262D4C CB 61 01 B0 */ lfd f27, 0x1b0(r1) -/* 80265DF0 00262D50 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 -/* 80265DF4 00262D54 CB 41 01 A0 */ lfd f26, 0x1a0(r1) -/* 80265DF8 00262D58 BB 41 01 88 */ lmw r26, 0x188(r1) -/* 80265DFC 00262D5C 80 01 02 04 */ lwz r0, 0x204(r1) -/* 80265E00 00262D60 7C 08 03 A6 */ mtlr r0 -/* 80265E04 00262D64 38 21 02 00 */ addi r1, r1, 0x200 -/* 80265E08 00262D68 4E 80 00 20 */ blr - -.global Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager -Reset__20CInterpolationCameraFRC12CTransform4fR13CStateManager: -/* 80265E0C 00262D6C 4E 80 00 20 */ blr - -.global __dt__20CInterpolationCamera -__dt__20CInterpolationCamera: -/* 80265E10 00262D70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265E14 00262D74 7C 08 02 A6 */ mflr r0 -/* 80265E18 00262D78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265E1C 00262D7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265E20 00262D80 7C 9F 23 78 */ mr r31, r4 -/* 80265E24 00262D84 93 C1 00 08 */ stw r30, 8(r1) -/* 80265E28 00262D88 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80265E2C 00262D8C 41 82 00 28 */ beq lbl_80265E54 -/* 80265E30 00262D90 3C A0 80 3F */ lis r5, lbl_803E9D80@ha -/* 80265E34 00262D94 38 80 00 00 */ li r4, 0 -/* 80265E38 00262D98 38 05 9D 80 */ addi r0, r5, lbl_803E9D80@l -/* 80265E3C 00262D9C 90 1E 00 00 */ stw r0, 0(r30) -/* 80265E40 00262DA0 4B DF 7C 1D */ bl __dt__11CGameCameraFv -/* 80265E44 00262DA4 7F E0 07 35 */ extsh. r0, r31 -/* 80265E48 00262DA8 40 81 00 0C */ ble lbl_80265E54 -/* 80265E4C 00262DAC 7F C3 F3 78 */ mr r3, r30 -/* 80265E50 00262DB0 48 0A FA E1 */ bl Free__7CMemoryFPCv -lbl_80265E54: -/* 80265E54 00262DB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265E58 00262DB8 7F C3 F3 78 */ mr r3, r30 -/* 80265E5C 00262DBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265E60 00262DC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265E64 00262DC4 7C 08 03 A6 */ mtlr r0 -/* 80265E68 00262DC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265E6C 00262DCC 4E 80 00 20 */ blr - -.global __ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f -__ct__20CInterpolationCameraF9TUniqueIdRC12CTransform4f: -/* 80265E70 00262DD0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80265E74 00262DD4 7C 08 02 A6 */ mflr r0 -/* 80265E78 00262DD8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80265E7C 00262DDC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80265E80 00262DE0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80265E84 00262DE4 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80265E88 00262DE8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80265E8C 00262DEC DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80265E90 00262DF0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80265E94 00262DF4 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80265E98 00262DF8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80265E9C 00262DFC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80265EA0 00262E00 3C C0 80 3D */ lis r6, lbl_803D5298@ha -/* 80265EA4 00262E04 7C 7F 1B 78 */ mr r31, r3 -/* 80265EA8 00262E08 38 06 52 98 */ addi r0, r6, lbl_803D5298@l -/* 80265EAC 00262E0C 7C 9D 23 78 */ mr r29, r4 -/* 80265EB0 00262E10 7C BE 2B 78 */ mr r30, r5 -/* 80265EB4 00262E14 38 61 00 30 */ addi r3, r1, 0x30 -/* 80265EB8 00262E18 7C 04 03 78 */ mr r4, r0 -/* 80265EBC 00262E1C 4B D9 ED FD */ bl string_l__4rstlFPCc -/* 80265EC0 00262E20 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) -/* 80265EC4 00262E24 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 80265EC8 00262E28 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80265ECC 00262E2C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 80265ED0 00262E30 90 81 00 28 */ stw r4, 0x28(r1) -/* 80265ED4 00262E34 38 61 00 40 */ addi r3, r1, 0x40 -/* 80265ED8 00262E38 38 81 00 2C */ addi r4, r1, 0x2c -/* 80265EDC 00262E3C 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80265EE0 00262E40 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80265EE4 00262E44 4B DE B5 A1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 80265EE8 00262E48 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 80265EEC 00262E4C A0 1D 00 00 */ lhz r0, 0(r29) -/* 80265EF0 00262E50 B0 61 00 10 */ sth r3, 0x10(r1) -/* 80265EF4 00262E54 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80265EF8 00262E58 4B DA 61 C1 */ bl DefaultAspect__14CCameraManagerFv -/* 80265EFC 00262E5C FF A0 08 90 */ fmr f29, f1 -/* 80265F00 00262E60 4B DA 61 C1 */ bl DefaultFarPlane__14CCameraManagerFv -/* 80265F04 00262E64 FF C0 08 90 */ fmr f30, f1 -/* 80265F08 00262E68 4B DA 61 C1 */ bl DefaultNearPlane__14CCameraManagerFv -/* 80265F0C 00262E6C FF E0 08 90 */ fmr f31, f1 -/* 80265F10 00262E70 4B DA 61 C9 */ bl DefaultThirdPersonFov__14CCameraManagerFv -/* 80265F14 00262E74 38 00 00 00 */ li r0, 0 -/* 80265F18 00262E78 FC 40 F8 90 */ fmr f2, f31 -/* 80265F1C 00262E7C FC 60 F0 90 */ fmr f3, f30 -/* 80265F20 00262E80 90 01 00 08 */ stw r0, 8(r1) -/* 80265F24 00262E84 FC 80 E8 90 */ fmr f4, f29 -/* 80265F28 00262E88 7F E3 FB 78 */ mr r3, r31 -/* 80265F2C 00262E8C 7F C8 F3 78 */ mr r8, r30 -/* 80265F30 00262E90 38 81 00 14 */ addi r4, r1, 0x14 -/* 80265F34 00262E94 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80265F38 00262E98 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80265F3C 00262E9C 39 21 00 10 */ addi r9, r1, 0x10 -/* 80265F40 00262EA0 38 A0 00 00 */ li r5, 0 -/* 80265F44 00262EA4 39 40 00 00 */ li r10, 0 -/* 80265F48 00262EA8 4B DF 7B 75 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" -/* 80265F4C 00262EAC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80265F50 00262EB0 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80265F54 00262EB4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80265F58 00262EB8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80265F5C 00262EBC 7C 64 1B 78 */ mr r4, r3 -/* 80265F60 00262EC0 7C 03 02 14 */ add r0, r3, r0 -/* 80265F64 00262EC4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80265F68 00262EC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80265F6C 00262ECC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80265F70 00262ED0 48 00 00 08 */ b lbl_80265F78 -lbl_80265F74: -/* 80265F74 00262ED4 38 84 00 0C */ addi r4, r4, 0xc -lbl_80265F78: -/* 80265F78 00262ED8 7C 04 00 40 */ cmplw r4, r0 -/* 80265F7C 00262EDC 40 82 FF F8 */ bne lbl_80265F74 -/* 80265F80 00262EE0 28 03 00 00 */ cmplwi r3, 0 -/* 80265F84 00262EE4 41 82 00 08 */ beq lbl_80265F8C -/* 80265F88 00262EE8 48 0A F9 A9 */ bl Free__7CMemoryFPCv -lbl_80265F8C: -/* 80265F8C 00262EEC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80265F90 00262EF0 48 0D 7B 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80265F94 00262EF4 3C 80 80 3F */ lis r4, lbl_803E9D80@ha -/* 80265F98 00262EF8 C0 02 BA 9C */ lfs f0, lbl_805AD7BC@sda21(r2) -/* 80265F9C 00262EFC 38 04 9D 80 */ addi r0, r4, lbl_803E9D80@l -/* 80265FA0 00262F00 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80265FA4 00262F04 90 1F 00 00 */ stw r0, 0(r31) -/* 80265FA8 00262F08 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80265FAC 00262F0C 38 7F 01 94 */ addi r3, r31, 0x194 -/* 80265FB0 00262F10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80265FB4 00262F14 B0 1F 01 88 */ sth r0, 0x188(r31) -/* 80265FB8 00262F18 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 80265FBC 00262F1C D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 80265FC0 00262F20 48 0A CB B5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80265FC4 00262F24 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80265FC8 00262F28 C0 22 BA 9C */ lfs f1, lbl_805AD7BC@sda21(r2) -/* 80265FCC 00262F2C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80265FD0 00262F30 38 80 00 00 */ li r4, 0 -/* 80265FD4 00262F34 C0 45 00 00 */ lfs f2, 0(r5) -/* 80265FD8 00262F38 7F E3 FB 78 */ mr r3, r31 -/* 80265FDC 00262F3C C0 02 BA 98 */ lfs f0, lbl_805AD7B8@sda21(r2) -/* 80265FE0 00262F40 D0 5F 01 C4 */ stfs f2, 0x1c4(r31) -/* 80265FE4 00262F44 C0 45 00 04 */ lfs f2, 4(r5) -/* 80265FE8 00262F48 D0 5F 01 C8 */ stfs f2, 0x1c8(r31) -/* 80265FEC 00262F4C C0 45 00 08 */ lfs f2, 8(r5) -/* 80265FF0 00262F50 D0 5F 01 CC */ stfs f2, 0x1cc(r31) -/* 80265FF4 00262F54 D0 3F 01 D0 */ stfs f1, 0x1d0(r31) -/* 80265FF8 00262F58 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 80265FFC 00262F5C 88 1F 01 D8 */ lbz r0, 0x1d8(r31) -/* 80266000 00262F60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80266004 00262F64 98 1F 01 D8 */ stb r0, 0x1d8(r31) -/* 80266008 00262F68 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8026600C 00262F6C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80266010 00262F70 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80266014 00262F74 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80266018 00262F78 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8026601C 00262F7C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80266020 00262F80 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80266024 00262F84 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80266028 00262F88 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8026602C 00262F8C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80266030 00262F90 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80266034 00262F94 7C 08 03 A6 */ mtlr r0 -/* 80266038 00262F98 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8026603C 00262F9C 4E 80 00 20 */ blr - -.global GetSearchPath__9CSeedlingFv -GetSearchPath__9CSeedlingFv: -/* 80266040 00262FA0 38 63 05 D8 */ addi r3, r3, 0x5d8 -/* 80266044 00262FA4 4E 80 00 20 */ blr - -.global sub_80266048 -sub_80266048: -/* 80266048 00262FA8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026604C 00262FAC 7C 08 02 A6 */ mflr r0 -/* 80266050 00262FB0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80266054 00262FB4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80266058 00262FB8 7C 9F 23 78 */ mr r31, r4 -/* 8026605C 00262FBC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80266060 00262FC0 7C 7E 1B 78 */ mr r30, r3 -/* 80266064 00262FC4 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80266068 00262FC8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8026606C 00262FCC 41 82 00 7C */ beq lbl_802660E8 -/* 80266070 00262FD0 80 AD 98 38 */ lwz r5, lbl_805A83F8@sda21(r13) -/* 80266074 00262FD4 38 60 00 00 */ li r3, 0 -/* 80266078 00262FD8 38 80 00 01 */ li r4, 1 -/* 8026607C 00262FDC 48 12 3E 79 */ bl __shl2i -/* 80266080 00262FE0 39 20 00 00 */ li r9, 0 -/* 80266084 00262FE4 38 00 00 03 */ li r0, 3 -/* 80266088 00262FE8 90 81 00 24 */ stw r4, 0x24(r1) -/* 8026608C 00262FEC 7F C5 F3 78 */ mr r5, r30 -/* 80266090 00262FF0 38 81 00 0C */ addi r4, r1, 0xc -/* 80266094 00262FF4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80266098 00262FF8 90 61 00 20 */ stw r3, 0x20(r1) -/* 8026609C 00262FFC 7F E3 FB 78 */ mr r3, r31 -/* 802660A0 00263000 38 FE 06 E8 */ addi r7, r30, 0x6e8 -/* 802660A4 00263004 39 01 00 20 */ addi r8, r1, 0x20 -/* 802660A8 00263008 91 21 00 2C */ stw r9, 0x2c(r1) -/* 802660AC 0026300C 91 21 00 28 */ stw r9, 0x28(r1) -/* 802660B0 00263010 90 01 00 30 */ stw r0, 0x30(r1) -/* 802660B4 00263014 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802660B8 00263018 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 802660BC 0026301C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802660C0 00263020 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802660C4 00263024 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802660C8 00263028 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802660CC 0026302C A0 1E 00 08 */ lhz r0, 8(r30) -/* 802660D0 00263030 B0 01 00 08 */ sth r0, 8(r1) -/* 802660D4 00263034 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802660D8 00263038 4B DE 2B D5 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -/* 802660DC 0026303C 7F C3 F3 78 */ mr r3, r30 -/* 802660E0 00263040 7F E4 FB 78 */ mr r4, r31 -/* 802660E4 00263044 48 00 01 99 */ bl sub_8026627c -lbl_802660E8: -/* 802660E8 00263048 7F C3 F3 78 */ mr r3, r30 -/* 802660EC 0026304C 7F E4 FB 78 */ mr r4, r31 -/* 802660F0 00263050 4B E1 4B F9 */ bl MassiveDeath__10CPatternedFR13CStateManager -/* 802660F4 00263054 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802660F8 00263058 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802660FC 0026305C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80266100 00263060 7C 08 03 A6 */ mtlr r0 -/* 80266104 00263064 38 21 00 40 */ addi r1, r1, 0x40 -/* 80266108 00263068 4E 80 00 20 */ blr - -.global Touch__9CSeedlingFR6CActorR13CStateManager -Touch__9CSeedlingFR6CActorR13CStateManager: -/* 8026610C 0026306C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80266110 00263070 7C 08 02 A6 */ mflr r0 -/* 80266114 00263074 90 01 00 24 */ stw r0, 0x24(r1) -/* 80266118 00263078 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026611C 0026307C 7C BF 2B 78 */ mr r31, r5 -/* 80266120 00263080 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80266124 00263084 7C 9E 23 78 */ mr r30, r4 -/* 80266128 00263088 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026612C 0026308C 7C 7D 1B 78 */ mr r29, r3 -/* 80266130 00263090 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80266134 00263094 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80266138 00263098 41 82 00 30 */ beq lbl_80266168 -/* 8026613C 0026309C 38 61 00 08 */ addi r3, r1, 8 -/* 80266140 002630A0 4B E4 62 C1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 80266144 002630A4 80 03 00 04 */ lwz r0, 4(r3) -/* 80266148 002630A8 28 00 00 00 */ cmplwi r0, 0 -/* 8026614C 002630AC 41 82 00 1C */ beq lbl_80266168 -/* 80266150 002630B0 7F A3 EB 78 */ mr r3, r29 -/* 80266154 002630B4 7F E4 FB 78 */ mr r4, r31 -/* 80266158 002630B8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8026615C 002630BC 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 80266160 002630C0 7D 89 03 A6 */ mtctr r12 -/* 80266164 002630C4 4E 80 04 21 */ bctrl -lbl_80266168: -/* 80266168 002630C8 7F A3 EB 78 */ mr r3, r29 -/* 8026616C 002630CC 7F C4 F3 78 */ mr r4, r30 -/* 80266170 002630D0 7F E5 FB 78 */ mr r5, r31 -/* 80266174 002630D4 4B E1 39 2D */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 80266178 002630D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026617C 002630DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80266180 002630E0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80266184 002630E4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80266188 002630E8 7C 08 03 A6 */ mtlr r0 -/* 8026618C 002630EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80266190 002630F0 4E 80 00 20 */ blr - -.global GetTouchBounds__9CSeedlingCFv -GetTouchBounds__9CSeedlingCFv: -/* 80266194 002630F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80266198 002630F8 7C 08 02 A6 */ mflr r0 -/* 8026619C 002630FC 7C 85 23 78 */ mr r5, r4 -/* 802661A0 00263100 90 01 00 34 */ stw r0, 0x34(r1) -/* 802661A4 00263104 38 85 07 04 */ addi r4, r5, 0x704 -/* 802661A8 00263108 38 A5 00 34 */ addi r5, r5, 0x34 -/* 802661AC 0026310C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802661B0 00263110 7C 7F 1B 78 */ mr r31, r3 -/* 802661B4 00263114 38 61 00 08 */ addi r3, r1, 8 -/* 802661B8 00263118 48 0D 17 45 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802661BC 0026311C 38 00 00 01 */ li r0, 1 -/* 802661C0 00263120 28 1F 00 00 */ cmplwi r31, 0 -/* 802661C4 00263124 98 1F 00 18 */ stb r0, 0x18(r31) -/* 802661C8 00263128 41 82 00 34 */ beq lbl_802661FC -/* 802661CC 0026312C C0 01 00 08 */ lfs f0, 8(r1) -/* 802661D0 00263130 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802661D4 00263134 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802661D8 00263138 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802661DC 0026313C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802661E0 00263140 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802661E4 00263144 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802661E8 00263148 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 802661EC 0026314C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802661F0 00263150 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 802661F4 00263154 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802661F8 00263158 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_802661FC: -/* 802661FC 0026315C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80266200 00263160 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80266204 00263164 7C 08 03 A6 */ mtlr r0 -/* 80266208 00263168 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026620C 0026316C 4E 80 00 20 */ blr - -.global ShouldAttack__9CSeedlingFR13CStateManagerf -ShouldAttack__9CSeedlingFR13CStateManagerf: -/* 80266210 00263170 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80266214 00263174 7C 08 02 A6 */ mflr r0 -/* 80266218 00263178 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) -/* 8026621C 0026317C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80266220 00263180 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80266224 00263184 3B E0 00 00 */ li r31, 0 -/* 80266228 00263188 C0 23 07 1C */ lfs f1, 0x71c(r3) -/* 8026622C 0026318C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266230 00263190 4C 40 13 82 */ cror 2, 0, 2 -/* 80266234 00263194 40 82 00 30 */ bne lbl_80266264 -/* 80266238 00263198 A0 03 00 08 */ lhz r0, 8(r3) -/* 8026623C 0026319C 7C 83 23 78 */ mr r3, r4 -/* 80266240 002631A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80266244 002631A4 38 A0 00 09 */ li r5, 9 -/* 80266248 002631A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8026624C 002631AC 38 C0 00 06 */ li r6, 6 -/* 80266250 002631B0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80266254 002631B4 4B DD F4 DD */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 80266258 002631B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026625C 002631BC 41 82 00 08 */ beq lbl_80266264 -/* 80266260 002631C0 3B E0 00 01 */ li r31, 1 -lbl_80266264: -/* 80266264 002631C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80266268 002631C8 7F E3 FB 78 */ mr r3, r31 -/* 8026626C 002631CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80266270 002631D0 7C 08 03 A6 */ mtlr r0 -/* 80266274 002631D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80266278 002631D8 4E 80 00 20 */ blr - -.global sub_8026627c -sub_8026627c: -/* 8026627C 002631DC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80266280 002631E0 7C 08 02 A6 */ mflr r0 -/* 80266284 002631E4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80266288 002631E8 38 00 00 06 */ li r0, 6 -/* 8026628C 002631EC BF 41 00 A8 */ stmw r26, 0xa8(r1) -/* 80266290 002631F0 7C 7D 1B 78 */ mr r29, r3 -/* 80266294 002631F4 3C 60 80 3D */ lis r3, lbl_803D52B0@ha -/* 80266298 002631F8 7C 9E 23 78 */ mr r30, r4 -/* 8026629C 002631FC 3B 63 52 B0 */ addi r27, r3, lbl_803D52B0@l -/* 802662A0 00263200 3B 81 00 10 */ addi r28, r1, 0x10 -/* 802662A4 00263204 3B E0 00 00 */ li r31, 0 -/* 802662A8 00263208 88 BD 07 22 */ lbz r5, 0x722(r29) -/* 802662AC 0026320C 54 A4 D7 FE */ rlwinm r4, r5, 0x1a, 0x1f, 0x1f -/* 802662B0 00263210 7C 64 00 D0 */ neg r3, r4 -/* 802662B4 00263214 7C 63 23 78 */ or r3, r3, r4 -/* 802662B8 00263218 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 802662BC 0026321C 7C 1A 18 78 */ andc r26, r0, r3 -lbl_802662C0: -/* 802662C0 00263220 7C 1F D2 14 */ add r0, r31, r26 -/* 802662C4 00263224 38 61 00 2C */ addi r3, r1, 0x2c -/* 802662C8 00263228 54 00 10 3A */ slwi r0, r0, 2 -/* 802662CC 0026322C 7C 9B 00 2E */ lwzx r4, r27, r0 -/* 802662D0 00263230 4B D9 E9 E9 */ bl string_l__4rstlFPCc -/* 802662D4 00263234 7F A4 EB 78 */ mr r4, r29 -/* 802662D8 00263238 38 61 00 3C */ addi r3, r1, 0x3c -/* 802662DC 0026323C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802662E0 00263240 4B E1 26 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802662E4 00263244 38 61 00 6C */ addi r3, r1, 0x6c -/* 802662E8 00263248 38 81 00 3C */ addi r4, r1, 0x3c -/* 802662EC 0026324C 48 0A C8 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802662F0 00263250 38 61 00 2C */ addi r3, r1, 0x2c -/* 802662F4 00263254 48 0D 77 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802662F8 00263258 38 00 00 00 */ li r0, 0 -/* 802662FC 0026325C A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 80266300 00263260 98 01 00 28 */ stb r0, 0x28(r1) -/* 80266304 00263264 7F A3 EB 78 */ mr r3, r29 -/* 80266308 00263268 7F C5 F3 78 */ mr r5, r30 -/* 8026630C 0026326C 38 81 00 6C */ addi r4, r1, 0x6c -/* 80266310 00263270 81 7D 00 64 */ lwz r11, 0x64(r29) -/* 80266314 00263274 39 21 00 1C */ addi r9, r1, 0x1c -/* 80266318 00263278 38 C0 00 06 */ li r6, 6 -/* 8026631C 0026327C 38 E0 00 00 */ li r7, 0 -/* 80266320 00263280 C0 0B 00 00 */ lfs f0, 0(r11) -/* 80266324 00263284 39 00 00 01 */ li r8, 1 -/* 80266328 00263288 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8026632C 0026328C C0 0B 00 04 */ lfs f0, 4(r11) -/* 80266330 00263290 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80266334 00263294 C0 0B 00 08 */ lfs f0, 8(r11) -/* 80266338 00263298 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8026633C 0026329C 90 01 00 08 */ stw r0, 8(r1) -/* 80266340 002632A0 93 81 00 0C */ stw r28, 0xc(r1) -/* 80266344 002632A4 4B E1 16 B5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 80266348 002632A8 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8026634C 002632AC 28 00 00 00 */ cmplwi r0, 0 -/* 80266350 002632B0 41 82 00 1C */ beq lbl_8026636C -/* 80266354 002632B4 34 61 00 1C */ addic. r3, r1, 0x1c -/* 80266358 002632B8 41 82 00 14 */ beq lbl_8026636C -/* 8026635C 002632BC 28 03 00 00 */ cmplwi r3, 0 -/* 80266360 002632C0 41 82 00 0C */ beq lbl_8026636C -/* 80266364 002632C4 38 80 00 00 */ li r4, 0 -/* 80266368 002632C8 48 0D AA D9 */ bl __dt__6CTokenFv -lbl_8026636C: -/* 8026636C 002632CC 3B FF 00 01 */ addi r31, r31, 1 -/* 80266370 002632D0 38 80 00 00 */ li r4, 0 -/* 80266374 002632D4 2C 1F 00 06 */ cmpwi r31, 6 -/* 80266378 002632D8 98 81 00 28 */ stb r4, 0x28(r1) -/* 8026637C 002632DC 41 80 FF 44 */ blt lbl_802662C0 -/* 80266380 002632E0 88 7D 07 22 */ lbz r3, 0x722(r29) -/* 80266384 002632E4 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 80266388 002632E8 7C 00 00 34 */ cntlzw r0, r0 -/* 8026638C 002632EC 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 -/* 80266390 002632F0 98 7D 07 22 */ stb r3, 0x722(r29) -/* 80266394 002632F4 88 1D 07 22 */ lbz r0, 0x722(r29) -/* 80266398 002632F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8026639C 002632FC 98 1D 07 22 */ stb r0, 0x722(r29) -/* 802663A0 00263300 BB 41 00 A8 */ lmw r26, 0xa8(r1) -/* 802663A4 00263304 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802663A8 00263308 7C 08 03 A6 */ mtlr r0 -/* 802663AC 0026330C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802663B0 00263310 4E 80 00 20 */ blr - -.global DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__9CSeedlingFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 802663B4 00263314 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802663B8 00263318 7C 08 02 A6 */ mflr r0 -/* 802663BC 0026331C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802663C0 00263320 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802663C4 00263324 FF E0 08 90 */ fmr f31, f1 -/* 802663C8 00263328 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802663CC 0026332C 7C DF 33 78 */ mr r31, r6 -/* 802663D0 00263330 2C 1F 00 11 */ cmpwi r31, 0x11 -/* 802663D4 00263334 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802663D8 00263338 7C BE 2B 78 */ mr r30, r5 -/* 802663DC 0026333C 38 A0 00 00 */ li r5, 0 -/* 802663E0 00263340 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802663E4 00263344 7C 9D 23 78 */ mr r29, r4 -/* 802663E8 00263348 93 81 00 08 */ stw r28, 8(r1) -/* 802663EC 0026334C 7C 7C 1B 78 */ mr r28, r3 -/* 802663F0 00263350 41 82 00 14 */ beq lbl_80266404 -/* 802663F4 00263354 40 80 00 30 */ bge lbl_80266424 -/* 802663F8 00263358 2C 1F 00 00 */ cmpwi r31, 0 -/* 802663FC 0026335C 41 82 00 20 */ beq lbl_8026641C -/* 80266400 00263360 48 00 00 24 */ b lbl_80266424 -lbl_80266404: -/* 80266404 00263364 88 1C 07 22 */ lbz r0, 0x722(r28) -/* 80266408 00263368 38 60 00 01 */ li r3, 1 -/* 8026640C 0026336C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80266410 00263370 38 A0 00 01 */ li r5, 1 -/* 80266414 00263374 98 1C 07 22 */ stb r0, 0x722(r28) -/* 80266418 00263378 48 00 00 0C */ b lbl_80266424 -lbl_8026641C: -/* 8026641C 0026337C 4B FF FE 61 */ bl sub_8026627c -/* 80266420 00263380 38 A0 00 01 */ li r5, 1 -lbl_80266424: -/* 80266424 00263384 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80266428 00263388 40 82 00 1C */ bne lbl_80266444 -/* 8026642C 0026338C FC 20 F8 90 */ fmr f1, f31 -/* 80266430 00263390 7F 83 E3 78 */ mr r3, r28 -/* 80266434 00263394 7F A4 EB 78 */ mr r4, r29 -/* 80266438 00263398 7F C5 F3 78 */ mr r5, r30 -/* 8026643C 0026339C 7F E6 FB 78 */ mr r6, r31 -/* 80266440 002633A0 4B E1 2A 71 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80266444: -/* 80266444 002633A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80266448 002633A8 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8026644C 002633AC 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80266450 002633B0 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80266454 002633B4 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80266458 002633B8 83 81 00 08 */ lwz r28, 8(r1) -/* 8026645C 002633BC 7C 08 03 A6 */ mtlr r0 -/* 80266460 002633C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80266464 002633C4 4E 80 00 20 */ blr - -.global GetProjectileInfo__9CSeedlingCF -GetProjectileInfo__9CSeedlingCF: -/* 80266468 002633C8 38 63 06 C0 */ addi r3, r3, 0x6c0 -/* 8026646C 002633CC 4E 80 00 20 */ blr - -.global Generate__9CSeedlingFR13CStateManager9EStateMsgf -Generate__9CSeedlingFR13CStateManager9EStateMsgf: -/* 80266470 002633D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80266474 002633D4 7C 08 02 A6 */ mflr r0 -/* 80266478 002633D8 2C 05 00 01 */ cmpwi r5, 1 -/* 8026647C 002633DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80266480 002633E0 41 82 00 2C */ beq lbl_802664AC -/* 80266484 002633E4 40 80 00 10 */ bge lbl_80266494 -/* 80266488 002633E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8026648C 002633EC 40 80 00 14 */ bge lbl_802664A0 -/* 80266490 002633F0 48 00 00 58 */ b lbl_802664E8 -lbl_80266494: -/* 80266494 002633F4 2C 05 00 03 */ cmpwi r5, 3 -/* 80266498 002633F8 40 80 00 50 */ bge lbl_802664E8 -/* 8026649C 002633FC 48 00 00 44 */ b lbl_802664E0 -lbl_802664A0: -/* 802664A0 00263400 38 00 00 01 */ li r0, 1 -/* 802664A4 00263404 90 03 03 2C */ stw r0, 0x32c(r3) -/* 802664A8 00263408 48 00 00 40 */ b lbl_802664E8 -lbl_802664AC: -/* 802664AC 0026340C 3C A0 80 3F */ lis r5, lbl_803E9E04@ha -/* 802664B0 00263410 38 C1 00 08 */ addi r6, r1, 8 -/* 802664B4 00263414 39 45 9E 04 */ addi r10, r5, lbl_803E9E04@l -/* 802664B8 00263418 38 A0 00 0C */ li r5, 0xc -/* 802664BC 0026341C 81 2A 00 00 */ lwz r9, 0(r10) -/* 802664C0 00263420 38 E0 00 00 */ li r7, 0 -/* 802664C4 00263424 81 0A 00 04 */ lwz r8, 4(r10) -/* 802664C8 00263428 80 0A 00 08 */ lwz r0, 8(r10) -/* 802664CC 0026342C 91 21 00 08 */ stw r9, 8(r1) -/* 802664D0 00263430 91 01 00 0C */ stw r8, 0xc(r1) -/* 802664D4 00263434 90 01 00 10 */ stw r0, 0x10(r1) -/* 802664D8 00263438 4B E1 62 DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802664DC 0026343C 48 00 00 0C */ b lbl_802664E8 -lbl_802664E0: -/* 802664E0 00263440 38 00 00 00 */ li r0, 0 -/* 802664E4 00263444 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_802664E8: -/* 802664E8 00263448 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802664EC 0026344C 7C 08 03 A6 */ mtlr r0 -/* 802664F0 00263450 38 21 00 20 */ addi r1, r1, 0x20 -/* 802664F4 00263454 4E 80 00 20 */ blr - -.global ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf -ProjectileAttack__9CSeedlingFR13CStateManager9EStateMsgf: -/* 802664F8 00263458 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802664FC 0026345C 7C 08 02 A6 */ mflr r0 -/* 80266500 00263460 2C 05 00 01 */ cmpwi r5, 1 -/* 80266504 00263464 90 01 00 24 */ stw r0, 0x24(r1) -/* 80266508 00263468 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026650C 0026346C 7C 7F 1B 78 */ mr r31, r3 -/* 80266510 00263470 41 82 00 2C */ beq lbl_8026653C -/* 80266514 00263474 40 80 00 10 */ bge lbl_80266524 -/* 80266518 00263478 2C 05 00 00 */ cmpwi r5, 0 -/* 8026651C 0026347C 40 80 00 14 */ bge lbl_80266530 -/* 80266520 00263480 48 00 00 70 */ b lbl_80266590 -lbl_80266524: -/* 80266524 00263484 2C 05 00 03 */ cmpwi r5, 3 -/* 80266528 00263488 40 80 00 68 */ bge lbl_80266590 -/* 8026652C 0026348C 48 00 00 44 */ b lbl_80266570 -lbl_80266530: -/* 80266530 00263490 38 00 00 01 */ li r0, 1 -/* 80266534 00263494 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80266538 00263498 48 00 00 58 */ b lbl_80266590 -lbl_8026653C: -/* 8026653C 0026349C 3C A0 80 3F */ lis r5, lbl_803E9DF8@ha -/* 80266540 002634A0 38 C1 00 08 */ addi r6, r1, 8 -/* 80266544 002634A4 39 45 9D F8 */ addi r10, r5, lbl_803E9DF8@l -/* 80266548 002634A8 38 A0 00 12 */ li r5, 0x12 -/* 8026654C 002634AC 81 2A 00 00 */ lwz r9, 0(r10) -/* 80266550 002634B0 38 E0 00 00 */ li r7, 0 -/* 80266554 002634B4 81 0A 00 04 */ lwz r8, 4(r10) -/* 80266558 002634B8 80 0A 00 08 */ lwz r0, 8(r10) -/* 8026655C 002634BC 91 21 00 08 */ stw r9, 8(r1) -/* 80266560 002634C0 91 01 00 0C */ stw r8, 0xc(r1) -/* 80266564 002634C4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80266568 002634C8 4B E1 62 4D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8026656C 002634CC 48 00 00 24 */ b lbl_80266590 -lbl_80266570: -/* 80266570 002634D0 38 00 00 00 */ li r0, 0 -/* 80266574 002634D4 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80266578 002634D8 80 64 09 00 */ lwz r3, 0x900(r4) -/* 8026657C 002634DC 48 0A BF 61 */ bl Float__9CRandom16Fv -/* 80266580 002634E0 C0 5F 03 08 */ lfs f2, 0x308(r31) -/* 80266584 002634E4 C0 1F 03 04 */ lfs f0, 0x304(r31) -/* 80266588 002634E8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8026658C 002634EC D0 1F 07 1C */ stfs f0, 0x71c(r31) -lbl_80266590: -/* 80266590 002634F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80266594 002634F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80266598 002634F8 7C 08 03 A6 */ mtlr r0 -/* 8026659C 002634FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802665A0 00263500 4E 80 00 20 */ blr - -.global Enraged__9CSeedlingFR13CStateManager9EStateMsgf -Enraged__9CSeedlingFR13CStateManager9EStateMsgf: -/* 802665A4 00263504 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802665A8 00263508 7C 08 02 A6 */ mflr r0 -/* 802665AC 0026350C 2C 05 00 00 */ cmpwi r5, 0 -/* 802665B0 00263510 90 01 00 14 */ stw r0, 0x14(r1) -/* 802665B4 00263514 41 82 00 0C */ beq lbl_802665C0 -/* 802665B8 00263518 41 80 00 14 */ blt lbl_802665CC -/* 802665BC 0026351C 48 00 00 10 */ b lbl_802665CC -lbl_802665C0: -/* 802665C0 00263520 80 63 04 50 */ lwz r3, 0x450(r3) -/* 802665C4 00263524 38 80 00 08 */ li r4, 8 -/* 802665C8 00263528 4B ED 44 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_802665CC: -/* 802665CC 0026352C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802665D0 00263530 7C 08 03 A6 */ mtlr r0 -/* 802665D4 00263534 38 21 00 10 */ addi r1, r1, 0x10 -/* 802665D8 00263538 4E 80 00 20 */ blr - -.global Active__9CSeedlingFR13CStateManager9EStateMsgf -Active__9CSeedlingFR13CStateManager9EStateMsgf: -/* 802665DC 0026353C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802665E0 00263540 7C 08 02 A6 */ mflr r0 -/* 802665E4 00263544 90 01 00 24 */ stw r0, 0x24(r1) -/* 802665E8 00263548 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802665EC 0026354C FF E0 08 90 */ fmr f31, f1 -/* 802665F0 00263550 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802665F4 00263554 7C BF 2B 79 */ or. r31, r5, r5 -/* 802665F8 00263558 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802665FC 0026355C 7C 9E 23 78 */ mr r30, r4 -/* 80266600 00263560 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80266604 00263564 7C 7D 1B 78 */ mr r29, r3 -/* 80266608 00263568 41 82 00 0C */ beq lbl_80266614 -/* 8026660C 0026356C 41 80 00 14 */ blt lbl_80266620 -/* 80266610 00263570 48 00 00 10 */ b lbl_80266620 -lbl_80266614: -/* 80266614 00263574 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80266618 00263578 38 80 00 02 */ li r4, 2 -/* 8026661C 0026357C 4B ED 43 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80266620: -/* 80266620 00263580 FC 20 F8 90 */ fmr f1, f31 -/* 80266624 00263584 7F A3 EB 78 */ mr r3, r29 -/* 80266628 00263588 7F C4 F3 78 */ mr r4, r30 -/* 8026662C 0026358C 7F E5 FB 78 */ mr r5, r31 -/* 80266630 00263590 4B F9 08 45 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 80266634 00263594 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80266638 00263598 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8026663C 0026359C 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80266640 002635A0 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80266644 002635A4 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80266648 002635A8 7C 08 03 A6 */ mtlr r0 -/* 8026664C 002635AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80266650 002635B0 4E 80 00 20 */ blr - -.global Patrol__9CSeedlingFR13CStateManager9EStateMsgf -Patrol__9CSeedlingFR13CStateManager9EStateMsgf: -/* 80266654 002635B4 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80266658 002635B8 7C 08 02 A6 */ mflr r0 -/* 8026665C 002635BC 2C 05 00 01 */ cmpwi r5, 1 -/* 80266660 002635C0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80266664 002635C4 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80266668 002635C8 7C 7F 1B 78 */ mr r31, r3 -/* 8026666C 002635CC 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80266670 002635D0 7C 9E 23 78 */ mr r30, r4 -/* 80266674 002635D4 41 82 00 C4 */ beq lbl_80266738 -/* 80266678 002635D8 40 80 00 10 */ bge lbl_80266688 -/* 8026667C 002635DC 2C 05 00 00 */ cmpwi r5, 0 -/* 80266680 002635E0 40 80 00 14 */ bge lbl_80266694 -/* 80266684 002635E4 48 00 02 90 */ b lbl_80266914 -lbl_80266688: -/* 80266688 002635E8 2C 05 00 03 */ cmpwi r5, 3 -/* 8026668C 002635EC 40 80 02 88 */ bge lbl_80266914 -/* 80266690 002635F0 48 00 02 7C */ b lbl_8026690C -lbl_80266694: -/* 80266694 002635F4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80266698 002635F8 38 80 00 01 */ li r4, 1 -/* 8026669C 002635FC 4B ED 43 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802666A0 00263600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 802666A4 00263604 38 60 00 01 */ li r3, 1 -/* 802666A8 00263608 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802666AC 0026360C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802666B0 00263610 98 1F 05 D6 */ stb r0, 0x5d6(r31) -/* 802666B4 00263614 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802666B8 00263618 38 60 00 00 */ li r3, 0 -/* 802666BC 0026361C C0 04 00 00 */ lfs f0, 0(r4) -/* 802666C0 00263620 D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 802666C4 00263624 C0 04 00 04 */ lfs f0, 4(r4) -/* 802666C8 00263628 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 802666CC 0026362C C0 04 00 08 */ lfs f0, 8(r4) -/* 802666D0 00263630 D0 1F 01 58 */ stfs f0, 0x158(r31) -/* 802666D4 00263634 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 802666D8 00263638 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802666DC 0026363C 98 1F 05 D6 */ stb r0, 0x5d6(r31) -/* 802666E0 00263640 88 1F 00 F8 */ lbz r0, 0xf8(r31) -/* 802666E4 00263644 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802666E8 00263648 98 1F 00 F8 */ stb r0, 0xf8(r31) -/* 802666EC 0026364C A0 7F 07 20 */ lhz r3, 0x720(r31) -/* 802666F0 00263650 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802666F4 00263654 7C 03 00 40 */ cmplw r3, r0 -/* 802666F8 00263658 41 82 00 0C */ beq lbl_80266704 -/* 802666FC 0026365C 38 7F 07 20 */ addi r3, r31, 0x720 -/* 80266700 00263660 48 00 00 20 */ b lbl_80266720 -lbl_80266704: -/* 80266704 00263664 7F E4 FB 78 */ mr r4, r31 -/* 80266708 00263668 7F C5 F3 78 */ mr r5, r30 -/* 8026670C 0026366C 38 61 00 08 */ addi r3, r1, 8 -/* 80266710 00263670 38 C0 00 0D */ li r6, 0xd -/* 80266714 00263674 38 E0 00 06 */ li r7, 6 -/* 80266718 00263678 4B F8 E8 81 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8026671C 0026367C 38 61 00 08 */ addi r3, r1, 8 -lbl_80266720: -/* 80266720 00263680 A0 63 00 00 */ lhz r3, 0(r3) -/* 80266724 00263684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80266728 00263688 7C 03 00 40 */ cmplw r3, r0 -/* 8026672C 0026368C 41 82 01 E8 */ beq lbl_80266914 -/* 80266730 00263690 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80266734 00263694 48 00 01 E0 */ b lbl_80266914 -lbl_80266738: -/* 80266738 00263698 48 00 1F B5 */ bl GotoNextWaypoint__11CWallWalkerFR13CStateManager -/* 8026673C 0026369C C0 5F 00 5C */ lfs f2, 0x5c(r31) -/* 80266740 002636A0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80266744 002636A4 C0 3F 00 4C */ lfs f1, 0x4c(r31) -/* 80266748 002636A8 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8026674C 002636AC D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80266750 002636B0 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80266754 002636B4 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80266758 002636B8 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 8026675C 002636BC C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80266760 002636C0 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) -/* 80266764 002636C4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80266768 002636C8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8026676C 002636CC C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 80266770 002636D0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80266774 002636D4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80266778 002636D8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8026677C 002636DC D0 81 00 64 */ stfs f4, 0x64(r1) -/* 80266780 002636E0 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80266784 002636E4 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80266788 002636E8 48 0A E1 71 */ bl Normalize__9CVector3fFv -/* 8026678C 002636EC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80266790 002636F0 38 81 00 60 */ addi r4, r1, 0x60 -/* 80266794 002636F4 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80266798 002636F8 48 00 2A 05 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f -/* 8026679C 002636FC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802667A0 00263700 C0 C1 00 48 */ lfs f6, 0x48(r1) -/* 802667A4 00263704 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 802667A8 00263708 C0 A1 00 4C */ lfs f5, 0x4c(r1) -/* 802667AC 0026370C C0 81 00 50 */ lfs f4, 0x50(r1) -/* 802667B0 00263710 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802667B4 00263714 C0 7E 00 00 */ lfs f3, 0(r30) -/* 802667B8 00263718 C0 5E 00 04 */ lfs f2, 4(r30) -/* 802667BC 0026371C C0 3E 00 08 */ lfs f1, 8(r30) -/* 802667C0 00263720 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) -/* 802667C4 00263724 D0 C1 00 B0 */ stfs f6, 0xb0(r1) -/* 802667C8 00263728 D0 A1 00 B4 */ stfs f5, 0xb4(r1) -/* 802667CC 0026372C D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 802667D0 00263730 D0 61 00 BC */ stfs f3, 0xbc(r1) -/* 802667D4 00263734 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 802667D8 00263738 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 802667DC 0026373C D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 802667E0 00263740 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802667E4 00263744 38 63 00 04 */ addi r3, r3, 4 -/* 802667E8 00263748 4B EC AF 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 802667EC 0026374C 7F E5 FB 78 */ mr r5, r31 -/* 802667F0 00263750 38 61 00 30 */ addi r3, r1, 0x30 -/* 802667F4 00263754 38 9F 04 5C */ addi r4, r31, 0x45c -/* 802667F8 00263758 38 DF 02 E0 */ addi r6, r31, 0x2e0 -/* 802667FC 0026375C 4B ED 84 25 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 80266800 00263760 38 61 00 3C */ addi r3, r1, 0x3c -/* 80266804 00263764 38 81 00 30 */ addi r4, r1, 0x30 -/* 80266808 00263768 38 A1 00 6C */ addi r5, r1, 0x6c -/* 8026680C 0026376C 48 00 29 91 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f -/* 80266810 00263770 C0 62 BA CC */ lfs f3, lbl_805AD7EC@sda21(r2) -/* 80266814 00263774 38 61 00 24 */ addi r3, r1, 0x24 -/* 80266818 00263778 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8026681C 0026377C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80266820 00263780 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80266824 00263784 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80266828 00263788 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8026682C 0026378C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80266830 00263790 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80266834 00263794 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80266838 00263798 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8026683C 0026379C D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80266840 002637A0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80266844 002637A4 48 00 29 59 */ bl ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f -/* 80266848 002637A8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8026684C 002637AC C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 80266850 002637B0 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 80266854 002637B4 38 81 00 94 */ addi r4, r1, 0x94 -/* 80266858 002637B8 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8026685C 002637BC C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 80266860 002637C0 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80266864 002637C4 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80266868 002637C8 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) -/* 8026686C 002637CC D0 C1 00 94 */ stfs f6, 0x94(r1) -/* 80266870 002637D0 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 80266874 002637D4 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 80266878 002637D8 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 8026687C 002637DC D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 80266880 002637E0 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80266884 002637E4 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80266888 002637E8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8026688C 002637EC 38 63 00 04 */ addi r3, r3, 4 -/* 80266890 002637F0 4B EC AE 89 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80266894 002637F4 C1 3F 00 58 */ lfs f9, 0x58(r31) -/* 80266898 002637F8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8026689C 002637FC C1 1F 00 48 */ lfs f8, 0x48(r31) -/* 802668A0 00263800 38 81 00 78 */ addi r4, r1, 0x78 -/* 802668A4 00263804 C0 02 BA CC */ lfs f0, lbl_805AD7EC@sda21(r2) -/* 802668A8 00263808 C0 BF 00 38 */ lfs f5, 0x38(r31) -/* 802668AC 0026380C EC E0 02 32 */ fmuls f7, f0, f8 -/* 802668B0 00263810 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 802668B4 00263814 EC C0 02 72 */ fmuls f6, f0, f9 -/* 802668B8 00263818 C0 5E 00 04 */ lfs f2, 4(r30) -/* 802668BC 0026381C EC 80 01 72 */ fmuls f4, f0, f5 -/* 802668C0 00263820 C0 3E 00 08 */ lfs f1, 8(r30) -/* 802668C4 00263824 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) -/* 802668C8 00263828 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 802668CC 0026382C D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 802668D0 00263830 D0 C1 00 80 */ stfs f6, 0x80(r1) -/* 802668D4 00263834 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802668D8 00263838 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802668DC 0026383C D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802668E0 00263840 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 802668E4 00263844 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802668E8 00263848 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802668EC 0026384C 38 63 00 04 */ addi r3, r3, 4 -/* 802668F0 00263850 D1 01 00 10 */ stfs f8, 0x10(r1) -/* 802668F4 00263854 D1 21 00 14 */ stfs f9, 0x14(r1) -/* 802668F8 00263858 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802668FC 0026385C D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 80266900 00263860 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 80266904 00263864 4B EC AE 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80266908 00263868 48 00 00 0C */ b lbl_80266914 -lbl_8026690C: -/* 8026690C 0026386C A0 1F 02 DC */ lhz r0, 0x2dc(r31) -/* 80266910 00263870 B0 1F 07 20 */ sth r0, 0x720(r31) -lbl_80266914: -/* 80266914 00263874 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80266918 00263878 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8026691C 0026387C 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80266920 00263880 7C 08 03 A6 */ mtlr r0 -/* 80266924 00263884 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80266928 00263888 4E 80 00 20 */ blr - -.global Think__9CSeedlingFfR13CStateManager -Think__9CSeedlingFfR13CStateManager: -/* 8026692C 0026388C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80266930 00263890 7C 08 02 A6 */ mflr r0 -/* 80266934 00263894 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80266938 00263898 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8026693C 0026389C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80266940 002638A0 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80266944 002638A4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80266948 002638A8 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8026694C 002638AC 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80266950 002638B0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80266954 002638B4 FF E0 08 90 */ fmr f31, f1 -/* 80266958 002638B8 7C 7E 1B 78 */ mr r30, r3 -/* 8026695C 002638BC 7C 9F 23 78 */ mr r31, r4 -/* 80266960 002638C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80266964 002638C4 41 82 02 68 */ beq lbl_80266BCC -/* 80266968 002638C8 A8 7E 05 D4 */ lha r3, 0x5d4(r30) -/* 8026696C 002638CC 38 C0 00 00 */ li r6, 0 -/* 80266970 002638D0 38 03 00 01 */ addi r0, r3, 1 -/* 80266974 002638D4 B0 1E 05 D4 */ sth r0, 0x5d4(r30) -/* 80266978 002638D8 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 8026697C 002638DC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 80266980 002638E0 98 1E 05 D6 */ stb r0, 0x5d6(r30) -/* 80266984 002638E4 80 BE 00 04 */ lwz r5, 4(r30) -/* 80266988 002638E8 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 8026698C 002638EC 54 A3 18 38 */ slwi r3, r5, 3 -/* 80266990 002638F0 90 A1 00 08 */ stw r5, 8(r1) -/* 80266994 002638F4 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80266998 002638F8 38 03 00 04 */ addi r0, r3, 4 -/* 8026699C 002638FC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802669A0 00263900 7C 64 00 2E */ lwzx r3, r4, r0 -/* 802669A4 00263904 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 802669A8 00263908 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802669AC 0026390C 41 82 00 0C */ beq lbl_802669B8 -/* 802669B0 00263910 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 802669B4 00263914 80 C3 10 DC */ lwz r6, 0x10dc(r3) -lbl_802669B8: -/* 802669B8 00263918 2C 06 00 01 */ cmpwi r6, 1 -/* 802669BC 0026391C 41 82 00 14 */ beq lbl_802669D0 -/* 802669C0 00263920 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 802669C4 00263924 38 60 00 01 */ li r3, 1 -/* 802669C8 00263928 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802669CC 0026392C 98 1E 05 D6 */ stb r0, 0x5d6(r30) -lbl_802669D0: -/* 802669D0 00263930 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 802669D4 00263934 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 802669D8 00263938 40 82 00 D4 */ bne lbl_80266AAC -/* 802669DC 0026393C 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 802669E0 00263940 38 61 00 58 */ addi r3, r1, 0x58 -/* 802669E4 00263944 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 802669E8 00263948 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 802669EC 0026394C C0 64 00 40 */ lfs f3, 0x40(r4) -/* 802669F0 00263950 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802669F4 00263954 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802669F8 00263958 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 802669FC 0026395C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80266A00 00263960 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 80266A04 00263964 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80266A08 00263968 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80266A0C 0026396C EC 25 08 28 */ fsubs f1, f5, f1 -/* 80266A10 00263970 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80266A14 00263974 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80266A18 00263978 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80266A1C 0026397C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80266A20 00263980 48 0A DE 99 */ bl Magnitude__9CVector3fCFv -/* 80266A24 00263984 FF C0 08 90 */ fmr f30, f1 -/* 80266A28 00263988 C0 1E 05 C4 */ lfs f0, 0x5c4(r30) -/* 80266A2C 0026398C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80266A30 00263990 40 81 00 7C */ ble lbl_80266AAC -/* 80266A34 00263994 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80266A38 00263998 38 61 00 4C */ addi r3, r1, 0x4c -/* 80266A3C 0026399C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80266A40 002639A0 38 81 00 40 */ addi r4, r1, 0x40 -/* 80266A44 002639A4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80266A48 002639A8 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 80266A4C 002639AC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80266A50 002639B0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80266A54 002639B4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80266A58 002639B8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80266A5C 002639BC D0 81 00 44 */ stfs f4, 0x44(r1) -/* 80266A60 002639C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80266A64 002639C4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80266A68 002639C8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80266A6C 002639CC 48 0A DD E5 */ bl AsNormalized__9CVector3fCFv -/* 80266A70 002639D0 FC 20 F0 90 */ fmr f1, f30 -/* 80266A74 002639D4 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 80266A78 002639D8 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l -/* 80266A7C 002639DC 7F E4 FB 78 */ mr r4, r31 -/* 80266A80 002639E0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80266A84 002639E4 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80266A88 002639E8 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80266A8C 002639EC 4B DE 65 0D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80266A90 002639F0 88 01 00 90 */ lbz r0, 0x90(r1) -/* 80266A94 002639F4 28 00 00 00 */ cmplwi r0, 0 -/* 80266A98 002639F8 41 82 00 14 */ beq lbl_80266AAC -/* 80266A9C 002639FC 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 80266AA0 00263A00 38 60 00 01 */ li r3, 1 -/* 80266AA4 00263A04 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80266AA8 00263A08 98 1E 05 D6 */ stb r0, 0x5d6(r30) -lbl_80266AAC: -/* 80266AAC 00263A0C 88 7E 05 D6 */ lbz r3, 0x5d6(r30) -/* 80266AB0 00263A10 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80266AB4 00263A14 41 82 00 18 */ beq lbl_80266ACC -/* 80266AB8 00263A18 88 1E 00 F8 */ lbz r0, 0xf8(r30) -/* 80266ABC 00263A1C 38 60 00 00 */ li r3, 0 -/* 80266AC0 00263A20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80266AC4 00263A24 98 1E 00 F8 */ stb r0, 0xf8(r30) -/* 80266AC8 00263A28 48 00 01 04 */ b lbl_80266BCC -lbl_80266ACC: -/* 80266ACC 00263A2C 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f -/* 80266AD0 00263A30 88 1E 00 F8 */ lbz r0, 0xf8(r30) -/* 80266AD4 00263A34 7C 63 00 34 */ cntlzw r3, r3 -/* 80266AD8 00263A38 FC 20 F8 90 */ fmr f1, f31 -/* 80266ADC 00263A3C 54 64 DE 3E */ rlwinm r4, r3, 0x1b, 0x18, 0x1f -/* 80266AE0 00263A40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80266AE4 00263A44 7F C3 F3 78 */ mr r3, r30 -/* 80266AE8 00263A48 98 1E 00 F8 */ stb r0, 0xf8(r30) -/* 80266AEC 00263A4C 7F E4 FB 78 */ mr r4, r31 -/* 80266AF0 00263A50 48 00 1A 7D */ bl Think__11CWallWalkerFfR13CStateManager -/* 80266AF4 00263A54 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 80266AF8 00263A58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80266AFC 00263A5C 40 82 00 B8 */ bne lbl_80266BB4 -/* 80266B00 00263A60 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80266B04 00263A64 4B ED 35 C9 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80266B08 00263A68 C0 42 BA C8 */ lfs f2, lbl_805AD7E8@sda21(r2) -/* 80266B0C 00263A6C C0 02 BA D0 */ lfs f0, lbl_805AD7F0@sda21(r2) -/* 80266B10 00263A70 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80266B14 00263A74 FC 20 0A 10 */ fabs f1, f1 -/* 80266B18 00263A78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266B1C 00263A7C 40 80 00 98 */ bge lbl_80266BB4 -/* 80266B20 00263A80 88 1E 05 D6 */ lbz r0, 0x5d6(r30) -/* 80266B24 00263A84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80266B28 00263A88 41 82 00 8C */ beq lbl_80266BB4 -/* 80266B2C 00263A8C C0 7E 01 3C */ lfs f3, 0x13c(r30) -/* 80266B30 00263A90 FC 40 F8 90 */ fmr f2, f31 -/* 80266B34 00263A94 C0 1E 01 40 */ lfs f0, 0x140(r30) -/* 80266B38 00263A98 7F C3 F3 78 */ mr r3, r30 -/* 80266B3C 00263A9C C0 3E 01 38 */ lfs f1, 0x138(r30) -/* 80266B40 00263AA0 EC DF 00 F2 */ fmuls f6, f31, f3 -/* 80266B44 00263AA4 EC BF 00 32 */ fmuls f5, f31, f0 -/* 80266B48 00263AA8 C0 02 BA D4 */ lfs f0, lbl_805AD7F4@sda21(r2) -/* 80266B4C 00263AAC EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80266B50 00263AB0 C1 9E 00 60 */ lfs f12, 0x60(r30) -/* 80266B54 00263AB4 7F E4 FB 78 */ mr r4, r31 -/* 80266B58 00263AB8 EC E0 01 72 */ fmuls f7, f0, f5 -/* 80266B5C 00263ABC ED 00 01 B2 */ fmuls f8, f0, f6 -/* 80266B60 00263AC0 C1 7E 00 50 */ lfs f11, 0x50(r30) -/* 80266B64 00263AC4 EC 80 00 72 */ fmuls f4, f0, f1 -/* 80266B68 00263AC8 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80266B6C 00263ACC ED 2C 38 2A */ fadds f9, f12, f7 -/* 80266B70 00263AD0 ED 4B 40 2A */ fadds f10, f11, f8 -/* 80266B74 00263AD4 EC 03 20 2A */ fadds f0, f3, f4 -/* 80266B78 00263AD8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80266B7C 00263ADC 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80266B80 00263AE0 D1 41 00 38 */ stfs f10, 0x38(r1) -/* 80266B84 00263AE4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80266B88 00263AE8 D1 21 00 3C */ stfs f9, 0x3c(r1) -/* 80266B8C 00263AEC D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 80266B90 00263AF0 C0 3E 05 AC */ lfs f1, 0x5ac(r30) -/* 80266B94 00263AF4 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80266B98 00263AF8 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80266B9C 00263AFC D1 01 00 20 */ stfs f8, 0x20(r1) -/* 80266BA0 00263B00 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80266BA4 00263B04 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80266BA8 00263B08 D1 61 00 2C */ stfs f11, 0x2c(r1) -/* 80266BAC 00263B0C D1 81 00 30 */ stfs f12, 0x30(r1) -/* 80266BB0 00263B10 48 00 1E 99 */ bl AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff -lbl_80266BB4: -/* 80266BB4 00263B14 C0 3E 07 1C */ lfs f1, 0x71c(r30) -/* 80266BB8 00263B18 C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) -/* 80266BBC 00263B1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266BC0 00263B20 40 81 00 0C */ ble lbl_80266BCC -/* 80266BC4 00263B24 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80266BC8 00263B28 D0 1E 07 1C */ stfs f0, 0x71c(r30) -lbl_80266BCC: -/* 80266BCC 00263B2C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80266BD0 00263B30 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80266BD4 00263B34 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80266BD8 00263B38 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80266BDC 00263B3C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80266BE0 00263B40 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80266BE4 00263B44 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80266BE8 00263B48 7C 08 03 A6 */ mtlr r0 -/* 80266BEC 00263B4C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80266BF0 00263B50 4E 80 00 20 */ blr - -.global Render__9CSeedlingCFRC13CStateManager -Render__9CSeedlingCFRC13CStateManager: -/* 80266BF4 00263B54 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80266BF8 00263B58 7C 08 02 A6 */ mflr r0 -/* 80266BFC 00263B5C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80266C00 00263B60 BF 21 00 84 */ stmw r25, 0x84(r1) -/* 80266C04 00263B64 7C 7E 1B 78 */ mr r30, r3 -/* 80266C08 00263B68 7C 9F 23 78 */ mr r31, r4 -/* 80266C0C 00263B6C 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80266C10 00263B70 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80266C14 00263B74 41 82 00 E8 */ beq lbl_80266CFC -/* 80266C18 00263B78 80 1E 06 BC */ lwz r0, 0x6bc(r30) -/* 80266C1C 00263B7C 28 00 00 00 */ cmplwi r0, 0 -/* 80266C20 00263B80 41 82 00 DC */ beq lbl_80266CFC -/* 80266C24 00263B84 88 1E 07 22 */ lbz r0, 0x722(r30) -/* 80266C28 00263B88 54 05 CF FF */ rlwinm. r5, r0, 0x19, 0x1f, 0x1f -/* 80266C2C 00263B8C 41 82 00 0C */ beq lbl_80266C38 -/* 80266C30 00263B90 3B 60 00 00 */ li r27, 0 -/* 80266C34 00263B94 48 00 00 1C */ b lbl_80266C50 -lbl_80266C38: -/* 80266C38 00263B98 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f -/* 80266C3C 00263B9C 38 00 00 06 */ li r0, 6 -/* 80266C40 00263BA0 7C 64 00 D0 */ neg r3, r4 -/* 80266C44 00263BA4 7C 63 23 78 */ or r3, r3, r4 -/* 80266C48 00263BA8 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 80266C4C 00263BAC 7C 1B 18 38 */ and r27, r0, r3 -lbl_80266C50: -/* 80266C50 00263BB0 28 05 00 00 */ cmplwi r5, 0 -/* 80266C54 00263BB4 3B 80 00 06 */ li r28, 6 -/* 80266C58 00263BB8 41 82 00 08 */ beq lbl_80266C60 -/* 80266C5C 00263BBC 3B 80 00 0C */ li r28, 0xc -lbl_80266C60: -/* 80266C60 00263BC0 3C 60 80 3D */ lis r3, lbl_803D52B0@ha -/* 80266C64 00263BC4 3B 41 00 0C */ addi r26, r1, 0xc -/* 80266C68 00263BC8 3B A3 52 B0 */ addi r29, r3, lbl_803D52B0@l -/* 80266C6C 00263BCC 3B 20 00 00 */ li r25, 0 -/* 80266C70 00263BD0 48 00 00 84 */ b lbl_80266CF4 -lbl_80266C74: -/* 80266C74 00263BD4 7C 19 DA 14 */ add r0, r25, r27 -/* 80266C78 00263BD8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80266C7C 00263BDC 54 00 10 3A */ slwi r0, r0, 2 -/* 80266C80 00263BE0 7C 9D 00 2E */ lwzx r4, r29, r0 -/* 80266C84 00263BE4 4B D9 E0 35 */ bl string_l__4rstlFPCc -/* 80266C88 00263BE8 7F C4 F3 78 */ mr r4, r30 -/* 80266C8C 00263BEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80266C90 00263BF0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80266C94 00263BF4 4B E1 1C E5 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80266C98 00263BF8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80266C9C 00263BFC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80266CA0 00263C00 48 0A BE D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80266CA4 00263C04 38 61 00 10 */ addi r3, r1, 0x10 -/* 80266CA8 00263C08 48 0D 6E 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80266CAC 00263C0C C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) -/* 80266CB0 00263C10 38 80 00 00 */ li r4, 0 -/* 80266CB4 00263C14 38 00 00 03 */ li r0, 3 -/* 80266CB8 00263C18 98 81 00 08 */ stb r4, 8(r1) -/* 80266CBC 00263C1C FC 40 08 90 */ fmr f2, f1 -/* 80266CC0 00263C20 7F 43 D3 78 */ mr r3, r26 -/* 80266CC4 00263C24 FC 60 08 90 */ fmr f3, f1 -/* 80266CC8 00263C28 98 81 00 09 */ stb r4, 9(r1) -/* 80266CCC 00263C2C FC 80 08 90 */ fmr f4, f1 -/* 80266CD0 00263C30 B0 01 00 0A */ sth r0, 0xa(r1) -/* 80266CD4 00263C34 48 0F C7 19 */ bl __ct__6CColorFffff -/* 80266CD8 00263C38 80 7E 06 BC */ lwz r3, 0x6bc(r30) -/* 80266CDC 00263C3C 7F E4 FB 78 */ mr r4, r31 -/* 80266CE0 00263C40 80 DE 00 90 */ lwz r6, 0x90(r30) -/* 80266CE4 00263C44 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80266CE8 00263C48 38 E1 00 08 */ addi r7, r1, 8 -/* 80266CEC 00263C4C 4B EA E0 D1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80266CF0 00263C50 3B 39 00 01 */ addi r25, r25, 1 -lbl_80266CF4: -/* 80266CF4 00263C54 7C 19 E0 00 */ cmpw r25, r28 -/* 80266CF8 00263C58 41 80 FF 7C */ blt lbl_80266C74 -lbl_80266CFC: -/* 80266CFC 00263C5C 7F C3 F3 78 */ mr r3, r30 -/* 80266D00 00263C60 7F E4 FB 78 */ mr r4, r31 -/* 80266D04 00263C64 48 00 19 C9 */ bl Render__11CWallWalkerCFRC13CStateManager -/* 80266D08 00263C68 BB 21 00 84 */ lmw r25, 0x84(r1) -/* 80266D0C 00263C6C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80266D10 00263C70 7C 08 03 A6 */ mtlr r0 -/* 80266D14 00263C74 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80266D18 00263C78 4E 80 00 20 */ blr - -.global AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__9CSeedlingF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80266D1C 00263C7C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80266D20 00263C80 7C 08 02 A6 */ mflr r0 -/* 80266D24 00263C84 90 01 00 44 */ stw r0, 0x44(r1) -/* 80266D28 00263C88 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80266D2C 00263C8C 7C 7F 1B 78 */ mr r31, r3 -/* 80266D30 00263C90 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80266D34 00263C94 7C DE 33 78 */ mr r30, r6 -/* 80266D38 00263C98 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80266D3C 00263C9C 7C 9D 23 78 */ mr r29, r4 -/* 80266D40 00263CA0 A0 05 00 00 */ lhz r0, 0(r5) -/* 80266D44 00263CA4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80266D48 00263CA8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80266D4C 00263CAC 4B E1 5E 2D */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80266D50 00263CB0 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 80266D54 00263CB4 41 82 00 20 */ beq lbl_80266D74 -/* 80266D58 00263CB8 40 80 00 10 */ bge lbl_80266D68 -/* 80266D5C 00263CBC 2C 1D 00 01 */ cmpwi r29, 1 -/* 80266D60 00263CC0 41 82 00 90 */ beq lbl_80266DF0 -/* 80266D64 00263CC4 48 00 00 C8 */ b lbl_80266E2C -lbl_80266D68: -/* 80266D68 00263CC8 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 80266D6C 00263CCC 41 82 00 54 */ beq lbl_80266DC0 -/* 80266D70 00263CD0 48 00 00 BC */ b lbl_80266E2C -lbl_80266D74: -/* 80266D74 00263CD4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80266D78 00263CD8 7F C4 F3 78 */ mr r4, r30 -/* 80266D7C 00263CDC 4B ED 3F 75 */ bl Activate__15CBodyControllerFR13CStateManager -/* 80266D80 00263CE0 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80266D84 00263CE4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80266D88 00263CE8 4B EA E8 3D */ bl GetBounds__10CModelDataCFv -/* 80266D8C 00263CEC 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80266D90 00263CF0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80266D94 00263CF4 90 7F 07 04 */ stw r3, 0x704(r31) -/* 80266D98 00263CF8 90 1F 07 08 */ stw r0, 0x708(r31) -/* 80266D9C 00263CFC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80266DA0 00263D00 90 1F 07 0C */ stw r0, 0x70c(r31) -/* 80266DA4 00263D04 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80266DA8 00263D08 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80266DAC 00263D0C 90 7F 07 10 */ stw r3, 0x710(r31) -/* 80266DB0 00263D10 90 1F 07 14 */ stw r0, 0x714(r31) -/* 80266DB4 00263D14 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80266DB8 00263D18 90 1F 07 18 */ stw r0, 0x718(r31) -/* 80266DBC 00263D1C 48 00 00 70 */ b lbl_80266E2C -lbl_80266DC0: -/* 80266DC0 00263D20 80 BF 00 04 */ lwz r5, 4(r31) -/* 80266DC4 00263D24 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 80266DC8 00263D28 54 A3 18 38 */ slwi r3, r5, 3 -/* 80266DCC 00263D2C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80266DD0 00263D30 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80266DD4 00263D34 38 03 00 04 */ addi r0, r3, 4 -/* 80266DD8 00263D38 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80266DDC 00263D3C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80266DE0 00263D40 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80266DE4 00263D44 80 03 10 BC */ lwz r0, 0x10bc(r3) -/* 80266DE8 00263D48 90 1F 05 D8 */ stw r0, 0x5d8(r31) -/* 80266DEC 00263D4C 48 00 00 40 */ b lbl_80266E2C -lbl_80266DF0: -/* 80266DF0 00263D50 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 80266DF4 00263D54 38 60 00 00 */ li r3, 0 -/* 80266DF8 00263D58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80266DFC 00263D5C 7F E4 FB 78 */ mr r4, r31 -/* 80266E00 00263D60 98 1F 05 D6 */ stb r0, 0x5d6(r31) -/* 80266E04 00263D64 7F C5 F3 78 */ mr r5, r30 -/* 80266E08 00263D68 38 61 00 08 */ addi r3, r1, 8 -/* 80266E0C 00263D6C 38 C0 00 0D */ li r6, 0xd -/* 80266E10 00263D70 38 E0 00 06 */ li r7, 6 -/* 80266E14 00263D74 4B F8 E1 85 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80266E18 00263D78 A0 61 00 08 */ lhz r3, 8(r1) -/* 80266E1C 00263D7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80266E20 00263D80 7C 03 00 40 */ cmplw r3, r0 -/* 80266E24 00263D84 41 82 00 08 */ beq lbl_80266E2C -/* 80266E28 00263D88 B0 7F 02 DC */ sth r3, 0x2dc(r31) -lbl_80266E2C: -/* 80266E2C 00263D8C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80266E30 00263D90 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80266E34 00263D94 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80266E38 00263D98 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80266E3C 00263D9C 7C 08 03 A6 */ mtlr r0 -/* 80266E40 00263DA0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80266E44 00263DA4 4E 80 00 20 */ blr - -.global __dt__9CSeedlingFv -__dt__9CSeedlingFv: -/* 80266E48 00263DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266E4C 00263DAC 7C 08 02 A6 */ mflr r0 -/* 80266E50 00263DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80266E54 00263DB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80266E58 00263DB8 7C 9F 23 78 */ mr r31, r4 -/* 80266E5C 00263DBC 93 C1 00 08 */ stw r30, 8(r1) -/* 80266E60 00263DC0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80266E64 00263DC4 41 82 00 C8 */ beq lbl_80266F2C -/* 80266E68 00263DC8 3C 60 80 3F */ lis r3, lbl_803E9E10@ha -/* 80266E6C 00263DCC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 -/* 80266E70 00263DD0 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l -/* 80266E74 00263DD4 90 1E 00 00 */ stw r0, 0(r30) -/* 80266E78 00263DD8 41 82 00 20 */ beq lbl_80266E98 -/* 80266E7C 00263DDC 34 1E 06 C0 */ addic. r0, r30, 0x6c0 -/* 80266E80 00263DE0 41 82 00 18 */ beq lbl_80266E98 -/* 80266E84 00263DE4 34 1E 06 C0 */ addic. r0, r30, 0x6c0 -/* 80266E88 00263DE8 41 82 00 10 */ beq lbl_80266E98 -/* 80266E8C 00263DEC 38 7E 06 C0 */ addi r3, r30, 0x6c0 -/* 80266E90 00263DF0 38 80 00 00 */ li r4, 0 -/* 80266E94 00263DF4 48 0D 9F AD */ bl __dt__6CTokenFv -lbl_80266E98: -/* 80266E98 00263DF8 34 1E 06 BC */ addic. r0, r30, 0x6bc -/* 80266E9C 00263DFC 41 82 00 10 */ beq lbl_80266EAC -/* 80266EA0 00263E00 80 7E 06 BC */ lwz r3, 0x6bc(r30) -/* 80266EA4 00263E04 38 80 00 01 */ li r4, 1 -/* 80266EA8 00263E08 4B EA FB A5 */ bl __dt__10CModelDataFv -lbl_80266EAC: -/* 80266EAC 00263E0C 34 1E 05 D8 */ addic. r0, r30, 0x5d8 -/* 80266EB0 00263E10 41 82 00 60 */ beq lbl_80266F10 -/* 80266EB4 00263E14 34 1E 05 DC */ addic. r0, r30, 0x5dc -/* 80266EB8 00263E18 41 82 00 58 */ beq lbl_80266F10 -/* 80266EBC 00263E1C 80 BE 05 DC */ lwz r5, 0x5dc(r30) -/* 80266EC0 00263E20 38 60 00 00 */ li r3, 0 -/* 80266EC4 00263E24 2C 05 00 00 */ cmpwi r5, 0 -/* 80266EC8 00263E28 40 81 00 40 */ ble lbl_80266F08 -/* 80266ECC 00263E2C 2C 05 00 08 */ cmpwi r5, 8 -/* 80266ED0 00263E30 38 85 FF F8 */ addi r4, r5, -8 -/* 80266ED4 00263E34 40 81 00 20 */ ble lbl_80266EF4 -/* 80266ED8 00263E38 38 04 00 07 */ addi r0, r4, 7 -/* 80266EDC 00263E3C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80266EE0 00263E40 7C 09 03 A6 */ mtctr r0 -/* 80266EE4 00263E44 2C 04 00 00 */ cmpwi r4, 0 -/* 80266EE8 00263E48 40 81 00 0C */ ble lbl_80266EF4 -lbl_80266EEC: -/* 80266EEC 00263E4C 38 63 00 08 */ addi r3, r3, 8 -/* 80266EF0 00263E50 42 00 FF FC */ bdnz lbl_80266EEC -lbl_80266EF4: -/* 80266EF4 00263E54 7C 03 28 50 */ subf r0, r3, r5 -/* 80266EF8 00263E58 7C 09 03 A6 */ mtctr r0 -/* 80266EFC 00263E5C 7C 03 28 00 */ cmpw r3, r5 -/* 80266F00 00263E60 40 80 00 08 */ bge lbl_80266F08 -lbl_80266F04: -/* 80266F04 00263E64 42 00 00 00 */ bdnz lbl_80266F04 -lbl_80266F08: -/* 80266F08 00263E68 38 00 00 00 */ li r0, 0 -/* 80266F0C 00263E6C 90 1E 05 DC */ stw r0, 0x5dc(r30) -lbl_80266F10: -/* 80266F10 00263E70 7F C3 F3 78 */ mr r3, r30 -/* 80266F14 00263E74 38 80 00 00 */ li r4, 0 -/* 80266F18 00263E78 4B EE FB 5D */ bl __dt__11CWallWalkerFv -/* 80266F1C 00263E7C 7F E0 07 35 */ extsh. r0, r31 -/* 80266F20 00263E80 40 81 00 0C */ ble lbl_80266F2C -/* 80266F24 00263E84 7F C3 F3 78 */ mr r3, r30 -/* 80266F28 00263E88 48 0A EA 09 */ bl Free__7CMemoryFPCv -lbl_80266F2C: -/* 80266F2C 00263E8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266F30 00263E90 7F C3 F3 78 */ mr r3, r30 -/* 80266F34 00263E94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80266F38 00263E98 83 C1 00 08 */ lwz r30, 8(r1) -/* 80266F3C 00263E9C 7C 08 03 A6 */ mtlr r0 -/* 80266F40 00263EA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266F44 00263EA4 4E 80 00 20 */ blr - -.global __ct__9CSeedlingF -__ct__9CSeedlingF: -/* 80266F48 00263EA8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80266F4C 00263EAC 7C 08 02 A6 */ mflr r0 -/* 80266F50 00263EB0 FC 00 08 90 */ fmr f0, f1 -/* 80266F54 00263EB4 7C CC 33 78 */ mr r12, r6 -/* 80266F58 00263EB8 90 01 00 74 */ stw r0, 0x74(r1) -/* 80266F5C 00263EBC FC 20 18 90 */ fmr f1, f3 -/* 80266F60 00263EC0 7C A6 2B 78 */ mr r6, r5 -/* 80266F64 00263EC4 39 60 00 00 */ li r11, 0 -/* 80266F68 00263EC8 BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80266F6C 00263ECC 7D 39 4B 78 */ mr r25, r9 -/* 80266F70 00263ED0 7D 1B 43 78 */ mr r27, r8 -/* 80266F74 00263ED4 7C E9 3B 78 */ mr r9, r7 -/* 80266F78 00263ED8 FC 60 00 90 */ fmr f3, f0 -/* 80266F7C 00263EDC 83 81 00 78 */ lwz r28, 0x78(r1) -/* 80266F80 00263EE0 83 A1 00 7C */ lwz r29, 0x7c(r1) -/* 80266F84 00263EE4 7C 7A 1B 78 */ mr r26, r3 -/* 80266F88 00263EE8 83 C1 00 80 */ lwz r30, 0x80(r1) -/* 80266F8C 00263EEC 7D 88 63 78 */ mr r8, r12 -/* 80266F90 00263EF0 83 E1 00 84 */ lwz r31, 0x84(r1) -/* 80266F94 00263EF4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80266F98 00263EF8 38 E0 00 00 */ li r7, 0 -/* 80266F9C 00263EFC A0 04 00 00 */ lhz r0, 0(r4) -/* 80266FA0 00263F00 38 80 00 06 */ li r4, 6 -/* 80266FA4 00263F04 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80266FA8 00263F08 38 00 00 01 */ li r0, 1 -/* 80266FAC 00263F0C 93 21 00 08 */ stw r25, 8(r1) -/* 80266FB0 00263F10 90 01 00 0C */ stw r0, 0xc(r1) -/* 80266FB4 00263F14 38 00 00 04 */ li r0, 4 -/* 80266FB8 00263F18 91 61 00 10 */ stw r11, 0x10(r1) -/* 80266FBC 00263F1C 90 81 00 14 */ stw r4, 0x14(r1) -/* 80266FC0 00263F20 38 80 00 20 */ li r4, 0x20 -/* 80266FC4 00263F24 91 41 00 18 */ stw r10, 0x18(r1) -/* 80266FC8 00263F28 7F 6A DB 78 */ mr r10, r27 -/* 80266FCC 00263F2C 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80266FD0 00263F30 90 01 00 20 */ stw r0, 0x20(r1) -/* 80266FD4 00263F34 91 61 00 24 */ stw r11, 0x24(r1) -/* 80266FD8 00263F38 48 00 22 89 */ bl "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" -/* 80266FDC 00263F3C 3C 60 80 3F */ lis r3, lbl_803E9E10@ha -/* 80266FE0 00263F40 C0 22 BA CC */ lfs f1, lbl_805AD7EC@sda21(r2) -/* 80266FE4 00263F44 38 03 9E 10 */ addi r0, r3, lbl_803E9E10@l -/* 80266FE8 00263F48 38 7A 05 D8 */ addi r3, r26, 0x5d8 -/* 80266FEC 00263F4C 90 1A 00 00 */ stw r0, 0(r26) -/* 80266FF0 00263F50 FC 40 08 90 */ fmr f2, f1 -/* 80266FF4 00263F54 38 80 00 00 */ li r4, 0 -/* 80266FF8 00263F58 38 A0 00 01 */ li r5, 1 -/* 80266FFC 00263F5C 80 D9 01 0C */ lwz r6, 0x10c(r25) -/* 80267000 00263F60 4B F6 1D 95 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 80267004 00263F64 3C 80 80 3D */ lis r4, lbl_803D52E0@ha -/* 80267008 00263F68 38 60 00 4C */ li r3, 0x4c -/* 8026700C 00263F6C 38 84 52 E0 */ addi r4, r4, lbl_803D52E0@l -/* 80267010 00263F70 38 A0 00 00 */ li r5, 0 -/* 80267014 00263F74 38 84 00 D8 */ addi r4, r4, 0xd8 -/* 80267018 00263F78 48 0A E8 55 */ bl __nw__FUlPCcPCc -/* 8026701C 00263F7C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80267020 00263F80 41 82 00 3C */ beq lbl_8026705C -/* 80267024 00263F84 C0 5B 00 00 */ lfs f2, 0(r27) -/* 80267028 00263F88 38 81 00 2C */ addi r4, r1, 0x2c -/* 8026702C 00263F8C 80 1C 00 00 */ lwz r0, 0(r28) -/* 80267030 00263F90 C0 3B 00 04 */ lfs f1, 4(r27) -/* 80267034 00263F94 C0 1B 00 08 */ lfs f0, 8(r27) -/* 80267038 00263F98 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8026703C 00263F9C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80267040 00263FA0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80267044 00263FA4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80267048 00263FA8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8026704C 00263FAC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80267050 00263FB0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80267054 00263FB4 4B EA FD 09 */ bl __ct__10CModelDataFRC10CStaticRes -/* 80267058 00263FB8 7C 60 1B 78 */ mr r0, r3 -lbl_8026705C: -/* 8026705C 00263FBC 90 1A 06 BC */ stw r0, 0x6bc(r26) -/* 80267060 00263FC0 7F C5 F3 78 */ mr r5, r30 -/* 80267064 00263FC4 38 7A 06 C0 */ addi r3, r26, 0x6c0 -/* 80267068 00263FC8 80 9D 00 00 */ lwz r4, 0(r29) -/* 8026706C 00263FCC 4B FB 50 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 80267070 00263FD0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80267074 00263FD4 3C 60 80 5A */ lis r3, lbl_805A6784@ha -/* 80267078 00263FD8 38 C3 67 84 */ addi r6, r3, lbl_805A6784@l -/* 8026707C 00263FDC C0 02 BA C8 */ lfs f0, lbl_805AD7E8@sda21(r2) -/* 80267080 00263FE0 90 1A 06 E8 */ stw r0, 0x6e8(r26) -/* 80267084 00263FE4 38 A0 00 01 */ li r5, 1 -/* 80267088 00263FE8 38 80 00 00 */ li r4, 0 -/* 8026708C 00263FEC 38 7A 06 C0 */ addi r3, r26, 0x6c0 -/* 80267090 00263FF0 88 1F 00 04 */ lbz r0, 4(r31) -/* 80267094 00263FF4 98 1A 06 EC */ stb r0, 0x6ec(r26) -/* 80267098 00263FF8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8026709C 00263FFC D0 3A 06 F0 */ stfs f1, 0x6f0(r26) -/* 802670A0 00264000 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 802670A4 00264004 D0 3A 06 F4 */ stfs f1, 0x6f4(r26) -/* 802670A8 00264008 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802670AC 0026400C D0 3A 06 F8 */ stfs f1, 0x6f8(r26) -/* 802670B0 00264010 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 802670B4 00264014 D0 3A 06 FC */ stfs f1, 0x6fc(r26) -/* 802670B8 00264018 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 802670BC 0026401C 98 1A 07 00 */ stb r0, 0x700(r26) -/* 802670C0 00264020 C0 26 00 00 */ lfs f1, 0(r6) -/* 802670C4 00264024 D0 3A 07 04 */ stfs f1, 0x704(r26) -/* 802670C8 00264028 C0 26 00 04 */ lfs f1, 4(r6) -/* 802670CC 0026402C D0 3A 07 08 */ stfs f1, 0x708(r26) -/* 802670D0 00264030 C0 26 00 08 */ lfs f1, 8(r6) -/* 802670D4 00264034 D0 3A 07 0C */ stfs f1, 0x70c(r26) -/* 802670D8 00264038 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 802670DC 0026403C D0 3A 07 10 */ stfs f1, 0x710(r26) -/* 802670E0 00264040 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 802670E4 00264044 D0 3A 07 14 */ stfs f1, 0x714(r26) -/* 802670E8 00264048 C0 26 00 14 */ lfs f1, 0x14(r6) -/* 802670EC 0026404C D0 3A 07 18 */ stfs f1, 0x718(r26) -/* 802670F0 00264050 D0 1A 07 1C */ stfs f0, 0x71c(r26) -/* 802670F4 00264054 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802670F8 00264058 B0 1A 07 20 */ sth r0, 0x720(r26) -/* 802670FC 0026405C 88 1A 07 22 */ lbz r0, 0x722(r26) -/* 80267100 00264060 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80267104 00264064 98 1A 07 22 */ stb r0, 0x722(r26) -/* 80267108 00264068 88 1A 07 22 */ lbz r0, 0x722(r26) -/* 8026710C 0026406C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80267110 00264070 98 1A 07 22 */ stb r0, 0x722(r26) -/* 80267114 00264074 48 0D 9C 71 */ bl Lock__6CTokenFv -/* 80267118 00264078 7F 43 D3 78 */ mr r3, r26 -/* 8026711C 0026407C 38 80 00 00 */ li r4, 0 -/* 80267120 00264080 4B DE BC 4D */ bl CreateShadow__6CActorFb -/* 80267124 00264084 7F 43 D3 78 */ mr r3, r26 -/* 80267128 00264088 4B E1 07 6D */ bl MakeThermalColdAndHot__10CPatternedFv -/* 8026712C 0026408C 7F 43 D3 78 */ mr r3, r26 -/* 80267130 00264090 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 80267134 00264094 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80267138 00264098 7C 08 03 A6 */ mtlr r0 -/* 8026713C 0026409C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80267140 002640A0 4E 80 00 20 */ blr - -.global FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FHintFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80267144 002640A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267148 002640A8 7C 08 02 A6 */ mflr r0 -/* 8026714C 002640AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267150 002640B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267154 002640B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267158 002640B8 7C BE 2B 78 */ mr r30, r5 -/* 8026715C 002640BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80267160 002640C0 7C 7D 1B 78 */ mr r29, r3 -/* 80267164 002640C4 7F C3 F3 78 */ mr r3, r30 -/* 80267168 002640C8 48 0D 7B 1D */ bl ReadLong__12CInputStreamFv -/* 8026716C 002640CC 7F C3 F3 78 */ mr r3, r30 -/* 80267170 002640D0 48 0D 7B 15 */ bl ReadLong__12CInputStreamFv -/* 80267174 002640D4 3C 80 80 3D */ lis r4, lbl_803D53C0@ha -/* 80267178 002640D8 7C 7F 1B 78 */ mr r31, r3 -/* 8026717C 002640DC 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l -/* 80267180 002640E0 38 60 00 10 */ li r3, 0x10 -/* 80267184 002640E4 38 A0 00 00 */ li r5, 0 -/* 80267188 002640E8 48 0A E6 E5 */ bl __nw__FUlPCcPCc -/* 8026718C 002640EC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267190 002640F0 41 82 00 14 */ beq lbl_802671A4 -/* 80267194 002640F4 7F C4 F3 78 */ mr r4, r30 -/* 80267198 002640F8 7F E5 FB 78 */ mr r5, r31 -/* 8026719C 002640FC 48 00 0C FD */ bl __ct__13CGameHintInfoFR12CInputStreamUi -/* 802671A0 00264100 7C 64 1B 78 */ mr r4, r3 -lbl_802671A4: -/* 802671A4 00264104 7F A3 EB 78 */ mr r3, r29 -/* 802671A8 00264108 48 00 00 21 */ bl sub_802671c8 -/* 802671AC 0026410C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802671B0 00264110 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802671B4 00264114 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802671B8 00264118 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802671BC 0026411C 7C 08 03 A6 */ mtlr r0 -/* 802671C0 00264120 38 21 00 20 */ addi r1, r1, 0x20 -/* 802671C4 00264124 4E 80 00 20 */ blr - -.global sub_802671c8 -sub_802671c8: -/* 802671C8 00264128 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802671CC 0026412C 7C 08 02 A6 */ mflr r0 -/* 802671D0 00264130 90 01 00 24 */ stw r0, 0x24(r1) -/* 802671D4 00264134 7C 04 00 D0 */ neg r0, r4 -/* 802671D8 00264138 7C 00 23 78 */ or r0, r0, r4 -/* 802671DC 0026413C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802671E0 00264140 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802671E4 00264144 7C 7F 1B 78 */ mr r31, r3 -/* 802671E8 00264148 38 61 00 08 */ addi r3, r1, 8 -/* 802671EC 0026414C 90 81 00 14 */ stw r4, 0x14(r1) -/* 802671F0 00264150 38 81 00 10 */ addi r4, r1, 0x10 -/* 802671F4 00264154 98 01 00 10 */ stb r0, 0x10(r1) -/* 802671F8 00264158 48 00 02 FD */ bl sub_802674f4 -/* 802671FC 0026415C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80267200 00264160 38 00 00 00 */ li r0, 0 -/* 80267204 00264164 98 01 00 08 */ stb r0, 8(r1) -/* 80267208 00264168 7C 03 00 D0 */ neg r0, r3 -/* 8026720C 0026416C 7C 00 1B 78 */ or r0, r0, r3 -/* 80267210 00264170 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80267214 00264174 98 1F 00 00 */ stb r0, 0(r31) -/* 80267218 00264178 90 7F 00 04 */ stw r3, 4(r31) -/* 8026721C 0026417C 88 01 00 08 */ lbz r0, 8(r1) -/* 80267220 00264180 28 00 00 00 */ cmplwi r0, 0 -/* 80267224 00264184 41 82 00 24 */ beq lbl_80267248 -/* 80267228 00264188 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8026722C 0026418C 28 03 00 00 */ cmplwi r3, 0 -/* 80267230 00264190 41 82 00 18 */ beq lbl_80267248 -/* 80267234 00264194 81 83 00 00 */ lwz r12, 0(r3) -/* 80267238 00264198 38 80 00 01 */ li r4, 1 -/* 8026723C 0026419C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80267240 002641A0 7D 89 03 A6 */ mtctr r12 -/* 80267244 002641A4 4E 80 04 21 */ bctrl -lbl_80267248: -/* 80267248 002641A8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8026724C 002641AC 38 80 FF FF */ li r4, -1 -/* 80267250 002641B0 48 00 03 6D */ bl sub_802675bc -/* 80267254 002641B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267258 002641B8 7F E3 FB 78 */ mr r3, r31 -/* 8026725C 002641BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80267260 002641C0 7C 08 03 A6 */ mtlr r0 -/* 80267264 002641C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267268 002641C8 4E 80 00 20 */ blr - -.global sub_8026726c -sub_8026726c: -/* 8026726C 002641CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267270 002641D0 7C 08 02 A6 */ mflr r0 -/* 80267274 002641D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267278 002641D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026727C 002641DC 7C 9F 23 78 */ mr r31, r4 -/* 80267280 002641E0 93 C1 00 08 */ stw r30, 8(r1) -/* 80267284 002641E4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80267288 002641E8 41 82 00 58 */ beq lbl_802672E0 -/* 8026728C 002641EC 3C 60 80 3F */ lis r3, lbl_803EA0E0@ha -/* 80267290 002641F0 38 03 A0 E0 */ addi r0, r3, lbl_803EA0E0@l -/* 80267294 002641F4 90 1E 00 00 */ stw r0, 0(r30) -/* 80267298 002641F8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8026729C 002641FC 28 03 00 00 */ cmplwi r3, 0 -/* 802672A0 00264200 41 82 00 0C */ beq lbl_802672AC -/* 802672A4 00264204 38 80 00 01 */ li r4, 1 -/* 802672A8 00264208 48 00 00 55 */ bl sub_802672fc -lbl_802672AC: -/* 802672AC 0026420C 28 1E 00 00 */ cmplwi r30, 0 -/* 802672B0 00264210 41 82 00 20 */ beq lbl_802672D0 -/* 802672B4 00264214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802672B8 00264218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802672BC 0026421C 90 1E 00 00 */ stw r0, 0(r30) -/* 802672C0 00264220 41 82 00 10 */ beq lbl_802672D0 -/* 802672C4 00264224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802672C8 00264228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802672CC 0026422C 90 1E 00 00 */ stw r0, 0(r30) -lbl_802672D0: -/* 802672D0 00264230 7F E0 07 35 */ extsh. r0, r31 -/* 802672D4 00264234 40 81 00 0C */ ble lbl_802672E0 -/* 802672D8 00264238 7F C3 F3 78 */ mr r3, r30 -/* 802672DC 0026423C 48 0A E6 55 */ bl Free__7CMemoryFPCv -lbl_802672E0: -/* 802672E0 00264240 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802672E4 00264244 7F C3 F3 78 */ mr r3, r30 -/* 802672E8 00264248 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802672EC 0026424C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802672F0 00264250 7C 08 03 A6 */ mtlr r0 -/* 802672F4 00264254 38 21 00 10 */ addi r1, r1, 0x10 -/* 802672F8 00264258 4E 80 00 20 */ blr - -.global sub_802672fc -sub_802672fc: -/* 802672FC 0026425C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267300 00264260 7C 08 02 A6 */ mflr r0 -/* 80267304 00264264 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267308 00264268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026730C 0026426C 7C 9F 23 78 */ mr r31, r4 -/* 80267310 00264270 93 C1 00 08 */ stw r30, 8(r1) -/* 80267314 00264274 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80267318 00264278 41 82 00 1C */ beq lbl_80267334 -/* 8026731C 0026427C 38 80 FF FF */ li r4, -1 -/* 80267320 00264280 48 00 00 31 */ bl sub_80267350 -/* 80267324 00264284 7F E0 07 35 */ extsh. r0, r31 -/* 80267328 00264288 40 81 00 0C */ ble lbl_80267334 -/* 8026732C 0026428C 7F C3 F3 78 */ mr r3, r30 -/* 80267330 00264290 48 0A E6 01 */ bl Free__7CMemoryFPCv -lbl_80267334: -/* 80267334 00264294 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267338 00264298 7F C3 F3 78 */ mr r3, r30 -/* 8026733C 0026429C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267340 002642A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80267344 002642A4 7C 08 03 A6 */ mtlr r0 -/* 80267348 002642A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026734C 002642AC 4E 80 00 20 */ blr - -.global sub_80267350 -sub_80267350: -/* 80267350 002642B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267354 002642B4 7C 08 02 A6 */ mflr r0 -/* 80267358 002642B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026735C 002642BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267360 002642C0 7C 9F 23 78 */ mr r31, r4 -/* 80267364 002642C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267368 002642C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026736C 002642CC 41 82 00 54 */ beq lbl_802673C0 -/* 80267370 002642D0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80267374 002642D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80267378 002642D8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8026737C 002642DC 38 81 00 0C */ addi r4, r1, 0xc -/* 80267380 002642E0 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80267384 002642E4 7C A5 02 14 */ add r5, r5, r0 -/* 80267388 002642E8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8026738C 002642EC 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80267390 002642F0 90 A1 00 08 */ stw r5, 8(r1) -/* 80267394 002642F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80267398 002642F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026739C 002642FC 48 00 00 41 */ bl sub_802673dc -/* 802673A0 00264300 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802673A4 00264304 28 03 00 00 */ cmplwi r3, 0 -/* 802673A8 00264308 41 82 00 08 */ beq lbl_802673B0 -/* 802673AC 0026430C 48 0A E5 85 */ bl Free__7CMemoryFPCv -lbl_802673B0: -/* 802673B0 00264310 7F E0 07 35 */ extsh. r0, r31 -/* 802673B4 00264314 40 81 00 0C */ ble lbl_802673C0 -/* 802673B8 00264318 7F C3 F3 78 */ mr r3, r30 -/* 802673BC 0026431C 48 0A E5 75 */ bl Free__7CMemoryFPCv -lbl_802673C0: -/* 802673C0 00264320 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802673C4 00264324 7F C3 F3 78 */ mr r3, r30 -/* 802673C8 00264328 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802673CC 0026432C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802673D0 00264330 7C 08 03 A6 */ mtlr r0 -/* 802673D4 00264334 38 21 00 20 */ addi r1, r1, 0x20 -/* 802673D8 00264338 4E 80 00 20 */ blr - -.global sub_802673dc -sub_802673dc: -/* 802673DC 0026433C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802673E0 00264340 7C 08 02 A6 */ mflr r0 -/* 802673E4 00264344 90 01 00 14 */ stw r0, 0x14(r1) -/* 802673E8 00264348 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802673EC 0026434C 93 C1 00 08 */ stw r30, 8(r1) -/* 802673F0 00264350 7C 9E 23 78 */ mr r30, r4 -/* 802673F4 00264354 83 E3 00 00 */ lwz r31, 0(r3) -/* 802673F8 00264358 48 00 00 10 */ b lbl_80267408 -lbl_802673FC: -/* 802673FC 0026435C 7F E3 FB 78 */ mr r3, r31 -/* 80267400 00264360 48 00 00 2D */ bl sub_8026742c -/* 80267404 00264364 3B FF 00 30 */ addi r31, r31, 0x30 -lbl_80267408: -/* 80267408 00264368 80 1E 00 00 */ lwz r0, 0(r30) -/* 8026740C 0026436C 7C 1F 00 40 */ cmplw r31, r0 -/* 80267410 00264370 40 82 FF EC */ bne lbl_802673FC -/* 80267414 00264374 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267418 00264378 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026741C 0026437C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80267420 00264380 7C 08 03 A6 */ mtlr r0 -/* 80267424 00264384 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267428 00264388 4E 80 00 20 */ blr - -.global sub_8026742c -sub_8026742c: -/* 8026742C 0026438C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267430 00264390 7C 08 02 A6 */ mflr r0 -/* 80267434 00264394 38 80 FF FF */ li r4, -1 -/* 80267438 00264398 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026743C 0026439C 48 00 00 15 */ bl __dt__Q213CGameHintInfo9CGameHintFv -/* 80267440 002643A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267444 002643A4 7C 08 03 A6 */ mtlr r0 -/* 80267448 002643A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026744C 002643AC 4E 80 00 20 */ blr - -.global __dt__Q213CGameHintInfo9CGameHintFv -__dt__Q213CGameHintInfo9CGameHintFv: -/* 80267450 002643B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267454 002643B4 7C 08 02 A6 */ mflr r0 -/* 80267458 002643B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026745C 002643BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267460 002643C0 7C 9F 23 78 */ mr r31, r4 -/* 80267464 002643C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267468 002643C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026746C 002643CC 41 82 00 6C */ beq lbl_802674D8 -/* 80267470 002643D0 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 80267474 002643D4 41 82 00 44 */ beq lbl_802674B8 -/* 80267478 002643D8 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 8026747C 002643DC 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80267480 002643E0 54 00 20 36 */ slwi r0, r0, 4 -/* 80267484 002643E4 7C 03 02 14 */ add r0, r3, r0 -/* 80267488 002643E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026748C 002643EC 7C 64 1B 78 */ mr r4, r3 -/* 80267490 002643F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267494 002643F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80267498 002643F8 90 61 00 08 */ stw r3, 8(r1) -/* 8026749C 002643FC 48 00 00 08 */ b lbl_802674A4 -lbl_802674A0: -/* 802674A0 00264400 38 84 00 10 */ addi r4, r4, 0x10 -lbl_802674A4: -/* 802674A4 00264404 7C 04 00 40 */ cmplw r4, r0 -/* 802674A8 00264408 40 82 FF F8 */ bne lbl_802674A0 -/* 802674AC 0026440C 28 03 00 00 */ cmplwi r3, 0 -/* 802674B0 00264410 41 82 00 08 */ beq lbl_802674B8 -/* 802674B4 00264414 48 0A E4 7D */ bl Free__7CMemoryFPCv -lbl_802674B8: -/* 802674B8 00264418 28 1E 00 00 */ cmplwi r30, 0 -/* 802674BC 0026441C 41 82 00 0C */ beq lbl_802674C8 -/* 802674C0 00264420 7F C3 F3 78 */ mr r3, r30 -/* 802674C4 00264424 48 0D 66 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802674C8: -/* 802674C8 00264428 7F E0 07 35 */ extsh. r0, r31 -/* 802674CC 0026442C 40 81 00 0C */ ble lbl_802674D8 -/* 802674D0 00264430 7F C3 F3 78 */ mr r3, r30 -/* 802674D4 00264434 48 0A E4 5D */ bl Free__7CMemoryFPCv -lbl_802674D8: -/* 802674D8 00264438 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802674DC 0026443C 7F C3 F3 78 */ mr r3, r30 -/* 802674E0 00264440 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802674E4 00264444 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802674E8 00264448 7C 08 03 A6 */ mtlr r0 -/* 802674EC 0026444C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802674F0 00264450 4E 80 00 20 */ blr - -.global sub_802674f4 -sub_802674f4: -/* 802674F4 00264454 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802674F8 00264458 7C 08 02 A6 */ mflr r0 -/* 802674FC 0026445C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267500 00264460 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267504 00264464 7C 7F 1B 78 */ mr r31, r3 -/* 80267508 00264468 48 00 00 19 */ bl sub_80267520 -/* 8026750C 0026446C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267510 00264470 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267514 00264474 7C 08 03 A6 */ mtlr r0 -/* 80267518 00264478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026751C 0026447C 4E 80 00 20 */ blr - -.global sub_80267520 -sub_80267520: -/* 80267520 00264480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267524 00264484 7C 08 02 A6 */ mflr r0 -/* 80267528 00264488 3C A0 80 3D */ lis r5, lbl_803D53C0@ha -/* 8026752C 0026448C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267530 00264490 38 05 53 C0 */ addi r0, r5, lbl_803D53C0@l -/* 80267534 00264494 38 A0 00 00 */ li r5, 0 -/* 80267538 00264498 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026753C 0026449C 7C 9F 23 78 */ mr r31, r4 -/* 80267540 002644A0 7C 04 03 78 */ mr r4, r0 -/* 80267544 002644A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80267548 002644A8 7C 7E 1B 78 */ mr r30, r3 -/* 8026754C 002644AC 38 60 00 08 */ li r3, 8 -/* 80267550 002644B0 48 0A E3 1D */ bl __nw__FUlPCcPCc -/* 80267554 002644B4 28 03 00 00 */ cmplwi r3, 0 -/* 80267558 002644B8 41 82 00 38 */ beq lbl_80267590 -/* 8026755C 002644BC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80267560 002644C0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80267564 002644C4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80267568 002644C8 3C 80 80 3F */ lis r4, lbl_803EA0E0@ha -/* 8026756C 002644CC 90 03 00 00 */ stw r0, 0(r3) -/* 80267570 002644D0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80267574 002644D4 38 A0 00 00 */ li r5, 0 -/* 80267578 002644D8 38 04 A0 E0 */ addi r0, r4, lbl_803EA0E0@l -/* 8026757C 002644DC 90 C3 00 00 */ stw r6, 0(r3) -/* 80267580 002644E0 98 BF 00 00 */ stb r5, 0(r31) -/* 80267584 002644E4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80267588 002644E8 90 83 00 04 */ stw r4, 4(r3) -/* 8026758C 002644EC 90 03 00 00 */ stw r0, 0(r3) -lbl_80267590: -/* 80267590 002644F0 7C 03 00 D0 */ neg r0, r3 -/* 80267594 002644F4 7C 00 1B 78 */ or r0, r0, r3 -/* 80267598 002644F8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8026759C 002644FC 98 1E 00 00 */ stb r0, 0(r30) -/* 802675A0 00264500 90 7E 00 04 */ stw r3, 4(r30) -/* 802675A4 00264504 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802675A8 00264508 83 C1 00 08 */ lwz r30, 8(r1) -/* 802675AC 0026450C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802675B0 00264510 7C 08 03 A6 */ mtlr r0 -/* 802675B4 00264514 38 21 00 10 */ addi r1, r1, 0x10 -/* 802675B8 00264518 4E 80 00 20 */ blr - -.global sub_802675bc -sub_802675bc: -/* 802675BC 0026451C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802675C0 00264520 7C 08 02 A6 */ mflr r0 -/* 802675C4 00264524 90 01 00 14 */ stw r0, 0x14(r1) -/* 802675C8 00264528 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802675CC 0026452C 7C 9F 23 78 */ mr r31, r4 -/* 802675D0 00264530 93 C1 00 08 */ stw r30, 8(r1) -/* 802675D4 00264534 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802675D8 00264538 41 82 00 2C */ beq lbl_80267604 -/* 802675DC 0026453C 88 1E 00 00 */ lbz r0, 0(r30) -/* 802675E0 00264540 28 00 00 00 */ cmplwi r0, 0 -/* 802675E4 00264544 41 82 00 10 */ beq lbl_802675F4 -/* 802675E8 00264548 80 7E 00 04 */ lwz r3, 4(r30) -/* 802675EC 0026454C 38 80 00 01 */ li r4, 1 -/* 802675F0 00264550 4B FF FD 0D */ bl sub_802672fc -lbl_802675F4: -/* 802675F4 00264554 7F E0 07 35 */ extsh. r0, r31 -/* 802675F8 00264558 40 81 00 0C */ ble lbl_80267604 -/* 802675FC 0026455C 7F C3 F3 78 */ mr r3, r30 -/* 80267600 00264560 48 0A E3 31 */ bl Free__7CMemoryFPCv -lbl_80267604: -/* 80267604 00264564 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267608 00264568 7F C3 F3 78 */ mr r3, r30 -/* 8026760C 0026456C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267610 00264570 83 C1 00 08 */ lwz r30, 8(r1) -/* 80267614 00264574 7C 08 03 A6 */ mtlr r0 -/* 80267618 00264578 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026761C 0026457C 4E 80 00 20 */ blr - -.global DismissDisplayedHint__12CHintOptionsFv -DismissDisplayedHint__12CHintOptionsFv: -/* 80267620 00264580 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80267624 00264584 2C 00 FF FF */ cmpwi r0, -1 -/* 80267628 00264588 4D 82 00 20 */ beqlr -/* 8026762C 0026458C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 80267630 00264590 1C A0 00 0C */ mulli r5, r0, 0xc -/* 80267634 00264594 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 80267638 00264598 80 64 00 08 */ lwz r3, 8(r4) -/* 8026763C 0026459C 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80267640 002645A0 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80267644 002645A4 7C 86 2A 14 */ add r4, r6, r5 -/* 80267648 002645A8 C0 24 00 04 */ lfs f1, 4(r4) -/* 8026764C 002645AC 7C 63 02 14 */ add r3, r3, r0 -/* 80267650 002645B0 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80267654 002645B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80267658 002645B8 4C 80 00 20 */ bgelr -/* 8026765C 002645BC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80267660 002645C0 38 00 00 01 */ li r0, 1 -/* 80267664 002645C4 D0 04 00 04 */ stfs f0, 4(r4) -/* 80267668 002645C8 98 04 00 08 */ stb r0, 8(r4) -/* 8026766C 002645CC 4E 80 00 20 */ blr - -.global FindHintIndex__13CGameHintInfoFPCc -FindHintIndex__13CGameHintInfoFPCc: -/* 80267670 002645D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267674 002645D4 7C 08 02 A6 */ mflr r0 -/* 80267678 002645D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026767C 002645DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267680 002645E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267684 002645E4 3B C0 00 00 */ li r30, 0 -/* 80267688 002645E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026768C 002645EC 3B A0 00 00 */ li r29, 0 -/* 80267690 002645F0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80267694 002645F4 7C 7C 1B 78 */ mr r28, r3 -/* 80267698 002645F8 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 8026769C 002645FC 83 E4 00 08 */ lwz r31, 8(r4) -/* 802676A0 00264600 48 00 00 2C */ b lbl_802676CC -lbl_802676A4: -/* 802676A4 00264604 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802676A8 00264608 7F 84 E3 78 */ mr r4, r28 -/* 802676AC 0026460C 7C 60 F2 14 */ add r3, r0, r30 -/* 802676B0 00264610 4B DE AF 31 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 802676B4 00264614 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802676B8 00264618 41 82 00 0C */ beq lbl_802676C4 -/* 802676BC 0026461C 7F A3 EB 78 */ mr r3, r29 -/* 802676C0 00264620 48 00 00 1C */ b lbl_802676DC -lbl_802676C4: -/* 802676C4 00264624 3B DE 00 30 */ addi r30, r30, 0x30 -/* 802676C8 00264628 3B BD 00 01 */ addi r29, r29, 1 -lbl_802676CC: -/* 802676CC 0026462C 80 1F 00 04 */ lwz r0, 4(r31) -/* 802676D0 00264630 7C 1D 00 00 */ cmpw r29, r0 -/* 802676D4 00264634 41 80 FF D0 */ blt lbl_802676A4 -/* 802676D8 00264638 38 60 FF FF */ li r3, -1 -lbl_802676DC: -/* 802676DC 0026463C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802676E0 00264640 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802676E4 00264644 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802676E8 00264648 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802676EC 0026464C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802676F0 00264650 7C 08 03 A6 */ mtlr r0 -/* 802676F4 00264654 38 21 00 20 */ addi r1, r1, 0x20 -/* 802676F8 00264658 4E 80 00 20 */ blr - -.global GetNextHintIdx__12CHintOptionsFv -GetNextHintIdx__12CHintOptionsFv: -/* 802676FC 0026465C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80267700 00264660 88 04 01 E4 */ lbz r0, 0x1e4(r4) -/* 80267704 00264664 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80267708 00264668 41 82 00 0C */ beq lbl_80267714 -/* 8026770C 0026466C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80267710 00264670 4E 80 00 20 */ blr -lbl_80267714: -/* 80267714 00264674 38 60 FF FF */ li r3, -1 -/* 80267718 00264678 4E 80 00 20 */ blr - -.global GetCurrentDisplayedHint__12CHintOptionsCFv -GetCurrentDisplayedHint__12CHintOptionsCFv: -/* 8026771C 0026467C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80267720 00264680 88 04 01 E4 */ lbz r0, 0x1e4(r4) -/* 80267724 00264684 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80267728 00264688 41 82 00 7C */ beq lbl_802677A4 -/* 8026772C 0026468C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80267730 00264690 2C 00 FF FF */ cmpwi r0, -1 -/* 80267734 00264694 40 82 00 0C */ bne lbl_80267740 -/* 80267738 00264698 38 60 00 00 */ li r3, 0 -/* 8026773C 0026469C 4E 80 00 20 */ blr -lbl_80267740: -/* 80267740 002646A0 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) -/* 80267744 002646A4 1C 80 00 30 */ mulli r4, r0, 0x30 -/* 80267748 002646A8 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 8026774C 002646AC 80 65 00 08 */ lwz r3, 8(r5) -/* 80267750 002646B0 1C C0 00 0C */ mulli r6, r0, 0xc -/* 80267754 002646B4 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 80267758 002646B8 38 04 00 1C */ addi r0, r4, 0x1c -/* 8026775C 002646BC 7C 67 32 14 */ add r3, r7, r6 -/* 80267760 002646C0 7C 05 04 2E */ lfsx f0, r5, r0 -/* 80267764 002646C4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80267768 002646C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026776C 002646CC 4C 41 13 82 */ cror 2, 1, 2 -/* 80267770 002646D0 40 82 00 0C */ bne lbl_8026777C -/* 80267774 002646D4 38 60 00 00 */ li r3, 0 -/* 80267778 002646D8 4E 80 00 20 */ blr -lbl_8026777C: -/* 8026777C 002646DC C0 02 BA DC */ lfs f0, lbl_805AD7FC@sda21(r2) -/* 80267780 002646E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80267784 002646E4 4C 41 13 82 */ cror 2, 1, 2 -/* 80267788 002646E8 4C 82 00 20 */ bnelr -/* 8026778C 002646EC 88 03 00 08 */ lbz r0, 8(r3) -/* 80267790 002646F0 28 00 00 00 */ cmplwi r0, 0 -/* 80267794 002646F4 4D 82 00 20 */ beqlr -/* 80267798 002646F8 38 60 00 00 */ li r3, 0 -/* 8026779C 002646FC 4E 80 00 20 */ blr - -.global sub_802677a0 -sub_802677a0: -/* 802677A0 00264700 4E 80 00 20 */ blr -lbl_802677A4: -/* 802677A4 00264704 38 60 00 00 */ li r3, 0 -/* 802677A8 00264708 4E 80 00 20 */ blr - -.global ActivateContinueDelayHintTimer__12CHintOptionsFPCc -ActivateContinueDelayHintTimer__12CHintOptionsFPCc: -/* 802677AC 0026470C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802677B0 00264710 7C 08 02 A6 */ mflr r0 -/* 802677B4 00264714 90 01 00 14 */ stw r0, 0x14(r1) -/* 802677B8 00264718 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802677BC 0026471C 7C 7F 1B 78 */ mr r31, r3 -/* 802677C0 00264720 80 04 00 08 */ lwz r0, 8(r4) -/* 802677C4 00264724 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802677C8 00264728 2C 00 00 00 */ cmpwi r0, 0 -/* 802677CC 0026472C 41 82 00 0C */ beq lbl_802677D8 -/* 802677D0 00264730 7C 83 23 78 */ mr r3, r4 -/* 802677D4 00264734 4B FF FE 9D */ bl FindHintIndex__13CGameHintInfoFPCc -lbl_802677D8: -/* 802677D8 00264738 2C 03 FF FF */ cmpwi r3, -1 -/* 802677DC 0026473C 41 82 00 38 */ beq lbl_80267814 -/* 802677E0 00264740 1C 03 00 0C */ mulli r0, r3, 0xc -/* 802677E4 00264744 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802677E8 00264748 7C A4 02 14 */ add r5, r4, r0 -/* 802677EC 0026474C 80 05 00 00 */ lwz r0, 0(r5) -/* 802677F0 00264750 2C 00 00 02 */ cmpwi r0, 2 -/* 802677F4 00264754 40 82 00 20 */ bne lbl_80267814 -/* 802677F8 00264758 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 802677FC 0026475C 1C 63 00 30 */ mulli r3, r3, 0x30 -/* 80267800 00264760 80 84 00 08 */ lwz r4, 8(r4) -/* 80267804 00264764 38 03 00 1C */ addi r0, r3, 0x1c -/* 80267808 00264768 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8026780C 0026476C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80267810 00264770 D0 05 00 04 */ stfs f0, 4(r5) -lbl_80267814: -/* 80267814 00264774 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267818 00264778 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026781C 0026477C 7C 08 03 A6 */ mtlr r0 -/* 80267820 00264780 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267824 00264784 4E 80 00 20 */ blr - -.global DelayHint__12CHintOptionsFPCc -DelayHint__12CHintOptionsFPCc: -/* 80267828 00264788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026782C 0026478C 7C 08 02 A6 */ mflr r0 -/* 80267830 00264790 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267834 00264794 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267838 00264798 7C 7F 1B 78 */ mr r31, r3 -/* 8026783C 0026479C 7C 83 23 78 */ mr r3, r4 -/* 80267840 002647A0 4B FF FE 31 */ bl FindHintIndex__13CGameHintInfoFPCc -/* 80267844 002647A4 2C 03 FF FF */ cmpwi r3, -1 -/* 80267848 002647A8 41 82 00 54 */ beq lbl_8026789C -/* 8026784C 002647AC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80267850 002647B0 1C 83 00 0C */ mulli r4, r3, 0xc -/* 80267854 002647B4 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 80267858 002647B8 7C 03 00 00 */ cmpw r3, r0 -/* 8026785C 002647BC 40 82 00 38 */ bne lbl_80267894 -/* 80267860 002647C0 C0 22 BA E0 */ lfs f1, lbl_805AD800@sda21(r2) -/* 80267864 002647C4 7C C5 33 78 */ mr r5, r6 -/* 80267868 002647C8 48 00 00 14 */ b lbl_8026787C -lbl_8026786C: -/* 8026786C 002647CC C0 05 00 04 */ lfs f0, 4(r5) -/* 80267870 002647D0 EC 00 08 2A */ fadds f0, f0, f1 -/* 80267874 002647D4 D0 05 00 04 */ stfs f0, 4(r5) -/* 80267878 002647D8 38 A5 00 0C */ addi r5, r5, 0xc -lbl_8026787C: -/* 8026787C 002647DC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80267880 002647E0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80267884 002647E4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80267888 002647E8 7C 03 02 14 */ add r0, r3, r0 -/* 8026788C 002647EC 7C 05 00 40 */ cmplw r5, r0 -/* 80267890 002647F0 40 82 FF DC */ bne lbl_8026786C -lbl_80267894: -/* 80267894 002647F4 38 00 00 03 */ li r0, 3 -/* 80267898 002647F8 7C 06 21 2E */ stwx r0, r6, r4 -lbl_8026789C: -/* 8026789C 002647FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802678A0 00264800 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802678A4 00264804 7C 08 03 A6 */ mtlr r0 -/* 802678A8 00264808 38 21 00 10 */ addi r1, r1, 0x10 -/* 802678AC 0026480C 4E 80 00 20 */ blr - -.global ActivateImmediateHintTimer__12CHintOptionsFPCc -ActivateImmediateHintTimer__12CHintOptionsFPCc: -/* 802678B0 00264810 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802678B4 00264814 7C 08 02 A6 */ mflr r0 -/* 802678B8 00264818 90 01 00 14 */ stw r0, 0x14(r1) -/* 802678BC 0026481C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802678C0 00264820 7C 7F 1B 78 */ mr r31, r3 -/* 802678C4 00264824 7C 83 23 78 */ mr r3, r4 -/* 802678C8 00264828 4B FF FD A9 */ bl FindHintIndex__13CGameHintInfoFPCc -/* 802678CC 0026482C 2C 03 FF FF */ cmpwi r3, -1 -/* 802678D0 00264830 41 82 00 40 */ beq lbl_80267910 -/* 802678D4 00264834 1C 03 00 0C */ mulli r0, r3, 0xc -/* 802678D8 00264838 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802678DC 0026483C 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) -/* 802678E0 00264840 7C C4 02 14 */ add r6, r4, r0 -/* 802678E4 00264844 80 85 00 08 */ lwz r4, 8(r5) -/* 802678E8 00264848 80 06 00 00 */ lwz r0, 0(r6) -/* 802678EC 0026484C 1C 63 00 30 */ mulli r3, r3, 0x30 -/* 802678F0 00264850 80 84 00 0C */ lwz r4, 0xc(r4) -/* 802678F4 00264854 2C 00 00 00 */ cmpwi r0, 0 -/* 802678F8 00264858 7C 64 1A 14 */ add r3, r4, r3 -/* 802678FC 0026485C 40 82 00 14 */ bne lbl_80267910 -/* 80267900 00264860 38 00 00 01 */ li r0, 1 -/* 80267904 00264864 90 06 00 00 */ stw r0, 0(r6) -/* 80267908 00264868 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8026790C 0026486C D0 06 00 04 */ stfs f0, 4(r6) -lbl_80267910: -/* 80267910 00264870 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267914 00264874 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267918 00264878 7C 08 03 A6 */ mtlr r0 -/* 8026791C 0026487C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267920 00264880 4E 80 00 20 */ blr - -.global Update__12CHintOptionsfRC13CStateManager -Update__12CHintOptionsfRC13CStateManager: -/* 80267924 00264884 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267928 00264888 38 00 FF FF */ li r0, -1 -/* 8026792C 0026488C 38 E0 00 00 */ li r7, 0 -/* 80267930 00264890 39 20 00 00 */ li r9, 0 -/* 80267934 00264894 90 03 00 10 */ stw r0, 0x10(r3) -/* 80267938 00264898 7C E8 3B 78 */ mr r8, r7 -/* 8026793C 0026489C 48 00 00 90 */ b lbl_802679CC -lbl_80267940: -/* 80267940 002648A0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80267944 002648A4 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) -/* 80267948 002648A8 7C C0 3A 14 */ add r6, r0, r7 -/* 8026794C 002648AC 80 A5 00 08 */ lwz r5, 8(r5) -/* 80267950 002648B0 80 06 00 00 */ lwz r0, 0(r6) -/* 80267954 002648B4 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 80267958 002648B8 2C 00 00 02 */ cmpwi r0, 2 -/* 8026795C 002648BC 7C A5 42 14 */ add r5, r5, r8 -/* 80267960 002648C0 41 82 00 50 */ beq lbl_802679B0 -/* 80267964 002648C4 40 80 00 5C */ bge lbl_802679C0 -/* 80267968 002648C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8026796C 002648CC 41 82 00 54 */ beq lbl_802679C0 -/* 80267970 002648D0 40 80 00 0C */ bge lbl_8026797C -/* 80267974 002648D4 48 00 00 4C */ b lbl_802679C0 -/* 80267978 002648D8 48 00 00 48 */ b lbl_802679C0 -lbl_8026797C: -/* 8026797C 002648DC C0 46 00 04 */ lfs f2, 4(r6) -/* 80267980 002648E0 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) -/* 80267984 002648E4 EC 42 08 28 */ fsubs f2, f2, f1 -/* 80267988 002648E8 D0 46 00 04 */ stfs f2, 4(r6) -/* 8026798C 002648EC C0 46 00 04 */ lfs f2, 4(r6) -/* 80267990 002648F0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80267994 002648F4 4C 40 13 82 */ cror 2, 0, 2 -/* 80267998 002648F8 40 82 00 28 */ bne lbl_802679C0 -/* 8026799C 002648FC 38 00 00 02 */ li r0, 2 -/* 802679A0 00264900 90 06 00 00 */ stw r0, 0(r6) -/* 802679A4 00264904 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 802679A8 00264908 D0 06 00 04 */ stfs f0, 4(r6) -/* 802679AC 0026490C 48 00 00 14 */ b lbl_802679C0 -lbl_802679B0: -/* 802679B0 00264910 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802679B4 00264914 2C 00 FF FF */ cmpwi r0, -1 -/* 802679B8 00264918 40 82 00 08 */ bne lbl_802679C0 -/* 802679BC 0026491C 91 23 00 10 */ stw r9, 0x10(r3) -lbl_802679C0: -/* 802679C0 00264920 38 E7 00 0C */ addi r7, r7, 0xc -/* 802679C4 00264924 39 08 00 30 */ addi r8, r8, 0x30 -/* 802679C8 00264928 39 29 00 01 */ addi r9, r9, 1 -lbl_802679CC: -/* 802679CC 0026492C 80 03 00 04 */ lwz r0, 4(r3) -/* 802679D0 00264930 7C 09 00 00 */ cmpw r9, r0 -/* 802679D4 00264934 41 80 FF 6C */ blt lbl_80267940 -/* 802679D8 00264938 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 802679DC 0026493C 2C 07 FF FF */ cmpwi r7, -1 -/* 802679E0 00264940 41 82 00 BC */ beq lbl_80267A9C -/* 802679E4 00264944 1C 07 00 0C */ mulli r0, r7, 0xc -/* 802679E8 00264948 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 802679EC 0026494C 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13) -/* 802679F0 00264950 C0 0D 98 40 */ lfs f0, lbl_805A8400@sda21(r13) -/* 802679F4 00264954 7C C5 02 14 */ add r6, r5, r0 -/* 802679F8 00264958 80 63 00 08 */ lwz r3, 8(r3) -/* 802679FC 0026495C C0 46 00 04 */ lfs f2, 4(r6) -/* 80267A00 00264960 1C 07 00 30 */ mulli r0, r7, 0x30 -/* 80267A04 00264964 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80267A08 00264968 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80267A0C 0026496C 7C E3 02 14 */ add r7, r3, r0 -/* 80267A10 00264970 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80267A14 00264974 D0 21 00 08 */ stfs f1, 8(r1) -/* 80267A18 00264978 40 80 00 0C */ bge lbl_80267A24 -/* 80267A1C 0026497C 38 61 00 08 */ addi r3, r1, 8 -/* 80267A20 00264980 48 00 00 08 */ b lbl_80267A28 -lbl_80267A24: -/* 80267A24 00264984 38 6D 98 40 */ addi r3, r13, lbl_805A8400@sda21 -lbl_80267A28: -/* 80267A28 00264988 C0 03 00 00 */ lfs f0, 0(r3) -/* 80267A2C 0026498C D0 06 00 04 */ stfs f0, 4(r6) -/* 80267A30 00264990 C0 26 00 04 */ lfs f1, 4(r6) -/* 80267A34 00264994 C0 07 00 1C */ lfs f0, 0x1c(r7) -/* 80267A38 00264998 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80267A3C 0026499C 40 80 00 60 */ bge lbl_80267A9C -/* 80267A40 002649A0 80 07 00 24 */ lwz r0, 0x24(r7) -/* 80267A44 002649A4 39 20 00 00 */ li r9, 0 -/* 80267A48 002649A8 7C 09 03 A6 */ mtctr r0 -/* 80267A4C 002649AC 2C 00 00 00 */ cmpwi r0, 0 -/* 80267A50 002649B0 40 81 00 4C */ ble lbl_80267A9C -lbl_80267A54: -/* 80267A54 002649B4 80 07 00 2C */ lwz r0, 0x2c(r7) -/* 80267A58 002649B8 80 64 08 50 */ lwz r3, 0x850(r4) -/* 80267A5C 002649BC 7D 00 4A 14 */ add r8, r0, r9 -/* 80267A60 002649C0 80 A8 00 00 */ lwz r5, 0(r8) -/* 80267A64 002649C4 80 03 00 08 */ lwz r0, 8(r3) -/* 80267A68 002649C8 7C 05 00 40 */ cmplw r5, r0 -/* 80267A6C 002649CC 40 82 00 28 */ bne lbl_80267A94 -/* 80267A70 002649D0 80 68 00 08 */ lwz r3, 8(r8) -/* 80267A74 002649D4 80 04 08 CC */ lwz r0, 0x8cc(r4) -/* 80267A78 002649D8 7C 03 00 00 */ cmpw r3, r0 -/* 80267A7C 002649DC 40 82 00 18 */ bne lbl_80267A94 -/* 80267A80 002649E0 C0 07 00 14 */ lfs f0, 0x14(r7) -/* 80267A84 002649E4 38 00 00 01 */ li r0, 1 -/* 80267A88 002649E8 D0 06 00 04 */ stfs f0, 4(r6) -/* 80267A8C 002649EC 98 06 00 08 */ stb r0, 8(r6) -/* 80267A90 002649F0 48 00 00 0C */ b lbl_80267A9C -lbl_80267A94: -/* 80267A94 002649F4 39 29 00 10 */ addi r9, r9, 0x10 -/* 80267A98 002649F8 42 00 FF BC */ bdnz lbl_80267A54 -lbl_80267A9C: -/* 80267A9C 002649FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267AA0 00264A00 4E 80 00 20 */ blr - -.global InitializeMemoryState__12CHintOptionsFv -InitializeMemoryState__12CHintOptionsFv: -/* 80267AA4 00264A04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267AA8 00264A08 7C 08 02 A6 */ mflr r0 -/* 80267AAC 00264A0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267AB0 00264A10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267AB4 00264A14 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267AB8 00264A18 7C 7E 1B 78 */ mr r30, r3 -/* 80267ABC 00264A1C 38 61 00 08 */ addi r3, r1, 8 -/* 80267AC0 00264A20 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 80267AC4 00264A24 80 84 00 08 */ lwz r4, 8(r4) -/* 80267AC8 00264A28 83 E4 00 04 */ lwz r31, 4(r4) -/* 80267ACC 00264A2C 48 00 03 B5 */ bl sub_80267e80 -/* 80267AD0 00264A30 7C 65 1B 78 */ mr r5, r3 -/* 80267AD4 00264A34 7F C3 F3 78 */ mr r3, r30 -/* 80267AD8 00264A38 7F E4 FB 78 */ mr r4, r31 -/* 80267ADC 00264A3C 48 00 00 1D */ bl sub_80267af8 -/* 80267AE0 00264A40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267AE4 00264A44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80267AE8 00264A48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80267AEC 00264A4C 7C 08 03 A6 */ mtlr r0 -/* 80267AF0 00264A50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267AF4 00264A54 4E 80 00 20 */ blr - -.global sub_80267af8 -sub_80267af8: -/* 80267AF8 00264A58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80267AFC 00264A5C 7C 08 02 A6 */ mflr r0 -/* 80267B00 00264A60 90 01 00 34 */ stw r0, 0x34(r1) -/* 80267B04 00264A64 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80267B08 00264A68 7C BF 2B 78 */ mr r31, r5 -/* 80267B0C 00264A6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80267B10 00264A70 7C 9E 23 78 */ mr r30, r4 -/* 80267B14 00264A74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80267B18 00264A78 7C 7D 1B 78 */ mr r29, r3 -/* 80267B1C 00264A7C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80267B20 00264A80 80 03 00 04 */ lwz r0, 4(r3) -/* 80267B24 00264A84 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80267B28 00264A88 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80267B2C 00264A8C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80267B30 00264A90 7C 03 02 14 */ add r0, r3, r0 -/* 80267B34 00264A94 90 61 00 08 */ stw r3, 8(r1) -/* 80267B38 00264A98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267B3C 00264A9C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80267B40 00264AA0 48 00 00 08 */ b lbl_80267B48 -lbl_80267B44: -/* 80267B44 00264AA4 38 63 00 0C */ addi r3, r3, 0xc -lbl_80267B48: -/* 80267B48 00264AA8 7C 03 00 40 */ cmplw r3, r0 -/* 80267B4C 00264AAC 40 82 FF F8 */ bne lbl_80267B44 -/* 80267B50 00264AB0 38 00 00 00 */ li r0, 0 -/* 80267B54 00264AB4 7F A3 EB 78 */ mr r3, r29 -/* 80267B58 00264AB8 90 1D 00 04 */ stw r0, 4(r29) -/* 80267B5C 00264ABC 7F C4 F3 78 */ mr r4, r30 -/* 80267B60 00264AC0 4B F6 E5 9D */ bl sub_801d60fc -/* 80267B64 00264AC4 3B 80 00 00 */ li r28, 0 -/* 80267B68 00264AC8 48 00 00 68 */ b lbl_80267BD0 -lbl_80267B6C: -/* 80267B6C 00264ACC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80267B70 00264AD0 80 BD 00 08 */ lwz r5, 8(r29) -/* 80267B74 00264AD4 7C 00 28 00 */ cmpw r0, r5 -/* 80267B78 00264AD8 41 80 00 1C */ blt lbl_80267B94 -/* 80267B7C 00264ADC 2C 05 00 00 */ cmpwi r5, 0 -/* 80267B80 00264AE0 7F A3 EB 78 */ mr r3, r29 -/* 80267B84 00264AE4 38 80 00 04 */ li r4, 4 -/* 80267B88 00264AE8 41 82 00 08 */ beq lbl_80267B90 -/* 80267B8C 00264AEC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80267B90: -/* 80267B90 00264AF0 4B F6 E5 6D */ bl sub_801d60fc -lbl_80267B94: -/* 80267B94 00264AF4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80267B98 00264AF8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80267B9C 00264AFC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80267BA0 00264B00 7C 63 02 15 */ add. r3, r3, r0 -/* 80267BA4 00264B04 41 82 00 1C */ beq lbl_80267BC0 -/* 80267BA8 00264B08 80 1F 00 00 */ lwz r0, 0(r31) -/* 80267BAC 00264B0C 90 03 00 00 */ stw r0, 0(r3) -/* 80267BB0 00264B10 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80267BB4 00264B14 D0 03 00 04 */ stfs f0, 4(r3) -/* 80267BB8 00264B18 88 1F 00 08 */ lbz r0, 8(r31) -/* 80267BBC 00264B1C 98 03 00 08 */ stb r0, 8(r3) -lbl_80267BC0: -/* 80267BC0 00264B20 80 7D 00 04 */ lwz r3, 4(r29) -/* 80267BC4 00264B24 3B 9C 00 01 */ addi r28, r28, 1 -/* 80267BC8 00264B28 38 03 00 01 */ addi r0, r3, 1 -/* 80267BCC 00264B2C 90 1D 00 04 */ stw r0, 4(r29) -lbl_80267BD0: -/* 80267BD0 00264B30 7C 1C F0 00 */ cmpw r28, r30 -/* 80267BD4 00264B34 41 80 FF 98 */ blt lbl_80267B6C -/* 80267BD8 00264B38 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80267BDC 00264B3C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80267BE0 00264B40 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80267BE4 00264B44 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80267BE8 00264B48 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80267BEC 00264B4C 7C 08 03 A6 */ mtlr r0 -/* 80267BF0 00264B50 38 21 00 30 */ addi r1, r1, 0x30 -/* 80267BF4 00264B54 4E 80 00 20 */ blr - -.global PutTo__16CGameHintManagerFR16CMemoryStreamOut -PutTo__16CGameHintManagerFR16CMemoryStreamOut: -/* 80267BF8 00264B58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267BFC 00264B5C 7C 08 02 A6 */ mflr r0 -/* 80267C00 00264B60 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267C04 00264B64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267C08 00264B68 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267C0C 00264B6C 7C 9E 23 78 */ mr r30, r4 -/* 80267C10 00264B70 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80267C14 00264B74 7C 7D 1B 78 */ mr r29, r3 -/* 80267C18 00264B78 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 80267C1C 00264B7C 48 00 00 30 */ b lbl_80267C4C -lbl_80267C20: -/* 80267C20 00264B80 38 60 00 03 */ li r3, 3 -/* 80267C24 00264B84 48 00 06 A1 */ bl GetBitCount__16CGameHintManagerFi -/* 80267C28 00264B88 80 9F 00 00 */ lwz r4, 0(r31) -/* 80267C2C 00264B8C 7C 65 1B 78 */ mr r5, r3 -/* 80267C30 00264B90 7F C3 F3 78 */ mr r3, r30 -/* 80267C34 00264B94 48 0D 77 89 */ bl WriteBits__13COutputStreamFii -/* 80267C38 00264B98 80 9F 00 04 */ lwz r4, 4(r31) -/* 80267C3C 00264B9C 7F C3 F3 78 */ mr r3, r30 -/* 80267C40 00264BA0 38 A0 00 20 */ li r5, 0x20 -/* 80267C44 00264BA4 48 0D 77 79 */ bl WriteBits__13COutputStreamFii -/* 80267C48 00264BA8 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80267C4C: -/* 80267C4C 00264BAC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80267C50 00264BB0 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80267C54 00264BB4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80267C58 00264BB8 7C 03 02 14 */ add r0, r3, r0 -/* 80267C5C 00264BBC 7C 1F 00 40 */ cmplw r31, r0 -/* 80267C60 00264BC0 40 82 FF C0 */ bne lbl_80267C20 -/* 80267C64 00264BC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267C68 00264BC8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80267C6C 00264BCC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80267C70 00264BD0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80267C74 00264BD4 7C 08 03 A6 */ mtlr r0 -/* 80267C78 00264BD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267C7C 00264BDC 4E 80 00 20 */ blr - -.global SetHintNextTime__12CHintOptionsFv -SetHintNextTime__12CHintOptionsFv: -/* 80267C80 00264BE0 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 80267C84 00264BE4 2C 07 FF FF */ cmpwi r7, -1 -/* 80267C88 00264BE8 4D 82 00 20 */ beqlr -/* 80267C8C 00264BEC 80 AD A0 84 */ lwz r5, gpMemoryCard@sda21(r13) -/* 80267C90 00264BF0 1C 87 00 30 */ mulli r4, r7, 0x30 -/* 80267C94 00264BF4 C0 22 BA E8 */ lfs f1, lbl_805AD808@sda21(r2) -/* 80267C98 00264BF8 80 A5 00 08 */ lwz r5, 8(r5) -/* 80267C9C 00264BFC 38 04 00 1C */ addi r0, r4, 0x1c -/* 80267CA0 00264C00 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 80267CA4 00264C04 80 65 00 0C */ lwz r3, 0xc(r5) -/* 80267CA8 00264C08 1C 87 00 0C */ mulli r4, r7, 0xc -/* 80267CAC 00264C0C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80267CB0 00264C10 7C 66 22 14 */ add r3, r6, r4 -/* 80267CB4 00264C14 EC 01 00 2A */ fadds f0, f1, f0 -/* 80267CB8 00264C18 D0 03 00 04 */ stfs f0, 4(r3) -/* 80267CBC 00264C1C 4E 80 00 20 */ blr - -.global __ct__12CHintOptionsFR12CInputStream -__ct__12CHintOptionsFR12CInputStream: -/* 80267CC0 00264C20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80267CC4 00264C24 7C 08 02 A6 */ mflr r0 -/* 80267CC8 00264C28 38 A0 00 00 */ li r5, 0 -/* 80267CCC 00264C2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80267CD0 00264C30 38 00 FF FF */ li r0, -1 -/* 80267CD4 00264C34 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80267CD8 00264C38 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80267CDC 00264C3C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80267CE0 00264C40 7C 9D 23 78 */ mr r29, r4 -/* 80267CE4 00264C44 93 81 00 20 */ stw r28, 0x20(r1) -/* 80267CE8 00264C48 7C 7C 1B 78 */ mr r28, r3 -/* 80267CEC 00264C4C 90 A3 00 04 */ stw r5, 4(r3) -/* 80267CF0 00264C50 90 A3 00 08 */ stw r5, 8(r3) -/* 80267CF4 00264C54 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80267CF8 00264C58 90 03 00 10 */ stw r0, 0x10(r3) -/* 80267CFC 00264C5C 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) -/* 80267D00 00264C60 80 84 00 08 */ lwz r4, 8(r4) -/* 80267D04 00264C64 80 84 00 04 */ lwz r4, 4(r4) -/* 80267D08 00264C68 4B F6 E3 F5 */ bl sub_801d60fc -/* 80267D0C 00264C6C 3B E0 00 00 */ li r31, 0 -/* 80267D10 00264C70 48 00 00 F0 */ b lbl_80267E00 -lbl_80267D14: -/* 80267D14 00264C74 38 60 00 03 */ li r3, 3 -/* 80267D18 00264C78 48 00 05 AD */ bl GetBitCount__16CGameHintManagerFi -/* 80267D1C 00264C7C 7C 64 1B 78 */ mr r4, r3 -/* 80267D20 00264C80 7F A3 EB 78 */ mr r3, r29 -/* 80267D24 00264C84 48 0D 70 15 */ bl ReadBits__12CInputStreamFi -/* 80267D28 00264C88 7C 60 1B 78 */ mr r0, r3 -/* 80267D2C 00264C8C 7F A3 EB 78 */ mr r3, r29 -/* 80267D30 00264C90 7C 1E 03 78 */ mr r30, r0 -/* 80267D34 00264C94 38 80 00 20 */ li r4, 0x20 -/* 80267D38 00264C98 48 0D 70 01 */ bl ReadBits__12CInputStreamFi -/* 80267D3C 00264C9C 38 9E FF FF */ addi r4, r30, -1 -/* 80267D40 00264CA0 90 61 00 08 */ stw r3, 8(r1) -/* 80267D44 00264CA4 38 A0 00 01 */ li r5, 1 -/* 80267D48 00264CA8 20 04 00 01 */ subfic r0, r4, 1 -/* 80267D4C 00264CAC C0 21 00 08 */ lfs f1, 8(r1) -/* 80267D50 00264CB0 7C A3 23 38 */ orc r3, r5, r4 -/* 80267D54 00264CB4 54 00 F8 7E */ srwi r0, r0, 1 -/* 80267D58 00264CB8 7C 00 18 50 */ subf r0, r0, r3 -/* 80267D5C 00264CBC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80267D60 00264CC0 40 82 00 08 */ bne lbl_80267D68 -/* 80267D64 00264CC4 38 A0 00 00 */ li r5, 0 -lbl_80267D68: -/* 80267D68 00264CC8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80267D6C 00264CCC 7F C4 F3 78 */ mr r4, r30 -/* 80267D70 00264CD0 38 61 00 0C */ addi r3, r1, 0xc -/* 80267D74 00264CD4 41 82 00 08 */ beq lbl_80267D7C -/* 80267D78 00264CD8 48 00 00 08 */ b lbl_80267D80 -lbl_80267D7C: -/* 80267D7C 00264CDC C0 22 BA E4 */ lfs f1, lbl_805AD804@sda21(r2) -lbl_80267D80: -/* 80267D80 00264CE0 48 00 00 ED */ bl sub_80267e6c -/* 80267D84 00264CE4 80 1C 00 04 */ lwz r0, 4(r28) -/* 80267D88 00264CE8 80 BC 00 08 */ lwz r5, 8(r28) -/* 80267D8C 00264CEC 7C 00 28 00 */ cmpw r0, r5 -/* 80267D90 00264CF0 41 80 00 1C */ blt lbl_80267DAC -/* 80267D94 00264CF4 2C 05 00 00 */ cmpwi r5, 0 -/* 80267D98 00264CF8 7F 83 E3 78 */ mr r3, r28 -/* 80267D9C 00264CFC 38 80 00 04 */ li r4, 4 -/* 80267DA0 00264D00 41 82 00 08 */ beq lbl_80267DA8 -/* 80267DA4 00264D04 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80267DA8: -/* 80267DA8 00264D08 4B F6 E3 55 */ bl sub_801d60fc -lbl_80267DAC: -/* 80267DAC 00264D0C 80 1C 00 04 */ lwz r0, 4(r28) -/* 80267DB0 00264D10 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80267DB4 00264D14 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80267DB8 00264D18 7C 63 02 15 */ add. r3, r3, r0 -/* 80267DBC 00264D1C 41 82 00 1C */ beq lbl_80267DD8 -/* 80267DC0 00264D20 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80267DC4 00264D24 90 03 00 00 */ stw r0, 0(r3) -/* 80267DC8 00264D28 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80267DCC 00264D2C D0 03 00 04 */ stfs f0, 4(r3) -/* 80267DD0 00264D30 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80267DD4 00264D34 98 03 00 08 */ stb r0, 8(r3) -lbl_80267DD8: -/* 80267DD8 00264D38 80 7C 00 04 */ lwz r3, 4(r28) -/* 80267DDC 00264D3C 38 03 00 01 */ addi r0, r3, 1 -/* 80267DE0 00264D40 90 1C 00 04 */ stw r0, 4(r28) -/* 80267DE4 00264D44 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80267DE8 00264D48 2C 00 FF FF */ cmpwi r0, -1 -/* 80267DEC 00264D4C 40 82 00 10 */ bne lbl_80267DFC -/* 80267DF0 00264D50 2C 1E 00 02 */ cmpwi r30, 2 -/* 80267DF4 00264D54 40 82 00 08 */ bne lbl_80267DFC -/* 80267DF8 00264D58 93 FC 00 10 */ stw r31, 0x10(r28) -lbl_80267DFC: -/* 80267DFC 00264D5C 3B FF 00 01 */ addi r31, r31, 1 -lbl_80267E00: -/* 80267E00 00264D60 80 1C 00 08 */ lwz r0, 8(r28) -/* 80267E04 00264D64 7C 1F 00 00 */ cmpw r31, r0 -/* 80267E08 00264D68 41 80 FF 0C */ blt lbl_80267D14 -/* 80267E0C 00264D6C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80267E10 00264D70 7F 83 E3 78 */ mr r3, r28 -/* 80267E14 00264D74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80267E18 00264D78 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80267E1C 00264D7C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80267E20 00264D80 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80267E24 00264D84 7C 08 03 A6 */ mtlr r0 -/* 80267E28 00264D88 38 21 00 30 */ addi r1, r1, 0x30 -/* 80267E2C 00264D8C 4E 80 00 20 */ blr - -.global __ct__12CHintOptionsFv -__ct__12CHintOptionsFv: -/* 80267E30 00264D90 38 80 00 00 */ li r4, 0 -/* 80267E34 00264D94 38 00 FF FF */ li r0, -1 -/* 80267E38 00264D98 90 83 00 04 */ stw r4, 4(r3) -/* 80267E3C 00264D9C 90 83 00 08 */ stw r4, 8(r3) -/* 80267E40 00264DA0 90 83 00 0C */ stw r4, 0xc(r3) -/* 80267E44 00264DA4 90 03 00 10 */ stw r0, 0x10(r3) -/* 80267E48 00264DA8 4E 80 00 20 */ blr - -.global CanContinue__Q212CHintOptions10SHintStateFv -CanContinue__Q212CHintOptions10SHintStateFv: -/* 80267E4C 00264DAC C0 43 00 04 */ lfs f2, 4(r3) -/* 80267E50 00264DB0 C0 22 BA DC */ lfs f1, lbl_805AD7FC@sda21(r2) -/* 80267E54 00264DB4 C0 02 BA EC */ lfs f0, lbl_805AD80C@sda21(r2) -/* 80267E58 00264DB8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80267E5C 00264DBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80267E60 00264DC0 7C 00 00 26 */ mfcr r0 -/* 80267E64 00264DC4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80267E68 00264DC8 4E 80 00 20 */ blr - -.global sub_80267e6c -sub_80267e6c: -/* 80267E6C 00264DCC 90 83 00 00 */ stw r4, 0(r3) -/* 80267E70 00264DD0 38 00 00 00 */ li r0, 0 -/* 80267E74 00264DD4 D0 23 00 04 */ stfs f1, 4(r3) -/* 80267E78 00264DD8 98 03 00 08 */ stb r0, 8(r3) -/* 80267E7C 00264DDC 4E 80 00 20 */ blr - -.global sub_80267e80 -sub_80267e80: -/* 80267E80 00264DE0 38 00 00 00 */ li r0, 0 -/* 80267E84 00264DE4 C0 02 BA E4 */ lfs f0, lbl_805AD804@sda21(r2) -/* 80267E88 00264DE8 90 03 00 00 */ stw r0, 0(r3) -/* 80267E8C 00264DEC D0 03 00 04 */ stfs f0, 4(r3) -/* 80267E90 00264DF0 98 03 00 08 */ stb r0, 8(r3) -/* 80267E94 00264DF4 4E 80 00 20 */ blr - -.global __ct__13CGameHintInfoFR12CInputStreamUi -__ct__13CGameHintInfoFR12CInputStreamUi: -/* 80267E98 00264DF8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80267E9C 00264DFC 7C 08 02 A6 */ mflr r0 -/* 80267EA0 00264E00 90 01 00 54 */ stw r0, 0x54(r1) -/* 80267EA4 00264E04 38 00 00 00 */ li r0, 0 -/* 80267EA8 00264E08 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80267EAC 00264E0C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80267EB0 00264E10 7C BE 2B 78 */ mr r30, r5 -/* 80267EB4 00264E14 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80267EB8 00264E18 7C 9D 23 78 */ mr r29, r4 -/* 80267EBC 00264E1C 93 81 00 40 */ stw r28, 0x40(r1) -/* 80267EC0 00264E20 7C 7C 1B 78 */ mr r28, r3 -/* 80267EC4 00264E24 90 03 00 04 */ stw r0, 4(r3) -/* 80267EC8 00264E28 90 03 00 08 */ stw r0, 8(r3) -/* 80267ECC 00264E2C 7F A3 EB 78 */ mr r3, r29 -/* 80267ED0 00264E30 90 1C 00 0C */ stw r0, 0xc(r28) -/* 80267ED4 00264E34 48 0D 6D B1 */ bl ReadLong__12CInputStreamFv -/* 80267ED8 00264E38 7C 64 1B 78 */ mr r4, r3 -/* 80267EDC 00264E3C 7F 83 E3 78 */ mr r3, r28 -/* 80267EE0 00264E40 48 00 05 09 */ bl "reserve__Q24rstl62vectorFi" -/* 80267EE4 00264E44 3B E0 00 00 */ li r31, 0 -/* 80267EE8 00264E48 48 00 00 30 */ b lbl_80267F18 -lbl_80267EEC: -/* 80267EEC 00264E4C 7F A4 EB 78 */ mr r4, r29 -/* 80267EF0 00264E50 7F C5 F3 78 */ mr r5, r30 -/* 80267EF4 00264E54 38 61 00 08 */ addi r3, r1, 8 -/* 80267EF8 00264E58 48 00 01 FD */ bl __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi -/* 80267EFC 00264E5C 7F 83 E3 78 */ mr r3, r28 -/* 80267F00 00264E60 38 81 00 08 */ addi r4, r1, 8 -/* 80267F04 00264E64 48 00 00 45 */ bl "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" -/* 80267F08 00264E68 38 61 00 08 */ addi r3, r1, 8 -/* 80267F0C 00264E6C 38 80 FF FF */ li r4, -1 -/* 80267F10 00264E70 4B FF F5 41 */ bl __dt__Q213CGameHintInfo9CGameHintFv -/* 80267F14 00264E74 3B FF 00 01 */ addi r31, r31, 1 -lbl_80267F18: -/* 80267F18 00264E78 80 1C 00 08 */ lwz r0, 8(r28) -/* 80267F1C 00264E7C 7C 1F 00 00 */ cmpw r31, r0 -/* 80267F20 00264E80 41 80 FF CC */ blt lbl_80267EEC -/* 80267F24 00264E84 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80267F28 00264E88 7F 83 E3 78 */ mr r3, r28 -/* 80267F2C 00264E8C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80267F30 00264E90 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80267F34 00264E94 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80267F38 00264E98 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80267F3C 00264E9C 7C 08 03 A6 */ mtlr r0 -/* 80267F40 00264EA0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80267F44 00264EA4 4E 80 00 20 */ blr - -.global "push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint" -"push_back__Q24rstl62vectorFRCQ213CGameHintInfo9CGameHint": -/* 80267F48 00264EA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267F4C 00264EAC 7C 08 02 A6 */ mflr r0 -/* 80267F50 00264EB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267F54 00264EB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267F58 00264EB8 7C 9F 23 78 */ mr r31, r4 -/* 80267F5C 00264EBC 93 C1 00 08 */ stw r30, 8(r1) -/* 80267F60 00264EC0 7C 7E 1B 78 */ mr r30, r3 -/* 80267F64 00264EC4 80 03 00 04 */ lwz r0, 4(r3) -/* 80267F68 00264EC8 80 A3 00 08 */ lwz r5, 8(r3) -/* 80267F6C 00264ECC 7C 00 28 00 */ cmpw r0, r5 -/* 80267F70 00264ED0 41 80 00 18 */ blt lbl_80267F88 -/* 80267F74 00264ED4 2C 05 00 00 */ cmpwi r5, 0 -/* 80267F78 00264ED8 38 80 00 04 */ li r4, 4 -/* 80267F7C 00264EDC 41 82 00 08 */ beq lbl_80267F84 -/* 80267F80 00264EE0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80267F84: -/* 80267F84 00264EE4 48 00 04 65 */ bl "reserve__Q24rstl62vectorFi" -lbl_80267F88: -/* 80267F88 00264EE8 80 1E 00 04 */ lwz r0, 4(r30) -/* 80267F8C 00264EEC 7F E4 FB 78 */ mr r4, r31 -/* 80267F90 00264EF0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80267F94 00264EF4 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80267F98 00264EF8 7C 63 02 14 */ add r3, r3, r0 -/* 80267F9C 00264EFC 48 00 00 29 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" -/* 80267FA0 00264F00 80 7E 00 04 */ lwz r3, 4(r30) -/* 80267FA4 00264F04 38 03 00 01 */ addi r0, r3, 1 -/* 80267FA8 00264F08 90 1E 00 04 */ stw r0, 4(r30) -/* 80267FAC 00264F0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267FB0 00264F10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80267FB4 00264F14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267FB8 00264F18 7C 08 03 A6 */ mtlr r0 -/* 80267FBC 00264F1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267FC0 00264F20 4E 80 00 20 */ blr - -.global "construct__4rstlFRCQ213CGameHintInfo9CGameHint" -"construct__4rstlFRCQ213CGameHintInfo9CGameHint": -/* 80267FC4 00264F24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267FC8 00264F28 7C 08 02 A6 */ mflr r0 -/* 80267FCC 00264F2C 28 03 00 00 */ cmplwi r3, 0 -/* 80267FD0 00264F30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267FD4 00264F34 41 82 00 08 */ beq lbl_80267FDC -/* 80267FD8 00264F38 48 00 00 15 */ bl __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint -lbl_80267FDC: -/* 80267FDC 00264F3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267FE0 00264F40 7C 08 03 A6 */ mtlr r0 -/* 80267FE4 00264F44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267FE8 00264F48 4E 80 00 20 */ blr - -.global __ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint -__ct__Q213CGameHintInfo9CGameHintFRCQ213CGameHintInfo9CGameHint: -/* 80267FEC 00264F4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267FF0 00264F50 7C 08 02 A6 */ mflr r0 -/* 80267FF4 00264F54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267FF8 00264F58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267FFC 00264F5C 7C 7F 1B 78 */ mr r31, r3 -/* 80268000 00264F60 93 C1 00 08 */ stw r30, 8(r1) -/* 80268004 00264F64 7C 9E 23 78 */ mr r30, r4 -/* 80268008 00264F68 48 0D 61 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8026800C 00264F6C C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80268010 00264F70 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80268014 00264F74 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 80268018 00264F78 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8026801C 00264F7C 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80268020 00264F80 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80268024 00264F84 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80268028 00264F88 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8026802C 00264F8C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80268030 00264F90 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80268034 00264F94 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80268038 00264F98 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8026803C 00264F9C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80268040 00264FA0 2C 00 00 00 */ cmpwi r0, 0 -/* 80268044 00264FA4 40 82 00 1C */ bne lbl_80268060 -/* 80268048 00264FA8 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8026804C 00264FAC 2C 00 00 00 */ cmpwi r0, 0 -/* 80268050 00264FB0 40 82 00 10 */ bne lbl_80268060 -/* 80268054 00264FB4 38 00 00 00 */ li r0, 0 -/* 80268058 00264FB8 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8026805C 00264FBC 48 00 00 7C */ b lbl_802680D8 -lbl_80268060: -/* 80268060 00264FC0 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80268064 00264FC4 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b -/* 80268068 00264FC8 40 82 00 10 */ bne lbl_80268078 -/* 8026806C 00264FCC 38 00 00 00 */ li r0, 0 -/* 80268070 00264FD0 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80268074 00264FD4 48 00 00 18 */ b lbl_8026808C -lbl_80268078: -/* 80268078 00264FD8 3C 80 80 3D */ lis r4, lbl_803D53C0@ha -/* 8026807C 00264FDC 38 A0 00 00 */ li r5, 0 -/* 80268080 00264FE0 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l -/* 80268084 00264FE4 48 0A D7 95 */ bl __nwa__FUlPCcPCc -/* 80268088 00264FE8 90 7F 00 2C */ stw r3, 0x2c(r31) -lbl_8026808C: -/* 8026808C 00264FEC 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80268090 00264FF0 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 80268094 00264FF4 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80268098 00264FF8 7C 09 03 A6 */ mtctr r0 -/* 8026809C 00264FFC 2C 00 00 00 */ cmpwi r0, 0 -/* 802680A0 00265000 40 81 00 38 */ ble lbl_802680D8 -lbl_802680A4: -/* 802680A4 00265004 28 03 00 00 */ cmplwi r3, 0 -/* 802680A8 00265008 41 82 00 24 */ beq lbl_802680CC -/* 802680AC 0026500C 80 04 00 00 */ lwz r0, 0(r4) -/* 802680B0 00265010 90 03 00 00 */ stw r0, 0(r3) -/* 802680B4 00265014 80 04 00 04 */ lwz r0, 4(r4) -/* 802680B8 00265018 90 03 00 04 */ stw r0, 4(r3) -/* 802680BC 0026501C 80 04 00 08 */ lwz r0, 8(r4) -/* 802680C0 00265020 90 03 00 08 */ stw r0, 8(r3) -/* 802680C4 00265024 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802680C8 00265028 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802680CC: -/* 802680CC 0026502C 38 63 00 10 */ addi r3, r3, 0x10 -/* 802680D0 00265030 38 84 00 10 */ addi r4, r4, 0x10 -/* 802680D4 00265034 42 00 FF D0 */ bdnz lbl_802680A4 -lbl_802680D8: -/* 802680D8 00265038 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802680DC 0026503C 7F E3 FB 78 */ mr r3, r31 -/* 802680E0 00265040 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802680E4 00265044 83 C1 00 08 */ lwz r30, 8(r1) -/* 802680E8 00265048 7C 08 03 A6 */ mtlr r0 -/* 802680EC 0026504C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802680F0 00265050 4E 80 00 20 */ blr - -.global __ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi -__ct__Q213CGameHintInfo9CGameHintFR12CInputStreamUi: -/* 802680F4 00265054 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802680F8 00265058 7C 08 02 A6 */ mflr r0 -/* 802680FC 0026505C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80268100 00265060 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80268104 00265064 7C 9F 23 78 */ mr r31, r4 -/* 80268108 00265068 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8026810C 0026506C 7C 7E 1B 78 */ mr r30, r3 -/* 80268110 00265070 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80268114 00265074 93 81 00 30 */ stw r28, 0x30(r1) -/* 80268118 00265078 7C BC 2B 78 */ mr r28, r5 -/* 8026811C 0026507C 38 A1 00 08 */ addi r5, r1, 8 -/* 80268120 00265080 48 0D 61 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80268124 00265084 7F E3 FB 78 */ mr r3, r31 -/* 80268128 00265088 48 0D 6B 01 */ bl ReadFloat__12CInputStreamFv -/* 8026812C 0026508C D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80268130 00265090 7F E3 FB 78 */ mr r3, r31 -/* 80268134 00265094 48 0D 6A F5 */ bl ReadFloat__12CInputStreamFv -/* 80268138 00265098 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 8026813C 0026509C 7F E3 FB 78 */ mr r3, r31 -/* 80268140 002650A0 48 0D 6B 45 */ bl ReadLong__12CInputStreamFv -/* 80268144 002650A4 2C 1C 00 00 */ cmpwi r28, 0 -/* 80268148 002650A8 90 7E 00 18 */ stw r3, 0x18(r30) -/* 8026814C 002650AC 40 81 00 10 */ ble lbl_8026815C -/* 80268150 002650B0 7F E3 FB 78 */ mr r3, r31 -/* 80268154 002650B4 48 0D 6B 31 */ bl ReadLong__12CInputStreamFv -/* 80268158 002650B8 48 00 00 08 */ b lbl_80268160 -lbl_8026815C: -/* 8026815C 002650BC 38 60 00 01 */ li r3, 1 -lbl_80268160: -/* 80268160 002650C0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80268164 002650C4 3C 80 43 30 */ lis r4, 0x4330 -/* 80268168 002650C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026816C 002650CC 38 00 00 00 */ li r0, 0 -/* 80268170 002650D0 C8 22 BA F0 */ lfd f1, lbl_805AD810@sda21(r2) -/* 80268174 002650D4 7F E3 FB 78 */ mr r3, r31 -/* 80268178 002650D8 90 81 00 20 */ stw r4, 0x20(r1) -/* 8026817C 002650DC C0 42 BA DC */ lfs f2, lbl_805AD7FC@sda21(r2) -/* 80268180 002650E0 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80268184 002650E4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80268188 002650E8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8026818C 002650EC D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80268190 002650F0 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80268194 002650F4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80268198 002650F8 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 8026819C 002650FC 48 0D 6A E9 */ bl ReadLong__12CInputStreamFv -/* 802681A0 00265100 7C 7C 1B 78 */ mr r28, r3 -/* 802681A4 00265104 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802681A8 00265108 7F 84 E3 78 */ mr r4, r28 -/* 802681AC 0026510C 48 00 01 39 */ bl "reserve__Q24rstl67vectorFi" -/* 802681B0 00265110 3B A0 00 00 */ li r29, 0 -/* 802681B4 00265114 48 00 00 7C */ b lbl_80268230 -lbl_802681B8: -/* 802681B8 00265118 7F E4 FB 78 */ mr r4, r31 -/* 802681BC 0026511C 38 61 00 0C */ addi r3, r1, 0xc -/* 802681C0 00265120 48 00 00 9D */ bl __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream -/* 802681C4 00265124 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802681C8 00265128 80 BE 00 28 */ lwz r5, 0x28(r30) -/* 802681CC 0026512C 7C 00 28 00 */ cmpw r0, r5 -/* 802681D0 00265130 41 80 00 1C */ blt lbl_802681EC -/* 802681D4 00265134 2C 05 00 00 */ cmpwi r5, 0 -/* 802681D8 00265138 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802681DC 0026513C 38 80 00 04 */ li r4, 4 -/* 802681E0 00265140 41 82 00 08 */ beq lbl_802681E8 -/* 802681E4 00265144 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802681E8: -/* 802681E8 00265148 48 00 00 FD */ bl "reserve__Q24rstl67vectorFi" -lbl_802681EC: -/* 802681EC 0026514C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802681F0 00265150 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802681F4 00265154 54 00 20 36 */ slwi r0, r0, 4 -/* 802681F8 00265158 7C 63 02 15 */ add. r3, r3, r0 -/* 802681FC 0026515C 41 82 00 24 */ beq lbl_80268220 -/* 80268200 00265160 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80268204 00265164 90 03 00 00 */ stw r0, 0(r3) -/* 80268208 00265168 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8026820C 0026516C 90 03 00 04 */ stw r0, 4(r3) -/* 80268210 00265170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268214 00265174 90 03 00 08 */ stw r0, 8(r3) -/* 80268218 00265178 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8026821C 0026517C 90 03 00 0C */ stw r0, 0xc(r3) -lbl_80268220: -/* 80268220 00265180 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80268224 00265184 3B BD 00 01 */ addi r29, r29, 1 -/* 80268228 00265188 38 03 00 01 */ addi r0, r3, 1 -/* 8026822C 0026518C 90 1E 00 24 */ stw r0, 0x24(r30) -lbl_80268230: -/* 80268230 00265190 7C 1D E0 00 */ cmpw r29, r28 -/* 80268234 00265194 41 80 FF 84 */ blt lbl_802681B8 -/* 80268238 00265198 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026823C 0026519C 7F C3 F3 78 */ mr r3, r30 -/* 80268240 002651A0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80268244 002651A4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80268248 002651A8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8026824C 002651AC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80268250 002651B0 7C 08 03 A6 */ mtlr r0 -/* 80268254 002651B4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80268258 002651B8 4E 80 00 20 */ blr - -.global __ct__Q213CGameHintInfo13SHintLocationFR12CInputStream -__ct__Q213CGameHintInfo13SHintLocationFR12CInputStream: -/* 8026825C 002651BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268260 002651C0 7C 08 02 A6 */ mflr r0 -/* 80268264 002651C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268268 002651C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026826C 002651CC 7C 9F 23 78 */ mr r31, r4 -/* 80268270 002651D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80268274 002651D4 7C 7E 1B 78 */ mr r30, r3 -/* 80268278 002651D8 7F E3 FB 78 */ mr r3, r31 -/* 8026827C 002651DC 48 0D 6A 09 */ bl ReadLong__12CInputStreamFv -/* 80268280 002651E0 90 7E 00 00 */ stw r3, 0(r30) -/* 80268284 002651E4 7F E3 FB 78 */ mr r3, r31 -/* 80268288 002651E8 48 0D 69 FD */ bl ReadLong__12CInputStreamFv -/* 8026828C 002651EC 90 7E 00 04 */ stw r3, 4(r30) -/* 80268290 002651F0 7F E3 FB 78 */ mr r3, r31 -/* 80268294 002651F4 48 0D 69 F1 */ bl ReadLong__12CInputStreamFv -/* 80268298 002651F8 90 7E 00 08 */ stw r3, 8(r30) -/* 8026829C 002651FC 7F E3 FB 78 */ mr r3, r31 -/* 802682A0 00265200 48 0D 69 E5 */ bl ReadLong__12CInputStreamFv -/* 802682A4 00265204 90 7E 00 0C */ stw r3, 0xc(r30) -/* 802682A8 00265208 7F C3 F3 78 */ mr r3, r30 -/* 802682AC 0026520C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802682B0 00265210 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802682B4 00265214 83 C1 00 08 */ lwz r30, 8(r1) -/* 802682B8 00265218 7C 08 03 A6 */ mtlr r0 -/* 802682BC 0026521C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802682C0 00265220 4E 80 00 20 */ blr - -.global GetBitCount__16CGameHintManagerFi -GetBitCount__16CGameHintManagerFi: -/* 802682C4 00265224 38 80 00 00 */ li r4, 0 -/* 802682C8 00265228 48 00 00 0C */ b lbl_802682D4 -lbl_802682CC: -/* 802682CC 0026522C 54 63 F8 7E */ srwi r3, r3, 1 -/* 802682D0 00265230 38 84 00 01 */ addi r4, r4, 1 -lbl_802682D4: -/* 802682D4 00265234 28 03 00 00 */ cmplwi r3, 0 -/* 802682D8 00265238 40 82 FF F4 */ bne lbl_802682CC -/* 802682DC 0026523C 7C 83 23 78 */ mr r3, r4 -/* 802682E0 00265240 4E 80 00 20 */ blr - -.global "reserve__Q24rstl67vectorFi" -"reserve__Q24rstl67vectorFi": -/* 802682E4 00265244 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802682E8 00265248 7C 08 02 A6 */ mflr r0 -/* 802682EC 0026524C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802682F0 00265250 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802682F4 00265254 7C 9F 23 78 */ mr r31, r4 -/* 802682F8 00265258 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802682FC 0026525C 7C 7E 1B 78 */ mr r30, r3 -/* 80268300 00265260 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80268304 00265264 80 03 00 08 */ lwz r0, 8(r3) -/* 80268308 00265268 7C 1F 00 00 */ cmpw r31, r0 -/* 8026830C 0026526C 40 81 00 C0 */ ble lbl_802683CC -/* 80268310 00265270 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 80268314 00265274 40 82 00 0C */ bne lbl_80268320 -/* 80268318 00265278 3B A0 00 00 */ li r29, 0 -/* 8026831C 0026527C 48 00 00 18 */ b lbl_80268334 -lbl_80268320: -/* 80268320 00265280 3C 80 80 3D */ lis r4, lbl_803D53C0@ha -/* 80268324 00265284 38 A0 00 00 */ li r5, 0 -/* 80268328 00265288 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l -/* 8026832C 0026528C 48 0A D4 ED */ bl __nwa__FUlPCcPCc -/* 80268330 00265290 7C 7D 1B 78 */ mr r29, r3 -lbl_80268334: -/* 80268334 00265294 80 1E 00 04 */ lwz r0, 4(r30) -/* 80268338 00265298 7F A4 EB 78 */ mr r4, r29 -/* 8026833C 0026529C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80268340 002652A0 54 00 20 36 */ slwi r0, r0, 4 -/* 80268344 002652A4 7C 65 02 14 */ add r3, r5, r0 -/* 80268348 002652A8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8026834C 002652AC 90 61 00 08 */ stw r3, 8(r1) -/* 80268350 002652B0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80268354 002652B4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80268358 002652B8 48 00 00 34 */ b lbl_8026838C -lbl_8026835C: -/* 8026835C 002652BC 28 04 00 00 */ cmplwi r4, 0 -/* 80268360 002652C0 41 82 00 24 */ beq lbl_80268384 -/* 80268364 002652C4 80 05 00 00 */ lwz r0, 0(r5) -/* 80268368 002652C8 90 04 00 00 */ stw r0, 0(r4) -/* 8026836C 002652CC 80 05 00 04 */ lwz r0, 4(r5) -/* 80268370 002652D0 90 04 00 04 */ stw r0, 4(r4) -/* 80268374 002652D4 80 05 00 08 */ lwz r0, 8(r5) -/* 80268378 002652D8 90 04 00 08 */ stw r0, 8(r4) -/* 8026837C 002652DC 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80268380 002652E0 90 04 00 0C */ stw r0, 0xc(r4) -lbl_80268384: -/* 80268384 002652E4 38 84 00 10 */ addi r4, r4, 0x10 -/* 80268388 002652E8 38 A5 00 10 */ addi r5, r5, 0x10 -lbl_8026838C: -/* 8026838C 002652EC 7C 05 18 40 */ cmplw r5, r3 -/* 80268390 002652F0 40 82 FF CC */ bne lbl_8026835C -/* 80268394 002652F4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80268398 002652F8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8026839C 002652FC 54 00 20 36 */ slwi r0, r0, 4 -/* 802683A0 00265300 7C 64 1B 78 */ mr r4, r3 -/* 802683A4 00265304 7C 03 02 14 */ add r0, r3, r0 -/* 802683A8 00265308 48 00 00 08 */ b lbl_802683B0 -lbl_802683AC: -/* 802683AC 0026530C 38 84 00 10 */ addi r4, r4, 0x10 -lbl_802683B0: -/* 802683B0 00265310 7C 04 00 40 */ cmplw r4, r0 -/* 802683B4 00265314 40 82 FF F8 */ bne lbl_802683AC -/* 802683B8 00265318 28 03 00 00 */ cmplwi r3, 0 -/* 802683BC 0026531C 41 82 00 08 */ beq lbl_802683C4 -/* 802683C0 00265320 48 0A D5 71 */ bl Free__7CMemoryFPCv -lbl_802683C4: -/* 802683C4 00265324 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802683C8 00265328 93 FE 00 08 */ stw r31, 8(r30) -lbl_802683CC: -/* 802683CC 0026532C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802683D0 00265330 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802683D4 00265334 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802683D8 00265338 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802683DC 0026533C 7C 08 03 A6 */ mtlr r0 -/* 802683E0 00265340 38 21 00 30 */ addi r1, r1, 0x30 -/* 802683E4 00265344 4E 80 00 20 */ blr - -.global "reserve__Q24rstl62vectorFi" -"reserve__Q24rstl62vectorFi": -/* 802683E8 00265348 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802683EC 0026534C 7C 08 02 A6 */ mflr r0 -/* 802683F0 00265350 90 01 00 34 */ stw r0, 0x34(r1) -/* 802683F4 00265354 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802683F8 00265358 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802683FC 0026535C 7C 9E 23 78 */ mr r30, r4 -/* 80268400 00265360 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80268404 00265364 7C 7D 1B 78 */ mr r29, r3 -/* 80268408 00265368 80 03 00 08 */ lwz r0, 8(r3) -/* 8026840C 0026536C 7C 1E 00 00 */ cmpw r30, r0 -/* 80268410 00265370 40 81 00 8C */ ble lbl_8026849C -/* 80268414 00265374 1C 7E 00 30 */ mulli r3, r30, 0x30 -/* 80268418 00265378 2C 03 00 00 */ cmpwi r3, 0 -/* 8026841C 0026537C 40 82 00 0C */ bne lbl_80268428 -/* 80268420 00265380 3B E0 00 00 */ li r31, 0 -/* 80268424 00265384 48 00 00 18 */ b lbl_8026843C -lbl_80268428: -/* 80268428 00265388 3C 80 80 3D */ lis r4, lbl_803D53C0@ha -/* 8026842C 0026538C 38 A0 00 00 */ li r5, 0 -/* 80268430 00265390 38 84 53 C0 */ addi r4, r4, lbl_803D53C0@l -/* 80268434 00265394 48 0A D3 E5 */ bl __nwa__FUlPCcPCc -/* 80268438 00265398 7C 7F 1B 78 */ mr r31, r3 -lbl_8026843C: -/* 8026843C 0026539C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80268440 002653A0 7F E5 FB 78 */ mr r5, r31 -/* 80268444 002653A4 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80268448 002653A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026844C 002653AC 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80268450 002653B0 38 81 00 0C */ addi r4, r1, 0xc -/* 80268454 002653B4 7C C6 02 14 */ add r6, r6, r0 -/* 80268458 002653B8 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026845C 002653BC 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80268460 002653C0 90 C1 00 08 */ stw r6, 8(r1) -/* 80268464 002653C4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80268468 002653C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026846C 002653CC 48 00 00 99 */ bl sub_80268504 -/* 80268470 002653D0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80268474 002653D4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80268478 002653D8 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8026847C 002653DC 7C 83 02 14 */ add r4, r3, r0 -/* 80268480 002653E0 48 00 00 39 */ bl sub_802684b8 -/* 80268484 002653E4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80268488 002653E8 28 03 00 00 */ cmplwi r3, 0 -/* 8026848C 002653EC 41 82 00 08 */ beq lbl_80268494 -/* 80268490 002653F0 48 0A D4 A1 */ bl Free__7CMemoryFPCv -lbl_80268494: -/* 80268494 002653F4 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80268498 002653F8 93 DD 00 08 */ stw r30, 8(r29) -lbl_8026849C: -/* 8026849C 002653FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802684A0 00265400 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802684A4 00265404 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802684A8 00265408 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802684AC 0026540C 7C 08 03 A6 */ mtlr r0 -/* 802684B0 00265410 38 21 00 30 */ addi r1, r1, 0x30 -/* 802684B4 00265414 4E 80 00 20 */ blr - -.global sub_802684b8 -sub_802684b8: -/* 802684B8 00265418 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802684BC 0026541C 7C 08 02 A6 */ mflr r0 -/* 802684C0 00265420 90 01 00 14 */ stw r0, 0x14(r1) -/* 802684C4 00265424 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802684C8 00265428 7C 7F 1B 78 */ mr r31, r3 -/* 802684CC 0026542C 93 C1 00 08 */ stw r30, 8(r1) -/* 802684D0 00265430 7C 9E 23 78 */ mr r30, r4 -/* 802684D4 00265434 48 00 00 10 */ b lbl_802684E4 -lbl_802684D8: -/* 802684D8 00265438 7F E3 FB 78 */ mr r3, r31 -/* 802684DC 0026543C 4B FF EF 51 */ bl sub_8026742c -/* 802684E0 00265440 3B FF 00 30 */ addi r31, r31, 0x30 -lbl_802684E4: -/* 802684E4 00265444 7C 1F F0 40 */ cmplw r31, r30 -/* 802684E8 00265448 40 82 FF F0 */ bne lbl_802684D8 -/* 802684EC 0026544C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802684F0 00265450 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802684F4 00265454 83 C1 00 08 */ lwz r30, 8(r1) -/* 802684F8 00265458 7C 08 03 A6 */ mtlr r0 -/* 802684FC 0026545C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80268500 00265460 4E 80 00 20 */ blr - -.global sub_80268504 -sub_80268504: -/* 80268504 00265464 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80268508 00265468 7C 08 02 A6 */ mflr r0 -/* 8026850C 0026546C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80268510 00265470 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80268514 00265474 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80268518 00265478 7C BE 2B 78 */ mr r30, r5 -/* 8026851C 0026547C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80268520 00265480 7C 9D 23 78 */ mr r29, r4 -/* 80268524 00265484 83 E3 00 00 */ lwz r31, 0(r3) -/* 80268528 00265488 48 00 00 18 */ b lbl_80268540 -lbl_8026852C: -/* 8026852C 0026548C 7F C3 F3 78 */ mr r3, r30 -/* 80268530 00265490 7F E4 FB 78 */ mr r4, r31 -/* 80268534 00265494 4B FF FA 91 */ bl "construct__4rstlFRCQ213CGameHintInfo9CGameHint" -/* 80268538 00265498 3B DE 00 30 */ addi r30, r30, 0x30 -/* 8026853C 0026549C 3B FF 00 30 */ addi r31, r31, 0x30 -lbl_80268540: -/* 80268540 002654A0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80268544 002654A4 7C 1F 00 40 */ cmplw r31, r0 -/* 80268548 002654A8 40 82 FF E4 */ bne lbl_8026852C -/* 8026854C 002654AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80268550 002654B0 7F C3 F3 78 */ mr r3, r30 -/* 80268554 002654B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80268558 002654B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026855C 002654BC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80268560 002654C0 7C 08 03 A6 */ mtlr r0 -/* 80268564 002654C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80268568 002654C8 4E 80 00 20 */ blr - -.global Think__11CWallWalkerFfR13CStateManager -Think__11CWallWalkerFfR13CStateManager: -/* 8026856C 002654CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80268570 002654D0 7C 08 02 A6 */ mflr r0 -/* 80268574 002654D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80268578 002654D8 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8026857C 002654DC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80268580 002654E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80268584 002654E4 7C 7F 1B 78 */ mr r31, r3 -/* 80268588 002654E8 FF E0 08 90 */ fmr f31, f1 -/* 8026858C 002654EC 4B E1 15 8D */ bl Think__10CPatternedFfR13CStateManager -/* 80268590 002654F0 80 1F 05 CC */ lwz r0, 0x5cc(r31) -/* 80268594 002654F4 2C 00 FF FF */ cmpwi r0, -1 -/* 80268598 002654F8 41 82 01 18 */ beq lbl_802686B0 -/* 8026859C 002654FC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 802685A0 00265500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802685A4 00265504 41 82 00 50 */ beq lbl_802685F4 -/* 802685A8 00265508 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) -/* 802685AC 0026550C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) -/* 802685B0 00265510 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802685B4 00265514 40 80 00 88 */ bge lbl_8026863C -/* 802685B8 00265518 38 7F 01 38 */ addi r3, r31, 0x138 -/* 802685BC 0026551C 48 0A C2 FD */ bl Magnitude__9CVector3fCFv -/* 802685C0 00265520 EC 5F 00 72 */ fmuls f2, f31, f1 -/* 802685C4 00265524 C0 22 BB 00 */ lfs f1, lbl_805AD820@sda21(r2) -/* 802685C8 00265528 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) -/* 802685CC 0026552C C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) -/* 802685D0 00265530 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802685D4 00265534 EC 23 08 2A */ fadds f1, f3, f1 -/* 802685D8 00265538 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) -/* 802685DC 0026553C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) -/* 802685E0 00265540 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802685E4 00265544 4C 41 13 82 */ cror 2, 1, 2 -/* 802685E8 00265548 40 82 00 54 */ bne lbl_8026863C -/* 802685EC 0026554C D0 1F 05 C8 */ stfs f0, 0x5c8(r31) -/* 802685F0 00265550 48 00 00 4C */ b lbl_8026863C -lbl_802685F4: -/* 802685F4 00265554 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) -/* 802685F8 00265558 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 802685FC 0026555C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268600 00265560 40 81 00 3C */ ble lbl_8026863C -/* 80268604 00265564 38 7F 01 38 */ addi r3, r31, 0x138 -/* 80268608 00265568 48 0A C2 B1 */ bl Magnitude__9CVector3fCFv -/* 8026860C 0026556C EC 5F 00 72 */ fmuls f2, f31, f1 -/* 80268610 00265570 C0 22 BB 08 */ lfs f1, lbl_805AD828@sda21(r2) -/* 80268614 00265574 C0 7F 05 C8 */ lfs f3, 0x5c8(r31) -/* 80268618 00265578 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 8026861C 0026557C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80268620 00265580 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80268624 00265584 D0 3F 05 C8 */ stfs f1, 0x5c8(r31) -/* 80268628 00265588 C0 3F 05 C8 */ lfs f1, 0x5c8(r31) -/* 8026862C 0026558C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268630 00265590 4C 40 13 82 */ cror 2, 0, 2 -/* 80268634 00265594 40 82 00 08 */ bne lbl_8026863C -/* 80268638 00265598 D0 1F 05 C8 */ stfs f0, 0x5c8(r31) -lbl_8026863C: -/* 8026863C 0026559C C0 3F 05 C8 */ lfs f1, 0x5c8(r31) -/* 80268640 002655A0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 80268644 002655A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268648 002655A8 41 81 00 10 */ bgt lbl_80268658 -/* 8026864C 002655AC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 80268650 002655B0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80268654 002655B4 41 82 00 5C */ beq lbl_802686B0 -lbl_80268658: -/* 80268658 002655B8 C0 02 BB 0C */ lfs f0, lbl_805AD82C@sda21(r2) -/* 8026865C 002655BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268660 002655C0 40 81 00 30 */ ble lbl_80268690 -/* 80268664 002655C4 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80268668 002655C8 38 A0 00 01 */ li r5, 1 -/* 8026866C 002655CC 80 9F 05 CC */ lwz r4, 0x5cc(r31) -/* 80268670 002655D0 38 C0 00 00 */ li r6, 0 -/* 80268674 002655D4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80268678 002655D8 4B DC 1B 59 */ bl AddAdditiveAnimation__9CAnimDataFUifbb -/* 8026867C 002655DC 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 80268680 002655E0 38 60 00 01 */ li r3, 1 -/* 80268684 002655E4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80268688 002655E8 98 1F 05 D6 */ stb r0, 0x5d6(r31) -/* 8026868C 002655EC 48 00 00 24 */ b lbl_802686B0 -lbl_80268690: -/* 80268690 002655F0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80268694 002655F4 80 9F 05 CC */ lwz r4, 0x5cc(r31) -/* 80268698 002655F8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8026869C 002655FC 4B DC 1A BD */ bl DelAdditiveAnimation__9CAnimDataFUi -/* 802686A0 00265600 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 802686A4 00265604 38 60 00 00 */ li r3, 0 -/* 802686A8 00265608 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 802686AC 0026560C 98 1F 05 D6 */ stb r0, 0x5d6(r31) -lbl_802686B0: -/* 802686B0 00265610 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 802686B4 00265614 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802686B8 00265618 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 802686BC 0026561C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802686C0 00265620 7C 08 03 A6 */ mtlr r0 -/* 802686C4 00265624 38 21 00 20 */ addi r1, r1, 0x20 -/* 802686C8 00265628 4E 80 00 20 */ blr - -.global Render__11CWallWalkerCFRC13CStateManager -Render__11CWallWalkerCFRC13CStateManager: -/* 802686CC 0026562C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802686D0 00265630 7C 08 02 A6 */ mflr r0 -/* 802686D4 00265634 90 01 00 14 */ stw r0, 0x14(r1) -/* 802686D8 00265638 4B E0 F9 55 */ bl Render__10CPatternedCFRC13CStateManager -/* 802686DC 0026563C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802686E0 00265640 7C 08 03 A6 */ mtlr r0 -/* 802686E4 00265644 38 21 00 10 */ addi r1, r1, 0x10 -/* 802686E8 00265648 4E 80 00 20 */ blr - -.global GotoNextWaypoint__11CWallWalkerFR13CStateManager -GotoNextWaypoint__11CWallWalkerFR13CStateManager: -/* 802686EC 0026564C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802686F0 00265650 7C 08 02 A6 */ mflr r0 -/* 802686F4 00265654 90 01 00 54 */ stw r0, 0x54(r1) -/* 802686F8 00265658 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802686FC 0026565C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80268700 00265660 7C 9E 23 78 */ mr r30, r4 -/* 80268704 00265664 38 81 00 14 */ addi r4, r1, 0x14 -/* 80268708 00265668 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8026870C 0026566C 7C 7D 1B 78 */ mr r29, r3 -/* 80268710 00265670 A0 03 02 DC */ lhz r0, 0x2dc(r3) -/* 80268714 00265674 7F C3 F3 78 */ mr r3, r30 -/* 80268718 00265678 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8026871C 0026567C 4B DE 3E 59 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80268720 00265680 7C 64 1B 78 */ mr r4, r3 -/* 80268724 00265684 38 61 00 18 */ addi r3, r1, 0x18 -/* 80268728 00265688 4B E3 DE 25 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8026872C 0026568C 83 E3 00 04 */ lwz r31, 4(r3) -/* 80268730 00265690 28 1F 00 00 */ cmplwi r31, 0 -/* 80268734 00265694 41 82 00 E0 */ beq lbl_80268814 -/* 80268738 00265698 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8026873C 0026569C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 80268740 002656A0 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80268744 002656A4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80268748 002656A8 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8026874C 002656AC D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80268750 002656B0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80268754 002656B4 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80268758 002656B8 EC A3 08 28 */ fsubs f5, f3, f1 -/* 8026875C 002656BC C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 80268760 002656C0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80268764 002656C4 C0 DD 05 C0 */ lfs f6, 0x5c0(r29) -/* 80268768 002656C8 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8026876C 002656CC EC 25 01 72 */ fmuls f1, f5, f5 -/* 80268770 002656D0 EC 40 00 32 */ fmuls f2, f0, f0 -/* 80268774 002656D4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80268778 002656D8 EC 64 01 32 */ fmuls f3, f4, f4 -/* 8026877C 002656DC EC 06 01 B2 */ fmuls f0, f6, f6 -/* 80268780 002656E0 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80268784 002656E4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80268788 002656E8 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8026878C 002656EC EC 23 08 2A */ fadds f1, f3, f1 -/* 80268790 002656F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268794 002656F4 40 80 00 74 */ bge lbl_80268808 -/* 80268798 002656F8 7F E4 FB 78 */ mr r4, r31 -/* 8026879C 002656FC 7F C5 F3 78 */ mr r5, r30 -/* 802687A0 00265700 38 61 00 10 */ addi r3, r1, 0x10 -/* 802687A4 00265704 4B E0 E9 91 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 802687A8 00265708 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 802687AC 0026570C C0 22 BB 04 */ lfs f1, lbl_805AD824@sda21(r2) -/* 802687B0 00265710 B0 1D 02 DC */ sth r0, 0x2dc(r29) -/* 802687B4 00265714 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) -/* 802687B8 00265718 C0 5F 00 F0 */ lfs f2, 0xf0(r31) -/* 802687BC 0026571C EC 22 08 28 */ fsubs f1, f2, f1 -/* 802687C0 00265720 FC 20 0A 10 */ fabs f1, f1 -/* 802687C4 00265724 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802687C8 00265728 41 80 00 20 */ blt lbl_802687E8 -/* 802687CC 0026572C D0 5D 05 BC */ stfs f2, 0x5bc(r29) -/* 802687D0 00265730 80 1D 05 D0 */ lwz r0, 0x5d0(r29) -/* 802687D4 00265734 2C 00 00 00 */ cmpwi r0, 0 -/* 802687D8 00265738 40 82 00 10 */ bne lbl_802687E8 -/* 802687DC 0026573C 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 802687E0 00265740 38 80 00 01 */ li r4, 1 -/* 802687E4 00265744 4B ED 21 F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_802687E8: -/* 802687E8 00265748 A0 1D 00 08 */ lhz r0, 8(r29) -/* 802687EC 0026574C 7F C3 F3 78 */ mr r3, r30 -/* 802687F0 00265750 7F E4 FB 78 */ mr r4, r31 -/* 802687F4 00265754 38 A1 00 0C */ addi r5, r1, 0xc -/* 802687F8 00265758 B0 01 00 08 */ sth r0, 8(r1) -/* 802687FC 0026575C 38 C0 00 02 */ li r6, 2 -/* 80268800 00265760 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80268804 00265764 4B DD B6 CD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80268808: -/* 80268808 00265768 7F A3 EB 78 */ mr r3, r29 -/* 8026880C 0026576C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80268810 00265770 4B E1 43 4D */ bl SetDestPos__10CPatternedFRC9CVector3f -lbl_80268814: -/* 80268814 00265774 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80268818 00265778 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026881C 0026577C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80268820 00265780 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80268824 00265784 7C 08 03 A6 */ mtlr r0 -/* 80268828 00265788 38 21 00 50 */ addi r1, r1, 0x50 -/* 8026882C 0026578C 4E 80 00 20 */ blr - -.global PreThink__11CWallWalkerFfR13CStateManager -PreThink__11CWallWalkerFfR13CStateManager: -/* 80268830 00265790 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80268834 00265794 7C 08 02 A6 */ mflr r0 -/* 80268838 00265798 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8026883C 0026579C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80268840 002657A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80268844 002657A4 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80268848 002657A8 7C 7F 1B 78 */ mr r31, r3 -/* 8026884C 002657AC FF E0 08 90 */ fmr f31, f1 -/* 80268850 002657B0 4B E0 F1 41 */ bl PreThink__10CPatternedFfR13CStateManager -/* 80268854 002657B4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80268858 002657B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8026885C 002657BC 41 82 01 C8 */ beq lbl_80268A24 -/* 80268860 002657C0 88 7F 05 D6 */ lbz r3, 0x5d6(r31) -/* 80268864 002657C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80268868 002657C8 40 82 01 BC */ bne lbl_80268A24 -/* 8026886C 002657CC C0 3F 05 BC */ lfs f1, 0x5bc(r31) -/* 80268870 002657D0 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 80268874 002657D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268878 002657D8 4C 40 13 82 */ cror 2, 0, 2 -/* 8026887C 002657DC 40 82 01 A8 */ bne lbl_80268A24 -/* 80268880 002657E0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80268884 002657E4 40 82 01 A0 */ bne lbl_80268A24 -/* 80268888 002657E8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8026888C 002657EC 4B ED 18 41 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80268890 002657F0 C0 42 BB 04 */ lfs f2, lbl_805AD824@sda21(r2) -/* 80268894 002657F4 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) -/* 80268898 002657F8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026889C 002657FC FC 20 0A 10 */ fabs f1, f1 -/* 802688A0 00265800 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802688A4 00265804 40 80 01 80 */ bge lbl_80268A24 -/* 802688A8 00265808 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 802688AC 0026580C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802688B0 00265810 41 82 01 74 */ beq lbl_80268A24 -/* 802688B4 00265814 38 61 00 34 */ addi r3, r1, 0x34 -/* 802688B8 00265818 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802688BC 0026581C 48 0A 98 6D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 802688C0 00265820 FC 20 F8 90 */ fmr f1, f31 -/* 802688C4 00265824 7F E4 FB 78 */ mr r4, r31 -/* 802688C8 00265828 38 61 00 54 */ addi r3, r1, 0x54 -/* 802688CC 0026582C 4B EB 33 E5 */ bl PredictMotion__13CPhysicsActorCFf -/* 802688D0 00265830 C1 81 00 54 */ lfs f12, 0x54(r1) -/* 802688D4 00265834 7F E3 FB 78 */ mr r3, r31 -/* 802688D8 00265838 C1 61 00 58 */ lfs f11, 0x58(r1) -/* 802688DC 0026583C 38 81 00 88 */ addi r4, r1, 0x88 -/* 802688E0 00265840 C1 41 00 5C */ lfs f10, 0x5c(r1) -/* 802688E4 00265844 C1 21 00 60 */ lfs f9, 0x60(r1) -/* 802688E8 00265848 C1 01 00 64 */ lfs f8, 0x64(r1) -/* 802688EC 0026584C C0 E1 00 68 */ lfs f7, 0x68(r1) -/* 802688F0 00265850 C0 C1 00 6C */ lfs f6, 0x6c(r1) -/* 802688F4 00265854 C0 A1 00 70 */ lfs f5, 0x70(r1) -/* 802688F8 00265858 C0 81 00 74 */ lfs f4, 0x74(r1) -/* 802688FC 0026585C C0 61 00 78 */ lfs f3, 0x78(r1) -/* 80268900 00265860 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 80268904 00265864 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 80268908 00265868 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8026890C 0026586C D1 81 00 88 */ stfs f12, 0x88(r1) -/* 80268910 00265870 D1 61 00 8C */ stfs f11, 0x8c(r1) -/* 80268914 00265874 D1 41 00 90 */ stfs f10, 0x90(r1) -/* 80268918 00265878 D1 21 00 94 */ stfs f9, 0x94(r1) -/* 8026891C 0026587C D1 01 00 98 */ stfs f8, 0x98(r1) -/* 80268920 00265880 D0 E1 00 9C */ stfs f7, 0x9c(r1) -/* 80268924 00265884 D0 C1 00 A0 */ stfs f6, 0xa0(r1) -/* 80268928 00265888 D0 A1 00 A4 */ stfs f5, 0xa4(r1) -/* 8026892C 0026588C D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 80268930 00265890 D0 61 00 AC */ stfs f3, 0xac(r1) -/* 80268934 00265894 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80268938 00265898 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8026893C 0026589C D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80268940 002658A0 4B EB 2B D5 */ bl AddMotionState__13CPhysicsActorFRC12CMotionState -/* 80268944 002658A4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80268948 002658A8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8026894C 002658AC 48 0A 97 DD */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80268950 002658B0 7F E3 FB 78 */ mr r3, r31 -/* 80268954 002658B4 4B EB 29 61 */ bl ClearForcesAndTorques__13CPhysicsActorFv -/* 80268958 002658B8 88 1F 05 D6 */ lbz r0, 0x5d6(r31) -/* 8026895C 002658BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80268960 002658C0 41 82 00 B4 */ beq lbl_80268A14 -/* 80268964 002658C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80268968 002658C8 38 9F 05 68 */ addi r4, r31, 0x568 -/* 8026896C 002658CC 48 03 9C C9 */ bl GetPlane__17CCollisionSurfaceCFv -/* 80268970 002658D0 C0 C1 00 18 */ lfs f6, 0x18(r1) -/* 80268974 002658D4 7F E3 FB 78 */ mr r3, r31 -/* 80268978 002658D8 C1 5F 00 50 */ lfs f10, 0x50(r31) -/* 8026897C 002658DC 38 81 00 08 */ addi r4, r1, 8 -/* 80268980 002658E0 C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 80268984 002658E4 EC 06 02 B2 */ fmuls f0, f6, f10 -/* 80268988 002658E8 C1 7F 00 40 */ lfs f11, 0x40(r31) -/* 8026898C 002658EC C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 80268990 002658F0 C0 81 00 20 */ lfs f4, 0x20(r1) -/* 80268994 002658F4 EC 27 02 FA */ fmadds f1, f7, f11, f0 -/* 80268998 002658F8 C1 3F 00 60 */ lfs f9, 0x60(r31) -/* 8026899C 002658FC C0 02 BB 18 */ lfs f0, lbl_805AD838@sda21(r2) -/* 802689A0 00265900 C0 5F 05 AC */ lfs f2, 0x5ac(r31) -/* 802689A4 00265904 EC 65 0A 7A */ fmadds f3, f5, f9, f1 -/* 802689A8 00265908 C0 22 BB 14 */ lfs f1, lbl_805AD834@sda21(r2) -/* 802689AC 0026590C ED 80 07 F2 */ fmuls f12, f0, f31 -/* 802689B0 00265910 C0 02 BA FC */ lfs f0, lbl_805AD81C@sda21(r2) -/* 802689B4 00265914 D0 E1 00 44 */ stfs f7, 0x44(r1) -/* 802689B8 00265918 ED 03 20 28 */ fsubs f8, f3, f4 -/* 802689BC 0026591C EC 60 60 28 */ fsubs f3, f0, f12 -/* 802689C0 00265920 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 802689C4 00265924 EC 08 10 28 */ fsubs f0, f8, f2 -/* 802689C8 00265928 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 802689CC 0026592C D0 81 00 50 */ stfs f4, 0x50(r1) -/* 802689D0 00265930 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802689D4 00265934 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 802689D8 00265938 EC 20 01 B2 */ fmuls f1, f0, f6 -/* 802689DC 0026593C EC 00 01 72 */ fmuls f0, f0, f5 -/* 802689E0 00265940 EC 4B 10 28 */ fsubs f2, f11, f2 -/* 802689E4 00265944 EC 2A 08 28 */ fsubs f1, f10, f1 -/* 802689E8 00265948 EC 09 00 28 */ fsubs f0, f9, f0 -/* 802689EC 0026594C EC 42 03 32 */ fmuls f2, f2, f12 -/* 802689F0 00265950 EC 21 03 32 */ fmuls f1, f1, f12 -/* 802689F4 00265954 EC 00 03 32 */ fmuls f0, f0, f12 -/* 802689F8 00265958 EC 4B 10 FA */ fmadds f2, f11, f3, f2 -/* 802689FC 0026595C EC 2A 08 FA */ fmadds f1, f10, f3, f1 -/* 80268A00 00265960 EC 09 00 FA */ fmadds f0, f9, f3, f0 -/* 80268A04 00265964 D0 41 00 08 */ stfs f2, 8(r1) -/* 80268A08 00265968 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80268A0C 0026596C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80268A10 00265970 4B DE A4 7D */ bl SetTranslation__6CActorFRC9CVector3f -lbl_80268A14: -/* 80268A14 00265974 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80268A18 00265978 7F E3 FB 78 */ mr r3, r31 -/* 80268A1C 0026597C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80268A20 00265980 4B EB 20 19 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -lbl_80268A24: -/* 80268A24 00265984 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80268A28 00265988 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80268A2C 0026598C CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80268A30 00265990 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80268A34 00265994 7C 08 03 A6 */ mtlr r0 -/* 80268A38 00265998 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80268A3C 0026599C 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__11CWallWalkerCFv -GetCollisionPrimitive__11CWallWalkerCFv: -/* 80268A40 002659A0 38 63 05 90 */ addi r3, r3, 0x590 -/* 80268A44 002659A4 4E 80 00 20 */ blr - -.global AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff -AlignToFloor__11CWallWalkerFR13CStateManagerfRC9CVector3ff: -/* 80268A48 002659A8 94 21 E3 90 */ stwu r1, -0x1c70(r1) -/* 80268A4C 002659AC 7C 08 02 A6 */ mflr r0 -/* 80268A50 002659B0 90 01 1C 74 */ stw r0, 0x1c74(r1) -/* 80268A54 002659B4 38 00 1C 68 */ li r0, 0x1c68 -/* 80268A58 002659B8 DB E1 1C 60 */ stfd f31, 0x1c60(r1) -/* 80268A5C 002659BC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 80268A60 002659C0 38 00 1C 58 */ li r0, 0x1c58 -/* 80268A64 002659C4 DB C1 1C 50 */ stfd f30, 0x1c50(r1) -/* 80268A68 002659C8 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 80268A6C 002659CC 38 00 1C 48 */ li r0, 0x1c48 -/* 80268A70 002659D0 DB A1 1C 40 */ stfd f29, 0x1c40(r1) -/* 80268A74 002659D4 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 80268A78 002659D8 BE 81 1C 10 */ stmw r20, 0x1c10(r1) -/* 80268A7C 002659DC 7C 74 1B 78 */ mr r20, r3 -/* 80268A80 002659E0 FF A0 08 90 */ fmr f29, f1 -/* 80268A84 002659E4 C0 03 05 B0 */ lfs f0, 0x5b0(r3) -/* 80268A88 002659E8 7C B5 2B 78 */ mr r21, r5 -/* 80268A8C 002659EC 7C 96 23 78 */ mr r22, r4 -/* 80268A90 002659F0 C0 85 00 04 */ lfs f4, 4(r5) -/* 80268A94 002659F4 EC FD 00 2A */ fadds f7, f29, f0 -/* 80268A98 002659F8 C0 65 00 08 */ lfs f3, 8(r5) -/* 80268A9C 002659FC FF E0 10 90 */ fmr f31, f2 -/* 80268AA0 00265A00 C0 05 00 00 */ lfs f0, 0(r5) -/* 80268AA4 00265A04 38 61 00 80 */ addi r3, r1, 0x80 -/* 80268AA8 00265A08 EC C4 38 2A */ fadds f6, f4, f7 -/* 80268AAC 00265A0C EC A3 38 2A */ fadds f5, f3, f7 -/* 80268AB0 00265A10 38 81 00 74 */ addi r4, r1, 0x74 -/* 80268AB4 00265A14 EC 20 38 2A */ fadds f1, f0, f7 -/* 80268AB8 00265A18 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80268ABC 00265A1C EC 84 38 28 */ fsubs f4, f4, f7 -/* 80268AC0 00265A20 EC 43 38 28 */ fsubs f2, f3, f7 -/* 80268AC4 00265A24 EC 00 38 28 */ fsubs f0, f0, f7 -/* 80268AC8 00265A28 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80268ACC 00265A2C 3B 60 00 00 */ li r27, 0 -/* 80268AD0 00265A30 D0 C1 00 6C */ stfs f6, 0x6c(r1) -/* 80268AD4 00265A34 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80268AD8 00265A38 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80268ADC 00265A3C D0 81 00 78 */ stfs f4, 0x78(r1) -/* 80268AE0 00265A40 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80268AE4 00265A44 48 0C FA 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80268AE8 00265A48 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80268AEC 00265A4C 38 81 00 80 */ addi r4, r1, 0x80 -/* 80268AF0 00265A50 48 03 AF A1 */ bl __ct__19CAreaCollisionCacheFRC6CAABox -/* 80268AF4 00265A54 7E C3 B3 78 */ mr r3, r22 -/* 80268AF8 00265A58 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 80268AFC 00265A5C 4B F1 BB C9 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache -/* 80268B00 00265A60 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268B04 00265A64 C0 14 05 B0 */ lfs f0, 0x5b0(r20) -/* 80268B08 00265A68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80268B0C 00265A6C EF BD 00 2A */ fadds f29, f29, f0 -/* 80268B10 00265A70 41 82 00 1C */ beq lbl_80268B2C -/* 80268B14 00265A74 7E A4 AB 78 */ mr r4, r21 -/* 80268B18 00265A78 38 74 05 68 */ addi r3, r20, 0x568 -/* 80268B1C 00265A7C 48 00 05 29 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f -/* 80268B20 00265A80 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268B24 00265A84 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80268B28 00265A88 98 14 05 D6 */ stb r0, 0x5d6(r20) -lbl_80268B2C: -/* 80268B2C 00265A8C 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268B30 00265A90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80268B34 00265A94 41 82 00 10 */ beq lbl_80268B44 -/* 80268B38 00265A98 A8 14 05 D4 */ lha r0, 0x5d4(r20) -/* 80268B3C 00265A9C 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 80268B40 00265AA0 40 82 01 54 */ bne lbl_80268C94 -lbl_80268B44: -/* 80268B44 00265AA4 3B A1 00 DC */ addi r29, r1, 0xdc -/* 80268B48 00265AA8 3A C1 00 98 */ addi r22, r1, 0x98 -/* 80268B4C 00265AAC 3B 40 00 00 */ li r26, 0 -/* 80268B50 00265AB0 48 00 01 2C */ b lbl_80268C7C -lbl_80268B54: -/* 80268B54 00265AB4 3B DD 00 08 */ addi r30, r29, 8 -/* 80268B58 00265AB8 3B 20 00 00 */ li r25, 0 -/* 80268B5C 00265ABC 48 00 01 0C */ b lbl_80268C68 -lbl_80268B60: -/* 80268B60 00265AC0 7F C4 F3 78 */ mr r4, r30 -/* 80268B64 00265AC4 38 61 00 08 */ addi r3, r1, 8 -/* 80268B68 00265AC8 48 03 A1 D5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 80268B6C 00265ACC 83 81 00 08 */ lwz r28, 8(r1) -/* 80268B70 00265AD0 3A E0 00 00 */ li r23, 0 -/* 80268B74 00265AD4 83 FE 00 1C */ lwz r31, 0x1c(r30) -/* 80268B78 00265AD8 A3 1C 00 18 */ lhz r24, 0x18(r28) -/* 80268B7C 00265ADC 48 00 00 DC */ b lbl_80268C58 -lbl_80268B80: -/* 80268B80 00265AE0 A0 BC 00 1A */ lhz r5, 0x1a(r28) -/* 80268B84 00265AE4 7F E4 FB 78 */ mr r4, r31 -/* 80268B88 00265AE8 38 61 00 98 */ addi r3, r1, 0x98 -/* 80268B8C 00265AEC 48 03 9E A9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 80268B90 00265AF0 7E C4 B3 78 */ mr r4, r22 -/* 80268B94 00265AF4 38 61 00 4C */ addi r3, r1, 0x4c -/* 80268B98 00265AF8 48 03 9A 9D */ bl GetPlane__17CCollisionSurfaceCFv -/* 80268B9C 00265AFC C3 C1 00 58 */ lfs f30, 0x58(r1) -/* 80268BA0 00265B00 7E C4 B3 78 */ mr r4, r22 -/* 80268BA4 00265B04 38 61 00 5C */ addi r3, r1, 0x5c -/* 80268BA8 00265B08 48 03 9A FD */ bl GetNormal__17CCollisionSurfaceCFv -/* 80268BAC 00265B0C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80268BB0 00265B10 C0 15 00 04 */ lfs f0, 4(r21) -/* 80268BB4 00265B14 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 80268BB8 00265B18 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80268BBC 00265B1C C0 35 00 00 */ lfs f1, 0(r21) -/* 80268BC0 00265B20 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 80268BC4 00265B24 C0 75 00 08 */ lfs f3, 8(r21) -/* 80268BC8 00265B28 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80268BCC 00265B2C EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 80268BD0 00265B30 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80268BD4 00265B34 FC 00 02 10 */ fabs f0, f0 -/* 80268BD8 00265B38 FF C0 00 18 */ frsp f30, f0 -/* 80268BDC 00265B3C FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 80268BE0 00265B40 40 80 00 70 */ bge lbl_80268C50 -/* 80268BE4 00265B44 7E C3 B3 78 */ mr r3, r22 -/* 80268BE8 00265B48 7E A4 AB 78 */ mr r4, r21 -/* 80268BEC 00265B4C 48 00 04 59 */ bl PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f -/* 80268BF0 00265B50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268BF4 00265B54 41 82 00 5C */ beq lbl_80268C50 -/* 80268BF8 00265B58 80 61 00 98 */ lwz r3, 0x98(r1) -/* 80268BFC 00265B5C FF A0 F0 90 */ fmr f29, f30 -/* 80268C00 00265B60 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 80268C04 00265B64 3B 60 00 01 */ li r27, 1 -/* 80268C08 00265B68 90 74 05 68 */ stw r3, 0x568(r20) -/* 80268C0C 00265B6C 90 14 05 6C */ stw r0, 0x56c(r20) -/* 80268C10 00265B70 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 80268C14 00265B74 90 14 05 70 */ stw r0, 0x570(r20) -/* 80268C18 00265B78 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80268C1C 00265B7C 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 80268C20 00265B80 90 74 05 74 */ stw r3, 0x574(r20) -/* 80268C24 00265B84 90 14 05 78 */ stw r0, 0x578(r20) -/* 80268C28 00265B88 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80268C2C 00265B8C 90 14 05 7C */ stw r0, 0x57c(r20) -/* 80268C30 00265B90 80 61 00 B0 */ lwz r3, 0xb0(r1) -/* 80268C34 00265B94 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80268C38 00265B98 90 74 05 80 */ stw r3, 0x580(r20) -/* 80268C3C 00265B9C 90 14 05 84 */ stw r0, 0x584(r20) -/* 80268C40 00265BA0 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 80268C44 00265BA4 90 14 05 88 */ stw r0, 0x588(r20) -/* 80268C48 00265BA8 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 80268C4C 00265BAC 90 14 05 8C */ stw r0, 0x58c(r20) -lbl_80268C50: -/* 80268C50 00265BB0 3B 9C 00 02 */ addi r28, r28, 2 -/* 80268C54 00265BB4 3A F7 00 01 */ addi r23, r23, 1 -lbl_80268C58: -/* 80268C58 00265BB8 7C 17 C0 00 */ cmpw r23, r24 -/* 80268C5C 00265BBC 41 80 FF 24 */ blt lbl_80268B80 -/* 80268C60 00265BC0 3B DE 00 24 */ addi r30, r30, 0x24 -/* 80268C64 00265BC4 3B 39 00 01 */ addi r25, r25, 1 -lbl_80268C68: -/* 80268C68 00265BC8 80 1D 00 04 */ lwz r0, 4(r29) -/* 80268C6C 00265BCC 7C 19 00 00 */ cmpw r25, r0 -/* 80268C70 00265BD0 41 80 FE F0 */ blt lbl_80268B60 -/* 80268C74 00265BD4 3B BD 09 0C */ addi r29, r29, 0x90c -/* 80268C78 00265BD8 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80268C7C: -/* 80268C7C 00265BDC 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 80268C80 00265BE0 7C 1A 00 00 */ cmpw r26, r0 -/* 80268C84 00265BE4 41 80 FE D0 */ blt lbl_80268B54 -/* 80268C88 00265BE8 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268C8C 00265BEC 53 60 36 72 */ rlwimi r0, r27, 6, 0x19, 0x19 -/* 80268C90 00265BF0 98 14 05 D6 */ stb r0, 0x5d6(r20) -lbl_80268C94: -/* 80268C94 00265BF4 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268C98 00265BF8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80268C9C 00265BFC 41 82 00 58 */ beq lbl_80268CF4 -/* 80268CA0 00265C00 38 61 00 34 */ addi r3, r1, 0x34 -/* 80268CA4 00265C04 38 94 05 68 */ addi r4, r20, 0x568 -/* 80268CA8 00265C08 48 03 99 FD */ bl GetNormal__17CCollisionSurfaceCFv -/* 80268CAC 00265C0C C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80268CB0 00265C10 7E 83 A3 78 */ mr r3, r20 -/* 80268CB4 00265C14 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80268CB8 00265C18 38 81 00 40 */ addi r4, r1, 0x40 -/* 80268CBC 00265C1C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80268CC0 00265C20 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80268CC4 00265C24 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80268CC8 00265C28 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80268CCC 00265C2C C0 14 05 B4 */ lfs f0, 0x5b4(r20) -/* 80268CD0 00265C30 EC 20 07 F2 */ fmuls f1, f0, f31 -/* 80268CD4 00265C34 48 00 01 E9 */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff -/* 80268CD8 00265C38 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 80268CDC 00265C3C 38 60 00 00 */ li r3, 0 -/* 80268CE0 00265C40 D0 14 05 B8 */ stfs f0, 0x5b8(r20) -/* 80268CE4 00265C44 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268CE8 00265C48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80268CEC 00265C4C 98 14 05 D6 */ stb r0, 0x5d6(r20) -/* 80268CF0 00265C50 48 00 00 FC */ b lbl_80268DEC -lbl_80268CF4: -/* 80268CF4 00265C54 38 74 01 38 */ addi r3, r20, 0x138 -/* 80268CF8 00265C58 48 0A BB C1 */ bl Magnitude__9CVector3fCFv -/* 80268CFC 00265C5C C0 02 BB 1C */ lfs f0, lbl_805AD83C@sda21(r2) -/* 80268D00 00265C60 7E 83 A3 78 */ mr r3, r20 -/* 80268D04 00265C64 C0 94 00 58 */ lfs f4, 0x58(r20) -/* 80268D08 00265C68 38 81 00 28 */ addi r4, r1, 0x28 -/* 80268D0C 00265C6C EC 40 00 72 */ fmuls f2, f0, f1 -/* 80268D10 00265C70 C0 34 05 AC */ lfs f1, 0x5ac(r20) -/* 80268D14 00265C74 C0 74 00 48 */ lfs f3, 0x48(r20) -/* 80268D18 00265C78 C0 14 00 38 */ lfs f0, 0x38(r20) -/* 80268D1C 00265C7C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80268D20 00265C80 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80268D24 00265C84 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80268D28 00265C88 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80268D2C 00265C8C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80268D30 00265C90 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80268D34 00265C94 EF C1 07 F2 */ fmuls f30, f1, f31 -/* 80268D38 00265C98 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80268D3C 00265C9C FC 20 F0 90 */ fmr f1, f30 -/* 80268D40 00265CA0 48 00 01 7D */ bl OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff -/* 80268D44 00265CA4 80 74 04 50 */ lwz r3, 0x450(r20) -/* 80268D48 00265CA8 38 80 00 03 */ li r4, 3 -/* 80268D4C 00265CAC 4B ED 1E 69 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 80268D50 00265CB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268D54 00265CB4 41 82 00 7C */ beq lbl_80268DD0 -/* 80268D58 00265CB8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80268D5C 00265CBC 80 74 04 50 */ lwz r3, 0x450(r20) -/* 80268D60 00265CC0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 80268D64 00265CC4 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 80268D68 00265CC8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80268D6C 00265CCC 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l -/* 80268D70 00265CD0 38 80 00 01 */ li r4, 1 -/* 80268D74 00265CD4 38 A0 00 05 */ li r5, 5 -/* 80268D78 00265CD8 38 00 00 00 */ li r0, 0 -/* 80268D7C 00265CDC 3A A3 00 04 */ addi r21, r3, 4 -/* 80268D80 00265CE0 90 81 00 10 */ stw r4, 0x10(r1) -/* 80268D84 00265CE4 7E A3 AB 78 */ mr r3, r21 -/* 80268D88 00265CE8 38 80 00 01 */ li r4, 1 -/* 80268D8C 00265CEC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80268D90 00265CF0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80268D94 00265CF4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80268D98 00265CF8 4B EC 86 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80268D9C 00265CFC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80268DA0 00265D00 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80268DA4 00265D04 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 80268DA8 00265D08 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80268DAC 00265D0C 90 15 00 C8 */ stw r0, 0xc8(r21) -/* 80268DB0 00265D10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80268DB4 00265D14 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80268DB8 00265D18 90 81 00 0C */ stw r4, 0xc(r1) -/* 80268DBC 00265D1C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80268DC0 00265D20 90 B5 00 CC */ stw r5, 0xcc(r21) -/* 80268DC4 00265D24 90 75 00 D0 */ stw r3, 0xd0(r21) -/* 80268DC8 00265D28 90 01 00 0C */ stw r0, 0xc(r1) -/* 80268DCC 00265D2C 48 00 00 14 */ b lbl_80268DE0 -lbl_80268DD0: -/* 80268DD0 00265D30 88 14 05 D6 */ lbz r0, 0x5d6(r20) -/* 80268DD4 00265D34 38 60 00 01 */ li r3, 1 -/* 80268DD8 00265D38 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80268DDC 00265D3C 98 14 05 D6 */ stb r0, 0x5d6(r20) -lbl_80268DE0: -/* 80268DE0 00265D40 C0 14 05 B8 */ lfs f0, 0x5b8(r20) -/* 80268DE4 00265D44 EC 00 F0 2A */ fadds f0, f0, f30 -/* 80268DE8 00265D48 D0 14 05 B8 */ stfs f0, 0x5b8(r20) -lbl_80268DEC: -/* 80268DEC 00265D4C 34 E1 00 D8 */ addic. r7, r1, 0xd8 -/* 80268DF0 00265D50 41 82 00 94 */ beq lbl_80268E84 -/* 80268DF4 00265D54 38 C7 00 04 */ addi r6, r7, 4 -/* 80268DF8 00265D58 38 60 00 00 */ li r3, 0 -/* 80268DFC 00265D5C 48 00 00 74 */ b lbl_80268E70 -lbl_80268E00: -/* 80268E00 00265D60 28 06 00 00 */ cmplwi r6, 0 -/* 80268E04 00265D64 41 82 00 64 */ beq lbl_80268E68 -/* 80268E08 00265D68 34 06 00 04 */ addic. r0, r6, 4 -/* 80268E0C 00265D6C 41 82 00 5C */ beq lbl_80268E68 -/* 80268E10 00265D70 81 06 00 04 */ lwz r8, 4(r6) -/* 80268E14 00265D74 38 80 00 00 */ li r4, 0 -/* 80268E18 00265D78 2C 08 00 00 */ cmpwi r8, 0 -/* 80268E1C 00265D7C 40 81 00 44 */ ble lbl_80268E60 -/* 80268E20 00265D80 2C 08 00 08 */ cmpwi r8, 8 -/* 80268E24 00265D84 38 A8 FF F8 */ addi r5, r8, -8 -/* 80268E28 00265D88 40 81 00 20 */ ble lbl_80268E48 -/* 80268E2C 00265D8C 38 05 00 07 */ addi r0, r5, 7 -/* 80268E30 00265D90 54 00 E8 FE */ srwi r0, r0, 3 -/* 80268E34 00265D94 7C 09 03 A6 */ mtctr r0 -/* 80268E38 00265D98 2C 05 00 00 */ cmpwi r5, 0 -/* 80268E3C 00265D9C 40 81 00 0C */ ble lbl_80268E48 -lbl_80268E40: -/* 80268E40 00265DA0 38 84 00 08 */ addi r4, r4, 8 -/* 80268E44 00265DA4 42 00 FF FC */ bdnz lbl_80268E40 -lbl_80268E48: -/* 80268E48 00265DA8 7C 04 40 50 */ subf r0, r4, r8 -/* 80268E4C 00265DAC 7C 09 03 A6 */ mtctr r0 -/* 80268E50 00265DB0 7C 04 40 00 */ cmpw r4, r8 -/* 80268E54 00265DB4 40 80 00 0C */ bge lbl_80268E60 -lbl_80268E58: -/* 80268E58 00265DB8 38 84 00 01 */ addi r4, r4, 1 -/* 80268E5C 00265DBC 42 00 FF FC */ bdnz lbl_80268E58 -lbl_80268E60: -/* 80268E60 00265DC0 38 00 00 00 */ li r0, 0 -/* 80268E64 00265DC4 90 06 00 04 */ stw r0, 4(r6) -lbl_80268E68: -/* 80268E68 00265DC8 38 C6 09 0C */ addi r6, r6, 0x90c -/* 80268E6C 00265DCC 38 63 00 01 */ addi r3, r3, 1 -lbl_80268E70: -/* 80268E70 00265DD0 80 07 00 00 */ lwz r0, 0(r7) -/* 80268E74 00265DD4 7C 03 00 00 */ cmpw r3, r0 -/* 80268E78 00265DD8 41 80 FF 88 */ blt lbl_80268E00 -/* 80268E7C 00265DDC 38 00 00 00 */ li r0, 0 -/* 80268E80 00265DE0 90 07 00 00 */ stw r0, 0(r7) -lbl_80268E84: -/* 80268E84 00265DE4 38 00 1C 68 */ li r0, 0x1c68 -/* 80268E88 00265DE8 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 80268E8C 00265DEC CB E1 1C 60 */ lfd f31, 0x1c60(r1) -/* 80268E90 00265DF0 38 00 1C 58 */ li r0, 0x1c58 -/* 80268E94 00265DF4 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 80268E98 00265DF8 CB C1 1C 50 */ lfd f30, 0x1c50(r1) -/* 80268E9C 00265DFC 38 00 1C 48 */ li r0, 0x1c48 -/* 80268EA0 00265E00 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 80268EA4 00265E04 CB A1 1C 40 */ lfd f29, 0x1c40(r1) -/* 80268EA8 00265E08 BA 81 1C 10 */ lmw r20, 0x1c10(r1) -/* 80268EAC 00265E0C 80 01 1C 74 */ lwz r0, 0x1c74(r1) -/* 80268EB0 00265E10 7C 08 03 A6 */ mtlr r0 -/* 80268EB4 00265E14 38 21 1C 70 */ addi r1, r1, 0x1c70 -/* 80268EB8 00265E18 4E 80 00 20 */ blr - -.global OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff -OrientToSurfaceNormal__11CWallWalkerFRC9CVector3ff: -/* 80268EBC 00265E1C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80268EC0 00265E20 7C 08 02 A6 */ mflr r0 -/* 80268EC4 00265E24 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80268EC8 00265E28 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80268ECC 00265E2C 7C 7F 1B 78 */ mr r31, r3 -/* 80268ED0 00265E30 C0 C3 00 4C */ lfs f6, 0x4c(r3) -/* 80268ED4 00265E34 C0 04 00 04 */ lfs f0, 4(r4) -/* 80268ED8 00265E38 C0 A3 00 3C */ lfs f5, 0x3c(r3) -/* 80268EDC 00265E3C EC 06 00 32 */ fmuls f0, f6, f0 -/* 80268EE0 00265E40 C0 44 00 00 */ lfs f2, 0(r4) -/* 80268EE4 00265E44 C0 E3 00 5C */ lfs f7, 0x5c(r3) -/* 80268EE8 00265E48 C0 84 00 08 */ lfs f4, 8(r4) -/* 80268EEC 00265E4C EC 65 00 BA */ fmadds f3, f5, f2, f0 -/* 80268EF0 00265E50 C0 42 BA FC */ lfs f2, lbl_805AD81C@sda21(r2) -/* 80268EF4 00265E54 C0 02 BB 10 */ lfs f0, lbl_805AD830@sda21(r2) -/* 80268EF8 00265E58 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80268EFC 00265E5C EC 67 19 3A */ fmadds f3, f7, f4, f3 -/* 80268F00 00265E60 D0 C1 00 74 */ stfs f6, 0x74(r1) -/* 80268F04 00265E64 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80268F08 00265E68 D0 E1 00 78 */ stfs f7, 0x78(r1) -/* 80268F0C 00265E6C FC 40 12 10 */ fabs f2, f2 -/* 80268F10 00265E70 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80268F14 00265E74 41 80 01 1C */ blt lbl_80269030 -/* 80268F18 00265E78 C0 02 BB 20 */ lfs f0, lbl_805AD840@sda21(r2) -/* 80268F1C 00265E7C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80268F20 00265E80 41 80 01 10 */ blt lbl_80269030 -/* 80268F24 00265E84 C0 02 BB 24 */ lfs f0, lbl_805AD844@sda21(r2) -/* 80268F28 00265E88 7C 85 23 78 */ mr r5, r4 -/* 80268F2C 00265E8C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80268F30 00265E90 38 81 00 54 */ addi r4, r1, 0x54 -/* 80268F34 00265E94 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80268F38 00265E98 38 C1 00 08 */ addi r6, r1, 8 -/* 80268F3C 00265E9C D0 01 00 08 */ stfs f0, 8(r1) -/* 80268F40 00265EA0 C0 5F 00 5C */ lfs f2, 0x5c(r31) -/* 80268F44 00265EA4 C0 3F 00 4C */ lfs f1, 0x4c(r31) -/* 80268F48 00265EA8 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80268F4C 00265EAC D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80268F50 00265EB0 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80268F54 00265EB4 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80268F58 00265EB8 48 0A 80 C9 */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle -/* 80268F5C 00265EBC C0 61 00 60 */ lfs f3, 0x60(r1) -/* 80268F60 00265EC0 38 A1 00 90 */ addi r5, r1, 0x90 -/* 80268F64 00265EC4 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80268F68 00265EC8 38 61 00 48 */ addi r3, r1, 0x48 -/* 80268F6C 00265ECC C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80268F70 00265ED0 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80268F74 00265ED4 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80268F78 00265ED8 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80268F7C 00265EDC D0 41 00 90 */ stfs f2, 0x90(r1) -/* 80268F80 00265EE0 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 80268F84 00265EE4 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80268F88 00265EE8 48 0A 9A 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80268F8C 00265EEC C0 61 00 8C */ lfs f3, 0x8c(r1) -/* 80268F90 00265EF0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80268F94 00265EF4 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 80268F98 00265EF8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80268F9C 00265EFC C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80268FA0 00265F00 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80268FA4 00265F04 D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 80268FA8 00265F08 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80268FAC 00265F0C D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80268FB0 00265F10 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80268FB4 00265F14 48 0A 91 75 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80268FB8 00265F18 38 61 00 28 */ addi r3, r1, 0x28 -/* 80268FBC 00265F1C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80268FC0 00265F20 38 A1 00 7C */ addi r5, r1, 0x7c -/* 80268FC4 00265F24 48 0A 81 DD */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 80268FC8 00265F28 38 61 00 38 */ addi r3, r1, 0x38 -/* 80268FCC 00265F2C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80268FD0 00265F30 48 0A 83 CD */ bl BuildNormalized__11CQuaternionCFv -/* 80268FD4 00265F34 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80268FD8 00265F38 38 61 00 9C */ addi r3, r1, 0x9c -/* 80268FDC 00265F3C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80268FE0 00265F40 38 81 00 38 */ addi r4, r1, 0x38 -/* 80268FE4 00265F44 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80268FE8 00265F48 38 A1 00 0C */ addi r5, r1, 0xc -/* 80268FEC 00265F4C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80268FF0 00265F50 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80268FF4 00265F54 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80268FF8 00265F58 48 0A 8E C5 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 80268FFC 00265F5C 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80269000 00265F60 38 81 00 9C */ addi r4, r1, 0x9c -/* 80269004 00265F64 48 0A 9B 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80269008 00265F68 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8026900C 00265F6C 38 60 00 01 */ li r3, 1 -/* 80269010 00265F70 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80269014 00265F74 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80269018 00265F78 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8026901C 00265F7C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80269020 00265F80 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80269024 00265F84 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80269028 00265F88 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8026902C 00265F8C 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_80269030: -/* 80269030 00265F90 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80269034 00265F94 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80269038 00265F98 7C 08 03 A6 */ mtlr r0 -/* 8026903C 00265F9C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80269040 00265FA0 4E 80 00 20 */ blr - -.global PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f -PointOnSurface__11CWallWalkerFRC17CCollisionSurfaceRC9CVector3f: -/* 80269044 00265FA4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80269048 00265FA8 7C 08 02 A6 */ mflr r0 -/* 8026904C 00265FAC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80269050 00265FB0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80269054 00265FB4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80269058 00265FB8 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8026905C 00265FBC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80269060 00265FC0 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80269064 00265FC4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80269068 00265FC8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8026906C 00265FCC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80269070 00265FD0 7C 7E 1B 78 */ mr r30, r3 -/* 80269074 00265FD4 7C 9F 23 78 */ mr r31, r4 -/* 80269078 00265FD8 7F C4 F3 78 */ mr r4, r30 -/* 8026907C 00265FDC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80269080 00265FE0 48 03 96 25 */ bl GetNormal__17CCollisionSurfaceCFv -/* 80269084 00265FE4 7F E4 FB 78 */ mr r4, r31 -/* 80269088 00265FE8 7F C5 F3 78 */ mr r5, r30 -/* 8026908C 00265FEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80269090 00265FF0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80269094 00265FF4 48 00 01 55 */ bl ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80269098 00265FF8 C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 8026909C 00265FFC 7F C4 F3 78 */ mr r4, r30 -/* 802690A0 00266000 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 802690A4 00266004 38 61 00 08 */ addi r3, r1, 8 -/* 802690A8 00266008 C3 A1 00 28 */ lfs f29, 0x28(r1) -/* 802690AC 0026600C 48 03 95 F9 */ bl GetNormal__17CCollisionSurfaceCFv -/* 802690B0 00266010 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802690B4 00266014 38 00 00 03 */ li r0, 3 -/* 802690B8 00266018 7F C6 F3 78 */ mr r6, r30 -/* 802690BC 0026601C C1 41 00 08 */ lfs f10, 8(r1) -/* 802690C0 00266020 38 63 55 56 */ addi r3, r3, 0x55555556@l -/* 802690C4 00266024 C1 61 00 0C */ lfs f11, 0xc(r1) -/* 802690C8 00266028 C1 81 00 10 */ lfs f12, 0x10(r1) -/* 802690CC 0026602C 38 E0 00 00 */ li r7, 0 -/* 802690D0 00266030 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 802690D4 00266034 7C 09 03 A6 */ mtctr r0 -lbl_802690D8: -/* 802690D8 00266038 38 A7 00 02 */ addi r5, r7, 2 -/* 802690DC 0026603C C0 66 00 00 */ lfs f3, 0(r6) -/* 802690E0 00266040 7C 83 28 96 */ mulhw r4, r3, r5 -/* 802690E4 00266044 C0 86 00 08 */ lfs f4, 8(r6) -/* 802690E8 00266048 C0 A6 00 04 */ lfs f5, 4(r6) -/* 802690EC 0026604C ED 3F 18 28 */ fsubs f9, f31, f3 -/* 802690F0 00266050 EC FD 20 28 */ fsubs f7, f29, f4 -/* 802690F4 00266054 ED 1E 28 28 */ fsubs f8, f30, f5 -/* 802690F8 00266058 54 80 0F FE */ srwi r0, r4, 0x1f -/* 802690FC 0026605C 7C 04 02 14 */ add r0, r4, r0 -/* 80269100 00266060 1C 00 00 03 */ mulli r0, r0, 3 -/* 80269104 00266064 7C 00 28 50 */ subf r0, r0, r5 -/* 80269108 00266068 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8026910C 0026606C 7C 9E 02 14 */ add r4, r30, r0 -/* 80269110 00266070 C0 24 00 08 */ lfs f1, 8(r4) -/* 80269114 00266074 C0 44 00 00 */ lfs f2, 0(r4) -/* 80269118 00266078 EC 81 20 28 */ fsubs f4, f1, f4 -/* 8026911C 0026607C C0 24 00 04 */ lfs f1, 4(r4) -/* 80269120 00266080 EC C2 18 28 */ fsubs f6, f2, f3 -/* 80269124 00266084 EC A1 28 28 */ fsubs f5, f1, f5 -/* 80269128 00266088 EC 24 02 72 */ fmuls f1, f4, f9 -/* 8026912C 0026608C EC 66 02 32 */ fmuls f3, f6, f8 -/* 80269130 00266090 EC 45 01 F2 */ fmuls f2, f5, f7 -/* 80269134 00266094 EC 27 09 B8 */ fmsubs f1, f7, f6, f1 -/* 80269138 00266098 EC 69 19 78 */ fmsubs f3, f9, f5, f3 -/* 8026913C 0026609C EC 48 11 38 */ fmsubs f2, f8, f4, f2 -/* 80269140 002660A0 EC 2B 00 72 */ fmuls f1, f11, f1 -/* 80269144 002660A4 EC 2A 08 BA */ fmadds f1, f10, f2, f1 -/* 80269148 002660A8 EC 2C 08 FA */ fmadds f1, f12, f3, f1 -/* 8026914C 002660AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269150 002660B0 40 80 00 0C */ bge lbl_8026915C -/* 80269154 002660B4 38 60 00 00 */ li r3, 0 -/* 80269158 002660B8 48 00 00 14 */ b lbl_8026916C -lbl_8026915C: -/* 8026915C 002660BC 38 C6 00 0C */ addi r6, r6, 0xc -/* 80269160 002660C0 38 E7 00 01 */ addi r7, r7, 1 -/* 80269164 002660C4 42 00 FF 74 */ bdnz lbl_802690D8 -/* 80269168 002660C8 38 60 00 01 */ li r3, 1 -lbl_8026916C: -/* 8026916C 002660CC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80269170 002660D0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80269174 002660D4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80269178 002660D8 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8026917C 002660DC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80269180 002660E0 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80269184 002660E4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80269188 002660E8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8026918C 002660EC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80269190 002660F0 7C 08 03 A6 */ mtlr r0 -/* 80269194 002660F4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80269198 002660F8 4E 80 00 20 */ blr - -.global ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f -ProjectVectorToPlane__11CWallWalkerFRC9CVector3fRC9CVector3f: -/* 8026919C 002660FC C0 C4 00 04 */ lfs f6, 4(r4) -/* 802691A0 00266100 C0 65 00 04 */ lfs f3, 4(r5) -/* 802691A4 00266104 C0 A4 00 00 */ lfs f5, 0(r4) -/* 802691A8 00266108 EC 06 00 F2 */ fmuls f0, f6, f3 -/* 802691AC 0026610C C0 25 00 00 */ lfs f1, 0(r5) -/* 802691B0 00266110 C0 E4 00 08 */ lfs f7, 8(r4) -/* 802691B4 00266114 C0 85 00 08 */ lfs f4, 8(r5) -/* 802691B8 00266118 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 802691BC 0026611C EC 07 01 3A */ fmadds f0, f7, f4, f0 -/* 802691C0 00266120 EC 40 00 72 */ fmuls f2, f0, f1 -/* 802691C4 00266124 EC 20 00 F2 */ fmuls f1, f0, f3 -/* 802691C8 00266128 EC 00 01 32 */ fmuls f0, f0, f4 -/* 802691CC 0026612C EC 45 10 28 */ fsubs f2, f5, f2 -/* 802691D0 00266130 EC 26 08 28 */ fsubs f1, f6, f1 -/* 802691D4 00266134 EC 07 00 28 */ fsubs f0, f7, f0 -/* 802691D8 00266138 D0 43 00 00 */ stfs f2, 0(r3) -/* 802691DC 0026613C D0 23 00 04 */ stfs f1, 4(r3) -/* 802691E0 00266140 D0 03 00 08 */ stfs f0, 8(r3) -/* 802691E4 00266144 4E 80 00 20 */ blr - -.global ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f -ProjectPointToPlane__11CWallWalkerFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 802691E8 00266148 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802691EC 0026614C C1 04 00 04 */ lfs f8, 4(r4) -/* 802691F0 00266150 C0 05 00 04 */ lfs f0, 4(r5) -/* 802691F4 00266154 C0 E4 00 00 */ lfs f7, 0(r4) -/* 802691F8 00266158 EC 48 00 28 */ fsubs f2, f8, f0 -/* 802691FC 0026615C C0 05 00 00 */ lfs f0, 0(r5) -/* 80269200 00266160 C0 A6 00 04 */ lfs f5, 4(r6) -/* 80269204 00266164 EC 67 00 28 */ fsubs f3, f7, f0 -/* 80269208 00266168 C1 24 00 08 */ lfs f9, 8(r4) -/* 8026920C 0026616C C0 25 00 08 */ lfs f1, 8(r5) -/* 80269210 00266170 EC 02 01 72 */ fmuls f0, f2, f5 -/* 80269214 00266174 C0 86 00 00 */ lfs f4, 0(r6) -/* 80269218 00266178 EC 29 08 28 */ fsubs f1, f9, f1 -/* 8026921C 0026617C C0 C6 00 08 */ lfs f6, 8(r6) -/* 80269220 00266180 EC 03 01 3A */ fmadds f0, f3, f4, f0 -/* 80269224 00266184 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80269228 00266188 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8026922C 0026618C EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 80269230 00266190 D0 61 00 08 */ stfs f3, 8(r1) -/* 80269234 00266194 EC 40 01 32 */ fmuls f2, f0, f4 -/* 80269238 00266198 EC 20 01 72 */ fmuls f1, f0, f5 -/* 8026923C 0026619C EC 00 01 B2 */ fmuls f0, f0, f6 -/* 80269240 002661A0 EC 47 10 28 */ fsubs f2, f7, f2 -/* 80269244 002661A4 EC 28 08 28 */ fsubs f1, f8, f1 -/* 80269248 002661A8 EC 09 00 28 */ fsubs f0, f9, f0 -/* 8026924C 002661AC D0 43 00 00 */ stfs f2, 0(r3) -/* 80269250 002661B0 D0 23 00 04 */ stfs f1, 4(r3) -/* 80269254 002661B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80269258 002661B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026925C 002661BC 4E 80 00 20 */ blr - -.global "__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi" -"__ct__11CWallWalkerFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUiUi": -/* 80269260 002661C0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80269264 002661C4 7C 08 02 A6 */ mflr r0 -/* 80269268 002661C8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8026926C 002661CC DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80269270 002661D0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80269274 002661D4 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80269278 002661D8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8026927C 002661DC DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 80269280 002661E0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80269284 002661E4 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 80269288 002661E8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8026928C 002661EC DB 61 00 80 */ stfd f27, 0x80(r1) -/* 80269290 002661F0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 80269294 002661F4 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 80269298 002661F8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 8026929C 002661FC DB 21 00 60 */ stfd f25, 0x60(r1) -/* 802692A0 00266200 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 -/* 802692A4 00266204 DB 01 00 50 */ stfd f24, 0x50(r1) -/* 802692A8 00266208 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 -/* 802692AC 0026620C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802692B0 00266210 A0 05 00 00 */ lhz r0, 0(r5) -/* 802692B4 00266214 FF 00 08 90 */ fmr f24, f1 -/* 802692B8 00266218 83 A1 00 D8 */ lwz r29, 0xd8(r1) -/* 802692BC 0026621C FF 20 10 90 */ fmr f25, f2 -/* 802692C0 00266220 B0 01 00 20 */ sth r0, 0x20(r1) -/* 802692C4 00266224 FF 40 18 90 */ fmr f26, f3 -/* 802692C8 00266228 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 802692CC 0026622C 93 A1 00 08 */ stw r29, 8(r1) -/* 802692D0 00266230 FF 60 20 90 */ fmr f27, f4 -/* 802692D4 00266234 81 61 00 E0 */ lwz r11, 0xe0(r1) -/* 802692D8 00266238 7C 7C 1B 78 */ mr r28, r3 -/* 802692DC 0026623C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802692E0 00266240 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802692E4 00266244 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802692E8 00266248 91 61 00 10 */ stw r11, 0x10(r1) -/* 802692EC 0026624C 81 61 00 E8 */ lwz r11, 0xe8(r1) -/* 802692F0 00266250 90 01 00 14 */ stw r0, 0x14(r1) -/* 802692F4 00266254 80 01 00 EC */ lwz r0, 0xec(r1) -/* 802692F8 00266258 91 61 00 18 */ stw r11, 0x18(r1) -/* 802692FC 0026625C 83 C1 00 F0 */ lwz r30, 0xf0(r1) -/* 80269300 00266260 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80269304 00266264 8B E1 00 F7 */ lbz r31, 0xf7(r1) -/* 80269308 00266268 4B E1 41 49 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8026930C 0026626C 3C 60 80 3F */ lis r3, lbl_803EA0F0@ha -/* 80269310 00266270 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80269314 00266274 38 03 A0 F0 */ addi r0, r3, lbl_803EA0F0@l -/* 80269318 00266278 3C A0 80 5A */ lis r5, lbl_805A6718@ha -/* 8026931C 0026627C 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 80269320 00266280 90 1C 00 00 */ stw r0, 0(r28) -/* 80269324 00266284 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l -/* 80269328 00266288 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8026932C 0026628C 38 A5 67 18 */ addi r5, r5, lbl_805A6718@l -/* 80269330 00266290 38 7C 05 68 */ addi r3, r28, 0x568 -/* 80269334 00266294 38 E0 FF FF */ li r7, -1 -/* 80269338 00266298 48 03 93 F1 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 8026933C 0026629C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80269340 002662A0 3B 7C 05 90 */ addi r27, r28, 0x590 -/* 80269344 002662A4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80269348 002662A8 C3 9D 00 C4 */ lfs f28, 0xc4(r29) -/* 8026934C 002662AC C3 E5 00 00 */ lfs f31, 0(r5) -/* 80269350 002662B0 38 9C 00 68 */ addi r4, r28, 0x68 -/* 80269354 002662B4 C3 C5 00 04 */ lfs f30, 4(r5) -/* 80269358 002662B8 7F 63 DB 78 */ mr r3, r27 -/* 8026935C 002662BC C3 A5 00 08 */ lfs f29, 8(r5) -/* 80269360 002662C0 48 06 65 55 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 80269364 002662C4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80269368 002662C8 C0 02 BB 04 */ lfs f0, lbl_805AD824@sda21(r2) -/* 8026936C 002662CC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 80269370 002662D0 80 82 BA F8 */ lwz r4, lbl_805AD818@sda21(r2) -/* 80269374 002662D4 90 1B 00 00 */ stw r0, 0(r27) -/* 80269378 002662D8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8026937C 002662DC D3 FB 00 10 */ stfs f31, 0x10(r27) -/* 80269380 002662E0 D3 DB 00 14 */ stfs f30, 0x14(r27) -/* 80269384 002662E4 D3 BB 00 18 */ stfs f29, 0x18(r27) -/* 80269388 002662E8 D3 9B 00 1C */ stfs f28, 0x1c(r27) -/* 8026938C 002662EC D3 1C 05 B0 */ stfs f24, 0x5b0(r28) -/* 80269390 002662F0 D3 3C 05 B4 */ stfs f25, 0x5b4(r28) -/* 80269394 002662F4 D0 1C 05 B8 */ stfs f0, 0x5b8(r28) -/* 80269398 002662F8 D0 1C 05 BC */ stfs f0, 0x5bc(r28) -/* 8026939C 002662FC D3 5C 05 C0 */ stfs f26, 0x5c0(r28) -/* 802693A0 00266300 D3 7C 05 C4 */ stfs f27, 0x5c4(r28) -/* 802693A4 00266304 D0 1C 05 C8 */ stfs f0, 0x5c8(r28) -/* 802693A8 00266308 4B D9 B9 11 */ bl string_l__4rstlFPCc -/* 802693AC 0026630C 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 802693B0 00266310 38 81 00 24 */ addi r4, r1, 0x24 -/* 802693B4 00266314 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802693B8 00266318 38 63 00 0C */ addi r3, r3, 0xc -/* 802693BC 0026631C 48 07 44 E1 */ bl sub_802dd89c -/* 802693C0 00266320 90 7C 05 CC */ stw r3, 0x5cc(r28) -/* 802693C4 00266324 38 61 00 24 */ addi r3, r1, 0x24 -/* 802693C8 00266328 48 0D 47 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802693CC 0026632C 93 DC 05 D0 */ stw r30, 0x5d0(r28) -/* 802693D0 00266330 38 80 00 00 */ li r4, 0 -/* 802693D4 00266334 7F 83 E3 78 */ mr r3, r28 -/* 802693D8 00266338 B0 9C 05 D4 */ sth r4, 0x5d4(r28) -/* 802693DC 0026633C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 802693E0 00266340 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802693E4 00266344 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 802693E8 00266348 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 802693EC 0026634C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802693F0 00266350 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 802693F4 00266354 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 802693F8 00266358 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802693FC 0026635C 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 80269400 00266360 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 80269404 00266364 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b -/* 80269408 00266368 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 8026940C 0026636C 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 80269410 00266370 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80269414 00266374 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 80269418 00266378 88 1C 05 D6 */ lbz r0, 0x5d6(r28) -/* 8026941C 0026637C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80269420 00266380 98 1C 05 D6 */ stb r0, 0x5d6(r28) -/* 80269424 00266384 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80269428 00266388 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8026942C 0026638C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80269430 00266390 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80269434 00266394 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 80269438 00266398 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8026943C 0026639C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 80269440 002663A0 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 80269444 002663A4 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 80269448 002663A8 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 8026944C 002663AC E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 80269450 002663B0 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 80269454 002663B4 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 -/* 80269458 002663B8 CB 21 00 60 */ lfd f25, 0x60(r1) -/* 8026945C 002663BC E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 -/* 80269460 002663C0 CB 01 00 50 */ lfd f24, 0x50(r1) -/* 80269464 002663C4 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80269468 002663C8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8026946C 002663CC 7C 08 03 A6 */ mtlr r0 -/* 80269470 002663D0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80269474 002663D4 4E 80 00 20 */ blr - -.global sub_80269478 -sub_80269478: -/* 80269478 002663D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026947C 002663DC 7C 08 02 A6 */ mflr r0 -/* 80269480 002663E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269484 002663E4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80269488 002663E8 28 00 00 00 */ cmplwi r0, 0 -/* 8026948C 002663EC 41 82 00 08 */ beq lbl_80269494 -/* 80269490 002663F0 48 00 01 69 */ bl sub_802695f8 -lbl_80269494: -/* 80269494 002663F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269498 002663F8 7C 08 03 A6 */ mtlr r0 -/* 8026949C 002663FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802694A0 00266400 4E 80 00 20 */ blr - -.global sub_802694a4 -sub_802694a4: -/* 802694A4 00266404 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802694A8 00266408 7C 08 02 A6 */ mflr r0 -/* 802694AC 0026640C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802694B0 00266410 48 00 04 89 */ bl UpdateWindow__18CErrorOutputWindowFv -/* 802694B4 00266414 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802694B8 00266418 7C 08 03 A6 */ mtlr r0 -/* 802694BC 0026641C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802694C0 00266420 4E 80 00 20 */ blr - -.global sub_802694c4 -sub_802694c4: -/* 802694C4 00266424 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802694C8 00266428 7C 08 02 A6 */ mflr r0 -/* 802694CC 0026642C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802694D0 00266430 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802694D4 00266434 7C 9F 23 79 */ or. r31, r4, r4 -/* 802694D8 00266438 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802694DC 0026643C 7C 7E 1B 78 */ mr r30, r3 -/* 802694E0 00266440 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802694E4 00266444 41 82 00 3C */ beq lbl_80269520 -/* 802694E8 00266448 80 0D A0 7C */ lwz r0, gpController@sda21(r13) -/* 802694EC 0026644C 28 00 00 00 */ cmplwi r0, 0 -/* 802694F0 00266450 41 82 00 30 */ beq lbl_80269520 -/* 802694F4 00266454 3B A0 00 00 */ li r29, 0 -lbl_802694F8: -/* 802694F8 00266458 80 6D A0 7C */ lwz r3, gpController@sda21(r13) -/* 802694FC 0026645C 7F A4 EB 78 */ mr r4, r29 -/* 80269500 00266460 38 A0 00 00 */ li r5, 0 -/* 80269504 00266464 81 83 00 00 */ lwz r12, 0(r3) -/* 80269508 00266468 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026950C 0026646C 7D 89 03 A6 */ mtctr r12 -/* 80269510 00266470 4E 80 04 21 */ bctrl -/* 80269514 00266474 3B BD 00 01 */ addi r29, r29, 1 -/* 80269518 00266478 2C 1D 00 04 */ cmpwi r29, 4 -/* 8026951C 0026647C 41 80 FF DC */ blt lbl_802694F8 -lbl_80269520: -/* 80269520 00266480 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80269524 00266484 7C 1F 00 00 */ cmpw r31, r0 -/* 80269528 00266488 41 82 00 B4 */ beq lbl_802695DC -/* 8026952C 0026648C 2C 00 00 00 */ cmpwi r0, 0 -/* 80269530 00266490 40 82 00 74 */ bne lbl_802695A4 -/* 80269534 00266494 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80269538 00266498 28 04 00 00 */ cmplwi r4, 0 -/* 8026953C 0026649C 41 82 00 14 */ beq lbl_80269550 -/* 80269540 002664A0 88 04 03 18 */ lbz r0, 0x318(r4) -/* 80269544 002664A4 38 60 00 01 */ li r3, 1 -/* 80269548 002664A8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8026954C 002664AC 98 04 03 18 */ stb r0, 0x318(r4) -lbl_80269550: -/* 80269550 002664B0 88 7E 00 18 */ lbz r3, 0x18(r30) -/* 80269554 002664B4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80269558 002664B8 41 82 00 80 */ beq lbl_802695D8 -/* 8026955C 002664BC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) -/* 80269560 002664C0 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 80269564 002664C4 98 7E 00 18 */ stb r3, 0x18(r30) -/* 80269568 002664C8 88 6D 9E 81 */ lbz r3, lbl_805A8A41@sda21(r13) -/* 8026956C 002664CC 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269570 002664D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80269574 002664D4 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269578 002664D8 48 0F 20 95 */ bl sub_8035b60c -/* 8026957C 002664DC 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269580 002664E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80269584 002664E4 38 60 00 00 */ li r3, 0 -/* 80269588 002664E8 98 1E 00 18 */ stb r0, 0x18(r30) -/* 8026958C 002664EC 48 0F C3 3D */ bl SetMusicUnmute__19CStreamAudioManagerFb -/* 80269590 002664F0 38 00 00 00 */ li r0, 0 -/* 80269594 002664F4 38 60 00 00 */ li r3, 0 -/* 80269598 002664F8 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13) -/* 8026959C 002664FC 48 0F 20 79 */ bl sub_8035b614 -/* 802695A0 00266500 48 00 00 38 */ b lbl_802695D8 -lbl_802695A4: -/* 802695A4 00266504 2C 1F 00 00 */ cmpwi r31, 0 -/* 802695A8 00266508 40 82 00 30 */ bne lbl_802695D8 -/* 802695AC 0026650C 88 7E 00 18 */ lbz r3, 0x18(r30) -/* 802695B0 00266510 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 802695B4 00266514 41 82 00 24 */ beq lbl_802695D8 -/* 802695B8 00266518 54 63 DF FE */ rlwinm r3, r3, 0x1b, 0x1f, 0x1f -/* 802695BC 0026651C 48 0F C3 0D */ bl SetMusicUnmute__19CStreamAudioManagerFb -/* 802695C0 00266520 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 802695C4 00266524 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f -/* 802695C8 00266528 98 0D 9E 81 */ stb r0, lbl_805A8A41@sda21(r13) -/* 802695CC 0026652C 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 802695D0 00266530 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 802695D4 00266534 48 0F 20 41 */ bl sub_8035b614 -lbl_802695D8: -/* 802695D8 00266538 93 FE 00 14 */ stw r31, 0x14(r30) -lbl_802695DC: -/* 802695DC 0026653C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802695E0 00266540 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802695E4 00266544 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802695E8 00266548 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802695EC 0026654C 7C 08 03 A6 */ mtlr r0 -/* 802695F0 00266550 38 21 00 20 */ addi r1, r1, 0x20 -/* 802695F4 00266554 4E 80 00 20 */ blr - -.global sub_802695f8 -sub_802695f8: -/* 802695F8 00266558 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 802695FC 0026655C 7C 08 02 A6 */ mflr r0 -/* 80269600 00266560 90 01 04 34 */ stw r0, 0x434(r1) -/* 80269604 00266564 DB E1 04 20 */ stfd f31, 0x420(r1) -/* 80269608 00266568 F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0 -/* 8026960C 0026656C 93 E1 04 1C */ stw r31, 0x41c(r1) -/* 80269610 00266570 93 C1 04 18 */ stw r30, 0x418(r1) -/* 80269614 00266574 93 A1 04 14 */ stw r29, 0x414(r1) -/* 80269618 00266578 7C 7D 1B 78 */ mr r29, r3 -/* 8026961C 0026657C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80269620 00266580 28 00 00 00 */ cmplwi r0, 0 -/* 80269624 00266584 41 82 02 80 */ beq lbl_802698A4 -/* 80269628 00266588 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 8026962C 0026658C 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80269630 00266590 39 24 D9 10 */ addi r9, r4, lbl_803ED910@l -/* 80269634 00266594 81 09 00 00 */ lwz r8, 0(r9) -/* 80269638 00266598 80 E9 00 04 */ lwz r7, 4(r9) -/* 8026963C 0026659C 80 C9 00 08 */ lwz r6, 8(r9) -/* 80269640 002665A0 80 A9 00 0C */ lwz r5, 0xc(r9) -/* 80269644 002665A4 80 89 00 10 */ lwz r4, 0x10(r9) -/* 80269648 002665A8 80 09 00 14 */ lwz r0, 0x14(r9) -/* 8026964C 002665AC 91 01 00 3C */ stw r8, 0x3c(r1) -/* 80269650 002665B0 90 E1 00 40 */ stw r7, 0x40(r1) -/* 80269654 002665B4 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80269658 002665B8 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8026965C 002665BC 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80269660 002665C0 90 01 00 50 */ stw r0, 0x50(r1) -/* 80269664 002665C4 48 09 A7 15 */ bl __ct__18CTextExecuteBufferFv -/* 80269668 002665C8 38 00 00 01 */ li r0, 1 -/* 8026966C 002665CC 83 C1 00 44 */ lwz r30, 0x44(r1) -/* 80269670 002665D0 98 01 01 48 */ stb r0, 0x148(r1) -/* 80269674 002665D4 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80269678 002665D8 83 E1 00 48 */ lwz r31, 0x48(r1) -/* 8026967C 002665DC 7F C6 F3 78 */ mr r6, r30 -/* 80269680 002665E0 90 01 00 08 */ stw r0, 8(r1) -/* 80269684 002665E4 38 80 00 00 */ li r4, 0 -/* 80269688 002665E8 7F E7 FB 78 */ mr r7, r31 -/* 8026968C 002665EC 38 A0 00 00 */ li r5, 0 -/* 80269690 002665F0 39 00 00 00 */ li r8, 0 -/* 80269694 002665F4 39 20 00 00 */ li r9, 0 -/* 80269698 002665F8 39 40 00 01 */ li r10, 1 -/* 8026969C 002665FC 48 09 A4 D1 */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification -/* 802696A0 00266600 80 8D A0 8C */ lwz r4, gpDefaultFont@sda21(r13) -/* 802696A4 00266604 38 61 00 18 */ addi r3, r1, 0x18 -/* 802696A8 00266608 48 0D 78 01 */ bl __ct__6CTokenFRC6CToken -/* 802696AC 0026660C 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802696B0 00266610 38 81 00 18 */ addi r4, r1, 0x18 -/* 802696B4 00266614 48 09 A2 A1 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>" -/* 802696B8 00266618 38 61 00 18 */ addi r3, r1, 0x18 -/* 802696BC 0026661C 38 80 00 00 */ li r4, 0 -/* 802696C0 00266620 48 0D 77 81 */ bl __dt__6CTokenFv -/* 802696C4 00266624 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 802696C8 00266628 38 61 00 2C */ addi r3, r1, 0x2c -/* 802696CC 0026662C 4B DA C3 25 */ bl wstring_l__4rstlFPCw -/* 802696D0 00266630 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 802696D4 00266634 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802696D8 00266638 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 802696DC 0026663C 48 09 8D 95 */ bl AddString__18CTextExecuteBufferFPCwi -/* 802696E0 00266640 38 61 00 2C */ addi r3, r1, 0x2c -/* 802696E4 00266644 48 0D 3A 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802696E8 00266648 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802696EC 0026664C 48 09 A4 3D */ bl EndBlock__18CTextExecuteBufferFv -/* 802696F0 00266650 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 802696F4 00266654 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802696F8 00266658 41 82 00 38 */ beq lbl_80269730 -/* 802696FC 0026665C 48 0E 08 B9 */ bl Black__6CColorFv -/* 80269700 00266660 C3 E2 BB 28 */ lfs f31, lbl_805AD848@sda21(r2) -/* 80269704 00266664 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 -/* 80269708 00266668 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8026970C 0026666C 80 E3 00 00 */ lwz r7, 0(r3) -/* 80269710 00266670 38 60 00 05 */ li r3, 5 -/* 80269714 00266674 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80269718 00266678 38 80 00 00 */ li r4, 0 -/* 8026971C 0026667C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80269720 00266680 C0 22 BB 2C */ lfs f1, lbl_805AD84C@sda21(r2) -/* 80269724 00266684 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269728 00266688 38 C0 00 00 */ li r6, 0 -/* 8026972C 0026668C 4B E8 2A 1D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80269730: -/* 80269730 00266690 83 A1 00 40 */ lwz r29, 0x40(r1) -/* 80269734 00266694 3C 00 43 30 */ lis r0, 0x4330 -/* 80269738 00266698 90 01 03 E8 */ stw r0, 0x3e8(r1) -/* 8026973C 0026669C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80269740 002666A0 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 80269744 002666A4 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2) -/* 80269748 002666A8 90 01 03 EC */ stw r0, 0x3ec(r1) -/* 8026974C 002666AC 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80269750 002666B0 C8 01 03 E8 */ lfd f0, 0x3e8(r1) -/* 80269754 002666B4 EF E0 08 28 */ fsubs f31, f0, f1 -/* 80269758 002666B8 48 0A 2F F5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8026975C 002666BC 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 80269760 002666C0 3C 80 43 30 */ lis r4, 0x4330 -/* 80269764 002666C4 7C 1D FA 14 */ add r0, r29, r31 -/* 80269768 002666C8 90 81 03 F0 */ stw r4, 0x3f0(r1) -/* 8026976C 002666CC 7C 65 F2 14 */ add r3, r5, r30 -/* 80269770 002666D0 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80269774 002666D4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80269778 002666D8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8026977C 002666DC 90 A1 03 F4 */ stw r5, 0x3f4(r1) -/* 80269780 002666E0 FC 80 F8 90 */ fmr f4, f31 -/* 80269784 002666E4 C8 62 BB 40 */ lfd f3, lbl_805AD860@sda21(r2) -/* 80269788 002666E8 C8 01 03 F0 */ lfd f0, 0x3f0(r1) -/* 8026978C 002666EC 90 61 03 FC */ stw r3, 0x3fc(r1) -/* 80269790 002666F0 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80269794 002666F4 C0 A2 BB 30 */ lfs f5, lbl_805AD850@sda21(r2) -/* 80269798 002666F8 90 81 03 F8 */ stw r4, 0x3f8(r1) -/* 8026979C 002666FC C0 C2 BB 34 */ lfs f6, lbl_805AD854@sda21(r2) -/* 802697A0 00266700 C8 01 03 F8 */ lfd f0, 0x3f8(r1) -/* 802697A4 00266704 90 01 04 04 */ stw r0, 0x404(r1) -/* 802697A8 00266708 EC 40 18 28 */ fsubs f2, f0, f3 -/* 802697AC 0026670C 90 81 04 00 */ stw r4, 0x400(r1) -/* 802697B0 00266710 C8 01 04 00 */ lfd f0, 0x400(r1) -/* 802697B4 00266714 EC 60 18 28 */ fsubs f3, f0, f3 -/* 802697B8 00266718 48 0A 2D 9D */ bl SetOrtho__9CGraphicsFffffff -/* 802697BC 0026671C 38 60 00 01 */ li r3, 1 -/* 802697C0 00266720 38 80 00 04 */ li r4, 4 -/* 802697C4 00266724 38 A0 00 05 */ li r5, 5 -/* 802697C8 00266728 38 C0 00 00 */ li r6, 0 -/* 802697CC 0026672C 48 0A 22 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802697D0 00266730 38 60 00 00 */ li r3, 0 -/* 802697D4 00266734 48 0A 22 9D */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802697D8 00266738 38 60 00 01 */ li r3, 1 -/* 802697DC 0026673C 38 80 00 07 */ li r4, 7 -/* 802697E0 00266740 38 A0 00 00 */ li r5, 0 -/* 802697E4 00266744 48 0A 22 B1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802697E8 00266748 38 60 00 07 */ li r3, 7 -/* 802697EC 0026674C 38 80 00 00 */ li r4, 0 -/* 802697F0 00266750 38 A0 00 00 */ li r5, 0 -/* 802697F4 00266754 38 C0 00 07 */ li r6, 7 -/* 802697F8 00266758 38 E0 00 00 */ li r7, 0 -/* 802697FC 0026675C 48 0A 22 2D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80269800 00266760 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 80269804 00266764 3C 00 43 30 */ lis r0, 0x4330 -/* 80269808 00266768 90 61 04 0C */ stw r3, 0x40c(r1) -/* 8026980C 0026676C 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 80269810 00266770 C0 42 BB 38 */ lfs f2, lbl_805AD858@sda21(r2) -/* 80269814 00266774 3C A0 80 5A */ lis r5, lbl_805A6724@ha -/* 80269818 00266778 90 01 04 08 */ stw r0, 0x408(r1) -/* 8026981C 0026677C 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80269820 00266780 C8 22 BB 40 */ lfd f1, lbl_805AD860@sda21(r2) -/* 80269824 00266784 38 C3 67 00 */ addi r6, r3, lbl_805A6700@l -/* 80269828 00266788 C8 01 04 08 */ lfd f0, 0x408(r1) -/* 8026982C 0026678C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l -/* 80269830 00266790 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80269834 00266794 38 A5 67 24 */ addi r5, r5, lbl_805A6724@l -/* 80269838 00266798 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8026983C 0026679C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80269840 002667A0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80269844 002667A4 38 E1 00 20 */ addi r7, r1, 0x20 -/* 80269848 002667A8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026984C 002667AC 48 0A 96 11 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 80269850 002667B0 38 61 00 84 */ addi r3, r1, 0x84 -/* 80269854 002667B4 38 81 00 54 */ addi r4, r1, 0x54 -/* 80269858 002667B8 48 0A 93 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8026985C 002667BC 38 61 00 84 */ addi r3, r1, 0x84 -/* 80269860 002667C0 48 0A 2D 81 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80269864 002667C4 38 61 01 90 */ addi r3, r1, 0x190 -/* 80269868 002667C8 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8026986C 002667CC 48 09 89 45 */ bl BuildRenderBuffer__18CTextExecuteBufferFv -/* 80269870 002667D0 48 0E 07 3D */ bl White__6CColorFv -/* 80269874 002667D4 C0 22 BB 38 */ lfs f1, lbl_805AD858@sda21(r2) -/* 80269878 002667D8 7C 64 1B 78 */ mr r4, r3 -/* 8026987C 002667DC 38 61 01 90 */ addi r3, r1, 0x190 -/* 80269880 002667E0 48 0F 0C 3D */ bl Render__17CTextRenderBufferCFRC6CColorf -/* 80269884 002667E4 38 61 01 90 */ addi r3, r1, 0x190 -/* 80269888 002667E8 38 80 FF FF */ li r4, -1 -/* 8026988C 002667EC 4B DB F0 D1 */ bl __dt__17CTextRenderBufferFv -/* 80269890 002667F0 38 60 00 01 */ li r3, 1 -/* 80269894 002667F4 48 0A 21 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80269898 002667F8 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8026989C 002667FC 38 80 FF FF */ li r4, -1 -/* 802698A0 00266800 4B DB F4 15 */ bl __dt__18CTextExecuteBufferFv -lbl_802698A4: -/* 802698A4 00266804 E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0 -/* 802698A8 00266808 80 01 04 34 */ lwz r0, 0x434(r1) -/* 802698AC 0026680C CB E1 04 20 */ lfd f31, 0x420(r1) -/* 802698B0 00266810 83 E1 04 1C */ lwz r31, 0x41c(r1) -/* 802698B4 00266814 83 C1 04 18 */ lwz r30, 0x418(r1) -/* 802698B8 00266818 83 A1 04 14 */ lwz r29, 0x414(r1) -/* 802698BC 0026681C 7C 08 03 A6 */ mtlr r0 -/* 802698C0 00266820 38 21 04 30 */ addi r1, r1, 0x430 -/* 802698C4 00266824 4E 80 00 20 */ blr - -.global Draw__18CErrorOutputWindowCFv -Draw__18CErrorOutputWindowCFv: -/* 802698C8 00266828 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802698CC 0026682C 7C 08 02 A6 */ mflr r0 -/* 802698D0 00266830 90 01 00 14 */ stw r0, 0x14(r1) -/* 802698D4 00266834 80 03 00 14 */ lwz r0, 0x14(r3) -/* 802698D8 00266838 2C 00 00 02 */ cmpwi r0, 2 -/* 802698DC 0026683C 41 82 00 24 */ beq lbl_80269900 -/* 802698E0 00266840 40 80 00 14 */ bge lbl_802698F4 -/* 802698E4 00266844 2C 00 00 00 */ cmpwi r0, 0 -/* 802698E8 00266848 41 82 00 40 */ beq lbl_80269928 -/* 802698EC 0026684C 40 80 00 18 */ bge lbl_80269904 -/* 802698F0 00266850 48 00 00 38 */ b lbl_80269928 -lbl_802698F4: -/* 802698F4 00266854 2C 00 00 04 */ cmpwi r0, 4 -/* 802698F8 00266858 40 80 00 30 */ bge lbl_80269928 -/* 802698FC 0026685C 48 00 00 08 */ b lbl_80269904 -lbl_80269900: -/* 80269900 00266860 4B FF FC F9 */ bl sub_802695f8 -lbl_80269904: -/* 80269904 00266864 38 60 00 00 */ li r3, 0 -/* 80269908 00266868 48 09 FB A1 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -/* 8026990C 0026686C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80269910 00266870 28 04 00 00 */ cmplwi r4, 0 -/* 80269914 00266874 41 82 00 14 */ beq lbl_80269928 -/* 80269918 00266878 88 04 03 18 */ lbz r0, 0x318(r4) -/* 8026991C 0026687C 38 60 00 01 */ li r3, 1 -/* 80269920 00266880 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80269924 00266884 98 04 03 18 */ stb r0, 0x318(r4) -lbl_80269928: -/* 80269928 00266888 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026992C 0026688C 7C 08 03 A6 */ mtlr r0 -/* 80269930 00266890 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269934 00266894 4E 80 00 20 */ blr - -.global UpdateWindow__18CErrorOutputWindowFv -UpdateWindow__18CErrorOutputWindowFv: -/* 80269938 00266898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026993C 0026689C 7C 08 02 A6 */ mflr r0 -/* 80269940 002668A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269944 002668A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269948 002668A8 7C 7F 1B 78 */ mr r31, r3 -/* 8026994C 002668AC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80269950 002668B0 2C 00 00 01 */ cmpwi r0, 1 -/* 80269954 002668B4 40 82 00 10 */ bne lbl_80269964 -/* 80269958 002668B8 38 80 00 02 */ li r4, 2 -/* 8026995C 002668BC 4B FF FB 69 */ bl sub_802694c4 -/* 80269960 002668C0 48 00 01 94 */ b lbl_80269AF4 -lbl_80269964: -/* 80269964 002668C4 48 10 A7 ED */ bl DVDGetDriveStatus -/* 80269968 002668C8 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 8026996C 002668CC 38 C0 00 00 */ li r6, 0 -/* 80269970 002668D0 88 0D A5 6C */ lbz r0, lbl_805A912C@sda21(r13) -/* 80269974 002668D4 7C 85 00 D0 */ neg r4, r5 -/* 80269978 002668D8 7C 84 2B 78 */ or r4, r4, r5 -/* 8026997C 002668DC 7C 00 07 75 */ extsb. r0, r0 -/* 80269980 002668E0 54 85 0F FE */ srwi r5, r4, 0x1f -/* 80269984 002668E4 40 82 00 14 */ bne lbl_80269998 -/* 80269988 002668E8 38 80 00 00 */ li r4, 0 -/* 8026998C 002668EC 38 00 00 01 */ li r0, 1 -/* 80269990 002668F0 90 8D A5 68 */ stw r4, lbl_805A9128@sda21(r13) -/* 80269994 002668F4 98 0D A5 6C */ stb r0, lbl_805A912C@sda21(r13) -lbl_80269998: -/* 80269998 002668F8 80 0D A5 68 */ lwz r0, lbl_805A9128@sda21(r13) -/* 8026999C 002668FC 7C 03 00 00 */ cmpw r3, r0 -/* 802699A0 00266900 41 82 00 08 */ beq lbl_802699A8 -/* 802699A4 00266904 90 6D A5 68 */ stw r3, lbl_805A9128@sda21(r13) -lbl_802699A8: -/* 802699A8 00266908 38 03 00 01 */ addi r0, r3, 1 -/* 802699AC 0026690C 28 00 00 0C */ cmplwi r0, 0xc -/* 802699B0 00266910 41 81 00 68 */ bgt lbl_80269A18 -/* 802699B4 00266914 3C 80 80 3F */ lis r4, lbl_803EA3DC@ha -/* 802699B8 00266918 54 00 10 3A */ slwi r0, r0, 2 -/* 802699BC 0026691C 38 84 A3 DC */ addi r4, r4, lbl_803EA3DC@l -/* 802699C0 00266920 7C 04 00 2E */ lwzx r0, r4, r0 -/* 802699C4 00266924 7C 09 03 A6 */ mtctr r0 -/* 802699C8 00266928 4E 80 04 20 */ bctr -/* 802699CC 0026692C 3C 80 80 3F */ lis r4, lbl_803EA410@ha -/* 802699D0 00266930 38 04 A4 10 */ addi r0, r4, lbl_803EA410@l -/* 802699D4 00266934 7C 06 03 78 */ mr r6, r0 -/* 802699D8 00266938 48 00 00 40 */ b lbl_80269A18 -/* 802699DC 0026693C 3C 80 80 3F */ lis r4, lbl_803EA410@ha -/* 802699E0 00266940 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l -/* 802699E4 00266944 38 C4 00 AE */ addi r6, r4, 0xae -/* 802699E8 00266948 48 00 00 30 */ b lbl_80269A18 -/* 802699EC 0026694C 3C 80 80 3F */ lis r4, lbl_803EA410@ha -/* 802699F0 00266950 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l -/* 802699F4 00266954 38 C4 01 04 */ addi r6, r4, 0x104 -/* 802699F8 00266958 48 00 00 20 */ b lbl_80269A18 -/* 802699FC 0026695C 3C 80 80 3F */ lis r4, lbl_803EA410@ha -/* 80269A00 00266960 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l -/* 80269A04 00266964 38 C4 01 B0 */ addi r6, r4, 0x1b0 -/* 80269A08 00266968 48 00 00 10 */ b lbl_80269A18 -/* 80269A0C 0026696C 3C 80 80 3F */ lis r4, lbl_803EA410@ha -/* 80269A10 00266970 38 84 A4 10 */ addi r4, r4, lbl_803EA410@l -/* 80269A14 00266974 38 C4 02 A6 */ addi r6, r4, 0x2a6 -lbl_80269A18: -/* 80269A18 00266978 2C 03 00 02 */ cmpwi r3, 2 -/* 80269A1C 0026697C 38 80 00 00 */ li r4, 0 -/* 80269A20 00266980 41 82 00 3C */ beq lbl_80269A5C -/* 80269A24 00266984 2C 03 00 01 */ cmpwi r3, 1 -/* 80269A28 00266988 41 82 00 34 */ beq lbl_80269A5C -/* 80269A2C 0026698C 7C 06 00 D0 */ neg r0, r6 -/* 80269A30 00266990 28 06 00 00 */ cmplwi r6, 0 -/* 80269A34 00266994 7C 00 33 78 */ or r0, r0, r6 -/* 80269A38 00266998 54 05 0F FE */ srwi r5, r0, 0x1f -/* 80269A3C 0026699C 41 82 00 20 */ beq lbl_80269A5C -/* 80269A40 002669A0 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80269A44 002669A4 28 00 00 00 */ cmplwi r0, 0 -/* 80269A48 002669A8 41 82 00 10 */ beq lbl_80269A58 -/* 80269A4C 002669AC 7C 06 00 40 */ cmplw r6, r0 -/* 80269A50 002669B0 41 82 00 08 */ beq lbl_80269A58 -/* 80269A54 002669B4 38 80 00 01 */ li r4, 1 -lbl_80269A58: -/* 80269A58 002669B8 90 DF 00 1C */ stw r6, 0x1c(r31) -lbl_80269A5C: -/* 80269A5C 002669BC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80269A60 002669C0 40 82 00 34 */ bne lbl_80269A94 -/* 80269A64 002669C4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80269A68 002669C8 2C 00 00 00 */ cmpwi r0, 0 -/* 80269A6C 002669CC 41 82 00 88 */ beq lbl_80269AF4 -/* 80269A70 002669D0 88 7F 00 18 */ lbz r3, 0x18(r31) -/* 80269A74 002669D4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80269A78 002669D8 41 82 00 0C */ beq lbl_80269A84 -/* 80269A7C 002669DC 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f -/* 80269A80 002669E0 48 09 FA 29 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -lbl_80269A84: -/* 80269A84 002669E4 7F E3 FB 78 */ mr r3, r31 -/* 80269A88 002669E8 38 80 00 00 */ li r4, 0 -/* 80269A8C 002669EC 4B FF FA 39 */ bl sub_802694c4 -/* 80269A90 002669F0 48 00 00 64 */ b lbl_80269AF4 -lbl_80269A94: -/* 80269A94 002669F4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80269A98 002669F8 2C 00 00 03 */ cmpwi r0, 3 -/* 80269A9C 002669FC 41 82 00 30 */ beq lbl_80269ACC -/* 80269AA0 00266A00 2C 00 00 00 */ cmpwi r0, 0 -/* 80269AA4 00266A04 40 82 00 14 */ bne lbl_80269AB8 -/* 80269AA8 00266A08 88 6D 9C 6C */ lbz r3, lbl_805A882C@sda21(r13) -/* 80269AAC 00266A0C 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 80269AB0 00266A10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80269AB4 00266A14 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_80269AB8: -/* 80269AB8 00266A18 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 80269ABC 00266A1C 7F E3 FB 78 */ mr r3, r31 -/* 80269AC0 00266A20 38 84 00 01 */ addi r4, r4, 1 -/* 80269AC4 00266A24 4B FF FA 01 */ bl sub_802694c4 -/* 80269AC8 00266A28 48 00 00 2C */ b lbl_80269AF4 -lbl_80269ACC: -/* 80269ACC 00266A2C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80269AD0 00266A30 41 82 00 24 */ beq lbl_80269AF4 -/* 80269AD4 00266A34 88 7F 00 18 */ lbz r3, 0x18(r31) -/* 80269AD8 00266A38 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80269ADC 00266A3C 41 82 00 0C */ beq lbl_80269AE8 -/* 80269AE0 00266A40 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f -/* 80269AE4 00266A44 48 09 F9 C5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -lbl_80269AE8: -/* 80269AE8 00266A48 7F E3 FB 78 */ mr r3, r31 -/* 80269AEC 00266A4C 38 80 00 02 */ li r4, 2 -/* 80269AF0 00266A50 4B FF F9 D5 */ bl sub_802694c4 -lbl_80269AF4: -/* 80269AF4 00266A54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269AF8 00266A58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269AFC 00266A5C 7C 08 03 A6 */ mtlr r0 -/* 80269B00 00266A60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269B04 00266A64 4E 80 00 20 */ blr - -.global OnMessage__18CErrorOutputWindowCFv -OnMessage__18CErrorOutputWindowCFv: -/* 80269B08 00266A68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269B0C 00266A6C 7C 08 02 A6 */ mflr r0 -/* 80269B10 00266A70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269B14 00266A74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269B18 00266A78 7C 7F 1B 78 */ mr r31, r3 -/* 80269B1C 00266A7C 80 04 00 04 */ lwz r0, 4(r4) -/* 80269B20 00266A80 2C 00 00 0A */ cmpwi r0, 0xa -/* 80269B24 00266A84 41 82 00 40 */ beq lbl_80269B64 -/* 80269B28 00266A88 40 80 00 1C */ bge lbl_80269B44 -/* 80269B2C 00266A8C 2C 00 00 05 */ cmpwi r0, 5 -/* 80269B30 00266A90 41 82 00 20 */ beq lbl_80269B50 -/* 80269B34 00266A94 40 80 00 54 */ bge lbl_80269B88 -/* 80269B38 00266A98 2C 00 00 04 */ cmpwi r0, 4 -/* 80269B3C 00266A9C 40 80 00 2C */ bge lbl_80269B68 -/* 80269B40 00266AA0 48 00 00 48 */ b lbl_80269B88 -lbl_80269B44: -/* 80269B44 00266AA4 2C 00 00 0C */ cmpwi r0, 0xc -/* 80269B48 00266AA8 40 80 00 40 */ bge lbl_80269B88 -/* 80269B4C 00266AAC 48 00 00 1C */ b lbl_80269B68 -lbl_80269B50: -/* 80269B50 00266AB0 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80269B54 00266AB4 7C 03 00 D0 */ neg r0, r3 -/* 80269B58 00266AB8 7C 00 1B 78 */ or r0, r0, r3 -/* 80269B5C 00266ABC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80269B60 00266AC0 48 00 00 2C */ b lbl_80269B8C -lbl_80269B64: -/* 80269B64 00266AC4 4B FF FD D5 */ bl UpdateWindow__18CErrorOutputWindowFv -lbl_80269B68: -/* 80269B68 00266AC8 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 80269B6C 00266ACC 38 00 00 01 */ li r0, 1 -/* 80269B70 00266AD0 7C 80 02 78 */ xor r0, r4, r0 -/* 80269B74 00266AD4 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80269B78 00266AD8 7C 00 20 38 */ and r0, r0, r4 -/* 80269B7C 00266ADC 7C 00 18 50 */ subf r0, r0, r3 -/* 80269B80 00266AE0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80269B84 00266AE4 48 00 00 08 */ b lbl_80269B8C -lbl_80269B88: -/* 80269B88 00266AE8 38 60 00 00 */ li r3, 0 -lbl_80269B8C: -/* 80269B8C 00266AEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269B90 00266AF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269B94 00266AF4 7C 08 03 A6 */ mtlr r0 -/* 80269B98 00266AF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269B9C 00266AFC 4E 80 00 20 */ blr - -.global GetIsContinueDraw__18CErrorOutputWindowCFv -GetIsContinueDraw__18CErrorOutputWindowCFv: -/* 80269BA0 00266B00 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80269BA4 00266B04 38 80 00 02 */ li r4, 2 -/* 80269BA8 00266B08 7C 80 02 78 */ xor r0, r4, r0 -/* 80269BAC 00266B0C 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80269BB0 00266B10 7C 00 20 38 */ and r0, r0, r4 -/* 80269BB4 00266B14 7C 00 18 50 */ subf r0, r0, r3 -/* 80269BB8 00266B18 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80269BBC 00266B1C 4E 80 00 20 */ blr - -.global __ct__18CErrorOutputWindowFiff -__ct__18CErrorOutputWindowFiff: -/* 80269BC0 00266B20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80269BC4 00266B24 7C 08 02 A6 */ mflr r0 -/* 80269BC8 00266B28 3C A0 80 3D */ lis r5, lbl_803D53E0@ha -/* 80269BCC 00266B2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80269BD0 00266B30 38 05 53 E0 */ addi r0, r5, lbl_803D53E0@l -/* 80269BD4 00266B34 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80269BD8 00266B38 7C 9F 23 78 */ mr r31, r4 -/* 80269BDC 00266B3C 7C 04 03 78 */ mr r4, r0 -/* 80269BE0 00266B40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80269BE4 00266B44 7C 7E 1B 78 */ mr r30, r3 -/* 80269BE8 00266B48 38 61 00 08 */ addi r3, r1, 8 -/* 80269BEC 00266B4C 4B D9 B0 CD */ bl string_l__4rstlFPCc -/* 80269BF0 00266B50 7F C3 F3 78 */ mr r3, r30 -/* 80269BF4 00266B54 38 81 00 08 */ addi r4, r1, 8 -/* 80269BF8 00266B58 4B DE 90 15 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80269BFC 00266B5C 38 61 00 08 */ addi r3, r1, 8 -/* 80269C00 00266B60 48 0D 3E E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80269C04 00266B64 3C 60 80 3F */ lis r3, lbl_803EA3C0@ha -/* 80269C08 00266B68 7F E0 00 34 */ cntlzw r0, r31 -/* 80269C0C 00266B6C 38 63 A3 C0 */ addi r3, r3, lbl_803EA3C0@l -/* 80269C10 00266B70 38 C0 00 00 */ li r6, 0 -/* 80269C14 00266B74 90 7E 00 00 */ stw r3, 0(r30) -/* 80269C18 00266B78 38 A0 00 01 */ li r5, 1 -/* 80269C1C 00266B7C 54 04 D9 7E */ srwi r4, r0, 5 -/* 80269C20 00266B80 7F C3 F3 78 */ mr r3, r30 -/* 80269C24 00266B84 90 DE 00 14 */ stw r6, 0x14(r30) -/* 80269C28 00266B88 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269C2C 00266B8C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80269C30 00266B90 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269C34 00266B94 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269C38 00266B98 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80269C3C 00266B9C 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269C40 00266BA0 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269C44 00266BA4 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80269C48 00266BA8 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269C4C 00266BAC 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269C50 00266BB0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80269C54 00266BB4 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269C58 00266BB8 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80269C5C 00266BBC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80269C60 00266BC0 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80269C64 00266BC4 90 DE 00 1C */ stw r6, 0x1c(r30) -/* 80269C68 00266BC8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80269C6C 00266BCC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80269C70 00266BD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80269C74 00266BD4 7C 08 03 A6 */ mtlr r0 -/* 80269C78 00266BD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80269C7C 00266BDC 4E 80 00 20 */ blr - -.global SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f -SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f: -/* 80269C80 00266BE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80269C84 00266BE4 7C 08 02 A6 */ mflr r0 -/* 80269C88 00266BE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80269C8C 00266BEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80269C90 00266BF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80269C94 00266BF4 7C 9E 23 78 */ mr r30, r4 -/* 80269C98 00266BF8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80269C9C 00266BFC 7C 7D 1B 78 */ mr r29, r3 -/* 80269CA0 00266C00 3B FD 00 04 */ addi r31, r29, 4 -/* 80269CA4 00266C04 48 00 00 10 */ b lbl_80269CB4 -lbl_80269CA8: -/* 80269CA8 00266C08 7F E3 FB 78 */ mr r3, r31 -/* 80269CAC 00266C0C 48 00 05 41 */ bl SetActive__Q220CRainSplashGenerator11SSplashLine -/* 80269CB0 00266C10 3B FF 00 18 */ addi r31, r31, 0x18 -lbl_80269CB4: -/* 80269CB4 00266C14 80 1D 00 00 */ lwz r0, 0(r29) -/* 80269CB8 00266C18 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80269CBC 00266C1C 7C 7D 02 14 */ add r3, r29, r0 -/* 80269CC0 00266C20 38 03 00 04 */ addi r0, r3, 4 -/* 80269CC4 00266C24 7C 1F 00 40 */ cmplw r31, r0 -/* 80269CC8 00266C28 40 82 FF E0 */ bne lbl_80269CA8 -/* 80269CCC 00266C2C C0 1E 00 00 */ lfs f0, 0(r30) -/* 80269CD0 00266C30 D0 1D 00 64 */ stfs f0, 0x64(r29) -/* 80269CD4 00266C34 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80269CD8 00266C38 D0 1D 00 68 */ stfs f0, 0x68(r29) -/* 80269CDC 00266C3C C0 1E 00 08 */ lfs f0, 8(r30) -/* 80269CE0 00266C40 D0 1D 00 6C */ stfs f0, 0x6c(r29) -/* 80269CE4 00266C44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80269CE8 00266C48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80269CEC 00266C4C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80269CF0 00266C50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80269CF4 00266C54 7C 08 03 A6 */ mtlr r0 -/* 80269CF8 00266C58 38 21 00 20 */ addi r1, r1, 0x20 -/* 80269CFC 00266C5C 4E 80 00 20 */ blr - -.global IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager -IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager: -/* 80269D00 00266C60 80 03 00 00 */ lwz r0, 0(r3) -/* 80269D04 00266C64 38 A3 00 04 */ addi r5, r3, 4 -/* 80269D08 00266C68 38 80 00 00 */ li r4, 0 -/* 80269D0C 00266C6C 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80269D10 00266C70 7C 63 02 14 */ add r3, r3, r0 -/* 80269D14 00266C74 38 63 00 04 */ addi r3, r3, 4 -/* 80269D18 00266C78 48 00 00 18 */ b lbl_80269D30 -lbl_80269D1C: -/* 80269D1C 00266C7C 88 05 00 16 */ lbz r0, 0x16(r5) -/* 80269D20 00266C80 38 A5 00 18 */ addi r5, r5, 0x18 -/* 80269D24 00266C84 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 80269D28 00266C88 7C 80 03 78 */ or r0, r4, r0 -/* 80269D2C 00266C8C 54 04 06 3E */ clrlwi r4, r0, 0x18 -lbl_80269D30: -/* 80269D30 00266C90 7C 05 18 40 */ cmplw r5, r3 -/* 80269D34 00266C94 40 82 FF E8 */ bne lbl_80269D1C -/* 80269D38 00266C98 54 83 06 3E */ clrlwi r3, r4, 0x18 -/* 80269D3C 00266C9C 4E 80 00 20 */ blr - -.global Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f -Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f: -/* 80269D40 00266CA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80269D44 00266CA4 7C 08 02 A6 */ mflr r0 -/* 80269D48 00266CA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80269D4C 00266CAC DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80269D50 00266CB0 FF E0 10 90 */ fmr f31, f2 -/* 80269D54 00266CB4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80269D58 00266CB8 FF C0 08 90 */ fmr f30, f1 -/* 80269D5C 00266CBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80269D60 00266CC0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80269D64 00266CC4 7C 9E 23 78 */ mr r30, r4 -/* 80269D68 00266CC8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80269D6C 00266CCC 7C 7D 1B 78 */ mr r29, r3 -/* 80269D70 00266CD0 3B FD 00 04 */ addi r31, r29, 4 -/* 80269D74 00266CD4 48 00 00 1C */ b lbl_80269D90 -lbl_80269D78: -/* 80269D78 00266CD8 FC 20 F0 90 */ fmr f1, f30 -/* 80269D7C 00266CDC 7F E3 FB 78 */ mr r3, r31 -/* 80269D80 00266CE0 FC 40 F8 90 */ fmr f2, f31 -/* 80269D84 00266CE4 7F C4 F3 78 */ mr r4, r30 -/* 80269D88 00266CE8 48 00 01 DD */ bl Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f -/* 80269D8C 00266CEC 3B FF 00 18 */ addi r31, r31, 0x18 -lbl_80269D90: -/* 80269D90 00266CF0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80269D94 00266CF4 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80269D98 00266CF8 7C 7D 02 14 */ add r3, r29, r0 -/* 80269D9C 00266CFC 38 03 00 04 */ addi r0, r3, 4 -/* 80269DA0 00266D00 7C 1F 00 40 */ cmplw r31, r0 -/* 80269DA4 00266D04 40 82 FF D4 */ bne lbl_80269D78 -/* 80269DA8 00266D08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80269DAC 00266D0C CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80269DB0 00266D10 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80269DB4 00266D14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80269DB8 00266D18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80269DBC 00266D1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80269DC0 00266D20 7C 08 03 A6 */ mtlr r0 -/* 80269DC4 00266D24 38 21 00 30 */ addi r1, r1, 0x30 -/* 80269DC8 00266D28 4E 80 00 20 */ blr - -.global Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager -Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager: -/* 80269DCC 00266D2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80269DD0 00266D30 7C 08 02 A6 */ mflr r0 -/* 80269DD4 00266D34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80269DD8 00266D38 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80269DDC 00266D3C FF E0 08 90 */ fmr f31, f1 -/* 80269DE0 00266D40 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80269DE4 00266D44 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80269DE8 00266D48 7C 9E 23 78 */ mr r30, r4 -/* 80269DEC 00266D4C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80269DF0 00266D50 7C 7D 1B 78 */ mr r29, r3 -/* 80269DF4 00266D54 3B FD 00 04 */ addi r31, r29, 4 -/* 80269DF8 00266D58 48 00 00 18 */ b lbl_80269E10 -lbl_80269DFC: -/* 80269DFC 00266D5C FC 20 F8 90 */ fmr f1, f31 -/* 80269E00 00266D60 7F E3 FB 78 */ mr r3, r31 -/* 80269E04 00266D64 7F C4 F3 78 */ mr r4, r30 -/* 80269E08 00266D68 48 00 02 C9 */ bl Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager -/* 80269E0C 00266D6C 3B FF 00 18 */ addi r31, r31, 0x18 -lbl_80269E10: -/* 80269E10 00266D70 80 1D 00 00 */ lwz r0, 0(r29) -/* 80269E14 00266D74 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80269E18 00266D78 7C 7D 02 14 */ add r3, r29, r0 -/* 80269E1C 00266D7C 38 03 00 04 */ addi r0, r3, 4 -/* 80269E20 00266D80 7C 1F 00 40 */ cmplw r31, r0 -/* 80269E24 00266D84 40 82 FF D8 */ bne lbl_80269DFC -/* 80269E28 00266D88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80269E2C 00266D8C CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80269E30 00266D90 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80269E34 00266D94 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80269E38 00266D98 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80269E3C 00266D9C 7C 08 03 A6 */ mtlr r0 -/* 80269E40 00266DA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80269E44 00266DA4 4E 80 00 20 */ blr - -.global __ct__Q220CRainSplashGenerator11SRainSplash -__ct__Q220CRainSplashGenerator11SRainSplash: -/* 80269E48 00266DA8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80269E4C 00266DAC 38 A0 00 01 */ li r5, 1 -/* 80269E50 00266DB0 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) -/* 80269E54 00266DB4 38 00 00 04 */ li r0, 4 -/* 80269E58 00266DB8 C0 42 BB 48 */ lfs f2, lbl_805AD868@sda21(r2) -/* 80269E5C 00266DBC 34 E3 00 04 */ addic. r7, r3, 4 -/* 80269E60 00266DC0 C0 22 BB 4C */ lfs f1, lbl_805AD86C@sda21(r2) -/* 80269E64 00266DC4 FC 00 18 18 */ frsp f0, f3 -/* 80269E68 00266DC8 88 C2 BB 50 */ lbz r6, lbl_805AD870@sda21(r2) -/* 80269E6C 00266DCC 88 81 00 1E */ lbz r4, 0x1e(r1) -/* 80269E70 00266DD0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 -/* 80269E74 00266DD4 D0 61 00 08 */ stfs f3, 8(r1) -/* 80269E78 00266DD8 54 88 06 3E */ clrlwi r8, r4, 0x18 -/* 80269E7C 00266DDC D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80269E80 00266DE0 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80269E84 00266DE4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80269E88 00266DE8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80269E8C 00266DEC 98 C1 00 1C */ stb r6, 0x1c(r1) -/* 80269E90 00266DF0 98 A1 00 1D */ stb r5, 0x1d(r1) -/* 80269E94 00266DF4 98 81 00 1E */ stb r4, 0x1e(r1) -/* 80269E98 00266DF8 90 03 00 00 */ stw r0, 0(r3) -/* 80269E9C 00266DFC 41 82 00 24 */ beq lbl_80269EC0 -/* 80269EA0 00266E00 D0 07 00 00 */ stfs f0, 0(r7) -/* 80269EA4 00266E04 D0 67 00 04 */ stfs f3, 4(r7) -/* 80269EA8 00266E08 D0 67 00 08 */ stfs f3, 8(r7) -/* 80269EAC 00266E0C D0 47 00 0C */ stfs f2, 0xc(r7) -/* 80269EB0 00266E10 D0 27 00 10 */ stfs f1, 0x10(r7) -/* 80269EB4 00266E14 98 C7 00 14 */ stb r6, 0x14(r7) -/* 80269EB8 00266E18 98 A7 00 15 */ stb r5, 0x15(r7) -/* 80269EBC 00266E1C 99 07 00 16 */ stb r8, 0x16(r7) -lbl_80269EC0: -/* 80269EC0 00266E20 34 E7 00 18 */ addic. r7, r7, 0x18 -/* 80269EC4 00266E24 41 82 00 24 */ beq lbl_80269EE8 -/* 80269EC8 00266E28 D0 07 00 00 */ stfs f0, 0(r7) -/* 80269ECC 00266E2C D0 67 00 04 */ stfs f3, 4(r7) -/* 80269ED0 00266E30 D0 67 00 08 */ stfs f3, 8(r7) -/* 80269ED4 00266E34 D0 47 00 0C */ stfs f2, 0xc(r7) -/* 80269ED8 00266E38 D0 27 00 10 */ stfs f1, 0x10(r7) -/* 80269EDC 00266E3C 98 C7 00 14 */ stb r6, 0x14(r7) -/* 80269EE0 00266E40 98 A7 00 15 */ stb r5, 0x15(r7) -/* 80269EE4 00266E44 99 07 00 16 */ stb r8, 0x16(r7) -lbl_80269EE8: -/* 80269EE8 00266E48 34 E7 00 18 */ addic. r7, r7, 0x18 -/* 80269EEC 00266E4C 41 82 00 24 */ beq lbl_80269F10 -/* 80269EF0 00266E50 D0 07 00 00 */ stfs f0, 0(r7) -/* 80269EF4 00266E54 D0 67 00 04 */ stfs f3, 4(r7) -/* 80269EF8 00266E58 D0 67 00 08 */ stfs f3, 8(r7) -/* 80269EFC 00266E5C D0 47 00 0C */ stfs f2, 0xc(r7) -/* 80269F00 00266E60 D0 27 00 10 */ stfs f1, 0x10(r7) -/* 80269F04 00266E64 98 C7 00 14 */ stb r6, 0x14(r7) -/* 80269F08 00266E68 98 A7 00 15 */ stb r5, 0x15(r7) -/* 80269F0C 00266E6C 99 07 00 16 */ stb r8, 0x16(r7) -lbl_80269F10: -/* 80269F10 00266E70 34 E7 00 18 */ addic. r7, r7, 0x18 -/* 80269F14 00266E74 41 82 00 24 */ beq lbl_80269F38 -/* 80269F18 00266E78 D0 07 00 00 */ stfs f0, 0(r7) -/* 80269F1C 00266E7C D0 67 00 04 */ stfs f3, 4(r7) -/* 80269F20 00266E80 D0 67 00 08 */ stfs f3, 8(r7) -/* 80269F24 00266E84 D0 47 00 0C */ stfs f2, 0xc(r7) -/* 80269F28 00266E88 D0 27 00 10 */ stfs f1, 0x10(r7) -/* 80269F2C 00266E8C 98 C7 00 14 */ stb r6, 0x14(r7) -/* 80269F30 00266E90 98 A7 00 15 */ stb r5, 0x15(r7) -/* 80269F34 00266E94 99 07 00 16 */ stb r8, 0x16(r7) -lbl_80269F38: -/* 80269F38 00266E98 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80269F3C 00266E9C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) -/* 80269F40 00266EA0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) -/* 80269F44 00266EA4 D0 23 00 64 */ stfs f1, 0x64(r3) -/* 80269F48 00266EA8 C0 24 00 04 */ lfs f1, 4(r4) -/* 80269F4C 00266EAC D0 23 00 68 */ stfs f1, 0x68(r3) -/* 80269F50 00266EB0 C0 24 00 08 */ lfs f1, 8(r4) -/* 80269F54 00266EB4 D0 23 00 6C */ stfs f1, 0x6c(r3) -/* 80269F58 00266EB8 D0 03 00 70 */ stfs f0, 0x70(r3) -/* 80269F5C 00266EBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80269F60 00266EC0 4E 80 00 20 */ blr - -.global Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f -Draw__Q220CRainSplashGenerator11SSplashLineCFffRC9CVector3f: -/* 80269F64 00266EC4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80269F68 00266EC8 7C 08 02 A6 */ mflr r0 -/* 80269F6C 00266ECC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80269F70 00266ED0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80269F74 00266ED4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80269F78 00266ED8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80269F7C 00266EDC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80269F80 00266EE0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80269F84 00266EE4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80269F88 00266EE8 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80269F8C 00266EEC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80269F90 00266EF0 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 80269F94 00266EF4 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 80269F98 00266EF8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80269F9C 00266EFC 7C 7B 1B 78 */ mr r27, r3 -/* 80269FA0 00266F00 C0 62 BB 54 */ lfs f3, lbl_805AD874@sda21(r2) -/* 80269FA4 00266F04 C0 83 00 00 */ lfs f4, 0(r3) -/* 80269FA8 00266F08 FF A0 08 90 */ fmr f29, f1 -/* 80269FAC 00266F0C 7C 9C 23 78 */ mr r28, r4 -/* 80269FB0 00266F10 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 80269FB4 00266F14 40 81 00 E0 */ ble lbl_8026A094 -/* 80269FB8 00266F18 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 80269FBC 00266F1C EF E2 00 32 */ fmuls f31, f2, f0 -/* 80269FC0 00266F20 E0 1B A0 15 */ psq_l f0, 21(r27), 1, qr2 -/* 80269FC4 00266F24 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80269FC8 00266F28 EF C4 00 28 */ fsubs f30, f4, f0 -/* 80269FCC 00266F2C FC 1E 18 40 */ fcmpo cr0, f30, f3 -/* 80269FD0 00266F30 40 80 00 08 */ bge lbl_80269FD8 -/* 80269FD4 00266F34 FF C0 18 90 */ fmr f30, f3 -lbl_80269FD8: -/* 80269FD8 00266F38 EC 04 F0 28 */ fsubs f0, f4, f30 -/* 80269FDC 00266F3C 88 1B 00 14 */ lbz r0, 0x14(r27) -/* 80269FE0 00266F40 C0 22 BB 58 */ lfs f1, lbl_805AD878@sda21(r2) -/* 80269FE4 00266F44 38 80 00 00 */ li r4, 0 -/* 80269FE8 00266F48 1C 00 00 06 */ mulli r0, r0, 6 -/* 80269FEC 00266F4C EC 00 F8 24 */ fdivs f0, f0, f31 -/* 80269FF0 00266F50 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80269FF4 00266F54 EC 01 00 2A */ fadds f0, f1, f0 -/* 80269FF8 00266F58 FC 00 00 1E */ fctiwz f0, f0 -/* 80269FFC 00266F5C D8 01 00 08 */ stfd f0, 8(r1) -/* 8026A000 00266F60 83 C1 00 0C */ lwz r30, 0xc(r1) -/* 8026A004 00266F64 48 09 E4 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset -/* 8026A008 00266F68 57 C5 04 3E */ clrlwi r5, r30, 0x10 -/* 8026A00C 00266F6C 38 60 00 B0 */ li r3, 0xb0 -/* 8026A010 00266F70 38 80 00 00 */ li r4, 0 -/* 8026A014 00266F74 48 09 E5 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026A018 00266F78 C3 62 BB 5C */ lfs f27, lbl_805AD87C@sda21(r2) -/* 8026A01C 00266F7C 3B A0 00 00 */ li r29, 0 -/* 8026A020 00266F80 C3 82 BB 58 */ lfs f28, lbl_805AD878@sda21(r2) -/* 8026A024 00266F84 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8026A028 00266F88 48 00 00 60 */ b lbl_8026A088 -lbl_8026A02C: -/* 8026A02C 00266F8C EC 9B 07 B2 */ fmuls f4, f27, f30 -/* 8026A030 00266F90 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8026A034 00266F94 EC 7E E0 28 */ fsubs f3, f30, f28 -/* 8026A038 00266F98 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8026A03C 00266F9C C0 DB 00 10 */ lfs f6, 0x10(r27) -/* 8026A040 00266FA0 EC 3E 07 72 */ fmuls f1, f30, f29 -/* 8026A044 00266FA4 EC A4 00 F2 */ fmuls f5, f4, f3 -/* 8026A048 00266FA8 C0 9B 00 08 */ lfs f4, 8(r27) -/* 8026A04C 00266FAC C0 7C 00 04 */ lfs f3, 4(r28) -/* 8026A050 00266FB0 EC 1E 00 BA */ fmadds f0, f30, f2, f0 -/* 8026A054 00266FB4 C0 5C 00 08 */ lfs f2, 8(r28) -/* 8026A058 00266FB8 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8026A05C 00266FBC EC 7E 19 3A */ fmadds f3, f30, f4, f3 -/* 8026A060 00266FC0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8026A064 00266FC4 EC 05 10 2A */ fadds f0, f5, f2 -/* 8026A068 00266FC8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8026A06C 00266FCC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8026A070 00266FD0 48 11 F8 E5 */ bl __cvt_fp2unsigned -/* 8026A074 00266FD4 64 60 FF FF */ oris r0, r3, 0xffff -/* 8026A078 00266FD8 EF DE F8 2A */ fadds f30, f30, f31 -/* 8026A07C 00266FDC 60 00 FF 00 */ ori r0, r0, 0xff00 -/* 8026A080 00266FE0 3B BD 00 01 */ addi r29, r29, 1 -/* 8026A084 00266FE4 90 1F 80 00 */ stw r0, 0xCC008000@l(r31) -lbl_8026A088: -/* 8026A088 00266FE8 7C 1D F0 00 */ cmpw r29, r30 -/* 8026A08C 00266FEC 41 80 FF A0 */ blt lbl_8026A02C -/* 8026A090 00266FF0 48 09 E4 F1 */ bl End__3CGXFv -lbl_8026A094: -/* 8026A094 00266FF4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8026A098 00266FF8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8026A09C 00266FFC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8026A0A0 00267000 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8026A0A4 00267004 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8026A0A8 00267008 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8026A0AC 0026700C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8026A0B0 00267010 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8026A0B4 00267014 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 8026A0B8 00267018 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 8026A0BC 0026701C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8026A0C0 00267020 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8026A0C4 00267024 7C 08 03 A6 */ mtlr r0 -/* 8026A0C8 00267028 38 21 00 80 */ addi r1, r1, 0x80 -/* 8026A0CC 0026702C 4E 80 00 20 */ blr - -.global Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager -Update__Q220CRainSplashGenerator11SSplashLineFfR13CStateManager: -/* 8026A0D0 00267030 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026A0D4 00267034 7C 08 02 A6 */ mflr r0 -/* 8026A0D8 00267038 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026A0DC 0026703C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026A0E0 00267040 7C 9F 23 78 */ mr r31, r4 -/* 8026A0E4 00267044 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026A0E8 00267048 7C 7E 1B 78 */ mr r30, r3 -/* 8026A0EC 0026704C 88 83 00 16 */ lbz r4, 0x16(r3) -/* 8026A0F0 00267050 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 8026A0F4 00267054 41 82 00 E0 */ beq lbl_8026A1D4 -/* 8026A0F8 00267058 C0 BE 00 00 */ lfs f5, 0(r30) -/* 8026A0FC 0026705C C0 02 BB 60 */ lfs f0, lbl_805AD880@sda21(r2) -/* 8026A100 00267060 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8026A104 00267064 4C 40 13 82 */ cror 2, 0, 2 -/* 8026A108 00267068 40 82 00 3C */ bne lbl_8026A144 -/* 8026A10C 0026706C C0 42 BB 58 */ lfs f2, lbl_805AD878@sda21(r2) -/* 8026A110 00267070 C0 02 BB 68 */ lfs f0, lbl_805AD888@sda21(r2) -/* 8026A114 00267074 EC 42 28 28 */ fsubs f2, f2, f5 -/* 8026A118 00267078 C0 62 BB 64 */ lfs f3, lbl_805AD884@sda21(r2) -/* 8026A11C 0026707C EC 00 01 72 */ fmuls f0, f0, f5 -/* 8026A120 00267080 EC 83 00 BA */ fmadds f4, f3, f2, f0 -/* 8026A124 00267084 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 -/* 8026A128 00267088 88 01 00 08 */ lbz r0, 8(r1) -/* 8026A12C 0026708C 98 1E 00 14 */ stb r0, 0x14(r30) -/* 8026A130 00267090 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 8026A134 00267094 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8026A138 00267098 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8026A13C 0026709C D0 1E 00 00 */ stfs f0, 0(r30) -/* 8026A140 002670A0 48 00 00 94 */ b lbl_8026A1D4 -lbl_8026A144: -/* 8026A144 002670A4 88 7E 00 15 */ lbz r3, 0x15(r30) -/* 8026A148 002670A8 28 03 00 00 */ cmplwi r3, 0 -/* 8026A14C 002670AC 41 82 00 10 */ beq lbl_8026A15C -/* 8026A150 002670B0 38 03 FF FF */ addi r0, r3, -1 -/* 8026A154 002670B4 98 1E 00 15 */ stb r0, 0x15(r30) -/* 8026A158 002670B8 48 00 00 7C */ b lbl_8026A1D4 -lbl_8026A15C: -/* 8026A15C 002670BC 38 00 00 00 */ li r0, 0 -/* 8026A160 002670C0 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) -/* 8026A164 002670C4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 8026A168 002670C8 C0 22 BB 6C */ lfs f1, lbl_805AD88C@sda21(r2) -/* 8026A16C 002670CC 98 9E 00 16 */ stb r4, 0x16(r30) -/* 8026A170 002670D0 C0 42 BB 70 */ lfs f2, lbl_805AD890@sda21(r2) -/* 8026A174 002670D4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8026A178 002670D8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8026A17C 002670DC 48 0A 83 C9 */ bl Range__9CRandom16Fff -/* 8026A180 002670E0 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 8026A184 002670E4 C0 22 BB 74 */ lfs f1, lbl_805AD894@sda21(r2) -/* 8026A188 002670E8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8026A18C 002670EC C0 42 BB 78 */ lfs f2, lbl_805AD898@sda21(r2) -/* 8026A190 002670F0 48 0A 83 B5 */ bl Range__9CRandom16Fff -/* 8026A194 002670F4 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 8026A198 002670F8 C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) -/* 8026A19C 002670FC 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8026A1A0 00267100 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) -/* 8026A1A4 00267104 48 0A 83 A1 */ bl Range__9CRandom16Fff -/* 8026A1A8 00267108 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8026A1AC 0026710C C0 22 BB 7C */ lfs f1, lbl_805AD89C@sda21(r2) -/* 8026A1B0 00267110 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8026A1B4 00267114 C0 42 BB 80 */ lfs f2, lbl_805AD8A0@sda21(r2) -/* 8026A1B8 00267118 48 0A 83 8D */ bl Range__9CRandom16Fff -/* 8026A1BC 0026711C D0 3E 00 08 */ stfs f1, 8(r30) -/* 8026A1C0 00267120 38 80 00 01 */ li r4, 1 -/* 8026A1C4 00267124 38 A0 00 02 */ li r5, 2 -/* 8026A1C8 00267128 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8026A1CC 0026712C 48 0A 83 C9 */ bl Range__9CRandom16Fii -/* 8026A1D0 00267130 98 7E 00 15 */ stb r3, 0x15(r30) -lbl_8026A1D4: -/* 8026A1D4 00267134 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026A1D8 00267138 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026A1DC 0026713C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026A1E0 00267140 7C 08 03 A6 */ mtlr r0 -/* 8026A1E4 00267144 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026A1E8 00267148 4E 80 00 20 */ blr - -.global SetActive__Q220CRainSplashGenerator11SSplashLine -SetActive__Q220CRainSplashGenerator11SSplashLine: -/* 8026A1EC 0026714C 88 03 00 16 */ lbz r0, 0x16(r3) -/* 8026A1F0 00267150 38 80 00 01 */ li r4, 1 -/* 8026A1F4 00267154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8026A1F8 00267158 98 03 00 16 */ stb r0, 0x16(r3) -/* 8026A1FC 0026715C 4E 80 00 20 */ blr - -.global DoDraw__20CRainSplashGeneratorCFRC12CTransform4f -DoDraw__20CRainSplashGeneratorCFRC12CTransform4f: -/* 8026A200 00267160 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026A204 00267164 7C 08 02 A6 */ mflr r0 -/* 8026A208 00267168 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) -/* 8026A20C 0026716C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026A210 00267170 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026A214 00267174 7C 7F 1B 78 */ mr r31, r3 -/* 8026A218 00267178 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026A21C 0026717C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026A220 00267180 7C 9D 23 78 */ mr r29, r4 -/* 8026A224 00267184 C0 23 00 28 */ lfs f1, 0x28(r3) -/* 8026A228 00267188 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A22C 0026718C 4C 40 13 82 */ cror 2, 0, 2 -/* 8026A230 00267190 41 82 01 74 */ beq lbl_8026A3A4 -/* 8026A234 00267194 3C 60 80 3D */ lis r3, lbl_803D53F8@ha -/* 8026A238 00267198 38 63 53 F8 */ addi r3, r3, lbl_803D53F8@l -/* 8026A23C 0026719C 48 09 DB ED */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8026A240 002671A0 38 60 00 01 */ li r3, 1 -/* 8026A244 002671A4 48 09 EC 0D */ bl SetNumChans__3CGXFUc -/* 8026A248 002671A8 38 60 00 01 */ li r3, 1 -/* 8026A24C 002671AC 48 09 EA 45 */ bl SetNumTevStages__3CGXFUc -/* 8026A250 002671B0 38 60 00 00 */ li r3, 0 -/* 8026A254 002671B4 38 80 00 00 */ li r4, 0 -/* 8026A258 002671B8 38 A0 00 01 */ li r5, 1 -/* 8026A25C 002671BC 38 C0 00 01 */ li r6, 1 -/* 8026A260 002671C0 38 E0 00 00 */ li r7, 0 -/* 8026A264 002671C4 39 00 00 00 */ li r8, 0 -/* 8026A268 002671C8 39 20 00 02 */ li r9, 2 -/* 8026A26C 002671CC 48 09 EA 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8026A270 002671D0 38 60 00 01 */ li r3, 1 -/* 8026A274 002671D4 38 80 00 04 */ li r4, 4 -/* 8026A278 002671D8 38 A0 00 05 */ li r5, 5 -/* 8026A27C 002671DC 38 C0 00 00 */ li r6, 0 -/* 8026A280 002671E0 48 09 E6 51 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8026A284 002671E4 38 60 00 00 */ li r3, 0 -/* 8026A288 002671E8 48 09 EB 8D */ bl SetNumTexGens__3CGXFUc -/* 8026A28C 002671EC 38 60 00 00 */ li r3, 0 -/* 8026A290 002671F0 38 80 00 FF */ li r4, 0xff -/* 8026A294 002671F4 38 A0 00 FF */ li r5, 0xff -/* 8026A298 002671F8 38 C0 00 04 */ li r6, 4 -/* 8026A29C 002671FC 48 09 E6 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8026A2A0 00267200 38 60 00 01 */ li r3, 1 -/* 8026A2A4 00267204 38 80 00 03 */ li r4, 3 -/* 8026A2A8 00267208 38 A0 00 00 */ li r5, 0 -/* 8026A2AC 0026720C 48 09 E5 D1 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8026A2B0 00267210 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8026A2B4 00267214 38 60 00 00 */ li r3, 0 -/* 8026A2B8 00267218 48 0A 00 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8026A2BC 0026721C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8026A2C0 00267220 38 60 00 01 */ li r3, 1 -/* 8026A2C4 00267224 48 09 FF F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8026A2C8 00267228 7F A3 EB 78 */ mr r3, r29 -/* 8026A2CC 0026722C 48 0A 23 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8026A2D0 00267230 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 8026A2D4 00267234 2C 00 00 00 */ cmpwi r0, 0 -/* 8026A2D8 00267238 40 81 00 C0 */ ble lbl_8026A398 -/* 8026A2DC 0026723C 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8026A2E0 00267240 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 8026A2E4 00267244 7C 00 18 00 */ cmpw r0, r3 -/* 8026A2E8 00267248 41 81 00 78 */ bgt lbl_8026A360 -/* 8026A2EC 0026724C 1F C3 00 74 */ mulli r30, r3, 0x74 -/* 8026A2F0 00267250 7C 7D 1B 78 */ mr r29, r3 -/* 8026A2F4 00267254 48 00 00 24 */ b lbl_8026A318 -lbl_8026A2F8: -/* 8026A2F8 00267258 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8026A2FC 0026725C C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8026A300 00267260 7C 60 F2 14 */ add r3, r0, r30 -/* 8026A304 00267264 C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 8026A308 00267268 38 83 00 64 */ addi r4, r3, 0x64 -/* 8026A30C 0026726C 4B FF FA 35 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f -/* 8026A310 00267270 3B DE 00 74 */ addi r30, r30, 0x74 -/* 8026A314 00267274 3B BD 00 01 */ addi r29, r29, 1 -lbl_8026A318: -/* 8026A318 00267278 80 1F 00 04 */ lwz r0, 4(r31) -/* 8026A31C 0026727C 7C 1D 00 00 */ cmpw r29, r0 -/* 8026A320 00267280 41 80 FF D8 */ blt lbl_8026A2F8 -/* 8026A324 00267284 3B A0 00 00 */ li r29, 0 -/* 8026A328 00267288 3B C0 00 00 */ li r30, 0 -/* 8026A32C 0026728C 48 00 00 24 */ b lbl_8026A350 -lbl_8026A330: -/* 8026A330 00267290 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8026A334 00267294 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8026A338 00267298 7C 60 F2 14 */ add r3, r0, r30 -/* 8026A33C 0026729C C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 8026A340 002672A0 38 83 00 64 */ addi r4, r3, 0x64 -/* 8026A344 002672A4 4B FF F9 FD */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f -/* 8026A348 002672A8 3B DE 00 74 */ addi r30, r30, 0x74 -/* 8026A34C 002672AC 3B BD 00 01 */ addi r29, r29, 1 -lbl_8026A350: -/* 8026A350 002672B0 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8026A354 002672B4 7C 1D 00 00 */ cmpw r29, r0 -/* 8026A358 002672B8 41 80 FF D8 */ blt lbl_8026A330 -/* 8026A35C 002672BC 48 00 00 3C */ b lbl_8026A398 -lbl_8026A360: -/* 8026A360 002672C0 1F C3 00 74 */ mulli r30, r3, 0x74 -/* 8026A364 002672C4 7C 7D 1B 78 */ mr r29, r3 -/* 8026A368 002672C8 48 00 00 24 */ b lbl_8026A38C -lbl_8026A36C: -/* 8026A36C 002672CC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8026A370 002672D0 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8026A374 002672D4 7C 60 F2 14 */ add r3, r0, r30 -/* 8026A378 002672D8 C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 8026A37C 002672DC 38 83 00 64 */ addi r4, r3, 0x64 -/* 8026A380 002672E0 4B FF F9 C1 */ bl Draw__Q220CRainSplashGenerator11SRainSplashCFffRC9CVector3f -/* 8026A384 002672E4 3B DE 00 74 */ addi r30, r30, 0x74 -/* 8026A388 002672E8 3B BD 00 01 */ addi r29, r29, 1 -lbl_8026A38C: -/* 8026A38C 002672EC 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8026A390 002672F0 7C 1D 00 00 */ cmpw r29, r0 -/* 8026A394 002672F4 41 80 FF D8 */ blt lbl_8026A36C -lbl_8026A398: -/* 8026A398 002672F8 38 60 00 06 */ li r3, 6 -/* 8026A39C 002672FC 38 80 00 00 */ li r4, 0 -/* 8026A3A0 00267300 48 09 E1 19 */ bl SetLineWidth__3CGXFUc12_GXTexOffset -lbl_8026A3A4: -/* 8026A3A4 00267304 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026A3A8 00267308 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026A3AC 0026730C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026A3B0 00267310 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8026A3B4 00267314 7C 08 03 A6 */ mtlr r0 -/* 8026A3B8 00267318 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026A3BC 0026731C 4E 80 00 20 */ blr - -.global Draw__20CRainSplashGeneratorCFRC12CTransform4f -Draw__20CRainSplashGeneratorCFRC12CTransform4f: -/* 8026A3C0 00267320 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A3C4 00267324 7C 08 02 A6 */ mflr r0 -/* 8026A3C8 00267328 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A3CC 0026732C 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8026A3D0 00267330 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8026A3D4 00267334 41 82 00 08 */ beq lbl_8026A3DC -/* 8026A3D8 00267338 4B FF FE 29 */ bl DoDraw__20CRainSplashGeneratorCFRC12CTransform4f -lbl_8026A3DC: -/* 8026A3DC 0026733C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A3E0 00267340 7C 08 03 A6 */ mtlr r0 -/* 8026A3E4 00267344 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A3E8 00267348 4E 80 00 20 */ blr - -.global Update__20CRainSplashGeneratorFfR13CStateManager -Update__20CRainSplashGeneratorFfR13CStateManager: -/* 8026A3EC 0026734C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A3F0 00267350 7C 08 02 A6 */ mflr r0 -/* 8026A3F4 00267354 FC 40 08 90 */ fmr f2, f1 -/* 8026A3F8 00267358 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A3FC 0026735C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026A400 00267360 7C 7F 1B 78 */ mr r31, r3 -/* 8026A404 00267364 80 A4 08 50 */ lwz r5, 0x850(r4) -/* 8026A408 00267368 80 C4 08 80 */ lwz r6, 0x880(r4) -/* 8026A40C 0026736C 80 E5 00 C4 */ lwz r7, 0xc4(r5) -/* 8026A410 00267370 38 A0 00 00 */ li r5, 0 -/* 8026A414 00267374 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 8026A418 00267378 2C 07 00 00 */ cmpwi r7, 0 -/* 8026A41C 0026737C 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8026A420 00267380 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8026A424 00267384 98 03 00 48 */ stb r0, 0x48(r3) -/* 8026A428 00267388 41 82 00 40 */ beq lbl_8026A468 -/* 8026A42C 0026738C 88 06 00 24 */ lbz r0, 0x24(r6) -/* 8026A430 00267390 28 00 00 00 */ cmplwi r0, 0 -/* 8026A434 00267394 41 82 00 34 */ beq lbl_8026A468 -/* 8026A438 00267398 C0 26 00 30 */ lfs f1, 0x30(r6) -/* 8026A43C 0026739C C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) -/* 8026A440 002673A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8026A444 002673A4 41 82 00 24 */ beq lbl_8026A468 -/* 8026A448 002673A8 2C 07 00 02 */ cmpwi r7, 2 -/* 8026A44C 002673AC 41 82 00 08 */ beq lbl_8026A454 -/* 8026A450 002673B0 48 00 00 18 */ b lbl_8026A468 -lbl_8026A454: -/* 8026A454 002673B4 48 00 00 29 */ bl UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff -/* 8026A458 002673B8 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8026A45C 002673BC 38 60 00 01 */ li r3, 1 -/* 8026A460 002673C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8026A464 002673C4 98 1F 00 48 */ stb r0, 0x48(r31) -lbl_8026A468: -/* 8026A468 002673C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A46C 002673CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026A470 002673D0 7C 08 03 A6 */ mtlr r0 -/* 8026A474 002673D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A478 002673D8 4E 80 00 20 */ blr - -.global UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff -UpdateRainSplashes__20CRainSplashGeneratorFR13CStateManagerff: -/* 8026A47C 002673DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026A480 002673E0 7C 08 02 A6 */ mflr r0 -/* 8026A484 002673E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026A488 002673E8 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8026A48C 002673EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8026A490 002673F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026A494 002673F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8026A498 002673F8 C0 02 BB 84 */ lfs f0, lbl_805AD8A4@sda21(r2) -/* 8026A49C 002673FC 7C 7E 1B 78 */ mr r30, r3 -/* 8026A4A0 00267400 C0 62 BB 58 */ lfs f3, lbl_805AD878@sda21(r2) -/* 8026A4A4 00267404 FF E0 10 90 */ fmr f31, f2 -/* 8026A4A8 00267408 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8026A4AC 0026740C C0 23 00 20 */ lfs f1, 0x20(r3) -/* 8026A4B0 00267410 7C 9F 23 78 */ mr r31, r4 -/* 8026A4B4 00267414 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8026A4B8 00267418 EC 03 00 24 */ fdivs f0, f3, f0 -/* 8026A4BC 0026741C D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8026A4C0 00267420 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8026A4C4 00267424 80 03 00 40 */ lwz r0, 0x40(r3) -/* 8026A4C8 00267428 2C 00 00 00 */ cmpwi r0, 0 -/* 8026A4CC 0026742C 40 81 00 44 */ ble lbl_8026A510 -/* 8026A4D0 00267430 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 8026A4D4 00267434 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 8026A4D8 00267438 7C 06 28 00 */ cmpw r6, r5 -/* 8026A4DC 0026743C 41 81 00 2C */ bgt lbl_8026A508 -/* 8026A4E0 00267440 FC 20 F8 90 */ fmr f1, f31 -/* 8026A4E4 00267444 80 DE 00 04 */ lwz r6, 4(r30) -/* 8026A4E8 00267448 48 00 00 49 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif -/* 8026A4EC 0026744C FC 20 F8 90 */ fmr f1, f31 -/* 8026A4F0 00267450 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 8026A4F4 00267454 7F C3 F3 78 */ mr r3, r30 -/* 8026A4F8 00267458 7F E4 FB 78 */ mr r4, r31 -/* 8026A4FC 0026745C 38 A0 00 00 */ li r5, 0 -/* 8026A500 00267460 48 00 00 31 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif -/* 8026A504 00267464 48 00 00 0C */ b lbl_8026A510 -lbl_8026A508: -/* 8026A508 00267468 FC 20 F8 90 */ fmr f1, f31 -/* 8026A50C 0026746C 48 00 00 25 */ bl UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif -lbl_8026A510: -/* 8026A510 00267470 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8026A514 00267474 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026A518 00267478 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8026A51C 0026747C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026A520 00267480 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026A524 00267484 7C 08 03 A6 */ mtlr r0 -/* 8026A528 00267488 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026A52C 0026748C 4E 80 00 20 */ blr - -.global UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif -UpdateRainSplashRange__20CRainSplashGeneratorFR13CStateManageriif: -/* 8026A530 00267490 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026A534 00267494 7C 08 02 A6 */ mflr r0 -/* 8026A538 00267498 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026A53C 0026749C DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8026A540 002674A0 FF E0 08 90 */ fmr f31, f1 -/* 8026A544 002674A4 BF 41 00 10 */ stmw r26, 0x10(r1) -/* 8026A548 002674A8 7C BD 2B 78 */ mr r29, r5 -/* 8026A54C 002674AC 1F DD 00 74 */ mulli r30, r29, 0x74 -/* 8026A550 002674B0 7C 7A 1B 78 */ mr r26, r3 -/* 8026A554 002674B4 7C 9B 23 78 */ mr r27, r4 -/* 8026A558 002674B8 7C DC 33 78 */ mr r28, r6 -/* 8026A55C 002674BC 48 00 00 64 */ b lbl_8026A5C0 -lbl_8026A560: -/* 8026A560 002674C0 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 8026A564 002674C4 FC 20 F8 90 */ fmr f1, f31 -/* 8026A568 002674C8 7F 64 DB 78 */ mr r4, r27 -/* 8026A56C 002674CC 7F E0 F2 14 */ add r31, r0, r30 -/* 8026A570 002674D0 7F E3 FB 78 */ mr r3, r31 -/* 8026A574 002674D4 4B FF F8 59 */ bl Update__Q220CRainSplashGenerator11SRainSplashFfR13CStateManager -/* 8026A578 002674D8 7F E3 FB 78 */ mr r3, r31 -/* 8026A57C 002674DC 4B FF F7 85 */ bl IsActive__Q220CRainSplashGenerator11SRainSplashCFfR13CStateManager -/* 8026A580 002674E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026A584 002674E4 40 82 00 34 */ bne lbl_8026A5B8 -/* 8026A588 002674E8 80 7A 00 40 */ lwz r3, 0x40(r26) -/* 8026A58C 002674EC 38 03 FF FF */ addi r0, r3, -1 -/* 8026A590 002674F0 90 1A 00 40 */ stw r0, 0x40(r26) -/* 8026A594 002674F4 80 7A 00 3C */ lwz r3, 0x3c(r26) -/* 8026A598 002674F8 38 03 00 01 */ addi r0, r3, 1 -/* 8026A59C 002674FC 90 1A 00 3C */ stw r0, 0x3c(r26) -/* 8026A5A0 00267500 80 7A 00 3C */ lwz r3, 0x3c(r26) -/* 8026A5A4 00267504 80 1A 00 04 */ lwz r0, 4(r26) -/* 8026A5A8 00267508 7C 03 00 00 */ cmpw r3, r0 -/* 8026A5AC 0026750C 41 80 00 0C */ blt lbl_8026A5B8 -/* 8026A5B0 00267510 38 00 00 00 */ li r0, 0 -/* 8026A5B4 00267514 90 1A 00 3C */ stw r0, 0x3c(r26) -lbl_8026A5B8: -/* 8026A5B8 00267518 3B DE 00 74 */ addi r30, r30, 0x74 -/* 8026A5BC 0026751C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8026A5C0: -/* 8026A5C0 00267520 7C 1D E0 00 */ cmpw r29, r28 -/* 8026A5C4 00267524 41 80 FF 9C */ blt lbl_8026A560 -/* 8026A5C8 00267528 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8026A5CC 0026752C BB 41 00 10 */ lmw r26, 0x10(r1) -/* 8026A5D0 00267530 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026A5D4 00267534 7C 08 03 A6 */ mtlr r0 -/* 8026A5D8 00267538 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026A5DC 0026753C 4E 80 00 20 */ blr - -.global GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi -GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi: -/* 8026A5E0 00267540 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026A5E4 00267544 7C 08 02 A6 */ mflr r0 -/* 8026A5E8 00267548 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026A5EC 0026754C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8026A5F0 00267550 7C 7A 1B 78 */ mr r26, r3 -/* 8026A5F4 00267554 7C 9B 23 78 */ mr r27, r4 -/* 8026A5F8 00267558 7C BC 2B 78 */ mr r28, r5 -/* 8026A5FC 0026755C 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8026A600 00267560 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8026A604 00267564 41 82 00 B4 */ beq lbl_8026A6B8 -/* 8026A608 00267568 C0 3A 00 20 */ lfs f1, 0x20(r26) -/* 8026A60C 0026756C C0 1A 00 24 */ lfs f0, 0x24(r26) -/* 8026A610 00267570 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A614 00267574 40 81 00 A4 */ ble lbl_8026A6B8 -/* 8026A618 00267578 80 7A 00 34 */ lwz r3, 0x34(r26) -/* 8026A61C 0026757C 7C DF 33 78 */ mr r31, r6 -/* 8026A620 00267580 3B C0 00 00 */ li r30, 0 -/* 8026A624 00267584 48 00 00 7C */ b lbl_8026A6A0 -lbl_8026A628: -/* 8026A628 00267588 80 9A 00 40 */ lwz r4, 0x40(r26) -/* 8026A62C 0026758C 80 1A 00 04 */ lwz r0, 4(r26) -/* 8026A630 00267590 7C 04 00 00 */ cmpw r4, r0 -/* 8026A634 00267594 40 80 00 78 */ bge lbl_8026A6AC -/* 8026A638 00267598 C0 3A 00 2C */ lfs f1, 0x2c(r26) -/* 8026A63C 0026759C 7F 64 DB 78 */ mr r4, r27 -/* 8026A640 002675A0 7F 85 E3 78 */ mr r5, r28 -/* 8026A644 002675A4 7F E6 FB 78 */ mr r6, r31 -/* 8026A648 002675A8 38 FA 00 10 */ addi r7, r26, 0x10 -/* 8026A64C 002675AC 48 00 03 D9 */ bl GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f -/* 8026A650 002675B0 7C 7D 1B 78 */ mr r29, r3 -/* 8026A654 002675B4 C0 BA 00 1C */ lfs f5, 0x1c(r26) -/* 8026A658 002675B8 1C 1D 00 0C */ mulli r0, r29, 0xc -/* 8026A65C 002675BC C0 7A 00 18 */ lfs f3, 0x18(r26) -/* 8026A660 002675C0 C0 3A 00 14 */ lfs f1, 0x14(r26) -/* 8026A664 002675C4 7F 43 D3 78 */ mr r3, r26 -/* 8026A668 002675C8 38 81 00 08 */ addi r4, r1, 8 -/* 8026A66C 002675CC 7C BB 02 14 */ add r5, r27, r0 -/* 8026A670 002675D0 C0 85 00 08 */ lfs f4, 8(r5) -/* 8026A674 002675D4 C0 45 00 04 */ lfs f2, 4(r5) -/* 8026A678 002675D8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026A67C 002675DC EC 85 01 32 */ fmuls f4, f5, f4 -/* 8026A680 002675E0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8026A684 002675E4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8026A688 002675E8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8026A68C 002675EC D0 01 00 08 */ stfs f0, 8(r1) -/* 8026A690 002675F0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8026A694 002675F4 48 00 00 39 */ bl AddPoint__20CRainSplashGeneratorFRC9CVector3f -/* 8026A698 002675F8 7F A3 EB 78 */ mr r3, r29 -/* 8026A69C 002675FC 3B DE 00 01 */ addi r30, r30, 1 -lbl_8026A6A0: -/* 8026A6A0 00267600 80 1A 00 44 */ lwz r0, 0x44(r26) -/* 8026A6A4 00267604 7C 1E 00 00 */ cmpw r30, r0 -/* 8026A6A8 00267608 41 80 FF 80 */ blt lbl_8026A628 -lbl_8026A6AC: -/* 8026A6AC 0026760C 90 7A 00 34 */ stw r3, 0x34(r26) -/* 8026A6B0 00267610 C0 02 BB 54 */ lfs f0, lbl_805AD874@sda21(r2) -/* 8026A6B4 00267614 D0 1A 00 20 */ stfs f0, 0x20(r26) -lbl_8026A6B8: -/* 8026A6B8 00267618 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8026A6BC 0026761C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026A6C0 00267620 7C 08 03 A6 */ mtlr r0 -/* 8026A6C4 00267624 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026A6C8 00267628 4E 80 00 20 */ blr - -.global AddPoint__20CRainSplashGeneratorFRC9CVector3f -AddPoint__20CRainSplashGeneratorFRC9CVector3f: -/* 8026A6CC 0026762C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A6D0 00267630 7C 08 02 A6 */ mflr r0 -/* 8026A6D4 00267634 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A6D8 00267638 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026A6DC 0026763C 7C 7F 1B 78 */ mr r31, r3 -/* 8026A6E0 00267640 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8026A6E4 00267644 80 1F 00 04 */ lwz r0, 4(r31) -/* 8026A6E8 00267648 7C 03 00 00 */ cmpw r3, r0 -/* 8026A6EC 0026764C 41 80 00 0C */ blt lbl_8026A6F8 -/* 8026A6F0 00267650 38 00 00 00 */ li r0, 0 -/* 8026A6F4 00267654 90 1F 00 38 */ stw r0, 0x38(r31) -lbl_8026A6F8: -/* 8026A6F8 00267658 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8026A6FC 0026765C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8026A700 00267660 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8026A704 00267664 7C 63 02 14 */ add r3, r3, r0 -/* 8026A708 00267668 4B FF F5 79 */ bl SetPoint__Q220CRainSplashGenerator11SRainSplashFRC9CVector3f -/* 8026A70C 0026766C 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8026A710 00267670 38 03 00 01 */ addi r0, r3, 1 -/* 8026A714 00267674 90 1F 00 40 */ stw r0, 0x40(r31) -/* 8026A718 00267678 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8026A71C 0026767C 38 03 00 01 */ addi r0, r3, 1 -/* 8026A720 00267680 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8026A724 00267684 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026A728 00267688 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A72C 0026768C 7C 08 03 A6 */ mtlr r0 -/* 8026A730 00267690 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A734 00267694 4E 80 00 20 */ blr - -.global __ct__20CRainSplashGeneratorFRC9CVector3fiiff -__ct__20CRainSplashGeneratorFRC9CVector3fiiff: -/* 8026A738 00267698 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8026A73C 0026769C 7C 08 02 A6 */ mflr r0 -/* 8026A740 002676A0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8026A744 002676A4 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8026A748 002676A8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8026A74C 002676AC DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8026A750 002676B0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8026A754 002676B4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8026A758 002676B8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8026A75C 002676BC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8026A760 002676C0 93 81 00 80 */ stw r28, 0x80(r1) -/* 8026A764 002676C4 7C 7F 1B 78 */ mr r31, r3 -/* 8026A768 002676C8 38 00 00 00 */ li r0, 0 -/* 8026A76C 002676CC 90 03 00 04 */ stw r0, 4(r3) -/* 8026A770 002676D0 7C 9C 23 78 */ mr r28, r4 -/* 8026A774 002676D4 FF C0 08 90 */ fmr f30, f1 -/* 8026A778 002676D8 7C BD 2B 78 */ mr r29, r5 -/* 8026A77C 002676DC 90 03 00 08 */ stw r0, 8(r3) -/* 8026A780 002676E0 FF E0 10 90 */ fmr f31, f2 -/* 8026A784 002676E4 7C DE 33 78 */ mr r30, r6 -/* 8026A788 002676E8 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8026A78C 002676EC 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8026A790 002676F0 38 80 00 63 */ li r4, 0x63 -/* 8026A794 002676F4 48 0A 7E 59 */ bl __ct__9CRandom16FUi -/* 8026A798 002676F8 C0 3C 00 00 */ lfs f1, 0(r28) -/* 8026A79C 002676FC C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) -/* 8026A7A0 00267700 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8026A7A4 00267704 C0 22 BB 54 */ lfs f1, lbl_805AD874@sda21(r2) -/* 8026A7A8 00267708 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8026A7AC 0026770C C0 1C 00 04 */ lfs f0, 4(r28) -/* 8026A7B0 00267710 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8026A7B4 00267714 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8026A7B8 00267718 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8026A7BC 0026771C D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 8026A7C0 00267720 D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 8026A7C4 00267724 D3 DF 00 2C */ stfs f30, 0x2c(r31) -/* 8026A7C8 00267728 40 81 00 0C */ ble lbl_8026A7D4 -/* 8026A7CC 0026772C C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) -/* 8026A7D0 00267730 48 00 00 0C */ b lbl_8026A7DC -lbl_8026A7D4: -/* 8026A7D4 00267734 C0 02 BB 88 */ lfs f0, lbl_805AD8A8@sda21(r2) -/* 8026A7D8 00267738 EC 00 07 F2 */ fmuls f0, f0, f31 -lbl_8026A7DC: -/* 8026A7DC 0026773C D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8026A7E0 00267740 38 60 00 00 */ li r3, 0 -/* 8026A7E4 00267744 7C 1E E8 00 */ cmpw r30, r29 -/* 8026A7E8 00267748 7F C0 F3 78 */ mr r0, r30 -/* 8026A7EC 0026774C 90 7F 00 34 */ stw r3, 0x34(r31) -/* 8026A7F0 00267750 90 7F 00 38 */ stw r3, 0x38(r31) -/* 8026A7F4 00267754 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 8026A7F8 00267758 90 7F 00 40 */ stw r3, 0x40(r31) -/* 8026A7FC 0026775C 40 81 00 08 */ ble lbl_8026A804 -/* 8026A800 00267760 7F A0 EB 78 */ mr r0, r29 -lbl_8026A804: -/* 8026A804 00267764 90 1F 00 44 */ stw r0, 0x44(r31) -/* 8026A808 00267768 38 80 00 00 */ li r4, 0 -/* 8026A80C 0026776C 38 A0 00 01 */ li r5, 1 -/* 8026A810 00267770 7F E3 FB 78 */ mr r3, r31 -/* 8026A814 00267774 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8026A818 00267778 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8026A81C 0026777C 7F A4 EB 78 */ mr r4, r29 -/* 8026A820 00267780 98 1F 00 48 */ stb r0, 0x48(r31) -/* 8026A824 00267784 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8026A828 00267788 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8026A82C 0026778C 98 1F 00 48 */ stb r0, 0x48(r31) -/* 8026A830 00267790 48 00 03 89 */ bl sub_8026abb8 -/* 8026A834 00267794 3B C0 00 00 */ li r30, 0 -/* 8026A838 00267798 48 00 00 74 */ b lbl_8026A8AC -lbl_8026A83C: -/* 8026A83C 0026779C 38 61 00 08 */ addi r3, r1, 8 -/* 8026A840 002677A0 4B FF F6 09 */ bl __ct__Q220CRainSplashGenerator11SRainSplash -/* 8026A844 002677A4 7F E3 FB 78 */ mr r3, r31 -/* 8026A848 002677A8 38 81 00 08 */ addi r4, r1, 8 -/* 8026A84C 002677AC 48 00 00 9D */ bl "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" -/* 8026A850 002677B0 80 A1 00 08 */ lwz r5, 8(r1) -/* 8026A854 002677B4 38 60 00 00 */ li r3, 0 -/* 8026A858 002677B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8026A85C 002677BC 40 81 00 44 */ ble lbl_8026A8A0 -/* 8026A860 002677C0 2C 05 00 08 */ cmpwi r5, 8 -/* 8026A864 002677C4 38 85 FF F8 */ addi r4, r5, -8 -/* 8026A868 002677C8 40 81 00 20 */ ble lbl_8026A888 -/* 8026A86C 002677CC 38 04 00 07 */ addi r0, r4, 7 -/* 8026A870 002677D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8026A874 002677D4 7C 09 03 A6 */ mtctr r0 -/* 8026A878 002677D8 2C 04 00 00 */ cmpwi r4, 0 -/* 8026A87C 002677DC 40 81 00 0C */ ble lbl_8026A888 -lbl_8026A880: -/* 8026A880 002677E0 38 63 00 08 */ addi r3, r3, 8 -/* 8026A884 002677E4 42 00 FF FC */ bdnz lbl_8026A880 -lbl_8026A888: -/* 8026A888 002677E8 7C 03 28 50 */ subf r0, r3, r5 -/* 8026A88C 002677EC 7C 09 03 A6 */ mtctr r0 -/* 8026A890 002677F0 7C 03 28 00 */ cmpw r3, r5 -/* 8026A894 002677F4 40 80 00 0C */ bge lbl_8026A8A0 -lbl_8026A898: -/* 8026A898 002677F8 38 63 00 01 */ addi r3, r3, 1 -/* 8026A89C 002677FC 42 00 FF FC */ bdnz lbl_8026A898 -lbl_8026A8A0: -/* 8026A8A0 00267800 38 00 00 00 */ li r0, 0 -/* 8026A8A4 00267804 3B DE 00 01 */ addi r30, r30, 1 -/* 8026A8A8 00267808 90 01 00 08 */ stw r0, 8(r1) -lbl_8026A8AC: -/* 8026A8AC 0026780C 7C 1E E8 00 */ cmpw r30, r29 -/* 8026A8B0 00267810 41 80 FF 8C */ blt lbl_8026A83C -/* 8026A8B4 00267814 7F E3 FB 78 */ mr r3, r31 -/* 8026A8B8 00267818 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8026A8BC 0026781C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8026A8C0 00267820 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8026A8C4 00267824 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8026A8C8 00267828 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8026A8CC 0026782C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8026A8D0 00267830 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8026A8D4 00267834 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8026A8D8 00267838 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8026A8DC 0026783C 7C 08 03 A6 */ mtlr r0 -/* 8026A8E0 00267840 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8026A8E4 00267844 4E 80 00 20 */ blr - -.global "push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash" -"push_back__Q24rstl45vectorFRCQ220CRainSplashGenerator11SRainSplash": -/* 8026A8E8 00267848 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A8EC 0026784C 7C 08 02 A6 */ mflr r0 -/* 8026A8F0 00267850 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A8F4 00267854 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026A8F8 00267858 7C 9F 23 78 */ mr r31, r4 -/* 8026A8FC 0026785C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026A900 00267860 7C 7E 1B 78 */ mr r30, r3 -/* 8026A904 00267864 80 03 00 04 */ lwz r0, 4(r3) -/* 8026A908 00267868 80 A3 00 08 */ lwz r5, 8(r3) -/* 8026A90C 0026786C 7C 00 28 00 */ cmpw r0, r5 -/* 8026A910 00267870 41 80 00 18 */ blt lbl_8026A928 -/* 8026A914 00267874 2C 05 00 00 */ cmpwi r5, 0 -/* 8026A918 00267878 38 80 00 04 */ li r4, 4 -/* 8026A91C 0026787C 41 82 00 08 */ beq lbl_8026A924 -/* 8026A920 00267880 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026A924: -/* 8026A924 00267884 48 00 02 95 */ bl sub_8026abb8 -lbl_8026A928: -/* 8026A928 00267888 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026A92C 0026788C 7F E4 FB 78 */ mr r4, r31 -/* 8026A930 00267890 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8026A934 00267894 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8026A938 00267898 7C 63 02 14 */ add r3, r3, r0 -/* 8026A93C 0026789C 48 00 00 29 */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash -/* 8026A940 002678A0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8026A944 002678A4 38 03 00 01 */ addi r0, r3, 1 -/* 8026A948 002678A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026A94C 002678AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026A950 002678B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026A954 002678B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A958 002678B8 7C 08 03 A6 */ mtlr r0 -/* 8026A95C 002678BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A960 002678C0 4E 80 00 20 */ blr - -.global __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash -__ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: -/* 8026A964 002678C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A968 002678C8 7C 08 02 A6 */ mflr r0 -/* 8026A96C 002678CC 28 03 00 00 */ cmplwi r3, 0 -/* 8026A970 002678D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A974 002678D4 41 82 00 08 */ beq lbl_8026A97C -/* 8026A978 002678D8 48 00 00 15 */ bl __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash -lbl_8026A97C: -/* 8026A97C 002678DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A980 002678E0 7C 08 03 A6 */ mtlr r0 -/* 8026A984 002678E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A988 002678E8 4E 80 00 20 */ blr - -.global __as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash -__as__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash: -/* 8026A98C 002678EC 80 04 00 00 */ lwz r0, 0(r4) -/* 8026A990 002678F0 38 C4 00 04 */ addi r6, r4, 4 -/* 8026A994 002678F4 38 A3 00 04 */ addi r5, r3, 4 -/* 8026A998 002678F8 90 03 00 00 */ stw r0, 0(r3) -/* 8026A99C 002678FC 80 03 00 00 */ lwz r0, 0(r3) -/* 8026A9A0 00267900 7C 09 03 A6 */ mtctr r0 -/* 8026A9A4 00267904 2C 00 00 00 */ cmpwi r0, 0 -/* 8026A9A8 00267908 40 81 00 58 */ ble lbl_8026AA00 -lbl_8026A9AC: -/* 8026A9AC 0026790C 28 05 00 00 */ cmplwi r5, 0 -/* 8026A9B0 00267910 41 82 00 44 */ beq lbl_8026A9F4 -/* 8026A9B4 00267914 C0 06 00 00 */ lfs f0, 0(r6) -/* 8026A9B8 00267918 D0 05 00 00 */ stfs f0, 0(r5) -/* 8026A9BC 0026791C C0 06 00 04 */ lfs f0, 4(r6) -/* 8026A9C0 00267920 D0 05 00 04 */ stfs f0, 4(r5) -/* 8026A9C4 00267924 C0 06 00 08 */ lfs f0, 8(r6) -/* 8026A9C8 00267928 D0 05 00 08 */ stfs f0, 8(r5) -/* 8026A9CC 0026792C C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8026A9D0 00267930 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 8026A9D4 00267934 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 8026A9D8 00267938 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8026A9DC 0026793C 88 06 00 14 */ lbz r0, 0x14(r6) -/* 8026A9E0 00267940 98 05 00 14 */ stb r0, 0x14(r5) -/* 8026A9E4 00267944 88 06 00 15 */ lbz r0, 0x15(r6) -/* 8026A9E8 00267948 98 05 00 15 */ stb r0, 0x15(r5) -/* 8026A9EC 0026794C 88 06 00 16 */ lbz r0, 0x16(r6) -/* 8026A9F0 00267950 98 05 00 16 */ stb r0, 0x16(r5) -lbl_8026A9F4: -/* 8026A9F4 00267954 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8026A9F8 00267958 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8026A9FC 0026795C 42 00 FF B0 */ bdnz lbl_8026A9AC -lbl_8026AA00: -/* 8026AA00 00267960 C0 04 00 64 */ lfs f0, 0x64(r4) -/* 8026AA04 00267964 D0 03 00 64 */ stfs f0, 0x64(r3) -/* 8026AA08 00267968 C0 04 00 68 */ lfs f0, 0x68(r4) -/* 8026AA0C 0026796C D0 03 00 68 */ stfs f0, 0x68(r3) -/* 8026AA10 00267970 C0 04 00 6C */ lfs f0, 0x6c(r4) -/* 8026AA14 00267974 D0 03 00 6C */ stfs f0, 0x6c(r3) -/* 8026AA18 00267978 C0 04 00 70 */ lfs f0, 0x70(r4) -/* 8026AA1C 0026797C D0 03 00 70 */ stfs f0, 0x70(r3) -/* 8026AA20 00267980 4E 80 00 20 */ blr - -.global GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f -GetNextBestPt__20CRainSplashGeneratorFiPC9CVector3fPC9CVector3fiR9CRandom16f: -/* 8026AA24 00267984 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8026AA28 00267988 7C 08 02 A6 */ mflr r0 -/* 8026AA2C 0026798C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8026AA30 00267990 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8026AA34 00267994 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8026AA38 00267998 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8026AA3C 0026799C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8026AA40 002679A0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8026AA44 002679A4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8026AA48 002679A8 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8026AA4C 002679AC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 8026AA50 002679B0 BF 01 00 20 */ stmw r24, 0x20(r1) -/* 8026AA54 002679B4 C3 E2 BB 54 */ lfs f31, lbl_805AD874@sda21(r2) -/* 8026AA58 002679B8 7C 9C 23 78 */ mr r28, r4 -/* 8026AA5C 002679BC 1C 03 00 0C */ mulli r0, r3, 0xc -/* 8026AA60 002679C0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8026AA64 002679C4 FF C0 08 90 */ fmr f30, f1 -/* 8026AA68 002679C8 7C BD 2B 78 */ mr r29, r5 -/* 8026AA6C 002679CC FF 80 F8 90 */ fmr f28, f31 -/* 8026AA70 002679D0 7C DE 33 78 */ mr r30, r6 -/* 8026AA74 002679D4 FF A0 F8 90 */ fmr f29, f31 -/* 8026AA78 002679D8 7C FF 3B 78 */ mr r31, r7 -/* 8026AA7C 002679DC 7C 7A 1B 78 */ mr r26, r3 -/* 8026AA80 002679E0 7F 3C 02 14 */ add r25, r28, r0 -/* 8026AA84 002679E4 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l -/* 8026AA88 002679E8 3B 00 00 00 */ li r24, 0 -lbl_8026AA8C: -/* 8026AA8C 002679EC 7F E3 FB 78 */ mr r3, r31 -/* 8026AA90 002679F0 38 BE FF FF */ addi r5, r30, -1 -/* 8026AA94 002679F4 38 80 00 00 */ li r4, 0 -/* 8026AA98 002679F8 48 0A 7A FD */ bl Range__9CRandom16Fii -/* 8026AA9C 002679FC 1C 03 00 0C */ mulli r0, r3, 0xc -/* 8026AAA0 00267A00 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8026AAA4 00267A04 C0 F9 00 04 */ lfs f7, 4(r25) -/* 8026AAA8 00267A08 38 80 00 00 */ li r4, 0 -/* 8026AAAC 00267A0C C0 99 00 00 */ lfs f4, 0(r25) -/* 8026AAB0 00267A10 7C BD 02 14 */ add r5, r29, r0 -/* 8026AAB4 00267A14 7C DC 02 14 */ add r6, r28, r0 -/* 8026AAB8 00267A18 C0 25 00 04 */ lfs f1, 4(r5) -/* 8026AABC 00267A1C C0 C6 00 04 */ lfs f6, 4(r6) -/* 8026AAC0 00267A20 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8026AAC4 00267A24 C0 66 00 00 */ lfs f3, 0(r6) -/* 8026AAC8 00267A28 ED 07 30 28 */ fsubs f8, f7, f6 -/* 8026AACC 00267A2C C0 5B 00 00 */ lfs f2, 0(r27) -/* 8026AAD0 00267A30 EC C4 18 28 */ fsubs f6, f4, f3 -/* 8026AAD4 00267A34 C0 25 00 00 */ lfs f1, 0(r5) -/* 8026AAD8 00267A38 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8026AADC 00267A3C C0 B9 00 08 */ lfs f5, 8(r25) -/* 8026AAE0 00267A40 C0 66 00 08 */ lfs f3, 8(r6) -/* 8026AAE4 00267A44 EC 86 01 B2 */ fmuls f4, f6, f6 -/* 8026AAE8 00267A48 C0 45 00 08 */ lfs f2, 8(r5) -/* 8026AAEC 00267A4C EC E5 18 28 */ fsubs f7, f5, f3 -/* 8026AAF0 00267A50 C0 3B 00 08 */ lfs f1, 8(r27) -/* 8026AAF4 00267A54 EC 68 02 32 */ fmuls f3, f8, f8 -/* 8026AAF8 00267A58 D0 C1 00 08 */ stfs f6, 8(r1) -/* 8026AAFC 00267A5C EC 42 00 7A */ fmadds f2, f2, f1, f0 -/* 8026AB00 00267A60 EC A7 01 F2 */ fmuls f5, f7, f7 -/* 8026AB04 00267A64 D1 01 00 0C */ stfs f8, 0xc(r1) -/* 8026AB08 00267A68 EC 04 18 2A */ fadds f0, f4, f3 -/* 8026AB0C 00267A6C FC 02 E0 40 */ fcmpo cr0, f2, f28 -/* 8026AB10 00267A70 D0 E1 00 10 */ stfs f7, 0x10(r1) -/* 8026AB14 00267A74 EC 25 00 2A */ fadds f1, f5, f0 -/* 8026AB18 00267A78 4C 41 13 82 */ cror 2, 1, 2 -/* 8026AB1C 00267A7C 40 82 00 18 */ bne lbl_8026AB34 -/* 8026AB20 00267A80 C0 02 BB 58 */ lfs f0, lbl_805AD878@sda21(r2) -/* 8026AB24 00267A84 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8026AB28 00267A88 4C 40 13 82 */ cror 2, 0, 2 -/* 8026AB2C 00267A8C 40 82 00 08 */ bne lbl_8026AB34 -/* 8026AB30 00267A90 38 80 00 01 */ li r4, 1 -lbl_8026AB34: -/* 8026AB34 00267A94 FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 8026AB38 00267A98 40 81 00 18 */ ble lbl_8026AB50 -/* 8026AB3C 00267A9C C0 06 00 08 */ lfs f0, 8(r6) -/* 8026AB40 00267AA0 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8026AB44 00267AA4 7C 00 00 26 */ mfcr r0 -/* 8026AB48 00267AA8 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f -/* 8026AB4C 00267AAC 48 00 00 08 */ b lbl_8026AB54 -lbl_8026AB50: -/* 8026AB50 00267AB0 38 A0 00 01 */ li r5, 1 -lbl_8026AB54: -/* 8026AB54 00267AB4 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8026AB58 00267AB8 40 81 00 1C */ ble lbl_8026AB74 -/* 8026AB5C 00267ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8026AB60 00267AC0 41 82 00 14 */ beq lbl_8026AB74 -/* 8026AB64 00267AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8026AB68 00267AC8 41 82 00 0C */ beq lbl_8026AB74 -/* 8026AB6C 00267ACC 7C 7A 1B 78 */ mr r26, r3 -/* 8026AB70 00267AD0 FF E0 08 90 */ fmr f31, f1 -lbl_8026AB74: -/* 8026AB74 00267AD4 3B 18 00 01 */ addi r24, r24, 1 -/* 8026AB78 00267AD8 2C 18 00 03 */ cmpwi r24, 3 -/* 8026AB7C 00267ADC 41 80 FF 10 */ blt lbl_8026AA8C -/* 8026AB80 00267AE0 7F 43 D3 78 */ mr r3, r26 -/* 8026AB84 00267AE4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8026AB88 00267AE8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8026AB8C 00267AEC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8026AB90 00267AF0 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8026AB94 00267AF4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8026AB98 00267AF8 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8026AB9C 00267AFC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8026ABA0 00267B00 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8026ABA4 00267B04 BB 01 00 20 */ lmw r24, 0x20(r1) -/* 8026ABA8 00267B08 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8026ABAC 00267B0C 7C 08 03 A6 */ mtlr r0 -/* 8026ABB0 00267B10 38 21 00 80 */ addi r1, r1, 0x80 -/* 8026ABB4 00267B14 4E 80 00 20 */ blr - -.global sub_8026abb8 -sub_8026abb8: -/* 8026ABB8 00267B18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026ABBC 00267B1C 7C 08 02 A6 */ mflr r0 -/* 8026ABC0 00267B20 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026ABC4 00267B24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8026ABC8 00267B28 7C 9F 23 78 */ mr r31, r4 -/* 8026ABCC 00267B2C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8026ABD0 00267B30 7C 7E 1B 78 */ mr r30, r3 -/* 8026ABD4 00267B34 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8026ABD8 00267B38 80 03 00 08 */ lwz r0, 8(r3) -/* 8026ABDC 00267B3C 7C 1F 00 00 */ cmpw r31, r0 -/* 8026ABE0 00267B40 40 81 00 FC */ ble lbl_8026ACDC -/* 8026ABE4 00267B44 1C 7F 00 74 */ mulli r3, r31, 0x74 -/* 8026ABE8 00267B48 2C 03 00 00 */ cmpwi r3, 0 -/* 8026ABEC 00267B4C 40 82 00 0C */ bne lbl_8026ABF8 -/* 8026ABF0 00267B50 3B A0 00 00 */ li r29, 0 -/* 8026ABF4 00267B54 48 00 00 18 */ b lbl_8026AC0C -lbl_8026ABF8: -/* 8026ABF8 00267B58 3C 80 80 3D */ lis r4, lbl_803D5410@ha -/* 8026ABFC 00267B5C 38 A0 00 00 */ li r5, 0 -/* 8026AC00 00267B60 38 84 54 10 */ addi r4, r4, lbl_803D5410@l -/* 8026AC04 00267B64 48 0A AC 15 */ bl __nwa__FUlPCcPCc -/* 8026AC08 00267B68 7C 7D 1B 78 */ mr r29, r3 -lbl_8026AC0C: -/* 8026AC0C 00267B6C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026AC10 00267B70 7F A5 EB 78 */ mr r5, r29 -/* 8026AC14 00267B74 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8026AC18 00267B78 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026AC1C 00267B7C 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8026AC20 00267B80 38 81 00 0C */ addi r4, r1, 0xc -/* 8026AC24 00267B84 7C C6 02 14 */ add r6, r6, r0 -/* 8026AC28 00267B88 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026AC2C 00267B8C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8026AC30 00267B90 90 C1 00 08 */ stw r6, 8(r1) -/* 8026AC34 00267B94 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026AC38 00267B98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026AC3C 00267B9C 48 00 00 BD */ bl sub_8026acf8 -/* 8026AC40 00267BA0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026AC44 00267BA4 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8026AC48 00267BA8 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8026AC4C 00267BAC 7C 66 02 14 */ add r3, r6, r0 -/* 8026AC50 00267BB0 48 00 00 6C */ b lbl_8026ACBC -lbl_8026AC54: -/* 8026AC54 00267BB4 28 06 00 00 */ cmplwi r6, 0 -/* 8026AC58 00267BB8 41 82 00 60 */ beq lbl_8026ACB8 -/* 8026AC5C 00267BBC 41 82 00 5C */ beq lbl_8026ACB8 -/* 8026AC60 00267BC0 80 E6 00 00 */ lwz r7, 0(r6) -/* 8026AC64 00267BC4 38 80 00 00 */ li r4, 0 -/* 8026AC68 00267BC8 2C 07 00 00 */ cmpwi r7, 0 -/* 8026AC6C 00267BCC 40 81 00 44 */ ble lbl_8026ACB0 -/* 8026AC70 00267BD0 2C 07 00 08 */ cmpwi r7, 8 -/* 8026AC74 00267BD4 38 A7 FF F8 */ addi r5, r7, -8 -/* 8026AC78 00267BD8 40 81 00 20 */ ble lbl_8026AC98 -/* 8026AC7C 00267BDC 38 05 00 07 */ addi r0, r5, 7 -/* 8026AC80 00267BE0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8026AC84 00267BE4 7C 09 03 A6 */ mtctr r0 -/* 8026AC88 00267BE8 2C 05 00 00 */ cmpwi r5, 0 -/* 8026AC8C 00267BEC 40 81 00 0C */ ble lbl_8026AC98 -lbl_8026AC90: -/* 8026AC90 00267BF0 38 84 00 08 */ addi r4, r4, 8 -/* 8026AC94 00267BF4 42 00 FF FC */ bdnz lbl_8026AC90 -lbl_8026AC98: -/* 8026AC98 00267BF8 7C 04 38 50 */ subf r0, r4, r7 -/* 8026AC9C 00267BFC 7C 09 03 A6 */ mtctr r0 -/* 8026ACA0 00267C00 7C 04 38 00 */ cmpw r4, r7 -/* 8026ACA4 00267C04 40 80 00 0C */ bge lbl_8026ACB0 -lbl_8026ACA8: -/* 8026ACA8 00267C08 38 84 00 01 */ addi r4, r4, 1 -/* 8026ACAC 00267C0C 42 00 FF FC */ bdnz lbl_8026ACA8 -lbl_8026ACB0: -/* 8026ACB0 00267C10 38 00 00 00 */ li r0, 0 -/* 8026ACB4 00267C14 90 06 00 00 */ stw r0, 0(r6) -lbl_8026ACB8: -/* 8026ACB8 00267C18 38 C6 00 74 */ addi r6, r6, 0x74 -lbl_8026ACBC: -/* 8026ACBC 00267C1C 7C 06 18 40 */ cmplw r6, r3 -/* 8026ACC0 00267C20 40 82 FF 94 */ bne lbl_8026AC54 -/* 8026ACC4 00267C24 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8026ACC8 00267C28 28 03 00 00 */ cmplwi r3, 0 -/* 8026ACCC 00267C2C 41 82 00 08 */ beq lbl_8026ACD4 -/* 8026ACD0 00267C30 48 0A AC 61 */ bl Free__7CMemoryFPCv -lbl_8026ACD4: -/* 8026ACD4 00267C34 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8026ACD8 00267C38 93 FE 00 08 */ stw r31, 8(r30) -lbl_8026ACDC: -/* 8026ACDC 00267C3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026ACE0 00267C40 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026ACE4 00267C44 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8026ACE8 00267C48 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8026ACEC 00267C4C 7C 08 03 A6 */ mtlr r0 -/* 8026ACF0 00267C50 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026ACF4 00267C54 4E 80 00 20 */ blr - -.global sub_8026acf8 -sub_8026acf8: -/* 8026ACF8 00267C58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026ACFC 00267C5C 7C 08 02 A6 */ mflr r0 -/* 8026AD00 00267C60 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026AD04 00267C64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026AD08 00267C68 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026AD0C 00267C6C 7C BE 2B 78 */ mr r30, r5 -/* 8026AD10 00267C70 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026AD14 00267C74 7C 9D 23 78 */ mr r29, r4 -/* 8026AD18 00267C78 83 E3 00 00 */ lwz r31, 0(r3) -/* 8026AD1C 00267C7C 48 00 00 18 */ b lbl_8026AD34 -lbl_8026AD20: -/* 8026AD20 00267C80 7F C3 F3 78 */ mr r3, r30 -/* 8026AD24 00267C84 7F E4 FB 78 */ mr r4, r31 -/* 8026AD28 00267C88 4B FF FC 3D */ bl __ct__Q220CRainSplashGenerator11SRainSplashFRCQ220CRainSplashGenerator11SRainSplash -/* 8026AD2C 00267C8C 3B DE 00 74 */ addi r30, r30, 0x74 -/* 8026AD30 00267C90 3B FF 00 74 */ addi r31, r31, 0x74 -lbl_8026AD34: -/* 8026AD34 00267C94 80 1D 00 00 */ lwz r0, 0(r29) -/* 8026AD38 00267C98 7C 1F 00 40 */ cmplw r31, r0 -/* 8026AD3C 00267C9C 40 82 FF E4 */ bne lbl_8026AD20 -/* 8026AD40 00267CA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026AD44 00267CA4 7F C3 F3 78 */ mr r3, r30 -/* 8026AD48 00267CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026AD4C 00267CAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026AD50 00267CB0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8026AD54 00267CB4 7C 08 03 A6 */ mtlr r0 -/* 8026AD58 00267CB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026AD5C 00267CBC 4E 80 00 20 */ blr - -.global FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FSaveWorldFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8026AD60 00267CC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026AD64 00267CC4 7C 08 02 A6 */ mflr r0 -/* 8026AD68 00267CC8 3C 80 80 3D */ lis r4, lbl_803D5418@ha -/* 8026AD6C 00267CCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026AD70 00267CD0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l -/* 8026AD74 00267CD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026AD78 00267CD8 7C BF 2B 78 */ mr r31, r5 -/* 8026AD7C 00267CDC 38 A0 00 00 */ li r5, 0 -/* 8026AD80 00267CE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8026AD84 00267CE4 7C 7E 1B 78 */ mr r30, r3 -/* 8026AD88 00267CE8 38 60 00 54 */ li r3, 0x54 -/* 8026AD8C 00267CEC 48 0A AA E1 */ bl __nw__FUlPCcPCc -/* 8026AD90 00267CF0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026AD94 00267CF4 41 82 00 10 */ beq lbl_8026ADA4 -/* 8026AD98 00267CF8 7F E4 FB 78 */ mr r4, r31 -/* 8026AD9C 00267CFC 48 00 04 8D */ bl __ct__10CSaveWorldFR12CinputStream -/* 8026ADA0 00267D00 7C 64 1B 78 */ mr r4, r3 -lbl_8026ADA4: -/* 8026ADA4 00267D04 7F C3 F3 78 */ mr r3, r30 -/* 8026ADA8 00267D08 48 00 00 1D */ bl sub_8026adc4 -/* 8026ADAC 00267D0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026ADB0 00267D10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026ADB4 00267D14 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026ADB8 00267D18 7C 08 03 A6 */ mtlr r0 -/* 8026ADBC 00267D1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026ADC0 00267D20 4E 80 00 20 */ blr - -.global sub_8026adc4 -sub_8026adc4: -/* 8026ADC4 00267D24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026ADC8 00267D28 7C 08 02 A6 */ mflr r0 -/* 8026ADCC 00267D2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026ADD0 00267D30 7C 04 00 D0 */ neg r0, r4 -/* 8026ADD4 00267D34 7C 00 23 78 */ or r0, r0, r4 -/* 8026ADD8 00267D38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026ADDC 00267D3C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8026ADE0 00267D40 7C 7F 1B 78 */ mr r31, r3 -/* 8026ADE4 00267D44 38 61 00 08 */ addi r3, r1, 8 -/* 8026ADE8 00267D48 90 81 00 14 */ stw r4, 0x14(r1) -/* 8026ADEC 00267D4C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8026ADF0 00267D50 98 01 00 10 */ stb r0, 0x10(r1) -/* 8026ADF4 00267D54 48 00 02 B9 */ bl sub_8026b0ac -/* 8026ADF8 00267D58 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8026ADFC 00267D5C 38 00 00 00 */ li r0, 0 -/* 8026AE00 00267D60 98 01 00 08 */ stb r0, 8(r1) -/* 8026AE04 00267D64 7C 03 00 D0 */ neg r0, r3 -/* 8026AE08 00267D68 7C 00 1B 78 */ or r0, r0, r3 -/* 8026AE0C 00267D6C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8026AE10 00267D70 98 1F 00 00 */ stb r0, 0(r31) -/* 8026AE14 00267D74 90 7F 00 04 */ stw r3, 4(r31) -/* 8026AE18 00267D78 88 01 00 08 */ lbz r0, 8(r1) -/* 8026AE1C 00267D7C 28 00 00 00 */ cmplwi r0, 0 -/* 8026AE20 00267D80 41 82 00 24 */ beq lbl_8026AE44 -/* 8026AE24 00267D84 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8026AE28 00267D88 28 03 00 00 */ cmplwi r3, 0 -/* 8026AE2C 00267D8C 41 82 00 18 */ beq lbl_8026AE44 -/* 8026AE30 00267D90 81 83 00 00 */ lwz r12, 0(r3) -/* 8026AE34 00267D94 38 80 00 01 */ li r4, 1 -/* 8026AE38 00267D98 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026AE3C 00267D9C 7D 89 03 A6 */ mtctr r12 -/* 8026AE40 00267DA0 4E 80 04 21 */ bctrl -lbl_8026AE44: -/* 8026AE44 00267DA4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8026AE48 00267DA8 38 80 FF FF */ li r4, -1 -/* 8026AE4C 00267DAC 48 00 03 29 */ bl sub_8026b174 -/* 8026AE50 00267DB0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026AE54 00267DB4 7F E3 FB 78 */ mr r3, r31 -/* 8026AE58 00267DB8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026AE5C 00267DBC 7C 08 03 A6 */ mtlr r0 -/* 8026AE60 00267DC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026AE64 00267DC4 4E 80 00 20 */ blr - -.global sub_8026ae68 -sub_8026ae68: -/* 8026AE68 00267DC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026AE6C 00267DCC 7C 08 02 A6 */ mflr r0 -/* 8026AE70 00267DD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026AE74 00267DD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026AE78 00267DD8 7C 9F 23 78 */ mr r31, r4 -/* 8026AE7C 00267DDC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026AE80 00267DE0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026AE84 00267DE4 41 82 00 58 */ beq lbl_8026AEDC -/* 8026AE88 00267DE8 3C 60 80 3F */ lis r3, lbl_803EA790@ha -/* 8026AE8C 00267DEC 38 03 A7 90 */ addi r0, r3, lbl_803EA790@l -/* 8026AE90 00267DF0 90 1E 00 00 */ stw r0, 0(r30) -/* 8026AE94 00267DF4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8026AE98 00267DF8 28 03 00 00 */ cmplwi r3, 0 -/* 8026AE9C 00267DFC 41 82 00 0C */ beq lbl_8026AEA8 -/* 8026AEA0 00267E00 38 80 00 01 */ li r4, 1 -/* 8026AEA4 00267E04 48 00 00 55 */ bl sub_8026aef8 -lbl_8026AEA8: -/* 8026AEA8 00267E08 28 1E 00 00 */ cmplwi r30, 0 -/* 8026AEAC 00267E0C 41 82 00 20 */ beq lbl_8026AECC -/* 8026AEB0 00267E10 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8026AEB4 00267E14 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8026AEB8 00267E18 90 1E 00 00 */ stw r0, 0(r30) -/* 8026AEBC 00267E1C 41 82 00 10 */ beq lbl_8026AECC -/* 8026AEC0 00267E20 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8026AEC4 00267E24 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8026AEC8 00267E28 90 1E 00 00 */ stw r0, 0(r30) -lbl_8026AECC: -/* 8026AECC 00267E2C 7F E0 07 35 */ extsh. r0, r31 -/* 8026AED0 00267E30 40 81 00 0C */ ble lbl_8026AEDC -/* 8026AED4 00267E34 7F C3 F3 78 */ mr r3, r30 -/* 8026AED8 00267E38 48 0A AA 59 */ bl Free__7CMemoryFPCv -lbl_8026AEDC: -/* 8026AEDC 00267E3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026AEE0 00267E40 7F C3 F3 78 */ mr r3, r30 -/* 8026AEE4 00267E44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026AEE8 00267E48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026AEEC 00267E4C 7C 08 03 A6 */ mtlr r0 -/* 8026AEF0 00267E50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026AEF4 00267E54 4E 80 00 20 */ blr - -.global sub_8026aef8 -sub_8026aef8: -/* 8026AEF8 00267E58 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8026AEFC 00267E5C 7C 08 02 A6 */ mflr r0 -/* 8026AF00 00267E60 90 01 00 64 */ stw r0, 0x64(r1) -/* 8026AF04 00267E64 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8026AF08 00267E68 7C 9F 23 78 */ mr r31, r4 -/* 8026AF0C 00267E6C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8026AF10 00267E70 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026AF14 00267E74 41 82 01 7C */ beq lbl_8026B090 -/* 8026AF18 00267E78 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 8026AF1C 00267E7C 41 82 00 44 */ beq lbl_8026AF60 -/* 8026AF20 00267E80 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 8026AF24 00267E84 80 7E 00 50 */ lwz r3, 0x50(r30) -/* 8026AF28 00267E88 54 00 18 38 */ slwi r0, r0, 3 -/* 8026AF2C 00267E8C 7C 03 02 14 */ add r0, r3, r0 -/* 8026AF30 00267E90 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8026AF34 00267E94 7C 64 1B 78 */ mr r4, r3 -/* 8026AF38 00267E98 90 01 00 54 */ stw r0, 0x54(r1) -/* 8026AF3C 00267E9C 90 01 00 50 */ stw r0, 0x50(r1) -/* 8026AF40 00267EA0 90 61 00 48 */ stw r3, 0x48(r1) -/* 8026AF44 00267EA4 48 00 00 08 */ b lbl_8026AF4C -lbl_8026AF48: -/* 8026AF48 00267EA8 38 84 00 08 */ addi r4, r4, 8 -lbl_8026AF4C: -/* 8026AF4C 00267EAC 7C 04 00 40 */ cmplw r4, r0 -/* 8026AF50 00267EB0 40 82 FF F8 */ bne lbl_8026AF48 -/* 8026AF54 00267EB4 28 03 00 00 */ cmplwi r3, 0 -/* 8026AF58 00267EB8 41 82 00 08 */ beq lbl_8026AF60 -/* 8026AF5C 00267EBC 48 0A A9 D5 */ bl Free__7CMemoryFPCv -lbl_8026AF60: -/* 8026AF60 00267EC0 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 8026AF64 00267EC4 41 82 00 44 */ beq lbl_8026AFA8 -/* 8026AF68 00267EC8 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 8026AF6C 00267ECC 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 8026AF70 00267ED0 54 00 10 3A */ slwi r0, r0, 2 -/* 8026AF74 00267ED4 7C 03 02 14 */ add r0, r3, r0 -/* 8026AF78 00267ED8 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8026AF7C 00267EDC 7C 64 1B 78 */ mr r4, r3 -/* 8026AF80 00267EE0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8026AF84 00267EE4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8026AF88 00267EE8 90 61 00 38 */ stw r3, 0x38(r1) -/* 8026AF8C 00267EEC 48 00 00 08 */ b lbl_8026AF94 -lbl_8026AF90: -/* 8026AF90 00267EF0 38 84 00 04 */ addi r4, r4, 4 -lbl_8026AF94: -/* 8026AF94 00267EF4 7C 04 00 40 */ cmplw r4, r0 -/* 8026AF98 00267EF8 40 82 FF F8 */ bne lbl_8026AF90 -/* 8026AF9C 00267EFC 28 03 00 00 */ cmplwi r3, 0 -/* 8026AFA0 00267F00 41 82 00 08 */ beq lbl_8026AFA8 -/* 8026AFA4 00267F04 48 0A A9 8D */ bl Free__7CMemoryFPCv -lbl_8026AFA8: -/* 8026AFA8 00267F08 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 8026AFAC 00267F0C 41 82 00 44 */ beq lbl_8026AFF0 -/* 8026AFB0 00267F10 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8026AFB4 00267F14 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8026AFB8 00267F18 54 00 18 38 */ slwi r0, r0, 3 -/* 8026AFBC 00267F1C 7C 03 02 14 */ add r0, r3, r0 -/* 8026AFC0 00267F20 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8026AFC4 00267F24 7C 64 1B 78 */ mr r4, r3 -/* 8026AFC8 00267F28 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026AFCC 00267F2C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8026AFD0 00267F30 90 61 00 28 */ stw r3, 0x28(r1) -/* 8026AFD4 00267F34 48 00 00 08 */ b lbl_8026AFDC -lbl_8026AFD8: -/* 8026AFD8 00267F38 38 84 00 08 */ addi r4, r4, 8 -lbl_8026AFDC: -/* 8026AFDC 00267F3C 7C 04 00 40 */ cmplw r4, r0 -/* 8026AFE0 00267F40 40 82 FF F8 */ bne lbl_8026AFD8 -/* 8026AFE4 00267F44 28 03 00 00 */ cmplwi r3, 0 -/* 8026AFE8 00267F48 41 82 00 08 */ beq lbl_8026AFF0 -/* 8026AFEC 00267F4C 48 0A A9 45 */ bl Free__7CMemoryFPCv -lbl_8026AFF0: -/* 8026AFF0 00267F50 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8026AFF4 00267F54 41 82 00 44 */ beq lbl_8026B038 -/* 8026AFF8 00267F58 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8026AFFC 00267F5C 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 8026B000 00267F60 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B004 00267F64 7C 03 02 14 */ add r0, r3, r0 -/* 8026B008 00267F68 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8026B00C 00267F6C 7C 64 1B 78 */ mr r4, r3 -/* 8026B010 00267F70 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026B014 00267F74 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026B018 00267F78 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026B01C 00267F7C 48 00 00 08 */ b lbl_8026B024 -lbl_8026B020: -/* 8026B020 00267F80 38 84 00 04 */ addi r4, r4, 4 -lbl_8026B024: -/* 8026B024 00267F84 7C 04 00 40 */ cmplw r4, r0 -/* 8026B028 00267F88 40 82 FF F8 */ bne lbl_8026B020 -/* 8026B02C 00267F8C 28 03 00 00 */ cmplwi r3, 0 -/* 8026B030 00267F90 41 82 00 08 */ beq lbl_8026B038 -/* 8026B034 00267F94 48 0A A8 FD */ bl Free__7CMemoryFPCv -lbl_8026B038: -/* 8026B038 00267F98 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026B03C 00267F9C 41 82 00 44 */ beq lbl_8026B080 -/* 8026B040 00267FA0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8026B044 00267FA4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8026B048 00267FA8 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B04C 00267FAC 7C 03 02 14 */ add r0, r3, r0 -/* 8026B050 00267FB0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026B054 00267FB4 7C 64 1B 78 */ mr r4, r3 -/* 8026B058 00267FB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B05C 00267FBC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026B060 00267FC0 90 61 00 08 */ stw r3, 8(r1) -/* 8026B064 00267FC4 48 00 00 08 */ b lbl_8026B06C -lbl_8026B068: -/* 8026B068 00267FC8 38 84 00 04 */ addi r4, r4, 4 -lbl_8026B06C: -/* 8026B06C 00267FCC 7C 04 00 40 */ cmplw r4, r0 -/* 8026B070 00267FD0 40 82 FF F8 */ bne lbl_8026B068 -/* 8026B074 00267FD4 28 03 00 00 */ cmplwi r3, 0 -/* 8026B078 00267FD8 41 82 00 08 */ beq lbl_8026B080 -/* 8026B07C 00267FDC 48 0A A8 B5 */ bl Free__7CMemoryFPCv -lbl_8026B080: -/* 8026B080 00267FE0 7F E0 07 35 */ extsh. r0, r31 -/* 8026B084 00267FE4 40 81 00 0C */ ble lbl_8026B090 -/* 8026B088 00267FE8 7F C3 F3 78 */ mr r3, r30 -/* 8026B08C 00267FEC 48 0A A8 A5 */ bl Free__7CMemoryFPCv -lbl_8026B090: -/* 8026B090 00267FF0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8026B094 00267FF4 7F C3 F3 78 */ mr r3, r30 -/* 8026B098 00267FF8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8026B09C 00267FFC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8026B0A0 00268000 7C 08 03 A6 */ mtlr r0 -/* 8026B0A4 00268004 38 21 00 60 */ addi r1, r1, 0x60 -/* 8026B0A8 00268008 4E 80 00 20 */ blr - -.global sub_8026b0ac -sub_8026b0ac: -/* 8026B0AC 0026800C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B0B0 00268010 7C 08 02 A6 */ mflr r0 -/* 8026B0B4 00268014 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B0B8 00268018 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B0BC 0026801C 7C 7F 1B 78 */ mr r31, r3 -/* 8026B0C0 00268020 48 00 00 19 */ bl sub_8026b0d8 -/* 8026B0C4 00268024 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B0C8 00268028 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B0CC 0026802C 7C 08 03 A6 */ mtlr r0 -/* 8026B0D0 00268030 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B0D4 00268034 4E 80 00 20 */ blr - -.global sub_8026b0d8 -sub_8026b0d8: -/* 8026B0D8 00268038 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B0DC 0026803C 7C 08 02 A6 */ mflr r0 -/* 8026B0E0 00268040 3C A0 80 3D */ lis r5, lbl_803D5418@ha -/* 8026B0E4 00268044 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B0E8 00268048 38 05 54 18 */ addi r0, r5, lbl_803D5418@l -/* 8026B0EC 0026804C 38 A0 00 00 */ li r5, 0 -/* 8026B0F0 00268050 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B0F4 00268054 7C 9F 23 78 */ mr r31, r4 -/* 8026B0F8 00268058 7C 04 03 78 */ mr r4, r0 -/* 8026B0FC 0026805C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026B100 00268060 7C 7E 1B 78 */ mr r30, r3 -/* 8026B104 00268064 38 60 00 08 */ li r3, 8 -/* 8026B108 00268068 48 0A A7 65 */ bl __nw__FUlPCcPCc -/* 8026B10C 0026806C 28 03 00 00 */ cmplwi r3, 0 -/* 8026B110 00268070 41 82 00 38 */ beq lbl_8026B148 -/* 8026B114 00268074 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8026B118 00268078 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8026B11C 0026807C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8026B120 00268080 3C 80 80 3F */ lis r4, lbl_803EA790@ha -/* 8026B124 00268084 90 03 00 00 */ stw r0, 0(r3) -/* 8026B128 00268088 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8026B12C 0026808C 38 A0 00 00 */ li r5, 0 -/* 8026B130 00268090 38 04 A7 90 */ addi r0, r4, lbl_803EA790@l -/* 8026B134 00268094 90 C3 00 00 */ stw r6, 0(r3) -/* 8026B138 00268098 98 BF 00 00 */ stb r5, 0(r31) -/* 8026B13C 0026809C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8026B140 002680A0 90 83 00 04 */ stw r4, 4(r3) -/* 8026B144 002680A4 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B148: -/* 8026B148 002680A8 7C 03 00 D0 */ neg r0, r3 -/* 8026B14C 002680AC 7C 00 1B 78 */ or r0, r0, r3 -/* 8026B150 002680B0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8026B154 002680B4 98 1E 00 00 */ stb r0, 0(r30) -/* 8026B158 002680B8 90 7E 00 04 */ stw r3, 4(r30) -/* 8026B15C 002680BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B160 002680C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026B164 002680C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B168 002680C8 7C 08 03 A6 */ mtlr r0 -/* 8026B16C 002680CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B170 002680D0 4E 80 00 20 */ blr - -.global sub_8026b174 -sub_8026b174: -/* 8026B174 002680D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B178 002680D8 7C 08 02 A6 */ mflr r0 -/* 8026B17C 002680DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B180 002680E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B184 002680E4 7C 9F 23 78 */ mr r31, r4 -/* 8026B188 002680E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026B18C 002680EC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026B190 002680F0 41 82 00 2C */ beq lbl_8026B1BC -/* 8026B194 002680F4 88 1E 00 00 */ lbz r0, 0(r30) -/* 8026B198 002680F8 28 00 00 00 */ cmplwi r0, 0 -/* 8026B19C 002680FC 41 82 00 10 */ beq lbl_8026B1AC -/* 8026B1A0 00268100 80 7E 00 04 */ lwz r3, 4(r30) -/* 8026B1A4 00268104 38 80 00 01 */ li r4, 1 -/* 8026B1A8 00268108 4B FF FD 51 */ bl sub_8026aef8 -lbl_8026B1AC: -/* 8026B1AC 0026810C 7F E0 07 35 */ extsh. r0, r31 -/* 8026B1B0 00268110 40 81 00 0C */ ble lbl_8026B1BC -/* 8026B1B4 00268114 7F C3 F3 78 */ mr r3, r30 -/* 8026B1B8 00268118 48 0A A7 79 */ bl Free__7CMemoryFPCv -lbl_8026B1BC: -/* 8026B1BC 0026811C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B1C0 00268120 7F C3 F3 78 */ mr r3, r30 -/* 8026B1C4 00268124 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B1C8 00268128 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026B1CC 0026812C 7C 08 03 A6 */ mtlr r0 -/* 8026B1D0 00268130 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B1D4 00268134 4E 80 00 20 */ blr - -.global GetRelayIndex__10CSaveWorldCFRC9TEditorId -GetRelayIndex__10CSaveWorldCFRC9TEditorId: -/* 8026B1D8 00268138 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8026B1DC 0026813C 38 E0 00 00 */ li r7, 0 -/* 8026B1E0 00268140 38 C0 00 00 */ li r6, 0 -/* 8026B1E4 00268144 7C 09 03 A6 */ mtctr r0 -/* 8026B1E8 00268148 2C 00 00 00 */ cmpwi r0, 0 -/* 8026B1EC 0026814C 40 81 00 34 */ ble lbl_8026B220 -lbl_8026B1F0: -/* 8026B1F0 00268150 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 8026B1F4 00268154 80 04 00 00 */ lwz r0, 0(r4) -/* 8026B1F8 00268158 7C A5 30 2E */ lwzx r5, r5, r6 -/* 8026B1FC 0026815C 54 00 01 BE */ clrlwi r0, r0, 6 -/* 8026B200 00268160 54 A5 01 BE */ clrlwi r5, r5, 6 -/* 8026B204 00268164 7C 05 00 40 */ cmplw r5, r0 -/* 8026B208 00268168 40 82 00 0C */ bne lbl_8026B214 -/* 8026B20C 0026816C 7C E3 3B 78 */ mr r3, r7 -/* 8026B210 00268170 4E 80 00 20 */ blr -lbl_8026B214: -/* 8026B214 00268174 38 C6 00 04 */ addi r6, r6, 4 -/* 8026B218 00268178 38 E7 00 01 */ addi r7, r7, 1 -/* 8026B21C 0026817C 42 00 FF D4 */ bdnz lbl_8026B1F0 -lbl_8026B220: -/* 8026B220 00268180 38 60 FF FF */ li r3, -1 -/* 8026B224 00268184 4E 80 00 20 */ blr - -.global __ct__10CSaveWorldFR12CinputStream -__ct__10CSaveWorldFR12CinputStream: -/* 8026B228 00268188 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8026B22C 0026818C 7C 08 02 A6 */ mflr r0 -/* 8026B230 00268190 90 01 01 34 */ stw r0, 0x134(r1) -/* 8026B234 00268194 38 00 00 00 */ li r0, 0 -/* 8026B238 00268198 BF 21 01 14 */ stmw r25, 0x114(r1) -/* 8026B23C 0026819C 7C 7F 1B 78 */ mr r31, r3 -/* 8026B240 002681A0 7C 9E 23 78 */ mr r30, r4 -/* 8026B244 002681A4 90 03 00 00 */ stw r0, 0(r3) -/* 8026B248 002681A8 7F C3 F3 78 */ mr r3, r30 -/* 8026B24C 002681AC 90 1F 00 08 */ stw r0, 8(r31) -/* 8026B250 002681B0 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8026B254 002681B4 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8026B258 002681B8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026B25C 002681BC 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8026B260 002681C0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8026B264 002681C4 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8026B268 002681C8 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8026B26C 002681CC 90 1F 00 30 */ stw r0, 0x30(r31) -/* 8026B270 002681D0 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8026B274 002681D4 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 8026B278 002681D8 90 1F 00 40 */ stw r0, 0x40(r31) -/* 8026B27C 002681DC 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8026B280 002681E0 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 8026B284 002681E4 90 1F 00 50 */ stw r0, 0x50(r31) -/* 8026B288 002681E8 48 0D 39 FD */ bl ReadLong__12CInputStreamFv -/* 8026B28C 002681EC 7F C3 F3 78 */ mr r3, r30 -/* 8026B290 002681F0 48 0D 39 F5 */ bl ReadLong__12CInputStreamFv -/* 8026B294 002681F4 7C 7D 1B 78 */ mr r29, r3 -/* 8026B298 002681F8 28 1D 00 01 */ cmplwi r29, 1 -/* 8026B29C 002681FC 40 81 00 10 */ ble lbl_8026B2AC -/* 8026B2A0 00268200 7F C3 F3 78 */ mr r3, r30 -/* 8026B2A4 00268204 48 0D 39 E1 */ bl ReadLong__12CInputStreamFv -/* 8026B2A8 00268208 90 7F 00 00 */ stw r3, 0(r31) -lbl_8026B2AC: -/* 8026B2AC 0026820C 28 1D 00 02 */ cmplwi r29, 2 -/* 8026B2B0 00268210 40 81 01 9C */ ble lbl_8026B44C -/* 8026B2B4 00268214 38 00 00 00 */ li r0, 0 -/* 8026B2B8 00268218 7F C3 F3 78 */ mr r3, r30 -/* 8026B2BC 0026821C 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 8026B2C0 00268220 90 01 00 FC */ stw r0, 0xfc(r1) -/* 8026B2C4 00268224 90 01 01 00 */ stw r0, 0x100(r1) -/* 8026B2C8 00268228 48 0D 39 BD */ bl ReadLong__12CInputStreamFv -/* 8026B2CC 0026822C 7C 7A 1B 78 */ mr r26, r3 -/* 8026B2D0 00268230 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8026B2D4 00268234 7F 44 D3 78 */ mr r4, r26 -/* 8026B2D8 00268238 4B DE 50 71 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B2DC 0026823C 3B 60 00 00 */ li r27, 0 -/* 8026B2E0 00268240 48 00 00 64 */ b lbl_8026B344 -lbl_8026B2E4: -/* 8026B2E4 00268244 7F C4 F3 78 */ mr r4, r30 -/* 8026B2E8 00268248 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8026B2EC 0026824C 4B EA F1 75 */ bl __ct__9TEditorIdFR12CInputStream -/* 8026B2F0 00268250 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8026B2F4 00268254 80 A1 00 FC */ lwz r5, 0xfc(r1) -/* 8026B2F8 00268258 7C 00 28 00 */ cmpw r0, r5 -/* 8026B2FC 0026825C 41 80 00 1C */ blt lbl_8026B318 -/* 8026B300 00268260 2C 05 00 00 */ cmpwi r5, 0 -/* 8026B304 00268264 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8026B308 00268268 38 80 00 04 */ li r4, 4 -/* 8026B30C 0026826C 41 82 00 08 */ beq lbl_8026B314 -/* 8026B310 00268270 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026B314: -/* 8026B314 00268274 4B DE 50 35 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -lbl_8026B318: -/* 8026B318 00268278 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8026B31C 0026827C 80 61 01 00 */ lwz r3, 0x100(r1) -/* 8026B320 00268280 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B324 00268284 7C 63 02 15 */ add. r3, r3, r0 -/* 8026B328 00268288 41 82 00 0C */ beq lbl_8026B334 -/* 8026B32C 0026828C 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 8026B330 00268290 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B334: -/* 8026B334 00268294 80 61 00 F8 */ lwz r3, 0xf8(r1) -/* 8026B338 00268298 3B 7B 00 01 */ addi r27, r27, 1 -/* 8026B33C 0026829C 38 03 00 01 */ addi r0, r3, 1 -/* 8026B340 002682A0 90 01 00 F8 */ stw r0, 0xf8(r1) -lbl_8026B344: -/* 8026B344 002682A4 7C 1B D0 00 */ cmpw r27, r26 -/* 8026B348 002682A8 41 80 FF 9C */ blt lbl_8026B2E4 -/* 8026B34C 002682AC 38 7F 00 04 */ addi r3, r31, 4 -/* 8026B350 002682B0 38 01 00 F4 */ addi r0, r1, 0xf4 -/* 8026B354 002682B4 7C 03 00 40 */ cmplw r3, r0 -/* 8026B358 002682B8 41 82 00 B4 */ beq lbl_8026B40C -/* 8026B35C 002682BC 80 1F 00 08 */ lwz r0, 8(r31) -/* 8026B360 002682C0 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8026B364 002682C4 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B368 002682C8 7C 03 02 14 */ add r0, r3, r0 -/* 8026B36C 002682CC 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8026B370 002682D0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8026B374 002682D4 90 01 00 50 */ stw r0, 0x50(r1) -/* 8026B378 002682D8 90 61 00 48 */ stw r3, 0x48(r1) -/* 8026B37C 002682DC 48 00 00 08 */ b lbl_8026B384 -lbl_8026B380: -/* 8026B380 002682E0 38 63 00 04 */ addi r3, r3, 4 -lbl_8026B384: -/* 8026B384 002682E4 7C 03 00 40 */ cmplw r3, r0 -/* 8026B388 002682E8 40 82 FF F8 */ bne lbl_8026B380 -/* 8026B38C 002682EC 38 00 00 00 */ li r0, 0 -/* 8026B390 002682F0 90 1F 00 08 */ stw r0, 8(r31) -/* 8026B394 002682F4 80 81 00 F8 */ lwz r4, 0xf8(r1) -/* 8026B398 002682F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8026B39C 002682FC 40 82 00 28 */ bne lbl_8026B3C4 -/* 8026B3A0 00268300 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8026B3A4 00268304 28 03 00 00 */ cmplwi r3, 0 -/* 8026B3A8 00268308 41 82 00 08 */ beq lbl_8026B3B0 -/* 8026B3AC 0026830C 48 0A A5 85 */ bl Free__7CMemoryFPCv -lbl_8026B3B0: -/* 8026B3B0 00268310 38 00 00 00 */ li r0, 0 -/* 8026B3B4 00268314 90 1F 00 08 */ stw r0, 8(r31) -/* 8026B3B8 00268318 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8026B3BC 0026831C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8026B3C0 00268320 48 00 00 4C */ b lbl_8026B40C -lbl_8026B3C4: -/* 8026B3C4 00268324 38 7F 00 04 */ addi r3, r31, 4 -/* 8026B3C8 00268328 4B DE 4F 81 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B3CC 0026832C 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8026B3D0 00268330 80 A1 01 00 */ lwz r5, 0x100(r1) -/* 8026B3D4 00268334 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B3D8 00268338 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8026B3DC 0026833C 7C 85 02 14 */ add r4, r5, r0 -/* 8026B3E0 00268340 48 00 00 1C */ b lbl_8026B3FC -lbl_8026B3E4: -/* 8026B3E4 00268344 28 03 00 00 */ cmplwi r3, 0 -/* 8026B3E8 00268348 41 82 00 0C */ beq lbl_8026B3F4 -/* 8026B3EC 0026834C 80 05 00 00 */ lwz r0, 0(r5) -/* 8026B3F0 00268350 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B3F4: -/* 8026B3F4 00268354 38 63 00 04 */ addi r3, r3, 4 -/* 8026B3F8 00268358 38 A5 00 04 */ addi r5, r5, 4 -lbl_8026B3FC: -/* 8026B3FC 0026835C 7C 05 20 40 */ cmplw r5, r4 -/* 8026B400 00268360 40 82 FF E4 */ bne lbl_8026B3E4 -/* 8026B404 00268364 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8026B408 00268368 90 1F 00 08 */ stw r0, 8(r31) -lbl_8026B40C: -/* 8026B40C 0026836C 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8026B410 00268370 80 61 01 00 */ lwz r3, 0x100(r1) -/* 8026B414 00268374 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B418 00268378 7C 03 02 14 */ add r0, r3, r0 -/* 8026B41C 0026837C 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 8026B420 00268380 7C 64 1B 78 */ mr r4, r3 -/* 8026B424 00268384 90 01 00 AC */ stw r0, 0xac(r1) -/* 8026B428 00268388 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8026B42C 0026838C 90 61 00 A0 */ stw r3, 0xa0(r1) -/* 8026B430 00268390 48 00 00 08 */ b lbl_8026B438 -lbl_8026B434: -/* 8026B434 00268394 38 84 00 04 */ addi r4, r4, 4 -lbl_8026B438: -/* 8026B438 00268398 7C 04 00 40 */ cmplw r4, r0 -/* 8026B43C 0026839C 40 82 FF F8 */ bne lbl_8026B434 -/* 8026B440 002683A0 28 03 00 00 */ cmplwi r3, 0 -/* 8026B444 002683A4 41 82 00 08 */ beq lbl_8026B44C -/* 8026B448 002683A8 48 0A A4 E9 */ bl Free__7CMemoryFPCv -lbl_8026B44C: -/* 8026B44C 002683AC 28 1D 00 02 */ cmplwi r29, 2 -/* 8026B450 002683B0 40 81 01 9C */ ble lbl_8026B5EC -/* 8026B454 002683B4 38 00 00 00 */ li r0, 0 -/* 8026B458 002683B8 7F C3 F3 78 */ mr r3, r30 -/* 8026B45C 002683BC 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 8026B460 002683C0 90 01 00 EC */ stw r0, 0xec(r1) -/* 8026B464 002683C4 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 8026B468 002683C8 48 0D 38 1D */ bl ReadLong__12CInputStreamFv -/* 8026B46C 002683CC 7C 7A 1B 78 */ mr r26, r3 -/* 8026B470 002683D0 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8026B474 002683D4 7F 44 D3 78 */ mr r4, r26 -/* 8026B478 002683D8 4B DE 4E D1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B47C 002683DC 3B 60 00 00 */ li r27, 0 -/* 8026B480 002683E0 48 00 00 64 */ b lbl_8026B4E4 -lbl_8026B484: -/* 8026B484 002683E4 7F C4 F3 78 */ mr r4, r30 -/* 8026B488 002683E8 38 61 00 9C */ addi r3, r1, 0x9c -/* 8026B48C 002683EC 4B EA EF D5 */ bl __ct__9TEditorIdFR12CInputStream -/* 8026B490 002683F0 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8026B494 002683F4 80 A1 00 EC */ lwz r5, 0xec(r1) -/* 8026B498 002683F8 7C 00 28 00 */ cmpw r0, r5 -/* 8026B49C 002683FC 41 80 00 1C */ blt lbl_8026B4B8 -/* 8026B4A0 00268400 2C 05 00 00 */ cmpwi r5, 0 -/* 8026B4A4 00268404 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8026B4A8 00268408 38 80 00 04 */ li r4, 4 -/* 8026B4AC 0026840C 41 82 00 08 */ beq lbl_8026B4B4 -/* 8026B4B0 00268410 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026B4B4: -/* 8026B4B4 00268414 4B DE 4E 95 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -lbl_8026B4B8: -/* 8026B4B8 00268418 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8026B4BC 0026841C 80 61 00 F0 */ lwz r3, 0xf0(r1) -/* 8026B4C0 00268420 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B4C4 00268424 7C 63 02 15 */ add. r3, r3, r0 -/* 8026B4C8 00268428 41 82 00 0C */ beq lbl_8026B4D4 -/* 8026B4CC 0026842C 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 8026B4D0 00268430 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B4D4: -/* 8026B4D4 00268434 80 61 00 E8 */ lwz r3, 0xe8(r1) -/* 8026B4D8 00268438 3B 7B 00 01 */ addi r27, r27, 1 -/* 8026B4DC 0026843C 38 03 00 01 */ addi r0, r3, 1 -/* 8026B4E0 00268440 90 01 00 E8 */ stw r0, 0xe8(r1) -lbl_8026B4E4: -/* 8026B4E4 00268444 7C 1B D0 00 */ cmpw r27, r26 -/* 8026B4E8 00268448 41 80 FF 9C */ blt lbl_8026B484 -/* 8026B4EC 0026844C 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8026B4F0 00268450 38 01 00 E4 */ addi r0, r1, 0xe4 -/* 8026B4F4 00268454 7C 03 00 40 */ cmplw r3, r0 -/* 8026B4F8 00268458 41 82 00 B4 */ beq lbl_8026B5AC -/* 8026B4FC 0026845C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8026B500 00268460 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8026B504 00268464 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B508 00268468 7C 03 02 14 */ add r0, r3, r0 -/* 8026B50C 0026846C 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8026B510 00268470 90 01 00 44 */ stw r0, 0x44(r1) -/* 8026B514 00268474 90 01 00 40 */ stw r0, 0x40(r1) -/* 8026B518 00268478 90 61 00 38 */ stw r3, 0x38(r1) -/* 8026B51C 0026847C 48 00 00 08 */ b lbl_8026B524 -lbl_8026B520: -/* 8026B520 00268480 38 63 00 04 */ addi r3, r3, 4 -lbl_8026B524: -/* 8026B524 00268484 7C 03 00 40 */ cmplw r3, r0 -/* 8026B528 00268488 40 82 FF F8 */ bne lbl_8026B520 -/* 8026B52C 0026848C 38 00 00 00 */ li r0, 0 -/* 8026B530 00268490 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026B534 00268494 80 81 00 E8 */ lwz r4, 0xe8(r1) -/* 8026B538 00268498 2C 04 00 00 */ cmpwi r4, 0 -/* 8026B53C 0026849C 40 82 00 28 */ bne lbl_8026B564 -/* 8026B540 002684A0 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8026B544 002684A4 28 03 00 00 */ cmplwi r3, 0 -/* 8026B548 002684A8 41 82 00 08 */ beq lbl_8026B550 -/* 8026B54C 002684AC 48 0A A3 E5 */ bl Free__7CMemoryFPCv -lbl_8026B550: -/* 8026B550 002684B0 38 00 00 00 */ li r0, 0 -/* 8026B554 002684B4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026B558 002684B8 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8026B55C 002684BC 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8026B560 002684C0 48 00 00 4C */ b lbl_8026B5AC -lbl_8026B564: -/* 8026B564 002684C4 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8026B568 002684C8 4B DE 4D E1 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B56C 002684CC 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8026B570 002684D0 80 A1 00 F0 */ lwz r5, 0xf0(r1) -/* 8026B574 002684D4 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B578 002684D8 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8026B57C 002684DC 7C 85 02 14 */ add r4, r5, r0 -/* 8026B580 002684E0 48 00 00 1C */ b lbl_8026B59C -lbl_8026B584: -/* 8026B584 002684E4 28 03 00 00 */ cmplwi r3, 0 -/* 8026B588 002684E8 41 82 00 0C */ beq lbl_8026B594 -/* 8026B58C 002684EC 80 05 00 00 */ lwz r0, 0(r5) -/* 8026B590 002684F0 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B594: -/* 8026B594 002684F4 38 63 00 04 */ addi r3, r3, 4 -/* 8026B598 002684F8 38 A5 00 04 */ addi r5, r5, 4 -lbl_8026B59C: -/* 8026B59C 002684FC 7C 05 20 40 */ cmplw r5, r4 -/* 8026B5A0 00268500 40 82 FF E4 */ bne lbl_8026B584 -/* 8026B5A4 00268504 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8026B5A8 00268508 90 1F 00 18 */ stw r0, 0x18(r31) -lbl_8026B5AC: -/* 8026B5AC 0026850C 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8026B5B0 00268510 80 61 00 F0 */ lwz r3, 0xf0(r1) -/* 8026B5B4 00268514 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B5B8 00268518 7C 03 02 14 */ add r0, r3, r0 -/* 8026B5BC 0026851C 90 61 00 90 */ stw r3, 0x90(r1) -/* 8026B5C0 00268520 7C 64 1B 78 */ mr r4, r3 -/* 8026B5C4 00268524 90 01 00 98 */ stw r0, 0x98(r1) -/* 8026B5C8 00268528 90 01 00 94 */ stw r0, 0x94(r1) -/* 8026B5CC 0026852C 90 61 00 8C */ stw r3, 0x8c(r1) -/* 8026B5D0 00268530 48 00 00 08 */ b lbl_8026B5D8 -lbl_8026B5D4: -/* 8026B5D4 00268534 38 84 00 04 */ addi r4, r4, 4 -lbl_8026B5D8: -/* 8026B5D8 00268538 7C 04 00 40 */ cmplw r4, r0 -/* 8026B5DC 0026853C 40 82 FF F8 */ bne lbl_8026B5D4 -/* 8026B5E0 00268540 28 03 00 00 */ cmplwi r3, 0 -/* 8026B5E4 00268544 41 82 00 08 */ beq lbl_8026B5EC -/* 8026B5E8 00268548 48 0A A3 49 */ bl Free__7CMemoryFPCv -lbl_8026B5EC: -/* 8026B5EC 0026854C 38 00 00 00 */ li r0, 0 -/* 8026B5F0 00268550 7F C3 F3 78 */ mr r3, r30 -/* 8026B5F4 00268554 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8026B5F8 00268558 90 01 00 DC */ stw r0, 0xdc(r1) -/* 8026B5FC 0026855C 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 8026B600 00268560 48 0D 36 85 */ bl ReadLong__12CInputStreamFv -/* 8026B604 00268564 7C 79 1B 78 */ mr r25, r3 -/* 8026B608 00268568 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8026B60C 0026856C 7F 24 CB 78 */ mr r4, r25 -/* 8026B610 00268570 48 00 04 ED */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" -/* 8026B614 00268574 3B 40 00 00 */ li r26, 0 -/* 8026B618 00268578 48 00 00 70 */ b lbl_8026B688 -lbl_8026B61C: -/* 8026B61C 0026857C 7F C3 F3 78 */ mr r3, r30 -/* 8026B620 00268580 48 0D 36 65 */ bl ReadLong__12CInputStreamFv -/* 8026B624 00268584 7C 7B 1B 78 */ mr r27, r3 -/* 8026B628 00268588 7F C3 F3 78 */ mr r3, r30 -/* 8026B62C 0026858C 48 0D 36 59 */ bl ReadLong__12CInputStreamFv -/* 8026B630 00268590 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8026B634 00268594 7C 7C 1B 78 */ mr r28, r3 -/* 8026B638 00268598 80 A1 00 DC */ lwz r5, 0xdc(r1) -/* 8026B63C 0026859C 7C 00 28 00 */ cmpw r0, r5 -/* 8026B640 002685A0 41 80 00 1C */ blt lbl_8026B65C -/* 8026B644 002685A4 2C 05 00 00 */ cmpwi r5, 0 -/* 8026B648 002685A8 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8026B64C 002685AC 38 80 00 04 */ li r4, 4 -/* 8026B650 002685B0 41 82 00 08 */ beq lbl_8026B658 -/* 8026B654 002685B4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026B658: -/* 8026B658 002685B8 48 00 04 A5 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" -lbl_8026B65C: -/* 8026B65C 002685BC 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8026B660 002685C0 80 61 00 E0 */ lwz r3, 0xe0(r1) -/* 8026B664 002685C4 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B668 002685C8 7C 63 02 15 */ add. r3, r3, r0 -/* 8026B66C 002685CC 41 82 00 0C */ beq lbl_8026B678 -/* 8026B670 002685D0 93 63 00 00 */ stw r27, 0(r3) -/* 8026B674 002685D4 93 83 00 04 */ stw r28, 4(r3) -lbl_8026B678: -/* 8026B678 002685D8 80 61 00 D8 */ lwz r3, 0xd8(r1) -/* 8026B67C 002685DC 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026B680 002685E0 38 03 00 01 */ addi r0, r3, 1 -/* 8026B684 002685E4 90 01 00 D8 */ stw r0, 0xd8(r1) -lbl_8026B688: -/* 8026B688 002685E8 7C 1A C8 00 */ cmpw r26, r25 -/* 8026B68C 002685EC 41 80 FF 90 */ blt lbl_8026B61C -/* 8026B690 002685F0 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8026B694 002685F4 38 01 00 D4 */ addi r0, r1, 0xd4 -/* 8026B698 002685F8 7C 03 00 40 */ cmplw r3, r0 -/* 8026B69C 002685FC 41 82 00 BC */ beq lbl_8026B758 -/* 8026B6A0 00268600 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8026B6A4 00268604 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8026B6A8 00268608 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B6AC 0026860C 7C 03 02 14 */ add r0, r3, r0 -/* 8026B6B0 00268610 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8026B6B4 00268614 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026B6B8 00268618 90 01 00 30 */ stw r0, 0x30(r1) -/* 8026B6BC 0026861C 90 61 00 28 */ stw r3, 0x28(r1) -/* 8026B6C0 00268620 48 00 00 08 */ b lbl_8026B6C8 -lbl_8026B6C4: -/* 8026B6C4 00268624 38 63 00 08 */ addi r3, r3, 8 -lbl_8026B6C8: -/* 8026B6C8 00268628 7C 03 00 40 */ cmplw r3, r0 -/* 8026B6CC 0026862C 40 82 FF F8 */ bne lbl_8026B6C4 -/* 8026B6D0 00268630 38 00 00 00 */ li r0, 0 -/* 8026B6D4 00268634 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8026B6D8 00268638 80 81 00 D8 */ lwz r4, 0xd8(r1) -/* 8026B6DC 0026863C 2C 04 00 00 */ cmpwi r4, 0 -/* 8026B6E0 00268640 40 82 00 28 */ bne lbl_8026B708 -/* 8026B6E4 00268644 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8026B6E8 00268648 28 03 00 00 */ cmplwi r3, 0 -/* 8026B6EC 0026864C 41 82 00 08 */ beq lbl_8026B6F4 -/* 8026B6F0 00268650 48 0A A2 41 */ bl Free__7CMemoryFPCv -lbl_8026B6F4: -/* 8026B6F4 00268654 38 00 00 00 */ li r0, 0 -/* 8026B6F8 00268658 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8026B6FC 0026865C 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8026B700 00268660 90 1F 00 30 */ stw r0, 0x30(r31) -/* 8026B704 00268664 48 00 00 54 */ b lbl_8026B758 -lbl_8026B708: -/* 8026B708 00268668 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8026B70C 0026866C 48 00 03 F1 */ bl "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" -/* 8026B710 00268670 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8026B714 00268674 80 A1 00 E0 */ lwz r5, 0xe0(r1) -/* 8026B718 00268678 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B71C 0026867C 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8026B720 00268680 7C 85 02 14 */ add r4, r5, r0 -/* 8026B724 00268684 48 00 00 24 */ b lbl_8026B748 -lbl_8026B728: -/* 8026B728 00268688 28 03 00 00 */ cmplwi r3, 0 -/* 8026B72C 0026868C 41 82 00 14 */ beq lbl_8026B740 -/* 8026B730 00268690 80 05 00 00 */ lwz r0, 0(r5) -/* 8026B734 00268694 90 03 00 00 */ stw r0, 0(r3) -/* 8026B738 00268698 80 05 00 04 */ lwz r0, 4(r5) -/* 8026B73C 0026869C 90 03 00 04 */ stw r0, 4(r3) -lbl_8026B740: -/* 8026B740 002686A0 38 63 00 08 */ addi r3, r3, 8 -/* 8026B744 002686A4 38 A5 00 08 */ addi r5, r5, 8 -lbl_8026B748: -/* 8026B748 002686A8 7C 05 20 40 */ cmplw r5, r4 -/* 8026B74C 002686AC 40 82 FF DC */ bne lbl_8026B728 -/* 8026B750 002686B0 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8026B754 002686B4 90 1F 00 28 */ stw r0, 0x28(r31) -lbl_8026B758: -/* 8026B758 002686B8 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8026B75C 002686BC 80 61 00 E0 */ lwz r3, 0xe0(r1) -/* 8026B760 002686C0 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B764 002686C4 7C 03 02 14 */ add r0, r3, r0 -/* 8026B768 002686C8 90 61 00 80 */ stw r3, 0x80(r1) -/* 8026B76C 002686CC 7C 64 1B 78 */ mr r4, r3 -/* 8026B770 002686D0 90 01 00 88 */ stw r0, 0x88(r1) -/* 8026B774 002686D4 90 01 00 84 */ stw r0, 0x84(r1) -/* 8026B778 002686D8 90 61 00 7C */ stw r3, 0x7c(r1) -/* 8026B77C 002686DC 48 00 00 08 */ b lbl_8026B784 -lbl_8026B780: -/* 8026B780 002686E0 38 84 00 08 */ addi r4, r4, 8 -lbl_8026B784: -/* 8026B784 002686E4 7C 04 00 40 */ cmplw r4, r0 -/* 8026B788 002686E8 40 82 FF F8 */ bne lbl_8026B780 -/* 8026B78C 002686EC 28 03 00 00 */ cmplwi r3, 0 -/* 8026B790 002686F0 41 82 00 08 */ beq lbl_8026B798 -/* 8026B794 002686F4 48 0A A1 9D */ bl Free__7CMemoryFPCv -lbl_8026B798: -/* 8026B798 002686F8 38 00 00 00 */ li r0, 0 -/* 8026B79C 002686FC 7F C3 F3 78 */ mr r3, r30 -/* 8026B7A0 00268700 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 8026B7A4 00268704 90 01 00 CC */ stw r0, 0xcc(r1) -/* 8026B7A8 00268708 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 8026B7AC 0026870C 48 0D 34 D9 */ bl ReadLong__12CInputStreamFv -/* 8026B7B0 00268710 7C 79 1B 78 */ mr r25, r3 -/* 8026B7B4 00268714 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8026B7B8 00268718 7F 24 CB 78 */ mr r4, r25 -/* 8026B7BC 0026871C 4B DE 4B 8D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B7C0 00268720 3B 40 00 00 */ li r26, 0 -/* 8026B7C4 00268724 48 00 00 64 */ b lbl_8026B828 -lbl_8026B7C8: -/* 8026B7C8 00268728 7F C4 F3 78 */ mr r4, r30 -/* 8026B7CC 0026872C 38 61 00 78 */ addi r3, r1, 0x78 -/* 8026B7D0 00268730 4B EA EC 91 */ bl __ct__9TEditorIdFR12CInputStream -/* 8026B7D4 00268734 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8026B7D8 00268738 80 A1 00 CC */ lwz r5, 0xcc(r1) -/* 8026B7DC 0026873C 7C 00 28 00 */ cmpw r0, r5 -/* 8026B7E0 00268740 41 80 00 1C */ blt lbl_8026B7FC -/* 8026B7E4 00268744 2C 05 00 00 */ cmpwi r5, 0 -/* 8026B7E8 00268748 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8026B7EC 0026874C 38 80 00 04 */ li r4, 4 -/* 8026B7F0 00268750 41 82 00 08 */ beq lbl_8026B7F8 -/* 8026B7F4 00268754 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026B7F8: -/* 8026B7F8 00268758 4B DE 4B 51 */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -lbl_8026B7FC: -/* 8026B7FC 0026875C 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8026B800 00268760 80 61 00 D0 */ lwz r3, 0xd0(r1) -/* 8026B804 00268764 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B808 00268768 7C 63 02 15 */ add. r3, r3, r0 -/* 8026B80C 0026876C 41 82 00 0C */ beq lbl_8026B818 -/* 8026B810 00268770 80 01 00 78 */ lwz r0, 0x78(r1) -/* 8026B814 00268774 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B818: -/* 8026B818 00268778 80 61 00 C8 */ lwz r3, 0xc8(r1) -/* 8026B81C 0026877C 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026B820 00268780 38 03 00 01 */ addi r0, r3, 1 -/* 8026B824 00268784 90 01 00 C8 */ stw r0, 0xc8(r1) -lbl_8026B828: -/* 8026B828 00268788 7C 1A C8 00 */ cmpw r26, r25 -/* 8026B82C 0026878C 41 80 FF 9C */ blt lbl_8026B7C8 -/* 8026B830 00268790 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8026B834 00268794 38 01 00 C4 */ addi r0, r1, 0xc4 -/* 8026B838 00268798 7C 03 00 40 */ cmplw r3, r0 -/* 8026B83C 0026879C 41 82 00 B4 */ beq lbl_8026B8F0 -/* 8026B840 002687A0 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8026B844 002687A4 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8026B848 002687A8 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B84C 002687AC 7C 03 02 14 */ add r0, r3, r0 -/* 8026B850 002687B0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8026B854 002687B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026B858 002687B8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026B85C 002687BC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026B860 002687C0 48 00 00 08 */ b lbl_8026B868 -lbl_8026B864: -/* 8026B864 002687C4 38 63 00 04 */ addi r3, r3, 4 -lbl_8026B868: -/* 8026B868 002687C8 7C 03 00 40 */ cmplw r3, r0 -/* 8026B86C 002687CC 40 82 FF F8 */ bne lbl_8026B864 -/* 8026B870 002687D0 38 00 00 00 */ li r0, 0 -/* 8026B874 002687D4 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8026B878 002687D8 80 81 00 C8 */ lwz r4, 0xc8(r1) -/* 8026B87C 002687DC 2C 04 00 00 */ cmpwi r4, 0 -/* 8026B880 002687E0 40 82 00 28 */ bne lbl_8026B8A8 -/* 8026B884 002687E4 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8026B888 002687E8 28 03 00 00 */ cmplwi r3, 0 -/* 8026B88C 002687EC 41 82 00 08 */ beq lbl_8026B894 -/* 8026B890 002687F0 48 0A A0 A1 */ bl Free__7CMemoryFPCv -lbl_8026B894: -/* 8026B894 002687F4 38 00 00 00 */ li r0, 0 -/* 8026B898 002687F8 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8026B89C 002687FC 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 8026B8A0 00268800 90 1F 00 40 */ stw r0, 0x40(r31) -/* 8026B8A4 00268804 48 00 00 4C */ b lbl_8026B8F0 -lbl_8026B8A8: -/* 8026B8A8 00268808 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8026B8AC 0026880C 4B DE 4A 9D */ bl "reserve__Q24rstl45vector<9TEditorId,Q24rstl17rmemory_allocator>Fi" -/* 8026B8B0 00268810 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8026B8B4 00268814 80 A1 00 D0 */ lwz r5, 0xd0(r1) -/* 8026B8B8 00268818 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B8BC 0026881C 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8026B8C0 00268820 7C 85 02 14 */ add r4, r5, r0 -/* 8026B8C4 00268824 48 00 00 1C */ b lbl_8026B8E0 -lbl_8026B8C8: -/* 8026B8C8 00268828 28 03 00 00 */ cmplwi r3, 0 -/* 8026B8CC 0026882C 41 82 00 0C */ beq lbl_8026B8D8 -/* 8026B8D0 00268830 80 05 00 00 */ lwz r0, 0(r5) -/* 8026B8D4 00268834 90 03 00 00 */ stw r0, 0(r3) -lbl_8026B8D8: -/* 8026B8D8 00268838 38 63 00 04 */ addi r3, r3, 4 -/* 8026B8DC 0026883C 38 A5 00 04 */ addi r5, r5, 4 -lbl_8026B8E0: -/* 8026B8E0 00268840 7C 05 20 40 */ cmplw r5, r4 -/* 8026B8E4 00268844 40 82 FF E4 */ bne lbl_8026B8C8 -/* 8026B8E8 00268848 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8026B8EC 0026884C 90 1F 00 38 */ stw r0, 0x38(r31) -lbl_8026B8F0: -/* 8026B8F0 00268850 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8026B8F4 00268854 80 61 00 D0 */ lwz r3, 0xd0(r1) -/* 8026B8F8 00268858 54 00 10 3A */ slwi r0, r0, 2 -/* 8026B8FC 0026885C 7C 03 02 14 */ add r0, r3, r0 -/* 8026B900 00268860 90 61 00 6C */ stw r3, 0x6c(r1) -/* 8026B904 00268864 7C 64 1B 78 */ mr r4, r3 -/* 8026B908 00268868 90 01 00 74 */ stw r0, 0x74(r1) -/* 8026B90C 0026886C 90 01 00 70 */ stw r0, 0x70(r1) -/* 8026B910 00268870 90 61 00 68 */ stw r3, 0x68(r1) -/* 8026B914 00268874 48 00 00 08 */ b lbl_8026B91C -lbl_8026B918: -/* 8026B918 00268878 38 84 00 04 */ addi r4, r4, 4 -lbl_8026B91C: -/* 8026B91C 0026887C 7C 04 00 40 */ cmplw r4, r0 -/* 8026B920 00268880 40 82 FF F8 */ bne lbl_8026B918 -/* 8026B924 00268884 28 03 00 00 */ cmplwi r3, 0 -/* 8026B928 00268888 41 82 00 08 */ beq lbl_8026B930 -/* 8026B92C 0026888C 48 0A A0 05 */ bl Free__7CMemoryFPCv -lbl_8026B930: -/* 8026B930 00268890 28 1D 00 00 */ cmplwi r29, 0 -/* 8026B934 00268894 41 82 01 B0 */ beq lbl_8026BAE4 -/* 8026B938 00268898 38 00 00 00 */ li r0, 0 -/* 8026B93C 0026889C 7F C3 F3 78 */ mr r3, r30 -/* 8026B940 002688A0 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8026B944 002688A4 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8026B948 002688A8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8026B94C 002688AC 48 0D 33 39 */ bl ReadLong__12CInputStreamFv -/* 8026B950 002688B0 7C 79 1B 78 */ mr r25, r3 -/* 8026B954 002688B4 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8026B958 002688B8 7F 24 CB 78 */ mr r4, r25 -/* 8026B95C 002688BC 4B D9 D0 F1 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" -/* 8026B960 002688C0 3B 40 00 00 */ li r26, 0 -/* 8026B964 002688C4 48 00 00 70 */ b lbl_8026B9D4 -lbl_8026B968: -/* 8026B968 002688C8 7F C3 F3 78 */ mr r3, r30 -/* 8026B96C 002688CC 48 0D 33 19 */ bl ReadLong__12CInputStreamFv -/* 8026B970 002688D0 7C 7C 1B 78 */ mr r28, r3 -/* 8026B974 002688D4 7F C3 F3 78 */ mr r3, r30 -/* 8026B978 002688D8 48 0D 33 0D */ bl ReadLong__12CInputStreamFv -/* 8026B97C 002688DC 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8026B980 002688E0 7C 7D 1B 78 */ mr r29, r3 -/* 8026B984 002688E4 80 A1 00 BC */ lwz r5, 0xbc(r1) -/* 8026B988 002688E8 7C 00 28 00 */ cmpw r0, r5 -/* 8026B98C 002688EC 41 80 00 1C */ blt lbl_8026B9A8 -/* 8026B990 002688F0 2C 05 00 00 */ cmpwi r5, 0 -/* 8026B994 002688F4 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8026B998 002688F8 38 80 00 04 */ li r4, 4 -/* 8026B99C 002688FC 41 82 00 08 */ beq lbl_8026B9A4 -/* 8026B9A0 00268900 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8026B9A4: -/* 8026B9A4 00268904 4B D9 D0 A9 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" -lbl_8026B9A8: -/* 8026B9A8 00268908 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8026B9AC 0026890C 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 8026B9B0 00268910 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B9B4 00268914 7C 63 02 15 */ add. r3, r3, r0 -/* 8026B9B8 00268918 41 82 00 0C */ beq lbl_8026B9C4 -/* 8026B9BC 0026891C 93 83 00 00 */ stw r28, 0(r3) -/* 8026B9C0 00268920 93 A3 00 04 */ stw r29, 4(r3) -lbl_8026B9C4: -/* 8026B9C4 00268924 80 61 00 B8 */ lwz r3, 0xb8(r1) -/* 8026B9C8 00268928 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026B9CC 0026892C 38 03 00 01 */ addi r0, r3, 1 -/* 8026B9D0 00268930 90 01 00 B8 */ stw r0, 0xb8(r1) -lbl_8026B9D4: -/* 8026B9D4 00268934 7C 1A C8 00 */ cmpw r26, r25 -/* 8026B9D8 00268938 41 80 FF 90 */ blt lbl_8026B968 -/* 8026B9DC 0026893C 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8026B9E0 00268940 38 01 00 B4 */ addi r0, r1, 0xb4 -/* 8026B9E4 00268944 7C 03 00 40 */ cmplw r3, r0 -/* 8026B9E8 00268948 41 82 00 BC */ beq lbl_8026BAA4 -/* 8026B9EC 0026894C 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8026B9F0 00268950 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8026B9F4 00268954 54 00 18 38 */ slwi r0, r0, 3 -/* 8026B9F8 00268958 7C 03 02 14 */ add r0, r3, r0 -/* 8026B9FC 0026895C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026BA00 00268960 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BA04 00268964 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026BA08 00268968 90 61 00 08 */ stw r3, 8(r1) -/* 8026BA0C 0026896C 48 00 00 08 */ b lbl_8026BA14 -lbl_8026BA10: -/* 8026BA10 00268970 38 63 00 08 */ addi r3, r3, 8 -lbl_8026BA14: -/* 8026BA14 00268974 7C 03 00 40 */ cmplw r3, r0 -/* 8026BA18 00268978 40 82 FF F8 */ bne lbl_8026BA10 -/* 8026BA1C 0026897C 38 00 00 00 */ li r0, 0 -/* 8026BA20 00268980 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8026BA24 00268984 80 81 00 B8 */ lwz r4, 0xb8(r1) -/* 8026BA28 00268988 2C 04 00 00 */ cmpwi r4, 0 -/* 8026BA2C 0026898C 40 82 00 28 */ bne lbl_8026BA54 -/* 8026BA30 00268990 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8026BA34 00268994 28 03 00 00 */ cmplwi r3, 0 -/* 8026BA38 00268998 41 82 00 08 */ beq lbl_8026BA40 -/* 8026BA3C 0026899C 48 0A 9E F5 */ bl Free__7CMemoryFPCv -lbl_8026BA40: -/* 8026BA40 002689A0 38 00 00 00 */ li r0, 0 -/* 8026BA44 002689A4 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8026BA48 002689A8 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 8026BA4C 002689AC 90 1F 00 50 */ stw r0, 0x50(r31) -/* 8026BA50 002689B0 48 00 00 54 */ b lbl_8026BAA4 -lbl_8026BA54: -/* 8026BA54 002689B4 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8026BA58 002689B8 4B D9 CF F5 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" -/* 8026BA5C 002689BC 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8026BA60 002689C0 80 A1 00 C0 */ lwz r5, 0xc0(r1) -/* 8026BA64 002689C4 54 00 18 38 */ slwi r0, r0, 3 -/* 8026BA68 002689C8 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8026BA6C 002689CC 7C 85 02 14 */ add r4, r5, r0 -/* 8026BA70 002689D0 48 00 00 24 */ b lbl_8026BA94 -lbl_8026BA74: -/* 8026BA74 002689D4 28 03 00 00 */ cmplwi r3, 0 -/* 8026BA78 002689D8 41 82 00 14 */ beq lbl_8026BA8C -/* 8026BA7C 002689DC 80 05 00 00 */ lwz r0, 0(r5) -/* 8026BA80 002689E0 90 03 00 00 */ stw r0, 0(r3) -/* 8026BA84 002689E4 80 05 00 04 */ lwz r0, 4(r5) -/* 8026BA88 002689E8 90 03 00 04 */ stw r0, 4(r3) -lbl_8026BA8C: -/* 8026BA8C 002689EC 38 63 00 08 */ addi r3, r3, 8 -/* 8026BA90 002689F0 38 A5 00 08 */ addi r5, r5, 8 -lbl_8026BA94: -/* 8026BA94 002689F4 7C 05 20 40 */ cmplw r5, r4 -/* 8026BA98 002689F8 40 82 FF DC */ bne lbl_8026BA74 -/* 8026BA9C 002689FC 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8026BAA0 00268A00 90 1F 00 48 */ stw r0, 0x48(r31) -lbl_8026BAA4: -/* 8026BAA4 00268A04 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8026BAA8 00268A08 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 8026BAAC 00268A0C 54 00 18 38 */ slwi r0, r0, 3 -/* 8026BAB0 00268A10 7C 03 02 14 */ add r0, r3, r0 -/* 8026BAB4 00268A14 90 61 00 5C */ stw r3, 0x5c(r1) -/* 8026BAB8 00268A18 7C 64 1B 78 */ mr r4, r3 -/* 8026BABC 00268A1C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8026BAC0 00268A20 90 01 00 60 */ stw r0, 0x60(r1) -/* 8026BAC4 00268A24 90 61 00 58 */ stw r3, 0x58(r1) -/* 8026BAC8 00268A28 48 00 00 08 */ b lbl_8026BAD0 -lbl_8026BACC: -/* 8026BACC 00268A2C 38 84 00 08 */ addi r4, r4, 8 -lbl_8026BAD0: -/* 8026BAD0 00268A30 7C 04 00 40 */ cmplw r4, r0 -/* 8026BAD4 00268A34 40 82 FF F8 */ bne lbl_8026BACC -/* 8026BAD8 00268A38 28 03 00 00 */ cmplwi r3, 0 -/* 8026BADC 00268A3C 41 82 00 08 */ beq lbl_8026BAE4 -/* 8026BAE0 00268A40 48 0A 9E 51 */ bl Free__7CMemoryFPCv -lbl_8026BAE4: -/* 8026BAE4 00268A44 7F E3 FB 78 */ mr r3, r31 -/* 8026BAE8 00268A48 BB 21 01 14 */ lmw r25, 0x114(r1) -/* 8026BAEC 00268A4C 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8026BAF0 00268A50 7C 08 03 A6 */ mtlr r0 -/* 8026BAF4 00268A54 38 21 01 30 */ addi r1, r1, 0x130 -/* 8026BAF8 00268A58 4E 80 00 20 */ blr - -.global "reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl48vector<11SLayerState,Q24rstl17rmemory_allocator>Fi": -/* 8026BAFC 00268A5C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026BB00 00268A60 7C 08 02 A6 */ mflr r0 -/* 8026BB04 00268A64 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026BB08 00268A68 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8026BB0C 00268A6C 7C 9F 23 78 */ mr r31, r4 -/* 8026BB10 00268A70 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8026BB14 00268A74 7C 7E 1B 78 */ mr r30, r3 -/* 8026BB18 00268A78 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8026BB1C 00268A7C 80 03 00 08 */ lwz r0, 8(r3) -/* 8026BB20 00268A80 7C 1F 00 00 */ cmpw r31, r0 -/* 8026BB24 00268A84 40 81 00 B0 */ ble lbl_8026BBD4 -/* 8026BB28 00268A88 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8026BB2C 00268A8C 40 82 00 0C */ bne lbl_8026BB38 -/* 8026BB30 00268A90 3B A0 00 00 */ li r29, 0 -/* 8026BB34 00268A94 48 00 00 18 */ b lbl_8026BB4C -lbl_8026BB38: -/* 8026BB38 00268A98 3C 80 80 3D */ lis r4, lbl_803D5418@ha -/* 8026BB3C 00268A9C 38 A0 00 00 */ li r5, 0 -/* 8026BB40 00268AA0 38 84 54 18 */ addi r4, r4, lbl_803D5418@l -/* 8026BB44 00268AA4 48 0A 9C D5 */ bl __nwa__FUlPCcPCc -/* 8026BB48 00268AA8 7C 7D 1B 78 */ mr r29, r3 -lbl_8026BB4C: -/* 8026BB4C 00268AAC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026BB50 00268AB0 7F A4 EB 78 */ mr r4, r29 -/* 8026BB54 00268AB4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8026BB58 00268AB8 54 00 18 38 */ slwi r0, r0, 3 -/* 8026BB5C 00268ABC 7C 65 02 14 */ add r3, r5, r0 -/* 8026BB60 00268AC0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8026BB64 00268AC4 90 61 00 08 */ stw r3, 8(r1) -/* 8026BB68 00268AC8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026BB6C 00268ACC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8026BB70 00268AD0 48 00 00 24 */ b lbl_8026BB94 -lbl_8026BB74: -/* 8026BB74 00268AD4 28 04 00 00 */ cmplwi r4, 0 -/* 8026BB78 00268AD8 41 82 00 14 */ beq lbl_8026BB8C -/* 8026BB7C 00268ADC 80 05 00 00 */ lwz r0, 0(r5) -/* 8026BB80 00268AE0 90 04 00 00 */ stw r0, 0(r4) -/* 8026BB84 00268AE4 80 05 00 04 */ lwz r0, 4(r5) -/* 8026BB88 00268AE8 90 04 00 04 */ stw r0, 4(r4) -lbl_8026BB8C: -/* 8026BB8C 00268AEC 38 84 00 08 */ addi r4, r4, 8 -/* 8026BB90 00268AF0 38 A5 00 08 */ addi r5, r5, 8 -lbl_8026BB94: -/* 8026BB94 00268AF4 7C 05 18 40 */ cmplw r5, r3 -/* 8026BB98 00268AF8 40 82 FF DC */ bne lbl_8026BB74 -/* 8026BB9C 00268AFC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026BBA0 00268B00 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8026BBA4 00268B04 54 00 18 38 */ slwi r0, r0, 3 -/* 8026BBA8 00268B08 7C 64 1B 78 */ mr r4, r3 -/* 8026BBAC 00268B0C 7C 03 02 14 */ add r0, r3, r0 -/* 8026BBB0 00268B10 48 00 00 08 */ b lbl_8026BBB8 -lbl_8026BBB4: -/* 8026BBB4 00268B14 38 84 00 08 */ addi r4, r4, 8 -lbl_8026BBB8: -/* 8026BBB8 00268B18 7C 04 00 40 */ cmplw r4, r0 -/* 8026BBBC 00268B1C 40 82 FF F8 */ bne lbl_8026BBB4 -/* 8026BBC0 00268B20 28 03 00 00 */ cmplwi r3, 0 -/* 8026BBC4 00268B24 41 82 00 08 */ beq lbl_8026BBCC -/* 8026BBC8 00268B28 48 0A 9D 69 */ bl Free__7CMemoryFPCv -lbl_8026BBCC: -/* 8026BBCC 00268B2C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8026BBD0 00268B30 93 FE 00 08 */ stw r31, 8(r30) -lbl_8026BBD4: -/* 8026BBD4 00268B34 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026BBD8 00268B38 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026BBDC 00268B3C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8026BBE0 00268B40 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8026BBE4 00268B44 7C 08 03 A6 */ mtlr r0 -/* 8026BBE8 00268B48 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026BBEC 00268B4C 4E 80 00 20 */ blr - -.global RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob -RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob: -/* 8026BBF0 00268B50 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8026BBF4 00268B54 7C 08 02 A6 */ mflr r0 -/* 8026BBF8 00268B58 90 01 00 84 */ stw r0, 0x84(r1) -/* 8026BBFC 00268B5C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8026BC00 00268B60 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8026BC04 00268B64 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8026BC08 00268B68 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8026BC0C 00268B6C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8026BC10 00268B70 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8026BC14 00268B74 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8026BC18 00268B78 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 8026BC1C 00268B7C BE C1 00 18 */ stmw r22, 0x18(r1) -/* 8026BC20 00268B80 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8026BC24 00268B84 7C 76 1B 78 */ mr r22, r3 -/* 8026BC28 00268B88 41 82 0C E0 */ beq lbl_8026C908 -/* 8026BC2C 00268B8C 88 F6 00 01 */ lbz r7, 1(r22) -/* 8026BC30 00268B90 3C 80 43 30 */ lis r4, 0x4330 -/* 8026BC34 00268B94 89 36 00 00 */ lbz r9, 0(r22) -/* 8026BC38 00268B98 7C E7 07 74 */ extsb r7, r7 -/* 8026BC3C 00268B9C 88 16 00 37 */ lbz r0, 0x37(r22) -/* 8026BC40 00268BA0 38 C7 FF FE */ addi r6, r7, -2 -/* 8026BC44 00268BA4 7D 29 07 74 */ extsb r9, r9 -/* 8026BC48 00268BA8 6C C6 80 00 */ xoris r6, r6, 0x8000 -/* 8026BC4C 00268BAC 7C 00 07 74 */ extsb r0, r0 -/* 8026BC50 00268BB0 38 69 FF FE */ addi r3, r9, -2 -/* 8026BC54 00268BB4 90 81 00 08 */ stw r4, 8(r1) -/* 8026BC58 00268BB8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026BC5C 00268BBC C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) -/* 8026BC60 00268BC0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026BC64 00268BC4 2C 00 00 02 */ cmpwi r0, 2 -/* 8026BC68 00268BC8 C3 F6 00 04 */ lfs f31, 4(r22) -/* 8026BC6C 00268BCC C8 01 00 08 */ lfd f0, 8(r1) -/* 8026BC70 00268BD0 90 61 00 14 */ stw r3, 0x14(r1) -/* 8026BC74 00268BD4 EC 20 10 28 */ fsubs f1, f0, f2 -/* 8026BC78 00268BD8 C3 96 00 08 */ lfs f28, 8(r22) -/* 8026BC7C 00268BDC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8026BC80 00268BE0 C0 76 00 18 */ lfs f3, 0x18(r22) -/* 8026BC84 00268BE4 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8026BC88 00268BE8 EF C3 E0 7A */ fmadds f30, f3, f1, f28 -/* 8026BC8C 00268BEC EC 00 10 28 */ fsubs f0, f0, f2 -/* 8026BC90 00268BF0 EF A3 F8 3A */ fmadds f29, f3, f0, f31 -/* 8026BC94 00268BF4 41 82 01 0C */ beq lbl_8026BDA0 -/* 8026BC98 00268BF8 40 80 00 14 */ bge lbl_8026BCAC -/* 8026BC9C 00268BFC 2C 00 00 00 */ cmpwi r0, 0 -/* 8026BCA0 00268C00 41 82 00 18 */ beq lbl_8026BCB8 -/* 8026BCA4 00268C04 40 80 00 64 */ bge lbl_8026BD08 -/* 8026BCA8 00268C08 48 00 0C AC */ b lbl_8026C954 -lbl_8026BCAC: -/* 8026BCAC 00268C0C 2C 00 00 04 */ cmpwi r0, 4 -/* 8026BCB0 00268C10 40 80 0C A4 */ bge lbl_8026C954 -/* 8026BCB4 00268C14 48 00 09 58 */ b lbl_8026C60C -lbl_8026BCB8: -/* 8026BCB8 00268C18 38 60 00 98 */ li r3, 0x98 -/* 8026BCBC 00268C1C 38 80 00 00 */ li r4, 0 -/* 8026BCC0 00268C20 38 A0 00 04 */ li r5, 4 -/* 8026BCC4 00268C24 48 09 C8 C1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026BCC8 00268C28 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8026BCCC 00268C2C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026BCD0 00268C30 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8026BCD4 00268C34 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8026BCD8 00268C38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026BCDC 00268C3C D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8026BCE0 00268C40 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8026BCE4 00268C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026BCE8 00268C48 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026BCEC 00268C4C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8026BCF0 00268C50 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026BCF4 00268C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026BCF8 00268C58 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8026BCFC 00268C5C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026BD00 00268C60 48 09 C8 81 */ bl End__3CGXFv -/* 8026BD04 00268C64 48 00 0C 50 */ b lbl_8026C954 -lbl_8026BD08: -/* 8026BD08 00268C68 38 60 00 98 */ li r3, 0x98 -/* 8026BD0C 00268C6C 38 80 00 00 */ li r4, 0 -/* 8026BD10 00268C70 38 A0 00 04 */ li r5, 4 -/* 8026BD14 00268C74 48 09 C8 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026BD18 00268C78 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 8026BD1C 00268C7C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026BD20 00268C80 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) -/* 8026BD24 00268C84 38 60 00 00 */ li r3, 0 -/* 8026BD28 00268C88 38 00 00 FF */ li r0, 0xff -/* 8026BD2C 00268C8C D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) -/* 8026BD30 00268C90 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8026BD34 00268C94 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD38 00268C98 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD3C 00268C9C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD40 00268CA0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 8026BD44 00268CA4 D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) -/* 8026BD48 00268CA8 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026BD4C 00268CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8026BD50 00268CB0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD54 00268CB4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD58 00268CB8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD5C 00268CBC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 8026BD60 00268CC0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026BD64 00268CC4 D3 84 80 00 */ stfs f28, 0xCC008000@l(r4) -/* 8026BD68 00268CC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8026BD6C 00268CCC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD70 00268CD0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD74 00268CD4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD78 00268CD8 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 8026BD7C 00268CDC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026BD80 00268CE0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026BD84 00268CE4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8026BD88 00268CE8 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD8C 00268CEC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD90 00268CF0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 8026BD94 00268CF4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 8026BD98 00268CF8 48 09 C7 E9 */ bl End__3CGXFv -/* 8026BD9C 00268CFC 48 00 0B B8 */ b lbl_8026C954 -lbl_8026BDA0: -/* 8026BDA0 00268D00 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) -/* 8026BDA4 00268D04 38 07 FF FD */ addi r0, r7, -3 -/* 8026BDA8 00268D08 38 A9 FF FD */ addi r5, r9, -3 -/* 8026BDAC 00268D0C A8 76 00 2E */ lha r3, 0x2e(r22) -/* 8026BDB0 00268D10 7C C0 43 D6 */ divw r6, r0, r8 -/* 8026BDB4 00268D14 A8 16 00 2A */ lha r0, 0x2a(r22) -/* 8026BDB8 00268D18 FF C0 E0 90 */ fmr f30, f28 -/* 8026BDBC 00268D1C A8 96 00 28 */ lha r4, 0x28(r22) -/* 8026BDC0 00268D20 7C A5 43 D6 */ divw r5, r5, r8 -/* 8026BDC4 00268D24 3B C6 00 01 */ addi r30, r6, 1 -/* 8026BDC8 00268D28 7F DB F3 78 */ mr r27, r30 -/* 8026BDCC 00268D2C 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8026BDD0 00268D30 3B A5 00 01 */ addi r29, r5, 1 -/* 8026BDD4 00268D34 7F 84 02 14 */ add r28, r4, r0 -/* 8026BDD8 00268D38 48 00 08 28 */ b lbl_8026C600 -lbl_8026BDDC: -/* 8026BDDC 00268D3C 7C 7B F0 50 */ subf r3, r27, r30 -/* 8026BDE0 00268D40 20 1B 00 01 */ subfic r0, r27, 1 -/* 8026BDE4 00268D44 7C 63 00 34 */ cntlzw r3, r3 -/* 8026BDE8 00268D48 FF A0 F8 90 */ fmr f29, f31 -/* 8026BDEC 00268D4C 7C 00 00 34 */ cntlzw r0, r0 -/* 8026BDF0 00268D50 3B 00 00 00 */ li r24, 0 -/* 8026BDF4 00268D54 54 7A D9 7E */ srwi r26, r3, 5 -/* 8026BDF8 00268D58 54 19 D9 7E */ srwi r25, r0, 5 -/* 8026BDFC 00268D5C 48 00 07 E8 */ b lbl_8026C5E4 -lbl_8026BE00: -/* 8026BE00 00268D60 80 D6 00 30 */ lwz r6, 0x30(r22) -/* 8026BE04 00268D64 28 06 00 00 */ cmplwi r6, 0 -/* 8026BE08 00268D68 41 82 00 18 */ beq lbl_8026BE20 -/* 8026BE0C 00268D6C 41 82 07 A4 */ beq lbl_8026C5B0 -/* 8026BE10 00268D70 7C 06 C2 14 */ add r0, r6, r24 -/* 8026BE14 00268D74 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8026BE18 00268D78 7C 00 07 75 */ extsb. r0, r0 -/* 8026BE1C 00268D7C 41 82 07 94 */ beq lbl_8026C5B0 -lbl_8026BE20: -/* 8026BE20 00268D80 38 9D FF FF */ addi r4, r29, -1 -/* 8026BE24 00268D84 7F 05 00 34 */ cntlzw r5, r24 -/* 8026BE28 00268D88 7C 78 20 50 */ subf r3, r24, r4 -/* 8026BE2C 00268D8C 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8026BE30 00268D90 7C 63 00 34 */ cntlzw r3, r3 -/* 8026BE34 00268D94 54 BF D9 7E */ srwi r31, r5, 5 -/* 8026BE38 00268D98 54 77 D9 7E */ srwi r23, r3, 5 -/* 8026BE3C 00268D9C 40 82 00 1C */ bne lbl_8026BE58 -/* 8026BE40 00268DA0 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8026BE44 00268DA4 40 82 00 14 */ bne lbl_8026BE58 -/* 8026BE48 00268DA8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8026BE4C 00268DAC 40 82 00 0C */ bne lbl_8026BE58 -/* 8026BE50 00268DB0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8026BE54 00268DB4 41 82 06 68 */ beq lbl_8026C4BC -lbl_8026BE58: -/* 8026BE58 00268DB8 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8026BE5C 00268DBC 38 60 00 01 */ li r3, 1 -/* 8026BE60 00268DC0 41 82 00 08 */ beq lbl_8026BE68 -/* 8026BE64 00268DC4 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026BE68: -/* 8026BE68 00268DC8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8026BE6C 00268DCC 38 83 00 02 */ addi r4, r3, 2 -/* 8026BE70 00268DD0 38 60 00 01 */ li r3, 1 -/* 8026BE74 00268DD4 41 82 00 08 */ beq lbl_8026BE7C -/* 8026BE78 00268DD8 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026BE7C: -/* 8026BE7C 00268DDC 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8026BE80 00268DE0 7C 84 1A 14 */ add r4, r4, r3 -/* 8026BE84 00268DE4 38 60 00 01 */ li r3, 1 -/* 8026BE88 00268DE8 41 82 00 08 */ beq lbl_8026BE90 -/* 8026BE8C 00268DEC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026BE90: -/* 8026BE90 00268DF0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8026BE94 00268DF4 7C 84 1A 14 */ add r4, r4, r3 -/* 8026BE98 00268DF8 38 00 00 01 */ li r0, 1 -/* 8026BE9C 00268DFC 41 82 00 08 */ beq lbl_8026BEA4 -/* 8026BEA0 00268E00 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026BEA4: -/* 8026BEA4 00268E04 7C 84 02 14 */ add r4, r4, r0 -/* 8026BEA8 00268E08 38 60 00 A0 */ li r3, 0xa0 -/* 8026BEAC 00268E0C 54 85 04 3E */ clrlwi r5, r4, 0x10 -/* 8026BEB0 00268E10 38 80 00 00 */ li r4, 0 -/* 8026BEB4 00268E14 48 09 C6 D1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026BEB8 00268E18 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) -/* 8026BEBC 00268E1C 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8026BEC0 00268E20 C0 36 00 14 */ lfs f1, 0x14(r22) -/* 8026BEC4 00268E24 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8026BEC8 00268E28 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026BECC 00268E2C 38 A0 00 00 */ li r5, 0 -/* 8026BED0 00268E30 EC 42 00 72 */ fmuls f2, f2, f1 -/* 8026BED4 00268E34 38 80 00 3F */ li r4, 0x3f -/* 8026BED8 00268E38 38 60 00 FF */ li r3, 0xff -/* 8026BEDC 00268E3C 38 00 00 01 */ li r0, 1 -/* 8026BEE0 00268E40 EC 3D 10 2A */ fadds f1, f29, f2 -/* 8026BEE4 00268E44 EC 5E 10 2A */ fadds f2, f30, f2 -/* 8026BEE8 00268E48 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8026BEEC 00268E4C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8026BEF0 00268E50 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8026BEF4 00268E54 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) -/* 8026BEF8 00268E58 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) -/* 8026BEFC 00268E5C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026BF00 00268E60 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) -/* 8026BF04 00268E64 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) -/* 8026BF08 00268E68 98 A6 80 00 */ stb r5, 0xCC008000@l(r6) -/* 8026BF0C 00268E6C 98 66 80 00 */ stb r3, 0xCC008000@l(r6) -/* 8026BF10 00268E70 41 82 00 08 */ beq lbl_8026BF18 -/* 8026BF14 00268E74 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026BF18: -/* 8026BF18 00268E78 FC 60 E8 90 */ fmr f3, f29 -/* 8026BF1C 00268E7C 2C 00 00 00 */ cmpwi r0, 0 -/* 8026BF20 00268E80 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026BF24 00268E84 7C 03 03 78 */ mr r3, r0 -/* 8026BF28 00268E88 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026BF2C 00268E8C 38 80 00 FF */ li r4, 0xff -/* 8026BF30 00268E90 38 C0 00 00 */ li r6, 0 -/* 8026BF34 00268E94 38 A0 00 3F */ li r5, 0x3f -/* 8026BF38 00268E98 40 81 01 3C */ ble lbl_8026C074 -/* 8026BF3C 00268E9C 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f -/* 8026BF40 00268EA0 7C 09 03 A6 */ mtctr r0 -/* 8026BF44 00268EA4 41 82 00 F0 */ beq lbl_8026C034 -lbl_8026BF48: -/* 8026BF48 00268EA8 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026BF4C 00268EAC EC 1E 10 2A */ fadds f0, f30, f2 -/* 8026BF50 00268EB0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026BF54 00268EB4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) -/* 8026BF58 00268EB8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026BF5C 00268EBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF60 00268EC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF64 00268EC4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026BF68 00268EC8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF6C 00268ECC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF70 00268ED0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF74 00268ED4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026BF78 00268ED8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026BF7C 00268EDC C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026BF80 00268EE0 EC 63 00 2A */ fadds f3, f3, f0 -/* 8026BF84 00268EE4 EC 1E 10 2A */ fadds f0, f30, f2 -/* 8026BF88 00268EE8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026BF8C 00268EEC D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) -/* 8026BF90 00268EF0 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026BF94 00268EF4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF98 00268EF8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BF9C 00268EFC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026BFA0 00268F00 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFA4 00268F04 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFA8 00268F08 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFAC 00268F0C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026BFB0 00268F10 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026BFB4 00268F14 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026BFB8 00268F18 EC 63 00 2A */ fadds f3, f3, f0 -/* 8026BFBC 00268F1C EC 1E 10 2A */ fadds f0, f30, f2 -/* 8026BFC0 00268F20 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026BFC4 00268F24 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) -/* 8026BFC8 00268F28 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026BFCC 00268F2C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFD0 00268F30 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFD4 00268F34 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026BFD8 00268F38 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFDC 00268F3C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFE0 00268F40 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026BFE4 00268F44 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026BFE8 00268F48 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026BFEC 00268F4C C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026BFF0 00268F50 EC 63 00 2A */ fadds f3, f3, f0 -/* 8026BFF4 00268F54 EC 1E 10 2A */ fadds f0, f30, f2 -/* 8026BFF8 00268F58 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026BFFC 00268F5C D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) -/* 8026C000 00268F60 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C004 00268F64 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C008 00268F68 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C00C 00268F6C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C010 00268F70 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C014 00268F74 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C018 00268F78 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C01C 00268F7C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C020 00268F80 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C024 00268F84 EC 63 00 2A */ fadds f3, f3, f0 -/* 8026C028 00268F88 42 00 FF 20 */ bdnz lbl_8026BF48 -/* 8026C02C 00268F8C 70 63 00 03 */ andi. r3, r3, 3 -/* 8026C030 00268F90 41 82 00 44 */ beq lbl_8026C074 -lbl_8026C034: -/* 8026C034 00268F94 7C 69 03 A6 */ mtctr r3 -lbl_8026C038: -/* 8026C038 00268F98 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C03C 00268F9C EC 1E 10 2A */ fadds f0, f30, f2 -/* 8026C040 00268FA0 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C044 00268FA4 D0 07 80 00 */ stfs f0, 0xCC008000@l(r7) -/* 8026C048 00268FA8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C04C 00268FAC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C050 00268FB0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C054 00268FB4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C058 00268FB8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C05C 00268FBC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C060 00268FC0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C064 00268FC4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C068 00268FC8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C06C 00268FCC EC 63 00 2A */ fadds f3, f3, f0 -/* 8026C070 00268FD0 42 00 FF C8 */ bdnz lbl_8026C038 -lbl_8026C074: -/* 8026C074 00268FD4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8026C078 00268FD8 38 60 00 01 */ li r3, 1 -/* 8026C07C 00268FDC 41 82 00 08 */ beq lbl_8026C084 -/* 8026C080 00268FE0 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026C084: -/* 8026C084 00268FE4 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C088 00268FE8 2C 03 00 00 */ cmpwi r3, 0 -/* 8026C08C 00268FEC C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026C090 00268FF0 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026C094 00268FF4 EC 7E 00 2A */ fadds f3, f30, f0 -/* 8026C098 00268FF8 38 80 00 FF */ li r4, 0xff -/* 8026C09C 00268FFC 38 C0 00 00 */ li r6, 0 -/* 8026C0A0 00269000 38 A0 00 3F */ li r5, 0x3f -/* 8026C0A4 00269004 40 81 01 3C */ ble lbl_8026C1E0 -/* 8026C0A8 00269008 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f -/* 8026C0AC 0026900C 7C 09 03 A6 */ mtctr r0 -/* 8026C0B0 00269010 41 82 00 F0 */ beq lbl_8026C1A0 -lbl_8026C0B4: -/* 8026C0B4 00269014 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C0B8 00269018 EC 5D 10 2A */ fadds f2, f29, f2 -/* 8026C0BC 0026901C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C0C0 00269020 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C0C4 00269024 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C0C8 00269028 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C0CC 0026902C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C0D0 00269030 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C0D4 00269034 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C0D8 00269038 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C0DC 0026903C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C0E0 00269040 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C0E4 00269044 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C0E8 00269048 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C0EC 0026904C EC 5D 10 2A */ fadds f2, f29, f2 -/* 8026C0F0 00269050 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026C0F4 00269054 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C0F8 00269058 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C0FC 0026905C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C100 00269060 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C104 00269064 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C108 00269068 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C10C 0026906C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C110 00269070 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C114 00269074 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C118 00269078 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C11C 0026907C C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C120 00269080 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C124 00269084 EC 5D 10 2A */ fadds f2, f29, f2 -/* 8026C128 00269088 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026C12C 0026908C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C130 00269090 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C134 00269094 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C138 00269098 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C13C 0026909C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C140 002690A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C144 002690A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C148 002690A8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C14C 002690AC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C150 002690B0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C154 002690B4 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C158 002690B8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C15C 002690BC EC 5D 10 2A */ fadds f2, f29, f2 -/* 8026C160 002690C0 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026C164 002690C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C168 002690C8 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C16C 002690CC D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C170 002690D0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C174 002690D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C178 002690D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C17C 002690DC 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C180 002690E0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C184 002690E4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C188 002690E8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C18C 002690EC C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C190 002690F0 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026C194 002690F4 42 00 FF 20 */ bdnz lbl_8026C0B4 -/* 8026C198 002690F8 70 63 00 03 */ andi. r3, r3, 3 -/* 8026C19C 002690FC 41 82 00 44 */ beq lbl_8026C1E0 -lbl_8026C1A0: -/* 8026C1A0 00269100 7C 69 03 A6 */ mtctr r3 -lbl_8026C1A4: -/* 8026C1A4 00269104 C0 56 00 14 */ lfs f2, 0x14(r22) -/* 8026C1A8 00269108 EC 5D 10 2A */ fadds f2, f29, f2 -/* 8026C1AC 0026910C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C1B0 00269110 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026C1B4 00269114 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C1B8 00269118 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C1BC 0026911C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C1C0 00269120 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C1C4 00269124 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C1C8 00269128 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C1CC 0026912C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C1D0 00269130 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C1D4 00269134 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C1D8 00269138 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8026C1DC 0026913C 42 00 FF C8 */ bdnz lbl_8026C1A4 -lbl_8026C1E0: -/* 8026C1E0 00269140 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8026C1E4 00269144 38 60 00 01 */ li r3, 1 -/* 8026C1E8 00269148 41 82 00 08 */ beq lbl_8026C1F0 -/* 8026C1EC 0026914C 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026C1F0: -/* 8026C1F0 00269150 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C1F4 00269154 2C 03 00 00 */ cmpwi r3, 0 -/* 8026C1F8 00269158 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026C1FC 0026915C 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026C200 00269160 EC 5D 00 2A */ fadds f2, f29, f0 -/* 8026C204 00269164 38 A0 00 00 */ li r5, 0 -/* 8026C208 00269168 38 80 00 FF */ li r4, 0xff -/* 8026C20C 0026916C 38 C0 00 3F */ li r6, 0x3f -/* 8026C210 00269170 40 81 01 14 */ ble lbl_8026C324 -/* 8026C214 00269174 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f -/* 8026C218 00269178 7C 09 03 A6 */ mtctr r0 -/* 8026C21C 0026917C 41 82 00 D0 */ beq lbl_8026C2EC -lbl_8026C220: -/* 8026C220 00269180 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C224 00269184 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) -/* 8026C228 00269188 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C22C 0026918C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C230 00269190 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C234 00269194 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C238 00269198 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C23C 0026919C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C240 002691A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C244 002691A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C248 002691A8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C24C 002691AC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026C250 002691B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C254 002691B4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) -/* 8026C258 002691B8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C25C 002691BC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C260 002691C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C264 002691C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C268 002691C8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C26C 002691CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C270 002691D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C274 002691D4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C278 002691D8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C27C 002691DC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026C280 002691E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C284 002691E4 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) -/* 8026C288 002691E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C28C 002691EC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C290 002691F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C294 002691F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C298 002691F8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C29C 002691FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2A0 00269200 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2A4 00269204 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C2A8 00269208 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C2AC 0026920C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026C2B0 00269210 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C2B4 00269214 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) -/* 8026C2B8 00269218 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C2BC 0026921C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2C0 00269220 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2C4 00269224 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C2C8 00269228 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2CC 0026922C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2D0 00269230 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C2D4 00269234 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C2D8 00269238 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C2DC 0026923C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026C2E0 00269240 42 00 FF 40 */ bdnz lbl_8026C220 -/* 8026C2E4 00269244 70 63 00 03 */ andi. r3, r3, 3 -/* 8026C2E8 00269248 41 82 00 3C */ beq lbl_8026C324 -lbl_8026C2EC: -/* 8026C2EC 0026924C 7C 69 03 A6 */ mtctr r3 -lbl_8026C2F0: -/* 8026C2F0 00269250 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C2F4 00269254 D3 C7 80 00 */ stfs f30, 0xCC008000@l(r7) -/* 8026C2F8 00269258 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C2FC 0026925C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C300 00269260 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C304 00269264 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C308 00269268 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C30C 0026926C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C310 00269270 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C314 00269274 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C318 00269278 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C31C 0026927C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026C320 00269280 42 00 FF D0 */ bdnz lbl_8026C2F0 -lbl_8026C324: -/* 8026C324 00269284 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8026C328 00269288 38 60 00 01 */ li r3, 1 -/* 8026C32C 0026928C 41 82 00 08 */ beq lbl_8026C334 -/* 8026C330 00269290 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -lbl_8026C334: -/* 8026C334 00269294 FC 40 F0 90 */ fmr f2, f30 -/* 8026C338 00269298 2C 03 00 00 */ cmpwi r3, 0 -/* 8026C33C 0026929C C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026C340 002692A0 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026C344 002692A4 38 A0 00 00 */ li r5, 0 -/* 8026C348 002692A8 38 80 00 FF */ li r4, 0xff -/* 8026C34C 002692AC 38 C0 00 3F */ li r6, 0x3f -/* 8026C350 002692B0 40 81 01 14 */ ble lbl_8026C464 -/* 8026C354 002692B4 54 60 F0 BF */ rlwinm. r0, r3, 0x1e, 2, 0x1f -/* 8026C358 002692B8 7C 09 03 A6 */ mtctr r0 -/* 8026C35C 002692BC 41 82 00 D0 */ beq lbl_8026C42C -lbl_8026C360: -/* 8026C360 002692C0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026C364 002692C4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C368 002692C8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C36C 002692CC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C370 002692D0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C374 002692D4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C378 002692D8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C37C 002692DC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C380 002692E0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C384 002692E4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C388 002692E8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C38C 002692EC EC 42 00 2A */ fadds f2, f2, f0 -/* 8026C390 002692F0 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026C394 002692F4 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C398 002692F8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C39C 002692FC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3A0 00269300 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3A4 00269304 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C3A8 00269308 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3AC 0026930C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3B0 00269310 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3B4 00269314 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C3B8 00269318 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C3BC 0026931C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026C3C0 00269320 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026C3C4 00269324 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C3C8 00269328 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C3CC 0026932C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3D0 00269330 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3D4 00269334 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C3D8 00269338 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3DC 0026933C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3E0 00269340 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C3E4 00269344 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C3E8 00269348 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C3EC 0026934C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026C3F0 00269350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026C3F4 00269354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C3F8 00269358 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C3FC 0026935C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C400 00269360 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C404 00269364 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C408 00269368 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C40C 0026936C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C410 00269370 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C414 00269374 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C418 00269378 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C41C 0026937C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026C420 00269380 42 00 FF 40 */ bdnz lbl_8026C360 -/* 8026C424 00269384 70 63 00 03 */ andi. r3, r3, 3 -/* 8026C428 00269388 41 82 00 3C */ beq lbl_8026C464 -lbl_8026C42C: -/* 8026C42C 0026938C 7C 69 03 A6 */ mtctr r3 -lbl_8026C430: -/* 8026C430 00269390 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026C434 00269394 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026C438 00269398 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026C43C 0026939C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C440 002693A0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C444 002693A4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026C448 002693A8 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C44C 002693AC 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C450 002693B0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026C454 002693B4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026C458 002693B8 C0 16 00 18 */ lfs f0, 0x18(r22) -/* 8026C45C 002693BC EC 42 00 2A */ fadds f2, f2, f0 -/* 8026C460 002693C0 42 00 FF D0 */ bdnz lbl_8026C430 -lbl_8026C464: -/* 8026C464 002693C4 C0 36 00 14 */ lfs f1, 0x14(r22) -/* 8026C468 002693C8 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8026C46C 002693CC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026C470 002693D0 38 80 00 00 */ li r4, 0 -/* 8026C474 002693D4 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8026C478 002693D8 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C47C 002693DC 38 60 00 3F */ li r3, 0x3f -/* 8026C480 002693E0 38 00 00 FF */ li r0, 0xff -/* 8026C484 002693E4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026C488 002693E8 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C48C 002693EC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C490 002693F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C494 002693F4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C498 002693F8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C49C 002693FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C4A0 00269400 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C4A4 00269404 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C4A8 00269408 48 09 C0 D9 */ bl End__3CGXFv -/* 8026C4AC 0026940C C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C4B0 00269410 3B F8 00 01 */ addi r31, r24, 1 -/* 8026C4B4 00269414 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C4B8 00269418 48 00 01 28 */ b lbl_8026C5E0 -lbl_8026C4BC: -/* 8026C4BC 0026941C 3B F8 00 01 */ addi r31, r24, 1 -/* 8026C4C0 00269420 48 00 00 08 */ b lbl_8026C4C8 -lbl_8026C4C4: -/* 8026C4C4 00269424 3B FF 00 01 */ addi r31, r31, 1 -lbl_8026C4C8: -/* 8026C4C8 00269428 7C 1F 20 00 */ cmpw r31, r4 -/* 8026C4CC 0026942C 40 80 00 20 */ bge lbl_8026C4EC -/* 8026C4D0 00269430 28 06 00 00 */ cmplwi r6, 0 -/* 8026C4D4 00269434 41 82 FF F0 */ beq lbl_8026C4C4 -/* 8026C4D8 00269438 41 82 00 14 */ beq lbl_8026C4EC -/* 8026C4DC 0026943C 7C 06 FA 14 */ add r0, r6, r31 -/* 8026C4E0 00269440 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8026C4E4 00269444 7C 00 07 75 */ extsb. r0, r0 -/* 8026C4E8 00269448 40 82 FF DC */ bne lbl_8026C4C4 -lbl_8026C4EC: -/* 8026C4EC 0026944C 7C 98 F8 50 */ subf r4, r24, r31 -/* 8026C4F0 00269450 38 60 00 98 */ li r3, 0x98 -/* 8026C4F4 00269454 3A E4 00 01 */ addi r23, r4, 1 -/* 8026C4F8 00269458 38 80 00 00 */ li r4, 0 -/* 8026C4FC 0026945C 56 E5 0C 3C */ rlwinm r5, r23, 1, 0x10, 0x1e -/* 8026C500 00269460 48 09 C0 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026C504 00269464 7E E6 BB 78 */ mr r6, r23 -/* 8026C508 00269468 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026C50C 0026946C 3C A0 CC 01 */ lis r5, 0xcc01 -/* 8026C510 00269470 7E E9 03 A6 */ mtctr r23 -/* 8026C514 00269474 2C 17 00 00 */ cmpwi r23, 0 -/* 8026C518 00269478 40 81 00 78 */ ble lbl_8026C590 -lbl_8026C51C: -/* 8026C51C 0026947C D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C520 00269480 38 80 00 00 */ li r4, 0 -/* 8026C524 00269484 38 60 00 3F */ li r3, 0x3f -/* 8026C528 00269488 38 00 00 FF */ li r0, 0xff -/* 8026C52C 0026948C D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) -/* 8026C530 00269490 38 C6 FF FF */ addi r6, r6, -1 -/* 8026C534 00269494 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026C538 00269498 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C53C 0026949C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C540 002694A0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C544 002694A4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C548 002694A8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C54C 002694AC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C550 002694B0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C554 002694B4 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C558 002694B8 EC 1E 00 2A */ fadds f0, f30, f0 -/* 8026C55C 002694BC D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C560 002694C0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C564 002694C4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026C568 002694C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C56C 002694CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C570 002694D0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C574 002694D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C578 002694D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C57C 002694DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C580 002694E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C584 002694E4 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C588 002694E8 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C58C 002694EC 42 00 FF 90 */ bdnz lbl_8026C51C -lbl_8026C590: -/* 8026C590 002694F0 48 09 BF F1 */ bl End__3CGXFv -/* 8026C594 002694F4 3B FF 00 01 */ addi r31, r31, 1 -/* 8026C598 002694F8 7C 1F E8 00 */ cmpw r31, r29 -/* 8026C59C 002694FC 40 82 00 44 */ bne lbl_8026C5E0 -/* 8026C5A0 00269500 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C5A4 00269504 3B FF FF FF */ addi r31, r31, -1 -/* 8026C5A8 00269508 EF BD 00 28 */ fsubs f29, f29, f0 -/* 8026C5AC 0026950C 48 00 00 34 */ b lbl_8026C5E0 -lbl_8026C5B0: -/* 8026C5B0 00269510 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C5B4 00269514 3B F8 00 01 */ addi r31, r24, 1 -/* 8026C5B8 00269518 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C5BC 0026951C 48 00 00 0C */ b lbl_8026C5C8 -lbl_8026C5C0: -/* 8026C5C0 00269520 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C5C4 00269524 3B FF 00 01 */ addi r31, r31, 1 -lbl_8026C5C8: -/* 8026C5C8 00269528 7C 1F E8 00 */ cmpw r31, r29 -/* 8026C5CC 0026952C 40 80 00 14 */ bge lbl_8026C5E0 -/* 8026C5D0 00269530 7C 06 FA 14 */ add r0, r6, r31 -/* 8026C5D4 00269534 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8026C5D8 00269538 7C 00 07 75 */ extsb. r0, r0 -/* 8026C5DC 0026953C 41 82 FF E4 */ beq lbl_8026C5C0 -lbl_8026C5E0: -/* 8026C5E0 00269540 7F F8 FB 78 */ mr r24, r31 -lbl_8026C5E4: -/* 8026C5E4 00269544 7C 18 E8 00 */ cmpw r24, r29 -/* 8026C5E8 00269548 41 80 F8 18 */ blt lbl_8026BE00 -/* 8026C5EC 0026954C C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C5F0 00269550 3B 7B FF FF */ addi r27, r27, -1 -/* 8026C5F4 00269554 A8 16 00 2A */ lha r0, 0x2a(r22) -/* 8026C5F8 00269558 EF DE 00 2A */ fadds f30, f30, f0 -/* 8026C5FC 0026955C 7F 9C 02 14 */ add r28, r28, r0 -lbl_8026C600: -/* 8026C600 00269560 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026C604 00269564 41 81 F7 D8 */ bgt lbl_8026BDDC -/* 8026C608 00269568 48 00 03 4C */ b lbl_8026C954 -lbl_8026C60C: -/* 8026C60C 0026956C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8026C610 00269570 40 82 00 10 */ bne lbl_8026C620 -/* 8026C614 00269574 80 16 00 30 */ lwz r0, 0x30(r22) -/* 8026C618 00269578 28 00 00 00 */ cmplwi r0, 0 -/* 8026C61C 0026957C 40 82 01 30 */ bne lbl_8026C74C -lbl_8026C620: -/* 8026C620 00269580 38 60 00 98 */ li r3, 0x98 -/* 8026C624 00269584 38 80 00 00 */ li r4, 0 -/* 8026C628 00269588 38 A0 00 04 */ li r5, 4 -/* 8026C62C 0026958C 48 09 BF 59 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026C630 00269590 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8026C634 00269594 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026C638 00269598 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) -/* 8026C63C 0026959C 38 80 00 00 */ li r4, 0 -/* 8026C640 002695A0 38 60 00 3F */ li r3, 0x3f -/* 8026C644 002695A4 38 00 00 FF */ li r0, 0xff -/* 8026C648 002695A8 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) -/* 8026C64C 002695AC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C650 002695B0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C654 002695B4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C658 002695B8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C65C 002695BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C660 002695C0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C664 002695C4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C668 002695C8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C66C 002695CC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C670 002695D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C674 002695D4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C678 002695D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C67C 002695DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C680 002695E0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C684 002695E4 D3 E5 80 00 */ stfs f31, 0xCC008000@l(r5) -/* 8026C688 002695E8 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) -/* 8026C68C 002695EC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C690 002695F0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C694 002695F4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C698 002695F8 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C69C 002695FC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6A0 00269600 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C6A4 00269604 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6A8 00269608 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C6AC 0026960C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6B0 00269610 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6B4 00269614 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6B8 00269618 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6BC 0026961C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6C0 00269620 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C6C4 00269624 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C6C8 00269628 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) -/* 8026C6CC 0026962C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C6D0 00269630 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6D4 00269634 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6D8 00269638 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C6DC 0026963C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6E0 00269640 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C6E4 00269644 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6E8 00269648 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C6EC 0026964C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6F0 00269650 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6F4 00269654 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6F8 00269658 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C6FC 0026965C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C700 00269660 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C704 00269664 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C708 00269668 D3 C5 80 00 */ stfs f30, 0xCC008000@l(r5) -/* 8026C70C 0026966C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C710 00269670 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C714 00269674 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C718 00269678 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C71C 0026967C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C720 00269680 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C724 00269684 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C728 00269688 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C72C 0026968C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C730 00269690 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C734 00269694 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C738 00269698 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C73C 0026969C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C740 002696A0 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C744 002696A4 48 09 BE 3D */ bl End__3CGXFv -/* 8026C748 002696A8 48 00 02 0C */ b lbl_8026C954 -lbl_8026C74C: -/* 8026C74C 002696AC 81 0D A5 74 */ lwz r8, lbl_805A9134@sda21(r13) -/* 8026C750 002696B0 38 69 FF FD */ addi r3, r9, -3 -/* 8026C754 002696B4 38 07 FF FD */ addi r0, r7, -3 -/* 8026C758 002696B8 A8 B6 00 2E */ lha r5, 0x2e(r22) -/* 8026C75C 002696BC 7C E3 43 D6 */ divw r7, r3, r8 -/* 8026C760 002696C0 A8 96 00 2A */ lha r4, 0x2a(r22) -/* 8026C764 002696C4 A8 D6 00 28 */ lha r6, 0x28(r22) -/* 8026C768 002696C8 7C 60 43 D6 */ divw r3, r0, r8 -/* 8026C76C 002696CC 3A E7 00 01 */ addi r23, r7, 1 -/* 8026C770 002696D0 7C 05 21 D6 */ mullw r0, r5, r4 -/* 8026C774 002696D4 3B 23 00 01 */ addi r25, r3, 1 -/* 8026C778 002696D8 7F 06 02 14 */ add r24, r6, r0 -/* 8026C77C 002696DC 48 00 01 80 */ b lbl_8026C8FC -lbl_8026C780: -/* 8026C780 002696E0 FF A0 F8 90 */ fmr f29, f31 -/* 8026C784 002696E4 38 80 00 00 */ li r4, 0 -/* 8026C788 002696E8 48 00 01 58 */ b lbl_8026C8E0 -lbl_8026C78C: -/* 8026C78C 002696EC 80 16 00 30 */ lwz r0, 0x30(r22) -/* 8026C790 002696F0 7C 78 02 14 */ add r3, r24, r0 -/* 8026C794 002696F4 7C 03 20 AE */ lbzx r0, r3, r4 -/* 8026C798 002696F8 7C 00 07 75 */ extsb. r0, r0 -/* 8026C79C 002696FC 41 82 01 0C */ beq lbl_8026C8A8 -/* 8026C7A0 00269700 3B 44 00 01 */ addi r26, r4, 1 -/* 8026C7A4 00269704 7C 63 D2 14 */ add r3, r3, r26 -/* 8026C7A8 00269708 48 00 00 0C */ b lbl_8026C7B4 -lbl_8026C7AC: -/* 8026C7AC 0026970C 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026C7B0 00269710 38 63 00 01 */ addi r3, r3, 1 -lbl_8026C7B4: -/* 8026C7B4 00269714 7C 1A B8 00 */ cmpw r26, r23 -/* 8026C7B8 00269718 40 80 00 10 */ bge lbl_8026C7C8 -/* 8026C7BC 0026971C 88 03 00 00 */ lbz r0, 0(r3) -/* 8026C7C0 00269720 7C 00 07 75 */ extsb. r0, r0 -/* 8026C7C4 00269724 40 82 FF E8 */ bne lbl_8026C7AC -lbl_8026C7C8: -/* 8026C7C8 00269728 7C 84 D0 50 */ subf r4, r4, r26 -/* 8026C7CC 0026972C 38 60 00 98 */ li r3, 0x98 -/* 8026C7D0 00269730 3B 64 00 01 */ addi r27, r4, 1 -/* 8026C7D4 00269734 38 80 00 00 */ li r4, 0 -/* 8026C7D8 00269738 57 65 0C 3C */ rlwinm r5, r27, 1, 0x10, 0x1e -/* 8026C7DC 0026973C 48 09 BD A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026C7E0 00269740 7F 66 DB 78 */ mr r6, r27 -/* 8026C7E4 00269744 C0 22 BB 90 */ lfs f1, lbl_805AD8B0@sda21(r2) -/* 8026C7E8 00269748 3C A0 CC 01 */ lis r5, 0xcc01 -/* 8026C7EC 0026974C 7F 69 03 A6 */ mtctr r27 -/* 8026C7F0 00269750 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026C7F4 00269754 40 81 00 A8 */ ble lbl_8026C89C -lbl_8026C7F8: -/* 8026C7F8 00269758 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C7FC 0026975C 38 80 00 00 */ li r4, 0 -/* 8026C800 00269760 38 60 00 3F */ li r3, 0x3f -/* 8026C804 00269764 38 00 00 FF */ li r0, 0xff -/* 8026C808 00269768 D3 85 80 00 */ stfs f28, 0xCC008000@l(r5) -/* 8026C80C 0026976C 38 C6 FF FF */ addi r6, r6, -1 -/* 8026C810 00269770 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026C814 00269774 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C818 00269778 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C81C 0026977C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C820 00269780 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C824 00269784 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C828 00269788 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C82C 0026978C 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C830 00269790 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C834 00269794 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C838 00269798 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C83C 0026979C 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C840 002697A0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C844 002697A4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C848 002697A8 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C84C 002697AC EC 1C 00 2A */ fadds f0, f28, f0 -/* 8026C850 002697B0 D3 A5 80 00 */ stfs f29, 0xCC008000@l(r5) -/* 8026C854 002697B4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026C858 002697B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026C85C 002697BC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C860 002697C0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C864 002697C4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C868 002697C8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C86C 002697CC 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C870 002697D0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C874 002697D4 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026C878 002697D8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C87C 002697DC 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C880 002697E0 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C884 002697E4 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C888 002697E8 98 85 80 00 */ stb r4, 0xCC008000@l(r5) -/* 8026C88C 002697EC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026C890 002697F0 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C894 002697F4 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C898 002697F8 42 00 FF 60 */ bdnz lbl_8026C7F8 -lbl_8026C89C: -/* 8026C89C 002697FC 48 09 BC E5 */ bl End__3CGXFv -/* 8026C8A0 00269800 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026C8A4 00269804 48 00 00 38 */ b lbl_8026C8DC -lbl_8026C8A8: -/* 8026C8A8 00269808 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C8AC 0026980C 3B 44 00 01 */ addi r26, r4, 1 -/* 8026C8B0 00269810 7C 63 D2 14 */ add r3, r3, r26 -/* 8026C8B4 00269814 EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C8B8 00269818 48 00 00 10 */ b lbl_8026C8C8 -lbl_8026C8BC: -/* 8026C8BC 0026981C EF BD 00 2A */ fadds f29, f29, f0 -/* 8026C8C0 00269820 3B 5A 00 01 */ addi r26, r26, 1 -/* 8026C8C4 00269824 38 63 00 01 */ addi r3, r3, 1 -lbl_8026C8C8: -/* 8026C8C8 00269828 7C 1A B8 00 */ cmpw r26, r23 -/* 8026C8CC 0026982C 40 80 00 10 */ bge lbl_8026C8DC -/* 8026C8D0 00269830 88 03 00 00 */ lbz r0, 0(r3) -/* 8026C8D4 00269834 7C 00 07 75 */ extsb. r0, r0 -/* 8026C8D8 00269838 41 82 FF E4 */ beq lbl_8026C8BC -lbl_8026C8DC: -/* 8026C8DC 0026983C 7F 44 D3 78 */ mr r4, r26 -lbl_8026C8E0: -/* 8026C8E0 00269840 7C 04 B8 00 */ cmpw r4, r23 -/* 8026C8E4 00269844 41 80 FE A8 */ blt lbl_8026C78C -/* 8026C8E8 00269848 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C8EC 0026984C 3B 39 FF FF */ addi r25, r25, -1 -/* 8026C8F0 00269850 A8 16 00 2A */ lha r0, 0x2a(r22) -/* 8026C8F4 00269854 EF 9C 00 2A */ fadds f28, f28, f0 -/* 8026C8F8 00269858 7F 18 02 14 */ add r24, r24, r0 -lbl_8026C8FC: -/* 8026C8FC 0026985C 2C 19 00 00 */ cmpwi r25, 0 -/* 8026C900 00269860 41 81 FE 80 */ bgt lbl_8026C780 -/* 8026C904 00269864 48 00 00 50 */ b lbl_8026C954 -lbl_8026C908: -/* 8026C908 00269868 C3 96 00 08 */ lfs f28, 8(r22) -/* 8026C90C 0026986C 3B 00 00 01 */ li r24, 1 -/* 8026C910 00269870 3E E0 E0 00 */ lis r23, 0xe000 -/* 8026C914 00269874 48 00 00 2C */ b lbl_8026C940 -lbl_8026C918: -/* 8026C918 00269878 FC 20 E0 90 */ fmr f1, f28 -/* 8026C91C 0026987C 7F 05 C3 78 */ mr r5, r24 -/* 8026C920 00269880 7E C6 B3 78 */ mr r6, r22 -/* 8026C924 00269884 38 77 00 A0 */ addi r3, r23, 0xa0 -/* 8026C928 00269888 38 97 00 40 */ addi r4, r23, 0x40 -/* 8026C92C 0026988C 48 00 0B C5 */ bl RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo -/* 8026C930 00269890 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8026C934 00269894 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026C938 00269898 EF 9C 00 2A */ fadds f28, f28, f0 -/* 8026C93C 0026989C 7F 18 02 14 */ add r24, r24, r0 -lbl_8026C940: -/* 8026C940 002698A0 88 16 00 01 */ lbz r0, 1(r22) -/* 8026C944 002698A4 7C 03 07 74 */ extsb r3, r0 -/* 8026C948 002698A8 38 03 FF FE */ addi r0, r3, -2 -/* 8026C94C 002698AC 7C 18 00 00 */ cmpw r24, r0 -/* 8026C950 002698B0 41 80 FF C8 */ blt lbl_8026C918 -lbl_8026C954: -/* 8026C954 002698B4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8026C958 002698B8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8026C95C 002698BC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8026C960 002698C0 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8026C964 002698C4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8026C968 002698C8 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8026C96C 002698CC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8026C970 002698D0 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8026C974 002698D4 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 8026C978 002698D8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8026C97C 002698DC 7C 08 03 A6 */ mtlr r0 -/* 8026C980 002698E0 38 21 00 80 */ addi r1, r1, 0x80 -/* 8026C984 002698E4 4E 80 00 20 */ blr - -.global ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo -ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo: -/* 8026C988 002698E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026C98C 002698EC 7C 08 02 A6 */ mflr r0 -/* 8026C990 002698F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026C994 002698F4 BF 41 00 08 */ stmw r26, 8(r1) -/* 8026C998 002698F8 7C 7A 1B 78 */ mr r26, r3 -/* 8026C99C 002698FC 7C 9B 23 78 */ mr r27, r4 -/* 8026C9A0 00269900 7C BF 2B 78 */ mr r31, r5 -/* 8026C9A4 00269904 7C DC 33 78 */ mr r28, r6 -/* 8026C9A8 00269908 7C FD 3B 78 */ mr r29, r7 -/* 8026C9AC 0026990C 38 60 00 00 */ li r3, 0 -/* 8026C9B0 00269910 48 11 25 15 */ bl LCQueueWait -/* 8026C9B4 00269914 3B DA 00 04 */ addi r30, r26, 4 -/* 8026C9B8 00269918 48 00 00 20 */ b lbl_8026C9D8 -lbl_8026C9BC: -/* 8026C9BC 0026991C 7F C3 F3 78 */ mr r3, r30 -/* 8026C9C0 00269920 7F 64 DB 78 */ mr r4, r27 -/* 8026C9C4 00269924 7F E5 FB 78 */ mr r5, r31 -/* 8026C9C8 00269928 7F 86 E3 78 */ mr r6, r28 -/* 8026C9CC 0026992C 7F A7 EB 78 */ mr r7, r29 -/* 8026C9D0 00269930 48 00 02 E1 */ bl ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof -/* 8026C9D4 00269934 3B DE 00 24 */ addi r30, r30, 0x24 -lbl_8026C9D8: -/* 8026C9D8 00269938 80 1A 00 00 */ lwz r0, 0(r26) -/* 8026C9DC 0026993C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8026C9E0 00269940 7C 7A 02 14 */ add r3, r26, r0 -/* 8026C9E4 00269944 38 03 00 04 */ addi r0, r3, 4 -/* 8026C9E8 00269948 7C 1E 00 40 */ cmplw r30, r0 -/* 8026C9EC 0026994C 40 82 FF D0 */ bne lbl_8026C9BC -/* 8026C9F0 00269950 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) -/* 8026C9F4 00269954 38 9F 00 01 */ addi r4, r31, 1 -/* 8026C9F8 00269958 2C 00 00 00 */ cmpwi r0, 0 -/* 8026C9FC 0026995C 7C 03 03 78 */ mr r3, r0 -/* 8026CA00 00269960 41 82 00 98 */ beq lbl_8026CA98 -/* 8026CA04 00269964 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026CA08 00269968 7C 09 03 A6 */ mtctr r0 -/* 8026CA0C 0026996C 41 82 00 74 */ beq lbl_8026CA80 -lbl_8026CA10: -/* 8026CA10 00269970 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CA14 00269974 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA18 00269978 98 04 00 00 */ stb r0, 0(r4) -/* 8026CA1C 0026997C 88 04 00 01 */ lbz r0, 1(r4) -/* 8026CA20 00269980 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA24 00269984 98 04 00 01 */ stb r0, 1(r4) -/* 8026CA28 00269988 88 04 00 02 */ lbz r0, 2(r4) -/* 8026CA2C 0026998C 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA30 00269990 98 04 00 02 */ stb r0, 2(r4) -/* 8026CA34 00269994 88 04 00 03 */ lbz r0, 3(r4) -/* 8026CA38 00269998 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA3C 0026999C 98 04 00 03 */ stb r0, 3(r4) -/* 8026CA40 002699A0 88 04 00 04 */ lbz r0, 4(r4) -/* 8026CA44 002699A4 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA48 002699A8 98 04 00 04 */ stb r0, 4(r4) -/* 8026CA4C 002699AC 88 04 00 05 */ lbz r0, 5(r4) -/* 8026CA50 002699B0 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA54 002699B4 98 04 00 05 */ stb r0, 5(r4) -/* 8026CA58 002699B8 88 04 00 06 */ lbz r0, 6(r4) -/* 8026CA5C 002699BC 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA60 002699C0 98 04 00 06 */ stb r0, 6(r4) -/* 8026CA64 002699C4 88 04 00 07 */ lbz r0, 7(r4) -/* 8026CA68 002699C8 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA6C 002699CC 98 04 00 07 */ stb r0, 7(r4) -/* 8026CA70 002699D0 38 84 00 08 */ addi r4, r4, 8 -/* 8026CA74 002699D4 42 00 FF 9C */ bdnz lbl_8026CA10 -/* 8026CA78 002699D8 70 63 00 07 */ andi. r3, r3, 7 -/* 8026CA7C 002699DC 41 82 00 1C */ beq lbl_8026CA98 -lbl_8026CA80: -/* 8026CA80 002699E0 7C 69 03 A6 */ mtctr r3 -lbl_8026CA84: -/* 8026CA84 002699E4 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CA88 002699E8 60 00 00 01 */ ori r0, r0, 1 -/* 8026CA8C 002699EC 98 04 00 00 */ stb r0, 0(r4) -/* 8026CA90 002699F0 38 84 00 01 */ addi r4, r4, 1 -/* 8026CA94 002699F4 42 00 FF F0 */ bdnz lbl_8026CA84 -lbl_8026CA98: -/* 8026CA98 002699F8 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) -/* 8026CA9C 002699FC 38 9F 00 09 */ addi r4, r31, 9 -/* 8026CAA0 00269A00 2C 00 00 00 */ cmpwi r0, 0 -/* 8026CAA4 00269A04 7C 03 03 78 */ mr r3, r0 -/* 8026CAA8 00269A08 41 82 00 98 */ beq lbl_8026CB40 -/* 8026CAAC 00269A0C 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026CAB0 00269A10 7C 09 03 A6 */ mtctr r0 -/* 8026CAB4 00269A14 41 82 00 74 */ beq lbl_8026CB28 -lbl_8026CAB8: -/* 8026CAB8 00269A18 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CABC 00269A1C 60 00 00 08 */ ori r0, r0, 8 -/* 8026CAC0 00269A20 98 04 00 00 */ stb r0, 0(r4) -/* 8026CAC4 00269A24 88 04 00 09 */ lbz r0, 9(r4) -/* 8026CAC8 00269A28 60 00 00 08 */ ori r0, r0, 8 -/* 8026CACC 00269A2C 98 04 00 09 */ stb r0, 9(r4) -/* 8026CAD0 00269A30 88 04 00 12 */ lbz r0, 0x12(r4) -/* 8026CAD4 00269A34 60 00 00 08 */ ori r0, r0, 8 -/* 8026CAD8 00269A38 98 04 00 12 */ stb r0, 0x12(r4) -/* 8026CADC 00269A3C 88 04 00 1B */ lbz r0, 0x1b(r4) -/* 8026CAE0 00269A40 60 00 00 08 */ ori r0, r0, 8 -/* 8026CAE4 00269A44 98 04 00 1B */ stb r0, 0x1b(r4) -/* 8026CAE8 00269A48 88 04 00 24 */ lbz r0, 0x24(r4) -/* 8026CAEC 00269A4C 60 00 00 08 */ ori r0, r0, 8 -/* 8026CAF0 00269A50 98 04 00 24 */ stb r0, 0x24(r4) -/* 8026CAF4 00269A54 88 04 00 2D */ lbz r0, 0x2d(r4) -/* 8026CAF8 00269A58 60 00 00 08 */ ori r0, r0, 8 -/* 8026CAFC 00269A5C 98 04 00 2D */ stb r0, 0x2d(r4) -/* 8026CB00 00269A60 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026CB04 00269A64 60 00 00 08 */ ori r0, r0, 8 -/* 8026CB08 00269A68 98 04 00 36 */ stb r0, 0x36(r4) -/* 8026CB0C 00269A6C 88 04 00 3F */ lbz r0, 0x3f(r4) -/* 8026CB10 00269A70 60 00 00 08 */ ori r0, r0, 8 -/* 8026CB14 00269A74 98 04 00 3F */ stb r0, 0x3f(r4) -/* 8026CB18 00269A78 38 84 00 48 */ addi r4, r4, 0x48 -/* 8026CB1C 00269A7C 42 00 FF 9C */ bdnz lbl_8026CAB8 -/* 8026CB20 00269A80 70 63 00 07 */ andi. r3, r3, 7 -/* 8026CB24 00269A84 41 82 00 1C */ beq lbl_8026CB40 -lbl_8026CB28: -/* 8026CB28 00269A88 7C 69 03 A6 */ mtctr r3 -lbl_8026CB2C: -/* 8026CB2C 00269A8C 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CB30 00269A90 60 00 00 08 */ ori r0, r0, 8 -/* 8026CB34 00269A94 98 04 00 00 */ stb r0, 0(r4) -/* 8026CB38 00269A98 38 84 00 09 */ addi r4, r4, 9 -/* 8026CB3C 00269A9C 42 00 FF F0 */ bdnz lbl_8026CB2C -lbl_8026CB40: -/* 8026CB40 00269AA0 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) -/* 8026CB44 00269AA4 2C 00 00 00 */ cmpwi r0, 0 -/* 8026CB48 00269AA8 7C 80 FA 14 */ add r4, r0, r31 -/* 8026CB4C 00269AAC 7C 03 03 78 */ mr r3, r0 -/* 8026CB50 00269AB0 38 84 00 0A */ addi r4, r4, 0xa -/* 8026CB54 00269AB4 41 82 00 98 */ beq lbl_8026CBEC -/* 8026CB58 00269AB8 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026CB5C 00269ABC 7C 09 03 A6 */ mtctr r0 -/* 8026CB60 00269AC0 41 82 00 74 */ beq lbl_8026CBD4 -lbl_8026CB64: -/* 8026CB64 00269AC4 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CB68 00269AC8 60 00 00 04 */ ori r0, r0, 4 -/* 8026CB6C 00269ACC 98 04 00 00 */ stb r0, 0(r4) -/* 8026CB70 00269AD0 88 04 00 09 */ lbz r0, 9(r4) -/* 8026CB74 00269AD4 60 00 00 04 */ ori r0, r0, 4 -/* 8026CB78 00269AD8 98 04 00 09 */ stb r0, 9(r4) -/* 8026CB7C 00269ADC 88 04 00 12 */ lbz r0, 0x12(r4) -/* 8026CB80 00269AE0 60 00 00 04 */ ori r0, r0, 4 -/* 8026CB84 00269AE4 98 04 00 12 */ stb r0, 0x12(r4) -/* 8026CB88 00269AE8 88 04 00 1B */ lbz r0, 0x1b(r4) -/* 8026CB8C 00269AEC 60 00 00 04 */ ori r0, r0, 4 -/* 8026CB90 00269AF0 98 04 00 1B */ stb r0, 0x1b(r4) -/* 8026CB94 00269AF4 88 04 00 24 */ lbz r0, 0x24(r4) -/* 8026CB98 00269AF8 60 00 00 04 */ ori r0, r0, 4 -/* 8026CB9C 00269AFC 98 04 00 24 */ stb r0, 0x24(r4) -/* 8026CBA0 00269B00 88 04 00 2D */ lbz r0, 0x2d(r4) -/* 8026CBA4 00269B04 60 00 00 04 */ ori r0, r0, 4 -/* 8026CBA8 00269B08 98 04 00 2D */ stb r0, 0x2d(r4) -/* 8026CBAC 00269B0C 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026CBB0 00269B10 60 00 00 04 */ ori r0, r0, 4 -/* 8026CBB4 00269B14 98 04 00 36 */ stb r0, 0x36(r4) -/* 8026CBB8 00269B18 88 04 00 3F */ lbz r0, 0x3f(r4) -/* 8026CBBC 00269B1C 60 00 00 04 */ ori r0, r0, 4 -/* 8026CBC0 00269B20 98 04 00 3F */ stb r0, 0x3f(r4) -/* 8026CBC4 00269B24 38 84 00 48 */ addi r4, r4, 0x48 -/* 8026CBC8 00269B28 42 00 FF 9C */ bdnz lbl_8026CB64 -/* 8026CBCC 00269B2C 70 63 00 07 */ andi. r3, r3, 7 -/* 8026CBD0 00269B30 41 82 00 1C */ beq lbl_8026CBEC -lbl_8026CBD4: -/* 8026CBD4 00269B34 7C 69 03 A6 */ mtctr r3 -lbl_8026CBD8: -/* 8026CBD8 00269B38 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CBDC 00269B3C 60 00 00 04 */ ori r0, r0, 4 -/* 8026CBE0 00269B40 98 04 00 00 */ stb r0, 0(r4) -/* 8026CBE4 00269B44 38 84 00 09 */ addi r4, r4, 9 -/* 8026CBE8 00269B48 42 00 FF F0 */ bdnz lbl_8026CBD8 -lbl_8026CBEC: -/* 8026CBEC 00269B4C 80 6D A5 70 */ lwz r3, lbl_805A9130@sda21(r13) -/* 8026CBF0 00269B50 38 03 00 01 */ addi r0, r3, 1 -/* 8026CBF4 00269B54 2C 03 00 00 */ cmpwi r3, 0 -/* 8026CBF8 00269B58 1C 80 00 09 */ mulli r4, r0, 9 -/* 8026CBFC 00269B5C 38 84 00 01 */ addi r4, r4, 1 -/* 8026CC00 00269B60 7C 9F 22 14 */ add r4, r31, r4 -/* 8026CC04 00269B64 41 82 00 98 */ beq lbl_8026CC9C -/* 8026CC08 00269B68 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 8026CC0C 00269B6C 7C 09 03 A6 */ mtctr r0 -/* 8026CC10 00269B70 41 82 00 74 */ beq lbl_8026CC84 -lbl_8026CC14: -/* 8026CC14 00269B74 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CC18 00269B78 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC1C 00269B7C 98 04 00 00 */ stb r0, 0(r4) -/* 8026CC20 00269B80 88 04 00 01 */ lbz r0, 1(r4) -/* 8026CC24 00269B84 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC28 00269B88 98 04 00 01 */ stb r0, 1(r4) -/* 8026CC2C 00269B8C 88 04 00 02 */ lbz r0, 2(r4) -/* 8026CC30 00269B90 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC34 00269B94 98 04 00 02 */ stb r0, 2(r4) -/* 8026CC38 00269B98 88 04 00 03 */ lbz r0, 3(r4) -/* 8026CC3C 00269B9C 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC40 00269BA0 98 04 00 03 */ stb r0, 3(r4) -/* 8026CC44 00269BA4 88 04 00 04 */ lbz r0, 4(r4) -/* 8026CC48 00269BA8 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC4C 00269BAC 98 04 00 04 */ stb r0, 4(r4) -/* 8026CC50 00269BB0 88 04 00 05 */ lbz r0, 5(r4) -/* 8026CC54 00269BB4 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC58 00269BB8 98 04 00 05 */ stb r0, 5(r4) -/* 8026CC5C 00269BBC 88 04 00 06 */ lbz r0, 6(r4) -/* 8026CC60 00269BC0 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC64 00269BC4 98 04 00 06 */ stb r0, 6(r4) -/* 8026CC68 00269BC8 88 04 00 07 */ lbz r0, 7(r4) -/* 8026CC6C 00269BCC 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC70 00269BD0 98 04 00 07 */ stb r0, 7(r4) -/* 8026CC74 00269BD4 38 84 00 08 */ addi r4, r4, 8 -/* 8026CC78 00269BD8 42 00 FF 9C */ bdnz lbl_8026CC14 -/* 8026CC7C 00269BDC 70 63 00 07 */ andi. r3, r3, 7 -/* 8026CC80 00269BE0 41 82 00 1C */ beq lbl_8026CC9C -lbl_8026CC84: -/* 8026CC84 00269BE4 7C 69 03 A6 */ mtctr r3 -lbl_8026CC88: -/* 8026CC88 00269BE8 88 04 00 00 */ lbz r0, 0(r4) -/* 8026CC8C 00269BEC 60 00 00 02 */ ori r0, r0, 2 -/* 8026CC90 00269BF0 98 04 00 00 */ stb r0, 0(r4) -/* 8026CC94 00269BF4 38 84 00 01 */ addi r4, r4, 1 -/* 8026CC98 00269BF8 42 00 FF F0 */ bdnz lbl_8026CC88 -lbl_8026CC9C: -/* 8026CC9C 00269BFC BB 41 00 08 */ lmw r26, 8(r1) -/* 8026CCA0 00269C00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026CCA4 00269C04 7C 08 03 A6 */ mtlr r0 -/* 8026CCA8 00269C08 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026CCAC 00269C0C 4E 80 00 20 */ blr - -.global ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof -ApplyRipple__FRC7CRippleRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfof: -/* 8026CCB0 00269C10 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8026CCB4 00269C14 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 8026CCB8 00269C18 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8026CCBC 00269C1C DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8026CCC0 00269C20 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8026CCC4 00269C24 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 8026CCC8 00269C28 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 8026CCCC 00269C2C DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 8026CCD0 00269C30 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 8026CCD4 00269C34 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 8026CCD8 00269C38 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 8026CCDC 00269C3C DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 8026CCE0 00269C40 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 8026CCE4 00269C44 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 8026CCE8 00269C48 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 8026CCEC 00269C4C DB 01 00 B0 */ stfd f24, 0xb0(r1) -/* 8026CCF0 00269C50 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 -/* 8026CCF4 00269C54 DA E1 00 A0 */ stfd f23, 0xa0(r1) -/* 8026CCF8 00269C58 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 -/* 8026CCFC 00269C5C BD C1 00 58 */ stmw r14, 0x58(r1) -/* 8026CD00 00269C60 81 83 00 00 */ lwz r12, 0(r3) -/* 8026CD04 00269C64 3D 00 80 57 */ lis r8, lbl_8057194C@ha -/* 8026CD08 00269C68 3C 00 43 30 */ lis r0, 0x4330 -/* 8026CD0C 00269C6C C0 42 BB A8 */ lfs f2, lbl_805AD8C8@sda21(r2) -/* 8026CD10 00269C70 C0 0C 00 04 */ lfs f0, 4(r12) -/* 8026CD14 00269C74 39 08 19 4C */ addi r8, r8, lbl_8057194C@l -/* 8026CD18 00269C78 C1 6C 00 28 */ lfs f11, 0x28(r12) -/* 8026CD1C 00269C7C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026CD20 00269C80 ED A0 02 F2 */ fmuls f13, f0, f11 -/* 8026CD24 00269C84 C1 42 BB A4 */ lfs f10, lbl_805AD8C4@sda21(r2) -/* 8026CD28 00269C88 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) -/* 8026CD2C 00269C8C C0 0C 00 18 */ lfs f0, 0x18(r12) -/* 8026CD30 00269C90 ED 02 03 72 */ fmuls f8, f2, f13 -/* 8026CD34 00269C94 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) -/* 8026CD38 00269C98 ED 81 00 32 */ fmuls f12, f1, f0 -/* 8026CD3C 00269C9C C1 2C 00 1C */ lfs f9, 0x1c(r12) -/* 8026CD40 00269CA0 ED 4D 52 FC */ fnmsubs f10, f13, f11, f10 -/* 8026CD44 00269CA4 C1 62 BB A0 */ lfs f11, lbl_805AD8C0@sda21(r2) -/* 8026CD48 00269CA8 FC 20 40 1E */ fctiwz f1, f8 -/* 8026CD4C 00269CAC C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026CD50 00269CB0 ED 0A 02 72 */ fmuls f8, f10, f9 -/* 8026CD54 00269CB4 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8026CD58 00269CB8 ED 4B 02 32 */ fmuls f10, f11, f8 -/* 8026CD5C 00269CBC 82 41 00 1C */ lwz r18, 0x1c(r1) -/* 8026CD60 00269CC0 7C 08 90 AE */ lbzx r0, r8, r18 -/* 8026CD64 00269CC4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8026CD68 00269CC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026CD6C 00269CCC C8 21 00 20 */ lfd f1, 0x20(r1) -/* 8026CD70 00269CD0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026CD74 00269CD4 EC 2C 00 72 */ fmuls f1, f12, f1 -/* 8026CD78 00269CD8 ED 01 00 72 */ fmuls f8, f1, f1 -/* 8026CD7C 00269CDC FC 60 40 90 */ fmr f3, f8 -/* 8026CD80 00269CE0 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 8026CD84 00269CE4 40 82 00 08 */ bne lbl_8026CD8C -/* 8026CD88 00269CE8 48 00 00 10 */ b lbl_8026CD98 -lbl_8026CD8C: -/* 8026CD8C 00269CEC 10 00 18 34 */ ps_rsqrte f0, f3 -/* 8026CD90 00269CF0 10 00 00 F2 */ ps_mul f0, f0, f3 -/* 8026CD94 00269CF4 FC 60 00 90 */ fmr f3, f0 -lbl_8026CD98: -/* 8026CD98 00269CF8 3D 00 80 57 */ lis r8, lbl_8057198C@ha -/* 8026CD9C 00269CFC 3C 00 43 30 */ lis r0, 0x4330 -/* 8026CDA0 00269D00 39 08 19 8C */ addi r8, r8, lbl_8057198C@l -/* 8026CDA4 00269D04 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026CDA8 00269D08 7C 08 90 AE */ lbzx r0, r8, r18 -/* 8026CDAC 00269D0C C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) -/* 8026CDB0 00269D10 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8026CDB4 00269D14 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026CDB8 00269D18 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026CDBC 00269D1C C8 21 00 20 */ lfd f1, 0x20(r1) -/* 8026CDC0 00269D20 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026CDC4 00269D24 EC 2C 00 72 */ fmuls f1, f12, f1 -/* 8026CDC8 00269D28 ED 21 00 72 */ fmuls f9, f1, f1 -/* 8026CDCC 00269D2C FC 80 48 90 */ fmr f4, f9 -/* 8026CDD0 00269D30 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 8026CDD4 00269D34 40 82 00 08 */ bne lbl_8026CDDC -/* 8026CDD8 00269D38 48 00 00 10 */ b lbl_8026CDE8 -lbl_8026CDDC: -/* 8026CDDC 00269D3C 10 00 20 34 */ ps_rsqrte f0, f4 -/* 8026CDE0 00269D40 10 00 01 32 */ ps_mul f0, f0, f4 -/* 8026CDE4 00269D44 FC 80 00 90 */ fmr f4, f0 -lbl_8026CDE8: -/* 8026CDE8 00269D48 81 6D A5 74 */ lwz r11, lbl_805A9134@sda21(r13) -/* 8026CDEC 00269D4C 3D C0 80 57 */ lis r14, lbl_8057094C@ha -/* 8026CDF0 00269D50 81 03 00 1C */ lwz r8, 0x1c(r3) -/* 8026CDF4 00269D54 3A 2B FF FF */ addi r17, r11, -1 -/* 8026CDF8 00269D58 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8026CDFC 00269D5C 7D 08 8A 14 */ add r8, r8, r17 -/* 8026CE00 00269D60 81 E3 00 20 */ lwz r15, 0x20(r3) -/* 8026CE04 00269D64 7D 48 5B D6 */ divw r10, r8, r11 -/* 8026CE08 00269D68 81 23 00 18 */ lwz r9, 0x18(r3) -/* 8026CE0C 00269D6C 7D 00 8A 14 */ add r8, r0, r17 -/* 8026CE10 00269D70 82 07 00 30 */ lwz r16, 0x30(r7) -/* 8026CE14 00269D74 7D 29 8A 14 */ add r9, r9, r17 -/* 8026CE18 00269D78 C8 22 BB 98 */ lfd f1, lbl_805AD8B8@sda21(r2) -/* 8026CE1C 00269D7C 7D 08 5B D6 */ divw r8, r8, r11 -/* 8026CE20 00269D80 7E 8F 8A 14 */ add r20, r15, r17 -/* 8026CE24 00269D84 3A 2A FF FF */ addi r17, r10, -1 -/* 8026CE28 00269D88 C1 A7 00 14 */ lfs f13, 0x14(r7) -/* 8026CE2C 00269D8C 56 40 30 32 */ slwi r0, r18, 6 -/* 8026CE30 00269D90 AA 47 00 2E */ lha r18, 0x2e(r7) -/* 8026CE34 00269D94 6E 2F 80 00 */ xoris r15, r17, 0x8000 -/* 8026CE38 00269D98 91 01 00 3C */ stw r8, 0x3c(r1) -/* 8026CE3C 00269D9C 3D 00 43 30 */ lis r8, 0x4330 -/* 8026CE40 00269DA0 7E 32 8A 14 */ add r17, r18, r17 -/* 8026CE44 00269DA4 91 01 00 20 */ stw r8, 0x20(r1) -/* 8026CE48 00269DA8 7D 10 00 D0 */ neg r8, r16 -/* 8026CE4C 00269DAC 7D 08 83 78 */ or r8, r8, r16 -/* 8026CE50 00269DB0 3A 0E 09 4C */ addi r16, r14, lbl_8057094C@l -/* 8026CE54 00269DB4 91 E1 00 24 */ stw r15, 0x24(r1) -/* 8026CE58 00269DB8 7D 29 5B D6 */ divw r9, r9, r11 -/* 8026CE5C 00269DBC 81 C1 00 3C */ lwz r14, 0x3c(r1) -/* 8026CE60 00269DC0 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8026CE64 00269DC4 AA 47 00 2A */ lha r18, 0x2a(r7) -/* 8026CE68 00269DC8 39 EE FF FF */ addi r15, r14, -1 -/* 8026CE6C 00269DCC EC 00 08 28 */ fsubs f0, f0, f1 -/* 8026CE70 00269DD0 1E 6A 00 09 */ mulli r19, r10, 9 -/* 8026CE74 00269DD4 EC 00 03 72 */ fmuls f0, f0, f13 -/* 8026CE78 00269DD8 C0 42 BB 94 */ lfs f2, lbl_805AD8B4@sda21(r2) -/* 8026CE7C 00269DDC C1 8C 00 0C */ lfs f12, 0xc(r12) -/* 8026CE80 00269DE0 7D D3 72 14 */ add r14, r19, r14 -/* 8026CE84 00269DE4 C1 67 00 10 */ lfs f11, 0x10(r7) -/* 8026CE88 00269DE8 91 C1 00 34 */ stw r14, 0x34(r1) -/* 8026CE8C 00269DEC 7D D4 5B D6 */ divw r14, r20, r11 -/* 8026CE90 00269DF0 EC 02 03 7A */ fmadds f0, f2, f13, f0 -/* 8026CE94 00269DF4 A9 67 00 28 */ lha r11, 0x28(r7) -/* 8026CE98 00269DF8 ED 8C 58 28 */ fsubs f12, f12, f11 -/* 8026CE9C 00269DFC 91 21 00 40 */ stw r9, 0x40(r1) -/* 8026CEA0 00269E00 81 21 00 34 */ lwz r9, 0x34(r1) -/* 8026CEA4 00269E04 91 C1 00 44 */ stw r14, 0x44(r1) -/* 8026CEA8 00269E08 7D 25 4A 14 */ add r9, r5, r9 -/* 8026CEAC 00269E0C 81 C1 00 3C */ lwz r14, 0x3c(r1) -/* 8026CEB0 00269E10 ED 8C 00 28 */ fsubs f12, f12, f0 -/* 8026CEB4 00269E14 7F F2 89 D6 */ mullw r31, r18, r17 -/* 8026CEB8 00269E18 C1 A2 BB A8 */ lfs f13, lbl_805AD8C8@sda21(r2) -/* 8026CEBC 00269E1C 39 CE FF FF */ addi r14, r14, -1 -/* 8026CEC0 00269E20 C1 6C 00 2C */ lfs f11, 0x2c(r12) -/* 8026CEC4 00269E24 91 C1 00 30 */ stw r14, 0x30(r1) -/* 8026CEC8 00269E28 A9 C7 00 2C */ lha r14, 0x2c(r7) -/* 8026CECC 00269E2C 7F D2 71 D6 */ mullw r30, r18, r14 -/* 8026CED0 00269E30 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 8026CED4 00269E34 ED 6D 02 F2 */ fmuls f11, f13, f11 -/* 8026CED8 00269E38 91 41 00 38 */ stw r10, 0x38(r1) -/* 8026CEDC 00269E3C 7C AB 2A 14 */ add r5, r11, r5 -/* 8026CEE0 00269E40 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 8026CEE4 00269E44 7D 70 02 14 */ add r11, r16, r0 -/* 8026CEE8 00269E48 6D E0 80 00 */ xoris r0, r15, 0x8000 -/* 8026CEEC 00269E4C C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026CEF0 00269E50 55 0E 0F FE */ srwi r14, r8, 0x1f -/* 8026CEF4 00269E54 91 21 00 34 */ stw r9, 0x34(r1) -/* 8026CEF8 00269E58 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8026CEFC 00269E5C 90 01 00 48 */ stw r0, 0x48(r1) -/* 8026CF00 00269E60 48 00 05 8C */ b lbl_8026D48C -lbl_8026CF04: -/* 8026CF04 00269E64 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8026CF08 00269E68 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 8026CF0C 00269E6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026CF10 00269E70 3C 00 43 30 */ lis r0, 0x4330 -/* 8026CF14 00269E74 39 05 00 01 */ addi r8, r5, 1 -/* 8026CF18 00269E78 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8026CF1C 00269E7C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026CF20 00269E80 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8026CF24 00269E84 38 A5 00 01 */ addi r5, r5, 1 -/* 8026CF28 00269E88 C9 A1 00 20 */ lfd f13, 0x20(r1) -/* 8026CF2C 00269E8C 7D 00 40 50 */ subf r8, r0, r8 -/* 8026CF30 00269E90 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026CF34 00269E94 EE ED 08 28 */ fsubs f23, f13, f1 -/* 8026CF38 00269E98 C3 47 00 14 */ lfs f26, 0x14(r7) -/* 8026CF3C 00269E9C C3 2C 00 08 */ lfs f25, 8(r12) -/* 8026CF40 00269EA0 7F 25 01 D6 */ mullw r25, r5, r0 -/* 8026CF44 00269EA4 C3 07 00 0C */ lfs f24, 0xc(r7) -/* 8026CF48 00269EA8 ED AC 03 32 */ fmuls f13, f12, f12 -/* 8026CF4C 00269EAC EE F7 06 B2 */ fmuls f23, f23, f26 -/* 8026CF50 00269EB0 83 01 00 3C */ lwz r24, 0x3c(r1) -/* 8026CF54 00269EB4 EF 19 C0 28 */ fsubs f24, f25, f24 -/* 8026CF58 00269EB8 EE E2 BE BA */ fmadds f23, f2, f26, f23 -/* 8026CF5C 00269EBC 83 81 00 34 */ lwz r28, 0x34(r1) -/* 8026CF60 00269EC0 83 61 00 30 */ lwz r27, 0x30(r1) -/* 8026CF64 00269EC4 83 43 00 04 */ lwz r26, 4(r3) -/* 8026CF68 00269EC8 EF F8 B8 28 */ fsubs f31, f24, f23 -/* 8026CF6C 00269ECC 7D 09 03 A6 */ mtctr r8 -/* 8026CF70 00269ED0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8026CF74 00269ED4 7F 05 C3 78 */ mr r5, r24 -/* 8026CF78 00269ED8 7C 05 00 00 */ cmpw r5, r0 -/* 8026CF7C 00269EDC 41 81 04 E4 */ bgt lbl_8026D460 -lbl_8026CF80: -/* 8026CF80 00269EE0 EC BF 6F FA */ fmadds f5, f31, f31, f13 -/* 8026CF84 00269EE4 FC 00 28 00 */ fcmpu cr0, f0, f5 -/* 8026CF88 00269EE8 40 82 00 0C */ bne lbl_8026CF94 -/* 8026CF8C 00269EEC FF 00 28 90 */ fmr f24, f5 -/* 8026CF90 00269EF0 48 00 00 0C */ b lbl_8026CF9C -lbl_8026CF94: -/* 8026CF94 00269EF4 13 00 28 34 */ ps_rsqrte f24, f5 -/* 8026CF98 00269EF8 13 18 01 72 */ ps_mul f24, f24, f5 -lbl_8026CF9C: -/* 8026CF9C 00269EFC C3 27 00 1C */ lfs f25, 0x1c(r7) -/* 8026CFA0 00269F00 EE F8 C8 28 */ fsubs f23, f24, f25 -/* 8026CFA4 00269F04 FC 04 B8 40 */ fcmpo cr0, f4, f23 -/* 8026CFA8 00269F08 41 80 04 A0 */ blt lbl_8026D448 -/* 8026CFAC 00269F0C EE F8 C8 2A */ fadds f23, f24, f25 -/* 8026CFB0 00269F10 FC 03 B8 40 */ fcmpo cr0, f3, f23 -/* 8026CFB4 00269F14 41 81 04 94 */ bgt lbl_8026D448 -/* 8026CFB8 00269F18 3D 00 43 30 */ lis r8, 0x4330 -/* 8026CFBC 00269F1C 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8026CFC0 00269F20 6F A5 80 00 */ xoris r5, r29, 0x8000 -/* 8026CFC4 00269F24 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026CFC8 00269F28 CB 82 BB 98 */ lfd f28, lbl_805AD8B8@sda21(r2) -/* 8026CFCC 00269F2C 38 18 00 01 */ addi r0, r24, 1 -/* 8026CFD0 00269F30 91 01 00 20 */ stw r8, 0x20(r1) -/* 8026CFD4 00269F34 28 0E 00 00 */ cmplwi r14, 0 -/* 8026CFD8 00269F38 81 2D A5 74 */ lwz r9, lbl_805A9134@sda21(r13) -/* 8026CFDC 00269F3C 3A E0 00 00 */ li r23, 0 -/* 8026CFE0 00269F40 CA E1 00 20 */ lfd f23, 0x20(r1) -/* 8026CFE4 00269F44 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8026CFE8 00269F48 7E C0 49 D6 */ mullw r22, r0, r9 -/* 8026CFEC 00269F4C C3 4C 00 08 */ lfs f26, 8(r12) -/* 8026CFF0 00269F50 EF 77 E0 28 */ fsubs f27, f23, f28 -/* 8026CFF4 00269F54 91 01 00 18 */ stw r8, 0x18(r1) -/* 8026CFF8 00269F58 C2 E7 00 0C */ lfs f23, 0xc(r7) -/* 8026CFFC 00269F5C CB 21 00 18 */ lfd f25, 0x18(r1) -/* 8026D000 00269F60 C3 0C 00 0C */ lfs f24, 0xc(r12) -/* 8026D004 00269F64 EF 5A B8 28 */ fsubs f26, f26, f23 -/* 8026D008 00269F68 C2 E7 00 10 */ lfs f23, 0x10(r7) -/* 8026D00C 00269F6C EF 39 E0 28 */ fsubs f25, f25, f28 -/* 8026D010 00269F70 C3 87 00 18 */ lfs f28, 0x18(r7) -/* 8026D014 00269F74 EE F8 B8 28 */ fsubs f23, f24, f23 -/* 8026D018 00269F78 EF DC D6 FC */ fnmsubs f30, f28, f27, f26 -/* 8026D01C 00269F7C EF BC BE 7C */ fnmsubs f29, f28, f25, f23 -/* 8026D020 00269F80 41 82 00 40 */ beq lbl_8026D060 -/* 8026D024 00269F84 41 82 01 A0 */ beq lbl_8026D1C4 -/* 8026D028 00269F88 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026D02C 00269F8C 41 80 01 98 */ blt lbl_8026D1C4 -/* 8026D030 00269F90 7C 1F F0 00 */ cmpw r31, r30 -/* 8026D034 00269F94 40 80 01 90 */ bge lbl_8026D1C4 -/* 8026D038 00269F98 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026D03C 00269F9C 41 80 01 88 */ blt lbl_8026D1C4 -/* 8026D040 00269FA0 A8 07 00 2A */ lha r0, 0x2a(r7) -/* 8026D044 00269FA4 7C 1B 00 00 */ cmpw r27, r0 -/* 8026D048 00269FA8 40 80 01 7C */ bge lbl_8026D1C4 -/* 8026D04C 00269FAC 80 07 00 30 */ lwz r0, 0x30(r7) -/* 8026D050 00269FB0 7C 00 DA 14 */ add r0, r0, r27 -/* 8026D054 00269FB4 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 8026D058 00269FB8 7C 00 07 75 */ extsb. r0, r0 -/* 8026D05C 00269FBC 41 82 01 68 */ beq lbl_8026D1C4 -lbl_8026D060: -/* 8026D060 00269FC0 1C BD 01 68 */ mulli r5, r29, 0x168 -/* 8026D064 00269FC4 7F A9 EB 78 */ mr r9, r29 -/* 8026D068 00269FC8 3A 36 FF FF */ addi r17, r22, -1 -/* 8026D06C 00269FCC 57 40 18 38 */ slwi r0, r26, 3 -/* 8026D070 00269FD0 7D 04 2A 14 */ add r8, r4, r5 -/* 8026D074 00269FD4 39 F9 FF FF */ addi r15, r25, -1 -/* 8026D078 00269FD8 48 00 01 10 */ b lbl_8026D188 -lbl_8026D07C: -/* 8026D07C 00269FDC FF 60 F0 90 */ fmr f27, f30 -/* 8026D080 00269FE0 7F 4A D3 78 */ mr r10, r26 -/* 8026D084 00269FE4 EF 9D 07 72 */ fmuls f28, f29, f29 -/* 8026D088 00269FE8 7C A8 02 14 */ add r5, r8, r0 -/* 8026D08C 00269FEC 48 00 00 C4 */ b lbl_8026D150 -lbl_8026D090: -/* 8026D090 00269FF0 EE FB E6 FA */ fmadds f23, f27, f27, f28 -/* 8026D094 00269FF4 FC 17 40 40 */ fcmpo cr0, f23, f8 -/* 8026D098 00269FF8 41 80 00 A8 */ blt lbl_8026D140 -/* 8026D09C 00269FFC FC 17 48 40 */ fcmpo cr0, f23, f9 -/* 8026D0A0 0026A000 41 81 00 A0 */ bgt lbl_8026D140 -/* 8026D0A4 0026A004 FC C0 B8 90 */ fmr f6, f23 -/* 8026D0A8 0026A008 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) -/* 8026D0AC 0026A00C FC 17 30 00 */ fcmpu cr0, f23, f6 -/* 8026D0B0 0026A010 40 82 00 0C */ bne lbl_8026D0BC -/* 8026D0B4 0026A014 FF 00 30 90 */ fmr f24, f6 -/* 8026D0B8 0026A018 48 00 00 0C */ b lbl_8026D0C4 -lbl_8026D0BC: -/* 8026D0BC 0026A01C 13 00 30 34 */ ps_rsqrte f24, f6 -/* 8026D0C0 0026A020 13 18 01 B2 */ ps_mul f24, f24, f6 -lbl_8026D0C4: -/* 8026D0C4 0026A024 EE F8 02 F2 */ fmuls f23, f24, f11 -/* 8026D0C8 0026A028 FE E0 B8 1E */ fctiwz f23, f23 -/* 8026D0CC 0026A02C DA E1 00 20 */ stfd f23, 0x20(r1) -/* 8026D0D0 0026A030 82 01 00 24 */ lwz r16, 0x24(r1) -/* 8026D0D4 0026A034 7E 0B 80 AE */ lbzx r16, r11, r16 -/* 8026D0D8 0026A038 28 10 00 00 */ cmplwi r16, 0 -/* 8026D0DC 0026A03C 41 82 00 50 */ beq lbl_8026D12C -/* 8026D0E0 0026A040 C2 EC 00 38 */ lfs f23, 0x38(r12) -/* 8026D0E4 0026A044 56 10 06 3E */ clrlwi r16, r16, 0x18 -/* 8026D0E8 0026A048 6E 12 80 00 */ xoris r18, r16, 0x8000 -/* 8026D0EC 0026A04C CB 22 BB 98 */ lfd f25, lbl_805AD8B8@sda21(r2) -/* 8026D0F0 0026A050 EE F8 55 FA */ fmadds f23, f24, f23, f10 -/* 8026D0F4 0026A054 3E 00 43 30 */ lis r16, 0x4330 -/* 8026D0F8 0026A058 92 41 00 2C */ stw r18, 0x2c(r1) -/* 8026D0FC 0026A05C FF 40 B8 1E */ fctiwz f26, f23 -/* 8026D100 0026A060 92 01 00 28 */ stw r16, 0x28(r1) -/* 8026D104 0026A064 C2 EC 00 24 */ lfs f23, 0x24(r12) -/* 8026D108 0026A068 CB 01 00 28 */ lfd f24, 0x28(r1) -/* 8026D10C 0026A06C DB 41 00 18 */ stfd f26, 0x18(r1) -/* 8026D110 0026A070 EF 18 C8 28 */ fsubs f24, f24, f25 -/* 8026D114 0026A074 82 01 00 1C */ lwz r16, 0x1c(r1) -/* 8026D118 0026A078 EE F8 05 F2 */ fmuls f23, f24, f23 -/* 8026D11C 0026A07C 56 10 15 BA */ rlwinm r16, r16, 2, 0x16, 0x1d -/* 8026D120 0026A080 7F 06 84 2E */ lfsx f24, r6, r16 -/* 8026D124 0026A084 EF 18 05 F2 */ fmuls f24, f24, f23 -/* 8026D128 0026A088 48 00 00 08 */ b lbl_8026D130 -lbl_8026D12C: -/* 8026D12C 0026A08C C3 02 BB 90 */ lfs f24, lbl_805AD8B0@sda21(r2) -lbl_8026D130: -/* 8026D130 0026A090 C2 E5 00 00 */ lfs f23, 0(r5) -/* 8026D134 0026A094 3A E0 00 01 */ li r23, 1 -/* 8026D138 0026A098 EE F7 C0 2A */ fadds f23, f23, f24 -/* 8026D13C 0026A09C D2 E5 00 00 */ stfs f23, 0(r5) -lbl_8026D140: -/* 8026D140 0026A0A0 C2 E7 00 18 */ lfs f23, 0x18(r7) -/* 8026D144 0026A0A4 38 A5 00 08 */ addi r5, r5, 8 -/* 8026D148 0026A0A8 39 4A 00 01 */ addi r10, r10, 1 -/* 8026D14C 0026A0AC EF 7B B8 28 */ fsubs f27, f27, f23 -lbl_8026D150: -/* 8026D150 0026A0B0 82 03 00 08 */ lwz r16, 8(r3) -/* 8026D154 0026A0B4 92 21 00 14 */ stw r17, 0x14(r1) -/* 8026D158 0026A0B8 7C 10 88 00 */ cmpw r16, r17 -/* 8026D15C 0026A0BC 40 80 00 0C */ bge lbl_8026D168 -/* 8026D160 0026A0C0 3A 03 00 08 */ addi r16, r3, 8 -/* 8026D164 0026A0C4 48 00 00 08 */ b lbl_8026D16C -lbl_8026D168: -/* 8026D168 0026A0C8 3A 01 00 14 */ addi r16, r1, 0x14 -lbl_8026D16C: -/* 8026D16C 0026A0CC 82 10 00 00 */ lwz r16, 0(r16) -/* 8026D170 0026A0D0 7C 0A 80 00 */ cmpw r10, r16 -/* 8026D174 0026A0D4 40 81 FF 1C */ ble lbl_8026D090 -/* 8026D178 0026A0D8 C2 E7 00 18 */ lfs f23, 0x18(r7) -/* 8026D17C 0026A0DC 39 08 01 68 */ addi r8, r8, 0x168 -/* 8026D180 0026A0E0 39 29 00 01 */ addi r9, r9, 1 -/* 8026D184 0026A0E4 EF BD B8 28 */ fsubs f29, f29, f23 -lbl_8026D188: -/* 8026D188 0026A0E8 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 8026D18C 0026A0EC 91 E1 00 10 */ stw r15, 0x10(r1) -/* 8026D190 0026A0F0 7C 05 78 00 */ cmpw r5, r15 -/* 8026D194 0026A0F4 40 80 00 0C */ bge lbl_8026D1A0 -/* 8026D198 0026A0F8 38 A3 00 10 */ addi r5, r3, 0x10 -/* 8026D19C 0026A0FC 48 00 00 08 */ b lbl_8026D1A4 -lbl_8026D1A0: -/* 8026D1A0 0026A100 38 A1 00 10 */ addi r5, r1, 0x10 -lbl_8026D1A4: -/* 8026D1A4 0026A104 80 A5 00 00 */ lwz r5, 0(r5) -/* 8026D1A8 0026A108 7C 09 28 00 */ cmpw r9, r5 -/* 8026D1AC 0026A10C 40 81 FE D0 */ ble lbl_8026D07C -/* 8026D1B0 0026A110 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8026D1B4 0026A114 41 82 02 90 */ beq lbl_8026D444 -/* 8026D1B8 0026A118 38 00 00 1F */ li r0, 0x1f -/* 8026D1BC 0026A11C 98 1C 00 00 */ stb r0, 0(r28) -/* 8026D1C0 0026A120 48 00 02 84 */ b lbl_8026D444 -lbl_8026D1C4: -/* 8026D1C4 0026A124 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026D1C8 0026A128 7D 09 C8 50 */ subf r8, r9, r25 -/* 8026D1CC 0026A12C 7C A9 B0 50 */ subf r5, r9, r22 -/* 8026D1D0 0026A130 3A 99 FF FF */ addi r20, r25, -1 -/* 8026D1D4 0026A134 3A A8 00 01 */ addi r21, r8, 1 -/* 8026D1D8 0026A138 3A 56 FF FF */ addi r18, r22, -1 -/* 8026D1DC 0026A13C 3A 65 00 01 */ addi r19, r5, 1 -/* 8026D1E0 0026A140 41 80 00 30 */ blt lbl_8026D210 -/* 8026D1E4 0026A144 A8 07 00 2A */ lha r0, 0x2a(r7) -/* 8026D1E8 0026A148 7C 1B 00 00 */ cmpw r27, r0 -/* 8026D1EC 0026A14C 40 80 00 24 */ bge lbl_8026D210 -/* 8026D1F0 0026A150 7C 00 F8 51 */ subf. r0, r0, r31 -/* 8026D1F4 0026A154 41 80 00 1C */ blt lbl_8026D210 -/* 8026D1F8 0026A158 80 A7 00 30 */ lwz r5, 0x30(r7) -/* 8026D1FC 0026A15C 7C 1B 02 14 */ add r0, r27, r0 -/* 8026D200 0026A160 7C 05 00 AE */ lbzx r0, r5, r0 -/* 8026D204 0026A164 7C 00 07 75 */ extsb. r0, r0 -/* 8026D208 0026A168 40 82 00 08 */ bne lbl_8026D210 -/* 8026D20C 0026A16C 3A B5 FF FE */ addi r21, r21, -2 -lbl_8026D210: -/* 8026D210 0026A170 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026D214 0026A174 41 80 00 38 */ blt lbl_8026D24C -/* 8026D218 0026A178 A8 A7 00 2A */ lha r5, 0x2a(r7) -/* 8026D21C 0026A17C 7C 1B 28 00 */ cmpw r27, r5 -/* 8026D220 0026A180 40 80 00 2C */ bge lbl_8026D24C -/* 8026D224 0026A184 7C 1F 2A 14 */ add r0, r31, r5 -/* 8026D228 0026A188 7C 00 F0 00 */ cmpw r0, r30 -/* 8026D22C 0026A18C 40 80 00 20 */ bge lbl_8026D24C -/* 8026D230 0026A190 80 07 00 30 */ lwz r0, 0x30(r7) -/* 8026D234 0026A194 7C 00 DA 14 */ add r0, r0, r27 -/* 8026D238 0026A198 7C 00 2A 14 */ add r0, r0, r5 -/* 8026D23C 0026A19C 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 8026D240 0026A1A0 7C 00 07 75 */ extsb. r0, r0 -/* 8026D244 0026A1A4 40 82 00 08 */ bne lbl_8026D24C -/* 8026D248 0026A1A8 3A 94 00 02 */ addi r20, r20, 2 -lbl_8026D24C: -/* 8026D24C 0026A1AC 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026D250 0026A1B0 41 80 00 34 */ blt lbl_8026D284 -/* 8026D254 0026A1B4 A8 07 00 2C */ lha r0, 0x2c(r7) -/* 8026D258 0026A1B8 7C 1F 00 00 */ cmpw r31, r0 -/* 8026D25C 0026A1BC 40 80 00 28 */ bge lbl_8026D284 -/* 8026D260 0026A1C0 2C 1B 00 00 */ cmpwi r27, 0 -/* 8026D264 0026A1C4 40 81 00 20 */ ble lbl_8026D284 -/* 8026D268 0026A1C8 80 07 00 30 */ lwz r0, 0x30(r7) -/* 8026D26C 0026A1CC 7C A0 DA 14 */ add r5, r0, r27 -/* 8026D270 0026A1D0 38 05 FF FF */ addi r0, r5, -1 -/* 8026D274 0026A1D4 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 8026D278 0026A1D8 7C 00 07 75 */ extsb. r0, r0 -/* 8026D27C 0026A1DC 40 82 00 08 */ bne lbl_8026D284 -/* 8026D280 0026A1E0 3A 73 FF FE */ addi r19, r19, -2 -lbl_8026D284: -/* 8026D284 0026A1E4 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026D288 0026A1E8 41 80 00 3C */ blt lbl_8026D2C4 -/* 8026D28C 0026A1EC A8 07 00 2C */ lha r0, 0x2c(r7) -/* 8026D290 0026A1F0 7C 1F 00 00 */ cmpw r31, r0 -/* 8026D294 0026A1F4 40 80 00 30 */ bge lbl_8026D2C4 -/* 8026D298 0026A1F8 A8 07 00 2A */ lha r0, 0x2a(r7) -/* 8026D29C 0026A1FC 38 BB 00 01 */ addi r5, r27, 1 -/* 8026D2A0 0026A200 7C 05 00 00 */ cmpw r5, r0 -/* 8026D2A4 0026A204 40 80 00 20 */ bge lbl_8026D2C4 -/* 8026D2A8 0026A208 80 07 00 30 */ lwz r0, 0x30(r7) -/* 8026D2AC 0026A20C 7C A0 DA 14 */ add r5, r0, r27 -/* 8026D2B0 0026A210 38 05 00 01 */ addi r0, r5, 1 -/* 8026D2B4 0026A214 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 8026D2B8 0026A218 7C 00 07 75 */ extsb. r0, r0 -/* 8026D2BC 0026A21C 40 82 00 08 */ bne lbl_8026D2C4 -/* 8026D2C0 0026A220 3A 52 00 02 */ addi r18, r18, 2 -lbl_8026D2C4: -/* 8026D2C4 0026A224 1D 1D 01 68 */ mulli r8, r29, 0x168 -/* 8026D2C8 0026A228 7F B1 EB 78 */ mr r17, r29 -/* 8026D2CC 0026A22C 38 16 FF FF */ addi r0, r22, -1 -/* 8026D2D0 0026A230 57 45 18 38 */ slwi r5, r26, 3 -/* 8026D2D4 0026A234 7D 44 42 14 */ add r10, r4, r8 -/* 8026D2D8 0026A238 39 F9 FF FF */ addi r15, r25, -1 -/* 8026D2DC 0026A23C 48 00 01 30 */ b lbl_8026D40C -lbl_8026D2E0: -/* 8026D2E0 0026A240 FF 80 F0 90 */ fmr f28, f30 -/* 8026D2E4 0026A244 7F 50 D3 78 */ mr r16, r26 -/* 8026D2E8 0026A248 EF 7D 07 72 */ fmuls f27, f29, f29 -/* 8026D2EC 0026A24C 7D 2A 2A 14 */ add r9, r10, r5 -/* 8026D2F0 0026A250 48 00 00 E4 */ b lbl_8026D3D4 -lbl_8026D2F4: -/* 8026D2F4 0026A254 7C 11 A8 00 */ cmpw r17, r21 -/* 8026D2F8 0026A258 40 81 00 1C */ ble lbl_8026D314 -/* 8026D2FC 0026A25C 7C 11 A0 00 */ cmpw r17, r20 -/* 8026D300 0026A260 40 80 00 14 */ bge lbl_8026D314 -/* 8026D304 0026A264 7C 10 98 00 */ cmpw r16, r19 -/* 8026D308 0026A268 40 81 00 0C */ ble lbl_8026D314 -/* 8026D30C 0026A26C 7C 10 90 00 */ cmpw r16, r18 -/* 8026D310 0026A270 41 80 00 B4 */ blt lbl_8026D3C4 -lbl_8026D314: -/* 8026D314 0026A274 EE FC DF 3A */ fmadds f23, f28, f28, f27 -/* 8026D318 0026A278 FC 17 40 40 */ fcmpo cr0, f23, f8 -/* 8026D31C 0026A27C 41 80 00 A8 */ blt lbl_8026D3C4 -/* 8026D320 0026A280 FC 17 48 40 */ fcmpo cr0, f23, f9 -/* 8026D324 0026A284 41 81 00 A0 */ bgt lbl_8026D3C4 -/* 8026D328 0026A288 FC E0 B8 90 */ fmr f7, f23 -/* 8026D32C 0026A28C C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) -/* 8026D330 0026A290 FC 17 38 00 */ fcmpu cr0, f23, f7 -/* 8026D334 0026A294 40 82 00 0C */ bne lbl_8026D340 -/* 8026D338 0026A298 FF 00 38 90 */ fmr f24, f7 -/* 8026D33C 0026A29C 48 00 00 0C */ b lbl_8026D348 -lbl_8026D340: -/* 8026D340 0026A2A0 13 00 38 34 */ ps_rsqrte f24, f7 -/* 8026D344 0026A2A4 13 18 01 F2 */ ps_mul f24, f24, f7 -lbl_8026D348: -/* 8026D348 0026A2A8 EE F8 02 F2 */ fmuls f23, f24, f11 -/* 8026D34C 0026A2AC FE E0 B8 1E */ fctiwz f23, f23 -/* 8026D350 0026A2B0 DA E1 00 28 */ stfd f23, 0x28(r1) -/* 8026D354 0026A2B4 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 8026D358 0026A2B8 7D 0B 40 AE */ lbzx r8, r11, r8 -/* 8026D35C 0026A2BC 28 08 00 00 */ cmplwi r8, 0 -/* 8026D360 0026A2C0 41 82 00 50 */ beq lbl_8026D3B0 -/* 8026D364 0026A2C4 C2 EC 00 38 */ lfs f23, 0x38(r12) -/* 8026D368 0026A2C8 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8026D36C 0026A2CC 6D 08 80 00 */ xoris r8, r8, 0x8000 -/* 8026D370 0026A2D0 3E E0 43 30 */ lis r23, 0x4330 -/* 8026D374 0026A2D4 EE F8 55 FA */ fmadds f23, f24, f23, f10 -/* 8026D378 0026A2D8 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8026D37C 0026A2DC CB 02 BB 98 */ lfd f24, lbl_805AD8B8@sda21(r2) -/* 8026D380 0026A2E0 92 E1 00 18 */ stw r23, 0x18(r1) -/* 8026D384 0026A2E4 FE E0 B8 1E */ fctiwz f23, f23 -/* 8026D388 0026A2E8 C3 4C 00 24 */ lfs f26, 0x24(r12) -/* 8026D38C 0026A2EC CB 21 00 18 */ lfd f25, 0x18(r1) -/* 8026D390 0026A2F0 DA E1 00 20 */ stfd f23, 0x20(r1) -/* 8026D394 0026A2F4 EF 39 C0 28 */ fsubs f25, f25, f24 -/* 8026D398 0026A2F8 81 01 00 24 */ lwz r8, 0x24(r1) -/* 8026D39C 0026A2FC EF 59 06 B2 */ fmuls f26, f25, f26 -/* 8026D3A0 0026A300 55 08 15 BA */ rlwinm r8, r8, 2, 0x16, 0x1d -/* 8026D3A4 0026A304 7F 06 44 2E */ lfsx f24, r6, r8 -/* 8026D3A8 0026A308 EE F8 06 B2 */ fmuls f23, f24, f26 -/* 8026D3AC 0026A30C 48 00 00 08 */ b lbl_8026D3B4 -lbl_8026D3B0: -/* 8026D3B0 0026A310 C2 E2 BB 90 */ lfs f23, lbl_805AD8B0@sda21(r2) -lbl_8026D3B4: -/* 8026D3B4 0026A314 C3 49 00 00 */ lfs f26, 0(r9) -/* 8026D3B8 0026A318 3A E0 00 01 */ li r23, 1 -/* 8026D3BC 0026A31C EF 5A B8 2A */ fadds f26, f26, f23 -/* 8026D3C0 0026A320 D3 49 00 00 */ stfs f26, 0(r9) -lbl_8026D3C4: -/* 8026D3C4 0026A324 C3 47 00 18 */ lfs f26, 0x18(r7) -/* 8026D3C8 0026A328 39 29 00 08 */ addi r9, r9, 8 -/* 8026D3CC 0026A32C 3A 10 00 01 */ addi r16, r16, 1 -/* 8026D3D0 0026A330 EF 9C D0 28 */ fsubs f28, f28, f26 -lbl_8026D3D4: -/* 8026D3D4 0026A334 81 03 00 08 */ lwz r8, 8(r3) -/* 8026D3D8 0026A338 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026D3DC 0026A33C 7C 08 00 00 */ cmpw r8, r0 -/* 8026D3E0 0026A340 40 80 00 0C */ bge lbl_8026D3EC -/* 8026D3E4 0026A344 39 03 00 08 */ addi r8, r3, 8 -/* 8026D3E8 0026A348 48 00 00 08 */ b lbl_8026D3F0 -lbl_8026D3EC: -/* 8026D3EC 0026A34C 39 01 00 0C */ addi r8, r1, 0xc -lbl_8026D3F0: -/* 8026D3F0 0026A350 81 08 00 00 */ lwz r8, 0(r8) -/* 8026D3F4 0026A354 7C 10 40 00 */ cmpw r16, r8 -/* 8026D3F8 0026A358 40 81 FE FC */ ble lbl_8026D2F4 -/* 8026D3FC 0026A35C C3 67 00 18 */ lfs f27, 0x18(r7) -/* 8026D400 0026A360 39 4A 01 68 */ addi r10, r10, 0x168 -/* 8026D404 0026A364 3A 31 00 01 */ addi r17, r17, 1 -/* 8026D408 0026A368 EF BD D8 28 */ fsubs f29, f29, f27 -lbl_8026D40C: -/* 8026D40C 0026A36C 81 03 00 10 */ lwz r8, 0x10(r3) -/* 8026D410 0026A370 91 E1 00 08 */ stw r15, 8(r1) -/* 8026D414 0026A374 7C 08 78 00 */ cmpw r8, r15 -/* 8026D418 0026A378 40 80 00 0C */ bge lbl_8026D424 -/* 8026D41C 0026A37C 39 03 00 10 */ addi r8, r3, 0x10 -/* 8026D420 0026A380 48 00 00 08 */ b lbl_8026D428 -lbl_8026D424: -/* 8026D424 0026A384 39 01 00 08 */ addi r8, r1, 8 -lbl_8026D428: -/* 8026D428 0026A388 81 08 00 00 */ lwz r8, 0(r8) -/* 8026D42C 0026A38C 7C 11 40 00 */ cmpw r17, r8 -/* 8026D430 0026A390 40 81 FE B0 */ ble lbl_8026D2E0 -/* 8026D434 0026A394 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 8026D438 0026A398 41 82 00 0C */ beq lbl_8026D444 -/* 8026D43C 0026A39C 38 00 00 0F */ li r0, 0xf -/* 8026D440 0026A3A0 98 1C 00 00 */ stb r0, 0(r28) -lbl_8026D444: -/* 8026D444 0026A3A4 7E DA B3 78 */ mr r26, r22 -lbl_8026D448: -/* 8026D448 0026A3A8 C3 67 00 14 */ lfs f27, 0x14(r7) -/* 8026D44C 0026A3AC 3B 18 00 01 */ addi r24, r24, 1 -/* 8026D450 0026A3B0 3B 9C 00 01 */ addi r28, r28, 1 -/* 8026D454 0026A3B4 3B 7B 00 01 */ addi r27, r27, 1 -/* 8026D458 0026A3B8 EF FF D8 28 */ fsubs f31, f31, f27 -/* 8026D45C 0026A3BC 42 00 FB 24 */ bdnz lbl_8026CF80 -lbl_8026D460: -/* 8026D460 0026A3C0 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8026D464 0026A3C4 7F 3D CB 78 */ mr r29, r25 -/* 8026D468 0026A3C8 C1 A7 00 14 */ lfs f13, 0x14(r7) -/* 8026D46C 0026A3CC 38 A5 00 01 */ addi r5, r5, 1 -/* 8026D470 0026A3D0 A8 07 00 2A */ lha r0, 0x2a(r7) -/* 8026D474 0026A3D4 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8026D478 0026A3D8 ED 8C 68 28 */ fsubs f12, f12, f13 -/* 8026D47C 0026A3DC 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 8026D480 0026A3E0 7F FF 02 14 */ add r31, r31, r0 -/* 8026D484 0026A3E4 38 A5 00 09 */ addi r5, r5, 9 -/* 8026D488 0026A3E8 90 A1 00 34 */ stw r5, 0x34(r1) -lbl_8026D48C: -/* 8026D48C 0026A3EC 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8026D490 0026A3F0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026D494 0026A3F4 7C 05 00 00 */ cmpw r5, r0 -/* 8026D498 0026A3F8 40 81 FA 6C */ ble lbl_8026CF04 -/* 8026D49C 0026A3FC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8026D4A0 0026A400 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 8026D4A4 0026A404 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 8026D4A8 0026A408 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8026D4AC 0026A40C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 8026D4B0 0026A410 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 8026D4B4 0026A414 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 8026D4B8 0026A418 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 8026D4BC 0026A41C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 8026D4C0 0026A420 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 8026D4C4 0026A424 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 8026D4C8 0026A428 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 8026D4CC 0026A42C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 8026D4D0 0026A430 CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 8026D4D4 0026A434 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 -/* 8026D4D8 0026A438 CB 01 00 B0 */ lfd f24, 0xb0(r1) -/* 8026D4DC 0026A43C E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 -/* 8026D4E0 0026A440 CA E1 00 A0 */ lfd f23, 0xa0(r1) -/* 8026D4E4 0026A444 B9 C1 00 58 */ lmw r14, 0x58(r1) -/* 8026D4E8 0026A448 38 21 01 30 */ addi r1, r1, 0x130 -/* 8026D4EC 0026A44C 4E 80 00 20 */ blr - -.global RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo -RenderStripWithRipples__FRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSampleRA22_A22_CUcifRCQ220CFluidPlaneCPURender10SPatchInfo: -/* 8026D4F0 0026A450 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8026D4F4 0026A454 7C 08 02 A6 */ mflr r0 -/* 8026D4F8 0026A458 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8026D4FC 0026A45C DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8026D500 0026A460 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8026D504 0026A464 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8026D508 0026A468 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8026D50C 0026A46C DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8026D510 0026A470 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8026D514 0026A474 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8026D518 0026A478 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8026D51C 0026A47C DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8026D520 0026A480 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8026D524 0026A484 DB 41 00 60 */ stfd f26, 0x60(r1) -/* 8026D528 0026A488 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 -/* 8026D52C 0026A48C BD C1 00 18 */ stmw r14, 0x18(r1) -/* 8026D530 0026A490 80 ED A5 74 */ lwz r7, lbl_805A9134@sda21(r13) -/* 8026D534 0026A494 7C D5 33 78 */ mr r21, r6 -/* 8026D538 0026A498 88 C6 00 00 */ lbz r6, 0(r6) -/* 8026D53C 0026A49C 3D C0 43 30 */ lis r14, 0x4330 -/* 8026D540 0026A4A0 39 07 FF FF */ addi r8, r7, -1 -/* 8026D544 0026A4A4 54 E0 0F FE */ srwi r0, r7, 0x1f -/* 8026D548 0026A4A8 7D 05 42 14 */ add r8, r5, r8 -/* 8026D54C 0026A4AC 7C C6 07 74 */ extsb r6, r6 -/* 8026D550 0026A4B0 7D 88 3B D6 */ divw r12, r8, r7 -/* 8026D554 0026A4B4 7C 00 3A 14 */ add r0, r0, r7 -/* 8026D558 0026A4B8 7C C6 3A 14 */ add r6, r6, r7 -/* 8026D55C 0026A4BC 91 C1 00 08 */ stw r14, 8(r1) -/* 8026D560 0026A4C0 7C 0F 0E 70 */ srawi r15, r0, 1 -/* 8026D564 0026A4C4 CB E2 BB 98 */ lfd f31, lbl_805AD8B8@sda21(r2) -/* 8026D568 0026A4C8 39 66 FF FC */ addi r11, r6, -4 -/* 8026D56C 0026A4CC 6D E0 80 00 */ xoris r0, r15, 0x8000 -/* 8026D570 0026A4D0 1C C5 01 68 */ mulli r6, r5, 0x168 -/* 8026D574 0026A4D4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026D578 0026A4D8 A9 55 00 2E */ lha r10, 0x2e(r21) -/* 8026D57C 0026A4DC 39 2C FF FF */ addi r9, r12, -1 -/* 8026D580 0026A4E0 C8 01 00 08 */ lfd f0, 8(r1) -/* 8026D584 0026A4E4 FF A0 08 90 */ fmr f29, f1 -/* 8026D588 0026A4E8 1E 07 00 2D */ mulli r16, r7, 0x2d -/* 8026D58C 0026A4EC 3A E6 00 08 */ addi r23, r6, 8 -/* 8026D590 0026A4F0 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8026D594 0026A4F4 7D 2A 4A 14 */ add r9, r10, r9 -/* 8026D598 0026A4F8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026D59C 0026A4FC 7E E3 BA 14 */ add r23, r3, r23 -/* 8026D5A0 0026A500 A9 55 00 2A */ lha r10, 0x2a(r21) -/* 8026D5A4 0026A504 EF 60 00 72 */ fmuls f27, f0, f1 -/* 8026D5A8 0026A508 56 08 0F FE */ srwi r8, r16, 0x1f -/* 8026D5AC 0026A50C 7C 07 82 14 */ add r0, r7, r16 -/* 8026D5B0 0026A510 7D 08 82 14 */ add r8, r8, r16 -/* 8026D5B4 0026A514 A8 D5 00 28 */ lha r6, 0x28(r21) -/* 8026D5B8 0026A518 7C 6A 49 D6 */ mullw r3, r10, r9 -/* 8026D5BC 0026A51C 7D 08 0E 70 */ srawi r8, r8, 1 -/* 8026D5C0 0026A520 EF 9B E8 2A */ fadds f28, f27, f29 -/* 8026D5C4 0026A524 C3 D5 00 04 */ lfs f30, 4(r21) -/* 8026D5C8 0026A528 56 1D 18 38 */ slwi r29, r16, 3 -/* 8026D5CC 0026A52C 7D 0F 42 14 */ add r8, r15, r8 -/* 8026D5D0 0026A530 1C AC 00 09 */ mulli r5, r12, 9 -/* 8026D5D4 0026A534 55 1E 18 38 */ slwi r30, r8, 3 -/* 8026D5D8 0026A538 54 1C 18 38 */ slwi r28, r0, 3 -/* 8026D5DC 0026A53C 54 FB 18 38 */ slwi r27, r7, 3 -/* 8026D5E0 0026A540 7F EB 3B D6 */ divw r31, r11, r7 -/* 8026D5E4 0026A544 7F 06 1A 14 */ add r24, r6, r3 -/* 8026D5E8 0026A548 7D E4 2A 14 */ add r15, r4, r5 -/* 8026D5EC 0026A54C 3B 40 00 01 */ li r26, 1 -/* 8026D5F0 0026A550 3B 20 00 01 */ li r25, 1 -/* 8026D5F4 0026A554 48 00 17 38 */ b lbl_8026ED2C -lbl_8026D5F8: -/* 8026D5F8 0026A558 80 75 00 30 */ lwz r3, 0x30(r21) -/* 8026D5FC 0026A55C 3A C0 00 01 */ li r22, 1 -/* 8026D600 0026A560 28 03 00 00 */ cmplwi r3, 0 -/* 8026D604 0026A564 41 82 00 14 */ beq lbl_8026D618 -/* 8026D608 0026A568 41 82 16 EC */ beq lbl_8026ECF4 -/* 8026D60C 0026A56C 7C 03 C0 AE */ lbzx r0, r3, r24 -/* 8026D610 0026A570 7C 00 07 75 */ extsb. r0, r0 -/* 8026D614 0026A574 41 82 16 E0 */ beq lbl_8026ECF4 -lbl_8026D618: -/* 8026D618 0026A578 7D 0F D2 14 */ add r8, r15, r26 -/* 8026D61C 0026A57C 88 08 00 00 */ lbz r0, 0(r8) -/* 8026D620 0026A580 54 00 06 FE */ clrlwi r0, r0, 0x1b -/* 8026D624 0026A584 2C 00 00 1F */ cmpwi r0, 0x1f -/* 8026D628 0026A588 40 82 02 0C */ bne lbl_8026D834 -/* 8026D62C 0026A58C 38 88 00 01 */ addi r4, r8, 1 -/* 8026D630 0026A590 48 00 00 34 */ b lbl_8026D664 -lbl_8026D634: -/* 8026D634 0026A594 88 04 00 00 */ lbz r0, 0(r4) -/* 8026D638 0026A598 54 00 06 FE */ clrlwi r0, r0, 0x1b -/* 8026D63C 0026A59C 2C 00 00 1F */ cmpwi r0, 0x1f -/* 8026D640 0026A5A0 40 82 00 30 */ bne lbl_8026D670 -/* 8026D644 0026A5A4 28 03 00 00 */ cmplwi r3, 0 -/* 8026D648 0026A5A8 41 82 00 14 */ beq lbl_8026D65C -/* 8026D64C 0026A5AC 7C 18 B2 14 */ add r0, r24, r22 -/* 8026D650 0026A5B0 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8026D654 0026A5B4 7C 00 07 75 */ extsb. r0, r0 -/* 8026D658 0026A5B8 41 82 00 18 */ beq lbl_8026D670 -lbl_8026D65C: -/* 8026D65C 0026A5BC 38 84 00 01 */ addi r4, r4, 1 -/* 8026D660 0026A5C0 3A D6 00 01 */ addi r22, r22, 1 -lbl_8026D664: -/* 8026D664 0026A5C4 7C 1A B2 14 */ add r0, r26, r22 -/* 8026D668 0026A5C8 7C 00 F8 00 */ cmpw r0, r31 -/* 8026D66C 0026A5CC 40 81 FF C8 */ ble lbl_8026D634 -lbl_8026D670: -/* 8026D670 0026A5D0 82 0D A5 74 */ lwz r16, lbl_805A9134@sda21(r13) -/* 8026D674 0026A5D4 88 15 00 37 */ lbz r0, 0x37(r21) -/* 8026D678 0026A5D8 7C 76 81 D6 */ mullw r3, r22, r16 -/* 8026D67C 0026A5DC 7C 00 07 74 */ extsb r0, r0 -/* 8026D680 0026A5E0 2C 00 00 02 */ cmpwi r0, 2 -/* 8026D684 0026A5E4 38 83 00 01 */ addi r4, r3, 1 -/* 8026D688 0026A5E8 41 82 01 7C */ beq lbl_8026D804 -/* 8026D68C 0026A5EC 40 80 00 14 */ bge lbl_8026D6A0 -/* 8026D690 0026A5F0 2C 00 00 00 */ cmpwi r0, 0 -/* 8026D694 0026A5F4 41 82 00 18 */ beq lbl_8026D6AC -/* 8026D698 0026A5F8 40 80 01 54 */ bge lbl_8026D7EC -/* 8026D69C 0026A5FC 48 00 16 58 */ b lbl_8026ECF4 -lbl_8026D6A0: -/* 8026D6A0 0026A600 2C 00 00 04 */ cmpwi r0, 4 -/* 8026D6A4 0026A604 40 80 16 50 */ bge lbl_8026ECF4 -/* 8026D6A8 0026A608 48 00 01 74 */ b lbl_8026D81C -lbl_8026D6AC: -/* 8026D6AC 0026A60C FF 40 E8 90 */ fmr f26, f29 -/* 8026D6B0 0026A610 7E F3 BB 78 */ mr r19, r23 -/* 8026D6B4 0026A614 7C 91 23 78 */ mr r17, r4 -/* 8026D6B8 0026A618 54 92 08 3C */ slwi r18, r4, 1 -/* 8026D6BC 0026A61C 3E 80 CC 01 */ lis r20, 0xcc01 -/* 8026D6C0 0026A620 48 00 01 20 */ b lbl_8026D7E0 -lbl_8026D6C4: -/* 8026D6C4 0026A624 56 45 04 3E */ clrlwi r5, r18, 0x10 -/* 8026D6C8 0026A628 38 60 00 98 */ li r3, 0x98 -/* 8026D6CC 0026A62C 38 80 00 00 */ li r4, 0 -/* 8026D6D0 0026A630 48 09 AE B5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026D6D4 0026A634 C0 35 00 18 */ lfs f1, 0x18(r21) -/* 8026D6D8 0026A638 FC 00 F0 90 */ fmr f0, f30 -/* 8026D6DC 0026A63C 2C 11 00 00 */ cmpwi r17, 0 -/* 8026D6E0 0026A640 7E 64 9B 78 */ mr r4, r19 -/* 8026D6E4 0026A644 EC 7A 08 2A */ fadds f3, f26, f1 -/* 8026D6E8 0026A648 7E 23 8B 78 */ mr r3, r17 -/* 8026D6EC 0026A64C 41 82 00 E0 */ beq lbl_8026D7CC -/* 8026D6F0 0026A650 56 20 F0 BF */ rlwinm. r0, r17, 0x1e, 2, 0x1f -/* 8026D6F4 0026A654 7C 09 03 A6 */ mtctr r0 -/* 8026D6F8 0026A658 41 82 00 A4 */ beq lbl_8026D79C -lbl_8026D6FC: -/* 8026D6FC 0026A65C C0 44 00 00 */ lfs f2, 0(r4) -/* 8026D700 0026A660 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D704 0026A664 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8026D708 0026A668 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D70C 0026A66C C0 44 01 68 */ lfs f2, 0x168(r4) -/* 8026D710 0026A670 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D714 0026A674 EC 00 08 2A */ fadds f0, f0, f1 -/* 8026D718 0026A678 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) -/* 8026D71C 0026A67C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D720 0026A680 C0 44 00 08 */ lfs f2, 8(r4) -/* 8026D724 0026A684 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D728 0026A688 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8026D72C 0026A68C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D730 0026A690 C0 44 01 70 */ lfs f2, 0x170(r4) -/* 8026D734 0026A694 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D738 0026A698 EC 00 08 2A */ fadds f0, f0, f1 -/* 8026D73C 0026A69C D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) -/* 8026D740 0026A6A0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D744 0026A6A4 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 8026D748 0026A6A8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D74C 0026A6AC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8026D750 0026A6B0 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D754 0026A6B4 C0 44 01 78 */ lfs f2, 0x178(r4) -/* 8026D758 0026A6B8 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D75C 0026A6BC EC 00 08 2A */ fadds f0, f0, f1 -/* 8026D760 0026A6C0 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) -/* 8026D764 0026A6C4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D768 0026A6C8 C0 44 00 18 */ lfs f2, 0x18(r4) -/* 8026D76C 0026A6CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D770 0026A6D0 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8026D774 0026A6D4 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D778 0026A6D8 C0 44 01 80 */ lfs f2, 0x180(r4) -/* 8026D77C 0026A6DC 38 84 00 20 */ addi r4, r4, 0x20 -/* 8026D780 0026A6E0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D784 0026A6E4 EC 00 08 2A */ fadds f0, f0, f1 -/* 8026D788 0026A6E8 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) -/* 8026D78C 0026A6EC D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D790 0026A6F0 42 00 FF 6C */ bdnz lbl_8026D6FC -/* 8026D794 0026A6F4 70 63 00 03 */ andi. r3, r3, 3 -/* 8026D798 0026A6F8 41 82 00 34 */ beq lbl_8026D7CC -lbl_8026D79C: -/* 8026D79C 0026A6FC 7C 69 03 A6 */ mtctr r3 -lbl_8026D7A0: -/* 8026D7A0 0026A700 C0 44 00 00 */ lfs f2, 0(r4) -/* 8026D7A4 0026A704 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D7A8 0026A708 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8026D7AC 0026A70C D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D7B0 0026A710 C0 44 01 68 */ lfs f2, 0x168(r4) -/* 8026D7B4 0026A714 38 84 00 08 */ addi r4, r4, 8 -/* 8026D7B8 0026A718 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8026D7BC 0026A71C EC 00 08 2A */ fadds f0, f0, f1 -/* 8026D7C0 0026A720 D0 74 80 00 */ stfs f3, 0xCC008000@l(r20) -/* 8026D7C4 0026A724 D0 54 80 00 */ stfs f2, 0xCC008000@l(r20) -/* 8026D7C8 0026A728 42 00 FF D8 */ bdnz lbl_8026D7A0 -lbl_8026D7CC: -/* 8026D7CC 0026A72C 48 09 AD B5 */ bl End__3CGXFv -/* 8026D7D0 0026A730 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026D7D4 0026A734 3A 10 FF FF */ addi r16, r16, -1 -/* 8026D7D8 0026A738 3A 73 01 68 */ addi r19, r19, 0x168 -/* 8026D7DC 0026A73C EF 5A 00 2A */ fadds f26, f26, f0 -lbl_8026D7E0: -/* 8026D7E0 0026A740 2C 10 00 00 */ cmpwi r16, 0 -/* 8026D7E4 0026A744 41 81 FE E0 */ bgt lbl_8026D6C4 -/* 8026D7E8 0026A748 48 00 15 0C */ b lbl_8026ECF4 -lbl_8026D7EC: -/* 8026D7EC 0026A74C FC 20 F0 90 */ fmr f1, f30 -/* 8026D7F0 0026A750 7E E3 BB 78 */ mr r3, r23 -/* 8026D7F4 0026A754 FC 40 E8 90 */ fmr f2, f29 -/* 8026D7F8 0026A758 7E A5 AB 78 */ mr r5, r21 -/* 8026D7FC 0026A75C 48 00 1E C9 */ bl RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -/* 8026D800 0026A760 48 00 14 F4 */ b lbl_8026ECF4 -lbl_8026D804: -/* 8026D804 0026A764 FC 20 F0 90 */ fmr f1, f30 -/* 8026D808 0026A768 7E E3 BB 78 */ mr r3, r23 -/* 8026D80C 0026A76C FC 40 E8 90 */ fmr f2, f29 -/* 8026D810 0026A770 7E A5 AB 78 */ mr r5, r21 -/* 8026D814 0026A774 48 00 1D 35 */ bl RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -/* 8026D818 0026A778 48 00 14 DC */ b lbl_8026ECF4 -lbl_8026D81C: -/* 8026D81C 0026A77C FC 20 F0 90 */ fmr f1, f30 -/* 8026D820 0026A780 7E E3 BB 78 */ mr r3, r23 -/* 8026D824 0026A784 FC 40 E8 90 */ fmr f2, f29 -/* 8026D828 0026A788 7E A5 AB 78 */ mr r5, r21 -/* 8026D82C 0026A78C 48 00 1B 31 */ bl RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -/* 8026D830 0026A790 48 00 14 C4 */ b lbl_8026ECF4 -lbl_8026D834: -/* 8026D834 0026A794 88 C8 00 09 */ lbz r6, 9(r8) -/* 8026D838 0026A798 38 88 00 01 */ addi r4, r8, 1 -/* 8026D83C 0026A79C 88 08 FF FF */ lbz r0, -1(r8) -/* 8026D840 0026A7A0 38 A0 00 01 */ li r5, 1 -/* 8026D844 0026A7A4 54 D3 FF FF */ rlwinm. r19, r6, 0x1f, 0x1f, 0x1f -/* 8026D848 0026A7A8 88 E8 00 01 */ lbz r7, 1(r8) -/* 8026D84C 0026A7AC 88 C8 FF F7 */ lbz r6, -9(r8) -/* 8026D850 0026A7B0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8026D854 0026A7B4 7C 10 03 78 */ mr r16, r0 -/* 8026D858 0026A7B8 54 F2 F7 FE */ rlwinm r18, r7, 0x1e, 0x1f, 0x1f -/* 8026D85C 0026A7BC 54 D1 07 FE */ clrlwi r17, r6, 0x1f -/* 8026D860 0026A7C0 41 82 00 08 */ beq lbl_8026D868 -/* 8026D864 0026A7C4 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) -lbl_8026D868: -/* 8026D868 0026A7C8 28 12 00 00 */ cmplwi r18, 0 -/* 8026D86C 0026A7CC 38 C5 00 02 */ addi r6, r5, 2 -/* 8026D870 0026A7D0 38 00 00 01 */ li r0, 1 -/* 8026D874 0026A7D4 41 82 00 08 */ beq lbl_8026D87C -/* 8026D878 0026A7D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026D87C: -/* 8026D87C 0026A7DC 28 11 00 00 */ cmplwi r17, 0 -/* 8026D880 0026A7E0 7C C6 02 14 */ add r6, r6, r0 -/* 8026D884 0026A7E4 38 A0 00 01 */ li r5, 1 -/* 8026D888 0026A7E8 41 82 00 08 */ beq lbl_8026D890 -/* 8026D88C 0026A7EC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) -lbl_8026D890: -/* 8026D890 0026A7F0 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 8026D894 0026A7F4 7C C6 2A 14 */ add r6, r6, r5 -/* 8026D898 0026A7F8 38 00 00 01 */ li r0, 1 -/* 8026D89C 0026A7FC 41 82 00 08 */ beq lbl_8026D8A4 -/* 8026D8A0 0026A800 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026D8A4: -/* 8026D8A4 0026A804 7C C6 02 14 */ add r6, r6, r0 -/* 8026D8A8 0026A808 2C 06 00 06 */ cmpwi r6, 6 -/* 8026D8AC 0026A80C 40 82 03 20 */ bne lbl_8026DBCC -/* 8026D8B0 0026A810 88 15 00 37 */ lbz r0, 0x37(r21) -/* 8026D8B4 0026A814 7C 00 07 74 */ extsb r0, r0 -/* 8026D8B8 0026A818 2C 00 00 02 */ cmpwi r0, 2 -/* 8026D8BC 0026A81C 41 82 00 64 */ beq lbl_8026D920 -/* 8026D8C0 0026A820 2C 00 00 03 */ cmpwi r0, 3 -/* 8026D8C4 0026A824 40 82 03 08 */ bne lbl_8026DBCC -/* 8026D8C8 0026A828 48 00 00 58 */ b lbl_8026D920 -lbl_8026D8CC: -/* 8026D8CC 0026A82C 88 04 00 00 */ lbz r0, 0(r4) -/* 8026D8D0 0026A830 54 00 06 FE */ clrlwi r0, r0, 0x1b -/* 8026D8D4 0026A834 2C 00 00 1F */ cmpwi r0, 0x1f -/* 8026D8D8 0026A838 41 82 00 54 */ beq lbl_8026D92C -/* 8026D8DC 0026A83C 28 03 00 00 */ cmplwi r3, 0 -/* 8026D8E0 0026A840 41 82 00 14 */ beq lbl_8026D8F4 -/* 8026D8E4 0026A844 7C 18 B2 14 */ add r0, r24, r22 -/* 8026D8E8 0026A848 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8026D8EC 0026A84C 7C 00 07 75 */ extsb. r0, r0 -/* 8026D8F0 0026A850 41 82 00 3C */ beq lbl_8026D92C -lbl_8026D8F4: -/* 8026D8F4 0026A854 88 04 00 09 */ lbz r0, 9(r4) -/* 8026D8F8 0026A858 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8026D8FC 0026A85C 40 82 00 30 */ bne lbl_8026D92C -/* 8026D900 0026A860 88 04 00 01 */ lbz r0, 1(r4) -/* 8026D904 0026A864 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8026D908 0026A868 40 82 00 24 */ bne lbl_8026D92C -/* 8026D90C 0026A86C 88 04 FF F7 */ lbz r0, -9(r4) -/* 8026D910 0026A870 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8026D914 0026A874 40 82 00 18 */ bne lbl_8026D92C -/* 8026D918 0026A878 38 84 00 01 */ addi r4, r4, 1 -/* 8026D91C 0026A87C 3A D6 00 01 */ addi r22, r22, 1 -lbl_8026D920: -/* 8026D920 0026A880 7C 1A B2 14 */ add r0, r26, r22 -/* 8026D924 0026A884 7C 00 F8 00 */ cmpw r0, r31 -/* 8026D928 0026A888 40 81 FF A4 */ ble lbl_8026D8CC -lbl_8026D92C: -/* 8026D92C 0026A88C 3A 16 00 01 */ addi r16, r22, 1 -/* 8026D930 0026A890 38 60 00 98 */ li r3, 0x98 -/* 8026D934 0026A894 38 80 00 00 */ li r4, 0 -/* 8026D938 0026A898 56 05 0C 3C */ rlwinm r5, r16, 1, 0x10, 0x1e -/* 8026D93C 0026A89C 48 09 AC 49 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026D940 0026A8A0 88 15 00 37 */ lbz r0, 0x37(r21) -/* 8026D944 0026A8A4 7C 00 07 74 */ extsb r0, r0 -/* 8026D948 0026A8A8 2C 00 00 03 */ cmpwi r0, 3 -/* 8026D94C 0026A8AC 41 82 01 10 */ beq lbl_8026DA5C -/* 8026D950 0026A8B0 40 80 02 74 */ bge lbl_8026DBC4 -/* 8026D954 0026A8B4 2C 00 00 02 */ cmpwi r0, 2 -/* 8026D958 0026A8B8 40 80 00 08 */ bge lbl_8026D960 -/* 8026D95C 0026A8BC 48 00 02 68 */ b lbl_8026DBC4 -lbl_8026D960: -/* 8026D960 0026A8C0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026D964 0026A8C4 FC 40 F0 90 */ fmr f2, f30 -/* 8026D968 0026A8C8 7E E4 BB 78 */ mr r4, r23 -/* 8026D96C 0026A8CC 7E 06 83 78 */ mr r6, r16 -/* 8026D970 0026A8D0 1C A0 01 68 */ mulli r5, r0, 0x168 -/* 8026D974 0026A8D4 54 00 18 38 */ slwi r0, r0, 3 -/* 8026D978 0026A8D8 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026D97C 0026A8DC 7C B7 2A 14 */ add r5, r23, r5 -/* 8026D980 0026A8E0 7E 09 03 A6 */ mtctr r16 -/* 8026D984 0026A8E4 2C 10 00 00 */ cmpwi r16, 0 -/* 8026D988 0026A8E8 40 81 02 3C */ ble lbl_8026DBC4 -lbl_8026D98C: -/* 8026D98C 0026A8EC C0 04 00 00 */ lfs f0, 0(r4) -/* 8026D990 0026A8F0 39 40 00 FF */ li r10, 0xff -/* 8026D994 0026A8F4 38 C6 FF FF */ addi r6, r6, -1 -/* 8026D998 0026A8F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026D99C 0026A8FC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026D9A0 0026A900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026D9A4 0026A904 89 24 00 06 */ lbz r9, 6(r4) -/* 8026D9A8 0026A908 89 04 00 05 */ lbz r8, 5(r4) -/* 8026D9AC 0026A90C 88 E4 00 04 */ lbz r7, 4(r4) -/* 8026D9B0 0026A910 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026D9B4 0026A914 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026D9B8 0026A918 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026D9BC 0026A91C 89 64 00 07 */ lbz r11, 7(r4) -/* 8026D9C0 0026A920 7C 84 02 14 */ add r4, r4, r0 -/* 8026D9C4 0026A924 88 F5 00 36 */ lbz r7, 0x36(r21) -/* 8026D9C8 0026A928 89 15 00 35 */ lbz r8, 0x35(r21) -/* 8026D9CC 0026A92C 7D 69 3E 30 */ sraw r9, r11, r7 -/* 8026D9D0 0026A930 88 F5 00 34 */ lbz r7, 0x34(r21) -/* 8026D9D4 0026A934 7D 68 46 30 */ sraw r8, r11, r8 -/* 8026D9D8 0026A938 7D 67 3E 30 */ sraw r7, r11, r7 -/* 8026D9DC 0026A93C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026D9E0 0026A940 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026D9E4 0026A944 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026D9E8 0026A948 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026D9EC 0026A94C C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026D9F0 0026A950 C0 25 00 00 */ lfs f1, 0(r5) -/* 8026D9F4 0026A954 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8026D9F8 0026A958 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026D9FC 0026A95C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026DA00 0026A960 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026DA04 0026A964 89 25 00 06 */ lbz r9, 6(r5) -/* 8026DA08 0026A968 89 05 00 05 */ lbz r8, 5(r5) -/* 8026DA0C 0026A96C 88 E5 00 04 */ lbz r7, 4(r5) -/* 8026DA10 0026A970 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026DA14 0026A974 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DA18 0026A978 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DA1C 0026A97C 89 65 00 07 */ lbz r11, 7(r5) -/* 8026DA20 0026A980 7C A5 02 14 */ add r5, r5, r0 -/* 8026DA24 0026A984 88 F5 00 36 */ lbz r7, 0x36(r21) -/* 8026DA28 0026A988 89 15 00 35 */ lbz r8, 0x35(r21) -/* 8026DA2C 0026A98C 7D 69 3E 30 */ sraw r9, r11, r7 -/* 8026DA30 0026A990 88 F5 00 34 */ lbz r7, 0x34(r21) -/* 8026DA34 0026A994 7D 68 46 30 */ sraw r8, r11, r8 -/* 8026DA38 0026A998 7D 67 3E 30 */ sraw r7, r11, r7 -/* 8026DA3C 0026A99C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026DA40 0026A9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DA44 0026A9A4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DA48 0026A9A8 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DA4C 0026A9AC C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DA50 0026A9B0 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026DA54 0026A9B4 42 00 FF 38 */ bdnz lbl_8026D98C -/* 8026DA58 0026A9B8 48 00 01 6C */ b lbl_8026DBC4 -lbl_8026DA5C: -/* 8026DA5C 0026A9BC 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -/* 8026DA60 0026A9C0 FC 40 F0 90 */ fmr f2, f30 -/* 8026DA64 0026A9C4 7E E5 BB 78 */ mr r5, r23 -/* 8026DA68 0026A9C8 7E 07 83 78 */ mr r7, r16 -/* 8026DA6C 0026A9CC 1C 03 01 68 */ mulli r0, r3, 0x168 -/* 8026DA70 0026A9D0 54 64 18 38 */ slwi r4, r3, 3 -/* 8026DA74 0026A9D4 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026DA78 0026A9D8 7C D7 02 14 */ add r6, r23, r0 -/* 8026DA7C 0026A9DC 7E 09 03 A6 */ mtctr r16 -/* 8026DA80 0026A9E0 2C 10 00 00 */ cmpwi r16, 0 -/* 8026DA84 0026A9E4 40 81 01 40 */ ble lbl_8026DBC4 -lbl_8026DA88: -/* 8026DA88 0026A9E8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026DA8C 0026A9EC 38 00 00 FF */ li r0, 0xff -/* 8026DA90 0026A9F0 38 E7 FF FF */ addi r7, r7, -1 -/* 8026DA94 0026A9F4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026DA98 0026A9F8 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026DA9C 0026A9FC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026DAA0 0026AA00 89 45 00 06 */ lbz r10, 6(r5) -/* 8026DAA4 0026AA04 89 25 00 05 */ lbz r9, 5(r5) -/* 8026DAA8 0026AA08 89 05 00 04 */ lbz r8, 4(r5) -/* 8026DAAC 0026AA0C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DAB0 0026AA10 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DAB4 0026AA14 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DAB8 0026AA18 89 25 00 05 */ lbz r9, 5(r5) -/* 8026DABC 0026AA1C 89 45 00 06 */ lbz r10, 6(r5) -/* 8026DAC0 0026AA20 89 05 00 04 */ lbz r8, 4(r5) -/* 8026DAC4 0026AA24 7D 29 00 D0 */ neg r9, r9 -/* 8026DAC8 0026AA28 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DACC 0026AA2C 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DAD0 0026AA30 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DAD4 0026AA34 89 25 00 04 */ lbz r9, 4(r5) -/* 8026DAD8 0026AA38 89 45 00 05 */ lbz r10, 5(r5) -/* 8026DADC 0026AA3C 89 05 00 06 */ lbz r8, 6(r5) -/* 8026DAE0 0026AA40 7D 29 00 D0 */ neg r9, r9 -/* 8026DAE4 0026AA44 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DAE8 0026AA48 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DAEC 0026AA4C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DAF0 0026AA50 89 65 00 07 */ lbz r11, 7(r5) -/* 8026DAF4 0026AA54 7C A5 22 14 */ add r5, r5, r4 -/* 8026DAF8 0026AA58 89 15 00 36 */ lbz r8, 0x36(r21) -/* 8026DAFC 0026AA5C 89 35 00 35 */ lbz r9, 0x35(r21) -/* 8026DB00 0026AA60 7D 6A 46 30 */ sraw r10, r11, r8 -/* 8026DB04 0026AA64 89 15 00 34 */ lbz r8, 0x34(r21) -/* 8026DB08 0026AA68 7D 69 4E 30 */ sraw r9, r11, r9 -/* 8026DB0C 0026AA6C 7D 68 46 30 */ sraw r8, r11, r8 -/* 8026DB10 0026AA70 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DB14 0026AA74 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DB18 0026AA78 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DB1C 0026AA7C 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026DB20 0026AA80 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DB24 0026AA84 C0 26 00 00 */ lfs f1, 0(r6) -/* 8026DB28 0026AA88 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8026DB2C 0026AA8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026DB30 0026AA90 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026DB34 0026AA94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026DB38 0026AA98 89 46 00 06 */ lbz r10, 6(r6) -/* 8026DB3C 0026AA9C 89 26 00 05 */ lbz r9, 5(r6) -/* 8026DB40 0026AAA0 89 06 00 04 */ lbz r8, 4(r6) -/* 8026DB44 0026AAA4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DB48 0026AAA8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DB4C 0026AAAC 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DB50 0026AAB0 89 26 00 05 */ lbz r9, 5(r6) -/* 8026DB54 0026AAB4 89 46 00 06 */ lbz r10, 6(r6) -/* 8026DB58 0026AAB8 89 06 00 04 */ lbz r8, 4(r6) -/* 8026DB5C 0026AABC 7D 29 00 D0 */ neg r9, r9 -/* 8026DB60 0026AAC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DB64 0026AAC4 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DB68 0026AAC8 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DB6C 0026AACC 89 26 00 04 */ lbz r9, 4(r6) -/* 8026DB70 0026AAD0 89 46 00 05 */ lbz r10, 5(r6) -/* 8026DB74 0026AAD4 89 06 00 06 */ lbz r8, 6(r6) -/* 8026DB78 0026AAD8 7D 29 00 D0 */ neg r9, r9 -/* 8026DB7C 0026AADC 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DB80 0026AAE0 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DB84 0026AAE4 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DB88 0026AAE8 89 66 00 07 */ lbz r11, 7(r6) -/* 8026DB8C 0026AAEC 7C C6 22 14 */ add r6, r6, r4 -/* 8026DB90 0026AAF0 89 15 00 36 */ lbz r8, 0x36(r21) -/* 8026DB94 0026AAF4 89 35 00 35 */ lbz r9, 0x35(r21) -/* 8026DB98 0026AAF8 7D 6A 46 30 */ sraw r10, r11, r8 -/* 8026DB9C 0026AAFC 89 15 00 34 */ lbz r8, 0x34(r21) -/* 8026DBA0 0026AB00 7D 69 4E 30 */ sraw r9, r11, r9 -/* 8026DBA4 0026AB04 7D 68 46 30 */ sraw r8, r11, r8 -/* 8026DBA8 0026AB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026DBAC 0026AB0C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026DBB0 0026AB10 99 43 80 00 */ stb r10, 0xCC008000@l(r3) -/* 8026DBB4 0026AB14 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026DBB8 0026AB18 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DBBC 0026AB1C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026DBC0 0026AB20 42 00 FE C8 */ bdnz lbl_8026DA88 -lbl_8026DBC4: -/* 8026DBC4 0026AB24 48 09 A9 BD */ bl End__3CGXFv -/* 8026DBC8 0026AB28 48 00 11 2C */ b lbl_8026ECF4 -lbl_8026DBCC: -/* 8026DBCC 0026AB2C 54 C5 04 3E */ clrlwi r5, r6, 0x10 -/* 8026DBD0 0026AB30 38 60 00 A0 */ li r3, 0xa0 -/* 8026DBD4 0026AB34 38 80 00 00 */ li r4, 0 -/* 8026DBD8 0026AB38 48 09 A9 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026DBDC 0026AB3C 88 15 00 37 */ lbz r0, 0x37(r21) -/* 8026DBE0 0026AB40 7C 00 07 74 */ extsb r0, r0 -/* 8026DBE4 0026AB44 2C 00 00 02 */ cmpwi r0, 2 -/* 8026DBE8 0026AB48 41 82 09 04 */ beq lbl_8026E4EC -/* 8026DBEC 0026AB4C 40 80 00 14 */ bge lbl_8026DC00 -/* 8026DBF0 0026AB50 2C 00 00 00 */ cmpwi r0, 0 -/* 8026DBF4 0026AB54 41 82 00 18 */ beq lbl_8026DC0C -/* 8026DBF8 0026AB58 40 80 05 18 */ bge lbl_8026E110 -/* 8026DBFC 0026AB5C 48 00 10 F4 */ b lbl_8026ECF0 -lbl_8026DC00: -/* 8026DC00 0026AB60 2C 00 00 04 */ cmpwi r0, 4 -/* 8026DC04 0026AB64 40 80 10 EC */ bge lbl_8026ECF0 -/* 8026DC08 0026AB68 48 00 0D BC */ b lbl_8026E9C4 -lbl_8026DC0C: -/* 8026DC0C 0026AB6C EC 1B F0 2A */ fadds f0, f27, f30 -/* 8026DC10 0026AB70 7C 5E BC 2E */ lfsx f2, r30, r23 -/* 8026DC14 0026AB74 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8026DC18 0026AB78 FC 20 F0 90 */ fmr f1, f30 -/* 8026DC1C 0026AB7C 28 13 00 00 */ cmplwi r19, 0 -/* 8026DC20 0026AB80 7C B7 EA 14 */ add r5, r23, r29 -/* 8026DC24 0026AB84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026DC28 0026AB88 38 00 00 01 */ li r0, 1 -/* 8026DC2C 0026AB8C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8026DC30 0026AB90 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026DC34 0026AB94 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DC38 0026AB98 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026DC3C 0026AB9C 41 82 00 08 */ beq lbl_8026DC44 -/* 8026DC40 0026ABA0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026DC44: -/* 8026DC44 0026ABA4 2C 00 00 00 */ cmpwi r0, 0 -/* 8026DC48 0026ABA8 7C 03 03 78 */ mr r3, r0 -/* 8026DC4C 0026ABAC 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8026DC50 0026ABB0 40 81 01 04 */ ble lbl_8026DD54 -/* 8026DC54 0026ABB4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026DC58 0026ABB8 7C 09 03 A6 */ mtctr r0 -/* 8026DC5C 0026ABBC 41 82 00 D4 */ beq lbl_8026DD30 -lbl_8026DC60: -/* 8026DC60 0026ABC0 C0 65 00 00 */ lfs f3, 0(r5) -/* 8026DC64 0026ABC4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DC68 0026ABC8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DC6C 0026ABCC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DC70 0026ABD0 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DC74 0026ABD4 C0 65 00 08 */ lfs f3, 8(r5) -/* 8026DC78 0026ABD8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DC7C 0026ABDC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DC80 0026ABE0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DC84 0026ABE4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DC88 0026ABE8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DC8C 0026ABEC C0 65 00 10 */ lfs f3, 0x10(r5) -/* 8026DC90 0026ABF0 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DC94 0026ABF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DC98 0026ABF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DC9C 0026ABFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DCA0 0026AC00 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DCA4 0026AC04 C0 65 00 18 */ lfs f3, 0x18(r5) -/* 8026DCA8 0026AC08 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DCAC 0026AC0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DCB0 0026AC10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DCB4 0026AC14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DCB8 0026AC18 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DCBC 0026AC1C C0 65 00 20 */ lfs f3, 0x20(r5) -/* 8026DCC0 0026AC20 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DCC4 0026AC24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DCC8 0026AC28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DCCC 0026AC2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DCD0 0026AC30 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DCD4 0026AC34 C0 65 00 28 */ lfs f3, 0x28(r5) -/* 8026DCD8 0026AC38 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DCDC 0026AC3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DCE0 0026AC40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DCE4 0026AC44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DCE8 0026AC48 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DCEC 0026AC4C C0 65 00 30 */ lfs f3, 0x30(r5) -/* 8026DCF0 0026AC50 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DCF4 0026AC54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DCF8 0026AC58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DCFC 0026AC5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DD00 0026AC60 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DD04 0026AC64 C0 65 00 38 */ lfs f3, 0x38(r5) -/* 8026DD08 0026AC68 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8026DD0C 0026AC6C EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DD10 0026AC70 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DD14 0026AC74 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DD18 0026AC78 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DD1C 0026AC7C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DD20 0026AC80 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DD24 0026AC84 42 00 FF 3C */ bdnz lbl_8026DC60 -/* 8026DD28 0026AC88 70 63 00 07 */ andi. r3, r3, 7 -/* 8026DD2C 0026AC8C 41 82 00 28 */ beq lbl_8026DD54 -lbl_8026DD30: -/* 8026DD30 0026AC90 7C 69 03 A6 */ mtctr r3 -lbl_8026DD34: -/* 8026DD34 0026AC94 C0 65 00 00 */ lfs f3, 0(r5) -/* 8026DD38 0026AC98 38 A5 00 08 */ addi r5, r5, 8 -/* 8026DD3C 0026AC9C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DD40 0026ACA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DD44 0026ACA4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DD48 0026ACA8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DD4C 0026ACAC EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DD50 0026ACB0 42 00 FF E4 */ bdnz lbl_8026DD34 -lbl_8026DD54: -/* 8026DD54 0026ACB4 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DD58 0026ACB8 28 12 00 00 */ cmplwi r18, 0 -/* 8026DD5C 0026ACBC 7C B7 E2 14 */ add r5, r23, r28 -/* 8026DD60 0026ACC0 38 00 00 01 */ li r0, 1 -/* 8026DD64 0026ACC4 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026DD68 0026ACC8 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026DD6C 0026ACCC 41 82 00 08 */ beq lbl_8026DD74 -/* 8026DD70 0026ACD0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026DD74: -/* 8026DD74 0026ACD4 2C 00 00 00 */ cmpwi r0, 0 -/* 8026DD78 0026ACD8 7C 03 03 78 */ mr r3, r0 -/* 8026DD7C 0026ACDC 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8026DD80 0026ACE0 40 81 01 04 */ ble lbl_8026DE84 -/* 8026DD84 0026ACE4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026DD88 0026ACE8 7C 09 03 A6 */ mtctr r0 -/* 8026DD8C 0026ACEC 41 82 00 D4 */ beq lbl_8026DE60 -lbl_8026DD90: -/* 8026DD90 0026ACF0 C0 65 00 00 */ lfs f3, 0(r5) -/* 8026DD94 0026ACF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DD98 0026ACF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DD9C 0026ACFC D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DDA0 0026AD00 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DDA4 0026AD04 C0 65 FE 98 */ lfs f3, -0x168(r5) -/* 8026DDA8 0026AD08 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DDAC 0026AD0C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DDB0 0026AD10 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DDB4 0026AD14 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DDB8 0026AD18 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DDBC 0026AD1C C0 65 FD 30 */ lfs f3, -0x2d0(r5) -/* 8026DDC0 0026AD20 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DDC4 0026AD24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DDC8 0026AD28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DDCC 0026AD2C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DDD0 0026AD30 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DDD4 0026AD34 C0 65 FB C8 */ lfs f3, -0x438(r5) -/* 8026DDD8 0026AD38 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DDDC 0026AD3C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DDE0 0026AD40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DDE4 0026AD44 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DDE8 0026AD48 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DDEC 0026AD4C C0 65 FA 60 */ lfs f3, -0x5a0(r5) -/* 8026DDF0 0026AD50 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DDF4 0026AD54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DDF8 0026AD58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DDFC 0026AD5C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DE00 0026AD60 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DE04 0026AD64 C0 65 F8 F8 */ lfs f3, -0x708(r5) -/* 8026DE08 0026AD68 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DE0C 0026AD6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DE10 0026AD70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DE14 0026AD74 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DE18 0026AD78 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DE1C 0026AD7C C0 65 F7 90 */ lfs f3, -0x870(r5) -/* 8026DE20 0026AD80 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DE24 0026AD84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DE28 0026AD88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DE2C 0026AD8C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DE30 0026AD90 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DE34 0026AD94 C0 65 F6 28 */ lfs f3, -0x9d8(r5) -/* 8026DE38 0026AD98 38 A5 F4 C0 */ addi r5, r5, -2880 -/* 8026DE3C 0026AD9C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DE40 0026ADA0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DE44 0026ADA4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DE48 0026ADA8 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DE4C 0026ADAC C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DE50 0026ADB0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DE54 0026ADB4 42 00 FF 3C */ bdnz lbl_8026DD90 -/* 8026DE58 0026ADB8 70 63 00 07 */ andi. r3, r3, 7 -/* 8026DE5C 0026ADBC 41 82 00 28 */ beq lbl_8026DE84 -lbl_8026DE60: -/* 8026DE60 0026ADC0 7C 69 03 A6 */ mtctr r3 -lbl_8026DE64: -/* 8026DE64 0026ADC4 C0 65 00 00 */ lfs f3, 0(r5) -/* 8026DE68 0026ADC8 38 A5 FE 98 */ addi r5, r5, -360 -/* 8026DE6C 0026ADCC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DE70 0026ADD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DE74 0026ADD4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8026DE78 0026ADD8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DE7C 0026ADDC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026DE80 0026ADE0 42 00 FF E4 */ bdnz lbl_8026DE64 -lbl_8026DE84: -/* 8026DE84 0026ADE4 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026DE88 0026ADE8 28 11 00 00 */ cmplwi r17, 0 -/* 8026DE8C 0026ADEC 7C B7 DA 14 */ add r5, r23, r27 -/* 8026DE90 0026ADF0 38 00 00 01 */ li r0, 1 -/* 8026DE94 0026ADF4 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026DE98 0026ADF8 41 82 00 08 */ beq lbl_8026DEA0 -/* 8026DE9C 0026ADFC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026DEA0: -/* 8026DEA0 0026AE00 2C 00 00 00 */ cmpwi r0, 0 -/* 8026DEA4 0026AE04 7C 03 03 78 */ mr r3, r0 -/* 8026DEA8 0026AE08 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8026DEAC 0026AE0C 40 81 01 04 */ ble lbl_8026DFB0 -/* 8026DEB0 0026AE10 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8026DEB4 0026AE14 7C 09 03 A6 */ mtctr r0 -/* 8026DEB8 0026AE18 41 82 00 D4 */ beq lbl_8026DF8C -lbl_8026DEBC: -/* 8026DEBC 0026AE1C C0 45 00 00 */ lfs f2, 0(r5) -/* 8026DEC0 0026AE20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DEC4 0026AE24 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DEC8 0026AE28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DECC 0026AE2C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DED0 0026AE30 C0 45 FF F8 */ lfs f2, -8(r5) -/* 8026DED4 0026AE34 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DED8 0026AE38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DEDC 0026AE3C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DEE0 0026AE40 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DEE4 0026AE44 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DEE8 0026AE48 C0 45 FF F0 */ lfs f2, -0x10(r5) -/* 8026DEEC 0026AE4C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DEF0 0026AE50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DEF4 0026AE54 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DEF8 0026AE58 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DEFC 0026AE5C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF00 0026AE60 C0 45 FF E8 */ lfs f2, -0x18(r5) -/* 8026DF04 0026AE64 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF08 0026AE68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF0C 0026AE6C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DF10 0026AE70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DF14 0026AE74 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF18 0026AE78 C0 45 FF E0 */ lfs f2, -0x20(r5) -/* 8026DF1C 0026AE7C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF20 0026AE80 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF24 0026AE84 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DF28 0026AE88 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DF2C 0026AE8C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF30 0026AE90 C0 45 FF D8 */ lfs f2, -0x28(r5) -/* 8026DF34 0026AE94 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF38 0026AE98 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF3C 0026AE9C D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DF40 0026AEA0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DF44 0026AEA4 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF48 0026AEA8 C0 45 FF D0 */ lfs f2, -0x30(r5) -/* 8026DF4C 0026AEAC EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF50 0026AEB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF54 0026AEB4 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DF58 0026AEB8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DF5C 0026AEBC C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF60 0026AEC0 C0 45 FF C8 */ lfs f2, -0x38(r5) -/* 8026DF64 0026AEC4 38 A5 FF C0 */ addi r5, r5, -64 -/* 8026DF68 0026AEC8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF6C 0026AECC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF70 0026AED0 D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DF74 0026AED4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DF78 0026AED8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DF7C 0026AEDC EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DF80 0026AEE0 42 00 FF 3C */ bdnz lbl_8026DEBC -/* 8026DF84 0026AEE4 70 63 00 07 */ andi. r3, r3, 7 -/* 8026DF88 0026AEE8 41 82 00 28 */ beq lbl_8026DFB0 -lbl_8026DF8C: -/* 8026DF8C 0026AEEC 7C 69 03 A6 */ mtctr r3 -lbl_8026DF90: -/* 8026DF90 0026AEF0 C0 45 00 00 */ lfs f2, 0(r5) -/* 8026DF94 0026AEF4 38 A5 FF F8 */ addi r5, r5, -8 -/* 8026DF98 0026AEF8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DF9C 0026AEFC D3 A4 80 00 */ stfs f29, 0xCC008000@l(r4) -/* 8026DFA0 0026AF00 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DFA4 0026AF04 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DFA8 0026AF08 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026DFAC 0026AF0C 42 00 FF E4 */ bdnz lbl_8026DF90 -lbl_8026DFB0: -/* 8026DFB0 0026AF10 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 8026DFB4 0026AF14 FC 20 E8 90 */ fmr f1, f29 -/* 8026DFB8 0026AF18 7E E5 BB 78 */ mr r5, r23 -/* 8026DFBC 0026AF1C 41 82 01 1C */ beq lbl_8026E0D8 -/* 8026DFC0 0026AF20 80 6D A5 74 */ lwz r3, lbl_805A9134@sda21(r13) -/* 8026DFC4 0026AF24 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8026DFC8 0026AF28 2C 03 00 00 */ cmpwi r3, 0 -/* 8026DFCC 0026AF2C 38 63 00 01 */ addi r3, r3, 1 -/* 8026DFD0 0026AF30 41 80 0D 20 */ blt lbl_8026ECF0 -/* 8026DFD4 0026AF34 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 8026DFD8 0026AF38 7C 09 03 A6 */ mtctr r0 -/* 8026DFDC 0026AF3C 41 82 00 D4 */ beq lbl_8026E0B0 -lbl_8026DFE0: -/* 8026DFE0 0026AF40 C0 45 00 00 */ lfs f2, 0(r5) -/* 8026DFE4 0026AF44 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026DFE8 0026AF48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026DFEC 0026AF4C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026DFF0 0026AF50 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026DFF4 0026AF54 C0 45 01 68 */ lfs f2, 0x168(r5) -/* 8026DFF8 0026AF58 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026DFFC 0026AF5C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E000 0026AF60 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E004 0026AF64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E008 0026AF68 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E00C 0026AF6C C0 45 02 D0 */ lfs f2, 0x2d0(r5) -/* 8026E010 0026AF70 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E014 0026AF74 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E018 0026AF78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E01C 0026AF7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E020 0026AF80 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E024 0026AF84 C0 45 04 38 */ lfs f2, 0x438(r5) -/* 8026E028 0026AF88 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E02C 0026AF8C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E030 0026AF90 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E034 0026AF94 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E038 0026AF98 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E03C 0026AF9C C0 45 05 A0 */ lfs f2, 0x5a0(r5) -/* 8026E040 0026AFA0 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E044 0026AFA4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E048 0026AFA8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E04C 0026AFAC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E050 0026AFB0 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E054 0026AFB4 C0 45 07 08 */ lfs f2, 0x708(r5) -/* 8026E058 0026AFB8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E05C 0026AFBC D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E060 0026AFC0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E064 0026AFC4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E068 0026AFC8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E06C 0026AFCC C0 45 08 70 */ lfs f2, 0x870(r5) -/* 8026E070 0026AFD0 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E074 0026AFD4 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E078 0026AFD8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E07C 0026AFDC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E080 0026AFE0 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E084 0026AFE4 C0 45 09 D8 */ lfs f2, 0x9d8(r5) -/* 8026E088 0026AFE8 38 A5 0B 40 */ addi r5, r5, 0xb40 -/* 8026E08C 0026AFEC EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E090 0026AFF0 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E094 0026AFF4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E098 0026AFF8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E09C 0026AFFC C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E0A0 0026B000 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E0A4 0026B004 42 00 FF 3C */ bdnz lbl_8026DFE0 -/* 8026E0A8 0026B008 70 63 00 07 */ andi. r3, r3, 7 -/* 8026E0AC 0026B00C 41 82 0C 44 */ beq lbl_8026ECF0 -lbl_8026E0B0: -/* 8026E0B0 0026B010 7C 69 03 A6 */ mtctr r3 -lbl_8026E0B4: -/* 8026E0B4 0026B014 C0 45 00 00 */ lfs f2, 0(r5) -/* 8026E0B8 0026B018 38 A5 01 68 */ addi r5, r5, 0x168 -/* 8026E0BC 0026B01C D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 8026E0C0 0026B020 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8026E0C4 0026B024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8026E0C8 0026B028 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E0CC 0026B02C EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E0D0 0026B030 42 00 FF E4 */ bdnz lbl_8026E0B4 -/* 8026E0D4 0026B034 48 00 0C 1C */ b lbl_8026ECF0 -lbl_8026E0D8: -/* 8026E0D8 0026B038 C0 17 00 00 */ lfs f0, 0(r23) -/* 8026E0DC 0026B03C 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8026E0E0 0026B040 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8026E0E4 0026B044 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026E0E8 0026B048 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026E0EC 0026B04C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026E0F0 0026B050 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E0F4 0026B054 1C 00 01 68 */ mulli r0, r0, 0x168 -/* 8026E0F8 0026B058 EC 1D 00 2A */ fadds f0, f29, f0 -/* 8026E0FC 0026B05C 7C 37 04 2E */ lfsx f1, r23, r0 -/* 8026E100 0026B060 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8026E104 0026B064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026E108 0026B068 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026E10C 0026B06C 48 00 0B E4 */ b lbl_8026ECF0 -lbl_8026E110: -/* 8026E110 0026B070 7C BE BA 14 */ add r5, r30, r23 -/* 8026E114 0026B074 EC 1B F0 2A */ fadds f0, f27, f30 -/* 8026E118 0026B078 C0 45 00 00 */ lfs f2, 0(r5) -/* 8026E11C 0026B07C 3D 00 CC 01 */ lis r8, 0xCC008000@ha -/* 8026E120 0026B080 38 80 00 FF */ li r4, 0xff -/* 8026E124 0026B084 FC 20 F0 90 */ fmr f1, f30 -/* 8026E128 0026B088 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026E12C 0026B08C 28 13 00 00 */ cmplwi r19, 0 -/* 8026E130 0026B090 7C 77 EA 14 */ add r3, r23, r29 -/* 8026E134 0026B094 D3 88 80 00 */ stfs f28, 0xCC008000@l(r8) -/* 8026E138 0026B098 38 00 00 01 */ li r0, 1 -/* 8026E13C 0026B09C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E140 0026B0A0 89 25 00 07 */ lbz r9, 7(r5) -/* 8026E144 0026B0A4 88 B5 00 36 */ lbz r5, 0x36(r21) -/* 8026E148 0026B0A8 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E14C 0026B0AC 7D 27 2E 30 */ sraw r7, r9, r5 -/* 8026E150 0026B0B0 88 B5 00 34 */ lbz r5, 0x34(r21) -/* 8026E154 0026B0B4 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E158 0026B0B8 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E15C 0026B0BC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E160 0026B0C0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E164 0026B0C4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E168 0026B0C8 98 88 80 00 */ stb r4, 0xCC008000@l(r8) -/* 8026E16C 0026B0CC C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E170 0026B0D0 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026E174 0026B0D4 41 82 00 08 */ beq lbl_8026E17C -/* 8026E178 0026B0D8 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E17C: -/* 8026E17C 0026B0DC 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E180 0026B0E0 7C 04 03 78 */ mr r4, r0 -/* 8026E184 0026B0E4 3D 00 CC 01 */ lis r8, 0xcc01 -/* 8026E188 0026B0E8 38 A0 00 FF */ li r5, 0xff -/* 8026E18C 0026B0EC 40 81 00 F8 */ ble lbl_8026E284 -/* 8026E190 0026B0F0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E194 0026B0F4 7C 09 03 A6 */ mtctr r0 -/* 8026E198 0026B0F8 41 82 00 9C */ beq lbl_8026E234 -lbl_8026E19C: -/* 8026E19C 0026B0FC C0 63 00 00 */ lfs f3, 0(r3) -/* 8026E1A0 0026B100 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E1A4 0026B104 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E1A8 0026B108 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E1AC 0026B10C 89 23 00 07 */ lbz r9, 7(r3) -/* 8026E1B0 0026B110 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E1B4 0026B114 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E1B8 0026B118 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026E1BC 0026B11C 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E1C0 0026B120 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E1C4 0026B124 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E1C8 0026B128 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E1CC 0026B12C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E1D0 0026B130 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E1D4 0026B134 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E1D8 0026B138 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E1DC 0026B13C C0 63 00 08 */ lfs f3, 8(r3) -/* 8026E1E0 0026B140 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E1E4 0026B144 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E1E8 0026B148 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E1EC 0026B14C D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E1F0 0026B150 89 23 00 0F */ lbz r9, 0xf(r3) -/* 8026E1F4 0026B154 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026E1F8 0026B158 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E1FC 0026B15C 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E200 0026B160 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026E204 0026B164 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E208 0026B168 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E20C 0026B16C 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E210 0026B170 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E214 0026B174 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E218 0026B178 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E21C 0026B17C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E220 0026B180 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E224 0026B184 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E228 0026B188 42 00 FF 74 */ bdnz lbl_8026E19C -/* 8026E22C 0026B18C 70 84 00 01 */ andi. r4, r4, 1 -/* 8026E230 0026B190 41 82 00 54 */ beq lbl_8026E284 -lbl_8026E234: -/* 8026E234 0026B194 7C 89 03 A6 */ mtctr r4 -lbl_8026E238: -/* 8026E238 0026B198 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026E23C 0026B19C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E240 0026B1A0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E244 0026B1A4 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E248 0026B1A8 89 23 00 07 */ lbz r9, 7(r3) -/* 8026E24C 0026B1AC 38 63 00 08 */ addi r3, r3, 8 -/* 8026E250 0026B1B0 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E254 0026B1B4 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E258 0026B1B8 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026E25C 0026B1BC 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E260 0026B1C0 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E264 0026B1C4 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E268 0026B1C8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E26C 0026B1CC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E270 0026B1D0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E274 0026B1D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E278 0026B1D8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E27C 0026B1DC EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E280 0026B1E0 42 00 FF B8 */ bdnz lbl_8026E238 -lbl_8026E284: -/* 8026E284 0026B1E4 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E288 0026B1E8 28 12 00 00 */ cmplwi r18, 0 -/* 8026E28C 0026B1EC 7D 17 E2 14 */ add r8, r23, r28 -/* 8026E290 0026B1F0 38 00 00 01 */ li r0, 1 -/* 8026E294 0026B1F4 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026E298 0026B1F8 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026E29C 0026B1FC 41 82 00 08 */ beq lbl_8026E2A4 -/* 8026E2A0 0026B200 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E2A4: -/* 8026E2A4 0026B204 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E2A8 0026B208 7C 03 03 78 */ mr r3, r0 -/* 8026E2AC 0026B20C 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026E2B0 0026B210 38 80 00 FF */ li r4, 0xff -/* 8026E2B4 0026B214 40 81 00 F8 */ ble lbl_8026E3AC -/* 8026E2B8 0026B218 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E2BC 0026B21C 7C 09 03 A6 */ mtctr r0 -/* 8026E2C0 0026B220 41 82 00 9C */ beq lbl_8026E35C -lbl_8026E2C4: -/* 8026E2C4 0026B224 C0 68 00 00 */ lfs f3, 0(r8) -/* 8026E2C8 0026B228 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E2CC 0026B22C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E2D0 0026B230 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026E2D4 0026B234 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E2D8 0026B238 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E2DC 0026B23C 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E2E0 0026B240 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E2E4 0026B244 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E2E8 0026B248 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E2EC 0026B24C 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E2F0 0026B250 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E2F4 0026B254 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E2F8 0026B258 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E2FC 0026B25C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E300 0026B260 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E304 0026B264 C0 68 FE 98 */ lfs f3, -0x168(r8) -/* 8026E308 0026B268 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E30C 0026B26C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E310 0026B270 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E314 0026B274 D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026E318 0026B278 89 28 FE 9F */ lbz r9, -0x161(r8) -/* 8026E31C 0026B27C 39 08 FD 30 */ addi r8, r8, -720 -/* 8026E320 0026B280 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E324 0026B284 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E328 0026B288 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E32C 0026B28C 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E330 0026B290 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E334 0026B294 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E338 0026B298 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E33C 0026B29C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E340 0026B2A0 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E344 0026B2A4 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E348 0026B2A8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E34C 0026B2AC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E350 0026B2B0 42 00 FF 74 */ bdnz lbl_8026E2C4 -/* 8026E354 0026B2B4 70 63 00 01 */ andi. r3, r3, 1 -/* 8026E358 0026B2B8 41 82 00 54 */ beq lbl_8026E3AC -lbl_8026E35C: -/* 8026E35C 0026B2BC 7C 69 03 A6 */ mtctr r3 -lbl_8026E360: -/* 8026E360 0026B2C0 C0 68 00 00 */ lfs f3, 0(r8) -/* 8026E364 0026B2C4 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E368 0026B2C8 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E36C 0026B2CC D0 67 80 00 */ stfs f3, 0xCC008000@l(r7) -/* 8026E370 0026B2D0 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E374 0026B2D4 39 08 FE 98 */ addi r8, r8, -360 -/* 8026E378 0026B2D8 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E37C 0026B2DC 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E380 0026B2E0 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E384 0026B2E4 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E388 0026B2E8 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E38C 0026B2EC 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E390 0026B2F0 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E394 0026B2F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E398 0026B2F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E39C 0026B2FC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E3A0 0026B300 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E3A4 0026B304 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E3A8 0026B308 42 00 FF B8 */ bdnz lbl_8026E360 -lbl_8026E3AC: -/* 8026E3AC 0026B30C C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E3B0 0026B310 28 11 00 00 */ cmplwi r17, 0 -/* 8026E3B4 0026B314 7D 17 DA 14 */ add r8, r23, r27 -/* 8026E3B8 0026B318 38 00 00 01 */ li r0, 1 -/* 8026E3BC 0026B31C EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026E3C0 0026B320 41 82 00 08 */ beq lbl_8026E3C8 -/* 8026E3C4 0026B324 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E3C8: -/* 8026E3C8 0026B328 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E3CC 0026B32C 7C 03 03 78 */ mr r3, r0 -/* 8026E3D0 0026B330 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026E3D4 0026B334 38 80 00 FF */ li r4, 0xff -/* 8026E3D8 0026B338 40 81 00 F8 */ ble lbl_8026E4D0 -/* 8026E3DC 0026B33C 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E3E0 0026B340 7C 09 03 A6 */ mtctr r0 -/* 8026E3E4 0026B344 41 82 00 9C */ beq lbl_8026E480 -lbl_8026E3E8: -/* 8026E3E8 0026B348 C0 48 00 00 */ lfs f2, 0(r8) -/* 8026E3EC 0026B34C D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E3F0 0026B350 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E3F4 0026B354 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E3F8 0026B358 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E3FC 0026B35C 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E400 0026B360 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E404 0026B364 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E408 0026B368 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E40C 0026B36C 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E410 0026B370 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E414 0026B374 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E418 0026B378 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E41C 0026B37C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E420 0026B380 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E424 0026B384 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E428 0026B388 C0 48 FF F8 */ lfs f2, -8(r8) -/* 8026E42C 0026B38C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E430 0026B390 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E434 0026B394 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E438 0026B398 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E43C 0026B39C 89 28 FF FF */ lbz r9, -1(r8) -/* 8026E440 0026B3A0 39 08 FF F0 */ addi r8, r8, -16 -/* 8026E444 0026B3A4 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E448 0026B3A8 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E44C 0026B3AC 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E450 0026B3B0 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E454 0026B3B4 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E458 0026B3B8 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E45C 0026B3BC 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E460 0026B3C0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E464 0026B3C4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E468 0026B3C8 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E46C 0026B3CC C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E470 0026B3D0 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E474 0026B3D4 42 00 FF 74 */ bdnz lbl_8026E3E8 -/* 8026E478 0026B3D8 70 63 00 01 */ andi. r3, r3, 1 -/* 8026E47C 0026B3DC 41 82 00 54 */ beq lbl_8026E4D0 -lbl_8026E480: -/* 8026E480 0026B3E0 7C 69 03 A6 */ mtctr r3 -lbl_8026E484: -/* 8026E484 0026B3E4 C0 48 00 00 */ lfs f2, 0(r8) -/* 8026E488 0026B3E8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E48C 0026B3EC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E490 0026B3F0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E494 0026B3F4 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E498 0026B3F8 39 08 FF F8 */ addi r8, r8, -8 -/* 8026E49C 0026B3FC 88 15 00 36 */ lbz r0, 0x36(r21) -/* 8026E4A0 0026B400 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E4A4 0026B404 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026E4A8 0026B408 88 15 00 34 */ lbz r0, 0x34(r21) -/* 8026E4AC 0026B40C 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E4B0 0026B410 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026E4B4 0026B414 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E4B8 0026B418 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E4BC 0026B41C 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E4C0 0026B420 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E4C4 0026B424 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E4C8 0026B428 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E4CC 0026B42C 42 00 FF B8 */ bdnz lbl_8026E484 -lbl_8026E4D0: -/* 8026E4D0 0026B430 FC 20 F0 90 */ fmr f1, f30 -/* 8026E4D4 0026B434 7E E3 BB 78 */ mr r3, r23 -/* 8026E4D8 0026B438 FC 40 E8 90 */ fmr f2, f29 -/* 8026E4DC 0026B43C 7E A4 AB 78 */ mr r4, r21 -/* 8026E4E0 0026B440 7E 05 83 78 */ mr r5, r16 -/* 8026E4E4 0026B444 48 00 0C C9 */ bl sub_8026f1ac -/* 8026E4E8 0026B448 48 00 08 08 */ b lbl_8026ECF0 -lbl_8026E4EC: -/* 8026E4EC 0026B44C 7D 3E BA 14 */ add r9, r30, r23 -/* 8026E4F0 0026B450 EC 1B F0 2A */ fadds f0, f27, f30 -/* 8026E4F4 0026B454 C0 49 00 00 */ lfs f2, 0(r9) -/* 8026E4F8 0026B458 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8026E4FC 0026B45C 38 A0 00 FF */ li r5, 0xff -/* 8026E500 0026B460 FC 20 F0 90 */ fmr f1, f30 -/* 8026E504 0026B464 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026E508 0026B468 28 13 00 00 */ cmplwi r19, 0 -/* 8026E50C 0026B46C 7C 97 EA 14 */ add r4, r23, r29 -/* 8026E510 0026B470 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8026E514 0026B474 38 00 00 01 */ li r0, 1 -/* 8026E518 0026B478 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026E51C 0026B47C 89 09 00 06 */ lbz r8, 6(r9) -/* 8026E520 0026B480 88 E9 00 05 */ lbz r7, 5(r9) -/* 8026E524 0026B484 88 C9 00 04 */ lbz r6, 4(r9) -/* 8026E528 0026B488 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E52C 0026B48C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E530 0026B490 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E534 0026B494 89 29 00 07 */ lbz r9, 7(r9) -/* 8026E538 0026B498 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026E53C 0026B49C 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026E540 0026B4A0 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026E544 0026B4A4 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026E548 0026B4A8 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026E54C 0026B4AC 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E550 0026B4B0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E554 0026B4B4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E558 0026B4B8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E55C 0026B4BC 98 A3 80 00 */ stb r5, 0xCC008000@l(r3) -/* 8026E560 0026B4C0 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E564 0026B4C4 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026E568 0026B4C8 41 82 00 08 */ beq lbl_8026E570 -/* 8026E56C 0026B4CC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E570: -/* 8026E570 0026B4D0 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E574 0026B4D4 7C 05 03 78 */ mr r5, r0 -/* 8026E578 0026B4D8 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026E57C 0026B4DC 40 81 01 48 */ ble lbl_8026E6C4 -/* 8026E580 0026B4E0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E584 0026B4E4 7C 09 03 A6 */ mtctr r0 -/* 8026E588 0026B4E8 41 82 00 D0 */ beq lbl_8026E658 -lbl_8026E58C: -/* 8026E58C 0026B4EC C0 64 00 00 */ lfs f3, 0(r4) -/* 8026E590 0026B4F0 38 00 00 FF */ li r0, 0xff -/* 8026E594 0026B4F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026E598 0026B4F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026E59C 0026B4FC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8026E5A0 0026B500 89 04 00 06 */ lbz r8, 6(r4) -/* 8026E5A4 0026B504 88 E4 00 05 */ lbz r7, 5(r4) -/* 8026E5A8 0026B508 88 C4 00 04 */ lbz r6, 4(r4) -/* 8026E5AC 0026B50C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E5B0 0026B510 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E5B4 0026B514 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E5B8 0026B518 89 24 00 07 */ lbz r9, 7(r4) -/* 8026E5BC 0026B51C 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026E5C0 0026B520 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026E5C4 0026B524 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026E5C8 0026B528 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026E5CC 0026B52C 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026E5D0 0026B530 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E5D4 0026B534 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E5D8 0026B538 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E5DC 0026B53C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E5E0 0026B540 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026E5E4 0026B544 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E5E8 0026B548 C0 64 00 08 */ lfs f3, 8(r4) -/* 8026E5EC 0026B54C EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E5F0 0026B550 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026E5F4 0026B554 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026E5F8 0026B558 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8026E5FC 0026B55C 89 04 00 0E */ lbz r8, 0xe(r4) -/* 8026E600 0026B560 88 E4 00 0D */ lbz r7, 0xd(r4) -/* 8026E604 0026B564 88 C4 00 0C */ lbz r6, 0xc(r4) -/* 8026E608 0026B568 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E60C 0026B56C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E610 0026B570 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E614 0026B574 89 24 00 0F */ lbz r9, 0xf(r4) -/* 8026E618 0026B578 38 84 00 10 */ addi r4, r4, 0x10 -/* 8026E61C 0026B57C 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026E620 0026B580 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026E624 0026B584 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026E628 0026B588 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026E62C 0026B58C 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026E630 0026B590 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E634 0026B594 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E638 0026B598 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E63C 0026B59C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E640 0026B5A0 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026E644 0026B5A4 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E648 0026B5A8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E64C 0026B5AC 42 00 FF 40 */ bdnz lbl_8026E58C -/* 8026E650 0026B5B0 70 A5 00 01 */ andi. r5, r5, 1 -/* 8026E654 0026B5B4 41 82 00 70 */ beq lbl_8026E6C4 -lbl_8026E658: -/* 8026E658 0026B5B8 7C A9 03 A6 */ mtctr r5 -lbl_8026E65C: -/* 8026E65C 0026B5BC C0 64 00 00 */ lfs f3, 0(r4) -/* 8026E660 0026B5C0 38 00 00 FF */ li r0, 0xff -/* 8026E664 0026B5C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026E668 0026B5C8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026E66C 0026B5CC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8026E670 0026B5D0 89 04 00 06 */ lbz r8, 6(r4) -/* 8026E674 0026B5D4 88 E4 00 05 */ lbz r7, 5(r4) -/* 8026E678 0026B5D8 88 C4 00 04 */ lbz r6, 4(r4) -/* 8026E67C 0026B5DC 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E680 0026B5E0 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E684 0026B5E4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E688 0026B5E8 89 24 00 07 */ lbz r9, 7(r4) -/* 8026E68C 0026B5EC 38 84 00 08 */ addi r4, r4, 8 -/* 8026E690 0026B5F0 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026E694 0026B5F4 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026E698 0026B5F8 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026E69C 0026B5FC 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026E6A0 0026B600 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026E6A4 0026B604 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E6A8 0026B608 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026E6AC 0026B60C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026E6B0 0026B610 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026E6B4 0026B614 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026E6B8 0026B618 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E6BC 0026B61C EC 21 00 2A */ fadds f1, f1, f0 -/* 8026E6C0 0026B620 42 00 FF 9C */ bdnz lbl_8026E65C -lbl_8026E6C4: -/* 8026E6C4 0026B624 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E6C8 0026B628 28 12 00 00 */ cmplwi r18, 0 -/* 8026E6CC 0026B62C 7C 77 E2 14 */ add r3, r23, r28 -/* 8026E6D0 0026B630 38 00 00 01 */ li r0, 1 -/* 8026E6D4 0026B634 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026E6D8 0026B638 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026E6DC 0026B63C 41 82 00 08 */ beq lbl_8026E6E4 -/* 8026E6E0 0026B640 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E6E4: -/* 8026E6E4 0026B644 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E6E8 0026B648 7C 04 03 78 */ mr r4, r0 -/* 8026E6EC 0026B64C 3D 00 CC 01 */ lis r8, 0xcc01 -/* 8026E6F0 0026B650 40 81 01 48 */ ble lbl_8026E838 -/* 8026E6F4 0026B654 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E6F8 0026B658 7C 09 03 A6 */ mtctr r0 -/* 8026E6FC 0026B65C 41 82 00 D0 */ beq lbl_8026E7CC -lbl_8026E700: -/* 8026E700 0026B660 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026E704 0026B664 38 00 00 FF */ li r0, 0xff -/* 8026E708 0026B668 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E70C 0026B66C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E710 0026B670 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E714 0026B674 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026E718 0026B678 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026E71C 0026B67C 88 A3 00 04 */ lbz r5, 4(r3) -/* 8026E720 0026B680 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E724 0026B684 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E728 0026B688 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E72C 0026B68C 89 23 00 07 */ lbz r9, 7(r3) -/* 8026E730 0026B690 88 B5 00 36 */ lbz r5, 0x36(r21) -/* 8026E734 0026B694 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E738 0026B698 7D 27 2E 30 */ sraw r7, r9, r5 -/* 8026E73C 0026B69C 88 B5 00 34 */ lbz r5, 0x34(r21) -/* 8026E740 0026B6A0 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E744 0026B6A4 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E748 0026B6A8 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E74C 0026B6AC 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E750 0026B6B0 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E754 0026B6B4 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E758 0026B6B8 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E75C 0026B6BC C0 63 FE 98 */ lfs f3, -0x168(r3) -/* 8026E760 0026B6C0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E764 0026B6C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E768 0026B6C8 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E76C 0026B6CC D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E770 0026B6D0 88 E3 FE 9E */ lbz r7, -0x162(r3) -/* 8026E774 0026B6D4 88 C3 FE 9D */ lbz r6, -0x163(r3) -/* 8026E778 0026B6D8 88 A3 FE 9C */ lbz r5, -0x164(r3) -/* 8026E77C 0026B6DC 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E780 0026B6E0 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E784 0026B6E4 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E788 0026B6E8 89 23 FE 9F */ lbz r9, -0x161(r3) -/* 8026E78C 0026B6EC 38 63 FD 30 */ addi r3, r3, -720 -/* 8026E790 0026B6F0 88 B5 00 36 */ lbz r5, 0x36(r21) -/* 8026E794 0026B6F4 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E798 0026B6F8 7D 27 2E 30 */ sraw r7, r9, r5 -/* 8026E79C 0026B6FC 88 B5 00 34 */ lbz r5, 0x34(r21) -/* 8026E7A0 0026B700 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E7A4 0026B704 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E7A8 0026B708 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E7AC 0026B70C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E7B0 0026B710 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E7B4 0026B714 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E7B8 0026B718 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E7BC 0026B71C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E7C0 0026B720 42 00 FF 40 */ bdnz lbl_8026E700 -/* 8026E7C4 0026B724 70 84 00 01 */ andi. r4, r4, 1 -/* 8026E7C8 0026B728 41 82 00 70 */ beq lbl_8026E838 -lbl_8026E7CC: -/* 8026E7CC 0026B72C 7C 89 03 A6 */ mtctr r4 -lbl_8026E7D0: -/* 8026E7D0 0026B730 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026E7D4 0026B734 38 00 00 FF */ li r0, 0xff -/* 8026E7D8 0026B738 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026E7DC 0026B73C D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026E7E0 0026B740 D0 68 80 00 */ stfs f3, 0xCC008000@l(r8) -/* 8026E7E4 0026B744 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026E7E8 0026B748 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026E7EC 0026B74C 88 A3 00 04 */ lbz r5, 4(r3) -/* 8026E7F0 0026B750 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E7F4 0026B754 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E7F8 0026B758 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E7FC 0026B75C 89 23 00 07 */ lbz r9, 7(r3) -/* 8026E800 0026B760 38 63 FE 98 */ addi r3, r3, -360 -/* 8026E804 0026B764 88 B5 00 36 */ lbz r5, 0x36(r21) -/* 8026E808 0026B768 88 D5 00 35 */ lbz r6, 0x35(r21) -/* 8026E80C 0026B76C 7D 27 2E 30 */ sraw r7, r9, r5 -/* 8026E810 0026B770 88 B5 00 34 */ lbz r5, 0x34(r21) -/* 8026E814 0026B774 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026E818 0026B778 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E81C 0026B77C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026E820 0026B780 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026E824 0026B784 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026E828 0026B788 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026E82C 0026B78C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E830 0026B790 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026E834 0026B794 42 00 FF 9C */ bdnz lbl_8026E7D0 -lbl_8026E838: -/* 8026E838 0026B798 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026E83C 0026B79C 28 11 00 00 */ cmplwi r17, 0 -/* 8026E840 0026B7A0 7D 17 DA 14 */ add r8, r23, r27 -/* 8026E844 0026B7A4 38 00 00 01 */ li r0, 1 -/* 8026E848 0026B7A8 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026E84C 0026B7AC 41 82 00 08 */ beq lbl_8026E854 -/* 8026E850 0026B7B0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -lbl_8026E854: -/* 8026E854 0026B7B4 2C 00 00 00 */ cmpwi r0, 0 -/* 8026E858 0026B7B8 7C 03 03 78 */ mr r3, r0 -/* 8026E85C 0026B7BC 3C E0 CC 01 */ lis r7, 0xcc01 -/* 8026E860 0026B7C0 40 81 01 48 */ ble lbl_8026E9A8 -/* 8026E864 0026B7C4 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8026E868 0026B7C8 7C 09 03 A6 */ mtctr r0 -/* 8026E86C 0026B7CC 41 82 00 D0 */ beq lbl_8026E93C -lbl_8026E870: -/* 8026E870 0026B7D0 C0 48 00 00 */ lfs f2, 0(r8) -/* 8026E874 0026B7D4 38 00 00 FF */ li r0, 0xff -/* 8026E878 0026B7D8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E87C 0026B7DC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E880 0026B7E0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E884 0026B7E4 88 C8 00 06 */ lbz r6, 6(r8) -/* 8026E888 0026B7E8 88 A8 00 05 */ lbz r5, 5(r8) -/* 8026E88C 0026B7EC 88 88 00 04 */ lbz r4, 4(r8) -/* 8026E890 0026B7F0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E894 0026B7F4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E898 0026B7F8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E89C 0026B7FC 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E8A0 0026B800 88 95 00 36 */ lbz r4, 0x36(r21) -/* 8026E8A4 0026B804 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E8A8 0026B808 7D 26 26 30 */ sraw r6, r9, r4 -/* 8026E8AC 0026B80C 88 95 00 34 */ lbz r4, 0x34(r21) -/* 8026E8B0 0026B810 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E8B4 0026B814 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026E8B8 0026B818 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E8BC 0026B81C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E8C0 0026B820 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E8C4 0026B824 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E8C8 0026B828 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E8CC 0026B82C C0 48 FF F8 */ lfs f2, -8(r8) -/* 8026E8D0 0026B830 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E8D4 0026B834 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E8D8 0026B838 D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E8DC 0026B83C D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E8E0 0026B840 88 C8 FF FE */ lbz r6, -2(r8) -/* 8026E8E4 0026B844 88 A8 FF FD */ lbz r5, -3(r8) -/* 8026E8E8 0026B848 88 88 FF FC */ lbz r4, -4(r8) -/* 8026E8EC 0026B84C 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E8F0 0026B850 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E8F4 0026B854 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E8F8 0026B858 89 28 FF FF */ lbz r9, -1(r8) -/* 8026E8FC 0026B85C 39 08 FF F0 */ addi r8, r8, -16 -/* 8026E900 0026B860 88 95 00 36 */ lbz r4, 0x36(r21) -/* 8026E904 0026B864 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E908 0026B868 7D 26 26 30 */ sraw r6, r9, r4 -/* 8026E90C 0026B86C 88 95 00 34 */ lbz r4, 0x34(r21) -/* 8026E910 0026B870 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E914 0026B874 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026E918 0026B878 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E91C 0026B87C 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E920 0026B880 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E924 0026B884 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E928 0026B888 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E92C 0026B88C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E930 0026B890 42 00 FF 40 */ bdnz lbl_8026E870 -/* 8026E934 0026B894 70 63 00 01 */ andi. r3, r3, 1 -/* 8026E938 0026B898 41 82 00 70 */ beq lbl_8026E9A8 -lbl_8026E93C: -/* 8026E93C 0026B89C 7C 69 03 A6 */ mtctr r3 -lbl_8026E940: -/* 8026E940 0026B8A0 C0 48 00 00 */ lfs f2, 0(r8) -/* 8026E944 0026B8A4 38 00 00 FF */ li r0, 0xff -/* 8026E948 0026B8A8 D0 27 80 00 */ stfs f1, 0xCC008000@l(r7) -/* 8026E94C 0026B8AC D3 A7 80 00 */ stfs f29, 0xCC008000@l(r7) -/* 8026E950 0026B8B0 D0 47 80 00 */ stfs f2, 0xCC008000@l(r7) -/* 8026E954 0026B8B4 88 C8 00 06 */ lbz r6, 6(r8) -/* 8026E958 0026B8B8 88 A8 00 05 */ lbz r5, 5(r8) -/* 8026E95C 0026B8BC 88 88 00 04 */ lbz r4, 4(r8) -/* 8026E960 0026B8C0 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E964 0026B8C4 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E968 0026B8C8 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E96C 0026B8CC 89 28 00 07 */ lbz r9, 7(r8) -/* 8026E970 0026B8D0 39 08 FF F8 */ addi r8, r8, -8 -/* 8026E974 0026B8D4 88 95 00 36 */ lbz r4, 0x36(r21) -/* 8026E978 0026B8D8 88 B5 00 35 */ lbz r5, 0x35(r21) -/* 8026E97C 0026B8DC 7D 26 26 30 */ sraw r6, r9, r4 -/* 8026E980 0026B8E0 88 95 00 34 */ lbz r4, 0x34(r21) -/* 8026E984 0026B8E4 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026E988 0026B8E8 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026E98C 0026B8EC 98 87 80 00 */ stb r4, 0xCC008000@l(r7) -/* 8026E990 0026B8F0 98 A7 80 00 */ stb r5, 0xCC008000@l(r7) -/* 8026E994 0026B8F4 98 C7 80 00 */ stb r6, 0xCC008000@l(r7) -/* 8026E998 0026B8F8 98 07 80 00 */ stb r0, 0xCC008000@l(r7) -/* 8026E99C 0026B8FC C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026E9A0 0026B900 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026E9A4 0026B904 42 00 FF 9C */ bdnz lbl_8026E940 -lbl_8026E9A8: -/* 8026E9A8 0026B908 FC 20 F0 90 */ fmr f1, f30 -/* 8026E9AC 0026B90C 7E E3 BB 78 */ mr r3, r23 -/* 8026E9B0 0026B910 FC 40 E8 90 */ fmr f2, f29 -/* 8026E9B4 0026B914 7E A4 AB 78 */ mr r4, r21 -/* 8026E9B8 0026B918 7E 05 83 78 */ mr r5, r16 -/* 8026E9BC 0026B91C 48 00 05 C5 */ bl sub_8026ef80 -/* 8026E9C0 0026B920 48 00 03 30 */ b lbl_8026ECF0 -lbl_8026E9C4: -/* 8026E9C4 0026B924 7C DE BA 14 */ add r6, r30, r23 -/* 8026E9C8 0026B928 EC 1B F0 2A */ fadds f0, f27, f30 -/* 8026E9CC 0026B92C C0 46 00 00 */ lfs f2, 0(r6) -/* 8026E9D0 0026B930 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8026E9D4 0026B934 38 00 00 FF */ li r0, 0xff -/* 8026E9D8 0026B938 FC 20 F0 90 */ fmr f1, f30 -/* 8026E9DC 0026B93C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026E9E0 0026B940 28 13 00 00 */ cmplwi r19, 0 -/* 8026E9E4 0026B944 7C B7 EA 14 */ add r5, r23, r29 -/* 8026E9E8 0026B948 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8026E9EC 0026B94C 38 80 00 01 */ li r4, 1 -/* 8026E9F0 0026B950 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026E9F4 0026B954 89 26 00 06 */ lbz r9, 6(r6) -/* 8026E9F8 0026B958 89 06 00 05 */ lbz r8, 5(r6) -/* 8026E9FC 0026B95C 88 E6 00 04 */ lbz r7, 4(r6) -/* 8026EA00 0026B960 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EA04 0026B964 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EA08 0026B968 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026EA0C 0026B96C 89 06 00 05 */ lbz r8, 5(r6) -/* 8026EA10 0026B970 89 26 00 06 */ lbz r9, 6(r6) -/* 8026EA14 0026B974 88 E6 00 04 */ lbz r7, 4(r6) -/* 8026EA18 0026B978 7D 08 00 D0 */ neg r8, r8 -/* 8026EA1C 0026B97C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EA20 0026B980 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026EA24 0026B984 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EA28 0026B988 89 06 00 04 */ lbz r8, 4(r6) -/* 8026EA2C 0026B98C 89 26 00 05 */ lbz r9, 5(r6) -/* 8026EA30 0026B990 88 E6 00 06 */ lbz r7, 6(r6) -/* 8026EA34 0026B994 7D 08 00 D0 */ neg r8, r8 -/* 8026EA38 0026B998 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EA3C 0026B99C 99 23 80 00 */ stb r9, 0xCC008000@l(r3) -/* 8026EA40 0026B9A0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EA44 0026B9A4 89 26 00 07 */ lbz r9, 7(r6) -/* 8026EA48 0026B9A8 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026EA4C 0026B9AC 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026EA50 0026B9B0 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026EA54 0026B9B4 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026EA58 0026B9B8 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026EA5C 0026B9BC 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026EA60 0026B9C0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EA64 0026B9C4 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EA68 0026B9C8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EA6C 0026B9CC 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026EA70 0026B9D0 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026EA74 0026B9D4 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026EA78 0026B9D8 41 82 00 08 */ beq lbl_8026EA80 -/* 8026EA7C 0026B9DC 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) -lbl_8026EA80: -/* 8026EA80 0026B9E0 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026EA84 0026B9E4 7C 89 03 A6 */ mtctr r4 -/* 8026EA88 0026B9E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8026EA8C 0026B9EC 40 81 00 A8 */ ble lbl_8026EB34 -lbl_8026EA90: -/* 8026EA90 0026B9F0 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026EA94 0026B9F4 38 00 00 FF */ li r0, 0xff -/* 8026EA98 0026B9F8 38 84 FF FF */ addi r4, r4, -1 -/* 8026EA9C 0026B9FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026EAA0 0026BA00 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026EAA4 0026BA04 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026EAA8 0026BA08 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EAAC 0026BA0C 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EAB0 0026BA10 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EAB4 0026BA14 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EAB8 0026BA18 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EABC 0026BA1C 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EAC0 0026BA20 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EAC4 0026BA24 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EAC8 0026BA28 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EACC 0026BA2C 7C E7 00 D0 */ neg r7, r7 -/* 8026EAD0 0026BA30 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EAD4 0026BA34 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EAD8 0026BA38 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EADC 0026BA3C 88 E5 00 04 */ lbz r7, 4(r5) -/* 8026EAE0 0026BA40 89 05 00 05 */ lbz r8, 5(r5) -/* 8026EAE4 0026BA44 88 C5 00 06 */ lbz r6, 6(r5) -/* 8026EAE8 0026BA48 7C E7 00 D0 */ neg r7, r7 -/* 8026EAEC 0026BA4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EAF0 0026BA50 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EAF4 0026BA54 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EAF8 0026BA58 89 25 00 07 */ lbz r9, 7(r5) -/* 8026EAFC 0026BA5C 38 A5 00 08 */ addi r5, r5, 8 -/* 8026EB00 0026BA60 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026EB04 0026BA64 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026EB08 0026BA68 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026EB0C 0026BA6C 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026EB10 0026BA70 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026EB14 0026BA74 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026EB18 0026BA78 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EB1C 0026BA7C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EB20 0026BA80 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EB24 0026BA84 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026EB28 0026BA88 C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026EB2C 0026BA8C EC 21 00 2A */ fadds f1, f1, f0 -/* 8026EB30 0026BA90 42 00 FF 60 */ bdnz lbl_8026EA90 -lbl_8026EB34: -/* 8026EB34 0026BA94 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026EB38 0026BA98 28 12 00 00 */ cmplwi r18, 0 -/* 8026EB3C 0026BA9C 7C B7 E2 14 */ add r5, r23, r28 -/* 8026EB40 0026BAA0 38 80 00 01 */ li r4, 1 -/* 8026EB44 0026BAA4 EC 40 E8 2A */ fadds f2, f0, f29 -/* 8026EB48 0026BAA8 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026EB4C 0026BAAC 41 82 00 08 */ beq lbl_8026EB54 -/* 8026EB50 0026BAB0 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) -lbl_8026EB54: -/* 8026EB54 0026BAB4 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026EB58 0026BAB8 7C 89 03 A6 */ mtctr r4 -/* 8026EB5C 0026BABC 2C 04 00 00 */ cmpwi r4, 0 -/* 8026EB60 0026BAC0 40 81 00 A8 */ ble lbl_8026EC08 -lbl_8026EB64: -/* 8026EB64 0026BAC4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026EB68 0026BAC8 38 00 00 FF */ li r0, 0xff -/* 8026EB6C 0026BACC 38 84 FF FF */ addi r4, r4, -1 -/* 8026EB70 0026BAD0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026EB74 0026BAD4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8026EB78 0026BAD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026EB7C 0026BADC 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EB80 0026BAE0 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EB84 0026BAE4 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EB88 0026BAE8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EB8C 0026BAEC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EB90 0026BAF0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EB94 0026BAF4 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EB98 0026BAF8 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EB9C 0026BAFC 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EBA0 0026BB00 7C E7 00 D0 */ neg r7, r7 -/* 8026EBA4 0026BB04 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EBA8 0026BB08 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EBAC 0026BB0C 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EBB0 0026BB10 88 E5 00 04 */ lbz r7, 4(r5) -/* 8026EBB4 0026BB14 89 05 00 05 */ lbz r8, 5(r5) -/* 8026EBB8 0026BB18 88 C5 00 06 */ lbz r6, 6(r5) -/* 8026EBBC 0026BB1C 7C E7 00 D0 */ neg r7, r7 -/* 8026EBC0 0026BB20 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EBC4 0026BB24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EBC8 0026BB28 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EBCC 0026BB2C 89 25 00 07 */ lbz r9, 7(r5) -/* 8026EBD0 0026BB30 38 A5 FE 98 */ addi r5, r5, -360 -/* 8026EBD4 0026BB34 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026EBD8 0026BB38 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026EBDC 0026BB3C 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026EBE0 0026BB40 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026EBE4 0026BB44 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026EBE8 0026BB48 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026EBEC 0026BB4C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EBF0 0026BB50 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EBF4 0026BB54 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EBF8 0026BB58 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026EBFC 0026BB5C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026EC00 0026BB60 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026EC04 0026BB64 42 00 FF 60 */ bdnz lbl_8026EB64 -lbl_8026EC08: -/* 8026EC08 0026BB68 C0 15 00 14 */ lfs f0, 0x14(r21) -/* 8026EC0C 0026BB6C 28 11 00 00 */ cmplwi r17, 0 -/* 8026EC10 0026BB70 7C B7 DA 14 */ add r5, r23, r27 -/* 8026EC14 0026BB74 38 80 00 01 */ li r4, 1 -/* 8026EC18 0026BB78 EC 20 F0 2A */ fadds f1, f0, f30 -/* 8026EC1C 0026BB7C 41 82 00 08 */ beq lbl_8026EC24 -/* 8026EC20 0026BB80 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) -lbl_8026EC24: -/* 8026EC24 0026BB84 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8026EC28 0026BB88 7C 89 03 A6 */ mtctr r4 -/* 8026EC2C 0026BB8C 2C 04 00 00 */ cmpwi r4, 0 -/* 8026EC30 0026BB90 40 81 00 A8 */ ble lbl_8026ECD8 -lbl_8026EC34: -/* 8026EC34 0026BB94 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026EC38 0026BB98 38 00 00 FF */ li r0, 0xff -/* 8026EC3C 0026BB9C 38 84 FF FF */ addi r4, r4, -1 -/* 8026EC40 0026BBA0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8026EC44 0026BBA4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8026EC48 0026BBA8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8026EC4C 0026BBAC 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EC50 0026BBB0 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EC54 0026BBB4 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EC58 0026BBB8 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EC5C 0026BBBC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EC60 0026BBC0 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EC64 0026BBC4 88 E5 00 05 */ lbz r7, 5(r5) -/* 8026EC68 0026BBC8 89 05 00 06 */ lbz r8, 6(r5) -/* 8026EC6C 0026BBCC 88 C5 00 04 */ lbz r6, 4(r5) -/* 8026EC70 0026BBD0 7C E7 00 D0 */ neg r7, r7 -/* 8026EC74 0026BBD4 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EC78 0026BBD8 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EC7C 0026BBDC 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EC80 0026BBE0 88 E5 00 04 */ lbz r7, 4(r5) -/* 8026EC84 0026BBE4 89 05 00 05 */ lbz r8, 5(r5) -/* 8026EC88 0026BBE8 88 C5 00 06 */ lbz r6, 6(r5) -/* 8026EC8C 0026BBEC 7C E7 00 D0 */ neg r7, r7 -/* 8026EC90 0026BBF0 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026EC94 0026BBF4 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026EC98 0026BBF8 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026EC9C 0026BBFC 89 25 00 07 */ lbz r9, 7(r5) -/* 8026ECA0 0026BC00 38 A5 FF F8 */ addi r5, r5, -8 -/* 8026ECA4 0026BC04 88 D5 00 36 */ lbz r6, 0x36(r21) -/* 8026ECA8 0026BC08 88 F5 00 35 */ lbz r7, 0x35(r21) -/* 8026ECAC 0026BC0C 7D 28 36 30 */ sraw r8, r9, r6 -/* 8026ECB0 0026BC10 88 D5 00 34 */ lbz r6, 0x34(r21) -/* 8026ECB4 0026BC14 7D 27 3E 30 */ sraw r7, r9, r7 -/* 8026ECB8 0026BC18 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026ECBC 0026BC1C 98 C3 80 00 */ stb r6, 0xCC008000@l(r3) -/* 8026ECC0 0026BC20 98 E3 80 00 */ stb r7, 0xCC008000@l(r3) -/* 8026ECC4 0026BC24 99 03 80 00 */ stb r8, 0xCC008000@l(r3) -/* 8026ECC8 0026BC28 98 03 80 00 */ stb r0, 0xCC008000@l(r3) -/* 8026ECCC 0026BC2C C0 15 00 18 */ lfs f0, 0x18(r21) -/* 8026ECD0 0026BC30 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026ECD4 0026BC34 42 00 FF 60 */ bdnz lbl_8026EC34 -lbl_8026ECD8: -/* 8026ECD8 0026BC38 FC 20 F0 90 */ fmr f1, f30 -/* 8026ECDC 0026BC3C 7E E3 BB 78 */ mr r3, r23 -/* 8026ECE0 0026BC40 FC 40 E8 90 */ fmr f2, f29 -/* 8026ECE4 0026BC44 7E A4 AB 78 */ mr r4, r21 -/* 8026ECE8 0026BC48 7E 05 83 78 */ mr r5, r16 -/* 8026ECEC 0026BC4C 48 00 00 99 */ bl sub_8026ed84 -lbl_8026ECF0: -/* 8026ECF0 0026BC50 48 09 98 91 */ bl End__3CGXFv -lbl_8026ECF4: -/* 8026ECF4 0026BC54 6E C3 80 00 */ xoris r3, r22, 0x8000 -/* 8026ECF8 0026BC58 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026ECFC 0026BC5C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026ED00 0026BC60 7F 5A B2 14 */ add r26, r26, r22 -/* 8026ED04 0026BC64 7C 60 B1 D6 */ mullw r3, r0, r22 -/* 8026ED08 0026BC68 C0 35 00 14 */ lfs f1, 0x14(r21) -/* 8026ED0C 0026BC6C 91 C1 00 08 */ stw r14, 8(r1) -/* 8026ED10 0026BC70 7F 18 B2 14 */ add r24, r24, r22 -/* 8026ED14 0026BC74 C8 01 00 08 */ lfd f0, 8(r1) -/* 8026ED18 0026BC78 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8026ED1C 0026BC7C 54 60 18 38 */ slwi r0, r3, 3 -/* 8026ED20 0026BC80 7F 39 1A 14 */ add r25, r25, r3 -/* 8026ED24 0026BC84 7E F7 02 14 */ add r23, r23, r0 -/* 8026ED28 0026BC88 EF C1 F0 3A */ fmadds f30, f1, f0, f30 -lbl_8026ED2C: -/* 8026ED2C 0026BC8C 88 15 00 00 */ lbz r0, 0(r21) -/* 8026ED30 0026BC90 7C 03 07 74 */ extsb r3, r0 -/* 8026ED34 0026BC94 38 03 FF FE */ addi r0, r3, -2 -/* 8026ED38 0026BC98 7C 19 00 00 */ cmpw r25, r0 -/* 8026ED3C 0026BC9C 41 80 E8 BC */ blt lbl_8026D5F8 -/* 8026ED40 0026BCA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8026ED44 0026BCA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8026ED48 0026BCA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8026ED4C 0026BCAC CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8026ED50 0026BCB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8026ED54 0026BCB4 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8026ED58 0026BCB8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8026ED5C 0026BCBC CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8026ED60 0026BCC0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8026ED64 0026BCC4 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8026ED68 0026BCC8 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 -/* 8026ED6C 0026BCCC CB 41 00 60 */ lfd f26, 0x60(r1) -/* 8026ED70 0026BCD0 B9 C1 00 18 */ lmw r14, 0x18(r1) -/* 8026ED74 0026BCD4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8026ED78 0026BCD8 7C 08 03 A6 */ mtlr r0 -/* 8026ED7C 0026BCDC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8026ED80 0026BCE0 4E 80 00 20 */ blr - -.global sub_8026ed84 -sub_8026ed84: -/* 8026ED84 0026BCE4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8026ED88 0026BCE8 41 82 00 C0 */ beq lbl_8026EE48 -/* 8026ED8C 0026BCEC 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) -/* 8026ED90 0026BCF0 3D 00 CC 01 */ lis r8, 0xCC008000@ha -/* 8026ED94 0026BCF4 38 05 00 01 */ addi r0, r5, 1 -/* 8026ED98 0026BCF8 7C 09 03 A6 */ mtctr r0 -/* 8026ED9C 0026BCFC 2C 05 00 00 */ cmpwi r5, 0 -/* 8026EDA0 0026BD00 4D 80 00 20 */ bltlr -lbl_8026EDA4: -/* 8026EDA4 0026BD04 C0 03 00 00 */ lfs f0, 0(r3) -/* 8026EDA8 0026BD08 38 00 00 FF */ li r0, 0xff -/* 8026EDAC 0026BD0C D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026EDB0 0026BD10 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026EDB4 0026BD14 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026EDB8 0026BD18 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026EDBC 0026BD1C 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EDC0 0026BD20 88 A3 00 04 */ lbz r5, 4(r3) -/* 8026EDC4 0026BD24 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026EDC8 0026BD28 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026EDCC 0026BD2C 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026EDD0 0026BD30 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EDD4 0026BD34 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026EDD8 0026BD38 88 A3 00 04 */ lbz r5, 4(r3) -/* 8026EDDC 0026BD3C 7C C6 00 D0 */ neg r6, r6 -/* 8026EDE0 0026BD40 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026EDE4 0026BD44 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026EDE8 0026BD48 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026EDEC 0026BD4C 88 C3 00 04 */ lbz r6, 4(r3) -/* 8026EDF0 0026BD50 88 E3 00 05 */ lbz r7, 5(r3) -/* 8026EDF4 0026BD54 88 A3 00 06 */ lbz r5, 6(r3) -/* 8026EDF8 0026BD58 7C C6 00 D0 */ neg r6, r6 -/* 8026EDFC 0026BD5C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026EE00 0026BD60 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026EE04 0026BD64 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026EE08 0026BD68 89 23 00 07 */ lbz r9, 7(r3) -/* 8026EE0C 0026BD6C 38 63 01 68 */ addi r3, r3, 0x168 -/* 8026EE10 0026BD70 88 A4 00 36 */ lbz r5, 0x36(r4) -/* 8026EE14 0026BD74 88 C4 00 35 */ lbz r6, 0x35(r4) -/* 8026EE18 0026BD78 7D 27 2E 30 */ sraw r7, r9, r5 -/* 8026EE1C 0026BD7C 88 A4 00 34 */ lbz r5, 0x34(r4) -/* 8026EE20 0026BD80 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026EE24 0026BD84 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026EE28 0026BD88 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026EE2C 0026BD8C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026EE30 0026BD90 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026EE34 0026BD94 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026EE38 0026BD98 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026EE3C 0026BD9C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026EE40 0026BDA0 42 00 FF 64 */ bdnz lbl_8026EDA4 - -.global sub_8026ee44 -sub_8026ee44: -/* 8026EE44 0026BDA4 4E 80 00 20 */ blr -lbl_8026EE48: -/* 8026EE48 0026BDA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8026EE4C 0026BDAC 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8026EE50 0026BDB0 38 E0 00 FF */ li r7, 0xff -/* 8026EE54 0026BDB4 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026EE58 0026BDB8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8026EE5C 0026BDBC D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026EE60 0026BDC0 89 03 00 06 */ lbz r8, 6(r3) -/* 8026EE64 0026BDC4 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EE68 0026BDC8 88 03 00 04 */ lbz r0, 4(r3) -/* 8026EE6C 0026BDCC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EE70 0026BDD0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EE74 0026BDD4 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EE78 0026BDD8 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EE7C 0026BDDC 89 03 00 06 */ lbz r8, 6(r3) -/* 8026EE80 0026BDE0 88 03 00 04 */ lbz r0, 4(r3) -/* 8026EE84 0026BDE4 7C C6 00 D0 */ neg r6, r6 -/* 8026EE88 0026BDE8 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EE8C 0026BDEC 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EE90 0026BDF0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EE94 0026BDF4 88 C3 00 04 */ lbz r6, 4(r3) -/* 8026EE98 0026BDF8 89 03 00 05 */ lbz r8, 5(r3) -/* 8026EE9C 0026BDFC 88 03 00 06 */ lbz r0, 6(r3) -/* 8026EEA0 0026BE00 7C C6 00 D0 */ neg r6, r6 -/* 8026EEA4 0026BE04 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EEA8 0026BE08 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EEAC 0026BE0C 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EEB0 0026BE10 89 23 00 07 */ lbz r9, 7(r3) -/* 8026EEB4 0026BE14 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026EEB8 0026BE18 88 C4 00 35 */ lbz r6, 0x35(r4) -/* 8026EEBC 0026BE1C 7D 28 06 30 */ sraw r8, r9, r0 -/* 8026EEC0 0026BE20 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026EEC4 0026BE24 7D 26 36 30 */ sraw r6, r9, r6 -/* 8026EEC8 0026BE28 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026EECC 0026BE2C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EED0 0026BE30 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EED4 0026BE34 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EED8 0026BE38 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) -/* 8026EEDC 0026BE3C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026EEE0 0026BE40 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8026EEE4 0026BE44 1C 00 01 68 */ mulli r0, r0, 0x168 -/* 8026EEE8 0026BE48 EC 02 00 2A */ fadds f0, f2, f0 -/* 8026EEEC 0026BE4C 7C 63 02 14 */ add r3, r3, r0 -/* 8026EEF0 0026BE50 C0 43 00 00 */ lfs f2, 0(r3) -/* 8026EEF4 0026BE54 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8026EEF8 0026BE58 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8026EEFC 0026BE5C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8026EF00 0026BE60 89 03 00 06 */ lbz r8, 6(r3) -/* 8026EF04 0026BE64 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EF08 0026BE68 88 03 00 04 */ lbz r0, 4(r3) -/* 8026EF0C 0026BE6C 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EF10 0026BE70 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EF14 0026BE74 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EF18 0026BE78 88 C3 00 05 */ lbz r6, 5(r3) -/* 8026EF1C 0026BE7C 89 03 00 06 */ lbz r8, 6(r3) -/* 8026EF20 0026BE80 88 03 00 04 */ lbz r0, 4(r3) -/* 8026EF24 0026BE84 7C C6 00 D0 */ neg r6, r6 -/* 8026EF28 0026BE88 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EF2C 0026BE8C 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EF30 0026BE90 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EF34 0026BE94 88 C3 00 04 */ lbz r6, 4(r3) -/* 8026EF38 0026BE98 89 03 00 05 */ lbz r8, 5(r3) -/* 8026EF3C 0026BE9C 88 03 00 06 */ lbz r0, 6(r3) -/* 8026EF40 0026BEA0 7C C6 00 D0 */ neg r6, r6 -/* 8026EF44 0026BEA4 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EF48 0026BEA8 99 05 80 00 */ stb r8, 0xCC008000@l(r5) -/* 8026EF4C 0026BEAC 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EF50 0026BEB0 89 03 00 07 */ lbz r8, 7(r3) -/* 8026EF54 0026BEB4 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026EF58 0026BEB8 88 64 00 35 */ lbz r3, 0x35(r4) -/* 8026EF5C 0026BEBC 7D 06 06 30 */ sraw r6, r8, r0 -/* 8026EF60 0026BEC0 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026EF64 0026BEC4 7D 03 1E 30 */ sraw r3, r8, r3 -/* 8026EF68 0026BEC8 7D 00 06 30 */ sraw r0, r8, r0 -/* 8026EF6C 0026BECC 98 05 80 00 */ stb r0, 0xCC008000@l(r5) -/* 8026EF70 0026BED0 98 65 80 00 */ stb r3, 0xCC008000@l(r5) -/* 8026EF74 0026BED4 98 C5 80 00 */ stb r6, 0xCC008000@l(r5) -/* 8026EF78 0026BED8 98 E5 80 00 */ stb r7, 0xCC008000@l(r5) -/* 8026EF7C 0026BEDC 4E 80 00 20 */ blr - -.global sub_8026ef80 -sub_8026ef80: -/* 8026EF80 0026BEE0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8026EF84 0026BEE4 41 82 01 60 */ beq lbl_8026F0E4 -/* 8026EF88 0026BEE8 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) -/* 8026EF8C 0026BEEC 3D 20 CC 01 */ lis r9, 0xcc01 -/* 8026EF90 0026BEF0 2C 05 00 00 */ cmpwi r5, 0 -/* 8026EF94 0026BEF4 38 A5 00 01 */ addi r5, r5, 1 -/* 8026EF98 0026BEF8 4D 80 00 20 */ bltlr -/* 8026EF9C 0026BEFC 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f -/* 8026EFA0 0026BF00 7C 09 03 A6 */ mtctr r0 -/* 8026EFA4 0026BF04 41 82 00 D0 */ beq lbl_8026F074 -lbl_8026EFA8: -/* 8026EFA8 0026BF08 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026EFAC 0026BF0C 38 00 00 FF */ li r0, 0xff -/* 8026EFB0 0026BF10 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026EFB4 0026BF14 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026EFB8 0026BF18 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026EFBC 0026BF1C 89 03 00 06 */ lbz r8, 6(r3) -/* 8026EFC0 0026BF20 88 E3 00 05 */ lbz r7, 5(r3) -/* 8026EFC4 0026BF24 88 C3 00 04 */ lbz r6, 4(r3) -/* 8026EFC8 0026BF28 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026EFCC 0026BF2C 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026EFD0 0026BF30 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026EFD4 0026BF34 89 43 00 07 */ lbz r10, 7(r3) -/* 8026EFD8 0026BF38 88 C4 00 36 */ lbz r6, 0x36(r4) -/* 8026EFDC 0026BF3C 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026EFE0 0026BF40 7D 48 36 30 */ sraw r8, r10, r6 -/* 8026EFE4 0026BF44 88 C4 00 34 */ lbz r6, 0x34(r4) -/* 8026EFE8 0026BF48 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026EFEC 0026BF4C 7D 46 36 30 */ sraw r6, r10, r6 -/* 8026EFF0 0026BF50 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026EFF4 0026BF54 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026EFF8 0026BF58 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026EFFC 0026BF5C 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F000 0026BF60 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F004 0026BF64 C0 63 01 68 */ lfs f3, 0x168(r3) -/* 8026F008 0026BF68 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F00C 0026BF6C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026F010 0026BF70 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026F014 0026BF74 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026F018 0026BF78 89 03 01 6E */ lbz r8, 0x16e(r3) -/* 8026F01C 0026BF7C 88 E3 01 6D */ lbz r7, 0x16d(r3) -/* 8026F020 0026BF80 88 C3 01 6C */ lbz r6, 0x16c(r3) -/* 8026F024 0026BF84 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F028 0026BF88 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F02C 0026BF8C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F030 0026BF90 89 43 01 6F */ lbz r10, 0x16f(r3) -/* 8026F034 0026BF94 38 63 02 D0 */ addi r3, r3, 0x2d0 -/* 8026F038 0026BF98 88 C4 00 36 */ lbz r6, 0x36(r4) -/* 8026F03C 0026BF9C 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026F040 0026BFA0 7D 48 36 30 */ sraw r8, r10, r6 -/* 8026F044 0026BFA4 88 C4 00 34 */ lbz r6, 0x34(r4) -/* 8026F048 0026BFA8 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026F04C 0026BFAC 7D 46 36 30 */ sraw r6, r10, r6 -/* 8026F050 0026BFB0 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F054 0026BFB4 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F058 0026BFB8 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F05C 0026BFBC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F060 0026BFC0 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F064 0026BFC4 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F068 0026BFC8 42 00 FF 40 */ bdnz lbl_8026EFA8 -/* 8026F06C 0026BFCC 70 A5 00 01 */ andi. r5, r5, 1 -/* 8026F070 0026BFD0 4D 82 00 20 */ beqlr -lbl_8026F074: -/* 8026F074 0026BFD4 7C A9 03 A6 */ mtctr r5 -lbl_8026F078: -/* 8026F078 0026BFD8 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026F07C 0026BFDC 38 00 00 FF */ li r0, 0xff -/* 8026F080 0026BFE0 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026F084 0026BFE4 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026F088 0026BFE8 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026F08C 0026BFEC 89 03 00 06 */ lbz r8, 6(r3) -/* 8026F090 0026BFF0 88 E3 00 05 */ lbz r7, 5(r3) -/* 8026F094 0026BFF4 88 C3 00 04 */ lbz r6, 4(r3) -/* 8026F098 0026BFF8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F09C 0026BFFC 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F0A0 0026C000 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F0A4 0026C004 89 43 00 07 */ lbz r10, 7(r3) -/* 8026F0A8 0026C008 38 63 01 68 */ addi r3, r3, 0x168 -/* 8026F0AC 0026C00C 88 C4 00 36 */ lbz r6, 0x36(r4) -/* 8026F0B0 0026C010 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026F0B4 0026C014 7D 48 36 30 */ sraw r8, r10, r6 -/* 8026F0B8 0026C018 88 C4 00 34 */ lbz r6, 0x34(r4) -/* 8026F0BC 0026C01C 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026F0C0 0026C020 7D 46 36 30 */ sraw r6, r10, r6 -/* 8026F0C4 0026C024 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F0C8 0026C028 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F0CC 0026C02C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F0D0 0026C030 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F0D4 0026C034 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F0D8 0026C038 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F0DC 0026C03C 42 00 FF 9C */ bdnz lbl_8026F078 - -.global sub_8026f0e0 -sub_8026f0e0: -/* 8026F0E0 0026C040 4E 80 00 20 */ blr -lbl_8026F0E4: -/* 8026F0E4 0026C044 C0 03 00 00 */ lfs f0, 0(r3) -/* 8026F0E8 0026C048 3D 00 CC 01 */ lis r8, 0xCC008000@ha -/* 8026F0EC 0026C04C 38 C0 00 FF */ li r6, 0xff -/* 8026F0F0 0026C050 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F0F4 0026C054 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026F0F8 0026C058 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F0FC 0026C05C 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026F100 0026C060 88 A3 00 05 */ lbz r5, 5(r3) -/* 8026F104 0026C064 88 03 00 04 */ lbz r0, 4(r3) -/* 8026F108 0026C068 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F10C 0026C06C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F110 0026C070 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F114 0026C074 89 23 00 07 */ lbz r9, 7(r3) -/* 8026F118 0026C078 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F11C 0026C07C 88 A4 00 35 */ lbz r5, 0x35(r4) -/* 8026F120 0026C080 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026F124 0026C084 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F128 0026C088 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026F12C 0026C08C 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F130 0026C090 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F134 0026C094 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F138 0026C098 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F13C 0026C09C 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F140 0026C0A0 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026F144 0026C0A4 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8026F148 0026C0A8 1C 00 01 68 */ mulli r0, r0, 0x168 -/* 8026F14C 0026C0AC EC 02 00 2A */ fadds f0, f2, f0 -/* 8026F150 0026C0B0 7C 63 02 14 */ add r3, r3, r0 -/* 8026F154 0026C0B4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8026F158 0026C0B8 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F15C 0026C0BC D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F160 0026C0C0 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026F164 0026C0C4 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026F168 0026C0C8 88 A3 00 05 */ lbz r5, 5(r3) -/* 8026F16C 0026C0CC 88 03 00 04 */ lbz r0, 4(r3) -/* 8026F170 0026C0D0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F174 0026C0D4 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F178 0026C0D8 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F17C 0026C0DC 88 E3 00 07 */ lbz r7, 7(r3) -/* 8026F180 0026C0E0 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F184 0026C0E4 88 64 00 35 */ lbz r3, 0x35(r4) -/* 8026F188 0026C0E8 7C E5 06 30 */ sraw r5, r7, r0 -/* 8026F18C 0026C0EC 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F190 0026C0F0 7C E3 1E 30 */ sraw r3, r7, r3 -/* 8026F194 0026C0F4 7C E0 06 30 */ sraw r0, r7, r0 -/* 8026F198 0026C0F8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F19C 0026C0FC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) -/* 8026F1A0 0026C100 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F1A4 0026C104 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F1A8 0026C108 4E 80 00 20 */ blr - -.global sub_8026f1ac -sub_8026f1ac: -/* 8026F1AC 0026C10C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8026F1B0 0026C110 41 82 01 14 */ beq lbl_8026F2C4 -/* 8026F1B4 0026C114 80 AD A5 74 */ lwz r5, lbl_805A9134@sda21(r13) -/* 8026F1B8 0026C118 3D 20 CC 01 */ lis r9, 0xcc01 -/* 8026F1BC 0026C11C 38 C0 00 FF */ li r6, 0xff -/* 8026F1C0 0026C120 2C 05 00 00 */ cmpwi r5, 0 -/* 8026F1C4 0026C124 38 A5 00 01 */ addi r5, r5, 1 -/* 8026F1C8 0026C128 4D 80 00 20 */ bltlr -/* 8026F1CC 0026C12C 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f -/* 8026F1D0 0026C130 7C 09 03 A6 */ mtctr r0 -/* 8026F1D4 0026C134 41 82 00 9C */ beq lbl_8026F270 -lbl_8026F1D8: -/* 8026F1D8 0026C138 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026F1DC 0026C13C D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026F1E0 0026C140 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026F1E4 0026C144 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026F1E8 0026C148 89 43 00 07 */ lbz r10, 7(r3) -/* 8026F1EC 0026C14C 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F1F0 0026C150 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026F1F4 0026C154 7D 48 06 30 */ sraw r8, r10, r0 -/* 8026F1F8 0026C158 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F1FC 0026C15C 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026F200 0026C160 7D 40 06 30 */ sraw r0, r10, r0 -/* 8026F204 0026C164 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F208 0026C168 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F20C 0026C16C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F210 0026C170 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F214 0026C174 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F218 0026C178 C0 63 01 68 */ lfs f3, 0x168(r3) -/* 8026F21C 0026C17C EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F220 0026C180 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026F224 0026C184 D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026F228 0026C188 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026F22C 0026C18C 89 43 01 6F */ lbz r10, 0x16f(r3) -/* 8026F230 0026C190 38 63 02 D0 */ addi r3, r3, 0x2d0 -/* 8026F234 0026C194 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F238 0026C198 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026F23C 0026C19C 7D 48 06 30 */ sraw r8, r10, r0 -/* 8026F240 0026C1A0 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F244 0026C1A4 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026F248 0026C1A8 7D 40 06 30 */ sraw r0, r10, r0 -/* 8026F24C 0026C1AC 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F250 0026C1B0 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F254 0026C1B4 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F258 0026C1B8 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F25C 0026C1BC C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F260 0026C1C0 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F264 0026C1C4 42 00 FF 74 */ bdnz lbl_8026F1D8 -/* 8026F268 0026C1C8 70 A5 00 01 */ andi. r5, r5, 1 -/* 8026F26C 0026C1CC 4D 82 00 20 */ beqlr -lbl_8026F270: -/* 8026F270 0026C1D0 7C A9 03 A6 */ mtctr r5 -lbl_8026F274: -/* 8026F274 0026C1D4 C0 63 00 00 */ lfs f3, 0(r3) -/* 8026F278 0026C1D8 D0 29 80 00 */ stfs f1, 0xCC008000@l(r9) -/* 8026F27C 0026C1DC D0 49 80 00 */ stfs f2, 0xCC008000@l(r9) -/* 8026F280 0026C1E0 D0 69 80 00 */ stfs f3, 0xCC008000@l(r9) -/* 8026F284 0026C1E4 89 43 00 07 */ lbz r10, 7(r3) -/* 8026F288 0026C1E8 38 63 01 68 */ addi r3, r3, 0x168 -/* 8026F28C 0026C1EC 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F290 0026C1F0 88 E4 00 35 */ lbz r7, 0x35(r4) -/* 8026F294 0026C1F4 7D 48 06 30 */ sraw r8, r10, r0 -/* 8026F298 0026C1F8 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F29C 0026C1FC 7D 47 3E 30 */ sraw r7, r10, r7 -/* 8026F2A0 0026C200 7D 40 06 30 */ sraw r0, r10, r0 -/* 8026F2A4 0026C204 98 09 80 00 */ stb r0, 0xCC008000@l(r9) -/* 8026F2A8 0026C208 98 E9 80 00 */ stb r7, 0xCC008000@l(r9) -/* 8026F2AC 0026C20C 99 09 80 00 */ stb r8, 0xCC008000@l(r9) -/* 8026F2B0 0026C210 98 C9 80 00 */ stb r6, 0xCC008000@l(r9) -/* 8026F2B4 0026C214 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8026F2B8 0026C218 EC 42 00 2A */ fadds f2, f2, f0 -/* 8026F2BC 0026C21C 42 00 FF B8 */ bdnz lbl_8026F274 - -.global sub_8026f2c0 -sub_8026f2c0: -/* 8026F2C0 0026C220 4E 80 00 20 */ blr -lbl_8026F2C4: -/* 8026F2C4 0026C224 C0 03 00 00 */ lfs f0, 0(r3) -/* 8026F2C8 0026C228 3D 00 CC 01 */ lis r8, 0xCC008000@ha -/* 8026F2CC 0026C22C 38 C0 00 FF */ li r6, 0xff -/* 8026F2D0 0026C230 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F2D4 0026C234 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026F2D8 0026C238 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F2DC 0026C23C 89 23 00 07 */ lbz r9, 7(r3) -/* 8026F2E0 0026C240 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F2E4 0026C244 88 A4 00 35 */ lbz r5, 0x35(r4) -/* 8026F2E8 0026C248 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026F2EC 0026C24C 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F2F0 0026C250 7D 25 2E 30 */ sraw r5, r9, r5 -/* 8026F2F4 0026C254 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F2F8 0026C258 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F2FC 0026C25C 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F300 0026C260 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F304 0026C264 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F308 0026C268 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) -/* 8026F30C 0026C26C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8026F310 0026C270 1C 00 01 68 */ mulli r0, r0, 0x168 -/* 8026F314 0026C274 EC 02 00 2A */ fadds f0, f2, f0 -/* 8026F318 0026C278 7C 63 02 14 */ add r3, r3, r0 -/* 8026F31C 0026C27C C0 43 00 00 */ lfs f2, 0(r3) -/* 8026F320 0026C280 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F324 0026C284 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F328 0026C288 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026F32C 0026C28C 88 E3 00 07 */ lbz r7, 7(r3) -/* 8026F330 0026C290 88 04 00 36 */ lbz r0, 0x36(r4) -/* 8026F334 0026C294 88 64 00 35 */ lbz r3, 0x35(r4) -/* 8026F338 0026C298 7C E5 06 30 */ sraw r5, r7, r0 -/* 8026F33C 0026C29C 88 04 00 34 */ lbz r0, 0x34(r4) -/* 8026F340 0026C2A0 7C E3 1E 30 */ sraw r3, r7, r3 -/* 8026F344 0026C2A4 7C E0 06 30 */ sraw r0, r7, r0 -/* 8026F348 0026C2A8 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F34C 0026C2AC 98 68 80 00 */ stb r3, 0xCC008000@l(r8) -/* 8026F350 0026C2B0 98 A8 80 00 */ stb r5, 0xCC008000@l(r8) -/* 8026F354 0026C2B4 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F358 0026C2B8 4E 80 00 20 */ blr - -.global RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -RenderTileWithRipplesNBT__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: -/* 8026F35C 0026C2BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026F360 0026C2C0 7C 08 02 A6 */ mflr r0 -/* 8026F364 0026C2C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8026F368 0026C2C8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8026F36C 0026C2CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8026F370 0026C2D0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8026F374 0026C2D4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8026F378 0026C2D8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8026F37C 0026C2DC FF C0 08 90 */ fmr f30, f1 -/* 8026F380 0026C2E0 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) -/* 8026F384 0026C2E4 FF E0 10 90 */ fmr f31, f2 -/* 8026F388 0026C2E8 7C 7B 1B 78 */ mr r27, r3 -/* 8026F38C 0026C2EC 7C BC 2B 78 */ mr r28, r5 -/* 8026F390 0026C2F0 7C 9E 23 78 */ mr r30, r4 -/* 8026F394 0026C2F4 54 9F 08 3C */ slwi r31, r4, 1 -/* 8026F398 0026C2F8 48 00 00 44 */ b lbl_8026F3DC -lbl_8026F39C: -/* 8026F39C 0026C2FC 57 E5 04 3E */ clrlwi r5, r31, 0x10 -/* 8026F3A0 0026C300 38 60 00 98 */ li r3, 0x98 -/* 8026F3A4 0026C304 38 80 00 00 */ li r4, 0 -/* 8026F3A8 0026C308 48 09 91 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026F3AC 0026C30C FC 20 F0 90 */ fmr f1, f30 -/* 8026F3B0 0026C310 C0 7C 00 18 */ lfs f3, 0x18(r28) -/* 8026F3B4 0026C314 FC 40 F8 90 */ fmr f2, f31 -/* 8026F3B8 0026C318 7F 63 DB 78 */ mr r3, r27 -/* 8026F3BC 0026C31C 7F C4 F3 78 */ mr r4, r30 -/* 8026F3C0 0026C320 7F 85 E3 78 */ mr r5, r28 -/* 8026F3C4 0026C324 48 00 00 45 */ bl sub_8026f408 -/* 8026F3C8 0026C328 48 09 91 B9 */ bl End__3CGXFv -/* 8026F3CC 0026C32C C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 8026F3D0 0026C330 3B BD FF FF */ addi r29, r29, -1 -/* 8026F3D4 0026C334 3B 7B 01 68 */ addi r27, r27, 0x168 -/* 8026F3D8 0026C338 EF FF 00 2A */ fadds f31, f31, f0 -lbl_8026F3DC: -/* 8026F3DC 0026C33C 2C 1D 00 00 */ cmpwi r29, 0 -/* 8026F3E0 0026C340 41 81 FF BC */ bgt lbl_8026F39C -/* 8026F3E4 0026C344 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8026F3E8 0026C348 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8026F3EC 0026C34C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8026F3F0 0026C350 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8026F3F4 0026C354 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8026F3F8 0026C358 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026F3FC 0026C35C 7C 08 03 A6 */ mtlr r0 -/* 8026F400 0026C360 38 21 00 40 */ addi r1, r1, 0x40 -/* 8026F404 0026C364 4E 80 00 20 */ blr - -.global sub_8026f408 -sub_8026f408: -/* 8026F408 0026C368 EC 82 18 2A */ fadds f4, f2, f3 -/* 8026F40C 0026C36C 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8026F410 0026C370 7C 89 03 A6 */ mtctr r4 -/* 8026F414 0026C374 2C 04 00 00 */ cmpwi r4, 0 -/* 8026F418 0026C378 4D 82 00 20 */ beqlr -lbl_8026F41C: -/* 8026F41C 0026C37C C0 03 00 00 */ lfs f0, 0(r3) -/* 8026F420 0026C380 39 00 00 FF */ li r8, 0xff -/* 8026F424 0026C384 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8026F428 0026C388 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8026F42C 0026C38C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8026F430 0026C390 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026F434 0026C394 88 83 00 05 */ lbz r4, 5(r3) -/* 8026F438 0026C398 88 03 00 04 */ lbz r0, 4(r3) -/* 8026F43C 0026C39C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F440 0026C3A0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F444 0026C3A4 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F448 0026C3A8 88 83 00 05 */ lbz r4, 5(r3) -/* 8026F44C 0026C3AC 88 E3 00 06 */ lbz r7, 6(r3) -/* 8026F450 0026C3B0 88 03 00 04 */ lbz r0, 4(r3) -/* 8026F454 0026C3B4 7C 84 00 D0 */ neg r4, r4 -/* 8026F458 0026C3B8 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F45C 0026C3BC 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F460 0026C3C0 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F464 0026C3C4 88 83 00 04 */ lbz r4, 4(r3) -/* 8026F468 0026C3C8 88 E3 00 05 */ lbz r7, 5(r3) -/* 8026F46C 0026C3CC 88 03 00 06 */ lbz r0, 6(r3) -/* 8026F470 0026C3D0 7C 84 00 D0 */ neg r4, r4 -/* 8026F474 0026C3D4 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F478 0026C3D8 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F47C 0026C3DC 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F480 0026C3E0 89 23 00 07 */ lbz r9, 7(r3) -/* 8026F484 0026C3E4 88 05 00 36 */ lbz r0, 0x36(r5) -/* 8026F488 0026C3E8 88 85 00 35 */ lbz r4, 0x35(r5) -/* 8026F48C 0026C3EC 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026F490 0026C3F0 88 05 00 34 */ lbz r0, 0x34(r5) -/* 8026F494 0026C3F4 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026F498 0026C3F8 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F49C 0026C3FC 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F4A0 0026C400 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F4A4 0026C404 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F4A8 0026C408 99 06 80 00 */ stb r8, 0xCC008000@l(r6) -/* 8026F4AC 0026C40C C0 03 01 68 */ lfs f0, 0x168(r3) -/* 8026F4B0 0026C410 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8026F4B4 0026C414 EC 21 18 2A */ fadds f1, f1, f3 -/* 8026F4B8 0026C418 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) -/* 8026F4BC 0026C41C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8026F4C0 0026C420 88 E3 01 6E */ lbz r7, 0x16e(r3) -/* 8026F4C4 0026C424 88 83 01 6D */ lbz r4, 0x16d(r3) -/* 8026F4C8 0026C428 88 03 01 6C */ lbz r0, 0x16c(r3) -/* 8026F4CC 0026C42C 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F4D0 0026C430 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F4D4 0026C434 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F4D8 0026C438 88 83 01 6D */ lbz r4, 0x16d(r3) -/* 8026F4DC 0026C43C 88 E3 01 6E */ lbz r7, 0x16e(r3) -/* 8026F4E0 0026C440 88 03 01 6C */ lbz r0, 0x16c(r3) -/* 8026F4E4 0026C444 7C 84 00 D0 */ neg r4, r4 -/* 8026F4E8 0026C448 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F4EC 0026C44C 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F4F0 0026C450 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F4F4 0026C454 88 83 01 6C */ lbz r4, 0x16c(r3) -/* 8026F4F8 0026C458 88 E3 01 6D */ lbz r7, 0x16d(r3) -/* 8026F4FC 0026C45C 88 03 01 6E */ lbz r0, 0x16e(r3) -/* 8026F500 0026C460 7C 84 00 D0 */ neg r4, r4 -/* 8026F504 0026C464 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F508 0026C468 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F50C 0026C46C 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F510 0026C470 89 23 01 6F */ lbz r9, 0x16f(r3) -/* 8026F514 0026C474 38 63 00 08 */ addi r3, r3, 8 -/* 8026F518 0026C478 88 05 00 36 */ lbz r0, 0x36(r5) -/* 8026F51C 0026C47C 88 85 00 35 */ lbz r4, 0x35(r5) -/* 8026F520 0026C480 7D 27 06 30 */ sraw r7, r9, r0 -/* 8026F524 0026C484 88 05 00 34 */ lbz r0, 0x34(r5) -/* 8026F528 0026C488 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026F52C 0026C48C 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F530 0026C490 98 06 80 00 */ stb r0, 0xCC008000@l(r6) -/* 8026F534 0026C494 98 86 80 00 */ stb r4, 0xCC008000@l(r6) -/* 8026F538 0026C498 98 E6 80 00 */ stb r7, 0xCC008000@l(r6) -/* 8026F53C 0026C49C 99 06 80 00 */ stb r8, 0xCC008000@l(r6) -/* 8026F540 0026C4A0 42 00 FE DC */ bdnz lbl_8026F41C - -.global sub_8026f544 -sub_8026f544: -/* 8026F544 0026C4A4 4E 80 00 20 */ blr - -.global RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -RenderTileWithRipplesNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: -/* 8026F548 0026C4A8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026F54C 0026C4AC 7C 08 02 A6 */ mflr r0 -/* 8026F550 0026C4B0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8026F554 0026C4B4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8026F558 0026C4B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8026F55C 0026C4BC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8026F560 0026C4C0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8026F564 0026C4C4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8026F568 0026C4C8 FF C0 08 90 */ fmr f30, f1 -/* 8026F56C 0026C4CC 83 AD A5 74 */ lwz r29, lbl_805A9134@sda21(r13) -/* 8026F570 0026C4D0 FF E0 10 90 */ fmr f31, f2 -/* 8026F574 0026C4D4 7C 7B 1B 78 */ mr r27, r3 -/* 8026F578 0026C4D8 7C BC 2B 78 */ mr r28, r5 -/* 8026F57C 0026C4DC 7C 9E 23 78 */ mr r30, r4 -/* 8026F580 0026C4E0 54 9F 08 3C */ slwi r31, r4, 1 -/* 8026F584 0026C4E4 48 00 00 44 */ b lbl_8026F5C8 -lbl_8026F588: -/* 8026F588 0026C4E8 57 E5 04 3E */ clrlwi r5, r31, 0x10 -/* 8026F58C 0026C4EC 38 60 00 98 */ li r3, 0x98 -/* 8026F590 0026C4F0 38 80 00 00 */ li r4, 0 -/* 8026F594 0026C4F4 48 09 8F F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026F598 0026C4F8 FC 20 F0 90 */ fmr f1, f30 -/* 8026F59C 0026C4FC C0 7C 00 18 */ lfs f3, 0x18(r28) -/* 8026F5A0 0026C500 FC 40 F8 90 */ fmr f2, f31 -/* 8026F5A4 0026C504 7F 63 DB 78 */ mr r3, r27 -/* 8026F5A8 0026C508 7F C4 F3 78 */ mr r4, r30 -/* 8026F5AC 0026C50C 7F 85 E3 78 */ mr r5, r28 -/* 8026F5B0 0026C510 48 00 00 45 */ bl sub_8026f5f4 -/* 8026F5B4 0026C514 48 09 8F CD */ bl End__3CGXFv -/* 8026F5B8 0026C518 C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 8026F5BC 0026C51C 3B BD FF FF */ addi r29, r29, -1 -/* 8026F5C0 0026C520 3B 7B 01 68 */ addi r27, r27, 0x168 -/* 8026F5C4 0026C524 EF FF 00 2A */ fadds f31, f31, f0 -lbl_8026F5C8: -/* 8026F5C8 0026C528 2C 1D 00 00 */ cmpwi r29, 0 -/* 8026F5CC 0026C52C 41 81 FF BC */ bgt lbl_8026F588 -/* 8026F5D0 0026C530 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8026F5D4 0026C534 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8026F5D8 0026C538 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8026F5DC 0026C53C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8026F5E0 0026C540 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8026F5E4 0026C544 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026F5E8 0026C548 7C 08 03 A6 */ mtlr r0 -/* 8026F5EC 0026C54C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8026F5F0 0026C550 4E 80 00 20 */ blr - -.global sub_8026f5f4 -sub_8026f5f4: -/* 8026F5F4 0026C554 EC 82 18 2A */ fadds f4, f2, f3 -/* 8026F5F8 0026C558 3D 00 CC 01 */ lis r8, 0xCC008000@ha -/* 8026F5FC 0026C55C 7C 89 03 A6 */ mtctr r4 -/* 8026F600 0026C560 2C 04 00 00 */ cmpwi r4, 0 -/* 8026F604 0026C564 4D 82 00 20 */ beqlr -lbl_8026F608: -/* 8026F608 0026C568 C0 03 00 00 */ lfs f0, 0(r3) -/* 8026F60C 0026C56C 38 E0 00 FF */ li r7, 0xff -/* 8026F610 0026C570 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F614 0026C574 D0 48 80 00 */ stfs f2, 0xCC008000@l(r8) -/* 8026F618 0026C578 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F61C 0026C57C 88 C3 00 06 */ lbz r6, 6(r3) -/* 8026F620 0026C580 88 83 00 05 */ lbz r4, 5(r3) -/* 8026F624 0026C584 88 03 00 04 */ lbz r0, 4(r3) -/* 8026F628 0026C588 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F62C 0026C58C 98 88 80 00 */ stb r4, 0xCC008000@l(r8) -/* 8026F630 0026C590 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F634 0026C594 89 23 00 07 */ lbz r9, 7(r3) -/* 8026F638 0026C598 88 05 00 36 */ lbz r0, 0x36(r5) -/* 8026F63C 0026C59C 88 85 00 35 */ lbz r4, 0x35(r5) -/* 8026F640 0026C5A0 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026F644 0026C5A4 88 05 00 34 */ lbz r0, 0x34(r5) -/* 8026F648 0026C5A8 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026F64C 0026C5AC 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F650 0026C5B0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F654 0026C5B4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) -/* 8026F658 0026C5B8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F65C 0026C5BC 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F660 0026C5C0 C0 03 01 68 */ lfs f0, 0x168(r3) -/* 8026F664 0026C5C4 D0 28 80 00 */ stfs f1, 0xCC008000@l(r8) -/* 8026F668 0026C5C8 EC 21 18 2A */ fadds f1, f1, f3 -/* 8026F66C 0026C5CC D0 88 80 00 */ stfs f4, 0xCC008000@l(r8) -/* 8026F670 0026C5D0 D0 08 80 00 */ stfs f0, 0xCC008000@l(r8) -/* 8026F674 0026C5D4 88 C3 01 6E */ lbz r6, 0x16e(r3) -/* 8026F678 0026C5D8 88 83 01 6D */ lbz r4, 0x16d(r3) -/* 8026F67C 0026C5DC 88 03 01 6C */ lbz r0, 0x16c(r3) -/* 8026F680 0026C5E0 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F684 0026C5E4 98 88 80 00 */ stb r4, 0xCC008000@l(r8) -/* 8026F688 0026C5E8 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F68C 0026C5EC 89 23 01 6F */ lbz r9, 0x16f(r3) -/* 8026F690 0026C5F0 38 63 00 08 */ addi r3, r3, 8 -/* 8026F694 0026C5F4 88 05 00 36 */ lbz r0, 0x36(r5) -/* 8026F698 0026C5F8 88 85 00 35 */ lbz r4, 0x35(r5) -/* 8026F69C 0026C5FC 7D 26 06 30 */ sraw r6, r9, r0 -/* 8026F6A0 0026C600 88 05 00 34 */ lbz r0, 0x34(r5) -/* 8026F6A4 0026C604 7D 24 26 30 */ sraw r4, r9, r4 -/* 8026F6A8 0026C608 7D 20 06 30 */ sraw r0, r9, r0 -/* 8026F6AC 0026C60C 98 08 80 00 */ stb r0, 0xCC008000@l(r8) -/* 8026F6B0 0026C610 98 88 80 00 */ stb r4, 0xCC008000@l(r8) -/* 8026F6B4 0026C614 98 C8 80 00 */ stb r6, 0xCC008000@l(r8) -/* 8026F6B8 0026C618 98 E8 80 00 */ stb r7, 0xCC008000@l(r8) -/* 8026F6BC 0026C61C 42 00 FF 4C */ bdnz lbl_8026F608 - -.global sub_8026f6c0 -sub_8026f6c0: -/* 8026F6C0 0026C620 4E 80 00 20 */ blr - -.global RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo -RenderTileWithRipplesNoNormals__fRA45_A45_CQ220CFluidPlaneCPURender13SHFieldSamplefiRCQ220CFluidPlaneCPURender10SPatchInfo: -/* 8026F6C4 0026C624 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026F6C8 0026C628 7C 08 02 A6 */ mflr r0 -/* 8026F6CC 0026C62C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8026F6D0 0026C630 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8026F6D4 0026C634 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8026F6D8 0026C638 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8026F6DC 0026C63C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8026F6E0 0026C640 BF 41 00 08 */ stmw r26, 8(r1) -/* 8026F6E4 0026C644 FF C0 08 90 */ fmr f30, f1 -/* 8026F6E8 0026C648 83 8D A5 74 */ lwz r28, lbl_805A9134@sda21(r13) -/* 8026F6EC 0026C64C FF E0 10 90 */ fmr f31, f2 -/* 8026F6F0 0026C650 7C 7A 1B 78 */ mr r26, r3 -/* 8026F6F4 0026C654 7C BB 2B 78 */ mr r27, r5 -/* 8026F6F8 0026C658 7C 9D 23 78 */ mr r29, r4 -/* 8026F6FC 0026C65C 54 9E 08 3C */ slwi r30, r4, 1 -/* 8026F700 0026C660 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8026F704 0026C664 48 00 00 D4 */ b lbl_8026F7D8 -lbl_8026F708: -/* 8026F708 0026C668 57 C5 04 3E */ clrlwi r5, r30, 0x10 -/* 8026F70C 0026C66C 38 60 00 98 */ li r3, 0x98 -/* 8026F710 0026C670 38 80 00 00 */ li r4, 0 -/* 8026F714 0026C674 48 09 8E 71 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8026F718 0026C678 C0 3B 00 18 */ lfs f1, 0x18(r27) -/* 8026F71C 0026C67C 7F A7 EB 78 */ mr r7, r29 -/* 8026F720 0026C680 FC 00 F0 90 */ fmr f0, f30 -/* 8026F724 0026C684 7F 46 D3 78 */ mr r6, r26 -/* 8026F728 0026C688 EC 7F 08 2A */ fadds f3, f31, f1 -/* 8026F72C 0026C68C 7F A9 03 A6 */ mtctr r29 -/* 8026F730 0026C690 2C 1D 00 00 */ cmpwi r29, 0 -/* 8026F734 0026C694 41 82 00 90 */ beq lbl_8026F7C4 -lbl_8026F738: -/* 8026F738 0026C698 C0 46 00 00 */ lfs f2, 0(r6) -/* 8026F73C 0026C69C 38 A0 00 FF */ li r5, 0xff -/* 8026F740 0026C6A0 38 E7 FF FF */ addi r7, r7, -1 -/* 8026F744 0026C6A4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8026F748 0026C6A8 D3 FF 80 00 */ stfs f31, 0xCC008000@l(r31) -/* 8026F74C 0026C6AC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8026F750 0026C6B0 89 06 00 07 */ lbz r8, 7(r6) -/* 8026F754 0026C6B4 88 1B 00 36 */ lbz r0, 0x36(r27) -/* 8026F758 0026C6B8 88 7B 00 35 */ lbz r3, 0x35(r27) -/* 8026F75C 0026C6BC 7D 04 06 30 */ sraw r4, r8, r0 -/* 8026F760 0026C6C0 88 1B 00 34 */ lbz r0, 0x34(r27) -/* 8026F764 0026C6C4 7D 03 1E 30 */ sraw r3, r8, r3 -/* 8026F768 0026C6C8 7D 00 06 30 */ sraw r0, r8, r0 -/* 8026F76C 0026C6CC 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) -/* 8026F770 0026C6D0 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) -/* 8026F774 0026C6D4 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) -/* 8026F778 0026C6D8 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) -/* 8026F77C 0026C6DC C0 46 01 68 */ lfs f2, 0x168(r6) -/* 8026F780 0026C6E0 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8026F784 0026C6E4 EC 00 08 2A */ fadds f0, f0, f1 -/* 8026F788 0026C6E8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8026F78C 0026C6EC D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8026F790 0026C6F0 89 06 01 6F */ lbz r8, 0x16f(r6) -/* 8026F794 0026C6F4 38 C6 00 08 */ addi r6, r6, 8 -/* 8026F798 0026C6F8 88 1B 00 36 */ lbz r0, 0x36(r27) -/* 8026F79C 0026C6FC 88 7B 00 35 */ lbz r3, 0x35(r27) -/* 8026F7A0 0026C700 7D 04 06 30 */ sraw r4, r8, r0 -/* 8026F7A4 0026C704 88 1B 00 34 */ lbz r0, 0x34(r27) -/* 8026F7A8 0026C708 7D 03 1E 30 */ sraw r3, r8, r3 -/* 8026F7AC 0026C70C 7D 00 06 30 */ sraw r0, r8, r0 -/* 8026F7B0 0026C710 98 1F 80 00 */ stb r0, 0xCC008000@l(r31) -/* 8026F7B4 0026C714 98 7F 80 00 */ stb r3, 0xCC008000@l(r31) -/* 8026F7B8 0026C718 98 9F 80 00 */ stb r4, 0xCC008000@l(r31) -/* 8026F7BC 0026C71C 98 BF 80 00 */ stb r5, 0xCC008000@l(r31) -/* 8026F7C0 0026C720 42 00 FF 78 */ bdnz lbl_8026F738 -lbl_8026F7C4: -/* 8026F7C4 0026C724 48 09 8D BD */ bl End__3CGXFv -/* 8026F7C8 0026C728 C0 1B 00 18 */ lfs f0, 0x18(r27) -/* 8026F7CC 0026C72C 3B 9C FF FF */ addi r28, r28, -1 -/* 8026F7D0 0026C730 3B 5A 01 68 */ addi r26, r26, 0x168 -/* 8026F7D4 0026C734 EF FF 00 2A */ fadds f31, f31, f0 -lbl_8026F7D8: -/* 8026F7D8 0026C738 2C 1C 00 00 */ cmpwi r28, 0 -/* 8026F7DC 0026C73C 41 81 FF 2C */ bgt lbl_8026F708 -/* 8026F7E0 0026C740 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8026F7E4 0026C744 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8026F7E8 0026C748 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8026F7EC 0026C74C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8026F7F0 0026C750 BB 41 00 08 */ lmw r26, 8(r1) -/* 8026F7F4 0026C754 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026F7F8 0026C758 7C 08 03 A6 */ mtlr r0 -/* 8026F7FC 0026C75C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8026F800 0026C760 4E 80 00 20 */ blr - -.global PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo -PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo: -/* 8026F804 0026C764 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026F808 0026C768 3C 00 43 30 */ lis r0, 0x4330 -/* 8026F80C 0026C76C 3C C0 80 57 */ lis r6, lbl_8057198C@ha -/* 8026F810 0026C770 C0 82 BB A4 */ lfs f4, lbl_805AD8C4@sda21(r2) -/* 8026F814 0026C774 C0 43 00 14 */ lfs f2, 0x14(r3) -/* 8026F818 0026C778 38 C6 19 8C */ addi r6, r6, lbl_8057198C@l -/* 8026F81C 0026C77C C0 03 00 04 */ lfs f0, 4(r3) -/* 8026F820 0026C780 C0 A2 BB A8 */ lfs f5, lbl_805AD8C8@sda21(r2) -/* 8026F824 0026C784 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8026F828 0026C788 C0 22 BB AC */ lfs f1, lbl_805AD8CC@sda21(r2) -/* 8026F82C 0026C78C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8026F830 0026C790 C1 23 00 08 */ lfs f9, 8(r3) -/* 8026F834 0026C794 EC 60 10 24 */ fdivs f3, f0, f2 -/* 8026F838 0026C798 C1 04 00 0C */ lfs f8, 0xc(r4) -/* 8026F83C 0026C79C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8026F840 0026C7A0 C8 42 BB 98 */ lfd f2, lbl_805AD8B8@sda21(r2) -/* 8026F844 0026C7A4 C0 E3 00 0C */ lfs f7, 0xc(r3) -/* 8026F848 0026C7A8 C0 C4 00 10 */ lfs f6, 0x10(r4) -/* 8026F84C 0026C7AC EC 84 18 28 */ fsubs f4, f4, f3 -/* 8026F850 0026C7B0 C1 64 00 24 */ lfs f11, 0x24(r4) -/* 8026F854 0026C7B4 EC 61 00 32 */ fmuls f3, f1, f0 -/* 8026F858 0026C7B8 C0 02 BB 90 */ lfs f0, lbl_805AD8B0@sda21(r2) -/* 8026F85C 0026C7BC ED 09 40 28 */ fsubs f8, f9, f8 -/* 8026F860 0026C7C0 EC 25 01 32 */ fmuls f1, f5, f4 -/* 8026F864 0026C7C4 EC 87 30 28 */ fsubs f4, f7, f6 -/* 8026F868 0026C7C8 EC AB 02 32 */ fmuls f5, f11, f8 -/* 8026F86C 0026C7CC FC 20 08 1E */ fctiwz f1, f1 -/* 8026F870 0026C7D0 EC 8B 01 32 */ fmuls f4, f11, f4 -/* 8026F874 0026C7D4 D8 21 00 20 */ stfd f1, 0x20(r1) -/* 8026F878 0026C7D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026F87C 0026C7DC 7C 06 00 AE */ lbzx r0, r6, r0 -/* 8026F880 0026C7E0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8026F884 0026C7E4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8026F888 0026C7E8 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 8026F88C 0026C7EC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026F890 0026C7F0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8026F894 0026C7F4 ED 41 00 72 */ fmuls f10, f1, f1 -/* 8026F898 0026C7F8 FC 00 50 00 */ fcmpu cr0, f0, f10 -/* 8026F89C 0026C7FC 40 82 00 08 */ bne lbl_8026F8A4 -/* 8026F8A0 0026C800 48 00 00 10 */ b lbl_8026F8B0 -lbl_8026F8A4: -/* 8026F8A4 0026C804 10 00 50 34 */ ps_rsqrte f0, f10 -/* 8026F8A8 0026C808 10 00 02 B2 */ ps_mul f0, f0, f10 -/* 8026F8AC 0026C80C FD 40 00 90 */ fmr f10, f0 -lbl_8026F8B0: -/* 8026F8B0 0026C810 C0 02 BB A4 */ lfs f0, lbl_805AD8C4@sda21(r2) -/* 8026F8B4 0026C814 38 61 00 1C */ addi r3, r1, 0x1c -/* 8026F8B8 0026C818 80 0D 98 48 */ lwz r0, lbl_805A8408@sda21(r13) -/* 8026F8BC 0026C81C EC 0B 02 BA */ fmadds f0, f11, f10, f0 -/* 8026F8C0 0026C820 EC 65 00 28 */ fsubs f3, f5, f0 -/* 8026F8C4 0026C824 EC 44 00 28 */ fsubs f2, f4, f0 -/* 8026F8C8 0026C828 EC 25 00 2A */ fadds f1, f5, f0 -/* 8026F8CC 0026C82C EC 04 00 2A */ fadds f0, f4, f0 -/* 8026F8D0 0026C830 FC 60 18 1E */ fctiwz f3, f3 -/* 8026F8D4 0026C834 FC 40 10 1E */ fctiwz f2, f2 -/* 8026F8D8 0026C838 FC 20 08 1E */ fctiwz f1, f1 -/* 8026F8DC 0026C83C FC 00 00 1E */ fctiwz f0, f0 -/* 8026F8E0 0026C840 D8 61 00 28 */ stfd f3, 0x28(r1) -/* 8026F8E4 0026C844 D8 41 00 20 */ stfd f2, 0x20(r1) -/* 8026F8E8 0026C848 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 8026F8EC 0026C84C D8 21 00 30 */ stfd f1, 0x30(r1) -/* 8026F8F0 0026C850 39 26 FF FF */ addi r9, r6, -1 -/* 8026F8F4 0026C854 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8026F8F8 0026C858 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 8026F8FC 0026C85C 7C 09 00 00 */ cmpw r9, r0 -/* 8026F900 0026C860 80 E1 00 34 */ lwz r7, 0x34(r1) -/* 8026F904 0026C864 39 06 FF FF */ addi r8, r6, -1 -/* 8026F908 0026C868 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 8026F90C 0026C86C 38 E7 00 01 */ addi r7, r7, 1 -/* 8026F910 0026C870 91 21 00 1C */ stw r9, 0x1c(r1) -/* 8026F914 0026C874 38 06 00 01 */ addi r0, r6, 1 -/* 8026F918 0026C878 91 01 00 18 */ stw r8, 0x18(r1) -/* 8026F91C 0026C87C 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8026F920 0026C880 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026F924 0026C884 40 80 00 08 */ bge lbl_8026F92C -/* 8026F928 0026C888 38 6D 98 48 */ addi r3, r13, lbl_805A8408@sda21 -lbl_8026F92C: -/* 8026F92C 0026C88C 80 03 00 00 */ lwz r0, 0(r3) -/* 8026F930 0026C890 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026F934 0026C894 90 05 00 04 */ stw r0, 4(r5) -/* 8026F938 0026C898 88 C4 00 00 */ lbz r6, 0(r4) -/* 8026F93C 0026C89C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F940 0026C8A0 7C C6 07 74 */ extsb r6, r6 -/* 8026F944 0026C8A4 7C 06 00 00 */ cmpw r6, r0 -/* 8026F948 0026C8A8 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026F94C 0026C8AC 40 80 00 08 */ bge lbl_8026F954 -/* 8026F950 0026C8B0 38 61 00 0C */ addi r3, r1, 0xc -lbl_8026F954: -/* 8026F954 0026C8B4 80 03 00 00 */ lwz r0, 0(r3) -/* 8026F958 0026C8B8 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8026F95C 0026C8BC 90 05 00 08 */ stw r0, 8(r5) -/* 8026F960 0026C8C0 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8026F964 0026C8C4 80 0D 98 4C */ lwz r0, lbl_805A840C@sda21(r13) -/* 8026F968 0026C8C8 7C 03 00 00 */ cmpw r3, r0 -/* 8026F96C 0026C8CC 40 80 00 08 */ bge lbl_8026F974 -/* 8026F970 0026C8D0 38 CD 98 4C */ addi r6, r13, lbl_805A840C@sda21 -lbl_8026F974: -/* 8026F974 0026C8D4 80 06 00 00 */ lwz r0, 0(r6) -/* 8026F978 0026C8D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8026F97C 0026C8DC 90 05 00 0C */ stw r0, 0xc(r5) -/* 8026F980 0026C8E0 88 84 00 01 */ lbz r4, 1(r4) -/* 8026F984 0026C8E4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8026F988 0026C8E8 7C 84 07 74 */ extsb r4, r4 -/* 8026F98C 0026C8EC 7C 04 00 00 */ cmpw r4, r0 -/* 8026F990 0026C8F0 90 81 00 08 */ stw r4, 8(r1) -/* 8026F994 0026C8F4 40 80 00 08 */ bge lbl_8026F99C -/* 8026F998 0026C8F8 38 61 00 08 */ addi r3, r1, 8 -lbl_8026F99C: -/* 8026F99C 0026C8FC 80 03 00 00 */ lwz r0, 0(r3) -/* 8026F9A0 0026C900 90 05 00 10 */ stw r0, 0x10(r5) -/* 8026F9A4 0026C904 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026F9A8 0026C908 80 05 00 14 */ lwz r0, 0x14(r5) -/* 8026F9AC 0026C90C 7C 03 00 00 */ cmpw r3, r0 -/* 8026F9B0 0026C910 40 80 00 0C */ bge lbl_8026F9BC -/* 8026F9B4 0026C914 38 65 00 14 */ addi r3, r5, 0x14 -/* 8026F9B8 0026C918 48 00 00 08 */ b lbl_8026F9C0 -lbl_8026F9BC: -/* 8026F9BC 0026C91C 38 61 00 1C */ addi r3, r1, 0x1c -lbl_8026F9C0: -/* 8026F9C0 0026C920 80 03 00 00 */ lwz r0, 0(r3) -/* 8026F9C4 0026C924 90 05 00 14 */ stw r0, 0x14(r5) -/* 8026F9C8 0026C928 80 65 00 18 */ lwz r3, 0x18(r5) -/* 8026F9CC 0026C92C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F9D0 0026C930 7C 03 00 00 */ cmpw r3, r0 -/* 8026F9D4 0026C934 40 80 00 0C */ bge lbl_8026F9E0 -/* 8026F9D8 0026C938 38 65 00 18 */ addi r3, r5, 0x18 -/* 8026F9DC 0026C93C 48 00 00 08 */ b lbl_8026F9E4 -lbl_8026F9E0: -/* 8026F9E0 0026C940 38 61 00 14 */ addi r3, r1, 0x14 -lbl_8026F9E4: -/* 8026F9E4 0026C944 80 03 00 00 */ lwz r0, 0(r3) -/* 8026F9E8 0026C948 90 05 00 18 */ stw r0, 0x18(r5) -/* 8026F9EC 0026C94C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8026F9F0 0026C950 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8026F9F4 0026C954 7C 03 00 00 */ cmpw r3, r0 -/* 8026F9F8 0026C958 40 80 00 0C */ bge lbl_8026FA04 -/* 8026F9FC 0026C95C 38 65 00 1C */ addi r3, r5, 0x1c -/* 8026FA00 0026C960 48 00 00 08 */ b lbl_8026FA08 -lbl_8026FA04: -/* 8026FA04 0026C964 38 61 00 18 */ addi r3, r1, 0x18 -lbl_8026FA08: -/* 8026FA08 0026C968 80 03 00 00 */ lwz r0, 0(r3) -/* 8026FA0C 0026C96C 90 05 00 1C */ stw r0, 0x1c(r5) -/* 8026FA10 0026C970 80 65 00 20 */ lwz r3, 0x20(r5) -/* 8026FA14 0026C974 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8026FA18 0026C978 7C 03 00 00 */ cmpw r3, r0 -/* 8026FA1C 0026C97C 40 80 00 0C */ bge lbl_8026FA28 -/* 8026FA20 0026C980 38 65 00 20 */ addi r3, r5, 0x20 -/* 8026FA24 0026C984 48 00 00 08 */ b lbl_8026FA2C -lbl_8026FA28: -/* 8026FA28 0026C988 38 61 00 10 */ addi r3, r1, 0x10 -lbl_8026FA2C: -/* 8026FA2C 0026C98C 80 03 00 00 */ lwz r0, 0(r3) -/* 8026FA30 0026C990 90 05 00 20 */ stw r0, 0x20(r5) -/* 8026FA34 0026C994 80 65 00 14 */ lwz r3, 0x14(r5) -/* 8026FA38 0026C998 80 05 00 18 */ lwz r0, 0x18(r5) -/* 8026FA3C 0026C99C 7C 03 00 00 */ cmpw r3, r0 -/* 8026FA40 0026C9A0 41 81 00 14 */ bgt lbl_8026FA54 -/* 8026FA44 0026C9A4 80 65 00 1C */ lwz r3, 0x1c(r5) -/* 8026FA48 0026C9A8 80 05 00 20 */ lwz r0, 0x20(r5) -/* 8026FA4C 0026C9AC 7C 03 00 00 */ cmpw r3, r0 -/* 8026FA50 0026C9B0 40 81 00 0C */ ble lbl_8026FA5C -lbl_8026FA54: -/* 8026FA54 0026C9B4 38 60 00 00 */ li r3, 0 -/* 8026FA58 0026C9B8 48 00 00 08 */ b lbl_8026FA60 -lbl_8026FA5C: -/* 8026FA5C 0026C9BC 38 60 00 01 */ li r3, 1 -lbl_8026FA60: -/* 8026FA60 0026C9C0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8026FA64 0026C9C4 4E 80 00 20 */ blr - -.global GetGlobalSineWave__Fv -GetGlobalSineWave__Fv: -/* 8026FA68 0026C9C8 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha -/* 8026FA6C 0026C9CC 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l -/* 8026FA70 0026C9D0 4E 80 00 20 */ blr - -.global InitializeSineWave__Fv -InitializeSineWave__Fv: -/* 8026FA74 0026C9D4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8026FA78 0026C9D8 7C 08 02 A6 */ mflr r0 -/* 8026FA7C 0026C9DC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8026FA80 0026C9E0 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8026FA84 0026C9E4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8026FA88 0026C9E8 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8026FA8C 0026C9EC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8026FA90 0026C9F0 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 8026FA94 0026C9F4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 8026FA98 0026C9F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026FA9C 0026C9FC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026FAA0 0026CA00 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026FAA4 0026CA04 88 0D A5 7C */ lbz r0, lbl_805A913C@sda21(r13) -/* 8026FAA8 0026CA08 28 00 00 00 */ cmplwi r0, 0 -/* 8026FAAC 0026CA0C 40 82 00 60 */ bne lbl_8026FB0C -/* 8026FAB0 0026CA10 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha -/* 8026FAB4 0026CA14 C3 A2 BB B0 */ lfs f29, lbl_805AD8D0@sda21(r2) -/* 8026FAB8 0026CA18 CB C2 BB 98 */ lfd f30, lbl_805AD8B8@sda21(r2) -/* 8026FABC 0026CA1C 3B C3 DC C0 */ addi r30, r3, lbl_8046DCC0@l -/* 8026FAC0 0026CA20 C3 E2 BB B4 */ lfs f31, lbl_805AD8D4@sda21(r2) -/* 8026FAC4 0026CA24 3B A0 00 00 */ li r29, 0 -/* 8026FAC8 0026CA28 3F E0 43 30 */ lis r31, 0x4330 -lbl_8026FACC: -/* 8026FACC 0026CA2C 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8026FAD0 0026CA30 93 E1 00 08 */ stw r31, 8(r1) -/* 8026FAD4 0026CA34 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026FAD8 0026CA38 C8 01 00 08 */ lfd f0, 8(r1) -/* 8026FADC 0026CA3C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8026FAE0 0026CA40 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8026FAE4 0026CA44 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 8026FAE8 0026CA48 48 12 4F F5 */ bl sin -/* 8026FAEC 0026CA4C FC 00 08 18 */ frsp f0, f1 -/* 8026FAF0 0026CA50 3B BD 00 01 */ addi r29, r29, 1 -/* 8026FAF4 0026CA54 2C 1D 01 00 */ cmpwi r29, 0x100 -/* 8026FAF8 0026CA58 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8026FAFC 0026CA5C 3B DE 00 04 */ addi r30, r30, 4 -/* 8026FB00 0026CA60 41 80 FF CC */ blt lbl_8026FACC -/* 8026FB04 0026CA64 38 00 00 01 */ li r0, 1 -/* 8026FB08 0026CA68 98 0D A5 7C */ stb r0, lbl_805A913C@sda21(r13) -lbl_8026FB0C: -/* 8026FB0C 0026CA6C 3C 60 80 47 */ lis r3, lbl_8046DCC0@ha -/* 8026FB10 0026CA70 38 63 DC C0 */ addi r3, r3, lbl_8046DCC0@l -/* 8026FB14 0026CA74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8026FB18 0026CA78 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8026FB1C 0026CA7C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8026FB20 0026CA80 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8026FB24 0026CA84 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 8026FB28 0026CA88 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 8026FB2C 0026CA8C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026FB30 0026CA90 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026FB34 0026CA94 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8026FB38 0026CA98 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8026FB3C 0026CA9C 7C 08 03 A6 */ mtlr r0 -/* 8026FB40 0026CAA0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8026FB44 0026CAA4 4E 80 00 20 */ blr - -.global GetSearchPath__9CBurrowerFv -GetSearchPath__9CBurrowerFv: -/* 8026FB48 0026CAA8 38 63 05 68 */ addi r3, r3, 0x568 -/* 8026FB4C 0026CAAC 4E 80 00 20 */ blr - -.global sub_8026fb50 -sub_8026fb50: -/* 8026FB50 0026CAB0 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 8026FB54 0026CAB4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8026FB58 0026CAB8 41 82 00 0C */ beq lbl_8026FB64 -/* 8026FB5C 0026CABC 38 63 06 8C */ addi r3, r3, 0x68c -/* 8026FB60 0026CAC0 4E 80 00 20 */ blr -lbl_8026FB64: -/* 8026FB64 0026CAC4 38 63 05 20 */ addi r3, r3, 0x520 -/* 8026FB68 0026CAC8 4E 80 00 20 */ blr - -.global TurnAround__9CBurrowerFR13CStateManager9EStateMsgf -TurnAround__9CBurrowerFR13CStateManager9EStateMsgf: -/* 8026FB6C 0026CACC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026FB70 0026CAD0 7C 08 02 A6 */ mflr r0 -/* 8026FB74 0026CAD4 2C 05 00 00 */ cmpwi r5, 0 -/* 8026FB78 0026CAD8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026FB7C 0026CADC 41 82 00 0C */ beq lbl_8026FB88 -/* 8026FB80 0026CAE0 41 80 00 50 */ blt lbl_8026FBD0 -/* 8026FB84 0026CAE4 48 00 00 4C */ b lbl_8026FBD0 -lbl_8026FB88: -/* 8026FB88 0026CAE8 C0 C3 00 58 */ lfs f6, 0x58(r3) -/* 8026FB8C 0026CAEC 38 81 00 08 */ addi r4, r1, 8 -/* 8026FB90 0026CAF0 C0 A3 00 48 */ lfs f5, 0x48(r3) -/* 8026FB94 0026CAF4 C0 83 00 38 */ lfs f4, 0x38(r3) -/* 8026FB98 0026CAF8 FC 20 30 50 */ fneg f1, f6 -/* 8026FB9C 0026CAFC FC 40 28 50 */ fneg f2, f5 -/* 8026FBA0 0026CB00 C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) -/* 8026FBA4 0026CB04 FC 60 20 50 */ fneg f3, f4 -/* 8026FBA8 0026CB08 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8026FBAC 0026CB0C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8026FBB0 0026CB10 D0 61 00 08 */ stfs f3, 8(r1) -/* 8026FBB4 0026CB14 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8026FBB8 0026CB18 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8026FBBC 0026CB1C D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 8026FBC0 0026CB20 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8026FBC4 0026CB24 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8026FBC8 0026CB28 38 63 00 04 */ addi r3, r3, 4 -/* 8026FBCC 0026CB2C 4B EC 1B 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8026FBD0: -/* 8026FBD0 0026CB30 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026FBD4 0026CB34 7C 08 03 A6 */ mtlr r0 -/* 8026FBD8 0026CB38 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026FBDC 0026CB3C 4E 80 00 20 */ blr - -.global Death__9CBurrowerFRC9CVector3fR13CStateManager -Death__9CBurrowerFRC9CVector3fR13CStateManager: -/* 8026FBE0 0026CB40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026FBE4 0026CB44 7C 08 02 A6 */ mflr r0 -/* 8026FBE8 0026CB48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026FBEC 0026CB4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026FBF0 0026CB50 7C 7F 1B 78 */ mr r31, r3 -/* 8026FBF4 0026CB54 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8026FBF8 0026CB58 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8026FBFC 0026CB5C 41 82 00 28 */ beq lbl_8026FC24 -/* 8026FC00 0026CB60 4B E0 B7 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 8026FC04 0026CB64 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 8026FC08 0026CB68 28 03 00 00 */ cmplwi r3, 0 -/* 8026FC0C 0026CB6C 41 82 00 18 */ beq lbl_8026FC24 -/* 8026FC10 0026CB70 81 83 00 00 */ lwz r12, 0(r3) -/* 8026FC14 0026CB74 38 80 00 00 */ li r4, 0 -/* 8026FC18 0026CB78 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8026FC1C 0026CB7C 7D 89 03 A6 */ mtctr r12 -/* 8026FC20 0026CB80 4E 80 04 21 */ bctrl -lbl_8026FC24: -/* 8026FC24 0026CB84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026FC28 0026CB88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026FC2C 0026CB8C 7C 08 03 A6 */ mtlr r0 -/* 8026FC30 0026CB90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026FC34 0026CB94 4E 80 00 20 */ blr - -.global AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__9CBurrowerCFRC14CFrustumPlanesRC13CStateManager: -/* 8026FC38 0026CB98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026FC3C 0026CB9C 7C 08 02 A6 */ mflr r0 -/* 8026FC40 0026CBA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026FC44 0026CBA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026FC48 0026CBA8 7C BF 2B 78 */ mr r31, r5 -/* 8026FC4C 0026CBAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026FC50 0026CBB0 7C 9E 23 78 */ mr r30, r4 -/* 8026FC54 0026CBB4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026FC58 0026CBB8 7C 7D 1B 78 */ mr r29, r3 -/* 8026FC5C 0026CBBC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8026FC60 0026CBC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8026FC64 0026CBC4 41 82 00 24 */ beq lbl_8026FC88 -/* 8026FC68 0026CBC8 80 9D 06 78 */ lwz r4, 0x678(r29) -/* 8026FC6C 0026CBCC 28 04 00 00 */ cmplwi r4, 0 -/* 8026FC70 0026CBD0 41 82 00 18 */ beq lbl_8026FC88 -/* 8026FC74 0026CBD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8026FC78 0026CBD8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026FC7C 0026CBDC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8026FC80 0026CBE0 7D 89 03 A6 */ mtctr r12 -/* 8026FC84 0026CBE4 4E 80 04 21 */ bctrl -lbl_8026FC88: -/* 8026FC88 0026CBE8 7F A3 EB 78 */ mr r3, r29 -/* 8026FC8C 0026CBEC 7F C4 F3 78 */ mr r4, r30 -/* 8026FC90 0026CBF0 7F E5 FB 78 */ mr r5, r31 -/* 8026FC94 0026CBF4 4B E0 7C 25 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager -/* 8026FC98 0026CBF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026FC9C 0026CBFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026FCA0 0026CC00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026FCA4 0026CC04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8026FCA8 0026CC08 7C 08 03 A6 */ mtlr r0 -/* 8026FCAC 0026CC0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026FCB0 0026CC10 4E 80 00 20 */ blr - -.global GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo -GetDamageVulnerability__9CBurrowerCFRC9CVector3fRC9CVector3fRC11CDamageInfo: -/* 8026FCB4 0026CC14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026FCB8 0026CC18 7C 08 02 A6 */ mflr r0 -/* 8026FCBC 0026CC1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026FCC0 0026CC20 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 8026FCC4 0026CC24 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8026FCC8 0026CC28 28 00 00 01 */ cmplwi r0, 1 -/* 8026FCCC 0026CC2C 41 82 00 10 */ beq lbl_8026FCDC -/* 8026FCD0 0026CC30 3C 60 80 57 */ lis r3, lbl_80572694@ha -/* 8026FCD4 0026CC34 38 63 26 94 */ addi r3, r3, lbl_80572694@l -/* 8026FCD8 0026CC38 48 00 00 08 */ b lbl_8026FCE0 -lbl_8026FCDC: -/* 8026FCDC 0026CC3C 4B E3 30 95 */ bl GetDamageVulnerability__3CAiCFv -lbl_8026FCE0: -/* 8026FCE0 0026CC40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026FCE4 0026CC44 7C 08 03 A6 */ mtlr r0 -/* 8026FCE8 0026CC48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026FCEC 0026CC4C 4E 80 00 20 */ blr - -.global GetDamageVulnerability__9CBurrowerCFv -GetDamageVulnerability__9CBurrowerCFv: -/* 8026FCF0 0026CC50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026FCF4 0026CC54 7C 08 02 A6 */ mflr r0 -/* 8026FCF8 0026CC58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026FCFC 0026CC5C 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 8026FD00 0026CC60 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8026FD04 0026CC64 28 00 00 01 */ cmplwi r0, 1 -/* 8026FD08 0026CC68 41 82 00 10 */ beq lbl_8026FD18 -/* 8026FD0C 0026CC6C 3C 60 80 57 */ lis r3, lbl_80572694@ha -/* 8026FD10 0026CC70 38 63 26 94 */ addi r3, r3, lbl_80572694@l -/* 8026FD14 0026CC74 48 00 00 08 */ b lbl_8026FD1C -lbl_8026FD18: -/* 8026FD18 0026CC78 4B E3 30 59 */ bl GetDamageVulnerability__3CAiCFv -lbl_8026FD1C: -/* 8026FD1C 0026CC7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026FD20 0026CC80 7C 08 03 A6 */ mtlr r0 -/* 8026FD24 0026CC84 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026FD28 0026CC88 4E 80 00 20 */ blr - -.global ShouldAttack__9CBurrowerFR13CStateManagerf -ShouldAttack__9CBurrowerFR13CStateManagerf: -/* 8026FD2C 0026CC8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026FD30 0026CC90 7C 08 02 A6 */ mflr r0 -/* 8026FD34 0026CC94 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) -/* 8026FD38 0026CC98 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026FD3C 0026CC9C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026FD40 0026CCA0 C0 03 06 A4 */ lfs f0, 0x6a4(r3) -/* 8026FD44 0026CCA4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026FD48 0026CCA8 4C 40 13 82 */ cror 2, 0, 2 -/* 8026FD4C 0026CCAC 40 82 00 4C */ bne lbl_8026FD98 -/* 8026FD50 0026CCB0 C0 03 06 9C */ lfs f0, 0x69c(r3) -/* 8026FD54 0026CCB4 3B E0 00 00 */ li r31, 0 -/* 8026FD58 0026CCB8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026FD5C 0026CCBC 4C 40 13 82 */ cror 2, 0, 2 -/* 8026FD60 0026CCC0 40 82 00 30 */ bne lbl_8026FD90 -/* 8026FD64 0026CCC4 A0 03 00 08 */ lhz r0, 8(r3) -/* 8026FD68 0026CCC8 7C 83 23 78 */ mr r3, r4 -/* 8026FD6C 0026CCCC 38 81 00 0C */ addi r4, r1, 0xc -/* 8026FD70 0026CCD0 38 A0 00 09 */ li r5, 9 -/* 8026FD74 0026CCD4 B0 01 00 08 */ sth r0, 8(r1) -/* 8026FD78 0026CCD8 38 C0 00 01 */ li r6, 1 -/* 8026FD7C 0026CCDC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8026FD80 0026CCE0 4B DD 59 B1 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 8026FD84 0026CCE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FD88 0026CCE8 41 82 00 08 */ beq lbl_8026FD90 -/* 8026FD8C 0026CCEC 3B E0 00 01 */ li r31, 1 -lbl_8026FD90: -/* 8026FD90 0026CCF0 7F E3 FB 78 */ mr r3, r31 -/* 8026FD94 0026CCF4 48 00 00 08 */ b lbl_8026FD9C -lbl_8026FD98: -/* 8026FD98 0026CCF8 38 60 00 00 */ li r3, 0 -lbl_8026FD9C: -/* 8026FD9C 0026CCFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026FDA0 0026CD00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026FDA4 0026CD04 7C 08 03 A6 */ mtlr r0 -/* 8026FDA8 0026CD08 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026FDAC 0026CD0C 4E 80 00 20 */ blr - -.global PathShagged__9CBurrowerFR13CStateManagerf -PathShagged__9CBurrowerFR13CStateManagerf: -/* 8026FDB0 0026CD10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026FDB4 0026CD14 7C 08 02 A6 */ mflr r0 -/* 8026FDB8 0026CD18 7C 65 1B 78 */ mr r5, r3 -/* 8026FDBC 0026CD1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026FDC0 0026CD20 38 81 00 08 */ addi r4, r1, 8 -/* 8026FDC4 0026CD24 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8026FDC8 0026CD28 38 65 05 68 */ addi r3, r5, 0x568 -/* 8026FDCC 0026CD2C C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8026FDD0 0026CD30 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8026FDD4 0026CD34 D0 01 00 08 */ stfs f0, 8(r1) -/* 8026FDD8 0026CD38 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8026FDDC 0026CD3C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8026FDE0 0026CD40 4B F5 6D 55 */ bl OnPath__15CPathFindSearchCFRC9CVector3f -/* 8026FDE4 0026CD44 2C 03 00 01 */ cmpwi r3, 1 -/* 8026FDE8 0026CD48 41 82 00 08 */ beq lbl_8026FDF0 -/* 8026FDEC 0026CD4C 48 00 00 0C */ b lbl_8026FDF8 -lbl_8026FDF0: -/* 8026FDF0 0026CD50 38 60 00 01 */ li r3, 1 -/* 8026FDF4 0026CD54 48 00 00 08 */ b lbl_8026FDFC -lbl_8026FDF8: -/* 8026FDF8 0026CD58 38 60 00 00 */ li r3, 0 -lbl_8026FDFC: -/* 8026FDFC 0026CD5C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026FE00 0026CD60 7C 08 03 A6 */ mtlr r0 -/* 8026FE04 0026CD64 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026FE08 0026CD68 4E 80 00 20 */ blr - -.global DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__9CBurrowerFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8026FE0C 0026CD6C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8026FE10 0026CD70 7C 08 02 A6 */ mflr r0 -/* 8026FE14 0026CD74 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8026FE18 0026CD78 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8026FE1C 0026CD7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8026FE20 0026CD80 BF 61 00 BC */ stmw r27, 0xbc(r1) -/* 8026FE24 0026CD84 7C DF 33 78 */ mr r31, r6 -/* 8026FE28 0026CD88 FF E0 08 90 */ fmr f31, f1 -/* 8026FE2C 0026CD8C 2C 1F 00 0C */ cmpwi r31, 0xc -/* 8026FE30 0026CD90 7C 7C 1B 78 */ mr r28, r3 -/* 8026FE34 0026CD94 7C 9D 23 78 */ mr r29, r4 -/* 8026FE38 0026CD98 7C BE 2B 78 */ mr r30, r5 -/* 8026FE3C 0026CD9C 38 80 00 00 */ li r4, 0 -/* 8026FE40 0026CDA0 41 82 01 80 */ beq lbl_8026FFC0 -/* 8026FE44 0026CDA4 40 80 00 10 */ bge lbl_8026FE54 -/* 8026FE48 0026CDA8 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026FE4C 0026CDAC 41 82 00 14 */ beq lbl_8026FE60 -/* 8026FE50 0026CDB0 48 00 01 A0 */ b lbl_8026FFF0 -lbl_8026FE54: -/* 8026FE54 0026CDB4 2C 1F 00 0E */ cmpwi r31, 0xe -/* 8026FE58 0026CDB8 40 80 01 98 */ bge lbl_8026FFF0 -/* 8026FE5C 0026CDBC 48 00 01 24 */ b lbl_8026FF80 -lbl_8026FE60: -/* 8026FE60 0026CDC0 83 7D 08 4C */ lwz r27, 0x84c(r29) -/* 8026FE64 0026CDC4 7F A5 EB 78 */ mr r5, r29 -/* 8026FE68 0026CDC8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8026FE6C 0026CDCC C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) -/* 8026FE70 0026CDD0 7F 64 DB 78 */ mr r4, r27 -/* 8026FE74 0026CDD4 81 9B 00 00 */ lwz r12, 0(r27) -/* 8026FE78 0026CDD8 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8026FE7C 0026CDDC 7D 89 03 A6 */ mtctr r12 -/* 8026FE80 0026CDE0 4E 80 04 21 */ bctrl -/* 8026FE84 0026CDE4 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8026FE88 0026CDE8 7F 84 E3 78 */ mr r4, r28 -/* 8026FE8C 0026CDEC C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8026FE90 0026CDF0 38 61 00 88 */ addi r3, r1, 0x88 -/* 8026FE94 0026CDF4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8026FE98 0026CDF8 38 BE 00 3C */ addi r5, r30, 0x3c -/* 8026FE9C 0026CDFC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8026FEA0 0026CE00 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8026FEA4 0026CE04 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8026FEA8 0026CE08 4B E0 8A D1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8026FEAC 0026CE0C C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 8026FEB0 0026CE10 7F 83 E3 78 */ mr r3, r28 -/* 8026FEB4 0026CE14 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 8026FEB8 0026CE18 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8026FEBC 0026CE1C D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8026FEC0 0026CE20 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8026FEC4 0026CE24 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8026FEC8 0026CE28 81 9C 00 00 */ lwz r12, 0(r28) -/* 8026FECC 0026CE2C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 8026FED0 0026CE30 7D 89 03 A6 */ mtctr r12 -/* 8026FED4 0026CE34 4E 80 04 21 */ bctrl -/* 8026FED8 0026CE38 FC 20 F8 90 */ fmr f1, f31 -/* 8026FEDC 0026CE3C 7C 64 1B 78 */ mr r4, r3 -/* 8026FEE0 0026CE40 7F 67 DB 78 */ mr r7, r27 -/* 8026FEE4 0026CE44 38 61 00 1C */ addi r3, r1, 0x1c -/* 8026FEE8 0026CE48 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8026FEEC 0026CE4C 38 C1 00 4C */ addi r6, r1, 0x4c -/* 8026FEF0 0026CE50 39 00 00 01 */ li r8, 1 -/* 8026FEF4 0026CE54 4B FA BF F9 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf -/* 8026FEF8 0026CE58 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8026FEFC 0026CE5C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8026FF00 0026CE60 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8026FF04 0026CE64 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8026FF08 0026CE68 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8026FF0C 0026CE6C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8026FF10 0026CE70 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8026FF14 0026CE74 38 81 00 40 */ addi r4, r1, 0x40 -/* 8026FF18 0026CE78 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8026FF1C 0026CE7C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8026FF20 0026CE80 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8026FF24 0026CE84 80 FC 00 64 */ lwz r7, 0x64(r28) -/* 8026FF28 0026CE88 C0 07 00 00 */ lfs f0, 0(r7) -/* 8026FF2C 0026CE8C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8026FF30 0026CE90 C0 07 00 04 */ lfs f0, 4(r7) -/* 8026FF34 0026CE94 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8026FF38 0026CE98 C0 07 00 08 */ lfs f0, 8(r7) -/* 8026FF3C 0026CE9C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8026FF40 0026CEA0 48 0A 3B D1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8026FF44 0026CEA4 38 60 00 00 */ li r3, 0 -/* 8026FF48 0026CEA8 38 01 00 10 */ addi r0, r1, 0x10 -/* 8026FF4C 0026CEAC 90 61 00 08 */ stw r3, 8(r1) -/* 8026FF50 0026CEB0 7F 83 E3 78 */ mr r3, r28 -/* 8026FF54 0026CEB4 7F A5 EB 78 */ mr r5, r29 -/* 8026FF58 0026CEB8 38 81 00 58 */ addi r4, r1, 0x58 -/* 8026FF5C 0026CEBC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026FF60 0026CEC0 39 3C 06 7C */ addi r9, r28, 0x67c -/* 8026FF64 0026CEC4 38 C0 00 01 */ li r6, 1 -/* 8026FF68 0026CEC8 38 E0 00 00 */ li r7, 0 -/* 8026FF6C 0026CECC A1 5C 06 AA */ lhz r10, 0x6aa(r28) -/* 8026FF70 0026CED0 39 00 00 00 */ li r8, 0 -/* 8026FF74 0026CED4 4B E0 7A 85 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 8026FF78 0026CED8 38 80 00 01 */ li r4, 1 -/* 8026FF7C 0026CEDC 48 00 00 74 */ b lbl_8026FFF0 -lbl_8026FF80: -/* 8026FF80 0026CEE0 7F A5 EB 78 */ mr r5, r29 -/* 8026FF84 0026CEE4 38 80 00 25 */ li r4, 0x25 -/* 8026FF88 0026CEE8 4B DE 3F F9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8026FF8C 0026CEEC 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 8026FF90 0026CEF0 38 60 00 01 */ li r3, 1 -/* 8026FF94 0026CEF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8026FF98 0026CEF8 38 80 00 01 */ li r4, 1 -/* 8026FF9C 0026CEFC 98 1C 03 28 */ stb r0, 0x328(r28) -/* 8026FFA0 0026CF00 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 8026FFA4 0026CF04 C0 23 00 04 */ lfs f1, 4(r3) -/* 8026FFA8 0026CF08 C0 43 00 08 */ lfs f2, 8(r3) -/* 8026FFAC 0026CF0C C0 03 00 00 */ lfs f0, 0(r3) -/* 8026FFB0 0026CF10 D0 1C 05 5C */ stfs f0, 0x55c(r28) -/* 8026FFB4 0026CF14 D0 3C 05 60 */ stfs f1, 0x560(r28) -/* 8026FFB8 0026CF18 D0 5C 05 64 */ stfs f2, 0x564(r28) -/* 8026FFBC 0026CF1C 48 00 00 34 */ b lbl_8026FFF0 -lbl_8026FFC0: -/* 8026FFC0 0026CF20 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 8026FFC4 0026CF24 38 80 00 00 */ li r4, 0 -/* 8026FFC8 0026CF28 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8026FFCC 0026CF2C 7F A5 EB 78 */ mr r5, r29 -/* 8026FFD0 0026CF30 98 1C 03 28 */ stb r0, 0x328(r28) -/* 8026FFD4 0026CF34 38 80 00 25 */ li r4, 0x25 -/* 8026FFD8 0026CF38 4B DE 43 79 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8026FFDC 0026CF3C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) -/* 8026FFE0 0026CF40 38 80 00 01 */ li r4, 1 -/* 8026FFE4 0026CF44 D0 1C 05 5C */ stfs f0, 0x55c(r28) -/* 8026FFE8 0026CF48 D0 1C 05 60 */ stfs f0, 0x560(r28) -/* 8026FFEC 0026CF4C D0 1C 05 64 */ stfs f0, 0x564(r28) -lbl_8026FFF0: -/* 8026FFF0 0026CF50 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8026FFF4 0026CF54 40 82 00 1C */ bne lbl_80270010 -/* 8026FFF8 0026CF58 FC 20 F8 90 */ fmr f1, f31 -/* 8026FFFC 0026CF5C 7F 83 E3 78 */ mr r3, r28 -/* 80270000 0026CF60 7F A4 EB 78 */ mr r4, r29 -/* 80270004 0026CF64 7F C5 F3 78 */ mr r5, r30 -/* 80270008 0026CF68 7F E6 FB 78 */ mr r6, r31 -/* 8027000C 0026CF6C 4B E0 8E A5 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80270010: -/* 80270010 0026CF70 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80270014 0026CF74 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80270018 0026CF78 BB 61 00 BC */ lmw r27, 0xbc(r1) -/* 8027001C 0026CF7C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80270020 0026CF80 7C 08 03 A6 */ mtlr r0 -/* 80270024 0026CF84 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80270028 0026CF88 4E 80 00 20 */ blr - -.global ProjectileInfo__9CBurrowerFv -ProjectileInfo__9CBurrowerFv: -/* 8027002C 0026CF8C 38 63 06 4C */ addi r3, r3, 0x64c -/* 80270030 0026CF90 4E 80 00 20 */ blr - -.global Lurk__9CBurrowerFR13CStateManager9EStateMsgf -Lurk__9CBurrowerFR13CStateManager9EStateMsgf: -/* 80270034 0026CF94 2C 05 00 00 */ cmpwi r5, 0 -/* 80270038 0026CF98 41 82 00 0C */ beq lbl_80270044 -/* 8027003C 0026CF9C 4D 80 00 20 */ bltlr - -.global sub_80270040 -sub_80270040: -/* 80270040 0026CFA0 4E 80 00 20 */ blr -lbl_80270044: -/* 80270044 0026CFA4 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 80270048 0026CFA8 38 80 00 00 */ li r4, 0 -/* 8027004C 0026CFAC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80270050 0026CFB0 C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) -/* 80270054 0026CFB4 98 03 06 AC */ stb r0, 0x6ac(r3) -/* 80270058 0026CFB8 D0 03 06 A0 */ stfs f0, 0x6a0(r3) -/* 8027005C 0026CFBC 4E 80 00 20 */ blr - -.global TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf -TargetPatrol__9CBurrowerFR13CStateManager9EStateMsgf: -/* 80270060 0026CFC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80270064 0026CFC4 7C 08 02 A6 */ mflr r0 -/* 80270068 0026CFC8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027006C 0026CFCC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80270070 0026CFD0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80270074 0026CFD4 7C 9F 23 78 */ mr r31, r4 -/* 80270078 0026CFD8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027007C 0026CFDC 7C 7E 1B 78 */ mr r30, r3 -/* 80270080 0026CFE0 41 82 00 0C */ beq lbl_8027008C -/* 80270084 0026CFE4 41 80 00 B0 */ blt lbl_80270134 -/* 80270088 0026CFE8 48 00 00 AC */ b lbl_80270134 -lbl_8027008C: -/* 8027008C 0026CFEC A0 7E 06 A8 */ lhz r3, 0x6a8(r30) -/* 80270090 0026CFF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80270094 0026CFF4 7C 03 00 40 */ cmplw r3, r0 -/* 80270098 0026CFF8 41 82 00 0C */ beq lbl_802700A4 -/* 8027009C 0026CFFC 38 7E 06 A8 */ addi r3, r30, 0x6a8 -/* 802700A0 0026D000 48 00 00 20 */ b lbl_802700C0 -lbl_802700A4: -/* 802700A4 0026D004 7F C4 F3 78 */ mr r4, r30 -/* 802700A8 0026D008 7F E5 FB 78 */ mr r5, r31 -/* 802700AC 0026D00C 38 61 00 0C */ addi r3, r1, 0xc -/* 802700B0 0026D010 38 C0 00 0D */ li r6, 0xd -/* 802700B4 0026D014 38 E0 00 06 */ li r7, 6 -/* 802700B8 0026D018 4B F8 4E E1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 802700BC 0026D01C 38 61 00 0C */ addi r3, r1, 0xc -lbl_802700C0: -/* 802700C0 0026D020 A0 03 00 00 */ lhz r0, 0(r3) -/* 802700C4 0026D024 7F E3 FB 78 */ mr r3, r31 -/* 802700C8 0026D028 38 81 00 08 */ addi r4, r1, 8 -/* 802700CC 0026D02C B0 1E 02 DC */ sth r0, 0x2dc(r30) -/* 802700D0 0026D030 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802700D4 0026D034 B0 01 00 08 */ sth r0, 8(r1) -/* 802700D8 0026D038 4B DD C4 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802700DC 0026D03C 7C 64 1B 78 */ mr r4, r3 -/* 802700E0 0026D040 38 61 00 14 */ addi r3, r1, 0x14 -/* 802700E4 0026D044 4B E3 FB AD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 802700E8 0026D048 80 83 00 04 */ lwz r4, 4(r3) -/* 802700EC 0026D04C 28 04 00 00 */ cmplwi r4, 0 -/* 802700F0 0026D050 41 82 00 44 */ beq lbl_80270134 -/* 802700F4 0026D054 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 802700F8 0026D058 38 60 00 00 */ li r3, 0 -/* 802700FC 0026D05C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80270100 0026D060 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80270104 0026D064 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) -/* 80270108 0026D068 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) -/* 8027010C 0026D06C D0 5E 02 E8 */ stfs f2, 0x2e8(r30) -/* 80270110 0026D070 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80270114 0026D074 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80270118 0026D078 98 1E 03 28 */ stb r0, 0x328(r30) -/* 8027011C 0026D07C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80270120 0026D080 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80270124 0026D084 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80270128 0026D088 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 8027012C 0026D08C D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 80270130 0026D090 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) -lbl_80270134: -/* 80270134 0026D094 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80270138 0026D098 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027013C 0026D09C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80270140 0026D0A0 7C 08 03 A6 */ mtlr r0 -/* 80270144 0026D0A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80270148 0026D0A8 4E 80 00 20 */ blr - -.global Retreat__9CBurrowerFR13CStateManager9EStateMsgf -Retreat__9CBurrowerFR13CStateManager9EStateMsgf: -/* 8027014C 0026D0AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80270150 0026D0B0 7C 08 02 A6 */ mflr r0 -/* 80270154 0026D0B4 2C 05 00 01 */ cmpwi r5, 1 -/* 80270158 0026D0B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027015C 0026D0BC 41 82 00 2C */ beq lbl_80270188 -/* 80270160 0026D0C0 40 80 00 10 */ bge lbl_80270170 -/* 80270164 0026D0C4 2C 05 00 00 */ cmpwi r5, 0 -/* 80270168 0026D0C8 40 80 00 14 */ bge lbl_8027017C -/* 8027016C 0026D0CC 48 00 00 88 */ b lbl_802701F4 -lbl_80270170: -/* 80270170 0026D0D0 2C 05 00 03 */ cmpwi r5, 3 -/* 80270174 0026D0D4 40 80 00 80 */ bge lbl_802701F4 -/* 80270178 0026D0D8 48 00 00 44 */ b lbl_802701BC -lbl_8027017C: -/* 8027017C 0026D0DC 38 00 00 01 */ li r0, 1 -/* 80270180 0026D0E0 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80270184 0026D0E4 48 00 00 70 */ b lbl_802701F4 -lbl_80270188: -/* 80270188 0026D0E8 3C A0 80 3F */ lis r5, lbl_803EA7B8@ha -/* 8027018C 0026D0EC 38 C1 00 08 */ addi r6, r1, 8 -/* 80270190 0026D0F0 39 45 A7 B8 */ addi r10, r5, lbl_803EA7B8@l -/* 80270194 0026D0F4 38 A0 00 0C */ li r5, 0xc -/* 80270198 0026D0F8 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027019C 0026D0FC 38 E0 00 01 */ li r7, 1 -/* 802701A0 0026D100 81 0A 00 04 */ lwz r8, 4(r10) -/* 802701A4 0026D104 80 0A 00 08 */ lwz r0, 8(r10) -/* 802701A8 0026D108 91 21 00 08 */ stw r9, 8(r1) -/* 802701AC 0026D10C 91 01 00 0C */ stw r8, 0xc(r1) -/* 802701B0 0026D110 90 01 00 10 */ stw r0, 0x10(r1) -/* 802701B4 0026D114 4B E0 C6 01 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802701B8 0026D118 48 00 00 3C */ b lbl_802701F4 -lbl_802701BC: -/* 802701BC 0026D11C 38 80 00 00 */ li r4, 0 -/* 802701C0 0026D120 90 83 03 2C */ stw r4, 0x32c(r3) -/* 802701C4 0026D124 80 03 06 78 */ lwz r0, 0x678(r3) -/* 802701C8 0026D128 28 00 00 00 */ cmplwi r0, 0 -/* 802701CC 0026D12C 41 82 00 28 */ beq lbl_802701F4 -/* 802701D0 0026D130 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 802701D4 0026D134 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802701D8 0026D138 38 80 00 01 */ li r4, 1 -/* 802701DC 0026D13C 98 03 06 AC */ stb r0, 0x6ac(r3) -/* 802701E0 0026D140 80 63 06 78 */ lwz r3, 0x678(r3) -/* 802701E4 0026D144 81 83 00 00 */ lwz r12, 0(r3) -/* 802701E8 0026D148 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802701EC 0026D14C 7D 89 03 A6 */ mtctr r12 -/* 802701F0 0026D150 4E 80 04 21 */ bctrl -lbl_802701F4: -/* 802701F4 0026D154 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802701F8 0026D158 7C 08 03 A6 */ mtlr r0 -/* 802701FC 0026D15C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80270200 0026D160 4E 80 00 20 */ blr - -.global ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf -ProjectileAttack__9CBurrowerFR13CStateManager9EStateMsgf: -/* 80270204 0026D164 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80270208 0026D168 7C 08 02 A6 */ mflr r0 -/* 8027020C 0026D16C 2C 05 00 01 */ cmpwi r5, 1 -/* 80270210 0026D170 90 01 00 24 */ stw r0, 0x24(r1) -/* 80270214 0026D174 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80270218 0026D178 7C 9F 23 78 */ mr r31, r4 -/* 8027021C 0026D17C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80270220 0026D180 7C 7E 1B 78 */ mr r30, r3 -/* 80270224 0026D184 41 82 00 68 */ beq lbl_8027028C -/* 80270228 0026D188 40 80 00 10 */ bge lbl_80270238 -/* 8027022C 0026D18C 2C 05 00 00 */ cmpwi r5, 0 -/* 80270230 0026D190 40 80 00 14 */ bge lbl_80270244 -/* 80270234 0026D194 48 00 00 E8 */ b lbl_8027031C -lbl_80270238: -/* 80270238 0026D198 2C 05 00 03 */ cmpwi r5, 3 -/* 8027023C 0026D19C 40 80 00 E0 */ bge lbl_8027031C -/* 80270240 0026D1A0 48 00 00 80 */ b lbl_802702C0 -lbl_80270244: -/* 80270244 0026D1A4 88 1E 06 AC */ lbz r0, 0x6ac(r30) -/* 80270248 0026D1A8 38 60 00 01 */ li r3, 1 -/* 8027024C 0026D1AC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80270250 0026D1B0 98 1E 06 AC */ stb r0, 0x6ac(r30) -/* 80270254 0026D1B4 88 1E 06 AC */ lbz r0, 0x6ac(r30) -/* 80270258 0026D1B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8027025C 0026D1BC 98 1E 06 AC */ stb r0, 0x6ac(r30) -/* 80270260 0026D1C0 80 7E 06 78 */ lwz r3, 0x678(r30) -/* 80270264 0026D1C4 28 03 00 00 */ cmplwi r3, 0 -/* 80270268 0026D1C8 41 82 00 18 */ beq lbl_80270280 -/* 8027026C 0026D1CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80270270 0026D1D0 38 80 00 00 */ li r4, 0 -/* 80270274 0026D1D4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80270278 0026D1D8 7D 89 03 A6 */ mtctr r12 -/* 8027027C 0026D1DC 4E 80 04 21 */ bctrl -lbl_80270280: -/* 80270280 0026D1E0 38 00 00 01 */ li r0, 1 -/* 80270284 0026D1E4 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80270288 0026D1E8 48 00 00 94 */ b lbl_8027031C -lbl_8027028C: -/* 8027028C 0026D1EC 3C A0 80 3F */ lis r5, lbl_803EA7AC@ha -/* 80270290 0026D1F0 38 C1 00 08 */ addi r6, r1, 8 -/* 80270294 0026D1F4 39 45 A7 AC */ addi r10, r5, lbl_803EA7AC@l -/* 80270298 0026D1F8 38 A0 00 12 */ li r5, 0x12 -/* 8027029C 0026D1FC 81 2A 00 00 */ lwz r9, 0(r10) -/* 802702A0 0026D200 38 E0 00 00 */ li r7, 0 -/* 802702A4 0026D204 81 0A 00 04 */ lwz r8, 4(r10) -/* 802702A8 0026D208 80 0A 00 08 */ lwz r0, 8(r10) -/* 802702AC 0026D20C 91 21 00 08 */ stw r9, 8(r1) -/* 802702B0 0026D210 91 01 00 0C */ stw r8, 0xc(r1) -/* 802702B4 0026D214 90 01 00 10 */ stw r0, 0x10(r1) -/* 802702B8 0026D218 4B E0 C4 FD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802702BC 0026D21C 48 00 00 60 */ b lbl_8027031C -lbl_802702C0: -/* 802702C0 0026D220 38 00 00 00 */ li r0, 0 -/* 802702C4 0026D224 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802702C8 0026D228 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 802702CC 0026D22C 48 0A 22 11 */ bl Float__9CRandom16Fv -/* 802702D0 0026D230 C0 5E 03 08 */ lfs f2, 0x308(r30) -/* 802702D4 0026D234 38 C0 00 00 */ li r6, 0 -/* 802702D8 0026D238 C0 1E 03 04 */ lfs f0, 0x304(r30) -/* 802702DC 0026D23C 7F C3 F3 78 */ mr r3, r30 -/* 802702E0 0026D240 7F E5 FB 78 */ mr r5, r31 -/* 802702E4 0026D244 38 80 00 25 */ li r4, 0x25 -/* 802702E8 0026D248 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802702EC 0026D24C D0 1E 06 9C */ stfs f0, 0x69c(r30) -/* 802702F0 0026D250 88 1E 06 AC */ lbz r0, 0x6ac(r30) -/* 802702F4 0026D254 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802702F8 0026D258 98 1E 06 AC */ stb r0, 0x6ac(r30) -/* 802702FC 0026D25C 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80270300 0026D260 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80270304 0026D264 98 1E 03 28 */ stb r0, 0x328(r30) -/* 80270308 0026D268 4B DE 40 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8027030C 0026D26C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) -/* 80270310 0026D270 D0 1E 05 5C */ stfs f0, 0x55c(r30) -/* 80270314 0026D274 D0 1E 05 60 */ stfs f0, 0x560(r30) -/* 80270318 0026D278 D0 1E 05 64 */ stfs f0, 0x564(r30) -lbl_8027031C: -/* 8027031C 0026D27C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80270320 0026D280 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80270324 0026D284 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80270328 0026D288 7C 08 03 A6 */ mtlr r0 -/* 8027032C 0026D28C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80270330 0026D290 4E 80 00 20 */ blr - -.global Active__9CBurrowerFR13CStateManager9EStateMsgf -Active__9CBurrowerFR13CStateManager9EStateMsgf: -/* 80270334 0026D294 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80270338 0026D298 7C 08 02 A6 */ mflr r0 -/* 8027033C 0026D29C 2C 05 00 01 */ cmpwi r5, 1 -/* 80270340 0026D2A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80270344 0026D2A4 41 82 00 38 */ beq lbl_8027037C -/* 80270348 0026D2A8 40 80 00 10 */ bge lbl_80270358 -/* 8027034C 0026D2AC 2C 05 00 00 */ cmpwi r5, 0 -/* 80270350 0026D2B0 40 80 00 14 */ bge lbl_80270364 -/* 80270354 0026D2B4 48 00 00 80 */ b lbl_802703D4 -lbl_80270358: -/* 80270358 0026D2B8 2C 05 00 03 */ cmpwi r5, 3 -/* 8027035C 0026D2BC 40 80 00 78 */ bge lbl_802703D4 -/* 80270360 0026D2C0 48 00 00 50 */ b lbl_802703B0 -lbl_80270364: -/* 80270364 0026D2C4 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 80270368 0026D2C8 38 80 00 01 */ li r4, 1 -/* 8027036C 0026D2CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80270370 0026D2D0 98 03 06 AC */ stb r0, 0x6ac(r3) -/* 80270374 0026D2D4 90 83 03 2C */ stw r4, 0x32c(r3) -/* 80270378 0026D2D8 48 00 00 5C */ b lbl_802703D4 -lbl_8027037C: -/* 8027037C 0026D2DC 3C A0 80 3F */ lis r5, lbl_803EA7A0@ha -/* 80270380 0026D2E0 38 C1 00 08 */ addi r6, r1, 8 -/* 80270384 0026D2E4 39 45 A7 A0 */ addi r10, r5, lbl_803EA7A0@l -/* 80270388 0026D2E8 38 A0 00 0C */ li r5, 0xc -/* 8027038C 0026D2EC 81 2A 00 00 */ lwz r9, 0(r10) -/* 80270390 0026D2F0 38 E0 00 00 */ li r7, 0 -/* 80270394 0026D2F4 81 0A 00 04 */ lwz r8, 4(r10) -/* 80270398 0026D2F8 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027039C 0026D2FC 91 21 00 08 */ stw r9, 8(r1) -/* 802703A0 0026D300 91 01 00 0C */ stw r8, 0xc(r1) -/* 802703A4 0026D304 90 01 00 10 */ stw r0, 0x10(r1) -/* 802703A8 0026D308 4B E0 C4 0D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802703AC 0026D30C 48 00 00 28 */ b lbl_802703D4 -lbl_802703B0: -/* 802703B0 0026D310 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 802703B4 0026D314 38 A0 00 00 */ li r5, 0 -/* 802703B8 0026D318 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802703BC 0026D31C 38 80 00 01 */ li r4, 1 -/* 802703C0 0026D320 98 03 06 AC */ stb r0, 0x6ac(r3) -/* 802703C4 0026D324 88 03 06 AC */ lbz r0, 0x6ac(r3) -/* 802703C8 0026D328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802703CC 0026D32C 98 03 06 AC */ stb r0, 0x6ac(r3) -/* 802703D0 0026D330 90 A3 03 2C */ stw r5, 0x32c(r3) -lbl_802703D4: -/* 802703D4 0026D334 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802703D8 0026D338 7C 08 03 A6 */ mtlr r0 -/* 802703DC 0026D33C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802703E0 0026D340 4E 80 00 20 */ blr - -.global Patrol__9CBurrowerFR13CStateManager9EStateMsgf -Patrol__9CBurrowerFR13CStateManager9EStateMsgf: -/* 802703E4 0026D344 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802703E8 0026D348 7C 08 02 A6 */ mflr r0 -/* 802703EC 0026D34C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802703F0 0026D350 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802703F4 0026D354 FF E0 08 90 */ fmr f31, f1 -/* 802703F8 0026D358 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802703FC 0026D35C 7C BF 2B 78 */ mr r31, r5 -/* 80270400 0026D360 2C 1F 00 01 */ cmpwi r31, 1 -/* 80270404 0026D364 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80270408 0026D368 7C 9E 23 78 */ mr r30, r4 -/* 8027040C 0026D36C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80270410 0026D370 7C 7D 1B 78 */ mr r29, r3 -/* 80270414 0026D374 41 82 00 5C */ beq lbl_80270470 -/* 80270418 0026D378 40 80 00 10 */ bge lbl_80270428 -/* 8027041C 0026D37C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80270420 0026D380 40 80 00 14 */ bge lbl_80270434 -/* 80270424 0026D384 48 00 00 4C */ b lbl_80270470 -lbl_80270428: -/* 80270428 0026D388 2C 1F 00 03 */ cmpwi r31, 3 -/* 8027042C 0026D38C 40 80 00 44 */ bge lbl_80270470 -/* 80270430 0026D390 48 00 00 38 */ b lbl_80270468 -lbl_80270434: -/* 80270434 0026D394 88 1D 06 AC */ lbz r0, 0x6ac(r29) -/* 80270438 0026D398 38 60 00 00 */ li r3, 0 -/* 8027043C 0026D39C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80270440 0026D3A0 98 1D 06 AC */ stb r0, 0x6ac(r29) -/* 80270444 0026D3A4 80 7D 06 78 */ lwz r3, 0x678(r29) -/* 80270448 0026D3A8 28 03 00 00 */ cmplwi r3, 0 -/* 8027044C 0026D3AC 41 82 00 24 */ beq lbl_80270470 -/* 80270450 0026D3B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80270454 0026D3B4 38 80 00 01 */ li r4, 1 -/* 80270458 0026D3B8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8027045C 0026D3BC 7D 89 03 A6 */ mtctr r12 -/* 80270460 0026D3C0 4E 80 04 21 */ bctrl -/* 80270464 0026D3C4 48 00 00 0C */ b lbl_80270470 -lbl_80270468: -/* 80270468 0026D3C8 A0 1D 02 DC */ lhz r0, 0x2dc(r29) -/* 8027046C 0026D3CC B0 1D 06 A8 */ sth r0, 0x6a8(r29) -lbl_80270470: -/* 80270470 0026D3D0 FC 20 F8 90 */ fmr f1, f31 -/* 80270474 0026D3D4 7F A3 EB 78 */ mr r3, r29 -/* 80270478 0026D3D8 7F C4 F3 78 */ mr r4, r30 -/* 8027047C 0026D3DC 7F E5 FB 78 */ mr r5, r31 -/* 80270480 0026D3E0 4B F8 69 F5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 80270484 0026D3E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80270488 0026D3E8 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8027048C 0026D3EC 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80270490 0026D3F0 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80270494 0026D3F4 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80270498 0026D3F8 7C 08 03 A6 */ mtlr r0 -/* 8027049C 0026D3FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802704A0 0026D400 4E 80 00 20 */ blr - -.global Think__9CBurrowerFfR13CStateManager -Think__9CBurrowerFfR13CStateManager: -/* 802704A4 0026D404 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802704A8 0026D408 7C 08 02 A6 */ mflr r0 -/* 802704AC 0026D40C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802704B0 0026D410 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 802704B4 0026D414 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 802704B8 0026D418 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 802704BC 0026D41C 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 802704C0 0026D420 88 03 00 30 */ lbz r0, 0x30(r3) -/* 802704C4 0026D424 FF E0 08 90 */ fmr f31, f1 -/* 802704C8 0026D428 7C 7F 1B 78 */ mr r31, r3 -/* 802704CC 0026D42C 7C 9E 23 78 */ mr r30, r4 -/* 802704D0 0026D430 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802704D4 0026D434 41 82 03 00 */ beq lbl_802707D4 -/* 802704D8 0026D438 4B E0 96 41 */ bl Think__10CPatternedFfR13CStateManager -/* 802704DC 0026D43C C0 3F 06 A4 */ lfs f1, 0x6a4(r31) -/* 802704E0 0026D440 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 802704E4 0026D444 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802704E8 0026D448 40 81 00 0C */ ble lbl_802704F4 -/* 802704EC 0026D44C EC 01 F8 28 */ fsubs f0, f1, f31 -/* 802704F0 0026D450 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) -lbl_802704F4: -/* 802704F4 0026D454 88 1F 06 AC */ lbz r0, 0x6ac(r31) -/* 802704F8 0026D458 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802704FC 0026D45C 41 82 01 44 */ beq lbl_80270640 -/* 80270500 0026D460 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80270504 0026D464 38 61 00 84 */ addi r3, r1, 0x84 -/* 80270508 0026D468 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 8027050C 0026D46C C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80270510 0026D470 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 80270514 0026D474 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80270518 0026D478 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8027051C 0026D47C D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80270520 0026D480 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80270524 0026D484 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80270528 0026D488 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8027052C 0026D48C C0 84 00 60 */ lfs f4, 0x60(r4) -/* 80270530 0026D490 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80270534 0026D494 EC A2 08 28 */ fsubs f5, f2, f1 -/* 80270538 0026D498 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8027053C 0026D49C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80270540 0026D4A0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80270544 0026D4A4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80270548 0026D4A8 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 8027054C 0026D4AC D0 61 00 80 */ stfs f3, 0x80(r1) -/* 80270550 0026D4B0 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80270554 0026D4B4 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80270558 0026D4B8 48 0A 43 A1 */ bl Normalize__9CVector3fFv -/* 8027055C 0026D4BC C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 80270560 0026D4C0 38 61 00 78 */ addi r3, r1, 0x78 -/* 80270564 0026D4C4 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80270568 0026D4C8 48 0A 43 91 */ bl Normalize__9CVector3fFv -/* 8027056C 0026D4CC C0 C1 00 88 */ lfs f6, 0x88(r1) -/* 80270570 0026D4D0 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 80270574 0026D4D4 C0 A1 00 84 */ lfs f5, 0x84(r1) -/* 80270578 0026D4D8 EC 06 00 F2 */ fmuls f0, f6, f3 -/* 8027057C 0026D4DC C0 41 00 78 */ lfs f2, 0x78(r1) -/* 80270580 0026D4E0 C0 E1 00 8C */ lfs f7, 0x8c(r1) -/* 80270584 0026D4E4 C0 81 00 80 */ lfs f4, 0x80(r1) -/* 80270588 0026D4E8 EC 25 00 BA */ fmadds f1, f5, f2, f0 -/* 8027058C 0026D4EC C0 02 BB C4 */ lfs f0, lbl_805AD8E4@sda21(r2) -/* 80270590 0026D4F0 EC 27 09 3A */ fmadds f1, f7, f4, f1 -/* 80270594 0026D4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270598 0026D4F8 40 80 00 C0 */ bge lbl_80270658 -/* 8027059C 0026D4FC C0 02 BB CC */ lfs f0, lbl_805AD8EC@sda21(r2) -/* 802705A0 0026D500 38 61 00 58 */ addi r3, r1, 0x58 -/* 802705A4 0026D504 C0 22 BB C8 */ lfs f1, lbl_805AD8E8@sda21(r2) -/* 802705A8 0026D508 38 81 00 4C */ addi r4, r1, 0x4c -/* 802705AC 0026D50C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 802705B0 0026D510 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802705B4 0026D514 38 A1 00 40 */ addi r5, r1, 0x40 -/* 802705B8 0026D518 38 C1 00 08 */ addi r6, r1, 8 -/* 802705BC 0026D51C D0 61 00 44 */ stfs f3, 0x44(r1) -/* 802705C0 0026D520 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802705C4 0026D524 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802705C8 0026D528 D0 01 00 08 */ stfs f0, 8(r1) -/* 802705CC 0026D52C D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 802705D0 0026D530 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 802705D4 0026D534 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 802705D8 0026D538 48 0A 10 BD */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 802705DC 0026D53C C0 61 00 58 */ lfs f3, 0x58(r1) -/* 802705E0 0026D540 38 A1 00 6C */ addi r5, r1, 0x6c -/* 802705E4 0026D544 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 802705E8 0026D548 38 61 00 24 */ addi r3, r1, 0x24 -/* 802705EC 0026D54C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 802705F0 0026D550 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802705F4 0026D554 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802705F8 0026D558 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802705FC 0026D55C D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80270600 0026D560 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80270604 0026D564 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80270608 0026D568 48 0A 24 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8027060C 0026D56C C0 81 00 68 */ lfs f4, 0x68(r1) -/* 80270610 0026D570 FC 20 F8 90 */ fmr f1, f31 -/* 80270614 0026D574 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80270618 0026D578 7F E3 FB 78 */ mr r3, r31 -/* 8027061C 0026D57C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80270620 0026D580 38 81 00 30 */ addi r4, r1, 0x30 -/* 80270624 0026D584 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80270628 0026D588 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8027062C 0026D58C D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80270630 0026D590 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80270634 0026D594 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80270638 0026D598 4B EA A7 DD */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf -/* 8027063C 0026D59C 48 00 00 1C */ b lbl_80270658 -lbl_80270640: -/* 80270640 0026D5A0 C0 3F 06 9C */ lfs f1, 0x69c(r31) -/* 80270644 0026D5A4 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 80270648 0026D5A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027064C 0026D5AC 40 81 00 0C */ ble lbl_80270658 -/* 80270650 0026D5B0 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80270654 0026D5B4 D0 1F 06 9C */ stfs f0, 0x69c(r31) -lbl_80270658: -/* 80270658 0026D5B8 80 1F 06 74 */ lwz r0, 0x674(r31) -/* 8027065C 0026D5BC 28 00 00 00 */ cmplwi r0, 0 -/* 80270660 0026D5C0 41 82 01 0C */ beq lbl_8027076C -/* 80270664 0026D5C4 C0 1F 06 A0 */ lfs f0, 0x6a0(r31) -/* 80270668 0026D5C8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8027066C 0026D5CC D0 1F 06 A0 */ stfs f0, 0x6a0(r31) -/* 80270670 0026D5D0 88 1F 06 AC */ lbz r0, 0x6ac(r31) -/* 80270674 0026D5D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80270678 0026D5D8 40 82 00 DC */ bne lbl_80270754 -/* 8027067C 0026D5DC C0 3F 06 A0 */ lfs f1, 0x6a0(r31) -/* 80270680 0026D5E0 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 80270684 0026D5E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270688 0026D5E8 4C 40 13 82 */ cror 2, 0, 2 -/* 8027068C 0026D5EC 40 82 00 C8 */ bne lbl_80270754 -/* 80270690 0026D5F0 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80270694 0026D5F4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80270698 0026D5F8 41 82 00 B4 */ beq lbl_8027074C -/* 8027069C 0026D5FC 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 802706A0 0026D600 38 80 00 01 */ li r4, 1 -/* 802706A4 0026D604 81 83 00 00 */ lwz r12, 0(r3) -/* 802706A8 0026D608 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802706AC 0026D60C 7D 89 03 A6 */ mtctr r12 -/* 802706B0 0026D610 4E 80 04 21 */ bctrl -/* 802706B4 0026D614 83 DF 06 74 */ lwz r30, 0x674(r31) -/* 802706B8 0026D618 38 61 00 90 */ addi r3, r1, 0x90 -/* 802706BC 0026D61C 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802706C0 0026D620 48 0A 25 81 */ bl GetRotation__12CTransform4fCFv -/* 802706C4 0026D624 7F C3 F3 78 */ mr r3, r30 -/* 802706C8 0026D628 38 81 00 90 */ addi r4, r1, 0x90 -/* 802706CC 0026D62C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802706D0 0026D630 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802706D4 0026D634 7D 89 03 A6 */ mtctr r12 -/* 802706D8 0026D638 4E 80 04 21 */ bctrl -/* 802706DC 0026D63C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802706E0 0026D640 38 81 00 18 */ addi r4, r1, 0x18 -/* 802706E4 0026D644 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802706E8 0026D648 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802706EC 0026D64C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802706F0 0026D650 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802706F4 0026D654 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802706F8 0026D658 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 802706FC 0026D65C 81 83 00 00 */ lwz r12, 0(r3) -/* 80270700 0026D660 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80270704 0026D664 7D 89 03 A6 */ mtctr r12 -/* 80270708 0026D668 4E 80 04 21 */ bctrl -/* 8027070C 0026D66C 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270710 0026D670 38 80 00 01 */ li r4, 1 -/* 80270714 0026D674 48 0A C1 AD */ bl ForceParticleCreation__11CElementGenFi -/* 80270718 0026D678 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 8027071C 0026D67C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80270720 0026D680 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80270724 0026D684 81 83 00 00 */ lwz r12, 0(r3) -/* 80270728 0026D688 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027072C 0026D68C 7D 89 03 A6 */ mtctr r12 -/* 80270730 0026D690 4E 80 04 21 */ bctrl -/* 80270734 0026D694 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270738 0026D698 38 80 00 00 */ li r4, 0 -/* 8027073C 0026D69C 81 83 00 00 */ lwz r12, 0(r3) -/* 80270740 0026D6A0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80270744 0026D6A4 7D 89 03 A6 */ mtctr r12 -/* 80270748 0026D6A8 4E 80 04 21 */ bctrl -lbl_8027074C: -/* 8027074C 0026D6AC C0 02 BB C0 */ lfs f0, lbl_805AD8E0@sda21(r2) -/* 80270750 0026D6B0 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) -lbl_80270754: -/* 80270754 0026D6B4 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270758 0026D6B8 FC 20 F8 90 */ fmr f1, f31 -/* 8027075C 0026D6BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80270760 0026D6C0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80270764 0026D6C4 7D 89 03 A6 */ mtctr r12 -/* 80270768 0026D6C8 4E 80 04 21 */ bctrl -lbl_8027076C: -/* 8027076C 0026D6CC 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 80270770 0026D6D0 28 03 00 00 */ cmplwi r3, 0 -/* 80270774 0026D6D4 41 82 00 60 */ beq lbl_802707D4 -/* 80270778 0026D6D8 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 8027077C 0026D6DC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80270780 0026D6E0 41 82 00 3C */ beq lbl_802707BC -/* 80270784 0026D6E4 88 1F 06 AC */ lbz r0, 0x6ac(r31) -/* 80270788 0026D6E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8027078C 0026D6EC 40 82 00 30 */ bne lbl_802707BC -/* 80270790 0026D6F0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80270794 0026D6F4 38 81 00 0C */ addi r4, r1, 0xc -/* 80270798 0026D6F8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8027079C 0026D6FC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802707A0 0026D700 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802707A4 0026D704 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802707A8 0026D708 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802707AC 0026D70C 81 83 00 00 */ lwz r12, 0(r3) -/* 802707B0 0026D710 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802707B4 0026D714 7D 89 03 A6 */ mtctr r12 -/* 802707B8 0026D718 4E 80 04 21 */ bctrl -lbl_802707BC: -/* 802707BC 0026D71C 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 802707C0 0026D720 FC 20 F8 90 */ fmr f1, f31 -/* 802707C4 0026D724 81 83 00 00 */ lwz r12, 0(r3) -/* 802707C8 0026D728 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802707CC 0026D72C 7D 89 03 A6 */ mtctr r12 -/* 802707D0 0026D730 4E 80 04 21 */ bctrl -lbl_802707D4: -/* 802707D4 0026D734 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 802707D8 0026D738 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802707DC 0026D73C CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 802707E0 0026D740 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 802707E4 0026D744 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 802707E8 0026D748 7C 08 03 A6 */ mtlr r0 -/* 802707EC 0026D74C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802707F0 0026D750 4E 80 00 20 */ blr - -.global Render__9CBurrowerFRC13CStateManager -Render__9CBurrowerFRC13CStateManager: -/* 802707F4 0026D754 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802707F8 0026D758 7C 08 02 A6 */ mflr r0 -/* 802707FC 0026D75C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270800 0026D760 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270804 0026D764 7C 9F 23 78 */ mr r31, r4 -/* 80270808 0026D768 93 C1 00 08 */ stw r30, 8(r1) -/* 8027080C 0026D76C 7C 7E 1B 78 */ mr r30, r3 -/* 80270810 0026D770 80 63 00 90 */ lwz r3, 0x90(r3) -/* 80270814 0026D774 28 03 00 00 */ cmplwi r3, 0 -/* 80270818 0026D778 41 82 00 28 */ beq lbl_80270840 -/* 8027081C 0026D77C 80 1E 06 74 */ lwz r0, 0x674(r30) -/* 80270820 0026D780 28 00 00 00 */ cmplwi r0, 0 -/* 80270824 0026D784 41 82 00 1C */ beq lbl_80270840 -/* 80270828 0026D788 4B E9 45 61 */ bl ActivateLights__12CActorLightsCFv -/* 8027082C 0026D78C 80 7E 06 74 */ lwz r3, 0x674(r30) -/* 80270830 0026D790 81 83 00 00 */ lwz r12, 0(r3) -/* 80270834 0026D794 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80270838 0026D798 7D 89 03 A6 */ mtctr r12 -/* 8027083C 0026D79C 4E 80 04 21 */ bctrl -lbl_80270840: -/* 80270840 0026D7A0 7F C3 F3 78 */ mr r3, r30 -/* 80270844 0026D7A4 7F E4 FB 78 */ mr r4, r31 -/* 80270848 0026D7A8 4B E0 77 E5 */ bl Render__10CPatternedCFRC13CStateManager -/* 8027084C 0026D7AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270850 0026D7B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270854 0026D7B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80270858 0026D7B8 7C 08 03 A6 */ mtlr r0 -/* 8027085C 0026D7BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270860 0026D7C0 4E 80 00 20 */ blr - -.global AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__9CBurrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80270864 0026D7C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80270868 0026D7C8 7C 08 02 A6 */ mflr r0 -/* 8027086C 0026D7CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80270870 0026D7D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80270874 0026D7D4 7C DF 33 78 */ mr r31, r6 -/* 80270878 0026D7D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027087C 0026D7DC 7C 9E 23 78 */ mr r30, r4 -/* 80270880 0026D7E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80270884 0026D7E4 7C 7D 1B 78 */ mr r29, r3 -/* 80270888 0026D7E8 A0 05 00 00 */ lhz r0, 0(r5) -/* 8027088C 0026D7EC 38 A1 00 08 */ addi r5, r1, 8 -/* 80270890 0026D7F0 B0 01 00 08 */ sth r0, 8(r1) -/* 80270894 0026D7F4 4B E0 C2 E5 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80270898 0026D7F8 2C 1E 00 23 */ cmpwi r30, 0x23 -/* 8027089C 0026D7FC 41 82 00 30 */ beq lbl_802708CC -/* 802708A0 0026D800 40 80 00 10 */ bge lbl_802708B0 -/* 802708A4 0026D804 2C 1E 00 21 */ cmpwi r30, 0x21 -/* 802708A8 0026D808 41 82 00 14 */ beq lbl_802708BC -/* 802708AC 0026D80C 48 00 00 98 */ b lbl_80270944 -lbl_802708B0: -/* 802708B0 0026D810 2C 1E 00 2A */ cmpwi r30, 0x2a -/* 802708B4 0026D814 41 82 00 88 */ beq lbl_8027093C -/* 802708B8 0026D818 48 00 00 8C */ b lbl_80270944 -lbl_802708BC: -/* 802708BC 0026D81C 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 802708C0 0026D820 7F E4 FB 78 */ mr r4, r31 -/* 802708C4 0026D824 4B EC A4 2D */ bl Activate__15CBodyControllerFR13CStateManager -/* 802708C8 0026D828 48 00 00 7C */ b lbl_80270944 -lbl_802708CC: -/* 802708CC 0026D82C 80 FD 00 04 */ lwz r7, 4(r29) -/* 802708D0 0026D830 7F A3 EB 78 */ mr r3, r29 -/* 802708D4 0026D834 80 DF 08 50 */ lwz r6, 0x850(r31) -/* 802708D8 0026D838 7F E4 FB 78 */ mr r4, r31 -/* 802708DC 0026D83C 54 E5 18 38 */ slwi r5, r7, 3 -/* 802708E0 0026D840 90 E1 00 10 */ stw r7, 0x10(r1) -/* 802708E4 0026D844 80 C6 00 20 */ lwz r6, 0x20(r6) -/* 802708E8 0026D848 38 05 00 04 */ addi r0, r5, 4 -/* 802708EC 0026D84C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 802708F0 0026D850 7C A6 00 2E */ lwzx r5, r6, r0 -/* 802708F4 0026D854 C0 22 BB BC */ lfs f1, lbl_805AD8DC@sda21(r2) -/* 802708F8 0026D858 80 A5 01 2C */ lwz r5, 0x12c(r5) -/* 802708FC 0026D85C 80 05 10 BC */ lwz r0, 0x10bc(r5) -/* 80270900 0026D860 90 1D 05 68 */ stw r0, 0x568(r29) -/* 80270904 0026D864 4B F8 52 91 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf -/* 80270908 0026D868 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027090C 0026D86C 40 82 00 38 */ bne lbl_80270944 -/* 80270910 0026D870 80 7D 06 78 */ lwz r3, 0x678(r29) -/* 80270914 0026D874 28 03 00 00 */ cmplwi r3, 0 -/* 80270918 0026D878 41 82 00 18 */ beq lbl_80270930 -/* 8027091C 0026D87C 81 83 00 00 */ lwz r12, 0(r3) -/* 80270920 0026D880 38 80 00 01 */ li r4, 1 -/* 80270924 0026D884 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270928 0026D888 7D 89 03 A6 */ mtctr r12 -/* 8027092C 0026D88C 4E 80 04 21 */ bctrl -lbl_80270930: -/* 80270930 0026D890 38 00 00 00 */ li r0, 0 -/* 80270934 0026D894 90 1D 06 78 */ stw r0, 0x678(r29) -/* 80270938 0026D898 48 00 00 0C */ b lbl_80270944 -lbl_8027093C: -/* 8027093C 0026D89C C0 02 BB B8 */ lfs f0, lbl_805AD8D8@sda21(r2) -/* 80270940 0026D8A0 D0 1D 06 A4 */ stfs f0, 0x6a4(r29) -lbl_80270944: -/* 80270944 0026D8A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80270948 0026D8A8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027094C 0026D8AC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80270950 0026D8B0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80270954 0026D8B4 7C 08 03 A6 */ mtlr r0 -/* 80270958 0026D8B8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027095C 0026D8BC 4E 80 00 20 */ blr - -.global __dt__9CBurrowerFv -__dt__9CBurrowerFv: -/* 80270960 0026D8C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270964 0026D8C4 7C 08 02 A6 */ mflr r0 -/* 80270968 0026D8C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027096C 0026D8CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270970 0026D8D0 7C 9F 23 78 */ mr r31, r4 -/* 80270974 0026D8D4 93 C1 00 08 */ stw r30, 8(r1) -/* 80270978 0026D8D8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027097C 0026D8DC 41 82 01 6C */ beq lbl_80270AE8 -/* 80270980 0026D8E0 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha -/* 80270984 0026D8E4 34 1E 06 8C */ addic. r0, r30, 0x68c -/* 80270988 0026D8E8 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l -/* 8027098C 0026D8EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80270990 0026D8F0 41 82 00 30 */ beq lbl_802709C0 -/* 80270994 0026D8F4 88 1E 06 98 */ lbz r0, 0x698(r30) -/* 80270998 0026D8F8 28 00 00 00 */ cmplwi r0, 0 -/* 8027099C 0026D8FC 41 82 00 1C */ beq lbl_802709B8 -/* 802709A0 0026D900 34 7E 06 8C */ addic. r3, r30, 0x68c -/* 802709A4 0026D904 41 82 00 14 */ beq lbl_802709B8 -/* 802709A8 0026D908 28 03 00 00 */ cmplwi r3, 0 -/* 802709AC 0026D90C 41 82 00 0C */ beq lbl_802709B8 -/* 802709B0 0026D910 38 80 00 00 */ li r4, 0 -/* 802709B4 0026D914 48 0D 04 8D */ bl __dt__6CTokenFv -lbl_802709B8: -/* 802709B8 0026D918 38 00 00 00 */ li r0, 0 -/* 802709BC 0026D91C 98 1E 06 98 */ stb r0, 0x698(r30) -lbl_802709C0: -/* 802709C0 0026D920 34 1E 06 7C */ addic. r0, r30, 0x67c -/* 802709C4 0026D924 41 82 00 30 */ beq lbl_802709F4 -/* 802709C8 0026D928 88 1E 06 88 */ lbz r0, 0x688(r30) -/* 802709CC 0026D92C 28 00 00 00 */ cmplwi r0, 0 -/* 802709D0 0026D930 41 82 00 1C */ beq lbl_802709EC -/* 802709D4 0026D934 34 7E 06 7C */ addic. r3, r30, 0x67c -/* 802709D8 0026D938 41 82 00 14 */ beq lbl_802709EC -/* 802709DC 0026D93C 28 03 00 00 */ cmplwi r3, 0 -/* 802709E0 0026D940 41 82 00 0C */ beq lbl_802709EC -/* 802709E4 0026D944 38 80 00 00 */ li r4, 0 -/* 802709E8 0026D948 48 0D 04 59 */ bl __dt__6CTokenFv -lbl_802709EC: -/* 802709EC 0026D94C 38 00 00 00 */ li r0, 0 -/* 802709F0 0026D950 98 1E 06 88 */ stb r0, 0x688(r30) -lbl_802709F4: -/* 802709F4 0026D954 34 1E 06 78 */ addic. r0, r30, 0x678 -/* 802709F8 0026D958 41 82 00 24 */ beq lbl_80270A1C -/* 802709FC 0026D95C 80 7E 06 78 */ lwz r3, 0x678(r30) -/* 80270A00 0026D960 28 03 00 00 */ cmplwi r3, 0 -/* 80270A04 0026D964 41 82 00 18 */ beq lbl_80270A1C -/* 80270A08 0026D968 81 83 00 00 */ lwz r12, 0(r3) -/* 80270A0C 0026D96C 38 80 00 01 */ li r4, 1 -/* 80270A10 0026D970 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270A14 0026D974 7D 89 03 A6 */ mtctr r12 -/* 80270A18 0026D978 4E 80 04 21 */ bctrl -lbl_80270A1C: -/* 80270A1C 0026D97C 34 1E 06 74 */ addic. r0, r30, 0x674 -/* 80270A20 0026D980 41 82 00 24 */ beq lbl_80270A44 -/* 80270A24 0026D984 80 7E 06 74 */ lwz r3, 0x674(r30) -/* 80270A28 0026D988 28 03 00 00 */ cmplwi r3, 0 -/* 80270A2C 0026D98C 41 82 00 18 */ beq lbl_80270A44 -/* 80270A30 0026D990 81 83 00 00 */ lwz r12, 0(r3) -/* 80270A34 0026D994 38 80 00 01 */ li r4, 1 -/* 80270A38 0026D998 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270A3C 0026D99C 7D 89 03 A6 */ mtctr r12 -/* 80270A40 0026D9A0 4E 80 04 21 */ bctrl -lbl_80270A44: -/* 80270A44 0026D9A4 34 1E 06 4C */ addic. r0, r30, 0x64c -/* 80270A48 0026D9A8 41 82 00 20 */ beq lbl_80270A68 -/* 80270A4C 0026D9AC 34 1E 06 4C */ addic. r0, r30, 0x64c -/* 80270A50 0026D9B0 41 82 00 18 */ beq lbl_80270A68 -/* 80270A54 0026D9B4 34 1E 06 4C */ addic. r0, r30, 0x64c -/* 80270A58 0026D9B8 41 82 00 10 */ beq lbl_80270A68 -/* 80270A5C 0026D9BC 38 7E 06 4C */ addi r3, r30, 0x64c -/* 80270A60 0026D9C0 38 80 00 00 */ li r4, 0 -/* 80270A64 0026D9C4 48 0D 03 DD */ bl __dt__6CTokenFv -lbl_80270A68: -/* 80270A68 0026D9C8 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80270A6C 0026D9CC 41 82 00 60 */ beq lbl_80270ACC -/* 80270A70 0026D9D0 34 1E 05 6C */ addic. r0, r30, 0x56c -/* 80270A74 0026D9D4 41 82 00 58 */ beq lbl_80270ACC -/* 80270A78 0026D9D8 80 BE 05 6C */ lwz r5, 0x56c(r30) -/* 80270A7C 0026D9DC 38 60 00 00 */ li r3, 0 -/* 80270A80 0026D9E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80270A84 0026D9E4 40 81 00 40 */ ble lbl_80270AC4 -/* 80270A88 0026D9E8 2C 05 00 08 */ cmpwi r5, 8 -/* 80270A8C 0026D9EC 38 85 FF F8 */ addi r4, r5, -8 -/* 80270A90 0026D9F0 40 81 00 20 */ ble lbl_80270AB0 -/* 80270A94 0026D9F4 38 04 00 07 */ addi r0, r4, 7 -/* 80270A98 0026D9F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80270A9C 0026D9FC 7C 09 03 A6 */ mtctr r0 -/* 80270AA0 0026DA00 2C 04 00 00 */ cmpwi r4, 0 -/* 80270AA4 0026DA04 40 81 00 0C */ ble lbl_80270AB0 -lbl_80270AA8: -/* 80270AA8 0026DA08 38 63 00 08 */ addi r3, r3, 8 -/* 80270AAC 0026DA0C 42 00 FF FC */ bdnz lbl_80270AA8 -lbl_80270AB0: -/* 80270AB0 0026DA10 7C 03 28 50 */ subf r0, r3, r5 -/* 80270AB4 0026DA14 7C 09 03 A6 */ mtctr r0 -/* 80270AB8 0026DA18 7C 03 28 00 */ cmpw r3, r5 -/* 80270ABC 0026DA1C 40 80 00 08 */ bge lbl_80270AC4 -lbl_80270AC0: -/* 80270AC0 0026DA20 42 00 00 00 */ bdnz lbl_80270AC0 -lbl_80270AC4: -/* 80270AC4 0026DA24 38 00 00 00 */ li r0, 0 -/* 80270AC8 0026DA28 90 1E 05 6C */ stw r0, 0x56c(r30) -lbl_80270ACC: -/* 80270ACC 0026DA2C 7F C3 F3 78 */ mr r3, r30 -/* 80270AD0 0026DA30 38 80 00 00 */ li r4, 0 -/* 80270AD4 0026DA34 4B E0 6A 9D */ bl __dt__10CPatternedFv -/* 80270AD8 0026DA38 7F E0 07 35 */ extsh. r0, r31 -/* 80270ADC 0026DA3C 40 81 00 0C */ ble lbl_80270AE8 -/* 80270AE0 0026DA40 7F C3 F3 78 */ mr r3, r30 -/* 80270AE4 0026DA44 48 0A 4E 4D */ bl Free__7CMemoryFPCv -lbl_80270AE8: -/* 80270AE8 0026DA48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270AEC 0026DA4C 7F C3 F3 78 */ mr r3, r30 -/* 80270AF0 0026DA50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270AF4 0026DA54 83 C1 00 08 */ lwz r30, 8(r1) -/* 80270AF8 0026DA58 7C 08 03 A6 */ mtlr r0 -/* 80270AFC 0026DA5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270B00 0026DA60 4E 80 00 20 */ blr - -.global __ct__9CBurrower -__ct__9CBurrower: -/* 80270B04 0026DA64 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80270B08 0026DA68 7C 08 02 A6 */ mflr r0 -/* 80270B0C 0026DA6C 39 60 00 00 */ li r11, 0 -/* 80270B10 0026DA70 7D 0C 43 78 */ mr r12, r8 -/* 80270B14 0026DA74 90 01 01 14 */ stw r0, 0x114(r1) -/* 80270B18 0026DA78 BE E1 00 EC */ stmw r23, 0xec(r1) -/* 80270B1C 0026DA7C 7D 37 4B 78 */ mr r23, r9 -/* 80270B20 0026DA80 7C E9 3B 78 */ mr r9, r7 -/* 80270B24 0026DA84 83 61 01 18 */ lwz r27, 0x118(r1) -/* 80270B28 0026DA88 83 81 01 1C */ lwz r28, 0x11c(r1) -/* 80270B2C 0026DA8C 7C 7F 1B 78 */ mr r31, r3 -/* 80270B30 0026DA90 83 01 01 20 */ lwz r24, 0x120(r1) -/* 80270B34 0026DA94 38 E0 00 00 */ li r7, 0 -/* 80270B38 0026DA98 83 21 01 24 */ lwz r25, 0x124(r1) -/* 80270B3C 0026DA9C 83 A1 01 28 */ lwz r29, 0x128(r1) -/* 80270B40 0026DAA0 83 41 01 2C */ lwz r26, 0x12c(r1) -/* 80270B44 0026DAA4 83 C1 01 30 */ lwz r30, 0x130(r1) -/* 80270B48 0026DAA8 A0 04 00 00 */ lhz r0, 0(r4) -/* 80270B4C 0026DAAC 7C C4 33 78 */ mr r4, r6 -/* 80270B50 0026DAB0 7C A6 2B 78 */ mr r6, r5 -/* 80270B54 0026DAB4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80270B58 0026DAB8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80270B5C 0026DABC 7C 88 23 78 */ mr r8, r4 -/* 80270B60 0026DAC0 38 00 00 01 */ li r0, 1 -/* 80270B64 0026DAC4 38 80 00 05 */ li r4, 5 -/* 80270B68 0026DAC8 92 E1 00 08 */ stw r23, 8(r1) -/* 80270B6C 0026DACC 91 61 00 0C */ stw r11, 0xc(r1) -/* 80270B70 0026DAD0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80270B74 0026DAD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270B78 0026DAD8 91 41 00 18 */ stw r10, 0x18(r1) -/* 80270B7C 0026DADC 7D 8A 63 78 */ mr r10, r12 -/* 80270B80 0026DAE0 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80270B84 0026DAE4 4B E0 C8 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80270B88 0026DAE8 3C 60 80 3F */ lis r3, lbl_803EA7C4@ha -/* 80270B8C 0026DAEC C0 22 BB B8 */ lfs f1, lbl_805AD8D8@sda21(r2) -/* 80270B90 0026DAF0 38 03 A7 C4 */ addi r0, r3, lbl_803EA7C4@l -/* 80270B94 0026DAF4 38 7F 05 68 */ addi r3, r31, 0x568 -/* 80270B98 0026DAF8 90 1F 00 00 */ stw r0, 0(r31) -/* 80270B9C 0026DAFC FC 40 08 90 */ fmr f2, f1 -/* 80270BA0 0026DB00 38 80 00 00 */ li r4, 0 -/* 80270BA4 0026DB04 38 A0 00 01 */ li r5, 1 -/* 80270BA8 0026DB08 80 D7 01 0C */ lwz r6, 0x10c(r23) -/* 80270BAC 0026DB0C 4B F5 81 E9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 80270BB0 0026DB10 80 98 00 00 */ lwz r4, 0(r24) -/* 80270BB4 0026DB14 7F 25 CB 78 */ mr r5, r25 -/* 80270BB8 0026DB18 38 7F 06 4C */ addi r3, r31, 0x64c -/* 80270BBC 0026DB1C 4B FA B4 ED */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 80270BC0 0026DB20 38 00 00 00 */ li r0, 0 -/* 80270BC4 0026DB24 C0 02 BB BC */ lfs f0, lbl_805AD8DC@sda21(r2) -/* 80270BC8 0026DB28 90 1F 06 74 */ stw r0, 0x674(r31) -/* 80270BCC 0026DB2C 57 43 04 3E */ clrlwi r3, r26, 0x10 -/* 80270BD0 0026DB30 90 1F 06 78 */ stw r0, 0x678(r31) -/* 80270BD4 0026DB34 98 1F 06 88 */ stb r0, 0x688(r31) -/* 80270BD8 0026DB38 98 1F 06 98 */ stb r0, 0x698(r31) -/* 80270BDC 0026DB3C D0 1F 06 9C */ stfs f0, 0x69c(r31) -/* 80270BE0 0026DB40 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) -/* 80270BE4 0026DB44 D0 1F 06 A4 */ stfs f0, 0x6a4(r31) -/* 80270BE8 0026DB48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80270BEC 0026DB4C B0 1F 06 A8 */ sth r0, 0x6a8(r31) -/* 80270BF0 0026DB50 48 07 7D C1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80270BF4 0026DB54 B0 7F 06 AA */ sth r3, 0x6aa(r31) -/* 80270BF8 0026DB58 38 A0 00 00 */ li r5, 0 -/* 80270BFC 0026DB5C 7F E3 FB 78 */ mr r3, r31 -/* 80270C00 0026DB60 38 80 00 00 */ li r4, 0 -/* 80270C04 0026DB64 88 1F 06 AC */ lbz r0, 0x6ac(r31) -/* 80270C08 0026DB68 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80270C0C 0026DB6C 98 1F 06 AC */ stb r0, 0x6ac(r31) -/* 80270C10 0026DB70 88 1F 06 AC */ lbz r0, 0x6ac(r31) -/* 80270C14 0026DB74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80270C18 0026DB78 98 1F 06 AC */ stb r0, 0x6ac(r31) -/* 80270C1C 0026DB7C 4B DE 21 51 */ bl CreateShadow__6CActorFb -/* 80270C20 0026DB80 7F E3 FB 78 */ mr r3, r31 -/* 80270C24 0026DB84 4B E0 6C 71 */ bl MakeThermalColdAndHot__10CPatternedFv -/* 80270C28 0026DB88 38 7F 06 4C */ addi r3, r31, 0x64c -/* 80270C2C 0026DB8C 48 0D 01 59 */ bl Lock__6CTokenFv -/* 80270C30 0026DB90 80 9B 00 00 */ lwz r4, 0(r27) -/* 80270C34 0026DB94 3C 04 00 01 */ addis r0, r4, 1 -/* 80270C38 0026DB98 28 00 FF FF */ cmplwi r0, 0xffff -/* 80270C3C 0026DB9C 41 82 01 7C */ beq lbl_80270DB8 -/* 80270C40 0026DBA0 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80270C44 0026DBA4 90 81 00 70 */ stw r4, 0x70(r1) -/* 80270C48 0026DBA8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80270C4C 0026DBAC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80270C50 0026DBB0 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80270C54 0026DBB4 38 61 00 64 */ addi r3, r1, 0x64 -/* 80270C58 0026DBB8 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80270C5C 0026DBBC 81 84 00 00 */ lwz r12, 0(r4) -/* 80270C60 0026DBC0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80270C64 0026DBC4 7D 89 03 A6 */ mtctr r12 -/* 80270C68 0026DBC8 4E 80 04 21 */ bctrl -/* 80270C6C 0026DBCC 3A E1 00 C0 */ addi r23, r1, 0xc0 -/* 80270C70 0026DBD0 38 81 00 64 */ addi r4, r1, 0x64 -/* 80270C74 0026DBD4 7E E3 BB 78 */ mr r3, r23 -/* 80270C78 0026DBD8 48 0D 02 31 */ bl __ct__6CTokenFRC6CToken -/* 80270C7C 0026DBDC 7E E3 BB 78 */ mr r3, r23 -/* 80270C80 0026DBE0 48 0D 01 8D */ bl GetObj__6CTokenFv -/* 80270C84 0026DBE4 80 03 00 04 */ lwz r0, 4(r3) -/* 80270C88 0026DBE8 3A E1 00 D8 */ addi r23, r1, 0xd8 -/* 80270C8C 0026DBEC 7E E3 BB 78 */ mr r3, r23 -/* 80270C90 0026DBF0 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 80270C94 0026DBF4 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 80270C98 0026DBF8 48 0D 02 11 */ bl __ct__6CTokenFRC6CToken -/* 80270C9C 0026DBFC 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 80270CA0 0026DC00 7E E3 BB 78 */ mr r3, r23 -/* 80270CA4 0026DC04 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80270CA8 0026DC08 48 0D 00 DD */ bl Lock__6CTokenFv -/* 80270CAC 0026DC0C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80270CB0 0026DC10 38 80 00 00 */ li r4, 0 -/* 80270CB4 0026DC14 48 0D 01 8D */ bl __dt__6CTokenFv -/* 80270CB8 0026DC18 38 61 00 64 */ addi r3, r1, 0x64 -/* 80270CBC 0026DC1C 38 80 FF FF */ li r4, -1 -/* 80270CC0 0026DC20 48 0D 01 81 */ bl __dt__6CTokenFv -/* 80270CC4 0026DC24 3C 60 80 3D */ lis r3, lbl_803D5420@ha -/* 80270CC8 0026DC28 3A E0 00 00 */ li r23, 0 -/* 80270CCC 0026DC2C 38 83 54 20 */ addi r4, r3, lbl_803D5420@l -/* 80270CD0 0026DC30 38 A0 00 00 */ li r5, 0 -/* 80270CD4 0026DC34 38 60 03 40 */ li r3, 0x340 -/* 80270CD8 0026DC38 48 0A 4B 95 */ bl __nw__FUlPCcPCc -/* 80270CDC 0026DC3C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80270CE0 0026DC40 41 82 00 2C */ beq lbl_80270D0C -/* 80270CE4 0026DC44 38 61 00 5C */ addi r3, r1, 0x5c -/* 80270CE8 0026DC48 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 80270CEC 0026DC4C 48 0D 01 BD */ bl __ct__6CTokenFRC6CToken -/* 80270CF0 0026DC50 7F 63 DB 78 */ mr r3, r27 -/* 80270CF4 0026DC54 38 81 00 5C */ addi r4, r1, 0x5c -/* 80270CF8 0026DC58 3A E0 00 01 */ li r23, 1 -/* 80270CFC 0026DC5C 38 A0 00 01 */ li r5, 1 -/* 80270D00 0026DC60 38 C0 00 01 */ li r6, 1 -/* 80270D04 0026DC64 48 0A E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80270D08 0026DC68 7C 7B 1B 78 */ mr r27, r3 -lbl_80270D0C: -/* 80270D0C 0026DC6C 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270D10 0026DC70 28 03 00 00 */ cmplwi r3, 0 -/* 80270D14 0026DC74 41 82 00 18 */ beq lbl_80270D2C -/* 80270D18 0026DC78 81 83 00 00 */ lwz r12, 0(r3) -/* 80270D1C 0026DC7C 38 80 00 01 */ li r4, 1 -/* 80270D20 0026DC80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270D24 0026DC84 7D 89 03 A6 */ mtctr r12 -/* 80270D28 0026DC88 4E 80 04 21 */ bctrl -lbl_80270D2C: -/* 80270D2C 0026DC8C 7E E0 07 75 */ extsb. r0, r23 -/* 80270D30 0026DC90 93 7F 06 74 */ stw r27, 0x674(r31) -/* 80270D34 0026DC94 41 82 00 10 */ beq lbl_80270D44 -/* 80270D38 0026DC98 38 61 00 5C */ addi r3, r1, 0x5c -/* 80270D3C 0026DC9C 38 80 00 00 */ li r4, 0 -/* 80270D40 0026DCA0 48 0D 01 01 */ bl __dt__6CTokenFv -lbl_80270D44: -/* 80270D44 0026DCA4 80 BF 06 74 */ lwz r5, 0x674(r31) -/* 80270D48 0026DCA8 28 05 00 00 */ cmplwi r5, 0 -/* 80270D4C 0026DCAC 41 82 00 60 */ beq lbl_80270DAC -/* 80270D50 0026DCB0 88 05 02 6D */ lbz r0, 0x26d(r5) -/* 80270D54 0026DCB4 38 60 00 01 */ li r3, 1 -/* 80270D58 0026DCB8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80270D5C 0026DCBC 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80270D60 0026DCC0 98 05 02 6D */ stb r0, 0x26d(r5) -/* 80270D64 0026DCC4 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80270D68 0026DCC8 C0 03 00 00 */ lfs f0, 0(r3) -/* 80270D6C 0026DCCC D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80270D70 0026DCD0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80270D74 0026DCD4 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80270D78 0026DCD8 C0 03 00 08 */ lfs f0, 8(r3) -/* 80270D7C 0026DCDC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80270D80 0026DCE0 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270D84 0026DCE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80270D88 0026DCE8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80270D8C 0026DCEC 7D 89 03 A6 */ mtctr r12 -/* 80270D90 0026DCF0 4E 80 04 21 */ bctrl -/* 80270D94 0026DCF4 80 7F 06 74 */ lwz r3, 0x674(r31) -/* 80270D98 0026DCF8 38 80 00 00 */ li r4, 0 -/* 80270D9C 0026DCFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80270DA0 0026DD00 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80270DA4 0026DD04 7D 89 03 A6 */ mtctr r12 -/* 80270DA8 0026DD08 4E 80 04 21 */ bctrl -lbl_80270DAC: -/* 80270DAC 0026DD0C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 80270DB0 0026DD10 38 80 00 00 */ li r4, 0 -/* 80270DB4 0026DD14 48 0D 00 8D */ bl __dt__6CTokenFv -lbl_80270DB8: -/* 80270DB8 0026DD18 80 9C 00 00 */ lwz r4, 0(r28) -/* 80270DBC 0026DD1C 3C 04 00 01 */ addis r0, r4, 1 -/* 80270DC0 0026DD20 28 00 FF FF */ cmplwi r0, 0xffff -/* 80270DC4 0026DD24 41 82 01 68 */ beq lbl_80270F2C -/* 80270DC8 0026DD28 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80270DCC 0026DD2C 90 81 00 58 */ stw r4, 0x58(r1) -/* 80270DD0 0026DD30 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80270DD4 0026DD34 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80270DD8 0026DD38 90 01 00 54 */ stw r0, 0x54(r1) -/* 80270DDC 0026DD3C 38 61 00 4C */ addi r3, r1, 0x4c -/* 80270DE0 0026DD40 38 A1 00 54 */ addi r5, r1, 0x54 -/* 80270DE4 0026DD44 81 84 00 00 */ lwz r12, 0(r4) -/* 80270DE8 0026DD48 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80270DEC 0026DD4C 7D 89 03 A6 */ mtctr r12 -/* 80270DF0 0026DD50 4E 80 04 21 */ bctrl -/* 80270DF4 0026DD54 3A E1 00 A8 */ addi r23, r1, 0xa8 -/* 80270DF8 0026DD58 38 81 00 4C */ addi r4, r1, 0x4c -/* 80270DFC 0026DD5C 7E E3 BB 78 */ mr r3, r23 -/* 80270E00 0026DD60 48 0D 00 A9 */ bl __ct__6CTokenFRC6CToken -/* 80270E04 0026DD64 7E E3 BB 78 */ mr r3, r23 -/* 80270E08 0026DD68 48 0D 00 05 */ bl GetObj__6CTokenFv -/* 80270E0C 0026DD6C 80 03 00 04 */ lwz r0, 4(r3) -/* 80270E10 0026DD70 3A E1 00 CC */ addi r23, r1, 0xcc -/* 80270E14 0026DD74 7E E3 BB 78 */ mr r3, r23 -/* 80270E18 0026DD78 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80270E1C 0026DD7C 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80270E20 0026DD80 48 0D 00 89 */ bl __ct__6CTokenFRC6CToken -/* 80270E24 0026DD84 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 80270E28 0026DD88 7E E3 BB 78 */ mr r3, r23 -/* 80270E2C 0026DD8C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80270E30 0026DD90 48 0C FF 55 */ bl Lock__6CTokenFv -/* 80270E34 0026DD94 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80270E38 0026DD98 38 80 00 00 */ li r4, 0 -/* 80270E3C 0026DD9C 48 0D 00 05 */ bl __dt__6CTokenFv -/* 80270E40 0026DDA0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80270E44 0026DDA4 38 80 FF FF */ li r4, -1 -/* 80270E48 0026DDA8 48 0C FF F9 */ bl __dt__6CTokenFv -/* 80270E4C 0026DDAC 3C 60 80 3D */ lis r3, lbl_803D5420@ha -/* 80270E50 0026DDB0 3A E0 00 00 */ li r23, 0 -/* 80270E54 0026DDB4 38 83 54 20 */ addi r4, r3, lbl_803D5420@l -/* 80270E58 0026DDB8 38 A0 00 00 */ li r5, 0 -/* 80270E5C 0026DDBC 38 60 03 40 */ li r3, 0x340 -/* 80270E60 0026DDC0 48 0A 4A 0D */ bl __nw__FUlPCcPCc -/* 80270E64 0026DDC4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80270E68 0026DDC8 41 82 00 2C */ beq lbl_80270E94 -/* 80270E6C 0026DDCC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80270E70 0026DDD0 38 81 00 CC */ addi r4, r1, 0xcc -/* 80270E74 0026DDD4 48 0D 00 35 */ bl __ct__6CTokenFRC6CToken -/* 80270E78 0026DDD8 7F 63 DB 78 */ mr r3, r27 -/* 80270E7C 0026DDDC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80270E80 0026DDE0 3A E0 00 01 */ li r23, 1 -/* 80270E84 0026DDE4 38 A0 00 00 */ li r5, 0 -/* 80270E88 0026DDE8 38 C0 00 01 */ li r6, 1 -/* 80270E8C 0026DDEC 48 0A E5 55 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80270E90 0026DDF0 7C 7B 1B 78 */ mr r27, r3 -lbl_80270E94: -/* 80270E94 0026DDF4 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 80270E98 0026DDF8 28 03 00 00 */ cmplwi r3, 0 -/* 80270E9C 0026DDFC 41 82 00 18 */ beq lbl_80270EB4 -/* 80270EA0 0026DE00 81 83 00 00 */ lwz r12, 0(r3) -/* 80270EA4 0026DE04 38 80 00 01 */ li r4, 1 -/* 80270EA8 0026DE08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270EAC 0026DE0C 7D 89 03 A6 */ mtctr r12 -/* 80270EB0 0026DE10 4E 80 04 21 */ bctrl -lbl_80270EB4: -/* 80270EB4 0026DE14 7E E0 07 75 */ extsb. r0, r23 -/* 80270EB8 0026DE18 93 7F 06 78 */ stw r27, 0x678(r31) -/* 80270EBC 0026DE1C 41 82 00 10 */ beq lbl_80270ECC -/* 80270EC0 0026DE20 38 61 00 44 */ addi r3, r1, 0x44 -/* 80270EC4 0026DE24 38 80 00 00 */ li r4, 0 -/* 80270EC8 0026DE28 48 0C FF 79 */ bl __dt__6CTokenFv -lbl_80270ECC: -/* 80270ECC 0026DE2C 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 80270ED0 0026DE30 28 03 00 00 */ cmplwi r3, 0 -/* 80270ED4 0026DE34 41 82 00 4C */ beq lbl_80270F20 -/* 80270ED8 0026DE38 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 80270EDC 0026DE3C 38 81 00 9C */ addi r4, r1, 0x9c -/* 80270EE0 0026DE40 C0 05 00 00 */ lfs f0, 0(r5) -/* 80270EE4 0026DE44 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80270EE8 0026DE48 C0 05 00 04 */ lfs f0, 4(r5) -/* 80270EEC 0026DE4C D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80270EF0 0026DE50 C0 05 00 08 */ lfs f0, 8(r5) -/* 80270EF4 0026DE54 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80270EF8 0026DE58 81 83 00 00 */ lwz r12, 0(r3) -/* 80270EFC 0026DE5C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80270F00 0026DE60 7D 89 03 A6 */ mtctr r12 -/* 80270F04 0026DE64 4E 80 04 21 */ bctrl -/* 80270F08 0026DE68 80 7F 06 78 */ lwz r3, 0x678(r31) -/* 80270F0C 0026DE6C 38 80 00 00 */ li r4, 0 -/* 80270F10 0026DE70 81 83 00 00 */ lwz r12, 0(r3) -/* 80270F14 0026DE74 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80270F18 0026DE78 7D 89 03 A6 */ mtctr r12 -/* 80270F1C 0026DE7C 4E 80 04 21 */ bctrl -lbl_80270F20: -/* 80270F20 0026DE80 38 61 00 CC */ addi r3, r1, 0xcc -/* 80270F24 0026DE84 38 80 00 00 */ li r4, 0 -/* 80270F28 0026DE88 48 0C FF 19 */ bl __dt__6CTokenFv -lbl_80270F2C: -/* 80270F2C 0026DE8C 80 9D 00 00 */ lwz r4, 0(r29) -/* 80270F30 0026DE90 3C 04 00 01 */ addis r0, r4, 1 -/* 80270F34 0026DE94 28 00 FF FF */ cmplwi r0, 0xffff -/* 80270F38 0026DE98 41 82 01 58 */ beq lbl_80271090 -/* 80270F3C 0026DE9C 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80270F40 0026DEA0 90 81 00 40 */ stw r4, 0x40(r1) -/* 80270F44 0026DEA4 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80270F48 0026DEA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80270F4C 0026DEAC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80270F50 0026DEB0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80270F54 0026DEB4 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80270F58 0026DEB8 81 84 00 00 */ lwz r12, 0(r4) -/* 80270F5C 0026DEBC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80270F60 0026DEC0 7D 89 03 A6 */ mtctr r12 -/* 80270F64 0026DEC4 4E 80 04 21 */ bctrl -/* 80270F68 0026DEC8 3A E1 00 90 */ addi r23, r1, 0x90 -/* 80270F6C 0026DECC 38 81 00 34 */ addi r4, r1, 0x34 -/* 80270F70 0026DED0 7E E3 BB 78 */ mr r3, r23 -/* 80270F74 0026DED4 48 0C FF 35 */ bl __ct__6CTokenFRC6CToken -/* 80270F78 0026DED8 7E E3 BB 78 */ mr r3, r23 -/* 80270F7C 0026DEDC 48 0C FE 91 */ bl GetObj__6CTokenFv -/* 80270F80 0026DEE0 80 63 00 04 */ lwz r3, 4(r3) -/* 80270F84 0026DEE4 38 00 00 01 */ li r0, 1 -/* 80270F88 0026DEE8 37 61 00 80 */ addic. r27, r1, 0x80 -/* 80270F8C 0026DEEC 90 61 00 98 */ stw r3, 0x98(r1) -/* 80270F90 0026DEF0 98 01 00 8C */ stb r0, 0x8c(r1) -/* 80270F94 0026DEF4 41 82 00 20 */ beq lbl_80270FB4 -/* 80270F98 0026DEF8 7F 63 DB 78 */ mr r3, r27 -/* 80270F9C 0026DEFC 7E E4 BB 78 */ mr r4, r23 -/* 80270FA0 0026DF00 48 0C FF 09 */ bl __ct__6CTokenFRC6CToken -/* 80270FA4 0026DF04 80 01 00 98 */ lwz r0, 0x98(r1) -/* 80270FA8 0026DF08 7F 63 DB 78 */ mr r3, r27 -/* 80270FAC 0026DF0C 90 1B 00 08 */ stw r0, 8(r27) -/* 80270FB0 0026DF10 48 0C FD D5 */ bl Lock__6CTokenFv -lbl_80270FB4: -/* 80270FB4 0026DF14 3B 7F 06 7C */ addi r27, r31, 0x67c -/* 80270FB8 0026DF18 38 81 00 80 */ addi r4, r1, 0x80 -/* 80270FBC 0026DF1C 7C 1B 20 40 */ cmplw r27, r4 -/* 80270FC0 0026DF20 41 82 00 8C */ beq lbl_8027104C -/* 80270FC4 0026DF24 88 01 00 8C */ lbz r0, 0x8c(r1) -/* 80270FC8 0026DF28 28 00 00 00 */ cmplwi r0, 0 -/* 80270FCC 0026DF2C 41 82 00 54 */ beq lbl_80271020 -/* 80270FD0 0026DF30 88 1F 06 88 */ lbz r0, 0x688(r31) -/* 80270FD4 0026DF34 28 00 00 00 */ cmplwi r0, 0 -/* 80270FD8 0026DF38 40 82 00 34 */ bne lbl_8027100C -/* 80270FDC 0026DF3C 28 1B 00 00 */ cmplwi r27, 0 -/* 80270FE0 0026DF40 41 82 00 20 */ beq lbl_80271000 -/* 80270FE4 0026DF44 7F 77 DB 78 */ mr r23, r27 -/* 80270FE8 0026DF48 7F 63 DB 78 */ mr r3, r27 -/* 80270FEC 0026DF4C 48 0C FE BD */ bl __ct__6CTokenFRC6CToken -/* 80270FF0 0026DF50 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80270FF4 0026DF54 7E E3 BB 78 */ mr r3, r23 -/* 80270FF8 0026DF58 90 17 00 08 */ stw r0, 8(r23) -/* 80270FFC 0026DF5C 48 0C FD 89 */ bl Lock__6CTokenFv -lbl_80271000: -/* 80271000 0026DF60 38 00 00 01 */ li r0, 1 -/* 80271004 0026DF64 98 1F 06 88 */ stb r0, 0x688(r31) -/* 80271008 0026DF68 48 00 00 44 */ b lbl_8027104C -lbl_8027100C: -/* 8027100C 0026DF6C 7F 63 DB 78 */ mr r3, r27 -/* 80271010 0026DF70 48 0C FC B5 */ bl __as__6CTokenFRC6CToken -/* 80271014 0026DF74 80 01 00 88 */ lwz r0, 0x88(r1) -/* 80271018 0026DF78 90 1B 00 08 */ stw r0, 8(r27) -/* 8027101C 0026DF7C 48 00 00 30 */ b lbl_8027104C -lbl_80271020: -/* 80271020 0026DF80 88 1F 06 88 */ lbz r0, 0x688(r31) -/* 80271024 0026DF84 28 00 00 00 */ cmplwi r0, 0 -/* 80271028 0026DF88 41 82 00 1C */ beq lbl_80271044 -/* 8027102C 0026DF8C 28 1B 00 00 */ cmplwi r27, 0 -/* 80271030 0026DF90 41 82 00 14 */ beq lbl_80271044 -/* 80271034 0026DF94 41 82 00 10 */ beq lbl_80271044 -/* 80271038 0026DF98 7F 63 DB 78 */ mr r3, r27 -/* 8027103C 0026DF9C 38 80 00 00 */ li r4, 0 -/* 80271040 0026DFA0 48 0C FE 01 */ bl __dt__6CTokenFv -lbl_80271044: -/* 80271044 0026DFA4 38 00 00 00 */ li r0, 0 -/* 80271048 0026DFA8 98 1F 06 88 */ stb r0, 0x688(r31) -lbl_8027104C: -/* 8027104C 0026DFAC 88 01 00 8C */ lbz r0, 0x8c(r1) -/* 80271050 0026DFB0 28 00 00 00 */ cmplwi r0, 0 -/* 80271054 0026DFB4 41 82 00 1C */ beq lbl_80271070 -/* 80271058 0026DFB8 34 61 00 80 */ addic. r3, r1, 0x80 -/* 8027105C 0026DFBC 41 82 00 14 */ beq lbl_80271070 -/* 80271060 0026DFC0 28 03 00 00 */ cmplwi r3, 0 -/* 80271064 0026DFC4 41 82 00 0C */ beq lbl_80271070 -/* 80271068 0026DFC8 38 80 00 00 */ li r4, 0 -/* 8027106C 0026DFCC 48 0C FD D5 */ bl __dt__6CTokenFv -lbl_80271070: -/* 80271070 0026DFD0 38 00 00 00 */ li r0, 0 -/* 80271074 0026DFD4 38 61 00 90 */ addi r3, r1, 0x90 -/* 80271078 0026DFD8 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8027107C 0026DFDC 38 80 00 00 */ li r4, 0 -/* 80271080 0026DFE0 48 0C FD C1 */ bl __dt__6CTokenFv -/* 80271084 0026DFE4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80271088 0026DFE8 38 80 FF FF */ li r4, -1 -/* 8027108C 0026DFEC 48 0C FD B5 */ bl __dt__6CTokenFv -lbl_80271090: -/* 80271090 0026DFF0 3C 1E 00 01 */ addis r0, r30, 1 -/* 80271094 0026DFF4 28 00 FF FF */ cmplwi r0, 0xffff -/* 80271098 0026DFF8 41 82 00 B0 */ beq lbl_80271148 -/* 8027109C 0026DFFC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 802710A0 0026E000 93 C1 00 30 */ stw r30, 0x30(r1) -/* 802710A4 0026E004 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 802710A8 0026E008 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802710AC 0026E00C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802710B0 0026E010 38 61 00 24 */ addi r3, r1, 0x24 -/* 802710B4 0026E014 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802710B8 0026E018 81 84 00 00 */ lwz r12, 0(r4) -/* 802710BC 0026E01C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802710C0 0026E020 7D 89 03 A6 */ mtctr r12 -/* 802710C4 0026E024 4E 80 04 21 */ bctrl -/* 802710C8 0026E028 38 61 00 74 */ addi r3, r1, 0x74 -/* 802710CC 0026E02C 38 81 00 24 */ addi r4, r1, 0x24 -/* 802710D0 0026E030 48 0C FD D9 */ bl __ct__6CTokenFRC6CToken -/* 802710D4 0026E034 38 00 00 00 */ li r0, 0 -/* 802710D8 0026E038 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802710DC 0026E03C 88 1F 06 98 */ lbz r0, 0x698(r31) -/* 802710E0 0026E040 28 00 00 00 */ cmplwi r0, 0 -/* 802710E4 0026E044 40 82 00 2C */ bne lbl_80271110 -/* 802710E8 0026E048 37 7F 06 8C */ addic. r27, r31, 0x68c -/* 802710EC 0026E04C 41 82 00 18 */ beq lbl_80271104 -/* 802710F0 0026E050 7F 63 DB 78 */ mr r3, r27 -/* 802710F4 0026E054 38 81 00 74 */ addi r4, r1, 0x74 -/* 802710F8 0026E058 48 0C FD B1 */ bl __ct__6CTokenFRC6CToken -/* 802710FC 0026E05C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 80271100 0026E060 90 1B 00 08 */ stw r0, 8(r27) -lbl_80271104: -/* 80271104 0026E064 38 00 00 01 */ li r0, 1 -/* 80271108 0026E068 98 1F 06 98 */ stb r0, 0x698(r31) -/* 8027110C 0026E06C 48 00 00 1C */ b lbl_80271128 -lbl_80271110: -/* 80271110 0026E070 3B 7F 06 8C */ addi r27, r31, 0x68c -/* 80271114 0026E074 38 81 00 74 */ addi r4, r1, 0x74 -/* 80271118 0026E078 7F 63 DB 78 */ mr r3, r27 -/* 8027111C 0026E07C 48 0C FB A9 */ bl __as__6CTokenFRC6CToken -/* 80271120 0026E080 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 80271124 0026E084 90 1B 00 08 */ stw r0, 8(r27) -lbl_80271128: -/* 80271128 0026E088 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027112C 0026E08C 38 80 00 00 */ li r4, 0 -/* 80271130 0026E090 48 0C FD 11 */ bl __dt__6CTokenFv -/* 80271134 0026E094 38 61 00 24 */ addi r3, r1, 0x24 -/* 80271138 0026E098 38 80 FF FF */ li r4, -1 -/* 8027113C 0026E09C 48 0C FD 05 */ bl __dt__6CTokenFv -/* 80271140 0026E0A0 38 7F 06 8C */ addi r3, r31, 0x68c -/* 80271144 0026E0A4 48 0C FC 41 */ bl Lock__6CTokenFv -lbl_80271148: -/* 80271148 0026E0A8 7F E3 FB 78 */ mr r3, r31 -/* 8027114C 0026E0AC BA E1 00 EC */ lmw r23, 0xec(r1) -/* 80271150 0026E0B0 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80271154 0026E0B4 7C 08 03 A6 */ mtlr r0 -/* 80271158 0026E0B8 38 21 01 10 */ addi r1, r1, 0x110 -/* 8027115C 0026E0BC 4E 80 00 20 */ blr - -.global __sinit_CBurrower_cpp -__sinit_CBurrower_cpp: -/* 80271160 0026E0C0 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80271164 0026E0C4 7C 08 02 A6 */ mflr r0 -/* 80271168 0026E0C8 39 60 00 02 */ li r11, 2 -/* 8027116C 0026E0CC 38 80 00 02 */ li r4, 2 -/* 80271170 0026E0D0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80271174 0026E0D4 38 00 00 00 */ li r0, 0 -/* 80271178 0026E0D8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8027117C 0026E0DC 38 A0 00 02 */ li r5, 2 -/* 80271180 0026E0E0 BE 01 00 A0 */ stmw r16, 0xa0(r1) -/* 80271184 0026E0E4 38 C0 00 02 */ li r6, 2 -/* 80271188 0026E0E8 38 E0 00 02 */ li r7, 2 -/* 8027118C 0026E0EC 39 00 00 01 */ li r8, 1 -/* 80271190 0026E0F0 39 20 00 01 */ li r9, 1 -/* 80271194 0026E0F4 39 40 00 02 */ li r10, 2 -/* 80271198 0026E0F8 91 61 00 08 */ stw r11, 8(r1) -/* 8027119C 0026E0FC 91 61 00 0C */ stw r11, 0xc(r1) -/* 802711A0 0026E100 91 61 00 10 */ stw r11, 0x10(r1) -/* 802711A4 0026E104 91 61 00 14 */ stw r11, 0x14(r1) -/* 802711A8 0026E108 91 61 00 18 */ stw r11, 0x18(r1) -/* 802711AC 0026E10C 91 61 00 1C */ stw r11, 0x1c(r1) -/* 802711B0 0026E110 91 61 00 20 */ stw r11, 0x20(r1) -/* 802711B4 0026E114 91 61 00 24 */ stw r11, 0x24(r1) -/* 802711B8 0026E118 90 01 00 28 */ stw r0, 0x28(r1) -/* 802711BC 0026E11C 4B E9 17 79 */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType -/* 802711C0 0026E120 3C 60 80 57 */ lis r3, lbl_80572694@ha -/* 802711C4 0026E124 82 21 00 30 */ lwz r17, 0x30(r1) -/* 802711C8 0026E128 3A 03 26 94 */ addi r16, r3, lbl_80572694@l -/* 802711CC 0026E12C 82 41 00 34 */ lwz r18, 0x34(r1) -/* 802711D0 0026E130 82 61 00 38 */ lwz r19, 0x38(r1) -/* 802711D4 0026E134 82 81 00 3C */ lwz r20, 0x3c(r1) -/* 802711D8 0026E138 82 A1 00 40 */ lwz r21, 0x40(r1) -/* 802711DC 0026E13C 82 C1 00 44 */ lwz r22, 0x44(r1) -/* 802711E0 0026E140 82 E1 00 48 */ lwz r23, 0x48(r1) -/* 802711E4 0026E144 83 01 00 4C */ lwz r24, 0x4c(r1) -/* 802711E8 0026E148 83 21 00 50 */ lwz r25, 0x50(r1) -/* 802711EC 0026E14C 83 41 00 54 */ lwz r26, 0x54(r1) -/* 802711F0 0026E150 83 61 00 58 */ lwz r27, 0x58(r1) -/* 802711F4 0026E154 83 81 00 5C */ lwz r28, 0x5c(r1) -/* 802711F8 0026E158 83 A1 00 60 */ lwz r29, 0x60(r1) -/* 802711FC 0026E15C 83 C1 00 64 */ lwz r30, 0x64(r1) -/* 80271200 0026E160 83 E1 00 68 */ lwz r31, 0x68(r1) -/* 80271204 0026E164 81 81 00 6C */ lwz r12, 0x6c(r1) -/* 80271208 0026E168 81 61 00 70 */ lwz r11, 0x70(r1) -/* 8027120C 0026E16C 81 41 00 74 */ lwz r10, 0x74(r1) -/* 80271210 0026E170 81 21 00 78 */ lwz r9, 0x78(r1) -/* 80271214 0026E174 81 01 00 7C */ lwz r8, 0x7c(r1) -/* 80271218 0026E178 80 E1 00 80 */ lwz r7, 0x80(r1) -/* 8027121C 0026E17C 80 C1 00 84 */ lwz r6, 0x84(r1) -/* 80271220 0026E180 80 A1 00 88 */ lwz r5, 0x88(r1) -/* 80271224 0026E184 80 81 00 8C */ lwz r4, 0x8c(r1) -/* 80271228 0026E188 80 61 00 90 */ lwz r3, 0x90(r1) -/* 8027122C 0026E18C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80271230 0026E190 92 30 00 00 */ stw r17, 0(r16) -/* 80271234 0026E194 92 50 00 04 */ stw r18, 4(r16) -/* 80271238 0026E198 92 70 00 08 */ stw r19, 8(r16) -/* 8027123C 0026E19C 92 90 00 0C */ stw r20, 0xc(r16) -/* 80271240 0026E1A0 92 B0 00 10 */ stw r21, 0x10(r16) -/* 80271244 0026E1A4 92 D0 00 14 */ stw r22, 0x14(r16) -/* 80271248 0026E1A8 92 F0 00 18 */ stw r23, 0x18(r16) -/* 8027124C 0026E1AC 93 10 00 1C */ stw r24, 0x1c(r16) -/* 80271250 0026E1B0 93 30 00 20 */ stw r25, 0x20(r16) -/* 80271254 0026E1B4 93 50 00 24 */ stw r26, 0x24(r16) -/* 80271258 0026E1B8 93 70 00 28 */ stw r27, 0x28(r16) -/* 8027125C 0026E1BC 93 90 00 2C */ stw r28, 0x2c(r16) -/* 80271260 0026E1C0 93 B0 00 30 */ stw r29, 0x30(r16) -/* 80271264 0026E1C4 93 D0 00 34 */ stw r30, 0x34(r16) -/* 80271268 0026E1C8 93 F0 00 38 */ stw r31, 0x38(r16) -/* 8027126C 0026E1CC 91 90 00 3C */ stw r12, 0x3c(r16) -/* 80271270 0026E1D0 91 70 00 40 */ stw r11, 0x40(r16) -/* 80271274 0026E1D4 91 50 00 44 */ stw r10, 0x44(r16) -/* 80271278 0026E1D8 91 30 00 48 */ stw r9, 0x48(r16) -/* 8027127C 0026E1DC 91 10 00 4C */ stw r8, 0x4c(r16) -/* 80271280 0026E1E0 90 F0 00 50 */ stw r7, 0x50(r16) -/* 80271284 0026E1E4 90 D0 00 54 */ stw r6, 0x54(r16) -/* 80271288 0026E1E8 90 B0 00 58 */ stw r5, 0x58(r16) -/* 8027128C 0026E1EC 90 90 00 5C */ stw r4, 0x5c(r16) -/* 80271290 0026E1F0 90 70 00 60 */ stw r3, 0x60(r16) -/* 80271294 0026E1F4 90 10 00 64 */ stw r0, 0x64(r16) -/* 80271298 0026E1F8 BA 01 00 A0 */ lmw r16, 0xa0(r1) -/* 8027129C 0026E1FC 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802712A0 0026E200 7C 08 03 A6 */ mtlr r0 -/* 802712A4 0026E204 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802712A8 0026E208 4E 80 00 20 */ blr - -.global __dt__16CMetroidPrimeExo -__dt__16CMetroidPrimeExo: -/* 802712AC 0026E20C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802712B0 0026E210 7C 08 02 A6 */ mflr r0 -/* 802712B4 0026E214 90 01 00 24 */ stw r0, 0x24(r1) -/* 802712B8 0026E218 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802712BC 0026E21C 7C 9F 23 78 */ mr r31, r4 -/* 802712C0 0026E220 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802712C4 0026E224 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802712C8 0026E228 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802712CC 0026E22C 93 81 00 10 */ stw r28, 0x10(r1) -/* 802712D0 0026E230 41 82 09 48 */ beq lbl_80271C18 -/* 802712D4 0026E234 3C 60 80 3F */ lis r3, lbl_803EAD54@ha -/* 802712D8 0026E238 34 1E 14 3C */ addic. r0, r30, 0x143c -/* 802712DC 0026E23C 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l -/* 802712E0 0026E240 90 1E 00 00 */ stw r0, 0(r30) -/* 802712E4 0026E244 41 82 00 10 */ beq lbl_802712F4 -/* 802712E8 0026E248 80 7E 14 3C */ lwz r3, 0x143c(r30) -/* 802712EC 0026E24C 38 80 00 01 */ li r4, 1 -/* 802712F0 0026E250 48 02 D0 91 */ bl __dt__16CProjectedShadowFv -lbl_802712F4: -/* 802712F4 0026E254 34 1E 13 68 */ addic. r0, r30, 0x1368 -/* 802712F8 0026E258 41 82 00 40 */ beq lbl_80271338 -/* 802712FC 0026E25C 34 1E 13 E8 */ addic. r0, r30, 0x13e8 -/* 80271300 0026E260 41 82 00 10 */ beq lbl_80271310 -/* 80271304 0026E264 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271308 0026E268 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027130C 0026E26C 90 1E 13 E8 */ stw r0, 0x13e8(r30) -lbl_80271310: -/* 80271310 0026E270 34 1E 13 AC */ addic. r0, r30, 0x13ac -/* 80271314 0026E274 41 82 00 10 */ beq lbl_80271324 -/* 80271318 0026E278 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027131C 0026E27C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271320 0026E280 90 1E 13 AC */ stw r0, 0x13ac(r30) -lbl_80271324: -/* 80271324 0026E284 34 1E 13 70 */ addic. r0, r30, 0x1370 -/* 80271328 0026E288 41 82 00 10 */ beq lbl_80271338 -/* 8027132C 0026E28C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271330 0026E290 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271334 0026E294 90 1E 13 70 */ stw r0, 0x1370(r30) -lbl_80271338: -/* 80271338 0026E298 34 1E 12 94 */ addic. r0, r30, 0x1294 -/* 8027133C 0026E29C 41 82 00 40 */ beq lbl_8027137C -/* 80271340 0026E2A0 34 1E 13 14 */ addic. r0, r30, 0x1314 -/* 80271344 0026E2A4 41 82 00 10 */ beq lbl_80271354 -/* 80271348 0026E2A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027134C 0026E2AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271350 0026E2B0 90 1E 13 14 */ stw r0, 0x1314(r30) -lbl_80271354: -/* 80271354 0026E2B4 34 1E 12 D8 */ addic. r0, r30, 0x12d8 -/* 80271358 0026E2B8 41 82 00 10 */ beq lbl_80271368 -/* 8027135C 0026E2BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271360 0026E2C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271364 0026E2C4 90 1E 12 D8 */ stw r0, 0x12d8(r30) -lbl_80271368: -/* 80271368 0026E2C8 34 1E 12 9C */ addic. r0, r30, 0x129c -/* 8027136C 0026E2CC 41 82 00 10 */ beq lbl_8027137C -/* 80271370 0026E2D0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271374 0026E2D4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271378 0026E2D8 90 1E 12 9C */ stw r0, 0x129c(r30) -lbl_8027137C: -/* 8027137C 0026E2DC 34 1E 12 58 */ addic. r0, r30, 0x1258 -/* 80271380 0026E2E0 41 82 00 58 */ beq lbl_802713D8 -/* 80271384 0026E2E4 80 BE 12 58 */ lwz r5, 0x1258(r30) -/* 80271388 0026E2E8 38 60 00 00 */ li r3, 0 -/* 8027138C 0026E2EC 2C 05 00 00 */ cmpwi r5, 0 -/* 80271390 0026E2F0 40 81 00 40 */ ble lbl_802713D0 -/* 80271394 0026E2F4 2C 05 00 08 */ cmpwi r5, 8 -/* 80271398 0026E2F8 38 85 FF F8 */ addi r4, r5, -8 -/* 8027139C 0026E2FC 40 81 00 20 */ ble lbl_802713BC -/* 802713A0 0026E300 38 04 00 07 */ addi r0, r4, 7 -/* 802713A4 0026E304 54 00 E8 FE */ srwi r0, r0, 3 -/* 802713A8 0026E308 7C 09 03 A6 */ mtctr r0 -/* 802713AC 0026E30C 2C 04 00 00 */ cmpwi r4, 0 -/* 802713B0 0026E310 40 81 00 0C */ ble lbl_802713BC -lbl_802713B4: -/* 802713B4 0026E314 38 63 00 08 */ addi r3, r3, 8 -/* 802713B8 0026E318 42 00 FF FC */ bdnz lbl_802713B4 -lbl_802713BC: -/* 802713BC 0026E31C 7C 03 28 50 */ subf r0, r3, r5 -/* 802713C0 0026E320 7C 09 03 A6 */ mtctr r0 -/* 802713C4 0026E324 7C 03 28 00 */ cmpw r3, r5 -/* 802713C8 0026E328 40 80 00 08 */ bge lbl_802713D0 -lbl_802713CC: -/* 802713CC 0026E32C 42 00 00 00 */ bdnz lbl_802713CC -lbl_802713D0: -/* 802713D0 0026E330 38 00 00 00 */ li r0, 0 -/* 802713D4 0026E334 90 1E 12 58 */ stw r0, 0x1258(r30) -lbl_802713D8: -/* 802713D8 0026E338 34 1E 11 60 */ addic. r0, r30, 0x1160 -/* 802713DC 0026E33C 41 82 00 90 */ beq lbl_8027146C -/* 802713E0 0026E340 38 DE 11 64 */ addi r6, r30, 0x1164 -/* 802713E4 0026E344 38 60 00 00 */ li r3, 0 -/* 802713E8 0026E348 48 00 00 70 */ b lbl_80271458 -lbl_802713EC: -/* 802713EC 0026E34C 28 06 00 00 */ cmplwi r6, 0 -/* 802713F0 0026E350 41 82 00 60 */ beq lbl_80271450 -/* 802713F4 0026E354 41 82 00 5C */ beq lbl_80271450 -/* 802713F8 0026E358 80 E6 00 00 */ lwz r7, 0(r6) -/* 802713FC 0026E35C 38 80 00 00 */ li r4, 0 -/* 80271400 0026E360 2C 07 00 00 */ cmpwi r7, 0 -/* 80271404 0026E364 40 81 00 44 */ ble lbl_80271448 -/* 80271408 0026E368 2C 07 00 08 */ cmpwi r7, 8 -/* 8027140C 0026E36C 38 A7 FF F8 */ addi r5, r7, -8 -/* 80271410 0026E370 40 81 00 20 */ ble lbl_80271430 -/* 80271414 0026E374 38 05 00 07 */ addi r0, r5, 7 -/* 80271418 0026E378 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027141C 0026E37C 7C 09 03 A6 */ mtctr r0 -/* 80271420 0026E380 2C 05 00 00 */ cmpwi r5, 0 -/* 80271424 0026E384 40 81 00 0C */ ble lbl_80271430 -lbl_80271428: -/* 80271428 0026E388 38 84 00 08 */ addi r4, r4, 8 -/* 8027142C 0026E38C 42 00 FF FC */ bdnz lbl_80271428 -lbl_80271430: -/* 80271430 0026E390 7C 04 38 50 */ subf r0, r4, r7 -/* 80271434 0026E394 7C 09 03 A6 */ mtctr r0 -/* 80271438 0026E398 7C 04 38 00 */ cmpw r4, r7 -/* 8027143C 0026E39C 40 80 00 0C */ bge lbl_80271448 -lbl_80271440: -/* 80271440 0026E3A0 38 84 00 01 */ addi r4, r4, 1 -/* 80271444 0026E3A4 42 00 FF FC */ bdnz lbl_80271440 -lbl_80271448: -/* 80271448 0026E3A8 38 00 00 00 */ li r0, 0 -/* 8027144C 0026E3AC 90 06 00 00 */ stw r0, 0(r6) -lbl_80271450: -/* 80271450 0026E3B0 38 C6 00 3C */ addi r6, r6, 0x3c -/* 80271454 0026E3B4 38 63 00 01 */ addi r3, r3, 1 -lbl_80271458: -/* 80271458 0026E3B8 80 1E 11 60 */ lwz r0, 0x1160(r30) -/* 8027145C 0026E3BC 7C 03 00 00 */ cmpw r3, r0 -/* 80271460 0026E3C0 41 80 FF 8C */ blt lbl_802713EC -/* 80271464 0026E3C4 38 00 00 00 */ li r0, 0 -/* 80271468 0026E3C8 90 1E 11 60 */ stw r0, 0x1160(r30) -lbl_8027146C: -/* 8027146C 0026E3CC 34 1E 10 8C */ addic. r0, r30, 0x108c -/* 80271470 0026E3D0 41 82 00 40 */ beq lbl_802714B0 -/* 80271474 0026E3D4 34 1E 11 0C */ addic. r0, r30, 0x110c -/* 80271478 0026E3D8 41 82 00 10 */ beq lbl_80271488 -/* 8027147C 0026E3DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271480 0026E3E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271484 0026E3E4 90 1E 11 0C */ stw r0, 0x110c(r30) -lbl_80271488: -/* 80271488 0026E3E8 34 1E 10 D0 */ addic. r0, r30, 0x10d0 -/* 8027148C 0026E3EC 41 82 00 10 */ beq lbl_8027149C -/* 80271490 0026E3F0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271494 0026E3F4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271498 0026E3F8 90 1E 10 D0 */ stw r0, 0x10d0(r30) -lbl_8027149C: -/* 8027149C 0026E3FC 34 1E 10 94 */ addic. r0, r30, 0x1094 -/* 802714A0 0026E400 41 82 00 10 */ beq lbl_802714B0 -/* 802714A4 0026E404 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802714A8 0026E408 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802714AC 0026E40C 90 1E 10 94 */ stw r0, 0x1094(r30) -lbl_802714B0: -/* 802714B0 0026E410 34 1E 10 6C */ addic. r0, r30, 0x106c -/* 802714B4 0026E414 41 82 00 58 */ beq lbl_8027150C -/* 802714B8 0026E418 80 BE 10 6C */ lwz r5, 0x106c(r30) -/* 802714BC 0026E41C 38 60 00 00 */ li r3, 0 -/* 802714C0 0026E420 2C 05 00 00 */ cmpwi r5, 0 -/* 802714C4 0026E424 40 81 00 40 */ ble lbl_80271504 -/* 802714C8 0026E428 2C 05 00 08 */ cmpwi r5, 8 -/* 802714CC 0026E42C 38 85 FF F8 */ addi r4, r5, -8 -/* 802714D0 0026E430 40 81 00 20 */ ble lbl_802714F0 -/* 802714D4 0026E434 38 04 00 07 */ addi r0, r4, 7 -/* 802714D8 0026E438 54 00 E8 FE */ srwi r0, r0, 3 -/* 802714DC 0026E43C 7C 09 03 A6 */ mtctr r0 -/* 802714E0 0026E440 2C 04 00 00 */ cmpwi r4, 0 -/* 802714E4 0026E444 40 81 00 0C */ ble lbl_802714F0 -lbl_802714E8: -/* 802714E8 0026E448 38 63 00 08 */ addi r3, r3, 8 -/* 802714EC 0026E44C 42 00 FF FC */ bdnz lbl_802714E8 -lbl_802714F0: -/* 802714F0 0026E450 7C 03 28 50 */ subf r0, r3, r5 -/* 802714F4 0026E454 7C 09 03 A6 */ mtctr r0 -/* 802714F8 0026E458 7C 03 28 00 */ cmpw r3, r5 -/* 802714FC 0026E45C 40 80 00 08 */ bge lbl_80271504 -lbl_80271500: -/* 80271500 0026E460 42 00 00 00 */ bdnz lbl_80271500 -lbl_80271504: -/* 80271504 0026E464 38 00 00 00 */ li r0, 0 -/* 80271508 0026E468 90 1E 10 6C */ stw r0, 0x106c(r30) -lbl_8027150C: -/* 8027150C 0026E46C 34 1E 10 58 */ addic. r0, r30, 0x1058 -/* 80271510 0026E470 41 82 00 58 */ beq lbl_80271568 -/* 80271514 0026E474 80 BE 10 58 */ lwz r5, 0x1058(r30) -/* 80271518 0026E478 38 60 00 00 */ li r3, 0 -/* 8027151C 0026E47C 2C 05 00 00 */ cmpwi r5, 0 -/* 80271520 0026E480 40 81 00 40 */ ble lbl_80271560 -/* 80271524 0026E484 2C 05 00 08 */ cmpwi r5, 8 -/* 80271528 0026E488 38 85 FF F8 */ addi r4, r5, -8 -/* 8027152C 0026E48C 40 81 00 20 */ ble lbl_8027154C -/* 80271530 0026E490 38 04 00 07 */ addi r0, r4, 7 -/* 80271534 0026E494 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271538 0026E498 7C 09 03 A6 */ mtctr r0 -/* 8027153C 0026E49C 2C 04 00 00 */ cmpwi r4, 0 -/* 80271540 0026E4A0 40 81 00 0C */ ble lbl_8027154C -lbl_80271544: -/* 80271544 0026E4A4 38 63 00 08 */ addi r3, r3, 8 -/* 80271548 0026E4A8 42 00 FF FC */ bdnz lbl_80271544 -lbl_8027154C: -/* 8027154C 0026E4AC 7C 03 28 50 */ subf r0, r3, r5 -/* 80271550 0026E4B0 7C 09 03 A6 */ mtctr r0 -/* 80271554 0026E4B4 7C 03 28 00 */ cmpw r3, r5 -/* 80271558 0026E4B8 40 80 00 08 */ bge lbl_80271560 -lbl_8027155C: -/* 8027155C 0026E4BC 42 00 00 00 */ bdnz lbl_8027155C -lbl_80271560: -/* 80271560 0026E4C0 38 00 00 00 */ li r0, 0 -/* 80271564 0026E4C4 90 1E 10 58 */ stw r0, 0x1058(r30) -lbl_80271568: -/* 80271568 0026E4C8 34 1E 10 38 */ addic. r0, r30, 0x1038 -/* 8027156C 0026E4CC 41 82 00 58 */ beq lbl_802715C4 -/* 80271570 0026E4D0 80 BE 10 38 */ lwz r5, 0x1038(r30) -/* 80271574 0026E4D4 38 60 00 00 */ li r3, 0 -/* 80271578 0026E4D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027157C 0026E4DC 40 81 00 40 */ ble lbl_802715BC -/* 80271580 0026E4E0 2C 05 00 08 */ cmpwi r5, 8 -/* 80271584 0026E4E4 38 85 FF F8 */ addi r4, r5, -8 -/* 80271588 0026E4E8 40 81 00 20 */ ble lbl_802715A8 -/* 8027158C 0026E4EC 38 04 00 07 */ addi r0, r4, 7 -/* 80271590 0026E4F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271594 0026E4F4 7C 09 03 A6 */ mtctr r0 -/* 80271598 0026E4F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8027159C 0026E4FC 40 81 00 0C */ ble lbl_802715A8 -lbl_802715A0: -/* 802715A0 0026E500 38 63 00 08 */ addi r3, r3, 8 -/* 802715A4 0026E504 42 00 FF FC */ bdnz lbl_802715A0 -lbl_802715A8: -/* 802715A8 0026E508 7C 03 28 50 */ subf r0, r3, r5 -/* 802715AC 0026E50C 7C 09 03 A6 */ mtctr r0 -/* 802715B0 0026E510 7C 03 28 00 */ cmpw r3, r5 -/* 802715B4 0026E514 40 80 00 08 */ bge lbl_802715BC -lbl_802715B8: -/* 802715B8 0026E518 42 00 00 00 */ bdnz lbl_802715B8 -lbl_802715BC: -/* 802715BC 0026E51C 38 00 00 00 */ li r0, 0 -/* 802715C0 0026E520 90 1E 10 38 */ stw r0, 0x1038(r30) -lbl_802715C4: -/* 802715C4 0026E524 34 1E 10 2C */ addic. r0, r30, 0x102c -/* 802715C8 0026E528 41 82 00 58 */ beq lbl_80271620 -/* 802715CC 0026E52C 80 BE 10 2C */ lwz r5, 0x102c(r30) -/* 802715D0 0026E530 38 60 00 00 */ li r3, 0 -/* 802715D4 0026E534 2C 05 00 00 */ cmpwi r5, 0 -/* 802715D8 0026E538 40 81 00 40 */ ble lbl_80271618 -/* 802715DC 0026E53C 2C 05 00 08 */ cmpwi r5, 8 -/* 802715E0 0026E540 38 85 FF F8 */ addi r4, r5, -8 -/* 802715E4 0026E544 40 81 00 20 */ ble lbl_80271604 -/* 802715E8 0026E548 38 04 00 07 */ addi r0, r4, 7 -/* 802715EC 0026E54C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802715F0 0026E550 7C 09 03 A6 */ mtctr r0 -/* 802715F4 0026E554 2C 04 00 00 */ cmpwi r4, 0 -/* 802715F8 0026E558 40 81 00 0C */ ble lbl_80271604 -lbl_802715FC: -/* 802715FC 0026E55C 38 63 00 08 */ addi r3, r3, 8 -/* 80271600 0026E560 42 00 FF FC */ bdnz lbl_802715FC -lbl_80271604: -/* 80271604 0026E564 7C 03 28 50 */ subf r0, r3, r5 -/* 80271608 0026E568 7C 09 03 A6 */ mtctr r0 -/* 8027160C 0026E56C 7C 03 28 00 */ cmpw r3, r5 -/* 80271610 0026E570 40 80 00 08 */ bge lbl_80271618 -lbl_80271614: -/* 80271614 0026E574 42 00 00 00 */ bdnz lbl_80271614 -lbl_80271618: -/* 80271618 0026E578 38 00 00 00 */ li r0, 0 -/* 8027161C 0026E57C 90 1E 10 2C */ stw r0, 0x102c(r30) -lbl_80271620: -/* 80271620 0026E580 34 1E 10 24 */ addic. r0, r30, 0x1024 -/* 80271624 0026E584 41 82 00 30 */ beq lbl_80271654 -/* 80271628 0026E588 88 1E 10 24 */ lbz r0, 0x1024(r30) -/* 8027162C 0026E58C 28 00 00 00 */ cmplwi r0, 0 -/* 80271630 0026E590 41 82 00 24 */ beq lbl_80271654 -/* 80271634 0026E594 80 7E 10 28 */ lwz r3, 0x1028(r30) -/* 80271638 0026E598 28 03 00 00 */ cmplwi r3, 0 -/* 8027163C 0026E59C 41 82 00 18 */ beq lbl_80271654 -/* 80271640 0026E5A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80271644 0026E5A4 38 80 00 01 */ li r4, 1 -/* 80271648 0026E5A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027164C 0026E5AC 7D 89 03 A6 */ mtctr r12 -/* 80271650 0026E5B0 4E 80 04 21 */ bctrl -lbl_80271654: -/* 80271654 0026E5B4 34 1E 10 1C */ addic. r0, r30, 0x101c -/* 80271658 0026E5B8 41 82 00 10 */ beq lbl_80271668 -/* 8027165C 0026E5BC 38 7E 10 1C */ addi r3, r30, 0x101c -/* 80271660 0026E5C0 38 80 00 00 */ li r4, 0 -/* 80271664 0026E5C4 48 0C F7 DD */ bl __dt__6CTokenFv -lbl_80271668: -/* 80271668 0026E5C8 34 1E 10 14 */ addic. r0, r30, 0x1014 -/* 8027166C 0026E5CC 41 82 00 10 */ beq lbl_8027167C -/* 80271670 0026E5D0 38 7E 10 14 */ addi r3, r30, 0x1014 -/* 80271674 0026E5D4 38 80 00 00 */ li r4, 0 -/* 80271678 0026E5D8 48 0C F7 C9 */ bl __dt__6CTokenFv -lbl_8027167C: -/* 8027167C 0026E5DC 34 1E 10 00 */ addic. r0, r30, 0x1000 -/* 80271680 0026E5E0 41 82 00 60 */ beq lbl_802716E0 -/* 80271684 0026E5E4 3B 9E 10 04 */ addi r28, r30, 0x1004 -/* 80271688 0026E5E8 3B A0 00 00 */ li r29, 0 -/* 8027168C 0026E5EC 48 00 00 40 */ b lbl_802716CC -lbl_80271690: -/* 80271690 0026E5F0 28 1C 00 00 */ cmplwi r28, 0 -/* 80271694 0026E5F4 41 82 00 30 */ beq lbl_802716C4 -/* 80271698 0026E5F8 88 1C 00 00 */ lbz r0, 0(r28) -/* 8027169C 0026E5FC 28 00 00 00 */ cmplwi r0, 0 -/* 802716A0 0026E600 41 82 00 24 */ beq lbl_802716C4 -/* 802716A4 0026E604 80 7C 00 04 */ lwz r3, 4(r28) -/* 802716A8 0026E608 28 03 00 00 */ cmplwi r3, 0 -/* 802716AC 0026E60C 41 82 00 18 */ beq lbl_802716C4 -/* 802716B0 0026E610 81 83 00 00 */ lwz r12, 0(r3) -/* 802716B4 0026E614 38 80 00 01 */ li r4, 1 -/* 802716B8 0026E618 81 8C 00 08 */ lwz r12, 8(r12) -/* 802716BC 0026E61C 7D 89 03 A6 */ mtctr r12 -/* 802716C0 0026E620 4E 80 04 21 */ bctrl -lbl_802716C4: -/* 802716C4 0026E624 3B 9C 00 08 */ addi r28, r28, 8 -/* 802716C8 0026E628 3B BD 00 01 */ addi r29, r29, 1 -lbl_802716CC: -/* 802716CC 0026E62C 80 1E 10 00 */ lwz r0, 0x1000(r30) -/* 802716D0 0026E630 7C 1D 00 00 */ cmpw r29, r0 -/* 802716D4 0026E634 41 80 FF BC */ blt lbl_80271690 -/* 802716D8 0026E638 38 00 00 00 */ li r0, 0 -/* 802716DC 0026E63C 90 1E 10 00 */ stw r0, 0x1000(r30) -lbl_802716E0: -/* 802716E0 0026E640 34 1E 0F EC */ addic. r0, r30, 0xfec -/* 802716E4 0026E644 41 82 00 60 */ beq lbl_80271744 -/* 802716E8 0026E648 3B 9E 0F F0 */ addi r28, r30, 0xff0 -/* 802716EC 0026E64C 3B A0 00 00 */ li r29, 0 -/* 802716F0 0026E650 48 00 00 40 */ b lbl_80271730 -lbl_802716F4: -/* 802716F4 0026E654 28 1C 00 00 */ cmplwi r28, 0 -/* 802716F8 0026E658 41 82 00 30 */ beq lbl_80271728 -/* 802716FC 0026E65C 88 1C 00 00 */ lbz r0, 0(r28) -/* 80271700 0026E660 28 00 00 00 */ cmplwi r0, 0 -/* 80271704 0026E664 41 82 00 24 */ beq lbl_80271728 -/* 80271708 0026E668 80 7C 00 04 */ lwz r3, 4(r28) -/* 8027170C 0026E66C 28 03 00 00 */ cmplwi r3, 0 -/* 80271710 0026E670 41 82 00 18 */ beq lbl_80271728 -/* 80271714 0026E674 81 83 00 00 */ lwz r12, 0(r3) -/* 80271718 0026E678 38 80 00 01 */ li r4, 1 -/* 8027171C 0026E67C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271720 0026E680 7D 89 03 A6 */ mtctr r12 -/* 80271724 0026E684 4E 80 04 21 */ bctrl -lbl_80271728: -/* 80271728 0026E688 3B 9C 00 08 */ addi r28, r28, 8 -/* 8027172C 0026E68C 3B BD 00 01 */ addi r29, r29, 1 -lbl_80271730: -/* 80271730 0026E690 80 1E 0F EC */ lwz r0, 0xfec(r30) -/* 80271734 0026E694 7C 1D 00 00 */ cmpw r29, r0 -/* 80271738 0026E698 41 80 FF BC */ blt lbl_802716F4 -/* 8027173C 0026E69C 38 00 00 00 */ li r0, 0 -/* 80271740 0026E6A0 90 1E 0F EC */ stw r0, 0xfec(r30) -lbl_80271744: -/* 80271744 0026E6A4 34 1E 0F D8 */ addic. r0, r30, 0xfd8 -/* 80271748 0026E6A8 41 82 00 40 */ beq lbl_80271788 -/* 8027174C 0026E6AC 3B 9E 0F DC */ addi r28, r30, 0xfdc -/* 80271750 0026E6B0 3B A0 00 00 */ li r29, 0 -/* 80271754 0026E6B4 48 00 00 20 */ b lbl_80271774 -lbl_80271758: -/* 80271758 0026E6B8 28 1C 00 00 */ cmplwi r28, 0 -/* 8027175C 0026E6BC 41 82 00 10 */ beq lbl_8027176C -/* 80271760 0026E6C0 7F 83 E3 78 */ mr r3, r28 -/* 80271764 0026E6C4 38 80 00 00 */ li r4, 0 -/* 80271768 0026E6C8 48 0C F6 D9 */ bl __dt__6CTokenFv -lbl_8027176C: -/* 8027176C 0026E6CC 3B 9C 00 08 */ addi r28, r28, 8 -/* 80271770 0026E6D0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80271774: -/* 80271774 0026E6D4 80 1E 0F D8 */ lwz r0, 0xfd8(r30) -/* 80271778 0026E6D8 7C 1D 00 00 */ cmpw r29, r0 -/* 8027177C 0026E6DC 41 80 FF DC */ blt lbl_80271758 -/* 80271780 0026E6E0 38 00 00 00 */ li r0, 0 -/* 80271784 0026E6E4 90 1E 0F D8 */ stw r0, 0xfd8(r30) -lbl_80271788: -/* 80271788 0026E6E8 34 1E 0F C4 */ addic. r0, r30, 0xfc4 -/* 8027178C 0026E6EC 41 82 00 40 */ beq lbl_802717CC -/* 80271790 0026E6F0 3B 9E 0F C8 */ addi r28, r30, 0xfc8 -/* 80271794 0026E6F4 3B A0 00 00 */ li r29, 0 -/* 80271798 0026E6F8 48 00 00 20 */ b lbl_802717B8 -lbl_8027179C: -/* 8027179C 0026E6FC 28 1C 00 00 */ cmplwi r28, 0 -/* 802717A0 0026E700 41 82 00 10 */ beq lbl_802717B0 -/* 802717A4 0026E704 7F 83 E3 78 */ mr r3, r28 -/* 802717A8 0026E708 38 80 00 00 */ li r4, 0 -/* 802717AC 0026E70C 48 0C F6 95 */ bl __dt__6CTokenFv -lbl_802717B0: -/* 802717B0 0026E710 3B 9C 00 08 */ addi r28, r28, 8 -/* 802717B4 0026E714 3B BD 00 01 */ addi r29, r29, 1 -lbl_802717B8: -/* 802717B8 0026E718 80 1E 0F C4 */ lwz r0, 0xfc4(r30) -/* 802717BC 0026E71C 7C 1D 00 00 */ cmpw r29, r0 -/* 802717C0 0026E720 41 80 FF DC */ blt lbl_8027179C -/* 802717C4 0026E724 38 00 00 00 */ li r0, 0 -/* 802717C8 0026E728 90 1E 0F C4 */ stw r0, 0xfc4(r30) -lbl_802717CC: -/* 802717CC 0026E72C 34 1E 0F AC */ addic. r0, r30, 0xfac -/* 802717D0 0026E730 41 82 00 30 */ beq lbl_80271800 -/* 802717D4 0026E734 88 1E 0F AC */ lbz r0, 0xfac(r30) -/* 802717D8 0026E738 28 00 00 00 */ cmplwi r0, 0 -/* 802717DC 0026E73C 41 82 00 24 */ beq lbl_80271800 -/* 802717E0 0026E740 80 7E 0F B0 */ lwz r3, 0xfb0(r30) -/* 802717E4 0026E744 28 03 00 00 */ cmplwi r3, 0 -/* 802717E8 0026E748 41 82 00 18 */ beq lbl_80271800 -/* 802717EC 0026E74C 81 83 00 00 */ lwz r12, 0(r3) -/* 802717F0 0026E750 38 80 00 01 */ li r4, 1 -/* 802717F4 0026E754 81 8C 00 08 */ lwz r12, 8(r12) -/* 802717F8 0026E758 7D 89 03 A6 */ mtctr r12 -/* 802717FC 0026E75C 4E 80 04 21 */ bctrl -lbl_80271800: -/* 80271800 0026E760 34 1E 0F A4 */ addic. r0, r30, 0xfa4 -/* 80271804 0026E764 41 82 00 10 */ beq lbl_80271814 -/* 80271808 0026E768 38 7E 0F A4 */ addi r3, r30, 0xfa4 -/* 8027180C 0026E76C 38 80 00 00 */ li r4, 0 -/* 80271810 0026E770 48 0C F6 31 */ bl __dt__6CTokenFv -lbl_80271814: -/* 80271814 0026E774 34 1E 0E D0 */ addic. r0, r30, 0xed0 -/* 80271818 0026E778 41 82 00 40 */ beq lbl_80271858 -/* 8027181C 0026E77C 34 1E 0F 50 */ addic. r0, r30, 0xf50 -/* 80271820 0026E780 41 82 00 10 */ beq lbl_80271830 -/* 80271824 0026E784 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271828 0026E788 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027182C 0026E78C 90 1E 0F 50 */ stw r0, 0xf50(r30) -lbl_80271830: -/* 80271830 0026E790 34 1E 0F 14 */ addic. r0, r30, 0xf14 -/* 80271834 0026E794 41 82 00 10 */ beq lbl_80271844 -/* 80271838 0026E798 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027183C 0026E79C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271840 0026E7A0 90 1E 0F 14 */ stw r0, 0xf14(r30) -lbl_80271844: -/* 80271844 0026E7A4 34 1E 0E D8 */ addic. r0, r30, 0xed8 -/* 80271848 0026E7A8 41 82 00 10 */ beq lbl_80271858 -/* 8027184C 0026E7AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271850 0026E7B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271854 0026E7B4 90 1E 0E D8 */ stw r0, 0xed8(r30) -lbl_80271858: -/* 80271858 0026E7B8 34 1E 0E 70 */ addic. r0, r30, 0xe70 -/* 8027185C 0026E7BC 41 82 00 14 */ beq lbl_80271870 -/* 80271860 0026E7C0 34 7E 0E 74 */ addic. r3, r30, 0xe74 -/* 80271864 0026E7C4 41 82 00 0C */ beq lbl_80271870 -/* 80271868 0026E7C8 38 80 00 00 */ li r4, 0 -/* 8027186C 0026E7CC 48 0C F5 D5 */ bl __dt__6CTokenFv -lbl_80271870: -/* 80271870 0026E7D0 34 1E 0D 9C */ addic. r0, r30, 0xd9c -/* 80271874 0026E7D4 41 82 00 40 */ beq lbl_802718B4 -/* 80271878 0026E7D8 34 1E 0E 1C */ addic. r0, r30, 0xe1c -/* 8027187C 0026E7DC 41 82 00 10 */ beq lbl_8027188C -/* 80271880 0026E7E0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271884 0026E7E4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271888 0026E7E8 90 1E 0E 1C */ stw r0, 0xe1c(r30) -lbl_8027188C: -/* 8027188C 0026E7EC 34 1E 0D E0 */ addic. r0, r30, 0xde0 -/* 80271890 0026E7F0 41 82 00 10 */ beq lbl_802718A0 -/* 80271894 0026E7F4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271898 0026E7F8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027189C 0026E7FC 90 1E 0D E0 */ stw r0, 0xde0(r30) -lbl_802718A0: -/* 802718A0 0026E800 34 1E 0D A4 */ addic. r0, r30, 0xda4 -/* 802718A4 0026E804 41 82 00 10 */ beq lbl_802718B4 -/* 802718A8 0026E808 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802718AC 0026E80C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802718B0 0026E810 90 1E 0D A4 */ stw r0, 0xda4(r30) -lbl_802718B4: -/* 802718B4 0026E814 34 1E 0D 74 */ addic. r0, r30, 0xd74 -/* 802718B8 0026E818 41 82 00 20 */ beq lbl_802718D8 -/* 802718BC 0026E81C 34 1E 0D 74 */ addic. r0, r30, 0xd74 -/* 802718C0 0026E820 41 82 00 18 */ beq lbl_802718D8 -/* 802718C4 0026E824 34 1E 0D 74 */ addic. r0, r30, 0xd74 -/* 802718C8 0026E828 41 82 00 10 */ beq lbl_802718D8 -/* 802718CC 0026E82C 38 7E 0D 74 */ addi r3, r30, 0xd74 -/* 802718D0 0026E830 38 80 00 00 */ li r4, 0 -/* 802718D4 0026E834 48 0C F5 6D */ bl __dt__6CTokenFv -lbl_802718D8: -/* 802718D8 0026E838 34 1E 0C A0 */ addic. r0, r30, 0xca0 -/* 802718DC 0026E83C 41 82 00 40 */ beq lbl_8027191C -/* 802718E0 0026E840 34 1E 0D 20 */ addic. r0, r30, 0xd20 -/* 802718E4 0026E844 41 82 00 10 */ beq lbl_802718F4 -/* 802718E8 0026E848 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802718EC 0026E84C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802718F0 0026E850 90 1E 0D 20 */ stw r0, 0xd20(r30) -lbl_802718F4: -/* 802718F4 0026E854 34 1E 0C E4 */ addic. r0, r30, 0xce4 -/* 802718F8 0026E858 41 82 00 10 */ beq lbl_80271908 -/* 802718FC 0026E85C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271900 0026E860 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271904 0026E864 90 1E 0C E4 */ stw r0, 0xce4(r30) -lbl_80271908: -/* 80271908 0026E868 34 1E 0C A8 */ addic. r0, r30, 0xca8 -/* 8027190C 0026E86C 41 82 00 10 */ beq lbl_8027191C -/* 80271910 0026E870 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80271914 0026E874 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80271918 0026E878 90 1E 0C A8 */ stw r0, 0xca8(r30) -lbl_8027191C: -/* 8027191C 0026E87C 34 1E 0C 78 */ addic. r0, r30, 0xc78 -/* 80271920 0026E880 41 82 00 20 */ beq lbl_80271940 -/* 80271924 0026E884 34 1E 0C 78 */ addic. r0, r30, 0xc78 -/* 80271928 0026E888 41 82 00 18 */ beq lbl_80271940 -/* 8027192C 0026E88C 34 1E 0C 78 */ addic. r0, r30, 0xc78 -/* 80271930 0026E890 41 82 00 10 */ beq lbl_80271940 -/* 80271934 0026E894 38 7E 0C 78 */ addi r3, r30, 0xc78 -/* 80271938 0026E898 38 80 00 00 */ li r4, 0 -/* 8027193C 0026E89C 48 0C F5 05 */ bl __dt__6CTokenFv -lbl_80271940: -/* 80271940 0026E8A0 34 1E 0C 50 */ addic. r0, r30, 0xc50 -/* 80271944 0026E8A4 41 82 00 30 */ beq lbl_80271974 -/* 80271948 0026E8A8 88 1E 0C 50 */ lbz r0, 0xc50(r30) -/* 8027194C 0026E8AC 28 00 00 00 */ cmplwi r0, 0 -/* 80271950 0026E8B0 41 82 00 24 */ beq lbl_80271974 -/* 80271954 0026E8B4 80 7E 0C 54 */ lwz r3, 0xc54(r30) -/* 80271958 0026E8B8 28 03 00 00 */ cmplwi r3, 0 -/* 8027195C 0026E8BC 41 82 00 18 */ beq lbl_80271974 -/* 80271960 0026E8C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80271964 0026E8C4 38 80 00 01 */ li r4, 1 -/* 80271968 0026E8C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027196C 0026E8CC 7D 89 03 A6 */ mtctr r12 -/* 80271970 0026E8D0 4E 80 04 21 */ bctrl -lbl_80271974: -/* 80271974 0026E8D4 34 1E 0C 48 */ addic. r0, r30, 0xc48 -/* 80271978 0026E8D8 41 82 00 10 */ beq lbl_80271988 -/* 8027197C 0026E8DC 38 7E 0C 48 */ addi r3, r30, 0xc48 -/* 80271980 0026E8E0 38 80 00 00 */ li r4, 0 -/* 80271984 0026E8E4 48 0C F4 BD */ bl __dt__6CTokenFv -lbl_80271988: -/* 80271988 0026E8E8 34 1E 0B C4 */ addic. r0, r30, 0xbc4 -/* 8027198C 0026E8EC 41 82 00 58 */ beq lbl_802719E4 -/* 80271990 0026E8F0 80 BE 0B C4 */ lwz r5, 0xbc4(r30) -/* 80271994 0026E8F4 38 60 00 00 */ li r3, 0 -/* 80271998 0026E8F8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027199C 0026E8FC 40 81 00 40 */ ble lbl_802719DC -/* 802719A0 0026E900 2C 05 00 08 */ cmpwi r5, 8 -/* 802719A4 0026E904 38 85 FF F8 */ addi r4, r5, -8 -/* 802719A8 0026E908 40 81 00 20 */ ble lbl_802719C8 -/* 802719AC 0026E90C 38 04 00 07 */ addi r0, r4, 7 -/* 802719B0 0026E910 54 00 E8 FE */ srwi r0, r0, 3 -/* 802719B4 0026E914 7C 09 03 A6 */ mtctr r0 -/* 802719B8 0026E918 2C 04 00 00 */ cmpwi r4, 0 -/* 802719BC 0026E91C 40 81 00 0C */ ble lbl_802719C8 -lbl_802719C0: -/* 802719C0 0026E920 38 63 00 08 */ addi r3, r3, 8 -/* 802719C4 0026E924 42 00 FF FC */ bdnz lbl_802719C0 -lbl_802719C8: -/* 802719C8 0026E928 7C 03 28 50 */ subf r0, r3, r5 -/* 802719CC 0026E92C 7C 09 03 A6 */ mtctr r0 -/* 802719D0 0026E930 7C 03 28 00 */ cmpw r3, r5 -/* 802719D4 0026E934 40 80 00 08 */ bge lbl_802719DC -lbl_802719D8: -/* 802719D8 0026E938 42 00 00 00 */ bdnz lbl_802719D8 -lbl_802719DC: -/* 802719DC 0026E93C 38 00 00 00 */ li r0, 0 -/* 802719E0 0026E940 90 1E 0B C4 */ stw r0, 0xbc4(r30) -lbl_802719E4: -/* 802719E4 0026E944 34 1E 0B 30 */ addic. r0, r30, 0xb30 -/* 802719E8 0026E948 41 82 00 58 */ beq lbl_80271A40 -/* 802719EC 0026E94C 80 BE 0B 30 */ lwz r5, 0xb30(r30) -/* 802719F0 0026E950 38 60 00 00 */ li r3, 0 -/* 802719F4 0026E954 2C 05 00 00 */ cmpwi r5, 0 -/* 802719F8 0026E958 40 81 00 40 */ ble lbl_80271A38 -/* 802719FC 0026E95C 2C 05 00 08 */ cmpwi r5, 8 -/* 80271A00 0026E960 38 85 FF F8 */ addi r4, r5, -8 -/* 80271A04 0026E964 40 81 00 20 */ ble lbl_80271A24 -/* 80271A08 0026E968 38 04 00 07 */ addi r0, r4, 7 -/* 80271A0C 0026E96C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271A10 0026E970 7C 09 03 A6 */ mtctr r0 -/* 80271A14 0026E974 2C 04 00 00 */ cmpwi r4, 0 -/* 80271A18 0026E978 40 81 00 0C */ ble lbl_80271A24 -lbl_80271A1C: -/* 80271A1C 0026E97C 38 63 00 08 */ addi r3, r3, 8 -/* 80271A20 0026E980 42 00 FF FC */ bdnz lbl_80271A1C -lbl_80271A24: -/* 80271A24 0026E984 7C 03 28 50 */ subf r0, r3, r5 -/* 80271A28 0026E988 7C 09 03 A6 */ mtctr r0 -/* 80271A2C 0026E98C 7C 03 28 00 */ cmpw r3, r5 -/* 80271A30 0026E990 40 80 00 08 */ bge lbl_80271A38 -lbl_80271A34: -/* 80271A34 0026E994 42 00 00 00 */ bdnz lbl_80271A34 -lbl_80271A38: -/* 80271A38 0026E998 38 00 00 00 */ li r0, 0 -/* 80271A3C 0026E99C 90 1E 0B 30 */ stw r0, 0xb30(r30) -lbl_80271A40: -/* 80271A40 0026E9A0 34 1E 0B 24 */ addic. r0, r30, 0xb24 -/* 80271A44 0026E9A4 41 82 00 58 */ beq lbl_80271A9C -/* 80271A48 0026E9A8 80 BE 0B 24 */ lwz r5, 0xb24(r30) -/* 80271A4C 0026E9AC 38 60 00 00 */ li r3, 0 -/* 80271A50 0026E9B0 2C 05 00 00 */ cmpwi r5, 0 -/* 80271A54 0026E9B4 40 81 00 40 */ ble lbl_80271A94 -/* 80271A58 0026E9B8 2C 05 00 08 */ cmpwi r5, 8 -/* 80271A5C 0026E9BC 38 85 FF F8 */ addi r4, r5, -8 -/* 80271A60 0026E9C0 40 81 00 20 */ ble lbl_80271A80 -/* 80271A64 0026E9C4 38 04 00 07 */ addi r0, r4, 7 -/* 80271A68 0026E9C8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271A6C 0026E9CC 7C 09 03 A6 */ mtctr r0 -/* 80271A70 0026E9D0 2C 04 00 00 */ cmpwi r4, 0 -/* 80271A74 0026E9D4 40 81 00 0C */ ble lbl_80271A80 -lbl_80271A78: -/* 80271A78 0026E9D8 38 63 00 08 */ addi r3, r3, 8 -/* 80271A7C 0026E9DC 42 00 FF FC */ bdnz lbl_80271A78 -lbl_80271A80: -/* 80271A80 0026E9E0 7C 03 28 50 */ subf r0, r3, r5 -/* 80271A84 0026E9E4 7C 09 03 A6 */ mtctr r0 -/* 80271A88 0026E9E8 7C 03 28 00 */ cmpw r3, r5 -/* 80271A8C 0026E9EC 40 80 00 08 */ bge lbl_80271A94 -lbl_80271A90: -/* 80271A90 0026E9F0 42 00 00 00 */ bdnz lbl_80271A90 -lbl_80271A94: -/* 80271A94 0026E9F4 38 00 00 00 */ li r0, 0 -/* 80271A98 0026E9F8 90 1E 0B 24 */ stw r0, 0xb24(r30) -lbl_80271A9C: -/* 80271A9C 0026E9FC 34 1E 0A 80 */ addic. r0, r30, 0xa80 -/* 80271AA0 0026EA00 41 82 00 48 */ beq lbl_80271AE8 -/* 80271AA4 0026EA04 3B 9E 0A 84 */ addi r28, r30, 0xa84 -/* 80271AA8 0026EA08 3B A0 00 00 */ li r29, 0 -/* 80271AAC 0026EA0C 48 00 00 28 */ b lbl_80271AD4 -lbl_80271AB0: -/* 80271AB0 0026EA10 28 1C 00 00 */ cmplwi r28, 0 -/* 80271AB4 0026EA14 41 82 00 18 */ beq lbl_80271ACC -/* 80271AB8 0026EA18 41 82 00 14 */ beq lbl_80271ACC -/* 80271ABC 0026EA1C 41 82 00 10 */ beq lbl_80271ACC -/* 80271AC0 0026EA20 7F 83 E3 78 */ mr r3, r28 -/* 80271AC4 0026EA24 38 80 00 00 */ li r4, 0 -/* 80271AC8 0026EA28 48 0C F3 79 */ bl __dt__6CTokenFv -lbl_80271ACC: -/* 80271ACC 0026EA2C 3B 9C 00 28 */ addi r28, r28, 0x28 -/* 80271AD0 0026EA30 3B BD 00 01 */ addi r29, r29, 1 -lbl_80271AD4: -/* 80271AD4 0026EA34 80 1E 0A 80 */ lwz r0, 0xa80(r30) -/* 80271AD8 0026EA38 7C 1D 00 00 */ cmpw r29, r0 -/* 80271ADC 0026EA3C 41 80 FF D4 */ blt lbl_80271AB0 -/* 80271AE0 0026EA40 38 00 00 00 */ li r0, 0 -/* 80271AE4 0026EA44 90 1E 0A 80 */ stw r0, 0xa80(r30) -lbl_80271AE8: -/* 80271AE8 0026EA48 34 1E 09 6C */ addic. r0, r30, 0x96c -/* 80271AEC 0026EA4C 41 82 00 58 */ beq lbl_80271B44 -/* 80271AF0 0026EA50 80 BE 09 6C */ lwz r5, 0x96c(r30) -/* 80271AF4 0026EA54 38 60 00 00 */ li r3, 0 -/* 80271AF8 0026EA58 2C 05 00 00 */ cmpwi r5, 0 -/* 80271AFC 0026EA5C 40 81 00 40 */ ble lbl_80271B3C -/* 80271B00 0026EA60 2C 05 00 08 */ cmpwi r5, 8 -/* 80271B04 0026EA64 38 85 FF F8 */ addi r4, r5, -8 -/* 80271B08 0026EA68 40 81 00 20 */ ble lbl_80271B28 -/* 80271B0C 0026EA6C 38 04 00 07 */ addi r0, r4, 7 -/* 80271B10 0026EA70 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271B14 0026EA74 7C 09 03 A6 */ mtctr r0 -/* 80271B18 0026EA78 2C 04 00 00 */ cmpwi r4, 0 -/* 80271B1C 0026EA7C 40 81 00 0C */ ble lbl_80271B28 -lbl_80271B20: -/* 80271B20 0026EA80 38 63 00 08 */ addi r3, r3, 8 -/* 80271B24 0026EA84 42 00 FF FC */ bdnz lbl_80271B20 -lbl_80271B28: -/* 80271B28 0026EA88 7C 03 28 50 */ subf r0, r3, r5 -/* 80271B2C 0026EA8C 7C 09 03 A6 */ mtctr r0 -/* 80271B30 0026EA90 7C 03 28 00 */ cmpw r3, r5 -/* 80271B34 0026EA94 40 80 00 08 */ bge lbl_80271B3C -lbl_80271B38: -/* 80271B38 0026EA98 42 00 00 00 */ bdnz lbl_80271B38 -lbl_80271B3C: -/* 80271B3C 0026EA9C 38 00 00 00 */ li r0, 0 -/* 80271B40 0026EAA0 90 1E 09 6C */ stw r0, 0x96c(r30) -lbl_80271B44: -/* 80271B44 0026EAA4 34 1E 07 6C */ addic. r0, r30, 0x76c -/* 80271B48 0026EAA8 41 82 00 44 */ beq lbl_80271B8C -/* 80271B4C 0026EAAC 38 80 00 00 */ li r4, 0 -/* 80271B50 0026EAB0 38 BE 07 70 */ addi r5, r30, 0x770 -/* 80271B54 0026EAB4 7C 83 23 78 */ mr r3, r4 -/* 80271B58 0026EAB8 48 00 00 20 */ b lbl_80271B78 -lbl_80271B5C: -/* 80271B5C 0026EABC 28 05 00 00 */ cmplwi r5, 0 -/* 80271B60 0026EAC0 41 82 00 10 */ beq lbl_80271B70 -/* 80271B64 0026EAC4 34 05 00 24 */ addic. r0, r5, 0x24 -/* 80271B68 0026EAC8 41 82 00 08 */ beq lbl_80271B70 -/* 80271B6C 0026EACC 98 65 00 30 */ stb r3, 0x30(r5) -lbl_80271B70: -/* 80271B70 0026EAD0 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80271B74 0026EAD4 38 84 00 01 */ addi r4, r4, 1 -lbl_80271B78: -/* 80271B78 0026EAD8 80 1E 07 6C */ lwz r0, 0x76c(r30) -/* 80271B7C 0026EADC 7C 04 00 00 */ cmpw r4, r0 -/* 80271B80 0026EAE0 41 80 FF DC */ blt lbl_80271B5C -/* 80271B84 0026EAE4 38 00 00 00 */ li r0, 0 -/* 80271B88 0026EAE8 90 1E 07 6C */ stw r0, 0x76c(r30) -lbl_80271B8C: -/* 80271B8C 0026EAEC 34 1E 05 88 */ addic. r0, r30, 0x588 -/* 80271B90 0026EAF0 41 82 00 58 */ beq lbl_80271BE8 -/* 80271B94 0026EAF4 80 BE 05 88 */ lwz r5, 0x588(r30) -/* 80271B98 0026EAF8 38 60 00 00 */ li r3, 0 -/* 80271B9C 0026EAFC 2C 05 00 00 */ cmpwi r5, 0 -/* 80271BA0 0026EB00 40 81 00 40 */ ble lbl_80271BE0 -/* 80271BA4 0026EB04 2C 05 00 08 */ cmpwi r5, 8 -/* 80271BA8 0026EB08 38 85 FF F8 */ addi r4, r5, -8 -/* 80271BAC 0026EB0C 40 81 00 20 */ ble lbl_80271BCC -/* 80271BB0 0026EB10 38 04 00 07 */ addi r0, r4, 7 -/* 80271BB4 0026EB14 54 00 E8 FE */ srwi r0, r0, 3 -/* 80271BB8 0026EB18 7C 09 03 A6 */ mtctr r0 -/* 80271BBC 0026EB1C 2C 04 00 00 */ cmpwi r4, 0 -/* 80271BC0 0026EB20 40 81 00 0C */ ble lbl_80271BCC -lbl_80271BC4: -/* 80271BC4 0026EB24 38 63 00 08 */ addi r3, r3, 8 -/* 80271BC8 0026EB28 42 00 FF FC */ bdnz lbl_80271BC4 -lbl_80271BCC: -/* 80271BCC 0026EB2C 7C 03 28 50 */ subf r0, r3, r5 -/* 80271BD0 0026EB30 7C 09 03 A6 */ mtctr r0 -/* 80271BD4 0026EB34 7C 03 28 00 */ cmpw r3, r5 -/* 80271BD8 0026EB38 40 80 00 08 */ bge lbl_80271BE0 -lbl_80271BDC: -/* 80271BDC 0026EB3C 42 00 00 00 */ bdnz lbl_80271BDC -lbl_80271BE0: -/* 80271BE0 0026EB40 38 00 00 00 */ li r0, 0 -/* 80271BE4 0026EB44 90 1E 05 88 */ stw r0, 0x588(r30) -lbl_80271BE8: -/* 80271BE8 0026EB48 34 1E 05 6C */ addic. r0, r30, 0x56c -/* 80271BEC 0026EB4C 41 82 00 10 */ beq lbl_80271BFC -/* 80271BF0 0026EB50 80 7E 05 6C */ lwz r3, 0x56c(r30) -/* 80271BF4 0026EB54 38 80 00 01 */ li r4, 1 -/* 80271BF8 0026EB58 4B F3 5C E5 */ bl sub_801a78dc -lbl_80271BFC: -/* 80271BFC 0026EB5C 7F C3 F3 78 */ mr r3, r30 -/* 80271C00 0026EB60 38 80 00 00 */ li r4, 0 -/* 80271C04 0026EB64 4B E0 59 6D */ bl __dt__10CPatternedFv -/* 80271C08 0026EB68 7F E0 07 35 */ extsh. r0, r31 -/* 80271C0C 0026EB6C 40 81 00 0C */ ble lbl_80271C18 -/* 80271C10 0026EB70 7F C3 F3 78 */ mr r3, r30 -/* 80271C14 0026EB74 48 0A 3D 1D */ bl Free__7CMemoryFPCv -lbl_80271C18: -/* 80271C18 0026EB78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80271C1C 0026EB7C 7F C3 F3 78 */ mr r3, r30 -/* 80271C20 0026EB80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80271C24 0026EB84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80271C28 0026EB88 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80271C2C 0026EB8C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80271C30 0026EB90 7C 08 03 A6 */ mtlr r0 -/* 80271C34 0026EB94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80271C38 0026EB98 4E 80 00 20 */ blr - -.global Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Approach__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271C3C 0026EB9C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80271C40 0026EBA0 7C 08 02 A6 */ mflr r0 -/* 80271C44 0026EBA4 2C 05 00 01 */ cmpwi r5, 1 -/* 80271C48 0026EBA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80271C4C 0026EBAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80271C50 0026EBB0 7C 9F 23 78 */ mr r31, r4 -/* 80271C54 0026EBB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80271C58 0026EBB8 7C 7E 1B 78 */ mr r30, r3 -/* 80271C5C 0026EBBC 41 82 00 34 */ beq lbl_80271C90 -/* 80271C60 0026EBC0 40 80 00 10 */ bge lbl_80271C70 -/* 80271C64 0026EBC4 2C 05 00 00 */ cmpwi r5, 0 -/* 80271C68 0026EBC8 40 80 00 14 */ bge lbl_80271C7C -/* 80271C6C 0026EBCC 48 00 00 A4 */ b lbl_80271D10 -lbl_80271C70: -/* 80271C70 0026EBD0 2C 05 00 03 */ cmpwi r5, 3 -/* 80271C74 0026EBD4 40 80 00 9C */ bge lbl_80271D10 -/* 80271C78 0026EBD8 48 00 00 7C */ b lbl_80271CF4 -lbl_80271C7C: -/* 80271C7C 0026EBDC 38 00 00 01 */ li r0, 1 -/* 80271C80 0026EBE0 38 A0 00 00 */ li r5, 0 -/* 80271C84 0026EBE4 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80271C88 0026EBE8 48 00 6B 79 */ bl sub_80278800 -/* 80271C8C 0026EBEC 48 00 00 84 */ b lbl_80271D10 -lbl_80271C90: -/* 80271C90 0026EBF0 3C A0 80 3F */ lis r5, lbl_803EAD48@ha -/* 80271C94 0026EBF4 38 C1 00 08 */ addi r6, r1, 8 -/* 80271C98 0026EBF8 39 45 AD 48 */ addi r10, r5, lbl_803EAD48@l -/* 80271C9C 0026EBFC 38 A0 00 07 */ li r5, 7 -/* 80271CA0 0026EC00 81 2A 00 00 */ lwz r9, 0(r10) -/* 80271CA4 0026EC04 38 E0 00 02 */ li r7, 2 -/* 80271CA8 0026EC08 81 0A 00 04 */ lwz r8, 4(r10) -/* 80271CAC 0026EC0C 80 0A 00 08 */ lwz r0, 8(r10) -/* 80271CB0 0026EC10 91 21 00 08 */ stw r9, 8(r1) -/* 80271CB4 0026EC14 91 01 00 0C */ stw r8, 0xc(r1) -/* 80271CB8 0026EC18 90 01 00 10 */ stw r0, 0x10(r1) -/* 80271CBC 0026EC1C 4B E0 AA F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80271CC0 0026EC20 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80271CC4 0026EC24 2C 00 00 02 */ cmpwi r0, 2 -/* 80271CC8 0026EC28 40 82 00 48 */ bne lbl_80271D10 -/* 80271CCC 0026EC2C 38 00 00 01 */ li r0, 1 -/* 80271CD0 0026EC30 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80271CD4 0026EC34 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80271CD8 0026EC38 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80271CDC 0026EC3C 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80271CE0 0026EC40 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80271CE4 0026EC44 54 00 10 3A */ slwi r0, r0, 2 -/* 80271CE8 0026EC48 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80271CEC 0026EC4C 4B EC 8C ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80271CF0 0026EC50 48 00 00 20 */ b lbl_80271D10 -lbl_80271CF4: -/* 80271CF4 0026EC54 38 00 00 00 */ li r0, 0 -/* 80271CF8 0026EC58 38 A0 00 01 */ li r5, 1 -/* 80271CFC 0026EC5C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80271D00 0026EC60 48 00 6B 01 */ bl sub_80278800 -/* 80271D04 0026EC64 7F C3 F3 78 */ mr r3, r30 -/* 80271D08 0026EC68 7F E4 FB 78 */ mr r4, r31 -/* 80271D0C 0026EC6C 48 00 1B C9 */ bl sub_802738d4 -lbl_80271D10: -/* 80271D10 0026EC70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80271D14 0026EC74 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80271D18 0026EC78 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80271D1C 0026EC7C 7C 08 03 A6 */ mtlr r0 -/* 80271D20 0026EC80 38 21 00 20 */ addi r1, r1, 0x20 -/* 80271D24 0026EC84 4E 80 00 20 */ blr - -.global Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Growth__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271D28 0026EC88 2C 05 00 00 */ cmpwi r5, 0 -/* 80271D2C 0026EC8C 4C 82 00 20 */ bnelr -/* 80271D30 0026EC90 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) -/* 80271D34 0026EC94 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 80271D38 0026EC98 4E 80 00 20 */ blr - -.global Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Land__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271D3C 0026EC9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271D40 0026ECA0 7C 08 02 A6 */ mflr r0 -/* 80271D44 0026ECA4 2C 05 00 00 */ cmpwi r5, 0 -/* 80271D48 0026ECA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271D4C 0026ECAC 40 82 00 08 */ bne lbl_80271D54 -/* 80271D50 0026ECB0 48 00 69 AD */ bl sub_802786fc -lbl_80271D54: -/* 80271D54 0026ECB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271D58 0026ECB8 7C 08 03 A6 */ mtlr r0 -/* 80271D5C 0026ECBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271D60 0026ECC0 4E 80 00 20 */ blr - -.global Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Enraged__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271D64 0026ECC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271D68 0026ECC8 7C 08 02 A6 */ mflr r0 -/* 80271D6C 0026ECCC 2C 05 00 00 */ cmpwi r5, 0 -/* 80271D70 0026ECD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271D74 0026ECD4 41 82 00 08 */ beq lbl_80271D7C -/* 80271D78 0026ECD8 48 00 00 08 */ b lbl_80271D80 -lbl_80271D7C: -/* 80271D7C 0026ECDC 48 00 69 81 */ bl sub_802786fc -lbl_80271D80: -/* 80271D80 0026ECE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271D84 0026ECE4 7C 08 03 A6 */ mtlr r0 -/* 80271D88 0026ECE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271D8C 0026ECEC 4E 80 00 20 */ blr - -.global Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Dodge__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271D90 0026ECF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80271D94 0026ECF4 7C 08 02 A6 */ mflr r0 -/* 80271D98 0026ECF8 2C 05 00 01 */ cmpwi r5, 1 -/* 80271D9C 0026ECFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80271DA0 0026ED00 41 82 00 4C */ beq lbl_80271DEC -/* 80271DA4 0026ED04 40 80 00 10 */ bge lbl_80271DB4 -/* 80271DA8 0026ED08 2C 05 00 00 */ cmpwi r5, 0 -/* 80271DAC 0026ED0C 40 80 00 14 */ bge lbl_80271DC0 -/* 80271DB0 0026ED10 48 00 00 78 */ b lbl_80271E28 -lbl_80271DB4: -/* 80271DB4 0026ED14 2C 05 00 03 */ cmpwi r5, 3 -/* 80271DB8 0026ED18 40 80 00 70 */ bge lbl_80271E28 -/* 80271DBC 0026ED1C 48 00 00 64 */ b lbl_80271E20 -lbl_80271DC0: -/* 80271DC0 0026ED20 38 00 00 01 */ li r0, 1 -/* 80271DC4 0026ED24 3C 80 80 3D */ lis r4, lbl_803D546C@ha -/* 80271DC8 0026ED28 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80271DCC 0026ED2C 38 84 54 6C */ addi r4, r4, lbl_803D546C@l -/* 80271DD0 0026ED30 90 03 10 78 */ stw r0, 0x1078(r3) -/* 80271DD4 0026ED34 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80271DD8 0026ED38 80 63 04 50 */ lwz r3, 0x450(r3) -/* 80271DDC 0026ED3C 54 00 10 3A */ slwi r0, r0, 2 -/* 80271DE0 0026ED40 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80271DE4 0026ED44 4B EC 8B F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80271DE8 0026ED48 48 00 00 40 */ b lbl_80271E28 -lbl_80271DEC: -/* 80271DEC 0026ED4C 3C A0 80 3F */ lis r5, lbl_803EAD3C@ha -/* 80271DF0 0026ED50 38 C1 00 08 */ addi r6, r1, 8 -/* 80271DF4 0026ED54 39 45 AD 3C */ addi r10, r5, lbl_803EAD3C@l -/* 80271DF8 0026ED58 38 A0 00 03 */ li r5, 3 -/* 80271DFC 0026ED5C 81 2A 00 00 */ lwz r9, 0(r10) -/* 80271E00 0026ED60 38 E0 00 00 */ li r7, 0 -/* 80271E04 0026ED64 81 0A 00 04 */ lwz r8, 4(r10) -/* 80271E08 0026ED68 80 0A 00 08 */ lwz r0, 8(r10) -/* 80271E0C 0026ED6C 91 21 00 08 */ stw r9, 8(r1) -/* 80271E10 0026ED70 91 01 00 0C */ stw r8, 0xc(r1) -/* 80271E14 0026ED74 90 01 00 10 */ stw r0, 0x10(r1) -/* 80271E18 0026ED78 4B E0 A9 9D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80271E1C 0026ED7C 48 00 00 0C */ b lbl_80271E28 -lbl_80271E20: -/* 80271E20 0026ED80 38 00 00 00 */ li r0, 0 -/* 80271E24 0026ED84 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80271E28: -/* 80271E28 0026ED88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80271E2C 0026ED8C 7C 08 03 A6 */ mtlr r0 -/* 80271E30 0026ED90 38 21 00 20 */ addi r1, r1, 0x20 -/* 80271E34 0026ED94 4E 80 00 20 */ blr - -.global Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Crouch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271E38 0026ED98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80271E3C 0026ED9C 7C 08 02 A6 */ mflr r0 -/* 80271E40 0026EDA0 2C 05 00 01 */ cmpwi r5, 1 -/* 80271E44 0026EDA4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80271E48 0026EDA8 41 82 00 2C */ beq lbl_80271E74 -/* 80271E4C 0026EDAC 40 80 00 10 */ bge lbl_80271E5C -/* 80271E50 0026EDB0 2C 05 00 00 */ cmpwi r5, 0 -/* 80271E54 0026EDB4 40 80 00 14 */ bge lbl_80271E68 -/* 80271E58 0026EDB8 48 00 00 5C */ b lbl_80271EB4 -lbl_80271E5C: -/* 80271E5C 0026EDBC 2C 05 00 03 */ cmpwi r5, 3 -/* 80271E60 0026EDC0 40 80 00 54 */ bge lbl_80271EB4 -/* 80271E64 0026EDC4 48 00 00 44 */ b lbl_80271EA8 -lbl_80271E68: -/* 80271E68 0026EDC8 38 00 00 01 */ li r0, 1 -/* 80271E6C 0026EDCC 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80271E70 0026EDD0 48 00 00 44 */ b lbl_80271EB4 -lbl_80271E74: -/* 80271E74 0026EDD4 3C A0 80 3F */ lis r5, lbl_803EAD30@ha -/* 80271E78 0026EDD8 38 C1 00 08 */ addi r6, r1, 8 -/* 80271E7C 0026EDDC 39 45 AD 30 */ addi r10, r5, lbl_803EAD30@l -/* 80271E80 0026EDE0 38 A0 00 07 */ li r5, 7 -/* 80271E84 0026EDE4 81 2A 00 00 */ lwz r9, 0(r10) -/* 80271E88 0026EDE8 38 E0 00 05 */ li r7, 5 -/* 80271E8C 0026EDEC 81 0A 00 04 */ lwz r8, 4(r10) -/* 80271E90 0026EDF0 80 0A 00 08 */ lwz r0, 8(r10) -/* 80271E94 0026EDF4 91 21 00 08 */ stw r9, 8(r1) -/* 80271E98 0026EDF8 91 01 00 0C */ stw r8, 0xc(r1) -/* 80271E9C 0026EDFC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80271EA0 0026EE00 4B E0 A9 15 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80271EA4 0026EE04 48 00 00 10 */ b lbl_80271EB4 -lbl_80271EA8: -/* 80271EA8 0026EE08 38 00 00 00 */ li r0, 0 -/* 80271EAC 0026EE0C 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80271EB0 0026EE10 48 00 1A 25 */ bl sub_802738d4 -lbl_80271EB4: -/* 80271EB4 0026EE14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80271EB8 0026EE18 7C 08 03 A6 */ mtlr r0 -/* 80271EBC 0026EE1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80271EC0 0026EE20 4E 80 00 20 */ blr - -.global Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Retreat__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80271EC4 0026EE24 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80271EC8 0026EE28 7C 08 02 A6 */ mflr r0 -/* 80271ECC 0026EE2C 2C 05 00 01 */ cmpwi r5, 1 -/* 80271ED0 0026EE30 90 01 00 54 */ stw r0, 0x54(r1) -/* 80271ED4 0026EE34 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80271ED8 0026EE38 7C 7F 1B 78 */ mr r31, r3 -/* 80271EDC 0026EE3C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80271EE0 0026EE40 7C 9E 23 78 */ mr r30, r4 -/* 80271EE4 0026EE44 41 82 00 D8 */ beq lbl_80271FBC -/* 80271EE8 0026EE48 40 80 00 10 */ bge lbl_80271EF8 -/* 80271EEC 0026EE4C 2C 05 00 00 */ cmpwi r5, 0 -/* 80271EF0 0026EE50 40 80 00 14 */ bge lbl_80271F04 -/* 80271EF4 0026EE54 48 00 01 8C */ b lbl_80272080 -lbl_80271EF8: -/* 80271EF8 0026EE58 2C 05 00 03 */ cmpwi r5, 3 -/* 80271EFC 0026EE5C 40 80 01 84 */ bge lbl_80272080 -/* 80271F00 0026EE60 48 00 00 F0 */ b lbl_80271FF0 -lbl_80271F04: -/* 80271F04 0026EE64 38 00 00 01 */ li r0, 1 -/* 80271F08 0026EE68 7F C5 F3 78 */ mr r5, r30 -/* 80271F0C 0026EE6C 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80271F10 0026EE70 38 80 00 09 */ li r4, 9 -/* 80271F14 0026EE74 48 00 47 D1 */ bl sub_802766e4 -/* 80271F18 0026EE78 7F E4 FB 78 */ mr r4, r31 -/* 80271F1C 0026EE7C 7F C5 F3 78 */ mr r5, r30 -/* 80271F20 0026EE80 38 61 00 14 */ addi r3, r1, 0x14 -/* 80271F24 0026EE84 38 C0 00 0B */ li r6, 0xb -/* 80271F28 0026EE88 38 E0 00 06 */ li r7, 6 -/* 80271F2C 0026EE8C 48 00 4C 11 */ bl sub_80276b3c -/* 80271F30 0026EE90 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80271F34 0026EE94 7F C3 F3 78 */ mr r3, r30 -/* 80271F38 0026EE98 38 81 00 10 */ addi r4, r1, 0x10 -/* 80271F3C 0026EE9C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80271F40 0026EEA0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80271F44 0026EEA4 4B DD A6 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80271F48 0026EEA8 7C 64 1B 78 */ mr r4, r3 -/* 80271F4C 0026EEAC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80271F50 0026EEB0 4B E3 45 FD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80271F54 0026EEB4 80 83 00 04 */ lwz r4, 4(r3) -/* 80271F58 0026EEB8 28 04 00 00 */ cmplwi r4, 0 -/* 80271F5C 0026EEBC 41 82 00 38 */ beq lbl_80271F94 -/* 80271F60 0026EEC0 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80271F64 0026EEC4 38 84 00 34 */ addi r4, r4, 0x34 -/* 80271F68 0026EEC8 48 0A 0B D9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80271F6C 0026EECC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80271F70 0026EED0 38 60 00 01 */ li r3, 1 -/* 80271F74 0026EED4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80271F78 0026EED8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80271F7C 0026EEDC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80271F80 0026EEE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80271F84 0026EEE4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80271F88 0026EEE8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80271F8C 0026EEEC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80271F90 0026EEF0 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_80271F94: -/* 80271F94 0026EEF4 38 00 00 01 */ li r0, 1 -/* 80271F98 0026EEF8 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80271F9C 0026EEFC 90 1F 10 78 */ stw r0, 0x1078(r31) -/* 80271FA0 0026EF00 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80271FA4 0026EF04 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 80271FA8 0026EF08 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80271FAC 0026EF0C 54 00 10 3A */ slwi r0, r0, 2 -/* 80271FB0 0026EF10 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80271FB4 0026EF14 4B EC 8A 25 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80271FB8 0026EF18 48 00 00 C8 */ b lbl_80272080 -lbl_80271FBC: -/* 80271FBC 0026EF1C 3C A0 80 3F */ lis r5, lbl_803EAD24@ha -/* 80271FC0 0026EF20 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80271FC4 0026EF24 39 25 AD 24 */ addi r9, r5, lbl_803EAD24@l -/* 80271FC8 0026EF28 38 A0 00 11 */ li r5, 0x11 -/* 80271FCC 0026EF2C 81 09 00 00 */ lwz r8, 0(r9) -/* 80271FD0 0026EF30 80 E9 00 04 */ lwz r7, 4(r9) -/* 80271FD4 0026EF34 80 09 00 08 */ lwz r0, 8(r9) -/* 80271FD8 0026EF38 91 01 00 30 */ stw r8, 0x30(r1) -/* 80271FDC 0026EF3C 90 E1 00 34 */ stw r7, 0x34(r1) -/* 80271FE0 0026EF40 90 01 00 38 */ stw r0, 0x38(r1) -/* 80271FE4 0026EF44 80 FF 09 18 */ lwz r7, 0x918(r31) -/* 80271FE8 0026EF48 4B E0 A7 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80271FEC 0026EF4C 48 00 00 94 */ b lbl_80272080 -lbl_80271FF0: -/* 80271FF0 0026EF50 38 00 00 00 */ li r0, 0 -/* 80271FF4 0026EF54 7F E4 FB 78 */ mr r4, r31 -/* 80271FF8 0026EF58 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80271FFC 0026EF5C 7F C5 F3 78 */ mr r5, r30 -/* 80272000 0026EF60 38 61 00 0C */ addi r3, r1, 0xc -/* 80272004 0026EF64 38 C0 00 0C */ li r6, 0xc -/* 80272008 0026EF68 38 E0 00 06 */ li r7, 6 -/* 8027200C 0026EF6C 48 00 4B 31 */ bl sub_80276b3c -/* 80272010 0026EF70 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80272014 0026EF74 7F C3 F3 78 */ mr r3, r30 -/* 80272018 0026EF78 38 81 00 08 */ addi r4, r1, 8 -/* 8027201C 0026EF7C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80272020 0026EF80 B0 01 00 08 */ sth r0, 8(r1) -/* 80272024 0026EF84 4B DD A5 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80272028 0026EF88 7C 64 1B 78 */ mr r4, r3 -/* 8027202C 0026EF8C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80272030 0026EF90 4B E3 45 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80272034 0026EF94 80 83 00 04 */ lwz r4, 4(r3) -/* 80272038 0026EF98 28 04 00 00 */ cmplwi r4, 0 -/* 8027203C 0026EF9C 41 82 00 38 */ beq lbl_80272074 -/* 80272040 0026EFA0 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80272044 0026EFA4 38 84 00 34 */ addi r4, r4, 0x34 -/* 80272048 0026EFA8 48 0A 0A F9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8027204C 0026EFAC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80272050 0026EFB0 38 60 00 01 */ li r3, 1 -/* 80272054 0026EFB4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80272058 0026EFB8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8027205C 0026EFBC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 80272060 0026EFC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80272064 0026EFC4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 80272068 0026EFC8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8027206C 0026EFCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80272070 0026EFD0 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_80272074: -/* 80272074 0026EFD4 80 7F 09 1C */ lwz r3, 0x91c(r31) -/* 80272078 0026EFD8 38 03 00 01 */ addi r0, r3, 1 -/* 8027207C 0026EFDC 90 1F 09 1C */ stw r0, 0x91c(r31) -lbl_80272080: -/* 80272080 0026EFE0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80272084 0026EFE4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80272088 0026EFE8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8027208C 0026EFEC 7C 08 03 A6 */ mtlr r0 -/* 80272090 0026EFF0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80272094 0026EFF4 4E 80 00 20 */ blr - -.global Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Flinch__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272098 0026EFF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027209C 0026EFFC 7C 08 02 A6 */ mflr r0 -/* 802720A0 0026F000 2C 05 00 01 */ cmpwi r5, 1 -/* 802720A4 0026F004 90 01 00 24 */ stw r0, 0x24(r1) -/* 802720A8 0026F008 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802720AC 0026F00C 7C 9F 23 78 */ mr r31, r4 -/* 802720B0 0026F010 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802720B4 0026F014 7C 7E 1B 78 */ mr r30, r3 -/* 802720B8 0026F018 41 82 00 5C */ beq lbl_80272114 -/* 802720BC 0026F01C 40 80 00 10 */ bge lbl_802720CC -/* 802720C0 0026F020 2C 05 00 00 */ cmpwi r5, 0 -/* 802720C4 0026F024 40 80 00 14 */ bge lbl_802720D8 -/* 802720C8 0026F028 48 00 00 DC */ b lbl_802721A4 -lbl_802720CC: -/* 802720CC 0026F02C 2C 05 00 03 */ cmpwi r5, 3 -/* 802720D0 0026F030 40 80 00 D4 */ bge lbl_802721A4 -/* 802720D4 0026F034 48 00 00 90 */ b lbl_80272164 -lbl_802720D8: -/* 802720D8 0026F038 38 00 00 01 */ li r0, 1 -/* 802720DC 0026F03C 38 A0 00 00 */ li r5, 0 -/* 802720E0 0026F040 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802720E4 0026F044 48 00 67 1D */ bl sub_80278800 -/* 802720E8 0026F048 7F C3 F3 78 */ mr r3, r30 -/* 802720EC 0026F04C 7F E4 FB 78 */ mr r4, r31 -/* 802720F0 0026F050 48 00 36 2D */ bl sub_8027571c -/* 802720F4 0026F054 88 1E 08 F4 */ lbz r0, 0x8f4(r30) -/* 802720F8 0026F058 38 60 00 00 */ li r3, 0 -/* 802720FC 0026F05C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80272100 0026F060 98 1E 08 F4 */ stb r0, 0x8f4(r30) -/* 80272104 0026F064 88 1E 08 F4 */ lbz r0, 0x8f4(r30) -/* 80272108 0026F068 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027210C 0026F06C 98 1E 08 F4 */ stb r0, 0x8f4(r30) -/* 80272110 0026F070 48 00 00 94 */ b lbl_802721A4 -lbl_80272114: -/* 80272114 0026F074 3C A0 80 3F */ lis r5, lbl_803EAD18@ha -/* 80272118 0026F078 38 C1 00 08 */ addi r6, r1, 8 -/* 8027211C 0026F07C 39 45 AD 18 */ addi r10, r5, lbl_803EAD18@l -/* 80272120 0026F080 38 A0 00 06 */ li r5, 6 -/* 80272124 0026F084 81 2A 00 00 */ lwz r9, 0(r10) -/* 80272128 0026F088 38 E0 00 05 */ li r7, 5 -/* 8027212C 0026F08C 81 0A 00 04 */ lwz r8, 4(r10) -/* 80272130 0026F090 80 0A 00 08 */ lwz r0, 8(r10) -/* 80272134 0026F094 91 21 00 08 */ stw r9, 8(r1) -/* 80272138 0026F098 91 01 00 0C */ stw r8, 0xc(r1) -/* 8027213C 0026F09C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80272140 0026F0A0 4B E0 A6 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272144 0026F0A4 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) -/* 80272148 0026F0A8 C0 42 88 F0 */ lfs f2, lbl_805AA610@sda21(r2) -/* 8027214C 0026F0AC C0 3E 04 28 */ lfs f1, 0x428(r30) -/* 80272150 0026F0B0 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80272154 0026F0B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80272158 0026F0B8 40 80 00 4C */ bge lbl_802721A4 -/* 8027215C 0026F0BC D0 5E 04 28 */ stfs f2, 0x428(r30) -/* 80272160 0026F0C0 48 00 00 44 */ b lbl_802721A4 -lbl_80272164: -/* 80272164 0026F0C4 38 00 00 00 */ li r0, 0 -/* 80272168 0026F0C8 38 A0 00 01 */ li r5, 1 -/* 8027216C 0026F0CC 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80272170 0026F0D0 48 00 66 91 */ bl sub_80278800 -/* 80272174 0026F0D4 38 00 00 01 */ li r0, 1 -/* 80272178 0026F0D8 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 8027217C 0026F0DC 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80272180 0026F0E0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272184 0026F0E4 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272188 0026F0E8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8027218C 0026F0EC 54 00 10 3A */ slwi r0, r0, 2 -/* 80272190 0026F0F0 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272194 0026F0F4 4B EC 88 45 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272198 0026F0F8 7F C3 F3 78 */ mr r3, r30 -/* 8027219C 0026F0FC 7F E4 FB 78 */ mr r4, r31 -/* 802721A0 0026F100 48 00 35 19 */ bl sub_802756b8 -lbl_802721A4: -/* 802721A4 0026F104 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802721A8 0026F108 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802721AC 0026F10C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802721B0 0026F110 7C 08 03 A6 */ mtlr r0 -/* 802721B4 0026F114 38 21 00 20 */ addi r1, r1, 0x20 -/* 802721B8 0026F118 4E 80 00 20 */ blr - -.global Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Suck__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 802721BC 0026F11C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802721C0 0026F120 7C 08 02 A6 */ mflr r0 -/* 802721C4 0026F124 2C 05 00 01 */ cmpwi r5, 1 -/* 802721C8 0026F128 90 01 00 74 */ stw r0, 0x74(r1) -/* 802721CC 0026F12C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802721D0 0026F130 7C 9F 23 78 */ mr r31, r4 -/* 802721D4 0026F134 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802721D8 0026F138 7C 7E 1B 78 */ mr r30, r3 -/* 802721DC 0026F13C 93 A1 00 64 */ stw r29, 0x64(r1) -/* 802721E0 0026F140 41 82 01 EC */ beq lbl_802723CC -/* 802721E4 0026F144 40 80 00 10 */ bge lbl_802721F4 -/* 802721E8 0026F148 2C 05 00 00 */ cmpwi r5, 0 -/* 802721EC 0026F14C 40 80 00 14 */ bge lbl_80272200 -/* 802721F0 0026F150 48 00 01 DC */ b lbl_802723CC -lbl_802721F4: -/* 802721F4 0026F154 2C 05 00 03 */ cmpwi r5, 3 -/* 802721F8 0026F158 40 80 01 D4 */ bge lbl_802723CC -/* 802721FC 0026F15C 48 00 00 5C */ b lbl_80272258 -lbl_80272200: -/* 80272200 0026F160 83 BE 04 50 */ lwz r29, 0x450(r30) -/* 80272204 0026F164 38 80 00 0A */ li r4, 0xa -/* 80272208 0026F168 48 00 3C 0D */ bl sub_80275e14 -/* 8027220C 0026F16C 7C 64 1B 78 */ mr r4, r3 -/* 80272210 0026F170 7F A3 EB 78 */ mr r3, r29 -/* 80272214 0026F174 4B EC 87 C5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272218 0026F178 38 00 00 0B */ li r0, 0xb -/* 8027221C 0026F17C 38 60 00 00 */ li r3, 0 -/* 80272220 0026F180 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272224 0026F184 38 81 00 24 */ addi r4, r1, 0x24 -/* 80272228 0026F188 C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) -/* 8027222C 0026F18C 38 A0 00 00 */ li r5, 0 -/* 80272230 0026F190 88 1E 10 54 */ lbz r0, 0x1054(r30) -/* 80272234 0026F194 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80272238 0026F198 98 1E 10 54 */ stb r0, 0x1054(r30) -/* 8027223C 0026F19C D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 80272240 0026F1A0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80272244 0026F1A4 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80272248 0026F1A8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8027224C 0026F1AC 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80272250 0026F1B0 4B DA 27 81 */ bl AttachActorToPlayer__7CPlayerF9TUniqueId -/* 80272254 0026F1B4 48 00 01 78 */ b lbl_802723CC -lbl_80272258: -/* 80272258 0026F1B8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8027225C 0026F1BC 4B DA 27 49 */ bl DetachActorFromPlayer__7CPlayerFv -/* 80272260 0026F1C0 38 00 00 01 */ li r0, 1 -/* 80272264 0026F1C4 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272268 0026F1C8 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 8027226C 0026F1CC 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272270 0026F1D0 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272274 0026F1D4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80272278 0026F1D8 54 00 10 3A */ slwi r0, r0, 2 -/* 8027227C 0026F1DC 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272280 0026F1E0 4B EC 87 59 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272284 0026F1E4 38 00 00 00 */ li r0, 0 -/* 80272288 0026F1E8 7F C3 F3 78 */ mr r3, r30 -/* 8027228C 0026F1EC 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272290 0026F1F0 7F E4 FB 78 */ mr r4, r31 -/* 80272294 0026F1F4 38 A0 00 00 */ li r5, 0 -/* 80272298 0026F1F8 48 00 33 15 */ bl sub_802755ac -/* 8027229C 0026F1FC 7F C3 F3 78 */ mr r3, r30 -/* 802722A0 0026F200 7F E4 FB 78 */ mr r4, r31 -/* 802722A4 0026F204 48 00 16 31 */ bl sub_802738d4 -/* 802722A8 0026F208 C0 02 BC 00 */ lfs f0, lbl_805AD920@sda21(r2) -/* 802722AC 0026F20C D0 1E 10 88 */ stfs f0, 0x1088(r30) -/* 802722B0 0026F210 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802722B4 0026F214 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 802722B8 0026F218 2C 00 00 01 */ cmpwi r0, 1 -/* 802722BC 0026F21C 41 82 01 00 */ beq lbl_802723BC -/* 802722C0 0026F220 A0 1E 00 08 */ lhz r0, 8(r30) -/* 802722C4 0026F224 7F E6 FB 78 */ mr r6, r31 -/* 802722C8 0026F228 38 81 00 1C */ addi r4, r1, 0x1c -/* 802722CC 0026F22C 38 A0 00 08 */ li r5, 8 -/* 802722D0 0026F230 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 802722D4 0026F234 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802722D8 0026F238 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802722DC 0026F23C 4B F0 8F 79 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 802722E0 0026F240 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 802722E4 0026F244 38 60 00 01 */ li r3, 1 -/* 802722E8 0026F248 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 802722EC 0026F24C C0 02 BC 04 */ lfs f0, lbl_805AD924@sda21(r2) -/* 802722F0 0026F250 98 1E 04 02 */ stb r0, 0x402(r30) -/* 802722F4 0026F254 7F E3 FB 78 */ mr r3, r31 -/* 802722F8 0026F258 38 81 00 14 */ addi r4, r1, 0x14 -/* 802722FC 0026F25C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80272300 0026F260 D0 1E 05 04 */ stfs f0, 0x504(r30) -/* 80272304 0026F264 38 C0 00 29 */ li r6, 0x29 -/* 80272308 0026F268 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8027230C 0026F26C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80272310 0026F270 80 FF 08 4C */ lwz r7, 0x84c(r31) -/* 80272314 0026F274 B0 01 00 08 */ sth r0, 8(r1) -/* 80272318 0026F278 A0 07 00 08 */ lhz r0, 8(r7) -/* 8027231C 0026F27C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80272320 0026F280 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80272324 0026F284 4B DD 1B 31 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId -/* 80272328 0026F288 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8027232C 0026F28C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80272330 0026F290 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80272334 0026F294 38 81 00 4C */ addi r4, r1, 0x4c -/* 80272338 0026F298 C0 65 00 50 */ lfs f3, 0x50(r5) -/* 8027233C 0026F29C C0 45 00 40 */ lfs f2, 0x40(r5) -/* 80272340 0026F2A0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80272344 0026F2A4 EC 63 00 28 */ fsubs f3, f3, f0 -/* 80272348 0026F2A8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027234C 0026F2AC EC 22 08 28 */ fsubs f1, f2, f1 -/* 80272350 0026F2B0 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80272354 0026F2B4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80272358 0026F2B8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8027235C 0026F2BC 48 0A 24 F5 */ bl AsNormalized__9CVector3fCFv -/* 80272360 0026F2C0 83 BF 08 4C */ lwz r29, 0x84c(r31) -/* 80272364 0026F2C4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 80272368 0026F2C8 C0 BD 00 E8 */ lfs f5, 0xe8(r29) -/* 8027236C 0026F2CC C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80272370 0026F2D0 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80272374 0026F2D4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80272378 0026F2D8 EC 65 00 72 */ fmuls f3, f5, f1 -/* 8027237C 0026F2DC C0 22 BC 0C */ lfs f1, lbl_805AD92C@sda21(r2) -/* 80272380 0026F2E0 EC 45 00 32 */ fmuls f2, f5, f0 -/* 80272384 0026F2E4 EC A1 01 32 */ fmuls f5, f1, f4 -/* 80272388 0026F2E8 EC 01 00 F2 */ fmuls f0, f1, f3 -/* 8027238C 0026F2EC D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80272390 0026F2F0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80272394 0026F2F4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80272398 0026F2F8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8027239C 0026F2FC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802723A0 0026F300 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802723A4 0026F304 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802723A8 0026F308 4B DA 91 8D */ bl Identity__10CAxisAngleFv -/* 802723AC 0026F30C 7C 65 1B 78 */ mr r5, r3 -/* 802723B0 0026F310 7F A3 EB 78 */ mr r3, r29 -/* 802723B4 0026F314 38 81 00 40 */ addi r4, r1, 0x40 -/* 802723B8 0026F318 4B EA 9F E1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_802723BC: -/* 802723BC 0026F31C 88 1E 10 54 */ lbz r0, 0x1054(r30) -/* 802723C0 0026F320 38 60 00 01 */ li r3, 1 -/* 802723C4 0026F324 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 802723C8 0026F328 98 1E 10 54 */ stb r0, 0x1054(r30) -lbl_802723CC: -/* 802723CC 0026F32C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802723D0 0026F330 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802723D4 0026F334 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802723D8 0026F338 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 802723DC 0026F33C 7C 08 03 A6 */ mtlr r0 -/* 802723E0 0026F340 38 21 00 70 */ addi r1, r1, 0x70 -/* 802723E4 0026F344 4E 80 00 20 */ blr - -.global Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Run__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 802723E8 0026F348 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802723EC 0026F34C 7C 08 02 A6 */ mflr r0 -/* 802723F0 0026F350 2C 05 00 01 */ cmpwi r5, 1 -/* 802723F4 0026F354 90 01 00 44 */ stw r0, 0x44(r1) -/* 802723F8 0026F358 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802723FC 0026F35C 7C 9F 23 78 */ mr r31, r4 -/* 80272400 0026F360 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80272404 0026F364 7C 7E 1B 78 */ mr r30, r3 -/* 80272408 0026F368 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8027240C 0026F36C 93 81 00 30 */ stw r28, 0x30(r1) -/* 80272410 0026F370 41 82 00 F8 */ beq lbl_80272508 -/* 80272414 0026F374 40 80 00 10 */ bge lbl_80272424 -/* 80272418 0026F378 2C 05 00 00 */ cmpwi r5, 0 -/* 8027241C 0026F37C 40 80 00 14 */ bge lbl_80272430 -/* 80272420 0026F380 48 00 01 38 */ b lbl_80272558 -lbl_80272424: -/* 80272424 0026F384 2C 05 00 03 */ cmpwi r5, 3 -/* 80272428 0026F388 40 80 01 30 */ bge lbl_80272558 -/* 8027242C 0026F38C 48 00 00 E4 */ b lbl_80272510 -lbl_80272430: -/* 80272430 0026F390 38 00 00 0A */ li r0, 0xa -/* 80272434 0026F394 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) -/* 80272438 0026F398 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 8027243C 0026F39C 7F C4 F3 78 */ mr r4, r30 -/* 80272440 0026F3A0 7F E5 FB 78 */ mr r5, r31 -/* 80272444 0026F3A4 38 61 00 0C */ addi r3, r1, 0xc -/* 80272448 0026F3A8 D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 8027244C 0026F3AC 38 C0 00 01 */ li r6, 1 -/* 80272450 0026F3B0 48 00 45 91 */ bl sub_802769e0 -/* 80272454 0026F3B4 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80272458 0026F3B8 7F E3 FB 78 */ mr r3, r31 -/* 8027245C 0026F3BC 38 81 00 08 */ addi r4, r1, 8 -/* 80272460 0026F3C0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80272464 0026F3C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80272468 0026F3C8 4B DD A1 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027246C 0026F3CC 7C 64 1B 78 */ mr r4, r3 -/* 80272470 0026F3D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80272474 0026F3D4 4B E3 40 D9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80272478 0026F3D8 83 83 00 04 */ lwz r28, 4(r3) -/* 8027247C 0026F3DC 28 1C 00 00 */ cmplwi r28, 0 -/* 80272480 0026F3E0 41 82 00 74 */ beq lbl_802724F4 -/* 80272484 0026F3E4 83 BE 04 50 */ lwz r29, 0x450(r30) -/* 80272488 0026F3E8 7F C3 F3 78 */ mr r3, r30 -/* 8027248C 0026F3EC 38 80 00 01 */ li r4, 1 -/* 80272490 0026F3F0 48 00 39 85 */ bl sub_80275e14 -/* 80272494 0026F3F4 7C 64 1B 78 */ mr r4, r3 -/* 80272498 0026F3F8 7F A3 EB 78 */ mr r3, r29 -/* 8027249C 0026F3FC 4B EC 85 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802724A0 0026F400 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 802724A4 0026F404 7F C3 F3 78 */ mr r3, r30 -/* 802724A8 0026F408 38 81 00 1C */ addi r4, r1, 0x1c -/* 802724AC 0026F40C B0 1E 02 DC */ sth r0, 0x2dc(r30) -/* 802724B0 0026F410 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 802724B4 0026F414 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 802724B8 0026F418 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 802724BC 0026F41C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802724C0 0026F420 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802724C4 0026F424 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 802724C8 0026F428 4B E0 A6 95 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 802724CC 0026F42C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802724D0 0026F430 38 60 00 00 */ li r3, 0 -/* 802724D4 0026F434 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 802724D8 0026F438 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802724DC 0026F43C D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 802724E0 0026F440 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 802724E4 0026F444 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) -/* 802724E8 0026F448 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 802724EC 0026F44C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802724F0 0026F450 98 1E 03 28 */ stb r0, 0x328(r30) -lbl_802724F4: -/* 802724F4 0026F454 7F C3 F3 78 */ mr r3, r30 -/* 802724F8 0026F458 7F E4 FB 78 */ mr r4, r31 -/* 802724FC 0026F45C 38 A0 00 00 */ li r5, 0 -/* 80272500 0026F460 48 00 63 01 */ bl sub_80278800 -/* 80272504 0026F464 48 00 00 54 */ b lbl_80272558 -lbl_80272508: -/* 80272508 0026F468 4B F8 31 49 */ bl ApproachDest__10CPatternedFR13CStateManager -/* 8027250C 0026F46C 48 00 00 4C */ b lbl_80272558 -lbl_80272510: -/* 80272510 0026F470 38 00 00 00 */ li r0, 0 -/* 80272514 0026F474 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272518 0026F478 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 8027251C 0026F47C 38 00 00 01 */ li r0, 1 -/* 80272520 0026F480 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272524 0026F484 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80272528 0026F488 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 8027252C 0026F48C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80272530 0026F490 54 00 10 3A */ slwi r0, r0, 2 -/* 80272534 0026F494 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272538 0026F498 4B EC 84 A1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8027253C 0026F49C 7F C3 F3 78 */ mr r3, r30 -/* 80272540 0026F4A0 7F E4 FB 78 */ mr r4, r31 -/* 80272544 0026F4A4 38 A0 00 01 */ li r5, 1 -/* 80272548 0026F4A8 48 00 62 B9 */ bl sub_80278800 -/* 8027254C 0026F4AC 7F C3 F3 78 */ mr r3, r30 -/* 80272550 0026F4B0 7F E4 FB 78 */ mr r4, r31 -/* 80272554 0026F4B4 48 00 13 81 */ bl sub_802738d4 -lbl_80272558: -/* 80272558 0026F4B8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027255C 0026F4BC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80272560 0026F4C0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80272564 0026F4C4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80272568 0026F4C8 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8027256C 0026F4CC 7C 08 03 A6 */ mtlr r0 -/* 80272570 0026F4D0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80272574 0026F4D4 4E 80 00 20 */ blr - -.global TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -TurnAround__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272578 0026F4D8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027257C 0026F4DC 7C 08 02 A6 */ mflr r0 -/* 80272580 0026F4E0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80272584 0026F4E4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80272588 0026F4E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8027258C 0026F4EC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80272590 0026F4F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80272594 0026F4F4 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80272598 0026F4F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8027259C 0026F4FC DB 81 00 60 */ stfd f28, 0x60(r1) -/* 802725A0 0026F500 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 802725A4 0026F504 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802725A8 0026F508 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802725AC 0026F50C FF 80 08 90 */ fmr f28, f1 -/* 802725B0 0026F510 2C 05 00 01 */ cmpwi r5, 1 -/* 802725B4 0026F514 7C 7E 1B 78 */ mr r30, r3 -/* 802725B8 0026F518 7C 9F 23 78 */ mr r31, r4 -/* 802725BC 0026F51C 41 82 00 34 */ beq lbl_802725F0 -/* 802725C0 0026F520 40 80 00 10 */ bge lbl_802725D0 -/* 802725C4 0026F524 2C 05 00 00 */ cmpwi r5, 0 -/* 802725C8 0026F528 40 80 00 14 */ bge lbl_802725DC -/* 802725CC 0026F52C 48 00 01 58 */ b lbl_80272724 -lbl_802725D0: -/* 802725D0 0026F530 2C 05 00 03 */ cmpwi r5, 3 -/* 802725D4 0026F534 40 80 01 50 */ bge lbl_80272724 -/* 802725D8 0026F538 48 00 01 40 */ b lbl_80272718 -lbl_802725DC: -/* 802725DC 0026F53C 38 60 00 09 */ li r3, 9 -/* 802725E0 0026F540 38 00 00 01 */ li r0, 1 -/* 802725E4 0026F544 90 7E 09 2C */ stw r3, 0x92c(r30) -/* 802725E8 0026F548 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802725EC 0026F54C 48 00 01 38 */ b lbl_80272724 -lbl_802725F0: -/* 802725F0 0026F550 3C A0 80 3F */ lis r5, lbl_803EAD0C@ha -/* 802725F4 0026F554 38 C1 00 44 */ addi r6, r1, 0x44 -/* 802725F8 0026F558 39 45 AD 0C */ addi r10, r5, lbl_803EAD0C@l -/* 802725FC 0026F55C 38 A0 00 03 */ li r5, 3 -/* 80272600 0026F560 81 2A 00 00 */ lwz r9, 0(r10) -/* 80272604 0026F564 38 E0 00 03 */ li r7, 3 -/* 80272608 0026F568 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027260C 0026F56C 80 0A 00 08 */ lwz r0, 8(r10) -/* 80272610 0026F570 91 21 00 44 */ stw r9, 0x44(r1) -/* 80272614 0026F574 91 01 00 48 */ stw r8, 0x48(r1) -/* 80272618 0026F578 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8027261C 0026F57C 4B E0 A1 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272620 0026F580 38 00 00 01 */ li r0, 1 -/* 80272624 0026F584 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272628 0026F588 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 8027262C 0026F58C 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272630 0026F590 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272634 0026F594 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80272638 0026F598 54 00 10 3A */ slwi r0, r0, 2 -/* 8027263C 0026F59C 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272640 0026F5A0 4B EC 83 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272644 0026F5A4 7F C4 F3 78 */ mr r4, r30 -/* 80272648 0026F5A8 7F E5 FB 78 */ mr r5, r31 -/* 8027264C 0026F5AC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80272650 0026F5B0 48 00 1F FD */ bl sub_8027464c -/* 80272654 0026F5B4 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 80272658 0026F5B8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027265C 0026F5BC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80272660 0026F5C0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80272664 0026F5C4 C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 80272668 0026F5C8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8027266C 0026F5CC EC 1D 00 28 */ fsubs f0, f29, f0 -/* 80272670 0026F5D0 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 80272674 0026F5D4 C3 C1 00 40 */ lfs f30, 0x40(r1) -/* 80272678 0026F5D8 EC 5F 10 28 */ fsubs f2, f31, f2 -/* 8027267C 0026F5DC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80272680 0026F5E0 EC 1E 08 28 */ fsubs f0, f30, f1 -/* 80272684 0026F5E4 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80272688 0026F5E8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027268C 0026F5EC 48 0A 21 C5 */ bl AsNormalized__9CVector3fCFv -/* 80272690 0026F5F0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80272694 0026F5F4 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80272698 0026F5F8 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8027269C 0026F5FC C0 83 00 40 */ lfs f4, 0x40(r3) -/* 802726A0 0026F600 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802726A4 0026F604 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 802726A8 0026F608 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802726AC 0026F60C EC 64 18 28 */ fsubs f3, f4, f3 -/* 802726B0 0026F610 C0 C3 00 60 */ lfs f6, 0x60(r3) -/* 802726B4 0026F614 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802726B8 0026F618 C0 BE 00 60 */ lfs f5, 0x60(r30) -/* 802726BC 0026F61C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802726C0 0026F620 EC A6 28 28 */ fsubs f5, f6, f5 -/* 802726C4 0026F624 C0 E1 00 34 */ lfs f7, 0x34(r1) -/* 802726C8 0026F628 EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 802726CC 0026F62C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) -/* 802726D0 0026F630 EC 27 09 7A */ fmadds f1, f7, f5, f1 -/* 802726D4 0026F634 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802726D8 0026F638 40 80 00 4C */ bge lbl_80272724 -/* 802726DC 0026F63C EC BF 10 28 */ fsubs f5, f31, f2 -/* 802726E0 0026F640 D0 81 00 08 */ stfs f4, 8(r1) -/* 802726E4 0026F644 EC 7E 30 28 */ fsubs f3, f30, f6 -/* 802726E8 0026F648 7F C3 F3 78 */ mr r3, r30 -/* 802726EC 0026F64C EC 1D 20 28 */ fsubs f0, f29, f4 -/* 802726F0 0026F650 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802726F4 0026F654 FC 20 E0 90 */ fmr f1, f28 -/* 802726F8 0026F658 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 802726FC 0026F65C 7F E4 FB 78 */ mr r4, r31 -/* 80272700 0026F660 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80272704 0026F664 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80272708 0026F668 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8027270C 0026F66C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80272710 0026F670 48 00 20 A9 */ bl sub_802747b8 -/* 80272714 0026F674 48 00 00 10 */ b lbl_80272724 -lbl_80272718: -/* 80272718 0026F678 38 00 00 00 */ li r0, 0 -/* 8027271C 0026F67C 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272720 0026F680 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80272724: -/* 80272724 0026F684 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80272728 0026F688 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8027272C 0026F68C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80272730 0026F690 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80272734 0026F694 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80272738 0026F698 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8027273C 0026F69C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80272740 0026F6A0 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80272744 0026F6A4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80272748 0026F6A8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027274C 0026F6AC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80272750 0026F6B0 7C 08 03 A6 */ mtlr r0 -/* 80272754 0026F6B4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80272758 0026F6B8 4E 80 00 20 */ blr - -.global CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -CoverAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 8027275C 0026F6BC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80272760 0026F6C0 7C 08 02 A6 */ mflr r0 -/* 80272764 0026F6C4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80272768 0026F6C8 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8027276C 0026F6CC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80272770 0026F6D0 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80272774 0026F6D4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80272778 0026F6D8 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8027277C 0026F6DC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80272780 0026F6E0 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80272784 0026F6E4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80272788 0026F6E8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027278C 0026F6EC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80272790 0026F6F0 FF 80 08 90 */ fmr f28, f1 -/* 80272794 0026F6F4 2C 05 00 01 */ cmpwi r5, 1 -/* 80272798 0026F6F8 7C 7E 1B 78 */ mr r30, r3 -/* 8027279C 0026F6FC 7C 9F 23 78 */ mr r31, r4 -/* 802727A0 0026F700 41 82 00 38 */ beq lbl_802727D8 -/* 802727A4 0026F704 40 80 00 10 */ bge lbl_802727B4 -/* 802727A8 0026F708 2C 05 00 00 */ cmpwi r5, 0 -/* 802727AC 0026F70C 40 80 00 14 */ bge lbl_802727C0 -/* 802727B0 0026F710 48 00 01 78 */ b lbl_80272928 -lbl_802727B4: -/* 802727B4 0026F714 2C 05 00 03 */ cmpwi r5, 3 -/* 802727B8 0026F718 40 80 01 70 */ bge lbl_80272928 -/* 802727BC 0026F71C 48 00 01 3C */ b lbl_802728F8 -lbl_802727C0: -/* 802727C0 0026F720 38 00 00 01 */ li r0, 1 -/* 802727C4 0026F724 C0 02 BC 10 */ lfs f0, lbl_805AD930@sda21(r2) -/* 802727C8 0026F728 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802727CC 0026F72C 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 802727D0 0026F730 D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 802727D4 0026F734 48 00 01 54 */ b lbl_80272928 -lbl_802727D8: -/* 802727D8 0026F738 3C A0 80 3F */ lis r5, lbl_803EAD00@ha -/* 802727DC 0026F73C 38 80 00 00 */ li r4, 0 -/* 802727E0 0026F740 38 E5 AD 00 */ addi r7, r5, lbl_803EAD00@l -/* 802727E4 0026F744 80 C7 00 00 */ lwz r6, 0(r7) -/* 802727E8 0026F748 80 A7 00 04 */ lwz r5, 4(r7) -/* 802727EC 0026F74C 80 07 00 08 */ lwz r0, 8(r7) -/* 802727F0 0026F750 90 C1 00 38 */ stw r6, 0x38(r1) -/* 802727F4 0026F754 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 802727F8 0026F758 90 01 00 40 */ stw r0, 0x40(r1) -/* 802727FC 0026F75C 48 00 36 39 */ bl sub_80275e34 -/* 80272800 0026F760 7C 67 1B 78 */ mr r7, r3 -/* 80272804 0026F764 7F C3 F3 78 */ mr r3, r30 -/* 80272808 0026F768 7F E4 FB 78 */ mr r4, r31 -/* 8027280C 0026F76C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80272810 0026F770 38 A0 00 07 */ li r5, 7 -/* 80272814 0026F774 4B E0 9F A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272818 0026F778 C0 62 BC 18 */ lfs f3, lbl_805AD938@sda21(r2) -/* 8027281C 0026F77C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80272820 0026F780 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 80272824 0026F784 38 81 00 20 */ addi r4, r1, 0x20 -/* 80272828 0026F788 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8027282C 0026F78C C0 1E 00 58 */ lfs f0, 0x58(r30) -/* 80272830 0026F790 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80272834 0026F794 C0 BE 00 40 */ lfs f5, 0x40(r30) -/* 80272838 0026F798 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8027283C 0026F79C C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 80272840 0026F7A0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80272844 0026F7A4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80272848 0026F7A8 EF A2 28 2A */ fadds f29, f2, f5 -/* 8027284C 0026F7AC EF C1 20 2A */ fadds f30, f1, f4 -/* 80272850 0026F7B0 EF E0 18 2A */ fadds f31, f0, f3 -/* 80272854 0026F7B4 EC 5D 28 28 */ fsubs f2, f29, f5 -/* 80272858 0026F7B8 EC 3E 20 28 */ fsubs f1, f30, f4 -/* 8027285C 0026F7BC EC 1F 18 28 */ fsubs f0, f31, f3 -/* 80272860 0026F7C0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80272864 0026F7C4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80272868 0026F7C8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027286C 0026F7CC 48 0A 1F E5 */ bl AsNormalized__9CVector3fCFv -/* 80272870 0026F7D0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80272874 0026F7D4 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80272878 0026F7D8 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8027287C 0026F7DC C0 83 00 40 */ lfs f4, 0x40(r3) -/* 80272880 0026F7E0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80272884 0026F7E4 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80272888 0026F7E8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8027288C 0026F7EC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80272890 0026F7F0 C0 C3 00 60 */ lfs f6, 0x60(r3) -/* 80272894 0026F7F4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80272898 0026F7F8 C0 BE 00 60 */ lfs f5, 0x60(r30) -/* 8027289C 0026F7FC C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802728A0 0026F800 EC A6 28 28 */ fsubs f5, f6, f5 -/* 802728A4 0026F804 C0 E1 00 34 */ lfs f7, 0x34(r1) -/* 802728A8 0026F808 EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 802728AC 0026F80C C0 02 BC 14 */ lfs f0, lbl_805AD934@sda21(r2) -/* 802728B0 0026F810 EC 27 09 7A */ fmadds f1, f7, f5, f1 -/* 802728B4 0026F814 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802728B8 0026F818 40 80 00 70 */ bge lbl_80272928 -/* 802728BC 0026F81C EC BE 10 28 */ fsubs f5, f30, f2 -/* 802728C0 0026F820 D0 81 00 08 */ stfs f4, 8(r1) -/* 802728C4 0026F824 EC 7F 30 28 */ fsubs f3, f31, f6 -/* 802728C8 0026F828 7F C3 F3 78 */ mr r3, r30 -/* 802728CC 0026F82C EC 1D 20 28 */ fsubs f0, f29, f4 -/* 802728D0 0026F830 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802728D4 0026F834 FC 20 E0 90 */ fmr f1, f28 -/* 802728D8 0026F838 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 802728DC 0026F83C 7F E4 FB 78 */ mr r4, r31 -/* 802728E0 0026F840 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802728E4 0026F844 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802728E8 0026F848 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802728EC 0026F84C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802728F0 0026F850 48 00 1E C9 */ bl sub_802747b8 -/* 802728F4 0026F854 48 00 00 34 */ b lbl_80272928 -lbl_802728F8: -/* 802728F8 0026F858 38 A0 00 00 */ li r5, 0 -/* 802728FC 0026F85C 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272900 0026F860 90 BE 03 2C */ stw r5, 0x32c(r30) -/* 80272904 0026F864 38 00 00 01 */ li r0, 1 -/* 80272908 0026F868 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 8027290C 0026F86C 90 BE 09 2C */ stw r5, 0x92c(r30) -/* 80272910 0026F870 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80272914 0026F874 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272918 0026F878 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8027291C 0026F87C 54 00 10 3A */ slwi r0, r0, 2 -/* 80272920 0026F880 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272924 0026F884 4B EC 80 B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80272928: -/* 80272928 0026F888 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8027292C 0026F88C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80272930 0026F890 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80272934 0026F894 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80272938 0026F898 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8027293C 0026F89C CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80272940 0026F8A0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80272944 0026F8A4 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80272948 0026F8A8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027294C 0026F8AC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80272950 0026F8B0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80272954 0026F8B4 7C 08 03 A6 */ mtlr r0 -/* 80272958 0026F8B8 38 21 00 90 */ addi r1, r1, 0x90 -/* 8027295C 0026F8BC 4E 80 00 20 */ blr - -.global Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Cover__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272960 0026F8C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272964 0026F8C4 7C 08 02 A6 */ mflr r0 -/* 80272968 0026F8C8 2C 05 00 01 */ cmpwi r5, 1 -/* 8027296C 0026F8CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272970 0026F8D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272974 0026F8D4 7C 9F 23 78 */ mr r31, r4 -/* 80272978 0026F8D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027297C 0026F8DC 7C 7E 1B 78 */ mr r30, r3 -/* 80272980 0026F8E0 41 82 00 3C */ beq lbl_802729BC -/* 80272984 0026F8E4 40 80 00 10 */ bge lbl_80272994 -/* 80272988 0026F8E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027298C 0026F8EC 40 80 00 14 */ bge lbl_802729A0 -/* 80272990 0026F8F0 48 00 00 B8 */ b lbl_80272A48 -lbl_80272994: -/* 80272994 0026F8F4 2C 05 00 03 */ cmpwi r5, 3 -/* 80272998 0026F8F8 40 80 00 B0 */ bge lbl_80272A48 -/* 8027299C 0026F8FC 48 00 00 94 */ b lbl_80272A30 -lbl_802729A0: -/* 802729A0 0026F900 38 60 00 01 */ li r3, 1 -/* 802729A4 0026F904 38 00 00 0C */ li r0, 0xc -/* 802729A8 0026F908 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 802729AC 0026F90C C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) -/* 802729B0 0026F910 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 802729B4 0026F914 D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 802729B8 0026F918 48 00 00 90 */ b lbl_80272A48 -lbl_802729BC: -/* 802729BC 0026F91C 3C A0 80 3F */ lis r5, lbl_803EACF4@ha -/* 802729C0 0026F920 38 80 00 0D */ li r4, 0xd -/* 802729C4 0026F924 38 E5 AC F4 */ addi r7, r5, lbl_803EACF4@l -/* 802729C8 0026F928 80 C7 00 00 */ lwz r6, 0(r7) -/* 802729CC 0026F92C 80 A7 00 04 */ lwz r5, 4(r7) -/* 802729D0 0026F930 80 07 00 08 */ lwz r0, 8(r7) -/* 802729D4 0026F934 90 C1 00 08 */ stw r6, 8(r1) -/* 802729D8 0026F938 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802729DC 0026F93C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802729E0 0026F940 48 00 34 55 */ bl sub_80275e34 -/* 802729E4 0026F944 7C 67 1B 78 */ mr r7, r3 -/* 802729E8 0026F948 7F C3 F3 78 */ mr r3, r30 -/* 802729EC 0026F94C 7F E4 FB 78 */ mr r4, r31 -/* 802729F0 0026F950 38 C1 00 08 */ addi r6, r1, 8 -/* 802729F4 0026F954 38 A0 00 12 */ li r5, 0x12 -/* 802729F8 0026F958 4B E0 9D BD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 802729FC 0026F95C 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80272A00 0026F960 2C 00 00 02 */ cmpwi r0, 2 -/* 80272A04 0026F964 40 82 00 44 */ bne lbl_80272A48 -/* 80272A08 0026F968 38 00 00 01 */ li r0, 1 -/* 80272A0C 0026F96C 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272A10 0026F970 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80272A14 0026F974 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272A18 0026F978 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272A1C 0026F97C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80272A20 0026F980 54 00 10 3A */ slwi r0, r0, 2 -/* 80272A24 0026F984 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272A28 0026F988 4B EC 7F B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272A2C 0026F98C 48 00 00 1C */ b lbl_80272A48 -lbl_80272A30: -/* 80272A30 0026F990 38 00 00 00 */ li r0, 0 -/* 80272A34 0026F994 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80272A38 0026F998 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272A3C 0026F99C 48 00 0E 99 */ bl sub_802738d4 -/* 80272A40 0026F9A0 38 00 00 02 */ li r0, 2 -/* 80272A44 0026F9A4 90 1E 12 54 */ stw r0, 0x1254(r30) -lbl_80272A48: -/* 80272A48 0026F9A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272A4C 0026F9AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80272A50 0026F9B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80272A54 0026F9B4 7C 08 03 A6 */ mtlr r0 -/* 80272A58 0026F9B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272A5C 0026F9BC 4E 80 00 20 */ blr - -.global SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -SpecialAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272A60 0026F9C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272A64 0026F9C4 7C 08 02 A6 */ mflr r0 -/* 80272A68 0026F9C8 2C 05 00 01 */ cmpwi r5, 1 -/* 80272A6C 0026F9CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272A70 0026F9D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272A74 0026F9D4 7C 7F 1B 78 */ mr r31, r3 -/* 80272A78 0026F9D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80272A7C 0026F9DC 7C 9E 23 78 */ mr r30, r4 -/* 80272A80 0026F9E0 41 82 00 98 */ beq lbl_80272B18 -/* 80272A84 0026F9E4 40 80 00 10 */ bge lbl_80272A94 -/* 80272A88 0026F9E8 2C 05 00 00 */ cmpwi r5, 0 -/* 80272A8C 0026F9EC 40 80 00 14 */ bge lbl_80272AA0 -/* 80272A90 0026F9F0 48 00 01 0C */ b lbl_80272B9C -lbl_80272A94: -/* 80272A94 0026F9F4 2C 05 00 03 */ cmpwi r5, 3 -/* 80272A98 0026F9F8 40 80 01 04 */ bge lbl_80272B9C -/* 80272A9C 0026F9FC 48 00 00 F0 */ b lbl_80272B8C -lbl_80272AA0: -/* 80272AA0 0026FA00 38 00 00 01 */ li r0, 1 -/* 80272AA4 0026FA04 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80272AA8 0026FA08 80 1F 12 54 */ lwz r0, 0x1254(r31) -/* 80272AAC 0026FA0C 2C 00 00 04 */ cmpwi r0, 4 -/* 80272AB0 0026FA10 41 82 00 3C */ beq lbl_80272AEC -/* 80272AB4 0026FA14 40 80 00 14 */ bge lbl_80272AC8 -/* 80272AB8 0026FA18 2C 00 00 02 */ cmpwi r0, 2 -/* 80272ABC 0026FA1C 41 82 00 18 */ beq lbl_80272AD4 -/* 80272AC0 0026FA20 40 80 00 20 */ bge lbl_80272AE0 -/* 80272AC4 0026FA24 48 00 00 3C */ b lbl_80272B00 -lbl_80272AC8: -/* 80272AC8 0026FA28 2C 00 00 06 */ cmpwi r0, 6 -/* 80272ACC 0026FA2C 40 80 00 34 */ bge lbl_80272B00 -/* 80272AD0 0026FA30 48 00 00 28 */ b lbl_80272AF8 -lbl_80272AD4: -/* 80272AD4 0026FA34 38 00 00 02 */ li r0, 2 -/* 80272AD8 0026FA38 90 1F 09 2C */ stw r0, 0x92c(r31) -/* 80272ADC 0026FA3C 48 00 00 24 */ b lbl_80272B00 -lbl_80272AE0: -/* 80272AE0 0026FA40 38 00 00 03 */ li r0, 3 -/* 80272AE4 0026FA44 90 1F 09 2C */ stw r0, 0x92c(r31) -/* 80272AE8 0026FA48 48 00 00 18 */ b lbl_80272B00 -lbl_80272AEC: -/* 80272AEC 0026FA4C 38 00 00 04 */ li r0, 4 -/* 80272AF0 0026FA50 90 1F 09 2C */ stw r0, 0x92c(r31) -/* 80272AF4 0026FA54 48 00 00 0C */ b lbl_80272B00 -lbl_80272AF8: -/* 80272AF8 0026FA58 38 00 00 05 */ li r0, 5 -/* 80272AFC 0026FA5C 90 1F 09 2C */ stw r0, 0x92c(r31) -lbl_80272B00: -/* 80272B00 0026FA60 C0 02 BC 1C */ lfs f0, lbl_805AD93C@sda21(r2) -/* 80272B04 0026FA64 7F E3 FB 78 */ mr r3, r31 -/* 80272B08 0026FA68 7F C4 F3 78 */ mr r4, r30 -/* 80272B0C 0026FA6C D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 80272B10 0026FA70 48 00 15 45 */ bl sub_80274054 -/* 80272B14 0026FA74 48 00 00 88 */ b lbl_80272B9C -lbl_80272B18: -/* 80272B18 0026FA78 3C 80 80 3F */ lis r4, lbl_803EACE8@ha -/* 80272B1C 0026FA7C 38 C4 AC E8 */ addi r6, r4, lbl_803EACE8@l -/* 80272B20 0026FA80 80 A6 00 00 */ lwz r5, 0(r6) -/* 80272B24 0026FA84 80 86 00 04 */ lwz r4, 4(r6) -/* 80272B28 0026FA88 80 06 00 08 */ lwz r0, 8(r6) -/* 80272B2C 0026FA8C 90 A1 00 08 */ stw r5, 8(r1) -/* 80272B30 0026FA90 90 81 00 0C */ stw r4, 0xc(r1) -/* 80272B34 0026FA94 90 01 00 10 */ stw r0, 0x10(r1) -/* 80272B38 0026FA98 80 9F 12 54 */ lwz r4, 0x1254(r31) -/* 80272B3C 0026FA9C 48 00 32 F9 */ bl sub_80275e34 -/* 80272B40 0026FAA0 7C 67 1B 78 */ mr r7, r3 -/* 80272B44 0026FAA4 7F E3 FB 78 */ mr r3, r31 -/* 80272B48 0026FAA8 7F C4 F3 78 */ mr r4, r30 -/* 80272B4C 0026FAAC 38 C1 00 08 */ addi r6, r1, 8 -/* 80272B50 0026FAB0 38 A0 00 12 */ li r5, 0x12 -/* 80272B54 0026FAB4 4B E0 9C 61 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272B58 0026FAB8 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 80272B5C 0026FABC 2C 00 00 02 */ cmpwi r0, 2 -/* 80272B60 0026FAC0 40 82 00 3C */ bne lbl_80272B9C -/* 80272B64 0026FAC4 38 00 00 01 */ li r0, 1 -/* 80272B68 0026FAC8 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272B6C 0026FACC 90 1F 10 78 */ stw r0, 0x1078(r31) -/* 80272B70 0026FAD0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272B74 0026FAD4 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 80272B78 0026FAD8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80272B7C 0026FADC 54 00 10 3A */ slwi r0, r0, 2 -/* 80272B80 0026FAE0 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272B84 0026FAE4 4B EC 7E 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272B88 0026FAE8 48 00 00 14 */ b lbl_80272B9C -lbl_80272B8C: -/* 80272B8C 0026FAEC 38 00 00 00 */ li r0, 0 -/* 80272B90 0026FAF0 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80272B94 0026FAF4 90 1F 09 2C */ stw r0, 0x92c(r31) -/* 80272B98 0026FAF8 48 00 0D 3D */ bl sub_802738d4 -lbl_80272B9C: -/* 80272B9C 0026FAFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272BA0 0026FB00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80272BA4 0026FB04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80272BA8 0026FB08 7C 08 03 A6 */ mtlr r0 -/* 80272BAC 0026FB0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272BB0 0026FB10 4E 80 00 20 */ blr - -.global Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Attack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272BB4 0026FB14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272BB8 0026FB18 7C 08 02 A6 */ mflr r0 -/* 80272BBC 0026FB1C 2C 05 00 01 */ cmpwi r5, 1 -/* 80272BC0 0026FB20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272BC4 0026FB24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272BC8 0026FB28 7C 9F 23 78 */ mr r31, r4 -/* 80272BCC 0026FB2C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80272BD0 0026FB30 7C 7E 1B 78 */ mr r30, r3 -/* 80272BD4 0026FB34 41 82 00 3C */ beq lbl_80272C10 -/* 80272BD8 0026FB38 40 80 00 10 */ bge lbl_80272BE8 -/* 80272BDC 0026FB3C 2C 05 00 00 */ cmpwi r5, 0 -/* 80272BE0 0026FB40 40 80 00 14 */ bge lbl_80272BF4 -/* 80272BE4 0026FB44 48 00 00 88 */ b lbl_80272C6C -lbl_80272BE8: -/* 80272BE8 0026FB48 2C 05 00 03 */ cmpwi r5, 3 -/* 80272BEC 0026FB4C 40 80 00 80 */ bge lbl_80272C6C -/* 80272BF0 0026FB50 48 00 00 64 */ b lbl_80272C54 -lbl_80272BF4: -/* 80272BF4 0026FB54 38 60 00 01 */ li r3, 1 -/* 80272BF8 0026FB58 38 00 00 06 */ li r0, 6 -/* 80272BFC 0026FB5C 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80272C00 0026FB60 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) -/* 80272C04 0026FB64 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272C08 0026FB68 D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 80272C0C 0026FB6C 48 00 00 60 */ b lbl_80272C6C -lbl_80272C10: -/* 80272C10 0026FB70 3C A0 80 3F */ lis r5, lbl_803EACDC@ha -/* 80272C14 0026FB74 38 80 00 09 */ li r4, 9 -/* 80272C18 0026FB78 38 E5 AC DC */ addi r7, r5, lbl_803EACDC@l -/* 80272C1C 0026FB7C 80 C7 00 00 */ lwz r6, 0(r7) -/* 80272C20 0026FB80 80 A7 00 04 */ lwz r5, 4(r7) -/* 80272C24 0026FB84 80 07 00 08 */ lwz r0, 8(r7) -/* 80272C28 0026FB88 90 C1 00 08 */ stw r6, 8(r1) -/* 80272C2C 0026FB8C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80272C30 0026FB90 90 01 00 10 */ stw r0, 0x10(r1) -/* 80272C34 0026FB94 48 00 32 01 */ bl sub_80275e34 -/* 80272C38 0026FB98 7C 67 1B 78 */ mr r7, r3 -/* 80272C3C 0026FB9C 7F C3 F3 78 */ mr r3, r30 -/* 80272C40 0026FBA0 7F E4 FB 78 */ mr r4, r31 -/* 80272C44 0026FBA4 38 C1 00 08 */ addi r6, r1, 8 -/* 80272C48 0026FBA8 38 A0 00 07 */ li r5, 7 -/* 80272C4C 0026FBAC 4B E0 9B 69 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272C50 0026FBB0 48 00 00 1C */ b lbl_80272C6C -lbl_80272C54: -/* 80272C54 0026FBB4 38 00 00 00 */ li r0, 0 -/* 80272C58 0026FBB8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80272C5C 0026FBBC 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272C60 0026FBC0 48 00 0C 75 */ bl sub_802738d4 -/* 80272C64 0026FBC4 38 00 00 02 */ li r0, 2 -/* 80272C68 0026FBC8 90 1E 12 54 */ stw r0, 0x1254(r30) -lbl_80272C6C: -/* 80272C6C 0026FBCC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272C70 0026FBD0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80272C74 0026FBD4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80272C78 0026FBD8 7C 08 03 A6 */ mtlr r0 -/* 80272C7C 0026FBDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272C80 0026FBE0 4E 80 00 20 */ blr - -.global ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -ProjectileAttack__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272C84 0026FBE4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272C88 0026FBE8 7C 08 02 A6 */ mflr r0 -/* 80272C8C 0026FBEC 2C 05 00 01 */ cmpwi r5, 1 -/* 80272C90 0026FBF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272C94 0026FBF4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272C98 0026FBF8 7C 9F 23 78 */ mr r31, r4 -/* 80272C9C 0026FBFC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80272CA0 0026FC00 7C 7E 1B 78 */ mr r30, r3 -/* 80272CA4 0026FC04 41 82 00 3C */ beq lbl_80272CE0 -/* 80272CA8 0026FC08 40 80 00 10 */ bge lbl_80272CB8 -/* 80272CAC 0026FC0C 2C 05 00 00 */ cmpwi r5, 0 -/* 80272CB0 0026FC10 40 80 00 14 */ bge lbl_80272CC4 -/* 80272CB4 0026FC14 48 00 00 E8 */ b lbl_80272D9C -lbl_80272CB8: -/* 80272CB8 0026FC18 2C 05 00 03 */ cmpwi r5, 3 -/* 80272CBC 0026FC1C 40 80 00 E0 */ bge lbl_80272D9C -/* 80272CC0 0026FC20 48 00 00 94 */ b lbl_80272D54 -lbl_80272CC4: -/* 80272CC4 0026FC24 38 60 00 01 */ li r3, 1 -/* 80272CC8 0026FC28 38 00 00 07 */ li r0, 7 -/* 80272CCC 0026FC2C 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80272CD0 0026FC30 C0 02 BC 24 */ lfs f0, lbl_805AD944@sda21(r2) -/* 80272CD4 0026FC34 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272CD8 0026FC38 D0 1E 10 84 */ stfs f0, 0x1084(r30) -/* 80272CDC 0026FC3C 48 00 00 C0 */ b lbl_80272D9C -lbl_80272CE0: -/* 80272CE0 0026FC40 3C 80 80 3F */ lis r4, lbl_803EACD0@ha -/* 80272CE4 0026FC44 38 C4 AC D0 */ addi r6, r4, lbl_803EACD0@l -/* 80272CE8 0026FC48 80 A6 00 00 */ lwz r5, 0(r6) -/* 80272CEC 0026FC4C 80 86 00 04 */ lwz r4, 4(r6) -/* 80272CF0 0026FC50 80 06 00 08 */ lwz r0, 8(r6) -/* 80272CF4 0026FC54 90 A1 00 08 */ stw r5, 8(r1) -/* 80272CF8 0026FC58 90 81 00 0C */ stw r4, 0xc(r1) -/* 80272CFC 0026FC5C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80272D00 0026FC60 80 9E 12 54 */ lwz r4, 0x1254(r30) -/* 80272D04 0026FC64 48 00 31 31 */ bl sub_80275e34 -/* 80272D08 0026FC68 7C 67 1B 78 */ mr r7, r3 -/* 80272D0C 0026FC6C 7F C3 F3 78 */ mr r3, r30 -/* 80272D10 0026FC70 7F E4 FB 78 */ mr r4, r31 -/* 80272D14 0026FC74 38 C1 00 08 */ addi r6, r1, 8 -/* 80272D18 0026FC78 38 A0 00 12 */ li r5, 0x12 -/* 80272D1C 0026FC7C 4B E0 9A 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272D20 0026FC80 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80272D24 0026FC84 2C 00 00 02 */ cmpwi r0, 2 -/* 80272D28 0026FC88 40 82 00 74 */ bne lbl_80272D9C -/* 80272D2C 0026FC8C 38 00 00 01 */ li r0, 1 -/* 80272D30 0026FC90 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 80272D34 0026FC94 90 1E 10 78 */ stw r0, 0x1078(r30) -/* 80272D38 0026FC98 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80272D3C 0026FC9C 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80272D40 0026FCA0 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80272D44 0026FCA4 54 00 10 3A */ slwi r0, r0, 2 -/* 80272D48 0026FCA8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272D4C 0026FCAC 4B EC 7C 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272D50 0026FCB0 48 00 00 4C */ b lbl_80272D9C -lbl_80272D54: -/* 80272D54 0026FCB4 38 00 00 00 */ li r0, 0 -/* 80272D58 0026FCB8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80272D5C 0026FCBC 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80272D60 0026FCC0 48 00 0B 75 */ bl sub_802738d4 -/* 80272D64 0026FCC4 C0 02 BC 28 */ lfs f0, lbl_805AD948@sda21(r2) -/* 80272D68 0026FCC8 38 80 00 00 */ li r4, 0 -/* 80272D6C 0026FCCC D0 1E 10 88 */ stfs f0, 0x1088(r30) -/* 80272D70 0026FCD0 80 7E 0C 54 */ lwz r3, 0xc54(r30) -/* 80272D74 0026FCD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80272D78 0026FCD8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80272D7C 0026FCDC 7D 89 03 A6 */ mtctr r12 -/* 80272D80 0026FCE0 4E 80 04 21 */ bctrl -/* 80272D84 0026FCE4 7F C3 F3 78 */ mr r3, r30 -/* 80272D88 0026FCE8 7F E4 FB 78 */ mr r4, r31 -/* 80272D8C 0026FCEC 38 A0 00 00 */ li r5, 0 -/* 80272D90 0026FCF0 48 00 45 F1 */ bl sub_80277380 -/* 80272D94 0026FCF4 38 00 00 02 */ li r0, 2 -/* 80272D98 0026FCF8 90 1E 12 54 */ stw r0, 0x1254(r30) -lbl_80272D9C: -/* 80272D9C 0026FCFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272DA0 0026FD00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80272DA4 0026FD04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80272DA8 0026FD08 7C 08 03 A6 */ mtlr r0 -/* 80272DAC 0026FD0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272DB0 0026FD10 4E 80 00 20 */ blr - -.global Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Taunt__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272DB4 0026FD14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272DB8 0026FD18 7C 08 02 A6 */ mflr r0 -/* 80272DBC 0026FD1C 2C 05 00 01 */ cmpwi r5, 1 -/* 80272DC0 0026FD20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272DC4 0026FD24 41 82 00 2C */ beq lbl_80272DF0 -/* 80272DC8 0026FD28 40 80 00 10 */ bge lbl_80272DD8 -/* 80272DCC 0026FD2C 2C 05 00 00 */ cmpwi r5, 0 -/* 80272DD0 0026FD30 40 80 00 14 */ bge lbl_80272DE4 -/* 80272DD4 0026FD34 48 00 00 68 */ b lbl_80272E3C -lbl_80272DD8: -/* 80272DD8 0026FD38 2C 05 00 03 */ cmpwi r5, 3 -/* 80272DDC 0026FD3C 40 80 00 60 */ bge lbl_80272E3C -/* 80272DE0 0026FD40 48 00 00 54 */ b lbl_80272E34 -lbl_80272DE4: -/* 80272DE4 0026FD44 38 00 00 01 */ li r0, 1 -/* 80272DE8 0026FD48 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80272DEC 0026FD4C 48 00 00 50 */ b lbl_80272E3C -lbl_80272DF0: -/* 80272DF0 0026FD50 3C C0 80 3F */ lis r6, lbl_803EACC4@ha -/* 80272DF4 0026FD54 3C A0 80 3D */ lis r5, lbl_803D5478@ha -/* 80272DF8 0026FD58 39 46 AC C4 */ addi r10, r6, lbl_803EACC4@l -/* 80272DFC 0026FD5C 38 C1 00 08 */ addi r6, r1, 8 -/* 80272E00 0026FD60 81 2A 00 00 */ lwz r9, 0(r10) -/* 80272E04 0026FD64 38 E5 54 78 */ addi r7, r5, lbl_803D5478@l -/* 80272E08 0026FD68 81 0A 00 04 */ lwz r8, 4(r10) -/* 80272E0C 0026FD6C 38 A0 00 10 */ li r5, 0x10 -/* 80272E10 0026FD70 80 0A 00 08 */ lwz r0, 8(r10) -/* 80272E14 0026FD74 91 21 00 08 */ stw r9, 8(r1) -/* 80272E18 0026FD78 91 01 00 0C */ stw r8, 0xc(r1) -/* 80272E1C 0026FD7C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80272E20 0026FD80 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80272E24 0026FD84 54 00 10 3A */ slwi r0, r0, 2 -/* 80272E28 0026FD88 7C E7 00 2E */ lwzx r7, r7, r0 -/* 80272E2C 0026FD8C 4B E0 99 89 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80272E30 0026FD90 48 00 00 0C */ b lbl_80272E3C -lbl_80272E34: -/* 80272E34 0026FD94 38 00 00 00 */ li r0, 0 -/* 80272E38 0026FD98 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80272E3C: -/* 80272E3C 0026FD9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272E40 0026FDA0 7C 08 03 A6 */ mtlr r0 -/* 80272E44 0026FDA4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272E48 0026FDA8 4E 80 00 20 */ blr - -.global SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -SelectTarget__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272E4C 0026FDAC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272E50 0026FDB0 7C 08 02 A6 */ mflr r0 -/* 80272E54 0026FDB4 2C 05 00 01 */ cmpwi r5, 1 -/* 80272E58 0026FDB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272E5C 0026FDBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272E60 0026FDC0 7C 7F 1B 78 */ mr r31, r3 -/* 80272E64 0026FDC4 41 82 00 4C */ beq lbl_80272EB0 -/* 80272E68 0026FDC8 40 80 00 10 */ bge lbl_80272E78 -/* 80272E6C 0026FDCC 2C 05 00 00 */ cmpwi r5, 0 -/* 80272E70 0026FDD0 40 80 00 14 */ bge lbl_80272E84 -/* 80272E74 0026FDD4 48 00 00 58 */ b lbl_80272ECC -lbl_80272E78: -/* 80272E78 0026FDD8 2C 05 00 03 */ cmpwi r5, 3 -/* 80272E7C 0026FDDC 40 80 00 50 */ bge lbl_80272ECC -/* 80272E80 0026FDE0 48 00 00 38 */ b lbl_80272EB8 -lbl_80272E84: -/* 80272E84 0026FDE4 C0 3F 09 24 */ lfs f1, 0x924(r31) -/* 80272E88 0026FDE8 38 81 00 08 */ addi r4, r1, 8 -/* 80272E8C 0026FDEC C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) -/* 80272E90 0026FDF0 38 6D 98 D8 */ addi r3, r13, lbl_805A8498@sda21 -/* 80272E94 0026FDF4 38 AD 98 DC */ addi r5, r13, lbl_805A849C@sda21 -/* 80272E98 0026FDF8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80272E9C 0026FDFC D0 01 00 08 */ stfs f0, 8(r1) -/* 80272EA0 0026FE00 4B D9 94 15 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80272EA4 0026FE04 C0 03 00 00 */ lfs f0, 0(r3) -/* 80272EA8 0026FE08 D0 1F 03 40 */ stfs f0, 0x340(r31) -/* 80272EAC 0026FE0C 48 00 00 20 */ b lbl_80272ECC -lbl_80272EB0: -/* 80272EB0 0026FE10 48 00 29 51 */ bl sub_80275800 -/* 80272EB4 0026FE14 48 00 00 18 */ b lbl_80272ECC -lbl_80272EB8: -/* 80272EB8 0026FE18 48 00 0A 1D */ bl sub_802738d4 -/* 80272EBC 0026FE1C 88 1F 10 54 */ lbz r0, 0x1054(r31) -/* 80272EC0 0026FE20 38 60 00 00 */ li r3, 0 -/* 80272EC4 0026FE24 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80272EC8 0026FE28 98 1F 10 54 */ stb r0, 0x1054(r31) -lbl_80272ECC: -/* 80272ECC 0026FE2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80272ED0 0026FE30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80272ED4 0026FE34 7C 08 03 A6 */ mtlr r0 -/* 80272ED8 0026FE38 38 21 00 20 */ addi r1, r1, 0x20 -/* 80272EDC 0026FE3C 4E 80 00 20 */ blr - -.global Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -Active__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272EE0 0026FE40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272EE4 0026FE44 7C 08 02 A6 */ mflr r0 -/* 80272EE8 0026FE48 2C 05 00 01 */ cmpwi r5, 1 -/* 80272EEC 0026FE4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272EF0 0026FE50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272EF4 0026FE54 7C 7F 1B 78 */ mr r31, r3 -/* 80272EF8 0026FE58 41 82 00 3C */ beq lbl_80272F34 -/* 80272EFC 0026FE5C 40 80 00 10 */ bge lbl_80272F0C -/* 80272F00 0026FE60 2C 05 00 00 */ cmpwi r5, 0 -/* 80272F04 0026FE64 40 80 00 14 */ bge lbl_80272F18 -/* 80272F08 0026FE68 48 00 00 C0 */ b lbl_80272FC8 -lbl_80272F0C: -/* 80272F0C 0026FE6C 2C 05 00 03 */ cmpwi r5, 3 -/* 80272F10 0026FE70 40 80 00 B8 */ bge lbl_80272FC8 -/* 80272F14 0026FE74 48 00 00 AC */ b lbl_80272FC0 -lbl_80272F18: -/* 80272F18 0026FE78 C0 22 BC 2C */ lfs f1, lbl_805AD94C@sda21(r2) -/* 80272F1C 0026FE7C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80272F20 0026FE80 D0 3F 10 7C */ stfs f1, 0x107c(r31) -/* 80272F24 0026FE84 C0 3F 10 88 */ lfs f1, 0x1088(r31) -/* 80272F28 0026FE88 D0 3F 10 84 */ stfs f1, 0x1084(r31) -/* 80272F2C 0026FE8C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 80272F30 0026FE90 48 00 00 98 */ b lbl_80272FC8 -lbl_80272F34: -/* 80272F34 0026FE94 80 1F 05 70 */ lwz r0, 0x570(r31) -/* 80272F38 0026FE98 2C 00 00 00 */ cmpwi r0, 0 -/* 80272F3C 0026FE9C 40 82 00 10 */ bne lbl_80272F4C -/* 80272F40 0026FEA0 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 80272F44 0026FEA4 2C 00 00 01 */ cmpwi r0, 1 -/* 80272F48 0026FEA8 41 82 00 80 */ beq lbl_80272FC8 -lbl_80272F4C: -/* 80272F4C 0026FEAC C0 1F 10 7C */ lfs f0, 0x107c(r31) -/* 80272F50 0026FEB0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80272F54 0026FEB4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80272F58 0026FEB8 40 80 00 70 */ bge lbl_80272FC8 -/* 80272F5C 0026FEBC C0 1F 10 84 */ lfs f0, 0x1084(r31) -/* 80272F60 0026FEC0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80272F64 0026FEC4 40 80 00 64 */ bge lbl_80272FC8 -/* 80272F68 0026FEC8 C0 3F 10 80 */ lfs f1, 0x1080(r31) -/* 80272F6C 0026FECC C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) -/* 80272F70 0026FED0 D0 3F 10 7C */ stfs f1, 0x107c(r31) -/* 80272F74 0026FED4 D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 80272F78 0026FED8 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80272F7C 0026FEDC 48 09 F5 A5 */ bl Next__9CRandom16Fv -/* 80272F80 0026FEE0 3C A0 55 55 */ lis r5, 0x55555556@ha -/* 80272F84 0026FEE4 3C 80 80 3D */ lis r4, lbl_803D546C@ha -/* 80272F88 0026FEE8 38 05 55 56 */ addi r0, r5, 0x55555556@l -/* 80272F8C 0026FEEC 7C A0 18 96 */ mulhw r5, r0, r3 -/* 80272F90 0026FEF0 38 84 54 6C */ addi r4, r4, lbl_803D546C@l -/* 80272F94 0026FEF4 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 80272F98 0026FEF8 7C 05 02 14 */ add r0, r5, r0 -/* 80272F9C 0026FEFC 1C 00 00 03 */ mulli r0, r0, 3 -/* 80272FA0 0026FF00 7C 00 18 50 */ subf r0, r0, r3 -/* 80272FA4 0026FF04 90 1F 10 78 */ stw r0, 0x1078(r31) -/* 80272FA8 0026FF08 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 80272FAC 0026FF0C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80272FB0 0026FF10 54 00 10 3A */ slwi r0, r0, 2 -/* 80272FB4 0026FF14 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80272FB8 0026FF18 4B EC 7A 21 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80272FBC 0026FF1C 48 00 00 0C */ b lbl_80272FC8 -lbl_80272FC0: -/* 80272FC0 0026FF20 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) -/* 80272FC4 0026FF24 D0 1F 10 88 */ stfs f0, 0x1088(r31) -lbl_80272FC8: -/* 80272FC8 0026FF28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272FCC 0026FF2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272FD0 0026FF30 7C 08 03 A6 */ mtlr r0 -/* 80272FD4 0026FF34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272FD8 0026FF38 4E 80 00 20 */ blr - -.global InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf -InActive__16CMetroidPrimeExoFR13CStateManager9EStateMsgf: -/* 80272FDC 0026FF3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80272FE0 0026FF40 7C 08 02 A6 */ mflr r0 -/* 80272FE4 0026FF44 2C 05 00 01 */ cmpwi r5, 1 -/* 80272FE8 0026FF48 90 01 00 24 */ stw r0, 0x24(r1) -/* 80272FEC 0026FF4C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80272FF0 0026FF50 7C 7F 1B 78 */ mr r31, r3 -/* 80272FF4 0026FF54 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80272FF8 0026FF58 7C 9E 23 78 */ mr r30, r4 -/* 80272FFC 0026FF5C 41 82 00 94 */ beq lbl_80273090 -/* 80273000 0026FF60 40 80 00 10 */ bge lbl_80273010 -/* 80273004 0026FF64 2C 05 00 00 */ cmpwi r5, 0 -/* 80273008 0026FF68 40 80 00 14 */ bge lbl_8027301C -/* 8027300C 0026FF6C 48 00 01 60 */ b lbl_8027316C -lbl_80273010: -/* 80273010 0026FF70 2C 05 00 03 */ cmpwi r5, 3 -/* 80273014 0026FF74 40 80 01 58 */ bge lbl_8027316C -/* 80273018 0026FF78 48 00 00 EC */ b lbl_80273104 -lbl_8027301C: -/* 8027301C 0026FF7C C0 3F 10 80 */ lfs f1, 0x1080(r31) -/* 80273020 0026FF80 38 E0 00 00 */ li r7, 0 -/* 80273024 0026FF84 C0 02 BC 20 */ lfs f0, lbl_805AD940@sda21(r2) -/* 80273028 0026FF88 38 C0 00 01 */ li r6, 1 -/* 8027302C 0026FF8C D0 3F 10 84 */ stfs f1, 0x1084(r31) -/* 80273030 0026FF90 38 A0 00 00 */ li r5, 0 -/* 80273034 0026FF94 D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 80273038 0026FF98 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 8027303C 0026FF9C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 80273040 0026FFA0 98 1F 04 00 */ stb r0, 0x400(r31) -/* 80273044 0026FFA4 88 1F 09 14 */ lbz r0, 0x914(r31) -/* 80273048 0026FFA8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8027304C 0026FFAC 98 1F 09 14 */ stb r0, 0x914(r31) -/* 80273050 0026FFB0 48 00 57 B1 */ bl sub_80278800 -/* 80273054 0026FFB4 38 00 00 01 */ li r0, 1 -/* 80273058 0026FFB8 3C 60 80 3D */ lis r3, lbl_803D546C@ha -/* 8027305C 0026FFBC 90 1F 10 78 */ stw r0, 0x1078(r31) -/* 80273060 0026FFC0 38 83 54 6C */ addi r4, r3, lbl_803D546C@l -/* 80273064 0026FFC4 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 80273068 0026FFC8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8027306C 0026FFCC 54 00 10 3A */ slwi r0, r0, 2 -/* 80273070 0026FFD0 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80273074 0026FFD4 4B EC 79 65 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80273078 0026FFD8 7F E3 FB 78 */ mr r3, r31 -/* 8027307C 0026FFDC 7F C4 F3 78 */ mr r4, r30 -/* 80273080 0026FFE0 48 00 58 49 */ bl sub_802788c8 -/* 80273084 0026FFE4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80273088 0026FFE8 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 8027308C 0026FFEC 48 00 00 E0 */ b lbl_8027316C -lbl_80273090: -/* 80273090 0026FFF0 C0 1F 10 7C */ lfs f0, 0x107c(r31) -/* 80273094 0026FFF4 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80273098 0026FFF8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027309C 0026FFFC 40 80 00 D0 */ bge lbl_8027316C -/* 802730A0 00270000 C0 1F 10 84 */ lfs f0, 0x1084(r31) -/* 802730A4 00270004 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802730A8 00270008 40 80 00 C4 */ bge lbl_8027316C -/* 802730AC 0027000C C0 3F 10 80 */ lfs f1, 0x1080(r31) -/* 802730B0 00270010 C0 02 BC 34 */ lfs f0, lbl_805AD954@sda21(r2) -/* 802730B4 00270014 D0 3F 10 7C */ stfs f1, 0x107c(r31) -/* 802730B8 00270018 D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 802730BC 0027001C 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 802730C0 00270020 48 09 F4 61 */ bl Next__9CRandom16Fv -/* 802730C4 00270024 3C A0 55 55 */ lis r5, 0x55555556@ha -/* 802730C8 00270028 3C 80 80 3D */ lis r4, lbl_803D546C@ha -/* 802730CC 0027002C 38 05 55 56 */ addi r0, r5, 0x55555556@l -/* 802730D0 00270030 7C A0 18 96 */ mulhw r5, r0, r3 -/* 802730D4 00270034 38 84 54 6C */ addi r4, r4, lbl_803D546C@l -/* 802730D8 00270038 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 802730DC 0027003C 7C 05 02 14 */ add r0, r5, r0 -/* 802730E0 00270040 1C 00 00 03 */ mulli r0, r0, 3 -/* 802730E4 00270044 7C 00 18 50 */ subf r0, r0, r3 -/* 802730E8 00270048 90 1F 10 78 */ stw r0, 0x1078(r31) -/* 802730EC 0027004C 80 1F 10 78 */ lwz r0, 0x1078(r31) -/* 802730F0 00270050 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802730F4 00270054 54 00 10 3A */ slwi r0, r0, 2 -/* 802730F8 00270058 7C 84 00 2E */ lwzx r4, r4, r0 -/* 802730FC 0027005C 4B EC 78 DD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80273100 00270060 48 00 00 6C */ b lbl_8027316C -lbl_80273104: -/* 80273104 00270064 88 1F 09 14 */ lbz r0, 0x914(r31) -/* 80273108 00270068 38 C0 00 00 */ li r6, 0 -/* 8027310C 0027006C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80273110 00270070 38 A0 00 01 */ li r5, 1 -/* 80273114 00270074 98 1F 09 14 */ stb r0, 0x914(r31) -/* 80273118 00270078 88 1F 14 44 */ lbz r0, 0x1444(r31) -/* 8027311C 0027007C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80273120 00270080 98 1F 14 44 */ stb r0, 0x1444(r31) -/* 80273124 00270084 48 00 56 DD */ bl sub_80278800 -/* 80273128 00270088 7F E3 FB 78 */ mr r3, r31 -/* 8027312C 0027008C 7F C4 F3 78 */ mr r4, r30 -/* 80273130 00270090 48 00 07 A5 */ bl sub_802738d4 -/* 80273134 00270094 C0 1F 10 80 */ lfs f0, 0x1080(r31) -/* 80273138 00270098 7F C3 F3 78 */ mr r3, r30 -/* 8027313C 0027009C C0 22 BC 38 */ lfs f1, lbl_805AD958@sda21(r2) -/* 80273140 002700A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80273144 002700A4 D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 80273148 002700A8 38 A0 00 5B */ li r5, 0x5b -/* 8027314C 002700AC C0 1F 10 84 */ lfs f0, 0x1084(r31) -/* 80273150 002700B0 D0 1F 10 88 */ stfs f0, 0x1088(r31) -/* 80273154 002700B4 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80273158 002700B8 B0 01 00 08 */ sth r0, 8(r1) -/* 8027315C 002700BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80273160 002700C0 4B DD 0D E5 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 80273164 002700C4 80 1F 08 D4 */ lwz r0, 0x8d4(r31) -/* 80273168 002700C8 90 1F 08 D0 */ stw r0, 0x8d0(r31) -lbl_8027316C: -/* 8027316C 002700CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80273170 002700D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80273174 002700D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80273178 002700D8 7C 08 03 A6 */ mtlr r0 -/* 8027317C 002700DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80273180 002700E0 4E 80 00 20 */ blr - -.global Stuck__16CMetroidPrimeExoFR13CStateManagerf -Stuck__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273184 002700E4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80273188 002700E8 7C 08 02 A6 */ mflr r0 -/* 8027318C 002700EC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80273190 002700F0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80273194 002700F4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80273198 002700F8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8027319C 002700FC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802731A0 00270100 7C 9F 23 78 */ mr r31, r4 -/* 802731A4 00270104 7C 7E 1B 78 */ mr r30, r3 -/* 802731A8 00270108 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 802731AC 0027010C 38 61 00 34 */ addi r3, r1, 0x34 -/* 802731B0 00270110 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 802731B4 00270114 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802731B8 00270118 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 802731BC 0027011C C0 FE 00 58 */ lfs f7, 0x58(r30) -/* 802731C0 00270120 C0 DE 00 48 */ lfs f6, 0x48(r30) -/* 802731C4 00270124 EC 21 00 28 */ fsubs f1, f1, f0 -/* 802731C8 00270128 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 802731CC 0027012C C0 A4 00 40 */ lfs f5, 0x40(r4) -/* 802731D0 00270130 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802731D4 00270134 EC 26 00 72 */ fmuls f1, f6, f1 -/* 802731D8 00270138 C0 84 00 60 */ lfs f4, 0x60(r4) -/* 802731DC 0027013C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 802731E0 00270140 EC A5 00 28 */ fsubs f5, f5, f0 -/* 802731E4 00270144 C0 05 00 00 */ lfs f0, 0(r5) -/* 802731E8 00270148 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802731EC 0027014C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802731F0 00270150 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 802731F4 00270154 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802731F8 00270158 C0 05 00 04 */ lfs f0, 4(r5) -/* 802731FC 0027015C EF E7 08 FA */ fmadds f31, f7, f3, f1 -/* 80273200 00270160 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 80273204 00270164 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80273208 00270168 C0 05 00 08 */ lfs f0, 8(r5) -/* 8027320C 0027016C D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 80273210 00270170 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80273214 00270174 48 0A 16 A5 */ bl Magnitude__9CVector3fCFv -/* 80273218 00270178 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) -/* 8027321C 0027017C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) -/* 80273220 00270180 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80273224 00270184 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80273228 00270188 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8027322C 0027018C 40 80 00 0C */ bge lbl_80273238 -/* 80273230 00270190 38 60 00 00 */ li r3, 0 -/* 80273234 00270194 48 00 00 D8 */ b lbl_8027330C -lbl_80273238: -/* 80273238 00270198 7F C4 F3 78 */ mr r4, r30 -/* 8027323C 0027019C 7F E5 FB 78 */ mr r5, r31 -/* 80273240 002701A0 38 61 00 0C */ addi r3, r1, 0xc -/* 80273244 002701A4 38 C0 00 01 */ li r6, 1 -/* 80273248 002701A8 48 00 37 99 */ bl sub_802769e0 -/* 8027324C 002701AC A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80273250 002701B0 7F E3 FB 78 */ mr r3, r31 -/* 80273254 002701B4 38 81 00 08 */ addi r4, r1, 8 -/* 80273258 002701B8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8027325C 002701BC B0 01 00 08 */ sth r0, 8(r1) -/* 80273260 002701C0 4B DD 93 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80273264 002701C4 7C 64 1B 78 */ mr r4, r3 -/* 80273268 002701C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027326C 002701CC 4B E3 32 E1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80273270 002701D0 80 A3 00 04 */ lwz r5, 4(r3) -/* 80273274 002701D4 28 05 00 00 */ cmplwi r5, 0 -/* 80273278 002701D8 41 82 00 90 */ beq lbl_80273308 -/* 8027327C 002701DC 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 80273280 002701E0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80273284 002701E4 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80273288 002701E8 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8027328C 002701EC C0 FE 00 58 */ lfs f7, 0x58(r30) -/* 80273290 002701F0 C0 DE 00 48 */ lfs f6, 0x48(r30) -/* 80273294 002701F4 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80273298 002701F8 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 8027329C 002701FC C0 A5 00 40 */ lfs f5, 0x40(r5) -/* 802732A0 00270200 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802732A4 00270204 EC 26 00 72 */ fmuls f1, f6, f1 -/* 802732A8 00270208 C0 85 00 60 */ lfs f4, 0x60(r5) -/* 802732AC 0027020C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 802732B0 00270210 EC A5 00 28 */ fsubs f5, f5, f0 -/* 802732B4 00270214 C0 04 00 00 */ lfs f0, 0(r4) -/* 802732B8 00270218 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802732BC 0027021C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802732C0 00270220 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 802732C4 00270224 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802732C8 00270228 C0 04 00 04 */ lfs f0, 4(r4) -/* 802732CC 0027022C EF E7 08 FA */ fmadds f31, f7, f3, f1 -/* 802732D0 00270230 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 802732D4 00270234 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802732D8 00270238 C0 04 00 08 */ lfs f0, 8(r4) -/* 802732DC 0027023C D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 802732E0 00270240 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802732E4 00270244 48 0A 15 D5 */ bl Magnitude__9CVector3fCFv -/* 802732E8 00270248 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) -/* 802732EC 0027024C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 802732F0 00270250 EC 22 00 72 */ fmuls f1, f2, f1 -/* 802732F4 00270254 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802732F8 00270258 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802732FC 0027025C 7C 00 00 26 */ mfcr r0 -/* 80273300 00270260 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80273304 00270264 48 00 00 08 */ b lbl_8027330C -lbl_80273308: -/* 80273308 00270268 38 60 00 01 */ li r3, 1 -lbl_8027330C: -/* 8027330C 0027026C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80273310 00270270 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80273314 00270274 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80273318 00270278 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027331C 0027027C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80273320 00270280 7C 08 03 A6 */ mtlr r0 -/* 80273324 00270284 38 21 00 70 */ addi r1, r1, 0x70 -/* 80273328 00270288 4E 80 00 20 */ blr - -.global PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf -PlayerSpot__16CMetroidPrimeExoFR13CStateManagerf: -/* 8027332C 0027028C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273330 00270290 7C 08 02 A6 */ mflr r0 -/* 80273334 00270294 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273338 00270298 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8027333C 0027029C 4B DA 29 C1 */ bl GetFrozenState__7CPlayerCFv -/* 80273340 002702A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273344 002702A4 7C 08 03 A6 */ mtlr r0 -/* 80273348 002702A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027334C 002702AC 4E 80 00 20 */ blr - -.global CoverCheck__16CMetroidPrimeExoFR13CStateManagerf -CoverCheck__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273350 002702B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273354 002702B4 7C 08 02 A6 */ mflr r0 -/* 80273358 002702B8 C0 22 BC 48 */ lfs f1, lbl_805AD968@sda21(r2) -/* 8027335C 002702BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273360 002702C0 48 00 3E C5 */ bl sub_80277224 -/* 80273364 002702C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273368 002702C8 7C 08 03 A6 */ mtlr r0 -/* 8027336C 002702CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273370 002702D0 4E 80 00 20 */ blr - -.global AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf -AggressionCheck__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273374 002702D4 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80273378 002702D8 7C 08 02 A6 */ mflr r0 -/* 8027337C 002702DC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80273380 002702E0 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80273384 002702E4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80273388 002702E8 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8027338C 002702EC F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80273390 002702F0 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80273394 002702F4 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80273398 002702F8 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8027339C 002702FC F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 802733A0 00270300 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 802733A4 00270304 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 802733A8 00270308 DB 41 00 60 */ stfd f26, 0x60(r1) -/* 802733AC 0027030C F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 -/* 802733B0 00270310 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802733B4 00270314 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 802733B8 00270318 7C 7F 1B 78 */ mr r31, r3 -/* 802733BC 0027031C 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) -/* 802733C0 00270320 38 61 00 14 */ addi r3, r1, 0x14 -/* 802733C4 00270324 C3 45 00 60 */ lfs f26, 0x60(r5) -/* 802733C8 00270328 C3 65 00 50 */ lfs f27, 0x50(r5) -/* 802733CC 0027032C C3 85 00 40 */ lfs f28, 0x40(r5) -/* 802733D0 00270330 4B D9 18 E9 */ bl string_l__4rstlFPCc -/* 802733D4 00270334 7F E4 FB 78 */ mr r4, r31 -/* 802733D8 00270338 38 61 00 24 */ addi r3, r1, 0x24 -/* 802733DC 0027033C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802733E0 00270340 4B E0 55 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802733E4 00270344 C3 A1 00 50 */ lfs f29, 0x50(r1) -/* 802733E8 00270348 38 61 00 14 */ addi r3, r1, 0x14 -/* 802733EC 0027034C C3 C1 00 40 */ lfs f30, 0x40(r1) -/* 802733F0 00270350 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 802733F4 00270354 48 0C A6 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802733F8 00270358 EC 3C F8 28 */ fsubs f1, f28, f31 -/* 802733FC 0027035C C0 02 BC 4C */ lfs f0, lbl_805AD96C@sda21(r2) -/* 80273400 00270360 EC BB F0 28 */ fsubs f5, f27, f30 -/* 80273404 00270364 EC 9A E8 28 */ fsubs f4, f26, f29 -/* 80273408 00270368 EC 41 00 72 */ fmuls f2, f1, f1 -/* 8027340C 0027036C D0 21 00 08 */ stfs f1, 8(r1) -/* 80273410 00270370 EC 25 01 72 */ fmuls f1, f5, f5 -/* 80273414 00270374 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80273418 00270378 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8027341C 0027037C EC 22 08 2A */ fadds f1, f2, f1 -/* 80273420 00270380 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80273424 00270384 EC 23 08 2A */ fadds f1, f3, f1 -/* 80273428 00270388 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027342C 0027038C 7C 00 00 26 */ mfcr r0 -/* 80273430 00270390 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80273434 00270394 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80273438 00270398 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8027343C 0027039C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80273440 002703A0 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80273444 002703A4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 80273448 002703A8 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8027344C 002703AC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 80273450 002703B0 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 80273454 002703B4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 80273458 002703B8 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8027345C 002703BC E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 -/* 80273460 002703C0 CB 41 00 60 */ lfd f26, 0x60(r1) -/* 80273464 002703C4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80273468 002703C8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027346C 002703CC 7C 08 03 A6 */ mtlr r0 -/* 80273470 002703D0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80273474 002703D4 4E 80 00 20 */ blr - -.global AIStage__16CMetroidPrimeExoFR13CStateManagerf -AIStage__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273478 002703D8 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) -/* 8027347C 002703DC 38 80 00 00 */ li r4, 0 -/* 80273480 002703E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80273484 002703E4 40 80 00 10 */ bge lbl_80273494 -/* 80273488 002703E8 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 8027348C 002703EC 2C 00 00 00 */ cmpwi r0, 0 -/* 80273490 002703F0 41 82 00 48 */ beq lbl_802734D8 -lbl_80273494: -/* 80273494 002703F4 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) -/* 80273498 002703F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027349C 002703FC 40 81 00 10 */ ble lbl_802734AC -/* 802734A0 00270400 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 802734A4 00270404 2C 00 00 02 */ cmpwi r0, 2 -/* 802734A8 00270408 41 82 00 30 */ beq lbl_802734D8 -lbl_802734AC: -/* 802734AC 0027040C 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 802734B0 00270410 2C 00 00 01 */ cmpwi r0, 1 -/* 802734B4 00270414 40 82 00 28 */ bne lbl_802734DC -/* 802734B8 00270418 C0 02 BB F8 */ lfs f0, lbl_805AD918@sda21(r2) -/* 802734BC 0027041C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802734C0 00270420 4C 41 13 82 */ cror 2, 1, 2 -/* 802734C4 00270424 40 82 00 18 */ bne lbl_802734DC -/* 802734C8 00270428 C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) -/* 802734CC 0027042C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802734D0 00270430 4C 40 13 82 */ cror 2, 0, 2 -/* 802734D4 00270434 40 82 00 08 */ bne lbl_802734DC -lbl_802734D8: -/* 802734D8 00270438 38 80 00 01 */ li r4, 1 -lbl_802734DC: -/* 802734DC 0027043C 7C 83 23 78 */ mr r3, r4 -/* 802734E0 00270440 4E 80 00 20 */ blr - -.global sub_802734e4 -sub_802734e4: -/* 802734E4 00270444 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 802734E8 00270448 20 00 00 0B */ subfic r0, r0, 0xb -/* 802734EC 0027044C 7C 00 00 34 */ cntlzw r0, r0 -/* 802734F0 00270450 54 03 D9 7E */ srwi r3, r0, 5 -/* 802734F4 00270454 4E 80 00 20 */ blr - -.global AttackOver__16CMetroidPrimeExoFR13CStateManagerf -AttackOver__16CMetroidPrimeExoFR13CStateManagerf: -/* 802734F8 00270458 88 83 08 F4 */ lbz r4, 0x8f4(r3) -/* 802734FC 0027045C 38 A0 00 00 */ li r5, 0 -/* 80273500 00270460 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 80273504 00270464 40 82 00 18 */ bne lbl_8027351C -/* 80273508 00270468 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 8027350C 0027046C 40 82 00 10 */ bne lbl_8027351C -/* 80273510 00270470 88 03 10 54 */ lbz r0, 0x1054(r3) -/* 80273514 00270474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80273518 00270478 41 82 00 08 */ beq lbl_80273520 -lbl_8027351C: -/* 8027351C 0027047C 38 A0 00 01 */ li r5, 1 -lbl_80273520: -/* 80273520 00270480 7C A3 2B 78 */ mr r3, r5 -/* 80273524 00270484 4E 80 00 20 */ blr - -.global sub_80273528 -sub_80273528: -/* 80273528 00270488 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 8027352C 0027048C 20 00 00 0A */ subfic r0, r0, 0xa -/* 80273530 00270490 7C 00 00 34 */ cntlzw r0, r0 -/* 80273534 00270494 54 03 D9 7E */ srwi r3, r0, 5 -/* 80273538 00270498 4E 80 00 20 */ blr - -.global sub_8027353c -sub_8027353c: -/* 8027353C 0027049C 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 80273540 002704A0 20 00 00 0C */ subfic r0, r0, 0xc -/* 80273544 002704A4 7C 00 00 34 */ cntlzw r0, r0 -/* 80273548 002704A8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8027354C 002704AC 4E 80 00 20 */ blr - -.global sub_80273550 -sub_80273550: -/* 80273550 002704B0 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 80273554 002704B4 20 00 00 09 */ subfic r0, r0, 9 -/* 80273558 002704B8 7C 00 00 34 */ cntlzw r0, r0 -/* 8027355C 002704BC 54 03 D9 7E */ srwi r3, r0, 5 -/* 80273560 002704C0 4E 80 00 20 */ blr - -.global sub_80273564 -sub_80273564: -/* 80273564 002704C4 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 80273568 002704C8 38 60 00 00 */ li r3, 0 -/* 8027356C 002704CC 2C 00 00 06 */ cmpwi r0, 6 -/* 80273570 002704D0 41 82 00 14 */ beq lbl_80273584 -/* 80273574 002704D4 2C 00 00 07 */ cmpwi r0, 7 -/* 80273578 002704D8 41 82 00 0C */ beq lbl_80273584 -/* 8027357C 002704DC 2C 00 00 08 */ cmpwi r0, 8 -/* 80273580 002704E0 4C 82 00 20 */ bnelr -lbl_80273584: -/* 80273584 002704E4 38 60 00 01 */ li r3, 1 -/* 80273588 002704E8 4E 80 00 20 */ blr - -.global sub_8027358c -sub_8027358c: -/* 8027358C 002704EC 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 80273590 002704F0 38 60 00 00 */ li r3, 0 -/* 80273594 002704F4 2C 00 00 02 */ cmpwi r0, 2 -/* 80273598 002704F8 41 82 00 1C */ beq lbl_802735B4 -/* 8027359C 002704FC 2C 00 00 03 */ cmpwi r0, 3 -/* 802735A0 00270500 41 82 00 14 */ beq lbl_802735B4 -/* 802735A4 00270504 2C 00 00 04 */ cmpwi r0, 4 -/* 802735A8 00270508 41 82 00 0C */ beq lbl_802735B4 -/* 802735AC 0027050C 2C 00 00 05 */ cmpwi r0, 5 -/* 802735B0 00270510 4C 82 00 20 */ bnelr -lbl_802735B4: -/* 802735B4 00270514 38 60 00 01 */ li r3, 1 -/* 802735B8 00270518 4E 80 00 20 */ blr - -.global ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf -ShouldTurn__16CMetroidPrimeExoFR13CStateManagerf: -/* 802735BC 0027051C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802735C0 00270520 7C 08 02 A6 */ mflr r0 -/* 802735C4 00270524 90 01 00 34 */ stw r0, 0x34(r1) -/* 802735C8 00270528 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802735CC 0027052C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802735D0 00270530 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 802735D4 00270534 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 802735D8 00270538 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802735DC 0027053C C0 03 00 50 */ lfs f0, 0x50(r3) -/* 802735E0 00270540 C0 E3 00 58 */ lfs f7, 0x58(r3) -/* 802735E4 00270544 C0 C3 00 48 */ lfs f6, 0x48(r3) -/* 802735E8 00270548 EC 21 00 28 */ fsubs f1, f1, f0 -/* 802735EC 0027054C C0 43 00 38 */ lfs f2, 0x38(r3) -/* 802735F0 00270550 C0 A4 00 40 */ lfs f5, 0x40(r4) -/* 802735F4 00270554 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 802735F8 00270558 EC 26 00 72 */ fmuls f1, f6, f1 -/* 802735FC 0027055C C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80273600 00270560 38 61 00 08 */ addi r3, r1, 8 -/* 80273604 00270564 C0 84 00 60 */ lfs f4, 0x60(r4) -/* 80273608 00270568 EC A5 00 28 */ fsubs f5, f5, f0 -/* 8027360C 0027056C C0 05 00 00 */ lfs f0, 0(r5) -/* 80273610 00270570 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80273614 00270574 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80273618 00270578 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 8027361C 0027057C D0 01 00 08 */ stfs f0, 8(r1) -/* 80273620 00270580 C0 05 00 04 */ lfs f0, 4(r5) -/* 80273624 00270584 EF E7 08 FA */ fmadds f31, f7, f3, f1 -/* 80273628 00270588 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 8027362C 0027058C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80273630 00270590 C0 05 00 08 */ lfs f0, 8(r5) -/* 80273634 00270594 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 80273638 00270598 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027363C 0027059C 48 0A 12 7D */ bl Magnitude__9CVector3fCFv -/* 80273640 002705A0 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80273644 002705A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80273648 002705A8 7C 00 00 26 */ mfcr r0 -/* 8027364C 002705AC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80273650 002705B0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80273654 002705B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80273658 002705B8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8027365C 002705BC 7C 08 03 A6 */ mtlr r0 -/* 80273660 002705C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80273664 002705C4 4E 80 00 20 */ blr - -.global InMaxRange__16CMetroidPrimeExoFR13CStateManagerf -InMaxRange__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273668 002705C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027366C 002705CC 7C 08 02 A6 */ mflr r0 -/* 80273670 002705D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80273674 002705D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80273678 002705D8 3B E0 00 00 */ li r31, 0 -/* 8027367C 002705DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80273680 002705E0 7C 9E 23 78 */ mr r30, r4 -/* 80273684 002705E4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80273688 002705E8 7C 7D 1B 78 */ mr r29, r3 -/* 8027368C 002705EC 4B F8 2D 59 */ bl InMaxRange__10CPatternedFR13CStateManagerf -/* 80273690 002705F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273694 002705F4 40 82 00 64 */ bne lbl_802736F8 -/* 80273698 002705F8 3C 80 80 3D */ lis r4, lbl_803D5428@ha -/* 8027369C 002705FC 7F A3 EB 78 */ mr r3, r29 -/* 802736A0 00270600 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l -/* 802736A4 00270604 7F C4 F3 78 */ mr r4, r30 -/* 802736A8 00270608 C0 25 00 00 */ lfs f1, 0(r5) -/* 802736AC 0027060C 48 00 3B 79 */ bl sub_80277224 -/* 802736B0 00270610 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802736B4 00270614 40 82 00 48 */ bne lbl_802736FC -/* 802736B8 00270618 3C 80 80 3D */ lis r4, lbl_803D5428@ha -/* 802736BC 0027061C 7F A3 EB 78 */ mr r3, r29 -/* 802736C0 00270620 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l -/* 802736C4 00270624 7F C4 F3 78 */ mr r4, r30 -/* 802736C8 00270628 C0 25 00 04 */ lfs f1, 4(r5) -/* 802736CC 0027062C 48 00 3B 59 */ bl sub_80277224 -/* 802736D0 00270630 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802736D4 00270634 40 82 00 28 */ bne lbl_802736FC -/* 802736D8 00270638 3C 80 80 3D */ lis r4, lbl_803D5428@ha -/* 802736DC 0027063C 7F A3 EB 78 */ mr r3, r29 -/* 802736E0 00270640 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l -/* 802736E4 00270644 7F C4 F3 78 */ mr r4, r30 -/* 802736E8 00270648 C0 25 00 08 */ lfs f1, 8(r5) -/* 802736EC 0027064C 48 00 3B 39 */ bl sub_80277224 -/* 802736F0 00270650 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802736F4 00270654 40 82 00 08 */ bne lbl_802736FC -lbl_802736F8: -/* 802736F8 00270658 3B E0 00 01 */ li r31, 1 -lbl_802736FC: -/* 802736FC 0027065C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80273700 00270660 7F E3 FB 78 */ mr r3, r31 -/* 80273704 00270664 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80273708 00270668 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027370C 0027066C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80273710 00270670 7C 08 03 A6 */ mtlr r0 -/* 80273714 00270674 38 21 00 20 */ addi r1, r1, 0x20 -/* 80273718 00270678 4E 80 00 20 */ blr - -.global TooClose__16CMetroidPrimeExoFR13CStateManagerf -TooClose__16CMetroidPrimeExoFR13CStateManagerf: -/* 8027371C 0027067C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273720 00270680 7C 08 02 A6 */ mflr r0 -/* 80273724 00270684 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273728 00270688 4B F8 2D 31 */ bl TooClose__10CPatternedFR13CStateManagerf -/* 8027372C 0027068C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273730 00270690 7C 08 03 A6 */ mtlr r0 -/* 80273734 00270694 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273738 00270698 4E 80 00 20 */ blr - -.global ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf -ShouldDoubleSnap__16CMetroidPrimeExoFR13CStateManagerf: -/* 8027373C 0027069C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273740 002706A0 7C 08 02 A6 */ mflr r0 -/* 80273744 002706A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273748 002706A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027374C 002706AC 3B E0 00 00 */ li r31, 0 -/* 80273750 002706B0 88 03 03 28 */ lbz r0, 0x328(r3) -/* 80273754 002706B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80273758 002706B8 40 82 00 24 */ bne lbl_8027377C -/* 8027375C 002706BC A0 A3 02 DC */ lhz r5, 0x2dc(r3) -/* 80273760 002706C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80273764 002706C4 7C 05 00 40 */ cmplw r5, r0 -/* 80273768 002706C8 41 82 00 14 */ beq lbl_8027377C -/* 8027376C 002706CC C0 22 BC 54 */ lfs f1, lbl_805AD974@sda21(r2) -/* 80273770 002706D0 48 00 3A B5 */ bl sub_80277224 -/* 80273774 002706D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273778 002706D8 40 82 00 08 */ bne lbl_80273780 -lbl_8027377C: -/* 8027377C 002706DC 3B E0 00 01 */ li r31, 1 -lbl_80273780: -/* 80273780 002706E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273784 002706E4 7F E3 FB 78 */ mr r3, r31 -/* 80273788 002706E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027378C 002706EC 7C 08 03 A6 */ mtlr r0 -/* 80273790 002706F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273794 002706F4 4E 80 00 20 */ blr - -.global sub_80273798 -sub_80273798: -/* 80273798 002706F8 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 8027379C 002706FC 20 00 00 0D */ subfic r0, r0, 0xd -/* 802737A0 00270700 7C 00 00 34 */ cntlzw r0, r0 -/* 802737A4 00270704 54 03 D9 7E */ srwi r3, r0, 5 -/* 802737A8 00270708 4E 80 00 20 */ blr - -.global sub_802737ac -sub_802737ac: -/* 802737AC 0027070C 80 03 12 54 */ lwz r0, 0x1254(r3) -/* 802737B0 00270710 20 00 00 01 */ subfic r0, r0, 1 -/* 802737B4 00270714 7C 00 00 34 */ cntlzw r0, r0 -/* 802737B8 00270718 54 03 D9 7E */ srwi r3, r0, 5 -/* 802737BC 0027071C 4E 80 00 20 */ blr - -.global StartAttack__16CMetroidPrimeExoFR13CStateManagerf -StartAttack__16CMetroidPrimeExoFR13CStateManagerf: -/* 802737C0 00270720 C0 23 09 20 */ lfs f1, 0x920(r3) -/* 802737C4 00270724 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802737C8 00270728 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802737CC 0027072C 4C 40 13 82 */ cror 2, 0, 2 -/* 802737D0 00270730 7C 00 00 26 */ mfcr r0 -/* 802737D4 00270734 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 802737D8 00270738 4E 80 00 20 */ blr - -.global ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf -ShouldRetreat__16CMetroidPrimeExoFR13CStateManagerf: -/* 802737DC 0027073C 88 03 08 F4 */ lbz r0, 0x8f4(r3) -/* 802737E0 00270740 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 802737E4 00270744 4E 80 00 20 */ blr - -.global ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf -ShouldFlinch__16CMetroidPrimeExoFR13CStateManagerf: -/* 802737E8 00270748 88 03 08 F4 */ lbz r0, 0x8f4(r3) -/* 802737EC 0027074C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 802737F0 00270750 4E 80 00 20 */ blr - -.global InPosition__16CMetroidPrimeExoFR13CStateManagerf -InPosition__16CMetroidPrimeExoFR13CStateManagerf: -/* 802737F4 00270754 C0 23 10 84 */ lfs f1, 0x1084(r3) -/* 802737F8 00270758 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802737FC 0027075C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80273800 00270760 4C 40 13 82 */ cror 2, 0, 2 -/* 80273804 00270764 7C 00 00 26 */ mfcr r0 -/* 80273808 00270768 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 8027380C 0027076C 4E 80 00 20 */ blr - -.global CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf -CodeTrigger__16CMetroidPrimeExoFR13CStateManagerf: -/* 80273810 00270770 88 03 14 44 */ lbz r0, 0x1444(r3) -/* 80273814 00270774 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 80273818 00270778 4E 80 00 20 */ blr - -.global sub_8027381c -sub_8027381c: -/* 8027381C 0027077C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80273820 00270780 7C 08 02 A6 */ mflr r0 -/* 80273824 00270784 3C E0 80 3E */ lis r7, lbl_803DAA68@ha -/* 80273828 00270788 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027382C 0027078C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80273830 00270790 38 E7 AA 68 */ addi r7, r7, lbl_803DAA68@l -/* 80273834 00270794 39 00 00 13 */ li r8, 0x13 -/* 80273838 00270798 88 81 00 14 */ lbz r4, 0x14(r1) -/* 8027383C 0027079C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80273840 002707A0 38 C0 00 00 */ li r6, 0 -/* 80273844 002707A4 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 -/* 80273848 002707A8 81 23 04 50 */ lwz r9, 0x450(r3) -/* 8027384C 002707AC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 80273850 002707B0 90 E1 00 08 */ stw r7, 8(r1) -/* 80273854 002707B4 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 80273858 002707B8 38 E3 FE 40 */ addi r7, r3, lbl_803DFE40@l -/* 8027385C 002707BC 3B E9 00 04 */ addi r31, r9, 4 -/* 80273860 002707C0 98 81 00 14 */ stb r4, 0x14(r1) -/* 80273864 002707C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80273868 002707C8 7F E3 FB 78 */ mr r3, r31 -/* 8027386C 002707CC 38 80 00 13 */ li r4, 0x13 -/* 80273870 002707D0 91 01 00 0C */ stw r8, 0xc(r1) -/* 80273874 002707D4 90 E1 00 08 */ stw r7, 8(r1) -/* 80273878 002707D8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8027387C 002707DC 98 01 00 14 */ stb r0, 0x14(r1) -/* 80273880 002707E0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80273884 002707E4 4B EB DB B5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80273888 002707E8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027388C 002707EC 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 80273890 002707F0 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l -/* 80273894 002707F4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80273898 002707F8 90 1F 02 20 */ stw r0, 0x220(r31) -/* 8027389C 002707FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 802738A0 00270800 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 802738A4 00270804 88 61 00 14 */ lbz r3, 0x14(r1) -/* 802738A8 00270808 90 BF 02 24 */ stw r5, 0x224(r31) -/* 802738AC 0027080C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802738B0 00270810 98 7F 02 28 */ stb r3, 0x228(r31) -/* 802738B4 00270814 90 81 00 08 */ stw r4, 8(r1) -/* 802738B8 00270818 D0 1F 02 2C */ stfs f0, 0x22c(r31) -/* 802738BC 0027081C 90 01 00 08 */ stw r0, 8(r1) -/* 802738C0 00270820 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802738C4 00270824 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802738C8 00270828 7C 08 03 A6 */ mtlr r0 -/* 802738CC 0027082C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802738D0 00270830 4E 80 00 20 */ blr - -.global sub_802738d4 -sub_802738d4: -/* 802738D4 00270834 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802738D8 00270838 7C 08 02 A6 */ mflr r0 -/* 802738DC 0027083C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802738E0 00270840 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802738E4 00270844 7C 7F 1B 78 */ mr r31, r3 -/* 802738E8 00270848 80 64 09 00 */ lwz r3, 0x900(r4) -/* 802738EC 0027084C C0 3F 09 24 */ lfs f1, 0x924(r31) -/* 802738F0 00270850 C0 5F 09 28 */ lfs f2, 0x928(r31) -/* 802738F4 00270854 48 09 EC 51 */ bl Range__9CRandom16Fff -/* 802738F8 00270858 D0 3F 09 20 */ stfs f1, 0x920(r31) -/* 802738FC 0027085C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273900 00270860 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80273904 00270864 7C 08 03 A6 */ mtlr r0 -/* 80273908 00270868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027390C 0027086C 4E 80 00 20 */ blr - -.global sub_80273910 -sub_80273910: -/* 80273910 00270870 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80273914 00270874 7C 08 02 A6 */ mflr r0 -/* 80273918 00270878 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027391C 0027087C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80273920 00270880 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 80273924 00270884 7C 7F 1B 78 */ mr r31, r3 -/* 80273928 00270888 7C 9A 23 78 */ mr r26, r4 -/* 8027392C 0027088C C0 43 10 74 */ lfs f2, 0x1074(r3) -/* 80273930 00270890 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80273934 00270894 4C 40 13 82 */ cror 2, 0, 2 -/* 80273938 00270898 40 82 00 5C */ bne lbl_80273994 -/* 8027393C 0027089C 80 BF 10 6C */ lwz r5, 0x106c(r31) -/* 80273940 002708A0 38 60 00 00 */ li r3, 0 -/* 80273944 002708A4 2C 05 00 00 */ cmpwi r5, 0 -/* 80273948 002708A8 40 81 00 40 */ ble lbl_80273988 -/* 8027394C 002708AC 2C 05 00 08 */ cmpwi r5, 8 -/* 80273950 002708B0 38 85 FF F8 */ addi r4, r5, -8 -/* 80273954 002708B4 40 81 00 20 */ ble lbl_80273974 -/* 80273958 002708B8 38 04 00 07 */ addi r0, r4, 7 -/* 8027395C 002708BC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80273960 002708C0 7C 09 03 A6 */ mtctr r0 -/* 80273964 002708C4 2C 04 00 00 */ cmpwi r4, 0 -/* 80273968 002708C8 40 81 00 0C */ ble lbl_80273974 -lbl_8027396C: -/* 8027396C 002708CC 38 63 00 08 */ addi r3, r3, 8 -/* 80273970 002708D0 42 00 FF FC */ bdnz lbl_8027396C -lbl_80273974: -/* 80273974 002708D4 7C 03 28 50 */ subf r0, r3, r5 -/* 80273978 002708D8 7C 09 03 A6 */ mtctr r0 -/* 8027397C 002708DC 7C 03 28 00 */ cmpw r3, r5 -/* 80273980 002708E0 40 80 00 08 */ bge lbl_80273988 -lbl_80273984: -/* 80273984 002708E4 42 00 00 00 */ bdnz lbl_80273984 -lbl_80273988: -/* 80273988 002708E8 38 00 00 00 */ li r0, 0 -/* 8027398C 002708EC 90 1F 10 6C */ stw r0, 0x106c(r31) -/* 80273990 002708F0 48 00 00 C0 */ b lbl_80273A50 -lbl_80273994: -/* 80273994 002708F4 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80273998 002708F8 3B 9F 10 70 */ addi r28, r31, 0x1070 -/* 8027399C 002708FC 7F 9B E3 78 */ mr r27, r28 -/* 802739A0 00270900 3B C0 00 00 */ li r30, 0 -/* 802739A4 00270904 D0 1F 10 74 */ stfs f0, 0x1074(r31) -/* 802739A8 00270908 48 00 00 94 */ b lbl_80273A3C -lbl_802739AC: -/* 802739AC 0027090C A0 1B 00 00 */ lhz r0, 0(r27) -/* 802739B0 00270910 7F 43 D3 78 */ mr r3, r26 -/* 802739B4 00270914 38 81 00 08 */ addi r4, r1, 8 -/* 802739B8 00270918 B0 01 00 08 */ sth r0, 8(r1) -/* 802739BC 0027091C 4B DD 8B B9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802739C0 00270920 7C 64 1B 78 */ mr r4, r3 -/* 802739C4 00270924 38 61 00 0C */ addi r3, r1, 0xc -/* 802739C8 00270928 4B E3 1B DD */ bl sub_800a55a4 -/* 802739CC 0027092C 4B E3 1B AD */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" -/* 802739D0 00270930 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802739D4 00270934 41 82 00 64 */ beq lbl_80273A38 -/* 802739D8 00270938 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 -/* 802739DC 0027093C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802739E0 00270940 7C 84 F0 2E */ lwzx r4, r4, r30 -/* 802739E4 00270944 3B DE 00 04 */ addi r30, r30, 4 -/* 802739E8 00270948 4B D9 12 D1 */ bl string_l__4rstlFPCc -/* 802739EC 0027094C 7F E4 FB 78 */ mr r4, r31 -/* 802739F0 00270950 38 61 00 20 */ addi r3, r1, 0x20 -/* 802739F4 00270954 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802739F8 00270958 4B E0 4F 81 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802739FC 0027095C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80273A00 00270960 38 81 00 20 */ addi r4, r1, 0x20 -/* 80273A04 00270964 48 09 F1 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80273A08 00270968 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80273A0C 0027096C 38 80 00 01 */ li r4, 1 -/* 80273A10 00270970 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80273A14 00270974 38 61 00 10 */ addi r3, r1, 0x10 -/* 80273A18 00270978 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80273A1C 0027097C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80273A20 00270980 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80273A24 00270984 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80273A28 00270988 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80273A2C 0027098C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80273A30 00270990 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80273A34 00270994 48 0C A0 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80273A38: -/* 80273A38 00270998 3B 7B 00 02 */ addi r27, r27, 2 -lbl_80273A3C: -/* 80273A3C 0027099C 80 1F 10 6C */ lwz r0, 0x106c(r31) -/* 80273A40 002709A0 54 00 08 3C */ slwi r0, r0, 1 -/* 80273A44 002709A4 7C 1C 02 14 */ add r0, r28, r0 -/* 80273A48 002709A8 7C 1B 00 40 */ cmplw r27, r0 -/* 80273A4C 002709AC 40 82 FF 60 */ bne lbl_802739AC -lbl_80273A50: -/* 80273A50 002709B0 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 80273A54 002709B4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80273A58 002709B8 7C 08 03 A6 */ mtlr r0 -/* 80273A5C 002709BC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80273A60 002709C0 4E 80 00 20 */ blr - -.global sub_80273a64 -sub_80273a64: -/* 80273A64 002709C4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80273A68 002709C8 7C 08 02 A6 */ mflr r0 -/* 80273A6C 002709CC 90 01 00 94 */ stw r0, 0x94(r1) -/* 80273A70 002709D0 BF 41 00 78 */ stmw r26, 0x78(r1) -/* 80273A74 002709D4 7C 7D 1B 78 */ mr r29, r3 -/* 80273A78 002709D8 7C 9E 23 78 */ mr r30, r4 -/* 80273A7C 002709DC 3B E0 FF FF */ li r31, -1 -/* 80273A80 002709E0 80 03 05 70 */ lwz r0, 0x570(r3) -/* 80273A84 002709E4 2C 00 00 02 */ cmpwi r0, 2 -/* 80273A88 002709E8 41 82 00 34 */ beq lbl_80273ABC -/* 80273A8C 002709EC 40 80 00 14 */ bge lbl_80273AA0 -/* 80273A90 002709F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80273A94 002709F4 41 82 00 18 */ beq lbl_80273AAC -/* 80273A98 002709F8 40 80 00 1C */ bge lbl_80273AB4 -/* 80273A9C 002709FC 48 00 00 2C */ b lbl_80273AC8 -lbl_80273AA0: -/* 80273AA0 00270A00 2C 00 00 04 */ cmpwi r0, 4 -/* 80273AA4 00270A04 40 80 00 24 */ bge lbl_80273AC8 -/* 80273AA8 00270A08 48 00 00 1C */ b lbl_80273AC4 -lbl_80273AAC: -/* 80273AAC 00270A0C 3B E0 00 01 */ li r31, 1 -/* 80273AB0 00270A10 48 00 00 18 */ b lbl_80273AC8 -lbl_80273AB4: -/* 80273AB4 00270A14 3B E0 00 02 */ li r31, 2 -/* 80273AB8 00270A18 48 00 00 10 */ b lbl_80273AC8 -lbl_80273ABC: -/* 80273ABC 00270A1C 3B E0 00 03 */ li r31, 3 -/* 80273AC0 00270A20 48 00 00 08 */ b lbl_80273AC8 -lbl_80273AC4: -/* 80273AC4 00270A24 3B E0 00 00 */ li r31, 0 -lbl_80273AC8: -/* 80273AC8 00270A28 88 0D A5 88 */ lbz r0, lbl_805A9148@sda21(r13) -/* 80273ACC 00270A2C 7C 00 07 75 */ extsb. r0, r0 -/* 80273AD0 00270A30 40 82 00 14 */ bne lbl_80273AE4 -/* 80273AD4 00270A34 38 60 00 00 */ li r3, 0 -/* 80273AD8 00270A38 38 00 00 01 */ li r0, 1 -/* 80273ADC 00270A3C 90 6D A5 84 */ stw r3, lbl_805A9144@sda21(r13) -/* 80273AE0 00270A40 98 0D A5 88 */ stb r0, lbl_805A9148@sda21(r13) -lbl_80273AE4: -/* 80273AE4 00270A44 3B 9D 10 5C */ addi r28, r29, 0x105c -/* 80273AE8 00270A48 7F 9B E3 78 */ mr r27, r28 -/* 80273AEC 00270A4C 48 00 01 64 */ b lbl_80273C50 -lbl_80273AF0: -/* 80273AF0 00270A50 80 1B 00 00 */ lwz r0, 0(r27) -/* 80273AF4 00270A54 7F C4 F3 78 */ mr r4, r30 -/* 80273AF8 00270A58 38 61 00 14 */ addi r3, r1, 0x14 -/* 80273AFC 00270A5C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80273B00 00270A60 90 01 00 28 */ stw r0, 0x28(r1) -/* 80273B04 00270A64 4B DD 44 19 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80273B08 00270A68 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80273B0C 00270A6C 7F C3 F3 78 */ mr r3, r30 -/* 80273B10 00270A70 38 81 00 18 */ addi r4, r1, 0x18 -/* 80273B14 00270A74 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80273B18 00270A78 4B DD 8A 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80273B1C 00270A7C 7C 64 1B 78 */ mr r4, r3 -/* 80273B20 00270A80 38 61 00 20 */ addi r3, r1, 0x20 -/* 80273B24 00270A84 4B E3 1A 81 */ bl sub_800a55a4 -/* 80273B28 00270A88 4B E3 1A 51 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" -/* 80273B2C 00270A8C 28 03 00 00 */ cmplwi r3, 0 -/* 80273B30 00270A90 41 82 01 1C */ beq lbl_80273C4C -/* 80273B34 00270A94 80 03 05 70 */ lwz r0, 0x570(r3) -/* 80273B38 00270A98 7C 1F 00 00 */ cmpw r31, r0 -/* 80273B3C 00270A9C 40 82 01 10 */ bne lbl_80273C4C -/* 80273B40 00270AA0 7F C4 F3 78 */ mr r4, r30 -/* 80273B44 00270AA4 7F 65 DB 78 */ mr r5, r27 -/* 80273B48 00270AA8 38 61 00 2C */ addi r3, r1, 0x2c -/* 80273B4C 00270AAC 4B DD 47 9D */ bl GenerateObject__13CStateManagerF9TEditorId -/* 80273B50 00270AB0 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80273B54 00270AB4 7F C3 F3 78 */ mr r3, r30 -/* 80273B58 00270AB8 38 81 00 10 */ addi r4, r1, 0x10 -/* 80273B5C 00270ABC B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80273B60 00270AC0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80273B64 00270AC4 4B DD 8A 11 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80273B68 00270AC8 7C 64 1B 78 */ mr r4, r3 -/* 80273B6C 00270ACC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80273B70 00270AD0 4B E3 1A 35 */ bl sub_800a55a4 -/* 80273B74 00270AD4 4B E3 1A 05 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" -/* 80273B78 00270AD8 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80273B7C 00270ADC 41 82 00 D0 */ beq lbl_80273C4C -/* 80273B80 00270AE0 80 CD A5 84 */ lwz r6, lbl_805A9144@sda21(r13) -/* 80273B84 00270AE4 38 82 BB D4 */ addi r4, r2, lbl_805AD8F4@sda21 -/* 80273B88 00270AE8 38 61 00 34 */ addi r3, r1, 0x34 -/* 80273B8C 00270AEC 38 A6 00 01 */ addi r5, r6, 1 -/* 80273B90 00270AF0 54 C0 17 7A */ rlwinm r0, r6, 2, 0x1d, 0x1d -/* 80273B94 00270AF4 90 AD A5 84 */ stw r5, lbl_805A9144@sda21(r13) -/* 80273B98 00270AF8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80273B9C 00270AFC 4B D9 11 1D */ bl string_l__4rstlFPCc -/* 80273BA0 00270B00 7F A4 EB 78 */ mr r4, r29 -/* 80273BA4 00270B04 38 61 00 44 */ addi r3, r1, 0x44 -/* 80273BA8 00270B08 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80273BAC 00270B0C 4B E0 4D CD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80273BB0 00270B10 38 7A 00 34 */ addi r3, r26, 0x34 -/* 80273BB4 00270B14 38 81 00 44 */ addi r4, r1, 0x44 -/* 80273BB8 00270B18 48 09 EF 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80273BBC 00270B1C 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 80273BC0 00270B20 38 80 00 01 */ li r4, 1 -/* 80273BC4 00270B24 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80273BC8 00270B28 38 61 00 34 */ addi r3, r1, 0x34 -/* 80273BCC 00270B2C 98 1A 00 E4 */ stb r0, 0xe4(r26) -/* 80273BD0 00270B30 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 80273BD4 00270B34 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80273BD8 00270B38 98 1A 00 E4 */ stb r0, 0xe4(r26) -/* 80273BDC 00270B3C 88 1A 00 E4 */ lbz r0, 0xe4(r26) -/* 80273BE0 00270B40 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80273BE4 00270B44 98 1A 00 E4 */ stb r0, 0xe4(r26) -/* 80273BE8 00270B48 48 0C 9E F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80273BEC 00270B4C A0 1D 00 08 */ lhz r0, 8(r29) -/* 80273BF0 00270B50 7F 43 D3 78 */ mr r3, r26 -/* 80273BF4 00270B54 7F C6 F3 78 */ mr r6, r30 -/* 80273BF8 00270B58 38 A1 00 0C */ addi r5, r1, 0xc -/* 80273BFC 00270B5C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80273C00 00270B60 38 80 00 01 */ li r4, 1 -/* 80273C04 00270B64 81 9A 00 00 */ lwz r12, 0(r26) -/* 80273C08 00270B68 B0 01 00 08 */ sth r0, 8(r1) -/* 80273C0C 00270B6C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80273C10 00270B70 7D 89 03 A6 */ mtctr r12 -/* 80273C14 00270B74 4E 80 04 21 */ bctrl -/* 80273C18 00270B78 80 1D 10 6C */ lwz r0, 0x106c(r29) -/* 80273C1C 00270B7C 54 00 08 3C */ slwi r0, r0, 1 -/* 80273C20 00270B80 7C 7D 02 14 */ add r3, r29, r0 -/* 80273C24 00270B84 34 63 10 70 */ addic. r3, r3, 0x1070 -/* 80273C28 00270B88 41 82 00 0C */ beq lbl_80273C34 -/* 80273C2C 00270B8C A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 80273C30 00270B90 B0 03 00 00 */ sth r0, 0(r3) -lbl_80273C34: -/* 80273C34 00270B94 80 7D 10 6C */ lwz r3, 0x106c(r29) -/* 80273C38 00270B98 C0 02 BC 58 */ lfs f0, lbl_805AD978@sda21(r2) -/* 80273C3C 00270B9C 38 03 00 01 */ addi r0, r3, 1 -/* 80273C40 00270BA0 90 1D 10 6C */ stw r0, 0x106c(r29) -/* 80273C44 00270BA4 D0 1D 10 74 */ stfs f0, 0x1074(r29) -/* 80273C48 00270BA8 48 00 00 1C */ b lbl_80273C64 -lbl_80273C4C: -/* 80273C4C 00270BAC 3B 7B 00 04 */ addi r27, r27, 4 -lbl_80273C50: -/* 80273C50 00270BB0 80 1D 10 58 */ lwz r0, 0x1058(r29) -/* 80273C54 00270BB4 54 00 10 3A */ slwi r0, r0, 2 -/* 80273C58 00270BB8 7C 1C 02 14 */ add r0, r28, r0 -/* 80273C5C 00270BBC 7C 1B 00 40 */ cmplw r27, r0 -/* 80273C60 00270BC0 40 82 FE 90 */ bne lbl_80273AF0 -lbl_80273C64: -/* 80273C64 00270BC4 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 80273C68 00270BC8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80273C6C 00270BCC 7C 08 03 A6 */ mtlr r0 -/* 80273C70 00270BD0 38 21 00 90 */ addi r1, r1, 0x90 -/* 80273C74 00270BD4 4E 80 00 20 */ blr - -.global sub_80273c78 -sub_80273c78: -/* 80273C78 00270BD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80273C7C 00270BDC 7C 08 02 A6 */ mflr r0 -/* 80273C80 00270BE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80273C84 00270BE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80273C88 00270BE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80273C8C 00270BEC 3B C0 00 00 */ li r30, 0 -/* 80273C90 00270BF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80273C94 00270BF4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80273C98 00270BF8 7C 7C 1B 78 */ mr r28, r3 -/* 80273C9C 00270BFC 83 E4 08 20 */ lwz r31, 0x820(r4) -/* 80273CA0 00270C00 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 80273CA4 00270C04 48 00 00 68 */ b lbl_80273D0C -lbl_80273CA8: -/* 80273CA8 00270C08 7F E3 FB 78 */ mr r3, r31 -/* 80273CAC 00270C0C 7F A4 EB 78 */ mr r4, r29 -/* 80273CB0 00270C10 4B D9 C0 65 */ bl __vc__11CObjectListFi -/* 80273CB4 00270C14 7C 60 1B 78 */ mr r0, r3 -/* 80273CB8 00270C18 38 61 00 08 */ addi r3, r1, 8 -/* 80273CBC 00270C1C 7C 04 03 78 */ mr r4, r0 -/* 80273CC0 00270C20 4B E3 18 E5 */ bl sub_800a55a4 -/* 80273CC4 00270C24 4B E3 18 B5 */ bl "CastTo<11CEnergyBall>__10CPatternedFP7CEntity" -/* 80273CC8 00270C28 28 03 00 00 */ cmplwi r3, 0 -/* 80273CCC 00270C2C 41 82 00 24 */ beq lbl_80273CF0 -/* 80273CD0 00270C30 80 83 00 04 */ lwz r4, 4(r3) -/* 80273CD4 00270C34 80 1C 00 04 */ lwz r0, 4(r28) -/* 80273CD8 00270C38 7C 04 00 00 */ cmpw r4, r0 -/* 80273CDC 00270C3C 40 82 00 14 */ bne lbl_80273CF0 -/* 80273CE0 00270C40 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80273CE4 00270C44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80273CE8 00270C48 41 82 00 08 */ beq lbl_80273CF0 -/* 80273CEC 00270C4C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80273CF0: -/* 80273CF0 00270C50 2C 1D FF FF */ cmpwi r29, -1 -/* 80273CF4 00270C54 41 82 00 14 */ beq lbl_80273D08 -/* 80273CF8 00270C58 57 A3 18 38 */ slwi r3, r29, 3 -/* 80273CFC 00270C5C 38 03 00 08 */ addi r0, r3, 8 -/* 80273D00 00270C60 7F BF 02 AE */ lhax r29, r31, r0 -/* 80273D04 00270C64 48 00 00 08 */ b lbl_80273D0C -lbl_80273D08: -/* 80273D08 00270C68 3B A0 FF FF */ li r29, -1 -lbl_80273D0C: -/* 80273D0C 00270C6C 2C 1D FF FF */ cmpwi r29, -1 -/* 80273D10 00270C70 40 82 FF 98 */ bne lbl_80273CA8 -/* 80273D14 00270C74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80273D18 00270C78 7F C3 F3 78 */ mr r3, r30 -/* 80273D1C 00270C7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80273D20 00270C80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80273D24 00270C84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80273D28 00270C88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80273D2C 00270C8C 7C 08 03 A6 */ mtlr r0 -/* 80273D30 00270C90 38 21 00 20 */ addi r1, r1, 0x20 -/* 80273D34 00270C94 4E 80 00 20 */ blr - -.global sub_80273d38 -sub_80273d38: -/* 80273D38 00270C98 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80273D3C 00270C9C 7C 08 02 A6 */ mflr r0 -/* 80273D40 00270CA0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80273D44 00270CA4 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80273D48 00270CA8 7C 9C 23 78 */ mr r28, r4 -/* 80273D4C 00270CAC 7C 7B 1B 78 */ mr r27, r3 -/* 80273D50 00270CB0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80273D54 00270CB4 A0 03 05 68 */ lhz r0, 0x568(r3) -/* 80273D58 00270CB8 7F 83 E3 78 */ mr r3, r28 -/* 80273D5C 00270CBC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80273D60 00270CC0 4B DD 88 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80273D64 00270CC4 7C 64 1B 78 */ mr r4, r3 -/* 80273D68 00270CC8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80273D6C 00270CCC 4B E3 93 7D */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80273D70 00270CD0 80 BB 10 58 */ lwz r5, 0x1058(r27) -/* 80273D74 00270CD4 3B DB 10 5C */ addi r30, r27, 0x105c -/* 80273D78 00270CD8 83 A3 00 04 */ lwz r29, 4(r3) -/* 80273D7C 00270CDC 38 60 00 00 */ li r3, 0 -/* 80273D80 00270CE0 2C 05 00 00 */ cmpwi r5, 0 -/* 80273D84 00270CE4 40 81 00 40 */ ble lbl_80273DC4 -/* 80273D88 00270CE8 2C 05 00 08 */ cmpwi r5, 8 -/* 80273D8C 00270CEC 38 85 FF F8 */ addi r4, r5, -8 -/* 80273D90 00270CF0 40 81 00 20 */ ble lbl_80273DB0 -/* 80273D94 00270CF4 38 04 00 07 */ addi r0, r4, 7 -/* 80273D98 00270CF8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80273D9C 00270CFC 7C 09 03 A6 */ mtctr r0 -/* 80273DA0 00270D00 2C 04 00 00 */ cmpwi r4, 0 -/* 80273DA4 00270D04 40 81 00 0C */ ble lbl_80273DB0 -lbl_80273DA8: -/* 80273DA8 00270D08 38 63 00 08 */ addi r3, r3, 8 -/* 80273DAC 00270D0C 42 00 FF FC */ bdnz lbl_80273DA8 -lbl_80273DB0: -/* 80273DB0 00270D10 7C 03 28 50 */ subf r0, r3, r5 -/* 80273DB4 00270D14 7C 09 03 A6 */ mtctr r0 -/* 80273DB8 00270D18 7C 03 28 00 */ cmpw r3, r5 -/* 80273DBC 00270D1C 40 80 00 08 */ bge lbl_80273DC4 -lbl_80273DC0: -/* 80273DC0 00270D20 42 00 00 00 */ bdnz lbl_80273DC0 -lbl_80273DC4: -/* 80273DC4 00270D24 38 00 00 00 */ li r0, 0 -/* 80273DC8 00270D28 28 1D 00 00 */ cmplwi r29, 0 -/* 80273DCC 00270D2C 90 1B 10 58 */ stw r0, 0x1058(r27) -/* 80273DD0 00270D30 41 82 01 2C */ beq lbl_80273EFC -/* 80273DD4 00270D34 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80273DD8 00270D38 83 FD 00 2C */ lwz r31, 0x2c(r29) -/* 80273DDC 00270D3C 48 00 00 B4 */ b lbl_80273E90 -lbl_80273DE0: -/* 80273DE0 00270D40 80 1F 00 00 */ lwz r0, 0(r31) -/* 80273DE4 00270D44 2C 00 00 0D */ cmpwi r0, 0xd -/* 80273DE8 00270D48 40 82 00 A4 */ bne lbl_80273E8C -/* 80273DEC 00270D4C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80273DF0 00270D50 7F 84 E3 78 */ mr r4, r28 -/* 80273DF4 00270D54 38 61 00 14 */ addi r3, r1, 0x14 -/* 80273DF8 00270D58 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80273DFC 00270D5C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80273E00 00270D60 4B DD 41 1D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80273E04 00270D64 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80273E08 00270D68 7F 83 E3 78 */ mr r3, r28 -/* 80273E0C 00270D6C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80273E10 00270D70 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80273E14 00270D74 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80273E18 00270D78 4B DD 87 5D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80273E1C 00270D7C 28 03 00 00 */ cmplwi r3, 0 -/* 80273E20 00270D80 41 82 00 6C */ beq lbl_80273E8C -/* 80273E24 00270D84 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80273E28 00270D88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80273E2C 00270D8C 41 82 00 2C */ beq lbl_80273E58 -/* 80273E30 00270D90 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80273E34 00270D94 7F 86 E3 78 */ mr r6, r28 -/* 80273E38 00270D98 38 A1 00 0C */ addi r5, r1, 0xc -/* 80273E3C 00270D9C 38 80 00 04 */ li r4, 4 -/* 80273E40 00270DA0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80273E44 00270DA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80273E48 00270DA8 B0 01 00 08 */ sth r0, 8(r1) -/* 80273E4C 00270DAC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80273E50 00270DB0 7D 89 03 A6 */ mtctr r12 -/* 80273E54 00270DB4 4E 80 04 21 */ bctrl -lbl_80273E58: -/* 80273E58 00270DB8 80 1B 10 58 */ lwz r0, 0x1058(r27) -/* 80273E5C 00270DBC 54 00 10 3A */ slwi r0, r0, 2 -/* 80273E60 00270DC0 7C 7E 02 15 */ add. r3, r30, r0 -/* 80273E64 00270DC4 41 82 00 0C */ beq lbl_80273E70 -/* 80273E68 00270DC8 80 1F 00 08 */ lwz r0, 8(r31) -/* 80273E6C 00270DCC 90 03 00 00 */ stw r0, 0(r3) -lbl_80273E70: -/* 80273E70 00270DD0 80 7B 10 58 */ lwz r3, 0x1058(r27) -/* 80273E74 00270DD4 38 03 00 01 */ addi r0, r3, 1 -/* 80273E78 00270DD8 90 1B 10 58 */ stw r0, 0x1058(r27) -/* 80273E7C 00270DDC 80 1B 10 58 */ lwz r0, 0x1058(r27) -/* 80273E80 00270DE0 20 00 00 04 */ subfic r0, r0, 4 -/* 80273E84 00270DE4 2C 00 00 00 */ cmpwi r0, 0 -/* 80273E88 00270DE8 40 81 00 20 */ ble lbl_80273EA8 -lbl_80273E8C: -/* 80273E8C 00270DEC 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80273E90: -/* 80273E90 00270DF0 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 80273E94 00270DF4 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80273E98 00270DF8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80273E9C 00270DFC 7C 03 02 14 */ add r0, r3, r0 -/* 80273EA0 00270E00 7C 1F 00 40 */ cmplw r31, r0 -/* 80273EA4 00270E04 40 82 FF 3C */ bne lbl_80273DE0 -lbl_80273EA8: -/* 80273EA8 00270E08 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80273EAC 00270E0C 38 60 00 00 */ li r3, 0 -/* 80273EB0 00270E10 2C 05 00 00 */ cmpwi r5, 0 -/* 80273EB4 00270E14 40 81 00 40 */ ble lbl_80273EF4 -/* 80273EB8 00270E18 2C 05 00 08 */ cmpwi r5, 8 -/* 80273EBC 00270E1C 38 85 FF F8 */ addi r4, r5, -8 -/* 80273EC0 00270E20 40 81 00 20 */ ble lbl_80273EE0 -/* 80273EC4 00270E24 38 04 00 07 */ addi r0, r4, 7 -/* 80273EC8 00270E28 54 00 E8 FE */ srwi r0, r0, 3 -/* 80273ECC 00270E2C 7C 09 03 A6 */ mtctr r0 -/* 80273ED0 00270E30 2C 04 00 00 */ cmpwi r4, 0 -/* 80273ED4 00270E34 40 81 00 0C */ ble lbl_80273EE0 -lbl_80273ED8: -/* 80273ED8 00270E38 38 63 00 08 */ addi r3, r3, 8 -/* 80273EDC 00270E3C 42 00 FF FC */ bdnz lbl_80273ED8 -lbl_80273EE0: -/* 80273EE0 00270E40 7C 03 28 50 */ subf r0, r3, r5 -/* 80273EE4 00270E44 7C 09 03 A6 */ mtctr r0 -/* 80273EE8 00270E48 7C 03 28 00 */ cmpw r3, r5 -/* 80273EEC 00270E4C 40 80 00 08 */ bge lbl_80273EF4 -lbl_80273EF0: -/* 80273EF0 00270E50 42 00 00 00 */ bdnz lbl_80273EF0 -lbl_80273EF4: -/* 80273EF4 00270E54 38 00 00 00 */ li r0, 0 -/* 80273EF8 00270E58 90 01 00 2C */ stw r0, 0x2c(r1) -lbl_80273EFC: -/* 80273EFC 00270E5C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80273F00 00270E60 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80273F04 00270E64 7C 08 03 A6 */ mtlr r0 -/* 80273F08 00270E68 38 21 00 60 */ addi r1, r1, 0x60 -/* 80273F0C 00270E6C 4E 80 00 20 */ blr - -.global sub_80273f10 -sub_80273f10: -/* 80273F10 00270E70 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80273F14 00270E74 7C 08 02 A6 */ mflr r0 -/* 80273F18 00270E78 90 01 00 64 */ stw r0, 0x64(r1) -/* 80273F1C 00270E7C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80273F20 00270E80 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80273F24 00270E84 7C 9E 23 78 */ mr r30, r4 -/* 80273F28 00270E88 38 81 00 08 */ addi r4, r1, 8 -/* 80273F2C 00270E8C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80273F30 00270E90 7C 7D 1B 78 */ mr r29, r3 -/* 80273F34 00270E94 A0 03 0E AC */ lhz r0, 0xeac(r3) -/* 80273F38 00270E98 7F C3 F3 78 */ mr r3, r30 -/* 80273F3C 00270E9C B0 01 00 08 */ sth r0, 8(r1) -/* 80273F40 00270EA0 4B DD 86 35 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80273F44 00270EA4 7C 64 1B 78 */ mr r4, r3 -/* 80273F48 00270EA8 38 61 00 0C */ addi r3, r1, 0xc -/* 80273F4C 00270EAC 4B E3 87 99 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80273F50 00270EB0 83 E3 00 04 */ lwz r31, 4(r3) -/* 80273F54 00270EB4 28 1F 00 00 */ cmplwi r31, 0 -/* 80273F58 00270EB8 41 82 00 E0 */ beq lbl_80274038 -/* 80273F5C 00270EBC 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80273F60 00270EC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80273F64 00270EC4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80273F68 00270EC8 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80273F6C 00270ECC C0 45 00 50 */ lfs f2, 0x50(r5) -/* 80273F70 00270ED0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80273F74 00270ED4 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 80273F78 00270ED8 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80273F7C 00270EDC C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 80273F80 00270EE0 C0 45 00 40 */ lfs f2, 0x40(r5) -/* 80273F84 00270EE4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80273F88 00270EE8 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80273F8C 00270EEC C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) -/* 80273F90 00270EF0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80273F94 00270EF4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80273F98 00270EF8 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80273F9C 00270EFC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80273FA0 00270F00 48 09 BF C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80273FA4 00270F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273FA8 00270F08 40 82 00 80 */ bne lbl_80274028 -/* 80273FAC 00270F0C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80273FB0 00270F10 38 81 00 38 */ addi r4, r1, 0x38 -/* 80273FB4 00270F14 48 0A 08 9D */ bl AsNormalized__9CVector3fCFv -/* 80273FB8 00270F18 C0 7D 00 48 */ lfs f3, 0x48(r29) -/* 80273FBC 00270F1C C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 80273FC0 00270F20 C0 5D 00 38 */ lfs f2, 0x38(r29) -/* 80273FC4 00270F24 EC 03 01 72 */ fmuls f0, f3, f5 -/* 80273FC8 00270F28 C0 E1 00 2C */ lfs f7, 0x2c(r1) -/* 80273FCC 00270F2C C0 9D 00 58 */ lfs f4, 0x58(r29) -/* 80273FD0 00270F30 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 80273FD4 00270F34 EC 22 01 FA */ fmadds f1, f2, f7, f0 -/* 80273FD8 00270F38 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80273FDC 00270F3C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80273FE0 00270F40 EC 24 09 BA */ fmadds f1, f4, f6, f1 -/* 80273FE4 00270F44 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80273FE8 00270F48 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80273FEC 00270F4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80273FF0 00270F50 40 81 00 0C */ ble lbl_80273FFC -/* 80273FF4 00270F54 C0 02 BC 60 */ lfs f0, lbl_805AD980@sda21(r2) -/* 80273FF8 00270F58 48 00 00 08 */ b lbl_80274000 -lbl_80273FFC: -/* 80273FFC 00270F5C C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) -lbl_80274000: -/* 80274000 00270F60 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 80274004 00270F64 7F E3 FB 78 */ mr r3, r31 -/* 80274008 00270F68 EC 20 01 72 */ fmuls f1, f0, f5 -/* 8027400C 00270F6C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80274010 00270F70 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 80274014 00270F74 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80274018 00270F78 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8027401C 00270F7C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80274020 00270F80 4B EA 6C 81 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80274024 00270F84 48 00 00 14 */ b lbl_80274038 -lbl_80274028: -/* 80274028 00270F88 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027402C 00270F8C 7F E3 FB 78 */ mr r3, r31 -/* 80274030 00270F90 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80274034 00270F94 4B EA 6C 6D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_80274038: -/* 80274038 00270F98 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8027403C 00270F9C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80274040 00270FA0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80274044 00270FA4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80274048 00270FA8 7C 08 03 A6 */ mtlr r0 -/* 8027404C 00270FAC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80274050 00270FB0 4E 80 00 20 */ blr - -.global sub_80274054 -sub_80274054: -/* 80274054 00270FB4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80274058 00270FB8 7C 08 02 A6 */ mflr r0 -/* 8027405C 00270FBC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80274060 00270FC0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80274064 00270FC4 7C 9F 23 78 */ mr r31, r4 -/* 80274068 00270FC8 38 81 00 08 */ addi r4, r1, 8 -/* 8027406C 00270FCC A0 03 0E AC */ lhz r0, 0xeac(r3) -/* 80274070 00270FD0 7F E3 FB 78 */ mr r3, r31 -/* 80274074 00270FD4 B0 01 00 08 */ sth r0, 8(r1) -/* 80274078 00270FD8 4B DD 84 FD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027407C 00270FDC 7C 64 1B 78 */ mr r4, r3 -/* 80274080 00270FE0 38 61 00 0C */ addi r3, r1, 0xc -/* 80274084 00270FE4 4B E3 BC 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80274088 00270FE8 80 63 00 04 */ lwz r3, 4(r3) -/* 8027408C 00270FEC 28 03 00 00 */ cmplwi r3, 0 -/* 80274090 00270FF0 41 82 00 28 */ beq lbl_802740B8 -/* 80274094 00270FF4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80274098 00270FF8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027409C 00270FFC C0 45 00 60 */ lfs f2, 0x60(r5) -/* 802740A0 00271000 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 802740A4 00271004 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 802740A8 00271008 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802740AC 0027100C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802740B0 00271010 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802740B4 00271014 4B DD ED D9 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_802740B8: -/* 802740B8 00271018 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802740BC 0027101C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802740C0 00271020 7C 08 03 A6 */ mtlr r0 -/* 802740C4 00271024 38 21 00 30 */ addi r1, r1, 0x30 -/* 802740C8 00271028 4E 80 00 20 */ blr - -.global sub_802740cc -sub_802740cc: -/* 802740CC 0027102C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802740D0 00271030 7C 08 02 A6 */ mflr r0 -/* 802740D4 00271034 90 01 00 14 */ stw r0, 0x14(r1) -/* 802740D8 00271038 A0 03 0E AC */ lhz r0, 0xeac(r3) -/* 802740DC 0027103C 7C 83 23 78 */ mr r3, r4 -/* 802740E0 00271040 38 81 00 08 */ addi r4, r1, 8 -/* 802740E4 00271044 B0 01 00 08 */ sth r0, 8(r1) -/* 802740E8 00271048 4B DD 81 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 802740EC 0027104C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802740F0 00271050 7C 08 03 A6 */ mtlr r0 -/* 802740F4 00271054 38 21 00 10 */ addi r1, r1, 0x10 -/* 802740F8 00271058 4E 80 00 20 */ blr - -.global sub_802740fc -sub_802740fc: -/* 802740FC 0027105C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80274100 00271060 7C 08 02 A6 */ mflr r0 -/* 80274104 00271064 90 01 00 74 */ stw r0, 0x74(r1) -/* 80274108 00271068 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8027410C 0027106C 7C 7D 1B 78 */ mr r29, r3 -/* 80274110 00271070 7C 9F 23 78 */ mr r31, r4 -/* 80274114 00271074 38 61 00 0C */ addi r3, r1, 0xc -/* 80274118 00271078 4B DD 8F C5 */ bl AllocateUniqueId__13CStateManagerFv -/* 8027411C 0027107C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80274120 00271080 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80274124 00271084 38 63 56 18 */ addi r3, r3, lbl_803D5618@l -/* 80274128 00271088 3B 80 00 00 */ li r28, 0 -/* 8027412C 0027108C B0 1D 0E AC */ sth r0, 0xeac(r29) -/* 80274130 00271090 38 83 02 20 */ addi r4, r3, 0x220 -/* 80274134 00271094 3B 60 00 00 */ li r27, 0 -/* 80274138 00271098 38 60 02 58 */ li r3, 0x258 -/* 8027413C 0027109C 38 A0 00 00 */ li r5, 0 -/* 80274140 002710A0 48 0A 17 2D */ bl __nw__FUlPCcPCc -/* 80274144 002710A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80274148 002710A8 41 82 00 70 */ beq lbl_802741B8 -/* 8027414C 002710AC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80274150 002710B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 80274154 002710B4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 80274158 002710B8 38 81 00 24 */ addi r4, r1, 0x24 -/* 8027415C 002710BC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80274160 002710C0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80274164 002710C4 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80274168 002710C8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8027416C 002710CC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80274170 002710D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80274174 002710D4 4B DD D3 11 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 80274178 002710D8 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 8027417C 002710DC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80274180 002710E0 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 80274184 002710E4 3B 80 00 01 */ li r28, 1 -/* 80274188 002710E8 38 84 02 27 */ addi r4, r4, 0x227 -/* 8027418C 002710EC 4B D9 0B 2D */ bl string_l__4rstlFPCc -/* 80274190 002710F0 A0 1D 0E AC */ lhz r0, 0xeac(r29) -/* 80274194 002710F4 7F C3 F3 78 */ mr r3, r30 -/* 80274198 002710F8 38 81 00 08 */ addi r4, r1, 8 -/* 8027419C 002710FC 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802741A0 00271100 B0 01 00 08 */ sth r0, 8(r1) -/* 802741A4 00271104 38 E1 00 3C */ addi r7, r1, 0x3c -/* 802741A8 00271108 3B 60 00 01 */ li r27, 1 -/* 802741AC 0027110C 38 A0 00 01 */ li r5, 1 -/* 802741B0 00271110 48 00 00 81 */ bl sub_80274230 -/* 802741B4 00271114 7C 7E 1B 78 */ mr r30, r3 -lbl_802741B8: -/* 802741B8 00271118 7F 60 07 75 */ extsb. r0, r27 -/* 802741BC 0027111C 41 82 00 0C */ beq lbl_802741C8 -/* 802741C0 00271120 38 61 00 2C */ addi r3, r1, 0x2c -/* 802741C4 00271124 48 0C 99 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802741C8: -/* 802741C8 00271128 7F 80 07 75 */ extsb. r0, r28 -/* 802741CC 0027112C 41 82 00 44 */ beq lbl_80274210 -/* 802741D0 00271130 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802741D4 00271134 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 802741D8 00271138 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802741DC 0027113C 90 61 00 14 */ stw r3, 0x14(r1) -/* 802741E0 00271140 7C 64 1B 78 */ mr r4, r3 -/* 802741E4 00271144 7C 03 02 14 */ add r0, r3, r0 -/* 802741E8 00271148 90 61 00 10 */ stw r3, 0x10(r1) -/* 802741EC 0027114C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802741F0 00271150 90 01 00 18 */ stw r0, 0x18(r1) -/* 802741F4 00271154 48 00 00 08 */ b lbl_802741FC -lbl_802741F8: -/* 802741F8 00271158 38 84 00 0C */ addi r4, r4, 0xc -lbl_802741FC: -/* 802741FC 0027115C 7C 04 00 40 */ cmplw r4, r0 -/* 80274200 00271160 40 82 FF F8 */ bne lbl_802741F8 -/* 80274204 00271164 28 03 00 00 */ cmplwi r3, 0 -/* 80274208 00271168 41 82 00 08 */ beq lbl_80274210 -/* 8027420C 0027116C 48 0A 17 25 */ bl Free__7CMemoryFPCv -lbl_80274210: -/* 80274210 00271170 7F E3 FB 78 */ mr r3, r31 -/* 80274214 00271174 7F C4 F3 78 */ mr r4, r30 -/* 80274218 00271178 4B DD 8A DD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8027421C 0027117C BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 80274220 00271180 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80274224 00271184 7C 08 03 A6 */ mtlr r0 -/* 80274228 00271188 38 21 00 70 */ addi r1, r1, 0x70 -/* 8027422C 0027118C 4E 80 00 20 */ blr - -.global sub_80274230 -sub_80274230: -/* 80274230 00271190 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80274234 00271194 7C 08 02 A6 */ mflr r0 -/* 80274238 00271198 90 01 01 64 */ stw r0, 0x164(r1) -/* 8027423C 0027119C BF 41 01 48 */ stmw r26, 0x148(r1) -/* 80274240 002711A0 7C 7B 1B 78 */ mr r27, r3 -/* 80274244 002711A4 7C 9C 23 78 */ mr r28, r4 -/* 80274248 002711A8 7C BD 2B 78 */ mr r29, r5 -/* 8027424C 002711AC 7C DE 33 78 */ mr r30, r6 -/* 80274250 002711B0 7C FF 3B 78 */ mr r31, r7 -/* 80274254 002711B4 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 80274258 002711B8 4B DC 65 4D */ bl CModelDataNull__10CModelDataFv -/* 8027425C 002711BC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80274260 002711C0 4B DA 6B D9 */ bl None__16CActorParametersFv -/* 80274264 002711C4 4B DA 72 D1 */ bl Identity__10CAxisAngleFv -/* 80274268 002711C8 7C 7A 1B 78 */ mr r26, r3 -/* 8027426C 002711CC 4B DA 72 C9 */ bl Identity__10CAxisAngleFv -/* 80274270 002711D0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80274274 002711D4 C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) -/* 80274278 002711D8 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 8027427C 002711DC 38 00 00 00 */ li r0, 0 -/* 80274280 002711E0 C0 84 00 04 */ lfs f4, 4(r4) -/* 80274284 002711E4 C0 A4 00 08 */ lfs f5, 8(r4) -/* 80274288 002711E8 38 80 00 01 */ li r4, 1 -/* 8027428C 002711EC D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80274290 002711F0 C0 02 BC 64 */ lfs f0, lbl_805AD984@sda21(r2) -/* 80274294 002711F4 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 80274298 002711F8 80 AD 98 50 */ lwz r5, lbl_805A8410@sda21(r13) -/* 8027429C 002711FC D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802742A0 00271200 C0 43 00 00 */ lfs f2, 0(r3) -/* 802742A4 00271204 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802742A8 00271208 C0 43 00 04 */ lfs f2, 4(r3) -/* 802742AC 0027120C D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802742B0 00271210 C0 43 00 08 */ lfs f2, 8(r3) -/* 802742B4 00271214 38 60 00 00 */ li r3, 0 -/* 802742B8 00271218 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802742BC 0027121C D0 61 00 70 */ stfs f3, 0x70(r1) -/* 802742C0 00271220 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802742C4 00271224 D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 802742C8 00271228 C0 5A 00 00 */ lfs f2, 0(r26) -/* 802742CC 0027122C D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 802742D0 00271230 C0 5A 00 04 */ lfs f2, 4(r26) -/* 802742D4 00271234 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802742D8 00271238 C0 5A 00 08 */ lfs f2, 8(r26) -/* 802742DC 0027123C D0 41 00 84 */ stfs f2, 0x84(r1) -/* 802742E0 00271240 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802742E4 00271244 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802742E8 00271248 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802742EC 0027124C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802742F0 00271250 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802742F4 00271254 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802742F8 00271258 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802742FC 0027125C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80274300 00271260 90 01 00 20 */ stw r0, 0x20(r1) -/* 80274304 00271264 48 11 5B F1 */ bl __shl2i -/* 80274308 00271268 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8027430C 0027126C 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 80274310 00271270 7C 00 1B 78 */ or r0, r0, r3 -/* 80274314 00271274 80 AD 98 54 */ lwz r5, lbl_805A8414@sda21(r13) -/* 80274318 00271278 7C C4 23 78 */ or r4, r6, r4 -/* 8027431C 0027127C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80274320 00271280 38 60 00 00 */ li r3, 0 -/* 80274324 00271284 90 81 00 24 */ stw r4, 0x24(r1) -/* 80274328 00271288 38 80 00 01 */ li r4, 1 -/* 8027432C 0027128C 48 11 5B C9 */ bl __shl2i -/* 80274330 00271290 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80274334 00271294 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80274338 00271298 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8027433C 0027129C 7C 03 1B 78 */ or r3, r0, r3 -/* 80274340 002712A0 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80274344 002712A4 7C C6 23 78 */ or r6, r6, r4 -/* 80274348 002712A8 90 61 00 20 */ stw r3, 0x20(r1) -/* 8027434C 002712AC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80274350 002712B0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80274354 002712B4 90 C1 00 24 */ stw r6, 0x24(r1) -/* 80274358 002712B8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8027435C 002712BC 48 0C 41 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80274360 002712C0 90 61 00 08 */ stw r3, 8(r1) -/* 80274364 002712C4 38 81 00 58 */ addi r4, r1, 0x58 -/* 80274368 002712C8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8027436C 002712CC 38 01 00 8C */ addi r0, r1, 0x8c -/* 80274370 002712D0 90 81 00 0C */ stw r4, 0xc(r1) -/* 80274374 002712D4 39 03 66 70 */ addi r8, r3, skIdentity4f@l -/* 80274378 002712D8 C0 22 BC 68 */ lfs f1, lbl_805AD988@sda21(r2) -/* 8027437C 002712DC 7F 63 DB 78 */ mr r3, r27 -/* 80274380 002712E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80274384 002712E4 7F A5 EB 78 */ mr r5, r29 -/* 80274388 002712E8 C0 42 BC 6C */ lfs f2, lbl_805AD98C@sda21(r2) -/* 8027438C 002712EC 7F C6 F3 78 */ mr r6, r30 -/* 80274390 002712F0 7F E7 FB 78 */ mr r7, r31 -/* 80274394 002712F4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80274398 002712F8 39 21 00 F4 */ addi r9, r1, 0xf4 -/* 8027439C 002712FC 39 41 00 20 */ addi r10, r1, 0x20 -/* 802743A0 00271300 4B EA 81 11 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 802743A4 00271304 38 61 00 8C */ addi r3, r1, 0x8c -/* 802743A8 00271308 38 80 FF FF */ li r4, -1 -/* 802743AC 0027130C 4B E9 22 5D */ bl __dt__16CActorParametersFv -/* 802743B0 00271310 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802743B4 00271314 38 80 FF FF */ li r4, -1 -/* 802743B8 00271318 4B EA 26 95 */ bl __dt__10CModelDataFv -/* 802743BC 0027131C 3C 80 80 3F */ lis r4, lbl_803EB0FC@ha -/* 802743C0 00271320 7F 63 DB 78 */ mr r3, r27 -/* 802743C4 00271324 38 04 B0 FC */ addi r0, r4, lbl_803EB0FC@l -/* 802743C8 00271328 90 1B 00 00 */ stw r0, 0(r27) -/* 802743CC 0027132C BB 41 01 48 */ lmw r26, 0x148(r1) -/* 802743D0 00271330 80 01 01 64 */ lwz r0, 0x164(r1) -/* 802743D4 00271334 7C 08 03 A6 */ mtlr r0 -/* 802743D8 00271338 38 21 01 60 */ addi r1, r1, 0x160 -/* 802743DC 0027133C 4E 80 00 20 */ blr - -.global sub_802743e0 -sub_802743e0: -/* 802743E0 00271340 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802743E4 00271344 7C 08 02 A6 */ mflr r0 -/* 802743E8 00271348 90 01 00 24 */ stw r0, 0x24(r1) -/* 802743EC 0027134C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802743F0 00271350 7C BF 2B 78 */ mr r31, r5 -/* 802743F4 00271354 A0 03 10 44 */ lhz r0, 0x1044(r3) -/* 802743F8 00271358 7C 83 23 78 */ mr r3, r4 -/* 802743FC 0027135C 38 81 00 08 */ addi r4, r1, 8 -/* 80274400 00271360 B0 01 00 08 */ sth r0, 8(r1) -/* 80274404 00271364 4B DD 81 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80274408 00271368 7C 64 1B 78 */ mr r4, r3 -/* 8027440C 0027136C 38 61 00 0C */ addi r3, r1, 0xc -/* 80274410 00271370 4B E3 8F ED */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" -/* 80274414 00271374 80 63 00 04 */ lwz r3, 4(r3) -/* 80274418 00271378 28 03 00 00 */ cmplwi r3, 0 -/* 8027441C 0027137C 41 82 00 1C */ beq lbl_80274438 -/* 80274420 00271380 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 80274424 00271384 7F E4 FB 78 */ mr r4, r31 -/* 80274428 00271388 81 83 00 00 */ lwz r12, 0(r3) -/* 8027442C 0027138C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80274430 00271390 7D 89 03 A6 */ mtctr r12 -/* 80274434 00271394 4E 80 04 21 */ bctrl -lbl_80274438: -/* 80274438 00271398 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027443C 0027139C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80274440 002713A0 7C 08 03 A6 */ mtlr r0 -/* 80274444 002713A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80274448 002713A8 4E 80 00 20 */ blr - -.global sub_8027444c -sub_8027444c: -/* 8027444C 002713AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80274450 002713B0 7C 08 02 A6 */ mflr r0 -/* 80274454 002713B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80274458 002713B8 A0 03 10 44 */ lhz r0, 0x1044(r3) -/* 8027445C 002713BC 7C 83 23 78 */ mr r3, r4 -/* 80274460 002713C0 38 81 00 08 */ addi r4, r1, 8 -/* 80274464 002713C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80274468 002713C8 4B DD 7E 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8027446C 002713CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274470 002713D0 7C 08 03 A6 */ mtlr r0 -/* 80274474 002713D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274478 002713D8 4E 80 00 20 */ blr - -.global sub_8027447c -sub_8027447c: -/* 8027447C 002713DC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80274480 002713E0 7C 08 02 A6 */ mflr r0 -/* 80274484 002713E4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80274488 002713E8 BF 21 00 64 */ stmw r25, 0x64(r1) -/* 8027448C 002713EC 7C 7B 1B 78 */ mr r27, r3 -/* 80274490 002713F0 7C 9E 23 78 */ mr r30, r4 -/* 80274494 002713F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80274498 002713F8 4B DD 8C 45 */ bl AllocateUniqueId__13CStateManagerFv -/* 8027449C 002713FC A0 01 00 14 */ lhz r0, 0x14(r1) -/* 802744A0 00271400 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 802744A4 00271404 38 63 56 18 */ addi r3, r3, lbl_803D5618@l -/* 802744A8 00271408 3B A0 00 00 */ li r29, 0 -/* 802744AC 0027140C B0 1B 10 44 */ sth r0, 0x1044(r27) -/* 802744B0 00271410 38 83 02 20 */ addi r4, r3, 0x220 -/* 802744B4 00271414 3B 40 00 00 */ li r26, 0 -/* 802744B8 00271418 3B 20 00 00 */ li r25, 0 -/* 802744BC 0027141C 38 60 01 10 */ li r3, 0x110 -/* 802744C0 00271420 38 A0 00 00 */ li r5, 0 -/* 802744C4 00271424 48 0A 13 A9 */ bl __nw__FUlPCcPCc -/* 802744C8 00271428 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802744CC 0027142C 41 82 00 D0 */ beq lbl_8027459C -/* 802744D0 00271430 38 00 00 01 */ li r0, 1 -/* 802744D4 00271434 34 61 00 1C */ addic. r3, r1, 0x1c -/* 802744D8 00271438 98 01 00 24 */ stb r0, 0x24(r1) -/* 802744DC 0027143C 41 82 00 0C */ beq lbl_802744E8 -/* 802744E0 00271440 38 9B 10 1C */ addi r4, r27, 0x101c -/* 802744E4 00271444 48 0C C9 C5 */ bl __ct__6CTokenFRC6CToken -lbl_802744E8: -/* 802744E8 00271448 38 00 00 00 */ li r0, 0 -/* 802744EC 0027144C 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 802744F0 00271450 98 01 00 30 */ stb r0, 0x30(r1) -/* 802744F4 00271454 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 802744F8 00271458 38 61 00 34 */ addi r3, r1, 0x34 -/* 802744FC 0027145C 3B 20 00 01 */ li r25, 1 -/* 80274500 00271460 A0 1B 10 44 */ lhz r0, 0x1044(r27) -/* 80274504 00271464 38 84 02 27 */ addi r4, r4, 0x227 -/* 80274508 00271468 3B 40 00 01 */ li r26, 1 -/* 8027450C 0027146C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80274510 00271470 4B D9 07 A9 */ bl string_l__4rstlFPCc -/* 80274514 00271474 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 80274518 00271478 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027451C 0027147C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80274520 00271480 3B A0 00 01 */ li r29, 1 -/* 80274524 00271484 FC 40 08 90 */ fmr f2, f1 -/* 80274528 00271488 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8027452C 0027148C FC 60 08 90 */ fmr f3, f1 -/* 80274530 00271490 FC 80 08 90 */ fmr f4, f1 -/* 80274534 00271494 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80274538 00271498 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8027453C 0027149C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80274540 002714A0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80274544 002714A4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80274548 002714A8 48 0E EE A5 */ bl __ct__6CColorFffff -/* 8027454C 002714AC 7C 7B 1B 78 */ mr r27, r3 -/* 80274550 002714B0 7F C3 F3 78 */ mr r3, r30 -/* 80274554 002714B4 4B EB BC D9 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager -/* 80274558 002714B8 7C 7C 1B 78 */ mr r28, r3 -/* 8027455C 002714BC 7F C3 F3 78 */ mr r3, r30 -/* 80274560 002714C0 4B EB BC 99 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager -/* 80274564 002714C4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80274568 002714C8 38 01 00 50 */ addi r0, r1, 0x50 -/* 8027456C 002714CC 90 61 00 08 */ stw r3, 8(r1) -/* 80274570 002714D0 7F E3 FB 78 */ mr r3, r31 -/* 80274574 002714D4 7F 89 E3 78 */ mr r9, r28 -/* 80274578 002714D8 7F 6A DB 78 */ mr r10, r27 -/* 8027457C 002714DC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80274580 002714E0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80274584 002714E4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80274588 002714E8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8027458C 002714EC 39 01 00 34 */ addi r8, r1, 0x34 -/* 80274590 002714F0 38 E0 00 01 */ li r7, 1 -/* 80274594 002714F4 4B EB B9 65 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" -/* 80274598 002714F8 7C 7F 1B 78 */ mr r31, r3 -lbl_8027459C: -/* 8027459C 002714FC 7F 20 07 75 */ extsb. r0, r25 -/* 802745A0 00271500 41 82 00 28 */ beq lbl_802745C8 -/* 802745A4 00271504 88 01 00 24 */ lbz r0, 0x24(r1) -/* 802745A8 00271508 28 00 00 00 */ cmplwi r0, 0 -/* 802745AC 0027150C 41 82 00 14 */ beq lbl_802745C0 -/* 802745B0 00271510 34 61 00 1C */ addic. r3, r1, 0x1c -/* 802745B4 00271514 41 82 00 0C */ beq lbl_802745C0 -/* 802745B8 00271518 38 80 00 00 */ li r4, 0 -/* 802745BC 0027151C 48 0C C8 85 */ bl __dt__6CTokenFv -lbl_802745C0: -/* 802745C0 00271520 38 00 00 00 */ li r0, 0 -/* 802745C4 00271524 98 01 00 24 */ stb r0, 0x24(r1) -lbl_802745C8: -/* 802745C8 00271528 7F 40 07 75 */ extsb. r0, r26 -/* 802745CC 0027152C 41 82 00 28 */ beq lbl_802745F4 -/* 802745D0 00271530 88 01 00 30 */ lbz r0, 0x30(r1) -/* 802745D4 00271534 28 00 00 00 */ cmplwi r0, 0 -/* 802745D8 00271538 41 82 00 14 */ beq lbl_802745EC -/* 802745DC 0027153C 34 61 00 28 */ addic. r3, r1, 0x28 -/* 802745E0 00271540 41 82 00 0C */ beq lbl_802745EC -/* 802745E4 00271544 38 80 00 00 */ li r4, 0 -/* 802745E8 00271548 48 0C C8 59 */ bl __dt__6CTokenFv -lbl_802745EC: -/* 802745EC 0027154C 38 00 00 00 */ li r0, 0 -/* 802745F0 00271550 98 01 00 30 */ stb r0, 0x30(r1) -lbl_802745F4: -/* 802745F4 00271554 7F A0 07 75 */ extsb. r0, r29 -/* 802745F8 00271558 41 82 00 0C */ beq lbl_80274604 -/* 802745FC 0027155C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80274600 00271560 48 0C 94 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80274604: -/* 80274604 00271564 7F C3 F3 78 */ mr r3, r30 -/* 80274608 00271568 7F E4 FB 78 */ mr r4, r31 -/* 8027460C 0027156C 4B DD 86 E9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80274610 00271570 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 80274614 00271574 38 60 00 01 */ li r3, 1 -/* 80274618 00271578 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027461C 0027157C 38 80 00 00 */ li r4, 0 -/* 80274620 00271580 98 1F 01 04 */ stb r0, 0x104(r31) -/* 80274624 00271584 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 80274628 00271588 81 83 00 00 */ lwz r12, 0(r3) -/* 8027462C 0027158C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80274630 00271590 7D 89 03 A6 */ mtctr r12 -/* 80274634 00271594 4E 80 04 21 */ bctrl -/* 80274638 00271598 BB 21 00 64 */ lmw r25, 0x64(r1) -/* 8027463C 0027159C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80274640 002715A0 7C 08 03 A6 */ mtlr r0 -/* 80274644 002715A4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80274648 002715A8 4E 80 00 20 */ blr - -.global sub_8027464c -sub_8027464c: -/* 8027464C 002715AC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80274650 002715B0 7C 08 02 A6 */ mflr r0 -/* 80274654 002715B4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80274658 002715B8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8027465C 002715BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80274660 002715C0 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80274664 002715C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80274668 002715C8 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8027466C 002715CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80274670 002715D0 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80274674 002715D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80274678 002715D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027467C 002715DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80274680 002715E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80274684 002715E4 7C 7D 1B 78 */ mr r29, r3 -/* 80274688 002715E8 7C BE 2B 78 */ mr r30, r5 -/* 8027468C 002715EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80274690 002715F0 38 C0 00 0A */ li r6, 0xa -/* 80274694 002715F4 38 E0 00 06 */ li r7, 6 -/* 80274698 002715F8 48 00 24 A5 */ bl sub_80276b3c -/* 8027469C 002715FC A0 01 00 10 */ lhz r0, 0x10(r1) -/* 802746A0 00271600 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802746A4 00271604 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 802746A8 00271608 C3 82 BC 08 */ lfs f28, lbl_805AD928@sda21(r2) -/* 802746AC 0027160C B0 01 00 14 */ sth r0, 0x14(r1) -/* 802746B0 00271610 C3 FF 00 00 */ lfs f31, 0(r31) -/* 802746B4 00271614 C3 DF 00 04 */ lfs f30, 4(r31) -/* 802746B8 00271618 C3 BF 00 08 */ lfs f29, 8(r31) -/* 802746BC 0027161C 48 00 00 64 */ b lbl_80274720 -lbl_802746C0: -/* 802746C0 00271620 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 802746C4 00271624 7F C3 F3 78 */ mr r3, r30 -/* 802746C8 00271628 38 81 00 0C */ addi r4, r1, 0xc -/* 802746CC 0027162C B0 01 00 0C */ sth r0, 0xc(r1) -/* 802746D0 00271630 4B DD 7E D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802746D4 00271634 7C 64 1B 78 */ mr r4, r3 -/* 802746D8 00271638 38 61 00 18 */ addi r3, r1, 0x18 -/* 802746DC 0027163C 4B E3 1E 71 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 802746E0 00271640 80 83 00 04 */ lwz r4, 4(r3) -/* 802746E4 00271644 28 04 00 00 */ cmplwi r4, 0 -/* 802746E8 00271648 41 82 00 24 */ beq lbl_8027470C -/* 802746EC 0027164C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 802746F0 00271650 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 802746F4 00271654 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 802746F8 00271658 EF FF 00 2A */ fadds f31, f31, f0 -/* 802746FC 0027165C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80274700 00271660 EF DE 10 2A */ fadds f30, f30, f2 -/* 80274704 00271664 EF BD 08 2A */ fadds f29, f29, f1 -/* 80274708 00271668 EF 9C 00 2A */ fadds f28, f28, f0 -lbl_8027470C: -/* 8027470C 0027166C 7F C5 F3 78 */ mr r5, r30 -/* 80274710 00271670 38 61 00 08 */ addi r3, r1, 8 -/* 80274714 00271674 4B E0 2A 21 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 80274718 00271678 A0 01 00 08 */ lhz r0, 8(r1) -/* 8027471C 0027167C B0 01 00 14 */ sth r0, 0x14(r1) -lbl_80274720: -/* 80274720 00271680 A0 61 00 14 */ lhz r3, 0x14(r1) -/* 80274724 00271684 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80274728 00271688 7C 03 00 40 */ cmplw r3, r0 -/* 8027472C 0027168C 40 82 FF 94 */ bne lbl_802746C0 -/* 80274730 00271690 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80274734 00271694 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80274738 00271698 40 81 00 28 */ ble lbl_80274760 -/* 8027473C 0027169C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80274740 002716A0 EC 00 E0 24 */ fdivs f0, f0, f28 -/* 80274744 002716A4 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 80274748 002716A8 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 8027474C 002716AC EC 00 07 72 */ fmuls f0, f0, f29 -/* 80274750 002716B0 D0 5D 00 00 */ stfs f2, 0(r29) -/* 80274754 002716B4 D0 3D 00 04 */ stfs f1, 4(r29) -/* 80274758 002716B8 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8027475C 002716BC 48 00 00 20 */ b lbl_8027477C -lbl_80274760: -/* 80274760 002716C0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80274764 002716C4 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 80274768 002716C8 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8027476C 002716CC C0 1F 00 04 */ lfs f0, 4(r31) -/* 80274770 002716D0 D0 1D 00 04 */ stfs f0, 4(r29) -/* 80274774 002716D4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80274778 002716D8 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_8027477C: -/* 8027477C 002716DC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80274780 002716E0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80274784 002716E4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80274788 002716E8 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8027478C 002716EC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80274790 002716F0 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80274794 002716F4 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80274798 002716F8 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 8027479C 002716FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802747A0 00271700 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802747A4 00271704 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802747A8 00271708 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802747AC 0027170C 7C 08 03 A6 */ mtlr r0 -/* 802747B0 00271710 38 21 00 70 */ addi r1, r1, 0x70 -/* 802747B4 00271714 4E 80 00 20 */ blr - -.global sub_802747b8 -sub_802747b8: -/* 802747B8 00271718 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 802747BC 0027171C 7C 08 02 A6 */ mflr r0 -/* 802747C0 00271720 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802747C4 00271724 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 802747C8 00271728 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 802747CC 0027172C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 802747D0 00271730 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 802747D4 00271734 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 802747D8 00271738 C0 65 00 04 */ lfs f3, 4(r5) -/* 802747DC 0027173C 7C 9C 23 78 */ mr r28, r4 -/* 802747E0 00271740 C0 45 00 00 */ lfs f2, 0(r5) -/* 802747E4 00271744 7C 7B 1B 78 */ mr r27, r3 -/* 802747E8 00271748 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802747EC 0027174C FF E0 08 90 */ fmr f31, f1 -/* 802747F0 00271750 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802747F4 00271754 38 60 00 00 */ li r3, 0 -/* 802747F8 00271758 80 AD 98 D0 */ lwz r5, lbl_805A8490@sda21(r13) -/* 802747FC 0027175C 38 80 00 01 */ li r4, 1 -/* 80274800 00271760 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 80274804 00271764 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80274808 00271768 83 FC 08 4C */ lwz r31, 0x84c(r28) -/* 8027480C 0027176C 48 11 56 E9 */ bl __shl2i -/* 80274810 00271770 80 AD 98 D4 */ lwz r5, lbl_805A8494@sda21(r13) -/* 80274814 00271774 7C 9D 23 78 */ mr r29, r4 -/* 80274818 00271778 7C 7E 1B 78 */ mr r30, r3 -/* 8027481C 0027177C 38 60 00 00 */ li r3, 0 -/* 80274820 00271780 38 80 00 01 */ li r4, 1 -/* 80274824 00271784 48 11 56 D1 */ bl __shl2i -/* 80274828 00271788 3C A0 80 5A */ lis r5, lbl_805A6700@ha -/* 8027482C 0027178C 7F BD 23 78 */ or r29, r29, r4 -/* 80274830 00271790 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l -/* 80274834 00271794 7F DE 1B 78 */ or r30, r30, r3 -/* 80274838 00271798 39 00 00 00 */ li r8, 0 -/* 8027483C 0027179C 38 00 00 01 */ li r0, 1 -/* 80274840 002717A0 C0 82 BC 20 */ lfs f4, lbl_805AD940@sda21(r2) -/* 80274844 002717A4 7F 83 E3 78 */ mr r3, r28 -/* 80274848 002717A8 C0 45 00 08 */ lfs f2, 8(r5) -/* 8027484C 002717AC 7F 67 DB 78 */ mr r7, r27 -/* 80274850 002717B0 C0 25 00 00 */ lfs f1, 0(r5) -/* 80274854 002717B4 38 81 00 50 */ addi r4, r1, 0x50 -/* 80274858 002717B8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8027485C 002717BC EC A4 00 B2 */ fmuls f5, f4, f2 -/* 80274860 002717C0 EC 64 00 72 */ fmuls f3, f4, f1 -/* 80274864 002717C4 93 A1 00 6C */ stw r29, 0x6c(r1) -/* 80274868 002717C8 EC 44 00 32 */ fmuls f2, f4, f0 -/* 8027486C 002717CC 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80274870 002717D0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80274874 002717D4 38 C1 00 68 */ addi r6, r1, 0x68 -/* 80274878 002717D8 91 01 00 74 */ stw r8, 0x74(r1) -/* 8027487C 002717DC 91 01 00 70 */ stw r8, 0x70(r1) -/* 80274880 002717E0 90 01 00 78 */ stw r0, 0x78(r1) -/* 80274884 002717E4 C1 1F 00 60 */ lfs f8, 0x60(r31) -/* 80274888 002717E8 C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 8027488C 002717EC C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80274890 002717F0 EC 88 28 2A */ fadds f4, f8, f5 -/* 80274894 002717F4 EC C7 10 2A */ fadds f6, f7, f2 -/* 80274898 002717F8 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8027489C 002717FC EC 01 18 2A */ fadds f0, f1, f3 -/* 802748A0 00271800 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802748A4 00271804 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802748A8 00271808 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802748AC 0027180C D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 802748B0 00271810 D1 01 00 40 */ stfs f8, 0x40(r1) -/* 802748B4 00271814 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802748B8 00271818 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 802748BC 0027181C D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802748C0 00271820 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802748C4 00271824 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 802748C8 00271828 D1 01 00 58 */ stfs f8, 0x58(r1) -/* 802748CC 0027182C 4B DD 85 71 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -/* 802748D0 00271830 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802748D4 00271834 40 82 00 5C */ bne lbl_80274930 -/* 802748D8 00271838 C0 22 BC 70 */ lfs f1, lbl_805AD990@sda21(r2) -/* 802748DC 0027183C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802748E0 00271840 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 802748E4 00271844 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) -/* 802748E8 00271848 EC 61 00 32 */ fmuls f3, f1, f0 -/* 802748EC 0027184C C0 23 00 04 */ lfs f1, 4(r3) -/* 802748F0 00271850 C0 03 00 08 */ lfs f0, 8(r3) -/* 802748F4 00271854 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802748F8 00271858 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802748FC 0027185C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80274900 00271860 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80274904 00271864 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80274908 00271868 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027490C 0027186C 4B DA 6C 29 */ bl Identity__10CAxisAngleFv -/* 80274910 00271870 7C 65 1B 78 */ mr r5, r3 -/* 80274914 00271874 7F E3 FB 78 */ mr r3, r31 -/* 80274918 00271878 38 81 00 20 */ addi r4, r1, 0x20 -/* 8027491C 0027187C 4B EA 7A 7D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 80274920 00271880 7F E3 FB 78 */ mr r3, r31 -/* 80274924 00271884 7F 85 E3 78 */ mr r5, r28 -/* 80274928 00271888 38 80 00 02 */ li r4, 2 -/* 8027492C 0027188C 48 01 1A C1 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -lbl_80274930: -/* 80274930 00271890 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80274934 00271894 C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) -/* 80274938 00271898 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8027493C 0027189C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80274940 002718A0 48 09 B6 25 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80274944 002718A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274948 002718A8 40 82 00 7C */ bne lbl_802749C4 -/* 8027494C 002718AC C3 DF 00 E8 */ lfs f30, 0xe8(r31) -/* 80274950 002718B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80274954 002718B4 38 81 00 5C */ addi r4, r1, 0x5c -/* 80274958 002718B8 48 09 FE F9 */ bl AsNormalized__9CVector3fCFv -/* 8027495C 002718BC C0 62 BC 74 */ lfs f3, lbl_805AD994@sda21(r2) -/* 80274960 002718C0 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80274964 002718C4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80274968 002718C8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8027496C 002718CC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80274970 002718D0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80274974 002718D4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80274978 002718D8 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 8027497C 002718DC EC 3E 00 72 */ fmuls f1, f30, f1 -/* 80274980 002718E0 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80274984 002718E4 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80274988 002718E8 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8027498C 002718EC EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80274990 002718F0 D0 41 00 08 */ stfs f2, 8(r1) -/* 80274994 002718F4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80274998 002718F8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027499C 002718FC 4B DA 6B 99 */ bl Identity__10CAxisAngleFv -/* 802749A0 00271900 7C 65 1B 78 */ mr r5, r3 -/* 802749A4 00271904 7F E3 FB 78 */ mr r3, r31 -/* 802749A8 00271908 38 81 00 08 */ addi r4, r1, 8 -/* 802749AC 0027190C 4B EA 79 ED */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 802749B0 00271910 7F E3 FB 78 */ mr r3, r31 -/* 802749B4 00271914 4B EA 67 C9 */ bl UseCollisionImpulses__13CPhysicsActorFv -/* 802749B8 00271918 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 802749BC 0027191C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 802749C0 00271920 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -lbl_802749C4: -/* 802749C4 00271924 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 802749C8 00271928 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 802749CC 0027192C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 802749D0 00271930 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 802749D4 00271934 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 802749D8 00271938 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802749DC 0027193C 7C 08 03 A6 */ mtlr r0 -/* 802749E0 00271940 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802749E4 00271944 4E 80 00 20 */ blr - -.global sub_802749e8 -sub_802749e8: -/* 802749E8 00271948 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 802749EC 0027194C 7C 08 02 A6 */ mflr r0 -/* 802749F0 00271950 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 802749F4 00271954 DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 802749F8 00271958 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 802749FC 0027195C DB C1 01 A0 */ stfd f30, 0x1a0(r1) -/* 80274A00 00271960 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 -/* 80274A04 00271964 DB A1 01 90 */ stfd f29, 0x190(r1) -/* 80274A08 00271968 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 -/* 80274A0C 0027196C DB 81 01 80 */ stfd f28, 0x180(r1) -/* 80274A10 00271970 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 -/* 80274A14 00271974 DB 61 01 70 */ stfd f27, 0x170(r1) -/* 80274A18 00271978 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 -/* 80274A1C 0027197C DB 41 01 60 */ stfd f26, 0x160(r1) -/* 80274A20 00271980 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 -/* 80274A24 00271984 DB 21 01 50 */ stfd f25, 0x150(r1) -/* 80274A28 00271988 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 -/* 80274A2C 0027198C DB 01 01 40 */ stfd f24, 0x140(r1) -/* 80274A30 00271990 F3 01 01 48 */ psq_st f24, 328(r1), 0, qr0 -/* 80274A34 00271994 DA E1 01 30 */ stfd f23, 0x130(r1) -/* 80274A38 00271998 F2 E1 01 38 */ psq_st f23, 312(r1), 0, qr0 -/* 80274A3C 0027199C DA C1 01 20 */ stfd f22, 0x120(r1) -/* 80274A40 002719A0 F2 C1 01 28 */ psq_st f22, 296(r1), 0, qr0 -/* 80274A44 002719A4 DA A1 01 10 */ stfd f21, 0x110(r1) -/* 80274A48 002719A8 F2 A1 01 18 */ psq_st f21, 280(r1), 0, qr0 -/* 80274A4C 002719AC DA 81 01 00 */ stfd f20, 0x100(r1) -/* 80274A50 002719B0 F2 81 01 08 */ psq_st f20, 264(r1), 0, qr0 -/* 80274A54 002719B4 DA 61 00 F0 */ stfd f19, 0xf0(r1) -/* 80274A58 002719B8 F2 61 00 F8 */ psq_st f19, 248(r1), 0, qr0 -/* 80274A5C 002719BC DA 41 00 E0 */ stfd f18, 0xe0(r1) -/* 80274A60 002719C0 F2 41 00 E8 */ psq_st f18, 232(r1), 0, qr0 -/* 80274A64 002719C4 BF 41 00 C8 */ stmw r26, 0xc8(r1) -/* 80274A68 002719C8 FE 80 08 90 */ fmr f20, f1 -/* 80274A6C 002719CC C0 25 00 08 */ lfs f1, 8(r5) -/* 80274A70 002719D0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80274A74 002719D4 FE A0 10 90 */ fmr f21, f2 -/* 80274A78 002719D8 C0 A5 00 04 */ lfs f5, 4(r5) -/* 80274A7C 002719DC 54 C0 18 38 */ slwi r0, r6, 3 -/* 80274A80 002719E0 EC 41 00 28 */ fsubs f2, f1, f0 -/* 80274A84 002719E4 7C 63 02 14 */ add r3, r3, r0 -/* 80274A88 002719E8 C0 84 00 04 */ lfs f4, 4(r4) -/* 80274A8C 002719EC FE C0 18 90 */ fmr f22, f3 -/* 80274A90 002719F0 C0 25 00 00 */ lfs f1, 0(r5) -/* 80274A94 002719F4 7C 9D 23 78 */ mr r29, r4 -/* 80274A98 002719F8 C0 04 00 00 */ lfs f0, 0(r4) -/* 80274A9C 002719FC EC 85 20 28 */ fsubs f4, f5, f4 -/* 80274AA0 00271A00 83 E3 0F F4 */ lwz r31, 0xff4(r3) -/* 80274AA4 00271A04 83 C3 10 08 */ lwz r30, 0x1008(r3) -/* 80274AA8 00271A08 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80274AAC 00271A0C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80274AB0 00271A10 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80274AB4 00271A14 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80274AB8 00271A18 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80274ABC 00271A1C 48 09 FD FD */ bl Magnitude__9CVector3fCFv -/* 80274AC0 00271A20 FE E0 08 90 */ fmr f23, f1 -/* 80274AC4 00271A24 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80274AC8 00271A28 C3 C1 00 44 */ lfs f30, 0x44(r1) -/* 80274ACC 00271A2C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80274AD0 00271A30 C3 A1 00 48 */ lfs f29, 0x48(r1) -/* 80274AD4 00271A34 38 61 00 44 */ addi r3, r1, 0x44 -/* 80274AD8 00271A38 C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 80274ADC 00271A3C C0 22 BC 5C */ lfs f1, lbl_805AD97C@sda21(r2) -/* 80274AE0 00271A40 48 09 B4 85 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80274AE4 00271A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274AE8 00271A48 40 82 03 00 */ bne lbl_80274DE8 -/* 80274AEC 00271A4C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80274AF0 00271A50 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80274AF4 00271A54 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80274AF8 00271A58 C3 7D 00 00 */ lfs f27, 0(r29) -/* 80274AFC 00271A5C C3 5D 00 04 */ lfs f26, 4(r29) -/* 80274B00 00271A60 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80274B04 00271A64 C3 3D 00 08 */ lfs f25, 8(r29) -/* 80274B08 00271A68 38 61 00 50 */ addi r3, r1, 0x50 -/* 80274B0C 00271A6C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80274B10 00271A70 48 09 F0 01 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80274B14 00271A74 38 61 00 80 */ addi r3, r1, 0x80 -/* 80274B18 00271A78 38 81 00 50 */ addi r4, r1, 0x50 -/* 80274B1C 00271A7C 48 09 E0 59 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80274B20 00271A80 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 80274B24 00271A84 3C 00 43 30 */ lis r0, 0x4330 -/* 80274B28 00271A88 C0 A2 BC 30 */ lfs f5, lbl_805AD950@sda21(r2) -/* 80274B2C 00271A8C 7F E3 FB 78 */ mr r3, r31 -/* 80274B30 00271A90 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80274B34 00271A94 38 80 00 01 */ li r4, 1 -/* 80274B38 00271A98 EC 00 2D FA */ fmadds f0, f0, f23, f5 -/* 80274B3C 00271A9C C8 82 BC 78 */ lfd f4, lbl_805AD998@sda21(r2) -/* 80274B40 00271AA0 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80274B44 00271AA4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80274B48 00271AA8 FC 60 00 1E */ fctiwz f3, f0 -/* 80274B4C 00271AAC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80274B50 00271AB0 D8 61 00 B0 */ stfd f3, 0xb0(r1) -/* 80274B54 00271AB4 83 61 00 B4 */ lwz r27, 0xb4(r1) -/* 80274B58 00271AB8 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80274B5C 00271ABC 90 01 00 BC */ stw r0, 0xbc(r1) -/* 80274B60 00271AC0 C8 61 00 B8 */ lfd f3, 0xb8(r1) -/* 80274B64 00271AC4 EC 63 20 28 */ fsubs f3, f3, f4 -/* 80274B68 00271AC8 EC 65 18 24 */ fdivs f3, f5, f3 -/* 80274B6C 00271ACC EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80274B70 00271AD0 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80274B74 00271AD4 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80274B78 00271AD8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80274B7C 00271ADC D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80274B80 00271AE0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80274B84 00271AE4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274B88 00271AE8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80274B8C 00271AEC 7D 89 03 A6 */ mtctr r12 -/* 80274B90 00271AF0 4E 80 04 21 */ bctrl -/* 80274B94 00271AF4 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80274B98 00271AF8 3F 80 43 30 */ lis r28, 0x4330 -/* 80274B9C 00271AFC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80274BA0 00271B00 3B 40 00 00 */ li r26, 0 -/* 80274BA4 00271B04 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) -/* 80274BA8 00271B08 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 80274BAC 00271B0C C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 80274BB0 00271B10 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 80274BB4 00271B14 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80274BB8 00271B18 EF 01 00 24 */ fdivs f24, f1, f0 -/* 80274BBC 00271B1C 48 00 00 D8 */ b lbl_80274C94 -lbl_80274BC0: -/* 80274BC0 00271B20 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 80274BC4 00271B24 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 80274BC8 00271B28 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80274BCC 00271B2C C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 80274BD0 00271B30 EE E0 F8 28 */ fsubs f23, f0, f31 -/* 80274BD4 00271B34 EE 77 06 32 */ fmuls f19, f23, f24 -/* 80274BD8 00271B38 EC 37 B0 2A */ fadds f1, f23, f22 -/* 80274BDC 00271B3C 48 0A 01 69 */ bl FastCosR__5CMathFf -/* 80274BE0 00271B40 EC 13 00 72 */ fmuls f0, f19, f1 -/* 80274BE4 00271B44 FC 20 B8 90 */ fmr f1, f23 -/* 80274BE8 00271B48 EE F4 00 32 */ fmuls f23, f20, f0 -/* 80274BEC 00271B4C 48 0A 02 05 */ bl FastSinR__5CMathFf -/* 80274BF0 00271B50 EC 13 00 72 */ fmuls f0, f19, f1 -/* 80274BF4 00271B54 2C 1A 00 00 */ cmpwi r26, 0 -/* 80274BF8 00271B58 EC 35 00 32 */ fmuls f1, f21, f0 -/* 80274BFC 00271B5C 40 81 00 2C */ ble lbl_80274C28 -/* 80274C00 00271B60 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80274C04 00271B64 38 61 00 20 */ addi r3, r1, 0x20 -/* 80274C08 00271B68 D2 E1 00 2C */ stfs f23, 0x2c(r1) -/* 80274C0C 00271B6C 38 81 00 80 */ addi r4, r1, 0x80 -/* 80274C10 00271B70 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80274C14 00271B74 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80274C18 00271B78 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80274C1C 00271B7C 48 09 DE CD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80274C20 00271B80 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80274C24 00271B84 48 00 00 0C */ b lbl_80274C30 -lbl_80274C28: -/* 80274C28 00271B88 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80274C2C 00271B8C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -lbl_80274C30: -/* 80274C30 00271B90 C0 45 00 04 */ lfs f2, 4(r5) -/* 80274C34 00271B94 7F E3 FB 78 */ mr r3, r31 -/* 80274C38 00271B98 C0 25 00 08 */ lfs f1, 8(r5) -/* 80274C3C 00271B9C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80274C40 00271BA0 C0 05 00 00 */ lfs f0, 0(r5) -/* 80274C44 00271BA4 EC 5A 10 2A */ fadds f2, f26, f2 -/* 80274C48 00271BA8 EC 39 08 2A */ fadds f1, f25, f1 -/* 80274C4C 00271BAC EC 1B 00 2A */ fadds f0, f27, f0 -/* 80274C50 00271BB0 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80274C54 00271BB4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80274C58 00271BB8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80274C5C 00271BBC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274C60 00271BC0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80274C64 00271BC4 7D 89 03 A6 */ mtctr r12 -/* 80274C68 00271BC8 4E 80 04 21 */ bctrl -/* 80274C6C 00271BCC 7F E3 FB 78 */ mr r3, r31 -/* 80274C70 00271BD0 38 80 00 01 */ li r4, 1 -/* 80274C74 00271BD4 48 0A 7C 4D */ bl ForceParticleCreation__11CElementGenFi -/* 80274C78 00271BD8 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80274C7C 00271BDC 3B 5A 00 01 */ addi r26, r26, 1 -/* 80274C80 00271BE0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80274C84 00271BE4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80274C88 00271BE8 EF 7B 10 2A */ fadds f27, f27, f2 -/* 80274C8C 00271BEC EF 5A 08 2A */ fadds f26, f26, f1 -/* 80274C90 00271BF0 EF 39 00 2A */ fadds f25, f25, f0 -lbl_80274C94: -/* 80274C94 00271BF4 7C 1A D8 00 */ cmpw r26, r27 -/* 80274C98 00271BF8 41 80 FF 28 */ blt lbl_80274BC0 -/* 80274C9C 00271BFC 7F E3 FB 78 */ mr r3, r31 -/* 80274CA0 00271C00 38 80 00 00 */ li r4, 0 -/* 80274CA4 00271C04 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274CA8 00271C08 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80274CAC 00271C0C 7D 89 03 A6 */ mtctr r12 -/* 80274CB0 00271C10 4E 80 04 21 */ bctrl -/* 80274CB4 00271C14 80 7E 01 60 */ lwz r3, 0x160(r30) -/* 80274CB8 00271C18 3F 80 43 30 */ lis r28, 0x4330 -/* 80274CBC 00271C1C 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 80274CC0 00271C20 3B E0 00 00 */ li r31, 0 -/* 80274CC4 00271C24 38 63 FF FF */ addi r3, r3, -1 -/* 80274CC8 00271C28 CB E2 BC 78 */ lfd f31, lbl_805AD998@sda21(r2) -/* 80274CCC 00271C2C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80274CD0 00271C30 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 80274CD4 00271C34 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80274CD8 00271C38 54 60 38 30 */ slwi r0, r3, 7 -/* 80274CDC 00271C3C 80 7E 01 68 */ lwz r3, 0x168(r30) -/* 80274CE0 00271C40 3B 40 00 00 */ li r26, 0 -/* 80274CE4 00271C44 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 80274CE8 00271C48 7C 63 02 14 */ add r3, r3, r0 -/* 80274CEC 00271C4C C3 3D 00 00 */ lfs f25, 0(r29) -/* 80274CF0 00271C50 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80274CF4 00271C54 C3 5D 00 04 */ lfs f26, 4(r29) -/* 80274CF8 00271C58 C3 7D 00 08 */ lfs f27, 8(r29) -/* 80274CFC 00271C5C C3 03 00 30 */ lfs f24, 0x30(r3) -/* 80274D00 00271C60 EE E1 00 24 */ fdivs f23, f1, f0 -/* 80274D04 00271C64 EF DE 05 F2 */ fmuls f30, f30, f23 -/* 80274D08 00271C68 EF BD 05 F2 */ fmuls f29, f29, f23 -/* 80274D0C 00271C6C EF 9C 05 F2 */ fmuls f28, f28, f23 -/* 80274D10 00271C70 48 00 00 CC */ b lbl_80274DDC -lbl_80274D14: -/* 80274D14 00271C74 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 80274D18 00271C78 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 80274D1C 00271C7C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80274D20 00271C80 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 80274D24 00271C84 EE 60 F8 28 */ fsubs f19, f0, f31 -/* 80274D28 00271C88 EE 53 05 F2 */ fmuls f18, f19, f23 -/* 80274D2C 00271C8C EC 33 B0 2A */ fadds f1, f19, f22 -/* 80274D30 00271C90 48 0A 00 15 */ bl FastCosR__5CMathFf -/* 80274D34 00271C94 EC 12 00 72 */ fmuls f0, f18, f1 -/* 80274D38 00271C98 FC 20 98 90 */ fmr f1, f19 -/* 80274D3C 00271C9C EE 74 00 32 */ fmuls f19, f20, f0 -/* 80274D40 00271CA0 48 0A 00 B1 */ bl FastSinR__5CMathFf -/* 80274D44 00271CA4 EC 12 00 72 */ fmuls f0, f18, f1 -/* 80274D48 00271CA8 2C 1F 00 00 */ cmpwi r31, 0 -/* 80274D4C 00271CAC EC 35 00 32 */ fmuls f1, f21, f0 -/* 80274D50 00271CB0 40 81 00 2C */ ble lbl_80274D7C -/* 80274D54 00271CB4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80274D58 00271CB8 38 61 00 08 */ addi r3, r1, 8 -/* 80274D5C 00271CBC D2 61 00 14 */ stfs f19, 0x14(r1) -/* 80274D60 00271CC0 38 81 00 80 */ addi r4, r1, 0x80 -/* 80274D64 00271CC4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80274D68 00271CC8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80274D6C 00271CCC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80274D70 00271CD0 48 09 DD 79 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80274D74 00271CD4 38 61 00 08 */ addi r3, r1, 8 -/* 80274D78 00271CD8 48 00 00 0C */ b lbl_80274D84 -lbl_80274D7C: -/* 80274D7C 00271CDC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80274D80 00271CE0 38 63 66 A0 */ addi r3, r3, skZero3f@l -lbl_80274D84: -/* 80274D84 00271CE4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80274D88 00271CE8 38 81 00 80 */ addi r4, r1, 0x80 -/* 80274D8C 00271CEC C0 43 00 04 */ lfs f2, 4(r3) -/* 80274D90 00271CF0 80 1E 01 68 */ lwz r0, 0x168(r30) -/* 80274D94 00271CF4 EC 19 00 2A */ fadds f0, f25, f0 -/* 80274D98 00271CF8 C0 23 00 08 */ lfs f1, 8(r3) -/* 80274D9C 00271CFC EC 5A 10 2A */ fadds f2, f26, f2 -/* 80274DA0 00271D00 7F 60 D2 14 */ add r27, r0, r26 -/* 80274DA4 00271D04 D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 80274DA8 00271D08 EC 1B 08 2A */ fadds f0, f27, f1 -/* 80274DAC 00271D0C 38 7B 00 38 */ addi r3, r27, 0x38 -/* 80274DB0 00271D10 D0 5B 00 10 */ stfs f2, 0x10(r27) -/* 80274DB4 00271D14 D0 1B 00 14 */ stfs f0, 0x14(r27) -/* 80274DB8 00271D18 48 09 DD 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80274DBC 00271D1C C0 1B 00 30 */ lfs f0, 0x30(r27) -/* 80274DC0 00271D20 EF 39 F0 2A */ fadds f25, f25, f30 -/* 80274DC4 00271D24 EF 5A E8 2A */ fadds f26, f26, f29 -/* 80274DC8 00271D28 3B FF 00 01 */ addi r31, r31, 1 -/* 80274DCC 00271D2C D3 1B 00 30 */ stfs f24, 0x30(r27) -/* 80274DD0 00271D30 FF 00 00 90 */ fmr f24, f0 -/* 80274DD4 00271D34 EF 7B E0 2A */ fadds f27, f27, f28 -/* 80274DD8 00271D38 3B 5A 00 80 */ addi r26, r26, 0x80 -lbl_80274DDC: -/* 80274DDC 00271D3C 80 1E 01 60 */ lwz r0, 0x160(r30) -/* 80274DE0 00271D40 7C 1F 00 00 */ cmpw r31, r0 -/* 80274DE4 00271D44 41 80 FF 30 */ blt lbl_80274D14 -lbl_80274DE8: -/* 80274DE8 00271D48 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 -/* 80274DEC 00271D4C CB E1 01 B0 */ lfd f31, 0x1b0(r1) -/* 80274DF0 00271D50 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 -/* 80274DF4 00271D54 CB C1 01 A0 */ lfd f30, 0x1a0(r1) -/* 80274DF8 00271D58 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 -/* 80274DFC 00271D5C CB A1 01 90 */ lfd f29, 0x190(r1) -/* 80274E00 00271D60 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 -/* 80274E04 00271D64 CB 81 01 80 */ lfd f28, 0x180(r1) -/* 80274E08 00271D68 E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 -/* 80274E0C 00271D6C CB 61 01 70 */ lfd f27, 0x170(r1) -/* 80274E10 00271D70 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 -/* 80274E14 00271D74 CB 41 01 60 */ lfd f26, 0x160(r1) -/* 80274E18 00271D78 E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 -/* 80274E1C 00271D7C CB 21 01 50 */ lfd f25, 0x150(r1) -/* 80274E20 00271D80 E3 01 01 48 */ psq_l f24, 328(r1), 0, qr0 -/* 80274E24 00271D84 CB 01 01 40 */ lfd f24, 0x140(r1) -/* 80274E28 00271D88 E2 E1 01 38 */ psq_l f23, 312(r1), 0, qr0 -/* 80274E2C 00271D8C CA E1 01 30 */ lfd f23, 0x130(r1) -/* 80274E30 00271D90 E2 C1 01 28 */ psq_l f22, 296(r1), 0, qr0 -/* 80274E34 00271D94 CA C1 01 20 */ lfd f22, 0x120(r1) -/* 80274E38 00271D98 E2 A1 01 18 */ psq_l f21, 280(r1), 0, qr0 -/* 80274E3C 00271D9C CA A1 01 10 */ lfd f21, 0x110(r1) -/* 80274E40 00271DA0 E2 81 01 08 */ psq_l f20, 264(r1), 0, qr0 -/* 80274E44 00271DA4 CA 81 01 00 */ lfd f20, 0x100(r1) -/* 80274E48 00271DA8 E2 61 00 F8 */ psq_l f19, 248(r1), 0, qr0 -/* 80274E4C 00271DAC CA 61 00 F0 */ lfd f19, 0xf0(r1) -/* 80274E50 00271DB0 E2 41 00 E8 */ psq_l f18, 232(r1), 0, qr0 -/* 80274E54 00271DB4 CA 41 00 E0 */ lfd f18, 0xe0(r1) -/* 80274E58 00271DB8 BB 41 00 C8 */ lmw r26, 0xc8(r1) -/* 80274E5C 00271DBC 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 80274E60 00271DC0 7C 08 03 A6 */ mtlr r0 -/* 80274E64 00271DC4 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 80274E68 00271DC8 4E 80 00 20 */ blr - -.global sub_80274e6c -sub_80274e6c: -/* 80274E6C 00271DCC 94 21 FE 20 */ stwu r1, -0x1e0(r1) -/* 80274E70 00271DD0 7C 08 02 A6 */ mflr r0 -/* 80274E74 00271DD4 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 80274E78 00271DD8 DB E1 01 D0 */ stfd f31, 0x1d0(r1) -/* 80274E7C 00271DDC F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 -/* 80274E80 00271DE0 DB C1 01 C0 */ stfd f30, 0x1c0(r1) -/* 80274E84 00271DE4 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 -/* 80274E88 00271DE8 DB A1 01 B0 */ stfd f29, 0x1b0(r1) -/* 80274E8C 00271DEC F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 -/* 80274E90 00271DF0 DB 81 01 A0 */ stfd f28, 0x1a0(r1) -/* 80274E94 00271DF4 F3 81 01 A8 */ psq_st f28, 424(r1), 0, qr0 -/* 80274E98 00271DF8 DB 61 01 90 */ stfd f27, 0x190(r1) -/* 80274E9C 00271DFC F3 61 01 98 */ psq_st f27, 408(r1), 0, qr0 -/* 80274EA0 00271E00 DB 41 01 80 */ stfd f26, 0x180(r1) -/* 80274EA4 00271E04 F3 41 01 88 */ psq_st f26, 392(r1), 0, qr0 -/* 80274EA8 00271E08 DB 21 01 70 */ stfd f25, 0x170(r1) -/* 80274EAC 00271E0C F3 21 01 78 */ psq_st f25, 376(r1), 0, qr0 -/* 80274EB0 00271E10 DB 01 01 60 */ stfd f24, 0x160(r1) -/* 80274EB4 00271E14 F3 01 01 68 */ psq_st f24, 360(r1), 0, qr0 -/* 80274EB8 00271E18 DA E1 01 50 */ stfd f23, 0x150(r1) -/* 80274EBC 00271E1C F2 E1 01 58 */ psq_st f23, 344(r1), 0, qr0 -/* 80274EC0 00271E20 BE A1 01 24 */ stmw r21, 0x124(r1) -/* 80274EC4 00271E24 7C 77 1B 78 */ mr r23, r3 -/* 80274EC8 00271E28 FF E0 08 90 */ fmr f31, f1 -/* 80274ECC 00271E2C C3 02 BC 08 */ lfs f24, lbl_805AD928@sda21(r2) -/* 80274ED0 00271E30 7C 98 23 78 */ mr r24, r4 -/* 80274ED4 00271E34 80 63 04 50 */ lwz r3, 0x450(r3) -/* 80274ED8 00271E38 4B EC 51 F5 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80274EDC 00271E3C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80274EE0 00271E40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274EE4 00271E44 40 81 00 30 */ ble lbl_80274F14 -/* 80274EE8 00271E48 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80274EEC 00271E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80274EF0 00271E50 41 82 00 24 */ beq lbl_80274F14 -/* 80274EF4 00271E54 7E E3 BB 78 */ mr r3, r23 -/* 80274EF8 00271E58 7F 04 C3 78 */ mr r4, r24 -/* 80274EFC 00271E5C 38 A0 00 00 */ li r5, 0 -/* 80274F00 00271E60 48 00 06 AD */ bl sub_802755ac -/* 80274F04 00271E64 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80274F08 00271E68 38 60 00 01 */ li r3, 1 -/* 80274F0C 00271E6C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80274F10 00271E70 98 17 10 54 */ stb r0, 0x1054(r23) -lbl_80274F14: -/* 80274F14 00271E74 C0 02 BC 40 */ lfs f0, lbl_805AD960@sda21(r2) -/* 80274F18 00271E78 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80274F1C 00271E7C C3 C2 BC 68 */ lfs f30, lbl_805AD988@sda21(r2) -/* 80274F20 00271E80 3B D7 10 30 */ addi r30, r23, 0x1030 -/* 80274F24 00271E84 EF 20 07 F2 */ fmuls f25, f0, f31 -/* 80274F28 00271E88 3B B7 10 3C */ addi r29, r23, 0x103c -/* 80274F2C 00271E8C 3B 77 10 04 */ addi r27, r23, 0x1004 -/* 80274F30 00271E90 3B 57 0F F0 */ addi r26, r23, 0xff0 -/* 80274F34 00271E94 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l -/* 80274F38 00271E98 3B 20 00 00 */ li r25, 0 -/* 80274F3C 00271E9C 3B 82 BB DC */ addi r28, r2, lbl_805AD8FC@sda21 -lbl_80274F40: -/* 80274F40 00271EA0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80274F44 00271EA4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80274F48 00271EA8 80 9C 00 00 */ lwz r4, 0(r28) -/* 80274F4C 00271EAC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80274F50 00271EB0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80274F54 00271EB4 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80274F58 00271EB8 EC 00 C8 2A */ fadds f0, f0, f25 -/* 80274F5C 00271EBC D0 1D 00 00 */ stfs f0, 0(r29) -/* 80274F60 00271EC0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80274F64 00271EC4 EE E0 F0 24 */ fdivs f23, f0, f30 -/* 80274F68 00271EC8 4B D8 FD 51 */ bl string_l__4rstlFPCc -/* 80274F6C 00271ECC 7E E4 BB 78 */ mr r4, r23 -/* 80274F70 00271ED0 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80274F74 00271ED4 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80274F78 00271ED8 4B E0 3A 01 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80274F7C 00271EDC C0 41 01 1C */ lfs f2, 0x11c(r1) -/* 80274F80 00271EE0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80274F84 00271EE4 C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 80274F88 00271EE8 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 80274F8C 00271EEC D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 80274F90 00271EF0 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80274F94 00271EF4 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 80274F98 00271EF8 48 0C 8B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80274F9C 00271EFC 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 80274FA0 00271F00 38 61 00 64 */ addi r3, r1, 0x64 -/* 80274FA4 00271F04 80 D8 08 4C */ lwz r6, 0x84c(r24) -/* 80274FA8 00271F08 38 81 00 58 */ addi r4, r1, 0x58 -/* 80274FAC 00271F0C C3 45 02 7C */ lfs f26, 0x27c(r5) -/* 80274FB0 00271F10 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80274FB4 00271F14 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80274FB8 00271F18 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80274FBC 00271F1C EC BA 00 B2 */ fmuls f5, f26, f2 -/* 80274FC0 00271F20 C0 C6 00 40 */ lfs f6, 0x40(r6) -/* 80274FC4 00271F24 EC 5A 00 72 */ fmuls f2, f26, f1 -/* 80274FC8 00271F28 C0 86 00 50 */ lfs f4, 0x50(r6) -/* 80274FCC 00271F2C EC 3A 00 32 */ fmuls f1, f26, f0 -/* 80274FD0 00271F30 C0 66 00 60 */ lfs f3, 0x60(r6) -/* 80274FD4 00271F34 EF 66 28 2A */ fadds f27, f6, f5 -/* 80274FD8 00271F38 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80274FDC 00271F3C EF 84 10 2A */ fadds f28, f4, f2 -/* 80274FE0 00271F40 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80274FE4 00271F44 EF A3 08 2A */ fadds f29, f3, f1 -/* 80274FE8 00271F48 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 80274FEC 00271F4C EC 42 E0 28 */ fsubs f2, f2, f28 -/* 80274FF0 00271F50 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80274FF4 00271F54 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 80274FF8 00271F58 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80274FFC 00271F5C D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80275000 00271F60 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80275004 00271F64 48 09 F8 4D */ bl AsNormalized__9CVector3fCFv -/* 80275008 00271F68 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8027500C 00271F6C C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80275010 00271F70 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80275014 00271F74 EC 5A 00 B2 */ fmuls f2, f26, f2 -/* 80275018 00271F78 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 8027501C 00271F7C 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275020 00271F80 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 80275024 00271F84 EF 5B 10 2A */ fadds f26, f27, f2 -/* 80275028 00271F88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027502C 00271F8C EF 9C 08 2A */ fadds f28, f28, f1 -/* 80275030 00271F90 EF 7D 00 2A */ fadds f27, f29, f0 -/* 80275034 00271F94 41 82 01 80 */ beq lbl_802751B4 -/* 80275038 00271F98 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) -/* 8027503C 00271F9C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80275040 00271FA0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80275044 00271FA4 38 6D 98 A4 */ addi r3, r13, lbl_805A8464@sda21 -/* 80275048 00271FA8 38 AD 98 A8 */ addi r5, r13, lbl_805A8468@sda21 -/* 8027504C 00271FAC EC 01 05 F8 */ fmsubs f0, f1, f23, f0 -/* 80275050 00271FB0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80275054 00271FB4 4B D9 72 61 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80275058 00271FB8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) -/* 8027505C 00271FBC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80275060 00271FC0 C3 A3 00 00 */ lfs f29, 0(r3) -/* 80275064 00271FC4 38 6D 98 AC */ addi r3, r13, lbl_805A846C@sda21 -/* 80275068 00271FC8 EC 00 B8 2A */ fadds f0, f0, f23 -/* 8027506C 00271FCC 38 AD 98 B0 */ addi r5, r13, lbl_805A8470@sda21 -/* 80275070 00271FD0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80275074 00271FD4 4B D9 72 41 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80275078 00271FD8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 8027507C 00271FDC 7F 26 CB 78 */ mr r6, r25 -/* 80275080 00271FE0 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 80275084 00271FE4 38 81 00 98 */ addi r4, r1, 0x98 -/* 80275088 00271FE8 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8027508C 00271FEC EC A0 E8 28 */ fsubs f5, f0, f29 -/* 80275090 00271FF0 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 80275094 00271FF4 EC 62 07 72 */ fmuls f3, f2, f29 -/* 80275098 00271FF8 EC 41 07 72 */ fmuls f2, f1, f29 -/* 8027509C 00271FFC C2 E3 00 00 */ lfs f23, 0(r3) -/* 802750A0 00272000 EC 00 07 72 */ fmuls f0, f0, f29 -/* 802750A4 00272004 EC 9C 19 7A */ fmadds f4, f28, f5, f3 -/* 802750A8 00272008 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) -/* 802750AC 0027200C EC 7B 11 7A */ fmadds f3, f27, f5, f2 -/* 802750B0 00272010 EC 5A 01 7A */ fmadds f2, f26, f5, f0 -/* 802750B4 00272014 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) -/* 802750B8 00272018 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 802750BC 0027201C EC 21 05 F2 */ fmuls f1, f1, f23 -/* 802750C0 00272020 7E E3 BB 78 */ mr r3, r23 -/* 802750C4 00272024 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802750C8 00272028 EC 40 05 F2 */ fmuls f2, f0, f23 -/* 802750CC 0027202C 38 A1 00 8C */ addi r5, r1, 0x8c -/* 802750D0 00272030 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 802750D4 00272034 C0 7D 00 00 */ lfs f3, 0(r29) -/* 802750D8 00272038 4B FF F9 11 */ bl sub_802749e8 -/* 802750DC 0027203C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802750E0 00272040 FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802750E4 00272044 4C 40 13 82 */ cror 2, 0, 2 -/* 802750E8 00272048 40 82 00 98 */ bne lbl_80275180 -/* 802750EC 0027204C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 802750F0 00272050 38 60 00 00 */ li r3, 0 -/* 802750F4 00272054 80 AD 98 B8 */ lwz r5, lbl_805A8478@sda21(r13) -/* 802750F8 00272058 38 80 00 01 */ li r4, 1 -/* 802750FC 0027205C EF 18 00 2A */ fadds f24, f24, f0 -/* 80275100 00272060 48 11 4D F5 */ bl __shl2i -/* 80275104 00272064 80 AD 98 BC */ lwz r5, lbl_805A847C@sda21(r13) -/* 80275108 00272068 7C 95 23 78 */ mr r21, r4 -/* 8027510C 0027206C 7C 76 1B 78 */ mr r22, r3 -/* 80275110 00272070 38 60 00 00 */ li r3, 0 -/* 80275114 00272074 38 80 00 01 */ li r4, 1 -/* 80275118 00272078 48 11 4D DD */ bl __shl2i -/* 8027511C 0027207C 80 AD 98 B4 */ lwz r5, lbl_805A8474@sda21(r13) -/* 80275120 00272080 7E B5 23 78 */ or r21, r21, r4 -/* 80275124 00272084 7E D6 1B 78 */ or r22, r22, r3 -/* 80275128 00272088 38 60 00 00 */ li r3, 0 -/* 8027512C 0027208C 38 80 00 01 */ li r4, 1 -/* 80275130 00272090 48 11 4D C5 */ bl __shl2i -/* 80275134 00272094 38 00 00 03 */ li r0, 3 -/* 80275138 00272098 90 81 00 AC */ stw r4, 0xac(r1) -/* 8027513C 0027209C 7E E7 BB 78 */ mr r7, r23 -/* 80275140 002720A0 38 81 00 98 */ addi r4, r1, 0x98 -/* 80275144 002720A4 90 61 00 A8 */ stw r3, 0xa8(r1) -/* 80275148 002720A8 7F 03 C3 78 */ mr r3, r24 -/* 8027514C 002720AC 38 A1 00 8C */ addi r5, r1, 0x8c -/* 80275150 002720B0 38 C1 00 A8 */ addi r6, r1, 0xa8 -/* 80275154 002720B4 92 A1 00 B4 */ stw r21, 0xb4(r1) -/* 80275158 002720B8 92 C1 00 B0 */ stw r22, 0xb0(r1) -/* 8027515C 002720BC 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80275160 002720C0 4B DD 7C DD */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -/* 80275164 002720C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80275168 002720C8 40 82 00 30 */ bne lbl_80275198 -/* 8027516C 002720CC 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275170 002720D0 38 60 00 01 */ li r3, 1 -/* 80275174 002720D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80275178 002720D8 98 17 10 54 */ stb r0, 0x1054(r23) -/* 8027517C 002720DC 48 00 00 1C */ b lbl_80275198 -lbl_80275180: -/* 80275180 002720E0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80275184 002720E4 4C 40 13 82 */ cror 2, 0, 2 -/* 80275188 002720E8 40 82 00 10 */ bne lbl_80275198 -/* 8027518C 002720EC C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80275190 002720F0 EC 00 B8 28 */ fsubs f0, f0, f23 -/* 80275194 002720F4 EF 18 00 2A */ fadds f24, f24, f0 -lbl_80275198: -/* 80275198 002720F8 80 77 10 28 */ lwz r3, 0x1028(r23) -/* 8027519C 002720FC 38 81 00 8C */ addi r4, r1, 0x8c -/* 802751A0 00272100 81 83 00 00 */ lwz r12, 0(r3) -/* 802751A4 00272104 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802751A8 00272108 7D 89 03 A6 */ mtctr r12 -/* 802751AC 0027210C 4E 80 04 21 */ bctrl -/* 802751B0 00272110 48 00 00 C0 */ b lbl_80275270 -lbl_802751B4: -/* 802751B4 00272114 48 00 03 F1 */ bl sub_802755a4 -/* 802751B8 00272118 2C 03 00 00 */ cmpwi r3, 0 -/* 802751BC 0027211C 41 82 00 B4 */ beq lbl_80275270 -/* 802751C0 00272120 C0 22 BC 84 */ lfs f1, lbl_805AD9A4@sda21(r2) -/* 802751C4 00272124 38 81 00 0C */ addi r4, r1, 0xc -/* 802751C8 00272128 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 802751CC 0027212C 38 6D 98 C0 */ addi r3, r13, lbl_805A8480@sda21 -/* 802751D0 00272130 38 AD 98 C4 */ addi r5, r13, lbl_805A8484@sda21 -/* 802751D4 00272134 EC 01 05 F8 */ fmsubs f0, f1, f23, f0 -/* 802751D8 00272138 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802751DC 0027213C 4B D9 70 D9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802751E0 00272140 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) -/* 802751E4 00272144 38 81 00 08 */ addi r4, r1, 8 -/* 802751E8 00272148 C3 A3 00 00 */ lfs f29, 0(r3) -/* 802751EC 0027214C 38 6D 98 C8 */ addi r3, r13, lbl_805A8488@sda21 -/* 802751F0 00272150 EC 00 B8 2A */ fadds f0, f0, f23 -/* 802751F4 00272154 38 AD 98 CC */ addi r5, r13, lbl_805A848C@sda21 -/* 802751F8 00272158 D0 01 00 08 */ stfs f0, 8(r1) -/* 802751FC 0027215C 4B D9 70 B9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80275200 00272160 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80275204 00272164 EC BC 07 72 */ fmuls f5, f28, f29 -/* 80275208 00272168 C0 23 00 00 */ lfs f1, 0(r3) -/* 8027520C 0027216C EC 7B 07 72 */ fmuls f3, f27, f29 -/* 80275210 00272170 EC E0 E8 28 */ fsubs f7, f0, f29 -/* 80275214 00272174 C0 C1 00 9C */ lfs f6, 0x9c(r1) -/* 80275218 00272178 C0 81 00 A0 */ lfs f4, 0xa0(r1) -/* 8027521C 0027217C EC 1A 07 72 */ fmuls f0, f26, f29 -/* 80275220 00272180 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 80275224 00272184 EC A6 29 FA */ fmadds f5, f6, f7, f5 -/* 80275228 00272188 EC 64 19 FA */ fmadds f3, f4, f7, f3 -/* 8027522C 0027218C 7E E3 BB 78 */ mr r3, r23 -/* 80275230 00272190 EC 02 01 FA */ fmadds f0, f2, f7, f0 -/* 80275234 00272194 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 80275238 00272198 FC 40 08 90 */ fmr f2, f1 -/* 8027523C 0027219C 7F 26 CB 78 */ mr r6, r25 -/* 80275240 002721A0 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80275244 002721A4 38 81 00 98 */ addi r4, r1, 0x98 -/* 80275248 002721A8 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8027524C 002721AC D0 61 00 88 */ stfs f3, 0x88(r1) -/* 80275250 002721B0 C0 7D 00 00 */ lfs f3, 0(r29) -/* 80275254 002721B4 4B FF F7 95 */ bl sub_802749e8 -/* 80275258 002721B8 80 7B 00 04 */ lwz r3, 4(r27) -/* 8027525C 002721BC FC 20 F8 90 */ fmr f1, f31 -/* 80275260 002721C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80275264 002721C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80275268 002721C8 7D 89 03 A6 */ mtctr r12 -/* 8027526C 002721CC 4E 80 04 21 */ bctrl -lbl_80275270: -/* 80275270 002721D0 80 7A 00 04 */ lwz r3, 4(r26) -/* 80275274 002721D4 FC 20 F8 90 */ fmr f1, f31 -/* 80275278 002721D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027527C 002721DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80275280 002721E0 7D 89 03 A6 */ mtctr r12 -/* 80275284 002721E4 4E 80 04 21 */ bctrl -/* 80275288 002721E8 3B 39 00 01 */ addi r25, r25, 1 -/* 8027528C 002721EC 3B BD 00 04 */ addi r29, r29, 4 -/* 80275290 002721F0 2C 19 00 02 */ cmpwi r25, 2 -/* 80275294 002721F4 3B 9C 00 04 */ addi r28, r28, 4 -/* 80275298 002721F8 3B 7B 00 08 */ addi r27, r27, 8 -/* 8027529C 002721FC 3B 5A 00 08 */ addi r26, r26, 8 -/* 802752A0 00272200 3B DE 00 04 */ addi r30, r30, 4 -/* 802752A4 00272204 41 80 FC 9C */ blt lbl_80274F40 -/* 802752A8 00272208 80 77 10 28 */ lwz r3, 0x1028(r23) -/* 802752AC 0027220C FC 20 F8 90 */ fmr f1, f31 -/* 802752B0 00272210 81 83 00 00 */ lwz r12, 0(r3) -/* 802752B4 00272214 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802752B8 00272218 7D 89 03 A6 */ mtctr r12 -/* 802752BC 0027221C 4E 80 04 21 */ bctrl -/* 802752C0 00272220 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) -/* 802752C4 00272224 C0 02 BC 88 */ lfs f0, lbl_805AD9A8@sda21(r2) -/* 802752C8 00272228 EF 21 06 32 */ fmuls f25, f1, f24 -/* 802752CC 0027222C FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 802752D0 00272230 40 81 00 38 */ ble lbl_80275308 -/* 802752D4 00272234 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 802752D8 00272238 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802752DC 0027223C 41 82 00 2C */ beq lbl_80275308 -/* 802752E0 00272240 80 77 10 28 */ lwz r3, 0x1028(r23) -/* 802752E4 00272244 38 80 00 01 */ li r4, 1 -/* 802752E8 00272248 81 83 00 00 */ lwz r12, 0(r3) -/* 802752EC 0027224C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802752F0 00272250 7D 89 03 A6 */ mtctr r12 -/* 802752F4 00272254 4E 80 04 21 */ bctrl -/* 802752F8 00272258 7E E3 BB 78 */ mr r3, r23 -/* 802752FC 0027225C 7F 04 C3 78 */ mr r4, r24 -/* 80275300 00272260 38 A0 00 01 */ li r5, 1 -/* 80275304 00272264 4B FF F0 DD */ bl sub_802743e0 -lbl_80275308: -/* 80275308 00272268 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 8027530C 0027226C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) -/* 80275310 00272270 EC 38 08 28 */ fsubs f1, f24, f1 -/* 80275314 00272274 FC 20 0A 10 */ fabs f1, f1 -/* 80275318 00272278 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027531C 0027227C 41 80 02 2C */ blt lbl_80275548 -/* 80275320 00272280 80 78 08 4C */ lwz r3, 0x84c(r24) -/* 80275324 00272284 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80275328 00272288 2C 00 00 01 */ cmpwi r0, 1 -/* 8027532C 0027228C 40 82 00 48 */ bne lbl_80275374 -/* 80275330 00272290 80 63 07 68 */ lwz r3, 0x768(r3) -/* 80275334 00272294 88 03 1D E4 */ lbz r0, 0x1de4(r3) -/* 80275338 00272298 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027533C 0027229C 41 82 00 14 */ beq lbl_80275350 -/* 80275340 002722A0 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275344 002722A4 38 60 00 01 */ li r3, 1 -/* 80275348 002722A8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8027534C 002722AC 98 17 10 54 */ stb r0, 0x1054(r23) -lbl_80275350: -/* 80275350 002722B0 80 78 08 4C */ lwz r3, 0x84c(r24) -/* 80275354 002722B4 4B D9 B9 05 */ bl GetAttachedActorStruggle__7CPlayerCFv -/* 80275358 002722B8 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 8027535C 002722BC FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80275360 002722C0 40 82 00 14 */ bne lbl_80275374 -/* 80275364 002722C4 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275368 002722C8 38 60 00 01 */ li r3, 1 -/* 8027536C 002722CC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80275370 002722D0 98 17 10 54 */ stb r0, 0x1054(r23) -lbl_80275374: -/* 80275374 002722D4 83 38 08 4C */ lwz r25, 0x84c(r24) -/* 80275378 002722D8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027537C 002722DC 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) -/* 80275380 002722E0 4B D8 F9 39 */ bl string_l__4rstlFPCc -/* 80275384 002722E4 7E E4 BB 78 */ mr r4, r23 -/* 80275388 002722E8 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8027538C 002722EC 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80275390 002722F0 4B E0 35 E9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80275394 002722F4 C3 61 00 EC */ lfs f27, 0xec(r1) -/* 80275398 002722F8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027539C 002722FC C3 41 00 DC */ lfs f26, 0xdc(r1) -/* 802753A0 00272300 C2 E1 00 CC */ lfs f23, 0xcc(r1) -/* 802753A4 00272304 48 0C 87 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802753A8 00272308 C0 59 00 50 */ lfs f2, 0x50(r25) -/* 802753AC 0027230C 38 61 00 3C */ addi r3, r1, 0x3c -/* 802753B0 00272310 C0 39 00 60 */ lfs f1, 0x60(r25) -/* 802753B4 00272314 38 81 00 30 */ addi r4, r1, 0x30 -/* 802753B8 00272318 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 802753BC 0027231C EC 5A 10 28 */ fsubs f2, f26, f2 -/* 802753C0 00272320 EC 3B 08 28 */ fsubs f1, f27, f1 -/* 802753C4 00272324 EC 17 00 28 */ fsubs f0, f23, f0 -/* 802753C8 00272328 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 802753CC 0027232C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802753D0 00272330 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802753D4 00272334 48 09 F4 7D */ bl AsNormalized__9CVector3fCFv -/* 802753D8 00272338 80 19 02 F8 */ lwz r0, 0x2f8(r25) -/* 802753DC 0027233C C3 61 00 3C */ lfs f27, 0x3c(r1) -/* 802753E0 00272340 2C 00 00 01 */ cmpwi r0, 1 -/* 802753E4 00272344 C3 81 00 40 */ lfs f28, 0x40(r1) -/* 802753E8 00272348 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 802753EC 0027234C 40 82 00 0C */ bne lbl_802753F8 -/* 802753F0 00272350 C3 42 BC 90 */ lfs f26, lbl_805AD9B0@sda21(r2) -/* 802753F4 00272354 48 00 00 1C */ b lbl_80275410 -lbl_802753F8: -/* 802753F8 00272358 80 19 03 04 */ lwz r0, 0x304(r25) -/* 802753FC 0027235C 2C 00 00 00 */ cmpwi r0, 0 -/* 80275400 00272360 40 82 00 0C */ bne lbl_8027540C -/* 80275404 00272364 C3 42 BC 94 */ lfs f26, lbl_805AD9B4@sda21(r2) -/* 80275408 00272368 48 00 00 08 */ b lbl_80275410 -lbl_8027540C: -/* 8027540C 0027236C C3 42 BC 98 */ lfs f26, lbl_805AD9B8@sda21(r2) -lbl_80275410: -/* 80275410 00272370 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275414 00272374 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80275418 00272378 41 82 00 10 */ beq lbl_80275428 -/* 8027541C 0027237C C0 02 BC 50 */ lfs f0, lbl_805AD970@sda21(r2) -/* 80275420 00272380 FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 80275424 00272384 41 81 00 14 */ bgt lbl_80275438 -lbl_80275428: -/* 80275428 00272388 C0 37 10 48 */ lfs f1, 0x1048(r23) -/* 8027542C 0027238C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80275430 00272390 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275434 00272394 40 81 00 AC */ ble lbl_802754E0 -lbl_80275438: -/* 80275438 00272398 28 00 00 00 */ cmplwi r0, 0 -/* 8027543C 0027239C C2 F9 00 E8 */ lfs f23, 0xe8(r25) -/* 80275440 002723A0 C3 02 96 A0 */ lfs f24, lbl_805AB3C0@sda21(r2) -/* 80275444 002723A4 41 82 00 28 */ beq lbl_8027546C -/* 80275448 002723A8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 8027544C 002723AC 38 60 00 00 */ li r3, 0 -/* 80275450 002723B0 88 17 10 54 */ lbz r0, 0x1054(r23) -/* 80275454 002723B4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80275458 002723B8 EC 20 C0 24 */ fdivs f1, f0, f24 -/* 8027545C 002723BC 98 17 10 54 */ stb r0, 0x1054(r23) -/* 80275460 002723C0 48 0A 00 A1 */ bl SqrtF__5CMathFf -/* 80275464 002723C4 D0 37 10 48 */ stfs f1, 0x1048(r23) -/* 80275468 002723C8 48 00 00 10 */ b lbl_80275478 -lbl_8027546C: -/* 8027546C 002723CC C0 17 10 48 */ lfs f0, 0x1048(r23) -/* 80275470 002723D0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80275474 002723D4 D0 17 10 48 */ stfs f0, 0x1048(r23) -lbl_80275478: -/* 80275478 002723D8 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 8027547C 002723DC EC 20 06 32 */ fmuls f1, f0, f24 -/* 80275480 002723E0 48 0A 00 81 */ bl SqrtF__5CMathFf -/* 80275484 002723E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80275488 002723E8 EC 77 00 72 */ fmuls f3, f23, f1 -/* 8027548C 002723EC C0 5F 00 04 */ lfs f2, 4(r31) -/* 80275490 002723F0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80275494 002723F4 C0 03 66 F4 */ lfs f0, lbl_805A66F4@l(r3) -/* 80275498 002723F8 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8027549C 002723FC EC 23 00 72 */ fmuls f1, f3, f1 -/* 802754A0 00272400 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802754A4 00272404 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 802754A8 00272408 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 802754AC 0027240C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 802754B0 00272410 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802754B4 00272414 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802754B8 00272418 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802754BC 0027241C 4B DA 60 79 */ bl Identity__10CAxisAngleFv -/* 802754C0 00272420 7C 65 1B 78 */ mr r5, r3 -/* 802754C4 00272424 7F 23 CB 78 */ mr r3, r25 -/* 802754C8 00272428 38 81 00 24 */ addi r4, r1, 0x24 -/* 802754CC 0027242C 4B EA 6E CD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 802754D0 00272430 7F 23 CB 78 */ mr r3, r25 -/* 802754D4 00272434 7F 05 C3 78 */ mr r5, r24 -/* 802754D8 00272438 38 80 00 02 */ li r4, 2 -/* 802754DC 0027243C 48 01 0F 11 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -lbl_802754E0: -/* 802754E0 00272440 C0 19 00 E8 */ lfs f0, 0xe8(r25) -/* 802754E4 00272444 EC 40 06 F2 */ fmuls f2, f0, f27 -/* 802754E8 00272448 EC 20 07 32 */ fmuls f1, f0, f28 -/* 802754EC 0027244C EC 00 07 72 */ fmuls f0, f0, f29 -/* 802754F0 00272450 EC 5A 00 B2 */ fmuls f2, f26, f2 -/* 802754F4 00272454 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 802754F8 00272458 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 802754FC 0027245C EC 59 00 B2 */ fmuls f2, f25, f2 -/* 80275500 00272460 EC 39 00 72 */ fmuls f1, f25, f1 -/* 80275504 00272464 EC 19 00 32 */ fmuls f0, f25, f0 -/* 80275508 00272468 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8027550C 0027246C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80275510 00272470 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80275514 00272474 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80275518 00272478 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8027551C 0027247C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80275520 00272480 4B DA 60 15 */ bl Identity__10CAxisAngleFv -/* 80275524 00272484 7C 65 1B 78 */ mr r5, r3 -/* 80275528 00272488 7F 23 CB 78 */ mr r3, r25 -/* 8027552C 0027248C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80275530 00272490 4B EA 6E 69 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 80275534 00272494 7F 23 CB 78 */ mr r3, r25 -/* 80275538 00272498 4B EA 5C 45 */ bl UseCollisionImpulses__13CPhysicsActorFv -/* 8027553C 0027249C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 80275540 002724A0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80275544 002724A4 D0 19 02 D4 */ stfs f0, 0x2d4(r25) -lbl_80275548: -/* 80275548 002724A8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 -/* 8027554C 002724AC CB E1 01 D0 */ lfd f31, 0x1d0(r1) -/* 80275550 002724B0 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 -/* 80275554 002724B4 CB C1 01 C0 */ lfd f30, 0x1c0(r1) -/* 80275558 002724B8 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 -/* 8027555C 002724BC CB A1 01 B0 */ lfd f29, 0x1b0(r1) -/* 80275560 002724C0 E3 81 01 A8 */ psq_l f28, 424(r1), 0, qr0 -/* 80275564 002724C4 CB 81 01 A0 */ lfd f28, 0x1a0(r1) -/* 80275568 002724C8 E3 61 01 98 */ psq_l f27, 408(r1), 0, qr0 -/* 8027556C 002724CC CB 61 01 90 */ lfd f27, 0x190(r1) -/* 80275570 002724D0 E3 41 01 88 */ psq_l f26, 392(r1), 0, qr0 -/* 80275574 002724D4 CB 41 01 80 */ lfd f26, 0x180(r1) -/* 80275578 002724D8 E3 21 01 78 */ psq_l f25, 376(r1), 0, qr0 -/* 8027557C 002724DC CB 21 01 70 */ lfd f25, 0x170(r1) -/* 80275580 002724E0 E3 01 01 68 */ psq_l f24, 360(r1), 0, qr0 -/* 80275584 002724E4 CB 01 01 60 */ lfd f24, 0x160(r1) -/* 80275588 002724E8 E2 E1 01 58 */ psq_l f23, 344(r1), 0, qr0 -/* 8027558C 002724EC CA E1 01 50 */ lfd f23, 0x150(r1) -/* 80275590 002724F0 BA A1 01 24 */ lmw r21, 0x124(r1) -/* 80275594 002724F4 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 80275598 002724F8 7C 08 03 A6 */ mtlr r0 -/* 8027559C 002724FC 38 21 01 E0 */ addi r1, r1, 0x1e0 -/* 802755A0 00272500 4E 80 00 20 */ blr - -.global sub_802755a4 -sub_802755a4: -/* 802755A4 00272504 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) -/* 802755A8 00272508 4E 80 00 20 */ blr - -.global sub_802755ac -sub_802755ac: -/* 802755AC 0027250C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802755B0 00272510 7C 08 02 A6 */ mflr r0 -/* 802755B4 00272514 90 01 00 34 */ stw r0, 0x34(r1) -/* 802755B8 00272518 BE C1 00 08 */ stmw r22, 8(r1) -/* 802755BC 0027251C 7C 76 1B 78 */ mr r22, r3 -/* 802755C0 00272520 7C B8 2B 78 */ mr r24, r5 -/* 802755C4 00272524 7C 97 23 78 */ mr r23, r4 -/* 802755C8 00272528 3B 40 00 00 */ li r26, 0 -/* 802755CC 0027252C 3B 96 10 04 */ addi r28, r22, 0x1004 -/* 802755D0 00272530 3B 76 10 30 */ addi r27, r22, 0x1030 -/* 802755D4 00272534 54 BD 06 3E */ clrlwi r29, r5, 0x18 -lbl_802755D8: -/* 802755D8 00272538 80 7C 00 04 */ lwz r3, 4(r28) -/* 802755DC 0027253C 7F 04 C3 78 */ mr r4, r24 -/* 802755E0 00272540 81 83 00 00 */ lwz r12, 0(r3) -/* 802755E4 00272544 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802755E8 00272548 7D 89 03 A6 */ mtctr r12 -/* 802755EC 0027254C 4E 80 04 21 */ bctrl -/* 802755F0 00272550 28 1D 00 00 */ cmplwi r29, 0 -/* 802755F4 00272554 41 82 00 68 */ beq lbl_8027565C -/* 802755F8 00272558 88 16 10 54 */ lbz r0, 0x1054(r22) -/* 802755FC 0027255C 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 80275600 00272560 7C 00 E8 40 */ cmplw r0, r29 -/* 80275604 00272564 41 82 00 80 */ beq lbl_80275684 -/* 80275608 00272568 C0 02 BC 68 */ lfs f0, lbl_805AD988@sda21(r2) -/* 8027560C 0027256C 3B 20 00 00 */ li r25, 0 -/* 80275610 00272570 3B E0 00 01 */ li r31, 1 -/* 80275614 00272574 D0 1B 00 00 */ stfs f0, 0(r27) -/* 80275618 00272578 83 DC 00 04 */ lwz r30, 4(r28) -/* 8027561C 0027257C 48 00 00 30 */ b lbl_8027564C -lbl_80275620: -/* 80275620 00272580 80 7C 00 04 */ lwz r3, 4(r28) -/* 80275624 00272584 C8 22 BC A0 */ lfd f1, lbl_805AD9C0@sda21(r2) -/* 80275628 00272588 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 8027562C 0027258C 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a -/* 80275630 00272590 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 80275634 00272594 80 7C 00 04 */ lwz r3, 4(r28) -/* 80275638 00272598 81 83 00 00 */ lwz r12, 0(r3) -/* 8027563C 0027259C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80275640 002725A0 7D 89 03 A6 */ mtctr r12 -/* 80275644 002725A4 4E 80 04 21 */ bctrl -/* 80275648 002725A8 3B 39 00 01 */ addi r25, r25, 1 -lbl_8027564C: -/* 8027564C 002725AC 80 1E 01 60 */ lwz r0, 0x160(r30) -/* 80275650 002725B0 7C 19 00 00 */ cmpw r25, r0 -/* 80275654 002725B4 41 80 FF CC */ blt lbl_80275620 -/* 80275658 002725B8 48 00 00 2C */ b lbl_80275684 -lbl_8027565C: -/* 8027565C 002725BC 80 76 10 28 */ lwz r3, 0x1028(r22) -/* 80275660 002725C0 38 80 00 00 */ li r4, 0 -/* 80275664 002725C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80275668 002725C8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8027566C 002725CC 7D 89 03 A6 */ mtctr r12 -/* 80275670 002725D0 4E 80 04 21 */ bctrl -/* 80275674 002725D4 7E C3 B3 78 */ mr r3, r22 -/* 80275678 002725D8 7E E4 BB 78 */ mr r4, r23 -/* 8027567C 002725DC 38 A0 00 00 */ li r5, 0 -/* 80275680 002725E0 4B FF ED 61 */ bl sub_802743e0 -lbl_80275684: -/* 80275684 002725E4 3B 5A 00 01 */ addi r26, r26, 1 -/* 80275688 002725E8 3B 7B 00 04 */ addi r27, r27, 4 -/* 8027568C 002725EC 2C 1A 00 02 */ cmpwi r26, 2 -/* 80275690 002725F0 3B 9C 00 08 */ addi r28, r28, 8 -/* 80275694 002725F4 41 80 FF 44 */ blt lbl_802755D8 -/* 80275698 002725F8 88 16 10 54 */ lbz r0, 0x1054(r22) -/* 8027569C 002725FC 53 00 3E 30 */ rlwimi r0, r24, 7, 0x18, 0x18 -/* 802756A0 00272600 98 16 10 54 */ stb r0, 0x1054(r22) -/* 802756A4 00272604 BA C1 00 08 */ lmw r22, 8(r1) -/* 802756A8 00272608 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802756AC 0027260C 7C 08 03 A6 */ mtlr r0 -/* 802756B0 00272610 38 21 00 30 */ addi r1, r1, 0x30 -/* 802756B4 00272614 4E 80 00 20 */ blr - -.global sub_802756b8 -sub_802756b8: -/* 802756B8 00272618 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802756BC 0027261C 7C 08 02 A6 */ mflr r0 -/* 802756C0 00272620 90 01 00 24 */ stw r0, 0x24(r1) -/* 802756C4 00272624 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802756C8 00272628 7C 9F 23 78 */ mr r31, r4 -/* 802756CC 0027262C 38 81 00 08 */ addi r4, r1, 8 -/* 802756D0 00272630 A0 03 08 CC */ lhz r0, 0x8cc(r3) -/* 802756D4 00272634 7F E3 FB 78 */ mr r3, r31 -/* 802756D8 00272638 B0 01 00 08 */ sth r0, 8(r1) -/* 802756DC 0027263C 4B DD 6E 99 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802756E0 00272640 7C 64 1B 78 */ mr r4, r3 -/* 802756E4 00272644 38 61 00 0C */ addi r3, r1, 0xc -/* 802756E8 00272648 4B E3 9C 65 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802756EC 0027264C 80 63 00 04 */ lwz r3, 4(r3) -/* 802756F0 00272650 28 03 00 00 */ cmplwi r3, 0 -/* 802756F4 00272654 41 82 00 14 */ beq lbl_80275708 -/* 802756F8 00272658 7F E6 FB 78 */ mr r6, r31 -/* 802756FC 0027265C 38 80 00 28 */ li r4, 0x28 -/* 80275700 00272660 38 A0 00 29 */ li r5, 0x29 -/* 80275704 00272664 4B DD EB B1 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_80275708: -/* 80275708 00272668 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027570C 0027266C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80275710 00272670 7C 08 03 A6 */ mtlr r0 -/* 80275714 00272674 38 21 00 20 */ addi r1, r1, 0x20 -/* 80275718 00272678 4E 80 00 20 */ blr - -.global sub_8027571c -sub_8027571c: -/* 8027571C 0027267C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275720 00272680 7C 08 02 A6 */ mflr r0 -/* 80275724 00272684 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275728 00272688 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027572C 0027268C 7C 9F 23 78 */ mr r31, r4 -/* 80275730 00272690 38 81 00 08 */ addi r4, r1, 8 -/* 80275734 00272694 A0 03 08 CC */ lhz r0, 0x8cc(r3) -/* 80275738 00272698 7F E3 FB 78 */ mr r3, r31 -/* 8027573C 0027269C B0 01 00 08 */ sth r0, 8(r1) -/* 80275740 002726A0 4B DD 6E 35 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80275744 002726A4 7C 64 1B 78 */ mr r4, r3 -/* 80275748 002726A8 38 61 00 0C */ addi r3, r1, 0xc -/* 8027574C 002726AC 4B E3 9C 01 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80275750 002726B0 80 63 00 04 */ lwz r3, 4(r3) -/* 80275754 002726B4 28 03 00 00 */ cmplwi r3, 0 -/* 80275758 002726B8 41 82 00 14 */ beq lbl_8027576C -/* 8027575C 002726BC 7F E6 FB 78 */ mr r6, r31 -/* 80275760 002726C0 38 80 00 28 */ li r4, 0x28 -/* 80275764 002726C4 38 A0 00 29 */ li r5, 0x29 -/* 80275768 002726C8 4B DD E7 6D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_8027576C: -/* 8027576C 002726CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80275770 002726D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80275774 002726D4 7C 08 03 A6 */ mtlr r0 -/* 80275778 002726D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027577C 002726DC 4E 80 00 20 */ blr - -.global sub_80275780 -sub_80275780: -/* 80275780 002726E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275784 002726E4 7C 08 02 A6 */ mflr r0 -/* 80275788 002726E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027578C 002726EC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80275790 002726F0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80275794 002726F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275798 002726F8 7C 7F 1B 78 */ mr r31, r3 -/* 8027579C 002726FC FF E0 08 90 */ fmr f31, f1 -/* 802757A0 00272700 80 63 04 50 */ lwz r3, 0x450(r3) -/* 802757A4 00272704 4B EC 49 29 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 802757A8 00272708 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802757AC 0027270C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802757B0 00272710 40 82 00 34 */ bne lbl_802757E4 -/* 802757B4 00272714 C0 1F 10 7C */ lfs f0, 0x107c(r31) -/* 802757B8 00272718 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 802757BC 0027271C D0 1F 10 7C */ stfs f0, 0x107c(r31) -/* 802757C0 00272720 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 802757C4 00272724 C0 1F 10 84 */ lfs f0, 0x1084(r31) -/* 802757C8 00272728 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802757CC 0027272C C0 23 02 00 */ lfs f1, 0x200(r3) -/* 802757D0 00272730 EC 1F 00 7C */ fnmsubs f0, f31, f1, f0 -/* 802757D4 00272734 D0 1F 10 84 */ stfs f0, 0x1084(r31) -/* 802757D8 00272738 C0 1F 09 20 */ lfs f0, 0x920(r31) -/* 802757DC 0027273C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 802757E0 00272740 D0 1F 09 20 */ stfs f0, 0x920(r31) -lbl_802757E4: -/* 802757E4 00272744 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 802757E8 00272748 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802757EC 0027274C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 802757F0 00272750 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802757F4 00272754 7C 08 03 A6 */ mtlr r0 -/* 802757F8 00272758 38 21 00 20 */ addi r1, r1, 0x20 -/* 802757FC 0027275C 4E 80 00 20 */ blr - -.global sub_80275800 -sub_80275800: -/* 80275800 00272760 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80275804 00272764 7C 08 02 A6 */ mflr r0 -/* 80275808 00272768 38 C0 00 01 */ li r6, 1 -/* 8027580C 0027276C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80275810 00272770 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80275814 00272774 3B E0 13 C1 */ li r31, 0x13c1 -/* 80275818 00272778 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8027581C 0027277C 7C 9E 23 78 */ mr r30, r4 -/* 80275820 00272780 7F C5 F3 78 */ mr r5, r30 -/* 80275824 00272784 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80275828 00272788 7C 7D 1B 78 */ mr r29, r3 -/* 8027582C 0027278C 38 61 00 0C */ addi r3, r1, 0xc -/* 80275830 00272790 7F A4 EB 78 */ mr r4, r29 -/* 80275834 00272794 48 00 11 AD */ bl sub_802769e0 -/* 80275838 00272798 A0 61 00 0C */ lhz r3, 0xc(r1) -/* 8027583C 0027279C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80275840 002727A0 B0 61 00 10 */ sth r3, 0x10(r1) -/* 80275844 002727A4 7C 03 00 40 */ cmplw r3, r0 -/* 80275848 002727A8 41 82 00 8C */ beq lbl_802758D4 -/* 8027584C 002727AC B0 61 00 08 */ sth r3, 8(r1) -/* 80275850 002727B0 7F C3 F3 78 */ mr r3, r30 -/* 80275854 002727B4 38 81 00 08 */ addi r4, r1, 8 -/* 80275858 002727B8 4B DD 6D 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027585C 002727BC 7C 64 1B 78 */ mr r4, r3 -/* 80275860 002727C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80275864 002727C4 4B E3 0C E9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80275868 002727C8 80 63 00 04 */ lwz r3, 4(r3) -/* 8027586C 002727CC 28 03 00 00 */ cmplwi r3, 0 -/* 80275870 002727D0 41 82 00 64 */ beq lbl_802758D4 -/* 80275874 002727D4 C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 80275878 002727D8 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 8027587C 002727DC C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80275880 002727E0 EC C7 00 28 */ fsubs f6, f7, f0 -/* 80275884 002727E4 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80275888 002727E8 C1 03 00 60 */ lfs f8, 0x60(r3) -/* 8027588C 002727EC EC 83 00 28 */ fsubs f4, f3, f0 -/* 80275890 002727F0 C0 1D 00 60 */ lfs f0, 0x60(r29) -/* 80275894 002727F4 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 80275898 002727F8 EC A8 00 28 */ fsubs f5, f8, f0 -/* 8027589C 002727FC C0 02 BC 18 */ lfs f0, lbl_805AD938@sda21(r2) -/* 802758A0 00272800 EC 44 01 32 */ fmuls f2, f4, f4 -/* 802758A4 00272804 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 802758A8 00272808 EC 65 01 72 */ fmuls f3, f5, f5 -/* 802758AC 0027280C EC 22 08 2A */ fadds f1, f2, f1 -/* 802758B0 00272810 D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 802758B4 00272814 D1 01 00 30 */ stfs f8, 0x30(r1) -/* 802758B8 00272818 EC 23 08 2A */ fadds f1, f3, f1 -/* 802758BC 0027281C D0 81 00 34 */ stfs f4, 0x34(r1) -/* 802758C0 00272820 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802758C4 00272824 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 802758C8 00272828 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 802758CC 0027282C 40 81 00 08 */ ble lbl_802758D4 -/* 802758D0 00272830 63 FF 00 02 */ ori r31, r31, 2 -lbl_802758D4: -/* 802758D4 00272834 88 1D 10 54 */ lbz r0, 0x1054(r29) -/* 802758D8 00272838 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802758DC 0027283C 40 82 00 08 */ bne lbl_802758E4 -/* 802758E0 00272840 63 FF 04 00 */ ori r31, r31, 0x400 -lbl_802758E4: -/* 802758E4 00272844 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 802758E8 00272848 C0 DD 00 48 */ lfs f6, 0x48(r29) -/* 802758EC 0027284C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 802758F0 00272850 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 802758F4 00272854 C0 5D 00 38 */ lfs f2, 0x38(r29) -/* 802758F8 00272858 EC 61 00 28 */ fsubs f3, f1, f0 -/* 802758FC 0027285C C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80275900 00272860 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80275904 00272864 C0 FD 00 58 */ lfs f7, 0x58(r29) -/* 80275908 00272868 EC A1 00 28 */ fsubs f5, f1, f0 -/* 8027590C 0027286C C0 83 00 60 */ lfs f4, 0x60(r3) -/* 80275910 00272870 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 80275914 00272874 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80275918 00272878 C0 02 BC A8 */ lfs f0, lbl_805AD9C8@sda21(r2) -/* 8027591C 0027287C EC 64 18 28 */ fsubs f3, f4, f3 -/* 80275920 00272880 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80275924 00272884 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80275928 00272888 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 8027592C 0027288C EC 27 08 FA */ fmadds f1, f7, f3, f1 -/* 80275930 00272890 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80275934 00272894 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275938 00272898 40 81 00 08 */ ble lbl_80275940 -/* 8027593C 0027289C 63 FF 00 3C */ ori r31, r31, 0x3c -lbl_80275940: -/* 80275940 002728A0 7F A3 EB 78 */ mr r3, r29 -/* 80275944 002728A4 7F C4 F3 78 */ mr r4, r30 -/* 80275948 002728A8 4B FF E3 31 */ bl sub_80273c78 -/* 8027594C 002728AC 2C 03 00 00 */ cmpwi r3, 0 -/* 80275950 002728B0 40 82 00 08 */ bne lbl_80275958 -/* 80275954 002728B4 63 FF 20 00 */ ori r31, r31, 0x2000 -lbl_80275958: -/* 80275958 002728B8 3C 80 80 3D */ lis r4, lbl_803D5428@ha -/* 8027595C 002728BC 7F A3 EB 78 */ mr r3, r29 -/* 80275960 002728C0 38 A4 54 28 */ addi r5, r4, lbl_803D5428@l -/* 80275964 002728C4 7F C4 F3 78 */ mr r4, r30 -/* 80275968 002728C8 C0 25 00 04 */ lfs f1, 4(r5) -/* 8027596C 002728CC 48 00 18 B9 */ bl sub_80277224 -/* 80275970 002728D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80275974 002728D4 41 82 00 08 */ beq lbl_8027597C -/* 80275978 002728D8 63 FF 08 00 */ ori r31, r31, 0x800 -lbl_8027597C: -/* 8027597C 002728DC 7F A3 EB 78 */ mr r3, r29 -/* 80275980 002728E0 7F C4 F3 78 */ mr r4, r30 -/* 80275984 002728E4 7F E5 FB 78 */ mr r5, r31 -/* 80275988 002728E8 48 00 00 21 */ bl sub_802759a8 -/* 8027598C 002728EC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80275990 002728F0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80275994 002728F4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80275998 002728F8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8027599C 002728FC 7C 08 03 A6 */ mtlr r0 -/* 802759A0 00272900 38 21 00 50 */ addi r1, r1, 0x50 -/* 802759A4 00272904 4E 80 00 20 */ blr - -.global sub_802759a8 -sub_802759a8: -/* 802759A8 00272908 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802759AC 0027290C 7C 08 02 A6 */ mflr r0 -/* 802759B0 00272910 90 01 00 44 */ stw r0, 0x44(r1) -/* 802759B4 00272914 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802759B8 00272918 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802759BC 0027291C DB C1 00 20 */ stfd f30, 0x20(r1) -/* 802759C0 00272920 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 802759C4 00272924 BF 41 00 08 */ stmw r26, 8(r1) -/* 802759C8 00272928 7C 7A 1B 78 */ mr r26, r3 -/* 802759CC 0027292C C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) -/* 802759D0 00272930 80 03 05 70 */ lwz r0, 0x570(r3) -/* 802759D4 00272934 7C 9B 23 78 */ mr r27, r4 -/* 802759D8 00272938 7C BC 2B 78 */ mr r28, r5 -/* 802759DC 0027293C 3B A0 00 00 */ li r29, 0 -/* 802759E0 00272940 1C 00 00 3C */ mulli r0, r0, 0x3c -/* 802759E4 00272944 3B E0 00 01 */ li r31, 1 -/* 802759E8 00272948 7F DA 02 14 */ add r30, r26, r0 -/* 802759EC 0027294C 3B DE 11 64 */ addi r30, r30, 0x1164 -lbl_802759F0: -/* 802759F0 00272950 7F E0 E8 30 */ slw r0, r31, r29 -/* 802759F4 00272954 7F 80 00 39 */ and. r0, r28, r0 -/* 802759F8 00272958 41 82 00 2C */ beq lbl_80275A24 -/* 802759FC 0027295C 7F 43 D3 78 */ mr r3, r26 -/* 80275A00 00272960 7F A4 EB 78 */ mr r4, r29 -/* 80275A04 00272964 48 00 03 65 */ bl sub_80275d68 -/* 80275A08 00272968 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80275A0C 0027296C 41 82 00 18 */ beq lbl_80275A24 -/* 80275A10 00272970 7F 43 D3 78 */ mr r3, r26 -/* 80275A14 00272974 7F C4 F3 78 */ mr r4, r30 -/* 80275A18 00272978 7F A5 EB 78 */ mr r5, r29 -/* 80275A1C 0027297C 48 00 00 E9 */ bl sub_80275b04 -/* 80275A20 00272980 EF FF 08 2A */ fadds f31, f31, f1 -lbl_80275A24: -/* 80275A24 00272984 3B BD 00 01 */ addi r29, r29, 1 -/* 80275A28 00272988 2C 1D 00 0D */ cmpwi r29, 0xd -/* 80275A2C 0027298C 40 81 FF C4 */ ble lbl_802759F0 -/* 80275A30 00272990 C0 02 BC AC */ lfs f0, lbl_805AD9CC@sda21(r2) -/* 80275A34 00272994 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80275A38 00272998 40 81 00 0C */ ble lbl_80275A44 -/* 80275A3C 0027299C 7F 43 D3 78 */ mr r3, r26 -/* 80275A40 002729A0 48 00 01 29 */ bl sub_80275b68 -lbl_80275A44: -/* 80275A44 002729A4 FC 40 F8 90 */ fmr f2, f31 -/* 80275A48 002729A8 80 7B 09 00 */ lwz r3, 0x900(r27) -/* 80275A4C 002729AC C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80275A50 002729B0 48 09 CA F5 */ bl Range__9CRandom16Fff -/* 80275A54 002729B4 38 00 FF FF */ li r0, -1 -/* 80275A58 002729B8 FF E0 08 90 */ fmr f31, f1 -/* 80275A5C 002729BC 90 1A 12 54 */ stw r0, 0x1254(r26) -/* 80275A60 002729C0 3B A0 00 00 */ li r29, 0 -/* 80275A64 002729C4 C3 C2 BC 08 */ lfs f30, lbl_805AD928@sda21(r2) -/* 80275A68 002729C8 3B E0 00 01 */ li r31, 1 -lbl_80275A6C: -/* 80275A6C 002729CC 7F E0 E8 30 */ slw r0, r31, r29 -/* 80275A70 002729D0 7F 80 00 39 */ and. r0, r28, r0 -/* 80275A74 002729D4 41 82 00 60 */ beq lbl_80275AD4 -/* 80275A78 002729D8 7F 43 D3 78 */ mr r3, r26 -/* 80275A7C 002729DC 7F A4 EB 78 */ mr r4, r29 -/* 80275A80 002729E0 48 00 02 E9 */ bl sub_80275d68 -/* 80275A84 002729E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80275A88 002729E8 41 82 00 4C */ beq lbl_80275AD4 -/* 80275A8C 002729EC 7F 43 D3 78 */ mr r3, r26 -/* 80275A90 002729F0 7F C4 F3 78 */ mr r4, r30 -/* 80275A94 002729F4 7F A5 EB 78 */ mr r5, r29 -/* 80275A98 002729F8 48 00 00 6D */ bl sub_80275b04 -/* 80275A9C 002729FC FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 80275AA0 00272A00 40 81 00 30 */ ble lbl_80275AD0 -/* 80275AA4 00272A04 EC 1E 08 2A */ fadds f0, f30, f1 -/* 80275AA8 00272A08 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80275AAC 00272A0C 40 80 00 24 */ bge lbl_80275AD0 -/* 80275AB0 00272A10 57 A0 10 3A */ slwi r0, r29, 2 -/* 80275AB4 00272A14 93 BA 12 54 */ stw r29, 0x1254(r26) -/* 80275AB8 00272A18 7C 7A 02 14 */ add r3, r26, r0 -/* 80275ABC 00272A1C C0 02 BC 84 */ lfs f0, lbl_805AD9A4@sda21(r2) -/* 80275AC0 00272A20 C0 23 12 5C */ lfs f1, 0x125c(r3) -/* 80275AC4 00272A24 EC 01 00 2A */ fadds f0, f1, f0 -/* 80275AC8 00272A28 D0 03 12 5C */ stfs f0, 0x125c(r3) -/* 80275ACC 00272A2C 48 00 00 14 */ b lbl_80275AE0 -lbl_80275AD0: -/* 80275AD0 00272A30 EF DE 08 2A */ fadds f30, f30, f1 -lbl_80275AD4: -/* 80275AD4 00272A34 3B BD 00 01 */ addi r29, r29, 1 -/* 80275AD8 00272A38 2C 1D 00 0D */ cmpwi r29, 0xd -/* 80275ADC 00272A3C 40 81 FF 90 */ ble lbl_80275A6C -lbl_80275AE0: -/* 80275AE0 00272A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80275AE4 00272A44 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80275AE8 00272A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80275AEC 00272A4C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80275AF0 00272A50 BB 41 00 08 */ lmw r26, 8(r1) -/* 80275AF4 00272A54 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80275AF8 00272A58 7C 08 03 A6 */ mtlr r0 -/* 80275AFC 00272A5C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80275B00 00272A60 4E 80 00 20 */ blr - -.global sub_80275b04 -sub_80275b04: -/* 80275B04 00272A64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275B08 00272A68 7C 08 02 A6 */ mflr r0 -/* 80275B0C 00272A6C C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80275B10 00272A70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275B14 00272A74 54 A0 10 3A */ slwi r0, r5, 2 -/* 80275B18 00272A78 C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) -/* 80275B1C 00272A7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275B20 00272A80 7F E3 02 14 */ add r31, r3, r0 -/* 80275B24 00272A84 C0 5F 12 5C */ lfs f2, 0x125c(r31) -/* 80275B28 00272A88 EC 42 08 28 */ fsubs f2, f2, f1 -/* 80275B2C 00272A8C FC 40 12 10 */ fabs f2, f2 -/* 80275B30 00272A90 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80275B34 00272A94 40 80 00 08 */ bge lbl_80275B3C -/* 80275B38 00272A98 48 00 00 1C */ b lbl_80275B54 -lbl_80275B3C: -/* 80275B3C 00272A9C 7C 83 23 78 */ mr r3, r4 -/* 80275B40 00272AA0 7C A4 2B 78 */ mr r4, r5 -/* 80275B44 00272AA4 48 00 66 E9 */ bl sub_8027c22c -/* 80275B48 00272AA8 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80275B4C 00272AAC C0 1F 12 5C */ lfs f0, 0x125c(r31) -/* 80275B50 00272AB0 EC 21 00 24 */ fdivs f1, f1, f0 -lbl_80275B54: -/* 80275B54 00272AB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275B58 00272AB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275B5C 00272ABC 7C 08 03 A6 */ mtlr r0 -/* 80275B60 00272AC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275B64 00272AC4 4E 80 00 20 */ blr - -.global sub_80275b68 -sub_80275b68: -/* 80275B68 00272AC8 80 C3 12 58 */ lwz r6, 0x1258(r3) -/* 80275B6C 00272ACC 38 E0 00 00 */ li r7, 0 -/* 80275B70 00272AD0 C0 C2 BC 08 */ lfs f6, lbl_805AD928@sda21(r2) -/* 80275B74 00272AD4 2C 06 00 00 */ cmpwi r6, 0 -/* 80275B78 00272AD8 40 81 00 A0 */ ble lbl_80275C18 -/* 80275B7C 00272ADC 2C 06 00 08 */ cmpwi r6, 8 -/* 80275B80 00272AE0 38 86 FF F8 */ addi r4, r6, -8 -/* 80275B84 00272AE4 40 81 00 68 */ ble lbl_80275BEC -/* 80275B88 00272AE8 38 04 00 07 */ addi r0, r4, 7 -/* 80275B8C 00272AEC 38 A3 12 5C */ addi r5, r3, 0x125c -/* 80275B90 00272AF0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80275B94 00272AF4 7C 09 03 A6 */ mtctr r0 -/* 80275B98 00272AF8 2C 04 00 00 */ cmpwi r4, 0 -/* 80275B9C 00272AFC 40 81 00 50 */ ble lbl_80275BEC -lbl_80275BA0: -/* 80275BA0 00272B00 C0 25 00 00 */ lfs f1, 0(r5) -/* 80275BA4 00272B04 38 E7 00 08 */ addi r7, r7, 8 -/* 80275BA8 00272B08 C0 05 00 04 */ lfs f0, 4(r5) -/* 80275BAC 00272B0C EC C6 08 2A */ fadds f6, f6, f1 -/* 80275BB0 00272B10 C0 A5 00 08 */ lfs f5, 8(r5) -/* 80275BB4 00272B14 C0 85 00 0C */ lfs f4, 0xc(r5) -/* 80275BB8 00272B18 C0 65 00 10 */ lfs f3, 0x10(r5) -/* 80275BBC 00272B1C EC C6 00 2A */ fadds f6, f6, f0 -/* 80275BC0 00272B20 C0 45 00 14 */ lfs f2, 0x14(r5) -/* 80275BC4 00272B24 C0 25 00 18 */ lfs f1, 0x18(r5) -/* 80275BC8 00272B28 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 80275BCC 00272B2C 38 A5 00 20 */ addi r5, r5, 0x20 -/* 80275BD0 00272B30 EC C6 28 2A */ fadds f6, f6, f5 -/* 80275BD4 00272B34 EC C6 20 2A */ fadds f6, f6, f4 -/* 80275BD8 00272B38 EC C6 18 2A */ fadds f6, f6, f3 -/* 80275BDC 00272B3C EC C6 10 2A */ fadds f6, f6, f2 -/* 80275BE0 00272B40 EC C6 08 2A */ fadds f6, f6, f1 -/* 80275BE4 00272B44 EC C6 00 2A */ fadds f6, f6, f0 -/* 80275BE8 00272B48 42 00 FF B8 */ bdnz lbl_80275BA0 -lbl_80275BEC: -/* 80275BEC 00272B4C 54 E4 10 3A */ slwi r4, r7, 2 -/* 80275BF0 00272B50 7C 07 30 50 */ subf r0, r7, r6 -/* 80275BF4 00272B54 7C 83 22 14 */ add r4, r3, r4 -/* 80275BF8 00272B58 7C 09 03 A6 */ mtctr r0 -/* 80275BFC 00272B5C 7C 07 30 00 */ cmpw r7, r6 -/* 80275C00 00272B60 38 84 12 5C */ addi r4, r4, 0x125c -/* 80275C04 00272B64 40 80 00 14 */ bge lbl_80275C18 -lbl_80275C08: -/* 80275C08 00272B68 C0 04 00 00 */ lfs f0, 0(r4) -/* 80275C0C 00272B6C 38 84 00 04 */ addi r4, r4, 4 -/* 80275C10 00272B70 EC C6 00 2A */ fadds f6, f6, f0 -/* 80275C14 00272B74 42 00 FF F4 */ bdnz lbl_80275C08 -lbl_80275C18: -/* 80275C18 00272B78 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80275C1C 00272B7C C0 02 BC 8C */ lfs f0, lbl_805AD9AC@sda21(r2) -/* 80275C20 00272B80 EC 26 08 28 */ fsubs f1, f6, f1 -/* 80275C24 00272B84 FC 20 0A 10 */ fabs f1, f1 -/* 80275C28 00272B88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275C2C 00272B8C 4D 80 00 20 */ bltlr -/* 80275C30 00272B90 38 83 12 5C */ addi r4, r3, 0x125c -/* 80275C34 00272B94 38 A0 00 00 */ li r5, 0 -/* 80275C38 00272B98 48 00 00 18 */ b lbl_80275C50 -lbl_80275C3C: -/* 80275C3C 00272B9C C0 04 00 00 */ lfs f0, 0(r4) -/* 80275C40 00272BA0 38 A5 00 01 */ addi r5, r5, 1 -/* 80275C44 00272BA4 EC 00 30 24 */ fdivs f0, f0, f6 -/* 80275C48 00272BA8 D0 04 00 00 */ stfs f0, 0(r4) -/* 80275C4C 00272BAC 38 84 00 04 */ addi r4, r4, 4 -lbl_80275C50: -/* 80275C50 00272BB0 80 03 12 58 */ lwz r0, 0x1258(r3) -/* 80275C54 00272BB4 7C 05 00 00 */ cmpw r5, r0 -/* 80275C58 00272BB8 41 80 FF E4 */ blt lbl_80275C3C - -.global sub_80275c5c -sub_80275c5c: -/* 80275C5C 00272BBC 4E 80 00 20 */ blr - -.global sub_80275c60 -sub_80275c60: -/* 80275C60 00272BC0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275C64 00272BC4 7C 08 02 A6 */ mflr r0 -/* 80275C68 00272BC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275C6C 00272BCC BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80275C70 00272BD0 7C 7E 1B 78 */ mr r30, r3 -/* 80275C74 00272BD4 7C 9F 23 78 */ mr r31, r4 -/* 80275C78 00272BD8 80 03 05 70 */ lwz r0, 0x570(r3) -/* 80275C7C 00272BDC 2C 00 FF FF */ cmpwi r0, -1 -/* 80275C80 00272BE0 41 82 00 D4 */ beq lbl_80275D54 -/* 80275C84 00272BE4 80 BE 12 58 */ lwz r5, 0x1258(r30) -/* 80275C88 00272BE8 3B 9E 12 5C */ addi r28, r30, 0x125c -/* 80275C8C 00272BEC 38 60 00 00 */ li r3, 0 -/* 80275C90 00272BF0 2C 05 00 00 */ cmpwi r5, 0 -/* 80275C94 00272BF4 40 81 00 40 */ ble lbl_80275CD4 -/* 80275C98 00272BF8 2C 05 00 08 */ cmpwi r5, 8 -/* 80275C9C 00272BFC 38 85 FF F8 */ addi r4, r5, -8 -/* 80275CA0 00272C00 40 81 00 20 */ ble lbl_80275CC0 -/* 80275CA4 00272C04 38 04 00 07 */ addi r0, r4, 7 -/* 80275CA8 00272C08 54 00 E8 FE */ srwi r0, r0, 3 -/* 80275CAC 00272C0C 7C 09 03 A6 */ mtctr r0 -/* 80275CB0 00272C10 2C 04 00 00 */ cmpwi r4, 0 -/* 80275CB4 00272C14 40 81 00 0C */ ble lbl_80275CC0 -lbl_80275CB8: -/* 80275CB8 00272C18 38 63 00 08 */ addi r3, r3, 8 -/* 80275CBC 00272C1C 42 00 FF FC */ bdnz lbl_80275CB8 -lbl_80275CC0: -/* 80275CC0 00272C20 7C 03 28 50 */ subf r0, r3, r5 -/* 80275CC4 00272C24 7C 09 03 A6 */ mtctr r0 -/* 80275CC8 00272C28 7C 03 28 00 */ cmpw r3, r5 -/* 80275CCC 00272C2C 40 80 00 08 */ bge lbl_80275CD4 -lbl_80275CD0: -/* 80275CD0 00272C30 42 00 00 00 */ bdnz lbl_80275CD0 -lbl_80275CD4: -/* 80275CD4 00272C34 38 00 00 00 */ li r0, 0 -/* 80275CD8 00272C38 3B 60 00 00 */ li r27, 0 -/* 80275CDC 00272C3C 90 1E 12 58 */ stw r0, 0x1258(r30) -/* 80275CE0 00272C40 80 1E 05 70 */ lwz r0, 0x570(r30) -/* 80275CE4 00272C44 1C 00 00 3C */ mulli r0, r0, 0x3c -/* 80275CE8 00272C48 7F BE 02 14 */ add r29, r30, r0 -/* 80275CEC 00272C4C 3B BD 11 64 */ addi r29, r29, 0x1164 -lbl_80275CF0: -/* 80275CF0 00272C50 7F A3 EB 78 */ mr r3, r29 -/* 80275CF4 00272C54 7F 64 DB 78 */ mr r4, r27 -/* 80275CF8 00272C58 48 00 65 35 */ bl sub_8027c22c -/* 80275CFC 00272C5C 80 1E 12 58 */ lwz r0, 0x1258(r30) -/* 80275D00 00272C60 54 00 10 3A */ slwi r0, r0, 2 -/* 80275D04 00272C64 7C 7C 02 15 */ add. r3, r28, r0 -/* 80275D08 00272C68 41 82 00 08 */ beq lbl_80275D10 -/* 80275D0C 00272C6C D0 23 00 00 */ stfs f1, 0(r3) -lbl_80275D10: -/* 80275D10 00272C70 80 7E 12 58 */ lwz r3, 0x1258(r30) -/* 80275D14 00272C74 3B 7B 00 01 */ addi r27, r27, 1 -/* 80275D18 00272C78 2C 1B 00 0D */ cmpwi r27, 0xd -/* 80275D1C 00272C7C 38 03 00 01 */ addi r0, r3, 1 -/* 80275D20 00272C80 90 1E 12 58 */ stw r0, 0x1258(r30) -/* 80275D24 00272C84 40 81 FF CC */ ble lbl_80275CF0 -/* 80275D28 00272C88 80 1E 10 78 */ lwz r0, 0x1078(r30) -/* 80275D2C 00272C8C 2C 00 FF FF */ cmpwi r0, -1 -/* 80275D30 00272C90 41 82 00 24 */ beq lbl_80275D54 -/* 80275D34 00272C94 3B 60 00 00 */ li r27, 0 -lbl_80275D38: -/* 80275D38 00272C98 7F C3 F3 78 */ mr r3, r30 -/* 80275D3C 00272C9C 7F E4 FB 78 */ mr r4, r31 -/* 80275D40 00272CA0 38 A0 FF FF */ li r5, -1 -/* 80275D44 00272CA4 4B FF FC 65 */ bl sub_802759a8 -/* 80275D48 00272CA8 3B 7B 00 01 */ addi r27, r27, 1 -/* 80275D4C 00272CAC 2C 1B 00 28 */ cmpwi r27, 0x28 -/* 80275D50 00272CB0 41 80 FF E8 */ blt lbl_80275D38 -lbl_80275D54: -/* 80275D54 00272CB4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80275D58 00272CB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80275D5C 00272CBC 7C 08 03 A6 */ mtlr r0 -/* 80275D60 00272CC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80275D64 00272CC4 4E 80 00 20 */ blr - -.global sub_80275d68 -sub_80275d68: -/* 80275D68 00272CC8 3C A0 80 3D */ lis r5, lbl_803D5428@ha -/* 80275D6C 00272CCC 54 80 10 3A */ slwi r0, r4, 2 -/* 80275D70 00272CD0 38 C5 54 28 */ addi r6, r5, lbl_803D5428@l -/* 80275D74 00272CD4 38 A6 00 5C */ addi r5, r6, 0x5c -/* 80275D78 00272CD8 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80275D7C 00272CDC 2C 00 00 07 */ cmpwi r0, 7 -/* 80275D80 00272CE0 41 82 00 2C */ beq lbl_80275DAC -/* 80275D84 00272CE4 40 80 00 10 */ bge lbl_80275D94 -/* 80275D88 00272CE8 2C 00 00 05 */ cmpwi r0, 5 -/* 80275D8C 00272CEC 41 82 00 4C */ beq lbl_80275DD8 -/* 80275D90 00272CF0 48 00 00 7C */ b lbl_80275E0C -lbl_80275D94: -/* 80275D94 00272CF4 2C 00 00 12 */ cmpwi r0, 0x12 -/* 80275D98 00272CF8 41 82 00 14 */ beq lbl_80275DAC -/* 80275D9C 00272CFC 40 80 00 70 */ bge lbl_80275E0C -/* 80275DA0 00272D00 2C 00 00 11 */ cmpwi r0, 0x11 -/* 80275DA4 00272D04 40 80 00 60 */ bge lbl_80275E04 -/* 80275DA8 00272D08 48 00 00 64 */ b lbl_80275E0C -lbl_80275DAC: -/* 80275DAC 00272D0C 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80275DB0 00272D10 1C 84 00 0C */ mulli r4, r4, 0xc -/* 80275DB4 00272D14 38 66 00 A0 */ addi r3, r6, 0xa0 -/* 80275DB8 00272D18 54 00 10 3A */ slwi r0, r0, 2 -/* 80275DBC 00272D1C 7C 04 02 14 */ add r0, r4, r0 -/* 80275DC0 00272D20 7C 83 00 2E */ lwzx r4, r3, r0 -/* 80275DC4 00272D24 20 64 FF FF */ subfic r3, r4, -1 -/* 80275DC8 00272D28 38 04 00 01 */ addi r0, r4, 1 -/* 80275DCC 00272D2C 7C 60 03 78 */ or r0, r3, r0 -/* 80275DD0 00272D30 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80275DD4 00272D34 4E 80 00 20 */ blr -lbl_80275DD8: -/* 80275DD8 00272D38 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80275DDC 00272D3C 1C 84 00 0C */ mulli r4, r4, 0xc -/* 80275DE0 00272D40 38 66 01 48 */ addi r3, r6, 0x148 -/* 80275DE4 00272D44 54 00 10 3A */ slwi r0, r0, 2 -/* 80275DE8 00272D48 7C 04 02 14 */ add r0, r4, r0 -/* 80275DEC 00272D4C 7C 83 00 2E */ lwzx r4, r3, r0 -/* 80275DF0 00272D50 20 64 FF FF */ subfic r3, r4, -1 -/* 80275DF4 00272D54 38 04 00 01 */ addi r0, r4, 1 -/* 80275DF8 00272D58 7C 60 03 78 */ or r0, r3, r0 -/* 80275DFC 00272D5C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80275E00 00272D60 4E 80 00 20 */ blr -lbl_80275E04: -/* 80275E04 00272D64 38 60 00 01 */ li r3, 1 -/* 80275E08 00272D68 4E 80 00 20 */ blr -lbl_80275E0C: -/* 80275E0C 00272D6C 38 60 00 00 */ li r3, 0 -/* 80275E10 00272D70 4E 80 00 20 */ blr - -.global sub_80275e14 -sub_80275e14: -/* 80275E14 00272D74 1C 84 00 0C */ mulli r4, r4, 0xc -/* 80275E18 00272D78 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80275E1C 00272D7C 3C 60 80 3D */ lis r3, lbl_803D5570@ha -/* 80275E20 00272D80 54 00 10 3A */ slwi r0, r0, 2 -/* 80275E24 00272D84 38 63 55 70 */ addi r3, r3, lbl_803D5570@l -/* 80275E28 00272D88 7C 63 22 14 */ add r3, r3, r4 -/* 80275E2C 00272D8C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80275E30 00272D90 4E 80 00 20 */ blr - -.global sub_80275e34 -sub_80275e34: -/* 80275E34 00272D94 1C 84 00 0C */ mulli r4, r4, 0xc -/* 80275E38 00272D98 80 03 10 78 */ lwz r0, 0x1078(r3) -/* 80275E3C 00272D9C 3C 60 80 3D */ lis r3, lbl_803D54C8@ha -/* 80275E40 00272DA0 54 00 10 3A */ slwi r0, r0, 2 -/* 80275E44 00272DA4 38 63 54 C8 */ addi r3, r3, lbl_803D54C8@l -/* 80275E48 00272DA8 7C 63 22 14 */ add r3, r3, r4 -/* 80275E4C 00272DAC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80275E50 00272DB0 4E 80 00 20 */ blr - -.global sub_80275e54 -sub_80275e54: -/* 80275E54 00272DB4 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80275E58 00272DB8 7C 08 02 A6 */ mflr r0 -/* 80275E5C 00272DBC 90 01 01 24 */ stw r0, 0x124(r1) -/* 80275E60 00272DC0 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80275E64 00272DC4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80275E68 00272DC8 BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80275E6C 00272DCC 7C 7D 1B 78 */ mr r29, r3 -/* 80275E70 00272DD0 FF E0 08 90 */ fmr f31, f1 -/* 80275E74 00272DD4 83 63 0F B0 */ lwz r27, 0xfb0(r3) -/* 80275E78 00272DD8 7C 9E 23 78 */ mr r30, r4 -/* 80275E7C 00272DDC 28 1B 00 00 */ cmplwi r27, 0 -/* 80275E80 00272DE0 41 82 02 C8 */ beq lbl_80276148 -/* 80275E84 00272DE4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80275E88 00272DE8 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80275E8C 00272DEC 48 09 CD B5 */ bl GetRotation__12CTransform4fCFv -/* 80275E90 00272DF0 7F 63 DB 78 */ mr r3, r27 -/* 80275E94 00272DF4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80275E98 00272DF8 81 9B 00 00 */ lwz r12, 0(r27) -/* 80275E9C 00272DFC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275EA0 00272E00 7D 89 03 A6 */ mtctr r12 -/* 80275EA4 00272E04 4E 80 04 21 */ bctrl -/* 80275EA8 00272E08 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80275EAC 00272E0C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80275EB0 00272E10 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80275EB4 00272E14 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80275EB8 00272E18 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80275EBC 00272E1C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80275EC0 00272E20 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80275EC4 00272E24 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 80275EC8 00272E28 81 83 00 00 */ lwz r12, 0(r3) -/* 80275ECC 00272E2C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80275ED0 00272E30 7D 89 03 A6 */ mtctr r12 -/* 80275ED4 00272E34 4E 80 04 21 */ bctrl -/* 80275ED8 00272E38 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80275EDC 00272E3C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80275EE0 00272E40 C0 03 00 00 */ lfs f0, 0(r3) -/* 80275EE4 00272E44 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80275EE8 00272E48 C0 03 00 04 */ lfs f0, 4(r3) -/* 80275EEC 00272E4C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80275EF0 00272E50 C0 03 00 08 */ lfs f0, 8(r3) -/* 80275EF4 00272E54 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80275EF8 00272E58 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 80275EFC 00272E5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80275F00 00272E60 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80275F04 00272E64 7D 89 03 A6 */ mtctr r12 -/* 80275F08 00272E68 4E 80 04 21 */ bctrl -/* 80275F0C 00272E6C 88 1D 0F C0 */ lbz r0, 0xfc0(r29) -/* 80275F10 00272E70 28 00 00 00 */ cmplwi r0, 0 -/* 80275F14 00272E74 41 82 02 1C */ beq lbl_80276130 -/* 80275F18 00272E78 80 1D 0F BC */ lwz r0, 0xfbc(r29) -/* 80275F1C 00272E7C 28 00 00 00 */ cmplwi r0, 0 -/* 80275F20 00272E80 41 82 00 3C */ beq lbl_80275F5C -/* 80275F24 00272E84 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80275F28 00272E88 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80275F2C 00272E8C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80275F30 00272E90 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80275F34 00272E94 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80275F38 00272E98 38 61 00 20 */ addi r3, r1, 0x20 -/* 80275F3C 00272E9C 38 81 00 44 */ addi r4, r1, 0x44 -/* 80275F40 00272EA0 38 C0 00 7F */ li r6, 0x7f -/* 80275F44 00272EA4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80275F48 00272EA8 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80275F4C 00272EAC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80275F50 00272EB0 80 1D 0F BC */ lwz r0, 0xfbc(r29) -/* 80275F54 00272EB4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80275F58 00272EB8 48 07 3F 59 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80275F5C: -/* 80275F5C 00272EBC 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 80275F60 00272EC0 38 80 00 01 */ li r4, 1 -/* 80275F64 00272EC4 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80275F68 00272EC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80275F6C 00272ECC 83 65 00 10 */ lwz r27, 0x10(r5) -/* 80275F70 00272ED0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80275F74 00272ED4 7D 89 03 A6 */ mtctr r12 -/* 80275F78 00272ED8 4E 80 04 21 */ bctrl -/* 80275F7C 00272EDC 3C 60 80 3F */ lis r3, lbl_803EAC74@ha -/* 80275F80 00272EE0 3B E0 00 00 */ li r31, 0 -/* 80275F84 00272EE4 3B 83 AC 74 */ addi r28, r3, lbl_803EAC74@l -lbl_80275F88: -/* 80275F88 00272EE8 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80275F8C 00272EEC 38 80 00 00 */ li r4, 0 -/* 80275F90 00272EF0 38 A0 00 13 */ li r5, 0x13 -/* 80275F94 00272EF4 48 09 C6 01 */ bl Range__9CRandom16Fii -/* 80275F98 00272EF8 54 60 10 3A */ slwi r0, r3, 2 -/* 80275F9C 00272EFC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80275FA0 00272F00 7C 9C 00 2E */ lwzx r4, r28, r0 -/* 80275FA4 00272F04 4B D8 ED 15 */ bl string_l__4rstlFPCc -/* 80275FA8 00272F08 7F 64 DB 78 */ mr r4, r27 -/* 80275FAC 00272F0C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80275FB0 00272F10 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80275FB4 00272F14 4B DB 88 85 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80275FB8 00272F18 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80275FBC 00272F1C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80275FC0 00272F20 98 01 00 1C */ stb r0, 0x1c(r1) -/* 80275FC4 00272F24 48 0C 7B 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80275FC8 00272F28 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 80275FCC 00272F2C 7F 64 DB 78 */ mr r4, r27 -/* 80275FD0 00272F30 38 61 00 98 */ addi r3, r1, 0x98 -/* 80275FD4 00272F34 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80275FD8 00272F38 98 01 00 10 */ stb r0, 0x10(r1) -/* 80275FDC 00272F3C 38 C0 00 00 */ li r6, 0 -/* 80275FE0 00272F40 4B DB 62 95 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 80275FE4 00272F44 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 80275FE8 00272F48 C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 80275FEC 00272F4C 88 03 01 84 */ lbz r0, 0x184(r3) -/* 80275FF0 00272F50 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80275FF4 00272F54 28 00 00 00 */ cmplwi r0, 0 -/* 80275FF8 00272F58 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80275FFC 00272F5C 40 82 00 24 */ bne lbl_80276020 -/* 80276000 00272F60 34 83 01 78 */ addic. r4, r3, 0x178 -/* 80276004 00272F64 41 82 00 10 */ beq lbl_80276014 -/* 80276008 00272F68 D0 04 00 00 */ stfs f0, 0(r4) -/* 8027600C 00272F6C D0 24 00 04 */ stfs f1, 4(r4) -/* 80276010 00272F70 D0 44 00 08 */ stfs f2, 8(r4) -lbl_80276014: -/* 80276014 00272F74 38 00 00 01 */ li r0, 1 -/* 80276018 00272F78 98 03 01 84 */ stb r0, 0x184(r3) -/* 8027601C 00272F7C 48 00 00 10 */ b lbl_8027602C -lbl_80276020: -/* 80276020 00272F80 D0 03 01 78 */ stfs f0, 0x178(r3) -/* 80276024 00272F84 D0 23 01 7C */ stfs f1, 0x17c(r3) -/* 80276028 00272F88 D0 43 01 80 */ stfs f2, 0x180(r3) -lbl_8027602C: -/* 8027602C 00272F8C 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80276030 00272F90 38 80 00 00 */ li r4, 0 -/* 80276034 00272F94 38 A0 00 13 */ li r5, 0x13 -/* 80276038 00272F98 48 09 C5 5D */ bl Range__9CRandom16Fii -/* 8027603C 00272F9C 54 60 10 3A */ slwi r0, r3, 2 -/* 80276040 00272FA0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80276044 00272FA4 7C 9C 00 2E */ lwzx r4, r28, r0 -/* 80276048 00272FA8 4B D8 EC 71 */ bl string_l__4rstlFPCc -/* 8027604C 00272FAC 7F 64 DB 78 */ mr r4, r27 -/* 80276050 00272FB0 38 61 00 0C */ addi r3, r1, 0xc -/* 80276054 00272FB4 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80276058 00272FB8 4B DB 87 E1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027605C 00272FBC 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80276060 00272FC0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80276064 00272FC4 98 01 00 18 */ stb r0, 0x18(r1) -/* 80276068 00272FC8 48 0C 7A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027606C 00272FCC 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80276070 00272FD0 7F 64 DB 78 */ mr r4, r27 -/* 80276074 00272FD4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80276078 00272FD8 38 A1 00 08 */ addi r5, r1, 8 -/* 8027607C 00272FDC 98 01 00 08 */ stb r0, 8(r1) -/* 80276080 00272FE0 38 C0 00 00 */ li r6, 0 -/* 80276084 00272FE4 4B DB 61 F1 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime -/* 80276088 00272FE8 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 8027608C 00272FEC C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80276090 00272FF0 88 03 01 A4 */ lbz r0, 0x1a4(r3) -/* 80276094 00272FF4 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80276098 00272FF8 28 00 00 00 */ cmplwi r0, 0 -/* 8027609C 00272FFC C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802760A0 00273000 40 82 00 24 */ bne lbl_802760C4 -/* 802760A4 00273004 34 83 01 98 */ addic. r4, r3, 0x198 -/* 802760A8 00273008 41 82 00 10 */ beq lbl_802760B8 -/* 802760AC 0027300C D0 04 00 00 */ stfs f0, 0(r4) -/* 802760B0 00273010 D0 24 00 04 */ stfs f1, 4(r4) -/* 802760B4 00273014 D0 44 00 08 */ stfs f2, 8(r4) -lbl_802760B8: -/* 802760B8 00273018 38 00 00 01 */ li r0, 1 -/* 802760BC 0027301C 98 03 01 A4 */ stb r0, 0x1a4(r3) -/* 802760C0 00273020 48 00 00 10 */ b lbl_802760D0 -lbl_802760C4: -/* 802760C4 00273024 D0 03 01 98 */ stfs f0, 0x198(r3) -/* 802760C8 00273028 D0 23 01 9C */ stfs f1, 0x19c(r3) -/* 802760CC 0027302C D0 43 01 A0 */ stfs f2, 0x1a0(r3) -lbl_802760D0: -/* 802760D0 00273030 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 802760D4 00273034 38 80 00 01 */ li r4, 1 -/* 802760D8 00273038 48 0E 8E 65 */ bl ForceParticleCreation__17CParticleElectricFi -/* 802760DC 0027303C 3B FF 00 01 */ addi r31, r31, 1 -/* 802760E0 00273040 2C 1F 00 04 */ cmpwi r31, 4 -/* 802760E4 00273044 41 80 FE A4 */ blt lbl_80275F88 -/* 802760E8 00273048 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 802760EC 0027304C 38 80 00 00 */ li r4, 0 -/* 802760F0 00273050 81 83 00 00 */ lwz r12, 0(r3) -/* 802760F4 00273054 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802760F8 00273058 7D 89 03 A6 */ mtctr r12 -/* 802760FC 0027305C 4E 80 04 21 */ bctrl -/* 80276100 00273060 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) -/* 80276104 00273064 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80276108 00273068 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8027610C 0027306C D0 3D 0F B4 */ stfs f1, 0xfb4(r29) -/* 80276110 00273070 C0 3D 0F B4 */ lfs f1, 0xfb4(r29) -/* 80276114 00273074 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276118 00273078 4C 40 13 82 */ cror 2, 0, 2 -/* 8027611C 0027307C 40 82 00 14 */ bne lbl_80276130 -/* 80276120 00273080 7F A3 EB 78 */ mr r3, r29 -/* 80276124 00273084 7F C4 F3 78 */ mr r4, r30 -/* 80276128 00273088 38 A0 00 00 */ li r5, 0 -/* 8027612C 0027308C 48 00 00 D9 */ bl sub_80276204 -lbl_80276130: -/* 80276130 00273090 80 7D 0F B0 */ lwz r3, 0xfb0(r29) -/* 80276134 00273094 FC 20 F8 90 */ fmr f1, f31 -/* 80276138 00273098 81 83 00 00 */ lwz r12, 0(r3) -/* 8027613C 0027309C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80276140 002730A0 7D 89 03 A6 */ mtctr r12 -/* 80276144 002730A4 4E 80 04 21 */ bctrl -lbl_80276148: -/* 80276148 002730A8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8027614C 002730AC CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80276150 002730B0 BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 80276154 002730B4 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80276158 002730B8 7C 08 03 A6 */ mtlr r0 -/* 8027615C 002730BC 38 21 01 20 */ addi r1, r1, 0x120 -/* 80276160 002730C0 4E 80 00 20 */ blr - -.global sub_80276164 -sub_80276164: -/* 80276164 002730C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80276168 002730C8 7C 08 02 A6 */ mflr r0 -/* 8027616C 002730CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276170 002730D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80276174 002730D4 7C 7F 1B 78 */ mr r31, r3 -/* 80276178 002730D8 88 03 0F C1 */ lbz r0, 0xfc1(r3) -/* 8027617C 002730DC 28 00 00 00 */ cmplwi r0, 0 -/* 80276180 002730E0 41 82 00 70 */ beq lbl_802761F0 -/* 80276184 002730E4 C0 5F 0F B8 */ lfs f2, 0xfb8(r31) -/* 80276188 002730E8 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027618C 002730EC EC 22 08 28 */ fsubs f1, f2, f1 -/* 80276190 002730F0 D0 3F 0F B8 */ stfs f1, 0xfb8(r31) -/* 80276194 002730F4 C0 3F 0F B8 */ lfs f1, 0xfb8(r31) -/* 80276198 002730F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027619C 002730FC 4C 40 13 82 */ cror 2, 0, 2 -/* 802761A0 00273100 40 82 00 0C */ bne lbl_802761AC -/* 802761A4 00273104 38 A0 00 00 */ li r5, 0 -/* 802761A8 00273108 48 00 01 F5 */ bl sub_8027639c -lbl_802761AC: -/* 802761AC 0027310C 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 802761B0 00273110 28 00 00 00 */ cmplwi r0, 0 -/* 802761B4 00273114 41 82 00 3C */ beq lbl_802761F0 -/* 802761B8 00273118 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802761BC 0027311C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802761C0 00273120 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802761C4 00273124 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 802761C8 00273128 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802761CC 0027312C 38 61 00 08 */ addi r3, r1, 8 -/* 802761D0 00273130 38 81 00 0C */ addi r4, r1, 0xc -/* 802761D4 00273134 38 C0 00 7F */ li r6, 0x7f -/* 802761D8 00273138 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802761DC 0027313C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802761E0 00273140 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802761E4 00273144 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 802761E8 00273148 90 01 00 08 */ stw r0, 8(r1) -/* 802761EC 0027314C 48 07 3C C5 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_802761F0: -/* 802761F0 00273150 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802761F4 00273154 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802761F8 00273158 7C 08 03 A6 */ mtlr r0 -/* 802761FC 0027315C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80276200 00273160 4E 80 00 20 */ blr - -.global sub_80276204 -sub_80276204: -/* 80276204 00273164 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80276208 00273168 7C 08 02 A6 */ mflr r0 -/* 8027620C 0027316C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80276210 00273170 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80276214 00273174 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80276218 00273178 7C 7F 1B 78 */ mr r31, r3 -/* 8027621C 0027317C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80276220 00273180 7C BE 2B 78 */ mr r30, r5 -/* 80276224 00273184 41 82 00 18 */ beq lbl_8027623C -/* 80276228 00273188 88 1F 0F C1 */ lbz r0, 0xfc1(r31) -/* 8027622C 0027318C 28 00 00 00 */ cmplwi r0, 0 -/* 80276230 00273190 41 82 00 0C */ beq lbl_8027623C -/* 80276234 00273194 38 A0 00 00 */ li r5, 0 -/* 80276238 00273198 48 00 01 65 */ bl sub_8027639c -lbl_8027623C: -/* 8027623C 0027319C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80276240 002731A0 9B DF 0F C0 */ stb r30, 0xfc0(r31) -/* 80276244 002731A4 41 82 00 F8 */ beq lbl_8027633C -/* 80276248 002731A8 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 8027624C 002731AC 28 00 00 00 */ cmplwi r0, 0 -/* 80276250 002731B0 41 82 00 14 */ beq lbl_80276264 -/* 80276254 002731B4 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 80276258 002731B8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027625C 002731BC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80276260 002731C0 48 07 3C 25 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -lbl_80276264: -/* 80276264 002731C4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80276268 002731C8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8027626C 002731CC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80276270 002731D0 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80276274 002731D4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80276278 002731D8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027627C 002731DC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) -/* 80276280 002731E0 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80276284 002731E4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80276288 002731E8 38 80 05 19 */ li r4, 0x519 -/* 8027628C 002731EC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 80276290 002731F0 38 E0 00 7F */ li r7, 0x7f -/* 80276294 002731F4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80276298 002731F8 39 00 00 01 */ li r8, 1 -/* 8027629C 002731FC 39 20 00 01 */ li r9, 1 -/* 802762A0 00273200 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802762A4 00273204 90 01 00 08 */ stw r0, 8(r1) -/* 802762A8 00273208 48 07 3F 11 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -/* 802762AC 0027320C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802762B0 00273210 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802762B4 00273214 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l -/* 802762B8 00273218 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 802762BC 0027321C 90 1F 0F BC */ stw r0, 0xfbc(r31) -/* 802762C0 00273220 3C 80 80 3E */ lis r4, lbl_803E10C8@ha -/* 802762C4 00273224 38 E0 00 1A */ li r7, 0x1a -/* 802762C8 00273228 38 A0 00 00 */ li r5, 0 -/* 802762CC 0027322C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 802762D0 00273230 38 00 00 01 */ li r0, 1 -/* 802762D4 00273234 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802762D8 00273238 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l -/* 802762DC 0027323C 3B E3 00 04 */ addi r31, r3, 4 -/* 802762E0 00273240 38 80 00 1A */ li r4, 0x1a -/* 802762E4 00273244 90 E1 00 34 */ stw r7, 0x34(r1) -/* 802762E8 00273248 7F E3 FB 78 */ mr r3, r31 -/* 802762EC 0027324C 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802762F0 00273250 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802762F4 00273254 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 802762F8 00273258 98 01 00 40 */ stb r0, 0x40(r1) -/* 802762FC 0027325C 4B EB B1 3D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80276300 00273260 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80276304 00273264 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80276308 00273268 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l -/* 8027630C 0027326C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80276310 00273270 90 1F 02 88 */ stw r0, 0x288(r31) -/* 80276314 00273274 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80276318 00273278 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8027631C 0027327C 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 80276320 00273280 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 80276324 00273284 88 61 00 40 */ lbz r3, 0x40(r1) -/* 80276328 00273288 90 BF 02 90 */ stw r5, 0x290(r31) -/* 8027632C 0027328C 90 81 00 30 */ stw r4, 0x30(r1) -/* 80276330 00273290 98 7F 02 94 */ stb r3, 0x294(r31) -/* 80276334 00273294 90 01 00 30 */ stw r0, 0x30(r1) -/* 80276338 00273298 48 00 00 4C */ b lbl_80276384 -lbl_8027633C: -/* 8027633C 0027329C 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 80276340 002732A0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80276344 002732A4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80276348 002732A8 48 07 3B 3D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 8027634C 002732AC 38 00 00 00 */ li r0, 0 -/* 80276350 002732B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80276354 002732B4 90 1F 0F BC */ stw r0, 0xfbc(r31) -/* 80276358 002732B8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 8027635C 002732BC 38 00 00 1B */ li r0, 0x1b -/* 80276360 002732C0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80276364 002732C4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80276368 002732C8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8027636C 002732CC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80276370 002732D0 38 63 00 04 */ addi r3, r3, 4 -/* 80276374 002732D4 4B EB B4 45 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80276378 002732D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8027637C 002732DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80276380 002732E0 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_80276384: -/* 80276384 002732E4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80276388 002732E8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027638C 002732EC 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80276390 002732F0 7C 08 03 A6 */ mtlr r0 -/* 80276394 002732F4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80276398 002732F8 4E 80 00 20 */ blr - -.global sub_8027639c -sub_8027639c: -/* 8027639C 002732FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802763A0 00273300 7C 08 02 A6 */ mflr r0 -/* 802763A4 00273304 90 01 00 54 */ stw r0, 0x54(r1) -/* 802763A8 00273308 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802763AC 0027330C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802763B0 00273310 7C BC 2B 78 */ mr r28, r5 -/* 802763B4 00273314 7C 7F 1B 78 */ mr r31, r3 -/* 802763B8 00273318 7C 9B 23 78 */ mr r27, r4 -/* 802763BC 0027331C 41 82 00 18 */ beq lbl_802763D4 -/* 802763C0 00273320 88 1F 0F C0 */ lbz r0, 0xfc0(r31) -/* 802763C4 00273324 28 00 00 00 */ cmplwi r0, 0 -/* 802763C8 00273328 41 82 00 0C */ beq lbl_802763D4 -/* 802763CC 0027332C 38 A0 00 00 */ li r5, 0 -/* 802763D0 00273330 4B FF FE 35 */ bl sub_80276204 -lbl_802763D4: -/* 802763D4 00273334 3C 60 80 3D */ lis r3, lbl_803D5444@ha -/* 802763D8 00273338 3B A0 00 00 */ li r29, 0 -/* 802763DC 0027333C 3B C3 54 44 */ addi r30, r3, lbl_803D5444@l -lbl_802763E0: -/* 802763E0 00273340 80 9E 00 00 */ lwz r4, 0(r30) -/* 802763E4 00273344 38 61 00 28 */ addi r3, r1, 0x28 -/* 802763E8 00273348 4B D8 E8 D1 */ bl string_l__4rstlFPCc -/* 802763EC 0027334C 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 802763F0 00273350 7F 85 E3 78 */ mr r5, r28 -/* 802763F4 00273354 7F 66 DB 78 */ mr r6, r27 -/* 802763F8 00273358 38 81 00 28 */ addi r4, r1, 0x28 -/* 802763FC 0027335C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80276400 00273360 4B DB 49 C1 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80276404 00273364 38 61 00 28 */ addi r3, r1, 0x28 -/* 80276408 00273368 48 0C 76 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027640C 0027336C 3B BD 00 01 */ addi r29, r29, 1 -/* 80276410 00273370 3B DE 00 04 */ addi r30, r30, 4 -/* 80276414 00273374 28 1D 00 04 */ cmplwi r29, 4 -/* 80276418 00273378 41 80 FF C8 */ blt lbl_802763E0 -/* 8027641C 0027337C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80276420 00273380 9B 9F 0F C1 */ stb r28, 0xfc1(r31) -/* 80276424 00273384 41 82 00 74 */ beq lbl_80276498 -/* 80276428 00273388 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 8027642C 0027338C 28 00 00 00 */ cmplwi r0, 0 -/* 80276430 00273390 41 82 00 14 */ beq lbl_80276444 -/* 80276434 00273394 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 80276438 00273398 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027643C 0027339C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80276440 002733A0 48 07 3A 45 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -lbl_80276444: -/* 80276444 002733A4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80276448 002733A8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8027644C 002733AC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80276450 002733B0 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80276454 002733B4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80276458 002733B8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027645C 002733BC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) -/* 80276460 002733C0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80276464 002733C4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80276468 002733C8 38 80 05 1A */ li r4, 0x51a -/* 8027646C 002733CC A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 80276470 002733D0 38 E0 00 7F */ li r7, 0x7f -/* 80276474 002733D4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80276478 002733D8 39 00 00 01 */ li r8, 1 -/* 8027647C 002733DC 39 20 00 01 */ li r9, 1 -/* 80276480 002733E0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80276484 002733E4 90 01 00 08 */ stw r0, 8(r1) -/* 80276488 002733E8 48 07 3D 31 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -/* 8027648C 002733EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276490 002733F0 90 1F 0F BC */ stw r0, 0xfbc(r31) -/* 80276494 002733F4 48 00 00 1C */ b lbl_802764B0 -lbl_80276498: -/* 80276498 002733F8 80 1F 0F BC */ lwz r0, 0xfbc(r31) -/* 8027649C 002733FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802764A0 00273400 90 01 00 10 */ stw r0, 0x10(r1) -/* 802764A4 00273404 48 07 39 E1 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 802764A8 00273408 38 00 00 00 */ li r0, 0 -/* 802764AC 0027340C 90 1F 0F BC */ stw r0, 0xfbc(r31) -lbl_802764B0: -/* 802764B0 00273410 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802764B4 00273414 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802764B8 00273418 7C 08 03 A6 */ mtlr r0 -/* 802764BC 0027341C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802764C0 00273420 4E 80 00 20 */ blr - -.global sub_802764c4 -sub_802764c4: -/* 802764C4 00273424 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802764C8 00273428 7C 08 02 A6 */ mflr r0 -/* 802764CC 0027342C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802764D0 00273430 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802764D4 00273434 7C DF 33 78 */ mr r31, r6 -/* 802764D8 00273438 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802764DC 0027343C 7C 9E 23 78 */ mr r30, r4 -/* 802764E0 00273440 38 81 00 08 */ addi r4, r1, 8 -/* 802764E4 00273444 A0 05 00 00 */ lhz r0, 0(r5) -/* 802764E8 00273448 7F C3 F3 78 */ mr r3, r30 -/* 802764EC 0027344C B0 01 00 08 */ sth r0, 8(r1) -/* 802764F0 00273450 4B DD 60 85 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802764F4 00273454 7C 64 1B 79 */ or. r4, r3, r3 -/* 802764F8 00273458 41 82 00 18 */ beq lbl_80276510 -/* 802764FC 0027345C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80276500 00273460 7F C3 F3 78 */ mr r3, r30 -/* 80276504 00273464 38 A1 00 0C */ addi r5, r1, 0xc -/* 80276508 00273468 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027650C 0027346C 4B DC ED 6D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -lbl_80276510: -/* 80276510 00273470 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276514 00273474 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80276518 00273478 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027651C 0027347C 7C 08 03 A6 */ mtlr r0 -/* 80276520 00273480 38 21 00 20 */ addi r1, r1, 0x20 -/* 80276524 00273484 4E 80 00 20 */ blr - -.global sub_80276528 -sub_80276528: -/* 80276528 00273488 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027652C 0027348C 7C 08 02 A6 */ mflr r0 -/* 80276530 00273490 90 01 00 54 */ stw r0, 0x54(r1) -/* 80276534 00273494 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80276538 00273498 7C 9F 23 78 */ mr r31, r4 -/* 8027653C 0027349C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80276540 002734A0 7C 7E 1B 78 */ mr r30, r3 -/* 80276544 002734A4 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80276548 002734A8 93 81 00 40 */ stw r28, 0x40(r1) -/* 8027654C 002734AC 88 03 09 14 */ lbz r0, 0x914(r3) -/* 80276550 002734B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80276554 002734B4 41 82 01 70 */ beq lbl_802766C4 -/* 80276558 002734B8 80 BF 08 50 */ lwz r5, 0x850(r31) -/* 8027655C 002734BC 80 A5 00 68 */ lwz r5, 0x68(r5) -/* 80276560 002734C0 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80276564 002734C4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80276568 002734C8 7C 00 28 00 */ cmpw r0, r5 -/* 8027656C 002734CC 41 82 01 34 */ beq lbl_802766A0 -/* 80276570 002734D0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80276574 002734D4 48 00 09 4D */ bl sub_80276ec0 -/* 80276578 002734D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027657C 002734DC 41 82 01 10 */ beq lbl_8027668C -/* 80276580 002734E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80276584 002734E4 7F C3 F3 78 */ mr r3, r30 -/* 80276588 002734E8 7F E4 FB 78 */ mr r4, r31 -/* 8027658C 002734EC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80276590 002734F0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80276594 002734F4 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80276598 002734F8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8027659C 002734FC B0 01 00 18 */ sth r0, 0x18(r1) -/* 802765A0 00273500 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 802765A4 00273504 4B FF FF 21 */ bl sub_802764c4 -/* 802765A8 00273508 3B A0 00 00 */ li r29, 0 -/* 802765AC 0027350C 48 00 00 3C */ b lbl_802765E8 -lbl_802765B0: -/* 802765B0 00273510 80 7E 05 6C */ lwz r3, 0x56c(r30) -/* 802765B4 00273514 7F A4 EB 78 */ mr r4, r29 -/* 802765B8 00273518 4B F3 0C 81 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 802765BC 0027351C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802765C0 00273520 7F E4 FB 78 */ mr r4, r31 -/* 802765C4 00273524 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802765C8 00273528 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802765CC 0027352C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802765D0 00273530 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 802765D4 00273534 7F C3 F3 78 */ mr r3, r30 -/* 802765D8 00273538 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802765DC 0027353C B0 01 00 14 */ sth r0, 0x14(r1) -/* 802765E0 00273540 4B FF FE E5 */ bl sub_802764c4 -/* 802765E4 00273544 3B BD 00 01 */ addi r29, r29, 1 -lbl_802765E8: -/* 802765E8 00273548 80 7E 05 6C */ lwz r3, 0x56c(r30) -/* 802765EC 0027354C 4B F3 0C 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 802765F0 00273550 7C 1D 18 40 */ cmplw r29, r3 -/* 802765F4 00273554 41 80 FF BC */ blt lbl_802765B0 -/* 802765F8 00273558 3B BE 0B 28 */ addi r29, r30, 0xb28 -/* 802765FC 0027355C 3B 80 00 00 */ li r28, 0 -/* 80276600 00273560 48 00 00 30 */ b lbl_80276630 -lbl_80276604: -/* 80276604 00273564 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80276608 00273568 7F C3 F3 78 */ mr r3, r30 -/* 8027660C 0027356C 7F E4 FB 78 */ mr r4, r31 -/* 80276610 00273570 38 A1 00 0C */ addi r5, r1, 0xc -/* 80276614 00273574 90 01 00 28 */ stw r0, 0x28(r1) -/* 80276618 00273578 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8027661C 0027357C A0 1D 00 00 */ lhz r0, 0(r29) -/* 80276620 00273580 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80276624 00273584 4B FF FE A1 */ bl sub_802764c4 -/* 80276628 00273588 3B BD 00 02 */ addi r29, r29, 2 -/* 8027662C 0027358C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80276630: -/* 80276630 00273590 80 1E 0B 24 */ lwz r0, 0xb24(r30) -/* 80276634 00273594 7C 1C 00 00 */ cmpw r28, r0 -/* 80276638 00273598 41 80 FF CC */ blt lbl_80276604 -/* 8027663C 0027359C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80276640 002735A0 7F C3 F3 78 */ mr r3, r30 -/* 80276644 002735A4 7F E4 FB 78 */ mr r4, r31 -/* 80276648 002735A8 38 A1 00 08 */ addi r5, r1, 8 -/* 8027664C 002735AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276650 002735B0 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80276654 002735B4 A0 1E 0E AC */ lhz r0, 0xeac(r30) -/* 80276658 002735B8 B0 01 00 08 */ sth r0, 8(r1) -/* 8027665C 002735BC 4B FF FE 69 */ bl sub_802764c4 -/* 80276660 002735C0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80276664 002735C4 7F C3 F3 78 */ mr r3, r30 -/* 80276668 002735C8 7F E4 FB 78 */ mr r4, r31 -/* 8027666C 002735CC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80276670 002735D0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80276674 002735D4 48 00 06 BD */ bl sub_80276d30 -/* 80276678 002735D8 7F C3 F3 78 */ mr r3, r30 -/* 8027667C 002735DC 7F E5 FB 78 */ mr r5, r31 -/* 80276680 002735E0 38 80 00 07 */ li r4, 7 -/* 80276684 002735E4 48 00 00 61 */ bl sub_802766e4 -/* 80276688 002735E8 48 00 00 3C */ b lbl_802766C4 -lbl_8027668C: -/* 8027668C 002735EC 88 1E 14 44 */ lbz r0, 0x1444(r30) -/* 80276690 002735F0 38 60 00 01 */ li r3, 1 -/* 80276694 002735F4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80276698 002735F8 98 1E 14 44 */ stb r0, 0x1444(r30) -/* 8027669C 002735FC 48 00 00 28 */ b lbl_802766C4 -lbl_802766A0: -/* 802766A0 00273600 88 9E 14 44 */ lbz r4, 0x1444(r30) -/* 802766A4 00273604 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 802766A8 00273608 41 82 00 1C */ beq lbl_802766C4 -/* 802766AC 0027360C 38 00 00 00 */ li r0, 0 -/* 802766B0 00273610 7F E5 FB 78 */ mr r5, r31 -/* 802766B4 00273614 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 802766B8 00273618 98 9E 14 44 */ stb r4, 0x1444(r30) -/* 802766BC 0027361C 38 80 00 07 */ li r4, 7 -/* 802766C0 00273620 48 00 00 25 */ bl sub_802766e4 -lbl_802766C4: -/* 802766C4 00273624 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802766C8 00273628 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802766CC 0027362C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802766D0 00273630 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802766D4 00273634 83 81 00 40 */ lwz r28, 0x40(r1) -/* 802766D8 00273638 7C 08 03 A6 */ mtlr r0 -/* 802766DC 0027363C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802766E0 00273640 4E 80 00 20 */ blr - -.global sub_802766e4 -sub_802766e4: -/* 802766E4 00273644 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802766E8 00273648 7C 08 02 A6 */ mflr r0 -/* 802766EC 0027364C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802766F0 00273650 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802766F4 00273654 7C BF 2B 78 */ mr r31, r5 -/* 802766F8 00273658 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802766FC 0027365C 7C 9E 23 78 */ mr r30, r4 -/* 80276700 00273660 38 81 00 08 */ addi r4, r1, 8 -/* 80276704 00273664 A0 03 05 68 */ lhz r0, 0x568(r3) -/* 80276708 00273668 7F E3 FB 78 */ mr r3, r31 -/* 8027670C 0027366C B0 01 00 08 */ sth r0, 8(r1) -/* 80276710 00273670 4B DD 5E 65 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80276714 00273674 7C 64 1B 78 */ mr r4, r3 -/* 80276718 00273678 38 61 00 0C */ addi r3, r1, 0xc -/* 8027671C 0027367C 4B E3 69 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276720 00273680 80 63 00 04 */ lwz r3, 4(r3) -/* 80276724 00273684 28 03 00 00 */ cmplwi r3, 0 -/* 80276728 00273688 41 82 00 14 */ beq lbl_8027673C -/* 8027672C 0027368C 7F C4 F3 78 */ mr r4, r30 -/* 80276730 00273690 7F E5 FB 78 */ mr r5, r31 -/* 80276734 00273694 38 C0 FF FF */ li r6, -1 -/* 80276738 00273698 4B DD A9 89 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8027673C: -/* 8027673C 0027369C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276740 002736A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80276744 002736A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80276748 002736A8 7C 08 03 A6 */ mtlr r0 -/* 8027674C 002736AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80276750 002736B0 4E 80 00 20 */ blr - -.global sub_80276754 -sub_80276754: -/* 80276754 002736B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80276758 002736B8 7C 08 02 A6 */ mflr r0 -/* 8027675C 002736BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80276760 002736C0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80276764 002736C4 7C 7F 1B 78 */ mr r31, r3 -/* 80276768 002736C8 38 DF 11 64 */ addi r6, r31, 0x1164 -/* 8027676C 002736CC 38 60 00 00 */ li r3, 0 -/* 80276770 002736D0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80276774 002736D4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80276778 002736D8 7C 9D 23 78 */ mr r29, r4 -/* 8027677C 002736DC 48 00 00 70 */ b lbl_802767EC -lbl_80276780: -/* 80276780 002736E0 28 06 00 00 */ cmplwi r6, 0 -/* 80276784 002736E4 41 82 00 60 */ beq lbl_802767E4 -/* 80276788 002736E8 41 82 00 5C */ beq lbl_802767E4 -/* 8027678C 002736EC 80 E6 00 00 */ lwz r7, 0(r6) -/* 80276790 002736F0 38 80 00 00 */ li r4, 0 -/* 80276794 002736F4 2C 07 00 00 */ cmpwi r7, 0 -/* 80276798 002736F8 40 81 00 44 */ ble lbl_802767DC -/* 8027679C 002736FC 2C 07 00 08 */ cmpwi r7, 8 -/* 802767A0 00273700 38 A7 FF F8 */ addi r5, r7, -8 -/* 802767A4 00273704 40 81 00 20 */ ble lbl_802767C4 -/* 802767A8 00273708 38 05 00 07 */ addi r0, r5, 7 -/* 802767AC 0027370C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802767B0 00273710 7C 09 03 A6 */ mtctr r0 -/* 802767B4 00273714 2C 05 00 00 */ cmpwi r5, 0 -/* 802767B8 00273718 40 81 00 0C */ ble lbl_802767C4 -lbl_802767BC: -/* 802767BC 0027371C 38 84 00 08 */ addi r4, r4, 8 -/* 802767C0 00273720 42 00 FF FC */ bdnz lbl_802767BC -lbl_802767C4: -/* 802767C4 00273724 7C 04 38 50 */ subf r0, r4, r7 -/* 802767C8 00273728 7C 09 03 A6 */ mtctr r0 -/* 802767CC 0027372C 7C 04 38 00 */ cmpw r4, r7 -/* 802767D0 00273730 40 80 00 0C */ bge lbl_802767DC -lbl_802767D4: -/* 802767D4 00273734 38 84 00 01 */ addi r4, r4, 1 -/* 802767D8 00273738 42 00 FF FC */ bdnz lbl_802767D4 -lbl_802767DC: -/* 802767DC 0027373C 38 00 00 00 */ li r0, 0 -/* 802767E0 00273740 90 06 00 00 */ stw r0, 0(r6) -lbl_802767E4: -/* 802767E4 00273744 38 C6 00 3C */ addi r6, r6, 0x3c -/* 802767E8 00273748 38 63 00 01 */ addi r3, r3, 1 -lbl_802767EC: -/* 802767EC 0027374C 80 1F 11 60 */ lwz r0, 0x1160(r31) -/* 802767F0 00273750 7C 03 00 00 */ cmpw r3, r0 -/* 802767F4 00273754 41 80 FF 8C */ blt lbl_80276780 -/* 802767F8 00273758 38 00 00 00 */ li r0, 0 -/* 802767FC 0027375C 7F A3 EB 78 */ mr r3, r29 -/* 80276800 00273760 90 1F 11 60 */ stw r0, 0x1160(r31) -/* 80276804 00273764 38 81 00 08 */ addi r4, r1, 8 -/* 80276808 00273768 A0 1F 05 68 */ lhz r0, 0x568(r31) -/* 8027680C 0027376C B0 01 00 08 */ sth r0, 8(r1) -/* 80276810 00273770 4B DD 5D 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80276814 00273774 7C 64 1B 78 */ mr r4, r3 -/* 80276818 00273778 38 61 00 0C */ addi r3, r1, 0xc -/* 8027681C 0027377C 4B E3 68 CD */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276820 00273780 83 C3 00 04 */ lwz r30, 4(r3) -/* 80276824 00273784 28 1E 00 00 */ cmplwi r30, 0 -/* 80276828 00273788 41 82 00 8C */ beq lbl_802768B4 -/* 8027682C 0027378C 38 7F 11 60 */ addi r3, r31, 0x1160 -/* 80276830 00273790 38 9E 0C B8 */ addi r4, r30, 0xcb8 -/* 80276834 00273794 48 00 00 9D */ bl sub_802768d0 -/* 80276838 00273798 C0 1E 0C 9C */ lfs f0, 0xc9c(r30) -/* 8027683C 0027379C 38 00 00 00 */ li r0, 0 -/* 80276840 002737A0 7F E3 FB 78 */ mr r3, r31 -/* 80276844 002737A4 7F A4 EB 78 */ mr r4, r29 -/* 80276848 002737A8 D0 1F 08 C0 */ stfs f0, 0x8c0(r31) -/* 8027684C 002737AC C0 1E 0C A0 */ lfs f0, 0xca0(r30) -/* 80276850 002737B0 D0 1F 08 C4 */ stfs f0, 0x8c4(r31) -/* 80276854 002737B4 C0 1E 0C A4 */ lfs f0, 0xca4(r30) -/* 80276858 002737B8 D0 1F 10 4C */ stfs f0, 0x104c(r31) -/* 8027685C 002737BC C0 1E 0C A8 */ lfs f0, 0xca8(r30) -/* 80276860 002737C0 D0 1F 10 50 */ stfs f0, 0x1050(r31) -/* 80276864 002737C4 C0 1E 0C 84 */ lfs f0, 0xc84(r30) -/* 80276868 002737C8 D0 1F 09 24 */ stfs f0, 0x924(r31) -/* 8027686C 002737CC C0 1E 0C 88 */ lfs f0, 0xc88(r30) -/* 80276870 002737D0 D0 1F 09 28 */ stfs f0, 0x928(r31) -/* 80276874 002737D4 C0 1E 0C 8C */ lfs f0, 0xc8c(r30) -/* 80276878 002737D8 D0 1F 10 80 */ stfs f0, 0x1080(r31) -/* 8027687C 002737DC 80 BE 0C 90 */ lwz r5, 0xc90(r30) -/* 80276880 002737E0 90 BF 14 40 */ stw r5, 0x1440(r31) -/* 80276884 002737E4 80 BE 0C AC */ lwz r5, 0xcac(r30) -/* 80276888 002737E8 90 BF 09 18 */ stw r5, 0x918(r31) -/* 8027688C 002737EC 88 BE 0C 94 */ lbz r5, 0xc94(r30) -/* 80276890 002737F0 98 BF 05 84 */ stb r5, 0x584(r31) -/* 80276894 002737F4 80 BE 0C 98 */ lwz r5, 0xc98(r30) -/* 80276898 002737F8 90 BF 05 74 */ stw r5, 0x574(r31) -/* 8027689C 002737FC 80 BE 0C B0 */ lwz r5, 0xcb0(r30) -/* 802768A0 00273800 90 BF 08 D4 */ stw r5, 0x8d4(r31) -/* 802768A4 00273804 80 BE 0C B4 */ lwz r5, 0xcb4(r30) -/* 802768A8 00273808 90 BF 05 7C */ stw r5, 0x57c(r31) -/* 802768AC 0027380C 90 1F 05 80 */ stw r0, 0x580(r31) -/* 802768B0 00273810 4B FF F3 B1 */ bl sub_80275c60 -lbl_802768B4: -/* 802768B4 00273814 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802768B8 00273818 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802768BC 0027381C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802768C0 00273820 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802768C4 00273824 7C 08 03 A6 */ mtlr r0 -/* 802768C8 00273828 38 21 00 30 */ addi r1, r1, 0x30 -/* 802768CC 0027382C 4E 80 00 20 */ blr - -.global sub_802768d0 -sub_802768d0: -/* 802768D0 00273830 7C 03 20 40 */ cmplw r3, r4 -/* 802768D4 00273834 4D 82 00 20 */ beqlr -/* 802768D8 00273838 39 03 00 04 */ addi r8, r3, 4 -/* 802768DC 0027383C 38 A0 00 00 */ li r5, 0 -/* 802768E0 00273840 48 00 00 70 */ b lbl_80276950 -lbl_802768E4: -/* 802768E4 00273844 28 08 00 00 */ cmplwi r8, 0 -/* 802768E8 00273848 41 82 00 60 */ beq lbl_80276948 -/* 802768EC 0027384C 41 82 00 5C */ beq lbl_80276948 -/* 802768F0 00273850 81 28 00 00 */ lwz r9, 0(r8) -/* 802768F4 00273854 38 C0 00 00 */ li r6, 0 -/* 802768F8 00273858 2C 09 00 00 */ cmpwi r9, 0 -/* 802768FC 0027385C 40 81 00 44 */ ble lbl_80276940 -/* 80276900 00273860 2C 09 00 08 */ cmpwi r9, 8 -/* 80276904 00273864 38 E9 FF F8 */ addi r7, r9, -8 -/* 80276908 00273868 40 81 00 20 */ ble lbl_80276928 -/* 8027690C 0027386C 38 07 00 07 */ addi r0, r7, 7 -/* 80276910 00273870 54 00 E8 FE */ srwi r0, r0, 3 -/* 80276914 00273874 7C 09 03 A6 */ mtctr r0 -/* 80276918 00273878 2C 07 00 00 */ cmpwi r7, 0 -/* 8027691C 0027387C 40 81 00 0C */ ble lbl_80276928 -lbl_80276920: -/* 80276920 00273880 38 C6 00 08 */ addi r6, r6, 8 -/* 80276924 00273884 42 00 FF FC */ bdnz lbl_80276920 -lbl_80276928: -/* 80276928 00273888 7C 06 48 50 */ subf r0, r6, r9 -/* 8027692C 0027388C 7C 09 03 A6 */ mtctr r0 -/* 80276930 00273890 7C 06 48 00 */ cmpw r6, r9 -/* 80276934 00273894 40 80 00 0C */ bge lbl_80276940 -lbl_80276938: -/* 80276938 00273898 38 C6 00 01 */ addi r6, r6, 1 -/* 8027693C 0027389C 42 00 FF FC */ bdnz lbl_80276938 -lbl_80276940: -/* 80276940 002738A0 38 00 00 00 */ li r0, 0 -/* 80276944 002738A4 90 08 00 00 */ stw r0, 0(r8) -lbl_80276948: -/* 80276948 002738A8 39 08 00 3C */ addi r8, r8, 0x3c -/* 8027694C 002738AC 38 A5 00 01 */ addi r5, r5, 1 -lbl_80276950: -/* 80276950 002738B0 80 03 00 00 */ lwz r0, 0(r3) -/* 80276954 002738B4 7C 05 00 00 */ cmpw r5, r0 -/* 80276958 002738B8 41 80 FF 8C */ blt lbl_802768E4 -/* 8027695C 002738BC 38 00 00 00 */ li r0, 0 -/* 80276960 002738C0 38 C3 00 04 */ addi r6, r3, 4 -/* 80276964 002738C4 90 03 00 00 */ stw r0, 0(r3) -/* 80276968 002738C8 38 A4 00 04 */ addi r5, r4, 4 -/* 8027696C 002738CC 80 04 00 00 */ lwz r0, 0(r4) -/* 80276970 002738D0 1C 00 00 3C */ mulli r0, r0, 0x3c -/* 80276974 002738D4 7C E4 02 14 */ add r7, r4, r0 -/* 80276978 002738D8 38 E7 00 04 */ addi r7, r7, 4 -/* 8027697C 002738DC 48 00 00 50 */ b lbl_802769CC -lbl_80276980: -/* 80276980 002738E0 28 06 00 00 */ cmplwi r6, 0 -/* 80276984 002738E4 41 82 00 40 */ beq lbl_802769C4 -/* 80276988 002738E8 80 05 00 00 */ lwz r0, 0(r5) -/* 8027698C 002738EC 39 25 00 04 */ addi r9, r5, 4 -/* 80276990 002738F0 39 06 00 04 */ addi r8, r6, 4 -/* 80276994 002738F4 90 06 00 00 */ stw r0, 0(r6) -/* 80276998 002738F8 80 06 00 00 */ lwz r0, 0(r6) -/* 8027699C 002738FC 7C 09 03 A6 */ mtctr r0 -/* 802769A0 00273900 2C 00 00 00 */ cmpwi r0, 0 -/* 802769A4 00273904 40 81 00 20 */ ble lbl_802769C4 -lbl_802769A8: -/* 802769A8 00273908 28 08 00 00 */ cmplwi r8, 0 -/* 802769AC 0027390C 41 82 00 0C */ beq lbl_802769B8 -/* 802769B0 00273910 C0 09 00 00 */ lfs f0, 0(r9) -/* 802769B4 00273914 D0 08 00 00 */ stfs f0, 0(r8) -lbl_802769B8: -/* 802769B8 00273918 39 08 00 04 */ addi r8, r8, 4 -/* 802769BC 0027391C 39 29 00 04 */ addi r9, r9, 4 -/* 802769C0 00273920 42 00 FF E8 */ bdnz lbl_802769A8 -lbl_802769C4: -/* 802769C4 00273924 38 C6 00 3C */ addi r6, r6, 0x3c -/* 802769C8 00273928 38 A5 00 3C */ addi r5, r5, 0x3c -lbl_802769CC: -/* 802769CC 0027392C 7C 05 38 40 */ cmplw r5, r7 -/* 802769D0 00273930 40 82 FF B0 */ bne lbl_80276980 -/* 802769D4 00273934 80 04 00 00 */ lwz r0, 0(r4) -/* 802769D8 00273938 90 03 00 00 */ stw r0, 0(r3) -/* 802769DC 0027393C 4E 80 00 20 */ blr - -.global sub_802769e0 -sub_802769e0: -/* 802769E0 00273940 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802769E4 00273944 7C 08 02 A6 */ mflr r0 -/* 802769E8 00273948 90 01 00 64 */ stw r0, 0x64(r1) -/* 802769EC 0027394C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802769F0 00273950 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802769F4 00273954 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802769F8 00273958 7C 7B 1B 78 */ mr r27, r3 -/* 802769FC 0027395C 7C DE 33 78 */ mr r30, r6 -/* 80276A00 00273960 7C 9C 23 78 */ mr r28, r4 -/* 80276A04 00273964 7C BD 2B 78 */ mr r29, r5 -/* 80276A08 00273968 38 61 00 10 */ addi r3, r1, 0x10 -/* 80276A0C 0027396C 38 C0 00 0A */ li r6, 0xa -/* 80276A10 00273970 38 E0 00 06 */ li r7, 6 -/* 80276A14 00273974 48 00 01 29 */ bl sub_80276b3c -/* 80276A18 00273978 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80276A1C 0027397C A3 ED A3 8C */ lhz r31, lbl_805A8F4C@sda21(r13) -/* 80276A20 00273980 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80276A24 00273984 C3 E2 BC 08 */ lfs f31, lbl_805AD928@sda21(r2) -/* 80276A28 00273988 48 00 00 E4 */ b lbl_80276B0C -lbl_80276A2C: -/* 80276A2C 0027398C A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80276A30 00273990 7F A3 EB 78 */ mr r3, r29 -/* 80276A34 00273994 38 81 00 0C */ addi r4, r1, 0xc -/* 80276A38 00273998 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80276A3C 0027399C 4B DD 5B 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80276A40 002739A0 7C 64 1B 78 */ mr r4, r3 -/* 80276A44 002739A4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80276A48 002739A8 4B E2 FB 05 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80276A4C 002739AC 80 83 00 04 */ lwz r4, 4(r3) -/* 80276A50 002739B0 28 04 00 00 */ cmplwi r4, 0 -/* 80276A54 002739B4 41 82 00 B0 */ beq lbl_80276B04 -/* 80276A58 002739B8 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80276A5C 002739BC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80276A60 002739C0 C0 1C 00 50 */ lfs f0, 0x50(r28) -/* 80276A64 002739C4 C0 DC 00 48 */ lfs f6, 0x48(r28) -/* 80276A68 002739C8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80276A6C 002739CC C0 44 00 40 */ lfs f2, 0x40(r4) -/* 80276A70 002739D0 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80276A74 002739D4 C0 3C 00 38 */ lfs f1, 0x38(r28) -/* 80276A78 002739D8 EC A2 00 28 */ fsubs f5, f2, f0 -/* 80276A7C 002739DC C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80276A80 002739E0 EC 06 01 32 */ fmuls f0, f6, f4 -/* 80276A84 002739E4 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 80276A88 002739E8 C0 9C 00 58 */ lfs f4, 0x58(r28) -/* 80276A8C 002739EC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80276A90 002739F0 EC 01 01 7A */ fmadds f0, f1, f5, f0 -/* 80276A94 002739F4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80276A98 002739F8 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 80276A9C 002739FC EC 24 00 BA */ fmadds f1, f4, f2, f0 -/* 80276AA0 00273A00 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80276AA4 00273A04 41 82 00 24 */ beq lbl_80276AC8 -/* 80276AA8 00273A08 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80276AAC 00273A0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276AB0 00273A10 40 81 00 18 */ ble lbl_80276AC8 -/* 80276AB4 00273A14 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80276AB8 00273A18 40 81 00 10 */ ble lbl_80276AC8 -/* 80276ABC 00273A1C FF E0 08 90 */ fmr f31, f1 -/* 80276AC0 00273A20 A3 E1 00 14 */ lhz r31, 0x14(r1) -/* 80276AC4 00273A24 48 00 00 28 */ b lbl_80276AEC -lbl_80276AC8: -/* 80276AC8 00273A28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80276ACC 00273A2C 40 82 00 20 */ bne lbl_80276AEC -/* 80276AD0 00273A30 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80276AD4 00273A34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276AD8 00273A38 40 80 00 14 */ bge lbl_80276AEC -/* 80276ADC 00273A3C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80276AE0 00273A40 40 80 00 0C */ bge lbl_80276AEC -/* 80276AE4 00273A44 A3 E1 00 14 */ lhz r31, 0x14(r1) -/* 80276AE8 00273A48 FF E0 08 90 */ fmr f31, f1 -lbl_80276AEC: -/* 80276AEC 00273A4C 7F A5 EB 78 */ mr r5, r29 -/* 80276AF0 00273A50 38 61 00 08 */ addi r3, r1, 8 -/* 80276AF4 00273A54 4B E0 06 41 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager -/* 80276AF8 00273A58 A0 01 00 08 */ lhz r0, 8(r1) -/* 80276AFC 00273A5C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80276B00 00273A60 48 00 00 0C */ b lbl_80276B0C -lbl_80276B04: -/* 80276B04 00273A64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80276B08 00273A68 B0 01 00 14 */ sth r0, 0x14(r1) -lbl_80276B0C: -/* 80276B0C 00273A6C A0 61 00 14 */ lhz r3, 0x14(r1) -/* 80276B10 00273A70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80276B14 00273A74 7C 03 00 40 */ cmplw r3, r0 -/* 80276B18 00273A78 40 82 FF 14 */ bne lbl_80276A2C -/* 80276B1C 00273A7C B3 FB 00 00 */ sth r31, 0(r27) -/* 80276B20 00273A80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80276B24 00273A84 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80276B28 00273A88 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80276B2C 00273A8C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80276B30 00273A90 7C 08 03 A6 */ mtlr r0 -/* 80276B34 00273A94 38 21 00 60 */ addi r1, r1, 0x60 -/* 80276B38 00273A98 4E 80 00 20 */ blr - -.global sub_80276b3c -sub_80276b3c: -/* 80276B3C 00273A9C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80276B40 00273AA0 7C 08 02 A6 */ mflr r0 -/* 80276B44 00273AA4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80276B48 00273AA8 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 80276B4C 00273AAC 7C BA 2B 78 */ mr r26, r5 -/* 80276B50 00273AB0 7C 79 1B 78 */ mr r25, r3 -/* 80276B54 00273AB4 7C DB 33 78 */ mr r27, r6 -/* 80276B58 00273AB8 7C FC 3B 78 */ mr r28, r7 -/* 80276B5C 00273ABC 7F 43 D3 78 */ mr r3, r26 -/* 80276B60 00273AC0 A0 04 05 68 */ lhz r0, 0x568(r4) -/* 80276B64 00273AC4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80276B68 00273AC8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80276B6C 00273ACC 4B DD 5A 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80276B70 00273AD0 7C 64 1B 78 */ mr r4, r3 -/* 80276B74 00273AD4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80276B78 00273AD8 4B E3 65 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276B7C 00273ADC 83 A3 00 04 */ lwz r29, 4(r3) -/* 80276B80 00273AE0 28 1D 00 00 */ cmplwi r29, 0 -/* 80276B84 00273AE4 41 82 01 90 */ beq lbl_80276D14 -/* 80276B88 00273AE8 38 00 00 00 */ li r0, 0 -/* 80276B8C 00273AEC 83 FD 00 2C */ lwz r31, 0x2c(r29) -/* 80276B90 00273AF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276B94 00273AF4 3B C1 00 28 */ addi r30, r1, 0x28 -/* 80276B98 00273AF8 48 00 00 94 */ b lbl_80276C2C -lbl_80276B9C: -/* 80276B9C 00273AFC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80276BA0 00273B00 7C 1B 00 00 */ cmpw r27, r0 -/* 80276BA4 00273B04 40 82 00 84 */ bne lbl_80276C28 -/* 80276BA8 00273B08 80 1F 00 04 */ lwz r0, 4(r31) -/* 80276BAC 00273B0C 7C 1C 00 00 */ cmpw r28, r0 -/* 80276BB0 00273B10 40 82 00 78 */ bne lbl_80276C28 -/* 80276BB4 00273B14 80 1F 00 08 */ lwz r0, 8(r31) -/* 80276BB8 00273B18 7F 44 D3 78 */ mr r4, r26 -/* 80276BBC 00273B1C 38 61 00 0C */ addi r3, r1, 0xc -/* 80276BC0 00273B20 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80276BC4 00273B24 90 01 00 18 */ stw r0, 0x18(r1) -/* 80276BC8 00273B28 4B DD 13 55 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80276BCC 00273B2C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80276BD0 00273B30 7F 43 D3 78 */ mr r3, r26 -/* 80276BD4 00273B34 38 81 00 08 */ addi r4, r1, 8 -/* 80276BD8 00273B38 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80276BDC 00273B3C B0 01 00 08 */ sth r0, 8(r1) -/* 80276BE0 00273B40 4B DD 59 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80276BE4 00273B44 28 03 00 00 */ cmplwi r3, 0 -/* 80276BE8 00273B48 41 82 00 40 */ beq lbl_80276C28 -/* 80276BEC 00273B4C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80276BF0 00273B50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80276BF4 00273B54 41 82 00 34 */ beq lbl_80276C28 -/* 80276BF8 00273B58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276BFC 00273B5C 54 00 08 3C */ slwi r0, r0, 1 -/* 80276C00 00273B60 7C 7E 02 15 */ add. r3, r30, r0 -/* 80276C04 00273B64 41 82 00 0C */ beq lbl_80276C10 -/* 80276C08 00273B68 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80276C0C 00273B6C B0 03 00 00 */ sth r0, 0(r3) -lbl_80276C10: -/* 80276C10 00273B70 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80276C14 00273B74 38 63 00 01 */ addi r3, r3, 1 -/* 80276C18 00273B78 20 03 00 08 */ subfic r0, r3, 8 -/* 80276C1C 00273B7C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80276C20 00273B80 2C 00 00 00 */ cmpwi r0, 0 -/* 80276C24 00273B84 40 81 00 20 */ ble lbl_80276C44 -lbl_80276C28: -/* 80276C28 00273B88 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80276C2C: -/* 80276C2C 00273B8C 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 80276C30 00273B90 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80276C34 00273B94 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80276C38 00273B98 7C 03 02 14 */ add r0, r3, r0 -/* 80276C3C 00273B9C 7C 1F 00 40 */ cmplw r31, r0 -/* 80276C40 00273BA0 40 82 FF 5C */ bne lbl_80276B9C -lbl_80276C44: -/* 80276C44 00273BA4 83 61 00 24 */ lwz r27, 0x24(r1) -/* 80276C48 00273BA8 2C 1B 00 00 */ cmpwi r27, 0 -/* 80276C4C 00273BAC 41 82 00 7C */ beq lbl_80276CC8 -/* 80276C50 00273BB0 80 7A 09 00 */ lwz r3, 0x900(r26) -/* 80276C54 00273BB4 48 09 B8 CD */ bl Next__9CRandom16Fv -/* 80276C58 00273BB8 7C 03 DB D6 */ divw r0, r3, r27 -/* 80276C5C 00273BBC 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 80276C60 00273BC0 38 80 00 00 */ li r4, 0 -/* 80276C64 00273BC4 2C 05 00 00 */ cmpwi r5, 0 -/* 80276C68 00273BC8 7C 00 D9 D6 */ mullw r0, r0, r27 -/* 80276C6C 00273BCC 7C 00 18 50 */ subf r0, r0, r3 -/* 80276C70 00273BD0 54 00 08 3C */ slwi r0, r0, 1 -/* 80276C74 00273BD4 7C 1E 02 2E */ lhzx r0, r30, r0 -/* 80276C78 00273BD8 B0 19 00 00 */ sth r0, 0(r25) -/* 80276C7C 00273BDC 40 81 00 40 */ ble lbl_80276CBC -/* 80276C80 00273BE0 2C 05 00 08 */ cmpwi r5, 8 -/* 80276C84 00273BE4 38 65 FF F8 */ addi r3, r5, -8 -/* 80276C88 00273BE8 40 81 00 20 */ ble lbl_80276CA8 -/* 80276C8C 00273BEC 38 03 00 07 */ addi r0, r3, 7 -/* 80276C90 00273BF0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80276C94 00273BF4 7C 09 03 A6 */ mtctr r0 -/* 80276C98 00273BF8 2C 03 00 00 */ cmpwi r3, 0 -/* 80276C9C 00273BFC 40 81 00 0C */ ble lbl_80276CA8 -lbl_80276CA0: -/* 80276CA0 00273C00 38 84 00 08 */ addi r4, r4, 8 -/* 80276CA4 00273C04 42 00 FF FC */ bdnz lbl_80276CA0 -lbl_80276CA8: -/* 80276CA8 00273C08 7C 04 28 50 */ subf r0, r4, r5 -/* 80276CAC 00273C0C 7C 09 03 A6 */ mtctr r0 -/* 80276CB0 00273C10 7C 04 28 00 */ cmpw r4, r5 -/* 80276CB4 00273C14 40 80 00 08 */ bge lbl_80276CBC -lbl_80276CB8: -/* 80276CB8 00273C18 42 00 00 00 */ bdnz lbl_80276CB8 -lbl_80276CBC: -/* 80276CBC 00273C1C 38 00 00 00 */ li r0, 0 -/* 80276CC0 00273C20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276CC4 00273C24 48 00 00 58 */ b lbl_80276D1C -lbl_80276CC8: -/* 80276CC8 00273C28 38 60 00 00 */ li r3, 0 -/* 80276CCC 00273C2C 40 81 00 40 */ ble lbl_80276D0C -/* 80276CD0 00273C30 2C 1B 00 08 */ cmpwi r27, 8 -/* 80276CD4 00273C34 38 9B FF F8 */ addi r4, r27, -8 -/* 80276CD8 00273C38 40 81 00 20 */ ble lbl_80276CF8 -/* 80276CDC 00273C3C 38 04 00 07 */ addi r0, r4, 7 -/* 80276CE0 00273C40 54 00 E8 FE */ srwi r0, r0, 3 -/* 80276CE4 00273C44 7C 09 03 A6 */ mtctr r0 -/* 80276CE8 00273C48 2C 04 00 00 */ cmpwi r4, 0 -/* 80276CEC 00273C4C 40 81 00 0C */ ble lbl_80276CF8 -lbl_80276CF0: -/* 80276CF0 00273C50 38 63 00 08 */ addi r3, r3, 8 -/* 80276CF4 00273C54 42 00 FF FC */ bdnz lbl_80276CF0 -lbl_80276CF8: -/* 80276CF8 00273C58 7C 03 D8 50 */ subf r0, r3, r27 -/* 80276CFC 00273C5C 7C 09 03 A6 */ mtctr r0 -/* 80276D00 00273C60 7C 03 D8 00 */ cmpw r3, r27 -/* 80276D04 00273C64 40 80 00 08 */ bge lbl_80276D0C -lbl_80276D08: -/* 80276D08 00273C68 42 00 00 00 */ bdnz lbl_80276D08 -lbl_80276D0C: -/* 80276D0C 00273C6C 38 00 00 00 */ li r0, 0 -/* 80276D10 00273C70 90 01 00 24 */ stw r0, 0x24(r1) -lbl_80276D14: -/* 80276D14 00273C74 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80276D18 00273C78 B0 19 00 00 */ sth r0, 0(r25) -lbl_80276D1C: -/* 80276D1C 00273C7C BB 21 00 44 */ lmw r25, 0x44(r1) -/* 80276D20 00273C80 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80276D24 00273C84 7C 08 03 A6 */ mtlr r0 -/* 80276D28 00273C88 38 21 00 60 */ addi r1, r1, 0x60 -/* 80276D2C 00273C8C 4E 80 00 20 */ blr - -.global sub_80276d30 -sub_80276d30: -/* 80276D30 00273C90 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80276D34 00273C94 7C 08 02 A6 */ mflr r0 -/* 80276D38 00273C98 90 01 00 64 */ stw r0, 0x64(r1) -/* 80276D3C 00273C9C BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80276D40 00273CA0 7C 7D 1B 78 */ mr r29, r3 -/* 80276D44 00273CA4 7C 9E 23 78 */ mr r30, r4 -/* 80276D48 00273CA8 7C BF 2B 78 */ mr r31, r5 -/* 80276D4C 00273CAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80276D50 00273CB0 A0 63 05 68 */ lhz r3, 0x568(r3) -/* 80276D54 00273CB4 7C 03 00 40 */ cmplw r3, r0 -/* 80276D58 00273CB8 41 82 00 3C */ beq lbl_80276D94 -/* 80276D5C 00273CBC A0 1D 05 68 */ lhz r0, 0x568(r29) -/* 80276D60 00273CC0 7F C3 F3 78 */ mr r3, r30 -/* 80276D64 00273CC4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80276D68 00273CC8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80276D6C 00273CCC 4B DD 58 09 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80276D70 00273CD0 7C 64 1B 78 */ mr r4, r3 -/* 80276D74 00273CD4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80276D78 00273CD8 4B E3 63 71 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276D7C 00273CDC 80 63 00 04 */ lwz r3, 4(r3) -/* 80276D80 00273CE0 28 03 00 00 */ cmplwi r3, 0 -/* 80276D84 00273CE4 41 82 00 10 */ beq lbl_80276D94 -/* 80276D88 00273CE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80276D8C 00273CEC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80276D90 00273CF0 B0 03 00 34 */ sth r0, 0x34(r3) -lbl_80276D94: -/* 80276D94 00273CF4 83 9E 08 10 */ lwz r28, 0x810(r30) -/* 80276D98 00273CF8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80276D9C 00273CFC AB 7C 20 08 */ lha r27, 0x2008(r28) -/* 80276DA0 00273D00 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276DA4 00273D04 48 00 00 6C */ b lbl_80276E10 -lbl_80276DA8: -/* 80276DA8 00273D08 7F 83 E3 78 */ mr r3, r28 -/* 80276DAC 00273D0C 7F 64 DB 78 */ mr r4, r27 -/* 80276DB0 00273D10 4B D9 8F 65 */ bl __vc__11CObjectListFi -/* 80276DB4 00273D14 7C 60 1B 78 */ mr r0, r3 -/* 80276DB8 00273D18 38 61 00 28 */ addi r3, r1, 0x28 -/* 80276DBC 00273D1C 7C 04 03 78 */ mr r4, r0 -/* 80276DC0 00273D20 4B E3 63 29 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276DC4 00273D24 80 83 00 04 */ lwz r4, 4(r3) -/* 80276DC8 00273D28 28 04 00 00 */ cmplwi r4, 0 -/* 80276DCC 00273D2C 41 82 00 28 */ beq lbl_80276DF4 -/* 80276DD0 00273D30 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80276DD4 00273D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80276DD8 00273D38 41 82 00 1C */ beq lbl_80276DF4 -/* 80276DDC 00273D3C 80 64 00 04 */ lwz r3, 4(r4) -/* 80276DE0 00273D40 80 1F 00 00 */ lwz r0, 0(r31) -/* 80276DE4 00273D44 7C 03 00 00 */ cmpw r3, r0 -/* 80276DE8 00273D48 40 82 00 0C */ bne lbl_80276DF4 -/* 80276DEC 00273D4C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80276DF0 00273D50 90 01 00 24 */ stw r0, 0x24(r1) -lbl_80276DF4: -/* 80276DF4 00273D54 2C 1B FF FF */ cmpwi r27, -1 -/* 80276DF8 00273D58 41 82 00 14 */ beq lbl_80276E0C -/* 80276DFC 00273D5C 57 63 18 38 */ slwi r3, r27, 3 -/* 80276E00 00273D60 38 03 00 08 */ addi r0, r3, 8 -/* 80276E04 00273D64 7F 7C 02 AE */ lhax r27, r28, r0 -/* 80276E08 00273D68 48 00 00 08 */ b lbl_80276E10 -lbl_80276E0C: -/* 80276E0C 00273D6C 3B 60 FF FF */ li r27, -1 -lbl_80276E10: -/* 80276E10 00273D70 2C 1B FF FF */ cmpwi r27, -1 -/* 80276E14 00273D74 40 82 FF 94 */ bne lbl_80276DA8 -/* 80276E18 00273D78 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 80276E1C 00273D7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276E20 00273D80 B0 7D 05 68 */ sth r3, 0x568(r29) -/* 80276E24 00273D84 54 03 01 BE */ clrlwi r3, r0, 6 -/* 80276E28 00273D88 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80276E2C 00273D8C 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80276E30 00273D90 7C 03 00 40 */ cmplw r3, r0 -/* 80276E34 00273D94 41 82 00 60 */ beq lbl_80276E94 -/* 80276E38 00273D98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276E3C 00273D9C 7F C4 F3 78 */ mr r4, r30 -/* 80276E40 00273DA0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80276E44 00273DA4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80276E48 00273DA8 90 01 00 20 */ stw r0, 0x20(r1) -/* 80276E4C 00273DAC 4B DD 10 D1 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80276E50 00273DB0 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80276E54 00273DB4 7F C3 F3 78 */ mr r3, r30 -/* 80276E58 00273DB8 38 81 00 10 */ addi r4, r1, 0x10 -/* 80276E5C 00273DBC B0 1D 05 68 */ sth r0, 0x568(r29) -/* 80276E60 00273DC0 A0 1D 05 68 */ lhz r0, 0x568(r29) -/* 80276E64 00273DC4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80276E68 00273DC8 4B DD 57 0D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80276E6C 00273DCC 7C 64 1B 78 */ mr r4, r3 -/* 80276E70 00273DD0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80276E74 00273DD4 4B E3 62 75 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276E78 00273DD8 80 63 00 04 */ lwz r3, 4(r3) -/* 80276E7C 00273DDC 28 03 00 00 */ cmplwi r3, 0 -/* 80276E80 00273DE0 41 82 00 14 */ beq lbl_80276E94 -/* 80276E84 00273DE4 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80276E88 00273DE8 B0 01 00 08 */ sth r0, 8(r1) -/* 80276E8C 00273DEC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80276E90 00273DF0 B0 03 00 34 */ sth r0, 0x34(r3) -lbl_80276E94: -/* 80276E94 00273DF4 7F A3 EB 78 */ mr r3, r29 -/* 80276E98 00273DF8 7F C4 F3 78 */ mr r4, r30 -/* 80276E9C 00273DFC 4B FF F8 B9 */ bl sub_80276754 -/* 80276EA0 00273E00 7F A3 EB 78 */ mr r3, r29 -/* 80276EA4 00273E04 7F C4 F3 78 */ mr r4, r30 -/* 80276EA8 00273E08 4B FF CE 91 */ bl sub_80273d38 -/* 80276EAC 00273E0C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80276EB0 00273E10 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80276EB4 00273E14 7C 08 03 A6 */ mtlr r0 -/* 80276EB8 00273E18 38 21 00 60 */ addi r1, r1, 0x60 -/* 80276EBC 00273E1C 4E 80 00 20 */ blr - -.global sub_80276ec0 -sub_80276ec0: -/* 80276EC0 00273E20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80276EC4 00273E24 7C 08 02 A6 */ mflr r0 -/* 80276EC8 00273E28 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276ECC 00273E2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80276ED0 00273E30 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80276ED4 00273E34 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80276ED8 00273E38 93 81 00 10 */ stw r28, 0x10(r1) -/* 80276EDC 00273E3C 7C BC 2B 78 */ mr r28, r5 -/* 80276EE0 00273E40 83 E4 08 10 */ lwz r31, 0x810(r4) -/* 80276EE4 00273E44 83 CD A3 88 */ lwz r30, lbl_805A8F48@sda21(r13) -/* 80276EE8 00273E48 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 80276EEC 00273E4C 48 00 00 68 */ b lbl_80276F54 -lbl_80276EF0: -/* 80276EF0 00273E50 7F E3 FB 78 */ mr r3, r31 -/* 80276EF4 00273E54 7F A4 EB 78 */ mr r4, r29 -/* 80276EF8 00273E58 4B D9 8D E5 */ bl __vc__11CObjectListCFi -/* 80276EFC 00273E5C 7C 60 1B 78 */ mr r0, r3 -/* 80276F00 00273E60 38 61 00 08 */ addi r3, r1, 8 -/* 80276F04 00273E64 7C 04 03 78 */ mr r4, r0 -/* 80276F08 00273E68 4B E3 61 E1 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity" -/* 80276F0C 00273E6C 80 83 00 04 */ lwz r4, 4(r3) -/* 80276F10 00273E70 28 04 00 00 */ cmplwi r4, 0 -/* 80276F14 00273E74 41 82 00 24 */ beq lbl_80276F38 -/* 80276F18 00273E78 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80276F1C 00273E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80276F20 00273E80 41 82 00 18 */ beq lbl_80276F38 -/* 80276F24 00273E84 80 64 00 04 */ lwz r3, 4(r4) -/* 80276F28 00273E88 80 1C 00 00 */ lwz r0, 0(r28) -/* 80276F2C 00273E8C 7C 03 00 00 */ cmpw r3, r0 -/* 80276F30 00273E90 40 82 00 08 */ bne lbl_80276F38 -/* 80276F34 00273E94 83 C4 00 0C */ lwz r30, 0xc(r4) -lbl_80276F38: -/* 80276F38 00273E98 2C 1D FF FF */ cmpwi r29, -1 -/* 80276F3C 00273E9C 41 82 00 14 */ beq lbl_80276F50 -/* 80276F40 00273EA0 57 A3 18 38 */ slwi r3, r29, 3 -/* 80276F44 00273EA4 38 03 00 08 */ addi r0, r3, 8 -/* 80276F48 00273EA8 7F BF 02 AE */ lhax r29, r31, r0 -/* 80276F4C 00273EAC 48 00 00 08 */ b lbl_80276F54 -lbl_80276F50: -/* 80276F50 00273EB0 3B A0 FF FF */ li r29, -1 -lbl_80276F54: -/* 80276F54 00273EB4 2C 1D FF FF */ cmpwi r29, -1 -/* 80276F58 00273EB8 40 82 FF 98 */ bne lbl_80276EF0 -/* 80276F5C 00273EBC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 80276F60 00273EC0 57 C4 01 BE */ clrlwi r4, r30, 6 -/* 80276F64 00273EC4 54 00 01 BE */ clrlwi r0, r0, 6 -/* 80276F68 00273EC8 7C 64 00 50 */ subf r3, r4, r0 -/* 80276F6C 00273ECC 7C 00 20 50 */ subf r0, r0, r4 -/* 80276F70 00273ED0 7C 60 03 78 */ or r0, r3, r0 -/* 80276F74 00273ED4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80276F78 00273ED8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80276F7C 00273EDC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80276F80 00273EE0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80276F84 00273EE4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80276F88 00273EE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80276F8C 00273EEC 7C 08 03 A6 */ mtlr r0 -/* 80276F90 00273EF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80276F94 00273EF4 4E 80 00 20 */ blr - -.global AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__16CMetroidPrimeExoCFRC14CFrustumPlanesRC13CStateManager: -/* 80276F98 00273EF8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80276F9C 00273EFC 7C 08 02 A6 */ mflr r0 -/* 80276FA0 00273F00 90 01 00 94 */ stw r0, 0x94(r1) -/* 80276FA4 00273F04 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 80276FA8 00273F08 7C 7B 1B 78 */ mr r27, r3 -/* 80276FAC 00273F0C 7C 9C 23 78 */ mr r28, r4 -/* 80276FB0 00273F10 4B E0 09 09 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager -/* 80276FB4 00273F14 80 9B 0C 54 */ lwz r4, 0xc54(r27) -/* 80276FB8 00273F18 38 61 00 5C */ addi r3, r1, 0x5c -/* 80276FBC 00273F1C 81 84 00 00 */ lwz r12, 0(r4) -/* 80276FC0 00273F20 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80276FC4 00273F24 7D 89 03 A6 */ mtctr r12 -/* 80276FC8 00273F28 4E 80 04 21 */ bctrl -/* 80276FCC 00273F2C 7F 83 E3 78 */ mr r3, r28 -/* 80276FD0 00273F30 38 81 00 5C */ addi r4, r1, 0x5c -/* 80276FD4 00273F34 48 0C E1 B5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 80276FD8 00273F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80276FDC 00273F3C 38 60 00 00 */ li r3, 0 -/* 80276FE0 00273F40 98 61 00 74 */ stb r3, 0x74(r1) -/* 80276FE4 00273F44 41 82 00 1C */ beq lbl_80277000 -/* 80276FE8 00273F48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80276FEC 00273F4C 80 9B 0C 54 */ lwz r4, 0xc54(r27) -/* 80276FF0 00273F50 81 83 00 00 */ lwz r12, 0(r3) -/* 80276FF4 00273F54 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80276FF8 00273F58 7D 89 03 A6 */ mtctr r12 -/* 80276FFC 00273F5C 4E 80 04 21 */ bctrl -lbl_80277000: -/* 80277000 00273F60 80 9B 0F B0 */ lwz r4, 0xfb0(r27) -/* 80277004 00273F64 38 61 00 40 */ addi r3, r1, 0x40 -/* 80277008 00273F68 81 84 00 00 */ lwz r12, 0(r4) -/* 8027700C 00273F6C 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80277010 00273F70 7D 89 03 A6 */ mtctr r12 -/* 80277014 00273F74 4E 80 04 21 */ bctrl -/* 80277018 00273F78 7F 83 E3 78 */ mr r3, r28 -/* 8027701C 00273F7C 38 81 00 40 */ addi r4, r1, 0x40 -/* 80277020 00273F80 48 0C E1 69 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 80277024 00273F84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80277028 00273F88 38 60 00 00 */ li r3, 0 -/* 8027702C 00273F8C 98 61 00 58 */ stb r3, 0x58(r1) -/* 80277030 00273F90 41 82 00 1C */ beq lbl_8027704C -/* 80277034 00273F94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80277038 00273F98 80 9B 0F B0 */ lwz r4, 0xfb0(r27) -/* 8027703C 00273F9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80277040 00273FA0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80277044 00273FA4 7D 89 03 A6 */ mtctr r12 -/* 80277048 00273FA8 4E 80 04 21 */ bctrl -lbl_8027704C: -/* 8027704C 00273FAC 80 9B 10 28 */ lwz r4, 0x1028(r27) -/* 80277050 00273FB0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80277054 00273FB4 81 84 00 00 */ lwz r12, 0(r4) -/* 80277058 00273FB8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8027705C 00273FBC 7D 89 03 A6 */ mtctr r12 -/* 80277060 00273FC0 4E 80 04 21 */ bctrl -/* 80277064 00273FC4 7F 83 E3 78 */ mr r3, r28 -/* 80277068 00273FC8 38 81 00 24 */ addi r4, r1, 0x24 -/* 8027706C 00273FCC 48 0C E1 1D */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 80277070 00273FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80277074 00273FD4 38 60 00 00 */ li r3, 0 -/* 80277078 00273FD8 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8027707C 00273FDC 41 82 00 1C */ beq lbl_80277098 -/* 80277080 00273FE0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80277084 00273FE4 80 9B 10 28 */ lwz r4, 0x1028(r27) -/* 80277088 00273FE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027708C 00273FEC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80277090 00273FF0 7D 89 03 A6 */ mtctr r12 -/* 80277094 00273FF4 4E 80 04 21 */ bctrl -lbl_80277098: -/* 80277098 00273FF8 3B FB 0F F0 */ addi r31, r27, 0xff0 -/* 8027709C 00273FFC 3B DB 10 04 */ addi r30, r27, 0x1004 -/* 802770A0 00274000 3B A0 00 00 */ li r29, 0 -lbl_802770A4: -/* 802770A4 00274004 80 9F 00 04 */ lwz r4, 4(r31) -/* 802770A8 00274008 38 61 00 08 */ addi r3, r1, 8 -/* 802770AC 0027400C 81 84 00 00 */ lwz r12, 0(r4) -/* 802770B0 00274010 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802770B4 00274014 7D 89 03 A6 */ mtctr r12 -/* 802770B8 00274018 4E 80 04 21 */ bctrl -/* 802770BC 0027401C 7F 83 E3 78 */ mr r3, r28 -/* 802770C0 00274020 38 81 00 08 */ addi r4, r1, 8 -/* 802770C4 00274024 48 0C E0 C5 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -/* 802770C8 00274028 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802770CC 0027402C 38 60 00 00 */ li r3, 0 -/* 802770D0 00274030 98 61 00 20 */ stb r3, 0x20(r1) -/* 802770D4 00274034 41 82 00 1C */ beq lbl_802770F0 -/* 802770D8 00274038 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802770DC 0027403C 80 9F 00 04 */ lwz r4, 4(r31) -/* 802770E0 00274040 81 83 00 00 */ lwz r12, 0(r3) -/* 802770E4 00274044 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802770E8 00274048 7D 89 03 A6 */ mtctr r12 -/* 802770EC 0027404C 4E 80 04 21 */ bctrl -lbl_802770F0: -/* 802770F0 00274050 88 1B 10 54 */ lbz r0, 0x1054(r27) -/* 802770F4 00274054 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802770F8 00274058 41 82 00 1C */ beq lbl_80277114 -/* 802770FC 0027405C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80277100 00274060 80 9E 00 04 */ lwz r4, 4(r30) -/* 80277104 00274064 81 83 00 00 */ lwz r12, 0(r3) -/* 80277108 00274068 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027710C 0027406C 7D 89 03 A6 */ mtctr r12 -/* 80277110 00274070 4E 80 04 21 */ bctrl -lbl_80277114: -/* 80277114 00274074 3B BD 00 01 */ addi r29, r29, 1 -/* 80277118 00274078 3B DE 00 08 */ addi r30, r30, 8 -/* 8027711C 0027407C 2C 1D 00 02 */ cmpwi r29, 2 -/* 80277120 00274080 3B FF 00 08 */ addi r31, r31, 8 -/* 80277124 00274084 41 80 FF 80 */ blt lbl_802770A4 -/* 80277128 00274088 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 8027712C 0027408C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80277130 00274090 7C 08 03 A6 */ mtlr r0 -/* 80277134 00274094 38 21 00 90 */ addi r1, r1, 0x90 -/* 80277138 00274098 4E 80 00 20 */ blr - -.global CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager -CanRenderUnsorted__16CMetroidPrimeExoCFRC13CStateManager: -/* 8027713C 0027409C 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 80277140 002740A0 80 63 00 00 */ lwz r3, 0(r3) -/* 80277144 002740A4 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80277148 002740A8 20 64 00 01 */ subfic r3, r4, 1 -/* 8027714C 002740AC 38 04 FF FF */ addi r0, r4, -1 -/* 80277150 002740B0 7C 60 03 78 */ or r0, r3, r0 -/* 80277154 002740B4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80277158 002740B8 4E 80 00 20 */ blr - -.global Render__16CMetroidPrimeExoCFRC13CStateManager -Render__16CMetroidPrimeExoCFRC13CStateManager: -/* 8027715C 002740BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277160 002740C0 7C 08 02 A6 */ mflr r0 -/* 80277164 002740C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277168 002740C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027716C 002740CC 7C 9F 23 78 */ mr r31, r4 -/* 80277170 002740D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80277174 002740D4 7C 7E 1B 78 */ mr r30, r3 -/* 80277178 002740D8 38 9E 08 D8 */ addi r4, r30, 0x8d8 -/* 8027717C 002740DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80277180 002740E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80277184 002740E4 81 8C 00 FC */ lwz r12, 0xfc(r12) -/* 80277188 002740E8 7D 89 03 A6 */ mtctr r12 -/* 8027718C 002740EC 4E 80 04 21 */ bctrl -/* 80277190 002740F0 7F C3 F3 78 */ mr r3, r30 -/* 80277194 002740F4 7F E4 FB 78 */ mr r4, r31 -/* 80277198 002740F8 4B E0 0E 95 */ bl Render__10CPatternedCFRC13CStateManager -/* 8027719C 002740FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802771A0 00274100 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802771A4 00274104 83 C1 00 08 */ lwz r30, 8(r1) -/* 802771A8 00274108 7C 08 03 A6 */ mtlr r0 -/* 802771AC 0027410C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802771B0 00274110 4E 80 00 20 */ blr - -.global PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes -PreRender__16CMetroidPrimeExoFR13CStateManagerRC14CFrustumPlanes: -/* 802771B4 00274114 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802771B8 00274118 7C 08 02 A6 */ mflr r0 -/* 802771BC 0027411C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802771C0 00274120 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802771C4 00274124 7C 9F 23 78 */ mr r31, r4 -/* 802771C8 00274128 93 C1 00 08 */ stw r30, 8(r1) -/* 802771CC 0027412C 7C 7E 1B 78 */ mr r30, r3 -/* 802771D0 00274130 4B E0 11 0D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes -/* 802771D4 00274134 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802771D8 00274138 80 7E 14 3C */ lwz r3, 0x143c(r30) -/* 802771DC 0027413C 39 04 66 A0 */ addi r8, r4, skZero3f@l -/* 802771E0 00274140 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 802771E4 00274144 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 802771E8 00274148 7F E4 FB 78 */ mr r4, r31 -/* 802771EC 0027414C C0 42 BC 40 */ lfs f2, lbl_805AD960@sda21(r2) -/* 802771F0 00274150 38 DE 00 34 */ addi r6, r30, 0x34 -/* 802771F4 00274154 38 E0 00 01 */ li r7, 1 -/* 802771F8 00274158 48 02 6B 91 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff -/* 802771FC 0027415C C0 02 BB FC */ lfs f0, lbl_805AD91C@sda21(r2) -/* 80277200 00274160 80 7E 14 3C */ lwz r3, 0x143c(r30) -/* 80277204 00274164 D0 03 00 98 */ stfs f0, 0x98(r3) -/* 80277208 00274168 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027720C 0027416C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80277210 00274170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277214 00274174 7C 08 03 A6 */ mtlr r0 -/* 80277218 00274178 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027721C 0027417C 4E 80 00 20 */ blr - -.global Touch__16CMetroidPrimeExoFR6CActorR13CStateManager -Touch__16CMetroidPrimeExoFR6CActorR13CStateManager: -/* 80277220 00274180 4E 80 00 20 */ blr - -.global sub_80277224 -sub_80277224: -/* 80277224 00274184 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80277228 00274188 7C 08 02 A6 */ mflr r0 -/* 8027722C 0027418C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80277230 00274190 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80277234 00274194 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80277238 00274198 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8027723C 0027419C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80277240 002741A0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80277244 002741A4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80277248 002741A8 FF E0 08 90 */ fmr f31, f1 -/* 8027724C 002741AC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80277250 002741B0 7C 7E 1B 78 */ mr r30, r3 -/* 80277254 002741B4 7C 9F 23 78 */ mr r31, r4 -/* 80277258 002741B8 7F C4 F3 78 */ mr r4, r30 -/* 8027725C 002741BC 38 61 00 0C */ addi r3, r1, 0xc -/* 80277260 002741C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80277264 002741C4 7F E5 FB 78 */ mr r5, r31 -/* 80277268 002741C8 4C 41 13 82 */ cror 2, 1, 2 -/* 8027726C 002741CC 7C 00 00 26 */ mfcr r0 -/* 80277270 002741D0 54 06 1F FE */ rlwinm r6, r0, 3, 0x1f, 0x1f -/* 80277274 002741D4 4B FF F7 6D */ bl sub_802769e0 -/* 80277278 002741D8 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8027727C 002741DC 7F E3 FB 78 */ mr r3, r31 -/* 80277280 002741E0 38 81 00 08 */ addi r4, r1, 8 -/* 80277284 002741E4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80277288 002741E8 B0 01 00 08 */ sth r0, 8(r1) -/* 8027728C 002741EC 4B DD 53 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80277290 002741F0 7C 64 1B 78 */ mr r4, r3 -/* 80277294 002741F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80277298 002741F8 4B E2 F2 B5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8027729C 002741FC 80 A3 00 04 */ lwz r5, 4(r3) -/* 802772A0 00274200 28 05 00 00 */ cmplwi r5, 0 -/* 802772A4 00274204 41 82 00 B0 */ beq lbl_80277354 -/* 802772A8 00274208 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 802772AC 0027420C 38 61 00 1C */ addi r3, r1, 0x1c -/* 802772B0 00274210 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 802772B4 00274214 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 802772B8 00274218 C0 DE 00 48 */ lfs f6, 0x48(r30) -/* 802772BC 0027421C EC 61 00 28 */ fsubs f3, f1, f0 -/* 802772C0 00274220 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 802772C4 00274224 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802772C8 00274228 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 802772CC 0027422C C0 85 00 60 */ lfs f4, 0x60(r5) -/* 802772D0 00274230 EC A1 00 28 */ fsubs f5, f1, f0 -/* 802772D4 00274234 C0 04 00 00 */ lfs f0, 0(r4) -/* 802772D8 00274238 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 802772DC 0027423C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 802772E0 00274240 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802772E4 00274244 C0 FE 00 58 */ lfs f7, 0x58(r30) -/* 802772E8 00274248 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802772EC 0027424C C0 04 00 04 */ lfs f0, 4(r4) -/* 802772F0 00274250 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 802772F4 00274254 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802772F8 00274258 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802772FC 0027425C EF C7 08 FA */ fmadds f30, f7, f3, f1 -/* 80277300 00274260 C0 04 00 08 */ lfs f0, 8(r4) -/* 80277304 00274264 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 80277308 00274268 D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 8027730C 0027426C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80277310 00274270 48 09 D5 A9 */ bl Magnitude__9CVector3fCFv -/* 80277314 00274274 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80277318 00274278 C0 42 BC 3C */ lfs f2, lbl_805AD95C@sda21(r2) -/* 8027731C 0027427C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80277320 00274280 EC 02 00 72 */ fmuls f0, f2, f1 -/* 80277324 00274284 4C 41 13 82 */ cror 2, 1, 2 -/* 80277328 00274288 40 82 00 18 */ bne lbl_80277340 -/* 8027732C 0027428C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80277330 00274290 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80277334 00274294 7C 00 00 26 */ mfcr r0 -/* 80277338 00274298 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8027733C 0027429C 48 00 00 1C */ b lbl_80277358 -lbl_80277340: -/* 80277340 002742A0 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80277344 002742A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80277348 002742A8 7C 00 00 26 */ mfcr r0 -/* 8027734C 002742AC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80277350 002742B0 48 00 00 08 */ b lbl_80277358 -lbl_80277354: -/* 80277354 002742B4 38 60 00 00 */ li r3, 0 -lbl_80277358: -/* 80277358 002742B8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8027735C 002742BC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80277360 002742C0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80277364 002742C4 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80277368 002742C8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027736C 002742CC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80277370 002742D0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80277374 002742D4 7C 08 03 A6 */ mtlr r0 -/* 80277378 002742D8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8027737C 002742DC 4E 80 00 20 */ blr - -.global sub_80277380 -sub_80277380: -/* 80277380 002742E0 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80277384 002742E4 7C 08 02 A6 */ mflr r0 -/* 80277388 002742E8 90 01 01 14 */ stw r0, 0x114(r1) -/* 8027738C 002742EC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80277390 002742F0 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 80277394 002742F4 7C 9F 23 78 */ mr r31, r4 -/* 80277398 002742F8 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8027739C 002742FC 7C 7E 1B 78 */ mr r30, r3 -/* 802773A0 00274300 93 A1 01 04 */ stw r29, 0x104(r1) -/* 802773A4 00274304 93 81 01 00 */ stw r28, 0x100(r1) -/* 802773A8 00274308 7C BC 2B 78 */ mr r28, r5 -/* 802773AC 0027430C 41 82 01 34 */ beq lbl_802774E0 -/* 802773B0 00274310 80 1E 05 70 */ lwz r0, 0x570(r30) -/* 802773B4 00274314 7F E3 FB 78 */ mr r3, r31 -/* 802773B8 00274318 38 81 00 0C */ addi r4, r1, 0xc -/* 802773BC 0027431C 90 1E 0C 58 */ stw r0, 0xc58(r30) -/* 802773C0 00274320 80 1E 0C 58 */ lwz r0, 0xc58(r30) -/* 802773C4 00274324 54 00 08 3C */ slwi r0, r0, 1 -/* 802773C8 00274328 7C BE 02 14 */ add r5, r30, r0 -/* 802773CC 0027432C A0 05 0B 28 */ lhz r0, 0xb28(r5) -/* 802773D0 00274330 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802773D4 00274334 4B DD 51 A1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802773D8 00274338 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802773DC 0027433C 41 82 01 74 */ beq lbl_80277550 -/* 802773E0 00274340 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802773E4 00274344 41 82 01 6C */ beq lbl_80277550 -/* 802773E8 00274348 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 802773EC 0027434C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802773F0 00274350 40 82 01 60 */ bne lbl_80277550 -/* 802773F4 00274354 80 1D 01 2C */ lwz r0, 0x12c(r29) -/* 802773F8 00274358 2C 00 00 00 */ cmpwi r0, 0 -/* 802773FC 0027435C 40 82 00 18 */ bne lbl_80277414 -/* 80277400 00274360 80 1D 00 E8 */ lwz r0, 0xe8(r29) -/* 80277404 00274364 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) -/* 80277408 00274368 60 00 10 00 */ ori r0, r0, 0x1000 -/* 8027740C 0027436C 90 1D 00 E8 */ stw r0, 0xe8(r29) -/* 80277410 00274370 D0 1D 01 50 */ stfs f0, 0x150(r29) -lbl_80277414: -/* 80277414 00274374 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) -/* 80277418 00274378 38 61 00 28 */ addi r3, r1, 0x28 -/* 8027741C 0027437C 4B D8 D8 9D */ bl string_l__4rstlFPCc -/* 80277420 00274380 7F C4 F3 78 */ mr r4, r30 -/* 80277424 00274384 38 61 00 68 */ addi r3, r1, 0x68 -/* 80277428 00274388 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8027742C 0027438C 4B E0 15 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80277430 00274390 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80277434 00274394 38 81 00 68 */ addi r4, r1, 0x68 -/* 80277438 00274398 48 09 B7 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8027743C 0027439C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80277440 002743A0 48 0C 66 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80277444 002743A4 7F C4 F3 78 */ mr r4, r30 -/* 80277448 002743A8 7F E5 FB 78 */ mr r5, r31 -/* 8027744C 002743AC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80277450 002743B0 48 00 04 75 */ bl sub_802778c4 -/* 80277454 002743B4 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80277458 002743B8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8027745C 002743BC C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80277460 002743C0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80277464 002743C4 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80277468 002743C8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027746C 002743CC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80277470 002743D0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80277474 002743D4 D0 7E 0C 60 */ stfs f3, 0xc60(r30) -/* 80277478 002743D8 38 BE 0C 60 */ addi r5, r30, 0xc60 -/* 8027747C 002743DC D0 3E 0C 64 */ stfs f1, 0xc64(r30) -/* 80277480 002743E0 D0 5E 0C 68 */ stfs f2, 0xc68(r30) -/* 80277484 002743E4 D0 7E 0C 6C */ stfs f3, 0xc6c(r30) -/* 80277488 002743E8 D0 3E 0C 70 */ stfs f1, 0xc70(r30) -/* 8027748C 002743EC D0 5E 0C 74 */ stfs f2, 0xc74(r30) -/* 80277490 002743F0 D0 1E 0C 5C */ stfs f0, 0xc5c(r30) -/* 80277494 002743F4 C0 41 00 D4 */ lfs f2, 0xd4(r1) -/* 80277498 002743F8 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 8027749C 002743FC C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 802774A0 00274400 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802774A4 00274404 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802774A8 00274408 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802774AC 0027440C 48 09 C6 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802774B0 00274410 38 61 00 98 */ addi r3, r1, 0x98 -/* 802774B4 00274414 38 81 00 38 */ addi r4, r1, 0x38 -/* 802774B8 00274418 48 09 B6 BD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802774BC 0027441C 7F A3 EB 78 */ mr r3, r29 -/* 802774C0 00274420 7F E5 FB 78 */ mr r5, r31 -/* 802774C4 00274424 81 9D 00 00 */ lwz r12, 0(r29) -/* 802774C8 00274428 38 81 00 98 */ addi r4, r1, 0x98 -/* 802774CC 0027442C 38 C0 00 00 */ li r6, 0 -/* 802774D0 00274430 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 802774D4 00274434 7D 89 03 A6 */ mtctr r12 -/* 802774D8 00274438 4E 80 04 21 */ bctrl -/* 802774DC 0027443C 48 00 00 74 */ b lbl_80277550 -lbl_802774E0: -/* 802774E0 00274440 3B BE 0B 28 */ addi r29, r30, 0xb28 -/* 802774E4 00274444 3B 80 00 00 */ li r28, 0 -/* 802774E8 00274448 48 00 00 5C */ b lbl_80277544 -lbl_802774EC: -/* 802774EC 0027444C A0 7D 00 00 */ lhz r3, 0(r29) -/* 802774F0 00274450 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802774F4 00274454 7C 03 00 40 */ cmplw r3, r0 -/* 802774F8 00274458 41 82 00 44 */ beq lbl_8027753C -/* 802774FC 0027445C A0 1D 00 00 */ lhz r0, 0(r29) -/* 80277500 00274460 7F E3 FB 78 */ mr r3, r31 -/* 80277504 00274464 38 81 00 08 */ addi r4, r1, 8 -/* 80277508 00274468 B0 01 00 08 */ sth r0, 8(r1) -/* 8027750C 0027446C 4B DD 50 69 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80277510 00274470 28 03 00 00 */ cmplwi r3, 0 -/* 80277514 00274474 41 82 00 28 */ beq lbl_8027753C -/* 80277518 00274478 88 03 05 48 */ lbz r0, 0x548(r3) -/* 8027751C 0027447C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80277520 00274480 41 82 00 1C */ beq lbl_8027753C -/* 80277524 00274484 81 83 00 00 */ lwz r12, 0(r3) -/* 80277528 00274488 7F E4 FB 78 */ mr r4, r31 -/* 8027752C 0027448C 38 A0 00 00 */ li r5, 0 -/* 80277530 00274490 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80277534 00274494 7D 89 03 A6 */ mtctr r12 -/* 80277538 00274498 4E 80 04 21 */ bctrl -lbl_8027753C: -/* 8027753C 0027449C 3B BD 00 02 */ addi r29, r29, 2 -/* 80277540 002744A0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80277544: -/* 80277544 002744A4 80 1E 09 6C */ lwz r0, 0x96c(r30) -/* 80277548 002744A8 7C 1C 00 00 */ cmpw r28, r0 -/* 8027754C 002744AC 41 80 FF A0 */ blt lbl_802774EC -lbl_80277550: -/* 80277550 002744B0 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80277554 002744B4 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 80277558 002744B8 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8027755C 002744BC 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 80277560 002744C0 83 81 01 00 */ lwz r28, 0x100(r1) -/* 80277564 002744C4 7C 08 03 A6 */ mtlr r0 -/* 80277568 002744C8 38 21 01 10 */ addi r1, r1, 0x110 -/* 8027756C 002744CC 4E 80 00 20 */ blr - -.global sub_80277570 -sub_80277570: -/* 80277570 002744D0 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 80277574 002744D4 7C 08 02 A6 */ mflr r0 -/* 80277578 002744D8 90 01 02 34 */ stw r0, 0x234(r1) -/* 8027757C 002744DC DB E1 02 20 */ stfd f31, 0x220(r1) -/* 80277580 002744E0 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 80277584 002744E4 DB C1 02 10 */ stfd f30, 0x210(r1) -/* 80277588 002744E8 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 8027758C 002744EC DB A1 02 00 */ stfd f29, 0x200(r1) -/* 80277590 002744F0 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 -/* 80277594 002744F4 DB 81 01 F0 */ stfd f28, 0x1f0(r1) -/* 80277598 002744F8 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 -/* 8027759C 002744FC 93 E1 01 EC */ stw r31, 0x1ec(r1) -/* 802775A0 00274500 93 C1 01 E8 */ stw r30, 0x1e8(r1) -/* 802775A4 00274504 93 A1 01 E4 */ stw r29, 0x1e4(r1) -/* 802775A8 00274508 FF E0 08 90 */ fmr f31, f1 -/* 802775AC 0027450C 7C 9E 23 78 */ mr r30, r4 -/* 802775B0 00274510 80 82 BB E8 */ lwz r4, lbl_805AD908@sda21(r2) -/* 802775B4 00274514 7C 7D 1B 78 */ mr r29, r3 -/* 802775B8 00274518 38 61 00 98 */ addi r3, r1, 0x98 -/* 802775BC 0027451C 4B D8 D6 FD */ bl string_l__4rstlFPCc -/* 802775C0 00274520 7F A4 EB 78 */ mr r4, r29 -/* 802775C4 00274524 38 61 01 44 */ addi r3, r1, 0x144 -/* 802775C8 00274528 38 A1 00 98 */ addi r5, r1, 0x98 -/* 802775CC 0027452C 4B E0 13 AD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802775D0 00274530 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 802775D4 00274534 38 81 01 44 */ addi r4, r1, 0x144 -/* 802775D8 00274538 48 09 B5 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802775DC 0027453C 38 61 00 98 */ addi r3, r1, 0x98 -/* 802775E0 00274540 48 0C 65 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802775E4 00274544 C0 41 01 B0 */ lfs f2, 0x1b0(r1) -/* 802775E8 00274548 38 81 00 8C */ addi r4, r1, 0x8c -/* 802775EC 0027454C C0 21 01 C0 */ lfs f1, 0x1c0(r1) -/* 802775F0 00274550 C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 802775F4 00274554 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802775F8 00274558 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 802775FC 0027455C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80277600 00274560 80 7D 0C 54 */ lwz r3, 0xc54(r29) -/* 80277604 00274564 81 83 00 00 */ lwz r12, 0(r3) -/* 80277608 00274568 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027760C 0027456C 7D 89 03 A6 */ mtctr r12 -/* 80277610 00274570 4E 80 04 21 */ bctrl -/* 80277614 00274574 83 FD 0C 54 */ lwz r31, 0xc54(r29) -/* 80277618 00274578 38 61 01 14 */ addi r3, r1, 0x114 -/* 8027761C 0027457C 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 80277620 00274580 48 09 B6 21 */ bl GetRotation__12CTransform4fCFv -/* 80277624 00274584 7F E3 FB 78 */ mr r3, r31 -/* 80277628 00274588 38 81 01 14 */ addi r4, r1, 0x114 -/* 8027762C 0027458C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277630 00274590 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80277634 00274594 7D 89 03 A6 */ mtctr r12 -/* 80277638 00274598 4E 80 04 21 */ bctrl -/* 8027763C 0027459C 80 7D 0C 54 */ lwz r3, 0xc54(r29) -/* 80277640 002745A0 FC 20 F8 90 */ fmr f1, f31 -/* 80277644 002745A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80277648 002745A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027764C 002745AC 7D 89 03 A6 */ mtctr r12 -/* 80277650 002745B0 4E 80 04 21 */ bctrl -/* 80277654 002745B4 80 1D 0C 58 */ lwz r0, 0xc58(r29) -/* 80277658 002745B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8027765C 002745BC 41 80 02 2C */ blt lbl_80277888 -/* 80277660 002745C0 2C 00 00 03 */ cmpwi r0, 3 -/* 80277664 002745C4 40 81 00 08 */ ble lbl_8027766C -/* 80277668 002745C8 48 00 02 20 */ b lbl_80277888 -lbl_8027766C: -/* 8027766C 002745CC 54 00 08 3C */ slwi r0, r0, 1 -/* 80277670 002745D0 7F C3 F3 78 */ mr r3, r30 -/* 80277674 002745D4 7C BD 02 14 */ add r5, r29, r0 -/* 80277678 002745D8 38 81 00 08 */ addi r4, r1, 8 -/* 8027767C 002745DC A0 05 0B 28 */ lhz r0, 0xb28(r5) -/* 80277680 002745E0 B0 01 00 08 */ sth r0, 8(r1) -/* 80277684 002745E4 4B DD 4E F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80277688 002745E8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027768C 002745EC 41 82 01 FC */ beq lbl_80277888 -/* 80277690 002745F0 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80277694 002745F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80277698 002745F8 41 82 01 F0 */ beq lbl_80277888 -/* 8027769C 002745FC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 802776A0 00274600 4B EC 2A 2D */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 802776A4 00274604 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802776A8 00274608 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802776AC 0027460C 40 81 00 14 */ ble lbl_802776C0 -/* 802776B0 00274610 7F A3 EB 78 */ mr r3, r29 -/* 802776B4 00274614 7F C4 F3 78 */ mr r4, r30 -/* 802776B8 00274618 38 A0 00 00 */ li r5, 0 -/* 802776BC 0027461C 4B FF FC C5 */ bl sub_80277380 -lbl_802776C0: -/* 802776C0 00274620 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802776C4 00274624 38 61 01 74 */ addi r3, r1, 0x174 -/* 802776C8 00274628 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802776CC 0027462C 48 09 B4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802776D0 00274630 C0 1D 0C 5C */ lfs f0, 0xc5c(r29) -/* 802776D4 00274634 38 81 00 10 */ addi r4, r1, 0x10 -/* 802776D8 00274638 38 6D 98 9C */ addi r3, r13, lbl_805A845C@sda21 -/* 802776DC 0027463C 38 AD 98 A0 */ addi r5, r13, lbl_805A8460@sda21 -/* 802776E0 00274640 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802776E4 00274644 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802776E8 00274648 4B D9 4B CD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802776EC 0027464C C0 23 00 00 */ lfs f1, 0(r3) -/* 802776F0 00274650 38 61 00 80 */ addi r3, r1, 0x80 -/* 802776F4 00274654 C0 02 BB F4 */ lfs f0, lbl_805AD914@sda21(r2) -/* 802776F8 00274658 38 81 00 74 */ addi r4, r1, 0x74 -/* 802776FC 0027465C D0 3D 0C 5C */ stfs f1, 0xc5c(r29) -/* 80277700 00274660 C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) -/* 80277704 00274664 C0 7D 0C 5C */ lfs f3, 0xc5c(r29) -/* 80277708 00274668 C0 3D 0C 70 */ lfs f1, 0xc70(r29) -/* 8027770C 0027466C ED 43 00 24 */ fdivs f10, f3, f0 -/* 80277710 00274670 C0 1D 0C 74 */ lfs f0, 0xc74(r29) -/* 80277714 00274674 C0 7D 0C 6C */ lfs f3, 0xc6c(r29) -/* 80277718 00274678 C1 1D 0C 64 */ lfs f8, 0xc64(r29) -/* 8027771C 0027467C C0 DD 0C 68 */ lfs f6, 0xc68(r29) -/* 80277720 00274680 C0 9D 0C 60 */ lfs f4, 0xc60(r29) -/* 80277724 00274684 ED 22 50 28 */ fsubs f9, f2, f10 -/* 80277728 00274688 C0 41 01 C0 */ lfs f2, 0x1c0(r1) -/* 8027772C 0027468C EC E1 02 B2 */ fmuls f7, f1, f10 -/* 80277730 00274690 C0 21 01 D0 */ lfs f1, 0x1d0(r1) -/* 80277734 00274694 EC A0 02 B2 */ fmuls f5, f0, f10 -/* 80277738 00274698 C0 01 01 B0 */ lfs f0, 0x1b0(r1) -/* 8027773C 0027469C EC E8 3A 7A */ fmadds f7, f8, f9, f7 -/* 80277740 002746A0 EC A6 2A 7A */ fmadds f5, f6, f9, f5 -/* 80277744 002746A4 EC 63 02 B2 */ fmuls f3, f3, f10 -/* 80277748 002746A8 D0 E1 00 AC */ stfs f7, 0xac(r1) -/* 8027774C 002746AC EC C7 10 28 */ fsubs f6, f7, f2 -/* 80277750 002746B0 EC 45 08 28 */ fsubs f2, f5, f1 -/* 80277754 002746B4 EC 24 1A 7A */ fmadds f1, f4, f9, f3 -/* 80277758 002746B8 D0 A1 00 B0 */ stfs f5, 0xb0(r1) -/* 8027775C 002746BC D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80277760 002746C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80277764 002746C4 C3 9D 00 58 */ lfs f28, 0x58(r29) -/* 80277768 002746C8 C3 BD 00 48 */ lfs f29, 0x48(r29) -/* 8027776C 002746CC C3 DD 00 38 */ lfs f30, 0x38(r29) -/* 80277770 002746D0 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80277774 002746D4 D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 80277778 002746D8 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8027777C 002746DC 48 09 D0 D5 */ bl AsNormalized__9CVector3fCFv -/* 80277780 002746E0 C0 81 00 84 */ lfs f4, 0x84(r1) -/* 80277784 002746E4 C0 C1 00 80 */ lfs f6, 0x80(r1) -/* 80277788 002746E8 EC 3D 01 32 */ fmuls f1, f29, f4 -/* 8027778C 002746EC C0 A1 00 88 */ lfs f5, 0x88(r1) -/* 80277790 002746F0 C0 02 BC B0 */ lfs f0, lbl_805AD9D0@sda21(r2) -/* 80277794 002746F4 EC 3E 09 BA */ fmadds f1, f30, f6, f1 -/* 80277798 002746F8 EC 3C 09 7A */ fmadds f1, f28, f5, f1 -/* 8027779C 002746FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802777A0 00274700 40 81 00 44 */ ble lbl_802777E4 -/* 802777A4 00274704 C0 41 01 B0 */ lfs f2, 0x1b0(r1) -/* 802777A8 00274708 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802777AC 0027470C C0 21 01 C0 */ lfs f1, 0x1c0(r1) -/* 802777B0 00274710 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802777B4 00274714 C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 802777B8 00274718 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 802777BC 0027471C D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802777C0 00274720 38 81 00 68 */ addi r4, r1, 0x68 -/* 802777C4 00274724 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 802777C8 00274728 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802777CC 0027472C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802777D0 00274730 48 09 C3 41 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802777D4 00274734 38 61 01 74 */ addi r3, r1, 0x174 -/* 802777D8 00274738 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 802777DC 0027473C 48 09 B3 65 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802777E0 00274740 48 00 00 88 */ b lbl_80277868 -lbl_802777E4: -/* 802777E4 00274744 C0 61 01 B0 */ lfs f3, 0x1b0(r1) -/* 802777E8 00274748 38 61 00 20 */ addi r3, r1, 0x20 -/* 802777EC 0027474C C0 41 01 C0 */ lfs f2, 0x1c0(r1) -/* 802777F0 00274750 38 9D 00 34 */ addi r4, r29, 0x34 -/* 802777F4 00274754 C0 21 01 D0 */ lfs f1, 0x1d0(r1) -/* 802777F8 00274758 C0 02 BC B4 */ lfs f0, lbl_805AD9D4@sda21(r2) -/* 802777FC 0027475C D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80277800 00274760 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80277804 00274764 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80277808 00274768 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8027780C 0027476C D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 80277810 00274770 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80277814 00274774 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 80277818 00274778 D3 C1 00 3C */ stfs f30, 0x3c(r1) -/* 8027781C 0027477C D3 A1 00 40 */ stfs f29, 0x40(r1) -/* 80277820 00274780 D3 81 00 44 */ stfs f28, 0x44(r1) -/* 80277824 00274784 48 09 A9 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80277828 00274788 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027782C 0027478C 38 81 00 3C */ addi r4, r1, 0x3c -/* 80277830 00274790 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80277834 00274794 38 C1 00 0C */ addi r6, r1, 0xc -/* 80277838 00274798 48 09 9E 5D */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 8027783C 0027479C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80277840 002747A0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80277844 002747A4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80277848 002747A8 48 09 99 59 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8027784C 002747AC 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80277850 002747B0 38 81 00 58 */ addi r4, r1, 0x58 -/* 80277854 002747B4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80277858 002747B8 48 09 A6 65 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8027785C 002747BC 38 61 01 74 */ addi r3, r1, 0x174 -/* 80277860 002747C0 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80277864 002747C4 48 09 B2 DD */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80277868: -/* 80277868 002747C8 7F E3 FB 78 */ mr r3, r31 -/* 8027786C 002747CC FC 20 F8 90 */ fmr f1, f31 -/* 80277870 002747D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277874 002747D4 7F C5 F3 78 */ mr r5, r30 -/* 80277878 002747D8 38 81 01 74 */ addi r4, r1, 0x174 -/* 8027787C 002747DC 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80277880 002747E0 7D 89 03 A6 */ mtctr r12 -/* 80277884 002747E4 4E 80 04 21 */ bctrl -lbl_80277888: -/* 80277888 002747E8 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 8027788C 002747EC CB E1 02 20 */ lfd f31, 0x220(r1) -/* 80277890 002747F0 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 80277894 002747F4 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 80277898 002747F8 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 -/* 8027789C 002747FC CB A1 02 00 */ lfd f29, 0x200(r1) -/* 802778A0 00274800 E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 -/* 802778A4 00274804 CB 81 01 F0 */ lfd f28, 0x1f0(r1) -/* 802778A8 00274808 83 E1 01 EC */ lwz r31, 0x1ec(r1) -/* 802778AC 0027480C 83 C1 01 E8 */ lwz r30, 0x1e8(r1) -/* 802778B0 00274810 80 01 02 34 */ lwz r0, 0x234(r1) -/* 802778B4 00274814 83 A1 01 E4 */ lwz r29, 0x1e4(r1) -/* 802778B8 00274818 7C 08 03 A6 */ mtlr r0 -/* 802778BC 0027481C 38 21 02 30 */ addi r1, r1, 0x230 -/* 802778C0 00274820 4E 80 00 20 */ blr - -.global sub_802778c4 -sub_802778c4: -/* 802778C4 00274824 94 21 F7 00 */ stwu r1, -0x900(r1) -/* 802778C8 00274828 7C 08 02 A6 */ mflr r0 -/* 802778CC 0027482C 90 01 09 04 */ stw r0, 0x904(r1) -/* 802778D0 00274830 DB E1 08 F0 */ stfd f31, 0x8f0(r1) -/* 802778D4 00274834 F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 -/* 802778D8 00274838 DB C1 08 E0 */ stfd f30, 0x8e0(r1) -/* 802778DC 0027483C F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 -/* 802778E0 00274840 DB A1 08 D0 */ stfd f29, 0x8d0(r1) -/* 802778E4 00274844 F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 -/* 802778E8 00274848 BF 61 08 BC */ stmw r27, 0x8bc(r1) -/* 802778EC 0027484C 88 0D A5 80 */ lbz r0, lbl_805A9140@sda21(r13) -/* 802778F0 00274850 7C 7D 1B 78 */ mr r29, r3 -/* 802778F4 00274854 7C 9E 23 78 */ mr r30, r4 -/* 802778F8 00274858 7C BF 2B 78 */ mr r31, r5 -/* 802778FC 0027485C 7C 00 07 75 */ extsb. r0, r0 -/* 80277900 00274860 40 82 00 88 */ bne lbl_80277988 -/* 80277904 00274864 80 AD 98 90 */ lwz r5, lbl_805A8450@sda21(r13) -/* 80277908 00274868 38 60 00 00 */ li r3, 0 -/* 8027790C 0027486C 38 80 00 01 */ li r4, 1 -/* 80277910 00274870 48 11 25 E5 */ bl __shl2i -/* 80277914 00274874 80 AD 98 94 */ lwz r5, lbl_805A8454@sda21(r13) -/* 80277918 00274878 7C 9B 23 78 */ mr r27, r4 -/* 8027791C 0027487C 7C 7C 1B 78 */ mr r28, r3 -/* 80277920 00274880 38 60 00 00 */ li r3, 0 -/* 80277924 00274884 38 80 00 01 */ li r4, 1 -/* 80277928 00274888 48 11 25 CD */ bl __shl2i -/* 8027792C 0027488C 80 AD 98 98 */ lwz r5, lbl_805A8458@sda21(r13) -/* 80277930 00274890 7F 7B 23 78 */ or r27, r27, r4 -/* 80277934 00274894 7F 9C 1B 78 */ or r28, r28, r3 -/* 80277938 00274898 38 60 00 00 */ li r3, 0 -/* 8027793C 0027489C 38 80 00 01 */ li r4, 1 -/* 80277940 002748A0 48 11 25 B5 */ bl __shl2i -/* 80277944 002748A4 80 AD 98 8C */ lwz r5, lbl_805A844C@sda21(r13) -/* 80277948 002748A8 7F 7B 23 78 */ or r27, r27, r4 -/* 8027794C 002748AC 7F 9C 1B 78 */ or r28, r28, r3 -/* 80277950 002748B0 38 60 00 00 */ li r3, 0 -/* 80277954 002748B4 38 80 00 01 */ li r4, 1 -/* 80277958 002748B8 48 11 25 9D */ bl __shl2i -/* 8027795C 002748BC 3C A0 80 47 */ lis r5, lbl_8046E0C0@ha -/* 80277960 002748C0 38 C0 00 03 */ li r6, 3 -/* 80277964 002748C4 38 A5 E0 C0 */ addi r5, r5, lbl_8046E0C0@l -/* 80277968 002748C8 38 00 00 01 */ li r0, 1 -/* 8027796C 002748CC 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80277970 002748D0 90 85 00 04 */ stw r4, 4(r5) -/* 80277974 002748D4 90 65 00 00 */ stw r3, 0(r5) -/* 80277978 002748D8 93 65 00 0C */ stw r27, 0xc(r5) -/* 8027797C 002748DC 93 85 00 08 */ stw r28, 8(r5) -/* 80277980 002748E0 90 C5 00 10 */ stw r6, 0x10(r5) -/* 80277984 002748E4 98 0D A5 80 */ stb r0, lbl_805A9140@sda21(r13) -lbl_80277988: -/* 80277988 002748E8 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8027798C 002748EC 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80277990 002748F0 38 E3 67 00 */ addi r7, r3, lbl_805A6700@l -/* 80277994 002748F4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80277998 002748F8 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 8027799C 002748FC 38 C0 00 00 */ li r6, 0 -/* 802779A0 00274900 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 802779A4 00274904 7F E5 FB 78 */ mr r5, r31 -/* 802779A8 00274908 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 802779AC 0027490C 38 61 00 0C */ addi r3, r1, 0xc -/* 802779B0 00274910 C0 67 00 00 */ lfs f3, 0(r7) -/* 802779B4 00274914 C0 47 00 04 */ lfs f2, 4(r7) -/* 802779B8 00274918 C0 07 00 08 */ lfs f0, 8(r7) -/* 802779BC 0027491C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802779C0 00274920 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 802779C4 00274924 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 802779C8 00274928 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 802779CC 0027492C D0 61 00 18 */ stfs f3, 0x18(r1) -/* 802779D0 00274930 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802779D4 00274934 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802779D8 00274938 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 802779DC 0027493C B0 01 00 08 */ sth r0, 8(r1) -/* 802779E0 00274940 81 84 00 00 */ lwz r12, 0(r4) -/* 802779E4 00274944 C3 A4 00 60 */ lfs f29, 0x60(r4) -/* 802779E8 00274948 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 802779EC 0027494C C3 C4 00 50 */ lfs f30, 0x50(r4) -/* 802779F0 00274950 C3 E4 00 40 */ lfs f31, 0x40(r4) -/* 802779F4 00274954 7D 89 03 A6 */ mtctr r12 -/* 802779F8 00274958 4E 80 04 21 */ bctrl -/* 802779FC 0027495C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80277A00 00274960 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha -/* 80277A04 00274964 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80277A08 00274968 38 E3 E0 C0 */ addi r7, r3, lbl_8046E0C0@l -/* 80277A0C 0027496C EC 60 E8 2A */ fadds f3, f0, f29 -/* 80277A10 00274970 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80277A14 00274974 EC 41 F8 2A */ fadds f2, f1, f31 -/* 80277A18 00274978 C0 82 BC 80 */ lfs f4, lbl_805AD9A0@sda21(r2) -/* 80277A1C 0027497C EC 00 F0 2A */ fadds f0, f0, f30 -/* 80277A20 00274980 C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) -/* 80277A24 00274984 EF E4 00 F2 */ fmuls f31, f4, f3 -/* 80277A28 00274988 7F E3 FB 78 */ mr r3, r31 -/* 80277A2C 0027498C EF A4 00 B2 */ fmuls f29, f4, f2 -/* 80277A30 00274990 7F C8 F3 78 */ mr r8, r30 -/* 80277A34 00274994 EF C4 00 32 */ fmuls f30, f4, f0 -/* 80277A38 00274998 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80277A3C 0027499C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80277A40 002749A0 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80277A44 002749A4 4B DD 4C 95 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 80277A48 002749A8 3C 60 80 47 */ lis r3, lbl_8046E0C0@ha -/* 80277A4C 002749AC C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) -/* 80277A50 002749B0 39 03 E0 C0 */ addi r8, r3, lbl_8046E0C0@l -/* 80277A54 002749B4 7F E4 FB 78 */ mr r4, r31 -/* 80277A58 002749B8 38 61 00 48 */ addi r3, r1, 0x48 -/* 80277A5C 002749BC 38 A1 00 08 */ addi r5, r1, 8 -/* 80277A60 002749C0 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80277A64 002749C4 38 E1 00 18 */ addi r7, r1, 0x18 -/* 80277A68 002749C8 39 21 00 A8 */ addi r9, r1, 0xa8 -/* 80277A6C 002749CC 4B DD 55 59 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 80277A70 002749D0 88 81 00 68 */ lbz r4, 0x68(r1) -/* 80277A74 002749D4 C0 E1 00 48 */ lfs f7, 0x48(r1) -/* 80277A78 002749D8 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 80277A7C 002749DC 28 04 00 00 */ cmplwi r4, 0 -/* 80277A80 002749E0 C0 A1 00 50 */ lfs f5, 0x50(r1) -/* 80277A84 002749E4 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 80277A88 002749E8 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 80277A8C 002749EC C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 80277A90 002749F0 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80277A94 002749F4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80277A98 002749F8 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80277A9C 002749FC 80 61 00 74 */ lwz r3, 0x74(r1) -/* 80277AA0 00274A00 D0 E1 00 78 */ stfs f7, 0x78(r1) -/* 80277AA4 00274A04 D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 80277AA8 00274A08 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 80277AAC 00274A0C D0 81 00 84 */ stfs f4, 0x84(r1) -/* 80277AB0 00274A10 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 80277AB4 00274A14 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 80277AB8 00274A18 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80277ABC 00274A1C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80277AC0 00274A20 98 81 00 98 */ stb r4, 0x98(r1) -/* 80277AC4 00274A24 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 80277AC8 00274A28 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80277ACC 00274A2C 41 82 00 1C */ beq lbl_80277AE8 -/* 80277AD0 00274A30 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80277AD4 00274A34 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80277AD8 00274A38 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 80277ADC 00274A3C EF A6 08 2A */ fadds f29, f6, f1 -/* 80277AE0 00274A40 EF C5 08 2A */ fadds f30, f5, f1 -/* 80277AE4 00274A44 EF E4 00 2A */ fadds f31, f4, f0 -lbl_80277AE8: -/* 80277AE8 00274A48 D3 BD 00 00 */ stfs f29, 0(r29) -/* 80277AEC 00274A4C 38 60 00 00 */ li r3, 0 -/* 80277AF0 00274A50 D3 DD 00 04 */ stfs f30, 4(r29) -/* 80277AF4 00274A54 D3 FD 00 08 */ stfs f31, 8(r29) -/* 80277AF8 00274A58 80 A1 00 A8 */ lwz r5, 0xa8(r1) -/* 80277AFC 00274A5C 2C 05 00 00 */ cmpwi r5, 0 -/* 80277B00 00274A60 40 81 00 40 */ ble lbl_80277B40 -/* 80277B04 00274A64 2C 05 00 08 */ cmpwi r5, 8 -/* 80277B08 00274A68 38 85 FF F8 */ addi r4, r5, -8 -/* 80277B0C 00274A6C 40 81 00 20 */ ble lbl_80277B2C -/* 80277B10 00274A70 38 04 00 07 */ addi r0, r4, 7 -/* 80277B14 00274A74 54 00 E8 FE */ srwi r0, r0, 3 -/* 80277B18 00274A78 7C 09 03 A6 */ mtctr r0 -/* 80277B1C 00274A7C 2C 04 00 00 */ cmpwi r4, 0 -/* 80277B20 00274A80 40 81 00 0C */ ble lbl_80277B2C -lbl_80277B24: -/* 80277B24 00274A84 38 63 00 08 */ addi r3, r3, 8 -/* 80277B28 00274A88 42 00 FF FC */ bdnz lbl_80277B24 -lbl_80277B2C: -/* 80277B2C 00274A8C 7C 03 28 50 */ subf r0, r3, r5 -/* 80277B30 00274A90 7C 09 03 A6 */ mtctr r0 -/* 80277B34 00274A94 7C 03 28 00 */ cmpw r3, r5 -/* 80277B38 00274A98 40 80 00 08 */ bge lbl_80277B40 -lbl_80277B3C: -/* 80277B3C 00274A9C 42 00 00 00 */ bdnz lbl_80277B3C -lbl_80277B40: -/* 80277B40 00274AA0 38 00 00 00 */ li r0, 0 -/* 80277B44 00274AA4 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80277B48 00274AA8 E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 -/* 80277B4C 00274AAC CB E1 08 F0 */ lfd f31, 0x8f0(r1) -/* 80277B50 00274AB0 E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 -/* 80277B54 00274AB4 CB C1 08 E0 */ lfd f30, 0x8e0(r1) -/* 80277B58 00274AB8 E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 -/* 80277B5C 00274ABC CB A1 08 D0 */ lfd f29, 0x8d0(r1) -/* 80277B60 00274AC0 BB 61 08 BC */ lmw r27, 0x8bc(r1) -/* 80277B64 00274AC4 80 01 09 04 */ lwz r0, 0x904(r1) -/* 80277B68 00274AC8 7C 08 03 A6 */ mtlr r0 -/* 80277B6C 00274ACC 38 21 09 00 */ addi r1, r1, 0x900 -/* 80277B70 00274AD0 4E 80 00 20 */ blr - -.global sub_80277b74 -sub_80277b74: -/* 80277B74 00274AD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80277B78 00274AD8 7C 08 02 A6 */ mflr r0 -/* 80277B7C 00274ADC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80277B80 00274AE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80277B84 00274AE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80277B88 00274AE8 3B C0 00 00 */ li r30, 0 -/* 80277B8C 00274AEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80277B90 00274AF0 7C 9D 23 78 */ mr r29, r4 -/* 80277B94 00274AF4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80277B98 00274AF8 7C 7C 1B 78 */ mr r28, r3 -/* 80277B9C 00274AFC 3B FC 0B 28 */ addi r31, r28, 0xb28 -/* 80277BA0 00274B00 48 00 00 38 */ b lbl_80277BD8 -lbl_80277BA4: -/* 80277BA4 00274B04 A0 7F 00 00 */ lhz r3, 0(r31) -/* 80277BA8 00274B08 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80277BAC 00274B0C 7C 03 00 40 */ cmplw r3, r0 -/* 80277BB0 00274B10 41 82 00 20 */ beq lbl_80277BD0 -/* 80277BB4 00274B14 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80277BB8 00274B18 7F A3 EB 78 */ mr r3, r29 -/* 80277BBC 00274B1C 38 81 00 08 */ addi r4, r1, 8 -/* 80277BC0 00274B20 B0 01 00 08 */ sth r0, 8(r1) -/* 80277BC4 00274B24 4B DD 46 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80277BC8 00274B28 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80277BCC 00274B2C B0 1F 00 00 */ sth r0, 0(r31) -lbl_80277BD0: -/* 80277BD0 00274B30 3B FF 00 02 */ addi r31, r31, 2 -/* 80277BD4 00274B34 3B DE 00 01 */ addi r30, r30, 1 -lbl_80277BD8: -/* 80277BD8 00274B38 80 1C 09 6C */ lwz r0, 0x96c(r28) -/* 80277BDC 00274B3C 7C 1E 00 00 */ cmpw r30, r0 -/* 80277BE0 00274B40 41 80 FF C4 */ blt lbl_80277BA4 -/* 80277BE4 00274B44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80277BE8 00274B48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80277BEC 00274B4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80277BF0 00274B50 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80277BF4 00274B54 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80277BF8 00274B58 7C 08 03 A6 */ mtlr r0 -/* 80277BFC 00274B5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80277C00 00274B60 4E 80 00 20 */ blr - -.global sub_80277c04 -sub_80277c04: -/* 80277C04 00274B64 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80277C08 00274B68 7C 08 02 A6 */ mflr r0 -/* 80277C0C 00274B6C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80277C10 00274B70 BE 81 00 80 */ stmw r20, 0x80(r1) -/* 80277C14 00274B74 7C 74 1B 78 */ mr r20, r3 -/* 80277C18 00274B78 7C 95 23 78 */ mr r21, r4 -/* 80277C1C 00274B7C 38 80 00 00 */ li r4, 0 -/* 80277C20 00274B80 80 63 0C 54 */ lwz r3, 0xc54(r3) -/* 80277C24 00274B84 81 83 00 00 */ lwz r12, 0(r3) -/* 80277C28 00274B88 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80277C2C 00274B8C 7D 89 03 A6 */ mtctr r12 -/* 80277C30 00274B90 4E 80 04 21 */ bctrl -/* 80277C34 00274B94 80 74 00 64 */ lwz r3, 0x64(r20) -/* 80277C38 00274B98 38 81 00 50 */ addi r4, r1, 0x50 -/* 80277C3C 00274B9C C0 03 00 00 */ lfs f0, 0(r3) -/* 80277C40 00274BA0 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80277C44 00274BA4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80277C48 00274BA8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80277C4C 00274BAC C0 03 00 08 */ lfs f0, 8(r3) -/* 80277C50 00274BB0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80277C54 00274BB4 80 74 0C 54 */ lwz r3, 0xc54(r20) -/* 80277C58 00274BB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80277C5C 00274BBC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80277C60 00274BC0 7D 89 03 A6 */ mtctr r12 -/* 80277C64 00274BC4 4E 80 04 21 */ bctrl -/* 80277C68 00274BC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80277C6C 00274BCC 3B 74 0B 28 */ addi r27, r20, 0xb28 -/* 80277C70 00274BD0 3B 54 0A 84 */ addi r26, r20, 0xa84 -/* 80277C74 00274BD4 3B 34 0B 34 */ addi r25, r20, 0xb34 -/* 80277C78 00274BD8 3B 14 09 70 */ addi r24, r20, 0x970 -/* 80277C7C 00274BDC 3A F4 0B C8 */ addi r23, r20, 0xbc8 -/* 80277C80 00274BE0 3B C3 56 18 */ addi r30, r3, lbl_803D5618@l -/* 80277C84 00274BE4 3A C0 00 00 */ li r22, 0 -/* 80277C88 00274BE8 48 00 01 88 */ b lbl_80277E10 -lbl_80277C8C: -/* 80277C8C 00274BEC 7E A4 AB 78 */ mr r4, r21 -/* 80277C90 00274BF0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80277C94 00274BF4 4B DD 54 49 */ bl AllocateUniqueId__13CStateManagerFv -/* 80277C98 00274BF8 A0 61 00 2C */ lhz r3, 0x2c(r1) -/* 80277C9C 00274BFC 38 A0 00 00 */ li r5, 0 -/* 80277CA0 00274C00 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 80277CA4 00274C04 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80277CA8 00274C08 B0 7B 00 00 */ sth r3, 0(r27) -/* 80277CAC 00274C0C 38 E0 00 0A */ li r7, 0xa -/* 80277CB0 00274C10 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 80277CB4 00274C14 38 60 00 01 */ li r3, 1 -/* 80277CB8 00274C18 98 01 00 3C */ stb r0, 0x3c(r1) -/* 80277CBC 00274C1C 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 -/* 80277CC0 00274C20 88 01 00 74 */ lbz r0, 0x74(r1) -/* 80277CC4 00274C24 54 86 06 3E */ clrlwi r6, r4, 0x18 -/* 80277CC8 00274C28 98 81 00 3C */ stb r4, 0x3c(r1) -/* 80277CCC 00274C2C 50 A6 2E B4 */ rlwimi r6, r5, 5, 0x1a, 0x1a -/* 80277CD0 00274C30 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80277CD4 00274C34 C0 1A 00 20 */ lfs f0, 0x20(r26) -/* 80277CD8 00274C38 C0 3A 00 1C */ lfs f1, 0x1c(r26) -/* 80277CDC 00274C3C 38 9E 02 20 */ addi r4, r30, 0x220 -/* 80277CE0 00274C40 C0 5A 00 14 */ lfs f2, 0x14(r26) -/* 80277CE4 00274C44 3B 80 00 00 */ li r28, 0 -/* 80277CE8 00274C48 90 E1 00 38 */ stw r7, 0x38(r1) -/* 80277CEC 00274C4C 38 60 05 50 */ li r3, 0x550 -/* 80277CF0 00274C50 38 A0 00 00 */ li r5, 0 -/* 80277CF4 00274C54 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 80277CF8 00274C58 90 E1 00 5C */ stw r7, 0x5c(r1) -/* 80277CFC 00274C5C 98 C1 00 60 */ stb r6, 0x60(r1) -/* 80277D00 00274C60 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80277D04 00274C64 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80277D08 00274C68 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 80277D0C 00274C6C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80277D10 00274C70 98 01 00 74 */ stb r0, 0x74(r1) -/* 80277D14 00274C74 48 09 DB 59 */ bl __nw__FUlPCcPCc -/* 80277D18 00274C78 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80277D1C 00274C7C 41 82 00 AC */ beq lbl_80277DC8 -/* 80277D20 00274C80 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 80277D24 00274C84 3C 60 00 01 */ lis r3, 0x00008000@ha -/* 80277D28 00274C88 3B E3 80 00 */ addi r31, r3, 0x00008000@l -/* 80277D2C 00274C8C 2C 00 00 01 */ cmpwi r0, 1 -/* 80277D30 00274C90 40 82 00 08 */ bne lbl_80277D38 -/* 80277D34 00274C94 3B E0 00 00 */ li r31, 0 -lbl_80277D38: -/* 80277D38 00274C98 A0 14 00 08 */ lhz r0, 8(r20) -/* 80277D3C 00274C9C 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80277D40 00274CA0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 80277D44 00274CA4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80277D48 00274CA8 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80277D4C 00274CAC 38 84 02 27 */ addi r4, r4, 0x227 -/* 80277D50 00274CB0 80 B4 00 04 */ lwz r5, 4(r20) -/* 80277D54 00274CB4 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80277D58 00274CB8 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80277D5C 00274CBC A0 1B 00 00 */ lhz r0, 0(r27) -/* 80277D60 00274CC0 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80277D64 00274CC4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80277D68 00274CC8 83 9A 00 0C */ lwz r28, 0xc(r26) -/* 80277D6C 00274CCC 4B D8 CF 4D */ bl string_l__4rstlFPCc -/* 80277D70 00274CD0 38 01 00 20 */ addi r0, r1, 0x20 -/* 80277D74 00274CD4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80277D78 00274CD8 90 01 00 08 */ stw r0, 8(r1) -/* 80277D7C 00274CDC 38 01 00 34 */ addi r0, r1, 0x34 -/* 80277D80 00274CE0 39 03 66 70 */ addi r8, r3, skIdentity4f@l -/* 80277D84 00274CE4 7F 86 E3 78 */ mr r6, r28 -/* 80277D88 00274CE8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80277D8C 00274CEC 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80277D90 00274CF0 38 00 00 01 */ li r0, 1 -/* 80277D94 00274CF4 7F A3 EB 78 */ mr r3, r29 -/* 80277D98 00274CF8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80277D9C 00274CFC 7F 44 D3 78 */ mr r4, r26 -/* 80277DA0 00274D00 7F 07 C3 78 */ mr r7, r24 -/* 80277DA4 00274D04 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80277DA8 00274D08 93 21 00 14 */ stw r25, 0x14(r1) -/* 80277DAC 00274D0C 39 41 00 5C */ addi r10, r1, 0x5c -/* 80277DB0 00274D10 3B 80 00 01 */ li r28, 1 -/* 80277DB4 00274D14 39 20 00 21 */ li r9, 0x21 -/* 80277DB8 00274D18 90 01 00 18 */ stw r0, 0x18(r1) -/* 80277DBC 00274D1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80277DC0 00274D20 4B F0 0E 69 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" -/* 80277DC4 00274D24 7C 7D 1B 78 */ mr r29, r3 -lbl_80277DC8: -/* 80277DC8 00274D28 7F 80 07 75 */ extsb. r0, r28 -/* 80277DCC 00274D2C 7F BC EB 78 */ mr r28, r29 -/* 80277DD0 00274D30 41 82 00 0C */ beq lbl_80277DDC -/* 80277DD4 00274D34 38 61 00 40 */ addi r3, r1, 0x40 -/* 80277DD8 00274D38 48 0C 5D 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80277DDC: -/* 80277DDC 00274D3C C0 37 00 00 */ lfs f1, 0(r23) -/* 80277DE0 00274D40 7F 83 E3 78 */ mr r3, r28 -/* 80277DE4 00274D44 38 97 00 04 */ addi r4, r23, 4 -/* 80277DE8 00274D48 4B EF F0 4D */ bl sub_80176e34 -/* 80277DEC 00274D4C 7E A3 AB 78 */ mr r3, r21 -/* 80277DF0 00274D50 7F 84 E3 78 */ mr r4, r28 -/* 80277DF4 00274D54 4B DD 4D 21 */ bl AddObject__13CStateManagerFR7CEntity -/* 80277DF8 00274D58 3B 7B 00 02 */ addi r27, r27, 2 -/* 80277DFC 00274D5C 3B 5A 00 28 */ addi r26, r26, 0x28 -/* 80277E00 00274D60 3B 39 00 24 */ addi r25, r25, 0x24 -/* 80277E04 00274D64 3B 18 00 44 */ addi r24, r24, 0x44 -/* 80277E08 00274D68 3A F7 00 20 */ addi r23, r23, 0x20 -/* 80277E0C 00274D6C 3A D6 00 01 */ addi r22, r22, 1 -lbl_80277E10: -/* 80277E10 00274D70 80 14 09 6C */ lwz r0, 0x96c(r20) -/* 80277E14 00274D74 7C 16 00 00 */ cmpw r22, r0 -/* 80277E18 00274D78 41 80 FE 74 */ blt lbl_80277C8C -/* 80277E1C 00274D7C BA 81 00 80 */ lmw r20, 0x80(r1) -/* 80277E20 00274D80 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80277E24 00274D84 7C 08 03 A6 */ mtlr r0 -/* 80277E28 00274D88 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80277E2C 00274D8C 4E 80 00 20 */ blr - -.global sub_80277e30 -sub_80277e30: -/* 80277E30 00274D90 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80277E34 00274D94 7C 08 02 A6 */ mflr r0 -/* 80277E38 00274D98 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80277E3C 00274D9C 93 E1 00 EC */ stw r31, 0xec(r1) -/* 80277E40 00274DA0 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 80277E44 00274DA4 7C 9E 23 78 */ mr r30, r4 -/* 80277E48 00274DA8 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 80277E4C 00274DAC 7C 7D 1B 78 */ mr r29, r3 -/* 80277E50 00274DB0 80 83 00 64 */ lwz r4, 0x64(r3) -/* 80277E54 00274DB4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80277E58 00274DB8 83 FE 08 4C */ lwz r31, 0x84c(r30) -/* 80277E5C 00274DBC C0 04 00 00 */ lfs f0, 0(r4) -/* 80277E60 00274DC0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80277E64 00274DC4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80277E68 00274DC8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80277E6C 00274DCC C0 04 00 08 */ lfs f0, 8(r4) -/* 80277E70 00274DD0 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80277E74 00274DD4 48 09 CA 45 */ bl Magnitude__9CVector3fCFv -/* 80277E78 00274DD8 C0 02 BC 3C */ lfs f0, lbl_805AD95C@sda21(r2) -/* 80277E7C 00274DDC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80277E80 00274DE0 C1 3D 00 60 */ lfs f9, 0x60(r29) -/* 80277E84 00274DE4 38 81 00 5C */ addi r4, r1, 0x5c -/* 80277E88 00274DE8 EC A0 00 72 */ fmuls f5, f0, f1 -/* 80277E8C 00274DEC C1 1D 00 50 */ lfs f8, 0x50(r29) -/* 80277E90 00274DF0 C0 22 BC BC */ lfs f1, lbl_805AD9DC@sda21(r2) -/* 80277E94 00274DF4 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80277E98 00274DF8 C0 02 BC C0 */ lfs f0, lbl_805AD9E0@sda21(r2) -/* 80277E9C 00274DFC EC 45 00 72 */ fmuls f2, f5, f1 -/* 80277EA0 00274E00 C0 7D 00 40 */ lfs f3, 0x40(r29) -/* 80277EA4 00274E04 EC 85 00 32 */ fmuls f4, f5, f0 -/* 80277EA8 00274E08 C0 22 BC C4 */ lfs f1, lbl_805AD9E4@sda21(r2) -/* 80277EAC 00274E0C C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 80277EB0 00274E10 EC E8 10 2A */ fadds f7, f8, f2 -/* 80277EB4 00274E14 ED 45 00 72 */ fmuls f10, f5, f1 -/* 80277EB8 00274E18 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80277EBC 00274E1C EC 25 00 32 */ fmuls f1, f5, f0 -/* 80277EC0 00274E20 EC C9 20 2A */ fadds f6, f9, f4 -/* 80277EC4 00274E24 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80277EC8 00274E28 EC 43 10 2A */ fadds f2, f3, f2 -/* 80277ECC 00274E2C EC A8 50 2A */ fadds f5, f8, f10 -/* 80277ED0 00274E30 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80277ED4 00274E34 EC 89 08 2A */ fadds f4, f9, f1 -/* 80277ED8 00274E38 EC 03 50 2A */ fadds f0, f3, f10 -/* 80277EDC 00274E3C D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80277EE0 00274E40 D1 01 00 30 */ stfs f8, 0x30(r1) -/* 80277EE4 00274E44 D1 21 00 34 */ stfs f9, 0x34(r1) -/* 80277EE8 00274E48 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80277EEC 00274E4C D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 80277EF0 00274E50 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 80277EF4 00274E54 D1 41 00 44 */ stfs f10, 0x44(r1) -/* 80277EF8 00274E58 D1 41 00 48 */ stfs f10, 0x48(r1) -/* 80277EFC 00274E5C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80277F00 00274E60 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80277F04 00274E64 D1 01 00 54 */ stfs f8, 0x54(r1) -/* 80277F08 00274E68 D1 21 00 58 */ stfs f9, 0x58(r1) -/* 80277F0C 00274E6C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80277F10 00274E70 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 80277F14 00274E74 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 80277F18 00274E78 48 0C 05 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80277F1C 00274E7C C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80277F20 00274E80 7F E4 FB 78 */ mr r4, r31 -/* 80277F24 00274E84 38 61 00 AC */ addi r3, r1, 0xac -/* 80277F28 00274E88 D0 1D 08 F8 */ stfs f0, 0x8f8(r29) -/* 80277F2C 00274E8C C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 80277F30 00274E90 D0 1D 08 FC */ stfs f0, 0x8fc(r29) -/* 80277F34 00274E94 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80277F38 00274E98 D0 1D 09 00 */ stfs f0, 0x900(r29) -/* 80277F3C 00274E9C C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80277F40 00274EA0 D0 1D 09 04 */ stfs f0, 0x904(r29) -/* 80277F44 00274EA4 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 80277F48 00274EA8 D0 1D 09 08 */ stfs f0, 0x908(r29) -/* 80277F4C 00274EAC C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80277F50 00274EB0 D0 1D 09 0C */ stfs f0, 0x90c(r29) -/* 80277F54 00274EB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277F58 00274EB8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80277F5C 00274EBC 7D 89 03 A6 */ mtctr r12 -/* 80277F60 00274EC0 4E 80 04 21 */ bctrl -/* 80277F64 00274EC4 38 61 00 AC */ addi r3, r1, 0xac -/* 80277F68 00274EC8 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80277F6C 00274ECC 48 0B FC 19 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 80277F70 00274ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80277F74 00274ED4 38 60 00 00 */ li r3, 0 -/* 80277F78 00274ED8 98 61 00 C4 */ stb r3, 0xc4(r1) -/* 80277F7C 00274EDC 41 82 00 AC */ beq lbl_80278028 -/* 80277F80 00274EE0 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80277F84 00274EE4 C0 1D 04 20 */ lfs f0, 0x420(r29) -/* 80277F88 00274EE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277F8C 00274EEC 4C 41 13 82 */ cror 2, 1, 2 -/* 80277F90 00274EF0 40 82 00 98 */ bne lbl_80278028 -/* 80277F94 00274EF4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) -/* 80277F98 00274EF8 38 60 00 00 */ li r3, 0 -/* 80277F9C 00274EFC 38 80 00 01 */ li r4, 1 -/* 80277FA0 00274F00 48 11 1F 55 */ bl __shl2i -/* 80277FA4 00274F04 38 A0 00 00 */ li r5, 0 -/* 80277FA8 00274F08 38 00 00 03 */ li r0, 3 -/* 80277FAC 00274F0C 90 81 00 7C */ stw r4, 0x7c(r1) -/* 80277FB0 00274F10 7F A4 EB 78 */ mr r4, r29 -/* 80277FB4 00274F14 90 61 00 78 */ stw r3, 0x78(r1) -/* 80277FB8 00274F18 38 61 00 90 */ addi r3, r1, 0x90 -/* 80277FBC 00274F1C 90 A1 00 84 */ stw r5, 0x84(r1) -/* 80277FC0 00274F20 90 A1 00 80 */ stw r5, 0x80(r1) -/* 80277FC4 00274F24 90 01 00 88 */ stw r0, 0x88(r1) -/* 80277FC8 00274F28 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80277FCC 00274F2C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80277FD0 00274F30 A0 BF 00 08 */ lhz r5, 8(r31) -/* 80277FD4 00274F34 B0 01 00 08 */ sth r0, 8(r1) -/* 80277FD8 00274F38 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80277FDC 00274F3C A0 1D 00 08 */ lhz r0, 8(r29) -/* 80277FE0 00274F40 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 80277FE4 00274F44 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80277FE8 00274F48 81 9D 00 00 */ lwz r12, 0(r29) -/* 80277FEC 00274F4C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80277FF0 00274F50 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80277FF4 00274F54 7D 89 03 A6 */ mtctr r12 -/* 80277FF8 00274F58 4E 80 04 21 */ bctrl -/* 80277FFC 00274F5C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80278000 00274F60 7F C3 F3 78 */ mr r3, r30 -/* 80278004 00274F64 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80278008 00274F68 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027800C 00274F6C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80278010 00274F70 38 C1 00 0C */ addi r6, r1, 0xc -/* 80278014 00274F74 38 E1 00 90 */ addi r7, r1, 0x90 -/* 80278018 00274F78 39 01 00 78 */ addi r8, r1, 0x78 -/* 8027801C 00274F7C 4B DD 20 85 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80278020 00274F80 C0 1D 04 24 */ lfs f0, 0x424(r29) -/* 80278024 00274F84 D0 1D 04 20 */ stfs f0, 0x420(r29) -lbl_80278028: -/* 80278028 00274F88 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8027802C 00274F8C 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 80278030 00274F90 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 80278034 00274F94 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 80278038 00274F98 7C 08 03 A6 */ mtlr r0 -/* 8027803C 00274F9C 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80278040 00274FA0 4E 80 00 20 */ blr - -.global sub_80278044 -sub_80278044: -/* 80278044 00274FA4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80278048 00274FA8 7C 08 02 A6 */ mflr r0 -/* 8027804C 00274FAC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80278050 00274FB0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80278054 00274FB4 7C 9F 23 78 */ mr r31, r4 -/* 80278058 00274FB8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027805C 00274FBC 7C 7E 1B 78 */ mr r30, r3 -/* 80278060 00274FC0 88 03 08 F4 */ lbz r0, 0x8f4(r3) -/* 80278064 00274FC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80278068 00274FC8 41 82 00 B0 */ beq lbl_80278118 -/* 8027806C 00274FCC C0 7E 08 E4 */ lfs f3, 0x8e4(r30) -/* 80278070 00274FD0 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80278074 00274FD4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80278078 00274FD8 40 80 00 54 */ bge lbl_802780CC -/* 8027807C 00274FDC C0 42 BC 68 */ lfs f2, lbl_805AD988@sda21(r2) -/* 80278080 00274FE0 C0 0D 98 88 */ lfs f0, lbl_805A8448@sda21(r13) -/* 80278084 00274FE4 EC 21 10 24 */ fdivs f1, f1, f2 -/* 80278088 00274FE8 EC 23 08 2A */ fadds f1, f3, f1 -/* 8027808C 00274FEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278090 00274FF0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80278094 00274FF4 40 80 00 0C */ bge lbl_802780A0 -/* 80278098 00274FF8 38 61 00 0C */ addi r3, r1, 0xc -/* 8027809C 00274FFC 48 00 00 08 */ b lbl_802780A4 -lbl_802780A0: -/* 802780A0 00275000 38 6D 98 88 */ addi r3, r13, lbl_805A8448@sda21 -lbl_802780A4: -/* 802780A4 00275004 C0 03 00 00 */ lfs f0, 0(r3) -/* 802780A8 00275008 38 61 00 08 */ addi r3, r1, 8 -/* 802780AC 0027500C 38 9E 08 DC */ addi r4, r30, 0x8dc -/* 802780B0 00275010 38 BE 08 E0 */ addi r5, r30, 0x8e0 -/* 802780B4 00275014 D0 1E 08 E4 */ stfs f0, 0x8e4(r30) -/* 802780B8 00275018 C0 3E 08 E4 */ lfs f1, 0x8e4(r30) -/* 802780BC 0027501C 48 0E B1 F1 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 802780C0 00275020 80 01 00 08 */ lwz r0, 8(r1) -/* 802780C4 00275024 90 1E 08 D8 */ stw r0, 0x8d8(r30) -/* 802780C8 00275028 48 00 00 50 */ b lbl_80278118 -lbl_802780CC: -/* 802780CC 0027502C 80 1E 08 E0 */ lwz r0, 0x8e0(r30) -/* 802780D0 00275030 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 802780D4 00275034 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 802780D8 00275038 38 A0 00 00 */ li r5, 0 -/* 802780DC 0027503C 90 1E 08 D8 */ stw r0, 0x8d8(r30) -/* 802780E0 00275040 38 61 00 10 */ addi r3, r1, 0x10 -/* 802780E4 00275044 38 84 02 28 */ addi r4, r4, 0x228 -/* 802780E8 00275048 88 1E 08 F4 */ lbz r0, 0x8f4(r30) -/* 802780EC 0027504C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802780F0 00275050 98 1E 08 F4 */ stb r0, 0x8f4(r30) -/* 802780F4 00275054 4B D8 CB C5 */ bl string_l__4rstlFPCc -/* 802780F8 00275058 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 802780FC 0027505C 7F E6 FB 78 */ mr r6, r31 -/* 80278100 00275060 38 81 00 10 */ addi r4, r1, 0x10 -/* 80278104 00275064 38 A0 00 00 */ li r5, 0 -/* 80278108 00275068 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8027810C 0027506C 4B DB 2C B5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80278110 00275070 38 61 00 10 */ addi r3, r1, 0x10 -/* 80278114 00275074 48 0C 59 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80278118: -/* 80278118 00275078 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027811C 0027507C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80278120 00275080 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80278124 00275084 7C 08 03 A6 */ mtlr r0 -/* 80278128 00275088 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027812C 0027508C 4E 80 00 20 */ blr - -.global sub_80278130 -sub_80278130: -/* 80278130 00275090 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80278134 00275094 38 A0 00 01 */ li r5, 1 -/* 80278138 00275098 D0 03 08 E4 */ stfs f0, 0x8e4(r3) -/* 8027813C 0027509C 88 03 08 F4 */ lbz r0, 0x8f4(r3) -/* 80278140 002750A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80278144 002750A4 98 03 08 F4 */ stb r0, 0x8f4(r3) -/* 80278148 002750A8 80 04 00 00 */ lwz r0, 0(r4) -/* 8027814C 002750AC 90 03 08 E0 */ stw r0, 0x8e0(r3) -/* 80278150 002750B0 80 03 08 D8 */ lwz r0, 0x8d8(r3) -/* 80278154 002750B4 90 03 08 DC */ stw r0, 0x8dc(r3) -/* 80278158 002750B8 4E 80 00 20 */ blr - -.global sub_8027815c -sub_8027815c: -/* 8027815C 002750BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278160 002750C0 7C 08 02 A6 */ mflr r0 -/* 80278164 002750C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278168 002750C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027816C 002750CC 7C 7F 1B 78 */ mr r31, r3 -/* 80278170 002750D0 80 03 08 E8 */ lwz r0, 0x8e8(r3) -/* 80278174 002750D4 2C 00 FF FF */ cmpwi r0, -1 -/* 80278178 002750D8 41 82 00 F0 */ beq lbl_80278268 -/* 8027817C 002750DC 88 1F 08 F4 */ lbz r0, 0x8f4(r31) -/* 80278180 002750E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80278184 002750E4 41 82 00 3C */ beq lbl_802781C0 -/* 80278188 002750E8 C0 7F 08 EC */ lfs f3, 0x8ec(r31) -/* 8027818C 002750EC C0 42 BC 30 */ lfs f2, lbl_805AD950@sda21(r2) -/* 80278190 002750F0 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80278194 002750F4 40 80 00 60 */ bge lbl_802781F4 -/* 80278198 002750F8 C0 02 BC 80 */ lfs f0, lbl_805AD9A0@sda21(r2) -/* 8027819C 002750FC EC 01 00 24 */ fdivs f0, f1, f0 -/* 802781A0 00275100 EC 03 00 2A */ fadds f0, f3, f0 -/* 802781A4 00275104 D0 1F 08 EC */ stfs f0, 0x8ec(r31) -/* 802781A8 00275108 C0 1F 08 EC */ lfs f0, 0x8ec(r31) -/* 802781AC 0027510C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802781B0 00275110 4C 41 13 82 */ cror 2, 1, 2 -/* 802781B4 00275114 40 82 00 40 */ bne lbl_802781F4 -/* 802781B8 00275118 D0 5F 08 EC */ stfs f2, 0x8ec(r31) -/* 802781BC 0027511C 48 00 00 38 */ b lbl_802781F4 -lbl_802781C0: -/* 802781C0 00275120 C0 7F 08 EC */ lfs f3, 0x8ec(r31) -/* 802781C4 00275124 C0 42 BC 08 */ lfs f2, lbl_805AD928@sda21(r2) -/* 802781C8 00275128 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 802781CC 0027512C 40 81 00 28 */ ble lbl_802781F4 -/* 802781D0 00275130 C0 02 BC 6C */ lfs f0, lbl_805AD98C@sda21(r2) -/* 802781D4 00275134 EC 01 00 24 */ fdivs f0, f1, f0 -/* 802781D8 00275138 EC 03 00 28 */ fsubs f0, f3, f0 -/* 802781DC 0027513C D0 1F 08 EC */ stfs f0, 0x8ec(r31) -/* 802781E0 00275140 C0 1F 08 EC */ lfs f0, 0x8ec(r31) -/* 802781E4 00275144 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802781E8 00275148 4C 40 13 82 */ cror 2, 0, 2 -/* 802781EC 0027514C 40 82 00 08 */ bne lbl_802781F4 -/* 802781F0 00275150 D0 5F 08 EC */ stfs f2, 0x8ec(r31) -lbl_802781F4: -/* 802781F4 00275154 C0 3F 08 EC */ lfs f1, 0x8ec(r31) -/* 802781F8 00275158 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802781FC 0027515C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278200 00275160 41 81 00 10 */ bgt lbl_80278210 -/* 80278204 00275164 88 1F 08 F4 */ lbz r0, 0x8f4(r31) -/* 80278208 00275168 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8027820C 0027516C 41 82 00 5C */ beq lbl_80278268 -lbl_80278210: -/* 80278210 00275170 C0 02 BC 5C */ lfs f0, lbl_805AD97C@sda21(r2) -/* 80278214 00275174 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278218 00275178 40 81 00 30 */ ble lbl_80278248 -/* 8027821C 0027517C 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80278220 00275180 38 A0 00 01 */ li r5, 1 -/* 80278224 00275184 80 9F 08 E8 */ lwz r4, 0x8e8(r31) -/* 80278228 00275188 38 C0 00 00 */ li r6, 0 -/* 8027822C 0027518C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80278230 00275190 4B DB 1F A1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb -/* 80278234 00275194 88 1F 08 F4 */ lbz r0, 0x8f4(r31) -/* 80278238 00275198 38 60 00 01 */ li r3, 1 -/* 8027823C 0027519C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80278240 002751A0 98 1F 08 F4 */ stb r0, 0x8f4(r31) -/* 80278244 002751A4 48 00 00 24 */ b lbl_80278268 -lbl_80278248: -/* 80278248 002751A8 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8027824C 002751AC 80 9F 08 E8 */ lwz r4, 0x8e8(r31) -/* 80278250 002751B0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80278254 002751B4 4B DB 1F 05 */ bl DelAdditiveAnimation__9CAnimDataFUi -/* 80278258 002751B8 88 1F 08 F4 */ lbz r0, 0x8f4(r31) -/* 8027825C 002751BC 38 60 00 00 */ li r3, 0 -/* 80278260 002751C0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80278264 002751C4 98 1F 08 F4 */ stb r0, 0x8f4(r31) -lbl_80278268: -/* 80278268 002751C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027826C 002751CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278270 002751D0 7C 08 03 A6 */ mtlr r0 -/* 80278274 002751D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278278 002751D8 4E 80 00 20 */ blr - -.global sub_8027827c -sub_8027827c: -/* 8027827C 002751DC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80278280 002751E0 7C 08 02 A6 */ mflr r0 -/* 80278284 002751E4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80278288 002751E8 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 8027828C 002751EC 7C 7C 1B 78 */ mr r28, r3 -/* 80278290 002751F0 7C 9B 23 78 */ mr r27, r4 -/* 80278294 002751F4 7C BD 2B 78 */ mr r29, r5 -/* 80278298 002751F8 A0 64 00 00 */ lhz r3, 0(r4) -/* 8027829C 002751FC A0 1C 08 CC */ lhz r0, 0x8cc(r28) -/* 802782A0 00275200 7C 03 00 40 */ cmplw r3, r0 -/* 802782A4 00275204 40 82 02 50 */ bne lbl_802784F4 -/* 802782A8 00275208 B0 61 00 14 */ sth r3, 0x14(r1) -/* 802782AC 0027520C 7F A3 EB 78 */ mr r3, r29 -/* 802782B0 00275210 38 81 00 14 */ addi r4, r1, 0x14 -/* 802782B4 00275214 4B DD 42 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802782B8 00275218 7C 64 1B 78 */ mr r4, r3 -/* 802782BC 0027521C 38 61 00 24 */ addi r3, r1, 0x24 -/* 802782C0 00275220 4B E3 70 8D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802782C4 00275224 83 E3 00 04 */ lwz r31, 4(r3) -/* 802782C8 00275228 28 1F 00 00 */ cmplwi r31, 0 -/* 802782CC 0027522C 41 82 02 28 */ beq lbl_802784F4 -/* 802782D0 00275230 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 802782D4 00275234 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802782D8 00275238 41 82 02 1C */ beq lbl_802784F4 -/* 802782DC 0027523C 7F E4 FB 78 */ mr r4, r31 -/* 802782E0 00275240 38 61 00 10 */ addi r3, r1, 0x10 -/* 802782E4 00275244 4B F3 08 A9 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 802782E8 00275248 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 802782EC 0027524C 7F A3 EB 78 */ mr r3, r29 -/* 802782F0 00275250 38 81 00 0C */ addi r4, r1, 0xc -/* 802782F4 00275254 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802782F8 00275258 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802782FC 0027525C 4B DD 42 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80278300 00275260 7C 64 1B 78 */ mr r4, r3 -/* 80278304 00275264 38 61 00 1C */ addi r3, r1, 0x1c -/* 80278308 00275268 4B E2 D5 91 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" -/* 8027830C 0027526C 83 C3 00 04 */ lwz r30, 4(r3) -/* 80278310 00275270 28 1E 00 00 */ cmplwi r30, 0 -/* 80278314 00275274 41 82 01 E0 */ beq lbl_802784F4 -/* 80278318 00275278 7F E3 FB 78 */ mr r3, r31 -/* 8027831C 0027527C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80278320 00275280 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80278324 00275284 7D 89 03 A6 */ mtctr r12 -/* 80278328 00275288 4E 80 04 21 */ bctrl -/* 8027832C 0027528C 38 9E 01 2C */ addi r4, r30, 0x12c -/* 80278330 00275290 38 A0 00 00 */ li r5, 0 -/* 80278334 00275294 4B E8 A3 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80278338 00275298 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027833C 0027529C 41 82 01 B8 */ beq lbl_802784F4 -/* 80278340 002752A0 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) -/* 80278344 002752A4 D0 1C 04 28 */ stfs f0, 0x428(r28) -/* 80278348 002752A8 A0 7B 00 00 */ lhz r3, 0(r27) -/* 8027834C 002752AC A0 1C 08 CC */ lhz r0, 0x8cc(r28) -/* 80278350 002752B0 7C 03 00 40 */ cmplw r3, r0 -/* 80278354 002752B4 40 82 01 A0 */ bne lbl_802784F4 -/* 80278358 002752B8 80 1E 01 2C */ lwz r0, 0x12c(r30) -/* 8027835C 002752BC 2C 00 00 01 */ cmpwi r0, 1 -/* 80278360 002752C0 40 82 00 60 */ bne lbl_802783C0 -/* 80278364 002752C4 B0 61 00 08 */ sth r3, 8(r1) -/* 80278368 002752C8 7F A3 EB 78 */ mr r3, r29 -/* 8027836C 002752CC 38 81 00 08 */ addi r4, r1, 8 -/* 80278370 002752D0 4B DD 42 05 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80278374 002752D4 7C 64 1B 78 */ mr r4, r3 -/* 80278378 002752D8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027837C 002752DC 4B E3 6F D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80278380 002752E0 80 63 00 04 */ lwz r3, 4(r3) -/* 80278384 002752E4 28 03 00 00 */ cmplwi r3, 0 -/* 80278388 002752E8 41 82 00 38 */ beq lbl_802783C0 -/* 8027838C 002752EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80278390 002752F0 7F A4 EB 78 */ mr r4, r29 -/* 80278394 002752F4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80278398 002752F8 7D 89 03 A6 */ mtctr r12 -/* 8027839C 002752FC 4E 80 04 21 */ bctrl -/* 802783A0 00275300 28 03 00 00 */ cmplwi r3, 0 -/* 802783A4 00275304 41 82 00 1C */ beq lbl_802783C0 -/* 802783A8 00275308 C0 43 00 00 */ lfs f2, 0(r3) -/* 802783AC 0027530C C0 1C 08 C8 */ lfs f0, 0x8c8(r28) -/* 802783B0 00275310 C0 22 BC 80 */ lfs f1, lbl_805AD9A0@sda21(r2) -/* 802783B4 00275314 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802783B8 00275318 EC 01 10 3C */ fnmsubs f0, f1, f0, f2 -/* 802783BC 0027531C D0 03 00 00 */ stfs f0, 0(r3) -lbl_802783C0: -/* 802783C0 00275320 80 1E 01 2C */ lwz r0, 0x12c(r30) -/* 802783C4 00275324 2C 00 00 02 */ cmpwi r0, 2 -/* 802783C8 00275328 40 82 00 30 */ bne lbl_802783F8 -/* 802783CC 0027532C 88 7E 01 30 */ lbz r3, 0x130(r30) -/* 802783D0 00275330 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 802783D4 00275334 40 82 00 0C */ bne lbl_802783E0 -/* 802783D8 00275338 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 802783DC 0027533C 41 82 00 1C */ beq lbl_802783F8 -lbl_802783E0: -/* 802783E0 00275340 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 802783E4 00275344 7F 83 E3 78 */ mr r3, r28 -/* 802783E8 00275348 7F A4 EB 78 */ mr r4, r29 -/* 802783EC 0027534C 38 A0 00 01 */ li r5, 1 -/* 802783F0 00275350 D0 1C 0F B4 */ stfs f0, 0xfb4(r28) -/* 802783F4 00275354 4B FF DE 11 */ bl sub_80276204 -lbl_802783F8: -/* 802783F8 00275358 80 1E 01 2C */ lwz r0, 0x12c(r30) -/* 802783FC 0027535C 2C 00 00 03 */ cmpwi r0, 3 -/* 80278400 00275360 40 82 00 38 */ bne lbl_80278438 -/* 80278404 00275364 88 7E 01 30 */ lbz r3, 0x130(r30) -/* 80278408 00275368 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8027840C 0027536C 40 82 00 0C */ bne lbl_80278418 -/* 80278410 00275370 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80278414 00275374 41 82 00 24 */ beq lbl_80278438 -lbl_80278418: -/* 80278418 00275378 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 8027841C 0027537C 7F 83 E3 78 */ mr r3, r28 -/* 80278420 00275380 7F A4 EB 78 */ mr r4, r29 -/* 80278424 00275384 38 A0 00 01 */ li r5, 1 -/* 80278428 00275388 D0 1C 0F B8 */ stfs f0, 0xfb8(r28) -/* 8027842C 0027538C 4B FF DF 71 */ bl sub_8027639c -/* 80278430 00275390 38 00 00 01 */ li r0, 1 -/* 80278434 00275394 98 1C 0F C1 */ stb r0, 0xfc1(r28) -lbl_80278438: -/* 80278438 00275398 80 1E 01 2C */ lwz r0, 0x12c(r30) -/* 8027843C 0027539C 2C 00 00 01 */ cmpwi r0, 1 -/* 80278440 002753A0 40 82 00 B4 */ bne lbl_802784F4 -/* 80278444 002753A4 88 1E 01 30 */ lbz r0, 0x130(r30) -/* 80278448 002753A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8027844C 002753AC 41 82 00 A8 */ beq lbl_802784F4 -/* 80278450 002753B0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80278454 002753B4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80278458 002753B8 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8027845C 002753BC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80278460 002753C0 C0 45 00 00 */ lfs f2, 0(r5) -/* 80278464 002753C4 C0 25 00 04 */ lfs f1, 4(r5) -/* 80278468 002753C8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8027846C 002753CC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80278470 002753D0 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80278474 002753D4 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80278478 002753D8 C0 BF 00 60 */ lfs f5, 0x60(r31) -/* 8027847C 002753DC C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80278480 002753E0 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 80278484 002753E4 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80278488 002753E8 EC 25 00 28 */ fsubs f1, f5, f0 -/* 8027848C 002753EC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80278490 002753F0 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80278494 002753F4 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80278498 002753F8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8027849C 002753FC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802784A0 00275400 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 802784A4 00275404 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802784A8 00275408 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802784AC 0027540C D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802784B0 00275410 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802784B4 00275414 48 09 B9 1D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 802784B8 00275418 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 802784BC 0027541C 7F 83 E3 78 */ mr r3, r28 -/* 802784C0 00275420 80 E1 00 5C */ lwz r7, 0x5c(r1) -/* 802784C4 00275424 7F A4 EB 78 */ mr r4, r29 -/* 802784C8 00275428 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802784CC 0027542C 38 A1 00 64 */ addi r5, r1, 0x64 -/* 802784D0 00275430 90 C1 00 34 */ stw r6, 0x34(r1) -/* 802784D4 00275434 38 C1 00 34 */ addi r6, r1, 0x34 -/* 802784D8 00275438 C0 22 BC 44 */ lfs f1, lbl_805AD964@sda21(r2) -/* 802784DC 0027543C 90 E1 00 38 */ stw r7, 0x38(r1) -/* 802784E0 00275440 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802784E4 00275444 81 9C 00 00 */ lwz r12, 0(r28) -/* 802784E8 00275448 81 8C 02 90 */ lwz r12, 0x290(r12) -/* 802784EC 0027544C 7D 89 03 A6 */ mtctr r12 -/* 802784F0 00275450 4E 80 04 21 */ bctrl -lbl_802784F4: -/* 802784F4 00275454 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 802784F8 00275458 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802784FC 0027545C 7C 08 03 A6 */ mtlr r0 -/* 80278500 00275460 38 21 00 90 */ addi r1, r1, 0x90 -/* 80278504 00275464 4E 80 00 20 */ blr - -.global sub_80278508 -sub_80278508: -/* 80278508 00275468 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8027850C 0027546C 7C 08 02 A6 */ mflr r0 -/* 80278510 00275470 90 01 00 84 */ stw r0, 0x84(r1) -/* 80278514 00275474 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 80278518 00275478 7C BB 2B 78 */ mr r27, r5 -/* 8027851C 0027547C 7C 7D 1B 78 */ mr r29, r3 -/* 80278520 00275480 7C 9E 23 78 */ mr r30, r4 -/* 80278524 00275484 7C DF 33 78 */ mr r31, r6 -/* 80278528 00275488 80 03 05 70 */ lwz r0, 0x570(r3) -/* 8027852C 0027548C 7C 00 D8 00 */ cmpw r0, r27 -/* 80278530 00275490 41 82 00 EC */ beq lbl_8027861C -/* 80278534 00275494 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 80278538 00275498 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027853C 0027549C 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 80278540 002754A0 38 84 02 28 */ addi r4, r4, 0x228 -/* 80278544 002754A4 4B D8 C7 75 */ bl string_l__4rstlFPCc -/* 80278548 002754A8 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8027854C 002754AC 7F C6 F3 78 */ mr r6, r30 -/* 80278550 002754B0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80278554 002754B4 38 A0 00 01 */ li r5, 1 -/* 80278558 002754B8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8027855C 002754BC 4B DB 28 65 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80278560 002754C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80278564 002754C4 48 0C 55 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80278568 002754C8 81 1D 00 04 */ lwz r8, 4(r29) -/* 8027856C 002754CC 39 80 00 00 */ li r12, 0 -/* 80278570 002754D0 C0 A2 BC 08 */ lfs f5, lbl_805AD928@sda21(r2) -/* 80278574 002754D4 3B 80 00 01 */ li r28, 1 -/* 80278578 002754D8 C0 82 BC C8 */ lfs f4, lbl_805AD9E8@sda21(r2) -/* 8027857C 002754DC 39 60 00 7F */ li r11, 0x7f -/* 80278580 002754E0 C0 62 BC 6C */ lfs f3, lbl_805AD98C@sda21(r2) -/* 80278584 002754E4 39 40 00 14 */ li r10, 0x14 -/* 80278588 002754E8 89 22 CC 41 */ lbz r9, lbl_805AE961@sda21(r2) -/* 8027858C 002754EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80278590 002754F0 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80278594 002754F4 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80278598 002754F8 C0 45 00 00 */ lfs f2, 0(r5) -/* 8027859C 002754FC 38 00 0B 9A */ li r0, 0xb9a -/* 802785A0 00275500 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802785A4 00275504 38 61 00 14 */ addi r3, r1, 0x14 -/* 802785A8 00275508 C0 25 00 04 */ lfs f1, 4(r5) -/* 802785AC 0027550C 38 81 00 30 */ addi r4, r1, 0x30 -/* 802785B0 00275510 C0 05 00 08 */ lfs f0, 8(r5) -/* 802785B4 00275514 38 A0 00 01 */ li r5, 1 -/* 802785B8 00275518 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 802785BC 0027551C 38 E0 00 00 */ li r7, 0 -/* 802785C0 00275520 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 802785C4 00275524 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 802785C8 00275528 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 802785CC 0027552C D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802785D0 00275530 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802785D4 00275534 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802785D8 00275538 93 81 00 50 */ stw r28, 0x50(r1) -/* 802785DC 0027553C B1 81 00 54 */ sth r12, 0x54(r1) -/* 802785E0 00275540 99 61 00 56 */ stb r11, 0x56(r1) -/* 802785E4 00275544 99 41 00 57 */ stb r10, 0x57(r1) -/* 802785E8 00275548 99 81 00 58 */ stb r12, 0x58(r1) -/* 802785EC 0027554C 99 21 00 59 */ stb r9, 0x59(r1) -/* 802785F0 00275550 C0 BD 00 60 */ lfs f5, 0x60(r29) -/* 802785F4 00275554 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 802785F8 00275558 C0 7D 00 40 */ lfs f3, 0x40(r29) -/* 802785FC 0027555C D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80278600 00275560 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80278604 00275564 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 80278608 00275568 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8027860C 0027556C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80278610 00275570 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80278614 00275574 B0 01 00 54 */ sth r0, 0x54(r1) -/* 80278618 00275578 48 07 19 C9 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -lbl_8027861C: -/* 8027861C 0027557C 93 7D 05 70 */ stw r27, 0x570(r29) -/* 80278620 00275580 3B 9D 05 8C */ addi r28, r29, 0x58c -/* 80278624 00275584 7F A3 EB 78 */ mr r3, r29 -/* 80278628 00275588 7F C5 F3 78 */ mr r5, r30 -/* 8027862C 0027558C 80 1D 05 70 */ lwz r0, 0x570(r29) -/* 80278630 00275590 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 80278634 00275594 7C 9C 02 14 */ add r4, r28, r0 -/* 80278638 00275598 38 84 00 6C */ addi r4, r4, 0x6c -/* 8027863C 0027559C 4B FF FA F5 */ bl sub_80278130 -/* 80278640 002755A0 A0 1D 08 CC */ lhz r0, 0x8cc(r29) -/* 80278644 002755A4 7F C3 F3 78 */ mr r3, r30 -/* 80278648 002755A8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8027864C 002755AC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80278650 002755B0 4B DD 3F 25 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80278654 002755B4 7C 64 1B 78 */ mr r4, r3 -/* 80278658 002755B8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027865C 002755BC 4B E3 6C F1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80278660 002755C0 83 63 00 04 */ lwz r27, 4(r3) -/* 80278664 002755C4 28 1B 00 00 */ cmplwi r27, 0 -/* 80278668 002755C8 41 82 00 80 */ beq lbl_802786E8 -/* 8027866C 002755CC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80278670 002755D0 41 82 00 34 */ beq lbl_802786A4 -/* 80278674 002755D4 80 1D 05 70 */ lwz r0, 0x570(r29) -/* 80278678 002755D8 7F 63 DB 78 */ mr r3, r27 -/* 8027867C 002755DC 1C 80 00 78 */ mulli r4, r0, 0x78 -/* 80278680 002755E0 38 84 00 04 */ addi r4, r4, 4 -/* 80278684 002755E4 7C 9C 22 14 */ add r4, r28, r4 -/* 80278688 002755E8 4B F3 05 11 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 8027868C 002755EC 7F 63 DB 78 */ mr r3, r27 -/* 80278690 002755F0 7F C6 F3 78 */ mr r6, r30 -/* 80278694 002755F4 38 80 00 28 */ li r4, 0x28 -/* 80278698 002755F8 38 A0 00 29 */ li r5, 0x29 -/* 8027869C 002755FC 4B DD BC 19 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 802786A0 00275600 48 00 00 48 */ b lbl_802786E8 -lbl_802786A4: -/* 802786A4 00275604 3C 80 80 57 */ lis r4, lbl_8056D718@ha -/* 802786A8 00275608 7F 63 DB 78 */ mr r3, r27 -/* 802786AC 0027560C 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l -/* 802786B0 00275610 4B F3 04 E9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 802786B4 00275614 A0 1D 00 08 */ lhz r0, 8(r29) -/* 802786B8 00275618 7F C6 F3 78 */ mr r6, r30 -/* 802786BC 0027561C 38 81 00 0C */ addi r4, r1, 0xc -/* 802786C0 00275620 38 A0 00 08 */ li r5, 8 -/* 802786C4 00275624 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802786C8 00275628 B0 01 00 08 */ sth r0, 8(r1) -/* 802786CC 0027562C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 802786D0 00275630 4B F0 2B 85 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 802786D4 00275634 7F 63 DB 78 */ mr r3, r27 -/* 802786D8 00275638 7F C6 F3 78 */ mr r6, r30 -/* 802786DC 0027563C 38 80 00 28 */ li r4, 0x28 -/* 802786E0 00275640 38 A0 00 29 */ li r5, 0x29 -/* 802786E4 00275644 4B DD B7 F1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_802786E8: -/* 802786E8 00275648 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 802786EC 0027564C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802786F0 00275650 7C 08 03 A6 */ mtlr r0 -/* 802786F4 00275654 38 21 00 80 */ addi r1, r1, 0x80 -/* 802786F8 00275658 4E 80 00 20 */ blr - -.global sub_802786fc -sub_802786fc: -/* 802786FC 0027565C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80278700 00275660 7C 08 02 A6 */ mflr r0 -/* 80278704 00275664 90 01 00 24 */ stw r0, 0x24(r1) -/* 80278708 00275668 BF 41 00 08 */ stmw r26, 8(r1) -/* 8027870C 0027566C 7C 7E 1B 78 */ mr r30, r3 -/* 80278710 00275670 7C 9F 23 78 */ mr r31, r4 -/* 80278714 00275674 88 03 05 84 */ lbz r0, 0x584(r3) -/* 80278718 00275678 28 00 00 00 */ cmplwi r0, 0 -/* 8027871C 0027567C 41 82 00 2C */ beq lbl_80278748 -/* 80278720 00275680 80 1E 05 70 */ lwz r0, 0x570(r30) -/* 80278724 00275684 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80278728 00275688 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 8027872C 0027568C 7F BE 02 14 */ add r29, r30, r0 -/* 80278730 00275690 3B BD 05 8C */ addi r29, r29, 0x58c -/* 80278734 00275694 48 09 9D ED */ bl Next__9CRandom16Fv -/* 80278738 00275698 54 60 17 7A */ rlwinm r0, r3, 2, 0x1d, 0x1d -/* 8027873C 0027569C 7C 7D 02 14 */ add r3, r29, r0 -/* 80278740 002756A0 83 63 00 70 */ lwz r27, 0x70(r3) -/* 80278744 002756A4 48 00 00 84 */ b lbl_802787C8 -lbl_80278748: -/* 80278748 002756A8 83 7E 05 70 */ lwz r27, 0x570(r30) -/* 8027874C 002756AC 3B 9E 05 8C */ addi r28, r30, 0x58c -/* 80278750 002756B0 3B 40 00 00 */ li r26, 0 -/* 80278754 002756B4 3B A0 00 01 */ li r29, 1 -lbl_80278758: -/* 80278758 002756B8 3B 5A 00 01 */ addi r26, r26, 1 -/* 8027875C 002756BC 2C 1A 00 0A */ cmpwi r26, 0xa -/* 80278760 002756C0 40 80 00 24 */ bge lbl_80278784 -/* 80278764 002756C4 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80278768 002756C8 48 09 9D B9 */ bl Next__9CRandom16Fv -/* 8027876C 002756CC 1C 1B 00 78 */ mulli r0, r27, 0x78 -/* 80278770 002756D0 54 63 17 7A */ rlwinm r3, r3, 2, 0x1d, 0x1d -/* 80278774 002756D4 7C 60 1A 14 */ add r3, r0, r3 -/* 80278778 002756D8 38 03 00 70 */ addi r0, r3, 0x70 -/* 8027877C 002756DC 7F 7C 00 2E */ lwzx r27, r28, r0 -/* 80278780 002756E0 48 00 00 18 */ b lbl_80278798 -lbl_80278784: -/* 80278784 002756E4 2C 1A 00 14 */ cmpwi r26, 0x14 -/* 80278788 002756E8 40 80 00 2C */ bge lbl_802787B4 -/* 8027878C 002756EC 1C 7B 00 78 */ mulli r3, r27, 0x78 -/* 80278790 002756F0 38 03 00 74 */ addi r0, r3, 0x74 -/* 80278794 002756F4 7F 7C 00 2E */ lwzx r27, r28, r0 -lbl_80278798: -/* 80278798 002756F8 80 1E 05 7C */ lwz r0, 0x57c(r30) -/* 8027879C 002756FC 7F A3 D8 30 */ slw r3, r29, r27 -/* 802787A0 00275700 7C 00 18 39 */ and. r0, r0, r3 -/* 802787A4 00275704 41 82 FF B4 */ beq lbl_80278758 -/* 802787A8 00275708 80 1E 05 80 */ lwz r0, 0x580(r30) -/* 802787AC 0027570C 7C 00 18 39 */ and. r0, r0, r3 -/* 802787B0 00275710 40 82 FF A8 */ bne lbl_80278758 -lbl_802787B4: -/* 802787B4 00275714 38 00 00 01 */ li r0, 1 -/* 802787B8 00275718 80 7E 05 80 */ lwz r3, 0x580(r30) -/* 802787BC 0027571C 7C 00 D8 30 */ slw r0, r0, r27 -/* 802787C0 00275720 7C 60 03 78 */ or r0, r3, r0 -/* 802787C4 00275724 90 1E 05 80 */ stw r0, 0x580(r30) -lbl_802787C8: -/* 802787C8 00275728 88 1E 08 F4 */ lbz r0, 0x8f4(r30) -/* 802787CC 0027572C 7F C3 F3 78 */ mr r3, r30 -/* 802787D0 00275730 7F E4 FB 78 */ mr r4, r31 -/* 802787D4 00275734 7F 65 DB 78 */ mr r5, r27 -/* 802787D8 00275738 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f -/* 802787DC 0027573C 4B FF FD 2D */ bl sub_80278508 -/* 802787E0 00275740 7F C3 F3 78 */ mr r3, r30 -/* 802787E4 00275744 7F E4 FB 78 */ mr r4, r31 -/* 802787E8 00275748 4B FF D4 79 */ bl sub_80275c60 -/* 802787EC 0027574C BB 41 00 08 */ lmw r26, 8(r1) -/* 802787F0 00275750 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802787F4 00275754 7C 08 03 A6 */ mtlr r0 -/* 802787F8 00275758 38 21 00 20 */ addi r1, r1, 0x20 -/* 802787FC 0027575C 4E 80 00 20 */ blr - -.global sub_80278800 -sub_80278800: -/* 80278800 00275760 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80278804 00275764 7C 08 02 A6 */ mflr r0 -/* 80278808 00275768 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027880C 0027576C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80278810 00275770 7C BF 2B 78 */ mr r31, r5 -/* 80278814 00275774 7F E6 FB 78 */ mr r6, r31 -/* 80278818 00275778 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027881C 0027577C 7C 9E 23 78 */ mr r30, r4 -/* 80278820 00275780 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80278824 00275784 7C 7D 1B 78 */ mr r29, r3 -/* 80278828 00275788 88 03 08 F4 */ lbz r0, 0x8f4(r3) -/* 8027882C 0027578C 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 -/* 80278830 00275790 98 03 08 F4 */ stb r0, 0x8f4(r3) -/* 80278834 00275794 80 A3 05 70 */ lwz r5, 0x570(r3) -/* 80278838 00275798 4B FF FC D1 */ bl sub_80278508 -/* 8027883C 0027579C 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 80278840 002757A0 38 61 00 08 */ addi r3, r1, 8 -/* 80278844 002757A4 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 80278848 002757A8 38 84 02 34 */ addi r4, r4, 0x234 -/* 8027884C 002757AC 4B D8 C4 6D */ bl string_l__4rstlFPCc -/* 80278850 002757B0 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80278854 002757B4 7F E5 FB 78 */ mr r5, r31 -/* 80278858 002757B8 7F C6 F3 78 */ mr r6, r30 -/* 8027885C 002757BC 38 81 00 08 */ addi r4, r1, 8 -/* 80278860 002757C0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80278864 002757C4 4B DB 25 5D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80278868 002757C8 38 61 00 08 */ addi r3, r1, 8 -/* 8027886C 002757CC 48 0C 52 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80278870 002757D0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80278874 002757D4 41 82 00 24 */ beq lbl_80278898 -/* 80278878 002757D8 80 1D 05 70 */ lwz r0, 0x570(r29) -/* 8027887C 002757DC 7F A3 EB 78 */ mr r3, r29 -/* 80278880 002757E0 7F C5 F3 78 */ mr r5, r30 -/* 80278884 002757E4 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 80278888 002757E8 7C 9D 02 14 */ add r4, r29, r0 -/* 8027888C 002757EC 38 84 05 F8 */ addi r4, r4, 0x5f8 -/* 80278890 002757F0 4B FF F8 A1 */ bl sub_80278130 -/* 80278894 002757F4 48 00 00 18 */ b lbl_802788AC -lbl_80278898: -/* 80278898 002757F8 48 0D 17 1D */ bl Black__6CColorFv -/* 8027889C 002757FC 7C 64 1B 78 */ mr r4, r3 -/* 802788A0 00275800 7F A3 EB 78 */ mr r3, r29 -/* 802788A4 00275804 7F C5 F3 78 */ mr r5, r30 -/* 802788A8 00275808 4B FF F8 89 */ bl sub_80278130 -lbl_802788AC: -/* 802788AC 0027580C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802788B0 00275810 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802788B4 00275814 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802788B8 00275818 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802788BC 0027581C 7C 08 03 A6 */ mtlr r0 -/* 802788C0 00275820 38 21 00 30 */ addi r1, r1, 0x30 -/* 802788C4 00275824 4E 80 00 20 */ blr - -.global sub_802788c8 -sub_802788c8: -/* 802788C8 00275828 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802788CC 0027582C 7C 08 02 A6 */ mflr r0 -/* 802788D0 00275830 90 01 00 24 */ stw r0, 0x24(r1) -/* 802788D4 00275834 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802788D8 00275838 7C 9F 23 78 */ mr r31, r4 -/* 802788DC 0027583C 38 81 00 08 */ addi r4, r1, 8 -/* 802788E0 00275840 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802788E4 00275844 7C 7E 1B 78 */ mr r30, r3 -/* 802788E8 00275848 A0 03 08 CC */ lhz r0, 0x8cc(r3) -/* 802788EC 0027584C 7F E3 FB 78 */ mr r3, r31 -/* 802788F0 00275850 B0 01 00 08 */ sth r0, 8(r1) -/* 802788F4 00275854 4B DD 3C 81 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802788F8 00275858 7C 64 1B 78 */ mr r4, r3 -/* 802788FC 0027585C 38 61 00 0C */ addi r3, r1, 0xc -/* 80278900 00275860 4B E3 6A 4D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80278904 00275864 80 63 00 04 */ lwz r3, 4(r3) -/* 80278908 00275868 28 03 00 00 */ cmplwi r3, 0 -/* 8027890C 0027586C 41 82 00 28 */ beq lbl_80278934 -/* 80278910 00275870 81 83 00 00 */ lwz r12, 0(r3) -/* 80278914 00275874 7F E4 FB 78 */ mr r4, r31 -/* 80278918 00275878 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027891C 0027587C 7D 89 03 A6 */ mtctr r12 -/* 80278920 00275880 4E 80 04 21 */ bctrl -/* 80278924 00275884 C0 1E 08 C0 */ lfs f0, 0x8c0(r30) -/* 80278928 00275888 D0 03 00 00 */ stfs f0, 0(r3) -/* 8027892C 0027588C C0 1E 08 C4 */ lfs f0, 0x8c4(r30) -/* 80278930 00275890 D0 03 00 04 */ stfs f0, 4(r3) -lbl_80278934: -/* 80278934 00275894 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80278938 00275898 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027893C 0027589C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80278940 002758A0 7C 08 03 A6 */ mtlr r0 -/* 80278944 002758A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80278948 002758A8 4E 80 00 20 */ blr - -.global sub_8027894c -sub_8027894c: -/* 8027894C 002758AC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80278950 002758B0 7C 08 02 A6 */ mflr r0 -/* 80278954 002758B4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80278958 002758B8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8027895C 002758BC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80278960 002758C0 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80278964 002758C4 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80278968 002758C8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027896C 002758CC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80278970 002758D0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80278974 002758D4 7C 7D 1B 78 */ mr r29, r3 -/* 80278978 002758D8 7C 9E 23 78 */ mr r30, r4 -/* 8027897C 002758DC A0 03 08 CC */ lhz r0, 0x8cc(r3) -/* 80278980 002758E0 7F C3 F3 78 */ mr r3, r30 -/* 80278984 002758E4 38 81 00 08 */ addi r4, r1, 8 -/* 80278988 002758E8 B0 01 00 08 */ sth r0, 8(r1) -/* 8027898C 002758EC 4B DD 3B E9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80278990 002758F0 7C 64 1B 78 */ mr r4, r3 -/* 80278994 002758F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80278998 002758F8 4B E3 69 B5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027899C 002758FC 83 E3 00 04 */ lwz r31, 4(r3) -/* 802789A0 00275900 28 1F 00 00 */ cmplwi r31, 0 -/* 802789A4 00275904 41 82 01 90 */ beq lbl_80278B34 -/* 802789A8 00275908 7F E3 FB 78 */ mr r3, r31 -/* 802789AC 0027590C 7F C4 F3 78 */ mr r4, r30 -/* 802789B0 00275910 81 9F 00 00 */ lwz r12, 0(r31) -/* 802789B4 00275914 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802789B8 00275918 7D 89 03 A6 */ mtctr r12 -/* 802789BC 0027591C 4E 80 04 21 */ bctrl -/* 802789C0 00275920 C0 23 00 00 */ lfs f1, 0(r3) -/* 802789C4 00275924 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 802789C8 00275928 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802789CC 0027592C 4C 40 13 82 */ cror 2, 0, 2 -/* 802789D0 00275930 40 82 00 40 */ bne lbl_80278A10 -/* 802789D4 00275934 88 7D 08 F4 */ lbz r3, 0x8f4(r29) -/* 802789D8 00275938 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 802789DC 0027593C 40 82 00 34 */ bne lbl_80278A10 -/* 802789E0 00275940 38 80 00 01 */ li r4, 1 -/* 802789E4 00275944 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 802789E8 00275948 98 7D 08 F4 */ stb r3, 0x8f4(r29) -/* 802789EC 0027594C 80 7D 08 D0 */ lwz r3, 0x8d0(r29) -/* 802789F0 00275950 38 03 FF FF */ addi r0, r3, -1 -/* 802789F4 00275954 90 1D 08 D0 */ stw r0, 0x8d0(r29) -/* 802789F8 00275958 80 1D 08 D0 */ lwz r0, 0x8d0(r29) -/* 802789FC 0027595C 2C 00 00 00 */ cmpwi r0, 0 -/* 80278A00 00275960 40 82 00 10 */ bne lbl_80278A10 -/* 80278A04 00275964 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 80278A08 00275968 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80278A0C 0027596C 98 1D 04 00 */ stb r0, 0x400(r29) -lbl_80278A10: -/* 80278A10 00275970 88 1D 08 F4 */ lbz r0, 0x8f4(r29) -/* 80278A14 00275974 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80278A18 00275978 41 82 00 10 */ beq lbl_80278A28 -/* 80278A1C 0027597C 7F A3 EB 78 */ mr r3, r29 -/* 80278A20 00275980 7F C4 F3 78 */ mr r4, r30 -/* 80278A24 00275984 4B FF FE A5 */ bl sub_802788c8 -lbl_80278A28: -/* 80278A28 00275988 80 DD 09 1C */ lwz r6, 0x91c(r29) -/* 80278A2C 0027598C 2C 06 00 00 */ cmpwi r6, 0 -/* 80278A30 00275990 41 80 01 04 */ blt lbl_80278B34 -/* 80278A34 00275994 2C 06 00 04 */ cmpwi r6, 4 -/* 80278A38 00275998 40 80 00 FC */ bge lbl_80278B34 -/* 80278A3C 0027599C 88 1D 09 14 */ lbz r0, 0x914(r29) -/* 80278A40 002759A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80278A44 002759A4 41 82 00 54 */ beq lbl_80278A98 -/* 80278A48 002759A8 80 0D 98 80 */ lwz r0, lbl_805A8440@sda21(r13) -/* 80278A4C 002759AC 38 66 FF FF */ addi r3, r6, -1 -/* 80278A50 002759B0 90 61 00 10 */ stw r3, 0x10(r1) -/* 80278A54 002759B4 38 8D 98 80 */ addi r4, r13, lbl_805A8440@sda21 -/* 80278A58 002759B8 7C 00 18 00 */ cmpw r0, r3 -/* 80278A5C 002759BC 40 80 00 08 */ bge lbl_80278A64 -/* 80278A60 002759C0 38 81 00 10 */ addi r4, r1, 0x10 -lbl_80278A64: -/* 80278A64 002759C4 7F A3 EB 78 */ mr r3, r29 -/* 80278A68 002759C8 80 04 00 00 */ lwz r0, 0(r4) -/* 80278A6C 002759CC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80278A70 002759D0 3C A0 80 3D */ lis r5, lbl_803D5434@ha -/* 80278A74 002759D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80278A78 002759D8 7F C4 F3 78 */ mr r4, r30 -/* 80278A7C 002759DC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80278A80 002759E0 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l -/* 80278A84 002759E4 7F E5 04 2E */ lfsx f31, r5, r0 -/* 80278A88 002759E8 7D 89 03 A6 */ mtctr r12 -/* 80278A8C 002759EC 4E 80 04 21 */ bctrl -/* 80278A90 002759F0 D3 E3 00 00 */ stfs f31, 0(r3) -/* 80278A94 002759F4 48 00 00 A0 */ b lbl_80278B34 -lbl_80278A98: -/* 80278A98 002759F8 80 9D 08 D0 */ lwz r4, 0x8d0(r29) -/* 80278A9C 002759FC 3C 00 43 30 */ lis r0, 0x4330 -/* 80278AA0 00275A00 7F E3 FB 78 */ mr r3, r31 -/* 80278AA4 00275A04 3C A0 80 3D */ lis r5, lbl_803D5434@ha -/* 80278AA8 00275A08 38 84 FF FF */ addi r4, r4, -1 -/* 80278AAC 00275A0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80278AB0 00275A10 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80278AB4 00275A14 90 01 00 20 */ stw r0, 0x20(r1) -/* 80278AB8 00275A18 C8 42 BC 78 */ lfd f2, lbl_805AD998@sda21(r2) -/* 80278ABC 00275A1C 54 C0 10 3A */ slwi r0, r6, 2 -/* 80278AC0 00275A20 90 81 00 24 */ stw r4, 0x24(r1) -/* 80278AC4 00275A24 38 A5 54 34 */ addi r5, r5, lbl_803D5434@l -/* 80278AC8 00275A28 C0 1D 08 C0 */ lfs f0, 0x8c0(r29) -/* 80278ACC 00275A2C 7F C4 F3 78 */ mr r4, r30 -/* 80278AD0 00275A30 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 80278AD4 00275A34 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80278AD8 00275A38 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80278ADC 00275A3C 7F E5 04 2E */ lfsx f31, r5, r0 -/* 80278AE0 00275A40 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80278AE4 00275A44 7D 89 03 A6 */ mtctr r12 -/* 80278AE8 00275A48 4E 80 04 21 */ bctrl -/* 80278AEC 00275A4C C0 23 00 00 */ lfs f1, 0(r3) -/* 80278AF0 00275A50 C0 0D 98 84 */ lfs f0, lbl_805A8444@sda21(r13) -/* 80278AF4 00275A54 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80278AF8 00275A58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278AFC 00275A5C 40 80 00 0C */ bge lbl_80278B08 -/* 80278B00 00275A60 38 AD 98 84 */ addi r5, r13, lbl_805A8444@sda21 -/* 80278B04 00275A64 48 00 00 08 */ b lbl_80278B0C -lbl_80278B08: -/* 80278B08 00275A68 38 A1 00 0C */ addi r5, r1, 0xc -lbl_80278B0C: -/* 80278B0C 00275A6C 7F A3 EB 78 */ mr r3, r29 -/* 80278B10 00275A70 EC 1F F0 2A */ fadds f0, f31, f30 -/* 80278B14 00275A74 81 9D 00 00 */ lwz r12, 0(r29) -/* 80278B18 00275A78 7F C4 F3 78 */ mr r4, r30 -/* 80278B1C 00275A7C C0 25 00 00 */ lfs f1, 0(r5) -/* 80278B20 00275A80 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80278B24 00275A84 EF C1 00 2A */ fadds f30, f1, f0 -/* 80278B28 00275A88 7D 89 03 A6 */ mtctr r12 -/* 80278B2C 00275A8C 4E 80 04 21 */ bctrl -/* 80278B30 00275A90 D3 C3 00 00 */ stfs f30, 0(r3) -lbl_80278B34: -/* 80278B34 00275A94 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80278B38 00275A98 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80278B3C 00275A9C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80278B40 00275AA0 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80278B44 00275AA4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80278B48 00275AA8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80278B4C 00275AAC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80278B50 00275AB0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80278B54 00275AB4 7C 08 03 A6 */ mtlr r0 -/* 80278B58 00275AB8 38 21 00 60 */ addi r1, r1, 0x60 -/* 80278B5C 00275ABC 4E 80 00 20 */ blr - -.global sub_80278b60 -sub_80278b60: -/* 80278B60 00275AC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80278B64 00275AC4 7C 08 02 A6 */ mflr r0 -/* 80278B68 00275AC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80278B6C 00275ACC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80278B70 00275AD0 7C 7B 1B 78 */ mr r27, r3 -/* 80278B74 00275AD4 7C 9C 23 78 */ mr r28, r4 -/* 80278B78 00275AD8 7C BD 2B 78 */ mr r29, r5 -/* 80278B7C 00275ADC 3B C0 00 00 */ li r30, 0 -/* 80278B80 00275AE0 3B FB 07 70 */ addi r31, r27, 0x770 -/* 80278B84 00275AE4 48 00 00 34 */ b lbl_80278BB8 -lbl_80278B88: -/* 80278B88 00275AE8 7F E3 FB 78 */ mr r3, r31 -/* 80278B8C 00275AEC 7F A4 EB 78 */ mr r4, r29 -/* 80278B90 00275AF0 4B EF C6 95 */ bl SetActive__13CBoneTrackingFb -/* 80278B94 00275AF4 80 BC 08 4C */ lwz r5, 0x84c(r28) -/* 80278B98 00275AF8 7F E3 FB 78 */ mr r3, r31 -/* 80278B9C 00275AFC 38 81 00 0C */ addi r4, r1, 0xc -/* 80278BA0 00275B00 A0 05 00 08 */ lhz r0, 8(r5) -/* 80278BA4 00275B04 B0 01 00 08 */ sth r0, 8(r1) -/* 80278BA8 00275B08 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80278BAC 00275B0C 4B EF C6 6D */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80278BB0 00275B10 3B FF 00 38 */ addi r31, r31, 0x38 -/* 80278BB4 00275B14 3B DE 00 01 */ addi r30, r30, 1 -lbl_80278BB8: -/* 80278BB8 00275B18 80 1B 07 6C */ lwz r0, 0x76c(r27) -/* 80278BBC 00275B1C 7C 1E 00 00 */ cmpw r30, r0 -/* 80278BC0 00275B20 41 80 FF C8 */ blt lbl_80278B88 -/* 80278BC4 00275B24 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80278BC8 00275B28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80278BCC 00275B2C 7C 08 03 A6 */ mtlr r0 -/* 80278BD0 00275B30 38 21 00 30 */ addi r1, r1, 0x30 -/* 80278BD4 00275B34 4E 80 00 20 */ blr - -.global sub_80278bd8 -sub_80278bd8: -/* 80278BD8 00275B38 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80278BDC 00275B3C 7C 08 02 A6 */ mflr r0 -/* 80278BE0 00275B40 90 01 00 44 */ stw r0, 0x44(r1) -/* 80278BE4 00275B44 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80278BE8 00275B48 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80278BEC 00275B4C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80278BF0 00275B50 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80278BF4 00275B54 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80278BF8 00275B58 93 81 00 20 */ stw r28, 0x20(r1) -/* 80278BFC 00275B5C 7C 7C 1B 78 */ mr r28, r3 -/* 80278C00 00275B60 FF E0 08 90 */ fmr f31, f1 -/* 80278C04 00275B64 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80278C08 00275B68 7C 9D 23 78 */ mr r29, r4 -/* 80278C0C 00275B6C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80278C10 00275B70 4B DB 3D F5 */ bl PreRender__9CAnimDataFv -/* 80278C14 00275B74 3B FC 07 70 */ addi r31, r28, 0x770 -/* 80278C18 00275B78 3B C0 00 00 */ li r30, 0 -/* 80278C1C 00275B7C 48 00 00 54 */ b lbl_80278C70 -lbl_80278C20: -/* 80278C20 00275B80 FC 20 F8 90 */ fmr f1, f31 -/* 80278C24 00275B84 7F E3 FB 78 */ mr r3, r31 -/* 80278C28 00275B88 4B EF CD 81 */ bl Update__13CBoneTrackingFf -/* 80278C2C 00275B8C 80 BC 00 64 */ lwz r5, 0x64(r28) -/* 80278C30 00275B90 7F E3 FB 78 */ mr r3, r31 -/* 80278C34 00275B94 81 1C 04 50 */ lwz r8, 0x450(r28) -/* 80278C38 00275B98 7F A4 EB 78 */ mr r4, r29 -/* 80278C3C 00275B9C C0 05 00 00 */ lfs f0, 0(r5) -/* 80278C40 00275BA0 38 DC 00 34 */ addi r6, r28, 0x34 -/* 80278C44 00275BA4 38 E1 00 08 */ addi r7, r1, 8 -/* 80278C48 00275BA8 D0 01 00 08 */ stfs f0, 8(r1) -/* 80278C4C 00275BAC C0 05 00 04 */ lfs f0, 4(r5) -/* 80278C50 00275BB0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80278C54 00275BB4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80278C58 00275BB8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80278C5C 00275BBC 80 BC 00 64 */ lwz r5, 0x64(r28) -/* 80278C60 00275BC0 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80278C64 00275BC4 4B EF CC AD */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController -/* 80278C68 00275BC8 3B FF 00 38 */ addi r31, r31, 0x38 -/* 80278C6C 00275BCC 3B DE 00 01 */ addi r30, r30, 1 -lbl_80278C70: -/* 80278C70 00275BD0 80 1C 07 6C */ lwz r0, 0x76c(r28) -/* 80278C74 00275BD4 7C 1E 00 00 */ cmpw r30, r0 -/* 80278C78 00275BD8 41 80 FF A8 */ blt lbl_80278C20 -/* 80278C7C 00275BDC 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 80278C80 00275BE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80278C84 00275BE4 41 82 00 1C */ beq lbl_80278CA0 -/* 80278C88 00275BE8 88 7C 10 54 */ lbz r3, 0x1054(r28) -/* 80278C8C 00275BEC 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 80278C90 00275BF0 54 63 CF FE */ rlwinm r3, r3, 0x19, 0x1f, 0x1f -/* 80278C94 00275BF4 7C 63 00 34 */ cntlzw r3, r3 -/* 80278C98 00275BF8 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e -/* 80278C9C 00275BFC 98 1C 00 E4 */ stb r0, 0xe4(r28) -lbl_80278CA0: -/* 80278CA0 00275C00 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80278CA4 00275C04 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80278CA8 00275C08 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80278CAC 00275C0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80278CB0 00275C10 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80278CB4 00275C14 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80278CB8 00275C18 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80278CBC 00275C1C 7C 08 03 A6 */ mtlr r0 -/* 80278CC0 00275C20 38 21 00 40 */ addi r1, r1, 0x40 -/* 80278CC4 00275C24 4E 80 00 20 */ blr - -.global sub_80278cc8 -sub_80278cc8: -/* 80278CC8 00275C28 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80278CCC 00275C2C 7C 08 02 A6 */ mflr r0 -/* 80278CD0 00275C30 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80278CD4 00275C34 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 80278CD8 00275C38 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 80278CDC 00275C3C 7C BE 2B 78 */ mr r30, r5 -/* 80278CE0 00275C40 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 80278CE4 00275C44 7C 7D 1B 78 */ mr r29, r3 -/* 80278CE8 00275C48 7F C3 F3 78 */ mr r3, r30 -/* 80278CEC 00275C4C A0 04 00 00 */ lhz r0, 0(r4) -/* 80278CF0 00275C50 38 81 00 38 */ addi r4, r1, 0x38 -/* 80278CF4 00275C54 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80278CF8 00275C58 4B DD 38 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80278CFC 00275C5C 7C 64 1B 78 */ mr r4, r3 -/* 80278D00 00275C60 38 61 00 48 */ addi r3, r1, 0x48 -/* 80278D04 00275C64 4B E3 66 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 80278D08 00275C68 80 83 00 04 */ lwz r4, 4(r3) -/* 80278D0C 00275C6C 28 04 00 00 */ cmplwi r4, 0 -/* 80278D10 00275C70 41 82 01 E8 */ beq lbl_80278EF8 -/* 80278D14 00275C74 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 80278D18 00275C78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80278D1C 00275C7C 41 82 01 DC */ beq lbl_80278EF8 -/* 80278D20 00275C80 38 61 00 34 */ addi r3, r1, 0x34 -/* 80278D24 00275C84 4B F2 FE 69 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 80278D28 00275C88 7F A4 EB 78 */ mr r4, r29 -/* 80278D2C 00275C8C A0 01 00 34 */ lhz r0, 0x34(r1) -/* 80278D30 00275C90 81 9D 00 00 */ lwz r12, 0(r29) -/* 80278D34 00275C94 38 61 00 88 */ addi r3, r1, 0x88 -/* 80278D38 00275C98 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 80278D3C 00275C9C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80278D40 00275CA0 7D 89 03 A6 */ mtctr r12 -/* 80278D44 00275CA4 4E 80 04 21 */ bctrl -/* 80278D48 00275CA8 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80278D4C 00275CAC 3B E1 00 88 */ addi r31, r1, 0x88 -/* 80278D50 00275CB0 A0 81 00 3C */ lhz r4, 0x3c(r1) -/* 80278D54 00275CB4 A0 03 00 08 */ lhz r0, 8(r3) -/* 80278D58 00275CB8 7C 04 00 40 */ cmplw r4, r0 -/* 80278D5C 00275CBC 40 82 00 AC */ bne lbl_80278E08 -/* 80278D60 00275CC0 4B D9 CF 9D */ bl GetFrozenState__7CPlayerCFv -/* 80278D64 00275CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80278D68 00275CC8 41 82 00 10 */ beq lbl_80278D78 -/* 80278D6C 00275CCC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80278D70 00275CD0 7F C4 F3 78 */ mr r4, r30 -/* 80278D74 00275CD4 4B D9 CC B9 */ bl UnFreeze__7CPlayerFR13CStateManager -lbl_80278D78: -/* 80278D78 00275CD8 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 80278D7C 00275CDC C0 1D 04 20 */ lfs f0, 0x420(r29) -/* 80278D80 00275CE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278D84 00275CE4 4C 41 13 82 */ cror 2, 1, 2 -/* 80278D88 00275CE8 40 82 01 70 */ bne lbl_80278EF8 -/* 80278D8C 00275CEC 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) -/* 80278D90 00275CF0 38 60 00 00 */ li r3, 0 -/* 80278D94 00275CF4 38 80 00 01 */ li r4, 1 -/* 80278D98 00275CF8 48 11 11 5D */ bl __shl2i -/* 80278D9C 00275CFC 39 00 00 00 */ li r8, 0 -/* 80278DA0 00275D00 39 40 00 03 */ li r10, 3 -/* 80278DA4 00275D04 90 81 00 74 */ stw r4, 0x74(r1) -/* 80278DA8 00275D08 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80278DAC 00275D0C 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80278DB0 00275D10 A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 80278DB4 00275D14 90 61 00 70 */ stw r3, 0x70(r1) -/* 80278DB8 00275D18 7F C3 F3 78 */ mr r3, r30 -/* 80278DBC 00275D1C 7F E7 FB 78 */ mr r7, r31 -/* 80278DC0 00275D20 38 81 00 30 */ addi r4, r1, 0x30 -/* 80278DC4 00275D24 91 01 00 7C */ stw r8, 0x7c(r1) -/* 80278DC8 00275D28 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80278DCC 00275D2C 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80278DD0 00275D30 91 01 00 78 */ stw r8, 0x78(r1) -/* 80278DD4 00275D34 39 01 00 70 */ addi r8, r1, 0x70 -/* 80278DD8 00275D38 91 41 00 80 */ stw r10, 0x80(r1) -/* 80278DDC 00275D3C A1 5D 00 08 */ lhz r10, 8(r29) -/* 80278DE0 00275D40 B1 41 00 24 */ sth r10, 0x24(r1) -/* 80278DE4 00275D44 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80278DE8 00275D48 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80278DEC 00275D4C B1 41 00 20 */ sth r10, 0x20(r1) -/* 80278DF0 00275D50 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80278DF4 00275D54 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80278DF8 00275D58 4B DD 12 A9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80278DFC 00275D5C C0 1D 04 24 */ lfs f0, 0x424(r29) -/* 80278E00 00275D60 D0 1D 04 20 */ stfs f0, 0x420(r29) -/* 80278E04 00275D64 48 00 00 F4 */ b lbl_80278EF8 -lbl_80278E08: -/* 80278E08 00275D68 B0 81 00 1C */ sth r4, 0x1c(r1) -/* 80278E0C 00275D6C 7F C3 F3 78 */ mr r3, r30 -/* 80278E10 00275D70 38 81 00 1C */ addi r4, r1, 0x1c -/* 80278E14 00275D74 4B DD 37 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80278E18 00275D78 7C 64 1B 78 */ mr r4, r3 -/* 80278E1C 00275D7C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80278E20 00275D80 4B E3 6E 71 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80278E24 00275D84 80 83 00 04 */ lwz r4, 4(r3) -/* 80278E28 00275D88 28 04 00 00 */ cmplwi r4, 0 -/* 80278E2C 00275D8C 41 82 00 CC */ beq lbl_80278EF8 -/* 80278E30 00275D90 80 64 00 68 */ lwz r3, 0x68(r4) -/* 80278E34 00275D94 3C 00 00 02 */ lis r0, 2 -/* 80278E38 00275D98 80 84 00 6C */ lwz r4, 0x6c(r4) -/* 80278E3C 00275D9C 38 C0 00 00 */ li r6, 0 -/* 80278E40 00275DA0 7C 60 00 38 */ and r0, r3, r0 -/* 80278E44 00275DA4 7C 83 30 38 */ and r3, r4, r6 -/* 80278E48 00275DA8 7C 63 32 78 */ xor r3, r3, r6 -/* 80278E4C 00275DAC 7C 00 32 78 */ xor r0, r0, r6 -/* 80278E50 00275DB0 7C 60 03 79 */ or. r0, r3, r0 -/* 80278E54 00275DB4 41 82 00 A4 */ beq lbl_80278EF8 -/* 80278E58 00275DB8 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80278E5C 00275DBC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80278E60 00275DC0 38 80 00 09 */ li r4, 9 -/* 80278E64 00275DC4 38 60 00 01 */ li r3, 1 -/* 80278E68 00275DC8 98 01 00 54 */ stb r0, 0x54(r1) -/* 80278E6C 00275DCC 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80278E70 00275DD0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80278E74 00275DD4 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) -/* 80278E78 00275DD8 98 01 00 54 */ stb r0, 0x54(r1) -/* 80278E7C 00275DDC 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80278E80 00275DE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80278E84 00275DE4 38 60 00 00 */ li r3, 0 -/* 80278E88 00275DE8 90 81 00 50 */ stw r4, 0x50(r1) -/* 80278E8C 00275DEC 38 80 00 01 */ li r4, 1 -/* 80278E90 00275DF0 98 01 00 54 */ stb r0, 0x54(r1) -/* 80278E94 00275DF4 48 11 10 61 */ bl __shl2i -/* 80278E98 00275DF8 39 00 00 00 */ li r8, 0 -/* 80278E9C 00275DFC 39 40 00 03 */ li r10, 3 -/* 80278EA0 00275E00 90 81 00 5C */ stw r4, 0x5c(r1) -/* 80278EA4 00275E04 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80278EA8 00275E08 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80278EAC 00275E0C A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 80278EB0 00275E10 90 61 00 58 */ stw r3, 0x58(r1) -/* 80278EB4 00275E14 7F C3 F3 78 */ mr r3, r30 -/* 80278EB8 00275E18 7F E7 FB 78 */ mr r7, r31 -/* 80278EBC 00275E1C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80278EC0 00275E20 91 01 00 64 */ stw r8, 0x64(r1) -/* 80278EC4 00275E24 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80278EC8 00275E28 38 C1 00 0C */ addi r6, r1, 0xc -/* 80278ECC 00275E2C 91 01 00 60 */ stw r8, 0x60(r1) -/* 80278ED0 00275E30 39 01 00 58 */ addi r8, r1, 0x58 -/* 80278ED4 00275E34 91 41 00 68 */ stw r10, 0x68(r1) -/* 80278ED8 00275E38 A1 5D 00 08 */ lhz r10, 8(r29) -/* 80278EDC 00275E3C B1 41 00 0C */ sth r10, 0xc(r1) -/* 80278EE0 00275E40 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80278EE4 00275E44 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80278EE8 00275E48 B1 41 00 08 */ sth r10, 8(r1) -/* 80278EEC 00275E4C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80278EF0 00275E50 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80278EF4 00275E54 4B DD 11 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_80278EF8: -/* 80278EF8 00275E58 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80278EFC 00275E5C 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80278F00 00275E60 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 80278F04 00275E64 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80278F08 00275E68 7C 08 03 A6 */ mtlr r0 -/* 80278F0C 00275E6C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80278F10 00275E70 4E 80 00 20 */ blr - -.global sub_80278f14 -sub_80278f14: -/* 80278F14 00275E74 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80278F18 00275E78 7C 08 02 A6 */ mflr r0 -/* 80278F1C 00275E7C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80278F20 00275E80 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80278F24 00275E84 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80278F28 00275E88 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80278F2C 00275E8C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80278F30 00275E90 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 80278F34 00275E94 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80278F38 00275E98 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 80278F3C 00275E9C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 80278F40 00275EA0 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 80278F44 00275EA4 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 80278F48 00275EA8 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 80278F4C 00275EAC F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 80278F50 00275EB0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80278F54 00275EB4 7C 7F 1B 78 */ mr r31, r3 -/* 80278F58 00275EB8 38 A0 00 00 */ li r5, 0 -/* 80278F5C 00275EBC 80 63 05 6C */ lwz r3, 0x56c(r3) -/* 80278F60 00275EC0 4B F2 E4 F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 80278F64 00275EC4 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 80278F68 00275EC8 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80278F6C 00275ECC 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 80278F70 00275ED0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80278F74 00275ED4 C3 85 00 00 */ lfs f28, 0(r5) -/* 80278F78 00275ED8 38 84 00 CF */ addi r4, r4, 0xcf -/* 80278F7C 00275EDC C3 65 00 04 */ lfs f27, 4(r5) -/* 80278F80 00275EE0 C3 45 00 08 */ lfs f26, 8(r5) -/* 80278F84 00275EE4 4B D8 BD 35 */ bl string_l__4rstlFPCc -/* 80278F88 00275EE8 7F E4 FB 78 */ mr r4, r31 -/* 80278F8C 00275EEC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80278F90 00275EF0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80278F94 00275EF4 4B DD 9F 6D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80278F98 00275EF8 C3 A1 00 5C */ lfs f29, 0x5c(r1) -/* 80278F9C 00275EFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80278FA0 00275F00 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 80278FA4 00275F04 C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 80278FA8 00275F08 48 0C 4B 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80278FAC 00275F0C EC 5C 07 F2 */ fmuls f2, f28, f31 -/* 80278FB0 00275F10 38 61 00 08 */ addi r3, r1, 8 -/* 80278FB4 00275F14 EC 3B 07 B2 */ fmuls f1, f27, f30 -/* 80278FB8 00275F18 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80278FBC 00275F1C EC 1A 07 72 */ fmuls f0, f26, f29 -/* 80278FC0 00275F20 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80278FC4 00275F24 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80278FC8 00275F28 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80278FCC 00275F2C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80278FD0 00275F30 48 09 9A B1 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80278FD4 00275F34 C0 41 00 08 */ lfs f2, 8(r1) -/* 80278FD8 00275F38 7F E3 FB 78 */ mr r3, r31 -/* 80278FDC 00275F3C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80278FE0 00275F40 38 81 00 24 */ addi r4, r1, 0x24 -/* 80278FE4 00275F44 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80278FE8 00275F48 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80278FEC 00275F4C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80278FF0 00275F50 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80278FF4 00275F54 4B EA 1A 45 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 80278FF8 00275F58 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80278FFC 00275F5C CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80279000 00275F60 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80279004 00275F64 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80279008 00275F68 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8027900C 00275F6C CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 80279010 00275F70 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 80279014 00275F74 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 80279018 00275F78 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 8027901C 00275F7C CB 61 00 80 */ lfd f27, 0x80(r1) -/* 80279020 00275F80 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 80279024 00275F84 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 80279028 00275F88 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8027902C 00275F8C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80279030 00275F90 7C 08 03 A6 */ mtlr r0 -/* 80279034 00275F94 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80279038 00275F98 4E 80 00 20 */ blr - -.global sub_8027903c -sub_8027903c: -/* 8027903C 00275F9C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80279040 00275FA0 7C 08 02 A6 */ mflr r0 -/* 80279044 00275FA4 3C 80 80 3D */ lis r4, lbl_803D5454@ha -/* 80279048 00275FA8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027904C 00275FAC BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 80279050 00275FB0 7C 7B 1B 78 */ mr r27, r3 -/* 80279054 00275FB4 3B C4 54 54 */ addi r30, r4, lbl_803D5454@l -/* 80279058 00275FB8 3B A1 00 3C */ addi r29, r1, 0x3c -/* 8027905C 00275FBC 3B 80 00 00 */ li r28, 0 -/* 80279060 00275FC0 3B E0 00 00 */ li r31, 0 -lbl_80279064: -/* 80279064 00275FC4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80279068 00275FC8 38 61 00 08 */ addi r3, r1, 8 -/* 8027906C 00275FCC 4B D8 BC 4D */ bl string_l__4rstlFPCc -/* 80279070 00275FD0 80 9B 00 64 */ lwz r4, 0x64(r27) -/* 80279074 00275FD4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80279078 00275FD8 C0 22 BC CC */ lfs f1, lbl_805AD9EC@sda21(r2) -/* 8027907C 00275FDC 38 A1 00 08 */ addi r5, r1, 8 -/* 80279080 00275FE0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80279084 00275FE4 38 C0 00 02 */ li r6, 2 -/* 80279088 00275FE8 C0 42 BC D0 */ lfs f2, lbl_805AD9F0@sda21(r2) -/* 8027908C 00275FEC 4B EF C9 2D */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" -/* 80279090 00275FF0 38 7B 07 6C */ addi r3, r27, 0x76c -/* 80279094 00275FF4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80279098 00275FF8 48 00 00 3D */ bl sub_802790d4 -/* 8027909C 00275FFC 28 1D 00 00 */ cmplwi r29, 0 -/* 802790A0 00276000 41 82 00 08 */ beq lbl_802790A8 -/* 802790A4 00276004 9B E1 00 48 */ stb r31, 0x48(r1) -lbl_802790A8: -/* 802790A8 00276008 38 61 00 08 */ addi r3, r1, 8 -/* 802790AC 0027600C 48 0C 4A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802790B0 00276010 3B 9C 00 01 */ addi r28, r28, 1 -/* 802790B4 00276014 3B DE 00 04 */ addi r30, r30, 4 -/* 802790B8 00276018 28 1C 00 06 */ cmplwi r28, 6 -/* 802790BC 0027601C 41 80 FF A8 */ blt lbl_80279064 -/* 802790C0 00276020 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 802790C4 00276024 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802790C8 00276028 7C 08 03 A6 */ mtlr r0 -/* 802790CC 0027602C 38 21 00 70 */ addi r1, r1, 0x70 -/* 802790D0 00276030 4E 80 00 20 */ blr - -.global sub_802790d4 -sub_802790d4: -/* 802790D4 00276034 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802790D8 00276038 7C 08 02 A6 */ mflr r0 -/* 802790DC 0027603C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802790E0 00276040 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802790E4 00276044 7C 7F 1B 78 */ mr r31, r3 -/* 802790E8 00276048 80 03 00 00 */ lwz r0, 0(r3) -/* 802790EC 0027604C 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 802790F0 00276050 7C 7F 02 14 */ add r3, r31, r0 -/* 802790F4 00276054 38 63 00 04 */ addi r3, r3, 4 -/* 802790F8 00276058 48 00 00 25 */ bl sub_8027911c -/* 802790FC 0027605C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80279100 00276060 38 03 00 01 */ addi r0, r3, 1 -/* 80279104 00276064 90 1F 00 00 */ stw r0, 0(r31) -/* 80279108 00276068 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027910C 0027606C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279110 00276070 7C 08 03 A6 */ mtlr r0 -/* 80279114 00276074 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279118 00276078 4E 80 00 20 */ blr - -.global sub_8027911c -sub_8027911c: -/* 8027911C 0027607C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279120 00276080 7C 08 02 A6 */ mflr r0 -/* 80279124 00276084 28 03 00 00 */ cmplwi r3, 0 -/* 80279128 00276088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027912C 0027608C 41 82 00 08 */ beq lbl_80279134 -/* 80279130 00276090 48 00 00 15 */ bl sub_80279144 -lbl_80279134: -/* 80279134 00276094 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279138 00276098 7C 08 03 A6 */ mtlr r0 -/* 8027913C 0027609C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279140 002760A0 4E 80 00 20 */ blr - -.global sub_80279144 -sub_80279144: -/* 80279144 002760A4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80279148 002760A8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8027914C 002760AC C0 04 00 04 */ lfs f0, 4(r4) -/* 80279150 002760B0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80279154 002760B4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80279158 002760B8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8027915C 002760BC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80279160 002760C0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80279164 002760C4 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80279168 002760C8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8027916C 002760CC 88 04 00 14 */ lbz r0, 0x14(r4) -/* 80279170 002760D0 98 03 00 14 */ stb r0, 0x14(r3) -/* 80279174 002760D4 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80279178 002760D8 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8027917C 002760DC C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80279180 002760E0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80279184 002760E4 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80279188 002760E8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8027918C 002760EC 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80279190 002760F0 98 03 00 30 */ stb r0, 0x30(r3) -/* 80279194 002760F4 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80279198 002760F8 28 00 00 00 */ cmplwi r0, 0 -/* 8027919C 002760FC 41 82 00 24 */ beq lbl_802791C0 -/* 802791A0 00276100 34 A3 00 24 */ addic. r5, r3, 0x24 -/* 802791A4 00276104 41 82 00 1C */ beq lbl_802791C0 -/* 802791A8 00276108 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802791AC 0027610C D0 05 00 00 */ stfs f0, 0(r5) -/* 802791B0 00276110 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 802791B4 00276114 D0 05 00 04 */ stfs f0, 4(r5) -/* 802791B8 00276118 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802791BC 0027611C D0 05 00 08 */ stfs f0, 8(r5) -lbl_802791C0: -/* 802791C0 00276120 A0 04 00 34 */ lhz r0, 0x34(r4) -/* 802791C4 00276124 B0 03 00 34 */ sth r0, 0x34(r3) -/* 802791C8 00276128 88 04 00 36 */ lbz r0, 0x36(r4) -/* 802791CC 0027612C 98 03 00 36 */ stb r0, 0x36(r3) -/* 802791D0 00276130 4E 80 00 20 */ blr - -.global sub_802791d4 -sub_802791d4: -/* 802791D4 00276134 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 802791D8 00276138 7C 08 02 A6 */ mflr r0 -/* 802791DC 0027613C 90 01 02 34 */ stw r0, 0x234(r1) -/* 802791E0 00276140 38 00 00 00 */ li r0, 0 -/* 802791E4 00276144 BF 21 02 14 */ stmw r25, 0x214(r1) -/* 802791E8 00276148 7C 7D 1B 78 */ mr r29, r3 -/* 802791EC 0027614C 7C 9E 23 78 */ mr r30, r4 -/* 802791F0 00276150 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802791F4 00276154 38 80 00 1A */ li r4, 0x1a -/* 802791F8 00276158 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 802791FC 0027615C 90 01 00 DC */ stw r0, 0xdc(r1) -/* 80279200 00276160 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80279204 00276164 4B ED D5 B5 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" -/* 80279208 00276168 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 8027920C 0027616C 3C 60 80 3F */ lis r3, lbl_803EAAA8@ha -/* 80279210 00276170 3B 83 AA A8 */ addi r28, r3, lbl_803EAAA8@l -/* 80279214 00276174 3B 61 01 70 */ addi r27, r1, 0x170 -/* 80279218 00276178 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 8027921C 0027617C 3B 41 01 F8 */ addi r26, r1, 0x1f8 -/* 80279220 00276180 3B 20 00 00 */ li r25, 0 -lbl_80279224: -/* 80279224 00276184 80 9C 00 00 */ lwz r4, 0(r28) -/* 80279228 00276188 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8027922C 0027618C 4B D8 BA 8D */ bl string_l__4rstlFPCc -/* 80279230 00276190 80 9C 00 04 */ lwz r4, 4(r28) -/* 80279234 00276194 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80279238 00276198 4B D8 BA 81 */ bl string_l__4rstlFPCc -/* 8027923C 0027619C 80 9C 00 00 */ lwz r4, 0(r28) -/* 80279240 002761A0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80279244 002761A4 4B D8 BA 75 */ bl string_l__4rstlFPCc -/* 80279248 002761A8 80 9C 00 04 */ lwz r4, 4(r28) -/* 8027924C 002761AC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80279250 002761B0 4B D8 BA 69 */ bl string_l__4rstlFPCc -/* 80279254 002761B4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80279258 002761B8 38 81 00 98 */ addi r4, r1, 0x98 -/* 8027925C 002761BC 38 A1 00 88 */ addi r5, r1, 0x88 -/* 80279260 002761C0 4B D8 B9 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80279264 002761C4 C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 80279268 002761C8 7F E4 FB 78 */ mr r4, r31 -/* 8027926C 002761CC C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 80279270 002761D0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80279274 002761D4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80279278 002761D8 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8027927C 002761DC D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80279280 002761E0 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80279284 002761E4 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80279288 002761E8 4B DB 55 B1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027928C 002761EC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80279290 002761F0 7F E4 FB 78 */ mr r4, r31 -/* 80279294 002761F4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80279298 002761F8 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 8027929C 002761FC 98 01 00 14 */ stb r0, 0x14(r1) -/* 802792A0 00276200 4B DB 55 99 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802792A4 00276204 88 01 00 18 */ lbz r0, 0x18(r1) -/* 802792A8 00276208 38 61 01 44 */ addi r3, r1, 0x144 -/* 802792AC 0027620C C0 22 BC D4 */ lfs f1, lbl_805AD9F4@sda21(r2) -/* 802792B0 00276210 38 81 00 1C */ addi r4, r1, 0x1c -/* 802792B4 00276214 98 01 00 1C */ stb r0, 0x1c(r1) -/* 802792B8 00276218 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802792BC 0027621C 38 C1 00 A8 */ addi r6, r1, 0xa8 -/* 802792C0 00276220 39 01 00 78 */ addi r8, r1, 0x78 -/* 802792C4 00276224 38 E0 00 01 */ li r7, 1 -/* 802792C8 00276228 4B F2 F3 0D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 802792CC 0027622C 80 E1 01 44 */ lwz r7, 0x144(r1) -/* 802792D0 00276230 7F 43 D3 78 */ mr r3, r26 -/* 802792D4 00276234 80 C1 01 48 */ lwz r6, 0x148(r1) -/* 802792D8 00276238 7F 64 DB 78 */ mr r4, r27 -/* 802792DC 0027623C 88 A1 01 4C */ lbz r5, 0x14c(r1) -/* 802792E0 00276240 88 01 01 4D */ lbz r0, 0x14d(r1) -/* 802792E4 00276244 C0 E1 01 50 */ lfs f7, 0x150(r1) -/* 802792E8 00276248 C0 C1 01 54 */ lfs f6, 0x154(r1) -/* 802792EC 0027624C C0 A1 01 58 */ lfs f5, 0x158(r1) -/* 802792F0 00276250 C0 81 01 5C */ lfs f4, 0x15c(r1) -/* 802792F4 00276254 C0 61 01 60 */ lfs f3, 0x160(r1) -/* 802792F8 00276258 C0 41 01 64 */ lfs f2, 0x164(r1) -/* 802792FC 0027625C C0 21 01 68 */ lfs f1, 0x168(r1) -/* 80279300 00276260 C0 01 01 6C */ lfs f0, 0x16c(r1) -/* 80279304 00276264 90 E1 01 CC */ stw r7, 0x1cc(r1) -/* 80279308 00276268 90 C1 01 D0 */ stw r6, 0x1d0(r1) -/* 8027930C 0027626C 98 A1 01 D4 */ stb r5, 0x1d4(r1) -/* 80279310 00276270 98 01 01 D5 */ stb r0, 0x1d5(r1) -/* 80279314 00276274 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) -/* 80279318 00276278 D0 C1 01 DC */ stfs f6, 0x1dc(r1) -/* 8027931C 0027627C D0 A1 01 E0 */ stfs f5, 0x1e0(r1) -/* 80279320 00276280 D0 81 01 E4 */ stfs f4, 0x1e4(r1) -/* 80279324 00276284 D0 61 01 E8 */ stfs f3, 0x1e8(r1) -/* 80279328 00276288 D0 41 01 EC */ stfs f2, 0x1ec(r1) -/* 8027932C 0027628C D0 21 01 F0 */ stfs f1, 0x1f0(r1) -/* 80279330 00276290 D0 01 01 F4 */ stfs f0, 0x1f4(r1) -/* 80279334 00276294 48 0C 4E 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80279338 00276298 A0 01 01 80 */ lhz r0, 0x180(r1) -/* 8027933C 0027629C 28 1B 00 00 */ cmplwi r27, 0 -/* 80279340 002762A0 C0 01 01 84 */ lfs f0, 0x184(r1) -/* 80279344 002762A4 B0 01 02 08 */ sth r0, 0x208(r1) -/* 80279348 002762A8 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 8027934C 002762AC 41 82 00 0C */ beq lbl_80279358 -/* 80279350 002762B0 7F 63 DB 78 */ mr r3, r27 -/* 80279354 002762B4 48 0C 47 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80279358: -/* 80279358 002762B8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8027935C 002762BC 48 0C 47 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279360 002762C0 38 61 00 88 */ addi r3, r1, 0x88 -/* 80279364 002762C4 48 0C 47 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279368 002762C8 38 61 00 98 */ addi r3, r1, 0x98 -/* 8027936C 002762CC 48 0C 47 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279370 002762D0 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80279374 002762D4 48 0C 47 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279378 002762D8 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8027937C 002762DC 48 0C 47 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279380 002762E0 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80279384 002762E4 38 81 01 CC */ addi r4, r1, 0x1cc -/* 80279388 002762E8 4B ED CE A9 */ bl sub_80156230 -/* 8027938C 002762EC 28 1A 00 00 */ cmplwi r26, 0 -/* 80279390 002762F0 41 82 00 0C */ beq lbl_8027939C -/* 80279394 002762F4 7F 43 D3 78 */ mr r3, r26 -/* 80279398 002762F8 48 0C 47 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8027939C: -/* 8027939C 002762FC 3B 39 00 01 */ addi r25, r25, 1 -/* 802793A0 00276300 3B 9C 00 14 */ addi r28, r28, 0x14 -/* 802793A4 00276304 28 19 00 17 */ cmplwi r25, 0x17 -/* 802793A8 00276308 41 80 FE 7C */ blt lbl_80279224 -/* 802793AC 0027630C 3C 60 80 3F */ lis r3, lbl_803EAA90@ha -/* 802793B0 00276310 3B 61 01 2C */ addi r27, r1, 0x12c -/* 802793B4 00276314 3B 43 AA 90 */ addi r26, r3, lbl_803EAA90@l -/* 802793B8 00276318 3B 81 01 B4 */ addi r28, r1, 0x1b4 -/* 802793BC 0027631C 3B 20 00 00 */ li r25, 0 -lbl_802793C0: -/* 802793C0 00276320 80 9A 00 00 */ lwz r4, 0(r26) -/* 802793C4 00276324 38 61 00 68 */ addi r3, r1, 0x68 -/* 802793C8 00276328 4B D8 B8 F1 */ bl string_l__4rstlFPCc -/* 802793CC 0027632C 80 9A 00 00 */ lwz r4, 0(r26) -/* 802793D0 00276330 38 61 00 58 */ addi r3, r1, 0x58 -/* 802793D4 00276334 4B D8 B8 E5 */ bl string_l__4rstlFPCc -/* 802793D8 00276338 7F E4 FB 78 */ mr r4, r31 -/* 802793DC 0027633C 38 61 00 08 */ addi r3, r1, 8 -/* 802793E0 00276340 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802793E4 00276344 4B DB 54 55 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802793E8 00276348 88 01 00 08 */ lbz r0, 8(r1) -/* 802793EC 0027634C 38 61 01 00 */ addi r3, r1, 0x100 -/* 802793F0 00276350 C0 3A 00 04 */ lfs f1, 4(r26) -/* 802793F4 00276354 38 81 00 0C */ addi r4, r1, 0xc -/* 802793F8 00276358 98 01 00 0C */ stb r0, 0xc(r1) -/* 802793FC 0027635C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80279400 00276360 C0 42 BC D4 */ lfs f2, lbl_805AD9F4@sda21(r2) -/* 80279404 00276364 4B F2 F4 09 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 80279408 00276368 80 E1 01 00 */ lwz r7, 0x100(r1) -/* 8027940C 0027636C 7F 83 E3 78 */ mr r3, r28 -/* 80279410 00276370 80 C1 01 04 */ lwz r6, 0x104(r1) -/* 80279414 00276374 7F 64 DB 78 */ mr r4, r27 -/* 80279418 00276378 88 A1 01 08 */ lbz r5, 0x108(r1) -/* 8027941C 0027637C 88 01 01 09 */ lbz r0, 0x109(r1) -/* 80279420 00276380 C0 E1 01 0C */ lfs f7, 0x10c(r1) -/* 80279424 00276384 C0 C1 01 10 */ lfs f6, 0x110(r1) -/* 80279428 00276388 C0 A1 01 14 */ lfs f5, 0x114(r1) -/* 8027942C 0027638C C0 81 01 18 */ lfs f4, 0x118(r1) -/* 80279430 00276390 C0 61 01 1C */ lfs f3, 0x11c(r1) -/* 80279434 00276394 C0 41 01 20 */ lfs f2, 0x120(r1) -/* 80279438 00276398 C0 21 01 24 */ lfs f1, 0x124(r1) -/* 8027943C 0027639C C0 01 01 28 */ lfs f0, 0x128(r1) -/* 80279440 002763A0 90 E1 01 88 */ stw r7, 0x188(r1) -/* 80279444 002763A4 90 C1 01 8C */ stw r6, 0x18c(r1) -/* 80279448 002763A8 98 A1 01 90 */ stb r5, 0x190(r1) -/* 8027944C 002763AC 98 01 01 91 */ stb r0, 0x191(r1) -/* 80279450 002763B0 D0 E1 01 94 */ stfs f7, 0x194(r1) -/* 80279454 002763B4 D0 C1 01 98 */ stfs f6, 0x198(r1) -/* 80279458 002763B8 D0 A1 01 9C */ stfs f5, 0x19c(r1) -/* 8027945C 002763BC D0 81 01 A0 */ stfs f4, 0x1a0(r1) -/* 80279460 002763C0 D0 61 01 A4 */ stfs f3, 0x1a4(r1) -/* 80279464 002763C4 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 80279468 002763C8 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 8027946C 002763CC D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 80279470 002763D0 48 0C 4C F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80279474 002763D4 A0 01 01 3C */ lhz r0, 0x13c(r1) -/* 80279478 002763D8 28 1B 00 00 */ cmplwi r27, 0 -/* 8027947C 002763DC C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80279480 002763E0 B0 01 01 C4 */ sth r0, 0x1c4(r1) -/* 80279484 002763E4 D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 80279488 002763E8 41 82 00 0C */ beq lbl_80279494 -/* 8027948C 002763EC 7F 63 DB 78 */ mr r3, r27 -/* 80279490 002763F0 48 0C 46 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80279494: -/* 80279494 002763F4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80279498 002763F8 48 0C 46 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027949C 002763FC 38 61 00 68 */ addi r3, r1, 0x68 -/* 802794A0 00276400 48 0C 46 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802794A4 00276404 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802794A8 00276408 38 81 01 88 */ addi r4, r1, 0x188 -/* 802794AC 0027640C 4B ED CD 85 */ bl sub_80156230 -/* 802794B0 00276410 28 1C 00 00 */ cmplwi r28, 0 -/* 802794B4 00276414 41 82 00 0C */ beq lbl_802794C0 -/* 802794B8 00276418 7F 83 E3 78 */ mr r3, r28 -/* 802794BC 0027641C 48 0C 46 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802794C0: -/* 802794C0 00276420 3B 39 00 01 */ addi r25, r25, 1 -/* 802794C4 00276424 3B 5A 00 08 */ addi r26, r26, 8 -/* 802794C8 00276428 28 19 00 03 */ cmplwi r25, 3 -/* 802794CC 0027642C 41 80 FE F4 */ blt lbl_802793C0 -/* 802794D0 00276430 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 802794D4 00276434 38 60 00 18 */ li r3, 0x18 -/* 802794D8 00276438 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 802794DC 0027643C 38 A0 00 00 */ li r5, 0 -/* 802794E0 00276440 38 84 02 20 */ addi r4, r4, 0x220 -/* 802794E4 00276444 48 09 C3 89 */ bl __nw__FUlPCcPCc -/* 802794E8 00276448 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802794EC 0027644C 41 82 00 3C */ beq lbl_80279528 -/* 802794F0 00276450 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 802794F4 00276454 7F C4 F3 78 */ mr r4, r30 -/* 802794F8 00276458 81 3D 00 04 */ lwz r9, 4(r29) -/* 802794FC 0027645C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80279500 00276460 54 08 CF FE */ rlwinm r8, r0, 0x19, 0x1f, 0x1f -/* 80279504 00276464 38 C1 00 34 */ addi r6, r1, 0x34 -/* 80279508 00276468 91 21 00 34 */ stw r9, 0x34(r1) -/* 8027950C 0027646C 38 E1 00 D4 */ addi r7, r1, 0xd4 -/* 80279510 00276470 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80279514 00276474 91 21 00 30 */ stw r9, 0x30(r1) -/* 80279518 00276478 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8027951C 0027647C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80279520 00276480 4B F2 E4 11 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 80279524 00276484 7C 7C 1B 78 */ mr r28, r3 -lbl_80279528: -/* 80279528 00276488 80 7D 05 6C */ lwz r3, 0x56c(r29) -/* 8027952C 0027648C 38 80 00 01 */ li r4, 1 -/* 80279530 00276490 4B F2 E3 AD */ bl sub_801a78dc -/* 80279534 00276494 93 9D 05 6C */ stw r28, 0x56c(r29) -/* 80279538 00276498 3B 20 00 00 */ li r25, 0 -/* 8027953C 0027649C 48 00 00 AC */ b lbl_802795E8 -lbl_80279540: -/* 80279540 002764A0 80 7D 05 6C */ lwz r3, 0x56c(r29) -/* 80279544 002764A4 7F 24 CB 78 */ mr r4, r25 -/* 80279548 002764A8 4B F2 DC F1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8027954C 002764AC 80 82 BB E4 */ lwz r4, lbl_805AD904@sda21(r2) -/* 80279550 002764B0 7C 7C 1B 78 */ mr r28, r3 -/* 80279554 002764B4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80279558 002764B8 4B D8 B7 61 */ bl string_l__4rstlFPCc -/* 8027955C 002764BC 38 7C 00 2C */ addi r3, r28, 0x2c -/* 80279560 002764C0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80279564 002764C4 4B DD 90 7D */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 80279568 002764C8 7C 7F 1B 78 */ mr r31, r3 -/* 8027956C 002764CC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80279570 002764D0 48 0C 45 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80279574 002764D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80279578 002764D8 41 82 00 0C */ beq lbl_80279584 -/* 8027957C 002764DC A0 1C 00 3C */ lhz r0, 0x3c(r28) -/* 80279580 002764E0 B0 1D 08 CC */ sth r0, 0x8cc(r29) -lbl_80279584: -/* 80279584 002764E4 A0 1C 00 3C */ lhz r0, 0x3c(r28) -/* 80279588 002764E8 7F C3 F3 78 */ mr r3, r30 -/* 8027958C 002764EC 38 81 00 24 */ addi r4, r1, 0x24 -/* 80279590 002764F0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80279594 002764F4 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80279598 002764F8 4B DD 2F DD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027959C 002764FC 7C 64 1B 78 */ mr r4, r3 -/* 802795A0 00276500 38 61 00 40 */ addi r3, r1, 0x40 -/* 802795A4 00276504 4B E3 5D A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802795A8 00276508 83 43 00 04 */ lwz r26, 4(r3) -/* 802795AC 0027650C 28 1A 00 00 */ cmplwi r26, 0 -/* 802795B0 00276510 41 82 00 34 */ beq lbl_802795E4 -/* 802795B4 00276514 A0 7C 00 3C */ lhz r3, 0x3c(r28) -/* 802795B8 00276518 A0 1D 10 46 */ lhz r0, 0x1046(r29) -/* 802795BC 0027651C 7C 03 00 40 */ cmplw r3, r0 -/* 802795C0 00276520 41 82 00 24 */ beq lbl_802795E4 -/* 802795C4 00276524 7F A3 EB 78 */ mr r3, r29 -/* 802795C8 00276528 81 9D 00 00 */ lwz r12, 0(r29) -/* 802795CC 0027652C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 802795D0 00276530 7D 89 03 A6 */ mtctr r12 -/* 802795D4 00276534 4E 80 04 21 */ bctrl -/* 802795D8 00276538 7C 64 1B 78 */ mr r4, r3 -/* 802795DC 0027653C 7F 43 D3 78 */ mr r3, r26 -/* 802795E0 00276540 4B F2 F5 B9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -lbl_802795E4: -/* 802795E4 00276544 3B 39 00 01 */ addi r25, r25, 1 -lbl_802795E8: -/* 802795E8 00276548 80 7D 05 6C */ lwz r3, 0x56c(r29) -/* 802795EC 0027654C 4B F2 DC 5D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 802795F0 00276550 7C 19 18 40 */ cmplw r25, r3 -/* 802795F4 00276554 41 80 FF 4C */ blt lbl_80279540 -/* 802795F8 00276558 38 00 00 00 */ li r0, 0 -/* 802795FC 0027655C 80 AD 98 68 */ lwz r5, lbl_805A8428@sda21(r13) -/* 80279600 00276560 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80279604 00276564 38 60 00 00 */ li r3, 0 -/* 80279608 00276568 38 80 00 01 */ li r4, 1 -/* 8027960C 0027656C 90 01 00 38 */ stw r0, 0x38(r1) -/* 80279610 00276570 48 11 08 E5 */ bl __shl2i -/* 80279614 00276574 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80279618 00276578 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 8027961C 0027657C 7C 00 1B 78 */ or r0, r0, r3 -/* 80279620 00276580 80 AD 98 6C */ lwz r5, lbl_805A842C@sda21(r13) -/* 80279624 00276584 7C C4 23 78 */ or r4, r6, r4 -/* 80279628 00276588 90 01 00 38 */ stw r0, 0x38(r1) -/* 8027962C 0027658C 38 60 00 00 */ li r3, 0 -/* 80279630 00276590 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80279634 00276594 38 80 00 01 */ li r4, 1 -/* 80279638 00276598 48 11 08 BD */ bl __shl2i -/* 8027963C 0027659C 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80279640 002765A0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80279644 002765A4 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 80279648 002765A8 7C 00 1B 78 */ or r0, r0, r3 -/* 8027964C 002765AC 7C C3 23 78 */ or r3, r6, r4 -/* 80279650 002765B0 90 01 00 38 */ stw r0, 0x38(r1) -/* 80279654 002765B4 7F C4 F3 78 */ mr r4, r30 -/* 80279658 002765B8 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8027965C 002765BC 80 7D 05 6C */ lwz r3, 0x56c(r29) -/* 80279660 002765C0 4B F2 DB F1 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList -/* 80279664 002765C4 80 AD 98 74 */ lwz r5, lbl_805A8434@sda21(r13) -/* 80279668 002765C8 38 60 00 00 */ li r3, 0 -/* 8027966C 002765CC 38 80 00 01 */ li r4, 1 -/* 80279670 002765D0 48 11 08 85 */ bl __shl2i -/* 80279674 002765D4 80 AD 98 78 */ lwz r5, lbl_805A8438@sda21(r13) -/* 80279678 002765D8 7C 9F 23 78 */ mr r31, r4 -/* 8027967C 002765DC 7C 7C 1B 78 */ mr r28, r3 -/* 80279680 002765E0 38 60 00 00 */ li r3, 0 -/* 80279684 002765E4 38 80 00 01 */ li r4, 1 -/* 80279688 002765E8 48 11 08 6D */ bl __shl2i -/* 8027968C 002765EC 80 AD 98 7C */ lwz r5, lbl_805A843C@sda21(r13) -/* 80279690 002765F0 7F FF 23 78 */ or r31, r31, r4 -/* 80279694 002765F4 7F 9C 1B 78 */ or r28, r28, r3 -/* 80279698 002765F8 38 60 00 00 */ li r3, 0 -/* 8027969C 002765FC 38 80 00 01 */ li r4, 1 -/* 802796A0 00276600 48 11 08 55 */ bl __shl2i -/* 802796A4 00276604 80 AD 98 70 */ lwz r5, lbl_805A8430@sda21(r13) -/* 802796A8 00276608 7F FF 23 78 */ or r31, r31, r4 -/* 802796AC 0027660C 7F 9C 1B 78 */ or r28, r28, r3 -/* 802796B0 00276610 38 60 00 00 */ li r3, 0 -/* 802796B4 00276614 38 80 00 01 */ li r4, 1 -/* 802796B8 00276618 48 11 08 3D */ bl __shl2i -/* 802796BC 0027661C 38 00 00 03 */ li r0, 3 -/* 802796C0 00276620 90 81 00 EC */ stw r4, 0xec(r1) -/* 802796C4 00276624 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 802796C8 00276628 90 61 00 E8 */ stw r3, 0xe8(r1) -/* 802796CC 0027662C 7F A3 EB 78 */ mr r3, r29 -/* 802796D0 00276630 93 E1 00 F4 */ stw r31, 0xf4(r1) -/* 802796D4 00276634 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 802796D8 00276638 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 802796DC 0027663C 4B DD A1 C5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 802796E0 00276640 7F A3 EB 78 */ mr r3, r29 -/* 802796E4 00276644 7F C5 F3 78 */ mr r5, r30 -/* 802796E8 00276648 38 80 00 12 */ li r4, 0x12 -/* 802796EC 0027664C 4B DD AC 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802796F0 00276650 7F A3 EB 78 */ mr r3, r29 -/* 802796F4 00276654 7F C7 F3 78 */ mr r7, r30 -/* 802796F8 00276658 38 80 00 13 */ li r4, 0x13 -/* 802796FC 0027665C 38 A0 00 29 */ li r5, 0x29 -/* 80279700 00276660 38 C0 00 28 */ li r6, 0x28 -/* 80279704 00276664 4B DD A6 E9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80279708 00276668 7F A3 EB 78 */ mr r3, r29 -/* 8027970C 0027666C 7F C4 F3 78 */ mr r4, r30 -/* 80279710 00276670 4B FF F1 B9 */ bl sub_802788c8 -/* 80279714 00276674 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80279718 00276678 38 80 FF FF */ li r4, -1 -/* 8027971C 0027667C 4B ED CC 11 */ bl sub_8015632c -/* 80279720 00276680 BB 21 02 14 */ lmw r25, 0x214(r1) -/* 80279724 00276684 80 01 02 34 */ lwz r0, 0x234(r1) -/* 80279728 00276688 7C 08 03 A6 */ mtlr r0 -/* 8027972C 0027668C 38 21 02 30 */ addi r1, r1, 0x230 -/* 80279730 00276690 4E 80 00 20 */ blr - -.global ProjectileInfo__16CMetroidPrimeExoFv -ProjectileInfo__16CMetroidPrimeExoFv: -/* 80279734 00276694 80 03 09 2C */ lwz r0, 0x92c(r3) -/* 80279738 00276698 2C 00 00 05 */ cmpwi r0, 5 -/* 8027973C 0027669C 41 82 00 1C */ beq lbl_80279758 -/* 80279740 002766A0 40 80 00 20 */ bge lbl_80279760 -/* 80279744 002766A4 2C 00 00 02 */ cmpwi r0, 2 -/* 80279748 002766A8 40 80 00 08 */ bge lbl_80279750 -/* 8027974C 002766AC 48 00 00 14 */ b lbl_80279760 -lbl_80279750: -/* 80279750 002766B0 38 63 0C 78 */ addi r3, r3, 0xc78 -/* 80279754 002766B4 4E 80 00 20 */ blr -lbl_80279758: -/* 80279758 002766B8 38 63 0D 74 */ addi r3, r3, 0xd74 -/* 8027975C 002766BC 4E 80 00 20 */ blr -lbl_80279760: -/* 80279760 002766C0 38 60 00 00 */ li r3, 0 -/* 80279764 002766C4 4E 80 00 20 */ blr - -.global Think__16CMetroidPrimeExoFfR13CStateManager -Think__16CMetroidPrimeExoFfR13CStateManager: -/* 80279768 002766C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027976C 002766CC 7C 08 02 A6 */ mflr r0 -/* 80279770 002766D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80279774 002766D4 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80279778 002766D8 FF E0 08 90 */ fmr f31, f1 -/* 8027977C 002766DC 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80279780 002766E0 7C 9F 23 78 */ mr r31, r4 -/* 80279784 002766E4 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80279788 002766E8 7C 7E 1B 78 */ mr r30, r3 -/* 8027978C 002766EC 4B E0 03 8D */ bl Think__10CPatternedFfR13CStateManager -/* 80279790 002766F0 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80279794 002766F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80279798 002766F8 41 82 00 D0 */ beq lbl_80279868 -/* 8027979C 002766FC 7F C3 F3 78 */ mr r3, r30 -/* 802797A0 00276700 7F E4 FB 78 */ mr r4, r31 -/* 802797A4 00276704 4B FF CD 85 */ bl sub_80276528 -/* 802797A8 00276708 FC 20 F8 90 */ fmr f1, f31 -/* 802797AC 0027670C 7F C3 F3 78 */ mr r3, r30 -/* 802797B0 00276710 7F E4 FB 78 */ mr r4, r31 -/* 802797B4 00276714 4B FF F4 25 */ bl sub_80278bd8 -/* 802797B8 00276718 FC 20 F8 90 */ fmr f1, f31 -/* 802797BC 0027671C 7F C3 F3 78 */ mr r3, r30 -/* 802797C0 00276720 7F E4 FB 78 */ mr r4, r31 -/* 802797C4 00276724 4B FF F7 51 */ bl sub_80278f14 -/* 802797C8 00276728 7F C3 F3 78 */ mr r3, r30 -/* 802797CC 0027672C 7F E4 FB 78 */ mr r4, r31 -/* 802797D0 00276730 4B FF F1 7D */ bl sub_8027894c -/* 802797D4 00276734 FC 20 F8 90 */ fmr f1, f31 -/* 802797D8 00276738 7F C3 F3 78 */ mr r3, r30 -/* 802797DC 0027673C 7F E4 FB 78 */ mr r4, r31 -/* 802797E0 00276740 4B FF E8 65 */ bl sub_80278044 -/* 802797E4 00276744 FC 20 F8 90 */ fmr f1, f31 -/* 802797E8 00276748 7F C3 F3 78 */ mr r3, r30 -/* 802797EC 0027674C 4B FF E9 71 */ bl sub_8027815c -/* 802797F0 00276750 FC 20 F8 90 */ fmr f1, f31 -/* 802797F4 00276754 7F C3 F3 78 */ mr r3, r30 -/* 802797F8 00276758 7F E4 FB 78 */ mr r4, r31 -/* 802797FC 0027675C 4B FF DD 75 */ bl sub_80277570 -/* 80279800 00276760 FC 20 F8 90 */ fmr f1, f31 -/* 80279804 00276764 7F C3 F3 78 */ mr r3, r30 -/* 80279808 00276768 7F E4 FB 78 */ mr r4, r31 -/* 8027980C 0027676C 4B FF B6 61 */ bl sub_80274e6c -/* 80279810 00276770 FC 20 F8 90 */ fmr f1, f31 -/* 80279814 00276774 7F C3 F3 78 */ mr r3, r30 -/* 80279818 00276778 7F E4 FB 78 */ mr r4, r31 -/* 8027981C 0027677C 4B FF A0 F5 */ bl sub_80273910 -/* 80279820 00276780 FC 20 F8 90 */ fmr f1, f31 -/* 80279824 00276784 7F C3 F3 78 */ mr r3, r30 -/* 80279828 00276788 7F E4 FB 78 */ mr r4, r31 -/* 8027982C 0027678C 4B FF A6 E5 */ bl sub_80273f10 -/* 80279830 00276790 7F C3 F3 78 */ mr r3, r30 -/* 80279834 00276794 7F E4 FB 78 */ mr r4, r31 -/* 80279838 00276798 4B FF E5 F9 */ bl sub_80277e30 -/* 8027983C 0027679C FC 20 F8 90 */ fmr f1, f31 -/* 80279840 002767A0 7F C3 F3 78 */ mr r3, r30 -/* 80279844 002767A4 4B FF BF 3D */ bl sub_80275780 -/* 80279848 002767A8 FC 20 F8 90 */ fmr f1, f31 -/* 8027984C 002767AC 7F C3 F3 78 */ mr r3, r30 -/* 80279850 002767B0 7F E4 FB 78 */ mr r4, r31 -/* 80279854 002767B4 4B FF C9 11 */ bl sub_80276164 -/* 80279858 002767B8 FC 20 F8 90 */ fmr f1, f31 -/* 8027985C 002767BC 7F C3 F3 78 */ mr r3, r30 -/* 80279860 002767C0 7F E4 FB 78 */ mr r4, r31 -/* 80279864 002767C4 4B FF C5 F1 */ bl sub_80275e54 -lbl_80279868: -/* 80279868 002767C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027986C 002767CC CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80279870 002767D0 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80279874 002767D4 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80279878 002767D8 7C 08 03 A6 */ mtlr r0 -/* 8027987C 002767DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80279880 002767E0 4E 80 00 20 */ blr - -.global PreThink__16CMetroidPrimeExoFfR13CStateManager -PreThink__16CMetroidPrimeExoFfR13CStateManager: -/* 80279884 002767E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80279888 002767E8 7C 08 02 A6 */ mflr r0 -/* 8027988C 002767EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80279890 002767F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80279894 002767F4 7C 9F 23 78 */ mr r31, r4 -/* 80279898 002767F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027989C 002767FC 7C 7E 1B 78 */ mr r30, r3 -/* 802798A0 00276800 4B DF E0 F1 */ bl PreThink__10CPatternedFfR13CStateManager -/* 802798A4 00276804 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 802798A8 00276808 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802798AC 0027680C 41 82 00 54 */ beq lbl_80279900 -/* 802798B0 00276810 A0 1E 08 CC */ lhz r0, 0x8cc(r30) -/* 802798B4 00276814 7F E3 FB 78 */ mr r3, r31 -/* 802798B8 00276818 38 81 00 08 */ addi r4, r1, 8 -/* 802798BC 0027681C B0 01 00 08 */ sth r0, 8(r1) -/* 802798C0 00276820 4B DD 2C E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802798C4 00276824 7C 64 1B 78 */ mr r4, r3 -/* 802798C8 00276828 38 61 00 0C */ addi r3, r1, 0xc -/* 802798CC 0027682C 4B E3 5A 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 802798D0 00276830 80 63 00 04 */ lwz r3, 4(r3) -/* 802798D4 00276834 28 03 00 00 */ cmplwi r3, 0 -/* 802798D8 00276838 41 82 00 28 */ beq lbl_80279900 -/* 802798DC 0027683C 81 83 00 00 */ lwz r12, 0(r3) -/* 802798E0 00276840 7F E4 FB 78 */ mr r4, r31 -/* 802798E4 00276844 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802798E8 00276848 7D 89 03 A6 */ mtctr r12 -/* 802798EC 0027684C 4E 80 04 21 */ bctrl -/* 802798F0 00276850 28 03 00 00 */ cmplwi r3, 0 -/* 802798F4 00276854 41 82 00 0C */ beq lbl_80279900 -/* 802798F8 00276858 C0 03 00 00 */ lfs f0, 0(r3) -/* 802798FC 0027685C D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -lbl_80279900: -/* 80279900 00276860 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80279904 00276864 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80279908 00276868 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027990C 0027686C 7C 08 03 A6 */ mtlr r0 -/* 80279910 00276870 38 21 00 20 */ addi r1, r1, 0x20 -/* 80279914 00276874 4E 80 00 20 */ blr - -.global DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__16CMetroidPrimeExoFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80279918 00276878 94 21 F9 60 */ stwu r1, -0x6a0(r1) -/* 8027991C 0027687C 7C 08 02 A6 */ mflr r0 -/* 80279920 00276880 90 01 06 A4 */ stw r0, 0x6a4(r1) -/* 80279924 00276884 DB E1 06 90 */ stfd f31, 0x690(r1) -/* 80279928 00276888 F3 E1 06 98 */ psq_st f31, 1688(r1), 0, qr0 -/* 8027992C 0027688C DB C1 06 80 */ stfd f30, 0x680(r1) -/* 80279930 00276890 F3 C1 06 88 */ psq_st f30, 1672(r1), 0, qr0 -/* 80279934 00276894 DB A1 06 70 */ stfd f29, 0x670(r1) -/* 80279938 00276898 F3 A1 06 78 */ psq_st f29, 1656(r1), 0, qr0 -/* 8027993C 0027689C DB 81 06 60 */ stfd f28, 0x660(r1) -/* 80279940 002768A0 F3 81 06 68 */ psq_st f28, 1640(r1), 0, qr0 -/* 80279944 002768A4 BE A1 06 34 */ stmw r21, 0x634(r1) -/* 80279948 002768A8 7C DD 33 78 */ mr r29, r6 -/* 8027994C 002768AC FF E0 08 90 */ fmr f31, f1 -/* 80279950 002768B0 2C 1D 00 10 */ cmpwi r29, 0x10 -/* 80279954 002768B4 7C 7F 1B 78 */ mr r31, r3 -/* 80279958 002768B8 7C 9E 23 78 */ mr r30, r4 -/* 8027995C 002768BC 7C BC 2B 78 */ mr r28, r5 -/* 80279960 002768C0 3B 40 00 00 */ li r26, 0 -/* 80279964 002768C4 41 82 09 D4 */ beq lbl_8027A338 -/* 80279968 002768C8 40 80 00 28 */ bge lbl_80279990 -/* 8027996C 002768CC 2C 1D 00 08 */ cmpwi r29, 8 -/* 80279970 002768D0 41 82 09 4C */ beq lbl_8027A2BC -/* 80279974 002768D4 40 80 00 10 */ bge lbl_80279984 -/* 80279978 002768D8 2C 1D 00 00 */ cmpwi r29, 0 -/* 8027997C 002768DC 41 82 00 2C */ beq lbl_802799A8 -/* 80279980 002768E0 48 00 12 C8 */ b lbl_8027AC48 -lbl_80279984: -/* 80279984 002768E4 2C 1D 00 0A */ cmpwi r29, 0xa -/* 80279988 002768E8 40 80 12 C0 */ bge lbl_8027AC48 -/* 8027998C 002768EC 48 00 09 78 */ b lbl_8027A304 -lbl_80279990: -/* 80279990 002768F0 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 80279994 002768F4 41 82 12 9C */ beq lbl_8027AC30 -/* 80279998 002768F8 40 80 12 B0 */ bge lbl_8027AC48 -/* 8027999C 002768FC 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 802799A0 00276900 40 80 12 10 */ bge lbl_8027ABB0 -/* 802799A4 00276904 48 00 12 A4 */ b lbl_8027AC48 -lbl_802799A8: -/* 802799A8 00276908 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 802799AC 0027690C 2C 00 00 06 */ cmpwi r0, 6 -/* 802799B0 00276910 41 82 00 28 */ beq lbl_802799D8 -/* 802799B4 00276914 40 80 00 18 */ bge lbl_802799CC -/* 802799B8 00276918 2C 00 00 05 */ cmpwi r0, 5 -/* 802799BC 0027691C 40 80 03 38 */ bge lbl_80279CF4 -/* 802799C0 00276920 2C 00 00 02 */ cmpwi r0, 2 -/* 802799C4 00276924 40 80 06 1C */ bge lbl_80279FE0 -/* 802799C8 00276928 48 00 08 EC */ b lbl_8027A2B4 -lbl_802799CC: -/* 802799CC 0027692C 2C 00 00 0C */ cmpwi r0, 0xc -/* 802799D0 00276930 41 82 08 E0 */ beq lbl_8027A2B0 -/* 802799D4 00276934 48 00 08 E0 */ b lbl_8027A2B4 -lbl_802799D8: -/* 802799D8 00276938 7F E4 FB 78 */ mr r4, r31 -/* 802799DC 0027693C 38 61 04 04 */ addi r3, r1, 0x404 -/* 802799E0 00276940 38 BC 00 3C */ addi r5, r28, 0x3c -/* 802799E4 00276944 4B DF EF 95 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802799E8 00276948 38 61 05 24 */ addi r3, r1, 0x524 -/* 802799EC 0027694C 38 81 04 04 */ addi r4, r1, 0x404 -/* 802799F0 00276950 48 09 91 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802799F4 00276954 C0 81 05 30 */ lfs f4, 0x530(r1) -/* 802799F8 00276958 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802799FC 0027695C 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80279A00 00276960 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80279A04 00276964 C0 61 05 40 */ lfs f3, 0x540(r1) -/* 80279A08 00276968 38 61 03 D4 */ addi r3, r1, 0x3d4 -/* 80279A0C 0027696C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 80279A10 00276970 38 81 02 5C */ addi r4, r1, 0x25c -/* 80279A14 00276974 C0 41 05 50 */ lfs f2, 0x550(r1) -/* 80279A18 00276978 C0 22 BC 9C */ lfs f1, lbl_805AD9BC@sda21(r2) -/* 80279A1C 0027697C EC C3 00 2A */ fadds f6, f3, f0 -/* 80279A20 00276980 EC 04 00 2A */ fadds f0, f4, f0 -/* 80279A24 00276984 C1 05 00 60 */ lfs f8, 0x60(r5) -/* 80279A28 00276988 EC A2 08 2A */ fadds f5, f2, f1 -/* 80279A2C 0027698C C0 E5 00 50 */ lfs f7, 0x50(r5) -/* 80279A30 00276990 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 80279A34 00276994 D0 81 02 50 */ stfs f4, 0x250(r1) -/* 80279A38 00276998 38 A1 02 44 */ addi r5, r1, 0x244 -/* 80279A3C 0027699C D0 21 02 44 */ stfs f1, 0x244(r1) -/* 80279A40 002769A0 D0 E1 02 48 */ stfs f7, 0x248(r1) -/* 80279A44 002769A4 D1 01 02 4C */ stfs f8, 0x24c(r1) -/* 80279A48 002769A8 D0 61 02 54 */ stfs f3, 0x254(r1) -/* 80279A4C 002769AC D0 41 02 58 */ stfs f2, 0x258(r1) -/* 80279A50 002769B0 D0 01 02 5C */ stfs f0, 0x25c(r1) -/* 80279A54 002769B4 D0 C1 02 60 */ stfs f6, 0x260(r1) -/* 80279A58 002769B8 D0 A1 02 64 */ stfs f5, 0x264(r1) -/* 80279A5C 002769BC 48 09 A0 B5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80279A60 002769C0 38 61 04 F4 */ addi r3, r1, 0x4f4 -/* 80279A64 002769C4 38 81 03 D4 */ addi r4, r1, 0x3d4 -/* 80279A68 002769C8 48 09 91 0D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80279A6C 002769CC 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80279A70 002769D0 C0 22 BC D8 */ lfs f1, lbl_805AD9F8@sda21(r2) -/* 80279A74 002769D4 C0 42 BC DC */ lfs f2, lbl_805AD9FC@sda21(r2) -/* 80279A78 002769D8 48 09 8A CD */ bl Range__9CRandom16Fff -/* 80279A7C 002769DC C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) -/* 80279A80 002769E0 38 61 04 F4 */ addi r3, r1, 0x4f4 -/* 80279A84 002769E4 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80279A88 002769E8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80279A8C 002769EC D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80279A90 002769F0 48 09 9A 2D */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle -/* 80279A94 002769F4 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80279A98 002769F8 3B 40 00 00 */ li r26, 0 -/* 80279A9C 002769FC 38 63 56 18 */ addi r3, r3, lbl_803D5618@l -/* 80279AA0 00276A00 3B 20 00 00 */ li r25, 0 -/* 80279AA4 00276A04 38 83 02 20 */ addi r4, r3, 0x220 -/* 80279AA8 00276A08 3B 00 00 00 */ li r24, 0 -/* 80279AAC 00276A0C 3A E0 00 00 */ li r23, 0 -/* 80279AB0 00276A10 3A C0 00 00 */ li r22, 0 -/* 80279AB4 00276A14 3A A0 00 00 */ li r21, 0 -/* 80279AB8 00276A18 38 60 01 98 */ li r3, 0x198 -/* 80279ABC 00276A1C 38 A0 00 00 */ li r5, 0 -/* 80279AC0 00276A20 48 09 BD AD */ bl __nw__FUlPCcPCc -/* 80279AC4 00276A24 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80279AC8 00276A28 41 82 01 9C */ beq lbl_80279C64 -/* 80279ACC 00276A2C 80 DF 09 34 */ lwz r6, 0x934(r31) -/* 80279AD0 00276A30 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80279AD4 00276A34 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80279AD8 00276A38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80279ADC 00276A3C 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80279AE0 00276A40 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80279AE4 00276A44 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 80279AE8 00276A48 90 C1 00 C4 */ stw r6, 0xc4(r1) -/* 80279AEC 00276A4C 81 84 00 00 */ lwz r12, 0(r4) -/* 80279AF0 00276A50 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80279AF4 00276A54 7D 89 03 A6 */ mtctr r12 -/* 80279AF8 00276A58 4E 80 04 21 */ bctrl -/* 80279AFC 00276A5C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80279B00 00276A60 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80279B04 00276A64 3A C0 00 01 */ li r22, 1 -/* 80279B08 00276A68 48 0C 73 A1 */ bl __ct__6CTokenFRC6CToken -/* 80279B0C 00276A6C 80 DF 09 38 */ lwz r6, 0x938(r31) -/* 80279B10 00276A70 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80279B14 00276A74 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80279B18 00276A78 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80279B1C 00276A7C 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 80279B20 00276A80 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80279B24 00276A84 38 A1 00 D8 */ addi r5, r1, 0xd8 -/* 80279B28 00276A88 3A A0 00 01 */ li r21, 1 -/* 80279B2C 00276A8C 90 C1 00 DC */ stw r6, 0xdc(r1) -/* 80279B30 00276A90 81 84 00 00 */ lwz r12, 0(r4) -/* 80279B34 00276A94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80279B38 00276A98 7D 89 03 A6 */ mtctr r12 -/* 80279B3C 00276A9C 4E 80 04 21 */ bctrl -/* 80279B40 00276AA0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80279B44 00276AA4 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80279B48 00276AA8 3B 00 00 01 */ li r24, 1 -/* 80279B4C 00276AAC 48 0C 73 5D */ bl __ct__6CTokenFRC6CToken -/* 80279B50 00276AB0 80 DF 09 3C */ lwz r6, 0x93c(r31) -/* 80279B54 00276AB4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80279B58 00276AB8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80279B5C 00276ABC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80279B60 00276AC0 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 80279B64 00276AC4 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80279B68 00276AC8 38 A1 00 F0 */ addi r5, r1, 0xf0 -/* 80279B6C 00276ACC 3A E0 00 01 */ li r23, 1 -/* 80279B70 00276AD0 90 C1 00 F4 */ stw r6, 0xf4(r1) -/* 80279B74 00276AD4 81 84 00 00 */ lwz r12, 0(r4) -/* 80279B78 00276AD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80279B7C 00276ADC 7D 89 03 A6 */ mtctr r12 -/* 80279B80 00276AE0 4E 80 04 21 */ bctrl -/* 80279B84 00276AE4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80279B88 00276AE8 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 80279B8C 00276AEC 3B 40 00 01 */ li r26, 1 -/* 80279B90 00276AF0 48 0C 73 19 */ bl __ct__6CTokenFRC6CToken -/* 80279B94 00276AF4 7F C4 F3 78 */ mr r4, r30 -/* 80279B98 00276AF8 38 61 00 78 */ addi r3, r1, 0x78 -/* 80279B9C 00276AFC 3B 20 00 01 */ li r25, 1 -/* 80279BA0 00276B00 4B DD 35 3D */ bl AllocateUniqueId__13CStateManagerFv -/* 80279BA4 00276B04 A0 01 00 78 */ lhz r0, 0x78(r1) -/* 80279BA8 00276B08 38 61 02 80 */ addi r3, r1, 0x280 -/* 80279BAC 00276B0C C0 22 BC 64 */ lfs f1, lbl_805AD984@sda21(r2) -/* 80279BB0 00276B10 38 81 02 2C */ addi r4, r1, 0x22c -/* 80279BB4 00276B14 B0 01 00 7C */ sth r0, 0x7c(r1) -/* 80279BB8 00276B18 38 A1 02 38 */ addi r5, r1, 0x238 -/* 80279BBC 00276B1C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80279BC0 00276B20 80 1F 00 04 */ lwz r0, 4(r31) -/* 80279BC4 00276B24 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80279BC8 00276B28 80 DE 08 4C */ lwz r6, 0x84c(r30) -/* 80279BCC 00276B2C 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80279BD0 00276B30 A0 06 00 08 */ lhz r0, 8(r6) -/* 80279BD4 00276B34 B0 01 00 80 */ sth r0, 0x80(r1) -/* 80279BD8 00276B38 B0 01 00 84 */ sth r0, 0x84(r1) -/* 80279BDC 00276B3C D0 21 02 2C */ stfs f1, 0x22c(r1) -/* 80279BE0 00276B40 D0 21 02 30 */ stfs f1, 0x230(r1) -/* 80279BE4 00276B44 D0 21 02 34 */ stfs f1, 0x234(r1) -/* 80279BE8 00276B48 D0 01 02 38 */ stfs f0, 0x238(r1) -/* 80279BEC 00276B4C D0 01 02 3C */ stfs f0, 0x23c(r1) -/* 80279BF0 00276B50 D0 01 02 40 */ stfs f0, 0x240(r1) -/* 80279BF4 00276B54 48 0B E9 15 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80279BF8 00276B58 38 01 04 F4 */ addi r0, r1, 0x4f4 -/* 80279BFC 00276B5C 38 BF 09 40 */ addi r5, r31, 0x940 -/* 80279C00 00276B60 90 01 00 08 */ stw r0, 8(r1) -/* 80279C04 00276B64 38 00 FF FF */ li r0, -1 -/* 80279C08 00276B68 C0 42 BC E0 */ lfs f2, lbl_805ADA00@sda21(r2) -/* 80279C0C 00276B6C 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80279C10 00276B70 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80279C14 00276B74 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 80279C18 00276B78 38 C1 00 E0 */ addi r6, r1, 0xe0 -/* 80279C1C 00276B7C 38 E1 00 7C */ addi r7, r1, 0x7c -/* 80279C20 00276B80 90 61 00 10 */ stw r3, 0x10(r1) -/* 80279C24 00276B84 7F 63 DB 78 */ mr r3, r27 -/* 80279C28 00276B88 39 01 00 A4 */ addi r8, r1, 0xa4 -/* 80279C2C 00276B8C 39 21 00 84 */ addi r9, r1, 0x84 -/* 80279C30 00276B90 81 7F 09 64 */ lwz r11, 0x964(r31) -/* 80279C34 00276B94 39 40 00 01 */ li r10, 1 -/* 80279C38 00276B98 91 61 00 14 */ stw r11, 0x14(r1) -/* 80279C3C 00276B9C A1 7F 09 68 */ lhz r11, 0x968(r31) -/* 80279C40 00276BA0 91 61 00 18 */ stw r11, 0x18(r1) -/* 80279C44 00276BA4 A1 7F 09 6A */ lhz r11, 0x96a(r31) -/* 80279C48 00276BA8 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80279C4C 00276BAC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80279C50 00276BB0 C0 1F 09 60 */ lfs f0, 0x960(r31) -/* 80279C54 00276BB4 C0 3F 09 5C */ lfs f1, 0x95c(r31) -/* 80279C58 00276BB8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80279C5C 00276BBC 4B F7 9D 9D */ bl "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff" -/* 80279C60 00276BC0 7C 7B 1B 78 */ mr r27, r3 -lbl_80279C64: -/* 80279C64 00276BC4 7E A0 07 75 */ extsb. r0, r21 -/* 80279C68 00276BC8 41 82 00 10 */ beq lbl_80279C78 -/* 80279C6C 00276BCC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80279C70 00276BD0 38 80 00 00 */ li r4, 0 -/* 80279C74 00276BD4 48 0C 71 CD */ bl __dt__6CTokenFv -lbl_80279C78: -/* 80279C78 00276BD8 7E C0 07 75 */ extsb. r0, r22 -/* 80279C7C 00276BDC 41 82 00 10 */ beq lbl_80279C8C -/* 80279C80 00276BE0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80279C84 00276BE4 38 80 FF FF */ li r4, -1 -/* 80279C88 00276BE8 48 0C 71 B9 */ bl __dt__6CTokenFv -lbl_80279C8C: -/* 80279C8C 00276BEC 7E E0 07 75 */ extsb. r0, r23 -/* 80279C90 00276BF0 41 82 00 10 */ beq lbl_80279CA0 -/* 80279C94 00276BF4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80279C98 00276BF8 38 80 00 00 */ li r4, 0 -/* 80279C9C 00276BFC 48 0C 71 A5 */ bl __dt__6CTokenFv -lbl_80279CA0: -/* 80279CA0 00276C00 7F 00 07 75 */ extsb. r0, r24 -/* 80279CA4 00276C04 41 82 00 10 */ beq lbl_80279CB4 -/* 80279CA8 00276C08 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80279CAC 00276C0C 38 80 FF FF */ li r4, -1 -/* 80279CB0 00276C10 48 0C 71 91 */ bl __dt__6CTokenFv -lbl_80279CB4: -/* 80279CB4 00276C14 7F 20 07 75 */ extsb. r0, r25 -/* 80279CB8 00276C18 41 82 00 10 */ beq lbl_80279CC8 -/* 80279CBC 00276C1C 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80279CC0 00276C20 38 80 00 00 */ li r4, 0 -/* 80279CC4 00276C24 48 0C 71 7D */ bl __dt__6CTokenFv -lbl_80279CC8: -/* 80279CC8 00276C28 7F 40 07 75 */ extsb. r0, r26 -/* 80279CCC 00276C2C 41 82 00 10 */ beq lbl_80279CDC -/* 80279CD0 00276C30 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80279CD4 00276C34 38 80 FF FF */ li r4, -1 -/* 80279CD8 00276C38 48 0C 71 69 */ bl __dt__6CTokenFv -lbl_80279CDC: -/* 80279CDC 00276C3C 38 00 00 01 */ li r0, 1 -/* 80279CE0 00276C40 7F C3 F3 78 */ mr r3, r30 -/* 80279CE4 00276C44 98 1B 01 92 */ stb r0, 0x192(r27) -/* 80279CE8 00276C48 7F 64 DB 78 */ mr r4, r27 -/* 80279CEC 00276C4C 4B DD 30 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80279CF0 00276C50 48 00 05 C4 */ b lbl_8027A2B4 -lbl_80279CF4: -/* 80279CF4 00276C54 80 7F 0E B0 */ lwz r3, 0xeb0(r31) -/* 80279CF8 00276C58 54 60 07 BF */ clrlwi. r0, r3, 0x1e -/* 80279CFC 00276C5C 38 63 00 01 */ addi r3, r3, 1 -/* 80279D00 00276C60 90 7F 0E B0 */ stw r3, 0xeb0(r31) -/* 80279D04 00276C64 40 82 02 DC */ bne lbl_80279FE0 -/* 80279D08 00276C68 7F E4 FB 78 */ mr r4, r31 -/* 80279D0C 00276C6C 38 61 03 A4 */ addi r3, r1, 0x3a4 -/* 80279D10 00276C70 38 BC 00 3C */ addi r5, r28, 0x3c -/* 80279D14 00276C74 4B DF EC 65 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80279D18 00276C78 38 61 04 C4 */ addi r3, r1, 0x4c4 -/* 80279D1C 00276C7C 38 81 03 A4 */ addi r4, r1, 0x3a4 -/* 80279D20 00276C80 48 09 8E 55 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80279D24 00276C84 C1 BF 00 58 */ lfs f13, 0x58(r31) -/* 80279D28 00276C88 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80279D2C 00276C8C C1 9F 00 48 */ lfs f12, 0x48(r31) -/* 80279D30 00276C90 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80279D34 00276C94 C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 80279D38 00276C98 38 61 03 74 */ addi r3, r1, 0x374 -/* 80279D3C 00276C9C C0 DF 00 38 */ lfs f6, 0x38(r31) -/* 80279D40 00276CA0 38 81 02 20 */ addi r4, r1, 0x220 -/* 80279D44 00276CA4 ED 20 03 32 */ fmuls f9, f0, f12 -/* 80279D48 00276CA8 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) -/* 80279D4C 00276CAC EC A0 01 B2 */ fmuls f5, f0, f6 -/* 80279D50 00276CB0 C0 21 04 E8 */ lfs f1, 0x4e8(r1) -/* 80279D54 00276CB4 ED 00 03 72 */ fmuls f8, f0, f13 -/* 80279D58 00276CB8 C0 01 04 C8 */ lfs f0, 0x4c8(r1) -/* 80279D5C 00276CBC C3 C1 04 D0 */ lfs f30, 0x4d0(r1) -/* 80279D60 00276CC0 EC 43 00 32 */ fmuls f2, f3, f0 -/* 80279D64 00276CC4 C3 A1 04 E0 */ lfs f29, 0x4e0(r1) -/* 80279D68 00276CC8 EC E3 00 72 */ fmuls f7, f3, f1 -/* 80279D6C 00276CCC C3 81 04 F0 */ lfs f28, 0x4f0(r1) -/* 80279D70 00276CD0 EC 9E 28 2A */ fadds f4, f30, f5 -/* 80279D74 00276CD4 C0 01 04 D8 */ lfs f0, 0x4d8(r1) -/* 80279D78 00276CD8 ED 7D 48 2A */ fadds f11, f29, f9 -/* 80279D7C 00276CDC D0 C1 01 D8 */ stfs f6, 0x1d8(r1) -/* 80279D80 00276CE0 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80279D84 00276CE4 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 80279D88 00276CE8 ED 5C 40 2A */ fadds f10, f28, f8 -/* 80279D8C 00276CEC D1 81 01 DC */ stfs f12, 0x1dc(r1) -/* 80279D90 00276CF0 EC 7C 38 2A */ fadds f3, f28, f7 -/* 80279D94 00276CF4 D1 A1 01 E0 */ stfs f13, 0x1e0(r1) -/* 80279D98 00276CF8 EC 1E 10 2A */ fadds f0, f30, f2 -/* 80279D9C 00276CFC EC DD 08 2A */ fadds f6, f29, f1 -/* 80279DA0 00276D00 D0 A1 01 E4 */ stfs f5, 0x1e4(r1) -/* 80279DA4 00276D04 D1 21 01 E8 */ stfs f9, 0x1e8(r1) -/* 80279DA8 00276D08 D1 01 01 EC */ stfs f8, 0x1ec(r1) -/* 80279DAC 00276D0C D3 C1 01 F0 */ stfs f30, 0x1f0(r1) -/* 80279DB0 00276D10 D3 A1 01 F4 */ stfs f29, 0x1f4(r1) -/* 80279DB4 00276D14 D3 81 01 F8 */ stfs f28, 0x1f8(r1) -/* 80279DB8 00276D18 D0 81 01 FC */ stfs f4, 0x1fc(r1) -/* 80279DBC 00276D1C D1 61 02 00 */ stfs f11, 0x200(r1) -/* 80279DC0 00276D20 D1 41 02 04 */ stfs f10, 0x204(r1) -/* 80279DC4 00276D24 D0 41 02 08 */ stfs f2, 0x208(r1) -/* 80279DC8 00276D28 D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 80279DCC 00276D2C D0 E1 02 10 */ stfs f7, 0x210(r1) -/* 80279DD0 00276D30 D3 C1 02 14 */ stfs f30, 0x214(r1) -/* 80279DD4 00276D34 D3 A1 02 18 */ stfs f29, 0x218(r1) -/* 80279DD8 00276D38 D3 81 02 1C */ stfs f28, 0x21c(r1) -/* 80279DDC 00276D3C D0 01 02 20 */ stfs f0, 0x220(r1) -/* 80279DE0 00276D40 D0 C1 02 24 */ stfs f6, 0x224(r1) -/* 80279DE4 00276D44 D0 61 02 28 */ stfs f3, 0x228(r1) -/* 80279DE8 00276D48 48 09 9D 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80279DEC 00276D4C 38 61 04 94 */ addi r3, r1, 0x494 -/* 80279DF0 00276D50 38 81 03 74 */ addi r4, r1, 0x374 -/* 80279DF4 00276D54 48 09 8D 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80279DF8 00276D58 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80279DFC 00276D5C C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) -/* 80279E00 00276D60 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) -/* 80279E04 00276D64 48 09 87 41 */ bl Range__9CRandom16Fff -/* 80279E08 00276D68 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) -/* 80279E0C 00276D6C 38 61 04 94 */ addi r3, r1, 0x494 -/* 80279E10 00276D70 38 81 00 9C */ addi r4, r1, 0x9c -/* 80279E14 00276D74 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80279E18 00276D78 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80279E1C 00276D7C 48 09 96 A1 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle -/* 80279E20 00276D80 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 80279E24 00276D84 3A A0 00 00 */ li r21, 0 -/* 80279E28 00276D88 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 80279E2C 00276D8C 38 60 04 18 */ li r3, 0x418 -/* 80279E30 00276D90 38 84 02 20 */ addi r4, r4, 0x220 -/* 80279E34 00276D94 38 A0 00 00 */ li r5, 0 -/* 80279E38 00276D98 48 09 BA 35 */ bl __nw__FUlPCcPCc -/* 80279E3C 00276D9C 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80279E40 00276DA0 41 82 00 F4 */ beq lbl_80279F34 -/* 80279E44 00276DA4 C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 80279E48 00276DA8 38 00 00 00 */ li r0, 0 -/* 80279E4C 00276DAC 98 01 01 D4 */ stb r0, 0x1d4(r1) -/* 80279E50 00276DB0 7F C4 F3 78 */ mr r4, r30 -/* 80279E54 00276DB4 38 61 00 64 */ addi r3, r1, 0x64 -/* 80279E58 00276DB8 3A A0 00 01 */ li r21, 1 -/* 80279E5C 00276DBC D0 01 01 BC */ stfs f0, 0x1bc(r1) -/* 80279E60 00276DC0 D0 01 01 C0 */ stfs f0, 0x1c0(r1) -/* 80279E64 00276DC4 D0 01 01 C4 */ stfs f0, 0x1c4(r1) -/* 80279E68 00276DC8 A0 1F 0E AC */ lhz r0, 0xeac(r31) -/* 80279E6C 00276DCC B0 01 00 74 */ sth r0, 0x74(r1) -/* 80279E70 00276DD0 A0 BF 00 08 */ lhz r5, 8(r31) -/* 80279E74 00276DD4 B0 A1 00 70 */ sth r5, 0x70(r1) -/* 80279E78 00276DD8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80279E7C 00276DDC B0 A1 00 6C */ sth r5, 0x6c(r1) -/* 80279E80 00276DE0 90 01 00 94 */ stw r0, 0x94(r1) -/* 80279E84 00276DE4 90 01 00 98 */ stw r0, 0x98(r1) -/* 80279E88 00276DE8 4B DD 32 55 */ bl AllocateUniqueId__13CStateManagerFv -/* 80279E8C 00276DEC A0 01 00 64 */ lhz r0, 0x64(r1) -/* 80279E90 00276DF0 7F E3 FB 78 */ mr r3, r31 -/* 80279E94 00276DF4 B0 01 00 68 */ sth r0, 0x68(r1) -/* 80279E98 00276DF8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279E9C 00276DFC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80279EA0 00276E00 7D 89 03 A6 */ mtctr r12 -/* 80279EA4 00276E04 4E 80 04 21 */ bctrl -/* 80279EA8 00276E08 7C 7B 1B 78 */ mr r27, r3 -/* 80279EAC 00276E0C 7F E3 FB 78 */ mr r3, r31 -/* 80279EB0 00276E10 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279EB4 00276E14 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80279EB8 00276E18 7D 89 03 A6 */ mtctr r12 -/* 80279EBC 00276E1C 4E 80 04 21 */ bctrl -/* 80279EC0 00276E20 38 01 00 98 */ addi r0, r1, 0x98 -/* 80279EC4 00276E24 7C 65 1B 78 */ mr r5, r3 -/* 80279EC8 00276E28 90 01 00 08 */ stw r0, 8(r1) -/* 80279ECC 00276E2C 38 01 00 70 */ addi r0, r1, 0x70 -/* 80279ED0 00276E30 3C 80 00 01 */ lis r4, 0x00008400@ha -/* 80279ED4 00276E34 38 7F 0E 70 */ addi r3, r31, 0xe70 -/* 80279ED8 00276E38 90 01 00 0C */ stw r0, 0xc(r1) -/* 80279EDC 00276E3C 38 C4 84 00 */ addi r6, r4, 0x00008400@l -/* 80279EE0 00276E40 38 01 00 74 */ addi r0, r1, 0x74 -/* 80279EE4 00276E44 38 81 01 BC */ addi r4, r1, 0x1bc -/* 80279EE8 00276E48 90 61 00 10 */ stw r3, 0x10(r1) -/* 80279EEC 00276E4C 39 81 01 C8 */ addi r12, r1, 0x1c8 -/* 80279EF0 00276E50 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) -/* 80279EF4 00276E54 7F 43 D3 78 */ mr r3, r26 -/* 80279EF8 00276E58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279EFC 00276E5C 38 00 00 00 */ li r0, 0 -/* 80279F00 00276E60 38 E1 04 94 */ addi r7, r1, 0x494 -/* 80279F04 00276E64 39 3B 00 0C */ addi r9, r27, 0xc -/* 80279F08 00276E68 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80279F0C 00276E6C 39 41 00 68 */ addi r10, r1, 0x68 -/* 80279F10 00276E70 38 C0 00 09 */ li r6, 9 -/* 80279F14 00276E74 39 00 00 21 */ li r8, 0x21 -/* 80279F18 00276E78 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80279F1C 00276E7C 38 80 00 01 */ li r4, 1 -/* 80279F20 00276E80 91 81 00 20 */ stw r12, 0x20(r1) -/* 80279F24 00276E84 91 61 00 24 */ stw r11, 0x24(r1) -/* 80279F28 00276E88 90 01 00 28 */ stw r0, 0x28(r1) -/* 80279F2C 00276E8C 48 02 67 99 */ bl "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 80279F30 00276E90 7C 7A 1B 78 */ mr r26, r3 -lbl_80279F34: -/* 80279F34 00276E94 7E A0 07 75 */ extsb. r0, r21 -/* 80279F38 00276E98 7F 56 D3 78 */ mr r22, r26 -/* 80279F3C 00276E9C 41 82 00 30 */ beq lbl_80279F6C -/* 80279F40 00276EA0 88 01 01 D4 */ lbz r0, 0x1d4(r1) -/* 80279F44 00276EA4 28 00 00 00 */ cmplwi r0, 0 -/* 80279F48 00276EA8 41 82 00 1C */ beq lbl_80279F64 -/* 80279F4C 00276EAC 34 61 01 C8 */ addic. r3, r1, 0x1c8 -/* 80279F50 00276EB0 41 82 00 14 */ beq lbl_80279F64 -/* 80279F54 00276EB4 28 03 00 00 */ cmplwi r3, 0 -/* 80279F58 00276EB8 41 82 00 0C */ beq lbl_80279F64 -/* 80279F5C 00276EBC 38 80 00 00 */ li r4, 0 -/* 80279F60 00276EC0 48 0C 6E E1 */ bl __dt__6CTokenFv -lbl_80279F64: -/* 80279F64 00276EC4 38 00 00 00 */ li r0, 0 -/* 80279F68 00276EC8 98 01 01 D4 */ stb r0, 0x1d4(r1) -lbl_80279F6C: -/* 80279F6C 00276ECC 28 16 00 00 */ cmplwi r22, 0 -/* 80279F70 00276ED0 41 82 03 44 */ beq lbl_8027A2B4 -/* 80279F74 00276ED4 7F C3 F3 78 */ mr r3, r30 -/* 80279F78 00276ED8 7E C4 B3 78 */ mr r4, r22 -/* 80279F7C 00276EDC 4B DD 2D 79 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80279F80 00276EE0 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80279F84 00276EE4 3A B6 01 70 */ addi r21, r22, 0x170 -/* 80279F88 00276EE8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) -/* 80279F8C 00276EEC C0 42 BC EC */ lfs f2, lbl_805ADA0C@sda21(r2) -/* 80279F90 00276EF0 48 09 85 B5 */ bl Range__9CRandom16Fff -/* 80279F94 00276EF4 FF C0 08 90 */ fmr f30, f1 -/* 80279F98 00276EF8 7E A3 AB 78 */ mr r3, r21 -/* 80279F9C 00276EFC 48 03 51 99 */ bl GetVelocity__17CProjectileWeaponCFv -/* 80279FA0 00276F00 C0 43 00 04 */ lfs f2, 4(r3) -/* 80279FA4 00276F04 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 80279FA8 00276F08 C0 23 00 08 */ lfs f1, 8(r3) -/* 80279FAC 00276F0C C0 03 00 00 */ lfs f0, 0(r3) -/* 80279FB0 00276F10 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 80279FB4 00276F14 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 80279FB8 00276F18 7E A3 AB 78 */ mr r3, r21 -/* 80279FBC 00276F1C EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80279FC0 00276F20 D0 41 01 B4 */ stfs f2, 0x1b4(r1) -/* 80279FC4 00276F24 D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 80279FC8 00276F28 D0 21 01 B8 */ stfs f1, 0x1b8(r1) -/* 80279FCC 00276F2C 48 03 51 71 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f -/* 80279FD0 00276F30 7E C3 B3 78 */ mr r3, r22 -/* 80279FD4 00276F34 38 9F 0C A0 */ addi r4, r31, 0xca0 -/* 80279FD8 00276F38 4B F9 9A F5 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData -/* 80279FDC 00276F3C 48 00 02 D8 */ b lbl_8027A2B4 -lbl_80279FE0: -/* 80279FE0 00276F40 7F E4 FB 78 */ mr r4, r31 -/* 80279FE4 00276F44 38 61 03 44 */ addi r3, r1, 0x344 -/* 80279FE8 00276F48 38 BC 00 3C */ addi r5, r28, 0x3c -/* 80279FEC 00276F4C 4B DF E9 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80279FF0 00276F50 38 61 04 64 */ addi r3, r1, 0x464 -/* 80279FF4 00276F54 38 81 03 44 */ addi r4, r1, 0x344 -/* 80279FF8 00276F58 48 09 8B 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80279FFC 00276F5C C1 BF 00 58 */ lfs f13, 0x58(r31) -/* 8027A000 00276F60 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8027A004 00276F64 C1 9F 00 48 */ lfs f12, 0x48(r31) -/* 8027A008 00276F68 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8027A00C 00276F6C C0 02 BC 9C */ lfs f0, lbl_805AD9BC@sda21(r2) -/* 8027A010 00276F70 38 61 03 14 */ addi r3, r1, 0x314 -/* 8027A014 00276F74 C0 DF 00 38 */ lfs f6, 0x38(r31) -/* 8027A018 00276F78 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 8027A01C 00276F7C ED 20 03 32 */ fmuls f9, f0, f12 -/* 8027A020 00276F80 C0 62 BC 80 */ lfs f3, lbl_805AD9A0@sda21(r2) -/* 8027A024 00276F84 EC A0 01 B2 */ fmuls f5, f0, f6 -/* 8027A028 00276F88 C0 21 04 88 */ lfs f1, 0x488(r1) -/* 8027A02C 00276F8C ED 00 03 72 */ fmuls f8, f0, f13 -/* 8027A030 00276F90 C0 01 04 68 */ lfs f0, 0x468(r1) -/* 8027A034 00276F94 C3 81 04 70 */ lfs f28, 0x470(r1) -/* 8027A038 00276F98 EC 43 00 32 */ fmuls f2, f3, f0 -/* 8027A03C 00276F9C C3 A1 04 80 */ lfs f29, 0x480(r1) -/* 8027A040 00276FA0 EC E3 00 72 */ fmuls f7, f3, f1 -/* 8027A044 00276FA4 C3 C1 04 90 */ lfs f30, 0x490(r1) -/* 8027A048 00276FA8 EC 9C 28 2A */ fadds f4, f28, f5 -/* 8027A04C 00276FAC C0 01 04 78 */ lfs f0, 0x478(r1) -/* 8027A050 00276FB0 ED 7D 48 2A */ fadds f11, f29, f9 -/* 8027A054 00276FB4 D0 C1 01 5C */ stfs f6, 0x15c(r1) -/* 8027A058 00276FB8 EC 23 00 32 */ fmuls f1, f3, f0 -/* 8027A05C 00276FBC 38 A1 01 80 */ addi r5, r1, 0x180 -/* 8027A060 00276FC0 ED 5E 40 2A */ fadds f10, f30, f8 -/* 8027A064 00276FC4 D1 81 01 60 */ stfs f12, 0x160(r1) -/* 8027A068 00276FC8 EC 7E 38 2A */ fadds f3, f30, f7 -/* 8027A06C 00276FCC D1 A1 01 64 */ stfs f13, 0x164(r1) -/* 8027A070 00276FD0 EC 1C 10 2A */ fadds f0, f28, f2 -/* 8027A074 00276FD4 EC DD 08 2A */ fadds f6, f29, f1 -/* 8027A078 00276FD8 D0 A1 01 68 */ stfs f5, 0x168(r1) -/* 8027A07C 00276FDC D1 21 01 6C */ stfs f9, 0x16c(r1) -/* 8027A080 00276FE0 D1 01 01 70 */ stfs f8, 0x170(r1) -/* 8027A084 00276FE4 D3 81 01 74 */ stfs f28, 0x174(r1) -/* 8027A088 00276FE8 D3 A1 01 78 */ stfs f29, 0x178(r1) -/* 8027A08C 00276FEC D3 C1 01 7C */ stfs f30, 0x17c(r1) -/* 8027A090 00276FF0 D0 81 01 80 */ stfs f4, 0x180(r1) -/* 8027A094 00276FF4 D1 61 01 84 */ stfs f11, 0x184(r1) -/* 8027A098 00276FF8 D1 41 01 88 */ stfs f10, 0x188(r1) -/* 8027A09C 00276FFC D0 41 01 8C */ stfs f2, 0x18c(r1) -/* 8027A0A0 00277000 D0 21 01 90 */ stfs f1, 0x190(r1) -/* 8027A0A4 00277004 D0 E1 01 94 */ stfs f7, 0x194(r1) -/* 8027A0A8 00277008 D3 81 01 98 */ stfs f28, 0x198(r1) -/* 8027A0AC 0027700C D3 A1 01 9C */ stfs f29, 0x19c(r1) -/* 8027A0B0 00277010 D3 C1 01 A0 */ stfs f30, 0x1a0(r1) -/* 8027A0B4 00277014 D0 01 01 A4 */ stfs f0, 0x1a4(r1) -/* 8027A0B8 00277018 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) -/* 8027A0BC 0027701C D0 61 01 AC */ stfs f3, 0x1ac(r1) -/* 8027A0C0 00277020 48 09 9A 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8027A0C4 00277024 38 61 04 34 */ addi r3, r1, 0x434 -/* 8027A0C8 00277028 38 81 03 14 */ addi r4, r1, 0x314 -/* 8027A0CC 0027702C 48 09 8A A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8027A0D0 00277030 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8027A0D4 00277034 C0 22 BC E4 */ lfs f1, lbl_805ADA04@sda21(r2) -/* 8027A0D8 00277038 C0 42 BC A8 */ lfs f2, lbl_805AD9C8@sda21(r2) -/* 8027A0DC 0027703C 48 09 84 69 */ bl Range__9CRandom16Fff -/* 8027A0E0 00277040 C0 02 BC E0 */ lfs f0, lbl_805ADA00@sda21(r2) -/* 8027A0E4 00277044 38 61 04 34 */ addi r3, r1, 0x434 -/* 8027A0E8 00277048 38 81 00 90 */ addi r4, r1, 0x90 -/* 8027A0EC 0027704C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8027A0F0 00277050 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8027A0F4 00277054 48 09 93 C9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle -/* 8027A0F8 00277058 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027A0FC 0027705C 3A A0 00 00 */ li r21, 0 -/* 8027A100 00277060 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027A104 00277064 38 60 03 D8 */ li r3, 0x3d8 -/* 8027A108 00277068 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027A10C 0027706C 38 A0 00 00 */ li r5, 0 -/* 8027A110 00277070 48 09 B7 5D */ bl __nw__FUlPCcPCc -/* 8027A114 00277074 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8027A118 00277078 41 82 00 F0 */ beq lbl_8027A208 -/* 8027A11C 0027707C C0 02 BC 30 */ lfs f0, lbl_805AD950@sda21(r2) -/* 8027A120 00277080 38 00 00 00 */ li r0, 0 -/* 8027A124 00277084 98 01 01 58 */ stb r0, 0x158(r1) -/* 8027A128 00277088 7F C4 F3 78 */ mr r4, r30 -/* 8027A12C 0027708C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8027A130 00277090 3A A0 00 01 */ li r21, 1 -/* 8027A134 00277094 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 8027A138 00277098 D0 01 01 44 */ stfs f0, 0x144(r1) -/* 8027A13C 0027709C D0 01 01 48 */ stfs f0, 0x148(r1) -/* 8027A140 002770A0 A0 1F 0E AC */ lhz r0, 0xeac(r31) -/* 8027A144 002770A4 B0 01 00 60 */ sth r0, 0x60(r1) -/* 8027A148 002770A8 A0 BF 00 08 */ lhz r5, 8(r31) -/* 8027A14C 002770AC B0 A1 00 5C */ sth r5, 0x5c(r1) -/* 8027A150 002770B0 80 1F 00 04 */ lwz r0, 4(r31) -/* 8027A154 002770B4 B0 A1 00 58 */ sth r5, 0x58(r1) -/* 8027A158 002770B8 90 01 00 88 */ stw r0, 0x88(r1) -/* 8027A15C 002770BC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8027A160 002770C0 4B DD 2F 7D */ bl AllocateUniqueId__13CStateManagerFv -/* 8027A164 002770C4 A0 01 00 50 */ lhz r0, 0x50(r1) -/* 8027A168 002770C8 7F E3 FB 78 */ mr r3, r31 -/* 8027A16C 002770CC B0 01 00 54 */ sth r0, 0x54(r1) -/* 8027A170 002770D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027A174 002770D4 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 8027A178 002770D8 7D 89 03 A6 */ mtctr r12 -/* 8027A17C 002770DC 4E 80 04 21 */ bctrl -/* 8027A180 002770E0 7C 7B 1B 78 */ mr r27, r3 -/* 8027A184 002770E4 7F E3 FB 78 */ mr r3, r31 -/* 8027A188 002770E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027A18C 002770EC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 8027A190 002770F0 7D 89 03 A6 */ mtctr r12 -/* 8027A194 002770F4 4E 80 04 21 */ bctrl -/* 8027A198 002770F8 38 01 00 8C */ addi r0, r1, 0x8c -/* 8027A19C 002770FC 3C 80 00 01 */ lis r4, 0x00008400@ha -/* 8027A1A0 00277100 90 01 00 08 */ stw r0, 8(r1) -/* 8027A1A4 00277104 38 01 00 5C */ addi r0, r1, 0x5c -/* 8027A1A8 00277108 7C 65 1B 78 */ mr r5, r3 -/* 8027A1AC 0027710C 38 64 84 00 */ addi r3, r4, 0x00008400@l -/* 8027A1B0 00277110 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027A1B4 00277114 38 01 00 60 */ addi r0, r1, 0x60 -/* 8027A1B8 00277118 39 80 00 00 */ li r12, 0 -/* 8027A1BC 0027711C 38 C1 01 40 */ addi r6, r1, 0x140 -/* 8027A1C0 00277120 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027A1C4 00277124 39 61 01 4C */ addi r11, r1, 0x14c -/* 8027A1C8 00277128 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 8027A1CC 0027712C 38 E1 04 34 */ addi r7, r1, 0x434 -/* 8027A1D0 00277130 90 61 00 14 */ stw r3, 0x14(r1) -/* 8027A1D4 00277134 7F 43 D3 78 */ mr r3, r26 -/* 8027A1D8 00277138 39 3B 00 0C */ addi r9, r27, 0xc -/* 8027A1DC 0027713C 39 41 00 54 */ addi r10, r1, 0x54 -/* 8027A1E0 00277140 91 81 00 18 */ stw r12, 0x18(r1) -/* 8027A1E4 00277144 38 80 00 01 */ li r4, 1 -/* 8027A1E8 00277148 39 00 00 21 */ li r8, 0x21 -/* 8027A1EC 0027714C 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8027A1F0 00277150 38 C0 00 09 */ li r6, 9 -/* 8027A1F4 00277154 91 61 00 20 */ stw r11, 0x20(r1) -/* 8027A1F8 00277158 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027A1FC 0027715C 91 81 00 28 */ stw r12, 0x28(r1) -/* 8027A200 00277160 4B F9 B4 99 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 8027A204 00277164 7C 7A 1B 78 */ mr r26, r3 -lbl_8027A208: -/* 8027A208 00277168 7E A0 07 75 */ extsb. r0, r21 -/* 8027A20C 0027716C 41 82 00 30 */ beq lbl_8027A23C -/* 8027A210 00277170 88 01 01 58 */ lbz r0, 0x158(r1) -/* 8027A214 00277174 28 00 00 00 */ cmplwi r0, 0 -/* 8027A218 00277178 41 82 00 1C */ beq lbl_8027A234 -/* 8027A21C 0027717C 34 61 01 4C */ addic. r3, r1, 0x14c -/* 8027A220 00277180 41 82 00 14 */ beq lbl_8027A234 -/* 8027A224 00277184 28 03 00 00 */ cmplwi r3, 0 -/* 8027A228 00277188 41 82 00 0C */ beq lbl_8027A234 -/* 8027A22C 0027718C 38 80 00 00 */ li r4, 0 -/* 8027A230 00277190 48 0C 6C 11 */ bl __dt__6CTokenFv -lbl_8027A234: -/* 8027A234 00277194 38 00 00 00 */ li r0, 0 -/* 8027A238 00277198 98 01 01 58 */ stb r0, 0x158(r1) -lbl_8027A23C: -/* 8027A23C 0027719C 28 1A 00 00 */ cmplwi r26, 0 -/* 8027A240 002771A0 41 82 00 74 */ beq lbl_8027A2B4 -/* 8027A244 002771A4 7F C3 F3 78 */ mr r3, r30 -/* 8027A248 002771A8 7F 44 D3 78 */ mr r4, r26 -/* 8027A24C 002771AC 4B DD 2A A9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8027A250 002771B0 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8027A254 002771B4 3A BA 01 70 */ addi r21, r26, 0x170 -/* 8027A258 002771B8 C0 22 BC E8 */ lfs f1, lbl_805ADA08@sda21(r2) -/* 8027A25C 002771BC C0 42 BC F0 */ lfs f2, lbl_805ADA10@sda21(r2) -/* 8027A260 002771C0 48 09 82 E5 */ bl Range__9CRandom16Fff -/* 8027A264 002771C4 FF C0 08 90 */ fmr f30, f1 -/* 8027A268 002771C8 7E A3 AB 78 */ mr r3, r21 -/* 8027A26C 002771CC 48 03 4E C9 */ bl GetVelocity__17CProjectileWeaponCFv -/* 8027A270 002771D0 C0 43 00 04 */ lfs f2, 4(r3) -/* 8027A274 002771D4 38 81 01 34 */ addi r4, r1, 0x134 -/* 8027A278 002771D8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8027A27C 002771DC C0 03 00 00 */ lfs f0, 0(r3) -/* 8027A280 002771E0 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 8027A284 002771E4 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 8027A288 002771E8 7E A3 AB 78 */ mr r3, r21 -/* 8027A28C 002771EC EC 1E 00 32 */ fmuls f0, f30, f0 -/* 8027A290 002771F0 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 8027A294 002771F4 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8027A298 002771F8 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 8027A29C 002771FC 48 03 4E A1 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f -/* 8027A2A0 00277200 7F 43 D3 78 */ mr r3, r26 -/* 8027A2A4 00277204 38 9F 0C A0 */ addi r4, r31, 0xca0 -/* 8027A2A8 00277208 4B F9 98 25 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData -/* 8027A2AC 0027720C 48 00 00 08 */ b lbl_8027A2B4 -lbl_8027A2B0: -/* 8027A2B0 00277210 4B FF 97 B5 */ bl sub_80273a64 -lbl_8027A2B4: -/* 8027A2B4 00277214 3B 40 00 01 */ li r26, 1 -/* 8027A2B8 00277218 48 00 09 90 */ b lbl_8027AC48 -lbl_8027A2BC: -/* 8027A2BC 0027721C 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 8027A2C0 00277220 2C 00 00 0B */ cmpwi r0, 0xb -/* 8027A2C4 00277224 41 82 00 20 */ beq lbl_8027A2E4 -/* 8027A2C8 00277228 40 80 00 34 */ bge lbl_8027A2FC -/* 8027A2CC 0027722C 2C 00 00 07 */ cmpwi r0, 7 -/* 8027A2D0 00277230 41 82 00 08 */ beq lbl_8027A2D8 -/* 8027A2D4 00277234 48 00 00 28 */ b lbl_8027A2FC -lbl_8027A2D8: -/* 8027A2D8 00277238 38 A0 00 01 */ li r5, 1 -/* 8027A2DC 0027723C 4B FF D0 A5 */ bl sub_80277380 -/* 8027A2E0 00277240 48 00 00 1C */ b lbl_8027A2FC -lbl_8027A2E4: -/* 8027A2E4 00277244 38 A0 00 01 */ li r5, 1 -/* 8027A2E8 00277248 4B FF B2 C5 */ bl sub_802755ac -/* 8027A2EC 0027724C 88 1F 10 54 */ lbz r0, 0x1054(r31) -/* 8027A2F0 00277250 38 60 00 01 */ li r3, 1 -/* 8027A2F4 00277254 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8027A2F8 00277258 98 1F 10 54 */ stb r0, 0x1054(r31) -lbl_8027A2FC: -/* 8027A2FC 0027725C 3B 40 00 01 */ li r26, 1 -/* 8027A300 00277260 48 00 09 48 */ b lbl_8027AC48 -lbl_8027A304: -/* 8027A304 00277264 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 8027A308 00277268 2C 00 00 0B */ cmpwi r0, 0xb -/* 8027A30C 0027726C 41 82 00 20 */ beq lbl_8027A32C -/* 8027A310 00277270 40 80 09 38 */ bge lbl_8027AC48 -/* 8027A314 00277274 2C 00 00 07 */ cmpwi r0, 7 -/* 8027A318 00277278 41 82 00 08 */ beq lbl_8027A320 -/* 8027A31C 0027727C 48 00 09 2C */ b lbl_8027AC48 -lbl_8027A320: -/* 8027A320 00277280 38 A0 00 00 */ li r5, 0 -/* 8027A324 00277284 4B FF D0 5D */ bl sub_80277380 -/* 8027A328 00277288 48 00 09 20 */ b lbl_8027AC48 -lbl_8027A32C: -/* 8027A32C 0027728C 38 A0 00 00 */ li r5, 0 -/* 8027A330 00277290 4B FF B2 7D */ bl sub_802755ac -/* 8027A334 00277294 48 00 09 14 */ b lbl_8027AC48 -lbl_8027A338: -/* 8027A338 00277298 38 61 05 54 */ addi r3, r1, 0x554 -/* 8027A33C 0027729C 38 9F 10 8C */ addi r4, r31, 0x108c -/* 8027A340 002772A0 4B D9 0A 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027A344 002772A4 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 8027A348 002772A8 2C 00 00 09 */ cmpwi r0, 9 -/* 8027A34C 002772AC 41 82 01 C0 */ beq lbl_8027A50C -/* 8027A350 002772B0 40 80 00 1C */ bge lbl_8027A36C -/* 8027A354 002772B4 2C 00 00 01 */ cmpwi r0, 1 -/* 8027A358 002772B8 41 82 04 DC */ beq lbl_8027A834 -/* 8027A35C 002772BC 40 80 07 F4 */ bge lbl_8027AB50 -/* 8027A360 002772C0 2C 00 00 00 */ cmpwi r0, 0 -/* 8027A364 002772C4 40 80 00 14 */ bge lbl_8027A378 -/* 8027A368 002772C8 48 00 07 E8 */ b lbl_8027AB50 -lbl_8027A36C: -/* 8027A36C 002772CC 2C 00 00 0B */ cmpwi r0, 0xb -/* 8027A370 002772D0 40 80 07 E0 */ bge lbl_8027AB50 -/* 8027A374 002772D4 48 00 03 2C */ b lbl_8027A6A0 -lbl_8027A378: -/* 8027A378 002772D8 C0 1F 10 8C */ lfs f0, 0x108c(r31) -/* 8027A37C 002772DC D0 01 05 54 */ stfs f0, 0x554(r1) -/* 8027A380 002772E0 C0 1F 10 90 */ lfs f0, 0x1090(r31) -/* 8027A384 002772E4 D0 01 05 58 */ stfs f0, 0x558(r1) -/* 8027A388 002772E8 80 1F 10 98 */ lwz r0, 0x1098(r31) -/* 8027A38C 002772EC 90 01 05 60 */ stw r0, 0x560(r1) -/* 8027A390 002772F0 80 7F 10 9C */ lwz r3, 0x109c(r31) -/* 8027A394 002772F4 80 1F 10 A0 */ lwz r0, 0x10a0(r31) -/* 8027A398 002772F8 90 61 05 64 */ stw r3, 0x564(r1) -/* 8027A39C 002772FC 90 01 05 68 */ stw r0, 0x568(r1) -/* 8027A3A0 00277300 80 7F 10 A4 */ lwz r3, 0x10a4(r31) -/* 8027A3A4 00277304 80 1F 10 A8 */ lwz r0, 0x10a8(r31) -/* 8027A3A8 00277308 90 61 05 6C */ stw r3, 0x56c(r1) -/* 8027A3AC 0027730C 90 01 05 70 */ stw r0, 0x570(r1) -/* 8027A3B0 00277310 80 7F 10 AC */ lwz r3, 0x10ac(r31) -/* 8027A3B4 00277314 80 1F 10 B0 */ lwz r0, 0x10b0(r31) -/* 8027A3B8 00277318 90 61 05 74 */ stw r3, 0x574(r1) -/* 8027A3BC 0027731C 90 01 05 78 */ stw r0, 0x578(r1) -/* 8027A3C0 00277320 80 7F 10 B4 */ lwz r3, 0x10b4(r31) -/* 8027A3C4 00277324 80 1F 10 B8 */ lwz r0, 0x10b8(r31) -/* 8027A3C8 00277328 90 61 05 7C */ stw r3, 0x57c(r1) -/* 8027A3CC 0027732C 90 01 05 80 */ stw r0, 0x580(r1) -/* 8027A3D0 00277330 80 7F 10 BC */ lwz r3, 0x10bc(r31) -/* 8027A3D4 00277334 80 1F 10 C0 */ lwz r0, 0x10c0(r31) -/* 8027A3D8 00277338 90 61 05 84 */ stw r3, 0x584(r1) -/* 8027A3DC 0027733C 90 01 05 88 */ stw r0, 0x588(r1) -/* 8027A3E0 00277340 80 7F 10 C4 */ lwz r3, 0x10c4(r31) -/* 8027A3E4 00277344 80 1F 10 C8 */ lwz r0, 0x10c8(r31) -/* 8027A3E8 00277348 90 61 05 8C */ stw r3, 0x58c(r1) -/* 8027A3EC 0027734C 90 01 05 90 */ stw r0, 0x590(r1) -/* 8027A3F0 00277350 C0 1F 10 CC */ lfs f0, 0x10cc(r31) -/* 8027A3F4 00277354 D0 01 05 94 */ stfs f0, 0x594(r1) -/* 8027A3F8 00277358 80 1F 10 D4 */ lwz r0, 0x10d4(r31) -/* 8027A3FC 0027735C 90 01 05 9C */ stw r0, 0x59c(r1) -/* 8027A400 00277360 80 7F 10 D8 */ lwz r3, 0x10d8(r31) -/* 8027A404 00277364 80 1F 10 DC */ lwz r0, 0x10dc(r31) -/* 8027A408 00277368 90 61 05 A0 */ stw r3, 0x5a0(r1) -/* 8027A40C 0027736C 90 01 05 A4 */ stw r0, 0x5a4(r1) -/* 8027A410 00277370 80 7F 10 E0 */ lwz r3, 0x10e0(r31) -/* 8027A414 00277374 80 1F 10 E4 */ lwz r0, 0x10e4(r31) -/* 8027A418 00277378 90 61 05 A8 */ stw r3, 0x5a8(r1) -/* 8027A41C 0027737C 90 01 05 AC */ stw r0, 0x5ac(r1) -/* 8027A420 00277380 80 7F 10 E8 */ lwz r3, 0x10e8(r31) -/* 8027A424 00277384 80 1F 10 EC */ lwz r0, 0x10ec(r31) -/* 8027A428 00277388 90 61 05 B0 */ stw r3, 0x5b0(r1) -/* 8027A42C 0027738C 90 01 05 B4 */ stw r0, 0x5b4(r1) -/* 8027A430 00277390 80 7F 10 F0 */ lwz r3, 0x10f0(r31) -/* 8027A434 00277394 80 1F 10 F4 */ lwz r0, 0x10f4(r31) -/* 8027A438 00277398 90 61 05 B8 */ stw r3, 0x5b8(r1) -/* 8027A43C 0027739C 90 01 05 BC */ stw r0, 0x5bc(r1) -/* 8027A440 002773A0 80 7F 10 F8 */ lwz r3, 0x10f8(r31) -/* 8027A444 002773A4 80 1F 10 FC */ lwz r0, 0x10fc(r31) -/* 8027A448 002773A8 90 61 05 C0 */ stw r3, 0x5c0(r1) -/* 8027A44C 002773AC 90 01 05 C4 */ stw r0, 0x5c4(r1) -/* 8027A450 002773B0 80 7F 11 00 */ lwz r3, 0x1100(r31) -/* 8027A454 002773B4 80 1F 11 04 */ lwz r0, 0x1104(r31) -/* 8027A458 002773B8 90 61 05 C8 */ stw r3, 0x5c8(r1) -/* 8027A45C 002773BC 90 01 05 CC */ stw r0, 0x5cc(r1) -/* 8027A460 002773C0 C0 1F 11 08 */ lfs f0, 0x1108(r31) -/* 8027A464 002773C4 D0 01 05 D0 */ stfs f0, 0x5d0(r1) -/* 8027A468 002773C8 80 1F 11 10 */ lwz r0, 0x1110(r31) -/* 8027A46C 002773CC 90 01 05 D8 */ stw r0, 0x5d8(r1) -/* 8027A470 002773D0 80 7F 11 14 */ lwz r3, 0x1114(r31) -/* 8027A474 002773D4 80 1F 11 18 */ lwz r0, 0x1118(r31) -/* 8027A478 002773D8 90 61 05 DC */ stw r3, 0x5dc(r1) -/* 8027A47C 002773DC 90 01 05 E0 */ stw r0, 0x5e0(r1) -/* 8027A480 002773E0 80 7F 11 1C */ lwz r3, 0x111c(r31) -/* 8027A484 002773E4 80 1F 11 20 */ lwz r0, 0x1120(r31) -/* 8027A488 002773E8 90 61 05 E4 */ stw r3, 0x5e4(r1) -/* 8027A48C 002773EC 90 01 05 E8 */ stw r0, 0x5e8(r1) -/* 8027A490 002773F0 80 7F 11 24 */ lwz r3, 0x1124(r31) -/* 8027A494 002773F4 80 1F 11 28 */ lwz r0, 0x1128(r31) -/* 8027A498 002773F8 90 61 05 EC */ stw r3, 0x5ec(r1) -/* 8027A49C 002773FC 90 01 05 F0 */ stw r0, 0x5f0(r1) -/* 8027A4A0 00277400 80 7F 11 2C */ lwz r3, 0x112c(r31) -/* 8027A4A4 00277404 80 1F 11 30 */ lwz r0, 0x1130(r31) -/* 8027A4A8 00277408 90 61 05 F4 */ stw r3, 0x5f4(r1) -/* 8027A4AC 0027740C 90 01 05 F8 */ stw r0, 0x5f8(r1) -/* 8027A4B0 00277410 80 7F 11 34 */ lwz r3, 0x1134(r31) -/* 8027A4B4 00277414 80 1F 11 38 */ lwz r0, 0x1138(r31) -/* 8027A4B8 00277418 90 61 05 FC */ stw r3, 0x5fc(r1) -/* 8027A4BC 0027741C 90 01 06 00 */ stw r0, 0x600(r1) -/* 8027A4C0 00277420 80 7F 11 3C */ lwz r3, 0x113c(r31) -/* 8027A4C4 00277424 80 1F 11 40 */ lwz r0, 0x1140(r31) -/* 8027A4C8 00277428 90 61 06 04 */ stw r3, 0x604(r1) -/* 8027A4CC 0027742C 90 01 06 08 */ stw r0, 0x608(r1) -/* 8027A4D0 00277430 C0 1F 11 44 */ lfs f0, 0x1144(r31) -/* 8027A4D4 00277434 D0 01 06 0C */ stfs f0, 0x60c(r1) -/* 8027A4D8 00277438 80 1F 11 48 */ lwz r0, 0x1148(r31) -/* 8027A4DC 0027743C 90 01 06 10 */ stw r0, 0x610(r1) -/* 8027A4E0 00277440 80 1F 11 4C */ lwz r0, 0x114c(r31) -/* 8027A4E4 00277444 90 01 06 14 */ stw r0, 0x614(r1) -/* 8027A4E8 00277448 80 7F 11 50 */ lwz r3, 0x1150(r31) -/* 8027A4EC 0027744C 80 1F 11 54 */ lwz r0, 0x1154(r31) -/* 8027A4F0 00277450 90 61 06 18 */ stw r3, 0x618(r1) -/* 8027A4F4 00277454 90 01 06 1C */ stw r0, 0x61c(r1) -/* 8027A4F8 00277458 80 1F 11 58 */ lwz r0, 0x1158(r31) -/* 8027A4FC 0027745C 90 01 06 20 */ stw r0, 0x620(r1) -/* 8027A500 00277460 C0 1F 11 5C */ lfs f0, 0x115c(r31) -/* 8027A504 00277464 D0 01 06 24 */ stfs f0, 0x624(r1) -/* 8027A508 00277468 48 00 06 48 */ b lbl_8027AB50 -lbl_8027A50C: -/* 8027A50C 0027746C C0 1F 13 68 */ lfs f0, 0x1368(r31) -/* 8027A510 00277470 D0 01 05 54 */ stfs f0, 0x554(r1) -/* 8027A514 00277474 C0 1F 13 6C */ lfs f0, 0x136c(r31) -/* 8027A518 00277478 D0 01 05 58 */ stfs f0, 0x558(r1) -/* 8027A51C 0027747C 80 1F 13 74 */ lwz r0, 0x1374(r31) -/* 8027A520 00277480 90 01 05 60 */ stw r0, 0x560(r1) -/* 8027A524 00277484 80 7F 13 78 */ lwz r3, 0x1378(r31) -/* 8027A528 00277488 80 1F 13 7C */ lwz r0, 0x137c(r31) -/* 8027A52C 0027748C 90 61 05 64 */ stw r3, 0x564(r1) -/* 8027A530 00277490 90 01 05 68 */ stw r0, 0x568(r1) -/* 8027A534 00277494 80 7F 13 80 */ lwz r3, 0x1380(r31) -/* 8027A538 00277498 80 1F 13 84 */ lwz r0, 0x1384(r31) -/* 8027A53C 0027749C 90 61 05 6C */ stw r3, 0x56c(r1) -/* 8027A540 002774A0 90 01 05 70 */ stw r0, 0x570(r1) -/* 8027A544 002774A4 80 7F 13 88 */ lwz r3, 0x1388(r31) -/* 8027A548 002774A8 80 1F 13 8C */ lwz r0, 0x138c(r31) -/* 8027A54C 002774AC 90 61 05 74 */ stw r3, 0x574(r1) -/* 8027A550 002774B0 90 01 05 78 */ stw r0, 0x578(r1) -/* 8027A554 002774B4 80 7F 13 90 */ lwz r3, 0x1390(r31) -/* 8027A558 002774B8 80 1F 13 94 */ lwz r0, 0x1394(r31) -/* 8027A55C 002774BC 90 61 05 7C */ stw r3, 0x57c(r1) -/* 8027A560 002774C0 90 01 05 80 */ stw r0, 0x580(r1) -/* 8027A564 002774C4 80 7F 13 98 */ lwz r3, 0x1398(r31) -/* 8027A568 002774C8 80 1F 13 9C */ lwz r0, 0x139c(r31) -/* 8027A56C 002774CC 90 61 05 84 */ stw r3, 0x584(r1) -/* 8027A570 002774D0 90 01 05 88 */ stw r0, 0x588(r1) -/* 8027A574 002774D4 80 7F 13 A0 */ lwz r3, 0x13a0(r31) -/* 8027A578 002774D8 80 1F 13 A4 */ lwz r0, 0x13a4(r31) -/* 8027A57C 002774DC 90 61 05 8C */ stw r3, 0x58c(r1) -/* 8027A580 002774E0 90 01 05 90 */ stw r0, 0x590(r1) -/* 8027A584 002774E4 C0 1F 13 A8 */ lfs f0, 0x13a8(r31) -/* 8027A588 002774E8 D0 01 05 94 */ stfs f0, 0x594(r1) -/* 8027A58C 002774EC 80 1F 13 B0 */ lwz r0, 0x13b0(r31) -/* 8027A590 002774F0 90 01 05 9C */ stw r0, 0x59c(r1) -/* 8027A594 002774F4 80 7F 13 B4 */ lwz r3, 0x13b4(r31) -/* 8027A598 002774F8 80 1F 13 B8 */ lwz r0, 0x13b8(r31) -/* 8027A59C 002774FC 90 61 05 A0 */ stw r3, 0x5a0(r1) -/* 8027A5A0 00277500 90 01 05 A4 */ stw r0, 0x5a4(r1) -/* 8027A5A4 00277504 80 7F 13 BC */ lwz r3, 0x13bc(r31) -/* 8027A5A8 00277508 80 1F 13 C0 */ lwz r0, 0x13c0(r31) -/* 8027A5AC 0027750C 90 61 05 A8 */ stw r3, 0x5a8(r1) -/* 8027A5B0 00277510 90 01 05 AC */ stw r0, 0x5ac(r1) -/* 8027A5B4 00277514 80 7F 13 C4 */ lwz r3, 0x13c4(r31) -/* 8027A5B8 00277518 80 1F 13 C8 */ lwz r0, 0x13c8(r31) -/* 8027A5BC 0027751C 90 61 05 B0 */ stw r3, 0x5b0(r1) -/* 8027A5C0 00277520 90 01 05 B4 */ stw r0, 0x5b4(r1) -/* 8027A5C4 00277524 80 7F 13 CC */ lwz r3, 0x13cc(r31) -/* 8027A5C8 00277528 80 1F 13 D0 */ lwz r0, 0x13d0(r31) -/* 8027A5CC 0027752C 90 61 05 B8 */ stw r3, 0x5b8(r1) -/* 8027A5D0 00277530 90 01 05 BC */ stw r0, 0x5bc(r1) -/* 8027A5D4 00277534 80 7F 13 D4 */ lwz r3, 0x13d4(r31) -/* 8027A5D8 00277538 80 1F 13 D8 */ lwz r0, 0x13d8(r31) -/* 8027A5DC 0027753C 90 61 05 C0 */ stw r3, 0x5c0(r1) -/* 8027A5E0 00277540 90 01 05 C4 */ stw r0, 0x5c4(r1) -/* 8027A5E4 00277544 80 7F 13 DC */ lwz r3, 0x13dc(r31) -/* 8027A5E8 00277548 80 1F 13 E0 */ lwz r0, 0x13e0(r31) -/* 8027A5EC 0027754C 90 61 05 C8 */ stw r3, 0x5c8(r1) -/* 8027A5F0 00277550 90 01 05 CC */ stw r0, 0x5cc(r1) -/* 8027A5F4 00277554 C0 1F 13 E4 */ lfs f0, 0x13e4(r31) -/* 8027A5F8 00277558 D0 01 05 D0 */ stfs f0, 0x5d0(r1) -/* 8027A5FC 0027755C 80 1F 13 EC */ lwz r0, 0x13ec(r31) -/* 8027A600 00277560 90 01 05 D8 */ stw r0, 0x5d8(r1) -/* 8027A604 00277564 80 7F 13 F0 */ lwz r3, 0x13f0(r31) -/* 8027A608 00277568 80 1F 13 F4 */ lwz r0, 0x13f4(r31) -/* 8027A60C 0027756C 90 61 05 DC */ stw r3, 0x5dc(r1) -/* 8027A610 00277570 90 01 05 E0 */ stw r0, 0x5e0(r1) -/* 8027A614 00277574 80 7F 13 F8 */ lwz r3, 0x13f8(r31) -/* 8027A618 00277578 80 1F 13 FC */ lwz r0, 0x13fc(r31) -/* 8027A61C 0027757C 90 61 05 E4 */ stw r3, 0x5e4(r1) -/* 8027A620 00277580 90 01 05 E8 */ stw r0, 0x5e8(r1) -/* 8027A624 00277584 80 7F 14 00 */ lwz r3, 0x1400(r31) -/* 8027A628 00277588 80 1F 14 04 */ lwz r0, 0x1404(r31) -/* 8027A62C 0027758C 90 61 05 EC */ stw r3, 0x5ec(r1) -/* 8027A630 00277590 90 01 05 F0 */ stw r0, 0x5f0(r1) -/* 8027A634 00277594 80 7F 14 08 */ lwz r3, 0x1408(r31) -/* 8027A638 00277598 80 1F 14 0C */ lwz r0, 0x140c(r31) -/* 8027A63C 0027759C 90 61 05 F4 */ stw r3, 0x5f4(r1) -/* 8027A640 002775A0 90 01 05 F8 */ stw r0, 0x5f8(r1) -/* 8027A644 002775A4 80 7F 14 10 */ lwz r3, 0x1410(r31) -/* 8027A648 002775A8 80 1F 14 14 */ lwz r0, 0x1414(r31) -/* 8027A64C 002775AC 90 61 05 FC */ stw r3, 0x5fc(r1) -/* 8027A650 002775B0 90 01 06 00 */ stw r0, 0x600(r1) -/* 8027A654 002775B4 80 7F 14 18 */ lwz r3, 0x1418(r31) -/* 8027A658 002775B8 80 1F 14 1C */ lwz r0, 0x141c(r31) -/* 8027A65C 002775BC 90 61 06 04 */ stw r3, 0x604(r1) -/* 8027A660 002775C0 90 01 06 08 */ stw r0, 0x608(r1) -/* 8027A664 002775C4 C0 1F 14 20 */ lfs f0, 0x1420(r31) -/* 8027A668 002775C8 D0 01 06 0C */ stfs f0, 0x60c(r1) -/* 8027A66C 002775CC 80 1F 14 24 */ lwz r0, 0x1424(r31) -/* 8027A670 002775D0 90 01 06 10 */ stw r0, 0x610(r1) -/* 8027A674 002775D4 80 1F 14 28 */ lwz r0, 0x1428(r31) -/* 8027A678 002775D8 90 01 06 14 */ stw r0, 0x614(r1) -/* 8027A67C 002775DC 80 7F 14 2C */ lwz r3, 0x142c(r31) -/* 8027A680 002775E0 80 1F 14 30 */ lwz r0, 0x1430(r31) -/* 8027A684 002775E4 90 61 06 18 */ stw r3, 0x618(r1) -/* 8027A688 002775E8 90 01 06 1C */ stw r0, 0x61c(r1) -/* 8027A68C 002775EC 80 1F 14 34 */ lwz r0, 0x1434(r31) -/* 8027A690 002775F0 90 01 06 20 */ stw r0, 0x620(r1) -/* 8027A694 002775F4 C0 1F 14 38 */ lfs f0, 0x1438(r31) -/* 8027A698 002775F8 D0 01 06 24 */ stfs f0, 0x624(r1) -/* 8027A69C 002775FC 48 00 04 B4 */ b lbl_8027AB50 -lbl_8027A6A0: -/* 8027A6A0 00277600 C0 1F 12 94 */ lfs f0, 0x1294(r31) -/* 8027A6A4 00277604 D0 01 05 54 */ stfs f0, 0x554(r1) -/* 8027A6A8 00277608 C0 1F 12 98 */ lfs f0, 0x1298(r31) -/* 8027A6AC 0027760C D0 01 05 58 */ stfs f0, 0x558(r1) -/* 8027A6B0 00277610 80 1F 12 A0 */ lwz r0, 0x12a0(r31) -/* 8027A6B4 00277614 90 01 05 60 */ stw r0, 0x560(r1) -/* 8027A6B8 00277618 80 7F 12 A4 */ lwz r3, 0x12a4(r31) -/* 8027A6BC 0027761C 80 1F 12 A8 */ lwz r0, 0x12a8(r31) -/* 8027A6C0 00277620 90 61 05 64 */ stw r3, 0x564(r1) -/* 8027A6C4 00277624 90 01 05 68 */ stw r0, 0x568(r1) -/* 8027A6C8 00277628 80 7F 12 AC */ lwz r3, 0x12ac(r31) -/* 8027A6CC 0027762C 80 1F 12 B0 */ lwz r0, 0x12b0(r31) -/* 8027A6D0 00277630 90 61 05 6C */ stw r3, 0x56c(r1) -/* 8027A6D4 00277634 90 01 05 70 */ stw r0, 0x570(r1) -/* 8027A6D8 00277638 80 7F 12 B4 */ lwz r3, 0x12b4(r31) -/* 8027A6DC 0027763C 80 1F 12 B8 */ lwz r0, 0x12b8(r31) -/* 8027A6E0 00277640 90 61 05 74 */ stw r3, 0x574(r1) -/* 8027A6E4 00277644 90 01 05 78 */ stw r0, 0x578(r1) -/* 8027A6E8 00277648 80 7F 12 BC */ lwz r3, 0x12bc(r31) -/* 8027A6EC 0027764C 80 1F 12 C0 */ lwz r0, 0x12c0(r31) -/* 8027A6F0 00277650 90 61 05 7C */ stw r3, 0x57c(r1) -/* 8027A6F4 00277654 90 01 05 80 */ stw r0, 0x580(r1) -/* 8027A6F8 00277658 80 7F 12 C4 */ lwz r3, 0x12c4(r31) -/* 8027A6FC 0027765C 80 1F 12 C8 */ lwz r0, 0x12c8(r31) -/* 8027A700 00277660 90 61 05 84 */ stw r3, 0x584(r1) -/* 8027A704 00277664 90 01 05 88 */ stw r0, 0x588(r1) -/* 8027A708 00277668 80 7F 12 CC */ lwz r3, 0x12cc(r31) -/* 8027A70C 0027766C 80 1F 12 D0 */ lwz r0, 0x12d0(r31) -/* 8027A710 00277670 90 61 05 8C */ stw r3, 0x58c(r1) -/* 8027A714 00277674 90 01 05 90 */ stw r0, 0x590(r1) -/* 8027A718 00277678 C0 1F 12 D4 */ lfs f0, 0x12d4(r31) -/* 8027A71C 0027767C D0 01 05 94 */ stfs f0, 0x594(r1) -/* 8027A720 00277680 80 1F 12 DC */ lwz r0, 0x12dc(r31) -/* 8027A724 00277684 90 01 05 9C */ stw r0, 0x59c(r1) -/* 8027A728 00277688 80 7F 12 E0 */ lwz r3, 0x12e0(r31) -/* 8027A72C 0027768C 80 1F 12 E4 */ lwz r0, 0x12e4(r31) -/* 8027A730 00277690 90 61 05 A0 */ stw r3, 0x5a0(r1) -/* 8027A734 00277694 90 01 05 A4 */ stw r0, 0x5a4(r1) -/* 8027A738 00277698 80 7F 12 E8 */ lwz r3, 0x12e8(r31) -/* 8027A73C 0027769C 80 1F 12 EC */ lwz r0, 0x12ec(r31) -/* 8027A740 002776A0 90 61 05 A8 */ stw r3, 0x5a8(r1) -/* 8027A744 002776A4 90 01 05 AC */ stw r0, 0x5ac(r1) -/* 8027A748 002776A8 80 7F 12 F0 */ lwz r3, 0x12f0(r31) -/* 8027A74C 002776AC 80 1F 12 F4 */ lwz r0, 0x12f4(r31) -/* 8027A750 002776B0 90 61 05 B0 */ stw r3, 0x5b0(r1) -/* 8027A754 002776B4 90 01 05 B4 */ stw r0, 0x5b4(r1) -/* 8027A758 002776B8 80 7F 12 F8 */ lwz r3, 0x12f8(r31) -/* 8027A75C 002776BC 80 1F 12 FC */ lwz r0, 0x12fc(r31) -/* 8027A760 002776C0 90 61 05 B8 */ stw r3, 0x5b8(r1) -/* 8027A764 002776C4 90 01 05 BC */ stw r0, 0x5bc(r1) -/* 8027A768 002776C8 80 7F 13 00 */ lwz r3, 0x1300(r31) -/* 8027A76C 002776CC 80 1F 13 04 */ lwz r0, 0x1304(r31) -/* 8027A770 002776D0 90 61 05 C0 */ stw r3, 0x5c0(r1) -/* 8027A774 002776D4 90 01 05 C4 */ stw r0, 0x5c4(r1) -/* 8027A778 002776D8 80 7F 13 08 */ lwz r3, 0x1308(r31) -/* 8027A77C 002776DC 80 1F 13 0C */ lwz r0, 0x130c(r31) -/* 8027A780 002776E0 90 61 05 C8 */ stw r3, 0x5c8(r1) -/* 8027A784 002776E4 90 01 05 CC */ stw r0, 0x5cc(r1) -/* 8027A788 002776E8 C0 1F 13 10 */ lfs f0, 0x1310(r31) -/* 8027A78C 002776EC D0 01 05 D0 */ stfs f0, 0x5d0(r1) -/* 8027A790 002776F0 80 1F 13 18 */ lwz r0, 0x1318(r31) -/* 8027A794 002776F4 90 01 05 D8 */ stw r0, 0x5d8(r1) -/* 8027A798 002776F8 80 7F 13 1C */ lwz r3, 0x131c(r31) -/* 8027A79C 002776FC 80 1F 13 20 */ lwz r0, 0x1320(r31) -/* 8027A7A0 00277700 90 61 05 DC */ stw r3, 0x5dc(r1) -/* 8027A7A4 00277704 90 01 05 E0 */ stw r0, 0x5e0(r1) -/* 8027A7A8 00277708 80 7F 13 24 */ lwz r3, 0x1324(r31) -/* 8027A7AC 0027770C 80 1F 13 28 */ lwz r0, 0x1328(r31) -/* 8027A7B0 00277710 90 61 05 E4 */ stw r3, 0x5e4(r1) -/* 8027A7B4 00277714 90 01 05 E8 */ stw r0, 0x5e8(r1) -/* 8027A7B8 00277718 80 7F 13 2C */ lwz r3, 0x132c(r31) -/* 8027A7BC 0027771C 80 1F 13 30 */ lwz r0, 0x1330(r31) -/* 8027A7C0 00277720 90 61 05 EC */ stw r3, 0x5ec(r1) -/* 8027A7C4 00277724 90 01 05 F0 */ stw r0, 0x5f0(r1) -/* 8027A7C8 00277728 80 7F 13 34 */ lwz r3, 0x1334(r31) -/* 8027A7CC 0027772C 80 1F 13 38 */ lwz r0, 0x1338(r31) -/* 8027A7D0 00277730 90 61 05 F4 */ stw r3, 0x5f4(r1) -/* 8027A7D4 00277734 90 01 05 F8 */ stw r0, 0x5f8(r1) -/* 8027A7D8 00277738 80 7F 13 3C */ lwz r3, 0x133c(r31) -/* 8027A7DC 0027773C 80 1F 13 40 */ lwz r0, 0x1340(r31) -/* 8027A7E0 00277740 90 61 05 FC */ stw r3, 0x5fc(r1) -/* 8027A7E4 00277744 90 01 06 00 */ stw r0, 0x600(r1) -/* 8027A7E8 00277748 80 7F 13 44 */ lwz r3, 0x1344(r31) -/* 8027A7EC 0027774C 80 1F 13 48 */ lwz r0, 0x1348(r31) -/* 8027A7F0 00277750 90 61 06 04 */ stw r3, 0x604(r1) -/* 8027A7F4 00277754 90 01 06 08 */ stw r0, 0x608(r1) -/* 8027A7F8 00277758 C0 1F 13 4C */ lfs f0, 0x134c(r31) -/* 8027A7FC 0027775C D0 01 06 0C */ stfs f0, 0x60c(r1) -/* 8027A800 00277760 80 1F 13 50 */ lwz r0, 0x1350(r31) -/* 8027A804 00277764 90 01 06 10 */ stw r0, 0x610(r1) -/* 8027A808 00277768 80 1F 13 54 */ lwz r0, 0x1354(r31) -/* 8027A80C 0027776C 90 01 06 14 */ stw r0, 0x614(r1) -/* 8027A810 00277770 80 7F 13 58 */ lwz r3, 0x1358(r31) -/* 8027A814 00277774 80 1F 13 5C */ lwz r0, 0x135c(r31) -/* 8027A818 00277778 90 61 06 18 */ stw r3, 0x618(r1) -/* 8027A81C 0027777C 90 01 06 1C */ stw r0, 0x61c(r1) -/* 8027A820 00277780 80 1F 13 60 */ lwz r0, 0x1360(r31) -/* 8027A824 00277784 90 01 06 20 */ stw r0, 0x620(r1) -/* 8027A828 00277788 C0 1F 13 64 */ lfs f0, 0x1364(r31) -/* 8027A82C 0027778C D0 01 06 24 */ stfs f0, 0x624(r1) -/* 8027A830 00277790 48 00 03 20 */ b lbl_8027AB50 -lbl_8027A834: -/* 8027A834 00277794 7F E4 FB 78 */ mr r4, r31 -/* 8027A838 00277798 38 61 02 E4 */ addi r3, r1, 0x2e4 -/* 8027A83C 0027779C 38 BC 00 3C */ addi r5, r28, 0x3c -/* 8027A840 002777A0 4B DF E1 39 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027A844 002777A4 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8027A848 002777A8 38 61 01 28 */ addi r3, r1, 0x128 -/* 8027A84C 002777AC C0 A1 03 10 */ lfs f5, 0x310(r1) -/* 8027A850 002777B0 C0 E4 00 60 */ lfs f7, 0x60(r4) -/* 8027A854 002777B4 C0 01 03 00 */ lfs f0, 0x300(r1) -/* 8027A858 002777B8 C0 C4 00 50 */ lfs f6, 0x50(r4) -/* 8027A85C 002777BC EC 67 28 28 */ fsubs f3, f7, f5 -/* 8027A860 002777C0 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8027A864 002777C4 C0 41 02 F0 */ lfs f2, 0x2f0(r1) -/* 8027A868 002777C8 EC 86 00 28 */ fsubs f4, f6, f0 -/* 8027A86C 002777CC D0 01 01 14 */ stfs f0, 0x114(r1) -/* 8027A870 002777D0 EC 01 10 28 */ fsubs f0, f1, f2 -/* 8027A874 002777D4 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 8027A878 002777D8 D0 A1 01 18 */ stfs f5, 0x118(r1) -/* 8027A87C 002777DC D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 8027A880 002777E0 D0 C1 01 20 */ stfs f6, 0x120(r1) -/* 8027A884 002777E4 D0 E1 01 24 */ stfs f7, 0x124(r1) -/* 8027A888 002777E8 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8027A88C 002777EC D0 81 01 2C */ stfs f4, 0x12c(r1) -/* 8027A890 002777F0 D0 61 01 30 */ stfs f3, 0x130(r1) -/* 8027A894 002777F4 48 09 A0 25 */ bl Magnitude__9CVector3fCFv -/* 8027A898 002777F8 C0 1F 0E C4 */ lfs f0, 0xec4(r31) -/* 8027A89C 002777FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027A8A0 00277800 40 80 00 D0 */ bge lbl_8027A970 -/* 8027A8A4 00277804 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8027A8A8 00277808 C0 22 BC 30 */ lfs f1, lbl_805AD950@sda21(r2) -/* 8027A8AC 0027780C C0 5F 0E C8 */ lfs f2, 0xec8(r31) -/* 8027A8B0 00277810 38 60 00 00 */ li r3, 0 -/* 8027A8B4 00277814 88 01 02 B0 */ lbz r0, 0x2b0(r1) -/* 8027A8B8 00277818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027A8BC 0027781C EC 61 00 28 */ fsubs f3, f1, f0 -/* 8027A8C0 00277820 C0 3F 0E C0 */ lfs f1, 0xec0(r31) -/* 8027A8C4 00277824 C0 1F 0E BC */ lfs f0, 0xebc(r31) -/* 8027A8C8 00277828 38 60 00 00 */ li r3, 0 -/* 8027A8CC 0027782C 80 DF 0E B4 */ lwz r6, 0xeb4(r31) -/* 8027A8D0 00277830 38 80 00 01 */ li r4, 1 -/* 8027A8D4 00277834 90 C1 02 98 */ stw r6, 0x298(r1) -/* 8027A8D8 00277838 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8027A8DC 0027783C EC 23 00 72 */ fmuls f1, f3, f1 -/* 8027A8E0 00277840 80 AD 98 58 */ lwz r5, lbl_805A8418@sda21(r13) -/* 8027A8E4 00277844 88 DF 0E B8 */ lbz r6, 0xeb8(r31) -/* 8027A8E8 00277848 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8027A8EC 0027784C 98 C1 02 9C */ stb r6, 0x29c(r1) -/* 8027A8F0 00277850 D0 01 02 A0 */ stfs f0, 0x2a0(r1) -/* 8027A8F4 00277854 D0 01 02 A4 */ stfs f0, 0x2a4(r1) -/* 8027A8F8 00277858 D0 21 02 A8 */ stfs f1, 0x2a8(r1) -/* 8027A8FC 0027785C D0 41 02 AC */ stfs f2, 0x2ac(r1) -/* 8027A900 00277860 98 01 02 B0 */ stb r0, 0x2b0(r1) -/* 8027A904 00277864 48 10 F5 F1 */ bl __shl2i -/* 8027A908 00277868 39 40 00 00 */ li r10, 0 -/* 8027A90C 0027786C 38 00 00 03 */ li r0, 3 -/* 8027A910 00277870 90 81 02 6C */ stw r4, 0x26c(r1) -/* 8027A914 00277874 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027A918 00277878 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8027A91C 0027787C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8027A920 00277880 90 61 02 68 */ stw r3, 0x268(r1) -/* 8027A924 00277884 38 81 00 4C */ addi r4, r1, 0x4c -/* 8027A928 00277888 7F C3 F3 78 */ mr r3, r30 -/* 8027A92C 0027788C 38 C1 00 3C */ addi r6, r1, 0x3c -/* 8027A930 00277890 91 41 02 74 */ stw r10, 0x274(r1) -/* 8027A934 00277894 38 E1 02 98 */ addi r7, r1, 0x298 -/* 8027A938 00277898 39 01 02 68 */ addi r8, r1, 0x268 -/* 8027A93C 0027789C 91 41 02 70 */ stw r10, 0x270(r1) -/* 8027A940 002778A0 90 01 02 78 */ stw r0, 0x278(r1) -/* 8027A944 002778A4 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8027A948 002778A8 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8027A94C 002778AC 81 5E 08 4C */ lwz r10, 0x84c(r30) -/* 8027A950 002778B0 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8027A954 002778B4 A1 4A 00 08 */ lhz r10, 8(r10) -/* 8027A958 002778B8 B1 41 00 44 */ sth r10, 0x44(r1) -/* 8027A95C 002778BC A0 1F 00 08 */ lhz r0, 8(r31) -/* 8027A960 002778C0 B1 41 00 40 */ sth r10, 0x40(r1) -/* 8027A964 002778C4 B0 01 00 48 */ sth r0, 0x48(r1) -/* 8027A968 002778C8 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 8027A96C 002778CC 4B DC F7 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_8027A970: -/* 8027A970 002778D0 C0 1F 0E D0 */ lfs f0, 0xed0(r31) -/* 8027A974 002778D4 7F E4 FB 78 */ mr r4, r31 -/* 8027A978 002778D8 38 61 02 B4 */ addi r3, r1, 0x2b4 -/* 8027A97C 002778DC 38 BC 00 3C */ addi r5, r28, 0x3c -/* 8027A980 002778E0 D0 01 05 54 */ stfs f0, 0x554(r1) -/* 8027A984 002778E4 C0 1F 0E D4 */ lfs f0, 0xed4(r31) -/* 8027A988 002778E8 D0 01 05 58 */ stfs f0, 0x558(r1) -/* 8027A98C 002778EC 80 1F 0E DC */ lwz r0, 0xedc(r31) -/* 8027A990 002778F0 90 01 05 60 */ stw r0, 0x560(r1) -/* 8027A994 002778F4 80 DF 0E E0 */ lwz r6, 0xee0(r31) -/* 8027A998 002778F8 80 1F 0E E4 */ lwz r0, 0xee4(r31) -/* 8027A99C 002778FC 90 C1 05 64 */ stw r6, 0x564(r1) -/* 8027A9A0 00277900 90 01 05 68 */ stw r0, 0x568(r1) -/* 8027A9A4 00277904 80 DF 0E E8 */ lwz r6, 0xee8(r31) -/* 8027A9A8 00277908 80 1F 0E EC */ lwz r0, 0xeec(r31) -/* 8027A9AC 0027790C 90 C1 05 6C */ stw r6, 0x56c(r1) -/* 8027A9B0 00277910 90 01 05 70 */ stw r0, 0x570(r1) -/* 8027A9B4 00277914 80 DF 0E F0 */ lwz r6, 0xef0(r31) -/* 8027A9B8 00277918 80 1F 0E F4 */ lwz r0, 0xef4(r31) -/* 8027A9BC 0027791C 90 C1 05 74 */ stw r6, 0x574(r1) -/* 8027A9C0 00277920 90 01 05 78 */ stw r0, 0x578(r1) -/* 8027A9C4 00277924 80 DF 0E F8 */ lwz r6, 0xef8(r31) -/* 8027A9C8 00277928 80 1F 0E FC */ lwz r0, 0xefc(r31) -/* 8027A9CC 0027792C 90 C1 05 7C */ stw r6, 0x57c(r1) -/* 8027A9D0 00277930 90 01 05 80 */ stw r0, 0x580(r1) -/* 8027A9D4 00277934 80 DF 0F 00 */ lwz r6, 0xf00(r31) -/* 8027A9D8 00277938 80 1F 0F 04 */ lwz r0, 0xf04(r31) -/* 8027A9DC 0027793C 90 C1 05 84 */ stw r6, 0x584(r1) -/* 8027A9E0 00277940 90 01 05 88 */ stw r0, 0x588(r1) -/* 8027A9E4 00277944 80 DF 0F 08 */ lwz r6, 0xf08(r31) -/* 8027A9E8 00277948 80 1F 0F 0C */ lwz r0, 0xf0c(r31) -/* 8027A9EC 0027794C 90 C1 05 8C */ stw r6, 0x58c(r1) -/* 8027A9F0 00277950 90 01 05 90 */ stw r0, 0x590(r1) -/* 8027A9F4 00277954 C0 1F 0F 10 */ lfs f0, 0xf10(r31) -/* 8027A9F8 00277958 D0 01 05 94 */ stfs f0, 0x594(r1) -/* 8027A9FC 0027795C 80 1F 0F 18 */ lwz r0, 0xf18(r31) -/* 8027AA00 00277960 90 01 05 9C */ stw r0, 0x59c(r1) -/* 8027AA04 00277964 80 DF 0F 1C */ lwz r6, 0xf1c(r31) -/* 8027AA08 00277968 80 1F 0F 20 */ lwz r0, 0xf20(r31) -/* 8027AA0C 0027796C 90 C1 05 A0 */ stw r6, 0x5a0(r1) -/* 8027AA10 00277970 90 01 05 A4 */ stw r0, 0x5a4(r1) -/* 8027AA14 00277974 80 DF 0F 24 */ lwz r6, 0xf24(r31) -/* 8027AA18 00277978 80 1F 0F 28 */ lwz r0, 0xf28(r31) -/* 8027AA1C 0027797C 90 C1 05 A8 */ stw r6, 0x5a8(r1) -/* 8027AA20 00277980 90 01 05 AC */ stw r0, 0x5ac(r1) -/* 8027AA24 00277984 80 DF 0F 2C */ lwz r6, 0xf2c(r31) -/* 8027AA28 00277988 80 1F 0F 30 */ lwz r0, 0xf30(r31) -/* 8027AA2C 0027798C 90 C1 05 B0 */ stw r6, 0x5b0(r1) -/* 8027AA30 00277990 90 01 05 B4 */ stw r0, 0x5b4(r1) -/* 8027AA34 00277994 80 DF 0F 34 */ lwz r6, 0xf34(r31) -/* 8027AA38 00277998 80 1F 0F 38 */ lwz r0, 0xf38(r31) -/* 8027AA3C 0027799C 90 C1 05 B8 */ stw r6, 0x5b8(r1) -/* 8027AA40 002779A0 90 01 05 BC */ stw r0, 0x5bc(r1) -/* 8027AA44 002779A4 80 DF 0F 3C */ lwz r6, 0xf3c(r31) -/* 8027AA48 002779A8 80 1F 0F 40 */ lwz r0, 0xf40(r31) -/* 8027AA4C 002779AC 90 C1 05 C0 */ stw r6, 0x5c0(r1) -/* 8027AA50 002779B0 90 01 05 C4 */ stw r0, 0x5c4(r1) -/* 8027AA54 002779B4 80 DF 0F 44 */ lwz r6, 0xf44(r31) -/* 8027AA58 002779B8 80 1F 0F 48 */ lwz r0, 0xf48(r31) -/* 8027AA5C 002779BC 90 C1 05 C8 */ stw r6, 0x5c8(r1) -/* 8027AA60 002779C0 90 01 05 CC */ stw r0, 0x5cc(r1) -/* 8027AA64 002779C4 C0 1F 0F 4C */ lfs f0, 0xf4c(r31) -/* 8027AA68 002779C8 D0 01 05 D0 */ stfs f0, 0x5d0(r1) -/* 8027AA6C 002779CC 80 1F 0F 54 */ lwz r0, 0xf54(r31) -/* 8027AA70 002779D0 90 01 05 D8 */ stw r0, 0x5d8(r1) -/* 8027AA74 002779D4 80 DF 0F 58 */ lwz r6, 0xf58(r31) -/* 8027AA78 002779D8 80 1F 0F 5C */ lwz r0, 0xf5c(r31) -/* 8027AA7C 002779DC 90 C1 05 DC */ stw r6, 0x5dc(r1) -/* 8027AA80 002779E0 90 01 05 E0 */ stw r0, 0x5e0(r1) -/* 8027AA84 002779E4 80 DF 0F 60 */ lwz r6, 0xf60(r31) -/* 8027AA88 002779E8 80 1F 0F 64 */ lwz r0, 0xf64(r31) -/* 8027AA8C 002779EC 90 C1 05 E4 */ stw r6, 0x5e4(r1) -/* 8027AA90 002779F0 90 01 05 E8 */ stw r0, 0x5e8(r1) -/* 8027AA94 002779F4 80 DF 0F 68 */ lwz r6, 0xf68(r31) -/* 8027AA98 002779F8 80 1F 0F 6C */ lwz r0, 0xf6c(r31) -/* 8027AA9C 002779FC 90 C1 05 EC */ stw r6, 0x5ec(r1) -/* 8027AAA0 00277A00 90 01 05 F0 */ stw r0, 0x5f0(r1) -/* 8027AAA4 00277A04 80 DF 0F 70 */ lwz r6, 0xf70(r31) -/* 8027AAA8 00277A08 80 1F 0F 74 */ lwz r0, 0xf74(r31) -/* 8027AAAC 00277A0C 90 C1 05 F4 */ stw r6, 0x5f4(r1) -/* 8027AAB0 00277A10 90 01 05 F8 */ stw r0, 0x5f8(r1) -/* 8027AAB4 00277A14 80 DF 0F 78 */ lwz r6, 0xf78(r31) -/* 8027AAB8 00277A18 80 1F 0F 7C */ lwz r0, 0xf7c(r31) -/* 8027AABC 00277A1C 90 C1 05 FC */ stw r6, 0x5fc(r1) -/* 8027AAC0 00277A20 90 01 06 00 */ stw r0, 0x600(r1) -/* 8027AAC4 00277A24 80 DF 0F 80 */ lwz r6, 0xf80(r31) -/* 8027AAC8 00277A28 80 1F 0F 84 */ lwz r0, 0xf84(r31) -/* 8027AACC 00277A2C 90 C1 06 04 */ stw r6, 0x604(r1) -/* 8027AAD0 00277A30 90 01 06 08 */ stw r0, 0x608(r1) -/* 8027AAD4 00277A34 C0 1F 0F 88 */ lfs f0, 0xf88(r31) -/* 8027AAD8 00277A38 D0 01 06 0C */ stfs f0, 0x60c(r1) -/* 8027AADC 00277A3C 80 1F 0F 8C */ lwz r0, 0xf8c(r31) -/* 8027AAE0 00277A40 90 01 06 10 */ stw r0, 0x610(r1) -/* 8027AAE4 00277A44 80 1F 0F 90 */ lwz r0, 0xf90(r31) -/* 8027AAE8 00277A48 90 01 06 14 */ stw r0, 0x614(r1) -/* 8027AAEC 00277A4C 80 DF 0F 94 */ lwz r6, 0xf94(r31) -/* 8027AAF0 00277A50 80 1F 0F 98 */ lwz r0, 0xf98(r31) -/* 8027AAF4 00277A54 90 C1 06 18 */ stw r6, 0x618(r1) -/* 8027AAF8 00277A58 90 01 06 1C */ stw r0, 0x61c(r1) -/* 8027AAFC 00277A5C 80 1F 0F 9C */ lwz r0, 0xf9c(r31) -/* 8027AB00 00277A60 90 01 06 20 */ stw r0, 0x620(r1) -/* 8027AB04 00277A64 C0 1F 0F A0 */ lfs f0, 0xfa0(r31) -/* 8027AB08 00277A68 D0 01 06 24 */ stfs f0, 0x624(r1) -/* 8027AB0C 00277A6C 4B DF DE 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027AB10 00277A70 C0 41 02 C0 */ lfs f2, 0x2c0(r1) -/* 8027AB14 00277A74 38 61 05 54 */ addi r3, r1, 0x554 -/* 8027AB18 00277A78 C0 21 02 D0 */ lfs f1, 0x2d0(r1) -/* 8027AB1C 00277A7C 38 81 01 04 */ addi r4, r1, 0x104 -/* 8027AB20 00277A80 C0 01 02 E0 */ lfs f0, 0x2e0(r1) -/* 8027AB24 00277A84 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 8027AB28 00277A88 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 8027AB2C 00277A8C 80 C1 00 F8 */ lwz r6, 0xf8(r1) -/* 8027AB30 00277A90 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 8027AB34 00277A94 80 A1 00 FC */ lwz r5, 0xfc(r1) -/* 8027AB38 00277A98 80 01 01 00 */ lwz r0, 0x100(r1) -/* 8027AB3C 00277A9C 90 C1 01 04 */ stw r6, 0x104(r1) -/* 8027AB40 00277AA0 90 A1 01 08 */ stw r5, 0x108(r1) -/* 8027AB44 00277AA4 90 01 01 0C */ stw r0, 0x10c(r1) -/* 8027AB48 00277AA8 C0 3F 0E C4 */ lfs f1, 0xec4(r31) -/* 8027AB4C 00277AAC 4B EE 23 21 */ bl SetSfxPositionAndDistance__16CCameraShakeDataFRC9CVector3ff -lbl_8027AB50: -/* 8027AB50 00277AB0 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8027AB54 00277AB4 4B D8 FD AD */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 8027AB58 00277AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027AB5C 00277ABC 40 82 00 14 */ bne lbl_8027AB70 -/* 8027AB60 00277AC0 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8027AB64 00277AC4 38 81 05 54 */ addi r4, r1, 0x554 -/* 8027AB68 00277AC8 38 A0 00 01 */ li r5, 1 -/* 8027AB6C 00277ACC 4B D8 FE B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab -lbl_8027AB70: -/* 8027AB70 00277AD0 34 81 05 D4 */ addic. r4, r1, 0x5d4 -/* 8027AB74 00277AD4 41 82 00 10 */ beq lbl_8027AB84 -/* 8027AB78 00277AD8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027AB7C 00277ADC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027AB80 00277AE0 90 04 00 00 */ stw r0, 0(r4) -lbl_8027AB84: -/* 8027AB84 00277AE4 34 81 05 98 */ addic. r4, r1, 0x598 -/* 8027AB88 00277AE8 41 82 00 10 */ beq lbl_8027AB98 -/* 8027AB8C 00277AEC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027AB90 00277AF0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027AB94 00277AF4 90 04 00 00 */ stw r0, 0(r4) -lbl_8027AB98: -/* 8027AB98 00277AF8 34 81 05 5C */ addic. r4, r1, 0x55c -/* 8027AB9C 00277AFC 41 82 00 AC */ beq lbl_8027AC48 -/* 8027ABA0 00277B00 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027ABA4 00277B04 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027ABA8 00277B08 90 04 00 00 */ stw r0, 0(r4) -/* 8027ABAC 00277B0C 48 00 00 9C */ b lbl_8027AC48 -lbl_8027ABB0: -/* 8027ABB0 00277B10 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 8027ABB4 00277B14 2C 00 00 07 */ cmpwi r0, 7 -/* 8027ABB8 00277B18 40 82 00 90 */ bne lbl_8027AC48 -/* 8027ABBC 00277B1C 80 7F 0C 54 */ lwz r3, 0xc54(r31) -/* 8027ABC0 00277B20 38 80 00 01 */ li r4, 1 -/* 8027ABC4 00277B24 81 83 00 00 */ lwz r12, 0(r3) -/* 8027ABC8 00277B28 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8027ABCC 00277B2C 7D 89 03 A6 */ mtctr r12 -/* 8027ABD0 00277B30 4E 80 04 21 */ bctrl -/* 8027ABD4 00277B34 80 1F 05 70 */ lwz r0, 0x570(r31) -/* 8027ABD8 00277B38 7F C3 F3 78 */ mr r3, r30 -/* 8027ABDC 00277B3C 38 81 00 34 */ addi r4, r1, 0x34 -/* 8027ABE0 00277B40 54 00 08 3C */ slwi r0, r0, 1 -/* 8027ABE4 00277B44 7C BF 02 14 */ add r5, r31, r0 -/* 8027ABE8 00277B48 A0 05 0B 28 */ lhz r0, 0xb28(r5) -/* 8027ABEC 00277B4C B0 01 00 34 */ sth r0, 0x34(r1) -/* 8027ABF0 00277B50 4B DD 19 85 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027ABF4 00277B54 28 03 00 00 */ cmplwi r3, 0 -/* 8027ABF8 00277B58 41 82 00 50 */ beq lbl_8027AC48 -/* 8027ABFC 00277B5C 80 03 04 90 */ lwz r0, 0x490(r3) -/* 8027AC00 00277B60 C3 C2 BC F4 */ lfs f30, lbl_805ADA14@sda21(r2) -/* 8027AC04 00277B64 90 01 00 AC */ stw r0, 0xac(r1) -/* 8027AC08 00277B68 F3 C1 A0 30 */ psq_st f30, 48(r1), 1, qr2 -/* 8027AC0C 00277B6C 38 81 00 AC */ addi r4, r1, 0xac -/* 8027AC10 00277B70 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8027AC14 00277B74 98 01 00 AF */ stb r0, 0xaf(r1) -/* 8027AC18 00277B78 80 7F 0C 54 */ lwz r3, 0xc54(r31) -/* 8027AC1C 00277B7C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AC20 00277B80 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8027AC24 00277B84 7D 89 03 A6 */ mtctr r12 -/* 8027AC28 00277B88 4E 80 04 21 */ bctrl -/* 8027AC2C 00277B8C 48 00 00 1C */ b lbl_8027AC48 -lbl_8027AC30: -/* 8027AC30 00277B90 80 7F 0C 54 */ lwz r3, 0xc54(r31) -/* 8027AC34 00277B94 38 80 00 00 */ li r4, 0 -/* 8027AC38 00277B98 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AC3C 00277B9C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8027AC40 00277BA0 7D 89 03 A6 */ mtctr r12 -/* 8027AC44 00277BA4 4E 80 04 21 */ bctrl -lbl_8027AC48: -/* 8027AC48 00277BA8 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8027AC4C 00277BAC 40 82 00 1C */ bne lbl_8027AC68 -/* 8027AC50 00277BB0 FC 20 F8 90 */ fmr f1, f31 -/* 8027AC54 00277BB4 7F E3 FB 78 */ mr r3, r31 -/* 8027AC58 00277BB8 7F C4 F3 78 */ mr r4, r30 -/* 8027AC5C 00277BBC 7F 85 E3 78 */ mr r5, r28 -/* 8027AC60 00277BC0 7F A6 EB 78 */ mr r6, r29 -/* 8027AC64 00277BC4 4B DF E2 4D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_8027AC68: -/* 8027AC68 00277BC8 E3 E1 06 98 */ psq_l f31, 1688(r1), 0, qr0 -/* 8027AC6C 00277BCC CB E1 06 90 */ lfd f31, 0x690(r1) -/* 8027AC70 00277BD0 E3 C1 06 88 */ psq_l f30, 1672(r1), 0, qr0 -/* 8027AC74 00277BD4 CB C1 06 80 */ lfd f30, 0x680(r1) -/* 8027AC78 00277BD8 E3 A1 06 78 */ psq_l f29, 1656(r1), 0, qr0 -/* 8027AC7C 00277BDC CB A1 06 70 */ lfd f29, 0x670(r1) -/* 8027AC80 00277BE0 E3 81 06 68 */ psq_l f28, 1640(r1), 0, qr0 -/* 8027AC84 00277BE4 CB 81 06 60 */ lfd f28, 0x660(r1) -/* 8027AC88 00277BE8 BA A1 06 34 */ lmw r21, 0x634(r1) -/* 8027AC8C 00277BEC 80 01 06 A4 */ lwz r0, 0x6a4(r1) -/* 8027AC90 00277BF0 7C 08 03 A6 */ mtlr r0 -/* 8027AC94 00277BF4 38 21 06 A0 */ addi r1, r1, 0x6a0 -/* 8027AC98 00277BF8 4E 80 00 20 */ blr - -.global AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__16CMetroidPrimeExoF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8027AC9C 00277BFC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027ACA0 00277C00 7C 08 02 A6 */ mflr r0 -/* 8027ACA4 00277C04 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027ACA8 00277C08 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8027ACAC 00277C0C 7C 9C 23 78 */ mr r28, r4 -/* 8027ACB0 00277C10 28 1C 00 2A */ cmplwi r28, 0x2a -/* 8027ACB4 00277C14 7C 7B 1B 78 */ mr r27, r3 -/* 8027ACB8 00277C18 7C BD 2B 78 */ mr r29, r5 -/* 8027ACBC 00277C1C 7C DE 33 78 */ mr r30, r6 -/* 8027ACC0 00277C20 3B E0 00 00 */ li r31, 0 -/* 8027ACC4 00277C24 41 81 01 DC */ bgt lbl_8027AEA0 -/* 8027ACC8 00277C28 3C 80 80 3F */ lis r4, lbl_803EB020@ha -/* 8027ACCC 00277C2C 57 80 10 3A */ slwi r0, r28, 2 -/* 8027ACD0 00277C30 38 84 B0 20 */ addi r4, r4, lbl_803EB020@l -/* 8027ACD4 00277C34 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8027ACD8 00277C38 7C 09 03 A6 */ mtctr r0 -/* 8027ACDC 00277C3C 4E 80 04 20 */ bctr -/* 8027ACE0 00277C40 80 7B 05 6C */ lwz r3, 0x56c(r27) -/* 8027ACE4 00277C44 7F C4 F3 78 */ mr r4, r30 -/* 8027ACE8 00277C48 38 A0 00 01 */ li r5, 1 -/* 8027ACEC 00277C4C 4B F2 C6 0D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027ACF0 00277C50 48 00 01 B0 */ b lbl_8027AEA0 -/* 8027ACF4 00277C54 80 7B 05 6C */ lwz r3, 0x56c(r27) -/* 8027ACF8 00277C58 7F C4 F3 78 */ mr r4, r30 -/* 8027ACFC 00277C5C 38 A0 00 00 */ li r5, 0 -/* 8027AD00 00277C60 4B F2 C5 F9 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027AD04 00277C64 48 00 01 9C */ b lbl_8027AEA0 -/* 8027AD08 00277C68 38 80 00 00 */ li r4, 0 -/* 8027AD0C 00277C6C 4B DD 80 61 */ bl CreateShadow__6CActorFb -/* 8027AD10 00277C70 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8027AD14 00277C74 7F C4 F3 78 */ mr r4, r30 -/* 8027AD18 00277C78 4B EB FF D9 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8027AD1C 00277C7C 3C 80 80 3D */ lis r4, lbl_803D546C@ha -/* 8027AD20 00277C80 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8027AD24 00277C84 38 84 54 6C */ addi r4, r4, lbl_803D546C@l -/* 8027AD28 00277C88 80 84 00 04 */ lwz r4, 4(r4) -/* 8027AD2C 00277C8C 4B EB FC AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8027AD30 00277C90 7F 63 DB 78 */ mr r3, r27 -/* 8027AD34 00277C94 4B FF E3 09 */ bl sub_8027903c -/* 8027AD38 00277C98 7F 63 DB 78 */ mr r3, r27 -/* 8027AD3C 00277C9C 7F C4 F3 78 */ mr r4, r30 -/* 8027AD40 00277CA0 4B FF E4 95 */ bl sub_802791d4 -/* 8027AD44 00277CA4 7F 63 DB 78 */ mr r3, r27 -/* 8027AD48 00277CA8 7F C4 F3 78 */ mr r4, r30 -/* 8027AD4C 00277CAC 38 A0 00 01 */ li r5, 1 -/* 8027AD50 00277CB0 4B FF DA B1 */ bl sub_80278800 -/* 8027AD54 00277CB4 7F 63 DB 78 */ mr r3, r27 -/* 8027AD58 00277CB8 7F C4 F3 78 */ mr r4, r30 -/* 8027AD5C 00277CBC 38 A0 00 01 */ li r5, 1 -/* 8027AD60 00277CC0 4B FF DE 01 */ bl sub_80278b60 -/* 8027AD64 00277CC4 7F 63 DB 78 */ mr r3, r27 -/* 8027AD68 00277CC8 7F C4 F3 78 */ mr r4, r30 -/* 8027AD6C 00277CCC 4B FF CE 99 */ bl sub_80277c04 -/* 8027AD70 00277CD0 7F 63 DB 78 */ mr r3, r27 -/* 8027AD74 00277CD4 7F C4 F3 78 */ mr r4, r30 -/* 8027AD78 00277CD8 4B FF 93 85 */ bl sub_802740fc -/* 8027AD7C 00277CDC 7F 63 DB 78 */ mr r3, r27 -/* 8027AD80 00277CE0 7F C4 F3 78 */ mr r4, r30 -/* 8027AD84 00277CE4 38 A0 00 00 */ li r5, 0 -/* 8027AD88 00277CE8 4B FF A8 25 */ bl sub_802755ac -/* 8027AD8C 00277CEC 7F 63 DB 78 */ mr r3, r27 -/* 8027AD90 00277CF0 7F C4 F3 78 */ mr r4, r30 -/* 8027AD94 00277CF4 4B FF 96 E9 */ bl sub_8027447c -/* 8027AD98 00277CF8 C0 02 BC 44 */ lfs f0, lbl_805AD964@sda21(r2) -/* 8027AD9C 00277CFC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8027ADA0 00277D00 D0 03 07 58 */ stfs f0, 0x758(r3) -/* 8027ADA4 00277D04 48 00 00 FC */ b lbl_8027AEA0 -/* 8027ADA8 00277D08 7F C5 F3 78 */ mr r5, r30 -/* 8027ADAC 00277D0C 38 80 00 30 */ li r4, 0x30 -/* 8027ADB0 00277D10 4B DD 91 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8027ADB4 00277D14 80 1B 00 04 */ lwz r0, 4(r27) -/* 8027ADB8 00277D18 7F 63 DB 78 */ mr r3, r27 -/* 8027ADBC 00277D1C 7F C4 F3 78 */ mr r4, r30 -/* 8027ADC0 00277D20 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027ADC4 00277D24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027ADC8 00277D28 4B FF BF 69 */ bl sub_80276d30 -/* 8027ADCC 00277D2C 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 8027ADD0 00277D30 80 9B 00 04 */ lwz r4, 4(r27) -/* 8027ADD4 00277D34 80 03 00 68 */ lwz r0, 0x68(r3) -/* 8027ADD8 00277D38 7C 04 00 00 */ cmpw r4, r0 -/* 8027ADDC 00277D3C 40 82 00 14 */ bne lbl_8027ADF0 -/* 8027ADE0 00277D40 7F 63 DB 78 */ mr r3, r27 -/* 8027ADE4 00277D44 7F C5 F3 78 */ mr r5, r30 -/* 8027ADE8 00277D48 38 80 00 07 */ li r4, 7 -/* 8027ADEC 00277D4C 4B FF B8 F9 */ bl sub_802766e4 -lbl_8027ADF0: -/* 8027ADF0 00277D50 80 7B 0F B0 */ lwz r3, 0xfb0(r27) -/* 8027ADF4 00277D54 28 03 00 00 */ cmplwi r3, 0 -/* 8027ADF8 00277D58 41 82 00 A8 */ beq lbl_8027AEA0 -/* 8027ADFC 00277D5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AE00 00277D60 38 80 00 00 */ li r4, 0 -/* 8027AE04 00277D64 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8027AE08 00277D68 7D 89 03 A6 */ mtctr r12 -/* 8027AE0C 00277D6C 4E 80 04 21 */ bctrl -/* 8027AE10 00277D70 48 00 00 90 */ b lbl_8027AEA0 -/* 8027AE14 00277D74 80 7B 05 6C */ lwz r3, 0x56c(r27) -/* 8027AE18 00277D78 7F C4 F3 78 */ mr r4, r30 -/* 8027AE1C 00277D7C 4B F2 C5 A9 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 8027AE20 00277D80 7F 63 DB 78 */ mr r3, r27 -/* 8027AE24 00277D84 7F C4 F3 78 */ mr r4, r30 -/* 8027AE28 00277D88 4B FF CD 4D */ bl sub_80277b74 -/* 8027AE2C 00277D8C 7F 63 DB 78 */ mr r3, r27 -/* 8027AE30 00277D90 7F C4 F3 78 */ mr r4, r30 -/* 8027AE34 00277D94 4B FF 92 99 */ bl sub_802740cc -/* 8027AE38 00277D98 7F 63 DB 78 */ mr r3, r27 -/* 8027AE3C 00277D9C 7F C4 F3 78 */ mr r4, r30 -/* 8027AE40 00277DA0 4B FF 96 0D */ bl sub_8027444c -/* 8027AE44 00277DA4 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027AE48 00277DA8 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8027AE4C 00277DAC D0 03 07 58 */ stfs f0, 0x758(r3) -/* 8027AE50 00277DB0 48 00 00 50 */ b lbl_8027AEA0 -/* 8027AE54 00277DB4 88 1B 14 44 */ lbz r0, 0x1444(r27) -/* 8027AE58 00277DB8 38 60 00 01 */ li r3, 1 -/* 8027AE5C 00277DBC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027AE60 00277DC0 98 1B 14 44 */ stb r0, 0x1444(r27) -/* 8027AE64 00277DC4 48 00 00 3C */ b lbl_8027AEA0 -/* 8027AE68 00277DC8 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8027AE6C 00277DCC 7F C5 F3 78 */ mr r5, r30 -/* 8027AE70 00277DD0 38 81 00 10 */ addi r4, r1, 0x10 -/* 8027AE74 00277DD4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8027AE78 00277DD8 4B FF DE 51 */ bl sub_80278cc8 -/* 8027AE7C 00277DDC 48 00 00 24 */ b lbl_8027AEA0 -/* 8027AE80 00277DE0 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8027AE84 00277DE4 7F C5 F3 78 */ mr r5, r30 -/* 8027AE88 00277DE8 38 81 00 0C */ addi r4, r1, 0xc -/* 8027AE8C 00277DEC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8027AE90 00277DF0 4B FF D3 ED */ bl sub_8027827c -/* 8027AE94 00277DF4 3B E0 00 01 */ li r31, 1 -/* 8027AE98 00277DF8 48 00 00 08 */ b lbl_8027AEA0 -/* 8027AE9C 00277DFC 3B E0 00 01 */ li r31, 1 -lbl_8027AEA0: -/* 8027AEA0 00277E00 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8027AEA4 00277E04 40 82 00 20 */ bne lbl_8027AEC4 -/* 8027AEA8 00277E08 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8027AEAC 00277E0C 7F 63 DB 78 */ mr r3, r27 -/* 8027AEB0 00277E10 7F 84 E3 78 */ mr r4, r28 -/* 8027AEB4 00277E14 7F C6 F3 78 */ mr r6, r30 -/* 8027AEB8 00277E18 B0 01 00 08 */ sth r0, 8(r1) -/* 8027AEBC 00277E1C 38 A1 00 08 */ addi r5, r1, 8 -/* 8027AEC0 00277E20 4B E0 1C B9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_8027AEC4: -/* 8027AEC4 00277E24 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8027AEC8 00277E28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027AECC 00277E2C 7C 08 03 A6 */ mtlr r0 -/* 8027AED0 00277E30 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027AED4 00277E34 4E 80 00 20 */ blr - -.global Accept__16CMetroidPrimeExoFR8IVisitor -Accept__16CMetroidPrimeExoFR8IVisitor: -/* 8027AED8 00277E38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AEDC 00277E3C 7C 08 02 A6 */ mflr r0 -/* 8027AEE0 00277E40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AEE4 00277E44 7C 60 1B 78 */ mr r0, r3 -/* 8027AEE8 00277E48 7C 83 23 78 */ mr r3, r4 -/* 8027AEEC 00277E4C 81 84 00 00 */ lwz r12, 0(r4) -/* 8027AEF0 00277E50 7C 04 03 78 */ mr r4, r0 -/* 8027AEF4 00277E54 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8027AEF8 00277E58 7D 89 03 A6 */ mtctr r12 -/* 8027AEFC 00277E5C 4E 80 04 21 */ bctrl -/* 8027AF00 00277E60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AF04 00277E64 7C 08 03 A6 */ mtlr r0 -/* 8027AF08 00277E68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AF0C 00277E6C 4E 80 00 20 */ blr - -.global __ct__16CMetroidPrimeExo -__ct__16CMetroidPrimeExo: -/* 8027AF10 00277E70 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 8027AF14 00277E74 7C 08 02 A6 */ mflr r0 -/* 8027AF18 00277E78 39 80 00 01 */ li r12, 1 -/* 8027AF1C 00277E7C 39 60 00 02 */ li r11, 2 -/* 8027AF20 00277E80 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 8027AF24 00277E84 BD C1 01 78 */ stmw r14, 0x178(r1) -/* 8027AF28 00277E88 7C CF 33 78 */ mr r15, r6 -/* 8027AF2C 00277E8C 7D 0E 43 78 */ mr r14, r8 -/* 8027AF30 00277E90 7C A6 2B 78 */ mr r6, r5 -/* 8027AF34 00277E94 7D E8 7B 78 */ mr r8, r15 -/* 8027AF38 00277E98 82 21 01 C8 */ lwz r17, 0x1c8(r1) -/* 8027AF3C 00277E9C 82 41 01 D8 */ lwz r18, 0x1d8(r1) -/* 8027AF40 00277EA0 7C 70 1B 78 */ mr r16, r3 -/* 8027AF44 00277EA4 82 61 01 DC */ lwz r19, 0x1dc(r1) -/* 8027AF48 00277EA8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8027AF4C 00277EAC 82 81 01 E0 */ lwz r20, 0x1e0(r1) -/* 8027AF50 00277EB0 82 A1 01 E4 */ lwz r21, 0x1e4(r1) -/* 8027AF54 00277EB4 82 C1 01 E8 */ lwz r22, 0x1e8(r1) -/* 8027AF58 00277EB8 82 E1 01 EC */ lwz r23, 0x1ec(r1) -/* 8027AF5C 00277EBC 83 01 01 F0 */ lwz r24, 0x1f0(r1) -/* 8027AF60 00277EC0 83 21 01 F4 */ lwz r25, 0x1f4(r1) -/* 8027AF64 00277EC4 83 41 01 F8 */ lwz r26, 0x1f8(r1) -/* 8027AF68 00277EC8 83 61 01 FC */ lwz r27, 0x1fc(r1) -/* 8027AF6C 00277ECC 83 81 02 00 */ lwz r28, 0x200(r1) -/* 8027AF70 00277ED0 83 A1 02 04 */ lwz r29, 0x204(r1) -/* 8027AF74 00277ED4 83 C1 02 08 */ lwz r30, 0x208(r1) -/* 8027AF78 00277ED8 83 E1 02 0C */ lwz r31, 0x20c(r1) -/* 8027AF7C 00277EDC 81 E1 02 18 */ lwz r15, 0x218(r1) -/* 8027AF80 00277EE0 A0 04 00 00 */ lhz r0, 0(r4) -/* 8027AF84 00277EE4 38 80 00 03 */ li r4, 3 -/* 8027AF88 00277EE8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8027AF8C 00277EEC 80 01 01 CC */ lwz r0, 0x1cc(r1) -/* 8027AF90 00277EF0 91 21 00 08 */ stw r9, 8(r1) -/* 8027AF94 00277EF4 7C E9 3B 78 */ mr r9, r7 -/* 8027AF98 00277EF8 80 01 01 D0 */ lwz r0, 0x1d0(r1) -/* 8027AF9C 00277EFC 38 E0 00 00 */ li r7, 0 -/* 8027AFA0 00277F00 91 81 00 0C */ stw r12, 0xc(r1) -/* 8027AFA4 00277F04 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 8027AFA8 00277F08 91 81 00 10 */ stw r12, 0x10(r1) -/* 8027AFAC 00277F0C 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8027AFB0 00277F10 90 81 00 14 */ stw r4, 0x14(r1) -/* 8027AFB4 00277F14 38 80 00 15 */ li r4, 0x15 -/* 8027AFB8 00277F18 91 41 00 18 */ stw r10, 0x18(r1) -/* 8027AFBC 00277F1C 7D CA 73 78 */ mr r10, r14 -/* 8027AFC0 00277F20 81 C1 02 10 */ lwz r14, 0x210(r1) -/* 8027AFC4 00277F24 91 61 00 1C */ stw r11, 0x1c(r1) -/* 8027AFC8 00277F28 4B E0 24 89 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8027AFCC 00277F2C 3C 60 80 3F */ lis r3, lbl_803EAD54@ha -/* 8027AFD0 00277F30 38 A0 00 00 */ li r5, 0 -/* 8027AFD4 00277F34 38 03 AD 54 */ addi r0, r3, lbl_803EAD54@l -/* 8027AFD8 00277F38 38 90 05 8C */ addi r4, r16, 0x58c -/* 8027AFDC 00277F3C 90 10 00 00 */ stw r0, 0(r16) -/* 8027AFE0 00277F40 38 00 00 01 */ li r0, 1 -/* 8027AFE4 00277F44 38 6F 00 04 */ addi r3, r15, 4 -/* 8027AFE8 00277F48 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) -/* 8027AFEC 00277F4C B0 D0 05 68 */ sth r6, 0x568(r16) -/* 8027AFF0 00277F50 90 B0 05 6C */ stw r5, 0x56c(r16) -/* 8027AFF4 00277F54 90 10 05 70 */ stw r0, 0x570(r16) -/* 8027AFF8 00277F58 90 10 05 74 */ stw r0, 0x574(r16) -/* 8027AFFC 00277F5C 90 B0 05 78 */ stw r5, 0x578(r16) -/* 8027B000 00277F60 90 B0 05 7C */ stw r5, 0x57c(r16) -/* 8027B004 00277F64 90 B0 05 80 */ stw r5, 0x580(r16) -/* 8027B008 00277F68 98 B0 05 84 */ stb r5, 0x584(r16) -/* 8027B00C 00277F6C 80 0F 00 00 */ lwz r0, 0(r15) -/* 8027B010 00277F70 90 10 05 88 */ stw r0, 0x588(r16) -/* 8027B014 00277F74 80 10 05 88 */ lwz r0, 0x588(r16) -/* 8027B018 00277F78 7C 09 03 A6 */ mtctr r0 -/* 8027B01C 00277F7C 2C 00 00 00 */ cmpwi r0, 0 -/* 8027B020 00277F80 40 81 01 08 */ ble lbl_8027B128 -lbl_8027B024: -/* 8027B024 00277F84 28 04 00 00 */ cmplwi r4, 0 -/* 8027B028 00277F88 41 82 00 F4 */ beq lbl_8027B11C -/* 8027B02C 00277F8C 80 03 00 00 */ lwz r0, 0(r3) -/* 8027B030 00277F90 90 04 00 00 */ stw r0, 0(r4) -/* 8027B034 00277F94 80 A3 00 04 */ lwz r5, 4(r3) -/* 8027B038 00277F98 80 03 00 08 */ lwz r0, 8(r3) -/* 8027B03C 00277F9C 90 A4 00 04 */ stw r5, 4(r4) -/* 8027B040 00277FA0 90 04 00 08 */ stw r0, 8(r4) -/* 8027B044 00277FA4 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 8027B048 00277FA8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8027B04C 00277FAC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8027B050 00277FB0 90 04 00 10 */ stw r0, 0x10(r4) -/* 8027B054 00277FB4 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 8027B058 00277FB8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8027B05C 00277FBC 90 A4 00 14 */ stw r5, 0x14(r4) -/* 8027B060 00277FC0 90 04 00 18 */ stw r0, 0x18(r4) -/* 8027B064 00277FC4 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 8027B068 00277FC8 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8027B06C 00277FCC 90 A4 00 1C */ stw r5, 0x1c(r4) -/* 8027B070 00277FD0 90 04 00 20 */ stw r0, 0x20(r4) -/* 8027B074 00277FD4 80 A3 00 24 */ lwz r5, 0x24(r3) -/* 8027B078 00277FD8 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8027B07C 00277FDC 90 A4 00 24 */ stw r5, 0x24(r4) -/* 8027B080 00277FE0 90 04 00 28 */ stw r0, 0x28(r4) -/* 8027B084 00277FE4 80 A3 00 2C */ lwz r5, 0x2c(r3) -/* 8027B088 00277FE8 80 03 00 30 */ lwz r0, 0x30(r3) -/* 8027B08C 00277FEC 90 A4 00 2C */ stw r5, 0x2c(r4) -/* 8027B090 00277FF0 90 04 00 30 */ stw r0, 0x30(r4) -/* 8027B094 00277FF4 80 A3 00 34 */ lwz r5, 0x34(r3) -/* 8027B098 00277FF8 80 03 00 38 */ lwz r0, 0x38(r3) -/* 8027B09C 00277FFC 90 A4 00 34 */ stw r5, 0x34(r4) -/* 8027B0A0 00278000 90 04 00 38 */ stw r0, 0x38(r4) -/* 8027B0A4 00278004 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8027B0A8 00278008 90 04 00 3C */ stw r0, 0x3c(r4) -/* 8027B0AC 0027800C 80 A3 00 40 */ lwz r5, 0x40(r3) -/* 8027B0B0 00278010 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8027B0B4 00278014 90 A4 00 40 */ stw r5, 0x40(r4) -/* 8027B0B8 00278018 90 04 00 44 */ stw r0, 0x44(r4) -/* 8027B0BC 0027801C 80 A3 00 48 */ lwz r5, 0x48(r3) -/* 8027B0C0 00278020 80 03 00 4C */ lwz r0, 0x4c(r3) -/* 8027B0C4 00278024 90 A4 00 48 */ stw r5, 0x48(r4) -/* 8027B0C8 00278028 90 04 00 4C */ stw r0, 0x4c(r4) -/* 8027B0CC 0027802C 80 A3 00 50 */ lwz r5, 0x50(r3) -/* 8027B0D0 00278030 80 03 00 54 */ lwz r0, 0x54(r3) -/* 8027B0D4 00278034 90 A4 00 50 */ stw r5, 0x50(r4) -/* 8027B0D8 00278038 90 04 00 54 */ stw r0, 0x54(r4) -/* 8027B0DC 0027803C 80 A3 00 58 */ lwz r5, 0x58(r3) -/* 8027B0E0 00278040 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 8027B0E4 00278044 90 A4 00 58 */ stw r5, 0x58(r4) -/* 8027B0E8 00278048 90 04 00 5C */ stw r0, 0x5c(r4) -/* 8027B0EC 0027804C 80 03 00 60 */ lwz r0, 0x60(r3) -/* 8027B0F0 00278050 90 04 00 60 */ stw r0, 0x60(r4) -/* 8027B0F4 00278054 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8027B0F8 00278058 90 04 00 64 */ stw r0, 0x64(r4) -/* 8027B0FC 0027805C 80 03 00 68 */ lwz r0, 0x68(r3) -/* 8027B100 00278060 90 04 00 68 */ stw r0, 0x68(r4) -/* 8027B104 00278064 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 8027B108 00278068 90 04 00 6C */ stw r0, 0x6c(r4) -/* 8027B10C 0027806C 80 A3 00 70 */ lwz r5, 0x70(r3) -/* 8027B110 00278070 80 03 00 74 */ lwz r0, 0x74(r3) -/* 8027B114 00278074 90 A4 00 70 */ stw r5, 0x70(r4) -/* 8027B118 00278078 90 04 00 74 */ stw r0, 0x74(r4) -lbl_8027B11C: -/* 8027B11C 0027807C 38 84 00 78 */ addi r4, r4, 0x78 -/* 8027B120 00278080 38 63 00 78 */ addi r3, r3, 0x78 -/* 8027B124 00278084 42 00 FF 00 */ bdnz lbl_8027B024 -lbl_8027B128: -/* 8027B128 00278088 38 00 00 00 */ li r0, 0 -/* 8027B12C 0027808C C0 22 BC B8 */ lfs f1, lbl_805AD9D8@sda21(r2) -/* 8027B130 00278090 90 10 07 6C */ stw r0, 0x76c(r16) -/* 8027B134 00278094 38 00 00 03 */ li r0, 3 -/* 8027B138 00278098 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027B13C 0027809C D0 30 08 C0 */ stfs f1, 0x8c0(r16) -/* 8027B140 002780A0 D0 10 08 C4 */ stfs f0, 0x8c4(r16) -/* 8027B144 002780A4 D0 10 08 C8 */ stfs f0, 0x8c8(r16) -/* 8027B148 002780A8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8027B14C 002780AC B0 70 08 CC */ sth r3, 0x8cc(r16) -/* 8027B150 002780B0 90 10 08 D0 */ stw r0, 0x8d0(r16) -/* 8027B154 002780B4 90 10 08 D4 */ stw r0, 0x8d4(r16) -/* 8027B158 002780B8 48 0C EE 5D */ bl Black__6CColorFv -/* 8027B15C 002780BC 80 03 00 00 */ lwz r0, 0(r3) -/* 8027B160 002780C0 90 10 08 D8 */ stw r0, 0x8d8(r16) -/* 8027B164 002780C4 48 0C EE 51 */ bl Black__6CColorFv -/* 8027B168 002780C8 80 03 00 00 */ lwz r0, 0(r3) -/* 8027B16C 002780CC 90 10 08 DC */ stw r0, 0x8dc(r16) -/* 8027B170 002780D0 48 0C EE 45 */ bl Black__6CColorFv -/* 8027B174 002780D4 80 03 00 00 */ lwz r0, 0(r3) -/* 8027B178 002780D8 38 61 01 14 */ addi r3, r1, 0x114 -/* 8027B17C 002780DC C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027B180 002780E0 90 10 08 E0 */ stw r0, 0x8e0(r16) -/* 8027B184 002780E4 80 82 BB F0 */ lwz r4, lbl_805AD910@sda21(r2) -/* 8027B188 002780E8 D0 10 08 E4 */ stfs f0, 0x8e4(r16) -/* 8027B18C 002780EC 4B D8 9B 2D */ bl string_l__4rstlFPCc -/* 8027B190 002780F0 80 70 00 64 */ lwz r3, 0x64(r16) -/* 8027B194 002780F4 38 81 01 14 */ addi r4, r1, 0x114 -/* 8027B198 002780F8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8027B19C 002780FC 38 63 00 0C */ addi r3, r3, 0xc -/* 8027B1A0 00278100 48 06 26 FD */ bl sub_802dd89c -/* 8027B1A4 00278104 90 70 08 E8 */ stw r3, 0x8e8(r16) -/* 8027B1A8 00278108 38 61 01 14 */ addi r3, r1, 0x114 -/* 8027B1AC 0027810C 48 0C 29 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027B1B0 00278110 C0 62 BC 08 */ lfs f3, lbl_805AD928@sda21(r2) -/* 8027B1B4 00278114 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027B1B8 00278118 39 E4 66 A0 */ addi r15, r4, skZero3f@l -/* 8027B1BC 0027811C 38 00 00 00 */ li r0, 0 -/* 8027B1C0 00278120 D0 70 08 EC */ stfs f3, 0x8ec(r16) -/* 8027B1C4 00278124 38 A0 FF FF */ li r5, -1 -/* 8027B1C8 00278128 C0 22 BC 40 */ lfs f1, lbl_805AD960@sda21(r2) -/* 8027B1CC 0027812C 34 70 0B 28 */ addic. r3, r16, 0xb28 -/* 8027B1D0 00278130 D0 70 08 F0 */ stfs f3, 0x8f0(r16) -/* 8027B1D4 00278134 38 80 00 04 */ li r4, 4 -/* 8027B1D8 00278138 C0 02 BC F8 */ lfs f0, lbl_805ADA18@sda21(r2) -/* 8027B1DC 0027813C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) -/* 8027B1E0 00278140 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 -/* 8027B1E4 00278144 98 D0 08 F4 */ stb r6, 0x8f4(r16) -/* 8027B1E8 00278148 88 D0 08 F4 */ lbz r6, 0x8f4(r16) -/* 8027B1EC 0027814C 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 -/* 8027B1F0 00278150 98 D0 08 F4 */ stb r6, 0x8f4(r16) -/* 8027B1F4 00278154 88 D0 08 F4 */ lbz r6, 0x8f4(r16) -/* 8027B1F8 00278158 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a -/* 8027B1FC 0027815C 98 D0 08 F4 */ stb r6, 0x8f4(r16) -/* 8027B200 00278160 88 D0 08 F4 */ lbz r6, 0x8f4(r16) -/* 8027B204 00278164 50 06 26 F6 */ rlwimi r6, r0, 4, 0x1b, 0x1b -/* 8027B208 00278168 98 D0 08 F4 */ stb r6, 0x8f4(r16) -/* 8027B20C 0027816C 88 D0 08 F4 */ lbz r6, 0x8f4(r16) -/* 8027B210 00278170 50 06 1F 38 */ rlwimi r6, r0, 3, 0x1c, 0x1c -/* 8027B214 00278174 98 D0 08 F4 */ stb r6, 0x8f4(r16) -/* 8027B218 00278178 C0 4F 00 00 */ lfs f2, 0(r15) -/* 8027B21C 0027817C D0 50 08 F8 */ stfs f2, 0x8f8(r16) -/* 8027B220 00278180 C0 4F 00 04 */ lfs f2, 4(r15) -/* 8027B224 00278184 D0 50 08 FC */ stfs f2, 0x8fc(r16) -/* 8027B228 00278188 C0 4F 00 08 */ lfs f2, 8(r15) -/* 8027B22C 0027818C D0 50 09 00 */ stfs f2, 0x900(r16) -/* 8027B230 00278190 C0 4F 00 00 */ lfs f2, 0(r15) -/* 8027B234 00278194 D0 50 09 04 */ stfs f2, 0x904(r16) -/* 8027B238 00278198 C0 4F 00 04 */ lfs f2, 4(r15) -/* 8027B23C 0027819C D0 50 09 08 */ stfs f2, 0x908(r16) -/* 8027B240 002781A0 C0 4F 00 08 */ lfs f2, 8(r15) -/* 8027B244 002781A4 D0 50 09 0C */ stfs f2, 0x90c(r16) -/* 8027B248 002781A8 D0 30 09 10 */ stfs f1, 0x910(r16) -/* 8027B24C 002781AC 88 D0 09 14 */ lbz r6, 0x914(r16) -/* 8027B250 002781B0 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 -/* 8027B254 002781B4 98 D0 09 14 */ stb r6, 0x914(r16) -/* 8027B258 002781B8 90 B0 09 18 */ stw r5, 0x918(r16) -/* 8027B25C 002781BC 92 30 09 1C */ stw r17, 0x91c(r16) -/* 8027B260 002781C0 D0 70 09 20 */ stfs f3, 0x920(r16) -/* 8027B264 002781C4 D0 10 09 24 */ stfs f0, 0x924(r16) -/* 8027B268 002781C8 D0 30 09 28 */ stfs f1, 0x928(r16) -/* 8027B26C 002781CC 90 10 09 2C */ stw r0, 0x92c(r16) -/* 8027B270 002781D0 80 B2 00 00 */ lwz r5, 0(r18) -/* 8027B274 002781D4 90 B0 09 30 */ stw r5, 0x930(r16) -/* 8027B278 002781D8 80 B2 00 04 */ lwz r5, 4(r18) -/* 8027B27C 002781DC 90 B0 09 34 */ stw r5, 0x934(r16) -/* 8027B280 002781E0 80 B2 00 08 */ lwz r5, 8(r18) -/* 8027B284 002781E4 90 B0 09 38 */ stw r5, 0x938(r16) -/* 8027B288 002781E8 80 B2 00 0C */ lwz r5, 0xc(r18) -/* 8027B28C 002781EC 90 B0 09 3C */ stw r5, 0x93c(r16) -/* 8027B290 002781F0 80 B2 00 10 */ lwz r5, 0x10(r18) -/* 8027B294 002781F4 90 B0 09 40 */ stw r5, 0x940(r16) -/* 8027B298 002781F8 88 B2 00 14 */ lbz r5, 0x14(r18) -/* 8027B29C 002781FC 98 B0 09 44 */ stb r5, 0x944(r16) -/* 8027B2A0 00278200 C0 12 00 18 */ lfs f0, 0x18(r18) -/* 8027B2A4 00278204 D0 10 09 48 */ stfs f0, 0x948(r16) -/* 8027B2A8 00278208 C0 12 00 1C */ lfs f0, 0x1c(r18) -/* 8027B2AC 0027820C D0 10 09 4C */ stfs f0, 0x94c(r16) -/* 8027B2B0 00278210 C0 12 00 20 */ lfs f0, 0x20(r18) -/* 8027B2B4 00278214 D0 10 09 50 */ stfs f0, 0x950(r16) -/* 8027B2B8 00278218 C0 12 00 24 */ lfs f0, 0x24(r18) -/* 8027B2BC 0027821C D0 10 09 54 */ stfs f0, 0x954(r16) -/* 8027B2C0 00278220 88 B2 00 28 */ lbz r5, 0x28(r18) -/* 8027B2C4 00278224 98 B0 09 58 */ stb r5, 0x958(r16) -/* 8027B2C8 00278228 C0 12 00 2C */ lfs f0, 0x2c(r18) -/* 8027B2CC 0027822C D0 10 09 5C */ stfs f0, 0x95c(r16) -/* 8027B2D0 00278230 C0 12 00 30 */ lfs f0, 0x30(r18) -/* 8027B2D4 00278234 D0 10 09 60 */ stfs f0, 0x960(r16) -/* 8027B2D8 00278238 80 B2 00 34 */ lwz r5, 0x34(r18) -/* 8027B2DC 0027823C 90 B0 09 64 */ stw r5, 0x964(r16) -/* 8027B2E0 00278240 A0 B2 00 38 */ lhz r5, 0x38(r18) -/* 8027B2E4 00278244 B0 B0 09 68 */ sth r5, 0x968(r16) -/* 8027B2E8 00278248 A0 B2 00 3A */ lhz r5, 0x3a(r18) -/* 8027B2EC 0027824C B0 B0 09 6A */ sth r5, 0x96a(r16) -/* 8027B2F0 00278250 90 10 09 6C */ stw r0, 0x96c(r16) -/* 8027B2F4 00278254 90 10 0A 80 */ stw r0, 0xa80(r16) -/* 8027B2F8 00278258 90 90 0B 24 */ stw r4, 0xb24(r16) -/* 8027B2FC 0027825C 41 82 00 0C */ beq lbl_8027B308 -/* 8027B300 00278260 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027B304 00278264 B0 03 00 00 */ sth r0, 0(r3) -lbl_8027B308: -/* 8027B308 00278268 34 63 00 02 */ addic. r3, r3, 2 -/* 8027B30C 0027826C 41 82 00 0C */ beq lbl_8027B318 -/* 8027B310 00278270 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027B314 00278274 B0 03 00 00 */ sth r0, 0(r3) -lbl_8027B318: -/* 8027B318 00278278 34 63 00 02 */ addic. r3, r3, 2 -/* 8027B31C 0027827C 41 82 00 0C */ beq lbl_8027B328 -/* 8027B320 00278280 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027B324 00278284 B0 03 00 00 */ sth r0, 0(r3) -lbl_8027B328: -/* 8027B328 00278288 34 63 00 02 */ addic. r3, r3, 2 -/* 8027B32C 0027828C 41 82 00 0C */ beq lbl_8027B338 -/* 8027B330 00278290 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027B334 00278294 B0 03 00 00 */ sth r0, 0(r3) -lbl_8027B338: -/* 8027B338 00278298 38 80 00 00 */ li r4, 0 -/* 8027B33C 0027829C 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8027B340 002782A0 90 90 0B 30 */ stw r4, 0xb30(r16) -/* 8027B344 002782A4 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8027B348 002782A8 38 61 01 04 */ addi r3, r1, 0x104 -/* 8027B34C 002782AC 38 A1 01 0C */ addi r5, r1, 0x10c -/* 8027B350 002782B0 90 90 0B C4 */ stw r4, 0xbc4(r16) -/* 8027B354 002782B4 90 01 01 0C */ stw r0, 0x10c(r1) -/* 8027B358 002782B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027B35C 002782BC 92 61 01 10 */ stw r19, 0x110(r1) -/* 8027B360 002782C0 81 84 00 00 */ lwz r12, 0(r4) -/* 8027B364 002782C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027B368 002782C8 7D 89 03 A6 */ mtctr r12 -/* 8027B36C 002782CC 4E 80 04 21 */ bctrl -/* 8027B370 002782D0 38 70 0C 48 */ addi r3, r16, 0xc48 -/* 8027B374 002782D4 38 81 01 04 */ addi r4, r1, 0x104 -/* 8027B378 002782D8 48 0C 5B 31 */ bl __ct__6CTokenFRC6CToken -/* 8027B37C 002782DC 38 61 01 04 */ addi r3, r1, 0x104 -/* 8027B380 002782E0 38 80 FF FF */ li r4, -1 -/* 8027B384 002782E4 48 0C 5A BD */ bl __dt__6CTokenFv -/* 8027B388 002782E8 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027B38C 002782EC 3A 40 00 00 */ li r18, 0 -/* 8027B390 002782F0 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027B394 002782F4 38 60 03 40 */ li r3, 0x340 -/* 8027B398 002782F8 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027B39C 002782FC 38 A0 00 00 */ li r5, 0 -/* 8027B3A0 00278300 48 09 A4 CD */ bl __nw__FUlPCcPCc -/* 8027B3A4 00278304 7C 71 1B 79 */ or. r17, r3, r3 -/* 8027B3A8 00278308 41 82 00 2C */ beq lbl_8027B3D4 -/* 8027B3AC 0027830C 38 61 00 FC */ addi r3, r1, 0xfc -/* 8027B3B0 00278310 38 90 0C 48 */ addi r4, r16, 0xc48 -/* 8027B3B4 00278314 48 0C 5A F5 */ bl __ct__6CTokenFRC6CToken -/* 8027B3B8 00278318 7E 23 8B 78 */ mr r3, r17 -/* 8027B3BC 0027831C 38 81 00 FC */ addi r4, r1, 0xfc -/* 8027B3C0 00278320 3A 40 00 01 */ li r18, 1 -/* 8027B3C4 00278324 38 A0 00 00 */ li r5, 0 -/* 8027B3C8 00278328 38 C0 00 01 */ li r6, 1 -/* 8027B3CC 0027832C 48 0A 40 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8027B3D0 00278330 7C 71 1B 78 */ mr r17, r3 -lbl_8027B3D4: -/* 8027B3D4 00278334 7C 71 00 D0 */ neg r3, r17 -/* 8027B3D8 00278338 7E 40 07 75 */ extsb. r0, r18 -/* 8027B3DC 0027833C 7C 60 8B 78 */ or r0, r3, r17 -/* 8027B3E0 00278340 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8027B3E4 00278344 98 10 0C 50 */ stb r0, 0xc50(r16) -/* 8027B3E8 00278348 92 30 0C 54 */ stw r17, 0xc54(r16) -/* 8027B3EC 0027834C 41 82 00 10 */ beq lbl_8027B3FC -/* 8027B3F0 00278350 38 61 00 FC */ addi r3, r1, 0xfc -/* 8027B3F4 00278354 38 80 00 00 */ li r4, 0 -/* 8027B3F8 00278358 48 0C 5A 49 */ bl __dt__6CTokenFv -lbl_8027B3FC: -/* 8027B3FC 0027835C 38 00 FF FF */ li r0, -1 -/* 8027B400 00278360 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8027B404 00278364 90 10 0C 58 */ stw r0, 0xc58(r16) -/* 8027B408 00278368 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8027B40C 0027836C C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027B410 00278370 7E A4 AB 78 */ mr r4, r21 -/* 8027B414 00278374 7E C5 B3 78 */ mr r5, r22 -/* 8027B418 00278378 38 70 0C 78 */ addi r3, r16, 0xc78 -/* 8027B41C 0027837C D0 10 0C 5C */ stfs f0, 0xc5c(r16) -/* 8027B420 00278380 C0 06 00 00 */ lfs f0, 0(r6) -/* 8027B424 00278384 D0 10 0C 60 */ stfs f0, 0xc60(r16) -/* 8027B428 00278388 C0 0F 00 04 */ lfs f0, 4(r15) -/* 8027B42C 0027838C D0 10 0C 64 */ stfs f0, 0xc64(r16) -/* 8027B430 00278390 C0 0F 00 08 */ lfs f0, 8(r15) -/* 8027B434 00278394 D0 10 0C 68 */ stfs f0, 0xc68(r16) -/* 8027B438 00278398 C0 06 00 00 */ lfs f0, 0(r6) -/* 8027B43C 0027839C D0 10 0C 6C */ stfs f0, 0xc6c(r16) -/* 8027B440 002783A0 C0 0F 00 04 */ lfs f0, 4(r15) -/* 8027B444 002783A4 D0 10 0C 70 */ stfs f0, 0xc70(r16) -/* 8027B448 002783A8 C0 0F 00 08 */ lfs f0, 8(r15) -/* 8027B44C 002783AC D0 10 0C 74 */ stfs f0, 0xc74(r16) -/* 8027B450 002783B0 4B FA 0C 59 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8027B454 002783B4 7E E4 BB 78 */ mr r4, r23 -/* 8027B458 002783B8 38 70 0C A0 */ addi r3, r16, 0xca0 -/* 8027B45C 002783BC 4B D8 F9 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B460 002783C0 7F 04 C3 78 */ mr r4, r24 -/* 8027B464 002783C4 7F 25 CB 78 */ mr r5, r25 -/* 8027B468 002783C8 38 70 0D 74 */ addi r3, r16, 0xd74 -/* 8027B46C 002783CC 4B FA 0C 3D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8027B470 002783D0 7F 44 D3 78 */ mr r4, r26 -/* 8027B474 002783D4 38 70 0D 9C */ addi r3, r16, 0xd9c -/* 8027B478 002783D8 4B D8 F9 31 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B47C 002783DC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8027B480 002783E0 38 70 0E 74 */ addi r3, r16, 0xe74 -/* 8027B484 002783E4 38 9B 00 04 */ addi r4, r27, 4 -/* 8027B488 002783E8 90 10 0E 70 */ stw r0, 0xe70(r16) -/* 8027B48C 002783EC 48 0C 5A 1D */ bl __ct__6CTokenFRC6CToken -/* 8027B490 002783F0 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 8027B494 002783F4 38 00 00 00 */ li r0, 0 -/* 8027B498 002783F8 7F A4 EB 78 */ mr r4, r29 -/* 8027B49C 002783FC 38 70 0E D0 */ addi r3, r16, 0xed0 -/* 8027B4A0 00278400 90 B0 0E 7C */ stw r5, 0xe7c(r16) -/* 8027B4A4 00278404 88 BB 00 10 */ lbz r5, 0x10(r27) -/* 8027B4A8 00278408 98 B0 0E 80 */ stb r5, 0xe80(r16) -/* 8027B4AC 0027840C C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 8027B4B0 00278410 D0 10 0E 84 */ stfs f0, 0xe84(r16) -/* 8027B4B4 00278414 C0 1B 00 18 */ lfs f0, 0x18(r27) -/* 8027B4B8 00278418 D0 10 0E 88 */ stfs f0, 0xe88(r16) -/* 8027B4BC 0027841C C0 1B 00 1C */ lfs f0, 0x1c(r27) -/* 8027B4C0 00278420 D0 10 0E 8C */ stfs f0, 0xe8c(r16) -/* 8027B4C4 00278424 C0 1B 00 20 */ lfs f0, 0x20(r27) -/* 8027B4C8 00278428 D0 10 0E 90 */ stfs f0, 0xe90(r16) -/* 8027B4CC 0027842C 88 BB 00 24 */ lbz r5, 0x24(r27) -/* 8027B4D0 00278430 98 B0 0E 94 */ stb r5, 0xe94(r16) -/* 8027B4D4 00278434 C0 1B 00 28 */ lfs f0, 0x28(r27) -/* 8027B4D8 00278438 D0 10 0E 98 */ stfs f0, 0xe98(r16) -/* 8027B4DC 0027843C C0 1B 00 2C */ lfs f0, 0x2c(r27) -/* 8027B4E0 00278440 D0 10 0E 9C */ stfs f0, 0xe9c(r16) -/* 8027B4E4 00278444 C0 1B 00 30 */ lfs f0, 0x30(r27) -/* 8027B4E8 00278448 D0 10 0E A0 */ stfs f0, 0xea0(r16) -/* 8027B4EC 0027844C 80 BB 00 34 */ lwz r5, 0x34(r27) -/* 8027B4F0 00278450 90 B0 0E A4 */ stw r5, 0xea4(r16) -/* 8027B4F4 00278454 88 BB 00 38 */ lbz r5, 0x38(r27) -/* 8027B4F8 00278458 98 B0 0E A8 */ stb r5, 0xea8(r16) -/* 8027B4FC 0027845C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8027B500 00278460 B0 B0 0E AC */ sth r5, 0xeac(r16) -/* 8027B504 00278464 90 10 0E B0 */ stw r0, 0xeb0(r16) -/* 8027B508 00278468 80 1C 00 00 */ lwz r0, 0(r28) -/* 8027B50C 0027846C 90 10 0E B4 */ stw r0, 0xeb4(r16) -/* 8027B510 00278470 88 1C 00 04 */ lbz r0, 4(r28) -/* 8027B514 00278474 98 10 0E B8 */ stb r0, 0xeb8(r16) -/* 8027B518 00278478 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8027B51C 0027847C D0 10 0E BC */ stfs f0, 0xebc(r16) -/* 8027B520 00278480 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8027B524 00278484 D0 10 0E C0 */ stfs f0, 0xec0(r16) -/* 8027B528 00278488 C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 8027B52C 0027848C D0 10 0E C4 */ stfs f0, 0xec4(r16) -/* 8027B530 00278490 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 8027B534 00278494 D0 10 0E C8 */ stfs f0, 0xec8(r16) -/* 8027B538 00278498 88 1C 00 18 */ lbz r0, 0x18(r28) -/* 8027B53C 0027849C 98 10 0E CC */ stb r0, 0xecc(r16) -/* 8027B540 002784A0 4B D8 F8 69 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B544 002784A4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8027B548 002784A8 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 8027B54C 002784AC 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 8027B550 002784B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B554 002784B4 38 84 02 39 */ addi r4, r4, 0x239 -/* 8027B558 002784B8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027B55C 002784BC 7D 89 03 A6 */ mtctr r12 -/* 8027B560 002784C0 4E 80 04 21 */ bctrl -/* 8027B564 002784C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027B568 002784C8 7C 65 1B 78 */ mr r5, r3 -/* 8027B56C 002784CC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8027B570 002784D0 81 84 00 00 */ lwz r12, 0(r4) -/* 8027B574 002784D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027B578 002784D8 7D 89 03 A6 */ mtctr r12 -/* 8027B57C 002784DC 4E 80 04 21 */ bctrl -/* 8027B580 002784E0 38 70 0F A4 */ addi r3, r16, 0xfa4 -/* 8027B584 002784E4 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 8027B588 002784E8 48 0C 59 21 */ bl __ct__6CTokenFRC6CToken -/* 8027B58C 002784EC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8027B590 002784F0 38 80 FF FF */ li r4, -1 -/* 8027B594 002784F4 48 0C 58 AD */ bl __dt__6CTokenFv -/* 8027B598 002784F8 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027B59C 002784FC 3A 20 00 00 */ li r17, 0 -/* 8027B5A0 00278500 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027B5A4 00278504 38 60 04 58 */ li r3, 0x458 -/* 8027B5A8 00278508 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027B5AC 0027850C 38 A0 00 00 */ li r5, 0 -/* 8027B5B0 00278510 48 09 A2 BD */ bl __nw__FUlPCcPCc -/* 8027B5B4 00278514 7C 6F 1B 79 */ or. r15, r3, r3 -/* 8027B5B8 00278518 41 82 00 24 */ beq lbl_8027B5DC -/* 8027B5BC 0027851C 38 61 00 EC */ addi r3, r1, 0xec -/* 8027B5C0 00278520 38 90 0F A4 */ addi r4, r16, 0xfa4 -/* 8027B5C4 00278524 48 0C 58 E5 */ bl __ct__6CTokenFRC6CToken -/* 8027B5C8 00278528 7D E3 7B 78 */ mr r3, r15 -/* 8027B5CC 0027852C 38 81 00 EC */ addi r4, r1, 0xec -/* 8027B5D0 00278530 3A 20 00 01 */ li r17, 1 -/* 8027B5D4 00278534 48 0E 6B 9D */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8027B5D8 00278538 7C 6F 1B 78 */ mr r15, r3 -lbl_8027B5DC: -/* 8027B5DC 0027853C 7C 6F 00 D0 */ neg r3, r15 -/* 8027B5E0 00278540 7E 20 07 75 */ extsb. r0, r17 -/* 8027B5E4 00278544 7C 60 7B 78 */ or r0, r3, r15 -/* 8027B5E8 00278548 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8027B5EC 0027854C 98 10 0F AC */ stb r0, 0xfac(r16) -/* 8027B5F0 00278550 91 F0 0F B0 */ stw r15, 0xfb0(r16) -/* 8027B5F4 00278554 41 82 00 10 */ beq lbl_8027B604 -/* 8027B5F8 00278558 38 61 00 EC */ addi r3, r1, 0xec -/* 8027B5FC 0027855C 38 80 00 00 */ li r4, 0 -/* 8027B600 00278560 48 0C 58 41 */ bl __dt__6CTokenFv -lbl_8027B604: -/* 8027B604 00278564 C0 02 BC 08 */ lfs f0, lbl_805AD928@sda21(r2) -/* 8027B608 00278568 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 8027B60C 0027856C 38 C0 00 00 */ li r6, 0 -/* 8027B610 00278570 38 61 00 DC */ addi r3, r1, 0xdc -/* 8027B614 00278574 D0 10 0F B4 */ stfs f0, 0xfb4(r16) -/* 8027B618 00278578 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 8027B61C 0027857C 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 8027B620 00278580 D0 10 0F B8 */ stfs f0, 0xfb8(r16) -/* 8027B624 00278584 90 D0 0F BC */ stw r6, 0xfbc(r16) -/* 8027B628 00278588 98 D0 0F C0 */ stb r6, 0xfc0(r16) -/* 8027B62C 0027858C 98 D0 0F C1 */ stb r6, 0xfc1(r16) -/* 8027B630 00278590 90 D0 0F C4 */ stw r6, 0xfc4(r16) -/* 8027B634 00278594 90 D0 0F D8 */ stw r6, 0xfd8(r16) -/* 8027B638 00278598 90 D0 0F EC */ stw r6, 0xfec(r16) -/* 8027B63C 0027859C 90 D0 10 00 */ stw r6, 0x1000(r16) -/* 8027B640 002785A0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8027B644 002785A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027B648 002785A8 91 C1 00 E8 */ stw r14, 0xe8(r1) -/* 8027B64C 002785AC 81 84 00 00 */ lwz r12, 0(r4) -/* 8027B650 002785B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027B654 002785B4 7D 89 03 A6 */ mtctr r12 -/* 8027B658 002785B8 4E 80 04 21 */ bctrl -/* 8027B65C 002785BC 38 70 10 14 */ addi r3, r16, 0x1014 -/* 8027B660 002785C0 38 81 00 DC */ addi r4, r1, 0xdc -/* 8027B664 002785C4 48 0C 58 45 */ bl __ct__6CTokenFRC6CToken -/* 8027B668 002785C8 38 61 00 DC */ addi r3, r1, 0xdc -/* 8027B66C 002785CC 38 80 FF FF */ li r4, -1 -/* 8027B670 002785D0 48 0C 57 D1 */ bl __dt__6CTokenFv -/* 8027B674 002785D4 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8027B678 002785D8 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8027B67C 002785DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027B680 002785E0 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 8027B684 002785E4 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8027B688 002785E8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8027B68C 002785EC 38 61 00 CC */ addi r3, r1, 0xcc -/* 8027B690 002785F0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8027B694 002785F4 81 84 00 00 */ lwz r12, 0(r4) -/* 8027B698 002785F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027B69C 002785FC 7D 89 03 A6 */ mtctr r12 -/* 8027B6A0 00278600 4E 80 04 21 */ bctrl -/* 8027B6A4 00278604 38 70 10 1C */ addi r3, r16, 0x101c -/* 8027B6A8 00278608 38 81 00 CC */ addi r4, r1, 0xcc -/* 8027B6AC 0027860C 48 0C 57 FD */ bl __ct__6CTokenFRC6CToken -/* 8027B6B0 00278610 38 61 00 CC */ addi r3, r1, 0xcc -/* 8027B6B4 00278614 38 80 FF FF */ li r4, -1 -/* 8027B6B8 00278618 48 0C 57 89 */ bl __dt__6CTokenFv -/* 8027B6BC 0027861C 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027B6C0 00278620 39 E0 00 00 */ li r15, 0 -/* 8027B6C4 00278624 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027B6C8 00278628 38 60 03 40 */ li r3, 0x340 -/* 8027B6CC 0027862C 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027B6D0 00278630 38 A0 00 00 */ li r5, 0 -/* 8027B6D4 00278634 48 09 A1 99 */ bl __nw__FUlPCcPCc -/* 8027B6D8 00278638 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8027B6DC 0027863C 41 82 00 2C */ beq lbl_8027B708 -/* 8027B6E0 00278640 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8027B6E4 00278644 38 90 10 14 */ addi r4, r16, 0x1014 -/* 8027B6E8 00278648 48 0C 57 C1 */ bl __ct__6CTokenFRC6CToken -/* 8027B6EC 0027864C 7D C3 73 78 */ mr r3, r14 -/* 8027B6F0 00278650 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 8027B6F4 00278654 39 E0 00 01 */ li r15, 1 -/* 8027B6F8 00278658 38 A0 00 00 */ li r5, 0 -/* 8027B6FC 0027865C 38 C0 00 01 */ li r6, 1 -/* 8027B700 00278660 48 0A 3C E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8027B704 00278664 7C 6E 1B 78 */ mr r14, r3 -lbl_8027B708: -/* 8027B708 00278668 7C 6E 00 D0 */ neg r3, r14 -/* 8027B70C 0027866C 7D E0 07 75 */ extsb. r0, r15 -/* 8027B710 00278670 7C 60 73 78 */ or r0, r3, r14 -/* 8027B714 00278674 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8027B718 00278678 98 10 10 24 */ stb r0, 0x1024(r16) -/* 8027B71C 0027867C 91 D0 10 28 */ stw r14, 0x1028(r16) -/* 8027B720 00278680 41 82 00 10 */ beq lbl_8027B730 -/* 8027B724 00278684 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8027B728 00278688 38 80 00 00 */ li r4, 0 -/* 8027B72C 0027868C 48 0C 57 15 */ bl __dt__6CTokenFv -lbl_8027B730: -/* 8027B730 00278690 38 C0 00 00 */ li r6, 0 -/* 8027B734 00278694 C0 22 BC 08 */ lfs f1, lbl_805AD928@sda21(r2) -/* 8027B738 00278698 90 D0 10 2C */ stw r6, 0x102c(r16) -/* 8027B73C 0027869C 38 00 FF FF */ li r0, -1 -/* 8027B740 002786A0 C0 02 BC FC */ lfs f0, lbl_805ADA1C@sda21(r2) -/* 8027B744 002786A4 38 70 10 8C */ addi r3, r16, 0x108c -/* 8027B748 002786A8 90 D0 10 38 */ stw r6, 0x1038(r16) -/* 8027B74C 002786AC 80 81 01 CC */ lwz r4, 0x1cc(r1) -/* 8027B750 002786B0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8027B754 002786B4 B0 B0 10 44 */ sth r5, 0x1044(r16) -/* 8027B758 002786B8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8027B75C 002786BC B0 B0 10 46 */ sth r5, 0x1046(r16) -/* 8027B760 002786C0 D0 30 10 48 */ stfs f1, 0x1048(r16) -/* 8027B764 002786C4 D0 10 10 4C */ stfs f0, 0x104c(r16) -/* 8027B768 002786C8 D0 30 10 50 */ stfs f1, 0x1050(r16) -/* 8027B76C 002786CC 88 B0 10 54 */ lbz r5, 0x1054(r16) -/* 8027B770 002786D0 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 -/* 8027B774 002786D4 98 B0 10 54 */ stb r5, 0x1054(r16) -/* 8027B778 002786D8 88 B0 10 54 */ lbz r5, 0x1054(r16) -/* 8027B77C 002786DC 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 -/* 8027B780 002786E0 98 B0 10 54 */ stb r5, 0x1054(r16) -/* 8027B784 002786E4 88 B0 10 54 */ lbz r5, 0x1054(r16) -/* 8027B788 002786E8 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a -/* 8027B78C 002786EC 98 B0 10 54 */ stb r5, 0x1054(r16) -/* 8027B790 002786F0 88 B0 10 54 */ lbz r5, 0x1054(r16) -/* 8027B794 002786F4 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b -/* 8027B798 002786F8 98 B0 10 54 */ stb r5, 0x1054(r16) -/* 8027B79C 002786FC 90 D0 10 58 */ stw r6, 0x1058(r16) -/* 8027B7A0 00278700 90 D0 10 6C */ stw r6, 0x106c(r16) -/* 8027B7A4 00278704 D0 30 10 74 */ stfs f1, 0x1074(r16) -/* 8027B7A8 00278708 90 10 10 78 */ stw r0, 0x1078(r16) -/* 8027B7AC 0027870C D0 30 10 7C */ stfs f1, 0x107c(r16) -/* 8027B7B0 00278710 D0 30 10 84 */ stfs f1, 0x1084(r16) -/* 8027B7B4 00278714 D0 30 10 88 */ stfs f1, 0x1088(r16) -/* 8027B7B8 00278718 4B D8 F5 F1 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B7BC 0027871C 38 00 00 00 */ li r0, 0 -/* 8027B7C0 00278720 80 81 01 D0 */ lwz r4, 0x1d0(r1) -/* 8027B7C4 00278724 90 10 11 60 */ stw r0, 0x1160(r16) -/* 8027B7C8 00278728 38 70 12 94 */ addi r3, r16, 0x1294 -/* 8027B7CC 0027872C 90 10 12 58 */ stw r0, 0x1258(r16) -/* 8027B7D0 00278730 4B D8 F5 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B7D4 00278734 80 81 01 D4 */ lwz r4, 0x1d4(r1) -/* 8027B7D8 00278738 38 70 13 68 */ addi r3, r16, 0x1368 -/* 8027B7DC 0027873C 4B D8 F5 CD */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8027B7E0 00278740 3C 80 80 3D */ lis r4, lbl_803D5618@ha -/* 8027B7E4 00278744 38 60 00 9C */ li r3, 0x9c -/* 8027B7E8 00278748 38 84 56 18 */ addi r4, r4, lbl_803D5618@l -/* 8027B7EC 0027874C 38 A0 00 00 */ li r5, 0 -/* 8027B7F0 00278750 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027B7F4 00278754 48 09 A0 79 */ bl __nw__FUlPCcPCc -/* 8027B7F8 00278758 28 03 00 00 */ cmplwi r3, 0 -/* 8027B7FC 0027875C 41 82 00 14 */ beq lbl_8027B810 -/* 8027B800 00278760 38 80 00 80 */ li r4, 0x80 -/* 8027B804 00278764 38 A0 00 80 */ li r5, 0x80 -/* 8027B808 00278768 38 C0 00 01 */ li r6, 1 -/* 8027B80C 0027876C 48 02 2B D1 */ bl __ct__16CProjectedShadowFv -lbl_8027B810: -/* 8027B810 00278770 90 70 14 3C */ stw r3, 0x143c(r16) -/* 8027B814 00278774 38 00 FF FF */ li r0, -1 -/* 8027B818 00278778 39 E0 00 00 */ li r15, 0 -/* 8027B81C 0027877C 39 D4 00 04 */ addi r14, r20, 4 -/* 8027B820 00278780 90 10 14 40 */ stw r0, 0x1440(r16) -/* 8027B824 00278784 3A 30 0B 30 */ addi r17, r16, 0xb30 -/* 8027B828 00278788 3A 50 0B C4 */ addi r18, r16, 0xbc4 -/* 8027B82C 0027878C 3A 70 0A 80 */ addi r19, r16, 0xa80 -/* 8027B830 00278790 88 10 14 44 */ lbz r0, 0x1444(r16) -/* 8027B834 00278794 51 E0 3E 30 */ rlwimi r0, r15, 7, 0x18, 0x18 -/* 8027B838 00278798 3A A0 00 00 */ li r21, 0 -/* 8027B83C 0027879C 98 10 14 44 */ stb r0, 0x1444(r16) -/* 8027B840 002787A0 88 10 14 44 */ lbz r0, 0x1444(r16) -/* 8027B844 002787A4 51 E0 36 72 */ rlwimi r0, r15, 6, 0x19, 0x19 -/* 8027B848 002787A8 98 10 14 44 */ stb r0, 0x1444(r16) -/* 8027B84C 002787AC 48 00 01 94 */ b lbl_8027B9E0 -lbl_8027B850: -/* 8027B850 002787B0 7D C4 73 78 */ mr r4, r14 -/* 8027B854 002787B4 38 70 09 6C */ addi r3, r16, 0x96c -/* 8027B858 002787B8 48 00 07 CD */ bl sub_8027c024 -/* 8027B85C 002787BC 80 11 00 00 */ lwz r0, 0(r17) -/* 8027B860 002787C0 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8027B864 002787C4 7C 71 02 14 */ add r3, r17, r0 -/* 8027B868 002787C8 34 63 00 04 */ addic. r3, r3, 4 -/* 8027B86C 002787CC 41 82 00 4C */ beq lbl_8027B8B8 -/* 8027B870 002787D0 80 0E 00 64 */ lwz r0, 0x64(r14) -/* 8027B874 002787D4 90 03 00 00 */ stw r0, 0(r3) -/* 8027B878 002787D8 80 0E 00 68 */ lwz r0, 0x68(r14) -/* 8027B87C 002787DC 90 03 00 04 */ stw r0, 4(r3) -/* 8027B880 002787E0 80 0E 00 6C */ lwz r0, 0x6c(r14) -/* 8027B884 002787E4 90 03 00 08 */ stw r0, 8(r3) -/* 8027B888 002787E8 80 0E 00 70 */ lwz r0, 0x70(r14) -/* 8027B88C 002787EC 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027B890 002787F0 80 0E 00 74 */ lwz r0, 0x74(r14) -/* 8027B894 002787F4 90 03 00 10 */ stw r0, 0x10(r3) -/* 8027B898 002787F8 80 0E 00 78 */ lwz r0, 0x78(r14) -/* 8027B89C 002787FC 90 03 00 14 */ stw r0, 0x14(r3) -/* 8027B8A0 00278800 80 0E 00 7C */ lwz r0, 0x7c(r14) -/* 8027B8A4 00278804 90 03 00 18 */ stw r0, 0x18(r3) -/* 8027B8A8 00278808 80 0E 00 80 */ lwz r0, 0x80(r14) -/* 8027B8AC 0027880C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8027B8B0 00278810 80 0E 00 84 */ lwz r0, 0x84(r14) -/* 8027B8B4 00278814 90 03 00 20 */ stw r0, 0x20(r3) -lbl_8027B8B8: -/* 8027B8B8 00278818 80 70 0B 30 */ lwz r3, 0xb30(r16) -/* 8027B8BC 0027881C 38 03 00 01 */ addi r0, r3, 1 -/* 8027B8C0 00278820 90 10 0B 30 */ stw r0, 0xb30(r16) -/* 8027B8C4 00278824 80 12 00 00 */ lwz r0, 0(r18) -/* 8027B8C8 00278828 80 8E 00 8C */ lwz r4, 0x8c(r14) -/* 8027B8CC 0027882C 54 00 28 34 */ slwi r0, r0, 5 -/* 8027B8D0 00278830 88 6E 00 90 */ lbz r3, 0x90(r14) -/* 8027B8D4 00278834 7C B2 02 14 */ add r5, r18, r0 -/* 8027B8D8 00278838 C0 6E 00 94 */ lfs f3, 0x94(r14) -/* 8027B8DC 0027883C C0 4E 00 98 */ lfs f2, 0x98(r14) -/* 8027B8E0 00278840 34 A5 00 04 */ addic. r5, r5, 4 -/* 8027B8E4 00278844 C0 2E 00 9C */ lfs f1, 0x9c(r14) -/* 8027B8E8 00278848 C0 0E 00 A0 */ lfs f0, 0xa0(r14) -/* 8027B8EC 0027884C 88 0E 00 A4 */ lbz r0, 0xa4(r14) -/* 8027B8F0 00278850 90 81 01 28 */ stw r4, 0x128(r1) -/* 8027B8F4 00278854 C0 8E 00 88 */ lfs f4, 0x88(r14) -/* 8027B8F8 00278858 98 61 01 2C */ stb r3, 0x12c(r1) -/* 8027B8FC 0027885C D0 61 01 30 */ stfs f3, 0x130(r1) -/* 8027B900 00278860 D0 41 01 34 */ stfs f2, 0x134(r1) -/* 8027B904 00278864 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 8027B908 00278868 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 8027B90C 0027886C 98 01 01 40 */ stb r0, 0x140(r1) -/* 8027B910 00278870 41 82 00 24 */ beq lbl_8027B934 -/* 8027B914 00278874 D0 85 00 00 */ stfs f4, 0(r5) -/* 8027B918 00278878 90 85 00 04 */ stw r4, 4(r5) -/* 8027B91C 0027887C 98 65 00 08 */ stb r3, 8(r5) -/* 8027B920 00278880 D0 65 00 0C */ stfs f3, 0xc(r5) -/* 8027B924 00278884 D0 45 00 10 */ stfs f2, 0x10(r5) -/* 8027B928 00278888 D0 25 00 14 */ stfs f1, 0x14(r5) -/* 8027B92C 0027888C D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8027B930 00278890 98 05 00 1C */ stb r0, 0x1c(r5) -lbl_8027B934: -/* 8027B934 00278894 80 90 0B C4 */ lwz r4, 0xbc4(r16) -/* 8027B938 00278898 38 61 01 44 */ addi r3, r1, 0x144 -/* 8027B93C 0027889C 38 AE 00 48 */ addi r5, r14, 0x48 -/* 8027B940 002788A0 38 04 00 01 */ addi r0, r4, 1 -/* 8027B944 002788A4 90 10 0B C4 */ stw r0, 0xbc4(r16) -/* 8027B948 002788A8 80 8E 00 44 */ lwz r4, 0x44(r14) -/* 8027B94C 002788AC 4B FA 07 5D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8027B950 002788B0 80 13 00 00 */ lwz r0, 0(r19) -/* 8027B954 002788B4 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8027B958 002788B8 7E D3 02 14 */ add r22, r19, r0 -/* 8027B95C 002788BC 36 D6 00 04 */ addic. r22, r22, 4 -/* 8027B960 002788C0 41 82 00 50 */ beq lbl_8027B9B0 -/* 8027B964 002788C4 7E C3 B3 78 */ mr r3, r22 -/* 8027B968 002788C8 38 81 01 44 */ addi r4, r1, 0x144 -/* 8027B96C 002788CC 48 0C 55 3D */ bl __ct__6CTokenFRC6CToken -/* 8027B970 002788D0 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 8027B974 002788D4 90 16 00 08 */ stw r0, 8(r22) -/* 8027B978 002788D8 80 01 01 50 */ lwz r0, 0x150(r1) -/* 8027B97C 002788DC 90 16 00 0C */ stw r0, 0xc(r22) -/* 8027B980 002788E0 88 01 01 54 */ lbz r0, 0x154(r1) -/* 8027B984 002788E4 98 16 00 10 */ stb r0, 0x10(r22) -/* 8027B988 002788E8 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 8027B98C 002788EC D0 16 00 14 */ stfs f0, 0x14(r22) -/* 8027B990 002788F0 C0 01 01 5C */ lfs f0, 0x15c(r1) -/* 8027B994 002788F4 D0 16 00 18 */ stfs f0, 0x18(r22) -/* 8027B998 002788F8 C0 01 01 60 */ lfs f0, 0x160(r1) -/* 8027B99C 002788FC D0 16 00 1C */ stfs f0, 0x1c(r22) -/* 8027B9A0 00278900 C0 01 01 64 */ lfs f0, 0x164(r1) -/* 8027B9A4 00278904 D0 16 00 20 */ stfs f0, 0x20(r22) -/* 8027B9A8 00278908 88 01 01 68 */ lbz r0, 0x168(r1) -/* 8027B9AC 0027890C 98 16 00 24 */ stb r0, 0x24(r22) -lbl_8027B9B0: -/* 8027B9B0 00278910 80 B0 0A 80 */ lwz r5, 0xa80(r16) -/* 8027B9B4 00278914 38 61 01 44 */ addi r3, r1, 0x144 -/* 8027B9B8 00278918 38 80 00 00 */ li r4, 0 -/* 8027B9BC 0027891C 38 05 00 01 */ addi r0, r5, 1 -/* 8027B9C0 00278920 90 10 0A 80 */ stw r0, 0xa80(r16) -/* 8027B9C4 00278924 48 0C 54 7D */ bl __dt__6CTokenFv -/* 8027B9C8 00278928 7C 70 7A 14 */ add r3, r16, r15 -/* 8027B9CC 0027892C 38 63 0A 84 */ addi r3, r3, 0xa84 -/* 8027B9D0 00278930 48 0C 53 B5 */ bl Lock__6CTokenFv -/* 8027B9D4 00278934 39 CE 00 A8 */ addi r14, r14, 0xa8 -/* 8027B9D8 00278938 39 EF 00 28 */ addi r15, r15, 0x28 -/* 8027B9DC 0027893C 3A B5 00 01 */ addi r21, r21, 1 -lbl_8027B9E0: -/* 8027B9E0 00278940 80 14 00 00 */ lwz r0, 0(r20) -/* 8027B9E4 00278944 7C 15 00 00 */ cmpw r21, r0 -/* 8027B9E8 00278948 41 80 FE 68 */ blt lbl_8027B850 -/* 8027B9EC 0027894C 38 70 04 60 */ addi r3, r16, 0x460 -/* 8027B9F0 00278950 38 80 00 00 */ li r4, 0 -/* 8027B9F4 00278954 4B FB 83 71 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 8027B9F8 00278958 88 10 04 E1 */ lbz r0, 0x4e1(r16) -/* 8027B9FC 0027895C 38 80 00 00 */ li r4, 0 -/* 8027BA00 00278960 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8027BA04 00278964 38 70 0C 78 */ addi r3, r16, 0xc78 -/* 8027BA08 00278968 98 10 04 E1 */ stb r0, 0x4e1(r16) -/* 8027BA0C 0027896C 88 10 04 E1 */ lbz r0, 0x4e1(r16) -/* 8027BA10 00278970 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8027BA14 00278974 98 10 04 E1 */ stb r0, 0x4e1(r16) -/* 8027BA18 00278978 48 0C 53 6D */ bl Lock__6CTokenFv -/* 8027BA1C 0027897C 38 70 0D 74 */ addi r3, r16, 0xd74 -/* 8027BA20 00278980 48 0C 53 65 */ bl Lock__6CTokenFv -/* 8027BA24 00278984 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8027BA28 00278988 93 C1 00 C0 */ stw r30, 0xc0(r1) -/* 8027BA2C 0027898C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8027BA30 00278990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027BA34 00278994 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8027BA38 00278998 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8027BA3C 0027899C 38 A1 00 BC */ addi r5, r1, 0xbc -/* 8027BA40 002789A0 81 84 00 00 */ lwz r12, 0(r4) -/* 8027BA44 002789A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027BA48 002789A8 7D 89 03 A6 */ mtctr r12 -/* 8027BA4C 002789AC 4E 80 04 21 */ bctrl -/* 8027BA50 002789B0 38 61 00 AC */ addi r3, r1, 0xac -/* 8027BA54 002789B4 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 8027BA58 002789B8 48 0C 54 51 */ bl __ct__6CTokenFRC6CToken -/* 8027BA5C 002789BC 38 70 0F C4 */ addi r3, r16, 0xfc4 -/* 8027BA60 002789C0 80 10 0F C4 */ lwz r0, 0xfc4(r16) -/* 8027BA64 002789C4 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BA68 002789C8 7C 63 02 14 */ add r3, r3, r0 -/* 8027BA6C 002789CC 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BA70 002789D0 41 82 00 0C */ beq lbl_8027BA7C -/* 8027BA74 002789D4 38 81 00 AC */ addi r4, r1, 0xac -/* 8027BA78 002789D8 48 0C 54 31 */ bl __ct__6CTokenFRC6CToken -lbl_8027BA7C: -/* 8027BA7C 002789DC 80 B0 0F C4 */ lwz r5, 0xfc4(r16) -/* 8027BA80 002789E0 38 61 00 AC */ addi r3, r1, 0xac -/* 8027BA84 002789E4 38 80 00 00 */ li r4, 0 -/* 8027BA88 002789E8 38 05 00 01 */ addi r0, r5, 1 -/* 8027BA8C 002789EC 90 10 0F C4 */ stw r0, 0xfc4(r16) -/* 8027BA90 002789F0 48 0C 53 B1 */ bl __dt__6CTokenFv -/* 8027BA94 002789F4 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8027BA98 002789F8 38 80 FF FF */ li r4, -1 -/* 8027BA9C 002789FC 48 0C 53 A5 */ bl __dt__6CTokenFv -/* 8027BAA0 00278A00 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8027BAA4 00278A04 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8027BAA8 00278A08 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8027BAAC 00278A0C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027BAB0 00278A10 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027BAB4 00278A14 38 61 00 9C */ addi r3, r1, 0x9c -/* 8027BAB8 00278A18 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8027BABC 00278A1C 81 84 00 00 */ lwz r12, 0(r4) -/* 8027BAC0 00278A20 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027BAC4 00278A24 7D 89 03 A6 */ mtctr r12 -/* 8027BAC8 00278A28 4E 80 04 21 */ bctrl -/* 8027BACC 00278A2C 38 61 00 94 */ addi r3, r1, 0x94 -/* 8027BAD0 00278A30 38 81 00 9C */ addi r4, r1, 0x9c -/* 8027BAD4 00278A34 48 0C 53 D5 */ bl __ct__6CTokenFRC6CToken -/* 8027BAD8 00278A38 38 70 0F C4 */ addi r3, r16, 0xfc4 -/* 8027BADC 00278A3C 80 10 0F C4 */ lwz r0, 0xfc4(r16) -/* 8027BAE0 00278A40 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BAE4 00278A44 7C 63 02 14 */ add r3, r3, r0 -/* 8027BAE8 00278A48 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BAEC 00278A4C 41 82 00 0C */ beq lbl_8027BAF8 -/* 8027BAF0 00278A50 38 81 00 94 */ addi r4, r1, 0x94 -/* 8027BAF4 00278A54 48 0C 53 B5 */ bl __ct__6CTokenFRC6CToken -lbl_8027BAF8: -/* 8027BAF8 00278A58 80 B0 0F C4 */ lwz r5, 0xfc4(r16) -/* 8027BAFC 00278A5C 38 61 00 94 */ addi r3, r1, 0x94 -/* 8027BB00 00278A60 38 80 00 00 */ li r4, 0 -/* 8027BB04 00278A64 38 05 00 01 */ addi r0, r5, 1 -/* 8027BB08 00278A68 90 10 0F C4 */ stw r0, 0xfc4(r16) -/* 8027BB0C 00278A6C 48 0C 53 35 */ bl __dt__6CTokenFv -/* 8027BB10 00278A70 38 61 00 9C */ addi r3, r1, 0x9c -/* 8027BB14 00278A74 38 80 FF FF */ li r4, -1 -/* 8027BB18 00278A78 48 0C 53 29 */ bl __dt__6CTokenFv -/* 8027BB1C 00278A7C 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 8027BB20 00278A80 93 E1 00 90 */ stw r31, 0x90(r1) -/* 8027BB24 00278A84 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 8027BB28 00278A88 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027BB2C 00278A8C 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8027BB30 00278A90 38 61 00 84 */ addi r3, r1, 0x84 -/* 8027BB34 00278A94 38 A1 00 8C */ addi r5, r1, 0x8c -/* 8027BB38 00278A98 81 84 00 00 */ lwz r12, 0(r4) -/* 8027BB3C 00278A9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027BB40 00278AA0 7D 89 03 A6 */ mtctr r12 -/* 8027BB44 00278AA4 4E 80 04 21 */ bctrl -/* 8027BB48 00278AA8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8027BB4C 00278AAC 38 81 00 84 */ addi r4, r1, 0x84 -/* 8027BB50 00278AB0 48 0C 53 59 */ bl __ct__6CTokenFRC6CToken -/* 8027BB54 00278AB4 38 70 0F D8 */ addi r3, r16, 0xfd8 -/* 8027BB58 00278AB8 80 10 0F D8 */ lwz r0, 0xfd8(r16) -/* 8027BB5C 00278ABC 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BB60 00278AC0 7C 63 02 14 */ add r3, r3, r0 -/* 8027BB64 00278AC4 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BB68 00278AC8 41 82 00 0C */ beq lbl_8027BB74 -/* 8027BB6C 00278ACC 38 81 00 7C */ addi r4, r1, 0x7c -/* 8027BB70 00278AD0 48 0C 53 39 */ bl __ct__6CTokenFRC6CToken -lbl_8027BB74: -/* 8027BB74 00278AD4 80 B0 0F D8 */ lwz r5, 0xfd8(r16) -/* 8027BB78 00278AD8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8027BB7C 00278ADC 38 80 00 00 */ li r4, 0 -/* 8027BB80 00278AE0 38 05 00 01 */ addi r0, r5, 1 -/* 8027BB84 00278AE4 90 10 0F D8 */ stw r0, 0xfd8(r16) -/* 8027BB88 00278AE8 48 0C 52 B9 */ bl __dt__6CTokenFv -/* 8027BB8C 00278AEC 38 61 00 84 */ addi r3, r1, 0x84 -/* 8027BB90 00278AF0 38 80 FF FF */ li r4, -1 -/* 8027BB94 00278AF4 48 0C 52 AD */ bl __dt__6CTokenFv -/* 8027BB98 00278AF8 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 8027BB9C 00278AFC 93 E1 00 78 */ stw r31, 0x78(r1) -/* 8027BBA0 00278B00 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 8027BBA4 00278B04 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8027BBA8 00278B08 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027BBAC 00278B0C 38 61 00 6C */ addi r3, r1, 0x6c -/* 8027BBB0 00278B10 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8027BBB4 00278B14 81 84 00 00 */ lwz r12, 0(r4) -/* 8027BBB8 00278B18 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027BBBC 00278B1C 7D 89 03 A6 */ mtctr r12 -/* 8027BBC0 00278B20 4E 80 04 21 */ bctrl -/* 8027BBC4 00278B24 38 61 00 64 */ addi r3, r1, 0x64 -/* 8027BBC8 00278B28 38 81 00 6C */ addi r4, r1, 0x6c -/* 8027BBCC 00278B2C 48 0C 52 DD */ bl __ct__6CTokenFRC6CToken -/* 8027BBD0 00278B30 38 70 0F D8 */ addi r3, r16, 0xfd8 -/* 8027BBD4 00278B34 80 10 0F D8 */ lwz r0, 0xfd8(r16) -/* 8027BBD8 00278B38 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BBDC 00278B3C 7C 63 02 14 */ add r3, r3, r0 -/* 8027BBE0 00278B40 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BBE4 00278B44 41 82 00 0C */ beq lbl_8027BBF0 -/* 8027BBE8 00278B48 38 81 00 64 */ addi r4, r1, 0x64 -/* 8027BBEC 00278B4C 48 0C 52 BD */ bl __ct__6CTokenFRC6CToken -lbl_8027BBF0: -/* 8027BBF0 00278B50 80 B0 0F D8 */ lwz r5, 0xfd8(r16) -/* 8027BBF4 00278B54 38 61 00 64 */ addi r3, r1, 0x64 -/* 8027BBF8 00278B58 38 80 00 00 */ li r4, 0 -/* 8027BBFC 00278B5C 38 05 00 01 */ addi r0, r5, 1 -/* 8027BC00 00278B60 90 10 0F D8 */ stw r0, 0xfd8(r16) -/* 8027BC04 00278B64 48 0C 52 3D */ bl __dt__6CTokenFv -/* 8027BC08 00278B68 38 61 00 6C */ addi r3, r1, 0x6c -/* 8027BC0C 00278B6C 38 80 FF FF */ li r4, -1 -/* 8027BC10 00278B70 48 0C 52 31 */ bl __dt__6CTokenFv -/* 8027BC14 00278B74 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027BC18 00278B78 39 E0 00 00 */ li r15, 0 -/* 8027BC1C 00278B7C 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027BC20 00278B80 38 60 03 40 */ li r3, 0x340 -/* 8027BC24 00278B84 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027BC28 00278B88 38 A0 00 00 */ li r5, 0 -/* 8027BC2C 00278B8C 48 09 9C 41 */ bl __nw__FUlPCcPCc -/* 8027BC30 00278B90 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8027BC34 00278B94 41 82 00 2C */ beq lbl_8027BC60 -/* 8027BC38 00278B98 38 61 00 5C */ addi r3, r1, 0x5c -/* 8027BC3C 00278B9C 38 90 0F C8 */ addi r4, r16, 0xfc8 -/* 8027BC40 00278BA0 48 0C 52 69 */ bl __ct__6CTokenFRC6CToken -/* 8027BC44 00278BA4 7D C3 73 78 */ mr r3, r14 -/* 8027BC48 00278BA8 38 81 00 5C */ addi r4, r1, 0x5c -/* 8027BC4C 00278BAC 39 E0 00 01 */ li r15, 1 -/* 8027BC50 00278BB0 38 A0 00 00 */ li r5, 0 -/* 8027BC54 00278BB4 38 C0 00 01 */ li r6, 1 -/* 8027BC58 00278BB8 48 0A 37 89 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8027BC5C 00278BBC 7C 6E 1B 78 */ mr r14, r3 -lbl_8027BC60: -/* 8027BC60 00278BC0 38 90 0F EC */ addi r4, r16, 0xfec -/* 8027BC64 00278BC4 7C 6E 00 D0 */ neg r3, r14 -/* 8027BC68 00278BC8 80 10 0F EC */ lwz r0, 0xfec(r16) -/* 8027BC6C 00278BCC 7C 63 73 78 */ or r3, r3, r14 -/* 8027BC70 00278BD0 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8027BC74 00278BD4 91 C1 00 58 */ stw r14, 0x58(r1) -/* 8027BC78 00278BD8 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BC7C 00278BDC 7C 84 02 14 */ add r4, r4, r0 -/* 8027BC80 00278BE0 98 61 00 54 */ stb r3, 0x54(r1) -/* 8027BC84 00278BE4 34 84 00 04 */ addic. r4, r4, 4 -/* 8027BC88 00278BE8 41 82 00 14 */ beq lbl_8027BC9C -/* 8027BC8C 00278BEC 98 64 00 00 */ stb r3, 0(r4) -/* 8027BC90 00278BF0 38 00 00 00 */ li r0, 0 -/* 8027BC94 00278BF4 91 C4 00 04 */ stw r14, 4(r4) -/* 8027BC98 00278BF8 98 01 00 54 */ stb r0, 0x54(r1) -lbl_8027BC9C: -/* 8027BC9C 00278BFC 80 70 0F EC */ lwz r3, 0xfec(r16) -/* 8027BCA0 00278C00 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8027BCA4 00278C04 38 63 00 01 */ addi r3, r3, 1 -/* 8027BCA8 00278C08 28 00 00 00 */ cmplwi r0, 0 -/* 8027BCAC 00278C0C 90 70 0F EC */ stw r3, 0xfec(r16) -/* 8027BCB0 00278C10 41 82 00 24 */ beq lbl_8027BCD4 -/* 8027BCB4 00278C14 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8027BCB8 00278C18 28 03 00 00 */ cmplwi r3, 0 -/* 8027BCBC 00278C1C 41 82 00 18 */ beq lbl_8027BCD4 -/* 8027BCC0 00278C20 81 83 00 00 */ lwz r12, 0(r3) -/* 8027BCC4 00278C24 38 80 00 01 */ li r4, 1 -/* 8027BCC8 00278C28 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BCCC 00278C2C 7D 89 03 A6 */ mtctr r12 -/* 8027BCD0 00278C30 4E 80 04 21 */ bctrl -lbl_8027BCD4: -/* 8027BCD4 00278C34 7D E0 07 75 */ extsb. r0, r15 -/* 8027BCD8 00278C38 41 82 00 10 */ beq lbl_8027BCE8 -/* 8027BCDC 00278C3C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8027BCE0 00278C40 38 80 00 00 */ li r4, 0 -/* 8027BCE4 00278C44 48 0C 51 5D */ bl __dt__6CTokenFv -lbl_8027BCE8: -/* 8027BCE8 00278C48 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027BCEC 00278C4C 39 E0 00 00 */ li r15, 0 -/* 8027BCF0 00278C50 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027BCF4 00278C54 38 60 03 40 */ li r3, 0x340 -/* 8027BCF8 00278C58 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027BCFC 00278C5C 38 A0 00 00 */ li r5, 0 -/* 8027BD00 00278C60 48 09 9B 6D */ bl __nw__FUlPCcPCc -/* 8027BD04 00278C64 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8027BD08 00278C68 41 82 00 2C */ beq lbl_8027BD34 -/* 8027BD0C 00278C6C 38 61 00 4C */ addi r3, r1, 0x4c -/* 8027BD10 00278C70 38 90 0F D0 */ addi r4, r16, 0xfd0 -/* 8027BD14 00278C74 48 0C 51 95 */ bl __ct__6CTokenFRC6CToken -/* 8027BD18 00278C78 7D C3 73 78 */ mr r3, r14 -/* 8027BD1C 00278C7C 38 81 00 4C */ addi r4, r1, 0x4c -/* 8027BD20 00278C80 39 E0 00 01 */ li r15, 1 -/* 8027BD24 00278C84 38 A0 00 00 */ li r5, 0 -/* 8027BD28 00278C88 38 C0 00 01 */ li r6, 1 -/* 8027BD2C 00278C8C 48 0A 36 B5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8027BD30 00278C90 7C 6E 1B 78 */ mr r14, r3 -lbl_8027BD34: -/* 8027BD34 00278C94 38 90 0F EC */ addi r4, r16, 0xfec -/* 8027BD38 00278C98 7C 6E 00 D0 */ neg r3, r14 -/* 8027BD3C 00278C9C 80 10 0F EC */ lwz r0, 0xfec(r16) -/* 8027BD40 00278CA0 7C 63 73 78 */ or r3, r3, r14 -/* 8027BD44 00278CA4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8027BD48 00278CA8 91 C1 00 48 */ stw r14, 0x48(r1) -/* 8027BD4C 00278CAC 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BD50 00278CB0 7C 84 02 14 */ add r4, r4, r0 -/* 8027BD54 00278CB4 98 61 00 44 */ stb r3, 0x44(r1) -/* 8027BD58 00278CB8 34 84 00 04 */ addic. r4, r4, 4 -/* 8027BD5C 00278CBC 41 82 00 14 */ beq lbl_8027BD70 -/* 8027BD60 00278CC0 98 64 00 00 */ stb r3, 0(r4) -/* 8027BD64 00278CC4 38 00 00 00 */ li r0, 0 -/* 8027BD68 00278CC8 91 C4 00 04 */ stw r14, 4(r4) -/* 8027BD6C 00278CCC 98 01 00 44 */ stb r0, 0x44(r1) -lbl_8027BD70: -/* 8027BD70 00278CD0 80 70 0F EC */ lwz r3, 0xfec(r16) -/* 8027BD74 00278CD4 88 01 00 44 */ lbz r0, 0x44(r1) -/* 8027BD78 00278CD8 38 63 00 01 */ addi r3, r3, 1 -/* 8027BD7C 00278CDC 28 00 00 00 */ cmplwi r0, 0 -/* 8027BD80 00278CE0 90 70 0F EC */ stw r3, 0xfec(r16) -/* 8027BD84 00278CE4 41 82 00 24 */ beq lbl_8027BDA8 -/* 8027BD88 00278CE8 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8027BD8C 00278CEC 28 03 00 00 */ cmplwi r3, 0 -/* 8027BD90 00278CF0 41 82 00 18 */ beq lbl_8027BDA8 -/* 8027BD94 00278CF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027BD98 00278CF8 38 80 00 01 */ li r4, 1 -/* 8027BD9C 00278CFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BDA0 00278D00 7D 89 03 A6 */ mtctr r12 -/* 8027BDA4 00278D04 4E 80 04 21 */ bctrl -lbl_8027BDA8: -/* 8027BDA8 00278D08 7D E0 07 75 */ extsb. r0, r15 -/* 8027BDAC 00278D0C 41 82 00 10 */ beq lbl_8027BDBC -/* 8027BDB0 00278D10 38 61 00 4C */ addi r3, r1, 0x4c -/* 8027BDB4 00278D14 38 80 00 00 */ li r4, 0 -/* 8027BDB8 00278D18 48 0C 50 89 */ bl __dt__6CTokenFv -lbl_8027BDBC: -/* 8027BDBC 00278D1C 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027BDC0 00278D20 39 E0 00 00 */ li r15, 0 -/* 8027BDC4 00278D24 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027BDC8 00278D28 38 60 02 10 */ li r3, 0x210 -/* 8027BDCC 00278D2C 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027BDD0 00278D30 38 A0 00 00 */ li r5, 0 -/* 8027BDD4 00278D34 48 09 9A 99 */ bl __nw__FUlPCcPCc -/* 8027BDD8 00278D38 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8027BDDC 00278D3C 41 82 00 28 */ beq lbl_8027BE04 -/* 8027BDE0 00278D40 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027BDE4 00278D44 38 90 0F DC */ addi r4, r16, 0xfdc -/* 8027BDE8 00278D48 48 0C 50 C1 */ bl __ct__6CTokenFRC6CToken -/* 8027BDEC 00278D4C 7D C3 73 78 */ mr r3, r14 -/* 8027BDF0 00278D50 38 81 00 3C */ addi r4, r1, 0x3c -/* 8027BDF4 00278D54 39 E0 00 01 */ li r15, 1 -/* 8027BDF8 00278D58 38 A0 00 00 */ li r5, 0 -/* 8027BDFC 00278D5C 48 0B 2F E9 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 8027BE00 00278D60 7C 6E 1B 78 */ mr r14, r3 -lbl_8027BE04: -/* 8027BE04 00278D64 38 90 10 00 */ addi r4, r16, 0x1000 -/* 8027BE08 00278D68 7C 6E 00 D0 */ neg r3, r14 -/* 8027BE0C 00278D6C 80 10 10 00 */ lwz r0, 0x1000(r16) -/* 8027BE10 00278D70 7C 63 73 78 */ or r3, r3, r14 -/* 8027BE14 00278D74 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8027BE18 00278D78 91 C1 00 38 */ stw r14, 0x38(r1) -/* 8027BE1C 00278D7C 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BE20 00278D80 7C 84 02 14 */ add r4, r4, r0 -/* 8027BE24 00278D84 98 61 00 34 */ stb r3, 0x34(r1) -/* 8027BE28 00278D88 34 84 00 04 */ addic. r4, r4, 4 -/* 8027BE2C 00278D8C 41 82 00 14 */ beq lbl_8027BE40 -/* 8027BE30 00278D90 98 64 00 00 */ stb r3, 0(r4) -/* 8027BE34 00278D94 38 00 00 00 */ li r0, 0 -/* 8027BE38 00278D98 91 C4 00 04 */ stw r14, 4(r4) -/* 8027BE3C 00278D9C 98 01 00 34 */ stb r0, 0x34(r1) -lbl_8027BE40: -/* 8027BE40 00278DA0 80 70 10 00 */ lwz r3, 0x1000(r16) -/* 8027BE44 00278DA4 88 01 00 34 */ lbz r0, 0x34(r1) -/* 8027BE48 00278DA8 38 63 00 01 */ addi r3, r3, 1 -/* 8027BE4C 00278DAC 28 00 00 00 */ cmplwi r0, 0 -/* 8027BE50 00278DB0 90 70 10 00 */ stw r3, 0x1000(r16) -/* 8027BE54 00278DB4 41 82 00 24 */ beq lbl_8027BE78 -/* 8027BE58 00278DB8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8027BE5C 00278DBC 28 03 00 00 */ cmplwi r3, 0 -/* 8027BE60 00278DC0 41 82 00 18 */ beq lbl_8027BE78 -/* 8027BE64 00278DC4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027BE68 00278DC8 38 80 00 01 */ li r4, 1 -/* 8027BE6C 00278DCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BE70 00278DD0 7D 89 03 A6 */ mtctr r12 -/* 8027BE74 00278DD4 4E 80 04 21 */ bctrl -lbl_8027BE78: -/* 8027BE78 00278DD8 7D E0 07 75 */ extsb. r0, r15 -/* 8027BE7C 00278DDC 41 82 00 10 */ beq lbl_8027BE8C -/* 8027BE80 00278DE0 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027BE84 00278DE4 38 80 00 00 */ li r4, 0 -/* 8027BE88 00278DE8 48 0C 4F B9 */ bl __dt__6CTokenFv -lbl_8027BE8C: -/* 8027BE8C 00278DEC 3C 60 80 3D */ lis r3, lbl_803D5618@ha -/* 8027BE90 00278DF0 39 E0 00 00 */ li r15, 0 -/* 8027BE94 00278DF4 38 83 56 18 */ addi r4, r3, lbl_803D5618@l -/* 8027BE98 00278DF8 38 60 02 10 */ li r3, 0x210 -/* 8027BE9C 00278DFC 38 84 02 20 */ addi r4, r4, 0x220 -/* 8027BEA0 00278E00 38 A0 00 00 */ li r5, 0 -/* 8027BEA4 00278E04 48 09 99 C9 */ bl __nw__FUlPCcPCc -/* 8027BEA8 00278E08 7C 6E 1B 79 */ or. r14, r3, r3 -/* 8027BEAC 00278E0C 41 82 00 28 */ beq lbl_8027BED4 -/* 8027BEB0 00278E10 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027BEB4 00278E14 38 90 0F E4 */ addi r4, r16, 0xfe4 -/* 8027BEB8 00278E18 48 0C 4F F1 */ bl __ct__6CTokenFRC6CToken -/* 8027BEBC 00278E1C 7D C3 73 78 */ mr r3, r14 -/* 8027BEC0 00278E20 38 81 00 2C */ addi r4, r1, 0x2c -/* 8027BEC4 00278E24 39 E0 00 01 */ li r15, 1 -/* 8027BEC8 00278E28 38 A0 00 00 */ li r5, 0 -/* 8027BECC 00278E2C 48 0B 2F 19 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 8027BED0 00278E30 7C 6E 1B 78 */ mr r14, r3 -lbl_8027BED4: -/* 8027BED4 00278E34 38 90 10 00 */ addi r4, r16, 0x1000 -/* 8027BED8 00278E38 7C 6E 00 D0 */ neg r3, r14 -/* 8027BEDC 00278E3C 80 10 10 00 */ lwz r0, 0x1000(r16) -/* 8027BEE0 00278E40 7C 63 73 78 */ or r3, r3, r14 -/* 8027BEE4 00278E44 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8027BEE8 00278E48 91 C1 00 28 */ stw r14, 0x28(r1) -/* 8027BEEC 00278E4C 54 00 18 38 */ slwi r0, r0, 3 -/* 8027BEF0 00278E50 7C 84 02 14 */ add r4, r4, r0 -/* 8027BEF4 00278E54 98 61 00 24 */ stb r3, 0x24(r1) -/* 8027BEF8 00278E58 34 84 00 04 */ addic. r4, r4, 4 -/* 8027BEFC 00278E5C 41 82 00 14 */ beq lbl_8027BF10 -/* 8027BF00 00278E60 98 64 00 00 */ stb r3, 0(r4) -/* 8027BF04 00278E64 38 00 00 00 */ li r0, 0 -/* 8027BF08 00278E68 91 C4 00 04 */ stw r14, 4(r4) -/* 8027BF0C 00278E6C 98 01 00 24 */ stb r0, 0x24(r1) -lbl_8027BF10: -/* 8027BF10 00278E70 80 70 10 00 */ lwz r3, 0x1000(r16) -/* 8027BF14 00278E74 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8027BF18 00278E78 38 63 00 01 */ addi r3, r3, 1 -/* 8027BF1C 00278E7C 28 00 00 00 */ cmplwi r0, 0 -/* 8027BF20 00278E80 90 70 10 00 */ stw r3, 0x1000(r16) -/* 8027BF24 00278E84 41 82 00 24 */ beq lbl_8027BF48 -/* 8027BF28 00278E88 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8027BF2C 00278E8C 28 03 00 00 */ cmplwi r3, 0 -/* 8027BF30 00278E90 41 82 00 18 */ beq lbl_8027BF48 -/* 8027BF34 00278E94 81 83 00 00 */ lwz r12, 0(r3) -/* 8027BF38 00278E98 38 80 00 01 */ li r4, 1 -/* 8027BF3C 00278E9C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BF40 00278EA0 7D 89 03 A6 */ mtctr r12 -/* 8027BF44 00278EA4 4E 80 04 21 */ bctrl -lbl_8027BF48: -/* 8027BF48 00278EA8 7D E0 07 75 */ extsb. r0, r15 -/* 8027BF4C 00278EAC 41 82 00 10 */ beq lbl_8027BF5C -/* 8027BF50 00278EB0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027BF54 00278EB4 38 80 00 00 */ li r4, 0 -/* 8027BF58 00278EB8 48 0C 4E E9 */ bl __dt__6CTokenFv -lbl_8027BF5C: -/* 8027BF5C 00278EBC 38 70 10 2C */ addi r3, r16, 0x102c -/* 8027BF60 00278EC0 80 10 10 2C */ lwz r0, 0x102c(r16) -/* 8027BF64 00278EC4 54 00 10 3A */ slwi r0, r0, 2 -/* 8027BF68 00278EC8 7C 63 02 14 */ add r3, r3, r0 -/* 8027BF6C 00278ECC 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BF70 00278ED0 41 82 00 0C */ beq lbl_8027BF7C -/* 8027BF74 00278ED4 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) -/* 8027BF78 00278ED8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027BF7C: -/* 8027BF7C 00278EDC 80 70 10 2C */ lwz r3, 0x102c(r16) -/* 8027BF80 00278EE0 38 90 10 2C */ addi r4, r16, 0x102c -/* 8027BF84 00278EE4 38 03 00 01 */ addi r0, r3, 1 -/* 8027BF88 00278EE8 90 10 10 2C */ stw r0, 0x102c(r16) -/* 8027BF8C 00278EEC 80 10 10 2C */ lwz r0, 0x102c(r16) -/* 8027BF90 00278EF0 54 00 10 3A */ slwi r0, r0, 2 -/* 8027BF94 00278EF4 7C 64 02 14 */ add r3, r4, r0 -/* 8027BF98 00278EF8 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BF9C 00278EFC 41 82 00 0C */ beq lbl_8027BFA8 -/* 8027BFA0 00278F00 C0 02 BB D0 */ lfs f0, lbl_805AD8F0@sda21(r2) -/* 8027BFA4 00278F04 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027BFA8: -/* 8027BFA8 00278F08 80 70 10 2C */ lwz r3, 0x102c(r16) -/* 8027BFAC 00278F0C 38 90 10 38 */ addi r4, r16, 0x1038 -/* 8027BFB0 00278F10 38 03 00 01 */ addi r0, r3, 1 -/* 8027BFB4 00278F14 90 10 10 2C */ stw r0, 0x102c(r16) -/* 8027BFB8 00278F18 80 10 10 38 */ lwz r0, 0x1038(r16) -/* 8027BFBC 00278F1C 54 00 10 3A */ slwi r0, r0, 2 -/* 8027BFC0 00278F20 7C 64 02 14 */ add r3, r4, r0 -/* 8027BFC4 00278F24 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BFC8 00278F28 41 82 00 0C */ beq lbl_8027BFD4 -/* 8027BFCC 00278F2C C0 0D 98 60 */ lfs f0, lbl_805A8420@sda21(r13) -/* 8027BFD0 00278F30 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027BFD4: -/* 8027BFD4 00278F34 80 70 10 38 */ lwz r3, 0x1038(r16) -/* 8027BFD8 00278F38 38 90 10 38 */ addi r4, r16, 0x1038 -/* 8027BFDC 00278F3C 38 03 00 01 */ addi r0, r3, 1 -/* 8027BFE0 00278F40 90 10 10 38 */ stw r0, 0x1038(r16) -/* 8027BFE4 00278F44 80 10 10 38 */ lwz r0, 0x1038(r16) -/* 8027BFE8 00278F48 54 00 10 3A */ slwi r0, r0, 2 -/* 8027BFEC 00278F4C 7C 64 02 14 */ add r3, r4, r0 -/* 8027BFF0 00278F50 34 63 00 04 */ addic. r3, r3, 4 -/* 8027BFF4 00278F54 41 82 00 0C */ beq lbl_8027C000 -/* 8027BFF8 00278F58 C0 0D 98 64 */ lfs f0, lbl_805A8424@sda21(r13) -/* 8027BFFC 00278F5C D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027C000: -/* 8027C000 00278F60 80 90 10 38 */ lwz r4, 0x1038(r16) -/* 8027C004 00278F64 7E 03 83 78 */ mr r3, r16 -/* 8027C008 00278F68 38 04 00 01 */ addi r0, r4, 1 -/* 8027C00C 00278F6C 90 10 10 38 */ stw r0, 0x1038(r16) -/* 8027C010 00278F70 B9 C1 01 78 */ lmw r14, 0x178(r1) -/* 8027C014 00278F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 8027C018 00278F78 7C 08 03 A6 */ mtlr r0 -/* 8027C01C 00278F7C 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 8027C020 00278F80 4E 80 00 20 */ blr - -.global sub_8027c024 -sub_8027c024: -/* 8027C024 00278F84 80 03 00 00 */ lwz r0, 0(r3) -/* 8027C028 00278F88 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 8027C02C 00278F8C 7C A3 02 14 */ add r5, r3, r0 -/* 8027C030 00278F90 34 A5 00 04 */ addic. r5, r5, 4 -/* 8027C034 00278F94 41 82 00 8C */ beq lbl_8027C0C0 -/* 8027C038 00278F98 80 04 00 00 */ lwz r0, 0(r4) -/* 8027C03C 00278F9C 90 05 00 00 */ stw r0, 0(r5) -/* 8027C040 00278FA0 80 04 00 04 */ lwz r0, 4(r4) -/* 8027C044 00278FA4 90 05 00 04 */ stw r0, 4(r5) -/* 8027C048 00278FA8 80 04 00 08 */ lwz r0, 8(r4) -/* 8027C04C 00278FAC 90 05 00 08 */ stw r0, 8(r5) -/* 8027C050 00278FB0 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8027C054 00278FB4 90 05 00 0C */ stw r0, 0xc(r5) -/* 8027C058 00278FB8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8027C05C 00278FBC 90 05 00 10 */ stw r0, 0x10(r5) -/* 8027C060 00278FC0 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8027C064 00278FC4 90 05 00 14 */ stw r0, 0x14(r5) -/* 8027C068 00278FC8 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8027C06C 00278FCC 90 05 00 18 */ stw r0, 0x18(r5) -/* 8027C070 00278FD0 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 8027C074 00278FD4 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8027C078 00278FD8 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8027C07C 00278FDC D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8027C080 00278FE0 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8027C084 00278FE4 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8027C088 00278FE8 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 8027C08C 00278FEC D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8027C090 00278FF0 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8027C094 00278FF4 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8027C098 00278FF8 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 8027C09C 00278FFC D0 05 00 30 */ stfs f0, 0x30(r5) -/* 8027C0A0 00279000 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 8027C0A4 00279004 D0 05 00 34 */ stfs f0, 0x34(r5) -/* 8027C0A8 00279008 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 8027C0AC 0027900C D0 05 00 38 */ stfs f0, 0x38(r5) -/* 8027C0B0 00279010 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 8027C0B4 00279014 90 05 00 3C */ stw r0, 0x3c(r5) -/* 8027C0B8 00279018 80 04 00 40 */ lwz r0, 0x40(r4) -/* 8027C0BC 0027901C 90 05 00 40 */ stw r0, 0x40(r5) -lbl_8027C0C0: -/* 8027C0C0 00279020 80 83 00 00 */ lwz r4, 0(r3) -/* 8027C0C4 00279024 38 04 00 01 */ addi r0, r4, 1 -/* 8027C0C8 00279028 90 03 00 00 */ stw r0, 0(r3) -/* 8027C0CC 0027902C 4E 80 00 20 */ blr - -.global sub_8027c0d0 -sub_8027c0d0: -/* 8027C0D0 00279030 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C0D4 00279034 7C 08 02 A6 */ mflr r0 -/* 8027C0D8 00279038 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C0DC 0027903C 7C 60 1B 78 */ mr r0, r3 -/* 8027C0E0 00279040 7C 83 23 78 */ mr r3, r4 -/* 8027C0E4 00279044 81 84 00 00 */ lwz r12, 0(r4) -/* 8027C0E8 00279048 7C 04 03 78 */ mr r4, r0 -/* 8027C0EC 0027904C 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 8027C0F0 00279050 7D 89 03 A6 */ mtctr r12 -/* 8027C0F4 00279054 4E 80 04 21 */ bctrl -/* 8027C0F8 00279058 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C0FC 0027905C 7C 08 03 A6 */ mtlr r0 -/* 8027C100 00279060 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C104 00279064 4E 80 00 20 */ blr - -.global sub_8027c108 -sub_8027c108: -/* 8027C108 00279068 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8027C10C 0027906C 7C 08 02 A6 */ mflr r0 -/* 8027C110 00279070 90 01 00 64 */ stw r0, 0x64(r1) -/* 8027C114 00279074 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8027C118 00279078 7C 9C 23 78 */ mr r28, r4 -/* 8027C11C 0027907C 7C 7B 1B 78 */ mr r27, r3 -/* 8027C120 00279080 7F 83 E3 78 */ mr r3, r28 -/* 8027C124 00279084 48 0C 2B 61 */ bl ReadLong__12CInputStreamFv -/* 8027C128 00279088 80 0D 98 5C */ lwz r0, lbl_805A841C@sda21(r13) -/* 8027C12C 0027908C 38 81 00 08 */ addi r4, r1, 8 -/* 8027C130 00279090 90 61 00 08 */ stw r3, 8(r1) -/* 8027C134 00279094 7C 00 18 00 */ cmpw r0, r3 -/* 8027C138 00279098 40 80 00 08 */ bge lbl_8027C140 -/* 8027C13C 0027909C 38 8D 98 5C */ addi r4, r13, lbl_805A841C@sda21 -lbl_8027C140: -/* 8027C140 002790A0 38 00 00 00 */ li r0, 0 -/* 8027C144 002790A4 83 C4 00 00 */ lwz r30, 0(r4) -/* 8027C148 002790A8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027C14C 002790AC 3B E1 00 10 */ addi r31, r1, 0x10 -/* 8027C150 002790B0 3B A0 00 00 */ li r29, 0 -/* 8027C154 002790B4 48 00 00 30 */ b lbl_8027C184 -lbl_8027C158: -/* 8027C158 002790B8 7F 83 E3 78 */ mr r3, r28 -/* 8027C15C 002790BC 48 0C 2A CD */ bl ReadFloat__12CInputStreamFv -/* 8027C160 002790C0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027C164 002790C4 54 00 10 3A */ slwi r0, r0, 2 -/* 8027C168 002790C8 7C 7F 02 15 */ add. r3, r31, r0 -/* 8027C16C 002790CC 41 82 00 08 */ beq lbl_8027C174 -/* 8027C170 002790D0 D0 23 00 00 */ stfs f1, 0(r3) -lbl_8027C174: -/* 8027C174 002790D4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8027C178 002790D8 3B BD 00 01 */ addi r29, r29, 1 -/* 8027C17C 002790DC 38 03 00 01 */ addi r0, r3, 1 -/* 8027C180 002790E0 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8027C184: -/* 8027C184 002790E4 7C 1D F0 00 */ cmpw r29, r30 -/* 8027C188 002790E8 41 80 FF D0 */ blt lbl_8027C158 -/* 8027C18C 002790EC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027C190 002790F0 38 7B 00 04 */ addi r3, r27, 4 -/* 8027C194 002790F4 90 1B 00 00 */ stw r0, 0(r27) -/* 8027C198 002790F8 80 1B 00 00 */ lwz r0, 0(r27) -/* 8027C19C 002790FC 7C 09 03 A6 */ mtctr r0 -/* 8027C1A0 00279100 2C 00 00 00 */ cmpwi r0, 0 -/* 8027C1A4 00279104 40 81 00 20 */ ble lbl_8027C1C4 -lbl_8027C1A8: -/* 8027C1A8 00279108 28 03 00 00 */ cmplwi r3, 0 -/* 8027C1AC 0027910C 41 82 00 0C */ beq lbl_8027C1B8 -/* 8027C1B0 00279110 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8027C1B4 00279114 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027C1B8: -/* 8027C1B8 00279118 38 63 00 04 */ addi r3, r3, 4 -/* 8027C1BC 0027911C 3B FF 00 04 */ addi r31, r31, 4 -/* 8027C1C0 00279120 42 00 FF E8 */ bdnz lbl_8027C1A8 -lbl_8027C1C4: -/* 8027C1C4 00279124 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8027C1C8 00279128 38 60 00 00 */ li r3, 0 -/* 8027C1CC 0027912C 2C 05 00 00 */ cmpwi r5, 0 -/* 8027C1D0 00279130 40 81 00 40 */ ble lbl_8027C210 -/* 8027C1D4 00279134 2C 05 00 08 */ cmpwi r5, 8 -/* 8027C1D8 00279138 38 85 FF F8 */ addi r4, r5, -8 -/* 8027C1DC 0027913C 40 81 00 20 */ ble lbl_8027C1FC -/* 8027C1E0 00279140 38 04 00 07 */ addi r0, r4, 7 -/* 8027C1E4 00279144 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027C1E8 00279148 7C 09 03 A6 */ mtctr r0 -/* 8027C1EC 0027914C 2C 04 00 00 */ cmpwi r4, 0 -/* 8027C1F0 00279150 40 81 00 0C */ ble lbl_8027C1FC -lbl_8027C1F4: -/* 8027C1F4 00279154 38 63 00 08 */ addi r3, r3, 8 -/* 8027C1F8 00279158 42 00 FF FC */ bdnz lbl_8027C1F4 -lbl_8027C1FC: -/* 8027C1FC 0027915C 7C 03 28 50 */ subf r0, r3, r5 -/* 8027C200 00279160 7C 09 03 A6 */ mtctr r0 -/* 8027C204 00279164 7C 03 28 00 */ cmpw r3, r5 -/* 8027C208 00279168 40 80 00 08 */ bge lbl_8027C210 -lbl_8027C20C: -/* 8027C20C 0027916C 42 00 00 00 */ bdnz lbl_8027C20C -lbl_8027C210: -/* 8027C210 00279170 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8027C214 00279174 38 00 00 00 */ li r0, 0 -/* 8027C218 00279178 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027C21C 0027917C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8027C220 00279180 7C 08 03 A6 */ mtlr r0 -/* 8027C224 00279184 38 21 00 60 */ addi r1, r1, 0x60 -/* 8027C228 00279188 4E 80 00 20 */ blr - -.global sub_8027c22c -sub_8027c22c: -/* 8027C22C 0027918C 54 80 10 3A */ slwi r0, r4, 2 -/* 8027C230 00279190 7C 63 02 14 */ add r3, r3, r0 -/* 8027C234 00279194 C0 23 00 04 */ lfs f1, 4(r3) -/* 8027C238 00279198 4E 80 00 20 */ blr - -.global __ct__18SPrimeExoRoomParmsFR12CInputStream -__ct__18SPrimeExoRoomParmsFR12CInputStream: -/* 8027C23C 0027919C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027C240 002791A0 7C 08 02 A6 */ mflr r0 -/* 8027C244 002791A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8027C248 002791A8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027C24C 002791AC 7C 7F 1B 78 */ mr r31, r3 -/* 8027C250 002791B0 38 61 00 08 */ addi r3, r1, 8 -/* 8027C254 002791B4 4B FF FE B5 */ bl sub_8027c108 -/* 8027C258 002791B8 80 01 00 08 */ lwz r0, 8(r1) -/* 8027C25C 002791BC 38 81 00 0C */ addi r4, r1, 0xc -/* 8027C260 002791C0 38 7F 00 04 */ addi r3, r31, 4 -/* 8027C264 002791C4 90 1F 00 00 */ stw r0, 0(r31) -/* 8027C268 002791C8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8027C26C 002791CC 7C 09 03 A6 */ mtctr r0 -/* 8027C270 002791D0 2C 00 00 00 */ cmpwi r0, 0 -/* 8027C274 002791D4 40 81 00 20 */ ble lbl_8027C294 -lbl_8027C278: -/* 8027C278 002791D8 28 03 00 00 */ cmplwi r3, 0 -/* 8027C27C 002791DC 41 82 00 0C */ beq lbl_8027C288 -/* 8027C280 002791E0 C0 04 00 00 */ lfs f0, 0(r4) -/* 8027C284 002791E4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8027C288: -/* 8027C288 002791E8 38 63 00 04 */ addi r3, r3, 4 -/* 8027C28C 002791EC 38 84 00 04 */ addi r4, r4, 4 -/* 8027C290 002791F0 42 00 FF E8 */ bdnz lbl_8027C278 -lbl_8027C294: -/* 8027C294 002791F4 80 A1 00 08 */ lwz r5, 8(r1) -/* 8027C298 002791F8 38 60 00 00 */ li r3, 0 -/* 8027C29C 002791FC 2C 05 00 00 */ cmpwi r5, 0 -/* 8027C2A0 00279200 40 81 00 40 */ ble lbl_8027C2E0 -/* 8027C2A4 00279204 2C 05 00 08 */ cmpwi r5, 8 -/* 8027C2A8 00279208 38 85 FF F8 */ addi r4, r5, -8 -/* 8027C2AC 0027920C 40 81 00 20 */ ble lbl_8027C2CC -/* 8027C2B0 00279210 38 04 00 07 */ addi r0, r4, 7 -/* 8027C2B4 00279214 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027C2B8 00279218 7C 09 03 A6 */ mtctr r0 -/* 8027C2BC 0027921C 2C 04 00 00 */ cmpwi r4, 0 -/* 8027C2C0 00279220 40 81 00 0C */ ble lbl_8027C2CC -lbl_8027C2C4: -/* 8027C2C4 00279224 38 63 00 08 */ addi r3, r3, 8 -/* 8027C2C8 00279228 42 00 FF FC */ bdnz lbl_8027C2C4 -lbl_8027C2CC: -/* 8027C2CC 0027922C 7C 03 28 50 */ subf r0, r3, r5 -/* 8027C2D0 00279230 7C 09 03 A6 */ mtctr r0 -/* 8027C2D4 00279234 7C 03 28 00 */ cmpw r3, r5 -/* 8027C2D8 00279238 40 80 00 08 */ bge lbl_8027C2E0 -lbl_8027C2DC: -/* 8027C2DC 0027923C 42 00 00 00 */ bdnz lbl_8027C2DC -lbl_8027C2E0: -/* 8027C2E0 00279240 38 00 00 00 */ li r0, 0 -/* 8027C2E4 00279244 7F E3 FB 78 */ mr r3, r31 -/* 8027C2E8 00279248 90 01 00 08 */ stw r0, 8(r1) -/* 8027C2EC 0027924C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027C2F0 00279250 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8027C2F4 00279254 7C 08 03 A6 */ mtlr r0 -/* 8027C2F8 00279258 38 21 00 50 */ addi r1, r1, 0x50 -/* 8027C2FC 0027925C 4E 80 00 20 */ blr - -.global __ct__13SPrimeStruct6FR12CInputStream -__ct__13SPrimeStruct6FR12CInputStream: -/* 8027C300 00279260 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C304 00279264 7C 08 02 A6 */ mflr r0 -/* 8027C308 00279268 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C30C 0027926C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C310 00279270 7C 9F 23 78 */ mr r31, r4 -/* 8027C314 00279274 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C318 00279278 7C 7E 1B 78 */ mr r30, r3 -/* 8027C31C 0027927C 7F E3 FB 78 */ mr r3, r31 -/* 8027C320 00279280 48 0C 29 65 */ bl ReadLong__12CInputStreamFv -/* 8027C324 00279284 90 7E 00 00 */ stw r3, 0(r30) -/* 8027C328 00279288 7F E4 FB 78 */ mr r4, r31 -/* 8027C32C 0027928C 38 7E 00 04 */ addi r3, r30, 4 -/* 8027C330 00279290 4B E8 68 29 */ bl __ct__20CDamageVulnerabilityFR12CInputStream -/* 8027C334 00279294 7F E4 FB 78 */ mr r4, r31 -/* 8027C338 00279298 38 7E 00 6C */ addi r3, r30, 0x6c -/* 8027C33C 0027929C 48 0E 71 11 */ bl __ct__6CColorFR12CInputStream -/* 8027C340 002792A0 7F E3 FB 78 */ mr r3, r31 -/* 8027C344 002792A4 48 0C 29 41 */ bl ReadLong__12CInputStreamFv -/* 8027C348 002792A8 90 7E 00 70 */ stw r3, 0x70(r30) -/* 8027C34C 002792AC 7F E3 FB 78 */ mr r3, r31 -/* 8027C350 002792B0 48 0C 29 35 */ bl ReadLong__12CInputStreamFv -/* 8027C354 002792B4 90 7E 00 74 */ stw r3, 0x74(r30) -/* 8027C358 002792B8 7F C3 F3 78 */ mr r3, r30 -/* 8027C35C 002792BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C360 002792C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C364 002792C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C368 002792C8 7C 08 03 A6 */ mtlr r0 -/* 8027C36C 002792CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C370 002792D0 4E 80 00 20 */ blr - -.global BuildCameraShakeData__FRC21SPrimeCameraShakeData -BuildCameraShakeData__FRC21SPrimeCameraShakeData: -/* 8027C374 002792D4 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8027C378 002792D8 7C 08 02 A6 */ mflr r0 -/* 8027C37C 002792DC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8027C380 002792E0 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 8027C384 002792E4 7C 9F 23 78 */ mr r31, r4 -/* 8027C388 002792E8 38 9F 00 0C */ addi r4, r31, 0xc -/* 8027C38C 002792EC 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 8027C390 002792F0 7C 7E 1B 78 */ mr r30, r3 -/* 8027C394 002792F4 38 61 00 80 */ addi r3, r1, 0x80 -/* 8027C398 002792F8 48 00 00 A5 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent -/* 8027C39C 002792FC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8027C3A0 00279300 38 9F 00 30 */ addi r4, r31, 0x30 -/* 8027C3A4 00279304 48 00 00 99 */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent -/* 8027C3A8 00279308 38 61 00 08 */ addi r3, r1, 8 -/* 8027C3AC 0027930C 38 9F 00 54 */ addi r4, r31, 0x54 -/* 8027C3B0 00279310 48 00 00 8D */ bl BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent -/* 8027C3B4 00279314 88 9F 00 00 */ lbz r4, 0(r31) -/* 8027C3B8 00279318 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8027C3BC 0027931C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8027C3C0 00279320 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8027C3C4 00279324 7C 04 00 D0 */ neg r0, r4 -/* 8027C3C8 00279328 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8027C3CC 0027932C 7C 00 23 78 */ or r0, r0, r4 -/* 8027C3D0 00279330 7F C3 F3 78 */ mr r3, r30 -/* 8027C3D4 00279334 38 C1 00 80 */ addi r6, r1, 0x80 -/* 8027C3D8 00279338 38 E1 00 44 */ addi r7, r1, 0x44 -/* 8027C3DC 0027933C 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8027C3E0 00279340 39 01 00 08 */ addi r8, r1, 8 -/* 8027C3E4 00279344 4B EE 0A B5 */ bl __ct__16CCameraShakeDataFffiRC9CVector3fRC22CCameraShakerComponentRC22CCameraShakerComponentRC22CCameraShakerComponent -/* 8027C3E8 00279348 34 01 00 08 */ addic. r0, r1, 8 -/* 8027C3EC 0027934C 41 82 00 10 */ beq lbl_8027C3FC -/* 8027C3F0 00279350 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027C3F4 00279354 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027C3F8 00279358 90 01 00 08 */ stw r0, 8(r1) -lbl_8027C3FC: -/* 8027C3FC 0027935C 34 01 00 44 */ addic. r0, r1, 0x44 -/* 8027C400 00279360 41 82 00 10 */ beq lbl_8027C410 -/* 8027C404 00279364 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027C408 00279368 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027C40C 0027936C 90 01 00 44 */ stw r0, 0x44(r1) -lbl_8027C410: -/* 8027C410 00279370 34 01 00 80 */ addic. r0, r1, 0x80 -/* 8027C414 00279374 41 82 00 10 */ beq lbl_8027C424 -/* 8027C418 00279378 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027C41C 0027937C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027C420 00279380 90 01 00 80 */ stw r0, 0x80(r1) -lbl_8027C424: -/* 8027C424 00279384 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8027C428 00279388 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 8027C42C 0027938C 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 8027C430 00279390 7C 08 03 A6 */ mtlr r0 -/* 8027C434 00279394 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8027C438 00279398 4E 80 00 20 */ blr - -.global BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent -BuildCameraShakerComponent__FRC27SPrimeCameraShakerComponent: -/* 8027C43C 0027939C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027C440 002793A0 7C 08 02 A6 */ mflr r0 -/* 8027C444 002793A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8027C448 002793A8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027C44C 002793AC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8027C450 002793B0 7C 9E 23 78 */ mr r30, r4 -/* 8027C454 002793B4 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8027C458 002793B8 7C 7D 1B 78 */ mr r29, r3 -/* 8027C45C 002793BC 38 61 00 08 */ addi r3, r1, 8 -/* 8027C460 002793C0 88 A4 00 00 */ lbz r5, 0(r4) -/* 8027C464 002793C4 38 9E 00 14 */ addi r4, r30, 0x14 -/* 8027C468 002793C8 7C 05 00 D0 */ neg r0, r5 -/* 8027C46C 002793CC 7C 00 2B 78 */ or r0, r0, r5 -/* 8027C470 002793D0 54 1F 0F FE */ srwi r31, r0, 0x1f -/* 8027C474 002793D4 48 00 00 41 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint -/* 8027C478 002793D8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027C47C 002793DC 38 9E 00 04 */ addi r4, r30, 4 -/* 8027C480 002793E0 48 00 00 35 */ bl BuildCameraShakePoint__FRC22SPrimeCameraShakePoint -/* 8027C484 002793E4 7F A3 EB 78 */ mr r3, r29 -/* 8027C488 002793E8 7F E4 FB 78 */ mr r4, r31 -/* 8027C48C 002793EC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8027C490 002793F0 38 C1 00 08 */ addi r6, r1, 8 -/* 8027C494 002793F4 4B EE 0D BD */ bl __ct__22CCameraShakerComponentFiRC17SCameraShakePointRC17SCameraShakePoint -/* 8027C498 002793F8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8027C49C 002793FC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027C4A0 00279400 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8027C4A4 00279404 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8027C4A8 00279408 7C 08 03 A6 */ mtlr r0 -/* 8027C4AC 0027940C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8027C4B0 00279410 4E 80 00 20 */ blr - -.global BuildCameraShakePoint__FRC22SPrimeCameraShakePoint -BuildCameraShakePoint__FRC22SPrimeCameraShakePoint: -/* 8027C4B4 00279414 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C4B8 00279418 7C 08 02 A6 */ mflr r0 -/* 8027C4BC 0027941C 7C 85 23 78 */ mr r5, r4 -/* 8027C4C0 00279420 38 80 00 00 */ li r4, 0 -/* 8027C4C4 00279424 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C4C8 00279428 C0 25 00 00 */ lfs f1, 0(r5) -/* 8027C4CC 0027942C C0 45 00 04 */ lfs f2, 4(r5) -/* 8027C4D0 00279430 C0 65 00 08 */ lfs f3, 8(r5) -/* 8027C4D4 00279434 C0 85 00 0C */ lfs f4, 0xc(r5) -/* 8027C4D8 00279438 4B EE 0F CD */ bl __ct__17SCameraShakePointFiffff -/* 8027C4DC 0027943C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C4E0 00279440 7C 08 03 A6 */ mtlr r0 -/* 8027C4E4 00279444 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C4E8 00279448 4E 80 00 20 */ blr - -.global sub_8027c4ec -sub_8027c4ec: -/* 8027C4EC 0027944C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C4F0 00279450 7C 08 02 A6 */ mflr r0 -/* 8027C4F4 00279454 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C4F8 00279458 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C4FC 0027945C 7C 9F 23 78 */ mr r31, r4 -/* 8027C500 00279460 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C504 00279464 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027C508 00279468 41 82 00 28 */ beq lbl_8027C530 -/* 8027C50C 0027946C 3C A0 80 3F */ lis r5, lbl_803EB0FC@ha -/* 8027C510 00279470 38 80 00 00 */ li r4, 0 -/* 8027C514 00279474 38 05 B0 FC */ addi r0, r5, lbl_803EB0FC@l -/* 8027C518 00279478 90 1E 00 00 */ stw r0, 0(r30) -/* 8027C51C 0027947C 4B E9 FE F9 */ bl __dt__13CPhysicsActorFv -/* 8027C520 00279480 7F E0 07 35 */ extsh. r0, r31 -/* 8027C524 00279484 40 81 00 0C */ ble lbl_8027C530 -/* 8027C528 00279488 7F C3 F3 78 */ mr r3, r30 -/* 8027C52C 0027948C 48 09 94 05 */ bl Free__7CMemoryFPCv -lbl_8027C530: -/* 8027C530 00279490 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C534 00279494 7F C3 F3 78 */ mr r3, r30 -/* 8027C538 00279498 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C53C 0027949C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C540 002794A0 7C 08 03 A6 */ mtlr r0 -/* 8027C544 002794A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C548 002794A8 4E 80 00 20 */ blr - -.global __sinit_CMetroidPrimeExo_cpp -__sinit_CMetroidPrimeExo_cpp: -/* 8027C54C 002794AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C550 002794B0 3C 60 80 3D */ lis r3, lbl_803D5454@ha -/* 8027C554 002794B4 39 23 54 54 */ addi r9, r3, lbl_803D5454@l -/* 8027C558 002794B8 3C 80 80 3F */ lis r4, lbl_803EAA90@ha -/* 8027C55C 002794BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C560 002794C0 38 64 AA 90 */ addi r3, r4, lbl_803EAA90@l -/* 8027C564 002794C4 81 82 BB E8 */ lwz r12, lbl_805AD908@sda21(r2) -/* 8027C568 002794C8 39 63 00 18 */ addi r11, r3, 0x18 -/* 8027C56C 002794CC 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C570 002794D0 3B E3 00 00 */ addi r31, r3, 0 -/* 8027C574 002794D4 83 C2 BB E4 */ lwz r30, lbl_805AD904@sda21(r2) -/* 8027C578 002794D8 38 E3 01 E4 */ addi r7, r3, 0x1e4 -/* 8027C57C 002794DC 81 42 BB EC */ lwz r10, lbl_805AD90C@sda21(r2) -/* 8027C580 002794E0 81 09 00 08 */ lwz r8, 8(r9) -/* 8027C584 002794E4 80 C9 00 0C */ lwz r6, 0xc(r9) -/* 8027C588 002794E8 80 A9 00 00 */ lwz r5, 0(r9) -/* 8027C58C 002794EC 80 89 00 04 */ lwz r4, 4(r9) -/* 8027C590 002794F0 80 69 00 10 */ lwz r3, 0x10(r9) -/* 8027C594 002794F4 80 09 00 14 */ lwz r0, 0x14(r9) -/* 8027C598 002794F8 93 DF 00 10 */ stw r30, 0x10(r31) -/* 8027C59C 002794FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C5A0 00279500 91 8B 01 B8 */ stw r12, 0x1b8(r11) -/* 8027C5A4 00279504 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C5A8 00279508 91 4B 01 BC */ stw r10, 0x1bc(r11) -/* 8027C5AC 0027950C 91 07 00 10 */ stw r8, 0x10(r7) -/* 8027C5B0 00279510 90 C7 00 14 */ stw r6, 0x14(r7) -/* 8027C5B4 00279514 90 A7 00 20 */ stw r5, 0x20(r7) -/* 8027C5B8 00279518 90 87 00 24 */ stw r4, 0x24(r7) -/* 8027C5BC 0027951C 90 67 00 30 */ stw r3, 0x30(r7) -/* 8027C5C0 00279520 90 07 00 34 */ stw r0, 0x34(r7) -/* 8027C5C4 00279524 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C5C8 00279528 4E 80 00 20 */ blr - -.global __dt__11CScriptBeamFv -__dt__11CScriptBeamFv: -/* 8027C5CC 0027952C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C5D0 00279530 7C 08 02 A6 */ mflr r0 -/* 8027C5D4 00279534 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C5D8 00279538 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C5DC 0027953C 7C 9F 23 78 */ mr r31, r4 -/* 8027C5E0 00279540 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C5E4 00279544 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027C5E8 00279548 41 82 00 48 */ beq lbl_8027C630 -/* 8027C5EC 0027954C 3C 60 80 3F */ lis r3, lbl_803EB180@ha -/* 8027C5F0 00279550 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8027C5F4 00279554 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l -/* 8027C5F8 00279558 90 1E 00 00 */ stw r0, 0(r30) -/* 8027C5FC 0027955C 41 82 00 18 */ beq lbl_8027C614 -/* 8027C600 00279560 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8027C604 00279564 41 82 00 10 */ beq lbl_8027C614 -/* 8027C608 00279568 38 7E 00 E8 */ addi r3, r30, 0xe8 -/* 8027C60C 0027956C 38 80 00 00 */ li r4, 0 -/* 8027C610 00279570 48 0C 48 31 */ bl __dt__6CTokenFv -lbl_8027C614: -/* 8027C614 00279574 7F C3 F3 78 */ mr r3, r30 -/* 8027C618 00279578 38 80 00 00 */ li r4, 0 -/* 8027C61C 0027957C 4B DD 90 D5 */ bl __dt__6CActorFv -/* 8027C620 00279580 7F E0 07 35 */ extsh. r0, r31 -/* 8027C624 00279584 40 81 00 0C */ ble lbl_8027C630 -/* 8027C628 00279588 7F C3 F3 78 */ mr r3, r30 -/* 8027C62C 0027958C 48 09 93 05 */ bl Free__7CMemoryFPCv -lbl_8027C630: -/* 8027C630 00279590 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C634 00279594 7F C3 F3 78 */ mr r3, r30 -/* 8027C638 00279598 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C63C 0027959C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C640 002795A0 7C 08 03 A6 */ mtlr r0 -/* 8027C644 002795A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C648 002795A8 4E 80 00 20 */ blr - -.global Think__11CScriptBeamFfR13CStateManager -Think__11CScriptBeamFfR13CStateManager: -/* 8027C64C 002795AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027C650 002795B0 7C 08 02 A6 */ mflr r0 -/* 8027C654 002795B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027C658 002795B8 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8027C65C 002795BC FF E0 08 90 */ fmr f31, f1 -/* 8027C660 002795C0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8027C664 002795C4 7C 9F 23 78 */ mr r31, r4 -/* 8027C668 002795C8 38 81 00 08 */ addi r4, r1, 8 -/* 8027C66C 002795CC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8027C670 002795D0 7C 7E 1B 78 */ mr r30, r3 -/* 8027C674 002795D4 A0 03 01 54 */ lhz r0, 0x154(r3) -/* 8027C678 002795D8 7F E3 FB 78 */ mr r3, r31 -/* 8027C67C 002795DC B0 01 00 08 */ sth r0, 8(r1) -/* 8027C680 002795E0 4B DC FE F5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027C684 002795E4 28 03 00 00 */ cmplwi r3, 0 -/* 8027C688 002795E8 41 82 00 30 */ beq lbl_8027C6B8 -/* 8027C68C 002795EC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027C690 002795F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027C694 002795F4 41 82 00 2C */ beq lbl_8027C6C0 -/* 8027C698 002795F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027C69C 002795FC FC 20 F8 90 */ fmr f1, f31 -/* 8027C6A0 00279600 7F E5 FB 78 */ mr r5, r31 -/* 8027C6A4 00279604 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8027C6A8 00279608 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8027C6AC 0027960C 7D 89 03 A6 */ mtctr r12 -/* 8027C6B0 00279610 4E 80 04 21 */ bctrl -/* 8027C6B4 00279614 48 00 00 0C */ b lbl_8027C6C0 -lbl_8027C6B8: -/* 8027C6B8 00279618 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027C6BC 0027961C B0 1E 01 54 */ sth r0, 0x154(r30) -lbl_8027C6C0: -/* 8027C6C0 00279620 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027C6C4 00279624 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8027C6C8 00279628 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8027C6CC 0027962C 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 8027C6D0 00279630 7C 08 03 A6 */ mtlr r0 -/* 8027C6D4 00279634 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027C6D8 00279638 4E 80 00 20 */ blr - -.global Accept__11CScriptBeamFR8IVisitor -Accept__11CScriptBeamFR8IVisitor: -/* 8027C6DC 0027963C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C6E0 00279640 7C 08 02 A6 */ mflr r0 -/* 8027C6E4 00279644 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C6E8 00279648 7C 60 1B 78 */ mr r0, r3 -/* 8027C6EC 0027964C 7C 83 23 78 */ mr r3, r4 -/* 8027C6F0 00279650 81 84 00 00 */ lwz r12, 0(r4) -/* 8027C6F4 00279654 7C 04 03 78 */ mr r4, r0 -/* 8027C6F8 00279658 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027C6FC 0027965C 7D 89 03 A6 */ mtctr r12 -/* 8027C700 00279660 4E 80 04 21 */ bctrl -/* 8027C704 00279664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C708 00279668 7C 08 03 A6 */ mtlr r0 -/* 8027C70C 0027966C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C710 00279670 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CScriptBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8027C714 00279674 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8027C718 00279678 7C 08 02 A6 */ mflr r0 -/* 8027C71C 0027967C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8027C720 00279680 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 8027C724 00279684 7C 9C 23 78 */ mr r28, r4 -/* 8027C728 00279688 2C 1C 00 07 */ cmpwi r28, 7 -/* 8027C72C 0027968C 7C 7B 1B 78 */ mr r27, r3 -/* 8027C730 00279690 7C BD 2B 78 */ mr r29, r5 -/* 8027C734 00279694 7C DE 33 78 */ mr r30, r6 -/* 8027C738 00279698 41 82 01 80 */ beq lbl_8027C8B8 -/* 8027C73C 0027969C 40 80 00 10 */ bge lbl_8027C74C -/* 8027C740 002796A0 2C 1C 00 05 */ cmpwi r28, 5 -/* 8027C744 002796A4 41 82 01 CC */ beq lbl_8027C910 -/* 8027C748 002796A8 48 00 02 08 */ b lbl_8027C950 -lbl_8027C74C: -/* 8027C74C 002796AC 2C 1C 00 22 */ cmpwi r28, 0x22 -/* 8027C750 002796B0 41 82 01 50 */ beq lbl_8027C8A0 -/* 8027C754 002796B4 40 80 01 FC */ bge lbl_8027C950 -/* 8027C758 002796B8 2C 1C 00 21 */ cmpwi r28, 0x21 -/* 8027C75C 002796BC 40 80 00 08 */ bge lbl_8027C764 -/* 8027C760 002796C0 48 00 01 F0 */ b lbl_8027C950 -lbl_8027C764: -/* 8027C764 002796C4 7F C4 F3 78 */ mr r4, r30 -/* 8027C768 002796C8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027C76C 002796CC 4B DD 09 71 */ bl AllocateUniqueId__13CStateManagerFv -/* 8027C770 002796D0 A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 8027C774 002796D4 3C 60 80 3D */ lis r3, lbl_803D5868@ha -/* 8027C778 002796D8 38 83 58 68 */ addi r4, r3, lbl_803D5868@l -/* 8027C77C 002796DC 3B 40 00 00 */ li r26, 0 -/* 8027C780 002796E0 B0 1B 01 54 */ sth r0, 0x154(r27) -/* 8027C784 002796E4 3B 20 00 00 */ li r25, 0 -/* 8027C788 002796E8 38 60 05 50 */ li r3, 0x550 -/* 8027C78C 002796EC 38 A0 00 00 */ li r5, 0 -/* 8027C790 002796F0 48 09 90 DD */ bl __nw__FUlPCcPCc -/* 8027C794 002796F4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027C798 002796F8 41 82 00 D8 */ beq lbl_8027C870 -/* 8027C79C 002796FC 38 00 FF FF */ li r0, -1 -/* 8027C7A0 00279700 38 60 00 08 */ li r3, 8 -/* 8027C7A4 00279704 90 61 00 68 */ stw r3, 0x68(r1) -/* 8027C7A8 00279708 3C 60 80 3D */ lis r3, lbl_803D5868@ha -/* 8027C7AC 0027970C 38 83 58 68 */ addi r4, r3, lbl_803D5868@l -/* 8027C7B0 00279710 38 61 00 58 */ addi r3, r1, 0x58 -/* 8027C7B4 00279714 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8027C7B8 00279718 38 84 00 07 */ addi r4, r4, 7 -/* 8027C7BC 0027971C 90 01 00 70 */ stw r0, 0x70(r1) -/* 8027C7C0 00279720 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027C7C4 00279724 90 01 00 78 */ stw r0, 0x78(r1) -/* 8027C7C8 00279728 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8027C7CC 0027972C 90 01 00 80 */ stw r0, 0x80(r1) -/* 8027C7D0 00279730 90 01 00 84 */ stw r0, 0x84(r1) -/* 8027C7D4 00279734 90 01 00 88 */ stw r0, 0x88(r1) -/* 8027C7D8 00279738 A0 1B 00 08 */ lhz r0, 8(r27) -/* 8027C7DC 0027973C B0 01 00 38 */ sth r0, 0x38(r1) -/* 8027C7E0 00279740 80 BB 00 04 */ lwz r5, 4(r27) -/* 8027C7E4 00279744 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8027C7E8 00279748 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8027C7EC 0027974C A0 1B 01 54 */ lhz r0, 0x154(r27) -/* 8027C7F0 00279750 90 A1 00 40 */ stw r5, 0x40(r1) -/* 8027C7F4 00279754 B0 01 00 30 */ sth r0, 0x30(r1) -/* 8027C7F8 00279758 83 3B 01 38 */ lwz r25, 0x138(r27) -/* 8027C7FC 0027975C 4B D8 84 BD */ bl string_l__4rstlFPCc -/* 8027C800 00279760 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027C804 00279764 38 9B 00 10 */ addi r4, r27, 0x10 -/* 8027C808 00279768 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8027C80C 0027976C 3B 40 00 01 */ li r26, 1 -/* 8027C810 00279770 4B D8 84 4D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027C814 00279774 38 61 00 30 */ addi r3, r1, 0x30 -/* 8027C818 00279778 38 01 00 44 */ addi r0, r1, 0x44 -/* 8027C81C 0027977C 90 61 00 08 */ stw r3, 8(r1) -/* 8027C820 00279780 38 81 00 38 */ addi r4, r1, 0x38 -/* 8027C824 00279784 39 01 00 68 */ addi r8, r1, 0x68 -/* 8027C828 00279788 39 20 00 00 */ li r9, 0 -/* 8027C82C 0027978C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027C830 00279790 3C 00 00 02 */ lis r0, 2 -/* 8027C834 00279794 7F E3 FB 78 */ mr r3, r31 -/* 8027C838 00279798 7F 26 CB 78 */ mr r6, r25 -/* 8027C83C 0027979C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8027C840 002797A0 38 9B 00 E8 */ addi r4, r27, 0xe8 -/* 8027C844 002797A4 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8027C848 002797A8 38 FB 00 F4 */ addi r7, r27, 0xf4 -/* 8027C84C 002797AC 91 01 00 14 */ stw r8, 0x14(r1) -/* 8027C850 002797B0 39 1B 00 34 */ addi r8, r27, 0x34 -/* 8027C854 002797B4 39 5B 01 38 */ addi r10, r27, 0x138 -/* 8027C858 002797B8 3B 20 00 01 */ li r25, 1 -/* 8027C85C 002797BC 91 21 00 18 */ stw r9, 0x18(r1) -/* 8027C860 002797C0 39 20 00 23 */ li r9, 0x23 -/* 8027C864 002797C4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8027C868 002797C8 4B EF C3 C1 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" -/* 8027C86C 002797CC 7C 7F 1B 78 */ mr r31, r3 -lbl_8027C870: -/* 8027C870 002797D0 7F C3 F3 78 */ mr r3, r30 -/* 8027C874 002797D4 7F E4 FB 78 */ mr r4, r31 -/* 8027C878 002797D8 4B DD 04 7D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8027C87C 002797DC 7F 20 07 75 */ extsb. r0, r25 -/* 8027C880 002797E0 41 82 00 0C */ beq lbl_8027C88C -/* 8027C884 002797E4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027C888 002797E8 48 0C 12 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8027C88C: -/* 8027C88C 002797EC 7F 40 07 75 */ extsb. r0, r26 -/* 8027C890 002797F0 41 82 00 C0 */ beq lbl_8027C950 -/* 8027C894 002797F4 38 61 00 58 */ addi r3, r1, 0x58 -/* 8027C898 002797F8 48 0C 12 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027C89C 002797FC 48 00 00 B4 */ b lbl_8027C950 -lbl_8027C8A0: -/* 8027C8A0 00279800 A0 1B 01 54 */ lhz r0, 0x154(r27) -/* 8027C8A4 00279804 7F C3 F3 78 */ mr r3, r30 -/* 8027C8A8 00279808 38 81 00 2C */ addi r4, r1, 0x2c -/* 8027C8AC 0027980C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8027C8B0 00279810 4B DC F9 BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8027C8B4 00279814 48 00 00 9C */ b lbl_8027C950 -lbl_8027C8B8: -/* 8027C8B8 00279818 A0 1B 01 54 */ lhz r0, 0x154(r27) -/* 8027C8BC 0027981C 7F C3 F3 78 */ mr r3, r30 -/* 8027C8C0 00279820 38 81 00 28 */ addi r4, r1, 0x28 -/* 8027C8C4 00279824 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8027C8C8 00279828 4B DC FC AD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027C8CC 0027982C 7C 79 1B 79 */ or. r25, r3, r3 -/* 8027C8D0 00279830 41 82 00 80 */ beq lbl_8027C950 -/* 8027C8D4 00279834 81 83 00 00 */ lwz r12, 0(r3) -/* 8027C8D8 00279838 7F C4 F3 78 */ mr r4, r30 -/* 8027C8DC 0027983C 38 A0 00 01 */ li r5, 1 -/* 8027C8E0 00279840 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8027C8E4 00279844 7D 89 03 A6 */ mtctr r12 -/* 8027C8E8 00279848 4E 80 04 21 */ bctrl -/* 8027C8EC 0027984C 7F 23 CB 78 */ mr r3, r25 -/* 8027C8F0 00279850 7F C5 F3 78 */ mr r5, r30 -/* 8027C8F4 00279854 81 99 00 00 */ lwz r12, 0(r25) -/* 8027C8F8 00279858 38 9B 00 34 */ addi r4, r27, 0x34 -/* 8027C8FC 0027985C 38 C0 00 00 */ li r6, 0 -/* 8027C900 00279860 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 8027C904 00279864 7D 89 03 A6 */ mtctr r12 -/* 8027C908 00279868 4E 80 04 21 */ bctrl -/* 8027C90C 0027986C 48 00 00 44 */ b lbl_8027C950 -lbl_8027C910: -/* 8027C910 00279870 A0 1B 01 54 */ lhz r0, 0x154(r27) -/* 8027C914 00279874 7F C3 F3 78 */ mr r3, r30 -/* 8027C918 00279878 38 81 00 24 */ addi r4, r1, 0x24 -/* 8027C91C 0027987C B0 01 00 24 */ sth r0, 0x24(r1) -/* 8027C920 00279880 4B DC FC 55 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027C924 00279884 28 03 00 00 */ cmplwi r3, 0 -/* 8027C928 00279888 41 82 00 28 */ beq lbl_8027C950 -/* 8027C92C 0027988C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027C930 00279890 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027C934 00279894 41 82 00 1C */ beq lbl_8027C950 -/* 8027C938 00279898 81 83 00 00 */ lwz r12, 0(r3) -/* 8027C93C 0027989C 7F C4 F3 78 */ mr r4, r30 -/* 8027C940 002798A0 38 A0 00 00 */ li r5, 0 -/* 8027C944 002798A4 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8027C948 002798A8 7D 89 03 A6 */ mtctr r12 -/* 8027C94C 002798AC 4E 80 04 21 */ bctrl -lbl_8027C950: -/* 8027C950 002798B0 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8027C954 002798B4 7F 63 DB 78 */ mr r3, r27 -/* 8027C958 002798B8 7F 84 E3 78 */ mr r4, r28 -/* 8027C95C 002798BC 7F C6 F3 78 */ mr r6, r30 -/* 8027C960 002798C0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8027C964 002798C4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8027C968 002798C8 4B DD 6C AD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8027C96C 002798CC BB 21 00 94 */ lmw r25, 0x94(r1) -/* 8027C970 002798D0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8027C974 002798D4 7C 08 03 A6 */ mtlr r0 -/* 8027C978 002798D8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8027C97C 002798DC 4E 80 00 20 */ blr - -.global "__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo" -"__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo": -/* 8027C980 002798E0 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8027C984 002798E4 7C 08 02 A6 */ mflr r0 -/* 8027C988 002798E8 90 01 01 04 */ stw r0, 0x104(r1) -/* 8027C98C 002798EC BE E1 00 DC */ stmw r23, 0xdc(r1) -/* 8027C990 002798F0 7C 7D 1B 78 */ mr r29, r3 -/* 8027C994 002798F4 83 E1 01 08 */ lwz r31, 0x108(r1) -/* 8027C998 002798F8 7C 97 23 78 */ mr r23, r4 -/* 8027C99C 002798FC 7C B8 2B 78 */ mr r24, r5 -/* 8027C9A0 00279900 7C D9 33 78 */ mr r25, r6 -/* 8027C9A4 00279904 7C FA 3B 78 */ mr r26, r7 -/* 8027C9A8 00279908 7D 1B 43 78 */ mr r27, r8 -/* 8027C9AC 0027990C 7D 3C 4B 78 */ mr r28, r9 -/* 8027C9B0 00279910 7D 5E 53 78 */ mr r30, r10 -/* 8027C9B4 00279914 38 61 00 88 */ addi r3, r1, 0x88 -/* 8027C9B8 00279918 4B DB DD ED */ bl CModelDataNull__10CModelDataFv -/* 8027C9BC 0027991C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027C9C0 00279920 4B D9 E4 79 */ bl None__16CActorParametersFv -/* 8027C9C4 00279924 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027C9C8 00279928 38 80 00 00 */ li r4, 0 -/* 8027C9CC 0027992C A1 97 00 00 */ lhz r12, 0(r23) -/* 8027C9D0 00279930 39 61 00 20 */ addi r11, r1, 0x20 -/* 8027C9D4 00279934 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8027C9D8 00279938 38 01 00 10 */ addi r0, r1, 0x10 -/* 8027C9DC 0027993C 7F A3 EB 78 */ mr r3, r29 -/* 8027C9E0 00279940 7F 65 DB 78 */ mr r5, r27 -/* 8027C9E4 00279944 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8027C9E8 00279948 7F 06 C3 78 */ mr r6, r24 -/* 8027C9EC 0027994C 7F 27 CB 78 */ mr r7, r25 -/* 8027C9F0 00279950 7F 48 D3 78 */ mr r8, r26 -/* 8027C9F4 00279954 90 81 00 18 */ stw r4, 0x18(r1) -/* 8027C9F8 00279958 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027C9FC 0027995C 39 21 00 88 */ addi r9, r1, 0x88 -/* 8027CA00 00279960 39 41 00 18 */ addi r10, r1, 0x18 -/* 8027CA04 00279964 B1 81 00 14 */ sth r12, 0x14(r1) -/* 8027CA08 00279968 91 61 00 08 */ stw r11, 8(r1) -/* 8027CA0C 0027996C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027CA10 00279970 4B DD 8E 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8027CA14 00279974 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027CA18 00279978 38 80 FF FF */ li r4, -1 -/* 8027CA1C 0027997C 4B E8 9B ED */ bl __dt__16CActorParametersFv -/* 8027CA20 00279980 38 61 00 88 */ addi r3, r1, 0x88 -/* 8027CA24 00279984 38 80 FF FF */ li r4, -1 -/* 8027CA28 00279988 4B E9 A0 25 */ bl __dt__10CModelDataFv -/* 8027CA2C 0027998C 3C 60 80 3F */ lis r3, lbl_803EB180@ha -/* 8027CA30 00279990 3A FD 00 E8 */ addi r23, r29, 0xe8 -/* 8027CA34 00279994 38 03 B1 80 */ addi r0, r3, lbl_803EB180@l -/* 8027CA38 00279998 7F 84 E3 78 */ mr r4, r28 -/* 8027CA3C 0027999C 90 1D 00 00 */ stw r0, 0(r29) -/* 8027CA40 002799A0 7E E3 BB 78 */ mr r3, r23 -/* 8027CA44 002799A4 48 0C 44 65 */ bl __ct__6CTokenFRC6CToken -/* 8027CA48 002799A8 7E E3 BB 78 */ mr r3, r23 -/* 8027CA4C 002799AC 48 0C 43 C1 */ bl GetObj__6CTokenFv -/* 8027CA50 002799B0 80 03 00 04 */ lwz r0, 4(r3) -/* 8027CA54 002799B4 7F A3 EB 78 */ mr r3, r29 -/* 8027CA58 002799B8 90 17 00 08 */ stw r0, 8(r23) -/* 8027CA5C 002799BC 80 1E 00 00 */ lwz r0, 0(r30) -/* 8027CA60 002799C0 90 1D 00 F4 */ stw r0, 0xf4(r29) -/* 8027CA64 002799C4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8027CA68 002799C8 90 1D 00 F8 */ stw r0, 0xf8(r29) -/* 8027CA6C 002799CC 80 1E 00 08 */ lwz r0, 8(r30) -/* 8027CA70 002799D0 90 1D 00 FC */ stw r0, 0xfc(r29) -/* 8027CA74 002799D4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8027CA78 002799D8 90 1D 01 00 */ stw r0, 0x100(r29) -/* 8027CA7C 002799DC 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8027CA80 002799E0 90 1D 01 04 */ stw r0, 0x104(r29) -/* 8027CA84 002799E4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8027CA88 002799E8 90 1D 01 08 */ stw r0, 0x108(r29) -/* 8027CA8C 002799EC 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8027CA90 002799F0 90 1D 01 0C */ stw r0, 0x10c(r29) -/* 8027CA94 002799F4 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 8027CA98 002799F8 D0 1D 01 10 */ stfs f0, 0x110(r29) -/* 8027CA9C 002799FC C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 8027CAA0 00279A00 D0 1D 01 14 */ stfs f0, 0x114(r29) -/* 8027CAA4 00279A04 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8027CAA8 00279A08 D0 1D 01 18 */ stfs f0, 0x118(r29) -/* 8027CAAC 00279A0C C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 8027CAB0 00279A10 D0 1D 01 1C */ stfs f0, 0x11c(r29) -/* 8027CAB4 00279A14 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8027CAB8 00279A18 D0 1D 01 20 */ stfs f0, 0x120(r29) -/* 8027CABC 00279A1C C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 8027CAC0 00279A20 D0 1D 01 24 */ stfs f0, 0x124(r29) -/* 8027CAC4 00279A24 C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 8027CAC8 00279A28 D0 1D 01 28 */ stfs f0, 0x128(r29) -/* 8027CACC 00279A2C C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8027CAD0 00279A30 D0 1D 01 2C */ stfs f0, 0x12c(r29) -/* 8027CAD4 00279A34 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8027CAD8 00279A38 90 1D 01 30 */ stw r0, 0x130(r29) -/* 8027CADC 00279A3C 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 8027CAE0 00279A40 90 1D 01 34 */ stw r0, 0x134(r29) -/* 8027CAE4 00279A44 80 1F 00 00 */ lwz r0, 0(r31) -/* 8027CAE8 00279A48 90 1D 01 38 */ stw r0, 0x138(r29) -/* 8027CAEC 00279A4C 88 1F 00 04 */ lbz r0, 4(r31) -/* 8027CAF0 00279A50 98 1D 01 3C */ stb r0, 0x13c(r29) -/* 8027CAF4 00279A54 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8027CAF8 00279A58 D0 1D 01 40 */ stfs f0, 0x140(r29) -/* 8027CAFC 00279A5C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8027CB00 00279A60 D0 1D 01 44 */ stfs f0, 0x144(r29) -/* 8027CB04 00279A64 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8027CB08 00279A68 D0 1D 01 48 */ stfs f0, 0x148(r29) -/* 8027CB0C 00279A6C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8027CB10 00279A70 D0 1D 01 4C */ stfs f0, 0x14c(r29) -/* 8027CB14 00279A74 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8027CB18 00279A78 98 1D 01 50 */ stb r0, 0x150(r29) -/* 8027CB1C 00279A7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027CB20 00279A80 B0 1D 01 54 */ sth r0, 0x154(r29) -/* 8027CB24 00279A84 BA E1 00 DC */ lmw r23, 0xdc(r1) -/* 8027CB28 00279A88 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8027CB2C 00279A8C 7C 08 03 A6 */ mtlr r0 -/* 8027CB30 00279A90 38 21 01 00 */ addi r1, r1, 0x100 -/* 8027CB34 00279A94 4E 80 00 20 */ blr - -.global GetSearchPath__20CMetroidPrimeEssenceFv -GetSearchPath__20CMetroidPrimeEssenceFv: -/* 8027CB38 00279A98 38 63 05 74 */ addi r3, r3, 0x574 -/* 8027CB3C 00279A9C 4E 80 00 20 */ blr - -.global sub_8027cb40 -sub_8027cb40: -/* 8027CB40 00279AA0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8027CB44 00279AA4 7C 08 02 A6 */ mflr r0 -/* 8027CB48 00279AA8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8027CB4C 00279AAC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8027CB50 00279AB0 7C 9F 23 78 */ mr r31, r4 -/* 8027CB54 00279AB4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8027CB58 00279AB8 7C 7E 1B 78 */ mr r30, r3 -/* 8027CB5C 00279ABC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8027CB60 00279AC0 93 81 00 50 */ stw r28, 0x50(r1) -/* 8027CB64 00279AC4 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8027CB68 00279AC8 38 84 00 04 */ addi r4, r4, 4 -/* 8027CB6C 00279ACC 4B F7 81 A1 */ bl GetStepDirection__10CPatternedFRC9CVector3f -/* 8027CB70 00279AD0 80 9E 04 50 */ lwz r4, 0x450(r30) -/* 8027CB74 00279AD4 7C 7C 1B 78 */ mr r28, r3 -/* 8027CB78 00279AD8 38 64 00 04 */ addi r3, r4, 4 -/* 8027CB7C 00279ADC 4B EB 49 2D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv -/* 8027CB80 00279AE0 2C 1C 00 00 */ cmpwi r28, 0 -/* 8027CB84 00279AE4 40 82 00 98 */ bne lbl_8027CC1C -/* 8027CB88 00279AE8 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) -/* 8027CB8C 00279AEC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027CB90 00279AF0 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8027CB94 00279AF4 38 81 00 3C */ addi r4, r1, 0x3c -/* 8027CB98 00279AF8 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) -/* 8027CB9C 00279AFC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8027CBA0 00279B00 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8027CBA4 00279B04 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 8027CBA8 00279B08 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8027CBAC 00279B0C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8027CBB0 00279B10 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8027CBB4 00279B14 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 8027CBB8 00279B18 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8027CBBC 00279B1C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8027CBC0 00279B20 48 09 7C 91 */ bl AsNormalized__9CVector3fCFv -/* 8027CBC4 00279B24 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 8027CBC8 00279B28 38 61 00 30 */ addi r3, r1, 0x30 -/* 8027CBCC 00279B2C C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8027CBD0 00279B30 38 81 00 24 */ addi r4, r1, 0x24 -/* 8027CBD4 00279B34 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8027CBD8 00279B38 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8027CBDC 00279B3C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8027CBE0 00279B40 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8027CBE4 00279B44 48 09 7C 6D */ bl AsNormalized__9CVector3fCFv -/* 8027CBE8 00279B48 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8027CBEC 00279B4C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8027CBF0 00279B50 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8027CBF4 00279B54 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8027CBF8 00279B58 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8027CBFC 00279B5C C0 81 00 38 */ lfs f4, 0x38(r1) -/* 8027CC00 00279B60 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8027CC04 00279B64 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8027CC08 00279B68 C0 02 BD 0C */ lfs f0, lbl_805ADA2C@sda21(r2) -/* 8027CC0C 00279B6C EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8027CC10 00279B70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027CC14 00279B74 40 80 00 08 */ bge lbl_8027CC1C -/* 8027CC18 00279B78 3B 80 00 01 */ li r28, 1 -lbl_8027CC1C: -/* 8027CC1C 00279B7C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8027CC20 00279B80 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8027CC24 00279B84 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8027CC28 00279B88 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 8027CC2C 00279B8C 90 01 00 08 */ stw r0, 8(r1) -/* 8027CC30 00279B90 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l -/* 8027CC34 00279B94 38 80 00 01 */ li r4, 1 -/* 8027CC38 00279B98 38 00 00 00 */ li r0, 0 -/* 8027CC3C 00279B9C 3B A3 00 04 */ addi r29, r3, 4 -/* 8027CC40 00279BA0 90 81 00 0C */ stw r4, 0xc(r1) -/* 8027CC44 00279BA4 7F A3 EB 78 */ mr r3, r29 -/* 8027CC48 00279BA8 38 80 00 01 */ li r4, 1 -/* 8027CC4C 00279BAC 90 A1 00 08 */ stw r5, 8(r1) -/* 8027CC50 00279BB0 93 81 00 10 */ stw r28, 0x10(r1) -/* 8027CC54 00279BB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CC58 00279BB8 4B EB 47 E1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8027CC5C 00279BBC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027CC60 00279BC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8027CC64 00279BC4 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8027CC68 00279BC8 7F 85 E3 78 */ mr r5, r28 -/* 8027CC6C 00279BCC 90 1D 00 C8 */ stw r0, 0xc8(r29) -/* 8027CC70 00279BD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8027CC74 00279BD4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8027CC78 00279BD8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8027CC7C 00279BDC 90 BD 00 CC */ stw r5, 0xcc(r29) -/* 8027CC80 00279BE0 90 7D 00 D0 */ stw r3, 0xd0(r29) -/* 8027CC84 00279BE4 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8027CC88 00279BE8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8027CC8C 00279BEC C0 9F 00 04 */ lfs f4, 4(r31) -/* 8027CC90 00279BF0 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8027CC94 00279BF4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8027CC98 00279BF8 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8027CC9C 00279BFC C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8027CCA0 00279C00 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8027CCA4 00279C04 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8027CCA8 00279C08 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8027CCAC 00279C0C 90 81 00 08 */ stw r4, 8(r1) -/* 8027CCB0 00279C10 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8027CCB4 00279C14 D0 63 00 20 */ stfs f3, 0x20(r3) -/* 8027CCB8 00279C18 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8027CCBC 00279C1C 90 01 00 08 */ stw r0, 8(r1) -/* 8027CCC0 00279C20 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027CCC4 00279C24 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8027CCC8 00279C28 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8027CCCC 00279C2C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8027CCD0 00279C30 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8027CCD4 00279C34 7C 08 03 A6 */ mtlr r0 -/* 8027CCD8 00279C38 38 21 00 60 */ addi r1, r1, 0x60 -/* 8027CCDC 00279C3C 4E 80 00 20 */ blr - -.global sub_8027cce0 -sub_8027cce0: -/* 8027CCE0 00279C40 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027CCE4 00279C44 7C 08 02 A6 */ mflr r0 -/* 8027CCE8 00279C48 90 01 00 54 */ stw r0, 0x54(r1) -/* 8027CCEC 00279C4C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027CCF0 00279C50 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8027CCF4 00279C54 7C 9E 23 78 */ mr r30, r4 -/* 8027CCF8 00279C58 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8027CCFC 00279C5C 7C 7D 1B 78 */ mr r29, r3 -/* 8027CD00 00279C60 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8027CD04 00279C64 38 61 00 0C */ addi r3, r1, 0xc -/* 8027CD08 00279C68 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027CD0C 00279C6C 48 06 C0 C9 */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 8027CD10 00279C70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027CD14 00279C74 40 82 00 CC */ bne lbl_8027CDE0 -/* 8027CD18 00279C78 83 FD 00 04 */ lwz r31, 4(r29) -/* 8027CD1C 00279C7C 38 E0 00 00 */ li r7, 0 -/* 8027CD20 00279C80 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) -/* 8027CD24 00279C84 39 00 00 01 */ li r8, 1 -/* 8027CD28 00279C88 C0 22 BD 14 */ lfs f1, lbl_805ADA34@sda21(r2) -/* 8027CD2C 00279C8C 38 C0 00 7F */ li r6, 0x7f -/* 8027CD30 00279C90 C0 02 BD 18 */ lfs f0, lbl_805ADA38@sda21(r2) -/* 8027CD34 00279C94 38 A0 00 14 */ li r5, 0x14 -/* 8027CD38 00279C98 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 8027CD3C 00279C9C 7F A3 EB 78 */ mr r3, r29 -/* 8027CD40 00279CA0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8027CD44 00279CA4 7F C4 F3 78 */ mr r4, r30 -/* 8027CD48 00279CA8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8027CD4C 00279CAC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8027CD50 00279CB0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8027CD54 00279CB4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027CD58 00279CB8 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8027CD5C 00279CBC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8027CD60 00279CC0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8027CD64 00279CC4 91 01 00 30 */ stw r8, 0x30(r1) -/* 8027CD68 00279CC8 B0 E1 00 34 */ sth r7, 0x34(r1) -/* 8027CD6C 00279CCC 98 C1 00 36 */ stb r6, 0x36(r1) -/* 8027CD70 00279CD0 98 A1 00 37 */ stb r5, 0x37(r1) -/* 8027CD74 00279CD4 98 E1 00 38 */ stb r7, 0x38(r1) -/* 8027CD78 00279CD8 98 01 00 39 */ stb r0, 0x39(r1) -/* 8027CD7C 00279CDC 48 00 00 81 */ bl sub_8027cdfc -/* 8027CD80 00279CE0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027CD84 00279CE4 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8027CD88 00279CE8 C0 A3 00 2C */ lfs f5, 0x2c(r3) -/* 8027CD8C 00279CEC 38 00 0B 67 */ li r0, 0xb67 -/* 8027CD90 00279CF0 C0 83 00 1C */ lfs f4, 0x1c(r3) -/* 8027CD94 00279CF4 7F E8 FB 78 */ mr r8, r31 -/* 8027CD98 00279CF8 C0 63 00 0C */ lfs f3, 0xc(r3) -/* 8027CD9C 00279CFC 38 61 00 08 */ addi r3, r1, 8 -/* 8027CDA0 00279D00 C0 24 00 04 */ lfs f1, 4(r4) -/* 8027CDA4 00279D04 38 A0 00 01 */ li r5, 1 -/* 8027CDA8 00279D08 C0 04 00 08 */ lfs f0, 8(r4) -/* 8027CDAC 00279D0C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8027CDB0 00279D10 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8027CDB4 00279D14 38 E0 00 00 */ li r7, 0 -/* 8027CDB8 00279D18 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 8027CDBC 00279D1C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8027CDC0 00279D20 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8027CDC4 00279D24 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8027CDC8 00279D28 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8027CDCC 00279D2C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8027CDD0 00279D30 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8027CDD4 00279D34 48 06 D2 0D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8027CDD8 00279D38 80 01 00 08 */ lwz r0, 8(r1) -/* 8027CDDC 00279D3C 90 1D 07 08 */ stw r0, 0x708(r29) -lbl_8027CDE0: -/* 8027CDE0 00279D40 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8027CDE4 00279D44 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027CDE8 00279D48 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8027CDEC 00279D4C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8027CDF0 00279D50 7C 08 03 A6 */ mtlr r0 -/* 8027CDF4 00279D54 38 21 00 50 */ addi r1, r1, 0x50 -/* 8027CDF8 00279D58 4E 80 00 20 */ blr - -.global sub_8027cdfc -sub_8027cdfc: -/* 8027CDFC 00279D5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027CE00 00279D60 7C 08 02 A6 */ mflr r0 -/* 8027CE04 00279D64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027CE08 00279D68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027CE0C 00279D6C 7C 7F 1B 78 */ mr r31, r3 -/* 8027CE10 00279D70 A0 03 07 06 */ lhz r0, 0x706(r3) -/* 8027CE14 00279D74 7C 83 23 78 */ mr r3, r4 -/* 8027CE18 00279D78 38 81 00 08 */ addi r4, r1, 8 -/* 8027CE1C 00279D7C B0 01 00 08 */ sth r0, 8(r1) -/* 8027CE20 00279D80 4B DC F7 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027CE24 00279D84 7C 64 1B 78 */ mr r4, r3 -/* 8027CE28 00279D88 38 61 00 0C */ addi r3, r1, 0xc -/* 8027CE2C 00279D8C 4B E3 25 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027CE30 00279D90 80 63 00 04 */ lwz r3, 4(r3) -/* 8027CE34 00279D94 28 03 00 00 */ cmplwi r3, 0 -/* 8027CE38 00279D98 41 82 00 0C */ beq lbl_8027CE44 -/* 8027CE3C 00279D9C 38 63 00 34 */ addi r3, r3, 0x34 -/* 8027CE40 00279DA0 48 00 00 08 */ b lbl_8027CE48 -lbl_8027CE44: -/* 8027CE44 00279DA4 38 7F 00 34 */ addi r3, r31, 0x34 -lbl_8027CE48: -/* 8027CE48 00279DA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027CE4C 00279DAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027CE50 00279DB0 7C 08 03 A6 */ mtlr r0 -/* 8027CE54 00279DB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027CE58 00279DB8 4E 80 00 20 */ blr - -.global sub_8027ce5c -sub_8027ce5c: -/* 8027CE5C 00279DBC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027CE60 00279DC0 7C 08 02 A6 */ mflr r0 -/* 8027CE64 00279DC4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027CE68 00279DC8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8027CE6C 00279DCC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8027CE70 00279DD0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027CE74 00279DD4 7C 7F 1B 78 */ mr r31, r3 -/* 8027CE78 00279DD8 FF E0 08 90 */ fmr f31, f1 -/* 8027CE7C 00279DDC 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8027CE80 00279DE0 4B E9 7D C9 */ bl GetNumMaterialSets__10CModelDataCFv -/* 8027CE84 00279DE4 38 63 FF FE */ addi r3, r3, -2 -/* 8027CE88 00279DE8 3C 00 43 30 */ lis r0, 0x4330 -/* 8027CE8C 00279DEC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027CE90 00279DF0 90 01 00 08 */ stw r0, 8(r1) -/* 8027CE94 00279DF4 C8 22 BD 20 */ lfd f1, lbl_805ADA40@sda21(r2) -/* 8027CE98 00279DF8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027CE9C 00279DFC 80 1F 06 FC */ lwz r0, 0x6fc(r31) -/* 8027CEA0 00279E00 C8 01 00 08 */ lfd f0, 8(r1) -/* 8027CEA4 00279E04 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8027CEA8 00279E08 EC 00 07 FC */ fnmsubs f0, f0, f31, f0 -/* 8027CEAC 00279E0C FC 00 00 1E */ fctiwz f0, f0 -/* 8027CEB0 00279E10 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8027CEB4 00279E14 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8027CEB8 00279E18 7C 00 18 00 */ cmpw r0, r3 -/* 8027CEBC 00279E1C 41 82 00 08 */ beq lbl_8027CEC4 -/* 8027CEC0 00279E20 90 7F 06 FC */ stw r3, 0x6fc(r31) -lbl_8027CEC4: -/* 8027CEC4 00279E24 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8027CEC8 00279E28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027CECC 00279E2C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8027CED0 00279E30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027CED4 00279E34 7C 08 03 A6 */ mtlr r0 -/* 8027CED8 00279E38 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027CEDC 00279E3C 4E 80 00 20 */ blr - -.global sub_8027cee0 -sub_8027cee0: -/* 8027CEE0 00279E40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CEE4 00279E44 7C 08 02 A6 */ mflr r0 -/* 8027CEE8 00279E48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CEEC 00279E4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CEF0 00279E50 7C 9F 23 78 */ mr r31, r4 -/* 8027CEF4 00279E54 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CEF8 00279E58 7C 7E 1B 78 */ mr r30, r3 -/* 8027CEFC 00279E5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027CF00 00279E60 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027CF04 00279E64 7D 89 03 A6 */ mtctr r12 -/* 8027CF08 00279E68 4E 80 04 21 */ bctrl -/* 8027CF0C 00279E6C C0 5E 06 C4 */ lfs f2, 0x6c4(r30) -/* 8027CF10 00279E70 C0 23 00 00 */ lfs f1, 0(r3) -/* 8027CF14 00279E74 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027CF18 00279E78 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8027CF1C 00279E7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027CF20 00279E80 4C 41 13 82 */ cror 2, 1, 2 -/* 8027CF24 00279E84 40 82 00 98 */ bne lbl_8027CFBC -/* 8027CF28 00279E88 80 1E 06 D8 */ lwz r0, 0x6d8(r30) -/* 8027CF2C 00279E8C 38 60 00 00 */ li r3, 0 -/* 8027CF30 00279E90 2C 00 00 01 */ cmpwi r0, 1 -/* 8027CF34 00279E94 41 82 00 38 */ beq lbl_8027CF6C -/* 8027CF38 00279E98 40 80 00 10 */ bge lbl_8027CF48 -/* 8027CF3C 00279E9C 2C 00 00 00 */ cmpwi r0, 0 -/* 8027CF40 00279EA0 40 80 00 14 */ bge lbl_8027CF54 -/* 8027CF44 00279EA4 48 00 00 5C */ b lbl_8027CFA0 -lbl_8027CF48: -/* 8027CF48 00279EA8 2C 00 00 03 */ cmpwi r0, 3 -/* 8027CF4C 00279EAC 40 80 00 54 */ bge lbl_8027CFA0 -/* 8027CF50 00279EB0 48 00 00 38 */ b lbl_8027CF88 -lbl_8027CF54: -/* 8027CF54 00279EB4 C0 02 BD 28 */ lfs f0, lbl_805ADA48@sda21(r2) -/* 8027CF58 00279EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027CF5C 00279EBC 40 80 00 44 */ bge lbl_8027CFA0 -/* 8027CF60 00279EC0 38 00 00 01 */ li r0, 1 -/* 8027CF64 00279EC4 90 1E 06 D8 */ stw r0, 0x6d8(r30) -/* 8027CF68 00279EC8 48 00 00 38 */ b lbl_8027CFA0 -lbl_8027CF6C: -/* 8027CF6C 00279ECC C0 02 BD 2C */ lfs f0, lbl_805ADA4C@sda21(r2) -/* 8027CF70 00279ED0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027CF74 00279ED4 40 80 00 2C */ bge lbl_8027CFA0 -/* 8027CF78 00279ED8 38 00 00 02 */ li r0, 2 -/* 8027CF7C 00279EDC 38 60 00 01 */ li r3, 1 -/* 8027CF80 00279EE0 90 1E 06 D8 */ stw r0, 0x6d8(r30) -/* 8027CF84 00279EE4 48 00 00 1C */ b lbl_8027CFA0 -lbl_8027CF88: -/* 8027CF88 00279EE8 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) -/* 8027CF8C 00279EEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027CF90 00279EF0 40 80 00 10 */ bge lbl_8027CFA0 -/* 8027CF94 00279EF4 38 00 00 03 */ li r0, 3 -/* 8027CF98 00279EF8 38 60 00 01 */ li r3, 1 -/* 8027CF9C 00279EFC 90 1E 06 D8 */ stw r0, 0x6d8(r30) -lbl_8027CFA0: -/* 8027CFA0 00279F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027CFA4 00279F04 41 82 00 18 */ beq lbl_8027CFBC -/* 8027CFA8 00279F08 7F C3 F3 78 */ mr r3, r30 -/* 8027CFAC 00279F0C 7F E5 FB 78 */ mr r5, r31 -/* 8027CFB0 00279F10 38 80 00 11 */ li r4, 0x11 -/* 8027CFB4 00279F14 38 C0 FF FF */ li r6, -1 -/* 8027CFB8 00279F18 4B DD 41 09 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8027CFBC: -/* 8027CFBC 00279F1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CFC0 00279F20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CFC4 00279F24 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CFC8 00279F28 7C 08 03 A6 */ mtlr r0 -/* 8027CFCC 00279F2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CFD0 00279F30 4E 80 00 20 */ blr - -.global sub_8027cfd4 -sub_8027cfd4: -/* 8027CFD4 00279F34 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8027CFD8 00279F38 7C 08 02 A6 */ mflr r0 -/* 8027CFDC 00279F3C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8027CFE0 00279F40 BF 01 00 70 */ stmw r24, 0x70(r1) -/* 8027CFE4 00279F44 7C 9D 23 78 */ mr r29, r4 -/* 8027CFE8 00279F48 7C B8 2B 78 */ mr r24, r5 -/* 8027CFEC 00279F4C 4B FF FE 11 */ bl sub_8027cdfc -/* 8027CFF0 00279F50 7C 7A 1B 78 */ mr r26, r3 -/* 8027CFF4 00279F54 57 00 06 3E */ clrlwi r0, r24, 0x18 -/* 8027CFF8 00279F58 C0 43 00 24 */ lfs f2, 0x24(r3) -/* 8027CFFC 00279F5C 7C 00 00 34 */ cntlzw r0, r0 -/* 8027D000 00279F60 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 8027D004 00279F64 54 1F D9 7E */ srwi r31, r0, 5 -/* 8027D008 00279F68 C0 03 00 04 */ lfs f0, 4(r3) -/* 8027D00C 00279F6C FC 40 10 50 */ fneg f2, f2 -/* 8027D010 00279F70 FC 20 08 50 */ fneg f1, f1 -/* 8027D014 00279F74 3B 60 00 01 */ li r27, 1 -/* 8027D018 00279F78 FC 00 00 50 */ fneg f0, f0 -/* 8027D01C 00279F7C 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8027D020 00279F80 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8027D024 00279F84 1C 1F 00 0C */ mulli r0, r31, 0xc -/* 8027D028 00279F88 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8027D02C 00279F8C 3B 21 00 48 */ addi r25, r1, 0x48 -/* 8027D030 00279F90 7F F8 FB 78 */ mr r24, r31 -/* 8027D034 00279F94 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8027D038 00279F98 7F 7E F8 30 */ slw r30, r27, r31 -/* 8027D03C 00279F9C 7F 39 02 14 */ add r25, r25, r0 -/* 8027D040 00279FA0 3B 83 FD 18 */ addi r28, r3, lbl_8059FD18@l -/* 8027D044 00279FA4 C0 7A 00 20 */ lfs f3, 0x20(r26) -/* 8027D048 00279FA8 C0 5A 00 10 */ lfs f2, 0x10(r26) -/* 8027D04C 00279FAC C0 3A 00 00 */ lfs f1, 0(r26) -/* 8027D050 00279FB0 FC A0 18 50 */ fneg f5, f3 -/* 8027D054 00279FB4 FC 80 10 50 */ fneg f4, f2 -/* 8027D058 00279FB8 FC 00 08 50 */ fneg f0, f1 -/* 8027D05C 00279FBC D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8027D060 00279FC0 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8027D064 00279FC4 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8027D068 00279FC8 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 8027D06C 00279FCC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8027D070 00279FD0 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 8027D074 00279FD4 48 00 00 54 */ b lbl_8027D0C8 -lbl_8027D078: -/* 8027D078 00279FD8 C0 7A 00 2C */ lfs f3, 0x2c(r26) -/* 8027D07C 00279FDC 7F A4 EB 78 */ mr r4, r29 -/* 8027D080 00279FE0 C0 5A 00 1C */ lfs f2, 0x1c(r26) -/* 8027D084 00279FE4 7F 26 CB 78 */ mr r6, r25 -/* 8027D088 00279FE8 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 8027D08C 00279FEC 7F 87 E3 78 */ mr r7, r28 -/* 8027D090 00279FF0 C0 22 BD 34 */ lfs f1, lbl_805ADA54@sda21(r2) -/* 8027D094 00279FF4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027D098 00279FF8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8027D09C 00279FFC 38 A1 00 08 */ addi r5, r1, 8 -/* 8027D0A0 0027A000 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8027D0A4 0027A004 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8027D0A8 0027A008 4B DC FE F1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8027D0AC 0027A00C 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8027D0B0 0027A010 28 00 00 00 */ cmplwi r0, 0 -/* 8027D0B4 0027A014 40 82 00 0C */ bne lbl_8027D0C0 -/* 8027D0B8 0027A018 7F 60 C0 30 */ slw r0, r27, r24 -/* 8027D0BC 0027A01C 7F DE 03 78 */ or r30, r30, r0 -lbl_8027D0C0: -/* 8027D0C0 0027A020 3B 39 00 0C */ addi r25, r25, 0xc -/* 8027D0C4 0027A024 3B 18 00 01 */ addi r24, r24, 1 -lbl_8027D0C8: -/* 8027D0C8 0027A028 2C 18 00 03 */ cmpwi r24, 3 -/* 8027D0CC 0027A02C 41 80 FF AC */ blt lbl_8027D078 -/* 8027D0D0 0027A030 2C 1E 00 07 */ cmpwi r30, 7 -/* 8027D0D4 0027A034 38 60 00 00 */ li r3, 0 -/* 8027D0D8 0027A038 41 81 00 F8 */ bgt lbl_8027D1D0 -/* 8027D0DC 0027A03C 3C 80 AA AB */ lis r4, 0xAAAAAAAA@ha -/* 8027D0E0 0027A040 3C C0 55 55 */ lis r6, 0x55555555@ha -/* 8027D0E4 0027A044 38 04 AA AA */ addi r0, r4, 0xAAAAAAAA@l -/* 8027D0E8 0027A048 3C A0 CC CD */ lis r5, 0xCCCCCCCC@ha -/* 8027D0EC 0027A04C 39 06 55 55 */ addi r8, r6, 0x55555555@l -/* 8027D0F0 0027A050 3C C0 33 33 */ lis r6, 0x33333333@ha -/* 8027D0F4 0027A054 7F C7 00 38 */ and r7, r30, r0 -/* 8027D0F8 0027A058 38 05 CC CC */ addi r0, r5, 0xCCCCCCCC@l -/* 8027D0FC 0027A05C 54 E5 F8 7E */ srwi r5, r7, 1 -/* 8027D100 0027A060 7F C8 40 38 */ and r8, r30, r8 -/* 8027D104 0027A064 7D 08 2A 14 */ add r8, r8, r5 -/* 8027D108 0027A068 38 E6 33 33 */ addi r7, r6, 0x33333333@l -/* 8027D10C 0027A06C 7D 06 00 38 */ and r6, r8, r0 -/* 8027D110 0027A070 3C 80 F0 F1 */ lis r4, 0xF0F0F0F0@ha -/* 8027D114 0027A074 38 04 F0 F0 */ addi r0, r4, 0xF0F0F0F0@l -/* 8027D118 0027A078 3C A0 0F 0F */ lis r5, 0x0F0F0F0F@ha -/* 8027D11C 0027A07C 7D 08 38 38 */ and r8, r8, r7 -/* 8027D120 0027A080 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha -/* 8027D124 0027A084 38 E5 0F 0F */ addi r7, r5, 0x0F0F0F0F@l -/* 8027D128 0027A088 54 C5 F0 BE */ srwi r5, r6, 2 -/* 8027D12C 0027A08C 7D 08 2A 14 */ add r8, r8, r5 -/* 8027D130 0027A090 7D 06 00 38 */ and r6, r8, r0 -/* 8027D134 0027A094 3C A0 00 FF */ lis r5, 0x00FF00FF@ha -/* 8027D138 0027A098 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l -/* 8027D13C 0027A09C 7D 07 38 38 */ and r7, r8, r7 -/* 8027D140 0027A0A0 38 85 00 FF */ addi r4, r5, 0x00FF00FF@l -/* 8027D144 0027A0A4 54 C5 E1 3E */ srwi r5, r6, 4 -/* 8027D148 0027A0A8 7C A7 2A 14 */ add r5, r7, r5 -/* 8027D14C 0027A0AC 7C A0 00 38 */ and r0, r5, r0 -/* 8027D150 0027A0B0 7C A4 20 38 */ and r4, r5, r4 -/* 8027D154 0027A0B4 54 00 C2 3E */ srwi r0, r0, 8 -/* 8027D158 0027A0B8 7C 04 02 14 */ add r0, r4, r0 -/* 8027D15C 0027A0BC 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 8027D160 0027A0C0 54 00 84 3E */ srwi r0, r0, 0x10 -/* 8027D164 0027A0C4 7C 04 02 14 */ add r0, r4, r0 -/* 8027D168 0027A0C8 2C 00 00 02 */ cmpwi r0, 2 -/* 8027D16C 0027A0CC 41 82 00 28 */ beq lbl_8027D194 -/* 8027D170 0027A0D0 40 80 00 10 */ bge lbl_8027D180 -/* 8027D174 0027A0D4 2C 00 00 01 */ cmpwi r0, 1 -/* 8027D178 0027A0D8 40 80 00 14 */ bge lbl_8027D18C -/* 8027D17C 0027A0DC 48 00 00 54 */ b lbl_8027D1D0 -lbl_8027D180: -/* 8027D180 0027A0E0 2C 00 00 04 */ cmpwi r0, 4 -/* 8027D184 0027A0E4 40 80 00 4C */ bge lbl_8027D1D0 -/* 8027D188 0027A0E8 48 00 00 38 */ b lbl_8027D1C0 -lbl_8027D18C: -/* 8027D18C 0027A0EC 7F C3 0E 70 */ srawi r3, r30, 1 -/* 8027D190 0027A0F0 48 00 00 40 */ b lbl_8027D1D0 -lbl_8027D194: -/* 8027D194 0027A0F4 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8027D198 0027A0F8 48 09 53 89 */ bl Next__9CRandom16Fv -/* 8027D19C 0027A0FC 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 8027D1A0 0027A100 41 82 00 14 */ beq lbl_8027D1B4 -/* 8027D1A4 0027A104 57 C3 F7 FE */ rlwinm r3, r30, 0x1e, 0x1f, 0x1f -/* 8027D1A8 0027A108 38 03 00 01 */ addi r0, r3, 1 -/* 8027D1AC 0027A10C 7C 03 03 78 */ mr r3, r0 -/* 8027D1B0 0027A110 48 00 00 20 */ b lbl_8027D1D0 -lbl_8027D1B4: -/* 8027D1B4 0027A114 57 C0 07 FE */ clrlwi r0, r30, 0x1f -/* 8027D1B8 0027A118 68 03 00 01 */ xori r3, r0, 1 -/* 8027D1BC 0027A11C 48 00 00 14 */ b lbl_8027D1D0 -lbl_8027D1C0: -/* 8027D1C0 0027A120 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8027D1C4 0027A124 7F E4 FB 78 */ mr r4, r31 -/* 8027D1C8 0027A128 38 A0 00 02 */ li r5, 2 -/* 8027D1CC 0027A12C 48 09 53 C9 */ bl Range__9CRandom16Fii -lbl_8027D1D0: -/* 8027D1D0 0027A130 3C 80 80 3D */ lis r4, lbl_803D5890@ha -/* 8027D1D4 0027A134 54 60 10 3A */ slwi r0, r3, 2 -/* 8027D1D8 0027A138 38 64 58 90 */ addi r3, r4, lbl_803D5890@l -/* 8027D1DC 0027A13C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8027D1E0 0027A140 BB 01 00 70 */ lmw r24, 0x70(r1) -/* 8027D1E4 0027A144 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8027D1E8 0027A148 7C 08 03 A6 */ mtlr r0 -/* 8027D1EC 0027A14C 38 21 00 90 */ addi r1, r1, 0x90 -/* 8027D1F0 0027A150 4E 80 00 20 */ blr - -.global sub_8027d1f4 -sub_8027d1f4: -/* 8027D1F4 0027A154 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8027D1F8 0027A158 7C 08 02 A6 */ mflr r0 -/* 8027D1FC 0027A15C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) -/* 8027D200 0027A160 38 C0 00 01 */ li r6, 1 -/* 8027D204 0027A164 90 01 00 84 */ stw r0, 0x84(r1) -/* 8027D208 0027A168 38 A0 00 00 */ li r5, 0 -/* 8027D20C 0027A16C BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8027D210 0027A170 7C 7E 1B 78 */ mr r30, r3 -/* 8027D214 0027A174 3C 60 80 3D */ lis r3, lbl_803D5880@ha -/* 8027D218 0027A178 7C 9F 23 78 */ mr r31, r4 -/* 8027D21C 0027A17C 38 63 58 80 */ addi r3, r3, lbl_803D5880@l -/* 8027D220 0027A180 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 8027D224 0027A184 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) -/* 8027D228 0027A188 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027D22C 0027A18C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8027D230 0027A190 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027D234 0027A194 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027D238 0027A198 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 8027D23C 0027A19C 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027D240 0027A1A0 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) -/* 8027D244 0027A1A4 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027D248 0027A1A8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8027D24C 0027A1AC 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027D250 0027A1B0 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 8027D254 0027A1B4 80 BE 06 DC */ lwz r5, 0x6dc(r30) -/* 8027D258 0027A1B8 80 84 00 00 */ lwz r4, 0(r4) -/* 8027D25C 0027A1BC 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8027D260 0027A1C0 54 00 10 3A */ slwi r0, r0, 2 -/* 8027D264 0027A1C4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8027D268 0027A1C8 7C 03 28 50 */ subf r0, r3, r5 -/* 8027D26C 0027A1CC 7C 03 28 00 */ cmpw r3, r5 -/* 8027D270 0027A1D0 7C 00 00 34 */ cntlzw r0, r0 -/* 8027D274 0027A1D4 54 03 D9 7E */ srwi r3, r0, 5 -/* 8027D278 0027A1D8 3B 83 0B 7D */ addi r28, r3, 0xb7d -/* 8027D27C 0027A1DC 40 82 01 30 */ bne lbl_8027D3AC -/* 8027D280 0027A1E0 3C 60 80 3D */ lis r3, lbl_803D589C@ha -/* 8027D284 0027A1E4 3B 60 00 00 */ li r27, 0 -/* 8027D288 0027A1E8 38 83 58 9C */ addi r4, r3, lbl_803D589C@l -/* 8027D28C 0027A1EC 38 60 03 40 */ li r3, 0x340 -/* 8027D290 0027A1F0 38 84 00 1D */ addi r4, r4, 0x1d -/* 8027D294 0027A1F4 38 A0 00 00 */ li r5, 0 -/* 8027D298 0027A1F8 48 09 85 D5 */ bl __nw__FUlPCcPCc -/* 8027D29C 0027A1FC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8027D2A0 0027A200 41 82 00 2C */ beq lbl_8027D2CC -/* 8027D2A4 0027A204 38 61 00 0C */ addi r3, r1, 0xc -/* 8027D2A8 0027A208 38 9E 05 68 */ addi r4, r30, 0x568 -/* 8027D2AC 0027A20C 48 0C 3B FD */ bl __ct__6CTokenFRC6CToken -/* 8027D2B0 0027A210 7F A3 EB 78 */ mr r3, r29 -/* 8027D2B4 0027A214 38 81 00 0C */ addi r4, r1, 0xc -/* 8027D2B8 0027A218 3B 60 00 01 */ li r27, 1 -/* 8027D2BC 0027A21C 38 A0 00 00 */ li r5, 0 -/* 8027D2C0 0027A220 38 C0 00 01 */ li r6, 1 -/* 8027D2C4 0027A224 48 0A 21 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8027D2C8 0027A228 7C 7D 1B 78 */ mr r29, r3 -lbl_8027D2CC: -/* 8027D2CC 0027A22C 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027D2D0 0027A230 28 03 00 00 */ cmplwi r3, 0 -/* 8027D2D4 0027A234 41 82 00 18 */ beq lbl_8027D2EC -/* 8027D2D8 0027A238 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D2DC 0027A23C 38 80 00 01 */ li r4, 1 -/* 8027D2E0 0027A240 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027D2E4 0027A244 7D 89 03 A6 */ mtctr r12 -/* 8027D2E8 0027A248 4E 80 04 21 */ bctrl -lbl_8027D2EC: -/* 8027D2EC 0027A24C 7F 60 07 75 */ extsb. r0, r27 -/* 8027D2F0 0027A250 93 BE 06 5C */ stw r29, 0x65c(r30) -/* 8027D2F4 0027A254 41 82 00 10 */ beq lbl_8027D304 -/* 8027D2F8 0027A258 38 61 00 0C */ addi r3, r1, 0xc -/* 8027D2FC 0027A25C 38 80 00 00 */ li r4, 0 -/* 8027D300 0027A260 48 0C 3B 41 */ bl __dt__6CTokenFv -lbl_8027D304: -/* 8027D304 0027A264 80 1E 06 5C */ lwz r0, 0x65c(r30) -/* 8027D308 0027A268 28 00 00 00 */ cmplwi r0, 0 -/* 8027D30C 0027A26C 41 82 00 A0 */ beq lbl_8027D3AC -/* 8027D310 0027A270 7F C3 F3 78 */ mr r3, r30 -/* 8027D314 0027A274 7F E4 FB 78 */ mr r4, r31 -/* 8027D318 0027A278 4B FF FA E5 */ bl sub_8027cdfc -/* 8027D31C 0027A27C 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 8027D320 0027A280 7C 7F 1B 78 */ mr r31, r3 -/* 8027D324 0027A284 38 81 00 2C */ addi r4, r1, 0x2c -/* 8027D328 0027A288 C0 05 00 00 */ lfs f0, 0(r5) -/* 8027D32C 0027A28C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8027D330 0027A290 C0 05 00 04 */ lfs f0, 4(r5) -/* 8027D334 0027A294 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8027D338 0027A298 C0 05 00 08 */ lfs f0, 8(r5) -/* 8027D33C 0027A29C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8027D340 0027A2A0 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027D344 0027A2A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D348 0027A2A8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8027D34C 0027A2AC 7D 89 03 A6 */ mtctr r12 -/* 8027D350 0027A2B0 4E 80 04 21 */ bctrl -/* 8027D354 0027A2B4 83 BE 06 5C */ lwz r29, 0x65c(r30) -/* 8027D358 0027A2B8 7F E4 FB 78 */ mr r4, r31 -/* 8027D35C 0027A2BC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027D360 0027A2C0 48 09 58 E1 */ bl GetRotation__12CTransform4fCFv -/* 8027D364 0027A2C4 7F A3 EB 78 */ mr r3, r29 -/* 8027D368 0027A2C8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8027D36C 0027A2CC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027D370 0027A2D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027D374 0027A2D4 7D 89 03 A6 */ mtctr r12 -/* 8027D378 0027A2D8 4E 80 04 21 */ bctrl -/* 8027D37C 0027A2DC C0 5F 00 2C */ lfs f2, 0x2c(r31) -/* 8027D380 0027A2E0 38 81 00 20 */ addi r4, r1, 0x20 -/* 8027D384 0027A2E4 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8027D388 0027A2E8 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8027D38C 0027A2EC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8027D390 0027A2F0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8027D394 0027A2F4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8027D398 0027A2F8 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027D39C 0027A2FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D3A0 0027A300 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027D3A4 0027A304 7D 89 03 A6 */ mtctr r12 -/* 8027D3A8 0027A308 4E 80 04 21 */ bctrl -lbl_8027D3AC: -/* 8027D3AC 0027A30C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8027D3B0 0027A310 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8027D3B4 0027A314 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8027D3B8 0027A318 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8027D3BC 0027A31C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8027D3C0 0027A320 7F 84 E3 78 */ mr r4, r28 -/* 8027D3C4 0027A324 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8027D3C8 0027A328 38 61 00 08 */ addi r3, r1, 8 -/* 8027D3CC 0027A32C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8027D3D0 0027A330 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027D3D4 0027A334 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8027D3D8 0027A338 38 E0 00 01 */ li r7, 1 -/* 8027D3DC 0027A33C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8027D3E0 0027A340 39 00 00 00 */ li r8, 0 -/* 8027D3E4 0027A344 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8027D3E8 0027A348 48 06 CE C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 8027D3EC 0027A34C 80 1E 06 DC */ lwz r0, 0x6dc(r30) -/* 8027D3F0 0027A350 90 1E 06 E0 */ stw r0, 0x6e0(r30) -/* 8027D3F4 0027A354 80 7E 06 DC */ lwz r3, 0x6dc(r30) -/* 8027D3F8 0027A358 38 03 00 01 */ addi r0, r3, 1 -/* 8027D3FC 0027A35C 90 1E 06 DC */ stw r0, 0x6dc(r30) -/* 8027D400 0027A360 80 1E 06 DC */ lwz r0, 0x6dc(r30) -/* 8027D404 0027A364 2C 00 00 02 */ cmpwi r0, 2 -/* 8027D408 0027A368 40 81 00 0C */ ble lbl_8027D414 -/* 8027D40C 0027A36C 38 00 00 00 */ li r0, 0 -/* 8027D410 0027A370 90 1E 06 DC */ stw r0, 0x6dc(r30) -lbl_8027D414: -/* 8027D414 0027A374 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8027D418 0027A378 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8027D41C 0027A37C 7C 08 03 A6 */ mtlr r0 -/* 8027D420 0027A380 38 21 00 80 */ addi r1, r1, 0x80 -/* 8027D424 0027A384 4E 80 00 20 */ blr - -.global sub_8027d428 -sub_8027d428: -/* 8027D428 0027A388 38 60 00 02 */ li r3, 2 -/* 8027D42C 0027A38C 4E 80 00 20 */ blr - -.global sub_8027d430 -sub_8027d430: -/* 8027D430 0027A390 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8027D434 0027A394 7C 08 02 A6 */ mflr r0 -/* 8027D438 0027A398 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8027D43C 0027A39C 93 E1 00 EC */ stw r31, 0xec(r1) -/* 8027D440 0027A3A0 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 8027D444 0027A3A4 7C 9E 23 78 */ mr r30, r4 -/* 8027D448 0027A3A8 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 8027D44C 0027A3AC C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8027D450 0027A3B0 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8027D454 0027A3B4 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 8027D458 0027A3B8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8027D45C 0027A3BC EC 84 00 28 */ fsubs f4, f4, f0 -/* 8027D460 0027A3C0 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8027D464 0027A3C4 38 61 00 08 */ addi r3, r1, 8 -/* 8027D468 0027A3C8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8027D46C 0027A3CC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8027D470 0027A3D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8027D474 0027A3D4 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8027D478 0027A3D8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8027D47C 0027A3DC D0 01 00 08 */ stfs f0, 8(r1) -/* 8027D480 0027A3E0 48 09 74 39 */ bl Magnitude__9CVector3fCFv -/* 8027D484 0027A3E4 C0 62 BD 40 */ lfs f3, lbl_805ADA60@sda21(r2) -/* 8027D488 0027A3E8 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) -/* 8027D48C 0027A3EC C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027D490 0027A3F0 EC 43 10 7C */ fnmsubs f2, f3, f1, f2 -/* 8027D494 0027A3F4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027D498 0027A3F8 40 81 00 7C */ ble lbl_8027D514 -/* 8027D49C 0027A3FC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 8027D4A0 0027A400 2C 00 00 02 */ cmpwi r0, 2 -/* 8027D4A4 0027A404 40 82 00 0C */ bne lbl_8027D4B0 -/* 8027D4A8 0027A408 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 8027D4AC 0027A40C 48 00 00 08 */ b lbl_8027D4B4 -lbl_8027D4B0: -/* 8027D4B0 0027A410 38 00 00 04 */ li r0, 4 -lbl_8027D4B4: -/* 8027D4B4 0027A414 2C 00 00 01 */ cmpwi r0, 1 -/* 8027D4B8 0027A418 41 82 00 5C */ beq lbl_8027D514 -/* 8027D4BC 0027A41C C0 22 BD 2C */ lfs f1, lbl_805ADA4C@sda21(r2) -/* 8027D4C0 0027A420 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027D4C4 0027A424 4B EE 03 6D */ bl __ct__16CCameraShakeDataFff -/* 8027D4C8 0027A428 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8027D4CC 0027A42C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027D4D0 0027A430 38 A0 00 01 */ li r5, 1 -/* 8027D4D4 0027A434 4B D8 D5 4D */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab -/* 8027D4D8 0027A438 34 81 00 94 */ addic. r4, r1, 0x94 -/* 8027D4DC 0027A43C 41 82 00 10 */ beq lbl_8027D4EC -/* 8027D4E0 0027A440 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027D4E4 0027A444 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027D4E8 0027A448 90 04 00 00 */ stw r0, 0(r4) -lbl_8027D4EC: -/* 8027D4EC 0027A44C 34 81 00 58 */ addic. r4, r1, 0x58 -/* 8027D4F0 0027A450 41 82 00 10 */ beq lbl_8027D500 -/* 8027D4F4 0027A454 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027D4F8 0027A458 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027D4FC 0027A45C 90 04 00 00 */ stw r0, 0(r4) -lbl_8027D500: -/* 8027D500 0027A460 34 81 00 1C */ addic. r4, r1, 0x1c -/* 8027D504 0027A464 41 82 00 10 */ beq lbl_8027D514 -/* 8027D508 0027A468 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8027D50C 0027A46C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8027D510 0027A470 90 04 00 00 */ stw r0, 0(r4) -lbl_8027D514: -/* 8027D514 0027A474 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8027D518 0027A478 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 8027D51C 0027A47C 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 8027D520 0027A480 7C 08 03 A6 */ mtlr r0 -/* 8027D524 0027A484 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8027D528 0027A488 4E 80 00 20 */ blr - -.global sub_8027d52c -sub_8027d52c: -/* 8027D52C 0027A48C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8027D530 0027A490 7C 08 02 A6 */ mflr r0 -/* 8027D534 0027A494 90 01 01 14 */ stw r0, 0x114(r1) -/* 8027D538 0027A498 BF 21 00 F4 */ stmw r25, 0xf4(r1) -/* 8027D53C 0027A49C 7C 7B 1B 78 */ mr r27, r3 -/* 8027D540 0027A4A0 7C 9D 23 78 */ mr r29, r4 -/* 8027D544 0027A4A4 7C BE 2B 78 */ mr r30, r5 -/* 8027D548 0027A4A8 38 61 00 90 */ addi r3, r1, 0x90 -/* 8027D54C 0027A4AC 7F 64 DB 78 */ mr r4, r27 -/* 8027D550 0027A4B0 7F A5 EB 78 */ mr r5, r29 -/* 8027D554 0027A4B4 48 00 01 B1 */ bl sub_8027d704 -/* 8027D558 0027A4B8 88 81 00 B0 */ lbz r4, 0xb0(r1) -/* 8027D55C 0027A4BC 3B E1 00 C4 */ addi r31, r1, 0xc4 -/* 8027D560 0027A4C0 C0 E1 00 90 */ lfs f7, 0x90(r1) -/* 8027D564 0027A4C4 C0 C1 00 94 */ lfs f6, 0x94(r1) -/* 8027D568 0027A4C8 28 04 00 00 */ cmplwi r4, 0 -/* 8027D56C 0027A4CC C0 A1 00 98 */ lfs f5, 0x98(r1) -/* 8027D570 0027A4D0 C0 81 00 9C */ lfs f4, 0x9c(r1) -/* 8027D574 0027A4D4 C0 61 00 A0 */ lfs f3, 0xa0(r1) -/* 8027D578 0027A4D8 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 8027D57C 0027A4DC C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 8027D580 0027A4E0 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 8027D584 0027A4E4 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8027D588 0027A4E8 80 61 00 BC */ lwz r3, 0xbc(r1) -/* 8027D58C 0027A4EC D0 E1 00 C0 */ stfs f7, 0xc0(r1) -/* 8027D590 0027A4F0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) -/* 8027D594 0027A4F4 D0 A1 00 C8 */ stfs f5, 0xc8(r1) -/* 8027D598 0027A4F8 D0 81 00 CC */ stfs f4, 0xcc(r1) -/* 8027D59C 0027A4FC D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 8027D5A0 0027A500 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8027D5A4 0027A504 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 8027D5A8 0027A508 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 8027D5AC 0027A50C 98 81 00 E0 */ stb r4, 0xe0(r1) -/* 8027D5B0 0027A510 90 61 00 EC */ stw r3, 0xec(r1) -/* 8027D5B4 0027A514 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 8027D5B8 0027A518 41 82 01 38 */ beq lbl_8027D6F0 -/* 8027D5BC 0027A51C 3C 60 80 3D */ lis r3, lbl_803D589C@ha -/* 8027D5C0 0027A520 3B 40 00 00 */ li r26, 0 -/* 8027D5C4 0027A524 38 63 58 9C */ addi r3, r3, lbl_803D589C@l -/* 8027D5C8 0027A528 3B 20 00 00 */ li r25, 0 -/* 8027D5CC 0027A52C 38 83 00 1D */ addi r4, r3, 0x1d -/* 8027D5D0 0027A530 38 60 09 88 */ li r3, 0x988 -/* 8027D5D4 0027A534 38 A0 00 00 */ li r5, 0 -/* 8027D5D8 0027A538 48 09 82 95 */ bl __nw__FUlPCcPCc -/* 8027D5DC 0027A53C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8027D5E0 0027A540 41 82 00 A4 */ beq lbl_8027D684 -/* 8027D5E4 0027A544 A0 FB 00 08 */ lhz r7, 8(r27) -/* 8027D5E8 0027A548 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8027D5EC 0027A54C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8027D5F0 0027A550 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8027D5F4 0027A554 B0 E1 00 14 */ sth r7, 0x14(r1) -/* 8027D5F8 0027A558 38 61 00 44 */ addi r3, r1, 0x44 -/* 8027D5FC 0027A55C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8027D600 0027A560 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8027D604 0027A564 90 01 00 30 */ stw r0, 0x30(r1) -/* 8027D608 0027A568 80 1B 00 04 */ lwz r0, 4(r27) -/* 8027D60C 0027A56C B0 E1 00 10 */ sth r7, 0x10(r1) -/* 8027D610 0027A570 90 01 00 28 */ stw r0, 0x28(r1) -/* 8027D614 0027A574 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8027D618 0027A578 4B DD 3E 6D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8027D61C 0027A57C 3C 80 80 3D */ lis r4, lbl_803D589C@ha -/* 8027D620 0027A580 38 61 00 34 */ addi r3, r1, 0x34 -/* 8027D624 0027A584 38 84 58 9C */ addi r4, r4, lbl_803D589C@l -/* 8027D628 0027A588 3B 40 00 01 */ li r26, 1 -/* 8027D62C 0027A58C 38 84 00 24 */ addi r4, r4, 0x24 -/* 8027D630 0027A590 4B D8 76 89 */ bl string_l__4rstlFPCc -/* 8027D634 0027A594 7F A4 EB 78 */ mr r4, r29 -/* 8027D638 0027A598 38 61 00 08 */ addi r3, r1, 8 -/* 8027D63C 0027A59C 3B 20 00 01 */ li r25, 1 -/* 8027D640 0027A5A0 4B DC FA 9D */ bl AllocateUniqueId__13CStateManagerFv -/* 8027D644 0027A5A4 A0 01 00 08 */ lhz r0, 8(r1) -/* 8027D648 0027A5A8 7F E4 FB 78 */ mr r4, r31 -/* 8027D64C 0027A5AC 38 61 00 5C */ addi r3, r1, 0x5c -/* 8027D650 0027A5B0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8027D654 0027A5B4 48 09 5A ED */ bl Translate__12CTransform4fFRC9CVector3f -/* 8027D658 0027A5B8 C0 22 BD 44 */ lfs f1, lbl_805ADA64@sda21(r2) -/* 8027D65C 0027A5BC 7F 83 E3 78 */ mr r3, r28 -/* 8027D660 0027A5C0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) -/* 8027D664 0027A5C4 7F C9 F3 78 */ mr r9, r30 -/* 8027D668 0027A5C8 38 81 00 0C */ addi r4, r1, 0xc -/* 8027D66C 0027A5CC 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8027D670 0027A5D0 38 C1 00 44 */ addi r6, r1, 0x44 -/* 8027D674 0027A5D4 38 E1 00 5C */ addi r7, r1, 0x5c -/* 8027D678 0027A5D8 39 01 00 14 */ addi r8, r1, 0x14 -/* 8027D67C 0027A5DC 4B FB 4C DD */ bl __ct__10CShockWaveFv -/* 8027D680 0027A5E0 7C 7C 1B 78 */ mr r28, r3 -lbl_8027D684: -/* 8027D684 0027A5E4 7F 20 07 75 */ extsb. r0, r25 -/* 8027D688 0027A5E8 41 82 00 0C */ beq lbl_8027D694 -/* 8027D68C 0027A5EC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8027D690 0027A5F0 48 0C 04 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8027D694: -/* 8027D694 0027A5F4 7F 40 07 75 */ extsb. r0, r26 -/* 8027D698 0027A5F8 41 82 00 44 */ beq lbl_8027D6DC -/* 8027D69C 0027A5FC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8027D6A0 0027A600 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8027D6A4 0027A604 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8027D6A8 0027A608 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8027D6AC 0027A60C 7C 64 1B 78 */ mr r4, r3 -/* 8027D6B0 0027A610 7C 03 02 14 */ add r0, r3, r0 -/* 8027D6B4 0027A614 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027D6B8 0027A618 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027D6BC 0027A61C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8027D6C0 0027A620 48 00 00 08 */ b lbl_8027D6C8 -lbl_8027D6C4: -/* 8027D6C4 0027A624 38 84 00 0C */ addi r4, r4, 0xc -lbl_8027D6C8: -/* 8027D6C8 0027A628 7C 04 00 40 */ cmplw r4, r0 -/* 8027D6CC 0027A62C 40 82 FF F8 */ bne lbl_8027D6C4 -/* 8027D6D0 0027A630 28 03 00 00 */ cmplwi r3, 0 -/* 8027D6D4 0027A634 41 82 00 08 */ beq lbl_8027D6DC -/* 8027D6D8 0027A638 48 09 82 59 */ bl Free__7CMemoryFPCv -lbl_8027D6DC: -/* 8027D6DC 0027A63C 28 1C 00 00 */ cmplwi r28, 0 -/* 8027D6E0 0027A640 41 82 00 10 */ beq lbl_8027D6F0 -/* 8027D6E4 0027A644 7F A3 EB 78 */ mr r3, r29 -/* 8027D6E8 0027A648 7F 84 E3 78 */ mr r4, r28 -/* 8027D6EC 0027A64C 4B DC F6 09 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_8027D6F0: -/* 8027D6F0 0027A650 BB 21 00 F4 */ lmw r25, 0xf4(r1) -/* 8027D6F4 0027A654 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8027D6F8 0027A658 7C 08 03 A6 */ mtlr r0 -/* 8027D6FC 0027A65C 38 21 01 10 */ addi r1, r1, 0x110 -/* 8027D700 0027A660 4E 80 00 20 */ blr - -.global sub_8027d704 -sub_8027d704: -/* 8027D704 0027A664 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027D708 0027A668 7C 08 02 A6 */ mflr r0 -/* 8027D70C 0027A66C 3C E0 80 5A */ lis r7, lbl_805A66F4@ha -/* 8027D710 0027A670 3C C0 80 5A */ lis r6, lbl_8059FD18@ha -/* 8027D714 0027A674 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027D718 0027A678 39 07 66 F4 */ addi r8, r7, lbl_805A66F4@l -/* 8027D71C 0027A67C 7C A0 2B 78 */ mr r0, r5 -/* 8027D720 0027A680 38 E6 FD 18 */ addi r7, r6, lbl_8059FD18@l -/* 8027D724 0027A684 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027D728 0027A688 7C 7F 1B 78 */ mr r31, r3 -/* 8027D72C 0027A68C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027D730 0027A690 38 C1 00 08 */ addi r6, r1, 8 -/* 8027D734 0027A694 C0 48 00 00 */ lfs f2, 0(r8) -/* 8027D738 0027A698 C0 08 00 08 */ lfs f0, 8(r8) -/* 8027D73C 0027A69C FC 60 10 50 */ fneg f3, f2 -/* 8027D740 0027A6A0 C0 28 00 04 */ lfs f1, 4(r8) -/* 8027D744 0027A6A4 FC 00 00 50 */ fneg f0, f0 -/* 8027D748 0027A6A8 FC 40 08 50 */ fneg f2, f1 -/* 8027D74C 0027A6AC C0 22 BD 48 */ lfs f1, lbl_805ADA68@sda21(r2) -/* 8027D750 0027A6B0 D0 61 00 08 */ stfs f3, 8(r1) -/* 8027D754 0027A6B4 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8027D758 0027A6B8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027D75C 0027A6BC C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8027D760 0027A6C0 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8027D764 0027A6C4 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8027D768 0027A6C8 7C 04 03 78 */ mr r4, r0 -/* 8027D76C 0027A6CC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8027D770 0027A6D0 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8027D774 0027A6D4 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8027D778 0027A6D8 4B DC F8 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8027D77C 0027A6DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027D780 0027A6E0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027D784 0027A6E4 7C 08 03 A6 */ mtlr r0 -/* 8027D788 0027A6E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027D78C 0027A6EC 4E 80 00 20 */ blr - -.global sub_8027d790 -sub_8027d790: -/* 8027D790 0027A6F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027D794 0027A6F4 7C 08 02 A6 */ mflr r0 -/* 8027D798 0027A6F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027D79C 0027A6FC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027D7A0 0027A700 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8027D7A4 0027A704 7C BE 2B 78 */ mr r30, r5 -/* 8027D7A8 0027A708 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8027D7AC 0027A70C 7C 9D 23 78 */ mr r29, r4 -/* 8027D7B0 0027A710 80 82 BD 04 */ lwz r4, lbl_805ADA24@sda21(r2) -/* 8027D7B4 0027A714 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8027D7B8 0027A718 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8027D7BC 0027A71C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027D7C0 0027A720 4B D8 74 F9 */ bl string_l__4rstlFPCc -/* 8027D7C4 0027A724 7F E3 FB 78 */ mr r3, r31 -/* 8027D7C8 0027A728 7F C5 F3 78 */ mr r5, r30 -/* 8027D7CC 0027A72C 7F A6 EB 78 */ mr r6, r29 -/* 8027D7D0 0027A730 38 81 00 18 */ addi r4, r1, 0x18 -/* 8027D7D4 0027A734 4B DA D5 ED */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 8027D7D8 0027A738 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027D7DC 0027A73C 48 0C 03 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027D7E0 0027A740 80 82 BD 08 */ lwz r4, lbl_805ADA28@sda21(r2) -/* 8027D7E4 0027A744 38 61 00 08 */ addi r3, r1, 8 -/* 8027D7E8 0027A748 4B D8 74 D1 */ bl string_l__4rstlFPCc -/* 8027D7EC 0027A74C 7F E3 FB 78 */ mr r3, r31 -/* 8027D7F0 0027A750 7F C5 F3 78 */ mr r5, r30 -/* 8027D7F4 0027A754 7F A6 EB 78 */ mr r6, r29 -/* 8027D7F8 0027A758 38 81 00 08 */ addi r4, r1, 8 -/* 8027D7FC 0027A75C 4B DA D5 C5 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 8027D800 0027A760 38 61 00 08 */ addi r3, r1, 8 -/* 8027D804 0027A764 48 0C 02 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027D808 0027A768 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027D80C 0027A76C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027D810 0027A770 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8027D814 0027A774 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8027D818 0027A778 7C 08 03 A6 */ mtlr r0 -/* 8027D81C 0027A77C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027D820 0027A780 4E 80 00 20 */ blr - -.global sub_8027d824 -sub_8027d824: -/* 8027D824 0027A784 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8027D828 0027A788 7C 08 02 A6 */ mflr r0 -/* 8027D82C 0027A78C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8027D830 0027A790 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8027D834 0027A794 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8027D838 0027A798 7C 9E 23 78 */ mr r30, r4 -/* 8027D83C 0027A79C 7F C5 F3 78 */ mr r5, r30 -/* 8027D840 0027A7A0 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8027D844 0027A7A4 7C 7D 1B 78 */ mr r29, r3 -/* 8027D848 0027A7A8 7F A4 EB 78 */ mr r4, r29 -/* 8027D84C 0027A7AC 38 61 00 48 */ addi r3, r1, 0x48 -/* 8027D850 0027A7B0 4B FF FE B5 */ bl sub_8027d704 -/* 8027D854 0027A7B4 88 A1 00 68 */ lbz r5, 0x68(r1) -/* 8027D858 0027A7B8 38 81 00 7C */ addi r4, r1, 0x7c -/* 8027D85C 0027A7BC C0 E1 00 48 */ lfs f7, 0x48(r1) -/* 8027D860 0027A7C0 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 8027D864 0027A7C4 28 05 00 00 */ cmplwi r5, 0 -/* 8027D868 0027A7C8 C0 A1 00 50 */ lfs f5, 0x50(r1) -/* 8027D86C 0027A7CC C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8027D870 0027A7D0 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 8027D874 0027A7D4 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8027D878 0027A7D8 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8027D87C 0027A7DC C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8027D880 0027A7E0 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8027D884 0027A7E4 80 61 00 74 */ lwz r3, 0x74(r1) -/* 8027D888 0027A7E8 D0 E1 00 78 */ stfs f7, 0x78(r1) -/* 8027D88C 0027A7EC D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 8027D890 0027A7F0 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 8027D894 0027A7F4 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8027D898 0027A7F8 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8027D89C 0027A7FC D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8027D8A0 0027A800 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8027D8A4 0027A804 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8027D8A8 0027A808 98 A1 00 98 */ stb r5, 0x98(r1) -/* 8027D8AC 0027A80C 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 8027D8B0 0027A810 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 8027D8B4 0027A814 41 82 00 9C */ beq lbl_8027D950 -/* 8027D8B8 0027A818 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027D8BC 0027A81C 48 09 58 85 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8027D8C0 0027A820 38 7D 06 68 */ addi r3, r29, 0x668 -/* 8027D8C4 0027A824 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027D8C8 0027A828 48 09 52 79 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8027D8CC 0027A82C A0 1D 07 04 */ lhz r0, 0x704(r29) -/* 8027D8D0 0027A830 7F C3 F3 78 */ mr r3, r30 -/* 8027D8D4 0027A834 38 81 00 08 */ addi r4, r1, 8 -/* 8027D8D8 0027A838 B0 01 00 08 */ sth r0, 8(r1) -/* 8027D8DC 0027A83C 4B DC EC 99 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027D8E0 0027A840 7C 64 1B 78 */ mr r4, r3 -/* 8027D8E4 0027A844 38 61 00 0C */ addi r3, r1, 0xc -/* 8027D8E8 0027A848 4B E2 8C 65 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8027D8EC 0027A84C 83 E3 00 04 */ lwz r31, 4(r3) -/* 8027D8F0 0027A850 28 1F 00 00 */ cmplwi r31, 0 -/* 8027D8F4 0027A854 41 82 00 5C */ beq lbl_8027D950 -/* 8027D8F8 0027A858 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8027D8FC 0027A85C 38 9D 06 68 */ addi r4, r29, 0x668 -/* 8027D900 0027A860 48 09 52 41 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8027D904 0027A864 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8027D908 0027A868 38 E0 00 01 */ li r7, 1 -/* 8027D90C 0027A86C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b -/* 8027D910 0027A870 7F A3 EB 78 */ mr r3, r29 -/* 8027D914 0027A874 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8027D918 0027A878 7F C5 F3 78 */ mr r5, r30 -/* 8027D91C 0027A87C 38 80 00 15 */ li r4, 0x15 -/* 8027D920 0027A880 38 C0 FF FF */ li r6, -1 -/* 8027D924 0027A884 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8027D928 0027A888 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8027D92C 0027A88C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8027D930 0027A890 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8027D934 0027A894 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d -/* 8027D938 0027A898 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8027D93C 0027A89C 4B DD 37 85 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8027D940 0027A8A0 88 1D 07 0E */ lbz r0, 0x70e(r29) -/* 8027D944 0027A8A4 38 60 00 01 */ li r3, 1 -/* 8027D948 0027A8A8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8027D94C 0027A8AC 98 1D 07 0E */ stb r0, 0x70e(r29) -lbl_8027D950: -/* 8027D950 0027A8B0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8027D954 0027A8B4 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8027D958 0027A8B8 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8027D95C 0027A8BC 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8027D960 0027A8C0 7C 08 03 A6 */ mtlr r0 -/* 8027D964 0027A8C4 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8027D968 0027A8C8 4E 80 00 20 */ blr - -.global Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager -Death__20CMetroidPrimeEssenceFRC9CVector3fR13CStateManager: -/* 8027D96C 0027A8CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027D970 0027A8D0 7C 08 02 A6 */ mflr r0 -/* 8027D974 0027A8D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027D978 0027A8D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027D97C 0027A8DC 7C DF 33 78 */ mr r31, r6 -/* 8027D980 0027A8E0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027D984 0027A8E4 7C BE 2B 78 */ mr r30, r5 -/* 8027D988 0027A8E8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8027D98C 0027A8EC 7C 9D 23 78 */ mr r29, r4 -/* 8027D990 0027A8F0 93 81 00 20 */ stw r28, 0x20(r1) -/* 8027D994 0027A8F4 7C 7C 1B 78 */ mr r28, r3 -/* 8027D998 0027A8F8 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8027D99C 0027A8FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8027D9A0 0027A900 41 82 00 64 */ beq lbl_8027DA04 -/* 8027D9A4 0027A904 48 00 14 E5 */ bl sub_8027ee88 -/* 8027D9A8 0027A908 7F 83 E3 78 */ mr r3, r28 -/* 8027D9AC 0027A90C 7F A4 EB 78 */ mr r4, r29 -/* 8027D9B0 0027A910 38 A0 00 00 */ li r5, 0 -/* 8027D9B4 0027A914 4B FF FD DD */ bl sub_8027d790 -/* 8027D9B8 0027A918 A0 1C 07 06 */ lhz r0, 0x706(r28) -/* 8027D9BC 0027A91C 7F A3 EB 78 */ mr r3, r29 -/* 8027D9C0 0027A920 38 81 00 08 */ addi r4, r1, 8 -/* 8027D9C4 0027A924 B0 01 00 08 */ sth r0, 8(r1) -/* 8027D9C8 0027A928 4B DC EB AD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027D9CC 0027A92C 7C 64 1B 78 */ mr r4, r3 -/* 8027D9D0 0027A930 38 61 00 0C */ addi r3, r1, 0xc -/* 8027D9D4 0027A934 4B E3 19 79 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027D9D8 0027A938 80 63 00 04 */ lwz r3, 4(r3) -/* 8027D9DC 0027A93C 28 03 00 00 */ cmplwi r3, 0 -/* 8027D9E0 0027A940 41 82 00 10 */ beq lbl_8027D9F0 -/* 8027D9E4 0027A944 7F A5 EB 78 */ mr r5, r29 -/* 8027D9E8 0027A948 38 80 00 12 */ li r4, 0x12 -/* 8027D9EC 0027A94C 4B DD 69 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8027D9F0: -/* 8027D9F0 0027A950 7F 83 E3 78 */ mr r3, r28 -/* 8027D9F4 0027A954 7F A4 EB 78 */ mr r4, r29 -/* 8027D9F8 0027A958 7F C5 F3 78 */ mr r5, r30 -/* 8027D9FC 0027A95C 7F E6 FB 78 */ mr r6, r31 -/* 8027DA00 0027A960 4B DF D9 A5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -lbl_8027DA04: -/* 8027DA04 0027A964 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027DA08 0027A968 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027DA0C 0027A96C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027DA10 0027A970 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8027DA14 0027A974 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8027DA18 0027A978 7C 08 03 A6 */ mtlr r0 -/* 8027DA1C 0027A97C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027DA20 0027A980 4E 80 00 20 */ blr - -.global CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf -CoverFind__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DA24 0027A984 C0 23 02 E4 */ lfs f1, 0x2e4(r3) -/* 8027DA28 0027A988 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 8027DA2C 0027A98C C0 63 02 E0 */ lfs f3, 0x2e0(r3) -/* 8027DA30 0027A990 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8027DA34 0027A994 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8027DA38 0027A998 C0 43 02 E8 */ lfs f2, 0x2e8(r3) -/* 8027DA3C 0027A99C EC 63 00 28 */ fsubs f3, f3, f0 -/* 8027DA40 0027A9A0 C0 03 00 60 */ lfs f0, 0x60(r3) -/* 8027DA44 0027A9A4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8027DA48 0027A9A8 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8027DA4C 0027A9AC C0 02 BD 4C */ lfs f0, lbl_805ADA6C@sda21(r2) -/* 8027DA50 0027A9B0 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8027DA54 0027A9B4 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8027DA58 0027A9B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027DA5C 0027A9BC 7C 00 00 26 */ mfcr r0 -/* 8027DA60 0027A9C0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8027DA64 0027A9C4 4E 80 00 20 */ blr - -.global ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf -ShouldMove__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DA68 0027A9C8 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027DA6C 0027A9CC 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8027DA70 0027A9D0 7C 00 00 34 */ cntlzw r0, r0 -/* 8027DA74 0027A9D4 54 03 D9 7E */ srwi r3, r0, 5 -/* 8027DA78 0027A9D8 4E 80 00 20 */ blr - -.global HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf -HasPatrolPath__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DA7C 0027A9DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DA80 0027A9E0 7C 08 02 A6 */ mflr r0 -/* 8027DA84 0027A9E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DA88 0027A9E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DA8C 0027A9EC 3B E0 00 00 */ li r31, 0 -/* 8027DA90 0027A9F0 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027DA94 0027A9F4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8027DA98 0027A9F8 40 82 00 14 */ bne lbl_8027DAAC -/* 8027DA9C 0027A9FC 4B F7 80 F9 */ bl HasPatrolPath__10CPatternedFR13CStateManagerf -/* 8027DAA0 0027AA00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DAA4 0027AA04 41 82 00 08 */ beq lbl_8027DAAC -/* 8027DAA8 0027AA08 3B E0 00 01 */ li r31, 1 -lbl_8027DAAC: -/* 8027DAAC 0027AA0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DAB0 0027AA10 7F E3 FB 78 */ mr r3, r31 -/* 8027DAB4 0027AA14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DAB8 0027AA18 7C 08 03 A6 */ mtlr r0 -/* 8027DABC 0027AA1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DAC0 0027AA20 4E 80 00 20 */ blr - -.global InPosition__20CMetroidPrimeEssenceFR13CStateManagerf -InPosition__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DAC4 0027AA24 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8027DAC8 0027AA28 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8027DACC 0027AA2C C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8027DAD0 0027AA30 C0 02 BD 30 */ lfs f0, lbl_805ADA50@sda21(r2) -/* 8027DAD4 0027AA34 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8027DAD8 0027AA38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027DADC 0027AA3C 7C 00 00 26 */ mfcr r0 -/* 8027DAE0 0027AA40 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8027DAE4 0027AA44 4E 80 00 20 */ blr - -.global ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf -ShouldTaunt__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DAE8 0027AA48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DAEC 0027AA4C 7C 08 02 A6 */ mflr r0 -/* 8027DAF0 0027AA50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DAF4 0027AA54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DAF8 0027AA58 7C 9F 23 78 */ mr r31, r4 -/* 8027DAFC 0027AA5C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027DB00 0027AA60 7C 7E 1B 78 */ mr r30, r3 -/* 8027DB04 0027AA64 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DB08 0027AA68 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027DB0C 0027AA6C 7D 89 03 A6 */ mtctr r12 -/* 8027DB10 0027AA70 4E 80 04 21 */ bctrl -/* 8027DB14 0027AA74 28 03 00 00 */ cmplwi r3, 0 -/* 8027DB18 0027AA78 41 82 00 58 */ beq lbl_8027DB70 -/* 8027DB1C 0027AA7C C0 23 00 00 */ lfs f1, 0(r3) -/* 8027DB20 0027AA80 C0 1E 06 C0 */ lfs f0, 0x6c0(r30) -/* 8027DB24 0027AA84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027DB28 0027AA88 40 81 00 48 */ ble lbl_8027DB70 -/* 8027DB2C 0027AA8C 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8027DB30 0027AA90 48 09 49 F1 */ bl Next__9CRandom16Fv -/* 8027DB34 0027AA94 3C A0 51 EC */ lis r5, 0x51EB851F@ha -/* 8027DB38 0027AA98 38 80 00 32 */ li r4, 0x32 -/* 8027DB3C 0027AA9C 38 05 85 1F */ addi r0, r5, 0x51EB851F@l -/* 8027DB40 0027AAA0 7C 00 18 96 */ mulhw r0, r0, r3 -/* 8027DB44 0027AAA4 7C 00 2E 70 */ srawi r0, r0, 5 -/* 8027DB48 0027AAA8 54 05 0F FE */ srwi r5, r0, 0x1f -/* 8027DB4C 0027AAAC 7C 00 2A 14 */ add r0, r0, r5 -/* 8027DB50 0027AAB0 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 8027DB54 0027AAB4 7C 00 18 50 */ subf r0, r0, r3 -/* 8027DB58 0027AAB8 7C 80 02 78 */ xor r0, r4, r0 -/* 8027DB5C 0027AABC 7C 03 0E 70 */ srawi r3, r0, 1 -/* 8027DB60 0027AAC0 7C 00 20 38 */ and r0, r0, r4 -/* 8027DB64 0027AAC4 7C 00 18 50 */ subf r0, r0, r3 -/* 8027DB68 0027AAC8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8027DB6C 0027AACC 48 00 00 08 */ b lbl_8027DB74 -lbl_8027DB70: -/* 8027DB70 0027AAD0 38 60 00 00 */ li r3, 0 -lbl_8027DB74: -/* 8027DB74 0027AAD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DB78 0027AAD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DB7C 0027AADC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027DB80 0027AAE0 7C 08 03 A6 */ mtlr r0 -/* 8027DB84 0027AAE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DB88 0027AAE8 4E 80 00 20 */ blr - -.global ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf -ShouldCrouch__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DB8C 0027AAEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DB90 0027AAF0 7C 08 02 A6 */ mflr r0 -/* 8027DB94 0027AAF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DB98 0027AAF8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027DB9C 0027AAFC 7C 7F 1B 78 */ mr r31, r3 -/* 8027DBA0 0027AB00 80 A3 06 F0 */ lwz r5, 0x6f0(r3) -/* 8027DBA4 0027AB04 80 03 06 F4 */ lwz r0, 0x6f4(r3) -/* 8027DBA8 0027AB08 7C 05 00 00 */ cmpw r5, r0 -/* 8027DBAC 0027AB0C 40 80 00 14 */ bge lbl_8027DBC0 -/* 8027DBB0 0027AB10 38 05 00 01 */ addi r0, r5, 1 -/* 8027DBB4 0027AB14 38 60 00 00 */ li r3, 0 -/* 8027DBB8 0027AB18 90 1F 06 F0 */ stw r0, 0x6f0(r31) -/* 8027DBBC 0027AB1C 48 00 00 74 */ b lbl_8027DC30 -lbl_8027DBC0: -/* 8027DBC0 0027AB20 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DBC4 0027AB24 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027DBC8 0027AB28 7D 89 03 A6 */ mtctr r12 -/* 8027DBCC 0027AB2C 4E 80 04 21 */ bctrl -/* 8027DBD0 0027AB30 C0 3F 06 C4 */ lfs f1, 0x6c4(r31) -/* 8027DBD4 0027AB34 C0 03 00 00 */ lfs f0, 0(r3) -/* 8027DBD8 0027AB38 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) -/* 8027DBDC 0027AB3C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8027DBE0 0027AB40 C0 22 BD 50 */ lfs f1, lbl_805ADA70@sda21(r2) -/* 8027DBE4 0027AB44 80 7F 06 E8 */ lwz r3, 0x6e8(r31) -/* 8027DBE8 0027AB48 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8027DBEC 0027AB4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8027DBF0 0027AB50 FC 00 00 1E */ fctiwz f0, f0 -/* 8027DBF4 0027AB54 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8027DBF8 0027AB58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DBFC 0027AB5C 7C 63 02 14 */ add r3, r3, r0 -/* 8027DC00 0027AB60 90 61 00 08 */ stw r3, 8(r1) -/* 8027DC04 0027AB64 80 1F 06 EC */ lwz r0, 0x6ec(r31) -/* 8027DC08 0027AB68 7C 00 18 00 */ cmpw r0, r3 -/* 8027DC0C 0027AB6C 40 80 00 0C */ bge lbl_8027DC18 -/* 8027DC10 0027AB70 38 7F 06 EC */ addi r3, r31, 0x6ec -/* 8027DC14 0027AB74 48 00 00 08 */ b lbl_8027DC1C -lbl_8027DC18: -/* 8027DC18 0027AB78 38 61 00 08 */ addi r3, r1, 8 -lbl_8027DC1C: -/* 8027DC1C 0027AB7C 80 83 00 00 */ lwz r4, 0(r3) -/* 8027DC20 0027AB80 38 00 00 00 */ li r0, 0 -/* 8027DC24 0027AB84 38 60 00 01 */ li r3, 1 -/* 8027DC28 0027AB88 90 9F 06 F4 */ stw r4, 0x6f4(r31) -/* 8027DC2C 0027AB8C 90 1F 06 F0 */ stw r0, 0x6f0(r31) -lbl_8027DC30: -/* 8027DC30 0027AB90 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DC34 0027AB94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027DC38 0027AB98 7C 08 03 A6 */ mtlr r0 -/* 8027DC3C 0027AB9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DC40 0027ABA0 4E 80 00 20 */ blr - -.global ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf -ShouldAttack__20CMetroidPrimeEssenceFR13CStateManagerf: -/* 8027DC44 0027ABA4 88 63 07 0E */ lbz r3, 0x70e(r3) -/* 8027DC48 0027ABA8 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 8027DC4C 0027ABAC 41 82 00 0C */ beq lbl_8027DC58 -/* 8027DC50 0027ABB0 54 63 D7 FE */ rlwinm r3, r3, 0x1a, 0x1f, 0x1f -/* 8027DC54 0027ABB4 4E 80 00 20 */ blr -lbl_8027DC58: -/* 8027DC58 0027ABB8 38 60 00 01 */ li r3, 1 -/* 8027DC5C 0027ABBC 4E 80 00 20 */ blr - -.global Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Dead__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DC60 0027ABC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027DC64 0027ABC4 7C 08 02 A6 */ mflr r0 -/* 8027DC68 0027ABC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027DC6C 0027ABCC DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8027DC70 0027ABD0 FF E0 08 90 */ fmr f31, f1 -/* 8027DC74 0027ABD4 93 E1 00 24 */ stw r31, 0x24(r1) -/* 8027DC78 0027ABD8 7C BF 2B 78 */ mr r31, r5 -/* 8027DC7C 0027ABDC 93 C1 00 20 */ stw r30, 0x20(r1) -/* 8027DC80 0027ABE0 7C 9E 23 78 */ mr r30, r4 -/* 8027DC84 0027ABE4 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 8027DC88 0027ABE8 7C 7D 1B 78 */ mr r29, r3 -/* 8027DC8C 0027ABEC 4B F7 8D 39 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf -/* 8027DC90 0027ABF0 2C 1F 00 01 */ cmpwi r31, 1 -/* 8027DC94 0027ABF4 41 82 00 08 */ beq lbl_8027DC9C -/* 8027DC98 0027ABF8 48 00 00 4C */ b lbl_8027DCE4 -lbl_8027DC9C: -/* 8027DC9C 0027ABFC 3C 80 80 3D */ lis r4, lbl_803D589C@ha -/* 8027DCA0 0027AC00 38 61 00 08 */ addi r3, r1, 8 -/* 8027DCA4 0027AC04 38 84 58 9C */ addi r4, r4, lbl_803D589C@l -/* 8027DCA8 0027AC08 38 84 00 2E */ addi r4, r4, 0x2e -/* 8027DCAC 0027AC0C 4B D8 70 0D */ bl string_l__4rstlFPCc -/* 8027DCB0 0027AC10 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8027DCB4 0027AC14 FC 20 F8 90 */ fmr f1, f31 -/* 8027DCB8 0027AC18 38 81 00 08 */ addi r4, r1, 8 -/* 8027DCBC 0027AC1C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8027DCC0 0027AC20 4B DA E7 2D */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027DCC4 0027AC24 7C 7F 1B 78 */ mr r31, r3 -/* 8027DCC8 0027AC28 38 61 00 08 */ addi r3, r1, 8 -/* 8027DCCC 0027AC2C 48 0B FE 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027DCD0 0027AC30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8027DCD4 0027AC34 40 82 00 10 */ bne lbl_8027DCE4 -/* 8027DCD8 0027AC38 7F A3 EB 78 */ mr r3, r29 -/* 8027DCDC 0027AC3C 7F C4 F3 78 */ mr r4, r30 -/* 8027DCE0 0027AC40 4B DF AD 21 */ bl DeathDelete__10CPatternedFR13CStateManager -lbl_8027DCE4: -/* 8027DCE4 0027AC44 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027DCE8 0027AC48 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8027DCEC 0027AC4C 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 8027DCF0 0027AC50 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 8027DCF4 0027AC54 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 8027DCF8 0027AC58 7C 08 03 A6 */ mtlr r0 -/* 8027DCFC 0027AC5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027DD00 0027AC60 4E 80 00 20 */ blr - -.global Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Taunt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DD04 0027AC64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DD08 0027AC68 7C 08 02 A6 */ mflr r0 -/* 8027DD0C 0027AC6C 2C 05 00 01 */ cmpwi r5, 1 -/* 8027DD10 0027AC70 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DD14 0027AC74 41 82 00 2C */ beq lbl_8027DD40 -/* 8027DD18 0027AC78 40 80 00 10 */ bge lbl_8027DD28 -/* 8027DD1C 0027AC7C 2C 05 00 00 */ cmpwi r5, 0 -/* 8027DD20 0027AC80 40 80 00 14 */ bge lbl_8027DD34 -/* 8027DD24 0027AC84 48 00 00 58 */ b lbl_8027DD7C -lbl_8027DD28: -/* 8027DD28 0027AC88 2C 05 00 03 */ cmpwi r5, 3 -/* 8027DD2C 0027AC8C 40 80 00 50 */ bge lbl_8027DD7C -/* 8027DD30 0027AC90 48 00 00 44 */ b lbl_8027DD74 -lbl_8027DD34: -/* 8027DD34 0027AC94 38 00 00 01 */ li r0, 1 -/* 8027DD38 0027AC98 90 03 03 2C */ stw r0, 0x32c(r3) -/* 8027DD3C 0027AC9C 48 00 00 40 */ b lbl_8027DD7C -lbl_8027DD40: -/* 8027DD40 0027ACA0 3C A0 80 3F */ lis r5, lbl_803EB238@ha -/* 8027DD44 0027ACA4 38 C1 00 08 */ addi r6, r1, 8 -/* 8027DD48 0027ACA8 39 45 B2 38 */ addi r10, r5, lbl_803EB238@l -/* 8027DD4C 0027ACAC 38 A0 00 10 */ li r5, 0x10 -/* 8027DD50 0027ACB0 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027DD54 0027ACB4 38 E0 00 02 */ li r7, 2 -/* 8027DD58 0027ACB8 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027DD5C 0027ACBC 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027DD60 0027ACC0 91 21 00 08 */ stw r9, 8(r1) -/* 8027DD64 0027ACC4 91 01 00 0C */ stw r8, 0xc(r1) -/* 8027DD68 0027ACC8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027DD6C 0027ACCC 4B DF EA 49 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027DD70 0027ACD0 48 00 00 0C */ b lbl_8027DD7C -lbl_8027DD74: -/* 8027DD74 0027ACD4 38 00 00 00 */ li r0, 0 -/* 8027DD78 0027ACD8 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_8027DD7C: -/* 8027DD7C 0027ACDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DD80 0027ACE0 7C 08 03 A6 */ mtlr r0 -/* 8027DD84 0027ACE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DD88 0027ACE8 4E 80 00 20 */ blr - -.global Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Skid__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DD8C 0027ACEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DD90 0027ACF0 7C 08 02 A6 */ mflr r0 -/* 8027DD94 0027ACF4 2C 05 00 01 */ cmpwi r5, 1 -/* 8027DD98 0027ACF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DD9C 0027ACFC 41 82 00 2C */ beq lbl_8027DDC8 -/* 8027DDA0 0027AD00 40 80 00 10 */ bge lbl_8027DDB0 -/* 8027DDA4 0027AD04 2C 05 00 00 */ cmpwi r5, 0 -/* 8027DDA8 0027AD08 40 80 00 14 */ bge lbl_8027DDBC -/* 8027DDAC 0027AD0C 48 00 00 58 */ b lbl_8027DE04 -lbl_8027DDB0: -/* 8027DDB0 0027AD10 2C 05 00 03 */ cmpwi r5, 3 -/* 8027DDB4 0027AD14 40 80 00 50 */ bge lbl_8027DE04 -/* 8027DDB8 0027AD18 48 00 00 44 */ b lbl_8027DDFC -lbl_8027DDBC: -/* 8027DDBC 0027AD1C 38 00 00 01 */ li r0, 1 -/* 8027DDC0 0027AD20 90 03 03 2C */ stw r0, 0x32c(r3) -/* 8027DDC4 0027AD24 48 00 00 40 */ b lbl_8027DE04 -lbl_8027DDC8: -/* 8027DDC8 0027AD28 3C A0 80 3F */ lis r5, lbl_803EB22C@ha -/* 8027DDCC 0027AD2C 38 C1 00 08 */ addi r6, r1, 8 -/* 8027DDD0 0027AD30 39 45 B2 2C */ addi r10, r5, lbl_803EB22C@l -/* 8027DDD4 0027AD34 38 A0 00 03 */ li r5, 3 -/* 8027DDD8 0027AD38 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027DDDC 0027AD3C 38 E0 00 05 */ li r7, 5 -/* 8027DDE0 0027AD40 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027DDE4 0027AD44 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027DDE8 0027AD48 91 21 00 08 */ stw r9, 8(r1) -/* 8027DDEC 0027AD4C 91 01 00 0C */ stw r8, 0xc(r1) -/* 8027DDF0 0027AD50 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027DDF4 0027AD54 4B DF E9 C1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027DDF8 0027AD58 48 00 00 0C */ b lbl_8027DE04 -lbl_8027DDFC: -/* 8027DDFC 0027AD5C 38 00 00 00 */ li r0, 0 -/* 8027DE00 0027AD60 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_8027DE04: -/* 8027DE04 0027AD64 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DE08 0027AD68 7C 08 03 A6 */ mtlr r0 -/* 8027DE0C 0027AD6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DE10 0027AD70 4E 80 00 20 */ blr - -.global JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -JumpBack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DE14 0027AD74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DE18 0027AD78 7C 08 02 A6 */ mflr r0 -/* 8027DE1C 0027AD7C 2C 05 00 01 */ cmpwi r5, 1 -/* 8027DE20 0027AD80 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DE24 0027AD84 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027DE28 0027AD88 7C 7F 1B 78 */ mr r31, r3 -/* 8027DE2C 0027AD8C 41 82 00 38 */ beq lbl_8027DE64 -/* 8027DE30 0027AD90 40 80 00 10 */ bge lbl_8027DE40 -/* 8027DE34 0027AD94 2C 05 00 00 */ cmpwi r5, 0 -/* 8027DE38 0027AD98 40 80 00 14 */ bge lbl_8027DE4C -/* 8027DE3C 0027AD9C 48 00 00 64 */ b lbl_8027DEA0 -lbl_8027DE40: -/* 8027DE40 0027ADA0 2C 05 00 03 */ cmpwi r5, 3 -/* 8027DE44 0027ADA4 40 80 00 5C */ bge lbl_8027DEA0 -/* 8027DE48 0027ADA8 48 00 00 50 */ b lbl_8027DE98 -lbl_8027DE4C: -/* 8027DE4C 0027ADAC 38 00 00 01 */ li r0, 1 -/* 8027DE50 0027ADB0 38 A0 00 01 */ li r5, 1 -/* 8027DE54 0027ADB4 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8027DE58 0027ADB8 4B FF F1 7D */ bl sub_8027cfd4 -/* 8027DE5C 0027ADBC 90 7F 07 00 */ stw r3, 0x700(r31) -/* 8027DE60 0027ADC0 48 00 00 40 */ b lbl_8027DEA0 -lbl_8027DE64: -/* 8027DE64 0027ADC4 3C A0 80 3F */ lis r5, lbl_803EB220@ha -/* 8027DE68 0027ADC8 38 C1 00 08 */ addi r6, r1, 8 -/* 8027DE6C 0027ADCC 39 25 B2 20 */ addi r9, r5, lbl_803EB220@l -/* 8027DE70 0027ADD0 38 A0 00 03 */ li r5, 3 -/* 8027DE74 0027ADD4 81 09 00 00 */ lwz r8, 0(r9) -/* 8027DE78 0027ADD8 80 E9 00 04 */ lwz r7, 4(r9) -/* 8027DE7C 0027ADDC 80 09 00 08 */ lwz r0, 8(r9) -/* 8027DE80 0027ADE0 91 01 00 08 */ stw r8, 8(r1) -/* 8027DE84 0027ADE4 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8027DE88 0027ADE8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027DE8C 0027ADEC 80 FF 07 00 */ lwz r7, 0x700(r31) -/* 8027DE90 0027ADF0 4B DF E9 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027DE94 0027ADF4 48 00 00 0C */ b lbl_8027DEA0 -lbl_8027DE98: -/* 8027DE98 0027ADF8 38 00 00 00 */ li r0, 0 -/* 8027DE9C 0027ADFC 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8027DEA0: -/* 8027DEA0 0027AE00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DEA4 0027AE04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027DEA8 0027AE08 7C 08 03 A6 */ mtlr r0 -/* 8027DEAC 0027AE0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DEB0 0027AE10 4E 80 00 20 */ blr - -.global PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -PathFindEx__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DEB4 0027AE14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DEB8 0027AE18 7C 08 02 A6 */ mflr r0 -/* 8027DEBC 0027AE1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DEC0 0027AE20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DEC4 0027AE24 7C BF 2B 78 */ mr r31, r5 -/* 8027DEC8 0027AE28 93 C1 00 08 */ stw r30, 8(r1) -/* 8027DECC 0027AE2C 7C 7E 1B 78 */ mr r30, r3 -/* 8027DED0 0027AE30 4B F7 87 FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8027DED4 0027AE34 2C 1F 00 01 */ cmpwi r31, 1 -/* 8027DED8 0027AE38 41 82 00 34 */ beq lbl_8027DF0C -/* 8027DEDC 0027AE3C 40 80 00 10 */ bge lbl_8027DEEC -/* 8027DEE0 0027AE40 2C 1F 00 00 */ cmpwi r31, 0 -/* 8027DEE4 0027AE44 40 80 00 14 */ bge lbl_8027DEF8 -/* 8027DEE8 0027AE48 48 00 00 44 */ b lbl_8027DF2C -lbl_8027DEEC: -/* 8027DEEC 0027AE4C 2C 1F 00 03 */ cmpwi r31, 3 -/* 8027DEF0 0027AE50 40 80 00 3C */ bge lbl_8027DF2C -/* 8027DEF4 0027AE54 48 00 00 28 */ b lbl_8027DF1C -lbl_8027DEF8: -/* 8027DEF8 0027AE58 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027DEFC 0027AE5C 38 60 00 01 */ li r3, 1 -/* 8027DF00 0027AE60 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027DF04 0027AE64 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027DF08 0027AE68 48 00 00 24 */ b lbl_8027DF2C -lbl_8027DF0C: -/* 8027DF0C 0027AE6C 7F C3 F3 78 */ mr r3, r30 -/* 8027DF10 0027AE70 38 9E 02 E0 */ addi r4, r30, 0x2e0 -/* 8027DF14 0027AE74 4B FF EC 2D */ bl sub_8027cb40 -/* 8027DF18 0027AE78 48 00 00 14 */ b lbl_8027DF2C -lbl_8027DF1C: -/* 8027DF1C 0027AE7C 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027DF20 0027AE80 38 60 00 00 */ li r3, 0 -/* 8027DF24 0027AE84 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027DF28 0027AE88 98 1E 07 0E */ stb r0, 0x70e(r30) -lbl_8027DF2C: -/* 8027DF2C 0027AE8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DF30 0027AE90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DF34 0027AE94 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027DF38 0027AE98 7C 08 03 A6 */ mtlr r0 -/* 8027DF3C 0027AE9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DF40 0027AEA0 4E 80 00 20 */ blr - -.global PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -PathFind__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DF44 0027AEA4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027DF48 0027AEA8 7C 08 02 A6 */ mflr r0 -/* 8027DF4C 0027AEAC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027DF50 0027AEB0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027DF54 0027AEB4 7C BF 2B 78 */ mr r31, r5 -/* 8027DF58 0027AEB8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027DF5C 0027AEBC 7C 9E 23 78 */ mr r30, r4 -/* 8027DF60 0027AEC0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8027DF64 0027AEC4 7C 7D 1B 78 */ mr r29, r3 -/* 8027DF68 0027AEC8 4B F7 87 65 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8027DF6C 0027AECC 2C 1F 00 01 */ cmpwi r31, 1 -/* 8027DF70 0027AED0 41 82 00 08 */ beq lbl_8027DF78 -/* 8027DF74 0027AED4 48 00 00 2C */ b lbl_8027DFA0 -lbl_8027DF78: -/* 8027DF78 0027AED8 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 8027DF7C 0027AEDC 7F A3 EB 78 */ mr r3, r29 -/* 8027DF80 0027AEE0 38 81 00 08 */ addi r4, r1, 8 -/* 8027DF84 0027AEE4 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8027DF88 0027AEE8 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8027DF8C 0027AEEC C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8027DF90 0027AEF0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8027DF94 0027AEF4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8027DF98 0027AEF8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8027DF9C 0027AEFC 4B FF EB A5 */ bl sub_8027cb40 -lbl_8027DFA0: -/* 8027DFA0 0027AF00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027DFA4 0027AF04 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027DFA8 0027AF08 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027DFAC 0027AF0C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8027DFB0 0027AF10 7C 08 03 A6 */ mtlr r0 -/* 8027DFB4 0027AF14 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027DFB8 0027AF18 4E 80 00 20 */ blr - -.global Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Halt__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DFBC 0027AF1C 4E 80 00 20 */ blr - -.global Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Dodge__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027DFC0 0027AF20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DFC4 0027AF24 7C 08 02 A6 */ mflr r0 -/* 8027DFC8 0027AF28 2C 05 00 01 */ cmpwi r5, 1 -/* 8027DFCC 0027AF2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DFD0 0027AF30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027DFD4 0027AF34 7C 7F 1B 78 */ mr r31, r3 -/* 8027DFD8 0027AF38 41 82 00 38 */ beq lbl_8027E010 -/* 8027DFDC 0027AF3C 40 80 00 10 */ bge lbl_8027DFEC -/* 8027DFE0 0027AF40 2C 05 00 00 */ cmpwi r5, 0 -/* 8027DFE4 0027AF44 40 80 00 14 */ bge lbl_8027DFF8 -/* 8027DFE8 0027AF48 48 00 00 64 */ b lbl_8027E04C -lbl_8027DFEC: -/* 8027DFEC 0027AF4C 2C 05 00 03 */ cmpwi r5, 3 -/* 8027DFF0 0027AF50 40 80 00 5C */ bge lbl_8027E04C -/* 8027DFF4 0027AF54 48 00 00 50 */ b lbl_8027E044 -lbl_8027DFF8: -/* 8027DFF8 0027AF58 38 00 00 01 */ li r0, 1 -/* 8027DFFC 0027AF5C 38 A0 00 00 */ li r5, 0 -/* 8027E000 0027AF60 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8027E004 0027AF64 4B FF EF D1 */ bl sub_8027cfd4 -/* 8027E008 0027AF68 90 7F 07 00 */ stw r3, 0x700(r31) -/* 8027E00C 0027AF6C 48 00 00 40 */ b lbl_8027E04C -lbl_8027E010: -/* 8027E010 0027AF70 3C A0 80 3F */ lis r5, lbl_803EB214@ha -/* 8027E014 0027AF74 38 C1 00 08 */ addi r6, r1, 8 -/* 8027E018 0027AF78 39 25 B2 14 */ addi r9, r5, lbl_803EB214@l -/* 8027E01C 0027AF7C 38 A0 00 03 */ li r5, 3 -/* 8027E020 0027AF80 81 09 00 00 */ lwz r8, 0(r9) -/* 8027E024 0027AF84 80 E9 00 04 */ lwz r7, 4(r9) -/* 8027E028 0027AF88 80 09 00 08 */ lwz r0, 8(r9) -/* 8027E02C 0027AF8C 91 01 00 08 */ stw r8, 8(r1) -/* 8027E030 0027AF90 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8027E034 0027AF94 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027E038 0027AF98 80 FF 07 00 */ lwz r7, 0x700(r31) -/* 8027E03C 0027AF9C 4B DF E7 79 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027E040 0027AFA0 48 00 00 0C */ b lbl_8027E04C -lbl_8027E044: -/* 8027E044 0027AFA4 38 00 00 00 */ li r0, 0 -/* 8027E048 0027AFA8 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8027E04C: -/* 8027E04C 0027AFAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027E050 0027AFB0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027E054 0027AFB4 7C 08 03 A6 */ mtlr r0 -/* 8027E058 0027AFB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027E05C 0027AFBC 4E 80 00 20 */ blr - -.global FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -FadeOut__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027E060 0027AFC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027E064 0027AFC4 7C 08 02 A6 */ mflr r0 -/* 8027E068 0027AFC8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027E06C 0027AFCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E070 0027AFD0 41 82 00 0C */ beq lbl_8027E07C -/* 8027E074 0027AFD4 41 80 00 0C */ blt lbl_8027E080 -/* 8027E078 0027AFD8 48 00 00 08 */ b lbl_8027E080 -lbl_8027E07C: -/* 8027E07C 0027AFDC 4B FF F1 79 */ bl sub_8027d1f4 -lbl_8027E080: -/* 8027E080 0027AFE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027E084 0027AFE4 7C 08 03 A6 */ mtlr r0 -/* 8027E088 0027AFE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027E08C 0027AFEC 4E 80 00 20 */ blr - -.global FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -FadeIn__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027E090 0027AFF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027E094 0027AFF4 7C 08 02 A6 */ mflr r0 -/* 8027E098 0027AFF8 2C 05 00 01 */ cmpwi r5, 1 -/* 8027E09C 0027AFFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027E0A0 0027B000 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027E0A4 0027B004 7C 7F 1B 78 */ mr r31, r3 -/* 8027E0A8 0027B008 41 82 00 40 */ beq lbl_8027E0E8 -/* 8027E0AC 0027B00C 40 80 00 10 */ bge lbl_8027E0BC -/* 8027E0B0 0027B010 2C 05 00 00 */ cmpwi r5, 0 -/* 8027E0B4 0027B014 40 80 00 14 */ bge lbl_8027E0C8 -/* 8027E0B8 0027B018 48 00 00 9C */ b lbl_8027E154 -lbl_8027E0BC: -/* 8027E0BC 0027B01C 2C 05 00 03 */ cmpwi r5, 3 -/* 8027E0C0 0027B020 40 80 00 94 */ bge lbl_8027E154 -/* 8027E0C4 0027B024 48 00 00 58 */ b lbl_8027E11C -lbl_8027E0C8: -/* 8027E0C8 0027B028 4B FF F3 61 */ bl sub_8027d428 -/* 8027E0CC 0027B02C 90 7F 06 F8 */ stw r3, 0x6f8(r31) -/* 8027E0D0 0027B030 38 60 00 01 */ li r3, 1 -/* 8027E0D4 0027B034 90 7F 03 2C */ stw r3, 0x32c(r31) -/* 8027E0D8 0027B038 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027E0DC 0027B03C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027E0E0 0027B040 98 1F 07 0E */ stb r0, 0x70e(r31) -/* 8027E0E4 0027B044 48 00 00 70 */ b lbl_8027E154 -lbl_8027E0E8: -/* 8027E0E8 0027B048 3C A0 80 3F */ lis r5, lbl_803EB208@ha -/* 8027E0EC 0027B04C 38 C1 00 08 */ addi r6, r1, 8 -/* 8027E0F0 0027B050 39 45 B2 08 */ addi r10, r5, lbl_803EB208@l -/* 8027E0F4 0027B054 38 A0 00 12 */ li r5, 0x12 -/* 8027E0F8 0027B058 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027E0FC 0027B05C 38 E0 00 00 */ li r7, 0 -/* 8027E100 0027B060 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027E104 0027B064 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027E108 0027B068 91 21 00 08 */ stw r9, 8(r1) -/* 8027E10C 0027B06C 91 01 00 0C */ stw r8, 0xc(r1) -/* 8027E110 0027B070 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027E114 0027B074 4B DF E6 A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027E118 0027B078 48 00 00 3C */ b lbl_8027E154 -lbl_8027E11C: -/* 8027E11C 0027B07C 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027E120 0027B080 38 60 00 00 */ li r3, 0 -/* 8027E124 0027B084 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8027E128 0027B088 98 1F 07 0E */ stb r0, 0x70e(r31) -/* 8027E12C 0027B08C 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027E130 0027B090 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027E134 0027B094 98 1F 07 0E */ stb r0, 0x70e(r31) -/* 8027E138 0027B098 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027E13C 0027B09C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8027E140 0027B0A0 98 1F 07 0E */ stb r0, 0x70e(r31) -/* 8027E144 0027B0A4 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027E148 0027B0A8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8027E14C 0027B0AC 98 1F 07 0E */ stb r0, 0x70e(r31) -/* 8027E150 0027B0B0 90 7F 03 2C */ stw r3, 0x32c(r31) -lbl_8027E154: -/* 8027E154 0027B0B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027E158 0027B0B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027E15C 0027B0BC 7C 08 03 A6 */ mtlr r0 -/* 8027E160 0027B0C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027E164 0027B0C4 4E 80 00 20 */ blr - -.global TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -TelegraphAttack__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027E168 0027B0C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027E16C 0027B0CC 7C 08 02 A6 */ mflr r0 -/* 8027E170 0027B0D0 2C 05 00 01 */ cmpwi r5, 1 -/* 8027E174 0027B0D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027E178 0027B0D8 41 82 00 38 */ beq lbl_8027E1B0 -/* 8027E17C 0027B0DC 40 80 00 10 */ bge lbl_8027E18C -/* 8027E180 0027B0E0 2C 05 00 00 */ cmpwi r5, 0 -/* 8027E184 0027B0E4 40 80 00 14 */ bge lbl_8027E198 -/* 8027E188 0027B0E8 48 00 00 B8 */ b lbl_8027E240 -lbl_8027E18C: -/* 8027E18C 0027B0EC 2C 05 00 03 */ cmpwi r5, 3 -/* 8027E190 0027B0F0 40 80 00 B0 */ bge lbl_8027E240 -/* 8027E194 0027B0F4 48 00 00 90 */ b lbl_8027E224 -lbl_8027E198: -/* 8027E198 0027B0F8 38 80 00 01 */ li r4, 1 -/* 8027E19C 0027B0FC 90 83 03 2C */ stw r4, 0x32c(r3) -/* 8027E1A0 0027B100 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027E1A4 0027B104 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8027E1A8 0027B108 98 03 07 0E */ stb r0, 0x70e(r3) -/* 8027E1AC 0027B10C 48 00 00 94 */ b lbl_8027E240 -lbl_8027E1B0: -/* 8027E1B0 0027B110 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027E1B4 0027B114 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8027E1B8 0027B118 41 82 00 38 */ beq lbl_8027E1F0 -/* 8027E1BC 0027B11C 3C A0 80 3F */ lis r5, lbl_803EB1F0@ha -/* 8027E1C0 0027B120 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8027E1C4 0027B124 39 45 B1 F0 */ addi r10, r5, lbl_803EB1F0@l -/* 8027E1C8 0027B128 38 A0 00 12 */ li r5, 0x12 -/* 8027E1CC 0027B12C 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027E1D0 0027B130 38 E0 00 05 */ li r7, 5 -/* 8027E1D4 0027B134 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027E1D8 0027B138 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027E1DC 0027B13C 91 21 00 14 */ stw r9, 0x14(r1) -/* 8027E1E0 0027B140 91 01 00 18 */ stw r8, 0x18(r1) -/* 8027E1E4 0027B144 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8027E1E8 0027B148 4B DF E5 CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027E1EC 0027B14C 48 00 00 54 */ b lbl_8027E240 -lbl_8027E1F0: -/* 8027E1F0 0027B150 3C A0 80 3F */ lis r5, lbl_803EB1FC@ha -/* 8027E1F4 0027B154 38 C1 00 08 */ addi r6, r1, 8 -/* 8027E1F8 0027B158 39 45 B1 FC */ addi r10, r5, lbl_803EB1FC@l -/* 8027E1FC 0027B15C 38 A0 00 07 */ li r5, 7 -/* 8027E200 0027B160 81 2A 00 00 */ lwz r9, 0(r10) -/* 8027E204 0027B164 38 E0 00 02 */ li r7, 2 -/* 8027E208 0027B168 81 0A 00 04 */ lwz r8, 4(r10) -/* 8027E20C 0027B16C 80 0A 00 08 */ lwz r0, 8(r10) -/* 8027E210 0027B170 91 21 00 08 */ stw r9, 8(r1) -/* 8027E214 0027B174 91 01 00 0C */ stw r8, 0xc(r1) -/* 8027E218 0027B178 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027E21C 0027B17C 4B DF E5 99 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8027E220 0027B180 48 00 00 20 */ b lbl_8027E240 -lbl_8027E224: -/* 8027E224 0027B184 38 80 00 00 */ li r4, 0 -/* 8027E228 0027B188 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 8027E22C 0027B18C 90 83 03 2C */ stw r4, 0x32c(r3) -/* 8027E230 0027B190 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027E234 0027B194 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8027E238 0027B198 98 03 07 0E */ stb r0, 0x70e(r3) -/* 8027E23C 0027B19C 4B FF EC 21 */ bl sub_8027ce5c -lbl_8027E240: -/* 8027E240 0027B1A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027E244 0027B1A4 7C 08 03 A6 */ mtlr r0 -/* 8027E248 0027B1A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027E24C 0027B1AC 4E 80 00 20 */ blr - -.global Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf -Generate__20CMetroidPrimeEssenceFR13CStateManager9EStateMsgf: -/* 8027E250 0027B1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027E254 0027B1B4 7C 08 02 A6 */ mflr r0 -/* 8027E258 0027B1B8 2C 05 00 01 */ cmpwi r5, 1 -/* 8027E25C 0027B1BC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027E260 0027B1C0 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8027E264 0027B1C4 7C 9F 23 78 */ mr r31, r4 -/* 8027E268 0027B1C8 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8027E26C 0027B1CC 7C 7E 1B 78 */ mr r30, r3 -/* 8027E270 0027B1D0 41 82 01 18 */ beq lbl_8027E388 -/* 8027E274 0027B1D4 40 80 00 10 */ bge lbl_8027E284 -/* 8027E278 0027B1D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8027E27C 0027B1DC 40 80 00 14 */ bge lbl_8027E290 -/* 8027E280 0027B1E0 48 00 01 08 */ b lbl_8027E388 -lbl_8027E284: -/* 8027E284 0027B1E4 2C 05 00 03 */ cmpwi r5, 3 -/* 8027E288 0027B1E8 40 80 01 00 */ bge lbl_8027E388 -/* 8027E28C 0027B1EC 48 00 00 BC */ b lbl_8027E348 -lbl_8027E290: -/* 8027E290 0027B1F0 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8027E294 0027B1F4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8027E298 0027B1F8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8027E29C 0027B1FC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8027E2A0 0027B200 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8027E2A4 0027B204 38 61 00 34 */ addi r3, r1, 0x34 -/* 8027E2A8 0027B208 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8027E2AC 0027B20C C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8027E2B0 0027B210 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8027E2B4 0027B214 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027E2B8 0027B218 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8027E2BC 0027B21C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8027E2C0 0027B220 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8027E2C4 0027B224 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8027E2C8 0027B228 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8027E2CC 0027B22C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8027E2D0 0027B230 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027E2D4 0027B234 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8027E2D8 0027B238 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8027E2DC 0027B23C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027E2E0 0027B240 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8027E2E4 0027B244 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8027E2E8 0027B248 48 09 58 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8027E2EC 0027B24C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8027E2F0 0027B250 38 81 00 34 */ addi r4, r1, 0x34 -/* 8027E2F4 0027B254 48 09 48 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8027E2F8 0027B258 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8027E2FC 0027B25C 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8027E300 0027B260 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8027E304 0027B264 38 81 00 64 */ addi r4, r1, 0x64 -/* 8027E308 0027B268 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8027E30C 0027B26C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8027E310 0027B270 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8027E314 0027B274 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8027E318 0027B278 48 09 48 29 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8027E31C 0027B27C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8027E320 0027B280 38 60 00 01 */ li r3, 1 -/* 8027E324 0027B284 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027E328 0027B288 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8027E32C 0027B28C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8027E330 0027B290 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8027E334 0027B294 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8027E338 0027B298 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8027E33C 0027B29C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8027E340 0027B2A0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8027E344 0027B2A4 48 00 00 44 */ b lbl_8027E388 -lbl_8027E348: -/* 8027E348 0027B2A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E34C 0027B2AC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027E350 0027B2B0 7D 89 03 A6 */ mtctr r12 -/* 8027E354 0027B2B4 4E 80 04 21 */ bctrl -/* 8027E358 0027B2B8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8027E35C 0027B2BC 7F E3 FB 78 */ mr r3, r31 -/* 8027E360 0027B2C0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8027E364 0027B2C4 38 81 00 0C */ addi r4, r1, 0xc -/* 8027E368 0027B2C8 38 A0 00 5B */ li r5, 0x5b -/* 8027E36C 0027B2CC B0 01 00 08 */ sth r0, 8(r1) -/* 8027E370 0027B2D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8027E374 0027B2D4 4B DC 5B D1 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 8027E378 0027B2D8 7F C3 F3 78 */ mr r3, r30 -/* 8027E37C 0027B2DC 7F E4 FB 78 */ mr r4, r31 -/* 8027E380 0027B2E0 38 A0 00 01 */ li r5, 1 -/* 8027E384 0027B2E4 4B FF F4 0D */ bl sub_8027d790 -lbl_8027E388: -/* 8027E388 0027B2E8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027E38C 0027B2EC 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8027E390 0027B2F0 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8027E394 0027B2F4 7C 08 03 A6 */ mtlr r0 -/* 8027E398 0027B2F8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8027E39C 0027B2FC 4E 80 00 20 */ blr - -.global AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__20CMetroidPrimeEssenceCFRC14CFrustumPlanesRC13CStateManager: -/* 8027E3A0 0027B300 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027E3A4 0027B304 7C 08 02 A6 */ mflr r0 -/* 8027E3A8 0027B308 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027E3AC 0027B30C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027E3B0 0027B310 7C BF 2B 78 */ mr r31, r5 -/* 8027E3B4 0027B314 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027E3B8 0027B318 7C 9E 23 78 */ mr r30, r4 -/* 8027E3BC 0027B31C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027E3C0 0027B320 7C 7D 1B 78 */ mr r29, r3 -/* 8027E3C4 0027B324 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027E3C8 0027B328 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027E3CC 0027B32C 41 82 00 24 */ beq lbl_8027E3F0 -/* 8027E3D0 0027B330 80 9D 06 5C */ lwz r4, 0x65c(r29) -/* 8027E3D4 0027B334 28 04 00 00 */ cmplwi r4, 0 -/* 8027E3D8 0027B338 41 82 00 18 */ beq lbl_8027E3F0 -/* 8027E3DC 0027B33C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8027E3E0 0027B340 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E3E4 0027B344 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027E3E8 0027B348 7D 89 03 A6 */ mtctr r12 -/* 8027E3EC 0027B34C 4E 80 04 21 */ bctrl -lbl_8027E3F0: -/* 8027E3F0 0027B350 7F A3 EB 78 */ mr r3, r29 -/* 8027E3F4 0027B354 7F C4 F3 78 */ mr r4, r30 -/* 8027E3F8 0027B358 7F E5 FB 78 */ mr r5, r31 -/* 8027E3FC 0027B35C 4B DF 94 BD */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager -/* 8027E400 0027B360 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027E404 0027B364 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027E408 0027B368 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027E40C 0027B36C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027E410 0027B370 7C 08 03 A6 */ mtlr r0 -/* 8027E414 0027B374 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027E418 0027B378 4E 80 00 20 */ blr - -.global GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf -GetAimPosition__20CMetroidPrimeEssenceCFRC13CStateManagerf: -/* 8027E41C 0027B37C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027E420 0027B380 7C 08 02 A6 */ mflr r0 -/* 8027E424 0027B384 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027E428 0027B388 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8027E42C 0027B38C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8027E430 0027B390 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027E434 0027B394 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027E438 0027B398 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8027E43C 0027B39C 7C 9E 23 78 */ mr r30, r4 -/* 8027E440 0027B3A0 FF E0 08 90 */ fmr f31, f1 -/* 8027E444 0027B3A4 A0 04 07 06 */ lhz r0, 0x706(r4) -/* 8027E448 0027B3A8 7C BF 2B 78 */ mr r31, r5 -/* 8027E44C 0027B3AC 7C 7D 1B 78 */ mr r29, r3 -/* 8027E450 0027B3B0 38 81 00 08 */ addi r4, r1, 8 -/* 8027E454 0027B3B4 B0 01 00 08 */ sth r0, 8(r1) -/* 8027E458 0027B3B8 7F E3 FB 78 */ mr r3, r31 -/* 8027E45C 0027B3BC 4B DC E1 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027E460 0027B3C0 7C 64 1B 78 */ mr r4, r3 -/* 8027E464 0027B3C4 38 61 00 0C */ addi r3, r1, 0xc -/* 8027E468 0027B3C8 4B E3 0E E5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027E46C 0027B3CC 80 63 00 04 */ lwz r3, 4(r3) -/* 8027E470 0027B3D0 28 03 00 00 */ cmplwi r3, 0 -/* 8027E474 0027B3D4 41 82 00 20 */ beq lbl_8027E494 -/* 8027E478 0027B3D8 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8027E47C 0027B3DC C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8027E480 0027B3E0 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8027E484 0027B3E4 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8027E488 0027B3E8 D0 3D 00 04 */ stfs f1, 4(r29) -/* 8027E48C 0027B3EC D0 5D 00 08 */ stfs f2, 8(r29) -/* 8027E490 0027B3F0 48 00 00 18 */ b lbl_8027E4A8 -lbl_8027E494: -/* 8027E494 0027B3F4 FC 20 F8 90 */ fmr f1, f31 -/* 8027E498 0027B3F8 7F A3 EB 78 */ mr r3, r29 -/* 8027E49C 0027B3FC 7F C4 F3 78 */ mr r4, r30 -/* 8027E4A0 0027B400 7F E5 FB 78 */ mr r5, r31 -/* 8027E4A4 0027B404 4B DF A1 45 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf -lbl_8027E4A8: -/* 8027E4A8 0027B408 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8027E4AC 0027B40C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027E4B0 0027B410 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8027E4B4 0027B414 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027E4B8 0027B418 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027E4BC 0027B41C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8027E4C0 0027B420 7C 08 03 A6 */ mtlr r0 -/* 8027E4C4 0027B424 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027E4C8 0027B428 4E 80 00 20 */ blr - -.global DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__20CMetroidPrimeEssenceFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8027E4CC 0027B42C 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8027E4D0 0027B430 7C 08 02 A6 */ mflr r0 -/* 8027E4D4 0027B434 90 01 01 34 */ stw r0, 0x134(r1) -/* 8027E4D8 0027B438 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 8027E4DC 0027B43C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8027E4E0 0027B440 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8027E4E4 0027B444 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8027E4E8 0027B448 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 8027E4EC 0027B44C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 8027E4F0 0027B450 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 8027E4F4 0027B454 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 8027E4F8 0027B458 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 8027E4FC 0027B45C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 8027E500 0027B460 BF 61 00 CC */ stmw r27, 0xcc(r1) -/* 8027E504 0027B464 7C DF 33 78 */ mr r31, r6 -/* 8027E508 0027B468 FF E0 08 90 */ fmr f31, f1 -/* 8027E50C 0027B46C 28 1F 00 1E */ cmplwi r31, 0x1e -/* 8027E510 0027B470 7C 7C 1B 78 */ mr r28, r3 -/* 8027E514 0027B474 7C 9D 23 78 */ mr r29, r4 -/* 8027E518 0027B478 7C BE 2B 78 */ mr r30, r5 -/* 8027E51C 0027B47C 38 C0 00 00 */ li r6, 0 -/* 8027E520 0027B480 41 81 02 F4 */ bgt lbl_8027E814 -/* 8027E524 0027B484 3C A0 80 3F */ lis r5, lbl_803EB510@ha -/* 8027E528 0027B488 57 E0 10 3A */ slwi r0, r31, 2 -/* 8027E52C 0027B48C 38 A5 B5 10 */ addi r5, r5, lbl_803EB510@l -/* 8027E530 0027B490 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8027E534 0027B494 7C 09 03 A6 */ mtctr r0 -/* 8027E538 0027B498 4E 80 04 20 */ bctr -/* 8027E53C 0027B49C 88 1C 07 0E */ lbz r0, 0x70e(r28) -/* 8027E540 0027B4A0 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8027E544 0027B4A4 28 00 00 01 */ cmplwi r0, 1 -/* 8027E548 0027B4A8 41 82 00 24 */ beq lbl_8027E56C -/* 8027E54C 0027B4AC 7F A5 EB 78 */ mr r5, r29 -/* 8027E550 0027B4B0 38 80 00 10 */ li r4, 0x10 -/* 8027E554 0027B4B4 38 C0 FF FF */ li r6, -1 -/* 8027E558 0027B4B8 4B DD 2B 69 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8027E55C 0027B4BC 88 1C 07 0E */ lbz r0, 0x70e(r28) -/* 8027E560 0027B4C0 38 60 00 01 */ li r3, 1 -/* 8027E564 0027B4C4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8027E568 0027B4C8 98 1C 07 0E */ stb r0, 0x70e(r28) -lbl_8027E56C: -/* 8027E56C 0027B4CC 38 C0 00 01 */ li r6, 1 -/* 8027E570 0027B4D0 48 00 02 A4 */ b lbl_8027E814 -/* 8027E574 0027B4D4 A0 DC 07 0C */ lhz r6, 0x70c(r28) -/* 8027E578 0027B4D8 38 00 00 08 */ li r0, 8 -/* 8027E57C 0027B4DC 81 1C 06 64 */ lwz r8, 0x664(r28) -/* 8027E580 0027B4E0 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8027E584 0027B4E4 80 FC 06 60 */ lwz r7, 0x660(r28) -/* 8027E588 0027B4E8 C0 62 BD 10 */ lfs f3, lbl_805ADA30@sda21(r2) -/* 8027E58C 0027B4EC 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027E590 0027B4F0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) -/* 8027E594 0027B4F4 90 E1 00 78 */ stw r7, 0x78(r1) -/* 8027E598 0027B4F8 C0 22 BD 38 */ lfs f1, lbl_805ADA58@sda21(r2) -/* 8027E59C 0027B4FC 80 1C 06 98 */ lwz r0, 0x698(r28) -/* 8027E5A0 0027B500 C0 02 BD 54 */ lfs f0, lbl_805ADA74@sda21(r2) -/* 8027E5A4 0027B504 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8027E5A8 0027B508 88 1C 06 9C */ lbz r0, 0x69c(r28) -/* 8027E5AC 0027B50C 98 01 00 80 */ stb r0, 0x80(r1) -/* 8027E5B0 0027B510 C0 9C 06 A0 */ lfs f4, 0x6a0(r28) -/* 8027E5B4 0027B514 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8027E5B8 0027B518 C0 9C 06 A4 */ lfs f4, 0x6a4(r28) -/* 8027E5BC 0027B51C D0 81 00 88 */ stfs f4, 0x88(r1) -/* 8027E5C0 0027B520 C0 9C 06 A8 */ lfs f4, 0x6a8(r28) -/* 8027E5C4 0027B524 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 8027E5C8 0027B528 C0 9C 06 AC */ lfs f4, 0x6ac(r28) -/* 8027E5CC 0027B52C D0 81 00 90 */ stfs f4, 0x90(r1) -/* 8027E5D0 0027B530 88 1C 06 B0 */ lbz r0, 0x6b0(r28) -/* 8027E5D4 0027B534 98 01 00 94 */ stb r0, 0x94(r1) -/* 8027E5D8 0027B538 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 8027E5DC 0027B53C D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 8027E5E0 0027B540 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8027E5E4 0027B544 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8027E5E8 0027B548 91 01 00 A8 */ stw r8, 0xa8(r1) -/* 8027E5EC 0027B54C B0 C1 00 AC */ sth r6, 0xac(r1) -/* 8027E5F0 0027B550 4B FF EF 3D */ bl sub_8027d52c -/* 8027E5F4 0027B554 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 8027E5F8 0027B558 7F 83 E3 78 */ mr r3, r28 -/* 8027E5FC 0027B55C 7F A4 EB 78 */ mr r4, r29 -/* 8027E600 0027B560 4B FF EE 31 */ bl sub_8027d430 -/* 8027E604 0027B564 38 C0 00 01 */ li r6, 1 -/* 8027E608 0027B568 48 00 02 0C */ b lbl_8027E814 -/* 8027E60C 0027B56C 4B FF F2 19 */ bl sub_8027d824 -/* 8027E610 0027B570 38 C0 00 01 */ li r6, 1 -/* 8027E614 0027B574 48 00 02 00 */ b lbl_8027E814 -/* 8027E618 0027B578 88 1C 07 0E */ lbz r0, 0x70e(r28) -/* 8027E61C 0027B57C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8027E620 0027B580 41 82 01 DC */ beq lbl_8027E7FC -/* 8027E624 0027B584 80 1C 06 D8 */ lwz r0, 0x6d8(r28) -/* 8027E628 0027B588 2C 00 00 00 */ cmpwi r0, 0 -/* 8027E62C 0027B58C 41 82 01 D0 */ beq lbl_8027E7FC -/* 8027E630 0027B590 80 7C 06 E4 */ lwz r3, 0x6e4(r28) -/* 8027E634 0027B594 80 1C 06 F8 */ lwz r0, 0x6f8(r28) -/* 8027E638 0027B598 7C 03 00 00 */ cmpw r3, r0 -/* 8027E63C 0027B59C 40 80 01 C0 */ bge lbl_8027E7FC -/* 8027E640 0027B5A0 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8027E644 0027B5A4 38 80 FF FF */ li r4, -1 -/* 8027E648 0027B5A8 38 A0 00 01 */ li r5, 1 -/* 8027E64C 0027B5AC 48 09 3F 49 */ bl Range__9CRandom16Fii -/* 8027E650 0027B5B0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027E654 0027B5B4 3C 00 43 30 */ lis r0, 0x4330 -/* 8027E658 0027B5B8 90 61 00 B4 */ stw r3, 0xb4(r1) -/* 8027E65C 0027B5BC 38 80 FF FF */ li r4, -1 -/* 8027E660 0027B5C0 C8 42 BD 20 */ lfd f2, lbl_805ADA40@sda21(r2) -/* 8027E664 0027B5C4 38 A0 00 01 */ li r5, 1 -/* 8027E668 0027B5C8 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 8027E66C 0027B5CC C0 02 BD 58 */ lfs f0, lbl_805ADA78@sda21(r2) -/* 8027E670 0027B5D0 C8 21 00 B0 */ lfd f1, 0xb0(r1) -/* 8027E674 0027B5D4 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8027E678 0027B5D8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8027E67C 0027B5DC EF C0 00 72 */ fmuls f30, f0, f1 -/* 8027E680 0027B5E0 48 09 3F 15 */ bl Range__9CRandom16Fii -/* 8027E684 0027B5E4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027E688 0027B5E8 3C 00 43 30 */ lis r0, 0x4330 -/* 8027E68C 0027B5EC 90 61 00 BC */ stw r3, 0xbc(r1) -/* 8027E690 0027B5F0 FC 20 F0 90 */ fmr f1, f30 -/* 8027E694 0027B5F4 C8 62 BD 20 */ lfd f3, lbl_805ADA40@sda21(r2) -/* 8027E698 0027B5F8 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8027E69C 0027B5FC C0 02 BD 5C */ lfs f0, lbl_805ADA7C@sda21(r2) -/* 8027E6A0 0027B600 C8 41 00 B8 */ lfd f2, 0xb8(r1) -/* 8027E6A4 0027B604 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8027E6A8 0027B608 EF 80 00 B2 */ fmuls f28, f0, f2 -/* 8027E6AC 0027B60C 48 09 66 99 */ bl FastCosR__5CMathFf -/* 8027E6B0 0027B610 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) -/* 8027E6B4 0027B614 EF 60 00 72 */ fmuls f27, f0, f1 -/* 8027E6B8 0027B618 FC 20 E0 90 */ fmr f1, f28 -/* 8027E6BC 0027B61C 48 09 66 89 */ bl FastCosR__5CMathFf -/* 8027E6C0 0027B620 EF BB 00 72 */ fmuls f29, f27, f1 -/* 8027E6C4 0027B624 FC 20 F0 90 */ fmr f1, f30 -/* 8027E6C8 0027B628 48 09 67 29 */ bl FastSinR__5CMathFf -/* 8027E6CC 0027B62C FF C0 08 50 */ fneg f30, f1 -/* 8027E6D0 0027B630 FC 20 E0 90 */ fmr f1, f28 -/* 8027E6D4 0027B634 48 09 67 1D */ bl FastSinR__5CMathFf -/* 8027E6D8 0027B638 EC 5B 00 72 */ fmuls f2, f27, f1 -/* 8027E6DC 0027B63C C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) -/* 8027E6E0 0027B640 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027E6E4 0027B644 38 9C 06 68 */ addi r4, r28, 0x668 -/* 8027E6E8 0027B648 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 8027E6EC 0027B64C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8027E6F0 0027B650 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8027E6F4 0027B654 EC 00 07 72 */ fmuls f0, f0, f29 -/* 8027E6F8 0027B658 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8027E6FC 0027B65C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027E700 0027B660 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027E704 0027B664 48 09 43 E5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8027E708 0027B668 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8027E70C 0027B66C 7F A3 EB 78 */ mr r3, r29 -/* 8027E710 0027B670 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8027E714 0027B674 38 81 00 08 */ addi r4, r1, 8 -/* 8027E718 0027B678 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8027E71C 0027B67C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8027E720 0027B680 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8027E724 0027B684 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8027E728 0027B688 A0 1C 07 04 */ lhz r0, 0x704(r28) -/* 8027E72C 0027B68C B0 01 00 08 */ sth r0, 8(r1) -/* 8027E730 0027B690 4B DC DE 45 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027E734 0027B694 7C 64 1B 78 */ mr r4, r3 -/* 8027E738 0027B698 38 61 00 0C */ addi r3, r1, 0xc -/* 8027E73C 0027B69C 4B E2 7E 11 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8027E740 0027B6A0 83 63 00 04 */ lwz r27, 4(r3) -/* 8027E744 0027B6A4 28 1B 00 00 */ cmplwi r27, 0 -/* 8027E748 0027B6A8 41 82 00 B4 */ beq lbl_8027E7FC -/* 8027E74C 0027B6AC 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 8027E750 0027B6B0 7F A5 EB 78 */ mr r5, r29 -/* 8027E754 0027B6B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027E758 0027B6B8 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) -/* 8027E75C 0027B6BC 81 84 00 00 */ lwz r12, 0(r4) -/* 8027E760 0027B6C0 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8027E764 0027B6C4 7D 89 03 A6 */ mtctr r12 -/* 8027E768 0027B6C8 4E 80 04 21 */ bctrl -/* 8027E76C 0027B6CC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8027E770 0027B6D0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8027E774 0027B6D4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 8027E778 0027B6D8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027E77C 0027B6DC 38 81 00 38 */ addi r4, r1, 0x38 -/* 8027E780 0027B6E0 48 09 53 91 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8027E784 0027B6E4 38 7B 00 34 */ addi r3, r27, 0x34 -/* 8027E788 0027B6E8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8027E78C 0027B6EC 48 09 43 B5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8027E790 0027B6F0 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 8027E794 0027B6F4 38 C0 00 01 */ li r6, 1 -/* 8027E798 0027B6F8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 8027E79C 0027B6FC 7F 83 E3 78 */ mr r3, r28 -/* 8027E7A0 0027B700 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 8027E7A4 0027B704 7F A5 EB 78 */ mr r5, r29 -/* 8027E7A8 0027B708 38 9B 00 34 */ addi r4, r27, 0x34 -/* 8027E7AC 0027B70C 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 8027E7B0 0027B710 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8027E7B4 0027B714 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 8027E7B8 0027B718 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 8027E7BC 0027B71C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 8027E7C0 0027B720 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 8027E7C4 0027B724 48 00 00 AD */ bl sub_8027e870 -/* 8027E7C8 0027B728 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E7CC 0027B72C 41 82 00 30 */ beq lbl_8027E7FC -/* 8027E7D0 0027B730 7F 83 E3 78 */ mr r3, r28 -/* 8027E7D4 0027B734 7F A5 EB 78 */ mr r5, r29 -/* 8027E7D8 0027B738 38 80 00 09 */ li r4, 9 -/* 8027E7DC 0027B73C 38 C0 FF FF */ li r6, -1 -/* 8027E7E0 0027B740 4B DD 28 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8027E7E4 0027B744 C0 5B 00 60 */ lfs f2, 0x60(r27) -/* 8027E7E8 0027B748 C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 8027E7EC 0027B74C C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 8027E7F0 0027B750 D0 1C 06 B4 */ stfs f0, 0x6b4(r28) -/* 8027E7F4 0027B754 D0 3C 06 B8 */ stfs f1, 0x6b8(r28) -/* 8027E7F8 0027B758 D0 5C 06 BC */ stfs f2, 0x6bc(r28) -lbl_8027E7FC: -/* 8027E7FC 0027B75C 38 C0 00 01 */ li r6, 1 -/* 8027E800 0027B760 48 00 00 14 */ b lbl_8027E814 -/* 8027E804 0027B764 88 1C 07 0E */ lbz r0, 0x70e(r28) -/* 8027E808 0027B768 38 60 00 00 */ li r3, 0 -/* 8027E80C 0027B76C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027E810 0027B770 98 1C 07 0E */ stb r0, 0x70e(r28) -lbl_8027E814: -/* 8027E814 0027B774 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 8027E818 0027B778 40 82 00 1C */ bne lbl_8027E834 -/* 8027E81C 0027B77C FC 20 F8 90 */ fmr f1, f31 -/* 8027E820 0027B780 7F 83 E3 78 */ mr r3, r28 -/* 8027E824 0027B784 7F A4 EB 78 */ mr r4, r29 -/* 8027E828 0027B788 7F C5 F3 78 */ mr r5, r30 -/* 8027E82C 0027B78C 7F E6 FB 78 */ mr r6, r31 -/* 8027E830 0027B790 4B DF A6 81 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_8027E834: -/* 8027E834 0027B794 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8027E838 0027B798 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 8027E83C 0027B79C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 8027E840 0027B7A0 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8027E844 0027B7A4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 8027E848 0027B7A8 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 8027E84C 0027B7AC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 8027E850 0027B7B0 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 8027E854 0027B7B4 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 8027E858 0027B7B8 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 8027E85C 0027B7BC BB 61 00 CC */ lmw r27, 0xcc(r1) -/* 8027E860 0027B7C0 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8027E864 0027B7C4 7C 08 03 A6 */ mtlr r0 -/* 8027E868 0027B7C8 38 21 01 30 */ addi r1, r1, 0x130 -/* 8027E86C 0027B7CC 4E 80 00 20 */ blr - -.global sub_8027e870 -sub_8027e870: -/* 8027E870 0027B7D0 94 21 EA 30 */ stwu r1, -0x15d0(r1) -/* 8027E874 0027B7D4 7C 08 02 A6 */ mflr r0 -/* 8027E878 0027B7D8 90 01 15 D4 */ stw r0, 0x15d4(r1) -/* 8027E87C 0027B7DC 38 00 15 C8 */ li r0, 0x15c8 -/* 8027E880 0027B7E0 DB E1 15 C0 */ stfd f31, 0x15c0(r1) -/* 8027E884 0027B7E4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 8027E888 0027B7E8 38 00 15 B8 */ li r0, 0x15b8 -/* 8027E88C 0027B7EC DB C1 15 B0 */ stfd f30, 0x15b0(r1) -/* 8027E890 0027B7F0 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 8027E894 0027B7F4 38 00 15 A8 */ li r0, 0x15a8 -/* 8027E898 0027B7F8 DB A1 15 A0 */ stfd f29, 0x15a0(r1) -/* 8027E89C 0027B7FC 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 -/* 8027E8A0 0027B800 38 00 15 98 */ li r0, 0x1598 -/* 8027E8A4 0027B804 DB 81 15 90 */ stfd f28, 0x1590(r1) -/* 8027E8A8 0027B808 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 -/* 8027E8AC 0027B80C 38 00 15 88 */ li r0, 0x1588 -/* 8027E8B0 0027B810 DB 61 15 80 */ stfd f27, 0x1580(r1) -/* 8027E8B4 0027B814 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 -/* 8027E8B8 0027B818 38 00 15 78 */ li r0, 0x1578 -/* 8027E8BC 0027B81C DB 41 15 70 */ stfd f26, 0x1570(r1) -/* 8027E8C0 0027B820 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 -/* 8027E8C4 0027B824 BF 21 15 54 */ stmw r25, 0x1554(r1) -/* 8027E8C8 0027B828 38 00 00 00 */ li r0, 0 -/* 8027E8CC 0027B82C 80 CD 98 FC */ lwz r6, lbl_805A84BC@sda21(r13) -/* 8027E8D0 0027B830 90 01 0D 44 */ stw r0, 0xd44(r1) -/* 8027E8D4 0027B834 7C 7D 1B 78 */ mr r29, r3 -/* 8027E8D8 0027B838 7C 9E 23 78 */ mr r30, r4 -/* 8027E8DC 0027B83C 7C BF 2B 78 */ mr r31, r5 -/* 8027E8E0 0027B840 7C C5 33 78 */ mr r5, r6 -/* 8027E8E4 0027B844 38 60 00 00 */ li r3, 0 -/* 8027E8E8 0027B848 38 80 00 01 */ li r4, 1 -/* 8027E8EC 0027B84C 48 10 B6 09 */ bl __shl2i -/* 8027E8F0 0027B850 80 AD 99 00 */ lwz r5, lbl_805A84C0@sda21(r13) -/* 8027E8F4 0027B854 7C 9B 23 78 */ mr r27, r4 -/* 8027E8F8 0027B858 7C 7C 1B 78 */ mr r28, r3 -/* 8027E8FC 0027B85C 38 60 00 00 */ li r3, 0 -/* 8027E900 0027B860 38 80 00 01 */ li r4, 1 -/* 8027E904 0027B864 48 10 B5 F1 */ bl __shl2i -/* 8027E908 0027B868 80 AD 99 04 */ lwz r5, lbl_805A84C4@sda21(r13) -/* 8027E90C 0027B86C 7F 7B 23 78 */ or r27, r27, r4 -/* 8027E910 0027B870 7F 9C 1B 78 */ or r28, r28, r3 -/* 8027E914 0027B874 38 60 00 00 */ li r3, 0 -/* 8027E918 0027B878 38 80 00 01 */ li r4, 1 -/* 8027E91C 0027B87C 48 10 B5 D9 */ bl __shl2i -/* 8027E920 0027B880 C3 BE 00 2C */ lfs f29, 0x2c(r30) -/* 8027E924 0027B884 7F 7B 23 78 */ or r27, r27, r4 -/* 8027E928 0027B888 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) -/* 8027E92C 0027B88C 7F 9C 1B 78 */ or r28, r28, r3 -/* 8027E930 0027B890 C3 DE 00 1C */ lfs f30, 0x1c(r30) -/* 8027E934 0027B894 38 C0 00 01 */ li r6, 1 -/* 8027E938 0027B898 C3 FE 00 0C */ lfs f31, 0xc(r30) -/* 8027E93C 0027B89C EC 7D 00 2A */ fadds f3, f29, f0 -/* 8027E940 0027B8A0 38 00 00 00 */ li r0, 0 -/* 8027E944 0027B8A4 EC 9E 00 2A */ fadds f4, f30, f0 -/* 8027E948 0027B8A8 EC BF 00 2A */ fadds f5, f31, f0 -/* 8027E94C 0027B8AC 90 C1 00 A0 */ stw r6, 0xa0(r1) -/* 8027E950 0027B8B0 EC 5F 00 28 */ fsubs f2, f31, f0 -/* 8027E954 0027B8B4 EC 3E 00 28 */ fsubs f1, f30, f0 -/* 8027E958 0027B8B8 93 61 00 FC */ stw r27, 0xfc(r1) -/* 8027E95C 0027B8BC EC 1D 00 28 */ fsubs f0, f29, f0 -/* 8027E960 0027B8C0 93 81 00 F8 */ stw r28, 0xf8(r1) -/* 8027E964 0027B8C4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8027E968 0027B8C8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8027E96C 0027B8CC 90 01 01 04 */ stw r0, 0x104(r1) -/* 8027E970 0027B8D0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8027E974 0027B8D4 90 01 01 00 */ stw r0, 0x100(r1) -/* 8027E978 0027B8D8 90 C1 01 08 */ stw r6, 0x108(r1) -/* 8027E97C 0027B8DC D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 8027E980 0027B8E0 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8027E984 0027B8E4 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8027E988 0027B8E8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8027E98C 0027B8EC D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8027E990 0027B8F0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8027E994 0027B8F4 48 0B 9B 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8027E998 0027B8F8 80 AD 99 18 */ lwz r5, lbl_805A84D8@sda21(r13) -/* 8027E99C 0027B8FC 38 60 00 00 */ li r3, 0 -/* 8027E9A0 0027B900 38 80 00 01 */ li r4, 1 -/* 8027E9A4 0027B904 48 10 B5 51 */ bl __shl2i -/* 8027E9A8 0027B908 80 AD 99 08 */ lwz r5, lbl_805A84C8@sda21(r13) -/* 8027E9AC 0027B90C 7C 9C 23 78 */ mr r28, r4 -/* 8027E9B0 0027B910 7C 7B 1B 78 */ mr r27, r3 -/* 8027E9B4 0027B914 38 60 00 00 */ li r3, 0 -/* 8027E9B8 0027B918 38 80 00 01 */ li r4, 1 -/* 8027E9BC 0027B91C 48 10 B5 39 */ bl __shl2i -/* 8027E9C0 0027B920 80 AD 99 0C */ lwz r5, lbl_805A84CC@sda21(r13) -/* 8027E9C4 0027B924 7C 99 23 78 */ mr r25, r4 -/* 8027E9C8 0027B928 7C 7A 1B 78 */ mr r26, r3 -/* 8027E9CC 0027B92C 38 60 00 00 */ li r3, 0 -/* 8027E9D0 0027B930 38 80 00 01 */ li r4, 1 -/* 8027E9D4 0027B934 48 10 B5 21 */ bl __shl2i -/* 8027E9D8 0027B938 80 AD 99 10 */ lwz r5, lbl_805A84D0@sda21(r13) -/* 8027E9DC 0027B93C 7F 39 23 78 */ or r25, r25, r4 -/* 8027E9E0 0027B940 7F 5A 1B 78 */ or r26, r26, r3 -/* 8027E9E4 0027B944 38 60 00 00 */ li r3, 0 -/* 8027E9E8 0027B948 38 80 00 01 */ li r4, 1 -/* 8027E9EC 0027B94C 48 10 B5 09 */ bl __shl2i -/* 8027E9F0 0027B950 80 AD 99 14 */ lwz r5, lbl_805A84D4@sda21(r13) -/* 8027E9F4 0027B954 7F 39 23 78 */ or r25, r25, r4 -/* 8027E9F8 0027B958 7F 5A 1B 78 */ or r26, r26, r3 -/* 8027E9FC 0027B95C 38 60 00 00 */ li r3, 0 -/* 8027EA00 0027B960 38 80 00 01 */ li r4, 1 -/* 8027EA04 0027B964 48 10 B4 F1 */ bl __shl2i -/* 8027EA08 0027B968 7F 39 23 78 */ or r25, r25, r4 -/* 8027EA0C 0027B96C 7F 5A 1B 78 */ or r26, r26, r3 -/* 8027EA10 0027B970 38 00 00 03 */ li r0, 3 -/* 8027EA14 0027B974 93 21 00 CC */ stw r25, 0xcc(r1) -/* 8027EA18 0027B978 7F E3 FB 78 */ mr r3, r31 -/* 8027EA1C 0027B97C 7F A7 EB 78 */ mr r7, r29 -/* 8027EA20 0027B980 90 01 00 88 */ stw r0, 0x88(r1) -/* 8027EA24 0027B984 38 81 0D 44 */ addi r4, r1, 0xd44 -/* 8027EA28 0027B988 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8027EA2C 0027B98C 38 C1 00 F8 */ addi r6, r1, 0xf8 -/* 8027EA30 0027B990 93 41 00 C8 */ stw r26, 0xc8(r1) -/* 8027EA34 0027B994 93 81 00 D4 */ stw r28, 0xd4(r1) -/* 8027EA38 0027B998 93 61 00 D0 */ stw r27, 0xd0(r1) -/* 8027EA3C 0027B99C 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8027EA40 0027B9A0 4B DC DC E1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8027EA44 0027B9A4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8027EA48 0027B9A8 38 00 00 00 */ li r0, 0 -/* 8027EA4C 0027B9AC 80 AD 99 1C */ lwz r5, lbl_805A84DC@sda21(r13) -/* 8027EA50 0027B9B0 38 60 00 00 */ li r3, 0 -/* 8027EA54 0027B9B4 B0 81 00 0C */ sth r4, 0xc(r1) -/* 8027EA58 0027B9B8 38 80 00 01 */ li r4, 1 -/* 8027EA5C 0027B9BC 90 01 01 40 */ stw r0, 0x140(r1) -/* 8027EA60 0027B9C0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8027EA64 0027B9C4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027EA68 0027B9C8 48 10 B4 8D */ bl __shl2i -/* 8027EA6C 0027B9CC 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8027EA70 0027B9D0 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8027EA74 0027B9D4 7C 00 1B 78 */ or r0, r0, r3 -/* 8027EA78 0027B9D8 80 AD 99 20 */ lwz r5, lbl_805A84E0@sda21(r13) -/* 8027EA7C 0027B9DC 7C C4 23 78 */ or r4, r6, r4 -/* 8027EA80 0027B9E0 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027EA84 0027B9E4 38 60 00 00 */ li r3, 0 -/* 8027EA88 0027B9E8 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8027EA8C 0027B9EC 38 80 00 01 */ li r4, 1 -/* 8027EA90 0027B9F0 48 10 B4 65 */ bl __shl2i -/* 8027EA94 0027B9F4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8027EA98 0027B9F8 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8027EA9C 0027B9FC C7 85 66 A0 */ lfsu f28, skZero3f@l(r5) -/* 8027EAA0 0027BA00 7C 00 1B 78 */ or r0, r0, r3 -/* 8027EAA4 0027BA04 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8027EAA8 0027BA08 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027EAAC 0027BA0C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8027EAB0 0027BA10 7C C4 23 78 */ or r4, r6, r4 -/* 8027EAB4 0027BA14 C3 65 00 04 */ lfs f27, 4(r5) -/* 8027EAB8 0027BA18 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8027EABC 0027BA1C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8027EAC0 0027BA20 C3 45 00 08 */ lfs f26, 8(r5) -/* 8027EAC4 0027BA24 48 05 0D F1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8027EAC8 0027BA28 C0 02 BD 38 */ lfs f0, lbl_805ADA58@sda21(r2) -/* 8027EACC 0027BA2C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8027EAD0 0027BA30 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 8027EAD4 0027BA34 D3 81 00 B8 */ stfs f28, 0xb8(r1) -/* 8027EAD8 0027BA38 7F E3 FB 78 */ mr r3, r31 -/* 8027EADC 0027BA3C 7F C5 F3 78 */ mr r5, r30 -/* 8027EAE0 0027BA40 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027EAE4 0027BA44 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8027EAE8 0027BA48 38 C1 00 C8 */ addi r6, r1, 0xc8 -/* 8027EAEC 0027BA4C 38 E1 0D 44 */ addi r7, r1, 0xd44 -/* 8027EAF0 0027BA50 D3 61 00 BC */ stfs f27, 0xbc(r1) -/* 8027EAF4 0027BA54 39 01 00 0C */ addi r8, r1, 0xc -/* 8027EAF8 0027BA58 39 21 01 40 */ addi r9, r1, 0x140 -/* 8027EAFC 0027BA5C D3 41 00 C0 */ stfs f26, 0xc0(r1) -/* 8027EB00 0027BA60 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8027EB04 0027BA64 4B F0 59 A1 */ bl "DetectCollision__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>R9TUniqueIdR18CCollisionInfoList" -/* 8027EB08 0027BA68 80 A1 01 40 */ lwz r5, 0x140(r1) -/* 8027EB0C 0027BA6C 2C 05 00 00 */ cmpwi r5, 0 -/* 8027EB10 0027BA70 40 81 00 C0 */ ble lbl_8027EBD0 -/* 8027EB14 0027BA74 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 8027EB18 0027BA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8027EB1C 0027BA7C 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 8027EB20 0027BA80 38 80 00 00 */ li r4, 0 -/* 8027EB24 0027BA84 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027EB28 0027BA88 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8027EB2C 0027BA8C 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027EB30 0027BA90 40 81 00 40 */ ble lbl_8027EB70 -/* 8027EB34 0027BA94 2C 05 00 08 */ cmpwi r5, 8 -/* 8027EB38 0027BA98 38 65 FF F8 */ addi r3, r5, -8 -/* 8027EB3C 0027BA9C 40 81 00 20 */ ble lbl_8027EB5C -/* 8027EB40 0027BAA0 38 03 00 07 */ addi r0, r3, 7 -/* 8027EB44 0027BAA4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027EB48 0027BAA8 7C 09 03 A6 */ mtctr r0 -/* 8027EB4C 0027BAAC 2C 03 00 00 */ cmpwi r3, 0 -/* 8027EB50 0027BAB0 40 81 00 0C */ ble lbl_8027EB5C -lbl_8027EB54: -/* 8027EB54 0027BAB4 38 84 00 08 */ addi r4, r4, 8 -/* 8027EB58 0027BAB8 42 00 FF FC */ bdnz lbl_8027EB54 -lbl_8027EB5C: -/* 8027EB5C 0027BABC 7C 04 28 50 */ subf r0, r4, r5 -/* 8027EB60 0027BAC0 7C 09 03 A6 */ mtctr r0 -/* 8027EB64 0027BAC4 7C 04 28 00 */ cmpw r4, r5 -/* 8027EB68 0027BAC8 40 80 00 08 */ bge lbl_8027EB70 -lbl_8027EB6C: -/* 8027EB6C 0027BACC 42 00 00 00 */ bdnz lbl_8027EB6C -lbl_8027EB70: -/* 8027EB70 0027BAD0 80 A1 0D 44 */ lwz r5, 0xd44(r1) -/* 8027EB74 0027BAD4 38 60 00 00 */ li r3, 0 -/* 8027EB78 0027BAD8 90 61 01 40 */ stw r3, 0x140(r1) -/* 8027EB7C 0027BADC 2C 05 00 00 */ cmpwi r5, 0 -/* 8027EB80 0027BAE0 40 81 00 40 */ ble lbl_8027EBC0 -/* 8027EB84 0027BAE4 2C 05 00 08 */ cmpwi r5, 8 -/* 8027EB88 0027BAE8 38 85 FF F8 */ addi r4, r5, -8 -/* 8027EB8C 0027BAEC 40 81 00 20 */ ble lbl_8027EBAC -/* 8027EB90 0027BAF0 38 04 00 07 */ addi r0, r4, 7 -/* 8027EB94 0027BAF4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027EB98 0027BAF8 7C 09 03 A6 */ mtctr r0 -/* 8027EB9C 0027BAFC 2C 04 00 00 */ cmpwi r4, 0 -/* 8027EBA0 0027BB00 40 81 00 0C */ ble lbl_8027EBAC -lbl_8027EBA4: -/* 8027EBA4 0027BB04 38 63 00 08 */ addi r3, r3, 8 -/* 8027EBA8 0027BB08 42 00 FF FC */ bdnz lbl_8027EBA4 -lbl_8027EBAC: -/* 8027EBAC 0027BB0C 7C 03 28 50 */ subf r0, r3, r5 -/* 8027EBB0 0027BB10 7C 09 03 A6 */ mtctr r0 -/* 8027EBB4 0027BB14 7C 03 28 00 */ cmpw r3, r5 -/* 8027EBB8 0027BB18 40 80 00 08 */ bge lbl_8027EBC0 -lbl_8027EBBC: -/* 8027EBBC 0027BB1C 42 00 00 00 */ bdnz lbl_8027EBBC -lbl_8027EBC0: -/* 8027EBC0 0027BB20 38 00 00 00 */ li r0, 0 -/* 8027EBC4 0027BB24 38 60 00 00 */ li r3, 0 -/* 8027EBC8 0027BB28 90 01 0D 44 */ stw r0, 0xd44(r1) -/* 8027EBCC 0027BB2C 48 00 02 60 */ b lbl_8027EE2C -lbl_8027EBD0: -/* 8027EBD0 0027BB30 A0 1D 07 06 */ lhz r0, 0x706(r29) -/* 8027EBD4 0027BB34 7F E3 FB 78 */ mr r3, r31 -/* 8027EBD8 0027BB38 38 81 00 08 */ addi r4, r1, 8 -/* 8027EBDC 0027BB3C B0 01 00 08 */ sth r0, 8(r1) -/* 8027EBE0 0027BB40 4B DC D9 95 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027EBE4 0027BB44 7C 64 1B 78 */ mr r4, r3 -/* 8027EBE8 0027BB48 38 61 00 10 */ addi r3, r1, 0x10 -/* 8027EBEC 0027BB4C 4B E3 07 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027EBF0 0027BB50 83 23 00 04 */ lwz r25, 4(r3) -/* 8027EBF4 0027BB54 28 19 00 00 */ cmplwi r25, 0 -/* 8027EBF8 0027BB58 41 82 01 74 */ beq lbl_8027ED6C -/* 8027EBFC 0027BB5C C0 59 00 50 */ lfs f2, 0x50(r25) -/* 8027EC00 0027BB60 38 61 00 50 */ addi r3, r1, 0x50 -/* 8027EC04 0027BB64 C0 39 00 60 */ lfs f1, 0x60(r25) -/* 8027EC08 0027BB68 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 8027EC0C 0027BB6C EC 5E 10 28 */ fsubs f2, f30, f2 -/* 8027EC10 0027BB70 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8027EC14 0027BB74 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 8027EC18 0027BB78 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8027EC1C 0027BB7C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8027EC20 0027BB80 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8027EC24 0027BB84 48 09 5C 95 */ bl Magnitude__9CVector3fCFv -/* 8027EC28 0027BB88 FF 40 08 90 */ fmr f26, f1 -/* 8027EC2C 0027BB8C 80 AD 99 24 */ lwz r5, lbl_805A84E4@sda21(r13) -/* 8027EC30 0027BB90 38 60 00 00 */ li r3, 0 -/* 8027EC34 0027BB94 38 80 00 01 */ li r4, 1 -/* 8027EC38 0027BB98 48 10 B2 BD */ bl __shl2i -/* 8027EC3C 0027BB9C 38 C0 FF FF */ li r6, -1 -/* 8027EC40 0027BBA0 38 A0 00 00 */ li r5, 0 -/* 8027EC44 0027BBA4 38 00 00 02 */ li r0, 2 -/* 8027EC48 0027BBA8 90 81 00 6C */ stw r4, 0x6c(r1) -/* 8027EC4C 0027BBAC 38 81 00 50 */ addi r4, r1, 0x50 -/* 8027EC50 0027BBB0 90 61 00 68 */ stw r3, 0x68(r1) -/* 8027EC54 0027BBB4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027EC58 0027BBB8 90 C1 00 64 */ stw r6, 0x64(r1) -/* 8027EC5C 0027BBBC 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8027EC60 0027BBC0 90 01 00 70 */ stw r0, 0x70(r1) -/* 8027EC64 0027BBC4 C0 59 00 60 */ lfs f2, 0x60(r25) -/* 8027EC68 0027BBC8 C0 39 00 50 */ lfs f1, 0x50(r25) -/* 8027EC6C 0027BBCC C0 19 00 40 */ lfs f0, 0x40(r25) -/* 8027EC70 0027BBD0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8027EC74 0027BBD4 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8027EC78 0027BBD8 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8027EC7C 0027BBDC 48 09 5B D5 */ bl AsNormalized__9CVector3fCFv -/* 8027EC80 0027BBE0 FC 20 D0 90 */ fmr f1, f26 -/* 8027EC84 0027BBE4 7F E4 FB 78 */ mr r4, r31 -/* 8027EC88 0027BBE8 38 61 01 10 */ addi r3, r1, 0x110 -/* 8027EC8C 0027BBEC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8027EC90 0027BBF0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8027EC94 0027BBF4 38 E1 00 60 */ addi r7, r1, 0x60 -/* 8027EC98 0027BBF8 4B DC E3 01 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8027EC9C 0027BBFC 88 01 01 30 */ lbz r0, 0x130(r1) -/* 8027ECA0 0027BC00 28 00 00 00 */ cmplwi r0, 0 -/* 8027ECA4 0027BC04 40 82 00 C8 */ bne lbl_8027ED6C -/* 8027ECA8 0027BC08 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8027ECAC 0027BC0C 80 A1 01 40 */ lwz r5, 0x140(r1) -/* 8027ECB0 0027BC10 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 8027ECB4 0027BC14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8027ECB8 0027BC18 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027ECBC 0027BC1C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8027ECC0 0027BC20 2C 05 00 00 */ cmpwi r5, 0 -/* 8027ECC4 0027BC24 38 60 00 00 */ li r3, 0 -/* 8027ECC8 0027BC28 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027ECCC 0027BC2C 40 81 00 40 */ ble lbl_8027ED0C -/* 8027ECD0 0027BC30 2C 05 00 08 */ cmpwi r5, 8 -/* 8027ECD4 0027BC34 38 85 FF F8 */ addi r4, r5, -8 -/* 8027ECD8 0027BC38 40 81 00 20 */ ble lbl_8027ECF8 -/* 8027ECDC 0027BC3C 38 04 00 07 */ addi r0, r4, 7 -/* 8027ECE0 0027BC40 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027ECE4 0027BC44 7C 09 03 A6 */ mtctr r0 -/* 8027ECE8 0027BC48 2C 04 00 00 */ cmpwi r4, 0 -/* 8027ECEC 0027BC4C 40 81 00 0C */ ble lbl_8027ECF8 -lbl_8027ECF0: -/* 8027ECF0 0027BC50 38 63 00 08 */ addi r3, r3, 8 -/* 8027ECF4 0027BC54 42 00 FF FC */ bdnz lbl_8027ECF0 -lbl_8027ECF8: -/* 8027ECF8 0027BC58 7C 03 28 50 */ subf r0, r3, r5 -/* 8027ECFC 0027BC5C 7C 09 03 A6 */ mtctr r0 -/* 8027ED00 0027BC60 7C 03 28 00 */ cmpw r3, r5 -/* 8027ED04 0027BC64 40 80 00 08 */ bge lbl_8027ED0C -lbl_8027ED08: -/* 8027ED08 0027BC68 42 00 00 00 */ bdnz lbl_8027ED08 -lbl_8027ED0C: -/* 8027ED0C 0027BC6C 80 A1 0D 44 */ lwz r5, 0xd44(r1) -/* 8027ED10 0027BC70 38 60 00 00 */ li r3, 0 -/* 8027ED14 0027BC74 90 61 01 40 */ stw r3, 0x140(r1) -/* 8027ED18 0027BC78 2C 05 00 00 */ cmpwi r5, 0 -/* 8027ED1C 0027BC7C 40 81 00 40 */ ble lbl_8027ED5C -/* 8027ED20 0027BC80 2C 05 00 08 */ cmpwi r5, 8 -/* 8027ED24 0027BC84 38 85 FF F8 */ addi r4, r5, -8 -/* 8027ED28 0027BC88 40 81 00 20 */ ble lbl_8027ED48 -/* 8027ED2C 0027BC8C 38 04 00 07 */ addi r0, r4, 7 -/* 8027ED30 0027BC90 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027ED34 0027BC94 7C 09 03 A6 */ mtctr r0 -/* 8027ED38 0027BC98 2C 04 00 00 */ cmpwi r4, 0 -/* 8027ED3C 0027BC9C 40 81 00 0C */ ble lbl_8027ED48 -lbl_8027ED40: -/* 8027ED40 0027BCA0 38 63 00 08 */ addi r3, r3, 8 -/* 8027ED44 0027BCA4 42 00 FF FC */ bdnz lbl_8027ED40 -lbl_8027ED48: -/* 8027ED48 0027BCA8 7C 03 28 50 */ subf r0, r3, r5 -/* 8027ED4C 0027BCAC 7C 09 03 A6 */ mtctr r0 -/* 8027ED50 0027BCB0 7C 03 28 00 */ cmpw r3, r5 -/* 8027ED54 0027BCB4 40 80 00 08 */ bge lbl_8027ED5C -lbl_8027ED58: -/* 8027ED58 0027BCB8 42 00 00 00 */ bdnz lbl_8027ED58 -lbl_8027ED5C: -/* 8027ED5C 0027BCBC 38 00 00 00 */ li r0, 0 -/* 8027ED60 0027BCC0 38 60 00 01 */ li r3, 1 -/* 8027ED64 0027BCC4 90 01 0D 44 */ stw r0, 0xd44(r1) -/* 8027ED68 0027BCC8 48 00 00 C4 */ b lbl_8027EE2C -lbl_8027ED6C: -/* 8027ED6C 0027BCCC 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 8027ED70 0027BCD0 80 A1 01 40 */ lwz r5, 0x140(r1) -/* 8027ED74 0027BCD4 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 8027ED78 0027BCD8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8027ED7C 0027BCDC 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027ED80 0027BCE0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8027ED84 0027BCE4 2C 05 00 00 */ cmpwi r5, 0 -/* 8027ED88 0027BCE8 38 60 00 00 */ li r3, 0 -/* 8027ED8C 0027BCEC 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8027ED90 0027BCF0 40 81 00 40 */ ble lbl_8027EDD0 -/* 8027ED94 0027BCF4 2C 05 00 08 */ cmpwi r5, 8 -/* 8027ED98 0027BCF8 38 85 FF F8 */ addi r4, r5, -8 -/* 8027ED9C 0027BCFC 40 81 00 20 */ ble lbl_8027EDBC -/* 8027EDA0 0027BD00 38 04 00 07 */ addi r0, r4, 7 -/* 8027EDA4 0027BD04 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027EDA8 0027BD08 7C 09 03 A6 */ mtctr r0 -/* 8027EDAC 0027BD0C 2C 04 00 00 */ cmpwi r4, 0 -/* 8027EDB0 0027BD10 40 81 00 0C */ ble lbl_8027EDBC -lbl_8027EDB4: -/* 8027EDB4 0027BD14 38 63 00 08 */ addi r3, r3, 8 -/* 8027EDB8 0027BD18 42 00 FF FC */ bdnz lbl_8027EDB4 -lbl_8027EDBC: -/* 8027EDBC 0027BD1C 7C 03 28 50 */ subf r0, r3, r5 -/* 8027EDC0 0027BD20 7C 09 03 A6 */ mtctr r0 -/* 8027EDC4 0027BD24 7C 03 28 00 */ cmpw r3, r5 -/* 8027EDC8 0027BD28 40 80 00 08 */ bge lbl_8027EDD0 -lbl_8027EDCC: -/* 8027EDCC 0027BD2C 42 00 00 00 */ bdnz lbl_8027EDCC -lbl_8027EDD0: -/* 8027EDD0 0027BD30 80 A1 0D 44 */ lwz r5, 0xd44(r1) -/* 8027EDD4 0027BD34 38 60 00 00 */ li r3, 0 -/* 8027EDD8 0027BD38 90 61 01 40 */ stw r3, 0x140(r1) -/* 8027EDDC 0027BD3C 2C 05 00 00 */ cmpwi r5, 0 -/* 8027EDE0 0027BD40 40 81 00 40 */ ble lbl_8027EE20 -/* 8027EDE4 0027BD44 2C 05 00 08 */ cmpwi r5, 8 -/* 8027EDE8 0027BD48 38 85 FF F8 */ addi r4, r5, -8 -/* 8027EDEC 0027BD4C 40 81 00 20 */ ble lbl_8027EE0C -/* 8027EDF0 0027BD50 38 04 00 07 */ addi r0, r4, 7 -/* 8027EDF4 0027BD54 54 00 E8 FE */ srwi r0, r0, 3 -/* 8027EDF8 0027BD58 7C 09 03 A6 */ mtctr r0 -/* 8027EDFC 0027BD5C 2C 04 00 00 */ cmpwi r4, 0 -/* 8027EE00 0027BD60 40 81 00 0C */ ble lbl_8027EE0C -lbl_8027EE04: -/* 8027EE04 0027BD64 38 63 00 08 */ addi r3, r3, 8 -/* 8027EE08 0027BD68 42 00 FF FC */ bdnz lbl_8027EE04 -lbl_8027EE0C: -/* 8027EE0C 0027BD6C 7C 03 28 50 */ subf r0, r3, r5 -/* 8027EE10 0027BD70 7C 09 03 A6 */ mtctr r0 -/* 8027EE14 0027BD74 7C 03 28 00 */ cmpw r3, r5 -/* 8027EE18 0027BD78 40 80 00 08 */ bge lbl_8027EE20 -lbl_8027EE1C: -/* 8027EE1C 0027BD7C 42 00 00 00 */ bdnz lbl_8027EE1C -lbl_8027EE20: -/* 8027EE20 0027BD80 38 00 00 00 */ li r0, 0 -/* 8027EE24 0027BD84 38 60 00 00 */ li r3, 0 -/* 8027EE28 0027BD88 90 01 0D 44 */ stw r0, 0xd44(r1) -lbl_8027EE2C: -/* 8027EE2C 0027BD8C 38 00 15 C8 */ li r0, 0x15c8 -/* 8027EE30 0027BD90 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 8027EE34 0027BD94 CB E1 15 C0 */ lfd f31, 0x15c0(r1) -/* 8027EE38 0027BD98 38 00 15 B8 */ li r0, 0x15b8 -/* 8027EE3C 0027BD9C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 8027EE40 0027BDA0 CB C1 15 B0 */ lfd f30, 0x15b0(r1) -/* 8027EE44 0027BDA4 38 00 15 A8 */ li r0, 0x15a8 -/* 8027EE48 0027BDA8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 -/* 8027EE4C 0027BDAC CB A1 15 A0 */ lfd f29, 0x15a0(r1) -/* 8027EE50 0027BDB0 38 00 15 98 */ li r0, 0x1598 -/* 8027EE54 0027BDB4 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 -/* 8027EE58 0027BDB8 CB 81 15 90 */ lfd f28, 0x1590(r1) -/* 8027EE5C 0027BDBC 38 00 15 88 */ li r0, 0x1588 -/* 8027EE60 0027BDC0 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 -/* 8027EE64 0027BDC4 CB 61 15 80 */ lfd f27, 0x1580(r1) -/* 8027EE68 0027BDC8 38 00 15 78 */ li r0, 0x1578 -/* 8027EE6C 0027BDCC 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 -/* 8027EE70 0027BDD0 CB 41 15 70 */ lfd f26, 0x1570(r1) -/* 8027EE74 0027BDD4 BB 21 15 54 */ lmw r25, 0x1554(r1) -/* 8027EE78 0027BDD8 80 01 15 D4 */ lwz r0, 0x15d4(r1) -/* 8027EE7C 0027BDDC 7C 08 03 A6 */ mtlr r0 -/* 8027EE80 0027BDE0 38 21 15 D0 */ addi r1, r1, 0x15d0 -/* 8027EE84 0027BDE4 4E 80 00 20 */ blr - -.global sub_8027ee88 -sub_8027ee88: -/* 8027EE88 0027BDE8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027EE8C 0027BDEC 7C 08 02 A6 */ mflr r0 -/* 8027EE90 0027BDF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027EE94 0027BDF4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027EE98 0027BDF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027EE9C 0027BDFC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027EEA0 0027BE00 7C 9D 23 78 */ mr r29, r4 -/* 8027EEA4 0027BE04 93 81 00 10 */ stw r28, 0x10(r1) -/* 8027EEA8 0027BE08 7C 7C 1B 78 */ mr r28, r3 -/* 8027EEAC 0027BE0C 83 E4 08 38 */ lwz r31, 0x838(r4) -/* 8027EEB0 0027BE10 AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8027EEB4 0027BE14 48 00 00 7C */ b lbl_8027EF30 -lbl_8027EEB8: -/* 8027EEB8 0027BE18 7F E3 FB 78 */ mr r3, r31 -/* 8027EEBC 0027BE1C 7F C4 F3 78 */ mr r4, r30 -/* 8027EEC0 0027BE20 4B D9 0E 55 */ bl __vc__11CObjectListFi -/* 8027EEC4 0027BE24 7C 64 1B 78 */ mr r4, r3 -/* 8027EEC8 0027BE28 38 61 00 08 */ addi r3, r1, 8 -/* 8027EECC 0027BE2C 4B E2 DB 91 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8027EED0 0027BE30 80 63 00 04 */ lwz r3, 4(r3) -/* 8027EED4 0027BE34 28 03 00 00 */ cmplwi r3, 0 -/* 8027EED8 0027BE38 41 82 00 3C */ beq lbl_8027EF14 -/* 8027EEDC 0027BE3C 7C 03 E0 40 */ cmplw r3, r28 -/* 8027EEE0 0027BE40 41 82 00 34 */ beq lbl_8027EF14 -/* 8027EEE4 0027BE44 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027EEE8 0027BE48 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027EEEC 0027BE4C 41 82 00 28 */ beq lbl_8027EF14 -/* 8027EEF0 0027BE50 80 83 00 04 */ lwz r4, 4(r3) -/* 8027EEF4 0027BE54 80 1C 00 04 */ lwz r0, 4(r28) -/* 8027EEF8 0027BE58 7C 04 00 00 */ cmpw r4, r0 -/* 8027EEFC 0027BE5C 40 82 00 18 */ bne lbl_8027EF14 -/* 8027EF00 0027BE60 81 83 00 00 */ lwz r12, 0(r3) -/* 8027EF04 0027BE64 7F A4 EB 78 */ mr r4, r29 -/* 8027EF08 0027BE68 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 8027EF0C 0027BE6C 7D 89 03 A6 */ mtctr r12 -/* 8027EF10 0027BE70 4E 80 04 21 */ bctrl -lbl_8027EF14: -/* 8027EF14 0027BE74 2C 1E FF FF */ cmpwi r30, -1 -/* 8027EF18 0027BE78 41 82 00 14 */ beq lbl_8027EF2C -/* 8027EF1C 0027BE7C 57 C3 18 38 */ slwi r3, r30, 3 -/* 8027EF20 0027BE80 38 03 00 08 */ addi r0, r3, 8 -/* 8027EF24 0027BE84 7F DF 02 AE */ lhax r30, r31, r0 -/* 8027EF28 0027BE88 48 00 00 08 */ b lbl_8027EF30 -lbl_8027EF2C: -/* 8027EF2C 0027BE8C 3B C0 FF FF */ li r30, -1 -lbl_8027EF30: -/* 8027EF30 0027BE90 2C 1E FF FF */ cmpwi r30, -1 -/* 8027EF34 0027BE94 40 82 FF 84 */ bne lbl_8027EEB8 -/* 8027EF38 0027BE98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027EF3C 0027BE9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027EF40 0027BEA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027EF44 0027BEA4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027EF48 0027BEA8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8027EF4C 0027BEAC 7C 08 03 A6 */ mtlr r0 -/* 8027EF50 0027BEB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027EF54 0027BEB4 4E 80 00 20 */ blr - -.global sub_8027ef58 -sub_8027ef58: -/* 8027EF58 0027BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027EF5C 0027BEBC 7C 08 02 A6 */ mflr r0 -/* 8027EF60 0027BEC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027EF64 0027BEC4 38 00 00 00 */ li r0, 0 -/* 8027EF68 0027BEC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027EF6C 0027BECC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027EF70 0027BED0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027EF74 0027BED4 7C 7D 1B 78 */ mr r29, r3 -/* 8027EF78 0027BED8 90 03 06 E4 */ stw r0, 0x6e4(r3) -/* 8027EF7C 0027BEDC 83 E4 08 38 */ lwz r31, 0x838(r4) -/* 8027EF80 0027BEE0 AB DF 20 08 */ lha r30, 0x2008(r31) -/* 8027EF84 0027BEE4 48 00 00 74 */ b lbl_8027EFF8 -lbl_8027EF88: -/* 8027EF88 0027BEE8 7F E3 FB 78 */ mr r3, r31 -/* 8027EF8C 0027BEEC 7F C4 F3 78 */ mr r4, r30 -/* 8027EF90 0027BEF0 4B D9 0D 85 */ bl __vc__11CObjectListFi -/* 8027EF94 0027BEF4 7C 64 1B 78 */ mr r4, r3 -/* 8027EF98 0027BEF8 38 61 00 08 */ addi r3, r1, 8 -/* 8027EF9C 0027BEFC 4B E2 DA C1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8027EFA0 0027BF00 80 63 00 04 */ lwz r3, 4(r3) -/* 8027EFA4 0027BF04 28 03 00 00 */ cmplwi r3, 0 -/* 8027EFA8 0027BF08 41 82 00 34 */ beq lbl_8027EFDC -/* 8027EFAC 0027BF0C 7C 03 E8 40 */ cmplw r3, r29 -/* 8027EFB0 0027BF10 41 82 00 2C */ beq lbl_8027EFDC -/* 8027EFB4 0027BF14 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027EFB8 0027BF18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027EFBC 0027BF1C 41 82 00 20 */ beq lbl_8027EFDC -/* 8027EFC0 0027BF20 80 63 00 04 */ lwz r3, 4(r3) -/* 8027EFC4 0027BF24 80 1D 00 04 */ lwz r0, 4(r29) -/* 8027EFC8 0027BF28 7C 03 00 00 */ cmpw r3, r0 -/* 8027EFCC 0027BF2C 40 82 00 10 */ bne lbl_8027EFDC -/* 8027EFD0 0027BF30 80 7D 06 E4 */ lwz r3, 0x6e4(r29) -/* 8027EFD4 0027BF34 38 03 00 01 */ addi r0, r3, 1 -/* 8027EFD8 0027BF38 90 1D 06 E4 */ stw r0, 0x6e4(r29) -lbl_8027EFDC: -/* 8027EFDC 0027BF3C 2C 1E FF FF */ cmpwi r30, -1 -/* 8027EFE0 0027BF40 41 82 00 14 */ beq lbl_8027EFF4 -/* 8027EFE4 0027BF44 57 C3 18 38 */ slwi r3, r30, 3 -/* 8027EFE8 0027BF48 38 03 00 08 */ addi r0, r3, 8 -/* 8027EFEC 0027BF4C 7F DF 02 AE */ lhax r30, r31, r0 -/* 8027EFF0 0027BF50 48 00 00 08 */ b lbl_8027EFF8 -lbl_8027EFF4: -/* 8027EFF4 0027BF54 3B C0 FF FF */ li r30, -1 -lbl_8027EFF8: -/* 8027EFF8 0027BF58 2C 1E FF FF */ cmpwi r30, -1 -/* 8027EFFC 0027BF5C 40 82 FF 8C */ bne lbl_8027EF88 -/* 8027F000 0027BF60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F004 0027BF64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027F008 0027BF68 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027F00C 0027BF6C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027F010 0027BF70 7C 08 03 A6 */ mtlr r0 -/* 8027F014 0027BF74 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F018 0027BF78 4E 80 00 20 */ blr - -.global Render__20CMetroidPrimeEssenceCFRC13CStateManager -Render__20CMetroidPrimeEssenceCFRC13CStateManager: -/* 8027F01C 0027BF7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F020 0027BF80 7C 08 02 A6 */ mflr r0 -/* 8027F024 0027BF84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F028 0027BF88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F02C 0027BF8C 7C 9F 23 78 */ mr r31, r4 -/* 8027F030 0027BF90 93 C1 00 08 */ stw r30, 8(r1) -/* 8027F034 0027BF94 7C 7E 1B 78 */ mr r30, r3 -/* 8027F038 0027BF98 88 03 07 0E */ lbz r0, 0x70e(r3) -/* 8027F03C 0027BF9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8027F040 0027BFA0 41 82 00 14 */ beq lbl_8027F054 -/* 8027F044 0027BFA4 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 8027F048 0027BFA8 7F E3 FB 78 */ mr r3, r31 -/* 8027F04C 0027BFAC 38 9E 06 B4 */ addi r4, r30, 0x6b4 -/* 8027F050 0027BFB0 4B DC 63 AD */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff -lbl_8027F054: -/* 8027F054 0027BFB4 7F C3 F3 78 */ mr r3, r30 -/* 8027F058 0027BFB8 7F E4 FB 78 */ mr r4, r31 -/* 8027F05C 0027BFBC 4B DF 8F D1 */ bl Render__10CPatternedCFRC13CStateManager -/* 8027F060 0027BFC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F064 0027BFC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F068 0027BFC8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027F06C 0027BFCC 7C 08 03 A6 */ mtlr r0 -/* 8027F070 0027BFD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F074 0027BFD4 4E 80 00 20 */ blr - -.global PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes -PreRender__20CMetroidPrimeEssenceFR13CStateManagerRC14CFrustumPlanes: -/* 8027F078 0027BFD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027F07C 0027BFDC 7C 08 02 A6 */ mflr r0 -/* 8027F080 0027BFE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027F084 0027BFE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027F088 0027BFE8 7C 7F 1B 78 */ mr r31, r3 -/* 8027F08C 0027BFEC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027F090 0027BFF0 7C 9E 23 78 */ mr r30, r4 -/* 8027F094 0027BFF4 4B DF 92 49 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes -/* 8027F098 0027BFF8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8027F09C 0027BFFC 7F C4 F3 78 */ mr r4, r30 -/* 8027F0A0 0027C000 80 63 00 00 */ lwz r3, 0(r3) -/* 8027F0A4 0027C004 4B E1 24 B5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8027F0A8 0027C008 88 1F 07 0E */ lbz r0, 0x70e(r31) -/* 8027F0AC 0027C00C 3C A0 80 3D */ lis r5, lbl_803D5880@ha -/* 8027F0B0 0027C010 20 83 00 01 */ subfic r4, r3, 1 -/* 8027F0B4 0027C014 54 66 10 3A */ slwi r6, r3, 2 -/* 8027F0B8 0027C018 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8027F0BC 0027C01C 38 65 58 80 */ addi r3, r5, lbl_803D5880@l -/* 8027F0C0 0027C020 7C 80 00 34 */ cntlzw r0, r4 -/* 8027F0C4 0027C024 7C A3 30 2E */ lwzx r5, r3, r6 -/* 8027F0C8 0027C028 54 03 D9 7E */ srwi r3, r0, 5 -/* 8027F0CC 0027C02C 41 82 00 B0 */ beq lbl_8027F17C -/* 8027F0D0 0027C030 80 1F 06 DC */ lwz r0, 0x6dc(r31) -/* 8027F0D4 0027C034 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) -/* 8027F0D8 0027C038 C0 3F 06 C8 */ lfs f1, 0x6c8(r31) -/* 8027F0DC 0027C03C 7C 05 00 00 */ cmpw r5, r0 -/* 8027F0E0 0027C040 EC 80 08 28 */ fsubs f4, f0, f1 -/* 8027F0E4 0027C044 41 82 00 1C */ beq lbl_8027F100 -/* 8027F0E8 0027C048 80 1F 06 E0 */ lwz r0, 0x6e0(r31) -/* 8027F0EC 0027C04C 7C 05 00 00 */ cmpw r5, r0 -/* 8027F0F0 0027C050 40 82 00 0C */ bne lbl_8027F0FC -/* 8027F0F4 0027C054 FC 80 08 90 */ fmr f4, f1 -/* 8027F0F8 0027C058 48 00 00 08 */ b lbl_8027F100 -lbl_8027F0FC: -/* 8027F0FC 0027C05C C0 82 BD 10 */ lfs f4, lbl_805ADA30@sda21(r2) -lbl_8027F100: -/* 8027F100 0027C060 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027F104 0027C064 41 82 00 0C */ beq lbl_8027F110 -/* 8027F108 0027C068 3B C0 00 00 */ li r30, 0 -/* 8027F10C 0027C06C 48 00 00 08 */ b lbl_8027F114 -lbl_8027F110: -/* 8027F110 0027C070 83 DF 06 FC */ lwz r30, 0x6fc(r31) -lbl_8027F114: -/* 8027F114 0027C074 C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 8027F118 0027C078 38 A0 00 05 */ li r5, 5 -/* 8027F11C 0027C07C 38 80 00 00 */ li r4, 0 -/* 8027F120 0027C080 38 00 00 03 */ li r0, 3 -/* 8027F124 0027C084 FC 40 08 90 */ fmr f2, f1 -/* 8027F128 0027C088 98 A1 00 08 */ stb r5, 8(r1) -/* 8027F12C 0027C08C FC 60 08 90 */ fmr f3, f1 -/* 8027F130 0027C090 38 61 00 0C */ addi r3, r1, 0xc -/* 8027F134 0027C094 98 81 00 09 */ stb r4, 9(r1) -/* 8027F138 0027C098 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8027F13C 0027C09C 48 0E 42 B1 */ bl __ct__6CColorFffff -/* 8027F140 0027C0A0 88 A1 00 08 */ lbz r5, 8(r1) -/* 8027F144 0027C0A4 88 81 00 09 */ lbz r4, 9(r1) -/* 8027F148 0027C0A8 A0 61 00 0A */ lhz r3, 0xa(r1) -/* 8027F14C 0027C0AC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027F150 0027C0B0 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d -/* 8027F154 0027C0B4 98 A1 00 10 */ stb r5, 0x10(r1) -/* 8027F158 0027C0B8 60 63 00 01 */ ori r3, r3, 1 -/* 8027F15C 0027C0BC 98 BF 00 B4 */ stb r5, 0xb4(r31) -/* 8027F160 0027C0C0 9B DF 00 B5 */ stb r30, 0xb5(r31) -/* 8027F164 0027C0C4 B0 7F 00 B6 */ sth r3, 0xb6(r31) -/* 8027F168 0027C0C8 98 81 00 11 */ stb r4, 0x11(r1) -/* 8027F16C 0027C0CC B0 61 00 12 */ sth r3, 0x12(r1) -/* 8027F170 0027C0D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F174 0027C0D4 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 8027F178 0027C0D8 48 00 00 60 */ b lbl_8027F1D8 -lbl_8027F17C: -/* 8027F17C 0027C0DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027F180 0027C0E0 41 82 00 0C */ beq lbl_8027F18C -/* 8027F184 0027C0E4 38 60 00 00 */ li r3, 0 -/* 8027F188 0027C0E8 48 00 00 08 */ b lbl_8027F190 -lbl_8027F18C: -/* 8027F18C 0027C0EC 80 7F 06 FC */ lwz r3, 0x6fc(r31) -lbl_8027F190: -/* 8027F190 0027C0F0 80 1F 06 DC */ lwz r0, 0x6dc(r31) -/* 8027F194 0027C0F4 7C 64 07 74 */ extsb r4, r3 -/* 8027F198 0027C0F8 88 7F 00 B4 */ lbz r3, 0xb4(r31) -/* 8027F19C 0027C0FC 7C 05 00 00 */ cmpw r5, r0 -/* 8027F1A0 0027C100 A0 1F 00 B6 */ lhz r0, 0xb6(r31) -/* 8027F1A4 0027C104 80 BF 00 B8 */ lwz r5, 0xb8(r31) -/* 8027F1A8 0027C108 41 82 00 20 */ beq lbl_8027F1C8 -/* 8027F1AC 0027C10C 98 7F 00 B4 */ stb r3, 0xb4(r31) -/* 8027F1B0 0027C110 54 00 04 3A */ rlwinm r0, r0, 0, 0x10, 0x1d -/* 8027F1B4 0027C114 60 00 00 01 */ ori r0, r0, 1 -/* 8027F1B8 0027C118 98 9F 00 B5 */ stb r4, 0xb5(r31) -/* 8027F1BC 0027C11C B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 8027F1C0 0027C120 90 BF 00 B8 */ stw r5, 0xb8(r31) -/* 8027F1C4 0027C124 48 00 00 14 */ b lbl_8027F1D8 -lbl_8027F1C8: -/* 8027F1C8 0027C128 98 7F 00 B4 */ stb r3, 0xb4(r31) -/* 8027F1CC 0027C12C 98 9F 00 B5 */ stb r4, 0xb5(r31) -/* 8027F1D0 0027C130 B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 8027F1D4 0027C134 90 BF 00 B8 */ stw r5, 0xb8(r31) -lbl_8027F1D8: -/* 8027F1D8 0027C138 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F1DC 0027C13C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027F1E0 0027C140 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027F1E4 0027C144 7C 08 03 A6 */ mtlr r0 -/* 8027F1E8 0027C148 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F1EC 0027C14C 4E 80 00 20 */ blr - -.global sub_8027f1f0 -sub_8027f1f0: -/* 8027F1F0 0027C150 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8027F1F4 0027C154 7C 08 02 A6 */ mflr r0 -/* 8027F1F8 0027C158 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027F1FC 0027C15C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8027F200 0027C160 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8027F204 0027C164 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8027F208 0027C168 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8027F20C 0027C16C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8027F210 0027C170 7C 9F 23 78 */ mr r31, r4 -/* 8027F214 0027C174 3C 80 80 3D */ lis r4, lbl_803D5880@ha -/* 8027F218 0027C178 80 BF 08 B8 */ lwz r5, 0x8b8(r31) -/* 8027F21C 0027C17C 7C 7E 1B 78 */ mr r30, r3 -/* 8027F220 0027C180 38 84 58 80 */ addi r4, r4, lbl_803D5880@l -/* 8027F224 0027C184 80 03 06 DC */ lwz r0, 0x6dc(r3) -/* 8027F228 0027C188 80 A5 00 00 */ lwz r5, 0(r5) -/* 8027F22C 0027C18C FF E0 08 90 */ fmr f31, f1 -/* 8027F230 0027C190 80 A5 00 14 */ lwz r5, 0x14(r5) -/* 8027F234 0027C194 54 A5 10 3A */ slwi r5, r5, 2 -/* 8027F238 0027C198 7C 84 28 2E */ lwzx r4, r4, r5 -/* 8027F23C 0027C19C 7C 04 00 00 */ cmpw r4, r0 -/* 8027F240 0027C1A0 40 82 00 88 */ bne lbl_8027F2C8 -/* 8027F244 0027C1A4 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) -/* 8027F248 0027C1A8 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) -/* 8027F24C 0027C1AC C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) -/* 8027F250 0027C1B0 EC 42 08 28 */ fsubs f2, f2, f1 -/* 8027F254 0027C1B4 EC 60 00 B2 */ fmuls f3, f0, f2 -/* 8027F258 0027C1B8 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 -/* 8027F25C 0027C1BC 88 01 00 09 */ lbz r0, 9(r1) -/* 8027F260 0027C1C0 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 8027F264 0027C1C4 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) -/* 8027F268 0027C1C8 C0 1E 06 CC */ lfs f0, 0x6cc(r30) -/* 8027F26C 0027C1CC 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 8027F270 0027C1D0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8027F274 0027C1D4 EC 02 08 3A */ fmadds f0, f2, f0, f1 -/* 8027F278 0027C1D8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8027F27C 0027C1DC D0 04 00 04 */ stfs f0, 4(r4) -/* 8027F280 0027C1E0 D0 04 00 08 */ stfs f0, 8(r4) -/* 8027F284 0027C1E4 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F288 0027C1E8 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8027F28C 0027C1EC 28 00 00 01 */ cmplwi r0, 1 -/* 8027F290 0027C1F0 41 82 00 C4 */ beq lbl_8027F354 -/* 8027F294 0027C1F4 7F E6 FB 78 */ mr r6, r31 -/* 8027F298 0027C1F8 38 80 00 29 */ li r4, 0x29 -/* 8027F29C 0027C1FC 38 A0 00 28 */ li r5, 0x28 -/* 8027F2A0 0027C200 4B DD 50 15 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8027F2A4 0027C204 7F C3 F3 78 */ mr r3, r30 -/* 8027F2A8 0027C208 7F E4 FB 78 */ mr r4, r31 -/* 8027F2AC 0027C20C 38 A0 00 01 */ li r5, 1 -/* 8027F2B0 0027C210 4B FF E4 E1 */ bl sub_8027d790 -/* 8027F2B4 0027C214 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F2B8 0027C218 38 60 00 01 */ li r3, 1 -/* 8027F2BC 0027C21C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8027F2C0 0027C220 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027F2C4 0027C224 48 00 00 90 */ b lbl_8027F354 -lbl_8027F2C8: -/* 8027F2C8 0027C228 80 1E 06 E0 */ lwz r0, 0x6e0(r30) -/* 8027F2CC 0027C22C 7C 04 00 00 */ cmpw r4, r0 -/* 8027F2D0 0027C230 40 82 00 0C */ bne lbl_8027F2DC -/* 8027F2D4 0027C234 C0 5E 06 C8 */ lfs f2, 0x6c8(r30) -/* 8027F2D8 0027C238 48 00 00 08 */ b lbl_8027F2E0 -lbl_8027F2DC: -/* 8027F2DC 0027C23C C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) -lbl_8027F2E0: -/* 8027F2E0 0027C240 C0 02 BD 60 */ lfs f0, lbl_805ADA80@sda21(r2) -/* 8027F2E4 0027C244 EC 20 00 B2 */ fmuls f1, f0, f2 -/* 8027F2E8 0027C248 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 -/* 8027F2EC 0027C24C 88 01 00 08 */ lbz r0, 8(r1) -/* 8027F2F0 0027C250 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 8027F2F4 0027C254 C0 3E 06 D0 */ lfs f1, 0x6d0(r30) -/* 8027F2F8 0027C258 C0 1E 06 CC */ lfs f0, 0x6cc(r30) -/* 8027F2FC 0027C25C 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8027F300 0027C260 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8027F304 0027C264 EC 02 08 3A */ fmadds f0, f2, f0, f1 -/* 8027F308 0027C268 D0 03 00 00 */ stfs f0, 0(r3) -/* 8027F30C 0027C26C D0 03 00 04 */ stfs f0, 4(r3) -/* 8027F310 0027C270 D0 03 00 08 */ stfs f0, 8(r3) -/* 8027F314 0027C274 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F318 0027C278 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8027F31C 0027C27C 41 82 00 38 */ beq lbl_8027F354 -/* 8027F320 0027C280 7F C3 F3 78 */ mr r3, r30 -/* 8027F324 0027C284 7F E6 FB 78 */ mr r6, r31 -/* 8027F328 0027C288 38 80 00 29 */ li r4, 0x29 -/* 8027F32C 0027C28C 38 A0 00 28 */ li r5, 0x28 -/* 8027F330 0027C290 4B DD 4B A5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8027F334 0027C294 7F C3 F3 78 */ mr r3, r30 -/* 8027F338 0027C298 7F E4 FB 78 */ mr r4, r31 -/* 8027F33C 0027C29C 38 A0 00 00 */ li r5, 0 -/* 8027F340 0027C2A0 4B FF E4 51 */ bl sub_8027d790 -/* 8027F344 0027C2A4 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F348 0027C2A8 38 60 00 00 */ li r3, 0 -/* 8027F34C 0027C2AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8027F350 0027C2B0 98 1E 07 0E */ stb r0, 0x70e(r30) -lbl_8027F354: -/* 8027F354 0027C2B4 7F C3 F3 78 */ mr r3, r30 -/* 8027F358 0027C2B8 7F E4 FB 78 */ mr r4, r31 -/* 8027F35C 0027C2BC 4B FF DA A1 */ bl sub_8027cdfc -/* 8027F360 0027C2C0 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F364 0027C2C4 7C 7D 1B 78 */ mr r29, r3 -/* 8027F368 0027C2C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8027F36C 0027C2CC 41 82 00 5C */ beq lbl_8027F3C8 -/* 8027F370 0027C2D0 C0 42 BD 2C */ lfs f2, lbl_805ADA4C@sda21(r2) -/* 8027F374 0027C2D4 C0 3E 06 C8 */ lfs f1, 0x6c8(r30) -/* 8027F378 0027C2D8 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027F37C 0027C2DC EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 8027F380 0027C2E0 D0 3E 06 C8 */ stfs f1, 0x6c8(r30) -/* 8027F384 0027C2E4 C0 7D 00 2C */ lfs f3, 0x2c(r29) -/* 8027F388 0027C2E8 C0 5D 00 1C */ lfs f2, 0x1c(r29) -/* 8027F38C 0027C2EC C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8027F390 0027C2F0 D0 3E 06 B4 */ stfs f1, 0x6b4(r30) -/* 8027F394 0027C2F4 D0 5E 06 B8 */ stfs f2, 0x6b8(r30) -/* 8027F398 0027C2F8 D0 7E 06 BC */ stfs f3, 0x6bc(r30) -/* 8027F39C 0027C2FC C0 3E 06 C8 */ lfs f1, 0x6c8(r30) -/* 8027F3A0 0027C300 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027F3A4 0027C304 40 80 00 24 */ bge lbl_8027F3C8 -/* 8027F3A8 0027C308 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) -/* 8027F3AC 0027C30C 38 60 00 00 */ li r3, 0 -/* 8027F3B0 0027C310 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F3B4 0027C314 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8027F3B8 0027C318 98 1E 07 0E */ stb r0, 0x70e(r30) -/* 8027F3BC 0027C31C 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F3C0 0027C320 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8027F3C4 0027C324 98 1E 07 0E */ stb r0, 0x70e(r30) -lbl_8027F3C8: -/* 8027F3C8 0027C328 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027F3CC 0027C32C 28 03 00 00 */ cmplwi r3, 0 -/* 8027F3D0 0027C330 41 82 00 B8 */ beq lbl_8027F488 -/* 8027F3D4 0027C334 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F3D8 0027C338 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8027F3DC 0027C33C 7D 89 03 A6 */ mtctr r12 -/* 8027F3E0 0027C340 4E 80 04 21 */ bctrl -/* 8027F3E4 0027C344 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027F3E8 0027C348 40 82 00 78 */ bne lbl_8027F460 -/* 8027F3EC 0027C34C 83 FE 06 5C */ lwz r31, 0x65c(r30) -/* 8027F3F0 0027C350 7F A4 EB 78 */ mr r4, r29 -/* 8027F3F4 0027C354 38 61 00 18 */ addi r3, r1, 0x18 -/* 8027F3F8 0027C358 48 09 38 49 */ bl GetRotation__12CTransform4fCFv -/* 8027F3FC 0027C35C 7F E3 FB 78 */ mr r3, r31 -/* 8027F400 0027C360 38 81 00 18 */ addi r4, r1, 0x18 -/* 8027F404 0027C364 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027F408 0027C368 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027F40C 0027C36C 7D 89 03 A6 */ mtctr r12 -/* 8027F410 0027C370 4E 80 04 21 */ bctrl -/* 8027F414 0027C374 C0 5D 00 2C */ lfs f2, 0x2c(r29) -/* 8027F418 0027C378 38 81 00 0C */ addi r4, r1, 0xc -/* 8027F41C 0027C37C C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 8027F420 0027C380 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 8027F424 0027C384 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8027F428 0027C388 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8027F42C 0027C38C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8027F430 0027C390 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027F434 0027C394 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F438 0027C398 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027F43C 0027C39C 7D 89 03 A6 */ mtctr r12 -/* 8027F440 0027C3A0 4E 80 04 21 */ bctrl -/* 8027F444 0027C3A4 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027F448 0027C3A8 FC 20 F8 90 */ fmr f1, f31 -/* 8027F44C 0027C3AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F450 0027C3B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027F454 0027C3B4 7D 89 03 A6 */ mtctr r12 -/* 8027F458 0027C3B8 4E 80 04 21 */ bctrl -/* 8027F45C 0027C3BC 48 00 00 2C */ b lbl_8027F488 -lbl_8027F460: -/* 8027F460 0027C3C0 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 8027F464 0027C3C4 28 03 00 00 */ cmplwi r3, 0 -/* 8027F468 0027C3C8 41 82 00 18 */ beq lbl_8027F480 -/* 8027F46C 0027C3CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F470 0027C3D0 38 80 00 01 */ li r4, 1 -/* 8027F474 0027C3D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027F478 0027C3D8 7D 89 03 A6 */ mtctr r12 -/* 8027F47C 0027C3DC 4E 80 04 21 */ bctrl -lbl_8027F480: -/* 8027F480 0027C3E0 38 00 00 00 */ li r0, 0 -/* 8027F484 0027C3E4 90 1E 06 5C */ stw r0, 0x65c(r30) -lbl_8027F488: -/* 8027F488 0027C3E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8027F48C 0027C3EC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8027F490 0027C3F0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8027F494 0027C3F4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027F498 0027C3F8 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8027F49C 0027C3FC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8027F4A0 0027C400 7C 08 03 A6 */ mtlr r0 -/* 8027F4A4 0027C404 38 21 00 70 */ addi r1, r1, 0x70 -/* 8027F4A8 0027C408 4E 80 00 20 */ blr - -.global Think__20CMetroidPrimeEssenceFfR13CStateManager -Think__20CMetroidPrimeEssenceFfR13CStateManager: -/* 8027F4AC 0027C40C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027F4B0 0027C410 7C 08 02 A6 */ mflr r0 -/* 8027F4B4 0027C414 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027F4B8 0027C418 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8027F4BC 0027C41C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8027F4C0 0027C420 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027F4C4 0027C424 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027F4C8 0027C428 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8027F4CC 0027C42C FF E0 08 90 */ fmr f31, f1 -/* 8027F4D0 0027C430 7C 7E 1B 78 */ mr r30, r3 -/* 8027F4D4 0027C434 7C 9F 23 78 */ mr r31, r4 -/* 8027F4D8 0027C438 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8027F4DC 0027C43C 41 82 00 F8 */ beq lbl_8027F5D4 -/* 8027F4E0 0027C440 4B DF A6 39 */ bl Think__10CPatternedFfR13CStateManager -/* 8027F4E4 0027C444 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8027F4E8 0027C448 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8027F4EC 0027C44C 41 82 00 14 */ beq lbl_8027F500 -/* 8027F4F0 0027C450 FC 20 F8 90 */ fmr f1, f31 -/* 8027F4F4 0027C454 7F C3 F3 78 */ mr r3, r30 -/* 8027F4F8 0027C458 7F E4 FB 78 */ mr r4, r31 -/* 8027F4FC 0027C45C 4B FF FC F5 */ bl sub_8027f1f0 -lbl_8027F500: -/* 8027F500 0027C460 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8027F504 0027C464 FC 20 F8 90 */ fmr f1, f31 -/* 8027F508 0027C468 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8027F50C 0027C46C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027F510 0027C470 C0 C3 00 60 */ lfs f6, 0x60(r3) -/* 8027F514 0027C474 C0 A3 00 50 */ lfs f5, 0x50(r3) -/* 8027F518 0027C478 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8027F51C 0027C47C EC 46 00 28 */ fsubs f2, f6, f0 -/* 8027F520 0027C480 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8027F524 0027C484 C0 9E 00 40 */ lfs f4, 0x40(r30) -/* 8027F528 0027C488 EC 65 18 28 */ fsubs f3, f5, f3 -/* 8027F52C 0027C48C D0 01 00 08 */ stfs f0, 8(r1) -/* 8027F530 0027C490 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8027F534 0027C494 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8027F538 0027C498 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8027F53C 0027C49C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8027F540 0027C4A0 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8027F544 0027C4A4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8027F548 0027C4A8 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 8027F54C 0027C4AC 4B EB B1 59 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 8027F550 0027C4B0 FC 20 F8 90 */ fmr f1, f31 -/* 8027F554 0027C4B4 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 8027F558 0027C4B8 7F E4 FB 78 */ mr r4, r31 -/* 8027F55C 0027C4BC 38 A0 00 00 */ li r5, 0 -/* 8027F560 0027C4C0 4B F2 7E F1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 8027F564 0027C4C4 7F C3 F3 78 */ mr r3, r30 -/* 8027F568 0027C4C8 7F E4 FB 78 */ mr r4, r31 -/* 8027F56C 0027C4CC 48 00 00 89 */ bl sub_8027f5f4 -/* 8027F570 0027C4D0 7F C3 F3 78 */ mr r3, r30 -/* 8027F574 0027C4D4 7F E4 FB 78 */ mr r4, r31 -/* 8027F578 0027C4D8 4B FF F9 E1 */ bl sub_8027ef58 -/* 8027F57C 0027C4DC 88 1E 07 0E */ lbz r0, 0x70e(r30) -/* 8027F580 0027C4E0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8027F584 0027C4E4 41 82 00 50 */ beq lbl_8027F5D4 -/* 8027F588 0027C4E8 C0 42 BD 38 */ lfs f2, lbl_805ADA58@sda21(r2) -/* 8027F58C 0027C4EC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) -/* 8027F590 0027C4F0 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) -/* 8027F594 0027C4F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 8027F598 0027C4F8 D0 3E 06 D4 */ stfs f1, 0x6d4(r30) -/* 8027F59C 0027C4FC C0 3E 06 D4 */ lfs f1, 0x6d4(r30) -/* 8027F5A0 0027C500 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027F5A4 0027C504 4C 41 13 82 */ cror 2, 1, 2 -/* 8027F5A8 0027C508 40 82 00 0C */ bne lbl_8027F5B4 -/* 8027F5AC 0027C50C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027F5B0 0027C510 D0 1E 06 D4 */ stfs f0, 0x6d4(r30) -lbl_8027F5B4: -/* 8027F5B4 0027C514 C0 5E 06 D4 */ lfs f2, 0x6d4(r30) -/* 8027F5B8 0027C518 7F C3 F3 78 */ mr r3, r30 -/* 8027F5BC 0027C51C C0 22 BD 64 */ lfs f1, lbl_805ADA84@sda21(r2) -/* 8027F5C0 0027C520 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) -/* 8027F5C4 0027C524 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027F5C8 0027C528 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8027F5CC 0027C52C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027F5D0 0027C530 4B FF D8 8D */ bl sub_8027ce5c -lbl_8027F5D4: -/* 8027F5D4 0027C534 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8027F5D8 0027C538 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027F5DC 0027C53C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8027F5E0 0027C540 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027F5E4 0027C544 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027F5E8 0027C548 7C 08 03 A6 */ mtlr r0 -/* 8027F5EC 0027C54C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027F5F0 0027C550 4E 80 00 20 */ blr - -.global sub_8027f5f4 -sub_8027f5f4: -/* 8027F5F4 0027C554 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027F5F8 0027C558 7C 08 02 A6 */ mflr r0 -/* 8027F5FC 0027C55C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027F600 0027C560 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8027F604 0027C564 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8027F608 0027C568 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027F60C 0027C56C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027F610 0027C570 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8027F614 0027C574 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8027F618 0027C578 7C 7D 1B 78 */ mr r29, r3 -/* 8027F61C 0027C57C 7C 9E 23 78 */ mr r30, r4 -/* 8027F620 0027C580 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8027F624 0027C584 41 82 00 E0 */ beq lbl_8027F704 -/* 8027F628 0027C588 A0 1D 07 06 */ lhz r0, 0x706(r29) -/* 8027F62C 0027C58C 7F C3 F3 78 */ mr r3, r30 -/* 8027F630 0027C590 38 81 00 08 */ addi r4, r1, 8 -/* 8027F634 0027C594 B0 01 00 08 */ sth r0, 8(r1) -/* 8027F638 0027C598 4B DC CF 3D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027F63C 0027C59C 7C 64 1B 78 */ mr r4, r3 -/* 8027F640 0027C5A0 38 61 00 0C */ addi r3, r1, 0xc -/* 8027F644 0027C5A4 4B E2 FD 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027F648 0027C5A8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8027F64C 0027C5AC 28 1F 00 00 */ cmplwi r31, 0 -/* 8027F650 0027C5B0 41 82 00 50 */ beq lbl_8027F6A0 -/* 8027F654 0027C5B4 7F A3 EB 78 */ mr r3, r29 -/* 8027F658 0027C5B8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027F65C 0027C5BC 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8027F660 0027C5C0 7D 89 03 A6 */ mtctr r12 -/* 8027F664 0027C5C4 4E 80 04 21 */ bctrl -/* 8027F668 0027C5C8 7C 64 1B 78 */ mr r4, r3 -/* 8027F66C 0027C5CC 7F E3 FB 78 */ mr r3, r31 -/* 8027F670 0027C5D0 4B F2 95 29 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -/* 8027F674 0027C5D4 7F E3 FB 78 */ mr r3, r31 -/* 8027F678 0027C5D8 7F C4 F3 78 */ mr r4, r30 -/* 8027F67C 0027C5DC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027F680 0027C5E0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027F684 0027C5E4 7D 89 03 A6 */ mtctr r12 -/* 8027F688 0027C5E8 4E 80 04 21 */ bctrl -/* 8027F68C 0027C5EC C3 E3 00 00 */ lfs f31, 0(r3) -/* 8027F690 0027C5F0 7F A3 EB 78 */ mr r3, r29 -/* 8027F694 0027C5F4 7F C4 F3 78 */ mr r4, r30 -/* 8027F698 0027C5F8 4B E2 36 E1 */ bl HealthInfo__3CAiFR13CStateManager -/* 8027F69C 0027C5FC D3 E3 00 00 */ stfs f31, 0(r3) -lbl_8027F6A0: -/* 8027F6A0 0027C600 7F A3 EB 78 */ mr r3, r29 -/* 8027F6A4 0027C604 7F C4 F3 78 */ mr r4, r30 -/* 8027F6A8 0027C608 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027F6AC 0027C60C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027F6B0 0027C610 7D 89 03 A6 */ mtctr r12 -/* 8027F6B4 0027C614 4E 80 04 21 */ bctrl -/* 8027F6B8 0027C618 C0 23 00 00 */ lfs f1, 0(r3) -/* 8027F6BC 0027C61C C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027F6C0 0027C620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027F6C4 0027C624 4C 40 13 82 */ cror 2, 0, 2 -/* 8027F6C8 0027C628 40 82 00 3C */ bne lbl_8027F704 -/* 8027F6CC 0027C62C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027F6D0 0027C630 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027F6D4 0027C634 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8027F6D8 0027C638 7F A3 EB 78 */ mr r3, r29 -/* 8027F6DC 0027C63C 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 8027F6E0 0027C640 7F C4 F3 78 */ mr r4, r30 -/* 8027F6E4 0027C644 38 C0 00 14 */ li r6, 0x14 -/* 8027F6E8 0027C648 7D 89 03 A6 */ mtctr r12 -/* 8027F6EC 0027C64C 4E 80 04 21 */ bctrl -/* 8027F6F0 0027C650 7F A3 EB 78 */ mr r3, r29 -/* 8027F6F4 0027C654 7F C6 F3 78 */ mr r6, r30 -/* 8027F6F8 0027C658 38 80 00 29 */ li r4, 0x29 -/* 8027F6FC 0027C65C 38 A0 00 28 */ li r5, 0x28 -/* 8027F700 0027C660 4B DD 47 D5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_8027F704: -/* 8027F704 0027C664 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8027F708 0027C668 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027F70C 0027C66C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8027F710 0027C670 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027F714 0027C674 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027F718 0027C678 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8027F71C 0027C67C 7C 08 03 A6 */ mtlr r0 -/* 8027F720 0027C680 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027F724 0027C684 4E 80 00 20 */ blr - -.global sub_8027f728 -sub_8027f728: -/* 8027F728 0027C688 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027F72C 0027C68C 7C 08 02 A6 */ mflr r0 -/* 8027F730 0027C690 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027F734 0027C694 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027F738 0027C698 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027F73C 0027C69C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8027F740 0027C6A0 7C 9D 23 78 */ mr r29, r4 -/* 8027F744 0027C6A4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8027F748 0027C6A8 7C 7C 1B 78 */ mr r28, r3 -/* 8027F74C 0027C6AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F750 0027C6B0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027F754 0027C6B4 7D 89 03 A6 */ mtctr r12 -/* 8027F758 0027C6B8 4E 80 04 21 */ bctrl -/* 8027F75C 0027C6BC A0 1C 07 06 */ lhz r0, 0x706(r28) -/* 8027F760 0027C6C0 7C 7F 1B 78 */ mr r31, r3 -/* 8027F764 0027C6C4 7F A3 EB 78 */ mr r3, r29 -/* 8027F768 0027C6C8 38 81 00 08 */ addi r4, r1, 8 -/* 8027F76C 0027C6CC B0 01 00 08 */ sth r0, 8(r1) -/* 8027F770 0027C6D0 4B DC CE 05 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027F774 0027C6D4 7C 64 1B 78 */ mr r4, r3 -/* 8027F778 0027C6D8 38 61 00 0C */ addi r3, r1, 0xc -/* 8027F77C 0027C6DC 4B E2 FB D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027F780 0027C6E0 83 C3 00 04 */ lwz r30, 4(r3) -/* 8027F784 0027C6E4 28 1E 00 00 */ cmplwi r30, 0 -/* 8027F788 0027C6E8 41 82 00 4C */ beq lbl_8027F7D4 -/* 8027F78C 0027C6EC 7F C3 F3 78 */ mr r3, r30 -/* 8027F790 0027C6F0 7F A4 EB 78 */ mr r4, r29 -/* 8027F794 0027C6F4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027F798 0027C6F8 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027F79C 0027C6FC 7D 89 03 A6 */ mtctr r12 -/* 8027F7A0 0027C700 4E 80 04 21 */ bctrl -/* 8027F7A4 0027C704 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8027F7A8 0027C708 D0 03 00 00 */ stfs f0, 0(r3) -/* 8027F7AC 0027C70C C0 1F 00 04 */ lfs f0, 4(r31) -/* 8027F7B0 0027C710 D0 03 00 04 */ stfs f0, 4(r3) -/* 8027F7B4 0027C714 7F 83 E3 78 */ mr r3, r28 -/* 8027F7B8 0027C718 81 9C 00 00 */ lwz r12, 0(r28) -/* 8027F7BC 0027C71C 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8027F7C0 0027C720 7D 89 03 A6 */ mtctr r12 -/* 8027F7C4 0027C724 4E 80 04 21 */ bctrl -/* 8027F7C8 0027C728 7C 64 1B 78 */ mr r4, r3 -/* 8027F7CC 0027C72C 7F C3 F3 78 */ mr r3, r30 -/* 8027F7D0 0027C730 4B F2 93 C9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -lbl_8027F7D4: -/* 8027F7D4 0027C734 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027F7D8 0027C738 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8027F7DC 0027C73C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027F7E0 0027C740 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8027F7E4 0027C744 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8027F7E8 0027C748 7C 08 03 A6 */ mtlr r0 -/* 8027F7EC 0027C74C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027F7F0 0027C750 4E 80 00 20 */ blr - -.global sub_8027f7f4 -sub_8027f7f4: -/* 8027F7F4 0027C754 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8027F7F8 0027C758 7C 08 02 A6 */ mflr r0 -/* 8027F7FC 0027C75C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8027F800 0027C760 BF 21 00 C4 */ stmw r25, 0xc4(r1) -/* 8027F804 0027C764 7C B9 2B 78 */ mr r25, r5 -/* 8027F808 0027C768 7C DA 33 78 */ mr r26, r6 -/* 8027F80C 0027C76C 7C 9E 23 78 */ mr r30, r4 -/* 8027F810 0027C770 3B A1 00 60 */ addi r29, r1, 0x60 -/* 8027F814 0027C774 3B 81 00 A4 */ addi r28, r1, 0xa4 -/* 8027F818 0027C778 3B 60 00 00 */ li r27, 0 -/* 8027F81C 0027C77C 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8027F820 0027C780 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8027F824 0027C784 48 00 01 20 */ b lbl_8027F944 -lbl_8027F828: -/* 8027F828 0027C788 80 9E 00 00 */ lwz r4, 0(r30) -/* 8027F82C 0027C78C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8027F830 0027C790 4B D8 54 89 */ bl string_l__4rstlFPCc -/* 8027F834 0027C794 7F E4 FB 78 */ mr r4, r31 -/* 8027F838 0027C798 38 61 00 0C */ addi r3, r1, 0xc -/* 8027F83C 0027C79C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8027F840 0027C7A0 4B DA EF F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027F844 0027C7A4 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8027F848 0027C7A8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8027F84C 0027C7AC 98 01 00 10 */ stb r0, 0x10(r1) -/* 8027F850 0027C7B0 48 0B E2 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027F854 0027C7B4 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8027F858 0027C7B8 28 00 00 FF */ cmplwi r0, 0xff -/* 8027F85C 0027C7BC 41 82 00 E0 */ beq lbl_8027F93C -/* 8027F860 0027C7C0 80 9E 00 00 */ lwz r4, 0(r30) -/* 8027F864 0027C7C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027F868 0027C7C8 4B D8 54 51 */ bl string_l__4rstlFPCc -/* 8027F86C 0027C7CC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8027F870 0027C7D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8027F874 0027C7D4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8027F878 0027C7D8 38 81 00 08 */ addi r4, r1, 8 -/* 8027F87C 0027C7DC 98 01 00 08 */ stb r0, 8(r1) -/* 8027F880 0027C7E0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8027F884 0027C7E4 C0 42 BD 14 */ lfs f2, lbl_805ADA34@sda21(r2) -/* 8027F888 0027C7E8 4B F2 8F 85 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 8027F88C 0027C7EC 80 E1 00 34 */ lwz r7, 0x34(r1) -/* 8027F890 0027C7F0 7F 83 E3 78 */ mr r3, r28 -/* 8027F894 0027C7F4 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8027F898 0027C7F8 7F A4 EB 78 */ mr r4, r29 -/* 8027F89C 0027C7FC 88 A1 00 3C */ lbz r5, 0x3c(r1) -/* 8027F8A0 0027C800 88 01 00 3D */ lbz r0, 0x3d(r1) -/* 8027F8A4 0027C804 C0 E1 00 40 */ lfs f7, 0x40(r1) -/* 8027F8A8 0027C808 C0 C1 00 44 */ lfs f6, 0x44(r1) -/* 8027F8AC 0027C80C C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 8027F8B0 0027C810 C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 8027F8B4 0027C814 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 8027F8B8 0027C818 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 8027F8BC 0027C81C C0 21 00 58 */ lfs f1, 0x58(r1) -/* 8027F8C0 0027C820 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8027F8C4 0027C824 90 E1 00 78 */ stw r7, 0x78(r1) -/* 8027F8C8 0027C828 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 8027F8CC 0027C82C 98 A1 00 80 */ stb r5, 0x80(r1) -/* 8027F8D0 0027C830 98 01 00 81 */ stb r0, 0x81(r1) -/* 8027F8D4 0027C834 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 8027F8D8 0027C838 D0 C1 00 88 */ stfs f6, 0x88(r1) -/* 8027F8DC 0027C83C D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 8027F8E0 0027C840 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 8027F8E4 0027C844 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 8027F8E8 0027C848 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8027F8EC 0027C84C D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8027F8F0 0027C850 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8027F8F4 0027C854 48 0B E8 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8027F8F8 0027C858 A0 01 00 70 */ lhz r0, 0x70(r1) -/* 8027F8FC 0027C85C 28 1D 00 00 */ cmplwi r29, 0 -/* 8027F900 0027C860 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8027F904 0027C864 B0 01 00 B4 */ sth r0, 0xb4(r1) -/* 8027F908 0027C868 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8027F90C 0027C86C 41 82 00 0C */ beq lbl_8027F918 -/* 8027F910 0027C870 7F A3 EB 78 */ mr r3, r29 -/* 8027F914 0027C874 48 0B E1 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8027F918: -/* 8027F918 0027C878 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027F91C 0027C87C 48 0B E1 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027F920 0027C880 7F 43 D3 78 */ mr r3, r26 -/* 8027F924 0027C884 38 81 00 78 */ addi r4, r1, 0x78 -/* 8027F928 0027C888 4B ED 69 09 */ bl sub_80156230 -/* 8027F92C 0027C88C 28 1C 00 00 */ cmplwi r28, 0 -/* 8027F930 0027C890 41 82 00 0C */ beq lbl_8027F93C -/* 8027F934 0027C894 7F 83 E3 78 */ mr r3, r28 -/* 8027F938 0027C898 48 0B E1 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8027F93C: -/* 8027F93C 0027C89C 3B DE 00 08 */ addi r30, r30, 8 -/* 8027F940 0027C8A0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8027F944: -/* 8027F944 0027C8A4 7C 1B C8 00 */ cmpw r27, r25 -/* 8027F948 0027C8A8 41 80 FE E0 */ blt lbl_8027F828 -/* 8027F94C 0027C8AC BB 21 00 C4 */ lmw r25, 0xc4(r1) -/* 8027F950 0027C8B0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8027F954 0027C8B4 7C 08 03 A6 */ mtlr r0 -/* 8027F958 0027C8B8 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8027F95C 0027C8BC 4E 80 00 20 */ blr - -.global sub_8027f960 -sub_8027f960: -/* 8027F960 0027C8C0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8027F964 0027C8C4 7C 08 02 A6 */ mflr r0 -/* 8027F968 0027C8C8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027F96C 0027C8CC 38 00 00 00 */ li r0, 0 -/* 8027F970 0027C8D0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8027F974 0027C8D4 7C 9F 23 78 */ mr r31, r4 -/* 8027F978 0027C8D8 38 80 00 01 */ li r4, 1 -/* 8027F97C 0027C8DC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8027F980 0027C8E0 7C 7E 1B 78 */ mr r30, r3 -/* 8027F984 0027C8E4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027F988 0027C8E8 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8027F98C 0027C8EC 93 81 00 60 */ stw r28, 0x60(r1) -/* 8027F990 0027C8F0 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8027F994 0027C8F4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8027F998 0027C8F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027F99C 0027C8FC 4B ED 6E 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" -/* 8027F9A0 0027C900 7F C3 F3 78 */ mr r3, r30 -/* 8027F9A4 0027C904 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8027F9A8 0027C908 38 8D 98 E4 */ addi r4, r13, lbl_805A84A4@sda21 -/* 8027F9AC 0027C90C 38 A0 00 01 */ li r5, 1 -/* 8027F9B0 0027C910 4B FF FE 45 */ bl sub_8027f7f4 -/* 8027F9B4 0027C914 3C 80 80 3D */ lis r4, lbl_803D589C@ha -/* 8027F9B8 0027C918 38 60 00 18 */ li r3, 0x18 -/* 8027F9BC 0027C91C 38 84 58 9C */ addi r4, r4, lbl_803D589C@l -/* 8027F9C0 0027C920 38 A0 00 00 */ li r5, 0 -/* 8027F9C4 0027C924 38 84 00 1D */ addi r4, r4, 0x1d -/* 8027F9C8 0027C928 48 09 5E A5 */ bl __nw__FUlPCcPCc -/* 8027F9CC 0027C92C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8027F9D0 0027C930 41 82 00 38 */ beq lbl_8027FA08 -/* 8027F9D4 0027C934 81 3E 00 04 */ lwz r9, 4(r30) -/* 8027F9D8 0027C938 7F E4 FB 78 */ mr r4, r31 -/* 8027F9DC 0027C93C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8027F9E0 0027C940 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8027F9E4 0027C944 91 21 00 1C */ stw r9, 0x1c(r1) -/* 8027F9E8 0027C948 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8027F9EC 0027C94C 39 00 00 00 */ li r8, 0 -/* 8027F9F0 0027C950 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8027F9F4 0027C954 91 21 00 18 */ stw r9, 0x18(r1) -/* 8027F9F8 0027C958 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8027F9FC 0027C95C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8027FA00 0027C960 4B F2 7F 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 8027FA04 0027C964 7C 7D 1B 78 */ mr r29, r3 -lbl_8027FA08: -/* 8027FA08 0027C968 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 8027FA0C 0027C96C 38 80 00 01 */ li r4, 1 -/* 8027FA10 0027C970 4B F2 7E CD */ bl sub_801a78dc -/* 8027FA14 0027C974 93 BE 06 58 */ stw r29, 0x658(r30) -/* 8027FA18 0027C978 7F E4 FB 78 */ mr r4, r31 -/* 8027FA1C 0027C97C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8027FA20 0027C980 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 8027FA24 0027C984 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 8027FA28 0027C988 4B F2 78 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027FA2C 0027C98C 3B 80 00 00 */ li r28, 0 -/* 8027FA30 0027C990 48 00 00 7C */ b lbl_8027FAAC -lbl_8027FA34: -/* 8027FA34 0027C994 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 8027FA38 0027C998 7F 84 E3 78 */ mr r4, r28 -/* 8027FA3C 0027C99C 4B F2 77 FD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8027FA40 0027C9A0 7C 7D 1B 78 */ mr r29, r3 -/* 8027FA44 0027C9A4 7F E3 FB 78 */ mr r3, r31 -/* 8027FA48 0027C9A8 A0 1D 00 3C */ lhz r0, 0x3c(r29) -/* 8027FA4C 0027C9AC 38 81 00 08 */ addi r4, r1, 8 -/* 8027FA50 0027C9B0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8027FA54 0027C9B4 B0 01 00 08 */ sth r0, 8(r1) -/* 8027FA58 0027C9B8 4B DC CB 1D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027FA5C 0027C9BC 7C 64 1B 78 */ mr r4, r3 -/* 8027FA60 0027C9C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027FA64 0027C9C4 4B E2 F8 E9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027FA68 0027C9C8 80 03 00 04 */ lwz r0, 4(r3) -/* 8027FA6C 0027C9CC 28 00 00 00 */ cmplwi r0, 0 -/* 8027FA70 0027C9D0 41 82 00 38 */ beq lbl_8027FAA8 -/* 8027FA74 0027C9D4 80 82 BD 00 */ lwz r4, lbl_805ADA20@sda21(r2) -/* 8027FA78 0027C9D8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8027FA7C 0027C9DC 4B D8 52 3D */ bl string_l__4rstlFPCc -/* 8027FA80 0027C9E0 38 7D 00 2C */ addi r3, r29, 0x2c -/* 8027FA84 0027C9E4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8027FA88 0027C9E8 4B DD 2B 59 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 8027FA8C 0027C9EC 7C 7D 1B 78 */ mr r29, r3 -/* 8027FA90 0027C9F0 38 61 00 28 */ addi r3, r1, 0x28 -/* 8027FA94 0027C9F4 48 0B E0 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8027FA98 0027C9F8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8027FA9C 0027C9FC 41 82 00 0C */ beq lbl_8027FAA8 -/* 8027FAA0 0027CA00 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8027FAA4 0027CA04 B0 1E 07 06 */ sth r0, 0x706(r30) -lbl_8027FAA8: -/* 8027FAA8 0027CA08 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8027FAAC: -/* 8027FAAC 0027CA0C 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 8027FAB0 0027CA10 4B F2 77 99 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 8027FAB4 0027CA14 7C 1C 18 40 */ cmplw r28, r3 -/* 8027FAB8 0027CA18 41 80 FF 7C */ blt lbl_8027FA34 -/* 8027FABC 0027CA1C 7F C3 F3 78 */ mr r3, r30 -/* 8027FAC0 0027CA20 7F E4 FB 78 */ mr r4, r31 -/* 8027FAC4 0027CA24 4B FF FC 65 */ bl sub_8027f728 -/* 8027FAC8 0027CA28 80 AD 98 F0 */ lwz r5, lbl_805A84B0@sda21(r13) -/* 8027FACC 0027CA2C 38 60 00 00 */ li r3, 0 -/* 8027FAD0 0027CA30 38 80 00 01 */ li r4, 1 -/* 8027FAD4 0027CA34 48 10 A4 21 */ bl __shl2i -/* 8027FAD8 0027CA38 80 AD 98 F4 */ lwz r5, lbl_805A84B4@sda21(r13) -/* 8027FADC 0027CA3C 7C 9C 23 78 */ mr r28, r4 -/* 8027FAE0 0027CA40 7C 7D 1B 78 */ mr r29, r3 -/* 8027FAE4 0027CA44 38 60 00 00 */ li r3, 0 -/* 8027FAE8 0027CA48 38 80 00 01 */ li r4, 1 -/* 8027FAEC 0027CA4C 48 10 A4 09 */ bl __shl2i -/* 8027FAF0 0027CA50 80 AD 98 F8 */ lwz r5, lbl_805A84B8@sda21(r13) -/* 8027FAF4 0027CA54 7F 9C 23 78 */ or r28, r28, r4 -/* 8027FAF8 0027CA58 7F BD 1B 78 */ or r29, r29, r3 -/* 8027FAFC 0027CA5C 38 60 00 00 */ li r3, 0 -/* 8027FB00 0027CA60 38 80 00 01 */ li r4, 1 -/* 8027FB04 0027CA64 48 10 A3 F1 */ bl __shl2i -/* 8027FB08 0027CA68 80 AD 98 EC */ lwz r5, lbl_805A84AC@sda21(r13) -/* 8027FB0C 0027CA6C 7F 9C 23 78 */ or r28, r28, r4 -/* 8027FB10 0027CA70 7F BD 1B 78 */ or r29, r29, r3 -/* 8027FB14 0027CA74 38 60 00 00 */ li r3, 0 -/* 8027FB18 0027CA78 38 80 00 01 */ li r4, 1 -/* 8027FB1C 0027CA7C 48 10 A3 D9 */ bl __shl2i -/* 8027FB20 0027CA80 38 00 00 03 */ li r0, 3 -/* 8027FB24 0027CA84 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8027FB28 0027CA88 38 81 00 48 */ addi r4, r1, 0x48 -/* 8027FB2C 0027CA8C 90 61 00 48 */ stw r3, 0x48(r1) -/* 8027FB30 0027CA90 7F C3 F3 78 */ mr r3, r30 -/* 8027FB34 0027CA94 93 81 00 54 */ stw r28, 0x54(r1) -/* 8027FB38 0027CA98 93 A1 00 50 */ stw r29, 0x50(r1) -/* 8027FB3C 0027CA9C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8027FB40 0027CAA0 4B DD 3D 61 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8027FB44 0027CAA4 7F C3 F3 78 */ mr r3, r30 -/* 8027FB48 0027CAA8 7F E5 FB 78 */ mr r5, r31 -/* 8027FB4C 0027CAAC 38 80 00 12 */ li r4, 0x12 -/* 8027FB50 0027CAB0 4B DD 48 01 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8027FB54 0027CAB4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027FB58 0027CAB8 38 80 FF FF */ li r4, -1 -/* 8027FB5C 0027CABC 4B ED 67 D1 */ bl sub_8015632c -/* 8027FB60 0027CAC0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8027FB64 0027CAC4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8027FB68 0027CAC8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8027FB6C 0027CACC 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8027FB70 0027CAD0 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8027FB74 0027CAD4 7C 08 03 A6 */ mtlr r0 -/* 8027FB78 0027CAD8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8027FB7C 0027CADC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__20CMetroidPrimeEssenceF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8027FB80 0027CAE0 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8027FB84 0027CAE4 7C 08 02 A6 */ mflr r0 -/* 8027FB88 0027CAE8 90 01 01 04 */ stw r0, 0x104(r1) -/* 8027FB8C 0027CAEC 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8027FB90 0027CAF0 7C DF 33 78 */ mr r31, r6 -/* 8027FB94 0027CAF4 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8027FB98 0027CAF8 7C BE 2B 78 */ mr r30, r5 -/* 8027FB9C 0027CAFC 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 8027FBA0 0027CB00 7C 7D 1B 78 */ mr r29, r3 -/* 8027FBA4 0027CB04 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 8027FBA8 0027CB08 7C 9C 23 78 */ mr r28, r4 -/* 8027FBAC 0027CB0C A0 05 00 00 */ lhz r0, 0(r5) -/* 8027FBB0 0027CB10 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8027FBB4 0027CB14 B0 01 00 50 */ sth r0, 0x50(r1) -/* 8027FBB8 0027CB18 4B DF CF C1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8027FBBC 0027CB1C 28 1C 00 2A */ cmplwi r28, 0x2a -/* 8027FBC0 0027CB20 41 81 04 B8 */ bgt lbl_80280078 -/* 8027FBC4 0027CB24 3C 60 80 3F */ lis r3, lbl_803EB58C@ha -/* 8027FBC8 0027CB28 57 80 10 3A */ slwi r0, r28, 2 -/* 8027FBCC 0027CB2C 38 63 B5 8C */ addi r3, r3, lbl_803EB58C@l -/* 8027FBD0 0027CB30 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8027FBD4 0027CB34 7C 09 03 A6 */ mtctr r0 -/* 8027FBD8 0027CB38 4E 80 04 20 */ bctr -/* 8027FBDC 0027CB3C 7F A3 EB 78 */ mr r3, r29 -/* 8027FBE0 0027CB40 7F E4 FB 78 */ mr r4, r31 -/* 8027FBE4 0027CB44 4B FF FD 7D */ bl sub_8027f960 -/* 8027FBE8 0027CB48 80 7D 06 58 */ lwz r3, 0x658(r29) -/* 8027FBEC 0027CB4C 7F E4 FB 78 */ mr r4, r31 -/* 8027FBF0 0027CB50 38 A0 00 01 */ li r5, 1 -/* 8027FBF4 0027CB54 4B F2 77 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027FBF8 0027CB58 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 8027FBFC 0027CB5C 7F A3 EB 78 */ mr r3, r29 -/* 8027FC00 0027CB60 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) -/* 8027FC04 0027CB64 7F E4 FB 78 */ mr r4, r31 -/* 8027FC08 0027CB68 C0 45 00 00 */ lfs f2, 0(r5) -/* 8027FC0C 0027CB6C C0 22 BD 6C */ lfs f1, lbl_805ADA8C@sda21(r2) -/* 8027FC10 0027CB70 D0 5D 06 CC */ stfs f2, 0x6cc(r29) -/* 8027FC14 0027CB74 C0 42 BD 3C */ lfs f2, lbl_805ADA5C@sda21(r2) -/* 8027FC18 0027CB78 C0 7D 06 CC */ lfs f3, 0x6cc(r29) -/* 8027FC1C 0027CB7C EC 00 18 FA */ fmadds f0, f0, f3, f3 -/* 8027FC20 0027CB80 D0 1D 06 D0 */ stfs f0, 0x6d0(r29) -/* 8027FC24 0027CB84 C0 1D 06 CC */ lfs f0, 0x6cc(r29) -/* 8027FC28 0027CB88 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8027FC2C 0027CB8C EC 02 00 24 */ fdivs f0, f2, f0 -/* 8027FC30 0027CB90 D0 1D 05 5C */ stfs f0, 0x55c(r29) -/* 8027FC34 0027CB94 D0 1D 05 60 */ stfs f0, 0x560(r29) -/* 8027FC38 0027CB98 D0 1D 05 64 */ stfs f0, 0x564(r29) -/* 8027FC3C 0027CB9C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027FC40 0027CBA0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027FC44 0027CBA4 7D 89 03 A6 */ mtctr r12 -/* 8027FC48 0027CBA8 4E 80 04 21 */ bctrl -/* 8027FC4C 0027CBAC C0 43 00 00 */ lfs f2, 0(r3) -/* 8027FC50 0027CBB0 C0 22 BD 70 */ lfs f1, lbl_805ADA90@sda21(r2) -/* 8027FC54 0027CBB4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027FC58 0027CBB8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027FC5C 0027CBBC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027FC60 0027CBC0 D0 3D 06 C0 */ stfs f1, 0x6c0(r29) -/* 8027FC64 0027CBC4 40 81 00 10 */ ble lbl_8027FC74 -/* 8027FC68 0027CBC8 C0 02 BD 3C */ lfs f0, lbl_805ADA5C@sda21(r2) -/* 8027FC6C 0027CBCC EC 00 10 24 */ fdivs f0, f0, f2 -/* 8027FC70 0027CBD0 D0 1D 06 C4 */ stfs f0, 0x6c4(r29) -lbl_8027FC74: -/* 8027FC74 0027CBD4 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8027FC78 0027CBD8 7F E4 FB 78 */ mr r4, r31 -/* 8027FC7C 0027CBDC 4B EB B0 75 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8027FC80 0027CBE0 48 00 03 F8 */ b lbl_80280078 -/* 8027FC84 0027CBE4 80 FD 00 04 */ lwz r7, 4(r29) -/* 8027FC88 0027CBE8 7F A4 EB 78 */ mr r4, r29 -/* 8027FC8C 0027CBEC 80 DF 08 50 */ lwz r6, 0x850(r31) -/* 8027FC90 0027CBF0 7F E5 FB 78 */ mr r5, r31 -/* 8027FC94 0027CBF4 54 E3 18 38 */ slwi r3, r7, 3 -/* 8027FC98 0027CBF8 90 E1 00 5C */ stw r7, 0x5c(r1) -/* 8027FC9C 0027CBFC 80 C6 00 20 */ lwz r6, 0x20(r6) -/* 8027FCA0 0027CC00 38 03 00 04 */ addi r0, r3, 4 -/* 8027FCA4 0027CC04 90 E1 00 58 */ stw r7, 0x58(r1) -/* 8027FCA8 0027CC08 38 61 00 4C */ addi r3, r1, 0x4c -/* 8027FCAC 0027CC0C 7D 06 00 2E */ lwzx r8, r6, r0 -/* 8027FCB0 0027CC10 38 C0 00 12 */ li r6, 0x12 -/* 8027FCB4 0027CC14 38 E0 00 01 */ li r7, 1 -/* 8027FCB8 0027CC18 81 08 01 2C */ lwz r8, 0x12c(r8) -/* 8027FCBC 0027CC1C 80 08 10 BC */ lwz r0, 0x10bc(r8) -/* 8027FCC0 0027CC20 90 1D 05 74 */ stw r0, 0x574(r29) -/* 8027FCC4 0027CC24 4B F7 52 D5 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 8027FCC8 0027CC28 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 8027FCCC 0027CC2C B0 1D 07 04 */ sth r0, 0x704(r29) -/* 8027FCD0 0027CC30 48 00 03 A8 */ b lbl_80280078 -/* 8027FCD4 0027CC34 80 7D 06 58 */ lwz r3, 0x658(r29) -/* 8027FCD8 0027CC38 7F E4 FB 78 */ mr r4, r31 -/* 8027FCDC 0027CC3C 38 A0 00 01 */ li r5, 1 -/* 8027FCE0 0027CC40 4B F2 76 19 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027FCE4 0027CC44 48 00 03 94 */ b lbl_80280078 -/* 8027FCE8 0027CC48 80 7D 06 58 */ lwz r3, 0x658(r29) -/* 8027FCEC 0027CC4C 7F E4 FB 78 */ mr r4, r31 -/* 8027FCF0 0027CC50 38 A0 00 00 */ li r5, 0 -/* 8027FCF4 0027CC54 4B F2 76 05 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8027FCF8 0027CC58 48 00 03 80 */ b lbl_80280078 -/* 8027FCFC 0027CC5C 80 7D 06 58 */ lwz r3, 0x658(r29) -/* 8027FD00 0027CC60 7F E4 FB 78 */ mr r4, r31 -/* 8027FD04 0027CC64 4B F2 76 C1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 8027FD08 0027CC68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8027FD0C 0027CC6C 7F E3 FB 78 */ mr r3, r31 -/* 8027FD10 0027CC70 C0 22 BD 10 */ lfs f1, lbl_805ADA30@sda21(r2) -/* 8027FD14 0027CC74 38 81 00 48 */ addi r4, r1, 0x48 -/* 8027FD18 0027CC78 B0 01 00 48 */ sth r0, 0x48(r1) -/* 8027FD1C 0027CC7C 38 A0 00 00 */ li r5, 0 -/* 8027FD20 0027CC80 4B DC 42 25 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 8027FD24 0027CC84 48 00 03 54 */ b lbl_80280078 -/* 8027FD28 0027CC88 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8027FD2C 0027CC8C 7F E3 FB 78 */ mr r3, r31 -/* 8027FD30 0027CC90 38 81 00 44 */ addi r4, r1, 0x44 -/* 8027FD34 0027CC94 B0 01 00 44 */ sth r0, 0x44(r1) -/* 8027FD38 0027CC98 4B DC C8 3D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027FD3C 0027CC9C 7C 64 1B 78 */ mr r4, r3 -/* 8027FD40 0027CCA0 38 61 00 78 */ addi r3, r1, 0x78 -/* 8027FD44 0027CCA4 4B E2 F6 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027FD48 0027CCA8 80 83 00 04 */ lwz r4, 4(r3) -/* 8027FD4C 0027CCAC 28 04 00 00 */ cmplwi r4, 0 -/* 8027FD50 0027CCB0 41 82 03 28 */ beq lbl_80280078 -/* 8027FD54 0027CCB4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8027FD58 0027CCB8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8027FD5C 0027CCBC A3 85 00 08 */ lhz r28, 8(r5) -/* 8027FD60 0027CCC0 4B F2 8E 2D */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 8027FD64 0027CCC4 A0 01 00 40 */ lhz r0, 0x40(r1) -/* 8027FD68 0027CCC8 7C 00 E0 40 */ cmplw r0, r28 -/* 8027FD6C 0027CCCC 40 82 03 0C */ bne lbl_80280078 -/* 8027FD70 0027CCD0 C0 3D 04 20 */ lfs f1, 0x420(r29) -/* 8027FD74 0027CCD4 C0 02 BD 10 */ lfs f0, lbl_805ADA30@sda21(r2) -/* 8027FD78 0027CCD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027FD7C 0027CCDC 4C 40 13 82 */ cror 2, 0, 2 -/* 8027FD80 0027CCE0 40 82 02 F8 */ bne lbl_80280078 -/* 8027FD84 0027CCE4 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) -/* 8027FD88 0027CCE8 38 60 00 00 */ li r3, 0 -/* 8027FD8C 0027CCEC 38 80 00 01 */ li r4, 1 -/* 8027FD90 0027CCF0 48 10 A1 65 */ bl __shl2i -/* 8027FD94 0027CCF4 38 A0 00 00 */ li r5, 0 -/* 8027FD98 0027CCF8 38 00 00 03 */ li r0, 3 -/* 8027FD9C 0027CCFC 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8027FDA0 0027CD00 7F A4 EB 78 */ mr r4, r29 -/* 8027FDA4 0027CD04 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8027FDA8 0027CD08 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8027FDAC 0027CD0C 90 A1 00 BC */ stw r5, 0xbc(r1) -/* 8027FDB0 0027CD10 90 A1 00 B8 */ stw r5, 0xb8(r1) -/* 8027FDB4 0027CD14 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8027FDB8 0027CD18 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8027FDBC 0027CD1C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 8027FDC0 0027CD20 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8027FDC4 0027CD24 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8027FDC8 0027CD28 A0 A5 00 08 */ lhz r5, 8(r5) -/* 8027FDCC 0027CD2C B0 A1 00 34 */ sth r5, 0x34(r1) -/* 8027FDD0 0027CD30 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8027FDD4 0027CD34 B0 A1 00 30 */ sth r5, 0x30(r1) -/* 8027FDD8 0027CD38 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8027FDDC 0027CD3C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027FDE0 0027CD40 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8027FDE4 0027CD44 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 8027FDE8 0027CD48 7D 89 03 A6 */ mtctr r12 -/* 8027FDEC 0027CD4C 4E 80 04 21 */ bctrl -/* 8027FDF0 0027CD50 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8027FDF4 0027CD54 7F E3 FB 78 */ mr r3, r31 -/* 8027FDF8 0027CD58 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8027FDFC 0027CD5C 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8027FE00 0027CD60 38 81 00 3C */ addi r4, r1, 0x3c -/* 8027FE04 0027CD64 38 C1 00 2C */ addi r6, r1, 0x2c -/* 8027FE08 0027CD68 38 E1 00 C8 */ addi r7, r1, 0xc8 -/* 8027FE0C 0027CD6C 39 01 00 B0 */ addi r8, r1, 0xb0 -/* 8027FE10 0027CD70 4B DC A2 91 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 8027FE14 0027CD74 C0 1D 04 24 */ lfs f0, 0x424(r29) -/* 8027FE18 0027CD78 D0 1D 04 20 */ stfs f0, 0x420(r29) -/* 8027FE1C 0027CD7C 48 00 02 5C */ b lbl_80280078 -/* 8027FE20 0027CD80 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8027FE24 0027CD84 7F E3 FB 78 */ mr r3, r31 -/* 8027FE28 0027CD88 38 81 00 24 */ addi r4, r1, 0x24 -/* 8027FE2C 0027CD8C B0 01 00 24 */ sth r0, 0x24(r1) -/* 8027FE30 0027CD90 4B DC C7 45 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8027FE34 0027CD94 7C 64 1B 78 */ mr r4, r3 -/* 8027FE38 0027CD98 38 61 00 70 */ addi r3, r1, 0x70 -/* 8027FE3C 0027CD9C 4B E2 F5 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8027FE40 0027CDA0 83 83 00 04 */ lwz r28, 4(r3) -/* 8027FE44 0027CDA4 28 1C 00 00 */ cmplwi r28, 0 -/* 8027FE48 0027CDA8 41 82 01 70 */ beq lbl_8027FFB8 -/* 8027FE4C 0027CDAC 7F 84 E3 78 */ mr r4, r28 -/* 8027FE50 0027CDB0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027FE54 0027CDB4 4B F2 8D 39 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 8027FE58 0027CDB8 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 8027FE5C 0027CDBC 7F E3 FB 78 */ mr r3, r31 -/* 8027FE60 0027CDC0 38 81 00 1C */ addi r4, r1, 0x1c -/* 8027FE64 0027CDC4 B0 01 00 54 */ sth r0, 0x54(r1) -/* 8027FE68 0027CDC8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8027FE6C 0027CDCC 4B DC C7 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027FE70 0027CDD0 7C 64 1B 78 */ mr r4, r3 -/* 8027FE74 0027CDD4 38 61 00 68 */ addi r3, r1, 0x68 -/* 8027FE78 0027CDD8 4B E2 D8 95 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8027FE7C 0027CDDC 83 C3 00 04 */ lwz r30, 4(r3) -/* 8027FE80 0027CDE0 28 1E 00 00 */ cmplwi r30, 0 -/* 8027FE84 0027CDE4 41 82 01 F4 */ beq lbl_80280078 -/* 8027FE88 0027CDE8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8027FE8C 0027CDEC A0 9E 00 EC */ lhz r4, 0xec(r30) -/* 8027FE90 0027CDF0 A0 03 00 08 */ lhz r0, 8(r3) -/* 8027FE94 0027CDF4 7C 04 00 40 */ cmplw r4, r0 -/* 8027FE98 0027CDF8 40 82 01 E0 */ bne lbl_80280078 -/* 8027FE9C 0027CDFC 7F 83 E3 78 */ mr r3, r28 -/* 8027FEA0 0027CE00 81 9C 00 00 */ lwz r12, 0(r28) -/* 8027FEA4 0027CE04 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8027FEA8 0027CE08 7D 89 03 A6 */ mtctr r12 -/* 8027FEAC 0027CE0C 4E 80 04 21 */ bctrl -/* 8027FEB0 0027CE10 3B DE 01 2C */ addi r30, r30, 0x12c -/* 8027FEB4 0027CE14 38 A0 00 00 */ li r5, 0 -/* 8027FEB8 0027CE18 7F C4 F3 78 */ mr r4, r30 -/* 8027FEBC 0027CE1C 4B E8 26 C9 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei -/* 8027FEC0 0027CE20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027FEC4 0027CE24 41 82 01 B4 */ beq lbl_80280078 -/* 8027FEC8 0027CE28 80 1E 00 00 */ lwz r0, 0(r30) -/* 8027FECC 0027CE2C 2C 00 00 08 */ cmpwi r0, 8 -/* 8027FED0 0027CE30 40 82 01 A8 */ bne lbl_80280078 -/* 8027FED4 0027CE34 7F A3 EB 78 */ mr r3, r29 -/* 8027FED8 0027CE38 7F E4 FB 78 */ mr r4, r31 -/* 8027FEDC 0027CE3C 4B FF D0 05 */ bl sub_8027cee0 -/* 8027FEE0 0027CE40 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027FEE4 0027CE44 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8027FEE8 0027CE48 7F A3 EB 78 */ mr r3, r29 -/* 8027FEEC 0027CE4C C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 8027FEF0 0027CE50 81 8C 00 90 */ lwz r12, 0x90(r12) -/* 8027FEF4 0027CE54 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 8027FEF8 0027CE58 7D 89 03 A6 */ mtctr r12 -/* 8027FEFC 0027CE5C 4E 80 04 21 */ bctrl -/* 8027FF00 0027CE60 88 7D 07 0E */ lbz r3, 0x70e(r29) -/* 8027FF04 0027CE64 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8027FF08 0027CE68 40 82 01 70 */ bne lbl_80280078 -/* 8027FF0C 0027CE6C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8027FF10 0027CE70 40 82 01 68 */ bne lbl_80280078 -/* 8027FF14 0027CE74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8027FF18 0027CE78 C0 5D 00 58 */ lfs f2, 0x58(r29) -/* 8027FF1C 0027CE7C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 8027FF20 0027CE80 C0 3D 00 48 */ lfs f1, 0x48(r29) -/* 8027FF24 0027CE84 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 8027FF28 0027CE88 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 8027FF2C 0027CE8C 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8027FF30 0027CE90 38 C0 00 04 */ li r6, 4 -/* 8027FF34 0027CE94 38 00 00 01 */ li r0, 1 -/* 8027FF38 0027CE98 90 A1 00 98 */ stw r5, 0x98(r1) -/* 8027FF3C 0027CE9C 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 8027FF40 0027CEA0 3B C3 00 04 */ addi r30, r3, 4 -/* 8027FF44 0027CEA4 90 C1 00 9C */ stw r6, 0x9c(r1) -/* 8027FF48 0027CEA8 7F C3 F3 78 */ mr r3, r30 -/* 8027FF4C 0027CEAC 38 80 00 04 */ li r4, 4 -/* 8027FF50 0027CEB0 90 A1 00 98 */ stw r5, 0x98(r1) -/* 8027FF54 0027CEB4 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8027FF58 0027CEB8 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8027FF5C 0027CEBC D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8027FF60 0027CEC0 90 01 00 AC */ stw r0, 0xac(r1) -/* 8027FF64 0027CEC4 4B EB 14 D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8027FF68 0027CEC8 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 8027FF6C 0027CECC 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8027FF70 0027CED0 38 A3 AA 44 */ addi r5, r3, lbl_803DAA44@l -/* 8027FF74 0027CED4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8027FF78 0027CED8 90 1E 00 F8 */ stw r0, 0xf8(r30) -/* 8027FF7C 0027CEDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8027FF80 0027CEE0 80 E1 00 A0 */ lwz r7, 0xa0(r1) -/* 8027FF84 0027CEE4 7F A3 EB 78 */ mr r3, r29 -/* 8027FF88 0027CEE8 80 C1 00 A4 */ lwz r6, 0xa4(r1) -/* 8027FF8C 0027CEEC 7F E4 FB 78 */ mr r4, r31 -/* 8027FF90 0027CEF0 90 FE 00 FC */ stw r7, 0xfc(r30) -/* 8027FF94 0027CEF4 80 E1 00 A8 */ lwz r7, 0xa8(r1) -/* 8027FF98 0027CEF8 90 DE 01 00 */ stw r6, 0x100(r30) -/* 8027FF9C 0027CEFC 80 C1 00 AC */ lwz r6, 0xac(r1) -/* 8027FFA0 0027CF00 90 FE 01 04 */ stw r7, 0x104(r30) -/* 8027FFA4 0027CF04 90 A1 00 98 */ stw r5, 0x98(r1) -/* 8027FFA8 0027CF08 90 DE 01 08 */ stw r6, 0x108(r30) -/* 8027FFAC 0027CF0C 90 01 00 98 */ stw r0, 0x98(r1) -/* 8027FFB0 0027CF10 4B FF CD 31 */ bl sub_8027cce0 -/* 8027FFB4 0027CF14 48 00 00 C4 */ b lbl_80280078 -lbl_8027FFB8: -/* 8027FFB8 0027CF18 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8027FFBC 0027CF1C 7F E3 FB 78 */ mr r3, r31 -/* 8027FFC0 0027CF20 38 81 00 18 */ addi r4, r1, 0x18 -/* 8027FFC4 0027CF24 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8027FFC8 0027CF28 4B DC C5 DD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8027FFCC 0027CF2C 7C 64 1B 78 */ mr r4, r3 -/* 8027FFD0 0027CF30 38 61 00 60 */ addi r3, r1, 0x60 -/* 8027FFD4 0027CF34 4B E2 D7 39 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8027FFD8 0027CF38 83 83 00 04 */ lwz r28, 4(r3) -/* 8027FFDC 0027CF3C 28 1C 00 00 */ cmplwi r28, 0 -/* 8027FFE0 0027CF40 41 82 00 98 */ beq lbl_80280078 -/* 8027FFE4 0027CF44 80 AD 98 E0 */ lwz r5, lbl_805A84A0@sda21(r13) -/* 8027FFE8 0027CF48 38 60 00 00 */ li r3, 0 -/* 8027FFEC 0027CF4C 38 80 00 01 */ li r4, 1 -/* 8027FFF0 0027CF50 48 10 9F 05 */ bl __shl2i -/* 8027FFF4 0027CF54 39 00 00 00 */ li r8, 0 -/* 8027FFF8 0027CF58 39 40 00 03 */ li r10, 3 -/* 8027FFFC 0027CF5C 90 81 00 84 */ stw r4, 0x84(r1) -/* 80280000 0027CF60 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80280004 0027CF64 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80280008 0027CF68 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8028000C 0027CF6C 90 61 00 80 */ stw r3, 0x80(r1) -/* 80280010 0027CF70 7F E3 FB 78 */ mr r3, r31 -/* 80280014 0027CF74 38 81 00 14 */ addi r4, r1, 0x14 -/* 80280018 0027CF78 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8028001C 0027CF7C 91 01 00 8C */ stw r8, 0x8c(r1) -/* 80280020 0027CF80 38 C1 00 0C */ addi r6, r1, 0xc -/* 80280024 0027CF84 38 FC 01 2C */ addi r7, r28, 0x12c -/* 80280028 0027CF88 91 01 00 88 */ stw r8, 0x88(r1) -/* 8028002C 0027CF8C 39 01 00 80 */ addi r8, r1, 0x80 -/* 80280030 0027CF90 91 41 00 90 */ stw r10, 0x90(r1) -/* 80280034 0027CF94 A1 7C 00 EC */ lhz r11, 0xec(r28) -/* 80280038 0027CF98 B1 61 00 0C */ sth r11, 0xc(r1) -/* 8028003C 0027CF9C A1 5D 07 06 */ lhz r10, 0x706(r29) -/* 80280040 0027CFA0 B1 61 00 08 */ sth r11, 8(r1) -/* 80280044 0027CFA4 B1 41 00 10 */ sth r10, 0x10(r1) -/* 80280048 0027CFA8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028004C 0027CFAC 4B DC A0 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80280050 0027CFB0 48 00 00 28 */ b lbl_80280078 -/* 80280054 0027CFB4 88 1D 07 0E */ lbz r0, 0x70e(r29) -/* 80280058 0027CFB8 38 60 00 01 */ li r3, 1 -/* 8028005C 0027CFBC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80280060 0027CFC0 98 1D 07 0E */ stb r0, 0x70e(r29) -/* 80280064 0027CFC4 48 00 00 14 */ b lbl_80280078 -/* 80280068 0027CFC8 88 1D 07 0E */ lbz r0, 0x70e(r29) -/* 8028006C 0027CFCC 38 60 00 00 */ li r3, 0 -/* 80280070 0027CFD0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80280074 0027CFD4 98 1D 07 0E */ stb r0, 0x70e(r29) -lbl_80280078: -/* 80280078 0027CFD8 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8028007C 0027CFDC 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80280080 0027CFE0 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80280084 0027CFE4 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 80280088 0027CFE8 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 8028008C 0027CFEC 7C 08 03 A6 */ mtlr r0 -/* 80280090 0027CFF0 38 21 01 00 */ addi r1, r1, 0x100 -/* 80280094 0027CFF4 4E 80 00 20 */ blr - -.global __dt__20CMetroidPrimeEssenceFv -__dt__20CMetroidPrimeEssenceFv: -/* 80280098 0027CFF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028009C 0027CFFC 7C 08 02 A6 */ mflr r0 -/* 802800A0 0027D000 90 01 00 14 */ stw r0, 0x14(r1) -/* 802800A4 0027D004 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802800A8 0027D008 7C 9F 23 78 */ mr r31, r4 -/* 802800AC 0027D00C 93 C1 00 08 */ stw r30, 8(r1) -/* 802800B0 0027D010 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802800B4 0027D014 41 82 00 E8 */ beq lbl_8028019C -/* 802800B8 0027D018 3C 60 80 3F */ lis r3, lbl_803EB244@ha -/* 802800BC 0027D01C 34 1E 06 5C */ addic. r0, r30, 0x65c -/* 802800C0 0027D020 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l -/* 802800C4 0027D024 90 1E 00 00 */ stw r0, 0(r30) -/* 802800C8 0027D028 41 82 00 24 */ beq lbl_802800EC -/* 802800CC 0027D02C 80 7E 06 5C */ lwz r3, 0x65c(r30) -/* 802800D0 0027D030 28 03 00 00 */ cmplwi r3, 0 -/* 802800D4 0027D034 41 82 00 18 */ beq lbl_802800EC -/* 802800D8 0027D038 81 83 00 00 */ lwz r12, 0(r3) -/* 802800DC 0027D03C 38 80 00 01 */ li r4, 1 -/* 802800E0 0027D040 81 8C 00 08 */ lwz r12, 8(r12) -/* 802800E4 0027D044 7D 89 03 A6 */ mtctr r12 -/* 802800E8 0027D048 4E 80 04 21 */ bctrl -lbl_802800EC: -/* 802800EC 0027D04C 34 1E 06 58 */ addic. r0, r30, 0x658 -/* 802800F0 0027D050 41 82 00 10 */ beq lbl_80280100 -/* 802800F4 0027D054 80 7E 06 58 */ lwz r3, 0x658(r30) -/* 802800F8 0027D058 38 80 00 01 */ li r4, 1 -/* 802800FC 0027D05C 4B F2 77 E1 */ bl sub_801a78dc -lbl_80280100: -/* 80280100 0027D060 34 1E 05 74 */ addic. r0, r30, 0x574 -/* 80280104 0027D064 41 82 00 60 */ beq lbl_80280164 -/* 80280108 0027D068 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 8028010C 0027D06C 41 82 00 58 */ beq lbl_80280164 -/* 80280110 0027D070 80 BE 05 78 */ lwz r5, 0x578(r30) -/* 80280114 0027D074 38 60 00 00 */ li r3, 0 -/* 80280118 0027D078 2C 05 00 00 */ cmpwi r5, 0 -/* 8028011C 0027D07C 40 81 00 40 */ ble lbl_8028015C -/* 80280120 0027D080 2C 05 00 08 */ cmpwi r5, 8 -/* 80280124 0027D084 38 85 FF F8 */ addi r4, r5, -8 -/* 80280128 0027D088 40 81 00 20 */ ble lbl_80280148 -/* 8028012C 0027D08C 38 04 00 07 */ addi r0, r4, 7 -/* 80280130 0027D090 54 00 E8 FE */ srwi r0, r0, 3 -/* 80280134 0027D094 7C 09 03 A6 */ mtctr r0 -/* 80280138 0027D098 2C 04 00 00 */ cmpwi r4, 0 -/* 8028013C 0027D09C 40 81 00 0C */ ble lbl_80280148 -lbl_80280140: -/* 80280140 0027D0A0 38 63 00 08 */ addi r3, r3, 8 -/* 80280144 0027D0A4 42 00 FF FC */ bdnz lbl_80280140 -lbl_80280148: -/* 80280148 0027D0A8 7C 03 28 50 */ subf r0, r3, r5 -/* 8028014C 0027D0AC 7C 09 03 A6 */ mtctr r0 -/* 80280150 0027D0B0 7C 03 28 00 */ cmpw r3, r5 -/* 80280154 0027D0B4 40 80 00 08 */ bge lbl_8028015C -lbl_80280158: -/* 80280158 0027D0B8 42 00 00 00 */ bdnz lbl_80280158 -lbl_8028015C: -/* 8028015C 0027D0BC 38 00 00 00 */ li r0, 0 -/* 80280160 0027D0C0 90 1E 05 78 */ stw r0, 0x578(r30) -lbl_80280164: -/* 80280164 0027D0C4 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80280168 0027D0C8 41 82 00 18 */ beq lbl_80280180 -/* 8028016C 0027D0CC 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80280170 0027D0D0 41 82 00 10 */ beq lbl_80280180 -/* 80280174 0027D0D4 38 7E 05 68 */ addi r3, r30, 0x568 -/* 80280178 0027D0D8 38 80 00 00 */ li r4, 0 -/* 8028017C 0027D0DC 48 0C 0C C5 */ bl __dt__6CTokenFv -lbl_80280180: -/* 80280180 0027D0E0 7F C3 F3 78 */ mr r3, r30 -/* 80280184 0027D0E4 38 80 00 00 */ li r4, 0 -/* 80280188 0027D0E8 4B DF 73 E9 */ bl __dt__10CPatternedFv -/* 8028018C 0027D0EC 7F E0 07 35 */ extsh. r0, r31 -/* 80280190 0027D0F0 40 81 00 0C */ ble lbl_8028019C -/* 80280194 0027D0F4 7F C3 F3 78 */ mr r3, r30 -/* 80280198 0027D0F8 48 09 57 99 */ bl Free__7CMemoryFPCv -lbl_8028019C: -/* 8028019C 0027D0FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802801A0 0027D100 7F C3 F3 78 */ mr r3, r30 -/* 802801A4 0027D104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802801A8 0027D108 83 C1 00 08 */ lwz r30, 8(r1) -/* 802801AC 0027D10C 7C 08 03 A6 */ mtlr r0 -/* 802801B0 0027D110 38 21 00 10 */ addi r1, r1, 0x10 -/* 802801B4 0027D114 4E 80 00 20 */ blr - -.global __ct__20CMetroidPrimeEssence -__ct__20CMetroidPrimeEssence: -/* 802801B8 0027D118 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802801BC 0027D11C 7C 08 02 A6 */ mflr r0 -/* 802801C0 0027D120 39 60 00 01 */ li r11, 1 -/* 802801C4 0027D124 7D 0C 43 78 */ mr r12, r8 -/* 802801C8 0027D128 90 01 00 64 */ stw r0, 0x64(r1) -/* 802801CC 0027D12C BF 01 00 40 */ stmw r24, 0x40(r1) -/* 802801D0 0027D130 7C FB 3B 78 */ mr r27, r7 -/* 802801D4 0027D134 7D 38 4B 78 */ mr r24, r9 -/* 802801D8 0027D138 83 81 00 68 */ lwz r28, 0x68(r1) -/* 802801DC 0027D13C 83 A1 00 6C */ lwz r29, 0x6c(r1) -/* 802801E0 0027D140 7C 7A 1B 78 */ mr r26, r3 -/* 802801E4 0027D144 83 C1 00 70 */ lwz r30, 0x70(r1) -/* 802801E8 0027D148 7F 69 DB 78 */ mr r9, r27 -/* 802801EC 0027D14C 83 E1 00 74 */ lwz r31, 0x74(r1) -/* 802801F0 0027D150 38 E0 00 00 */ li r7, 0 -/* 802801F4 0027D154 83 21 00 78 */ lwz r25, 0x78(r1) -/* 802801F8 0027D158 A0 04 00 00 */ lhz r0, 0(r4) -/* 802801FC 0027D15C 7C C4 33 78 */ mr r4, r6 -/* 80280200 0027D160 7C A6 2B 78 */ mr r6, r5 -/* 80280204 0027D164 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80280208 0027D168 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8028020C 0027D16C 7C 88 23 78 */ mr r8, r4 -/* 80280210 0027D170 38 00 00 03 */ li r0, 3 -/* 80280214 0027D174 38 80 00 16 */ li r4, 0x16 -/* 80280218 0027D178 93 01 00 08 */ stw r24, 8(r1) -/* 8028021C 0027D17C 91 61 00 0C */ stw r11, 0xc(r1) -/* 80280220 0027D180 91 61 00 10 */ stw r11, 0x10(r1) -/* 80280224 0027D184 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280228 0027D188 91 41 00 18 */ stw r10, 0x18(r1) -/* 8028022C 0027D18C 7D 8A 63 78 */ mr r10, r12 -/* 80280230 0027D190 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80280234 0027D194 4B DF D2 1D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80280238 0027D198 3C 60 80 3F */ lis r3, lbl_803EB244@ha -/* 8028023C 0027D19C 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 80280240 0027D1A0 38 03 B2 44 */ addi r0, r3, lbl_803EB244@l -/* 80280244 0027D1A4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80280248 0027D1A8 90 1A 00 00 */ stw r0, 0(r26) -/* 8028024C 0027D1AC 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 80280250 0027D1B0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80280254 0027D1B4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80280258 0027D1B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8028025C 0027D1BC 93 21 00 30 */ stw r25, 0x30(r1) -/* 80280260 0027D1C0 81 84 00 00 */ lwz r12, 0(r4) -/* 80280264 0027D1C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80280268 0027D1C8 7D 89 03 A6 */ mtctr r12 -/* 8028026C 0027D1CC 4E 80 04 21 */ bctrl -/* 80280270 0027D1D0 3B 3A 05 68 */ addi r25, r26, 0x568 -/* 80280274 0027D1D4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80280278 0027D1D8 7F 23 CB 78 */ mr r3, r25 -/* 8028027C 0027D1DC 48 0C 0C 2D */ bl __ct__6CTokenFRC6CToken -/* 80280280 0027D1E0 7F 23 CB 78 */ mr r3, r25 -/* 80280284 0027D1E4 48 0C 0B 89 */ bl GetObj__6CTokenFv -/* 80280288 0027D1E8 80 03 00 04 */ lwz r0, 4(r3) -/* 8028028C 0027D1EC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80280290 0027D1F0 38 80 FF FF */ li r4, -1 -/* 80280294 0027D1F4 90 19 00 08 */ stw r0, 8(r25) -/* 80280298 0027D1F8 48 0C 0B A9 */ bl __dt__6CTokenFv -/* 8028029C 0027D1FC C0 22 BD 3C */ lfs f1, lbl_805ADA5C@sda21(r2) -/* 802802A0 0027D200 38 7A 05 74 */ addi r3, r26, 0x574 -/* 802802A4 0027D204 80 D8 01 0C */ lwz r6, 0x10c(r24) -/* 802802A8 0027D208 38 80 00 00 */ li r4, 0 -/* 802802AC 0027D20C FC 40 08 90 */ fmr f2, f1 -/* 802802B0 0027D210 38 A0 00 03 */ li r5, 3 -/* 802802B4 0027D214 4B F4 8A E1 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 802802B8 0027D218 38 00 00 00 */ li r0, 0 -/* 802802BC 0027D21C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802802C0 0027D220 90 1A 06 58 */ stw r0, 0x658(r26) -/* 802802C4 0027D224 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802802C8 0027D228 38 7A 06 68 */ addi r3, r26, 0x668 -/* 802802CC 0027D22C 90 1A 06 5C */ stw r0, 0x65c(r26) -/* 802802D0 0027D230 93 9A 06 60 */ stw r28, 0x660(r26) -/* 802802D4 0027D234 93 DA 06 64 */ stw r30, 0x664(r26) -/* 802802D8 0027D238 48 09 28 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802802DC 0027D23C 80 1D 00 00 */ lwz r0, 0(r29) -/* 802802E0 0027D240 38 E0 00 00 */ li r7, 0 -/* 802802E4 0027D244 C0 42 BD 10 */ lfs f2, lbl_805ADA30@sda21(r2) -/* 802802E8 0027D248 38 A0 00 02 */ li r5, 2 -/* 802802EC 0027D24C 90 1A 06 98 */ stw r0, 0x698(r26) -/* 802802F0 0027D250 38 80 00 04 */ li r4, 4 -/* 802802F4 0027D254 C0 22 BD 74 */ lfs f1, lbl_805ADA94@sda21(r2) -/* 802802F8 0027D258 38 00 00 01 */ li r0, 1 -/* 802802FC 0027D25C 88 DD 00 04 */ lbz r6, 4(r29) -/* 80280300 0027D260 57 E3 04 3E */ clrlwi r3, r31, 0x10 -/* 80280304 0027D264 C0 02 BD 68 */ lfs f0, lbl_805ADA88@sda21(r2) -/* 80280308 0027D268 98 DA 06 9C */ stb r6, 0x69c(r26) -/* 8028030C 0027D26C C0 7D 00 08 */ lfs f3, 8(r29) -/* 80280310 0027D270 D0 7A 06 A0 */ stfs f3, 0x6a0(r26) -/* 80280314 0027D274 C0 7D 00 0C */ lfs f3, 0xc(r29) -/* 80280318 0027D278 D0 7A 06 A4 */ stfs f3, 0x6a4(r26) -/* 8028031C 0027D27C C0 7D 00 10 */ lfs f3, 0x10(r29) -/* 80280320 0027D280 D0 7A 06 A8 */ stfs f3, 0x6a8(r26) -/* 80280324 0027D284 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 80280328 0027D288 D0 7A 06 AC */ stfs f3, 0x6ac(r26) -/* 8028032C 0027D28C 88 DD 00 18 */ lbz r6, 0x18(r29) -/* 80280330 0027D290 98 DA 06 B0 */ stb r6, 0x6b0(r26) -/* 80280334 0027D294 C0 BB 00 2C */ lfs f5, 0x2c(r27) -/* 80280338 0027D298 C0 9B 00 1C */ lfs f4, 0x1c(r27) -/* 8028033C 0027D29C C0 7B 00 0C */ lfs f3, 0xc(r27) -/* 80280340 0027D2A0 D0 7A 06 B4 */ stfs f3, 0x6b4(r26) -/* 80280344 0027D2A4 D0 9A 06 B8 */ stfs f4, 0x6b8(r26) -/* 80280348 0027D2A8 D0 BA 06 BC */ stfs f5, 0x6bc(r26) -/* 8028034C 0027D2AC D0 5A 06 C0 */ stfs f2, 0x6c0(r26) -/* 80280350 0027D2B0 D0 5A 06 C4 */ stfs f2, 0x6c4(r26) -/* 80280354 0027D2B4 D0 5A 06 C8 */ stfs f2, 0x6c8(r26) -/* 80280358 0027D2B8 D0 3A 06 CC */ stfs f1, 0x6cc(r26) -/* 8028035C 0027D2BC C0 3A 06 CC */ lfs f1, 0x6cc(r26) -/* 80280360 0027D2C0 EC 00 08 7A */ fmadds f0, f0, f1, f1 -/* 80280364 0027D2C4 D0 1A 06 D0 */ stfs f0, 0x6d0(r26) -/* 80280368 0027D2C8 D0 5A 06 D4 */ stfs f2, 0x6d4(r26) -/* 8028036C 0027D2CC 90 FA 06 D8 */ stw r7, 0x6d8(r26) -/* 80280370 0027D2D0 90 FA 06 DC */ stw r7, 0x6dc(r26) -/* 80280374 0027D2D4 80 DA 06 DC */ lwz r6, 0x6dc(r26) -/* 80280378 0027D2D8 90 DA 06 E0 */ stw r6, 0x6e0(r26) -/* 8028037C 0027D2DC 90 FA 06 E4 */ stw r7, 0x6e4(r26) -/* 80280380 0027D2E0 90 BA 06 E8 */ stw r5, 0x6e8(r26) -/* 80280384 0027D2E4 90 9A 06 EC */ stw r4, 0x6ec(r26) -/* 80280388 0027D2E8 90 FA 06 F0 */ stw r7, 0x6f0(r26) -/* 8028038C 0027D2EC 80 9A 06 E8 */ lwz r4, 0x6e8(r26) -/* 80280390 0027D2F0 38 84 FF FF */ addi r4, r4, -1 -/* 80280394 0027D2F4 90 9A 06 F4 */ stw r4, 0x6f4(r26) -/* 80280398 0027D2F8 90 BA 06 F8 */ stw r5, 0x6f8(r26) -/* 8028039C 0027D2FC 90 FA 06 FC */ stw r7, 0x6fc(r26) -/* 802803A0 0027D300 90 1A 07 00 */ stw r0, 0x700(r26) -/* 802803A4 0027D304 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802803A8 0027D308 B0 1A 07 04 */ sth r0, 0x704(r26) -/* 802803AC 0027D30C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802803B0 0027D310 B0 1A 07 06 */ sth r0, 0x706(r26) -/* 802803B4 0027D314 90 FA 07 08 */ stw r7, 0x708(r26) -/* 802803B8 0027D318 48 06 85 F9 */ bl TranslateSFXID__11CSfxManagerFUs -/* 802803BC 0027D31C B0 7A 07 0C */ sth r3, 0x70c(r26) -/* 802803C0 0027D320 38 C0 00 00 */ li r6, 0 -/* 802803C4 0027D324 38 A0 00 01 */ li r5, 1 -/* 802803C8 0027D328 7F 43 D3 78 */ mr r3, r26 -/* 802803CC 0027D32C 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 802803D0 0027D330 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802803D4 0027D334 38 80 00 00 */ li r4, 0 -/* 802803D8 0027D338 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 802803DC 0027D33C 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 802803E0 0027D340 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 802803E4 0027D344 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 802803E8 0027D348 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 802803EC 0027D34C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 802803F0 0027D350 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 802803F4 0027D354 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 802803F8 0027D358 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 802803FC 0027D35C 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 80280400 0027D360 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 80280404 0027D364 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80280408 0027D368 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 8028040C 0027D36C 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 80280410 0027D370 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80280414 0027D374 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 80280418 0027D378 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 8028041C 0027D37C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 80280420 0027D380 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 80280424 0027D384 88 1A 07 0E */ lbz r0, 0x70e(r26) -/* 80280428 0027D388 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 8028042C 0027D38C 98 1A 07 0E */ stb r0, 0x70e(r26) -/* 80280430 0027D390 4B DD 29 3D */ bl CreateShadow__6CActorFb -/* 80280434 0027D394 7F 43 D3 78 */ mr r3, r26 -/* 80280438 0027D398 4B DF 74 5D */ bl MakeThermalColdAndHot__10CPatternedFv -/* 8028043C 0027D39C 7F 43 D3 78 */ mr r3, r26 -/* 80280440 0027D3A0 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 80280444 0027D3A4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80280448 0027D3A8 7C 08 03 A6 */ mtlr r0 -/* 8028044C 0027D3AC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80280450 0027D3B0 4E 80 00 20 */ blr - -.global __sinit_CMetroidPrimeEssence_cpp -__sinit_CMetroidPrimeEssence_cpp: -/* 80280454 0027D3B4 80 02 BD 00 */ lwz r0, lbl_805ADA20@sda21(r2) -/* 80280458 0027D3B8 90 0D 98 E4 */ stw r0, lbl_805A84A4@sda21(r13) -/* 8028045C 0027D3BC 4E 80 00 20 */ blr - -.global __dt__18CMetroidPrimeRelayFv -__dt__18CMetroidPrimeRelayFv: -/* 80280460 0027D3C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280464 0027D3C4 7C 08 02 A6 */ mflr r0 -/* 80280468 0027D3C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028046C 0027D3CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80280470 0027D3D0 7C 9F 23 78 */ mr r31, r4 -/* 80280474 0027D3D4 93 C1 00 08 */ stw r30, 8(r1) -/* 80280478 0027D3D8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028047C 0027D3DC 41 82 00 CC */ beq lbl_80280548 -/* 80280480 0027D3E0 3C 60 80 3F */ lis r3, lbl_803EB638@ha -/* 80280484 0027D3E4 34 1E 0C B8 */ addic. r0, r30, 0xcb8 -/* 80280488 0027D3E8 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l -/* 8028048C 0027D3EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80280490 0027D3F0 41 82 00 90 */ beq lbl_80280520 -/* 80280494 0027D3F4 38 DE 0C BC */ addi r6, r30, 0xcbc -/* 80280498 0027D3F8 38 60 00 00 */ li r3, 0 -/* 8028049C 0027D3FC 48 00 00 70 */ b lbl_8028050C -lbl_802804A0: -/* 802804A0 0027D400 28 06 00 00 */ cmplwi r6, 0 -/* 802804A4 0027D404 41 82 00 60 */ beq lbl_80280504 -/* 802804A8 0027D408 41 82 00 5C */ beq lbl_80280504 -/* 802804AC 0027D40C 80 E6 00 00 */ lwz r7, 0(r6) -/* 802804B0 0027D410 38 80 00 00 */ li r4, 0 -/* 802804B4 0027D414 2C 07 00 00 */ cmpwi r7, 0 -/* 802804B8 0027D418 40 81 00 44 */ ble lbl_802804FC -/* 802804BC 0027D41C 2C 07 00 08 */ cmpwi r7, 8 -/* 802804C0 0027D420 38 A7 FF F8 */ addi r5, r7, -8 -/* 802804C4 0027D424 40 81 00 20 */ ble lbl_802804E4 -/* 802804C8 0027D428 38 05 00 07 */ addi r0, r5, 7 -/* 802804CC 0027D42C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802804D0 0027D430 7C 09 03 A6 */ mtctr r0 -/* 802804D4 0027D434 2C 05 00 00 */ cmpwi r5, 0 -/* 802804D8 0027D438 40 81 00 0C */ ble lbl_802804E4 -lbl_802804DC: -/* 802804DC 0027D43C 38 84 00 08 */ addi r4, r4, 8 -/* 802804E0 0027D440 42 00 FF FC */ bdnz lbl_802804DC -lbl_802804E4: -/* 802804E4 0027D444 7C 04 38 50 */ subf r0, r4, r7 -/* 802804E8 0027D448 7C 09 03 A6 */ mtctr r0 -/* 802804EC 0027D44C 7C 04 38 00 */ cmpw r4, r7 -/* 802804F0 0027D450 40 80 00 0C */ bge lbl_802804FC -lbl_802804F4: -/* 802804F4 0027D454 38 84 00 01 */ addi r4, r4, 1 -/* 802804F8 0027D458 42 00 FF FC */ bdnz lbl_802804F4 -lbl_802804FC: -/* 802804FC 0027D45C 38 00 00 00 */ li r0, 0 -/* 80280500 0027D460 90 06 00 00 */ stw r0, 0(r6) -lbl_80280504: -/* 80280504 0027D464 38 C6 00 3C */ addi r6, r6, 0x3c -/* 80280508 0027D468 38 63 00 01 */ addi r3, r3, 1 -lbl_8028050C: -/* 8028050C 0027D46C 80 1E 0C B8 */ lwz r0, 0xcb8(r30) -/* 80280510 0027D470 7C 03 00 00 */ cmpw r3, r0 -/* 80280514 0027D474 41 80 FF 8C */ blt lbl_802804A0 -/* 80280518 0027D478 38 00 00 00 */ li r0, 0 -/* 8028051C 0027D47C 90 1E 0C B8 */ stw r0, 0xcb8(r30) -lbl_80280520: -/* 80280520 0027D480 38 7E 00 74 */ addi r3, r30, 0x74 -/* 80280524 0027D484 38 80 FF FF */ li r4, -1 -/* 80280528 0027D488 4B E4 68 65 */ bl sub_800c6d8c -/* 8028052C 0027D48C 7F C3 F3 78 */ mr r3, r30 -/* 80280530 0027D490 38 80 00 00 */ li r4, 0 -/* 80280534 0027D494 4B DD 0D 41 */ bl __dt__7CEntityFv -/* 80280538 0027D498 7F E0 07 35 */ extsh. r0, r31 -/* 8028053C 0027D49C 40 81 00 0C */ ble lbl_80280548 -/* 80280540 0027D4A0 7F C3 F3 78 */ mr r3, r30 -/* 80280544 0027D4A4 48 09 53 ED */ bl Free__7CMemoryFPCv -lbl_80280548: -/* 80280548 0027D4A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028054C 0027D4AC 7F C3 F3 78 */ mr r3, r30 -/* 80280550 0027D4B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80280554 0027D4B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80280558 0027D4B8 7C 08 03 A6 */ mtlr r0 -/* 8028055C 0027D4BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280560 0027D4C0 4E 80 00 20 */ blr - -.global GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager -GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager: -/* 80280564 0027D4C4 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 80280568 0027D4C8 7C 08 02 A6 */ mflr r0 -/* 8028056C 0027D4CC 90 01 01 54 */ stw r0, 0x154(r1) -/* 80280570 0027D4D0 BE 81 01 20 */ stmw r20, 0x120(r1) -/* 80280574 0027D4D4 7C 7D 1B 78 */ mr r29, r3 -/* 80280578 0027D4D8 7C 9E 23 78 */ mr r30, r4 -/* 8028057C 0027D4DC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80280580 0027D4E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80280584 0027D4E4 41 82 02 8C */ beq lbl_80280810 -/* 80280588 0027D4E8 82 9E 08 20 */ lwz r20, 0x820(r30) -/* 8028058C 0027D4EC AA B4 20 08 */ lha r21, 0x2008(r20) -/* 80280590 0027D4F0 48 00 00 48 */ b lbl_802805D8 -lbl_80280594: -/* 80280594 0027D4F4 7E 83 A3 78 */ mr r3, r20 -/* 80280598 0027D4F8 7E A4 AB 78 */ mr r4, r21 -/* 8028059C 0027D4FC 4B D8 F7 79 */ bl __vc__11CObjectListFi -/* 802805A0 0027D500 7C 60 1B 78 */ mr r0, r3 -/* 802805A4 0027D504 38 61 00 88 */ addi r3, r1, 0x88 -/* 802805A8 0027D508 7C 04 03 78 */ mr r4, r0 -/* 802805AC 0027D50C 4B E2 4E C1 */ bl sub_800a546c -/* 802805B0 0027D510 4B E2 4E 91 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" -/* 802805B4 0027D514 28 03 00 00 */ cmplwi r3, 0 -/* 802805B8 0027D518 40 82 02 58 */ bne lbl_80280810 -/* 802805BC 0027D51C 2C 15 FF FF */ cmpwi r21, -1 -/* 802805C0 0027D520 41 82 00 14 */ beq lbl_802805D4 -/* 802805C4 0027D524 56 A3 18 38 */ slwi r3, r21, 3 -/* 802805C8 0027D528 38 03 00 08 */ addi r0, r3, 8 -/* 802805CC 0027D52C 7E B4 02 AE */ lhax r21, r20, r0 -/* 802805D0 0027D530 48 00 00 08 */ b lbl_802805D8 -lbl_802805D4: -/* 802805D4 0027D534 3A A0 FF FF */ li r21, -1 -lbl_802805D8: -/* 802805D8 0027D538 2C 15 FF FF */ cmpwi r21, -1 -/* 802805DC 0027D53C 40 82 FF B8 */ bne lbl_80280594 -/* 802805E0 0027D540 3C 60 80 3D */ lis r3, lbl_803D58D8@ha -/* 802805E4 0027D544 3B 80 00 00 */ li r28, 0 -/* 802805E8 0027D548 38 83 58 D8 */ addi r4, r3, lbl_803D58D8@l -/* 802805EC 0027D54C 3B 60 00 00 */ li r27, 0 -/* 802805F0 0027D550 3B 40 00 00 */ li r26, 0 -/* 802805F4 0027D554 38 60 14 48 */ li r3, 0x1448 -/* 802805F8 0027D558 38 A0 00 00 */ li r5, 0 -/* 802805FC 0027D55C 48 09 52 71 */ bl __nw__FUlPCcPCc -/* 80280600 0027D560 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80280604 0027D564 41 82 01 78 */ beq lbl_8028077C -/* 80280608 0027D568 80 FD 01 6C */ lwz r7, 0x16c(r29) -/* 8028060C 0027D56C 38 00 00 01 */ li r0, 1 -/* 80280610 0027D570 80 DD 01 68 */ lwz r6, 0x168(r29) -/* 80280614 0027D574 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80280618 0027D578 80 BD 01 64 */ lwz r5, 0x164(r29) -/* 8028061C 0027D57C 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80280620 0027D580 C0 5D 00 68 */ lfs f2, 0x68(r29) -/* 80280624 0027D584 C0 3D 00 6C */ lfs f1, 0x6c(r29) -/* 80280628 0027D588 C0 1D 00 70 */ lfs f0, 0x70(r29) -/* 8028062C 0027D58C 90 A1 00 B4 */ stw r5, 0xb4(r1) -/* 80280630 0027D590 90 C1 00 B8 */ stw r6, 0xb8(r1) -/* 80280634 0027D594 D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 80280638 0027D598 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 8028063C 0027D59C D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 80280640 0027D5A0 98 01 00 C8 */ stb r0, 0xc8(r1) -/* 80280644 0027D5A4 90 E1 00 CC */ stw r7, 0xcc(r1) -/* 80280648 0027D5A8 4B E9 65 0D */ bl __ct__10CModelDataFRC8CAnimRes -/* 8028064C 0027D5AC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80280650 0027D5B0 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 80280654 0027D5B4 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) -/* 80280658 0027D5B8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8028065C 0027D5BC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80280660 0027D5C0 38 61 00 9C */ addi r3, r1, 0x9c -/* 80280664 0027D5C4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80280668 0027D5C8 3B 80 00 01 */ li r28, 1 -/* 8028066C 0027D5CC 90 C1 00 84 */ stw r6, 0x84(r1) -/* 80280670 0027D5D0 38 C1 00 84 */ addi r6, r1, 0x84 -/* 80280674 0027D5D4 90 01 00 80 */ stw r0, 0x80(r1) -/* 80280678 0027D5D8 4B DD 0E 0D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8028067C 0027D5DC 3C 80 80 3D */ lis r4, lbl_803D58D8@ha -/* 80280680 0027D5E0 38 61 00 8C */ addi r3, r1, 0x8c -/* 80280684 0027D5E4 38 84 58 D8 */ addi r4, r4, lbl_803D58D8@l -/* 80280688 0027D5E8 3B 60 00 01 */ li r27, 1 -/* 8028068C 0027D5EC 38 84 00 07 */ addi r4, r4, 7 -/* 80280690 0027D5F0 4B D8 46 29 */ bl string_l__4rstlFPCc -/* 80280694 0027D5F4 7F C4 F3 78 */ mr r4, r30 -/* 80280698 0027D5F8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8028069C 0027D5FC 3B 40 00 01 */ li r26, 1 -/* 802806A0 0027D600 4B DC CA 3D */ bl AllocateUniqueId__13CStateManagerFv -/* 802806A4 0027D604 A0 81 00 64 */ lhz r4, 0x64(r1) -/* 802806A8 0027D608 38 7D 02 1C */ addi r3, r29, 0x21c -/* 802806AC 0027D60C 80 BD 02 18 */ lwz r5, 0x218(r29) -/* 802806B0 0027D610 38 1D 02 F0 */ addi r0, r29, 0x2f0 -/* 802806B4 0027D614 B0 81 00 68 */ sth r4, 0x68(r1) -/* 802806B8 0027D618 38 9D 03 C4 */ addi r4, r29, 0x3c4 -/* 802806BC 0027D61C 38 FD 04 98 */ addi r7, r29, 0x498 -/* 802806C0 0027D620 3A 9D 04 D8 */ addi r20, r29, 0x4d8 -/* 802806C4 0027D624 90 A1 00 08 */ stw r5, 8(r1) -/* 802806C8 0027D628 3A BD 07 80 */ addi r21, r29, 0x780 -/* 802806CC 0027D62C 3A DD 07 9C */ addi r22, r29, 0x79c -/* 802806D0 0027D630 3A FD 08 74 */ addi r23, r29, 0x874 -/* 802806D4 0027D634 90 61 00 0C */ stw r3, 0xc(r1) -/* 802806D8 0027D638 3B 1D 08 90 */ addi r24, r29, 0x890 -/* 802806DC 0027D63C 3B 3D 09 64 */ addi r25, r29, 0x964 -/* 802806E0 0027D640 39 9D 09 A0 */ addi r12, r29, 0x9a0 -/* 802806E4 0027D644 90 01 00 10 */ stw r0, 0x10(r1) -/* 802806E8 0027D648 39 7D 09 BC */ addi r11, r29, 0x9bc -/* 802806EC 0027D64C 38 1D 0A A0 */ addi r0, r29, 0xaa0 -/* 802806F0 0027D650 7F E3 FB 78 */ mr r3, r31 -/* 802806F4 0027D654 90 81 00 14 */ stw r4, 0x14(r1) -/* 802806F8 0027D658 38 81 00 68 */ addi r4, r1, 0x68 -/* 802806FC 0027D65C 38 A1 00 8C */ addi r5, r1, 0x8c -/* 80280700 0027D660 38 C1 00 9C */ addi r6, r1, 0x9c -/* 80280704 0027D664 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80280708 0027D668 38 FD 00 38 */ addi r7, r29, 0x38 -/* 8028070C 0027D66C 39 01 00 D0 */ addi r8, r1, 0xd0 -/* 80280710 0027D670 39 3D 00 78 */ addi r9, r29, 0x78 -/* 80280714 0027D674 83 FD 04 D4 */ lwz r31, 0x4d4(r29) -/* 80280718 0027D678 39 5D 01 B0 */ addi r10, r29, 0x1b0 -/* 8028071C 0027D67C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80280720 0027D680 92 81 00 20 */ stw r20, 0x20(r1) -/* 80280724 0027D684 83 FD 07 7C */ lwz r31, 0x77c(r29) -/* 80280728 0027D688 93 E1 00 24 */ stw r31, 0x24(r1) -/* 8028072C 0027D68C 92 A1 00 28 */ stw r21, 0x28(r1) -/* 80280730 0027D690 92 C1 00 2C */ stw r22, 0x2c(r1) -/* 80280734 0027D694 83 FD 08 70 */ lwz r31, 0x870(r29) -/* 80280738 0027D698 93 E1 00 30 */ stw r31, 0x30(r1) -/* 8028073C 0027D69C 92 E1 00 34 */ stw r23, 0x34(r1) -/* 80280740 0027D6A0 93 01 00 38 */ stw r24, 0x38(r1) -/* 80280744 0027D6A4 93 21 00 3C */ stw r25, 0x3c(r1) -/* 80280748 0027D6A8 91 81 00 40 */ stw r12, 0x40(r1) -/* 8028074C 0027D6AC 91 61 00 44 */ stw r11, 0x44(r1) -/* 80280750 0027D6B0 81 7D 0A 90 */ lwz r11, 0xa90(r29) -/* 80280754 0027D6B4 91 61 00 48 */ stw r11, 0x48(r1) -/* 80280758 0027D6B8 81 7D 0A 94 */ lwz r11, 0xa94(r29) -/* 8028075C 0027D6BC 91 61 00 4C */ stw r11, 0x4c(r1) -/* 80280760 0027D6C0 81 7D 0A 98 */ lwz r11, 0xa98(r29) -/* 80280764 0027D6C4 91 61 00 50 */ stw r11, 0x50(r1) -/* 80280768 0027D6C8 81 7D 0A 9C */ lwz r11, 0xa9c(r29) -/* 8028076C 0027D6CC 91 61 00 54 */ stw r11, 0x54(r1) -/* 80280770 0027D6D0 90 01 00 58 */ stw r0, 0x58(r1) -/* 80280774 0027D6D4 4B FF A7 9D */ bl __ct__16CMetroidPrimeExo -/* 80280778 0027D6D8 7C 7F 1B 78 */ mr r31, r3 -lbl_8028077C: -/* 8028077C 0027D6DC 7F 40 07 75 */ extsb. r0, r26 -/* 80280780 0027D6E0 41 82 00 0C */ beq lbl_8028078C -/* 80280784 0027D6E4 38 61 00 8C */ addi r3, r1, 0x8c -/* 80280788 0027D6E8 48 0B D3 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028078C: -/* 8028078C 0027D6EC 7F 60 07 75 */ extsb. r0, r27 -/* 80280790 0027D6F0 41 82 00 44 */ beq lbl_802807D4 -/* 80280794 0027D6F4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80280798 0027D6F8 80 61 00 AC */ lwz r3, 0xac(r1) -/* 8028079C 0027D6FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802807A0 0027D700 90 61 00 70 */ stw r3, 0x70(r1) -/* 802807A4 0027D704 7C 64 1B 78 */ mr r4, r3 -/* 802807A8 0027D708 7C 03 02 14 */ add r0, r3, r0 -/* 802807AC 0027D70C 90 61 00 6C */ stw r3, 0x6c(r1) -/* 802807B0 0027D710 90 01 00 78 */ stw r0, 0x78(r1) -/* 802807B4 0027D714 90 01 00 74 */ stw r0, 0x74(r1) -/* 802807B8 0027D718 48 00 00 08 */ b lbl_802807C0 -lbl_802807BC: -/* 802807BC 0027D71C 38 84 00 0C */ addi r4, r4, 0xc -lbl_802807C0: -/* 802807C0 0027D720 7C 04 00 40 */ cmplw r4, r0 -/* 802807C4 0027D724 40 82 FF F8 */ bne lbl_802807BC -/* 802807C8 0027D728 28 03 00 00 */ cmplwi r3, 0 -/* 802807CC 0027D72C 41 82 00 08 */ beq lbl_802807D4 -/* 802807D0 0027D730 48 09 51 61 */ bl Free__7CMemoryFPCv -lbl_802807D4: -/* 802807D4 0027D734 7F 80 07 75 */ extsb. r0, r28 -/* 802807D8 0027D738 41 82 00 10 */ beq lbl_802807E8 -/* 802807DC 0027D73C 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802807E0 0027D740 38 80 FF FF */ li r4, -1 -/* 802807E4 0027D744 4B E9 62 69 */ bl __dt__10CModelDataFv -lbl_802807E8: -/* 802807E8 0027D748 7F C3 F3 78 */ mr r3, r30 -/* 802807EC 0027D74C 7F E4 FB 78 */ mr r4, r31 -/* 802807F0 0027D750 4B DC C3 25 */ bl AddObject__13CStateManagerFR7CEntity -/* 802807F4 0027D754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802807F8 0027D758 7F C3 F3 78 */ mr r3, r30 -/* 802807FC 0027D75C 7F E4 FB 78 */ mr r4, r31 -/* 80280800 0027D760 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80280804 0027D764 B0 01 00 60 */ sth r0, 0x60(r1) -/* 80280808 0027D768 38 C0 00 23 */ li r6, 0x23 -/* 8028080C 0027D76C 4B DC 36 C5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80280810: -/* 80280810 0027D770 BA 81 01 20 */ lmw r20, 0x120(r1) -/* 80280814 0027D774 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80280818 0027D778 7C 08 03 A6 */ mtlr r0 -/* 8028081C 0027D77C 38 21 01 50 */ addi r1, r1, 0x150 -/* 80280820 0027D780 4E 80 00 20 */ blr - -.global ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager -ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager: -/* 80280824 0027D784 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80280828 0027D788 7C 08 02 A6 */ mflr r0 -/* 8028082C 0027D78C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80280830 0027D790 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80280834 0027D794 7C BF 2B 78 */ mr r31, r5 -/* 80280838 0027D798 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028083C 0027D79C 7C 9E 23 78 */ mr r30, r4 -/* 80280840 0027D7A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80280844 0027D7A4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80280848 0027D7A8 7C 7D 1B 78 */ mr r29, r3 -/* 8028084C 0027D7AC A0 03 00 34 */ lhz r0, 0x34(r3) -/* 80280850 0027D7B0 7F E3 FB 78 */ mr r3, r31 -/* 80280854 0027D7B4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80280858 0027D7B8 4B DC BD 1D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028085C 0027D7BC 7C 64 1B 78 */ mr r4, r3 -/* 80280860 0027D7C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80280864 0027D7C4 4B E2 4C 09 */ bl sub_800a546c -/* 80280868 0027D7C8 4B E2 4B D9 */ bl "CastTo<16CMetroidPrimeExo>__10CPatternedFP7CEntity" -/* 8028086C 0027D7CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80280870 0027D7D0 41 82 00 30 */ beq lbl_802808A0 -/* 80280874 0027D7D4 2C 1E 00 24 */ cmpwi r30, 0x24 -/* 80280878 0027D7D8 40 80 00 0C */ bge lbl_80280884 -/* 8028087C 0027D7DC 2C 1E 00 21 */ cmpwi r30, 0x21 -/* 80280880 0027D7E0 40 80 00 20 */ bge lbl_802808A0 -lbl_80280884: -/* 80280884 0027D7E4 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80280888 0027D7E8 7F E3 FB 78 */ mr r3, r31 -/* 8028088C 0027D7EC 7F C6 F3 78 */ mr r6, r30 -/* 80280890 0027D7F0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80280894 0027D7F4 B0 01 00 08 */ sth r0, 8(r1) -/* 80280898 0027D7F8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028089C 0027D7FC 4B DC 36 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_802808A0: -/* 802808A0 0027D800 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802808A4 0027D804 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802808A8 0027D808 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802808AC 0027D80C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802808B0 0027D810 7C 08 03 A6 */ mtlr r0 -/* 802808B4 0027D814 38 21 00 30 */ addi r1, r1, 0x30 -/* 802808B8 0027D818 4E 80 00 20 */ blr - -.global AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__18CMetroidPrimeRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 802808BC 0027D81C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802808C0 0027D820 7C 08 02 A6 */ mflr r0 -/* 802808C4 0027D824 90 01 00 24 */ stw r0, 0x24(r1) -/* 802808C8 0027D828 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802808CC 0027D82C 7C DF 33 78 */ mr r31, r6 -/* 802808D0 0027D830 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802808D4 0027D834 7C 9E 23 78 */ mr r30, r4 -/* 802808D8 0027D838 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802808DC 0027D83C 7C 7D 1B 78 */ mr r29, r3 -/* 802808E0 0027D840 A0 A5 00 00 */ lhz r5, 0(r5) -/* 802808E4 0027D844 A0 03 00 34 */ lhz r0, 0x34(r3) -/* 802808E8 0027D848 7C 05 00 40 */ cmplw r5, r0 -/* 802808EC 0027D84C 41 82 00 0C */ beq lbl_802808F8 -/* 802808F0 0027D850 7F E5 FB 78 */ mr r5, r31 -/* 802808F4 0027D854 4B FF FF 31 */ bl ForwardMessageToMetroidPrimeExo__18CMetroidPrimeRelayF20EScriptObjectMessageR13CStateManager -lbl_802808F8: -/* 802808F8 0027D858 2C 1E 00 23 */ cmpwi r30, 0x23 -/* 802808FC 0027D85C 41 82 00 08 */ beq lbl_80280904 -/* 80280900 0027D860 48 00 00 10 */ b lbl_80280910 -lbl_80280904: -/* 80280904 0027D864 7F A3 EB 78 */ mr r3, r29 -/* 80280908 0027D868 7F E4 FB 78 */ mr r4, r31 -/* 8028090C 0027D86C 4B FF FC 59 */ bl GetOrBuildMetroidPrimeExo__18CMetroidPrimeRelayFR13CStateManager -lbl_80280910: -/* 80280910 0027D870 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80280914 0027D874 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80280918 0027D878 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028091C 0027D87C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80280920 0027D880 7C 08 03 A6 */ mtlr r0 -/* 80280924 0027D884 38 21 00 20 */ addi r1, r1, 0x20 -/* 80280928 0027D888 4E 80 00 20 */ blr - -.global Accept__18CMetroidPrimeRelay -Accept__18CMetroidPrimeRelay: -/* 8028092C 0027D88C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280930 0027D890 7C 08 02 A6 */ mflr r0 -/* 80280934 0027D894 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280938 0027D898 7C 60 1B 78 */ mr r0, r3 -/* 8028093C 0027D89C 7C 83 23 78 */ mr r3, r4 -/* 80280940 0027D8A0 81 84 00 00 */ lwz r12, 0(r4) -/* 80280944 0027D8A4 7C 04 03 78 */ mr r4, r0 -/* 80280948 0027D8A8 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028094C 0027D8AC 7D 89 03 A6 */ mtctr r12 -/* 80280950 0027D8B0 4E 80 04 21 */ bctrl -/* 80280954 0027D8B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80280958 0027D8B8 7C 08 03 A6 */ mtlr r0 -/* 8028095C 0027D8BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280960 0027D8C0 4E 80 00 20 */ blr - -.global "__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>" -"__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>": -/* 80280964 0027D8C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80280968 0027D8C8 7C 08 02 A6 */ mflr r0 -/* 8028096C 0027D8CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80280970 0027D8D0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80280974 0027D8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80280978 0027D8D8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8028097C 0027D8DC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80280980 0027D8E0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80280984 0027D8E4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80280988 0027D8E8 BE 61 00 1C */ stmw r19, 0x1c(r1) -/* 8028098C 0027D8EC A0 04 00 00 */ lhz r0, 0(r4) -/* 80280990 0027D8F0 7C A4 2B 78 */ mr r4, r5 -/* 80280994 0027D8F4 FF A0 08 90 */ fmr f29, f1 -/* 80280998 0027D8F8 7C C5 33 78 */ mr r5, r6 -/* 8028099C 0027D8FC FF C0 10 90 */ fmr f30, f2 -/* 802809A0 0027D900 B0 01 00 08 */ sth r0, 8(r1) -/* 802809A4 0027D904 7C E6 3B 78 */ mr r6, r7 -/* 802809A8 0027D908 7C 87 23 78 */ mr r7, r4 -/* 802809AC 0027D90C FF E0 18 90 */ fmr f31, f3 -/* 802809B0 0027D910 82 E1 00 88 */ lwz r23, 0x88(r1) -/* 802809B4 0027D914 8B 01 00 8F */ lbz r24, 0x8f(r1) -/* 802809B8 0027D918 7C 74 1B 78 */ mr r20, r3 -/* 802809BC 0027D91C 83 21 00 90 */ lwz r25, 0x90(r1) -/* 802809C0 0027D920 7D 13 43 78 */ mr r19, r8 -/* 802809C4 0027D924 83 41 00 94 */ lwz r26, 0x94(r1) -/* 802809C8 0027D928 7D 35 4B 78 */ mr r21, r9 -/* 802809CC 0027D92C 83 61 00 98 */ lwz r27, 0x98(r1) -/* 802809D0 0027D930 7D 56 53 78 */ mr r22, r10 -/* 802809D4 0027D934 83 81 00 9C */ lwz r28, 0x9c(r1) -/* 802809D8 0027D938 38 81 00 08 */ addi r4, r1, 8 -/* 802809DC 0027D93C 83 A1 00 A0 */ lwz r29, 0xa0(r1) -/* 802809E0 0027D940 83 C1 00 A4 */ lwz r30, 0xa4(r1) -/* 802809E4 0027D944 83 E1 00 A8 */ lwz r31, 0xa8(r1) -/* 802809E8 0027D948 4B DD 09 3D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802809EC 0027D94C 3C 60 80 3F */ lis r3, lbl_803EB638@ha -/* 802809F0 0027D950 7E 64 9B 78 */ mr r4, r19 -/* 802809F4 0027D954 38 03 B6 38 */ addi r0, r3, lbl_803EB638@l -/* 802809F8 0027D958 38 74 00 38 */ addi r3, r20, 0x38 -/* 802809FC 0027D95C 90 14 00 00 */ stw r0, 0(r20) -/* 80280A00 0027D960 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80280A04 0027D964 B0 14 00 34 */ sth r0, 0x34(r20) -/* 80280A08 0027D968 48 09 21 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80280A0C 0027D96C C0 15 00 00 */ lfs f0, 0(r21) -/* 80280A10 0027D970 7E C4 B3 78 */ mr r4, r22 -/* 80280A14 0027D974 38 74 00 74 */ addi r3, r20, 0x74 -/* 80280A18 0027D978 D0 14 00 68 */ stfs f0, 0x68(r20) -/* 80280A1C 0027D97C C0 15 00 04 */ lfs f0, 4(r21) -/* 80280A20 0027D980 D0 14 00 6C */ stfs f0, 0x6c(r20) -/* 80280A24 0027D984 C0 15 00 08 */ lfs f0, 8(r21) -/* 80280A28 0027D988 D0 14 00 70 */ stfs f0, 0x70(r20) -/* 80280A2C 0027D98C 48 00 00 ED */ bl __ct__19SPrimeExoParametersFRC19SPrimeExoParameters -/* 80280A30 0027D990 D3 B4 0C 84 */ stfs f29, 0xc84(r20) -/* 80280A34 0027D994 39 14 0C BC */ addi r8, r20, 0xcbc -/* 80280A38 0027D998 38 9F 00 04 */ addi r4, r31, 4 -/* 80280A3C 0027D99C 38 60 00 00 */ li r3, 0 -/* 80280A40 0027D9A0 D3 D4 0C 88 */ stfs f30, 0xc88(r20) -/* 80280A44 0027D9A4 D3 F4 0C 8C */ stfs f31, 0xc8c(r20) -/* 80280A48 0027D9A8 92 F4 0C 90 */ stw r23, 0xc90(r20) -/* 80280A4C 0027D9AC 9B 14 0C 94 */ stb r24, 0xc94(r20) -/* 80280A50 0027D9B0 93 34 0C 98 */ stw r25, 0xc98(r20) -/* 80280A54 0027D9B4 C0 1A 00 00 */ lfs f0, 0(r26) -/* 80280A58 0027D9B8 D0 14 0C 9C */ stfs f0, 0xc9c(r20) -/* 80280A5C 0027D9BC C0 1A 00 04 */ lfs f0, 4(r26) -/* 80280A60 0027D9C0 D0 14 0C A0 */ stfs f0, 0xca0(r20) -/* 80280A64 0027D9C4 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80280A68 0027D9C8 D0 14 0C A4 */ stfs f0, 0xca4(r20) -/* 80280A6C 0027D9CC C0 1B 00 04 */ lfs f0, 4(r27) -/* 80280A70 0027D9D0 D0 14 0C A8 */ stfs f0, 0xca8(r20) -/* 80280A74 0027D9D4 93 94 0C AC */ stw r28, 0xcac(r20) -/* 80280A78 0027D9D8 93 B4 0C B0 */ stw r29, 0xcb0(r20) -/* 80280A7C 0027D9DC 93 D4 0C B4 */ stw r30, 0xcb4(r20) -/* 80280A80 0027D9E0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80280A84 0027D9E4 90 14 0C B8 */ stw r0, 0xcb8(r20) -/* 80280A88 0027D9E8 80 B4 0C B8 */ lwz r5, 0xcb8(r20) -/* 80280A8C 0027D9EC 48 00 00 54 */ b lbl_80280AE0 -lbl_80280A90: -/* 80280A90 0027D9F0 28 08 00 00 */ cmplwi r8, 0 -/* 80280A94 0027D9F4 41 82 00 40 */ beq lbl_80280AD4 -/* 80280A98 0027D9F8 80 04 00 00 */ lwz r0, 0(r4) -/* 80280A9C 0027D9FC 38 E4 00 04 */ addi r7, r4, 4 -/* 80280AA0 0027DA00 38 C8 00 04 */ addi r6, r8, 4 -/* 80280AA4 0027DA04 90 08 00 00 */ stw r0, 0(r8) -/* 80280AA8 0027DA08 80 08 00 00 */ lwz r0, 0(r8) -/* 80280AAC 0027DA0C 7C 09 03 A6 */ mtctr r0 -/* 80280AB0 0027DA10 2C 00 00 00 */ cmpwi r0, 0 -/* 80280AB4 0027DA14 40 81 00 20 */ ble lbl_80280AD4 -lbl_80280AB8: -/* 80280AB8 0027DA18 28 06 00 00 */ cmplwi r6, 0 -/* 80280ABC 0027DA1C 41 82 00 0C */ beq lbl_80280AC8 -/* 80280AC0 0027DA20 C0 07 00 00 */ lfs f0, 0(r7) -/* 80280AC4 0027DA24 D0 06 00 00 */ stfs f0, 0(r6) -lbl_80280AC8: -/* 80280AC8 0027DA28 38 C6 00 04 */ addi r6, r6, 4 -/* 80280ACC 0027DA2C 38 E7 00 04 */ addi r7, r7, 4 -/* 80280AD0 0027DA30 42 00 FF E8 */ bdnz lbl_80280AB8 -lbl_80280AD4: -/* 80280AD4 0027DA34 39 08 00 3C */ addi r8, r8, 0x3c -/* 80280AD8 0027DA38 38 63 00 01 */ addi r3, r3, 1 -/* 80280ADC 0027DA3C 38 84 00 3C */ addi r4, r4, 0x3c -lbl_80280AE0: -/* 80280AE0 0027DA40 7C 03 28 00 */ cmpw r3, r5 -/* 80280AE4 0027DA44 41 80 FF AC */ blt lbl_80280A90 -/* 80280AE8 0027DA48 7E 83 A3 78 */ mr r3, r20 -/* 80280AEC 0027DA4C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80280AF0 0027DA50 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80280AF4 0027DA54 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80280AF8 0027DA58 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80280AFC 0027DA5C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80280B00 0027DA60 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80280B04 0027DA64 BA 61 00 1C */ lmw r19, 0x1c(r1) -/* 80280B08 0027DA68 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80280B0C 0027DA6C 7C 08 03 A6 */ mtlr r0 -/* 80280B10 0027DA70 38 21 00 80 */ addi r1, r1, 0x80 -/* 80280B14 0027DA74 4E 80 00 20 */ blr - -.global __ct__19SPrimeExoParametersFRC19SPrimeExoParameters -__ct__19SPrimeExoParametersFRC19SPrimeExoParameters: -/* 80280B18 0027DA78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280B1C 0027DA7C 7C 08 02 A6 */ mflr r0 -/* 80280B20 0027DA80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280B24 0027DA84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80280B28 0027DA88 7C 9F 23 78 */ mr r31, r4 -/* 80280B2C 0027DA8C 93 C1 00 08 */ stw r30, 8(r1) -/* 80280B30 0027DA90 7C 7E 1B 78 */ mr r30, r3 -/* 80280B34 0027DA94 38 7E 00 04 */ addi r3, r30, 4 -/* 80280B38 0027DA98 80 04 00 00 */ lwz r0, 0(r4) -/* 80280B3C 0027DA9C 38 9F 00 04 */ addi r4, r31, 4 -/* 80280B40 0027DAA0 90 1E 00 00 */ stw r0, 0(r30) -/* 80280B44 0027DAA4 4B EF 17 69 */ bl sub_801722ac -/* 80280B48 0027DAA8 38 7E 01 3C */ addi r3, r30, 0x13c -/* 80280B4C 0027DAAC 38 9F 01 3C */ addi r4, r31, 0x13c -/* 80280B50 0027DAB0 4B E4 4A CD */ bl __ct__16CActorParametersFRC16CActorParameters -/* 80280B54 0027DAB4 80 1F 01 A4 */ lwz r0, 0x1a4(r31) -/* 80280B58 0027DAB8 38 7E 01 A8 */ addi r3, r30, 0x1a8 -/* 80280B5C 0027DABC 38 9F 01 A8 */ addi r4, r31, 0x1a8 -/* 80280B60 0027DAC0 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 80280B64 0027DAC4 4B D8 A2 45 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280B68 0027DAC8 38 7E 02 7C */ addi r3, r30, 0x27c -/* 80280B6C 0027DACC 38 9F 02 7C */ addi r4, r31, 0x27c -/* 80280B70 0027DAD0 4B D8 A2 39 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280B74 0027DAD4 38 7E 03 50 */ addi r3, r30, 0x350 -/* 80280B78 0027DAD8 38 9F 03 50 */ addi r4, r31, 0x350 -/* 80280B7C 0027DADC 4B D8 A2 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280B80 0027DAE0 80 1F 04 24 */ lwz r0, 0x424(r31) -/* 80280B84 0027DAE4 38 7E 04 64 */ addi r3, r30, 0x464 -/* 80280B88 0027DAE8 38 9F 04 64 */ addi r4, r31, 0x464 -/* 80280B8C 0027DAEC 90 1E 04 24 */ stw r0, 0x424(r30) -/* 80280B90 0027DAF0 80 1F 04 28 */ lwz r0, 0x428(r31) -/* 80280B94 0027DAF4 90 1E 04 28 */ stw r0, 0x428(r30) -/* 80280B98 0027DAF8 80 1F 04 2C */ lwz r0, 0x42c(r31) -/* 80280B9C 0027DAFC 90 1E 04 2C */ stw r0, 0x42c(r30) -/* 80280BA0 0027DB00 80 1F 04 30 */ lwz r0, 0x430(r31) -/* 80280BA4 0027DB04 90 1E 04 30 */ stw r0, 0x430(r30) -/* 80280BA8 0027DB08 80 1F 04 34 */ lwz r0, 0x434(r31) -/* 80280BAC 0027DB0C 90 1E 04 34 */ stw r0, 0x434(r30) -/* 80280BB0 0027DB10 88 1F 04 38 */ lbz r0, 0x438(r31) -/* 80280BB4 0027DB14 98 1E 04 38 */ stb r0, 0x438(r30) -/* 80280BB8 0027DB18 C0 1F 04 3C */ lfs f0, 0x43c(r31) -/* 80280BBC 0027DB1C D0 1E 04 3C */ stfs f0, 0x43c(r30) -/* 80280BC0 0027DB20 C0 1F 04 40 */ lfs f0, 0x440(r31) -/* 80280BC4 0027DB24 D0 1E 04 40 */ stfs f0, 0x440(r30) -/* 80280BC8 0027DB28 C0 1F 04 44 */ lfs f0, 0x444(r31) -/* 80280BCC 0027DB2C D0 1E 04 44 */ stfs f0, 0x444(r30) -/* 80280BD0 0027DB30 C0 1F 04 48 */ lfs f0, 0x448(r31) -/* 80280BD4 0027DB34 D0 1E 04 48 */ stfs f0, 0x448(r30) -/* 80280BD8 0027DB38 88 1F 04 4C */ lbz r0, 0x44c(r31) -/* 80280BDC 0027DB3C 98 1E 04 4C */ stb r0, 0x44c(r30) -/* 80280BE0 0027DB40 C0 1F 04 50 */ lfs f0, 0x450(r31) -/* 80280BE4 0027DB44 D0 1E 04 50 */ stfs f0, 0x450(r30) -/* 80280BE8 0027DB48 C0 1F 04 54 */ lfs f0, 0x454(r31) -/* 80280BEC 0027DB4C D0 1E 04 54 */ stfs f0, 0x454(r30) -/* 80280BF0 0027DB50 80 1F 04 58 */ lwz r0, 0x458(r31) -/* 80280BF4 0027DB54 90 1E 04 58 */ stw r0, 0x458(r30) -/* 80280BF8 0027DB58 A0 1F 04 5C */ lhz r0, 0x45c(r31) -/* 80280BFC 0027DB5C B0 1E 04 5C */ sth r0, 0x45c(r30) -/* 80280C00 0027DB60 A0 1F 04 5E */ lhz r0, 0x45e(r31) -/* 80280C04 0027DB64 B0 1E 04 5E */ sth r0, 0x45e(r30) -/* 80280C08 0027DB68 80 1F 04 60 */ lwz r0, 0x460(r31) -/* 80280C0C 0027DB6C 90 1E 04 60 */ stw r0, 0x460(r30) -/* 80280C10 0027DB70 48 00 02 B5 */ bl sub_80280ec4 -/* 80280C14 0027DB74 80 1F 07 08 */ lwz r0, 0x708(r31) -/* 80280C18 0027DB78 38 7E 07 28 */ addi r3, r30, 0x728 -/* 80280C1C 0027DB7C 38 9F 07 28 */ addi r4, r31, 0x728 -/* 80280C20 0027DB80 90 1E 07 08 */ stw r0, 0x708(r30) -/* 80280C24 0027DB84 80 1F 07 0C */ lwz r0, 0x70c(r31) -/* 80280C28 0027DB88 90 1E 07 0C */ stw r0, 0x70c(r30) -/* 80280C2C 0027DB8C 88 1F 07 10 */ lbz r0, 0x710(r31) -/* 80280C30 0027DB90 98 1E 07 10 */ stb r0, 0x710(r30) -/* 80280C34 0027DB94 C0 1F 07 14 */ lfs f0, 0x714(r31) -/* 80280C38 0027DB98 D0 1E 07 14 */ stfs f0, 0x714(r30) -/* 80280C3C 0027DB9C C0 1F 07 18 */ lfs f0, 0x718(r31) -/* 80280C40 0027DBA0 D0 1E 07 18 */ stfs f0, 0x718(r30) -/* 80280C44 0027DBA4 C0 1F 07 1C */ lfs f0, 0x71c(r31) -/* 80280C48 0027DBA8 D0 1E 07 1C */ stfs f0, 0x71c(r30) -/* 80280C4C 0027DBAC C0 1F 07 20 */ lfs f0, 0x720(r31) -/* 80280C50 0027DBB0 D0 1E 07 20 */ stfs f0, 0x720(r30) -/* 80280C54 0027DBB4 88 1F 07 24 */ lbz r0, 0x724(r31) -/* 80280C58 0027DBB8 98 1E 07 24 */ stb r0, 0x724(r30) -/* 80280C5C 0027DBBC 4B D8 A1 4D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280C60 0027DBC0 80 1F 07 FC */ lwz r0, 0x7fc(r31) -/* 80280C64 0027DBC4 38 7E 08 1C */ addi r3, r30, 0x81c -/* 80280C68 0027DBC8 38 9F 08 1C */ addi r4, r31, 0x81c -/* 80280C6C 0027DBCC 90 1E 07 FC */ stw r0, 0x7fc(r30) -/* 80280C70 0027DBD0 80 1F 08 00 */ lwz r0, 0x800(r31) -/* 80280C74 0027DBD4 90 1E 08 00 */ stw r0, 0x800(r30) -/* 80280C78 0027DBD8 88 1F 08 04 */ lbz r0, 0x804(r31) -/* 80280C7C 0027DBDC 98 1E 08 04 */ stb r0, 0x804(r30) -/* 80280C80 0027DBE0 C0 1F 08 08 */ lfs f0, 0x808(r31) -/* 80280C84 0027DBE4 D0 1E 08 08 */ stfs f0, 0x808(r30) -/* 80280C88 0027DBE8 C0 1F 08 0C */ lfs f0, 0x80c(r31) -/* 80280C8C 0027DBEC D0 1E 08 0C */ stfs f0, 0x80c(r30) -/* 80280C90 0027DBF0 C0 1F 08 10 */ lfs f0, 0x810(r31) -/* 80280C94 0027DBF4 D0 1E 08 10 */ stfs f0, 0x810(r30) -/* 80280C98 0027DBF8 C0 1F 08 14 */ lfs f0, 0x814(r31) -/* 80280C9C 0027DBFC D0 1E 08 14 */ stfs f0, 0x814(r30) -/* 80280CA0 0027DC00 88 1F 08 18 */ lbz r0, 0x818(r31) -/* 80280CA4 0027DC04 98 1E 08 18 */ stb r0, 0x818(r30) -/* 80280CA8 0027DC08 4B D8 A1 01 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280CAC 0027DC0C 80 1F 08 F0 */ lwz r0, 0x8f0(r31) -/* 80280CB0 0027DC10 38 7E 08 F4 */ addi r3, r30, 0x8f4 -/* 80280CB4 0027DC14 38 9F 08 F4 */ addi r4, r31, 0x8f4 -/* 80280CB8 0027DC18 90 1E 08 F0 */ stw r0, 0x8f0(r30) -/* 80280CBC 0027DC1C 48 0C 01 ED */ bl __ct__6CTokenFRC6CToken -/* 80280CC0 0027DC20 80 1F 08 FC */ lwz r0, 0x8fc(r31) -/* 80280CC4 0027DC24 38 7E 09 48 */ addi r3, r30, 0x948 -/* 80280CC8 0027DC28 38 9F 09 48 */ addi r4, r31, 0x948 -/* 80280CCC 0027DC2C 90 1E 08 FC */ stw r0, 0x8fc(r30) -/* 80280CD0 0027DC30 88 1F 09 00 */ lbz r0, 0x900(r31) -/* 80280CD4 0027DC34 98 1E 09 00 */ stb r0, 0x900(r30) -/* 80280CD8 0027DC38 C0 1F 09 04 */ lfs f0, 0x904(r31) -/* 80280CDC 0027DC3C D0 1E 09 04 */ stfs f0, 0x904(r30) -/* 80280CE0 0027DC40 C0 1F 09 08 */ lfs f0, 0x908(r31) -/* 80280CE4 0027DC44 D0 1E 09 08 */ stfs f0, 0x908(r30) -/* 80280CE8 0027DC48 C0 1F 09 0C */ lfs f0, 0x90c(r31) -/* 80280CEC 0027DC4C D0 1E 09 0C */ stfs f0, 0x90c(r30) -/* 80280CF0 0027DC50 C0 1F 09 10 */ lfs f0, 0x910(r31) -/* 80280CF4 0027DC54 D0 1E 09 10 */ stfs f0, 0x910(r30) -/* 80280CF8 0027DC58 88 1F 09 14 */ lbz r0, 0x914(r31) -/* 80280CFC 0027DC5C 98 1E 09 14 */ stb r0, 0x914(r30) -/* 80280D00 0027DC60 C0 1F 09 18 */ lfs f0, 0x918(r31) -/* 80280D04 0027DC64 D0 1E 09 18 */ stfs f0, 0x918(r30) -/* 80280D08 0027DC68 C0 1F 09 1C */ lfs f0, 0x91c(r31) -/* 80280D0C 0027DC6C D0 1E 09 1C */ stfs f0, 0x91c(r30) -/* 80280D10 0027DC70 C0 1F 09 20 */ lfs f0, 0x920(r31) -/* 80280D14 0027DC74 D0 1E 09 20 */ stfs f0, 0x920(r30) -/* 80280D18 0027DC78 80 1F 09 24 */ lwz r0, 0x924(r31) -/* 80280D1C 0027DC7C 90 1E 09 24 */ stw r0, 0x924(r30) -/* 80280D20 0027DC80 88 1F 09 28 */ lbz r0, 0x928(r31) -/* 80280D24 0027DC84 98 1E 09 28 */ stb r0, 0x928(r30) -/* 80280D28 0027DC88 80 1F 09 2C */ lwz r0, 0x92c(r31) -/* 80280D2C 0027DC8C 90 1E 09 2C */ stw r0, 0x92c(r30) -/* 80280D30 0027DC90 88 1F 09 30 */ lbz r0, 0x930(r31) -/* 80280D34 0027DC94 98 1E 09 30 */ stb r0, 0x930(r30) -/* 80280D38 0027DC98 C0 1F 09 34 */ lfs f0, 0x934(r31) -/* 80280D3C 0027DC9C D0 1E 09 34 */ stfs f0, 0x934(r30) -/* 80280D40 0027DCA0 C0 1F 09 38 */ lfs f0, 0x938(r31) -/* 80280D44 0027DCA4 D0 1E 09 38 */ stfs f0, 0x938(r30) -/* 80280D48 0027DCA8 C0 1F 09 3C */ lfs f0, 0x93c(r31) -/* 80280D4C 0027DCAC D0 1E 09 3C */ stfs f0, 0x93c(r30) -/* 80280D50 0027DCB0 C0 1F 09 40 */ lfs f0, 0x940(r31) -/* 80280D54 0027DCB4 D0 1E 09 40 */ stfs f0, 0x940(r30) -/* 80280D58 0027DCB8 88 1F 09 44 */ lbz r0, 0x944(r31) -/* 80280D5C 0027DCBC 98 1E 09 44 */ stb r0, 0x944(r30) -/* 80280D60 0027DCC0 4B D8 A0 49 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80280D64 0027DCC4 80 1F 0A 1C */ lwz r0, 0xa1c(r31) -/* 80280D68 0027DCC8 38 9E 0A 30 */ addi r4, r30, 0xa30 -/* 80280D6C 0027DCCC 38 7F 0A 30 */ addi r3, r31, 0xa30 -/* 80280D70 0027DCD0 90 1E 0A 1C */ stw r0, 0xa1c(r30) -/* 80280D74 0027DCD4 80 1F 0A 20 */ lwz r0, 0xa20(r31) -/* 80280D78 0027DCD8 90 1E 0A 20 */ stw r0, 0xa20(r30) -/* 80280D7C 0027DCDC 80 1F 0A 24 */ lwz r0, 0xa24(r31) -/* 80280D80 0027DCE0 90 1E 0A 24 */ stw r0, 0xa24(r30) -/* 80280D84 0027DCE4 80 1F 0A 28 */ lwz r0, 0xa28(r31) -/* 80280D88 0027DCE8 90 1E 0A 28 */ stw r0, 0xa28(r30) -/* 80280D8C 0027DCEC 80 1F 0A 2C */ lwz r0, 0xa2c(r31) -/* 80280D90 0027DCF0 90 1E 0A 2C */ stw r0, 0xa2c(r30) -/* 80280D94 0027DCF4 80 1E 0A 2C */ lwz r0, 0xa2c(r30) -/* 80280D98 0027DCF8 7C 09 03 A6 */ mtctr r0 -/* 80280D9C 0027DCFC 2C 00 00 00 */ cmpwi r0, 0 -/* 80280DA0 0027DD00 40 81 01 08 */ ble lbl_80280EA8 -lbl_80280DA4: -/* 80280DA4 0027DD04 28 04 00 00 */ cmplwi r4, 0 -/* 80280DA8 0027DD08 41 82 00 F4 */ beq lbl_80280E9C -/* 80280DAC 0027DD0C 80 03 00 00 */ lwz r0, 0(r3) -/* 80280DB0 0027DD10 90 04 00 00 */ stw r0, 0(r4) -/* 80280DB4 0027DD14 80 A3 00 04 */ lwz r5, 4(r3) -/* 80280DB8 0027DD18 80 03 00 08 */ lwz r0, 8(r3) -/* 80280DBC 0027DD1C 90 A4 00 04 */ stw r5, 4(r4) -/* 80280DC0 0027DD20 90 04 00 08 */ stw r0, 8(r4) -/* 80280DC4 0027DD24 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 80280DC8 0027DD28 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80280DCC 0027DD2C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80280DD0 0027DD30 90 04 00 10 */ stw r0, 0x10(r4) -/* 80280DD4 0027DD34 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 80280DD8 0027DD38 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80280DDC 0027DD3C 90 A4 00 14 */ stw r5, 0x14(r4) -/* 80280DE0 0027DD40 90 04 00 18 */ stw r0, 0x18(r4) -/* 80280DE4 0027DD44 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 80280DE8 0027DD48 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80280DEC 0027DD4C 90 A4 00 1C */ stw r5, 0x1c(r4) -/* 80280DF0 0027DD50 90 04 00 20 */ stw r0, 0x20(r4) -/* 80280DF4 0027DD54 80 A3 00 24 */ lwz r5, 0x24(r3) -/* 80280DF8 0027DD58 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80280DFC 0027DD5C 90 A4 00 24 */ stw r5, 0x24(r4) -/* 80280E00 0027DD60 90 04 00 28 */ stw r0, 0x28(r4) -/* 80280E04 0027DD64 80 A3 00 2C */ lwz r5, 0x2c(r3) -/* 80280E08 0027DD68 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80280E0C 0027DD6C 90 A4 00 2C */ stw r5, 0x2c(r4) -/* 80280E10 0027DD70 90 04 00 30 */ stw r0, 0x30(r4) -/* 80280E14 0027DD74 80 A3 00 34 */ lwz r5, 0x34(r3) -/* 80280E18 0027DD78 80 03 00 38 */ lwz r0, 0x38(r3) -/* 80280E1C 0027DD7C 90 A4 00 34 */ stw r5, 0x34(r4) -/* 80280E20 0027DD80 90 04 00 38 */ stw r0, 0x38(r4) -/* 80280E24 0027DD84 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80280E28 0027DD88 90 04 00 3C */ stw r0, 0x3c(r4) -/* 80280E2C 0027DD8C 80 A3 00 40 */ lwz r5, 0x40(r3) -/* 80280E30 0027DD90 80 03 00 44 */ lwz r0, 0x44(r3) -/* 80280E34 0027DD94 90 A4 00 40 */ stw r5, 0x40(r4) -/* 80280E38 0027DD98 90 04 00 44 */ stw r0, 0x44(r4) -/* 80280E3C 0027DD9C 80 A3 00 48 */ lwz r5, 0x48(r3) -/* 80280E40 0027DDA0 80 03 00 4C */ lwz r0, 0x4c(r3) -/* 80280E44 0027DDA4 90 A4 00 48 */ stw r5, 0x48(r4) -/* 80280E48 0027DDA8 90 04 00 4C */ stw r0, 0x4c(r4) -/* 80280E4C 0027DDAC 80 A3 00 50 */ lwz r5, 0x50(r3) -/* 80280E50 0027DDB0 80 03 00 54 */ lwz r0, 0x54(r3) -/* 80280E54 0027DDB4 90 A4 00 50 */ stw r5, 0x50(r4) -/* 80280E58 0027DDB8 90 04 00 54 */ stw r0, 0x54(r4) -/* 80280E5C 0027DDBC 80 A3 00 58 */ lwz r5, 0x58(r3) -/* 80280E60 0027DDC0 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80280E64 0027DDC4 90 A4 00 58 */ stw r5, 0x58(r4) -/* 80280E68 0027DDC8 90 04 00 5C */ stw r0, 0x5c(r4) -/* 80280E6C 0027DDCC 80 03 00 60 */ lwz r0, 0x60(r3) -/* 80280E70 0027DDD0 90 04 00 60 */ stw r0, 0x60(r4) -/* 80280E74 0027DDD4 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80280E78 0027DDD8 90 04 00 64 */ stw r0, 0x64(r4) -/* 80280E7C 0027DDDC 80 03 00 68 */ lwz r0, 0x68(r3) -/* 80280E80 0027DDE0 90 04 00 68 */ stw r0, 0x68(r4) -/* 80280E84 0027DDE4 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 80280E88 0027DDE8 90 04 00 6C */ stw r0, 0x6c(r4) -/* 80280E8C 0027DDEC 80 A3 00 70 */ lwz r5, 0x70(r3) -/* 80280E90 0027DDF0 80 03 00 74 */ lwz r0, 0x74(r3) -/* 80280E94 0027DDF4 90 A4 00 70 */ stw r5, 0x70(r4) -/* 80280E98 0027DDF8 90 04 00 74 */ stw r0, 0x74(r4) -lbl_80280E9C: -/* 80280E9C 0027DDFC 38 84 00 78 */ addi r4, r4, 0x78 -/* 80280EA0 0027DE00 38 63 00 78 */ addi r3, r3, 0x78 -/* 80280EA4 0027DE04 42 00 FF 00 */ bdnz lbl_80280DA4 -lbl_80280EA8: -/* 80280EA8 0027DE08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80280EAC 0027DE0C 7F C3 F3 78 */ mr r3, r30 -/* 80280EB0 0027DE10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80280EB4 0027DE14 83 C1 00 08 */ lwz r30, 8(r1) -/* 80280EB8 0027DE18 7C 08 03 A6 */ mtlr r0 -/* 80280EBC 0027DE1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280EC0 0027DE20 4E 80 00 20 */ blr - -.global sub_80280ec4 -sub_80280ec4: -/* 80280EC4 0027DE24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280EC8 0027DE28 7C 08 02 A6 */ mflr r0 -/* 80280ECC 0027DE2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280ED0 0027DE30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80280ED4 0027DE34 7C 7F 1B 78 */ mr r31, r3 -/* 80280ED8 0027DE38 38 64 00 04 */ addi r3, r4, 4 -/* 80280EDC 0027DE3C 80 04 00 00 */ lwz r0, 0(r4) -/* 80280EE0 0027DE40 38 BF 00 04 */ addi r5, r31, 4 -/* 80280EE4 0027DE44 90 1F 00 00 */ stw r0, 0(r31) -/* 80280EE8 0027DE48 80 9F 00 00 */ lwz r4, 0(r31) -/* 80280EEC 0027DE4C 48 00 00 1D */ bl sub_80280f08 -/* 80280EF0 0027DE50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80280EF4 0027DE54 7F E3 FB 78 */ mr r3, r31 -/* 80280EF8 0027DE58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80280EFC 0027DE5C 7C 08 03 A6 */ mtlr r0 -/* 80280F00 0027DE60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280F04 0027DE64 4E 80 00 20 */ blr - -.global sub_80280f08 -sub_80280f08: -/* 80280F08 0027DE68 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80280F0C 0027DE6C 7C 08 02 A6 */ mflr r0 -/* 80280F10 0027DE70 90 01 00 24 */ stw r0, 0x24(r1) -/* 80280F14 0027DE74 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80280F18 0027DE78 7C 7F 1B 78 */ mr r31, r3 -/* 80280F1C 0027DE7C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80280F20 0027DE80 7C BE 2B 78 */ mr r30, r5 -/* 80280F24 0027DE84 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80280F28 0027DE88 3B A0 00 00 */ li r29, 0 -/* 80280F2C 0027DE8C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80280F30 0027DE90 7C 9C 23 78 */ mr r28, r4 -/* 80280F34 0027DE94 48 00 00 1C */ b lbl_80280F50 -lbl_80280F38: -/* 80280F38 0027DE98 7F C3 F3 78 */ mr r3, r30 -/* 80280F3C 0027DE9C 7F E4 FB 78 */ mr r4, r31 -/* 80280F40 0027DEA0 48 00 00 3D */ bl sub_80280f7c -/* 80280F44 0027DEA4 3B DE 00 A8 */ addi r30, r30, 0xa8 -/* 80280F48 0027DEA8 3B BD 00 01 */ addi r29, r29, 1 -/* 80280F4C 0027DEAC 3B FF 00 A8 */ addi r31, r31, 0xa8 -lbl_80280F50: -/* 80280F50 0027DEB0 7C 1D E0 00 */ cmpw r29, r28 -/* 80280F54 0027DEB4 41 80 FF E4 */ blt lbl_80280F38 -/* 80280F58 0027DEB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80280F5C 0027DEBC 7F C3 F3 78 */ mr r3, r30 -/* 80280F60 0027DEC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80280F64 0027DEC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80280F68 0027DEC8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80280F6C 0027DECC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80280F70 0027DED0 7C 08 03 A6 */ mtlr r0 -/* 80280F74 0027DED4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80280F78 0027DED8 4E 80 00 20 */ blr - -.global sub_80280f7c -sub_80280f7c: -/* 80280F7C 0027DEDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280F80 0027DEE0 7C 08 02 A6 */ mflr r0 -/* 80280F84 0027DEE4 28 03 00 00 */ cmplwi r3, 0 -/* 80280F88 0027DEE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280F8C 0027DEEC 41 82 00 08 */ beq lbl_80280F94 -/* 80280F90 0027DEF0 48 00 00 15 */ bl sub_80280fa4 -lbl_80280F94: -/* 80280F94 0027DEF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80280F98 0027DEF8 7C 08 03 A6 */ mtlr r0 -/* 80280F9C 0027DEFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280FA0 0027DF00 4E 80 00 20 */ blr - -.global sub_80280fa4 -sub_80280fa4: -/* 80280FA4 0027DF04 80 04 00 00 */ lwz r0, 0(r4) -/* 80280FA8 0027DF08 90 03 00 00 */ stw r0, 0(r3) -/* 80280FAC 0027DF0C 80 04 00 04 */ lwz r0, 4(r4) -/* 80280FB0 0027DF10 90 03 00 04 */ stw r0, 4(r3) -/* 80280FB4 0027DF14 80 04 00 08 */ lwz r0, 8(r4) -/* 80280FB8 0027DF18 90 03 00 08 */ stw r0, 8(r3) -/* 80280FBC 0027DF1C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80280FC0 0027DF20 90 03 00 0C */ stw r0, 0xc(r3) -/* 80280FC4 0027DF24 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80280FC8 0027DF28 90 03 00 10 */ stw r0, 0x10(r3) -/* 80280FCC 0027DF2C 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80280FD0 0027DF30 90 03 00 14 */ stw r0, 0x14(r3) -/* 80280FD4 0027DF34 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80280FD8 0027DF38 90 03 00 18 */ stw r0, 0x18(r3) -/* 80280FDC 0027DF3C C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80280FE0 0027DF40 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80280FE4 0027DF44 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80280FE8 0027DF48 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80280FEC 0027DF4C C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80280FF0 0027DF50 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80280FF4 0027DF54 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 80280FF8 0027DF58 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80280FFC 0027DF5C C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 80281000 0027DF60 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80281004 0027DF64 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 80281008 0027DF68 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8028100C 0027DF6C C0 04 00 34 */ lfs f0, 0x34(r4) -/* 80281010 0027DF70 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80281014 0027DF74 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 80281018 0027DF78 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8028101C 0027DF7C 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 80281020 0027DF80 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80281024 0027DF84 80 04 00 40 */ lwz r0, 0x40(r4) -/* 80281028 0027DF88 90 03 00 40 */ stw r0, 0x40(r3) -/* 8028102C 0027DF8C 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80281030 0027DF90 90 03 00 44 */ stw r0, 0x44(r3) -/* 80281034 0027DF94 80 04 00 48 */ lwz r0, 0x48(r4) -/* 80281038 0027DF98 90 03 00 48 */ stw r0, 0x48(r3) -/* 8028103C 0027DF9C 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 80281040 0027DFA0 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80281044 0027DFA4 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 80281048 0027DFA8 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 8028104C 0027DFAC C0 04 00 54 */ lfs f0, 0x54(r4) -/* 80281050 0027DFB0 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 80281054 0027DFB4 C0 04 00 58 */ lfs f0, 0x58(r4) -/* 80281058 0027DFB8 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 8028105C 0027DFBC C0 04 00 5C */ lfs f0, 0x5c(r4) -/* 80281060 0027DFC0 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 80281064 0027DFC4 88 04 00 60 */ lbz r0, 0x60(r4) -/* 80281068 0027DFC8 98 03 00 60 */ stb r0, 0x60(r3) -/* 8028106C 0027DFCC 80 04 00 64 */ lwz r0, 0x64(r4) -/* 80281070 0027DFD0 90 03 00 64 */ stw r0, 0x64(r3) -/* 80281074 0027DFD4 80 04 00 68 */ lwz r0, 0x68(r4) -/* 80281078 0027DFD8 90 03 00 68 */ stw r0, 0x68(r3) -/* 8028107C 0027DFDC 80 04 00 6C */ lwz r0, 0x6c(r4) -/* 80281080 0027DFE0 90 03 00 6C */ stw r0, 0x6c(r3) -/* 80281084 0027DFE4 80 04 00 70 */ lwz r0, 0x70(r4) -/* 80281088 0027DFE8 90 03 00 70 */ stw r0, 0x70(r3) -/* 8028108C 0027DFEC 80 04 00 74 */ lwz r0, 0x74(r4) -/* 80281090 0027DFF0 90 03 00 74 */ stw r0, 0x74(r3) -/* 80281094 0027DFF4 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80281098 0027DFF8 90 03 00 78 */ stw r0, 0x78(r3) -/* 8028109C 0027DFFC 80 04 00 7C */ lwz r0, 0x7c(r4) -/* 802810A0 0027E000 90 03 00 7C */ stw r0, 0x7c(r3) -/* 802810A4 0027E004 80 04 00 80 */ lwz r0, 0x80(r4) -/* 802810A8 0027E008 90 03 00 80 */ stw r0, 0x80(r3) -/* 802810AC 0027E00C 80 04 00 84 */ lwz r0, 0x84(r4) -/* 802810B0 0027E010 90 03 00 84 */ stw r0, 0x84(r3) -/* 802810B4 0027E014 C0 04 00 88 */ lfs f0, 0x88(r4) -/* 802810B8 0027E018 D0 03 00 88 */ stfs f0, 0x88(r3) -/* 802810BC 0027E01C 80 04 00 8C */ lwz r0, 0x8c(r4) -/* 802810C0 0027E020 90 03 00 8C */ stw r0, 0x8c(r3) -/* 802810C4 0027E024 88 04 00 90 */ lbz r0, 0x90(r4) -/* 802810C8 0027E028 98 03 00 90 */ stb r0, 0x90(r3) -/* 802810CC 0027E02C C0 04 00 94 */ lfs f0, 0x94(r4) -/* 802810D0 0027E030 D0 03 00 94 */ stfs f0, 0x94(r3) -/* 802810D4 0027E034 C0 04 00 98 */ lfs f0, 0x98(r4) -/* 802810D8 0027E038 D0 03 00 98 */ stfs f0, 0x98(r3) -/* 802810DC 0027E03C C0 04 00 9C */ lfs f0, 0x9c(r4) -/* 802810E0 0027E040 D0 03 00 9C */ stfs f0, 0x9c(r3) -/* 802810E4 0027E044 C0 04 00 A0 */ lfs f0, 0xa0(r4) -/* 802810E8 0027E048 D0 03 00 A0 */ stfs f0, 0xa0(r3) -/* 802810EC 0027E04C 88 04 00 A4 */ lbz r0, 0xa4(r4) -/* 802810F0 0027E050 98 03 00 A4 */ stb r0, 0xa4(r3) -/* 802810F4 0027E054 4E 80 00 20 */ blr - -.global LoadAndBuildPrimeCameraShakeData__FR12CInputStream -LoadAndBuildPrimeCameraShakeData__FR12CInputStream: -/* 802810F8 0027E058 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802810FC 0027E05C 7C 08 02 A6 */ mflr r0 -/* 80281100 0027E060 90 01 00 94 */ stw r0, 0x94(r1) -/* 80281104 0027E064 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80281108 0027E068 7C 7F 1B 78 */ mr r31, r3 -/* 8028110C 0027E06C 38 61 00 08 */ addi r3, r1, 8 -/* 80281110 0027E070 48 00 00 25 */ bl LoadPrimeCameraShakeData__FR12CInputStream -/* 80281114 0027E074 7C 64 1B 78 */ mr r4, r3 -/* 80281118 0027E078 7F E3 FB 78 */ mr r3, r31 -/* 8028111C 0027E07C 4B FF B2 59 */ bl BuildCameraShakeData__FRC21SPrimeCameraShakeData -/* 80281120 0027E080 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80281124 0027E084 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80281128 0027E088 7C 08 03 A6 */ mtlr r0 -/* 8028112C 0027E08C 38 21 00 90 */ addi r1, r1, 0x90 -/* 80281130 0027E090 4E 80 00 20 */ blr - -.global LoadPrimeCameraShakeData__FR12CInputStream -LoadPrimeCameraShakeData__FR12CInputStream: -/* 80281134 0027E094 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281138 0027E098 7C 08 02 A6 */ mflr r0 -/* 8028113C 0027E09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281140 0027E0A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281144 0027E0A4 7C 9F 23 78 */ mr r31, r4 -/* 80281148 0027E0A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028114C 0027E0AC 7C 7E 1B 78 */ mr r30, r3 -/* 80281150 0027E0B0 7F E3 FB 78 */ mr r3, r31 -/* 80281154 0027E0B4 48 0B DB 89 */ bl ReadBool__12CInputStreamFv -/* 80281158 0027E0B8 98 7E 00 00 */ stb r3, 0(r30) -/* 8028115C 0027E0BC 7F E3 FB 78 */ mr r3, r31 -/* 80281160 0027E0C0 48 0B DA C9 */ bl ReadFloat__12CInputStreamFv -/* 80281164 0027E0C4 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80281168 0027E0C8 7F E3 FB 78 */ mr r3, r31 -/* 8028116C 0027E0CC 48 0B DA BD */ bl ReadFloat__12CInputStreamFv -/* 80281170 0027E0D0 D0 3E 00 08 */ stfs f1, 8(r30) -/* 80281174 0027E0D4 7F E4 FB 78 */ mr r4, r31 -/* 80281178 0027E0D8 38 7E 00 0C */ addi r3, r30, 0xc -/* 8028117C 0027E0DC 48 00 00 39 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream -/* 80281180 0027E0E0 7F E4 FB 78 */ mr r4, r31 -/* 80281184 0027E0E4 38 7E 00 30 */ addi r3, r30, 0x30 -/* 80281188 0027E0E8 48 00 00 2D */ bl LoadPrimeCameraShakerComponent__FR12CInputStream -/* 8028118C 0027E0EC 7F E4 FB 78 */ mr r4, r31 -/* 80281190 0027E0F0 38 7E 00 54 */ addi r3, r30, 0x54 -/* 80281194 0027E0F4 48 00 00 21 */ bl LoadPrimeCameraShakerComponent__FR12CInputStream -/* 80281198 0027E0F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028119C 0027E0FC 7F C3 F3 78 */ mr r3, r30 -/* 802811A0 0027E100 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802811A4 0027E104 83 C1 00 08 */ lwz r30, 8(r1) -/* 802811A8 0027E108 7C 08 03 A6 */ mtlr r0 -/* 802811AC 0027E10C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802811B0 0027E110 4E 80 00 20 */ blr - -.global LoadPrimeCameraShakerComponent__FR12CInputStream -LoadPrimeCameraShakerComponent__FR12CInputStream: -/* 802811B4 0027E114 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802811B8 0027E118 7C 08 02 A6 */ mflr r0 -/* 802811BC 0027E11C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802811C0 0027E120 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802811C4 0027E124 7C 9F 23 78 */ mr r31, r4 -/* 802811C8 0027E128 93 C1 00 08 */ stw r30, 8(r1) -/* 802811CC 0027E12C 7C 7E 1B 78 */ mr r30, r3 -/* 802811D0 0027E130 7F E3 FB 78 */ mr r3, r31 -/* 802811D4 0027E134 48 0B DB 09 */ bl ReadBool__12CInputStreamFv -/* 802811D8 0027E138 98 7E 00 00 */ stb r3, 0(r30) -/* 802811DC 0027E13C 7F E3 FB 78 */ mr r3, r31 -/* 802811E0 0027E140 48 0B DA 49 */ bl ReadFloat__12CInputStreamFv -/* 802811E4 0027E144 D0 3E 00 04 */ stfs f1, 4(r30) -/* 802811E8 0027E148 7F E3 FB 78 */ mr r3, r31 -/* 802811EC 0027E14C 48 0B DA 3D */ bl ReadFloat__12CInputStreamFv -/* 802811F0 0027E150 D0 3E 00 08 */ stfs f1, 8(r30) -/* 802811F4 0027E154 7F E3 FB 78 */ mr r3, r31 -/* 802811F8 0027E158 48 0B DA 31 */ bl ReadFloat__12CInputStreamFv -/* 802811FC 0027E15C D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80281200 0027E160 7F E3 FB 78 */ mr r3, r31 -/* 80281204 0027E164 48 0B DA 25 */ bl ReadFloat__12CInputStreamFv -/* 80281208 0027E168 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 8028120C 0027E16C 7F E3 FB 78 */ mr r3, r31 -/* 80281210 0027E170 48 0B DA 19 */ bl ReadFloat__12CInputStreamFv -/* 80281214 0027E174 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80281218 0027E178 7F E3 FB 78 */ mr r3, r31 -/* 8028121C 0027E17C 48 0B DA 0D */ bl ReadFloat__12CInputStreamFv -/* 80281220 0027E180 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80281224 0027E184 7F E3 FB 78 */ mr r3, r31 -/* 80281228 0027E188 48 0B DA 01 */ bl ReadFloat__12CInputStreamFv -/* 8028122C 0027E18C D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80281230 0027E190 7F E3 FB 78 */ mr r3, r31 -/* 80281234 0027E194 48 0B D9 F5 */ bl ReadFloat__12CInputStreamFv -/* 80281238 0027E198 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 8028123C 0027E19C 7F C3 F3 78 */ mr r3, r30 -/* 80281240 0027E1A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281244 0027E1A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281248 0027E1A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028124C 0027E1AC 7C 08 03 A6 */ mtlr r0 -/* 80281250 0027E1B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281254 0027E1B4 4E 80 00 20 */ blr - -.global LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream -LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream: -/* 80281258 0027E1B8 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 8028125C 0027E1BC 7C 08 02 A6 */ mflr r0 -/* 80281260 0027E1C0 90 01 02 84 */ stw r0, 0x284(r1) -/* 80281264 0027E1C4 38 00 00 00 */ li r0, 0 -/* 80281268 0027E1C8 93 E1 02 7C */ stw r31, 0x27c(r1) -/* 8028126C 0027E1CC 3B E1 00 84 */ addi r31, r1, 0x84 -/* 80281270 0027E1D0 93 C1 02 78 */ stw r30, 0x278(r1) -/* 80281274 0027E1D4 3B C0 00 00 */ li r30, 0 -/* 80281278 0027E1D8 93 A1 02 74 */ stw r29, 0x274(r1) -/* 8028127C 0027E1DC 7C 9D 23 78 */ mr r29, r4 -/* 80281280 0027E1E0 93 81 02 70 */ stw r28, 0x270(r1) -/* 80281284 0027E1E4 7C 7C 1B 78 */ mr r28, r3 -/* 80281288 0027E1E8 90 01 00 80 */ stw r0, 0x80(r1) -lbl_8028128C: -/* 8028128C 0027E1EC 7F A4 EB 78 */ mr r4, r29 -/* 80281290 0027E1F0 38 61 00 08 */ addi r3, r1, 8 -/* 80281294 0027E1F4 4B FF B0 6D */ bl __ct__13SPrimeStruct6FR12CInputStream -/* 80281298 0027E1F8 80 01 00 80 */ lwz r0, 0x80(r1) -/* 8028129C 0027E1FC 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 802812A0 0027E200 7C 7F 02 15 */ add. r3, r31, r0 -/* 802812A4 0027E204 41 82 00 F4 */ beq lbl_80281398 -/* 802812A8 0027E208 80 81 00 08 */ lwz r4, 8(r1) -/* 802812AC 0027E20C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802812B0 0027E210 90 83 00 00 */ stw r4, 0(r3) -/* 802812B4 0027E214 80 81 00 10 */ lwz r4, 0x10(r1) -/* 802812B8 0027E218 90 03 00 04 */ stw r0, 4(r3) -/* 802812BC 0027E21C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802812C0 0027E220 90 83 00 08 */ stw r4, 8(r3) -/* 802812C4 0027E224 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802812C8 0027E228 90 03 00 0C */ stw r0, 0xc(r3) -/* 802812CC 0027E22C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802812D0 0027E230 90 83 00 10 */ stw r4, 0x10(r3) -/* 802812D4 0027E234 80 81 00 20 */ lwz r4, 0x20(r1) -/* 802812D8 0027E238 90 03 00 14 */ stw r0, 0x14(r3) -/* 802812DC 0027E23C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802812E0 0027E240 90 83 00 18 */ stw r4, 0x18(r3) -/* 802812E4 0027E244 80 81 00 28 */ lwz r4, 0x28(r1) -/* 802812E8 0027E248 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802812EC 0027E24C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802812F0 0027E250 90 83 00 20 */ stw r4, 0x20(r3) -/* 802812F4 0027E254 80 81 00 30 */ lwz r4, 0x30(r1) -/* 802812F8 0027E258 90 03 00 24 */ stw r0, 0x24(r3) -/* 802812FC 0027E25C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80281300 0027E260 90 83 00 28 */ stw r4, 0x28(r3) -/* 80281304 0027E264 80 81 00 38 */ lwz r4, 0x38(r1) -/* 80281308 0027E268 90 03 00 2C */ stw r0, 0x2c(r3) -/* 8028130C 0027E26C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80281310 0027E270 90 83 00 30 */ stw r4, 0x30(r3) -/* 80281314 0027E274 80 81 00 40 */ lwz r4, 0x40(r1) -/* 80281318 0027E278 90 03 00 34 */ stw r0, 0x34(r3) -/* 8028131C 0027E27C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80281320 0027E280 90 83 00 38 */ stw r4, 0x38(r3) -/* 80281324 0027E284 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80281328 0027E288 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8028132C 0027E28C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80281330 0027E290 90 83 00 40 */ stw r4, 0x40(r3) -/* 80281334 0027E294 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80281338 0027E298 90 03 00 44 */ stw r0, 0x44(r3) -/* 8028133C 0027E29C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80281340 0027E2A0 90 83 00 48 */ stw r4, 0x48(r3) -/* 80281344 0027E2A4 80 81 00 58 */ lwz r4, 0x58(r1) -/* 80281348 0027E2A8 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8028134C 0027E2AC 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80281350 0027E2B0 90 83 00 50 */ stw r4, 0x50(r3) -/* 80281354 0027E2B4 80 81 00 60 */ lwz r4, 0x60(r1) -/* 80281358 0027E2B8 90 03 00 54 */ stw r0, 0x54(r3) -/* 8028135C 0027E2BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80281360 0027E2C0 90 83 00 58 */ stw r4, 0x58(r3) -/* 80281364 0027E2C4 80 81 00 68 */ lwz r4, 0x68(r1) -/* 80281368 0027E2C8 90 03 00 5C */ stw r0, 0x5c(r3) -/* 8028136C 0027E2CC 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80281370 0027E2D0 90 83 00 60 */ stw r4, 0x60(r3) -/* 80281374 0027E2D4 80 81 00 70 */ lwz r4, 0x70(r1) -/* 80281378 0027E2D8 90 03 00 64 */ stw r0, 0x64(r3) -/* 8028137C 0027E2DC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80281380 0027E2E0 90 83 00 68 */ stw r4, 0x68(r3) -/* 80281384 0027E2E4 80 81 00 78 */ lwz r4, 0x78(r1) -/* 80281388 0027E2E8 90 03 00 6C */ stw r0, 0x6c(r3) -/* 8028138C 0027E2EC 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 80281390 0027E2F0 90 83 00 70 */ stw r4, 0x70(r3) -/* 80281394 0027E2F4 90 03 00 74 */ stw r0, 0x74(r3) -lbl_80281398: -/* 80281398 0027E2F8 80 61 00 80 */ lwz r3, 0x80(r1) -/* 8028139C 0027E2FC 3B DE 00 01 */ addi r30, r30, 1 -/* 802813A0 0027E300 2C 1E 00 04 */ cmpwi r30, 4 -/* 802813A4 0027E304 38 03 00 01 */ addi r0, r3, 1 -/* 802813A8 0027E308 90 01 00 80 */ stw r0, 0x80(r1) -/* 802813AC 0027E30C 41 80 FE E0 */ blt lbl_8028128C -/* 802813B0 0027E310 90 1C 00 00 */ stw r0, 0(r28) -/* 802813B4 0027E314 38 7C 00 04 */ addi r3, r28, 4 -/* 802813B8 0027E318 80 1C 00 00 */ lwz r0, 0(r28) -/* 802813BC 0027E31C 7C 09 03 A6 */ mtctr r0 -/* 802813C0 0027E320 2C 00 00 00 */ cmpwi r0, 0 -/* 802813C4 0027E324 40 81 01 08 */ ble lbl_802814CC -lbl_802813C8: -/* 802813C8 0027E328 28 03 00 00 */ cmplwi r3, 0 -/* 802813CC 0027E32C 41 82 00 F4 */ beq lbl_802814C0 -/* 802813D0 0027E330 80 9F 00 00 */ lwz r4, 0(r31) -/* 802813D4 0027E334 80 1F 00 04 */ lwz r0, 4(r31) -/* 802813D8 0027E338 90 83 00 00 */ stw r4, 0(r3) -/* 802813DC 0027E33C 80 9F 00 08 */ lwz r4, 8(r31) -/* 802813E0 0027E340 90 03 00 04 */ stw r0, 4(r3) -/* 802813E4 0027E344 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802813E8 0027E348 90 83 00 08 */ stw r4, 8(r3) -/* 802813EC 0027E34C 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 802813F0 0027E350 90 03 00 0C */ stw r0, 0xc(r3) -/* 802813F4 0027E354 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802813F8 0027E358 90 83 00 10 */ stw r4, 0x10(r3) -/* 802813FC 0027E35C 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80281400 0027E360 90 03 00 14 */ stw r0, 0x14(r3) -/* 80281404 0027E364 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80281408 0027E368 90 83 00 18 */ stw r4, 0x18(r3) -/* 8028140C 0027E36C 80 9F 00 20 */ lwz r4, 0x20(r31) -/* 80281410 0027E370 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80281414 0027E374 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80281418 0027E378 90 83 00 20 */ stw r4, 0x20(r3) -/* 8028141C 0027E37C 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 80281420 0027E380 90 03 00 24 */ stw r0, 0x24(r3) -/* 80281424 0027E384 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80281428 0027E388 90 83 00 28 */ stw r4, 0x28(r3) -/* 8028142C 0027E38C 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 80281430 0027E390 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80281434 0027E394 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80281438 0027E398 90 83 00 30 */ stw r4, 0x30(r3) -/* 8028143C 0027E39C 80 9F 00 38 */ lwz r4, 0x38(r31) -/* 80281440 0027E3A0 90 03 00 34 */ stw r0, 0x34(r3) -/* 80281444 0027E3A4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80281448 0027E3A8 90 83 00 38 */ stw r4, 0x38(r3) -/* 8028144C 0027E3AC 80 9F 00 40 */ lwz r4, 0x40(r31) -/* 80281450 0027E3B0 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80281454 0027E3B4 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80281458 0027E3B8 90 83 00 40 */ stw r4, 0x40(r3) -/* 8028145C 0027E3BC 80 9F 00 48 */ lwz r4, 0x48(r31) -/* 80281460 0027E3C0 90 03 00 44 */ stw r0, 0x44(r3) -/* 80281464 0027E3C4 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80281468 0027E3C8 90 83 00 48 */ stw r4, 0x48(r3) -/* 8028146C 0027E3CC 80 9F 00 50 */ lwz r4, 0x50(r31) -/* 80281470 0027E3D0 90 03 00 4C */ stw r0, 0x4c(r3) -/* 80281474 0027E3D4 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 80281478 0027E3D8 90 83 00 50 */ stw r4, 0x50(r3) -/* 8028147C 0027E3DC 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 80281480 0027E3E0 90 03 00 54 */ stw r0, 0x54(r3) -/* 80281484 0027E3E4 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80281488 0027E3E8 90 83 00 58 */ stw r4, 0x58(r3) -/* 8028148C 0027E3EC 80 9F 00 60 */ lwz r4, 0x60(r31) -/* 80281490 0027E3F0 90 03 00 5C */ stw r0, 0x5c(r3) -/* 80281494 0027E3F4 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 80281498 0027E3F8 90 83 00 60 */ stw r4, 0x60(r3) -/* 8028149C 0027E3FC 80 9F 00 68 */ lwz r4, 0x68(r31) -/* 802814A0 0027E400 90 03 00 64 */ stw r0, 0x64(r3) -/* 802814A4 0027E404 80 1F 00 6C */ lwz r0, 0x6c(r31) -/* 802814A8 0027E408 90 83 00 68 */ stw r4, 0x68(r3) -/* 802814AC 0027E40C 80 9F 00 70 */ lwz r4, 0x70(r31) -/* 802814B0 0027E410 90 03 00 6C */ stw r0, 0x6c(r3) -/* 802814B4 0027E414 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 802814B8 0027E418 90 83 00 70 */ stw r4, 0x70(r3) -/* 802814BC 0027E41C 90 03 00 74 */ stw r0, 0x74(r3) -lbl_802814C0: -/* 802814C0 0027E420 38 63 00 78 */ addi r3, r3, 0x78 -/* 802814C4 0027E424 3B FF 00 78 */ addi r31, r31, 0x78 -/* 802814C8 0027E428 42 00 FF 00 */ bdnz lbl_802813C8 -lbl_802814CC: -/* 802814CC 0027E42C 80 A1 00 80 */ lwz r5, 0x80(r1) -/* 802814D0 0027E430 38 60 00 00 */ li r3, 0 -/* 802814D4 0027E434 2C 05 00 00 */ cmpwi r5, 0 -/* 802814D8 0027E438 40 81 00 40 */ ble lbl_80281518 -/* 802814DC 0027E43C 2C 05 00 08 */ cmpwi r5, 8 -/* 802814E0 0027E440 38 85 FF F8 */ addi r4, r5, -8 -/* 802814E4 0027E444 40 81 00 20 */ ble lbl_80281504 -/* 802814E8 0027E448 38 04 00 07 */ addi r0, r4, 7 -/* 802814EC 0027E44C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802814F0 0027E450 7C 09 03 A6 */ mtctr r0 -/* 802814F4 0027E454 2C 04 00 00 */ cmpwi r4, 0 -/* 802814F8 0027E458 40 81 00 0C */ ble lbl_80281504 -lbl_802814FC: -/* 802814FC 0027E45C 38 63 00 08 */ addi r3, r3, 8 -/* 80281500 0027E460 42 00 FF FC */ bdnz lbl_802814FC -lbl_80281504: -/* 80281504 0027E464 7C 03 28 50 */ subf r0, r3, r5 -/* 80281508 0027E468 7C 09 03 A6 */ mtctr r0 -/* 8028150C 0027E46C 7C 03 28 00 */ cmpw r3, r5 -/* 80281510 0027E470 40 80 00 08 */ bge lbl_80281518 -lbl_80281514: -/* 80281514 0027E474 42 00 00 00 */ bdnz lbl_80281514 -lbl_80281518: -/* 80281518 0027E478 38 00 00 00 */ li r0, 0 -/* 8028151C 0027E47C 83 E1 02 7C */ lwz r31, 0x27c(r1) -/* 80281520 0027E480 90 01 00 80 */ stw r0, 0x80(r1) -/* 80281524 0027E484 80 01 02 84 */ lwz r0, 0x284(r1) -/* 80281528 0027E488 83 C1 02 78 */ lwz r30, 0x278(r1) -/* 8028152C 0027E48C 83 A1 02 74 */ lwz r29, 0x274(r1) -/* 80281530 0027E490 83 81 02 70 */ lwz r28, 0x270(r1) -/* 80281534 0027E494 7C 08 03 A6 */ mtlr r0 -/* 80281538 0027E498 38 21 02 80 */ addi r1, r1, 0x280 -/* 8028153C 0027E49C 4E 80 00 20 */ blr - -.global LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream -LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream: -/* 80281540 0027E4A0 94 21 FC 90 */ stwu r1, -0x370(r1) -/* 80281544 0027E4A4 7C 08 02 A6 */ mflr r0 -/* 80281548 0027E4A8 90 01 03 74 */ stw r0, 0x374(r1) -/* 8028154C 0027E4AC 38 00 00 00 */ li r0, 0 -/* 80281550 0027E4B0 93 E1 03 6C */ stw r31, 0x36c(r1) -/* 80281554 0027E4B4 3B E0 00 00 */ li r31, 0 -/* 80281558 0027E4B8 93 C1 03 68 */ stw r30, 0x368(r1) -/* 8028155C 0027E4BC 7C 9E 23 78 */ mr r30, r4 -/* 80281560 0027E4C0 93 A1 03 64 */ stw r29, 0x364(r1) -/* 80281564 0027E4C4 7C 7D 1B 78 */ mr r29, r3 -/* 80281568 0027E4C8 90 01 00 B0 */ stw r0, 0xb0(r1) -lbl_8028156C: -/* 8028156C 0027E4CC 7F C4 F3 78 */ mr r4, r30 -/* 80281570 0027E4D0 38 61 00 08 */ addi r3, r1, 8 -/* 80281574 0027E4D4 48 00 00 E1 */ bl __ct__13SPrimeStruct4FR12CInputStream -/* 80281578 0027E4D8 7C 64 1B 78 */ mr r4, r3 -/* 8028157C 0027E4DC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80281580 0027E4E0 48 00 00 8D */ bl sub_8028160c -/* 80281584 0027E4E4 3B FF 00 01 */ addi r31, r31, 1 -/* 80281588 0027E4E8 2C 1F 00 04 */ cmpwi r31, 4 -/* 8028158C 0027E4EC 41 80 FF E0 */ blt lbl_8028156C -/* 80281590 0027E4F0 7F A3 EB 78 */ mr r3, r29 -/* 80281594 0027E4F4 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80281598 0027E4F8 4B FF F9 2D */ bl sub_80280ec4 -/* 8028159C 0027E4FC 80 A1 00 B0 */ lwz r5, 0xb0(r1) -/* 802815A0 0027E500 38 60 00 00 */ li r3, 0 -/* 802815A4 0027E504 2C 05 00 00 */ cmpwi r5, 0 -/* 802815A8 0027E508 40 81 00 40 */ ble lbl_802815E8 -/* 802815AC 0027E50C 2C 05 00 08 */ cmpwi r5, 8 -/* 802815B0 0027E510 38 85 FF F8 */ addi r4, r5, -8 -/* 802815B4 0027E514 40 81 00 20 */ ble lbl_802815D4 -/* 802815B8 0027E518 38 04 00 07 */ addi r0, r4, 7 -/* 802815BC 0027E51C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802815C0 0027E520 7C 09 03 A6 */ mtctr r0 -/* 802815C4 0027E524 2C 04 00 00 */ cmpwi r4, 0 -/* 802815C8 0027E528 40 81 00 0C */ ble lbl_802815D4 -lbl_802815CC: -/* 802815CC 0027E52C 38 63 00 08 */ addi r3, r3, 8 -/* 802815D0 0027E530 42 00 FF FC */ bdnz lbl_802815CC -lbl_802815D4: -/* 802815D4 0027E534 7C 03 28 50 */ subf r0, r3, r5 -/* 802815D8 0027E538 7C 09 03 A6 */ mtctr r0 -/* 802815DC 0027E53C 7C 03 28 00 */ cmpw r3, r5 -/* 802815E0 0027E540 40 80 00 08 */ bge lbl_802815E8 -lbl_802815E4: -/* 802815E4 0027E544 42 00 00 00 */ bdnz lbl_802815E4 -lbl_802815E8: -/* 802815E8 0027E548 38 00 00 00 */ li r0, 0 -/* 802815EC 0027E54C 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 802815F0 0027E550 80 01 03 74 */ lwz r0, 0x374(r1) -/* 802815F4 0027E554 83 E1 03 6C */ lwz r31, 0x36c(r1) -/* 802815F8 0027E558 83 C1 03 68 */ lwz r30, 0x368(r1) -/* 802815FC 0027E55C 83 A1 03 64 */ lwz r29, 0x364(r1) -/* 80281600 0027E560 7C 08 03 A6 */ mtlr r0 -/* 80281604 0027E564 38 21 03 70 */ addi r1, r1, 0x370 -/* 80281608 0027E568 4E 80 00 20 */ blr - -.global sub_8028160c -sub_8028160c: -/* 8028160C 0027E56C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281610 0027E570 7C 08 02 A6 */ mflr r0 -/* 80281614 0027E574 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281618 0027E578 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028161C 0027E57C 7C 7F 1B 78 */ mr r31, r3 -/* 80281620 0027E580 80 03 00 00 */ lwz r0, 0(r3) -/* 80281624 0027E584 1C 00 00 A8 */ mulli r0, r0, 0xa8 -/* 80281628 0027E588 7C 7F 02 14 */ add r3, r31, r0 -/* 8028162C 0027E58C 38 63 00 04 */ addi r3, r3, 4 -/* 80281630 0027E590 4B FF F9 4D */ bl sub_80280f7c -/* 80281634 0027E594 80 7F 00 00 */ lwz r3, 0(r31) -/* 80281638 0027E598 38 03 00 01 */ addi r0, r3, 1 -/* 8028163C 0027E59C 90 1F 00 00 */ stw r0, 0(r31) -/* 80281640 0027E5A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281644 0027E5A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281648 0027E5A8 7C 08 03 A6 */ mtlr r0 -/* 8028164C 0027E5AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281650 0027E5B0 4E 80 00 20 */ blr - -.global __ct__13SPrimeStruct4FR12CInputStream -__ct__13SPrimeStruct4FR12CInputStream: -/* 80281654 0027E5B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281658 0027E5B8 7C 08 02 A6 */ mflr r0 -/* 8028165C 0027E5BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281660 0027E5C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281664 0027E5C4 7C 9F 23 78 */ mr r31, r4 -/* 80281668 0027E5C8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028166C 0027E5CC 7C 7E 1B 78 */ mr r30, r3 -/* 80281670 0027E5D0 4B E4 4E E1 */ bl __ct__9CBeamInfoFR12CInputStream -/* 80281674 0027E5D4 7F E3 FB 78 */ mr r3, r31 -/* 80281678 0027E5D8 48 0B D6 0D */ bl ReadLong__12CInputStreamFv -/* 8028167C 0027E5DC 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80281680 0027E5E0 7F E4 FB 78 */ mr r4, r31 -/* 80281684 0027E5E4 38 7E 00 48 */ addi r3, r30, 0x48 -/* 80281688 0027E5E8 4B E4 1E D9 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8028168C 0027E5EC 7F E4 FB 78 */ mr r4, r31 -/* 80281690 0027E5F0 38 7E 00 64 */ addi r3, r30, 0x64 -/* 80281694 0027E5F4 48 00 00 39 */ bl __ct__13SPrimeStruct5FR12CInputStream -/* 80281698 0027E5F8 7F E3 FB 78 */ mr r3, r31 -/* 8028169C 0027E5FC 48 0B D5 8D */ bl ReadFloat__12CInputStreamFv -/* 802816A0 0027E600 D0 3E 00 88 */ stfs f1, 0x88(r30) -/* 802816A4 0027E604 7F E4 FB 78 */ mr r4, r31 -/* 802816A8 0027E608 38 7E 00 8C */ addi r3, r30, 0x8c -/* 802816AC 0027E60C 4B E4 1E B5 */ bl __ct__11CDamageInfoFR12CInputStream -/* 802816B0 0027E610 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802816B4 0027E614 7F C3 F3 78 */ mr r3, r30 -/* 802816B8 0027E618 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802816BC 0027E61C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802816C0 0027E620 7C 08 03 A6 */ mtlr r0 -/* 802816C4 0027E624 38 21 00 10 */ addi r1, r1, 0x10 -/* 802816C8 0027E628 4E 80 00 20 */ blr - -.global __ct__13SPrimeStruct5FR12CInputStream -__ct__13SPrimeStruct5FR12CInputStream: -/* 802816CC 0027E62C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802816D0 0027E630 7C 08 02 A6 */ mflr r0 -/* 802816D4 0027E634 90 01 00 14 */ stw r0, 0x14(r1) -/* 802816D8 0027E638 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802816DC 0027E63C 7C 9F 23 78 */ mr r31, r4 -/* 802816E0 0027E640 93 C1 00 08 */ stw r30, 8(r1) -/* 802816E4 0027E644 7C 7E 1B 78 */ mr r30, r3 -/* 802816E8 0027E648 7F E3 FB 78 */ mr r3, r31 -/* 802816EC 0027E64C 48 0B D5 99 */ bl ReadLong__12CInputStreamFv -/* 802816F0 0027E650 90 7E 00 00 */ stw r3, 0(r30) -/* 802816F4 0027E654 7F E3 FB 78 */ mr r3, r31 -/* 802816F8 0027E658 48 0B D5 8D */ bl ReadLong__12CInputStreamFv -/* 802816FC 0027E65C 90 7E 00 04 */ stw r3, 4(r30) -/* 80281700 0027E660 7F E3 FB 78 */ mr r3, r31 -/* 80281704 0027E664 48 0B D5 81 */ bl ReadLong__12CInputStreamFv -/* 80281708 0027E668 90 7E 00 08 */ stw r3, 8(r30) -/* 8028170C 0027E66C 7F E3 FB 78 */ mr r3, r31 -/* 80281710 0027E670 48 0B D5 75 */ bl ReadLong__12CInputStreamFv -/* 80281714 0027E674 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80281718 0027E678 7F E3 FB 78 */ mr r3, r31 -/* 8028171C 0027E67C 48 0B D5 69 */ bl ReadLong__12CInputStreamFv -/* 80281720 0027E680 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80281724 0027E684 7F E3 FB 78 */ mr r3, r31 -/* 80281728 0027E688 48 0B D5 5D */ bl ReadLong__12CInputStreamFv -/* 8028172C 0027E68C 90 7E 00 14 */ stw r3, 0x14(r30) -/* 80281730 0027E690 7F E3 FB 78 */ mr r3, r31 -/* 80281734 0027E694 48 0B D5 51 */ bl ReadLong__12CInputStreamFv -/* 80281738 0027E698 90 7E 00 18 */ stw r3, 0x18(r30) -/* 8028173C 0027E69C 7F E3 FB 78 */ mr r3, r31 -/* 80281740 0027E6A0 48 0B D5 45 */ bl ReadLong__12CInputStreamFv -/* 80281744 0027E6A4 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 80281748 0027E6A8 7F E3 FB 78 */ mr r3, r31 -/* 8028174C 0027E6AC 48 0B D5 39 */ bl ReadLong__12CInputStreamFv -/* 80281750 0027E6B0 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80281754 0027E6B4 7F C3 F3 78 */ mr r3, r30 -/* 80281758 0027E6B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028175C 0027E6BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281760 0027E6C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80281764 0027E6C4 7C 08 03 A6 */ mtlr r0 -/* 80281768 0027E6C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028176C 0027E6CC 4E 80 00 20 */ blr - -.global sub_80281770 -sub_80281770: -/* 80281770 0027E6D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281774 0027E6D4 7C 08 02 A6 */ mflr r0 -/* 80281778 0027E6D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028177C 0027E6DC 48 0B D5 09 */ bl ReadLong__12CInputStreamFv -/* 80281780 0027E6E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281784 0027E6E4 7C 08 03 A6 */ mtlr r0 -/* 80281788 0027E6E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028178C 0027E6EC 4E 80 00 20 */ blr - -.global __ct__19SPrimeExoParametersFR12CInputStream -__ct__19SPrimeExoParametersFR12CInputStream: -/* 80281790 0027E6F0 94 21 F6 00 */ stwu r1, -0xa00(r1) -/* 80281794 0027E6F4 7C 08 02 A6 */ mflr r0 -/* 80281798 0027E6F8 90 01 0A 04 */ stw r0, 0xa04(r1) -/* 8028179C 0027E6FC 93 E1 09 FC */ stw r31, 0x9fc(r1) -/* 802817A0 0027E700 7C 9F 23 78 */ mr r31, r4 -/* 802817A4 0027E704 93 C1 09 F8 */ stw r30, 0x9f8(r1) -/* 802817A8 0027E708 7C 7E 1B 78 */ mr r30, r3 -/* 802817AC 0027E70C 7F E3 FB 78 */ mr r3, r31 -/* 802817B0 0027E710 4B FF FF C1 */ bl sub_80281770 -/* 802817B4 0027E714 3C 80 80 3D */ lis r4, lbl_803D58D8@ha -/* 802817B8 0027E718 90 7E 00 00 */ stw r3, 0(r30) -/* 802817BC 0027E71C 38 A4 58 D8 */ addi r5, r4, lbl_803D58D8@l -/* 802817C0 0027E720 7F E4 FB 78 */ mr r4, r31 -/* 802817C4 0027E724 38 61 00 08 */ addi r3, r1, 8 -/* 802817C8 0027E728 38 A5 00 20 */ addi r5, r5, 0x20 -/* 802817CC 0027E72C 4B E8 40 5D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream -/* 802817D0 0027E730 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802817D4 0027E734 7F E4 FB 78 */ mr r4, r31 -/* 802817D8 0027E738 38 7E 00 04 */ addi r3, r30, 4 -/* 802817DC 0027E73C 4B E8 40 9D */ bl __ct__14CPatternedInfoFR12CInputStreamUi -/* 802817E0 0027E740 7F E4 FB 78 */ mr r4, r31 -/* 802817E4 0027E744 38 61 00 10 */ addi r3, r1, 0x10 -/* 802817E8 0027E748 4B E5 85 8D */ bl LoadActorParameters__FR12CInputStream -/* 802817EC 0027E74C 38 7E 01 3C */ addi r3, r30, 0x13c -/* 802817F0 0027E750 38 81 00 10 */ addi r4, r1, 0x10 -/* 802817F4 0027E754 4B E4 3E 29 */ bl __ct__16CActorParametersFRC16CActorParameters -/* 802817F8 0027E758 38 61 00 10 */ addi r3, r1, 0x10 -/* 802817FC 0027E75C 38 80 FF FF */ li r4, -1 -/* 80281800 0027E760 4B E8 4E 09 */ bl __dt__16CActorParametersFv -/* 80281804 0027E764 7F E3 FB 78 */ mr r3, r31 -/* 80281808 0027E768 48 0B D4 7D */ bl ReadLong__12CInputStreamFv -/* 8028180C 0027E76C 38 03 FF FF */ addi r0, r3, -1 -/* 80281810 0027E770 7F E4 FB 78 */ mr r4, r31 -/* 80281814 0027E774 90 1E 01 A4 */ stw r0, 0x1a4(r30) -/* 80281818 0027E778 38 61 04 9C */ addi r3, r1, 0x49c -/* 8028181C 0027E77C 4B FF F8 DD */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 80281820 0027E780 38 7E 01 A8 */ addi r3, r30, 0x1a8 -/* 80281824 0027E784 38 81 04 9C */ addi r4, r1, 0x49c -/* 80281828 0027E788 4B D8 95 81 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 8028182C 0027E78C 34 81 05 1C */ addic. r4, r1, 0x51c -/* 80281830 0027E790 41 82 00 10 */ beq lbl_80281840 -/* 80281834 0027E794 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281838 0027E798 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8028183C 0027E79C 90 04 00 00 */ stw r0, 0(r4) -lbl_80281840: -/* 80281840 0027E7A0 34 81 04 E0 */ addic. r4, r1, 0x4e0 -/* 80281844 0027E7A4 41 82 00 10 */ beq lbl_80281854 -/* 80281848 0027E7A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8028184C 0027E7AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281850 0027E7B0 90 04 00 00 */ stw r0, 0(r4) -lbl_80281854: -/* 80281854 0027E7B4 34 81 04 A4 */ addic. r4, r1, 0x4a4 -/* 80281858 0027E7B8 41 82 00 10 */ beq lbl_80281868 -/* 8028185C 0027E7BC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281860 0027E7C0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281864 0027E7C4 90 04 00 00 */ stw r0, 0(r4) -lbl_80281868: -/* 80281868 0027E7C8 7F E4 FB 78 */ mr r4, r31 -/* 8028186C 0027E7CC 38 61 03 C8 */ addi r3, r1, 0x3c8 -/* 80281870 0027E7D0 4B FF F8 89 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 80281874 0027E7D4 38 7E 02 7C */ addi r3, r30, 0x27c -/* 80281878 0027E7D8 38 81 03 C8 */ addi r4, r1, 0x3c8 -/* 8028187C 0027E7DC 4B D8 95 2D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80281880 0027E7E0 34 81 04 48 */ addic. r4, r1, 0x448 -/* 80281884 0027E7E4 41 82 00 10 */ beq lbl_80281894 -/* 80281888 0027E7E8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8028188C 0027E7EC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281890 0027E7F0 90 04 00 00 */ stw r0, 0(r4) -lbl_80281894: -/* 80281894 0027E7F4 34 81 04 0C */ addic. r4, r1, 0x40c -/* 80281898 0027E7F8 41 82 00 10 */ beq lbl_802818A8 -/* 8028189C 0027E7FC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802818A0 0027E800 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802818A4 0027E804 90 04 00 00 */ stw r0, 0(r4) -lbl_802818A8: -/* 802818A8 0027E808 34 81 03 D0 */ addic. r4, r1, 0x3d0 -/* 802818AC 0027E80C 41 82 00 10 */ beq lbl_802818BC -/* 802818B0 0027E810 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802818B4 0027E814 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802818B8 0027E818 90 04 00 00 */ stw r0, 0(r4) -lbl_802818BC: -/* 802818BC 0027E81C 7F E4 FB 78 */ mr r4, r31 -/* 802818C0 0027E820 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 802818C4 0027E824 4B FF F8 35 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 802818C8 0027E828 38 7E 03 50 */ addi r3, r30, 0x350 -/* 802818CC 0027E82C 38 81 02 F4 */ addi r4, r1, 0x2f4 -/* 802818D0 0027E830 4B D8 94 D9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 802818D4 0027E834 34 81 03 74 */ addic. r4, r1, 0x374 -/* 802818D8 0027E838 41 82 00 10 */ beq lbl_802818E8 -/* 802818DC 0027E83C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802818E0 0027E840 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802818E4 0027E844 90 04 00 00 */ stw r0, 0(r4) -lbl_802818E8: -/* 802818E8 0027E848 34 81 03 38 */ addic. r4, r1, 0x338 -/* 802818EC 0027E84C 41 82 00 10 */ beq lbl_802818FC -/* 802818F0 0027E850 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802818F4 0027E854 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802818F8 0027E858 90 04 00 00 */ stw r0, 0(r4) -lbl_802818FC: -/* 802818FC 0027E85C 34 81 02 FC */ addic. r4, r1, 0x2fc -/* 80281900 0027E860 41 82 00 10 */ beq lbl_80281910 -/* 80281904 0027E864 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281908 0027E868 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8028190C 0027E86C 90 04 00 00 */ stw r0, 0(r4) -lbl_80281910: -/* 80281910 0027E870 7F E4 FB 78 */ mr r4, r31 -/* 80281914 0027E874 38 7E 04 24 */ addi r3, r30, 0x424 -/* 80281918 0027E878 48 00 03 91 */ bl __ct__14SPrimeStruct2BFR12CInputStream -/* 8028191C 0027E87C 7F E3 FB 78 */ mr r3, r31 -/* 80281920 0027E880 48 0B D3 65 */ bl ReadLong__12CInputStreamFv -/* 80281924 0027E884 90 7E 04 60 */ stw r3, 0x460(r30) -/* 80281928 0027E888 7F E4 FB 78 */ mr r4, r31 -/* 8028192C 0027E88C 38 61 07 54 */ addi r3, r1, 0x754 -/* 80281930 0027E890 4B FF FC 11 */ bl LoadPrimeStruct4s__19SPrimeExoParametersFR12CInputStream -/* 80281934 0027E894 38 7E 04 64 */ addi r3, r30, 0x464 -/* 80281938 0027E898 38 81 07 54 */ addi r4, r1, 0x754 -/* 8028193C 0027E89C 4B FF F5 89 */ bl sub_80280ec4 -/* 80281940 0027E8A0 80 A1 07 54 */ lwz r5, 0x754(r1) -/* 80281944 0027E8A4 38 60 00 00 */ li r3, 0 -/* 80281948 0027E8A8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028194C 0027E8AC 40 81 00 40 */ ble lbl_8028198C -/* 80281950 0027E8B0 2C 05 00 08 */ cmpwi r5, 8 -/* 80281954 0027E8B4 38 85 FF F8 */ addi r4, r5, -8 -/* 80281958 0027E8B8 40 81 00 20 */ ble lbl_80281978 -/* 8028195C 0027E8BC 38 04 00 07 */ addi r0, r4, 7 -/* 80281960 0027E8C0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80281964 0027E8C4 7C 09 03 A6 */ mtctr r0 -/* 80281968 0027E8C8 2C 04 00 00 */ cmpwi r4, 0 -/* 8028196C 0027E8CC 40 81 00 0C */ ble lbl_80281978 -lbl_80281970: -/* 80281970 0027E8D0 38 63 00 08 */ addi r3, r3, 8 -/* 80281974 0027E8D4 42 00 FF FC */ bdnz lbl_80281970 -lbl_80281978: -/* 80281978 0027E8D8 7C 03 28 50 */ subf r0, r3, r5 -/* 8028197C 0027E8DC 7C 09 03 A6 */ mtctr r0 -/* 80281980 0027E8E0 7C 03 28 00 */ cmpw r3, r5 -/* 80281984 0027E8E4 40 80 00 08 */ bge lbl_8028198C -lbl_80281988: -/* 80281988 0027E8E8 42 00 00 00 */ bdnz lbl_80281988 -lbl_8028198C: -/* 8028198C 0027E8EC 38 00 00 00 */ li r0, 0 -/* 80281990 0027E8F0 7F E3 FB 78 */ mr r3, r31 -/* 80281994 0027E8F4 90 01 07 54 */ stw r0, 0x754(r1) -/* 80281998 0027E8F8 48 0B D2 ED */ bl ReadLong__12CInputStreamFv -/* 8028199C 0027E8FC 90 7E 07 08 */ stw r3, 0x708(r30) -/* 802819A0 0027E900 7F E4 FB 78 */ mr r4, r31 -/* 802819A4 0027E904 38 7E 07 0C */ addi r3, r30, 0x70c -/* 802819A8 0027E908 4B E4 1B B9 */ bl __ct__11CDamageInfoFR12CInputStream -/* 802819AC 0027E90C 7F E4 FB 78 */ mr r4, r31 -/* 802819B0 0027E910 38 61 02 20 */ addi r3, r1, 0x220 -/* 802819B4 0027E914 4B FF F7 45 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 802819B8 0027E918 38 7E 07 28 */ addi r3, r30, 0x728 -/* 802819BC 0027E91C 38 81 02 20 */ addi r4, r1, 0x220 -/* 802819C0 0027E920 4B D8 93 E9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 802819C4 0027E924 34 81 02 A0 */ addic. r4, r1, 0x2a0 -/* 802819C8 0027E928 41 82 00 10 */ beq lbl_802819D8 -/* 802819CC 0027E92C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802819D0 0027E930 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802819D4 0027E934 90 04 00 00 */ stw r0, 0(r4) -lbl_802819D8: -/* 802819D8 0027E938 34 81 02 64 */ addic. r4, r1, 0x264 -/* 802819DC 0027E93C 41 82 00 10 */ beq lbl_802819EC -/* 802819E0 0027E940 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802819E4 0027E944 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802819E8 0027E948 90 04 00 00 */ stw r0, 0(r4) -lbl_802819EC: -/* 802819EC 0027E94C 34 81 02 28 */ addic. r4, r1, 0x228 -/* 802819F0 0027E950 41 82 00 10 */ beq lbl_80281A00 -/* 802819F4 0027E954 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 802819F8 0027E958 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 802819FC 0027E95C 90 04 00 00 */ stw r0, 0(r4) -lbl_80281A00: -/* 80281A00 0027E960 7F E3 FB 78 */ mr r3, r31 -/* 80281A04 0027E964 48 0B D2 81 */ bl ReadLong__12CInputStreamFv -/* 80281A08 0027E968 90 7E 07 FC */ stw r3, 0x7fc(r30) -/* 80281A0C 0027E96C 7F E4 FB 78 */ mr r4, r31 -/* 80281A10 0027E970 38 7E 08 00 */ addi r3, r30, 0x800 -/* 80281A14 0027E974 4B E4 1B 4D */ bl __ct__11CDamageInfoFR12CInputStream -/* 80281A18 0027E978 7F E4 FB 78 */ mr r4, r31 -/* 80281A1C 0027E97C 38 61 01 4C */ addi r3, r1, 0x14c -/* 80281A20 0027E980 4B FF F6 D9 */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 80281A24 0027E984 38 7E 08 1C */ addi r3, r30, 0x81c -/* 80281A28 0027E988 38 81 01 4C */ addi r4, r1, 0x14c -/* 80281A2C 0027E98C 4B D8 93 7D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80281A30 0027E990 34 81 01 CC */ addic. r4, r1, 0x1cc -/* 80281A34 0027E994 41 82 00 10 */ beq lbl_80281A44 -/* 80281A38 0027E998 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281A3C 0027E99C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281A40 0027E9A0 90 04 00 00 */ stw r0, 0(r4) -lbl_80281A44: -/* 80281A44 0027E9A4 34 81 01 90 */ addic. r4, r1, 0x190 -/* 80281A48 0027E9A8 41 82 00 10 */ beq lbl_80281A58 -/* 80281A4C 0027E9AC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281A50 0027E9B0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281A54 0027E9B4 90 04 00 00 */ stw r0, 0(r4) -lbl_80281A58: -/* 80281A58 0027E9B8 34 81 01 54 */ addic. r4, r1, 0x154 -/* 80281A5C 0027E9BC 41 82 00 10 */ beq lbl_80281A6C -/* 80281A60 0027E9C0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281A64 0027E9C4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281A68 0027E9C8 90 04 00 00 */ stw r0, 0(r4) -lbl_80281A6C: -/* 80281A6C 0027E9CC 7F E4 FB 78 */ mr r4, r31 -/* 80281A70 0027E9D0 38 7E 08 F0 */ addi r3, r30, 0x8f0 -/* 80281A74 0027E9D4 48 01 E9 41 */ bl __ct__20SPrimeProjectileInfoFR12CInputStream -/* 80281A78 0027E9D8 7F E4 FB 78 */ mr r4, r31 -/* 80281A7C 0027E9DC 38 7E 09 2C */ addi r3, r30, 0x92c -/* 80281A80 0027E9E0 4B E4 1A E1 */ bl __ct__11CDamageInfoFR12CInputStream -/* 80281A84 0027E9E4 7F E4 FB 78 */ mr r4, r31 -/* 80281A88 0027E9E8 38 61 00 78 */ addi r3, r1, 0x78 -/* 80281A8C 0027E9EC 4B FF F6 6D */ bl LoadAndBuildPrimeCameraShakeData__FR12CInputStream -/* 80281A90 0027E9F0 38 7E 09 48 */ addi r3, r30, 0x948 -/* 80281A94 0027E9F4 38 81 00 78 */ addi r4, r1, 0x78 -/* 80281A98 0027E9F8 4B D8 93 11 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 80281A9C 0027E9FC 34 81 00 F8 */ addic. r4, r1, 0xf8 -/* 80281AA0 0027EA00 41 82 00 10 */ beq lbl_80281AB0 -/* 80281AA4 0027EA04 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281AA8 0027EA08 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281AAC 0027EA0C 90 04 00 00 */ stw r0, 0(r4) -lbl_80281AB0: -/* 80281AB0 0027EA10 34 81 00 BC */ addic. r4, r1, 0xbc -/* 80281AB4 0027EA14 41 82 00 10 */ beq lbl_80281AC4 -/* 80281AB8 0027EA18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281ABC 0027EA1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281AC0 0027EA20 90 04 00 00 */ stw r0, 0(r4) -lbl_80281AC4: -/* 80281AC4 0027EA24 34 81 00 80 */ addic. r4, r1, 0x80 -/* 80281AC8 0027EA28 41 82 00 10 */ beq lbl_80281AD8 -/* 80281ACC 0027EA2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 80281AD0 0027EA30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 80281AD4 0027EA34 90 04 00 00 */ stw r0, 0(r4) -lbl_80281AD8: -/* 80281AD8 0027EA38 7F E3 FB 78 */ mr r3, r31 -/* 80281ADC 0027EA3C 48 0B D1 A9 */ bl ReadLong__12CInputStreamFv -/* 80281AE0 0027EA40 90 7E 0A 1C */ stw r3, 0xa1c(r30) -/* 80281AE4 0027EA44 7F E3 FB 78 */ mr r3, r31 -/* 80281AE8 0027EA48 48 0B D1 9D */ bl ReadLong__12CInputStreamFv -/* 80281AEC 0027EA4C 90 7E 0A 20 */ stw r3, 0xa20(r30) -/* 80281AF0 0027EA50 7F E3 FB 78 */ mr r3, r31 -/* 80281AF4 0027EA54 48 0B D1 91 */ bl ReadLong__12CInputStreamFv -/* 80281AF8 0027EA58 90 7E 0A 24 */ stw r3, 0xa24(r30) -/* 80281AFC 0027EA5C 7F E3 FB 78 */ mr r3, r31 -/* 80281B00 0027EA60 48 0B D1 85 */ bl ReadLong__12CInputStreamFv -/* 80281B04 0027EA64 90 7E 0A 28 */ stw r3, 0xa28(r30) -/* 80281B08 0027EA68 7F E4 FB 78 */ mr r4, r31 -/* 80281B0C 0027EA6C 38 61 05 70 */ addi r3, r1, 0x570 -/* 80281B10 0027EA70 4B FF F7 49 */ bl LoadPrimeStruct6s__19SPrimeExoParametersFR12CInputStream -/* 80281B14 0027EA74 80 01 05 70 */ lwz r0, 0x570(r1) -/* 80281B18 0027EA78 38 9E 0A 30 */ addi r4, r30, 0xa30 -/* 80281B1C 0027EA7C 38 61 05 74 */ addi r3, r1, 0x574 -/* 80281B20 0027EA80 90 1E 0A 2C */ stw r0, 0xa2c(r30) -/* 80281B24 0027EA84 80 1E 0A 2C */ lwz r0, 0xa2c(r30) -/* 80281B28 0027EA88 7C 09 03 A6 */ mtctr r0 -/* 80281B2C 0027EA8C 2C 00 00 00 */ cmpwi r0, 0 -/* 80281B30 0027EA90 40 81 01 08 */ ble lbl_80281C38 -lbl_80281B34: -/* 80281B34 0027EA94 28 04 00 00 */ cmplwi r4, 0 -/* 80281B38 0027EA98 41 82 00 F4 */ beq lbl_80281C2C -/* 80281B3C 0027EA9C 80 03 00 00 */ lwz r0, 0(r3) -/* 80281B40 0027EAA0 90 04 00 00 */ stw r0, 0(r4) -/* 80281B44 0027EAA4 80 A3 00 04 */ lwz r5, 4(r3) -/* 80281B48 0027EAA8 80 03 00 08 */ lwz r0, 8(r3) -/* 80281B4C 0027EAAC 90 A4 00 04 */ stw r5, 4(r4) -/* 80281B50 0027EAB0 90 04 00 08 */ stw r0, 8(r4) -/* 80281B54 0027EAB4 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 80281B58 0027EAB8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80281B5C 0027EABC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80281B60 0027EAC0 90 04 00 10 */ stw r0, 0x10(r4) -/* 80281B64 0027EAC4 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 80281B68 0027EAC8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80281B6C 0027EACC 90 A4 00 14 */ stw r5, 0x14(r4) -/* 80281B70 0027EAD0 90 04 00 18 */ stw r0, 0x18(r4) -/* 80281B74 0027EAD4 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 80281B78 0027EAD8 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80281B7C 0027EADC 90 A4 00 1C */ stw r5, 0x1c(r4) -/* 80281B80 0027EAE0 90 04 00 20 */ stw r0, 0x20(r4) -/* 80281B84 0027EAE4 80 A3 00 24 */ lwz r5, 0x24(r3) -/* 80281B88 0027EAE8 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80281B8C 0027EAEC 90 A4 00 24 */ stw r5, 0x24(r4) -/* 80281B90 0027EAF0 90 04 00 28 */ stw r0, 0x28(r4) -/* 80281B94 0027EAF4 80 A3 00 2C */ lwz r5, 0x2c(r3) -/* 80281B98 0027EAF8 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80281B9C 0027EAFC 90 A4 00 2C */ stw r5, 0x2c(r4) -/* 80281BA0 0027EB00 90 04 00 30 */ stw r0, 0x30(r4) -/* 80281BA4 0027EB04 80 A3 00 34 */ lwz r5, 0x34(r3) -/* 80281BA8 0027EB08 80 03 00 38 */ lwz r0, 0x38(r3) -/* 80281BAC 0027EB0C 90 A4 00 34 */ stw r5, 0x34(r4) -/* 80281BB0 0027EB10 90 04 00 38 */ stw r0, 0x38(r4) -/* 80281BB4 0027EB14 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80281BB8 0027EB18 90 04 00 3C */ stw r0, 0x3c(r4) -/* 80281BBC 0027EB1C 80 A3 00 40 */ lwz r5, 0x40(r3) -/* 80281BC0 0027EB20 80 03 00 44 */ lwz r0, 0x44(r3) -/* 80281BC4 0027EB24 90 A4 00 40 */ stw r5, 0x40(r4) -/* 80281BC8 0027EB28 90 04 00 44 */ stw r0, 0x44(r4) -/* 80281BCC 0027EB2C 80 A3 00 48 */ lwz r5, 0x48(r3) -/* 80281BD0 0027EB30 80 03 00 4C */ lwz r0, 0x4c(r3) -/* 80281BD4 0027EB34 90 A4 00 48 */ stw r5, 0x48(r4) -/* 80281BD8 0027EB38 90 04 00 4C */ stw r0, 0x4c(r4) -/* 80281BDC 0027EB3C 80 A3 00 50 */ lwz r5, 0x50(r3) -/* 80281BE0 0027EB40 80 03 00 54 */ lwz r0, 0x54(r3) -/* 80281BE4 0027EB44 90 A4 00 50 */ stw r5, 0x50(r4) -/* 80281BE8 0027EB48 90 04 00 54 */ stw r0, 0x54(r4) -/* 80281BEC 0027EB4C 80 A3 00 58 */ lwz r5, 0x58(r3) -/* 80281BF0 0027EB50 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80281BF4 0027EB54 90 A4 00 58 */ stw r5, 0x58(r4) -/* 80281BF8 0027EB58 90 04 00 5C */ stw r0, 0x5c(r4) -/* 80281BFC 0027EB5C 80 03 00 60 */ lwz r0, 0x60(r3) -/* 80281C00 0027EB60 90 04 00 60 */ stw r0, 0x60(r4) -/* 80281C04 0027EB64 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80281C08 0027EB68 90 04 00 64 */ stw r0, 0x64(r4) -/* 80281C0C 0027EB6C 80 03 00 68 */ lwz r0, 0x68(r3) -/* 80281C10 0027EB70 90 04 00 68 */ stw r0, 0x68(r4) -/* 80281C14 0027EB74 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 80281C18 0027EB78 90 04 00 6C */ stw r0, 0x6c(r4) -/* 80281C1C 0027EB7C 80 A3 00 70 */ lwz r5, 0x70(r3) -/* 80281C20 0027EB80 80 03 00 74 */ lwz r0, 0x74(r3) -/* 80281C24 0027EB84 90 A4 00 70 */ stw r5, 0x70(r4) -/* 80281C28 0027EB88 90 04 00 74 */ stw r0, 0x74(r4) -lbl_80281C2C: -/* 80281C2C 0027EB8C 38 84 00 78 */ addi r4, r4, 0x78 -/* 80281C30 0027EB90 38 63 00 78 */ addi r3, r3, 0x78 -/* 80281C34 0027EB94 42 00 FF 00 */ bdnz lbl_80281B34 -lbl_80281C38: -/* 80281C38 0027EB98 80 A1 05 70 */ lwz r5, 0x570(r1) -/* 80281C3C 0027EB9C 38 60 00 00 */ li r3, 0 -/* 80281C40 0027EBA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80281C44 0027EBA4 40 81 00 40 */ ble lbl_80281C84 -/* 80281C48 0027EBA8 2C 05 00 08 */ cmpwi r5, 8 -/* 80281C4C 0027EBAC 38 85 FF F8 */ addi r4, r5, -8 -/* 80281C50 0027EBB0 40 81 00 20 */ ble lbl_80281C70 -/* 80281C54 0027EBB4 38 04 00 07 */ addi r0, r4, 7 -/* 80281C58 0027EBB8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80281C5C 0027EBBC 7C 09 03 A6 */ mtctr r0 -/* 80281C60 0027EBC0 2C 04 00 00 */ cmpwi r4, 0 -/* 80281C64 0027EBC4 40 81 00 0C */ ble lbl_80281C70 -lbl_80281C68: -/* 80281C68 0027EBC8 38 63 00 08 */ addi r3, r3, 8 -/* 80281C6C 0027EBCC 42 00 FF FC */ bdnz lbl_80281C68 -lbl_80281C70: -/* 80281C70 0027EBD0 7C 03 28 50 */ subf r0, r3, r5 -/* 80281C74 0027EBD4 7C 09 03 A6 */ mtctr r0 -/* 80281C78 0027EBD8 7C 03 28 00 */ cmpw r3, r5 -/* 80281C7C 0027EBDC 40 80 00 08 */ bge lbl_80281C84 -lbl_80281C80: -/* 80281C80 0027EBE0 42 00 00 00 */ bdnz lbl_80281C80 -lbl_80281C84: -/* 80281C84 0027EBE4 38 00 00 00 */ li r0, 0 -/* 80281C88 0027EBE8 7F C3 F3 78 */ mr r3, r30 -/* 80281C8C 0027EBEC 90 01 05 70 */ stw r0, 0x570(r1) -/* 80281C90 0027EBF0 83 E1 09 FC */ lwz r31, 0x9fc(r1) -/* 80281C94 0027EBF4 83 C1 09 F8 */ lwz r30, 0x9f8(r1) -/* 80281C98 0027EBF8 80 01 0A 04 */ lwz r0, 0xa04(r1) -/* 80281C9C 0027EBFC 7C 08 03 A6 */ mtlr r0 -/* 80281CA0 0027EC00 38 21 0A 00 */ addi r1, r1, 0xa00 -/* 80281CA4 0027EC04 4E 80 00 20 */ blr - -.global __ct__14SPrimeStruct2BFR12CInputStream -__ct__14SPrimeStruct2BFR12CInputStream: -/* 80281CA8 0027EC08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281CAC 0027EC0C 7C 08 02 A6 */ mflr r0 -/* 80281CB0 0027EC10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281CB4 0027EC14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281CB8 0027EC18 7C 9F 23 78 */ mr r31, r4 -/* 80281CBC 0027EC1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80281CC0 0027EC20 7C 7E 1B 78 */ mr r30, r3 -/* 80281CC4 0027EC24 7F E3 FB 78 */ mr r3, r31 -/* 80281CC8 0027EC28 48 0B CF BD */ bl ReadLong__12CInputStreamFv -/* 80281CCC 0027EC2C 90 7E 00 00 */ stw r3, 0(r30) -/* 80281CD0 0027EC30 7F E3 FB 78 */ mr r3, r31 -/* 80281CD4 0027EC34 48 0B CF B1 */ bl ReadLong__12CInputStreamFv -/* 80281CD8 0027EC38 90 7E 00 04 */ stw r3, 4(r30) -/* 80281CDC 0027EC3C 7F E3 FB 78 */ mr r3, r31 -/* 80281CE0 0027EC40 48 0B CF A5 */ bl ReadLong__12CInputStreamFv -/* 80281CE4 0027EC44 90 7E 00 08 */ stw r3, 8(r30) -/* 80281CE8 0027EC48 7F E3 FB 78 */ mr r3, r31 -/* 80281CEC 0027EC4C 48 0B CF 99 */ bl ReadLong__12CInputStreamFv -/* 80281CF0 0027EC50 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80281CF4 0027EC54 7F E4 FB 78 */ mr r4, r31 -/* 80281CF8 0027EC58 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80281CFC 0027EC5C 4B E4 18 65 */ bl __ct__11CDamageInfoFR12CInputStream -/* 80281D00 0027EC60 7F E3 FB 78 */ mr r3, r31 -/* 80281D04 0027EC64 48 0B CF 25 */ bl ReadFloat__12CInputStreamFv -/* 80281D08 0027EC68 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80281D0C 0027EC6C 7F E3 FB 78 */ mr r3, r31 -/* 80281D10 0027EC70 48 0B CF 19 */ bl ReadFloat__12CInputStreamFv -/* 80281D14 0027EC74 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 80281D18 0027EC78 7F E3 FB 78 */ mr r3, r31 -/* 80281D1C 0027EC7C 48 0B CF 69 */ bl ReadLong__12CInputStreamFv -/* 80281D20 0027EC80 90 7E 00 34 */ stw r3, 0x34(r30) -/* 80281D24 0027EC84 7F E3 FB 78 */ mr r3, r31 -/* 80281D28 0027EC88 48 0B CF 5D */ bl ReadLong__12CInputStreamFv -/* 80281D2C 0027EC8C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80281D30 0027EC90 48 06 6C 81 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80281D34 0027EC94 B0 7E 00 38 */ sth r3, 0x38(r30) -/* 80281D38 0027EC98 7F E3 FB 78 */ mr r3, r31 -/* 80281D3C 0027EC9C 48 0B CF 49 */ bl ReadLong__12CInputStreamFv -/* 80281D40 0027ECA0 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80281D44 0027ECA4 48 06 6C 6D */ bl TranslateSFXID__11CSfxManagerFUs -/* 80281D48 0027ECA8 B0 7E 00 3A */ sth r3, 0x3a(r30) -/* 80281D4C 0027ECAC 7F C3 F3 78 */ mr r3, r30 -/* 80281D50 0027ECB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281D54 0027ECB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281D58 0027ECB8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80281D5C 0027ECBC 7C 08 03 A6 */ mtlr r0 -/* 80281D60 0027ECC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281D64 0027ECC4 4E 80 00 20 */ blr - -.global UpdateMorphBallTransition__7CPlayerFfR13CStateManager -UpdateMorphBallTransition__7CPlayerFfR13CStateManager: -/* 80281D68 0027ECC8 94 21 FD 90 */ stwu r1, -0x270(r1) -/* 80281D6C 0027ECCC 7C 08 02 A6 */ mflr r0 -/* 80281D70 0027ECD0 90 01 02 74 */ stw r0, 0x274(r1) -/* 80281D74 0027ECD4 DB E1 02 60 */ stfd f31, 0x260(r1) -/* 80281D78 0027ECD8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 -/* 80281D7C 0027ECDC DB C1 02 50 */ stfd f30, 0x250(r1) -/* 80281D80 0027ECE0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 -/* 80281D84 0027ECE4 DB A1 02 40 */ stfd f29, 0x240(r1) -/* 80281D88 0027ECE8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 -/* 80281D8C 0027ECEC BF 21 02 24 */ stmw r25, 0x224(r1) -/* 80281D90 0027ECF0 7C 7C 1B 78 */ mr r28, r3 -/* 80281D94 0027ECF4 FF E0 08 90 */ fmr f31, f1 -/* 80281D98 0027ECF8 83 C3 02 F8 */ lwz r30, 0x2f8(r3) -/* 80281D9C 0027ECFC 7C 9D 23 78 */ mr r29, r4 -/* 80281DA0 0027ED00 2C 1E 00 02 */ cmpwi r30, 2 -/* 80281DA4 0027ED04 41 82 00 A4 */ beq lbl_80281E48 -/* 80281DA8 0027ED08 2C 1E 00 03 */ cmpwi r30, 3 -/* 80281DAC 0027ED0C 41 82 00 9C */ beq lbl_80281E48 -/* 80281DB0 0027ED10 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80281DB4 0027ED14 80 63 00 00 */ lwz r3, 0(r3) -/* 80281DB8 0027ED18 83 23 00 20 */ lwz r25, 0x20(r3) -/* 80281DBC 0027ED1C 4B E0 F7 09 */ bl GetIsFusionEnabled__12CPlayerStateFv -/* 80281DC0 0027ED20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80281DC4 0027ED24 41 82 00 08 */ beq lbl_80281DCC -/* 80281DC8 0027ED28 3B 39 00 04 */ addi r25, r25, 4 -lbl_80281DCC: -/* 80281DCC 0027ED2C 80 1C 07 CC */ lwz r0, 0x7cc(r28) -/* 80281DD0 0027ED30 7C 00 C8 00 */ cmpw r0, r25 -/* 80281DD4 0027ED34 41 82 0B 88 */ beq lbl_8028295C -/* 80281DD8 0027ED38 93 3C 07 CC */ stw r25, 0x7cc(r28) -/* 80281DDC 0027ED3C 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 80281DE0 0027ED40 38 81 01 2C */ addi r4, r1, 0x12c -/* 80281DE4 0027ED44 88 DC 07 E4 */ lbz r6, 0x7e4(r28) -/* 80281DE8 0027ED48 80 FC 07 E8 */ lwz r7, 0x7e8(r28) -/* 80281DEC 0027ED4C 80 BC 07 CC */ lwz r5, 0x7cc(r28) -/* 80281DF0 0027ED50 80 1C 07 D0 */ lwz r0, 0x7d0(r28) -/* 80281DF4 0027ED54 90 01 01 2C */ stw r0, 0x12c(r1) -/* 80281DF8 0027ED58 90 A1 01 30 */ stw r5, 0x130(r1) -/* 80281DFC 0027ED5C C0 1C 07 D8 */ lfs f0, 0x7d8(r28) -/* 80281E00 0027ED60 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 80281E04 0027ED64 C0 1C 07 DC */ lfs f0, 0x7dc(r28) -/* 80281E08 0027ED68 D0 01 01 38 */ stfs f0, 0x138(r1) -/* 80281E0C 0027ED6C C0 1C 07 E0 */ lfs f0, 0x7e0(r28) -/* 80281E10 0027ED70 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80281E14 0027ED74 98 C1 01 40 */ stb r6, 0x140(r1) -/* 80281E18 0027ED78 90 E1 01 44 */ stw r7, 0x144(r1) -/* 80281E1C 0027ED7C 4B E9 4D 39 */ bl __ct__10CModelDataFRC8CAnimRes -/* 80281E20 0027ED80 7F 83 E3 78 */ mr r3, r28 -/* 80281E24 0027ED84 38 81 01 C8 */ addi r4, r1, 0x1c8 -/* 80281E28 0027ED88 4B DD 32 09 */ bl SetModelData__6CActorFRC10CModelData -/* 80281E2C 0027ED8C 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 80281E30 0027ED90 38 80 FF FF */ li r4, -1 -/* 80281E34 0027ED94 4B E9 4C 19 */ bl __dt__10CModelDataFv -/* 80281E38 0027ED98 7F 83 E3 78 */ mr r3, r28 -/* 80281E3C 0027ED9C 7F A4 EB 78 */ mr r4, r29 -/* 80281E40 0027EDA0 48 00 20 E9 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager -/* 80281E44 0027EDA4 48 00 0B 18 */ b lbl_8028295C -lbl_80281E48: -/* 80281E48 0027EDA8 2C 1E 00 03 */ cmpwi r30, 3 -/* 80281E4C 0027EDAC 41 82 00 08 */ beq lbl_80281E54 -/* 80281E50 0027EDB0 48 00 02 54 */ b lbl_802820A4 -lbl_80281E54: -/* 80281E54 0027EDB4 80 1C 05 84 */ lwz r0, 0x584(r28) -/* 80281E58 0027EDB8 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80281E5C 0027EDBC 28 00 00 0E */ cmplwi r0, 0xe -/* 80281E60 0027EDC0 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80281E64 0027EDC4 40 82 01 0C */ bne lbl_80281F70 -/* 80281E68 0027EDC8 3C 80 80 3D */ lis r4, lbl_803D5968@ha -/* 80281E6C 0027EDCC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80281E70 0027EDD0 38 84 59 68 */ addi r4, r4, lbl_803D5968@l -/* 80281E74 0027EDD4 4B D8 2E 45 */ bl string_l__4rstlFPCc -/* 80281E78 0027EDD8 80 9C 05 84 */ lwz r4, 0x584(r28) -/* 80281E7C 0027EDDC 7F E3 FB 78 */ mr r3, r31 -/* 80281E80 0027EDE0 4B DA A6 49 */ bl GetAnimationDuration__9CAnimDataCFi -/* 80281E84 0027EDE4 FF A0 08 90 */ fmr f29, f1 -/* 80281E88 0027EDE8 7F E3 FB 78 */ mr r3, r31 -/* 80281E8C 0027EDEC 38 81 00 8C */ addi r4, r1, 0x8c -/* 80281E90 0027EDF0 4B DA A5 DD */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80281E94 0027EDF4 EC 21 E8 24 */ fdivs f1, f1, f29 -/* 80281E98 0027EDF8 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) -/* 80281E9C 0027EDFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80281EA0 0027EE00 7C 00 00 26 */ mfcr r0 -/* 80281EA4 0027EE04 38 61 00 8C */ addi r3, r1, 0x8c -/* 80281EA8 0027EE08 54 1B 0F FE */ srwi r27, r0, 0x1f -/* 80281EAC 0027EE0C 48 0B BC 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80281EB0 0027EE10 28 1B 00 00 */ cmplwi r27, 0 -/* 80281EB4 0027EE14 41 82 01 F0 */ beq lbl_802820A4 -/* 80281EB8 0027EE18 38 00 00 00 */ li r0, 0 -/* 80281EBC 0027EE1C FC 20 F8 90 */ fmr f1, f31 -/* 80281EC0 0027EE20 98 01 00 09 */ stb r0, 9(r1) -/* 80281EC4 0027EE24 7F 83 E3 78 */ mr r3, r28 -/* 80281EC8 0027EE28 7F A5 EB 78 */ mr r5, r29 -/* 80281ECC 0027EE2C 38 81 00 09 */ addi r4, r1, 9 -/* 80281ED0 0027EE30 48 00 1D 75 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager -/* 80281ED4 0027EE34 90 7C 05 84 */ stw r3, 0x584(r28) -/* 80281ED8 0027EE38 38 60 00 00 */ li r3, 0 -/* 80281EDC 0027EE3C 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 80281EE0 0027EE40 28 04 00 00 */ cmplwi r4, 0 -/* 80281EE4 0027EE44 41 82 00 14 */ beq lbl_80281EF8 -/* 80281EE8 0027EE48 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80281EEC 0027EE4C 28 00 00 00 */ cmplwi r0, 0 -/* 80281EF0 0027EE50 41 82 00 08 */ beq lbl_80281EF8 -/* 80281EF4 0027EE54 38 60 00 01 */ li r3, 1 -lbl_80281EF8: -/* 80281EF8 0027EE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80281EFC 0027EE5C 41 82 01 A8 */ beq lbl_802820A4 -/* 80281F00 0027EE60 80 7C 05 84 */ lwz r3, 0x584(r28) -/* 80281F04 0027EE64 38 00 00 00 */ li r0, 0 -/* 80281F08 0027EE68 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80281F0C 0027EE6C 38 A0 FF FF */ li r5, -1 -/* 80281F10 0027EE70 38 C0 00 01 */ li r6, 1 -/* 80281F14 0027EE74 90 61 01 A0 */ stw r3, 0x1a0(r1) -/* 80281F18 0027EE78 7F E3 FB 78 */ mr r3, r31 -/* 80281F1C 0027EE7C 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 80281F20 0027EE80 90 A1 01 A4 */ stw r5, 0x1a4(r1) -/* 80281F24 0027EE84 38 A0 00 00 */ li r5, 0 -/* 80281F28 0027EE88 D0 01 01 A8 */ stfs f0, 0x1a8(r1) -/* 80281F2C 0027EE8C 98 C1 01 AC */ stb r6, 0x1ac(r1) -/* 80281F30 0027EE90 90 01 01 B0 */ stw r0, 0x1b0(r1) -/* 80281F34 0027EE94 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 80281F38 0027EE98 98 01 01 B8 */ stb r0, 0x1b8(r1) -/* 80281F3C 0027EE9C 90 01 01 BC */ stw r0, 0x1bc(r1) -/* 80281F40 0027EEA0 90 01 01 C0 */ stw r0, 0x1c0(r1) -/* 80281F44 0027EEA4 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 80281F48 0027EEA8 4B DA AE 35 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 80281F4C 0027EEAC 88 81 00 09 */ lbz r4, 9(r1) -/* 80281F50 0027EEB0 38 60 00 01 */ li r3, 1 -/* 80281F54 0027EEB4 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 80281F58 0027EEB8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80281F5C 0027EEBC 98 1F 02 20 */ stb r0, 0x220(r31) -/* 80281F60 0027EEC0 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 80281F64 0027EEC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80281F68 0027EEC8 98 1F 02 20 */ stb r0, 0x220(r31) -/* 80281F6C 0027EECC 48 00 01 38 */ b lbl_802820A4 -lbl_80281F70: -/* 80281F70 0027EED0 28 00 00 05 */ cmplwi r0, 5 -/* 80281F74 0027EED4 41 82 01 30 */ beq lbl_802820A4 -/* 80281F78 0027EED8 28 00 00 07 */ cmplwi r0, 7 -/* 80281F7C 0027EEDC 41 82 01 28 */ beq lbl_802820A4 -/* 80281F80 0027EEE0 FC 20 F8 90 */ fmr f1, f31 -/* 80281F84 0027EEE4 7F 83 E3 78 */ mr r3, r28 -/* 80281F88 0027EEE8 48 00 39 81 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv -/* 80281F8C 0027EEEC FF A0 08 90 */ fmr f29, f1 -/* 80281F90 0027EEF0 C0 3C 01 38 */ lfs f1, 0x138(r28) -/* 80281F94 0027EEF4 C0 5C 01 3C */ lfs f2, 0x13c(r28) -/* 80281F98 0027EEF8 38 61 00 60 */ addi r3, r1, 0x60 -/* 80281F9C 0027EEFC 48 09 22 65 */ bl __ct__9CVector2fFff -/* 80281FA0 0027EF00 38 61 00 60 */ addi r3, r1, 0x60 -/* 80281FA4 0027EF04 48 09 21 51 */ bl Magnitude__9CVector2fCFv -/* 80281FA8 0027EF08 FF C0 08 90 */ fmr f30, f1 -/* 80281FAC 0027EF0C C0 3C 05 8C */ lfs f1, 0x58c(r28) -/* 80281FB0 0027EF10 C0 02 BD 84 */ lfs f0, lbl_805ADAA4@sda21(r2) -/* 80281FB4 0027EF14 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80281FB8 0027EF18 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80281FBC 0027EF1C FC 20 0A 10 */ fabs f1, f1 -/* 80281FC0 0027EF20 FC 20 08 18 */ frsp f1, f1 -/* 80281FC4 0027EF24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80281FC8 0027EF28 41 81 00 10 */ bgt lbl_80281FD8 -/* 80281FCC 0027EF2C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80281FD0 0027EF30 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80281FD4 0027EF34 40 80 00 D0 */ bge lbl_802820A4 -lbl_80281FD8: -/* 80281FD8 0027EF38 38 00 00 00 */ li r0, 0 -/* 80281FDC 0027EF3C FC 20 F8 90 */ fmr f1, f31 -/* 80281FE0 0027EF40 98 01 00 08 */ stb r0, 8(r1) -/* 80281FE4 0027EF44 7F 83 E3 78 */ mr r3, r28 -/* 80281FE8 0027EF48 7F A5 EB 78 */ mr r5, r29 -/* 80281FEC 0027EF4C 38 81 00 08 */ addi r4, r1, 8 -/* 80281FF0 0027EF50 48 00 1C 55 */ bl GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager -/* 80281FF4 0027EF54 80 BC 00 64 */ lwz r5, 0x64(r28) -/* 80281FF8 0027EF58 38 80 00 00 */ li r4, 0 -/* 80281FFC 0027EF5C 28 05 00 00 */ cmplwi r5, 0 -/* 80282000 0027EF60 41 82 00 14 */ beq lbl_80282014 -/* 80282004 0027EF64 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80282008 0027EF68 28 00 00 00 */ cmplwi r0, 0 -/* 8028200C 0027EF6C 41 82 00 08 */ beq lbl_80282014 -/* 80282010 0027EF70 38 80 00 01 */ li r4, 1 -lbl_80282014: -/* 80282014 0027EF74 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80282018 0027EF78 41 82 00 8C */ beq lbl_802820A4 -/* 8028201C 0027EF7C 80 1C 05 84 */ lwz r0, 0x584(r28) -/* 80282020 0027EF80 7C 00 18 40 */ cmplw r0, r3 -/* 80282024 0027EF84 41 82 00 80 */ beq lbl_802820A4 -/* 80282028 0027EF88 28 00 00 07 */ cmplwi r0, 7 -/* 8028202C 0027EF8C 41 82 00 78 */ beq lbl_802820A4 -/* 80282030 0027EF90 90 7C 05 84 */ stw r3, 0x584(r28) -/* 80282034 0027EF94 38 E0 FF FF */ li r7, -1 -/* 80282038 0027EF98 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 8028203C 0027EF9C 38 C0 00 01 */ li r6, 1 -/* 80282040 0027EFA0 80 BC 05 84 */ lwz r5, 0x584(r28) -/* 80282044 0027EFA4 38 00 00 00 */ li r0, 0 -/* 80282048 0027EFA8 7F E3 FB 78 */ mr r3, r31 -/* 8028204C 0027EFAC 38 81 01 78 */ addi r4, r1, 0x178 -/* 80282050 0027EFB0 90 A1 01 78 */ stw r5, 0x178(r1) -/* 80282054 0027EFB4 38 A0 00 00 */ li r5, 0 -/* 80282058 0027EFB8 90 E1 01 7C */ stw r7, 0x17c(r1) -/* 8028205C 0027EFBC D0 01 01 80 */ stfs f0, 0x180(r1) -/* 80282060 0027EFC0 98 C1 01 84 */ stb r6, 0x184(r1) -/* 80282064 0027EFC4 90 01 01 88 */ stw r0, 0x188(r1) -/* 80282068 0027EFC8 90 01 01 8C */ stw r0, 0x18c(r1) -/* 8028206C 0027EFCC 98 01 01 90 */ stb r0, 0x190(r1) -/* 80282070 0027EFD0 90 01 01 94 */ stw r0, 0x194(r1) -/* 80282074 0027EFD4 90 01 01 98 */ stw r0, 0x198(r1) -/* 80282078 0027EFD8 90 01 01 9C */ stw r0, 0x19c(r1) -/* 8028207C 0027EFDC 4B DA AD 01 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 80282080 0027EFE0 88 81 00 08 */ lbz r4, 8(r1) -/* 80282084 0027EFE4 38 60 00 01 */ li r3, 1 -/* 80282088 0027EFE8 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8028208C 0027EFEC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80282090 0027EFF0 98 1F 02 20 */ stb r0, 0x220(r31) -/* 80282094 0027EFF4 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 80282098 0027EFF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8028209C 0027EFFC 98 1F 02 20 */ stb r0, 0x220(r31) -/* 802820A0 0027F000 D3 DC 05 8C */ stfs f30, 0x58c(r28) -lbl_802820A4: -/* 802820A4 0027F004 FC 20 F8 90 */ fmr f1, f31 -/* 802820A8 0027F008 7F 84 E3 78 */ mr r4, r28 -/* 802820AC 0027F00C 7F A5 EB 78 */ mr r5, r29 -/* 802820B0 0027F010 38 61 00 DC */ addi r3, r1, 0xdc -/* 802820B4 0027F014 38 C0 00 01 */ li r6, 1 -/* 802820B8 0027F018 4B DD 31 E5 */ bl UpdateAnimation__6CActorFfR13CStateManagerb -/* 802820BC 0027F01C C0 E1 00 DC */ lfs f7, 0xdc(r1) -/* 802820C0 0027F020 FC 20 F8 90 */ fmr f1, f31 -/* 802820C4 0027F024 C0 C1 00 E0 */ lfs f6, 0xe0(r1) -/* 802820C8 0027F028 7F 83 E3 78 */ mr r3, r28 -/* 802820CC 0027F02C C0 A1 00 E4 */ lfs f5, 0xe4(r1) -/* 802820D0 0027F030 3B 41 01 1C */ addi r26, r1, 0x11c -/* 802820D4 0027F034 C0 81 00 E8 */ lfs f4, 0xe8(r1) -/* 802820D8 0027F038 C0 61 00 EC */ lfs f3, 0xec(r1) -/* 802820DC 0027F03C 38 81 01 10 */ addi r4, r1, 0x110 -/* 802820E0 0027F040 C0 41 00 F0 */ lfs f2, 0xf0(r1) -/* 802820E4 0027F044 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 802820E8 0027F048 D0 E1 01 10 */ stfs f7, 0x110(r1) -/* 802820EC 0027F04C D0 C1 01 14 */ stfs f6, 0x114(r1) -/* 802820F0 0027F050 D0 A1 01 18 */ stfs f5, 0x118(r1) -/* 802820F4 0027F054 D0 81 01 1C */ stfs f4, 0x11c(r1) -/* 802820F8 0027F058 D0 61 01 20 */ stfs f3, 0x120(r1) -/* 802820FC 0027F05C D0 41 01 24 */ stfs f2, 0x124(r1) -/* 80282100 0027F060 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 80282104 0027F064 4B E9 8C A9 */ bl MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff -/* 80282108 0027F068 FC 20 F8 90 */ fmr f1, f31 -/* 8028210C 0027F06C 7F 83 E3 78 */ mr r3, r28 -/* 80282110 0027F070 7F 44 D3 78 */ mr r4, r26 -/* 80282114 0027F074 4B E9 8C 49 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -/* 80282118 0027F078 C0 1C 05 74 */ lfs f0, 0x574(r28) -/* 8028211C 0027F07C EC 20 F8 2A */ fadds f1, f0, f31 -/* 80282120 0027F080 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80282124 0027F084 C0 1C 05 78 */ lfs f0, 0x578(r28) -/* 80282128 0027F088 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028212C 0027F08C 40 80 00 0C */ bge lbl_80282138 -/* 80282130 0027F090 38 61 00 24 */ addi r3, r1, 0x24 -/* 80282134 0027F094 48 00 00 08 */ b lbl_8028213C -lbl_80282138: -/* 80282138 0027F098 38 7C 05 78 */ addi r3, r28, 0x578 -lbl_8028213C: -/* 8028213C 0027F09C C0 23 00 00 */ lfs f1, 0(r3) -/* 80282140 0027F0A0 C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) -/* 80282144 0027F0A4 D0 3C 05 74 */ stfs f1, 0x574(r28) -/* 80282148 0027F0A8 C0 5C 05 74 */ lfs f2, 0x574(r28) -/* 8028214C 0027F0AC C0 3C 05 78 */ lfs f1, 0x578(r28) -/* 80282150 0027F0B0 EF A2 08 24 */ fdivs f29, f2, f1 -/* 80282154 0027F0B4 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80282158 0027F0B8 40 80 00 14 */ bge lbl_8028216C -/* 8028215C 0027F0BC C0 02 BD 8C */ lfs f0, lbl_805ADAAC@sda21(r2) -/* 80282160 0027F0C0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80282164 0027F0C4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80282168 0027F0C8 41 81 00 2C */ bgt lbl_80282194 -lbl_8028216C: -/* 8028216C 0027F0CC 80 1C 07 34 */ lwz r0, 0x734(r28) -/* 80282170 0027F0D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80282174 0027F0D4 41 82 00 20 */ beq lbl_80282194 -/* 80282178 0027F0D8 80 1C 07 3C */ lwz r0, 0x73c(r28) -/* 8028217C 0027F0DC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80282180 0027F0E0 38 9C 07 30 */ addi r4, r28, 0x730 -/* 80282184 0027F0E4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80282188 0027F0E8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028218C 0027F0EC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80282190 0027F0F0 48 00 07 F9 */ bl sub_80282988 -lbl_80282194: -/* 80282194 0027F0F4 3B 20 00 00 */ li r25, 0 -/* 80282198 0027F0F8 3B 60 00 00 */ li r27, 0 -/* 8028219C 0027F0FC 48 00 00 38 */ b lbl_802821D4 -lbl_802821A0: -/* 802821A0 0027F100 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) -/* 802821A4 0027F104 FC 20 F8 90 */ fmr f1, f31 -/* 802821A8 0027F108 38 1B 00 04 */ addi r0, r27, 4 -/* 802821AC 0027F10C 7F A5 EB 78 */ mr r5, r29 -/* 802821B0 0027F110 90 61 00 14 */ stw r3, 0x14(r1) -/* 802821B4 0027F114 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802821B8 0027F118 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802821BC 0027F11C 80 9C 07 3C */ lwz r4, 0x73c(r28) -/* 802821C0 0027F120 38 E0 00 01 */ li r7, 1 -/* 802821C4 0027F124 7C 84 00 2E */ lwzx r4, r4, r0 -/* 802821C8 0027F128 4B E9 39 6D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -/* 802821CC 0027F12C 3B 7B 00 08 */ addi r27, r27, 8 -/* 802821D0 0027F130 3B 39 00 01 */ addi r25, r25, 1 -lbl_802821D4: -/* 802821D4 0027F134 80 1C 07 34 */ lwz r0, 0x734(r28) -/* 802821D8 0027F138 7C 19 00 00 */ cmpw r25, r0 -/* 802821DC 0027F13C 41 80 FF C4 */ blt lbl_802821A0 -/* 802821E0 0027F140 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 802821E4 0027F144 7F A4 EB 78 */ mr r4, r29 -/* 802821E8 0027F148 4B D8 99 31 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 802821EC 0027F14C C0 23 01 60 */ lfs f1, 0x160(r3) -/* 802821F0 0027F150 38 81 00 80 */ addi r4, r1, 0x80 -/* 802821F4 0027F154 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 802821F8 0027F158 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 802821FC 0027F15C C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80282200 0027F160 7F 83 E3 78 */ mr r3, r28 -/* 80282204 0027F164 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80282208 0027F168 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8028220C 0027F16C D0 61 00 88 */ stfs f3, 0x88(r1) -/* 80282210 0027F170 4B D9 06 F1 */ bl GetTransitionAlpha__7CPlayerCFRC9CVector3ff -/* 80282214 0027F174 2C 1E 00 02 */ cmpwi r30, 2 -/* 80282218 0027F178 D0 3C 05 88 */ stfs f1, 0x588(r28) -/* 8028221C 0027F17C 40 82 00 B4 */ bne lbl_802822D0 -/* 80282220 0027F180 C0 02 BD 90 */ lfs f0, lbl_805ADAB0@sda21(r2) -/* 80282224 0027F184 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80282228 0027F188 40 81 00 A8 */ ble lbl_802822D0 -/* 8028222C 0027F18C EC 3D 00 28 */ fsubs f1, f29, f0 -/* 80282230 0027F190 C0 02 BD 98 */ lfs f0, lbl_805ADAB8@sda21(r2) -/* 80282234 0027F194 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) -/* 80282238 0027F198 C0 62 BD 94 */ lfs f3, lbl_805ADAB4@sda21(r2) -/* 8028223C 0027F19C EC 21 00 24 */ fdivs f1, f1, f0 -/* 80282240 0027F1A0 C0 0D 99 70 */ lfs f0, lbl_805A8530@sda21(r13) -/* 80282244 0027F1A4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80282248 0027F1A8 EC 23 08 2A */ fadds f1, f3, f1 -/* 8028224C 0027F1AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80282250 0027F1B0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80282254 0027F1B4 40 80 00 0C */ bge lbl_80282260 -/* 80282258 0027F1B8 38 8D 99 70 */ addi r4, r13, lbl_805A8530@sda21 -/* 8028225C 0027F1BC 48 00 00 08 */ b lbl_80282264 -lbl_80282260: -/* 80282260 0027F1C0 38 81 00 10 */ addi r4, r1, 0x10 -lbl_80282264: -/* 80282264 0027F1C4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80282268 0027F1C8 38 A0 00 05 */ li r5, 5 -/* 8028226C 0027F1CC C0 5C 05 88 */ lfs f2, 0x588(r28) -/* 80282270 0027F1D0 38 80 00 00 */ li r4, 0 -/* 80282274 0027F1D4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80282278 0027F1D8 38 00 00 03 */ li r0, 3 -/* 8028227C 0027F1DC EC 02 00 32 */ fmuls f0, f2, f0 -/* 80282280 0027F1E0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80282284 0027F1E4 FC 40 08 90 */ fmr f2, f1 -/* 80282288 0027F1E8 FC 60 08 90 */ fmr f3, f1 -/* 8028228C 0027F1EC D0 1C 05 88 */ stfs f0, 0x588(r28) -/* 80282290 0027F1F0 C0 9C 05 88 */ lfs f4, 0x588(r28) -/* 80282294 0027F1F4 98 A1 00 58 */ stb r5, 0x58(r1) -/* 80282298 0027F1F8 98 81 00 59 */ stb r4, 0x59(r1) -/* 8028229C 0027F1FC B0 01 00 5A */ sth r0, 0x5a(r1) -/* 802822A0 0027F200 48 0E 11 4D */ bl __ct__6CColorFffff -/* 802822A4 0027F204 A0 01 00 5A */ lhz r0, 0x5a(r1) -/* 802822A8 0027F208 88 81 00 59 */ lbz r4, 0x59(r1) -/* 802822AC 0027F20C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 802822B0 0027F210 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 802822B4 0027F214 88 01 00 58 */ lbz r0, 0x58(r1) -/* 802822B8 0027F218 60 63 00 01 */ ori r3, r3, 1 -/* 802822BC 0027F21C 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 802822C0 0027F220 98 9C 00 B5 */ stb r4, 0xb5(r28) -/* 802822C4 0027F224 B0 7C 00 B6 */ sth r3, 0xb6(r28) -/* 802822C8 0027F228 90 BC 00 B8 */ stw r5, 0xb8(r28) -/* 802822CC 0027F22C 48 00 01 40 */ b lbl_8028240C -lbl_802822D0: -/* 802822D0 0027F230 2C 1E 00 03 */ cmpwi r30, 3 -/* 802822D4 0027F234 40 82 00 E0 */ bne lbl_802823B4 -/* 802822D8 0027F238 C0 9C 05 88 */ lfs f4, 0x588(r28) -/* 802822DC 0027F23C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 802822E0 0027F240 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 802822E4 0027F244 40 80 00 D0 */ bge lbl_802823B4 -/* 802822E8 0027F248 C0 02 BD 9C */ lfs f0, lbl_805ADABC@sda21(r2) -/* 802822EC 0027F24C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802822F0 0027F250 40 81 00 70 */ ble lbl_80282360 -/* 802822F4 0027F254 38 A0 00 05 */ li r5, 5 -/* 802822F8 0027F258 38 80 00 00 */ li r4, 0 -/* 802822FC 0027F25C 38 00 00 03 */ li r0, 3 -/* 80282300 0027F260 FC 40 08 90 */ fmr f2, f1 -/* 80282304 0027F264 FC 60 08 90 */ fmr f3, f1 -/* 80282308 0027F268 98 A1 00 48 */ stb r5, 0x48(r1) -/* 8028230C 0027F26C 38 61 00 4C */ addi r3, r1, 0x4c -/* 80282310 0027F270 98 81 00 49 */ stb r4, 0x49(r1) -/* 80282314 0027F274 B0 01 00 4A */ sth r0, 0x4a(r1) -/* 80282318 0027F278 48 0E 10 D5 */ bl __ct__6CColorFffff -/* 8028231C 0027F27C 88 C1 00 48 */ lbz r6, 0x48(r1) -/* 80282320 0027F280 88 A1 00 49 */ lbz r5, 0x49(r1) -/* 80282324 0027F284 A0 01 00 4A */ lhz r0, 0x4a(r1) -/* 80282328 0027F288 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028232C 0027F28C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80282330 0027F290 98 C1 00 50 */ stb r6, 0x50(r1) -/* 80282334 0027F294 60 04 00 01 */ ori r4, r0, 1 -/* 80282338 0027F298 98 DC 00 B4 */ stb r6, 0xb4(r28) -/* 8028233C 0027F29C 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 80282340 0027F2A0 60 00 00 20 */ ori r0, r0, 0x20 -/* 80282344 0027F2A4 98 BC 00 B5 */ stb r5, 0xb5(r28) -/* 80282348 0027F2A8 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 8028234C 0027F2AC 98 A1 00 51 */ stb r5, 0x51(r1) -/* 80282350 0027F2B0 B0 81 00 52 */ sth r4, 0x52(r1) -/* 80282354 0027F2B4 90 61 00 54 */ stw r3, 0x54(r1) -/* 80282358 0027F2B8 90 7C 00 B8 */ stw r3, 0xb8(r28) -/* 8028235C 0027F2BC 48 00 00 B0 */ b lbl_8028240C -lbl_80282360: -/* 80282360 0027F2C0 38 A0 00 05 */ li r5, 5 -/* 80282364 0027F2C4 38 80 00 00 */ li r4, 0 -/* 80282368 0027F2C8 38 00 00 03 */ li r0, 3 -/* 8028236C 0027F2CC FC 40 08 90 */ fmr f2, f1 -/* 80282370 0027F2D0 FC 60 08 90 */ fmr f3, f1 -/* 80282374 0027F2D4 98 A1 00 40 */ stb r5, 0x40(r1) -/* 80282378 0027F2D8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028237C 0027F2DC 98 81 00 41 */ stb r4, 0x41(r1) -/* 80282380 0027F2E0 B0 01 00 42 */ sth r0, 0x42(r1) -/* 80282384 0027F2E4 48 0E 10 69 */ bl __ct__6CColorFffff -/* 80282388 0027F2E8 A0 01 00 42 */ lhz r0, 0x42(r1) -/* 8028238C 0027F2EC 88 81 00 41 */ lbz r4, 0x41(r1) -/* 80282390 0027F2F0 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 80282394 0027F2F4 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 80282398 0027F2F8 88 01 00 40 */ lbz r0, 0x40(r1) -/* 8028239C 0027F2FC 60 63 00 01 */ ori r3, r3, 1 -/* 802823A0 0027F300 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 802823A4 0027F304 98 9C 00 B5 */ stb r4, 0xb5(r28) -/* 802823A8 0027F308 B0 7C 00 B6 */ sth r3, 0xb6(r28) -/* 802823AC 0027F30C 90 BC 00 B8 */ stw r5, 0xb8(r28) -/* 802823B0 0027F310 48 00 00 5C */ b lbl_8028240C -lbl_802823B4: -/* 802823B4 0027F314 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 802823B8 0027F318 38 A0 00 05 */ li r5, 5 -/* 802823BC 0027F31C C0 9C 05 88 */ lfs f4, 0x588(r28) -/* 802823C0 0027F320 38 80 00 00 */ li r4, 0 -/* 802823C4 0027F324 38 00 00 03 */ li r0, 3 -/* 802823C8 0027F328 FC 40 08 90 */ fmr f2, f1 -/* 802823CC 0027F32C FC 60 08 90 */ fmr f3, f1 -/* 802823D0 0027F330 98 A1 00 38 */ stb r5, 0x38(r1) -/* 802823D4 0027F334 38 61 00 3C */ addi r3, r1, 0x3c -/* 802823D8 0027F338 98 81 00 39 */ stb r4, 0x39(r1) -/* 802823DC 0027F33C B0 01 00 3A */ sth r0, 0x3a(r1) -/* 802823E0 0027F340 48 0E 10 0D */ bl __ct__6CColorFffff -/* 802823E4 0027F344 A0 01 00 3A */ lhz r0, 0x3a(r1) -/* 802823E8 0027F348 88 81 00 39 */ lbz r4, 0x39(r1) -/* 802823EC 0027F34C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 802823F0 0027F350 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802823F4 0027F354 88 01 00 38 */ lbz r0, 0x38(r1) -/* 802823F8 0027F358 60 63 00 03 */ ori r3, r3, 3 -/* 802823FC 0027F35C 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 80282400 0027F360 98 9C 00 B5 */ stb r4, 0xb5(r28) -/* 80282404 0027F364 B0 7C 00 B6 */ sth r3, 0xb6(r28) -/* 80282408 0027F368 90 BC 00 B8 */ stw r5, 0xb8(r28) -lbl_8028240C: -/* 8028240C 0027F36C 80 1C 05 94 */ lwz r0, 0x594(r28) -/* 80282410 0027F370 2C 00 00 04 */ cmpwi r0, 4 -/* 80282414 0027F374 40 80 00 28 */ bge lbl_8028243C -/* 80282418 0027F378 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 8028241C 0027F37C 7C 7C 02 14 */ add r3, r28, r0 -/* 80282420 0027F380 34 63 05 98 */ addic. r3, r3, 0x598 -/* 80282424 0027F384 41 82 00 0C */ beq lbl_80282430 -/* 80282428 0027F388 38 9C 07 F4 */ addi r4, r28, 0x7f4 -/* 8028242C 0027F38C 48 09 07 49 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_80282430: -/* 80282430 0027F390 80 7C 05 94 */ lwz r3, 0x594(r28) -/* 80282434 0027F394 38 03 00 01 */ addi r0, r3, 1 -/* 80282438 0027F398 90 1C 05 94 */ stw r0, 0x594(r28) -lbl_8028243C: -/* 8028243C 0027F39C 80 7C 05 94 */ lwz r3, 0x594(r28) -/* 80282440 0027F3A0 3B 5C 05 98 */ addi r26, r28, 0x598 -/* 80282444 0027F3A4 3B 63 FF FF */ addi r27, r3, -1 -/* 80282448 0027F3A8 1C 1B 00 30 */ mulli r0, r27, 0x30 -/* 8028244C 0027F3AC 7F FA 02 14 */ add r31, r26, r0 -/* 80282450 0027F3B0 48 00 00 20 */ b lbl_80282470 -lbl_80282454: -/* 80282454 0027F3B4 38 1B FF FF */ addi r0, r27, -1 -/* 80282458 0027F3B8 7F E3 FB 78 */ mr r3, r31 -/* 8028245C 0027F3BC 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80282460 0027F3C0 7C 9A 02 14 */ add r4, r26, r0 -/* 80282464 0027F3C4 48 09 06 DD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80282468 0027F3C8 3B FF FF D0 */ addi r31, r31, -48 -/* 8028246C 0027F3CC 3B 7B FF FF */ addi r27, r27, -1 -lbl_80282470: -/* 80282470 0027F3D0 2C 1B 00 00 */ cmpwi r27, 0 -/* 80282474 0027F3D4 41 81 FF E0 */ bgt lbl_80282454 -/* 80282478 0027F3D8 7F 43 D3 78 */ mr r3, r26 -/* 8028247C 0027F3DC 38 9C 07 F4 */ addi r4, r28, 0x7f4 -/* 80282480 0027F3E0 48 09 06 C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80282484 0027F3E4 80 1C 06 58 */ lwz r0, 0x658(r28) -/* 80282488 0027F3E8 3B FC 00 34 */ addi r31, r28, 0x34 -/* 8028248C 0027F3EC 2C 00 00 04 */ cmpwi r0, 4 -/* 80282490 0027F3F0 40 80 00 28 */ bge lbl_802824B8 -/* 80282494 0027F3F4 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80282498 0027F3F8 7C 7C 02 14 */ add r3, r28, r0 -/* 8028249C 0027F3FC 34 63 06 5C */ addic. r3, r3, 0x65c -/* 802824A0 0027F400 41 82 00 0C */ beq lbl_802824AC -/* 802824A4 0027F404 7F E4 FB 78 */ mr r4, r31 -/* 802824A8 0027F408 48 09 06 CD */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_802824AC: -/* 802824AC 0027F40C 80 7C 06 58 */ lwz r3, 0x658(r28) -/* 802824B0 0027F410 38 03 00 01 */ addi r0, r3, 1 -/* 802824B4 0027F414 90 1C 06 58 */ stw r0, 0x658(r28) -lbl_802824B8: -/* 802824B8 0027F418 80 7C 06 58 */ lwz r3, 0x658(r28) -/* 802824BC 0027F41C 3B 3C 06 5C */ addi r25, r28, 0x65c -/* 802824C0 0027F420 3B 63 FF FF */ addi r27, r3, -1 -/* 802824C4 0027F424 1C 1B 00 30 */ mulli r0, r27, 0x30 -/* 802824C8 0027F428 7F 59 02 14 */ add r26, r25, r0 -/* 802824CC 0027F42C 48 00 00 20 */ b lbl_802824EC -lbl_802824D0: -/* 802824D0 0027F430 38 1B FF FF */ addi r0, r27, -1 -/* 802824D4 0027F434 7F 43 D3 78 */ mr r3, r26 -/* 802824D8 0027F438 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 802824DC 0027F43C 7C 99 02 14 */ add r4, r25, r0 -/* 802824E0 0027F440 48 09 06 61 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802824E4 0027F444 3B 5A FF D0 */ addi r26, r26, -48 -/* 802824E8 0027F448 3B 7B FF FF */ addi r27, r27, -1 -lbl_802824EC: -/* 802824EC 0027F44C 2C 1B 00 00 */ cmpwi r27, 0 -/* 802824F0 0027F450 41 81 FF E0 */ bgt lbl_802824D0 -/* 802824F4 0027F454 7F 23 CB 78 */ mr r3, r25 -/* 802824F8 0027F458 7F E4 FB 78 */ mr r4, r31 -/* 802824FC 0027F45C 48 09 06 45 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80282500 0027F460 80 1C 07 1C */ lwz r0, 0x71c(r28) -/* 80282504 0027F464 2C 00 00 04 */ cmpwi r0, 4 -/* 80282508 0027F468 40 80 00 28 */ bge lbl_80282530 -/* 8028250C 0027F46C 54 00 10 3A */ slwi r0, r0, 2 -/* 80282510 0027F470 7C 7C 02 14 */ add r3, r28, r0 -/* 80282514 0027F474 34 63 07 20 */ addic. r3, r3, 0x720 -/* 80282518 0027F478 41 82 00 0C */ beq lbl_80282524 -/* 8028251C 0027F47C C0 1C 05 88 */ lfs f0, 0x588(r28) -/* 80282520 0027F480 D0 03 00 00 */ stfs f0, 0(r3) -lbl_80282524: -/* 80282524 0027F484 80 7C 07 1C */ lwz r3, 0x71c(r28) -/* 80282528 0027F488 38 03 00 01 */ addi r0, r3, 1 -/* 8028252C 0027F48C 90 1C 07 1C */ stw r0, 0x71c(r28) -lbl_80282530: -/* 80282530 0027F490 80 7C 07 1C */ lwz r3, 0x71c(r28) -/* 80282534 0027F494 38 FC 07 20 */ addi r7, r28, 0x720 -/* 80282538 0027F498 34 A3 FF FF */ addic. r5, r3, -1 -/* 8028253C 0027F49C 54 A0 10 3A */ slwi r0, r5, 2 -/* 80282540 0027F4A0 7C A3 2B 78 */ mr r3, r5 -/* 80282544 0027F4A4 7C C7 02 14 */ add r6, r7, r0 -/* 80282548 0027F4A8 40 81 00 C4 */ ble lbl_8028260C -/* 8028254C 0027F4AC 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f -/* 80282550 0027F4B0 7C 09 03 A6 */ mtctr r0 -/* 80282554 0027F4B4 41 82 00 98 */ beq lbl_802825EC -lbl_80282558: -/* 80282558 0027F4B8 38 85 FF FF */ addi r4, r5, -1 -/* 8028255C 0027F4BC 54 80 10 3A */ slwi r0, r4, 2 -/* 80282560 0027F4C0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 80282564 0027F4C4 38 85 FF FE */ addi r4, r5, -2 -/* 80282568 0027F4C8 54 80 10 3A */ slwi r0, r4, 2 -/* 8028256C 0027F4CC D0 06 00 00 */ stfs f0, 0(r6) -/* 80282570 0027F4D0 38 85 FF FD */ addi r4, r5, -3 -/* 80282574 0027F4D4 7C 07 04 2E */ lfsx f0, r7, r0 -/* 80282578 0027F4D8 54 80 10 3A */ slwi r0, r4, 2 -/* 8028257C 0027F4DC 38 85 FF FC */ addi r4, r5, -4 -/* 80282580 0027F4E0 D0 06 FF FC */ stfs f0, -4(r6) -/* 80282584 0027F4E4 7C 07 04 2E */ lfsx f0, r7, r0 -/* 80282588 0027F4E8 54 80 10 3A */ slwi r0, r4, 2 -/* 8028258C 0027F4EC 38 85 FF FB */ addi r4, r5, -5 -/* 80282590 0027F4F0 D0 06 FF F8 */ stfs f0, -8(r6) -/* 80282594 0027F4F4 7C 07 04 2E */ lfsx f0, r7, r0 -/* 80282598 0027F4F8 54 80 10 3A */ slwi r0, r4, 2 -/* 8028259C 0027F4FC 38 85 FF FA */ addi r4, r5, -6 -/* 802825A0 0027F500 D0 06 FF F4 */ stfs f0, -0xc(r6) -/* 802825A4 0027F504 7C 07 04 2E */ lfsx f0, r7, r0 -/* 802825A8 0027F508 54 80 10 3A */ slwi r0, r4, 2 -/* 802825AC 0027F50C 38 85 FF F9 */ addi r4, r5, -7 -/* 802825B0 0027F510 D0 06 FF F0 */ stfs f0, -0x10(r6) -/* 802825B4 0027F514 7C 07 04 2E */ lfsx f0, r7, r0 -/* 802825B8 0027F518 54 80 10 3A */ slwi r0, r4, 2 -/* 802825BC 0027F51C 38 85 FF F8 */ addi r4, r5, -8 -/* 802825C0 0027F520 38 A5 FF F8 */ addi r5, r5, -8 -/* 802825C4 0027F524 D0 06 FF EC */ stfs f0, -0x14(r6) -/* 802825C8 0027F528 7C 07 04 2E */ lfsx f0, r7, r0 -/* 802825CC 0027F52C 54 80 10 3A */ slwi r0, r4, 2 -/* 802825D0 0027F530 D0 06 FF E8 */ stfs f0, -0x18(r6) -/* 802825D4 0027F534 7C 07 04 2E */ lfsx f0, r7, r0 -/* 802825D8 0027F538 D0 06 FF E4 */ stfs f0, -0x1c(r6) -/* 802825DC 0027F53C 38 C6 FF E0 */ addi r6, r6, -32 -/* 802825E0 0027F540 42 00 FF 78 */ bdnz lbl_80282558 -/* 802825E4 0027F544 70 63 00 07 */ andi. r3, r3, 7 -/* 802825E8 0027F548 41 82 00 24 */ beq lbl_8028260C -lbl_802825EC: -/* 802825EC 0027F54C 7C 69 03 A6 */ mtctr r3 -lbl_802825F0: -/* 802825F0 0027F550 38 85 FF FF */ addi r4, r5, -1 -/* 802825F4 0027F554 38 A5 FF FF */ addi r5, r5, -1 -/* 802825F8 0027F558 54 80 10 3A */ slwi r0, r4, 2 -/* 802825FC 0027F55C 7C 07 04 2E */ lfsx f0, r7, r0 -/* 80282600 0027F560 D0 06 00 00 */ stfs f0, 0(r6) -/* 80282604 0027F564 38 C6 FF FC */ addi r6, r6, -4 -/* 80282608 0027F568 42 00 FF E8 */ bdnz lbl_802825F0 -lbl_8028260C: -/* 8028260C 0027F56C C0 1C 05 88 */ lfs f0, 0x588(r28) -/* 80282610 0027F570 2C 1E 00 03 */ cmpwi r30, 3 -/* 80282614 0027F574 D0 07 00 00 */ stfs f0, 0(r7) -/* 80282618 0027F578 41 82 00 14 */ beq lbl_8028262C -/* 8028261C 0027F57C 40 80 03 40 */ bge lbl_8028295C -/* 80282620 0027F580 2C 1E 00 02 */ cmpwi r30, 2 -/* 80282624 0027F584 40 80 01 F0 */ bge lbl_80282814 -/* 80282628 0027F588 48 00 03 34 */ b lbl_8028295C -lbl_8028262C: -/* 8028262C 0027F58C 7F 84 E3 78 */ mr r4, r28 -/* 80282630 0027F590 38 61 01 48 */ addi r3, r1, 0x148 -/* 80282634 0027F594 81 9C 00 00 */ lwz r12, 0(r28) -/* 80282638 0027F598 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8028263C 0027F59C 7D 89 03 A6 */ mtctr r12 -/* 80282640 0027F5A0 4E 80 04 21 */ bctrl -/* 80282644 0027F5A4 7F 83 E3 78 */ mr r3, r28 -/* 80282648 0027F5A8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028264C 0027F5AC 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80282650 0027F5B0 7D 89 03 A6 */ mtctr r12 -/* 80282654 0027F5B4 4E 80 04 21 */ bctrl -/* 80282658 0027F5B8 7C 64 1B 78 */ mr r4, r3 -/* 8028265C 0027F5BC 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80282660 0027F5C0 81 84 00 00 */ lwz r12, 0(r4) -/* 80282664 0027F5C4 38 A1 01 48 */ addi r5, r1, 0x148 -/* 80282668 0027F5C8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028266C 0027F5CC 7D 89 03 A6 */ mtctr r12 -/* 80282670 0027F5D0 4E 80 04 21 */ bctrl -/* 80282674 0027F5D4 C0 A1 00 A8 */ lfs f5, 0xa8(r1) -/* 80282678 0027F5D8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8028267C 0027F5DC C0 81 00 AC */ lfs f4, 0xac(r1) -/* 80282680 0027F5E0 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80282684 0027F5E4 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 80282688 0027F5E8 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 8028268C 0027F5EC C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 80282690 0027F5F0 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80282694 0027F5F4 D0 A1 00 F8 */ stfs f5, 0xf8(r1) -/* 80282698 0027F5F8 D0 81 00 FC */ stfs f4, 0xfc(r1) -/* 8028269C 0027F5FC D0 61 01 00 */ stfs f3, 0x100(r1) -/* 802826A0 0027F600 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 802826A4 0027F604 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 802826A8 0027F608 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 802826AC 0027F60C 48 0B 4F 61 */ bl GetCenterPoint__6CAABoxCFv -/* 802826B0 0027F610 7F 83 E3 78 */ mr r3, r28 -/* 802826B4 0027F614 4B E9 8C 01 */ bl ClearForcesAndTorques__13CPhysicsActorFv -/* 802826B8 0027F618 4B D9 8E 7D */ bl Identity__10CAxisAngleFv -/* 802826BC 0027F61C 7C 64 1B 78 */ mr r4, r3 -/* 802826C0 0027F620 7F 83 E3 78 */ mr r3, r28 -/* 802826C4 0027F624 4B E9 85 39 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -/* 802826C8 0027F628 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 802826CC 0027F62C 3B 20 00 00 */ li r25, 0 -/* 802826D0 0027F630 4B D8 82 31 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 802826D4 0027F634 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802826D8 0027F638 41 82 00 08 */ beq lbl_802826E0 -/* 802826DC 0027F63C 3B 20 00 01 */ li r25, 1 -lbl_802826E0: -/* 802826E0 0027F640 C0 3C 05 74 */ lfs f1, 0x574(r28) -/* 802826E4 0027F644 C0 1C 05 78 */ lfs f0, 0x578(r28) -/* 802826E8 0027F648 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802826EC 0027F64C 4C 41 13 82 */ cror 2, 1, 2 -/* 802826F0 0027F650 41 82 00 0C */ beq lbl_802826FC -/* 802826F4 0027F654 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 802826F8 0027F658 41 82 02 64 */ beq lbl_8028295C -lbl_802826FC: -/* 802826FC 0027F65C C0 3C 08 24 */ lfs f1, 0x824(r28) -/* 80282700 0027F660 C0 02 BD 78 */ lfs f0, lbl_805ADA98@sda21(r2) -/* 80282704 0027F664 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282708 0027F668 40 80 00 0C */ bge lbl_80282714 -/* 8028270C 0027F66C 38 62 BD 78 */ addi r3, r2, lbl_805ADA98@sda21 -/* 80282710 0027F670 48 00 00 08 */ b lbl_80282718 -lbl_80282714: -/* 80282714 0027F674 38 7C 08 24 */ addi r3, r28, 0x824 -lbl_80282718: -/* 80282718 0027F678 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028271C 0027F67C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80282720 0027F680 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80282724 0027F684 7F 83 E3 78 */ mr r3, r28 -/* 80282728 0027F688 D0 1C 08 24 */ stfs f0, 0x824(r28) -/* 8028272C 0027F68C 7F A4 EB 78 */ mr r4, r29 -/* 80282730 0027F690 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80282734 0027F694 C0 46 00 00 */ lfs f2, 0(r6) -/* 80282738 0027F698 C0 26 00 04 */ lfs f1, 4(r6) -/* 8028273C 0027F69C C0 06 00 08 */ lfs f0, 8(r6) -/* 80282740 0027F6A0 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80282744 0027F6A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80282748 0027F6A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8028274C 0027F6AC 4B D9 03 49 */ bl CanLeaveMorphBallState__7CPlayerCFR13CStateManagerR9CVector3f -/* 80282750 0027F6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80282754 0027F6B4 41 82 00 9C */ beq lbl_802827F0 -/* 80282758 0027F6B8 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8028275C 0027F6BC 7F 83 E3 78 */ mr r3, r28 -/* 80282760 0027F6C0 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80282764 0027F6C4 38 81 00 68 */ addi r4, r1, 0x68 -/* 80282768 0027F6C8 C0 7C 00 60 */ lfs f3, 0x60(r28) -/* 8028276C 0027F6CC C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 80282770 0027F6D0 EC 81 00 2A */ fadds f4, f1, f0 -/* 80282774 0027F6D4 C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 80282778 0027F6D8 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 8028277C 0027F6DC EC 43 10 2A */ fadds f2, f3, f2 -/* 80282780 0027F6E0 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80282784 0027F6E4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80282788 0027F6E8 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8028278C 0027F6EC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80282790 0027F6F0 4B DD 06 FD */ bl SetTranslation__6CActorFRC9CVector3f -/* 80282794 0027F6F4 7F 83 E3 78 */ mr r3, r28 -/* 80282798 0027F6F8 7F A4 EB 78 */ mr r4, r29 -/* 8028279C 0027F6FC 48 00 05 81 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager -/* 802827A0 0027F700 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 802827A4 0027F704 38 80 00 00 */ li r4, 0 -/* 802827A8 0027F708 38 00 00 03 */ li r0, 3 -/* 802827AC 0027F70C 98 81 00 30 */ stb r4, 0x30(r1) -/* 802827B0 0027F710 FC 40 08 90 */ fmr f2, f1 -/* 802827B4 0027F714 38 61 00 34 */ addi r3, r1, 0x34 -/* 802827B8 0027F718 FC 60 08 90 */ fmr f3, f1 -/* 802827BC 0027F71C 98 81 00 31 */ stb r4, 0x31(r1) -/* 802827C0 0027F720 FC 80 08 90 */ fmr f4, f1 -/* 802827C4 0027F724 B0 01 00 32 */ sth r0, 0x32(r1) -/* 802827C8 0027F728 48 0E 0C 25 */ bl __ct__6CColorFffff -/* 802827CC 0027F72C 88 01 00 30 */ lbz r0, 0x30(r1) -/* 802827D0 0027F730 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 802827D4 0027F734 88 01 00 31 */ lbz r0, 0x31(r1) -/* 802827D8 0027F738 98 1C 00 B5 */ stb r0, 0xb5(r28) -/* 802827DC 0027F73C A0 01 00 32 */ lhz r0, 0x32(r1) -/* 802827E0 0027F740 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 802827E4 0027F744 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802827E8 0027F748 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 802827EC 0027F74C 48 00 01 70 */ b lbl_8028295C -lbl_802827F0: -/* 802827F0 0027F750 C0 5C 05 78 */ lfs f2, 0x578(r28) -/* 802827F4 0027F754 FC 20 F8 90 */ fmr f1, f31 -/* 802827F8 0027F758 C0 1C 05 74 */ lfs f0, 0x574(r28) -/* 802827FC 0027F75C 7F 83 E3 78 */ mr r3, r28 -/* 80282800 0027F760 7F A4 EB 78 */ mr r4, r29 -/* 80282804 0027F764 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80282808 0027F768 D0 1C 05 74 */ stfs f0, 0x574(r28) -/* 8028280C 0027F76C 48 00 11 41 */ bl TransitionToMorphBallState__7CPlayerFfR13CStateManager -/* 80282810 0027F770 48 00 01 4C */ b lbl_8028295C -lbl_80282814: -/* 80282814 0027F774 7F 83 E3 78 */ mr r3, r28 -/* 80282818 0027F778 4B E9 8A 9D */ bl ClearForcesAndTorques__13CPhysicsActorFv -/* 8028281C 0027F77C 4B D9 8D 19 */ bl Identity__10CAxisAngleFv -/* 80282820 0027F780 7C 64 1B 78 */ mr r4, r3 -/* 80282824 0027F784 7F 83 E3 78 */ mr r3, r28 -/* 80282828 0027F788 4B E9 83 D5 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -/* 8028282C 0027F78C 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80282830 0027F790 3B 20 00 00 */ li r25, 0 -/* 80282834 0027F794 4B D8 80 CD */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80282838 0027F798 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028283C 0027F79C 41 82 00 08 */ beq lbl_80282844 -/* 80282840 0027F7A0 3B 20 00 01 */ li r25, 1 -lbl_80282844: -/* 80282844 0027F7A4 C0 3C 05 74 */ lfs f1, 0x574(r28) -/* 80282848 0027F7A8 C0 1C 05 78 */ lfs f0, 0x578(r28) -/* 8028284C 0027F7AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282850 0027F7B0 4C 41 13 82 */ cror 2, 1, 2 -/* 80282854 0027F7B4 41 82 00 0C */ beq lbl_80282860 -/* 80282858 0027F7B8 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8028285C 0027F7BC 41 82 00 A4 */ beq lbl_80282900 -lbl_80282860: -/* 80282860 0027F7C0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80282864 0027F7C4 7F 83 E3 78 */ mr r3, r28 -/* 80282868 0027F7C8 7F A4 EB 78 */ mr r4, r29 -/* 8028286C 0027F7CC 4B D9 06 91 */ bl CanEnterMorphBallState__7CPlayerCFR13CStateManagerf -/* 80282870 0027F7D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80282874 0027F7D4 41 82 00 6C */ beq lbl_802828E0 -/* 80282878 0027F7D8 7F 83 E3 78 */ mr r3, r28 -/* 8028287C 0027F7DC 7F A4 EB 78 */ mr r4, r29 -/* 80282880 0027F7E0 48 00 07 AD */ bl ActivateMorphBallCamera__7CPlayerFR13CStateManager -/* 80282884 0027F7E4 7F 83 E3 78 */ mr r3, r28 -/* 80282888 0027F7E8 7F A4 EB 78 */ mr r4, r29 -/* 8028288C 0027F7EC 48 00 06 65 */ bl EnterMorphBallState__7CPlayerFR13CStateManager -/* 80282890 0027F7F0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80282894 0027F7F4 38 80 00 00 */ li r4, 0 -/* 80282898 0027F7F8 38 00 00 03 */ li r0, 3 -/* 8028289C 0027F7FC 98 81 00 28 */ stb r4, 0x28(r1) -/* 802828A0 0027F800 FC 40 08 90 */ fmr f2, f1 -/* 802828A4 0027F804 38 61 00 2C */ addi r3, r1, 0x2c -/* 802828A8 0027F808 FC 60 08 90 */ fmr f3, f1 -/* 802828AC 0027F80C 98 81 00 29 */ stb r4, 0x29(r1) -/* 802828B0 0027F810 FC 80 08 90 */ fmr f4, f1 -/* 802828B4 0027F814 B0 01 00 2A */ sth r0, 0x2a(r1) -/* 802828B8 0027F818 48 0E 0B 35 */ bl __ct__6CColorFffff -/* 802828BC 0027F81C 88 01 00 28 */ lbz r0, 0x28(r1) -/* 802828C0 0027F820 98 1C 00 B4 */ stb r0, 0xb4(r28) -/* 802828C4 0027F824 88 01 00 29 */ lbz r0, 0x29(r1) -/* 802828C8 0027F828 98 1C 00 B5 */ stb r0, 0xb5(r28) -/* 802828CC 0027F82C A0 01 00 2A */ lhz r0, 0x2a(r1) -/* 802828D0 0027F830 B0 1C 00 B6 */ sth r0, 0xb6(r28) -/* 802828D4 0027F834 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802828D8 0027F838 90 1C 00 B8 */ stw r0, 0xb8(r28) -/* 802828DC 0027F83C 48 00 00 24 */ b lbl_80282900 -lbl_802828E0: -/* 802828E0 0027F840 C0 5C 05 78 */ lfs f2, 0x578(r28) -/* 802828E4 0027F844 FC 20 F8 90 */ fmr f1, f31 -/* 802828E8 0027F848 C0 1C 05 74 */ lfs f0, 0x574(r28) -/* 802828EC 0027F84C 7F 83 E3 78 */ mr r3, r28 -/* 802828F0 0027F850 7F A4 EB 78 */ mr r4, r29 -/* 802828F4 0027F854 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802828F8 0027F858 D0 1C 05 74 */ stfs f0, 0x574(r28) -/* 802828FC 0027F85C 48 00 07 79 */ bl TransitionFromMorphBallState__7CPlayerFR13CStateManager -lbl_80282900: -/* 80282900 0027F860 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80282904 0027F864 C0 5C 05 78 */ lfs f2, 0x578(r28) -/* 80282908 0027F868 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 8028290C 0027F86C 40 82 00 08 */ bne lbl_80282914 -/* 80282910 0027F870 48 00 00 24 */ b lbl_80282934 -lbl_80282914: -/* 80282914 0027F874 C0 1C 05 74 */ lfs f0, 0x574(r28) -/* 80282918 0027F878 38 81 00 0C */ addi r4, r1, 0xc -/* 8028291C 0027F87C 38 6D 99 28 */ addi r3, r13, lbl_805A84E8@sda21 -/* 80282920 0027F880 38 AD 99 2C */ addi r5, r13, lbl_805A84EC@sda21 -/* 80282924 0027F884 EC 00 10 24 */ fdivs f0, f0, f2 -/* 80282928 0027F888 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8028292C 0027F88C 4B D8 99 89 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80282930 0027F890 C0 23 00 00 */ lfs f1, 0(r3) -lbl_80282934: -/* 80282934 0027F894 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) -/* 80282938 0027F898 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028293C 0027F89C 4C 41 13 82 */ cror 2, 1, 2 -/* 80282940 0027F8A0 40 82 00 1C */ bne lbl_8028295C -/* 80282944 0027F8A4 80 7C 07 68 */ lwz r3, 0x768(r28) -/* 80282948 0027F8A8 4B E6 F6 65 */ bl IsMorphBallTransitionFlashValid__10CMorphBallCFv -/* 8028294C 0027F8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80282950 0027F8B0 40 82 00 0C */ bne lbl_8028295C -/* 80282954 0027F8B4 80 7C 07 68 */ lwz r3, 0x768(r28) -/* 80282958 0027F8B8 4B E6 F8 C9 */ bl ResetMorphBallTransitionFlash__10CMorphBallFv -lbl_8028295C: -/* 8028295C 0027F8BC E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 -/* 80282960 0027F8C0 CB E1 02 60 */ lfd f31, 0x260(r1) -/* 80282964 0027F8C4 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 -/* 80282968 0027F8C8 CB C1 02 50 */ lfd f30, 0x250(r1) -/* 8028296C 0027F8CC E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 -/* 80282970 0027F8D0 CB A1 02 40 */ lfd f29, 0x240(r1) -/* 80282974 0027F8D4 BB 21 02 24 */ lmw r25, 0x224(r1) -/* 80282978 0027F8D8 80 01 02 74 */ lwz r0, 0x274(r1) -/* 8028297C 0027F8DC 7C 08 03 A6 */ mtlr r0 -/* 80282980 0027F8E0 38 21 02 70 */ addi r1, r1, 0x270 -/* 80282984 0027F8E4 4E 80 00 20 */ blr - -.global sub_80282988 -sub_80282988: -/* 80282988 0027F8E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028298C 0027F8EC 7C 08 02 A6 */ mflr r0 -/* 80282990 0027F8F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80282994 0027F8F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80282998 0027F8F8 7C 7F 1B 78 */ mr r31, r3 -/* 8028299C 0027F8FC 80 C5 00 00 */ lwz r6, 0(r5) -/* 802829A0 0027F900 80 05 00 00 */ lwz r0, 0(r5) -/* 802829A4 0027F904 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802829A8 0027F908 38 E6 00 08 */ addi r7, r6, 8 -/* 802829AC 0027F90C 38 C1 00 0C */ addi r6, r1, 0xc -/* 802829B0 0027F910 90 E1 00 08 */ stw r7, 8(r1) -/* 802829B4 0027F914 90 E1 00 0C */ stw r7, 0xc(r1) -/* 802829B8 0027F918 90 01 00 10 */ stw r0, 0x10(r1) -/* 802829BC 0027F91C 48 00 00 19 */ bl "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -/* 802829C0 0027F920 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802829C4 0027F924 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802829C8 0027F928 7C 08 03 A6 */ mtlr r0 -/* 802829CC 0027F92C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802829D0 0027F930 4E 80 00 20 */ blr - -.global "erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" -"erase__Q24rstl66vector,Q24rstl17rmemory_allocator>FQ24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl66vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": -/* 802829D4 0027F934 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802829D8 0027F938 7C 08 02 A6 */ mflr r0 -/* 802829DC 0027F93C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802829E0 0027F940 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 802829E4 0027F944 7C BF 2B 78 */ mr r31, r5 -/* 802829E8 0027F948 7C D9 33 78 */ mr r25, r6 -/* 802829EC 0027F94C 7C 7D 1B 78 */ mr r29, r3 -/* 802829F0 0027F950 7C 9E 23 78 */ mr r30, r4 -/* 802829F4 0027F954 83 65 00 00 */ lwz r27, 0(r5) -/* 802829F8 0027F958 83 86 00 00 */ lwz r28, 0(r6) -/* 802829FC 0027F95C 93 61 00 0C */ stw r27, 0xc(r1) -/* 80282A00 0027F960 93 81 00 08 */ stw r28, 8(r1) -/* 80282A04 0027F964 48 00 00 28 */ b lbl_80282A2C -lbl_80282A08: -/* 80282A08 0027F968 28 1B 00 00 */ cmplwi r27, 0 -/* 80282A0C 0027F96C 41 82 00 1C */ beq lbl_80282A28 -/* 80282A10 0027F970 88 1B 00 00 */ lbz r0, 0(r27) -/* 80282A14 0027F974 28 00 00 00 */ cmplwi r0, 0 -/* 80282A18 0027F978 41 82 00 10 */ beq lbl_80282A28 -/* 80282A1C 0027F97C 80 7B 00 04 */ lwz r3, 4(r27) -/* 80282A20 0027F980 38 80 00 01 */ li r4, 1 -/* 80282A24 0027F984 4B E9 40 29 */ bl __dt__10CModelDataFv -lbl_80282A28: -/* 80282A28 0027F988 3B 7B 00 08 */ addi r27, r27, 8 -lbl_80282A2C: -/* 80282A2C 0027F98C 7C 1B E0 40 */ cmplw r27, r28 -/* 80282A30 0027F990 40 82 FF D8 */ bne lbl_80282A08 -/* 80282A34 0027F994 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80282A38 0027F998 3B 80 00 00 */ li r28, 0 -/* 80282A3C 0027F99C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80282A40 0027F9A0 83 79 00 00 */ lwz r27, 0(r25) -/* 80282A44 0027F9A4 7C 04 00 50 */ subf r0, r4, r0 -/* 80282A48 0027F9A8 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80282A4C 0027F9AC 7C 60 01 94 */ addze r3, r0 -/* 80282A50 0027F9B0 54 60 18 38 */ slwi r0, r3, 3 -/* 80282A54 0027F9B4 7C 79 1B 78 */ mr r25, r3 -/* 80282A58 0027F9B8 7F 44 02 14 */ add r26, r4, r0 -/* 80282A5C 0027F9BC 48 00 00 4C */ b lbl_80282AA8 -lbl_80282A60: -/* 80282A60 0027F9C0 28 1A 00 00 */ cmplwi r26, 0 -/* 80282A64 0027F9C4 41 82 00 18 */ beq lbl_80282A7C -/* 80282A68 0027F9C8 88 1B 00 00 */ lbz r0, 0(r27) -/* 80282A6C 0027F9CC 98 1A 00 00 */ stb r0, 0(r26) -/* 80282A70 0027F9D0 80 1B 00 04 */ lwz r0, 4(r27) -/* 80282A74 0027F9D4 90 1A 00 04 */ stw r0, 4(r26) -/* 80282A78 0027F9D8 9B 9B 00 00 */ stb r28, 0(r27) -lbl_80282A7C: -/* 80282A7C 0027F9DC 28 1B 00 00 */ cmplwi r27, 0 -/* 80282A80 0027F9E0 41 82 00 1C */ beq lbl_80282A9C -/* 80282A84 0027F9E4 88 1B 00 00 */ lbz r0, 0(r27) -/* 80282A88 0027F9E8 28 00 00 00 */ cmplwi r0, 0 -/* 80282A8C 0027F9EC 41 82 00 10 */ beq lbl_80282A9C -/* 80282A90 0027F9F0 80 7B 00 04 */ lwz r3, 4(r27) -/* 80282A94 0027F9F4 38 80 00 01 */ li r4, 1 -/* 80282A98 0027F9F8 4B E9 3F B5 */ bl __dt__10CModelDataFv -lbl_80282A9C: -/* 80282A9C 0027F9FC 3B 5A 00 08 */ addi r26, r26, 8 -/* 80282AA0 0027FA00 3B 39 00 01 */ addi r25, r25, 1 -/* 80282AA4 0027FA04 3B 7B 00 08 */ addi r27, r27, 8 -lbl_80282AA8: -/* 80282AA8 0027FA08 80 1E 00 04 */ lwz r0, 4(r30) -/* 80282AAC 0027FA0C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80282AB0 0027FA10 54 00 18 38 */ slwi r0, r0, 3 -/* 80282AB4 0027FA14 7C 03 02 14 */ add r0, r3, r0 -/* 80282AB8 0027FA18 7C 1B 00 40 */ cmplw r27, r0 -/* 80282ABC 0027FA1C 40 82 FF A4 */ bne lbl_80282A60 -/* 80282AC0 0027FA20 93 3E 00 04 */ stw r25, 4(r30) -/* 80282AC4 0027FA24 80 1F 00 00 */ lwz r0, 0(r31) -/* 80282AC8 0027FA28 90 1D 00 00 */ stw r0, 0(r29) -/* 80282ACC 0027FA2C BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80282AD0 0027FA30 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80282AD4 0027FA34 7C 08 03 A6 */ mtlr r0 -/* 80282AD8 0027FA38 38 21 00 30 */ addi r1, r1, 0x30 -/* 80282ADC 0027FA3C 4E 80 00 20 */ blr - -.global Clone__11IAnimReaderCFv -Clone__11IAnimReaderCFv: -/* 80282AE0 0027FA40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282AE4 0027FA44 7C 08 02 A6 */ mflr r0 -/* 80282AE8 0027FA48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282AEC 0027FA4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282AF0 0027FA50 7C 7F 1B 78 */ mr r31, r3 -/* 80282AF4 0027FA54 81 84 00 00 */ lwz r12, 0(r4) -/* 80282AF8 0027FA58 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80282AFC 0027FA5C 7D 89 03 A6 */ mtctr r12 -/* 80282B00 0027FA60 4E 80 04 21 */ bctrl -/* 80282B04 0027FA64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282B08 0027FA68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282B0C 0027FA6C 7C 08 03 A6 */ mtlr r0 -/* 80282B10 0027FA70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282B14 0027FA74 4E 80 00 20 */ blr - -.global UpdateTransitionFilter__7CPlayerFfR13CStateManager -UpdateTransitionFilter__7CPlayerFfR13CStateManager: -/* 80282B18 0027FA78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282B1C 0027FA7C 7C 08 02 A6 */ mflr r0 -/* 80282B20 0027FA80 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 80282B24 0027FA84 38 A4 0C E8 */ addi r5, r4, 0xce8 -/* 80282B28 0027FA88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282B2C 0027FA8C C0 03 08 24 */ lfs f0, 0x824(r3) -/* 80282B30 0027FA90 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80282B34 0027FA94 4C 40 13 82 */ cror 2, 0, 2 -/* 80282B38 0027FA98 40 82 00 14 */ bne lbl_80282B4C -/* 80282B3C 0027FA9C FC 20 10 90 */ fmr f1, f2 -/* 80282B40 0027FAA0 7C A3 2B 78 */ mr r3, r5 -/* 80282B44 0027FAA4 4B E6 A8 25 */ bl DisableFilter__17CCameraFilterPassFf -/* 80282B48 0027FAA8 48 00 01 30 */ b lbl_80282C78 -lbl_80282B4C: -/* 80282B4C 0027FAAC EC 20 08 2A */ fadds f1, f0, f1 -/* 80282B50 0027FAB0 C0 02 BD A4 */ lfs f0, lbl_805ADAC4@sda21(r2) -/* 80282B54 0027FAB4 D0 23 08 24 */ stfs f1, 0x824(r3) -/* 80282B58 0027FAB8 C0 23 08 24 */ lfs f1, 0x824(r3) -/* 80282B5C 0027FABC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282B60 0027FAC0 40 81 00 18 */ ble lbl_80282B78 -/* 80282B64 0027FAC4 FC 20 10 90 */ fmr f1, f2 -/* 80282B68 0027FAC8 D0 43 08 24 */ stfs f2, 0x824(r3) -/* 80282B6C 0027FACC 7C A3 2B 78 */ mr r3, r5 -/* 80282B70 0027FAD0 4B E6 A7 F9 */ bl DisableFilter__17CCameraFilterPassFf -/* 80282B74 0027FAD4 48 00 01 04 */ b lbl_80282C78 -lbl_80282B78: -/* 80282B78 0027FAD8 C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) -/* 80282B7C 0027FADC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282B80 0027FAE0 41 80 00 F8 */ blt lbl_80282C78 -/* 80282B84 0027FAE4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80282B88 0027FAE8 38 80 00 FF */ li r4, 0xff -/* 80282B8C 0027FAEC C0 42 BD AC */ lfs f2, lbl_805ADACC@sda21(r2) -/* 80282B90 0027FAF0 38 60 00 DF */ li r3, 0xdf -/* 80282B94 0027FAF4 38 00 00 89 */ li r0, 0x89 -/* 80282B98 0027FAF8 98 81 00 0C */ stb r4, 0xc(r1) -/* 80282B9C 0027FAFC FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 80282BA0 0027FB00 98 61 00 0D */ stb r3, 0xd(r1) -/* 80282BA4 0027FB04 98 01 00 0E */ stb r0, 0xe(r1) -/* 80282BA8 0027FB08 98 81 00 0F */ stb r4, 0xf(r1) -/* 80282BAC 0027FB0C 40 80 00 30 */ bge lbl_80282BDC -/* 80282BB0 0027FB10 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) -/* 80282BB4 0027FB14 C0 22 BD B0 */ lfs f1, lbl_805ADAD0@sda21(r2) -/* 80282BB8 0027FB18 EC 00 01 32 */ fmuls f0, f0, f4 -/* 80282BBC 0027FB1C EC 00 10 24 */ fdivs f0, f0, f2 -/* 80282BC0 0027FB20 EC 61 00 32 */ fmuls f3, f1, f0 -/* 80282BC4 0027FB24 F0 61 A0 0A */ psq_st f3, 10(r1), 1, qr2 -/* 80282BC8 0027FB28 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80282BCC 0027FB2C 88 01 00 0A */ lbz r0, 0xa(r1) -/* 80282BD0 0027FB30 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80282BD4 0027FB34 90 01 00 0C */ stw r0, 0xc(r1) -/* 80282BD8 0027FB38 48 00 00 84 */ b lbl_80282C5C -lbl_80282BDC: -/* 80282BDC 0027FB3C C0 42 BD B8 */ lfs f2, lbl_805ADAD8@sda21(r2) -/* 80282BE0 0027FB40 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 80282BE4 0027FB44 4C 41 13 82 */ cror 2, 1, 2 -/* 80282BE8 0027FB48 40 82 00 5C */ bne lbl_80282C44 -/* 80282BEC 0027FB4C EC 24 10 28 */ fsubs f1, f4, f2 -/* 80282BF0 0027FB50 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80282BF4 0027FB54 EC 41 10 24 */ fdivs f2, f1, f2 -/* 80282BF8 0027FB58 FC 20 12 10 */ fabs f1, f2 -/* 80282BFC 0027FB5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282C00 0027FB60 40 81 00 14 */ ble lbl_80282C14 -/* 80282C04 0027FB64 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80282C08 0027FB68 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80282C0C 0027FB6C FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80282C10 0027FB70 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_80282C14: -/* 80282C14 0027FB74 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80282C18 0027FB78 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) -/* 80282C1C 0027FB7C EC 00 10 28 */ fsubs f0, f0, f2 -/* 80282C20 0027FB80 C0 42 BD B0 */ lfs f2, lbl_805ADAD0@sda21(r2) -/* 80282C24 0027FB84 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80282C28 0027FB88 EC 62 00 32 */ fmuls f3, f2, f0 -/* 80282C2C 0027FB8C F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 -/* 80282C30 0027FB90 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80282C34 0027FB94 88 01 00 09 */ lbz r0, 9(r1) -/* 80282C38 0027FB98 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80282C3C 0027FB9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80282C40 0027FBA0 48 00 00 1C */ b lbl_80282C5C -lbl_80282C44: -/* 80282C44 0027FBA4 C0 62 BD CC */ lfs f3, lbl_805ADAEC@sda21(r2) -/* 80282C48 0027FBA8 F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 -/* 80282C4C 0027FBAC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80282C50 0027FBB0 88 01 00 08 */ lbz r0, 8(r1) -/* 80282C54 0027FBB4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 80282C58 0027FBB8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80282C5C: -/* 80282C5C 0027FBBC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80282C60 0027FBC0 7C A3 2B 78 */ mr r3, r5 -/* 80282C64 0027FBC4 38 C1 00 0C */ addi r6, r1, 0xc -/* 80282C68 0027FBC8 38 80 00 03 */ li r4, 3 -/* 80282C6C 0027FBCC 38 A0 00 05 */ li r5, 5 -/* 80282C70 0027FBD0 38 E0 FF FF */ li r7, -1 -/* 80282C74 0027FBD4 4B E6 A7 2D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -lbl_80282C78: -/* 80282C78 0027FBD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282C7C 0027FBDC 7C 08 03 A6 */ mtlr r0 -/* 80282C80 0027FBE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282C84 0027FBE4 4E 80 00 20 */ blr - -.global InitializeBallTransition__7CPlayerFv -InitializeBallTransition__7CPlayerFv: -/* 80282C88 0027FBE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80282C8C 0027FBEC 7C 08 02 A6 */ mflr r0 -/* 80282C90 0027FBF0 38 80 00 00 */ li r4, 0 -/* 80282C94 0027FBF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80282C98 0027FBF8 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 80282C9C 0027FBFC 28 05 00 00 */ cmplwi r5, 0 -/* 80282CA0 0027FC00 41 82 00 14 */ beq lbl_80282CB4 -/* 80282CA4 0027FC04 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80282CA8 0027FC08 28 00 00 00 */ cmplwi r0, 0 -/* 80282CAC 0027FC0C 41 82 00 08 */ beq lbl_80282CB4 -/* 80282CB0 0027FC10 38 80 00 01 */ li r4, 1 -lbl_80282CB4: -/* 80282CB4 0027FC14 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80282CB8 0027FC18 41 82 00 54 */ beq lbl_80282D0C -/* 80282CBC 0027FC1C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80282CC0 0027FC20 38 00 00 00 */ li r0, 0 -/* 80282CC4 0027FC24 38 80 00 02 */ li r4, 2 -/* 80282CC8 0027FC28 38 E0 FF FF */ li r7, -1 -/* 80282CCC 0027FC2C 38 C0 00 01 */ li r6, 1 -/* 80282CD0 0027FC30 90 81 00 08 */ stw r4, 8(r1) -/* 80282CD4 0027FC34 38 81 00 08 */ addi r4, r1, 8 -/* 80282CD8 0027FC38 38 A0 00 00 */ li r5, 0 -/* 80282CDC 0027FC3C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80282CE0 0027FC40 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80282CE4 0027FC44 98 C1 00 14 */ stb r6, 0x14(r1) -/* 80282CE8 0027FC48 90 01 00 18 */ stw r0, 0x18(r1) -/* 80282CEC 0027FC4C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80282CF0 0027FC50 98 01 00 20 */ stb r0, 0x20(r1) -/* 80282CF4 0027FC54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80282CF8 0027FC58 90 01 00 28 */ stw r0, 0x28(r1) -/* 80282CFC 0027FC5C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80282D00 0027FC60 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80282D04 0027FC64 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80282D08 0027FC68 4B DA A0 75 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -lbl_80282D0C: -/* 80282D0C 0027FC6C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80282D10 0027FC70 7C 08 03 A6 */ mtlr r0 -/* 80282D14 0027FC74 38 21 00 30 */ addi r1, r1, 0x30 -/* 80282D18 0027FC78 4E 80 00 20 */ blr - -.global LeaveMorphBallState__7CPlayerFR13CStateManager -LeaveMorphBallState__7CPlayerFR13CStateManager: -/* 80282D1C 0027FC7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80282D20 0027FC80 7C 08 02 A6 */ mflr r0 -/* 80282D24 0027FC84 90 01 00 34 */ stw r0, 0x34(r1) -/* 80282D28 0027FC88 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80282D2C 0027FC8C 7C 9F 23 78 */ mr r31, r4 -/* 80282D30 0027FC90 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80282D34 0027FC94 7C 7E 1B 78 */ mr r30, r3 -/* 80282D38 0027FC98 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80282D3C 0027FC9C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80282D40 0027FCA0 80 03 07 34 */ lwz r0, 0x734(r3) -/* 80282D44 0027FCA4 83 83 07 3C */ lwz r28, 0x73c(r3) -/* 80282D48 0027FCA8 54 00 18 38 */ slwi r0, r0, 3 -/* 80282D4C 0027FCAC 7F BC 02 14 */ add r29, r28, r0 -/* 80282D50 0027FCB0 93 81 00 14 */ stw r28, 0x14(r1) -/* 80282D54 0027FCB4 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 80282D58 0027FCB8 93 A1 00 18 */ stw r29, 0x18(r1) -/* 80282D5C 0027FCBC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80282D60 0027FCC0 48 00 00 28 */ b lbl_80282D88 -lbl_80282D64: -/* 80282D64 0027FCC4 28 1C 00 00 */ cmplwi r28, 0 -/* 80282D68 0027FCC8 41 82 00 1C */ beq lbl_80282D84 -/* 80282D6C 0027FCCC 88 1C 00 00 */ lbz r0, 0(r28) -/* 80282D70 0027FCD0 28 00 00 00 */ cmplwi r0, 0 -/* 80282D74 0027FCD4 41 82 00 10 */ beq lbl_80282D84 -/* 80282D78 0027FCD8 80 7C 00 04 */ lwz r3, 4(r28) -/* 80282D7C 0027FCDC 38 80 00 01 */ li r4, 1 -/* 80282D80 0027FCE0 4B E9 3C CD */ bl __dt__10CModelDataFv -lbl_80282D84: -/* 80282D84 0027FCE4 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80282D88: -/* 80282D88 0027FCE8 7C 1C E8 40 */ cmplw r28, r29 -/* 80282D8C 0027FCEC 40 82 FF D8 */ bne lbl_80282D64 -/* 80282D90 0027FCF0 38 00 00 00 */ li r0, 0 -/* 80282D94 0027FCF4 7F C3 F3 78 */ mr r3, r30 -/* 80282D98 0027FCF8 90 1E 07 34 */ stw r0, 0x734(r30) -/* 80282D9C 0027FCFC 7F E5 FB 78 */ mr r5, r31 -/* 80282DA0 0027FD00 38 80 00 25 */ li r4, 0x25 -/* 80282DA4 0027FD04 4B DD 15 AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80282DA8 0027FD08 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80282DAC 0027FD0C 7F C3 F3 78 */ mr r3, r30 -/* 80282DB0 0027FD10 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 80282DB4 0027FD14 7F E5 FB 78 */ mr r5, r31 -/* 80282DB8 0027FD18 C0 06 00 00 */ lfs f0, 0(r6) -/* 80282DBC 0027FD1C 38 80 00 00 */ li r4, 0 -/* 80282DC0 0027FD20 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 80282DC4 0027FD24 C0 06 00 04 */ lfs f0, 4(r6) -/* 80282DC8 0027FD28 D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 80282DCC 0027FD2C C0 06 00 08 */ lfs f0, 8(r6) -/* 80282DD0 0027FD30 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 80282DD4 0027FD34 4B D9 4A 11 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager -/* 80282DD8 0027FD38 C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) -/* 80282DDC 0027FD3C 7F C3 F3 78 */ mr r3, r30 -/* 80282DE0 0027FD40 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 80282DE4 0027FD44 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) -/* 80282DE8 0027FD48 4B D9 02 85 */ bl SetHudDisable__7CPlayerFfff -/* 80282DEC 0027FD4C C0 22 BD D0 */ lfs f1, lbl_805ADAF0@sda21(r2) -/* 80282DF0 0027FD50 7F C3 F3 78 */ mr r3, r30 -/* 80282DF4 0027FD54 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 80282DF8 0027FD58 C0 62 BD 8C */ lfs f3, lbl_805ADAAC@sda21(r2) -/* 80282DFC 0027FD5C 4B D9 02 71 */ bl SetHudDisable__7CPlayerFfff -/* 80282E00 0027FD60 7F C3 F3 78 */ mr r3, r30 -/* 80282E04 0027FD64 7F E4 FB 78 */ mr r4, r31 -/* 80282E08 0027FD68 48 00 11 21 */ bl SetIntoBallReadyAnimation__7CPlayerFR13CStateManager -/* 80282E0C 0027FD6C 7F C3 F3 78 */ mr r3, r30 -/* 80282E10 0027FD70 4B E9 85 69 */ bl Stop__13CPhysicsActorFv -/* 80282E14 0027FD74 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80282E18 0027FD78 7F E4 FB 78 */ mr r4, r31 -/* 80282E1C 0027FD7C D0 1E 03 E4 */ stfs f0, 0x3e4(r30) -/* 80282E20 0027FD80 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -/* 80282E24 0027FD84 D0 1E 03 EC */ stfs f0, 0x3ec(r30) -/* 80282E28 0027FD88 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) -/* 80282E2C 0027FD8C 80 7E 07 68 */ lwz r3, 0x768(r30) -/* 80282E30 0027FD90 4B E7 28 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager -/* 80282E34 0027FD94 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80282E38 0027FD98 7F E4 FB 78 */ mr r4, r31 -/* 80282E3C 0027FD9C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80282E40 0027FDA0 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80282E44 0027FDA4 A0 03 00 08 */ lhz r0, 8(r3) -/* 80282E48 0027FDA8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80282E4C 0027FDAC B0 01 00 08 */ sth r0, 8(r1) -/* 80282E50 0027FDB0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80282E54 0027FDB4 4B D8 79 F5 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -/* 80282E58 0027FDB8 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80282E5C 0027FDBC 7F E5 FB 78 */ mr r5, r31 -/* 80282E60 0027FDC0 38 80 00 00 */ li r4, 0 -/* 80282E64 0027FDC4 80 63 00 80 */ lwz r3, 0x80(r3) -/* 80282E68 0027FDC8 4B DF FE 35 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80282E6C 0027FDCC 7F C3 F3 78 */ mr r3, r30 -/* 80282E70 0027FDD0 7F E5 FB 78 */ mr r5, r31 -/* 80282E74 0027FDD4 38 80 00 00 */ li r4, 0 -/* 80282E78 0027FDD8 4B D9 44 25 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager -/* 80282E7C 0027FDDC 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80282E80 0027FDE0 38 A0 00 01 */ li r5, 1 -/* 80282E84 0027FDE4 7F E4 FB 78 */ mr r4, r31 -/* 80282E88 0027FDE8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80282E8C 0027FDEC 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80282E90 0027FDF0 88 03 01 C6 */ lbz r0, 0x1c6(r3) -/* 80282E94 0027FDF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80282E98 0027FDF8 98 03 01 C6 */ stb r0, 0x1c6(r3) -/* 80282E9C 0027FDFC 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80282EA0 0027FE00 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80282EA4 0027FE04 81 83 00 00 */ lwz r12, 0(r3) -/* 80282EA8 0027FE08 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80282EAC 0027FE0C 7D 89 03 A6 */ mtctr r12 -/* 80282EB0 0027FE10 4E 80 04 21 */ bctrl -/* 80282EB4 0027FE14 7F C3 F3 78 */ mr r3, r30 -/* 80282EB8 0027FE18 7F E5 FB 78 */ mr r5, r31 -/* 80282EBC 0027FE1C 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80282EC0 0027FE20 4B D9 60 09 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager -/* 80282EC4 0027FE24 7F C3 F3 78 */ mr r3, r30 -/* 80282EC8 0027FE28 7F E4 FB 78 */ mr r4, r31 -/* 80282ECC 0027FE2C 4B D9 71 E1 */ bl DrawGun__7CPlayerFR13CStateManager -/* 80282ED0 0027FE30 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80282ED4 0027FE34 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80282ED8 0027FE38 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80282EDC 0027FE3C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80282EE0 0027FE40 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80282EE4 0027FE44 7C 08 03 A6 */ mtlr r0 -/* 80282EE8 0027FE48 38 21 00 30 */ addi r1, r1, 0x30 -/* 80282EEC 0027FE4C 4E 80 00 20 */ blr - -.global EnterMorphBallState__7CPlayerFR13CStateManager -EnterMorphBallState__7CPlayerFR13CStateManager: -/* 80282EF0 0027FE50 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80282EF4 0027FE54 7C 08 02 A6 */ mflr r0 -/* 80282EF8 0027FE58 90 01 00 54 */ stw r0, 0x54(r1) -/* 80282EFC 0027FE5C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80282F00 0027FE60 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80282F04 0027FE64 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80282F08 0027FE68 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80282F0C 0027FE6C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80282F10 0027FE70 93 81 00 30 */ stw r28, 0x30(r1) -/* 80282F14 0027FE74 7C 9D 23 78 */ mr r29, r4 -/* 80282F18 0027FE78 7C 7C 1B 78 */ mr r28, r3 -/* 80282F1C 0027FE7C 7F A5 EB 78 */ mr r5, r29 -/* 80282F20 0027FE80 38 80 00 01 */ li r4, 1 -/* 80282F24 0027FE84 4B D9 48 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager -/* 80282F28 0027FE88 7F 83 E3 78 */ mr r3, r28 -/* 80282F2C 0027FE8C 7F A5 EB 78 */ mr r5, r29 -/* 80282F30 0027FE90 38 80 00 25 */ li r4, 0x25 -/* 80282F34 0027FE94 4B DD 10 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80282F38 0027FE98 80 1C 07 34 */ lwz r0, 0x734(r28) -/* 80282F3C 0027FE9C 83 DC 07 3C */ lwz r30, 0x73c(r28) -/* 80282F40 0027FEA0 54 00 18 38 */ slwi r0, r0, 3 -/* 80282F44 0027FEA4 7F FE 02 14 */ add r31, r30, r0 -/* 80282F48 0027FEA8 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80282F4C 0027FEAC 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80282F50 0027FEB0 93 E1 00 10 */ stw r31, 0x10(r1) -/* 80282F54 0027FEB4 93 C1 00 08 */ stw r30, 8(r1) -/* 80282F58 0027FEB8 48 00 00 28 */ b lbl_80282F80 -lbl_80282F5C: -/* 80282F5C 0027FEBC 28 1E 00 00 */ cmplwi r30, 0 -/* 80282F60 0027FEC0 41 82 00 1C */ beq lbl_80282F7C -/* 80282F64 0027FEC4 88 1E 00 00 */ lbz r0, 0(r30) -/* 80282F68 0027FEC8 28 00 00 00 */ cmplwi r0, 0 -/* 80282F6C 0027FECC 41 82 00 10 */ beq lbl_80282F7C -/* 80282F70 0027FED0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80282F74 0027FED4 38 80 00 01 */ li r4, 1 -/* 80282F78 0027FED8 4B E9 3A D5 */ bl __dt__10CModelDataFv -lbl_80282F7C: -/* 80282F7C 0027FEDC 3B DE 00 08 */ addi r30, r30, 8 -lbl_80282F80: -/* 80282F80 0027FEE0 7C 1E F8 40 */ cmplw r30, r31 -/* 80282F84 0027FEE4 40 82 FF D8 */ bne lbl_80282F5C -/* 80282F88 0027FEE8 38 00 00 00 */ li r0, 0 -/* 80282F8C 0027FEEC 38 7C 01 38 */ addi r3, r28, 0x138 -/* 80282F90 0027FEF0 90 1C 07 34 */ stw r0, 0x734(r28) -/* 80282F94 0027FEF4 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 80282F98 0027FEF8 C3 E4 02 7C */ lfs f31, 0x27c(r4) -/* 80282F9C 0027FEFC 48 09 19 1D */ bl Magnitude__9CVector3fCFv -/* 80282FA0 0027FF00 FC 20 08 50 */ fneg f1, f1 -/* 80282FA4 0027FF04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80282FA8 0027FF08 38 61 00 24 */ addi r3, r1, 0x24 -/* 80282FAC 0027FF0C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80282FB0 0027FF10 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80282FB4 0027FF14 EC 21 F8 24 */ fdivs f1, f1, f31 -/* 80282FB8 0027FF18 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80282FBC 0027FF1C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80282FC0 0027FF20 4B D9 85 81 */ bl FromVector__10CAxisAngleFRC9CVector3f -/* 80282FC4 0027FF24 7F 83 E3 78 */ mr r3, r28 -/* 80282FC8 0027FF28 38 81 00 24 */ addi r4, r1, 0x24 -/* 80282FCC 0027FF2C 4B E9 7B 11 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -/* 80282FD0 0027FF30 80 7C 07 68 */ lwz r3, 0x768(r28) -/* 80282FD4 0027FF34 7F A4 EB 78 */ mr r4, r29 -/* 80282FD8 0027FF38 4B E7 26 B1 */ bl EnterMorphBallState__10CMorphBallFR13CStateManager -/* 80282FDC 0027FF3C 80 7C 07 68 */ lwz r3, 0x768(r28) -/* 80282FE0 0027FF40 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) -/* 80282FE4 0027FF44 4B E6 BC F9 */ bl TakeDamage__10CMorphBallFf -/* 80282FE8 0027FF48 80 7C 07 68 */ lwz r3, 0x768(r28) -/* 80282FEC 0027FF4C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80282FF0 0027FF50 4B E7 5C A1 */ bl SetDamageTimer__10CMorphBallFf -/* 80282FF4 0027FF54 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 80282FF8 0027FF58 38 80 00 00 */ li r4, 0 -/* 80282FFC 0027FF5C 80 63 00 00 */ lwz r3, 0(r3) -/* 80283000 0027FF60 4B E0 E9 55 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -/* 80283004 0027FF64 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80283008 0027FF68 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8028300C 0027FF6C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80283010 0027FF70 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80283014 0027FF74 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80283018 0027FF78 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8028301C 0027FF7C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80283020 0027FF80 7C 08 03 A6 */ mtlr r0 -/* 80283024 0027FF84 38 21 00 50 */ addi r1, r1, 0x50 -/* 80283028 0027FF88 4E 80 00 20 */ blr - -.global ActivateMorphBallCamera__7CPlayerFR13CStateManager -ActivateMorphBallCamera__7CPlayerFR13CStateManager: -/* 8028302C 0027FF8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283030 0027FF90 7C 08 02 A6 */ mflr r0 -/* 80283034 0027FF94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283038 0027FF98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028303C 0027FF9C 7C 9F 23 78 */ mr r31, r4 -/* 80283040 0027FFA0 38 80 00 01 */ li r4, 1 -/* 80283044 0027FFA4 7F E5 FB 78 */ mr r5, r31 -/* 80283048 0027FFA8 4B D9 42 55 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager -/* 8028304C 0027FFAC 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283050 0027FFB0 7F E5 FB 78 */ mr r5, r31 -/* 80283054 0027FFB4 38 80 00 00 */ li r4, 0 -/* 80283058 0027FFB8 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8028305C 0027FFBC 4B DF FC 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80283060 0027FFC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283064 0027FFC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283068 0027FFC8 7C 08 03 A6 */ mtlr r0 -/* 8028306C 0027FFCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283070 0027FFD0 4E 80 00 20 */ blr - -.global TransitionFromMorphBallState__7CPlayerFR13CStateManager -TransitionFromMorphBallState__7CPlayerFR13CStateManager: -/* 80283074 0027FFD4 94 21 FD 50 */ stwu r1, -0x2b0(r1) -/* 80283078 0027FFD8 7C 08 02 A6 */ mflr r0 -/* 8028307C 0027FFDC 90 01 02 B4 */ stw r0, 0x2b4(r1) -/* 80283080 0027FFE0 DB E1 02 A0 */ stfd f31, 0x2a0(r1) -/* 80283084 0027FFE4 F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 -/* 80283088 0027FFE8 DB C1 02 90 */ stfd f30, 0x290(r1) -/* 8028308C 0027FFEC F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 -/* 80283090 0027FFF0 DB A1 02 80 */ stfd f29, 0x280(r1) -/* 80283094 0027FFF4 F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 -/* 80283098 0027FFF8 DB 81 02 70 */ stfd f28, 0x270(r1) -/* 8028309C 0027FFFC F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 -/* 802830A0 00280000 DB 61 02 60 */ stfd f27, 0x260(r1) -/* 802830A4 00280004 F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 -/* 802830A8 00280008 DB 41 02 50 */ stfd f26, 0x250(r1) -/* 802830AC 0028000C F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 -/* 802830B0 00280010 93 E1 02 4C */ stw r31, 0x24c(r1) -/* 802830B4 00280014 93 C1 02 48 */ stw r30, 0x248(r1) -/* 802830B8 00280018 93 A1 02 44 */ stw r29, 0x244(r1) -/* 802830BC 0028001C 7C 7D 1B 78 */ mr r29, r3 -/* 802830C0 00280020 38 00 00 0E */ li r0, 0xe -/* 802830C4 00280024 90 03 05 84 */ stw r0, 0x584(r3) -/* 802830C8 00280028 7C 9E 23 78 */ mr r30, r4 -/* 802830CC 0028002C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802830D0 00280030 C0 3D 01 38 */ lfs f1, 0x138(r29) -/* 802830D4 00280034 C0 5D 01 3C */ lfs f2, 0x13c(r29) -/* 802830D8 00280038 48 09 11 29 */ bl __ct__9CVector2fFff -/* 802830DC 0028003C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802830E0 00280040 48 09 10 15 */ bl Magnitude__9CVector2fCFv -/* 802830E4 00280044 D0 3D 05 8C */ stfs f1, 0x58c(r29) -/* 802830E8 00280048 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 802830EC 0028004C C0 3D 05 8C */ lfs f1, 0x58c(r29) -/* 802830F0 00280050 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802830F4 00280054 40 80 00 0C */ bge lbl_80283100 -/* 802830F8 00280058 38 00 00 05 */ li r0, 5 -/* 802830FC 0028005C 90 1D 05 84 */ stw r0, 0x584(r29) -lbl_80283100: -/* 80283100 00280060 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 80283104 00280064 2C 00 00 00 */ cmpwi r0, 0 -/* 80283108 00280068 41 82 00 74 */ beq lbl_8028317C -/* 8028310C 0028006C 7F A4 EB 78 */ mr r4, r29 -/* 80283110 00280070 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80283114 00280074 48 00 1C 35 */ bl GetBallPosition__7CPlayerCFv -/* 80283118 00280078 C0 81 00 E0 */ lfs f4, 0xe0(r1) -/* 8028311C 0028007C 3C 60 80 47 */ lis r3, lbl_8046E0D8@ha -/* 80283120 00280080 C0 61 00 E4 */ lfs f3, 0xe4(r1) -/* 80283124 00280084 38 C3 E0 D8 */ addi r6, r3, lbl_8046E0D8@l -/* 80283128 00280088 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 8028312C 0028008C 7F C3 F3 78 */ mr r3, r30 -/* 80283130 00280090 C0 41 00 E8 */ lfs f2, 0xe8(r1) -/* 80283134 00280094 7F A7 EB 78 */ mr r7, r29 -/* 80283138 00280098 EC A3 00 2A */ fadds f5, f3, f0 -/* 8028313C 0028009C C0 22 BD D4 */ lfs f1, lbl_805ADAF4@sda21(r2) -/* 80283140 002800A0 EC 04 00 2A */ fadds f0, f4, f0 -/* 80283144 002800A4 D0 81 01 40 */ stfs f4, 0x140(r1) -/* 80283148 002800A8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8028314C 002800AC 38 81 01 40 */ addi r4, r1, 0x140 -/* 80283150 002800B0 D0 61 01 44 */ stfs f3, 0x144(r1) -/* 80283154 002800B4 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 80283158 002800B8 D0 41 01 48 */ stfs f2, 0x148(r1) -/* 8028315C 002800BC D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 80283160 002800C0 D0 A1 00 D8 */ stfs f5, 0xd8(r1) -/* 80283164 002800C4 D0 21 00 DC */ stfs f1, 0xdc(r1) -/* 80283168 002800C8 4B DC 9C D5 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -/* 8028316C 002800CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283170 002800D0 41 82 00 0C */ beq lbl_8028317C -/* 80283174 002800D4 38 00 00 07 */ li r0, 7 -/* 80283178 002800D8 90 1D 05 84 */ stw r0, 0x584(r29) -lbl_8028317C: -/* 8028317C 002800DC 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80283180 002800E0 38 60 00 00 */ li r3, 0 -/* 80283184 002800E4 28 04 00 00 */ cmplwi r4, 0 -/* 80283188 002800E8 41 82 00 14 */ beq lbl_8028319C -/* 8028318C 002800EC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80283190 002800F0 28 00 00 00 */ cmplwi r0, 0 -/* 80283194 002800F4 41 82 00 08 */ beq lbl_8028319C -/* 80283198 002800F8 38 60 00 01 */ li r3, 1 -lbl_8028319C: -/* 8028319C 002800FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802831A0 00280100 41 82 00 5C */ beq lbl_802831FC -/* 802831A4 00280104 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 802831A8 00280108 38 E0 FF FF */ li r7, -1 -/* 802831AC 0028010C 80 7D 05 84 */ lwz r3, 0x584(r29) -/* 802831B0 00280110 38 00 00 00 */ li r0, 0 -/* 802831B4 00280114 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 802831B8 00280118 38 C0 00 01 */ li r6, 1 -/* 802831BC 0028011C 90 61 02 0C */ stw r3, 0x20c(r1) -/* 802831C0 00280120 7F E3 FB 78 */ mr r3, r31 -/* 802831C4 00280124 38 81 02 0C */ addi r4, r1, 0x20c -/* 802831C8 00280128 38 A0 00 00 */ li r5, 0 -/* 802831CC 0028012C 90 E1 02 10 */ stw r7, 0x210(r1) -/* 802831D0 00280130 D0 01 02 14 */ stfs f0, 0x214(r1) -/* 802831D4 00280134 98 C1 02 18 */ stb r6, 0x218(r1) -/* 802831D8 00280138 90 01 02 1C */ stw r0, 0x21c(r1) -/* 802831DC 0028013C 90 01 02 20 */ stw r0, 0x220(r1) -/* 802831E0 00280140 98 01 02 24 */ stb r0, 0x224(r1) -/* 802831E4 00280144 90 01 02 28 */ stw r0, 0x228(r1) -/* 802831E8 00280148 90 01 02 2C */ stw r0, 0x22c(r1) -/* 802831EC 0028014C 90 01 02 30 */ stw r0, 0x230(r1) -/* 802831F0 00280150 4B DA 9B 8D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 802831F4 00280154 38 00 00 00 */ li r0, 0 -/* 802831F8 00280158 90 1F 01 04 */ stw r0, 0x104(r31) -lbl_802831FC: -/* 802831FC 0028015C 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80283200 00280160 38 80 00 00 */ li r4, 0 -/* 80283204 00280164 4B E9 23 5D */ bl EnableLooping__10CModelDataFb -/* 80283208 00280168 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8028320C 0028016C 7F C4 F3 78 */ mr r4, r30 -/* 80283210 00280170 38 A0 00 00 */ li r5, 0 -/* 80283214 00280174 4B E9 2A FD */ bl Touch__10CModelDataCFRC13CStateManageri -/* 80283218 00280178 7F A3 EB 78 */ mr r3, r29 -/* 8028321C 0028017C 7F C5 F3 78 */ mr r5, r30 -/* 80283220 00280180 38 80 00 03 */ li r4, 3 -/* 80283224 00280184 4B D9 45 C1 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager -/* 80283228 00280188 80 7D 07 68 */ lwz r3, 0x768(r29) -/* 8028322C 0028018C 7F C4 F3 78 */ mr r4, r30 -/* 80283230 00280190 4B E7 24 0D */ bl LeaveMorphBallState__10CMorphBallFR13CStateManager -/* 80283234 00280194 80 DE 08 70 */ lwz r6, 0x870(r30) -/* 80283238 00280198 7F C4 F3 78 */ mr r4, r30 -/* 8028323C 0028019C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80283240 002801A0 80 66 00 7C */ lwz r3, 0x7c(r6) -/* 80283244 002801A4 83 E6 00 80 */ lwz r31, 0x80(r6) -/* 80283248 002801A8 A0 03 00 08 */ lhz r0, 8(r3) -/* 8028324C 002801AC B0 01 00 20 */ sth r0, 0x20(r1) -/* 80283250 002801B0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80283254 002801B4 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80283258 002801B8 4B D8 75 F1 */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -/* 8028325C 002801BC C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 80283260 002801C0 38 61 01 34 */ addi r3, r1, 0x134 -/* 80283264 002801C4 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 80283268 002801C8 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 8028326C 002801CC C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 80283270 002801D0 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80283274 002801D4 C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 80283278 002801D8 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8028327C 002801DC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80283280 002801E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283284 002801E4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80283288 002801E8 D0 A1 01 3C */ stfs f5, 0x13c(r1) -/* 8028328C 002801EC D0 61 01 38 */ stfs f3, 0x138(r1) -/* 80283290 002801F0 D0 21 01 34 */ stfs f1, 0x134(r1) -/* 80283294 002801F4 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 80283298 002801F8 48 09 14 61 */ bl CanBeNormalized__9CVector3fCFv -/* 8028329C 002801FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802832A0 00280200 41 82 03 6C */ beq lbl_8028360C -/* 802832A4 00280204 38 61 01 34 */ addi r3, r1, 0x134 -/* 802832A8 00280208 48 09 16 51 */ bl Normalize__9CVector3fFv -/* 802832AC 0028020C C3 FD 05 18 */ lfs f31, 0x518(r29) -/* 802832B0 00280210 38 61 01 28 */ addi r3, r1, 0x128 -/* 802832B4 00280214 C3 DD 05 1C */ lfs f30, 0x51c(r29) -/* 802832B8 00280218 C3 BD 05 20 */ lfs f29, 0x520(r29) -/* 802832BC 0028021C C0 3D 05 00 */ lfs f1, 0x500(r29) -/* 802832C0 00280220 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802832C4 00280224 D0 21 01 28 */ stfs f1, 0x128(r1) -/* 802832C8 00280228 C0 3D 05 04 */ lfs f1, 0x504(r29) -/* 802832CC 0028022C D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 802832D0 00280230 C0 3D 05 08 */ lfs f1, 0x508(r29) -/* 802832D4 00280234 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 802832D8 00280238 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 802832DC 0028023C 48 09 14 1D */ bl CanBeNormalized__9CVector3fCFv -/* 802832E0 00280240 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802832E4 00280244 41 82 00 18 */ beq lbl_802832FC -/* 802832E8 00280248 38 61 01 28 */ addi r3, r1, 0x128 -/* 802832EC 0028024C 48 09 15 CD */ bl Magnitude__9CVector3fCFv -/* 802832F0 00280250 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) -/* 802832F4 00280254 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802832F8 00280258 40 80 00 10 */ bge lbl_80283308 -lbl_802832FC: -/* 802832FC 0028025C C3 E1 01 34 */ lfs f31, 0x134(r1) -/* 80283300 00280260 C3 C1 01 38 */ lfs f30, 0x138(r1) -/* 80283304 00280264 C3 A1 01 3C */ lfs f29, 0x13c(r1) -lbl_80283308: -/* 80283308 00280268 88 1D 09 C6 */ lbz r0, 0x9c6(r29) -/* 8028330C 0028026C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80283310 00280270 41 82 00 90 */ beq lbl_802833A0 -/* 80283314 00280274 A0 1D 08 30 */ lhz r0, 0x830(r29) -/* 80283318 00280278 7F C3 F3 78 */ mr r3, r30 -/* 8028331C 0028027C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80283320 00280280 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80283324 00280284 4B DC 92 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80283328 00280288 7C 64 1B 78 */ mr r4, r3 -/* 8028332C 0028028C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80283330 00280290 4B E2 57 D1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 80283334 00280294 80 83 00 04 */ lwz r4, 4(r3) -/* 80283338 00280298 28 04 00 00 */ cmplwi r4, 0 -/* 8028333C 0028029C 41 82 00 64 */ beq lbl_802833A0 -/* 80283340 002802A0 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 80283344 002802A4 38 61 01 1C */ addi r3, r1, 0x11c -/* 80283348 002802A8 C0 1D 00 60 */ lfs f0, 0x60(r29) -/* 8028334C 002802AC C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80283350 002802B0 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 80283354 002802B4 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80283358 002802B8 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8028335C 002802BC C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80283360 002802C0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80283364 002802C4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283368 002802C8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8028336C 002802CC D0 A1 01 24 */ stfs f5, 0x124(r1) -/* 80283370 002802D0 D0 61 01 20 */ stfs f3, 0x120(r1) -/* 80283374 002802D4 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 80283378 002802D8 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 8028337C 002802DC 48 09 13 7D */ bl CanBeNormalized__9CVector3fCFv -/* 80283380 002802E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283384 002802E4 41 82 00 1C */ beq lbl_802833A0 -/* 80283388 002802E8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8028338C 002802EC 38 81 01 1C */ addi r4, r1, 0x11c -/* 80283390 002802F0 48 09 14 C1 */ bl AsNormalized__9CVector3fCFv -/* 80283394 002802F4 C3 E1 00 C8 */ lfs f31, 0xc8(r1) -/* 80283398 002802F8 C3 C1 00 CC */ lfs f30, 0xcc(r1) -/* 8028339C 002802FC C3 A1 00 D0 */ lfs f29, 0xd0(r1) -lbl_802833A0: -/* 802833A0 00280300 88 1D 09 C7 */ lbz r0, 0x9c7(r29) -/* 802833A4 00280304 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802833A8 00280308 41 82 00 D8 */ beq lbl_80283480 -/* 802833AC 0028030C A0 1D 08 30 */ lhz r0, 0x830(r29) -/* 802833B0 00280310 7F C3 F3 78 */ mr r3, r30 -/* 802833B4 00280314 38 81 00 14 */ addi r4, r1, 0x14 -/* 802833B8 00280318 B0 01 00 14 */ sth r0, 0x14(r1) -/* 802833BC 0028031C 4B DC 91 E9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802833C0 00280320 7C 64 1B 78 */ mr r4, r3 -/* 802833C4 00280324 38 61 00 38 */ addi r3, r1, 0x38 -/* 802833C8 00280328 4B E2 57 39 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 802833CC 0028032C 80 63 00 04 */ lwz r3, 4(r3) -/* 802833D0 00280330 28 03 00 00 */ cmplwi r3, 0 -/* 802833D4 00280334 41 82 00 AC */ beq lbl_80283480 -/* 802833D8 00280338 A0 03 01 08 */ lhz r0, 0x108(r3) -/* 802833DC 0028033C 7F C3 F3 78 */ mr r3, r30 -/* 802833E0 00280340 38 81 00 10 */ addi r4, r1, 0x10 -/* 802833E4 00280344 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802833E8 00280348 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802833EC 0028034C 4B DC 91 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802833F0 00280350 7C 64 1B 78 */ mr r4, r3 -/* 802833F4 00280354 38 61 00 30 */ addi r3, r1, 0x30 -/* 802833F8 00280358 4B E2 C8 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 802833FC 0028035C 80 83 00 04 */ lwz r4, 4(r3) -/* 80283400 00280360 28 04 00 00 */ cmplwi r4, 0 -/* 80283404 00280364 41 82 00 7C */ beq lbl_80283480 -/* 80283408 00280368 81 84 00 00 */ lwz r12, 0(r4) -/* 8028340C 0028036C 7F C5 F3 78 */ mr r5, r30 -/* 80283410 00280370 38 61 00 BC */ addi r3, r1, 0xbc -/* 80283414 00280374 C3 5D 00 60 */ lfs f26, 0x60(r29) -/* 80283418 00280378 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8028341C 0028037C C3 7D 00 50 */ lfs f27, 0x50(r29) -/* 80283420 00280380 C3 9D 00 40 */ lfs f28, 0x40(r29) -/* 80283424 00280384 7D 89 03 A6 */ mtctr r12 -/* 80283428 00280388 4E 80 04 21 */ bctrl -/* 8028342C 0028038C C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80283430 00280390 38 61 01 10 */ addi r3, r1, 0x110 -/* 80283434 00280394 C0 61 00 BC */ lfs f3, 0xbc(r1) -/* 80283438 00280398 EC 20 D0 28 */ fsubs f1, f0, f26 -/* 8028343C 0028039C C0 41 00 C0 */ lfs f2, 0xc0(r1) -/* 80283440 002803A0 EC 63 E0 28 */ fsubs f3, f3, f28 -/* 80283444 002803A4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283448 002803A8 EC 42 D8 28 */ fsubs f2, f2, f27 -/* 8028344C 002803AC D0 21 01 18 */ stfs f1, 0x118(r1) -/* 80283450 002803B0 D0 61 01 10 */ stfs f3, 0x110(r1) -/* 80283454 002803B4 D0 41 01 14 */ stfs f2, 0x114(r1) -/* 80283458 002803B8 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 8028345C 002803BC 48 09 12 9D */ bl CanBeNormalized__9CVector3fCFv -/* 80283460 002803C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283464 002803C4 41 82 00 1C */ beq lbl_80283480 -/* 80283468 002803C8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8028346C 002803CC 38 81 01 10 */ addi r4, r1, 0x110 -/* 80283470 002803D0 48 09 13 E1 */ bl AsNormalized__9CVector3fCFv -/* 80283474 002803D4 C3 E1 00 B0 */ lfs f31, 0xb0(r1) -/* 80283478 002803D8 C3 C1 00 B4 */ lfs f30, 0xb4(r1) -/* 8028347C 002803DC C3 A1 00 B8 */ lfs f29, 0xb8(r1) -lbl_80283480: -/* 80283480 002803E0 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 80283484 002803E4 C0 41 01 34 */ lfs f2, 0x134(r1) -/* 80283488 002803E8 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 8028348C 002803EC C0 61 01 3C */ lfs f3, 0x13c(r1) -/* 80283490 002803F0 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80283494 002803F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 80283498 002803F8 EC 23 0F 7A */ fmadds f1, f3, f29, f1 -/* 8028349C 002803FC FC 40 0A 10 */ fabs f2, f1 -/* 802834A0 00280400 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802834A4 00280404 40 81 00 14 */ ble lbl_802834B8 -/* 802834A8 00280408 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 802834AC 0028040C C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) -/* 802834B0 00280410 FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 802834B4 00280414 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_802834B8: -/* 802834B8 00280418 48 11 17 75 */ bl acos -/* 802834BC 0028041C FC 20 08 18 */ frsp f1, f1 -/* 802834C0 00280420 C0 02 BD D8 */ lfs f0, lbl_805ADAF8@sda21(r2) -/* 802834C4 00280424 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802834C8 00280428 41 80 00 10 */ blt lbl_802834D8 -/* 802834CC 0028042C 88 1D 09 C7 */ lbz r0, 0x9c7(r29) -/* 802834D0 00280430 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802834D4 00280434 41 82 00 90 */ beq lbl_80283564 -lbl_802834D8: -/* 802834D8 00280438 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 802834DC 0028043C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802834E0 00280440 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 802834E4 00280444 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802834E8 00280448 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 802834EC 0028044C EC A3 F0 2A */ fadds f5, f3, f30 -/* 802834F0 00280450 EC 82 E8 2A */ fadds f4, f2, f29 -/* 802834F4 00280454 38 61 01 DC */ addi r3, r1, 0x1dc -/* 802834F8 00280458 EC 01 F8 2A */ fadds f0, f1, f31 -/* 802834FC 0028045C D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80283500 00280460 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80283504 00280464 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 80283508 00280468 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8028350C 0028046C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80283510 00280470 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 80283514 00280474 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80283518 00280478 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 8028351C 0028047C D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 80283520 00280480 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 80283524 00280484 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80283528 00280488 48 09 05 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8028352C 0028048C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80283530 00280490 38 81 01 DC */ addi r4, r1, 0x1dc -/* 80283534 00280494 48 08 F6 0D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80283538 00280498 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8028353C 0028049C 38 60 00 01 */ li r3, 1 -/* 80283540 002804A0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80283544 002804A4 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283548 002804A8 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8028354C 002804AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80283550 002804B0 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283554 002804B4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283558 002804B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8028355C 002804BC 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283560 002804C0 48 00 00 EC */ b lbl_8028364C -lbl_80283564: -/* 80283564 002804C4 C0 9D 00 50 */ lfs f4, 0x50(r29) -/* 80283568 002804C8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8028356C 002804CC C0 01 01 38 */ lfs f0, 0x138(r1) -/* 80283570 002804D0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80283574 002804D4 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80283578 002804D8 38 61 01 AC */ addi r3, r1, 0x1ac -/* 8028357C 002804DC C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80283580 002804E0 EC A4 00 2A */ fadds f5, f4, f0 -/* 80283584 002804E4 C0 41 01 3C */ lfs f2, 0x13c(r1) -/* 80283588 002804E8 38 81 00 80 */ addi r4, r1, 0x80 -/* 8028358C 002804EC C0 01 01 34 */ lfs f0, 0x134(r1) -/* 80283590 002804F0 38 A1 00 74 */ addi r5, r1, 0x74 -/* 80283594 002804F4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80283598 002804F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8028359C 002804FC D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 802835A0 00280500 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802835A4 00280504 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802835A8 00280508 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802835AC 0028050C D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 802835B0 00280510 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 802835B4 00280514 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 802835B8 00280518 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 802835BC 0028051C D0 61 00 88 */ stfs f3, 0x88(r1) -/* 802835C0 00280520 48 09 05 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802835C4 00280524 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802835C8 00280528 38 81 01 AC */ addi r4, r1, 0x1ac -/* 802835CC 0028052C 48 08 F5 75 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802835D0 00280530 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 802835D4 00280534 38 A0 00 01 */ li r5, 1 -/* 802835D8 00280538 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 802835DC 0028053C C0 22 BD DC */ lfs f1, lbl_805ADAFC@sda21(r2) -/* 802835E0 00280540 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 802835E4 00280544 7F A3 EB 78 */ mr r3, r29 -/* 802835E8 00280548 7F C4 F3 78 */ mr r4, r30 -/* 802835EC 0028054C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 802835F0 00280550 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 802835F4 00280554 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 802835F8 00280558 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 802835FC 0028055C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80283600 00280560 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283604 00280564 4B D9 59 51 */ bl UpdateArmAndGunTransforms__7CPlayerFfR13CStateManager -/* 80283608 00280568 48 00 00 44 */ b lbl_8028364C -lbl_8028360C: -/* 8028360C 0028056C 7F A4 EB 78 */ mr r4, r29 -/* 80283610 00280570 38 61 01 7C */ addi r3, r1, 0x17c -/* 80283614 00280574 48 00 20 D5 */ bl CreateTransformFromMovementDirection__7CPlayerCFv -/* 80283618 00280578 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8028361C 0028057C 38 81 01 7C */ addi r4, r1, 0x17c -/* 80283620 00280580 48 08 F5 21 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80283624 00280584 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283628 00280588 38 60 00 01 */ li r3, 1 -/* 8028362C 0028058C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80283630 00280590 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283634 00280594 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283638 00280598 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8028363C 0028059C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283640 002805A0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283644 002805A4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80283648 002805A8 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_8028364C: -/* 8028364C 002805AC 80 BE 08 70 */ lwz r5, 0x870(r30) -/* 80283650 002805B0 7F C3 F3 78 */ mr r3, r30 -/* 80283654 002805B4 38 81 00 08 */ addi r4, r1, 8 -/* 80283658 002805B8 80 A5 00 80 */ lwz r5, 0x80(r5) -/* 8028365C 002805BC A0 05 03 DC */ lhz r0, 0x3dc(r5) -/* 80283660 002805C0 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80283664 002805C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80283668 002805C8 4B DC 8F 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8028366C 002805CC 7C 64 1B 78 */ mr r4, r3 -/* 80283670 002805D0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80283674 002805D4 4B E2 C6 1D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80283678 002805D8 80 83 00 04 */ lwz r4, 4(r3) -/* 8028367C 002805DC 28 04 00 00 */ cmplwi r4, 0 -/* 80283680 002805E0 41 82 01 B0 */ beq lbl_80283830 -/* 80283684 002805E4 C0 3F 03 E0 */ lfs f1, 0x3e0(r31) -/* 80283688 002805E8 C0 02 BD E0 */ lfs f0, lbl_805ADB00@sda21(r2) -/* 8028368C 002805EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283690 002805F0 40 80 01 A0 */ bge lbl_80283830 -/* 80283694 002805F4 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80283698 002805F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028369C 002805FC 40 81 01 94 */ ble lbl_80283830 -/* 802836A0 00280600 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 802836A4 00280604 38 61 01 04 */ addi r3, r1, 0x104 -/* 802836A8 00280608 C0 1D 00 60 */ lfs f0, 0x60(r29) -/* 802836AC 0028060C C0 C4 00 50 */ lfs f6, 0x50(r4) -/* 802836B0 00280610 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 802836B4 00280614 EC 45 00 28 */ fsubs f2, f5, f0 -/* 802836B8 00280618 C0 84 00 40 */ lfs f4, 0x40(r4) -/* 802836BC 0028061C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 802836C0 00280620 EC 26 08 28 */ fsubs f1, f6, f1 -/* 802836C4 00280624 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) -/* 802836C8 00280628 EC 04 00 28 */ fsubs f0, f4, f0 -/* 802836CC 0028062C D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 802836D0 00280630 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 802836D4 00280634 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 802836D8 00280638 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 802836DC 0028063C C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 802836E0 00280640 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 802836E4 00280644 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802836E8 00280648 EC 25 08 28 */ fsubs f1, f5, f1 -/* 802836EC 0028064C EC 46 10 28 */ fsubs f2, f6, f2 -/* 802836F0 00280650 EC 04 00 28 */ fsubs f0, f4, f0 -/* 802836F4 00280654 D0 21 01 00 */ stfs f1, 0x100(r1) -/* 802836F8 00280658 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 802836FC 0028065C D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 80283700 00280660 D0 61 01 00 */ stfs f3, 0x100(r1) -/* 80283704 00280664 48 09 0F F5 */ bl CanBeNormalized__9CVector3fCFv -/* 80283708 00280668 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028370C 0028066C 41 82 01 24 */ beq lbl_80283830 -/* 80283710 00280670 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80283714 00280674 48 09 0F E5 */ bl CanBeNormalized__9CVector3fCFv -/* 80283718 00280678 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028371C 0028067C 41 82 01 14 */ beq lbl_80283830 -/* 80283720 00280680 38 61 01 04 */ addi r3, r1, 0x104 -/* 80283724 00280684 48 09 11 D5 */ bl Normalize__9CVector3fFv -/* 80283728 00280688 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 8028372C 0028068C 38 61 00 EC */ addi r3, r1, 0xec -/* 80283730 00280690 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80283734 00280694 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80283738 00280698 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 8028373C 0028069C D0 61 00 F4 */ stfs f3, 0xf4(r1) -/* 80283740 002806A0 D0 21 00 EC */ stfs f1, 0xec(r1) -/* 80283744 002806A4 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 80283748 002806A8 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 8028374C 002806AC 48 09 11 AD */ bl Normalize__9CVector3fFv -/* 80283750 002806B0 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80283754 002806B4 48 09 11 A5 */ bl Normalize__9CVector3fFv -/* 80283758 002806B8 C0 E1 01 08 */ lfs f7, 0x108(r1) -/* 8028375C 002806BC C0 61 00 FC */ lfs f3, 0xfc(r1) -/* 80283760 002806C0 C0 C1 01 04 */ lfs f6, 0x104(r1) -/* 80283764 002806C4 EC 07 00 F2 */ fmuls f0, f7, f3 -/* 80283768 002806C8 C0 81 00 F8 */ lfs f4, 0xf8(r1) -/* 8028376C 002806CC C1 01 01 0C */ lfs f8, 0x10c(r1) -/* 80283770 002806D0 C0 A1 01 00 */ lfs f5, 0x100(r1) -/* 80283774 002806D4 EC 26 01 3A */ fmadds f1, f6, f4, f0 -/* 80283778 002806D8 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) -/* 8028377C 002806DC EC 28 09 7A */ fmadds f1, f8, f5, f1 -/* 80283780 002806E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283784 002806E4 4C 41 13 82 */ cror 2, 1, 2 -/* 80283788 002806E8 40 82 00 A8 */ bne lbl_80283830 -/* 8028378C 002806EC C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 80283790 002806F0 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 80283794 002806F4 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80283798 002806F8 C0 61 00 F4 */ lfs f3, 0xf4(r1) -/* 8028379C 002806FC C0 02 BD 88 */ lfs f0, lbl_805ADAA8@sda21(r2) -/* 802837A0 00280700 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 802837A4 00280704 EC 25 08 FA */ fmadds f1, f5, f3, f1 -/* 802837A8 00280708 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802837AC 0028070C 4C 41 13 82 */ cror 2, 1, 2 -/* 802837B0 00280710 40 82 00 80 */ bne lbl_80283830 -/* 802837B4 00280714 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 802837B8 00280718 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 802837BC 0028071C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 802837C0 00280720 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 802837C4 00280724 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 802837C8 00280728 EC A3 38 2A */ fadds f5, f3, f7 -/* 802837CC 0028072C EC 82 40 2A */ fadds f4, f2, f8 -/* 802837D0 00280730 38 61 01 4C */ addi r3, r1, 0x14c -/* 802837D4 00280734 EC 01 30 2A */ fadds f0, f1, f6 -/* 802837D8 00280738 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 802837DC 0028073C 38 81 00 5C */ addi r4, r1, 0x5c -/* 802837E0 00280740 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 802837E4 00280744 38 A1 00 50 */ addi r5, r1, 0x50 -/* 802837E8 00280748 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802837EC 0028074C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 802837F0 00280750 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802837F4 00280754 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802837F8 00280758 48 09 03 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802837FC 0028075C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80283800 00280760 38 81 01 4C */ addi r4, r1, 0x14c -/* 80283804 00280764 48 08 F3 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80283808 00280768 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8028380C 0028076C 38 60 00 01 */ li r3, 1 -/* 80283810 00280770 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80283814 00280774 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283818 00280778 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8028381C 0028077C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80283820 00280780 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283824 00280784 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283828 00280788 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8028382C 0028078C 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_80283830: -/* 80283830 00280790 7F A3 EB 78 */ mr r3, r29 -/* 80283834 00280794 7F C5 F3 78 */ mr r5, r30 -/* 80283838 00280798 38 9D 00 34 */ addi r4, r29, 0x34 -/* 8028383C 0028079C 4B D9 56 8D */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager -/* 80283840 002807A0 7F A3 EB 78 */ mr r3, r29 -/* 80283844 002807A4 7F C4 F3 78 */ mr r4, r30 -/* 80283848 002807A8 4B D9 68 65 */ bl DrawGun__7CPlayerFR13CStateManager -/* 8028384C 002807AC 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80283850 002807B0 7F C5 F3 78 */ mr r5, r30 -/* 80283854 002807B4 38 80 00 05 */ li r4, 5 -/* 80283858 002807B8 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8028385C 002807BC 4B DF F4 41 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80283860 002807C0 7F A3 EB 78 */ mr r3, r29 -/* 80283864 002807C4 4B E9 7A 51 */ bl ClearForcesAndTorques__13CPhysicsActorFv -/* 80283868 002807C8 4B D9 7C CD */ bl Identity__10CAxisAngleFv -/* 8028386C 002807CC 7C 64 1B 78 */ mr r4, r3 -/* 80283870 002807D0 7F A3 EB 78 */ mr r3, r29 -/* 80283874 002807D4 4B E9 73 89 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -/* 80283878 002807D8 7F A3 EB 78 */ mr r3, r29 -/* 8028387C 002807DC 7F C5 F3 78 */ mr r5, r30 -/* 80283880 002807E0 38 80 00 25 */ li r4, 0x25 -/* 80283884 002807E4 4B DD 0A CD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80283888 002807E8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8028388C 002807EC 7F A3 EB 78 */ mr r3, r29 -/* 80283890 002807F0 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 80283894 002807F4 7F C5 F3 78 */ mr r5, r30 -/* 80283898 002807F8 C0 06 00 00 */ lfs f0, 0(r6) -/* 8028389C 002807FC 38 80 00 03 */ li r4, 3 -/* 802838A0 00280800 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 802838A4 00280804 C0 06 00 04 */ lfs f0, 4(r6) -/* 802838A8 00280808 D0 1D 01 54 */ stfs f0, 0x154(r29) -/* 802838AC 0028080C C0 06 00 08 */ lfs f0, 8(r6) -/* 802838B0 00280810 D0 1D 01 58 */ stfs f0, 0x158(r29) -/* 802838B4 00280814 4B D9 39 E9 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager -/* 802838B8 00280818 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 802838BC 0028081C 38 00 00 00 */ li r0, 0 -/* 802838C0 00280820 7F C4 F3 78 */ mr r4, r30 -/* 802838C4 00280824 D0 1D 08 24 */ stfs f0, 0x824(r29) -/* 802838C8 00280828 90 1D 05 7C */ stw r0, 0x57c(r29) -/* 802838CC 0028082C 90 1D 05 80 */ stw r0, 0x580(r29) -/* 802838D0 00280830 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 802838D4 00280834 80 63 00 80 */ lwz r3, 0x80(r3) -/* 802838D8 00280838 4B FB B0 E9 */ bl TransitionFromMorphBallState__11CBallCameraFR13CStateManager -/* 802838DC 0028083C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802838E0 00280840 7C 00 00 34 */ cntlzw r0, r0 -/* 802838E4 00280844 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 802838E8 00280848 41 82 00 18 */ beq lbl_80283900 -/* 802838EC 0028084C C0 02 BD A8 */ lfs f0, lbl_805ADAC8@sda21(r2) -/* 802838F0 00280850 7F A3 EB 78 */ mr r3, r29 -/* 802838F4 00280854 7F C4 F3 78 */ mr r4, r30 -/* 802838F8 00280858 D0 1D 08 24 */ stfs f0, 0x824(r29) -/* 802838FC 0028085C 4B FF F4 21 */ bl LeaveMorphBallState__7CPlayerFR13CStateManager -lbl_80283900: -/* 80283900 00280860 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 -/* 80283904 00280864 CB E1 02 A0 */ lfd f31, 0x2a0(r1) -/* 80283908 00280868 E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 -/* 8028390C 0028086C CB C1 02 90 */ lfd f30, 0x290(r1) -/* 80283910 00280870 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 -/* 80283914 00280874 CB A1 02 80 */ lfd f29, 0x280(r1) -/* 80283918 00280878 E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 -/* 8028391C 0028087C CB 81 02 70 */ lfd f28, 0x270(r1) -/* 80283920 00280880 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 -/* 80283924 00280884 CB 61 02 60 */ lfd f27, 0x260(r1) -/* 80283928 00280888 E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 -/* 8028392C 0028088C CB 41 02 50 */ lfd f26, 0x250(r1) -/* 80283930 00280890 83 E1 02 4C */ lwz r31, 0x24c(r1) -/* 80283934 00280894 83 C1 02 48 */ lwz r30, 0x248(r1) -/* 80283938 00280898 80 01 02 B4 */ lwz r0, 0x2b4(r1) -/* 8028393C 0028089C 83 A1 02 44 */ lwz r29, 0x244(r1) -/* 80283940 002808A0 7C 08 03 A6 */ mtlr r0 -/* 80283944 002808A4 38 21 02 B0 */ addi r1, r1, 0x2b0 -/* 80283948 002808A8 4E 80 00 20 */ blr - -.global TransitionToMorphBallState__7CPlayerFfR13CStateManager -TransitionToMorphBallState__7CPlayerFfR13CStateManager: -/* 8028394C 002808AC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80283950 002808B0 7C 08 02 A6 */ mflr r0 -/* 80283954 002808B4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80283958 002808B8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8028395C 002808BC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80283960 002808C0 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80283964 002808C4 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80283968 002808C8 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8028396C 002808CC 7C 7E 1B 78 */ mr r30, r3 -/* 80283970 002808D0 7C 9F 23 78 */ mr r31, r4 -/* 80283974 002808D4 48 00 04 11 */ bl ChoseTransitionToAnimation__7CPlayerCFR13CStateManager -/* 80283978 002808D8 90 7E 05 84 */ stw r3, 0x584(r30) -/* 8028397C 002808DC 38 7E 01 38 */ addi r3, r30, 0x138 -/* 80283980 002808E0 48 09 0F 39 */ bl Magnitude__9CVector3fCFv -/* 80283984 002808E4 D0 3E 05 8C */ stfs f1, 0x58c(r30) -/* 80283988 002808E8 38 60 00 00 */ li r3, 0 -/* 8028398C 002808EC 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 80283990 002808F0 28 04 00 00 */ cmplwi r4, 0 -/* 80283994 002808F4 41 82 00 14 */ beq lbl_802839A8 -/* 80283998 002808F8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8028399C 002808FC 28 00 00 00 */ cmplwi r0, 0 -/* 802839A0 00280900 41 82 00 08 */ beq lbl_802839A8 -/* 802839A4 00280904 38 60 00 01 */ li r3, 1 -lbl_802839A8: -/* 802839A8 00280908 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802839AC 0028090C 41 82 00 5C */ beq lbl_80283A08 -/* 802839B0 00280910 83 A4 00 10 */ lwz r29, 0x10(r4) -/* 802839B4 00280914 38 E0 FF FF */ li r7, -1 -/* 802839B8 00280918 80 7E 05 84 */ lwz r3, 0x584(r30) -/* 802839BC 0028091C 38 00 00 00 */ li r0, 0 -/* 802839C0 00280920 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 802839C4 00280924 38 C0 00 01 */ li r6, 1 -/* 802839C8 00280928 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802839CC 0028092C 7F A3 EB 78 */ mr r3, r29 -/* 802839D0 00280930 38 81 00 1C */ addi r4, r1, 0x1c -/* 802839D4 00280934 38 A0 00 00 */ li r5, 0 -/* 802839D8 00280938 90 E1 00 20 */ stw r7, 0x20(r1) -/* 802839DC 0028093C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802839E0 00280940 98 C1 00 28 */ stb r6, 0x28(r1) -/* 802839E4 00280944 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802839E8 00280948 90 01 00 30 */ stw r0, 0x30(r1) -/* 802839EC 0028094C 98 01 00 34 */ stb r0, 0x34(r1) -/* 802839F0 00280950 90 01 00 38 */ stw r0, 0x38(r1) -/* 802839F4 00280954 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802839F8 00280958 90 01 00 40 */ stw r0, 0x40(r1) -/* 802839FC 0028095C 4B DA 93 81 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 80283A00 00280960 38 00 00 00 */ li r0, 0 -/* 80283A04 00280964 90 1D 01 04 */ stw r0, 0x104(r29) -lbl_80283A08: -/* 80283A08 00280968 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80283A0C 0028096C 38 80 00 00 */ li r4, 0 -/* 80283A10 00280970 4B E9 1B 51 */ bl EnableLooping__10CModelDataFb -/* 80283A14 00280974 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80283A18 00280978 7F E4 FB 78 */ mr r4, r31 -/* 80283A1C 0028097C 38 A0 00 00 */ li r5, 0 -/* 80283A20 00280980 4B E9 22 F1 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 80283A24 00280984 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80283A28 00280988 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 80283A2C 0028098C 7F C3 F3 78 */ mr r3, r30 -/* 80283A30 00280990 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 80283A34 00280994 C0 04 00 04 */ lfs f0, 4(r4) -/* 80283A38 00280998 D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 80283A3C 0028099C C0 04 00 08 */ lfs f0, 8(r4) -/* 80283A40 002809A0 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 80283A44 002809A4 4B E9 79 35 */ bl Stop__13CPhysicsActorFv -/* 80283A48 002809A8 7F C3 F3 78 */ mr r3, r30 -/* 80283A4C 002809AC 7F E5 FB 78 */ mr r5, r31 -/* 80283A50 002809B0 38 80 00 02 */ li r4, 2 -/* 80283A54 002809B4 4B D9 3D 91 */ bl SetMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager -/* 80283A58 002809B8 7F C3 F3 78 */ mr r3, r30 -/* 80283A5C 002809BC 7F E5 FB 78 */ mr r5, r31 -/* 80283A60 002809C0 38 80 00 03 */ li r4, 3 -/* 80283A64 002809C4 4B D9 38 39 */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager -/* 80283A68 002809C8 C0 7E 00 58 */ lfs f3, 0x58(r30) -/* 80283A6C 002809CC 38 7E 05 0C */ addi r3, r30, 0x50c -/* 80283A70 002809D0 C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 80283A74 002809D4 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 80283A78 002809D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283A7C 002809DC D0 3E 05 00 */ stfs f1, 0x500(r30) -/* 80283A80 002809E0 D0 5E 05 04 */ stfs f2, 0x504(r30) -/* 80283A84 002809E4 D0 7E 05 08 */ stfs f3, 0x508(r30) -/* 80283A88 002809E8 C0 3E 05 00 */ lfs f1, 0x500(r30) -/* 80283A8C 002809EC D0 3E 05 0C */ stfs f1, 0x50c(r30) -/* 80283A90 002809F0 C0 3E 05 04 */ lfs f1, 0x504(r30) -/* 80283A94 002809F4 D0 3E 05 10 */ stfs f1, 0x510(r30) -/* 80283A98 002809F8 C0 3E 05 08 */ lfs f1, 0x508(r30) -/* 80283A9C 002809FC D0 3E 05 14 */ stfs f1, 0x514(r30) -/* 80283AA0 00280A00 D0 1E 05 14 */ stfs f0, 0x514(r30) -/* 80283AA4 00280A04 48 09 0C 55 */ bl CanBeNormalized__9CVector3fCFv -/* 80283AA8 00280A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283AAC 00280A0C 41 82 00 10 */ beq lbl_80283ABC -/* 80283AB0 00280A10 38 7E 05 0C */ addi r3, r30, 0x50c -/* 80283AB4 00280A14 48 09 0E 45 */ bl Normalize__9CVector3fFv -/* 80283AB8 00280A18 48 00 00 24 */ b lbl_80283ADC -lbl_80283ABC: -/* 80283ABC 00280A1C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80283AC0 00280A20 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80283AC4 00280A24 D0 3E 05 00 */ stfs f1, 0x500(r30) -/* 80283AC8 00280A28 D0 1E 05 04 */ stfs f0, 0x504(r30) -/* 80283ACC 00280A2C D0 3E 05 08 */ stfs f1, 0x508(r30) -/* 80283AD0 00280A30 D0 3E 05 0C */ stfs f1, 0x50c(r30) -/* 80283AD4 00280A34 D0 1E 05 10 */ stfs f0, 0x510(r30) -/* 80283AD8 00280A38 D0 3E 05 14 */ stfs f1, 0x514(r30) -lbl_80283ADC: -/* 80283ADC 00280A3C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283AE0 00280A40 7F E4 FB 78 */ mr r4, r31 -/* 80283AE4 00280A44 38 A1 00 0C */ addi r5, r1, 0xc -/* 80283AE8 00280A48 83 A3 00 80 */ lwz r29, 0x80(r3) -/* 80283AEC 00280A4C A0 1D 00 08 */ lhz r0, 8(r29) -/* 80283AF0 00280A50 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80283AF4 00280A54 B0 01 00 08 */ sth r0, 8(r1) -/* 80283AF8 00280A58 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283AFC 00280A5C 4B D8 6D 4D */ bl SetPlayerCamera__14CCameraManagerFR13CStateManager9TUniqueId -/* 80283B00 00280A60 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283B04 00280A64 7F E4 FB 78 */ mr r4, r31 -/* 80283B08 00280A68 4B D8 5C 29 */ bl HasBallCameraInitialPositionHint__14CCameraManagerCFR13CStateManager -/* 80283B0C 00280A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283B10 00280A70 40 82 00 24 */ bne lbl_80283B34 -/* 80283B14 00280A74 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283B18 00280A78 7F E4 FB 78 */ mr r4, r31 -/* 80283B1C 00280A7C 4B D8 58 F5 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager -/* 80283B20 00280A80 7F A3 EB 78 */ mr r3, r29 -/* 80283B24 00280A84 7F E5 FB 78 */ mr r5, r31 -/* 80283B28 00280A88 38 80 00 04 */ li r4, 4 -/* 80283B2C 00280A8C 4B DF F1 71 */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80283B30 00280A90 48 00 00 C8 */ b lbl_80283BF8 -lbl_80283B34: -/* 80283B34 00280A94 7F A3 EB 78 */ mr r3, r29 -/* 80283B38 00280A98 7F E5 FB 78 */ mr r5, r31 -/* 80283B3C 00280A9C 38 80 00 00 */ li r4, 0 -/* 80283B40 00280AA0 4B DF F1 5D */ bl SetState__11CBallCameraFQ211CBallCamera16EBallCameraStateR13CStateManager -/* 80283B44 00280AA4 7F C3 F3 78 */ mr r3, r30 -/* 80283B48 00280AA8 7F E5 FB 78 */ mr r5, r31 -/* 80283B4C 00280AAC 38 80 00 01 */ li r4, 1 -/* 80283B50 00280AB0 4B D9 37 4D */ bl SetCameraState__7CPlayerFQ27CPlayer18EPlayerCameraStateR13CStateManager -/* 80283B54 00280AB4 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 80283B58 00280AB8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80283B5C 00280ABC 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 80283B60 00280AC0 38 84 00 34 */ addi r4, r4, 0x34 -/* 80283B64 00280AC4 48 08 F0 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80283B68 00280AC8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80283B6C 00280ACC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80283B70 00280AD0 48 08 EF D1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80283B74 00280AD4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283B78 00280AD8 38 C0 00 01 */ li r6, 1 -/* 80283B7C 00280ADC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80283B80 00280AE0 7F A3 EB 78 */ mr r3, r29 -/* 80283B84 00280AE4 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283B88 00280AE8 7F E5 FB 78 */ mr r5, r31 -/* 80283B8C 00280AEC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80283B90 00280AF0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283B94 00280AF4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 80283B98 00280AF8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283B9C 00280AFC 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80283BA0 00280B00 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80283BA4 00280B04 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80283BA8 00280B08 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80283BAC 00280B0C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80283BB0 00280B10 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80283BB4 00280B14 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80283BB8 00280B18 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80283BBC 00280B1C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80283BC0 00280B20 4B E0 8F 5D */ bl TeleportCamera__11CBallCameraFRC9CVector3fR13CStateManager -/* 80283BC4 00280B24 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283BC8 00280B28 7F E4 FB 78 */ mr r4, r31 -/* 80283BCC 00280B2C 4B D8 58 45 */ bl SetupBallCamera__14CCameraManagerFR13CStateManager -/* 80283BD0 00280B30 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80283BD4 00280B34 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80283BD8 00280B38 C3 E3 01 5C */ lfs f31, 0x15c(r3) -/* 80283BDC 00280B3C 4B D8 84 FD */ bl DefaultThirdPersonFov__14CCameraManagerFv -/* 80283BE0 00280B40 FC 40 08 90 */ fmr f2, f1 -/* 80283BE4 00280B44 C0 62 BD 80 */ lfs f3, lbl_805ADAA0@sda21(r2) -/* 80283BE8 00280B48 FC 20 F8 90 */ fmr f1, f31 -/* 80283BEC 00280B4C C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) -/* 80283BF0 00280B50 7F A3 EB 78 */ mr r3, r29 -/* 80283BF4 00280B54 4B DD 73 25 */ bl SetFovInterpolation__11CGameCameraFffff -lbl_80283BF8: -/* 80283BF8 00280B58 7F C3 F3 78 */ mr r3, r30 -/* 80283BFC 00280B5C 7F E5 FB 78 */ mr r5, r31 -/* 80283C00 00280B60 38 80 00 02 */ li r4, 2 -/* 80283C04 00280B64 4B EF 75 99 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager -/* 80283C08 00280B68 80 7E 04 90 */ lwz r3, 0x490(r30) -/* 80283C0C 00280B6C 7F E4 FB 78 */ mr r4, r31 -/* 80283C10 00280B70 4B DB 8E 49 */ bl CancelFiring__10CPlayerGunFR13CStateManager -/* 80283C14 00280B74 7F C3 F3 78 */ mr r3, r30 -/* 80283C18 00280B78 7F E4 FB 78 */ mr r4, r31 -/* 80283C1C 00280B7C 4B D9 65 51 */ bl HolsterGun__7CPlayerFR13CStateManager -/* 80283C20 00280B80 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80283C24 00280B84 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80283C28 00280B88 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80283C2C 00280B8C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80283C30 00280B90 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80283C34 00280B94 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80283C38 00280B98 7C 08 03 A6 */ mtlr r0 -/* 80283C3C 00280B9C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80283C40 00280BA0 4E 80 00 20 */ blr - -.global GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager -GetNextBallTransitionAnim__7CPlayerFfRbR13CStateManager: -/* 80283C44 00280BA4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80283C48 00280BA8 7C 08 02 A6 */ mflr r0 -/* 80283C4C 00280BAC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80283C50 00280BB0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80283C54 00280BB4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80283C58 00280BB8 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80283C5C 00280BBC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80283C60 00280BC0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80283C64 00280BC4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80283C68 00280BC8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80283C6C 00280BCC 93 81 00 30 */ stw r28, 0x30(r1) -/* 80283C70 00280BD0 7C 7C 1B 78 */ mr r28, r3 -/* 80283C74 00280BD4 FF C0 08 90 */ fmr f30, f1 -/* 80283C78 00280BD8 C0 23 01 38 */ lfs f1, 0x138(r3) -/* 80283C7C 00280BDC 7C 9D 23 78 */ mr r29, r4 -/* 80283C80 00280BE0 C0 43 01 3C */ lfs f2, 0x13c(r3) -/* 80283C84 00280BE4 7C BE 2B 78 */ mr r30, r5 -/* 80283C88 00280BE8 38 61 00 08 */ addi r3, r1, 8 -/* 80283C8C 00280BEC 3B E0 00 0C */ li r31, 0xc -/* 80283C90 00280BF0 48 09 05 71 */ bl __ct__9CVector2fFff -/* 80283C94 00280BF4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80283C98 00280BF8 38 00 00 00 */ li r0, 0 -/* 80283C9C 00280BFC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80283CA0 00280C00 38 61 00 1C */ addi r3, r1, 0x1c -/* 80283CA4 00280C04 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283CA8 00280C08 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80283CAC 00280C0C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80283CB0 00280C10 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80283CB4 00280C14 98 1D 00 00 */ stb r0, 0(r29) -/* 80283CB8 00280C18 48 09 0A 41 */ bl CanBeNormalized__9CVector3fCFv -/* 80283CBC 00280C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283CC0 00280C20 41 82 00 90 */ beq lbl_80283D50 -/* 80283CC4 00280C24 38 61 00 1C */ addi r3, r1, 0x1c -/* 80283CC8 00280C28 48 09 0B F1 */ bl Magnitude__9CVector3fCFv -/* 80283CCC 00280C2C FF E0 08 90 */ fmr f31, f1 -/* 80283CD0 00280C30 7F 83 E3 78 */ mr r3, r28 -/* 80283CD4 00280C34 FC 20 F0 90 */ fmr f1, f30 -/* 80283CD8 00280C38 48 00 1C 31 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv -/* 80283CDC 00280C3C C0 02 BD 94 */ lfs f0, lbl_805ADAB4@sda21(r2) -/* 80283CE0 00280C40 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80283CE4 00280C44 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80283CE8 00280C48 40 81 00 68 */ ble lbl_80283D50 -/* 80283CEC 00280C4C FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 80283CF0 00280C50 38 00 00 01 */ li r0, 1 -/* 80283CF4 00280C54 98 1D 00 00 */ stb r0, 0(r29) -/* 80283CF8 00280C58 3B E0 00 0F */ li r31, 0xf -/* 80283CFC 00280C5C 4C 41 13 82 */ cror 2, 1, 2 -/* 80283D00 00280C60 40 82 00 08 */ bne lbl_80283D08 -/* 80283D04 00280C64 3B E0 00 0D */ li r31, 0xd -lbl_80283D08: -/* 80283D08 00280C68 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80283D0C 00280C6C C0 1C 05 10 */ lfs f0, 0x510(r28) -/* 80283D10 00280C70 80 63 00 80 */ lwz r3, 0x80(r3) -/* 80283D14 00280C74 C0 5C 05 0C */ lfs f2, 0x50c(r28) -/* 80283D18 00280C78 C0 A3 00 48 */ lfs f5, 0x48(r3) -/* 80283D1C 00280C7C C0 83 00 38 */ lfs f4, 0x38(r3) -/* 80283D20 00280C80 EC 20 01 72 */ fmuls f1, f0, f5 -/* 80283D24 00280C84 C0 C3 00 58 */ lfs f6, 0x58(r3) -/* 80283D28 00280C88 C0 7C 05 14 */ lfs f3, 0x514(r28) -/* 80283D2C 00280C8C C0 02 BD E4 */ lfs f0, lbl_805ADB04@sda21(r2) -/* 80283D30 00280C90 EC 22 09 3A */ fmadds f1, f2, f4, f1 -/* 80283D34 00280C94 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80283D38 00280C98 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80283D3C 00280C9C EC 23 09 BA */ fmadds f1, f3, f6, f1 -/* 80283D40 00280CA0 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 80283D44 00280CA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283D48 00280CA8 40 80 00 08 */ bge lbl_80283D50 -/* 80283D4C 00280CAC 3B E0 00 0C */ li r31, 0xc -lbl_80283D50: -/* 80283D50 00280CB0 7F E3 FB 78 */ mr r3, r31 -/* 80283D54 00280CB4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80283D58 00280CB8 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80283D5C 00280CBC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80283D60 00280CC0 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80283D64 00280CC4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80283D68 00280CC8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80283D6C 00280CCC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80283D70 00280CD0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80283D74 00280CD4 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80283D78 00280CD8 7C 08 03 A6 */ mtlr r0 -/* 80283D7C 00280CDC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80283D80 00280CE0 4E 80 00 20 */ blr - -.global ChoseTransitionToAnimation__7CPlayerCFR13CStateManager -ChoseTransitionToAnimation__7CPlayerCFR13CStateManager: -/* 80283D84 00280CE4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80283D88 00280CE8 7C 08 02 A6 */ mflr r0 -/* 80283D8C 00280CEC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80283D90 00280CF0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80283D94 00280CF4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80283D98 00280CF8 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80283D9C 00280CFC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80283DA0 00280D00 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80283DA4 00280D04 7C 7F 1B 78 */ mr r31, r3 -/* 80283DA8 00280D08 FF C0 08 90 */ fmr f30, f1 -/* 80283DAC 00280D0C 80 03 02 58 */ lwz r0, 0x258(r3) -/* 80283DB0 00280D10 2C 00 00 02 */ cmpwi r0, 2 -/* 80283DB4 00280D14 40 82 00 0C */ bne lbl_80283DC0 -/* 80283DB8 00280D18 38 60 00 03 */ li r3, 3 -/* 80283DBC 00280D1C 48 00 01 48 */ b lbl_80283F04 -lbl_80283DC0: -/* 80283DC0 00280D20 38 61 00 10 */ addi r3, r1, 0x10 -/* 80283DC4 00280D24 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80283DC8 00280D28 38 BF 01 38 */ addi r5, r31, 0x138 -/* 80283DCC 00280D2C 48 08 EC 59 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80283DD0 00280D30 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80283DD4 00280D34 38 61 00 08 */ addi r3, r1, 8 -/* 80283DD8 00280D38 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80283DDC 00280D3C 48 09 04 25 */ bl __ct__9CVector2fFff -/* 80283DE0 00280D40 C0 41 00 08 */ lfs f2, 8(r1) -/* 80283DE4 00280D44 38 61 00 1C */ addi r3, r1, 0x1c -/* 80283DE8 00280D48 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80283DEC 00280D4C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283DF0 00280D50 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80283DF4 00280D54 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80283DF8 00280D58 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80283DFC 00280D5C 48 09 0A BD */ bl Magnitude__9CVector3fCFv -/* 80283E00 00280D60 FF E0 08 90 */ fmr f31, f1 -/* 80283E04 00280D64 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80283E08 00280D68 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80283E0C 00280D6C 40 81 00 F4 */ ble lbl_80283F00 -/* 80283E10 00280D70 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80283E14 00280D74 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80283E18 00280D78 FC 20 00 50 */ fneg f1, f0 -/* 80283E1C 00280D7C 48 11 0E 51 */ bl atan2 -/* 80283E20 00280D80 FC 60 08 18 */ frsp f3, f1 -/* 80283E24 00280D84 C0 42 BD E8 */ lfs f2, lbl_805ADB08@sda21(r2) -/* 80283E28 00280D88 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80283E2C 00280D8C 40 81 00 3C */ ble lbl_80283E68 -/* 80283E30 00280D90 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) -/* 80283E34 00280D94 3C 00 43 30 */ lis r0, 0x4330 -/* 80283E38 00280D98 90 01 00 30 */ stw r0, 0x30(r1) -/* 80283E3C 00280D9C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80283E40 00280DA0 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) -/* 80283E44 00280DA4 FC 00 00 1E */ fctiwz f0, f0 -/* 80283E48 00280DA8 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80283E4C 00280DAC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80283E50 00280DB0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80283E54 00280DB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80283E58 00280DB8 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 80283E5C 00280DBC EC 00 08 28 */ fsubs f0, f0, f1 -/* 80283E60 00280DC0 EC 60 18 BC */ fnmsubs f3, f0, f2, f3 -/* 80283E64 00280DC4 48 00 00 48 */ b lbl_80283EAC -lbl_80283E68: -/* 80283E68 00280DC8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80283E6C 00280DCC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80283E70 00280DD0 40 80 00 3C */ bge lbl_80283EAC -/* 80283E74 00280DD4 C0 02 BD EC */ lfs f0, lbl_805ADB0C@sda21(r2) -/* 80283E78 00280DD8 3C 00 43 30 */ lis r0, 0x4330 -/* 80283E7C 00280DDC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80283E80 00280DE0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80283E84 00280DE4 C8 22 BE 00 */ lfd f1, lbl_805ADB20@sda21(r2) -/* 80283E88 00280DE8 FC 00 00 1E */ fctiwz f0, f0 -/* 80283E8C 00280DEC D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80283E90 00280DF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80283E94 00280DF4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80283E98 00280DF8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80283E9C 00280DFC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80283EA0 00280E00 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80283EA4 00280E04 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 -/* 80283EA8 00280E08 EC 62 00 2A */ fadds f3, f2, f0 -lbl_80283EAC: -/* 80283EAC 00280E0C C0 02 BD F0 */ lfs f0, lbl_805ADB10@sda21(r2) -/* 80283EB0 00280E10 FC 20 F0 90 */ fmr f1, f30 -/* 80283EB4 00280E14 7F E3 FB 78 */ mr r3, r31 -/* 80283EB8 00280E18 EF C0 00 F2 */ fmuls f30, f0, f3 -/* 80283EBC 00280E1C 48 00 1A 4D */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv -/* 80283EC0 00280E20 C0 02 BD F4 */ lfs f0, lbl_805ADB14@sda21(r2) -/* 80283EC4 00280E24 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80283EC8 00280E28 41 80 00 10 */ blt lbl_80283ED8 -/* 80283ECC 00280E2C C0 02 BD F8 */ lfs f0, lbl_805ADB18@sda21(r2) -/* 80283ED0 00280E30 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80283ED4 00280E34 40 81 00 24 */ ble lbl_80283EF8 -lbl_80283ED8: -/* 80283ED8 00280E38 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) -/* 80283EDC 00280E3C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80283EE0 00280E40 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80283EE4 00280E44 40 80 00 0C */ bge lbl_80283EF0 -/* 80283EE8 00280E48 38 60 00 00 */ li r3, 0 -/* 80283EEC 00280E4C 48 00 00 18 */ b lbl_80283F04 -lbl_80283EF0: -/* 80283EF0 00280E50 38 60 00 04 */ li r3, 4 -/* 80283EF4 00280E54 48 00 00 10 */ b lbl_80283F04 -lbl_80283EF8: -/* 80283EF8 00280E58 38 60 00 01 */ li r3, 1 -/* 80283EFC 00280E5C 48 00 00 08 */ b lbl_80283F04 -lbl_80283F00: -/* 80283F00 00280E60 38 60 00 02 */ li r3, 2 -lbl_80283F04: -/* 80283F04 00280E64 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80283F08 00280E68 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80283F0C 00280E6C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80283F10 00280E70 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80283F14 00280E74 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80283F18 00280E78 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80283F1C 00280E7C 7C 08 03 A6 */ mtlr r0 -/* 80283F20 00280E80 38 21 00 60 */ addi r1, r1, 0x60 -/* 80283F24 00280E84 4E 80 00 20 */ blr - -.global SetIntoBallReadyAnimation__7CPlayerFR13CStateManager -SetIntoBallReadyAnimation__7CPlayerFR13CStateManager: -/* 80283F28 00280E88 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80283F2C 00280E8C 7C 08 02 A6 */ mflr r0 -/* 80283F30 00280E90 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80283F34 00280E94 38 E0 00 02 */ li r7, 2 -/* 80283F38 00280E98 90 01 00 64 */ stw r0, 0x64(r1) -/* 80283F3C 00280E9C 38 00 00 00 */ li r0, 0 -/* 80283F40 00280EA0 38 A0 FF FF */ li r5, -1 -/* 80283F44 00280EA4 38 C0 00 01 */ li r6, 1 -/* 80283F48 00280EA8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80283F4C 00280EAC 7C 9F 23 78 */ mr r31, r4 -/* 80283F50 00280EB0 38 81 00 28 */ addi r4, r1, 0x28 -/* 80283F54 00280EB4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80283F58 00280EB8 7C 7E 1B 78 */ mr r30, r3 -/* 80283F5C 00280EBC 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80283F60 00280EC0 38 A0 00 00 */ li r5, 0 -/* 80283F64 00280EC4 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80283F68 00280EC8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80283F6C 00280ECC 98 C1 00 34 */ stb r6, 0x34(r1) -/* 80283F70 00280ED0 90 01 00 38 */ stw r0, 0x38(r1) -/* 80283F74 00280ED4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80283F78 00280ED8 98 01 00 40 */ stb r0, 0x40(r1) -/* 80283F7C 00280EDC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80283F80 00280EE0 90 01 00 48 */ stw r0, 0x48(r1) -/* 80283F84 00280EE4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80283F88 00280EE8 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80283F8C 00280EEC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80283F90 00280EF0 4B DA 8D ED */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 80283F94 00280EF4 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80283F98 00280EF8 38 C0 00 00 */ li r6, 0 -/* 80283F9C 00280EFC 38 80 00 01 */ li r4, 1 -/* 80283FA0 00280F00 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80283FA4 00280F04 81 03 00 10 */ lwz r8, 0x10(r3) -/* 80283FA8 00280F08 7F E5 FB 78 */ mr r5, r31 -/* 80283FAC 00280F0C 38 61 00 0C */ addi r3, r1, 0xc -/* 80283FB0 00280F10 38 E0 00 01 */ li r7, 1 -/* 80283FB4 00280F14 88 08 02 20 */ lbz r0, 0x220(r8) -/* 80283FB8 00280F18 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80283FBC 00280F1C 38 C1 00 08 */ addi r6, r1, 8 -/* 80283FC0 00280F20 98 08 02 20 */ stb r0, 0x220(r8) -/* 80283FC4 00280F24 88 08 02 20 */ lbz r0, 0x220(r8) -/* 80283FC8 00280F28 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80283FCC 00280F2C 98 08 02 20 */ stb r0, 0x220(r8) -/* 80283FD0 00280F30 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80283FD4 00280F34 90 01 00 08 */ stw r0, 8(r1) -/* 80283FD8 00280F38 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 80283FDC 00280F3C 4B E9 1B 59 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -/* 80283FE0 00280F40 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80283FE4 00280F44 38 80 00 00 */ li r4, 0 -/* 80283FE8 00280F48 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80283FEC 00280F4C 88 03 02 20 */ lbz r0, 0x220(r3) -/* 80283FF0 00280F50 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80283FF4 00280F54 98 03 02 20 */ stb r0, 0x220(r3) -/* 80283FF8 00280F58 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80283FFC 00280F5C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80284000 00280F60 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80284004 00280F64 7C 08 03 A6 */ mtlr r0 -/* 80284008 00280F68 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028400C 00280F6C 4E 80 00 20 */ blr - -.global UpdateCameraBob__7CPlayerFfR13CStateManager -UpdateCameraBob__7CPlayerFfR13CStateManager: -/* 80284010 00280F70 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80284014 00280F74 7C 08 02 A6 */ mflr r0 -/* 80284018 00280F78 90 01 00 94 */ stw r0, 0x94(r1) -/* 8028401C 00280F7C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80284020 00280F80 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80284024 00280F84 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80284028 00280F88 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8028402C 00280F8C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80284030 00280F90 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80284034 00280F94 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80284038 00280F98 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028403C 00280F9C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80284040 00280FA0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80284044 00280FA4 7C 7D 1B 78 */ mr r29, r3 -/* 80284048 00280FA8 FF E0 08 90 */ fmr f31, f1 -/* 8028404C 00280FAC 7C 9E 23 78 */ mr r30, r4 -/* 80284050 00280FB0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80284054 00280FB4 C0 C3 01 38 */ lfs f6, 0x138(r3) -/* 80284058 00280FB8 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 8028405C 00280FBC C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 80284060 00280FC0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80284064 00280FC4 C0 A3 01 40 */ lfs f5, 0x140(r3) -/* 80284068 00280FC8 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8028406C 00280FCC 80 03 03 04 */ lwz r0, 0x304(r3) -/* 80284070 00280FD0 2C 00 00 00 */ cmpwi r0, 0 -/* 80284074 00280FD4 40 82 00 5C */ bne lbl_802840D0 -/* 80284078 00280FD8 C0 7D 00 48 */ lfs f3, 0x48(r29) -/* 8028407C 00280FDC 3B E0 00 00 */ li r31, 0 -/* 80284080 00280FE0 C0 5D 00 38 */ lfs f2, 0x38(r29) -/* 80284084 00280FE4 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80284088 00280FE8 C0 9D 00 58 */ lfs f4, 0x58(r29) -/* 8028408C 00280FEC D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80284090 00280FF0 EC 06 00 BA */ fmadds f0, f6, f2, f0 -/* 80284094 00280FF4 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80284098 00280FF8 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8028409C 00280FFC EF C5 01 3A */ fmadds f30, f5, f4, f0 -/* 802840A0 00281000 48 00 18 69 */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv -/* 802840A4 00281004 EC 3E 08 24 */ fdivs f1, f30, f1 -/* 802840A8 00281008 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 802840AC 0028100C FC 20 0A 10 */ fabs f1, f1 -/* 802840B0 00281010 FC 20 08 18 */ frsp f1, f1 -/* 802840B4 00281014 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802840B8 00281018 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802840BC 0028101C 40 80 00 F4 */ bge lbl_802841B0 -/* 802840C0 00281020 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802840C4 00281024 3B E0 00 03 */ li r31, 3 -/* 802840C8 00281028 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802840CC 0028102C 48 00 00 E4 */ b lbl_802841B0 -lbl_802840D0: -/* 802840D0 00281030 C0 FD 00 44 */ lfs f7, 0x44(r29) -/* 802840D4 00281034 3B E0 00 01 */ li r31, 1 -/* 802840D8 00281038 C1 3D 00 48 */ lfs f9, 0x48(r29) -/* 802840DC 0028103C EC 60 01 F2 */ fmuls f3, f0, f7 -/* 802840E0 00281040 C0 9D 00 34 */ lfs f4, 0x34(r29) -/* 802840E4 00281044 C0 5D 00 38 */ lfs f2, 0x38(r29) -/* 802840E8 00281048 EC 00 02 72 */ fmuls f0, f0, f9 -/* 802840EC 0028104C C1 1D 00 54 */ lfs f8, 0x54(r29) -/* 802840F0 00281050 EC 66 19 3A */ fmadds f3, f6, f4, f3 -/* 802840F4 00281054 C1 5D 00 58 */ lfs f10, 0x58(r29) -/* 802840F8 00281058 EC 06 00 BA */ fmadds f0, f6, f2, f0 -/* 802840FC 0028105C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80284100 00281060 EF A5 1A 3A */ fmadds f29, f5, f8, f3 -/* 80284104 00281064 EF C5 02 BA */ fmadds f30, f5, f10, f0 -/* 80284108 00281068 D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 8028410C 0028106C D1 01 00 30 */ stfs f8, 0x30(r1) -/* 80284110 00281070 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80284114 00281074 D1 21 00 20 */ stfs f9, 0x20(r1) -/* 80284118 00281078 D1 41 00 24 */ stfs f10, 0x24(r1) -/* 8028411C 0028107C 48 00 17 ED */ bl GetActualFirstPersonMaxVelocity__7CPlayerCFv -/* 80284120 00281080 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 80284124 00281084 2C 00 00 02 */ cmpwi r0, 2 -/* 80284128 00281088 40 82 00 0C */ bne lbl_80284134 -/* 8028412C 0028108C 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80284130 00281090 48 00 00 08 */ b lbl_80284138 -lbl_80284134: -/* 80284134 00281094 38 00 00 04 */ li r0, 4 -lbl_80284138: -/* 80284138 00281098 3C 60 80 3D */ lis r3, lbl_803D5908@ha -/* 8028413C 0028109C 54 00 10 3A */ slwi r0, r0, 2 -/* 80284140 002810A0 38 63 59 08 */ addi r3, r3, lbl_803D5908@l -/* 80284144 002810A4 EC 01 00 72 */ fmuls f0, f1, f1 -/* 80284148 002810A8 7C 23 04 2E */ lfsx f1, r3, r0 -/* 8028414C 002810AC EC 21 00 7A */ fmadds f1, f1, f1, f0 -/* 80284150 002810B0 48 09 13 B1 */ bl SqrtF__5CMathFf -/* 80284154 002810B4 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 80284158 002810B8 FF C0 08 90 */ fmr f30, f1 -/* 8028415C 002810BC EC 3D 07 7A */ fmadds f1, f29, f29, f0 -/* 80284160 002810C0 48 09 13 A1 */ bl SqrtF__5CMathFf -/* 80284164 002810C4 EC 21 F0 24 */ fdivs f1, f1, f30 -/* 80284168 002810C8 C0 0D 87 C4 */ lfs f0, lbl_805A7384@sda21(r13) -/* 8028416C 002810CC C0 4D 87 C8 */ lfs f2, lbl_805A7388@sda21(r13) -/* 80284170 002810D0 D0 41 00 08 */ stfs f2, 8(r1) -/* 80284174 002810D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80284178 002810D8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8028417C 002810DC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80284180 002810E0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80284184 002810E4 40 80 00 0C */ bge lbl_80284190 -/* 80284188 002810E8 38 61 00 0C */ addi r3, r1, 0xc -/* 8028418C 002810EC 48 00 00 08 */ b lbl_80284194 -lbl_80284190: -/* 80284190 002810F0 38 61 00 08 */ addi r3, r1, 8 -lbl_80284194: -/* 80284194 002810F4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80284198 002810F8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 8028419C 002810FC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802841A0 00281100 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802841A4 00281104 40 80 00 0C */ bge lbl_802841B0 -/* 802841A8 00281108 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802841AC 0028110C D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_802841B0: -/* 802841B0 00281110 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 802841B4 00281114 2C 00 00 00 */ cmpwi r0, 0 -/* 802841B8 00281118 41 82 00 14 */ beq lbl_802841CC -/* 802841BC 0028111C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802841C0 00281120 3B E0 00 02 */ li r31, 2 -/* 802841C4 00281124 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802841C8 00281128 48 00 00 68 */ b lbl_80284230 -lbl_802841CC: -/* 802841CC 0028112C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802841D0 00281130 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 802841D4 00281134 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802841D8 00281138 40 80 00 58 */ bge lbl_80284230 -/* 802841DC 0028113C 80 7D 04 90 */ lwz r3, 0x490(r29) -/* 802841E0 00281140 80 03 02 EC */ lwz r0, 0x2ec(r3) -/* 802841E4 00281144 2C 00 00 00 */ cmpwi r0, 0 -/* 802841E8 00281148 41 82 00 14 */ beq lbl_802841FC -/* 802841EC 0028114C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802841F0 00281150 3B E0 00 04 */ li r31, 4 -/* 802841F4 00281154 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802841F8 00281158 48 00 00 38 */ b lbl_80284230 -lbl_802841FC: -/* 802841FC 0028115C 7F A4 EB 78 */ mr r4, r29 -/* 80284200 00281160 38 61 00 10 */ addi r3, r1, 0x10 -/* 80284204 00281164 4B E9 69 A1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 80284208 00281168 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028420C 0028116C 4B D9 73 05 */ bl GetAngle__10CAxisAngleCFv -/* 80284210 00281170 FC 20 0A 10 */ fabs f1, f1 -/* 80284214 00281174 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) -/* 80284218 00281178 FC 20 08 18 */ frsp f1, f1 -/* 8028421C 0028117C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80284220 00281180 40 81 00 10 */ ble lbl_80284230 -/* 80284224 00281184 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80284228 00281188 3B E0 00 05 */ li r31, 5 -/* 8028422C 0028118C D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_80284230: -/* 80284230 00281190 88 1D 03 DC */ lbz r0, 0x3dc(r29) -/* 80284234 00281194 28 00 00 00 */ cmplwi r0, 0 -/* 80284238 00281198 40 82 00 10 */ bne lbl_80284248 -/* 8028423C 0028119C 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 80284240 002811A0 28 00 00 00 */ cmplwi r0, 0 -/* 80284244 002811A4 41 82 00 10 */ beq lbl_80284254 -lbl_80284248: -/* 80284248 002811A8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 8028424C 002811AC 3B E0 00 06 */ li r31, 6 -/* 80284250 002811B0 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_80284254: -/* 80284254 002811B4 80 1D 03 04 */ lwz r0, 0x304(r29) -/* 80284258 002811B8 2C 00 00 05 */ cmpwi r0, 5 -/* 8028425C 002811BC 40 82 00 10 */ bne lbl_8028426C -/* 80284260 002811C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80284264 002811C4 3B E0 00 07 */ li r31, 7 -/* 80284268 002811C8 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_8028426C: -/* 8028426C 002811CC 80 1D 03 A8 */ lwz r0, 0x3a8(r29) -/* 80284270 002811D0 2C 00 00 02 */ cmpwi r0, 2 -/* 80284274 002811D4 40 82 00 0C */ bne lbl_80284280 -/* 80284278 002811D8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 8028427C 002811DC D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_80284280: -/* 80284280 002811E0 88 1D 03 8C */ lbz r0, 0x38c(r29) -/* 80284284 002811E4 28 00 00 00 */ cmplwi r0, 0 -/* 80284288 002811E8 41 82 00 2C */ beq lbl_802842B4 -/* 8028428C 002811EC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80284290 002811F0 3B E0 00 06 */ li r31, 6 -/* 80284294 002811F4 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) -/* 80284298 002811F8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028429C 002811FC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802842A0 00281200 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 802842A4 00281204 2C 00 00 00 */ cmpwi r0, 0 -/* 802842A8 00281208 40 82 00 0C */ bne lbl_802842B4 -/* 802842AC 0028120C 38 00 00 00 */ li r0, 0 -/* 802842B0 00281210 98 1D 03 8C */ stb r0, 0x38c(r29) -lbl_802842B4: -/* 802842B4 00281214 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 802842B8 00281218 4B D8 66 49 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 802842BC 0028121C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802842C0 00281220 41 82 00 0C */ beq lbl_802842CC -/* 802842C4 00281224 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802842C8 00281228 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_802842CC: -/* 802842CC 0028122C 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 802842D0 00281230 4B D8 4E 79 */ bl GetCameraBobMagnitude__14CCameraManagerCFv -/* 802842D4 00281234 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802842D8 00281238 38 81 00 40 */ addi r4, r1, 0x40 -/* 802842DC 0028123C EC 00 00 72 */ fmuls f0, f0, f1 -/* 802842E0 00281240 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802842E4 00281244 80 7D 07 6C */ lwz r3, 0x76c(r29) -/* 802842E8 00281248 4B E6 57 31 */ bl SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f -/* 802842EC 0028124C 80 7D 07 6C */ lwz r3, 0x76c(r29) -/* 802842F0 00281250 7F E4 FB 78 */ mr r4, r31 -/* 802842F4 00281254 7F C5 F3 78 */ mr r5, r30 -/* 802842F8 00281258 4B E6 57 5D */ bl SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -/* 802842FC 0028125C 80 7D 07 6C */ lwz r3, 0x76c(r29) -/* 80284300 00281260 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80284304 00281264 4B E6 5B 49 */ bl SetBobMagnitude__16CPlayerCameraBobFf -/* 80284308 00281268 C0 4D 87 CC */ lfs f2, lbl_805A738C@sda21(r13) -/* 8028430C 0028126C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80284310 00281270 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80284314 00281274 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80284318 00281278 80 7D 07 6C */ lwz r3, 0x76c(r29) -/* 8028431C 0028127C EC 21 10 3A */ fmadds f1, f1, f0, f2 -/* 80284320 00281280 4B E6 5B 7D */ bl SetBobTimeScale__16CPlayerCameraBobFf -/* 80284324 00281284 FC 20 F8 90 */ fmr f1, f31 -/* 80284328 00281288 80 7D 07 6C */ lwz r3, 0x76c(r29) -/* 8028432C 0028128C 7F C4 F3 78 */ mr r4, r30 -/* 80284330 00281290 4B E6 5B BD */ bl Update__16CPlayerCameraBobFfR13CStateManager -/* 80284334 00281294 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80284338 00281298 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8028433C 0028129C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80284340 002812A0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80284344 002812A4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80284348 002812A8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8028434C 002812AC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80284350 002812B0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80284354 002812B4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80284358 002812B8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8028435C 002812BC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80284360 002812C0 7C 08 03 A6 */ mtlr r0 -/* 80284364 002812C4 38 21 00 90 */ addi r1, r1, 0x90 -/* 80284368 002812C8 4E 80 00 20 */ blr - -.global SetEyeZBias__7CPlayerFf -SetEyeZBias__7CPlayerFf: -/* 8028436C 002812CC D0 23 09 C8 */ stfs f1, 0x9c8(r3) -/* 80284370 002812D0 4E 80 00 20 */ blr - -.global AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager -AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager: -/* 80284374 002812D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80284378 002812D8 7C 08 02 A6 */ mflr r0 -/* 8028437C 002812DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80284380 002812E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80284384 002812E4 7C 9F 23 78 */ mr r31, r4 -/* 80284388 002812E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028438C 002812EC 7C 7E 1B 78 */ mr r30, r3 -/* 80284390 002812F0 7C A3 2B 78 */ mr r3, r5 -/* 80284394 002812F4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80284398 002812F8 38 81 00 08 */ addi r4, r1, 8 -/* 8028439C 002812FC B0 01 00 08 */ sth r0, 8(r1) -/* 802843A0 00281300 4B DC 81 D5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802843A4 00281304 7C 64 1B 78 */ mr r4, r3 -/* 802843A8 00281308 38 61 00 0C */ addi r3, r1, 0xc -/* 802843AC 0028130C 4B E2 47 55 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 802843B0 00281310 80 03 00 04 */ lwz r0, 4(r3) -/* 802843B4 00281314 28 00 00 00 */ cmplwi r0, 0 -/* 802843B8 00281318 41 82 00 60 */ beq lbl_80284418 -/* 802843BC 0028131C 80 DE 09 3C */ lwz r6, 0x93c(r30) -/* 802843C0 00281320 38 9E 09 40 */ addi r4, r30, 0x940 -/* 802843C4 00281324 54 C0 08 3C */ slwi r0, r6, 1 -/* 802843C8 00281328 7C A4 02 14 */ add r5, r4, r0 -/* 802843CC 0028132C 48 00 00 08 */ b lbl_802843D4 -lbl_802843D0: -/* 802843D0 00281330 38 84 00 02 */ addi r4, r4, 2 -lbl_802843D4: -/* 802843D4 00281334 7C 04 28 40 */ cmplw r4, r5 -/* 802843D8 00281338 41 82 00 14 */ beq lbl_802843EC -/* 802843DC 0028133C A0 64 00 00 */ lhz r3, 0(r4) -/* 802843E0 00281340 A0 1F 00 00 */ lhz r0, 0(r31) -/* 802843E4 00281344 7C 03 00 40 */ cmplw r3, r0 -/* 802843E8 00281348 40 82 FF E8 */ bne lbl_802843D0 -lbl_802843EC: -/* 802843EC 0028134C 7C 04 28 40 */ cmplw r4, r5 -/* 802843F0 00281350 40 82 00 28 */ bne lbl_80284418 -/* 802843F4 00281354 2C 06 00 20 */ cmpwi r6, 0x20 -/* 802843F8 00281358 41 82 00 20 */ beq lbl_80284418 -/* 802843FC 0028135C 28 05 00 00 */ cmplwi r5, 0 -/* 80284400 00281360 41 82 00 0C */ beq lbl_8028440C -/* 80284404 00281364 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80284408 00281368 B0 05 00 00 */ sth r0, 0(r5) -lbl_8028440C: -/* 8028440C 0028136C 80 7E 09 3C */ lwz r3, 0x93c(r30) -/* 80284410 00281370 38 03 00 01 */ addi r0, r3, 1 -/* 80284414 00281374 90 1E 09 3C */ stw r0, 0x93c(r30) -lbl_80284418: -/* 80284418 00281378 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028441C 0028137C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80284420 00281380 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80284424 00281384 7C 08 03 A6 */ mtlr r0 -/* 80284428 00281388 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028442C 0028138C 4E 80 00 20 */ blr - -.global DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager -DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager: -/* 80284430 00281390 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80284434 00281394 7C 08 02 A6 */ mflr r0 -/* 80284438 00281398 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028443C 0028139C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80284440 002813A0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80284444 002813A4 7C 9E 23 78 */ mr r30, r4 -/* 80284448 002813A8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8028444C 002813AC 7C 7D 1B 78 */ mr r29, r3 -/* 80284450 002813B0 7C A3 2B 78 */ mr r3, r5 -/* 80284454 002813B4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80284458 002813B8 38 81 00 08 */ addi r4, r1, 8 -/* 8028445C 002813BC B0 01 00 08 */ sth r0, 8(r1) -/* 80284460 002813C0 4B DC 81 15 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80284464 002813C4 7C 64 1B 78 */ mr r4, r3 -/* 80284468 002813C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8028446C 002813CC 4B E2 46 95 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 80284470 002813D0 83 E3 00 04 */ lwz r31, 4(r3) -/* 80284474 002813D4 28 1F 00 00 */ cmplwi r31, 0 -/* 80284478 002813D8 41 82 00 70 */ beq lbl_802844E8 -/* 8028447C 002813DC 80 DD 09 3C */ lwz r6, 0x93c(r29) -/* 80284480 002813E0 38 9D 09 40 */ addi r4, r29, 0x940 -/* 80284484 002813E4 54 C0 08 3C */ slwi r0, r6, 1 -/* 80284488 002813E8 7C A4 02 14 */ add r5, r4, r0 -/* 8028448C 002813EC 48 00 00 08 */ b lbl_80284494 -lbl_80284490: -/* 80284490 002813F0 38 84 00 02 */ addi r4, r4, 2 -lbl_80284494: -/* 80284494 002813F4 7C 04 28 40 */ cmplw r4, r5 -/* 80284498 002813F8 41 82 00 14 */ beq lbl_802844AC -/* 8028449C 002813FC A0 64 00 00 */ lhz r3, 0(r4) -/* 802844A0 00281400 A0 1E 00 00 */ lhz r0, 0(r30) -/* 802844A4 00281404 7C 03 00 40 */ cmplw r3, r0 -/* 802844A8 00281408 40 82 FF E8 */ bne lbl_80284490 -lbl_802844AC: -/* 802844AC 0028140C 7C 04 28 40 */ cmplw r4, r5 -/* 802844B0 00281410 40 82 00 38 */ bne lbl_802844E8 -/* 802844B4 00281414 2C 06 00 20 */ cmpwi r6, 0x20 -/* 802844B8 00281418 41 82 00 30 */ beq lbl_802844E8 -/* 802844BC 0028141C 28 05 00 00 */ cmplwi r5, 0 -/* 802844C0 00281420 41 82 00 0C */ beq lbl_802844CC -/* 802844C4 00281424 A0 1E 00 00 */ lhz r0, 0(r30) -/* 802844C8 00281428 B0 05 00 00 */ sth r0, 0(r5) -lbl_802844CC: -/* 802844CC 0028142C 80 9D 09 3C */ lwz r4, 0x93c(r29) -/* 802844D0 00281430 7F E3 FB 78 */ mr r3, r31 -/* 802844D4 00281434 38 04 00 01 */ addi r0, r4, 1 -/* 802844D8 00281438 90 1D 09 3C */ stw r0, 0x93c(r29) -/* 802844DC 0028143C 4B ED 77 89 */ bl ClearObjectList__17CScriptPlayerHintFv -/* 802844E0 00281440 38 00 00 01 */ li r0, 1 -/* 802844E4 00281444 98 1F 00 FC */ stb r0, 0xfc(r31) -lbl_802844E8: -/* 802844E8 00281448 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802844EC 0028144C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802844F0 00281450 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802844F4 00281454 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802844F8 00281458 7C 08 03 A6 */ mtlr r0 -/* 802844FC 0028145C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80284500 00281460 4E 80 00 20 */ blr - -.global AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager -AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager: -/* 80284504 00281464 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80284508 00281468 7C 08 02 A6 */ mflr r0 -/* 8028450C 0028146C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80284510 00281470 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80284514 00281474 7C 9F 23 78 */ mr r31, r4 -/* 80284518 00281478 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028451C 0028147C 7C 7E 1B 78 */ mr r30, r3 -/* 80284520 00281480 7C A3 2B 78 */ mr r3, r5 -/* 80284524 00281484 A0 04 00 00 */ lhz r0, 0(r4) -/* 80284528 00281488 38 81 00 08 */ addi r4, r1, 8 -/* 8028452C 0028148C B0 01 00 08 */ sth r0, 8(r1) -/* 80284530 00281490 4B DC 80 45 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80284534 00281494 7C 64 1B 78 */ mr r4, r3 -/* 80284538 00281498 38 61 00 0C */ addi r3, r1, 0xc -/* 8028453C 0028149C 4B E2 45 C5 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 80284540 002814A0 80 03 00 04 */ lwz r0, 4(r3) -/* 80284544 002814A4 28 00 00 00 */ cmplwi r0, 0 -/* 80284548 002814A8 41 82 00 6C */ beq lbl_802845B4 -/* 8028454C 002814AC 80 9E 09 80 */ lwz r4, 0x980(r30) -/* 80284550 002814B0 38 7E 09 84 */ addi r3, r30, 0x984 -/* 80284554 002814B4 7C 66 1B 78 */ mr r6, r3 -/* 80284558 002814B8 54 80 08 3C */ slwi r0, r4, 1 -/* 8028455C 002814BC 7C A3 02 14 */ add r5, r3, r0 -/* 80284560 002814C0 48 00 00 18 */ b lbl_80284578 -lbl_80284564: -/* 80284564 002814C4 A0 66 00 00 */ lhz r3, 0(r6) -/* 80284568 002814C8 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8028456C 002814CC 7C 03 00 40 */ cmplw r3, r0 -/* 80284570 002814D0 41 82 00 44 */ beq lbl_802845B4 -/* 80284574 002814D4 38 C6 00 02 */ addi r6, r6, 2 -lbl_80284578: -/* 80284578 002814D8 7C 06 28 40 */ cmplw r6, r5 -/* 8028457C 002814DC 40 82 FF E8 */ bne lbl_80284564 -/* 80284580 002814E0 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 80284584 002814E4 2C 00 00 20 */ cmpwi r0, 0x20 -/* 80284588 002814E8 41 82 00 2C */ beq lbl_802845B4 -/* 8028458C 002814EC 2C 04 00 20 */ cmpwi r4, 0x20 -/* 80284590 002814F0 40 82 00 08 */ bne lbl_80284598 -/* 80284594 002814F4 48 00 00 20 */ b lbl_802845B4 -lbl_80284598: -/* 80284598 002814F8 28 05 00 00 */ cmplwi r5, 0 -/* 8028459C 002814FC 41 82 00 0C */ beq lbl_802845A8 -/* 802845A0 00281500 A0 1F 00 00 */ lhz r0, 0(r31) -/* 802845A4 00281504 B0 05 00 00 */ sth r0, 0(r5) -lbl_802845A8: -/* 802845A8 00281508 80 7E 09 80 */ lwz r3, 0x980(r30) -/* 802845AC 0028150C 38 03 00 01 */ addi r0, r3, 1 -/* 802845B0 00281510 90 1E 09 80 */ stw r0, 0x980(r30) -lbl_802845B4: -/* 802845B4 00281514 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802845B8 00281518 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802845BC 0028151C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802845C0 00281520 7C 08 03 A6 */ mtlr r0 -/* 802845C4 00281524 38 21 00 20 */ addi r1, r1, 0x20 -/* 802845C8 00281528 4E 80 00 20 */ blr - -.global UpdatePlayerHints__7CPlayerFRC13CStateManager -UpdatePlayerHints__7CPlayerFRC13CStateManager: -/* 802845CC 0028152C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802845D0 00281530 7C 08 02 A6 */ mflr r0 -/* 802845D4 00281534 90 01 00 74 */ stw r0, 0x74(r1) -/* 802845D8 00281538 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 802845DC 0028153C 7C 7E 1B 78 */ mr r30, r3 -/* 802845E0 00281540 3B BE 08 3C */ addi r29, r30, 0x83c -/* 802845E4 00281544 7C 9F 23 78 */ mr r31, r4 -/* 802845E8 00281548 3B 60 00 00 */ li r27, 0 -/* 802845EC 0028154C 7F BC EB 78 */ mr r28, r29 -/* 802845F0 00281550 48 00 00 AC */ b lbl_8028469C -lbl_802845F4: -/* 802845F4 00281554 A0 1C 00 04 */ lhz r0, 4(r28) -/* 802845F8 00281558 7F E3 FB 78 */ mr r3, r31 -/* 802845FC 0028155C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80284600 00281560 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80284604 00281564 4B DC 7F 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80284608 00281568 7C 64 1B 78 */ mr r4, r3 -/* 8028460C 0028156C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80284610 00281570 4B E2 44 F1 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 80284614 00281574 80 03 00 04 */ lwz r0, 4(r3) -/* 80284618 00281578 28 00 00 00 */ cmplwi r0, 0 -/* 8028461C 0028157C 40 82 00 7C */ bne lbl_80284698 -/* 80284620 00281580 7C 1C E8 40 */ cmplw r28, r29 -/* 80284624 00281584 41 80 00 5C */ blt lbl_80284680 -/* 80284628 00281588 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 8028462C 0028158C 54 00 18 38 */ slwi r0, r0, 3 -/* 80284630 00281590 7C 1D 02 14 */ add r0, r29, r0 -/* 80284634 00281594 7C 1C 00 40 */ cmplw r28, r0 -/* 80284638 00281598 40 80 00 48 */ bge lbl_80284680 -/* 8028463C 0028159C 7F 85 E3 78 */ mr r5, r28 -/* 80284640 002815A0 48 00 00 18 */ b lbl_80284658 -lbl_80284644: -/* 80284644 002815A4 80 05 00 08 */ lwz r0, 8(r5) -/* 80284648 002815A8 90 05 00 00 */ stw r0, 0(r5) -/* 8028464C 002815AC A0 05 00 0C */ lhz r0, 0xc(r5) -/* 80284650 002815B0 B0 05 00 04 */ sth r0, 4(r5) -/* 80284654 002815B4 38 A5 00 08 */ addi r5, r5, 8 -lbl_80284658: -/* 80284658 002815B8 80 9E 08 38 */ lwz r4, 0x838(r30) -/* 8028465C 002815BC 54 83 18 38 */ slwi r3, r4, 3 -/* 80284660 002815C0 38 03 FF F8 */ addi r0, r3, -8 -/* 80284664 002815C4 7C 1D 02 14 */ add r0, r29, r0 -/* 80284668 002815C8 7C 05 00 40 */ cmplw r5, r0 -/* 8028466C 002815CC 41 80 FF D8 */ blt lbl_80284644 -/* 80284670 002815D0 38 04 FF FF */ addi r0, r4, -1 -/* 80284674 002815D4 7F 83 E3 78 */ mr r3, r28 -/* 80284678 002815D8 90 1E 08 38 */ stw r0, 0x838(r30) -/* 8028467C 002815DC 48 00 00 10 */ b lbl_8028468C -lbl_80284680: -/* 80284680 002815E0 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 80284684 002815E4 54 00 18 38 */ slwi r0, r0, 3 -/* 80284688 002815E8 7C 7D 02 14 */ add r3, r29, r0 -lbl_8028468C: -/* 8028468C 002815EC 7C 7C 1B 78 */ mr r28, r3 -/* 80284690 002815F0 3B 60 00 01 */ li r27, 1 -/* 80284694 002815F4 48 00 00 08 */ b lbl_8028469C -lbl_80284698: -/* 80284698 002815F8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8028469C: -/* 8028469C 002815FC 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 802846A0 00281600 54 00 18 38 */ slwi r0, r0, 3 -/* 802846A4 00281604 7C 1D 02 14 */ add r0, r29, r0 -/* 802846A8 00281608 7C 1C 00 40 */ cmplw r28, r0 -/* 802846AC 0028160C 40 82 FF 48 */ bne lbl_802845F4 -/* 802846B0 00281610 80 1E 09 3C */ lwz r0, 0x93c(r30) -/* 802846B4 00281614 3B 40 00 00 */ li r26, 0 -/* 802846B8 00281618 2C 00 00 00 */ cmpwi r0, 0 -/* 802846BC 0028161C 41 82 01 50 */ beq lbl_8028480C -/* 802846C0 00281620 3B 9E 09 40 */ addi r28, r30, 0x940 -/* 802846C4 00281624 7F 99 E3 78 */ mr r25, r28 -/* 802846C8 00281628 48 00 00 E0 */ b lbl_802847A8 -lbl_802846CC: -/* 802846CC 0028162C A0 19 00 00 */ lhz r0, 0(r25) -/* 802846D0 00281630 7F E3 FB 78 */ mr r3, r31 -/* 802846D4 00281634 38 81 00 20 */ addi r4, r1, 0x20 -/* 802846D8 00281638 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 802846DC 0028163C B0 01 00 20 */ sth r0, 0x20(r1) -/* 802846E0 00281640 4B DC 7E C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 802846E4 00281644 7C 64 1B 78 */ mr r4, r3 -/* 802846E8 00281648 38 61 00 38 */ addi r3, r1, 0x38 -/* 802846EC 0028164C 4B E2 44 15 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 802846F0 00281650 80 63 00 04 */ lwz r3, 4(r3) -/* 802846F4 00281654 28 03 00 00 */ cmplwi r3, 0 -/* 802846F8 00281658 41 82 00 AC */ beq lbl_802847A4 -/* 802846FC 0028165C 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 80284700 00281660 28 00 00 00 */ cmplwi r0, 0 -/* 80284704 00281664 41 82 00 10 */ beq lbl_80284714 -/* 80284708 00281668 88 03 00 FC */ lbz r0, 0xfc(r3) -/* 8028470C 0028166C 28 00 00 00 */ cmplwi r0, 0 -/* 80284710 00281670 41 82 00 94 */ beq lbl_802847A4 -lbl_80284714: -/* 80284714 00281674 80 7E 08 38 */ lwz r3, 0x838(r30) -/* 80284718 00281678 7F A5 EB 78 */ mr r5, r29 -/* 8028471C 0028167C A0 01 00 2C */ lhz r0, 0x2c(r1) -/* 80284720 00281680 54 63 18 38 */ slwi r3, r3, 3 -/* 80284724 00281684 7C 9D 1A 14 */ add r4, r29, r3 -/* 80284728 00281688 48 00 00 74 */ b lbl_8028479C -lbl_8028472C: -/* 8028472C 0028168C A0 65 00 04 */ lhz r3, 4(r5) -/* 80284730 00281690 7C 03 00 40 */ cmplw r3, r0 -/* 80284734 00281694 40 82 00 64 */ bne lbl_80284798 -/* 80284738 00281698 7C 05 E8 40 */ cmplw r5, r29 -/* 8028473C 0028169C 41 80 00 44 */ blt lbl_80284780 -/* 80284740 002816A0 7C 05 20 40 */ cmplw r5, r4 -/* 80284744 002816A4 40 80 00 3C */ bge lbl_80284780 -/* 80284748 002816A8 48 00 00 18 */ b lbl_80284760 -lbl_8028474C: -/* 8028474C 002816AC 80 05 00 08 */ lwz r0, 8(r5) -/* 80284750 002816B0 90 05 00 00 */ stw r0, 0(r5) -/* 80284754 002816B4 A0 05 00 0C */ lhz r0, 0xc(r5) -/* 80284758 002816B8 B0 05 00 04 */ sth r0, 4(r5) -/* 8028475C 002816BC 38 A5 00 08 */ addi r5, r5, 8 -lbl_80284760: -/* 80284760 002816C0 80 9E 08 38 */ lwz r4, 0x838(r30) -/* 80284764 002816C4 54 83 18 38 */ slwi r3, r4, 3 -/* 80284768 002816C8 38 03 FF F8 */ addi r0, r3, -8 -/* 8028476C 002816CC 7C 1D 02 14 */ add r0, r29, r0 -/* 80284770 002816D0 7C 05 00 40 */ cmplw r5, r0 -/* 80284774 002816D4 41 80 FF D8 */ blt lbl_8028474C -/* 80284778 002816D8 38 04 FF FF */ addi r0, r4, -1 -/* 8028477C 002816DC 90 1E 08 38 */ stw r0, 0x838(r30) -lbl_80284780: -/* 80284780 002816E0 A0 61 00 2C */ lhz r3, 0x2c(r1) -/* 80284784 002816E4 A0 1E 08 30 */ lhz r0, 0x830(r30) -/* 80284788 002816E8 7C 03 00 40 */ cmplw r3, r0 -/* 8028478C 002816EC 40 82 00 18 */ bne lbl_802847A4 -/* 80284790 002816F0 3B 40 00 01 */ li r26, 1 -/* 80284794 002816F4 48 00 00 10 */ b lbl_802847A4 -lbl_80284798: -/* 80284798 002816F8 38 A5 00 08 */ addi r5, r5, 8 -lbl_8028479C: -/* 8028479C 002816FC 7C 05 20 40 */ cmplw r5, r4 -/* 802847A0 00281700 40 82 FF 8C */ bne lbl_8028472C -lbl_802847A4: -/* 802847A4 00281704 3B 39 00 02 */ addi r25, r25, 2 -lbl_802847A8: -/* 802847A8 00281708 80 BE 09 3C */ lwz r5, 0x93c(r30) -/* 802847AC 0028170C 54 A0 08 3C */ slwi r0, r5, 1 -/* 802847B0 00281710 7C 1C 02 14 */ add r0, r28, r0 -/* 802847B4 00281714 7C 19 00 40 */ cmplw r25, r0 -/* 802847B8 00281718 40 82 FF 14 */ bne lbl_802846CC -/* 802847BC 0028171C 2C 05 00 00 */ cmpwi r5, 0 -/* 802847C0 00281720 38 60 00 00 */ li r3, 0 -/* 802847C4 00281724 40 81 00 40 */ ble lbl_80284804 -/* 802847C8 00281728 2C 05 00 08 */ cmpwi r5, 8 -/* 802847CC 0028172C 38 85 FF F8 */ addi r4, r5, -8 -/* 802847D0 00281730 40 81 00 20 */ ble lbl_802847F0 -/* 802847D4 00281734 38 04 00 07 */ addi r0, r4, 7 -/* 802847D8 00281738 54 00 E8 FE */ srwi r0, r0, 3 -/* 802847DC 0028173C 7C 09 03 A6 */ mtctr r0 -/* 802847E0 00281740 2C 04 00 00 */ cmpwi r4, 0 -/* 802847E4 00281744 40 81 00 0C */ ble lbl_802847F0 -lbl_802847E8: -/* 802847E8 00281748 38 63 00 08 */ addi r3, r3, 8 -/* 802847EC 0028174C 42 00 FF FC */ bdnz lbl_802847E8 -lbl_802847F0: -/* 802847F0 00281750 7C 03 28 50 */ subf r0, r3, r5 -/* 802847F4 00281754 7C 09 03 A6 */ mtctr r0 -/* 802847F8 00281758 7C 03 28 00 */ cmpw r3, r5 -/* 802847FC 0028175C 40 80 00 08 */ bge lbl_80284804 -lbl_80284800: -/* 80284800 00281760 42 00 00 00 */ bdnz lbl_80284800 -lbl_80284804: -/* 80284804 00281764 38 00 00 00 */ li r0, 0 -/* 80284808 00281768 90 1E 09 3C */ stw r0, 0x93c(r30) -lbl_8028480C: -/* 8028480C 0028176C 80 1E 09 80 */ lwz r0, 0x980(r30) -/* 80284810 00281770 3B 20 00 00 */ li r25, 0 -/* 80284814 00281774 2C 00 00 00 */ cmpwi r0, 0 -/* 80284818 00281778 41 82 01 14 */ beq lbl_8028492C -/* 8028481C 0028177C 3B 9E 09 84 */ addi r28, r30, 0x984 -/* 80284820 00281780 7F 98 E3 78 */ mr r24, r28 -/* 80284824 00281784 48 00 00 A4 */ b lbl_802848C8 -lbl_80284828: -/* 80284828 00281788 A0 18 00 00 */ lhz r0, 0(r24) -/* 8028482C 0028178C 7F E3 FB 78 */ mr r3, r31 -/* 80284830 00281790 38 81 00 1C */ addi r4, r1, 0x1c -/* 80284834 00281794 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80284838 00281798 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8028483C 0028179C 4B DC 7D 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80284840 002817A0 7C 64 1B 78 */ mr r4, r3 -/* 80284844 002817A4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80284848 002817A8 4B E2 42 B9 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 8028484C 002817AC 80 A3 00 04 */ lwz r5, 4(r3) -/* 80284850 002817B0 28 05 00 00 */ cmplwi r5, 0 -/* 80284854 002817B4 41 82 00 70 */ beq lbl_802848C4 -/* 80284858 002817B8 80 7E 08 38 */ lwz r3, 0x838(r30) -/* 8028485C 002817BC 7F A7 EB 78 */ mr r7, r29 -/* 80284860 002817C0 A0 01 00 28 */ lhz r0, 0x28(r1) -/* 80284864 002817C4 38 C0 00 00 */ li r6, 0 -/* 80284868 002817C8 54 63 18 38 */ slwi r3, r3, 3 -/* 8028486C 002817CC 7C 9D 1A 14 */ add r4, r29, r3 -/* 80284870 002817D0 48 00 00 1C */ b lbl_8028488C -lbl_80284874: -/* 80284874 002817D4 A0 67 00 04 */ lhz r3, 4(r7) -/* 80284878 002817D8 7C 03 00 40 */ cmplw r3, r0 -/* 8028487C 002817DC 40 82 00 0C */ bne lbl_80284888 -/* 80284880 002817E0 38 C0 00 01 */ li r6, 1 -/* 80284884 002817E4 48 00 00 10 */ b lbl_80284894 -lbl_80284888: -/* 80284888 002817E8 38 E7 00 08 */ addi r7, r7, 8 -lbl_8028488C: -/* 8028488C 002817EC 7C 07 20 40 */ cmplw r7, r4 -/* 80284890 002817F0 40 82 FF E4 */ bne lbl_80284874 -lbl_80284894: -/* 80284894 002817F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80284898 002817F8 40 82 00 2C */ bne lbl_802848C4 -/* 8028489C 002817FC 28 04 00 00 */ cmplwi r4, 0 -/* 802848A0 00281800 80 05 01 00 */ lwz r0, 0x100(r5) -/* 802848A4 00281804 41 82 00 10 */ beq lbl_802848B4 -/* 802848A8 00281808 90 04 00 00 */ stw r0, 0(r4) -/* 802848AC 0028180C A0 01 00 28 */ lhz r0, 0x28(r1) -/* 802848B0 00281810 B0 04 00 04 */ sth r0, 4(r4) -lbl_802848B4: -/* 802848B4 00281814 80 7E 08 38 */ lwz r3, 0x838(r30) -/* 802848B8 00281818 3B 20 00 01 */ li r25, 1 -/* 802848BC 0028181C 38 03 00 01 */ addi r0, r3, 1 -/* 802848C0 00281820 90 1E 08 38 */ stw r0, 0x838(r30) -lbl_802848C4: -/* 802848C4 00281824 3B 18 00 02 */ addi r24, r24, 2 -lbl_802848C8: -/* 802848C8 00281828 80 BE 09 80 */ lwz r5, 0x980(r30) -/* 802848CC 0028182C 54 A0 08 3C */ slwi r0, r5, 1 -/* 802848D0 00281830 7C 1C 02 14 */ add r0, r28, r0 -/* 802848D4 00281834 7C 18 00 40 */ cmplw r24, r0 -/* 802848D8 00281838 40 82 FF 50 */ bne lbl_80284828 -/* 802848DC 0028183C 2C 05 00 00 */ cmpwi r5, 0 -/* 802848E0 00281840 38 60 00 00 */ li r3, 0 -/* 802848E4 00281844 40 81 00 40 */ ble lbl_80284924 -/* 802848E8 00281848 2C 05 00 08 */ cmpwi r5, 8 -/* 802848EC 0028184C 38 85 FF F8 */ addi r4, r5, -8 -/* 802848F0 00281850 40 81 00 20 */ ble lbl_80284910 -/* 802848F4 00281854 38 04 00 07 */ addi r0, r4, 7 -/* 802848F8 00281858 54 00 E8 FE */ srwi r0, r0, 3 -/* 802848FC 0028185C 7C 09 03 A6 */ mtctr r0 -/* 80284900 00281860 2C 04 00 00 */ cmpwi r4, 0 -/* 80284904 00281864 40 81 00 0C */ ble lbl_80284910 -lbl_80284908: -/* 80284908 00281868 38 63 00 08 */ addi r3, r3, 8 -/* 8028490C 0028186C 42 00 FF FC */ bdnz lbl_80284908 -lbl_80284910: -/* 80284910 00281870 7C 03 28 50 */ subf r0, r3, r5 -/* 80284914 00281874 7C 09 03 A6 */ mtctr r0 -/* 80284918 00281878 7C 03 28 00 */ cmpw r3, r5 -/* 8028491C 0028187C 40 80 00 08 */ bge lbl_80284924 -lbl_80284920: -/* 80284920 00281880 42 00 00 00 */ bdnz lbl_80284920 -lbl_80284924: -/* 80284924 00281884 38 00 00 00 */ li r0, 0 -/* 80284928 00281888 90 1E 09 80 */ stw r0, 0x980(r30) -lbl_8028492C: -/* 8028492C 0028188C 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80284930 00281890 40 82 00 14 */ bne lbl_80284944 -/* 80284934 00281894 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80284938 00281898 40 82 00 0C */ bne lbl_80284944 -/* 8028493C 0028189C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80284940 002818A0 41 82 01 54 */ beq lbl_80284A94 -lbl_80284944: -/* 80284944 002818A4 88 81 00 10 */ lbz r4, 0x10(r1) -/* 80284948 002818A8 7F A3 EB 78 */ mr r3, r29 -/* 8028494C 002818AC 38 A1 00 08 */ addi r5, r1, 8 -/* 80284950 002818B0 98 81 00 08 */ stb r4, 8(r1) -/* 80284954 002818B4 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 80284958 002818B8 98 81 00 0C */ stb r4, 0xc(r1) -/* 8028495C 002818BC 54 00 18 38 */ slwi r0, r0, 3 -/* 80284960 002818C0 7C 9D 02 14 */ add r4, r29, r0 -/* 80284964 002818C4 4B D8 79 7D */ bl sub_8000c2e0 -/* 80284968 002818C8 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 8028496C 002818CC 40 82 00 0C */ bne lbl_80284978 -/* 80284970 002818D0 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80284974 002818D4 41 82 00 30 */ beq lbl_802849A4 -lbl_80284978: -/* 80284978 002818D8 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 8028497C 002818DC 2C 00 00 00 */ cmpwi r0, 0 -/* 80284980 002818E0 40 82 00 24 */ bne lbl_802849A4 -/* 80284984 002818E4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 80284988 002818E8 38 00 03 E8 */ li r0, 0x3e8 -/* 8028498C 002818EC 7F C3 F3 78 */ mr r3, r30 -/* 80284990 002818F0 7F E4 FB 78 */ mr r4, r31 -/* 80284994 002818F4 B0 BE 08 30 */ sth r5, 0x830(r30) -/* 80284998 002818F8 90 1E 08 34 */ stw r0, 0x834(r30) -/* 8028499C 002818FC 48 00 03 09 */ bl ResetPlayerHintState__7CPlayerFv -/* 802849A0 00281900 48 00 00 F4 */ b lbl_80284A94 -lbl_802849A4: -/* 802849A4 00281904 7F BA EB 78 */ mr r26, r29 -/* 802849A8 00281908 3B 00 00 00 */ li r24, 0 -/* 802849AC 0028190C 3B 20 00 00 */ li r25, 0 -/* 802849B0 00281910 48 00 00 50 */ b lbl_80284A00 -lbl_802849B4: -/* 802849B4 00281914 A0 1A 00 04 */ lhz r0, 4(r26) -/* 802849B8 00281918 7F E3 FB 78 */ mr r3, r31 -/* 802849BC 0028191C 38 81 00 18 */ addi r4, r1, 0x18 -/* 802849C0 00281920 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802849C4 00281924 4B DC 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802849C8 00281928 7C 64 1B 78 */ mr r4, r3 -/* 802849CC 0028192C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802849D0 00281930 4B E2 41 31 */ bl "__ct__31TCastToPtr<17CScriptPlayerHint>FP7CEntity" -/* 802849D4 00281934 80 63 00 04 */ lwz r3, 4(r3) -/* 802849D8 00281938 28 03 00 00 */ cmplwi r3, 0 -/* 802849DC 0028193C 7C 78 1B 78 */ mr r24, r3 -/* 802849E0 00281940 41 82 00 1C */ beq lbl_802849FC -/* 802849E4 00281944 80 63 00 04 */ lwz r3, 4(r3) -/* 802849E8 00281948 80 1F 08 CC */ lwz r0, 0x8cc(r31) -/* 802849EC 0028194C 7C 03 00 00 */ cmpw r3, r0 -/* 802849F0 00281950 40 82 00 0C */ bne lbl_802849FC -/* 802849F4 00281954 3B 20 00 01 */ li r25, 1 -/* 802849F8 00281958 48 00 00 1C */ b lbl_80284A14 -lbl_802849FC: -/* 802849FC 0028195C 3B 5A 00 08 */ addi r26, r26, 8 -lbl_80284A00: -/* 80284A00 00281960 80 1E 08 38 */ lwz r0, 0x838(r30) -/* 80284A04 00281964 54 00 18 38 */ slwi r0, r0, 3 -/* 80284A08 00281968 7C 1D 02 14 */ add r0, r29, r0 -/* 80284A0C 0028196C 7C 1A 00 40 */ cmplw r26, r0 -/* 80284A10 00281970 40 82 FF A4 */ bne lbl_802849B4 -lbl_80284A14: -/* 80284A14 00281974 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80284A18 00281978 40 82 00 20 */ bne lbl_80284A38 -/* 80284A1C 0028197C A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 80284A20 00281980 38 00 03 E8 */ li r0, 0x3e8 -/* 80284A24 00281984 7F C3 F3 78 */ mr r3, r30 -/* 80284A28 00281988 7F E4 FB 78 */ mr r4, r31 -/* 80284A2C 0028198C B0 BE 08 30 */ sth r5, 0x830(r30) -/* 80284A30 00281990 90 1E 08 34 */ stw r0, 0x834(r30) -/* 80284A34 00281994 48 00 02 71 */ bl ResetPlayerHintState__7CPlayerFv -lbl_80284A38: -/* 80284A38 00281998 28 18 00 00 */ cmplwi r24, 0 -/* 80284A3C 0028199C 41 82 00 58 */ beq lbl_80284A94 -/* 80284A40 002819A0 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80284A44 002819A4 41 82 00 50 */ beq lbl_80284A94 -/* 80284A48 002819A8 A0 1E 08 30 */ lhz r0, 0x830(r30) -/* 80284A4C 002819AC A0 78 00 08 */ lhz r3, 8(r24) -/* 80284A50 002819B0 7C 00 18 40 */ cmplw r0, r3 -/* 80284A54 002819B4 41 82 00 40 */ beq lbl_80284A94 -/* 80284A58 002819B8 B0 7E 08 30 */ sth r3, 0x830(r30) -/* 80284A5C 002819BC 7F C3 F3 78 */ mr r3, r30 -/* 80284A60 002819C0 7F 04 C3 78 */ mr r4, r24 -/* 80284A64 002819C4 7F E5 FB 78 */ mr r5, r31 -/* 80284A68 002819C8 80 18 01 00 */ lwz r0, 0x100(r24) -/* 80284A6C 002819CC 90 1E 08 34 */ stw r0, 0x834(r30) -/* 80284A70 002819D0 48 00 00 39 */ bl SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager -/* 80284A74 002819D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284A78 002819D8 41 82 00 1C */ beq lbl_80284A94 -/* 80284A7C 002819DC A0 1E 08 30 */ lhz r0, 0x830(r30) -/* 80284A80 002819E0 7F C3 F3 78 */ mr r3, r30 -/* 80284A84 002819E4 7F E5 FB 78 */ mr r5, r31 -/* 80284A88 002819E8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80284A8C 002819EC B0 01 00 14 */ sth r0, 0x14(r1) -/* 80284A90 002819F0 4B FF F9 A1 */ bl DeactivatePlayerHint__7CPlayerF9TUniqueIdR13CStateManager -lbl_80284A94: -/* 80284A94 002819F4 BB 01 00 50 */ lmw r24, 0x50(r1) -/* 80284A98 002819F8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80284A9C 002819FC 7C 08 03 A6 */ mtlr r0 -/* 80284AA0 00281A00 38 21 00 70 */ addi r1, r1, 0x70 -/* 80284AA4 00281A04 4E 80 00 20 */ blr - -.global SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager -SetAreaPlayerHint__7CPlayerFRC17CScriptPlayerHintRC13CStateManager: -/* 80284AA8 00281A08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284AAC 00281A0C 7C 08 02 A6 */ mflr r0 -/* 80284AB0 00281A10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284AB4 00281A14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284AB8 00281A18 7C BF 2B 78 */ mr r31, r5 -/* 80284ABC 00281A1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80284AC0 00281A20 7C 9E 23 78 */ mr r30, r4 -/* 80284AC4 00281A24 80 84 01 04 */ lwz r4, 0x104(r4) -/* 80284AC8 00281A28 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284ACC 00281A2C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80284AD0 00281A30 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284AD4 00281A34 80 9E 01 04 */ lwz r4, 0x104(r30) -/* 80284AD8 00281A38 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284ADC 00281A3C 54 84 06 72 */ rlwinm r4, r4, 0, 0x19, 0x19 -/* 80284AE0 00281A40 7C 84 00 34 */ cntlzw r4, r4 -/* 80284AE4 00281A44 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b -/* 80284AE8 00281A48 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284AEC 00281A4C 80 9E 01 04 */ lwz r4, 0x104(r30) -/* 80284AF0 00281A50 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284AF4 00281A54 54 84 06 B4 */ rlwinm r4, r4, 0, 0x1a, 0x1a -/* 80284AF8 00281A58 7C 84 00 34 */ cntlzw r4, r4 -/* 80284AFC 00281A5C 50 80 F7 38 */ rlwimi r0, r4, 0x1e, 0x1c, 0x1c -/* 80284B00 00281A60 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284B04 00281A64 80 9E 01 04 */ lwz r4, 0x104(r30) -/* 80284B08 00281A68 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284B0C 00281A6C 50 80 07 BC */ rlwimi r0, r4, 0, 0x1e, 0x1e -/* 80284B10 00281A70 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284B14 00281A74 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284B18 00281A78 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80284B1C 00281A7C 41 82 00 1C */ beq lbl_80284B38 -/* 80284B20 00281A80 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 80284B24 00281A84 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 80284B28 00281A88 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80284B2C 00281A8C D0 03 09 D8 */ stfs f0, 0x9d8(r3) -/* 80284B30 00281A90 D0 23 09 DC */ stfs f1, 0x9dc(r3) -/* 80284B34 00281A94 D0 43 09 E0 */ stfs f2, 0x9e0(r3) -lbl_80284B38: -/* 80284B38 00281A98 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B3C 00281A9C 38 00 00 00 */ li r0, 0 -/* 80284B40 00281AA0 88 83 09 C6 */ lbz r4, 0x9c6(r3) -/* 80284B44 00281AA4 50 A4 2E 30 */ rlwimi r4, r5, 5, 0x18, 0x18 -/* 80284B48 00281AA8 98 83 09 C6 */ stb r4, 0x9c6(r3) -/* 80284B4C 00281AAC 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B50 00281AB0 88 83 09 C6 */ lbz r4, 0x9c6(r3) -/* 80284B54 00281AB4 50 A4 16 B4 */ rlwimi r4, r5, 2, 0x1a, 0x1a -/* 80284B58 00281AB8 98 83 09 C6 */ stb r4, 0x9c6(r3) -/* 80284B5C 00281ABC 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B60 00281AC0 88 83 09 C4 */ lbz r4, 0x9c4(r3) -/* 80284B64 00281AC4 50 A4 F7 7A */ rlwimi r4, r5, 0x1e, 0x1d, 0x1d -/* 80284B68 00281AC8 98 83 09 C4 */ stb r4, 0x9c4(r3) -/* 80284B6C 00281ACC 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B70 00281AD0 88 83 09 C6 */ lbz r4, 0x9c6(r3) -/* 80284B74 00281AD4 50 A4 DF 7A */ rlwimi r4, r5, 0x1b, 0x1d, 0x1d -/* 80284B78 00281AD8 98 83 09 C6 */ stb r4, 0x9c6(r3) -/* 80284B7C 00281ADC 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B80 00281AE0 88 83 09 C7 */ lbz r4, 0x9c7(r3) -/* 80284B84 00281AE4 50 A4 C6 72 */ rlwimi r4, r5, 0x18, 0x19, 0x19 -/* 80284B88 00281AE8 98 83 09 C7 */ stb r4, 0x9c7(r3) -/* 80284B8C 00281AEC 80 BE 01 04 */ lwz r5, 0x104(r30) -/* 80284B90 00281AF0 80 83 07 68 */ lwz r4, 0x768(r3) -/* 80284B94 00281AF4 54 A3 05 EE */ rlwinm r3, r5, 0, 0x17, 0x17 -/* 80284B98 00281AF8 7C 65 00 34 */ cntlzw r5, r3 -/* 80284B9C 00281AFC 88 64 1D E4 */ lbz r3, 0x1de4(r4) -/* 80284BA0 00281B00 50 A3 0E 72 */ rlwimi r3, r5, 1, 0x19, 0x19 -/* 80284BA4 00281B04 98 64 1D E4 */ stb r3, 0x1de4(r4) -/* 80284BA8 00281B08 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 80284BAC 00281B0C 54 63 05 AD */ rlwinm. r3, r3, 0, 0x16, 0x16 -/* 80284BB0 00281B10 41 82 00 30 */ beq lbl_80284BE0 -/* 80284BB4 00281B14 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284BB8 00281B18 38 80 00 11 */ li r4, 0x11 -/* 80284BBC 00281B1C 80 63 00 00 */ lwz r3, 0(r3) -/* 80284BC0 00281B20 4B E0 CF 01 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80284BC4 00281B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284BC8 00281B28 41 82 00 14 */ beq lbl_80284BDC -/* 80284BCC 00281B2C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284BD0 00281B30 38 80 00 00 */ li r4, 0 -/* 80284BD4 00281B34 80 63 00 00 */ lwz r3, 0(r3) -/* 80284BD8 00281B38 4B E0 CD 7D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -lbl_80284BDC: -/* 80284BDC 00281B3C 38 00 00 01 */ li r0, 1 -lbl_80284BE0: -/* 80284BE0 00281B40 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 80284BE4 00281B44 54 63 05 6B */ rlwinm. r3, r3, 0, 0x15, 0x15 -/* 80284BE8 00281B48 41 82 00 30 */ beq lbl_80284C18 -/* 80284BEC 00281B4C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284BF0 00281B50 38 80 00 05 */ li r4, 5 -/* 80284BF4 00281B54 80 63 00 00 */ lwz r3, 0(r3) -/* 80284BF8 00281B58 4B E0 CE C9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80284BFC 00281B5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284C00 00281B60 41 82 00 14 */ beq lbl_80284C14 -/* 80284C04 00281B64 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284C08 00281B68 38 80 00 02 */ li r4, 2 -/* 80284C0C 00281B6C 80 63 00 00 */ lwz r3, 0(r3) -/* 80284C10 00281B70 4B E0 CD 45 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -lbl_80284C14: -/* 80284C14 00281B74 38 00 00 01 */ li r0, 1 -lbl_80284C18: -/* 80284C18 00281B78 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 80284C1C 00281B7C 54 63 05 29 */ rlwinm. r3, r3, 0, 0x14, 0x14 -/* 80284C20 00281B80 41 82 00 30 */ beq lbl_80284C50 -/* 80284C24 00281B84 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284C28 00281B88 38 80 00 09 */ li r4, 9 -/* 80284C2C 00281B8C 80 63 00 00 */ lwz r3, 0(r3) -/* 80284C30 00281B90 4B E0 CE 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80284C34 00281B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284C38 00281B98 41 82 00 14 */ beq lbl_80284C4C -/* 80284C3C 00281B9C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284C40 00281BA0 38 80 00 03 */ li r4, 3 -/* 80284C44 00281BA4 80 63 00 00 */ lwz r3, 0(r3) -/* 80284C48 00281BA8 4B E0 CD 0D */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -lbl_80284C4C: -/* 80284C4C 00281BAC 38 00 00 01 */ li r0, 1 -lbl_80284C50: -/* 80284C50 00281BB0 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 80284C54 00281BB4 54 63 04 E7 */ rlwinm. r3, r3, 0, 0x13, 0x13 -/* 80284C58 00281BB8 41 82 00 30 */ beq lbl_80284C88 -/* 80284C5C 00281BBC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284C60 00281BC0 38 80 00 0D */ li r4, 0xd -/* 80284C64 00281BC4 80 63 00 00 */ lwz r3, 0(r3) -/* 80284C68 00281BC8 4B E0 CE 59 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80284C6C 00281BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284C70 00281BD0 41 82 00 14 */ beq lbl_80284C84 -/* 80284C74 00281BD4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80284C78 00281BD8 38 80 00 01 */ li r4, 1 -/* 80284C7C 00281BDC 80 63 00 00 */ lwz r3, 0(r3) -/* 80284C80 00281BE0 4B E0 CC D5 */ bl StartTransitionToVisor__12CPlayerStateFQ212CPlayerState12EPlayerVisor -lbl_80284C84: -/* 80284C84 00281BE4 38 00 00 01 */ li r0, 1 -lbl_80284C88: -/* 80284C88 00281BE8 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80284C8C 00281BEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284C90 00281BF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284C94 00281BF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80284C98 00281BF8 7C 08 03 A6 */ mtlr r0 -/* 80284C9C 00281BFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284CA0 00281C00 4E 80 00 20 */ blr - -.global ResetPlayerHintState__7CPlayerFv -ResetPlayerHintState__7CPlayerFv: -/* 80284CA4 00281C04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284CA8 00281C08 7C 08 02 A6 */ mflr r0 -/* 80284CAC 00281C0C 38 A0 00 01 */ li r5, 1 -/* 80284CB0 00281C10 38 80 00 00 */ li r4, 0 -/* 80284CB4 00281C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284CB8 00281C18 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284CBC 00281C1C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80284CC0 00281C20 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284CC4 00281C24 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284CC8 00281C28 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80284CCC 00281C2C 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284CD0 00281C30 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284CD4 00281C34 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80284CD8 00281C38 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284CDC 00281C3C 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284CE0 00281C40 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80284CE4 00281C44 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284CE8 00281C48 88 03 09 C6 */ lbz r0, 0x9c6(r3) -/* 80284CEC 00281C4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80284CF0 00281C50 98 03 09 C6 */ stb r0, 0x9c6(r3) -/* 80284CF4 00281C54 88 03 09 C6 */ lbz r0, 0x9c6(r3) -/* 80284CF8 00281C58 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80284CFC 00281C5C 98 03 09 C6 */ stb r0, 0x9c6(r3) -/* 80284D00 00281C60 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80284D04 00281C64 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80284D08 00281C68 98 03 09 C4 */ stb r0, 0x9c4(r3) -/* 80284D0C 00281C6C 88 03 09 C6 */ lbz r0, 0x9c6(r3) -/* 80284D10 00281C70 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80284D14 00281C74 98 03 09 C6 */ stb r0, 0x9c6(r3) -/* 80284D18 00281C78 88 03 09 C7 */ lbz r0, 0x9c7(r3) -/* 80284D1C 00281C7C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80284D20 00281C80 98 03 09 C7 */ stb r0, 0x9c7(r3) -/* 80284D24 00281C84 80 83 07 68 */ lwz r4, 0x768(r3) -/* 80284D28 00281C88 88 04 1D E4 */ lbz r0, 0x1de4(r4) -/* 80284D2C 00281C8C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80284D30 00281C90 98 04 1D E4 */ stb r0, 0x1de4(r4) -/* 80284D34 00281C94 4B D8 CD 55 */ bl ResetControlDirectionInterpolation__7CPlayerFv -/* 80284D38 00281C98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284D3C 00281C9C 7C 08 03 A6 */ mtlr r0 -/* 80284D40 00281CA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284D44 00281CA4 4E 80 00 20 */ blr - -.global GetBallPosition__7CPlayerCFv -GetBallPosition__7CPlayerCFv: -/* 80284D48 00281CA8 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) -/* 80284D4C 00281CAC C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80284D50 00281CB0 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 80284D54 00281CB4 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80284D58 00281CB8 EC 00 18 2A */ fadds f0, f0, f3 -/* 80284D5C 00281CBC C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80284D60 00281CC0 C0 25 02 7C */ lfs f1, 0x27c(r5) -/* 80284D64 00281CC4 EC 64 18 2A */ fadds f3, f4, f3 -/* 80284D68 00281CC8 D0 03 00 00 */ stfs f0, 0(r3) -/* 80284D6C 00281CCC EC 02 08 2A */ fadds f0, f2, f1 -/* 80284D70 00281CD0 D0 63 00 04 */ stfs f3, 4(r3) -/* 80284D74 00281CD4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80284D78 00281CD8 4E 80 00 20 */ blr - -.global GetEyePosition__7CPlayerCFv -GetEyePosition__7CPlayerCFv: -/* 80284D7C 00281CDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284D80 00281CE0 7C 08 02 A6 */ mflr r0 -/* 80284D84 00281CE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284D88 00281CE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284D8C 00281CEC 7C 9F 23 78 */ mr r31, r4 -/* 80284D90 00281CF0 93 C1 00 08 */ stw r30, 8(r1) -/* 80284D94 00281CF4 7C 7E 1B 78 */ mr r30, r3 -/* 80284D98 00281CF8 7F E3 FB 78 */ mr r3, r31 -/* 80284D9C 00281CFC 48 00 00 45 */ bl GetEyeHeight__7CPlayerCFv -/* 80284DA0 00281D00 C0 62 BD A0 */ lfs f3, lbl_805ADAC0@sda21(r2) -/* 80284DA4 00281D04 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80284DA8 00281D08 C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 80284DAC 00281D0C EC 00 18 2A */ fadds f0, f0, f3 -/* 80284DB0 00281D10 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80284DB4 00281D14 EC 64 18 2A */ fadds f3, f4, f3 -/* 80284DB8 00281D18 EC 22 08 2A */ fadds f1, f2, f1 -/* 80284DBC 00281D1C D0 1E 00 00 */ stfs f0, 0(r30) -/* 80284DC0 00281D20 D0 7E 00 04 */ stfs f3, 4(r30) -/* 80284DC4 00281D24 D0 3E 00 08 */ stfs f1, 8(r30) -/* 80284DC8 00281D28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284DCC 00281D2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284DD0 00281D30 83 C1 00 08 */ lwz r30, 8(r1) -/* 80284DD4 00281D34 7C 08 03 A6 */ mtlr r0 -/* 80284DD8 00281D38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284DDC 00281D3C 4E 80 00 20 */ blr - -.global GetEyeHeight__7CPlayerCFv -GetEyeHeight__7CPlayerCFv: -/* 80284DE0 00281D40 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80284DE4 00281D44 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 80284DE8 00281D48 C0 63 02 EC */ lfs f3, 0x2ec(r3) -/* 80284DEC 00281D4C C0 04 01 24 */ lfs f0, 0x124(r4) -/* 80284DF0 00281D50 C0 83 02 DC */ lfs f4, 0x2dc(r3) -/* 80284DF4 00281D54 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80284DF8 00281D58 C0 23 09 C8 */ lfs f1, 0x9c8(r3) -/* 80284DFC 00281D5C C0 43 02 D8 */ lfs f2, 0x2d8(r3) -/* 80284E00 00281D60 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80284E04 00281D64 EC 21 00 2A */ fadds f1, f1, f0 -/* 80284E08 00281D68 D0 41 00 08 */ stfs f2, 8(r1) -/* 80284E0C 00281D6C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80284E10 00281D70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80284E14 00281D74 4E 80 00 20 */ blr - -.global GetUnbiasedEyeHeight__7CPlayerCFv -GetUnbiasedEyeHeight__7CPlayerCFv: -/* 80284E18 00281D78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80284E1C 00281D7C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 80284E20 00281D80 C0 63 02 EC */ lfs f3, 0x2ec(r3) -/* 80284E24 00281D84 C0 04 01 24 */ lfs f0, 0x124(r4) -/* 80284E28 00281D88 C0 83 02 DC */ lfs f4, 0x2dc(r3) -/* 80284E2C 00281D8C C0 43 02 D8 */ lfs f2, 0x2d8(r3) -/* 80284E30 00281D90 EC 23 00 28 */ fsubs f1, f3, f0 -/* 80284E34 00281D94 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80284E38 00281D98 D0 41 00 08 */ stfs f2, 8(r1) -/* 80284E3C 00281D9C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80284E40 00281DA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80284E44 00281DA4 4E 80 00 20 */ blr - -.global GetStepUpHeight__7CPlayerCFv -GetStepUpHeight__7CPlayerCFv: -/* 80284E48 00281DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284E4C 00281DAC 7C 08 02 A6 */ mflr r0 -/* 80284E50 00281DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284E54 00281DB4 80 03 02 58 */ lwz r0, 0x258(r3) -/* 80284E58 00281DB8 2C 00 00 01 */ cmpwi r0, 1 -/* 80284E5C 00281DBC 41 82 00 0C */ beq lbl_80284E68 -/* 80284E60 00281DC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80284E64 00281DC4 40 82 00 0C */ bne lbl_80284E70 -lbl_80284E68: -/* 80284E68 00281DC8 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) -/* 80284E6C 00281DCC 48 00 00 08 */ b lbl_80284E74 -lbl_80284E70: -/* 80284E70 00281DD0 4B E9 57 AD */ bl GetStepUpHeight__13CPhysicsActorCFv -lbl_80284E74: -/* 80284E74 00281DD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284E78 00281DD8 7C 08 03 A6 */ mtlr r0 -/* 80284E7C 00281DDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284E80 00281DE0 4E 80 00 20 */ blr - -.global GetStepDownHeight__7CPlayerCFv -GetStepDownHeight__7CPlayerCFv: -/* 80284E84 00281DE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284E88 00281DE8 7C 08 02 A6 */ mflr r0 -/* 80284E8C 00281DEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284E90 00281DF0 80 03 02 58 */ lwz r0, 0x258(r3) -/* 80284E94 00281DF4 2C 00 00 01 */ cmpwi r0, 1 -/* 80284E98 00281DF8 40 82 00 0C */ bne lbl_80284EA4 -/* 80284E9C 00281DFC C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) -/* 80284EA0 00281E00 48 00 00 18 */ b lbl_80284EB8 -lbl_80284EA4: -/* 80284EA4 00281E04 2C 00 00 02 */ cmpwi r0, 2 -/* 80284EA8 00281E08 40 82 00 0C */ bne lbl_80284EB4 -/* 80284EAC 00281E0C C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) -/* 80284EB0 00281E10 48 00 00 08 */ b lbl_80284EB8 -lbl_80284EB4: -/* 80284EB4 00281E14 4B E9 57 71 */ bl GetStepDownHeight__13CPhysicsActorCFv -lbl_80284EB8: -/* 80284EB8 00281E18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284EBC 00281E1C 7C 08 03 A6 */ mtlr r0 -/* 80284EC0 00281E20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284EC4 00281E24 4E 80 00 20 */ blr - -.global UpdateSubmerged__7CPlayerFRC13CStateManager -UpdateSubmerged__7CPlayerFRC13CStateManager: -/* 80284EC8 00281E28 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80284ECC 00281E2C 7C 08 02 A6 */ mflr r0 -/* 80284ED0 00281E30 90 01 00 94 */ stw r0, 0x94(r1) -/* 80284ED4 00281E34 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80284ED8 00281E38 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80284EDC 00281E3C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80284EE0 00281E40 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80284EE4 00281E44 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80284EE8 00281E48 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80284EEC 00281E4C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80284EF0 00281E50 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80284EF4 00281E54 38 00 00 00 */ li r0, 0 -/* 80284EF8 00281E58 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80284EFC 00281E5C 98 03 08 2C */ stb r0, 0x82c(r3) -/* 80284F00 00281E60 7C 7E 1B 78 */ mr r30, r3 -/* 80284F04 00281E64 D0 03 08 28 */ stfs f0, 0x828(r3) -/* 80284F08 00281E68 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80284F0C 00281E6C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f -/* 80284F10 00281E70 41 82 00 CC */ beq lbl_80284FDC -/* 80284F14 00281E74 A0 1E 00 C4 */ lhz r0, 0xc4(r30) -/* 80284F18 00281E78 7C 83 23 78 */ mr r3, r4 -/* 80284F1C 00281E7C 38 81 00 0C */ addi r4, r1, 0xc -/* 80284F20 00281E80 B0 01 00 08 */ sth r0, 8(r1) -/* 80284F24 00281E84 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80284F28 00281E88 4B DC 76 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80284F2C 00281E8C 7C 64 1B 78 */ mr r4, r3 -/* 80284F30 00281E90 38 61 00 10 */ addi r3, r1, 0x10 -/* 80284F34 00281E94 4B E2 19 2D */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 80284F38 00281E98 83 E3 00 04 */ lwz r31, 4(r3) -/* 80284F3C 00281E9C 28 1F 00 00 */ cmplwi r31, 0 -/* 80284F40 00281EA0 41 82 00 9C */ beq lbl_80284FDC -/* 80284F44 00281EA4 C3 BE 00 60 */ lfs f29, 0x60(r30) -/* 80284F48 00281EA8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80284F4C 00281EAC C3 DE 00 50 */ lfs f30, 0x50(r30) -/* 80284F50 00281EB0 C3 FE 00 40 */ lfs f31, 0x40(r30) -/* 80284F54 00281EB4 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80284F58 00281EB8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80284F5C 00281EBC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80284F60 00281EC0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80284F64 00281EC4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80284F68 00281EC8 48 08 F9 91 */ bl Normalize__9CVector3fFv -/* 80284F6C 00281ECC 7F E4 FB 78 */ mr r4, r31 -/* 80284F70 00281ED0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80284F74 00281ED4 4B DF 17 59 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80284F78 00281ED8 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80284F7C 00281EDC 38 00 00 01 */ li r0, 1 -/* 80284F80 00281EE0 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80284F84 00281EE4 EC 02 07 B2 */ fmuls f0, f2, f30 -/* 80284F88 00281EE8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80284F8C 00281EEC C0 81 00 48 */ lfs f4, 0x48(r1) -/* 80284F90 00281EF0 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80284F94 00281EF4 EC 03 07 FA */ fmadds f0, f3, f31, f0 -/* 80284F98 00281EF8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80284F9C 00281EFC EC 01 07 7A */ fmadds f0, f1, f29, f0 -/* 80284FA0 00281F00 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80284FA4 00281F04 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80284FA8 00281F08 EC 00 20 28 */ fsubs f0, f0, f4 -/* 80284FAC 00281F0C FC 00 00 50 */ fneg f0, f0 -/* 80284FB0 00281F10 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80284FB4 00281F14 80 7F 01 B4 */ lwz r3, 0x1b4(r31) -/* 80284FB8 00281F18 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80284FBC 00281F1C 2C 03 00 02 */ cmpwi r3, 2 -/* 80284FC0 00281F20 41 82 00 10 */ beq lbl_80284FD0 -/* 80284FC4 00281F24 2C 03 00 05 */ cmpwi r3, 5 -/* 80284FC8 00281F28 41 82 00 08 */ beq lbl_80284FD0 -/* 80284FCC 00281F2C 38 00 00 00 */ li r0, 0 -lbl_80284FD0: -/* 80284FD0 00281F30 98 1E 08 2C */ stb r0, 0x82c(r30) -/* 80284FD4 00281F34 7F C3 F3 78 */ mr r3, r30 -/* 80284FD8 00281F38 48 00 00 35 */ bl CheckSubmerged__7CPlayerCFv -lbl_80284FDC: -/* 80284FDC 00281F3C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80284FE0 00281F40 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80284FE4 00281F44 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80284FE8 00281F48 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80284FEC 00281F4C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80284FF0 00281F50 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80284FF4 00281F54 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80284FF8 00281F58 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80284FFC 00281F5C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80285000 00281F60 7C 08 03 A6 */ mtlr r0 -/* 80285004 00281F64 38 21 00 90 */ addi r1, r1, 0x90 -/* 80285008 00281F68 4E 80 00 20 */ blr - -.global CheckSubmerged__7CPlayerCFv -CheckSubmerged__7CPlayerCFv: -/* 8028500C 00281F6C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80285010 00281F70 7C 08 02 A6 */ mflr r0 -/* 80285014 00281F74 90 01 00 24 */ stw r0, 0x24(r1) -/* 80285018 00281F78 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8028501C 00281F7C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80285020 00281F80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285024 00281F84 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 80285028 00281F88 7C 7F 1B 78 */ mr r31, r3 -/* 8028502C 00281F8C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f -/* 80285030 00281F90 40 82 00 0C */ bne lbl_8028503C -/* 80285034 00281F94 38 60 00 00 */ li r3, 0 -/* 80285038 00281F98 48 00 00 48 */ b lbl_80285080 -lbl_8028503C: -/* 8028503C 00281F9C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 80285040 00281FA0 C0 22 BD 8C */ lfs f1, lbl_805ADAAC@sda21(r2) -/* 80285044 00281FA4 C0 04 02 7C */ lfs f0, 0x27c(r4) -/* 80285048 00281FA8 EF E1 00 32 */ fmuls f31, f1, f0 -/* 8028504C 00281FAC 4B FF FD 95 */ bl GetEyeHeight__7CPlayerCFv -/* 80285050 00281FB0 C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) -/* 80285054 00281FB4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80285058 00281FB8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8028505C 00281FBC 2C 00 00 01 */ cmpwi r0, 1 -/* 80285060 00281FC0 FC 20 00 90 */ fmr f1, f0 -/* 80285064 00281FC4 40 82 00 08 */ bne lbl_8028506C -/* 80285068 00281FC8 FC 20 F8 90 */ fmr f1, f31 -lbl_8028506C: -/* 8028506C 00281FCC C0 1F 08 28 */ lfs f0, 0x828(r31) -/* 80285070 00281FD0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80285074 00281FD4 4C 41 13 82 */ cror 2, 1, 2 -/* 80285078 00281FD8 7C 00 00 26 */ mfcr r0 -/* 8028507C 00281FDC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -lbl_80285080: -/* 80285080 00281FE0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80285084 00281FE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80285088 00281FE8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8028508C 00281FEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285090 00281FF0 7C 08 03 A6 */ mtlr r0 -/* 80285094 00281FF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80285098 00281FF8 4E 80 00 20 */ blr - -.global Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb -Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb: -/* 8028509C 00281FFC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802850A0 00282000 7C 08 02 A6 */ mflr r0 -/* 802850A4 00282004 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802850A8 00282008 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802850AC 0028200C 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 802850B0 00282010 7C DF 33 78 */ mr r31, r6 -/* 802850B4 00282014 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 802850B8 00282018 7C BE 2B 78 */ mr r30, r5 -/* 802850BC 0028201C 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 802850C0 00282020 7C 7D 1B 78 */ mr r29, r3 -/* 802850C4 00282024 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 802850C8 00282028 7C 9C 23 78 */ mr r28, r4 -/* 802850CC 0028202C C0 24 00 24 */ lfs f1, 0x24(r4) -/* 802850D0 00282030 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 802850D4 00282034 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 802850D8 00282038 C0 24 00 04 */ lfs f1, 4(r4) -/* 802850DC 0028203C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802850E0 00282040 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802850E4 00282044 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802850E8 00282048 4B E9 62 91 */ bl Stop__13CPhysicsActorFv -/* 802850EC 0028204C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802850F0 00282050 48 08 F6 09 */ bl CanBeNormalized__9CVector3fCFv -/* 802850F4 00282054 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802850F8 00282058 41 82 01 78 */ beq lbl_80285270 -/* 802850FC 0028205C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80285100 00282060 48 08 F7 F9 */ bl Normalize__9CVector3fFv -/* 80285104 00282064 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80285108 00282068 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 8028510C 0028206C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80285110 00282070 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 80285114 00282074 38 61 00 6C */ addi r3, r1, 0x6c -/* 80285118 00282078 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8028511C 0028207C 48 08 E9 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80285120 00282080 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80285124 00282084 38 81 00 6C */ addi r4, r1, 0x6c -/* 80285128 00282088 48 08 DA 19 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8028512C 0028208C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80285130 00282090 38 A0 00 01 */ li r5, 1 -/* 80285134 00282094 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80285138 00282098 7F A3 EB 78 */ mr r3, r29 -/* 8028513C 0028209C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80285140 002820A0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80285144 002820A4 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80285148 002820A8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8028514C 002820AC 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 80285150 002820B0 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 80285154 002820B4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80285158 002820B8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8028515C 002820BC C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 80285160 002820C0 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 80285164 002820C4 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80285168 002820C8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8028516C 002820CC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80285170 002820D0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80285174 002820D4 4B DC DD 19 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80285178 002820D8 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8028517C 002820DC 38 60 00 00 */ li r3, 0 -/* 80285180 002820E0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285184 002820E4 D0 3D 05 00 */ stfs f1, 0x500(r29) -/* 80285188 002820E8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8028518C 002820EC D0 3D 05 04 */ stfs f1, 0x504(r29) -/* 80285190 002820F0 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80285194 002820F4 D0 3D 05 08 */ stfs f1, 0x508(r29) -/* 80285198 002820F8 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8028519C 002820FC D0 3D 05 0C */ stfs f1, 0x50c(r29) -/* 802851A0 00282100 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802851A4 00282104 D0 3D 05 10 */ stfs f1, 0x510(r29) -/* 802851A8 00282108 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802851AC 0028210C D0 3D 05 14 */ stfs f1, 0x514(r29) -/* 802851B0 00282110 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802851B4 00282114 D0 3D 05 30 */ stfs f1, 0x530(r29) -/* 802851B8 00282118 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802851BC 0028211C D0 3D 05 34 */ stfs f1, 0x534(r29) -/* 802851C0 00282120 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802851C4 00282124 D0 3D 05 38 */ stfs f1, 0x538(r29) -/* 802851C8 00282128 C0 7C 00 2C */ lfs f3, 0x2c(r28) -/* 802851CC 0028212C C0 5C 00 1C */ lfs f2, 0x1c(r28) -/* 802851D0 00282130 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 802851D4 00282134 D0 3D 05 24 */ stfs f1, 0x524(r29) -/* 802851D8 00282138 D0 5D 05 28 */ stfs f2, 0x528(r29) -/* 802851DC 0028213C D0 7D 05 2C */ stfs f3, 0x52c(r29) -/* 802851E0 00282140 D0 1D 04 F8 */ stfs f0, 0x4f8(r29) -/* 802851E4 00282144 D0 1D 04 FC */ stfs f0, 0x4fc(r29) -/* 802851E8 00282148 D0 1D 05 3C */ stfs f0, 0x53c(r29) -/* 802851EC 0028214C 80 BD 04 A4 */ lwz r5, 0x4a4(r29) -/* 802851F0 00282150 2C 05 00 00 */ cmpwi r5, 0 -/* 802851F4 00282154 40 81 00 40 */ ble lbl_80285234 -/* 802851F8 00282158 2C 05 00 08 */ cmpwi r5, 8 -/* 802851FC 0028215C 38 85 FF F8 */ addi r4, r5, -8 -/* 80285200 00282160 40 81 00 20 */ ble lbl_80285220 -/* 80285204 00282164 38 04 00 07 */ addi r0, r4, 7 -/* 80285208 00282168 54 00 E8 FE */ srwi r0, r0, 3 -/* 8028520C 0028216C 7C 09 03 A6 */ mtctr r0 -/* 80285210 00282170 2C 04 00 00 */ cmpwi r4, 0 -/* 80285214 00282174 40 81 00 0C */ ble lbl_80285220 -lbl_80285218: -/* 80285218 00282178 38 63 00 08 */ addi r3, r3, 8 -/* 8028521C 0028217C 42 00 FF FC */ bdnz lbl_80285218 -lbl_80285220: -/* 80285220 00282180 7C 03 28 50 */ subf r0, r3, r5 -/* 80285224 00282184 7C 09 03 A6 */ mtctr r0 -/* 80285228 00282188 7C 03 28 00 */ cmpw r3, r5 -/* 8028522C 0028218C 40 80 00 08 */ bge lbl_80285234 -lbl_80285230: -/* 80285230 00282190 42 00 00 00 */ bdnz lbl_80285230 -lbl_80285234: -/* 80285234 00282194 38 00 00 00 */ li r0, 0 -/* 80285238 00282198 90 1D 04 A4 */ stw r0, 0x4a4(r29) -/* 8028523C 0028219C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80285240 002821A0 D0 1D 05 40 */ stfs f0, 0x540(r29) -/* 80285244 002821A4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80285248 002821A8 D0 1D 05 44 */ stfs f0, 0x544(r29) -/* 8028524C 002821AC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80285250 002821B0 D0 1D 05 48 */ stfs f0, 0x548(r29) -/* 80285254 002821B4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80285258 002821B8 D0 1D 05 4C */ stfs f0, 0x54c(r29) -/* 8028525C 002821BC C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80285260 002821C0 D0 1D 05 50 */ stfs f0, 0x550(r29) -/* 80285264 002821C4 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80285268 002821C8 D0 1D 05 54 */ stfs f0, 0x554(r29) -/* 8028526C 002821CC 48 00 00 28 */ b lbl_80285294 -lbl_80285270: -/* 80285270 002821D0 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 80285274 002821D4 7F A3 EB 78 */ mr r3, r29 -/* 80285278 002821D8 C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 8028527C 002821DC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80285280 002821E0 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80285284 002821E4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80285288 002821E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028528C 002821EC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80285290 002821F0 4B DC DB FD */ bl SetTranslation__6CActorFRC9CVector3f -lbl_80285294: -/* 80285294 002821F4 88 1D 09 C5 */ lbz r0, 0x9c5(r29) -/* 80285298 002821F8 38 60 00 01 */ li r3, 1 -/* 8028529C 002821FC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 802852A0 00282200 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 802852A4 00282204 98 1D 09 C5 */ stb r0, 0x9c5(r29) -/* 802852A8 00282208 7F A3 EB 78 */ mr r3, r29 -/* 802852AC 0028220C 4B FF F0 C1 */ bl SetEyeZBias__7CPlayerFf -/* 802852B0 00282210 7F A4 EB 78 */ mr r4, r29 -/* 802852B4 00282214 38 61 00 38 */ addi r3, r1, 0x38 -/* 802852B8 00282218 4B E9 63 BD */ bl GetMotionState__13CPhysicsActorCFv -/* 802852BC 0028221C 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 802852C0 00282220 7F A3 EB 78 */ mr r3, r29 -/* 802852C4 00282224 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802852C8 00282228 7F C5 F3 78 */ mr r5, r30 -/* 802852CC 0028222C 38 80 00 00 */ li r4, 0 -/* 802852D0 00282230 90 DD 01 F4 */ stw r6, 0x1f4(r29) -/* 802852D4 00282234 90 1D 01 F8 */ stw r0, 0x1f8(r29) -/* 802852D8 00282238 80 01 00 40 */ lwz r0, 0x40(r1) -/* 802852DC 0028223C 90 1D 01 FC */ stw r0, 0x1fc(r29) -/* 802852E0 00282240 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 802852E4 00282244 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802852E8 00282248 90 DD 02 00 */ stw r6, 0x200(r29) -/* 802852EC 0028224C 90 1D 02 04 */ stw r0, 0x204(r29) -/* 802852F0 00282250 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 802852F4 00282254 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802852F8 00282258 90 DD 02 08 */ stw r6, 0x208(r29) -/* 802852FC 0028225C 90 1D 02 0C */ stw r0, 0x20c(r29) -/* 80285300 00282260 80 C1 00 54 */ lwz r6, 0x54(r1) -/* 80285304 00282264 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80285308 00282268 90 DD 02 10 */ stw r6, 0x210(r29) -/* 8028530C 0028226C 90 1D 02 14 */ stw r0, 0x214(r29) -/* 80285310 00282270 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80285314 00282274 90 1D 02 18 */ stw r0, 0x218(r29) -/* 80285318 00282278 80 C1 00 60 */ lwz r6, 0x60(r1) -/* 8028531C 0028227C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80285320 00282280 90 DD 02 1C */ stw r6, 0x21c(r29) -/* 80285324 00282284 90 1D 02 20 */ stw r0, 0x220(r29) -/* 80285328 00282288 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8028532C 0028228C 90 1D 02 24 */ stw r0, 0x224(r29) -/* 80285330 00282290 48 00 10 BD */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -/* 80285334 00282294 38 61 00 9C */ addi r3, r1, 0x9c -/* 80285338 00282298 38 9D 00 34 */ addi r4, r29, 0x34 -/* 8028533C 0028229C 48 08 D8 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80285340 002822A0 7F A4 EB 78 */ mr r4, r29 -/* 80285344 002822A4 38 61 00 08 */ addi r3, r1, 8 -/* 80285348 002822A8 4B FF FA 35 */ bl GetEyePosition__7CPlayerCFv -/* 8028534C 002822AC C0 41 00 08 */ lfs f2, 8(r1) -/* 80285350 002822B0 7F C5 F3 78 */ mr r5, r30 -/* 80285354 002822B4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80285358 002822B8 38 81 00 9C */ addi r4, r1, 0x9c -/* 8028535C 002822BC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80285360 002822C0 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 80285364 002822C4 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80285368 002822C8 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 8028536C 002822CC 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80285370 002822D0 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80285374 002822D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80285378 002822D8 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8028537C 002822DC 7D 89 03 A6 */ mtctr r12 -/* 80285380 002822E0 4E 80 04 21 */ bctrl -/* 80285384 002822E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80285388 002822E8 41 82 00 24 */ beq lbl_802853AC -/* 8028538C 002822EC 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 80285390 002822F0 7F C5 F3 78 */ mr r5, r30 -/* 80285394 002822F4 38 81 00 9C */ addi r4, r1, 0x9c -/* 80285398 002822F8 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8028539C 002822FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802853A0 00282300 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 802853A4 00282304 7D 89 03 A6 */ mtctr r12 -/* 802853A8 00282308 4E 80 04 21 */ bctrl -lbl_802853AC: -/* 802853AC 0028230C 7F A3 EB 78 */ mr r3, r29 -/* 802853B0 00282310 7F C5 F3 78 */ mr r5, r30 -/* 802853B4 00282314 38 9D 00 34 */ addi r4, r29, 0x34 -/* 802853B8 00282318 4B D9 3B 11 */ bl ForceGunOrientation__7CPlayerFRC12CTransform4fR13CStateManager -/* 802853BC 0028231C 7F A3 EB 78 */ mr r3, r29 -/* 802853C0 00282320 7F C5 F3 78 */ mr r5, r30 -/* 802853C4 00282324 38 80 00 01 */ li r4, 1 -/* 802853C8 00282328 4B EF 5D D5 */ bl SetOrbitRequest__7CPlayerF19EPlayerOrbitRequestR13CStateManager -/* 802853CC 0028232C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802853D0 00282330 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 802853D4 00282334 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 802853D8 00282338 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 802853DC 0028233C 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 802853E0 00282340 7C 08 03 A6 */ mtlr r0 -/* 802853E4 00282344 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802853E8 00282348 4E 80 00 20 */ blr - -.global BombJump__7CPlayerFRC9CVector3fR13CStateManager -BombJump__7CPlayerFRC9CVector3fR13CStateManager: -/* 802853EC 0028234C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802853F0 00282350 7C 08 02 A6 */ mflr r0 -/* 802853F4 00282354 90 01 00 54 */ stw r0, 0x54(r1) -/* 802853F8 00282358 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802853FC 0028235C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80285400 00282360 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80285404 00282364 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80285408 00282368 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8028540C 0028236C 7C 7F 1B 78 */ mr r31, r3 -/* 80285410 00282370 7C 9D 23 78 */ mr r29, r4 -/* 80285414 00282374 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80285418 00282378 7C BE 2B 78 */ mr r30, r5 -/* 8028541C 0028237C 2C 00 00 01 */ cmpwi r0, 1 -/* 80285420 00282380 40 82 02 A4 */ bne lbl_802856C4 -/* 80285424 00282384 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 80285428 00282388 4B E6 9B 71 */ bl GetBombJumpState__10CMorphBallCFv -/* 8028542C 0028238C 2C 03 00 01 */ cmpwi r3, 1 -/* 80285430 00282390 41 82 02 94 */ beq lbl_802856C4 -/* 80285434 00282394 C0 82 BD A0 */ lfs f4, lbl_805ADAC0@sda21(r2) -/* 80285438 00282398 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8028543C 0028239C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80285440 002823A0 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80285444 002823A4 EC 20 20 2A */ fadds f1, f0, f4 -/* 80285448 002823A8 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8028544C 002823AC EC 62 20 2A */ fadds f3, f2, f4 -/* 80285450 002823B0 C0 5D 00 00 */ lfs f2, 0(r29) -/* 80285454 002823B4 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80285458 002823B8 C0 E3 02 7C */ lfs f7, 0x27c(r3) -/* 8028545C 002823BC C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 80285460 002823C0 EC C3 10 28 */ fsubs f6, f3, f2 -/* 80285464 002823C4 EC 05 01 72 */ fmuls f0, f5, f5 -/* 80285468 002823C8 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8028546C 002823CC EC 61 38 2A */ fadds f3, f1, f7 -/* 80285470 002823D0 C1 03 01 20 */ lfs f8, 0x120(r3) -/* 80285474 002823D4 EC 26 01 BA */ fmadds f1, f6, f6, f0 -/* 80285478 002823D8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8028547C 002823DC EC 08 02 32 */ fmuls f0, f8, f8 -/* 80285480 002823E0 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80285484 002823E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80285488 002823E8 40 80 02 3C */ bge lbl_802856C4 -/* 8028548C 002823EC EC 24 01 72 */ fmuls f1, f4, f5 -/* 80285490 002823F0 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) -/* 80285494 002823F4 FC 00 38 50 */ fneg f0, f7 -/* 80285498 002823F8 EC 24 09 BA */ fmadds f1, f4, f6, f1 -/* 8028549C 002823FC EC 22 08 FA */ fmadds f1, f2, f3, f1 -/* 802854A0 00282400 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802854A4 00282404 4C 41 13 82 */ cror 2, 1, 2 -/* 802854A8 00282408 40 82 02 1C */ bne lbl_802856C4 -/* 802854AC 0028240C C0 03 00 C4 */ lfs f0, 0xc4(r3) -/* 802854B0 00282410 C8 22 BE 08 */ lfd f1, lbl_805ADB28@sda21(r2) -/* 802854B4 00282414 FC 40 02 10 */ fabs f2, f0 -/* 802854B8 00282418 C0 03 01 1C */ lfs f0, 0x11c(r3) -/* 802854BC 0028241C C8 62 BE 10 */ lfd f3, lbl_805ADB30@sda21(r2) -/* 802854C0 00282420 FC 21 00 B2 */ fmul f1, f1, f2 -/* 802854C4 00282424 FC 81 00 32 */ fmul f4, f1, f0 -/* 802854C8 00282428 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802854CC 0028242C 40 81 00 58 */ ble lbl_80285524 -/* 802854D0 00282430 FC 20 20 34 */ frsqrte f1, f4 -/* 802854D4 00282434 C8 62 BE 18 */ lfd f3, lbl_805ADB38@sda21(r2) -/* 802854D8 00282438 C8 42 BE 20 */ lfd f2, lbl_805ADB40@sda21(r2) -/* 802854DC 0028243C FC 01 00 72 */ fmul f0, f1, f1 -/* 802854E0 00282440 FC 23 00 72 */ fmul f1, f3, f1 -/* 802854E4 00282444 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 802854E8 00282448 FC 21 00 32 */ fmul f1, f1, f0 -/* 802854EC 0028244C FC 01 00 72 */ fmul f0, f1, f1 -/* 802854F0 00282450 FC 23 00 72 */ fmul f1, f3, f1 -/* 802854F4 00282454 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 802854F8 00282458 FC 21 00 32 */ fmul f1, f1, f0 -/* 802854FC 0028245C FC 01 00 72 */ fmul f0, f1, f1 -/* 80285500 00282460 FC 23 00 72 */ fmul f1, f3, f1 -/* 80285504 00282464 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80285508 00282468 FC 21 00 32 */ fmul f1, f1, f0 -/* 8028550C 0028246C FC 01 00 72 */ fmul f0, f1, f1 -/* 80285510 00282470 FC 23 00 72 */ fmul f1, f3, f1 -/* 80285514 00282474 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80285518 00282478 FC 01 00 32 */ fmul f0, f1, f0 -/* 8028551C 0028247C FC 64 00 32 */ fmul f3, f4, f0 -/* 80285520 00282480 48 00 00 2C */ b lbl_8028554C -lbl_80285524: -/* 80285524 00282484 FC 03 20 00 */ fcmpu cr0, f3, f4 -/* 80285528 00282488 40 82 00 08 */ bne lbl_80285530 -/* 8028552C 0028248C 48 00 00 20 */ b lbl_8028554C -lbl_80285530: -/* 80285530 00282490 FC 04 18 00 */ fcmpu cr0, f4, f3 -/* 80285534 00282494 41 82 00 10 */ beq lbl_80285544 -/* 80285538 00282498 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 8028553C 0028249C C0 63 8B A0 */ lfs f3, lbl_805A8BA0@l(r3) -/* 80285540 002824A0 48 00 00 0C */ b lbl_8028554C -lbl_80285544: -/* 80285544 002824A4 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 80285548 002824A8 C0 63 8B A4 */ lfs f3, lbl_805A8BA4@l(r3) -lbl_8028554C: -/* 8028554C 002824AC FF E0 18 18 */ frsp f31, f3 -/* 80285550 002824B0 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 80285554 002824B4 C0 22 BD B4 */ lfs f1, lbl_805ADAD4@sda21(r2) -/* 80285558 002824B8 7F C4 F3 78 */ mr r4, r30 -/* 8028555C 002824BC 38 A0 00 0B */ li r5, 0xb -/* 80285560 002824C0 38 C0 00 01 */ li r6, 1 -/* 80285564 002824C4 4B FA 8C E1 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -/* 80285568 002824C8 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 8028556C 002824CC D0 1F 02 A0 */ stfs f0, 0x2a0(r31) -/* 80285570 002824D0 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 80285574 002824D4 2C 00 00 02 */ cmpwi r0, 2 -/* 80285578 002824D8 40 82 00 0C */ bne lbl_80285584 -/* 8028557C 002824DC 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 80285580 002824E0 48 00 00 08 */ b lbl_80285588 -lbl_80285584: -/* 80285584 002824E4 38 00 00 04 */ li r0, 4 -lbl_80285588: -/* 80285588 002824E8 2C 00 00 05 */ cmpwi r0, 5 -/* 8028558C 002824EC 41 82 00 30 */ beq lbl_802855BC -/* 80285590 002824F0 40 80 00 10 */ bge lbl_802855A0 -/* 80285594 002824F4 2C 00 00 04 */ cmpwi r0, 4 -/* 80285598 002824F8 40 80 00 14 */ bge lbl_802855AC -/* 8028559C 002824FC 48 00 00 3C */ b lbl_802855D8 -lbl_802855A0: -/* 802855A0 00282500 2C 00 00 07 */ cmpwi r0, 7 -/* 802855A4 00282504 40 80 00 34 */ bge lbl_802855D8 -/* 802855A8 00282508 48 00 00 24 */ b lbl_802855CC -lbl_802855AC: -/* 802855AC 0028250C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802855B0 00282510 C0 03 00 E0 */ lfs f0, 0xe0(r3) -/* 802855B4 00282514 EF FF 00 32 */ fmuls f31, f31, f0 -/* 802855B8 00282518 48 00 00 20 */ b lbl_802855D8 -lbl_802855BC: -/* 802855BC 0028251C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802855C0 00282520 C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 802855C4 00282524 EF FF 00 32 */ fmuls f31, f31, f0 -/* 802855C8 00282528 48 00 00 10 */ b lbl_802855D8 -lbl_802855CC: -/* 802855CC 0028252C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802855D0 00282530 C0 03 00 F0 */ lfs f0, 0xf0(r3) -/* 802855D4 00282534 EF FF 00 32 */ fmuls f31, f31, f0 -lbl_802855D8: -/* 802855D8 00282538 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802855DC 0028253C 7F E3 FB 78 */ mr r3, r31 -/* 802855E0 00282540 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 802855E4 00282544 38 81 00 1C */ addi r4, r1, 0x1c -/* 802855E8 00282548 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802855EC 0028254C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802855F0 00282550 4B E9 56 B1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 802855F4 00282554 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 802855F8 00282558 C0 22 BD AC */ lfs f1, lbl_805ADACC@sda21(r2) -/* 802855FC 0028255C 4B E7 36 95 */ bl SetDamageTimer__10CMorphBallFf -/* 80285600 00282560 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 80285604 00282564 4B E6 E8 1D */ bl CancelBoosting__10CMorphBallFv -/* 80285608 00282568 80 7F 09 D0 */ lwz r3, 0x9d0(r31) -/* 8028560C 0028256C 2C 03 00 00 */ cmpwi r3, 0 -/* 80285610 00282570 40 81 00 28 */ ble lbl_80285638 -/* 80285614 00282574 2C 03 00 02 */ cmpwi r3, 2 -/* 80285618 00282578 40 81 00 14 */ ble lbl_8028562C -/* 8028561C 0028257C 38 00 00 00 */ li r0, 0 -/* 80285620 00282580 90 1F 09 D0 */ stw r0, 0x9d0(r31) -/* 80285624 00282584 90 1F 09 D4 */ stw r0, 0x9d4(r31) -/* 80285628 00282588 48 00 00 48 */ b lbl_80285670 -lbl_8028562C: -/* 8028562C 0028258C 38 03 00 01 */ addi r0, r3, 1 -/* 80285630 00282590 90 1F 09 D0 */ stw r0, 0x9d0(r31) -/* 80285634 00282594 48 00 00 3C */ b lbl_80285670 -lbl_80285638: -/* 80285638 00282598 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8028563C 0028259C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80285640 002825A0 80 83 00 80 */ lwz r4, 0x80(r3) -/* 80285644 002825A4 A0 64 03 DC */ lhz r3, 0x3dc(r4) -/* 80285648 002825A8 7C 03 00 40 */ cmplw r3, r0 -/* 8028564C 002825AC 41 82 00 24 */ beq lbl_80285670 -/* 80285650 002825B0 C0 24 03 E0 */ lfs f1, 0x3e0(r4) -/* 80285654 002825B4 C0 02 BE 28 */ lfs f0, lbl_805ADB48@sda21(r2) -/* 80285658 002825B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028565C 002825BC 40 80 00 14 */ bge lbl_80285670 -/* 80285660 002825C0 38 60 00 01 */ li r3, 1 -/* 80285664 002825C4 38 00 00 02 */ li r0, 2 -/* 80285668 002825C8 90 7F 09 D0 */ stw r3, 0x9d0(r31) -/* 8028566C 002825CC 90 1F 09 D4 */ stw r0, 0x9d4(r31) -lbl_80285670: -/* 80285670 002825D0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80285674 002825D4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80285678 002825D8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8028567C 002825DC 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80285680 002825E0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80285684 002825E4 38 61 00 08 */ addi r3, r1, 8 -/* 80285688 002825E8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8028568C 002825EC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80285690 002825F0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80285694 002825F4 38 80 05 BC */ li r4, 0x5bc -/* 80285698 002825F8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8028569C 002825FC 38 E0 00 00 */ li r7, 0 -/* 802856A0 00282600 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802856A4 00282604 39 00 00 00 */ li r8, 0 -/* 802856A8 00282608 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802856AC 0028260C 48 06 4C 05 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 802856B0 00282610 80 01 00 08 */ lwz r0, 8(r1) -/* 802856B4 00282614 7F E3 FB 78 */ mr r3, r31 -/* 802856B8 00282618 38 81 00 0C */ addi r4, r1, 0xc -/* 802856BC 0028261C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802856C0 00282620 4B D8 BA CD */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -lbl_802856C4: -/* 802856C4 00282624 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802856C8 00282628 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802856CC 0028262C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802856D0 00282630 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802856D4 00282634 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802856D8 00282638 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802856DC 0028263C 7C 08 03 A6 */ mtlr r0 -/* 802856E0 00282640 38 21 00 50 */ addi r1, r1, 0x50 -/* 802856E4 00282644 4E 80 00 20 */ blr - -.global CreateTransformFromMovementDirection__7CPlayerCFv -CreateTransformFromMovementDirection__7CPlayerCFv: -/* 802856E8 00282648 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802856EC 0028264C 7C 08 02 A6 */ mflr r0 -/* 802856F0 00282650 90 01 00 44 */ stw r0, 0x44(r1) -/* 802856F4 00282654 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802856F8 00282658 7C 9F 23 78 */ mr r31, r4 -/* 802856FC 0028265C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80285700 00282660 7C 7E 1B 78 */ mr r30, r3 -/* 80285704 00282664 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285708 00282668 C0 44 05 0C */ lfs f2, 0x50c(r4) -/* 8028570C 0028266C C0 24 05 10 */ lfs f1, 0x510(r4) -/* 80285710 00282670 C0 04 05 14 */ lfs f0, 0x514(r4) -/* 80285714 00282674 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80285718 00282678 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8028571C 0028267C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80285720 00282680 48 08 EF D9 */ bl CanBeNormalized__9CVector3fCFv -/* 80285724 00282684 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285728 00282688 41 82 00 10 */ beq lbl_80285738 -/* 8028572C 0028268C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285730 00282690 48 08 F1 C9 */ bl Normalize__9CVector3fFv -/* 80285734 00282694 48 00 00 18 */ b lbl_8028574C -lbl_80285738: -/* 80285738 00282698 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 8028573C 0028269C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80285740 002826A0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80285744 002826A4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80285748 002826A8 D0 21 00 28 */ stfs f1, 0x28(r1) -lbl_8028574C: -/* 8028574C 002826AC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80285750 002826B0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80285754 002826B4 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80285758 002826B8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8028575C 002826BC FC 40 00 50 */ fneg f2, f0 -/* 80285760 002826C0 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80285764 002826C4 C0 BF 00 60 */ lfs f5, 0x60(r31) -/* 80285768 002826C8 7F C3 F3 78 */ mr r3, r30 -/* 8028576C 002826CC C0 9F 00 50 */ lfs f4, 0x50(r31) -/* 80285770 002826D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80285774 002826D4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80285778 002826D8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8028577C 002826DC D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80285780 002826E0 38 E1 00 08 */ addi r7, r1, 8 -/* 80285784 002826E4 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80285788 002826E8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8028578C 002826EC D0 01 00 08 */ stfs f0, 8(r1) -/* 80285790 002826F0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80285794 002826F4 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80285798 002826F8 48 08 D6 C5 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 8028579C 002826FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802857A0 00282700 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802857A4 00282704 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802857A8 00282708 7C 08 03 A6 */ mtlr r0 -/* 802857AC 0028270C 38 21 00 40 */ addi r1, r1, 0x40 -/* 802857B0 00282710 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__7CPlayerCFv -GetCollisionPrimitive__7CPlayerCFv: -/* 802857B4 00282714 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802857B8 00282718 7C 08 02 A6 */ mflr r0 -/* 802857BC 0028271C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802857C0 00282720 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 802857C4 00282724 2C 00 00 01 */ cmpwi r0, 1 -/* 802857C8 00282728 41 82 00 20 */ beq lbl_802857E8 -/* 802857CC 0028272C 40 80 00 10 */ bge lbl_802857DC -/* 802857D0 00282730 2C 00 00 00 */ cmpwi r0, 0 -/* 802857D4 00282734 40 80 00 1C */ bge lbl_802857F0 -/* 802857D8 00282738 48 00 00 28 */ b lbl_80285800 -lbl_802857DC: -/* 802857DC 0028273C 2C 00 00 04 */ cmpwi r0, 4 -/* 802857E0 00282740 40 80 00 20 */ bge lbl_80285800 -/* 802857E4 00282744 48 00 00 14 */ b lbl_802857F8 -lbl_802857E8: -/* 802857E8 00282748 48 00 00 2D */ bl sub_80285814 -/* 802857EC 0028274C 48 00 00 18 */ b lbl_80285804 -lbl_802857F0: -/* 802857F0 00282750 4B E9 52 65 */ bl GetCollisionPrimitive__13CPhysicsActorCFv -/* 802857F4 00282754 48 00 00 10 */ b lbl_80285804 -lbl_802857F8: -/* 802857F8 00282758 4B E9 52 5D */ bl GetCollisionPrimitive__13CPhysicsActorCFv -/* 802857FC 0028275C 48 00 00 08 */ b lbl_80285804 -lbl_80285800: -/* 80285800 00282760 4B E9 52 55 */ bl GetCollisionPrimitive__13CPhysicsActorCFv -lbl_80285804: -/* 80285804 00282764 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285808 00282768 7C 08 03 A6 */ mtlr r0 -/* 8028580C 0028276C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285810 00282770 4E 80 00 20 */ blr - -.global sub_80285814 -sub_80285814: -/* 80285814 00282774 80 63 07 68 */ lwz r3, 0x768(r3) -/* 80285818 00282778 38 63 00 38 */ addi r3, r3, 0x38 -/* 8028581C 0028277C 4E 80 00 20 */ blr - -.global GetPrimitiveTransform__7CPlayerCFv -GetPrimitiveTransform__7CPlayerCFv: -/* 80285820 00282780 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285824 00282784 7C 08 02 A6 */ mflr r0 -/* 80285828 00282788 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028582C 0028278C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285830 00282790 7C 7F 1B 78 */ mr r31, r3 -/* 80285834 00282794 4B E9 51 99 */ bl GetPrimitiveTransform__13CPhysicsActorCFv -/* 80285838 00282798 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028583C 0028279C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285840 002827A0 7C 08 03 A6 */ mtlr r0 -/* 80285844 002827A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285848 002827A8 4E 80 00 20 */ blr - -.global CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__7CPlayerFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 8028584C 002827AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285850 002827B0 7C 08 02 A6 */ mflr r0 -/* 80285854 002827B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285858 002827B8 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8028585C 002827BC 2C 00 00 00 */ cmpwi r0, 0 -/* 80285860 002827C0 41 82 00 0C */ beq lbl_8028586C -/* 80285864 002827C4 80 63 07 68 */ lwz r3, 0x768(r3) -/* 80285868 002827C8 4B E6 B0 A5 */ bl CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -lbl_8028586C: -/* 8028586C 002827CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285870 002827D0 7C 08 03 A6 */ mtlr r0 -/* 80285874 002827D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285878 002827D8 4E 80 00 20 */ blr - -.global GetActualBallMaxVelocity__7CPlayerCFf -GetActualBallMaxVelocity__7CPlayerCFf: -/* 8028587C 002827DC 80 A3 02 B0 */ lwz r5, 0x2b0(r3) -/* 80285880 002827E0 2C 05 00 02 */ cmpwi r5, 2 -/* 80285884 002827E4 40 82 00 0C */ bne lbl_80285890 -/* 80285888 002827E8 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 8028588C 002827EC 48 00 00 08 */ b lbl_80285894 -lbl_80285890: -/* 80285890 002827F0 38 00 00 04 */ li r0, 4 -lbl_80285894: -/* 80285894 002827F4 80 CD A1 1C */ lwz r6, gpTweakBall@sda21(r13) -/* 80285898 002827F8 54 00 10 3A */ slwi r0, r0, 2 -/* 8028589C 002827FC C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 802858A0 00282800 2C 05 00 02 */ cmpwi r5, 2 -/* 802858A4 00282804 7C 86 02 14 */ add r4, r6, r0 -/* 802858A8 00282808 C0 64 00 24 */ lfs f3, 0x24(r4) -/* 802858AC 0028280C EC 03 00 32 */ fmuls f0, f3, f0 -/* 802858B0 00282810 40 82 00 0C */ bne lbl_802858BC -/* 802858B4 00282814 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 802858B8 00282818 48 00 00 08 */ b lbl_802858C0 -lbl_802858BC: -/* 802858BC 0028281C 38 00 00 04 */ li r0, 4 -lbl_802858C0: -/* 802858C0 00282820 54 00 10 3A */ slwi r0, r0, 2 -/* 802858C4 00282824 2C 05 00 02 */ cmpwi r5, 2 -/* 802858C8 00282828 7C 86 02 14 */ add r4, r6, r0 -/* 802858CC 0028282C C0 84 00 44 */ lfs f4, 0x44(r4) -/* 802858D0 00282830 40 82 00 0C */ bne lbl_802858DC -/* 802858D4 00282834 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 802858D8 00282838 48 00 00 08 */ b lbl_802858E0 -lbl_802858DC: -/* 802858DC 0028283C 38 00 00 04 */ li r0, 4 -lbl_802858E0: -/* 802858E0 00282840 54 00 10 3A */ slwi r0, r0, 2 -/* 802858E4 00282844 EC 40 01 32 */ fmuls f2, f0, f4 -/* 802858E8 00282848 7C 66 02 14 */ add r3, r6, r0 -/* 802858EC 0028284C C0 03 00 04 */ lfs f0, 4(r3) -/* 802858F0 00282850 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802858F4 00282854 EC 02 00 24 */ fdivs f0, f2, f0 -/* 802858F8 00282858 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802858FC 0028285C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80285900 00282860 FC 20 00 50 */ fneg f1, f0 -/* 80285904 00282864 4E 80 00 20 */ blr - -.global GetActualFirstPersonMaxVelocity__7CPlayerCFv -GetActualFirstPersonMaxVelocity__7CPlayerCFv: -/* 80285908 00282868 80 A3 02 B0 */ lwz r5, 0x2b0(r3) -/* 8028590C 0028286C 2C 05 00 02 */ cmpwi r5, 2 -/* 80285910 00282870 40 82 00 0C */ bne lbl_8028591C -/* 80285914 00282874 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 80285918 00282878 48 00 00 08 */ b lbl_80285920 -lbl_8028591C: -/* 8028591C 0028287C 38 00 00 04 */ li r0, 4 -lbl_80285920: -/* 80285920 00282880 2C 00 00 00 */ cmpwi r0, 0 -/* 80285924 00282884 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) -/* 80285928 00282888 41 80 00 0C */ blt lbl_80285934 -/* 8028592C 0028288C 2C 00 00 07 */ cmpwi r0, 7 -/* 80285930 00282890 40 81 00 08 */ ble lbl_80285938 -lbl_80285934: -/* 80285934 00282894 38 00 00 00 */ li r0, 0 -lbl_80285938: -/* 80285938 00282898 54 00 10 3A */ slwi r0, r0, 2 -/* 8028593C 0028289C C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 80285940 002828A0 7C 86 02 14 */ add r4, r6, r0 -/* 80285944 002828A4 2C 05 00 02 */ cmpwi r5, 2 -/* 80285948 002828A8 C0 64 00 44 */ lfs f3, 0x44(r4) -/* 8028594C 002828AC EC 03 00 32 */ fmuls f0, f3, f0 -/* 80285950 002828B0 40 82 00 0C */ bne lbl_8028595C -/* 80285954 002828B4 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 80285958 002828B8 48 00 00 08 */ b lbl_80285960 -lbl_8028595C: -/* 8028595C 002828BC 38 00 00 04 */ li r0, 4 -lbl_80285960: -/* 80285960 002828C0 2C 00 00 00 */ cmpwi r0, 0 -/* 80285964 002828C4 41 80 00 0C */ blt lbl_80285970 -/* 80285968 002828C8 2C 00 00 07 */ cmpwi r0, 7 -/* 8028596C 002828CC 40 81 00 08 */ ble lbl_80285974 -lbl_80285970: -/* 80285970 002828D0 38 00 00 00 */ li r0, 0 -lbl_80285974: -/* 80285974 002828D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80285978 002828D8 2C 05 00 02 */ cmpwi r5, 2 -/* 8028597C 002828DC 7C 86 02 14 */ add r4, r6, r0 -/* 80285980 002828E0 C0 84 00 A4 */ lfs f4, 0xa4(r4) -/* 80285984 002828E4 40 82 00 0C */ bne lbl_80285990 -/* 80285988 002828E8 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 8028598C 002828EC 48 00 00 08 */ b lbl_80285994 -lbl_80285990: -/* 80285990 002828F0 38 00 00 04 */ li r0, 4 -lbl_80285994: -/* 80285994 002828F4 2C 00 00 00 */ cmpwi r0, 0 -/* 80285998 002828F8 41 80 00 0C */ blt lbl_802859A4 -/* 8028599C 002828FC 2C 00 00 07 */ cmpwi r0, 7 -/* 802859A0 00282900 40 81 00 08 */ ble lbl_802859A8 -lbl_802859A4: -/* 802859A4 00282904 38 00 00 00 */ li r0, 0 -lbl_802859A8: -/* 802859A8 00282908 54 00 10 3A */ slwi r0, r0, 2 -/* 802859AC 0028290C EC 40 01 32 */ fmuls f2, f0, f4 -/* 802859B0 00282910 7C 66 02 14 */ add r3, r6, r0 -/* 802859B4 00282914 C0 03 00 04 */ lfs f0, 4(r3) -/* 802859B8 00282918 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802859BC 0028291C EC 02 00 24 */ fdivs f0, f2, f0 -/* 802859C0 00282920 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802859C4 00282924 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802859C8 00282928 FC 20 00 50 */ fneg f1, f0 -/* 802859CC 0028292C 4E 80 00 20 */ blr - -.global GetBallMaxVelocity__7CPlayerCFv -GetBallMaxVelocity__7CPlayerCFv: -/* 802859D0 00282930 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 802859D4 00282934 2C 00 00 02 */ cmpwi r0, 2 -/* 802859D8 00282938 40 82 00 0C */ bne lbl_802859E4 -/* 802859DC 0028293C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 802859E0 00282940 48 00 00 08 */ b lbl_802859E8 -lbl_802859E4: -/* 802859E4 00282944 38 00 00 04 */ li r0, 4 -lbl_802859E8: -/* 802859E8 00282948 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 802859EC 0028294C 54 00 10 3A */ slwi r0, r0, 2 -/* 802859F0 00282950 7C 63 02 14 */ add r3, r3, r0 -/* 802859F4 00282954 C0 23 00 44 */ lfs f1, 0x44(r3) -/* 802859F8 00282958 4E 80 00 20 */ blr - -.global CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput -CalculateLeaveMorphBallDirection__7CPlayerFRC11CFinalInput: -/* 802859FC 0028295C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80285A00 00282960 7C 08 02 A6 */ mflr r0 -/* 80285A04 00282964 90 01 00 44 */ stw r0, 0x44(r1) -/* 80285A08 00282968 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80285A0C 0028296C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80285A10 00282970 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80285A14 00282974 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80285A18 00282978 DB A1 00 10 */ stfd f29, 0x10(r1) -/* 80285A1C 0028297C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 80285A20 00282980 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285A24 00282984 93 C1 00 08 */ stw r30, 8(r1) -/* 80285A28 00282988 7C 7E 1B 78 */ mr r30, r3 -/* 80285A2C 0028298C 7C 9F 23 78 */ mr r31, r4 -/* 80285A30 00282990 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80285A34 00282994 2C 00 00 01 */ cmpwi r0, 1 -/* 80285A38 00282998 41 82 00 20 */ beq lbl_80285A58 -/* 80285A3C 0028299C C0 1E 05 0C */ lfs f0, 0x50c(r30) -/* 80285A40 002829A0 D0 1E 05 18 */ stfs f0, 0x518(r30) -/* 80285A44 002829A4 C0 1E 05 10 */ lfs f0, 0x510(r30) -/* 80285A48 002829A8 D0 1E 05 1C */ stfs f0, 0x51c(r30) -/* 80285A4C 002829AC C0 1E 05 14 */ lfs f0, 0x514(r30) -/* 80285A50 002829B0 D0 1E 05 20 */ stfs f0, 0x520(r30) -/* 80285A54 002829B4 48 00 00 8C */ b lbl_80285AE0 -lbl_80285A58: -/* 80285A58 002829B8 38 60 00 00 */ li r3, 0 -/* 80285A5C 002829BC 4B D8 6E BD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80285A60 002829C0 FF A0 08 90 */ fmr f29, f1 -/* 80285A64 002829C4 7F E4 FB 78 */ mr r4, r31 -/* 80285A68 002829C8 38 60 00 01 */ li r3, 1 -/* 80285A6C 002829CC 4B D8 6E AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80285A70 002829D0 FF C0 08 90 */ fmr f30, f1 -/* 80285A74 002829D4 7F E4 FB 78 */ mr r4, r31 -/* 80285A78 002829D8 38 60 00 02 */ li r3, 2 -/* 80285A7C 002829DC 4B D8 6E 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80285A80 002829E0 FF E0 08 90 */ fmr f31, f1 -/* 80285A84 002829E4 7F E4 FB 78 */ mr r4, r31 -/* 80285A88 002829E8 38 60 00 03 */ li r3, 3 -/* 80285A8C 002829EC 4B D8 6E 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80285A90 002829F0 C0 02 BD B4 */ lfs f0, lbl_805ADAD4@sda21(r2) -/* 80285A94 002829F4 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80285A98 002829F8 41 81 00 1C */ bgt lbl_80285AB4 -/* 80285A9C 002829FC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80285AA0 00282A00 41 81 00 14 */ bgt lbl_80285AB4 -/* 80285AA4 00282A04 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80285AA8 00282A08 41 81 00 0C */ bgt lbl_80285AB4 -/* 80285AAC 00282A0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80285AB0 00282A10 40 81 00 30 */ ble lbl_80285AE0 -lbl_80285AB4: -/* 80285AB4 00282A14 38 7E 01 38 */ addi r3, r30, 0x138 -/* 80285AB8 00282A18 48 08 EE 01 */ bl Magnitude__9CVector3fCFv -/* 80285ABC 00282A1C C0 02 BD 7C */ lfs f0, lbl_805ADA9C@sda21(r2) -/* 80285AC0 00282A20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80285AC4 00282A24 40 81 00 1C */ ble lbl_80285AE0 -/* 80285AC8 00282A28 C0 1E 05 0C */ lfs f0, 0x50c(r30) -/* 80285ACC 00282A2C D0 1E 05 18 */ stfs f0, 0x518(r30) -/* 80285AD0 00282A30 C0 1E 05 10 */ lfs f0, 0x510(r30) -/* 80285AD4 00282A34 D0 1E 05 1C */ stfs f0, 0x51c(r30) -/* 80285AD8 00282A38 C0 1E 05 14 */ lfs f0, 0x514(r30) -/* 80285ADC 00282A3C D0 1E 05 20 */ stfs f0, 0x520(r30) -lbl_80285AE0: -/* 80285AE0 00282A40 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80285AE4 00282A44 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80285AE8 00282A48 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80285AEC 00282A4C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80285AF0 00282A50 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 80285AF4 00282A54 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 80285AF8 00282A58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285AFC 00282A5C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80285B00 00282A60 83 C1 00 08 */ lwz r30, 8(r1) -/* 80285B04 00282A64 7C 08 03 A6 */ mtlr r0 -/* 80285B08 00282A68 38 21 00 40 */ addi r1, r1, 0x40 -/* 80285B0C 00282A6C 4E 80 00 20 */ blr - -.global CalculatePlayerControlDirection__7CPlayerFR13CStateManager -CalculatePlayerControlDirection__7CPlayerFR13CStateManager: -/* 80285B10 00282A70 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80285B14 00282A74 7C 08 02 A6 */ mflr r0 -/* 80285B18 00282A78 90 01 00 54 */ stw r0, 0x54(r1) -/* 80285B1C 00282A7C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80285B20 00282A80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80285B24 00282A84 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80285B28 00282A88 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 80285B2C 00282A8C 7C 7F 1B 78 */ mr r31, r3 -/* 80285B30 00282A90 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80285B34 00282A94 41 82 00 C0 */ beq lbl_80285BF4 -/* 80285B38 00282A98 38 7F 09 D8 */ addi r3, r31, 0x9d8 -/* 80285B3C 00282A9C 48 08 EB BD */ bl CanBeNormalized__9CVector3fCFv -/* 80285B40 00282AA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285B44 00282AA4 41 82 00 8C */ beq lbl_80285BD0 -/* 80285B48 00282AA8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80285B4C 00282AAC 38 9F 09 D8 */ addi r4, r31, 0x9d8 -/* 80285B50 00282AB0 48 08 ED 01 */ bl AsNormalized__9CVector3fCFv -/* 80285B54 00282AB4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80285B58 00282AB8 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285B5C 00282ABC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285B60 00282AC0 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285B64 00282AC4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80285B68 00282AC8 D0 3F 05 44 */ stfs f1, 0x544(r31) -/* 80285B6C 00282ACC C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80285B70 00282AD0 D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 80285B74 00282AD4 C0 3F 09 D8 */ lfs f1, 0x9d8(r31) -/* 80285B78 00282AD8 D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285B7C 00282ADC C0 3F 09 DC */ lfs f1, 0x9dc(r31) -/* 80285B80 00282AE0 D0 3F 05 50 */ stfs f1, 0x550(r31) -/* 80285B84 00282AE4 C0 3F 09 E0 */ lfs f1, 0x9e0(r31) -/* 80285B88 00282AE8 D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285B8C 00282AEC D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285B90 00282AF0 48 08 EB 69 */ bl CanBeNormalized__9CVector3fCFv -/* 80285B94 00282AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285B98 00282AF8 41 82 00 10 */ beq lbl_80285BA8 -/* 80285B9C 00282AFC 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285BA0 00282B00 48 08 ED 59 */ bl Normalize__9CVector3fFv -/* 80285BA4 00282B04 48 00 02 D8 */ b lbl_80285E7C -lbl_80285BA8: -/* 80285BA8 00282B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80285BAC 00282B0C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80285BB0 00282B10 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285BB4 00282B14 D0 1F 05 44 */ stfs f0, 0x544(r31) -/* 80285BB8 00282B18 D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 80285BBC 00282B1C D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285BC0 00282B20 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80285BC4 00282B24 D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285BC8 00282B28 48 00 02 B4 */ b lbl_80285E7C -/* 80285BCC 00282B2C 48 00 02 B0 */ b lbl_80285E7C -lbl_80285BD0: -/* 80285BD0 00282B30 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80285BD4 00282B34 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80285BD8 00282B38 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285BDC 00282B3C D0 1F 05 44 */ stfs f0, 0x544(r31) -/* 80285BE0 00282B40 D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 80285BE4 00282B44 D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285BE8 00282B48 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80285BEC 00282B4C D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285BF0 00282B50 48 00 02 8C */ b lbl_80285E7C -lbl_80285BF4: -/* 80285BF4 00282B54 80 64 08 70 */ lwz r3, 0x870(r4) -/* 80285BF8 00282B58 4B D8 5F 21 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80285BFC 00282B5C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80285C00 00282B60 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 80285C04 00282B64 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80285C08 00282B68 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80285C0C 00282B6C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80285C10 00282B70 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80285C14 00282B74 38 61 00 2C */ addi r3, r1, 0x2c -/* 80285C18 00282B78 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80285C1C 00282B7C EC 43 10 28 */ fsubs f2, f3, f2 -/* 80285C20 00282B80 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80285C24 00282B84 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80285C28 00282B88 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80285C2C 00282B8C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80285C30 00282B90 48 08 EA C9 */ bl CanBeNormalized__9CVector3fCFv -/* 80285C34 00282B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285C38 00282B98 40 82 00 28 */ bne lbl_80285C60 -/* 80285C3C 00282B9C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80285C40 00282BA0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80285C44 00282BA4 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285C48 00282BA8 D0 1F 05 44 */ stfs f0, 0x544(r31) -/* 80285C4C 00282BAC D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 80285C50 00282BB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285C54 00282BB4 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80285C58 00282BB8 D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285C5C 00282BBC 48 00 02 20 */ b lbl_80285E7C -lbl_80285C60: -/* 80285C60 00282BC0 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80285C64 00282BC4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285C68 00282BC8 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80285C6C 00282BCC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80285C70 00282BD0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80285C74 00282BD4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285C78 00282BD8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80285C7C 00282BDC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80285C80 00282BE0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80285C84 00282BE4 48 08 EA 75 */ bl CanBeNormalized__9CVector3fCFv -/* 80285C88 00282BE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285C8C 00282BEC 41 82 01 F0 */ beq lbl_80285E7C -/* 80285C90 00282BF0 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 80285C94 00282BF4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285C98 00282BF8 C3 E4 01 D0 */ lfs f31, 0x1d0(r4) -/* 80285C9C 00282BFC 48 08 EC 1D */ bl Magnitude__9CVector3fCFv -/* 80285CA0 00282C00 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80285CA4 00282C04 40 81 01 38 */ ble lbl_80285DDC -/* 80285CA8 00282C08 38 61 00 08 */ addi r3, r1, 8 -/* 80285CAC 00282C0C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80285CB0 00282C10 48 08 EB A1 */ bl AsNormalized__9CVector3fCFv -/* 80285CB4 00282C14 C0 01 00 08 */ lfs f0, 8(r1) -/* 80285CB8 00282C18 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285CBC 00282C1C D0 1F 05 40 */ stfs f0, 0x540(r31) -/* 80285CC0 00282C20 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80285CC4 00282C24 D0 1F 05 44 */ stfs f0, 0x544(r31) -/* 80285CC8 00282C28 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80285CCC 00282C2C D0 1F 05 48 */ stfs f0, 0x548(r31) -/* 80285CD0 00282C30 48 08 EA 29 */ bl CanBeNormalized__9CVector3fCFv -/* 80285CD4 00282C34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285CD8 00282C38 41 82 00 A4 */ beq lbl_80285D7C -/* 80285CDC 00282C3C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80285CE0 00282C40 48 08 EC 19 */ bl Normalize__9CVector3fFv -/* 80285CE4 00282C44 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80285CE8 00282C48 2C 00 00 01 */ cmpwi r0, 1 -/* 80285CEC 00282C4C 41 82 00 20 */ beq lbl_80285D0C -/* 80285CF0 00282C50 40 80 00 10 */ bge lbl_80285D00 -/* 80285CF4 00282C54 2C 00 00 00 */ cmpwi r0, 0 -/* 80285CF8 00282C58 40 80 00 30 */ bge lbl_80285D28 -/* 80285CFC 00282C5C 48 00 01 80 */ b lbl_80285E7C -lbl_80285D00: -/* 80285D00 00282C60 2C 00 00 04 */ cmpwi r0, 4 -/* 80285D04 00282C64 40 80 01 78 */ bge lbl_80285E7C -/* 80285D08 00282C68 48 00 00 20 */ b lbl_80285D28 -lbl_80285D0C: -/* 80285D0C 00282C6C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80285D10 00282C70 D0 1F 05 4C */ stfs f0, 0x54c(r31) -/* 80285D14 00282C74 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80285D18 00282C78 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80285D1C 00282C7C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80285D20 00282C80 D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285D24 00282C84 48 00 01 58 */ b lbl_80285E7C -lbl_80285D28: -/* 80285D28 00282C88 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80285D2C 00282C8C 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285D30 00282C90 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80285D34 00282C94 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80285D38 00282C98 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285D3C 00282C9C D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285D40 00282CA0 D0 5F 05 44 */ stfs f2, 0x544(r31) -/* 80285D44 00282CA4 D0 7F 05 48 */ stfs f3, 0x548(r31) -/* 80285D48 00282CA8 C0 3F 05 40 */ lfs f1, 0x540(r31) -/* 80285D4C 00282CAC D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285D50 00282CB0 C0 3F 05 44 */ lfs f1, 0x544(r31) -/* 80285D54 00282CB4 D0 3F 05 50 */ stfs f1, 0x550(r31) -/* 80285D58 00282CB8 C0 3F 05 48 */ lfs f1, 0x548(r31) -/* 80285D5C 00282CBC D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285D60 00282CC0 D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285D64 00282CC4 48 08 E9 95 */ bl CanBeNormalized__9CVector3fCFv -/* 80285D68 00282CC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285D6C 00282CCC 41 82 01 10 */ beq lbl_80285E7C -/* 80285D70 00282CD0 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285D74 00282CD4 48 08 EB 85 */ bl Normalize__9CVector3fFv -/* 80285D78 00282CD8 48 00 01 04 */ b lbl_80285E7C -lbl_80285D7C: -/* 80285D7C 00282CDC 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80285D80 00282CE0 2C 00 00 01 */ cmpwi r0, 1 -/* 80285D84 00282CE4 41 82 00 F8 */ beq lbl_80285E7C -/* 80285D88 00282CE8 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80285D8C 00282CEC 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285D90 00282CF0 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80285D94 00282CF4 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80285D98 00282CF8 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285D9C 00282CFC D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285DA0 00282D00 D0 5F 05 44 */ stfs f2, 0x544(r31) -/* 80285DA4 00282D04 D0 7F 05 48 */ stfs f3, 0x548(r31) -/* 80285DA8 00282D08 C0 3F 05 40 */ lfs f1, 0x540(r31) -/* 80285DAC 00282D0C D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285DB0 00282D10 C0 3F 05 44 */ lfs f1, 0x544(r31) -/* 80285DB4 00282D14 D0 3F 05 50 */ stfs f1, 0x550(r31) -/* 80285DB8 00282D18 C0 3F 05 48 */ lfs f1, 0x548(r31) -/* 80285DBC 00282D1C D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285DC0 00282D20 D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285DC4 00282D24 48 08 E9 35 */ bl CanBeNormalized__9CVector3fCFv -/* 80285DC8 00282D28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285DCC 00282D2C 41 82 00 B0 */ beq lbl_80285E7C -/* 80285DD0 00282D30 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285DD4 00282D34 48 08 EB 25 */ bl Normalize__9CVector3fFv -/* 80285DD8 00282D38 48 00 00 A4 */ b lbl_80285E7C -lbl_80285DDC: -/* 80285DDC 00282D3C C0 3F 04 FC */ lfs f1, 0x4fc(r31) -/* 80285DE0 00282D40 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) -/* 80285DE4 00282D44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80285DE8 00282D48 40 80 00 38 */ bge lbl_80285E20 -/* 80285DEC 00282D4C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80285DF0 00282D50 D0 1F 05 40 */ stfs f0, 0x540(r31) -/* 80285DF4 00282D54 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80285DF8 00282D58 D0 1F 05 44 */ stfs f0, 0x544(r31) -/* 80285DFC 00282D5C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80285E00 00282D60 D0 1F 05 48 */ stfs f0, 0x548(r31) -/* 80285E04 00282D64 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80285E08 00282D68 D0 1F 05 4C */ stfs f0, 0x54c(r31) -/* 80285E0C 00282D6C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80285E10 00282D70 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80285E14 00282D74 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80285E18 00282D78 D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285E1C 00282D7C 48 00 00 60 */ b lbl_80285E7C -lbl_80285E20: -/* 80285E20 00282D80 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80285E24 00282D84 2C 00 00 01 */ cmpwi r0, 1 -/* 80285E28 00282D88 41 82 00 54 */ beq lbl_80285E7C -/* 80285E2C 00282D8C C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80285E30 00282D90 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285E34 00282D94 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80285E38 00282D98 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80285E3C 00282D9C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80285E40 00282DA0 D0 3F 05 40 */ stfs f1, 0x540(r31) -/* 80285E44 00282DA4 D0 5F 05 44 */ stfs f2, 0x544(r31) -/* 80285E48 00282DA8 D0 7F 05 48 */ stfs f3, 0x548(r31) -/* 80285E4C 00282DAC C0 3F 05 40 */ lfs f1, 0x540(r31) -/* 80285E50 00282DB0 D0 3F 05 4C */ stfs f1, 0x54c(r31) -/* 80285E54 00282DB4 C0 3F 05 44 */ lfs f1, 0x544(r31) -/* 80285E58 00282DB8 D0 3F 05 50 */ stfs f1, 0x550(r31) -/* 80285E5C 00282DBC C0 3F 05 48 */ lfs f1, 0x548(r31) -/* 80285E60 00282DC0 D0 3F 05 54 */ stfs f1, 0x554(r31) -/* 80285E64 00282DC4 D0 1F 05 54 */ stfs f0, 0x554(r31) -/* 80285E68 00282DC8 48 08 E8 91 */ bl CanBeNormalized__9CVector3fCFv -/* 80285E6C 00282DCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285E70 00282DD0 41 82 00 0C */ beq lbl_80285E7C -/* 80285E74 00282DD4 38 7F 05 4C */ addi r3, r31, 0x54c -/* 80285E78 00282DD8 48 08 EA 81 */ bl Normalize__9CVector3fFv -lbl_80285E7C: -/* 80285E7C 00282DDC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80285E80 00282DE0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80285E84 00282DE4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80285E88 00282DE8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80285E8C 00282DEC 7C 08 03 A6 */ mtlr r0 -/* 80285E90 00282DF0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80285E94 00282DF4 4E 80 00 20 */ blr - -.global UpdatePlayerControlDirection__7CPlayerFfR13CStateManager -UpdatePlayerControlDirection__7CPlayerFfR13CStateManager: -/* 80285E98 00282DF8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80285E9C 00282DFC 7C 08 02 A6 */ mflr r0 -/* 80285EA0 00282E00 90 01 00 84 */ stw r0, 0x84(r1) -/* 80285EA4 00282E04 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80285EA8 00282E08 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80285EAC 00282E0C DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80285EB0 00282E10 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80285EB4 00282E14 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80285EB8 00282E18 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80285EBC 00282E1C DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80285EC0 00282E20 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80285EC4 00282E24 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 80285EC8 00282E28 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 80285ECC 00282E2C DB 41 00 20 */ stfd f26, 0x20(r1) -/* 80285ED0 00282E30 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0 -/* 80285ED4 00282E34 DB 21 00 10 */ stfd f25, 0x10(r1) -/* 80285ED8 00282E38 F3 21 00 18 */ psq_st f25, 24(r1), 0, qr0 -/* 80285EDC 00282E3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285EE0 00282E40 7C 7F 1B 78 */ mr r31, r3 -/* 80285EE4 00282E44 FF 20 08 90 */ fmr f25, f1 -/* 80285EE8 00282E48 C3 E3 05 40 */ lfs f31, 0x540(r3) -/* 80285EEC 00282E4C C3 C3 05 44 */ lfs f30, 0x544(r3) -/* 80285EF0 00282E50 C3 A3 05 48 */ lfs f29, 0x548(r3) -/* 80285EF4 00282E54 C3 83 05 4C */ lfs f28, 0x54c(r3) -/* 80285EF8 00282E58 C3 63 05 50 */ lfs f27, 0x550(r3) -/* 80285EFC 00282E5C C3 43 05 54 */ lfs f26, 0x554(r3) -/* 80285F00 00282E60 4B FF FC 11 */ bl CalculatePlayerControlDirection__7CPlayerFR13CStateManager -/* 80285F04 00282E64 88 1F 09 C6 */ lbz r0, 0x9c6(r31) -/* 80285F08 00282E68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80285F0C 00282E6C 41 82 00 CC */ beq lbl_80285FD8 -/* 80285F10 00282E70 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80285F14 00282E74 2C 00 00 01 */ cmpwi r0, 1 -/* 80285F18 00282E78 40 82 00 C0 */ bne lbl_80285FD8 -/* 80285F1C 00282E7C C0 1F 09 F8 */ lfs f0, 0x9f8(r31) -/* 80285F20 00282E80 EC 00 C8 2A */ fadds f0, f0, f25 -/* 80285F24 00282E84 D0 1F 09 F8 */ stfs f0, 0x9f8(r31) -/* 80285F28 00282E88 C0 1F 09 F8 */ lfs f0, 0x9f8(r31) -/* 80285F2C 00282E8C C0 3F 09 FC */ lfs f1, 0x9fc(r31) -/* 80285F30 00282E90 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80285F34 00282E94 40 81 00 10 */ ble lbl_80285F44 -/* 80285F38 00282E98 D0 3F 09 F8 */ stfs f1, 0x9f8(r31) -/* 80285F3C 00282E9C 7F E3 FB 78 */ mr r3, r31 -/* 80285F40 00282EA0 4B D8 BB 49 */ bl ResetControlDirectionInterpolation__7CPlayerFv -lbl_80285F44: -/* 80285F44 00282EA4 C0 5F 09 F8 */ lfs f2, 0x9f8(r31) -/* 80285F48 00282EA8 C0 3F 09 FC */ lfs f1, 0x9fc(r31) -/* 80285F4C 00282EAC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80285F50 00282EB0 EC 62 08 24 */ fdivs f3, f2, f1 -/* 80285F54 00282EB4 FC 20 1A 10 */ fabs f1, f3 -/* 80285F58 00282EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80285F5C 00282EBC 40 81 00 14 */ ble lbl_80285F70 -/* 80285F60 00282EC0 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80285F64 00282EC4 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80285F68 00282EC8 FC 03 00 6E */ fsel f0, f3, f1, f0 -/* 80285F6C 00282ECC EC 61 00 32 */ fmuls f3, f1, f0 -lbl_80285F70: -/* 80285F70 00282ED0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80285F74 00282ED4 C0 1F 05 40 */ lfs f0, 0x540(r31) -/* 80285F78 00282ED8 C0 5F 05 44 */ lfs f2, 0x544(r31) -/* 80285F7C 00282EDC EC 81 18 28 */ fsubs f4, f1, f3 -/* 80285F80 00282EE0 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80285F84 00282EE4 C0 3F 05 48 */ lfs f1, 0x548(r31) -/* 80285F88 00282EE8 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80285F8C 00282EEC EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80285F90 00282EF0 EC 1F 01 3A */ fmadds f0, f31, f4, f0 -/* 80285F94 00282EF4 EC 5E 11 3A */ fmadds f2, f30, f4, f2 -/* 80285F98 00282EF8 EC 3D 09 3A */ fmadds f1, f29, f4, f1 -/* 80285F9C 00282EFC D0 1F 05 40 */ stfs f0, 0x540(r31) -/* 80285FA0 00282F00 D0 5F 05 44 */ stfs f2, 0x544(r31) -/* 80285FA4 00282F04 D0 3F 05 48 */ stfs f1, 0x548(r31) -/* 80285FA8 00282F08 C0 1F 05 40 */ lfs f0, 0x540(r31) -/* 80285FAC 00282F0C C0 5F 05 44 */ lfs f2, 0x544(r31) -/* 80285FB0 00282F10 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80285FB4 00282F14 C0 3F 05 48 */ lfs f1, 0x548(r31) -/* 80285FB8 00282F18 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80285FBC 00282F1C EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80285FC0 00282F20 EC 1C 01 3A */ fmadds f0, f28, f4, f0 -/* 80285FC4 00282F24 EC 5B 11 3A */ fmadds f2, f27, f4, f2 -/* 80285FC8 00282F28 EC 3A 09 3A */ fmadds f1, f26, f4, f1 -/* 80285FCC 00282F2C D0 1F 05 4C */ stfs f0, 0x54c(r31) -/* 80285FD0 00282F30 D0 5F 05 50 */ stfs f2, 0x550(r31) -/* 80285FD4 00282F34 D0 3F 05 54 */ stfs f1, 0x554(r31) -lbl_80285FD8: -/* 80285FD8 00282F38 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80285FDC 00282F3C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80285FE0 00282F40 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80285FE4 00282F44 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80285FE8 00282F48 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80285FEC 00282F4C CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80285FF0 00282F50 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 80285FF4 00282F54 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80285FF8 00282F58 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 80285FFC 00282F5C CB 61 00 30 */ lfd f27, 0x30(r1) -/* 80286000 00282F60 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0 -/* 80286004 00282F64 CB 41 00 20 */ lfd f26, 0x20(r1) -/* 80286008 00282F68 E3 21 00 18 */ psq_l f25, 24(r1), 0, qr0 -/* 8028600C 00282F6C CB 21 00 10 */ lfd f25, 0x10(r1) -/* 80286010 00282F70 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80286014 00282F74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80286018 00282F78 7C 08 03 A6 */ mtlr r0 -/* 8028601C 00282F7C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80286020 00282F80 4E 80 00 20 */ blr - -.global CalculatePlayerMovementDirection__7CPlayerFf -CalculatePlayerMovementDirection__7CPlayerFf: -/* 80286024 00282F84 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80286028 00282F88 7C 08 02 A6 */ mflr r0 -/* 8028602C 00282F8C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80286030 00282F90 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80286034 00282F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80286038 00282F98 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028603C 00282F9C 7C 7F 1B 78 */ mr r31, r3 -/* 80286040 00282FA0 FF E0 08 90 */ fmr f31, f1 -/* 80286044 00282FA4 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80286048 00282FA8 2C 00 00 02 */ cmpwi r0, 2 -/* 8028604C 00282FAC 41 82 03 84 */ beq lbl_802863D0 -/* 80286050 00282FB0 2C 00 00 03 */ cmpwi r0, 3 -/* 80286054 00282FB4 40 82 00 08 */ bne lbl_8028605C -/* 80286058 00282FB8 48 00 03 78 */ b lbl_802863D0 -lbl_8028605C: -/* 8028605C 00282FBC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80286060 00282FC0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80286064 00282FC4 C0 1F 05 28 */ lfs f0, 0x528(r31) -/* 80286068 00282FC8 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8028606C 00282FCC C0 5F 05 2C */ lfs f2, 0x52c(r31) -/* 80286070 00282FD0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80286074 00282FD4 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80286078 00282FD8 C0 1F 05 24 */ lfs f0, 0x524(r31) -/* 8028607C 00282FDC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80286080 00282FE0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80286084 00282FE4 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80286088 00282FE8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8028608C 00282FEC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80286090 00282FF0 48 08 E6 69 */ bl CanBeNormalized__9CVector3fCFv -/* 80286094 00282FF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286098 00282FF8 41 82 02 50 */ beq lbl_802862E8 -/* 8028609C 00282FFC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802860A0 00283000 48 08 E8 19 */ bl Magnitude__9CVector3fCFv -/* 802860A4 00283004 C0 02 BE 30 */ lfs f0, lbl_805ADB50@sda21(r2) -/* 802860A8 00283008 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802860AC 0028300C 40 81 02 3C */ ble lbl_802862E8 -/* 802860B0 00283010 C0 1F 05 3C */ lfs f0, 0x53c(r31) -/* 802860B4 00283014 38 61 00 20 */ addi r3, r1, 0x20 -/* 802860B8 00283018 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802860BC 0028301C D0 1F 05 3C */ stfs f0, 0x53c(r31) -/* 802860C0 00283020 48 08 E7 F9 */ bl Magnitude__9CVector3fCFv -/* 802860C4 00283024 EC 01 F8 24 */ fdivs f0, f1, f31 -/* 802860C8 00283028 38 61 00 08 */ addi r3, r1, 8 -/* 802860CC 0028302C 38 81 00 20 */ addi r4, r1, 0x20 -/* 802860D0 00283030 FC 00 02 10 */ fabs f0, f0 -/* 802860D4 00283034 FC 00 00 18 */ frsp f0, f0 -/* 802860D8 00283038 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) -/* 802860DC 0028303C 48 08 E7 75 */ bl AsNormalized__9CVector3fCFv -/* 802860E0 00283040 C0 21 00 08 */ lfs f1, 8(r1) -/* 802860E4 00283044 38 61 00 14 */ addi r3, r1, 0x14 -/* 802860E8 00283048 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802860EC 0028304C D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 802860F0 00283050 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802860F4 00283054 D0 3F 05 04 */ stfs f1, 0x504(r31) -/* 802860F8 00283058 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802860FC 0028305C D0 3F 05 08 */ stfs f1, 0x508(r31) -/* 80286100 00283060 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80286104 00283064 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80286108 00283068 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8028610C 0028306C C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80286110 00283070 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80286114 00283074 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80286118 00283078 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028611C 0028307C 48 08 E5 DD */ bl CanBeNormalized__9CVector3fCFv -/* 80286120 00283080 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286124 00283084 41 82 01 2C */ beq lbl_80286250 -/* 80286128 00283088 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028612C 0028308C 48 08 E7 8D */ bl Magnitude__9CVector3fCFv -/* 80286130 00283090 EC 01 F8 24 */ fdivs f0, f1, f31 -/* 80286134 00283094 38 61 00 14 */ addi r3, r1, 0x14 -/* 80286138 00283098 FC 00 02 10 */ fabs f0, f0 -/* 8028613C 0028309C FC 00 00 18 */ frsp f0, f0 -/* 80286140 002830A0 D0 1F 04 FC */ stfs f0, 0x4fc(r31) -/* 80286144 002830A4 48 08 E7 B5 */ bl Normalize__9CVector3fFv -/* 80286148 002830A8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8028614C 002830AC 2C 00 00 01 */ cmpwi r0, 1 -/* 80286150 002830B0 41 82 00 20 */ beq lbl_80286170 -/* 80286154 002830B4 40 80 00 10 */ bge lbl_80286164 -/* 80286158 002830B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028615C 002830BC 40 80 00 70 */ bge lbl_802861CC -/* 80286160 002830C0 48 00 02 50 */ b lbl_802863B0 -lbl_80286164: -/* 80286164 002830C4 2C 00 00 04 */ cmpwi r0, 4 -/* 80286168 002830C8 40 80 02 48 */ bge lbl_802863B0 -/* 8028616C 002830CC 48 00 00 60 */ b lbl_802861CC -lbl_80286170: -/* 80286170 002830D0 C0 3F 04 FC */ lfs f1, 0x4fc(r31) -/* 80286174 002830D4 C0 02 BE 2C */ lfs f0, lbl_805ADB4C@sda21(r2) -/* 80286178 002830D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028617C 002830DC 40 81 00 1C */ ble lbl_80286198 -/* 80286180 002830E0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80286184 002830E4 D0 1F 05 0C */ stfs f0, 0x50c(r31) -/* 80286188 002830E8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8028618C 002830EC D0 1F 05 10 */ stfs f0, 0x510(r31) -/* 80286190 002830F0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80286194 002830F4 D0 1F 05 14 */ stfs f0, 0x514(r31) -lbl_80286198: -/* 80286198 002830F8 C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 8028619C 002830FC D0 1F 05 30 */ stfs f0, 0x530(r31) -/* 802861A0 00283100 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 802861A4 00283104 D0 1F 05 34 */ stfs f0, 0x534(r31) -/* 802861A8 00283108 C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 802861AC 0028310C D0 1F 05 38 */ stfs f0, 0x538(r31) -/* 802861B0 00283110 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802861B4 00283114 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802861B8 00283118 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802861BC 0028311C D0 1F 05 24 */ stfs f0, 0x524(r31) -/* 802861C0 00283120 D0 3F 05 28 */ stfs f1, 0x528(r31) -/* 802861C4 00283124 D0 5F 05 2C */ stfs f2, 0x52c(r31) -/* 802861C8 00283128 48 00 01 E8 */ b lbl_802863B0 -lbl_802861CC: -/* 802861CC 0028312C C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 802861D0 00283130 38 7F 05 0C */ addi r3, r31, 0x50c -/* 802861D4 00283134 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 802861D8 00283138 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 802861DC 0028313C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802861E0 00283140 D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 802861E4 00283144 D0 5F 05 04 */ stfs f2, 0x504(r31) -/* 802861E8 00283148 D0 7F 05 08 */ stfs f3, 0x508(r31) -/* 802861EC 0028314C C0 3F 05 00 */ lfs f1, 0x500(r31) -/* 802861F0 00283150 D0 3F 05 0C */ stfs f1, 0x50c(r31) -/* 802861F4 00283154 C0 3F 05 04 */ lfs f1, 0x504(r31) -/* 802861F8 00283158 D0 3F 05 10 */ stfs f1, 0x510(r31) -/* 802861FC 0028315C C0 3F 05 08 */ lfs f1, 0x508(r31) -/* 80286200 00283160 D0 3F 05 14 */ stfs f1, 0x514(r31) -/* 80286204 00283164 D0 1F 05 14 */ stfs f0, 0x514(r31) -/* 80286208 00283168 48 08 E4 F1 */ bl CanBeNormalized__9CVector3fCFv -/* 8028620C 0028316C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286210 00283170 41 82 00 0C */ beq lbl_8028621C -/* 80286214 00283174 38 7F 05 0C */ addi r3, r31, 0x50c -/* 80286218 00283178 48 08 E6 E1 */ bl Normalize__9CVector3fFv -lbl_8028621C: -/* 8028621C 0028317C C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 80286220 00283180 D0 1F 05 30 */ stfs f0, 0x530(r31) -/* 80286224 00283184 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 80286228 00283188 D0 1F 05 34 */ stfs f0, 0x534(r31) -/* 8028622C 0028318C C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 80286230 00283190 D0 1F 05 38 */ stfs f0, 0x538(r31) -/* 80286234 00283194 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80286238 00283198 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8028623C 0028319C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80286240 002831A0 D0 1F 05 24 */ stfs f0, 0x524(r31) -/* 80286244 002831A4 D0 3F 05 28 */ stfs f1, 0x528(r31) -/* 80286248 002831A8 D0 5F 05 2C */ stfs f2, 0x52c(r31) -/* 8028624C 002831AC 48 00 01 64 */ b lbl_802863B0 -lbl_80286250: -/* 80286250 002831B0 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80286254 002831B4 2C 00 00 01 */ cmpwi r0, 1 -/* 80286258 002831B8 41 82 00 84 */ beq lbl_802862DC -/* 8028625C 002831BC C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80286260 002831C0 38 7F 05 0C */ addi r3, r31, 0x50c -/* 80286264 002831C4 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80286268 002831C8 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8028626C 002831CC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286270 002831D0 D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 80286274 002831D4 D0 5F 05 04 */ stfs f2, 0x504(r31) -/* 80286278 002831D8 D0 7F 05 08 */ stfs f3, 0x508(r31) -/* 8028627C 002831DC C0 3F 05 00 */ lfs f1, 0x500(r31) -/* 80286280 002831E0 D0 3F 05 0C */ stfs f1, 0x50c(r31) -/* 80286284 002831E4 C0 3F 05 04 */ lfs f1, 0x504(r31) -/* 80286288 002831E8 D0 3F 05 10 */ stfs f1, 0x510(r31) -/* 8028628C 002831EC C0 3F 05 08 */ lfs f1, 0x508(r31) -/* 80286290 002831F0 D0 3F 05 14 */ stfs f1, 0x514(r31) -/* 80286294 002831F4 D0 1F 05 14 */ stfs f0, 0x514(r31) -/* 80286298 002831F8 48 08 E4 61 */ bl CanBeNormalized__9CVector3fCFv -/* 8028629C 002831FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802862A0 00283200 41 82 00 0C */ beq lbl_802862AC -/* 802862A4 00283204 38 7F 05 0C */ addi r3, r31, 0x50c -/* 802862A8 00283208 48 08 E6 51 */ bl Normalize__9CVector3fFv -lbl_802862AC: -/* 802862AC 0028320C C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 802862B0 00283210 D0 1F 05 30 */ stfs f0, 0x530(r31) -/* 802862B4 00283214 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 802862B8 00283218 D0 1F 05 34 */ stfs f0, 0x534(r31) -/* 802862BC 0028321C C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 802862C0 00283220 D0 1F 05 38 */ stfs f0, 0x538(r31) -/* 802862C4 00283224 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 802862C8 00283228 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 802862CC 0028322C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802862D0 00283230 D0 1F 05 24 */ stfs f0, 0x524(r31) -/* 802862D4 00283234 D0 3F 05 28 */ stfs f1, 0x528(r31) -/* 802862D8 00283238 D0 5F 05 2C */ stfs f2, 0x52c(r31) -lbl_802862DC: -/* 802862DC 0028323C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802862E0 00283240 D0 1F 04 FC */ stfs f0, 0x4fc(r31) -/* 802862E4 00283244 48 00 00 CC */ b lbl_802863B0 -lbl_802862E8: -/* 802862E8 00283248 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802862EC 0028324C D0 1F 05 3C */ stfs f0, 0x53c(r31) -/* 802862F0 00283250 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 802862F4 00283254 2C 00 00 04 */ cmpwi r0, 4 -/* 802862F8 00283258 40 80 00 2C */ bge lbl_80286324 -/* 802862FC 0028325C 2C 00 00 01 */ cmpwi r0, 1 -/* 80286300 00283260 40 80 00 08 */ bge lbl_80286308 -/* 80286304 00283264 48 00 00 20 */ b lbl_80286324 -lbl_80286308: -/* 80286308 00283268 C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 8028630C 0028326C D0 1F 05 00 */ stfs f0, 0x500(r31) -/* 80286310 00283270 C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 80286314 00283274 D0 1F 05 04 */ stfs f0, 0x504(r31) -/* 80286318 00283278 C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 8028631C 0028327C D0 1F 05 08 */ stfs f0, 0x508(r31) -/* 80286320 00283280 48 00 00 84 */ b lbl_802863A4 -lbl_80286324: -/* 80286324 00283284 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80286328 00283288 38 7F 05 0C */ addi r3, r31, 0x50c -/* 8028632C 0028328C C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80286330 00283290 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80286334 00283294 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286338 00283298 D0 3F 05 00 */ stfs f1, 0x500(r31) -/* 8028633C 0028329C D0 5F 05 04 */ stfs f2, 0x504(r31) -/* 80286340 002832A0 D0 7F 05 08 */ stfs f3, 0x508(r31) -/* 80286344 002832A4 C0 3F 05 00 */ lfs f1, 0x500(r31) -/* 80286348 002832A8 D0 3F 05 0C */ stfs f1, 0x50c(r31) -/* 8028634C 002832AC C0 3F 05 04 */ lfs f1, 0x504(r31) -/* 80286350 002832B0 D0 3F 05 10 */ stfs f1, 0x510(r31) -/* 80286354 002832B4 C0 3F 05 08 */ lfs f1, 0x508(r31) -/* 80286358 002832B8 D0 3F 05 14 */ stfs f1, 0x514(r31) -/* 8028635C 002832BC D0 1F 05 14 */ stfs f0, 0x514(r31) -/* 80286360 002832C0 48 08 E3 99 */ bl CanBeNormalized__9CVector3fCFv -/* 80286364 002832C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286368 002832C8 41 82 00 0C */ beq lbl_80286374 -/* 8028636C 002832CC 38 7F 05 0C */ addi r3, r31, 0x50c -/* 80286370 002832D0 48 08 E5 89 */ bl Normalize__9CVector3fFv -lbl_80286374: -/* 80286374 002832D4 C0 1F 05 0C */ lfs f0, 0x50c(r31) -/* 80286378 002832D8 D0 1F 05 30 */ stfs f0, 0x530(r31) -/* 8028637C 002832DC C0 1F 05 10 */ lfs f0, 0x510(r31) -/* 80286380 002832E0 D0 1F 05 34 */ stfs f0, 0x534(r31) -/* 80286384 002832E4 C0 1F 05 14 */ lfs f0, 0x514(r31) -/* 80286388 002832E8 D0 1F 05 38 */ stfs f0, 0x538(r31) -/* 8028638C 002832EC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80286390 002832F0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80286394 002832F4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80286398 002832F8 D0 1F 05 24 */ stfs f0, 0x524(r31) -/* 8028639C 002832FC D0 3F 05 28 */ stfs f1, 0x528(r31) -/* 802863A0 00283300 D0 5F 05 2C */ stfs f2, 0x52c(r31) -lbl_802863A4: -/* 802863A4 00283304 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802863A8 00283308 D0 1F 04 F8 */ stfs f0, 0x4f8(r31) -/* 802863AC 0028330C D0 1F 04 FC */ stfs f0, 0x4fc(r31) -lbl_802863B0: -/* 802863B0 00283310 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802863B4 00283314 38 7F 05 0C */ addi r3, r31, 0x50c -/* 802863B8 00283318 D0 1F 05 14 */ stfs f0, 0x514(r31) -/* 802863BC 0028331C 48 08 E3 3D */ bl CanBeNormalized__9CVector3fCFv -/* 802863C0 00283320 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802863C4 00283324 41 82 00 0C */ beq lbl_802863D0 -/* 802863C8 00283328 38 7F 05 00 */ addi r3, r31, 0x500 -/* 802863CC 0028332C 48 08 E5 2D */ bl Normalize__9CVector3fFv -lbl_802863D0: -/* 802863D0 00283330 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802863D4 00283334 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802863D8 00283338 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802863DC 0028333C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802863E0 00283340 7C 08 03 A6 */ mtlr r0 -/* 802863E4 00283344 38 21 00 50 */ addi r1, r1, 0x50 -/* 802863E8 00283348 4E 80 00 20 */ blr - -.global SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager: -/* 802863EC 0028334C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802863F0 00283350 7C 08 02 A6 */ mflr r0 -/* 802863F4 00283354 2C 04 00 02 */ cmpwi r4, 2 -/* 802863F8 00283358 90 01 00 24 */ stw r0, 0x24(r1) -/* 802863FC 0028335C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80286400 00283360 7C 7F 1B 78 */ mr r31, r3 -/* 80286404 00283364 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80286408 00283368 7C BE 2B 78 */ mr r30, r5 -/* 8028640C 0028336C 41 82 02 5C */ beq lbl_80286668 -/* 80286410 00283370 40 80 00 14 */ bge lbl_80286424 -/* 80286414 00283374 2C 04 00 00 */ cmpwi r4, 0 -/* 80286418 00283378 41 82 02 04 */ beq lbl_8028661C -/* 8028641C 0028337C 40 80 00 18 */ bge lbl_80286434 -/* 80286420 00283380 48 00 02 B4 */ b lbl_802866D4 -lbl_80286424: -/* 80286424 00283384 2C 04 00 04 */ cmpwi r4, 4 -/* 80286428 00283388 41 82 01 E0 */ beq lbl_80286608 -/* 8028642C 0028338C 40 80 02 A8 */ bge lbl_802866D4 -/* 80286430 00283390 48 00 01 88 */ b lbl_802865B8 -lbl_80286434: -/* 80286434 00283394 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 80286438 00283398 2C 00 00 02 */ cmpwi r0, 2 -/* 8028643C 0028339C 40 82 00 80 */ bne lbl_802864BC -/* 80286440 002833A0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80286444 002833A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80286448 002833A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8028644C 002833AC 38 80 05 BE */ li r4, 0x5be -/* 80286450 002833B0 38 A0 00 7F */ li r5, 0x7f -/* 80286454 002833B4 38 C0 00 40 */ li r6, 0x40 -/* 80286458 002833B8 38 E0 00 01 */ li r7, 1 -/* 8028645C 002833BC 39 20 00 00 */ li r9, 0 -/* 80286460 002833C0 48 06 39 15 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80286464 002833C4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80286468 002833C8 7F E3 FB 78 */ mr r3, r31 -/* 8028646C 002833CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80286470 002833D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286474 002833D4 4B D8 AD 19 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -/* 80286478 002833D8 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 8028647C 002833DC 7F C4 F3 78 */ mr r4, r30 -/* 80286480 002833E0 C0 22 BE 34 */ lfs f1, lbl_805ADB54@sda21(r2) -/* 80286484 002833E4 38 A0 00 0B */ li r5, 0xb -/* 80286488 002833E8 38 C0 00 01 */ li r6, 1 -/* 8028648C 002833EC 4B FA 7D B9 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -/* 80286490 002833F0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286494 002833F4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286498 002833F8 C0 23 00 F8 */ lfs f1, 0xf8(r3) -/* 8028649C 002833FC D0 3F 02 88 */ stfs f1, 0x288(r31) -/* 802864A0 00283400 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802864A4 00283404 C0 43 01 0C */ lfs f2, 0x10c(r3) -/* 802864A8 00283408 C0 23 00 F8 */ lfs f1, 0xf8(r3) -/* 802864AC 0028340C EC 21 10 28 */ fsubs f1, f1, f2 -/* 802864B0 00283410 D0 3F 02 90 */ stfs f1, 0x290(r31) -/* 802864B4 00283414 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 802864B8 00283418 48 00 00 E8 */ b lbl_802865A0 -lbl_802864BC: -/* 802864BC 0028341C 2C 00 00 01 */ cmpwi r0, 1 -/* 802864C0 00283420 41 82 00 E0 */ beq lbl_802865A0 -/* 802864C4 00283424 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 802864C8 00283428 38 61 00 08 */ addi r3, r1, 8 -/* 802864CC 0028342C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 802864D0 00283430 38 80 05 BF */ li r4, 0x5bf -/* 802864D4 00283434 38 A0 00 7F */ li r5, 0x7f -/* 802864D8 00283438 38 C0 00 40 */ li r6, 0x40 -/* 802864DC 0028343C 38 E0 00 01 */ li r7, 1 -/* 802864E0 00283440 39 20 00 00 */ li r9, 0 -/* 802864E4 00283444 48 06 38 91 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 802864E8 00283448 80 01 00 08 */ lwz r0, 8(r1) -/* 802864EC 0028344C 7F E3 FB 78 */ mr r3, r31 -/* 802864F0 00283450 38 81 00 0C */ addi r4, r1, 0xc -/* 802864F4 00283454 90 01 00 0C */ stw r0, 0xc(r1) -/* 802864F8 00283458 4B D8 AC 95 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -/* 802864FC 0028345C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 80286500 00283460 38 80 00 0F */ li r4, 0xf -/* 80286504 00283464 D0 1F 02 A0 */ stfs f0, 0x2a0(r31) -/* 80286508 00283468 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 8028650C 0028346C C0 03 00 F4 */ lfs f0, 0xf4(r3) -/* 80286510 00283470 D0 1F 02 88 */ stfs f0, 0x288(r31) -/* 80286514 00283474 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286518 00283478 C0 23 01 08 */ lfs f1, 0x108(r3) -/* 8028651C 0028347C C0 03 00 F4 */ lfs f0, 0xf4(r3) -/* 80286520 00283480 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80286524 00283484 D0 1F 02 90 */ stfs f0, 0x290(r31) -/* 80286528 00283488 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8028652C 0028348C 80 63 00 00 */ lwz r3, 0(r3) -/* 80286530 00283490 4B E0 B5 ED */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80286534 00283494 2C 03 00 00 */ cmpwi r3, 0 -/* 80286538 00283498 41 82 00 14 */ beq lbl_8028654C -/* 8028653C 0028349C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286540 002834A0 C0 03 01 00 */ lfs f0, 0x100(r3) -/* 80286544 002834A4 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 80286548 002834A8 48 00 00 0C */ b lbl_80286554 -lbl_8028654C: -/* 8028654C 002834AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286550 002834B0 D0 1F 02 8C */ stfs f0, 0x28c(r31) -lbl_80286554: -/* 80286554 002834B4 C0 1F 02 94 */ lfs f0, 0x294(r31) -/* 80286558 002834B8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 8028655C 002834BC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80286560 002834C0 4C 40 13 82 */ cror 2, 0, 2 -/* 80286564 002834C4 40 82 00 3C */ bne lbl_802865A0 -/* 80286568 002834C8 C0 1F 02 9C */ lfs f0, 0x29c(r31) -/* 8028656C 002834CC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80286570 002834D0 4C 40 13 82 */ cror 2, 0, 2 -/* 80286574 002834D4 40 82 00 2C */ bne lbl_802865A0 -/* 80286578 002834D8 88 1F 03 DC */ lbz r0, 0x3dc(r31) -/* 8028657C 002834DC 28 00 00 00 */ cmplwi r0, 0 -/* 80286580 002834E0 40 82 00 20 */ bne lbl_802865A0 -/* 80286584 002834E4 88 1F 03 DD */ lbz r0, 0x3dd(r31) -/* 80286588 002834E8 28 00 00 00 */ cmplwi r0, 0 -/* 8028658C 002834EC 40 82 00 14 */ bne lbl_802865A0 -/* 80286590 002834F0 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 80286594 002834F4 38 00 00 00 */ li r0, 0 -/* 80286598 002834F8 D0 1F 02 94 */ stfs f0, 0x294(r31) -/* 8028659C 002834FC 98 1F 02 A4 */ stb r0, 0x2a4(r31) -lbl_802865A0: -/* 802865A0 00283500 38 00 00 01 */ li r0, 1 -/* 802865A4 00283504 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802865A8 00283508 90 1F 02 58 */ stw r0, 0x258(r31) -/* 802865AC 0028350C 90 1F 02 AC */ stw r0, 0x2ac(r31) -/* 802865B0 00283510 D0 1F 02 A8 */ stfs f0, 0x2a8(r31) -/* 802865B4 00283514 48 00 01 20 */ b lbl_802866D4 -lbl_802865B8: -/* 802865B8 00283518 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 802865BC 0028351C 2C 00 00 00 */ cmpwi r0, 0 -/* 802865C0 00283520 40 82 01 14 */ bne lbl_802866D4 -/* 802865C4 00283524 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802865C8 00283528 38 00 00 03 */ li r0, 3 -/* 802865CC 0028352C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 802865D0 00283530 C0 23 01 10 */ lfs f1, 0x110(r3) -/* 802865D4 00283534 D0 3F 02 88 */ stfs f1, 0x288(r31) -/* 802865D8 00283538 90 1F 02 58 */ stw r0, 0x258(r31) -/* 802865DC 0028353C D0 1F 02 A0 */ stfs f0, 0x2a0(r31) -/* 802865E0 00283540 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802865E4 00283544 88 03 02 2A */ lbz r0, 0x22a(r3) -/* 802865E8 00283548 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802865EC 0028354C 41 82 00 10 */ beq lbl_802865FC -/* 802865F0 00283550 C0 03 01 00 */ lfs f0, 0x100(r3) -/* 802865F4 00283554 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 802865F8 00283558 48 00 00 DC */ b lbl_802866D4 -lbl_802865FC: -/* 802865FC 0028355C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286600 00283560 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 80286604 00283564 48 00 00 D0 */ b lbl_802866D4 -lbl_80286608: -/* 80286608 00283568 38 60 00 04 */ li r3, 4 -/* 8028660C 0028356C 38 00 00 00 */ li r0, 0 -/* 80286610 00283570 90 7F 02 58 */ stw r3, 0x258(r31) -/* 80286614 00283574 90 1F 02 AC */ stw r0, 0x2ac(r31) -/* 80286618 00283578 48 00 00 BC */ b lbl_802866D4 -lbl_8028661C: -/* 8028661C 0028357C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286620 00283580 38 00 00 00 */ li r0, 0 -/* 80286624 00283584 D0 1F 03 00 */ stfs f0, 0x300(r31) -/* 80286628 00283588 90 1F 02 58 */ stw r0, 0x258(r31) -/* 8028662C 0028358C D0 1F 02 88 */ stfs f0, 0x288(r31) -/* 80286630 00283590 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 80286634 00283594 90 1F 02 AC */ stw r0, 0x2ac(r31) -/* 80286638 00283598 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8028663C 0028359C 2C 00 00 01 */ cmpwi r0, 1 -/* 80286640 002835A0 41 82 00 0C */ beq lbl_8028664C -/* 80286644 002835A4 38 80 00 25 */ li r4, 0x25 -/* 80286648 002835A8 4B DC DD 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8028664C: -/* 8028664C 002835AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286650 002835B0 38 00 00 00 */ li r0, 0 -/* 80286654 002835B4 D0 1F 02 94 */ stfs f0, 0x294(r31) -/* 80286658 002835B8 D0 1F 02 9C */ stfs f0, 0x29c(r31) -/* 8028665C 002835BC 98 1F 02 A4 */ stb r0, 0x2a4(r31) -/* 80286660 002835C0 90 1F 02 98 */ stw r0, 0x298(r31) -/* 80286664 002835C4 48 00 00 70 */ b lbl_802866D4 -lbl_80286668: -/* 80286668 002835C8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 8028666C 002835CC D0 3F 02 88 */ stfs f1, 0x288(r31) -/* 80286670 002835D0 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 80286674 002835D4 2C 00 00 02 */ cmpwi r0, 2 -/* 80286678 002835D8 41 82 00 54 */ beq lbl_802866CC -/* 8028667C 002835DC 38 00 00 02 */ li r0, 2 -/* 80286680 002835E0 90 1F 02 58 */ stw r0, 0x258(r31) -/* 80286684 002835E4 C0 1F 02 94 */ lfs f0, 0x294(r31) -/* 80286688 002835E8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028668C 002835EC 4C 40 13 82 */ cror 2, 0, 2 -/* 80286690 002835F0 40 82 00 3C */ bne lbl_802866CC -/* 80286694 002835F4 C0 1F 02 9C */ lfs f0, 0x29c(r31) -/* 80286698 002835F8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028669C 002835FC 4C 40 13 82 */ cror 2, 0, 2 -/* 802866A0 00283600 40 82 00 2C */ bne lbl_802866CC -/* 802866A4 00283604 88 1F 03 DC */ lbz r0, 0x3dc(r31) -/* 802866A8 00283608 28 00 00 00 */ cmplwi r0, 0 -/* 802866AC 0028360C 40 82 00 20 */ bne lbl_802866CC -/* 802866B0 00283610 88 1F 03 DD */ lbz r0, 0x3dd(r31) -/* 802866B4 00283614 28 00 00 00 */ cmplwi r0, 0 -/* 802866B8 00283618 40 82 00 14 */ bne lbl_802866CC -/* 802866BC 0028361C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 802866C0 00283620 38 00 00 00 */ li r0, 0 -/* 802866C4 00283624 D0 1F 02 9C */ stfs f0, 0x29c(r31) -/* 802866C8 00283628 98 1F 02 A4 */ stb r0, 0x2a4(r31) -lbl_802866CC: -/* 802866CC 0028362C 38 00 00 01 */ li r0, 1 -/* 802866D0 00283630 90 1F 02 AC */ stw r0, 0x2ac(r31) -lbl_802866D4: -/* 802866D4 00283634 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802866D8 00283638 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802866DC 0028363C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802866E0 00283640 7C 08 03 A6 */ mtlr r0 -/* 802866E4 00283644 38 21 00 20 */ addi r1, r1, 0x20 -/* 802866E8 00283648 4E 80 00 20 */ blr - -.global JumpInput__7CPlayerFRC11CFinalInputR13CStateManager -JumpInput__7CPlayerFRC11CFinalInputR13CStateManager: -/* 802866EC 0028364C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802866F0 00283650 7C 08 02 A6 */ mflr r0 -/* 802866F4 00283654 90 01 00 94 */ stw r0, 0x94(r1) -/* 802866F8 00283658 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802866FC 0028365C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80286700 00283660 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80286704 00283664 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80286708 00283668 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8028670C 0028366C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80286710 00283670 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80286714 00283674 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80286718 00283678 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 8028671C 0028367C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 80286720 00283680 DB 41 00 30 */ stfd f26, 0x30(r1) -/* 80286724 00283684 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 -/* 80286728 00283688 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028672C 0028368C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80286730 00283690 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80286734 00283694 7C 7D 1B 78 */ mr r29, r3 -/* 80286738 00283698 7C 9E 23 78 */ mr r30, r4 -/* 8028673C 0028369C 7C BF 2B 78 */ mr r31, r5 -/* 80286740 002836A0 4B D9 3A D5 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80286744 002836A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286748 002836A8 41 82 00 18 */ beq lbl_80286760 -/* 8028674C 002836AC C3 BD 00 E8 */ lfs f29, 0xe8(r29) -/* 80286750 002836B0 7F A3 EB 78 */ mr r3, r29 -/* 80286754 002836B4 48 00 1C 09 */ bl GetGravity__7CPlayerCFv -/* 80286758 002836B8 EC 21 07 72 */ fmuls f1, f1, f29 -/* 8028675C 002836BC 48 00 02 D4 */ b lbl_80286A30 -lbl_80286760: -/* 80286760 002836C0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80286764 002836C4 38 80 00 15 */ li r4, 0x15 -/* 80286768 002836C8 C3 E2 BD 80 */ lfs f31, lbl_805ADAA0@sda21(r2) -/* 8028676C 002836CC 80 63 00 00 */ lwz r3, 0(r3) -/* 80286770 002836D0 4B E0 B3 51 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80286774 002836D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286778 002836D8 40 82 00 60 */ bne lbl_802867D8 -/* 8028677C 002836DC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 80286780 002836E0 2C 00 00 02 */ cmpwi r0, 2 -/* 80286784 002836E4 40 82 00 0C */ bne lbl_80286790 -/* 80286788 002836E8 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028678C 002836EC 48 00 00 08 */ b lbl_80286794 -lbl_80286790: -/* 80286790 002836F0 38 00 00 04 */ li r0, 4 -lbl_80286794: -/* 80286794 002836F4 2C 00 00 05 */ cmpwi r0, 5 -/* 80286798 002836F8 41 82 00 2C */ beq lbl_802867C4 -/* 8028679C 002836FC 40 80 00 10 */ bge lbl_802867AC -/* 802867A0 00283700 2C 00 00 04 */ cmpwi r0, 4 -/* 802867A4 00283704 40 80 00 14 */ bge lbl_802867B8 -/* 802867A8 00283708 48 00 00 30 */ b lbl_802867D8 -lbl_802867AC: -/* 802867AC 0028370C 2C 00 00 07 */ cmpwi r0, 7 -/* 802867B0 00283710 40 80 00 28 */ bge lbl_802867D8 -/* 802867B4 00283714 48 00 00 1C */ b lbl_802867D0 -lbl_802867B8: -/* 802867B8 00283718 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802867BC 0028371C C3 E3 00 DC */ lfs f31, 0xdc(r3) -/* 802867C0 00283720 48 00 00 18 */ b lbl_802867D8 -lbl_802867C4: -/* 802867C4 00283724 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802867C8 00283728 C3 E3 00 E4 */ lfs f31, 0xe4(r3) -/* 802867CC 0028372C 48 00 00 0C */ b lbl_802867D8 -lbl_802867D0: -/* 802867D0 00283730 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802867D4 00283734 C3 E3 00 EC */ lfs f31, 0xec(r3) -lbl_802867D8: -/* 802867D8 00283738 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 802867DC 0028373C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802867E0 00283740 28 00 00 00 */ cmplwi r0, 0 -/* 802867E4 00283744 C3 83 00 CC */ lfs f28, 0xcc(r3) -/* 802867E8 00283748 C3 63 00 D0 */ lfs f27, 0xd0(r3) -/* 802867EC 0028374C C3 43 01 14 */ lfs f26, 0x114(r3) -/* 802867F0 00283750 C3 C3 00 D4 */ lfs f30, 0xd4(r3) -/* 802867F4 00283754 C3 A3 00 D8 */ lfs f29, 0xd8(r3) -/* 802867F8 00283758 41 82 00 10 */ beq lbl_80286808 -/* 802867FC 0028375C C3 43 02 0C */ lfs f26, 0x20c(r3) -/* 80286800 00283760 C3 C3 02 10 */ lfs f30, 0x210(r3) -/* 80286804 00283764 C3 A3 02 14 */ lfs f29, 0x214(r3) -lbl_80286808: -/* 80286808 00283768 7F A3 EB 78 */ mr r3, r29 -/* 8028680C 0028376C 4B FF E5 D5 */ bl GetEyeHeight__7CPlayerCFv -/* 80286810 00283770 C0 42 BE 38 */ lfs f2, lbl_805ADB58@sda21(r2) -/* 80286814 00283774 C0 1D 08 28 */ lfs f0, 0x828(r29) -/* 80286818 00283778 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8028681C 0028377C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80286820 00283780 4C 41 13 82 */ cror 2, 1, 2 -/* 80286824 00283784 7C 00 00 26 */ mfcr r0 -/* 80286828 00283788 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 8028682C 0028378C 41 82 00 08 */ beq lbl_80286834 -/* 80286830 00283790 EF 5A 07 F2 */ fmuls f26, f26, f31 -lbl_80286834: -/* 80286834 00283794 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 80286838 00283798 2C 00 00 02 */ cmpwi r0, 2 -/* 8028683C 0028379C 40 82 01 10 */ bne lbl_8028694C -/* 80286840 002837A0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286844 002837A4 C0 5D 02 8C */ lfs f2, 0x28c(r29) -/* 80286848 002837A8 C0 23 00 FC */ lfs f1, 0xfc(r3) -/* 8028684C 002837AC C0 03 01 00 */ lfs f0, 0x100(r3) -/* 80286850 002837B0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80286854 002837B4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80286858 002837B8 4C 41 13 82 */ cror 2, 1, 2 -/* 8028685C 002837BC 40 82 00 DC */ bne lbl_80286938 -/* 80286860 002837C0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286864 002837C4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80286868 002837C8 40 80 00 D0 */ bge lbl_80286938 -/* 8028686C 002837CC 7F C4 F3 78 */ mr r4, r30 -/* 80286870 002837D0 38 60 00 0A */ li r3, 0xa -/* 80286874 002837D4 4B D8 5F 5D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286878 002837D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028687C 002837DC 41 82 00 BC */ beq lbl_80286938 -/* 80286880 002837E0 7F A3 EB 78 */ mr r3, r29 -/* 80286884 002837E4 7F E5 FB 78 */ mr r5, r31 -/* 80286888 002837E8 38 80 00 01 */ li r4, 1 -/* 8028688C 002837EC 4B FF FB 61 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -/* 80286890 002837F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286894 002837F4 7F A3 EB 78 */ mr r3, r29 -/* 80286898 002837F8 7F C4 F3 78 */ mr r4, r30 -/* 8028689C 002837FC D0 1D 03 84 */ stfs f0, 0x384(r29) -/* 802868A0 00283800 48 00 03 B1 */ bl StrafeInput__7CPlayerCFRC11CFinalInput -/* 802868A4 00283804 D0 3D 03 80 */ stfs f1, 0x380(r29) -/* 802868A8 00283808 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802868AC 0028380C 88 03 02 2A */ lbz r0, 0x22a(r3) -/* 802868B0 00283810 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802868B4 00283814 41 82 00 38 */ beq lbl_802868EC -/* 802868B8 00283818 C0 1D 01 40 */ lfs f0, 0x140(r29) -/* 802868BC 0028381C C0 3D 00 E8 */ lfs f1, 0xe8(r29) -/* 802868C0 00283820 EC 5A 00 28 */ fsubs f2, f26, f0 -/* 802868C4 00283824 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802868C8 00283828 D0 01 00 08 */ stfs f0, 8(r1) -/* 802868CC 0028382C EC 22 00 72 */ fmuls f1, f2, f1 -/* 802868D0 00283830 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802868D4 00283834 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802868D8 00283838 4B D9 4C 5D */ bl Identity__10CAxisAngleFv -/* 802868DC 0028383C 7C 65 1B 78 */ mr r5, r3 -/* 802868E0 00283840 7F A3 EB 78 */ mr r3, r29 -/* 802868E4 00283844 38 81 00 08 */ addi r4, r1, 8 -/* 802868E8 00283848 4B E9 5A B1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_802868EC: -/* 802868EC 0028384C 7F C4 F3 78 */ mr r4, r30 -/* 802868F0 00283850 38 60 00 00 */ li r3, 0 -/* 802868F4 00283854 4B D8 60 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 802868F8 00283858 FF 40 08 90 */ fmr f26, f1 -/* 802868FC 0028385C 7F C4 F3 78 */ mr r4, r30 -/* 80286900 00283860 38 60 00 01 */ li r3, 1 -/* 80286904 00283864 4B D8 60 15 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286908 00283868 FC 1A 08 40 */ fcmpo cr0, f26, f1 -/* 8028690C 0028386C 40 80 00 14 */ bge lbl_80286920 -/* 80286910 00283870 7F C4 F3 78 */ mr r4, r30 -/* 80286914 00283874 38 60 00 01 */ li r3, 1 -/* 80286918 00283878 4B D8 60 01 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 8028691C 0028387C FF 40 08 90 */ fmr f26, f1 -lbl_80286920: -/* 80286920 00283880 EC 3E E8 28 */ fsubs f1, f30, f29 -/* 80286924 00283884 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 80286928 00283888 EC 3A F0 7C */ fnmsubs f1, f26, f1, f30 -/* 8028692C 0028388C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80286930 00283890 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80286934 00283894 48 00 00 FC */ b lbl_80286A30 -lbl_80286938: -/* 80286938 00283898 C3 7D 00 E8 */ lfs f27, 0xe8(r29) -/* 8028693C 0028389C 7F A3 EB 78 */ mr r3, r29 -/* 80286940 002838A0 48 00 1A 1D */ bl GetGravity__7CPlayerCFv -/* 80286944 002838A4 EC 21 06 F2 */ fmuls f1, f1, f27 -/* 80286948 002838A8 48 00 00 E8 */ b lbl_80286A30 -lbl_8028694C: -/* 8028694C 002838AC 7F C4 F3 78 */ mr r4, r30 -/* 80286950 002838B0 38 60 00 0A */ li r3, 0xa -/* 80286954 002838B4 4B D8 5F 21 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286958 002838B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028695C 002838BC 40 82 00 24 */ bne lbl_80286980 -/* 80286960 002838C0 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 80286964 002838C4 2C 00 00 01 */ cmpwi r0, 1 -/* 80286968 002838C8 40 82 00 AC */ bne lbl_80286A14 -/* 8028696C 002838CC C0 3D 02 90 */ lfs f1, 0x290(r29) -/* 80286970 002838D0 C0 1D 02 88 */ lfs f0, 0x288(r29) -/* 80286974 002838D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286978 002838D8 4C 40 13 82 */ cror 2, 0, 2 -/* 8028697C 002838DC 40 82 00 98 */ bne lbl_80286A14 -lbl_80286980: -/* 80286980 002838E0 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 80286984 002838E4 2C 00 00 01 */ cmpwi r0, 1 -/* 80286988 002838E8 41 82 00 40 */ beq lbl_802869C8 -/* 8028698C 002838EC 7F C4 F3 78 */ mr r4, r30 -/* 80286990 002838F0 38 60 00 0A */ li r3, 0xa -/* 80286994 002838F4 4B D8 5E 3D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286998 002838F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028699C 002838FC 41 82 00 24 */ beq lbl_802869C0 -/* 802869A0 00283900 7F A3 EB 78 */ mr r3, r29 -/* 802869A4 00283904 7F E5 FB 78 */ mr r5, r31 -/* 802869A8 00283908 38 80 00 01 */ li r4, 1 -/* 802869AC 0028390C 4B FF FA 41 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -/* 802869B0 00283910 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 802869B4 00283914 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 802869B8 00283918 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 802869BC 0028391C 48 00 00 74 */ b lbl_80286A30 -lbl_802869C0: -/* 802869C0 00283920 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 802869C4 00283924 48 00 00 6C */ b lbl_80286A30 -lbl_802869C8: -/* 802869C8 00283928 7F C4 F3 78 */ mr r4, r30 -/* 802869CC 0028392C 38 60 00 00 */ li r3, 0 -/* 802869D0 00283930 4B D8 5F 49 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 802869D4 00283934 FF 40 08 90 */ fmr f26, f1 -/* 802869D8 00283938 7F C4 F3 78 */ mr r4, r30 -/* 802869DC 0028393C 38 60 00 01 */ li r3, 1 -/* 802869E0 00283940 4B D8 5F 39 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 802869E4 00283944 FC 1A 08 40 */ fcmpo cr0, f26, f1 -/* 802869E8 00283948 40 80 00 14 */ bge lbl_802869FC -/* 802869EC 0028394C 7F C4 F3 78 */ mr r4, r30 -/* 802869F0 00283950 38 60 00 01 */ li r3, 1 -/* 802869F4 00283954 4B D8 5F 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 802869F8 00283958 FF 40 08 90 */ fmr f26, f1 -lbl_802869FC: -/* 802869FC 0028395C EC 3C D8 28 */ fsubs f1, f28, f27 -/* 80286A00 00283960 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 80286A04 00283964 EC 3A E0 7C */ fnmsubs f1, f26, f1, f28 -/* 80286A08 00283968 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80286A0C 0028396C EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80286A10 00283970 48 00 00 20 */ b lbl_80286A30 -lbl_80286A14: -/* 80286A14 00283974 2C 00 00 01 */ cmpwi r0, 1 -/* 80286A18 00283978 40 82 00 14 */ bne lbl_80286A2C -/* 80286A1C 0028397C 7F A3 EB 78 */ mr r3, r29 -/* 80286A20 00283980 7F E5 FB 78 */ mr r5, r31 -/* 80286A24 00283984 38 80 00 02 */ li r4, 2 -/* 80286A28 00283988 4B FF F9 C5 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -lbl_80286A2C: -/* 80286A2C 0028398C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -lbl_80286A30: -/* 80286A30 00283990 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80286A34 00283994 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80286A38 00283998 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80286A3C 0028399C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80286A40 002839A0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80286A44 002839A4 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80286A48 002839A8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80286A4C 002839AC CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80286A50 002839B0 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 80286A54 002839B4 CB 61 00 40 */ lfd f27, 0x40(r1) -/* 80286A58 002839B8 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 -/* 80286A5C 002839BC CB 41 00 30 */ lfd f26, 0x30(r1) -/* 80286A60 002839C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80286A64 002839C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80286A68 002839C8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80286A6C 002839CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80286A70 002839D0 7C 08 03 A6 */ mtlr r0 -/* 80286A74 002839D4 38 21 00 90 */ addi r1, r1, 0x90 -/* 80286A78 002839D8 4E 80 00 20 */ blr - -.global TurnInput__7CPlayerCFRC11CFinalInput -TurnInput__7CPlayerCFRC11CFinalInput: -/* 80286A7C 002839DC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80286A80 002839E0 7C 08 02 A6 */ mflr r0 -/* 80286A84 002839E4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80286A88 002839E8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80286A8C 002839EC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80286A90 002839F0 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80286A94 002839F4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80286A98 002839F8 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80286A9C 002839FC F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80286AA0 00283A00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80286AA4 00283A04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80286AA8 00283A08 7C 7E 1B 78 */ mr r30, r3 -/* 80286AAC 00283A0C 7C 9F 23 78 */ mr r31, r4 -/* 80286AB0 00283A10 80 03 03 04 */ lwz r0, 0x304(r3) -/* 80286AB4 00283A14 2C 00 00 01 */ cmpwi r0, 1 -/* 80286AB8 00283A18 41 82 00 0C */ beq lbl_80286AC4 -/* 80286ABC 00283A1C 2C 00 00 05 */ cmpwi r0, 5 -/* 80286AC0 00283A20 40 82 00 0C */ bne lbl_80286ACC -lbl_80286AC4: -/* 80286AC4 00283A24 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80286AC8 00283A28 48 00 01 58 */ b lbl_80286C20 -lbl_80286ACC: -/* 80286ACC 00283A2C 4B D9 37 49 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80286AD0 00283A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286AD4 00283A34 41 82 00 0C */ beq lbl_80286AE0 -/* 80286AD8 00283A38 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80286ADC 00283A3C 48 00 01 44 */ b lbl_80286C20 -lbl_80286AE0: -/* 80286AE0 00283A40 7F E4 FB 78 */ mr r4, r31 -/* 80286AE4 00283A44 38 60 00 02 */ li r3, 2 -/* 80286AE8 00283A48 4B D8 5E 31 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286AEC 00283A4C FF C0 08 90 */ fmr f30, f1 -/* 80286AF0 00283A50 7F E4 FB 78 */ mr r4, r31 -/* 80286AF4 00283A54 38 60 00 03 */ li r3, 3 -/* 80286AF8 00283A58 4B D8 5E 21 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286AFC 00283A5C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286B00 00283A60 FF A0 08 90 */ fmr f29, f1 -/* 80286B04 00283A64 88 63 02 28 */ lbz r3, 0x228(r3) -/* 80286B08 00283A68 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80286B0C 00283A6C 41 82 00 54 */ beq lbl_80286B60 -/* 80286B10 00283A70 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80286B14 00283A74 41 82 00 14 */ beq lbl_80286B28 -/* 80286B18 00283A78 41 82 00 98 */ beq lbl_80286BB0 -/* 80286B1C 00283A7C 88 1E 03 DD */ lbz r0, 0x3dd(r30) -/* 80286B20 00283A80 28 00 00 00 */ cmplwi r0, 0 -/* 80286B24 00283A84 41 82 00 8C */ beq lbl_80286BB0 -lbl_80286B28: -/* 80286B28 00283A88 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 80286B2C 00283A8C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80286B30 00283A90 40 80 00 80 */ bge lbl_80286BB0 -/* 80286B34 00283A94 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80286B38 00283A98 40 80 00 78 */ bge lbl_80286BB0 -/* 80286B3C 00283A9C 7F E4 FB 78 */ mr r4, r31 -/* 80286B40 00283AA0 38 60 00 06 */ li r3, 6 -/* 80286B44 00283AA4 4B D8 5D D5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286B48 00283AA8 FF C0 08 90 */ fmr f30, f1 -/* 80286B4C 00283AAC 7F E4 FB 78 */ mr r4, r31 -/* 80286B50 00283AB0 38 60 00 07 */ li r3, 7 -/* 80286B54 00283AB4 4B D8 5D C5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286B58 00283AB8 FF A0 08 90 */ fmr f29, f1 -/* 80286B5C 00283ABC 48 00 00 54 */ b lbl_80286BB0 -lbl_80286B60: -/* 80286B60 00283AC0 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80286B64 00283AC4 41 82 00 14 */ beq lbl_80286B78 -/* 80286B68 00283AC8 41 82 00 48 */ beq lbl_80286BB0 -/* 80286B6C 00283ACC 88 1E 03 DD */ lbz r0, 0x3dd(r30) -/* 80286B70 00283AD0 28 00 00 00 */ cmplwi r0, 0 -/* 80286B74 00283AD4 41 82 00 3C */ beq lbl_80286BB0 -lbl_80286B78: -/* 80286B78 00283AD8 7F E4 FB 78 */ mr r4, r31 -/* 80286B7C 00283ADC 38 60 00 06 */ li r3, 6 -/* 80286B80 00283AE0 4B D8 5D 99 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286B84 00283AE4 FF E0 08 90 */ fmr f31, f1 -/* 80286B88 00283AE8 7F E4 FB 78 */ mr r4, r31 -/* 80286B8C 00283AEC 38 60 00 07 */ li r3, 7 -/* 80286B90 00283AF0 4B D8 5D 89 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286B94 00283AF4 C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 80286B98 00283AF8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80286B9C 00283AFC 41 81 00 0C */ bgt lbl_80286BA8 -/* 80286BA0 00283B00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286BA4 00283B04 40 81 00 0C */ ble lbl_80286BB0 -lbl_80286BA8: -/* 80286BA8 00283B08 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80286BAC 00283B0C 48 00 00 74 */ b lbl_80286C20 -lbl_80286BB0: -/* 80286BB0 00283B10 C0 3E 03 2C */ lfs f1, 0x32c(r30) -/* 80286BB4 00283B14 EF BE E8 28 */ fsubs f29, f30, f29 -/* 80286BB8 00283B18 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286BBC 00283B1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286BC0 00283B20 40 81 00 38 */ ble lbl_80286BF8 -/* 80286BC4 00283B24 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13) -/* 80286BC8 00283B28 38 81 00 08 */ addi r4, r1, 8 -/* 80286BCC 00283B2C 38 6D 99 68 */ addi r3, r13, lbl_805A8528@sda21 -/* 80286BD0 00283B30 38 AD 99 6C */ addi r5, r13, lbl_805A852C@sda21 -/* 80286BD4 00283B34 C0 06 01 80 */ lfs f0, 0x180(r6) -/* 80286BD8 00283B38 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80286BDC 00283B3C D0 01 00 08 */ stfs f0, 8(r1) -/* 80286BE0 00283B40 4B D8 56 D5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80286BE4 00283B44 C0 43 00 00 */ lfs f2, 0(r3) -/* 80286BE8 00283B48 C0 22 BD 7C */ lfs f1, lbl_805ADA9C@sda21(r2) -/* 80286BEC 00283B4C C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80286BF0 00283B50 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 -/* 80286BF4 00283B54 EF BD 00 32 */ fmuls f29, f29, f0 -lbl_80286BF8: -/* 80286BF8 00283B58 FC 20 EA 10 */ fabs f1, f29 -/* 80286BFC 00283B5C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80286C00 00283B60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286C04 00283B64 40 81 00 18 */ ble lbl_80286C1C -/* 80286C08 00283B68 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80286C0C 00283B6C C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80286C10 00283B70 FC 1D 00 6E */ fsel f0, f29, f1, f0 -/* 80286C14 00283B74 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80286C18 00283B78 48 00 00 08 */ b lbl_80286C20 -lbl_80286C1C: -/* 80286C1C 00283B7C FC 20 E8 90 */ fmr f1, f29 -lbl_80286C20: -/* 80286C20 00283B80 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80286C24 00283B84 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80286C28 00283B88 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80286C2C 00283B8C CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80286C30 00283B90 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80286C34 00283B94 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80286C38 00283B98 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80286C3C 00283B9C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80286C40 00283BA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80286C44 00283BA4 7C 08 03 A6 */ mtlr r0 -/* 80286C48 00283BA8 38 21 00 50 */ addi r1, r1, 0x50 -/* 80286C4C 00283BAC 4E 80 00 20 */ blr - -.global StrafeInput__7CPlayerCFRC11CFinalInput -StrafeInput__7CPlayerCFRC11CFinalInput: -/* 80286C50 00283BB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80286C54 00283BB4 7C 08 02 A6 */ mflr r0 -/* 80286C58 00283BB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80286C5C 00283BBC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80286C60 00283BC0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80286C64 00283BC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80286C68 00283BC8 93 C1 00 08 */ stw r30, 8(r1) -/* 80286C6C 00283BCC 7C 7E 1B 78 */ mr r30, r3 -/* 80286C70 00283BD0 7C 9F 23 78 */ mr r31, r4 -/* 80286C74 00283BD4 4B D9 35 A1 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80286C78 00283BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286C7C 00283BDC 40 82 00 10 */ bne lbl_80286C8C -/* 80286C80 00283BE0 80 1E 03 04 */ lwz r0, 0x304(r30) -/* 80286C84 00283BE4 2C 00 00 00 */ cmpwi r0, 0 -/* 80286C88 00283BE8 40 82 00 0C */ bne lbl_80286C94 -lbl_80286C8C: -/* 80286C8C 00283BEC C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80286C90 00283BF0 48 00 00 24 */ b lbl_80286CB4 -lbl_80286C94: -/* 80286C94 00283BF4 7F E4 FB 78 */ mr r4, r31 -/* 80286C98 00283BF8 38 60 00 04 */ li r3, 4 -/* 80286C9C 00283BFC 4B D8 5C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286CA0 00283C00 FF E0 08 90 */ fmr f31, f1 -/* 80286CA4 00283C04 7F E4 FB 78 */ mr r4, r31 -/* 80286CA8 00283C08 38 60 00 05 */ li r3, 5 -/* 80286CAC 00283C0C 4B D8 5C 6D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286CB0 00283C10 EC 21 F8 28 */ fsubs f1, f1, f31 -lbl_80286CB4: -/* 80286CB4 00283C14 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80286CB8 00283C18 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80286CBC 00283C1C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80286CC0 00283C20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80286CC4 00283C24 83 C1 00 08 */ lwz r30, 8(r1) -/* 80286CC8 00283C28 7C 08 03 A6 */ mtlr r0 -/* 80286CCC 00283C2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80286CD0 00283C30 4E 80 00 20 */ blr - -.global ForwardInput__7CPlayerCFRC11CFinalInputf -ForwardInput__7CPlayerCFRC11CFinalInputf: -/* 80286CD4 00283C34 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80286CD8 00283C38 7C 08 02 A6 */ mflr r0 -/* 80286CDC 00283C3C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80286CE0 00283C40 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80286CE4 00283C44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80286CE8 00283C48 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80286CEC 00283C4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80286CF0 00283C50 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80286CF4 00283C54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80286CF8 00283C58 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80286CFC 00283C5C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80286D00 00283C60 FF A0 08 90 */ fmr f29, f1 -/* 80286D04 00283C64 7C 7E 1B 78 */ mr r30, r3 -/* 80286D08 00283C68 7C 9F 23 78 */ mr r31, r4 -/* 80286D0C 00283C6C 38 60 00 00 */ li r3, 0 -/* 80286D10 00283C70 4B D8 5C 09 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286D14 00283C74 FF E0 08 90 */ fmr f31, f1 -/* 80286D18 00283C78 7F E4 FB 78 */ mr r4, r31 -/* 80286D1C 00283C7C 38 60 00 01 */ li r3, 1 -/* 80286D20 00283C80 4B D8 5B F9 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80286D24 00283C84 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 80286D28 00283C88 FF C0 08 90 */ fmr f30, f1 -/* 80286D2C 00283C8C 2C 00 00 00 */ cmpwi r0, 0 -/* 80286D30 00283C90 40 82 00 14 */ bne lbl_80286D44 -/* 80286D34 00283C94 7F C3 F3 78 */ mr r3, r30 -/* 80286D38 00283C98 4B EF 45 71 */ bl InGrappleJumpCooldown__7CPlayerCFv -/* 80286D3C 00283C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286D40 00283CA0 41 82 00 08 */ beq lbl_80286D48 -lbl_80286D44: -/* 80286D44 00283CA4 C3 C2 BD A0 */ lfs f30, lbl_805ADAC0@sda21(r2) -lbl_80286D48: -/* 80286D48 00283CA8 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 80286D4C 00283CAC 2C 03 00 02 */ cmpwi r3, 2 -/* 80286D50 00283CB0 40 82 00 14 */ bne lbl_80286D64 -/* 80286D54 00283CB4 80 1E 05 84 */ lwz r0, 0x584(r30) -/* 80286D58 00283CB8 28 00 00 02 */ cmplwi r0, 2 -/* 80286D5C 00283CBC 40 82 00 08 */ bne lbl_80286D64 -/* 80286D60 00283CC0 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) -lbl_80286D64: -/* 80286D64 00283CC4 2C 03 00 03 */ cmpwi r3, 3 -/* 80286D68 00283CC8 40 82 00 14 */ bne lbl_80286D7C -/* 80286D6C 00283CCC 80 1E 05 84 */ lwz r0, 0x584(r30) -/* 80286D70 00283CD0 28 00 00 05 */ cmplwi r0, 5 -/* 80286D74 00283CD4 40 82 00 08 */ bne lbl_80286D7C -/* 80286D78 00283CD8 C3 E2 BD A0 */ lfs f31, lbl_805ADAC0@sda21(r2) -lbl_80286D7C: -/* 80286D7C 00283CDC C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) -/* 80286D80 00283CE0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80286D84 00283CE4 41 80 00 88 */ blt lbl_80286E0C -/* 80286D88 00283CE8 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) -/* 80286D8C 00283CEC C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80286D90 00283CF0 EF FF 08 24 */ fdivs f31, f31, f1 -/* 80286D94 00283CF4 FC 20 FA 10 */ fabs f1, f31 -/* 80286D98 00283CF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286D9C 00283CFC 40 81 00 14 */ ble lbl_80286DB0 -/* 80286DA0 00283D00 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80286DA4 00283D04 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80286DA8 00283D08 FC 1F 00 6E */ fsel f0, f31, f1, f0 -/* 80286DAC 00283D0C EF E1 00 32 */ fmuls f31, f1, f0 -lbl_80286DB0: -/* 80286DB0 00283D10 FC 00 EA 10 */ fabs f0, f29 -/* 80286DB4 00283D14 FC 40 F8 90 */ fmr f2, f31 -/* 80286DB8 00283D18 FC 20 00 18 */ frsp f1, f0 -/* 80286DBC 00283D1C 48 10 DE B1 */ bl atan2 -/* 80286DC0 00283D20 FC 20 08 18 */ frsp f1, f1 -/* 80286DC4 00283D24 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) -/* 80286DC8 00283D28 FC 20 0A 10 */ fabs f1, f1 -/* 80286DCC 00283D2C FC 20 08 18 */ frsp f1, f1 -/* 80286DD0 00283D30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286DD4 00283D34 40 80 00 38 */ bge lbl_80286E0C -/* 80286DD8 00283D38 FC 20 EA 10 */ fabs f1, f29 -/* 80286DDC 00283D3C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286DE0 00283D40 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 80286DE4 00283D44 38 61 00 20 */ addi r3, r1, 0x20 -/* 80286DE8 00283D48 FC 20 08 18 */ frsp f1, f1 -/* 80286DEC 00283D4C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80286DF0 00283D50 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80286DF4 00283D54 48 08 D9 05 */ bl CanBeNormalized__9CVector3fCFv -/* 80286DF8 00283D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286DFC 00283D5C 41 82 00 10 */ beq lbl_80286E0C -/* 80286E00 00283D60 38 61 00 20 */ addi r3, r1, 0x20 -/* 80286E04 00283D64 48 08 DA B5 */ bl Magnitude__9CVector3fCFv -/* 80286E08 00283D68 FF E0 08 90 */ fmr f31, f1 -lbl_80286E0C: -/* 80286E0C 00283D6C C0 02 BE 3C */ lfs f0, lbl_805ADB5C@sda21(r2) -/* 80286E10 00283D70 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80286E14 00283D74 41 80 00 88 */ blt lbl_80286E9C -/* 80286E18 00283D78 C0 22 BE 38 */ lfs f1, lbl_805ADB58@sda21(r2) -/* 80286E1C 00283D7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80286E20 00283D80 EF DE 08 24 */ fdivs f30, f30, f1 -/* 80286E24 00283D84 FC 20 F2 10 */ fabs f1, f30 -/* 80286E28 00283D88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286E2C 00283D8C 40 81 00 14 */ ble lbl_80286E40 -/* 80286E30 00283D90 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80286E34 00283D94 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80286E38 00283D98 FC 1E 00 6E */ fsel f0, f30, f1, f0 -/* 80286E3C 00283D9C EF C1 00 32 */ fmuls f30, f1, f0 -lbl_80286E40: -/* 80286E40 00283DA0 FC 00 EA 10 */ fabs f0, f29 -/* 80286E44 00283DA4 FC 40 F0 90 */ fmr f2, f30 -/* 80286E48 00283DA8 FC 20 00 18 */ frsp f1, f0 -/* 80286E4C 00283DAC 48 10 DE 21 */ bl atan2 -/* 80286E50 00283DB0 FC 20 08 18 */ frsp f1, f1 -/* 80286E54 00283DB4 C0 02 BE 40 */ lfs f0, lbl_805ADB60@sda21(r2) -/* 80286E58 00283DB8 FC 20 0A 10 */ fabs f1, f1 -/* 80286E5C 00283DBC FC 20 08 18 */ frsp f1, f1 -/* 80286E60 00283DC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286E64 00283DC4 40 80 00 38 */ bge lbl_80286E9C -/* 80286E68 00283DC8 FC 20 EA 10 */ fabs f1, f29 -/* 80286E6C 00283DCC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286E70 00283DD0 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 80286E74 00283DD4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80286E78 00283DD8 FC 20 08 18 */ frsp f1, f1 -/* 80286E7C 00283DDC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80286E80 00283DE0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80286E84 00283DE4 48 08 D8 75 */ bl CanBeNormalized__9CVector3fCFv -/* 80286E88 00283DE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286E8C 00283DEC 41 82 00 10 */ beq lbl_80286E9C -/* 80286E90 00283DF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80286E94 00283DF4 48 08 DA 25 */ bl Magnitude__9CVector3fCFv -/* 80286E98 00283DF8 FF C0 08 90 */ fmr f30, f1 -lbl_80286E9C: -/* 80286E9C 00283DFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286EA0 00283E00 88 03 02 28 */ lbz r0, 0x228(r3) -/* 80286EA4 00283E04 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80286EA8 00283E08 40 82 00 70 */ bne lbl_80286F18 -/* 80286EAC 00283E0C C0 1E 01 40 */ lfs f0, 0x140(r30) -/* 80286EB0 00283E10 88 1E 03 DC */ lbz r0, 0x3dc(r30) -/* 80286EB4 00283E14 C0 5E 01 38 */ lfs f2, 0x138(r30) -/* 80286EB8 00283E18 C0 3E 01 3C */ lfs f1, 0x13c(r30) -/* 80286EBC 00283E1C 28 00 00 00 */ cmplwi r0, 0 -/* 80286EC0 00283E20 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80286EC4 00283E24 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80286EC8 00283E28 D0 41 00 08 */ stfs f2, 8(r1) -/* 80286ECC 00283E2C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80286ED0 00283E30 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80286ED4 00283E34 40 82 00 10 */ bne lbl_80286EE4 -/* 80286ED8 00283E38 88 1E 03 DD */ lbz r0, 0x3dd(r30) -/* 80286EDC 00283E3C 28 00 00 00 */ cmplwi r0, 0 -/* 80286EE0 00283E40 41 82 00 38 */ beq lbl_80286F18 -lbl_80286EE4: -/* 80286EE4 00283E44 80 1E 02 58 */ lwz r0, 0x258(r30) -/* 80286EE8 00283E48 2C 00 00 00 */ cmpwi r0, 0 -/* 80286EEC 00283E4C 41 82 00 24 */ beq lbl_80286F10 -/* 80286EF0 00283E50 38 61 00 08 */ addi r3, r1, 8 -/* 80286EF4 00283E54 48 08 D9 C5 */ bl Magnitude__9CVector3fCFv -/* 80286EF8 00283E58 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 80286EFC 00283E5C C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) -/* 80286F00 00283E60 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80286F04 00283E64 FC 20 0A 10 */ fabs f1, f1 -/* 80286F08 00283E68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286F0C 00283E6C 40 80 00 0C */ bge lbl_80286F18 -lbl_80286F10: -/* 80286F10 00283E70 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80286F14 00283E74 48 00 00 30 */ b lbl_80286F44 -lbl_80286F18: -/* 80286F18 00283E78 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80286F1C 00283E7C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80286F20 00283E80 C0 23 01 18 */ lfs f1, 0x118(r3) -/* 80286F24 00283E84 EC 3E F8 7C */ fnmsubs f1, f30, f1, f31 -/* 80286F28 00283E88 FC 40 0A 10 */ fabs f2, f1 -/* 80286F2C 00283E8C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80286F30 00283E90 40 81 00 14 */ ble lbl_80286F44 -/* 80286F34 00283E94 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80286F38 00283E98 C0 42 BD 80 */ lfs f2, lbl_805ADAA0@sda21(r2) -/* 80286F3C 00283E9C FC 01 00 AE */ fsel f0, f1, f2, f0 -/* 80286F40 00283EA0 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_80286F44: -/* 80286F44 00283EA4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80286F48 00283EA8 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80286F4C 00283EAC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80286F50 00283EB0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80286F54 00283EB4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80286F58 00283EB8 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80286F5C 00283EBC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80286F60 00283EC0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80286F64 00283EC4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80286F68 00283EC8 7C 08 03 A6 */ mtlr r0 -/* 80286F6C 00283ECC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80286F70 00283ED0 4E 80 00 20 */ blr - -.global ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf -ComputeMovement__7CPlayerFRC11CFinalInputR13CStateManagerf: -/* 80286F74 00283ED4 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80286F78 00283ED8 7C 08 02 A6 */ mflr r0 -/* 80286F7C 00283EDC 90 01 01 64 */ stw r0, 0x164(r1) -/* 80286F80 00283EE0 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80286F84 00283EE4 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80286F88 00283EE8 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80286F8C 00283EEC F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 80286F90 00283EF0 DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80286F94 00283EF4 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80286F98 00283EF8 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 80286F9C 00283EFC F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 80286FA0 00283F00 DB 61 01 10 */ stfd f27, 0x110(r1) -/* 80286FA4 00283F04 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 -/* 80286FA8 00283F08 DB 41 01 00 */ stfd f26, 0x100(r1) -/* 80286FAC 00283F0C F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 -/* 80286FB0 00283F10 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80286FB4 00283F14 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80286FB8 00283F18 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 80286FBC 00283F1C 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 80286FC0 00283F20 FF 60 08 90 */ fmr f27, f1 -/* 80286FC4 00283F24 7C 7D 1B 78 */ mr r29, r3 -/* 80286FC8 00283F28 7C 9E 23 78 */ mr r30, r4 -/* 80286FCC 00283F2C 7C BF 2B 78 */ mr r31, r5 -/* 80286FD0 00283F30 4B FF F7 1D */ bl JumpInput__7CPlayerFRC11CFinalInputR13CStateManager -/* 80286FD4 00283F34 FF A0 08 90 */ fmr f29, f1 -/* 80286FD8 00283F38 7F A3 EB 78 */ mr r3, r29 -/* 80286FDC 00283F3C 7F C4 F3 78 */ mr r4, r30 -/* 80286FE0 00283F40 4B FF FA 9D */ bl TurnInput__7CPlayerCFRC11CFinalInput -/* 80286FE4 00283F44 FF C0 08 90 */ fmr f30, f1 -/* 80286FE8 00283F48 7F A3 EB 78 */ mr r3, r29 -/* 80286FEC 00283F4C 7F C4 F3 78 */ mr r4, r30 -/* 80286FF0 00283F50 4B FF FC E5 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf -/* 80286FF4 00283F54 FF E0 08 90 */ fmr f31, f1 -/* 80286FF8 00283F58 7F A4 EB 78 */ mr r4, r29 -/* 80286FFC 00283F5C 38 61 00 AC */ addi r3, r1, 0xac -/* 80287000 00283F60 48 00 14 F1 */ bl GetDampedClampedVelocityWR__7CPlayerCFv -/* 80287004 00283F64 7F A3 EB 78 */ mr r3, r29 -/* 80287008 00283F68 38 81 00 AC */ addi r4, r1, 0xac -/* 8028700C 00283F6C 4B E9 3C 95 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80287010 00283F70 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 80287014 00283F74 88 64 02 28 */ lbz r3, 0x228(r4) -/* 80287018 00283F78 C3 84 01 28 */ lfs f28, 0x128(r4) -/* 8028701C 00283F7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80287020 00283F80 41 82 00 20 */ beq lbl_80287040 -/* 80287024 00283F84 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80287028 00283F88 41 82 00 14 */ beq lbl_8028703C -/* 8028702C 00283F8C 41 82 00 14 */ beq lbl_80287040 -/* 80287030 00283F90 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 80287034 00283F94 28 00 00 00 */ cmplwi r0, 0 -/* 80287038 00283F98 41 82 00 08 */ beq lbl_80287040 -lbl_8028703C: -/* 8028703C 00283F9C C3 84 01 2C */ lfs f28, 0x12c(r4) -lbl_80287040: -/* 80287040 00283FA0 80 7D 03 04 */ lwz r3, 0x304(r29) -/* 80287044 00283FA4 2C 03 00 00 */ cmpwi r3, 0 -/* 80287048 00283FA8 41 82 00 20 */ beq lbl_80287068 -/* 8028704C 00283FAC 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 80287050 00283FB0 28 00 00 00 */ cmplwi r0, 0 -/* 80287054 00283FB4 41 82 02 38 */ beq lbl_8028728C -/* 80287058 00283FB8 2C 03 00 01 */ cmpwi r3, 1 -/* 8028705C 00283FBC 41 82 02 30 */ beq lbl_8028728C -/* 80287060 00283FC0 2C 03 00 05 */ cmpwi r3, 5 -/* 80287064 00283FC4 41 82 02 28 */ beq lbl_8028728C -lbl_80287068: -/* 80287068 00283FC8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 8028706C 00283FCC C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) -/* 80287070 00283FD0 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80287074 00283FD4 FC 20 0A 10 */ fabs f1, f1 -/* 80287078 00283FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028707C 00283FDC 40 80 00 84 */ bge lbl_80287100 -/* 80287080 00283FE0 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 80287084 00283FE4 2C 00 00 02 */ cmpwi r0, 2 -/* 80287088 00283FE8 40 82 00 0C */ bne lbl_80287094 -/* 8028708C 00283FEC 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80287090 00283FF0 48 00 00 08 */ b lbl_80287098 -lbl_80287094: -/* 80287094 00283FF4 38 00 00 04 */ li r0, 4 -lbl_80287098: -/* 80287098 00283FF8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028709C 00283FFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802870A0 00284000 41 80 00 0C */ blt lbl_802870AC -/* 802870A4 00284004 2C 00 00 07 */ cmpwi r0, 7 -/* 802870A8 00284008 40 81 00 08 */ ble lbl_802870B0 -lbl_802870AC: -/* 802870AC 0028400C 38 00 00 00 */ li r0, 0 -lbl_802870B0: -/* 802870B0 00284010 54 00 10 3A */ slwi r0, r0, 2 -/* 802870B4 00284014 7F A4 EB 78 */ mr r4, r29 -/* 802870B8 00284018 7C A3 02 14 */ add r5, r3, r0 -/* 802870BC 0028401C 38 61 00 88 */ addi r3, r1, 0x88 -/* 802870C0 00284020 C3 45 00 64 */ lfs f26, 0x64(r5) -/* 802870C4 00284024 4B E9 3A E1 */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 802870C8 00284028 38 61 00 88 */ addi r3, r1, 0x88 -/* 802870CC 0028402C 4B D9 44 65 */ bl GetVector__10CAxisAngleCFv -/* 802870D0 00284030 C0 03 00 08 */ lfs f0, 8(r3) -/* 802870D4 00284034 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802870D8 00284038 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 802870DC 0028403C 38 81 00 94 */ addi r4, r1, 0x94 -/* 802870E0 00284040 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 802870E4 00284044 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 802870E8 00284048 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 802870EC 0028404C D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 802870F0 00284050 4B D9 44 95 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 802870F4 00284054 7F A3 EB 78 */ mr r3, r29 -/* 802870F8 00284058 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802870FC 0028405C 4B E9 39 E1 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -lbl_80287100: -/* 80287100 00284060 7F A4 EB 78 */ mr r4, r29 -/* 80287104 00284064 38 61 00 7C */ addi r3, r1, 0x7c -/* 80287108 00284068 4B E9 3A 9D */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 8028710C 0028406C 38 61 00 7C */ addi r3, r1, 0x7c -/* 80287110 00284070 4B D9 44 21 */ bl GetVector__10CAxisAngleCFv -/* 80287114 00284074 80 9D 02 B0 */ lwz r4, 0x2b0(r29) -/* 80287118 00284078 C0 23 00 08 */ lfs f1, 8(r3) -/* 8028711C 0028407C 2C 04 00 02 */ cmpwi r4, 2 -/* 80287120 00284080 40 82 00 0C */ bne lbl_8028712C -/* 80287124 00284084 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80287128 00284088 48 00 00 08 */ b lbl_80287130 -lbl_8028712C: -/* 8028712C 0028408C 38 00 00 04 */ li r0, 4 -lbl_80287130: -/* 80287130 00284090 2C 00 00 00 */ cmpwi r0, 0 -/* 80287134 00284094 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 80287138 00284098 41 80 00 0C */ blt lbl_80287144 -/* 8028713C 0028409C 2C 00 00 07 */ cmpwi r0, 7 -/* 80287140 002840A0 40 81 00 08 */ ble lbl_80287148 -lbl_80287144: -/* 80287144 002840A4 38 00 00 00 */ li r0, 0 -lbl_80287148: -/* 80287148 002840A8 54 00 10 3A */ slwi r0, r0, 2 -/* 8028714C 002840AC 7C 65 02 14 */ add r3, r5, r0 -/* 80287150 002840B0 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 80287154 002840B4 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80287158 002840B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028715C 002840BC 40 81 00 68 */ ble lbl_802871C4 -/* 80287160 002840C0 2C 04 00 02 */ cmpwi r4, 2 -/* 80287164 002840C4 40 82 00 0C */ bne lbl_80287170 -/* 80287168 002840C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028716C 002840CC 48 00 00 08 */ b lbl_80287174 -lbl_80287170: -/* 80287170 002840D0 38 00 00 04 */ li r0, 4 -lbl_80287174: -/* 80287174 002840D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80287178 002840D8 41 80 00 0C */ blt lbl_80287184 -/* 8028717C 002840DC 2C 00 00 07 */ cmpwi r0, 7 -/* 80287180 002840E0 40 81 00 08 */ ble lbl_80287188 -lbl_80287184: -/* 80287184 002840E4 38 00 00 00 */ li r0, 0 -lbl_80287188: -/* 80287188 002840E8 54 00 10 3A */ slwi r0, r0, 2 -/* 8028718C 002840EC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287190 002840F0 7C 85 02 14 */ add r4, r5, r0 -/* 80287194 002840F4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80287198 002840F8 C0 24 00 84 */ lfs f1, 0x84(r4) -/* 8028719C 002840FC 38 81 00 64 */ addi r4, r1, 0x64 -/* 802871A0 00284100 EC 3C 00 72 */ fmuls f1, f28, f1 -/* 802871A4 00284104 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802871A8 00284108 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802871AC 0028410C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802871B0 00284110 4B D9 43 D5 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 802871B4 00284114 7F A3 EB 78 */ mr r3, r29 -/* 802871B8 00284118 38 81 00 70 */ addi r4, r1, 0x70 -/* 802871BC 0028411C 4B E9 39 21 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -/* 802871C0 00284120 48 00 00 CC */ b lbl_8028728C -lbl_802871C4: -/* 802871C4 00284124 7F A4 EB 78 */ mr r4, r29 -/* 802871C8 00284128 38 61 00 58 */ addi r3, r1, 0x58 -/* 802871CC 0028412C 4B E9 39 D9 */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 802871D0 00284130 38 61 00 58 */ addi r3, r1, 0x58 -/* 802871D4 00284134 4B D9 43 5D */ bl GetVector__10CAxisAngleCFv -/* 802871D8 00284138 80 9D 02 B0 */ lwz r4, 0x2b0(r29) -/* 802871DC 0028413C C0 03 00 08 */ lfs f0, 8(r3) -/* 802871E0 00284140 2C 04 00 02 */ cmpwi r4, 2 -/* 802871E4 00284144 40 82 00 0C */ bne lbl_802871F0 -/* 802871E8 00284148 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 802871EC 0028414C 48 00 00 08 */ b lbl_802871F4 -lbl_802871F0: -/* 802871F0 00284150 38 00 00 04 */ li r0, 4 -lbl_802871F4: -/* 802871F4 00284154 2C 00 00 00 */ cmpwi r0, 0 -/* 802871F8 00284158 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 802871FC 0028415C 41 80 00 0C */ blt lbl_80287208 -/* 80287200 00284160 2C 00 00 07 */ cmpwi r0, 7 -/* 80287204 00284164 40 81 00 08 */ ble lbl_8028720C -lbl_80287208: -/* 80287208 00284168 38 00 00 00 */ li r0, 0 -lbl_8028720C: -/* 8028720C 0028416C 54 00 10 3A */ slwi r0, r0, 2 -/* 80287210 00284170 FC 20 00 50 */ fneg f1, f0 -/* 80287214 00284174 7C 65 02 14 */ add r3, r5, r0 -/* 80287218 00284178 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 8028721C 0028417C EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80287220 00284180 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287224 00284184 40 81 00 68 */ ble lbl_8028728C -/* 80287228 00284188 2C 04 00 02 */ cmpwi r4, 2 -/* 8028722C 0028418C 40 82 00 0C */ bne lbl_80287238 -/* 80287230 00284190 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80287234 00284194 48 00 00 08 */ b lbl_8028723C -lbl_80287238: -/* 80287238 00284198 38 00 00 04 */ li r0, 4 -lbl_8028723C: -/* 8028723C 0028419C 2C 00 00 00 */ cmpwi r0, 0 -/* 80287240 002841A0 41 80 00 0C */ blt lbl_8028724C -/* 80287244 002841A4 2C 00 00 07 */ cmpwi r0, 7 -/* 80287248 002841A8 40 81 00 08 */ ble lbl_80287250 -lbl_8028724C: -/* 8028724C 002841AC 38 00 00 00 */ li r0, 0 -lbl_80287250: -/* 80287250 002841B0 54 00 10 3A */ slwi r0, r0, 2 -/* 80287254 002841B4 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287258 002841B8 7C 85 02 14 */ add r4, r5, r0 -/* 8028725C 002841BC 38 61 00 4C */ addi r3, r1, 0x4c -/* 80287260 002841C0 C0 24 00 84 */ lfs f1, 0x84(r4) -/* 80287264 002841C4 38 81 00 40 */ addi r4, r1, 0x40 -/* 80287268 002841C8 FC 20 08 50 */ fneg f1, f1 -/* 8028726C 002841CC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80287270 002841D0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80287274 002841D4 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 80287278 002841D8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8028727C 002841DC 4B D9 43 09 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 80287280 002841E0 7F A3 EB 78 */ mr r3, r29 -/* 80287284 002841E4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80287288 002841E8 4B E9 38 55 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -lbl_8028728C: -/* 8028728C 002841EC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 80287290 002841F0 2C 00 00 02 */ cmpwi r0, 2 -/* 80287294 002841F4 40 82 00 0C */ bne lbl_802872A0 -/* 80287298 002841F8 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028729C 002841FC 48 00 00 08 */ b lbl_802872A4 -lbl_802872A0: -/* 802872A0 00284200 38 00 00 04 */ li r0, 4 -lbl_802872A4: -/* 802872A4 00284204 2C 00 00 00 */ cmpwi r0, 0 -/* 802872A8 00284208 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802872AC 0028420C 41 80 00 0C */ blt lbl_802872B8 -/* 802872B0 00284210 2C 00 00 07 */ cmpwi r0, 7 -/* 802872B4 00284214 40 81 00 08 */ ble lbl_802872BC -lbl_802872B8: -/* 802872B8 00284218 38 00 00 00 */ li r0, 0 -lbl_802872BC: -/* 802872BC 0028421C 54 00 10 3A */ slwi r0, r0, 2 -/* 802872C0 00284220 7F A4 EB 78 */ mr r4, r29 -/* 802872C4 00284224 7C A3 02 14 */ add r5, r3, r0 -/* 802872C8 00284228 38 61 00 34 */ addi r3, r1, 0x34 -/* 802872CC 0028422C C0 05 00 84 */ lfs f0, 0x84(r5) -/* 802872D0 00284230 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 802872D4 00284234 EF 5C 00 32 */ fmuls f26, f28, f0 -/* 802872D8 00284238 4B E9 38 CD */ bl GetAngularVelocityOR__13CPhysicsActorCFv -/* 802872DC 0028423C 38 61 00 34 */ addi r3, r1, 0x34 -/* 802872E0 00284240 4B D9 42 51 */ bl GetVector__10CAxisAngleCFv -/* 802872E4 00284244 C0 03 00 08 */ lfs f0, 8(r3) -/* 802872E8 00284248 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 802872EC 0028424C EF 5A 00 28 */ fsubs f26, f26, f0 -/* 802872F0 00284250 2C 00 00 02 */ cmpwi r0, 2 -/* 802872F4 00284254 FC 00 D2 10 */ fabs f0, f26 -/* 802872F8 00284258 FC 20 00 18 */ frsp f1, f0 -/* 802872FC 0028425C 40 82 00 0C */ bne lbl_80287308 -/* 80287300 00284260 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80287304 00284264 48 00 00 08 */ b lbl_8028730C -lbl_80287308: -/* 80287308 00284268 38 00 00 04 */ li r0, 4 -lbl_8028730C: -/* 8028730C 0028426C 2C 00 00 00 */ cmpwi r0, 0 -/* 80287310 00284270 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80287314 00284274 41 80 00 0C */ blt lbl_80287320 -/* 80287318 00284278 2C 00 00 07 */ cmpwi r0, 7 -/* 8028731C 0028427C 40 81 00 08 */ ble lbl_80287324 -lbl_80287320: -/* 80287320 00284280 38 00 00 00 */ li r0, 0 -lbl_80287324: -/* 80287324 00284284 54 00 10 3A */ slwi r0, r0, 2 -/* 80287328 00284288 38 81 00 0C */ addi r4, r1, 0xc -/* 8028732C 0028428C 7C A3 02 14 */ add r5, r3, r0 -/* 80287330 00284290 38 6D 99 54 */ addi r3, r13, lbl_805A8514@sda21 -/* 80287334 00284294 C0 05 00 84 */ lfs f0, 0x84(r5) -/* 80287338 00284298 38 AD 99 58 */ addi r5, r13, lbl_805A8518@sda21 -/* 8028733C 0028429C EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80287340 002842A0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80287344 002842A4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80287348 002842A8 4B D8 4F 6D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8028734C 002842AC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287350 002842B0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80287354 002842B4 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 80287358 002842B8 40 80 00 4C */ bge lbl_802873A4 -/* 8028735C 002842BC 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 80287360 002842C0 2C 00 00 02 */ cmpwi r0, 2 -/* 80287364 002842C4 40 82 00 0C */ bne lbl_80287370 -/* 80287368 002842C8 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028736C 002842CC 48 00 00 08 */ b lbl_80287374 -lbl_80287370: -/* 80287370 002842D0 38 00 00 04 */ li r0, 4 -lbl_80287374: -/* 80287374 002842D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80287378 002842D8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 8028737C 002842DC 41 80 00 0C */ blt lbl_80287388 -/* 80287380 002842E0 2C 00 00 07 */ cmpwi r0, 7 -/* 80287384 002842E4 40 81 00 08 */ ble lbl_8028738C -lbl_80287388: -/* 80287388 002842E8 38 00 00 00 */ li r0, 0 -lbl_8028738C: -/* 8028738C 002842EC 54 00 10 3A */ slwi r0, r0, 2 -/* 80287390 002842F0 7C 63 02 14 */ add r3, r3, r0 -/* 80287394 002842F4 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80287398 002842F8 FC 00 00 50 */ fneg f0, f0 -/* 8028739C 002842FC EF C1 00 32 */ fmuls f30, f1, f0 -/* 802873A0 00284300 48 00 00 44 */ b lbl_802873E4 -lbl_802873A4: -/* 802873A4 00284304 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 802873A8 00284308 2C 00 00 02 */ cmpwi r0, 2 -/* 802873AC 0028430C 40 82 00 0C */ bne lbl_802873B8 -/* 802873B0 00284310 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 802873B4 00284314 48 00 00 08 */ b lbl_802873BC -lbl_802873B8: -/* 802873B8 00284318 38 00 00 04 */ li r0, 4 -lbl_802873BC: -/* 802873BC 0028431C 2C 00 00 00 */ cmpwi r0, 0 -/* 802873C0 00284320 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802873C4 00284324 41 80 00 0C */ blt lbl_802873D0 -/* 802873C8 00284328 2C 00 00 07 */ cmpwi r0, 7 -/* 802873CC 0028432C 40 81 00 08 */ ble lbl_802873D4 -lbl_802873D0: -/* 802873D0 00284330 38 00 00 00 */ li r0, 0 -lbl_802873D4: -/* 802873D4 00284334 54 00 10 3A */ slwi r0, r0, 2 -/* 802873D8 00284338 7C 63 02 14 */ add r3, r3, r0 -/* 802873DC 0028433C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 802873E0 00284340 EF C1 00 32 */ fmuls f30, f1, f0 -lbl_802873E4: -/* 802873E4 00284344 C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 802873E8 00284348 C0 02 BE 44 */ lfs f0, lbl_805ADB64@sda21(r2) -/* 802873EC 0028434C EC 22 F8 28 */ fsubs f1, f2, f31 -/* 802873F0 00284350 FC 20 0A 10 */ fabs f1, f1 -/* 802873F4 00284354 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802873F8 00284358 41 80 01 58 */ blt lbl_80287550 -/* 802873FC 0028435C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) -/* 80287400 00284360 2C 04 00 02 */ cmpwi r4, 2 -/* 80287404 00284364 40 82 00 0C */ bne lbl_80287410 -/* 80287408 00284368 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028740C 0028436C 48 00 00 08 */ b lbl_80287414 -lbl_80287410: -/* 80287410 00284370 38 00 00 04 */ li r0, 4 -lbl_80287414: -/* 80287414 00284374 2C 00 00 00 */ cmpwi r0, 0 -/* 80287418 00284378 80 AD A1 18 */ lwz r5, gpTweakPlayer@sda21(r13) -/* 8028741C 0028437C 41 80 00 0C */ blt lbl_80287428 -/* 80287420 00284380 2C 00 00 07 */ cmpwi r0, 7 -/* 80287424 00284384 40 81 00 08 */ ble lbl_8028742C -lbl_80287428: -/* 80287428 00284388 38 00 00 00 */ li r0, 0 -lbl_8028742C: -/* 8028742C 0028438C 54 00 10 3A */ slwi r0, r0, 2 -/* 80287430 00284390 2C 04 00 02 */ cmpwi r4, 2 -/* 80287434 00284394 7C 65 02 14 */ add r3, r5, r0 -/* 80287438 00284398 C3 43 00 A4 */ lfs f26, 0xa4(r3) -/* 8028743C 0028439C 40 82 00 0C */ bne lbl_80287448 -/* 80287440 002843A0 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 80287444 002843A4 48 00 00 08 */ b lbl_8028744C -lbl_80287448: -/* 80287448 002843A8 38 00 00 04 */ li r0, 4 -lbl_8028744C: -/* 8028744C 002843AC 2C 00 00 00 */ cmpwi r0, 0 -/* 80287450 002843B0 41 80 00 0C */ blt lbl_8028745C -/* 80287454 002843B4 2C 00 00 07 */ cmpwi r0, 7 -/* 80287458 002843B8 40 81 00 08 */ ble lbl_80287460 -lbl_8028745C: -/* 8028745C 002843BC 38 00 00 00 */ li r0, 0 -lbl_80287460: -/* 80287460 002843C0 54 00 10 3A */ slwi r0, r0, 2 -/* 80287464 002843C4 2C 04 00 02 */ cmpwi r4, 2 -/* 80287468 002843C8 7C 65 02 14 */ add r3, r5, r0 -/* 8028746C 002843CC C0 5D 00 E8 */ lfs f2, 0xe8(r29) -/* 80287470 002843D0 C0 23 00 44 */ lfs f1, 0x44(r3) -/* 80287474 002843D4 40 82 00 0C */ bne lbl_80287480 -/* 80287478 002843D8 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028747C 002843DC 48 00 00 08 */ b lbl_80287484 -lbl_80287480: -/* 80287480 002843E0 38 00 00 04 */ li r0, 4 -lbl_80287484: -/* 80287484 002843E4 2C 00 00 00 */ cmpwi r0, 0 -/* 80287488 002843E8 41 80 00 0C */ blt lbl_80287494 -/* 8028748C 002843EC 2C 00 00 07 */ cmpwi r0, 7 -/* 80287490 002843F0 40 81 00 08 */ ble lbl_80287498 -lbl_80287494: -/* 80287494 002843F4 38 00 00 00 */ li r0, 0 -lbl_80287498: -/* 80287498 002843F8 54 00 10 3A */ slwi r0, r0, 2 -/* 8028749C 002843FC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802874A0 00284400 7C 65 02 14 */ add r3, r5, r0 -/* 802874A4 00284404 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 802874A8 00284408 C0 23 00 04 */ lfs f1, 4(r3) -/* 802874AC 0028440C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802874B0 00284410 EC 1B 00 72 */ fmuls f0, f27, f1 -/* 802874B4 00284414 EC 22 00 24 */ fdivs f1, f2, f0 -/* 802874B8 00284418 EC 21 06 B2 */ fmuls f1, f1, f26 -/* 802874BC 0028441C EC 1A 08 28 */ fsubs f0, f26, f1 -/* 802874C0 00284420 EF 9F 00 32 */ fmuls f28, f31, f0 -/* 802874C4 00284424 40 81 00 0C */ ble lbl_802874D0 -/* 802874C8 00284428 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 802874CC 0028442C 48 00 00 08 */ b lbl_802874D4 -lbl_802874D0: -/* 802874D0 00284430 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -lbl_802874D4: -/* 802874D4 00284434 EF 81 E0 3A */ fmadds f28, f1, f0, f28 -/* 802874D8 00284438 38 61 00 28 */ addi r3, r1, 0x28 -/* 802874DC 0028443C 38 9D 00 34 */ addi r4, r29, 0x34 -/* 802874E0 00284440 38 BD 01 38 */ addi r5, r29, 0x138 -/* 802874E4 00284444 48 08 B5 41 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 802874E8 00284448 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802874EC 0028444C 38 81 00 08 */ addi r4, r1, 8 -/* 802874F0 00284450 38 6D 99 5C */ addi r3, r13, lbl_805A851C@sda21 -/* 802874F4 00284454 38 AD 99 60 */ addi r5, r13, lbl_805A8520@sda21 -/* 802874F8 00284458 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 802874FC 0028445C EC 00 D0 24 */ fdivs f0, f0, f26 -/* 80287500 00284460 D0 01 00 08 */ stfs f0, 8(r1) -/* 80287504 00284464 4B D8 4D B1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80287508 00284468 80 1D 02 B0 */ lwz r0, 0x2b0(r29) -/* 8028750C 0028446C C0 23 00 00 */ lfs f1, 0(r3) -/* 80287510 00284470 2C 00 00 02 */ cmpwi r0, 2 -/* 80287514 00284474 40 82 00 0C */ bne lbl_80287520 -/* 80287518 00284478 80 1D 02 AC */ lwz r0, 0x2ac(r29) -/* 8028751C 0028447C 48 00 00 08 */ b lbl_80287524 -lbl_80287520: -/* 80287520 00284480 38 00 00 04 */ li r0, 4 -lbl_80287524: -/* 80287524 00284484 2C 00 00 00 */ cmpwi r0, 0 -/* 80287528 00284488 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 8028752C 0028448C 41 80 00 0C */ blt lbl_80287538 -/* 80287530 00284490 2C 00 00 07 */ cmpwi r0, 7 -/* 80287534 00284494 40 81 00 08 */ ble lbl_8028753C -lbl_80287538: -/* 80287538 00284498 38 00 00 00 */ li r0, 0 -lbl_8028753C: -/* 8028753C 0028449C 54 00 10 3A */ slwi r0, r0, 2 -/* 80287540 002844A0 7C 63 02 14 */ add r3, r3, r0 -/* 80287544 002844A4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80287548 002844A8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8028754C 002844AC 48 00 00 08 */ b lbl_80287554 -lbl_80287550: -/* 80287550 002844B0 FC 20 10 90 */ fmr f1, f2 -lbl_80287554: -/* 80287554 002844B4 80 7D 03 04 */ lwz r3, 0x304(r29) -/* 80287558 002844B8 2C 03 00 00 */ cmpwi r3, 0 -/* 8028755C 002844BC 41 82 00 20 */ beq lbl_8028757C -/* 80287560 002844C0 88 02 80 E2 */ lbz r0, lbl_805A9E02@sda21(r2) -/* 80287564 002844C4 28 00 00 00 */ cmplwi r0, 0 -/* 80287568 002844C8 41 82 00 14 */ beq lbl_8028757C -/* 8028756C 002844CC 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 80287570 002844D0 28 00 00 00 */ cmplwi r0, 0 -/* 80287574 002844D4 41 82 00 08 */ beq lbl_8028757C -/* 80287578 002844D8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -lbl_8028757C: -/* 8028757C 002844DC 2C 03 00 00 */ cmpwi r3, 0 -/* 80287580 002844E0 41 82 00 10 */ beq lbl_80287590 -/* 80287584 002844E4 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 80287588 002844E8 28 00 00 00 */ cmplwi r0, 0 -/* 8028758C 002844EC 41 82 00 A4 */ beq lbl_80287630 -lbl_80287590: -/* 80287590 002844F0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287594 002844F4 EC 21 00 2A */ fadds f1, f1, f0 -/* 80287598 002844F8 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 8028759C 002844FC EC 00 E8 2A */ fadds f0, f0, f29 -/* 802875A0 00284500 D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 802875A4 00284504 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 802875A8 00284508 4B D9 3F 8D */ bl Identity__10CAxisAngleFv -/* 802875AC 0028450C 7C 65 1B 78 */ mr r5, r3 -/* 802875B0 00284510 7F A3 EB 78 */ mr r3, r29 -/* 802875B4 00284514 38 81 00 DC */ addi r4, r1, 0xdc -/* 802875B8 00284518 4B E9 4B 8D */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 802875BC 0028451C C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 802875C0 00284520 FC 01 F0 00 */ fcmpu cr0, f1, f30 -/* 802875C4 00284524 41 82 00 40 */ beq lbl_80287604 -/* 802875C8 00284528 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 802875CC 0028452C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802875D0 00284530 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802875D4 00284534 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802875D8 00284538 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802875DC 0028453C 48 08 D3 1D */ bl Normalize__9CVector3fFv -/* 802875E0 00284540 FC 20 F0 90 */ fmr f1, f30 -/* 802875E4 00284544 38 61 00 1C */ addi r3, r1, 0x1c -/* 802875E8 00284548 38 81 00 10 */ addi r4, r1, 0x10 -/* 802875EC 0028454C 4B D9 3F 71 */ bl __ct__10CAxisAngleFRC13CUnitVector3ff -/* 802875F0 00284550 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802875F4 00284554 7C 65 1B 78 */ mr r5, r3 -/* 802875F8 00284558 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802875FC 0028455C 7F A3 EB 78 */ mr r3, r29 -/* 80287600 00284560 4B E9 4B 45 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_80287604: -/* 80287604 00284564 88 1D 03 7C */ lbz r0, 0x37c(r29) -/* 80287608 00284568 28 00 00 00 */ cmplwi r0, 0 -/* 8028760C 0028456C 41 82 00 0C */ beq lbl_80287618 -/* 80287610 00284570 38 00 00 01 */ li r0, 1 -/* 80287614 00284574 98 1D 03 8C */ stb r0, 0x38c(r29) -lbl_80287618: -/* 80287618 00284578 38 00 00 00 */ li r0, 0 -/* 8028761C 0028457C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287620 00284580 98 1D 03 7C */ stb r0, 0x37c(r29) -/* 80287624 00284584 D0 1D 03 80 */ stfs f0, 0x380(r29) -/* 80287628 00284588 D0 1D 03 84 */ stfs f0, 0x384(r29) -/* 8028762C 0028458C 48 00 00 74 */ b lbl_802876A0 -lbl_80287630: -/* 80287630 00284590 2C 03 00 05 */ cmpwi r3, 5 -/* 80287634 00284594 41 82 00 48 */ beq lbl_8028767C -/* 80287638 00284598 40 80 00 44 */ bge lbl_8028767C -/* 8028763C 0028459C 2C 03 00 01 */ cmpwi r3, 1 -/* 80287640 002845A0 40 80 00 08 */ bge lbl_80287648 -/* 80287644 002845A4 48 00 00 38 */ b lbl_8028767C -lbl_80287648: -/* 80287648 002845A8 7F A3 EB 78 */ mr r3, r29 -/* 8028764C 002845AC 3B 80 00 01 */ li r28, 1 -/* 80287650 002845B0 4B EF 3C 59 */ bl InGrappleJumpCooldown__7CPlayerCFv -/* 80287654 002845B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287658 002845B8 41 82 00 08 */ beq lbl_80287660 -/* 8028765C 002845BC 3B 80 00 00 */ li r28, 0 -lbl_80287660: -/* 80287660 002845C0 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80287664 002845C4 41 82 00 18 */ beq lbl_8028767C -/* 80287668 002845C8 FC 20 D8 90 */ fmr f1, f27 -/* 8028766C 002845CC 7F A3 EB 78 */ mr r3, r29 -/* 80287670 002845D0 7F C4 F3 78 */ mr r4, r30 -/* 80287674 002845D4 7F E5 FB 78 */ mr r5, r31 -/* 80287678 002845D8 48 00 01 FD */ bl ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager -lbl_8028767C: -/* 8028767C 002845DC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287680 002845E0 D3 A1 00 D8 */ stfs f29, 0xd8(r1) -/* 80287684 002845E4 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 80287688 002845E8 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8028768C 002845EC 4B D9 3E A9 */ bl Identity__10CAxisAngleFv -/* 80287690 002845F0 7C 65 1B 78 */ mr r5, r3 -/* 80287694 002845F4 7F A3 EB 78 */ mr r3, r29 -/* 80287698 002845F8 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8028769C 002845FC 4B E9 4A A9 */ bl ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_802876A0: -/* 802876A0 00284600 88 1D 03 DC */ lbz r0, 0x3dc(r29) -/* 802876A4 00284604 28 00 00 00 */ cmplwi r0, 0 -/* 802876A8 00284608 40 82 00 10 */ bne lbl_802876B8 -/* 802876AC 0028460C 88 1D 03 DD */ lbz r0, 0x3dd(r29) -/* 802876B0 00284610 28 00 00 00 */ cmplwi r0, 0 -/* 802876B4 00284614 41 82 01 0C */ beq lbl_802877C0 -lbl_802876B8: -/* 802876B8 00284618 88 1D 09 C5 */ lbz r0, 0x9c5(r29) -/* 802876BC 0028461C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802876C0 00284620 40 82 01 00 */ bne lbl_802877C0 -/* 802876C4 00284624 80 1D 02 58 */ lwz r0, 0x258(r29) -/* 802876C8 00284628 2C 00 00 00 */ cmpwi r0, 0 -/* 802876CC 0028462C 40 82 00 F4 */ bne lbl_802877C0 -/* 802876D0 00284630 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802876D4 00284634 C0 1D 01 3C */ lfs f0, 0x13c(r29) -/* 802876D8 00284638 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802876DC 0028463C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 802876E0 00284640 C0 84 00 04 */ lfs f4, 4(r4) -/* 802876E4 00284644 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 802876E8 00284648 C0 64 00 08 */ lfs f3, 8(r4) -/* 802876EC 0028464C C0 24 00 00 */ lfs f1, 0(r4) -/* 802876F0 00284650 EC 84 00 28 */ fsubs f4, f4, f0 -/* 802876F4 00284654 C0 1D 01 38 */ lfs f0, 0x138(r29) -/* 802876F8 00284658 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802876FC 0028465C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80287700 00284660 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 80287704 00284664 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 80287708 00284668 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8028770C 0028466C 48 08 D1 AD */ bl Magnitude__9CVector3fCFv -/* 80287710 00284670 FF 80 08 90 */ fmr f28, f1 -/* 80287714 00284674 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) -/* 80287718 00284678 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8028771C 0028467C 40 81 00 A4 */ ble lbl_802877C0 -/* 80287720 00284680 7F A3 EB 78 */ mr r3, r29 -/* 80287724 00284684 48 00 0C D1 */ bl GetAcceleration__7CPlayerCFv -/* 80287728 00284688 EC 5B 00 72 */ fmuls f2, f27, f1 -/* 8028772C 0028468C C0 22 BD 94 */ lfs f1, lbl_805ADAB4@sda21(r2) -/* 80287730 00284690 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80287734 00284694 ED 01 00 B2 */ fmuls f8, f1, f2 -/* 80287738 00284698 EC FC 40 24 */ fdivs f7, f28, f8 -/* 8028773C 0028469C FC 20 3A 10 */ fabs f1, f7 -/* 80287740 002846A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287744 002846A4 40 81 00 14 */ ble lbl_80287758 -/* 80287748 002846A8 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 8028774C 002846AC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80287750 002846B0 FC 07 00 6E */ fsel f0, f7, f1, f0 -/* 80287754 002846B4 EC E1 00 32 */ fmuls f7, f1, f0 -lbl_80287758: -/* 80287758 002846B8 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 8028775C 002846BC 7F A3 EB 78 */ mr r3, r29 -/* 80287760 002846C0 C0 81 00 C8 */ lfs f4, 0xc8(r1) -/* 80287764 002846C4 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80287768 002846C8 EC C0 E0 24 */ fdivs f6, f0, f28 -/* 8028776C 002846CC C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80287770 002846D0 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80287774 002846D4 C0 BD 01 3C */ lfs f5, 0x13c(r29) -/* 80287778 002846D8 C0 7D 01 40 */ lfs f3, 0x140(r29) -/* 8028777C 002846DC C0 3D 01 38 */ lfs f1, 0x138(r29) -/* 80287780 002846E0 EC 86 01 32 */ fmuls f4, f6, f4 -/* 80287784 002846E4 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80287788 002846E8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8028778C 002846EC EC 88 01 32 */ fmuls f4, f8, f4 -/* 80287790 002846F0 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 80287794 002846F4 EC 08 00 32 */ fmuls f0, f8, f0 -/* 80287798 002846F8 EC 87 01 32 */ fmuls f4, f7, f4 -/* 8028779C 002846FC EC 47 00 B2 */ fmuls f2, f7, f2 -/* 802877A0 00284700 EC 07 00 32 */ fmuls f0, f7, f0 -/* 802877A4 00284704 EC 85 20 2A */ fadds f4, f5, f4 -/* 802877A8 00284708 EC 43 10 2A */ fadds f2, f3, f2 -/* 802877AC 0028470C EC 01 00 2A */ fadds f0, f1, f0 -/* 802877B0 00284710 D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 802877B4 00284714 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 802877B8 00284718 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 802877BC 0028471C 4B E9 34 E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_802877C0: -/* 802877C0 00284720 88 1D 09 C5 */ lbz r0, 0x9c5(r29) -/* 802877C4 00284724 38 60 00 00 */ li r3, 0 -/* 802877C8 00284728 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 802877CC 0028472C C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802877D0 00284730 98 1D 09 C5 */ stb r0, 0x9c5(r29) -/* 802877D4 00284734 C0 3D 02 D4 */ lfs f1, 0x2d4(r29) -/* 802877D8 00284738 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802877DC 0028473C 40 81 00 0C */ ble lbl_802877E8 -/* 802877E0 00284740 90 7D 02 D0 */ stw r3, 0x2d0(r29) -/* 802877E4 00284744 48 00 00 10 */ b lbl_802877F4 -lbl_802877E8: -/* 802877E8 00284748 80 7D 02 D0 */ lwz r3, 0x2d0(r29) -/* 802877EC 0028474C 38 03 00 01 */ addi r0, r3, 1 -/* 802877F0 00284750 90 1D 02 D0 */ stw r0, 0x2d0(r29) -lbl_802877F4: -/* 802877F4 00284754 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) -/* 802877F8 00284758 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 802877FC 0028475C D0 1D 02 D4 */ stfs f0, 0x2d4(r29) -/* 80287800 00284760 C0 2D 99 64 */ lfs f1, lbl_805A8524@sda21(r13) -/* 80287804 00284764 C0 1D 02 D4 */ lfs f0, 0x2d4(r29) -/* 80287808 00284768 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028780C 0028476C 40 80 00 0C */ bge lbl_80287818 -/* 80287810 00284770 38 7D 02 D4 */ addi r3, r29, 0x2d4 -/* 80287814 00284774 48 00 00 08 */ b lbl_8028781C -lbl_80287818: -/* 80287818 00284778 38 6D 99 64 */ addi r3, r13, lbl_805A8524@sda21 -lbl_8028781C: -/* 8028781C 0028477C C0 03 00 00 */ lfs f0, 0(r3) -/* 80287820 00284780 D0 1D 02 D4 */ stfs f0, 0x2d4(r29) -/* 80287824 00284784 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80287828 00284788 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8028782C 0028478C E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 80287830 00284790 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 80287834 00284794 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 80287838 00284798 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 8028783C 0028479C E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 80287840 002847A0 CB 81 01 20 */ lfd f28, 0x120(r1) -/* 80287844 002847A4 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 -/* 80287848 002847A8 CB 61 01 10 */ lfd f27, 0x110(r1) -/* 8028784C 002847AC E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 -/* 80287850 002847B0 CB 41 01 00 */ lfd f26, 0x100(r1) -/* 80287854 002847B4 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80287858 002847B8 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8028785C 002847BC 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 80287860 002847C0 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80287864 002847C4 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 80287868 002847C8 7C 08 03 A6 */ mtlr r0 -/* 8028786C 002847CC 38 21 01 60 */ addi r1, r1, 0x160 -/* 80287870 002847D0 4E 80 00 20 */ blr - -.global ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager -ComputeDash__7CPlayerFRC11CFinalInputfR13CStateManager: -/* 80287874 002847D4 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80287878 002847D8 7C 08 02 A6 */ mflr r0 -/* 8028787C 002847DC 90 01 01 34 */ stw r0, 0x134(r1) -/* 80287880 002847E0 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80287884 002847E4 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80287888 002847E8 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8028788C 002847EC F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 80287890 002847F0 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 80287894 002847F4 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 80287898 002847F8 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 8028789C 002847FC F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 802878A0 00284800 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 802878A4 00284804 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 802878A8 00284808 DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 802878AC 0028480C F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 802878B0 00284810 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 802878B4 00284814 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 802878B8 00284818 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 802878BC 0028481C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 802878C0 00284820 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 802878C4 00284824 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 802878C8 00284828 FF 20 08 90 */ fmr f25, f1 -/* 802878CC 0028482C 3C C0 80 3D */ lis r6, lbl_803D5908@ha -/* 802878D0 00284830 7C 7C 1B 78 */ mr r28, r3 -/* 802878D4 00284834 7C 9D 23 78 */ mr r29, r4 -/* 802878D8 00284838 7C BE 2B 78 */ mr r30, r5 -/* 802878DC 0028483C 3B E6 59 08 */ addi r31, r6, lbl_803D5908@l -/* 802878E0 00284840 4B FF F3 71 */ bl StrafeInput__7CPlayerCFRC11CFinalInput -/* 802878E4 00284844 FF 80 08 90 */ fmr f28, f1 -/* 802878E8 00284848 7F 83 E3 78 */ mr r3, r28 -/* 802878EC 0028484C 7F A4 EB 78 */ mr r4, r29 -/* 802878F0 00284850 4B FF F1 8D */ bl TurnInput__7CPlayerCFRC11CFinalInput -/* 802878F4 00284854 7F 83 E3 78 */ mr r3, r28 -/* 802878F8 00284858 7F A4 EB 78 */ mr r4, r29 -/* 802878FC 0028485C 4B FF F3 D9 */ bl ForwardInput__7CPlayerCFRC11CFinalInputf -/* 80287900 00284860 C3 BC 00 60 */ lfs f29, 0x60(r28) -/* 80287904 00284864 FF 60 08 90 */ fmr f27, f1 -/* 80287908 00284868 C0 7C 00 50 */ lfs f3, 0x50(r28) -/* 8028790C 0028486C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80287910 00284870 C3 DC 03 18 */ lfs f30, 0x318(r28) -/* 80287914 00284874 EC 1D E8 28 */ fsubs f0, f29, f29 -/* 80287918 00284878 C0 9C 00 40 */ lfs f4, 0x40(r28) -/* 8028791C 0028487C C3 FC 03 14 */ lfs f31, 0x314(r28) -/* 80287920 00284880 EC 43 F0 28 */ fsubs f2, f3, f30 -/* 80287924 00284884 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80287928 00284888 EC 24 F8 28 */ fsubs f1, f4, f31 -/* 8028792C 0028488C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80287930 00284890 D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 80287934 00284894 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80287938 00284898 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8028793C 0028489C D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80287940 002848A0 48 08 CD B9 */ bl CanBeNormalized__9CVector3fCFv -/* 80287944 002848A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287948 002848A8 41 82 05 3C */ beq lbl_80287E84 -/* 8028794C 002848AC C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 80287950 002848B0 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 80287954 002848B4 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80287958 002848B8 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8028795C 002848BC D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80287960 002848C0 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80287964 002848C4 80 1C 02 B0 */ lwz r0, 0x2b0(r28) -/* 80287968 002848C8 2C 00 00 02 */ cmpwi r0, 2 -/* 8028796C 002848CC 40 82 00 0C */ bne lbl_80287978 -/* 80287970 002848D0 80 1C 02 AC */ lwz r0, 0x2ac(r28) -/* 80287974 002848D4 48 00 00 08 */ b lbl_8028797C -lbl_80287978: -/* 80287978 002848D8 38 00 00 04 */ li r0, 4 -lbl_8028797C: -/* 8028797C 002848DC 54 00 10 3A */ slwi r0, r0, 2 -/* 80287980 002848E0 38 7F 00 00 */ addi r3, r31, 0 -/* 80287984 002848E4 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80287988 002848E8 7F A4 EB 78 */ mr r4, r29 -/* 8028798C 002848EC 38 60 00 0A */ li r3, 0xa -/* 80287990 002848F0 EF 59 00 32 */ fmuls f26, f25, f0 -/* 80287994 002848F4 4B D8 4E E1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80287998 002848F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028799C 002848FC 41 82 00 10 */ beq lbl_802879AC -/* 802879A0 00284900 C0 1C 03 88 */ lfs f0, 0x388(r28) -/* 802879A4 00284904 EC 00 C8 2A */ fadds f0, f0, f25 -/* 802879A8 00284908 D0 1C 03 88 */ stfs f0, 0x388(r28) -lbl_802879AC: -/* 802879AC 0028490C 88 1C 03 7C */ lbz r0, 0x37c(r28) -/* 802879B0 00284910 28 00 00 00 */ cmplwi r0, 0 -/* 802879B4 00284914 40 82 00 E0 */ bne lbl_80287A94 -/* 802879B8 00284918 FC 20 E0 90 */ fmr f1, f28 -/* 802879BC 0028491C 7F 83 E3 78 */ mr r3, r28 -/* 802879C0 00284920 FC 40 D8 90 */ fmr f2, f27 -/* 802879C4 00284924 7F A4 EB 78 */ mr r4, r29 -/* 802879C8 00284928 7F C5 F3 78 */ mr r5, r30 -/* 802879CC 0028492C 48 00 05 3D */ bl SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager -/* 802879D0 00284930 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802879D4 00284934 41 82 00 B8 */ beq lbl_80287A8C -/* 802879D8 00284938 38 00 00 01 */ li r0, 1 -/* 802879DC 0028493C C0 42 BD A0 */ lfs f2, lbl_805ADAC0@sda21(r2) -/* 802879E0 00284940 98 1C 03 7C */ stb r0, 0x37c(r28) -/* 802879E4 00284944 D3 9C 03 80 */ stfs f28, 0x380(r28) -/* 802879E8 00284948 98 1C 03 8C */ stb r0, 0x38c(r28) -/* 802879EC 0028494C D0 5C 03 84 */ stfs f2, 0x384(r28) -/* 802879F0 00284950 C0 1C 01 38 */ lfs f0, 0x138(r28) -/* 802879F4 00284954 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802879F8 00284958 C0 1C 01 3C */ lfs f0, 0x13c(r28) -/* 802879FC 0028495C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80287A00 00284960 C0 3C 01 40 */ lfs f1, 0x140(r28) -/* 80287A04 00284964 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80287A08 00284968 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80287A0C 0028496C 40 81 00 80 */ ble lbl_80287A8C -/* 80287A10 00284970 C0 02 BD AC */ lfs f0, lbl_805ADACC@sda21(r2) -/* 80287A14 00284974 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80287A18 00284978 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80287A1C 0028497C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) -/* 80287A20 00284980 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80287A24 00284984 40 82 00 68 */ bne lbl_80287A8C -/* 80287A28 00284988 7F 83 E3 78 */ mr r3, r28 -/* 80287A2C 0028498C 38 81 00 88 */ addi r4, r1, 0x88 -/* 80287A30 00284990 4B E9 32 71 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80287A34 00284994 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80287A38 00284998 38 61 00 14 */ addi r3, r1, 0x14 -/* 80287A3C 0028499C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80287A40 002849A0 38 80 06 18 */ li r4, 0x618 -/* 80287A44 002849A4 38 A0 00 7F */ li r5, 0x7f -/* 80287A48 002849A8 38 C0 00 40 */ li r6, 0x40 -/* 80287A4C 002849AC 38 E0 00 01 */ li r7, 1 -/* 80287A50 002849B0 39 20 00 00 */ li r9, 0 -/* 80287A54 002849B4 48 06 23 21 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80287A58 002849B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287A5C 002849BC 7F 83 E3 78 */ mr r3, r28 -/* 80287A60 002849C0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80287A64 002849C4 90 1C 07 78 */ stw r0, 0x778(r28) -/* 80287A68 002849C8 80 1C 07 78 */ lwz r0, 0x778(r28) -/* 80287A6C 002849CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80287A70 002849D0 4B D8 97 1D */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -/* 80287A74 002849D4 80 7E 08 8C */ lwz r3, 0x88c(r30) -/* 80287A78 002849D8 7F C4 F3 78 */ mr r4, r30 -/* 80287A7C 002849DC C0 22 BE 48 */ lfs f1, lbl_805ADB68@sda21(r2) -/* 80287A80 002849E0 38 A0 00 0B */ li r5, 0xb -/* 80287A84 002849E4 38 C0 00 01 */ li r6, 1 -/* 80287A88 002849E8 4B FA 67 BD */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -lbl_80287A8C: -/* 80287A8C 002849EC EF 5A 07 32 */ fmuls f26, f26, f28 -/* 80287A90 002849F0 48 00 01 70 */ b lbl_80287C00 -lbl_80287A94: -/* 80287A94 002849F4 C0 1C 03 84 */ lfs f0, 0x384(r28) -/* 80287A98 002849F8 EC 00 C8 2A */ fadds f0, f0, f25 -/* 80287A9C 002849FC D0 1C 03 84 */ stfs f0, 0x384(r28) -/* 80287AA0 00284A00 80 1C 02 58 */ lwz r0, 0x258(r28) -/* 80287AA4 00284A04 2C 00 00 00 */ cmpwi r0, 0 -/* 80287AA8 00284A08 41 82 00 3C */ beq lbl_80287AE4 -/* 80287AAC 00284A0C C0 5C 03 84 */ lfs f2, 0x384(r28) -/* 80287AB0 00284A10 C0 1C 03 A0 */ lfs f0, 0x3a0(r28) -/* 80287AB4 00284A14 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80287AB8 00284A18 4C 41 13 82 */ cror 2, 1, 2 -/* 80287ABC 00284A1C 41 82 00 28 */ beq lbl_80287AE4 -/* 80287AC0 00284A20 88 1C 09 C5 */ lbz r0, 0x9c5(r28) -/* 80287AC4 00284A24 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80287AC8 00284A28 40 82 00 1C */ bne lbl_80287AE4 -/* 80287ACC 00284A2C 88 1C 09 C5 */ lbz r0, 0x9c5(r28) -/* 80287AD0 00284A30 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80287AD4 00284A34 40 82 00 10 */ bne lbl_80287AE4 -/* 80287AD8 00284A38 80 1C 03 04 */ lwz r0, 0x304(r28) -/* 80287ADC 00284A3C 2C 00 00 01 */ cmpwi r0, 1 -/* 80287AE0 00284A40 41 82 00 24 */ beq lbl_80287B04 -lbl_80287AE4: -/* 80287AE4 00284A44 7F 83 E3 78 */ mr r3, r28 -/* 80287AE8 00284A48 48 00 03 F5 */ bl FinishSidewaysDash__7CPlayerFv -/* 80287AEC 00284A4C 80 1C 07 78 */ lwz r0, 0x778(r28) -/* 80287AF0 00284A50 EF 5A 07 32 */ fmuls f26, f26, f28 -/* 80287AF4 00284A54 38 61 00 0C */ addi r3, r1, 0xc -/* 80287AF8 00284A58 90 01 00 0C */ stw r0, 0xc(r1) -/* 80287AFC 00284A5C 48 06 23 89 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 80287B00 00284A60 48 00 01 00 */ b lbl_80287C00 -lbl_80287B04: -/* 80287B04 00284A64 88 1C 03 9C */ lbz r0, 0x39c(r28) -/* 80287B08 00284A68 80 7C 02 B0 */ lwz r3, 0x2b0(r28) -/* 80287B0C 00284A6C 28 00 00 00 */ cmplwi r0, 0 -/* 80287B10 00284A70 41 82 00 34 */ beq lbl_80287B44 -/* 80287B14 00284A74 2C 03 00 02 */ cmpwi r3, 2 -/* 80287B18 00284A78 40 82 00 0C */ bne lbl_80287B24 -/* 80287B1C 00284A7C 80 1C 02 AC */ lwz r0, 0x2ac(r28) -/* 80287B20 00284A80 48 00 00 08 */ b lbl_80287B28 -lbl_80287B24: -/* 80287B24 00284A84 38 00 00 04 */ li r0, 4 -lbl_80287B28: -/* 80287B28 00284A88 54 00 10 3A */ slwi r0, r0, 2 -/* 80287B2C 00284A8C 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80287B30 00284A90 C0 3C 03 98 */ lfs f1, 0x398(r28) -/* 80287B34 00284A94 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80287B38 00284A98 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80287B3C 00284A9C EF 59 00 32 */ fmuls f26, f25, f0 -/* 80287B40 00284AA0 48 00 00 AC */ b lbl_80287BEC -lbl_80287B44: -/* 80287B44 00284AA4 C0 3C 03 A4 */ lfs f1, 0x3a4(r28) -/* 80287B48 00284AA8 C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80287B4C 00284AAC EC 42 08 24 */ fdivs f2, f2, f1 -/* 80287B50 00284AB0 FC 20 12 10 */ fabs f1, f2 -/* 80287B54 00284AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287B58 00284AB8 40 81 00 14 */ ble lbl_80287B6C -/* 80287B5C 00284ABC C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80287B60 00284AC0 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80287B64 00284AC4 FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 80287B68 00284AC8 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_80287B6C: -/* 80287B6C 00284ACC C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80287B70 00284AD0 80 DC 02 B0 */ lwz r6, 0x2b0(r28) -/* 80287B74 00284AD4 EC 40 10 28 */ fsubs f2, f0, f2 -/* 80287B78 00284AD8 2C 06 00 02 */ cmpwi r6, 2 -/* 80287B7C 00284ADC 40 82 00 0C */ bne lbl_80287B88 -/* 80287B80 00284AE0 80 1C 02 AC */ lwz r0, 0x2ac(r28) -/* 80287B84 00284AE4 48 00 00 08 */ b lbl_80287B8C -lbl_80287B88: -/* 80287B88 00284AE8 38 00 00 04 */ li r0, 4 -lbl_80287B8C: -/* 80287B8C 00284AEC 2C 06 00 02 */ cmpwi r6, 2 -/* 80287B90 00284AF0 40 82 00 0C */ bne lbl_80287B9C -/* 80287B94 00284AF4 80 7C 02 AC */ lwz r3, 0x2ac(r28) -/* 80287B98 00284AF8 48 00 00 08 */ b lbl_80287BA0 -lbl_80287B9C: -/* 80287B9C 00284AFC 38 60 00 04 */ li r3, 4 -lbl_80287BA0: -/* 80287BA0 00284B00 54 65 10 3A */ slwi r5, r3, 2 -/* 80287BA4 00284B04 38 9F 00 20 */ addi r4, r31, 0x20 -/* 80287BA8 00284B08 54 00 10 3A */ slwi r0, r0, 2 -/* 80287BAC 00284B0C 38 7F 00 00 */ addi r3, r31, 0 -/* 80287BB0 00284B10 7C 24 2C 2E */ lfsx f1, r4, r5 -/* 80287BB4 00284B14 2C 06 00 02 */ cmpwi r6, 2 -/* 80287BB8 00284B18 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80287BBC 00284B1C EC 61 00 28 */ fsubs f3, f1, f0 -/* 80287BC0 00284B20 40 82 00 0C */ bne lbl_80287BCC -/* 80287BC4 00284B24 80 1C 02 AC */ lwz r0, 0x2ac(r28) -/* 80287BC8 00284B28 48 00 00 08 */ b lbl_80287BD0 -lbl_80287BCC: -/* 80287BCC 00284B2C 38 00 00 04 */ li r0, 4 -lbl_80287BD0: -/* 80287BD0 00284B30 54 00 10 3A */ slwi r0, r0, 2 -/* 80287BD4 00284B34 38 7F 00 00 */ addi r3, r31, 0 -/* 80287BD8 00284B38 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80287BDC 00284B3C C0 3C 03 98 */ lfs f1, 0x398(r28) -/* 80287BE0 00284B40 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 80287BE4 00284B44 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80287BE8 00284B48 EF 59 00 32 */ fmuls f26, f25, f0 -lbl_80287BEC: -/* 80287BEC 00284B4C C0 3C 03 80 */ lfs f1, 0x380(r28) -/* 80287BF0 00284B50 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287BF4 00284B54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287BF8 00284B58 40 80 00 08 */ bge lbl_80287C00 -/* 80287BFC 00284B5C FF 40 D0 50 */ fneg f26, f26 -lbl_80287C00: -/* 80287C00 00284B60 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80287C04 00284B64 48 08 CC B5 */ bl Magnitude__9CVector3fCFv -/* 80287C08 00284B68 EC 7A 08 24 */ fdivs f3, f26, f1 -/* 80287C0C 00284B6C 88 1C 03 7C */ lbz r0, 0x37c(r28) -/* 80287C10 00284B70 C0 22 BE 4C */ lfs f1, lbl_805ADB6C@sda21(r2) -/* 80287C14 00284B74 28 00 00 00 */ cmplwi r0, 0 -/* 80287C18 00284B78 41 82 00 08 */ beq lbl_80287C20 -/* 80287C1C 00284B7C C0 22 BE 50 */ lfs f1, lbl_805ADB70@sda21(r2) -lbl_80287C20: -/* 80287C20 00284B80 FC 00 1A 10 */ fabs f0, f3 -/* 80287C24 00284B84 EC 41 06 72 */ fmuls f2, f1, f25 -/* 80287C28 00284B88 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80287C2C 00284B8C 40 81 00 18 */ ble lbl_80287C44 -/* 80287C30 00284B90 C0 22 BD C8 */ lfs f1, lbl_805ADAE8@sda21(r2) -/* 80287C34 00284B94 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80287C38 00284B98 FC 03 08 2E */ fsel f0, f3, f0, f1 -/* 80287C3C 00284B9C EC 42 00 32 */ fmuls f2, f2, f0 -/* 80287C40 00284BA0 48 00 00 08 */ b lbl_80287C48 -lbl_80287C44: -/* 80287C44 00284BA4 FC 40 18 90 */ fmr f2, f3 -lbl_80287C48: -/* 80287C48 00284BA8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80287C4C 00284BAC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80287C50 00284BB0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80287C54 00284BB4 D0 41 00 08 */ stfs f2, 8(r1) -/* 80287C58 00284BB8 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80287C5C 00284BBC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80287C60 00284BC0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80287C64 00284BC4 48 08 CC 95 */ bl Normalize__9CVector3fFv -/* 80287C68 00284BC8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80287C6C 00284BCC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80287C70 00284BD0 38 A1 00 08 */ addi r5, r1, 8 -/* 80287C74 00284BD4 48 08 96 81 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 80287C78 00284BD8 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80287C7C 00284BDC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80287C80 00284BE0 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 80287C84 00284BE4 38 81 00 78 */ addi r4, r1, 0x78 -/* 80287C88 00284BE8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80287C8C 00284BEC 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 80287C90 00284BF0 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80287C94 00284BF4 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80287C98 00284BF8 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80287C9C 00284BFC D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80287CA0 00284C00 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80287CA4 00284C04 48 08 95 C1 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80287CA8 00284C08 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 80287CAC 00284C0C 7F A4 EB 78 */ mr r4, r29 -/* 80287CB0 00284C10 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80287CB4 00284C14 38 60 00 0A */ li r3, 0xa -/* 80287CB8 00284C18 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80287CBC 00284C1C EF FF 10 2A */ fadds f31, f31, f2 -/* 80287CC0 00284C20 EF DE 08 2A */ fadds f30, f30, f1 -/* 80287CC4 00284C24 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 80287CC8 00284C28 EF BD 00 2A */ fadds f29, f29, f0 -/* 80287CCC 00284C2C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 80287CD0 00284C30 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80287CD4 00284C34 4B D8 4B A1 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80287CD8 00284C38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287CDC 00284C3C 40 82 00 0C */ bne lbl_80287CE8 -/* 80287CE0 00284C40 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287CE4 00284C44 D0 1C 03 88 */ stfs f0, 0x388(r28) -lbl_80287CE8: -/* 80287CE8 00284C48 80 1C 02 B0 */ lwz r0, 0x2b0(r28) -/* 80287CEC 00284C4C 2C 00 00 02 */ cmpwi r0, 2 -/* 80287CF0 00284C50 40 82 00 0C */ bne lbl_80287CFC -/* 80287CF4 00284C54 80 1C 02 AC */ lwz r0, 0x2ac(r28) -/* 80287CF8 00284C58 48 00 00 08 */ b lbl_80287D00 -lbl_80287CFC: -/* 80287CFC 00284C5C 38 00 00 04 */ li r0, 4 -lbl_80287D00: -/* 80287D00 00284C60 54 00 10 3A */ slwi r0, r0, 2 -/* 80287D04 00284C64 38 7F 00 40 */ addi r3, r31, 0x40 -/* 80287D08 00284C68 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80287D0C 00284C6C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80287D10 00284C70 38 81 00 94 */ addi r4, r1, 0x94 -/* 80287D14 00284C74 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 80287D18 00284C78 EF 59 00 32 */ fmuls f26, f25, f0 -/* 80287D1C 00284C7C 48 08 CB 35 */ bl AsNormalized__9CVector3fCFv -/* 80287D20 00284C80 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80287D24 00284C84 38 61 00 18 */ addi r3, r1, 0x18 -/* 80287D28 00284C88 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80287D2C 00284C8C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80287D30 00284C90 FC 80 10 50 */ fneg f4, f2 -/* 80287D34 00284C94 FC 60 08 50 */ fneg f3, f1 -/* 80287D38 00284C98 C0 3C 01 38 */ lfs f1, 0x138(r28) -/* 80287D3C 00284C9C FC 00 00 50 */ fneg f0, f0 -/* 80287D40 00284CA0 C0 5C 01 3C */ lfs f2, 0x13c(r28) -/* 80287D44 00284CA4 EC 9A 01 32 */ fmuls f4, f26, f4 -/* 80287D48 00284CA8 EC 7A 00 F2 */ fmuls f3, f26, f3 -/* 80287D4C 00284CAC EC 1A 00 32 */ fmuls f0, f26, f0 -/* 80287D50 00284CB0 EF FF 20 2A */ fadds f31, f31, f4 -/* 80287D54 00284CB4 EF DE 18 2A */ fadds f30, f30, f3 -/* 80287D58 00284CB8 EF BD 00 2A */ fadds f29, f29, f0 -/* 80287D5C 00284CBC 48 08 C4 A5 */ bl __ct__9CVector2fFff -/* 80287D60 00284CC0 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80287D64 00284CC4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80287D68 00284CC8 C0 9C 00 50 */ lfs f4, 0x50(r28) -/* 80287D6C 00284CCC EC A0 C8 24 */ fdivs f5, f0, f25 -/* 80287D70 00284CD0 C0 7C 00 60 */ lfs f3, 0x60(r28) -/* 80287D74 00284CD4 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 80287D78 00284CD8 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80287D7C 00284CDC C0 C1 00 1C */ lfs f6, 0x1c(r1) -/* 80287D80 00284CE0 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80287D84 00284CE4 EC 9E 20 28 */ fsubs f4, f30, f4 -/* 80287D88 00284CE8 EC 7D 18 28 */ fsubs f3, f29, f3 -/* 80287D8C 00284CEC EC 5F 10 28 */ fsubs f2, f31, f2 -/* 80287D90 00284CF0 EC 85 01 32 */ fmuls f4, f5, f4 -/* 80287D94 00284CF4 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80287D98 00284CF8 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80287D9C 00284CFC D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80287DA0 00284D00 EC 84 30 28 */ fsubs f4, f4, f6 -/* 80287DA4 00284D04 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 80287DA8 00284D08 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80287DAC 00284D0C D0 61 00 74 */ stfs f3, 0x74(r1) -/* 80287DB0 00284D10 C0 5C 01 40 */ lfs f2, 0x140(r28) -/* 80287DB4 00284D14 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80287DB8 00284D18 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80287DBC 00284D1C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80287DC0 00284D20 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 80287DC4 00284D24 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 80287DC8 00284D28 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80287DCC 00284D2C 48 08 CA ED */ bl Magnitude__9CVector3fCFv -/* 80287DD0 00284D30 FF 40 08 90 */ fmr f26, f1 -/* 80287DD4 00284D34 C0 02 BD D0 */ lfs f0, lbl_805ADAF0@sda21(r2) -/* 80287DD8 00284D38 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 80287DDC 00284D3C 40 81 00 A8 */ ble lbl_80287E84 -/* 80287DE0 00284D40 7F 83 E3 78 */ mr r3, r28 -/* 80287DE4 00284D44 48 00 06 11 */ bl GetAcceleration__7CPlayerCFv -/* 80287DE8 00284D48 ED 19 00 72 */ fmuls f8, f25, f1 -/* 80287DEC 00284D4C C8 02 BD C0 */ lfd f0, lbl_805ADAE0@sda21(r2) -/* 80287DF0 00284D50 EC FA 40 24 */ fdivs f7, f26, f8 -/* 80287DF4 00284D54 FC 20 3A 10 */ fabs f1, f7 -/* 80287DF8 00284D58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287DFC 00284D5C 40 81 00 14 */ ble lbl_80287E10 -/* 80287E00 00284D60 C0 02 BD C8 */ lfs f0, lbl_805ADAE8@sda21(r2) -/* 80287E04 00284D64 C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 80287E08 00284D68 FC 07 00 6E */ fsel f0, f7, f1, f0 -/* 80287E0C 00284D6C EC E1 00 32 */ fmuls f7, f1, f0 -lbl_80287E10: -/* 80287E10 00284D70 C0 02 BD 80 */ lfs f0, lbl_805ADAA0@sda21(r2) -/* 80287E14 00284D74 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 80287E18 00284D78 EC C0 D0 24 */ fdivs f6, f0, f26 -/* 80287E1C 00284D7C C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80287E20 00284D80 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80287E24 00284D84 C0 BC 01 3C */ lfs f5, 0x13c(r28) -/* 80287E28 00284D88 C0 7C 01 40 */ lfs f3, 0x140(r28) -/* 80287E2C 00284D8C C0 3C 01 38 */ lfs f1, 0x138(r28) -/* 80287E30 00284D90 EC 86 01 32 */ fmuls f4, f6, f4 -/* 80287E34 00284D94 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80287E38 00284D98 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80287E3C 00284D9C EC 88 01 32 */ fmuls f4, f8, f4 -/* 80287E40 00284DA0 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 80287E44 00284DA4 EC 08 00 32 */ fmuls f0, f8, f0 -/* 80287E48 00284DA8 EC 87 01 32 */ fmuls f4, f7, f4 -/* 80287E4C 00284DAC EC 47 00 B2 */ fmuls f2, f7, f2 -/* 80287E50 00284DB0 EC 07 00 32 */ fmuls f0, f7, f0 -/* 80287E54 00284DB4 EC 85 20 2A */ fadds f4, f5, f4 -/* 80287E58 00284DB8 EC 43 10 2A */ fadds f2, f3, f2 -/* 80287E5C 00284DBC EC 01 00 2A */ fadds f0, f1, f0 -/* 80287E60 00284DC0 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80287E64 00284DC4 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80287E68 00284DC8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80287E6C 00284DCC 88 1C 09 C5 */ lbz r0, 0x9c5(r28) -/* 80287E70 00284DD0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80287E74 00284DD4 40 82 00 10 */ bne lbl_80287E84 -/* 80287E78 00284DD8 7F 83 E3 78 */ mr r3, r28 -/* 80287E7C 00284DDC 38 81 00 6C */ addi r4, r1, 0x6c -/* 80287E80 00284DE0 4B E9 2E 21 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_80287E84: -/* 80287E84 00284DE4 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 80287E88 00284DE8 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 80287E8C 00284DEC E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 80287E90 00284DF0 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 80287E94 00284DF4 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 80287E98 00284DF8 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 80287E9C 00284DFC E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 80287EA0 00284E00 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 80287EA4 00284E04 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 80287EA8 00284E08 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 80287EAC 00284E0C E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 80287EB0 00284E10 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 80287EB4 00284E14 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 80287EB8 00284E18 CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 80287EBC 00284E1C 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80287EC0 00284E20 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 80287EC4 00284E24 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80287EC8 00284E28 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80287ECC 00284E2C 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 80287ED0 00284E30 7C 08 03 A6 */ mtlr r0 -/* 80287ED4 00284E34 38 21 01 30 */ addi r1, r1, 0x130 -/* 80287ED8 00284E38 4E 80 00 20 */ blr - -.global FinishSidewaysDash__7CPlayerFv -FinishSidewaysDash__7CPlayerFv: -/* 80287EDC 00284E3C 88 03 03 7C */ lbz r0, 0x37c(r3) -/* 80287EE0 00284E40 28 00 00 00 */ cmplwi r0, 0 -/* 80287EE4 00284E44 41 82 00 0C */ beq lbl_80287EF0 -/* 80287EE8 00284E48 38 00 00 01 */ li r0, 1 -/* 80287EEC 00284E4C 98 03 03 8C */ stb r0, 0x38c(r3) -lbl_80287EF0: -/* 80287EF0 00284E50 38 00 00 00 */ li r0, 0 -/* 80287EF4 00284E54 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287EF8 00284E58 98 03 03 7C */ stb r0, 0x37c(r3) -/* 80287EFC 00284E5C D0 03 03 80 */ stfs f0, 0x380(r3) -/* 80287F00 00284E60 D0 03 03 84 */ stfs f0, 0x384(r3) -/* 80287F04 00284E64 4E 80 00 20 */ blr - -.global SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager -SidewaysDashAllowed__7CPlayerCFffRC11CFinalInputR13CStateManager: -/* 80287F08 00284E68 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80287F0C 00284E6C 7C 08 02 A6 */ mflr r0 -/* 80287F10 00284E70 90 01 00 54 */ stw r0, 0x54(r1) -/* 80287F14 00284E74 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80287F18 00284E78 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80287F1C 00284E7C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80287F20 00284E80 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80287F24 00284E84 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80287F28 00284E88 7C 7F 1B 78 */ mr r31, r3 -/* 80287F2C 00284E8C 88 63 09 C5 */ lbz r3, 0x9c5(r3) -/* 80287F30 00284E90 FF C0 08 90 */ fmr f30, f1 -/* 80287F34 00284E94 FF E0 10 90 */ fmr f31, f2 -/* 80287F38 00284E98 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80287F3C 00284E9C 40 82 00 18 */ bne lbl_80287F54 -/* 80287F40 00284EA0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80287F44 00284EA4 40 82 00 10 */ bne lbl_80287F54 -/* 80287F48 00284EA8 80 BF 03 04 */ lwz r5, 0x304(r31) -/* 80287F4C 00284EAC 2C 05 00 01 */ cmpwi r5, 1 -/* 80287F50 00284EB0 41 82 00 0C */ beq lbl_80287F5C -lbl_80287F54: -/* 80287F54 00284EB4 38 60 00 00 */ li r3, 0 -/* 80287F58 00284EB8 48 00 01 48 */ b lbl_802880A0 -lbl_80287F5C: -/* 80287F5C 00284EBC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80287F60 00284EC0 88 63 02 00 */ lbz r3, 0x200(r3) -/* 80287F64 00284EC4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80287F68 00284EC8 41 82 00 78 */ beq lbl_80287FE0 -/* 80287F6C 00284ECC 2C 05 00 00 */ cmpwi r5, 0 -/* 80287F70 00284ED0 41 82 01 2C */ beq lbl_8028809C -/* 80287F74 00284ED4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80287F78 00284ED8 41 82 01 24 */ beq lbl_8028809C -/* 80287F7C 00284EDC C0 3F 02 88 */ lfs f1, 0x288(r31) -/* 80287F80 00284EE0 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80287F84 00284EE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287F88 00284EE8 40 81 01 14 */ ble lbl_8028809C -/* 80287F8C 00284EEC 38 60 00 0A */ li r3, 0xa -/* 80287F90 00284EF0 4B D8 48 E5 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80287F94 00284EF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287F98 00284EF8 40 82 01 04 */ bne lbl_8028809C -/* 80287F9C 00284EFC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80287FA0 00284F00 C0 3F 03 88 */ lfs f1, 0x388(r31) -/* 80287FA4 00284F04 C0 03 02 04 */ lfs f0, 0x204(r3) -/* 80287FA8 00284F08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287FAC 00284F0C 40 80 00 F0 */ bge lbl_8028809C -/* 80287FB0 00284F10 FC 00 FA 10 */ fabs f0, f31 -/* 80287FB4 00284F14 FC 20 F2 10 */ fabs f1, f30 -/* 80287FB8 00284F18 FC 00 00 18 */ frsp f0, f0 -/* 80287FBC 00284F1C FC 20 08 18 */ frsp f1, f1 -/* 80287FC0 00284F20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287FC4 00284F24 4C 41 13 82 */ cror 2, 1, 2 -/* 80287FC8 00284F28 40 82 00 D4 */ bne lbl_8028809C -/* 80287FCC 00284F2C C0 03 02 08 */ lfs f0, 0x208(r3) -/* 80287FD0 00284F30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287FD4 00284F34 40 81 00 C8 */ ble lbl_8028809C -/* 80287FD8 00284F38 38 60 00 01 */ li r3, 1 -/* 80287FDC 00284F3C 48 00 00 C4 */ b lbl_802880A0 -lbl_80287FE0: -/* 80287FE0 00284F40 2C 05 00 00 */ cmpwi r5, 0 -/* 80287FE4 00284F44 41 82 00 B8 */ beq lbl_8028809C -/* 80287FE8 00284F48 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80287FEC 00284F4C 41 82 00 B0 */ beq lbl_8028809C -/* 80287FF0 00284F50 38 60 00 0A */ li r3, 0xa -/* 80287FF4 00284F54 4B D8 47 DD */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80287FF8 00284F58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287FFC 00284F5C 41 82 00 A0 */ beq lbl_8028809C -/* 80288000 00284F60 C0 3F 02 88 */ lfs f1, 0x288(r31) -/* 80288004 00284F64 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80288008 00284F68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028800C 00284F6C 40 81 00 90 */ ble lbl_8028809C -/* 80288010 00284F70 FC 00 FA 10 */ fabs f0, f31 -/* 80288014 00284F74 FC 20 F2 10 */ fabs f1, f30 -/* 80288018 00284F78 FC 00 00 18 */ frsp f0, f0 -/* 8028801C 00284F7C FC 20 08 18 */ frsp f1, f1 -/* 80288020 00284F80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288024 00284F84 4C 41 13 82 */ cror 2, 1, 2 -/* 80288028 00284F88 40 82 00 74 */ bne lbl_8028809C -/* 8028802C 00284F8C C0 02 BD DC */ lfs f0, lbl_805ADAFC@sda21(r2) -/* 80288030 00284F90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288034 00284F94 40 81 00 68 */ ble lbl_8028809C -/* 80288038 00284F98 FC 20 F0 90 */ fmr f1, f30 -/* 8028803C 00284F9C 7F E4 FB 78 */ mr r4, r31 -/* 80288040 00284FA0 FC 40 F8 90 */ fmr f2, f31 -/* 80288044 00284FA4 38 61 00 08 */ addi r3, r1, 8 -/* 80288048 00284FA8 4B D8 C9 F9 */ bl CalculateLeftStickEdgePosition__7CPlayerCFff -/* 8028804C 00284FAC EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 80288050 00284FB0 C0 81 00 08 */ lfs f4, 8(r1) -/* 80288054 00284FB4 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80288058 00284FB8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8028805C 00284FBC EC 3E 07 BA */ fmadds f1, f30, f30, f0 -/* 80288060 00284FC0 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80288064 00284FC4 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80288068 00284FC8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028806C 00284FCC 48 08 D4 95 */ bl SqrtF__5CMathFf -/* 80288070 00284FD0 FF E0 08 90 */ fmr f31, f1 -/* 80288074 00284FD4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80288078 00284FD8 48 08 C8 41 */ bl Magnitude__9CVector3fCFv -/* 8028807C 00284FDC EC 3F 08 24 */ fdivs f1, f31, f1 -/* 80288080 00284FE0 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80288084 00284FE4 C0 03 02 08 */ lfs f0, 0x208(r3) -/* 80288088 00284FE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028808C 00284FEC 4C 41 13 82 */ cror 2, 1, 2 -/* 80288090 00284FF0 40 82 00 0C */ bne lbl_8028809C -/* 80288094 00284FF4 38 60 00 01 */ li r3, 1 -/* 80288098 00284FF8 48 00 00 08 */ b lbl_802880A0 -lbl_8028809C: -/* 8028809C 00284FFC 38 60 00 00 */ li r3, 0 -lbl_802880A0: -/* 802880A0 00285000 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802880A4 00285004 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802880A8 00285008 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 802880AC 0028500C CB C1 00 30 */ lfd f30, 0x30(r1) -/* 802880B0 00285010 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802880B4 00285014 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802880B8 00285018 7C 08 03 A6 */ mtlr r0 -/* 802880BC 0028501C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802880C0 00285020 4E 80 00 20 */ blr - -.global UpdateStepCameraZBias__7CPlayerFf -UpdateStepCameraZBias__7CPlayerFf: -/* 802880C4 00285024 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802880C8 00285028 7C 08 02 A6 */ mflr r0 -/* 802880CC 0028502C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802880D0 00285030 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802880D4 00285034 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802880D8 00285038 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802880DC 0028503C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802880E0 00285040 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802880E4 00285044 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802880E8 00285048 DB 81 00 20 */ stfd f28, 0x20(r1) -/* 802880EC 0028504C F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 -/* 802880F0 00285050 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802880F4 00285054 7C 7F 1B 78 */ mr r31, r3 -/* 802880F8 00285058 FF 80 08 90 */ fmr f28, f1 -/* 802880FC 0028505C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80288100 00285060 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80288104 00285064 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80288108 00285068 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8028810C 0028506C D0 01 00 08 */ stfs f0, 8(r1) -/* 80288110 00285070 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80288114 00285074 4B FF CD 05 */ bl GetUnbiasedEyeHeight__7CPlayerCFv -/* 80288118 00285078 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028811C 0028507C 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 80288120 00285080 EF E0 08 2A */ fadds f31, f0, f1 -/* 80288124 00285084 2C 00 00 00 */ cmpwi r0, 0 -/* 80288128 00285088 40 82 01 08 */ bne lbl_80288230 -/* 8028812C 0028508C 7F E3 FB 78 */ mr r3, r31 -/* 80288130 00285090 4B D9 20 E5 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 80288134 00285094 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80288138 00285098 40 82 00 F8 */ bne lbl_80288230 -/* 8028813C 0028509C 88 1F 09 C5 */ lbz r0, 0x9c5(r31) -/* 80288140 002850A0 FF C0 F8 90 */ fmr f30, f31 -/* 80288144 002850A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80288148 002850A8 40 82 00 D8 */ bne lbl_80288220 -/* 8028814C 002850AC C0 1F 09 CC */ lfs f0, 0x9cc(r31) -/* 80288150 002850B0 C0 5F 01 40 */ lfs f2, 0x140(r31) -/* 80288154 002850B4 EF BF 00 28 */ fsubs f29, f31, f0 -/* 80288158 002850B8 C0 22 BE 28 */ lfs f1, lbl_805ADB48@sda21(r2) -/* 8028815C 002850BC C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80288160 002850C0 EC 5C 00 B2 */ fmuls f2, f28, f2 -/* 80288164 002850C4 EF 81 07 32 */ fmuls f28, f1, f28 -/* 80288168 002850C8 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8028816C 002850CC 40 81 00 58 */ ble lbl_802881C4 -/* 80288170 002850D0 FC 1D 10 40 */ fcmpo cr0, f29, f2 -/* 80288174 002850D4 40 81 00 AC */ ble lbl_80288220 -/* 80288178 002850D8 FC 1D E0 40 */ fcmpo cr0, f29, f28 -/* 8028817C 002850DC 40 81 00 A4 */ ble lbl_80288220 -/* 80288180 002850E0 7F E3 FB 78 */ mr r3, r31 -/* 80288184 002850E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288188 002850E8 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 8028818C 002850EC 7D 89 03 A6 */ mtctr r12 -/* 80288190 002850F0 4E 80 04 21 */ bctrl -/* 80288194 002850F4 FC 1D 08 40 */ fcmpo cr0, f29, f1 -/* 80288198 002850F8 40 81 00 20 */ ble lbl_802881B8 -/* 8028819C 002850FC 7F E3 FB 78 */ mr r3, r31 -/* 802881A0 00285100 81 9F 00 00 */ lwz r12, 0(r31) -/* 802881A4 00285104 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 802881A8 00285108 7D 89 03 A6 */ mtctr r12 -/* 802881AC 0028510C 4E 80 04 21 */ bctrl -/* 802881B0 00285110 EC 1D 08 28 */ fsubs f0, f29, f1 -/* 802881B4 00285114 EF 9C 00 2A */ fadds f28, f28, f0 -lbl_802881B8: -/* 802881B8 00285118 C0 1F 09 CC */ lfs f0, 0x9cc(r31) -/* 802881BC 0028511C EF E0 E0 2A */ fadds f31, f0, f28 -/* 802881C0 00285120 48 00 00 60 */ b lbl_80288220 -lbl_802881C4: -/* 802881C4 00285124 FC 1D 10 40 */ fcmpo cr0, f29, f2 -/* 802881C8 00285128 40 80 00 58 */ bge lbl_80288220 -/* 802881CC 0028512C FC 00 E0 50 */ fneg f0, f28 -/* 802881D0 00285130 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802881D4 00285134 40 80 00 4C */ bge lbl_80288220 -/* 802881D8 00285138 7F E3 FB 78 */ mr r3, r31 -/* 802881DC 0028513C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802881E0 00285140 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 802881E4 00285144 7D 89 03 A6 */ mtctr r12 -/* 802881E8 00285148 4E 80 04 21 */ bctrl -/* 802881EC 0028514C FC 00 08 50 */ fneg f0, f1 -/* 802881F0 00285150 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802881F4 00285154 40 80 00 24 */ bge lbl_80288218 -/* 802881F8 00285158 7F E3 FB 78 */ mr r3, r31 -/* 802881FC 0028515C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288200 00285160 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80288204 00285164 7D 89 03 A6 */ mtctr r12 -/* 80288208 00285168 4E 80 04 21 */ bctrl -/* 8028820C 0028516C FC 00 E8 50 */ fneg f0, f29 -/* 80288210 00285170 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80288214 00285174 EF 9C 00 2A */ fadds f28, f28, f0 -lbl_80288218: -/* 80288218 00285178 C0 1F 09 CC */ lfs f0, 0x9cc(r31) -/* 8028821C 0028517C EF E0 E0 28 */ fsubs f31, f0, f28 -lbl_80288220: -/* 80288220 00285180 EC 3F F0 28 */ fsubs f1, f31, f30 -/* 80288224 00285184 7F E3 FB 78 */ mr r3, r31 -/* 80288228 00285188 4B FF C1 45 */ bl SetEyeZBias__7CPlayerFf -/* 8028822C 0028518C 48 00 00 10 */ b lbl_8028823C -lbl_80288230: -/* 80288230 00285190 C0 22 BD A0 */ lfs f1, lbl_805ADAC0@sda21(r2) -/* 80288234 00285194 7F E3 FB 78 */ mr r3, r31 -/* 80288238 00285198 4B FF C1 35 */ bl SetEyeZBias__7CPlayerFf -lbl_8028823C: -/* 8028823C 0028519C D3 FF 09 CC */ stfs f31, 0x9cc(r31) -/* 80288240 002851A0 38 60 00 00 */ li r3, 0 -/* 80288244 002851A4 88 1F 09 C5 */ lbz r0, 0x9c5(r31) -/* 80288248 002851A8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8028824C 002851AC 98 1F 09 C5 */ stb r0, 0x9c5(r31) -/* 80288250 002851B0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80288254 002851B4 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80288258 002851B8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8028825C 002851BC CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80288260 002851C0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80288264 002851C4 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80288268 002851C8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 -/* 8028826C 002851CC CB 81 00 20 */ lfd f28, 0x20(r1) -/* 80288270 002851D0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80288274 002851D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80288278 002851D8 7C 08 03 A6 */ mtlr r0 -/* 8028827C 002851DC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80288280 002851E0 4E 80 00 20 */ blr - -.global UpdateBombJumpStuff__7CPlayerFv -UpdateBombJumpStuff__7CPlayerFv: -/* 80288284 002851E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80288288 002851E8 7C 08 02 A6 */ mflr r0 -/* 8028828C 002851EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80288290 002851F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80288294 002851F4 7C 7F 1B 78 */ mr r31, r3 -/* 80288298 002851F8 80 03 09 D0 */ lwz r0, 0x9d0(r3) -/* 8028829C 002851FC 2C 00 00 00 */ cmpwi r0, 0 -/* 802882A0 00285200 41 82 00 6C */ beq lbl_8028830C -/* 802882A4 00285204 80 7F 09 D4 */ lwz r3, 0x9d4(r31) -/* 802882A8 00285208 34 03 FF FF */ addic. r0, r3, -1 -/* 802882AC 0028520C 90 1F 09 D4 */ stw r0, 0x9d4(r31) -/* 802882B0 00285210 41 81 00 5C */ bgt lbl_8028830C -/* 802882B4 00285214 C0 3F 01 38 */ lfs f1, 0x138(r31) -/* 802882B8 00285218 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802882BC 0028521C D0 21 00 08 */ stfs f1, 8(r1) -/* 802882C0 00285220 C0 3F 01 3C */ lfs f1, 0x13c(r31) -/* 802882C4 00285224 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802882C8 00285228 C0 3F 01 40 */ lfs f1, 0x140(r31) -/* 802882CC 0028522C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802882D0 00285230 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802882D4 00285234 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 802882D8 00285238 2C 00 00 00 */ cmpwi r0, 0 -/* 802882DC 0028523C 41 82 00 28 */ beq lbl_80288304 -/* 802882E0 00285240 38 61 00 08 */ addi r3, r1, 8 -/* 802882E4 00285244 48 08 C4 15 */ bl CanBeNormalized__9CVector3fCFv -/* 802882E8 00285248 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802882EC 0028524C 41 82 00 20 */ beq lbl_8028830C -/* 802882F0 00285250 38 61 00 08 */ addi r3, r1, 8 -/* 802882F4 00285254 48 08 C5 C5 */ bl Magnitude__9CVector3fCFv -/* 802882F8 00285258 C0 02 BE 54 */ lfs f0, lbl_805ADB74@sda21(r2) -/* 802882FC 0028525C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288300 00285260 40 81 00 0C */ ble lbl_8028830C -lbl_80288304: -/* 80288304 00285264 38 00 00 00 */ li r0, 0 -/* 80288308 00285268 90 1F 09 D0 */ stw r0, 0x9d0(r31) -lbl_8028830C: -/* 8028830C 0028526C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80288310 00285270 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80288314 00285274 7C 08 03 A6 */ mtlr r0 -/* 80288318 00285278 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028831C 0028527C 4E 80 00 20 */ blr - -.global GetWeight__7CPlayerCFv -GetWeight__7CPlayerCFv: -/* 80288320 00285280 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80288324 00285284 7C 08 02 A6 */ mflr r0 -/* 80288328 00285288 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028832C 0028528C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80288330 00285290 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80288334 00285294 C3 E3 00 E8 */ lfs f31, 0xe8(r3) -/* 80288338 00285298 48 00 00 25 */ bl GetGravity__7CPlayerCFv -/* 8028833C 0028529C FC 00 08 50 */ fneg f0, f1 -/* 80288340 002852A0 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80288344 002852A4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80288348 002852A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028834C 002852AC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80288350 002852B0 7C 08 03 A6 */ mtlr r0 -/* 80288354 002852B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80288358 002852B8 4E 80 00 20 */ blr - -.global GetGravity__7CPlayerCFv -GetGravity__7CPlayerCFv: -/* 8028835C 002852BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80288360 002852C0 7C 08 02 A6 */ mflr r0 -/* 80288364 002852C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80288368 002852C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028836C 002852CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80288370 002852D0 7C 7E 1B 78 */ mr r30, r3 -/* 80288374 002852D4 38 61 00 08 */ addi r3, r1, 8 -/* 80288378 002852D8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 8028837C 002852DC 4B F4 B5 A5 */ bl GetPlayerState__10CGameStateCFv -/* 80288380 002852E0 80 61 00 08 */ lwz r3, 8(r1) -/* 80288384 002852E4 38 80 00 15 */ li r4, 0x15 -/* 80288388 002852E8 80 63 00 00 */ lwz r3, 0(r3) -/* 8028838C 002852EC 4B E0 97 35 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 80288390 002852F0 7C 7F 1B 78 */ mr r31, r3 -/* 80288394 002852F4 38 61 00 08 */ addi r3, r1, 8 -/* 80288398 002852F8 4B D8 0B 75 */ bl sub_80008f0c -/* 8028839C 002852FC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802883A0 00285300 40 82 00 20 */ bne lbl_802883C0 -/* 802883A4 00285304 7F C3 F3 78 */ mr r3, r30 -/* 802883A8 00285308 4B FF CC 65 */ bl CheckSubmerged__7CPlayerCFv -/* 802883AC 0028530C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802883B0 00285310 41 82 00 10 */ beq lbl_802883C0 -/* 802883B4 00285314 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802883B8 00285318 C0 23 00 C8 */ lfs f1, 0xc8(r3) -/* 802883BC 0028531C 48 00 00 20 */ b lbl_802883DC -lbl_802883C0: -/* 802883C0 00285320 88 1E 03 7C */ lbz r0, 0x37c(r30) -/* 802883C4 00285324 28 00 00 00 */ cmplwi r0, 0 -/* 802883C8 00285328 41 82 00 0C */ beq lbl_802883D4 -/* 802883CC 0028532C C0 22 BE 58 */ lfs f1, lbl_805ADB78@sda21(r2) -/* 802883D0 00285330 48 00 00 0C */ b lbl_802883DC -lbl_802883D4: -/* 802883D4 00285334 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 802883D8 00285338 C0 23 00 C4 */ lfs f1, 0xc4(r3) -lbl_802883DC: -/* 802883DC 0028533C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802883E0 00285340 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802883E4 00285344 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802883E8 00285348 7C 08 03 A6 */ mtlr r0 -/* 802883EC 0028534C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802883F0 00285350 4E 80 00 20 */ blr - -.global GetAcceleration__7CPlayerCFv -GetAcceleration__7CPlayerCFv: -/* 802883F4 00285354 80 03 02 D0 */ lwz r0, 0x2d0(r3) -/* 802883F8 00285358 80 83 02 B4 */ lwz r4, 0x2b4(r3) -/* 802883FC 0028535C 7C 00 20 00 */ cmpw r0, r4 -/* 80288400 00285360 41 80 00 18 */ blt lbl_80288418 -/* 80288404 00285364 38 04 FF FF */ addi r0, r4, -1 -/* 80288408 00285368 54 00 10 3A */ slwi r0, r0, 2 -/* 8028840C 0028536C 7C 63 02 14 */ add r3, r3, r0 -/* 80288410 00285370 C0 23 02 B8 */ lfs f1, 0x2b8(r3) -/* 80288414 00285374 4E 80 00 20 */ blr -lbl_80288418: -/* 80288418 00285378 54 00 10 3A */ slwi r0, r0, 2 -/* 8028841C 0028537C 7C 63 02 14 */ add r3, r3, r0 -/* 80288420 00285380 C0 23 02 B8 */ lfs f1, 0x2b8(r3) -/* 80288424 00285384 4E 80 00 20 */ blr - -.global GetAverageSpeed__7CPlayerCFv -GetAverageSpeed__7CPlayerCFv: -/* 80288428 00285388 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028842C 0028538C 7C 08 02 A6 */ mflr r0 -/* 80288430 00285390 90 01 00 24 */ stw r0, 0x24(r1) -/* 80288434 00285394 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80288438 00285398 7C 7F 1B 78 */ mr r31, r3 -/* 8028843C 0028539C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80288440 002853A0 38 9F 04 A4 */ addi r4, r31, 0x4a4 -/* 80288444 002853A4 48 00 00 4D */ bl sub_80288490 -/* 80288448 002853A8 88 61 00 14 */ lbz r3, 0x14(r1) -/* 8028844C 002853AC 38 00 00 00 */ li r0, 0 -/* 80288450 002853B0 28 03 00 00 */ cmplwi r3, 0 -/* 80288454 002853B4 98 01 00 14 */ stb r0, 0x14(r1) -/* 80288458 002853B8 41 82 00 20 */ beq lbl_80288478 -/* 8028845C 002853BC 38 61 00 08 */ addi r3, r1, 8 -/* 80288460 002853C0 38 9F 04 A4 */ addi r4, r31, 0x4a4 -/* 80288464 002853C4 48 00 00 2D */ bl sub_80288490 -/* 80288468 002853C8 38 00 00 00 */ li r0, 0 -/* 8028846C 002853CC C0 21 00 08 */ lfs f1, 8(r1) -/* 80288470 002853D0 98 01 00 0C */ stb r0, 0xc(r1) -/* 80288474 002853D4 48 00 00 08 */ b lbl_8028847C -lbl_80288478: -/* 80288478 002853D8 C0 3F 04 F8 */ lfs f1, 0x4f8(r31) -lbl_8028847C: -/* 8028847C 002853DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80288480 002853E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80288484 002853E4 7C 08 03 A6 */ mtlr r0 -/* 80288488 002853E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028848C 002853EC 4E 80 00 20 */ blr - -.global sub_80288490 -sub_80288490: -/* 80288490 002853F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288494 002853F4 7C 08 02 A6 */ mflr r0 -/* 80288498 002853F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028849C 002853FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802884A0 00285400 7C 7F 1B 78 */ mr r31, r3 -/* 802884A4 00285404 80 04 00 00 */ lwz r0, 0(r4) -/* 802884A8 00285408 2C 00 00 00 */ cmpwi r0, 0 -/* 802884AC 0028540C 40 82 00 10 */ bne lbl_802884BC -/* 802884B0 00285410 38 00 00 00 */ li r0, 0 -/* 802884B4 00285414 98 1F 00 04 */ stb r0, 4(r31) -/* 802884B8 00285418 48 00 00 24 */ b lbl_802884DC -lbl_802884BC: -/* 802884BC 0028541C 38 64 00 04 */ addi r3, r4, 4 -/* 802884C0 00285420 7C 04 03 78 */ mr r4, r0 -/* 802884C4 00285424 4B D8 03 D1 */ bl "GetAverageValue__FPCfi" -/* 802884C8 00285428 38 00 00 01 */ li r0, 1 -/* 802884CC 0028542C 28 1F 00 00 */ cmplwi r31, 0 -/* 802884D0 00285430 98 1F 00 04 */ stb r0, 4(r31) -/* 802884D4 00285434 41 82 00 08 */ beq lbl_802884DC -/* 802884D8 00285438 D0 3F 00 00 */ stfs f1, 0(r31) -lbl_802884DC: -/* 802884DC 0028543C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802884E0 00285440 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802884E4 00285444 7C 08 03 A6 */ mtlr r0 -/* 802884E8 00285448 38 21 00 10 */ addi r1, r1, 0x10 -/* 802884EC 0028544C 4E 80 00 20 */ blr - -.global GetDampedClampedVelocityWR__7CPlayerCFv -GetDampedClampedVelocityWR__7CPlayerCFv: -/* 802884F0 00285450 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802884F4 00285454 7C 08 02 A6 */ mflr r0 -/* 802884F8 00285458 90 01 00 54 */ stw r0, 0x54(r1) -/* 802884FC 0028545C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80288500 00285460 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80288504 00285464 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80288508 00285468 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8028850C 0028546C 7C 9F 23 78 */ mr r31, r4 -/* 80288510 00285470 7C 7E 1B 78 */ mr r30, r3 -/* 80288514 00285474 38 61 00 18 */ addi r3, r1, 0x18 -/* 80288518 00285478 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8028851C 0028547C 38 BF 01 38 */ addi r5, r31, 0x138 -/* 80288520 00285480 48 08 A5 05 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80288524 00285484 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 80288528 00285488 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8028852C 0028548C C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80288530 00285490 2C 00 00 02 */ cmpwi r0, 2 -/* 80288534 00285494 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80288538 00285498 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028853C 0028549C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80288540 002854A0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80288544 002854A4 40 82 00 28 */ bne lbl_8028856C -/* 80288548 002854A8 40 82 01 04 */ bne lbl_8028864C -/* 8028854C 002854AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 80288550 002854B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80288554 002854B4 40 82 00 0C */ bne lbl_80288560 -/* 80288558 002854B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 8028855C 002854BC 48 00 00 08 */ b lbl_80288564 -lbl_80288560: -/* 80288560 002854C0 38 00 00 04 */ li r0, 4 -lbl_80288564: -/* 80288564 002854C4 2C 00 00 01 */ cmpwi r0, 1 -/* 80288568 002854C8 41 82 00 E4 */ beq lbl_8028864C -lbl_8028856C: -/* 8028856C 002854CC 80 1F 03 04 */ lwz r0, 0x304(r31) -/* 80288570 002854D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80288574 002854D4 40 82 00 D8 */ bne lbl_8028864C -/* 80288578 002854D8 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 8028857C 002854DC 2C 00 00 02 */ cmpwi r0, 2 -/* 80288580 002854E0 40 82 00 0C */ bne lbl_8028858C -/* 80288584 002854E4 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 80288588 002854E8 48 00 00 08 */ b lbl_80288590 -lbl_8028858C: -/* 8028858C 002854EC 38 00 00 04 */ li r0, 4 -lbl_80288590: -/* 80288590 002854F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80288594 002854F4 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 80288598 002854F8 41 80 00 0C */ blt lbl_802885A4 -/* 8028859C 002854FC 2C 00 00 07 */ cmpwi r0, 7 -/* 802885A0 00285500 40 81 00 08 */ ble lbl_802885A8 -lbl_802885A4: -/* 802885A4 00285504 38 00 00 00 */ li r0, 0 -lbl_802885A8: -/* 802885A8 00285508 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802885AC 0028550C 54 00 10 3A */ slwi r0, r0, 2 -/* 802885B0 00285510 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802885B4 00285514 7C 63 02 14 */ add r3, r3, r0 -/* 802885B8 00285518 C3 E3 00 44 */ lfs f31, 0x44(r3) -/* 802885BC 0028551C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802885C0 00285520 40 81 00 24 */ ble lbl_802885E4 -/* 802885C4 00285524 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 802885C8 00285528 38 81 00 14 */ addi r4, r1, 0x14 -/* 802885CC 0028552C 38 6D 99 44 */ addi r3, r13, lbl_805A8504@sda21 -/* 802885D0 00285530 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802885D4 00285534 4B DC 71 5D */ bl "Max__5CMathFRCfRCf" -/* 802885D8 00285538 C0 03 00 00 */ lfs f0, 0(r3) -/* 802885DC 0028553C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802885E0 00285540 48 00 00 20 */ b lbl_80288600 -lbl_802885E4: -/* 802885E4 00285544 EC 1F 08 2A */ fadds f0, f31, f1 -/* 802885E8 00285548 38 81 00 10 */ addi r4, r1, 0x10 -/* 802885EC 0028554C 38 6D 99 48 */ addi r3, r13, lbl_805A8508@sda21 -/* 802885F0 00285550 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802885F4 00285554 4B DF 57 ED */ bl "Min__5CMathFRCfRCf" -/* 802885F8 00285558 C0 03 00 00 */ lfs f0, 0(r3) -/* 802885FC 0028555C D0 01 00 28 */ stfs f0, 0x28(r1) -lbl_80288600: -/* 80288600 00285560 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80288604 00285564 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 80288608 00285568 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028860C 0028556C 40 81 00 24 */ ble lbl_80288630 -/* 80288610 00285570 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80288614 00285574 38 81 00 0C */ addi r4, r1, 0xc -/* 80288618 00285578 38 6D 99 4C */ addi r3, r13, lbl_805A850C@sda21 -/* 8028861C 0028557C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80288620 00285580 4B DC 71 11 */ bl "Max__5CMathFRCfRCf" -/* 80288624 00285584 C0 03 00 00 */ lfs f0, 0(r3) -/* 80288628 00285588 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028862C 0028558C 48 00 00 20 */ b lbl_8028864C -lbl_80288630: -/* 80288630 00285590 EC 1F 08 2A */ fadds f0, f31, f1 -/* 80288634 00285594 38 81 00 08 */ addi r4, r1, 8 -/* 80288638 00285598 38 6D 99 50 */ addi r3, r13, lbl_805A8510@sda21 -/* 8028863C 0028559C D0 01 00 08 */ stfs f0, 8(r1) -/* 80288640 002855A0 4B DF 57 A1 */ bl "Min__5CMathFRCfRCf" -/* 80288644 002855A4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80288648 002855A8 D0 01 00 24 */ stfs f0, 0x24(r1) -lbl_8028864C: -/* 8028864C 002855AC 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 80288650 002855B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80288654 002855B4 40 82 00 0C */ bne lbl_80288660 -/* 80288658 002855B8 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 8028865C 002855BC 48 00 00 08 */ b lbl_80288664 -lbl_80288660: -/* 80288660 002855C0 38 00 00 04 */ li r0, 4 -lbl_80288664: -/* 80288664 002855C4 2C 00 00 00 */ cmpwi r0, 0 -/* 80288668 002855C8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 8028866C 002855CC 41 80 00 0C */ blt lbl_80288678 -/* 80288670 002855D0 2C 00 00 07 */ cmpwi r0, 7 -/* 80288674 002855D4 40 81 00 08 */ ble lbl_8028867C -lbl_80288678: -/* 80288678 002855D8 38 00 00 00 */ li r0, 0 -lbl_8028867C: -/* 8028867C 002855DC C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80288680 002855E0 54 00 10 3A */ slwi r0, r0, 2 -/* 80288684 002855E4 7C 63 02 14 */ add r3, r3, r0 -/* 80288688 002855E8 FC 20 12 10 */ fabs f1, f2 -/* 8028868C 002855EC C0 03 00 A4 */ lfs f0, 0xa4(r3) -/* 80288690 002855F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288694 002855F4 40 81 00 14 */ ble lbl_802886A8 -/* 80288698 002855F8 C0 62 BD C8 */ lfs f3, lbl_805ADAE8@sda21(r2) -/* 8028869C 002855FC C0 22 BD 80 */ lfs f1, lbl_805ADAA0@sda21(r2) -/* 802886A0 00285600 FC 22 18 6E */ fsel f1, f2, f1, f3 -/* 802886A4 00285604 EC 40 00 72 */ fmuls f2, f0, f1 -lbl_802886A8: -/* 802886A8 00285608 80 1F 02 58 */ lwz r0, 0x258(r31) -/* 802886AC 0028560C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802886B0 00285610 2C 00 00 00 */ cmpwi r0, 0 -/* 802886B4 00285614 40 82 00 0C */ bne lbl_802886C0 -/* 802886B8 00285618 C0 02 BD A0 */ lfs f0, lbl_805ADAC0@sda21(r2) -/* 802886BC 0028561C D0 01 00 2C */ stfs f0, 0x2c(r1) -lbl_802886C0: -/* 802886C0 00285620 7F C3 F3 78 */ mr r3, r30 -/* 802886C4 00285624 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802886C8 00285628 38 A1 00 24 */ addi r5, r1, 0x24 -/* 802886CC 0028562C 48 08 A3 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 802886D0 00285630 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802886D4 00285634 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802886D8 00285638 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802886DC 0028563C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802886E0 00285640 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802886E4 00285644 7C 08 03 A6 */ mtlr r0 -/* 802886E8 00285648 38 21 00 50 */ addi r1, r1, 0x50 -/* 802886EC 0028564C 4E 80 00 20 */ blr - -.global __sinit_CPlayerDynamics_cpp -__sinit_CPlayerDynamics_cpp: -/* 802886F0 00285650 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802886F4 00285654 7C 08 02 A6 */ mflr r0 -/* 802886F8 00285658 38 60 00 00 */ li r3, 0 -/* 802886FC 0028565C 38 80 00 01 */ li r4, 1 -/* 80288700 00285660 90 01 00 34 */ stw r0, 0x34(r1) -/* 80288704 00285664 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80288708 00285668 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028870C 0028566C 80 AD 99 30 */ lwz r5, lbl_805A84F0@sda21(r13) -/* 80288710 00285670 48 10 17 E5 */ bl __shl2i -/* 80288714 00285674 90 8D A5 94 */ stw r4, lbl_805A9154@sda21(r13) -/* 80288718 00285678 38 80 00 01 */ li r4, 1 -/* 8028871C 0028567C 80 AD 99 34 */ lwz r5, lbl_805A84F4@sda21(r13) -/* 80288720 00285680 90 6D A5 90 */ stw r3, lbl_805A9150@sda21(r13) -/* 80288724 00285684 38 60 00 00 */ li r3, 0 -/* 80288728 00285688 48 10 17 CD */ bl __shl2i -/* 8028872C 0028568C 80 AD 99 38 */ lwz r5, lbl_805A84F8@sda21(r13) -/* 80288730 00285690 7C 9E 23 78 */ mr r30, r4 -/* 80288734 00285694 7C 7F 1B 78 */ mr r31, r3 -/* 80288738 00285698 38 60 00 00 */ li r3, 0 -/* 8028873C 0028569C 38 80 00 01 */ li r4, 1 -/* 80288740 002856A0 48 10 17 B5 */ bl __shl2i -/* 80288744 002856A4 80 AD 99 3C */ lwz r5, lbl_805A84FC@sda21(r13) -/* 80288748 002856A8 7F DE 23 78 */ or r30, r30, r4 -/* 8028874C 002856AC 7F FF 1B 78 */ or r31, r31, r3 -/* 80288750 002856B0 38 60 00 00 */ li r3, 0 -/* 80288754 002856B4 38 80 00 01 */ li r4, 1 -/* 80288758 002856B8 48 10 17 9D */ bl __shl2i -/* 8028875C 002856BC 80 AD 99 40 */ lwz r5, lbl_805A8500@sda21(r13) -/* 80288760 002856C0 7F DE 23 78 */ or r30, r30, r4 -/* 80288764 002856C4 7F FF 1B 78 */ or r31, r31, r3 -/* 80288768 002856C8 38 60 00 00 */ li r3, 0 -/* 8028876C 002856CC 38 80 00 01 */ li r4, 1 -/* 80288770 002856D0 48 10 17 85 */ bl __shl2i -/* 80288774 002856D4 3C A0 80 47 */ lis r5, lbl_8046E0D8@ha -/* 80288778 002856D8 80 0D A5 90 */ lwz r0, lbl_805A9150@sda21(r13) -/* 8028877C 002856DC 7F DE 23 78 */ or r30, r30, r4 -/* 80288780 002856E0 7F FF 1B 78 */ or r31, r31, r3 -/* 80288784 002856E4 38 65 E0 D8 */ addi r3, r5, lbl_8046E0D8@l -/* 80288788 002856E8 38 A0 00 03 */ li r5, 3 -/* 8028878C 002856EC 80 8D A5 94 */ lwz r4, lbl_805A9154@sda21(r13) -/* 80288790 002856F0 93 CD A5 9C */ stw r30, lbl_805A915C@sda21(r13) -/* 80288794 002856F4 93 ED A5 98 */ stw r31, lbl_805A9158@sda21(r13) -/* 80288798 002856F8 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8028879C 002856FC 90 83 00 04 */ stw r4, 4(r3) -/* 802887A0 00285700 90 03 00 00 */ stw r0, 0(r3) -/* 802887A4 00285704 93 C3 00 0C */ stw r30, 0xc(r3) -/* 802887A8 00285708 93 E3 00 08 */ stw r31, 8(r3) -/* 802887AC 0028570C 90 A3 00 10 */ stw r5, 0x10(r3) -/* 802887B0 00285710 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802887B4 00285714 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802887B8 00285718 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802887BC 0028571C 7C 08 03 A6 */ mtlr r0 -/* 802887C0 00285720 38 21 00 30 */ addi r1, r1, 0x30 -/* 802887C4 00285724 4E 80 00 20 */ blr - -.global __dt__15CScriptMazeNodeFv -__dt__15CScriptMazeNodeFv: -/* 802887C8 00285728 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802887CC 0028572C 7C 08 02 A6 */ mflr r0 -/* 802887D0 00285730 90 01 00 24 */ stw r0, 0x24(r1) -/* 802887D4 00285734 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802887D8 00285738 7C 9F 23 78 */ mr r31, r4 -/* 802887DC 0028573C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802887E0 00285740 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802887E4 00285744 41 82 00 74 */ beq lbl_80288858 -/* 802887E8 00285748 3C 60 80 3F */ lis r3, lbl_803EB658@ha -/* 802887EC 0028574C 34 1E 01 2C */ addic. r0, r30, 0x12c -/* 802887F0 00285750 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l -/* 802887F4 00285754 90 1E 00 00 */ stw r0, 0(r30) -/* 802887F8 00285758 41 82 00 44 */ beq lbl_8028883C -/* 802887FC 0028575C 80 1E 01 30 */ lwz r0, 0x130(r30) -/* 80288800 00285760 80 7E 01 38 */ lwz r3, 0x138(r30) -/* 80288804 00285764 54 00 08 3C */ slwi r0, r0, 1 -/* 80288808 00285768 7C 03 02 14 */ add r0, r3, r0 -/* 8028880C 0028576C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80288810 00285770 7C 64 1B 78 */ mr r4, r3 -/* 80288814 00285774 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288818 00285778 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028881C 0028577C 90 61 00 08 */ stw r3, 8(r1) -/* 80288820 00285780 48 00 00 08 */ b lbl_80288828 -lbl_80288824: -/* 80288824 00285784 38 84 00 02 */ addi r4, r4, 2 -lbl_80288828: -/* 80288828 00285788 7C 04 00 40 */ cmplw r4, r0 -/* 8028882C 0028578C 40 82 FF F8 */ bne lbl_80288824 -/* 80288830 00285790 28 03 00 00 */ cmplwi r3, 0 -/* 80288834 00285794 41 82 00 08 */ beq lbl_8028883C -/* 80288838 00285798 48 08 D0 F9 */ bl Free__7CMemoryFPCv -lbl_8028883C: -/* 8028883C 0028579C 7F C3 F3 78 */ mr r3, r30 -/* 80288840 002857A0 38 80 00 00 */ li r4, 0 -/* 80288844 002857A4 4B DC CE AD */ bl __dt__6CActorFv -/* 80288848 002857A8 7F E0 07 35 */ extsh. r0, r31 -/* 8028884C 002857AC 40 81 00 0C */ ble lbl_80288858 -/* 80288850 002857B0 7F C3 F3 78 */ mr r3, r30 -/* 80288854 002857B4 48 08 D0 DD */ bl Free__7CMemoryFPCv -lbl_80288858: -/* 80288858 002857B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028885C 002857BC 7F C3 F3 78 */ mr r3, r30 -/* 80288860 002857C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80288864 002857C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80288868 002857C8 7C 08 03 A6 */ mtlr r0 -/* 8028886C 002857CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80288870 002857D0 4E 80 00 20 */ blr - -.global LoadMazeSeeds__15CScriptMazeNodeFv -LoadMazeSeeds__15CScriptMazeNodeFv: -/* 80288874 002857D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80288878 002857D8 7C 08 02 A6 */ mflr r0 -/* 8028887C 002857DC 3C 80 80 3D */ lis r4, lbl_803D5980@ha -/* 80288880 002857E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80288884 002857E4 38 84 59 80 */ addi r4, r4, lbl_803D5980@l -/* 80288888 002857E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028888C 002857EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80288890 002857F0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80288894 002857F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80288898 002857F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028889C 002857FC 7D 89 03 A6 */ mtctr r12 -/* 802888A0 00285800 4E 80 04 21 */ bctrl -/* 802888A4 00285804 80 CD A0 60 */ lwz r6, gpResourceFactory@sda21(r13) -/* 802888A8 00285808 7C 64 1B 78 */ mr r4, r3 -/* 802888AC 0028580C 38 A0 00 00 */ li r5, 0 -/* 802888B0 00285810 38 66 00 04 */ addi r3, r6, 4 -/* 802888B4 00285814 48 0B 30 B5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 802888B8 00285818 7C 03 00 D0 */ neg r0, r3 -/* 802888BC 0028581C 3C 80 80 57 */ lis r4, lbl_805726FC@ha -/* 802888C0 00285820 7C 00 1B 78 */ or r0, r0, r3 -/* 802888C4 00285824 90 61 00 0C */ stw r3, 0xc(r1) -/* 802888C8 00285828 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802888CC 0028582C 3B E4 26 FC */ addi r31, r4, lbl_805726FC@l -/* 802888D0 00285830 98 01 00 08 */ stb r0, 8(r1) -/* 802888D4 00285834 3B C0 00 00 */ li r30, 0 -lbl_802888D8: -/* 802888D8 00285838 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802888DC 0028583C 48 0B 63 A9 */ bl ReadLong__12CInputStreamFv -/* 802888E0 00285840 3B DE 00 01 */ addi r30, r30, 1 -/* 802888E4 00285844 90 7F 00 00 */ stw r3, 0(r31) -/* 802888E8 00285848 2C 1E 01 2C */ cmpwi r30, 0x12c -/* 802888EC 0028584C 3B FF 00 04 */ addi r31, r31, 4 -/* 802888F0 00285850 41 80 FF E8 */ blt lbl_802888D8 -/* 802888F4 00285854 88 01 00 08 */ lbz r0, 8(r1) -/* 802888F8 00285858 28 00 00 00 */ cmplwi r0, 0 -/* 802888FC 0028585C 41 82 00 24 */ beq lbl_80288920 -/* 80288900 00285860 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80288904 00285864 28 03 00 00 */ cmplwi r3, 0 -/* 80288908 00285868 41 82 00 18 */ beq lbl_80288920 -/* 8028890C 0028586C 81 83 00 00 */ lwz r12, 0(r3) -/* 80288910 00285870 38 80 00 01 */ li r4, 1 -/* 80288914 00285874 81 8C 00 08 */ lwz r12, 8(r12) -/* 80288918 00285878 7D 89 03 A6 */ mtctr r12 -/* 8028891C 0028587C 4E 80 04 21 */ bctrl -lbl_80288920: -/* 80288920 00285880 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80288924 00285884 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80288928 00285888 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028892C 0028588C 7C 08 03 A6 */ mtlr r0 -/* 80288930 00285890 38 21 00 20 */ addi r1, r1, 0x20 -/* 80288934 00285894 4E 80 00 20 */ blr - -.global Think__15CScriptMazeNodeFfR13CStateManager -Think__15CScriptMazeNodeFfR13CStateManager: -/* 80288938 00285898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028893C 0028589C 7C 08 02 A6 */ mflr r0 -/* 80288940 002858A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288944 002858A4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80288948 002858A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8028894C 002858AC 41 82 00 70 */ beq lbl_802889BC -/* 80288950 002858B0 88 03 01 3C */ lbz r0, 0x13c(r3) -/* 80288954 002858B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80288958 002858B8 41 82 00 64 */ beq lbl_802889BC -/* 8028895C 002858BC C0 43 00 F8 */ lfs f2, 0xf8(r3) -/* 80288960 002858C0 C0 02 BE 60 */ lfs f0, lbl_805ADB80@sda21(r2) -/* 80288964 002858C4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80288968 002858C8 D0 23 00 F8 */ stfs f1, 0xf8(r3) -/* 8028896C 002858CC C0 23 00 F8 */ lfs f1, 0xf8(r3) -/* 80288970 002858D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288974 002858D4 4C 40 13 82 */ cror 2, 0, 2 -/* 80288978 002858D8 40 82 00 44 */ bne lbl_802889BC -/* 8028897C 002858DC C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) -/* 80288980 002858E0 D0 03 00 F8 */ stfs f0, 0xf8(r3) -/* 80288984 002858E4 88 C3 01 3C */ lbz r6, 0x13c(r3) -/* 80288988 002858E8 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f -/* 8028898C 002858EC 41 82 00 1C */ beq lbl_802889A8 -/* 80288990 002858F0 38 00 00 00 */ li r0, 0 -/* 80288994 002858F4 38 A0 00 04 */ li r5, 4 -/* 80288998 002858F8 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a -/* 8028899C 002858FC 98 C3 01 3C */ stb r6, 0x13c(r3) -/* 802889A0 00285900 48 00 08 81 */ bl sub_80289220 -/* 802889A4 00285904 48 00 00 18 */ b lbl_802889BC -lbl_802889A8: -/* 802889A8 00285908 38 00 00 01 */ li r0, 1 -/* 802889AC 0028590C 38 A0 00 01 */ li r5, 1 -/* 802889B0 00285910 50 06 2E B4 */ rlwimi r6, r0, 5, 0x1a, 0x1a -/* 802889B4 00285914 98 C3 01 3C */ stb r6, 0x13c(r3) -/* 802889B8 00285918 48 00 08 69 */ bl sub_80289220 -lbl_802889BC: -/* 802889BC 0028591C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802889C0 00285920 7C 08 03 A6 */ mtlr r0 -/* 802889C4 00285924 38 21 00 10 */ addi r1, r1, 0x10 -/* 802889C8 00285928 4E 80 00 20 */ blr - -.global AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__15CScriptMazeNodeF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 802889CC 0028592C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802889D0 00285930 7C 08 02 A6 */ mflr r0 -/* 802889D4 00285934 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802889D8 00285938 BF 01 00 D0 */ stmw r24, 0xd0(r1) -/* 802889DC 0028593C 7C 7F 1B 78 */ mr r31, r3 -/* 802889E0 00285940 7C 98 23 78 */ mr r24, r4 -/* 802889E4 00285944 7C B9 2B 78 */ mr r25, r5 -/* 802889E8 00285948 7C DE 33 78 */ mr r30, r6 -/* 802889EC 0028594C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 802889F0 00285950 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802889F4 00285954 41 82 07 FC */ beq lbl_802891F0 -/* 802889F8 00285958 2C 18 00 13 */ cmpwi r24, 0x13 -/* 802889FC 0028595C 41 82 01 04 */ beq lbl_80288B00 -/* 80288A00 00285960 40 80 00 1C */ bge lbl_80288A1C -/* 80288A04 00285964 2C 18 00 0D */ cmpwi r24, 0xd -/* 80288A08 00285968 41 82 04 A4 */ beq lbl_80288EAC -/* 80288A0C 0028596C 40 80 07 E4 */ bge lbl_802891F0 -/* 80288A10 00285970 2C 18 00 04 */ cmpwi r24, 4 -/* 80288A14 00285974 41 82 07 D4 */ beq lbl_802891E8 -/* 80288A18 00285978 48 00 07 D8 */ b lbl_802891F0 -lbl_80288A1C: -/* 80288A1C 0028597C 2C 18 00 23 */ cmpwi r24, 0x23 -/* 80288A20 00285980 41 82 00 14 */ beq lbl_80288A34 -/* 80288A24 00285984 40 80 07 CC */ bge lbl_802891F0 -/* 80288A28 00285988 2C 18 00 22 */ cmpwi r24, 0x22 -/* 80288A2C 0028598C 40 80 07 80 */ bge lbl_802891AC -/* 80288A30 00285990 48 00 07 C0 */ b lbl_802891F0 -lbl_80288A34: -/* 80288A34 00285994 7F C3 F3 78 */ mr r3, r30 -/* 80288A38 00285998 4B DB B6 51 */ bl sub_80044088 -/* 80288A3C 0028599C 28 03 00 00 */ cmplwi r3, 0 -/* 80288A40 002859A0 40 82 07 B0 */ bne lbl_802891F0 -/* 80288A44 002859A4 3C 80 80 3D */ lis r4, lbl_803D5980@ha -/* 80288A48 002859A8 38 60 00 98 */ li r3, 0x98 -/* 80288A4C 002859AC 38 84 59 80 */ addi r4, r4, lbl_803D5980@l -/* 80288A50 002859B0 38 A0 00 00 */ li r5, 0 -/* 80288A54 002859B4 38 84 00 0F */ addi r4, r4, 0xf -/* 80288A58 002859B8 48 08 CE 15 */ bl __nw__FUlPCcPCc -/* 80288A5C 002859BC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80288A60 002859C0 41 82 00 1C */ beq lbl_80288A7C -/* 80288A64 002859C4 38 80 00 04 */ li r4, 4 -/* 80288A68 002859C8 38 A0 00 04 */ li r5, 4 -/* 80288A6C 002859CC 38 C0 00 05 */ li r6, 5 -/* 80288A70 002859D0 38 E0 00 03 */ li r7, 3 -/* 80288A74 002859D4 48 00 1E 25 */ bl sub_8028a898 -/* 80288A78 002859D8 7C 7A 1B 78 */ mr r26, r3 -lbl_80288A7C: -/* 80288A7C 002859DC 93 41 00 5C */ stw r26, 0x5c(r1) -/* 80288A80 002859E0 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80288A84 002859E4 48 08 9A 9D */ bl Next__9CRandom16Fv -/* 80288A88 002859E8 3C A0 1B 4F */ lis r5, 0x1B4E81B5@ha -/* 80288A8C 002859EC 3C 80 80 57 */ lis r4, lbl_805726FC@ha -/* 80288A90 002859F0 38 05 81 B5 */ addi r0, r5, 0x1B4E81B5@l -/* 80288A94 002859F4 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80288A98 002859F8 38 84 26 FC */ addi r4, r4, lbl_805726FC@l -/* 80288A9C 002859FC 7C 00 2E 70 */ srawi r0, r0, 5 -/* 80288AA0 00285A00 54 05 0F FE */ srwi r5, r0, 0x1f -/* 80288AA4 00285A04 7C 00 2A 14 */ add r0, r0, r5 -/* 80288AA8 00285A08 1C 00 01 2C */ mulli r0, r0, 0x12c -/* 80288AAC 00285A0C 7C 00 18 50 */ subf r0, r0, r3 -/* 80288AB0 00285A10 7F 43 D3 78 */ mr r3, r26 -/* 80288AB4 00285A14 54 00 10 3A */ slwi r0, r0, 2 -/* 80288AB8 00285A18 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80288ABC 00285A1C 48 00 14 75 */ bl sub_80289f30 -/* 80288AC0 00285A20 7F 43 D3 78 */ mr r3, r26 -/* 80288AC4 00285A24 48 00 0D 39 */ bl sub_802897fc -/* 80288AC8 00285A28 7F 43 D3 78 */ mr r3, r26 -/* 80288ACC 00285A2C 48 00 0E FD */ bl sub_802899c8 -/* 80288AD0 00285A30 7F 45 D3 78 */ mr r5, r26 -/* 80288AD4 00285A34 38 00 00 00 */ li r0, 0 -/* 80288AD8 00285A38 90 A1 00 58 */ stw r5, 0x58(r1) -/* 80288ADC 00285A3C 7F C3 F3 78 */ mr r3, r30 -/* 80288AE0 00285A40 38 81 00 58 */ addi r4, r1, 0x58 -/* 80288AE4 00285A44 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80288AE8 00285A48 4B DB B5 49 */ bl sub_80044030 -/* 80288AEC 00285A4C 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80288AF0 00285A50 48 08 CE 41 */ bl Free__7CMemoryFPCv -/* 80288AF4 00285A54 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80288AF8 00285A58 48 08 CE 39 */ bl Free__7CMemoryFPCv -/* 80288AFC 00285A5C 48 00 06 F4 */ b lbl_802891F0 -lbl_80288B00: -/* 80288B00 00285A60 7F C3 F3 78 */ mr r3, r30 -/* 80288B04 00285A64 3B 60 00 00 */ li r27, 0 -/* 80288B08 00285A68 4B DB B5 81 */ bl sub_80044088 -/* 80288B0C 00285A6C 28 03 00 00 */ cmplwi r3, 0 -/* 80288B10 00285A70 41 82 06 E0 */ beq lbl_802891F0 -/* 80288B14 00285A74 80 9F 00 E8 */ lwz r4, 0xe8(r31) -/* 80288B18 00285A78 80 BF 00 EC */ lwz r5, 0xec(r31) -/* 80288B1C 00285A7C 48 00 13 F9 */ bl sub_80289f14 -/* 80288B20 00285A80 80 9F 00 F0 */ lwz r4, 0xf0(r31) -/* 80288B24 00285A84 7C 7A 1B 78 */ mr r26, r3 -/* 80288B28 00285A88 2C 04 00 00 */ cmpwi r4, 0 -/* 80288B2C 00285A8C 40 82 00 30 */ bne lbl_80288B5C -/* 80288B30 00285A90 88 7A 00 00 */ lbz r3, 0(r26) -/* 80288B34 00285A94 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80288B38 00285A98 41 82 00 24 */ beq lbl_80288B5C -/* 80288B3C 00285A9C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80288B40 00285AA0 41 82 00 54 */ beq lbl_80288B94 -/* 80288B44 00285AA4 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288B48 00285AA8 38 60 00 01 */ li r3, 1 -/* 80288B4C 00285AAC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80288B50 00285AB0 3B 60 00 01 */ li r27, 1 -/* 80288B54 00285AB4 98 1F 01 3C */ stb r0, 0x13c(r31) -/* 80288B58 00285AB8 48 00 00 3C */ b lbl_80288B94 -lbl_80288B5C: -/* 80288B5C 00285ABC 2C 04 00 01 */ cmpwi r4, 1 -/* 80288B60 00285AC0 40 82 00 30 */ bne lbl_80288B90 -/* 80288B64 00285AC4 88 7A 00 00 */ lbz r3, 0(r26) -/* 80288B68 00285AC8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80288B6C 00285ACC 41 82 00 24 */ beq lbl_80288B90 -/* 80288B70 00285AD0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80288B74 00285AD4 41 82 00 20 */ beq lbl_80288B94 -/* 80288B78 00285AD8 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288B7C 00285ADC 38 60 00 01 */ li r3, 1 -/* 80288B80 00285AE0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80288B84 00285AE4 3B 60 00 01 */ li r27, 1 -/* 80288B88 00285AE8 98 1F 01 3C */ stb r0, 0x13c(r31) -/* 80288B8C 00285AEC 48 00 00 08 */ b lbl_80288B94 -lbl_80288B90: -/* 80288B90 00285AF0 3B 60 00 01 */ li r27, 1 -lbl_80288B94: -/* 80288B94 00285AF4 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80288B98 00285AF8 41 82 00 10 */ beq lbl_80288BA8 -/* 80288B9C 00285AFC 7F E3 FB 78 */ mr r3, r31 -/* 80288BA0 00285B00 7F C4 F3 78 */ mr r4, r30 -/* 80288BA4 00285B04 48 00 08 41 */ bl sub_802893e4 -lbl_80288BA8: -/* 80288BA8 00285B08 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80288BAC 00285B0C 2C 00 00 01 */ cmpwi r0, 1 -/* 80288BB0 00285B10 40 82 00 20 */ bne lbl_80288BD0 -/* 80288BB4 00285B14 88 1A 00 01 */ lbz r0, 1(r26) -/* 80288BB8 00285B18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80288BBC 00285B1C 41 82 00 14 */ beq lbl_80288BD0 -/* 80288BC0 00285B20 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288BC4 00285B24 38 60 00 01 */ li r3, 1 -/* 80288BC8 00285B28 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80288BCC 00285B2C 98 1F 01 3C */ stb r0, 0x13c(r31) -lbl_80288BD0: -/* 80288BD0 00285B30 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288BD4 00285B34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80288BD8 00285B38 41 82 01 14 */ beq lbl_80288CEC -/* 80288BDC 00285B3C 38 61 00 94 */ addi r3, r1, 0x94 -/* 80288BE0 00285B40 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80288BE4 00285B44 48 08 9F 91 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80288BE8 00285B48 80 DF 00 2C */ lwz r6, 0x2c(r31) -/* 80288BEC 00285B4C 48 00 00 E8 */ b lbl_80288CD4 -lbl_80288BF0: -/* 80288BF0 00285B50 80 06 00 00 */ lwz r0, 0(r6) -/* 80288BF4 00285B54 2C 00 00 19 */ cmpwi r0, 0x19 -/* 80288BF8 00285B58 40 82 00 D8 */ bne lbl_80288CD0 -/* 80288BFC 00285B5C 80 06 00 04 */ lwz r0, 4(r6) -/* 80288C00 00285B60 2C 00 00 01 */ cmpwi r0, 1 -/* 80288C04 00285B64 40 82 00 CC */ bne lbl_80288CD0 -/* 80288C08 00285B68 88 BE 0F 94 */ lbz r5, 0xf94(r30) -/* 80288C0C 00285B6C 38 60 00 01 */ li r3, 1 -/* 80288C10 00285B70 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 80288C14 00285B74 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80288C18 00285B78 7F C4 F3 78 */ mr r4, r30 -/* 80288C1C 00285B7C 54 BA DF FE */ rlwinm r26, r5, 0x1b, 0x1f, 0x1f -/* 80288C20 00285B80 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 80288C24 00285B84 38 61 00 80 */ addi r3, r1, 0x80 -/* 80288C28 00285B88 38 A6 00 08 */ addi r5, r6, 8 -/* 80288C2C 00285B8C 4B DB F6 BD */ bl GenerateObject__13CStateManagerF9TEditorId -/* 80288C30 00285B90 A0 A1 00 84 */ lhz r5, 0x84(r1) -/* 80288C34 00285B94 7F C3 F3 78 */ mr r3, r30 -/* 80288C38 00285B98 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 80288C3C 00285B9C 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a -/* 80288C40 00285BA0 B0 A1 00 3C */ sth r5, 0x3c(r1) -/* 80288C44 00285BA4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80288C48 00285BA8 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 80288C4C 00285BAC B0 BF 00 F4 */ sth r5, 0xf4(r31) -/* 80288C50 00285BB0 B0 A1 00 34 */ sth r5, 0x34(r1) -/* 80288C54 00285BB4 4B DC 39 21 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80288C58 00285BB8 7C 64 1B 78 */ mr r4, r3 -/* 80288C5C 00285BBC 38 61 00 78 */ addi r3, r1, 0x78 -/* 80288C60 00285BC0 4B E2 70 31 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80288C64 00285BC4 83 43 00 04 */ lwz r26, 4(r3) -/* 80288C68 00285BC8 28 1A 00 00 */ cmplwi r26, 0 -/* 80288C6C 00285BCC 41 82 00 80 */ beq lbl_80288CEC -/* 80288C70 00285BD0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80288C74 00285BD4 7F 43 D3 78 */ mr r3, r26 -/* 80288C78 00285BD8 C0 1F 01 24 */ lfs f0, 0x124(r31) -/* 80288C7C 00285BDC 38 81 00 88 */ addi r4, r1, 0x88 -/* 80288C80 00285BE0 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 80288C84 00285BE4 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 80288C88 00285BE8 EC 81 00 2A */ fadds f4, f1, f0 -/* 80288C8C 00285BEC C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80288C90 00285BF0 C0 1F 01 20 */ lfs f0, 0x120(r31) -/* 80288C94 00285BF4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80288C98 00285BF8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80288C9C 00285BFC D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 80288CA0 00285C00 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 80288CA4 00285C04 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80288CA8 00285C08 4B DC A1 E5 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80288CAC 00285C0C A0 1F 00 08 */ lhz r0, 8(r31) -/* 80288CB0 00285C10 7F C3 F3 78 */ mr r3, r30 -/* 80288CB4 00285C14 7F 44 D3 78 */ mr r4, r26 -/* 80288CB8 00285C18 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80288CBC 00285C1C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80288CC0 00285C20 38 C0 00 01 */ li r6, 1 -/* 80288CC4 00285C24 B0 01 00 30 */ sth r0, 0x30(r1) -/* 80288CC8 00285C28 4B DB B2 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80288CCC 00285C2C 48 00 00 20 */ b lbl_80288CEC -lbl_80288CD0: -/* 80288CD0 00285C30 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80288CD4: -/* 80288CD4 00285C34 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80288CD8 00285C38 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80288CDC 00285C3C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80288CE0 00285C40 7C 03 02 14 */ add r0, r3, r0 -/* 80288CE4 00285C44 7C 06 00 40 */ cmplw r6, r0 -/* 80288CE8 00285C48 40 82 FF 08 */ bne lbl_80288BF0 -lbl_80288CEC: -/* 80288CEC 00285C4C 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288CF0 00285C50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80288CF4 00285C54 41 82 04 FC */ beq lbl_802891F0 -/* 80288CF8 00285C58 80 BF 00 2C */ lwz r5, 0x2c(r31) -/* 80288CFC 00285C5C 38 80 00 00 */ li r4, 0 -/* 80288D00 00285C60 48 00 00 2C */ b lbl_80288D2C -lbl_80288D04: -/* 80288D04 00285C64 80 05 00 00 */ lwz r0, 0(r5) -/* 80288D08 00285C68 2C 00 00 02 */ cmpwi r0, 2 -/* 80288D0C 00285C6C 41 82 00 0C */ beq lbl_80288D18 -/* 80288D10 00285C70 2C 00 00 11 */ cmpwi r0, 0x11 -/* 80288D14 00285C74 40 82 00 14 */ bne lbl_80288D28 -lbl_80288D18: -/* 80288D18 00285C78 80 05 00 04 */ lwz r0, 4(r5) -/* 80288D1C 00285C7C 2C 00 00 01 */ cmpwi r0, 1 -/* 80288D20 00285C80 40 82 00 08 */ bne lbl_80288D28 -/* 80288D24 00285C84 38 84 00 01 */ addi r4, r4, 1 -lbl_80288D28: -/* 80288D28 00285C88 38 A5 00 0C */ addi r5, r5, 0xc -lbl_80288D2C: -/* 80288D2C 00285C8C 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80288D30 00285C90 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80288D34 00285C94 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80288D38 00285C98 7C 03 02 14 */ add r0, r3, r0 -/* 80288D3C 00285C9C 7C 05 00 40 */ cmplw r5, r0 -/* 80288D40 00285CA0 40 82 FF C4 */ bne lbl_80288D04 -/* 80288D44 00285CA4 38 7F 01 2C */ addi r3, r31, 0x12c -/* 80288D48 00285CA8 4B D8 36 C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80288D4C 00285CAC 83 5F 00 2C */ lwz r26, 0x2c(r31) -/* 80288D50 00285CB0 48 00 01 40 */ b lbl_80288E90 -lbl_80288D54: -/* 80288D54 00285CB4 80 1A 00 00 */ lwz r0, 0(r26) -/* 80288D58 00285CB8 2C 00 00 02 */ cmpwi r0, 2 -/* 80288D5C 00285CBC 41 82 00 0C */ beq lbl_80288D68 -/* 80288D60 00285CC0 2C 00 00 11 */ cmpwi r0, 0x11 -/* 80288D64 00285CC4 40 82 01 28 */ bne lbl_80288E8C -lbl_80288D68: -/* 80288D68 00285CC8 80 1A 00 04 */ lwz r0, 4(r26) -/* 80288D6C 00285CCC 2C 00 00 01 */ cmpwi r0, 1 -/* 80288D70 00285CD0 40 82 01 1C */ bne lbl_80288E8C -/* 80288D74 00285CD4 88 BE 0F 94 */ lbz r5, 0xf94(r30) -/* 80288D78 00285CD8 38 60 00 01 */ li r3, 1 -/* 80288D7C 00285CDC 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 80288D80 00285CE0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80288D84 00285CE4 7F C4 F3 78 */ mr r4, r30 -/* 80288D88 00285CE8 54 BB DF FE */ rlwinm r27, r5, 0x1b, 0x1f, 0x1f -/* 80288D8C 00285CEC 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 80288D90 00285CF0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80288D94 00285CF4 38 BA 00 08 */ addi r5, r26, 8 -/* 80288D98 00285CF8 4B DB F5 51 */ bl GenerateObject__13CStateManagerF9TEditorId -/* 80288D9C 00285CFC A0 61 00 74 */ lhz r3, 0x74(r1) -/* 80288DA0 00285D00 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 80288DA4 00285D04 53 60 2E B4 */ rlwimi r0, r27, 5, 0x1a, 0x1a -/* 80288DA8 00285D08 B0 61 00 38 */ sth r3, 0x38(r1) -/* 80288DAC 00285D0C 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 80288DB0 00285D10 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 80288DB4 00285D14 80 BF 01 34 */ lwz r5, 0x134(r31) -/* 80288DB8 00285D18 7C 00 28 00 */ cmpw r0, r5 -/* 80288DBC 00285D1C 41 80 00 1C */ blt lbl_80288DD8 -/* 80288DC0 00285D20 2C 05 00 00 */ cmpwi r5, 0 -/* 80288DC4 00285D24 38 7F 01 2C */ addi r3, r31, 0x12c -/* 80288DC8 00285D28 38 80 00 04 */ li r4, 4 -/* 80288DCC 00285D2C 41 82 00 08 */ beq lbl_80288DD4 -/* 80288DD0 00285D30 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80288DD4: -/* 80288DD4 00285D34 4B D8 36 35 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80288DD8: -/* 80288DD8 00285D38 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 80288DDC 00285D3C 80 7F 01 38 */ lwz r3, 0x138(r31) -/* 80288DE0 00285D40 54 00 08 3C */ slwi r0, r0, 1 -/* 80288DE4 00285D44 7C 63 02 15 */ add. r3, r3, r0 -/* 80288DE8 00285D48 41 82 00 0C */ beq lbl_80288DF4 -/* 80288DEC 00285D4C A0 01 00 38 */ lhz r0, 0x38(r1) -/* 80288DF0 00285D50 B0 03 00 00 */ sth r0, 0(r3) -lbl_80288DF4: -/* 80288DF4 00285D54 80 BF 01 30 */ lwz r5, 0x130(r31) -/* 80288DF8 00285D58 7F C3 F3 78 */ mr r3, r30 -/* 80288DFC 00285D5C A0 01 00 38 */ lhz r0, 0x38(r1) -/* 80288E00 00285D60 38 81 00 28 */ addi r4, r1, 0x28 -/* 80288E04 00285D64 38 A5 00 01 */ addi r5, r5, 1 -/* 80288E08 00285D68 90 BF 01 30 */ stw r5, 0x130(r31) -/* 80288E0C 00285D6C B0 01 00 28 */ sth r0, 0x28(r1) -/* 80288E10 00285D70 4B DC 37 65 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80288E14 00285D74 7C 64 1B 78 */ mr r4, r3 -/* 80288E18 00285D78 38 61 00 68 */ addi r3, r1, 0x68 -/* 80288E1C 00285D7C 4B E2 6E 75 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80288E20 00285D80 83 63 00 04 */ lwz r27, 4(r3) -/* 80288E24 00285D84 28 1B 00 00 */ cmplwi r27, 0 -/* 80288E28 00285D88 41 82 00 64 */ beq lbl_80288E8C -/* 80288E2C 00285D8C 38 7B 00 34 */ addi r3, r27, 0x34 -/* 80288E30 00285D90 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80288E34 00285D94 48 08 9D 0D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80288E38 00285D98 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 80288E3C 00285D9C 38 60 00 01 */ li r3, 1 -/* 80288E40 00285DA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80288E44 00285DA4 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 80288E48 00285DA8 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 80288E4C 00285DAC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80288E50 00285DB0 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 80288E54 00285DB4 88 1B 00 E4 */ lbz r0, 0xe4(r27) -/* 80288E58 00285DB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80288E5C 00285DBC 98 1B 00 E4 */ stb r0, 0xe4(r27) -/* 80288E60 00285DC0 80 1A 00 00 */ lwz r0, 0(r26) -/* 80288E64 00285DC4 2C 00 00 02 */ cmpwi r0, 2 -/* 80288E68 00285DC8 40 82 00 24 */ bne lbl_80288E8C -/* 80288E6C 00285DCC A0 1F 00 08 */ lhz r0, 8(r31) -/* 80288E70 00285DD0 7F C3 F3 78 */ mr r3, r30 -/* 80288E74 00285DD4 7F 64 DB 78 */ mr r4, r27 -/* 80288E78 00285DD8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80288E7C 00285DDC B0 01 00 20 */ sth r0, 0x20(r1) -/* 80288E80 00285DE0 38 C0 00 01 */ li r6, 1 -/* 80288E84 00285DE4 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80288E88 00285DE8 4B DB B0 49 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80288E8C: -/* 80288E8C 00285DEC 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_80288E90: -/* 80288E90 00285DF0 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80288E94 00285DF4 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80288E98 00285DF8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80288E9C 00285DFC 7C 03 02 14 */ add r0, r3, r0 -/* 80288EA0 00285E00 7C 1A 00 40 */ cmplw r26, r0 -/* 80288EA4 00285E04 40 82 FE B0 */ bne lbl_80288D54 -/* 80288EA8 00285E08 48 00 03 48 */ b lbl_802891F0 -lbl_80288EAC: -/* 80288EAC 00285E0C 7F C3 F3 78 */ mr r3, r30 -/* 80288EB0 00285E10 4B DB B1 D9 */ bl sub_80044088 -/* 80288EB4 00285E14 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 80288EB8 00285E18 7C 7C 1B 78 */ mr r28, r3 -/* 80288EBC 00285E1C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80288EC0 00285E20 41 82 03 30 */ beq lbl_802891F0 -/* 80288EC4 00285E24 28 1C 00 00 */ cmplwi r28, 0 -/* 80288EC8 00285E28 41 82 03 28 */ beq lbl_802891F0 -/* 80288ECC 00285E2C 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 80288ED0 00285E30 83 5F 01 38 */ lwz r26, 0x138(r31) -/* 80288ED4 00285E34 54 00 08 3C */ slwi r0, r0, 1 -/* 80288ED8 00285E38 7C 9A 02 14 */ add r4, r26, r0 -/* 80288EDC 00285E3C 93 41 00 50 */ stw r26, 0x50(r1) -/* 80288EE0 00285E40 90 81 00 44 */ stw r4, 0x44(r1) -/* 80288EE4 00285E44 93 41 00 54 */ stw r26, 0x54(r1) -/* 80288EE8 00285E48 90 81 00 48 */ stw r4, 0x48(r1) -/* 80288EEC 00285E4C 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80288EF0 00285E50 48 00 00 10 */ b lbl_80288F00 -lbl_80288EF4: -/* 80288EF4 00285E54 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80288EF8 00285E58 38 03 00 02 */ addi r0, r3, 2 -/* 80288EFC 00285E5C 90 01 00 54 */ stw r0, 0x54(r1) -lbl_80288F00: -/* 80288F00 00285E60 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80288F04 00285E64 7C 03 20 40 */ cmplw r3, r4 -/* 80288F08 00285E68 41 82 00 14 */ beq lbl_80288F1C -/* 80288F0C 00285E6C A0 63 00 00 */ lhz r3, 0(r3) -/* 80288F10 00285E70 A0 19 00 00 */ lhz r0, 0(r25) -/* 80288F14 00285E74 7C 03 00 40 */ cmplw r3, r0 -/* 80288F18 00285E78 40 82 FF DC */ bne lbl_80288EF4 -lbl_80288F1C: -/* 80288F1C 00285E7C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80288F20 00285E80 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80288F24 00285E84 7C 03 00 40 */ cmplw r3, r0 -/* 80288F28 00285E88 41 82 02 C8 */ beq lbl_802891F0 -/* 80288F2C 00285E8C 48 00 00 68 */ b lbl_80288F94 -lbl_80288F30: -/* 80288F30 00285E90 A0 1A 00 00 */ lhz r0, 0(r26) -/* 80288F34 00285E94 7F C3 F3 78 */ mr r3, r30 -/* 80288F38 00285E98 38 81 00 1C */ addi r4, r1, 0x1c -/* 80288F3C 00285E9C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80288F40 00285EA0 4B DC 36 35 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80288F44 00285EA4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80288F48 00285EA8 41 82 00 48 */ beq lbl_80288F90 -/* 80288F4C 00285EAC 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80288F50 00285EB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80288F54 00285EB4 40 82 00 24 */ bne lbl_80288F78 -/* 80288F58 00285EB8 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80288F5C 00285EBC 7F C3 F3 78 */ mr r3, r30 -/* 80288F60 00285EC0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80288F64 00285EC4 38 C0 00 01 */ li r6, 1 -/* 80288F68 00285EC8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80288F6C 00285ECC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80288F70 00285ED0 4B DB AF 61 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80288F74 00285ED4 48 00 00 1C */ b lbl_80288F90 -lbl_80288F78: -/* 80288F78 00285ED8 A0 04 00 08 */ lhz r0, 8(r4) -/* 80288F7C 00285EDC 7F C3 F3 78 */ mr r3, r30 -/* 80288F80 00285EE0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80288F84 00285EE4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80288F88 00285EE8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80288F8C 00285EEC 4B DC 32 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_80288F90: -/* 80288F90 00285EF0 3B 5A 00 02 */ addi r26, r26, 2 -lbl_80288F94: -/* 80288F94 00285EF4 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 80288F98 00285EF8 80 7F 01 38 */ lwz r3, 0x138(r31) -/* 80288F9C 00285EFC 54 00 08 3C */ slwi r0, r0, 1 -/* 80288FA0 00285F00 7C 03 02 14 */ add r0, r3, r0 -/* 80288FA4 00285F04 7C 1A 00 40 */ cmplw r26, r0 -/* 80288FA8 00285F08 40 82 FF 88 */ bne lbl_80288F30 -/* 80288FAC 00285F0C 83 5E 08 10 */ lwz r26, 0x810(r30) -/* 80288FB0 00285F10 AB BA 20 08 */ lha r29, 0x2008(r26) -/* 80288FB4 00285F14 48 00 01 EC */ b lbl_802891A0 -lbl_80288FB8: -/* 80288FB8 00285F18 7F 43 D3 78 */ mr r3, r26 -/* 80288FBC 00285F1C 7F A4 EB 78 */ mr r4, r29 -/* 80288FC0 00285F20 4B D8 6D 55 */ bl __vc__11CObjectListFi -/* 80288FC4 00285F24 7C 64 1B 78 */ mr r4, r3 -/* 80288FC8 00285F28 38 61 00 60 */ addi r3, r1, 0x60 -/* 80288FCC 00285F2C 4B E2 04 D5 */ bl "__ct__29TCastToPtr<15CScriptMazeNode>FP7CEntity" -/* 80288FD0 00285F30 83 63 00 04 */ lwz r27, 4(r3) -/* 80288FD4 00285F34 28 1B 00 00 */ cmplwi r27, 0 -/* 80288FD8 00285F38 41 82 01 AC */ beq lbl_80289184 -/* 80288FDC 00285F3C 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 80288FE0 00285F40 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 80288FE4 00285F44 38 83 FF FF */ addi r4, r3, -1 -/* 80288FE8 00285F48 7C 00 20 00 */ cmpw r0, r4 -/* 80288FEC 00285F4C 40 82 00 5C */ bne lbl_80289048 -/* 80288FF0 00285F50 80 1B 00 EC */ lwz r0, 0xec(r27) -/* 80288FF4 00285F54 80 BF 00 EC */ lwz r5, 0xec(r31) -/* 80288FF8 00285F58 7C 00 28 00 */ cmpw r0, r5 -/* 80288FFC 00285F5C 40 82 00 4C */ bne lbl_80289048 -/* 80289000 00285F60 80 1B 00 F0 */ lwz r0, 0xf0(r27) -/* 80289004 00285F64 2C 00 00 01 */ cmpwi r0, 1 -/* 80289008 00285F68 40 82 00 40 */ bne lbl_80289048 -/* 8028900C 00285F6C 7F 83 E3 78 */ mr r3, r28 -/* 80289010 00285F70 48 00 0E E9 */ bl sub_80289ef8 -/* 80289014 00285F74 88 A3 00 00 */ lbz r5, 0(r3) -/* 80289018 00285F78 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 8028901C 00285F7C 40 82 00 2C */ bne lbl_80289048 -/* 80289020 00285F80 38 00 00 01 */ li r0, 1 -/* 80289024 00285F84 7F C4 F3 78 */ mr r4, r30 -/* 80289028 00285F88 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 -/* 8028902C 00285F8C 98 A3 00 00 */ stb r5, 0(r3) -/* 80289030 00285F90 7F 63 DB 78 */ mr r3, r27 -/* 80289034 00285F94 48 00 03 0D */ bl sub_80289340 -/* 80289038 00285F98 88 1B 01 3C */ lbz r0, 0x13c(r27) -/* 8028903C 00285F9C 38 60 00 00 */ li r3, 0 -/* 80289040 00285FA0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80289044 00285FA4 98 1B 01 3C */ stb r0, 0x13c(r27) -lbl_80289048: -/* 80289048 00285FA8 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 8028904C 00285FAC 80 9F 00 E8 */ lwz r4, 0xe8(r31) -/* 80289050 00285FB0 7C 00 20 00 */ cmpw r0, r4 -/* 80289054 00285FB4 40 82 00 5C */ bne lbl_802890B0 -/* 80289058 00285FB8 80 1B 00 EC */ lwz r0, 0xec(r27) -/* 8028905C 00285FBC 80 BF 00 EC */ lwz r5, 0xec(r31) -/* 80289060 00285FC0 7C 00 28 00 */ cmpw r0, r5 -/* 80289064 00285FC4 40 82 00 4C */ bne lbl_802890B0 -/* 80289068 00285FC8 80 1B 00 F0 */ lwz r0, 0xf0(r27) -/* 8028906C 00285FCC 2C 00 00 01 */ cmpwi r0, 1 -/* 80289070 00285FD0 40 82 00 40 */ bne lbl_802890B0 -/* 80289074 00285FD4 7F 83 E3 78 */ mr r3, r28 -/* 80289078 00285FD8 48 00 0E 81 */ bl sub_80289ef8 -/* 8028907C 00285FDC 88 A3 00 00 */ lbz r5, 0(r3) -/* 80289080 00285FE0 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 80289084 00285FE4 40 82 00 2C */ bne lbl_802890B0 -/* 80289088 00285FE8 38 00 00 01 */ li r0, 1 -/* 8028908C 00285FEC 7F C4 F3 78 */ mr r4, r30 -/* 80289090 00285FF0 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 -/* 80289094 00285FF4 98 A3 00 00 */ stb r5, 0(r3) -/* 80289098 00285FF8 7F 63 DB 78 */ mr r3, r27 -/* 8028909C 00285FFC 48 00 02 A5 */ bl sub_80289340 -/* 802890A0 00286000 88 1B 01 3C */ lbz r0, 0x13c(r27) -/* 802890A4 00286004 38 60 00 00 */ li r3, 0 -/* 802890A8 00286008 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802890AC 0028600C 98 1B 01 3C */ stb r0, 0x13c(r27) -lbl_802890B0: -/* 802890B0 00286010 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 802890B4 00286014 80 9F 00 E8 */ lwz r4, 0xe8(r31) -/* 802890B8 00286018 7C 00 20 00 */ cmpw r0, r4 -/* 802890BC 0028601C 40 82 00 5C */ bne lbl_80289118 -/* 802890C0 00286020 80 1B 00 EC */ lwz r0, 0xec(r27) -/* 802890C4 00286024 80 BF 00 EC */ lwz r5, 0xec(r31) -/* 802890C8 00286028 7C 00 28 00 */ cmpw r0, r5 -/* 802890CC 0028602C 40 82 00 4C */ bne lbl_80289118 -/* 802890D0 00286030 80 1B 00 F0 */ lwz r0, 0xf0(r27) -/* 802890D4 00286034 2C 00 00 00 */ cmpwi r0, 0 -/* 802890D8 00286038 40 82 00 40 */ bne lbl_80289118 -/* 802890DC 0028603C 7F 83 E3 78 */ mr r3, r28 -/* 802890E0 00286040 48 00 0E 19 */ bl sub_80289ef8 -/* 802890E4 00286044 88 A3 00 00 */ lbz r5, 0(r3) -/* 802890E8 00286048 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f -/* 802890EC 0028604C 40 82 00 2C */ bne lbl_80289118 -/* 802890F0 00286050 38 00 00 01 */ li r0, 1 -/* 802890F4 00286054 7F C4 F3 78 */ mr r4, r30 -/* 802890F8 00286058 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 -/* 802890FC 0028605C 98 A3 00 00 */ stb r5, 0(r3) -/* 80289100 00286060 7F 63 DB 78 */ mr r3, r27 -/* 80289104 00286064 48 00 02 3D */ bl sub_80289340 -/* 80289108 00286068 88 1B 01 3C */ lbz r0, 0x13c(r27) -/* 8028910C 0028606C 38 60 00 00 */ li r3, 0 -/* 80289110 00286070 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80289114 00286074 98 1B 01 3C */ stb r0, 0x13c(r27) -lbl_80289118: -/* 80289118 00286078 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 8028911C 0028607C 80 9F 00 E8 */ lwz r4, 0xe8(r31) -/* 80289120 00286080 7C 00 20 00 */ cmpw r0, r4 -/* 80289124 00286084 40 82 00 60 */ bne lbl_80289184 -/* 80289128 00286088 80 7F 00 EC */ lwz r3, 0xec(r31) -/* 8028912C 0028608C 80 1B 00 EC */ lwz r0, 0xec(r27) -/* 80289130 00286090 38 A3 00 01 */ addi r5, r3, 1 -/* 80289134 00286094 7C 00 28 00 */ cmpw r0, r5 -/* 80289138 00286098 40 82 00 4C */ bne lbl_80289184 -/* 8028913C 0028609C 80 1B 00 F0 */ lwz r0, 0xf0(r27) -/* 80289140 002860A0 2C 00 00 00 */ cmpwi r0, 0 -/* 80289144 002860A4 40 82 00 40 */ bne lbl_80289184 -/* 80289148 002860A8 7F 83 E3 78 */ mr r3, r28 -/* 8028914C 002860AC 48 00 0D AD */ bl sub_80289ef8 -/* 80289150 002860B0 88 A3 00 00 */ lbz r5, 0(r3) -/* 80289154 002860B4 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f -/* 80289158 002860B8 40 82 00 2C */ bne lbl_80289184 -/* 8028915C 002860BC 38 00 00 01 */ li r0, 1 -/* 80289160 002860C0 7F C4 F3 78 */ mr r4, r30 -/* 80289164 002860C4 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 -/* 80289168 002860C8 98 A3 00 00 */ stb r5, 0(r3) -/* 8028916C 002860CC 7F 63 DB 78 */ mr r3, r27 -/* 80289170 002860D0 48 00 01 D1 */ bl sub_80289340 -/* 80289174 002860D4 88 1B 01 3C */ lbz r0, 0x13c(r27) -/* 80289178 002860D8 38 60 00 00 */ li r3, 0 -/* 8028917C 002860DC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80289180 002860E0 98 1B 01 3C */ stb r0, 0x13c(r27) -lbl_80289184: -/* 80289184 002860E4 2C 1D FF FF */ cmpwi r29, -1 -/* 80289188 002860E8 41 82 00 14 */ beq lbl_8028919C -/* 8028918C 002860EC 57 A3 18 38 */ slwi r3, r29, 3 -/* 80289190 002860F0 38 03 00 08 */ addi r0, r3, 8 -/* 80289194 002860F4 7F BA 02 AE */ lhax r29, r26, r0 -/* 80289198 002860F8 48 00 00 08 */ b lbl_802891A0 -lbl_8028919C: -/* 8028919C 002860FC 3B A0 FF FF */ li r29, -1 -lbl_802891A0: -/* 802891A0 00286100 2C 1D FF FF */ cmpwi r29, -1 -/* 802891A4 00286104 40 82 FE 14 */ bne lbl_80288FB8 -/* 802891A8 00286108 48 00 00 48 */ b lbl_802891F0 -lbl_802891AC: -/* 802891AC 0028610C 7F C3 F3 78 */ mr r3, r30 -/* 802891B0 00286110 4B DB AE E1 */ bl sub_80044090 -/* 802891B4 00286114 28 03 00 00 */ cmplwi r3, 0 -/* 802891B8 00286118 41 82 00 20 */ beq lbl_802891D8 -/* 802891BC 0028611C 38 00 00 00 */ li r0, 0 -/* 802891C0 00286120 7F C3 F3 78 */ mr r3, r30 -/* 802891C4 00286124 90 01 00 40 */ stw r0, 0x40(r1) -/* 802891C8 00286128 38 81 00 40 */ addi r4, r1, 0x40 -/* 802891CC 0028612C 4B DB AE 65 */ bl sub_80044030 -/* 802891D0 00286130 80 61 00 40 */ lwz r3, 0x40(r1) -/* 802891D4 00286134 48 08 C7 5D */ bl Free__7CMemoryFPCv -lbl_802891D8: -/* 802891D8 00286138 7F E3 FB 78 */ mr r3, r31 -/* 802891DC 0028613C 7F C4 F3 78 */ mr r4, r30 -/* 802891E0 00286140 48 00 01 61 */ bl sub_80289340 -/* 802891E4 00286144 48 00 00 0C */ b lbl_802891F0 -lbl_802891E8: -/* 802891E8 00286148 7F C4 F3 78 */ mr r4, r30 -/* 802891EC 0028614C 48 00 01 55 */ bl sub_80289340 -lbl_802891F0: -/* 802891F0 00286150 A0 19 00 00 */ lhz r0, 0(r25) -/* 802891F4 00286154 7F E3 FB 78 */ mr r3, r31 -/* 802891F8 00286158 7F 04 C3 78 */ mr r4, r24 -/* 802891FC 0028615C 7F C6 F3 78 */ mr r6, r30 -/* 80289200 00286160 B0 01 00 08 */ sth r0, 8(r1) -/* 80289204 00286164 38 A1 00 08 */ addi r5, r1, 8 -/* 80289208 00286168 4B DC 7F 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8028920C 0028616C BB 01 00 D0 */ lmw r24, 0xd0(r1) -/* 80289210 00286170 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80289214 00286174 7C 08 03 A6 */ mtlr r0 -/* 80289218 00286178 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8028921C 0028617C 4E 80 00 20 */ blr - -.global sub_80289220 -sub_80289220: -/* 80289220 00286180 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80289224 00286184 7C 08 02 A6 */ mflr r0 -/* 80289228 00286188 90 01 00 54 */ stw r0, 0x54(r1) -/* 8028922C 0028618C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80289230 00286190 7C BF 2B 78 */ mr r31, r5 -/* 80289234 00286194 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80289238 00286198 7C 9E 23 78 */ mr r30, r4 -/* 8028923C 0028619C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80289240 002861A0 7C 7D 1B 78 */ mr r29, r3 -/* 80289244 002861A4 A0 83 00 08 */ lhz r4, 8(r3) -/* 80289248 002861A8 A0 03 01 1C */ lhz r0, 0x11c(r3) -/* 8028924C 002861AC 7F C3 F3 78 */ mr r3, r30 -/* 80289250 002861B0 B0 81 00 30 */ sth r4, 0x30(r1) -/* 80289254 002861B4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80289258 002861B8 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8028925C 002861BC 4B DC 33 19 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80289260 002861C0 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80289264 002861C4 7C 64 1B 78 */ mr r4, r3 -/* 80289268 002861C8 7F C3 F3 78 */ mr r3, r30 -/* 8028926C 002861CC 7F E6 FB 78 */ mr r6, r31 -/* 80289270 002861D0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80289274 002861D4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80289278 002861D8 4B DB AC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8028927C 002861DC A0 BD 00 08 */ lhz r5, 8(r29) -/* 80289280 002861E0 7F C3 F3 78 */ mr r3, r30 -/* 80289284 002861E4 A0 1D 00 FC */ lhz r0, 0xfc(r29) -/* 80289288 002861E8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8028928C 002861EC B0 A1 00 28 */ sth r5, 0x28(r1) -/* 80289290 002861F0 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80289294 002861F4 4B DC 32 E1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80289298 002861F8 A0 01 00 28 */ lhz r0, 0x28(r1) -/* 8028929C 002861FC 7C 64 1B 78 */ mr r4, r3 -/* 802892A0 00286200 7F C3 F3 78 */ mr r3, r30 -/* 802892A4 00286204 7F E6 FB 78 */ mr r6, r31 -/* 802892A8 00286208 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802892AC 0028620C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802892B0 00286210 4B DB AC 21 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 802892B4 00286214 A0 BD 00 08 */ lhz r5, 8(r29) -/* 802892B8 00286218 7F C3 F3 78 */ mr r3, r30 -/* 802892BC 0028621C A0 1D 01 0C */ lhz r0, 0x10c(r29) -/* 802892C0 00286220 38 81 00 24 */ addi r4, r1, 0x24 -/* 802892C4 00286224 B0 A1 00 20 */ sth r5, 0x20(r1) -/* 802892C8 00286228 B0 01 00 24 */ sth r0, 0x24(r1) -/* 802892CC 0028622C 4B DC 32 A9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802892D0 00286230 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 802892D4 00286234 7C 64 1B 78 */ mr r4, r3 -/* 802892D8 00286238 7F C3 F3 78 */ mr r3, r30 -/* 802892DC 0028623C 7F E6 FB 78 */ mr r6, r31 -/* 802892E0 00286240 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802892E4 00286244 38 A1 00 0C */ addi r5, r1, 0xc -/* 802892E8 00286248 4B DB AB E9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 802892EC 0028624C A0 BD 00 08 */ lhz r5, 8(r29) -/* 802892F0 00286250 7F C3 F3 78 */ mr r3, r30 -/* 802892F4 00286254 A0 1D 00 F4 */ lhz r0, 0xf4(r29) -/* 802892F8 00286258 38 81 00 1C */ addi r4, r1, 0x1c -/* 802892FC 0028625C B0 A1 00 18 */ sth r5, 0x18(r1) -/* 80289300 00286260 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80289304 00286264 4B DC 32 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80289308 00286268 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 8028930C 0028626C 7C 64 1B 78 */ mr r4, r3 -/* 80289310 00286270 7F C3 F3 78 */ mr r3, r30 -/* 80289314 00286274 7F E6 FB 78 */ mr r6, r31 -/* 80289318 00286278 B0 01 00 08 */ sth r0, 8(r1) -/* 8028931C 0028627C 38 A1 00 08 */ addi r5, r1, 8 -/* 80289320 00286280 4B DB AB B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80289324 00286284 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80289328 00286288 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8028932C 0028628C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80289330 00286290 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80289334 00286294 7C 08 03 A6 */ mtlr r0 -/* 80289338 00286298 38 21 00 50 */ addi r1, r1, 0x50 -/* 8028933C 0028629C 4E 80 00 20 */ blr - -.global sub_80289340 -sub_80289340: -/* 80289340 002862A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80289344 002862A4 7C 08 02 A6 */ mflr r0 -/* 80289348 002862A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028934C 002862AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80289350 002862B0 7C 9F 23 78 */ mr r31, r4 -/* 80289354 002862B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80289358 002862B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028935C 002862BC 7C 7E 1B 78 */ mr r30, r3 -/* 80289360 002862C0 A0 03 01 1C */ lhz r0, 0x11c(r3) -/* 80289364 002862C4 7F E3 FB 78 */ mr r3, r31 -/* 80289368 002862C8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028936C 002862CC 4B DC 2F 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80289370 002862D0 A0 1E 00 FC */ lhz r0, 0xfc(r30) -/* 80289374 002862D4 7F E3 FB 78 */ mr r3, r31 -/* 80289378 002862D8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028937C 002862DC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80289380 002862E0 4B DC 2E ED */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80289384 002862E4 A0 1E 01 0C */ lhz r0, 0x10c(r30) -/* 80289388 002862E8 7F E3 FB 78 */ mr r3, r31 -/* 8028938C 002862EC 38 81 00 0C */ addi r4, r1, 0xc -/* 80289390 002862F0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80289394 002862F4 4B DC 2E D9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80289398 002862F8 A0 1E 00 F4 */ lhz r0, 0xf4(r30) -/* 8028939C 002862FC 7F E3 FB 78 */ mr r3, r31 -/* 802893A0 00286300 38 81 00 08 */ addi r4, r1, 8 -/* 802893A4 00286304 B0 01 00 08 */ sth r0, 8(r1) -/* 802893A8 00286308 4B DC 2E C5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 802893AC 0028630C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802893B0 00286310 B0 1E 00 F4 */ sth r0, 0xf4(r30) -/* 802893B4 00286314 A0 1E 00 F4 */ lhz r0, 0xf4(r30) -/* 802893B8 00286318 B0 1E 01 0C */ sth r0, 0x10c(r30) -/* 802893BC 0028631C A0 1E 01 0C */ lhz r0, 0x10c(r30) -/* 802893C0 00286320 B0 1E 00 FC */ sth r0, 0xfc(r30) -/* 802893C4 00286324 A0 1E 00 FC */ lhz r0, 0xfc(r30) -/* 802893C8 00286328 B0 1E 01 1C */ sth r0, 0x11c(r30) -/* 802893CC 0028632C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802893D0 00286330 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802893D4 00286334 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802893D8 00286338 7C 08 03 A6 */ mtlr r0 -/* 802893DC 0028633C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802893E0 00286340 4E 80 00 20 */ blr - -.global sub_802893e4 -sub_802893e4: -/* 802893E4 00286344 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802893E8 00286348 7C 08 02 A6 */ mflr r0 -/* 802893EC 0028634C 90 01 00 94 */ stw r0, 0x94(r1) -/* 802893F0 00286350 BF 21 00 74 */ stmw r25, 0x74(r1) -/* 802893F4 00286354 7C 7D 1B 78 */ mr r29, r3 -/* 802893F8 00286358 7C 9E 23 78 */ mr r30, r4 -/* 802893FC 0028635C 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 80289400 00286360 48 00 02 08 */ b lbl_80289608 -lbl_80289404: -/* 80289404 00286364 80 1F 00 00 */ lwz r0, 0(r31) -/* 80289408 00286368 2C 00 00 07 */ cmpwi r0, 7 -/* 8028940C 0028636C 40 82 01 F8 */ bne lbl_80289604 -/* 80289410 00286370 80 1F 00 04 */ lwz r0, 4(r31) -/* 80289414 00286374 2C 00 00 01 */ cmpwi r0, 1 -/* 80289418 00286378 40 82 01 EC */ bne lbl_80289604 -/* 8028941C 0028637C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80289420 00286380 7F C4 F3 78 */ mr r4, r30 -/* 80289424 00286384 38 61 00 14 */ addi r3, r1, 0x14 -/* 80289428 00286388 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8028942C 0028638C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80289430 00286390 4B DB EA ED */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80289434 00286394 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80289438 00286398 7F C3 F3 78 */ mr r3, r30 -/* 8028943C 0028639C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80289440 002863A0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80289444 002863A4 4B DC 31 31 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80289448 002863A8 7C 60 1B 78 */ mr r0, r3 -/* 8028944C 002863AC 38 61 00 3C */ addi r3, r1, 0x3c -/* 80289450 002863B0 7C 19 03 78 */ mr r25, r0 -/* 80289454 002863B4 7F 24 CB 78 */ mr r4, r25 -/* 80289458 002863B8 4B E2 09 85 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" -/* 8028945C 002863BC 83 83 00 04 */ lwz r28, 4(r3) -/* 80289460 002863C0 7F 24 CB 78 */ mr r4, r25 -/* 80289464 002863C4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80289468 002863C8 4B E2 29 05 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 8028946C 002863CC 83 63 00 04 */ lwz r27, 4(r3) -/* 80289470 002863D0 7F 24 CB 78 */ mr r4, r25 -/* 80289474 002863D4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80289478 002863D8 4B E1 DA 71 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 8028947C 002863DC 28 1C 00 00 */ cmplwi r28, 0 -/* 80289480 002863E0 83 43 00 04 */ lwz r26, 4(r3) -/* 80289484 002863E4 40 82 00 14 */ bne lbl_80289498 -/* 80289488 002863E8 28 1B 00 00 */ cmplwi r27, 0 -/* 8028948C 002863EC 40 82 00 0C */ bne lbl_80289498 -/* 80289490 002863F0 28 1A 00 00 */ cmplwi r26, 0 -/* 80289494 002863F4 41 82 01 70 */ beq lbl_80289604 -lbl_80289498: -/* 80289498 002863F8 28 1C 00 00 */ cmplwi r28, 0 -/* 8028949C 002863FC 41 82 00 10 */ beq lbl_802894AC -/* 802894A0 00286400 88 1D 01 3C */ lbz r0, 0x13c(r29) -/* 802894A4 00286404 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802894A8 00286408 40 82 01 5C */ bne lbl_80289604 -lbl_802894AC: -/* 802894AC 0028640C 88 BE 0F 94 */ lbz r5, 0xf94(r30) -/* 802894B0 00286410 38 60 00 01 */ li r3, 1 -/* 802894B4 00286414 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 802894B8 00286418 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802894BC 0028641C 7F C4 F3 78 */ mr r4, r30 -/* 802894C0 00286420 54 B9 DF FE */ rlwinm r25, r5, 0x1b, 0x1f, 0x1f -/* 802894C4 00286424 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 802894C8 00286428 38 61 00 24 */ addi r3, r1, 0x24 -/* 802894CC 0028642C 38 BF 00 08 */ addi r5, r31, 8 -/* 802894D0 00286430 4B DB EE 19 */ bl GenerateObject__13CStateManagerF9TEditorId -/* 802894D4 00286434 A0 A1 00 28 */ lhz r5, 0x28(r1) -/* 802894D8 00286438 7F C3 F3 78 */ mr r3, r30 -/* 802894DC 0028643C 88 1E 0F 94 */ lbz r0, 0xf94(r30) -/* 802894E0 00286440 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a -/* 802894E4 00286444 B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 802894E8 00286448 38 81 00 10 */ addi r4, r1, 0x10 -/* 802894EC 0028644C 98 1E 0F 94 */ stb r0, 0xf94(r30) -/* 802894F0 00286450 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 802894F4 00286454 4B DC 30 81 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802894F8 00286458 7C 79 1B 79 */ or. r25, r3, r3 -/* 802894FC 0028645C 41 82 01 08 */ beq lbl_80289604 -/* 80289500 00286460 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80289504 00286464 7F C3 F3 78 */ mr r3, r30 -/* 80289508 00286468 7F 24 CB 78 */ mr r4, r25 -/* 8028950C 0028646C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80289510 00286470 B0 01 00 08 */ sth r0, 8(r1) -/* 80289514 00286474 38 C0 00 01 */ li r6, 1 -/* 80289518 00286478 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028951C 0028647C 4B DB A9 B5 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80289520 00286480 28 1C 00 00 */ cmplwi r28, 0 -/* 80289524 00286484 41 82 00 48 */ beq lbl_8028956C -/* 80289528 00286488 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8028952C 0028648C 7F 23 CB 78 */ mr r3, r25 -/* 80289530 00286490 C0 1D 01 24 */ lfs f0, 0x124(r29) -/* 80289534 00286494 38 81 00 5C */ addi r4, r1, 0x5c -/* 80289538 00286498 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 8028953C 0028649C C0 5D 01 28 */ lfs f2, 0x128(r29) -/* 80289540 002864A0 EC 81 00 2A */ fadds f4, f1, f0 -/* 80289544 002864A4 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80289548 002864A8 C0 1D 01 20 */ lfs f0, 0x120(r29) -/* 8028954C 002864AC EC 43 10 2A */ fadds f2, f3, f2 -/* 80289550 002864B0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80289554 002864B4 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 80289558 002864B8 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8028955C 002864BC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80289560 002864C0 4B DC 99 2D */ bl SetTranslation__6CActorFRC9CVector3f -/* 80289564 002864C4 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 80289568 002864C8 B0 1D 01 1C */ sth r0, 0x11c(r29) -lbl_8028956C: -/* 8028956C 002864CC 28 1B 00 00 */ cmplwi r27, 0 -/* 80289570 002864D0 41 82 00 48 */ beq lbl_802895B8 -/* 80289574 002864D4 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80289578 002864D8 7F 23 CB 78 */ mr r3, r25 -/* 8028957C 002864DC C0 1D 01 04 */ lfs f0, 0x104(r29) -/* 80289580 002864E0 38 81 00 50 */ addi r4, r1, 0x50 -/* 80289584 002864E4 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80289588 002864E8 C0 5D 01 08 */ lfs f2, 0x108(r29) -/* 8028958C 002864EC EC 81 00 2A */ fadds f4, f1, f0 -/* 80289590 002864F0 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80289594 002864F4 C0 1D 01 00 */ lfs f0, 0x100(r29) -/* 80289598 002864F8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8028959C 002864FC EC 01 00 2A */ fadds f0, f1, f0 -/* 802895A0 00286500 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802895A4 00286504 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802895A8 00286508 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802895AC 0028650C 4B DC 98 E1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 802895B0 00286510 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 802895B4 00286514 B0 1D 00 FC */ sth r0, 0xfc(r29) -lbl_802895B8: -/* 802895B8 00286518 28 1A 00 00 */ cmplwi r26, 0 -/* 802895BC 0028651C 41 82 00 48 */ beq lbl_80289604 -/* 802895C0 00286520 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 802895C4 00286524 7F 23 CB 78 */ mr r3, r25 -/* 802895C8 00286528 C0 1D 01 14 */ lfs f0, 0x114(r29) -/* 802895CC 0028652C 38 81 00 44 */ addi r4, r1, 0x44 -/* 802895D0 00286530 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 802895D4 00286534 C0 5D 01 18 */ lfs f2, 0x118(r29) -/* 802895D8 00286538 EC 81 00 2A */ fadds f4, f1, f0 -/* 802895DC 0028653C C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 802895E0 00286540 C0 1D 01 10 */ lfs f0, 0x110(r29) -/* 802895E4 00286544 EC 43 10 2A */ fadds f2, f3, f2 -/* 802895E8 00286548 EC 01 00 2A */ fadds f0, f1, f0 -/* 802895EC 0028654C D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802895F0 00286550 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802895F4 00286554 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802895F8 00286558 4B DC 98 95 */ bl SetTranslation__6CActorFRC9CVector3f -/* 802895FC 0028655C A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 80289600 00286560 B0 1D 01 0C */ sth r0, 0x10c(r29) -lbl_80289604: -/* 80289604 00286564 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80289608: -/* 80289608 00286568 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8028960C 0028656C 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80289610 00286570 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80289614 00286574 7C 03 02 14 */ add r0, r3, r0 -/* 80289618 00286578 7C 1F 00 40 */ cmplw r31, r0 -/* 8028961C 0028657C 40 82 FD E8 */ bne lbl_80289404 -/* 80289620 00286580 BB 21 00 74 */ lmw r25, 0x74(r1) -/* 80289624 00286584 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80289628 00286588 7C 08 03 A6 */ mtlr r0 -/* 8028962C 0028658C 38 21 00 90 */ addi r1, r1, 0x90 -/* 80289630 00286590 4E 80 00 20 */ blr - -.global Accept__15CScriptMazeNodeFR8IVisitor -Accept__15CScriptMazeNodeFR8IVisitor: -/* 80289634 00286594 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289638 00286598 7C 08 02 A6 */ mflr r0 -/* 8028963C 0028659C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289640 002865A0 7C 60 1B 78 */ mr r0, r3 -/* 80289644 002865A4 7C 83 23 78 */ mr r3, r4 -/* 80289648 002865A8 81 84 00 00 */ lwz r12, 0(r4) -/* 8028964C 002865AC 7C 04 03 78 */ mr r4, r0 -/* 80289650 002865B0 81 8C 00 94 */ lwz r12, 0x94(r12) -/* 80289654 002865B4 7D 89 03 A6 */ mtctr r12 -/* 80289658 002865B8 4E 80 04 21 */ bctrl -/* 8028965C 002865BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289660 002865C0 7C 08 03 A6 */ mtlr r0 -/* 80289664 002865C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289668 002865C8 4E 80 00 20 */ blr - -.global "__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f" -"__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f": -/* 8028966C 002865CC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80289670 002865D0 7C 08 02 A6 */ mflr r0 -/* 80289674 002865D4 90 01 01 14 */ stw r0, 0x114(r1) -/* 80289678 002865D8 BE 81 00 E0 */ stmw r20, 0xe0(r1) -/* 8028967C 002865DC 7C 7F 1B 78 */ mr r31, r3 -/* 80289680 002865E0 83 61 01 18 */ lwz r27, 0x118(r1) -/* 80289684 002865E4 7C 94 23 78 */ mr r20, r4 -/* 80289688 002865E8 83 81 01 1C */ lwz r28, 0x11c(r1) -/* 8028968C 002865EC 7C B5 2B 78 */ mr r21, r5 -/* 80289690 002865F0 83 A1 01 20 */ lwz r29, 0x120(r1) -/* 80289694 002865F4 7C D6 33 78 */ mr r22, r6 -/* 80289698 002865F8 83 C1 01 24 */ lwz r30, 0x124(r1) -/* 8028969C 002865FC 7C F7 3B 78 */ mr r23, r7 -/* 802896A0 00286600 7D 18 43 78 */ mr r24, r8 -/* 802896A4 00286604 7D 39 4B 78 */ mr r25, r9 -/* 802896A8 00286608 7D 5A 53 78 */ mr r26, r10 -/* 802896AC 0028660C 38 61 00 88 */ addi r3, r1, 0x88 -/* 802896B0 00286610 4B DB 10 F5 */ bl CModelDataNull__10CModelDataFv -/* 802896B4 00286614 38 61 00 20 */ addi r3, r1, 0x20 -/* 802896B8 00286618 4B D9 17 81 */ bl None__16CActorParametersFv -/* 802896BC 0028661C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802896C0 00286620 38 80 00 00 */ li r4, 0 -/* 802896C4 00286624 A1 94 00 00 */ lhz r12, 0(r20) -/* 802896C8 00286628 39 61 00 20 */ addi r11, r1, 0x20 -/* 802896CC 0028662C B0 01 00 10 */ sth r0, 0x10(r1) -/* 802896D0 00286630 38 01 00 10 */ addi r0, r1, 0x10 -/* 802896D4 00286634 7F E3 FB 78 */ mr r3, r31 -/* 802896D8 00286638 7F 05 C3 78 */ mr r5, r24 -/* 802896DC 0028663C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 802896E0 00286640 7E A6 AB 78 */ mr r6, r21 -/* 802896E4 00286644 7E C7 B3 78 */ mr r7, r22 -/* 802896E8 00286648 7E E8 BB 78 */ mr r8, r23 -/* 802896EC 0028664C 90 81 00 18 */ stw r4, 0x18(r1) -/* 802896F0 00286650 38 81 00 14 */ addi r4, r1, 0x14 -/* 802896F4 00286654 39 21 00 88 */ addi r9, r1, 0x88 -/* 802896F8 00286658 39 41 00 18 */ addi r10, r1, 0x18 -/* 802896FC 0028665C B1 81 00 14 */ sth r12, 0x14(r1) -/* 80289700 00286660 91 61 00 08 */ stw r11, 8(r1) -/* 80289704 00286664 90 01 00 0C */ stw r0, 0xc(r1) -/* 80289708 00286668 4B DC C1 19 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8028970C 0028666C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80289710 00286670 38 80 FF FF */ li r4, -1 -/* 80289714 00286674 4B E7 CE F5 */ bl __dt__16CActorParametersFv -/* 80289718 00286678 38 61 00 88 */ addi r3, r1, 0x88 -/* 8028971C 0028667C 38 80 FF FF */ li r4, -1 -/* 80289720 00286680 4B E8 D3 2D */ bl __dt__10CModelDataFv -/* 80289724 00286684 3C 60 80 3F */ lis r3, lbl_803EB658@ha -/* 80289728 00286688 C0 02 BE 64 */ lfs f0, lbl_805ADB84@sda21(r2) -/* 8028972C 0028668C 38 03 B6 58 */ addi r0, r3, lbl_803EB658@l -/* 80289730 00286690 38 A0 00 00 */ li r5, 0 -/* 80289734 00286694 90 1F 00 00 */ stw r0, 0(r31) -/* 80289738 00286698 38 80 00 01 */ li r4, 1 -/* 8028973C 0028669C 7F E3 FB 78 */ mr r3, r31 -/* 80289740 002866A0 93 3F 00 E8 */ stw r25, 0xe8(r31) -/* 80289744 002866A4 93 5F 00 EC */ stw r26, 0xec(r31) -/* 80289748 002866A8 93 7F 00 F0 */ stw r27, 0xf0(r31) -/* 8028974C 002866AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80289750 002866B0 B0 1F 00 F4 */ sth r0, 0xf4(r31) -/* 80289754 002866B4 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 80289758 002866B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8028975C 002866BC B0 1F 00 FC */ sth r0, 0xfc(r31) -/* 80289760 002866C0 C0 1C 00 00 */ lfs f0, 0(r28) -/* 80289764 002866C4 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 80289768 002866C8 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8028976C 002866CC D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 80289770 002866D0 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80289774 002866D4 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 80289778 002866D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8028977C 002866DC B0 1F 01 0C */ sth r0, 0x10c(r31) -/* 80289780 002866E0 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80289784 002866E4 D0 1F 01 10 */ stfs f0, 0x110(r31) -/* 80289788 002866E8 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8028978C 002866EC D0 1F 01 14 */ stfs f0, 0x114(r31) -/* 80289790 002866F0 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80289794 002866F4 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 80289798 002866F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8028979C 002866FC B0 1F 01 1C */ sth r0, 0x11c(r31) -/* 802897A0 00286700 C0 1E 00 00 */ lfs f0, 0(r30) -/* 802897A4 00286704 D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 802897A8 00286708 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802897AC 0028670C D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 802897B0 00286710 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802897B4 00286714 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 802897B8 00286718 90 BF 01 30 */ stw r5, 0x130(r31) -/* 802897BC 0028671C 90 BF 01 34 */ stw r5, 0x134(r31) -/* 802897C0 00286720 90 BF 01 38 */ stw r5, 0x138(r31) -/* 802897C4 00286724 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 802897C8 00286728 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802897CC 0028672C 98 1F 01 3C */ stb r0, 0x13c(r31) -/* 802897D0 00286730 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 802897D4 00286734 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 802897D8 00286738 98 1F 01 3C */ stb r0, 0x13c(r31) -/* 802897DC 0028673C 88 1F 01 3C */ lbz r0, 0x13c(r31) -/* 802897E0 00286740 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802897E4 00286744 98 1F 01 3C */ stb r0, 0x13c(r31) -/* 802897E8 00286748 BA 81 00 E0 */ lmw r20, 0xe0(r1) -/* 802897EC 0028674C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802897F0 00286750 7C 08 03 A6 */ mtlr r0 -/* 802897F4 00286754 38 21 01 10 */ addi r1, r1, 0x110 -/* 802897F8 00286758 4E 80 00 20 */ blr - -.global sub_802897fc -sub_802897fc: -/* 802897FC 0028675C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80289800 00286760 38 A0 00 00 */ li r5, 0 -/* 80289804 00286764 54 A0 10 3A */ slwi r0, r5, 2 -/* 80289808 00286768 39 00 00 01 */ li r8, 1 -/* 8028980C 0028676C 80 83 00 88 */ lwz r4, 0x88(r3) -/* 80289810 00286770 81 23 00 90 */ lwz r9, 0x90(r3) -/* 80289814 00286774 1C A4 00 09 */ mulli r5, r4, 9 -/* 80289818 00286778 80 C3 00 84 */ lwz r6, 0x84(r3) -/* 8028981C 0028677C 38 81 00 08 */ addi r4, r1, 8 -/* 80289820 00286780 81 43 00 8C */ lwz r10, 0x8c(r3) -/* 80289824 00286784 7C C6 2A 14 */ add r6, r6, r5 -/* 80289828 00286788 54 C5 08 3C */ slwi r5, r6, 1 -/* 8028982C 0028678C 7C C4 01 2E */ stwx r6, r4, r0 -/* 80289830 00286790 38 E5 00 05 */ addi r7, r5, 5 -/* 80289834 00286794 7C 03 38 AE */ lbzx r0, r3, r7 -/* 80289838 00286798 1D 29 00 09 */ mulli r9, r9, 9 -/* 8028983C 0028679C 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a -/* 80289840 002867A0 7C 03 39 AE */ stbx r0, r3, r7 -/* 80289844 002867A4 38 A0 00 01 */ li r5, 1 -/* 80289848 002867A8 7C EA 4A 14 */ add r7, r10, r9 -/* 8028984C 002867AC 48 00 01 18 */ b lbl_80289964 -lbl_80289850: -/* 80289850 002867B0 54 C8 08 3C */ slwi r8, r6, 1 -/* 80289854 002867B4 38 08 00 04 */ addi r0, r8, 4 -/* 80289858 002867B8 7D 03 00 AE */ lbzx r8, r3, r0 -/* 8028985C 002867BC 55 08 CF FF */ rlwinm. r8, r8, 0x19, 0x1f, 0x1f -/* 80289860 002867C0 41 82 00 2C */ beq lbl_8028988C -/* 80289864 002867C4 39 46 FF F7 */ addi r10, r6, -9 -/* 80289868 002867C8 55 48 08 3C */ slwi r8, r10, 1 -/* 8028986C 002867CC 39 08 00 05 */ addi r8, r8, 5 -/* 80289870 002867D0 7D 03 40 AE */ lbzx r8, r3, r8 -/* 80289874 002867D4 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f -/* 80289878 002867D8 40 82 00 14 */ bne lbl_8028988C -/* 8028987C 002867DC 54 A9 10 3A */ slwi r9, r5, 2 -/* 80289880 002867E0 39 01 00 08 */ addi r8, r1, 8 -/* 80289884 002867E4 7D 48 49 2E */ stwx r10, r8, r9 -/* 80289888 002867E8 38 A5 00 01 */ addi r5, r5, 1 -lbl_8028988C: -/* 8028988C 002867EC 7D 03 00 AE */ lbzx r8, r3, r0 -/* 80289890 002867F0 55 08 D7 FF */ rlwinm. r8, r8, 0x1a, 0x1f, 0x1f -/* 80289894 002867F4 41 82 00 2C */ beq lbl_802898C0 -/* 80289898 002867F8 39 46 00 01 */ addi r10, r6, 1 -/* 8028989C 002867FC 55 48 08 3C */ slwi r8, r10, 1 -/* 802898A0 00286800 39 08 00 05 */ addi r8, r8, 5 -/* 802898A4 00286804 7D 03 40 AE */ lbzx r8, r3, r8 -/* 802898A8 00286808 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f -/* 802898AC 0028680C 40 82 00 14 */ bne lbl_802898C0 -/* 802898B0 00286810 54 A9 10 3A */ slwi r9, r5, 2 -/* 802898B4 00286814 39 01 00 08 */ addi r8, r1, 8 -/* 802898B8 00286818 7D 48 49 2E */ stwx r10, r8, r9 -/* 802898BC 0028681C 38 A5 00 01 */ addi r5, r5, 1 -lbl_802898C0: -/* 802898C0 00286820 7D 03 00 AE */ lbzx r8, r3, r0 -/* 802898C4 00286824 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f -/* 802898C8 00286828 41 82 00 2C */ beq lbl_802898F4 -/* 802898CC 0028682C 39 46 00 09 */ addi r10, r6, 9 -/* 802898D0 00286830 55 48 08 3C */ slwi r8, r10, 1 -/* 802898D4 00286834 39 08 00 05 */ addi r8, r8, 5 -/* 802898D8 00286838 7D 03 40 AE */ lbzx r8, r3, r8 -/* 802898DC 0028683C 55 08 DF FF */ rlwinm. r8, r8, 0x1b, 0x1f, 0x1f -/* 802898E0 00286840 40 82 00 14 */ bne lbl_802898F4 -/* 802898E4 00286844 54 A9 10 3A */ slwi r9, r5, 2 -/* 802898E8 00286848 39 01 00 08 */ addi r8, r1, 8 -/* 802898EC 0028684C 7D 48 49 2E */ stwx r10, r8, r9 -/* 802898F0 00286850 38 A5 00 01 */ addi r5, r5, 1 -lbl_802898F4: -/* 802898F4 00286854 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802898F8 00286858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802898FC 0028685C 41 82 00 2C */ beq lbl_80289928 -/* 80289900 00286860 39 26 FF FF */ addi r9, r6, -1 -/* 80289904 00286864 55 28 08 3C */ slwi r8, r9, 1 -/* 80289908 00286868 38 08 00 05 */ addi r0, r8, 5 -/* 8028990C 0028686C 7C 03 00 AE */ lbzx r0, r3, r0 -/* 80289910 00286870 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80289914 00286874 40 82 00 14 */ bne lbl_80289928 -/* 80289918 00286878 54 A0 10 3A */ slwi r0, r5, 2 -/* 8028991C 0028687C 39 01 00 08 */ addi r8, r1, 8 -/* 80289920 00286880 7D 28 01 2E */ stwx r9, r8, r0 -/* 80289924 00286884 38 A5 00 01 */ addi r5, r5, 1 -lbl_80289928: -/* 80289928 00286888 54 A8 10 3A */ slwi r8, r5, 2 -/* 8028992C 0028688C 38 08 FF FC */ addi r0, r8, -4 -/* 80289930 00286890 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80289934 00286894 7C 06 00 00 */ cmpw r6, r0 -/* 80289938 00286898 40 82 00 08 */ bne lbl_80289940 -/* 8028993C 0028689C 38 A5 FF FF */ addi r5, r5, -1 -lbl_80289940: -/* 80289940 002868A0 54 A6 10 3A */ slwi r6, r5, 2 -/* 80289944 002868A4 39 20 00 01 */ li r9, 1 -/* 80289948 002868A8 38 06 FF FC */ addi r0, r6, -4 -/* 8028994C 002868AC 7C C4 00 2E */ lwzx r6, r4, r0 -/* 80289950 002868B0 54 C8 08 3C */ slwi r8, r6, 1 -/* 80289954 002868B4 39 08 00 05 */ addi r8, r8, 5 -/* 80289958 002868B8 7C 03 40 AE */ lbzx r0, r3, r8 -/* 8028995C 002868BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a -/* 80289960 002868C0 7C 03 41 AE */ stbx r0, r3, r8 -lbl_80289964: -/* 80289964 002868C4 7C 06 38 00 */ cmpw r6, r7 -/* 80289968 002868C8 40 82 FE E8 */ bne lbl_80289850 -/* 8028996C 002868CC 54 A0 10 3A */ slwi r0, r5, 2 -/* 80289970 002868D0 38 E1 00 08 */ addi r7, r1, 8 -/* 80289974 002868D4 7C E7 02 14 */ add r7, r7, r0 -/* 80289978 002868D8 38 00 00 01 */ li r0, 1 -/* 8028997C 002868DC 48 00 00 24 */ b lbl_802899A0 -lbl_80289980: -/* 80289980 002868E0 80 87 00 00 */ lwz r4, 0(r7) -/* 80289984 002868E4 54 84 08 3C */ slwi r4, r4, 1 -/* 80289988 002868E8 39 04 00 05 */ addi r8, r4, 5 -/* 8028998C 002868EC 7C C3 40 AE */ lbzx r6, r3, r8 -/* 80289990 002868F0 54 C4 DF FF */ rlwinm. r4, r6, 0x1b, 0x1f, 0x1f -/* 80289994 002868F4 41 82 00 0C */ beq lbl_802899A0 -/* 80289998 002868F8 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 -/* 8028999C 002868FC 7C C3 41 AE */ stbx r6, r3, r8 -lbl_802899A0: -/* 802899A0 00286900 2C 05 00 00 */ cmpwi r5, 0 -/* 802899A4 00286904 38 A5 FF FF */ addi r5, r5, -1 -/* 802899A8 00286908 38 E7 FF FC */ addi r7, r7, -4 -/* 802899AC 0028690C 40 82 FF D4 */ bne lbl_80289980 -/* 802899B0 00286910 88 03 00 94 */ lbz r0, 0x94(r3) -/* 802899B4 00286914 38 80 00 01 */ li r4, 1 -/* 802899B8 00286918 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802899BC 0028691C 98 03 00 94 */ stb r0, 0x94(r3) -/* 802899C0 00286920 38 21 01 10 */ addi r1, r1, 0x110 -/* 802899C4 00286924 4E 80 00 20 */ blr - -.global sub_802899c8 -sub_802899c8: -/* 802899C8 00286928 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802899CC 0028692C 7C 08 02 A6 */ mflr r0 -/* 802899D0 00286930 90 01 00 24 */ stw r0, 0x24(r1) -/* 802899D4 00286934 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802899D8 00286938 7C 7B 1B 78 */ mr r27, r3 -/* 802899DC 0028693C 88 03 00 94 */ lbz r0, 0x94(r3) -/* 802899E0 00286940 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802899E4 00286944 40 82 00 08 */ bne lbl_802899EC -/* 802899E8 00286948 4B FF FE 15 */ bl sub_802897fc -lbl_802899EC: -/* 802899EC 0028694C 7F 63 DB 78 */ mr r3, r27 -/* 802899F0 00286950 48 08 8B 31 */ bl Next__9CRandom16Fv -/* 802899F4 00286954 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 802899F8 00286958 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 802899FC 0028695C 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80289A00 00286960 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80289A04 00286964 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80289A08 00286968 7C 00 22 14 */ add r0, r0, r4 -/* 80289A0C 0028696C 1C 00 00 05 */ mulli r0, r0, 5 -/* 80289A10 00286970 7C 80 18 50 */ subf r4, r0, r3 -/* 80289A14 00286974 7F 63 DB 78 */ mr r3, r27 -/* 80289A18 00286978 3B E4 00 09 */ addi r31, r4, 9 -/* 80289A1C 0028697C 48 08 8B 05 */ bl Next__9CRandom16Fv -/* 80289A20 00286980 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 80289A24 00286984 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 80289A28 00286988 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80289A2C 0028698C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80289A30 00286990 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80289A34 00286994 7C 00 22 14 */ add r0, r0, r4 -/* 80289A38 00286998 1C 00 00 05 */ mulli r0, r0, 5 -/* 80289A3C 0028699C 7C 80 18 50 */ subf r4, r0, r3 -/* 80289A40 002869A0 7F 63 DB 78 */ mr r3, r27 -/* 80289A44 002869A4 3B C4 00 15 */ addi r30, r4, 0x15 -/* 80289A48 002869A8 48 08 8A D9 */ bl Next__9CRandom16Fv -/* 80289A4C 002869AC 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 80289A50 002869B0 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 80289A54 002869B4 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80289A58 002869B8 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80289A5C 002869BC 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80289A60 002869C0 7C 00 22 14 */ add r0, r0, r4 -/* 80289A64 002869C4 1C 00 00 05 */ mulli r0, r0, 5 -/* 80289A68 002869C8 7C 80 18 50 */ subf r4, r0, r3 -/* 80289A6C 002869CC 7F 63 DB 78 */ mr r3, r27 -/* 80289A70 002869D0 3B A4 00 21 */ addi r29, r4, 0x21 -/* 80289A74 002869D4 48 08 8A AD */ bl Next__9CRandom16Fv -/* 80289A78 002869D8 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 80289A7C 002869DC 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 80289A80 002869E0 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80289A84 002869E4 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80289A88 002869E8 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80289A8C 002869EC 7C 00 22 14 */ add r0, r0, r4 -/* 80289A90 002869F0 1C 00 00 05 */ mulli r0, r0, 5 -/* 80289A94 002869F4 7C 80 18 50 */ subf r4, r0, r3 -/* 80289A98 002869F8 7F 63 DB 78 */ mr r3, r27 -/* 80289A9C 002869FC 3B 84 00 0D */ addi r28, r4, 0xd -/* 80289AA0 00286A00 48 08 8A 81 */ bl Next__9CRandom16Fv -/* 80289AA4 00286A04 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 80289AA8 00286A08 80 1B 00 84 */ lwz r0, 0x84(r27) -/* 80289AAC 00286A0C 38 84 66 67 */ addi r4, r4, 0x66666667@l -/* 80289AB0 00286A10 80 BB 00 88 */ lwz r5, 0x88(r27) -/* 80289AB4 00286A14 7C 84 18 96 */ mulhw r4, r4, r3 -/* 80289AB8 00286A18 7C 08 03 78 */ mr r8, r0 -/* 80289ABC 00286A1C 7C A9 2B 78 */ mr r9, r5 -/* 80289AC0 00286A20 38 C0 FF FF */ li r6, -1 -/* 80289AC4 00286A24 38 E0 00 00 */ li r7, 0 -/* 80289AC8 00286A28 7C 84 0E 70 */ srawi r4, r4, 1 -/* 80289ACC 00286A2C 54 8A 0F FE */ srwi r10, r4, 0x1f -/* 80289AD0 00286A30 7C 84 52 14 */ add r4, r4, r10 -/* 80289AD4 00286A34 1C 84 00 05 */ mulli r4, r4, 5 -/* 80289AD8 00286A38 7C 64 18 50 */ subf r3, r4, r3 -/* 80289ADC 00286A3C 38 83 00 1D */ addi r4, r3, 0x1d -/* 80289AE0 00286A40 48 00 03 EC */ b lbl_80289ECC -lbl_80289AE4: -/* 80289AE4 00286A44 7C 07 F8 00 */ cmpw r7, r31 -/* 80289AE8 00286A48 41 82 00 14 */ beq lbl_80289AFC -/* 80289AEC 00286A4C 7C 07 F0 00 */ cmpw r7, r30 -/* 80289AF0 00286A50 41 82 00 0C */ beq lbl_80289AFC -/* 80289AF4 00286A54 7C 07 E8 00 */ cmpw r7, r29 -/* 80289AF8 00286A58 40 82 01 28 */ bne lbl_80289C20 -lbl_80289AFC: -/* 80289AFC 00286A5C 2C 06 00 02 */ cmpwi r6, 2 -/* 80289B00 00286A60 41 82 00 A4 */ beq lbl_80289BA4 -/* 80289B04 00286A64 40 80 00 14 */ bge lbl_80289B18 -/* 80289B08 00286A68 2C 06 00 00 */ cmpwi r6, 0 -/* 80289B0C 00286A6C 41 82 00 18 */ beq lbl_80289B24 -/* 80289B10 00286A70 40 80 00 54 */ bge lbl_80289B64 -/* 80289B14 00286A74 48 00 01 0C */ b lbl_80289C20 -lbl_80289B18: -/* 80289B18 00286A78 2C 06 00 04 */ cmpwi r6, 4 -/* 80289B1C 00286A7C 40 80 01 04 */ bge lbl_80289C20 -/* 80289B20 00286A80 48 00 00 C4 */ b lbl_80289BE4 -lbl_80289B24: -/* 80289B24 00286A84 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289B28 00286A88 39 60 00 01 */ li r11, 1 -/* 80289B2C 00286A8C 7C 68 1A 14 */ add r3, r8, r3 -/* 80289B30 00286A90 54 6A 08 3C */ slwi r10, r3, 1 -/* 80289B34 00286A94 1C 65 00 09 */ mulli r3, r5, 9 -/* 80289B38 00286A98 39 4A 00 04 */ addi r10, r10, 4 -/* 80289B3C 00286A9C 7C BB 50 AE */ lbzx r5, r27, r10 -/* 80289B40 00286AA0 51 65 0F BC */ rlwimi r5, r11, 1, 0x1e, 0x1e -/* 80289B44 00286AA4 7C 00 1A 14 */ add r0, r0, r3 -/* 80289B48 00286AA8 54 03 08 3C */ slwi r3, r0, 1 -/* 80289B4C 00286AAC 7C BB 51 AE */ stbx r5, r27, r10 -/* 80289B50 00286AB0 38 63 00 04 */ addi r3, r3, 4 -/* 80289B54 00286AB4 7C 1B 18 AE */ lbzx r0, r27, r3 -/* 80289B58 00286AB8 51 60 1F 38 */ rlwimi r0, r11, 3, 0x1c, 0x1c -/* 80289B5C 00286ABC 7C 1B 19 AE */ stbx r0, r27, r3 -/* 80289B60 00286AC0 48 00 00 C0 */ b lbl_80289C20 -lbl_80289B64: -/* 80289B64 00286AC4 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289B68 00286AC8 39 60 00 01 */ li r11, 1 -/* 80289B6C 00286ACC 7C 68 1A 14 */ add r3, r8, r3 -/* 80289B70 00286AD0 54 6A 08 3C */ slwi r10, r3, 1 -/* 80289B74 00286AD4 1C 65 00 09 */ mulli r3, r5, 9 -/* 80289B78 00286AD8 39 4A 00 04 */ addi r10, r10, 4 -/* 80289B7C 00286ADC 7C BB 50 AE */ lbzx r5, r27, r10 -/* 80289B80 00286AE0 51 65 07 FE */ rlwimi r5, r11, 0, 0x1f, 0x1f -/* 80289B84 00286AE4 7C 00 1A 14 */ add r0, r0, r3 -/* 80289B88 00286AE8 54 03 08 3C */ slwi r3, r0, 1 -/* 80289B8C 00286AEC 7C BB 51 AE */ stbx r5, r27, r10 -/* 80289B90 00286AF0 38 63 00 04 */ addi r3, r3, 4 -/* 80289B94 00286AF4 7C 1B 18 AE */ lbzx r0, r27, r3 -/* 80289B98 00286AF8 51 60 17 7A */ rlwimi r0, r11, 2, 0x1d, 0x1d -/* 80289B9C 00286AFC 7C 1B 19 AE */ stbx r0, r27, r3 -/* 80289BA0 00286B00 48 00 00 80 */ b lbl_80289C20 -lbl_80289BA4: -/* 80289BA4 00286B04 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289BA8 00286B08 39 60 00 01 */ li r11, 1 -/* 80289BAC 00286B0C 7C 68 1A 14 */ add r3, r8, r3 -/* 80289BB0 00286B10 54 6A 08 3C */ slwi r10, r3, 1 -/* 80289BB4 00286B14 1C 65 00 09 */ mulli r3, r5, 9 -/* 80289BB8 00286B18 39 4A 00 04 */ addi r10, r10, 4 -/* 80289BBC 00286B1C 7C BB 50 AE */ lbzx r5, r27, r10 -/* 80289BC0 00286B20 51 65 1F 38 */ rlwimi r5, r11, 3, 0x1c, 0x1c -/* 80289BC4 00286B24 7C 00 1A 14 */ add r0, r0, r3 -/* 80289BC8 00286B28 54 03 08 3C */ slwi r3, r0, 1 -/* 80289BCC 00286B2C 7C BB 51 AE */ stbx r5, r27, r10 -/* 80289BD0 00286B30 38 63 00 04 */ addi r3, r3, 4 -/* 80289BD4 00286B34 7C 1B 18 AE */ lbzx r0, r27, r3 -/* 80289BD8 00286B38 51 60 0F BC */ rlwimi r0, r11, 1, 0x1e, 0x1e -/* 80289BDC 00286B3C 7C 1B 19 AE */ stbx r0, r27, r3 -/* 80289BE0 00286B40 48 00 00 40 */ b lbl_80289C20 -lbl_80289BE4: -/* 80289BE4 00286B44 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289BE8 00286B48 39 60 00 01 */ li r11, 1 -/* 80289BEC 00286B4C 7C 68 1A 14 */ add r3, r8, r3 -/* 80289BF0 00286B50 54 6A 08 3C */ slwi r10, r3, 1 -/* 80289BF4 00286B54 1C 65 00 09 */ mulli r3, r5, 9 -/* 80289BF8 00286B58 39 4A 00 04 */ addi r10, r10, 4 -/* 80289BFC 00286B5C 7C BB 50 AE */ lbzx r5, r27, r10 -/* 80289C00 00286B60 51 65 17 7A */ rlwimi r5, r11, 2, 0x1d, 0x1d -/* 80289C04 00286B64 7C 00 1A 14 */ add r0, r0, r3 -/* 80289C08 00286B68 54 03 08 3C */ slwi r3, r0, 1 -/* 80289C0C 00286B6C 7C BB 51 AE */ stbx r5, r27, r10 -/* 80289C10 00286B70 38 63 00 04 */ addi r3, r3, 4 -/* 80289C14 00286B74 7C 1B 18 AE */ lbzx r0, r27, r3 -/* 80289C18 00286B78 51 60 07 FE */ rlwimi r0, r11, 0, 0x1f, 0x1f -/* 80289C1C 00286B7C 7C 1B 19 AE */ stbx r0, r27, r3 -lbl_80289C20: -/* 80289C20 00286B80 2C 09 00 00 */ cmpwi r9, 0 -/* 80289C24 00286B84 7D 00 43 78 */ mr r0, r8 -/* 80289C28 00286B88 7D 25 4B 78 */ mr r5, r9 -/* 80289C2C 00286B8C 40 81 00 54 */ ble lbl_80289C80 -/* 80289C30 00286B90 2C 06 00 02 */ cmpwi r6, 2 -/* 80289C34 00286B94 41 82 00 4C */ beq lbl_80289C80 -/* 80289C38 00286B98 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289C3C 00286B9C 7C 68 1A 14 */ add r3, r8, r3 -/* 80289C40 00286BA0 54 63 08 3C */ slwi r3, r3, 1 -/* 80289C44 00286BA4 38 63 00 04 */ addi r3, r3, 4 -/* 80289C48 00286BA8 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289C4C 00286BAC 54 63 CF FF */ rlwinm. r3, r3, 0x19, 0x1f, 0x1f -/* 80289C50 00286BB0 41 82 00 30 */ beq lbl_80289C80 -/* 80289C54 00286BB4 38 69 FF FF */ addi r3, r9, -1 -/* 80289C58 00286BB8 1C 63 00 09 */ mulli r3, r3, 9 -/* 80289C5C 00286BBC 7C 68 1A 14 */ add r3, r8, r3 -/* 80289C60 00286BC0 54 63 08 3C */ slwi r3, r3, 1 -/* 80289C64 00286BC4 38 63 00 05 */ addi r3, r3, 5 -/* 80289C68 00286BC8 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289C6C 00286BCC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f -/* 80289C70 00286BD0 41 82 00 10 */ beq lbl_80289C80 -/* 80289C74 00286BD4 38 C0 00 00 */ li r6, 0 -/* 80289C78 00286BD8 39 29 FF FF */ addi r9, r9, -1 -/* 80289C7C 00286BDC 48 00 01 00 */ b lbl_80289D7C -lbl_80289C80: -/* 80289C80 00286BE0 2C 09 00 06 */ cmpwi r9, 6 -/* 80289C84 00286BE4 40 80 00 54 */ bge lbl_80289CD8 -/* 80289C88 00286BE8 2C 06 00 00 */ cmpwi r6, 0 -/* 80289C8C 00286BEC 41 82 00 4C */ beq lbl_80289CD8 -/* 80289C90 00286BF0 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289C94 00286BF4 7C 68 1A 14 */ add r3, r8, r3 -/* 80289C98 00286BF8 54 63 08 3C */ slwi r3, r3, 1 -/* 80289C9C 00286BFC 38 63 00 04 */ addi r3, r3, 4 -/* 80289CA0 00286C00 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289CA4 00286C04 54 63 DF FF */ rlwinm. r3, r3, 0x1b, 0x1f, 0x1f -/* 80289CA8 00286C08 41 82 00 30 */ beq lbl_80289CD8 -/* 80289CAC 00286C0C 38 69 00 01 */ addi r3, r9, 1 -/* 80289CB0 00286C10 1C 63 00 09 */ mulli r3, r3, 9 -/* 80289CB4 00286C14 7C 68 1A 14 */ add r3, r8, r3 -/* 80289CB8 00286C18 54 63 08 3C */ slwi r3, r3, 1 -/* 80289CBC 00286C1C 38 63 00 05 */ addi r3, r3, 5 -/* 80289CC0 00286C20 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289CC4 00286C24 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f -/* 80289CC8 00286C28 41 82 00 10 */ beq lbl_80289CD8 -/* 80289CCC 00286C2C 38 C0 00 02 */ li r6, 2 -/* 80289CD0 00286C30 39 29 00 01 */ addi r9, r9, 1 -/* 80289CD4 00286C34 48 00 00 A8 */ b lbl_80289D7C -lbl_80289CD8: -/* 80289CD8 00286C38 2C 08 00 00 */ cmpwi r8, 0 -/* 80289CDC 00286C3C 40 81 00 4C */ ble lbl_80289D28 -/* 80289CE0 00286C40 2C 06 00 01 */ cmpwi r6, 1 -/* 80289CE4 00286C44 41 82 00 44 */ beq lbl_80289D28 -/* 80289CE8 00286C48 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289CEC 00286C4C 7D 48 1A 14 */ add r10, r8, r3 -/* 80289CF0 00286C50 55 43 08 3C */ slwi r3, r10, 1 -/* 80289CF4 00286C54 38 63 00 04 */ addi r3, r3, 4 -/* 80289CF8 00286C58 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289CFC 00286C5C 54 63 E7 FF */ rlwinm. r3, r3, 0x1c, 0x1f, 0x1f -/* 80289D00 00286C60 41 82 00 28 */ beq lbl_80289D28 -/* 80289D04 00286C64 38 6A FF FF */ addi r3, r10, -1 -/* 80289D08 00286C68 54 63 08 3C */ slwi r3, r3, 1 -/* 80289D0C 00286C6C 38 63 00 05 */ addi r3, r3, 5 -/* 80289D10 00286C70 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289D14 00286C74 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f -/* 80289D18 00286C78 41 82 00 10 */ beq lbl_80289D28 -/* 80289D1C 00286C7C 38 C0 00 03 */ li r6, 3 -/* 80289D20 00286C80 39 08 FF FF */ addi r8, r8, -1 -/* 80289D24 00286C84 48 00 00 58 */ b lbl_80289D7C -lbl_80289D28: -/* 80289D28 00286C88 2C 08 00 08 */ cmpwi r8, 8 -/* 80289D2C 00286C8C 40 80 01 B8 */ bge lbl_80289EE4 -/* 80289D30 00286C90 2C 06 00 03 */ cmpwi r6, 3 -/* 80289D34 00286C94 41 82 01 B0 */ beq lbl_80289EE4 -/* 80289D38 00286C98 1C 69 00 09 */ mulli r3, r9, 9 -/* 80289D3C 00286C9C 7C C8 1A 14 */ add r6, r8, r3 -/* 80289D40 00286CA0 54 C3 08 3C */ slwi r3, r6, 1 -/* 80289D44 00286CA4 38 63 00 04 */ addi r3, r3, 4 -/* 80289D48 00286CA8 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289D4C 00286CAC 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f -/* 80289D50 00286CB0 41 82 01 94 */ beq lbl_80289EE4 -/* 80289D54 00286CB4 38 66 00 01 */ addi r3, r6, 1 -/* 80289D58 00286CB8 54 63 08 3C */ slwi r3, r3, 1 -/* 80289D5C 00286CBC 38 63 00 05 */ addi r3, r3, 5 -/* 80289D60 00286CC0 7C 7B 18 AE */ lbzx r3, r27, r3 -/* 80289D64 00286CC4 54 63 D7 FF */ rlwinm. r3, r3, 0x1a, 0x1f, 0x1f -/* 80289D68 00286CC8 41 82 01 7C */ beq lbl_80289EE4 -/* 80289D6C 00286CCC 38 C0 00 01 */ li r6, 1 -/* 80289D70 00286CD0 39 08 00 01 */ addi r8, r8, 1 -/* 80289D74 00286CD4 48 00 00 08 */ b lbl_80289D7C -/* 80289D78 00286CD8 48 00 01 6C */ b lbl_80289EE4 -lbl_80289D7C: -/* 80289D7C 00286CDC 7C 07 E0 00 */ cmpw r7, r28 -/* 80289D80 00286CE0 41 82 00 0C */ beq lbl_80289D8C -/* 80289D84 00286CE4 7C 07 20 00 */ cmpw r7, r4 -/* 80289D88 00286CE8 40 82 01 40 */ bne lbl_80289EC8 -lbl_80289D8C: -/* 80289D8C 00286CEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80289D90 00286CF0 41 82 00 1C */ beq lbl_80289DAC -/* 80289D94 00286CF4 2C 05 00 00 */ cmpwi r5, 0 -/* 80289D98 00286CF8 41 82 00 14 */ beq lbl_80289DAC -/* 80289D9C 00286CFC 2C 00 00 08 */ cmpwi r0, 8 -/* 80289DA0 00286D00 41 82 00 0C */ beq lbl_80289DAC -/* 80289DA4 00286D04 2C 05 00 06 */ cmpwi r5, 6 -/* 80289DA8 00286D08 40 82 00 1C */ bne lbl_80289DC4 -lbl_80289DAC: -/* 80289DAC 00286D0C 7C 07 E0 00 */ cmpw r7, r28 -/* 80289DB0 00286D10 40 82 00 0C */ bne lbl_80289DBC -/* 80289DB4 00286D14 3B 9C 00 01 */ addi r28, r28, 1 -/* 80289DB8 00286D18 48 00 01 10 */ b lbl_80289EC8 -lbl_80289DBC: -/* 80289DBC 00286D1C 38 84 00 01 */ addi r4, r4, 1 -/* 80289DC0 00286D20 48 00 01 08 */ b lbl_80289EC8 -lbl_80289DC4: -/* 80289DC4 00286D24 1C 65 00 09 */ mulli r3, r5, 9 -/* 80289DC8 00286D28 39 60 00 01 */ li r11, 1 -/* 80289DCC 00286D2C 2C 06 00 02 */ cmpwi r6, 2 -/* 80289DD0 00286D30 7C 60 1A 14 */ add r3, r0, r3 -/* 80289DD4 00286D34 54 63 08 3C */ slwi r3, r3, 1 -/* 80289DD8 00286D38 7C 7B 1A 14 */ add r3, r27, r3 -/* 80289DDC 00286D3C 89 43 00 05 */ lbz r10, 5(r3) -/* 80289DE0 00286D40 51 6A 3E 30 */ rlwimi r10, r11, 7, 0x18, 0x18 -/* 80289DE4 00286D44 99 43 00 05 */ stb r10, 5(r3) -/* 80289DE8 00286D48 41 82 00 84 */ beq lbl_80289E6C -/* 80289DEC 00286D4C 40 80 00 14 */ bge lbl_80289E00 -/* 80289DF0 00286D50 2C 06 00 00 */ cmpwi r6, 0 -/* 80289DF4 00286D54 41 82 00 18 */ beq lbl_80289E0C -/* 80289DF8 00286D58 40 80 00 44 */ bge lbl_80289E3C -/* 80289DFC 00286D5C 48 00 00 CC */ b lbl_80289EC8 -lbl_80289E00: -/* 80289E00 00286D60 2C 06 00 04 */ cmpwi r6, 4 -/* 80289E04 00286D64 40 80 00 C4 */ bge lbl_80289EC8 -/* 80289E08 00286D68 48 00 00 94 */ b lbl_80289E9C -lbl_80289E0C: -/* 80289E0C 00286D6C 1D 49 00 09 */ mulli r10, r9, 9 -/* 80289E10 00286D70 39 80 00 00 */ li r12, 0 -/* 80289E14 00286D74 7D 48 52 14 */ add r10, r8, r10 -/* 80289E18 00286D78 55 4A 08 3C */ slwi r10, r10, 1 -/* 80289E1C 00286D7C 39 6A 00 04 */ addi r11, r10, 4 -/* 80289E20 00286D80 7D 5B 58 AE */ lbzx r10, r27, r11 -/* 80289E24 00286D84 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a -/* 80289E28 00286D88 7D 5B 59 AE */ stbx r10, r27, r11 -/* 80289E2C 00286D8C 89 43 00 04 */ lbz r10, 4(r3) -/* 80289E30 00286D90 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 -/* 80289E34 00286D94 99 43 00 04 */ stb r10, 4(r3) -/* 80289E38 00286D98 48 00 00 90 */ b lbl_80289EC8 -lbl_80289E3C: -/* 80289E3C 00286D9C 1D 49 00 09 */ mulli r10, r9, 9 -/* 80289E40 00286DA0 39 80 00 00 */ li r12, 0 -/* 80289E44 00286DA4 7D 48 52 14 */ add r10, r8, r10 -/* 80289E48 00286DA8 55 4A 08 3C */ slwi r10, r10, 1 -/* 80289E4C 00286DAC 39 6A 00 04 */ addi r11, r10, 4 -/* 80289E50 00286DB0 7D 5B 58 AE */ lbzx r10, r27, r11 -/* 80289E54 00286DB4 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b -/* 80289E58 00286DB8 7D 5B 59 AE */ stbx r10, r27, r11 -/* 80289E5C 00286DBC 89 43 00 04 */ lbz r10, 4(r3) -/* 80289E60 00286DC0 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 -/* 80289E64 00286DC4 99 43 00 04 */ stb r10, 4(r3) -/* 80289E68 00286DC8 48 00 00 60 */ b lbl_80289EC8 -lbl_80289E6C: -/* 80289E6C 00286DCC 1D 49 00 09 */ mulli r10, r9, 9 -/* 80289E70 00286DD0 39 80 00 00 */ li r12, 0 -/* 80289E74 00286DD4 7D 48 52 14 */ add r10, r8, r10 -/* 80289E78 00286DD8 55 4A 08 3C */ slwi r10, r10, 1 -/* 80289E7C 00286DDC 39 6A 00 04 */ addi r11, r10, 4 -/* 80289E80 00286DE0 7D 5B 58 AE */ lbzx r10, r27, r11 -/* 80289E84 00286DE4 51 8A 3E 30 */ rlwimi r10, r12, 7, 0x18, 0x18 -/* 80289E88 00286DE8 7D 5B 59 AE */ stbx r10, r27, r11 -/* 80289E8C 00286DEC 89 43 00 04 */ lbz r10, 4(r3) -/* 80289E90 00286DF0 51 8A 2E B4 */ rlwimi r10, r12, 5, 0x1a, 0x1a -/* 80289E94 00286DF4 99 43 00 04 */ stb r10, 4(r3) -/* 80289E98 00286DF8 48 00 00 30 */ b lbl_80289EC8 -lbl_80289E9C: -/* 80289E9C 00286DFC 1D 49 00 09 */ mulli r10, r9, 9 -/* 80289EA0 00286E00 39 80 00 00 */ li r12, 0 -/* 80289EA4 00286E04 7D 48 52 14 */ add r10, r8, r10 -/* 80289EA8 00286E08 55 4A 08 3C */ slwi r10, r10, 1 -/* 80289EAC 00286E0C 39 6A 00 04 */ addi r11, r10, 4 -/* 80289EB0 00286E10 7D 5B 58 AE */ lbzx r10, r27, r11 -/* 80289EB4 00286E14 51 8A 36 72 */ rlwimi r10, r12, 6, 0x19, 0x19 -/* 80289EB8 00286E18 7D 5B 59 AE */ stbx r10, r27, r11 -/* 80289EBC 00286E1C 89 43 00 04 */ lbz r10, 4(r3) -/* 80289EC0 00286E20 51 8A 26 F6 */ rlwimi r10, r12, 4, 0x1b, 0x1b -/* 80289EC4 00286E24 99 43 00 04 */ stb r10, 4(r3) -lbl_80289EC8: -/* 80289EC8 00286E28 38 E7 00 01 */ addi r7, r7, 1 -lbl_80289ECC: -/* 80289ECC 00286E2C 80 7B 00 8C */ lwz r3, 0x8c(r27) -/* 80289ED0 00286E30 7C 08 18 00 */ cmpw r8, r3 -/* 80289ED4 00286E34 40 82 FC 10 */ bne lbl_80289AE4 -/* 80289ED8 00286E38 80 7B 00 90 */ lwz r3, 0x90(r27) -/* 80289EDC 00286E3C 7C 09 18 00 */ cmpw r9, r3 -/* 80289EE0 00286E40 40 82 FC 04 */ bne lbl_80289AE4 -lbl_80289EE4: -/* 80289EE4 00286E44 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80289EE8 00286E48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80289EEC 00286E4C 7C 08 03 A6 */ mtlr r0 -/* 80289EF0 00286E50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80289EF4 00286E54 4E 80 00 20 */ blr - -.global sub_80289ef8 -sub_80289ef8: -/* 80289EF8 00286E58 1C 05 00 09 */ mulli r0, r5, 9 -/* 80289EFC 00286E5C 7C 65 1B 78 */ mr r5, r3 -/* 80289F00 00286E60 7C 04 02 14 */ add r0, r4, r0 -/* 80289F04 00286E64 54 03 08 3C */ slwi r3, r0, 1 -/* 80289F08 00286E68 38 63 00 04 */ addi r3, r3, 4 -/* 80289F0C 00286E6C 7C 65 1A 14 */ add r3, r5, r3 -/* 80289F10 00286E70 4E 80 00 20 */ blr - -.global sub_80289f14 -sub_80289f14: -/* 80289F14 00286E74 1C 05 00 09 */ mulli r0, r5, 9 -/* 80289F18 00286E78 7C 65 1B 78 */ mr r5, r3 -/* 80289F1C 00286E7C 7C 04 02 14 */ add r0, r4, r0 -/* 80289F20 00286E80 54 03 08 3C */ slwi r3, r0, 1 -/* 80289F24 00286E84 38 63 00 04 */ addi r3, r3, 4 -/* 80289F28 00286E88 7C 65 1A 14 */ add r3, r5, r3 -/* 80289F2C 00286E8C 4E 80 00 20 */ blr - -.global sub_80289f30 -sub_80289f30: -/* 80289F30 00286E90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80289F34 00286E94 7C 08 02 A6 */ mflr r0 -/* 80289F38 00286E98 90 01 00 34 */ stw r0, 0x34(r1) -/* 80289F3C 00286E9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80289F40 00286EA0 3B E0 00 3E */ li r31, 0x3e -/* 80289F44 00286EA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80289F48 00286EA8 3B C0 00 00 */ li r30, 0 -/* 80289F4C 00286EAC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80289F50 00286EB0 7C 7D 1B 78 */ mr r29, r3 -/* 80289F54 00286EB4 38 61 00 0C */ addi r3, r1, 0xc -/* 80289F58 00286EB8 93 81 00 20 */ stw r28, 0x20(r1) -/* 80289F5C 00286EBC 48 08 86 91 */ bl __ct__9CRandom16FUi -/* 80289F60 00286EC0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80289F64 00286EC4 38 C0 00 00 */ li r6, 0 -/* 80289F68 00286EC8 38 00 00 07 */ li r0, 7 -/* 80289F6C 00286ECC 7F A3 EB 78 */ mr r3, r29 -/* 80289F70 00286ED0 90 9D 00 00 */ stw r4, 0(r29) -/* 80289F74 00286ED4 38 80 00 00 */ li r4, 0 -/* 80289F78 00286ED8 88 BD 00 94 */ lbz r5, 0x94(r29) -/* 80289F7C 00286EDC 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 -/* 80289F80 00286EE0 98 BD 00 94 */ stb r5, 0x94(r29) -/* 80289F84 00286EE4 7C 09 03 A6 */ mtctr r0 -lbl_80289F88: -/* 80289F88 00286EE8 88 01 00 09 */ lbz r0, 9(r1) -/* 80289F8C 00286EEC 39 40 00 00 */ li r10, 0 -/* 80289F90 00286EF0 51 40 2E B4 */ rlwimi r0, r10, 5, 0x1a, 0x1a -/* 80289F94 00286EF4 88 E1 00 08 */ lbz r7, 8(r1) -/* 80289F98 00286EF8 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 80289F9C 00286EFC 98 01 00 09 */ stb r0, 9(r1) -/* 80289FA0 00286F00 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 -/* 80289FA4 00286F04 39 60 00 00 */ li r11, 0 -/* 80289FA8 00286F08 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 80289FAC 00286F0C 98 A1 00 09 */ stb r5, 9(r1) -/* 80289FB0 00286F10 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 -/* 80289FB4 00286F14 38 C0 00 00 */ li r6, 0 -/* 80289FB8 00286F18 50 07 CF FE */ rlwimi r7, r0, 0x19, 0x1f, 0x1f -/* 80289FBC 00286F1C 98 01 00 09 */ stb r0, 9(r1) -/* 80289FC0 00286F20 54 EA 07 FE */ clrlwi r10, r7, 0x1f -/* 80289FC4 00286F24 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 80289FC8 00286F28 98 E1 00 08 */ stb r7, 8(r1) -/* 80289FCC 00286F2C 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 80289FD0 00286F30 51 47 0F BC */ rlwimi r7, r10, 1, 0x1e, 0x1e -/* 80289FD4 00286F34 51 65 2E B4 */ rlwimi r5, r11, 5, 0x1a, 0x1a -/* 80289FD8 00286F38 54 E8 06 3E */ clrlwi r8, r7, 0x18 -/* 80289FDC 00286F3C 98 E1 00 08 */ stb r7, 8(r1) -/* 80289FE0 00286F40 50 E8 0F 7A */ rlwimi r8, r7, 1, 0x1d, 0x1d -/* 80289FE4 00286F44 54 AB DF FE */ rlwinm r11, r5, 0x1b, 0x1f, 0x1f -/* 80289FE8 00286F48 55 07 06 3E */ clrlwi r7, r8, 0x18 -/* 80289FEC 00286F4C 99 01 00 08 */ stb r8, 8(r1) -/* 80289FF0 00286F50 51 07 0F 38 */ rlwimi r7, r8, 1, 0x1c, 0x1c -/* 80289FF4 00286F54 98 A1 00 09 */ stb r5, 9(r1) -/* 80289FF8 00286F58 54 EA EF FE */ rlwinm r10, r7, 0x1d, 0x1f, 0x1f -/* 80289FFC 00286F5C 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8028A000 00286F60 51 65 36 72 */ rlwimi r5, r11, 6, 0x19, 0x19 -/* 8028A004 00286F64 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A008 00286F68 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8028A00C 00286F6C 51 47 26 F6 */ rlwimi r7, r10, 4, 0x1b, 0x1b -/* 8028A010 00286F70 54 A9 06 3E */ clrlwi r9, r5, 0x18 -/* 8028A014 00286F74 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A018 00286F78 54 EA E7 FE */ rlwinm r10, r7, 0x1c, 0x1f, 0x1f -/* 8028A01C 00286F7C 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8028A020 00286F80 50 A9 0E 30 */ rlwimi r9, r5, 1, 0x18, 0x18 -/* 8028A024 00286F84 51 47 2E B4 */ rlwimi r7, r10, 5, 0x1a, 0x1a -/* 8028A028 00286F88 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A02C 00286F8C 54 EA DF FE */ rlwinm r10, r7, 0x1b, 0x1f, 0x1f -/* 8028A030 00286F90 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 8028A034 00286F94 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A038 00286F98 51 45 36 72 */ rlwimi r5, r10, 6, 0x19, 0x19 -/* 8028A03C 00286F9C 55 27 06 3E */ clrlwi r7, r9, 0x18 -/* 8028A040 00286FA0 54 AC 06 3E */ clrlwi r12, r5, 0x18 -/* 8028A044 00286FA4 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A048 00286FA8 50 AC 0E 30 */ rlwimi r12, r5, 1, 0x18, 0x18 -/* 8028A04C 00286FAC 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a -/* 8028A050 00286FB0 55 88 06 3E */ clrlwi r8, r12, 0x18 -/* 8028A054 00286FB4 99 21 00 09 */ stb r9, 9(r1) -/* 8028A058 00286FB8 51 28 CF FE */ rlwimi r8, r9, 0x19, 0x1f, 0x1f -/* 8028A05C 00286FBC 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 8028A060 00286FC0 99 81 00 08 */ stb r12, 8(r1) -/* 8028A064 00286FC4 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 -/* 8028A068 00286FC8 55 0B 07 FE */ clrlwi r11, r8, 0x1f -/* 8028A06C 00286FCC 99 01 00 08 */ stb r8, 8(r1) -/* 8028A070 00286FD0 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8028A074 00286FD4 51 68 0F BC */ rlwimi r8, r11, 1, 0x1e, 0x1e -/* 8028A078 00286FD8 54 AA 06 3E */ clrlwi r10, r5, 0x18 -/* 8028A07C 00286FDC 98 E1 00 09 */ stb r7, 9(r1) -/* 8028A080 00286FE0 55 0B FF FE */ rlwinm r11, r8, 0x1f, 0x1f, 0x1f -/* 8028A084 00286FE4 50 AA 0E 30 */ rlwimi r10, r5, 1, 0x18, 0x18 -/* 8028A088 00286FE8 99 01 00 08 */ stb r8, 8(r1) -/* 8028A08C 00286FEC 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8028A090 00286FF0 51 68 17 7A */ rlwimi r8, r11, 2, 0x1d, 0x1d -/* 8028A094 00286FF4 99 83 00 04 */ stb r12, 4(r3) -/* 8028A098 00286FF8 55 0B F7 FE */ rlwinm r11, r8, 0x1e, 0x1f, 0x1f -/* 8028A09C 00286FFC 99 01 00 08 */ stb r8, 8(r1) -/* 8028A0A0 00287000 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8028A0A4 00287004 51 68 1F 38 */ rlwimi r8, r11, 3, 0x1c, 0x1c -/* 8028A0A8 00287008 55 07 06 3E */ clrlwi r7, r8, 0x18 -/* 8028A0AC 0028700C 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A0B0 00287010 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b -/* 8028A0B4 00287014 99 01 00 08 */ stb r8, 8(r1) -/* 8028A0B8 00287018 54 EB E7 FE */ rlwinm r11, r7, 0x1c, 0x1f, 0x1f -/* 8028A0BC 0028701C 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A0C0 00287020 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8028A0C4 00287024 51 67 2E B4 */ rlwimi r7, r11, 5, 0x1a, 0x1a -/* 8028A0C8 00287028 98 03 00 05 */ stb r0, 5(r3) -/* 8028A0CC 0028702C 54 E0 06 3E */ clrlwi r0, r7, 0x18 -/* 8028A0D0 00287030 50 E0 0E 72 */ rlwimi r0, r7, 1, 0x19, 0x19 -/* 8028A0D4 00287034 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A0D8 00287038 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A0DC 0028703C 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 -/* 8028A0E0 00287040 98 01 00 08 */ stb r0, 8(r1) -/* 8028A0E4 00287044 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A0E8 00287048 51 40 CF FE */ rlwimi r0, r10, 0x19, 0x1f, 0x1f -/* 8028A0EC 0028704C 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A0F0 00287050 98 A3 00 06 */ stb r5, 6(r3) -/* 8028A0F4 00287054 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A0F8 00287058 50 05 0F BC */ rlwimi r5, r0, 1, 0x1e, 0x1e -/* 8028A0FC 0028705C 98 01 00 08 */ stb r0, 8(r1) -/* 8028A100 00287060 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A104 00287064 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d -/* 8028A108 00287068 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A10C 0028706C 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A110 00287070 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c -/* 8028A114 00287074 98 01 00 08 */ stb r0, 8(r1) -/* 8028A118 00287078 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A11C 0028707C 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b -/* 8028A120 00287080 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A124 00287084 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A128 00287088 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a -/* 8028A12C 0028708C 98 01 00 08 */ stb r0, 8(r1) -/* 8028A130 00287090 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A134 00287094 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 -/* 8028A138 00287098 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A13C 0028709C 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A140 002870A0 50 05 0E 30 */ rlwimi r5, r0, 1, 0x18, 0x18 -/* 8028A144 002870A4 98 01 00 08 */ stb r0, 8(r1) -/* 8028A148 002870A8 99 23 00 07 */ stb r9, 7(r3) -/* 8028A14C 002870AC 99 41 00 09 */ stb r10, 9(r1) -/* 8028A150 002870B0 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A154 002870B4 39 20 00 00 */ li r9, 0 -/* 8028A158 002870B8 55 40 06 3E */ clrlwi r0, r10, 0x18 -/* 8028A15C 002870BC 51 20 2E B4 */ rlwimi r0, r9, 5, 0x1a, 0x1a -/* 8028A160 002870C0 98 A3 00 08 */ stb r5, 8(r3) -/* 8028A164 002870C4 54 A8 06 3E */ clrlwi r8, r5, 0x18 -/* 8028A168 002870C8 39 80 00 00 */ li r12, 0 -/* 8028A16C 002870CC 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A170 002870D0 98 01 00 09 */ stb r0, 9(r1) -/* 8028A174 002870D4 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 -/* 8028A178 002870D8 38 C0 00 00 */ li r6, 0 -/* 8028A17C 002870DC 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A180 002870E0 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A184 002870E4 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 -/* 8028A188 002870E8 50 08 CF FE */ rlwimi r8, r0, 0x19, 0x1f, 0x1f -/* 8028A18C 002870EC 98 01 00 09 */ stb r0, 9(r1) -/* 8028A190 002870F0 55 09 07 FE */ clrlwi r9, r8, 0x1f -/* 8028A194 002870F4 54 07 06 3E */ clrlwi r7, r0, 0x18 -/* 8028A198 002870F8 99 01 00 08 */ stb r8, 8(r1) -/* 8028A19C 002870FC 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8028A1A0 00287100 51 28 0F BC */ rlwimi r8, r9, 1, 0x1e, 0x1e -/* 8028A1A4 00287104 51 87 2E B4 */ rlwimi r7, r12, 5, 0x1a, 0x1a -/* 8028A1A8 00287108 55 05 06 3E */ clrlwi r5, r8, 0x18 -/* 8028A1AC 0028710C 99 01 00 08 */ stb r8, 8(r1) -/* 8028A1B0 00287110 51 05 0F 7A */ rlwimi r5, r8, 1, 0x1d, 0x1d -/* 8028A1B4 00287114 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A1B8 00287118 54 A9 F7 FE */ rlwinm r9, r5, 0x1e, 0x1f, 0x1f -/* 8028A1BC 0028711C 54 A8 06 3E */ clrlwi r8, r5, 0x18 -/* 8028A1C0 00287120 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 8028A1C4 00287124 51 28 1F 38 */ rlwimi r8, r9, 3, 0x1c, 0x1c -/* 8028A1C8 00287128 98 E1 00 09 */ stb r7, 9(r1) -/* 8028A1CC 0028712C 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 -/* 8028A1D0 00287130 55 07 06 3E */ clrlwi r7, r8, 0x18 -/* 8028A1D4 00287134 99 01 00 08 */ stb r8, 8(r1) -/* 8028A1D8 00287138 51 07 0E F6 */ rlwimi r7, r8, 1, 0x1b, 0x1b -/* 8028A1DC 0028713C 54 AB 06 3E */ clrlwi r11, r5, 0x18 -/* 8028A1E0 00287140 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A1E4 00287144 54 E9 E7 FE */ rlwinm r9, r7, 0x1c, 0x1f, 0x1f -/* 8028A1E8 00287148 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8028A1EC 0028714C 50 AB 0E 30 */ rlwimi r11, r5, 1, 0x18, 0x18 -/* 8028A1F0 00287150 51 27 2E B4 */ rlwimi r7, r9, 5, 0x1a, 0x1a -/* 8028A1F4 00287154 99 43 00 09 */ stb r10, 9(r3) -/* 8028A1F8 00287158 54 E9 DF FE */ rlwinm r9, r7, 0x1b, 0x1f, 0x1f -/* 8028A1FC 0028715C 54 E8 06 3E */ clrlwi r8, r7, 0x18 -/* 8028A200 00287160 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A204 00287164 51 28 36 72 */ rlwimi r8, r9, 6, 0x19, 0x19 -/* 8028A208 00287168 55 67 06 3E */ clrlwi r7, r11, 0x18 -/* 8028A20C 0028716C 55 0A 06 3E */ clrlwi r10, r8, 0x18 -/* 8028A210 00287170 99 01 00 08 */ stb r8, 8(r1) -/* 8028A214 00287174 51 0A 0E 30 */ rlwimi r10, r8, 1, 0x18, 0x18 -/* 8028A218 00287178 50 C7 2E B4 */ rlwimi r7, r6, 5, 0x1a, 0x1a -/* 8028A21C 0028717C 55 48 06 3E */ clrlwi r8, r10, 0x18 -/* 8028A220 00287180 99 43 00 0A */ stb r10, 0xa(r3) -/* 8028A224 00287184 51 68 CF FE */ rlwimi r8, r11, 0x19, 0x1f, 0x1f -/* 8028A228 00287188 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A22C 0028718C 55 09 06 3E */ clrlwi r9, r8, 0x18 -/* 8028A230 00287190 51 09 0F BC */ rlwimi r9, r8, 1, 0x1e, 0x1e -/* 8028A234 00287194 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 8028A238 00287198 99 41 00 08 */ stb r10, 8(r1) -/* 8028A23C 0028719C 55 2C FF FE */ rlwinm r12, r9, 0x1f, 0x1f, 0x1f -/* 8028A240 002871A0 50 E5 0E 72 */ rlwimi r5, r7, 1, 0x19, 0x19 -/* 8028A244 002871A4 99 01 00 08 */ stb r8, 8(r1) -/* 8028A248 002871A8 54 A8 06 3E */ clrlwi r8, r5, 0x18 -/* 8028A24C 002871AC 50 A8 0E 30 */ rlwimi r8, r5, 1, 0x18, 0x18 -/* 8028A250 002871B0 99 21 00 08 */ stb r9, 8(r1) -/* 8028A254 002871B4 55 29 06 3E */ clrlwi r9, r9, 0x18 -/* 8028A258 002871B8 51 89 17 7A */ rlwimi r9, r12, 2, 0x1d, 0x1d -/* 8028A25C 002871BC 55 2A 06 3E */ clrlwi r10, r9, 0x18 -/* 8028A260 002871C0 99 61 00 09 */ stb r11, 9(r1) -/* 8028A264 002871C4 51 2A 0F 38 */ rlwimi r10, r9, 1, 0x1c, 0x1c -/* 8028A268 002871C8 99 21 00 08 */ stb r9, 8(r1) -/* 8028A26C 002871CC 55 49 06 3E */ clrlwi r9, r10, 0x18 -/* 8028A270 002871D0 51 49 0E F6 */ rlwimi r9, r10, 1, 0x1b, 0x1b -/* 8028A274 002871D4 99 41 00 08 */ stb r10, 8(r1) -/* 8028A278 002871D8 55 2C E7 FE */ rlwinm r12, r9, 0x1c, 0x1f, 0x1f -/* 8028A27C 002871DC 99 21 00 08 */ stb r9, 8(r1) -/* 8028A280 002871E0 55 29 06 3E */ clrlwi r9, r9, 0x18 -/* 8028A284 002871E4 51 89 2E B4 */ rlwimi r9, r12, 5, 0x1a, 0x1a -/* 8028A288 002871E8 98 E1 00 09 */ stb r7, 9(r1) -/* 8028A28C 002871EC 55 27 06 3E */ clrlwi r7, r9, 0x18 -/* 8028A290 002871F0 51 27 0E 72 */ rlwimi r7, r9, 1, 0x19, 0x19 -/* 8028A294 002871F4 99 21 00 08 */ stb r9, 8(r1) -/* 8028A298 002871F8 54 E9 06 3E */ clrlwi r9, r7, 0x18 -/* 8028A29C 002871FC 50 E9 0E 30 */ rlwimi r9, r7, 1, 0x18, 0x18 -/* 8028A2A0 00287200 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A2A4 00287204 55 27 06 3E */ clrlwi r7, r9, 0x18 -/* 8028A2A8 00287208 51 07 CF FE */ rlwimi r7, r8, 0x19, 0x1f, 0x1f -/* 8028A2AC 0028720C 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A2B0 00287210 54 E5 06 3E */ clrlwi r5, r7, 0x18 -/* 8028A2B4 00287214 50 E5 0F BC */ rlwimi r5, r7, 1, 0x1e, 0x1e -/* 8028A2B8 00287218 98 03 00 0B */ stb r0, 0xb(r3) -/* 8028A2BC 0028721C 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A2C0 00287220 50 A0 0F 7A */ rlwimi r0, r5, 1, 0x1d, 0x1d -/* 8028A2C4 00287224 99 21 00 08 */ stb r9, 8(r1) -/* 8028A2C8 00287228 98 E1 00 08 */ stb r7, 8(r1) -/* 8028A2CC 0028722C 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A2D0 00287230 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A2D4 00287234 50 05 0F 38 */ rlwimi r5, r0, 1, 0x1c, 0x1c -/* 8028A2D8 00287238 98 01 00 08 */ stb r0, 8(r1) -/* 8028A2DC 0028723C 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A2E0 00287240 50 A0 0E F6 */ rlwimi r0, r5, 1, 0x1b, 0x1b -/* 8028A2E4 00287244 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A2E8 00287248 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A2EC 0028724C 50 05 0E B4 */ rlwimi r5, r0, 1, 0x1a, 0x1a -/* 8028A2F0 00287250 98 01 00 08 */ stb r0, 8(r1) -/* 8028A2F4 00287254 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A2F8 00287258 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 -/* 8028A2FC 0028725C 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A300 00287260 54 06 D7 FE */ rlwinm r6, r0, 0x1a, 0x1f, 0x1f -/* 8028A304 00287264 99 23 00 0C */ stb r9, 0xc(r3) -/* 8028A308 00287268 98 01 00 08 */ stb r0, 8(r1) -/* 8028A30C 0028726C 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A310 00287270 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8028A314 00287274 99 63 00 0D */ stb r11, 0xd(r3) -/* 8028A318 00287278 99 01 00 09 */ stb r8, 9(r1) -/* 8028A31C 0028727C 98 01 00 08 */ stb r0, 8(r1) -/* 8028A320 00287280 39 40 00 00 */ li r10, 0 -/* 8028A324 00287284 55 05 06 3E */ clrlwi r5, r8, 0x18 -/* 8028A328 00287288 51 45 2E B4 */ rlwimi r5, r10, 5, 0x1a, 0x1a -/* 8028A32C 0028728C 98 03 00 0E */ stb r0, 0xe(r3) -/* 8028A330 00287290 54 06 06 3E */ clrlwi r6, r0, 0x18 -/* 8028A334 00287294 38 E0 00 00 */ li r7, 0 -/* 8028A338 00287298 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A33C 0028729C 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A340 002872A0 50 A0 0E 72 */ rlwimi r0, r5, 1, 0x19, 0x19 -/* 8028A344 002872A4 38 84 00 08 */ addi r4, r4, 8 -/* 8028A348 002872A8 54 09 06 3E */ clrlwi r9, r0, 0x18 -/* 8028A34C 002872AC 98 01 00 09 */ stb r0, 9(r1) -/* 8028A350 002872B0 50 09 0E 30 */ rlwimi r9, r0, 1, 0x18, 0x18 -/* 8028A354 002872B4 51 26 CF FE */ rlwimi r6, r9, 0x19, 0x1f, 0x1f -/* 8028A358 002872B8 99 03 00 0F */ stb r8, 0xf(r3) -/* 8028A35C 002872BC 54 CA 07 FE */ clrlwi r10, r6, 0x1f -/* 8028A360 002872C0 55 20 06 3E */ clrlwi r0, r9, 0x18 -/* 8028A364 002872C4 98 C1 00 08 */ stb r6, 8(r1) -/* 8028A368 002872C8 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 8028A36C 002872CC 51 46 0F BC */ rlwimi r6, r10, 1, 0x1e, 0x1e -/* 8028A370 002872D0 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a -/* 8028A374 002872D4 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 8028A378 002872D8 98 C1 00 08 */ stb r6, 8(r1) -/* 8028A37C 002872DC 50 C5 0F 7A */ rlwimi r5, r6, 1, 0x1d, 0x1d -/* 8028A380 002872E0 99 21 00 09 */ stb r9, 9(r1) -/* 8028A384 002872E4 54 AA F7 FE */ rlwinm r10, r5, 0x1e, 0x1f, 0x1f -/* 8028A388 002872E8 54 A6 06 3E */ clrlwi r6, r5, 0x18 -/* 8028A38C 002872EC 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A390 002872F0 51 46 1F 38 */ rlwimi r6, r10, 3, 0x1c, 0x1c -/* 8028A394 002872F4 54 C8 06 3E */ clrlwi r8, r6, 0x18 -/* 8028A398 002872F8 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A39C 002872FC 98 C1 00 08 */ stb r6, 8(r1) -/* 8028A3A0 00287300 50 C8 0E F6 */ rlwimi r8, r6, 1, 0x1b, 0x1b -/* 8028A3A4 00287304 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 -/* 8028A3A8 00287308 98 01 00 09 */ stb r0, 9(r1) -/* 8028A3AC 0028730C 55 00 06 3E */ clrlwi r0, r8, 0x18 -/* 8028A3B0 00287310 54 A6 06 3E */ clrlwi r6, r5, 0x18 -/* 8028A3B4 00287314 99 01 00 08 */ stb r8, 8(r1) -/* 8028A3B8 00287318 51 00 0E B4 */ rlwimi r0, r8, 1, 0x1a, 0x1a -/* 8028A3BC 0028731C 54 08 06 3E */ clrlwi r8, r0, 0x18 -/* 8028A3C0 00287320 50 A6 0E 30 */ rlwimi r6, r5, 1, 0x18, 0x18 -/* 8028A3C4 00287324 98 01 00 08 */ stb r0, 8(r1) -/* 8028A3C8 00287328 50 08 0E 72 */ rlwimi r8, r0, 1, 0x19, 0x19 -/* 8028A3CC 0028732C 55 00 06 3E */ clrlwi r0, r8, 0x18 -/* 8028A3D0 00287330 51 00 0E 30 */ rlwimi r0, r8, 1, 0x18, 0x18 -/* 8028A3D4 00287334 99 01 00 08 */ stb r8, 8(r1) -/* 8028A3D8 00287338 54 08 06 3E */ clrlwi r8, r0, 0x18 -/* 8028A3DC 0028733C 98 03 00 10 */ stb r0, 0x10(r3) -/* 8028A3E0 00287340 50 C8 CF FE */ rlwimi r8, r6, 0x19, 0x1f, 0x1f -/* 8028A3E4 00287344 98 01 00 08 */ stb r0, 8(r1) -/* 8028A3E8 00287348 55 00 06 3E */ clrlwi r0, r8, 0x18 -/* 8028A3EC 0028734C 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e -/* 8028A3F0 00287350 98 A1 00 09 */ stb r5, 9(r1) -/* 8028A3F4 00287354 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A3F8 00287358 50 05 0F 7A */ rlwimi r5, r0, 1, 0x1d, 0x1d -/* 8028A3FC 0028735C 99 01 00 08 */ stb r8, 8(r1) -/* 8028A400 00287360 98 01 00 08 */ stb r0, 8(r1) -/* 8028A404 00287364 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A408 00287368 50 A0 0F 38 */ rlwimi r0, r5, 1, 0x1c, 0x1c -/* 8028A40C 0028736C 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A410 00287370 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A414 00287374 50 05 0E F6 */ rlwimi r5, r0, 1, 0x1b, 0x1b -/* 8028A418 00287378 98 01 00 08 */ stb r0, 8(r1) -/* 8028A41C 0028737C 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A420 00287380 50 A0 0E B4 */ rlwimi r0, r5, 1, 0x1a, 0x1a -/* 8028A424 00287384 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A428 00287388 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8028A42C 0028738C 50 05 0E 72 */ rlwimi r5, r0, 1, 0x19, 0x19 -/* 8028A430 00287390 98 01 00 08 */ stb r0, 8(r1) -/* 8028A434 00287394 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8028A438 00287398 50 A0 0E 30 */ rlwimi r0, r5, 1, 0x18, 0x18 -/* 8028A43C 0028739C 99 23 00 11 */ stb r9, 0x11(r3) -/* 8028A440 002873A0 98 A1 00 08 */ stb r5, 8(r1) -/* 8028A444 002873A4 98 03 00 12 */ stb r0, 0x12(r3) -/* 8028A448 002873A8 98 C3 00 13 */ stb r6, 0x13(r3) -/* 8028A44C 002873AC 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028A450 002873B0 98 C1 00 09 */ stb r6, 9(r1) -/* 8028A454 002873B4 98 01 00 08 */ stb r0, 8(r1) -/* 8028A458 002873B8 42 00 FB 30 */ bdnz lbl_80289F88 -/* 8028A45C 002873BC 54 83 08 3C */ slwi r3, r4, 1 -/* 8028A460 002873C0 20 04 00 3F */ subfic r0, r4, 0x3f -/* 8028A464 002873C4 7C BD 1A 14 */ add r5, r29, r3 -/* 8028A468 002873C8 7C 09 03 A6 */ mtctr r0 -/* 8028A46C 002873CC 2C 04 00 3F */ cmpwi r4, 0x3f -/* 8028A470 002873D0 40 80 04 00 */ bge lbl_8028A870 -lbl_8028A474: -/* 8028A474 002873D4 88 61 00 09 */ lbz r3, 9(r1) -/* 8028A478 002873D8 38 80 00 00 */ li r4, 0 -/* 8028A47C 002873DC 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 8028A480 002873E0 88 01 00 08 */ lbz r0, 8(r1) -/* 8028A484 002873E4 54 64 DF FE */ rlwinm r4, r3, 0x1b, 0x1f, 0x1f -/* 8028A488 002873E8 98 61 00 09 */ stb r3, 9(r1) -/* 8028A48C 002873EC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8028A490 002873F0 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 8028A494 002873F4 54 64 D7 FE */ rlwinm r4, r3, 0x1a, 0x1f, 0x1f -/* 8028A498 002873F8 98 61 00 09 */ stb r3, 9(r1) -/* 8028A49C 002873FC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8028A4A0 00287400 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 8028A4A4 00287404 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f -/* 8028A4A8 00287408 98 61 00 09 */ stb r3, 9(r1) -/* 8028A4AC 0028740C 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 8028A4B0 00287410 98 01 00 08 */ stb r0, 8(r1) -/* 8028A4B4 00287414 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A4B8 00287418 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8028A4BC 0028741C 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f -/* 8028A4C0 00287420 98 01 00 08 */ stb r0, 8(r1) -/* 8028A4C4 00287424 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A4C8 00287428 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8028A4CC 0028742C 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f -/* 8028A4D0 00287430 98 01 00 08 */ stb r0, 8(r1) -/* 8028A4D4 00287434 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A4D8 00287438 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8028A4DC 0028743C 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f -/* 8028A4E0 00287440 98 01 00 08 */ stb r0, 8(r1) -/* 8028A4E4 00287444 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A4E8 00287448 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8028A4EC 0028744C 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f -/* 8028A4F0 00287450 98 01 00 08 */ stb r0, 8(r1) -/* 8028A4F4 00287454 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A4F8 00287458 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8028A4FC 0028745C 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f -/* 8028A500 00287460 98 01 00 08 */ stb r0, 8(r1) -/* 8028A504 00287464 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A508 00287468 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8028A50C 0028746C 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f -/* 8028A510 00287470 98 01 00 08 */ stb r0, 8(r1) -/* 8028A514 00287474 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8028A518 00287478 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8028A51C 0028747C 98 05 00 04 */ stb r0, 4(r5) -/* 8028A520 00287480 98 65 00 05 */ stb r3, 5(r5) -/* 8028A524 00287484 38 A5 00 02 */ addi r5, r5, 2 -/* 8028A528 00287488 98 01 00 08 */ stb r0, 8(r1) -/* 8028A52C 0028748C 42 00 FF 48 */ bdnz lbl_8028A474 -/* 8028A530 00287490 48 00 03 40 */ b lbl_8028A870 -lbl_8028A534: -/* 8028A534 00287494 34 1E FF F7 */ addic. r0, r30, -9 -/* 8028A538 00287498 3B 80 00 00 */ li r28, 0 -/* 8028A53C 0028749C 40 81 00 58 */ ble lbl_8028A594 -/* 8028A540 002874A0 38 1E FF F7 */ addi r0, r30, -9 -/* 8028A544 002874A4 38 80 00 00 */ li r4, 0 -/* 8028A548 002874A8 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A54C 002874AC 38 03 00 04 */ addi r0, r3, 4 -/* 8028A550 002874B0 7C 7D 00 AE */ lbzx r3, r29, r0 -/* 8028A554 002874B4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8028A558 002874B8 40 82 00 20 */ bne lbl_8028A578 -/* 8028A55C 002874BC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8028A560 002874C0 40 82 00 18 */ bne lbl_8028A578 -/* 8028A564 002874C4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8028A568 002874C8 40 82 00 10 */ bne lbl_8028A578 -/* 8028A56C 002874CC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8028A570 002874D0 40 82 00 08 */ bne lbl_8028A578 -/* 8028A574 002874D4 38 80 00 01 */ li r4, 1 -lbl_8028A578: -/* 8028A578 002874D8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8028A57C 002874DC 41 82 00 18 */ beq lbl_8028A594 -/* 8028A580 002874E0 57 80 10 3A */ slwi r0, r28, 2 -/* 8028A584 002874E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028A588 002874E8 38 80 00 00 */ li r4, 0 -/* 8028A58C 002874EC 3B 80 00 01 */ li r28, 1 -/* 8028A590 002874F0 7C 83 01 2E */ stwx r4, r3, r0 -lbl_8028A594: -/* 8028A594 002874F4 2C 1E 00 3D */ cmpwi r30, 0x3d -/* 8028A598 002874F8 40 80 00 7C */ bge lbl_8028A614 -/* 8028A59C 002874FC 3C 60 38 E4 */ lis r3, 0x38E38E39@ha -/* 8028A5A0 00287500 38 9E 00 01 */ addi r4, r30, 1 -/* 8028A5A4 00287504 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l -/* 8028A5A8 00287508 7C 00 20 96 */ mulhw r0, r0, r4 -/* 8028A5AC 0028750C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8028A5B0 00287510 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8028A5B4 00287514 7C 00 1A 14 */ add r0, r0, r3 -/* 8028A5B8 00287518 1C 00 00 09 */ mulli r0, r0, 9 -/* 8028A5BC 0028751C 7C 00 20 51 */ subf. r0, r0, r4 -/* 8028A5C0 00287520 41 82 00 54 */ beq lbl_8028A614 -/* 8028A5C4 00287524 54 83 08 3C */ slwi r3, r4, 1 -/* 8028A5C8 00287528 38 80 00 00 */ li r4, 0 -/* 8028A5CC 0028752C 38 03 00 04 */ addi r0, r3, 4 -/* 8028A5D0 00287530 7C 7D 00 AE */ lbzx r3, r29, r0 -/* 8028A5D4 00287534 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8028A5D8 00287538 40 82 00 20 */ bne lbl_8028A5F8 -/* 8028A5DC 0028753C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8028A5E0 00287540 40 82 00 18 */ bne lbl_8028A5F8 -/* 8028A5E4 00287544 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8028A5E8 00287548 40 82 00 10 */ bne lbl_8028A5F8 -/* 8028A5EC 0028754C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8028A5F0 00287550 40 82 00 08 */ bne lbl_8028A5F8 -/* 8028A5F4 00287554 38 80 00 01 */ li r4, 1 -lbl_8028A5F8: -/* 8028A5F8 00287558 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8028A5FC 0028755C 41 82 00 18 */ beq lbl_8028A614 -/* 8028A600 00287560 57 80 10 3A */ slwi r0, r28, 2 -/* 8028A604 00287564 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028A608 00287568 38 80 00 01 */ li r4, 1 -/* 8028A60C 0028756C 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028A610 00287570 7C 83 01 2E */ stwx r4, r3, r0 -lbl_8028A614: -/* 8028A614 00287574 38 1E 00 09 */ addi r0, r30, 9 -/* 8028A618 00287578 2C 00 00 3E */ cmpwi r0, 0x3e -/* 8028A61C 0028757C 41 81 00 54 */ bgt lbl_8028A670 -/* 8028A620 00287580 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A624 00287584 38 80 00 00 */ li r4, 0 -/* 8028A628 00287588 38 03 00 04 */ addi r0, r3, 4 -/* 8028A62C 0028758C 7C 7D 00 AE */ lbzx r3, r29, r0 -/* 8028A630 00287590 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8028A634 00287594 40 82 00 20 */ bne lbl_8028A654 -/* 8028A638 00287598 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8028A63C 0028759C 40 82 00 18 */ bne lbl_8028A654 -/* 8028A640 002875A0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8028A644 002875A4 40 82 00 10 */ bne lbl_8028A654 -/* 8028A648 002875A8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8028A64C 002875AC 40 82 00 08 */ bne lbl_8028A654 -/* 8028A650 002875B0 38 80 00 01 */ li r4, 1 -lbl_8028A654: -/* 8028A654 002875B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8028A658 002875B8 41 82 00 18 */ beq lbl_8028A670 -/* 8028A65C 002875BC 57 80 10 3A */ slwi r0, r28, 2 -/* 8028A660 002875C0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028A664 002875C4 38 80 00 02 */ li r4, 2 -/* 8028A668 002875C8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028A66C 002875CC 7C 83 01 2E */ stwx r4, r3, r0 -lbl_8028A670: -/* 8028A670 002875D0 2C 1E 00 00 */ cmpwi r30, 0 -/* 8028A674 002875D4 40 81 00 7C */ ble lbl_8028A6F0 -/* 8028A678 002875D8 3C 60 38 E4 */ lis r3, 0x38E38E39@ha -/* 8028A67C 002875DC 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l -/* 8028A680 002875E0 7C 00 F0 96 */ mulhw r0, r0, r30 -/* 8028A684 002875E4 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8028A688 002875E8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8028A68C 002875EC 7C 00 1A 14 */ add r0, r0, r3 -/* 8028A690 002875F0 1C 00 00 09 */ mulli r0, r0, 9 -/* 8028A694 002875F4 7C 00 F0 51 */ subf. r0, r0, r30 -/* 8028A698 002875F8 41 82 00 58 */ beq lbl_8028A6F0 -/* 8028A69C 002875FC 38 1E FF FF */ addi r0, r30, -1 -/* 8028A6A0 00287600 38 80 00 00 */ li r4, 0 -/* 8028A6A4 00287604 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A6A8 00287608 38 03 00 04 */ addi r0, r3, 4 -/* 8028A6AC 0028760C 7C 7D 00 AE */ lbzx r3, r29, r0 -/* 8028A6B0 00287610 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8028A6B4 00287614 40 82 00 20 */ bne lbl_8028A6D4 -/* 8028A6B8 00287618 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8028A6BC 0028761C 40 82 00 18 */ bne lbl_8028A6D4 -/* 8028A6C0 00287620 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8028A6C4 00287624 40 82 00 10 */ bne lbl_8028A6D4 -/* 8028A6C8 00287628 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8028A6CC 0028762C 40 82 00 08 */ bne lbl_8028A6D4 -/* 8028A6D0 00287630 38 80 00 01 */ li r4, 1 -lbl_8028A6D4: -/* 8028A6D4 00287634 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8028A6D8 00287638 41 82 00 18 */ beq lbl_8028A6F0 -/* 8028A6DC 0028763C 57 80 10 3A */ slwi r0, r28, 2 -/* 8028A6E0 00287640 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028A6E4 00287644 38 80 00 03 */ li r4, 3 -/* 8028A6E8 00287648 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028A6EC 0028764C 7C 83 01 2E */ stwx r4, r3, r0 -lbl_8028A6F0: -/* 8028A6F0 00287650 2C 1C 00 00 */ cmpwi r28, 0 -/* 8028A6F4 00287654 41 82 01 30 */ beq lbl_8028A824 -/* 8028A6F8 00287658 7F A3 EB 78 */ mr r3, r29 -/* 8028A6FC 0028765C 3B FF FF FF */ addi r31, r31, -1 -/* 8028A700 00287660 48 08 7E 21 */ bl Next__9CRandom16Fv -/* 8028A704 00287664 7C 03 E3 96 */ divwu r0, r3, r28 -/* 8028A708 00287668 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028A70C 0028766C 7C 00 E1 D6 */ mullw r0, r0, r28 -/* 8028A710 00287670 7C 00 18 50 */ subf r0, r0, r3 -/* 8028A714 00287674 54 00 10 3A */ slwi r0, r0, 2 -/* 8028A718 00287678 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8028A71C 0028767C 2C 00 00 02 */ cmpwi r0, 2 -/* 8028A720 00287680 41 82 00 94 */ beq lbl_8028A7B4 -/* 8028A724 00287684 40 80 00 14 */ bge lbl_8028A738 -/* 8028A728 00287688 2C 00 00 00 */ cmpwi r0, 0 -/* 8028A72C 0028768C 41 82 00 18 */ beq lbl_8028A744 -/* 8028A730 00287690 40 80 00 4C */ bge lbl_8028A77C -/* 8028A734 00287694 48 00 01 3C */ b lbl_8028A870 -lbl_8028A738: -/* 8028A738 00287698 2C 00 00 04 */ cmpwi r0, 4 -/* 8028A73C 0028769C 40 80 01 34 */ bge lbl_8028A870 -/* 8028A740 002876A0 48 00 00 AC */ b lbl_8028A7EC -lbl_8028A744: -/* 8028A744 002876A4 57 C3 08 3C */ slwi r3, r30, 1 -/* 8028A748 002876A8 38 1E FF F7 */ addi r0, r30, -9 -/* 8028A74C 002876AC 38 A3 00 04 */ addi r5, r3, 4 -/* 8028A750 002876B0 38 C0 00 01 */ li r6, 1 -/* 8028A754 002876B4 7C 9D 28 AE */ lbzx r4, r29, r5 -/* 8028A758 002876B8 50 C4 3E 30 */ rlwimi r4, r6, 7, 0x18, 0x18 -/* 8028A75C 002876BC 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A760 002876C0 3B DE FF F7 */ addi r30, r30, -9 -/* 8028A764 002876C4 7C 9D 29 AE */ stbx r4, r29, r5 -/* 8028A768 002876C8 38 63 00 04 */ addi r3, r3, 4 -/* 8028A76C 002876CC 7C 1D 18 AE */ lbzx r0, r29, r3 -/* 8028A770 002876D0 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8028A774 002876D4 7C 1D 19 AE */ stbx r0, r29, r3 -/* 8028A778 002876D8 48 00 00 F8 */ b lbl_8028A870 -lbl_8028A77C: -/* 8028A77C 002876DC 57 C3 08 3C */ slwi r3, r30, 1 -/* 8028A780 002876E0 38 1E 00 01 */ addi r0, r30, 1 -/* 8028A784 002876E4 38 A3 00 04 */ addi r5, r3, 4 -/* 8028A788 002876E8 38 C0 00 01 */ li r6, 1 -/* 8028A78C 002876EC 7C 9D 28 AE */ lbzx r4, r29, r5 -/* 8028A790 002876F0 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 -/* 8028A794 002876F4 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A798 002876F8 3B DE 00 01 */ addi r30, r30, 1 -/* 8028A79C 002876FC 7C 9D 29 AE */ stbx r4, r29, r5 -/* 8028A7A0 00287700 38 63 00 04 */ addi r3, r3, 4 -/* 8028A7A4 00287704 7C 1D 18 AE */ lbzx r0, r29, r3 -/* 8028A7A8 00287708 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 8028A7AC 0028770C 7C 1D 19 AE */ stbx r0, r29, r3 -/* 8028A7B0 00287710 48 00 00 C0 */ b lbl_8028A870 -lbl_8028A7B4: -/* 8028A7B4 00287714 57 C3 08 3C */ slwi r3, r30, 1 -/* 8028A7B8 00287718 38 1E 00 09 */ addi r0, r30, 9 -/* 8028A7BC 0028771C 38 A3 00 04 */ addi r5, r3, 4 -/* 8028A7C0 00287720 38 C0 00 01 */ li r6, 1 -/* 8028A7C4 00287724 7C 9D 28 AE */ lbzx r4, r29, r5 -/* 8028A7C8 00287728 50 C4 2E B4 */ rlwimi r4, r6, 5, 0x1a, 0x1a -/* 8028A7CC 0028772C 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A7D0 00287730 3B DE 00 09 */ addi r30, r30, 9 -/* 8028A7D4 00287734 7C 9D 29 AE */ stbx r4, r29, r5 -/* 8028A7D8 00287738 38 63 00 04 */ addi r3, r3, 4 -/* 8028A7DC 0028773C 7C 1D 18 AE */ lbzx r0, r29, r3 -/* 8028A7E0 00287740 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8028A7E4 00287744 7C 1D 19 AE */ stbx r0, r29, r3 -/* 8028A7E8 00287748 48 00 00 88 */ b lbl_8028A870 -lbl_8028A7EC: -/* 8028A7EC 0028774C 57 C3 08 3C */ slwi r3, r30, 1 -/* 8028A7F0 00287750 38 1E FF FF */ addi r0, r30, -1 -/* 8028A7F4 00287754 38 A3 00 04 */ addi r5, r3, 4 -/* 8028A7F8 00287758 38 C0 00 01 */ li r6, 1 -/* 8028A7FC 0028775C 7C 9D 28 AE */ lbzx r4, r29, r5 -/* 8028A800 00287760 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b -/* 8028A804 00287764 54 03 08 3C */ slwi r3, r0, 1 -/* 8028A808 00287768 3B DE FF FF */ addi r30, r30, -1 -/* 8028A80C 0028776C 7C 9D 29 AE */ stbx r4, r29, r5 -/* 8028A810 00287770 38 63 00 04 */ addi r3, r3, 4 -/* 8028A814 00287774 7C 1D 18 AE */ lbzx r0, r29, r3 -/* 8028A818 00287778 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8028A81C 0028777C 7C 1D 19 AE */ stbx r0, r29, r3 -/* 8028A820 00287780 48 00 00 50 */ b lbl_8028A870 -lbl_8028A824: -/* 8028A824 00287784 3B DE 00 01 */ addi r30, r30, 1 -/* 8028A828 00287788 2C 1E 00 3E */ cmpwi r30, 0x3e -/* 8028A82C 0028778C 40 81 00 08 */ ble lbl_8028A834 -/* 8028A830 00287790 3B C0 00 00 */ li r30, 0 -lbl_8028A834: -/* 8028A834 00287794 57 C3 08 3C */ slwi r3, r30, 1 -/* 8028A838 00287798 38 80 00 00 */ li r4, 0 -/* 8028A83C 0028779C 38 03 00 04 */ addi r0, r3, 4 -/* 8028A840 002877A0 7C 7D 00 AE */ lbzx r3, r29, r0 -/* 8028A844 002877A4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8028A848 002877A8 40 82 00 20 */ bne lbl_8028A868 -/* 8028A84C 002877AC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8028A850 002877B0 40 82 00 18 */ bne lbl_8028A868 -/* 8028A854 002877B4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8028A858 002877B8 40 82 00 10 */ bne lbl_8028A868 -/* 8028A85C 002877BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8028A860 002877C0 40 82 00 08 */ bne lbl_8028A868 -/* 8028A864 002877C4 38 80 00 01 */ li r4, 1 -lbl_8028A868: -/* 8028A868 002877C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8028A86C 002877CC 40 82 FF B8 */ bne lbl_8028A824 -lbl_8028A870: -/* 8028A870 002877D0 2C 1F 00 00 */ cmpwi r31, 0 -/* 8028A874 002877D4 40 82 FC C0 */ bne lbl_8028A534 -/* 8028A878 002877D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028A87C 002877DC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028A880 002877E0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8028A884 002877E4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8028A888 002877E8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8028A88C 002877EC 7C 08 03 A6 */ mtlr r0 -/* 8028A890 002877F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028A894 002877F4 4E 80 00 20 */ blr - -.global sub_8028a898 -sub_8028a898: -/* 8028A898 002877F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028A89C 002877FC 7C 08 02 A6 */ mflr r0 -/* 8028A8A0 00287800 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028A8A4 00287804 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8028A8A8 00287808 7C 9C 23 78 */ mr r28, r4 -/* 8028A8AC 0028780C 7C 7B 1B 78 */ mr r27, r3 -/* 8028A8B0 00287810 7C BD 2B 78 */ mr r29, r5 -/* 8028A8B4 00287814 7C DE 33 78 */ mr r30, r6 -/* 8028A8B8 00287818 7C FF 3B 78 */ mr r31, r7 -/* 8028A8BC 0028781C 38 80 00 00 */ li r4, 0 -/* 8028A8C0 00287820 48 08 7D 2D */ bl __ct__9CRandom16FUi -/* 8028A8C4 00287824 3C 80 80 29 */ lis r4, sub_8028a918@ha -/* 8028A8C8 00287828 38 7B 00 04 */ addi r3, r27, 4 -/* 8028A8CC 0028782C 38 84 A9 18 */ addi r4, r4, sub_8028a918@l -/* 8028A8D0 00287830 38 A0 00 00 */ li r5, 0 -/* 8028A8D4 00287834 38 C0 00 02 */ li r6, 2 -/* 8028A8D8 00287838 38 E0 00 3F */ li r7, 0x3f -/* 8028A8DC 0028783C 48 0F EE 71 */ bl __construct_array -/* 8028A8E0 00287840 93 9B 00 84 */ stw r28, 0x84(r27) -/* 8028A8E4 00287844 38 80 00 00 */ li r4, 0 -/* 8028A8E8 00287848 7F 63 DB 78 */ mr r3, r27 -/* 8028A8EC 0028784C 93 BB 00 88 */ stw r29, 0x88(r27) -/* 8028A8F0 00287850 93 DB 00 8C */ stw r30, 0x8c(r27) -/* 8028A8F4 00287854 93 FB 00 90 */ stw r31, 0x90(r27) -/* 8028A8F8 00287858 88 1B 00 94 */ lbz r0, 0x94(r27) -/* 8028A8FC 0028785C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8028A900 00287860 98 1B 00 94 */ stb r0, 0x94(r27) -/* 8028A904 00287864 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8028A908 00287868 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028A90C 0028786C 7C 08 03 A6 */ mtlr r0 -/* 8028A910 00287870 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028A914 00287874 4E 80 00 20 */ blr - -.global sub_8028a918 -sub_8028a918: -/* 8028A918 00287878 88 03 00 01 */ lbz r0, 1(r3) -/* 8028A91C 0028787C 38 80 00 00 */ li r4, 0 -/* 8028A920 00287880 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8028A924 00287884 98 03 00 01 */ stb r0, 1(r3) -/* 8028A928 00287888 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f -/* 8028A92C 0028788C 88 03 00 01 */ lbz r0, 1(r3) -/* 8028A930 00287890 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8028A934 00287894 98 03 00 01 */ stb r0, 1(r3) -/* 8028A938 00287898 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f -/* 8028A93C 0028789C 88 03 00 01 */ lbz r0, 1(r3) -/* 8028A940 002878A0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8028A944 002878A4 98 03 00 01 */ stb r0, 1(r3) -/* 8028A948 002878A8 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 8028A94C 002878AC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A950 002878B0 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 8028A954 002878B4 98 03 00 00 */ stb r0, 0(r3) -/* 8028A958 002878B8 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 8028A95C 002878BC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A960 002878C0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8028A964 002878C4 98 03 00 00 */ stb r0, 0(r3) -/* 8028A968 002878C8 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f -/* 8028A96C 002878CC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A970 002878D0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8028A974 002878D4 98 03 00 00 */ stb r0, 0(r3) -/* 8028A978 002878D8 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f -/* 8028A97C 002878DC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A980 002878E0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8028A984 002878E4 98 03 00 00 */ stb r0, 0(r3) -/* 8028A988 002878E8 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f -/* 8028A98C 002878EC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A990 002878F0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8028A994 002878F4 98 03 00 00 */ stb r0, 0(r3) -/* 8028A998 002878F8 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f -/* 8028A99C 002878FC 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A9A0 00287900 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8028A9A4 00287904 98 03 00 00 */ stb r0, 0(r3) -/* 8028A9A8 00287908 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f -/* 8028A9AC 0028790C 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A9B0 00287910 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8028A9B4 00287914 98 03 00 00 */ stb r0, 0(r3) -/* 8028A9B8 00287918 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f -/* 8028A9BC 0028791C 88 03 00 00 */ lbz r0, 0(r3) -/* 8028A9C0 00287920 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8028A9C4 00287924 98 03 00 00 */ stb r0, 0(r3) -/* 8028A9C8 00287928 4E 80 00 20 */ blr - -.global get_current_suit__12NWeaponTypesFRC13CStateManager -get_current_suit__12NWeaponTypesFRC13CStateManager: -/* 8028A9CC 0028792C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028A9D0 00287930 7C 08 02 A6 */ mflr r0 -/* 8028A9D4 00287934 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028A9D8 00287938 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028A9DC 0028793C 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 8028A9E0 00287940 83 E3 00 00 */ lwz r31, 0(r3) -/* 8028A9E4 00287944 7F E3 FB 78 */ mr r3, r31 -/* 8028A9E8 00287948 4B E0 6A F5 */ bl GetCurrentSuit__12CPlayerStateFv -/* 8028A9EC 0028794C 2C 03 00 00 */ cmpwi r3, 0 -/* 8028A9F0 00287950 41 80 00 0C */ blt lbl_8028A9FC -/* 8028A9F4 00287954 2C 03 00 05 */ cmpwi r3, 5 -/* 8028A9F8 00287958 40 81 00 08 */ ble lbl_8028AA00 -lbl_8028A9FC: -/* 8028A9FC 0028795C 38 60 00 00 */ li r3, 0 -lbl_8028AA00: -/* 8028AA00 00287960 2C 03 00 04 */ cmpwi r3, 4 -/* 8028AA04 00287964 40 82 00 0C */ bne lbl_8028AA10 -/* 8028AA08 00287968 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 8028AA0C 0028796C 7C 63 02 14 */ add r3, r3, r0 -lbl_8028AA10: -/* 8028AA10 00287970 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AA14 00287974 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028AA18 00287978 7C 08 03 A6 */ mtlr r0 -/* 8028AA1C 0028797C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028AA20 00287980 4E 80 00 20 */ blr - -.global GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager -GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager: -/* 8028AA24 00287984 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028AA28 00287988 7C 08 02 A6 */ mflr r0 -/* 8028AA2C 0028798C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028AA30 00287990 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028AA34 00287994 7C 7F 1B 78 */ mr r31, r3 -/* 8028AA38 00287998 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) -/* 8028AA3C 0028799C 80 A4 00 00 */ lwz r5, 0(r4) -/* 8028AA40 002879A0 88 06 02 28 */ lbz r0, 0x228(r6) -/* 8028AA44 002879A4 88 64 00 04 */ lbz r3, 4(r4) -/* 8028AA48 002879A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8028AA4C 002879AC C0 64 00 08 */ lfs f3, 8(r4) -/* 8028AA50 002879B0 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 8028AA54 002879B4 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 8028AA58 002879B8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8028AA5C 002879BC 88 04 00 18 */ lbz r0, 0x18(r4) -/* 8028AA60 002879C0 90 A1 00 08 */ stw r5, 8(r1) -/* 8028AA64 002879C4 98 61 00 0C */ stb r3, 0xc(r1) -/* 8028AA68 002879C8 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028AA6C 002879CC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8028AA70 002879D0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028AA74 002879D4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028AA78 002879D8 98 01 00 20 */ stb r0, 0x20(r1) -/* 8028AA7C 002879DC 41 82 00 30 */ beq lbl_8028AAAC -/* 8028AA80 002879E0 7C C3 33 78 */ mr r3, r6 -/* 8028AA84 002879E4 4B F4 8E 29 */ bl GetHardModeWeaponMultiplier__10CGameStateCFv -/* 8028AA88 002879E8 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8028AA8C 002879EC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8028AA90 002879F0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8028AA94 002879F4 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 8028AA98 002879F8 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 8028AA9C 002879FC EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028AAA0 00287A00 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028AAA4 00287A04 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8028AAA8 00287A08 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_8028AAAC: -/* 8028AAAC 00287A0C 80 61 00 08 */ lwz r3, 8(r1) -/* 8028AAB0 00287A10 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8028AAB4 00287A14 90 7F 00 00 */ stw r3, 0(r31) -/* 8028AAB8 00287A18 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8028AABC 00287A1C 98 1F 00 04 */ stb r0, 4(r31) -/* 8028AAC0 00287A20 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8028AAC4 00287A24 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8028AAC8 00287A28 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8028AACC 00287A2C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8028AAD0 00287A30 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8028AAD4 00287A34 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 8028AAD8 00287A38 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8028AADC 00287A3C D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8028AAE0 00287A40 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8028AAE4 00287A44 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028AAE8 00287A48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028AAEC 00287A4C 7C 08 03 A6 */ mtlr r0 -/* 8028AAF0 00287A50 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028AAF4 00287A54 4E 80 00 20 */ blr - -.global play_sfx__12NWeaponTypesFUsbbs -play_sfx__12NWeaponTypesFUsbbs: -/* 8028AAF8 00287A58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028AAFC 00287A5C 7C 08 02 A6 */ mflr r0 -/* 8028AB00 00287A60 7C C9 33 78 */ mr r9, r6 -/* 8028AB04 00287A64 7C E6 3B 78 */ mr r6, r7 -/* 8028AB08 00287A68 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028AB0C 00287A6C 38 E0 00 01 */ li r7, 1 -/* 8028AB10 00287A70 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2) -/* 8028AB14 00287A74 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028AB18 00287A78 7C BF 2B 78 */ mr r31, r5 -/* 8028AB1C 00287A7C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8028AB20 00287A80 38 A0 00 7F */ li r5, 0x7f -/* 8028AB24 00287A84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028AB28 00287A88 7C 7E 1B 78 */ mr r30, r3 -/* 8028AB2C 00287A8C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028AB30 00287A90 48 05 F2 45 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8028AB34 00287A94 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8028AB38 00287A98 38 61 00 0C */ addi r3, r1, 0xc -/* 8028AB3C 00287A9C 38 80 00 00 */ li r4, 0 -/* 8028AB40 00287AA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028AB44 00287AA4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028AB48 00287AA8 48 05 F0 2D */ bl SfxSpan__11CSfxManagerF10CSfxHandleUc -/* 8028AB4C 00287AAC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028AB50 00287AB0 41 82 00 18 */ beq lbl_8028AB68 -/* 8028AB54 00287AB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AB58 00287AB8 38 61 00 08 */ addi r3, r1, 8 -/* 8028AB5C 00287ABC 38 80 00 00 */ li r4, 0 -/* 8028AB60 00287AC0 90 01 00 08 */ stw r0, 8(r1) -/* 8028AB64 00287AC4 48 05 E3 49 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_8028AB68: -/* 8028AB68 00287AC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AB6C 00287ACC 90 1E 00 00 */ stw r0, 0(r30) -/* 8028AB70 00287AD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028AB74 00287AD4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028AB78 00287AD8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028AB7C 00287ADC 7C 08 03 A6 */ mtlr r0 -/* 8028AB80 00287AE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028AB84 00287AE4 4E 80 00 20 */ blr - -.global "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" -"do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId": -/* 8028AB88 00287AE8 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8028AB8C 00287AEC 7C 08 02 A6 */ mflr r0 -/* 8028AB90 00287AF0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8028AB94 00287AF4 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8028AB98 00287AF8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8028AB9C 00287AFC DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8028ABA0 00287B00 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8028ABA4 00287B04 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8028ABA8 00287B08 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8028ABAC 00287B0C BE 21 00 74 */ stmw r17, 0x74(r1) -/* 8028ABB0 00287B10 C0 8A 00 00 */ lfs f4, 0(r10) -/* 8028ABB4 00287B14 FF C0 18 90 */ fmr f30, f3 -/* 8028ABB8 00287B18 C0 0A 00 04 */ lfs f0, 4(r10) -/* 8028ABBC 00287B1C FF E0 08 90 */ fmr f31, f1 -/* 8028ABC0 00287B20 EC 64 01 32 */ fmuls f3, f4, f4 -/* 8028ABC4 00287B24 C0 8A 00 08 */ lfs f4, 8(r10) -/* 8028ABC8 00287B28 EC 20 00 32 */ fmuls f1, f0, f0 -/* 8028ABCC 00287B2C EC 84 01 32 */ fmuls f4, f4, f4 -/* 8028ABD0 00287B30 82 E1 00 E8 */ lwz r23, 0xe8(r1) -/* 8028ABD4 00287B34 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 8028ABD8 00287B38 EC 23 08 2A */ fadds f1, f3, f1 -/* 8028ABDC 00287B3C 83 01 00 EC */ lwz r24, 0xec(r1) -/* 8028ABE0 00287B40 FF A0 10 90 */ fmr f29, f2 -/* 8028ABE4 00287B44 83 21 00 F0 */ lwz r25, 0xf0(r1) -/* 8028ABE8 00287B48 7C 71 1B 78 */ mr r17, r3 -/* 8028ABEC 00287B4C EC 24 08 2A */ fadds f1, f4, f1 -/* 8028ABF0 00287B50 7C 92 23 78 */ mr r18, r4 -/* 8028ABF4 00287B54 7C B3 2B 78 */ mr r19, r5 -/* 8028ABF8 00287B58 7C DA 33 78 */ mr r26, r6 -/* 8028ABFC 00287B5C 7C F4 3B 78 */ mr r20, r7 -/* 8028AC00 00287B60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028AC04 00287B64 7D 15 43 78 */ mr r21, r8 -/* 8028AC08 00287B68 7D 36 4B 78 */ mr r22, r9 -/* 8028AC0C 00287B6C 40 80 02 84 */ bge lbl_8028AE90 -/* 8028AC10 00287B70 57 43 04 3E */ clrlwi r3, r26, 0x10 -/* 8028AC14 00287B74 48 05 DD 9D */ bl TranslateSFXID__11CSfxManagerFUs -/* 8028AC18 00287B78 56 80 07 39 */ rlwinm. r0, r20, 0, 0x1c, 0x1c -/* 8028AC1C 00287B7C 7C 7D 1B 78 */ mr r29, r3 -/* 8028AC20 00287B80 56 80 CF FE */ rlwinm r0, r20, 0x19, 0x1f, 0x1f -/* 8028AC24 00287B84 57 5C 0F FE */ srwi r28, r26, 0x1f -/* 8028AC28 00287B88 57 5B 17 FE */ rlwinm r27, r26, 2, 0x1f, 0x1f -/* 8028AC2C 00287B8C 38 A0 00 01 */ li r5, 1 -/* 8028AC30 00287B90 68 1A 00 01 */ xori r26, r0, 1 -/* 8028AC34 00287B94 41 82 00 08 */ beq lbl_8028AC3C -/* 8028AC38 00287B98 60 A5 00 08 */ ori r5, r5, 8 -lbl_8028AC3C: -/* 8028AC3C 00287B9C C0 62 BE 68 */ lfs f3, lbl_805ADB88@sda21(r2) -/* 8028AC40 00287BA0 38 80 00 00 */ li r4, 0 -/* 8028AC44 00287BA4 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) -/* 8028AC48 00287BA8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8028AC4C 00287BAC D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8028AC50 00287BB0 3B E1 00 4C */ addi r31, r1, 0x4c -/* 8028AC54 00287BB4 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) -/* 8028AC58 00287BB8 57 BE 04 3E */ clrlwi r30, r29, 0x10 -/* 8028AC5C 00287BBC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8028AC60 00287BC0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8028AC64 00287BC4 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8028AC68 00287BC8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8028AC6C 00287BCC D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8028AC70 00287BD0 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 8028AC74 00287BD4 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8028AC78 00287BD8 D3 C1 00 58 */ stfs f30, 0x58(r1) -/* 8028AC7C 00287BDC D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 8028AC80 00287BE0 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8028AC84 00287BE4 B0 81 00 64 */ sth r4, 0x64(r1) -/* 8028AC88 00287BE8 9A C1 00 66 */ stb r22, 0x66(r1) -/* 8028AC8C 00287BEC 9A A1 00 67 */ stb r21, 0x67(r1) -/* 8028AC90 00287BF0 98 81 00 68 */ stb r4, 0x68(r1) -/* 8028AC94 00287BF4 98 01 00 69 */ stb r0, 0x69(r1) -/* 8028AC98 00287BF8 C0 77 00 00 */ lfs f3, 0(r23) -/* 8028AC9C 00287BFC D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8028ACA0 00287C00 C0 77 00 04 */ lfs f3, 4(r23) -/* 8028ACA4 00287C04 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8028ACA8 00287C08 C0 77 00 08 */ lfs f3, 8(r23) -/* 8028ACAC 00287C0C D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8028ACB0 00287C10 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8028ACB4 00287C14 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8028ACB8 00287C18 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8028ACBC 00287C1C B3 A1 00 64 */ sth r29, 0x64(r1) -/* 8028ACC0 00287C20 80 79 09 00 */ lwz r3, 0x900(r25) -/* 8028ACC4 00287C24 48 08 78 19 */ bl Float__9CRandom16Fv -/* 8028ACC8 00287C28 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8028ACCC 00287C2C 4C 40 13 82 */ cror 2, 0, 2 -/* 8028ACD0 00287C30 40 82 01 C0 */ bne lbl_8028AE90 -/* 8028ACD4 00287C34 28 1C 00 00 */ cmplwi r28, 0 -/* 8028ACD8 00287C38 41 82 01 40 */ beq lbl_8028AE18 -/* 8028ACDC 00287C3C 80 91 00 04 */ lwz r4, 4(r17) -/* 8028ACE0 00287C40 A0 11 00 00 */ lhz r0, 0(r17) -/* 8028ACE4 00287C44 28 04 00 00 */ cmplwi r4, 0 -/* 8028ACE8 00287C48 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8028ACEC 00287C4C 40 82 00 94 */ bne lbl_8028AD80 -/* 8028ACF0 00287C50 28 1B 00 00 */ cmplwi r27, 0 -/* 8028ACF4 00287C54 41 82 00 34 */ beq lbl_8028AD28 -/* 8028ACF8 00287C58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8028ACFC 00287C5C 7F A4 EB 78 */ mr r4, r29 -/* 8028AD00 00287C60 7F 0A C3 78 */ mr r10, r24 -/* 8028AD04 00287C64 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028AD08 00287C68 38 A0 00 7F */ li r5, 0x7f -/* 8028AD0C 00287C6C 38 C0 00 40 */ li r6, 0x40 -/* 8028AD10 00287C70 38 E0 00 01 */ li r7, 1 -/* 8028AD14 00287C74 39 20 00 01 */ li r9, 1 -/* 8028AD18 00287C78 48 05 F0 5D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8028AD1C 00287C7C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8028AD20 00287C80 90 01 00 38 */ stw r0, 0x38(r1) -/* 8028AD24 00287C84 48 00 00 28 */ b lbl_8028AD4C -lbl_8028AD28: -/* 8028AD28 00287C88 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 8028AD2C 00287C8C 7F 08 C3 78 */ mr r8, r24 -/* 8028AD30 00287C90 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028AD34 00287C94 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028AD38 00287C98 57 45 06 3E */ clrlwi r5, r26, 0x18 -/* 8028AD3C 00287C9C 38 E0 00 01 */ li r7, 1 -/* 8028AD40 00287CA0 48 05 F2 A1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8028AD44 00287CA4 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8028AD48 00287CA8 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8028AD4C: -/* 8028AD4C 00287CAC 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8028AD50 00287CB0 28 03 00 00 */ cmplwi r3, 0 -/* 8028AD54 00287CB4 41 82 01 3C */ beq lbl_8028AE90 -/* 8028AD58 00287CB8 B3 D1 00 00 */ sth r30, 0(r17) -/* 8028AD5C 00287CBC 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8028AD60 00287CC0 90 71 00 04 */ stw r3, 4(r17) -/* 8028AD64 00287CC4 41 82 01 2C */ beq lbl_8028AE90 -/* 8028AD68 00287CC8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8028AD6C 00287CCC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028AD70 00287CD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028AD74 00287CD4 80 92 00 00 */ lwz r4, 0(r18) -/* 8028AD78 00287CD8 48 05 E1 35 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -/* 8028AD7C 00287CDC 48 00 01 14 */ b lbl_8028AE90 -lbl_8028AD80: -/* 8028AD80 00287CE0 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 8028AD84 00287CE4 7F C0 F3 78 */ mr r0, r30 -/* 8028AD88 00287CE8 7C 03 00 40 */ cmplw r3, r0 -/* 8028AD8C 00287CEC 40 82 00 20 */ bne lbl_8028ADAC -/* 8028AD90 00287CF0 90 81 00 20 */ stw r4, 0x20(r1) -/* 8028AD94 00287CF4 7F E5 FB 78 */ mr r5, r31 -/* 8028AD98 00287CF8 7E C6 B3 78 */ mr r6, r22 -/* 8028AD9C 00287CFC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028ADA0 00287D00 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028ADA4 00287D04 48 05 F1 0D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 8028ADA8 00287D08 48 00 00 E8 */ b lbl_8028AE90 -lbl_8028ADAC: -/* 8028ADAC 00287D0C 56 80 07 7B */ rlwinm. r0, r20, 0, 0x1d, 0x1d -/* 8028ADB0 00287D10 41 82 00 E0 */ beq lbl_8028AE90 -/* 8028ADB4 00287D14 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8028ADB8 00287D18 38 61 00 1C */ addi r3, r1, 0x1c -/* 8028ADBC 00287D1C 48 05 F0 C9 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 8028ADC0 00287D20 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 8028ADC4 00287D24 7F 08 C3 78 */ mr r8, r24 -/* 8028ADC8 00287D28 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028ADCC 00287D2C 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028ADD0 00287D30 57 45 06 3E */ clrlwi r5, r26, 0x18 -/* 8028ADD4 00287D34 38 E0 00 01 */ li r7, 1 -/* 8028ADD8 00287D38 48 05 F2 09 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8028ADDC 00287D3C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8028ADE0 00287D40 28 03 00 00 */ cmplwi r3, 0 -/* 8028ADE4 00287D44 90 61 00 34 */ stw r3, 0x34(r1) -/* 8028ADE8 00287D48 41 82 00 A8 */ beq lbl_8028AE90 -/* 8028ADEC 00287D4C B3 D1 00 00 */ sth r30, 0(r17) -/* 8028ADF0 00287D50 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8028ADF4 00287D54 90 71 00 04 */ stw r3, 4(r17) -/* 8028ADF8 00287D58 41 82 00 98 */ beq lbl_8028AE90 -/* 8028ADFC 00287D5C 28 03 00 00 */ cmplwi r3, 0 -/* 8028AE00 00287D60 41 82 00 90 */ beq lbl_8028AE90 -/* 8028AE04 00287D64 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028AE08 00287D68 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028AE0C 00287D6C 80 92 00 00 */ lwz r4, 0(r18) -/* 8028AE10 00287D70 48 05 E0 9D */ bl PitchBend__11CSfxManagerF10CSfxHandlei -/* 8028AE14 00287D74 48 00 00 7C */ b lbl_8028AE90 -lbl_8028AE18: -/* 8028AE18 00287D78 28 1B 00 00 */ cmplwi r27, 0 -/* 8028AE1C 00287D7C 41 82 00 34 */ beq lbl_8028AE50 -/* 8028AE20 00287D80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8028AE24 00287D84 7F A4 EB 78 */ mr r4, r29 -/* 8028AE28 00287D88 7F 0A C3 78 */ mr r10, r24 -/* 8028AE2C 00287D8C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028AE30 00287D90 57 47 06 3E */ clrlwi r7, r26, 0x18 -/* 8028AE34 00287D94 38 A0 00 7F */ li r5, 0x7f -/* 8028AE38 00287D98 38 C0 00 40 */ li r6, 0x40 -/* 8028AE3C 00287D9C 39 20 00 00 */ li r9, 0 -/* 8028AE40 00287DA0 48 05 EF 35 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8028AE44 00287DA4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8028AE48 00287DA8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028AE4C 00287DAC 48 00 00 28 */ b lbl_8028AE74 -lbl_8028AE50: -/* 8028AE50 00287DB0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 8028AE54 00287DB4 7F 08 C3 78 */ mr r8, r24 -/* 8028AE58 00287DB8 38 61 00 0C */ addi r3, r1, 0xc -/* 8028AE5C 00287DBC 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028AE60 00287DC0 57 45 06 3E */ clrlwi r5, r26, 0x18 -/* 8028AE64 00287DC4 38 E0 00 00 */ li r7, 0 -/* 8028AE68 00287DC8 48 05 F1 79 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi -/* 8028AE6C 00287DCC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8028AE70 00287DD0 90 01 00 30 */ stw r0, 0x30(r1) -lbl_8028AE74: -/* 8028AE74 00287DD4 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 8028AE78 00287DD8 41 82 00 18 */ beq lbl_8028AE90 -/* 8028AE7C 00287DDC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8028AE80 00287DE0 38 61 00 08 */ addi r3, r1, 8 -/* 8028AE84 00287DE4 90 01 00 08 */ stw r0, 8(r1) -/* 8028AE88 00287DE8 80 92 00 00 */ lwz r4, 0(r18) -/* 8028AE8C 00287DEC 48 05 E0 21 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -lbl_8028AE90: -/* 8028AE90 00287DF0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8028AE94 00287DF4 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8028AE98 00287DF8 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8028AE9C 00287DFC CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8028AEA0 00287E00 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8028AEA4 00287E04 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8028AEA8 00287E08 BA 21 00 74 */ lmw r17, 0x74(r1) -/* 8028AEAC 00287E0C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8028AEB0 00287E10 7C 08 03 A6 */ mtlr r0 -/* 8028AEB4 00287E14 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8028AEB8 00287E18 4E 80 00 20 */ blr - -.global "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -"primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": -/* 8028AEBC 00287E1C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8028AEC0 00287E20 7C 08 02 A6 */ mflr r0 -/* 8028AEC4 00287E24 90 01 00 84 */ stw r0, 0x84(r1) -/* 8028AEC8 00287E28 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 8028AECC 00287E2C 7C 9B 23 78 */ mr r27, r4 -/* 8028AED0 00287E30 7C 7F 1B 78 */ mr r31, r3 -/* 8028AED4 00287E34 7C B8 2B 78 */ mr r24, r5 -/* 8028AED8 00287E38 7C D9 33 78 */ mr r25, r6 -/* 8028AEDC 00287E3C 3B 9B 00 08 */ addi r28, r27, 8 -/* 8028AEE0 00287E40 3B 40 00 00 */ li r26, 0 -/* 8028AEE4 00287E44 83 A4 00 08 */ lwz r29, 8(r4) -/* 8028AEE8 00287E48 48 00 00 2C */ b lbl_8028AF14 -lbl_8028AEEC: -/* 8028AEEC 00287E4C 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8028AEF0 00287E50 7F E3 FB 78 */ mr r3, r31 -/* 8028AEF4 00287E54 4B D9 E5 99 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi -/* 8028AEF8 00287E58 2C 03 FF FF */ cmpwi r3, -1 -/* 8028AEFC 00287E5C 41 82 00 08 */ beq lbl_8028AF04 -/* 8028AF00 00287E60 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8028AF04: -/* 8028AF04 00287E64 7F 83 E3 78 */ mr r3, r28 -/* 8028AF08 00287E68 7F A4 EB 78 */ mr r4, r29 -/* 8028AF0C 00287E6C 48 0B 16 D5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8028AF10 00287E70 7C 7D 1B 78 */ mr r29, r3 -lbl_8028AF14: -/* 8028AF14 00287E74 28 1D 00 00 */ cmplwi r29, 0 -/* 8028AF18 00287E78 38 00 00 00 */ li r0, 0 -/* 8028AF1C 00287E7C 40 82 00 0C */ bne lbl_8028AF28 -/* 8028AF20 00287E80 7C 1C E0 40 */ cmplw r28, r28 -/* 8028AF24 00287E84 41 82 00 08 */ beq lbl_8028AF2C -lbl_8028AF28: -/* 8028AF28 00287E88 38 00 00 01 */ li r0, 1 -lbl_8028AF2C: -/* 8028AF2C 00287E8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8028AF30 00287E90 40 82 FF BC */ bne lbl_8028AEEC -/* 8028AF34 00287E94 38 00 00 00 */ li r0, 0 -/* 8028AF38 00287E98 7F 03 C3 78 */ mr r3, r24 -/* 8028AF3C 00287E9C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8028AF40 00287EA0 38 81 00 48 */ addi r4, r1, 0x48 -/* 8028AF44 00287EA4 90 01 00 50 */ stw r0, 0x50(r1) -/* 8028AF48 00287EA8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8028AF4C 00287EAC 4B D7 B8 B9 */ bl sub_80006804 -/* 8028AF50 00287EB0 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8028AF54 00287EB4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8028AF58 00287EB8 54 00 18 38 */ slwi r0, r0, 3 -/* 8028AF5C 00287EBC 7F 9D 02 14 */ add r28, r29, r0 -/* 8028AF60 00287EC0 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8028AF64 00287EC4 93 81 00 14 */ stw r28, 0x14(r1) -/* 8028AF68 00287EC8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8028AF6C 00287ECC 93 A1 00 08 */ stw r29, 8(r1) -/* 8028AF70 00287ED0 48 00 00 14 */ b lbl_8028AF84 -lbl_8028AF74: -/* 8028AF74 00287ED4 7F A3 EB 78 */ mr r3, r29 -/* 8028AF78 00287ED8 38 80 FF FF */ li r4, -1 -/* 8028AF7C 00287EDC 48 0B 5E C5 */ bl __dt__6CTokenFv -/* 8028AF80 00287EE0 3B BD 00 08 */ addi r29, r29, 8 -lbl_8028AF84: -/* 8028AF84 00287EE4 7C 1D E0 40 */ cmplw r29, r28 -/* 8028AF88 00287EE8 40 82 FF EC */ bne lbl_8028AF74 -/* 8028AF8C 00287EEC 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8028AF90 00287EF0 28 03 00 00 */ cmplwi r3, 0 -/* 8028AF94 00287EF4 41 82 00 08 */ beq lbl_8028AF9C -/* 8028AF98 00287EF8 48 08 A9 99 */ bl Free__7CMemoryFPCv -lbl_8028AF9C: -/* 8028AF9C 00287EFC 80 1B 00 04 */ lwz r0, 4(r27) -/* 8028AFA0 00287F00 7F 03 C3 78 */ mr r3, r24 -/* 8028AFA4 00287F04 7C 9A 02 14 */ add r4, r26, r0 -/* 8028AFA8 00287F08 4B D7 D9 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8028AFAC 00287F0C 3C 60 41 4E */ lis r3, 0x414E494D@ha -/* 8028AFB0 00287F10 87 5B 00 08 */ lwzu r26, 8(r27) -/* 8028AFB4 00287F14 57 3E 06 3E */ clrlwi r30, r25, 0x18 -/* 8028AFB8 00287F18 3B A3 49 4D */ addi r29, r3, 0x414E494D@l -/* 8028AFBC 00287F1C 48 00 01 84 */ b lbl_8028B140 -lbl_8028AFC0: -/* 8028AFC0 00287F20 83 9A 00 10 */ lwz r28, 0x10(r26) -/* 8028AFC4 00287F24 7F E3 FB 78 */ mr r3, r31 -/* 8028AFC8 00287F28 7F 84 E3 78 */ mr r4, r28 -/* 8028AFCC 00287F2C 4B D9 E4 C1 */ bl GetEventResourceIdForAnimResourceId__9CAnimDataCFi -/* 8028AFD0 00287F30 2C 03 FF FF */ cmpwi r3, -1 -/* 8028AFD4 00287F34 41 82 00 B4 */ beq lbl_8028B088 -/* 8028AFD8 00287F38 3C 80 45 56 */ lis r4, 0x45564E54@ha -/* 8028AFDC 00287F3C 90 61 00 34 */ stw r3, 0x34(r1) -/* 8028AFE0 00287F40 38 04 4E 54 */ addi r0, r4, 0x45564E54@l -/* 8028AFE4 00287F44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8028AFE8 00287F48 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028AFEC 00287F4C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028AFF0 00287F50 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8028AFF4 00287F54 81 84 00 00 */ lwz r12, 0(r4) -/* 8028AFF8 00287F58 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028AFFC 00287F5C 7D 89 03 A6 */ mtctr r12 -/* 8028B000 00287F60 4E 80 04 21 */ bctrl -/* 8028B004 00287F64 38 61 00 40 */ addi r3, r1, 0x40 -/* 8028B008 00287F68 38 81 00 28 */ addi r4, r1, 0x28 -/* 8028B00C 00287F6C 48 0B 5E 9D */ bl __ct__6CTokenFRC6CToken -/* 8028B010 00287F70 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028B014 00287F74 38 80 FF FF */ li r4, -1 -/* 8028B018 00287F78 48 0B 5E 29 */ bl __dt__6CTokenFv -/* 8028B01C 00287F7C 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8028B020 00287F80 41 82 00 0C */ beq lbl_8028B02C -/* 8028B024 00287F84 38 61 00 40 */ addi r3, r1, 0x40 -/* 8028B028 00287F88 48 0B 5D 5D */ bl Lock__6CTokenFv -lbl_8028B02C: -/* 8028B02C 00287F8C 80 18 00 04 */ lwz r0, 4(r24) -/* 8028B030 00287F90 80 B8 00 08 */ lwz r5, 8(r24) -/* 8028B034 00287F94 7C 00 28 00 */ cmpw r0, r5 -/* 8028B038 00287F98 41 80 00 1C */ blt lbl_8028B054 -/* 8028B03C 00287F9C 2C 05 00 00 */ cmpwi r5, 0 -/* 8028B040 00287FA0 7F 03 C3 78 */ mr r3, r24 -/* 8028B044 00287FA4 38 80 00 04 */ li r4, 4 -/* 8028B048 00287FA8 41 82 00 08 */ beq lbl_8028B050 -/* 8028B04C 00287FAC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8028B050: -/* 8028B050 00287FB0 4B D7 D9 0D */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8028B054: -/* 8028B054 00287FB4 80 18 00 04 */ lwz r0, 4(r24) -/* 8028B058 00287FB8 80 78 00 0C */ lwz r3, 0xc(r24) -/* 8028B05C 00287FBC 54 00 18 38 */ slwi r0, r0, 3 -/* 8028B060 00287FC0 7C 63 02 15 */ add. r3, r3, r0 -/* 8028B064 00287FC4 41 82 00 0C */ beq lbl_8028B070 -/* 8028B068 00287FC8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028B06C 00287FCC 48 0B 5E 3D */ bl __ct__6CTokenFRC6CToken -lbl_8028B070: -/* 8028B070 00287FD0 80 B8 00 04 */ lwz r5, 4(r24) -/* 8028B074 00287FD4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8028B078 00287FD8 38 80 FF FF */ li r4, -1 -/* 8028B07C 00287FDC 38 05 00 01 */ addi r0, r5, 1 -/* 8028B080 00287FE0 90 18 00 04 */ stw r0, 4(r24) -/* 8028B084 00287FE4 48 0B 5D BD */ bl __dt__6CTokenFv -lbl_8028B088: -/* 8028B088 00287FE8 93 A1 00 20 */ stw r29, 0x20(r1) -/* 8028B08C 00287FEC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028B090 00287FF0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8028B094 00287FF4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8028B098 00287FF8 93 81 00 24 */ stw r28, 0x24(r1) -/* 8028B09C 00287FFC 81 84 00 00 */ lwz r12, 0(r4) -/* 8028B0A0 00288000 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028B0A4 00288004 7D 89 03 A6 */ mtctr r12 -/* 8028B0A8 00288008 4E 80 04 21 */ bctrl -/* 8028B0AC 0028800C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028B0B0 00288010 38 81 00 18 */ addi r4, r1, 0x18 -/* 8028B0B4 00288014 48 0B 5D F5 */ bl __ct__6CTokenFRC6CToken -/* 8028B0B8 00288018 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028B0BC 0028801C 38 80 FF FF */ li r4, -1 -/* 8028B0C0 00288020 48 0B 5D 81 */ bl __dt__6CTokenFv -/* 8028B0C4 00288024 28 1E 00 00 */ cmplwi r30, 0 -/* 8028B0C8 00288028 41 82 00 0C */ beq lbl_8028B0D4 -/* 8028B0CC 0028802C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028B0D0 00288030 48 0B 5C B5 */ bl Lock__6CTokenFv -lbl_8028B0D4: -/* 8028B0D4 00288034 80 18 00 04 */ lwz r0, 4(r24) -/* 8028B0D8 00288038 80 B8 00 08 */ lwz r5, 8(r24) -/* 8028B0DC 0028803C 7C 00 28 00 */ cmpw r0, r5 -/* 8028B0E0 00288040 41 80 00 1C */ blt lbl_8028B0FC -/* 8028B0E4 00288044 2C 05 00 00 */ cmpwi r5, 0 -/* 8028B0E8 00288048 7F 03 C3 78 */ mr r3, r24 -/* 8028B0EC 0028804C 38 80 00 04 */ li r4, 4 -/* 8028B0F0 00288050 41 82 00 08 */ beq lbl_8028B0F8 -/* 8028B0F4 00288054 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8028B0F8: -/* 8028B0F8 00288058 4B D7 D8 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8028B0FC: -/* 8028B0FC 0028805C 80 18 00 04 */ lwz r0, 4(r24) -/* 8028B100 00288060 80 78 00 0C */ lwz r3, 0xc(r24) -/* 8028B104 00288064 54 00 18 38 */ slwi r0, r0, 3 -/* 8028B108 00288068 7C 63 02 15 */ add. r3, r3, r0 -/* 8028B10C 0028806C 41 82 00 0C */ beq lbl_8028B118 -/* 8028B110 00288070 38 81 00 38 */ addi r4, r1, 0x38 -/* 8028B114 00288074 48 0B 5D 95 */ bl __ct__6CTokenFRC6CToken -lbl_8028B118: -/* 8028B118 00288078 80 B8 00 04 */ lwz r5, 4(r24) -/* 8028B11C 0028807C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028B120 00288080 38 80 FF FF */ li r4, -1 -/* 8028B124 00288084 38 05 00 01 */ addi r0, r5, 1 -/* 8028B128 00288088 90 18 00 04 */ stw r0, 4(r24) -/* 8028B12C 0028808C 48 0B 5D 15 */ bl __dt__6CTokenFv -/* 8028B130 00288090 7F 63 DB 78 */ mr r3, r27 -/* 8028B134 00288094 7F 44 D3 78 */ mr r4, r26 -/* 8028B138 00288098 48 0B 14 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8028B13C 0028809C 7C 7A 1B 78 */ mr r26, r3 -lbl_8028B140: -/* 8028B140 002880A0 28 1A 00 00 */ cmplwi r26, 0 -/* 8028B144 002880A4 38 00 00 00 */ li r0, 0 -/* 8028B148 002880A8 40 82 00 0C */ bne lbl_8028B154 -/* 8028B14C 002880AC 7C 1B D8 40 */ cmplw r27, r27 -/* 8028B150 002880B0 41 82 00 08 */ beq lbl_8028B158 -lbl_8028B154: -/* 8028B154 002880B4 38 00 00 01 */ li r0, 1 -lbl_8028B158: -/* 8028B158 002880B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8028B15C 002880BC 40 82 FE 64 */ bne lbl_8028AFC0 -/* 8028B160 002880C0 BB 01 00 60 */ lmw r24, 0x60(r1) -/* 8028B164 002880C4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8028B168 002880C8 7C 08 03 A6 */ mtlr r0 -/* 8028B16C 002880CC 38 21 00 80 */ addi r1, r1, 0x80 -/* 8028B170 002880D0 4E 80 00 20 */ blr - -.global "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 8028B174 002880D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B178 002880D8 7C 08 02 A6 */ mflr r0 -/* 8028B17C 002880DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B180 002880E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B184 002880E4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B188 002880E8 7C 7E 1B 78 */ mr r30, r3 -/* 8028B18C 002880EC 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 8028B190 002880F0 48 00 00 10 */ b lbl_8028B1A0 -lbl_8028B194: -/* 8028B194 002880F4 7F E3 FB 78 */ mr r3, r31 -/* 8028B198 002880F8 48 0B 5B A9 */ bl Unlock__6CTokenFv -/* 8028B19C 002880FC 3B FF 00 08 */ addi r31, r31, 8 -lbl_8028B1A0: -/* 8028B1A0 00288100 80 1E 00 04 */ lwz r0, 4(r30) -/* 8028B1A4 00288104 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8028B1A8 00288108 54 00 18 38 */ slwi r0, r0, 3 -/* 8028B1AC 0028810C 7C 03 02 14 */ add r0, r3, r0 -/* 8028B1B0 00288110 7C 1F 00 40 */ cmplw r31, r0 -/* 8028B1B4 00288114 40 82 FF E0 */ bne lbl_8028B194 -/* 8028B1B8 00288118 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B1BC 0028811C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B1C0 00288120 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B1C4 00288124 7C 08 03 A6 */ mtlr r0 -/* 8028B1C8 00288128 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B1CC 0028812C 4E 80 00 20 */ blr - -.global "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 8028B1D0 00288130 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B1D4 00288134 7C 08 02 A6 */ mflr r0 -/* 8028B1D8 00288138 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B1DC 0028813C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B1E0 00288140 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B1E4 00288144 7C 7E 1B 78 */ mr r30, r3 -/* 8028B1E8 00288148 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 8028B1EC 0028814C 48 00 00 10 */ b lbl_8028B1FC -lbl_8028B1F0: -/* 8028B1F0 00288150 7F E3 FB 78 */ mr r3, r31 -/* 8028B1F4 00288154 48 0B 5B 91 */ bl Lock__6CTokenFv -/* 8028B1F8 00288158 3B FF 00 08 */ addi r31, r31, 8 -lbl_8028B1FC: -/* 8028B1FC 0028815C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8028B200 00288160 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8028B204 00288164 54 00 18 38 */ slwi r0, r0, 3 -/* 8028B208 00288168 7C 03 02 14 */ add r0, r3, r0 -/* 8028B20C 0028816C 7C 1F 00 40 */ cmplw r31, r0 -/* 8028B210 00288170 40 82 FF E0 */ bne lbl_8028B1F0 -/* 8028B214 00288174 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B218 00288178 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B21C 0028817C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B220 00288180 7C 08 03 A6 */ mtlr r0 -/* 8028B224 00288184 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B228 00288188 4E 80 00 20 */ blr - -.global "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 8028B22C 0028818C 80 03 00 04 */ lwz r0, 4(r3) -/* 8028B230 00288190 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 8028B234 00288194 54 00 18 38 */ slwi r0, r0, 3 -/* 8028B238 00288198 7C 85 02 14 */ add r4, r5, r0 -/* 8028B23C 0028819C 48 00 00 20 */ b lbl_8028B25C -lbl_8028B240: -/* 8028B240 002881A0 80 65 00 00 */ lwz r3, 0(r5) -/* 8028B244 002881A4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8028B248 002881A8 28 00 00 00 */ cmplwi r0, 0 -/* 8028B24C 002881AC 40 82 00 0C */ bne lbl_8028B258 -/* 8028B250 002881B0 38 60 00 00 */ li r3, 0 -/* 8028B254 002881B4 4E 80 00 20 */ blr -lbl_8028B258: -/* 8028B258 002881B8 38 A5 00 08 */ addi r5, r5, 8 -lbl_8028B25C: -/* 8028B25C 002881BC 7C 05 20 40 */ cmplw r5, r4 -/* 8028B260 002881C0 40 82 FF E0 */ bne lbl_8028B240 -/* 8028B264 002881C4 38 60 00 01 */ li r3, 1 -/* 8028B268 002881C8 4E 80 00 20 */ blr - -.global "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -"get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": -/* 8028B26C 002881CC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8028B270 002881D0 7C 08 02 A6 */ mflr r0 -/* 8028B274 002881D4 90 01 00 84 */ stw r0, 0x84(r1) -/* 8028B278 002881D8 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8028B27C 002881DC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8028B280 002881E0 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 8028B284 002881E4 89 01 00 08 */ lbz r8, 8(r1) -/* 8028B288 002881E8 3B A0 00 00 */ li r29, 0 -/* 8028B28C 002881EC 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8028B290 002881F0 7C 78 1B 78 */ mr r24, r3 -/* 8028B294 002881F4 99 01 00 10 */ stb r8, 0x10(r1) -/* 8028B298 002881F8 7C B9 2B 78 */ mr r25, r5 -/* 8028B29C 002881FC C3 E2 BE 6C */ lfs f31, lbl_805ADB8C@sda21(r2) -/* 8028B2A0 00288200 7C DA 33 78 */ mr r26, r6 -/* 8028B2A4 00288204 98 01 00 11 */ stb r0, 0x11(r1) -/* 8028B2A8 00288208 7C FB 3B 78 */ mr r27, r7 -/* 8028B2AC 0028820C 7C 9C 23 78 */ mr r28, r4 -/* 8028B2B0 00288210 3B E0 00 01 */ li r31, 1 -/* 8028B2B4 00288214 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028B2B8 00288218 3B C0 FF FF */ li r30, -1 -/* 8028B2BC 0028821C 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8028B2C0 00288220 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 8028B2C4 00288224 93 A1 00 20 */ stw r29, 0x20(r1) -/* 8028B2C8 00288228 48 00 00 40 */ b lbl_8028B308 -lbl_8028B2CC: -/* 8028B2CC 0028822C 93 81 00 24 */ stw r28, 0x24(r1) -/* 8028B2D0 00288230 7F 03 C3 78 */ mr r3, r24 -/* 8028B2D4 00288234 38 81 00 24 */ addi r4, r1, 0x24 -/* 8028B2D8 00288238 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8028B2DC 0028823C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028B2E0 00288240 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8028B2E4 00288244 9B E1 00 30 */ stb r31, 0x30(r1) -/* 8028B2E8 00288248 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8028B2EC 0028824C 93 A1 00 38 */ stw r29, 0x38(r1) -/* 8028B2F0 00288250 9B A1 00 3C */ stb r29, 0x3c(r1) -/* 8028B2F4 00288254 93 A1 00 40 */ stw r29, 0x40(r1) -/* 8028B2F8 00288258 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8028B2FC 0028825C 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8028B300 00288260 4B DA 19 79 */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" -/* 8028B304 00288264 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8028B308: -/* 8028B308 00288268 7C 1C C8 00 */ cmpw r28, r25 -/* 8028B30C 0028826C 41 80 FF C0 */ blt lbl_8028B2CC -/* 8028B310 00288270 7F 03 C3 78 */ mr r3, r24 -/* 8028B314 00288274 7F 45 D3 78 */ mr r5, r26 -/* 8028B318 00288278 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028B31C 0028827C 57 66 06 3E */ clrlwi r6, r27, 0x18 -/* 8028B320 00288280 4B FF FB 9D */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -/* 8028B324 00288284 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8028B328 00288288 28 04 00 00 */ cmplwi r4, 0 -/* 8028B32C 0028828C 41 82 00 0C */ beq lbl_8028B338 -/* 8028B330 00288290 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028B334 00288294 4B DA 5F 75 */ bl sub_800312a8 -lbl_8028B338: -/* 8028B338 00288298 38 00 00 00 */ li r0, 0 -/* 8028B33C 0028829C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028B340 002882A0 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028B344 002882A4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8028B348 002882A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B34C 002882AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8028B350 002882B0 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8028B354 002882B4 BB 01 00 50 */ lmw r24, 0x50(r1) -/* 8028B358 002882B8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8028B35C 002882BC 7C 08 03 A6 */ mtlr r0 -/* 8028B360 002882C0 38 21 00 80 */ addi r1, r1, 0x80 -/* 8028B364 002882C4 4E 80 00 20 */ blr - -.global "get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -"get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b": -/* 8028B368 002882C8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028B36C 002882CC 7C 08 02 A6 */ mflr r0 -/* 8028B370 002882D0 C0 02 BE 6C */ lfs f0, lbl_805ADB8C@sda21(r2) -/* 8028B374 002882D4 39 00 00 00 */ li r8, 0 -/* 8028B378 002882D8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028B37C 002882DC 38 E0 FF FF */ li r7, -1 -/* 8028B380 002882E0 89 41 00 08 */ lbz r10, 8(r1) -/* 8028B384 002882E4 38 00 00 01 */ li r0, 1 -/* 8028B388 002882E8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8028B38C 002882EC 7C DF 33 78 */ mr r31, r6 -/* 8028B390 002882F0 89 21 00 0C */ lbz r9, 0xc(r1) -/* 8028B394 002882F4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028B398 002882F8 7C BE 2B 78 */ mr r30, r5 -/* 8028B39C 002882FC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8028B3A0 00288300 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8028B3A4 00288304 7C 7D 1B 78 */ mr r29, r3 -/* 8028B3A8 00288308 90 81 00 24 */ stw r4, 0x24(r1) -/* 8028B3AC 0028830C 38 81 00 24 */ addi r4, r1, 0x24 -/* 8028B3B0 00288310 99 41 00 10 */ stb r10, 0x10(r1) -/* 8028B3B4 00288314 99 21 00 11 */ stb r9, 0x11(r1) -/* 8028B3B8 00288318 91 01 00 14 */ stw r8, 0x14(r1) -/* 8028B3BC 0028831C 91 01 00 18 */ stw r8, 0x18(r1) -/* 8028B3C0 00288320 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8028B3C4 00288324 91 01 00 20 */ stw r8, 0x20(r1) -/* 8028B3C8 00288328 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8028B3CC 0028832C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8028B3D0 00288330 98 01 00 30 */ stb r0, 0x30(r1) -/* 8028B3D4 00288334 91 01 00 34 */ stw r8, 0x34(r1) -/* 8028B3D8 00288338 91 01 00 38 */ stw r8, 0x38(r1) -/* 8028B3DC 0028833C 99 01 00 3C */ stb r8, 0x3c(r1) -/* 8028B3E0 00288340 91 01 00 40 */ stw r8, 0x40(r1) -/* 8028B3E4 00288344 91 01 00 44 */ stw r8, 0x44(r1) -/* 8028B3E8 00288348 91 01 00 48 */ stw r8, 0x48(r1) -/* 8028B3EC 0028834C 4B DA 18 8D */ bl "GetAnimationPrimitives__9CAnimDataCFRC18CAnimPlaybackParmsRQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>" -/* 8028B3F0 00288350 7F A3 EB 78 */ mr r3, r29 -/* 8028B3F4 00288354 7F C5 F3 78 */ mr r5, r30 -/* 8028B3F8 00288358 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028B3FC 0028835C 57 E6 06 3E */ clrlwi r6, r31, 0x18 -/* 8028B400 00288360 4B FF FA BD */ bl "primitive_set_to_token_vector__12NWeaponTypesFRC9CAnimDataRCQ24rstl72set<10CPrimitive,Q24rstl18less<10CPrimitive>,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -/* 8028B404 00288364 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8028B408 00288368 28 04 00 00 */ cmplwi r4, 0 -/* 8028B40C 0028836C 41 82 00 0C */ beq lbl_8028B418 -/* 8028B410 00288370 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028B414 00288374 4B DA 5E 95 */ bl sub_800312a8 -lbl_8028B418: -/* 8028B418 00288378 38 00 00 00 */ li r0, 0 -/* 8028B41C 0028837C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028B420 00288380 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028B424 00288384 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8028B428 00288388 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B42C 0028838C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8028B430 00288390 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8028B434 00288394 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8028B438 00288398 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028B43C 0028839C 7C 08 03 A6 */ mtlr r0 -/* 8028B440 002883A0 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028B444 002883A4 4E 80 00 20 */ blr - -.global get_asset_id_from_name__12NWeaponTypesFPCc -get_asset_id_from_name__12NWeaponTypesFPCc: -/* 8028B448 002883A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B44C 002883AC 7C 08 02 A6 */ mflr r0 -/* 8028B450 002883B0 7C 64 1B 78 */ mr r4, r3 -/* 8028B454 002883B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B458 002883B8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8028B45C 002883BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B460 002883C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B464 002883C4 7D 89 03 A6 */ mtctr r12 -/* 8028B468 002883C8 4E 80 04 21 */ bctrl -/* 8028B46C 002883CC 28 03 00 00 */ cmplwi r3, 0 -/* 8028B470 002883D0 41 82 00 0C */ beq lbl_8028B47C -/* 8028B474 002883D4 80 63 00 04 */ lwz r3, 4(r3) -/* 8028B478 002883D8 48 00 00 08 */ b lbl_8028B480 -lbl_8028B47C: -/* 8028B47C 002883DC 38 60 FF FF */ li r3, -1 -lbl_8028B480: -/* 8028B480 002883E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B484 002883E4 7C 08 03 A6 */ mtlr r0 -/* 8028B488 002883E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B48C 002883EC 4E 80 00 20 */ blr - -.global __dt__Q212COmegaPirate6CFlashFv -__dt__Q212COmegaPirate6CFlashFv: -/* 8028B490 002883F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B494 002883F4 7C 08 02 A6 */ mflr r0 -/* 8028B498 002883F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B49C 002883FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B4A0 00288400 7C 9F 23 78 */ mr r31, r4 -/* 8028B4A4 00288404 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B4A8 00288408 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B4AC 0028840C 41 82 00 48 */ beq lbl_8028B4F4 -/* 8028B4B0 00288410 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha -/* 8028B4B4 00288414 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8028B4B8 00288418 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l -/* 8028B4BC 0028841C 90 1E 00 00 */ stw r0, 0(r30) -/* 8028B4C0 00288420 41 82 00 18 */ beq lbl_8028B4D8 -/* 8028B4C4 00288424 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8028B4C8 00288428 41 82 00 10 */ beq lbl_8028B4D8 -/* 8028B4CC 0028842C 38 7E 00 E8 */ addi r3, r30, 0xe8 -/* 8028B4D0 00288430 38 80 00 00 */ li r4, 0 -/* 8028B4D4 00288434 48 0B 59 6D */ bl __dt__6CTokenFv -lbl_8028B4D8: -/* 8028B4D8 00288438 7F C3 F3 78 */ mr r3, r30 -/* 8028B4DC 0028843C 38 80 00 00 */ li r4, 0 -/* 8028B4E0 00288440 4B DC A2 11 */ bl __dt__6CActorFv -/* 8028B4E4 00288444 7F E0 07 35 */ extsh. r0, r31 -/* 8028B4E8 00288448 40 81 00 0C */ ble lbl_8028B4F4 -/* 8028B4EC 0028844C 7F C3 F3 78 */ mr r3, r30 -/* 8028B4F0 00288450 48 08 A4 41 */ bl Free__7CMemoryFPCv -lbl_8028B4F4: -/* 8028B4F4 00288454 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B4F8 00288458 7F C3 F3 78 */ mr r3, r30 -/* 8028B4FC 0028845C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B500 00288460 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B504 00288464 7C 08 03 A6 */ mtlr r0 -/* 8028B508 00288468 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B50C 0028846C 4E 80 00 20 */ blr - -.global sub_8028b510 -sub_8028b510: -/* 8028B510 00288470 38 60 00 00 */ li r3, 0 -/* 8028B514 00288474 4E 80 00 20 */ blr - -.global sub_8028b518 -sub_8028b518: -/* 8028B518 00288478 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8028B51C 0028847C 7C 08 02 A6 */ mflr r0 -/* 8028B520 00288480 90 01 00 54 */ stw r0, 0x54(r1) -/* 8028B524 00288484 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8028B528 00288488 7C 7E 1B 78 */ mr r30, r3 -/* 8028B52C 0028848C 7C 9F 23 78 */ mr r31, r4 -/* 8028B530 00288490 4B DC 9D 15 */ bl RemoveEmitter__6CActorFv -/* 8028B534 00288494 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8028B538 00288498 38 9E 0A 4C */ addi r4, r30, 0xa4c -/* 8028B53C 0028849C 48 08 76 05 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8028B540 002884A0 88 7E 00 E4 */ lbz r3, 0xe4(r30) -/* 8028B544 002884A4 39 00 00 01 */ li r8, 1 -/* 8028B548 002884A8 51 03 26 F6 */ rlwimi r3, r8, 4, 0x1b, 0x1b -/* 8028B54C 002884AC 38 00 00 00 */ li r0, 0 -/* 8028B550 002884B0 98 7E 00 E4 */ stb r3, 0xe4(r30) -/* 8028B554 002884B4 7F C3 F3 78 */ mr r3, r30 -/* 8028B558 002884B8 7F E5 FB 78 */ mr r5, r31 -/* 8028B55C 002884BC 38 80 00 14 */ li r4, 0x14 -/* 8028B560 002884C0 88 FE 00 E4 */ lbz r7, 0xe4(r30) -/* 8028B564 002884C4 51 07 1F 38 */ rlwimi r7, r8, 3, 0x1c, 0x1c -/* 8028B568 002884C8 38 C0 FF FF */ li r6, -1 -/* 8028B56C 002884CC 98 FE 00 E4 */ stb r7, 0xe4(r30) -/* 8028B570 002884D0 88 FE 00 E4 */ lbz r7, 0xe4(r30) -/* 8028B574 002884D4 51 07 17 7A */ rlwimi r7, r8, 2, 0x1d, 0x1d -/* 8028B578 002884D8 98 FE 00 E4 */ stb r7, 0xe4(r30) -/* 8028B57C 002884DC 99 1E 09 A1 */ stb r8, 0x9a1(r30) -/* 8028B580 002884E0 98 1E 0A 4A */ stb r0, 0xa4a(r30) -/* 8028B584 002884E4 4B DC 5B 3D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028B588 002884E8 7F C3 F3 78 */ mr r3, r30 -/* 8028B58C 002884EC 7F E5 FB 78 */ mr r5, r31 -/* 8028B590 002884F0 38 80 00 0E */ li r4, 0xe -/* 8028B594 002884F4 38 C0 FF FF */ li r6, -1 -/* 8028B598 002884F8 4B DC 5B 29 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028B59C 002884FC 7F C3 F3 78 */ mr r3, r30 -/* 8028B5A0 00288500 7F E5 FB 78 */ mr r5, r31 -/* 8028B5A4 00288504 38 80 00 06 */ li r4, 6 -/* 8028B5A8 00288508 38 C0 FF FF */ li r6, -1 -/* 8028B5AC 0028850C 4B DC 5B 15 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028B5B0 00288510 83 9E 09 E0 */ lwz r28, 0x9e0(r30) -/* 8028B5B4 00288514 3B 60 00 00 */ li r27, 0 -/* 8028B5B8 00288518 3B A0 00 00 */ li r29, 0 -/* 8028B5BC 0028851C 48 00 00 7C */ b lbl_8028B638 -lbl_8028B5C0: -/* 8028B5C0 00288520 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8028B5C4 00288524 7F E3 FB 78 */ mr r3, r31 -/* 8028B5C8 00288528 38 81 00 1C */ addi r4, r1, 0x1c -/* 8028B5CC 0028852C 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028B5D0 00288530 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8028B5D4 00288534 4B DC 0F A1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028B5D8 00288538 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8028B5DC 0028853C 41 82 00 54 */ beq lbl_8028B630 -/* 8028B5E0 00288540 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B5E4 00288544 38 80 00 00 */ li r4, 0 -/* 8028B5E8 00288548 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B5EC 0028854C 7D 89 03 A6 */ mtctr r12 -/* 8028B5F0 00288550 4E 80 04 21 */ bctrl -/* 8028B5F4 00288554 7F 43 D3 78 */ mr r3, r26 -/* 8028B5F8 00288558 7F E6 FB 78 */ mr r6, r31 -/* 8028B5FC 0028855C 38 80 00 29 */ li r4, 0x29 -/* 8028B600 00288560 38 A0 00 28 */ li r5, 0x28 -/* 8028B604 00288564 4B DC 88 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8028B608 00288568 88 1A 00 E7 */ lbz r0, 0xe7(r26) -/* 8028B60C 0028856C 38 60 00 00 */ li r3, 0 -/* 8028B610 00288570 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8028B614 00288574 7F E3 FB 78 */ mr r3, r31 -/* 8028B618 00288578 98 1A 00 E7 */ stb r0, 0xe7(r26) -/* 8028B61C 0028857C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8028B620 00288580 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8028B624 00288584 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028B628 00288588 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8028B62C 0028858C 4B DC 0C 41 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8028B630: -/* 8028B630 00288590 3B 7B 00 01 */ addi r27, r27, 1 -/* 8028B634 00288594 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_8028B638: -/* 8028B638 00288598 7C 1B E0 40 */ cmplw r27, r28 -/* 8028B63C 0028859C 41 80 FF 84 */ blt lbl_8028B5C0 -/* 8028B640 002885A0 80 1E 09 E0 */ lwz r0, 0x9e0(r30) -/* 8028B644 002885A4 83 9E 09 E8 */ lwz r28, 0x9e8(r30) -/* 8028B648 002885A8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8028B64C 002885AC 93 81 00 24 */ stw r28, 0x24(r1) -/* 8028B650 002885B0 7F BC 02 14 */ add r29, r28, r0 -/* 8028B654 002885B4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8028B658 002885B8 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 8028B65C 002885BC 93 A1 00 28 */ stw r29, 0x28(r1) -/* 8028B660 002885C0 48 00 00 20 */ b lbl_8028B680 -lbl_8028B664: -/* 8028B664 002885C4 28 1C 00 00 */ cmplwi r28, 0 -/* 8028B668 002885C8 41 82 00 14 */ beq lbl_8028B67C -/* 8028B66C 002885CC 34 1C 00 04 */ addic. r0, r28, 4 -/* 8028B670 002885D0 41 82 00 0C */ beq lbl_8028B67C -/* 8028B674 002885D4 38 7C 00 04 */ addi r3, r28, 4 -/* 8028B678 002885D8 48 0B 24 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028B67C: -/* 8028B67C 002885DC 3B 9C 00 14 */ addi r28, r28, 0x14 -lbl_8028B680: -/* 8028B680 002885E0 7C 1C E8 40 */ cmplw r28, r29 -/* 8028B684 002885E4 40 82 FF E0 */ bne lbl_8028B664 -/* 8028B688 002885E8 38 00 00 00 */ li r0, 0 -/* 8028B68C 002885EC 7F E3 FB 78 */ mr r3, r31 -/* 8028B690 002885F0 90 1E 09 E0 */ stw r0, 0x9e0(r30) -/* 8028B694 002885F4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028B698 002885F8 A0 1E 07 72 */ lhz r0, 0x772(r30) -/* 8028B69C 002885FC B0 01 00 10 */ sth r0, 0x10(r1) -/* 8028B6A0 00288600 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028B6A4 00288604 4B DC 0E D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028B6A8 00288608 A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 8028B6AC 0028860C 7C 7A 1B 78 */ mr r26, r3 -/* 8028B6B0 00288610 7F E3 FB 78 */ mr r3, r31 -/* 8028B6B4 00288614 38 81 00 0C */ addi r4, r1, 0xc -/* 8028B6B8 00288618 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028B6BC 0028861C 4B DC 0E B9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028B6C0 00288620 28 1A 00 00 */ cmplwi r26, 0 -/* 8028B6C4 00288624 7C 7B 1B 78 */ mr r27, r3 -/* 8028B6C8 00288628 41 82 00 1C */ beq lbl_8028B6E4 -/* 8028B6CC 0028862C 7F 43 D3 78 */ mr r3, r26 -/* 8028B6D0 00288630 38 80 00 00 */ li r4, 0 -/* 8028B6D4 00288634 81 9A 00 00 */ lwz r12, 0(r26) -/* 8028B6D8 00288638 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B6DC 0028863C 7D 89 03 A6 */ mtctr r12 -/* 8028B6E0 00288640 4E 80 04 21 */ bctrl -lbl_8028B6E4: -/* 8028B6E4 00288644 28 1B 00 00 */ cmplwi r27, 0 -/* 8028B6E8 00288648 41 82 00 1C */ beq lbl_8028B704 -/* 8028B6EC 0028864C 7F 63 DB 78 */ mr r3, r27 -/* 8028B6F0 00288650 38 80 00 00 */ li r4, 0 -/* 8028B6F4 00288654 81 9B 00 00 */ lwz r12, 0(r27) -/* 8028B6F8 00288658 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B6FC 0028865C 7D 89 03 A6 */ mtctr r12 -/* 8028B700 00288660 4E 80 04 21 */ bctrl -lbl_8028B704: -/* 8028B704 00288664 7F C3 F3 78 */ mr r3, r30 -/* 8028B708 00288668 38 80 00 00 */ li r4, 0 -/* 8028B70C 0028866C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028B710 00288670 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B714 00288674 7D 89 03 A6 */ mtctr r12 -/* 8028B718 00288678 4E 80 04 21 */ bctrl -/* 8028B71C 0028867C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8028B720 00288680 7F E3 FB 78 */ mr r3, r31 -/* 8028B724 00288684 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028B728 00288688 38 81 00 08 */ addi r4, r1, 8 -/* 8028B72C 0028868C B0 01 00 08 */ sth r0, 8(r1) -/* 8028B730 00288690 38 A0 00 59 */ li r5, 0x59 -/* 8028B734 00288694 4B DB 88 11 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 8028B738 00288698 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028B73C 0028869C 7F E4 FB 78 */ mr r4, r31 -/* 8028B740 002886A0 38 A0 00 00 */ li r5, 0 -/* 8028B744 002886A4 4B F1 BB B5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028B748 002886A8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028B74C 002886AC 7F E4 FB 78 */ mr r4, r31 -/* 8028B750 002886B0 38 A0 00 00 */ li r5, 0 -/* 8028B754 002886B4 4B F1 BB A5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028B758 002886B8 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8028B75C 002886BC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8028B760 002886C0 7C 08 03 A6 */ mtlr r0 -/* 8028B764 002886C4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8028B768 002886C8 4E 80 00 20 */ blr - -.global Accept__Q212COmegaPirate6CFlashFR8IVisitor -Accept__Q212COmegaPirate6CFlashFR8IVisitor: -/* 8028B76C 002886CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B770 002886D0 7C 08 02 A6 */ mflr r0 -/* 8028B774 002886D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B778 002886D8 7C 60 1B 78 */ mr r0, r3 -/* 8028B77C 002886DC 7C 83 23 78 */ mr r3, r4 -/* 8028B780 002886E0 81 84 00 00 */ lwz r12, 0(r4) -/* 8028B784 002886E4 7C 04 03 78 */ mr r4, r0 -/* 8028B788 002886E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B78C 002886EC 7D 89 03 A6 */ mtctr r12 -/* 8028B790 002886F0 4E 80 04 21 */ bctrl -/* 8028B794 002886F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B798 002886F8 7C 08 03 A6 */ mtlr r0 -/* 8028B79C 002886FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B7A0 00288700 4E 80 00 20 */ blr - -.global Think__Q212COmegaPirate6CFlashFfR13CStateManager -Think__Q212COmegaPirate6CFlashFfR13CStateManager: -/* 8028B7A4 00288704 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8028B7A8 00288708 7C 08 02 A6 */ mflr r0 -/* 8028B7AC 0028870C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8028B7B0 00288710 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8028B7B4 00288714 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8028B7B8 00288718 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8028B7BC 0028871C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8028B7C0 00288720 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8028B7C4 00288724 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8028B7C8 00288728 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 8028B7CC 0028872C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 8028B7D0 00288730 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028B7D4 00288734 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028B7D8 00288738 FF 80 08 90 */ fmr f28, f1 -/* 8028B7DC 0028873C 7C 7E 1B 78 */ mr r30, r3 -/* 8028B7E0 00288740 7C 9F 23 78 */ mr r31, r4 -/* 8028B7E4 00288744 4B DC 58 D5 */ bl Think__7CEntityFfR13CStateManager -/* 8028B7E8 00288748 C0 3E 00 F4 */ lfs f1, 0xf4(r30) -/* 8028B7EC 0028874C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028B7F0 00288750 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8028B7F4 00288754 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 8028B7F8 00288758 C0 3E 00 F4 */ lfs f1, 0xf4(r30) -/* 8028B7FC 0028875C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028B800 00288760 41 81 00 EC */ bgt lbl_8028B8EC -/* 8028B804 00288764 C0 3E 00 F8 */ lfs f1, 0xf8(r30) -/* 8028B808 00288768 C0 02 BE A4 */ lfs f0, lbl_805ADBC4@sda21(r2) -/* 8028B80C 0028876C EC 21 E0 2A */ fadds f1, f1, f28 -/* 8028B810 00288770 D0 3E 00 F8 */ stfs f1, 0xf8(r30) -/* 8028B814 00288774 C3 FE 00 F8 */ lfs f31, 0xf8(r30) -/* 8028B818 00288778 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8028B81C 0028877C 40 81 00 1C */ ble lbl_8028B838 -/* 8028B820 00288780 EC 3F 00 28 */ fsubs f1, f31, f0 -/* 8028B824 00288784 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028B828 00288788 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 8028B82C 0028878C EC 01 00 24 */ fdivs f0, f1, f0 -/* 8028B830 00288790 EF E2 00 28 */ fsubs f31, f2, f0 -/* 8028B834 00288794 48 00 00 08 */ b lbl_8028B83C -lbl_8028B838: -/* 8028B838 00288798 EF FF 00 24 */ fdivs f31, f31, f0 -lbl_8028B83C: -/* 8028B83C 0028879C 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 8028B840 002887A0 7F E4 FB 78 */ mr r4, r31 -/* 8028B844 002887A4 4B D8 02 D5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8028B848 002887A8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8028B84C 002887AC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8028B850 002887B0 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 8028B854 002887B4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8028B858 002887B8 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8028B85C 002887BC EC 81 00 28 */ fsubs f4, f1, f0 -/* 8028B860 002887C0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8028B864 002887C4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8028B868 002887C8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8028B86C 002887CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8028B870 002887D0 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8028B874 002887D4 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028B878 002887D8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028B87C 002887DC C3 83 00 58 */ lfs f28, 0x58(r3) -/* 8028B880 002887E0 C3 A3 00 48 */ lfs f29, 0x48(r3) -/* 8028B884 002887E4 C3 C3 00 38 */ lfs f30, 0x38(r3) -/* 8028B888 002887E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028B88C 002887EC 48 08 8F C5 */ bl AsNormalized__9CVector3fCFv -/* 8028B890 002887F0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8028B894 002887F4 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8028B898 002887F8 EC 20 07 72 */ fmuls f1, f0, f29 -/* 8028B89C 002887FC C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8028B8A0 00288800 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028B8A4 00288804 EC 22 0F BA */ fmadds f1, f2, f30, f1 -/* 8028B8A8 00288808 EC 23 0F 3A */ fmadds f1, f3, f28, f1 -/* 8028B8AC 0028880C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028B8B0 00288810 40 80 00 08 */ bge lbl_8028B8B8 -/* 8028B8B4 00288814 48 00 00 08 */ b lbl_8028B8BC -lbl_8028B8B8: -/* 8028B8B8 00288818 EC 01 00 72 */ fmuls f0, f1, f1 -lbl_8028B8BC: -/* 8028B8BC 0028881C EC 20 07 F2 */ fmuls f1, f0, f31 -/* 8028B8C0 00288820 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028B8C4 00288824 D0 3E 00 FC */ stfs f1, 0xfc(r30) -/* 8028B8C8 00288828 C0 3E 00 F8 */ lfs f1, 0xf8(r30) -/* 8028B8CC 0028882C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028B8D0 00288830 40 81 00 1C */ ble lbl_8028B8EC -/* 8028B8D4 00288834 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8028B8D8 00288838 7F E3 FB 78 */ mr r3, r31 -/* 8028B8DC 0028883C 38 81 00 0C */ addi r4, r1, 0xc -/* 8028B8E0 00288840 B0 01 00 08 */ sth r0, 8(r1) -/* 8028B8E4 00288844 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028B8E8 00288848 4B DC 09 85 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8028B8EC: -/* 8028B8EC 0028884C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8028B8F0 00288850 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8028B8F4 00288854 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8028B8F8 00288858 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8028B8FC 0028885C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8028B900 00288860 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8028B904 00288864 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 8028B908 00288868 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 8028B90C 0028886C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028B910 00288870 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8028B914 00288874 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8028B918 00288878 7C 08 03 A6 */ mtlr r0 -/* 8028B91C 0028887C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8028B920 00288880 4E 80 00 20 */ blr - -.global PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes -PreRender__Q212COmegaPirate6CFlashFR13CStateManagerRC14CFrustumPlanes: -/* 8028B924 00288884 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028B928 00288888 7C 08 02 A6 */ mflr r0 -/* 8028B92C 0028888C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028B930 00288890 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028B934 00288894 7C 7F 1B 78 */ mr r31, r3 -/* 8028B938 00288898 A0 03 00 08 */ lhz r0, 8(r3) -/* 8028B93C 0028889C 7C 83 23 78 */ mr r3, r4 -/* 8028B940 002888A0 38 81 00 08 */ addi r4, r1, 8 -/* 8028B944 002888A4 B0 01 00 08 */ sth r0, 8(r1) -/* 8028B948 002888A8 4B DB 8F 91 */ bl RenderLast__13CStateManagerFRC9TUniqueId -/* 8028B94C 002888AC 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8028B950 002888B0 28 00 00 00 */ cmplwi r0, 0 -/* 8028B954 002888B4 40 82 00 30 */ bne lbl_8028B984 -/* 8028B958 002888B8 88 1F 00 EC */ lbz r0, 0xec(r31) -/* 8028B95C 002888BC 28 00 00 00 */ cmplwi r0, 0 -/* 8028B960 002888C0 41 82 00 24 */ beq lbl_8028B984 -/* 8028B964 002888C4 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 8028B968 002888C8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8028B96C 002888CC 28 00 00 00 */ cmplwi r0, 0 -/* 8028B970 002888D0 41 82 00 14 */ beq lbl_8028B984 -/* 8028B974 002888D4 38 7F 00 E8 */ addi r3, r31, 0xe8 -/* 8028B978 002888D8 48 0B 54 95 */ bl GetObj__6CTokenFv -/* 8028B97C 002888DC 80 03 00 04 */ lwz r0, 4(r3) -/* 8028B980 002888E0 90 1F 00 F0 */ stw r0, 0xf0(r31) -lbl_8028B984: -/* 8028B984 002888E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028B988 002888E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028B98C 002888EC 7C 08 03 A6 */ mtlr r0 -/* 8028B990 002888F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028B994 002888F4 4E 80 00 20 */ blr - -.global Render__Q212COmegaPirate6CFlashCFRC13CStateManager -Render__Q212COmegaPirate6CFlashCFRC13CStateManager: -/* 8028B998 002888F8 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8028B99C 002888FC 7C 08 02 A6 */ mflr r0 -/* 8028B9A0 00288900 90 01 01 44 */ stw r0, 0x144(r1) -/* 8028B9A4 00288904 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8028B9A8 00288908 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8028B9AC 0028890C DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8028B9B0 00288910 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8028B9B4 00288914 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8028B9B8 00288918 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8028B9BC 0028891C DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8028B9C0 00288920 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8028B9C4 00288924 DB 61 00 F0 */ stfd f27, 0xf0(r1) -/* 8028B9C8 00288928 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 -/* 8028B9CC 0028892C DB 41 00 E0 */ stfd f26, 0xe0(r1) -/* 8028B9D0 00288930 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 -/* 8028B9D4 00288934 DB 21 00 D0 */ stfd f25, 0xd0(r1) -/* 8028B9D8 00288938 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 -/* 8028B9DC 0028893C DB 01 00 C0 */ stfd f24, 0xc0(r1) -/* 8028B9E0 00288940 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 -/* 8028B9E4 00288944 DA E1 00 B0 */ stfd f23, 0xb0(r1) -/* 8028B9E8 00288948 F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 -/* 8028B9EC 0028894C DA C1 00 A0 */ stfd f22, 0xa0(r1) -/* 8028B9F0 00288950 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 -/* 8028B9F4 00288954 DA A1 00 90 */ stfd f21, 0x90(r1) -/* 8028B9F8 00288958 F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 -/* 8028B9FC 0028895C DA 81 00 80 */ stfd f20, 0x80(r1) -/* 8028BA00 00288960 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 -/* 8028BA04 00288964 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8028BA08 00288968 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8028BA0C 0028896C 7C 9F 23 78 */ mr r31, r4 -/* 8028BA10 00288970 7C 7E 1B 78 */ mr r30, r3 -/* 8028BA14 00288974 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 8028BA18 00288978 80 63 00 00 */ lwz r3, 0(r3) -/* 8028BA1C 0028897C 4B E0 5B 3D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028BA20 00288980 2C 03 00 03 */ cmpwi r3, 3 -/* 8028BA24 00288984 41 82 02 64 */ beq lbl_8028BC88 -/* 8028BA28 00288988 80 7E 00 F0 */ lwz r3, 0xf0(r30) -/* 8028BA2C 0028898C 38 A0 00 00 */ li r5, 0 -/* 8028BA30 00288990 28 03 00 00 */ cmplwi r3, 0 -/* 8028BA34 00288994 40 82 00 14 */ bne lbl_8028BA48 -/* 8028BA38 00288998 80 9E 00 E8 */ lwz r4, 0xe8(r30) -/* 8028BA3C 0028899C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8028BA40 002889A0 28 00 00 00 */ cmplwi r0, 0 -/* 8028BA44 002889A4 41 82 00 08 */ beq lbl_8028BA4C -lbl_8028BA48: -/* 8028BA48 002889A8 38 A0 00 01 */ li r5, 1 -lbl_8028BA4C: -/* 8028BA4C 002889AC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8028BA50 002889B0 41 82 02 38 */ beq lbl_8028BC88 -/* 8028BA54 002889B4 28 03 00 00 */ cmplwi r3, 0 -/* 8028BA58 002889B8 41 82 02 30 */ beq lbl_8028BC88 -/* 8028BA5C 002889BC 38 80 00 00 */ li r4, 0 -/* 8028BA60 002889C0 38 A0 00 01 */ li r5, 1 -/* 8028BA64 002889C4 48 08 3C D9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8028BA68 002889C8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028BA6C 002889CC 7F E4 FB 78 */ mr r4, r31 -/* 8028BA70 002889D0 C2 82 BE AC */ lfs f20, lbl_805ADBCC@sda21(r2) -/* 8028BA74 002889D4 80 63 00 00 */ lwz r3, 0(r3) -/* 8028BA78 002889D8 4B E0 5A E1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028BA7C 002889DC 2C 03 00 01 */ cmpwi r3, 1 -/* 8028BA80 002889E0 40 82 00 20 */ bne lbl_8028BAA0 -/* 8028BA84 002889E4 38 60 00 03 */ li r3, 3 -/* 8028BA88 002889E8 38 80 00 01 */ li r4, 1 -/* 8028BA8C 002889EC 38 A0 00 00 */ li r5, 0 -/* 8028BA90 002889F0 38 C0 00 00 */ li r6, 0 -/* 8028BA94 002889F4 48 07 CE 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8028BA98 002889F8 C2 82 BE B0 */ lfs f20, lbl_805ADBD0@sda21(r2) -/* 8028BA9C 002889FC 48 00 00 18 */ b lbl_8028BAB4 -lbl_8028BAA0: -/* 8028BAA0 00288A00 38 60 00 01 */ li r3, 1 -/* 8028BAA4 00288A04 38 80 00 04 */ li r4, 4 -/* 8028BAA8 00288A08 38 A0 00 01 */ li r5, 1 -/* 8028BAAC 00288A0C 38 C0 00 00 */ li r6, 0 -/* 8028BAB0 00288A10 48 07 FF A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -lbl_8028BAB4: -/* 8028BAB4 00288A14 C0 1E 00 FC */ lfs f0, 0xfc(r30) -/* 8028BAB8 00288A18 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8028BABC 00288A1C 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 8028BAC0 00288A20 C2 FE 00 60 */ lfs f23, 0x60(r30) -/* 8028BAC4 00288A24 EC 94 00 32 */ fmuls f4, f20, f0 -/* 8028BAC8 00288A28 C0 24 00 00 */ lfs f1, 0(r4) -/* 8028BACC 00288A2C C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8028BAD0 00288A30 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8028BAD4 00288A34 C0 64 00 20 */ lfs f3, 0x20(r4) -/* 8028BAD8 00288A38 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 8028BADC 00288A3C C0 44 00 08 */ lfs f2, 8(r4) -/* 8028BAE0 00288A40 EF A4 00 72 */ fmuls f29, f4, f1 -/* 8028BAE4 00288A44 C0 24 00 18 */ lfs f1, 0x18(r4) -/* 8028BAE8 00288A48 EF C4 00 32 */ fmuls f30, f4, f0 -/* 8028BAEC 00288A4C C0 04 00 28 */ lfs f0, 0x28(r4) -/* 8028BAF0 00288A50 EF E4 00 F2 */ fmuls f31, f4, f3 -/* 8028BAF4 00288A54 EF 44 00 B2 */ fmuls f26, f4, f2 -/* 8028BAF8 00288A58 EF 64 00 72 */ fmuls f27, f4, f1 -/* 8028BAFC 00288A5C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8028BB00 00288A60 EF 84 00 32 */ fmuls f28, f4, f0 -/* 8028BB04 00288A64 C3 1E 00 50 */ lfs f24, 0x50(r30) -/* 8028BB08 00288A68 C3 3E 00 40 */ lfs f25, 0x40(r30) -/* 8028BB0C 00288A6C 48 08 0A D5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8028BB10 00288A70 48 0B E4 9D */ bl White__6CColorFv -/* 8028BB14 00288A74 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 8028BB18 00288A78 83 E3 00 00 */ lwz r31, 0(r3) -/* 8028BB1C 00288A7C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 8028BB20 00288A80 38 60 00 00 */ li r3, 0 -/* 8028BB24 00288A84 48 07 E7 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8028BB28 00288A88 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8028BB2C 00288A8C 38 60 00 01 */ li r3, 1 -/* 8028BB30 00288A90 48 07 E7 89 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8028BB34 00288A94 38 60 00 00 */ li r3, 0 -/* 8028BB38 00288A98 38 80 00 07 */ li r4, 7 -/* 8028BB3C 00288A9C 38 A0 00 00 */ li r5, 0 -/* 8028BB40 00288AA0 48 07 FF 55 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8028BB44 00288AA4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8028BB48 00288AA8 C0 0D 99 BC */ lfs f0, lbl_805A857C@sda21(r13) -/* 8028BB4C 00288AAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028BB50 00288AB0 40 80 00 0C */ bge lbl_8028BB5C -/* 8028BB54 00288AB4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028BB58 00288AB8 48 00 00 08 */ b lbl_8028BB60 -lbl_8028BB5C: -/* 8028BB5C 00288ABC 38 6D 99 BC */ addi r3, r13, lbl_805A857C@sda21 -lbl_8028BB60: -/* 8028BB60 00288AC0 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) -/* 8028BB64 00288AC4 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028BB68 00288AC8 EE C1 00 32 */ fmuls f22, f1, f0 -/* 8028BB6C 00288ACC F2 C1 A0 08 */ psq_st f22, 8(r1), 1, qr2 -/* 8028BB70 00288AD0 38 61 00 0C */ addi r3, r1, 0xc -/* 8028BB74 00288AD4 88 01 00 08 */ lbz r0, 8(r1) -/* 8028BB78 00288AD8 53 E0 00 2E */ rlwimi r0, r31, 0, 0, 0x17 -/* 8028BB7C 00288ADC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028BB80 00288AE0 48 07 F9 C9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 8028BB84 00288AE4 38 60 00 A0 */ li r3, 0xa0 -/* 8028BB88 00288AE8 48 07 FA E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8028BB8C 00288AEC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028BB90 00288AF0 FC 40 08 90 */ fmr f2, f1 -/* 8028BB94 00288AF4 48 07 F8 D1 */ bl StreamTexcoord__9CGraphicsFff -/* 8028BB98 00288AF8 EE D9 E8 28 */ fsubs f22, f25, f29 -/* 8028BB9C 00288AFC 38 61 00 68 */ addi r3, r1, 0x68 -/* 8028BBA0 00288B00 EE B8 F0 28 */ fsubs f21, f24, f30 -/* 8028BBA4 00288B04 EE 97 F8 28 */ fsubs f20, f23, f31 -/* 8028BBA8 00288B08 EC 16 D0 2A */ fadds f0, f22, f26 -/* 8028BBAC 00288B0C D2 C1 00 5C */ stfs f22, 0x5c(r1) -/* 8028BBB0 00288B10 EC 55 D8 2A */ fadds f2, f21, f27 -/* 8028BBB4 00288B14 EC 34 E0 2A */ fadds f1, f20, f28 -/* 8028BBB8 00288B18 D2 A1 00 60 */ stfs f21, 0x60(r1) -/* 8028BBBC 00288B1C D2 81 00 64 */ stfs f20, 0x64(r1) -/* 8028BBC0 00288B20 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8028BBC4 00288B24 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8028BBC8 00288B28 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8028BBCC 00288B2C 48 07 F9 F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8028BBD0 00288B30 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028BBD4 00288B34 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) -/* 8028BBD8 00288B38 48 07 F8 8D */ bl StreamTexcoord__9CGraphicsFff -/* 8028BBDC 00288B3C EC 55 D8 28 */ fsubs f2, f21, f27 -/* 8028BBE0 00288B40 D2 C1 00 44 */ stfs f22, 0x44(r1) -/* 8028BBE4 00288B44 EC 34 E0 28 */ fsubs f1, f20, f28 -/* 8028BBE8 00288B48 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028BBEC 00288B4C EC 16 D0 28 */ fsubs f0, f22, f26 -/* 8028BBF0 00288B50 D2 A1 00 48 */ stfs f21, 0x48(r1) -/* 8028BBF4 00288B54 D2 81 00 4C */ stfs f20, 0x4c(r1) -/* 8028BBF8 00288B58 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8028BBFC 00288B5C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8028BC00 00288B60 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8028BC04 00288B64 48 07 F9 BD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8028BC08 00288B68 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028BC0C 00288B6C FC 40 08 90 */ fmr f2, f1 -/* 8028BC10 00288B70 48 07 F8 55 */ bl StreamTexcoord__9CGraphicsFff -/* 8028BC14 00288B74 EE 99 E8 2A */ fadds f20, f25, f29 -/* 8028BC18 00288B78 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028BC1C 00288B7C EE B8 F0 2A */ fadds f21, f24, f30 -/* 8028BC20 00288B80 EE D7 F8 2A */ fadds f22, f23, f31 -/* 8028BC24 00288B84 EC 14 D0 28 */ fsubs f0, f20, f26 -/* 8028BC28 00288B88 D2 81 00 2C */ stfs f20, 0x2c(r1) -/* 8028BC2C 00288B8C EC 55 D8 28 */ fsubs f2, f21, f27 -/* 8028BC30 00288B90 EC 36 E0 28 */ fsubs f1, f22, f28 -/* 8028BC34 00288B94 D2 A1 00 30 */ stfs f21, 0x30(r1) -/* 8028BC38 00288B98 D2 C1 00 34 */ stfs f22, 0x34(r1) -/* 8028BC3C 00288B9C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8028BC40 00288BA0 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8028BC44 00288BA4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8028BC48 00288BA8 48 07 F9 79 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8028BC4C 00288BAC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028BC50 00288BB0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 8028BC54 00288BB4 48 07 F8 11 */ bl StreamTexcoord__9CGraphicsFff -/* 8028BC58 00288BB8 EC 55 D8 2A */ fadds f2, f21, f27 -/* 8028BC5C 00288BBC D2 81 00 14 */ stfs f20, 0x14(r1) -/* 8028BC60 00288BC0 EC 36 E0 2A */ fadds f1, f22, f28 -/* 8028BC64 00288BC4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028BC68 00288BC8 EC 14 D0 2A */ fadds f0, f20, f26 -/* 8028BC6C 00288BCC D2 A1 00 18 */ stfs f21, 0x18(r1) -/* 8028BC70 00288BD0 D2 C1 00 1C */ stfs f22, 0x1c(r1) -/* 8028BC74 00288BD4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8028BC78 00288BD8 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028BC7C 00288BDC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8028BC80 00288BE0 48 07 F9 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8028BC84 00288BE4 48 07 F7 8D */ bl StreamEnd__9CGraphicsFv -lbl_8028BC88: -/* 8028BC88 00288BE8 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8028BC8C 00288BEC CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8028BC90 00288BF0 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8028BC94 00288BF4 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8028BC98 00288BF8 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8028BC9C 00288BFC CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8028BCA0 00288C00 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8028BCA4 00288C04 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8028BCA8 00288C08 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 -/* 8028BCAC 00288C0C CB 61 00 F0 */ lfd f27, 0xf0(r1) -/* 8028BCB0 00288C10 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 -/* 8028BCB4 00288C14 CB 41 00 E0 */ lfd f26, 0xe0(r1) -/* 8028BCB8 00288C18 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 -/* 8028BCBC 00288C1C CB 21 00 D0 */ lfd f25, 0xd0(r1) -/* 8028BCC0 00288C20 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 -/* 8028BCC4 00288C24 CB 01 00 C0 */ lfd f24, 0xc0(r1) -/* 8028BCC8 00288C28 E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 -/* 8028BCCC 00288C2C CA E1 00 B0 */ lfd f23, 0xb0(r1) -/* 8028BCD0 00288C30 E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 -/* 8028BCD4 00288C34 CA C1 00 A0 */ lfd f22, 0xa0(r1) -/* 8028BCD8 00288C38 E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 -/* 8028BCDC 00288C3C CA A1 00 90 */ lfd f21, 0x90(r1) -/* 8028BCE0 00288C40 E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 -/* 8028BCE4 00288C44 CA 81 00 80 */ lfd f20, 0x80(r1) -/* 8028BCE8 00288C48 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8028BCEC 00288C4C 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8028BCF0 00288C50 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8028BCF4 00288C54 7C 08 03 A6 */ mtlr r0 -/* 8028BCF8 00288C58 38 21 01 40 */ addi r1, r1, 0x140 -/* 8028BCFC 00288C5C 4E 80 00 20 */ blr - -.global AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__Q212COmegaPirate6CFlashCFRC14CFrustumPlanesRC13CStateManager: -/* 8028BD00 00288C60 4E 80 00 20 */ blr - -.global "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" -"__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>": -/* 8028BD04 00288C64 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8028BD08 00288C68 7C 08 02 A6 */ mflr r0 -/* 8028BD0C 00288C6C 90 01 01 44 */ stw r0, 0x144(r1) -/* 8028BD10 00288C70 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8028BD14 00288C74 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8028BD18 00288C78 BF 61 01 1C */ stmw r27, 0x11c(r1) -/* 8028BD1C 00288C7C 3D 00 80 3D */ lis r8, lbl_803D5A74@ha -/* 8028BD20 00288C80 FF E0 08 90 */ fmr f31, f1 -/* 8028BD24 00288C84 39 08 5A 74 */ addi r8, r8, lbl_803D5A74@l -/* 8028BD28 00288C88 7C 7B 1B 78 */ mr r27, r3 -/* 8028BD2C 00288C8C 7C 9C 23 78 */ mr r28, r4 -/* 8028BD30 00288C90 7C BD 2B 78 */ mr r29, r5 -/* 8028BD34 00288C94 7C DE 33 78 */ mr r30, r6 -/* 8028BD38 00288C98 7C FF 3B 78 */ mr r31, r7 -/* 8028BD3C 00288C9C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028BD40 00288CA0 38 88 00 B6 */ addi r4, r8, 0xb6 -/* 8028BD44 00288CA4 4B D7 8F 75 */ bl string_l__4rstlFPCc -/* 8028BD48 00288CA8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8028BD4C 00288CAC 4B DA EA 59 */ bl CModelDataNull__10CModelDataFv -/* 8028BD50 00288CB0 38 61 00 60 */ addi r3, r1, 0x60 -/* 8028BD54 00288CB4 4B D8 F0 E5 */ bl None__16CActorParametersFv -/* 8028BD58 00288CB8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8028BD5C 00288CBC 38 A0 00 00 */ li r5, 0 -/* 8028BD60 00288CC0 A0 1C 00 00 */ lhz r0, 0(r28) -/* 8028BD64 00288CC4 7F C4 F3 78 */ mr r4, r30 -/* 8028BD68 00288CC8 B0 61 00 10 */ sth r3, 0x10(r1) -/* 8028BD6C 00288CCC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8028BD70 00288CD0 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8028BD74 00288CD4 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8028BD78 00288CD8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028BD7C 00288CDC 48 08 73 C5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8028BD80 00288CE0 38 61 00 60 */ addi r3, r1, 0x60 -/* 8028BD84 00288CE4 38 01 00 10 */ addi r0, r1, 0x10 -/* 8028BD88 00288CE8 90 61 00 08 */ stw r3, 8(r1) -/* 8028BD8C 00288CEC 7F 63 DB 78 */ mr r3, r27 -/* 8028BD90 00288CF0 7F A7 EB 78 */ mr r7, r29 -/* 8028BD94 00288CF4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028BD98 00288CF8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028BD9C 00288CFC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8028BDA0 00288D00 39 01 00 30 */ addi r8, r1, 0x30 -/* 8028BDA4 00288D04 39 21 00 C8 */ addi r9, r1, 0xc8 -/* 8028BDA8 00288D08 39 41 00 18 */ addi r10, r1, 0x18 -/* 8028BDAC 00288D0C 38 A0 00 01 */ li r5, 1 -/* 8028BDB0 00288D10 4B DC 9A 71 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8028BDB4 00288D14 38 61 00 60 */ addi r3, r1, 0x60 -/* 8028BDB8 00288D18 38 80 FF FF */ li r4, -1 -/* 8028BDBC 00288D1C 4B E7 A8 4D */ bl __dt__16CActorParametersFv -/* 8028BDC0 00288D20 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8028BDC4 00288D24 38 80 FF FF */ li r4, -1 -/* 8028BDC8 00288D28 4B E8 AC 85 */ bl __dt__10CModelDataFv -/* 8028BDCC 00288D2C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028BDD0 00288D30 48 0B 1D 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028BDD4 00288D34 3C 60 80 3F */ lis r3, lbl_803EB6C8@ha -/* 8028BDD8 00288D38 3B 9B 00 E8 */ addi r28, r27, 0xe8 -/* 8028BDDC 00288D3C 38 03 B6 C8 */ addi r0, r3, lbl_803EB6C8@l -/* 8028BDE0 00288D40 7F E4 FB 78 */ mr r4, r31 -/* 8028BDE4 00288D44 90 1B 00 00 */ stw r0, 0(r27) -/* 8028BDE8 00288D48 7F 83 E3 78 */ mr r3, r28 -/* 8028BDEC 00288D4C 48 0B 50 BD */ bl __ct__6CTokenFRC6CToken -/* 8028BDF0 00288D50 38 00 00 00 */ li r0, 0 -/* 8028BDF4 00288D54 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028BDF8 00288D58 90 1C 00 08 */ stw r0, 8(r28) -/* 8028BDFC 00288D5C 7F 83 E3 78 */ mr r3, r28 -/* 8028BE00 00288D60 D3 FB 00 F4 */ stfs f31, 0xf4(r27) -/* 8028BE04 00288D64 D0 1B 00 F8 */ stfs f0, 0xf8(r27) -/* 8028BE08 00288D68 D0 1B 00 FC */ stfs f0, 0xfc(r27) -/* 8028BE0C 00288D6C 48 0B 4F 79 */ bl Lock__6CTokenFv -/* 8028BE10 00288D70 7F 63 DB 78 */ mr r3, r27 -/* 8028BE14 00288D74 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8028BE18 00288D78 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8028BE1C 00288D7C BB 61 01 1C */ lmw r27, 0x11c(r1) -/* 8028BE20 00288D80 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8028BE24 00288D84 7C 08 03 A6 */ mtlr r0 -/* 8028BE28 00288D88 38 21 01 40 */ addi r1, r1, 0x140 -/* 8028BE2C 00288D8C 4E 80 00 20 */ blr - -.global CreateFlash__12COmegaPirateFR13CStateManagerf -CreateFlash__12COmegaPirateFR13CStateManagerf: -/* 8028BE30 00288D90 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8028BE34 00288D94 7C 08 02 A6 */ mflr r0 -/* 8028BE38 00288D98 3C A0 80 3D */ lis r5, lbl_803D5A74@ha -/* 8028BE3C 00288D9C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8028BE40 00288DA0 38 A5 5A 74 */ addi r5, r5, lbl_803D5A74@l -/* 8028BE44 00288DA4 DB E1 00 88 */ stfd f31, 0x88(r1) -/* 8028BE48 00288DA8 FF E0 08 90 */ fmr f31, f1 -/* 8028BE4C 00288DAC BF 61 00 74 */ stmw r27, 0x74(r1) -/* 8028BE50 00288DB0 7C 7D 1B 78 */ mr r29, r3 -/* 8028BE54 00288DB4 7C 9E 23 78 */ mr r30, r4 -/* 8028BE58 00288DB8 38 85 00 C9 */ addi r4, r5, 0xc9 -/* 8028BE5C 00288DBC 3B 80 00 00 */ li r28, 0 -/* 8028BE60 00288DC0 3B 60 00 00 */ li r27, 0 -/* 8028BE64 00288DC4 38 60 01 00 */ li r3, 0x100 -/* 8028BE68 00288DC8 38 A0 00 00 */ li r5, 0 -/* 8028BE6C 00288DCC 48 08 9A 01 */ bl __nw__FUlPCcPCc -/* 8028BE70 00288DD0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028BE74 00288DD4 41 82 00 84 */ beq lbl_8028BEF8 -/* 8028BE78 00288DD8 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) -/* 8028BE7C 00288DDC 38 00 00 00 */ li r0, 0 -/* 8028BE80 00288DE0 90 01 00 40 */ stw r0, 0x40(r1) -/* 8028BE84 00288DE4 38 61 00 58 */ addi r3, r1, 0x58 -/* 8028BE88 00288DE8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8028BE8C 00288DEC 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8028BE90 00288DF0 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8028BE94 00288DF4 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8028BE98 00288DF8 3B 80 00 01 */ li r28, 1 -/* 8028BE9C 00288DFC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028BEA0 00288E00 90 01 00 48 */ stw r0, 0x48(r1) -/* 8028BEA4 00288E04 80 1D 00 04 */ lwz r0, 4(r29) -/* 8028BEA8 00288E08 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028BEAC 00288E0C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028BEB0 00288E10 4B DC 55 D5 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8028BEB4 00288E14 7F C4 F3 78 */ mr r4, r30 -/* 8028BEB8 00288E18 38 61 00 08 */ addi r3, r1, 8 -/* 8028BEBC 00288E1C 3B 60 00 01 */ li r27, 1 -/* 8028BEC0 00288E20 4B DC 12 1D */ bl AllocateUniqueId__13CStateManagerFv -/* 8028BEC4 00288E24 A0 01 00 08 */ lhz r0, 8(r1) -/* 8028BEC8 00288E28 38 61 00 4C */ addi r3, r1, 0x4c -/* 8028BECC 00288E2C 38 9D 00 9C */ addi r4, r29, 0x9c -/* 8028BED0 00288E30 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028BED4 00288E34 48 0A B7 39 */ bl GetCenterPoint__6CAABoxCFv -/* 8028BED8 00288E38 FC 20 F8 90 */ fmr f1, f31 -/* 8028BEDC 00288E3C 7F E3 FB 78 */ mr r3, r31 -/* 8028BEE0 00288E40 38 81 00 0C */ addi r4, r1, 0xc -/* 8028BEE4 00288E44 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8028BEE8 00288E48 38 C1 00 4C */ addi r6, r1, 0x4c -/* 8028BEEC 00288E4C 38 FD 0B 70 */ addi r7, r29, 0xb70 -/* 8028BEF0 00288E50 4B FF FE 15 */ bl "__ct__Q212COmegaPirate6CFlashF9TUniqueIdRC11CEntityInfoRC9CVector3fRC23TLockedToken<8CTexture>" -/* 8028BEF4 00288E54 7C 7F 1B 78 */ mr r31, r3 -lbl_8028BEF8: -/* 8028BEF8 00288E58 7F C3 F3 78 */ mr r3, r30 -/* 8028BEFC 00288E5C 7F E4 FB 78 */ mr r4, r31 -/* 8028BF00 00288E60 4B DC 0C 15 */ bl AddObject__13CStateManagerFR7CEntity -/* 8028BF04 00288E64 7F 60 07 75 */ extsb. r0, r27 -/* 8028BF08 00288E68 41 82 00 44 */ beq lbl_8028BF4C -/* 8028BF0C 00288E6C 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8028BF10 00288E70 80 61 00 68 */ lwz r3, 0x68(r1) -/* 8028BF14 00288E74 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8028BF18 00288E78 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028BF1C 00288E7C 7C 64 1B 78 */ mr r4, r3 -/* 8028BF20 00288E80 7C 03 02 14 */ add r0, r3, r0 -/* 8028BF24 00288E84 90 61 00 10 */ stw r3, 0x10(r1) -/* 8028BF28 00288E88 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8028BF2C 00288E8C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028BF30 00288E90 48 00 00 08 */ b lbl_8028BF38 -lbl_8028BF34: -/* 8028BF34 00288E94 38 84 00 0C */ addi r4, r4, 0xc -lbl_8028BF38: -/* 8028BF38 00288E98 7C 04 00 40 */ cmplw r4, r0 -/* 8028BF3C 00288E9C 40 82 FF F8 */ bne lbl_8028BF34 -/* 8028BF40 00288EA0 28 03 00 00 */ cmplwi r3, 0 -/* 8028BF44 00288EA4 41 82 00 08 */ beq lbl_8028BF4C -/* 8028BF48 00288EA8 48 08 99 E9 */ bl Free__7CMemoryFPCv -lbl_8028BF4C: -/* 8028BF4C 00288EAC 7F 80 07 75 */ extsb. r0, r28 -/* 8028BF50 00288EB0 41 82 00 44 */ beq lbl_8028BF94 -/* 8028BF54 00288EB4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8028BF58 00288EB8 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8028BF5C 00288EBC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8028BF60 00288EC0 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028BF64 00288EC4 7C 64 1B 78 */ mr r4, r3 -/* 8028BF68 00288EC8 7C 03 02 14 */ add r0, r3, r0 -/* 8028BF6C 00288ECC 90 61 00 20 */ stw r3, 0x20(r1) -/* 8028BF70 00288ED0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8028BF74 00288ED4 90 01 00 28 */ stw r0, 0x28(r1) -/* 8028BF78 00288ED8 48 00 00 08 */ b lbl_8028BF80 -lbl_8028BF7C: -/* 8028BF7C 00288EDC 38 84 00 0C */ addi r4, r4, 0xc -lbl_8028BF80: -/* 8028BF80 00288EE0 7C 04 00 40 */ cmplw r4, r0 -/* 8028BF84 00288EE4 40 82 FF F8 */ bne lbl_8028BF7C -/* 8028BF88 00288EE8 28 03 00 00 */ cmplwi r3, 0 -/* 8028BF8C 00288EEC 41 82 00 08 */ beq lbl_8028BF94 -/* 8028BF90 00288EF0 48 08 99 A1 */ bl Free__7CMemoryFPCv -lbl_8028BF94: -/* 8028BF94 00288EF4 CB E1 00 88 */ lfd f31, 0x88(r1) -/* 8028BF98 00288EF8 BB 61 00 74 */ lmw r27, 0x74(r1) -/* 8028BF9C 00288EFC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8028BFA0 00288F00 7C 08 03 A6 */ mtlr r0 -/* 8028BFA4 00288F04 38 21 00 90 */ addi r1, r1, 0x90 -/* 8028BFA8 00288F08 4E 80 00 20 */ blr - -.global sub_8028bfac -sub_8028bfac: -/* 8028BFAC 00288F0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028BFB0 00288F10 7C 08 02 A6 */ mflr r0 -/* 8028BFB4 00288F14 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028BFB8 00288F18 38 00 00 04 */ li r0, 4 -/* 8028BFBC 00288F1C 2C 00 00 00 */ cmpwi r0, 0 -/* 8028BFC0 00288F20 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028BFC4 00288F24 7C 7F 1B 78 */ mr r31, r3 -/* 8028BFC8 00288F28 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028BFCC 00288F2C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8028BFD0 00288F30 83 C3 0A B8 */ lwz r30, 0xab8(r3) -/* 8028BFD4 00288F34 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028BFD8 00288F38 48 00 00 0C */ b lbl_8028BFE4 -/* 8028BFDC 00288F3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028BFE0 00288F40 48 00 00 20 */ b lbl_8028C000 -lbl_8028BFE4: -/* 8028BFE4 00288F44 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8028BFE8 00288F48 38 60 00 04 */ li r3, 4 -/* 8028BFEC 00288F4C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8028BFF0 00288F50 38 A0 00 00 */ li r5, 0 -/* 8028BFF4 00288F54 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 8028BFF8 00288F58 48 08 98 21 */ bl __nwa__FUlPCcPCc -/* 8028BFFC 00288F5C 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8028C000: -/* 8028C000 00288F60 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8028C004 00288F64 28 03 00 00 */ cmplwi r3, 0 -/* 8028C008 00288F68 41 82 00 0C */ beq lbl_8028C014 -/* 8028C00C 00288F6C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) -/* 8028C010 00288F70 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C014: -/* 8028C014 00288F74 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C018 00288F78 41 82 00 0C */ beq lbl_8028C024 -/* 8028C01C 00288F7C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) -/* 8028C020 00288F80 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C024: -/* 8028C024 00288F84 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C028 00288F88 41 82 00 0C */ beq lbl_8028C034 -/* 8028C02C 00288F8C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) -/* 8028C030 00288F90 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C034: -/* 8028C034 00288F94 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C038 00288F98 41 82 00 0C */ beq lbl_8028C044 -/* 8028C03C 00288F9C 88 0D 99 B9 */ lbz r0, lbl_805A8579@sda21(r13) -/* 8028C040 00288FA0 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C044: -/* 8028C044 00288FA4 28 1E 00 00 */ cmplwi r30, 0 -/* 8028C048 00288FA8 80 E1 00 24 */ lwz r7, 0x24(r1) -/* 8028C04C 00288FAC 7F C3 F3 78 */ mr r3, r30 -/* 8028C050 00288FB0 38 80 00 00 */ li r4, 0 -/* 8028C054 00288FB4 40 81 00 FC */ ble lbl_8028C150 -/* 8028C058 00288FB8 57 C0 E8 FF */ rlwinm. r0, r30, 0x1d, 3, 0x1f -/* 8028C05C 00288FBC 7C 09 03 A6 */ mtctr r0 -/* 8028C060 00288FC0 41 82 00 D0 */ beq lbl_8028C130 -lbl_8028C064: -/* 8028C064 00288FC4 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C068 00288FC8 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C06C 00288FCC 38 84 00 04 */ addi r4, r4, 4 -/* 8028C070 00288FD0 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C074 00288FD4 38 05 00 01 */ addi r0, r5, 1 -/* 8028C078 00288FD8 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C07C 00288FDC 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C080 00288FE0 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C084 00288FE4 38 84 00 04 */ addi r4, r4, 4 -/* 8028C088 00288FE8 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C08C 00288FEC 38 05 00 01 */ addi r0, r5, 1 -/* 8028C090 00288FF0 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C094 00288FF4 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C098 00288FF8 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C09C 00288FFC 38 84 00 04 */ addi r4, r4, 4 -/* 8028C0A0 00289000 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C0A4 00289004 38 05 00 01 */ addi r0, r5, 1 -/* 8028C0A8 00289008 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C0AC 0028900C 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C0B0 00289010 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C0B4 00289014 38 84 00 04 */ addi r4, r4, 4 -/* 8028C0B8 00289018 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C0BC 0028901C 38 05 00 01 */ addi r0, r5, 1 -/* 8028C0C0 00289020 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C0C4 00289024 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C0C8 00289028 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C0CC 0028902C 38 84 00 04 */ addi r4, r4, 4 -/* 8028C0D0 00289030 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C0D4 00289034 38 05 00 01 */ addi r0, r5, 1 -/* 8028C0D8 00289038 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C0DC 0028903C 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C0E0 00289040 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C0E4 00289044 38 84 00 04 */ addi r4, r4, 4 -/* 8028C0E8 00289048 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C0EC 0028904C 38 05 00 01 */ addi r0, r5, 1 -/* 8028C0F0 00289050 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C0F4 00289054 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C0F8 00289058 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C0FC 0028905C 38 84 00 04 */ addi r4, r4, 4 -/* 8028C100 00289060 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C104 00289064 38 05 00 01 */ addi r0, r5, 1 -/* 8028C108 00289068 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C10C 0028906C 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C110 00289070 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C114 00289074 38 84 00 04 */ addi r4, r4, 4 -/* 8028C118 00289078 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C11C 0028907C 38 05 00 01 */ addi r0, r5, 1 -/* 8028C120 00289080 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C124 00289084 42 00 FF 40 */ bdnz lbl_8028C064 -/* 8028C128 00289088 70 63 00 07 */ andi. r3, r3, 7 -/* 8028C12C 0028908C 41 82 00 24 */ beq lbl_8028C150 -lbl_8028C130: -/* 8028C130 00289090 7C 69 03 A6 */ mtctr r3 -lbl_8028C134: -/* 8028C134 00289094 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C138 00289098 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C13C 0028909C 38 84 00 04 */ addi r4, r4, 4 -/* 8028C140 002890A0 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C144 002890A4 38 05 00 01 */ addi r0, r5, 1 -/* 8028C148 002890A8 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C14C 002890AC 42 00 FF E8 */ bdnz lbl_8028C134 -lbl_8028C150: -/* 8028C150 002890B0 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C154 002890B4 38 A0 00 00 */ li r5, 0 -/* 8028C158 002890B8 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8028C15C 002890BC 88 04 00 00 */ lbz r0, 0(r4) -/* 8028C160 002890C0 28 00 00 00 */ cmplwi r0, 0 -/* 8028C164 002890C4 40 82 00 10 */ bne lbl_8028C174 -/* 8028C168 002890C8 88 03 00 00 */ lbz r0, 0(r3) -/* 8028C16C 002890CC 28 00 00 00 */ cmplwi r0, 0 -/* 8028C170 002890D0 41 82 00 08 */ beq lbl_8028C178 -lbl_8028C174: -/* 8028C174 002890D4 38 A0 00 01 */ li r5, 1 -lbl_8028C178: -/* 8028C178 002890D8 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C17C 002890DC 88 04 00 01 */ lbz r0, 1(r4) -/* 8028C180 002890E0 28 00 00 00 */ cmplwi r0, 0 -/* 8028C184 002890E4 40 82 00 10 */ bne lbl_8028C194 -/* 8028C188 002890E8 88 03 00 01 */ lbz r0, 1(r3) -/* 8028C18C 002890EC 28 00 00 00 */ cmplwi r0, 0 -/* 8028C190 002890F0 41 82 00 08 */ beq lbl_8028C198 -lbl_8028C194: -/* 8028C194 002890F4 38 A5 00 01 */ addi r5, r5, 1 -lbl_8028C198: -/* 8028C198 002890F8 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C19C 002890FC 88 04 00 02 */ lbz r0, 2(r4) -/* 8028C1A0 00289100 28 00 00 00 */ cmplwi r0, 0 -/* 8028C1A4 00289104 40 82 00 10 */ bne lbl_8028C1B4 -/* 8028C1A8 00289108 88 03 00 02 */ lbz r0, 2(r3) -/* 8028C1AC 0028910C 28 00 00 00 */ cmplwi r0, 0 -/* 8028C1B0 00289110 41 82 00 08 */ beq lbl_8028C1B8 -lbl_8028C1B4: -/* 8028C1B4 00289114 38 A5 00 01 */ addi r5, r5, 1 -lbl_8028C1B8: -/* 8028C1B8 00289118 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C1BC 0028911C 88 04 00 03 */ lbz r0, 3(r4) -/* 8028C1C0 00289120 28 00 00 00 */ cmplwi r0, 0 -/* 8028C1C4 00289124 40 82 00 10 */ bne lbl_8028C1D4 -/* 8028C1C8 00289128 88 03 00 03 */ lbz r0, 3(r3) -/* 8028C1CC 0028912C 28 00 00 00 */ cmplwi r0, 0 -/* 8028C1D0 00289130 41 82 00 08 */ beq lbl_8028C1D8 -lbl_8028C1D4: -/* 8028C1D4 00289134 38 A5 00 01 */ addi r5, r5, 1 -lbl_8028C1D8: -/* 8028C1D8 00289138 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8028C1DC 0028913C 7C BF 2B 78 */ mr r31, r5 -/* 8028C1E0 00289140 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028C1E4 00289144 7C 83 02 14 */ add r4, r3, r0 -/* 8028C1E8 00289148 7C 03 20 50 */ subf r0, r3, r4 -/* 8028C1EC 0028914C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8028C1F0 00289150 90 81 00 10 */ stw r4, 0x10(r1) -/* 8028C1F4 00289154 90 61 00 08 */ stw r3, 8(r1) -/* 8028C1F8 00289158 7C 09 03 A6 */ mtctr r0 -/* 8028C1FC 0028915C 7C 03 20 40 */ cmplw r3, r4 -/* 8028C200 00289160 41 82 00 08 */ beq lbl_8028C208 -lbl_8028C204: -/* 8028C204 00289164 42 00 00 00 */ bdnz lbl_8028C204 -lbl_8028C208: -/* 8028C208 00289168 28 03 00 00 */ cmplwi r3, 0 -/* 8028C20C 0028916C 41 82 00 08 */ beq lbl_8028C214 -/* 8028C210 00289170 48 08 97 21 */ bl Free__7CMemoryFPCv -lbl_8028C214: -/* 8028C214 00289174 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028C218 00289178 7F E3 FB 78 */ mr r3, r31 -/* 8028C21C 0028917C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028C220 00289180 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8028C224 00289184 7C 08 03 A6 */ mtlr r0 -/* 8028C228 00289188 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028C22C 0028918C 4E 80 00 20 */ blr - -.global sub_8028c230 -sub_8028c230: -/* 8028C230 00289190 80 A3 0B 88 */ lwz r5, 0xb88(r3) -/* 8028C234 00289194 88 65 00 00 */ lbz r3, 0(r5) -/* 8028C238 00289198 88 05 00 01 */ lbz r0, 1(r5) -/* 8028C23C 0028919C 88 85 00 02 */ lbz r4, 2(r5) -/* 8028C240 002891A0 7C 63 02 14 */ add r3, r3, r0 -/* 8028C244 002891A4 88 05 00 03 */ lbz r0, 3(r5) -/* 8028C248 002891A8 7C 63 22 14 */ add r3, r3, r4 -/* 8028C24C 002891AC 7C 63 02 14 */ add r3, r3, r0 -/* 8028C250 002891B0 4E 80 00 20 */ blr - -.global Landed__12COmegaPirateFR13CStateManagerf -Landed__12COmegaPirateFR13CStateManagerf: -/* 8028C254 002891B4 80 83 0B 4C */ lwz r4, 0xb4c(r3) -/* 8028C258 002891B8 38 60 00 04 */ li r3, 4 -/* 8028C25C 002891BC 38 04 FF FC */ addi r0, r4, -4 -/* 8028C260 002891C0 7C 83 1B 38 */ orc r3, r4, r3 -/* 8028C264 002891C4 54 00 F8 7E */ srwi r0, r0, 1 -/* 8028C268 002891C8 7C 00 18 50 */ subf r0, r0, r3 -/* 8028C26C 002891CC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8028C270 002891D0 4E 80 00 20 */ blr - -.global ShouldMove__12COmegaPirateFR13CStateManagerf -ShouldMove__12COmegaPirateFR13CStateManagerf: -/* 8028C274 002891D4 C0 23 03 38 */ lfs f1, 0x338(r3) -/* 8028C278 002891D8 C0 03 0B 64 */ lfs f0, 0xb64(r3) -/* 8028C27C 002891DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028C280 002891E0 7C 00 00 26 */ mfcr r0 -/* 8028C284 002891E4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8028C288 002891E8 4E 80 00 20 */ blr - -.global Attack__12COmegaPirateFR13CStateManager9EStateMsgf -Attack__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C28C 002891EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C290 002891F0 7C 08 02 A6 */ mflr r0 -/* 8028C294 002891F4 2C 05 00 01 */ cmpwi r5, 1 -/* 8028C298 002891F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C29C 002891FC 41 82 00 54 */ beq lbl_8028C2F0 -/* 8028C2A0 00289200 40 80 00 10 */ bge lbl_8028C2B0 -/* 8028C2A4 00289204 2C 05 00 00 */ cmpwi r5, 0 -/* 8028C2A8 00289208 40 80 00 14 */ bge lbl_8028C2BC -/* 8028C2AC 0028920C 48 00 00 44 */ b lbl_8028C2F0 -lbl_8028C2B0: -/* 8028C2B0 00289210 2C 05 00 03 */ cmpwi r5, 3 -/* 8028C2B4 00289214 40 80 00 3C */ bge lbl_8028C2F0 -/* 8028C2B8 00289218 48 00 00 20 */ b lbl_8028C2D8 -lbl_8028C2BC: -/* 8028C2BC 0028921C 88 03 04 02 */ lbz r0, 0x402(r3) -/* 8028C2C0 00289220 38 C0 00 01 */ li r6, 1 -/* 8028C2C4 00289224 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8028C2C8 00289228 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028C2CC 0028922C 98 03 04 02 */ stb r0, 0x402(r3) -/* 8028C2D0 00289230 D0 03 05 04 */ stfs f0, 0x504(r3) -/* 8028C2D4 00289234 48 00 00 1C */ b lbl_8028C2F0 -lbl_8028C2D8: -/* 8028C2D8 00289238 88 03 04 02 */ lbz r0, 0x402(r3) -/* 8028C2DC 0028923C 38 C0 00 00 */ li r6, 0 -/* 8028C2E0 00289240 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8028C2E4 00289244 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028C2E8 00289248 98 03 04 02 */ stb r0, 0x402(r3) -/* 8028C2EC 0028924C D0 03 05 04 */ stfs f0, 0x504(r3) -lbl_8028C2F0: -/* 8028C2F0 00289250 4B F9 E3 B9 */ bl Attack__12CElitePirateFR13CStateManager9EStateMsgf -/* 8028C2F4 00289254 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C2F8 00289258 7C 08 03 A6 */ mtlr r0 -/* 8028C2FC 0028925C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C300 00289260 4E 80 00 20 */ blr - -.global sub_8028c304 -sub_8028c304: -/* 8028C304 00289264 A0 A4 06 F4 */ lhz r5, 0x6f4(r4) -/* 8028C308 00289268 38 00 00 08 */ li r0, 8 -/* 8028C30C 0028926C 80 C4 06 F0 */ lwz r6, 0x6f0(r4) -/* 8028C310 00289270 80 E4 06 D0 */ lwz r7, 0x6d0(r4) -/* 8028C314 00289274 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) -/* 8028C318 00289278 90 03 00 00 */ stw r0, 0(r3) -/* 8028C31C 0028927C C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) -/* 8028C320 00289280 90 E3 00 04 */ stw r7, 4(r3) -/* 8028C324 00289284 C0 02 BE BC */ lfs f0, lbl_805ADBDC@sda21(r2) -/* 8028C328 00289288 80 04 06 D4 */ lwz r0, 0x6d4(r4) -/* 8028C32C 0028928C 90 03 00 08 */ stw r0, 8(r3) -/* 8028C330 00289290 88 04 06 D8 */ lbz r0, 0x6d8(r4) -/* 8028C334 00289294 98 03 00 0C */ stb r0, 0xc(r3) -/* 8028C338 00289298 C0 64 06 DC */ lfs f3, 0x6dc(r4) -/* 8028C33C 0028929C D0 63 00 10 */ stfs f3, 0x10(r3) -/* 8028C340 002892A0 C0 64 06 E0 */ lfs f3, 0x6e0(r4) -/* 8028C344 002892A4 D0 63 00 14 */ stfs f3, 0x14(r3) -/* 8028C348 002892A8 C0 64 06 E4 */ lfs f3, 0x6e4(r4) -/* 8028C34C 002892AC D0 63 00 18 */ stfs f3, 0x18(r3) -/* 8028C350 002892B0 C0 64 06 E8 */ lfs f3, 0x6e8(r4) -/* 8028C354 002892B4 D0 63 00 1C */ stfs f3, 0x1c(r3) -/* 8028C358 002892B8 88 04 06 EC */ lbz r0, 0x6ec(r4) -/* 8028C35C 002892BC 98 03 00 20 */ stb r0, 0x20(r3) -/* 8028C360 002892C0 D0 43 00 24 */ stfs f2, 0x24(r3) -/* 8028C364 002892C4 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 8028C368 002892C8 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8028C36C 002892CC D0 43 00 30 */ stfs f2, 0x30(r3) -/* 8028C370 002892D0 90 C3 00 34 */ stw r6, 0x34(r3) -/* 8028C374 002892D4 B0 A3 00 38 */ sth r5, 0x38(r3) -/* 8028C378 002892D8 4E 80 00 20 */ blr - -.global Enraged__12COmegaPirateFR13CStateManager9EStateMsgf -Enraged__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C37C 002892DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028C380 002892E0 7C 08 02 A6 */ mflr r0 -/* 8028C384 002892E4 2C 05 00 01 */ cmpwi r5, 1 -/* 8028C388 002892E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028C38C 002892EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028C390 002892F0 41 82 00 2C */ beq lbl_8028C3BC -/* 8028C394 002892F4 40 80 00 10 */ bge lbl_8028C3A4 -/* 8028C398 002892F8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028C39C 002892FC 40 80 00 14 */ bge lbl_8028C3B0 -/* 8028C3A0 00289300 48 00 00 EC */ b lbl_8028C48C -lbl_8028C3A4: -/* 8028C3A4 00289304 2C 05 00 03 */ cmpwi r5, 3 -/* 8028C3A8 00289308 40 80 00 E4 */ bge lbl_8028C48C -/* 8028C3AC 0028930C 48 00 00 D4 */ b lbl_8028C480 -lbl_8028C3B0: -/* 8028C3B0 00289310 38 00 00 00 */ li r0, 0 -/* 8028C3B4 00289314 90 03 05 68 */ stw r0, 0x568(r3) -/* 8028C3B8 00289318 48 00 00 D4 */ b lbl_8028C48C -lbl_8028C3BC: -/* 8028C3BC 0028931C 80 03 05 68 */ lwz r0, 0x568(r3) -/* 8028C3C0 00289320 2C 00 00 01 */ cmpwi r0, 1 -/* 8028C3C4 00289324 41 82 00 C8 */ beq lbl_8028C48C -/* 8028C3C8 00289328 40 80 00 10 */ bge lbl_8028C3D8 -/* 8028C3CC 0028932C 2C 00 00 00 */ cmpwi r0, 0 -/* 8028C3D0 00289330 40 80 00 14 */ bge lbl_8028C3E4 -/* 8028C3D4 00289334 48 00 00 B8 */ b lbl_8028C48C -lbl_8028C3D8: -/* 8028C3D8 00289338 2C 00 00 03 */ cmpwi r0, 3 -/* 8028C3DC 0028933C 40 80 00 B0 */ bge lbl_8028C48C -/* 8028C3E0 00289340 48 00 00 84 */ b lbl_8028C464 -lbl_8028C3E4: -/* 8028C3E4 00289344 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8028C3E8 00289348 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8028C3EC 0028934C 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8028C3F0 00289350 40 82 00 10 */ bne lbl_8028C400 -/* 8028C3F4 00289354 38 00 00 02 */ li r0, 2 -/* 8028C3F8 00289358 90 03 05 68 */ stw r0, 0x568(r3) -/* 8028C3FC 0028935C 48 00 00 90 */ b lbl_8028C48C -lbl_8028C400: -/* 8028C400 00289360 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8028C404 00289364 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 8028C408 00289368 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8028C40C 0028936C 38 80 00 12 */ li r4, 0x12 -/* 8028C410 00289370 90 01 00 08 */ stw r0, 8(r1) -/* 8028C414 00289374 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l -/* 8028C418 00289378 38 00 00 00 */ li r0, 0 -/* 8028C41C 0028937C 3B E6 00 04 */ addi r31, r6, 4 -/* 8028C420 00289380 90 81 00 0C */ stw r4, 0xc(r1) -/* 8028C424 00289384 7F E3 FB 78 */ mr r3, r31 -/* 8028C428 00289388 38 80 00 12 */ li r4, 0x12 -/* 8028C42C 0028938C 90 A1 00 08 */ stw r5, 8(r1) -/* 8028C430 00289390 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028C434 00289394 4B EA 50 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028C438 00289398 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8028C43C 0028939C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 8028C440 002893A0 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l -/* 8028C444 002893A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028C448 002893A8 90 1F 02 14 */ stw r0, 0x214(r31) -/* 8028C44C 002893AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028C450 002893B0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028C454 002893B4 90 81 00 08 */ stw r4, 8(r1) -/* 8028C458 002893B8 90 7F 02 18 */ stw r3, 0x218(r31) -/* 8028C45C 002893BC 90 01 00 08 */ stw r0, 8(r1) -/* 8028C460 002893C0 48 00 00 2C */ b lbl_8028C48C -lbl_8028C464: -/* 8028C464 002893C4 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8028C468 002893C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028C46C 002893CC 2C 00 00 10 */ cmpwi r0, 0x10 -/* 8028C470 002893D0 41 82 00 1C */ beq lbl_8028C48C -/* 8028C474 002893D4 38 00 00 03 */ li r0, 3 -/* 8028C478 002893D8 90 03 05 68 */ stw r0, 0x568(r3) -/* 8028C47C 002893DC 48 00 00 10 */ b lbl_8028C48C -lbl_8028C480: -/* 8028C480 002893E0 38 00 00 01 */ li r0, 1 -/* 8028C484 002893E4 98 03 0A DF */ stb r0, 0xadf(r3) -/* 8028C488 002893E8 98 03 0A E0 */ stb r0, 0xae0(r3) -lbl_8028C48C: -/* 8028C48C 002893EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028C490 002893F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028C494 002893F4 7C 08 03 A6 */ mtlr r0 -/* 8028C498 002893F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028C49C 002893FC 4E 80 00 20 */ blr - -.global Cover__12COmegaPirateFR13CStateManager9EStateMsgf -Cover__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C4A0 00289400 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C4A4 00289404 7C 08 02 A6 */ mflr r0 -/* 8028C4A8 00289408 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C4AC 0028940C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C4B0 00289410 7C BF 2B 78 */ mr r31, r5 -/* 8028C4B4 00289414 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C4B8 00289418 7C 7E 1B 78 */ mr r30, r3 -/* 8028C4BC 0028941C 4B F9 DD 1D */ bl Cover__12CElitePirateFR13CStateManager9EStateMsgf -/* 8028C4C0 00289420 2C 1F 00 01 */ cmpwi r31, 1 -/* 8028C4C4 00289424 41 82 00 3C */ beq lbl_8028C500 -/* 8028C4C8 00289428 40 80 00 10 */ bge lbl_8028C4D8 -/* 8028C4CC 0028942C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8028C4D0 00289430 40 80 00 14 */ bge lbl_8028C4E4 -/* 8028C4D4 00289434 48 00 00 2C */ b lbl_8028C500 -lbl_8028C4D8: -/* 8028C4D8 00289438 2C 1F 00 03 */ cmpwi r31, 3 -/* 8028C4DC 0028943C 40 80 00 24 */ bge lbl_8028C500 -/* 8028C4E0 00289440 48 00 00 18 */ b lbl_8028C4F8 -lbl_8028C4E4: -/* 8028C4E4 00289444 C0 1E 03 B4 */ lfs f0, 0x3b4(r30) -/* 8028C4E8 00289448 38 00 00 01 */ li r0, 1 -/* 8028C4EC 0028944C D0 1E 0A D4 */ stfs f0, 0xad4(r30) -/* 8028C4F0 00289450 98 1E 0A D8 */ stb r0, 0xad8(r30) -/* 8028C4F4 00289454 48 00 00 0C */ b lbl_8028C500 -lbl_8028C4F8: -/* 8028C4F8 00289458 38 00 00 00 */ li r0, 0 -/* 8028C4FC 0028945C 98 1E 0A D8 */ stb r0, 0xad8(r30) -lbl_8028C500: -/* 8028C500 00289460 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C504 00289464 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C508 00289468 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C50C 0028946C 7C 08 03 A6 */ mtlr r0 -/* 8028C510 00289470 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C514 00289474 4E 80 00 20 */ blr - -.global TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf -TargetPatrol__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C518 00289478 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C51C 0028947C 7C 08 02 A6 */ mflr r0 -/* 8028C520 00289480 2C 05 00 01 */ cmpwi r5, 1 -/* 8028C524 00289484 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C528 00289488 41 82 00 3C */ beq lbl_8028C564 -/* 8028C52C 0028948C 40 80 00 10 */ bge lbl_8028C53C -/* 8028C530 00289490 2C 05 00 00 */ cmpwi r5, 0 -/* 8028C534 00289494 40 80 00 14 */ bge lbl_8028C548 -/* 8028C538 00289498 48 00 00 70 */ b lbl_8028C5A8 -lbl_8028C53C: -/* 8028C53C 0028949C 2C 05 00 03 */ cmpwi r5, 3 -/* 8028C540 002894A0 40 80 00 68 */ bge lbl_8028C5A8 -/* 8028C544 002894A4 48 00 00 5C */ b lbl_8028C5A0 -lbl_8028C548: -/* 8028C548 002894A8 C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C54C 002894AC C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) -/* 8028C550 002894B0 D0 03 0A D4 */ stfs f0, 0xad4(r3) -/* 8028C554 002894B4 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C558 002894B8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8028C55C 002894BC D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C560 002894C0 48 00 00 48 */ b lbl_8028C5A8 -lbl_8028C564: -/* 8028C564 002894C4 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8028C568 002894C8 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8028C56C 002894CC 2C 00 00 06 */ cmpwi r0, 6 -/* 8028C570 002894D0 40 82 00 10 */ bne lbl_8028C580 -/* 8028C574 002894D4 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C578 002894D8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C57C 002894DC 48 00 00 2C */ b lbl_8028C5A8 -lbl_8028C580: -/* 8028C580 002894E0 C0 43 0A D4 */ lfs f2, 0xad4(r3) -/* 8028C584 002894E4 C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C588 002894E8 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 8028C58C 002894EC 40 82 00 1C */ bne lbl_8028C5A8 -/* 8028C590 002894F0 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) -/* 8028C594 002894F4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8028C598 002894F8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C59C 002894FC 48 00 00 0C */ b lbl_8028C5A8 -lbl_8028C5A0: -/* 8028C5A0 00289500 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C5A4 00289504 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -lbl_8028C5A8: -/* 8028C5A8 00289508 4B F9 EB 19 */ bl TargetPatrol__12CElitePirateFR13CStateManager9EStateMsgf -/* 8028C5AC 0028950C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C5B0 00289510 7C 08 03 A6 */ mtlr r0 -/* 8028C5B4 00289514 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C5B8 00289518 4E 80 00 20 */ blr - -.global PathFind__12COmegaPirateFR13CStateManager9EStateMsgf -PathFind__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C5BC 0028951C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C5C0 00289520 7C 08 02 A6 */ mflr r0 -/* 8028C5C4 00289524 2C 05 00 01 */ cmpwi r5, 1 -/* 8028C5C8 00289528 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C5CC 0028952C 41 82 00 3C */ beq lbl_8028C608 -/* 8028C5D0 00289530 40 80 00 10 */ bge lbl_8028C5E0 -/* 8028C5D4 00289534 2C 05 00 00 */ cmpwi r5, 0 -/* 8028C5D8 00289538 40 80 00 14 */ bge lbl_8028C5EC -/* 8028C5DC 0028953C 48 00 00 70 */ b lbl_8028C64C -lbl_8028C5E0: -/* 8028C5E0 00289540 2C 05 00 03 */ cmpwi r5, 3 -/* 8028C5E4 00289544 40 80 00 68 */ bge lbl_8028C64C -/* 8028C5E8 00289548 48 00 00 5C */ b lbl_8028C644 -lbl_8028C5EC: -/* 8028C5EC 0028954C C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C5F0 00289550 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) -/* 8028C5F4 00289554 D0 03 0A D4 */ stfs f0, 0xad4(r3) -/* 8028C5F8 00289558 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C5FC 0028955C EC 02 00 32 */ fmuls f0, f2, f0 -/* 8028C600 00289560 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C604 00289564 48 00 00 48 */ b lbl_8028C64C -lbl_8028C608: -/* 8028C608 00289568 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8028C60C 0028956C 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8028C610 00289570 2C 00 00 06 */ cmpwi r0, 6 -/* 8028C614 00289574 40 82 00 10 */ bne lbl_8028C624 -/* 8028C618 00289578 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C61C 0028957C D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C620 00289580 48 00 00 2C */ b lbl_8028C64C -lbl_8028C624: -/* 8028C624 00289584 C0 43 0A D4 */ lfs f2, 0xad4(r3) -/* 8028C628 00289588 C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C62C 0028958C FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 8028C630 00289590 40 82 00 1C */ bne lbl_8028C64C -/* 8028C634 00289594 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) -/* 8028C638 00289598 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8028C63C 0028959C D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C640 002895A0 48 00 00 0C */ b lbl_8028C64C -lbl_8028C644: -/* 8028C644 002895A4 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C648 002895A8 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -lbl_8028C64C: -/* 8028C64C 002895AC 4B F9 ED 85 */ bl PathFind__12CElitePirateFR13CStateManager9EStateMsgf -/* 8028C650 002895B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C654 002895B4 7C 08 03 A6 */ mtlr r0 -/* 8028C658 002895B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C65C 002895BC 4E 80 00 20 */ blr - -.global Run__12COmegaPirateFR13CStateManager9EStateMsgf -Run__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028C660 002895C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C664 002895C4 7C 08 02 A6 */ mflr r0 -/* 8028C668 002895C8 2C 05 00 01 */ cmpwi r5, 1 -/* 8028C66C 002895CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C670 002895D0 41 82 00 3C */ beq lbl_8028C6AC -/* 8028C674 002895D4 40 80 00 10 */ bge lbl_8028C684 -/* 8028C678 002895D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028C67C 002895DC 40 80 00 14 */ bge lbl_8028C690 -/* 8028C680 002895E0 48 00 00 70 */ b lbl_8028C6F0 -lbl_8028C684: -/* 8028C684 002895E4 2C 05 00 03 */ cmpwi r5, 3 -/* 8028C688 002895E8 40 80 00 68 */ bge lbl_8028C6F0 -/* 8028C68C 002895EC 48 00 00 5C */ b lbl_8028C6E8 -lbl_8028C690: -/* 8028C690 002895F0 C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C694 002895F4 C0 42 BE C0 */ lfs f2, lbl_805ADBE0@sda21(r2) -/* 8028C698 002895F8 D0 03 0A D4 */ stfs f0, 0xad4(r3) -/* 8028C69C 002895FC C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C6A0 00289600 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8028C6A4 00289604 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C6A8 00289608 48 00 00 48 */ b lbl_8028C6F0 -lbl_8028C6AC: -/* 8028C6AC 0028960C 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8028C6B0 00289610 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8028C6B4 00289614 2C 00 00 06 */ cmpwi r0, 6 -/* 8028C6B8 00289618 40 82 00 10 */ bne lbl_8028C6C8 -/* 8028C6BC 0028961C C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C6C0 00289620 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C6C4 00289624 48 00 00 2C */ b lbl_8028C6F0 -lbl_8028C6C8: -/* 8028C6C8 00289628 C0 43 0A D4 */ lfs f2, 0xad4(r3) -/* 8028C6CC 0028962C C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8028C6D0 00289630 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 8028C6D4 00289634 40 82 00 1C */ bne lbl_8028C6F0 -/* 8028C6D8 00289638 C0 02 BE C0 */ lfs f0, lbl_805ADBE0@sda21(r2) -/* 8028C6DC 0028963C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8028C6E0 00289640 D0 03 03 B4 */ stfs f0, 0x3b4(r3) -/* 8028C6E4 00289644 48 00 00 0C */ b lbl_8028C6F0 -lbl_8028C6E8: -/* 8028C6E8 00289648 C0 03 0A D4 */ lfs f0, 0xad4(r3) -/* 8028C6EC 0028964C D0 03 03 B4 */ stfs f0, 0x3b4(r3) -lbl_8028C6F0: -/* 8028C6F0 00289650 4B F9 F2 99 */ bl Run__12CElitePirateFR13CStateManager9EStateMsgf -/* 8028C6F4 00289654 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C6F8 00289658 7C 08 03 A6 */ mtlr r0 -/* 8028C6FC 0028965C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C700 00289660 4E 80 00 20 */ blr - -.global sub_8028c704 -sub_8028c704: -/* 8028C704 00289664 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028C708 00289668 7C 08 02 A6 */ mflr r0 -/* 8028C70C 0028966C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028C710 00289670 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8028C714 00289674 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8028C718 00289678 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C71C 0028967C 80 C3 0A C8 */ lwz r6, 0xac8(r3) -/* 8028C720 00289680 FF E0 08 90 */ fmr f31, f1 -/* 8028C724 00289684 80 03 0A B8 */ lwz r0, 0xab8(r3) -/* 8028C728 00289688 7C 7F 1B 78 */ mr r31, r3 -/* 8028C72C 0028968C 7C 06 00 00 */ cmpw r6, r0 -/* 8028C730 00289690 40 80 00 F4 */ bge lbl_8028C824 -/* 8028C734 00289694 C0 3F 0A B0 */ lfs f1, 0xab0(r31) -/* 8028C738 00289698 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028C73C 0028969C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028C740 002896A0 4C 40 13 82 */ cror 2, 0, 2 -/* 8028C744 002896A4 40 82 00 D4 */ bne lbl_8028C818 -/* 8028C748 002896A8 38 A6 00 01 */ addi r5, r6, 1 -/* 8028C74C 002896AC 54 C0 10 3A */ slwi r0, r6, 2 -/* 8028C750 002896B0 90 BF 0A C8 */ stw r5, 0xac8(r31) -/* 8028C754 002896B4 80 BF 0A C0 */ lwz r5, 0xac0(r31) -/* 8028C758 002896B8 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8028C75C 002896BC 2C 00 00 02 */ cmpwi r0, 2 -/* 8028C760 002896C0 41 82 00 48 */ beq lbl_8028C7A8 -/* 8028C764 002896C4 40 80 00 14 */ bge lbl_8028C778 -/* 8028C768 002896C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028C76C 002896CC 41 82 00 60 */ beq lbl_8028C7CC -/* 8028C770 002896D0 40 80 00 14 */ bge lbl_8028C784 -/* 8028C774 002896D4 48 00 00 9C */ b lbl_8028C810 -lbl_8028C778: -/* 8028C778 002896D8 2C 00 00 04 */ cmpwi r0, 4 -/* 8028C77C 002896DC 40 80 00 94 */ bge lbl_8028C810 -/* 8028C780 002896E0 48 00 00 70 */ b lbl_8028C7F0 -lbl_8028C784: -/* 8028C784 002896E4 7C 85 23 78 */ mr r5, r4 -/* 8028C788 002896E8 38 80 00 08 */ li r4, 8 -/* 8028C78C 002896EC 38 C0 FF FF */ li r6, -1 -/* 8028C790 002896F0 4B DC 49 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028C794 002896F4 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C798 002896F8 88 64 00 01 */ lbz r3, 1(r4) -/* 8028C79C 002896FC 38 03 00 01 */ addi r0, r3, 1 -/* 8028C7A0 00289700 98 04 00 01 */ stb r0, 1(r4) -/* 8028C7A4 00289704 48 00 00 6C */ b lbl_8028C810 -lbl_8028C7A8: -/* 8028C7A8 00289708 7C 85 23 78 */ mr r5, r4 -/* 8028C7AC 0028970C 38 80 00 0B */ li r4, 0xb -/* 8028C7B0 00289710 38 C0 FF FF */ li r6, -1 -/* 8028C7B4 00289714 4B DC 49 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028C7B8 00289718 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C7BC 0028971C 88 64 00 02 */ lbz r3, 2(r4) -/* 8028C7C0 00289720 38 03 00 01 */ addi r0, r3, 1 -/* 8028C7C4 00289724 98 04 00 02 */ stb r0, 2(r4) -/* 8028C7C8 00289728 48 00 00 48 */ b lbl_8028C810 -lbl_8028C7CC: -/* 8028C7CC 0028972C 7C 85 23 78 */ mr r5, r4 -/* 8028C7D0 00289730 38 80 00 02 */ li r4, 2 -/* 8028C7D4 00289734 38 C0 FF FF */ li r6, -1 -/* 8028C7D8 00289738 4B DC 48 E9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028C7DC 0028973C 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C7E0 00289740 88 64 00 00 */ lbz r3, 0(r4) -/* 8028C7E4 00289744 38 03 00 01 */ addi r0, r3, 1 -/* 8028C7E8 00289748 98 04 00 00 */ stb r0, 0(r4) -/* 8028C7EC 0028974C 48 00 00 24 */ b lbl_8028C810 -lbl_8028C7F0: -/* 8028C7F0 00289750 7C 85 23 78 */ mr r5, r4 -/* 8028C7F4 00289754 38 80 00 19 */ li r4, 0x19 -/* 8028C7F8 00289758 38 C0 FF FF */ li r6, -1 -/* 8028C7FC 0028975C 4B DC 48 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028C800 00289760 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 8028C804 00289764 88 64 00 03 */ lbz r3, 3(r4) -/* 8028C808 00289768 38 03 00 01 */ addi r0, r3, 1 -/* 8028C80C 0028976C 98 04 00 03 */ stb r0, 3(r4) -lbl_8028C810: -/* 8028C810 00289770 C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) -/* 8028C814 00289774 D0 1F 0A B0 */ stfs f0, 0xab0(r31) -lbl_8028C818: -/* 8028C818 00289778 C0 1F 0A B0 */ lfs f0, 0xab0(r31) -/* 8028C81C 0028977C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8028C820 00289780 D0 1F 0A B0 */ stfs f0, 0xab0(r31) -lbl_8028C824: -/* 8028C824 00289784 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8028C828 00289788 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028C82C 0028978C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8028C830 00289790 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C834 00289794 7C 08 03 A6 */ mtlr r0 -/* 8028C838 00289798 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028C83C 0028979C 4E 80 00 20 */ blr - -.global sub_8028c840 -sub_8028c840: -/* 8028C840 002897A0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028C844 002897A4 7C 08 02 A6 */ mflr r0 -/* 8028C848 002897A8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028C84C 002897AC 38 00 00 00 */ li r0, 0 -/* 8028C850 002897B0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8028C854 002897B4 7C BF 2B 78 */ mr r31, r5 -/* 8028C858 002897B8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028C85C 002897BC 7C 7E 1B 78 */ mr r30, r3 -/* 8028C860 002897C0 38 61 00 40 */ addi r3, r1, 0x40 -/* 8028C864 002897C4 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8028C868 002897C8 93 81 00 50 */ stw r28, 0x50(r1) -/* 8028C86C 002897CC 90 81 00 08 */ stw r4, 8(r1) -/* 8028C870 002897D0 38 80 00 04 */ li r4, 4 -/* 8028C874 002897D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028C878 002897D8 90 01 00 48 */ stw r0, 0x48(r1) -/* 8028C87C 002897DC 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8028C880 002897E0 4B F4 99 7D */ bl "reserve__Q24rstl37vectorFi" -/* 8028C884 002897E4 38 00 00 04 */ li r0, 4 -/* 8028C888 002897E8 83 9E 0A B8 */ lwz r28, 0xab8(r30) -/* 8028C88C 002897EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028C890 002897F0 90 01 00 38 */ stw r0, 0x38(r1) -/* 8028C894 002897F4 48 00 00 0C */ b lbl_8028C8A0 -/* 8028C898 002897F8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8028C89C 002897FC 48 00 00 20 */ b lbl_8028C8BC -lbl_8028C8A0: -/* 8028C8A0 00289800 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8028C8A4 00289804 38 60 00 04 */ li r3, 4 -/* 8028C8A8 00289808 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8028C8AC 0028980C 38 A0 00 00 */ li r5, 0 -/* 8028C8B0 00289810 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 8028C8B4 00289814 48 08 8F 65 */ bl __nwa__FUlPCcPCc -/* 8028C8B8 00289818 90 61 00 3C */ stw r3, 0x3c(r1) -lbl_8028C8BC: -/* 8028C8BC 0028981C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8028C8C0 00289820 28 03 00 00 */ cmplwi r3, 0 -/* 8028C8C4 00289824 41 82 00 0C */ beq lbl_8028C8D0 -/* 8028C8C8 00289828 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) -/* 8028C8CC 0028982C 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C8D0: -/* 8028C8D0 00289830 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C8D4 00289834 41 82 00 0C */ beq lbl_8028C8E0 -/* 8028C8D8 00289838 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) -/* 8028C8DC 0028983C 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C8E0: -/* 8028C8E0 00289840 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C8E4 00289844 41 82 00 0C */ beq lbl_8028C8F0 -/* 8028C8E8 00289848 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) -/* 8028C8EC 0028984C 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C8F0: -/* 8028C8F0 00289850 34 63 00 01 */ addic. r3, r3, 1 -/* 8028C8F4 00289854 41 82 00 0C */ beq lbl_8028C900 -/* 8028C8F8 00289858 88 0D 99 B8 */ lbz r0, lbl_805A8578@sda21(r13) -/* 8028C8FC 0028985C 98 03 00 00 */ stb r0, 0(r3) -lbl_8028C900: -/* 8028C900 00289860 28 1C 00 00 */ cmplwi r28, 0 -/* 8028C904 00289864 80 E1 00 3C */ lwz r7, 0x3c(r1) -/* 8028C908 00289868 7F 83 E3 78 */ mr r3, r28 -/* 8028C90C 0028986C 38 80 00 00 */ li r4, 0 -/* 8028C910 00289870 40 81 00 FC */ ble lbl_8028CA0C -/* 8028C914 00289874 57 80 E8 FF */ rlwinm. r0, r28, 0x1d, 3, 0x1f -/* 8028C918 00289878 7C 09 03 A6 */ mtctr r0 -/* 8028C91C 0028987C 41 82 00 D0 */ beq lbl_8028C9EC -lbl_8028C920: -/* 8028C920 00289880 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C924 00289884 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C928 00289888 38 84 00 04 */ addi r4, r4, 4 -/* 8028C92C 0028988C 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C930 00289890 38 05 00 01 */ addi r0, r5, 1 -/* 8028C934 00289894 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C938 00289898 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C93C 0028989C 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C940 002898A0 38 84 00 04 */ addi r4, r4, 4 -/* 8028C944 002898A4 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C948 002898A8 38 05 00 01 */ addi r0, r5, 1 -/* 8028C94C 002898AC 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C950 002898B0 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C954 002898B4 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C958 002898B8 38 84 00 04 */ addi r4, r4, 4 -/* 8028C95C 002898BC 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C960 002898C0 38 05 00 01 */ addi r0, r5, 1 -/* 8028C964 002898C4 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C968 002898C8 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C96C 002898CC 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C970 002898D0 38 84 00 04 */ addi r4, r4, 4 -/* 8028C974 002898D4 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C978 002898D8 38 05 00 01 */ addi r0, r5, 1 -/* 8028C97C 002898DC 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C980 002898E0 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C984 002898E4 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C988 002898E8 38 84 00 04 */ addi r4, r4, 4 -/* 8028C98C 002898EC 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C990 002898F0 38 05 00 01 */ addi r0, r5, 1 -/* 8028C994 002898F4 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C998 002898F8 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C99C 002898FC 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C9A0 00289900 38 84 00 04 */ addi r4, r4, 4 -/* 8028C9A4 00289904 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C9A8 00289908 38 05 00 01 */ addi r0, r5, 1 -/* 8028C9AC 0028990C 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C9B0 00289910 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C9B4 00289914 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C9B8 00289918 38 84 00 04 */ addi r4, r4, 4 -/* 8028C9BC 0028991C 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C9C0 00289920 38 05 00 01 */ addi r0, r5, 1 -/* 8028C9C4 00289924 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C9C8 00289928 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C9CC 0028992C 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C9D0 00289930 38 84 00 04 */ addi r4, r4, 4 -/* 8028C9D4 00289934 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028C9D8 00289938 38 05 00 01 */ addi r0, r5, 1 -/* 8028C9DC 0028993C 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028C9E0 00289940 42 00 FF 40 */ bdnz lbl_8028C920 -/* 8028C9E4 00289944 70 63 00 07 */ andi. r3, r3, 7 -/* 8028C9E8 00289948 41 82 00 24 */ beq lbl_8028CA0C -lbl_8028C9EC: -/* 8028C9EC 0028994C 7C 69 03 A6 */ mtctr r3 -lbl_8028C9F0: -/* 8028C9F0 00289950 80 BE 0A C0 */ lwz r5, 0xac0(r30) -/* 8028C9F4 00289954 7C C5 20 2E */ lwzx r6, r5, r4 -/* 8028C9F8 00289958 38 84 00 04 */ addi r4, r4, 4 -/* 8028C9FC 0028995C 7C A7 30 AE */ lbzx r5, r7, r6 -/* 8028CA00 00289960 38 05 00 01 */ addi r0, r5, 1 -/* 8028CA04 00289964 7C 07 31 AE */ stbx r0, r7, r6 -/* 8028CA08 00289968 42 00 FF E8 */ bdnz lbl_8028C9F0 -lbl_8028CA0C: -/* 8028CA0C 0028996C 3B 80 00 00 */ li r28, 0 -lbl_8028CA10: -/* 8028CA10 00289970 80 7E 0B 88 */ lwz r3, 0xb88(r30) -/* 8028CA14 00289974 7C 03 E0 AE */ lbzx r0, r3, r28 -/* 8028CA18 00289978 28 00 00 00 */ cmplwi r0, 0 -/* 8028CA1C 0028997C 40 82 00 14 */ bne lbl_8028CA30 -/* 8028CA20 00289980 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8028CA24 00289984 7C 03 E0 AE */ lbzx r0, r3, r28 -/* 8028CA28 00289988 28 00 00 00 */ cmplwi r0, 0 -/* 8028CA2C 0028998C 41 82 00 50 */ beq lbl_8028CA7C -lbl_8028CA30: -/* 8028CA30 00289990 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028CA34 00289994 57 9D 06 3E */ clrlwi r29, r28, 0x18 -/* 8028CA38 00289998 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 8028CA3C 0028999C 7C 00 28 00 */ cmpw r0, r5 -/* 8028CA40 002899A0 41 80 00 1C */ blt lbl_8028CA5C -/* 8028CA44 002899A4 2C 05 00 00 */ cmpwi r5, 0 -/* 8028CA48 002899A8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8028CA4C 002899AC 38 80 00 04 */ li r4, 4 -/* 8028CA50 002899B0 41 82 00 08 */ beq lbl_8028CA58 -/* 8028CA54 002899B4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8028CA58: -/* 8028CA58 002899B8 4B F4 97 A5 */ bl "reserve__Q24rstl37vectorFi" -lbl_8028CA5C: -/* 8028CA5C 002899BC 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028CA60 002899C0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028CA64 002899C4 7C 63 02 15 */ add. r3, r3, r0 -/* 8028CA68 002899C8 41 82 00 08 */ beq lbl_8028CA70 -/* 8028CA6C 002899CC 9B A3 00 00 */ stb r29, 0(r3) -lbl_8028CA70: -/* 8028CA70 002899D0 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8028CA74 002899D4 38 03 00 01 */ addi r0, r3, 1 -/* 8028CA78 002899D8 90 01 00 44 */ stw r0, 0x44(r1) -lbl_8028CA7C: -/* 8028CA7C 002899DC 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028CA80 002899E0 28 1C 00 04 */ cmplwi r28, 4 -/* 8028CA84 002899E4 41 80 FF 8C */ blt lbl_8028CA10 -/* 8028CA88 002899E8 83 81 00 44 */ lwz r28, 0x44(r1) -/* 8028CA8C 002899EC 2C 1C 00 00 */ cmpwi r28, 0 -/* 8028CA90 002899F0 40 81 00 B4 */ ble lbl_8028CB44 -/* 8028CA94 002899F4 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8028CA98 002899F8 48 08 5A 89 */ bl Next__9CRandom16Fv -/* 8028CA9C 002899FC 7C 03 E3 96 */ divwu r0, r3, r28 -/* 8028CAA0 00289A00 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 8028CAA4 00289A04 83 BE 0A B8 */ lwz r29, 0xab8(r30) -/* 8028CAA8 00289A08 7C 00 E1 D6 */ mullw r0, r0, r28 -/* 8028CAAC 00289A0C 7C 00 18 50 */ subf r0, r0, r3 -/* 8028CAB0 00289A10 7F C3 F3 78 */ mr r3, r30 -/* 8028CAB4 00289A14 7F 84 00 AE */ lbzx r28, r4, r0 -/* 8028CAB8 00289A18 4B FF F7 79 */ bl sub_8028c230 -/* 8028CABC 00289A1C 7C 7D 1A 14 */ add r3, r29, r3 -/* 8028CAC0 00289A20 80 01 00 08 */ lwz r0, 8(r1) -/* 8028CAC4 00289A24 20 83 00 03 */ subfic r4, r3, 3 -/* 8028CAC8 00289A28 38 61 00 08 */ addi r3, r1, 8 -/* 8028CACC 00289A2C 7C 04 00 40 */ cmplw r4, r0 -/* 8028CAD0 00289A30 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8028CAD4 00289A34 40 80 00 08 */ bge lbl_8028CADC -/* 8028CAD8 00289A38 38 61 00 2C */ addi r3, r1, 0x2c -lbl_8028CADC: -/* 8028CADC 00289A3C 83 A3 00 00 */ lwz r29, 0(r3) -/* 8028CAE0 00289A40 3B E0 00 00 */ li r31, 0 -/* 8028CAE4 00289A44 48 00 00 54 */ b lbl_8028CB38 -lbl_8028CAE8: -/* 8028CAE8 00289A48 80 1E 0A B8 */ lwz r0, 0xab8(r30) -/* 8028CAEC 00289A4C 80 BE 0A BC */ lwz r5, 0xabc(r30) -/* 8028CAF0 00289A50 7C 00 28 00 */ cmpw r0, r5 -/* 8028CAF4 00289A54 41 80 00 1C */ blt lbl_8028CB10 -/* 8028CAF8 00289A58 2C 05 00 00 */ cmpwi r5, 0 -/* 8028CAFC 00289A5C 38 7E 0A B4 */ addi r3, r30, 0xab4 -/* 8028CB00 00289A60 38 80 00 04 */ li r4, 4 -/* 8028CB04 00289A64 41 82 00 08 */ beq lbl_8028CB0C -/* 8028CB08 00289A68 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8028CB0C: -/* 8028CB0C 00289A6C 48 00 59 E5 */ bl sub_802924f0 -lbl_8028CB10: -/* 8028CB10 00289A70 80 1E 0A B8 */ lwz r0, 0xab8(r30) -/* 8028CB14 00289A74 80 7E 0A C0 */ lwz r3, 0xac0(r30) -/* 8028CB18 00289A78 54 00 10 3A */ slwi r0, r0, 2 -/* 8028CB1C 00289A7C 7C 63 02 15 */ add. r3, r3, r0 -/* 8028CB20 00289A80 41 82 00 08 */ beq lbl_8028CB28 -/* 8028CB24 00289A84 93 83 00 00 */ stw r28, 0(r3) -lbl_8028CB28: -/* 8028CB28 00289A88 80 7E 0A B8 */ lwz r3, 0xab8(r30) -/* 8028CB2C 00289A8C 3B FF 00 01 */ addi r31, r31, 1 -/* 8028CB30 00289A90 38 03 00 01 */ addi r0, r3, 1 -/* 8028CB34 00289A94 90 1E 0A B8 */ stw r0, 0xab8(r30) -lbl_8028CB38: -/* 8028CB38 00289A98 7C 1F E8 00 */ cmpw r31, r29 -/* 8028CB3C 00289A9C 41 80 FF AC */ blt lbl_8028CAE8 -/* 8028CB40 00289AA0 48 00 00 14 */ b lbl_8028CB54 -lbl_8028CB44: -/* 8028CB44 00289AA4 80 81 00 08 */ lwz r4, 8(r1) -/* 8028CB48 00289AA8 7F C3 F3 78 */ mr r3, r30 -/* 8028CB4C 00289AAC 7F E5 FB 78 */ mr r5, r31 -/* 8028CB50 00289AB0 48 00 00 9D */ bl sub_8028cbec -lbl_8028CB54: -/* 8028CB54 00289AB4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8028CB58 00289AB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028CB5C 00289ABC 90 61 00 20 */ stw r3, 0x20(r1) -/* 8028CB60 00289AC0 7C 83 02 14 */ add r4, r3, r0 -/* 8028CB64 00289AC4 7C 03 20 50 */ subf r0, r3, r4 -/* 8028CB68 00289AC8 90 81 00 28 */ stw r4, 0x28(r1) -/* 8028CB6C 00289ACC 90 81 00 24 */ stw r4, 0x24(r1) -/* 8028CB70 00289AD0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8028CB74 00289AD4 7C 09 03 A6 */ mtctr r0 -/* 8028CB78 00289AD8 7C 03 20 40 */ cmplw r3, r4 -/* 8028CB7C 00289ADC 41 82 00 08 */ beq lbl_8028CB84 -lbl_8028CB80: -/* 8028CB80 00289AE0 42 00 00 00 */ bdnz lbl_8028CB80 -lbl_8028CB84: -/* 8028CB84 00289AE4 28 03 00 00 */ cmplwi r3, 0 -/* 8028CB88 00289AE8 41 82 00 08 */ beq lbl_8028CB90 -/* 8028CB8C 00289AEC 48 08 8D A5 */ bl Free__7CMemoryFPCv -lbl_8028CB90: -/* 8028CB90 00289AF0 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028CB94 00289AF4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028CB98 00289AF8 90 61 00 10 */ stw r3, 0x10(r1) -/* 8028CB9C 00289AFC 7C 83 02 14 */ add r4, r3, r0 -/* 8028CBA0 00289B00 7C 03 20 50 */ subf r0, r3, r4 -/* 8028CBA4 00289B04 90 81 00 18 */ stw r4, 0x18(r1) -/* 8028CBA8 00289B08 90 81 00 14 */ stw r4, 0x14(r1) -/* 8028CBAC 00289B0C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028CBB0 00289B10 7C 09 03 A6 */ mtctr r0 -/* 8028CBB4 00289B14 7C 03 20 40 */ cmplw r3, r4 -/* 8028CBB8 00289B18 41 82 00 08 */ beq lbl_8028CBC0 -lbl_8028CBBC: -/* 8028CBBC 00289B1C 42 00 00 00 */ bdnz lbl_8028CBBC -lbl_8028CBC0: -/* 8028CBC0 00289B20 28 03 00 00 */ cmplwi r3, 0 -/* 8028CBC4 00289B24 41 82 00 08 */ beq lbl_8028CBCC -/* 8028CBC8 00289B28 48 08 8D 69 */ bl Free__7CMemoryFPCv -lbl_8028CBCC: -/* 8028CBCC 00289B2C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028CBD0 00289B30 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8028CBD4 00289B34 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8028CBD8 00289B38 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8028CBDC 00289B3C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8028CBE0 00289B40 7C 08 03 A6 */ mtlr r0 -/* 8028CBE4 00289B44 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028CBE8 00289B48 4E 80 00 20 */ blr - -.global sub_8028cbec -sub_8028cbec: -/* 8028CBEC 00289B4C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028CBF0 00289B50 7C 08 02 A6 */ mflr r0 -/* 8028CBF4 00289B54 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028CBF8 00289B58 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028CBFC 00289B5C 7C 7F 1B 78 */ mr r31, r3 -/* 8028CC00 00289B60 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028CC04 00289B64 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028CC08 00289B68 93 81 00 10 */ stw r28, 0x10(r1) -/* 8028CC0C 00289B6C 7C BC 2B 78 */ mr r28, r5 -/* 8028CC10 00289B70 90 81 00 08 */ stw r4, 8(r1) -/* 8028CC14 00289B74 80 65 09 00 */ lwz r3, 0x900(r5) -/* 8028CC18 00289B78 48 08 59 09 */ bl Next__9CRandom16Fv -/* 8028CC1C 00289B7C 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 8028CC20 00289B80 54 64 0F FE */ srwi r4, r3, 0x1f -/* 8028CC24 00289B84 7C 04 00 50 */ subf r0, r4, r0 -/* 8028CC28 00289B88 83 DF 0A B8 */ lwz r30, 0xab8(r31) -/* 8028CC2C 00289B8C 54 00 10 3E */ rotlwi r0, r0, 2 -/* 8028CC30 00289B90 7F E3 FB 78 */ mr r3, r31 -/* 8028CC34 00289B94 7F A0 22 14 */ add r29, r0, r4 -/* 8028CC38 00289B98 4B FF F5 F9 */ bl sub_8028c230 -/* 8028CC3C 00289B9C 7C 7E 1A 14 */ add r3, r30, r3 -/* 8028CC40 00289BA0 80 01 00 08 */ lwz r0, 8(r1) -/* 8028CC44 00289BA4 20 83 00 03 */ subfic r4, r3, 3 -/* 8028CC48 00289BA8 38 61 00 08 */ addi r3, r1, 8 -/* 8028CC4C 00289BAC 7C 04 00 40 */ cmplw r4, r0 -/* 8028CC50 00289BB0 90 81 00 0C */ stw r4, 0xc(r1) -/* 8028CC54 00289BB4 40 80 00 08 */ bge lbl_8028CC5C -/* 8028CC58 00289BB8 38 61 00 0C */ addi r3, r1, 0xc -lbl_8028CC5C: -/* 8028CC5C 00289BBC 83 C3 00 00 */ lwz r30, 0(r3) -/* 8028CC60 00289BC0 7F E3 FB 78 */ mr r3, r31 -/* 8028CC64 00289BC4 4B FF F3 49 */ bl sub_8028bfac -/* 8028CC68 00289BC8 28 03 00 02 */ cmplwi r3, 2 -/* 8028CC6C 00289BCC 40 80 00 68 */ bge lbl_8028CCD4 -/* 8028CC70 00289BD0 3B 80 00 00 */ li r28, 0 -/* 8028CC74 00289BD4 48 00 00 54 */ b lbl_8028CCC8 -lbl_8028CC78: -/* 8028CC78 00289BD8 80 1F 0A B8 */ lwz r0, 0xab8(r31) -/* 8028CC7C 00289BDC 80 BF 0A BC */ lwz r5, 0xabc(r31) -/* 8028CC80 00289BE0 7C 00 28 00 */ cmpw r0, r5 -/* 8028CC84 00289BE4 41 80 00 1C */ blt lbl_8028CCA0 -/* 8028CC88 00289BE8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028CC8C 00289BEC 38 7F 0A B4 */ addi r3, r31, 0xab4 -/* 8028CC90 00289BF0 38 80 00 04 */ li r4, 4 -/* 8028CC94 00289BF4 41 82 00 08 */ beq lbl_8028CC9C -/* 8028CC98 00289BF8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8028CC9C: -/* 8028CC9C 00289BFC 48 00 58 55 */ bl sub_802924f0 -lbl_8028CCA0: -/* 8028CCA0 00289C00 80 1F 0A B8 */ lwz r0, 0xab8(r31) -/* 8028CCA4 00289C04 80 7F 0A C0 */ lwz r3, 0xac0(r31) -/* 8028CCA8 00289C08 54 00 10 3A */ slwi r0, r0, 2 -/* 8028CCAC 00289C0C 7C 63 02 15 */ add. r3, r3, r0 -/* 8028CCB0 00289C10 41 82 00 08 */ beq lbl_8028CCB8 -/* 8028CCB4 00289C14 93 A3 00 00 */ stw r29, 0(r3) -lbl_8028CCB8: -/* 8028CCB8 00289C18 80 7F 0A B8 */ lwz r3, 0xab8(r31) -/* 8028CCBC 00289C1C 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028CCC0 00289C20 38 03 00 01 */ addi r0, r3, 1 -/* 8028CCC4 00289C24 90 1F 0A B8 */ stw r0, 0xab8(r31) -lbl_8028CCC8: -/* 8028CCC8 00289C28 7C 1C F0 00 */ cmpw r28, r30 -/* 8028CCCC 00289C2C 41 80 FF AC */ blt lbl_8028CC78 -/* 8028CCD0 00289C30 48 00 00 14 */ b lbl_8028CCE4 -lbl_8028CCD4: -/* 8028CCD4 00289C34 7F E3 FB 78 */ mr r3, r31 -/* 8028CCD8 00289C38 7F C4 F3 78 */ mr r4, r30 -/* 8028CCDC 00289C3C 7F 85 E3 78 */ mr r5, r28 -/* 8028CCE0 00289C40 4B FF FB 61 */ bl sub_8028c840 -lbl_8028CCE4: -/* 8028CCE4 00289C44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028CCE8 00289C48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028CCEC 00289C4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028CCF0 00289C50 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028CCF4 00289C54 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8028CCF8 00289C58 7C 08 03 A6 */ mtlr r0 -/* 8028CCFC 00289C5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028CD00 00289C60 4E 80 00 20 */ blr - -.global sub_8028cd04 -sub_8028cd04: -/* 8028CD04 00289C64 80 03 0A 7C */ lwz r0, 0xa7c(r3) -/* 8028CD08 00289C68 2C 00 00 02 */ cmpwi r0, 2 -/* 8028CD0C 00289C6C 41 82 00 D4 */ beq lbl_8028CDE0 -/* 8028CD10 00289C70 40 80 00 10 */ bge lbl_8028CD20 -/* 8028CD14 00289C74 2C 00 00 01 */ cmpwi r0, 1 -/* 8028CD18 00289C78 40 80 00 70 */ bge lbl_8028CD88 -/* 8028CD1C 00289C7C 48 00 01 04 */ b lbl_8028CE20 -lbl_8028CD20: -/* 8028CD20 00289C80 2C 00 00 04 */ cmpwi r0, 4 -/* 8028CD24 00289C84 40 80 00 FC */ bge lbl_8028CE20 -/* 8028CD28 00289C88 C0 63 0A 8C */ lfs f3, 0xa8c(r3) -/* 8028CD2C 00289C8C C0 03 0A 84 */ lfs f0, 0xa84(r3) -/* 8028CD30 00289C90 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028CD34 00289C94 40 80 00 0C */ bge lbl_8028CD40 -/* 8028CD38 00289C98 38 83 0A 8C */ addi r4, r3, 0xa8c -/* 8028CD3C 00289C9C 48 00 00 08 */ b lbl_8028CD44 -lbl_8028CD40: -/* 8028CD40 00289CA0 38 83 0A 84 */ addi r4, r3, 0xa84 -lbl_8028CD44: -/* 8028CD44 00289CA4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8028CD48 00289CA8 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 8028CD4C 00289CAC EC 00 18 24 */ fdivs f0, f0, f3 -/* 8028CD50 00289CB0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8028CD54 00289CB4 D0 03 0A 80 */ stfs f0, 0xa80(r3) -/* 8028CD58 00289CB8 C0 43 0A 84 */ lfs f2, 0xa84(r3) -/* 8028CD5C 00289CBC C0 03 0A 8C */ lfs f0, 0xa8c(r3) -/* 8028CD60 00289CC0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CD64 00289CC4 40 81 00 14 */ ble lbl_8028CD78 -/* 8028CD68 00289CC8 38 00 00 02 */ li r0, 2 -/* 8028CD6C 00289CCC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028CD70 00289CD0 90 03 0A 7C */ stw r0, 0xa7c(r3) -/* 8028CD74 00289CD4 D0 03 0A 84 */ stfs f0, 0xa84(r3) -lbl_8028CD78: -/* 8028CD78 00289CD8 C0 03 0A 84 */ lfs f0, 0xa84(r3) -/* 8028CD7C 00289CDC EC 00 08 2A */ fadds f0, f0, f1 -/* 8028CD80 00289CE0 D0 03 0A 84 */ stfs f0, 0xa84(r3) -/* 8028CD84 00289CE4 4E 80 00 20 */ blr -lbl_8028CD88: -/* 8028CD88 00289CE8 C0 43 0A 90 */ lfs f2, 0xa90(r3) -/* 8028CD8C 00289CEC C0 03 0A 84 */ lfs f0, 0xa84(r3) -/* 8028CD90 00289CF0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CD94 00289CF4 40 80 00 0C */ bge lbl_8028CDA0 -/* 8028CD98 00289CF8 38 83 0A 90 */ addi r4, r3, 0xa90 -/* 8028CD9C 00289CFC 48 00 00 08 */ b lbl_8028CDA4 -lbl_8028CDA0: -/* 8028CDA0 00289D00 38 83 0A 84 */ addi r4, r3, 0xa84 -lbl_8028CDA4: -/* 8028CDA4 00289D04 C0 04 00 00 */ lfs f0, 0(r4) -/* 8028CDA8 00289D08 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8028CDAC 00289D0C D0 03 0A 80 */ stfs f0, 0xa80(r3) -/* 8028CDB0 00289D10 C0 43 0A 84 */ lfs f2, 0xa84(r3) -/* 8028CDB4 00289D14 C0 03 0A 90 */ lfs f0, 0xa90(r3) -/* 8028CDB8 00289D18 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CDBC 00289D1C 40 81 00 14 */ ble lbl_8028CDD0 -/* 8028CDC0 00289D20 38 00 00 00 */ li r0, 0 -/* 8028CDC4 00289D24 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028CDC8 00289D28 90 03 0A 7C */ stw r0, 0xa7c(r3) -/* 8028CDCC 00289D2C D0 03 0A 84 */ stfs f0, 0xa84(r3) -lbl_8028CDD0: -/* 8028CDD0 00289D30 C0 03 0A 84 */ lfs f0, 0xa84(r3) -/* 8028CDD4 00289D34 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028CDD8 00289D38 D0 03 0A 84 */ stfs f0, 0xa84(r3) -/* 8028CDDC 00289D3C 4E 80 00 20 */ blr -lbl_8028CDE0: -/* 8028CDE0 00289D40 C0 62 BE 9C */ lfs f3, lbl_805ADBBC@sda21(r2) -/* 8028CDE4 00289D44 D0 63 0A 80 */ stfs f3, 0xa80(r3) -/* 8028CDE8 00289D48 C0 43 0A 84 */ lfs f2, 0xa84(r3) -/* 8028CDEC 00289D4C C0 03 0A 94 */ lfs f0, 0xa94(r3) -/* 8028CDF0 00289D50 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CDF4 00289D54 40 81 00 1C */ ble lbl_8028CE10 -/* 8028CDF8 00289D58 88 03 0A 88 */ lbz r0, 0xa88(r3) -/* 8028CDFC 00289D5C 28 00 00 00 */ cmplwi r0, 0 -/* 8028CE00 00289D60 40 82 00 10 */ bne lbl_8028CE10 -/* 8028CE04 00289D64 38 00 00 01 */ li r0, 1 -/* 8028CE08 00289D68 90 03 0A 7C */ stw r0, 0xa7c(r3) -/* 8028CE0C 00289D6C D0 63 0A 84 */ stfs f3, 0xa84(r3) -lbl_8028CE10: -/* 8028CE10 00289D70 C0 03 0A 84 */ lfs f0, 0xa84(r3) -/* 8028CE14 00289D74 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028CE18 00289D78 D0 03 0A 84 */ stfs f0, 0xa84(r3) -/* 8028CE1C 00289D7C 4E 80 00 20 */ blr -lbl_8028CE20: -/* 8028CE20 00289D80 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028CE24 00289D84 D0 03 0A 80 */ stfs f0, 0xa80(r3) -/* 8028CE28 00289D88 4E 80 00 20 */ blr - -.global sub_8028ce2c -sub_8028ce2c: -/* 8028CE2C 00289D8C 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8028CE30 00289D90 7C 08 02 A6 */ mflr r0 -/* 8028CE34 00289D94 90 01 01 44 */ stw r0, 0x144(r1) -/* 8028CE38 00289D98 BF 21 01 24 */ stmw r25, 0x124(r1) -/* 8028CE3C 00289D9C 7C B9 2B 78 */ mr r25, r5 -/* 8028CE40 00289DA0 7C DA 33 78 */ mr r26, r6 -/* 8028CE44 00289DA4 7C 9E 23 78 */ mr r30, r4 -/* 8028CE48 00289DA8 3B A1 00 B8 */ addi r29, r1, 0xb8 -/* 8028CE4C 00289DAC 3B 81 00 FC */ addi r28, r1, 0xfc -/* 8028CE50 00289DB0 3B 60 00 00 */ li r27, 0 -/* 8028CE54 00289DB4 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8028CE58 00289DB8 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8028CE5C 00289DBC 48 00 01 D8 */ b lbl_8028D034 -lbl_8028CE60: -/* 8028CE60 00289DC0 80 9E 00 00 */ lwz r4, 0(r30) -/* 8028CE64 00289DC4 38 61 00 7C */ addi r3, r1, 0x7c -/* 8028CE68 00289DC8 4B D7 7E 51 */ bl string_l__4rstlFPCc -/* 8028CE6C 00289DCC 7F E4 FB 78 */ mr r4, r31 -/* 8028CE70 00289DD0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028CE74 00289DD4 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8028CE78 00289DD8 4B DA 19 C1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028CE7C 00289DDC 88 01 00 18 */ lbz r0, 0x18(r1) -/* 8028CE80 00289DE0 38 61 00 7C */ addi r3, r1, 0x7c -/* 8028CE84 00289DE4 98 01 00 20 */ stb r0, 0x20(r1) -/* 8028CE88 00289DE8 48 0B 0C 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028CE8C 00289DEC 80 9E 00 04 */ lwz r4, 4(r30) -/* 8028CE90 00289DF0 38 61 00 6C */ addi r3, r1, 0x6c -/* 8028CE94 00289DF4 4B D7 7E 25 */ bl string_l__4rstlFPCc -/* 8028CE98 00289DF8 7F E4 FB 78 */ mr r4, r31 -/* 8028CE9C 00289DFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028CEA0 00289E00 38 A1 00 6C */ addi r5, r1, 0x6c -/* 8028CEA4 00289E04 4B DA 19 95 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028CEA8 00289E08 88 01 00 14 */ lbz r0, 0x14(r1) -/* 8028CEAC 00289E0C 38 61 00 6C */ addi r3, r1, 0x6c -/* 8028CEB0 00289E10 98 01 00 1C */ stb r0, 0x1c(r1) -/* 8028CEB4 00289E14 48 0B 0C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028CEB8 00289E18 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8028CEBC 00289E1C 28 00 00 FF */ cmplwi r0, 0xff -/* 8028CEC0 00289E20 41 82 01 6C */ beq lbl_8028D02C -/* 8028CEC4 00289E24 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 8028CEC8 00289E28 28 00 00 FF */ cmplwi r0, 0xff -/* 8028CECC 00289E2C 41 82 01 60 */ beq lbl_8028D02C -/* 8028CED0 00289E30 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8028CED4 00289E34 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028CED8 00289E38 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8028CEDC 00289E3C 38 C1 00 08 */ addi r6, r1, 8 -/* 8028CEE0 00289E40 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8028CEE4 00289E44 38 A0 FF FF */ li r5, -1 -/* 8028CEE8 00289E48 48 0B 12 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8028CEEC 00289E4C 7F 64 DB 78 */ mr r4, r27 -/* 8028CEF0 00289E50 38 61 00 34 */ addi r3, r1, 0x34 -/* 8028CEF4 00289E54 48 0B 19 A1 */ bl CreateFromInteger__13CStringExtrasFi -/* 8028CEF8 00289E58 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028CEFC 00289E5C 38 81 00 44 */ addi r4, r1, 0x44 -/* 8028CF00 00289E60 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8028CF04 00289E64 4B D7 7D 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028CF08 00289E68 C0 BE 00 10 */ lfs f5, 0x10(r30) -/* 8028CF0C 00289E6C 38 61 00 8C */ addi r3, r1, 0x8c -/* 8028CF10 00289E70 C0 9E 00 0C */ lfs f4, 0xc(r30) -/* 8028CF14 00289E74 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028CF18 00289E78 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028CF1C 00289E7C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8028CF20 00289E80 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8028CF24 00289E84 38 C1 00 60 */ addi r6, r1, 0x60 -/* 8028CF28 00289E88 EC 44 00 32 */ fmuls f2, f4, f0 -/* 8028CF2C 00289E8C 89 21 00 1C */ lbz r9, 0x1c(r1) -/* 8028CF30 00289E90 EC 61 00 32 */ fmuls f3, f1, f0 -/* 8028CF34 00289E94 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8028CF38 00289E98 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8028CF3C 00289E9C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8028CF40 00289EA0 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8028CF44 00289EA4 39 01 00 24 */ addi r8, r1, 0x24 -/* 8028CF48 00289EA8 C0 22 BE C8 */ lfs f1, lbl_805ADBE8@sda21(r2) -/* 8028CF4C 00289EAC 38 E0 00 01 */ li r7, 1 -/* 8028CF50 00289EB0 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 8028CF54 00289EB4 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 8028CF58 00289EB8 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8028CF5C 00289EBC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8028CF60 00289EC0 99 21 00 0C */ stb r9, 0xc(r1) -/* 8028CF64 00289EC4 98 01 00 10 */ stb r0, 0x10(r1) -/* 8028CF68 00289EC8 4B F1 B6 6D */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 8028CF6C 00289ECC 80 E1 00 8C */ lwz r7, 0x8c(r1) -/* 8028CF70 00289ED0 7F 83 E3 78 */ mr r3, r28 -/* 8028CF74 00289ED4 80 C1 00 90 */ lwz r6, 0x90(r1) -/* 8028CF78 00289ED8 7F A4 EB 78 */ mr r4, r29 -/* 8028CF7C 00289EDC 88 A1 00 94 */ lbz r5, 0x94(r1) -/* 8028CF80 00289EE0 88 01 00 95 */ lbz r0, 0x95(r1) -/* 8028CF84 00289EE4 C0 E1 00 98 */ lfs f7, 0x98(r1) -/* 8028CF88 00289EE8 C0 C1 00 9C */ lfs f6, 0x9c(r1) -/* 8028CF8C 00289EEC C0 A1 00 A0 */ lfs f5, 0xa0(r1) -/* 8028CF90 00289EF0 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 8028CF94 00289EF4 C0 61 00 A8 */ lfs f3, 0xa8(r1) -/* 8028CF98 00289EF8 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8028CF9C 00289EFC C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 8028CFA0 00289F00 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 8028CFA4 00289F04 90 E1 00 D0 */ stw r7, 0xd0(r1) -/* 8028CFA8 00289F08 90 C1 00 D4 */ stw r6, 0xd4(r1) -/* 8028CFAC 00289F0C 98 A1 00 D8 */ stb r5, 0xd8(r1) -/* 8028CFB0 00289F10 98 01 00 D9 */ stb r0, 0xd9(r1) -/* 8028CFB4 00289F14 D0 E1 00 DC */ stfs f7, 0xdc(r1) -/* 8028CFB8 00289F18 D0 C1 00 E0 */ stfs f6, 0xe0(r1) -/* 8028CFBC 00289F1C D0 A1 00 E4 */ stfs f5, 0xe4(r1) -/* 8028CFC0 00289F20 D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 8028CFC4 00289F24 D0 61 00 EC */ stfs f3, 0xec(r1) -/* 8028CFC8 00289F28 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 8028CFCC 00289F2C D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 8028CFD0 00289F30 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 8028CFD4 00289F34 48 0B 11 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028CFD8 00289F38 A0 01 00 C8 */ lhz r0, 0xc8(r1) -/* 8028CFDC 00289F3C 28 1D 00 00 */ cmplwi r29, 0 -/* 8028CFE0 00289F40 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 8028CFE4 00289F44 B0 01 01 0C */ sth r0, 0x10c(r1) -/* 8028CFE8 00289F48 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 8028CFEC 00289F4C 41 82 00 0C */ beq lbl_8028CFF8 -/* 8028CFF0 00289F50 7F A3 EB 78 */ mr r3, r29 -/* 8028CFF4 00289F54 48 0B 0A ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028CFF8: -/* 8028CFF8 00289F58 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028CFFC 00289F5C 48 0B 0A E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028D000 00289F60 38 61 00 34 */ addi r3, r1, 0x34 -/* 8028D004 00289F64 48 0B 0A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028D008 00289F68 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028D00C 00289F6C 48 0B 0A D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028D010 00289F70 7F 43 D3 78 */ mr r3, r26 -/* 8028D014 00289F74 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8028D018 00289F78 4B EC 92 19 */ bl sub_80156230 -/* 8028D01C 00289F7C 28 1C 00 00 */ cmplwi r28, 0 -/* 8028D020 00289F80 41 82 00 0C */ beq lbl_8028D02C -/* 8028D024 00289F84 7F 83 E3 78 */ mr r3, r28 -/* 8028D028 00289F88 48 0B 0A B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028D02C: -/* 8028D02C 00289F8C 3B DE 00 14 */ addi r30, r30, 0x14 -/* 8028D030 00289F90 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8028D034: -/* 8028D034 00289F94 7C 1B C8 00 */ cmpw r27, r25 -/* 8028D038 00289F98 41 80 FE 28 */ blt lbl_8028CE60 -/* 8028D03C 00289F9C BB 21 01 24 */ lmw r25, 0x124(r1) -/* 8028D040 00289FA0 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8028D044 00289FA4 7C 08 03 A6 */ mtlr r0 -/* 8028D048 00289FA8 38 21 01 40 */ addi r1, r1, 0x140 -/* 8028D04C 00289FAC 4E 80 00 20 */ blr - -.global sub_8028d050 -sub_8028d050: -/* 8028D050 00289FB0 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8028D054 00289FB4 7C 08 02 A6 */ mflr r0 -/* 8028D058 00289FB8 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8028D05C 00289FBC BF 21 00 C4 */ stmw r25, 0xc4(r1) -/* 8028D060 00289FC0 7C B9 2B 78 */ mr r25, r5 -/* 8028D064 00289FC4 7C DA 33 78 */ mr r26, r6 -/* 8028D068 00289FC8 7C 9E 23 78 */ mr r30, r4 -/* 8028D06C 00289FCC 3B A1 00 60 */ addi r29, r1, 0x60 -/* 8028D070 00289FD0 3B 81 00 A4 */ addi r28, r1, 0xa4 -/* 8028D074 00289FD4 3B 60 00 00 */ li r27, 0 -/* 8028D078 00289FD8 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8028D07C 00289FDC 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8028D080 00289FE0 48 00 01 20 */ b lbl_8028D1A0 -lbl_8028D084: -/* 8028D084 00289FE4 80 9E 00 00 */ lwz r4, 0(r30) -/* 8028D088 00289FE8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028D08C 00289FEC 4B D7 7C 2D */ bl string_l__4rstlFPCc -/* 8028D090 00289FF0 7F E4 FB 78 */ mr r4, r31 -/* 8028D094 00289FF4 38 61 00 0C */ addi r3, r1, 0xc -/* 8028D098 00289FF8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8028D09C 00289FFC 4B DA 17 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028D0A0 0028A000 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8028D0A4 0028A004 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028D0A8 0028A008 98 01 00 10 */ stb r0, 0x10(r1) -/* 8028D0AC 0028A00C 48 0B 0A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028D0B0 0028A010 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8028D0B4 0028A014 28 00 00 FF */ cmplwi r0, 0xff -/* 8028D0B8 0028A018 41 82 00 E0 */ beq lbl_8028D198 -/* 8028D0BC 0028A01C 80 9E 00 00 */ lwz r4, 0(r30) -/* 8028D0C0 0028A020 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028D0C4 0028A024 4B D7 7B F5 */ bl string_l__4rstlFPCc -/* 8028D0C8 0028A028 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8028D0CC 0028A02C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8028D0D0 0028A030 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8028D0D4 0028A034 38 81 00 08 */ addi r4, r1, 8 -/* 8028D0D8 0028A038 98 01 00 08 */ stb r0, 8(r1) -/* 8028D0DC 0028A03C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8028D0E0 0028A040 C0 42 BE C8 */ lfs f2, lbl_805ADBE8@sda21(r2) -/* 8028D0E4 0028A044 4B F1 B7 29 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 8028D0E8 0028A048 80 E1 00 34 */ lwz r7, 0x34(r1) -/* 8028D0EC 0028A04C 7F 83 E3 78 */ mr r3, r28 -/* 8028D0F0 0028A050 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8028D0F4 0028A054 7F A4 EB 78 */ mr r4, r29 -/* 8028D0F8 0028A058 88 A1 00 3C */ lbz r5, 0x3c(r1) -/* 8028D0FC 0028A05C 88 01 00 3D */ lbz r0, 0x3d(r1) -/* 8028D100 0028A060 C0 E1 00 40 */ lfs f7, 0x40(r1) -/* 8028D104 0028A064 C0 C1 00 44 */ lfs f6, 0x44(r1) -/* 8028D108 0028A068 C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 8028D10C 0028A06C C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 8028D110 0028A070 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 8028D114 0028A074 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 8028D118 0028A078 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 8028D11C 0028A07C C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8028D120 0028A080 90 E1 00 78 */ stw r7, 0x78(r1) -/* 8028D124 0028A084 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 8028D128 0028A088 98 A1 00 80 */ stb r5, 0x80(r1) -/* 8028D12C 0028A08C 98 01 00 81 */ stb r0, 0x81(r1) -/* 8028D130 0028A090 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 8028D134 0028A094 D0 C1 00 88 */ stfs f6, 0x88(r1) -/* 8028D138 0028A098 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 8028D13C 0028A09C D0 81 00 90 */ stfs f4, 0x90(r1) -/* 8028D140 0028A0A0 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 8028D144 0028A0A4 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8028D148 0028A0A8 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8028D14C 0028A0AC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8028D150 0028A0B0 48 0B 10 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8028D154 0028A0B4 A0 01 00 70 */ lhz r0, 0x70(r1) -/* 8028D158 0028A0B8 28 1D 00 00 */ cmplwi r29, 0 -/* 8028D15C 0028A0BC C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8028D160 0028A0C0 B0 01 00 B4 */ sth r0, 0xb4(r1) -/* 8028D164 0028A0C4 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8028D168 0028A0C8 41 82 00 0C */ beq lbl_8028D174 -/* 8028D16C 0028A0CC 7F A3 EB 78 */ mr r3, r29 -/* 8028D170 0028A0D0 48 0B 09 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028D174: -/* 8028D174 0028A0D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028D178 0028A0D8 48 0B 09 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028D17C 0028A0DC 7F 43 D3 78 */ mr r3, r26 -/* 8028D180 0028A0E0 38 81 00 78 */ addi r4, r1, 0x78 -/* 8028D184 0028A0E4 4B EC 90 AD */ bl sub_80156230 -/* 8028D188 0028A0E8 28 1C 00 00 */ cmplwi r28, 0 -/* 8028D18C 0028A0EC 41 82 00 0C */ beq lbl_8028D198 -/* 8028D190 0028A0F0 7F 83 E3 78 */ mr r3, r28 -/* 8028D194 0028A0F4 48 0B 09 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8028D198: -/* 8028D198 0028A0F8 3B DE 00 08 */ addi r30, r30, 8 -/* 8028D19C 0028A0FC 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8028D1A0: -/* 8028D1A0 0028A100 7C 1B C8 00 */ cmpw r27, r25 -/* 8028D1A4 0028A104 41 80 FE E0 */ blt lbl_8028D084 -/* 8028D1A8 0028A108 BB 21 00 C4 */ lmw r25, 0xc4(r1) -/* 8028D1AC 0028A10C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8028D1B0 0028A110 7C 08 03 A6 */ mtlr r0 -/* 8028D1B4 0028A114 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8028D1B8 0028A118 4E 80 00 20 */ blr - -.global sub_8028d1bc -sub_8028d1bc: -/* 8028D1BC 0028A11C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028D1C0 0028A120 7C 08 02 A6 */ mflr r0 -/* 8028D1C4 0028A124 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028D1C8 0028A128 BE A1 00 34 */ stmw r21, 0x34(r1) -/* 8028D1CC 0028A12C 7C 79 1B 78 */ mr r25, r3 -/* 8028D1D0 0028A130 7C 9A 23 78 */ mr r26, r4 -/* 8028D1D4 0028A134 7C BB 2B 78 */ mr r27, r5 -/* 8028D1D8 0028A138 3B A0 00 00 */ li r29, 0 -/* 8028D1DC 0028A13C 48 00 01 20 */ b lbl_8028D2FC -lbl_8028D1E0: -/* 8028D1E0 0028A140 80 7A 00 00 */ lwz r3, 0(r26) -/* 8028D1E4 0028A144 7F A4 EB 78 */ mr r4, r29 -/* 8028D1E8 0028A148 4B F1 A0 51 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8028D1EC 0028A14C A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8028D1F0 0028A150 7F 63 DB 78 */ mr r3, r27 -/* 8028D1F4 0028A154 38 81 00 08 */ addi r4, r1, 8 -/* 8028D1F8 0028A158 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028D1FC 0028A15C B0 01 00 08 */ sth r0, 8(r1) -/* 8028D200 0028A160 4B DB F3 75 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028D204 0028A164 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8028D208 0028A168 41 82 00 F0 */ beq lbl_8028D2F8 -/* 8028D20C 0028A16C 7F 65 DB 78 */ mr r5, r27 -/* 8028D210 0028A170 38 80 00 1B */ li r4, 0x1b -/* 8028D214 0028A174 4B DC 71 3D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D218 0028A178 7F 83 E3 78 */ mr r3, r28 -/* 8028D21C 0028A17C 7F 65 DB 78 */ mr r5, r27 -/* 8028D220 0028A180 38 80 00 15 */ li r4, 0x15 -/* 8028D224 0028A184 4B DC 71 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D228 0028A188 7F 83 E3 78 */ mr r3, r28 -/* 8028D22C 0028A18C 7F 65 DB 78 */ mr r5, r27 -/* 8028D230 0028A190 38 80 00 35 */ li r4, 0x35 -/* 8028D234 0028A194 4B DC 71 1D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D238 0028A198 7F 83 E3 78 */ mr r3, r28 -/* 8028D23C 0028A19C 7F 65 DB 78 */ mr r5, r27 -/* 8028D240 0028A1A0 38 80 00 2B */ li r4, 0x2b -/* 8028D244 0028A1A4 4B DC 71 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D248 0028A1A8 7F 23 CB 78 */ mr r3, r25 -/* 8028D24C 0028A1AC 4B DC 66 71 */ bl GetMaterialFilter__6CActorCFv -/* 8028D250 0028A1B0 83 E3 00 00 */ lwz r31, 0(r3) -/* 8028D254 0028A1B4 83 03 00 04 */ lwz r24, 4(r3) -/* 8028D258 0028A1B8 7F 23 CB 78 */ mr r3, r25 -/* 8028D25C 0028A1BC 4B DC 66 61 */ bl GetMaterialFilter__6CActorCFv -/* 8028D260 0028A1C0 82 E3 00 08 */ lwz r23, 8(r3) -/* 8028D264 0028A1C4 82 C3 00 0C */ lwz r22, 0xc(r3) -/* 8028D268 0028A1C8 7F 83 E3 78 */ mr r3, r28 -/* 8028D26C 0028A1CC 4B DC 66 51 */ bl GetMaterialFilter__6CActorCFv -/* 8028D270 0028A1D0 82 A3 00 00 */ lwz r21, 0(r3) -/* 8028D274 0028A1D4 83 C3 00 04 */ lwz r30, 4(r3) -/* 8028D278 0028A1D8 7F 83 E3 78 */ mr r3, r28 -/* 8028D27C 0028A1DC 4B DC 66 41 */ bl GetMaterialFilter__6CActorCFv -/* 8028D280 0028A1E0 38 00 FF FE */ li r0, -2 -/* 8028D284 0028A1E4 39 00 FF FF */ li r8, -1 -/* 8028D288 0028A1E8 7E E7 00 38 */ and r7, r23, r0 -/* 8028D28C 0028A1EC 3C C0 00 02 */ lis r6, 2 -/* 8028D290 0028A1F0 62 A0 00 01 */ ori r0, r21, 1 -/* 8028D294 0028A1F4 80 83 00 08 */ lwz r4, 8(r3) -/* 8028D298 0028A1F8 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 8028D29C 0028A1FC 7E C8 40 38 */ and r8, r22, r8 -/* 8028D2A0 0028A200 7C E6 33 78 */ or r6, r7, r6 -/* 8028D2A4 0028A204 7F 03 F3 78 */ or r3, r24, r30 -/* 8028D2A8 0028A208 7D 07 2B 78 */ or r7, r8, r5 -/* 8028D2AC 0028A20C 7F E5 03 78 */ or r5, r31, r0 -/* 8028D2B0 0028A210 7C C6 23 78 */ or r6, r6, r4 -/* 8028D2B4 0028A214 38 00 00 03 */ li r0, 3 -/* 8028D2B8 0028A218 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028D2BC 0028A21C 7F 83 E3 78 */ mr r3, r28 -/* 8028D2C0 0028A220 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028D2C4 0028A224 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8028D2C8 0028A228 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 8028D2CC 0028A22C 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8028D2D0 0028A230 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028D2D4 0028A234 4B DC 65 CD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8028D2D8 0028A238 7F 83 E3 78 */ mr r3, r28 -/* 8028D2DC 0028A23C 7F 65 DB 78 */ mr r5, r27 -/* 8028D2E0 0028A240 38 80 00 12 */ li r4, 0x12 -/* 8028D2E4 0028A244 4B DC 6C 9D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D2E8 0028A248 3C 80 80 57 */ lis r4, lbl_8056D780@ha -/* 8028D2EC 0028A24C 7F 83 E3 78 */ mr r3, r28 -/* 8028D2F0 0028A250 38 84 D7 80 */ addi r4, r4, lbl_8056D780@l -/* 8028D2F4 0028A254 4B F1 B8 A5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability -lbl_8028D2F8: -/* 8028D2F8 0028A258 3B BD 00 01 */ addi r29, r29, 1 -lbl_8028D2FC: -/* 8028D2FC 0028A25C 80 7A 00 00 */ lwz r3, 0(r26) -/* 8028D300 0028A260 4B F1 9F 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 8028D304 0028A264 7C 1D 18 40 */ cmplw r29, r3 -/* 8028D308 0028A268 41 80 FE D8 */ blt lbl_8028D1E0 -/* 8028D30C 0028A26C BA A1 00 34 */ lmw r21, 0x34(r1) -/* 8028D310 0028A270 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028D314 0028A274 7C 08 03 A6 */ mtlr r0 -/* 8028D318 0028A278 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028D31C 0028A27C 4E 80 00 20 */ blr - -.global sub_8028d320 -sub_8028d320: -/* 8028D320 0028A280 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028D324 0028A284 7C 08 02 A6 */ mflr r0 -/* 8028D328 0028A288 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028D32C 0028A28C BE A1 00 34 */ stmw r21, 0x34(r1) -/* 8028D330 0028A290 7C 7B 1B 78 */ mr r27, r3 -/* 8028D334 0028A294 7C 9C 23 78 */ mr r28, r4 -/* 8028D338 0028A298 7C BD 2B 78 */ mr r29, r5 -/* 8028D33C 0028A29C 3B E0 00 00 */ li r31, 0 -/* 8028D340 0028A2A0 48 00 00 FC */ b lbl_8028D43C -lbl_8028D344: -/* 8028D344 0028A2A4 80 7C 00 00 */ lwz r3, 0(r28) -/* 8028D348 0028A2A8 7F E4 FB 78 */ mr r4, r31 -/* 8028D34C 0028A2AC 4B F1 9E ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8028D350 0028A2B0 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8028D354 0028A2B4 7F A3 EB 78 */ mr r3, r29 -/* 8028D358 0028A2B8 38 81 00 08 */ addi r4, r1, 8 -/* 8028D35C 0028A2BC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028D360 0028A2C0 B0 01 00 08 */ sth r0, 8(r1) -/* 8028D364 0028A2C4 4B DB F2 11 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028D368 0028A2C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028D36C 0028A2CC 41 82 00 CC */ beq lbl_8028D438 -/* 8028D370 0028A2D0 7F A5 EB 78 */ mr r5, r29 -/* 8028D374 0028A2D4 38 80 00 1B */ li r4, 0x1b -/* 8028D378 0028A2D8 4B DC 6F D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D37C 0028A2DC 7F C3 F3 78 */ mr r3, r30 -/* 8028D380 0028A2E0 7F A5 EB 78 */ mr r5, r29 -/* 8028D384 0028A2E4 38 80 00 15 */ li r4, 0x15 -/* 8028D388 0028A2E8 4B DC 6F C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D38C 0028A2EC 7F C3 F3 78 */ mr r3, r30 -/* 8028D390 0028A2F0 7F A5 EB 78 */ mr r5, r29 -/* 8028D394 0028A2F4 38 80 00 35 */ li r4, 0x35 -/* 8028D398 0028A2F8 4B DC 6F B9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D39C 0028A2FC 7F C3 F3 78 */ mr r3, r30 -/* 8028D3A0 0028A300 7F A5 EB 78 */ mr r5, r29 -/* 8028D3A4 0028A304 38 80 00 2B */ li r4, 0x2b -/* 8028D3A8 0028A308 4B DC 6F A9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028D3AC 0028A30C 7F 63 DB 78 */ mr r3, r27 -/* 8028D3B0 0028A310 4B DC 65 0D */ bl GetMaterialFilter__6CActorCFv -/* 8028D3B4 0028A314 83 43 00 00 */ lwz r26, 0(r3) -/* 8028D3B8 0028A318 83 23 00 04 */ lwz r25, 4(r3) -/* 8028D3BC 0028A31C 7F 63 DB 78 */ mr r3, r27 -/* 8028D3C0 0028A320 4B DC 64 FD */ bl GetMaterialFilter__6CActorCFv -/* 8028D3C4 0028A324 83 03 00 08 */ lwz r24, 8(r3) -/* 8028D3C8 0028A328 82 E3 00 0C */ lwz r23, 0xc(r3) -/* 8028D3CC 0028A32C 7F C3 F3 78 */ mr r3, r30 -/* 8028D3D0 0028A330 4B DC 64 ED */ bl GetMaterialFilter__6CActorCFv -/* 8028D3D4 0028A334 82 C3 00 00 */ lwz r22, 0(r3) -/* 8028D3D8 0028A338 82 A3 00 04 */ lwz r21, 4(r3) -/* 8028D3DC 0028A33C 7F C3 F3 78 */ mr r3, r30 -/* 8028D3E0 0028A340 4B DC 64 DD */ bl GetMaterialFilter__6CActorCFv -/* 8028D3E4 0028A344 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8028D3E8 0028A348 3C A0 00 02 */ lis r5, 2 -/* 8028D3EC 0028A34C 80 03 00 08 */ lwz r0, 8(r3) -/* 8028D3F0 0028A350 7F 05 2B 78 */ or r5, r24, r5 -/* 8028D3F4 0028A354 7E E7 23 78 */ or r7, r23, r4 -/* 8028D3F8 0028A358 7F 23 AB 78 */ or r3, r25, r21 -/* 8028D3FC 0028A35C 7C A6 03 78 */ or r6, r5, r0 -/* 8028D400 0028A360 7F 45 B3 78 */ or r5, r26, r22 -/* 8028D404 0028A364 38 00 00 03 */ li r0, 3 -/* 8028D408 0028A368 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028D40C 0028A36C 7F C3 F3 78 */ mr r3, r30 -/* 8028D410 0028A370 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028D414 0028A374 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8028D418 0028A378 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 8028D41C 0028A37C 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8028D420 0028A380 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028D424 0028A384 4B DC 64 7D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8028D428 0028A388 7F C3 F3 78 */ mr r3, r30 -/* 8028D42C 0028A38C 7F A5 EB 78 */ mr r5, r29 -/* 8028D430 0028A390 38 80 00 12 */ li r4, 0x12 -/* 8028D434 0028A394 4B DC 6B 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8028D438: -/* 8028D438 0028A398 3B FF 00 01 */ addi r31, r31, 1 -lbl_8028D43C: -/* 8028D43C 0028A39C 80 7C 00 00 */ lwz r3, 0(r28) -/* 8028D440 0028A3A0 4B F1 9E 09 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv -/* 8028D444 0028A3A4 7C 1F 18 40 */ cmplw r31, r3 -/* 8028D448 0028A3A8 41 80 FE FC */ blt lbl_8028D344 -/* 8028D44C 0028A3AC BA A1 00 34 */ lmw r21, 0x34(r1) -/* 8028D450 0028A3B0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028D454 0028A3B4 7C 08 03 A6 */ mtlr r0 -/* 8028D458 0028A3B8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028D45C 0028A3BC 4E 80 00 20 */ blr - -.global sub_8028d460 -sub_8028d460: -/* 8028D460 0028A3C0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028D464 0028A3C4 7C 08 02 A6 */ mflr r0 -/* 8028D468 0028A3C8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028D46C 0028A3CC 38 00 00 00 */ li r0, 0 -/* 8028D470 0028A3D0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8028D474 0028A3D4 7C 9F 23 78 */ mr r31, r4 -/* 8028D478 0028A3D8 38 80 00 01 */ li r4, 1 -/* 8028D47C 0028A3DC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028D480 0028A3E0 7C 7E 1B 78 */ mr r30, r3 -/* 8028D484 0028A3E4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8028D488 0028A3E8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8028D48C 0028A3EC 93 81 00 50 */ stw r28, 0x50(r1) -/* 8028D490 0028A3F0 90 01 00 40 */ stw r0, 0x40(r1) -/* 8028D494 0028A3F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028D498 0028A3F8 90 01 00 48 */ stw r0, 0x48(r1) -/* 8028D49C 0028A3FC 4B EC 93 1D */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" -/* 8028D4A0 0028A400 7F C3 F3 78 */ mr r3, r30 -/* 8028D4A4 0028A404 38 C1 00 3C */ addi r6, r1, 0x3c -/* 8028D4A8 0028A408 38 82 BE 94 */ addi r4, r2, lbl_805ADBB4@sda21 -/* 8028D4AC 0028A40C 38 A0 00 01 */ li r5, 1 -/* 8028D4B0 0028A410 4B FF FB A1 */ bl sub_8028d050 -/* 8028D4B4 0028A414 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8028D4B8 0028A418 38 60 00 18 */ li r3, 0x18 -/* 8028D4BC 0028A41C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8028D4C0 0028A420 38 A0 00 00 */ li r5, 0 -/* 8028D4C4 0028A424 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 8028D4C8 0028A428 48 08 83 A5 */ bl __nw__FUlPCcPCc -/* 8028D4CC 0028A42C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028D4D0 0028A430 41 82 00 38 */ beq lbl_8028D508 -/* 8028D4D4 0028A434 81 3E 00 04 */ lwz r9, 4(r30) -/* 8028D4D8 0028A438 7F E4 FB 78 */ mr r4, r31 -/* 8028D4DC 0028A43C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8028D4E0 0028A440 38 C1 00 28 */ addi r6, r1, 0x28 -/* 8028D4E4 0028A444 91 21 00 28 */ stw r9, 0x28(r1) -/* 8028D4E8 0028A448 38 E1 00 3C */ addi r7, r1, 0x3c -/* 8028D4EC 0028A44C 39 00 00 01 */ li r8, 1 -/* 8028D4F0 0028A450 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8028D4F4 0028A454 91 21 00 24 */ stw r9, 0x24(r1) -/* 8028D4F8 0028A458 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028D4FC 0028A45C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8028D500 0028A460 4B F1 A4 31 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 8028D504 0028A464 7C 7D 1B 78 */ mr r29, r3 -lbl_8028D508: -/* 8028D508 0028A468 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028D50C 0028A46C 38 80 00 01 */ li r4, 1 -/* 8028D510 0028A470 4B F1 A3 CD */ bl sub_801a78dc -/* 8028D514 0028A474 93 BE 0A 38 */ stw r29, 0xa38(r30) -/* 8028D518 0028A478 7F C3 F3 78 */ mr r3, r30 -/* 8028D51C 0028A47C 7F E5 FB 78 */ mr r5, r31 -/* 8028D520 0028A480 38 9E 0A 38 */ addi r4, r30, 0xa38 -/* 8028D524 0028A484 4B FF FD FD */ bl sub_8028d320 -/* 8028D528 0028A488 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028D52C 0028A48C 38 80 00 00 */ li r4, 0 -/* 8028D530 0028A490 4B F1 9D 09 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8028D534 0028A494 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8028D538 0028A498 7F E3 FB 78 */ mr r3, r31 -/* 8028D53C 0028A49C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028D540 0028A4A0 B0 1E 0A 46 */ sth r0, 0xa46(r30) -/* 8028D544 0028A4A4 A0 1E 0A 46 */ lhz r0, 0xa46(r30) -/* 8028D548 0028A4A8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8028D54C 0028A4AC 4B DB F0 29 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028D550 0028A4B0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8028D554 0028A4B4 41 82 00 48 */ beq lbl_8028D59C -/* 8028D558 0028A4B8 7F C3 F3 78 */ mr r3, r30 -/* 8028D55C 0028A4BC 7F E4 FB 78 */ mr r4, r31 -/* 8028D560 0028A4C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028D564 0028A4C4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028D568 0028A4C8 7D 89 03 A6 */ mtctr r12 -/* 8028D56C 0028A4CC 4E 80 04 21 */ bctrl -/* 8028D570 0028A4D0 7C 7D 1B 78 */ mr r29, r3 -/* 8028D574 0028A4D4 7F 83 E3 78 */ mr r3, r28 -/* 8028D578 0028A4D8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028D57C 0028A4DC 7F E4 FB 78 */ mr r4, r31 -/* 8028D580 0028A4E0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028D584 0028A4E4 7D 89 03 A6 */ mtctr r12 -/* 8028D588 0028A4E8 4E 80 04 21 */ bctrl -/* 8028D58C 0028A4EC C0 1D 00 00 */ lfs f0, 0(r29) -/* 8028D590 0028A4F0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8028D594 0028A4F4 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8028D598 0028A4F8 D0 03 00 04 */ stfs f0, 4(r3) -lbl_8028D59C: -/* 8028D59C 0028A4FC 38 00 00 00 */ li r0, 0 -/* 8028D5A0 0028A500 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028D5A4 0028A504 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028D5A8 0028A508 38 80 00 0B */ li r4, 0xb -/* 8028D5AC 0028A50C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028D5B0 0028A510 90 01 00 38 */ stw r0, 0x38(r1) -/* 8028D5B4 0028A514 4B EC 92 05 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" -/* 8028D5B8 0028A518 3C 80 80 3D */ lis r4, lbl_803D5998@ha -/* 8028D5BC 0028A51C 7F C3 F3 78 */ mr r3, r30 -/* 8028D5C0 0028A520 38 84 59 98 */ addi r4, r4, lbl_803D5998@l -/* 8028D5C4 0028A524 38 C1 00 2C */ addi r6, r1, 0x2c -/* 8028D5C8 0028A528 38 A0 00 0B */ li r5, 0xb -/* 8028D5CC 0028A52C 4B FF F8 61 */ bl sub_8028ce2c -/* 8028D5D0 0028A530 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8028D5D4 0028A534 38 60 00 18 */ li r3, 0x18 -/* 8028D5D8 0028A538 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8028D5DC 0028A53C 38 A0 00 00 */ li r5, 0 -/* 8028D5E0 0028A540 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 8028D5E4 0028A544 48 08 82 89 */ bl __nw__FUlPCcPCc -/* 8028D5E8 0028A548 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028D5EC 0028A54C 41 82 00 38 */ beq lbl_8028D624 -/* 8028D5F0 0028A550 81 3E 00 04 */ lwz r9, 4(r30) -/* 8028D5F4 0028A554 7F E4 FB 78 */ mr r4, r31 -/* 8028D5F8 0028A558 38 A1 00 0C */ addi r5, r1, 0xc -/* 8028D5FC 0028A55C 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8028D600 0028A560 91 21 00 20 */ stw r9, 0x20(r1) -/* 8028D604 0028A564 38 E1 00 2C */ addi r7, r1, 0x2c -/* 8028D608 0028A568 39 00 00 01 */ li r8, 1 -/* 8028D60C 0028A56C A0 1E 00 08 */ lhz r0, 8(r30) -/* 8028D610 0028A570 91 21 00 1C */ stw r9, 0x1c(r1) -/* 8028D614 0028A574 B0 01 00 08 */ sth r0, 8(r1) -/* 8028D618 0028A578 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028D61C 0028A57C 4B F1 A3 15 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" -/* 8028D620 0028A580 7C 7D 1B 78 */ mr r29, r3 -lbl_8028D624: -/* 8028D624 0028A584 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028D628 0028A588 38 80 00 01 */ li r4, 1 -/* 8028D62C 0028A58C 4B F1 A2 B1 */ bl sub_801a78dc -/* 8028D630 0028A590 93 BE 0A 9C */ stw r29, 0xa9c(r30) -/* 8028D634 0028A594 7F C3 F3 78 */ mr r3, r30 -/* 8028D638 0028A598 7F E5 FB 78 */ mr r5, r31 -/* 8028D63C 0028A59C 38 9E 0A 9C */ addi r4, r30, 0xa9c -/* 8028D640 0028A5A0 4B FF FB 7D */ bl sub_8028d1bc -/* 8028D644 0028A5A4 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028D648 0028A5A8 38 80 00 00 */ li r4, 0 -/* 8028D64C 0028A5AC 4B F1 9B ED */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi -/* 8028D650 0028A5B0 A0 03 00 3C */ lhz r0, 0x3c(r3) -/* 8028D654 0028A5B4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028D658 0028A5B8 38 80 FF FF */ li r4, -1 -/* 8028D65C 0028A5BC B0 1E 0A 48 */ sth r0, 0xa48(r30) -/* 8028D660 0028A5C0 4B EC 8C CD */ bl sub_8015632c -/* 8028D664 0028A5C4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8028D668 0028A5C8 38 80 FF FF */ li r4, -1 -/* 8028D66C 0028A5CC 4B EC 8C C1 */ bl sub_8015632c -/* 8028D670 0028A5D0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028D674 0028A5D4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8028D678 0028A5D8 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8028D67C 0028A5DC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8028D680 0028A5E0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8028D684 0028A5E4 7C 08 03 A6 */ mtlr r0 -/* 8028D688 0028A5E8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028D68C 0028A5EC 4E 80 00 20 */ blr - -.global sub_8028d690 -sub_8028d690: -/* 8028D690 0028A5F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028D694 0028A5F4 7C 08 02 A6 */ mflr r0 -/* 8028D698 0028A5F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028D69C 0028A5FC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8028D6A0 0028A600 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8028D6A4 0028A604 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D6A8 0028A608 7C 7F 1B 78 */ mr r31, r3 -/* 8028D6AC 0028A60C FF E0 08 90 */ fmr f31, f1 -/* 8028D6B0 0028A610 80 03 0A 30 */ lwz r0, 0xa30(r3) -/* 8028D6B4 0028A614 2C 00 00 02 */ cmpwi r0, 2 -/* 8028D6B8 0028A618 41 82 00 CC */ beq lbl_8028D784 -/* 8028D6BC 0028A61C 40 80 00 10 */ bge lbl_8028D6CC -/* 8028D6C0 0028A620 2C 00 00 01 */ cmpwi r0, 1 -/* 8028D6C4 0028A624 40 80 00 14 */ bge lbl_8028D6D8 -/* 8028D6C8 0028A628 48 00 00 F8 */ b lbl_8028D7C0 -lbl_8028D6CC: -/* 8028D6CC 0028A62C 2C 00 00 04 */ cmpwi r0, 4 -/* 8028D6D0 0028A630 40 80 00 F0 */ bge lbl_8028D7C0 -/* 8028D6D4 0028A634 48 00 00 5C */ b lbl_8028D730 -lbl_8028D6D8: -/* 8028D6D8 0028A638 C0 22 BE 7C */ lfs f1, lbl_805ADB9C@sda21(r2) -/* 8028D6DC 0028A63C C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D6E0 0028A640 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028D6E4 0028A644 40 80 00 0C */ bge lbl_8028D6F0 -/* 8028D6E8 0028A648 38 62 BE 7C */ addi r3, r2, lbl_805ADB9C@sda21 -/* 8028D6EC 0028A64C 48 00 00 08 */ b lbl_8028D6F4 -lbl_8028D6F0: -/* 8028D6F0 0028A650 38 7F 0A 34 */ addi r3, r31, 0xa34 -lbl_8028D6F4: -/* 8028D6F4 0028A654 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028D6F8 0028A658 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028D6FC 0028A65C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8028D700 0028A660 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) -/* 8028D704 0028A664 C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D708 0028A668 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028D70C 0028A66C 40 81 00 14 */ ble lbl_8028D720 -/* 8028D710 0028A670 38 00 00 00 */ li r0, 0 -/* 8028D714 0028A674 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D718 0028A678 90 1F 0A 30 */ stw r0, 0xa30(r31) -/* 8028D71C 0028A67C D0 1F 0A 34 */ stfs f0, 0xa34(r31) -lbl_8028D720: -/* 8028D720 0028A680 C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D724 0028A684 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8028D728 0028A688 D0 1F 0A 34 */ stfs f0, 0xa34(r31) -/* 8028D72C 0028A68C 48 00 00 9C */ b lbl_8028D7C8 -lbl_8028D730: -/* 8028D730 0028A690 C0 22 BE 80 */ lfs f1, lbl_805ADBA0@sda21(r2) -/* 8028D734 0028A694 C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D738 0028A698 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028D73C 0028A69C 40 80 00 0C */ bge lbl_8028D748 -/* 8028D740 0028A6A0 38 62 BE 80 */ addi r3, r2, lbl_805ADBA0@sda21 -/* 8028D744 0028A6A4 48 00 00 08 */ b lbl_8028D74C -lbl_8028D748: -/* 8028D748 0028A6A8 38 7F 0A 34 */ addi r3, r31, 0xa34 -lbl_8028D74C: -/* 8028D74C 0028A6AC C0 23 00 00 */ lfs f1, 0(r3) -/* 8028D750 0028A6B0 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028D754 0028A6B4 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) -/* 8028D758 0028A6B8 C0 3F 0A 34 */ lfs f1, 0xa34(r31) -/* 8028D75C 0028A6BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028D760 0028A6C0 40 81 00 14 */ ble lbl_8028D774 -/* 8028D764 0028A6C4 38 00 00 02 */ li r0, 2 -/* 8028D768 0028A6C8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D76C 0028A6CC 90 1F 0A 30 */ stw r0, 0xa30(r31) -/* 8028D770 0028A6D0 D0 1F 0A 34 */ stfs f0, 0xa34(r31) -lbl_8028D774: -/* 8028D774 0028A6D4 C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D778 0028A6D8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8028D77C 0028A6DC D0 1F 0A 34 */ stfs f0, 0xa34(r31) -/* 8028D780 0028A6E0 48 00 00 48 */ b lbl_8028D7C8 -lbl_8028D784: -/* 8028D784 0028A6E4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028D788 0028A6E8 D0 3F 0A 2C */ stfs f1, 0xa2c(r31) -/* 8028D78C 0028A6EC C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D790 0028A6F0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028D794 0028A6F4 40 81 00 1C */ ble lbl_8028D7B0 -/* 8028D798 0028A6F8 38 00 00 01 */ li r0, 1 -/* 8028D79C 0028A6FC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D7A0 0028A700 90 1F 0A 30 */ stw r0, 0xa30(r31) -/* 8028D7A4 0028A704 C0 22 BE A4 */ lfs f1, lbl_805ADBC4@sda21(r2) -/* 8028D7A8 0028A708 D0 1F 0A 34 */ stfs f0, 0xa34(r31) -/* 8028D7AC 0028A70C 4B FF E6 85 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf -lbl_8028D7B0: -/* 8028D7B0 0028A710 C0 1F 0A 34 */ lfs f0, 0xa34(r31) -/* 8028D7B4 0028A714 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8028D7B8 0028A718 D0 1F 0A 34 */ stfs f0, 0xa34(r31) -/* 8028D7BC 0028A71C 48 00 00 0C */ b lbl_8028D7C8 -lbl_8028D7C0: -/* 8028D7C0 0028A720 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D7C4 0028A724 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) -lbl_8028D7C8: -/* 8028D7C8 0028A728 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8028D7CC 0028A72C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028D7D0 0028A730 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8028D7D4 0028A734 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D7D8 0028A738 7C 08 03 A6 */ mtlr r0 -/* 8028D7DC 0028A73C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028D7E0 0028A740 4E 80 00 20 */ blr - -.global sub_8028d7e4 -sub_8028d7e4: -/* 8028D7E4 0028A744 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8028D7E8 0028A748 7C 08 02 A6 */ mflr r0 -/* 8028D7EC 0028A74C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8028D7F0 0028A750 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8028D7F4 0028A754 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8028D7F8 0028A758 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8028D7FC 0028A75C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8028D800 0028A760 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8028D804 0028A764 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8028D808 0028A768 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8028D80C 0028A76C 7C 7E 1B 78 */ mr r30, r3 -/* 8028D810 0028A770 7C 9F 23 78 */ mr r31, r4 -/* 8028D814 0028A774 80 03 09 C8 */ lwz r0, 0x9c8(r3) -/* 8028D818 0028A778 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8028D81C 0028A77C 28 00 00 07 */ cmplwi r0, 7 -/* 8028D820 0028A780 C3 E3 00 00 */ lfs f31, 0(r3) -/* 8028D824 0028A784 C3 C3 00 04 */ lfs f30, 4(r3) -/* 8028D828 0028A788 C3 A3 00 08 */ lfs f29, 8(r3) -/* 8028D82C 0028A78C 41 81 04 64 */ bgt lbl_8028DC90 -/* 8028D830 0028A790 3C 60 80 3F */ lis r3, lbl_803EB734@ha -/* 8028D834 0028A794 54 00 10 3A */ slwi r0, r0, 2 -/* 8028D838 0028A798 38 63 B7 34 */ addi r3, r3, lbl_803EB734@l -/* 8028D83C 0028A79C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8028D840 0028A7A0 7C 09 03 A6 */ mtctr r0 -/* 8028D844 0028A7A4 4E 80 04 20 */ bctr -/* 8028D848 0028A7A8 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) -/* 8028D84C 0028A7AC C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D850 0028A7B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D854 0028A7B4 40 80 00 0C */ bge lbl_8028D860 -/* 8028D858 0028A7B8 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 -/* 8028D85C 0028A7BC 48 00 00 08 */ b lbl_8028D864 -lbl_8028D860: -/* 8028D860 0028A7C0 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028D864: -/* 8028D864 0028A7C4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028D868 0028A7C8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D86C 0028A7CC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) -/* 8028D870 0028A7D0 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028D874 0028A7D4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) -/* 8028D878 0028A7D8 C0 0D 99 A0 */ lfs f0, lbl_805A8560@sda21(r13) -/* 8028D87C 0028A7DC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8028D880 0028A7E0 EC 44 10 2A */ fadds f2, f4, f2 -/* 8028D884 0028A7E4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D888 0028A7E8 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8028D88C 0028A7EC 40 80 00 0C */ bge lbl_8028D898 -/* 8028D890 0028A7F0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028D894 0028A7F4 48 00 00 08 */ b lbl_8028D89C -lbl_8028D898: -/* 8028D898 0028A7F8 38 6D 99 A0 */ addi r3, r13, lbl_805A8560@sda21 -lbl_8028D89C: -/* 8028D89C 0028A7FC C0 9E 09 D0 */ lfs f4, 0x9d0(r30) -/* 8028D8A0 0028A800 C0 63 00 00 */ lfs f3, 0(r3) -/* 8028D8A4 0028A804 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028D8A8 0028A808 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D8AC 0028A80C EF E4 00 F2 */ fmuls f31, f4, f3 -/* 8028D8B0 0028A810 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D8B4 0028A814 40 81 00 14 */ ble lbl_8028D8C8 -/* 8028D8B8 0028A818 38 00 00 03 */ li r0, 3 -/* 8028D8BC 0028A81C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D8C0 0028A820 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028D8C4 0028A824 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028D8C8: -/* 8028D8C8 0028A828 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D8CC 0028A82C EC 00 08 2A */ fadds f0, f0, f1 -/* 8028D8D0 0028A830 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028D8D4 0028A834 48 00 02 FC */ b lbl_8028DBD0 -/* 8028D8D8 0028A838 C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) -/* 8028D8DC 0028A83C C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D8E0 0028A840 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D8E4 0028A844 40 80 00 0C */ bge lbl_8028D8F0 -/* 8028D8E8 0028A848 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 -/* 8028D8EC 0028A84C 48 00 00 08 */ b lbl_8028D8F4 -lbl_8028D8F0: -/* 8028D8F0 0028A850 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028D8F4: -/* 8028D8F4 0028A854 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028D8F8 0028A858 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D8FC 0028A85C C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) -/* 8028D900 0028A860 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028D904 0028A864 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) -/* 8028D908 0028A868 C0 0D 99 A4 */ lfs f0, lbl_805A8564@sda21(r13) -/* 8028D90C 0028A86C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8028D910 0028A870 EC 44 10 2A */ fadds f2, f4, f2 -/* 8028D914 0028A874 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D918 0028A878 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8028D91C 0028A87C 40 80 00 0C */ bge lbl_8028D928 -/* 8028D920 0028A880 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028D924 0028A884 48 00 00 08 */ b lbl_8028D92C -lbl_8028D928: -/* 8028D928 0028A888 38 6D 99 A4 */ addi r3, r13, lbl_805A8564@sda21 -lbl_8028D92C: -/* 8028D92C 0028A88C C0 9E 09 D4 */ lfs f4, 0x9d4(r30) -/* 8028D930 0028A890 C0 63 00 00 */ lfs f3, 0(r3) -/* 8028D934 0028A894 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028D938 0028A898 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D93C 0028A89C EF C4 00 F2 */ fmuls f30, f4, f3 -/* 8028D940 0028A8A0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D944 0028A8A4 40 81 00 14 */ ble lbl_8028D958 -/* 8028D948 0028A8A8 38 00 00 01 */ li r0, 1 -/* 8028D94C 0028A8AC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D950 0028A8B0 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028D954 0028A8B4 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028D958: -/* 8028D958 0028A8B8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D95C 0028A8BC EC 00 08 2A */ fadds f0, f0, f1 -/* 8028D960 0028A8C0 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028D964 0028A8C4 48 00 02 6C */ b lbl_8028DBD0 -/* 8028D968 0028A8C8 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) -/* 8028D96C 0028A8CC C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D970 0028A8D0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D974 0028A8D4 40 80 00 0C */ bge lbl_8028D980 -/* 8028D978 0028A8D8 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 -/* 8028D97C 0028A8DC 48 00 00 08 */ b lbl_8028D984 -lbl_8028D980: -/* 8028D980 0028A8E0 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028D984: -/* 8028D984 0028A8E4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028D988 0028A8E8 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D98C 0028A8EC C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) -/* 8028D990 0028A8F0 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028D994 0028A8F4 C0 82 BE CC */ lfs f4, lbl_805ADBEC@sda21(r2) -/* 8028D998 0028A8F8 C0 0D 99 A8 */ lfs f0, lbl_805A8568@sda21(r13) -/* 8028D99C 0028A8FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8028D9A0 0028A900 EC 44 10 2A */ fadds f2, f4, f2 -/* 8028D9A4 0028A904 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D9A8 0028A908 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028D9AC 0028A90C 40 80 00 0C */ bge lbl_8028D9B8 -/* 8028D9B0 0028A910 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028D9B4 0028A914 48 00 00 08 */ b lbl_8028D9BC -lbl_8028D9B8: -/* 8028D9B8 0028A918 38 6D 99 A8 */ addi r3, r13, lbl_805A8568@sda21 -lbl_8028D9BC: -/* 8028D9BC 0028A91C C0 9E 09 D8 */ lfs f4, 0x9d8(r30) -/* 8028D9C0 0028A920 C0 63 00 00 */ lfs f3, 0(r3) -/* 8028D9C4 0028A924 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028D9C8 0028A928 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028D9CC 0028A92C EF A4 00 F2 */ fmuls f29, f4, f3 -/* 8028D9D0 0028A930 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028D9D4 0028A934 40 81 00 14 */ ble lbl_8028D9E8 -/* 8028D9D8 0028A938 38 00 00 04 */ li r0, 4 -/* 8028D9DC 0028A93C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028D9E0 0028A940 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028D9E4 0028A944 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028D9E8: -/* 8028D9E8 0028A948 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028D9EC 0028A94C EC 00 08 2A */ fadds f0, f0, f1 -/* 8028D9F0 0028A950 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028D9F4 0028A954 48 00 01 DC */ b lbl_8028DBD0 -/* 8028D9F8 0028A958 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028D9FC 0028A95C C0 02 BE D0 */ lfs f0, lbl_805ADBF0@sda21(r2) -/* 8028DA00 0028A960 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DA04 0028A964 40 81 00 20 */ ble lbl_8028DA24 -/* 8028DA08 0028A968 88 1E 0A D0 */ lbz r0, 0xad0(r30) -/* 8028DA0C 0028A96C 28 00 00 00 */ cmplwi r0, 0 -/* 8028DA10 0028A970 41 82 00 14 */ beq lbl_8028DA24 -/* 8028DA14 0028A974 38 00 00 07 */ li r0, 7 -/* 8028DA18 0028A978 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028DA1C 0028A97C 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028DA20 0028A980 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028DA24: -/* 8028DA24 0028A984 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DA28 0028A988 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028DA2C 0028A98C D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028DA30 0028A990 48 00 01 A0 */ b lbl_8028DBD0 -/* 8028DA34 0028A994 C0 42 BE 84 */ lfs f2, lbl_805ADBA4@sda21(r2) -/* 8028DA38 0028A998 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DA3C 0028A99C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DA40 0028A9A0 40 80 00 0C */ bge lbl_8028DA4C -/* 8028DA44 0028A9A4 38 62 BE 84 */ addi r3, r2, lbl_805ADBA4@sda21 -/* 8028DA48 0028A9A8 48 00 00 08 */ b lbl_8028DA50 -lbl_8028DA4C: -/* 8028DA4C 0028A9AC 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028DA50: -/* 8028DA50 0028A9B0 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028DA54 0028A9B4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DA58 0028A9B8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) -/* 8028DA5C 0028A9BC EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028DA60 0028A9C0 C0 0D 99 AC */ lfs f0, lbl_805A856C@sda21(r13) -/* 8028DA64 0028A9C4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8028DA68 0028A9C8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DA6C 0028A9CC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8028DA70 0028A9D0 40 80 00 0C */ bge lbl_8028DA7C -/* 8028DA74 0028A9D4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028DA78 0028A9D8 48 00 00 08 */ b lbl_8028DA80 -lbl_8028DA7C: -/* 8028DA7C 0028A9DC 38 6D 99 AC */ addi r3, r13, lbl_805A856C@sda21 -lbl_8028DA80: -/* 8028DA80 0028A9E0 C0 9E 09 D0 */ lfs f4, 0x9d0(r30) -/* 8028DA84 0028A9E4 C0 63 00 00 */ lfs f3, 0(r3) -/* 8028DA88 0028A9E8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028DA8C 0028A9EC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DA90 0028A9F0 EF E4 00 F2 */ fmuls f31, f4, f3 -/* 8028DA94 0028A9F4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DA98 0028A9F8 40 81 00 14 */ ble lbl_8028DAAC -/* 8028DA9C 0028A9FC 38 00 00 06 */ li r0, 6 -/* 8028DAA0 0028AA00 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028DAA4 0028AA04 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028DAA8 0028AA08 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028DAAC: -/* 8028DAAC 0028AA0C C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DAB0 0028AA10 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028DAB4 0028AA14 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028DAB8 0028AA18 48 00 01 18 */ b lbl_8028DBD0 -/* 8028DABC 0028AA1C C0 42 BE 88 */ lfs f2, lbl_805ADBA8@sda21(r2) -/* 8028DAC0 0028AA20 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DAC4 0028AA24 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DAC8 0028AA28 40 80 00 0C */ bge lbl_8028DAD4 -/* 8028DACC 0028AA2C 38 62 BE 88 */ addi r3, r2, lbl_805ADBA8@sda21 -/* 8028DAD0 0028AA30 48 00 00 08 */ b lbl_8028DAD8 -lbl_8028DAD4: -/* 8028DAD4 0028AA34 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028DAD8: -/* 8028DAD8 0028AA38 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028DADC 0028AA3C C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DAE0 0028AA40 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) -/* 8028DAE4 0028AA44 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028DAE8 0028AA48 C0 0D 99 B0 */ lfs f0, lbl_805A8570@sda21(r13) -/* 8028DAEC 0028AA4C EC 43 10 2A */ fadds f2, f3, f2 -/* 8028DAF0 0028AA50 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DAF4 0028AA54 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028DAF8 0028AA58 40 80 00 0C */ bge lbl_8028DB04 -/* 8028DAFC 0028AA5C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8028DB00 0028AA60 48 00 00 08 */ b lbl_8028DB08 -lbl_8028DB04: -/* 8028DB04 0028AA64 38 6D 99 B0 */ addi r3, r13, lbl_805A8570@sda21 -lbl_8028DB08: -/* 8028DB08 0028AA68 C0 9E 09 D4 */ lfs f4, 0x9d4(r30) -/* 8028DB0C 0028AA6C C0 63 00 00 */ lfs f3, 0(r3) -/* 8028DB10 0028AA70 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028DB14 0028AA74 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DB18 0028AA78 EF C4 00 F2 */ fmuls f30, f4, f3 -/* 8028DB1C 0028AA7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DB20 0028AA80 40 81 00 14 */ ble lbl_8028DB34 -/* 8028DB24 0028AA84 38 00 00 00 */ li r0, 0 -/* 8028DB28 0028AA88 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028DB2C 0028AA8C 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028DB30 0028AA90 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028DB34: -/* 8028DB34 0028AA94 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DB38 0028AA98 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028DB3C 0028AA9C D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028DB40 0028AAA0 48 00 00 90 */ b lbl_8028DBD0 -/* 8028DB44 0028AAA4 C0 42 BE 8C */ lfs f2, lbl_805ADBAC@sda21(r2) -/* 8028DB48 0028AAA8 C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DB4C 0028AAAC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DB50 0028AAB0 40 80 00 0C */ bge lbl_8028DB5C -/* 8028DB54 0028AAB4 38 62 BE 8C */ addi r3, r2, lbl_805ADBAC@sda21 -/* 8028DB58 0028AAB8 48 00 00 08 */ b lbl_8028DB60 -lbl_8028DB5C: -/* 8028DB5C 0028AABC 38 7E 09 CC */ addi r3, r30, 0x9cc -lbl_8028DB60: -/* 8028DB60 0028AAC0 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028DB64 0028AAC4 C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DB68 0028AAC8 C0 62 BE CC */ lfs f3, lbl_805ADBEC@sda21(r2) -/* 8028DB6C 0028AACC EC 42 00 24 */ fdivs f2, f2, f0 -/* 8028DB70 0028AAD0 C0 0D 99 B4 */ lfs f0, lbl_805A8574@sda21(r13) -/* 8028DB74 0028AAD4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8028DB78 0028AAD8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DB7C 0028AADC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8028DB80 0028AAE0 40 80 00 0C */ bge lbl_8028DB8C -/* 8028DB84 0028AAE4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028DB88 0028AAE8 48 00 00 08 */ b lbl_8028DB90 -lbl_8028DB8C: -/* 8028DB8C 0028AAEC 38 6D 99 B4 */ addi r3, r13, lbl_805A8574@sda21 -lbl_8028DB90: -/* 8028DB90 0028AAF0 C0 9E 09 D8 */ lfs f4, 0x9d8(r30) -/* 8028DB94 0028AAF4 C0 63 00 00 */ lfs f3, 0(r3) -/* 8028DB98 0028AAF8 C0 5E 09 CC */ lfs f2, 0x9cc(r30) -/* 8028DB9C 0028AAFC C0 02 BE A8 */ lfs f0, lbl_805ADBC8@sda21(r2) -/* 8028DBA0 0028AB00 EF A4 00 F2 */ fmuls f29, f4, f3 -/* 8028DBA4 0028AB04 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028DBA8 0028AB08 40 81 00 14 */ ble lbl_8028DBBC -/* 8028DBAC 0028AB0C 38 00 00 05 */ li r0, 5 -/* 8028DBB0 0028AB10 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028DBB4 0028AB14 90 1E 09 C8 */ stw r0, 0x9c8(r30) -/* 8028DBB8 0028AB18 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -lbl_8028DBBC: -/* 8028DBBC 0028AB1C C0 1E 09 CC */ lfs f0, 0x9cc(r30) -/* 8028DBC0 0028AB20 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028DBC4 0028AB24 D0 1E 09 CC */ stfs f0, 0x9cc(r30) -/* 8028DBC8 0028AB28 48 00 00 08 */ b lbl_8028DBD0 -/* 8028DBCC 0028AB2C 48 00 00 C4 */ b lbl_8028DC90 -lbl_8028DBD0: -/* 8028DBD0 0028AB30 A0 1E 07 72 */ lhz r0, 0x772(r30) -/* 8028DBD4 0028AB34 7F E3 FB 78 */ mr r3, r31 -/* 8028DBD8 0028AB38 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028DBDC 0028AB3C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8028DBE0 0028AB40 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028DBE4 0028AB44 4B DB E9 91 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028DBE8 0028AB48 A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 8028DBEC 0028AB4C 7C 7D 1B 78 */ mr r29, r3 -/* 8028DBF0 0028AB50 7F E3 FB 78 */ mr r3, r31 -/* 8028DBF4 0028AB54 38 81 00 0C */ addi r4, r1, 0xc -/* 8028DBF8 0028AB58 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028DBFC 0028AB5C 4B DB E9 79 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028DC00 0028AB60 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 8028DC04 0028AB64 28 1D 00 00 */ cmplwi r29, 0 -/* 8028DC08 0028AB68 D3 E4 00 00 */ stfs f31, 0(r4) -/* 8028DC0C 0028AB6C D3 C4 00 04 */ stfs f30, 4(r4) -/* 8028DC10 0028AB70 D3 A4 00 08 */ stfs f29, 8(r4) -/* 8028DC14 0028AB74 41 82 00 14 */ beq lbl_8028DC28 -/* 8028DC18 0028AB78 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 8028DC1C 0028AB7C D3 E4 00 00 */ stfs f31, 0(r4) -/* 8028DC20 0028AB80 D3 C4 00 04 */ stfs f30, 4(r4) -/* 8028DC24 0028AB84 D3 A4 00 08 */ stfs f29, 8(r4) -lbl_8028DC28: -/* 8028DC28 0028AB88 28 03 00 00 */ cmplwi r3, 0 -/* 8028DC2C 0028AB8C 41 82 00 14 */ beq lbl_8028DC40 -/* 8028DC30 0028AB90 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8028DC34 0028AB94 D3 E3 00 00 */ stfs f31, 0(r3) -/* 8028DC38 0028AB98 D3 C3 00 04 */ stfs f30, 4(r3) -/* 8028DC3C 0028AB9C D3 A3 00 08 */ stfs f29, 8(r3) -lbl_8028DC40: -/* 8028DC40 0028ABA0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) -/* 8028DC44 0028ABA4 3B 60 00 00 */ li r27, 0 -/* 8028DC48 0028ABA8 3B A0 00 00 */ li r29, 0 -/* 8028DC4C 0028ABAC 48 00 00 3C */ b lbl_8028DC88 -lbl_8028DC50: -/* 8028DC50 0028ABB0 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8028DC54 0028ABB4 7F E3 FB 78 */ mr r3, r31 -/* 8028DC58 0028ABB8 38 81 00 08 */ addi r4, r1, 8 -/* 8028DC5C 0028ABBC 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028DC60 0028ABC0 B0 01 00 08 */ sth r0, 8(r1) -/* 8028DC64 0028ABC4 4B DB E9 11 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028DC68 0028ABC8 28 03 00 00 */ cmplwi r3, 0 -/* 8028DC6C 0028ABCC 41 82 00 14 */ beq lbl_8028DC80 -/* 8028DC70 0028ABD0 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8028DC74 0028ABD4 D3 E3 00 00 */ stfs f31, 0(r3) -/* 8028DC78 0028ABD8 D3 C3 00 04 */ stfs f30, 4(r3) -/* 8028DC7C 0028ABDC D3 A3 00 08 */ stfs f29, 8(r3) -lbl_8028DC80: -/* 8028DC80 0028ABE0 3B 7B 00 01 */ addi r27, r27, 1 -/* 8028DC84 0028ABE4 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_8028DC88: -/* 8028DC88 0028ABE8 7C 1B E0 40 */ cmplw r27, r28 -/* 8028DC8C 0028ABEC 41 80 FF C4 */ blt lbl_8028DC50 -lbl_8028DC90: -/* 8028DC90 0028ABF0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8028DC94 0028ABF4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8028DC98 0028ABF8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8028DC9C 0028ABFC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8028DCA0 0028AC00 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8028DCA4 0028AC04 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8028DCA8 0028AC08 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8028DCAC 0028AC0C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8028DCB0 0028AC10 7C 08 03 A6 */ mtlr r0 -/* 8028DCB4 0028AC14 38 21 00 80 */ addi r1, r1, 0x80 -/* 8028DCB8 0028AC18 4E 80 00 20 */ blr - -.global WallHang__12COmegaPirateFR13CStateManager9EStateMsgf -WallHang__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028DCBC 0028AC1C 4E 80 00 20 */ blr - -.global WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf -WallDetach__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028DCC0 0028AC20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028DCC4 0028AC24 7C 08 02 A6 */ mflr r0 -/* 8028DCC8 0028AC28 2C 05 00 01 */ cmpwi r5, 1 -/* 8028DCCC 0028AC2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028DCD0 0028AC30 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028DCD4 0028AC34 7C 7F 1B 78 */ mr r31, r3 -/* 8028DCD8 0028AC38 41 82 00 2C */ beq lbl_8028DD04 -/* 8028DCDC 0028AC3C 40 80 00 10 */ bge lbl_8028DCEC -/* 8028DCE0 0028AC40 2C 05 00 00 */ cmpwi r5, 0 -/* 8028DCE4 0028AC44 40 80 00 14 */ bge lbl_8028DCF8 -/* 8028DCE8 0028AC48 48 00 01 20 */ b lbl_8028DE08 -lbl_8028DCEC: -/* 8028DCEC 0028AC4C 2C 05 00 03 */ cmpwi r5, 3 -/* 8028DCF0 0028AC50 40 80 01 18 */ bge lbl_8028DE08 -/* 8028DCF4 0028AC54 48 00 00 EC */ b lbl_8028DDE0 -lbl_8028DCF8: -/* 8028DCF8 0028AC58 38 00 00 00 */ li r0, 0 -/* 8028DCFC 0028AC5C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8028DD00 0028AC60 48 00 01 08 */ b lbl_8028DE08 -lbl_8028DD04: -/* 8028DD04 0028AC64 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8028DD08 0028AC68 2C 00 00 01 */ cmpwi r0, 1 -/* 8028DD0C 0028AC6C 41 82 00 FC */ beq lbl_8028DE08 -/* 8028DD10 0028AC70 40 80 00 10 */ bge lbl_8028DD20 -/* 8028DD14 0028AC74 2C 00 00 00 */ cmpwi r0, 0 -/* 8028DD18 0028AC78 40 80 00 14 */ bge lbl_8028DD2C -/* 8028DD1C 0028AC7C 48 00 00 EC */ b lbl_8028DE08 -lbl_8028DD20: -/* 8028DD20 0028AC80 2C 00 00 03 */ cmpwi r0, 3 -/* 8028DD24 0028AC84 40 80 00 E4 */ bge lbl_8028DE08 -/* 8028DD28 0028AC88 48 00 00 9C */ b lbl_8028DDC4 -lbl_8028DD2C: -/* 8028DD2C 0028AC8C 80 9F 04 50 */ lwz r4, 0x450(r31) -/* 8028DD30 0028AC90 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028DD34 0028AC94 2C 00 00 03 */ cmpwi r0, 3 -/* 8028DD38 0028AC98 40 82 00 1C */ bne lbl_8028DD54 -/* 8028DD3C 0028AC9C 38 00 00 02 */ li r0, 2 -/* 8028DD40 0028ACA0 38 80 00 01 */ li r4, 1 -/* 8028DD44 0028ACA4 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8028DD48 0028ACA8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8028DD4C 0028ACAC 4B EA CC 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8028DD50 0028ACB0 48 00 00 B8 */ b lbl_8028DE08 -lbl_8028DD54: -/* 8028DD54 0028ACB4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028DD58 0028ACB8 38 C0 00 01 */ li r6, 1 -/* 8028DD5C 0028ACBC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028DD60 0028ACC0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028DD64 0028ACC4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028DD68 0028ACC8 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028DD6C 0028ACCC 38 00 00 02 */ li r0, 2 -/* 8028DD70 0028ACD0 3B E4 00 04 */ addi r31, r4, 4 -/* 8028DD74 0028ACD4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8028DD78 0028ACD8 7F E3 FB 78 */ mr r3, r31 -/* 8028DD7C 0028ACDC 38 80 00 01 */ li r4, 1 -/* 8028DD80 0028ACE0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8028DD84 0028ACE4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028DD88 0028ACE8 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8028DD8C 0028ACEC 4B EA 36 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028DD90 0028ACF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028DD94 0028ACF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028DD98 0028ACF8 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8028DD9C 0028ACFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028DDA0 0028AD00 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8028DDA4 0028AD04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028DDA8 0028AD08 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8028DDAC 0028AD0C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8028DDB0 0028AD10 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8028DDB4 0028AD14 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8028DDB8 0028AD18 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8028DDBC 0028AD1C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028DDC0 0028AD20 48 00 00 48 */ b lbl_8028DE08 -lbl_8028DDC4: -/* 8028DDC4 0028AD24 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8028DDC8 0028AD28 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028DDCC 0028AD2C 2C 00 00 03 */ cmpwi r0, 3 -/* 8028DDD0 0028AD30 41 82 00 38 */ beq lbl_8028DE08 -/* 8028DDD4 0028AD34 38 00 00 03 */ li r0, 3 -/* 8028DDD8 0028AD38 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8028DDDC 0028AD3C 48 00 00 2C */ b lbl_8028DE08 -lbl_8028DDE0: -/* 8028DDE0 0028AD40 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8028DDE4 0028AD44 7C 83 23 78 */ mr r3, r4 -/* 8028DDE8 0028AD48 38 81 00 0C */ addi r4, r1, 0xc -/* 8028DDEC 0028AD4C 38 A0 00 59 */ li r5, 0x59 -/* 8028DDF0 0028AD50 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028DDF4 0028AD54 B0 01 00 08 */ sth r0, 8(r1) -/* 8028DDF8 0028AD58 C0 3F 0A 98 */ lfs f1, 0xa98(r31) -/* 8028DDFC 0028AD5C 4B DB 61 49 */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi -/* 8028DE00 0028AD60 38 00 00 01 */ li r0, 1 -/* 8028DE04 0028AD64 98 1F 0B 79 */ stb r0, 0xb79(r31) -lbl_8028DE08: -/* 8028DE08 0028AD68 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028DE0C 0028AD6C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028DE10 0028AD70 7C 08 03 A6 */ mtlr r0 -/* 8028DE14 0028AD74 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028DE18 0028AD78 4E 80 00 20 */ blr - -.global JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf -JumpBack__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028DE1C 0028AD7C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028DE20 0028AD80 7C 08 02 A6 */ mflr r0 -/* 8028DE24 0028AD84 2C 05 00 01 */ cmpwi r5, 1 -/* 8028DE28 0028AD88 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028DE2C 0028AD8C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8028DE30 0028AD90 7C 7E 1B 78 */ mr r30, r3 -/* 8028DE34 0028AD94 7C 9F 23 78 */ mr r31, r4 -/* 8028DE38 0028AD98 41 82 01 44 */ beq lbl_8028DF7C -/* 8028DE3C 0028AD9C 40 80 01 74 */ bge lbl_8028DFB0 -/* 8028DE40 0028ADA0 2C 05 00 00 */ cmpwi r5, 0 -/* 8028DE44 0028ADA4 40 80 00 0C */ bge lbl_8028DE50 -/* 8028DE48 0028ADA8 48 00 01 68 */ b lbl_8028DFB0 -/* 8028DE4C 0028ADAC 48 00 01 64 */ b lbl_8028DFB0 -lbl_8028DE50: -/* 8028DE50 0028ADB0 7F E5 FB 78 */ mr r5, r31 -/* 8028DE54 0028ADB4 38 80 00 00 */ li r4, 0 -/* 8028DE58 0028ADB8 4B F9 97 45 */ bl sub_8022759c -/* 8028DE5C 0028ADBC 38 60 00 02 */ li r3, 2 -/* 8028DE60 0028ADC0 38 00 00 00 */ li r0, 0 -/* 8028DE64 0028ADC4 90 7E 05 68 */ stw r3, 0x568(r30) -/* 8028DE68 0028ADC8 38 80 00 05 */ li r4, 5 -/* 8028DE6C 0028ADCC 98 1E 0A DE */ stb r0, 0xade(r30) -/* 8028DE70 0028ADD0 98 1E 0A DF */ stb r0, 0xadf(r30) -/* 8028DE74 0028ADD4 98 1E 0A E0 */ stb r0, 0xae0(r30) -/* 8028DE78 0028ADD8 90 1E 0B 68 */ stw r0, 0xb68(r30) -/* 8028DE7C 0028ADDC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028DE80 0028ADE0 80 03 02 EC */ lwz r0, 0x2ec(r3) -/* 8028DE84 0028ADE4 90 1E 0A 40 */ stw r0, 0xa40(r30) -/* 8028DE88 0028ADE8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028DE8C 0028ADEC 4B EA CB 4D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8028DE90 0028ADF0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028DE94 0028ADF4 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 8028DE98 0028ADF8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 8028DE9C 0028ADFC C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8028DEA0 0028AE00 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8028DEA4 0028AE04 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 8028DEA8 0028AE08 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028DEAC 0028AE0C 38 C0 00 04 */ li r6, 4 -/* 8028DEB0 0028AE10 38 00 00 05 */ li r0, 5 -/* 8028DEB4 0028AE14 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8028DEB8 0028AE18 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 8028DEBC 0028AE1C 3B 83 00 04 */ addi r28, r3, 4 -/* 8028DEC0 0028AE20 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8028DEC4 0028AE24 7F 83 E3 78 */ mr r3, r28 -/* 8028DEC8 0028AE28 38 80 00 04 */ li r4, 4 -/* 8028DECC 0028AE2C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8028DED0 0028AE30 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028DED4 0028AE34 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028DED8 0028AE38 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028DEDC 0028AE3C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028DEE0 0028AE40 4B EA 35 59 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028DEE4 0028AE44 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8028DEE8 0028AE48 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8028DEEC 0028AE4C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 8028DEF0 0028AE50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028DEF4 0028AE54 90 1C 00 F8 */ stw r0, 0xf8(r28) -/* 8028DEF8 0028AE58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028DEFC 0028AE5C 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8028DF00 0028AE60 3B 60 00 00 */ li r27, 0 -/* 8028DF04 0028AE64 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8028DF08 0028AE68 3B A0 00 00 */ li r29, 0 -/* 8028DF0C 0028AE6C 90 BC 00 FC */ stw r5, 0xfc(r28) -/* 8028DF10 0028AE70 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8028DF14 0028AE74 90 7C 01 00 */ stw r3, 0x100(r28) -/* 8028DF18 0028AE78 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8028DF1C 0028AE7C 90 BC 01 04 */ stw r5, 0x104(r28) -/* 8028DF20 0028AE80 90 7C 01 08 */ stw r3, 0x108(r28) -/* 8028DF24 0028AE84 90 81 00 0C */ stw r4, 0xc(r1) -/* 8028DF28 0028AE88 83 9E 09 E0 */ lwz r28, 0x9e0(r30) -/* 8028DF2C 0028AE8C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028DF30 0028AE90 48 00 00 40 */ b lbl_8028DF70 -lbl_8028DF34: -/* 8028DF34 0028AE94 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8028DF38 0028AE98 7F E3 FB 78 */ mr r3, r31 -/* 8028DF3C 0028AE9C 38 81 00 08 */ addi r4, r1, 8 -/* 8028DF40 0028AEA0 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028DF44 0028AEA4 B0 01 00 08 */ sth r0, 8(r1) -/* 8028DF48 0028AEA8 4B DB E6 2D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028DF4C 0028AEAC 28 03 00 00 */ cmplwi r3, 0 -/* 8028DF50 0028AEB0 41 82 00 18 */ beq lbl_8028DF68 -/* 8028DF54 0028AEB4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DF58 0028AEB8 38 80 00 00 */ li r4, 0 -/* 8028DF5C 0028AEBC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028DF60 0028AEC0 7D 89 03 A6 */ mtctr r12 -/* 8028DF64 0028AEC4 4E 80 04 21 */ bctrl -lbl_8028DF68: -/* 8028DF68 0028AEC8 3B 7B 00 01 */ addi r27, r27, 1 -/* 8028DF6C 0028AECC 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_8028DF70: -/* 8028DF70 0028AED0 7C 1B E0 40 */ cmplw r27, r28 -/* 8028DF74 0028AED4 41 80 FF C0 */ blt lbl_8028DF34 -/* 8028DF78 0028AED8 48 00 00 38 */ b lbl_8028DFB0 -lbl_8028DF7C: -/* 8028DF7C 0028AEDC 80 1E 05 68 */ lwz r0, 0x568(r30) -/* 8028DF80 0028AEE0 2C 00 00 01 */ cmpwi r0, 1 -/* 8028DF84 0028AEE4 41 82 00 2C */ beq lbl_8028DFB0 -/* 8028DF88 0028AEE8 40 80 00 08 */ bge lbl_8028DF90 -/* 8028DF8C 0028AEEC 48 00 00 24 */ b lbl_8028DFB0 -lbl_8028DF90: -/* 8028DF90 0028AEF0 2C 00 00 03 */ cmpwi r0, 3 -/* 8028DF94 0028AEF4 40 80 00 1C */ bge lbl_8028DFB0 -/* 8028DF98 0028AEF8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028DF9C 0028AEFC 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028DFA0 0028AF00 2C 00 00 06 */ cmpwi r0, 6 -/* 8028DFA4 0028AF04 41 82 00 0C */ beq lbl_8028DFB0 -/* 8028DFA8 0028AF08 38 00 00 03 */ li r0, 3 -/* 8028DFAC 0028AF0C 90 1E 05 68 */ stw r0, 0x568(r30) -lbl_8028DFB0: -/* 8028DFB0 0028AF10 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8028DFB4 0028AF14 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028DFB8 0028AF18 7C 08 03 A6 */ mtlr r0 -/* 8028DFBC 0028AF1C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028DFC0 0028AF20 4E 80 00 20 */ blr - -.global Retreat__12COmegaPirateFR13CStateManager9EStateMsgf -Retreat__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028DFC4 0028AF24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028DFC8 0028AF28 7C 08 02 A6 */ mflr r0 -/* 8028DFCC 0028AF2C 2C 05 00 01 */ cmpwi r5, 1 -/* 8028DFD0 0028AF30 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028DFD4 0028AF34 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028DFD8 0028AF38 7C 9F 23 78 */ mr r31, r4 -/* 8028DFDC 0028AF3C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028DFE0 0028AF40 7C 7E 1B 78 */ mr r30, r3 -/* 8028DFE4 0028AF44 41 82 00 74 */ beq lbl_8028E058 -/* 8028DFE8 0028AF48 40 80 01 40 */ bge lbl_8028E128 -/* 8028DFEC 0028AF4C 2C 05 00 00 */ cmpwi r5, 0 -/* 8028DFF0 0028AF50 40 80 00 0C */ bge lbl_8028DFFC -/* 8028DFF4 0028AF54 48 00 01 34 */ b lbl_8028E128 -/* 8028DFF8 0028AF58 48 00 01 30 */ b lbl_8028E128 -lbl_8028DFFC: -/* 8028DFFC 0028AF5C 7F E5 FB 78 */ mr r5, r31 -/* 8028E000 0028AF60 38 80 00 00 */ li r4, 0 -/* 8028E004 0028AF64 4B F9 95 99 */ bl sub_8022759c -/* 8028E008 0028AF68 38 00 00 00 */ li r0, 0 -/* 8028E00C 0028AF6C 7F C3 F3 78 */ mr r3, r30 -/* 8028E010 0028AF70 90 1E 05 68 */ stw r0, 0x568(r30) -/* 8028E014 0028AF74 7F E5 FB 78 */ mr r5, r31 -/* 8028E018 0028AF78 38 80 00 06 */ li r4, 6 -/* 8028E01C 0028AF7C 38 C0 FF FF */ li r6, -1 -/* 8028E020 0028AF80 4B DC 30 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028E024 0028AF84 38 00 00 00 */ li r0, 0 -/* 8028E028 0028AF88 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028E02C 0028AF8C 98 1E 0A D0 */ stb r0, 0xad0(r30) -/* 8028E030 0028AF90 C0 02 BE D4 */ lfs f0, lbl_805ADBF4@sda21(r2) -/* 8028E034 0028AF94 98 1E 0A 44 */ stb r0, 0xa44(r30) -/* 8028E038 0028AF98 98 1E 0A 4A */ stb r0, 0xa4a(r30) -/* 8028E03C 0028AF9C D0 3E 0B 5C */ stfs f1, 0xb5c(r30) -/* 8028E040 0028AFA0 D0 3E 0B 60 */ stfs f1, 0xb60(r30) -/* 8028E044 0028AFA4 D0 1E 0B 64 */ stfs f0, 0xb64(r30) -/* 8028E048 0028AFA8 80 7E 0B 68 */ lwz r3, 0xb68(r30) -/* 8028E04C 0028AFAC 38 03 00 01 */ addi r0, r3, 1 -/* 8028E050 0028AFB0 90 1E 0B 68 */ stw r0, 0xb68(r30) -/* 8028E054 0028AFB4 48 00 00 D4 */ b lbl_8028E128 -lbl_8028E058: -/* 8028E058 0028AFB8 80 1E 05 68 */ lwz r0, 0x568(r30) -/* 8028E05C 0028AFBC 2C 00 00 01 */ cmpwi r0, 1 -/* 8028E060 0028AFC0 41 82 00 C8 */ beq lbl_8028E128 -/* 8028E064 0028AFC4 40 80 00 10 */ bge lbl_8028E074 -/* 8028E068 0028AFC8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028E06C 0028AFCC 40 80 00 14 */ bge lbl_8028E080 -/* 8028E070 0028AFD0 48 00 00 B8 */ b lbl_8028E128 -lbl_8028E074: -/* 8028E074 0028AFD4 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E078 0028AFD8 40 80 00 B0 */ bge lbl_8028E128 -/* 8028E07C 0028AFDC 48 00 00 94 */ b lbl_8028E110 -lbl_8028E080: -/* 8028E080 0028AFE0 80 FE 04 50 */ lwz r7, 0x450(r30) -/* 8028E084 0028AFE4 80 07 02 B8 */ lwz r0, 0x2b8(r7) -/* 8028E088 0028AFE8 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E08C 0028AFEC 40 82 00 10 */ bne lbl_8028E09C -/* 8028E090 0028AFF0 38 00 00 02 */ li r0, 2 -/* 8028E094 0028AFF4 90 1E 05 68 */ stw r0, 0x568(r30) -/* 8028E098 0028AFF8 48 00 00 90 */ b lbl_8028E128 -lbl_8028E09C: -/* 8028E09C 0028AFFC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8028E0A0 0028B000 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028E0A4 0028B004 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8028E0A8 0028B008 38 80 00 01 */ li r4, 1 -/* 8028E0AC 0028B00C 90 01 00 08 */ stw r0, 8(r1) -/* 8028E0B0 0028B010 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l -/* 8028E0B4 0028B014 38 A0 00 00 */ li r5, 0 -/* 8028E0B8 0028B018 38 00 00 02 */ li r0, 2 -/* 8028E0BC 0028B01C 3B E7 00 04 */ addi r31, r7, 4 -/* 8028E0C0 0028B020 90 81 00 0C */ stw r4, 0xc(r1) -/* 8028E0C4 0028B024 7F E3 FB 78 */ mr r3, r31 -/* 8028E0C8 0028B028 38 80 00 01 */ li r4, 1 -/* 8028E0CC 0028B02C 90 C1 00 08 */ stw r6, 8(r1) -/* 8028E0D0 0028B030 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8028E0D4 0028B034 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E0D8 0028B038 4B EA 33 61 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028E0DC 0028B03C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8028E0E0 0028B040 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028E0E4 0028B044 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8028E0E8 0028B048 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E0EC 0028B04C 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8028E0F0 0028B050 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E0F4 0028B054 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8028E0F8 0028B058 90 81 00 08 */ stw r4, 8(r1) -/* 8028E0FC 0028B05C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028E100 0028B060 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8028E104 0028B064 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8028E108 0028B068 90 01 00 08 */ stw r0, 8(r1) -/* 8028E10C 0028B06C 48 00 00 1C */ b lbl_8028E128 -lbl_8028E110: -/* 8028E110 0028B070 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028E114 0028B074 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028E118 0028B078 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E11C 0028B07C 41 82 00 0C */ beq lbl_8028E128 -/* 8028E120 0028B080 38 00 00 03 */ li r0, 3 -/* 8028E124 0028B084 90 1E 05 68 */ stw r0, 0x568(r30) -lbl_8028E128: -/* 8028E128 0028B088 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028E12C 0028B08C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028E130 0028B090 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028E134 0028B094 7C 08 03 A6 */ mtlr r0 -/* 8028E138 0028B098 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028E13C 0028B09C 4E 80 00 20 */ blr - -.global DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf -DoubleSnap__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028E140 0028B0A0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028E144 0028B0A4 7C 08 02 A6 */ mflr r0 -/* 8028E148 0028B0A8 2C 05 00 01 */ cmpwi r5, 1 -/* 8028E14C 0028B0AC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028E150 0028B0B0 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 8028E154 0028B0B4 7C 7F 1B 78 */ mr r31, r3 -/* 8028E158 0028B0B8 7C 9A 23 78 */ mr r26, r4 -/* 8028E15C 0028B0BC 41 82 01 14 */ beq lbl_8028E270 -/* 8028E160 0028B0C0 40 80 00 10 */ bge lbl_8028E170 -/* 8028E164 0028B0C4 2C 05 00 00 */ cmpwi r5, 0 -/* 8028E168 0028B0C8 40 80 00 14 */ bge lbl_8028E17C -/* 8028E16C 0028B0CC 48 00 02 20 */ b lbl_8028E38C -lbl_8028E170: -/* 8028E170 0028B0D0 2C 05 00 03 */ cmpwi r5, 3 -/* 8028E174 0028B0D4 40 80 02 18 */ bge lbl_8028E38C -/* 8028E178 0028B0D8 48 00 01 C8 */ b lbl_8028E340 -lbl_8028E17C: -/* 8028E17C 0028B0DC 7F 45 D3 78 */ mr r5, r26 -/* 8028E180 0028B0E0 38 80 00 07 */ li r4, 7 -/* 8028E184 0028B0E4 38 C0 FF FF */ li r6, -1 -/* 8028E188 0028B0E8 4B DC 2F 39 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028E18C 0028B0EC 7F E3 FB 78 */ mr r3, r31 -/* 8028E190 0028B0F0 7F 45 D3 78 */ mr r5, r26 -/* 8028E194 0028B0F4 38 80 00 00 */ li r4, 0 -/* 8028E198 0028B0F8 4B F9 94 05 */ bl sub_8022759c -/* 8028E19C 0028B0FC 3B C0 00 00 */ li r30, 0 -/* 8028E1A0 0028B100 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) -/* 8028E1A4 0028B104 93 DF 05 68 */ stw r30, 0x568(r31) -/* 8028E1A8 0028B108 3B 80 00 00 */ li r28, 0 -/* 8028E1AC 0028B10C 9B DF 0A 44 */ stb r30, 0xa44(r31) -/* 8028E1B0 0028B110 9B DF 0A 4A */ stb r30, 0xa4a(r31) -/* 8028E1B4 0028B114 9B DF 0A 88 */ stb r30, 0xa88(r31) -/* 8028E1B8 0028B118 D0 1F 0A 8C */ stfs f0, 0xa8c(r31) -/* 8028E1BC 0028B11C 83 BF 09 E0 */ lwz r29, 0x9e0(r31) -/* 8028E1C0 0028B120 48 00 00 8C */ b lbl_8028E24C -lbl_8028E1C4: -/* 8028E1C4 0028B124 80 BF 09 E8 */ lwz r5, 0x9e8(r31) -/* 8028E1C8 0028B128 7F 43 D3 78 */ mr r3, r26 -/* 8028E1CC 0028B12C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028E1D0 0028B130 7C 05 F2 2E */ lhzx r0, r5, r30 -/* 8028E1D4 0028B134 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028E1D8 0028B138 4B DB E3 9D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028E1DC 0028B13C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8028E1E0 0028B140 41 82 00 64 */ beq lbl_8028E244 -/* 8028E1E4 0028B144 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E1E8 0028B148 38 80 00 01 */ li r4, 1 -/* 8028E1EC 0028B14C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028E1F0 0028B150 7D 89 03 A6 */ mtctr r12 -/* 8028E1F4 0028B154 4E 80 04 21 */ bctrl -/* 8028E1F8 0028B158 7F 63 DB 78 */ mr r3, r27 -/* 8028E1FC 0028B15C 38 9F 0A E4 */ addi r4, r31, 0xae4 -/* 8028E200 0028B160 4B E2 2C 55 */ bl sub_800b0e54 -/* 8028E204 0028B164 7F 63 DB 78 */ mr r3, r27 -/* 8028E208 0028B168 7F 45 D3 78 */ mr r5, r26 -/* 8028E20C 0028B16C 38 80 00 29 */ li r4, 0x29 -/* 8028E210 0028B170 4B DC 61 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028E214 0028B174 7F 63 DB 78 */ mr r3, r27 -/* 8028E218 0028B178 7F 45 D3 78 */ mr r5, r26 -/* 8028E21C 0028B17C 38 80 00 28 */ li r4, 0x28 -/* 8028E220 0028B180 4B DC 61 31 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028E224 0028B184 88 1B 03 56 */ lbz r0, 0x356(r27) -/* 8028E228 0028B188 38 60 00 00 */ li r3, 0 -/* 8028E22C 0028B18C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8028E230 0028B190 38 60 00 01 */ li r3, 1 -/* 8028E234 0028B194 98 1B 03 56 */ stb r0, 0x356(r27) -/* 8028E238 0028B198 88 1B 03 56 */ lbz r0, 0x356(r27) -/* 8028E23C 0028B19C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8028E240 0028B1A0 98 1B 03 56 */ stb r0, 0x356(r27) -lbl_8028E244: -/* 8028E244 0028B1A4 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028E248 0028B1A8 3B DE 00 14 */ addi r30, r30, 0x14 -lbl_8028E24C: -/* 8028E24C 0028B1AC 7C 1C E8 40 */ cmplw r28, r29 -/* 8028E250 0028B1B0 41 80 FF 74 */ blt lbl_8028E1C4 -/* 8028E254 0028B1B4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) -/* 8028E258 0028B1B8 7F E3 FB 78 */ mr r3, r31 -/* 8028E25C 0028B1BC 7F 45 D3 78 */ mr r5, r26 -/* 8028E260 0028B1C0 38 80 00 27 */ li r4, 0x27 -/* 8028E264 0028B1C4 D0 1F 0B 64 */ stfs f0, 0xb64(r31) -/* 8028E268 0028B1C8 4B DC 60 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028E26C 0028B1CC 48 00 01 20 */ b lbl_8028E38C -lbl_8028E270: -/* 8028E270 0028B1D0 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8028E274 0028B1D4 2C 00 00 01 */ cmpwi r0, 1 -/* 8028E278 0028B1D8 41 82 01 14 */ beq lbl_8028E38C -/* 8028E27C 0028B1DC 40 80 00 10 */ bge lbl_8028E28C -/* 8028E280 0028B1E0 2C 00 00 00 */ cmpwi r0, 0 -/* 8028E284 0028B1E4 40 80 00 14 */ bge lbl_8028E298 -/* 8028E288 0028B1E8 48 00 01 04 */ b lbl_8028E38C -lbl_8028E28C: -/* 8028E28C 0028B1EC 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E290 0028B1F0 40 80 00 FC */ bge lbl_8028E38C -/* 8028E294 0028B1F4 48 00 00 90 */ b lbl_8028E324 -lbl_8028E298: -/* 8028E298 0028B1F8 80 9F 04 50 */ lwz r4, 0x450(r31) -/* 8028E29C 0028B1FC 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028E2A0 0028B200 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E2A4 0028B204 40 82 00 10 */ bne lbl_8028E2B4 -/* 8028E2A8 0028B208 38 00 00 02 */ li r0, 2 -/* 8028E2AC 0028B20C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8028E2B0 0028B210 48 00 00 DC */ b lbl_8028E38C -lbl_8028E2B4: -/* 8028E2B4 0028B214 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E2B8 0028B218 38 C0 00 01 */ li r6, 1 -/* 8028E2BC 0028B21C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E2C0 0028B220 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028E2C4 0028B224 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028E2C8 0028B228 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028E2CC 0028B22C 38 00 00 02 */ li r0, 2 -/* 8028E2D0 0028B230 3B C4 00 04 */ addi r30, r4, 4 -/* 8028E2D4 0028B234 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8028E2D8 0028B238 7F C3 F3 78 */ mr r3, r30 -/* 8028E2DC 0028B23C 38 80 00 01 */ li r4, 1 -/* 8028E2E0 0028B240 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8028E2E4 0028B244 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8028E2E8 0028B248 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028E2EC 0028B24C 4B EA 31 4D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028E2F0 0028B250 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8028E2F4 0028B254 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028E2F8 0028B258 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8028E2FC 0028B25C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E300 0028B260 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 8028E304 0028B264 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E308 0028B268 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8028E30C 0028B26C 90 81 00 18 */ stw r4, 0x18(r1) -/* 8028E310 0028B270 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8028E314 0028B274 90 BE 00 CC */ stw r5, 0xcc(r30) -/* 8028E318 0028B278 90 7E 00 D0 */ stw r3, 0xd0(r30) -/* 8028E31C 0028B27C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028E320 0028B280 48 00 00 6C */ b lbl_8028E38C -lbl_8028E324: -/* 8028E324 0028B284 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8028E328 0028B288 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028E32C 0028B28C 2C 00 00 03 */ cmpwi r0, 3 -/* 8028E330 0028B290 41 82 00 5C */ beq lbl_8028E38C -/* 8028E334 0028B294 38 00 00 03 */ li r0, 3 -/* 8028E338 0028B298 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8028E33C 0028B29C 48 00 00 50 */ b lbl_8028E38C -lbl_8028E340: -/* 8028E340 0028B2A0 A0 1F 07 72 */ lhz r0, 0x772(r31) -/* 8028E344 0028B2A4 7F 43 D3 78 */ mr r3, r26 -/* 8028E348 0028B2A8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028E34C 0028B2AC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028E350 0028B2B0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8028E354 0028B2B4 4B DB E2 21 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028E358 0028B2B8 28 03 00 00 */ cmplwi r3, 0 -/* 8028E35C 0028B2BC 41 82 00 0C */ beq lbl_8028E368 -/* 8028E360 0028B2C0 38 00 00 01 */ li r0, 1 -/* 8028E364 0028B2C4 98 03 03 FE */ stb r0, 0x3fe(r3) -lbl_8028E368: -/* 8028E368 0028B2C8 A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 8028E36C 0028B2CC 7F 43 D3 78 */ mr r3, r26 -/* 8028E370 0028B2D0 38 81 00 08 */ addi r4, r1, 8 -/* 8028E374 0028B2D4 B0 01 00 08 */ sth r0, 8(r1) -/* 8028E378 0028B2D8 4B DB E1 FD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028E37C 0028B2DC 28 03 00 00 */ cmplwi r3, 0 -/* 8028E380 0028B2E0 41 82 00 0C */ beq lbl_8028E38C -/* 8028E384 0028B2E4 38 00 00 01 */ li r0, 1 -/* 8028E388 0028B2E8 98 03 03 FE */ stb r0, 0x3fe(r3) -lbl_8028E38C: -/* 8028E38C 0028B2EC BB 41 00 28 */ lmw r26, 0x28(r1) -/* 8028E390 0028B2F0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028E394 0028B2F4 7C 08 03 A6 */ mtlr r0 -/* 8028E398 0028B2F8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028E39C 0028B2FC 4E 80 00 20 */ blr - -.global Faint__12COmegaPirateFR13CStateManager9EStateMsgf -Faint__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028E3A0 0028B300 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8028E3A4 0028B304 7C 08 02 A6 */ mflr r0 -/* 8028E3A8 0028B308 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8028E3AC 0028B30C DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8028E3B0 0028B310 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8028E3B4 0028B314 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8028E3B8 0028B318 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8028E3BC 0028B31C DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8028E3C0 0028B320 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8028E3C4 0028B324 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8028E3C8 0028B328 FF A0 08 90 */ fmr f29, f1 -/* 8028E3CC 0028B32C 2C 05 00 01 */ cmpwi r5, 1 -/* 8028E3D0 0028B330 7C 7B 1B 78 */ mr r27, r3 -/* 8028E3D4 0028B334 7C 9C 23 78 */ mr r28, r4 -/* 8028E3D8 0028B338 41 82 00 FC */ beq lbl_8028E4D4 -/* 8028E3DC 0028B33C 40 80 00 10 */ bge lbl_8028E3EC -/* 8028E3E0 0028B340 2C 05 00 00 */ cmpwi r5, 0 -/* 8028E3E4 0028B344 40 80 00 14 */ bge lbl_8028E3F8 -/* 8028E3E8 0028B348 48 00 03 D4 */ b lbl_8028E7BC -lbl_8028E3EC: -/* 8028E3EC 0028B34C 2C 05 00 03 */ cmpwi r5, 3 -/* 8028E3F0 0028B350 40 80 03 CC */ bge lbl_8028E7BC -/* 8028E3F4 0028B354 48 00 03 70 */ b lbl_8028E764 -lbl_8028E3F8: -/* 8028E3F8 0028B358 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8028E3FC 0028B35C 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8028E400 0028B360 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8028E404 0028B364 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha -/* 8028E408 0028B368 90 01 00 48 */ stw r0, 0x48(r1) -/* 8028E40C 0028B36C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l -/* 8028E410 0028B370 38 80 00 08 */ li r4, 8 -/* 8028E414 0028B374 38 00 00 00 */ li r0, 0 -/* 8028E418 0028B378 3B 43 00 04 */ addi r26, r3, 4 -/* 8028E41C 0028B37C 90 81 00 4C */ stw r4, 0x4c(r1) -/* 8028E420 0028B380 7F 43 D3 78 */ mr r3, r26 -/* 8028E424 0028B384 38 80 00 08 */ li r4, 8 -/* 8028E428 0028B388 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8028E42C 0028B38C 90 01 00 50 */ stw r0, 0x50(r1) -/* 8028E430 0028B390 4B EA 30 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028E434 0028B394 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8028E438 0028B398 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8028E43C 0028B39C 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l -/* 8028E440 0028B3A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E444 0028B3A4 90 1A 01 58 */ stw r0, 0x158(r26) -/* 8028E448 0028B3A8 38 00 00 01 */ li r0, 1 -/* 8028E44C 0028B3AC 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 8028E450 0028B3B0 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 8028E454 0028B3B4 90 81 00 48 */ stw r4, 0x48(r1) -/* 8028E458 0028B3B8 90 BA 01 5C */ stw r5, 0x15c(r26) -/* 8028E45C 0028B3BC 98 1B 0A 44 */ stb r0, 0xa44(r27) -/* 8028E460 0028B3C0 98 1B 0A 4A */ stb r0, 0xa4a(r27) -/* 8028E464 0028B3C4 80 1B 0A 7C */ lwz r0, 0xa7c(r27) -/* 8028E468 0028B3C8 90 61 00 48 */ stw r3, 0x48(r1) -/* 8028E46C 0028B3CC 2C 00 00 02 */ cmpwi r0, 2 -/* 8028E470 0028B3D0 40 82 00 0C */ bne lbl_8028E47C -/* 8028E474 0028B3D4 C0 02 BE E0 */ lfs f0, lbl_805ADC00@sda21(r2) -/* 8028E478 0028B3D8 D0 1B 0A 8C */ stfs f0, 0xa8c(r27) -lbl_8028E47C: -/* 8028E47C 0028B3DC 83 BB 09 E0 */ lwz r29, 0x9e0(r27) -/* 8028E480 0028B3E0 3B C0 00 00 */ li r30, 0 -/* 8028E484 0028B3E4 3B 40 00 00 */ li r26, 0 -/* 8028E488 0028B3E8 48 00 00 40 */ b lbl_8028E4C8 -lbl_8028E48C: -/* 8028E48C 0028B3EC 80 BB 09 E8 */ lwz r5, 0x9e8(r27) -/* 8028E490 0028B3F0 7F 83 E3 78 */ mr r3, r28 -/* 8028E494 0028B3F4 38 81 00 0C */ addi r4, r1, 0xc -/* 8028E498 0028B3F8 7C 05 D2 2E */ lhzx r0, r5, r26 -/* 8028E49C 0028B3FC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028E4A0 0028B400 4B DB E0 D5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028E4A4 0028B404 28 03 00 00 */ cmplwi r3, 0 -/* 8028E4A8 0028B408 41 82 00 18 */ beq lbl_8028E4C0 -/* 8028E4AC 0028B40C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E4B0 0028B410 38 80 00 01 */ li r4, 1 -/* 8028E4B4 0028B414 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028E4B8 0028B418 7D 89 03 A6 */ mtctr r12 -/* 8028E4BC 0028B41C 4E 80 04 21 */ bctrl -lbl_8028E4C0: -/* 8028E4C0 0028B420 3B DE 00 01 */ addi r30, r30, 1 -/* 8028E4C4 0028B424 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_8028E4C8: -/* 8028E4C8 0028B428 7C 1E E8 40 */ cmplw r30, r29 -/* 8028E4CC 0028B42C 41 80 FF C0 */ blt lbl_8028E48C -/* 8028E4D0 0028B430 48 00 02 EC */ b lbl_8028E7BC -lbl_8028E4D4: -/* 8028E4D4 0028B434 80 1B 0B 4C */ lwz r0, 0xb4c(r27) -/* 8028E4D8 0028B438 28 00 00 04 */ cmplwi r0, 4 -/* 8028E4DC 0028B43C 40 80 02 14 */ bge lbl_8028E6F0 -/* 8028E4E0 0028B440 80 1B 09 C8 */ lwz r0, 0x9c8(r27) -/* 8028E4E4 0028B444 2C 00 00 00 */ cmpwi r0, 0 -/* 8028E4E8 0028B448 40 82 02 08 */ bne lbl_8028E6F0 -/* 8028E4EC 0028B44C C0 3B 0B 58 */ lfs f1, 0xb58(r27) -/* 8028E4F0 0028B450 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) -/* 8028E4F4 0028B454 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E4F8 0028B458 4C 41 13 82 */ cror 2, 1, 2 -/* 8028E4FC 0028B45C 40 82 01 F4 */ bne lbl_8028E6F0 -/* 8028E500 0028B460 C0 22 BE 90 */ lfs f1, lbl_805ADBB0@sda21(r2) -/* 8028E504 0028B464 C0 1B 0B 50 */ lfs f0, 0xb50(r27) -/* 8028E508 0028B468 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E50C 0028B46C 40 80 00 0C */ bge lbl_8028E518 -/* 8028E510 0028B470 38 62 BE 90 */ addi r3, r2, lbl_805ADBB0@sda21 -/* 8028E514 0028B474 48 00 00 08 */ b lbl_8028E51C -lbl_8028E518: -/* 8028E518 0028B478 38 7B 0B 50 */ addi r3, r27, 0xb50 -lbl_8028E51C: -/* 8028E51C 0028B47C C3 E3 00 00 */ lfs f31, 0(r3) -/* 8028E520 0028B480 3B A0 00 00 */ li r29, 0 -/* 8028E524 0028B484 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028E528 0028B488 3B 40 00 00 */ li r26, 0 -/* 8028E52C 0028B48C 83 DB 09 E0 */ lwz r30, 0x9e0(r27) -/* 8028E530 0028B490 EF C0 F8 28 */ fsubs f30, f0, f31 -/* 8028E534 0028B494 48 00 01 78 */ b lbl_8028E6AC -lbl_8028E538: -/* 8028E538 0028B498 80 BB 09 E8 */ lwz r5, 0x9e8(r27) -/* 8028E53C 0028B49C 7F 83 E3 78 */ mr r3, r28 -/* 8028E540 0028B4A0 38 81 00 08 */ addi r4, r1, 8 -/* 8028E544 0028B4A4 7C 05 D2 2E */ lhzx r0, r5, r26 -/* 8028E548 0028B4A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8028E54C 0028B4AC 4B DB E0 29 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028E550 0028B4B0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028E554 0028B4B4 41 82 01 50 */ beq lbl_8028E6A4 -/* 8028E558 0028B4B8 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 8028E55C 0028B4BC 7F 84 E3 78 */ mr r4, r28 -/* 8028E560 0028B4C0 80 63 00 00 */ lwz r3, 0(r3) -/* 8028E564 0028B4C4 4B E0 2F F5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028E568 0028B4C8 2C 03 00 01 */ cmpwi r3, 1 -/* 8028E56C 0028B4CC 40 82 00 E8 */ bne lbl_8028E654 -/* 8028E570 0028B4D0 80 1B 0B 4C */ lwz r0, 0xb4c(r27) -/* 8028E574 0028B4D4 7C 1D 00 40 */ cmplw r29, r0 -/* 8028E578 0028B4D8 40 80 00 58 */ bge lbl_8028E5D0 -/* 8028E57C 0028B4DC C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028E580 0028B4E0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028E584 0028B4E4 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) -/* 8028E588 0028B4E8 FC 40 08 90 */ fmr f2, f1 -/* 8028E58C 0028B4EC FC 60 08 90 */ fmr f3, f1 -/* 8028E590 0028B4F0 48 0D 4E 5D */ bl __ct__6CColorFffff -/* 8028E594 0028B4F4 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8028E598 0028B4F8 38 C0 00 05 */ li r6, 5 -/* 8028E59C 0028B4FC 38 80 00 03 */ li r4, 3 -/* 8028E5A0 0028B500 38 A0 00 00 */ li r5, 0 -/* 8028E5A4 0028B504 98 DF 00 B4 */ stb r6, 0xb4(r31) -/* 8028E5A8 0028B508 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 8028E5AC 0028B50C 60 00 00 03 */ ori r0, r0, 3 -/* 8028E5B0 0028B510 98 BF 00 B5 */ stb r5, 0xb5(r31) -/* 8028E5B4 0028B514 B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 8028E5B8 0028B518 98 C1 00 34 */ stb r6, 0x34(r1) -/* 8028E5BC 0028B51C 98 A1 00 35 */ stb r5, 0x35(r1) -/* 8028E5C0 0028B520 B0 81 00 36 */ sth r4, 0x36(r1) -/* 8028E5C4 0028B524 90 61 00 38 */ stw r3, 0x38(r1) -/* 8028E5C8 0028B528 90 7F 00 B8 */ stw r3, 0xb8(r31) -/* 8028E5CC 0028B52C 48 00 00 D8 */ b lbl_8028E6A4 -lbl_8028E5D0: -/* 8028E5D0 0028B530 7C 00 E8 40 */ cmplw r0, r29 -/* 8028E5D4 0028B534 40 82 00 D0 */ bne lbl_8028E6A4 -/* 8028E5D8 0028B538 88 1B 0B 6E */ lbz r0, 0xb6e(r27) -/* 8028E5DC 0028B53C 28 00 00 00 */ cmplwi r0, 0 -/* 8028E5E0 0028B540 40 82 00 20 */ bne lbl_8028E600 -/* 8028E5E4 0028B544 7F 63 DB 78 */ mr r3, r27 -/* 8028E5E8 0028B548 7F 85 E3 78 */ mr r5, r28 -/* 8028E5EC 0028B54C 38 80 00 03 */ li r4, 3 -/* 8028E5F0 0028B550 38 C0 FF FF */ li r6, -1 -/* 8028E5F4 0028B554 4B DC 2A CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028E5F8 0028B558 38 00 00 01 */ li r0, 1 -/* 8028E5FC 0028B55C 98 1B 0B 6E */ stb r0, 0xb6e(r27) -lbl_8028E600: -/* 8028E600 0028B560 FC 20 F0 90 */ fmr f1, f30 -/* 8028E604 0028B564 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028E608 0028B568 FC 40 F0 90 */ fmr f2, f30 -/* 8028E60C 0028B56C FC 60 F0 90 */ fmr f3, f30 -/* 8028E610 0028B570 FC 80 F8 90 */ fmr f4, f31 -/* 8028E614 0028B574 48 0D 4D D9 */ bl __ct__6CColorFffff -/* 8028E618 0028B578 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028E61C 0028B57C 38 C0 00 05 */ li r6, 5 -/* 8028E620 0028B580 38 80 00 03 */ li r4, 3 -/* 8028E624 0028B584 38 A0 00 00 */ li r5, 0 -/* 8028E628 0028B588 98 DF 00 B4 */ stb r6, 0xb4(r31) -/* 8028E62C 0028B58C 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 8028E630 0028B590 60 00 00 03 */ ori r0, r0, 3 -/* 8028E634 0028B594 98 BF 00 B5 */ stb r5, 0xb5(r31) -/* 8028E638 0028B598 B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 8028E63C 0028B59C 98 C1 00 2C */ stb r6, 0x2c(r1) -/* 8028E640 0028B5A0 98 A1 00 2D */ stb r5, 0x2d(r1) -/* 8028E644 0028B5A4 B0 81 00 2E */ sth r4, 0x2e(r1) -/* 8028E648 0028B5A8 90 61 00 30 */ stw r3, 0x30(r1) -/* 8028E64C 0028B5AC 90 7F 00 B8 */ stw r3, 0xb8(r31) -/* 8028E650 0028B5B0 48 00 00 54 */ b lbl_8028E6A4 -lbl_8028E654: -/* 8028E654 0028B5B4 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028E658 0028B5B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028E65C 0028B5BC C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) -/* 8028E660 0028B5C0 FC 40 08 90 */ fmr f2, f1 -/* 8028E664 0028B5C4 FC 60 08 90 */ fmr f3, f1 -/* 8028E668 0028B5C8 48 0D 4D 85 */ bl __ct__6CColorFffff -/* 8028E66C 0028B5CC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028E670 0028B5D0 38 C0 00 05 */ li r6, 5 -/* 8028E674 0028B5D4 38 80 00 03 */ li r4, 3 -/* 8028E678 0028B5D8 38 A0 00 00 */ li r5, 0 -/* 8028E67C 0028B5DC 98 DF 00 B4 */ stb r6, 0xb4(r31) -/* 8028E680 0028B5E0 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 8028E684 0028B5E4 60 00 00 03 */ ori r0, r0, 3 -/* 8028E688 0028B5E8 98 BF 00 B5 */ stb r5, 0xb5(r31) -/* 8028E68C 0028B5EC B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 8028E690 0028B5F0 98 C1 00 24 */ stb r6, 0x24(r1) -/* 8028E694 0028B5F4 98 A1 00 25 */ stb r5, 0x25(r1) -/* 8028E698 0028B5F8 B0 81 00 26 */ sth r4, 0x26(r1) -/* 8028E69C 0028B5FC 90 61 00 28 */ stw r3, 0x28(r1) -/* 8028E6A0 0028B600 90 7F 00 B8 */ stw r3, 0xb8(r31) -lbl_8028E6A4: -/* 8028E6A4 0028B604 3B BD 00 01 */ addi r29, r29, 1 -/* 8028E6A8 0028B608 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_8028E6AC: -/* 8028E6AC 0028B60C 7C 1D F0 40 */ cmplw r29, r30 -/* 8028E6B0 0028B610 41 80 FE 88 */ blt lbl_8028E538 -/* 8028E6B4 0028B614 C0 3B 0B 50 */ lfs f1, 0xb50(r27) -/* 8028E6B8 0028B618 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028E6BC 0028B61C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E6C0 0028B620 40 81 00 24 */ ble lbl_8028E6E4 -/* 8028E6C4 0028B624 80 7B 0B 4C */ lwz r3, 0xb4c(r27) -/* 8028E6C8 0028B628 38 00 00 00 */ li r0, 0 -/* 8028E6CC 0028B62C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028E6D0 0028B630 38 63 00 01 */ addi r3, r3, 1 -/* 8028E6D4 0028B634 90 7B 0B 4C */ stw r3, 0xb4c(r27) -/* 8028E6D8 0028B638 D0 1B 0B 50 */ stfs f0, 0xb50(r27) -/* 8028E6DC 0028B63C D0 1B 0B 58 */ stfs f0, 0xb58(r27) -/* 8028E6E0 0028B640 98 1B 0B 6E */ stb r0, 0xb6e(r27) -lbl_8028E6E4: -/* 8028E6E4 0028B644 C0 1B 0B 50 */ lfs f0, 0xb50(r27) -/* 8028E6E8 0028B648 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8028E6EC 0028B64C D0 1B 0B 50 */ stfs f0, 0xb50(r27) -lbl_8028E6F0: -/* 8028E6F0 0028B650 C0 1B 0B 58 */ lfs f0, 0xb58(r27) -/* 8028E6F4 0028B654 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E6F8 0028B658 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l -/* 8028E6FC 0028B65C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8028E700 0028B660 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8028E704 0028B664 38 C0 00 08 */ li r6, 8 -/* 8028E708 0028B668 38 00 00 00 */ li r0, 0 -/* 8028E70C 0028B66C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8028E710 0028B670 38 A3 AA 2C */ addi r5, r3, lbl_803DAA2C@l -/* 8028E714 0028B674 38 80 00 08 */ li r4, 8 -/* 8028E718 0028B678 D0 1B 0B 58 */ stfs f0, 0xb58(r27) -/* 8028E71C 0028B67C 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8028E720 0028B680 90 C1 00 40 */ stw r6, 0x40(r1) -/* 8028E724 0028B684 3B 43 00 04 */ addi r26, r3, 4 -/* 8028E728 0028B688 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8028E72C 0028B68C 7F 43 D3 78 */ mr r3, r26 -/* 8028E730 0028B690 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028E734 0028B694 4B EA 2D 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028E738 0028B698 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8028E73C 0028B69C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8028E740 0028B6A0 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l -/* 8028E744 0028B6A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E748 0028B6A8 90 1A 01 58 */ stw r0, 0x158(r26) -/* 8028E74C 0028B6AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E750 0028B6B0 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8028E754 0028B6B4 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8028E758 0028B6B8 90 7A 01 5C */ stw r3, 0x15c(r26) -/* 8028E75C 0028B6BC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8028E760 0028B6C0 48 00 00 5C */ b lbl_8028E7BC -lbl_8028E764: -/* 8028E764 0028B6C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E768 0028B6C8 38 00 00 0A */ li r0, 0xa -/* 8028E76C 0028B6CC 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 8028E770 0028B6D0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028E774 0028B6D4 38 81 00 1C */ addi r4, r1, 0x1c -/* 8028E778 0028B6D8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8028E77C 0028B6DC 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8028E780 0028B6E0 38 63 00 04 */ addi r3, r3, 4 -/* 8028E784 0028B6E4 4B EA 30 35 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 8028E788 0028B6E8 34 01 00 1C */ addic. r0, r1, 0x1c -/* 8028E78C 0028B6EC 41 82 00 10 */ beq lbl_8028E79C -/* 8028E790 0028B6F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E794 0028B6F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E798 0028B6F8 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8028E79C: -/* 8028E79C 0028B6FC C0 3B 0B 58 */ lfs f1, 0xb58(r27) -/* 8028E7A0 0028B700 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) -/* 8028E7A4 0028B704 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E7A8 0028B708 4C 41 13 82 */ cror 2, 1, 2 -/* 8028E7AC 0028B70C 40 82 00 10 */ bne lbl_8028E7BC -/* 8028E7B0 0028B710 80 7B 0B 4C */ lwz r3, 0xb4c(r27) -/* 8028E7B4 0028B714 38 03 00 01 */ addi r0, r3, 1 -/* 8028E7B8 0028B718 90 1B 0B 4C */ stw r0, 0xb4c(r27) -lbl_8028E7BC: -/* 8028E7BC 0028B71C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8028E7C0 0028B720 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8028E7C4 0028B724 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8028E7C8 0028B728 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8028E7CC 0028B72C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8028E7D0 0028B730 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8028E7D4 0028B734 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8028E7D8 0028B738 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8028E7DC 0028B73C 7C 08 03 A6 */ mtlr r0 -/* 8028E7E0 0028B740 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8028E7E4 0028B744 4E 80 00 20 */ blr - -.global Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf -Dizzy__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028E7E8 0028B748 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028E7EC 0028B74C 7C 08 02 A6 */ mflr r0 -/* 8028E7F0 0028B750 2C 05 00 01 */ cmpwi r5, 1 -/* 8028E7F4 0028B754 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028E7F8 0028B758 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028E7FC 0028B75C 41 82 00 2C */ beq lbl_8028E828 -/* 8028E800 0028B760 40 80 00 10 */ bge lbl_8028E810 -/* 8028E804 0028B764 2C 05 00 00 */ cmpwi r5, 0 -/* 8028E808 0028B768 40 80 00 14 */ bge lbl_8028E81C -/* 8028E80C 0028B76C 48 00 00 B4 */ b lbl_8028E8C0 -lbl_8028E810: -/* 8028E810 0028B770 2C 05 00 03 */ cmpwi r5, 3 -/* 8028E814 0028B774 40 80 00 AC */ bge lbl_8028E8C0 -/* 8028E818 0028B778 48 00 00 78 */ b lbl_8028E890 -lbl_8028E81C: -/* 8028E81C 0028B77C 38 00 00 01 */ li r0, 1 -/* 8028E820 0028B780 98 03 0A 44 */ stb r0, 0xa44(r3) -/* 8028E824 0028B784 48 00 00 9C */ b lbl_8028E8C0 -lbl_8028E828: -/* 8028E828 0028B788 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8028E82C 0028B78C 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8028E830 0028B790 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8028E834 0028B794 3C 80 80 3E */ lis r4, lbl_803DAA2C@ha -/* 8028E838 0028B798 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028E83C 0028B79C 38 A4 AA 2C */ addi r5, r4, lbl_803DAA2C@l -/* 8028E840 0028B7A0 38 80 00 08 */ li r4, 8 -/* 8028E844 0028B7A4 38 00 00 02 */ li r0, 2 -/* 8028E848 0028B7A8 3B E3 00 04 */ addi r31, r3, 4 -/* 8028E84C 0028B7AC 90 81 00 14 */ stw r4, 0x14(r1) -/* 8028E850 0028B7B0 7F E3 FB 78 */ mr r3, r31 -/* 8028E854 0028B7B4 38 80 00 08 */ li r4, 8 -/* 8028E858 0028B7B8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8028E85C 0028B7BC 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028E860 0028B7C0 4B EA 2B D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028E864 0028B7C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E868 0028B7C8 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 8028E86C 0028B7CC 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l -/* 8028E870 0028B7D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E874 0028B7D4 90 1F 01 58 */ stw r0, 0x158(r31) -/* 8028E878 0028B7D8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E87C 0028B7DC 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8028E880 0028B7E0 90 81 00 10 */ stw r4, 0x10(r1) -/* 8028E884 0028B7E4 90 7F 01 5C */ stw r3, 0x15c(r31) -/* 8028E888 0028B7E8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028E88C 0028B7EC 48 00 00 34 */ b lbl_8028E8C0 -lbl_8028E890: -/* 8028E890 0028B7F0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8028E894 0028B7F4 38 00 00 0A */ li r0, 0xa -/* 8028E898 0028B7F8 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l -/* 8028E89C 0028B7FC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028E8A0 0028B800 38 81 00 08 */ addi r4, r1, 8 -/* 8028E8A4 0028B804 90 A1 00 08 */ stw r5, 8(r1) -/* 8028E8A8 0028B808 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8028E8AC 0028B80C 38 63 00 04 */ addi r3, r3, 4 -/* 8028E8B0 0028B810 4B EA 2F 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 8028E8B4 0028B814 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028E8B8 0028B818 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028E8BC 0028B81C 90 01 00 08 */ stw r0, 8(r1) -lbl_8028E8C0: -/* 8028E8C0 0028B820 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028E8C4 0028B824 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028E8C8 0028B828 7C 08 03 A6 */ mtlr r0 -/* 8028E8CC 0028B82C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028E8D0 0028B830 4E 80 00 20 */ blr - -.global Growth__12COmegaPirateFR13CStateManager9EStateMsgf -Growth__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028E8D4 0028B834 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028E8D8 0028B838 7C 08 02 A6 */ mflr r0 -/* 8028E8DC 0028B83C 2C 05 00 01 */ cmpwi r5, 1 -/* 8028E8E0 0028B840 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028E8E4 0028B844 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028E8E8 0028B848 7C 9F 23 78 */ mr r31, r4 -/* 8028E8EC 0028B84C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028E8F0 0028B850 7C 7E 1B 78 */ mr r30, r3 -/* 8028E8F4 0028B854 41 82 00 B0 */ beq lbl_8028E9A4 -/* 8028E8F8 0028B858 40 80 00 10 */ bge lbl_8028E908 -/* 8028E8FC 0028B85C 2C 05 00 00 */ cmpwi r5, 0 -/* 8028E900 0028B860 40 80 00 14 */ bge lbl_8028E914 -/* 8028E904 0028B864 48 00 01 E0 */ b lbl_8028EAE4 -lbl_8028E908: -/* 8028E908 0028B868 2C 05 00 03 */ cmpwi r5, 3 -/* 8028E90C 0028B86C 40 80 01 D8 */ bge lbl_8028EAE4 -/* 8028E910 0028B870 48 00 01 60 */ b lbl_8028EA70 -lbl_8028E914: -/* 8028E914 0028B874 38 80 00 02 */ li r4, 2 -/* 8028E918 0028B878 38 00 00 00 */ li r0, 0 -/* 8028E91C 0028B87C 90 9E 09 C8 */ stw r4, 0x9c8(r30) -/* 8028E920 0028B880 7F E5 FB 78 */ mr r5, r31 -/* 8028E924 0028B884 38 80 00 33 */ li r4, 0x33 -/* 8028E928 0028B888 98 1E 0A D0 */ stb r0, 0xad0(r30) -/* 8028E92C 0028B88C 4B DC 56 55 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028E930 0028B890 7F C3 F3 78 */ mr r3, r30 -/* 8028E934 0028B894 7F E5 FB 78 */ mr r5, r31 -/* 8028E938 0028B898 38 80 00 27 */ li r4, 0x27 -/* 8028E93C 0028B89C 4B DC 56 45 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028E940 0028B8A0 38 00 00 00 */ li r0, 0 -/* 8028E944 0028B8A4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8028E948 0028B8A8 98 1E 0B 6C */ stb r0, 0xb6c(r30) -/* 8028E94C 0028B8AC 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 8028E950 0028B8B0 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028E954 0028B8B4 7F C3 F3 78 */ mr r3, r30 -/* 8028E958 0028B8B8 98 1E 0B 6D */ stb r0, 0xb6d(r30) -/* 8028E95C 0028B8BC 39 21 00 1C */ addi r9, r1, 0x1c -/* 8028E960 0028B8C0 C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) -/* 8028E964 0028B8C4 38 80 0B 27 */ li r4, 0xb27 -/* 8028E968 0028B8C8 81 5F 08 CC */ lwz r10, 0x8cc(r31) -/* 8028E96C 0028B8CC 38 A0 00 00 */ li r5, 0 -/* 8028E970 0028B8D0 C0 BE 00 60 */ lfs f5, 0x60(r30) -/* 8028E974 0028B8D4 38 C0 00 14 */ li r6, 0x14 -/* 8028E978 0028B8D8 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 8028E97C 0028B8DC 38 E0 00 7F */ li r7, 0x7f -/* 8028E980 0028B8E0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8028E984 0028B8E4 C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) -/* 8028E988 0028B8E8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028E98C 0028B8EC D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8028E990 0028B8F0 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 8028E994 0028B8F4 93 E1 00 08 */ stw r31, 8(r1) -/* 8028E998 0028B8F8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028E99C 0028B8FC 4B DC 45 95 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager -/* 8028E9A0 0028B900 48 00 01 44 */ b lbl_8028EAE4 -lbl_8028E9A4: -/* 8028E9A4 0028B904 80 1E 0B 68 */ lwz r0, 0xb68(r30) -/* 8028E9A8 0028B908 28 00 00 00 */ cmplwi r0, 0 -/* 8028E9AC 0028B90C 40 82 00 84 */ bne lbl_8028EA30 -/* 8028E9B0 0028B910 C0 22 BE EC */ lfs f1, lbl_805ADC0C@sda21(r2) -/* 8028E9B4 0028B914 C0 1E 0B 64 */ lfs f0, 0xb64(r30) -/* 8028E9B8 0028B918 C0 5E 03 38 */ lfs f2, 0x338(r30) -/* 8028E9BC 0028B91C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028E9C0 0028B920 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028E9C4 0028B924 40 81 00 28 */ ble lbl_8028E9EC -/* 8028E9C8 0028B928 88 1E 0B 6C */ lbz r0, 0xb6c(r30) -/* 8028E9CC 0028B92C 28 00 00 00 */ cmplwi r0, 0 -/* 8028E9D0 0028B930 40 82 00 1C */ bne lbl_8028E9EC -/* 8028E9D4 0028B934 7F E5 FB 78 */ mr r5, r31 -/* 8028E9D8 0028B938 38 80 00 04 */ li r4, 4 -/* 8028E9DC 0028B93C 38 C0 FF FF */ li r6, -1 -/* 8028E9E0 0028B940 4B DC 26 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028E9E4 0028B944 38 00 00 01 */ li r0, 1 -/* 8028E9E8 0028B948 98 1E 0B 6C */ stb r0, 0xb6c(r30) -lbl_8028E9EC: -/* 8028E9EC 0028B94C C0 22 BE F0 */ lfs f1, lbl_805ADC10@sda21(r2) -/* 8028E9F0 0028B950 C0 1E 0B 64 */ lfs f0, 0xb64(r30) -/* 8028E9F4 0028B954 C0 5E 03 38 */ lfs f2, 0x338(r30) -/* 8028E9F8 0028B958 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028E9FC 0028B95C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028EA00 0028B960 40 81 00 E4 */ ble lbl_8028EAE4 -/* 8028EA04 0028B964 88 1E 0B 6D */ lbz r0, 0xb6d(r30) -/* 8028EA08 0028B968 28 00 00 00 */ cmplwi r0, 0 -/* 8028EA0C 0028B96C 40 82 00 D8 */ bne lbl_8028EAE4 -/* 8028EA10 0028B970 7F C3 F3 78 */ mr r3, r30 -/* 8028EA14 0028B974 7F E5 FB 78 */ mr r5, r31 -/* 8028EA18 0028B978 38 80 00 04 */ li r4, 4 -/* 8028EA1C 0028B97C 38 C0 FF FF */ li r6, -1 -/* 8028EA20 0028B980 4B DC 26 A1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028EA24 0028B984 38 00 00 01 */ li r0, 1 -/* 8028EA28 0028B988 98 1E 0B 6D */ stb r0, 0xb6d(r30) -/* 8028EA2C 0028B98C 48 00 00 B8 */ b lbl_8028EAE4 -lbl_8028EA30: -/* 8028EA30 0028B990 C0 22 BE B8 */ lfs f1, lbl_805ADBD8@sda21(r2) -/* 8028EA34 0028B994 C0 1E 0B 64 */ lfs f0, 0xb64(r30) -/* 8028EA38 0028B998 C0 5E 03 38 */ lfs f2, 0x338(r30) -/* 8028EA3C 0028B99C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028EA40 0028B9A0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028EA44 0028B9A4 40 81 00 A0 */ ble lbl_8028EAE4 -/* 8028EA48 0028B9A8 88 1E 0B 6C */ lbz r0, 0xb6c(r30) -/* 8028EA4C 0028B9AC 28 00 00 00 */ cmplwi r0, 0 -/* 8028EA50 0028B9B0 40 82 00 94 */ bne lbl_8028EAE4 -/* 8028EA54 0028B9B4 7F E5 FB 78 */ mr r5, r31 -/* 8028EA58 0028B9B8 38 80 00 04 */ li r4, 4 -/* 8028EA5C 0028B9BC 38 C0 FF FF */ li r6, -1 -/* 8028EA60 0028B9C0 4B DC 26 61 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 8028EA64 0028B9C4 38 00 00 01 */ li r0, 1 -/* 8028EA68 0028B9C8 98 1E 0B 6C */ stb r0, 0xb6c(r30) -/* 8028EA6C 0028B9CC 48 00 00 78 */ b lbl_8028EAE4 -lbl_8028EA70: -/* 8028EA70 0028B9D0 48 00 05 55 */ bl sub_8028efc4 -/* 8028EA74 0028B9D4 38 00 00 01 */ li r0, 1 -/* 8028EA78 0028B9D8 7F C3 F3 78 */ mr r3, r30 -/* 8028EA7C 0028B9DC 98 1E 0A D0 */ stb r0, 0xad0(r30) -/* 8028EA80 0028B9E0 7F E5 FB 78 */ mr r5, r31 -/* 8028EA84 0028B9E4 38 80 00 33 */ li r4, 0x33 -/* 8028EA88 0028B9E8 4B DC 58 C9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028EA8C 0028B9EC 81 5F 08 CC */ lwz r10, 0x8cc(r31) -/* 8028EA90 0028B9F0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8028EA94 0028B9F4 C0 9E 00 60 */ lfs f4, 0x60(r30) -/* 8028EA98 0028B9F8 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 8028EA9C 0028B9FC C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8028EAA0 0028BA00 38 00 00 00 */ li r0, 0 -/* 8028EAA4 0028BA04 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8028EAA8 0028BA08 7F C3 F3 78 */ mr r3, r30 -/* 8028EAAC 0028BA0C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028EAB0 0028BA10 39 21 00 10 */ addi r9, r1, 0x10 -/* 8028EAB4 0028BA14 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 8028EAB8 0028BA18 38 80 0B 28 */ li r4, 0xb28 -/* 8028EABC 0028BA1C C0 42 BE D0 */ lfs f2, lbl_805ADBF0@sda21(r2) -/* 8028EAC0 0028BA20 38 A0 00 00 */ li r5, 0 -/* 8028EAC4 0028BA24 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028EAC8 0028BA28 38 C0 00 14 */ li r6, 0x14 -/* 8028EACC 0028BA2C C0 62 BE E8 */ lfs f3, lbl_805ADC08@sda21(r2) -/* 8028EAD0 0028BA30 38 E0 00 7F */ li r7, 0x7f -/* 8028EAD4 0028BA34 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8028EAD8 0028BA38 93 E1 00 08 */ stw r31, 8(r1) -/* 8028EADC 0028BA3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028EAE0 0028BA40 4B DC 44 51 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager -lbl_8028EAE4: -/* 8028EAE4 0028BA44 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028EAE8 0028BA48 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028EAEC 0028BA4C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8028EAF0 0028BA50 7C 08 03 A6 */ mtlr r0 -/* 8028EAF4 0028BA54 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028EAF8 0028BA58 4E 80 00 20 */ blr - -.global Explode__12COmegaPirateFR13CStateManager9EStateMsgf -Explode__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028EAFC 0028BA5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028EB00 0028BA60 7C 08 02 A6 */ mflr r0 -/* 8028EB04 0028BA64 2C 05 00 01 */ cmpwi r5, 1 -/* 8028EB08 0028BA68 7C 66 1B 78 */ mr r6, r3 -/* 8028EB0C 0028BA6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028EB10 0028BA70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028EB14 0028BA74 41 82 00 30 */ beq lbl_8028EB44 -/* 8028EB18 0028BA78 40 80 00 10 */ bge lbl_8028EB28 -/* 8028EB1C 0028BA7C 2C 05 00 00 */ cmpwi r5, 0 -/* 8028EB20 0028BA80 40 80 00 14 */ bge lbl_8028EB34 -/* 8028EB24 0028BA84 48 00 00 FC */ b lbl_8028EC20 -lbl_8028EB28: -/* 8028EB28 0028BA88 2C 05 00 03 */ cmpwi r5, 3 -/* 8028EB2C 0028BA8C 40 80 00 F4 */ bge lbl_8028EC20 -/* 8028EB30 0028BA90 48 00 00 E4 */ b lbl_8028EC14 -lbl_8028EB34: -/* 8028EB34 0028BA94 38 00 00 00 */ li r0, 0 -/* 8028EB38 0028BA98 90 06 05 68 */ stw r0, 0x568(r6) -/* 8028EB3C 0028BA9C 98 06 0A D0 */ stb r0, 0xad0(r6) -/* 8028EB40 0028BAA0 48 00 00 E0 */ b lbl_8028EC20 -lbl_8028EB44: -/* 8028EB44 0028BAA4 80 06 05 68 */ lwz r0, 0x568(r6) -/* 8028EB48 0028BAA8 2C 00 00 01 */ cmpwi r0, 1 -/* 8028EB4C 0028BAAC 41 82 00 D4 */ beq lbl_8028EC20 -/* 8028EB50 0028BAB0 40 80 00 10 */ bge lbl_8028EB60 -/* 8028EB54 0028BAB4 2C 00 00 00 */ cmpwi r0, 0 -/* 8028EB58 0028BAB8 40 80 00 14 */ bge lbl_8028EB6C -/* 8028EB5C 0028BABC 48 00 00 C4 */ b lbl_8028EC20 -lbl_8028EB60: -/* 8028EB60 0028BAC0 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EB64 0028BAC4 40 80 00 BC */ bge lbl_8028EC20 -/* 8028EB68 0028BAC8 48 00 00 90 */ b lbl_8028EBF8 -lbl_8028EB6C: -/* 8028EB6C 0028BACC 80 86 04 50 */ lwz r4, 0x450(r6) -/* 8028EB70 0028BAD0 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028EB74 0028BAD4 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EB78 0028BAD8 40 82 00 10 */ bne lbl_8028EB88 -/* 8028EB7C 0028BADC 38 00 00 02 */ li r0, 2 -/* 8028EB80 0028BAE0 90 06 05 68 */ stw r0, 0x568(r6) -/* 8028EB84 0028BAE4 48 00 00 9C */ b lbl_8028EC20 -lbl_8028EB88: -/* 8028EB88 0028BAE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028EB8C 0028BAEC 38 C0 00 01 */ li r6, 1 -/* 8028EB90 0028BAF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028EB94 0028BAF4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028EB98 0028BAF8 90 01 00 08 */ stw r0, 8(r1) -/* 8028EB9C 0028BAFC 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028EBA0 0028BB00 38 00 00 00 */ li r0, 0 -/* 8028EBA4 0028BB04 3B E4 00 04 */ addi r31, r4, 4 -/* 8028EBA8 0028BB08 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8028EBAC 0028BB0C 7F E3 FB 78 */ mr r3, r31 -/* 8028EBB0 0028BB10 38 80 00 01 */ li r4, 1 -/* 8028EBB4 0028BB14 90 A1 00 08 */ stw r5, 8(r1) -/* 8028EBB8 0028BB18 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028EBBC 0028BB1C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8028EBC0 0028BB20 4B EA 28 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028EBC4 0028BB24 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8028EBC8 0028BB28 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028EBCC 0028BB2C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8028EBD0 0028BB30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028EBD4 0028BB34 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8028EBD8 0028BB38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028EBDC 0028BB3C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8028EBE0 0028BB40 90 81 00 08 */ stw r4, 8(r1) -/* 8028EBE4 0028BB44 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028EBE8 0028BB48 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8028EBEC 0028BB4C 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8028EBF0 0028BB50 90 01 00 08 */ stw r0, 8(r1) -/* 8028EBF4 0028BB54 48 00 00 2C */ b lbl_8028EC20 -lbl_8028EBF8: -/* 8028EBF8 0028BB58 80 66 04 50 */ lwz r3, 0x450(r6) -/* 8028EBFC 0028BB5C 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028EC00 0028BB60 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EC04 0028BB64 41 82 00 1C */ beq lbl_8028EC20 -/* 8028EC08 0028BB68 38 00 00 03 */ li r0, 3 -/* 8028EC0C 0028BB6C 90 06 05 68 */ stw r0, 0x568(r6) -/* 8028EC10 0028BB70 48 00 00 10 */ b lbl_8028EC20 -lbl_8028EC14: -/* 8028EC14 0028BB74 80 66 04 50 */ lwz r3, 0x450(r6) -/* 8028EC18 0028BB78 80 86 0A 40 */ lwz r4, 0xa40(r6) -/* 8028EC1C 0028BB7C 4B EA BD BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_8028EC20: -/* 8028EC20 0028BB80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028EC24 0028BB84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028EC28 0028BB88 7C 08 03 A6 */ mtlr r0 -/* 8028EC2C 0028BB8C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028EC30 0028BB90 4E 80 00 20 */ blr - -.global Suck__12COmegaPirateFR13CStateManager9EStateMsgf -Suck__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028EC34 0028BB94 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028EC38 0028BB98 7C 08 02 A6 */ mflr r0 -/* 8028EC3C 0028BB9C 2C 05 00 01 */ cmpwi r5, 1 -/* 8028EC40 0028BBA0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028EC44 0028BBA4 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 8028EC48 0028BBA8 7C 7C 1B 78 */ mr r28, r3 -/* 8028EC4C 0028BBAC 7C 9D 23 78 */ mr r29, r4 -/* 8028EC50 0028BBB0 41 82 00 3C */ beq lbl_8028EC8C -/* 8028EC54 0028BBB4 40 80 00 10 */ bge lbl_8028EC64 -/* 8028EC58 0028BBB8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028EC5C 0028BBBC 40 80 00 14 */ bge lbl_8028EC70 -/* 8028EC60 0028BBC0 48 00 01 F8 */ b lbl_8028EE58 -lbl_8028EC64: -/* 8028EC64 0028BBC4 2C 05 00 03 */ cmpwi r5, 3 -/* 8028EC68 0028BBC8 40 80 01 F0 */ bge lbl_8028EE58 -/* 8028EC6C 0028BBCC 48 00 00 FC */ b lbl_8028ED68 -lbl_8028EC70: -/* 8028EC70 0028BBD0 38 00 00 00 */ li r0, 0 -/* 8028EC74 0028BBD4 38 60 00 03 */ li r3, 3 -/* 8028EC78 0028BBD8 90 1C 05 68 */ stw r0, 0x568(r28) -/* 8028EC7C 0028BBDC 38 00 00 01 */ li r0, 1 -/* 8028EC80 0028BBE0 90 7C 0A 7C */ stw r3, 0xa7c(r28) -/* 8028EC84 0028BBE4 98 1C 0A 88 */ stb r0, 0xa88(r28) -/* 8028EC88 0028BBE8 48 00 01 D0 */ b lbl_8028EE58 -lbl_8028EC8C: -/* 8028EC8C 0028BBEC 80 1C 05 68 */ lwz r0, 0x568(r28) -/* 8028EC90 0028BBF0 2C 00 00 01 */ cmpwi r0, 1 -/* 8028EC94 0028BBF4 41 82 01 C4 */ beq lbl_8028EE58 -/* 8028EC98 0028BBF8 40 80 00 10 */ bge lbl_8028ECA8 -/* 8028EC9C 0028BBFC 2C 00 00 00 */ cmpwi r0, 0 -/* 8028ECA0 0028BC00 40 80 00 14 */ bge lbl_8028ECB4 -/* 8028ECA4 0028BC04 48 00 01 B4 */ b lbl_8028EE58 -lbl_8028ECA8: -/* 8028ECA8 0028BC08 2C 00 00 03 */ cmpwi r0, 3 -/* 8028ECAC 0028BC0C 40 80 01 AC */ bge lbl_8028EE58 -/* 8028ECB0 0028BC10 48 00 00 9C */ b lbl_8028ED4C -lbl_8028ECB4: -/* 8028ECB4 0028BC14 80 9C 04 50 */ lwz r4, 0x450(r28) -/* 8028ECB8 0028BC18 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028ECBC 0028BC1C 2C 00 00 03 */ cmpwi r0, 3 -/* 8028ECC0 0028BC20 40 82 00 10 */ bne lbl_8028ECD0 -/* 8028ECC4 0028BC24 38 00 00 02 */ li r0, 2 -/* 8028ECC8 0028BC28 90 1C 05 68 */ stw r0, 0x568(r28) -/* 8028ECCC 0028BC2C 48 00 01 8C */ b lbl_8028EE58 -lbl_8028ECD0: -/* 8028ECD0 0028BC30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028ECD4 0028BC34 38 C0 00 01 */ li r6, 1 -/* 8028ECD8 0028BC38 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028ECDC 0028BC3C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028ECE0 0028BC40 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028ECE4 0028BC44 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028ECE8 0028BC48 38 00 00 00 */ li r0, 0 -/* 8028ECEC 0028BC4C 3B 64 00 04 */ addi r27, r4, 4 -/* 8028ECF0 0028BC50 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8028ECF4 0028BC54 7F 63 DB 78 */ mr r3, r27 -/* 8028ECF8 0028BC58 38 80 00 01 */ li r4, 1 -/* 8028ECFC 0028BC5C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8028ED00 0028BC60 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8028ED04 0028BC64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028ED08 0028BC68 4B EA 27 31 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028ED0C 0028BC6C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8028ED10 0028BC70 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028ED14 0028BC74 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028ED18 0028BC78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028ED1C 0028BC7C 90 1B 00 C8 */ stw r0, 0xc8(r27) -/* 8028ED20 0028BC80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028ED24 0028BC84 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 8028ED28 0028BC88 38 80 00 01 */ li r4, 1 -/* 8028ED2C 0028BC8C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8028ED30 0028BC90 90 DB 00 CC */ stw r6, 0xcc(r27) -/* 8028ED34 0028BC94 90 7B 00 D0 */ stw r3, 0xd0(r27) -/* 8028ED38 0028BC98 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8028ED3C 0028BC9C 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8028ED40 0028BCA0 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028ED44 0028BCA4 4B EA BC 95 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8028ED48 0028BCA8 48 00 01 10 */ b lbl_8028EE58 -lbl_8028ED4C: -/* 8028ED4C 0028BCAC 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8028ED50 0028BCB0 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8028ED54 0028BCB4 2C 00 00 03 */ cmpwi r0, 3 -/* 8028ED58 0028BCB8 41 82 01 00 */ beq lbl_8028EE58 -/* 8028ED5C 0028BCBC 38 00 00 03 */ li r0, 3 -/* 8028ED60 0028BCC0 90 1C 05 68 */ stw r0, 0x568(r28) -/* 8028ED64 0028BCC4 48 00 00 F4 */ b lbl_8028EE58 -lbl_8028ED68: -/* 8028ED68 0028BCC8 83 FC 09 E0 */ lwz r31, 0x9e0(r28) -/* 8028ED6C 0028BCCC 3B C0 00 00 */ li r30, 0 -/* 8028ED70 0028BCD0 3B 60 00 00 */ li r27, 0 -/* 8028ED74 0028BCD4 48 00 00 C4 */ b lbl_8028EE38 -lbl_8028ED78: -/* 8028ED78 0028BCD8 80 BC 09 E8 */ lwz r5, 0x9e8(r28) -/* 8028ED7C 0028BCDC 7F A3 EB 78 */ mr r3, r29 -/* 8028ED80 0028BCE0 38 81 00 08 */ addi r4, r1, 8 -/* 8028ED84 0028BCE4 7C 05 DA 2E */ lhzx r0, r5, r27 -/* 8028ED88 0028BCE8 B0 01 00 08 */ sth r0, 8(r1) -/* 8028ED8C 0028BCEC 4B DB D7 E9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028ED90 0028BCF0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8028ED94 0028BCF4 41 82 00 9C */ beq lbl_8028EE30 -/* 8028ED98 0028BCF8 3C 80 80 57 */ lis r4, lbl_8056D718@ha -/* 8028ED9C 0028BCFC 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l -/* 8028EDA0 0028BD00 4B E2 20 B5 */ bl sub_800b0e54 -/* 8028EDA4 0028BD04 7F 43 D3 78 */ mr r3, r26 -/* 8028EDA8 0028BD08 7F A5 EB 78 */ mr r5, r29 -/* 8028EDAC 0028BD0C 38 80 00 29 */ li r4, 0x29 -/* 8028EDB0 0028BD10 4B DC 51 D1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028EDB4 0028BD14 7F 43 D3 78 */ mr r3, r26 -/* 8028EDB8 0028BD18 7F A5 EB 78 */ mr r5, r29 -/* 8028EDBC 0028BD1C 38 80 00 28 */ li r4, 0x28 -/* 8028EDC0 0028BD20 4B DC 51 C1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028EDC4 0028BD24 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028EDC8 0028BD28 38 60 00 01 */ li r3, 1 -/* 8028EDCC 0028BD2C 88 1A 03 56 */ lbz r0, 0x356(r26) -/* 8028EDD0 0028BD30 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8028EDD4 0028BD34 FC 40 08 90 */ fmr f2, f1 -/* 8028EDD8 0028BD38 C0 82 BE 9C */ lfs f4, lbl_805ADBBC@sda21(r2) -/* 8028EDDC 0028BD3C FC 60 08 90 */ fmr f3, f1 -/* 8028EDE0 0028BD40 98 1A 03 56 */ stb r0, 0x356(r26) -/* 8028EDE4 0028BD44 38 61 00 0C */ addi r3, r1, 0xc -/* 8028EDE8 0028BD48 48 0D 46 05 */ bl __ct__6CColorFffff -/* 8028EDEC 0028BD4C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8028EDF0 0028BD50 38 C0 00 05 */ li r6, 5 -/* 8028EDF4 0028BD54 38 80 00 03 */ li r4, 3 -/* 8028EDF8 0028BD58 38 A0 00 00 */ li r5, 0 -/* 8028EDFC 0028BD5C 98 DA 00 B4 */ stb r6, 0xb4(r26) -/* 8028EE00 0028BD60 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 8028EE04 0028BD64 60 00 00 03 */ ori r0, r0, 3 -/* 8028EE08 0028BD68 98 BA 00 B5 */ stb r5, 0xb5(r26) -/* 8028EE0C 0028BD6C B0 1A 00 B6 */ sth r0, 0xb6(r26) -/* 8028EE10 0028BD70 90 7A 00 B8 */ stw r3, 0xb8(r26) -/* 8028EE14 0028BD74 88 1A 03 56 */ lbz r0, 0x356(r26) -/* 8028EE18 0028BD78 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 8028EE1C 0028BD7C 98 C1 00 10 */ stb r6, 0x10(r1) -/* 8028EE20 0028BD80 98 A1 00 11 */ stb r5, 0x11(r1) -/* 8028EE24 0028BD84 B0 81 00 12 */ sth r4, 0x12(r1) -/* 8028EE28 0028BD88 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028EE2C 0028BD8C 98 1A 03 56 */ stb r0, 0x356(r26) -lbl_8028EE30: -/* 8028EE30 0028BD90 3B DE 00 01 */ addi r30, r30, 1 -/* 8028EE34 0028BD94 3B 7B 00 14 */ addi r27, r27, 0x14 -lbl_8028EE38: -/* 8028EE38 0028BD98 7C 1E F8 40 */ cmplw r30, r31 -/* 8028EE3C 0028BD9C 41 80 FF 3C */ blt lbl_8028ED78 -/* 8028EE40 0028BDA0 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028EE44 0028BDA4 38 00 00 00 */ li r0, 0 -/* 8028EE48 0028BDA8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) -/* 8028EE4C 0028BDAC D0 3C 0B 50 */ stfs f1, 0xb50(r28) -/* 8028EE50 0028BDB0 D0 1C 0B 58 */ stfs f0, 0xb58(r28) -/* 8028EE54 0028BDB4 90 1C 0B 4C */ stw r0, 0xb4c(r28) -lbl_8028EE58: -/* 8028EE58 0028BDB8 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 8028EE5C 0028BDBC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028EE60 0028BDC0 7C 08 03 A6 */ mtlr r0 -/* 8028EE64 0028BDC4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028EE68 0028BDC8 4E 80 00 20 */ blr - -.global Skid__12COmegaPirateFR13CStateManager9EStateMsgf -Skid__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028EE6C 0028BDCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028EE70 0028BDD0 7C 08 02 A6 */ mflr r0 -/* 8028EE74 0028BDD4 2C 05 00 01 */ cmpwi r5, 1 -/* 8028EE78 0028BDD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028EE7C 0028BDDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028EE80 0028BDE0 41 82 00 24 */ beq lbl_8028EEA4 -/* 8028EE84 0028BDE4 40 80 00 EC */ bge lbl_8028EF70 -/* 8028EE88 0028BDE8 2C 05 00 00 */ cmpwi r5, 0 -/* 8028EE8C 0028BDEC 40 80 00 0C */ bge lbl_8028EE98 -/* 8028EE90 0028BDF0 48 00 00 E0 */ b lbl_8028EF70 -/* 8028EE94 0028BDF4 48 00 00 DC */ b lbl_8028EF70 -lbl_8028EE98: -/* 8028EE98 0028BDF8 38 00 00 00 */ li r0, 0 -/* 8028EE9C 0028BDFC 90 03 05 68 */ stw r0, 0x568(r3) -/* 8028EEA0 0028BE00 48 00 00 D0 */ b lbl_8028EF70 -lbl_8028EEA4: -/* 8028EEA4 0028BE04 80 03 05 68 */ lwz r0, 0x568(r3) -/* 8028EEA8 0028BE08 2C 00 00 01 */ cmpwi r0, 1 -/* 8028EEAC 0028BE0C 41 82 00 C4 */ beq lbl_8028EF70 -/* 8028EEB0 0028BE10 40 80 00 10 */ bge lbl_8028EEC0 -/* 8028EEB4 0028BE14 2C 00 00 00 */ cmpwi r0, 0 -/* 8028EEB8 0028BE18 40 80 00 14 */ bge lbl_8028EECC -/* 8028EEBC 0028BE1C 48 00 00 B4 */ b lbl_8028EF70 -lbl_8028EEC0: -/* 8028EEC0 0028BE20 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EEC4 0028BE24 40 80 00 AC */ bge lbl_8028EF70 -/* 8028EEC8 0028BE28 48 00 00 90 */ b lbl_8028EF58 -lbl_8028EECC: -/* 8028EECC 0028BE2C 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 8028EED0 0028BE30 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8028EED4 0028BE34 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EED8 0028BE38 40 82 00 10 */ bne lbl_8028EEE8 -/* 8028EEDC 0028BE3C 38 00 00 02 */ li r0, 2 -/* 8028EEE0 0028BE40 90 03 05 68 */ stw r0, 0x568(r3) -/* 8028EEE4 0028BE44 48 00 00 8C */ b lbl_8028EF70 -lbl_8028EEE8: -/* 8028EEE8 0028BE48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028EEEC 0028BE4C 38 00 00 00 */ li r0, 0 -/* 8028EEF0 0028BE50 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l -/* 8028EEF4 0028BE54 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028EEF8 0028BE58 90 81 00 08 */ stw r4, 8(r1) -/* 8028EEFC 0028BE5C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8028EF00 0028BE60 38 60 00 01 */ li r3, 1 -/* 8028EF04 0028BE64 3B E6 00 04 */ addi r31, r6, 4 -/* 8028EF08 0028BE68 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028EF0C 0028BE6C 7F E3 FB 78 */ mr r3, r31 -/* 8028EF10 0028BE70 38 80 00 01 */ li r4, 1 -/* 8028EF14 0028BE74 90 A1 00 08 */ stw r5, 8(r1) -/* 8028EF18 0028BE78 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028EF1C 0028BE7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028EF20 0028BE80 4B EA 25 19 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028EF24 0028BE84 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8028EF28 0028BE88 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8028EF2C 0028BE8C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8028EF30 0028BE90 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028EF34 0028BE94 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8028EF38 0028BE98 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028EF3C 0028BE9C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8028EF40 0028BEA0 90 81 00 08 */ stw r4, 8(r1) -/* 8028EF44 0028BEA4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028EF48 0028BEA8 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8028EF4C 0028BEAC 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8028EF50 0028BEB0 90 01 00 08 */ stw r0, 8(r1) -/* 8028EF54 0028BEB4 48 00 00 1C */ b lbl_8028EF70 -lbl_8028EF58: -/* 8028EF58 0028BEB8 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8028EF5C 0028BEBC 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8028EF60 0028BEC0 2C 00 00 03 */ cmpwi r0, 3 -/* 8028EF64 0028BEC4 41 82 00 0C */ beq lbl_8028EF70 -/* 8028EF68 0028BEC8 38 00 00 03 */ li r0, 3 -/* 8028EF6C 0028BECC 90 03 05 68 */ stw r0, 0x568(r3) -lbl_8028EF70: -/* 8028EF70 0028BED0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028EF74 0028BED4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028EF78 0028BED8 7C 08 03 A6 */ mtlr r0 -/* 8028EF7C 0028BEDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028EF80 0028BEE0 4E 80 00 20 */ blr - -.global Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf -Shuffle__12COmegaPirateFR13CStateManager9EStateMsgf: -/* 8028EF84 0028BEE4 4E 80 00 20 */ blr - -.global CodeTrigger__12COmegaPirateFR13CStateManagerf -CodeTrigger__12COmegaPirateFR13CStateManagerf: -/* 8028EF88 0028BEE8 88 63 0B 78 */ lbz r3, 0xb78(r3) -/* 8028EF8C 0028BEEC 4E 80 00 20 */ blr - -.global HearPlayer__12COmegaPirateFR13CStateManagerf -HearPlayer__12COmegaPirateFR13CStateManagerf: -/* 8028EF90 0028BEF0 88 63 0A 3C */ lbz r3, 0xa3c(r3) -/* 8028EF94 0028BEF4 4E 80 00 20 */ blr - -.global CoverBlown__12COmegaPirateFR13CStateManagerf -CoverBlown__12COmegaPirateFR13CStateManagerf: -/* 8028EF98 0028BEF8 88 03 09 B4 */ lbz r0, 0x9b4(r3) -/* 8028EF9C 0028BEFC 28 00 00 00 */ cmplwi r0, 0 -/* 8028EFA0 0028BF00 41 82 00 1C */ beq lbl_8028EFBC -/* 8028EFA4 0028BF04 38 00 00 00 */ li r0, 0 -/* 8028EFA8 0028BF08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028EFAC 0028BF0C 98 03 09 B4 */ stb r0, 0x9b4(r3) -/* 8028EFB0 0028BF10 D0 03 0B 5C */ stfs f0, 0xb5c(r3) -/* 8028EFB4 0028BF14 38 60 00 01 */ li r3, 1 -/* 8028EFB8 0028BF18 4E 80 00 20 */ blr -lbl_8028EFBC: -/* 8028EFBC 0028BF1C 38 60 00 00 */ li r3, 0 -/* 8028EFC0 0028BF20 4E 80 00 20 */ blr - -.global sub_8028efc4 -sub_8028efc4: -/* 8028EFC4 0028BF24 94 21 FD A0 */ stwu r1, -0x260(r1) -/* 8028EFC8 0028BF28 7C 08 02 A6 */ mflr r0 -/* 8028EFCC 0028BF2C 90 01 02 64 */ stw r0, 0x264(r1) -/* 8028EFD0 0028BF30 DB E1 02 50 */ stfd f31, 0x250(r1) -/* 8028EFD4 0028BF34 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 -/* 8028EFD8 0028BF38 DB C1 02 40 */ stfd f30, 0x240(r1) -/* 8028EFDC 0028BF3C F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 -/* 8028EFE0 0028BF40 DB A1 02 30 */ stfd f29, 0x230(r1) -/* 8028EFE4 0028BF44 F3 A1 02 38 */ psq_st f29, 568(r1), 0, qr0 -/* 8028EFE8 0028BF48 DB 81 02 20 */ stfd f28, 0x220(r1) -/* 8028EFEC 0028BF4C F3 81 02 28 */ psq_st f28, 552(r1), 0, qr0 -/* 8028EFF0 0028BF50 DB 61 02 10 */ stfd f27, 0x210(r1) -/* 8028EFF4 0028BF54 F3 61 02 18 */ psq_st f27, 536(r1), 0, qr0 -/* 8028EFF8 0028BF58 DB 41 02 00 */ stfd f26, 0x200(r1) -/* 8028EFFC 0028BF5C F3 41 02 08 */ psq_st f26, 520(r1), 0, qr0 -/* 8028F000 0028BF60 DB 21 01 F0 */ stfd f25, 0x1f0(r1) -/* 8028F004 0028BF64 F3 21 01 F8 */ psq_st f25, 504(r1), 0, qr0 -/* 8028F008 0028BF68 DB 01 01 E0 */ stfd f24, 0x1e0(r1) -/* 8028F00C 0028BF6C F3 01 01 E8 */ psq_st f24, 488(r1), 0, qr0 -/* 8028F010 0028BF70 DA E1 01 D0 */ stfd f23, 0x1d0(r1) -/* 8028F014 0028BF74 F2 E1 01 D8 */ psq_st f23, 472(r1), 0, qr0 -/* 8028F018 0028BF78 DA C1 01 C0 */ stfd f22, 0x1c0(r1) -/* 8028F01C 0028BF7C F2 C1 01 C8 */ psq_st f22, 456(r1), 0, qr0 -/* 8028F020 0028BF80 BF 21 01 A4 */ stmw r25, 0x1a4(r1) -/* 8028F024 0028BF84 7C 9F 23 78 */ mr r31, r4 -/* 8028F028 0028BF88 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8028F02C 0028BF8C 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8028F030 0028BF90 7C 7E 1B 78 */ mr r30, r3 -/* 8028F034 0028BF94 C7 24 66 A0 */ lfsu f25, skZero3f@l(r4) -/* 8028F038 0028BF98 3B 80 00 00 */ li r28, 0 -/* 8028F03C 0028BF9C C2 C2 BE 9C */ lfs f22, lbl_805ADBBC@sda21(r2) -/* 8028F040 0028BFA0 3B 40 00 00 */ li r26, 0 -/* 8028F044 0028BFA4 C3 C5 00 50 */ lfs f30, 0x50(r5) -/* 8028F048 0028BFA8 3B A0 00 00 */ li r29, 0 -/* 8028F04C 0028BFAC C3 E5 00 40 */ lfs f31, 0x40(r5) -/* 8028F050 0028BFB0 C3 45 00 60 */ lfs f26, 0x60(r5) -/* 8028F054 0028BFB4 C3 04 00 04 */ lfs f24, 4(r4) -/* 8028F058 0028BFB8 C2 E4 00 08 */ lfs f23, 8(r4) -/* 8028F05C 0028BFBC 83 63 09 A8 */ lwz r27, 0x9a8(r3) -/* 8028F060 0028BFC0 48 00 00 A0 */ b lbl_8028F100 -lbl_8028F064: -/* 8028F064 0028BFC4 80 BE 09 B0 */ lwz r5, 0x9b0(r30) -/* 8028F068 0028BFC8 7F E3 FB 78 */ mr r3, r31 -/* 8028F06C 0028BFCC 38 81 00 0C */ addi r4, r1, 0xc -/* 8028F070 0028BFD0 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028F074 0028BFD4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028F078 0028BFD8 4B DB D5 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8028F07C 0028BFDC 7C 64 1B 78 */ mr r4, r3 -/* 8028F080 0028BFE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028F084 0028BFE4 4B E1 74 C9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8028F088 0028BFE8 83 23 00 04 */ lwz r25, 4(r3) -/* 8028F08C 0028BFEC 28 19 00 00 */ cmplwi r25, 0 -/* 8028F090 0028BFF0 41 82 00 68 */ beq lbl_8028F0F8 -/* 8028F094 0028BFF4 C3 79 00 60 */ lfs f27, 0x60(r25) -/* 8028F098 0028BFF8 38 61 00 BC */ addi r3, r1, 0xbc -/* 8028F09C 0028BFFC C3 99 00 50 */ lfs f28, 0x50(r25) -/* 8028F0A0 0028C000 C3 B9 00 40 */ lfs f29, 0x40(r25) -/* 8028F0A4 0028C004 EC 1A D8 28 */ fsubs f0, f26, f27 -/* 8028F0A8 0028C008 EC 3E E0 28 */ fsubs f1, f30, f28 -/* 8028F0AC 0028C00C EC 5F E8 28 */ fsubs f2, f31, f29 -/* 8028F0B0 0028C010 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8028F0B4 0028C014 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 8028F0B8 0028C018 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 8028F0BC 0028C01C D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 8028F0C0 0028C020 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 8028F0C4 0028C024 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8028F0C8 0028C028 48 08 57 F1 */ bl Magnitude__9CVector3fCFv -/* 8028F0CC 0028C02C FC 01 B0 40 */ fcmpo cr0, f1, f22 -/* 8028F0D0 0028C030 40 81 00 28 */ ble lbl_8028F0F8 -/* 8028F0D4 0028C034 A0 79 00 08 */ lhz r3, 8(r25) -/* 8028F0D8 0028C038 A0 1E 0A DA */ lhz r0, 0xada(r30) -/* 8028F0DC 0028C03C 7C 03 00 40 */ cmplw r3, r0 -/* 8028F0E0 0028C040 41 82 00 18 */ beq lbl_8028F0F8 -/* 8028F0E4 0028C044 FE C0 08 90 */ fmr f22, f1 -/* 8028F0E8 0028C048 7F 5C D3 78 */ mr r28, r26 -/* 8028F0EC 0028C04C FF 20 E8 90 */ fmr f25, f29 -/* 8028F0F0 0028C050 FF 00 E0 90 */ fmr f24, f28 -/* 8028F0F4 0028C054 FE E0 D8 90 */ fmr f23, f27 -lbl_8028F0F8: -/* 8028F0F8 0028C058 3B 5A 00 01 */ addi r26, r26, 1 -/* 8028F0FC 0028C05C 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_8028F100: -/* 8028F100 0028C060 7C 1A D8 40 */ cmplw r26, r27 -/* 8028F104 0028C064 41 80 FF 60 */ blt lbl_8028F064 -/* 8028F108 0028C068 D3 21 00 98 */ stfs f25, 0x98(r1) -/* 8028F10C 0028C06C 7F E5 FB 78 */ mr r5, r31 -/* 8028F110 0028C070 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8028F114 0028C074 38 81 00 98 */ addi r4, r1, 0x98 -/* 8028F118 0028C078 D3 01 00 9C */ stfs f24, 0x9c(r1) -/* 8028F11C 0028C07C D2 E1 00 A0 */ stfs f23, 0xa0(r1) -/* 8028F120 0028C080 48 00 02 29 */ bl sub_8028f348 -/* 8028F124 0028C084 7F C3 F3 78 */ mr r3, r30 -/* 8028F128 0028C088 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 8028F12C 0028C08C 4B DC 3D 61 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8028F130 0028C090 1C DC 00 14 */ mulli r6, r28, 0x14 -/* 8028F134 0028C094 80 BE 09 B0 */ lwz r5, 0x9b0(r30) -/* 8028F138 0028C098 7F E3 FB 78 */ mr r3, r31 -/* 8028F13C 0028C09C 38 81 00 08 */ addi r4, r1, 8 -/* 8028F140 0028C0A0 7C 05 32 2E */ lhzx r0, r5, r6 -/* 8028F144 0028C0A4 B0 1E 0A DA */ sth r0, 0xada(r30) -/* 8028F148 0028C0A8 80 BE 09 B0 */ lwz r5, 0x9b0(r30) -/* 8028F14C 0028C0AC 7C 05 32 2E */ lhzx r0, r5, r6 -/* 8028F150 0028C0B0 B0 01 00 08 */ sth r0, 8(r1) -/* 8028F154 0028C0B4 4B DB D4 21 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028F158 0028C0B8 7C 64 1B 78 */ mr r4, r3 -/* 8028F15C 0028C0BC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028F160 0028C0C0 4B E1 73 ED */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8028F164 0028C0C4 80 63 00 04 */ lwz r3, 4(r3) -/* 8028F168 0028C0C8 28 03 00 00 */ cmplwi r3, 0 -/* 8028F16C 0028C0CC 41 82 00 14 */ beq lbl_8028F180 -/* 8028F170 0028C0D0 7F E5 FB 78 */ mr r5, r31 -/* 8028F174 0028C0D4 38 80 00 01 */ li r4, 1 -/* 8028F178 0028C0D8 38 C0 FF FF */ li r6, -1 -/* 8028F17C 0028C0DC 4B DC 1F 45 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8028F180: -/* 8028F180 0028C0E0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8028F184 0028C0E4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028F188 0028C0E8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8028F18C 0028C0EC 48 08 50 75 */ bl __ct__9CVector2fFff -/* 8028F190 0028C0F0 FC 20 F8 90 */ fmr f1, f31 -/* 8028F194 0028C0F4 38 61 00 30 */ addi r3, r1, 0x30 -/* 8028F198 0028C0F8 FC 40 F0 90 */ fmr f2, f30 -/* 8028F19C 0028C0FC 48 08 50 65 */ bl __ct__9CVector2fFff -/* 8028F1A0 0028C100 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028F1A4 0028C104 38 81 00 30 */ addi r4, r1, 0x30 -/* 8028F1A8 0028C108 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8028F1AC 0028C10C 48 08 4D 8D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8028F1B0 0028C110 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8028F1B4 0028C114 38 61 00 48 */ addi r3, r1, 0x48 -/* 8028F1B8 0028C118 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8028F1BC 0028C11C 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028F1C0 0028C120 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8028F1C4 0028C124 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8028F1C8 0028C128 48 08 4E B9 */ bl AsNormalized__9CVector2fCFv -/* 8028F1CC 0028C12C C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 8028F1D0 0028C130 38 61 00 18 */ addi r3, r1, 0x18 -/* 8028F1D4 0028C134 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 8028F1D8 0028C138 C0 1E 00 58 */ lfs f0, 0x58(r30) -/* 8028F1DC 0028C13C D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 8028F1E0 0028C140 C2 E1 00 48 */ lfs f23, 0x48(r1) -/* 8028F1E4 0028C144 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8028F1E8 0028C148 C3 01 00 4C */ lfs f24, 0x4c(r1) -/* 8028F1EC 0028C14C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8028F1F0 0028C150 48 08 50 11 */ bl __ct__9CVector2fFff -/* 8028F1F4 0028C154 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028F1F8 0028C158 38 81 00 18 */ addi r4, r1, 0x18 -/* 8028F1FC 0028C15C 48 08 4E 85 */ bl AsNormalized__9CVector2fCFv -/* 8028F200 0028C160 C0 42 BE 9C */ lfs f2, lbl_805ADBBC@sda21(r2) -/* 8028F204 0028C164 38 61 00 7C */ addi r3, r1, 0x7c -/* 8028F208 0028C168 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8028F20C 0028C16C 38 81 00 70 */ addi r4, r1, 0x70 -/* 8028F210 0028C170 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8028F214 0028C174 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8028F218 0028C178 D2 E1 00 64 */ stfs f23, 0x64(r1) -/* 8028F21C 0028C17C D3 01 00 68 */ stfs f24, 0x68(r1) -/* 8028F220 0028C180 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8028F224 0028C184 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 8028F228 0028C188 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8028F22C 0028C18C D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8028F230 0028C190 48 08 28 89 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -/* 8028F234 0028C194 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 8028F238 0028C198 38 61 01 08 */ addi r3, r1, 0x108 -/* 8028F23C 0028C19C C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8028F240 0028C1A0 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8028F244 0028C1A4 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 8028F248 0028C1A8 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8028F24C 0028C1AC D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 8028F250 0028C1B0 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 8028F254 0028C1B4 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 8028F258 0028C1B8 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8028F25C 0028C1BC 48 08 2E 31 */ bl BuildTransform__11CQuaternionCFv -/* 8028F260 0028C1C0 38 61 01 2C */ addi r3, r1, 0x12c -/* 8028F264 0028C1C4 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8028F268 0028C1C8 48 08 3E 8D */ bl BuildMatrix3f__12CTransform4fCFv -/* 8028F26C 0028C1CC 38 61 01 50 */ addi r3, r1, 0x150 -/* 8028F270 0028C1D0 38 81 01 2C */ addi r4, r1, 0x12c -/* 8028F274 0028C1D4 38 A1 01 08 */ addi r5, r1, 0x108 -/* 8028F278 0028C1D8 48 08 0E B9 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 8028F27C 0028C1DC 38 61 01 74 */ addi r3, r1, 0x174 -/* 8028F280 0028C1E0 38 81 01 50 */ addi r4, r1, 0x150 -/* 8028F284 0028C1E4 48 08 0D A1 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8028F288 0028C1E8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8028F28C 0028C1EC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8028F290 0028C1F0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8028F294 0028C1F4 38 81 01 74 */ addi r4, r1, 0x174 -/* 8028F298 0028C1F8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8028F29C 0028C1FC 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8028F2A0 0028C200 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8028F2A4 0028C204 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 8028F2A8 0028C208 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8028F2AC 0028C20C 48 08 3F CD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 8028F2B0 0028C210 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8028F2B4 0028C214 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8028F2B8 0028C218 48 08 38 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8028F2BC 0028C21C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8028F2C0 0028C220 38 60 00 01 */ li r3, 1 -/* 8028F2C4 0028C224 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8028F2C8 0028C228 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8028F2CC 0028C22C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8028F2D0 0028C230 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8028F2D4 0028C234 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8028F2D8 0028C238 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8028F2DC 0028C23C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8028F2E0 0028C240 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8028F2E4 0028C244 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 -/* 8028F2E8 0028C248 CB E1 02 50 */ lfd f31, 0x250(r1) -/* 8028F2EC 0028C24C E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 -/* 8028F2F0 0028C250 CB C1 02 40 */ lfd f30, 0x240(r1) -/* 8028F2F4 0028C254 E3 A1 02 38 */ psq_l f29, 568(r1), 0, qr0 -/* 8028F2F8 0028C258 CB A1 02 30 */ lfd f29, 0x230(r1) -/* 8028F2FC 0028C25C E3 81 02 28 */ psq_l f28, 552(r1), 0, qr0 -/* 8028F300 0028C260 CB 81 02 20 */ lfd f28, 0x220(r1) -/* 8028F304 0028C264 E3 61 02 18 */ psq_l f27, 536(r1), 0, qr0 -/* 8028F308 0028C268 CB 61 02 10 */ lfd f27, 0x210(r1) -/* 8028F30C 0028C26C E3 41 02 08 */ psq_l f26, 520(r1), 0, qr0 -/* 8028F310 0028C270 CB 41 02 00 */ lfd f26, 0x200(r1) -/* 8028F314 0028C274 E3 21 01 F8 */ psq_l f25, 504(r1), 0, qr0 -/* 8028F318 0028C278 CB 21 01 F0 */ lfd f25, 0x1f0(r1) -/* 8028F31C 0028C27C E3 01 01 E8 */ psq_l f24, 488(r1), 0, qr0 -/* 8028F320 0028C280 CB 01 01 E0 */ lfd f24, 0x1e0(r1) -/* 8028F324 0028C284 E2 E1 01 D8 */ psq_l f23, 472(r1), 0, qr0 -/* 8028F328 0028C288 CA E1 01 D0 */ lfd f23, 0x1d0(r1) -/* 8028F32C 0028C28C E2 C1 01 C8 */ psq_l f22, 456(r1), 0, qr0 -/* 8028F330 0028C290 CA C1 01 C0 */ lfd f22, 0x1c0(r1) -/* 8028F334 0028C294 BB 21 01 A4 */ lmw r25, 0x1a4(r1) -/* 8028F338 0028C298 80 01 02 64 */ lwz r0, 0x264(r1) -/* 8028F33C 0028C29C 7C 08 03 A6 */ mtlr r0 -/* 8028F340 0028C2A0 38 21 02 60 */ addi r1, r1, 0x260 -/* 8028F344 0028C2A4 4E 80 00 20 */ blr - -.global sub_8028f348 -sub_8028f348: -/* 8028F348 0028C2A8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028F34C 0028C2AC 7C 08 02 A6 */ mflr r0 -/* 8028F350 0028C2B0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028F354 0028C2B4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8028F358 0028C2B8 7C BF 2B 78 */ mr r31, r5 -/* 8028F35C 0028C2BC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028F360 0028C2C0 7C 9E 23 78 */ mr r30, r4 -/* 8028F364 0028C2C4 38 80 00 01 */ li r4, 1 -/* 8028F368 0028C2C8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8028F36C 0028C2CC 7C 7D 1B 78 */ mr r29, r3 -/* 8028F370 0028C2D0 38 60 00 00 */ li r3, 0 -/* 8028F374 0028C2D4 80 0D 99 9C */ lwz r0, lbl_805A855C@sda21(r13) -/* 8028F378 0028C2D8 7C 05 03 78 */ mr r5, r0 -/* 8028F37C 0028C2DC 48 0F AB 79 */ bl __shl2i -/* 8028F380 0028C2E0 39 00 00 00 */ li r8, 0 -/* 8028F384 0028C2E4 38 00 00 01 */ li r0, 1 -/* 8028F388 0028C2E8 3C A0 80 5A */ lis r5, lbl_805A6700@ha -/* 8028F38C 0028C2EC 90 81 00 0C */ stw r4, 0xc(r1) -/* 8028F390 0028C2F0 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l -/* 8028F394 0028C2F4 C0 22 BE F4 */ lfs f1, lbl_805ADC14@sda21(r2) -/* 8028F398 0028C2F8 90 61 00 08 */ stw r3, 8(r1) -/* 8028F39C 0028C2FC 7F E4 FB 78 */ mr r4, r31 -/* 8028F3A0 0028C300 7F C5 F3 78 */ mr r5, r30 -/* 8028F3A4 0028C304 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028F3A8 0028C308 91 01 00 14 */ stw r8, 0x14(r1) -/* 8028F3AC 0028C30C 38 E1 00 08 */ addi r7, r1, 8 -/* 8028F3B0 0028C310 91 01 00 10 */ stw r8, 0x10(r1) -/* 8028F3B4 0028C314 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028F3B8 0028C318 4B EF 54 51 */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8028F3BC 0028C31C 88 01 00 40 */ lbz r0, 0x40(r1) -/* 8028F3C0 0028C320 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8028F3C4 0028C324 28 00 00 00 */ cmplwi r0, 0 -/* 8028F3C8 0028C328 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8028F3CC 0028C32C C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8028F3D0 0028C330 40 82 00 20 */ bne lbl_8028F3F0 -/* 8028F3D4 0028C334 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8028F3D8 0028C338 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8028F3DC 0028C33C C0 1E 00 04 */ lfs f0, 4(r30) -/* 8028F3E0 0028C340 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8028F3E4 0028C344 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8028F3E8 0028C348 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8028F3EC 0028C34C 48 00 00 10 */ b lbl_8028F3FC -lbl_8028F3F0: -/* 8028F3F0 0028C350 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8028F3F4 0028C354 D0 3D 00 04 */ stfs f1, 4(r29) -/* 8028F3F8 0028C358 D0 5D 00 08 */ stfs f2, 8(r29) -lbl_8028F3FC: -/* 8028F3FC 0028C35C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028F400 0028C360 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8028F404 0028C364 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8028F408 0028C368 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8028F40C 0028C36C 7C 08 03 A6 */ mtlr r0 -/* 8028F410 0028C370 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028F414 0028C374 4E 80 00 20 */ blr - -.global Render__12COmegaPirateCFRC13CStateManager -Render__12COmegaPirateCFRC13CStateManager: -/* 8028F418 0028C378 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8028F41C 0028C37C 7C 08 02 A6 */ mflr r0 -/* 8028F420 0028C380 90 01 01 84 */ stw r0, 0x184(r1) -/* 8028F424 0028C384 93 E1 01 7C */ stw r31, 0x17c(r1) -/* 8028F428 0028C388 7C 9F 23 78 */ mr r31, r4 -/* 8028F42C 0028C38C 38 81 00 38 */ addi r4, r1, 0x38 -/* 8028F430 0028C390 93 C1 01 78 */ stw r30, 0x178(r1) -/* 8028F434 0028C394 7C 7E 1B 78 */ mr r30, r3 -/* 8028F438 0028C398 93 A1 01 74 */ stw r29, 0x174(r1) -/* 8028F43C 0028C39C 80 A3 00 64 */ lwz r5, 0x64(r3) -/* 8028F440 0028C3A0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028F444 0028C3A4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8028F448 0028C3A8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8028F44C 0028C3AC C0 05 00 04 */ lfs f0, 4(r5) -/* 8028F450 0028C3B0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8028F454 0028C3B4 C0 05 00 08 */ lfs f0, 8(r5) -/* 8028F458 0028C3B8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8028F45C 0028C3BC 48 08 3D 69 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8028F460 0028C3C0 38 61 00 74 */ addi r3, r1, 0x74 -/* 8028F464 0028C3C4 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8028F468 0028C3C8 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8028F46C 0028C3CC 48 08 34 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8028F470 0028C3D0 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8028F474 0028C3D4 38 81 00 74 */ addi r4, r1, 0x74 -/* 8028F478 0028C3D8 48 08 36 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8028F47C 0028C3DC 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8028F480 0028C3E0 48 07 D1 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8028F484 0028C3E4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028F488 0028C3E8 7F E4 FB 78 */ mr r4, r31 -/* 8028F48C 0028C3EC 80 63 00 00 */ lwz r3, 0(r3) -/* 8028F490 0028C3F0 4B E0 20 C9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028F494 0028C3F4 2C 03 00 01 */ cmpwi r3, 1 -/* 8028F498 0028C3F8 41 82 00 90 */ beq lbl_8028F528 -/* 8028F49C 0028C3FC C0 9E 0A 2C */ lfs f4, 0xa2c(r30) -/* 8028F4A0 0028C400 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F4A4 0028C404 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8028F4A8 0028C408 40 81 00 80 */ ble lbl_8028F528 -/* 8028F4AC 0028C40C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028F4B0 0028C410 38 00 00 00 */ li r0, 0 -/* 8028F4B4 0028C414 98 01 01 68 */ stb r0, 0x168(r1) -/* 8028F4B8 0028C418 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028F4BC 0028C41C FC 40 08 90 */ fmr f2, f1 -/* 8028F4C0 0028C420 FC 60 08 90 */ fmr f3, f1 -/* 8028F4C4 0028C424 48 0D 3F 29 */ bl __ct__6CColorFffff -/* 8028F4C8 0028C428 39 20 00 03 */ li r9, 3 -/* 8028F4CC 0028C42C 81 01 00 14 */ lwz r8, 0x14(r1) -/* 8028F4D0 0028C430 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d -/* 8028F4D4 0028C434 39 60 00 05 */ li r11, 5 -/* 8028F4D8 0028C438 39 40 00 00 */ li r10, 0 -/* 8028F4DC 0028C43C 99 61 00 30 */ stb r11, 0x30(r1) -/* 8028F4E0 0028C440 60 00 00 03 */ ori r0, r0, 3 -/* 8028F4E4 0028C444 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8028F4E8 0028C448 99 41 00 31 */ stb r10, 0x31(r1) -/* 8028F4EC 0028C44C 38 9E 09 F0 */ addi r4, r30, 0x9f0 -/* 8028F4F0 0028C450 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8028F4F4 0028C454 38 C1 01 20 */ addi r6, r1, 0x120 -/* 8028F4F8 0028C458 B0 01 00 32 */ sth r0, 0x32(r1) -/* 8028F4FC 0028C45C 38 E0 00 00 */ li r7, 0 -/* 8028F500 0028C460 91 01 00 34 */ stw r8, 0x34(r1) -/* 8028F504 0028C464 99 61 00 28 */ stb r11, 0x28(r1) -/* 8028F508 0028C468 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8028F50C 0028C46C 99 41 00 29 */ stb r10, 0x29(r1) -/* 8028F510 0028C470 B1 21 00 2A */ sth r9, 0x2a(r1) -/* 8028F514 0028C474 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8028F518 0028C478 4B D9 D4 05 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8028F51C 0028C47C 38 61 01 20 */ addi r3, r1, 0x120 -/* 8028F520 0028C480 38 80 FF FF */ li r4, -1 -/* 8028F524 0028C484 4B DE 87 69 */ bl sub_80077c8c -lbl_8028F528: -/* 8028F528 0028C488 88 1E 09 A0 */ lbz r0, 0x9a0(r30) -/* 8028F52C 0028C48C 28 00 00 00 */ cmplwi r0, 0 -/* 8028F530 0028C490 41 82 01 04 */ beq lbl_8028F634 -/* 8028F534 0028C494 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028F538 0028C498 7F E4 FB 78 */ mr r4, r31 -/* 8028F53C 0028C49C 80 63 00 00 */ lwz r3, 0(r3) -/* 8028F540 0028C4A0 4B E0 20 19 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028F544 0028C4A4 20 03 00 01 */ subfic r0, r3, 1 -/* 8028F548 0028C4A8 7C 03 00 34 */ cntlzw r3, r0 -/* 8028F54C 0028C4AC 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8028F550 0028C4B0 54 7D D9 7E */ srwi r29, r3, 5 -/* 8028F554 0028C4B4 41 82 00 2C */ beq lbl_8028F580 -/* 8028F558 0028C4B8 48 0B AA 5D */ bl Black__6CColorFv -/* 8028F55C 0028C4BC 7C 65 1B 78 */ mr r5, r3 -/* 8028F560 0028C4C0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8028F564 0028C4C4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028F568 0028C4C8 38 80 00 00 */ li r4, 0 -/* 8028F56C 0028C4CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F570 0028C4D0 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 8028F574 0028C4D4 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 8028F578 0028C4D8 7D 89 03 A6 */ mtctr r12 -/* 8028F57C 0028C4DC 4E 80 04 21 */ bctrl -lbl_8028F580: -/* 8028F580 0028C4E0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8028F584 0028C4E4 41 82 00 84 */ beq lbl_8028F608 -/* 8028F588 0028C4E8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028F58C 0028C4EC 38 00 00 00 */ li r0, 0 -/* 8028F590 0028C4F0 98 01 01 1C */ stb r0, 0x11c(r1) -/* 8028F594 0028C4F4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8028F598 0028C4F8 FC 40 08 90 */ fmr f2, f1 -/* 8028F59C 0028C4FC C0 82 BE F8 */ lfs f4, lbl_805ADC18@sda21(r2) -/* 8028F5A0 0028C500 FC 60 08 90 */ fmr f3, f1 -/* 8028F5A4 0028C504 48 0D 3E 49 */ bl __ct__6CColorFffff -/* 8028F5A8 0028C508 39 20 00 03 */ li r9, 3 -/* 8028F5AC 0028C50C 81 01 00 10 */ lwz r8, 0x10(r1) -/* 8028F5B0 0028C510 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d -/* 8028F5B4 0028C514 38 80 00 05 */ li r4, 5 -/* 8028F5B8 0028C518 39 40 00 00 */ li r10, 0 -/* 8028F5BC 0028C51C 98 81 00 20 */ stb r4, 0x20(r1) -/* 8028F5C0 0028C520 60 00 00 01 */ ori r0, r0, 1 -/* 8028F5C4 0028C524 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8028F5C8 0028C528 99 41 00 21 */ stb r10, 0x21(r1) -/* 8028F5CC 0028C52C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8028F5D0 0028C530 38 C1 00 D4 */ addi r6, r1, 0xd4 -/* 8028F5D4 0028C534 38 E0 00 00 */ li r7, 0 -/* 8028F5D8 0028C538 B0 01 00 22 */ sth r0, 0x22(r1) -/* 8028F5DC 0028C53C 91 01 00 24 */ stw r8, 0x24(r1) -/* 8028F5E0 0028C540 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8028F5E4 0028C544 98 81 00 18 */ stb r4, 0x18(r1) -/* 8028F5E8 0028C548 80 83 00 E0 */ lwz r4, 0xe0(r3) -/* 8028F5EC 0028C54C 99 41 00 19 */ stb r10, 0x19(r1) -/* 8028F5F0 0028C550 B1 21 00 1A */ sth r9, 0x1a(r1) -/* 8028F5F4 0028C554 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8028F5F8 0028C558 4B D9 D3 25 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8028F5FC 0028C55C 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8028F600 0028C560 38 80 FF FF */ li r4, -1 -/* 8028F604 0028C564 4B DE 86 89 */ bl sub_80077c8c -lbl_8028F608: -/* 8028F608 0028C568 7F C3 F3 78 */ mr r3, r30 -/* 8028F60C 0028C56C 7F E4 FB 78 */ mr r4, r31 -/* 8028F610 0028C570 4B DE 8A 1D */ bl Render__10CPatternedCFRC13CStateManager -/* 8028F614 0028C574 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8028F618 0028C578 41 82 00 1C */ beq lbl_8028F634 -/* 8028F61C 0028C57C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8028F620 0028C580 7F E3 FB 78 */ mr r3, r31 -/* 8028F624 0028C584 38 81 00 0C */ addi r4, r1, 0xc -/* 8028F628 0028C588 90 01 00 08 */ stw r0, 8(r1) -/* 8028F62C 0028C58C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028F630 0028C590 4B DB 77 51 */ bl SetupFogForArea__13CStateManagerCF7TAreaId -lbl_8028F634: -/* 8028F634 0028C594 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8028F638 0028C598 83 E1 01 7C */ lwz r31, 0x17c(r1) -/* 8028F63C 0028C59C 83 C1 01 78 */ lwz r30, 0x178(r1) -/* 8028F640 0028C5A0 83 A1 01 74 */ lwz r29, 0x174(r1) -/* 8028F644 0028C5A4 7C 08 03 A6 */ mtlr r0 -/* 8028F648 0028C5A8 38 21 01 80 */ addi r1, r1, 0x180 -/* 8028F64C 0028C5AC 4E 80 00 20 */ blr - -.global PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes -PreRender__12COmegaPirateFR13CStateManagerRC14CFrustumPlanes: -/* 8028F650 0028C5B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028F654 0028C5B4 7C 08 02 A6 */ mflr r0 -/* 8028F658 0028C5B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028F65C 0028C5BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028F660 0028C5C0 7C 9F 23 78 */ mr r31, r4 -/* 8028F664 0028C5C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028F668 0028C5C8 7C 7E 1B 78 */ mr r30, r3 -/* 8028F66C 0028C5CC 4B F9 D4 BD */ bl PreRender__12CElitePirateFR13CStateManagerRC14CFrustumPlanes -/* 8028F670 0028C5D0 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028F674 0028C5D4 7F E4 FB 78 */ mr r4, r31 -/* 8028F678 0028C5D8 80 63 00 00 */ lwz r3, 0(r3) -/* 8028F67C 0028C5DC 4B E0 1E DD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028F680 0028C5E0 2C 03 00 01 */ cmpwi r3, 1 -/* 8028F684 0028C5E4 40 82 00 54 */ bne lbl_8028F6D8 -/* 8028F688 0028C5E8 C0 3E 0A 80 */ lfs f1, 0xa80(r30) -/* 8028F68C 0028C5EC 38 61 00 08 */ addi r3, r1, 8 -/* 8028F690 0028C5F0 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) -/* 8028F694 0028C5F4 FC 40 08 90 */ fmr f2, f1 -/* 8028F698 0028C5F8 FC 60 08 90 */ fmr f3, f1 -/* 8028F69C 0028C5FC 48 0D 3D 51 */ bl __ct__6CColorFffff -/* 8028F6A0 0028C600 80 61 00 08 */ lwz r3, 8(r1) -/* 8028F6A4 0028C604 38 C0 00 01 */ li r6, 1 -/* 8028F6A8 0028C608 38 80 00 03 */ li r4, 3 -/* 8028F6AC 0028C60C 38 A0 00 00 */ li r5, 0 -/* 8028F6B0 0028C610 98 DE 00 B4 */ stb r6, 0xb4(r30) -/* 8028F6B4 0028C614 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 8028F6B8 0028C618 60 00 00 03 */ ori r0, r0, 3 -/* 8028F6BC 0028C61C 98 BE 00 B5 */ stb r5, 0xb5(r30) -/* 8028F6C0 0028C620 B0 1E 00 B6 */ sth r0, 0xb6(r30) -/* 8028F6C4 0028C624 98 C1 00 0C */ stb r6, 0xc(r1) -/* 8028F6C8 0028C628 98 A1 00 0D */ stb r5, 0xd(r1) -/* 8028F6CC 0028C62C B0 81 00 0E */ sth r4, 0xe(r1) -/* 8028F6D0 0028C630 90 61 00 10 */ stw r3, 0x10(r1) -/* 8028F6D4 0028C634 90 7E 00 B8 */ stw r3, 0xb8(r30) -lbl_8028F6D8: -/* 8028F6D8 0028C638 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028F6DC 0028C63C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028F6E0 0028C640 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028F6E4 0028C644 7C 08 03 A6 */ mtlr r0 -/* 8028F6E8 0028C648 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028F6EC 0028C64C 4E 80 00 20 */ blr - -.global sub_8028f6f0 -sub_8028f6f0: -/* 8028F6F0 0028C650 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8028F6F4 0028C654 7C 08 02 A6 */ mflr r0 -/* 8028F6F8 0028C658 90 01 00 74 */ stw r0, 0x74(r1) -/* 8028F6FC 0028C65C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8028F700 0028C660 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8028F704 0028C664 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8028F708 0028C668 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8028F70C 0028C66C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8028F710 0028C670 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8028F714 0028C674 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8028F718 0028C678 7C 7E 1B 78 */ mr r30, r3 -/* 8028F71C 0028C67C FF C0 08 90 */ fmr f30, f1 -/* 8028F720 0028C680 80 03 09 94 */ lwz r0, 0x994(r3) -/* 8028F724 0028C684 7C 9F 23 78 */ mr r31, r4 -/* 8028F728 0028C688 2C 00 00 02 */ cmpwi r0, 2 -/* 8028F72C 0028C68C 41 82 01 0C */ beq lbl_8028F838 -/* 8028F730 0028C690 40 80 00 10 */ bge lbl_8028F740 -/* 8028F734 0028C694 2C 00 00 01 */ cmpwi r0, 1 -/* 8028F738 0028C698 40 80 00 14 */ bge lbl_8028F74C -/* 8028F73C 0028C69C 48 00 01 4C */ b lbl_8028F888 -lbl_8028F740: -/* 8028F740 0028C6A0 2C 00 00 04 */ cmpwi r0, 4 -/* 8028F744 0028C6A4 40 80 01 44 */ bge lbl_8028F888 -/* 8028F748 0028C6A8 48 00 00 8C */ b lbl_8028F7D4 -lbl_8028F74C: -/* 8028F74C 0028C6AC C0 22 BE 74 */ lfs f1, lbl_805ADB94@sda21(r2) -/* 8028F750 0028C6B0 C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F754 0028C6B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028F758 0028C6B8 40 80 00 0C */ bge lbl_8028F764 -/* 8028F75C 0028C6BC 38 62 BE 74 */ addi r3, r2, lbl_805ADB94@sda21 -/* 8028F760 0028C6C0 48 00 00 08 */ b lbl_8028F768 -lbl_8028F764: -/* 8028F764 0028C6C4 38 7E 09 98 */ addi r3, r30, 0x998 -lbl_8028F768: -/* 8028F768 0028C6C8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028F76C 0028C6CC C0 42 BE FC */ lfs f2, lbl_805ADC1C@sda21(r2) -/* 8028F770 0028C6D0 C0 62 BE A0 */ lfs f3, lbl_805ADBC0@sda21(r2) -/* 8028F774 0028C6D4 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8028F778 0028C6D8 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) -/* 8028F77C 0028C6DC EC 03 00 28 */ fsubs f0, f3, f0 -/* 8028F780 0028C6E0 D0 1E 09 9C */ stfs f0, 0x99c(r30) -/* 8028F784 0028C6E4 C0 1E 09 9C */ lfs f0, 0x99c(r30) -/* 8028F788 0028C6E8 EC 81 00 32 */ fmuls f4, f1, f0 -/* 8028F78C 0028C6EC F0 81 A0 09 */ psq_st f4, 9(r1), 1, qr2 -/* 8028F790 0028C6F0 88 01 00 09 */ lbz r0, 9(r1) -/* 8028F794 0028C6F4 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 8028F798 0028C6F8 C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F79C 0028C6FC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8028F7A0 0028C700 40 81 00 1C */ ble lbl_8028F7BC -/* 8028F7A4 0028C704 38 60 00 02 */ li r3, 2 -/* 8028F7A8 0028C708 38 00 00 00 */ li r0, 0 -/* 8028F7AC 0028C70C 90 7E 09 94 */ stw r3, 0x994(r30) -/* 8028F7B0 0028C710 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F7B4 0028C714 98 1E 09 A1 */ stb r0, 0x9a1(r30) -/* 8028F7B8 0028C718 D0 1E 09 98 */ stfs f0, 0x998(r30) -lbl_8028F7BC: -/* 8028F7BC 0028C71C C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F7C0 0028C720 38 00 00 01 */ li r0, 1 -/* 8028F7C4 0028C724 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8028F7C8 0028C728 D0 1E 09 98 */ stfs f0, 0x998(r30) -/* 8028F7CC 0028C72C 98 1E 09 A0 */ stb r0, 0x9a0(r30) -/* 8028F7D0 0028C730 48 00 00 C8 */ b lbl_8028F898 -lbl_8028F7D4: -/* 8028F7D4 0028C734 C0 22 BE 78 */ lfs f1, lbl_805ADB98@sda21(r2) -/* 8028F7D8 0028C738 C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F7DC 0028C73C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028F7E0 0028C740 40 80 00 0C */ bge lbl_8028F7EC -/* 8028F7E4 0028C744 38 62 BE 78 */ addi r3, r2, lbl_805ADB98@sda21 -/* 8028F7E8 0028C748 48 00 00 08 */ b lbl_8028F7F0 -lbl_8028F7EC: -/* 8028F7EC 0028C74C 38 7E 09 98 */ addi r3, r30, 0x998 -lbl_8028F7F0: -/* 8028F7F0 0028C750 C0 43 00 00 */ lfs f2, 0(r3) -/* 8028F7F4 0028C754 C0 22 BE FC */ lfs f1, lbl_805ADC1C@sda21(r2) -/* 8028F7F8 0028C758 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028F7FC 0028C75C EC 22 08 24 */ fdivs f1, f2, f1 -/* 8028F800 0028C760 D0 3E 09 9C */ stfs f1, 0x99c(r30) -/* 8028F804 0028C764 C0 3E 09 98 */ lfs f1, 0x998(r30) -/* 8028F808 0028C768 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028F80C 0028C76C 40 81 00 14 */ ble lbl_8028F820 -/* 8028F810 0028C770 38 00 00 00 */ li r0, 0 -/* 8028F814 0028C774 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F818 0028C778 90 1E 09 94 */ stw r0, 0x994(r30) -/* 8028F81C 0028C77C D0 1E 09 98 */ stfs f0, 0x998(r30) -lbl_8028F820: -/* 8028F820 0028C780 C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F824 0028C784 38 00 00 01 */ li r0, 1 -/* 8028F828 0028C788 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8028F82C 0028C78C D0 1E 09 98 */ stfs f0, 0x998(r30) -/* 8028F830 0028C790 98 1E 09 A0 */ stb r0, 0x9a0(r30) -/* 8028F834 0028C794 48 00 00 64 */ b lbl_8028F898 -lbl_8028F838: -/* 8028F838 0028C798 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028F83C 0028C79C C0 02 BE C4 */ lfs f0, lbl_805ADBE4@sda21(r2) -/* 8028F840 0028C7A0 D0 3E 09 9C */ stfs f1, 0x99c(r30) -/* 8028F844 0028C7A4 C0 5E 09 98 */ lfs f2, 0x998(r30) -/* 8028F848 0028C7A8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028F84C 0028C7AC 40 81 00 24 */ ble lbl_8028F870 -/* 8028F850 0028C7B0 88 1E 09 A1 */ lbz r0, 0x9a1(r30) -/* 8028F854 0028C7B4 28 00 00 00 */ cmplwi r0, 0 -/* 8028F858 0028C7B8 41 82 00 18 */ beq lbl_8028F870 -/* 8028F85C 0028C7BC 4B FF C5 D5 */ bl CreateFlash__12COmegaPirateFR13CStateManagerf -/* 8028F860 0028C7C0 38 00 00 03 */ li r0, 3 -/* 8028F864 0028C7C4 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F868 0028C7C8 90 1E 09 94 */ stw r0, 0x994(r30) -/* 8028F86C 0028C7CC D0 1E 09 98 */ stfs f0, 0x998(r30) -lbl_8028F870: -/* 8028F870 0028C7D0 C0 1E 09 98 */ lfs f0, 0x998(r30) -/* 8028F874 0028C7D4 38 00 00 00 */ li r0, 0 -/* 8028F878 0028C7D8 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8028F87C 0028C7DC D0 1E 09 98 */ stfs f0, 0x998(r30) -/* 8028F880 0028C7E0 98 1E 09 A0 */ stb r0, 0x9a0(r30) -/* 8028F884 0028C7E4 48 00 00 14 */ b lbl_8028F898 -lbl_8028F888: -/* 8028F888 0028C7E8 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028F88C 0028C7EC 38 00 00 01 */ li r0, 1 -/* 8028F890 0028C7F0 D0 1E 09 9C */ stfs f0, 0x99c(r30) -/* 8028F894 0028C7F4 98 1E 09 A0 */ stb r0, 0x9a0(r30) -lbl_8028F898: -/* 8028F898 0028C7F8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028F89C 0028C7FC 7F E4 FB 78 */ mr r4, r31 -/* 8028F8A0 0028C800 C3 DE 09 9C */ lfs f30, 0x99c(r30) -/* 8028F8A4 0028C804 80 63 00 00 */ lwz r3, 0(r3) -/* 8028F8A8 0028C808 4B E0 1C B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028F8AC 0028C80C 2C 03 00 01 */ cmpwi r3, 1 -/* 8028F8B0 0028C810 40 82 00 18 */ bne lbl_8028F8C8 -/* 8028F8B4 0028C814 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028F8B8 0028C818 38 00 00 01 */ li r0, 1 -/* 8028F8BC 0028C81C C3 C2 BE 9C */ lfs f30, lbl_805ADBBC@sda21(r2) -/* 8028F8C0 0028C820 D0 1E 09 9C */ stfs f0, 0x99c(r30) -/* 8028F8C4 0028C824 98 1E 09 A0 */ stb r0, 0x9a0(r30) -lbl_8028F8C8: -/* 8028F8C8 0028C828 C0 22 BE B4 */ lfs f1, lbl_805ADBD4@sda21(r2) -/* 8028F8CC 0028C82C C0 1E 09 9C */ lfs f0, 0x99c(r30) -/* 8028F8D0 0028C830 EF E1 00 32 */ fmuls f31, f1, f0 -/* 8028F8D4 0028C834 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 8028F8D8 0028C838 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028F8DC 0028C83C 88 01 00 08 */ lbz r0, 8(r1) -/* 8028F8E0 0028C840 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8028F8E4 0028C844 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 8028F8E8 0028C848 40 80 00 C4 */ bge lbl_8028F9AC -/* 8028F8EC 0028C84C A0 1E 07 72 */ lhz r0, 0x772(r30) -/* 8028F8F0 0028C850 7F E3 FB 78 */ mr r3, r31 -/* 8028F8F4 0028C854 38 81 00 20 */ addi r4, r1, 0x20 -/* 8028F8F8 0028C858 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8028F8FC 0028C85C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8028F900 0028C860 4B DB CC 75 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028F904 0028C864 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028F908 0028C868 41 82 00 44 */ beq lbl_8028F94C -/* 8028F90C 0028C86C C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028F910 0028C870 FC 80 F0 90 */ fmr f4, f30 -/* 8028F914 0028C874 38 61 00 30 */ addi r3, r1, 0x30 -/* 8028F918 0028C878 FC 40 08 90 */ fmr f2, f1 -/* 8028F91C 0028C87C FC 60 08 90 */ fmr f3, f1 -/* 8028F920 0028C880 48 0D 3A CD */ bl __ct__6CColorFffff -/* 8028F924 0028C884 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F928 0028C888 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8028F92C 0028C88C FC 00 F0 00 */ fcmpu cr0, f0, f30 -/* 8028F930 0028C890 90 1D 03 F4 */ stw r0, 0x3f4(r29) -/* 8028F934 0028C894 40 82 00 10 */ bne lbl_8028F944 -/* 8028F938 0028C898 38 00 00 00 */ li r0, 0 -/* 8028F93C 0028C89C 98 1D 03 FD */ stb r0, 0x3fd(r29) -/* 8028F940 0028C8A0 48 00 00 0C */ b lbl_8028F94C -lbl_8028F944: -/* 8028F944 0028C8A4 38 00 00 01 */ li r0, 1 -/* 8028F948 0028C8A8 98 1D 03 FD */ stb r0, 0x3fd(r29) -lbl_8028F94C: -/* 8028F94C 0028C8AC A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 8028F950 0028C8B0 7F E3 FB 78 */ mr r3, r31 -/* 8028F954 0028C8B4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8028F958 0028C8B8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8028F95C 0028C8BC 4B DB CC 19 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028F960 0028C8C0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028F964 0028C8C4 41 82 00 D4 */ beq lbl_8028FA38 -/* 8028F968 0028C8C8 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 8028F96C 0028C8CC FC 80 F0 90 */ fmr f4, f30 -/* 8028F970 0028C8D0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028F974 0028C8D4 FC 40 08 90 */ fmr f2, f1 -/* 8028F978 0028C8D8 FC 60 08 90 */ fmr f3, f1 -/* 8028F97C 0028C8DC 48 0D 3A 71 */ bl __ct__6CColorFffff -/* 8028F980 0028C8E0 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028F984 0028C8E4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8028F988 0028C8E8 FC 00 F0 00 */ fcmpu cr0, f0, f30 -/* 8028F98C 0028C8EC 90 1D 03 F4 */ stw r0, 0x3f4(r29) -/* 8028F990 0028C8F0 40 82 00 10 */ bne lbl_8028F9A0 -/* 8028F994 0028C8F4 38 00 00 00 */ li r0, 0 -/* 8028F998 0028C8F8 98 1D 03 FD */ stb r0, 0x3fd(r29) -/* 8028F99C 0028C8FC 48 00 00 9C */ b lbl_8028FA38 -lbl_8028F9A0: -/* 8028F9A0 0028C900 38 00 00 01 */ li r0, 1 -/* 8028F9A4 0028C904 98 1D 03 FD */ stb r0, 0x3fd(r29) -/* 8028F9A8 0028C908 48 00 00 90 */ b lbl_8028FA38 -lbl_8028F9AC: -/* 8028F9AC 0028C90C A0 1E 07 72 */ lhz r0, 0x772(r30) -/* 8028F9B0 0028C910 7F E3 FB 78 */ mr r3, r31 -/* 8028F9B4 0028C914 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028F9B8 0028C918 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8028F9BC 0028C91C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8028F9C0 0028C920 4B DB CB B5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028F9C4 0028C924 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028F9C8 0028C928 41 82 00 2C */ beq lbl_8028F9F4 -/* 8028F9CC 0028C92C C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028F9D0 0028C930 38 00 00 01 */ li r0, 1 -/* 8028F9D4 0028C934 98 1D 03 FD */ stb r0, 0x3fd(r29) -/* 8028F9D8 0028C938 38 61 00 28 */ addi r3, r1, 0x28 -/* 8028F9DC 0028C93C FC 40 08 90 */ fmr f2, f1 -/* 8028F9E0 0028C940 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) -/* 8028F9E4 0028C944 FC 60 08 90 */ fmr f3, f1 -/* 8028F9E8 0028C948 48 0D 3A 05 */ bl __ct__6CColorFffff -/* 8028F9EC 0028C94C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8028F9F0 0028C950 90 1D 03 F4 */ stw r0, 0x3f4(r29) -lbl_8028F9F4: -/* 8028F9F4 0028C954 A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 8028F9F8 0028C958 7F E3 FB 78 */ mr r3, r31 -/* 8028F9FC 0028C95C 38 81 00 0C */ addi r4, r1, 0xc -/* 8028FA00 0028C960 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8028FA04 0028C964 4B DB CB 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FA08 0028C968 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028FA0C 0028C96C 41 82 00 2C */ beq lbl_8028FA38 -/* 8028FA10 0028C970 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 8028FA14 0028C974 38 61 00 24 */ addi r3, r1, 0x24 -/* 8028FA18 0028C978 C0 82 BE A0 */ lfs f4, lbl_805ADBC0@sda21(r2) -/* 8028FA1C 0028C97C FC 40 08 90 */ fmr f2, f1 -/* 8028FA20 0028C980 FC 60 08 90 */ fmr f3, f1 -/* 8028FA24 0028C984 48 0D 39 C9 */ bl __ct__6CColorFffff -/* 8028FA28 0028C988 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8028FA2C 0028C98C 38 00 00 01 */ li r0, 1 -/* 8028FA30 0028C990 90 7E 03 F4 */ stw r3, 0x3f4(r30) -/* 8028FA34 0028C994 98 1E 03 FD */ stb r0, 0x3fd(r30) -lbl_8028FA38: -/* 8028FA38 0028C998 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8028FA3C 0028C99C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8028FA40 0028C9A0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8028FA44 0028C9A4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8028FA48 0028C9A8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8028FA4C 0028C9AC 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8028FA50 0028C9B0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8028FA54 0028C9B4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8028FA58 0028C9B8 7C 08 03 A6 */ mtlr r0 -/* 8028FA5C 0028C9BC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8028FA60 0028C9C0 4E 80 00 20 */ blr - -.global sub_8028fa64 -sub_8028fa64: -/* 8028FA64 0028C9C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028FA68 0028C9C8 7C 08 02 A6 */ mflr r0 -/* 8028FA6C 0028C9CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028FA70 0028C9D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028FA74 0028C9D4 7C BF 2B 78 */ mr r31, r5 -/* 8028FA78 0028C9D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028FA7C 0028C9DC 7C 9E 23 78 */ mr r30, r4 -/* 8028FA80 0028C9E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028FA84 0028C9E4 7C 7D 1B 78 */ mr r29, r3 -/* 8028FA88 0028C9E8 4B F9 8F 29 */ bl sub_802289b0 -/* 8028FA8C 0028C9EC A0 1D 09 90 */ lhz r0, 0x990(r29) -/* 8028FA90 0028C9F0 7F A3 EB 78 */ mr r3, r29 -/* 8028FA94 0028C9F4 7F C4 F3 78 */ mr r4, r30 -/* 8028FA98 0028C9F8 7F E5 FB 78 */ mr r5, r31 -/* 8028FA9C 0028C9FC B0 01 00 08 */ sth r0, 8(r1) -/* 8028FAA0 0028CA00 38 C1 00 08 */ addi r6, r1, 8 -/* 8028FAA4 0028CA04 4B F9 8E 7D */ bl sub_80228920 -/* 8028FAA8 0028CA08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028FAAC 0028CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028FAB0 0028CA10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028FAB4 0028CA14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028FAB8 0028CA18 7C 08 03 A6 */ mtlr r0 -/* 8028FABC 0028CA1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028FAC0 0028CA20 4E 80 00 20 */ blr - -.global Think__12COmegaPirateFfR13CStateManager -Think__12COmegaPirateFfR13CStateManager: -/* 8028FAC4 0028CA24 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 8028FAC8 0028CA28 7C 08 02 A6 */ mflr r0 -/* 8028FACC 0028CA2C 90 01 01 74 */ stw r0, 0x174(r1) -/* 8028FAD0 0028CA30 DB E1 01 60 */ stfd f31, 0x160(r1) -/* 8028FAD4 0028CA34 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 -/* 8028FAD8 0028CA38 DB C1 01 50 */ stfd f30, 0x150(r1) -/* 8028FADC 0028CA3C F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 -/* 8028FAE0 0028CA40 DB A1 01 40 */ stfd f29, 0x140(r1) -/* 8028FAE4 0028CA44 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 -/* 8028FAE8 0028CA48 BF 41 01 28 */ stmw r26, 0x128(r1) -/* 8028FAEC 0028CA4C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8028FAF0 0028CA50 FF E0 08 90 */ fmr f31, f1 -/* 8028FAF4 0028CA54 7C 7E 1B 78 */ mr r30, r3 -/* 8028FAF8 0028CA58 7C 9F 23 78 */ mr r31, r4 -/* 8028FAFC 0028CA5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8028FB00 0028CA60 41 82 09 08 */ beq lbl_80290408 -/* 8028FB04 0028CA64 88 1E 09 88 */ lbz r0, 0x988(r30) -/* 8028FB08 0028CA68 38 A0 00 01 */ li r5, 1 -/* 8028FB0C 0028CA6C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8028FB10 0028CA70 98 1E 09 88 */ stb r0, 0x988(r30) -/* 8028FB14 0028CA74 4B F9 D8 71 */ bl Think__12CElitePirateFfR13CStateManager -/* 8028FB18 0028CA78 7F C3 F3 78 */ mr r3, r30 -/* 8028FB1C 0028CA7C C0 02 BF 00 */ lfs f0, lbl_805ADC20@sda21(r2) -/* 8028FB20 0028CA80 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FB24 0028CA84 7F E4 FB 78 */ mr r4, r31 -/* 8028FB28 0028CA88 C3 DE 0A 98 */ lfs f30, 0xa98(r30) -/* 8028FB2C 0028CA8C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FB30 0028CA90 EF A0 07 B2 */ fmuls f29, f0, f30 -/* 8028FB34 0028CA94 7D 89 03 A6 */ mtctr r12 -/* 8028FB38 0028CA98 4E 80 04 21 */ bctrl -/* 8028FB3C 0028CA9C C0 02 BE F8 */ lfs f0, lbl_805ADC18@sda21(r2) -/* 8028FB40 0028CAA0 C0 23 00 00 */ lfs f1, 0(r3) -/* 8028FB44 0028CAA4 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 8028FB48 0028CAA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FB4C 0028CAAC 4C 40 13 82 */ cror 2, 0, 2 -/* 8028FB50 0028CAB0 40 82 00 10 */ bne lbl_8028FB60 -/* 8028FB54 0028CAB4 38 00 00 03 */ li r0, 3 -/* 8028FB58 0028CAB8 90 1E 0A C4 */ stw r0, 0xac4(r30) -/* 8028FB5C 0028CABC 48 00 00 4C */ b lbl_8028FBA8 -lbl_8028FB60: -/* 8028FB60 0028CAC0 7F C3 F3 78 */ mr r3, r30 -/* 8028FB64 0028CAC4 7F E4 FB 78 */ mr r4, r31 -/* 8028FB68 0028CAC8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FB6C 0028CACC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FB70 0028CAD0 7D 89 03 A6 */ mtctr r12 -/* 8028FB74 0028CAD4 4E 80 04 21 */ bctrl -/* 8028FB78 0028CAD8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028FB7C 0028CADC FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8028FB80 0028CAE0 4C 40 13 82 */ cror 2, 0, 2 -/* 8028FB84 0028CAE4 40 82 00 10 */ bne lbl_8028FB94 -/* 8028FB88 0028CAE8 38 00 00 02 */ li r0, 2 -/* 8028FB8C 0028CAEC 90 1E 0A C4 */ stw r0, 0xac4(r30) -/* 8028FB90 0028CAF0 48 00 00 18 */ b lbl_8028FBA8 -lbl_8028FB94: -/* 8028FB94 0028CAF4 80 1E 0A CC */ lwz r0, 0xacc(r30) -/* 8028FB98 0028CAF8 28 00 00 04 */ cmplwi r0, 4 -/* 8028FB9C 0028CAFC 40 81 00 0C */ ble lbl_8028FBA8 -/* 8028FBA0 0028CB00 38 00 00 01 */ li r0, 1 -/* 8028FBA4 0028CB04 90 1E 0A C4 */ stw r0, 0xac4(r30) -lbl_8028FBA8: -/* 8028FBA8 0028CB08 80 82 BE 70 */ lwz r4, lbl_805ADB90@sda21(r2) -/* 8028FBAC 0028CB0C 38 61 00 98 */ addi r3, r1, 0x98 -/* 8028FBB0 0028CB10 4B D7 51 09 */ bl string_l__4rstlFPCc -/* 8028FBB4 0028CB14 7F C3 F3 78 */ mr r3, r30 -/* 8028FBB8 0028CB18 7F E4 FB 78 */ mr r4, r31 -/* 8028FBBC 0028CB1C 38 BE 09 90 */ addi r5, r30, 0x990 -/* 8028FBC0 0028CB20 38 C1 00 98 */ addi r6, r1, 0x98 -/* 8028FBC4 0028CB24 4B F9 8E 19 */ bl sub_802289dc -/* 8028FBC8 0028CB28 38 61 00 98 */ addi r3, r1, 0x98 -/* 8028FBCC 0028CB2C 48 0A DF 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8028FBD0 0028CB30 FC 20 F8 90 */ fmr f1, f31 -/* 8028FBD4 0028CB34 7F C3 F3 78 */ mr r3, r30 -/* 8028FBD8 0028CB38 7F E4 FB 78 */ mr r4, r31 -/* 8028FBDC 0028CB3C 4B FF FB 15 */ bl sub_8028f6f0 -/* 8028FBE0 0028CB40 FC 20 F8 90 */ fmr f1, f31 -/* 8028FBE4 0028CB44 7F C3 F3 78 */ mr r3, r30 -/* 8028FBE8 0028CB48 7F E4 FB 78 */ mr r4, r31 -/* 8028FBEC 0028CB4C 4B FF DA A5 */ bl sub_8028d690 -/* 8028FBF0 0028CB50 FC 20 F8 90 */ fmr f1, f31 -/* 8028FBF4 0028CB54 7F C3 F3 78 */ mr r3, r30 -/* 8028FBF8 0028CB58 7F E4 FB 78 */ mr r4, r31 -/* 8028FBFC 0028CB5C 4B FF D1 09 */ bl sub_8028cd04 -/* 8028FC00 0028CB60 88 1E 09 A1 */ lbz r0, 0x9a1(r30) -/* 8028FC04 0028CB64 28 00 00 00 */ cmplwi r0, 0 -/* 8028FC08 0028CB68 41 82 00 10 */ beq lbl_8028FC18 -/* 8028FC0C 0028CB6C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) -/* 8028FC10 0028CB70 28 00 00 00 */ cmplwi r0, 0 -/* 8028FC14 0028CB74 41 82 00 CC */ beq lbl_8028FCE0 -lbl_8028FC18: -/* 8028FC18 0028CB78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8028FC1C 0028CB7C 7F E4 FB 78 */ mr r4, r31 -/* 8028FC20 0028CB80 80 63 00 00 */ lwz r3, 0(r3) -/* 8028FC24 0028CB84 4B E0 19 35 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8028FC28 0028CB88 2C 03 00 01 */ cmpwi r3, 1 -/* 8028FC2C 0028CB8C 40 82 00 B4 */ bne lbl_8028FCE0 -/* 8028FC30 0028CB90 88 1E 0A 44 */ lbz r0, 0xa44(r30) -/* 8028FC34 0028CB94 28 00 00 00 */ cmplwi r0, 0 -/* 8028FC38 0028CB98 41 82 00 A8 */ beq lbl_8028FCE0 -/* 8028FC3C 0028CB9C 7F C3 F3 78 */ mr r3, r30 -/* 8028FC40 0028CBA0 7F E5 FB 78 */ mr r5, r31 -/* 8028FC44 0028CBA4 38 80 00 28 */ li r4, 0x28 -/* 8028FC48 0028CBA8 4B DC 47 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028FC4C 0028CBAC 7F C3 F3 78 */ mr r3, r30 -/* 8028FC50 0028CBB0 7F E5 FB 78 */ mr r5, r31 -/* 8028FC54 0028CBB4 38 80 00 29 */ li r4, 0x29 -/* 8028FC58 0028CBB8 4B DC 46 F9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028FC5C 0028CBBC 80 1E 09 C8 */ lwz r0, 0x9c8(r30) -/* 8028FC60 0028CBC0 2C 00 00 04 */ cmpwi r0, 4 -/* 8028FC64 0028CBC4 40 82 00 28 */ bne lbl_8028FC8C -/* 8028FC68 0028CBC8 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028FC6C 0028CBCC 7F E4 FB 78 */ mr r4, r31 -/* 8028FC70 0028CBD0 38 A0 00 00 */ li r5, 0 -/* 8028FC74 0028CBD4 4B F1 76 85 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FC78 0028CBD8 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028FC7C 0028CBDC 7F E4 FB 78 */ mr r4, r31 -/* 8028FC80 0028CBE0 38 A0 00 00 */ li r5, 0 -/* 8028FC84 0028CBE4 4B F1 76 75 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FC88 0028CBE8 48 00 01 18 */ b lbl_8028FDA0 -lbl_8028FC8C: -/* 8028FC8C 0028CBEC 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028FC90 0028CBF0 7F E4 FB 78 */ mr r4, r31 -/* 8028FC94 0028CBF4 38 A0 00 01 */ li r5, 1 -/* 8028FC98 0028CBF8 4B F1 76 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FC9C 0028CBFC 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028FCA0 0028CC00 7F E4 FB 78 */ mr r4, r31 -/* 8028FCA4 0028CC04 38 A0 00 01 */ li r5, 1 -/* 8028FCA8 0028CC08 4B F1 76 51 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FCAC 0028CC0C A0 1E 0A 48 */ lhz r0, 0xa48(r30) -/* 8028FCB0 0028CC10 7F E3 FB 78 */ mr r3, r31 -/* 8028FCB4 0028CC14 38 81 00 5C */ addi r4, r1, 0x5c -/* 8028FCB8 0028CC18 B0 01 00 5C */ sth r0, 0x5c(r1) -/* 8028FCBC 0028CC1C 4B DB C8 B9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FCC0 0028CC20 28 03 00 00 */ cmplwi r3, 0 -/* 8028FCC4 0028CC24 41 82 00 DC */ beq lbl_8028FDA0 -/* 8028FCC8 0028CC28 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FCCC 0028CC2C 38 80 00 00 */ li r4, 0 -/* 8028FCD0 0028CC30 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028FCD4 0028CC34 7D 89 03 A6 */ mtctr r12 -/* 8028FCD8 0028CC38 4E 80 04 21 */ bctrl -/* 8028FCDC 0028CC3C 48 00 00 C4 */ b lbl_8028FDA0 -lbl_8028FCE0: -/* 8028FCE0 0028CC40 7F C3 F3 78 */ mr r3, r30 -/* 8028FCE4 0028CC44 7F E5 FB 78 */ mr r5, r31 -/* 8028FCE8 0028CC48 38 80 00 28 */ li r4, 0x28 -/* 8028FCEC 0028CC4C 4B DC 42 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028FCF0 0028CC50 7F C3 F3 78 */ mr r3, r30 -/* 8028FCF4 0028CC54 7F E5 FB 78 */ mr r5, r31 -/* 8028FCF8 0028CC58 38 80 00 29 */ li r4, 0x29 -/* 8028FCFC 0028CC5C 4B DC 42 85 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028FD00 0028CC60 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028FD04 0028CC64 7F E4 FB 78 */ mr r4, r31 -/* 8028FD08 0028CC68 38 A0 00 00 */ li r5, 0 -/* 8028FD0C 0028CC6C 4B F1 75 ED */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FD10 0028CC70 88 1E 09 A1 */ lbz r0, 0x9a1(r30) -/* 8028FD14 0028CC74 28 00 00 00 */ cmplwi r0, 0 -/* 8028FD18 0028CC78 41 82 00 48 */ beq lbl_8028FD60 -/* 8028FD1C 0028CC7C 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028FD20 0028CC80 7F E4 FB 78 */ mr r4, r31 -/* 8028FD24 0028CC84 38 A0 00 01 */ li r5, 1 -/* 8028FD28 0028CC88 4B F1 75 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FD2C 0028CC8C A0 1E 0A 48 */ lhz r0, 0xa48(r30) -/* 8028FD30 0028CC90 7F E3 FB 78 */ mr r3, r31 -/* 8028FD34 0028CC94 38 81 00 58 */ addi r4, r1, 0x58 -/* 8028FD38 0028CC98 B0 01 00 58 */ sth r0, 0x58(r1) -/* 8028FD3C 0028CC9C 4B DB C8 39 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FD40 0028CCA0 28 03 00 00 */ cmplwi r3, 0 -/* 8028FD44 0028CCA4 41 82 00 5C */ beq lbl_8028FDA0 -/* 8028FD48 0028CCA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FD4C 0028CCAC 38 80 00 01 */ li r4, 1 -/* 8028FD50 0028CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028FD54 0028CCB4 7D 89 03 A6 */ mtctr r12 -/* 8028FD58 0028CCB8 4E 80 04 21 */ bctrl -/* 8028FD5C 0028CCBC 48 00 00 44 */ b lbl_8028FDA0 -lbl_8028FD60: -/* 8028FD60 0028CCC0 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028FD64 0028CCC4 7F E4 FB 78 */ mr r4, r31 -/* 8028FD68 0028CCC8 38 A0 00 00 */ li r5, 0 -/* 8028FD6C 0028CCCC 4B F1 75 8D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 8028FD70 0028CCD0 A0 1E 0A 48 */ lhz r0, 0xa48(r30) -/* 8028FD74 0028CCD4 7F E3 FB 78 */ mr r3, r31 -/* 8028FD78 0028CCD8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8028FD7C 0028CCDC B0 01 00 54 */ sth r0, 0x54(r1) -/* 8028FD80 0028CCE0 4B DB C7 F5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FD84 0028CCE4 28 03 00 00 */ cmplwi r3, 0 -/* 8028FD88 0028CCE8 41 82 00 18 */ beq lbl_8028FDA0 -/* 8028FD8C 0028CCEC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FD90 0028CCF0 38 80 00 00 */ li r4, 0 -/* 8028FD94 0028CCF4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028FD98 0028CCF8 7D 89 03 A6 */ mtctr r12 -/* 8028FD9C 0028CCFC 4E 80 04 21 */ bctrl -lbl_8028FDA0: -/* 8028FDA0 0028CD00 FC 20 F8 90 */ fmr f1, f31 -/* 8028FDA4 0028CD04 7F C3 F3 78 */ mr r3, r30 -/* 8028FDA8 0028CD08 7F E4 FB 78 */ mr r4, r31 -/* 8028FDAC 0028CD0C 4B FF DA 39 */ bl sub_8028d7e4 -/* 8028FDB0 0028CD10 FC 20 F8 90 */ fmr f1, f31 -/* 8028FDB4 0028CD14 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8028FDB8 0028CD18 7F E4 FB 78 */ mr r4, r31 -/* 8028FDBC 0028CD1C 38 A0 00 00 */ li r5, 0 -/* 8028FDC0 0028CD20 4B F1 76 91 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 8028FDC4 0028CD24 FC 20 F8 90 */ fmr f1, f31 -/* 8028FDC8 0028CD28 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 8028FDCC 0028CD2C 7F E4 FB 78 */ mr r4, r31 -/* 8028FDD0 0028CD30 38 A0 00 00 */ li r5, 0 -/* 8028FDD4 0028CD34 4B F1 76 7D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions -/* 8028FDD8 0028CD38 A0 1E 0A 46 */ lhz r0, 0xa46(r30) -/* 8028FDDC 0028CD3C 7F E3 FB 78 */ mr r3, r31 -/* 8028FDE0 0028CD40 38 81 00 50 */ addi r4, r1, 0x50 -/* 8028FDE4 0028CD44 B0 01 00 50 */ sth r0, 0x50(r1) -/* 8028FDE8 0028CD48 4B DB C7 8D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FDEC 0028CD4C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028FDF0 0028CD50 41 82 00 9C */ beq lbl_8028FE8C -/* 8028FDF4 0028CD54 7F C3 F3 78 */ mr r3, r30 -/* 8028FDF8 0028CD58 7F E4 FB 78 */ mr r4, r31 -/* 8028FDFC 0028CD5C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FE00 0028CD60 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FE04 0028CD64 7D 89 03 A6 */ mtctr r12 -/* 8028FE08 0028CD68 4E 80 04 21 */ bctrl -/* 8028FE0C 0028CD6C C3 C3 00 00 */ lfs f30, 0(r3) -/* 8028FE10 0028CD70 7F A3 EB 78 */ mr r3, r29 -/* 8028FE14 0028CD74 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028FE18 0028CD78 7F E4 FB 78 */ mr r4, r31 -/* 8028FE1C 0028CD7C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FE20 0028CD80 7D 89 03 A6 */ mtctr r12 -/* 8028FE24 0028CD84 4E 80 04 21 */ bctrl -/* 8028FE28 0028CD88 7C 7D 1B 78 */ mr r29, r3 -/* 8028FE2C 0028CD8C 7F C3 F3 78 */ mr r3, r30 -/* 8028FE30 0028CD90 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FE34 0028CD94 7F E4 FB 78 */ mr r4, r31 -/* 8028FE38 0028CD98 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FE3C 0028CD9C 7D 89 03 A6 */ mtctr r12 -/* 8028FE40 0028CDA0 4E 80 04 21 */ bctrl -/* 8028FE44 0028CDA4 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8028FE48 0028CDA8 7F E4 FB 78 */ mr r4, r31 -/* 8028FE4C 0028CDAC D0 03 00 00 */ stfs f0, 0(r3) -/* 8028FE50 0028CDB0 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8028FE54 0028CDB4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8028FE58 0028CDB8 7F C3 F3 78 */ mr r3, r30 -/* 8028FE5C 0028CDBC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FE60 0028CDC0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FE64 0028CDC4 7D 89 03 A6 */ mtctr r12 -/* 8028FE68 0028CDC8 4E 80 04 21 */ bctrl -/* 8028FE6C 0028CDCC C0 23 00 00 */ lfs f1, 0(r3) -/* 8028FE70 0028CDD0 C0 1E 0B 5C */ lfs f0, 0xb5c(r30) -/* 8028FE74 0028CDD4 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 8028FE78 0028CDD8 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028FE7C 0028CDDC D0 1E 0B 5C */ stfs f0, 0xb5c(r30) -/* 8028FE80 0028CDE0 C0 1E 0B 60 */ lfs f0, 0xb60(r30) -/* 8028FE84 0028CDE4 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028FE88 0028CDE8 D0 1E 0B 60 */ stfs f0, 0xb60(r30) -lbl_8028FE8C: -/* 8028FE8C 0028CDEC 7F C3 F3 78 */ mr r3, r30 -/* 8028FE90 0028CDF0 7F E4 FB 78 */ mr r4, r31 -/* 8028FE94 0028CDF4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FE98 0028CDF8 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8028FE9C 0028CDFC 7D 89 03 A6 */ mtctr r12 -/* 8028FEA0 0028CE00 4E 80 04 21 */ bctrl -/* 8028FEA4 0028CE04 C0 23 00 00 */ lfs f1, 0(r3) -/* 8028FEA8 0028CE08 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028FEAC 0028CE0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FEB0 0028CE10 4C 40 13 82 */ cror 2, 0, 2 -/* 8028FEB4 0028CE14 40 82 00 14 */ bne lbl_8028FEC8 -/* 8028FEB8 0028CE18 7F C3 F3 78 */ mr r3, r30 -/* 8028FEBC 0028CE1C 7F E4 FB 78 */ mr r4, r31 -/* 8028FEC0 0028CE20 4B FF B6 59 */ bl sub_8028b518 -/* 8028FEC4 0028CE24 48 00 00 BC */ b lbl_8028FF80 -lbl_8028FEC8: -/* 8028FEC8 0028CE28 C0 3E 0B 5C */ lfs f1, 0xb5c(r30) -/* 8028FECC 0028CE2C C0 02 BF 04 */ lfs f0, lbl_805ADC24@sda21(r2) -/* 8028FED0 0028CE30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FED4 0028CE34 40 81 00 10 */ ble lbl_8028FEE4 -/* 8028FED8 0028CE38 38 00 00 01 */ li r0, 1 -/* 8028FEDC 0028CE3C 98 1E 09 B4 */ stb r0, 0x9b4(r30) -/* 8028FEE0 0028CE40 48 00 00 A0 */ b lbl_8028FF80 -lbl_8028FEE4: -/* 8028FEE4 0028CE44 C0 3E 0B 60 */ lfs f1, 0xb60(r30) -/* 8028FEE8 0028CE48 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) -/* 8028FEEC 0028CE4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FEF0 0028CE50 40 81 00 90 */ ble lbl_8028FF80 -/* 8028FEF4 0028CE54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028FEF8 0028CE58 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8028FEFC 0028CE5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028FF00 0028CE60 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8028FF04 0028CE64 3C 80 80 3E */ lis r4, lbl_803E10C8@ha -/* 8028FF08 0028CE68 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8028FF0C 0028CE6C 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l -/* 8028FF10 0028CE70 38 80 00 1A */ li r4, 0x1a -/* 8028FF14 0028CE74 38 A0 00 01 */ li r5, 1 -/* 8028FF18 0028CE78 38 00 00 00 */ li r0, 0 -/* 8028FF1C 0028CE7C 3B A3 00 04 */ addi r29, r3, 4 -/* 8028FF20 0028CE80 90 81 00 C4 */ stw r4, 0xc4(r1) -/* 8028FF24 0028CE84 7F A3 EB 78 */ mr r3, r29 -/* 8028FF28 0028CE88 38 80 00 1A */ li r4, 0x1a -/* 8028FF2C 0028CE8C 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 8028FF30 0028CE90 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 8028FF34 0028CE94 90 A1 00 CC */ stw r5, 0xcc(r1) -/* 8028FF38 0028CE98 98 01 00 D0 */ stb r0, 0xd0(r1) -/* 8028FF3C 0028CE9C 4B EA 14 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8028FF40 0028CEA0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8028FF44 0028CEA4 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 8028FF48 0028CEA8 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l -/* 8028FF4C 0028CEAC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8028FF50 0028CEB0 90 1D 02 88 */ stw r0, 0x288(r29) -/* 8028FF54 0028CEB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8028FF58 0028CEB8 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 8028FF5C 0028CEBC 80 A1 00 CC */ lwz r5, 0xcc(r1) -/* 8028FF60 0028CEC0 D0 1D 02 8C */ stfs f0, 0x28c(r29) -/* 8028FF64 0028CEC4 88 61 00 D0 */ lbz r3, 0xd0(r1) -/* 8028FF68 0028CEC8 90 BD 02 90 */ stw r5, 0x290(r29) -/* 8028FF6C 0028CECC C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8028FF70 0028CED0 98 7D 02 94 */ stb r3, 0x294(r29) -/* 8028FF74 0028CED4 90 81 00 C0 */ stw r4, 0xc0(r1) -/* 8028FF78 0028CED8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8028FF7C 0028CEDC D0 1E 0B 60 */ stfs f0, 0xb60(r30) -lbl_8028FF80: -/* 8028FF80 0028CEE0 FC 20 F8 90 */ fmr f1, f31 -/* 8028FF84 0028CEE4 7F C3 F3 78 */ mr r3, r30 -/* 8028FF88 0028CEE8 7F E4 FB 78 */ mr r4, r31 -/* 8028FF8C 0028CEEC 4B FF C7 79 */ bl sub_8028c704 -/* 8028FF90 0028CEF0 83 9E 09 E0 */ lwz r28, 0x9e0(r30) -/* 8028FF94 0028CEF4 3B 60 00 00 */ li r27, 0 -/* 8028FF98 0028CEF8 3B A0 00 00 */ li r29, 0 -/* 8028FF9C 0028CEFC 48 00 00 90 */ b lbl_8029002C -lbl_8028FFA0: -/* 8028FFA0 0028CF00 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8028FFA4 0028CF04 7F E3 FB 78 */ mr r3, r31 -/* 8028FFA8 0028CF08 38 81 00 4C */ addi r4, r1, 0x4c -/* 8028FFAC 0028CF0C 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 8028FFB0 0028CF10 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 8028FFB4 0028CF14 4B DB C5 C1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8028FFB8 0028CF18 88 1E 0B 78 */ lbz r0, 0xb78(r30) -/* 8028FFBC 0028CF1C 7C 7A 1B 78 */ mr r26, r3 -/* 8028FFC0 0028CF20 28 00 00 00 */ cmplwi r0, 0 -/* 8028FFC4 0028CF24 40 82 00 10 */ bne lbl_8028FFD4 -/* 8028FFC8 0028CF28 88 1E 0B 79 */ lbz r0, 0xb79(r30) -/* 8028FFCC 0028CF2C 28 00 00 00 */ cmplwi r0, 0 -/* 8028FFD0 0028CF30 41 82 00 34 */ beq lbl_80290004 -lbl_8028FFD4: -/* 8028FFD4 0028CF34 88 1E 0A 4A */ lbz r0, 0xa4a(r30) -/* 8028FFD8 0028CF38 28 00 00 00 */ cmplwi r0, 0 -/* 8028FFDC 0028CF3C 40 82 00 28 */ bne lbl_80290004 -/* 8028FFE0 0028CF40 7F 43 D3 78 */ mr r3, r26 -/* 8028FFE4 0028CF44 7F E5 FB 78 */ mr r5, r31 -/* 8028FFE8 0028CF48 38 80 00 28 */ li r4, 0x28 -/* 8028FFEC 0028CF4C 4B DC 43 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8028FFF0 0028CF50 7F 43 D3 78 */ mr r3, r26 -/* 8028FFF4 0028CF54 7F E5 FB 78 */ mr r5, r31 -/* 8028FFF8 0028CF58 38 80 00 29 */ li r4, 0x29 -/* 8028FFFC 0028CF5C 4B DC 43 55 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290000 0028CF60 48 00 00 24 */ b lbl_80290024 -lbl_80290004: -/* 80290004 0028CF64 7F 43 D3 78 */ mr r3, r26 -/* 80290008 0028CF68 7F E5 FB 78 */ mr r5, r31 -/* 8029000C 0028CF6C 38 80 00 28 */ li r4, 0x28 -/* 80290010 0028CF70 4B DC 3F 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290014 0028CF74 7F 43 D3 78 */ mr r3, r26 -/* 80290018 0028CF78 7F E5 FB 78 */ mr r5, r31 -/* 8029001C 0028CF7C 38 80 00 29 */ li r4, 0x29 -/* 80290020 0028CF80 4B DC 3F 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_80290024: -/* 80290024 0028CF84 3B 7B 00 01 */ addi r27, r27, 1 -/* 80290028 0028CF88 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_8029002C: -/* 8029002C 0028CF8C 7C 1B E0 40 */ cmplw r27, r28 -/* 80290030 0028CF90 41 80 FF 70 */ blt lbl_8028FFA0 -/* 80290034 0028CF94 80 9F 08 B8 */ lwz r4, 0x8b8(r31) -/* 80290038 0028CF98 80 7E 05 D4 */ lwz r3, 0x5d4(r30) -/* 8029003C 0028CF9C 83 A4 00 00 */ lwz r29, 0(r4) -/* 80290040 0028CFA0 4B F1 73 7D */ bl GetActive__22CCollisionActorManagerCFv -/* 80290044 0028CFA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290048 0028CFA8 41 82 00 C4 */ beq lbl_8029010C -/* 8029004C 0028CFAC 88 1D 00 00 */ lbz r0, 0(r29) -/* 80290050 0028CFB0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80290054 0028CFB4 41 82 00 B8 */ beq lbl_8029010C -/* 80290058 0028CFB8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029005C 0028CFBC 2C 00 00 02 */ cmpwi r0, 2 -/* 80290060 0028CFC0 40 82 00 AC */ bne lbl_8029010C -/* 80290064 0028CFC4 88 1E 0A D8 */ lbz r0, 0xad8(r30) -/* 80290068 0028CFC8 28 00 00 00 */ cmplwi r0, 0 -/* 8029006C 0028CFCC 41 82 00 A0 */ beq lbl_8029010C -/* 80290070 0028CFD0 7F C3 F3 78 */ mr r3, r30 -/* 80290074 0028CFD4 7F E5 FB 78 */ mr r5, r31 -/* 80290078 0028CFD8 38 80 00 28 */ li r4, 0x28 -/* 8029007C 0028CFDC 4B DC 42 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290080 0028CFE0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80290084 0028CFE4 38 81 00 48 */ addi r4, r1, 0x48 -/* 80290088 0028CFE8 B0 01 00 48 */ sth r0, 0x48(r1) -/* 8029008C 0028CFEC B0 01 00 44 */ sth r0, 0x44(r1) -/* 80290090 0028CFF0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80290094 0028CFF4 4B D8 9D 11 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId -/* 80290098 0028CFF8 83 5E 09 E0 */ lwz r26, 0x9e0(r30) -/* 8029009C 0028CFFC 3B 60 00 00 */ li r27, 0 -/* 802900A0 0028D000 3B A0 00 00 */ li r29, 0 -/* 802900A4 0028D004 48 00 00 38 */ b lbl_802900DC -lbl_802900A8: -/* 802900A8 0028D008 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 802900AC 0028D00C 7F E3 FB 78 */ mr r3, r31 -/* 802900B0 0028D010 38 81 00 40 */ addi r4, r1, 0x40 -/* 802900B4 0028D014 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 802900B8 0028D018 B0 01 00 40 */ sth r0, 0x40(r1) -/* 802900BC 0028D01C 4B DB C4 B9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802900C0 0028D020 28 03 00 00 */ cmplwi r3, 0 -/* 802900C4 0028D024 41 82 00 10 */ beq lbl_802900D4 -/* 802900C8 0028D028 7F E5 FB 78 */ mr r5, r31 -/* 802900CC 0028D02C 38 80 00 28 */ li r4, 0x28 -/* 802900D0 0028D030 4B DC 3E B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_802900D4: -/* 802900D4 0028D034 3B 7B 00 01 */ addi r27, r27, 1 -/* 802900D8 0028D038 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_802900DC: -/* 802900DC 0028D03C 7C 1B D0 40 */ cmplw r27, r26 -/* 802900E0 0028D040 41 80 FF C8 */ blt lbl_802900A8 -/* 802900E4 0028D044 A0 1E 00 08 */ lhz r0, 8(r30) -/* 802900E8 0028D048 7F E5 FB 78 */ mr r5, r31 -/* 802900EC 0028D04C 38 81 00 3C */ addi r4, r1, 0x3c -/* 802900F0 0028D050 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 802900F4 0028D054 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802900F8 0028D058 B0 01 00 38 */ sth r0, 0x38(r1) -/* 802900FC 0028D05C 80 63 04 90 */ lwz r3, 0x490(r3) -/* 80290100 0028D060 80 63 07 44 */ lwz r3, 0x744(r3) -/* 80290104 0028D064 4B F2 98 1D */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager -/* 80290108 0028D068 48 00 01 1C */ b lbl_80290224 -lbl_8029010C: -/* 8029010C 0028D06C 88 1E 0A 4A */ lbz r0, 0xa4a(r30) -/* 80290110 0028D070 28 00 00 00 */ cmplwi r0, 0 -/* 80290114 0028D074 40 82 01 10 */ bne lbl_80290224 -/* 80290118 0028D078 7F C3 F3 78 */ mr r3, r30 -/* 8029011C 0028D07C 7F E5 FB 78 */ mr r5, r31 -/* 80290120 0028D080 38 80 00 28 */ li r4, 0x28 -/* 80290124 0028D084 4B DC 3E 5D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290128 0028D088 83 5E 09 E0 */ lwz r26, 0x9e0(r30) -/* 8029012C 0028D08C 3B 60 00 00 */ li r27, 0 -/* 80290130 0028D090 3B A0 00 00 */ li r29, 0 -/* 80290134 0028D094 48 00 00 50 */ b lbl_80290184 -lbl_80290138: -/* 80290138 0028D098 80 BE 09 E8 */ lwz r5, 0x9e8(r30) -/* 8029013C 0028D09C 7F E3 FB 78 */ mr r3, r31 -/* 80290140 0028D0A0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80290144 0028D0A4 7C 05 EA 2E */ lhzx r0, r5, r29 -/* 80290148 0028D0A8 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8029014C 0028D0AC 4B DB C4 29 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290150 0028D0B0 28 03 00 00 */ cmplwi r3, 0 -/* 80290154 0028D0B4 41 82 00 28 */ beq lbl_8029017C -/* 80290158 0028D0B8 88 1E 0B 78 */ lbz r0, 0xb78(r30) -/* 8029015C 0028D0BC 28 00 00 00 */ cmplwi r0, 0 -/* 80290160 0028D0C0 40 82 00 10 */ bne lbl_80290170 -/* 80290164 0028D0C4 88 1E 0B 79 */ lbz r0, 0xb79(r30) -/* 80290168 0028D0C8 28 00 00 00 */ cmplwi r0, 0 -/* 8029016C 0028D0CC 41 82 00 10 */ beq lbl_8029017C -lbl_80290170: -/* 80290170 0028D0D0 7F E5 FB 78 */ mr r5, r31 -/* 80290174 0028D0D4 38 80 00 28 */ li r4, 0x28 -/* 80290178 0028D0D8 4B DC 41 D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8029017C: -/* 8029017C 0028D0DC 3B 7B 00 01 */ addi r27, r27, 1 -/* 80290180 0028D0E0 3B BD 00 14 */ addi r29, r29, 0x14 -lbl_80290184: -/* 80290184 0028D0E4 7C 1B D0 40 */ cmplw r27, r26 -/* 80290188 0028D0E8 41 80 FF B0 */ blt lbl_80290138 -/* 8029018C 0028D0EC 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80290190 0028D0F0 7F E5 FB 78 */ mr r5, r31 -/* 80290194 0028D0F4 A3 BE 00 08 */ lhz r29, 8(r30) -/* 80290198 0028D0F8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8029019C 0028D0FC 80 84 04 90 */ lwz r4, 0x490(r4) -/* 802901A0 0028D100 80 84 07 44 */ lwz r4, 0x744(r4) -/* 802901A4 0028D104 4B F2 97 15 */ bl HasTarget__10CAuxWeaponCFRC13CStateManager -/* 802901A8 0028D108 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 802901AC 0028D10C 7C 00 E8 40 */ cmplw r0, r29 -/* 802901B0 0028D110 40 82 00 74 */ bne lbl_80290224 -/* 802901B4 0028D114 83 BF 08 4C */ lwz r29, 0x84c(r31) -/* 802901B8 0028D118 7F E5 FB 78 */ mr r5, r31 -/* 802901BC 0028D11C 38 81 00 2C */ addi r4, r1, 0x2c -/* 802901C0 0028D120 A0 1D 03 10 */ lhz r0, 0x310(r29) -/* 802901C4 0028D124 7F A3 EB 78 */ mr r3, r29 -/* 802901C8 0028D128 B0 01 00 28 */ sth r0, 0x28(r1) -/* 802901CC 0028D12C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 802901D0 0028D130 4B EE EE AD */ bl ValidateOrbitTargetId__7CPlayerCF9TUniqueIdR13CStateManager -/* 802901D4 0028D134 2C 03 00 00 */ cmpwi r3, 0 -/* 802901D8 0028D138 40 82 00 2C */ bne lbl_80290204 -/* 802901DC 0028D13C A0 1D 03 10 */ lhz r0, 0x310(r29) -/* 802901E0 0028D140 7F E5 FB 78 */ mr r5, r31 -/* 802901E4 0028D144 38 81 00 24 */ addi r4, r1, 0x24 -/* 802901E8 0028D148 B0 01 00 24 */ sth r0, 0x24(r1) -/* 802901EC 0028D14C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 802901F0 0028D150 B0 01 00 20 */ sth r0, 0x20(r1) -/* 802901F4 0028D154 80 63 04 90 */ lwz r3, 0x490(r3) -/* 802901F8 0028D158 80 63 07 44 */ lwz r3, 0x744(r3) -/* 802901FC 0028D15C 4B F2 97 25 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager -/* 80290200 0028D160 48 00 00 24 */ b lbl_80290224 -lbl_80290204: -/* 80290204 0028D164 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80290208 0028D168 7F E5 FB 78 */ mr r5, r31 -/* 8029020C 0028D16C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80290210 0028D170 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80290214 0028D174 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80290218 0028D178 80 63 04 90 */ lwz r3, 0x490(r3) -/* 8029021C 0028D17C 80 63 07 44 */ lwz r3, 0x744(r3) -/* 80290220 0028D180 4B F2 97 01 */ bl SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager -lbl_80290224: -/* 80290224 0028D184 A0 1E 07 72 */ lhz r0, 0x772(r30) -/* 80290228 0028D188 7F E3 FB 78 */ mr r3, r31 -/* 8029022C 0028D18C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80290230 0028D190 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80290234 0028D194 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80290238 0028D198 4B DB C3 3D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8029023C 0028D19C 28 03 00 00 */ cmplwi r3, 0 -/* 80290240 0028D1A0 41 82 00 0C */ beq lbl_8029024C -/* 80290244 0028D1A4 88 1E 0A DF */ lbz r0, 0xadf(r30) -/* 80290248 0028D1A8 98 03 03 FE */ stb r0, 0x3fe(r3) -lbl_8029024C: -/* 8029024C 0028D1AC A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 80290250 0028D1B0 7F E3 FB 78 */ mr r3, r31 -/* 80290254 0028D1B4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80290258 0028D1B8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8029025C 0028D1BC 4B DB C3 19 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290260 0028D1C0 28 03 00 00 */ cmplwi r3, 0 -/* 80290264 0028D1C4 41 82 00 0C */ beq lbl_80290270 -/* 80290268 0028D1C8 88 1E 0A E0 */ lbz r0, 0xae0(r30) -/* 8029026C 0028D1CC 98 03 03 FE */ stb r0, 0x3fe(r3) -lbl_80290270: -/* 80290270 0028D1D0 88 1E 09 EC */ lbz r0, 0x9ec(r30) -/* 80290274 0028D1D4 28 00 00 00 */ cmplwi r0, 0 -/* 80290278 0028D1D8 41 82 00 48 */ beq lbl_802902C0 -/* 8029027C 0028D1DC 38 00 00 00 */ li r0, 0 -/* 80290280 0028D1E0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha -/* 80290284 0028D1E4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l -/* 80290288 0028D1E8 98 1E 09 EC */ stb r0, 0x9ec(r30) -/* 8029028C 0028D1EC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80290290 0028D1F0 38 84 00 E2 */ addi r4, r4, 0xe2 -/* 80290294 0028D1F4 4B D7 4A 25 */ bl string_l__4rstlFPCc -/* 80290298 0028D1F8 7F C3 F3 78 */ mr r3, r30 -/* 8029029C 0028D1FC 4B E1 26 5D */ bl GetStateMachine__3CAiFv -/* 802902A0 0028D200 7C 66 1B 78 */ mr r6, r3 -/* 802902A4 0028D204 7F E4 FB 78 */ mr r4, r31 -/* 802902A8 0028D208 7F C5 F3 78 */ mr r5, r30 -/* 802902AC 0028D20C 38 7E 03 30 */ addi r3, r30, 0x330 -/* 802902B0 0028D210 38 E1 00 88 */ addi r7, r1, 0x88 -/* 802902B4 0028D214 4B DE F9 51 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802902B8 0028D218 38 61 00 88 */ addi r3, r1, 0x88 -/* 802902BC 0028D21C 48 0A D8 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802902C0: -/* 802902C0 0028D220 80 1E 0B 68 */ lwz r0, 0xb68(r30) -/* 802902C4 0028D224 28 00 00 02 */ cmplwi r0, 2 -/* 802902C8 0028D228 41 80 00 DC */ blt lbl_802903A4 -/* 802902CC 0028D22C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 802902D0 0028D230 38 61 00 78 */ addi r3, r1, 0x78 -/* 802902D4 0028D234 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 802902D8 0028D238 38 84 00 EB */ addi r4, r4, 0xeb -/* 802902DC 0028D23C 4B D7 49 DD */ bl string_l__4rstlFPCc -/* 802902E0 0028D240 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 802902E4 0028D244 38 61 00 68 */ addi r3, r1, 0x68 -/* 802902E8 0028D248 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 802902EC 0028D24C 38 84 00 EC */ addi r4, r4, 0xec -/* 802902F0 0028D250 4B D7 49 C9 */ bl string_l__4rstlFPCc -/* 802902F4 0028D254 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 802902F8 0028D258 38 61 00 60 */ addi r3, r1, 0x60 -/* 802902FC 0028D25C 48 0B 8A F1 */ bl __ct__13CCharAnimTimeFf -/* 80290300 0028D260 38 00 00 00 */ li r0, 0 -/* 80290304 0028D264 7C 66 1B 78 */ mr r6, r3 -/* 80290308 0028D268 90 01 00 08 */ stw r0, 8(r1) -/* 8029030C 0028D26C 38 01 00 68 */ addi r0, r1, 0x68 -/* 80290310 0028D270 C0 22 BE A0 */ lfs f1, lbl_805ADBC0@sda21(r2) -/* 80290314 0028D274 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80290318 0028D278 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029031C 0028D27C 38 81 00 78 */ addi r4, r1, 0x78 -/* 80290320 0028D280 38 A0 00 02 */ li r5, 2 -/* 80290324 0028D284 38 E0 FF FF */ li r7, -1 -/* 80290328 0028D288 39 00 00 00 */ li r8, 0 -/* 8029032C 0028D28C 39 20 FF FF */ li r9, -1 -/* 80290330 0028D290 39 40 00 00 */ li r10, 0 -/* 80290334 0028D294 4B D9 B0 59 */ bl "__ct__13CInt32POINodeFQ24rstl66basic_string,Q24rstl17rmemory_allocator>UsRC13CCharAnimTimeibfiiiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80290338 0028D298 7F C3 F3 78 */ mr r3, r30 -/* 8029033C 0028D29C FC 20 F8 90 */ fmr f1, f31 -/* 80290340 0028D2A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80290344 0028D2A4 7F E4 FB 78 */ mr r4, r31 -/* 80290348 0028D2A8 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 8029034C 0028D2AC 38 C0 00 19 */ li r6, 0x19 -/* 80290350 0028D2B0 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80290354 0028D2B4 7D 89 03 A6 */ mtctr r12 -/* 80290358 0028D2B8 4E 80 04 21 */ bctrl -/* 8029035C 0028D2BC 3C 80 80 3E */ lis r4, lbl_803D9B98@ha -/* 80290360 0028D2C0 34 61 01 10 */ addic. r3, r1, 0x110 -/* 80290364 0028D2C4 38 04 9B 98 */ addi r0, r4, lbl_803D9B98@l -/* 80290368 0028D2C8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8029036C 0028D2CC 41 82 00 08 */ beq lbl_80290374 -/* 80290370 0028D2D0 48 0A D7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80290374: -/* 80290374 0028D2D4 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 80290378 0028D2D8 34 61 00 DC */ addic. r3, r1, 0xdc -/* 8029037C 0028D2DC 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 80290380 0028D2E0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80290384 0028D2E4 41 82 00 08 */ beq lbl_8029038C -/* 80290388 0028D2E8 48 0A D7 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8029038C: -/* 8029038C 0028D2EC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80290390 0028D2F0 48 0A D7 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80290394 0028D2F4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80290398 0028D2F8 48 0A D7 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029039C 0028D2FC 38 00 00 00 */ li r0, 0 -/* 802903A0 0028D300 90 1E 0B 68 */ stw r0, 0xb68(r30) -lbl_802903A4: -/* 802903A4 0028D304 C0 3E 0B 8C */ lfs f1, 0xb8c(r30) -/* 802903A8 0028D308 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 802903AC 0028D30C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802903B0 0028D310 40 81 00 4C */ ble lbl_802903FC -/* 802903B4 0028D314 7F C4 F3 78 */ mr r4, r30 -/* 802903B8 0028D318 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802903BC 0028D31C 4B E8 A5 71 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 802903C0 0028D320 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 802903C4 0028D324 FC 20 F8 90 */ fmr f1, f31 -/* 802903C8 0028D328 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 802903CC 0028D32C 7F E3 FB 78 */ mr r3, r31 -/* 802903D0 0028D330 C0 62 BE C4 */ lfs f3, lbl_805ADBE4@sda21(r2) -/* 802903D4 0028D334 7F C4 F3 78 */ mr r4, r30 -/* 802903D8 0028D338 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802903DC 0028D33C C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 802903E0 0028D340 38 A0 00 08 */ li r5, 8 -/* 802903E4 0028D344 C0 82 BF 0C */ lfs f4, lbl_805ADC2C@sda21(r2) -/* 802903E8 0028D348 EC 63 00 32 */ fmuls f3, f3, f0 -/* 802903EC 0028D34C C0 A2 BE A8 */ lfs f5, lbl_805ADBC8@sda21(r2) -/* 802903F0 0028D350 4B EE F7 95 */ bl sub_8017fb84 -/* 802903F4 0028D354 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 802903F8 0028D358 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) -lbl_802903FC: -/* 802903FC 0028D35C C0 1E 0B 8C */ lfs f0, 0xb8c(r30) -/* 80290400 0028D360 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80290404 0028D364 D0 1E 0B 8C */ stfs f0, 0xb8c(r30) -lbl_80290408: -/* 80290408 0028D368 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 -/* 8029040C 0028D36C CB E1 01 60 */ lfd f31, 0x160(r1) -/* 80290410 0028D370 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 -/* 80290414 0028D374 CB C1 01 50 */ lfd f30, 0x150(r1) -/* 80290418 0028D378 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 -/* 8029041C 0028D37C CB A1 01 40 */ lfd f29, 0x140(r1) -/* 80290420 0028D380 BB 41 01 28 */ lmw r26, 0x128(r1) -/* 80290424 0028D384 80 01 01 74 */ lwz r0, 0x174(r1) -/* 80290428 0028D388 7C 08 03 A6 */ mtlr r0 -/* 8029042C 0028D38C 38 21 01 70 */ addi r1, r1, 0x170 -/* 80290430 0028D390 4E 80 00 20 */ blr - -.global sub_80290434 -sub_80290434: -/* 80290434 0028D394 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80290438 0028D398 7C 08 02 A6 */ mflr r0 -/* 8029043C 0028D39C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80290440 0028D3A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80290444 0028D3A4 7C 9F 23 78 */ mr r31, r4 -/* 80290448 0028D3A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029044C 0028D3AC 7C 7E 1B 78 */ mr r30, r3 -/* 80290450 0028D3B0 4B F9 8C C5 */ bl sub_80229114 -/* 80290454 0028D3B4 A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 80290458 0028D3B8 7F C3 F3 78 */ mr r3, r30 -/* 8029045C 0028D3BC 7F E4 FB 78 */ mr r4, r31 -/* 80290460 0028D3C0 38 A1 00 08 */ addi r5, r1, 8 -/* 80290464 0028D3C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80290468 0028D3C8 4B F9 8B C5 */ bl sub_8022902c -/* 8029046C 0028D3CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80290470 0028D3D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80290474 0028D3D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80290478 0028D3D8 7C 08 03 A6 */ mtlr r0 -/* 8029047C 0028D3DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80290480 0028D3E0 4E 80 00 20 */ blr - -.global AggressionCheck__12COmegaPirateFR13CStateManagerf -AggressionCheck__12COmegaPirateFR13CStateManagerf: -/* 80290484 0028D3E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290488 0028D3E8 7C 08 02 A6 */ mflr r0 -/* 8029048C 0028D3EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290490 0028D3F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80290494 0028D3F4 3B E0 00 00 */ li r31, 0 -/* 80290498 0028D3F8 A0 A3 09 90 */ lhz r5, 0x990(r3) -/* 8029049C 0028D3FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 802904A0 0028D400 7C 05 00 40 */ cmplw r5, r0 -/* 802904A4 0028D404 40 82 00 14 */ bne lbl_802904B8 -/* 802904A8 0028D408 4B F9 B8 2D */ bl AggressionCheck__12CElitePirateFR13CStateManagerf -/* 802904AC 0028D40C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802904B0 0028D410 41 82 00 08 */ beq lbl_802904B8 -/* 802904B4 0028D414 3B E0 00 01 */ li r31, 1 -lbl_802904B8: -/* 802904B8 0028D418 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802904BC 0028D41C 7F E3 FB 78 */ mr r3, r31 -/* 802904C0 0028D420 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802904C4 0028D424 7C 08 03 A6 */ mtlr r0 -/* 802904C8 0028D428 38 21 00 10 */ addi r1, r1, 0x10 -/* 802904CC 0028D42C 4E 80 00 20 */ blr - -.global ShotAt__12COmegaPirateFR13CStateManagerf -ShotAt__12COmegaPirateFR13CStateManagerf: -/* 802904D0 0028D430 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802904D4 0028D434 7C 08 02 A6 */ mflr r0 -/* 802904D8 0028D438 90 01 00 14 */ stw r0, 0x14(r1) -/* 802904DC 0028D43C 4B F9 B9 51 */ bl ShotAt__12CElitePirateFR13CStateManagerf -/* 802904E0 0028D440 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802904E4 0028D444 7C 08 03 A6 */ mtlr r0 -/* 802904E8 0028D448 38 21 00 10 */ addi r1, r1, 0x10 -/* 802904EC 0028D44C 4E 80 00 20 */ blr - -.global ShouldCallForBackup__12COmegaPirateFR13CStateManagerf -ShouldCallForBackup__12COmegaPirateFR13CStateManagerf: -/* 802904F0 0028D450 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802904F4 0028D454 7C 08 02 A6 */ mflr r0 -/* 802904F8 0028D458 90 01 00 34 */ stw r0, 0x34(r1) -/* 802904FC 0028D45C DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80290500 0028D460 FF E0 08 90 */ fmr f31, f1 -/* 80290504 0028D464 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80290508 0028D468 3B E0 00 00 */ li r31, 0 -/* 8029050C 0028D46C 93 C1 00 20 */ stw r30, 0x20(r1) -/* 80290510 0028D470 7C 9E 23 78 */ mr r30, r4 -/* 80290514 0028D474 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 80290518 0028D478 7C 7D 1B 78 */ mr r29, r3 -/* 8029051C 0028D47C 4B F9 B9 69 */ bl ShouldCallForBackup__12CElitePirateFR13CStateManagerf -/* 80290520 0028D480 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290524 0028D484 41 82 00 2C */ beq lbl_80290550 -/* 80290528 0028D488 A0 1D 09 90 */ lhz r0, 0x990(r29) -/* 8029052C 0028D48C FC 20 F8 90 */ fmr f1, f31 -/* 80290530 0028D490 7F A3 EB 78 */ mr r3, r29 -/* 80290534 0028D494 7F C4 F3 78 */ mr r4, r30 -/* 80290538 0028D498 B0 01 00 08 */ sth r0, 8(r1) -/* 8029053C 0028D49C 38 A1 00 08 */ addi r5, r1, 8 -/* 80290540 0028D4A0 4B F9 B8 F9 */ bl sub_8022be38 -/* 80290544 0028D4A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290548 0028D4A8 41 82 00 08 */ beq lbl_80290550 -/* 8029054C 0028D4AC 3B E0 00 01 */ li r31, 1 -lbl_80290550: -/* 80290550 0028D4B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80290554 0028D4B4 7F E3 FB 78 */ mr r3, r31 -/* 80290558 0028D4B8 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8029055C 0028D4BC 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 80290560 0028D4C0 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 80290564 0028D4C4 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 80290568 0028D4C8 7C 08 03 A6 */ mtlr r0 -/* 8029056C 0028D4CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80290570 0028D4D0 4E 80 00 20 */ blr - -.global ShouldFire__12COmegaPirateFR13CStateManagerf -ShouldFire__12COmegaPirateFR13CStateManagerf: -/* 80290574 0028D4D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80290578 0028D4D8 7C 08 02 A6 */ mflr r0 -/* 8029057C 0028D4DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80290580 0028D4E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80290584 0028D4E4 3B E0 00 01 */ li r31, 1 -/* 80290588 0028D4E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029058C 0028D4EC 7C 9E 23 78 */ mr r30, r4 -/* 80290590 0028D4F0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80290594 0028D4F4 7C 7D 1B 78 */ mr r29, r3 -/* 80290598 0028D4F8 4B F9 BC ED */ bl ShouldFire__12CElitePirateFR13CStateManagerf -/* 8029059C 0028D4FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802905A0 0028D500 40 82 00 28 */ bne lbl_802905C8 -/* 802905A4 0028D504 A0 1D 09 90 */ lhz r0, 0x990(r29) -/* 802905A8 0028D508 7F A3 EB 78 */ mr r3, r29 -/* 802905AC 0028D50C 7F C4 F3 78 */ mr r4, r30 -/* 802905B0 0028D510 38 A1 00 08 */ addi r5, r1, 8 -/* 802905B4 0028D514 B0 01 00 08 */ sth r0, 8(r1) -/* 802905B8 0028D518 4B F9 BA 65 */ bl sub_8022c01c -/* 802905BC 0028D51C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802905C0 0028D520 40 82 00 08 */ bne lbl_802905C8 -/* 802905C4 0028D524 3B E0 00 00 */ li r31, 0 -lbl_802905C8: -/* 802905C8 0028D528 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802905CC 0028D52C 7F E3 FB 78 */ mr r3, r31 -/* 802905D0 0028D530 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802905D4 0028D534 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802905D8 0028D538 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802905DC 0028D53C 7C 08 03 A6 */ mtlr r0 -/* 802905E0 0028D540 38 21 00 20 */ addi r1, r1, 0x20 -/* 802905E4 0028D544 4E 80 00 20 */ blr - -.global DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__12COmegaPirateFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 802905E8 0028D548 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802905EC 0028D54C 7C 08 02 A6 */ mflr r0 -/* 802905F0 0028D550 28 06 00 19 */ cmplwi r6, 0x19 -/* 802905F4 0028D554 90 01 00 34 */ stw r0, 0x34(r1) -/* 802905F8 0028D558 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802905FC 0028D55C 7C 9F 23 78 */ mr r31, r4 -/* 80290600 0028D560 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80290604 0028D564 7C 7E 1B 78 */ mr r30, r3 -/* 80290608 0028D568 41 81 01 E8 */ bgt lbl_802907F0 -/* 8029060C 0028D56C 3C E0 80 3F */ lis r7, lbl_803EB754@ha -/* 80290610 0028D570 54 C0 10 3A */ slwi r0, r6, 2 -/* 80290614 0028D574 38 E7 B7 54 */ addi r7, r7, lbl_803EB754@l -/* 80290618 0028D578 7C 07 00 2E */ lwzx r0, r7, r0 -/* 8029061C 0028D57C 7C 09 03 A6 */ mtctr r0 -/* 80290620 0028D580 4E 80 04 20 */ bctr -/* 80290624 0028D584 4B F9 BD DD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290628 0028D588 48 00 01 D4 */ b lbl_802907FC -/* 8029062C 0028D58C 4B F9 BD D5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290630 0028D590 48 00 01 CC */ b lbl_802907FC -/* 80290634 0028D594 4B F9 BD CD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290638 0028D598 48 00 01 C4 */ b lbl_802907FC -/* 8029063C 0028D59C 4B F9 BD C5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290640 0028D5A0 48 00 01 BC */ b lbl_802907FC -/* 80290644 0028D5A4 4B F9 BD BD */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290648 0028D5A8 48 00 01 B4 */ b lbl_802907FC -/* 8029064C 0028D5AC 4B F9 BD B5 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 80290650 0028D5B0 48 00 01 AC */ b lbl_802907FC -/* 80290654 0028D5B4 A0 7E 09 90 */ lhz r3, 0x990(r30) -/* 80290658 0028D5B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029065C 0028D5BC 7C 03 00 40 */ cmplw r3, r0 -/* 80290660 0028D5C0 41 82 01 9C */ beq lbl_802907FC -/* 80290664 0028D5C4 A0 1E 09 90 */ lhz r0, 0x990(r30) -/* 80290668 0028D5C8 7F E3 FB 78 */ mr r3, r31 -/* 8029066C 0028D5CC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80290670 0028D5D0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80290674 0028D5D4 4B DB BF 01 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290678 0028D5D8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8029067C 0028D5DC 41 82 01 80 */ beq lbl_802907FC -/* 80290680 0028D5E0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80290684 0028D5E4 7F E3 FB 78 */ mr r3, r31 -/* 80290688 0028D5E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029068C 0028D5EC 38 C0 00 13 */ li r6, 0x13 -/* 80290690 0028D5F0 B0 01 00 08 */ sth r0, 8(r1) -/* 80290694 0028D5F4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80290698 0028D5F8 4B DB 38 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8029069C 0028D5FC 48 00 01 60 */ b lbl_802907FC -/* 802906A0 0028D600 80 1E 09 94 */ lwz r0, 0x994(r30) -/* 802906A4 0028D604 2C 00 00 02 */ cmpwi r0, 2 -/* 802906A8 0028D608 41 82 01 54 */ beq lbl_802907FC -/* 802906AC 0028D60C 88 1E 09 A1 */ lbz r0, 0x9a1(r30) -/* 802906B0 0028D610 28 00 00 00 */ cmplwi r0, 0 -/* 802906B4 0028D614 41 82 01 48 */ beq lbl_802907FC -/* 802906B8 0028D618 38 60 00 01 */ li r3, 1 -/* 802906BC 0028D61C 38 00 00 03 */ li r0, 3 -/* 802906C0 0028D620 90 7E 09 94 */ stw r3, 0x994(r30) -/* 802906C4 0028D624 90 1E 0A 30 */ stw r0, 0xa30(r30) -/* 802906C8 0028D628 48 00 01 34 */ b lbl_802907FC -/* 802906CC 0028D62C 38 00 00 01 */ li r0, 1 -/* 802906D0 0028D630 98 1E 09 A1 */ stb r0, 0x9a1(r30) -/* 802906D4 0028D634 48 00 01 28 */ b lbl_802907FC -/* 802906D8 0028D638 80 1E 0A B8 */ lwz r0, 0xab8(r30) -/* 802906DC 0028D63C 80 7E 0A C0 */ lwz r3, 0xac0(r30) -/* 802906E0 0028D640 54 00 10 3A */ slwi r0, r0, 2 -/* 802906E4 0028D644 7C 03 02 14 */ add r0, r3, r0 -/* 802906E8 0028D648 90 61 00 18 */ stw r3, 0x18(r1) -/* 802906EC 0028D64C 90 01 00 20 */ stw r0, 0x20(r1) -/* 802906F0 0028D650 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802906F4 0028D654 90 61 00 14 */ stw r3, 0x14(r1) -/* 802906F8 0028D658 48 00 00 08 */ b lbl_80290700 -lbl_802906FC: -/* 802906FC 0028D65C 38 63 00 04 */ addi r3, r3, 4 -lbl_80290700: -/* 80290700 0028D660 7C 03 00 40 */ cmplw r3, r0 -/* 80290704 0028D664 40 82 FF F8 */ bne lbl_802906FC -/* 80290708 0028D668 38 00 00 00 */ li r0, 0 -/* 8029070C 0028D66C 90 1E 0A B8 */ stw r0, 0xab8(r30) -/* 80290710 0028D670 90 1E 0A C8 */ stw r0, 0xac8(r30) -/* 80290714 0028D674 80 7E 0A CC */ lwz r3, 0xacc(r30) -/* 80290718 0028D678 38 03 00 01 */ addi r0, r3, 1 -/* 8029071C 0028D67C 90 1E 0A CC */ stw r0, 0xacc(r30) -/* 80290720 0028D680 80 1E 0A C4 */ lwz r0, 0xac4(r30) -/* 80290724 0028D684 2C 00 00 02 */ cmpwi r0, 2 -/* 80290728 0028D688 41 82 00 5C */ beq lbl_80290784 -/* 8029072C 0028D68C 40 80 00 14 */ bge lbl_80290740 -/* 80290730 0028D690 2C 00 00 00 */ cmpwi r0, 0 -/* 80290734 0028D694 41 82 00 18 */ beq lbl_8029074C -/* 80290738 0028D698 40 80 00 28 */ bge lbl_80290760 -/* 8029073C 0028D69C 48 00 00 9C */ b lbl_802907D8 -lbl_80290740: -/* 80290740 0028D6A0 2C 00 00 04 */ cmpwi r0, 4 -/* 80290744 0028D6A4 40 80 00 94 */ bge lbl_802907D8 -/* 80290748 0028D6A8 48 00 00 60 */ b lbl_802907A8 -lbl_8029074C: -/* 8029074C 0028D6AC 7F C3 F3 78 */ mr r3, r30 -/* 80290750 0028D6B0 7F E5 FB 78 */ mr r5, r31 -/* 80290754 0028D6B4 38 80 00 02 */ li r4, 2 -/* 80290758 0028D6B8 4B FF C4 95 */ bl sub_8028cbec -/* 8029075C 0028D6BC 48 00 00 7C */ b lbl_802907D8 -lbl_80290760: -/* 80290760 0028D6C0 7F C3 F3 78 */ mr r3, r30 -/* 80290764 0028D6C4 7F E5 FB 78 */ mr r5, r31 -/* 80290768 0028D6C8 38 80 00 01 */ li r4, 1 -/* 8029076C 0028D6CC 4B FF C4 81 */ bl sub_8028cbec -/* 80290770 0028D6D0 7F C3 F3 78 */ mr r3, r30 -/* 80290774 0028D6D4 7F E5 FB 78 */ mr r5, r31 -/* 80290778 0028D6D8 38 80 00 01 */ li r4, 1 -/* 8029077C 0028D6DC 4B FF C4 71 */ bl sub_8028cbec -/* 80290780 0028D6E0 48 00 00 58 */ b lbl_802907D8 -lbl_80290784: -/* 80290784 0028D6E4 7F C3 F3 78 */ mr r3, r30 -/* 80290788 0028D6E8 7F E5 FB 78 */ mr r5, r31 -/* 8029078C 0028D6EC 38 80 00 02 */ li r4, 2 -/* 80290790 0028D6F0 4B FF C4 5D */ bl sub_8028cbec -/* 80290794 0028D6F4 7F C3 F3 78 */ mr r3, r30 -/* 80290798 0028D6F8 7F E5 FB 78 */ mr r5, r31 -/* 8029079C 0028D6FC 38 80 00 01 */ li r4, 1 -/* 802907A0 0028D700 4B FF C4 4D */ bl sub_8028cbec -/* 802907A4 0028D704 48 00 00 34 */ b lbl_802907D8 -lbl_802907A8: -/* 802907A8 0028D708 7F C3 F3 78 */ mr r3, r30 -/* 802907AC 0028D70C 7F E5 FB 78 */ mr r5, r31 -/* 802907B0 0028D710 38 80 00 01 */ li r4, 1 -/* 802907B4 0028D714 4B FF C4 39 */ bl sub_8028cbec -/* 802907B8 0028D718 7F C3 F3 78 */ mr r3, r30 -/* 802907BC 0028D71C 7F E5 FB 78 */ mr r5, r31 -/* 802907C0 0028D720 38 80 00 01 */ li r4, 1 -/* 802907C4 0028D724 4B FF C4 29 */ bl sub_8028cbec -/* 802907C8 0028D728 7F C3 F3 78 */ mr r3, r30 -/* 802907CC 0028D72C 7F E5 FB 78 */ mr r5, r31 -/* 802907D0 0028D730 38 80 00 01 */ li r4, 1 -/* 802907D4 0028D734 4B FF C4 19 */ bl sub_8028cbec -lbl_802907D8: -/* 802907D8 0028D738 7F C3 F3 78 */ mr r3, r30 -/* 802907DC 0028D73C 7F E5 FB 78 */ mr r5, r31 -/* 802907E0 0028D740 38 80 00 01 */ li r4, 1 -/* 802907E4 0028D744 38 C0 FF FF */ li r6, -1 -/* 802907E8 0028D748 4B DC 08 D9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 802907EC 0028D74C 48 00 00 10 */ b lbl_802907FC -lbl_802907F0: -/* 802907F0 0028D750 7F C3 F3 78 */ mr r3, r30 -/* 802907F4 0028D754 7F E4 FB 78 */ mr r4, r31 -/* 802907F8 0028D758 4B F9 BC 09 */ bl DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_802907FC: -/* 802907FC 0028D75C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80290800 0028D760 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80290804 0028D764 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80290808 0028D768 7C 08 03 A6 */ mtlr r0 -/* 8029080C 0028D76C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80290810 0028D770 4E 80 00 20 */ blr - -.global GetOrbitPosition__12COmegaPirateCFRC13CStateManager -GetOrbitPosition__12COmegaPirateCFRC13CStateManager: -/* 80290814 0028D774 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80290818 0028D778 7C 08 02 A6 */ mflr r0 -/* 8029081C 0028D77C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80290820 0028D780 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80290824 0028D784 7C BF 2B 78 */ mr r31, r5 -/* 80290828 0028D788 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029082C 0028D78C 7C 9E 23 78 */ mr r30, r4 -/* 80290830 0028D790 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80290834 0028D794 7C 7D 1B 78 */ mr r29, r3 -/* 80290838 0028D798 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029083C 0028D79C A0 84 09 90 */ lhz r4, 0x990(r4) -/* 80290840 0028D7A0 7C 04 00 40 */ cmplw r4, r0 -/* 80290844 0028D7A4 41 82 00 40 */ beq lbl_80290884 -/* 80290848 0028D7A8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8029084C 0028D7AC 80 63 00 00 */ lwz r3, 0(r3) -/* 80290850 0028D7B0 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80290854 0028D7B4 2C 00 00 03 */ cmpwi r0, 3 -/* 80290858 0028D7B8 40 82 00 2C */ bne lbl_80290884 -/* 8029085C 0028D7BC B0 81 00 08 */ sth r4, 8(r1) -/* 80290860 0028D7C0 7F E3 FB 78 */ mr r3, r31 -/* 80290864 0028D7C4 38 81 00 08 */ addi r4, r1, 8 -/* 80290868 0028D7C8 4B DB BD 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8029086C 0028D7CC 7C 65 1B 79 */ or. r5, r3, r3 -/* 80290870 0028D7D0 41 82 00 14 */ beq lbl_80290884 -/* 80290874 0028D7D4 7F A3 EB 78 */ mr r3, r29 -/* 80290878 0028D7D8 7F C4 F3 78 */ mr r4, r30 -/* 8029087C 0028D7DC 4B F9 7F E9 */ bl sub_80228864 -/* 80290880 0028D7E0 48 00 00 14 */ b lbl_80290894 -lbl_80290884: -/* 80290884 0028D7E4 7F A3 EB 78 */ mr r3, r29 -/* 80290888 0028D7E8 7F C4 F3 78 */ mr r4, r30 -/* 8029088C 0028D7EC 7F E5 FB 78 */ mr r5, r31 -/* 80290890 0028D7F0 4B F9 BF 81 */ bl GetOrbitPosition__12CElitePirateCFRC13CStateManager -lbl_80290894: -/* 80290894 0028D7F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80290898 0028D7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029089C 0028D7FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802908A0 0028D800 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802908A4 0028D804 7C 08 03 A6 */ mtlr r0 -/* 802908A8 0028D808 38 21 00 20 */ addi r1, r1, 0x20 -/* 802908AC 0028D80C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12COmegaPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 802908B0 0028D810 94 21 FD A0 */ stwu r1, -0x260(r1) -/* 802908B4 0028D814 7C 08 02 A6 */ mflr r0 -/* 802908B8 0028D818 90 01 02 64 */ stw r0, 0x264(r1) -/* 802908BC 0028D81C BE 41 02 28 */ stmw r18, 0x228(r1) -/* 802908C0 0028D820 7C 95 23 78 */ mr r21, r4 -/* 802908C4 0028D824 28 15 00 2A */ cmplwi r21, 0x2a -/* 802908C8 0028D828 7C 7F 1B 78 */ mr r31, r3 -/* 802908CC 0028D82C 7C B4 2B 78 */ mr r20, r5 -/* 802908D0 0028D830 7C DE 33 78 */ mr r30, r6 -/* 802908D4 0028D834 41 81 0E 70 */ bgt lbl_80291744 -/* 802908D8 0028D838 3C A0 80 3F */ lis r5, lbl_803EB7BC@ha -/* 802908DC 0028D83C 56 A0 10 3A */ slwi r0, r21, 2 -/* 802908E0 0028D840 38 A5 B7 BC */ addi r5, r5, lbl_803EB7BC@l -/* 802908E4 0028D844 7C 05 00 2E */ lwzx r0, r5, r0 -/* 802908E8 0028D848 7C 09 03 A6 */ mtctr r0 -/* 802908EC 0028D84C 4E 80 04 20 */ bctr -/* 802908F0 0028D850 A0 14 00 00 */ lhz r0, 0(r20) -/* 802908F4 0028D854 38 A1 00 9C */ addi r5, r1, 0x9c -/* 802908F8 0028D858 B0 01 00 9C */ sth r0, 0x9c(r1) -/* 802908FC 0028D85C 4B F9 C2 D1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290900 0028D860 7F C4 F3 78 */ mr r4, r30 -/* 80290904 0028D864 38 61 00 98 */ addi r3, r1, 0x98 -/* 80290908 0028D868 4B DB C7 D5 */ bl AllocateUniqueId__13CStateManagerFv -/* 8029090C 0028D86C A0 01 00 98 */ lhz r0, 0x98(r1) -/* 80290910 0028D870 7F E3 FB 78 */ mr r3, r31 -/* 80290914 0028D874 7F C4 F3 78 */ mr r4, r30 -/* 80290918 0028D878 38 A1 00 94 */ addi r5, r1, 0x94 -/* 8029091C 0028D87C B0 1F 09 90 */ sth r0, 0x990(r31) -/* 80290920 0028D880 A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 80290924 0028D884 B0 01 00 94 */ sth r0, 0x94(r1) -/* 80290928 0028D888 4B F9 81 85 */ bl sub_80228aac -/* 8029092C 0028D88C 7F E3 FB 78 */ mr r3, r31 -/* 80290930 0028D890 7F C4 F3 78 */ mr r4, r30 -/* 80290934 0028D894 4B FF CB 2D */ bl sub_8028d460 -/* 80290938 0028D898 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8029093C 0028D89C 38 80 00 08 */ li r4, 8 -/* 80290940 0028D8A0 4B EA A0 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80290944 0028D8A4 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80290948 0028D8A8 38 60 00 00 */ li r3, 0 -/* 8029094C 0028D8AC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80290950 0028D8B0 38 7F 0A 4C */ addi r3, r31, 0xa4c -/* 80290954 0028D8B4 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80290958 0028D8B8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8029095C 0028D8BC 48 08 21 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80290960 0028D8C0 7F E3 FB 78 */ mr r3, r31 -/* 80290964 0028D8C4 7F C4 F3 78 */ mr r4, r30 -/* 80290968 0028D8C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8029096C 0028D8CC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80290970 0028D8D0 7D 89 03 A6 */ mtctr r12 -/* 80290974 0028D8D4 4E 80 04 21 */ bctrl -/* 80290978 0028D8D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029097C 0028D8DC 7F C3 F3 78 */ mr r3, r30 -/* 80290980 0028D8E0 38 81 00 90 */ addi r4, r1, 0x90 -/* 80290984 0028D8E4 D0 1F 0A 98 */ stfs f0, 0xa98(r31) -/* 80290988 0028D8E8 A0 1F 07 72 */ lhz r0, 0x772(r31) -/* 8029098C 0028D8EC B0 01 00 8C */ sth r0, 0x8c(r1) -/* 80290990 0028D8F0 B0 01 00 90 */ sth r0, 0x90(r1) -/* 80290994 0028D8F4 4B DB BB E1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290998 0028D8F8 A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 8029099C 0028D8FC 7C 72 1B 78 */ mr r18, r3 -/* 802909A0 0028D900 7F C3 F3 78 */ mr r3, r30 -/* 802909A4 0028D904 38 81 00 88 */ addi r4, r1, 0x88 -/* 802909A8 0028D908 B0 01 00 88 */ sth r0, 0x88(r1) -/* 802909AC 0028D90C 4B DB BB C9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802909B0 0028D910 28 12 00 00 */ cmplwi r18, 0 -/* 802909B4 0028D914 7C 73 1B 78 */ mr r19, r3 -/* 802909B8 0028D918 41 82 00 14 */ beq lbl_802909CC -/* 802909BC 0028D91C 7E 43 93 78 */ mr r3, r18 -/* 802909C0 0028D920 7F C5 F3 78 */ mr r5, r30 -/* 802909C4 0028D924 38 80 00 27 */ li r4, 0x27 -/* 802909C8 0028D928 4B DC 35 B9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_802909CC: -/* 802909CC 0028D92C 28 13 00 00 */ cmplwi r19, 0 -/* 802909D0 0028D930 41 82 00 14 */ beq lbl_802909E4 -/* 802909D4 0028D934 7E 63 9B 78 */ mr r3, r19 -/* 802909D8 0028D938 7F C5 F3 78 */ mr r5, r30 -/* 802909DC 0028D93C 38 80 00 27 */ li r4, 0x27 -/* 802909E0 0028D940 4B DC 35 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_802909E4: -/* 802909E4 0028D944 38 7F 04 60 */ addi r3, r31, 0x460 -/* 802909E8 0028D948 38 80 00 00 */ li r4, 0 -/* 802909EC 0028D94C 4B FA 33 79 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 802909F0 0028D950 7F E3 FB 78 */ mr r3, r31 -/* 802909F4 0028D954 4B F9 88 55 */ bl sub_80229248 -/* 802909F8 0028D958 48 00 0D 68 */ b lbl_80291760 -/* 802909FC 0028D95C A0 14 00 00 */ lhz r0, 0(r20) -/* 80290A00 0028D960 38 A1 00 84 */ addi r5, r1, 0x84 -/* 80290A04 0028D964 B0 01 00 84 */ sth r0, 0x84(r1) -/* 80290A08 0028D968 4B F9 C1 C5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290A0C 0028D96C 80 7F 0A 38 */ lwz r3, 0xa38(r31) -/* 80290A10 0028D970 7F C4 F3 78 */ mr r4, r30 -/* 80290A14 0028D974 38 A0 00 01 */ li r5, 1 -/* 80290A18 0028D978 4B F1 68 E1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80290A1C 0028D97C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) -/* 80290A20 0028D980 7F C4 F3 78 */ mr r4, r30 -/* 80290A24 0028D984 38 A0 00 01 */ li r5, 1 -/* 80290A28 0028D988 4B F1 68 D1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80290A2C 0028D98C 38 7F 04 60 */ addi r3, r31, 0x460 -/* 80290A30 0028D990 38 80 00 00 */ li r4, 0 -/* 80290A34 0028D994 4B FA 33 31 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 80290A38 0028D998 A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 80290A3C 0028D99C 7F C3 F3 78 */ mr r3, r30 -/* 80290A40 0028D9A0 38 81 00 80 */ addi r4, r1, 0x80 -/* 80290A44 0028D9A4 B0 01 00 80 */ sth r0, 0x80(r1) -/* 80290A48 0028D9A8 4B DB BB 2D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290A4C 0028D9AC 28 03 00 00 */ cmplwi r3, 0 -/* 80290A50 0028D9B0 41 82 0D 10 */ beq lbl_80291760 -/* 80290A54 0028D9B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80290A58 0028D9B8 38 80 00 01 */ li r4, 1 -/* 80290A5C 0028D9BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80290A60 0028D9C0 7D 89 03 A6 */ mtctr r12 -/* 80290A64 0028D9C4 4E 80 04 21 */ bctrl -/* 80290A68 0028D9C8 48 00 0C F8 */ b lbl_80291760 -/* 80290A6C 0028D9CC A0 14 00 00 */ lhz r0, 0(r20) -/* 80290A70 0028D9D0 38 A1 00 7C */ addi r5, r1, 0x7c -/* 80290A74 0028D9D4 B0 01 00 7C */ sth r0, 0x7c(r1) -/* 80290A78 0028D9D8 4B F9 C1 55 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290A7C 0028D9DC 80 7F 0A 38 */ lwz r3, 0xa38(r31) -/* 80290A80 0028D9E0 7F C4 F3 78 */ mr r4, r30 -/* 80290A84 0028D9E4 38 A0 00 00 */ li r5, 0 -/* 80290A88 0028D9E8 4B F1 68 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80290A8C 0028D9EC 80 7F 0A 9C */ lwz r3, 0xa9c(r31) -/* 80290A90 0028D9F0 7F C4 F3 78 */ mr r4, r30 -/* 80290A94 0028D9F4 38 A0 00 00 */ li r5, 0 -/* 80290A98 0028D9F8 4B F1 68 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb -/* 80290A9C 0028D9FC A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 80290AA0 0028DA00 7F C3 F3 78 */ mr r3, r30 -/* 80290AA4 0028DA04 38 81 00 78 */ addi r4, r1, 0x78 -/* 80290AA8 0028DA08 B0 01 00 78 */ sth r0, 0x78(r1) -/* 80290AAC 0028DA0C 4B DB BA C9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290AB0 0028DA10 28 03 00 00 */ cmplwi r3, 0 -/* 80290AB4 0028DA14 41 82 0C AC */ beq lbl_80291760 -/* 80290AB8 0028DA18 81 83 00 00 */ lwz r12, 0(r3) -/* 80290ABC 0028DA1C 38 80 00 00 */ li r4, 0 -/* 80290AC0 0028DA20 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80290AC4 0028DA24 7D 89 03 A6 */ mtctr r12 -/* 80290AC8 0028DA28 4E 80 04 21 */ bctrl -/* 80290ACC 0028DA2C 48 00 0C 94 */ b lbl_80291760 -/* 80290AD0 0028DA30 A0 14 00 00 */ lhz r0, 0(r20) -/* 80290AD4 0028DA34 38 A1 00 74 */ addi r5, r1, 0x74 -/* 80290AD8 0028DA38 B0 01 00 74 */ sth r0, 0x74(r1) -/* 80290ADC 0028DA3C 4B F9 C0 F1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290AE0 0028DA40 80 7F 0A 38 */ lwz r3, 0xa38(r31) -/* 80290AE4 0028DA44 7F C4 F3 78 */ mr r4, r30 -/* 80290AE8 0028DA48 4B F1 68 DD */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 80290AEC 0028DA4C 80 7F 0A 9C */ lwz r3, 0xa9c(r31) -/* 80290AF0 0028DA50 7F C4 F3 78 */ mr r4, r30 -/* 80290AF4 0028DA54 4B F1 68 D1 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager -/* 80290AF8 0028DA58 A0 1F 09 90 */ lhz r0, 0x990(r31) -/* 80290AFC 0028DA5C 7F C3 F3 78 */ mr r3, r30 -/* 80290B00 0028DA60 38 81 00 70 */ addi r4, r1, 0x70 -/* 80290B04 0028DA64 B0 01 00 70 */ sth r0, 0x70(r1) -/* 80290B08 0028DA68 4B DB B7 65 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80290B0C 0028DA6C 48 00 0C 54 */ b lbl_80291760 -/* 80290B10 0028DA70 A0 14 00 00 */ lhz r0, 0(r20) -/* 80290B14 0028DA74 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80290B18 0028DA78 B0 01 00 6C */ sth r0, 0x6c(r1) -/* 80290B1C 0028DA7C 4B F9 C0 B1 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290B20 0028DA80 48 00 0C 40 */ b lbl_80291760 -/* 80290B24 0028DA84 A0 14 00 00 */ lhz r0, 0(r20) -/* 80290B28 0028DA88 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80290B2C 0028DA8C B0 01 00 68 */ sth r0, 0x68(r1) -/* 80290B30 0028DA90 4B F9 C0 9D */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80290B34 0028DA94 83 1F 00 24 */ lwz r24, 0x24(r31) -/* 80290B38 0028DA98 3B 21 02 18 */ addi r25, r1, 0x218 -/* 80290B3C 0028DA9C 3B 41 02 04 */ addi r26, r1, 0x204 -/* 80290B40 0028DAA0 3B 61 01 D4 */ addi r27, r1, 0x1d4 -/* 80290B44 0028DAA4 3A E1 01 C0 */ addi r23, r1, 0x1c0 -/* 80290B48 0028DAA8 3B A0 00 00 */ li r29, 0 -/* 80290B4C 0028DAAC 3B 80 00 00 */ li r28, 0 -/* 80290B50 0028DAB0 48 00 06 80 */ b lbl_802911D0 -lbl_80290B54: -/* 80290B54 0028DAB4 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80290B58 0028DAB8 7F C4 F3 78 */ mr r4, r30 -/* 80290B5C 0028DABC 38 61 00 64 */ addi r3, r1, 0x64 -/* 80290B60 0028DAC0 38 A1 00 D0 */ addi r5, r1, 0xd0 -/* 80290B64 0028DAC4 7E 60 E2 14 */ add r19, r0, r28 -/* 80290B68 0028DAC8 80 13 00 08 */ lwz r0, 8(r19) -/* 80290B6C 0028DACC 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80290B70 0028DAD0 4B DB 73 AD */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80290B74 0028DAD4 80 13 00 00 */ lwz r0, 0(r19) -/* 80290B78 0028DAD8 A0 81 00 64 */ lhz r4, 0x64(r1) -/* 80290B7C 0028DADC 2C 00 00 0A */ cmpwi r0, 0xa -/* 80290B80 0028DAE0 B0 81 00 A8 */ sth r4, 0xa8(r1) -/* 80290B84 0028DAE4 40 82 06 44 */ bne lbl_802911C8 -/* 80290B88 0028DAE8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80290B8C 0028DAEC 54 83 04 3E */ clrlwi r3, r4, 0x10 -/* 80290B90 0028DAF0 7C 03 00 40 */ cmplw r3, r0 -/* 80290B94 0028DAF4 41 82 06 34 */ beq lbl_802911C8 -/* 80290B98 0028DAF8 80 13 00 04 */ lwz r0, 4(r19) -/* 80290B9C 0028DAFC 2C 00 00 01 */ cmpwi r0, 1 -/* 80290BA0 0028DB00 40 82 03 D0 */ bne lbl_80290F70 -/* 80290BA4 0028DB04 B0 81 00 60 */ sth r4, 0x60(r1) -/* 80290BA8 0028DB08 7F C3 F3 78 */ mr r3, r30 -/* 80290BAC 0028DB0C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80290BB0 0028DB10 4B DB B9 C5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290BB4 0028DB14 7C 64 1B 78 */ mr r4, r3 -/* 80290BB8 0028DB18 38 61 01 0C */ addi r3, r1, 0x10c -/* 80290BBC 0028DB1C 4B E1 92 21 */ bl "__ct__27TCastToPtr<13CScriptEffect>FP7CEntity" -/* 80290BC0 0028DB20 80 83 00 04 */ lwz r4, 4(r3) -/* 80290BC4 0028DB24 28 04 00 00 */ cmplwi r4, 0 -/* 80290BC8 0028DB28 41 82 00 88 */ beq lbl_80290C50 -/* 80290BCC 0028DB2C A0 01 00 A8 */ lhz r0, 0xa8(r1) -/* 80290BD0 0028DB30 7F 23 CB 78 */ mr r3, r25 -/* 80290BD4 0028DB34 38 84 00 10 */ addi r4, r4, 0x10 -/* 80290BD8 0028DB38 B0 01 02 14 */ sth r0, 0x214(r1) -/* 80290BDC 0028DB3C 48 0A D5 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80290BE0 0028DB40 80 1F 09 BC */ lwz r0, 0x9bc(r31) -/* 80290BE4 0028DB44 80 BF 09 C0 */ lwz r5, 0x9c0(r31) -/* 80290BE8 0028DB48 7C 00 28 00 */ cmpw r0, r5 -/* 80290BEC 0028DB4C 41 80 00 1C */ blt lbl_80290C08 -/* 80290BF0 0028DB50 2C 05 00 00 */ cmpwi r5, 0 -/* 80290BF4 0028DB54 38 7F 09 B8 */ addi r3, r31, 0x9b8 -/* 80290BF8 0028DB58 38 80 00 04 */ li r4, 4 -/* 80290BFC 0028DB5C 41 82 00 08 */ beq lbl_80290C04 -/* 80290C00 0028DB60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80290C04: -/* 80290C04 0028DB64 48 00 17 E5 */ bl sub_802923e8 -lbl_80290C08: -/* 80290C08 0028DB68 80 1F 09 BC */ lwz r0, 0x9bc(r31) -/* 80290C0C 0028DB6C 80 7F 09 C4 */ lwz r3, 0x9c4(r31) -/* 80290C10 0028DB70 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80290C14 0028DB74 7C A3 02 15 */ add. r5, r3, r0 -/* 80290C18 0028DB78 41 82 00 18 */ beq lbl_80290C30 -/* 80290C1C 0028DB7C A0 01 02 14 */ lhz r0, 0x214(r1) -/* 80290C20 0028DB80 7F 24 CB 78 */ mr r4, r25 -/* 80290C24 0028DB84 38 65 00 04 */ addi r3, r5, 4 -/* 80290C28 0028DB88 B0 05 00 00 */ sth r0, 0(r5) -/* 80290C2C 0028DB8C 48 0A D5 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_80290C30: -/* 80290C30 0028DB90 80 7F 09 BC */ lwz r3, 0x9bc(r31) -/* 80290C34 0028DB94 28 19 00 00 */ cmplwi r25, 0 -/* 80290C38 0028DB98 38 03 00 01 */ addi r0, r3, 1 -/* 80290C3C 0028DB9C 90 1F 09 BC */ stw r0, 0x9bc(r31) -/* 80290C40 0028DBA0 41 82 05 88 */ beq lbl_802911C8 -/* 80290C44 0028DBA4 7F 23 CB 78 */ mr r3, r25 -/* 80290C48 0028DBA8 48 0A CE 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80290C4C 0028DBAC 48 00 05 7C */ b lbl_802911C8 -lbl_80290C50: -/* 80290C50 0028DBB0 A0 01 00 A8 */ lhz r0, 0xa8(r1) -/* 80290C54 0028DBB4 7F C3 F3 78 */ mr r3, r30 -/* 80290C58 0028DBB8 38 81 00 5C */ addi r4, r1, 0x5c -/* 80290C5C 0028DBBC B0 01 00 5C */ sth r0, 0x5c(r1) -/* 80290C60 0028DBC0 4B DB B9 15 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290C64 0028DBC4 7C 64 1B 78 */ mr r4, r3 -/* 80290C68 0028DBC8 38 61 01 04 */ addi r3, r1, 0x104 -/* 80290C6C 0028DBCC 4B E1 81 A9 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 80290C70 0028DBD0 82 C3 00 04 */ lwz r22, 4(r3) -/* 80290C74 0028DBD4 28 16 00 00 */ cmplwi r22, 0 -/* 80290C78 0028DBD8 41 82 02 48 */ beq lbl_80290EC0 -/* 80290C7C 0028DBDC A0 01 00 A8 */ lhz r0, 0xa8(r1) -/* 80290C80 0028DBE0 7F 43 D3 78 */ mr r3, r26 -/* 80290C84 0028DBE4 38 96 00 10 */ addi r4, r22, 0x10 -/* 80290C88 0028DBE8 B0 01 02 00 */ sth r0, 0x200(r1) -/* 80290C8C 0028DBEC 48 0A D4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80290C90 0028DBF0 80 1F 09 E0 */ lwz r0, 0x9e0(r31) -/* 80290C94 0028DBF4 80 BF 09 E4 */ lwz r5, 0x9e4(r31) -/* 80290C98 0028DBF8 7C 00 28 00 */ cmpw r0, r5 -/* 80290C9C 0028DBFC 41 80 00 1C */ blt lbl_80290CB8 -/* 80290CA0 0028DC00 2C 05 00 00 */ cmpwi r5, 0 -/* 80290CA4 0028DC04 38 7F 09 DC */ addi r3, r31, 0x9dc -/* 80290CA8 0028DC08 38 80 00 04 */ li r4, 4 -/* 80290CAC 0028DC0C 41 82 00 08 */ beq lbl_80290CB4 -/* 80290CB0 0028DC10 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80290CB4: -/* 80290CB4 0028DC14 48 00 17 35 */ bl sub_802923e8 -lbl_80290CB8: -/* 80290CB8 0028DC18 80 1F 09 E0 */ lwz r0, 0x9e0(r31) -/* 80290CBC 0028DC1C 80 7F 09 E8 */ lwz r3, 0x9e8(r31) -/* 80290CC0 0028DC20 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80290CC4 0028DC24 7C A3 02 15 */ add. r5, r3, r0 -/* 80290CC8 0028DC28 41 82 00 18 */ beq lbl_80290CE0 -/* 80290CCC 0028DC2C A0 01 02 00 */ lhz r0, 0x200(r1) -/* 80290CD0 0028DC30 7F 44 D3 78 */ mr r4, r26 -/* 80290CD4 0028DC34 38 65 00 04 */ addi r3, r5, 4 -/* 80290CD8 0028DC38 B0 05 00 00 */ sth r0, 0(r5) -/* 80290CDC 0028DC3C 48 0A D4 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_80290CE0: -/* 80290CE0 0028DC40 80 7F 09 E0 */ lwz r3, 0x9e0(r31) -/* 80290CE4 0028DC44 28 1A 00 00 */ cmplwi r26, 0 -/* 80290CE8 0028DC48 38 03 00 01 */ addi r0, r3, 1 -/* 80290CEC 0028DC4C 90 1F 09 E0 */ stw r0, 0x9e0(r31) -/* 80290CF0 0028DC50 41 82 00 0C */ beq lbl_80290CFC -/* 80290CF4 0028DC54 7F 43 D3 78 */ mr r3, r26 -/* 80290CF8 0028DC58 48 0A CD E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80290CFC: -/* 80290CFC 0028DC5C 7E C3 B3 78 */ mr r3, r22 -/* 80290D00 0028DC60 7F C5 F3 78 */ mr r5, r30 -/* 80290D04 0028DC64 38 80 00 28 */ li r4, 0x28 -/* 80290D08 0028DC68 4B DC 36 49 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290D0C 0028DC6C 7E C3 B3 78 */ mr r3, r22 -/* 80290D10 0028DC70 7F C5 F3 78 */ mr r5, r30 -/* 80290D14 0028DC74 38 80 00 29 */ li r4, 0x29 -/* 80290D18 0028DC78 4B DC 36 39 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290D1C 0028DC7C 7E C3 B3 78 */ mr r3, r22 -/* 80290D20 0028DC80 7F C5 F3 78 */ mr r5, r30 -/* 80290D24 0028DC84 38 80 00 21 */ li r4, 0x21 -/* 80290D28 0028DC88 4B DC 36 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290D2C 0028DC8C 7E C3 B3 78 */ mr r3, r22 -/* 80290D30 0028DC90 7F C5 F3 78 */ mr r5, r30 -/* 80290D34 0028DC94 38 80 00 27 */ li r4, 0x27 -/* 80290D38 0028DC98 4B DC 32 49 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80290D3C 0028DC9C 7E C3 B3 78 */ mr r3, r22 -/* 80290D40 0028DCA0 4B DC 2B 7D */ bl GetMaterialFilter__6CActorCFv -/* 80290D44 0028DCA4 80 AD 99 8C */ lwz r5, lbl_805A854C@sda21(r13) -/* 80290D48 0028DCA8 38 80 00 01 */ li r4, 1 -/* 80290D4C 0028DCAC 82 A3 00 08 */ lwz r21, 8(r3) -/* 80290D50 0028DCB0 82 83 00 0C */ lwz r20, 0xc(r3) -/* 80290D54 0028DCB4 38 60 00 00 */ li r3, 0 -/* 80290D58 0028DCB8 48 0F 91 9D */ bl __shl2i -/* 80290D5C 0028DCBC 80 AD 99 90 */ lwz r5, lbl_805A8550@sda21(r13) -/* 80290D60 0028DCC0 7C 93 23 78 */ mr r19, r4 -/* 80290D64 0028DCC4 7C 72 1B 78 */ mr r18, r3 -/* 80290D68 0028DCC8 38 60 00 00 */ li r3, 0 -/* 80290D6C 0028DCCC 38 80 00 01 */ li r4, 1 -/* 80290D70 0028DCD0 48 0F 91 85 */ bl __shl2i -/* 80290D74 0028DCD4 80 AD 99 94 */ lwz r5, lbl_805A8554@sda21(r13) -/* 80290D78 0028DCD8 7E 73 23 78 */ or r19, r19, r4 -/* 80290D7C 0028DCDC 7E 52 1B 78 */ or r18, r18, r3 -/* 80290D80 0028DCE0 38 60 00 00 */ li r3, 0 -/* 80290D84 0028DCE4 38 80 00 01 */ li r4, 1 -/* 80290D88 0028DCE8 48 0F 91 6D */ bl __shl2i -/* 80290D8C 0028DCEC 7E 52 1B 78 */ or r18, r18, r3 -/* 80290D90 0028DCF0 7E 73 23 78 */ or r19, r19, r4 -/* 80290D94 0028DCF4 7F E3 FB 78 */ mr r3, r31 -/* 80290D98 0028DCF8 7E 94 9B 78 */ or r20, r20, r19 -/* 80290D9C 0028DCFC 7E B5 93 78 */ or r21, r21, r18 -/* 80290DA0 0028DD00 4B DC 2B 1D */ bl GetMaterialFilter__6CActorCFv -/* 80290DA4 0028DD04 80 A3 00 00 */ lwz r5, 0(r3) -/* 80290DA8 0028DD08 38 00 00 03 */ li r0, 3 -/* 80290DAC 0028DD0C 80 C3 00 04 */ lwz r6, 4(r3) -/* 80290DB0 0028DD10 7E C3 B3 78 */ mr r3, r22 -/* 80290DB4 0028DD14 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 80290DB8 0028DD18 90 C1 01 EC */ stw r6, 0x1ec(r1) -/* 80290DBC 0028DD1C 90 A1 01 E8 */ stw r5, 0x1e8(r1) -/* 80290DC0 0028DD20 92 81 01 F4 */ stw r20, 0x1f4(r1) -/* 80290DC4 0028DD24 92 A1 01 F0 */ stw r21, 0x1f0(r1) -/* 80290DC8 0028DD28 90 01 01 F8 */ stw r0, 0x1f8(r1) -/* 80290DCC 0028DD2C 4B DC 2A D5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80290DD0 0028DD30 7E C3 B3 78 */ mr r3, r22 -/* 80290DD4 0028DD34 81 96 00 00 */ lwz r12, 0(r22) -/* 80290DD8 0028DD38 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80290DDC 0028DD3C 7D 89 03 A6 */ mtctr r12 -/* 80290DE0 0028DD40 4E 80 04 21 */ bctrl -/* 80290DE4 0028DD44 80 83 00 00 */ lwz r4, 0(r3) -/* 80290DE8 0028DD48 80 03 00 04 */ lwz r0, 4(r3) -/* 80290DEC 0028DD4C 90 9F 0A E4 */ stw r4, 0xae4(r31) -/* 80290DF0 0028DD50 90 1F 0A E8 */ stw r0, 0xae8(r31) -/* 80290DF4 0028DD54 80 83 00 08 */ lwz r4, 8(r3) -/* 80290DF8 0028DD58 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80290DFC 0028DD5C 90 9F 0A EC */ stw r4, 0xaec(r31) -/* 80290E00 0028DD60 90 1F 0A F0 */ stw r0, 0xaf0(r31) -/* 80290E04 0028DD64 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80290E08 0028DD68 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80290E0C 0028DD6C 90 9F 0A F4 */ stw r4, 0xaf4(r31) -/* 80290E10 0028DD70 90 1F 0A F8 */ stw r0, 0xaf8(r31) -/* 80290E14 0028DD74 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80290E18 0028DD78 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80290E1C 0028DD7C 90 9F 0A FC */ stw r4, 0xafc(r31) -/* 80290E20 0028DD80 90 1F 0B 00 */ stw r0, 0xb00(r31) -/* 80290E24 0028DD84 80 83 00 20 */ lwz r4, 0x20(r3) -/* 80290E28 0028DD88 80 03 00 24 */ lwz r0, 0x24(r3) -/* 80290E2C 0028DD8C 90 9F 0B 04 */ stw r4, 0xb04(r31) -/* 80290E30 0028DD90 90 1F 0B 08 */ stw r0, 0xb08(r31) -/* 80290E34 0028DD94 80 83 00 28 */ lwz r4, 0x28(r3) -/* 80290E38 0028DD98 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80290E3C 0028DD9C 90 9F 0B 0C */ stw r4, 0xb0c(r31) -/* 80290E40 0028DDA0 90 1F 0B 10 */ stw r0, 0xb10(r31) -/* 80290E44 0028DDA4 80 83 00 30 */ lwz r4, 0x30(r3) -/* 80290E48 0028DDA8 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80290E4C 0028DDAC 90 9F 0B 14 */ stw r4, 0xb14(r31) -/* 80290E50 0028DDB0 90 1F 0B 18 */ stw r0, 0xb18(r31) -/* 80290E54 0028DDB4 80 03 00 38 */ lwz r0, 0x38(r3) -/* 80290E58 0028DDB8 90 1F 0B 1C */ stw r0, 0xb1c(r31) -/* 80290E5C 0028DDBC 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 80290E60 0028DDC0 80 03 00 40 */ lwz r0, 0x40(r3) -/* 80290E64 0028DDC4 90 9F 0B 20 */ stw r4, 0xb20(r31) -/* 80290E68 0028DDC8 90 1F 0B 24 */ stw r0, 0xb24(r31) -/* 80290E6C 0028DDCC 80 83 00 44 */ lwz r4, 0x44(r3) -/* 80290E70 0028DDD0 80 03 00 48 */ lwz r0, 0x48(r3) -/* 80290E74 0028DDD4 90 9F 0B 28 */ stw r4, 0xb28(r31) -/* 80290E78 0028DDD8 90 1F 0B 2C */ stw r0, 0xb2c(r31) -/* 80290E7C 0028DDDC 80 83 00 4C */ lwz r4, 0x4c(r3) -/* 80290E80 0028DDE0 80 03 00 50 */ lwz r0, 0x50(r3) -/* 80290E84 0028DDE4 90 9F 0B 30 */ stw r4, 0xb30(r31) -/* 80290E88 0028DDE8 90 1F 0B 34 */ stw r0, 0xb34(r31) -/* 80290E8C 0028DDEC 80 83 00 54 */ lwz r4, 0x54(r3) -/* 80290E90 0028DDF0 80 03 00 58 */ lwz r0, 0x58(r3) -/* 80290E94 0028DDF4 90 9F 0B 38 */ stw r4, 0xb38(r31) -/* 80290E98 0028DDF8 90 1F 0B 3C */ stw r0, 0xb3c(r31) -/* 80290E9C 0028DDFC 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80290EA0 0028DE00 90 1F 0B 40 */ stw r0, 0xb40(r31) -/* 80290EA4 0028DE04 80 03 00 60 */ lwz r0, 0x60(r3) -/* 80290EA8 0028DE08 90 1F 0B 44 */ stw r0, 0xb44(r31) -/* 80290EAC 0028DE0C 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80290EB0 0028DE10 90 1F 0B 48 */ stw r0, 0xb48(r31) -/* 80290EB4 0028DE14 80 16 00 B8 */ lwz r0, 0xb8(r22) -/* 80290EB8 0028DE18 90 1F 0B 54 */ stw r0, 0xb54(r31) -/* 80290EBC 0028DE1C 48 00 03 0C */ b lbl_802911C8 -lbl_80290EC0: -/* 80290EC0 0028DE20 A0 01 00 A8 */ lhz r0, 0xa8(r1) -/* 80290EC4 0028DE24 7F C3 F3 78 */ mr r3, r30 -/* 80290EC8 0028DE28 38 81 00 58 */ addi r4, r1, 0x58 -/* 80290ECC 0028DE2C B0 01 00 58 */ sth r0, 0x58(r1) -/* 80290ED0 0028DE30 4B DB B6 A5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290ED4 0028DE34 7C 64 1B 78 */ mr r4, r3 -/* 80290ED8 0028DE38 38 61 00 FC */ addi r3, r1, 0xfc -/* 80290EDC 0028DE3C 4B E1 75 FD */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity" -/* 80290EE0 0028DE40 80 83 00 04 */ lwz r4, 4(r3) -/* 80290EE4 0028DE44 28 04 00 00 */ cmplwi r4, 0 -/* 80290EE8 0028DE48 41 82 02 E0 */ beq lbl_802911C8 -/* 80290EEC 0028DE4C A0 01 00 A8 */ lhz r0, 0xa8(r1) -/* 80290EF0 0028DE50 7F 63 DB 78 */ mr r3, r27 -/* 80290EF4 0028DE54 38 84 00 10 */ addi r4, r4, 0x10 -/* 80290EF8 0028DE58 B0 01 01 D0 */ sth r0, 0x1d0(r1) -/* 80290EFC 0028DE5C 48 0A D2 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80290F00 0028DE60 80 1F 0A A4 */ lwz r0, 0xaa4(r31) -/* 80290F04 0028DE64 80 BF 0A A8 */ lwz r5, 0xaa8(r31) -/* 80290F08 0028DE68 7C 00 28 00 */ cmpw r0, r5 -/* 80290F0C 0028DE6C 41 80 00 1C */ blt lbl_80290F28 -/* 80290F10 0028DE70 2C 05 00 00 */ cmpwi r5, 0 -/* 80290F14 0028DE74 38 7F 0A A0 */ addi r3, r31, 0xaa0 -/* 80290F18 0028DE78 38 80 00 04 */ li r4, 4 -/* 80290F1C 0028DE7C 41 82 00 08 */ beq lbl_80290F24 -/* 80290F20 0028DE80 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80290F24: -/* 80290F24 0028DE84 48 00 14 C5 */ bl sub_802923e8 -lbl_80290F28: -/* 80290F28 0028DE88 80 1F 0A A4 */ lwz r0, 0xaa4(r31) -/* 80290F2C 0028DE8C 80 7F 0A AC */ lwz r3, 0xaac(r31) -/* 80290F30 0028DE90 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80290F34 0028DE94 7C A3 02 15 */ add. r5, r3, r0 -/* 80290F38 0028DE98 41 82 00 18 */ beq lbl_80290F50 -/* 80290F3C 0028DE9C A0 01 01 D0 */ lhz r0, 0x1d0(r1) -/* 80290F40 0028DEA0 7F 64 DB 78 */ mr r4, r27 -/* 80290F44 0028DEA4 38 65 00 04 */ addi r3, r5, 4 -/* 80290F48 0028DEA8 B0 05 00 00 */ sth r0, 0(r5) -/* 80290F4C 0028DEAC 48 0A D2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_80290F50: -/* 80290F50 0028DEB0 80 7F 0A A4 */ lwz r3, 0xaa4(r31) -/* 80290F54 0028DEB4 28 1B 00 00 */ cmplwi r27, 0 -/* 80290F58 0028DEB8 38 03 00 01 */ addi r0, r3, 1 -/* 80290F5C 0028DEBC 90 1F 0A A4 */ stw r0, 0xaa4(r31) -/* 80290F60 0028DEC0 41 82 02 68 */ beq lbl_802911C8 -/* 80290F64 0028DEC4 7F 63 DB 78 */ mr r3, r27 -/* 80290F68 0028DEC8 48 0A CB 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80290F6C 0028DECC 48 00 02 5C */ b lbl_802911C8 -lbl_80290F70: -/* 80290F70 0028DED0 2C 00 00 06 */ cmpwi r0, 6 -/* 80290F74 0028DED4 40 82 02 54 */ bne lbl_802911C8 -/* 80290F78 0028DED8 B0 81 00 54 */ sth r4, 0x54(r1) -/* 80290F7C 0028DEDC 7F C3 F3 78 */ mr r3, r30 -/* 80290F80 0028DEE0 38 81 00 54 */ addi r4, r1, 0x54 -/* 80290F84 0028DEE4 4B DB B5 F1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80290F88 0028DEE8 7C 64 1B 78 */ mr r4, r3 -/* 80290F8C 0028DEEC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 80290F90 0028DEF0 4B E1 55 BD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80290F94 0028DEF4 82 C3 00 04 */ lwz r22, 4(r3) -/* 80290F98 0028DEF8 28 16 00 00 */ cmplwi r22, 0 -/* 80290F9C 0028DEFC 41 82 02 2C */ beq lbl_802911C8 -/* 80290FA0 0028DF00 82 96 00 24 */ lwz r20, 0x24(r22) -/* 80290FA4 0028DF04 38 00 00 00 */ li r0, 0 -/* 80290FA8 0028DF08 38 61 01 14 */ addi r3, r1, 0x114 -/* 80290FAC 0028DF0C 38 80 00 03 */ li r4, 3 -/* 80290FB0 0028DF10 90 01 01 18 */ stw r0, 0x118(r1) -/* 80290FB4 0028DF14 90 01 01 1C */ stw r0, 0x11c(r1) -/* 80290FB8 0028DF18 90 01 01 20 */ stw r0, 0x120(r1) -/* 80290FBC 0028DF1C 4B D7 B4 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -/* 80290FC0 0028DF20 3A A0 00 00 */ li r21, 0 -/* 80290FC4 0028DF24 3A 60 00 00 */ li r19, 0 -/* 80290FC8 0028DF28 48 00 00 CC */ b lbl_80291094 -lbl_80290FCC: -/* 80290FCC 0028DF2C 80 B6 00 2C */ lwz r5, 0x2c(r22) -/* 80290FD0 0028DF30 38 13 00 08 */ addi r0, r19, 8 -/* 80290FD4 0028DF34 7F C4 F3 78 */ mr r4, r30 -/* 80290FD8 0028DF38 38 61 00 50 */ addi r3, r1, 0x50 -/* 80290FDC 0028DF3C 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80290FE0 0028DF40 38 A1 00 CC */ addi r5, r1, 0xcc -/* 80290FE4 0028DF44 90 01 00 CC */ stw r0, 0xcc(r1) -/* 80290FE8 0028DF48 4B DB 6F 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80290FEC 0028DF4C A0 01 00 50 */ lhz r0, 0x50(r1) -/* 80290FF0 0028DF50 7F C3 F3 78 */ mr r3, r30 -/* 80290FF4 0028DF54 38 81 00 4C */ addi r4, r1, 0x4c -/* 80290FF8 0028DF58 B0 01 00 A4 */ sth r0, 0xa4(r1) -/* 80290FFC 0028DF5C B0 01 00 4C */ sth r0, 0x4c(r1) -/* 80291000 0028DF60 4B DB B5 75 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80291004 0028DF64 7C 64 1B 78 */ mr r4, r3 -/* 80291008 0028DF68 38 61 00 EC */ addi r3, r1, 0xec -/* 8029100C 0028DF6C 4B E1 7E 09 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 80291010 0028DF70 82 43 00 04 */ lwz r18, 4(r3) -/* 80291014 0028DF74 28 12 00 00 */ cmplwi r18, 0 -/* 80291018 0028DF78 41 82 00 74 */ beq lbl_8029108C -/* 8029101C 0028DF7C 7E 43 93 78 */ mr r3, r18 -/* 80291020 0028DF80 7F C5 F3 78 */ mr r5, r30 -/* 80291024 0028DF84 38 80 00 28 */ li r4, 0x28 -/* 80291028 0028DF88 4B DC 33 29 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8029102C 0028DF8C 7E 43 93 78 */ mr r3, r18 -/* 80291030 0028DF90 7F C5 F3 78 */ mr r5, r30 -/* 80291034 0028DF94 38 80 00 29 */ li r4, 0x29 -/* 80291038 0028DF98 4B DC 33 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8029103C 0028DF9C 80 01 01 18 */ lwz r0, 0x118(r1) -/* 80291040 0028DFA0 80 A1 01 1C */ lwz r5, 0x11c(r1) -/* 80291044 0028DFA4 7C 00 28 00 */ cmpw r0, r5 -/* 80291048 0028DFA8 41 80 00 1C */ blt lbl_80291064 -/* 8029104C 0028DFAC 2C 05 00 00 */ cmpwi r5, 0 -/* 80291050 0028DFB0 38 61 01 14 */ addi r3, r1, 0x114 -/* 80291054 0028DFB4 38 80 00 04 */ li r4, 4 -/* 80291058 0028DFB8 41 82 00 08 */ beq lbl_80291060 -/* 8029105C 0028DFBC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80291060: -/* 80291060 0028DFC0 4B D7 B3 A9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80291064: -/* 80291064 0028DFC4 80 01 01 18 */ lwz r0, 0x118(r1) -/* 80291068 0028DFC8 80 61 01 20 */ lwz r3, 0x120(r1) -/* 8029106C 0028DFCC 54 00 08 3C */ slwi r0, r0, 1 -/* 80291070 0028DFD0 7C 63 02 15 */ add. r3, r3, r0 -/* 80291074 0028DFD4 41 82 00 0C */ beq lbl_80291080 -/* 80291078 0028DFD8 A0 01 00 A4 */ lhz r0, 0xa4(r1) -/* 8029107C 0028DFDC B0 03 00 00 */ sth r0, 0(r3) -lbl_80291080: -/* 80291080 0028DFE0 80 61 01 18 */ lwz r3, 0x118(r1) -/* 80291084 0028DFE4 38 03 00 01 */ addi r0, r3, 1 -/* 80291088 0028DFE8 90 01 01 18 */ stw r0, 0x118(r1) -lbl_8029108C: -/* 8029108C 0028DFEC 3A B5 00 01 */ addi r21, r21, 1 -/* 80291090 0028DFF0 3A 73 00 0C */ addi r19, r19, 0xc -lbl_80291094: -/* 80291094 0028DFF4 7C 15 A0 40 */ cmplw r21, r20 -/* 80291098 0028DFF8 41 80 FF 34 */ blt lbl_80290FCC -/* 8029109C 0028DFFC 80 61 01 18 */ lwz r3, 0x118(r1) -/* 802910A0 0028E000 A0 81 00 A8 */ lhz r4, 0xa8(r1) -/* 802910A4 0028E004 80 01 01 1C */ lwz r0, 0x11c(r1) -/* 802910A8 0028E008 2C 03 00 00 */ cmpwi r3, 0 -/* 802910AC 0028E00C B0 81 01 BC */ sth r4, 0x1bc(r1) -/* 802910B0 0028E010 90 61 01 C4 */ stw r3, 0x1c4(r1) -/* 802910B4 0028E014 90 01 01 C8 */ stw r0, 0x1c8(r1) -/* 802910B8 0028E018 40 82 00 18 */ bne lbl_802910D0 -/* 802910BC 0028E01C 2C 00 00 00 */ cmpwi r0, 0 -/* 802910C0 0028E020 40 82 00 10 */ bne lbl_802910D0 -/* 802910C4 0028E024 38 00 00 00 */ li r0, 0 -/* 802910C8 0028E028 90 01 01 CC */ stw r0, 0x1cc(r1) -/* 802910CC 0028E02C 48 00 00 68 */ b lbl_80291134 -lbl_802910D0: -/* 802910D0 0028E030 80 01 01 C8 */ lwz r0, 0x1c8(r1) -/* 802910D4 0028E034 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e -/* 802910D8 0028E038 40 82 00 10 */ bne lbl_802910E8 -/* 802910DC 0028E03C 38 00 00 00 */ li r0, 0 -/* 802910E0 0028E040 90 01 01 CC */ stw r0, 0x1cc(r1) -/* 802910E4 0028E044 48 00 00 1C */ b lbl_80291100 -lbl_802910E8: -/* 802910E8 0028E048 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 802910EC 0028E04C 38 A0 00 00 */ li r5, 0 -/* 802910F0 0028E050 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 802910F4 0028E054 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 802910F8 0028E058 48 08 47 21 */ bl __nwa__FUlPCcPCc -/* 802910FC 0028E05C 90 61 01 CC */ stw r3, 0x1cc(r1) -lbl_80291100: -/* 80291100 0028E060 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 80291104 0028E064 80 81 01 20 */ lwz r4, 0x120(r1) -/* 80291108 0028E068 80 61 01 CC */ lwz r3, 0x1cc(r1) -/* 8029110C 0028E06C 7C 09 03 A6 */ mtctr r0 -/* 80291110 0028E070 2C 00 00 00 */ cmpwi r0, 0 -/* 80291114 0028E074 40 81 00 20 */ ble lbl_80291134 -lbl_80291118: -/* 80291118 0028E078 28 03 00 00 */ cmplwi r3, 0 -/* 8029111C 0028E07C 41 82 00 0C */ beq lbl_80291128 -/* 80291120 0028E080 A0 04 00 00 */ lhz r0, 0(r4) -/* 80291124 0028E084 B0 03 00 00 */ sth r0, 0(r3) -lbl_80291128: -/* 80291128 0028E088 38 63 00 02 */ addi r3, r3, 2 -/* 8029112C 0028E08C 38 84 00 02 */ addi r4, r4, 2 -/* 80291130 0028E090 42 00 FF E8 */ bdnz lbl_80291118 -lbl_80291134: -/* 80291134 0028E094 38 7F 09 A4 */ addi r3, r31, 0x9a4 -/* 80291138 0028E098 38 81 01 BC */ addi r4, r1, 0x1bc -/* 8029113C 0028E09C 48 00 06 39 */ bl sub_80291774 -/* 80291140 0028E0A0 28 17 00 00 */ cmplwi r23, 0 -/* 80291144 0028E0A4 41 82 00 44 */ beq lbl_80291188 -/* 80291148 0028E0A8 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 8029114C 0028E0AC 80 61 01 CC */ lwz r3, 0x1cc(r1) -/* 80291150 0028E0B0 54 00 08 3C */ slwi r0, r0, 1 -/* 80291154 0028E0B4 7C 03 02 14 */ add r0, r3, r0 -/* 80291158 0028E0B8 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8029115C 0028E0BC 7C 64 1B 78 */ mr r4, r3 -/* 80291160 0028E0C0 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80291164 0028E0C4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80291168 0028E0C8 90 61 00 AC */ stw r3, 0xac(r1) -/* 8029116C 0028E0CC 48 00 00 08 */ b lbl_80291174 -lbl_80291170: -/* 80291170 0028E0D0 38 84 00 02 */ addi r4, r4, 2 -lbl_80291174: -/* 80291174 0028E0D4 7C 04 00 40 */ cmplw r4, r0 -/* 80291178 0028E0D8 40 82 FF F8 */ bne lbl_80291170 -/* 8029117C 0028E0DC 28 03 00 00 */ cmplwi r3, 0 -/* 80291180 0028E0E0 41 82 00 08 */ beq lbl_80291188 -/* 80291184 0028E0E4 48 08 47 AD */ bl Free__7CMemoryFPCv -lbl_80291188: -/* 80291188 0028E0E8 80 01 01 18 */ lwz r0, 0x118(r1) -/* 8029118C 0028E0EC 80 61 01 20 */ lwz r3, 0x120(r1) -/* 80291190 0028E0F0 54 00 08 3C */ slwi r0, r0, 1 -/* 80291194 0028E0F4 7C 03 02 14 */ add r0, r3, r0 -/* 80291198 0028E0F8 90 61 00 C0 */ stw r3, 0xc0(r1) -/* 8029119C 0028E0FC 7C 64 1B 78 */ mr r4, r3 -/* 802911A0 0028E100 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 802911A4 0028E104 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802911A8 0028E108 90 61 00 BC */ stw r3, 0xbc(r1) -/* 802911AC 0028E10C 48 00 00 08 */ b lbl_802911B4 -lbl_802911B0: -/* 802911B0 0028E110 38 84 00 02 */ addi r4, r4, 2 -lbl_802911B4: -/* 802911B4 0028E114 7C 04 00 40 */ cmplw r4, r0 -/* 802911B8 0028E118 40 82 FF F8 */ bne lbl_802911B0 -/* 802911BC 0028E11C 28 03 00 00 */ cmplwi r3, 0 -/* 802911C0 0028E120 41 82 00 08 */ beq lbl_802911C8 -/* 802911C4 0028E124 48 08 47 6D */ bl Free__7CMemoryFPCv -lbl_802911C8: -/* 802911C8 0028E128 3B BD 00 01 */ addi r29, r29, 1 -/* 802911CC 0028E12C 3B 9C 00 0C */ addi r28, r28, 0xc -lbl_802911D0: -/* 802911D0 0028E130 7C 1D C0 40 */ cmplw r29, r24 -/* 802911D4 0028E134 41 80 F9 80 */ blt lbl_80290B54 -/* 802911D8 0028E138 48 00 05 88 */ b lbl_80291760 -/* 802911DC 0028E13C A0 14 00 00 */ lhz r0, 0(r20) -/* 802911E0 0028E140 38 A1 00 48 */ addi r5, r1, 0x48 -/* 802911E4 0028E144 B0 01 00 48 */ sth r0, 0x48(r1) -/* 802911E8 0028E148 4B F9 B9 E5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 802911EC 0028E14C A0 14 00 00 */ lhz r0, 0(r20) -/* 802911F0 0028E150 A0 7F 09 90 */ lhz r3, 0x990(r31) -/* 802911F4 0028E154 7C 00 18 40 */ cmplw r0, r3 -/* 802911F8 0028E158 40 82 00 20 */ bne lbl_80291218 -/* 802911FC 0028E15C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80291200 0028E160 7C 03 00 40 */ cmplw r3, r0 -/* 80291204 0028E164 41 82 00 14 */ beq lbl_80291218 -/* 80291208 0028E168 7F E3 FB 78 */ mr r3, r31 -/* 8029120C 0028E16C 7F C5 F3 78 */ mr r5, r30 -/* 80291210 0028E170 38 80 00 01 */ li r4, 1 -/* 80291214 0028E174 4B F9 63 89 */ bl sub_8022759c -lbl_80291218: -/* 80291218 0028E178 A0 14 00 00 */ lhz r0, 0(r20) -/* 8029121C 0028E17C 7F C3 F3 78 */ mr r3, r30 -/* 80291220 0028E180 38 81 00 44 */ addi r4, r1, 0x44 -/* 80291224 0028E184 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80291228 0028E188 4B DB B3 4D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8029122C 0028E18C 7C 60 1B 78 */ mr r0, r3 -/* 80291230 0028E190 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 80291234 0028E194 7C 04 03 78 */ mr r4, r0 -/* 80291238 0028E198 4B E1 E1 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" -/* 8029123C 0028E19C 80 83 00 04 */ lwz r4, 4(r3) -/* 80291240 0028E1A0 28 04 00 00 */ cmplwi r4, 0 -/* 80291244 0028E1A4 41 82 05 1C */ beq lbl_80291760 -/* 80291248 0028E1A8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8029124C 0028E1AC 4B F1 79 41 */ bl GetLastTouchedObject__15CCollisionActorCFv -/* 80291250 0028E1B0 A0 01 00 40 */ lhz r0, 0x40(r1) -/* 80291254 0028E1B4 7F C3 F3 78 */ mr r3, r30 -/* 80291258 0028E1B8 38 81 00 3C */ addi r4, r1, 0x3c -/* 8029125C 0028E1BC B0 01 00 A0 */ sth r0, 0xa0(r1) -/* 80291260 0028E1C0 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 80291264 0028E1C4 4B DB B3 11 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80291268 0028E1C8 7C 60 1B 78 */ mr r0, r3 -/* 8029126C 0028E1CC 38 61 00 DC */ addi r3, r1, 0xdc -/* 80291270 0028E1D0 7C 04 03 78 */ mr r4, r0 -/* 80291274 0028E1D4 4B E1 B1 21 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" -/* 80291278 0028E1D8 82 43 00 04 */ lwz r18, 4(r3) -/* 8029127C 0028E1DC 28 12 00 00 */ cmplwi r18, 0 -/* 80291280 0028E1E0 41 82 04 E0 */ beq lbl_80291760 -/* 80291284 0028E1E4 C0 3F 04 20 */ lfs f1, 0x420(r31) -/* 80291288 0028E1E8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 8029128C 0028E1EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80291290 0028E1F0 4C 40 13 82 */ cror 2, 0, 2 -/* 80291294 0028E1F4 40 82 04 CC */ bne lbl_80291760 -/* 80291298 0028E1F8 80 AD 99 98 */ lwz r5, lbl_805A8558@sda21(r13) -/* 8029129C 0028E1FC 38 60 00 00 */ li r3, 0 -/* 802912A0 0028E200 38 80 00 01 */ li r4, 1 -/* 802912A4 0028E204 48 0F 8C 51 */ bl __shl2i -/* 802912A8 0028E208 38 A0 00 00 */ li r5, 0 -/* 802912AC 0028E20C 38 00 00 03 */ li r0, 3 -/* 802912B0 0028E210 90 81 01 8C */ stw r4, 0x18c(r1) -/* 802912B4 0028E214 7F E4 FB 78 */ mr r4, r31 -/* 802912B8 0028E218 90 61 01 88 */ stw r3, 0x188(r1) -/* 802912BC 0028E21C 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 802912C0 0028E220 90 A1 01 94 */ stw r5, 0x194(r1) -/* 802912C4 0028E224 90 A1 01 90 */ stw r5, 0x190(r1) -/* 802912C8 0028E228 90 01 01 98 */ stw r0, 0x198(r1) -/* 802912CC 0028E22C A0 1F 00 08 */ lhz r0, 8(r31) -/* 802912D0 0028E230 B0 01 00 28 */ sth r0, 0x28(r1) -/* 802912D4 0028E234 A0 B2 00 08 */ lhz r5, 8(r18) -/* 802912D8 0028E238 B0 01 00 24 */ sth r0, 0x24(r1) -/* 802912DC 0028E23C B0 A1 00 30 */ sth r5, 0x30(r1) -/* 802912E0 0028E240 A0 1F 00 08 */ lhz r0, 8(r31) -/* 802912E4 0028E244 B0 A1 00 2C */ sth r5, 0x2c(r1) -/* 802912E8 0028E248 B0 01 00 38 */ sth r0, 0x38(r1) -/* 802912EC 0028E24C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802912F0 0028E250 B0 01 00 34 */ sth r0, 0x34(r1) -/* 802912F4 0028E254 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 802912F8 0028E258 7D 89 03 A6 */ mtctr r12 -/* 802912FC 0028E25C 4E 80 04 21 */ bctrl -/* 80291300 0028E260 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80291304 0028E264 7F C3 F3 78 */ mr r3, r30 -/* 80291308 0028E268 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8029130C 0028E26C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80291310 0028E270 38 81 00 38 */ addi r4, r1, 0x38 -/* 80291314 0028E274 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80291318 0028E278 38 E1 01 A0 */ addi r7, r1, 0x1a0 -/* 8029131C 0028E27C 39 01 01 88 */ addi r8, r1, 0x188 -/* 80291320 0028E280 4B DB 8D 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80291324 0028E284 C0 1F 04 24 */ lfs f0, 0x424(r31) -/* 80291328 0028E288 D0 1F 04 20 */ stfs f0, 0x420(r31) -/* 8029132C 0028E28C 48 00 04 34 */ b lbl_80291760 -/* 80291330 0028E290 A0 14 00 00 */ lhz r0, 0(r20) -/* 80291334 0028E294 A0 7F 09 90 */ lhz r3, 0x990(r31) -/* 80291338 0028E298 7C 00 18 40 */ cmplw r0, r3 -/* 8029133C 0028E29C 40 82 00 A4 */ bne lbl_802913E0 -/* 80291340 0028E2A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80291344 0028E2A4 7C 03 00 40 */ cmplw r3, r0 -/* 80291348 0028E2A8 41 82 00 98 */ beq lbl_802913E0 -/* 8029134C 0028E2AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80291350 0028E2B0 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80291354 0028E2B4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80291358 0028E2B8 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 8029135C 0028E2BC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80291360 0028E2C0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha -/* 80291364 0028E2C4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80291368 0028E2C8 38 C0 00 04 */ li r6, 4 -/* 8029136C 0028E2CC 38 00 00 08 */ li r0, 8 -/* 80291370 0028E2D0 90 A1 01 70 */ stw r5, 0x170(r1) -/* 80291374 0028E2D4 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l -/* 80291378 0028E2D8 3A 43 00 04 */ addi r18, r3, 4 -/* 8029137C 0028E2DC 90 C1 01 74 */ stw r6, 0x174(r1) -/* 80291380 0028E2E0 7E 43 93 78 */ mr r3, r18 -/* 80291384 0028E2E4 38 80 00 04 */ li r4, 4 -/* 80291388 0028E2E8 90 A1 01 70 */ stw r5, 0x170(r1) -/* 8029138C 0028E2EC D0 01 01 78 */ stfs f0, 0x178(r1) -/* 80291390 0028E2F0 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 80291394 0028E2F4 D0 41 01 80 */ stfs f2, 0x180(r1) -/* 80291398 0028E2F8 90 01 01 84 */ stw r0, 0x184(r1) -/* 8029139C 0028E2FC 4B EA 00 9D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 802913A0 0028E300 80 01 01 74 */ lwz r0, 0x174(r1) -/* 802913A4 0028E304 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 802913A8 0028E308 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 802913AC 0028E30C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802913B0 0028E310 90 12 00 F8 */ stw r0, 0xf8(r18) -/* 802913B4 0028E314 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 802913B8 0028E318 80 A1 01 78 */ lwz r5, 0x178(r1) -/* 802913BC 0028E31C 80 61 01 7C */ lwz r3, 0x17c(r1) -/* 802913C0 0028E320 90 B2 00 FC */ stw r5, 0xfc(r18) -/* 802913C4 0028E324 80 A1 01 80 */ lwz r5, 0x180(r1) -/* 802913C8 0028E328 90 72 01 00 */ stw r3, 0x100(r18) -/* 802913CC 0028E32C 80 61 01 84 */ lwz r3, 0x184(r1) -/* 802913D0 0028E330 90 B2 01 04 */ stw r5, 0x104(r18) -/* 802913D4 0028E334 90 81 01 70 */ stw r4, 0x170(r1) -/* 802913D8 0028E338 90 72 01 08 */ stw r3, 0x108(r18) -/* 802913DC 0028E33C 90 01 01 70 */ stw r0, 0x170(r1) -lbl_802913E0: -/* 802913E0 0028E340 A0 14 00 00 */ lhz r0, 0(r20) -/* 802913E4 0028E344 7F E3 FB 78 */ mr r3, r31 -/* 802913E8 0028E348 7E A4 AB 78 */ mr r4, r21 -/* 802913EC 0028E34C 7F C6 F3 78 */ mr r6, r30 -/* 802913F0 0028E350 B0 01 00 20 */ sth r0, 0x20(r1) -/* 802913F4 0028E354 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802913F8 0028E358 4B F9 B7 D5 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 802913FC 0028E35C A0 74 00 00 */ lhz r3, 0(r20) -/* 80291400 0028E360 A0 1F 0A 46 */ lhz r0, 0xa46(r31) -/* 80291404 0028E364 7C 03 00 40 */ cmplw r3, r0 -/* 80291408 0028E368 40 82 03 58 */ bne lbl_80291760 -/* 8029140C 0028E36C 80 1F 0A 7C */ lwz r0, 0xa7c(r31) -/* 80291410 0028E370 2C 00 00 02 */ cmpwi r0, 2 -/* 80291414 0028E374 40 82 03 4C */ bne lbl_80291760 -/* 80291418 0028E378 38 00 00 03 */ li r0, 3 -/* 8029141C 0028E37C C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 80291420 0028E380 90 1F 0A 7C */ stw r0, 0xa7c(r31) -/* 80291424 0028E384 D0 1F 0A 84 */ stfs f0, 0xa84(r31) -/* 80291428 0028E388 48 00 03 38 */ b lbl_80291760 -/* 8029142C 0028E38C A0 14 00 00 */ lhz r0, 0(r20) -/* 80291430 0028E390 7F C3 F3 78 */ mr r3, r30 -/* 80291434 0028E394 38 81 00 1C */ addi r4, r1, 0x1c -/* 80291438 0028E398 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8029143C 0028E39C 4B DB B1 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80291440 0028E3A0 7C 64 1B 78 */ mr r4, r3 -/* 80291444 0028E3A4 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80291448 0028E3A8 4B E1 C2 C5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8029144C 0028E3AC 82 43 00 04 */ lwz r18, 4(r3) -/* 80291450 0028E3B0 28 12 00 00 */ cmplwi r18, 0 -/* 80291454 0028E3B4 41 82 00 7C */ beq lbl_802914D0 -/* 80291458 0028E3B8 88 1F 0A 4A */ lbz r0, 0xa4a(r31) -/* 8029145C 0028E3BC 28 00 00 00 */ cmplwi r0, 0 -/* 80291460 0028E3C0 41 82 00 70 */ beq lbl_802914D0 -/* 80291464 0028E3C4 80 AD 99 78 */ lwz r5, lbl_805A8538@sda21(r13) -/* 80291468 0028E3C8 38 60 00 00 */ li r3, 0 -/* 8029146C 0028E3CC 38 80 00 01 */ li r4, 1 -/* 80291470 0028E3D0 48 0F 8A 85 */ bl __shl2i -/* 80291474 0028E3D4 39 00 00 00 */ li r8, 0 -/* 80291478 0028E3D8 39 40 00 03 */ li r10, 3 -/* 8029147C 0028E3DC 90 81 01 5C */ stw r4, 0x15c(r1) -/* 80291480 0028E3E0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80291484 0028E3E4 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80291488 0028E3E8 A0 14 00 00 */ lhz r0, 0(r20) -/* 8029148C 0028E3EC 90 61 01 58 */ stw r3, 0x158(r1) -/* 80291490 0028E3F0 7F C3 F3 78 */ mr r3, r30 -/* 80291494 0028E3F4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80291498 0028E3F8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8029149C 0028E3FC 91 01 01 64 */ stw r8, 0x164(r1) -/* 802914A0 0028E400 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802914A4 0028E404 38 F2 01 2C */ addi r7, r18, 0x12c -/* 802914A8 0028E408 91 01 01 60 */ stw r8, 0x160(r1) -/* 802914AC 0028E40C 39 01 01 58 */ addi r8, r1, 0x158 -/* 802914B0 0028E410 91 41 01 68 */ stw r10, 0x168(r1) -/* 802914B4 0028E414 A1 72 00 EC */ lhz r11, 0xec(r18) -/* 802914B8 0028E418 B1 61 00 10 */ sth r11, 0x10(r1) -/* 802914BC 0028E41C A1 5F 0A 46 */ lhz r10, 0xa46(r31) -/* 802914C0 0028E420 B1 61 00 0C */ sth r11, 0xc(r1) -/* 802914C4 0028E424 B1 41 00 14 */ sth r10, 0x14(r1) -/* 802914C8 0028E428 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802914CC 0028E42C 4B DB 8B D5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_802914D0: -/* 802914D0 0028E430 7F E3 FB 78 */ mr r3, r31 -/* 802914D4 0028E434 7F C5 F3 78 */ mr r5, r30 -/* 802914D8 0028E438 38 80 00 01 */ li r4, 1 -/* 802914DC 0028E43C 4B F9 60 C1 */ bl sub_8022759c -/* 802914E0 0028E440 48 00 02 80 */ b lbl_80291760 -/* 802914E4 0028E444 38 00 00 01 */ li r0, 1 -/* 802914E8 0028E448 98 1F 09 EC */ stb r0, 0x9ec(r31) -/* 802914EC 0028E44C 48 00 02 74 */ b lbl_80291760 -/* 802914F0 0028E450 7F C5 F3 78 */ mr r5, r30 -/* 802914F4 0028E454 38 80 00 01 */ li r4, 1 -/* 802914F8 0028E458 4B F9 60 A5 */ bl sub_8022759c -/* 802914FC 0028E45C 48 00 02 64 */ b lbl_80291760 -/* 80291500 0028E460 38 00 00 01 */ li r0, 1 -/* 80291504 0028E464 98 1F 0A 3C */ stb r0, 0xa3c(r31) -/* 80291508 0028E468 48 00 02 58 */ b lbl_80291760 -/* 8029150C 0028E46C 7F C4 F3 78 */ mr r4, r30 -/* 80291510 0028E470 4B FF A0 09 */ bl sub_8028b518 -/* 80291514 0028E474 48 00 02 4C */ b lbl_80291760 -/* 80291518 0028E478 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 8029151C 0028E47C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 80291520 0028E480 88 7F 0A DE */ lbz r3, 0xade(r31) -/* 80291524 0028E484 38 03 00 01 */ addi r0, r3, 1 -/* 80291528 0028E488 98 1F 0A DE */ stb r0, 0xade(r31) -/* 8029152C 0028E48C 88 1F 0A DE */ lbz r0, 0xade(r31) -/* 80291530 0028E490 28 00 00 04 */ cmplwi r0, 4 -/* 80291534 0028E494 40 80 02 2C */ bge lbl_80291760 -/* 80291538 0028E498 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8029153C 0028E49C 3C 60 80 5A */ lis r3, lbl_805A670C@ha -/* 80291540 0028E4A0 38 83 67 0C */ addi r4, r3, lbl_805A670C@l -/* 80291544 0028E4A4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80291548 0028E4A8 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l -/* 8029154C 0028E4AC C0 44 00 00 */ lfs f2, 0(r4) -/* 80291550 0028E4B0 C0 24 00 04 */ lfs f1, 4(r4) -/* 80291554 0028E4B4 3C A0 80 3E */ lis r5, lbl_803DAA44@ha -/* 80291558 0028E4B8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8029155C 0028E4BC 38 C0 00 04 */ li r6, 4 -/* 80291560 0028E4C0 38 00 00 01 */ li r0, 1 -/* 80291564 0028E4C4 3A 43 00 04 */ addi r18, r3, 4 -/* 80291568 0028E4C8 90 E1 01 3C */ stw r7, 0x13c(r1) -/* 8029156C 0028E4CC 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l -/* 80291570 0028E4D0 7E 43 93 78 */ mr r3, r18 -/* 80291574 0028E4D4 38 80 00 04 */ li r4, 4 -/* 80291578 0028E4D8 90 C1 01 40 */ stw r6, 0x140(r1) -/* 8029157C 0028E4DC 90 A1 01 3C */ stw r5, 0x13c(r1) -/* 80291580 0028E4E0 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 80291584 0028E4E4 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 80291588 0028E4E8 D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 8029158C 0028E4EC 90 01 01 50 */ stw r0, 0x150(r1) -/* 80291590 0028E4F0 4B E9 FE A9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80291594 0028E4F4 80 01 01 40 */ lwz r0, 0x140(r1) -/* 80291598 0028E4F8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8029159C 0028E4FC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 802915A0 0028E500 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802915A4 0028E504 90 12 00 F8 */ stw r0, 0xf8(r18) -/* 802915A8 0028E508 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 802915AC 0028E50C 80 A1 01 44 */ lwz r5, 0x144(r1) -/* 802915B0 0028E510 80 61 01 48 */ lwz r3, 0x148(r1) -/* 802915B4 0028E514 90 B2 00 FC */ stw r5, 0xfc(r18) -/* 802915B8 0028E518 80 A1 01 4C */ lwz r5, 0x14c(r1) -/* 802915BC 0028E51C 90 72 01 00 */ stw r3, 0x100(r18) -/* 802915C0 0028E520 80 61 01 50 */ lwz r3, 0x150(r1) -/* 802915C4 0028E524 90 B2 01 04 */ stw r5, 0x104(r18) -/* 802915C8 0028E528 90 81 01 3C */ stw r4, 0x13c(r1) -/* 802915CC 0028E52C 90 72 01 08 */ stw r3, 0x108(r18) -/* 802915D0 0028E530 90 01 01 3C */ stw r0, 0x13c(r1) -/* 802915D4 0028E534 48 00 01 8C */ b lbl_80291760 -/* 802915D8 0028E538 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 802915DC 0028E53C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 802915E0 0028E540 88 7F 0A DE */ lbz r3, 0xade(r31) -/* 802915E4 0028E544 38 03 00 01 */ addi r0, r3, 1 -/* 802915E8 0028E548 98 1F 0A DE */ stb r0, 0xade(r31) -/* 802915EC 0028E54C 88 1F 0A DE */ lbz r0, 0xade(r31) -/* 802915F0 0028E550 28 00 00 04 */ cmplwi r0, 4 -/* 802915F4 0028E554 40 80 01 6C */ bge lbl_80291760 -/* 802915F8 0028E558 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 802915FC 0028E55C 3C 60 80 5A */ lis r3, lbl_805A6718@ha -/* 80291600 0028E560 38 83 67 18 */ addi r4, r3, lbl_805A6718@l -/* 80291604 0028E564 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80291608 0028E568 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l -/* 8029160C 0028E56C C0 44 00 00 */ lfs f2, 0(r4) -/* 80291610 0028E570 C0 24 00 04 */ lfs f1, 4(r4) -/* 80291614 0028E574 3C A0 80 3E */ lis r5, lbl_803DAA44@ha -/* 80291618 0028E578 C0 04 00 08 */ lfs f0, 8(r4) -/* 8029161C 0028E57C 38 C0 00 04 */ li r6, 4 -/* 80291620 0028E580 38 00 00 01 */ li r0, 1 -/* 80291624 0028E584 3A 43 00 04 */ addi r18, r3, 4 -/* 80291628 0028E588 90 E1 01 24 */ stw r7, 0x124(r1) -/* 8029162C 0028E58C 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l -/* 80291630 0028E590 7E 43 93 78 */ mr r3, r18 -/* 80291634 0028E594 38 80 00 04 */ li r4, 4 -/* 80291638 0028E598 90 C1 01 28 */ stw r6, 0x128(r1) -/* 8029163C 0028E59C 90 A1 01 24 */ stw r5, 0x124(r1) -/* 80291640 0028E5A0 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 80291644 0028E5A4 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 80291648 0028E5A8 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8029164C 0028E5AC 90 01 01 38 */ stw r0, 0x138(r1) -/* 80291650 0028E5B0 4B E9 FD E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80291654 0028E5B4 80 01 01 28 */ lwz r0, 0x128(r1) -/* 80291658 0028E5B8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 8029165C 0028E5BC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 80291660 0028E5C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80291664 0028E5C4 90 12 00 F8 */ stw r0, 0xf8(r18) -/* 80291668 0028E5C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8029166C 0028E5CC 80 A1 01 2C */ lwz r5, 0x12c(r1) -/* 80291670 0028E5D0 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80291674 0028E5D4 90 B2 00 FC */ stw r5, 0xfc(r18) -/* 80291678 0028E5D8 80 A1 01 34 */ lwz r5, 0x134(r1) -/* 8029167C 0028E5DC 90 72 01 00 */ stw r3, 0x100(r18) -/* 80291680 0028E5E0 80 61 01 38 */ lwz r3, 0x138(r1) -/* 80291684 0028E5E4 90 B2 01 04 */ stw r5, 0x104(r18) -/* 80291688 0028E5E8 90 81 01 24 */ stw r4, 0x124(r1) -/* 8029168C 0028E5EC 90 72 01 08 */ stw r3, 0x108(r18) -/* 80291690 0028E5F0 90 01 01 24 */ stw r0, 0x124(r1) -/* 80291694 0028E5F4 48 00 00 CC */ b lbl_80291760 -/* 80291698 0028E5F8 38 00 00 01 */ li r0, 1 -/* 8029169C 0028E5FC 98 1F 0B 78 */ stb r0, 0xb78(r31) -/* 802916A0 0028E600 48 00 00 C0 */ b lbl_80291760 -/* 802916A4 0028E604 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 802916A8 0028E608 88 64 00 03 */ lbz r3, 3(r4) -/* 802916AC 0028E60C 28 03 00 00 */ cmplwi r3, 0 -/* 802916B0 0028E610 41 82 00 10 */ beq lbl_802916C0 -/* 802916B4 0028E614 38 03 FF FF */ addi r0, r3, -1 -/* 802916B8 0028E618 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 802916BC 0028E61C 48 00 00 08 */ b lbl_802916C4 -lbl_802916C0: -/* 802916C0 0028E620 38 00 00 00 */ li r0, 0 -lbl_802916C4: -/* 802916C4 0028E624 98 04 00 03 */ stb r0, 3(r4) -/* 802916C8 0028E628 48 00 00 98 */ b lbl_80291760 -/* 802916CC 0028E62C 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 802916D0 0028E630 88 64 00 02 */ lbz r3, 2(r4) -/* 802916D4 0028E634 28 03 00 00 */ cmplwi r3, 0 -/* 802916D8 0028E638 41 82 00 10 */ beq lbl_802916E8 -/* 802916DC 0028E63C 38 03 FF FF */ addi r0, r3, -1 -/* 802916E0 0028E640 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 802916E4 0028E644 48 00 00 08 */ b lbl_802916EC -lbl_802916E8: -/* 802916E8 0028E648 38 00 00 00 */ li r0, 0 -lbl_802916EC: -/* 802916EC 0028E64C 98 04 00 02 */ stb r0, 2(r4) -/* 802916F0 0028E650 48 00 00 70 */ b lbl_80291760 -/* 802916F4 0028E654 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 802916F8 0028E658 88 64 00 01 */ lbz r3, 1(r4) -/* 802916FC 0028E65C 28 03 00 00 */ cmplwi r3, 0 -/* 80291700 0028E660 41 82 00 10 */ beq lbl_80291710 -/* 80291704 0028E664 38 03 FF FF */ addi r0, r3, -1 -/* 80291708 0028E668 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8029170C 0028E66C 48 00 00 08 */ b lbl_80291714 -lbl_80291710: -/* 80291710 0028E670 38 00 00 00 */ li r0, 0 -lbl_80291714: -/* 80291714 0028E674 98 04 00 01 */ stb r0, 1(r4) -/* 80291718 0028E678 48 00 00 48 */ b lbl_80291760 -/* 8029171C 0028E67C 80 9F 0B 88 */ lwz r4, 0xb88(r31) -/* 80291720 0028E680 88 64 00 00 */ lbz r3, 0(r4) -/* 80291724 0028E684 28 03 00 00 */ cmplwi r3, 0 -/* 80291728 0028E688 41 82 00 10 */ beq lbl_80291738 -/* 8029172C 0028E68C 38 03 FF FF */ addi r0, r3, -1 -/* 80291730 0028E690 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80291734 0028E694 48 00 00 08 */ b lbl_8029173C -lbl_80291738: -/* 80291738 0028E698 38 00 00 00 */ li r0, 0 -lbl_8029173C: -/* 8029173C 0028E69C 98 04 00 00 */ stb r0, 0(r4) -/* 80291740 0028E6A0 48 00 00 20 */ b lbl_80291760 -lbl_80291744: -/* 80291744 0028E6A4 A0 14 00 00 */ lhz r0, 0(r20) -/* 80291748 0028E6A8 7F E3 FB 78 */ mr r3, r31 -/* 8029174C 0028E6AC 7E A4 AB 78 */ mr r4, r21 -/* 80291750 0028E6B0 7F C6 F3 78 */ mr r6, r30 -/* 80291754 0028E6B4 B0 01 00 08 */ sth r0, 8(r1) -/* 80291758 0028E6B8 38 A1 00 08 */ addi r5, r1, 8 -/* 8029175C 0028E6BC 4B F9 B4 71 */ bl AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_80291760: -/* 80291760 0028E6C0 BA 41 02 28 */ lmw r18, 0x228(r1) -/* 80291764 0028E6C4 80 01 02 64 */ lwz r0, 0x264(r1) -/* 80291768 0028E6C8 7C 08 03 A6 */ mtlr r0 -/* 8029176C 0028E6CC 38 21 02 60 */ addi r1, r1, 0x260 -/* 80291770 0028E6D0 4E 80 00 20 */ blr - -.global sub_80291774 -sub_80291774: -/* 80291774 0028E6D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80291778 0028E6D8 7C 08 02 A6 */ mflr r0 -/* 8029177C 0028E6DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80291780 0028E6E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80291784 0028E6E4 7C 9F 23 78 */ mr r31, r4 -/* 80291788 0028E6E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029178C 0028E6EC 7C 7E 1B 78 */ mr r30, r3 -/* 80291790 0028E6F0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80291794 0028E6F4 80 03 00 04 */ lwz r0, 4(r3) -/* 80291798 0028E6F8 80 A3 00 08 */ lwz r5, 8(r3) -/* 8029179C 0028E6FC 7C 00 28 00 */ cmpw r0, r5 -/* 802917A0 0028E700 41 80 00 18 */ blt lbl_802917B8 -/* 802917A4 0028E704 2C 05 00 00 */ cmpwi r5, 0 -/* 802917A8 0028E708 38 80 00 04 */ li r4, 4 -/* 802917AC 0028E70C 41 82 00 08 */ beq lbl_802917B4 -/* 802917B0 0028E710 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802917B4: -/* 802917B4 0028E714 48 00 0A 11 */ bl sub_802921c4 -lbl_802917B8: -/* 802917B8 0028E718 80 1E 00 04 */ lwz r0, 4(r30) -/* 802917BC 0028E71C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802917C0 0028E720 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 802917C4 0028E724 7F A3 02 15 */ add. r29, r3, r0 -/* 802917C8 0028E728 41 82 00 A4 */ beq lbl_8029186C -/* 802917CC 0028E72C A0 1F 00 00 */ lhz r0, 0(r31) -/* 802917D0 0028E730 B0 1D 00 00 */ sth r0, 0(r29) -/* 802917D4 0028E734 80 1F 00 08 */ lwz r0, 8(r31) -/* 802917D8 0028E738 90 1D 00 08 */ stw r0, 8(r29) -/* 802917DC 0028E73C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802917E0 0028E740 90 1D 00 0C */ stw r0, 0xc(r29) -/* 802917E4 0028E744 80 1F 00 08 */ lwz r0, 8(r31) -/* 802917E8 0028E748 2C 00 00 00 */ cmpwi r0, 0 -/* 802917EC 0028E74C 40 82 00 1C */ bne lbl_80291808 -/* 802917F0 0028E750 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802917F4 0028E754 2C 00 00 00 */ cmpwi r0, 0 -/* 802917F8 0028E758 40 82 00 10 */ bne lbl_80291808 -/* 802917FC 0028E75C 38 00 00 00 */ li r0, 0 -/* 80291800 0028E760 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80291804 0028E764 48 00 00 68 */ b lbl_8029186C -lbl_80291808: -/* 80291808 0028E768 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8029180C 0028E76C 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e -/* 80291810 0028E770 40 82 00 10 */ bne lbl_80291820 -/* 80291814 0028E774 38 00 00 00 */ li r0, 0 -/* 80291818 0028E778 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8029181C 0028E77C 48 00 00 1C */ b lbl_80291838 -lbl_80291820: -/* 80291820 0028E780 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 80291824 0028E784 38 A0 00 00 */ li r5, 0 -/* 80291828 0028E788 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8029182C 0028E78C 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 80291830 0028E790 48 08 3F E9 */ bl __nwa__FUlPCcPCc -/* 80291834 0028E794 90 7D 00 10 */ stw r3, 0x10(r29) -lbl_80291838: -/* 80291838 0028E798 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029183C 0028E79C 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 80291840 0028E7A0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80291844 0028E7A4 7C 09 03 A6 */ mtctr r0 -/* 80291848 0028E7A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8029184C 0028E7AC 40 81 00 20 */ ble lbl_8029186C -lbl_80291850: -/* 80291850 0028E7B0 28 03 00 00 */ cmplwi r3, 0 -/* 80291854 0028E7B4 41 82 00 0C */ beq lbl_80291860 -/* 80291858 0028E7B8 A0 04 00 00 */ lhz r0, 0(r4) -/* 8029185C 0028E7BC B0 03 00 00 */ sth r0, 0(r3) -lbl_80291860: -/* 80291860 0028E7C0 38 63 00 02 */ addi r3, r3, 2 -/* 80291864 0028E7C4 38 84 00 02 */ addi r4, r4, 2 -/* 80291868 0028E7C8 42 00 FF E8 */ bdnz lbl_80291850 -lbl_8029186C: -/* 8029186C 0028E7CC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80291870 0028E7D0 38 03 00 01 */ addi r0, r3, 1 -/* 80291874 0028E7D4 90 1E 00 04 */ stw r0, 4(r30) -/* 80291878 0028E7D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029187C 0028E7DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80291880 0028E7E0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80291884 0028E7E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80291888 0028E7E8 7C 08 03 A6 */ mtlr r0 -/* 8029188C 0028E7EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80291890 0028E7F0 4E 80 00 20 */ blr - -.global "__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii" -"__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii": -/* 80291894 0028E7F4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80291898 0028E7F8 7C 08 02 A6 */ mflr r0 -/* 8029189C 0028E7FC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802918A0 0028E800 81 61 00 A8 */ lwz r11, 0xa8(r1) -/* 802918A4 0028E804 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 802918A8 0028E808 7C 7F 1B 78 */ mr r31, r3 -/* 802918AC 0028E80C 83 A1 00 AC */ lwz r29, 0xac(r1) -/* 802918B0 0028E810 7D 1E 43 78 */ mr r30, r8 -/* 802918B4 0028E814 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 802918B8 0028E818 83 61 00 B4 */ lwz r27, 0xb4(r1) -/* 802918BC 0028E81C A0 04 00 00 */ lhz r0, 0(r4) -/* 802918C0 0028E820 38 81 00 10 */ addi r4, r1, 0x10 -/* 802918C4 0028E824 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802918C8 0028E828 91 61 00 08 */ stw r11, 8(r1) -/* 802918CC 0028E82C 4B F9 BE C5 */ bl "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" -/* 802918D0 0028E830 3C 80 80 3F */ lis r4, lbl_803EB868@ha -/* 802918D4 0028E834 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 802918D8 0028E838 38 04 B8 68 */ addi r0, r4, lbl_803EB868@l -/* 802918DC 0028E83C 38 C0 00 00 */ li r6, 0 -/* 802918E0 0028E840 90 1F 00 00 */ stw r0, 0(r31) -/* 802918E4 0028E844 38 80 00 01 */ li r4, 1 -/* 802918E8 0028E848 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 802918EC 0028E84C 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 802918F0 0028E850 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) -/* 802918F4 0028E854 38 61 00 3C */ addi r3, r1, 0x3c -/* 802918F8 0028E858 C0 02 BE A0 */ lfs f0, lbl_805ADBC0@sda21(r2) -/* 802918FC 0028E85C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80291900 0028E860 B0 FF 09 90 */ sth r7, 0x990(r31) -/* 80291904 0028E864 90 DF 09 94 */ stw r6, 0x994(r31) -/* 80291908 0028E868 D0 3F 09 98 */ stfs f1, 0x998(r31) -/* 8029190C 0028E86C D0 1F 09 9C */ stfs f0, 0x99c(r31) -/* 80291910 0028E870 98 9F 09 A0 */ stb r4, 0x9a0(r31) -/* 80291914 0028E874 98 9F 09 A1 */ stb r4, 0x9a1(r31) -/* 80291918 0028E878 90 DF 09 A8 */ stw r6, 0x9a8(r31) -/* 8029191C 0028E87C 90 DF 09 AC */ stw r6, 0x9ac(r31) -/* 80291920 0028E880 90 DF 09 B0 */ stw r6, 0x9b0(r31) -/* 80291924 0028E884 98 DF 09 B4 */ stb r6, 0x9b4(r31) -/* 80291928 0028E888 90 DF 09 BC */ stw r6, 0x9bc(r31) -/* 8029192C 0028E88C 90 DF 09 C0 */ stw r6, 0x9c0(r31) -/* 80291930 0028E890 90 DF 09 C4 */ stw r6, 0x9c4(r31) -/* 80291934 0028E894 90 DF 09 C8 */ stw r6, 0x9c8(r31) -/* 80291938 0028E898 D0 3F 09 CC */ stfs f1, 0x9cc(r31) -/* 8029193C 0028E89C C0 3E 00 04 */ lfs f1, 4(r30) -/* 80291940 0028E8A0 C0 5E 00 08 */ lfs f2, 8(r30) -/* 80291944 0028E8A4 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80291948 0028E8A8 D0 1F 09 D0 */ stfs f0, 0x9d0(r31) -/* 8029194C 0028E8AC D0 3F 09 D4 */ stfs f1, 0x9d4(r31) -/* 80291950 0028E8B0 D0 5F 09 D8 */ stfs f2, 0x9d8(r31) -/* 80291954 0028E8B4 90 DF 09 E0 */ stw r6, 0x9e0(r31) -/* 80291958 0028E8B8 90 DF 09 E4 */ stw r6, 0x9e4(r31) -/* 8029195C 0028E8BC 90 DF 09 E8 */ stw r6, 0x9e8(r31) -/* 80291960 0028E8C0 98 DF 09 EC */ stb r6, 0x9ec(r31) -/* 80291964 0028E8C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80291968 0028E8C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029196C 0028E8CC 93 A1 00 48 */ stw r29, 0x48(r1) -/* 80291970 0028E8D0 81 84 00 00 */ lwz r12, 0(r4) -/* 80291974 0028E8D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80291978 0028E8D8 7D 89 03 A6 */ mtctr r12 -/* 8029197C 0028E8DC 4E 80 04 21 */ bctrl -/* 80291980 0028E8E0 3B A1 00 64 */ addi r29, r1, 0x64 -/* 80291984 0028E8E4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80291988 0028E8E8 7F A3 EB 78 */ mr r3, r29 -/* 8029198C 0028E8EC 48 0A F5 1D */ bl __ct__6CTokenFRC6CToken -/* 80291990 0028E8F0 7F A3 EB 78 */ mr r3, r29 -/* 80291994 0028E8F4 48 0A F4 79 */ bl GetObj__6CTokenFv -/* 80291998 0028E8F8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8029199C 0028E8FC 3C 60 43 53 */ lis r3, 0x43534B52@ha -/* 802919A0 0028E900 38 03 4B 52 */ addi r0, r3, 0x43534B52@l -/* 802919A4 0028E904 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802919A8 0028E908 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 802919AC 0028E90C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802919B0 0028E910 38 A1 00 34 */ addi r5, r1, 0x34 -/* 802919B4 0028E914 90 01 00 34 */ stw r0, 0x34(r1) -/* 802919B8 0028E918 93 81 00 38 */ stw r28, 0x38(r1) -/* 802919BC 0028E91C 81 84 00 00 */ lwz r12, 0(r4) -/* 802919C0 0028E920 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802919C4 0028E924 7D 89 03 A6 */ mtctr r12 -/* 802919C8 0028E928 4E 80 04 21 */ bctrl -/* 802919CC 0028E92C 3B 81 00 58 */ addi r28, r1, 0x58 -/* 802919D0 0028E930 38 81 00 2C */ addi r4, r1, 0x2c -/* 802919D4 0028E934 7F 83 E3 78 */ mr r3, r28 -/* 802919D8 0028E938 48 0A F4 D1 */ bl __ct__6CTokenFRC6CToken -/* 802919DC 0028E93C 7F 83 E3 78 */ mr r3, r28 -/* 802919E0 0028E940 48 0A F4 2D */ bl GetObj__6CTokenFv -/* 802919E4 0028E944 80 A3 00 04 */ lwz r5, 4(r3) -/* 802919E8 0028E948 3C 60 43 49 */ lis r3, 0x43494E46@ha -/* 802919EC 0028E94C 38 03 4E 46 */ addi r0, r3, 0x43494E46@l -/* 802919F0 0028E950 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802919F4 0028E954 90 A1 00 60 */ stw r5, 0x60(r1) -/* 802919F8 0028E958 38 61 00 1C */ addi r3, r1, 0x1c -/* 802919FC 0028E95C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80291A00 0028E960 90 01 00 24 */ stw r0, 0x24(r1) -/* 80291A04 0028E964 93 61 00 28 */ stw r27, 0x28(r1) -/* 80291A08 0028E968 81 84 00 00 */ lwz r12, 0(r4) -/* 80291A0C 0028E96C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80291A10 0028E970 7D 89 03 A6 */ mtctr r12 -/* 80291A14 0028E974 4E 80 04 21 */ bctrl -/* 80291A18 0028E978 3B 61 00 4C */ addi r27, r1, 0x4c -/* 80291A1C 0028E97C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80291A20 0028E980 7F 63 DB 78 */ mr r3, r27 -/* 80291A24 0028E984 48 0A F4 85 */ bl __ct__6CTokenFRC6CToken -/* 80291A28 0028E988 7F 63 DB 78 */ mr r3, r27 -/* 80291A2C 0028E98C 48 0A F3 E1 */ bl GetObj__6CTokenFv -/* 80291A30 0028E990 80 03 00 04 */ lwz r0, 4(r3) -/* 80291A34 0028E994 38 7F 09 F0 */ addi r3, r31, 0x9f0 -/* 80291A38 0028E998 7F A4 EB 78 */ mr r4, r29 -/* 80291A3C 0028E99C 7F 85 E3 78 */ mr r5, r28 -/* 80291A40 0028E9A0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80291A44 0028E9A4 7F 66 DB 78 */ mr r6, r27 -/* 80291A48 0028E9A8 38 E0 00 01 */ li r7, 1 -/* 80291A4C 0028E9AC 48 0C 19 ED */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -/* 80291A50 0028E9B0 7F 63 DB 78 */ mr r3, r27 -/* 80291A54 0028E9B4 38 80 00 00 */ li r4, 0 -/* 80291A58 0028E9B8 48 0A F3 E9 */ bl __dt__6CTokenFv -/* 80291A5C 0028E9BC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80291A60 0028E9C0 38 80 FF FF */ li r4, -1 -/* 80291A64 0028E9C4 48 0A F3 DD */ bl __dt__6CTokenFv -/* 80291A68 0028E9C8 7F 83 E3 78 */ mr r3, r28 -/* 80291A6C 0028E9CC 38 80 00 00 */ li r4, 0 -/* 80291A70 0028E9D0 48 0A F3 D1 */ bl __dt__6CTokenFv -/* 80291A74 0028E9D4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80291A78 0028E9D8 38 80 FF FF */ li r4, -1 -/* 80291A7C 0028E9DC 48 0A F3 C5 */ bl __dt__6CTokenFv -/* 80291A80 0028E9E0 7F A3 EB 78 */ mr r3, r29 -/* 80291A84 0028E9E4 38 80 00 00 */ li r4, 0 -/* 80291A88 0028E9E8 48 0A F3 B9 */ bl __dt__6CTokenFv -/* 80291A8C 0028E9EC 38 61 00 3C */ addi r3, r1, 0x3c -/* 80291A90 0028E9F0 38 80 FF FF */ li r4, -1 -/* 80291A94 0028E9F4 48 0A F3 AD */ bl __dt__6CTokenFv -/* 80291A98 0028E9F8 C0 02 BE 9C */ lfs f0, lbl_805ADBBC@sda21(r2) -/* 80291A9C 0028E9FC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80291AA0 0028EA00 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80291AA4 0028EA04 38 A0 00 00 */ li r5, 0 -/* 80291AA8 0028EA08 D0 1F 0A 2C */ stfs f0, 0xa2c(r31) -/* 80291AAC 0028EA0C 38 00 00 01 */ li r0, 1 -/* 80291AB0 0028EA10 38 7F 0A 4C */ addi r3, r31, 0xa4c -/* 80291AB4 0028EA14 90 BF 0A 30 */ stw r5, 0xa30(r31) -/* 80291AB8 0028EA18 D0 1F 0A 34 */ stfs f0, 0xa34(r31) -/* 80291ABC 0028EA1C 90 BF 0A 38 */ stw r5, 0xa38(r31) -/* 80291AC0 0028EA20 98 BF 0A 3C */ stb r5, 0xa3c(r31) -/* 80291AC4 0028EA24 90 1F 0A 40 */ stw r0, 0xa40(r31) -/* 80291AC8 0028EA28 98 BF 0A 44 */ stb r5, 0xa44(r31) -/* 80291ACC 0028EA2C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80291AD0 0028EA30 B0 1F 0A 46 */ sth r0, 0xa46(r31) -/* 80291AD4 0028EA34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80291AD8 0028EA38 B0 1F 0A 48 */ sth r0, 0xa48(r31) -/* 80291ADC 0028EA3C 98 BF 0A 4A */ stb r5, 0xa4a(r31) -/* 80291AE0 0028EA40 48 08 10 95 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80291AE4 0028EA44 38 00 00 00 */ li r0, 0 -/* 80291AE8 0028EA48 C0 42 BE A0 */ lfs f2, lbl_805ADBC0@sda21(r2) -/* 80291AEC 0028EA4C 90 1F 0A 7C */ stw r0, 0xa7c(r31) -/* 80291AF0 0028EA50 38 80 00 01 */ li r4, 1 -/* 80291AF4 0028EA54 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 80291AF8 0028EA58 3C 60 80 57 */ lis r3, lbl_80570004@ha -/* 80291AFC 0028EA5C D0 5F 0A 80 */ stfs f2, 0xa80(r31) -/* 80291B00 0028EA60 C0 02 BE D8 */ lfs f0, lbl_805ADBF8@sda21(r2) -/* 80291B04 0028EA64 D0 3F 0A 84 */ stfs f1, 0xa84(r31) -/* 80291B08 0028EA68 98 1F 0A 88 */ stb r0, 0xa88(r31) -/* 80291B0C 0028EA6C D0 1F 0A 8C */ stfs f0, 0xa8c(r31) -/* 80291B10 0028EA70 D0 5F 0A 90 */ stfs f2, 0xa90(r31) -/* 80291B14 0028EA74 D0 5F 0A 94 */ stfs f2, 0xa94(r31) -/* 80291B18 0028EA78 D0 3F 0A 98 */ stfs f1, 0xa98(r31) -/* 80291B1C 0028EA7C 90 1F 0A 9C */ stw r0, 0xa9c(r31) -/* 80291B20 0028EA80 90 1F 0A A4 */ stw r0, 0xaa4(r31) -/* 80291B24 0028EA84 90 1F 0A A8 */ stw r0, 0xaa8(r31) -/* 80291B28 0028EA88 90 1F 0A AC */ stw r0, 0xaac(r31) -/* 80291B2C 0028EA8C D0 3F 0A B0 */ stfs f1, 0xab0(r31) -/* 80291B30 0028EA90 90 1F 0A B8 */ stw r0, 0xab8(r31) -/* 80291B34 0028EA94 90 1F 0A BC */ stw r0, 0xabc(r31) -/* 80291B38 0028EA98 90 1F 0A C0 */ stw r0, 0xac0(r31) -/* 80291B3C 0028EA9C 90 1F 0A C4 */ stw r0, 0xac4(r31) -/* 80291B40 0028EAA0 90 1F 0A C8 */ stw r0, 0xac8(r31) -/* 80291B44 0028EAA4 90 1F 0A CC */ stw r0, 0xacc(r31) -/* 80291B48 0028EAA8 98 1F 0A D0 */ stb r0, 0xad0(r31) -/* 80291B4C 0028EAAC D0 5F 0A D4 */ stfs f2, 0xad4(r31) -/* 80291B50 0028EAB0 98 1F 0A D8 */ stb r0, 0xad8(r31) -/* 80291B54 0028EAB4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 80291B58 0028EAB8 B0 BF 0A DA */ sth r5, 0xada(r31) -/* 80291B5C 0028EABC 98 1F 0A DC */ stb r0, 0xadc(r31) -/* 80291B60 0028EAC0 98 1F 0A DD */ stb r0, 0xadd(r31) -/* 80291B64 0028EAC4 98 1F 0A DE */ stb r0, 0xade(r31) -/* 80291B68 0028EAC8 98 9F 0A DF */ stb r4, 0xadf(r31) -/* 80291B6C 0028EACC 98 9F 0A E0 */ stb r4, 0xae0(r31) -/* 80291B70 0028EAD0 84 A3 D5 78 */ lwzu r5, -0x2a88(r3) -/* 80291B74 0028EAD4 80 83 00 04 */ lwz r4, lbl_80570004@l(r3) -/* 80291B78 0028EAD8 90 BF 0A E4 */ stw r5, 0xae4(r31) -/* 80291B7C 0028EADC 90 9F 0A E8 */ stw r4, 0xae8(r31) -/* 80291B80 0028EAE0 80 A3 00 08 */ lwz r5, 8(r3) -/* 80291B84 0028EAE4 80 83 00 0C */ lwz r4, 0xc(r3) -/* 80291B88 0028EAE8 90 BF 0A EC */ stw r5, 0xaec(r31) -/* 80291B8C 0028EAEC 90 9F 0A F0 */ stw r4, 0xaf0(r31) -/* 80291B90 0028EAF0 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 80291B94 0028EAF4 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80291B98 0028EAF8 90 BF 0A F4 */ stw r5, 0xaf4(r31) -/* 80291B9C 0028EAFC 90 9F 0A F8 */ stw r4, 0xaf8(r31) -/* 80291BA0 0028EB00 80 A3 00 18 */ lwz r5, 0x18(r3) -/* 80291BA4 0028EB04 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 80291BA8 0028EB08 90 BF 0A FC */ stw r5, 0xafc(r31) -/* 80291BAC 0028EB0C 90 9F 0B 00 */ stw r4, 0xb00(r31) -/* 80291BB0 0028EB10 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 80291BB4 0028EB14 80 83 00 24 */ lwz r4, 0x24(r3) -/* 80291BB8 0028EB18 90 BF 0B 04 */ stw r5, 0xb04(r31) -/* 80291BBC 0028EB1C 90 9F 0B 08 */ stw r4, 0xb08(r31) -/* 80291BC0 0028EB20 80 A3 00 28 */ lwz r5, 0x28(r3) -/* 80291BC4 0028EB24 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 80291BC8 0028EB28 90 BF 0B 0C */ stw r5, 0xb0c(r31) -/* 80291BCC 0028EB2C 90 9F 0B 10 */ stw r4, 0xb10(r31) -/* 80291BD0 0028EB30 80 A3 00 30 */ lwz r5, 0x30(r3) -/* 80291BD4 0028EB34 80 83 00 34 */ lwz r4, 0x34(r3) -/* 80291BD8 0028EB38 90 BF 0B 14 */ stw r5, 0xb14(r31) -/* 80291BDC 0028EB3C 90 9F 0B 18 */ stw r4, 0xb18(r31) -/* 80291BE0 0028EB40 80 83 00 38 */ lwz r4, 0x38(r3) -/* 80291BE4 0028EB44 90 9F 0B 1C */ stw r4, 0xb1c(r31) -/* 80291BE8 0028EB48 80 A3 00 3C */ lwz r5, 0x3c(r3) -/* 80291BEC 0028EB4C 80 83 00 40 */ lwz r4, 0x40(r3) -/* 80291BF0 0028EB50 90 BF 0B 20 */ stw r5, 0xb20(r31) -/* 80291BF4 0028EB54 90 9F 0B 24 */ stw r4, 0xb24(r31) -/* 80291BF8 0028EB58 80 A3 00 44 */ lwz r5, 0x44(r3) -/* 80291BFC 0028EB5C 80 83 00 48 */ lwz r4, 0x48(r3) -/* 80291C00 0028EB60 90 BF 0B 28 */ stw r5, 0xb28(r31) -/* 80291C04 0028EB64 90 9F 0B 2C */ stw r4, 0xb2c(r31) -/* 80291C08 0028EB68 80 A3 00 4C */ lwz r5, 0x4c(r3) -/* 80291C0C 0028EB6C 80 83 00 50 */ lwz r4, 0x50(r3) -/* 80291C10 0028EB70 90 BF 0B 30 */ stw r5, 0xb30(r31) -/* 80291C14 0028EB74 90 9F 0B 34 */ stw r4, 0xb34(r31) -/* 80291C18 0028EB78 80 A3 00 54 */ lwz r5, 0x54(r3) -/* 80291C1C 0028EB7C 80 83 00 58 */ lwz r4, 0x58(r3) -/* 80291C20 0028EB80 90 BF 0B 38 */ stw r5, 0xb38(r31) -/* 80291C24 0028EB84 90 9F 0B 3C */ stw r4, 0xb3c(r31) -/* 80291C28 0028EB88 80 83 00 5C */ lwz r4, 0x5c(r3) -/* 80291C2C 0028EB8C 90 9F 0B 40 */ stw r4, 0xb40(r31) -/* 80291C30 0028EB90 80 83 00 60 */ lwz r4, 0x60(r3) -/* 80291C34 0028EB94 90 9F 0B 44 */ stw r4, 0xb44(r31) -/* 80291C38 0028EB98 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80291C3C 0028EB9C 90 7F 0B 48 */ stw r3, 0xb48(r31) -/* 80291C40 0028EBA0 90 1F 0B 4C */ stw r0, 0xb4c(r31) -/* 80291C44 0028EBA4 D0 3F 0B 50 */ stfs f1, 0xb50(r31) -/* 80291C48 0028EBA8 48 0B 83 65 */ bl White__6CColorFv -/* 80291C4C 0028EBAC 80 03 00 00 */ lwz r0, 0(r3) -/* 80291C50 0028EBB0 3C 60 80 3D */ lis r3, lbl_803D5A74@ha -/* 80291C54 0028EBB4 38 83 5A 74 */ addi r4, r3, lbl_803D5A74@l -/* 80291C58 0028EBB8 C0 02 BE E4 */ lfs f0, lbl_805ADC04@sda21(r2) -/* 80291C5C 0028EBBC 90 1F 0B 54 */ stw r0, 0xb54(r31) -/* 80291C60 0028EBC0 38 00 00 00 */ li r0, 0 -/* 80291C64 0028EBC4 C0 22 BE 9C */ lfs f1, lbl_805ADBBC@sda21(r2) -/* 80291C68 0028EBC8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80291C6C 0028EBCC D0 1F 0B 58 */ stfs f0, 0xb58(r31) -/* 80291C70 0028EBD0 38 A4 00 F1 */ addi r5, r4, 0xf1 -/* 80291C74 0028EBD4 C0 02 BE DC */ lfs f0, lbl_805ADBFC@sda21(r2) -/* 80291C78 0028EBD8 D0 3F 0B 5C */ stfs f1, 0xb5c(r31) -/* 80291C7C 0028EBDC D0 3F 0B 60 */ stfs f1, 0xb60(r31) -/* 80291C80 0028EBE0 D0 1F 0B 64 */ stfs f0, 0xb64(r31) -/* 80291C84 0028EBE4 90 1F 0B 68 */ stw r0, 0xb68(r31) -/* 80291C88 0028EBE8 98 1F 0B 6C */ stb r0, 0xb6c(r31) -/* 80291C8C 0028EBEC 98 1F 0B 6D */ stb r0, 0xb6d(r31) -/* 80291C90 0028EBF0 98 1F 0B 6E */ stb r0, 0xb6e(r31) -/* 80291C94 0028EBF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80291C98 0028EBF8 81 84 00 00 */ lwz r12, 0(r4) -/* 80291C9C 0028EBFC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80291CA0 0028EC00 7D 89 03 A6 */ mtctr r12 -/* 80291CA4 0028EC04 4E 80 04 21 */ bctrl -/* 80291CA8 0028EC08 38 7F 0B 70 */ addi r3, r31, 0xb70 -/* 80291CAC 0028EC0C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80291CB0 0028EC10 48 0A F1 F9 */ bl __ct__6CTokenFRC6CToken -/* 80291CB4 0028EC14 38 61 00 14 */ addi r3, r1, 0x14 -/* 80291CB8 0028EC18 38 80 FF FF */ li r4, -1 -/* 80291CBC 0028EC1C 48 0A F1 85 */ bl __dt__6CTokenFv -/* 80291CC0 0028EC20 38 00 00 00 */ li r0, 0 -/* 80291CC4 0028EC24 38 7F 09 A4 */ addi r3, r31, 0x9a4 -/* 80291CC8 0028EC28 98 1F 0B 78 */ stb r0, 0xb78(r31) -/* 80291CCC 0028EC2C 38 80 00 03 */ li r4, 3 -/* 80291CD0 0028EC30 98 1F 0B 79 */ stb r0, 0xb79(r31) -/* 80291CD4 0028EC34 90 1F 0B 80 */ stw r0, 0xb80(r31) -/* 80291CD8 0028EC38 90 1F 0B 84 */ stw r0, 0xb84(r31) -/* 80291CDC 0028EC3C 90 1F 0B 88 */ stw r0, 0xb88(r31) -/* 80291CE0 0028EC40 48 00 04 E5 */ bl sub_802921c4 -/* 80291CE4 0028EC44 38 7F 09 B8 */ addi r3, r31, 0x9b8 -/* 80291CE8 0028EC48 38 80 00 18 */ li r4, 0x18 -/* 80291CEC 0028EC4C 48 00 06 FD */ bl sub_802923e8 -/* 80291CF0 0028EC50 38 7F 09 DC */ addi r3, r31, 0x9dc -/* 80291CF4 0028EC54 38 80 00 04 */ li r4, 4 -/* 80291CF8 0028EC58 48 00 06 F1 */ bl sub_802923e8 -/* 80291CFC 0028EC5C 38 7F 0A A0 */ addi r3, r31, 0xaa0 -/* 80291D00 0028EC60 38 80 00 04 */ li r4, 4 -/* 80291D04 0028EC64 48 00 06 E5 */ bl sub_802923e8 -/* 80291D08 0028EC68 38 7F 0A B4 */ addi r3, r31, 0xab4 -/* 80291D0C 0028EC6C 38 80 00 03 */ li r4, 3 -/* 80291D10 0028EC70 48 00 07 E1 */ bl sub_802924f0 -/* 80291D14 0028EC74 38 7F 0B 70 */ addi r3, r31, 0xb70 -/* 80291D18 0028EC78 48 0A F0 6D */ bl Lock__6CTokenFv -/* 80291D1C 0028EC7C C0 22 BF 10 */ lfs f1, lbl_805ADC30@sda21(r2) -/* 80291D20 0028EC80 7F E3 FB 78 */ mr r3, r31 -/* 80291D24 0028EC84 4B E8 8D 65 */ bl SetMass__13CPhysicsActorFf -/* 80291D28 0028EC88 38 7F 0B 7C */ addi r3, r31, 0xb7c -/* 80291D2C 0028EC8C 38 80 00 04 */ li r4, 4 -/* 80291D30 0028EC90 4B F4 44 CD */ bl "reserve__Q24rstl37vectorFi" -/* 80291D34 0028EC94 3B 60 00 00 */ li r27, 0 -lbl_80291D38: -/* 80291D38 0028EC98 80 1F 0B 80 */ lwz r0, 0xb80(r31) -/* 80291D3C 0028EC9C 80 BF 0B 84 */ lwz r5, 0xb84(r31) -/* 80291D40 0028ECA0 7C 00 28 00 */ cmpw r0, r5 -/* 80291D44 0028ECA4 41 80 00 1C */ blt lbl_80291D60 -/* 80291D48 0028ECA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80291D4C 0028ECAC 38 7F 0B 7C */ addi r3, r31, 0xb7c -/* 80291D50 0028ECB0 38 80 00 04 */ li r4, 4 -/* 80291D54 0028ECB4 41 82 00 08 */ beq lbl_80291D5C -/* 80291D58 0028ECB8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80291D5C: -/* 80291D5C 0028ECBC 4B F4 44 A1 */ bl "reserve__Q24rstl37vectorFi" -lbl_80291D60: -/* 80291D60 0028ECC0 80 7F 0B 88 */ lwz r3, 0xb88(r31) -/* 80291D64 0028ECC4 80 1F 0B 80 */ lwz r0, 0xb80(r31) -/* 80291D68 0028ECC8 7C 63 02 15 */ add. r3, r3, r0 -/* 80291D6C 0028ECCC 41 82 00 0C */ beq lbl_80291D78 -/* 80291D70 0028ECD0 88 0D 99 7C */ lbz r0, lbl_805A853C@sda21(r13) -/* 80291D74 0028ECD4 98 03 00 00 */ stb r0, 0(r3) -lbl_80291D78: -/* 80291D78 0028ECD8 80 7F 0B 80 */ lwz r3, 0xb80(r31) -/* 80291D7C 0028ECDC 3B 7B 00 01 */ addi r27, r27, 1 -/* 80291D80 0028ECE0 28 1B 00 04 */ cmplwi r27, 4 -/* 80291D84 0028ECE4 38 03 00 01 */ addi r0, r3, 1 -/* 80291D88 0028ECE8 90 1F 0B 80 */ stw r0, 0xb80(r31) -/* 80291D8C 0028ECEC 41 80 FF AC */ blt lbl_80291D38 -/* 80291D90 0028ECF0 7F E3 FB 78 */ mr r3, r31 -/* 80291D94 0028ECF4 4B DC 1B 29 */ bl GetMaterialFilter__6CActorCFv -/* 80291D98 0028ECF8 80 AD 99 80 */ lwz r5, lbl_805A8540@sda21(r13) -/* 80291D9C 0028ECFC 38 80 00 01 */ li r4, 1 -/* 80291DA0 0028ED00 83 C3 00 08 */ lwz r30, 8(r3) -/* 80291DA4 0028ED04 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 80291DA8 0028ED08 38 60 00 00 */ li r3, 0 -/* 80291DAC 0028ED0C 48 0F 81 49 */ bl __shl2i -/* 80291DB0 0028ED10 80 AD 99 84 */ lwz r5, lbl_805A8544@sda21(r13) -/* 80291DB4 0028ED14 7C 9B 23 78 */ mr r27, r4 -/* 80291DB8 0028ED18 7C 7C 1B 78 */ mr r28, r3 -/* 80291DBC 0028ED1C 38 60 00 00 */ li r3, 0 -/* 80291DC0 0028ED20 38 80 00 01 */ li r4, 1 -/* 80291DC4 0028ED24 48 0F 81 31 */ bl __shl2i -/* 80291DC8 0028ED28 80 AD 99 88 */ lwz r5, lbl_805A8548@sda21(r13) -/* 80291DCC 0028ED2C 7F 7B 23 78 */ or r27, r27, r4 -/* 80291DD0 0028ED30 7F 9C 1B 78 */ or r28, r28, r3 -/* 80291DD4 0028ED34 38 60 00 00 */ li r3, 0 -/* 80291DD8 0028ED38 38 80 00 01 */ li r4, 1 -/* 80291DDC 0028ED3C 48 0F 81 19 */ bl __shl2i -/* 80291DE0 0028ED40 7F 9C 1B 78 */ or r28, r28, r3 -/* 80291DE4 0028ED44 7F 7B 23 78 */ or r27, r27, r4 -/* 80291DE8 0028ED48 7F E3 FB 78 */ mr r3, r31 -/* 80291DEC 0028ED4C 7F BD DB 78 */ or r29, r29, r27 -/* 80291DF0 0028ED50 7F DE E3 78 */ or r30, r30, r28 -/* 80291DF4 0028ED54 4B DC 1A C9 */ bl GetMaterialFilter__6CActorCFv -/* 80291DF8 0028ED58 80 A3 00 00 */ lwz r5, 0(r3) -/* 80291DFC 0028ED5C 38 00 00 03 */ li r0, 3 -/* 80291E00 0028ED60 80 C3 00 04 */ lwz r6, 4(r3) -/* 80291E04 0028ED64 7F E3 FB 78 */ mr r3, r31 -/* 80291E08 0028ED68 38 81 00 70 */ addi r4, r1, 0x70 -/* 80291E0C 0028ED6C 90 C1 00 74 */ stw r6, 0x74(r1) -/* 80291E10 0028ED70 90 A1 00 70 */ stw r5, 0x70(r1) -/* 80291E14 0028ED74 93 A1 00 7C */ stw r29, 0x7c(r1) -/* 80291E18 0028ED78 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80291E1C 0028ED7C 90 01 00 80 */ stw r0, 0x80(r1) -/* 80291E20 0028ED80 4B DC 1A 81 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80291E24 0028ED84 7F E3 FB 78 */ mr r3, r31 -/* 80291E28 0028ED88 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291E2C 0028ED8C 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80291E30 0028ED90 7D 89 03 A6 */ mtctr r12 -/* 80291E34 0028ED94 4E 80 04 21 */ bctrl -/* 80291E38 0028ED98 C0 02 BF 08 */ lfs f0, lbl_805ADC28@sda21(r2) -/* 80291E3C 0028ED9C D0 03 00 D8 */ stfs f0, 0xd8(r3) -/* 80291E40 0028EDA0 7F E3 FB 78 */ mr r3, r31 -/* 80291E44 0028EDA4 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80291E48 0028EDA8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80291E4C 0028EDAC 7C 08 03 A6 */ mtlr r0 -/* 80291E50 0028EDB0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80291E54 0028EDB4 4E 80 00 20 */ blr - -.global sub_80291e58 -sub_80291e58: -/* 80291E58 0028EDB8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80291E5C 0028EDBC 7C 08 02 A6 */ mflr r0 -/* 80291E60 0028EDC0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80291E64 0028EDC4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80291E68 0028EDC8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80291E6C 0028EDCC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80291E70 0028EDD0 7C 9D 23 78 */ mr r29, r4 -/* 80291E74 0028EDD4 93 81 00 20 */ stw r28, 0x20(r1) -/* 80291E78 0028EDD8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80291E7C 0028EDDC 41 82 00 6C */ beq lbl_80291EE8 -/* 80291E80 0028EDE0 80 1C 00 04 */ lwz r0, 4(r28) -/* 80291E84 0028EDE4 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 80291E88 0028EDE8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80291E8C 0028EDEC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80291E90 0028EDF0 7F FE 02 14 */ add r31, r30, r0 -/* 80291E94 0028EDF4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80291E98 0028EDF8 93 E1 00 08 */ stw r31, 8(r1) -/* 80291E9C 0028EDFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80291EA0 0028EE00 48 00 00 20 */ b lbl_80291EC0 -lbl_80291EA4: -/* 80291EA4 0028EE04 28 1E 00 00 */ cmplwi r30, 0 -/* 80291EA8 0028EE08 41 82 00 14 */ beq lbl_80291EBC -/* 80291EAC 0028EE0C 34 1E 00 04 */ addic. r0, r30, 4 -/* 80291EB0 0028EE10 41 82 00 0C */ beq lbl_80291EBC -/* 80291EB4 0028EE14 38 7E 00 04 */ addi r3, r30, 4 -/* 80291EB8 0028EE18 48 0A BC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80291EBC: -/* 80291EBC 0028EE1C 3B DE 00 14 */ addi r30, r30, 0x14 -lbl_80291EC0: -/* 80291EC0 0028EE20 7C 1E F8 40 */ cmplw r30, r31 -/* 80291EC4 0028EE24 40 82 FF E0 */ bne lbl_80291EA4 -/* 80291EC8 0028EE28 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80291ECC 0028EE2C 28 03 00 00 */ cmplwi r3, 0 -/* 80291ED0 0028EE30 41 82 00 08 */ beq lbl_80291ED8 -/* 80291ED4 0028EE34 48 08 3A 5D */ bl Free__7CMemoryFPCv -lbl_80291ED8: -/* 80291ED8 0028EE38 7F A0 07 35 */ extsh. r0, r29 -/* 80291EDC 0028EE3C 40 81 00 0C */ ble lbl_80291EE8 -/* 80291EE0 0028EE40 7F 83 E3 78 */ mr r3, r28 -/* 80291EE4 0028EE44 48 08 3A 4D */ bl Free__7CMemoryFPCv -lbl_80291EE8: -/* 80291EE8 0028EE48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80291EEC 0028EE4C 7F 83 E3 78 */ mr r3, r28 -/* 80291EF0 0028EE50 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80291EF4 0028EE54 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80291EF8 0028EE58 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80291EFC 0028EE5C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80291F00 0028EE60 7C 08 03 A6 */ mtlr r0 -/* 80291F04 0028EE64 38 21 00 30 */ addi r1, r1, 0x30 -/* 80291F08 0028EE68 4E 80 00 20 */ blr - -.global sub_80291f0c -sub_80291f0c: -/* 80291F0C 0028EE6C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80291F10 0028EE70 7C 08 02 A6 */ mflr r0 -/* 80291F14 0028EE74 90 01 00 24 */ stw r0, 0x24(r1) -/* 80291F18 0028EE78 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80291F1C 0028EE7C 7C 9F 23 78 */ mr r31, r4 -/* 80291F20 0028EE80 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80291F24 0028EE84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80291F28 0028EE88 41 82 00 54 */ beq lbl_80291F7C -/* 80291F2C 0028EE8C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80291F30 0028EE90 38 61 00 14 */ addi r3, r1, 0x14 -/* 80291F34 0028EE94 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80291F38 0028EE98 38 81 00 0C */ addi r4, r1, 0xc -/* 80291F3C 0028EE9C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80291F40 0028EEA0 7C A5 02 14 */ add r5, r5, r0 -/* 80291F44 0028EEA4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80291F48 0028EEA8 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80291F4C 0028EEAC 90 A1 00 08 */ stw r5, 8(r1) -/* 80291F50 0028EEB0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80291F54 0028EEB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291F58 0028EEB8 48 00 00 41 */ bl sub_80291f98 -/* 80291F5C 0028EEBC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80291F60 0028EEC0 28 03 00 00 */ cmplwi r3, 0 -/* 80291F64 0028EEC4 41 82 00 08 */ beq lbl_80291F6C -/* 80291F68 0028EEC8 48 08 39 C9 */ bl Free__7CMemoryFPCv -lbl_80291F6C: -/* 80291F6C 0028EECC 7F E0 07 35 */ extsh. r0, r31 -/* 80291F70 0028EED0 40 81 00 0C */ ble lbl_80291F7C -/* 80291F74 0028EED4 7F C3 F3 78 */ mr r3, r30 -/* 80291F78 0028EED8 48 08 39 B9 */ bl Free__7CMemoryFPCv -lbl_80291F7C: -/* 80291F7C 0028EEDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80291F80 0028EEE0 7F C3 F3 78 */ mr r3, r30 -/* 80291F84 0028EEE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80291F88 0028EEE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80291F8C 0028EEEC 7C 08 03 A6 */ mtlr r0 -/* 80291F90 0028EEF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80291F94 0028EEF4 4E 80 00 20 */ blr - -.global sub_80291f98 -sub_80291f98: -/* 80291F98 0028EEF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291F9C 0028EEFC 7C 08 02 A6 */ mflr r0 -/* 80291FA0 0028EF00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291FA4 0028EF04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80291FA8 0028EF08 93 C1 00 08 */ stw r30, 8(r1) -/* 80291FAC 0028EF0C 7C 9E 23 78 */ mr r30, r4 -/* 80291FB0 0028EF10 83 E3 00 00 */ lwz r31, 0(r3) -/* 80291FB4 0028EF14 48 00 00 10 */ b lbl_80291FC4 -lbl_80291FB8: -/* 80291FB8 0028EF18 7F E3 FB 78 */ mr r3, r31 -/* 80291FBC 0028EF1C 48 00 00 2D */ bl sub_80291fe8 -/* 80291FC0 0028EF20 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80291FC4: -/* 80291FC4 0028EF24 80 1E 00 00 */ lwz r0, 0(r30) -/* 80291FC8 0028EF28 7C 1F 00 40 */ cmplw r31, r0 -/* 80291FCC 0028EF2C 40 82 FF EC */ bne lbl_80291FB8 -/* 80291FD0 0028EF30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291FD4 0028EF34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291FD8 0028EF38 83 C1 00 08 */ lwz r30, 8(r1) -/* 80291FDC 0028EF3C 7C 08 03 A6 */ mtlr r0 -/* 80291FE0 0028EF40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291FE4 0028EF44 4E 80 00 20 */ blr - -.global sub_80291fe8 -sub_80291fe8: -/* 80291FE8 0028EF48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80291FEC 0028EF4C 7C 08 02 A6 */ mflr r0 -/* 80291FF0 0028EF50 28 03 00 00 */ cmplwi r3, 0 -/* 80291FF4 0028EF54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80291FF8 0028EF58 41 82 00 4C */ beq lbl_80292044 -/* 80291FFC 0028EF5C 34 03 00 04 */ addic. r0, r3, 4 -/* 80292000 0028EF60 41 82 00 44 */ beq lbl_80292044 -/* 80292004 0028EF64 80 03 00 08 */ lwz r0, 8(r3) -/* 80292008 0028EF68 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8029200C 0028EF6C 54 00 08 3C */ slwi r0, r0, 1 -/* 80292010 0028EF70 7C 03 02 14 */ add r0, r3, r0 -/* 80292014 0028EF74 90 61 00 0C */ stw r3, 0xc(r1) -/* 80292018 0028EF78 7C 64 1B 78 */ mr r4, r3 -/* 8029201C 0028EF7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292020 0028EF80 90 01 00 10 */ stw r0, 0x10(r1) -/* 80292024 0028EF84 90 61 00 08 */ stw r3, 8(r1) -/* 80292028 0028EF88 48 00 00 08 */ b lbl_80292030 -lbl_8029202C: -/* 8029202C 0028EF8C 38 84 00 02 */ addi r4, r4, 2 -lbl_80292030: -/* 80292030 0028EF90 7C 04 00 40 */ cmplw r4, r0 -/* 80292034 0028EF94 40 82 FF F8 */ bne lbl_8029202C -/* 80292038 0028EF98 28 03 00 00 */ cmplwi r3, 0 -/* 8029203C 0028EF9C 41 82 00 08 */ beq lbl_80292044 -/* 80292040 0028EFA0 48 08 38 F1 */ bl Free__7CMemoryFPCv -lbl_80292044: -/* 80292044 0028EFA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80292048 0028EFA8 7C 08 03 A6 */ mtlr r0 -/* 8029204C 0028EFAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80292050 0028EFB0 4E 80 00 20 */ blr - -.global __dt__12COmegaPirateFv -__dt__12COmegaPirateFv: -/* 80292054 0028EFB4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80292058 0028EFB8 7C 08 02 A6 */ mflr r0 -/* 8029205C 0028EFBC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80292060 0028EFC0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80292064 0028EFC4 7C 9F 23 78 */ mr r31, r4 -/* 80292068 0028EFC8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029206C 0028EFCC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80292070 0028EFD0 41 82 01 30 */ beq lbl_802921A0 -/* 80292074 0028EFD4 3C 60 80 3F */ lis r3, lbl_803EB868@ha -/* 80292078 0028EFD8 34 1E 0B 7C */ addic. r0, r30, 0xb7c -/* 8029207C 0028EFDC 38 03 B8 68 */ addi r0, r3, lbl_803EB868@l -/* 80292080 0028EFE0 90 1E 00 00 */ stw r0, 0(r30) -/* 80292084 0028EFE4 41 82 00 40 */ beq lbl_802920C4 -/* 80292088 0028EFE8 80 7E 0B 88 */ lwz r3, 0xb88(r30) -/* 8029208C 0028EFEC 80 1E 0B 80 */ lwz r0, 0xb80(r30) -/* 80292090 0028EFF0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80292094 0028EFF4 7C 83 02 14 */ add r4, r3, r0 -/* 80292098 0028EFF8 7C 03 20 50 */ subf r0, r3, r4 -/* 8029209C 0028EFFC 90 81 00 24 */ stw r4, 0x24(r1) -/* 802920A0 0028F000 90 81 00 20 */ stw r4, 0x20(r1) -/* 802920A4 0028F004 90 61 00 18 */ stw r3, 0x18(r1) -/* 802920A8 0028F008 7C 09 03 A6 */ mtctr r0 -/* 802920AC 0028F00C 7C 03 20 40 */ cmplw r3, r4 -/* 802920B0 0028F010 41 82 00 08 */ beq lbl_802920B8 -lbl_802920B4: -/* 802920B4 0028F014 42 00 00 00 */ bdnz lbl_802920B4 -lbl_802920B8: -/* 802920B8 0028F018 28 03 00 00 */ cmplwi r3, 0 -/* 802920BC 0028F01C 41 82 00 08 */ beq lbl_802920C4 -/* 802920C0 0028F020 48 08 38 71 */ bl Free__7CMemoryFPCv -lbl_802920C4: -/* 802920C4 0028F024 34 1E 0B 70 */ addic. r0, r30, 0xb70 -/* 802920C8 0028F028 41 82 00 10 */ beq lbl_802920D8 -/* 802920CC 0028F02C 38 7E 0B 70 */ addi r3, r30, 0xb70 -/* 802920D0 0028F030 38 80 00 00 */ li r4, 0 -/* 802920D4 0028F034 48 0A ED 6D */ bl __dt__6CTokenFv -lbl_802920D8: -/* 802920D8 0028F038 34 1E 0A B4 */ addic. r0, r30, 0xab4 -/* 802920DC 0028F03C 41 82 00 44 */ beq lbl_80292120 -/* 802920E0 0028F040 80 1E 0A B8 */ lwz r0, 0xab8(r30) -/* 802920E4 0028F044 80 7E 0A C0 */ lwz r3, 0xac0(r30) -/* 802920E8 0028F048 54 00 10 3A */ slwi r0, r0, 2 -/* 802920EC 0028F04C 7C 03 02 14 */ add r0, r3, r0 -/* 802920F0 0028F050 90 61 00 0C */ stw r3, 0xc(r1) -/* 802920F4 0028F054 7C 64 1B 78 */ mr r4, r3 -/* 802920F8 0028F058 90 01 00 14 */ stw r0, 0x14(r1) -/* 802920FC 0028F05C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80292100 0028F060 90 61 00 08 */ stw r3, 8(r1) -/* 80292104 0028F064 48 00 00 08 */ b lbl_8029210C -lbl_80292108: -/* 80292108 0028F068 38 84 00 04 */ addi r4, r4, 4 -lbl_8029210C: -/* 8029210C 0028F06C 7C 04 00 40 */ cmplw r4, r0 -/* 80292110 0028F070 40 82 FF F8 */ bne lbl_80292108 -/* 80292114 0028F074 28 03 00 00 */ cmplwi r3, 0 -/* 80292118 0028F078 41 82 00 08 */ beq lbl_80292120 -/* 8029211C 0028F07C 48 08 38 15 */ bl Free__7CMemoryFPCv -lbl_80292120: -/* 80292120 0028F080 38 7E 0A A0 */ addi r3, r30, 0xaa0 -/* 80292124 0028F084 38 80 FF FF */ li r4, -1 -/* 80292128 0028F088 4B FF FD 31 */ bl sub_80291e58 -/* 8029212C 0028F08C 34 1E 0A 9C */ addic. r0, r30, 0xa9c -/* 80292130 0028F090 41 82 00 10 */ beq lbl_80292140 -/* 80292134 0028F094 80 7E 0A 9C */ lwz r3, 0xa9c(r30) -/* 80292138 0028F098 38 80 00 01 */ li r4, 1 -/* 8029213C 0028F09C 4B F1 57 A1 */ bl sub_801a78dc -lbl_80292140: -/* 80292140 0028F0A0 34 1E 0A 38 */ addic. r0, r30, 0xa38 -/* 80292144 0028F0A4 41 82 00 10 */ beq lbl_80292154 -/* 80292148 0028F0A8 80 7E 0A 38 */ lwz r3, 0xa38(r30) -/* 8029214C 0028F0AC 38 80 00 01 */ li r4, 1 -/* 80292150 0028F0B0 4B F1 57 8D */ bl sub_801a78dc -lbl_80292154: -/* 80292154 0028F0B4 38 7E 09 F0 */ addi r3, r30, 0x9f0 -/* 80292158 0028F0B8 38 80 FF FF */ li r4, -1 -/* 8029215C 0028F0BC 48 0C 11 21 */ bl __dt__13CSkinnedModelFv -/* 80292160 0028F0C0 38 7E 09 DC */ addi r3, r30, 0x9dc -/* 80292164 0028F0C4 38 80 FF FF */ li r4, -1 -/* 80292168 0028F0C8 4B FF FC F1 */ bl sub_80291e58 -/* 8029216C 0028F0CC 38 7E 09 B8 */ addi r3, r30, 0x9b8 -/* 80292170 0028F0D0 38 80 FF FF */ li r4, -1 -/* 80292174 0028F0D4 4B FF FC E5 */ bl sub_80291e58 -/* 80292178 0028F0D8 38 7E 09 A4 */ addi r3, r30, 0x9a4 -/* 8029217C 0028F0DC 38 80 FF FF */ li r4, -1 -/* 80292180 0028F0E0 4B FF FD 8D */ bl sub_80291f0c -/* 80292184 0028F0E4 7F C3 F3 78 */ mr r3, r30 -/* 80292188 0028F0E8 38 80 00 00 */ li r4, 0 -/* 8029218C 0028F0EC 4B F9 B3 6D */ bl __dt__12CElitePirateFv -/* 80292190 0028F0F0 7F E0 07 35 */ extsh. r0, r31 -/* 80292194 0028F0F4 40 81 00 0C */ ble lbl_802921A0 -/* 80292198 0028F0F8 7F C3 F3 78 */ mr r3, r30 -/* 8029219C 0028F0FC 48 08 37 95 */ bl Free__7CMemoryFPCv -lbl_802921A0: -/* 802921A0 0028F100 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802921A4 0028F104 7F C3 F3 78 */ mr r3, r30 -/* 802921A8 0028F108 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802921AC 0028F10C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802921B0 0028F110 7C 08 03 A6 */ mtlr r0 -/* 802921B4 0028F114 38 21 00 30 */ addi r1, r1, 0x30 -/* 802921B8 0028F118 4E 80 00 20 */ blr - -.global sub_802921bc -sub_802921bc: -/* 802921BC 0028F11C 38 60 00 00 */ li r3, 0 -/* 802921C0 0028F120 4E 80 00 20 */ blr - -.global sub_802921c4 -sub_802921c4: -/* 802921C4 0028F124 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802921C8 0028F128 7C 08 02 A6 */ mflr r0 -/* 802921CC 0028F12C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802921D0 0028F130 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802921D4 0028F134 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802921D8 0028F138 7C 9E 23 78 */ mr r30, r4 -/* 802921DC 0028F13C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802921E0 0028F140 7C 7D 1B 78 */ mr r29, r3 -/* 802921E4 0028F144 80 03 00 08 */ lwz r0, 8(r3) -/* 802921E8 0028F148 7C 1E 00 00 */ cmpw r30, r0 -/* 802921EC 0028F14C 40 81 00 90 */ ble lbl_8029227C -/* 802921F0 0028F150 1C 7E 00 14 */ mulli r3, r30, 0x14 -/* 802921F4 0028F154 2C 03 00 00 */ cmpwi r3, 0 -/* 802921F8 0028F158 40 82 00 0C */ bne lbl_80292204 -/* 802921FC 0028F15C 3B E0 00 00 */ li r31, 0 -/* 80292200 0028F160 48 00 00 1C */ b lbl_8029221C -lbl_80292204: -/* 80292204 0028F164 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 80292208 0028F168 38 A0 00 00 */ li r5, 0 -/* 8029220C 0028F16C 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 80292210 0028F170 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 80292214 0028F174 48 08 36 05 */ bl __nwa__FUlPCcPCc -/* 80292218 0028F178 7C 7F 1B 78 */ mr r31, r3 -lbl_8029221C: -/* 8029221C 0028F17C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80292220 0028F180 7F E5 FB 78 */ mr r5, r31 -/* 80292224 0028F184 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80292228 0028F188 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029222C 0028F18C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80292230 0028F190 38 81 00 0C */ addi r4, r1, 0xc -/* 80292234 0028F194 7C C6 02 14 */ add r6, r6, r0 -/* 80292238 0028F198 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8029223C 0028F19C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80292240 0028F1A0 90 C1 00 08 */ stw r6, 8(r1) -/* 80292244 0028F1A4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80292248 0028F1A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029224C 0028F1AC 48 00 00 99 */ bl sub_802922e4 -/* 80292250 0028F1B0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80292254 0028F1B4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80292258 0028F1B8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029225C 0028F1BC 7C 83 02 14 */ add r4, r3, r0 -/* 80292260 0028F1C0 48 00 00 39 */ bl sub_80292298 -/* 80292264 0028F1C4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80292268 0028F1C8 28 03 00 00 */ cmplwi r3, 0 -/* 8029226C 0028F1CC 41 82 00 08 */ beq lbl_80292274 -/* 80292270 0028F1D0 48 08 36 C1 */ bl Free__7CMemoryFPCv -lbl_80292274: -/* 80292274 0028F1D4 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80292278 0028F1D8 93 DD 00 08 */ stw r30, 8(r29) -lbl_8029227C: -/* 8029227C 0028F1DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80292280 0028F1E0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80292284 0028F1E4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80292288 0028F1E8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8029228C 0028F1EC 7C 08 03 A6 */ mtlr r0 -/* 80292290 0028F1F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80292294 0028F1F4 4E 80 00 20 */ blr - -.global sub_80292298 -sub_80292298: -/* 80292298 0028F1F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029229C 0028F1FC 7C 08 02 A6 */ mflr r0 -/* 802922A0 0028F200 90 01 00 14 */ stw r0, 0x14(r1) -/* 802922A4 0028F204 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802922A8 0028F208 7C 7F 1B 78 */ mr r31, r3 -/* 802922AC 0028F20C 93 C1 00 08 */ stw r30, 8(r1) -/* 802922B0 0028F210 7C 9E 23 78 */ mr r30, r4 -/* 802922B4 0028F214 48 00 00 10 */ b lbl_802922C4 -lbl_802922B8: -/* 802922B8 0028F218 7F E3 FB 78 */ mr r3, r31 -/* 802922BC 0028F21C 4B FF FD 2D */ bl sub_80291fe8 -/* 802922C0 0028F220 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_802922C4: -/* 802922C4 0028F224 7C 1F F0 40 */ cmplw r31, r30 -/* 802922C8 0028F228 40 82 FF F0 */ bne lbl_802922B8 -/* 802922CC 0028F22C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802922D0 0028F230 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802922D4 0028F234 83 C1 00 08 */ lwz r30, 8(r1) -/* 802922D8 0028F238 7C 08 03 A6 */ mtlr r0 -/* 802922DC 0028F23C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802922E0 0028F240 4E 80 00 20 */ blr - -.global sub_802922e4 -sub_802922e4: -/* 802922E4 0028F244 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802922E8 0028F248 7C 08 02 A6 */ mflr r0 -/* 802922EC 0028F24C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802922F0 0028F250 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802922F4 0028F254 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802922F8 0028F258 7C BE 2B 78 */ mr r30, r5 -/* 802922FC 0028F25C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80292300 0028F260 7C 9D 23 78 */ mr r29, r4 -/* 80292304 0028F264 83 E3 00 00 */ lwz r31, 0(r3) -/* 80292308 0028F268 48 00 00 B4 */ b lbl_802923BC -lbl_8029230C: -/* 8029230C 0028F26C 28 1E 00 00 */ cmplwi r30, 0 -/* 80292310 0028F270 41 82 00 A4 */ beq lbl_802923B4 -/* 80292314 0028F274 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80292318 0028F278 B0 1E 00 00 */ sth r0, 0(r30) -/* 8029231C 0028F27C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80292320 0028F280 90 1E 00 08 */ stw r0, 8(r30) -/* 80292324 0028F284 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80292328 0028F288 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8029232C 0028F28C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80292330 0028F290 2C 00 00 00 */ cmpwi r0, 0 -/* 80292334 0028F294 40 82 00 1C */ bne lbl_80292350 -/* 80292338 0028F298 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8029233C 0028F29C 2C 00 00 00 */ cmpwi r0, 0 -/* 80292340 0028F2A0 40 82 00 10 */ bne lbl_80292350 -/* 80292344 0028F2A4 38 00 00 00 */ li r0, 0 -/* 80292348 0028F2A8 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8029234C 0028F2AC 48 00 00 68 */ b lbl_802923B4 -lbl_80292350: -/* 80292350 0028F2B0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80292354 0028F2B4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e -/* 80292358 0028F2B8 40 82 00 10 */ bne lbl_80292368 -/* 8029235C 0028F2BC 38 00 00 00 */ li r0, 0 -/* 80292360 0028F2C0 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80292364 0028F2C4 48 00 00 1C */ b lbl_80292380 -lbl_80292368: -/* 80292368 0028F2C8 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 8029236C 0028F2CC 38 A0 00 00 */ li r5, 0 -/* 80292370 0028F2D0 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 80292374 0028F2D4 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 80292378 0028F2D8 48 08 34 A1 */ bl __nwa__FUlPCcPCc -/* 8029237C 0028F2DC 90 7E 00 10 */ stw r3, 0x10(r30) -lbl_80292380: -/* 80292380 0028F2E0 80 1E 00 08 */ lwz r0, 8(r30) -/* 80292384 0028F2E4 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 80292388 0028F2E8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8029238C 0028F2EC 7C 09 03 A6 */ mtctr r0 -/* 80292390 0028F2F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80292394 0028F2F4 40 81 00 20 */ ble lbl_802923B4 -lbl_80292398: -/* 80292398 0028F2F8 28 03 00 00 */ cmplwi r3, 0 -/* 8029239C 0028F2FC 41 82 00 0C */ beq lbl_802923A8 -/* 802923A0 0028F300 A0 04 00 00 */ lhz r0, 0(r4) -/* 802923A4 0028F304 B0 03 00 00 */ sth r0, 0(r3) -lbl_802923A8: -/* 802923A8 0028F308 38 63 00 02 */ addi r3, r3, 2 -/* 802923AC 0028F30C 38 84 00 02 */ addi r4, r4, 2 -/* 802923B0 0028F310 42 00 FF E8 */ bdnz lbl_80292398 -lbl_802923B4: -/* 802923B4 0028F314 3B DE 00 14 */ addi r30, r30, 0x14 -/* 802923B8 0028F318 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_802923BC: -/* 802923BC 0028F31C 80 1D 00 00 */ lwz r0, 0(r29) -/* 802923C0 0028F320 7C 1F 00 40 */ cmplw r31, r0 -/* 802923C4 0028F324 40 82 FF 48 */ bne lbl_8029230C -/* 802923C8 0028F328 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802923CC 0028F32C 7F C3 F3 78 */ mr r3, r30 -/* 802923D0 0028F330 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802923D4 0028F334 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802923D8 0028F338 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802923DC 0028F33C 7C 08 03 A6 */ mtlr r0 -/* 802923E0 0028F340 38 21 00 20 */ addi r1, r1, 0x20 -/* 802923E4 0028F344 4E 80 00 20 */ blr - -.global sub_802923e8 -sub_802923e8: -/* 802923E8 0028F348 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802923EC 0028F34C 7C 08 02 A6 */ mflr r0 -/* 802923F0 0028F350 90 01 00 34 */ stw r0, 0x34(r1) -/* 802923F4 0028F354 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802923F8 0028F358 7C 9F 23 78 */ mr r31, r4 -/* 802923FC 0028F35C 7C 7E 1B 78 */ mr r30, r3 -/* 80292400 0028F360 80 03 00 08 */ lwz r0, 8(r3) -/* 80292404 0028F364 7C 1F 00 00 */ cmpw r31, r0 -/* 80292408 0028F368 40 81 00 D4 */ ble lbl_802924DC -/* 8029240C 0028F36C 1C 7F 00 14 */ mulli r3, r31, 0x14 -/* 80292410 0028F370 2C 03 00 00 */ cmpwi r3, 0 -/* 80292414 0028F374 40 82 00 0C */ bne lbl_80292420 -/* 80292418 0028F378 3B 80 00 00 */ li r28, 0 -/* 8029241C 0028F37C 48 00 00 1C */ b lbl_80292438 -lbl_80292420: -/* 80292420 0028F380 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 80292424 0028F384 38 A0 00 00 */ li r5, 0 -/* 80292428 0028F388 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 8029242C 0028F38C 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 80292430 0028F390 48 08 33 E9 */ bl __nwa__FUlPCcPCc -/* 80292434 0028F394 7C 7C 1B 78 */ mr r28, r3 -lbl_80292438: -/* 80292438 0028F398 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029243C 0028F39C 7F 9B E3 78 */ mr r27, r28 -/* 80292440 0028F3A0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80292444 0028F3A4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80292448 0028F3A8 93 41 00 10 */ stw r26, 0x10(r1) -/* 8029244C 0028F3AC 7F BA 02 14 */ add r29, r26, r0 -/* 80292450 0028F3B0 93 41 00 14 */ stw r26, 0x14(r1) -/* 80292454 0028F3B4 93 A1 00 08 */ stw r29, 8(r1) -/* 80292458 0028F3B8 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8029245C 0028F3BC 48 00 00 28 */ b lbl_80292484 -lbl_80292460: -/* 80292460 0028F3C0 28 1B 00 00 */ cmplwi r27, 0 -/* 80292464 0028F3C4 41 82 00 18 */ beq lbl_8029247C -/* 80292468 0028F3C8 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8029246C 0028F3CC 38 7B 00 04 */ addi r3, r27, 4 -/* 80292470 0028F3D0 38 9A 00 04 */ addi r4, r26, 4 -/* 80292474 0028F3D4 B0 1B 00 00 */ sth r0, 0(r27) -/* 80292478 0028F3D8 48 0A BC E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8029247C: -/* 8029247C 0028F3DC 3B 7B 00 14 */ addi r27, r27, 0x14 -/* 80292480 0028F3E0 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_80292484: -/* 80292484 0028F3E4 7C 1A E8 40 */ cmplw r26, r29 -/* 80292488 0028F3E8 40 82 FF D8 */ bne lbl_80292460 -/* 8029248C 0028F3EC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80292490 0028F3F0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80292494 0028F3F4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80292498 0028F3F8 7F 7A 02 14 */ add r27, r26, r0 -/* 8029249C 0028F3FC 48 00 00 20 */ b lbl_802924BC -lbl_802924A0: -/* 802924A0 0028F400 28 1A 00 00 */ cmplwi r26, 0 -/* 802924A4 0028F404 41 82 00 14 */ beq lbl_802924B8 -/* 802924A8 0028F408 34 1A 00 04 */ addic. r0, r26, 4 -/* 802924AC 0028F40C 41 82 00 0C */ beq lbl_802924B8 -/* 802924B0 0028F410 38 7A 00 04 */ addi r3, r26, 4 -/* 802924B4 0028F414 48 0A B6 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802924B8: -/* 802924B8 0028F418 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_802924BC: -/* 802924BC 0028F41C 7C 1A D8 40 */ cmplw r26, r27 -/* 802924C0 0028F420 40 82 FF E0 */ bne lbl_802924A0 -/* 802924C4 0028F424 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802924C8 0028F428 28 03 00 00 */ cmplwi r3, 0 -/* 802924CC 0028F42C 41 82 00 08 */ beq lbl_802924D4 -/* 802924D0 0028F430 48 08 34 61 */ bl Free__7CMemoryFPCv -lbl_802924D4: -/* 802924D4 0028F434 93 9E 00 0C */ stw r28, 0xc(r30) -/* 802924D8 0028F438 93 FE 00 08 */ stw r31, 8(r30) -lbl_802924DC: -/* 802924DC 0028F43C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802924E0 0028F440 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802924E4 0028F444 7C 08 03 A6 */ mtlr r0 -/* 802924E8 0028F448 38 21 00 30 */ addi r1, r1, 0x30 -/* 802924EC 0028F44C 4E 80 00 20 */ blr - -.global sub_802924f0 -sub_802924f0: -/* 802924F0 0028F450 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802924F4 0028F454 7C 08 02 A6 */ mflr r0 -/* 802924F8 0028F458 90 01 00 34 */ stw r0, 0x34(r1) -/* 802924FC 0028F45C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80292500 0028F460 7C 9F 23 78 */ mr r31, r4 -/* 80292504 0028F464 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80292508 0028F468 7C 7E 1B 78 */ mr r30, r3 -/* 8029250C 0028F46C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80292510 0028F470 80 03 00 08 */ lwz r0, 8(r3) -/* 80292514 0028F474 7C 1F 00 00 */ cmpw r31, r0 -/* 80292518 0028F478 40 81 00 AC */ ble lbl_802925C4 -/* 8029251C 0028F47C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80292520 0028F480 40 82 00 0C */ bne lbl_8029252C -/* 80292524 0028F484 3B A0 00 00 */ li r29, 0 -/* 80292528 0028F488 48 00 00 1C */ b lbl_80292544 -lbl_8029252C: -/* 8029252C 0028F48C 3C 80 80 3D */ lis r4, lbl_803D5A74@ha -/* 80292530 0028F490 38 A0 00 00 */ li r5, 0 -/* 80292534 0028F494 38 84 5A 74 */ addi r4, r4, lbl_803D5A74@l -/* 80292538 0028F498 38 84 00 C9 */ addi r4, r4, 0xc9 -/* 8029253C 0028F49C 48 08 32 DD */ bl __nwa__FUlPCcPCc -/* 80292540 0028F4A0 7C 7D 1B 78 */ mr r29, r3 -lbl_80292544: -/* 80292544 0028F4A4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80292548 0028F4A8 7F A4 EB 78 */ mr r4, r29 -/* 8029254C 0028F4AC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80292550 0028F4B0 54 00 10 3A */ slwi r0, r0, 2 -/* 80292554 0028F4B4 7C 65 02 14 */ add r3, r5, r0 -/* 80292558 0028F4B8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8029255C 0028F4BC 90 61 00 08 */ stw r3, 8(r1) -/* 80292560 0028F4C0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80292564 0028F4C4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80292568 0028F4C8 48 00 00 1C */ b lbl_80292584 -lbl_8029256C: -/* 8029256C 0028F4CC 28 04 00 00 */ cmplwi r4, 0 -/* 80292570 0028F4D0 41 82 00 0C */ beq lbl_8029257C -/* 80292574 0028F4D4 80 05 00 00 */ lwz r0, 0(r5) -/* 80292578 0028F4D8 90 04 00 00 */ stw r0, 0(r4) -lbl_8029257C: -/* 8029257C 0028F4DC 38 84 00 04 */ addi r4, r4, 4 -/* 80292580 0028F4E0 38 A5 00 04 */ addi r5, r5, 4 -lbl_80292584: -/* 80292584 0028F4E4 7C 05 18 40 */ cmplw r5, r3 -/* 80292588 0028F4E8 40 82 FF E4 */ bne lbl_8029256C -/* 8029258C 0028F4EC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80292590 0028F4F0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80292594 0028F4F4 54 00 10 3A */ slwi r0, r0, 2 -/* 80292598 0028F4F8 7C 64 1B 78 */ mr r4, r3 -/* 8029259C 0028F4FC 7C 03 02 14 */ add r0, r3, r0 -/* 802925A0 0028F500 48 00 00 08 */ b lbl_802925A8 -lbl_802925A4: -/* 802925A4 0028F504 38 84 00 04 */ addi r4, r4, 4 -lbl_802925A8: -/* 802925A8 0028F508 7C 04 00 40 */ cmplw r4, r0 -/* 802925AC 0028F50C 40 82 FF F8 */ bne lbl_802925A4 -/* 802925B0 0028F510 28 03 00 00 */ cmplwi r3, 0 -/* 802925B4 0028F514 41 82 00 08 */ beq lbl_802925BC -/* 802925B8 0028F518 48 08 33 79 */ bl Free__7CMemoryFPCv -lbl_802925BC: -/* 802925BC 0028F51C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802925C0 0028F520 93 FE 00 08 */ stw r31, 8(r30) -lbl_802925C4: -/* 802925C4 0028F524 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802925C8 0028F528 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802925CC 0028F52C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802925D0 0028F530 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802925D4 0028F534 7C 08 03 A6 */ mtlr r0 -/* 802925D8 0028F538 38 21 00 30 */ addi r1, r1, 0x30 -/* 802925DC 0028F53C 4E 80 00 20 */ blr - -.global sub_802925e0 -sub_802925e0: -/* 802925E0 0028F540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802925E4 0028F544 7C 08 02 A6 */ mflr r0 -/* 802925E8 0028F548 90 01 00 14 */ stw r0, 0x14(r1) -/* 802925EC 0028F54C 80 63 01 70 */ lwz r3, 0x170(r3) -/* 802925F0 0028F550 28 03 00 00 */ cmplwi r3, 0 -/* 802925F4 0028F554 41 82 00 14 */ beq lbl_80292608 -/* 802925F8 0028F558 81 83 00 00 */ lwz r12, 0(r3) -/* 802925FC 0028F55C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80292600 0028F560 7D 89 03 A6 */ mtctr r12 -/* 80292604 0028F564 4E 80 04 21 */ bctrl -lbl_80292608: -/* 80292608 0028F568 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029260C 0028F56C 7C 08 03 A6 */ mtlr r0 -/* 80292610 0028F570 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292614 0028F574 4E 80 00 20 */ blr - -.global sub_80292618 -sub_80292618: -/* 80292618 0028F578 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029261C 0028F57C 7C 08 02 A6 */ mflr r0 -/* 80292620 0028F580 90 01 00 44 */ stw r0, 0x44(r1) -/* 80292624 0028F584 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80292628 0028F588 7C 7B 1B 78 */ mr r27, r3 -/* 8029262C 0028F58C 7C 9C 23 78 */ mr r28, r4 -/* 80292630 0028F590 83 E3 01 54 */ lwz r31, 0x154(r3) -/* 80292634 0028F594 48 00 00 64 */ b lbl_80292698 -lbl_80292638: -/* 80292638 0028F598 83 DF 00 04 */ lwz r30, 4(r31) -/* 8029263C 0028F59C 7F 83 E3 78 */ mr r3, r28 -/* 80292640 0028F5A0 A0 1F 00 08 */ lhz r0, 8(r31) -/* 80292644 0028F5A4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80292648 0028F5A8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8029264C 0028F5AC 4B DB 9F 29 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80292650 0028F5B0 7C 64 1B 78 */ mr r4, r3 -/* 80292654 0028F5B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80292658 0028F5B8 4B E1 D6 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8029265C 0028F5BC 83 A3 00 04 */ lwz r29, 4(r3) -/* 80292660 0028F5C0 28 1D 00 00 */ cmplwi r29, 0 -/* 80292664 0028F5C4 41 82 00 30 */ beq lbl_80292694 -/* 80292668 0028F5C8 7F E4 FB 78 */ mr r4, r31 -/* 8029266C 0028F5CC 38 7B 01 50 */ addi r3, r27, 0x150 -/* 80292670 0028F5D0 4B E6 F7 9D */ bl sub_80101e0c -/* 80292674 0028F5D4 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80292678 0028F5D8 7F 83 E3 78 */ mr r3, r28 -/* 8029267C 0028F5DC 7F A4 EB 78 */ mr r4, r29 -/* 80292680 0028F5E0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80292684 0028F5E4 B0 01 00 08 */ sth r0, 8(r1) -/* 80292688 0028F5E8 38 C0 00 2F */ li r6, 0x2f -/* 8029268C 0028F5EC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80292690 0028F5F0 4B DB 18 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80292694: -/* 80292694 0028F5F4 7F DF F3 78 */ mr r31, r30 -lbl_80292698: -/* 80292698 0028F5F8 80 1B 01 58 */ lwz r0, 0x158(r27) -/* 8029269C 0028F5FC 7C 1F 00 40 */ cmplw r31, r0 -/* 802926A0 0028F600 40 82 FF 98 */ bne lbl_80292638 -/* 802926A4 0028F604 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802926A8 0028F608 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802926AC 0028F60C 7C 08 03 A6 */ mtlr r0 -/* 802926B0 0028F610 38 21 00 40 */ addi r1, r1, 0x40 -/* 802926B4 0028F614 4E 80 00 20 */ blr - -.global UpdateInhabitants__11CPhazonPoolFR13CStateManager -UpdateInhabitants__11CPhazonPoolFR13CStateManager: -/* 802926B8 0028F618 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802926BC 0028F61C 7C 08 02 A6 */ mflr r0 -/* 802926C0 0028F620 90 01 00 94 */ stw r0, 0x94(r1) -/* 802926C4 0028F624 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 802926C8 0028F628 7C 7B 1B 78 */ mr r27, r3 -/* 802926CC 0028F62C 7C 9C 23 78 */ mr r28, r4 -/* 802926D0 0028F630 83 E3 01 54 */ lwz r31, 0x154(r3) -/* 802926D4 0028F634 48 00 01 34 */ b lbl_80292808 -lbl_802926D8: -/* 802926D8 0028F638 83 DF 00 04 */ lwz r30, 4(r31) -/* 802926DC 0028F63C 7F 83 E3 78 */ mr r3, r28 -/* 802926E0 0028F640 A0 1F 00 08 */ lhz r0, 8(r31) -/* 802926E4 0028F644 38 81 00 18 */ addi r4, r1, 0x18 -/* 802926E8 0028F648 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802926EC 0028F64C 4B DB 9E 89 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 802926F0 0028F650 7C 64 1B 78 */ mr r4, r3 -/* 802926F4 0028F654 38 61 00 1C */ addi r3, r1, 0x1c -/* 802926F8 0028F658 4B E1 D5 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 802926FC 0028F65C 83 A3 00 04 */ lwz r29, 4(r3) -/* 80292700 0028F660 28 1D 00 00 */ cmplwi r29, 0 -/* 80292704 0028F664 41 82 00 8C */ beq lbl_80292790 -/* 80292708 0028F668 7F A4 EB 78 */ mr r4, r29 -/* 8029270C 0028F66C 38 61 00 3C */ addi r3, r1, 0x3c -/* 80292710 0028F670 81 9D 00 00 */ lwz r12, 0(r29) -/* 80292714 0028F674 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80292718 0028F678 7D 89 03 A6 */ mtctr r12 -/* 8029271C 0028F67C 4E 80 04 21 */ bctrl -/* 80292720 0028F680 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80292724 0028F684 28 00 00 00 */ cmplwi r0, 0 -/* 80292728 0028F688 98 01 00 70 */ stb r0, 0x70(r1) -/* 8029272C 0028F68C 41 82 00 3C */ beq lbl_80292768 -/* 80292730 0028F690 34 61 00 58 */ addic. r3, r1, 0x58 -/* 80292734 0028F694 41 82 00 34 */ beq lbl_80292768 -/* 80292738 0028F698 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8029273C 0028F69C D0 03 00 00 */ stfs f0, 0(r3) -/* 80292740 0028F6A0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80292744 0028F6A4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80292748 0028F6A8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8029274C 0028F6AC D0 03 00 08 */ stfs f0, 8(r3) -/* 80292750 0028F6B0 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80292754 0028F6B4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80292758 0028F6B8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8029275C 0028F6BC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80292760 0028F6C0 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80292764 0028F6C4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80292768: -/* 80292768 0028F6C8 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8029276C 0028F6CC 38 60 00 00 */ li r3, 0 -/* 80292770 0028F6D0 98 61 00 54 */ stb r3, 0x54(r1) -/* 80292774 0028F6D4 28 00 00 00 */ cmplwi r0, 0 -/* 80292778 0028F6D8 41 82 00 10 */ beq lbl_80292788 -/* 8029277C 0028F6DC 7F 64 DB 78 */ mr r4, r27 -/* 80292780 0028F6E0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80292784 0028F6E4 4B DE 3F 49 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -lbl_80292788: -/* 80292788 0028F6E8 38 00 00 00 */ li r0, 0 -/* 8029278C 0028F6EC 98 01 00 70 */ stb r0, 0x70(r1) -lbl_80292790: -/* 80292790 0028F6F0 28 1D 00 00 */ cmplwi r29, 0 -/* 80292794 0028F6F4 41 82 00 3C */ beq lbl_802927D0 -/* 80292798 0028F6F8 88 1F 00 0A */ lbz r0, 0xa(r31) -/* 8029279C 0028F6FC 28 00 00 00 */ cmplwi r0, 0 -/* 802927A0 0028F700 41 82 00 30 */ beq lbl_802927D0 -/* 802927A4 0028F704 A0 1B 00 08 */ lhz r0, 8(r27) -/* 802927A8 0028F708 7F 83 E3 78 */ mr r3, r28 -/* 802927AC 0028F70C 7F A4 EB 78 */ mr r4, r29 -/* 802927B0 0028F710 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802927B4 0028F714 B0 01 00 10 */ sth r0, 0x10(r1) -/* 802927B8 0028F718 38 C0 00 2E */ li r6, 0x2e -/* 802927BC 0028F71C B0 01 00 14 */ sth r0, 0x14(r1) -/* 802927C0 0028F720 4B DB 17 11 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 802927C4 0028F724 38 00 00 00 */ li r0, 0 -/* 802927C8 0028F728 98 1F 00 0A */ stb r0, 0xa(r31) -/* 802927CC 0028F72C 48 00 00 38 */ b lbl_80292804 -lbl_802927D0: -/* 802927D0 0028F730 7F E4 FB 78 */ mr r4, r31 -/* 802927D4 0028F734 38 7B 01 50 */ addi r3, r27, 0x150 -/* 802927D8 0028F738 4B E6 F6 35 */ bl sub_80101e0c -/* 802927DC 0028F73C 28 1D 00 00 */ cmplwi r29, 0 -/* 802927E0 0028F740 41 82 00 24 */ beq lbl_80292804 -/* 802927E4 0028F744 A0 1B 00 08 */ lhz r0, 8(r27) -/* 802927E8 0028F748 7F 83 E3 78 */ mr r3, r28 -/* 802927EC 0028F74C 7F A4 EB 78 */ mr r4, r29 -/* 802927F0 0028F750 38 A1 00 0C */ addi r5, r1, 0xc -/* 802927F4 0028F754 B0 01 00 08 */ sth r0, 8(r1) -/* 802927F8 0028F758 38 C0 00 2F */ li r6, 0x2f -/* 802927FC 0028F75C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80292800 0028F760 4B DB 16 D1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80292804: -/* 80292804 0028F764 7F DF F3 78 */ mr r31, r30 -lbl_80292808: -/* 80292808 0028F768 80 1B 01 58 */ lwz r0, 0x158(r27) -/* 8029280C 0028F76C 7C 1F 00 40 */ cmplw r31, r0 -/* 80292810 0028F770 40 82 FE C8 */ bne lbl_802926D8 -/* 80292814 0028F774 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 80292818 0028F778 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8029281C 0028F77C 7C 08 03 A6 */ mtlr r0 -/* 80292820 0028F780 38 21 00 90 */ addi r1, r1, 0x90 -/* 80292824 0028F784 4E 80 00 20 */ blr - -.global AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__11CPhazonPoolCFRC14CFrustumPlanesRC13CStateManager: -/* 80292828 0028F788 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029282C 0028F78C 7C 08 02 A6 */ mflr r0 -/* 80292830 0028F790 90 01 00 24 */ stw r0, 0x24(r1) -/* 80292834 0028F794 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80292838 0028F798 7C BF 2B 78 */ mr r31, r5 -/* 8029283C 0028F79C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80292840 0028F7A0 7C 9E 23 78 */ mr r30, r4 -/* 80292844 0028F7A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80292848 0028F7A8 7C 7D 1B 78 */ mr r29, r3 -/* 8029284C 0028F7AC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80292850 0028F7B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80292854 0028F7B4 41 82 00 44 */ beq lbl_80292898 -/* 80292858 0028F7B8 80 9D 01 70 */ lwz r4, 0x170(r29) -/* 8029285C 0028F7BC 28 04 00 00 */ cmplwi r4, 0 -/* 80292860 0028F7C0 41 82 00 18 */ beq lbl_80292878 -/* 80292864 0028F7C4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80292868 0028F7C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029286C 0028F7CC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80292870 0028F7D0 7D 89 03 A6 */ mtctr r12 -/* 80292874 0028F7D4 4E 80 04 21 */ bctrl -lbl_80292878: -/* 80292878 0028F7D8 80 9D 01 74 */ lwz r4, 0x174(r29) -/* 8029287C 0028F7DC 28 04 00 00 */ cmplwi r4, 0 -/* 80292880 0028F7E0 41 82 00 18 */ beq lbl_80292898 -/* 80292884 0028F7E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80292888 0028F7E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029288C 0028F7EC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80292890 0028F7F0 7D 89 03 A6 */ mtctr r12 -/* 80292894 0028F7F4 4E 80 04 21 */ bctrl -lbl_80292898: -/* 80292898 0028F7F8 7F A3 EB 78 */ mr r3, r29 -/* 8029289C 0028F7FC 7F C4 F3 78 */ mr r4, r30 -/* 802928A0 0028F800 7F E5 FB 78 */ mr r5, r31 -/* 802928A4 0028F804 4B DC 22 95 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager -/* 802928A8 0028F808 7F A3 EB 78 */ mr r3, r29 -/* 802928AC 0028F80C 7F E4 FB 78 */ mr r4, r31 -/* 802928B0 0028F810 4B DC 21 1D */ bl EnsureRendered__6CActorCFRC13CStateManager -/* 802928B4 0028F814 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802928B8 0028F818 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802928BC 0028F81C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802928C0 0028F820 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802928C4 0028F824 7C 08 03 A6 */ mtlr r0 -/* 802928C8 0028F828 38 21 00 20 */ addi r1, r1, 0x20 -/* 802928CC 0028F82C 4E 80 00 20 */ blr - -.global Accept__11CPhazonPoolFR8IVisitor -Accept__11CPhazonPoolFR8IVisitor: -/* 802928D0 0028F830 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802928D4 0028F834 7C 08 02 A6 */ mflr r0 -/* 802928D8 0028F838 90 01 00 14 */ stw r0, 0x14(r1) -/* 802928DC 0028F83C 7C 60 1B 78 */ mr r0, r3 -/* 802928E0 0028F840 7C 83 23 78 */ mr r3, r4 -/* 802928E4 0028F844 81 84 00 00 */ lwz r12, 0(r4) -/* 802928E8 0028F848 7C 04 03 78 */ mr r4, r0 -/* 802928EC 0028F84C 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 802928F0 0028F850 7D 89 03 A6 */ mtctr r12 -/* 802928F4 0028F854 4E 80 04 21 */ bctrl -/* 802928F8 0028F858 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802928FC 0028F85C 7C 08 03 A6 */ mtlr r0 -/* 80292900 0028F860 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292904 0028F864 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CPhazonPoolF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80292908 0028F868 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8029290C 0028F86C 7C 08 02 A6 */ mflr r0 -/* 80292910 0028F870 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80292914 0028F874 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80292918 0028F878 7C DF 33 78 */ mr r31, r6 -/* 8029291C 0028F87C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80292920 0028F880 7C BE 2B 78 */ mr r30, r5 -/* 80292924 0028F884 93 A1 00 94 */ stw r29, 0x94(r1) -/* 80292928 0028F888 7C 9D 23 78 */ mr r29, r4 -/* 8029292C 0028F88C 28 1D 00 22 */ cmplwi r29, 0x22 -/* 80292930 0028F890 93 81 00 90 */ stw r28, 0x90(r1) -/* 80292934 0028F894 7C 7C 1B 78 */ mr r28, r3 -/* 80292938 0028F898 41 81 02 00 */ bgt lbl_80292B38 -/* 8029293C 0028F89C 3C 80 80 3F */ lis r4, lbl_803EBBC4@ha -/* 80292940 0028F8A0 57 A0 10 3A */ slwi r0, r29, 2 -/* 80292944 0028F8A4 38 84 BB C4 */ addi r4, r4, lbl_803EBBC4@l -/* 80292948 0028F8A8 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8029294C 0028F8AC 7C 09 03 A6 */ mtctr r0 -/* 80292950 0028F8B0 4E 80 04 20 */ bctr -/* 80292954 0028F8B4 80 7C 01 70 */ lwz r3, 0x170(r28) -/* 80292958 0028F8B8 28 03 00 00 */ cmplwi r3, 0 -/* 8029295C 0028F8BC 41 82 00 30 */ beq lbl_8029298C -/* 80292960 0028F8C0 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 80292964 0028F8C4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80292968 0028F8C8 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8029296C 0028F8CC C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80292970 0028F8D0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80292974 0028F8D4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80292978 0028F8D8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8029297C 0028F8DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80292980 0028F8E0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80292984 0028F8E4 7D 89 03 A6 */ mtctr r12 -/* 80292988 0028F8E8 4E 80 04 21 */ bctrl -lbl_8029298C: -/* 8029298C 0028F8EC 80 9C 01 68 */ lwz r4, 0x168(r28) -/* 80292990 0028F8F0 28 04 00 00 */ cmplwi r4, 0 -/* 80292994 0028F8F4 41 82 00 14 */ beq lbl_802929A8 -/* 80292998 0028F8F8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8029299C 0028F8FC 4B E8 2C 29 */ bl GetBounds__10CModelDataCFv -/* 802929A0 0028F900 38 E1 00 78 */ addi r7, r1, 0x78 -/* 802929A4 0028F904 48 00 00 64 */ b lbl_80292A08 -lbl_802929A8: -/* 802929A8 0028F908 C0 BC 01 94 */ lfs f5, 0x194(r28) -/* 802929AC 0028F90C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802929B0 0028F910 C0 9C 01 98 */ lfs f4, 0x198(r28) -/* 802929B4 0028F914 38 81 00 24 */ addi r4, r1, 0x24 -/* 802929B8 0028F918 C0 7C 01 90 */ lfs f3, 0x190(r28) -/* 802929BC 0028F91C FC 40 28 50 */ fneg f2, f5 -/* 802929C0 0028F920 C0 C2 BF 18 */ lfs f6, lbl_805ADC38@sda21(r2) -/* 802929C4 0028F924 FC 20 20 50 */ fneg f1, f4 -/* 802929C8 0028F928 FC 00 18 50 */ fneg f0, f3 -/* 802929CC 0028F92C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 802929D0 0028F930 EC A6 01 72 */ fmuls f5, f6, f5 -/* 802929D4 0028F934 EC 86 01 32 */ fmuls f4, f6, f4 -/* 802929D8 0028F938 EC 66 00 F2 */ fmuls f3, f6, f3 -/* 802929DC 0028F93C EC 46 00 B2 */ fmuls f2, f6, f2 -/* 802929E0 0028F940 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802929E4 0028F944 EC 26 00 72 */ fmuls f1, f6, f1 -/* 802929E8 0028F948 EC 06 00 32 */ fmuls f0, f6, f0 -/* 802929EC 0028F94C D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802929F0 0028F950 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802929F4 0028F954 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802929F8 0028F958 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802929FC 0028F95C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80292A00 0028F960 48 0A 5B 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80292A04 0028F964 7C 67 1B 78 */ mr r7, r3 -lbl_80292A08: -/* 80292A08 0028F968 80 C7 00 00 */ lwz r6, 0(r7) -/* 80292A0C 0028F96C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80292A10 0028F970 80 07 00 04 */ lwz r0, 4(r7) -/* 80292A14 0028F974 38 81 00 18 */ addi r4, r1, 0x18 -/* 80292A18 0028F978 38 A1 00 0C */ addi r5, r1, 0xc -/* 80292A1C 0028F97C 90 DC 01 78 */ stw r6, 0x178(r28) -/* 80292A20 0028F980 90 1C 01 7C */ stw r0, 0x17c(r28) -/* 80292A24 0028F984 80 07 00 08 */ lwz r0, 8(r7) -/* 80292A28 0028F988 90 1C 01 80 */ stw r0, 0x180(r28) -/* 80292A2C 0028F98C 80 C7 00 0C */ lwz r6, 0xc(r7) -/* 80292A30 0028F990 80 07 00 10 */ lwz r0, 0x10(r7) -/* 80292A34 0028F994 90 DC 01 84 */ stw r6, 0x184(r28) -/* 80292A38 0028F998 90 1C 01 88 */ stw r0, 0x188(r28) -/* 80292A3C 0028F99C 80 07 00 14 */ lwz r0, 0x14(r7) -/* 80292A40 0028F9A0 90 1C 01 8C */ stw r0, 0x18c(r28) -/* 80292A44 0028F9A4 C0 1C 01 8C */ lfs f0, 0x18c(r28) -/* 80292A48 0028F9A8 C0 BC 01 98 */ lfs f5, 0x198(r28) -/* 80292A4C 0028F9AC C0 3C 01 88 */ lfs f1, 0x188(r28) -/* 80292A50 0028F9B0 C0 9C 01 94 */ lfs f4, 0x194(r28) -/* 80292A54 0028F9B4 EC 40 01 72 */ fmuls f2, f0, f5 -/* 80292A58 0028F9B8 C0 1C 01 84 */ lfs f0, 0x184(r28) -/* 80292A5C 0028F9BC C0 7C 01 90 */ lfs f3, 0x190(r28) -/* 80292A60 0028F9C0 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80292A64 0028F9C4 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80292A68 0028F9C8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80292A6C 0028F9CC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80292A70 0028F9D0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80292A74 0028F9D4 C0 5C 01 80 */ lfs f2, 0x180(r28) -/* 80292A78 0028F9D8 C0 3C 01 7C */ lfs f1, 0x17c(r28) -/* 80292A7C 0028F9DC C0 1C 01 78 */ lfs f0, 0x178(r28) -/* 80292A80 0028F9E0 EC 42 01 72 */ fmuls f2, f2, f5 -/* 80292A84 0028F9E4 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80292A88 0028F9E8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80292A8C 0028F9EC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80292A90 0028F9F0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80292A94 0028F9F4 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80292A98 0028F9F8 48 0A 5A 71 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80292A9C 0028F9FC 80 61 00 48 */ lwz r3, 0x48(r1) -/* 80292AA0 0028FA00 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80292AA4 0028FA04 90 7C 01 30 */ stw r3, 0x130(r28) -/* 80292AA8 0028FA08 90 1C 01 34 */ stw r0, 0x134(r28) -/* 80292AAC 0028FA0C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80292AB0 0028FA10 90 1C 01 38 */ stw r0, 0x138(r28) -/* 80292AB4 0028FA14 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80292AB8 0028FA18 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80292ABC 0028FA1C 90 7C 01 3C */ stw r3, 0x13c(r28) -/* 80292AC0 0028FA20 90 1C 01 40 */ stw r0, 0x140(r28) -/* 80292AC4 0028FA24 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80292AC8 0028FA28 90 1C 01 44 */ stw r0, 0x144(r28) -/* 80292ACC 0028FA2C 48 00 00 6C */ b lbl_80292B38 -/* 80292AD0 0028FA30 80 1C 01 DC */ lwz r0, 0x1dc(r28) -/* 80292AD4 0028FA34 2C 00 00 02 */ cmpwi r0, 2 -/* 80292AD8 0028FA38 40 82 00 60 */ bne lbl_80292B38 -/* 80292ADC 0028FA3C C0 3C 01 CC */ lfs f1, 0x1cc(r28) -/* 80292AE0 0028FA40 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) -/* 80292AE4 0028FA44 EC 01 00 2A */ fadds f0, f1, f0 -/* 80292AE8 0028FA48 D0 1C 01 CC */ stfs f0, 0x1cc(r28) -/* 80292AEC 0028FA4C 48 00 00 4C */ b lbl_80292B38 -/* 80292AF0 0028FA50 7F 83 E3 78 */ mr r3, r28 -/* 80292AF4 0028FA54 7F E4 FB 78 */ mr r4, r31 -/* 80292AF8 0028FA58 48 00 07 15 */ bl sub_8029320c -/* 80292AFC 0028FA5C 48 00 00 3C */ b lbl_80292B38 -/* 80292B00 0028FA60 88 9C 01 E0 */ lbz r4, 0x1e0(r28) -/* 80292B04 0028FA64 54 80 D7 FE */ rlwinm r0, r4, 0x1a, 0x1f, 0x1f -/* 80292B08 0028FA68 28 00 00 01 */ cmplwi r0, 1 -/* 80292B0C 0028FA6C 41 82 00 2C */ beq lbl_80292B38 -/* 80292B10 0028FA70 38 00 00 01 */ li r0, 1 -/* 80292B14 0028FA74 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80292B18 0028FA78 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 80292B1C 0028FA7C 98 9C 01 E0 */ stb r4, 0x1e0(r28) -/* 80292B20 0028FA80 38 80 00 00 */ li r4, 0 -/* 80292B24 0028FA84 D0 1C 01 C4 */ stfs f0, 0x1c4(r28) -/* 80292B28 0028FA88 4B FF FA B9 */ bl sub_802925e0 -/* 80292B2C 0028FA8C 48 00 00 0C */ b lbl_80292B38 -/* 80292B30 0028FA90 7F E4 FB 78 */ mr r4, r31 -/* 80292B34 0028FA94 4B FF FA E5 */ bl sub_80292618 -lbl_80292B38: -/* 80292B38 0028FA98 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80292B3C 0028FA9C 7F 83 E3 78 */ mr r3, r28 -/* 80292B40 0028FAA0 7F A4 EB 78 */ mr r4, r29 -/* 80292B44 0028FAA4 7F E6 FB 78 */ mr r6, r31 -/* 80292B48 0028FAA8 B0 01 00 08 */ sth r0, 8(r1) -/* 80292B4C 0028FAAC 38 A1 00 08 */ addi r5, r1, 8 -/* 80292B50 0028FAB0 4B DE 39 A9 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80292B54 0028FAB4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80292B58 0028FAB8 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80292B5C 0028FABC 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80292B60 0028FAC0 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80292B64 0028FAC4 83 81 00 90 */ lwz r28, 0x90(r1) -/* 80292B68 0028FAC8 7C 08 03 A6 */ mtlr r0 -/* 80292B6C 0028FACC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80292B70 0028FAD0 4E 80 00 20 */ blr - -.global GetTouchBounds__11CPhazonPoolCFv -GetTouchBounds__11CPhazonPoolCFv: -/* 80292B74 0028FAD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292B78 0028FAD8 7C 08 02 A6 */ mflr r0 -/* 80292B7C 0028FADC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292B80 0028FAE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292B84 0028FAE4 7C 7F 1B 78 */ mr r31, r3 -/* 80292B88 0028FAE8 4B DE 3A BD */ bl GetTouchBounds__14CScriptTriggerCFv -/* 80292B8C 0028FAEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292B90 0028FAF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292B94 0028FAF4 7C 08 03 A6 */ mtlr r0 -/* 80292B98 0028FAF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292B9C 0028FAFC 4E 80 00 20 */ blr - -.global Touch__11CPhazonPoolFR6CActorR13CStateManager -Touch__11CPhazonPoolFR6CActorR13CStateManager: -/* 80292BA0 0028FB00 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80292BA4 0028FB04 7C 08 02 A6 */ mflr r0 -/* 80292BA8 0028FB08 90 01 00 74 */ stw r0, 0x74(r1) -/* 80292BAC 0028FB0C BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80292BB0 0028FB10 7C 7D 1B 78 */ mr r29, r3 -/* 80292BB4 0028FB14 7C 9E 23 78 */ mr r30, r4 -/* 80292BB8 0028FB18 7C BF 2B 78 */ mr r31, r5 -/* 80292BBC 0028FB1C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80292BC0 0028FB20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80292BC4 0028FB24 41 82 01 88 */ beq lbl_80292D4C -/* 80292BC8 0028FB28 80 1D 01 DC */ lwz r0, 0x1dc(r29) -/* 80292BCC 0028FB2C 2C 00 00 02 */ cmpwi r0, 2 -/* 80292BD0 0028FB30 41 82 00 08 */ beq lbl_80292BD8 -/* 80292BD4 0028FB34 48 00 01 78 */ b lbl_80292D4C -lbl_80292BD8: -/* 80292BD8 0028FB38 4B DE 3B 71 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager -/* 80292BDC 0028FB3C 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 80292BE0 0028FB40 38 00 00 04 */ li r0, 4 -/* 80292BE4 0028FB44 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 80292BE8 0028FB48 38 80 00 00 */ li r4, 0 -/* 80292BEC 0028FB4C 7C 60 00 38 */ and r0, r3, r0 -/* 80292BF0 0028FB50 7C A3 20 38 */ and r3, r5, r4 -/* 80292BF4 0028FB54 7C 63 22 78 */ xor r3, r3, r4 -/* 80292BF8 0028FB58 7C 00 22 78 */ xor r0, r0, r4 -/* 80292BFC 0028FB5C 7C 60 03 79 */ or. r0, r3, r0 -/* 80292C00 0028FB60 40 82 01 4C */ bne lbl_80292D4C -/* 80292C04 0028FB64 80 9D 01 54 */ lwz r4, 0x154(r29) -/* 80292C08 0028FB68 80 BD 01 58 */ lwz r5, 0x158(r29) -/* 80292C0C 0028FB6C 48 00 00 24 */ b lbl_80292C30 -lbl_80292C10: -/* 80292C10 0028FB70 A0 64 00 08 */ lhz r3, 8(r4) -/* 80292C14 0028FB74 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80292C18 0028FB78 7C 03 00 40 */ cmplw r3, r0 -/* 80292C1C 0028FB7C 40 82 00 10 */ bne lbl_80292C2C -/* 80292C20 0028FB80 38 00 00 01 */ li r0, 1 -/* 80292C24 0028FB84 98 04 00 0A */ stb r0, 0xa(r4) -/* 80292C28 0028FB88 48 00 01 24 */ b lbl_80292D4C -lbl_80292C2C: -/* 80292C2C 0028FB8C 80 84 00 04 */ lwz r4, 4(r4) -lbl_80292C30: -/* 80292C30 0028FB90 7C 04 28 40 */ cmplw r4, r5 -/* 80292C34 0028FB94 40 82 FF DC */ bne lbl_80292C10 -/* 80292C38 0028FB98 7F C4 F3 78 */ mr r4, r30 -/* 80292C3C 0028FB9C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80292C40 0028FBA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292C44 0028FBA4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80292C48 0028FBA8 7D 89 03 A6 */ mtctr r12 -/* 80292C4C 0028FBAC 4E 80 04 21 */ bctrl -/* 80292C50 0028FBB0 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80292C54 0028FBB4 28 00 00 00 */ cmplwi r0, 0 -/* 80292C58 0028FBB8 98 01 00 44 */ stb r0, 0x44(r1) -/* 80292C5C 0028FBBC 41 82 00 3C */ beq lbl_80292C98 -/* 80292C60 0028FBC0 34 61 00 2C */ addic. r3, r1, 0x2c -/* 80292C64 0028FBC4 41 82 00 34 */ beq lbl_80292C98 -/* 80292C68 0028FBC8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80292C6C 0028FBCC D0 03 00 00 */ stfs f0, 0(r3) -/* 80292C70 0028FBD0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80292C74 0028FBD4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80292C78 0028FBD8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80292C7C 0028FBDC D0 03 00 08 */ stfs f0, 8(r3) -/* 80292C80 0028FBE0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80292C84 0028FBE4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80292C88 0028FBE8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80292C8C 0028FBEC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80292C90 0028FBF0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80292C94 0028FBF4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80292C98: -/* 80292C98 0028FBF8 88 01 00 44 */ lbz r0, 0x44(r1) -/* 80292C9C 0028FBFC 38 60 00 00 */ li r3, 0 -/* 80292CA0 0028FC00 98 61 00 28 */ stb r3, 0x28(r1) -/* 80292CA4 0028FC04 28 00 00 00 */ cmplwi r0, 0 -/* 80292CA8 0028FC08 40 82 00 0C */ bne lbl_80292CB4 -/* 80292CAC 0028FC0C 98 61 00 44 */ stb r3, 0x44(r1) -/* 80292CB0 0028FC10 48 00 00 9C */ b lbl_80292D4C -lbl_80292CB4: -/* 80292CB4 0028FC14 83 7D 01 58 */ lwz r27, 0x158(r29) -/* 80292CB8 0028FC18 3C 60 80 3D */ lis r3, lbl_803D5B78@ha -/* 80292CBC 0028FC1C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l -/* 80292CC0 0028FC20 A3 3E 00 08 */ lhz r25, 8(r30) -/* 80292CC4 0028FC24 8B 8D 99 C0 */ lbz r28, lbl_805A8580@sda21(r13) -/* 80292CC8 0028FC28 38 60 00 0C */ li r3, 0xc -/* 80292CCC 0028FC2C 83 5B 00 00 */ lwz r26, 0(r27) -/* 80292CD0 0028FC30 38 A0 00 00 */ li r5, 0 -/* 80292CD4 0028FC34 48 08 2B 45 */ bl __nwa__FUlPCcPCc -/* 80292CD8 0028FC38 28 03 00 00 */ cmplwi r3, 0 -/* 80292CDC 0028FC3C 41 82 00 0C */ beq lbl_80292CE8 -/* 80292CE0 0028FC40 93 43 00 00 */ stw r26, 0(r3) -/* 80292CE4 0028FC44 93 63 00 04 */ stw r27, 4(r3) -lbl_80292CE8: -/* 80292CE8 0028FC48 34 83 00 08 */ addic. r4, r3, 8 -/* 80292CEC 0028FC4C 41 82 00 0C */ beq lbl_80292CF8 -/* 80292CF0 0028FC50 B3 24 00 00 */ sth r25, 0(r4) -/* 80292CF4 0028FC54 9B 84 00 02 */ stb r28, 2(r4) -lbl_80292CF8: -/* 80292CF8 0028FC58 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80292CFC 0028FC5C 7C 1B 00 40 */ cmplw r27, r0 -/* 80292D00 0028FC60 40 82 00 08 */ bne lbl_80292D08 -/* 80292D04 0028FC64 90 7D 01 54 */ stw r3, 0x154(r29) -lbl_80292D08: -/* 80292D08 0028FC68 80 E3 00 00 */ lwz r7, 0(r3) -/* 80292D0C 0028FC6C 7F C4 F3 78 */ mr r4, r30 -/* 80292D10 0028FC70 38 A1 00 0C */ addi r5, r1, 0xc -/* 80292D14 0028FC74 38 C0 00 2D */ li r6, 0x2d -/* 80292D18 0028FC78 90 67 00 04 */ stw r3, 4(r7) -/* 80292D1C 0028FC7C 80 E3 00 04 */ lwz r7, 4(r3) -/* 80292D20 0028FC80 90 67 00 00 */ stw r3, 0(r7) -/* 80292D24 0028FC84 7F E3 FB 78 */ mr r3, r31 -/* 80292D28 0028FC88 80 FD 01 64 */ lwz r7, 0x164(r29) -/* 80292D2C 0028FC8C 38 07 00 01 */ addi r0, r7, 1 -/* 80292D30 0028FC90 90 1D 01 64 */ stw r0, 0x164(r29) -/* 80292D34 0028FC94 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80292D38 0028FC98 B0 01 00 08 */ sth r0, 8(r1) -/* 80292D3C 0028FC9C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80292D40 0028FCA0 4B DB 11 91 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80292D44 0028FCA4 38 00 00 00 */ li r0, 0 -/* 80292D48 0028FCA8 98 01 00 44 */ stb r0, 0x44(r1) -lbl_80292D4C: -/* 80292D4C 0028FCAC BB 21 00 54 */ lmw r25, 0x54(r1) -/* 80292D50 0028FCB0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80292D54 0028FCB4 7C 08 03 A6 */ mtlr r0 -/* 80292D58 0028FCB8 38 21 00 70 */ addi r1, r1, 0x70 -/* 80292D5C 0028FCBC 4E 80 00 20 */ blr - -.global Think__11CPhazonPoolFfR13CStateManager -Think__11CPhazonPoolFfR13CStateManager: -/* 80292D60 0028FCC0 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80292D64 0028FCC4 7C 08 02 A6 */ mflr r0 -/* 80292D68 0028FCC8 90 01 01 04 */ stw r0, 0x104(r1) -/* 80292D6C 0028FCCC DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 80292D70 0028FCD0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 80292D74 0028FCD4 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 80292D78 0028FCD8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 80292D7C 0028FCDC DB A1 00 D0 */ stfd f29, 0xd0(r1) -/* 80292D80 0028FCE0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 -/* 80292D84 0028FCE4 DB 81 00 C0 */ stfd f28, 0xc0(r1) -/* 80292D88 0028FCE8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 -/* 80292D8C 0028FCEC 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 80292D90 0028FCF0 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 80292D94 0028FCF4 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 80292D98 0028FCF8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80292D9C 0028FCFC FF C0 08 90 */ fmr f30, f1 -/* 80292DA0 0028FD00 7C 7E 1B 78 */ mr r30, r3 -/* 80292DA4 0028FD04 7C 9F 23 78 */ mr r31, r4 -/* 80292DA8 0028FD08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80292DAC 0028FD0C 41 82 04 24 */ beq lbl_802931D0 -/* 80292DB0 0028FD10 4B DE 37 1D */ bl Think__14CScriptTriggerFfR13CStateManager -/* 80292DB4 0028FD14 7F C3 F3 78 */ mr r3, r30 -/* 80292DB8 0028FD18 7F E4 FB 78 */ mr r4, r31 -/* 80292DBC 0028FD1C 4B FF F8 FD */ bl UpdateInhabitants__11CPhazonPoolFR13CStateManager -/* 80292DC0 0028FD20 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80292DC4 0028FD24 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80292DC8 0028FD28 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80292DCC 0028FD2C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80292DD0 0028FD30 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80292DD4 0028FD34 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80292DD8 0028FD38 80 1E 01 DC */ lwz r0, 0x1dc(r30) -/* 80292DDC 0028FD3C 2C 00 00 01 */ cmpwi r0, 1 -/* 80292DE0 0028FD40 40 82 00 0C */ bne lbl_80292DEC -/* 80292DE4 0028FD44 C0 7E 01 A4 */ lfs f3, 0x1a4(r30) -/* 80292DE8 0028FD48 48 00 00 08 */ b lbl_80292DF0 -lbl_80292DEC: -/* 80292DEC 0028FD4C C0 62 BF 1C */ lfs f3, lbl_805ADC3C@sda21(r2) -lbl_80292DF0: -/* 80292DF0 0028FD50 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80292DF4 0028FD54 38 61 00 80 */ addi r3, r1, 0x80 -/* 80292DF8 0028FD58 C0 5E 01 94 */ lfs f2, 0x194(r30) -/* 80292DFC 0028FD5C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80292E00 0028FD60 C0 3E 01 98 */ lfs f1, 0x198(r30) -/* 80292E04 0028FD64 EF E3 00 32 */ fmuls f31, f3, f0 -/* 80292E08 0028FD68 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80292E0C 0028FD6C EF 83 00 B2 */ fmuls f28, f3, f2 -/* 80292E10 0028FD70 EF A3 00 72 */ fmuls f29, f3, f1 -/* 80292E14 0028FD74 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80292E18 0028FD78 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80292E1C 0028FD7C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80292E20 0028FD80 38 E1 00 5C */ addi r7, r1, 0x5c -/* 80292E24 0028FD84 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80292E28 0028FD88 D3 A1 00 40 */ stfs f29, 0x40(r1) -/* 80292E2C 0028FD8C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80292E30 0028FD90 D3 81 00 48 */ stfs f28, 0x48(r1) -/* 80292E34 0028FD94 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80292E38 0028FD98 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 80292E3C 0028FD9C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80292E40 0028FDA0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80292E44 0028FDA4 48 07 FF B5 */ bl FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 80292E48 0028FDA8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80292E4C 0028FDAC 38 81 00 80 */ addi r4, r1, 0x80 -/* 80292E50 0028FDB0 48 07 FC F1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80292E54 0028FDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80292E58 0028FDB8 38 C0 00 01 */ li r6, 1 -/* 80292E5C 0028FDBC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80292E60 0028FDC0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80292E64 0028FDC4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80292E68 0028FDC8 38 81 00 2C */ addi r4, r1, 0x2c -/* 80292E6C 0028FDCC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80292E70 0028FDD0 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80292E74 0028FDD4 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 80292E78 0028FDD8 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80292E7C 0028FDDC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80292E80 0028FDE0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80292E84 0028FDE4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80292E88 0028FDE8 C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 80292E8C 0028FDEC C0 3E 01 88 */ lfs f1, 0x188(r30) -/* 80292E90 0028FDF0 C0 1E 01 84 */ lfs f0, 0x184(r30) -/* 80292E94 0028FDF4 EC 42 07 72 */ fmuls f2, f2, f29 -/* 80292E98 0028FDF8 EC 21 07 32 */ fmuls f1, f1, f28 -/* 80292E9C 0028FDFC EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80292EA0 0028FE00 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80292EA4 0028FE04 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80292EA8 0028FE08 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80292EAC 0028FE0C C0 5E 01 80 */ lfs f2, 0x180(r30) -/* 80292EB0 0028FE10 C0 3E 01 7C */ lfs f1, 0x17c(r30) -/* 80292EB4 0028FE14 C0 1E 01 78 */ lfs f0, 0x178(r30) -/* 80292EB8 0028FE18 EC 42 07 72 */ fmuls f2, f2, f29 -/* 80292EBC 0028FE1C EC 21 07 32 */ fmuls f1, f1, f28 -/* 80292EC0 0028FE20 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80292EC4 0028FE24 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80292EC8 0028FE28 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80292ECC 0028FE2C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80292ED0 0028FE30 48 0A 56 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80292ED4 0028FE34 80 61 00 68 */ lwz r3, 0x68(r1) -/* 80292ED8 0028FE38 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80292EDC 0028FE3C C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) -/* 80292EE0 0028FE40 90 7E 01 30 */ stw r3, 0x130(r30) -/* 80292EE4 0028FE44 90 1E 01 34 */ stw r0, 0x134(r30) -/* 80292EE8 0028FE48 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80292EEC 0028FE4C 90 1E 01 38 */ stw r0, 0x138(r30) -/* 80292EF0 0028FE50 80 61 00 74 */ lwz r3, 0x74(r1) -/* 80292EF4 0028FE54 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80292EF8 0028FE58 90 7E 01 3C */ stw r3, 0x13c(r30) -/* 80292EFC 0028FE5C 90 1E 01 40 */ stw r0, 0x140(r30) -/* 80292F00 0028FE60 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 80292F04 0028FE64 90 1E 01 44 */ stw r0, 0x144(r30) -/* 80292F08 0028FE68 C0 5E 01 B0 */ lfs f2, 0x1b0(r30) -/* 80292F0C 0028FE6C C0 3E 01 A8 */ lfs f1, 0x1a8(r30) -/* 80292F10 0028FE70 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80292F14 0028FE74 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 80292F18 0028FE78 C0 5E 01 B4 */ lfs f2, 0x1b4(r30) -/* 80292F1C 0028FE7C C0 3E 01 AC */ lfs f1, 0x1ac(r30) -/* 80292F20 0028FE80 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80292F24 0028FE84 D0 3E 01 AC */ stfs f1, 0x1ac(r30) -/* 80292F28 0028FE88 C0 3E 01 A8 */ lfs f1, 0x1a8(r30) -/* 80292F2C 0028FE8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292F30 0028FE90 40 81 00 0C */ ble lbl_80292F3C -/* 80292F34 0028FE94 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80292F38 0028FE98 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) -lbl_80292F3C: -/* 80292F3C 0028FE9C C0 3E 01 AC */ lfs f1, 0x1ac(r30) -/* 80292F40 0028FEA0 C0 02 BF 24 */ lfs f0, lbl_805ADC44@sda21(r2) -/* 80292F44 0028FEA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292F48 0028FEA8 40 81 00 0C */ ble lbl_80292F54 -/* 80292F4C 0028FEAC C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80292F50 0028FEB0 D0 1E 01 AC */ stfs f0, 0x1ac(r30) -lbl_80292F54: -/* 80292F54 0028FEB4 83 BE 01 70 */ lwz r29, 0x170(r30) -/* 80292F58 0028FEB8 28 1D 00 00 */ cmplwi r29, 0 -/* 80292F5C 0028FEBC 41 82 00 70 */ beq lbl_80292FCC -/* 80292F60 0028FEC0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) -/* 80292F64 0028FEC4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80292F68 0028FEC8 FC 40 08 90 */ fmr f2, f1 -/* 80292F6C 0028FECC FC 60 08 90 */ fmr f3, f1 -/* 80292F70 0028FED0 FC 80 08 90 */ fmr f4, f1 -/* 80292F74 0028FED4 48 0D 04 79 */ bl __ct__6CColorFffff -/* 80292F78 0028FED8 81 9D 00 00 */ lwz r12, 0(r29) -/* 80292F7C 0028FEDC 7C 64 1B 78 */ mr r4, r3 -/* 80292F80 0028FEE0 7F A3 EB 78 */ mr r3, r29 -/* 80292F84 0028FEE4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80292F88 0028FEE8 7D 89 03 A6 */ mtctr r12 -/* 80292F8C 0028FEEC 4E 80 04 21 */ bctrl -/* 80292F90 0028FEF0 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 80292F94 0028FEF4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80292F98 0028FEF8 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 80292F9C 0028FEFC D3 E1 00 1C */ stfs f31, 0x1c(r1) -/* 80292FA0 0028FF00 80 7E 01 70 */ lwz r3, 0x170(r30) -/* 80292FA4 0028FF04 81 83 00 00 */ lwz r12, 0(r3) -/* 80292FA8 0028FF08 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80292FAC 0028FF0C 7D 89 03 A6 */ mtctr r12 -/* 80292FB0 0028FF10 4E 80 04 21 */ bctrl -/* 80292FB4 0028FF14 80 7E 01 70 */ lwz r3, 0x170(r30) -/* 80292FB8 0028FF18 FC 20 F0 90 */ fmr f1, f30 -/* 80292FBC 0028FF1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80292FC0 0028FF20 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80292FC4 0028FF24 7D 89 03 A6 */ mtctr r12 -/* 80292FC8 0028FF28 4E 80 04 21 */ bctrl -lbl_80292FCC: -/* 80292FCC 0028FF2C 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80292FD0 0028FF30 28 03 00 00 */ cmplwi r3, 0 -/* 80292FD4 0028FF34 41 82 00 18 */ beq lbl_80292FEC -/* 80292FD8 0028FF38 81 83 00 00 */ lwz r12, 0(r3) -/* 80292FDC 0028FF3C FC 20 F0 90 */ fmr f1, f30 -/* 80292FE0 0028FF40 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80292FE4 0028FF44 7D 89 03 A6 */ mtctr r12 -/* 80292FE8 0028FF48 4E 80 04 21 */ bctrl -lbl_80292FEC: -/* 80292FEC 0028FF4C 80 1E 01 DC */ lwz r0, 0x1dc(r30) -/* 80292FF0 0028FF50 3B A0 00 00 */ li r29, 0 -/* 80292FF4 0028FF54 2C 00 00 02 */ cmpwi r0, 2 -/* 80292FF8 0028FF58 41 82 00 9C */ beq lbl_80293094 -/* 80292FFC 0028FF5C 40 80 00 10 */ bge lbl_8029300C -/* 80293000 0028FF60 2C 00 00 01 */ cmpwi r0, 1 -/* 80293004 0028FF64 40 80 00 14 */ bge lbl_80293018 -/* 80293008 0028FF68 48 00 01 A8 */ b lbl_802931B0 -lbl_8029300C: -/* 8029300C 0028FF6C 2C 00 00 04 */ cmpwi r0, 4 -/* 80293010 0028FF70 40 80 01 A0 */ bge lbl_802931B0 -/* 80293014 0028FF74 48 00 01 6C */ b lbl_80293180 -lbl_80293018: -/* 80293018 0028FF78 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 8029301C 0028FF7C C0 02 BF 28 */ lfs f0, lbl_805ADC48@sda21(r2) -/* 80293020 0028FF80 EC 21 F0 2A */ fadds f1, f1, f30 -/* 80293024 0028FF84 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -/* 80293028 0028FF88 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 8029302C 0028FF8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80293030 0028FF90 40 81 01 80 */ ble lbl_802931B0 -/* 80293034 0028FF94 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80293038 0028FF98 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) -/* 8029303C 0028FF9C C0 5E 01 B8 */ lfs f2, 0x1b8(r30) -/* 80293040 0028FFA0 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) -/* 80293044 0028FFA4 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80293048 0028FFA8 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) -/* 8029304C 0028FFAC C0 3E 01 A4 */ lfs f1, 0x1a4(r30) -/* 80293050 0028FFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80293054 0028FFB4 40 81 01 5C */ ble lbl_802931B0 -/* 80293058 0028FFB8 D0 1E 01 A4 */ stfs f0, 0x1a4(r30) -/* 8029305C 0028FFBC 38 00 00 02 */ li r0, 2 -/* 80293060 0028FFC0 7F C3 F3 78 */ mr r3, r30 -/* 80293064 0028FFC4 38 80 00 01 */ li r4, 1 -/* 80293068 0028FFC8 90 1E 01 DC */ stw r0, 0x1dc(r30) -/* 8029306C 0028FFCC 4B FF F5 75 */ bl sub_802925e0 -/* 80293070 0028FFD0 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80293074 0028FFD4 28 03 00 00 */ cmplwi r3, 0 -/* 80293078 0028FFD8 41 82 01 38 */ beq lbl_802931B0 -/* 8029307C 0028FFDC 81 83 00 00 */ lwz r12, 0(r3) -/* 80293080 0028FFE0 38 80 00 00 */ li r4, 0 -/* 80293084 0028FFE4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80293088 0028FFE8 7D 89 03 A6 */ mtctr r12 -/* 8029308C 0028FFEC 4E 80 04 21 */ bctrl -/* 80293090 0028FFF0 48 00 01 20 */ b lbl_802931B0 -lbl_80293094: -/* 80293094 0028FFF4 88 7E 01 E0 */ lbz r3, 0x1e0(r30) -/* 80293098 0028FFF8 C0 82 BF 20 */ lfs f4, lbl_805ADC40@sda21(r2) -/* 8029309C 0028FFFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 802930A0 00290000 40 82 00 0C */ bne lbl_802930AC -/* 802930A4 00290004 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 802930A8 00290008 41 82 00 2C */ beq lbl_802930D4 -lbl_802930AC: -/* 802930AC 0029000C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) -/* 802930B0 00290010 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 802930B4 00290014 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 802930B8 00290018 D0 3E 01 C4 */ stfs f1, 0x1c4(r30) -/* 802930BC 0029001C C0 3E 01 C4 */ lfs f1, 0x1c4(r30) -/* 802930C0 00290020 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802930C4 00290024 4C 40 13 82 */ cror 2, 0, 2 -/* 802930C8 00290028 40 82 00 0C */ bne lbl_802930D4 -/* 802930CC 0029002C D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 802930D0 00290030 FC 80 F0 90 */ fmr f4, f30 -lbl_802930D4: -/* 802930D4 00290034 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 802930D8 00290038 C0 5E 01 BC */ lfs f2, 0x1bc(r30) -/* 802930DC 0029003C EC 3E 00 32 */ fmuls f1, f30, f0 -/* 802930E0 00290040 C0 7E 01 A0 */ lfs f3, 0x1a0(r30) -/* 802930E4 00290044 C0 02 BF 2C */ lfs f0, lbl_805ADC4C@sda21(r2) -/* 802930E8 00290048 EC 22 00 72 */ fmuls f1, f2, f1 -/* 802930EC 0029004C EC 21 20 2A */ fadds f1, f1, f4 -/* 802930F0 00290050 EC 23 08 28 */ fsubs f1, f3, f1 -/* 802930F4 00290054 D0 3E 01 A0 */ stfs f1, 0x1a0(r30) -/* 802930F8 00290058 C0 5E 01 A0 */ lfs f2, 0x1a0(r30) -/* 802930FC 0029005C C0 3E 01 9C */ lfs f1, 0x19c(r30) -/* 80293100 00290060 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80293104 00290064 D0 3E 01 A4 */ stfs f1, 0x1a4(r30) -/* 80293108 00290068 C0 3E 01 A4 */ lfs f1, 0x1a4(r30) -/* 8029310C 0029006C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80293110 00290070 40 80 00 64 */ bge lbl_80293174 -/* 80293114 00290074 88 1E 01 E0 */ lbz r0, 0x1e0(r30) -/* 80293118 00290078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029311C 0029007C 41 82 00 0C */ beq lbl_80293128 -/* 80293120 00290080 3B A0 00 01 */ li r29, 1 -/* 80293124 00290084 48 00 00 44 */ b lbl_80293168 -lbl_80293128: -/* 80293128 00290088 7F C3 F3 78 */ mr r3, r30 -/* 8029312C 0029008C 38 80 00 00 */ li r4, 0 -/* 80293130 00290090 4B DC 12 89 */ bl SetCallTouch__6CActorFb -/* 80293134 00290094 88 1E 01 E0 */ lbz r0, 0x1e0(r30) -/* 80293138 00290098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8029313C 0029009C 40 82 00 18 */ bne lbl_80293154 -/* 80293140 002900A0 38 00 00 03 */ li r0, 3 -/* 80293144 002900A4 90 1E 01 DC */ stw r0, 0x1dc(r30) -/* 80293148 002900A8 C0 1E 01 C8 */ lfs f0, 0x1c8(r30) -/* 8029314C 002900AC D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 80293150 002900B0 48 00 00 18 */ b lbl_80293168 -lbl_80293154: -/* 80293154 002900B4 38 00 00 00 */ li r0, 0 -/* 80293158 002900B8 7F C3 F3 78 */ mr r3, r30 -/* 8029315C 002900BC 90 1E 01 DC */ stw r0, 0x1dc(r30) -/* 80293160 002900C0 38 80 00 00 */ li r4, 0 -/* 80293164 002900C4 4B DC 06 E9 */ bl SetActive__6CActorFb -lbl_80293168: -/* 80293168 002900C8 7F C3 F3 78 */ mr r3, r30 -/* 8029316C 002900CC 38 80 00 00 */ li r4, 0 -/* 80293170 002900D0 4B FF F4 71 */ bl sub_802925e0 -lbl_80293174: -/* 80293174 002900D4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80293178 002900D8 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 8029317C 002900DC 48 00 00 34 */ b lbl_802931B0 -lbl_80293180: -/* 80293180 002900E0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) -/* 80293184 002900E4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80293188 002900E8 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 8029318C 002900EC D0 3E 01 D0 */ stfs f1, 0x1d0(r30) -/* 80293190 002900F0 C0 3E 01 D0 */ lfs f1, 0x1d0(r30) -/* 80293194 002900F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80293198 002900F8 4C 40 13 82 */ cror 2, 0, 2 -/* 8029319C 002900FC 40 82 00 14 */ bne lbl_802931B0 -/* 802931A0 00290100 D0 1E 01 D0 */ stfs f0, 0x1d0(r30) -/* 802931A4 00290104 7F C3 F3 78 */ mr r3, r30 -/* 802931A8 00290108 7F E4 FB 78 */ mr r4, r31 -/* 802931AC 0029010C 48 00 00 61 */ bl sub_8029320c -lbl_802931B0: -/* 802931B0 00290110 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802931B4 00290114 41 82 00 1C */ beq lbl_802931D0 -/* 802931B8 00290118 A0 1E 00 08 */ lhz r0, 8(r30) -/* 802931BC 0029011C 7F E3 FB 78 */ mr r3, r31 -/* 802931C0 00290120 38 81 00 0C */ addi r4, r1, 0xc -/* 802931C4 00290124 B0 01 00 08 */ sth r0, 8(r1) -/* 802931C8 00290128 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802931CC 0029012C 4B DB 90 A1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_802931D0: -/* 802931D0 00290130 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 802931D4 00290134 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 802931D8 00290138 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 802931DC 0029013C CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 802931E0 00290140 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 -/* 802931E4 00290144 CB A1 00 D0 */ lfd f29, 0xd0(r1) -/* 802931E8 00290148 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 -/* 802931EC 0029014C CB 81 00 C0 */ lfd f28, 0xc0(r1) -/* 802931F0 00290150 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 802931F4 00290154 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 802931F8 00290158 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802931FC 0029015C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80293200 00290160 7C 08 03 A6 */ mtlr r0 -/* 80293204 00290164 38 21 01 00 */ addi r1, r1, 0x100 -/* 80293208 00290168 4E 80 00 20 */ blr - -.global sub_8029320c -sub_8029320c: -/* 8029320C 0029016C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80293210 00290170 7C 08 02 A6 */ mflr r0 -/* 80293214 00290174 C0 22 BF 30 */ lfs f1, lbl_805ADC50@sda21(r2) -/* 80293218 00290178 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029321C 0029017C C0 42 BF 18 */ lfs f2, lbl_805ADC38@sda21(r2) -/* 80293220 00290180 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80293224 00290184 7C 9F 23 78 */ mr r31, r4 -/* 80293228 00290188 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029322C 0029018C 7C 7E 1B 78 */ mr r30, r3 -/* 80293230 00290190 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80293234 00290194 48 07 F3 11 */ bl Range__9CRandom16Fff -/* 80293238 00290198 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) -/* 8029323C 0029019C C0 22 BF 34 */ lfs f1, lbl_805ADC54@sda21(r2) -/* 80293240 002901A0 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80293244 002901A4 C0 42 BF 1C */ lfs f2, lbl_805ADC3C@sda21(r2) -/* 80293248 002901A8 48 07 F2 FD */ bl Range__9CRandom16Fff -/* 8029324C 002901AC D0 3E 01 B4 */ stfs f1, 0x1b4(r30) -/* 80293250 002901B0 C0 22 BF 38 */ lfs f1, lbl_805ADC58@sda21(r2) -/* 80293254 002901B4 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80293258 002901B8 C0 42 BF 28 */ lfs f2, lbl_805ADC48@sda21(r2) -/* 8029325C 002901BC 48 07 F2 E9 */ bl Range__9CRandom16Fff -/* 80293260 002901C0 D0 3E 01 B8 */ stfs f1, 0x1b8(r30) -/* 80293264 002901C4 38 00 00 01 */ li r0, 1 -/* 80293268 002901C8 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 8029326C 002901CC 38 60 00 00 */ li r3, 0 -/* 80293270 002901D0 D0 1E 01 CC */ stfs f0, 0x1cc(r30) -/* 80293274 002901D4 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80293278 002901D8 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) -/* 8029327C 002901DC D0 1E 01 C4 */ stfs f0, 0x1c4(r30) -/* 80293280 002901E0 C0 1E 01 9C */ lfs f0, 0x19c(r30) -/* 80293284 002901E4 D0 1E 01 A0 */ stfs f0, 0x1a0(r30) -/* 80293288 002901E8 90 1E 01 DC */ stw r0, 0x1dc(r30) -/* 8029328C 002901EC 88 1E 01 E0 */ lbz r0, 0x1e0(r30) -/* 80293290 002901F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80293294 002901F4 98 1E 01 E0 */ stb r0, 0x1e0(r30) -/* 80293298 002901F8 80 7E 01 70 */ lwz r3, 0x170(r30) -/* 8029329C 002901FC 28 03 00 00 */ cmplwi r3, 0 -/* 802932A0 00290200 41 82 00 48 */ beq lbl_802932E8 -/* 802932A4 00290204 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802932A8 00290208 38 81 00 14 */ addi r4, r1, 0x14 -/* 802932AC 0029020C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 802932B0 00290210 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 802932B4 00290214 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802932B8 00290218 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802932BC 0029021C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802932C0 00290220 81 83 00 00 */ lwz r12, 0(r3) -/* 802932C4 00290224 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802932C8 00290228 7D 89 03 A6 */ mtctr r12 -/* 802932CC 0029022C 4E 80 04 21 */ bctrl -/* 802932D0 00290230 80 7E 01 70 */ lwz r3, 0x170(r30) -/* 802932D4 00290234 38 80 00 00 */ li r4, 0 -/* 802932D8 00290238 81 83 00 00 */ lwz r12, 0(r3) -/* 802932DC 0029023C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802932E0 00290240 7D 89 03 A6 */ mtctr r12 -/* 802932E4 00290244 4E 80 04 21 */ bctrl -lbl_802932E8: -/* 802932E8 00290248 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 802932EC 0029024C 28 03 00 00 */ cmplwi r3, 0 -/* 802932F0 00290250 41 82 00 48 */ beq lbl_80293338 -/* 802932F4 00290254 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 802932F8 00290258 38 81 00 08 */ addi r4, r1, 8 -/* 802932FC 0029025C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80293300 00290260 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80293304 00290264 D0 01 00 08 */ stfs f0, 8(r1) -/* 80293308 00290268 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8029330C 0029026C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80293310 00290270 81 83 00 00 */ lwz r12, 0(r3) -/* 80293314 00290274 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80293318 00290278 7D 89 03 A6 */ mtctr r12 -/* 8029331C 0029027C 4E 80 04 21 */ bctrl -/* 80293320 00290280 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80293324 00290284 38 80 00 01 */ li r4, 1 -/* 80293328 00290288 81 83 00 00 */ lwz r12, 0(r3) -/* 8029332C 0029028C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80293330 00290290 7D 89 03 A6 */ mtctr r12 -/* 80293334 00290294 4E 80 04 21 */ bctrl -lbl_80293338: -/* 80293338 00290298 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029333C 0029029C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80293340 002902A0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80293344 002902A4 7C 08 03 A6 */ mtlr r0 -/* 80293348 002902A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029334C 002902AC 4E 80 00 20 */ blr - -.global Render__11CPhazonPoolCFRC13CStateManager -Render__11CPhazonPoolCFRC13CStateManager: -/* 80293350 002902B0 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80293354 002902B4 7C 08 02 A6 */ mflr r0 -/* 80293358 002902B8 90 01 01 64 */ stw r0, 0x164(r1) -/* 8029335C 002902BC BF 61 01 4C */ stmw r27, 0x14c(r1) -/* 80293360 002902C0 7C 7D 1B 78 */ mr r29, r3 -/* 80293364 002902C4 7C 9E 23 78 */ mr r30, r4 -/* 80293368 002902C8 4B DC 14 3D */ bl Render__6CActorCFRC13CStateManager -/* 8029336C 002902CC C0 9D 01 A4 */ lfs f4, 0x1a4(r29) -/* 80293370 002902D0 3B FD 00 34 */ addi r31, r29, 0x34 -/* 80293374 002902D4 C0 02 BF 38 */ lfs f0, lbl_805ADC58@sda21(r2) -/* 80293378 002902D8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8029337C 002902DC 7C C0 00 26 */ mfcr r6 -/* 80293380 002902E0 C0 22 BF 1C */ lfs f1, lbl_805ADC3C@sda21(r2) -/* 80293384 002902E4 38 A0 00 05 */ li r5, 5 -/* 80293388 002902E8 38 80 00 00 */ li r4, 0 -/* 8029338C 002902EC 38 00 00 03 */ li r0, 3 -/* 80293390 002902F0 FC 40 08 90 */ fmr f2, f1 -/* 80293394 002902F4 FC 60 08 90 */ fmr f3, f1 -/* 80293398 002902F8 98 A1 00 18 */ stb r5, 0x18(r1) -/* 8029339C 002902FC 38 61 00 1C */ addi r3, r1, 0x1c -/* 802933A0 00290300 54 DB 17 FE */ rlwinm r27, r6, 2, 0x1f, 0x1f -/* 802933A4 00290304 98 81 00 19 */ stb r4, 0x19(r1) -/* 802933A8 00290308 B0 01 00 1A */ sth r0, 0x1a(r1) -/* 802933AC 0029030C 48 0D 00 41 */ bl __ct__6CColorFffff -/* 802933B0 00290310 A0 61 00 1A */ lhz r3, 0x1a(r1) -/* 802933B4 00290314 57 60 08 3C */ slwi r0, r27, 1 -/* 802933B8 00290318 83 9D 01 68 */ lwz r28, 0x168(r29) -/* 802933BC 0029031C 7F 60 03 78 */ or r0, r27, r0 -/* 802933C0 00290320 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d -/* 802933C4 00290324 88 A1 00 18 */ lbz r5, 0x18(r1) -/* 802933C8 00290328 7C 63 03 78 */ or r3, r3, r0 -/* 802933CC 0029032C 88 81 00 19 */ lbz r4, 0x19(r1) -/* 802933D0 00290330 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802933D4 00290334 28 1C 00 00 */ cmplwi r28, 0 -/* 802933D8 00290338 98 A1 00 20 */ stb r5, 0x20(r1) -/* 802933DC 0029033C 98 81 00 21 */ stb r4, 0x21(r1) -/* 802933E0 00290340 B0 61 00 22 */ sth r3, 0x22(r1) -/* 802933E4 00290344 90 01 00 24 */ stw r0, 0x24(r1) -/* 802933E8 00290348 41 82 00 40 */ beq lbl_80293428 -/* 802933EC 0029034C C0 1D 01 AC */ lfs f0, 0x1ac(r29) -/* 802933F0 00290350 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 802933F4 00290354 38 81 00 14 */ addi r4, r1, 0x14 -/* 802933F8 00290358 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802933FC 0029035C 48 08 04 15 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 80293400 00290360 7F E4 FB 78 */ mr r4, r31 -/* 80293404 00290364 38 61 01 18 */ addi r3, r1, 0x118 -/* 80293408 00290368 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 8029340C 0029036C 48 07 F5 45 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80293410 00290370 7F 83 E3 78 */ mr r3, r28 -/* 80293414 00290374 7F C4 F3 78 */ mr r4, r30 -/* 80293418 00290378 38 A1 01 18 */ addi r5, r1, 0x118 -/* 8029341C 0029037C 38 E1 00 20 */ addi r7, r1, 0x20 -/* 80293420 00290380 38 C0 00 00 */ li r6, 0 -/* 80293424 00290384 4B E8 19 99 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_80293428: -/* 80293428 00290388 80 1D 01 6C */ lwz r0, 0x16c(r29) -/* 8029342C 0029038C 28 00 00 00 */ cmplwi r0, 0 -/* 80293430 00290390 41 82 00 B4 */ beq lbl_802934E4 -/* 80293434 00290394 C0 3D 01 AC */ lfs f1, 0x1ac(r29) -/* 80293438 00290398 38 61 00 58 */ addi r3, r1, 0x58 -/* 8029343C 0029039C C0 1D 01 A8 */ lfs f0, 0x1a8(r29) -/* 80293440 002903A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80293444 002903A4 D0 21 00 08 */ stfs f1, 8(r1) -/* 80293448 002903A8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8029344C 002903AC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80293450 002903B0 48 07 DC E1 */ bl YRotation__11CQuaternionFRC9CRelAngle -/* 80293454 002903B4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80293458 002903B8 38 81 00 0C */ addi r4, r1, 0xc -/* 8029345C 002903BC 48 07 DD 0D */ bl XRotation__11CQuaternionFRC9CRelAngle -/* 80293460 002903C0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80293464 002903C4 38 81 00 08 */ addi r4, r1, 8 -/* 80293468 002903C8 48 07 DC 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8029346C 002903CC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80293470 002903D0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80293474 002903D4 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80293478 002903D8 48 07 DD 29 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8029347C 002903DC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80293480 002903E0 38 81 00 28 */ addi r4, r1, 0x28 -/* 80293484 002903E4 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80293488 002903E8 48 07 DD 19 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8029348C 002903EC C0 61 00 68 */ lfs f3, 0x68(r1) -/* 80293490 002903F0 38 61 00 88 */ addi r3, r1, 0x88 -/* 80293494 002903F4 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 80293498 002903F8 38 81 00 78 */ addi r4, r1, 0x78 -/* 8029349C 002903FC C0 21 00 70 */ lfs f1, 0x70(r1) -/* 802934A0 00290400 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802934A4 00290404 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 802934A8 00290408 83 9D 01 6C */ lwz r28, 0x16c(r29) -/* 802934AC 0029040C D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 802934B0 00290410 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 802934B4 00290414 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 802934B8 00290418 48 07 EB 01 */ bl BuildTransform4f__11CQuaternionCFv -/* 802934BC 0029041C 7F E4 FB 78 */ mr r4, r31 -/* 802934C0 00290420 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802934C4 00290424 38 A1 00 88 */ addi r5, r1, 0x88 -/* 802934C8 00290428 48 07 F4 89 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802934CC 0029042C 7F 83 E3 78 */ mr r3, r28 -/* 802934D0 00290430 7F C4 F3 78 */ mr r4, r30 -/* 802934D4 00290434 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 802934D8 00290438 38 E1 00 20 */ addi r7, r1, 0x20 -/* 802934DC 0029043C 38 C0 00 00 */ li r6, 0 -/* 802934E0 00290440 4B E8 18 DD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_802934E4: -/* 802934E4 00290444 BB 61 01 4C */ lmw r27, 0x14c(r1) -/* 802934E8 00290448 80 01 01 64 */ lwz r0, 0x164(r1) -/* 802934EC 0029044C 7C 08 03 A6 */ mtlr r0 -/* 802934F0 00290450 38 21 01 60 */ addi r1, r1, 0x160 -/* 802934F4 00290454 4E 80 00 20 */ blr - -.global __dt__11CPhazonPoolFv -__dt__11CPhazonPoolFv: -/* 802934F8 00290458 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802934FC 0029045C 7C 08 02 A6 */ mflr r0 -/* 80293500 00290460 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293504 00290464 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293508 00290468 7C 9F 23 78 */ mr r31, r4 -/* 8029350C 0029046C 93 C1 00 08 */ stw r30, 8(r1) -/* 80293510 00290470 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80293514 00290474 41 82 00 B0 */ beq lbl_802935C4 -/* 80293518 00290478 3C 60 80 3F */ lis r3, lbl_803EBB48@ha -/* 8029351C 0029047C 34 1E 01 74 */ addic. r0, r30, 0x174 -/* 80293520 00290480 38 03 BB 48 */ addi r0, r3, lbl_803EBB48@l -/* 80293524 00290484 90 1E 00 00 */ stw r0, 0(r30) -/* 80293528 00290488 41 82 00 24 */ beq lbl_8029354C -/* 8029352C 0029048C 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80293530 00290490 28 03 00 00 */ cmplwi r3, 0 -/* 80293534 00290494 41 82 00 18 */ beq lbl_8029354C -/* 80293538 00290498 81 83 00 00 */ lwz r12, 0(r3) -/* 8029353C 0029049C 38 80 00 01 */ li r4, 1 -/* 80293540 002904A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80293544 002904A4 7D 89 03 A6 */ mtctr r12 -/* 80293548 002904A8 4E 80 04 21 */ bctrl -lbl_8029354C: -/* 8029354C 002904AC 34 1E 01 70 */ addic. r0, r30, 0x170 -/* 80293550 002904B0 41 82 00 24 */ beq lbl_80293574 -/* 80293554 002904B4 80 7E 01 70 */ lwz r3, 0x170(r30) -/* 80293558 002904B8 28 03 00 00 */ cmplwi r3, 0 -/* 8029355C 002904BC 41 82 00 18 */ beq lbl_80293574 -/* 80293560 002904C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80293564 002904C4 38 80 00 01 */ li r4, 1 -/* 80293568 002904C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029356C 002904CC 7D 89 03 A6 */ mtctr r12 -/* 80293570 002904D0 4E 80 04 21 */ bctrl -lbl_80293574: -/* 80293574 002904D4 34 1E 01 6C */ addic. r0, r30, 0x16c -/* 80293578 002904D8 41 82 00 10 */ beq lbl_80293588 -/* 8029357C 002904DC 80 7E 01 6C */ lwz r3, 0x16c(r30) -/* 80293580 002904E0 38 80 00 01 */ li r4, 1 -/* 80293584 002904E4 4B E8 34 C9 */ bl __dt__10CModelDataFv -lbl_80293588: -/* 80293588 002904E8 34 1E 01 68 */ addic. r0, r30, 0x168 -/* 8029358C 002904EC 41 82 00 10 */ beq lbl_8029359C -/* 80293590 002904F0 80 7E 01 68 */ lwz r3, 0x168(r30) -/* 80293594 002904F4 38 80 00 01 */ li r4, 1 -/* 80293598 002904F8 4B E8 34 B5 */ bl __dt__10CModelDataFv -lbl_8029359C: -/* 8029359C 002904FC 38 7E 01 50 */ addi r3, r30, 0x150 -/* 802935A0 00290500 38 80 FF FF */ li r4, -1 -/* 802935A4 00290504 4B E6 E8 E5 */ bl sub_80101e88 -/* 802935A8 00290508 7F C3 F3 78 */ mr r3, r30 -/* 802935AC 0029050C 38 80 00 00 */ li r4, 0 -/* 802935B0 00290510 4B DE 36 D1 */ bl __dt__14CScriptTriggerFv -/* 802935B4 00290514 7F E0 07 35 */ extsh. r0, r31 -/* 802935B8 00290518 40 81 00 0C */ ble lbl_802935C4 -/* 802935BC 0029051C 7F C3 F3 78 */ mr r3, r30 -/* 802935C0 00290520 48 08 23 71 */ bl Free__7CMemoryFPCv -lbl_802935C4: -/* 802935C4 00290524 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802935C8 00290528 7F C3 F3 78 */ mr r3, r30 -/* 802935CC 0029052C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802935D0 00290530 83 C1 00 08 */ lwz r30, 8(r1) -/* 802935D4 00290534 7C 08 03 A6 */ mtlr r0 -/* 802935D8 00290538 38 21 00 10 */ addi r1, r1, 0x10 -/* 802935DC 0029053C 4E 80 00 20 */ blr - -.global __ct__11CPhazonPoolFv -__ct__11CPhazonPoolFv: -/* 802935E0 00290540 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 802935E4 00290544 7C 08 02 A6 */ mflr r0 -/* 802935E8 00290548 90 01 01 24 */ stw r0, 0x124(r1) -/* 802935EC 0029054C DB E1 01 10 */ stfd f31, 0x110(r1) -/* 802935F0 00290550 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 802935F4 00290554 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 802935F8 00290558 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 802935FC 0029055C DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 80293600 00290560 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80293604 00290564 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 80293608 00290568 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 8029360C 0029056C BF 01 00 C0 */ stmw r24, 0xc0(r1) -/* 80293610 00290570 A1 84 00 00 */ lhz r12, 0(r4) -/* 80293614 00290574 3C 80 80 5A */ lis r4, lbl_805A6784@ha -/* 80293618 00290578 C0 C7 00 2C */ lfs f6, 0x2c(r7) -/* 8029361C 0029057C 39 60 00 00 */ li r11, 0 -/* 80293620 00290580 C0 A7 00 1C */ lfs f5, 0x1c(r7) -/* 80293624 00290584 FF A0 08 90 */ fmr f29, f1 -/* 80293628 00290588 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 8029362C 0029058C FF C0 10 90 */ fmr f30, f2 -/* 80293630 00290590 D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 80293634 00290594 FF E0 18 90 */ fmr f31, f3 -/* 80293638 00290598 80 E1 01 40 */ lwz r7, 0x140(r1) -/* 8029363C 0029059C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80293640 002905A0 FF 80 20 90 */ fmr f28, f4 -/* 80293644 002905A4 83 81 01 38 */ lwz r28, 0x138(r1) -/* 80293648 002905A8 38 04 67 84 */ addi r0, r4, lbl_805A6784@l -/* 8029364C 002905AC D0 C1 00 98 */ stfs f6, 0x98(r1) -/* 80293650 002905B0 7D 18 43 78 */ mr r24, r8 -/* 80293654 002905B4 80 81 01 3C */ lwz r4, 0x13c(r1) -/* 80293658 002905B8 B1 81 00 18 */ sth r12, 0x18(r1) -/* 8029365C 002905BC 7D 59 53 78 */ mr r25, r10 -/* 80293660 002905C0 83 41 01 28 */ lwz r26, 0x128(r1) -/* 80293664 002905C4 7C 7F 1B 78 */ mr r31, r3 -/* 80293668 002905C8 90 E1 00 08 */ stw r7, 8(r1) -/* 8029366C 002905CC 7C 08 03 78 */ mr r8, r0 -/* 80293670 002905D0 83 61 01 2C */ lwz r27, 0x12c(r1) -/* 80293674 002905D4 7C 8A 23 78 */ mr r10, r4 -/* 80293678 002905D8 91 21 00 0C */ stw r9, 0xc(r1) -/* 8029367C 002905DC 7F 89 E3 78 */ mr r9, r28 -/* 80293680 002905E0 83 81 01 30 */ lwz r28, 0x130(r1) -/* 80293684 002905E4 38 81 00 18 */ addi r4, r1, 0x18 -/* 80293688 002905E8 91 61 00 10 */ stw r11, 0x10(r1) -/* 8029368C 002905EC 38 E1 00 90 */ addi r7, r1, 0x90 -/* 80293690 002905F0 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 80293694 002905F4 91 61 00 14 */ stw r11, 0x14(r1) -/* 80293698 002905F8 8B C1 01 47 */ lbz r30, 0x147(r1) -/* 8029369C 002905FC 4B DE 36 BD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" -/* 802936A0 00290600 3C 80 80 3F */ lis r4, lbl_803EBB48@ha -/* 802936A4 00290604 38 DF 01 5C */ addi r6, r31, 0x15c -/* 802936A8 00290608 38 04 BB 48 */ addi r0, r4, lbl_803EBB48@l -/* 802936AC 0029060C 3C 60 80 3D */ lis r3, lbl_803D5B78@ha -/* 802936B0 00290610 90 1F 00 00 */ stw r0, 0(r31) -/* 802936B4 00290614 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l -/* 802936B8 00290618 38 00 00 00 */ li r0, 0 -/* 802936BC 0029061C 38 60 00 4C */ li r3, 0x4c -/* 802936C0 00290620 90 DF 01 54 */ stw r6, 0x154(r31) -/* 802936C4 00290624 38 A0 00 00 */ li r5, 0 -/* 802936C8 00290628 90 DF 01 58 */ stw r6, 0x158(r31) -/* 802936CC 0029062C 90 DF 01 5C */ stw r6, 0x15c(r31) -/* 802936D0 00290630 90 DF 01 60 */ stw r6, 0x160(r31) -/* 802936D4 00290634 90 1F 01 64 */ stw r0, 0x164(r31) -/* 802936D8 00290638 48 08 21 95 */ bl __nw__FUlPCcPCc -/* 802936DC 0029063C 7C 60 1B 79 */ or. r0, r3, r3 -/* 802936E0 00290640 41 82 00 28 */ beq lbl_80293708 -/* 802936E4 00290644 80 1A 00 00 */ lwz r0, 0(r26) -/* 802936E8 00290648 38 81 00 80 */ addi r4, r1, 0x80 -/* 802936EC 0029064C C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) -/* 802936F0 00290650 90 01 00 80 */ stw r0, 0x80(r1) -/* 802936F4 00290654 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 802936F8 00290658 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802936FC 0029065C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80293700 00290660 4B E8 36 5D */ bl __ct__10CModelDataFRC10CStaticRes -/* 80293704 00290664 7C 60 1B 78 */ mr r0, r3 -lbl_80293708: -/* 80293708 00290668 3C 60 80 3D */ lis r3, lbl_803D5B78@ha -/* 8029370C 0029066C 90 1F 01 68 */ stw r0, 0x168(r31) -/* 80293710 00290670 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l -/* 80293714 00290674 38 A0 00 00 */ li r5, 0 -/* 80293718 00290678 38 60 00 4C */ li r3, 0x4c -/* 8029371C 0029067C 48 08 21 51 */ bl __nw__FUlPCcPCc -/* 80293720 00290680 7C 60 1B 79 */ or. r0, r3, r3 -/* 80293724 00290684 41 82 00 28 */ beq lbl_8029374C -/* 80293728 00290688 C0 02 BF 1C */ lfs f0, lbl_805ADC3C@sda21(r2) -/* 8029372C 0029068C 38 81 00 70 */ addi r4, r1, 0x70 -/* 80293730 00290690 80 19 00 00 */ lwz r0, 0(r25) -/* 80293734 00290694 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80293738 00290698 90 01 00 70 */ stw r0, 0x70(r1) -/* 8029373C 0029069C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80293740 002906A0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80293744 002906A4 4B E8 36 19 */ bl __ct__10CModelDataFRC10CStaticRes -/* 80293748 002906A8 7C 60 1B 78 */ mr r0, r3 -lbl_8029374C: -/* 8029374C 002906AC 90 1F 01 6C */ stw r0, 0x16c(r31) -/* 80293750 002906B0 38 A0 00 00 */ li r5, 0 -/* 80293754 002906B4 3C 60 80 5A */ lis r3, lbl_805A6784@ha -/* 80293758 002906B8 C0 22 BF 2C */ lfs f1, lbl_805ADC4C@sda21(r2) -/* 8029375C 002906BC 90 BF 01 70 */ stw r5, 0x170(r31) -/* 80293760 002906C0 38 83 67 84 */ addi r4, r3, lbl_805A6784@l -/* 80293764 002906C4 C0 02 BF 20 */ lfs f0, lbl_805ADC40@sda21(r2) -/* 80293768 002906C8 38 60 00 02 */ li r3, 2 -/* 8029376C 002906CC 90 BF 01 74 */ stw r5, 0x174(r31) -/* 80293770 002906D0 C0 44 00 00 */ lfs f2, 0(r4) -/* 80293774 002906D4 D0 5F 01 78 */ stfs f2, 0x178(r31) -/* 80293778 002906D8 C0 44 00 04 */ lfs f2, 4(r4) -/* 8029377C 002906DC D0 5F 01 7C */ stfs f2, 0x17c(r31) -/* 80293780 002906E0 C0 44 00 08 */ lfs f2, 8(r4) -/* 80293784 002906E4 D0 5F 01 80 */ stfs f2, 0x180(r31) -/* 80293788 002906E8 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 8029378C 002906EC D0 5F 01 84 */ stfs f2, 0x184(r31) -/* 80293790 002906F0 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 80293794 002906F4 D0 5F 01 88 */ stfs f2, 0x188(r31) -/* 80293798 002906F8 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 8029379C 002906FC D0 5F 01 8C */ stfs f2, 0x18c(r31) -/* 802937A0 00290700 C0 58 00 00 */ lfs f2, 0(r24) -/* 802937A4 00290704 D0 5F 01 90 */ stfs f2, 0x190(r31) -/* 802937A8 00290708 C0 58 00 04 */ lfs f2, 4(r24) -/* 802937AC 0029070C D0 5F 01 94 */ stfs f2, 0x194(r31) -/* 802937B0 00290710 C0 58 00 08 */ lfs f2, 8(r24) -/* 802937B4 00290714 D0 5F 01 98 */ stfs f2, 0x198(r31) -/* 802937B8 00290718 D3 BF 01 9C */ stfs f29, 0x19c(r31) -/* 802937BC 0029071C D3 BF 01 A0 */ stfs f29, 0x1a0(r31) -/* 802937C0 00290720 D0 3F 01 A4 */ stfs f1, 0x1a4(r31) -/* 802937C4 00290724 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 802937C8 00290728 D0 1F 01 AC */ stfs f0, 0x1ac(r31) -/* 802937CC 0029072C D0 1F 01 B0 */ stfs f0, 0x1b0(r31) -/* 802937D0 00290730 D0 1F 01 B4 */ stfs f0, 0x1b4(r31) -/* 802937D4 00290734 D0 1F 01 B8 */ stfs f0, 0x1b8(r31) -/* 802937D8 00290738 D3 DF 01 BC */ stfs f30, 0x1bc(r31) -/* 802937DC 0029073C D3 9F 01 C0 */ stfs f28, 0x1c0(r31) -/* 802937E0 00290740 D0 1F 01 C4 */ stfs f0, 0x1c4(r31) -/* 802937E4 00290744 D3 FF 01 C8 */ stfs f31, 0x1c8(r31) -/* 802937E8 00290748 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -/* 802937EC 0029074C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 802937F0 00290750 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802937F4 00290754 93 BF 01 D8 */ stw r29, 0x1d8(r31) -/* 802937F8 00290758 90 BF 01 DC */ stw r5, 0x1dc(r31) -/* 802937FC 0029075C 88 1F 01 E0 */ lbz r0, 0x1e0(r31) -/* 80293800 00290760 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 -/* 80293804 00290764 98 1F 01 E0 */ stb r0, 0x1e0(r31) -/* 80293808 00290768 88 1F 01 E0 */ lbz r0, 0x1e0(r31) -/* 8029380C 0029076C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80293810 00290770 98 1F 01 E0 */ stb r0, 0x1e0(r31) -/* 80293814 00290774 88 1F 00 E6 */ lbz r0, 0xe6(r31) -/* 80293818 00290778 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c -/* 8029381C 0029077C 98 1F 00 E6 */ stb r0, 0xe6(r31) -/* 80293820 00290780 80 9B 00 00 */ lwz r4, 0(r27) -/* 80293824 00290784 3C 04 00 01 */ addis r0, r4, 1 -/* 80293828 00290788 28 00 FF FF */ cmplwi r0, 0xffff -/* 8029382C 0029078C 41 82 01 34 */ beq lbl_80293960 -/* 80293830 00290790 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80293834 00290794 90 81 00 48 */ stw r4, 0x48(r1) -/* 80293838 00290798 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8029383C 0029079C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80293840 002907A0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80293844 002907A4 38 61 00 3C */ addi r3, r1, 0x3c -/* 80293848 002907A8 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8029384C 002907AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80293850 002907B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80293854 002907B4 7D 89 03 A6 */ mtctr r12 -/* 80293858 002907B8 4E 80 04 21 */ bctrl -/* 8029385C 002907BC 3B 01 00 64 */ addi r24, r1, 0x64 -/* 80293860 002907C0 38 81 00 3C */ addi r4, r1, 0x3c -/* 80293864 002907C4 7F 03 C3 78 */ mr r3, r24 -/* 80293868 002907C8 48 0A D6 41 */ bl __ct__6CTokenFRC6CToken -/* 8029386C 002907CC 7F 03 C3 78 */ mr r3, r24 -/* 80293870 002907D0 48 0A D5 9D */ bl GetObj__6CTokenFv -/* 80293874 002907D4 80 03 00 04 */ lwz r0, 4(r3) -/* 80293878 002907D8 3B 01 00 A8 */ addi r24, r1, 0xa8 -/* 8029387C 002907DC 7F 03 C3 78 */ mr r3, r24 -/* 80293880 002907E0 38 81 00 64 */ addi r4, r1, 0x64 -/* 80293884 002907E4 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80293888 002907E8 48 0A D6 21 */ bl __ct__6CTokenFRC6CToken -/* 8029388C 002907EC 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80293890 002907F0 7F 03 C3 78 */ mr r3, r24 -/* 80293894 002907F4 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80293898 002907F8 48 0A D4 ED */ bl Lock__6CTokenFv -/* 8029389C 002907FC 38 61 00 64 */ addi r3, r1, 0x64 -/* 802938A0 00290800 38 80 00 00 */ li r4, 0 -/* 802938A4 00290804 48 0A D5 9D */ bl __dt__6CTokenFv -/* 802938A8 00290808 38 61 00 3C */ addi r3, r1, 0x3c -/* 802938AC 0029080C 38 80 FF FF */ li r4, -1 -/* 802938B0 00290810 48 0A D5 91 */ bl __dt__6CTokenFv -/* 802938B4 00290814 3C 60 80 3D */ lis r3, lbl_803D5B78@ha -/* 802938B8 00290818 3B 20 00 00 */ li r25, 0 -/* 802938BC 0029081C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l -/* 802938C0 00290820 38 A0 00 00 */ li r5, 0 -/* 802938C4 00290824 38 60 03 40 */ li r3, 0x340 -/* 802938C8 00290828 48 08 1F A5 */ bl __nw__FUlPCcPCc -/* 802938CC 0029082C 7C 78 1B 79 */ or. r24, r3, r3 -/* 802938D0 00290830 41 82 00 2C */ beq lbl_802938FC -/* 802938D4 00290834 38 61 00 34 */ addi r3, r1, 0x34 -/* 802938D8 00290838 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 802938DC 0029083C 48 0A D5 CD */ bl __ct__6CTokenFRC6CToken -/* 802938E0 00290840 7F 03 C3 78 */ mr r3, r24 -/* 802938E4 00290844 38 81 00 34 */ addi r4, r1, 0x34 -/* 802938E8 00290848 3B 20 00 01 */ li r25, 1 -/* 802938EC 0029084C 38 A0 00 00 */ li r5, 0 -/* 802938F0 00290850 38 C0 00 01 */ li r6, 1 -/* 802938F4 00290854 48 08 BA ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 802938F8 00290858 7C 78 1B 78 */ mr r24, r3 -lbl_802938FC: -/* 802938FC 0029085C 80 7F 01 70 */ lwz r3, 0x170(r31) -/* 80293900 00290860 28 03 00 00 */ cmplwi r3, 0 -/* 80293904 00290864 41 82 00 18 */ beq lbl_8029391C -/* 80293908 00290868 81 83 00 00 */ lwz r12, 0(r3) -/* 8029390C 0029086C 38 80 00 01 */ li r4, 1 -/* 80293910 00290870 81 8C 00 08 */ lwz r12, 8(r12) -/* 80293914 00290874 7D 89 03 A6 */ mtctr r12 -/* 80293918 00290878 4E 80 04 21 */ bctrl -lbl_8029391C: -/* 8029391C 0029087C 7F 20 07 75 */ extsb. r0, r25 -/* 80293920 00290880 93 1F 01 70 */ stw r24, 0x170(r31) -/* 80293924 00290884 41 82 00 10 */ beq lbl_80293934 -/* 80293928 00290888 38 61 00 34 */ addi r3, r1, 0x34 -/* 8029392C 0029088C 38 80 00 00 */ li r4, 0 -/* 80293930 00290890 48 0A D5 11 */ bl __dt__6CTokenFv -lbl_80293934: -/* 80293934 00290894 80 7F 01 70 */ lwz r3, 0x170(r31) -/* 80293938 00290898 28 03 00 00 */ cmplwi r3, 0 -/* 8029393C 0029089C 41 82 00 18 */ beq lbl_80293954 -/* 80293940 002908A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80293944 002908A4 38 80 00 00 */ li r4, 0 -/* 80293948 002908A8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8029394C 002908AC 7D 89 03 A6 */ mtctr r12 -/* 80293950 002908B0 4E 80 04 21 */ bctrl -lbl_80293954: -/* 80293954 002908B4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80293958 002908B8 38 80 00 00 */ li r4, 0 -/* 8029395C 002908BC 48 0A D4 E5 */ bl __dt__6CTokenFv -lbl_80293960: -/* 80293960 002908C0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80293964 002908C4 3C 04 00 01 */ addis r0, r4, 1 -/* 80293968 002908C8 28 00 FF FF */ cmplwi r0, 0xffff -/* 8029396C 002908CC 41 82 01 5C */ beq lbl_80293AC8 -/* 80293970 002908D0 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80293974 002908D4 90 81 00 30 */ stw r4, 0x30(r1) -/* 80293978 002908D8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8029397C 002908DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80293980 002908E0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80293984 002908E4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80293988 002908E8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8029398C 002908EC 81 84 00 00 */ lwz r12, 0(r4) -/* 80293990 002908F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80293994 002908F4 7D 89 03 A6 */ mtctr r12 -/* 80293998 002908F8 4E 80 04 21 */ bctrl -/* 8029399C 002908FC 3B 01 00 58 */ addi r24, r1, 0x58 -/* 802939A0 00290900 38 81 00 24 */ addi r4, r1, 0x24 -/* 802939A4 00290904 7F 03 C3 78 */ mr r3, r24 -/* 802939A8 00290908 48 0A D5 01 */ bl __ct__6CTokenFRC6CToken -/* 802939AC 0029090C 7F 03 C3 78 */ mr r3, r24 -/* 802939B0 00290910 48 0A D4 5D */ bl GetObj__6CTokenFv -/* 802939B4 00290914 80 03 00 04 */ lwz r0, 4(r3) -/* 802939B8 00290918 3B 01 00 9C */ addi r24, r1, 0x9c -/* 802939BC 0029091C 7F 03 C3 78 */ mr r3, r24 -/* 802939C0 00290920 38 81 00 58 */ addi r4, r1, 0x58 -/* 802939C4 00290924 90 01 00 60 */ stw r0, 0x60(r1) -/* 802939C8 00290928 48 0A D4 E1 */ bl __ct__6CTokenFRC6CToken -/* 802939CC 0029092C 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802939D0 00290930 7F 03 C3 78 */ mr r3, r24 -/* 802939D4 00290934 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802939D8 00290938 48 0A D3 AD */ bl Lock__6CTokenFv -/* 802939DC 0029093C 38 61 00 58 */ addi r3, r1, 0x58 -/* 802939E0 00290940 38 80 00 00 */ li r4, 0 -/* 802939E4 00290944 48 0A D4 5D */ bl __dt__6CTokenFv -/* 802939E8 00290948 38 61 00 24 */ addi r3, r1, 0x24 -/* 802939EC 0029094C 38 80 FF FF */ li r4, -1 -/* 802939F0 00290950 48 0A D4 51 */ bl __dt__6CTokenFv -/* 802939F4 00290954 3C 60 80 3D */ lis r3, lbl_803D5B78@ha -/* 802939F8 00290958 3B 20 00 00 */ li r25, 0 -/* 802939FC 0029095C 38 83 5B 78 */ addi r4, r3, lbl_803D5B78@l -/* 80293A00 00290960 38 A0 00 00 */ li r5, 0 -/* 80293A04 00290964 38 60 03 40 */ li r3, 0x340 -/* 80293A08 00290968 48 08 1E 65 */ bl __nw__FUlPCcPCc -/* 80293A0C 0029096C 7C 78 1B 79 */ or. r24, r3, r3 -/* 80293A10 00290970 41 82 00 2C */ beq lbl_80293A3C -/* 80293A14 00290974 38 61 00 1C */ addi r3, r1, 0x1c -/* 80293A18 00290978 38 81 00 9C */ addi r4, r1, 0x9c -/* 80293A1C 0029097C 48 0A D4 8D */ bl __ct__6CTokenFRC6CToken -/* 80293A20 00290980 7F 03 C3 78 */ mr r3, r24 -/* 80293A24 00290984 38 81 00 1C */ addi r4, r1, 0x1c -/* 80293A28 00290988 3B 20 00 01 */ li r25, 1 -/* 80293A2C 0029098C 38 A0 00 00 */ li r5, 0 -/* 80293A30 00290990 38 C0 00 01 */ li r6, 1 -/* 80293A34 00290994 48 08 B9 AD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80293A38 00290998 7C 78 1B 78 */ mr r24, r3 -lbl_80293A3C: -/* 80293A3C 0029099C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80293A40 002909A0 28 03 00 00 */ cmplwi r3, 0 -/* 80293A44 002909A4 41 82 00 18 */ beq lbl_80293A5C -/* 80293A48 002909A8 81 83 00 00 */ lwz r12, 0(r3) -/* 80293A4C 002909AC 38 80 00 01 */ li r4, 1 -/* 80293A50 002909B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80293A54 002909B4 7D 89 03 A6 */ mtctr r12 -/* 80293A58 002909B8 4E 80 04 21 */ bctrl -lbl_80293A5C: -/* 80293A5C 002909BC 7F 20 07 75 */ extsb. r0, r25 -/* 80293A60 002909C0 93 1F 01 74 */ stw r24, 0x174(r31) -/* 80293A64 002909C4 41 82 00 10 */ beq lbl_80293A74 -/* 80293A68 002909C8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80293A6C 002909CC 38 80 00 00 */ li r4, 0 -/* 80293A70 002909D0 48 0A D3 D1 */ bl __dt__6CTokenFv -lbl_80293A74: -/* 80293A74 002909D4 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80293A78 002909D8 28 03 00 00 */ cmplwi r3, 0 -/* 80293A7C 002909DC 41 82 00 40 */ beq lbl_80293ABC -/* 80293A80 002909E0 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 80293A84 002909E4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80293A88 002909E8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80293A8C 002909EC D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80293A90 002909F0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80293A94 002909F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80293A98 002909F8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80293A9C 002909FC 7D 89 03 A6 */ mtctr r12 -/* 80293AA0 00290A00 4E 80 04 21 */ bctrl -/* 80293AA4 00290A04 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80293AA8 00290A08 38 80 00 00 */ li r4, 0 -/* 80293AAC 00290A0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80293AB0 00290A10 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80293AB4 00290A14 7D 89 03 A6 */ mtctr r12 -/* 80293AB8 00290A18 4E 80 04 21 */ bctrl -lbl_80293ABC: -/* 80293ABC 00290A1C 38 61 00 9C */ addi r3, r1, 0x9c -/* 80293AC0 00290A20 38 80 00 00 */ li r4, 0 -/* 80293AC4 00290A24 48 0A D3 7D */ bl __dt__6CTokenFv -lbl_80293AC8: -/* 80293AC8 00290A28 7F E3 FB 78 */ mr r3, r31 -/* 80293ACC 00290A2C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80293AD0 00290A30 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80293AD4 00290A34 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80293AD8 00290A38 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 80293ADC 00290A3C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 80293AE0 00290A40 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 80293AE4 00290A44 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 80293AE8 00290A48 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 80293AEC 00290A4C BB 01 00 C0 */ lmw r24, 0xc0(r1) -/* 80293AF0 00290A50 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80293AF4 00290A54 7C 08 03 A6 */ mtlr r0 -/* 80293AF8 00290A58 38 21 01 20 */ addi r1, r1, 0x120 -/* 80293AFC 00290A5C 4E 80 00 20 */ blr - -.global GetPassword__12CNESEmulatorFv -GetPassword__12CNESEmulatorFv: -/* 80293B00 00290A60 38 63 00 21 */ addi r3, r3, 0x21 -/* 80293B04 00290A64 4E 80 00 20 */ blr - -.global IsGameOver__12CNESEmulatorFv -IsGameOver__12CNESEmulatorFv: -/* 80293B08 00290A68 88 63 00 20 */ lbz r3, 0x20(r3) -/* 80293B0C 00290A6C 4E 80 00 20 */ blr - -.global LoadPassword__12CNESEmulatorFPCc -LoadPassword__12CNESEmulatorFPCc: -/* 80293B10 00290A70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293B14 00290A74 7C 08 02 A6 */ mflr r0 -/* 80293B18 00290A78 38 A0 00 12 */ li r5, 0x12 -/* 80293B1C 00290A7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293B20 00290A80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293B24 00290A84 7C 7F 1B 78 */ mr r31, r3 -/* 80293B28 00290A88 38 7F 00 39 */ addi r3, r31, 0x39 -/* 80293B2C 00290A8C 4B D6 F9 65 */ bl memcpy -/* 80293B30 00290A90 38 00 00 01 */ li r0, 1 -/* 80293B34 00290A94 98 1F 00 38 */ stb r0, 0x38(r31) -/* 80293B38 00290A98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293B3C 00290A9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293B40 00290AA0 7C 08 03 A6 */ mtlr r0 -/* 80293B44 00290AA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293B48 00290AA8 4E 80 00 20 */ blr - -.global GetPasswordEntryState__12CNESEmulatorFv -GetPasswordEntryState__12CNESEmulatorFv: -/* 80293B4C 00290AAC 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80293B50 00290AB0 4E 80 00 20 */ blr - -.global Draw__12CNESEmulatorFRC6CColorb -Draw__12CNESEmulatorFRC6CColorb: -/* 80293B54 00290AB4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80293B58 00290AB8 7C 08 02 A6 */ mflr r0 -/* 80293B5C 00290ABC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80293B60 00290AC0 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80293B64 00290AC4 7C 7C 1B 78 */ mr r28, r3 -/* 80293B68 00290AC8 7C 9F 23 78 */ mr r31, r4 -/* 80293B6C 00290ACC 7C BB 2B 78 */ mr r27, r5 -/* 80293B70 00290AD0 80 03 00 00 */ lwz r0, 0(r3) -/* 80293B74 00290AD4 28 00 00 00 */ cmplwi r0, 0 -/* 80293B78 00290AD8 40 82 02 A0 */ bne lbl_80293E18 -/* 80293B7C 00290ADC 38 60 00 02 */ li r3, 2 -/* 80293B80 00290AE0 48 0E 4F D9 */ bl GXSetCullMode -/* 80293B84 00290AE4 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) -/* 80293B88 00290AE8 C0 62 BF 44 */ lfs f3, lbl_805ADC64@sda21(r2) -/* 80293B8C 00290AEC FC 40 08 90 */ fmr f2, f1 -/* 80293B90 00290AF0 C0 82 BF 48 */ lfs f4, lbl_805ADC68@sda21(r2) -/* 80293B94 00290AF4 C0 A2 BF 4C */ lfs f5, lbl_805ADC6C@sda21(r2) -/* 80293B98 00290AF8 C0 C2 BF 50 */ lfs f6, lbl_805ADC70@sda21(r2) -/* 80293B9C 00290AFC 48 0E 8A AD */ bl GXSetViewport -/* 80293BA0 00290B00 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) -/* 80293BA4 00290B04 80 7C 00 08 */ lwz r3, 8(r28) -/* 80293BA8 00290B08 81 84 00 18 */ lwz r12, 0x18(r4) -/* 80293BAC 00290B0C 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80293BB0 00290B10 7D 89 03 A6 */ mtctr r12 -/* 80293BB4 00290B14 4E 80 04 21 */ bctrl -/* 80293BB8 00290B18 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) -/* 80293BBC 00290B1C 80 7C 00 08 */ lwz r3, 8(r28) -/* 80293BC0 00290B20 81 84 00 1C */ lwz r12, 0x1c(r4) -/* 80293BC4 00290B24 7D 89 03 A6 */ mtctr r12 -/* 80293BC8 00290B28 4E 80 04 21 */ bctrl -/* 80293BCC 00290B2C 38 60 00 00 */ li r3, 0 -/* 80293BD0 00290B30 48 0E 8B 6D */ bl GXSetClipMode -/* 80293BD4 00290B34 38 60 00 00 */ li r3, 0 -/* 80293BD8 00290B38 38 80 00 09 */ li r4, 9 -/* 80293BDC 00290B3C 38 A0 00 01 */ li r5, 1 -/* 80293BE0 00290B40 38 C0 00 04 */ li r6, 4 -/* 80293BE4 00290B44 38 E0 00 00 */ li r7, 0 -/* 80293BE8 00290B48 48 0E 3B A5 */ bl GXSetVtxAttrFmt -/* 80293BEC 00290B4C 38 60 00 00 */ li r3, 0 -/* 80293BF0 00290B50 38 80 00 0A */ li r4, 0xa -/* 80293BF4 00290B54 38 A0 00 00 */ li r5, 0 -/* 80293BF8 00290B58 38 C0 00 04 */ li r6, 4 -/* 80293BFC 00290B5C 38 E0 00 00 */ li r7, 0 -/* 80293C00 00290B60 48 0E 3B 8D */ bl GXSetVtxAttrFmt -/* 80293C04 00290B64 38 60 00 00 */ li r3, 0 -/* 80293C08 00290B68 38 80 00 0B */ li r4, 0xb -/* 80293C0C 00290B6C 38 A0 00 01 */ li r5, 1 -/* 80293C10 00290B70 38 C0 00 05 */ li r6, 5 -/* 80293C14 00290B74 38 E0 00 00 */ li r7, 0 -/* 80293C18 00290B78 48 0E 3B 75 */ bl GXSetVtxAttrFmt -/* 80293C1C 00290B7C 38 60 00 00 */ li r3, 0 -/* 80293C20 00290B80 38 80 00 0D */ li r4, 0xd -/* 80293C24 00290B84 38 A0 00 01 */ li r5, 1 -/* 80293C28 00290B88 38 C0 00 04 */ li r6, 4 -/* 80293C2C 00290B8C 38 E0 00 00 */ li r7, 0 -/* 80293C30 00290B90 48 0E 3B 5D */ bl GXSetVtxAttrFmt -/* 80293C34 00290B94 3B C0 00 01 */ li r30, 1 -lbl_80293C38: -/* 80293C38 00290B98 38 9E 00 0D */ addi r4, r30, 0xd -/* 80293C3C 00290B9C 38 60 00 00 */ li r3, 0 -/* 80293C40 00290BA0 38 A0 00 01 */ li r5, 1 -/* 80293C44 00290BA4 38 C0 00 04 */ li r6, 4 -/* 80293C48 00290BA8 38 E0 00 00 */ li r7, 0 -/* 80293C4C 00290BAC 48 0E 3B 41 */ bl GXSetVtxAttrFmt -/* 80293C50 00290BB0 3B DE 00 01 */ addi r30, r30, 1 -/* 80293C54 00290BB4 2C 1E 00 07 */ cmpwi r30, 7 -/* 80293C58 00290BB8 40 81 FF E0 */ ble lbl_80293C38 -/* 80293C5C 00290BBC 38 60 00 00 */ li r3, 0 -/* 80293C60 00290BC0 38 80 00 03 */ li r4, 3 -/* 80293C64 00290BC4 48 0E 77 B5 */ bl GXSetTevOp -/* 80293C68 00290BC8 38 60 00 00 */ li r3, 0 -/* 80293C6C 00290BCC 38 80 00 00 */ li r4, 0 -/* 80293C70 00290BD0 38 A0 00 00 */ li r5, 0 -/* 80293C74 00290BD4 38 C0 00 00 */ li r6, 0 -/* 80293C78 00290BD8 48 0E 6C 39 */ bl GXSetTexCoordCylWrap -/* 80293C7C 00290BDC 48 07 44 59 */ bl sub_803080d4 -/* 80293C80 00290BE0 38 60 00 00 */ li r3, 0 -/* 80293C84 00290BE4 48 07 51 CD */ bl SetNumChans__3CGXFUc -/* 80293C88 00290BE8 38 60 00 01 */ li r3, 1 -/* 80293C8C 00290BEC 48 07 51 89 */ bl SetNumTexGens__3CGXFUc -/* 80293C90 00290BF0 38 60 00 01 */ li r3, 1 -/* 80293C94 00290BF4 48 07 4F FD */ bl SetNumTevStages__3CGXFUc -/* 80293C98 00290BF8 38 60 00 00 */ li r3, 0 -/* 80293C9C 00290BFC 48 07 49 F5 */ bl SetNumIndStages__3CGXFUc -/* 80293CA0 00290C00 38 60 00 00 */ li r3, 0 -/* 80293CA4 00290C04 38 80 00 01 */ li r4, 1 -/* 80293CA8 00290C08 38 A0 00 04 */ li r5, 4 -/* 80293CAC 00290C0C 38 C0 00 3C */ li r6, 0x3c -/* 80293CB0 00290C10 38 E0 00 00 */ li r7, 0 -/* 80293CB4 00290C14 39 00 00 7D */ li r8, 0x7d -/* 80293CB8 00290C18 48 07 4A 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80293CBC 00290C1C 38 60 00 00 */ li r3, 0 -/* 80293CC0 00290C20 48 07 4A 85 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 80293CC4 00290C24 38 60 00 00 */ li r3, 0 -/* 80293CC8 00290C28 38 80 00 00 */ li r4, 0 -/* 80293CCC 00290C2C 38 A0 00 00 */ li r5, 0 -/* 80293CD0 00290C30 38 C0 00 FF */ li r6, 0xff -/* 80293CD4 00290C34 48 07 4C 79 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80293CD8 00290C38 38 60 00 07 */ li r3, 7 -/* 80293CDC 00290C3C 38 80 00 00 */ li r4, 0 -/* 80293CE0 00290C40 38 A0 00 00 */ li r5, 0 -/* 80293CE4 00290C44 38 C0 00 07 */ li r6, 7 -/* 80293CE8 00290C48 38 E0 00 00 */ li r7, 0 -/* 80293CEC 00290C4C 48 07 7D 3D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80293CF0 00290C50 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80293CF4 00290C54 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80293CF8 00290C58 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80293CFC 00290C5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80293D00 00290C60 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80293D04 00290C64 7D 89 03 A6 */ mtctr r12 -/* 80293D08 00290C68 4E 80 04 21 */ bctrl -/* 80293D0C 00290C6C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80293D10 00290C70 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80293D14 00290C74 48 07 8A 39 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80293D18 00290C78 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80293D1C 00290C7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80293D20 00290C80 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 80293D24 00290C84 7D 89 03 A6 */ mtctr r12 -/* 80293D28 00290C88 4E 80 04 21 */ bctrl -/* 80293D2C 00290C8C 57 65 06 3E */ clrlwi r5, r27, 0x18 -/* 80293D30 00290C90 80 9C 00 04 */ lwz r4, 4(r28) -/* 80293D34 00290C94 7C 05 00 D0 */ neg r0, r5 -/* 80293D38 00290C98 38 61 00 08 */ addi r3, r1, 8 -/* 80293D3C 00290C9C 7C 00 2B 78 */ or r0, r0, r5 -/* 80293D40 00290CA0 38 A0 01 00 */ li r5, 0x100 -/* 80293D44 00290CA4 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 80293D48 00290CA8 38 C0 00 E4 */ li r6, 0xe4 -/* 80293D4C 00290CAC 38 E0 00 04 */ li r7, 4 -/* 80293D50 00290CB0 39 00 00 00 */ li r8, 0 -/* 80293D54 00290CB4 39 20 00 00 */ li r9, 0 -/* 80293D58 00290CB8 39 40 00 00 */ li r10, 0 -/* 80293D5C 00290CBC 48 0E 61 09 */ bl GXInitTexObj -/* 80293D60 00290CC0 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) -/* 80293D64 00290CC4 7F C4 F3 78 */ mr r4, r30 -/* 80293D68 00290CC8 7F C5 F3 78 */ mr r5, r30 -/* 80293D6C 00290CCC 38 61 00 08 */ addi r3, r1, 8 -/* 80293D70 00290CD0 FC 40 08 90 */ fmr f2, f1 -/* 80293D74 00290CD4 38 C0 00 00 */ li r6, 0 -/* 80293D78 00290CD8 FC 60 08 90 */ fmr f3, f1 -/* 80293D7C 00290CDC 38 E0 00 00 */ li r7, 0 -/* 80293D80 00290CE0 39 00 00 00 */ li r8, 0 -/* 80293D84 00290CE4 48 0E 63 9D */ bl GXInitTexObjLOD -/* 80293D88 00290CE8 38 60 00 00 */ li r3, 0 -/* 80293D8C 00290CEC 48 07 A3 BD */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 80293D90 00290CF0 48 0E 6A B1 */ bl GXInvalidateTexAll -/* 80293D94 00290CF4 38 61 00 08 */ addi r3, r1, 8 -/* 80293D98 00290CF8 38 80 00 00 */ li r4, 0 -/* 80293D9C 00290CFC 48 0E 66 F9 */ bl GXLoadTexObj -/* 80293DA0 00290D00 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80293DA4 00290D04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80293DA8 00290D08 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l -/* 80293DAC 00290D0C 83 C5 00 00 */ lwz r30, 0(r5) -/* 80293DB0 00290D10 38 60 00 00 */ li r3, 0 -/* 80293DB4 00290D14 83 A5 00 04 */ lwz r29, 4(r5) -/* 80293DB8 00290D18 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80293DBC 00290D1C 83 85 00 08 */ lwz r28, 8(r5) -/* 80293DC0 00290D20 83 65 00 0C */ lwz r27, 0xc(r5) -/* 80293DC4 00290D24 48 07 64 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80293DC8 00290D28 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80293DCC 00290D2C 38 80 00 00 */ li r4, 0 -/* 80293DD0 00290D30 88 03 03 18 */ lbz r0, 0x318(r3) -/* 80293DD4 00290D34 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 80293DD8 00290D38 7C 03 00 D0 */ neg r0, r3 -/* 80293DDC 00290D3C 7C 00 1B 78 */ or r0, r0, r3 -/* 80293DE0 00290D40 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80293DE4 00290D44 48 0E 81 E1 */ bl GXSetPixelFmt -/* 80293DE8 00290D48 7F C3 F3 78 */ mr r3, r30 -/* 80293DEC 00290D4C 7F 85 E3 78 */ mr r5, r28 -/* 80293DF0 00290D50 7F E7 FB 78 */ mr r7, r31 -/* 80293DF4 00290D54 7C 9D DA 14 */ add r4, r29, r27 -/* 80293DF8 00290D58 7C DB 00 D0 */ neg r6, r27 -/* 80293DFC 00290D5C 48 00 00 31 */ bl sub_80293e2c -/* 80293E00 00290D60 38 60 00 07 */ li r3, 7 -/* 80293E04 00290D64 38 80 00 00 */ li r4, 0 -/* 80293E08 00290D68 38 A0 00 00 */ li r5, 0 -/* 80293E0C 00290D6C 38 C0 00 07 */ li r6, 7 -/* 80293E10 00290D70 38 E0 00 00 */ li r7, 0 -/* 80293E14 00290D74 48 07 4A 01 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -lbl_80293E18: -/* 80293E18 00290D78 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80293E1C 00290D7C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80293E20 00290D80 7C 08 03 A6 */ mtlr r0 -/* 80293E24 00290D84 38 21 00 40 */ addi r1, r1, 0x40 -/* 80293E28 00290D88 4E 80 00 20 */ blr - -.global sub_80293e2c -sub_80293e2c: -/* 80293E2C 00290D8C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80293E30 00290D90 7C 08 02 A6 */ mflr r0 -/* 80293E34 00290D94 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80293E38 00290D98 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80293E3C 00290D9C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80293E40 00290DA0 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80293E44 00290DA4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80293E48 00290DA8 BF 21 00 84 */ stmw r25, 0x84(r1) -/* 80293E4C 00290DAC 3D 00 80 3F */ lis r8, lbl_803ED910@ha -/* 80293E50 00290DB0 7C 79 1B 78 */ mr r25, r3 -/* 80293E54 00290DB4 39 48 D9 10 */ addi r10, r8, lbl_803ED910@l -/* 80293E58 00290DB8 7C 9A 23 78 */ mr r26, r4 -/* 80293E5C 00290DBC 81 2A 00 00 */ lwz r9, 0(r10) -/* 80293E60 00290DC0 7C BB 2B 78 */ mr r27, r5 -/* 80293E64 00290DC4 81 0A 00 04 */ lwz r8, 4(r10) -/* 80293E68 00290DC8 7C DC 33 78 */ mr r28, r6 -/* 80293E6C 00290DCC 80 AA 00 08 */ lwz r5, 8(r10) -/* 80293E70 00290DD0 7C FD 3B 78 */ mr r29, r7 -/* 80293E74 00290DD4 80 8A 00 0C */ lwz r4, 0xc(r10) -/* 80293E78 00290DD8 80 6A 00 10 */ lwz r3, 0x10(r10) -/* 80293E7C 00290DDC 80 0A 00 14 */ lwz r0, 0x14(r10) -/* 80293E80 00290DE0 91 21 00 24 */ stw r9, 0x24(r1) -/* 80293E84 00290DE4 91 01 00 28 */ stw r8, 0x28(r1) -/* 80293E88 00290DE8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80293E8C 00290DEC 90 81 00 30 */ stw r4, 0x30(r1) -/* 80293E90 00290DF0 90 61 00 34 */ stw r3, 0x34(r1) -/* 80293E94 00290DF4 90 01 00 38 */ stw r0, 0x38(r1) -/* 80293E98 00290DF8 48 07 5F C5 */ bl GetProjectionState__9CGraphicsFv -/* 80293E9C 00290DFC 88 03 00 00 */ lbz r0, 0(r3) -/* 80293EA0 00290E00 3C C0 43 30 */ lis r6, 0x4330 -/* 80293EA4 00290E04 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80293EA8 00290E08 98 01 00 08 */ stb r0, 8(r1) -/* 80293EAC 00290E0C 81 01 00 30 */ lwz r8, 0x30(r1) -/* 80293EB0 00290E10 7C 85 00 D0 */ neg r4, r5 -/* 80293EB4 00290E14 C0 03 00 04 */ lfs f0, 4(r3) -/* 80293EB8 00290E18 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80293EBC 00290E1C 7C 80 22 14 */ add r4, r0, r4 -/* 80293EC0 00290E20 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 80293EC4 00290E24 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80293EC8 00290E28 7C 87 0E 70 */ srawi r7, r4, 1 -/* 80293ECC 00290E2C 7C A0 2A 14 */ add r5, r0, r5 -/* 80293ED0 00290E30 55 00 0F FE */ srwi r0, r8, 0x1f -/* 80293ED4 00290E34 C0 03 00 08 */ lfs f0, 8(r3) -/* 80293ED8 00290E38 7C 88 00 D0 */ neg r4, r8 -/* 80293EDC 00290E3C 7C BF 0E 70 */ srawi r31, r5, 1 -/* 80293EE0 00290E40 7C A0 42 14 */ add r5, r0, r8 -/* 80293EE4 00290E44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80293EE8 00290E48 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80293EEC 00290E4C 7C BE 0E 70 */ srawi r30, r5, 1 -/* 80293EF0 00290E50 6C E7 80 00 */ xoris r7, r7, 0x8000 -/* 80293EF4 00290E54 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80293EF8 00290E58 7C 00 22 14 */ add r0, r0, r4 -/* 80293EFC 00290E5C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80293F00 00290E60 6F E5 80 00 */ xoris r5, r31, 0x8000 -/* 80293F04 00290E64 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80293F08 00290E68 6F C4 80 00 */ xoris r4, r30, 0x8000 -/* 80293F0C 00290E6C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80293F10 00290E70 C8 82 BF 60 */ lfd f4, lbl_805ADC80@sda21(r2) -/* 80293F14 00290E74 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80293F18 00290E78 90 E1 00 44 */ stw r7, 0x44(r1) -/* 80293F1C 00290E7C C0 A2 BF 40 */ lfs f5, lbl_805ADC60@sda21(r2) -/* 80293F20 00290E80 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80293F24 00290E84 C0 C2 BF 54 */ lfs f6, lbl_805ADC74@sda21(r2) -/* 80293F28 00290E88 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80293F2C 00290E8C 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80293F30 00290E90 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80293F34 00290E94 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 80293F38 00290E98 C0 E3 00 18 */ lfs f7, 0x18(r3) -/* 80293F3C 00290E9C 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80293F40 00290EA0 EC 20 20 28 */ fsubs f1, f0, f4 -/* 80293F44 00290EA4 90 C1 00 48 */ stw r6, 0x48(r1) -/* 80293F48 00290EA8 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80293F4C 00290EAC 90 81 00 54 */ stw r4, 0x54(r1) -/* 80293F50 00290EB0 EC 40 20 28 */ fsubs f2, f0, f4 -/* 80293F54 00290EB4 90 C1 00 50 */ stw r6, 0x50(r1) -/* 80293F58 00290EB8 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80293F5C 00290EBC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80293F60 00290EC0 EC 60 20 28 */ fsubs f3, f0, f4 -/* 80293F64 00290EC4 90 C1 00 58 */ stw r6, 0x58(r1) -/* 80293F68 00290EC8 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 80293F6C 00290ECC D0 E1 00 20 */ stfs f7, 0x20(r1) -/* 80293F70 00290ED0 EC 80 20 28 */ fsubs f4, f0, f4 -/* 80293F74 00290ED4 48 07 85 E1 */ bl SetOrtho__9CGraphicsFffffff -/* 80293F78 00290ED8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80293F7C 00290EDC 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80293F80 00290EE0 48 07 86 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80293F84 00290EE4 7C BF C8 50 */ subf r5, r31, r25 -/* 80293F88 00290EE8 3C 80 43 30 */ lis r4, 0x4330 -/* 80293F8C 00290EEC 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80293F90 00290EF0 7C 1E D0 50 */ subf r0, r30, r26 -/* 80293F94 00290EF4 90 A1 00 64 */ stw r5, 0x64(r1) -/* 80293F98 00290EF8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80293F9C 00290EFC 3C 60 80 3D */ lis r3, lbl_803D5B8C@ha -/* 80293FA0 00290F00 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) -/* 80293FA4 00290F04 90 81 00 60 */ stw r4, 0x60(r1) -/* 80293FA8 00290F08 38 63 5B 8C */ addi r3, r3, lbl_803D5B8C@l -/* 80293FAC 00290F0C C8 01 00 60 */ lfd f0, 0x60(r1) -/* 80293FB0 00290F10 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80293FB4 00290F14 EF E0 08 28 */ fsubs f31, f0, f1 -/* 80293FB8 00290F18 90 81 00 68 */ stw r4, 0x68(r1) -/* 80293FBC 00290F1C C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80293FC0 00290F20 EF C0 08 28 */ fsubs f30, f0, f1 -/* 80293FC4 00290F24 48 07 3E 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80293FC8 00290F28 48 07 89 B5 */ bl DisableAllLights__9CGraphicsFv -/* 80293FCC 00290F2C 38 60 00 00 */ li r3, 0 -/* 80293FD0 00290F30 38 80 00 0F */ li r4, 0xf -/* 80293FD4 00290F34 38 A0 00 08 */ li r5, 8 -/* 80293FD8 00290F38 38 C0 00 0E */ li r6, 0xe -/* 80293FDC 00290F3C 38 E0 00 0F */ li r7, 0xf -/* 80293FE0 00290F40 48 07 4C 0D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80293FE4 00290F44 38 60 00 00 */ li r3, 0 -/* 80293FE8 00290F48 38 80 00 07 */ li r4, 7 -/* 80293FEC 00290F4C 38 A0 00 07 */ li r5, 7 -/* 80293FF0 00290F50 38 C0 00 07 */ li r6, 7 -/* 80293FF4 00290F54 38 E0 00 04 */ li r7, 4 -/* 80293FF8 00290F58 48 07 4B 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80293FFC 00290F5C 38 60 00 00 */ li r3, 0 -/* 80294000 00290F60 38 80 00 00 */ li r4, 0 -/* 80294004 00290F64 38 A0 00 00 */ li r5, 0 -/* 80294008 00290F68 38 C0 00 FF */ li r6, 0xff -/* 8029400C 00290F6C 48 07 49 41 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80294010 00290F70 38 60 00 00 */ li r3, 0 -/* 80294014 00290F74 38 80 00 00 */ li r4, 0 -/* 80294018 00290F78 38 A0 00 04 */ li r5, 4 -/* 8029401C 00290F7C 38 C0 00 3C */ li r6, 0x3c -/* 80294020 00290F80 38 E0 00 00 */ li r7, 0 -/* 80294024 00290F84 39 00 00 7D */ li r8, 0x7d -/* 80294028 00290F88 48 07 46 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8029402C 00290F8C 38 60 00 00 */ li r3, 0 -/* 80294030 00290F90 48 07 4E 21 */ bl SetNumChans__3CGXFUc -/* 80294034 00290F94 38 60 00 01 */ li r3, 1 -/* 80294038 00290F98 48 07 4D DD */ bl SetNumTexGens__3CGXFUc -/* 8029403C 00290F9C 38 60 00 01 */ li r3, 1 -/* 80294040 00290FA0 48 07 4C 51 */ bl SetNumTevStages__3CGXFUc -/* 80294044 00290FA4 38 60 00 01 */ li r3, 1 -/* 80294048 00290FA8 38 80 00 07 */ li r4, 7 -/* 8029404C 00290FAC 38 A0 00 00 */ li r5, 0 -/* 80294050 00290FB0 48 07 48 2D */ bl SetZMode__3CGXFb10_GXCompareb -/* 80294054 00290FB4 7F A4 EB 78 */ mr r4, r29 -/* 80294058 00290FB8 38 60 00 00 */ li r3, 0 -/* 8029405C 00290FBC 48 07 4B E9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 80294060 00290FC0 38 60 00 00 */ li r3, 0 -/* 80294064 00290FC4 38 80 00 0C */ li r4, 0xc -/* 80294068 00290FC8 48 07 49 79 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 8029406C 00290FCC 38 60 00 00 */ li r3, 0 -/* 80294070 00290FD0 48 0E 4A E9 */ bl GXSetCullMode -/* 80294074 00290FD4 38 60 00 98 */ li r3, 0x98 -/* 80294078 00290FD8 38 80 00 00 */ li r4, 0 -/* 8029407C 00290FDC 38 A0 00 04 */ li r5, 4 -/* 80294080 00290FE0 48 07 45 05 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 80294084 00290FE4 3C 60 43 30 */ lis r3, 0x4330 -/* 80294088 00290FE8 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8029408C 00290FEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 80294090 00290FF0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80294094 00290FF4 C0 62 BF 58 */ lfs f3, lbl_805ADC78@sda21(r2) -/* 80294098 00290FF8 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 8029409C 00290FFC D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) -/* 802940A0 00291000 C8 22 BF 60 */ lfd f1, lbl_805ADC80@sda21(r2) -/* 802940A4 00291004 90 61 00 70 */ stw r3, 0x70(r1) -/* 802940A8 00291008 C0 42 BF 40 */ lfs f2, lbl_805ADC60@sda21(r2) -/* 802940AC 0029100C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 802940B0 00291010 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 802940B4 00291014 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 802940B8 00291018 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802940BC 0029101C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 802940C0 00291020 EC 9F 00 2A */ fadds f4, f31, f0 -/* 802940C4 00291024 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 802940C8 00291028 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802940CC 0029102C D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) -/* 802940D0 00291030 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 802940D4 00291034 D3 C4 80 00 */ stfs f30, 0xCC008000@l(r4) -/* 802940D8 00291038 90 61 00 78 */ stw r3, 0x78(r1) -/* 802940DC 0029103C D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 802940E0 00291040 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 802940E4 00291044 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 802940E8 00291048 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802940EC 0029104C D3 E4 80 00 */ stfs f31, 0xCC008000@l(r4) -/* 802940F0 00291050 EC 1E 00 2A */ fadds f0, f30, f0 -/* 802940F4 00291054 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 802940F8 00291058 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 802940FC 0029105C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 80294100 00291060 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 80294104 00291064 D0 84 80 00 */ stfs f4, 0xCC008000@l(r4) -/* 80294108 00291068 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8029410C 0029106C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 80294110 00291070 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 80294114 00291074 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 80294118 00291078 48 07 44 69 */ bl End__3CGXFv -/* 8029411C 0029107C 38 60 00 01 */ li r3, 1 -/* 80294120 00291080 48 0E 4A 39 */ bl GXSetCullMode -/* 80294124 00291084 38 61 00 08 */ addi r3, r1, 8 -/* 80294128 00291088 48 07 5C D9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 8029412C 0029108C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80294130 00291090 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80294134 00291094 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80294138 00291098 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8029413C 0029109C BB 21 00 84 */ lmw r25, 0x84(r1) -/* 80294140 002910A0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80294144 002910A4 7C 08 03 A6 */ mtlr r0 -/* 80294148 002910A8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8029414C 002910AC 4E 80 00 20 */ blr - -.global Update__12CNESEmulatorFv -Update__12CNESEmulatorFv: -/* 80294150 002910B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80294154 002910B4 7C 08 02 A6 */ mflr r0 -/* 80294158 002910B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029415C 002910BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294160 002910C0 7C 7F 1B 78 */ mr r31, r3 -/* 80294164 002910C4 80 63 00 00 */ lwz r3, 0(r3) -/* 80294168 002910C8 28 03 00 00 */ cmplwi r3, 0 -/* 8029416C 002910CC 41 82 00 FC */ beq lbl_80294268 -/* 80294170 002910D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294174 002910D4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294178 002910D8 7D 89 03 A6 */ mtctr r12 -/* 8029417C 002910DC 4E 80 04 21 */ bctrl -/* 80294180 002910E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294184 002910E4 41 82 01 58 */ beq lbl_802942DC -/* 80294188 002910E8 3C 60 80 3D */ lis r3, lbl_803D5BA4@ha -/* 8029418C 002910EC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80294190 002910F0 38 A3 5B A4 */ addi r5, r3, lbl_803D5BA4@l -/* 80294194 002910F4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80294198 002910F8 38 61 00 08 */ addi r3, r1, 8 -/* 8029419C 002910FC 38 80 FF FF */ li r4, -1 -/* 802941A0 00291100 48 04 22 35 */ bl __ct__10CCallStackFUiPCcPCc -/* 802941A4 00291104 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 802941A8 00291108 7C 67 1B 78 */ mr r7, r3 -/* 802941AC 0029110C 38 80 00 02 */ li r4, 2 -/* 802941B0 00291110 38 C0 00 00 */ li r6, 0 -/* 802941B4 00291114 80 65 00 20 */ lwz r3, 0x20(r5) -/* 802941B8 00291118 38 A0 00 01 */ li r5, 1 -/* 802941BC 0029111C 48 08 17 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 802941C0 00291120 90 7F 00 14 */ stw r3, 0x14(r31) -/* 802941C4 00291124 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802941C8 00291128 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 802941CC 0029112C 48 0E DF C5 */ bl OSLink -/* 802941D0 00291130 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802941D4 00291134 81 83 00 34 */ lwz r12, 0x34(r3) -/* 802941D8 00291138 7D 89 03 A6 */ mtctr r12 -/* 802941DC 0029113C 4E 80 04 21 */ bctrl -/* 802941E0 00291140 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) -/* 802941E4 00291144 81 83 00 00 */ lwz r12, 0(r3) -/* 802941E8 00291148 7D 89 03 A6 */ mtctr r12 -/* 802941EC 0029114C 4E 80 04 21 */ bctrl -/* 802941F0 00291150 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) -/* 802941F4 00291154 38 A0 00 00 */ li r5, 0 -/* 802941F8 00291158 80 7F 00 08 */ lwz r3, 8(r31) -/* 802941FC 0029115C 81 84 00 0C */ lwz r12, 0xc(r4) -/* 80294200 00291160 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80294204 00291164 80 DF 00 18 */ lwz r6, 0x18(r31) -/* 80294208 00291168 80 FF 00 1C */ lwz r7, 0x1c(r31) -/* 8029420C 0029116C 7D 89 03 A6 */ mtctr r12 -/* 80294210 00291170 4E 80 04 21 */ bctrl -/* 80294214 00291174 80 7F 00 08 */ lwz r3, 8(r31) -/* 80294218 00291178 38 00 00 00 */ li r0, 0 -/* 8029421C 0029117C 90 03 00 20 */ stw r0, 0x20(r3) -/* 80294220 00291180 80 7F 00 08 */ lwz r3, 8(r31) -/* 80294224 00291184 90 03 00 28 */ stw r0, 0x28(r3) -/* 80294228 00291188 80 7F 00 08 */ lwz r3, 8(r31) -/* 8029422C 0029118C 90 03 00 24 */ stw r0, 0x24(r3) -/* 80294230 00291190 80 7F 00 08 */ lwz r3, 8(r31) -/* 80294234 00291194 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80294238 00291198 80 7F 00 00 */ lwz r3, 0(r31) -/* 8029423C 0029119C 28 03 00 00 */ cmplwi r3, 0 -/* 80294240 002911A0 41 82 00 18 */ beq lbl_80294258 -/* 80294244 002911A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80294248 002911A8 38 80 00 01 */ li r4, 1 -/* 8029424C 002911AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294250 002911B0 7D 89 03 A6 */ mtctr r12 -/* 80294254 002911B4 4E 80 04 21 */ bctrl -lbl_80294258: -/* 80294258 002911B8 38 00 00 00 */ li r0, 0 -/* 8029425C 002911BC 90 1F 00 00 */ stw r0, 0(r31) -/* 80294260 002911C0 48 00 00 08 */ b lbl_80294268 -/* 80294264 002911C4 48 00 00 78 */ b lbl_802942DC -lbl_80294268: -/* 80294268 002911C8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8029426C 002911CC 38 9F 00 21 */ addi r4, r31, 0x21 -/* 80294270 002911D0 38 63 08 00 */ addi r3, r3, 0x800 -/* 80294274 002911D4 48 00 07 15 */ bl CheckForGameOver__12CNESEmulatorFPCcPc -/* 80294278 002911D8 98 7F 00 20 */ stb r3, 0x20(r31) -/* 8029427C 002911DC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80294280 002911E0 38 63 08 00 */ addi r3, r3, 0x800 -/* 80294284 002911E4 48 00 0A 45 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc -/* 80294288 002911E8 90 7F 00 34 */ stw r3, 0x34(r31) -/* 8029428C 002911EC 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80294290 002911F0 2C 00 00 01 */ cmpwi r0, 1 -/* 80294294 002911F4 40 82 00 2C */ bne lbl_802942C0 -/* 80294298 002911F8 88 1F 00 38 */ lbz r0, 0x38(r31) -/* 8029429C 002911FC 28 00 00 00 */ cmplwi r0, 0 -/* 802942A0 00291200 41 82 00 20 */ beq lbl_802942C0 -/* 802942A4 00291204 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802942A8 00291208 38 BF 00 39 */ addi r5, r31, 0x39 -/* 802942AC 0029120C 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 802942B0 00291210 38 63 08 00 */ addi r3, r3, 0x800 -/* 802942B4 00291214 48 00 08 39 */ bl SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc -/* 802942B8 00291218 38 00 00 00 */ li r0, 0 -/* 802942BC 0029121C 98 1F 00 38 */ stb r0, 0x38(r31) -lbl_802942C0: -/* 802942C0 00291220 80 8D A5 A0 */ lwz r4, lbl_805A9160@sda21(r13) -/* 802942C4 00291224 38 A0 00 00 */ li r5, 0 -/* 802942C8 00291228 80 7F 00 08 */ lwz r3, 8(r31) -/* 802942CC 0029122C 81 84 00 10 */ lwz r12, 0x10(r4) -/* 802942D0 00291230 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802942D4 00291234 7D 89 03 A6 */ mtctr r12 -/* 802942D8 00291238 4E 80 04 21 */ bctrl -lbl_802942DC: -/* 802942DC 0029123C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802942E0 00291240 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802942E4 00291244 7C 08 03 A6 */ mtlr r0 -/* 802942E8 00291248 38 21 00 20 */ addi r1, r1, 0x20 -/* 802942EC 0029124C 4E 80 00 20 */ blr - -.global ProcessUserInput__12CNESEmulatorFRC11CFinalInputi -ProcessUserInput__12CNESEmulatorFRC11CFinalInputi: -/* 802942F0 00291250 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802942F4 00291254 7C 08 02 A6 */ mflr r0 -/* 802942F8 00291258 90 01 00 24 */ stw r0, 0x24(r1) -/* 802942FC 0029125C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294300 00291260 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80294304 00291264 7C BE 2B 78 */ mr r30, r5 -/* 80294308 00291268 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029430C 0029126C 7C 9D 23 78 */ mr r29, r4 -/* 80294310 00291270 93 81 00 10 */ stw r28, 0x10(r1) -/* 80294314 00291274 7C 7C 1B 78 */ mr r28, r3 -/* 80294318 00291278 80 03 00 00 */ lwz r0, 0(r3) -/* 8029431C 0029127C 28 00 00 00 */ cmplwi r0, 0 -/* 80294320 00291280 40 82 01 E4 */ bne lbl_80294504 -/* 80294324 00291284 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80294328 00291288 3B E0 00 00 */ li r31, 0 -/* 8029432C 0029128C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80294330 00291290 40 82 00 24 */ bne lbl_80294354 -/* 80294334 00291294 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 80294338 00291298 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) -/* 8029433C 0029129C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80294340 002912A0 40 81 00 08 */ ble lbl_80294348 -/* 80294344 002912A4 FC 20 10 90 */ fmr f1, f2 -lbl_80294348: -/* 80294348 002912A8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) -/* 8029434C 002912AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80294350 002912B0 40 81 00 0C */ ble lbl_8029435C -lbl_80294354: -/* 80294354 002912B4 83 E2 BF 68 */ lwz r31, lbl_805ADC88@sda21(r2) -/* 80294358 002912B8 48 00 00 30 */ b lbl_80294388 -lbl_8029435C: -/* 8029435C 002912BC 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 80294360 002912C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80294364 002912C4 40 82 00 20 */ bne lbl_80294384 -/* 80294368 002912C8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) -/* 8029436C 002912CC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80294370 002912D0 40 80 00 08 */ bge lbl_80294378 -/* 80294374 002912D4 FC 20 10 50 */ fneg f1, f2 -lbl_80294378: -/* 80294378 002912D8 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) -/* 8029437C 002912DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80294380 002912E0 40 81 00 08 */ ble lbl_80294388 -lbl_80294384: -/* 80294384 002912E4 83 E2 BF 6C */ lwz r31, lbl_805ADC8C@sda21(r2) -lbl_80294388: -/* 80294388 002912E8 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 8029438C 002912EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80294390 002912F0 40 82 00 24 */ bne lbl_802943B4 -/* 80294394 002912F4 C0 5D 00 08 */ lfs f2, 8(r29) -/* 80294398 002912F8 C0 22 BF 40 */ lfs f1, lbl_805ADC60@sda21(r2) -/* 8029439C 002912FC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802943A0 00291300 40 80 00 08 */ bge lbl_802943A8 -/* 802943A4 00291304 FC 20 10 50 */ fneg f1, f2 -lbl_802943A8: -/* 802943A8 00291308 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) -/* 802943AC 0029130C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802943B0 00291310 40 81 00 10 */ ble lbl_802943C0 -lbl_802943B4: -/* 802943B4 00291314 80 02 BF 70 */ lwz r0, lbl_805ADC90@sda21(r2) -/* 802943B8 00291318 7F FF 03 78 */ or r31, r31, r0 -/* 802943BC 0029131C 48 00 00 38 */ b lbl_802943F4 -lbl_802943C0: -/* 802943C0 00291320 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 802943C4 00291324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802943C8 00291328 40 82 00 24 */ bne lbl_802943EC -/* 802943CC 0029132C C0 02 BF 40 */ lfs f0, lbl_805ADC60@sda21(r2) -/* 802943D0 00291330 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802943D4 00291334 40 81 00 08 */ ble lbl_802943DC -/* 802943D8 00291338 48 00 00 08 */ b lbl_802943E0 -lbl_802943DC: -/* 802943DC 0029133C FC 40 00 90 */ fmr f2, f0 -lbl_802943E0: -/* 802943E0 00291340 C0 02 BF 88 */ lfs f0, lbl_805ADCA8@sda21(r2) -/* 802943E4 00291344 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802943E8 00291348 40 81 00 0C */ ble lbl_802943F4 -lbl_802943EC: -/* 802943EC 0029134C 80 02 BF 74 */ lwz r0, lbl_805ADC94@sda21(r2) -/* 802943F0 00291350 7F FF 03 78 */ or r31, r31, r0 -lbl_802943F4: -/* 802943F4 00291354 7F 83 E3 78 */ mr r3, r28 -/* 802943F8 00291358 4B FF F7 55 */ bl GetPasswordEntryState__12CNESEmulatorFv -/* 802943FC 0029135C 2C 03 00 00 */ cmpwi r3, 0 -/* 80294400 00291360 40 82 00 10 */ bne lbl_80294410 -/* 80294404 00291364 80 1D 00 04 */ lwz r0, 4(r29) -/* 80294408 00291368 2C 00 00 00 */ cmpwi r0, 0 -/* 8029440C 0029136C 41 82 00 30 */ beq lbl_8029443C -lbl_80294410: -/* 80294410 00291370 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80294414 00291374 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80294418 00291378 41 82 00 0C */ beq lbl_80294424 -/* 8029441C 0029137C 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) -/* 80294420 00291380 7F FF 03 78 */ or r31, r31, r0 -lbl_80294424: -/* 80294424 00291384 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80294428 00291388 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8029442C 0029138C 41 82 00 48 */ beq lbl_80294474 -/* 80294430 00291390 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) -/* 80294434 00291394 7F FF 03 78 */ or r31, r31, r0 -/* 80294438 00291398 48 00 00 3C */ b lbl_80294474 -lbl_8029443C: -/* 8029443C 0029139C 88 7D 00 2C */ lbz r3, 0x2c(r29) -/* 80294440 002913A0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80294444 002913A4 40 82 00 0C */ bne lbl_80294450 -/* 80294448 002913A8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8029444C 002913AC 41 82 00 0C */ beq lbl_80294458 -lbl_80294450: -/* 80294450 002913B0 80 02 BF 78 */ lwz r0, lbl_805ADC98@sda21(r2) -/* 80294454 002913B4 7F FF 03 78 */ or r31, r31, r0 -lbl_80294458: -/* 80294458 002913B8 88 7D 00 2C */ lbz r3, 0x2c(r29) -/* 8029445C 002913BC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80294460 002913C0 40 82 00 0C */ bne lbl_8029446C -/* 80294464 002913C4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80294468 002913C8 41 82 00 0C */ beq lbl_80294474 -lbl_8029446C: -/* 8029446C 002913CC 80 02 BF 7C */ lwz r0, lbl_805ADC9C@sda21(r2) -/* 80294470 002913D0 7F FF 03 78 */ or r31, r31, r0 -lbl_80294474: -/* 80294474 002913D4 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 80294478 002913D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8029447C 002913DC 41 82 00 0C */ beq lbl_80294488 -/* 80294480 002913E0 80 02 BF 80 */ lwz r0, lbl_805ADCA0@sda21(r2) -/* 80294484 002913E4 7F FF 03 78 */ or r31, r31, r0 -lbl_80294488: -/* 80294488 002913E8 88 1D 00 2D */ lbz r0, 0x2d(r29) -/* 8029448C 002913EC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80294490 002913F0 41 82 00 0C */ beq lbl_8029449C -/* 80294494 002913F4 80 02 BF 84 */ lwz r0, lbl_805ADCA4@sda21(r2) -/* 80294498 002913F8 7F FF 03 78 */ or r31, r31, r0 -lbl_8029449C: -/* 8029449C 002913FC 2C 1E 00 04 */ cmpwi r30, 4 -/* 802944A0 00291400 40 82 00 0C */ bne lbl_802944AC -/* 802944A4 00291404 80 1D 00 04 */ lwz r0, 4(r29) -/* 802944A8 00291408 48 00 00 08 */ b lbl_802944B0 -lbl_802944AC: -/* 802944AC 0029140C 7F C0 F3 78 */ mr r0, r30 -lbl_802944B0: -/* 802944B0 00291410 2C 00 00 02 */ cmpwi r0, 2 -/* 802944B4 00291414 41 82 00 3C */ beq lbl_802944F0 -/* 802944B8 00291418 40 80 00 14 */ bge lbl_802944CC -/* 802944BC 0029141C 2C 00 00 00 */ cmpwi r0, 0 -/* 802944C0 00291420 41 82 00 18 */ beq lbl_802944D8 -/* 802944C4 00291424 40 80 00 20 */ bge lbl_802944E4 -/* 802944C8 00291428 48 00 00 3C */ b lbl_80294504 -lbl_802944CC: -/* 802944CC 0029142C 2C 00 00 04 */ cmpwi r0, 4 -/* 802944D0 00291430 40 80 00 34 */ bge lbl_80294504 -/* 802944D4 00291434 48 00 00 28 */ b lbl_802944FC -lbl_802944D8: -/* 802944D8 00291438 80 7C 00 08 */ lwz r3, 8(r28) -/* 802944DC 0029143C 93 E3 00 20 */ stw r31, 0x20(r3) -/* 802944E0 00291440 48 00 00 24 */ b lbl_80294504 -lbl_802944E4: -/* 802944E4 00291444 80 7C 00 08 */ lwz r3, 8(r28) -/* 802944E8 00291448 93 E3 00 28 */ stw r31, 0x28(r3) -/* 802944EC 0029144C 48 00 00 18 */ b lbl_80294504 -lbl_802944F0: -/* 802944F0 00291450 80 7C 00 08 */ lwz r3, 8(r28) -/* 802944F4 00291454 93 E3 00 24 */ stw r31, 0x24(r3) -/* 802944F8 00291458 48 00 00 0C */ b lbl_80294504 -lbl_802944FC: -/* 802944FC 0029145C 80 7C 00 08 */ lwz r3, 8(r28) -/* 80294500 00291460 93 E3 00 2C */ stw r31, 0x2c(r3) -lbl_80294504: -/* 80294504 00291464 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80294508 00291468 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029450C 0029146C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80294510 00291470 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80294514 00291474 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80294518 00291478 7C 08 03 A6 */ mtlr r0 -/* 8029451C 0029147C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80294520 00291480 4E 80 00 20 */ blr - -.global __dt__12CNESEmulatorFv -__dt__12CNESEmulatorFv: -/* 80294524 00291484 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80294528 00291488 7C 08 02 A6 */ mflr r0 -/* 8029452C 0029148C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80294530 00291490 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294534 00291494 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80294538 00291498 7C 9E 23 78 */ mr r30, r4 -/* 8029453C 0029149C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80294540 002914A0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80294544 002914A4 41 82 01 04 */ beq lbl_80294648 -/* 80294548 002914A8 80 1D 00 00 */ lwz r0, 0(r29) -/* 8029454C 002914AC 28 00 00 00 */ cmplwi r0, 0 -/* 80294550 002914B0 40 82 00 58 */ bne lbl_802945A8 -/* 80294554 002914B4 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) -/* 80294558 002914B8 81 83 00 08 */ lwz r12, 8(r3) -/* 8029455C 002914BC 7D 89 03 A6 */ mtctr r12 -/* 80294560 002914C0 4E 80 04 21 */ bctrl -/* 80294564 002914C4 7C 60 1B 78 */ mr r0, r3 -/* 80294568 002914C8 38 80 00 00 */ li r4, 0 -/* 8029456C 002914CC 38 A0 00 40 */ li r5, 0x40 -/* 80294570 002914D0 38 C0 00 40 */ li r6, 0x40 -/* 80294574 002914D4 7C 1F 03 78 */ mr r31, r0 -/* 80294578 002914D8 38 E0 00 00 */ li r7, 0 -/* 8029457C 002914DC 48 10 A1 A9 */ bl sndStreamMixParameter -/* 80294580 002914E0 7F E3 FB 78 */ mr r3, r31 -/* 80294584 002914E4 48 10 BF 9D */ bl sndStreamDeactivate -/* 80294588 002914E8 7F E3 FB 78 */ mr r3, r31 -/* 8029458C 002914EC 48 10 B2 69 */ bl sndStreamFree -/* 80294590 002914F0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80294594 002914F4 81 83 00 38 */ lwz r12, 0x38(r3) -/* 80294598 002914F8 7D 89 03 A6 */ mtctr r12 -/* 8029459C 002914FC 4E 80 04 21 */ bctrl -/* 802945A0 00291500 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 802945A4 00291504 48 0E E0 81 */ bl OSUnlink -lbl_802945A8: -/* 802945A8 00291508 80 7D 00 08 */ lwz r3, 8(r29) -/* 802945AC 0029150C 80 63 00 00 */ lwz r3, 0(r3) -/* 802945B0 00291510 48 08 13 81 */ bl Free__7CMemoryFPCv -/* 802945B4 00291514 80 7D 00 08 */ lwz r3, 8(r29) -/* 802945B8 00291518 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802945BC 0029151C 48 08 13 75 */ bl Free__7CMemoryFPCv -/* 802945C0 00291520 80 7D 00 08 */ lwz r3, 8(r29) -/* 802945C4 00291524 48 08 13 6D */ bl Free__7CMemoryFPCv -/* 802945C8 00291528 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802945CC 0029152C 48 08 13 65 */ bl Free__7CMemoryFPCv -/* 802945D0 00291530 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 802945D4 00291534 48 08 13 5D */ bl Free__7CMemoryFPCv -/* 802945D8 00291538 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 802945DC 0029153C 48 08 13 55 */ bl Free__7CMemoryFPCv -/* 802945E0 00291540 80 6D A5 A0 */ lwz r3, lbl_805A9160@sda21(r13) -/* 802945E4 00291544 48 08 13 4D */ bl Free__7CMemoryFPCv -/* 802945E8 00291548 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 802945EC 0029154C 48 08 13 45 */ bl Free__7CMemoryFPCv -/* 802945F0 00291550 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 802945F4 00291554 28 03 00 00 */ cmplwi r3, 0 -/* 802945F8 00291558 41 82 00 08 */ beq lbl_80294600 -/* 802945FC 0029155C 48 08 13 35 */ bl Free__7CMemoryFPCv -lbl_80294600: -/* 80294600 00291560 34 1D 00 04 */ addic. r0, r29, 4 -/* 80294604 00291564 41 82 00 0C */ beq lbl_80294610 -/* 80294608 00291568 80 7D 00 04 */ lwz r3, 4(r29) -/* 8029460C 0029156C 48 08 13 25 */ bl Free__7CMemoryFPCv -lbl_80294610: -/* 80294610 00291570 28 1D 00 00 */ cmplwi r29, 0 -/* 80294614 00291574 41 82 00 24 */ beq lbl_80294638 -/* 80294618 00291578 80 7D 00 00 */ lwz r3, 0(r29) -/* 8029461C 0029157C 28 03 00 00 */ cmplwi r3, 0 -/* 80294620 00291580 41 82 00 18 */ beq lbl_80294638 -/* 80294624 00291584 81 83 00 00 */ lwz r12, 0(r3) -/* 80294628 00291588 38 80 00 01 */ li r4, 1 -/* 8029462C 0029158C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294630 00291590 7D 89 03 A6 */ mtctr r12 -/* 80294634 00291594 4E 80 04 21 */ bctrl -lbl_80294638: -/* 80294638 00291598 7F C0 07 35 */ extsh. r0, r30 -/* 8029463C 0029159C 40 81 00 0C */ ble lbl_80294648 -/* 80294640 002915A0 7F A3 EB 78 */ mr r3, r29 -/* 80294644 002915A4 48 08 12 ED */ bl Free__7CMemoryFPCv -lbl_80294648: -/* 80294648 002915A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029464C 002915AC 7F A3 EB 78 */ mr r3, r29 -/* 80294650 002915B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80294654 002915B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80294658 002915B8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029465C 002915BC 7C 08 03 A6 */ mtlr r0 -/* 80294660 002915C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80294664 002915C4 4E 80 00 20 */ blr - -.global __ct__12CNESEmulatorFv -__ct__12CNESEmulatorFv: -/* 80294668 002915C8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8029466C 002915CC 7C 08 02 A6 */ mflr r0 -/* 80294670 002915D0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha -/* 80294674 002915D4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80294678 002915D8 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l -/* 8029467C 002915DC 38 00 00 00 */ li r0, 0 -/* 80294680 002915E0 38 80 FF FF */ li r4, -1 -/* 80294684 002915E4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80294688 002915E8 7C 7F 1B 78 */ mr r31, r3 -/* 8029468C 002915EC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 80294690 002915F0 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80294694 002915F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 80294698 002915F8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8029469C 002915FC 90 1F 00 00 */ stw r0, 0(r31) -/* 802946A0 00291600 48 04 1D 35 */ bl __ct__10CCallStackFUiPCcPCc -/* 802946A4 00291604 3C A0 00 02 */ lis r5, 0x0001C800@ha -/* 802946A8 00291608 7C 67 1B 78 */ mr r7, r3 -/* 802946AC 0029160C 38 65 C8 00 */ addi r3, r5, 0x0001C800@l -/* 802946B0 00291610 38 80 00 02 */ li r4, 2 -/* 802946B4 00291614 38 A0 00 01 */ li r5, 1 -/* 802946B8 00291618 38 C0 00 00 */ li r6, 0 -/* 802946BC 0029161C 48 08 12 D9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 802946C0 00291620 90 7F 00 04 */ stw r3, 4(r31) -/* 802946C4 00291624 38 00 00 00 */ li r0, 0 -/* 802946C8 00291628 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha -/* 802946CC 0029162C 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 802946D0 00291630 90 1F 00 08 */ stw r0, 8(r31) -/* 802946D4 00291634 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l -/* 802946D8 00291638 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 802946DC 0029163C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802946E0 00291640 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802946E4 00291644 38 80 FF FF */ li r4, -1 -/* 802946E8 00291648 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802946EC 0029164C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802946F0 00291650 90 1F 00 18 */ stw r0, 0x18(r31) -/* 802946F4 00291654 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802946F8 00291658 98 1F 00 20 */ stb r0, 0x20(r31) -/* 802946FC 0029165C 90 1F 00 34 */ stw r0, 0x34(r31) -/* 80294700 00291660 98 1F 00 38 */ stb r0, 0x38(r31) -/* 80294704 00291664 48 04 1C D1 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294708 00291668 7C 67 1B 78 */ mr r7, r3 -/* 8029470C 0029166C 38 60 00 20 */ li r3, 0x20 -/* 80294710 00291670 38 80 00 02 */ li r4, 2 -/* 80294714 00291674 38 A0 00 01 */ li r5, 1 -/* 80294718 00291678 38 C0 00 00 */ li r6, 0 -/* 8029471C 0029167C 48 08 12 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80294720 00291680 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 80294724 00291684 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80294728 00291688 90 6D A5 A0 */ stw r3, lbl_805A9160@sda21(r13) -/* 8029472C 0029168C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80294730 00291690 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 80294734 00291694 38 61 00 38 */ addi r3, r1, 0x38 -/* 80294738 00291698 38 80 FF FF */ li r4, -1 -/* 8029473C 0029169C 48 04 1C 99 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294740 002916A0 3C A0 00 01 */ lis r5, 0x00008E70@ha -/* 80294744 002916A4 7C 67 1B 78 */ mr r7, r3 -/* 80294748 002916A8 38 65 8E 70 */ addi r3, r5, 0x00008E70@l -/* 8029474C 002916AC 38 80 00 02 */ li r4, 2 -/* 80294750 002916B0 38 A0 00 01 */ li r5, 1 -/* 80294754 002916B4 38 C0 00 00 */ li r6, 0 -/* 80294758 002916B8 48 08 12 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8029475C 002916BC 90 7F 00 08 */ stw r3, 8(r31) -/* 80294760 002916C0 3C 80 80 3D */ lis r4, lbl_803D5BA4@ha -/* 80294764 002916C4 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 80294768 002916C8 3C 00 00 02 */ lis r0, 2 -/* 8029476C 002916CC 80 FF 00 08 */ lwz r7, 8(r31) -/* 80294770 002916D0 38 A4 5B A4 */ addi r5, r4, lbl_803D5BA4@l -/* 80294774 002916D4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 80294778 002916D8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8029477C 002916DC 90 07 00 48 */ stw r0, 0x48(r7) -/* 80294780 002916E0 38 80 FF FF */ li r4, -1 -/* 80294784 002916E4 48 04 1C 51 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294788 002916E8 80 BF 00 08 */ lwz r5, 8(r31) -/* 8029478C 002916EC 7C 67 1B 78 */ mr r7, r3 -/* 80294790 002916F0 38 80 00 02 */ li r4, 2 -/* 80294794 002916F4 38 C0 00 00 */ li r6, 0 -/* 80294798 002916F8 80 65 00 48 */ lwz r3, 0x48(r5) -/* 8029479C 002916FC 38 A0 00 01 */ li r5, 1 -/* 802947A0 00291700 48 08 11 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 802947A4 00291704 80 DF 00 08 */ lwz r6, 8(r31) -/* 802947A8 00291708 3C E0 00 01 */ lis r7, 0x00008000@ha -/* 802947AC 0029170C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 802947B0 00291710 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 802947B4 00291714 90 66 00 00 */ stw r3, 0(r6) -/* 802947B8 00291718 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 802947BC 0029171C 38 07 80 00 */ addi r0, r7, 0x00008000@l -/* 802947C0 00291720 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 802947C4 00291724 80 9F 00 08 */ lwz r4, 8(r31) -/* 802947C8 00291728 38 61 00 28 */ addi r3, r1, 0x28 -/* 802947CC 0029172C 90 04 00 08 */ stw r0, 8(r4) -/* 802947D0 00291730 38 80 FF FF */ li r4, -1 -/* 802947D4 00291734 48 04 1C 01 */ bl __ct__10CCallStackFUiPCcPCc -/* 802947D8 00291738 80 BF 00 08 */ lwz r5, 8(r31) -/* 802947DC 0029173C 7C 67 1B 78 */ mr r7, r3 -/* 802947E0 00291740 38 80 00 02 */ li r4, 2 -/* 802947E4 00291744 38 C0 00 00 */ li r6, 0 -/* 802947E8 00291748 80 65 00 08 */ lwz r3, 8(r5) -/* 802947EC 0029174C 38 A0 00 01 */ li r5, 1 -/* 802947F0 00291750 48 08 11 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 802947F4 00291754 80 FF 00 08 */ lwz r7, 8(r31) -/* 802947F8 00291758 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 802947FC 0029175C 3C C0 80 3D */ lis r6, lbl_803D6AA8@ha -/* 80294800 00291760 38 80 FF FF */ li r4, -1 -/* 80294804 00291764 90 67 00 0C */ stw r3, 0xc(r7) -/* 80294808 00291768 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 8029480C 0029176C 38 C6 6A A8 */ addi r6, r6, lbl_803D6AA8@l -/* 80294810 00291770 38 61 00 20 */ addi r3, r1, 0x20 -/* 80294814 00291774 80 1F 00 04 */ lwz r0, 4(r31) -/* 80294818 00291778 80 FF 00 08 */ lwz r7, 8(r31) -/* 8029481C 0029177C 90 07 00 10 */ stw r0, 0x10(r7) -/* 80294820 00291780 48 04 1B B5 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294824 00291784 7C 67 1B 78 */ mr r7, r3 -/* 80294828 00291788 38 60 15 0C */ li r3, 0x150c -/* 8029482C 0029178C 38 80 00 02 */ li r4, 2 -/* 80294830 00291790 38 A0 00 01 */ li r5, 1 -/* 80294834 00291794 38 C0 00 00 */ li r6, 0 -/* 80294838 00291798 48 08 11 5D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8029483C 0029179C 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 80294840 002917A0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80294844 002917A4 90 7F 00 0C */ stw r3, 0xc(r31) -/* 80294848 002917A8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8029484C 002917AC 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 80294850 002917B0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80294854 002917B4 38 80 FF FF */ li r4, -1 -/* 80294858 002917B8 48 04 1B 7D */ bl __ct__10CCallStackFUiPCcPCc -/* 8029485C 002917BC 7C 67 1B 78 */ mr r7, r3 -/* 80294860 002917C0 38 60 20 00 */ li r3, 0x2000 -/* 80294864 002917C4 38 80 00 02 */ li r4, 2 -/* 80294868 002917C8 38 A0 00 01 */ li r5, 1 -/* 8029486C 002917CC 38 C0 00 00 */ li r6, 0 -/* 80294870 002917D0 48 08 11 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80294874 002917D4 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 80294878 002917D8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8029487C 002917DC 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80294880 002917E0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80294884 002917E4 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 80294888 002917E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029488C 002917EC 38 80 FF FF */ li r4, -1 -/* 80294890 002917F0 48 04 1B 45 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294894 002917F4 3C A0 00 01 */ lis r5, 0x00008000@ha -/* 80294898 002917F8 7C 67 1B 78 */ mr r7, r3 -/* 8029489C 002917FC 38 65 80 00 */ addi r3, r5, 0x00008000@l -/* 802948A0 00291800 38 80 00 02 */ li r4, 2 -/* 802948A4 00291804 38 A0 00 01 */ li r5, 1 -/* 802948A8 00291808 38 C0 00 00 */ li r6, 0 -/* 802948AC 0029180C 48 08 10 E9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 802948B0 00291810 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 802948B4 00291814 3C 60 80 3D */ lis r3, lbl_803D5B80@ha -/* 802948B8 00291818 38 E3 5B 80 */ addi r7, r3, lbl_803D5B80@l -/* 802948BC 0029181C 38 61 00 5C */ addi r3, r1, 0x5c -/* 802948C0 00291820 80 C7 00 00 */ lwz r6, 0(r7) -/* 802948C4 00291824 38 81 00 50 */ addi r4, r1, 0x50 -/* 802948C8 00291828 80 A7 00 04 */ lwz r5, 4(r7) -/* 802948CC 0029182C 80 07 00 08 */ lwz r0, 8(r7) -/* 802948D0 00291830 90 C1 00 50 */ stw r6, 0x50(r1) -/* 802948D4 00291834 90 A1 00 54 */ stw r5, 0x54(r1) -/* 802948D8 00291838 90 01 00 58 */ stw r0, 0x58(r1) -/* 802948DC 0029183C 48 0B B3 F5 */ bl __ct__8CDvdFileFPCc -/* 802948E0 00291840 80 C1 00 70 */ lwz r6, 0x70(r1) -/* 802948E4 00291844 3C A0 80 3D */ lis r5, lbl_803D5BA4@ha -/* 802948E8 00291848 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 802948EC 0029184C 38 61 00 08 */ addi r3, r1, 8 -/* 802948F0 00291850 38 06 00 1F */ addi r0, r6, 0x1f -/* 802948F4 00291854 38 A5 5B A4 */ addi r5, r5, lbl_803D5BA4@l -/* 802948F8 00291858 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 802948FC 0029185C 38 80 FF FF */ li r4, -1 -/* 80294900 00291860 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a -/* 80294904 00291864 48 04 1A D1 */ bl __ct__10CCallStackFUiPCcPCc -/* 80294908 00291868 7C 67 1B 78 */ mr r7, r3 -/* 8029490C 0029186C 7F C3 F3 78 */ mr r3, r30 -/* 80294910 00291870 38 80 00 02 */ li r4, 2 -/* 80294914 00291874 38 A0 00 01 */ li r5, 1 -/* 80294918 00291878 38 C0 00 00 */ li r6, 0 -/* 8029491C 0029187C 48 08 10 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80294920 00291880 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80294924 00291884 7F C5 F3 78 */ mr r5, r30 -/* 80294928 00291888 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029492C 0029188C 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 80294930 00291890 48 0B B2 B9 */ bl SyncRead__8CDvdFileFPvUi -/* 80294934 00291894 80 1F 00 00 */ lwz r0, 0(r31) -/* 80294938 00291898 7C 7E 1B 78 */ mr r30, r3 -/* 8029493C 0029189C 28 00 00 00 */ cmplwi r0, 0 -/* 80294940 002918A0 41 82 00 1C */ beq lbl_8029495C -/* 80294944 002918A4 7C 03 03 78 */ mr r3, r0 -/* 80294948 002918A8 38 80 00 01 */ li r4, 1 -/* 8029494C 002918AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80294950 002918B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294954 002918B4 7D 89 03 A6 */ mtctr r12 -/* 80294958 002918B8 4E 80 04 21 */ bctrl -lbl_8029495C: -/* 8029495C 002918BC 93 DF 00 00 */ stw r30, 0(r31) -/* 80294960 002918C0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80294964 002918C4 38 80 FF FF */ li r4, -1 -/* 80294968 002918C8 48 0B B2 A9 */ bl __dt__8CDvdFileFv -/* 8029496C 002918CC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80294970 002918D0 7F E3 FB 78 */ mr r3, r31 -/* 80294974 002918D4 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80294978 002918D8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8029497C 002918DC 7C 08 03 A6 */ mtlr r0 -/* 80294980 002918E0 38 21 00 90 */ addi r1, r1, 0x90 -/* 80294984 002918E4 4E 80 00 20 */ blr - -.global CheckForGameOver__12CNESEmulatorFPCcPc -CheckForGameOver__12CNESEmulatorFPCcPc: -/* 80294988 002918E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029498C 002918EC 7C 08 02 A6 */ mflr r0 -/* 80294990 002918F0 3C A0 80 3F */ lis r5, lbl_803EBC60@ha -/* 80294994 002918F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80294998 002918F8 38 05 BC 60 */ addi r0, r5, lbl_803EBC60@l -/* 8029499C 002918FC 38 A0 00 09 */ li r5, 9 -/* 802949A0 00291900 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802949A4 00291904 7C 9F 23 78 */ mr r31, r4 -/* 802949A8 00291908 7C 04 03 78 */ mr r4, r0 -/* 802949AC 0029190C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802949B0 00291910 7C 7E 1B 78 */ mr r30, r3 -/* 802949B4 00291914 38 7E 01 4B */ addi r3, r30, 0x14b -/* 802949B8 00291918 48 0F 8E C5 */ bl memcmp -/* 802949BC 0029191C 2C 03 00 00 */ cmpwi r3, 0 -/* 802949C0 00291920 41 82 00 0C */ beq lbl_802949CC -/* 802949C4 00291924 38 60 00 00 */ li r3, 0 -/* 802949C8 00291928 48 00 01 0C */ b lbl_80294AD4 -lbl_802949CC: -/* 802949CC 0029192C 38 00 00 18 */ li r0, 0x18 -/* 802949D0 00291930 39 00 00 00 */ li r8, 0 -/* 802949D4 00291934 39 20 00 00 */ li r9, 0 -/* 802949D8 00291938 38 C0 00 00 */ li r6, 0 -/* 802949DC 0029193C 7C 09 03 A6 */ mtctr r0 -lbl_802949E0: -/* 802949E0 00291940 38 09 01 A9 */ addi r0, r9, 0x1a9 -/* 802949E4 00291944 39 29 00 01 */ addi r9, r9, 1 -/* 802949E8 00291948 28 09 00 06 */ cmplwi r9, 6 -/* 802949EC 0029194C 7C FE 00 AE */ lbzx r7, r30, r0 -/* 802949F0 00291950 41 82 00 0C */ beq lbl_802949FC -/* 802949F4 00291954 28 09 00 46 */ cmplwi r9, 0x46 -/* 802949F8 00291958 40 82 00 0C */ bne lbl_80294A04 -lbl_802949FC: -/* 802949FC 0029195C 39 29 00 01 */ addi r9, r9, 1 -/* 80294A00 00291960 48 00 00 10 */ b lbl_80294A10 -lbl_80294A04: -/* 80294A04 00291964 28 09 00 0D */ cmplwi r9, 0xd -/* 80294A08 00291968 40 82 00 08 */ bne lbl_80294A10 -/* 80294A0C 0029196C 39 20 00 40 */ li r9, 0x40 -lbl_80294A10: -/* 80294A10 00291970 28 07 00 3F */ cmplwi r7, 0x3f -/* 80294A14 00291974 40 81 00 0C */ ble lbl_80294A20 -/* 80294A18 00291978 38 60 00 00 */ li r3, 0 -/* 80294A1C 0029197C 48 00 00 B8 */ b lbl_80294AD4 -lbl_80294A20: -/* 80294A20 00291980 54 C0 07 BE */ clrlwi r0, r6, 0x1e -/* 80294A24 00291984 2C 00 00 02 */ cmpwi r0, 2 -/* 80294A28 00291988 41 82 00 54 */ beq lbl_80294A7C -/* 80294A2C 0029198C 40 80 00 14 */ bge lbl_80294A40 -/* 80294A30 00291990 2C 00 00 00 */ cmpwi r0, 0 -/* 80294A34 00291994 41 82 00 18 */ beq lbl_80294A4C -/* 80294A38 00291998 40 80 00 20 */ bge lbl_80294A58 -/* 80294A3C 0029199C 48 00 00 7C */ b lbl_80294AB8 -lbl_80294A40: -/* 80294A40 002919A0 2C 00 00 04 */ cmpwi r0, 4 -/* 80294A44 002919A4 40 80 00 74 */ bge lbl_80294AB8 -/* 80294A48 002919A8 48 00 00 58 */ b lbl_80294AA0 -lbl_80294A4C: -/* 80294A4C 002919AC 38 61 00 08 */ addi r3, r1, 8 -/* 80294A50 002919B0 7C E3 41 AE */ stbx r7, r3, r8 -/* 80294A54 002919B4 48 00 00 64 */ b lbl_80294AB8 -lbl_80294A58: -/* 80294A58 002919B8 38 A1 00 08 */ addi r5, r1, 8 -/* 80294A5C 002919BC 54 E3 30 32 */ slwi r3, r7, 6 -/* 80294A60 002919C0 7C 85 40 AE */ lbzx r4, r5, r8 -/* 80294A64 002919C4 54 E0 F6 3E */ rlwinm r0, r7, 0x1e, 0x18, 0x1f -/* 80294A68 002919C8 7C 83 1B 78 */ or r3, r4, r3 -/* 80294A6C 002919CC 7C 65 41 AE */ stbx r3, r5, r8 -/* 80294A70 002919D0 39 08 00 01 */ addi r8, r8, 1 -/* 80294A74 002919D4 7C 05 41 AE */ stbx r0, r5, r8 -/* 80294A78 002919D8 48 00 00 40 */ b lbl_80294AB8 -lbl_80294A7C: -/* 80294A7C 002919DC 38 A1 00 08 */ addi r5, r1, 8 -/* 80294A80 002919E0 54 E3 20 36 */ slwi r3, r7, 4 -/* 80294A84 002919E4 7C 85 40 AE */ lbzx r4, r5, r8 -/* 80294A88 002919E8 54 E0 E6 3E */ rlwinm r0, r7, 0x1c, 0x18, 0x1f -/* 80294A8C 002919EC 7C 83 1B 78 */ or r3, r4, r3 -/* 80294A90 002919F0 7C 65 41 AE */ stbx r3, r5, r8 -/* 80294A94 002919F4 39 08 00 01 */ addi r8, r8, 1 -/* 80294A98 002919F8 7C 05 41 AE */ stbx r0, r5, r8 -/* 80294A9C 002919FC 48 00 00 1C */ b lbl_80294AB8 -lbl_80294AA0: -/* 80294AA0 00291A00 38 81 00 08 */ addi r4, r1, 8 -/* 80294AA4 00291A04 54 E0 10 3A */ slwi r0, r7, 2 -/* 80294AA8 00291A08 7C 64 40 AE */ lbzx r3, r4, r8 -/* 80294AAC 00291A0C 7C 60 03 78 */ or r0, r3, r0 -/* 80294AB0 00291A10 7C 04 41 AE */ stbx r0, r4, r8 -/* 80294AB4 00291A14 39 08 00 01 */ addi r8, r8, 1 -lbl_80294AB8: -/* 80294AB8 00291A18 38 C6 00 01 */ addi r6, r6, 1 -/* 80294ABC 00291A1C 42 00 FF 24 */ bdnz lbl_802949E0 -/* 80294AC0 00291A20 7F E3 FB 78 */ mr r3, r31 -/* 80294AC4 00291A24 38 81 00 08 */ addi r4, r1, 8 -/* 80294AC8 00291A28 38 A0 00 12 */ li r5, 0x12 -/* 80294ACC 00291A2C 4B D6 E9 C5 */ bl memcpy -/* 80294AD0 00291A30 38 60 00 01 */ li r3, 1 -lbl_80294AD4: -/* 80294AD4 00291A34 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80294AD8 00291A38 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80294ADC 00291A3C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80294AE0 00291A40 7C 08 03 A6 */ mtlr r0 -/* 80294AE4 00291A44 38 21 00 30 */ addi r1, r1, 0x30 -/* 80294AE8 00291A48 4E 80 00 20 */ blr - -.global SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc -SetPasswordIntoEntryScreen__12CNESEmulatorFPCcPcPCc: -/* 80294AEC 00291A4C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80294AF0 00291A50 7C 08 02 A6 */ mflr r0 -/* 80294AF4 00291A54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80294AF8 00291A58 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294AFC 00291A5C 7C 9F 23 78 */ mr r31, r4 -/* 80294B00 00291A60 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80294B04 00291A64 7C 7E 1B 78 */ mr r30, r3 -/* 80294B08 00291A68 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80294B0C 00291A6C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80294B10 00291A70 7C BC 2B 78 */ mr r28, r5 -/* 80294B14 00291A74 48 00 01 B5 */ bl CheckForPasswordEntryScreen__12CNESEmulatorFPCc -/* 80294B18 00291A78 2C 03 00 01 */ cmpwi r3, 1 -/* 80294B1C 00291A7C 41 82 00 0C */ beq lbl_80294B28 -/* 80294B20 00291A80 38 60 00 00 */ li r3, 0 -/* 80294B24 00291A84 48 00 01 84 */ b lbl_80294CA8 -lbl_80294B28: -/* 80294B28 00291A88 38 00 00 02 */ li r0, 2 -/* 80294B2C 00291A8C 7F 83 E3 78 */ mr r3, r28 -/* 80294B30 00291A90 38 80 00 00 */ li r4, 0 -/* 80294B34 00291A94 7C 09 03 A6 */ mtctr r0 -lbl_80294B38: -/* 80294B38 00291A98 88 03 00 00 */ lbz r0, 0(r3) -/* 80294B3C 00291A9C 28 00 00 00 */ cmplwi r0, 0 -/* 80294B40 00291AA0 40 82 00 90 */ bne lbl_80294BD0 -/* 80294B44 00291AA4 88 03 00 01 */ lbz r0, 1(r3) -/* 80294B48 00291AA8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B4C 00291AAC 28 00 00 00 */ cmplwi r0, 0 -/* 80294B50 00291AB0 40 82 00 80 */ bne lbl_80294BD0 -/* 80294B54 00291AB4 88 03 00 02 */ lbz r0, 2(r3) -/* 80294B58 00291AB8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B5C 00291ABC 28 00 00 00 */ cmplwi r0, 0 -/* 80294B60 00291AC0 40 82 00 70 */ bne lbl_80294BD0 -/* 80294B64 00291AC4 88 03 00 03 */ lbz r0, 3(r3) -/* 80294B68 00291AC8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B6C 00291ACC 28 00 00 00 */ cmplwi r0, 0 -/* 80294B70 00291AD0 40 82 00 60 */ bne lbl_80294BD0 -/* 80294B74 00291AD4 88 03 00 04 */ lbz r0, 4(r3) -/* 80294B78 00291AD8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B7C 00291ADC 28 00 00 00 */ cmplwi r0, 0 -/* 80294B80 00291AE0 40 82 00 50 */ bne lbl_80294BD0 -/* 80294B84 00291AE4 88 03 00 05 */ lbz r0, 5(r3) -/* 80294B88 00291AE8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B8C 00291AEC 28 00 00 00 */ cmplwi r0, 0 -/* 80294B90 00291AF0 40 82 00 40 */ bne lbl_80294BD0 -/* 80294B94 00291AF4 88 03 00 06 */ lbz r0, 6(r3) -/* 80294B98 00291AF8 38 84 00 01 */ addi r4, r4, 1 -/* 80294B9C 00291AFC 28 00 00 00 */ cmplwi r0, 0 -/* 80294BA0 00291B00 40 82 00 30 */ bne lbl_80294BD0 -/* 80294BA4 00291B04 88 03 00 07 */ lbz r0, 7(r3) -/* 80294BA8 00291B08 38 84 00 01 */ addi r4, r4, 1 -/* 80294BAC 00291B0C 28 00 00 00 */ cmplwi r0, 0 -/* 80294BB0 00291B10 40 82 00 20 */ bne lbl_80294BD0 -/* 80294BB4 00291B14 88 03 00 08 */ lbz r0, 8(r3) -/* 80294BB8 00291B18 38 84 00 01 */ addi r4, r4, 1 -/* 80294BBC 00291B1C 28 00 00 00 */ cmplwi r0, 0 -/* 80294BC0 00291B20 40 82 00 10 */ bne lbl_80294BD0 -/* 80294BC4 00291B24 38 84 00 01 */ addi r4, r4, 1 -/* 80294BC8 00291B28 38 63 00 09 */ addi r3, r3, 9 -/* 80294BCC 00291B2C 42 00 FF 6C */ bdnz lbl_80294B38 -lbl_80294BD0: -/* 80294BD0 00291B30 28 04 00 12 */ cmplwi r4, 0x12 -/* 80294BD4 00291B34 40 82 00 0C */ bne lbl_80294BE0 -/* 80294BD8 00291B38 38 60 00 00 */ li r3, 0 -/* 80294BDC 00291B3C 48 00 00 CC */ b lbl_80294CA8 -lbl_80294BE0: -/* 80294BE0 00291B40 38 00 00 18 */ li r0, 0x18 -/* 80294BE4 00291B44 7F 83 E3 78 */ mr r3, r28 -/* 80294BE8 00291B48 38 E0 00 00 */ li r7, 0 -/* 80294BEC 00291B4C 38 C0 00 00 */ li r6, 0 -/* 80294BF0 00291B50 7C 09 03 A6 */ mtctr r0 -lbl_80294BF4: -/* 80294BF4 00291B54 54 C0 07 BE */ clrlwi r0, r6, 0x1e -/* 80294BF8 00291B58 2C 00 00 02 */ cmpwi r0, 2 -/* 80294BFC 00291B5C 41 82 00 48 */ beq lbl_80294C44 -/* 80294C00 00291B60 40 80 00 14 */ bge lbl_80294C14 -/* 80294C04 00291B64 2C 00 00 00 */ cmpwi r0, 0 -/* 80294C08 00291B68 41 82 00 18 */ beq lbl_80294C20 -/* 80294C0C 00291B6C 40 80 00 20 */ bge lbl_80294C2C -/* 80294C10 00291B70 48 00 00 50 */ b lbl_80294C60 -lbl_80294C14: -/* 80294C14 00291B74 2C 00 00 04 */ cmpwi r0, 4 -/* 80294C18 00291B78 40 80 00 48 */ bge lbl_80294C60 -/* 80294C1C 00291B7C 48 00 00 40 */ b lbl_80294C5C -lbl_80294C20: -/* 80294C20 00291B80 8B A3 00 00 */ lbz r29, 0(r3) -/* 80294C24 00291B84 38 63 00 01 */ addi r3, r3, 1 -/* 80294C28 00291B88 48 00 00 38 */ b lbl_80294C60 -lbl_80294C2C: -/* 80294C2C 00291B8C 88 03 00 00 */ lbz r0, 0(r3) -/* 80294C30 00291B90 57 A4 D1 BE */ srwi r4, r29, 6 -/* 80294C34 00291B94 38 63 00 01 */ addi r3, r3, 1 -/* 80294C38 00291B98 54 00 10 3A */ slwi r0, r0, 2 -/* 80294C3C 00291B9C 7C 9D 03 78 */ or r29, r4, r0 -/* 80294C40 00291BA0 48 00 00 20 */ b lbl_80294C60 -lbl_80294C44: -/* 80294C44 00291BA4 88 03 00 00 */ lbz r0, 0(r3) -/* 80294C48 00291BA8 57 A4 D1 BE */ srwi r4, r29, 6 -/* 80294C4C 00291BAC 38 63 00 01 */ addi r3, r3, 1 -/* 80294C50 00291BB0 54 00 20 36 */ slwi r0, r0, 4 -/* 80294C54 00291BB4 7C 9D 03 78 */ or r29, r4, r0 -/* 80294C58 00291BB8 48 00 00 08 */ b lbl_80294C60 -lbl_80294C5C: -/* 80294C5C 00291BBC 57 BD D1 BE */ srwi r29, r29, 6 -lbl_80294C60: -/* 80294C60 00291BC0 57 A5 06 BE */ clrlwi r5, r29, 0x1a -/* 80294C64 00291BC4 38 86 09 9A */ addi r4, r6, 0x99a -/* 80294C68 00291BC8 38 07 01 09 */ addi r0, r7, 0x109 -/* 80294C6C 00291BCC 7C BF 21 AE */ stbx r5, r31, r4 -/* 80294C70 00291BD0 38 E7 00 01 */ addi r7, r7, 1 -/* 80294C74 00291BD4 28 07 00 06 */ cmplwi r7, 6 -/* 80294C78 00291BD8 7C BE 01 AE */ stbx r5, r30, r0 -/* 80294C7C 00291BDC 41 82 00 0C */ beq lbl_80294C88 -/* 80294C80 00291BE0 28 07 00 46 */ cmplwi r7, 0x46 -/* 80294C84 00291BE4 40 82 00 0C */ bne lbl_80294C90 -lbl_80294C88: -/* 80294C88 00291BE8 38 E7 00 01 */ addi r7, r7, 1 -/* 80294C8C 00291BEC 48 00 00 10 */ b lbl_80294C9C -lbl_80294C90: -/* 80294C90 00291BF0 28 07 00 0D */ cmplwi r7, 0xd -/* 80294C94 00291BF4 40 82 00 08 */ bne lbl_80294C9C -/* 80294C98 00291BF8 38 E0 00 40 */ li r7, 0x40 -lbl_80294C9C: -/* 80294C9C 00291BFC 38 C6 00 01 */ addi r6, r6, 1 -/* 80294CA0 00291C00 42 00 FF 54 */ bdnz lbl_80294BF4 -/* 80294CA4 00291C04 38 60 00 01 */ li r3, 1 -lbl_80294CA8: -/* 80294CA8 00291C08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80294CAC 00291C0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80294CB0 00291C10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80294CB4 00291C14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80294CB8 00291C18 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80294CBC 00291C1C 7C 08 03 A6 */ mtlr r0 -/* 80294CC0 00291C20 38 21 00 20 */ addi r1, r1, 0x20 -/* 80294CC4 00291C24 4E 80 00 20 */ blr - -.global CheckForPasswordEntryScreen__12CNESEmulatorFPCc -CheckForPasswordEntryScreen__12CNESEmulatorFPCc: -/* 80294CC8 00291C28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294CCC 00291C2C 7C 08 02 A6 */ mflr r0 -/* 80294CD0 00291C30 3C 80 80 3F */ lis r4, lbl_803EBC50@ha -/* 80294CD4 00291C34 38 A0 00 10 */ li r5, 0x10 -/* 80294CD8 00291C38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294CDC 00291C3C 38 84 BC 50 */ addi r4, r4, lbl_803EBC50@l -/* 80294CE0 00291C40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294CE4 00291C44 7C 7F 1B 78 */ mr r31, r3 -/* 80294CE8 00291C48 38 7F 00 88 */ addi r3, r31, 0x88 -/* 80294CEC 00291C4C 48 0F 8B 91 */ bl memcmp -/* 80294CF0 00291C50 2C 03 00 00 */ cmpwi r3, 0 -/* 80294CF4 00291C54 41 82 00 0C */ beq lbl_80294D00 -/* 80294CF8 00291C58 38 60 00 00 */ li r3, 0 -/* 80294CFC 00291C5C 48 00 00 40 */ b lbl_80294D3C -lbl_80294D00: -/* 80294D00 00291C60 38 00 00 0D */ li r0, 0xd -/* 80294D04 00291C64 38 80 00 00 */ li r4, 0 -/* 80294D08 00291C68 7C 09 03 A6 */ mtctr r0 -lbl_80294D0C: -/* 80294D0C 00291C6C 7C 7F 22 14 */ add r3, r31, r4 -/* 80294D10 00291C70 88 03 01 09 */ lbz r0, 0x109(r3) -/* 80294D14 00291C74 28 00 00 40 */ cmplwi r0, 0x40 -/* 80294D18 00291C78 41 80 00 10 */ blt lbl_80294D28 -/* 80294D1C 00291C7C 88 03 01 49 */ lbz r0, 0x149(r3) -/* 80294D20 00291C80 28 00 00 40 */ cmplwi r0, 0x40 -/* 80294D24 00291C84 40 80 00 0C */ bge lbl_80294D30 -lbl_80294D28: -/* 80294D28 00291C88 38 60 00 02 */ li r3, 2 -/* 80294D2C 00291C8C 48 00 00 10 */ b lbl_80294D3C -lbl_80294D30: -/* 80294D30 00291C90 38 84 00 01 */ addi r4, r4, 1 -/* 80294D34 00291C94 42 00 FF D8 */ bdnz lbl_80294D0C -/* 80294D38 00291C98 38 60 00 01 */ li r3, 1 -lbl_80294D3C: -/* 80294D3C 00291C9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294D40 00291CA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294D44 00291CA4 7C 08 03 A6 */ mtlr r0 -/* 80294D48 00291CA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294D4C 00291CAC 4E 80 00 20 */ blr - -.global __dt__20CPhazonHealingNoduleFv -__dt__20CPhazonHealingNoduleFv: -/* 80294D50 00291CB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294D54 00291CB4 7C 08 02 A6 */ mflr r0 -/* 80294D58 00291CB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294D5C 00291CBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294D60 00291CC0 7C 9F 23 78 */ mr r31, r4 -/* 80294D64 00291CC4 93 C1 00 08 */ stw r30, 8(r1) -/* 80294D68 00291CC8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80294D6C 00291CCC 41 82 00 70 */ beq lbl_80294DDC -/* 80294D70 00291CD0 3C 60 80 3F */ lis r3, lbl_803EBC70@ha -/* 80294D74 00291CD4 34 1E 05 8C */ addic. r0, r30, 0x58c -/* 80294D78 00291CD8 38 03 BC 70 */ addi r0, r3, lbl_803EBC70@l -/* 80294D7C 00291CDC 90 1E 00 00 */ stw r0, 0(r30) -/* 80294D80 00291CE0 41 82 00 0C */ beq lbl_80294D8C -/* 80294D84 00291CE4 38 7E 05 8C */ addi r3, r30, 0x58c -/* 80294D88 00291CE8 48 0A 8D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80294D8C: -/* 80294D8C 00291CEC 34 1E 05 7C */ addic. r0, r30, 0x57c -/* 80294D90 00291CF0 41 82 00 14 */ beq lbl_80294DA4 -/* 80294D94 00291CF4 34 1E 05 7C */ addic. r0, r30, 0x57c -/* 80294D98 00291CF8 41 82 00 0C */ beq lbl_80294DA4 -/* 80294D9C 00291CFC 38 7E 05 7C */ addi r3, r30, 0x57c -/* 80294DA0 00291D00 48 00 0D 31 */ bl sub_80295ad0 -lbl_80294DA4: -/* 80294DA4 00291D04 34 1E 05 70 */ addic. r0, r30, 0x570 -/* 80294DA8 00291D08 41 82 00 18 */ beq lbl_80294DC0 -/* 80294DAC 00291D0C 34 1E 05 70 */ addic. r0, r30, 0x570 -/* 80294DB0 00291D10 41 82 00 10 */ beq lbl_80294DC0 -/* 80294DB4 00291D14 38 7E 05 70 */ addi r3, r30, 0x570 -/* 80294DB8 00291D18 38 80 00 00 */ li r4, 0 -/* 80294DBC 00291D1C 48 0A C0 85 */ bl __dt__6CTokenFv -lbl_80294DC0: -/* 80294DC0 00291D20 7F C3 F3 78 */ mr r3, r30 -/* 80294DC4 00291D24 38 80 00 00 */ li r4, 0 -/* 80294DC8 00291D28 4B DE 27 A9 */ bl __dt__10CPatternedFv -/* 80294DCC 00291D2C 7F E0 07 35 */ extsh. r0, r31 -/* 80294DD0 00291D30 40 81 00 0C */ ble lbl_80294DDC -/* 80294DD4 00291D34 7F C3 F3 78 */ mr r3, r30 -/* 80294DD8 00291D38 48 08 0B 59 */ bl Free__7CMemoryFPCv -lbl_80294DDC: -/* 80294DDC 00291D3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294DE0 00291D40 7F C3 F3 78 */ mr r3, r30 -/* 80294DE4 00291D44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294DE8 00291D48 83 C1 00 08 */ lwz r30, 8(r1) -/* 80294DEC 00291D4C 7C 08 03 A6 */ mtlr r0 -/* 80294DF0 00291D50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294DF4 00291D54 4E 80 00 20 */ blr - -.global KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -KnockBack__20CPhazonHealingNoduleFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: -/* 80294DF8 00291D58 4E 80 00 20 */ blr - -.global sub_80294dfc -sub_80294dfc: -/* 80294DFC 00291D5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294E00 00291D60 7C 08 02 A6 */ mflr r0 -/* 80294E04 00291D64 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80294E08 00291D68 38 C0 00 0E */ li r6, 0xe -/* 80294E0C 00291D6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294E10 00291D70 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 80294E14 00291D74 81 83 00 00 */ lwz r12, 0(r3) -/* 80294E18 00291D78 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 80294E1C 00291D7C 7D 89 03 A6 */ mtctr r12 -/* 80294E20 00291D80 4E 80 04 21 */ bctrl -/* 80294E24 00291D84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294E28 00291D88 7C 08 03 A6 */ mtlr r0 -/* 80294E2C 00291D8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294E30 00291D90 4E 80 00 20 */ blr - -.global sub_80294e34 -sub_80294e34: -/* 80294E34 00291D94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294E38 00291D98 7C 08 02 A6 */ mflr r0 -/* 80294E3C 00291D9C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80294E40 00291DA0 38 C0 00 0E */ li r6, 0xe -/* 80294E44 00291DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294E48 00291DA8 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 80294E4C 00291DAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80294E50 00291DB0 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 80294E54 00291DB4 7D 89 03 A6 */ mtctr r12 -/* 80294E58 00291DB8 4E 80 04 21 */ bctrl -/* 80294E5C 00291DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294E60 00291DC0 7C 08 03 A6 */ mtlr r0 -/* 80294E64 00291DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294E68 00291DC8 4E 80 00 20 */ blr - -.global sub_80294e6c -sub_80294e6c: -/* 80294E6C 00291DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294E70 00291DD0 7C 08 02 A6 */ mflr r0 -/* 80294E74 00291DD4 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80294E78 00291DD8 38 C0 00 0E */ li r6, 0xe -/* 80294E7C 00291DDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294E80 00291DE0 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 80294E84 00291DE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80294E88 00291DE8 81 8C 00 84 */ lwz r12, 0x84(r12) -/* 80294E8C 00291DEC 7D 89 03 A6 */ mtctr r12 -/* 80294E90 00291DF0 4E 80 04 21 */ bctrl -/* 80294E94 00291DF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294E98 00291DF8 7C 08 03 A6 */ mtlr r0 -/* 80294E9C 00291DFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294EA0 00291E00 4E 80 00 20 */ blr - -.global Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager -Death__20CPhazonHealingNoduleFRC9CVector3fR13CStateManager: -/* 80294EA4 00291E04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294EA8 00291E08 7C 08 02 A6 */ mflr r0 -/* 80294EAC 00291E0C 38 C0 FF FF */ li r6, -1 -/* 80294EB0 00291E10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294EB4 00291E14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294EB8 00291E18 7C 9F 23 78 */ mr r31, r4 -/* 80294EBC 00291E1C 7F E5 FB 78 */ mr r5, r31 -/* 80294EC0 00291E20 38 80 00 0E */ li r4, 0xe -/* 80294EC4 00291E24 93 C1 00 08 */ stw r30, 8(r1) -/* 80294EC8 00291E28 7C 7E 1B 78 */ mr r30, r3 -/* 80294ECC 00291E2C 4B DB C1 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80294ED0 00291E30 7F C3 F3 78 */ mr r3, r30 -/* 80294ED4 00291E34 7F E5 FB 78 */ mr r5, r31 -/* 80294ED8 00291E38 38 80 00 14 */ li r4, 0x14 -/* 80294EDC 00291E3C 38 C0 FF FF */ li r6, -1 -/* 80294EE0 00291E40 4B DB C1 E1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80294EE4 00291E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294EE8 00291E48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294EEC 00291E4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80294EF0 00291E50 7C 08 03 A6 */ mtlr r0 -/* 80294EF4 00291E54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294EF8 00291E58 4E 80 00 20 */ blr - -.global sub_80294efc -sub_80294efc: -/* 80294EFC 00291E5C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80294F00 00291E60 7C 08 02 A6 */ mflr r0 -/* 80294F04 00291E64 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80294F08 00291E68 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80294F0C 00291E6C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80294F10 00291E70 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80294F14 00291E74 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80294F18 00291E78 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80294F1C 00291E7C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80294F20 00291E80 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80294F24 00291E84 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80294F28 00291E88 7C 7E 1B 78 */ mr r30, r3 -/* 80294F2C 00291E8C 80 63 05 7C */ lwz r3, 0x57c(r3) -/* 80294F30 00291E90 80 03 00 00 */ lwz r0, 0(r3) -/* 80294F34 00291E94 28 00 00 00 */ cmplwi r0, 0 -/* 80294F38 00291E98 41 82 00 F0 */ beq lbl_80295028 -/* 80294F3C 00291E9C A0 1E 05 6E */ lhz r0, 0x56e(r30) -/* 80294F40 00291EA0 7C 83 23 78 */ mr r3, r4 -/* 80294F44 00291EA4 38 81 00 08 */ addi r4, r1, 8 -/* 80294F48 00291EA8 B0 01 00 08 */ sth r0, 8(r1) -/* 80294F4C 00291EAC 4B DB 76 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80294F50 00291EB0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80294F54 00291EB4 41 82 00 D4 */ beq lbl_80295028 -/* 80294F58 00291EB8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha -/* 80294F5C 00291EBC 38 61 00 0C */ addi r3, r1, 0xc -/* 80294F60 00291EC0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l -/* 80294F64 00291EC4 4B D6 FD 55 */ bl string_l__4rstlFPCc -/* 80294F68 00291EC8 7F C4 F3 78 */ mr r4, r30 -/* 80294F6C 00291ECC 38 61 00 4C */ addi r3, r1, 0x4c -/* 80294F70 00291ED0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80294F74 00291ED4 4B DE 3A 05 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80294F78 00291ED8 C3 A1 00 78 */ lfs f29, 0x78(r1) -/* 80294F7C 00291EDC 38 61 00 0C */ addi r3, r1, 0xc -/* 80294F80 00291EE0 C3 C1 00 68 */ lfs f30, 0x68(r1) -/* 80294F84 00291EE4 C3 E1 00 58 */ lfs f31, 0x58(r1) -/* 80294F88 00291EE8 48 0A 8B 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80294F8C 00291EEC 7F E4 FB 78 */ mr r4, r31 -/* 80294F90 00291EF0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80294F94 00291EF4 38 BE 05 8C */ addi r5, r30, 0x58c -/* 80294F98 00291EF8 4B DE 39 E1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80294F9C 00291EFC 80 7E 05 7C */ lwz r3, 0x57c(r30) -/* 80294FA0 00291F00 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 80294FA4 00291F04 80 63 00 00 */ lwz r3, 0(r3) -/* 80294FA8 00291F08 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80294FAC 00291F0C 88 03 01 84 */ lbz r0, 0x184(r3) -/* 80294FB0 00291F10 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80294FB4 00291F14 28 00 00 00 */ cmplwi r0, 0 -/* 80294FB8 00291F18 40 82 00 24 */ bne lbl_80294FDC -/* 80294FBC 00291F1C 34 83 01 78 */ addic. r4, r3, 0x178 -/* 80294FC0 00291F20 41 82 00 10 */ beq lbl_80294FD0 -/* 80294FC4 00291F24 D3 E4 00 00 */ stfs f31, 0(r4) -/* 80294FC8 00291F28 D3 C4 00 04 */ stfs f30, 4(r4) -/* 80294FCC 00291F2C D3 A4 00 08 */ stfs f29, 8(r4) -lbl_80294FD0: -/* 80294FD0 00291F30 38 00 00 01 */ li r0, 1 -/* 80294FD4 00291F34 98 03 01 84 */ stb r0, 0x184(r3) -/* 80294FD8 00291F38 48 00 00 10 */ b lbl_80294FE8 -lbl_80294FDC: -/* 80294FDC 00291F3C D3 E3 01 78 */ stfs f31, 0x178(r3) -/* 80294FE0 00291F40 D3 C3 01 7C */ stfs f30, 0x17c(r3) -/* 80294FE4 00291F44 D3 A3 01 80 */ stfs f29, 0x180(r3) -lbl_80294FE8: -/* 80294FE8 00291F48 80 7E 05 7C */ lwz r3, 0x57c(r30) -/* 80294FEC 00291F4C 80 63 00 00 */ lwz r3, 0(r3) -/* 80294FF0 00291F50 88 03 01 A4 */ lbz r0, 0x1a4(r3) -/* 80294FF4 00291F54 28 00 00 00 */ cmplwi r0, 0 -/* 80294FF8 00291F58 40 82 00 24 */ bne lbl_8029501C -/* 80294FFC 00291F5C 34 83 01 98 */ addic. r4, r3, 0x198 -/* 80295000 00291F60 41 82 00 10 */ beq lbl_80295010 -/* 80295004 00291F64 D0 04 00 00 */ stfs f0, 0(r4) -/* 80295008 00291F68 D0 24 00 04 */ stfs f1, 4(r4) -/* 8029500C 00291F6C D0 44 00 08 */ stfs f2, 8(r4) -lbl_80295010: -/* 80295010 00291F70 38 00 00 01 */ li r0, 1 -/* 80295014 00291F74 98 03 01 A4 */ stb r0, 0x1a4(r3) -/* 80295018 00291F78 48 00 00 10 */ b lbl_80295028 -lbl_8029501C: -/* 8029501C 00291F7C D0 03 01 98 */ stfs f0, 0x198(r3) -/* 80295020 00291F80 D0 23 01 9C */ stfs f1, 0x19c(r3) -/* 80295024 00291F84 D0 43 01 A0 */ stfs f2, 0x1a0(r3) -lbl_80295028: -/* 80295028 00291F88 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8029502C 00291F8C CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80295030 00291F90 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80295034 00291F94 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80295038 00291F98 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8029503C 00291F9C CB A1 00 90 */ lfd f29, 0x90(r1) -/* 80295040 00291FA0 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80295044 00291FA4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80295048 00291FA8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8029504C 00291FAC 7C 08 03 A6 */ mtlr r0 -/* 80295050 00291FB0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80295054 00291FB4 4E 80 00 20 */ blr - -.global sub_80295058 -sub_80295058: -/* 80295058 00291FB8 80 03 05 88 */ lwz r0, 0x588(r3) -/* 8029505C 00291FBC 20 00 00 03 */ subfic r0, r0, 3 -/* 80295060 00291FC0 7C 00 00 34 */ cntlzw r0, r0 -/* 80295064 00291FC4 54 03 D9 7E */ srwi r3, r0, 5 -/* 80295068 00291FC8 4E 80 00 20 */ blr - -.global Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf -Faint__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: -/* 8029506C 00291FCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80295070 00291FD0 7C 08 02 A6 */ mflr r0 -/* 80295074 00291FD4 2C 05 00 01 */ cmpwi r5, 1 -/* 80295078 00291FD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029507C 00291FDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80295080 00291FE0 41 82 00 24 */ beq lbl_802950A4 -/* 80295084 00291FE4 40 80 00 F8 */ bge lbl_8029517C -/* 80295088 00291FE8 2C 05 00 00 */ cmpwi r5, 0 -/* 8029508C 00291FEC 40 80 00 0C */ bge lbl_80295098 -/* 80295090 00291FF0 48 00 00 EC */ b lbl_8029517C -/* 80295094 00291FF4 48 00 00 E8 */ b lbl_8029517C -lbl_80295098: -/* 80295098 00291FF8 38 00 00 00 */ li r0, 0 -/* 8029509C 00291FFC 90 03 05 88 */ stw r0, 0x588(r3) -/* 802950A0 00292000 48 00 00 DC */ b lbl_8029517C -lbl_802950A4: -/* 802950A4 00292004 80 03 05 88 */ lwz r0, 0x588(r3) -/* 802950A8 00292008 2C 00 00 01 */ cmpwi r0, 1 -/* 802950AC 0029200C 41 82 00 D0 */ beq lbl_8029517C -/* 802950B0 00292010 40 80 00 10 */ bge lbl_802950C0 -/* 802950B4 00292014 2C 00 00 00 */ cmpwi r0, 0 -/* 802950B8 00292018 40 80 00 14 */ bge lbl_802950CC -/* 802950BC 0029201C 48 00 00 C0 */ b lbl_8029517C -lbl_802950C0: -/* 802950C0 00292020 2C 00 00 03 */ cmpwi r0, 3 -/* 802950C4 00292024 40 80 00 B8 */ bge lbl_8029517C -/* 802950C8 00292028 48 00 00 9C */ b lbl_80295164 -lbl_802950CC: -/* 802950CC 0029202C 80 83 04 50 */ lwz r4, 0x450(r3) -/* 802950D0 00292030 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 802950D4 00292034 2C 00 00 03 */ cmpwi r0, 3 -/* 802950D8 00292038 40 82 00 1C */ bne lbl_802950F4 -/* 802950DC 0029203C 38 00 00 02 */ li r0, 2 -/* 802950E0 00292040 38 80 00 01 */ li r4, 1 -/* 802950E4 00292044 90 03 05 88 */ stw r0, 0x588(r3) -/* 802950E8 00292048 80 63 04 50 */ lwz r3, 0x450(r3) -/* 802950EC 0029204C 4B EA 58 ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802950F0 00292050 48 00 00 8C */ b lbl_8029517C -lbl_802950F4: -/* 802950F4 00292054 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 802950F8 00292058 38 C0 00 01 */ li r6, 1 -/* 802950FC 0029205C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80295100 00292060 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80295104 00292064 90 01 00 08 */ stw r0, 8(r1) -/* 80295108 00292068 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8029510C 0029206C 38 00 00 00 */ li r0, 0 -/* 80295110 00292070 3B E4 00 04 */ addi r31, r4, 4 -/* 80295114 00292074 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80295118 00292078 7F E3 FB 78 */ mr r3, r31 -/* 8029511C 0029207C 38 80 00 01 */ li r4, 1 -/* 80295120 00292080 90 A1 00 08 */ stw r5, 8(r1) -/* 80295124 00292084 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80295128 00292088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029512C 0029208C 4B E9 C3 0D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80295130 00292090 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80295134 00292094 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80295138 00292098 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8029513C 0029209C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80295140 002920A0 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 80295144 002920A4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80295148 002920A8 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8029514C 002920AC 90 81 00 08 */ stw r4, 8(r1) -/* 80295150 002920B0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80295154 002920B4 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 80295158 002920B8 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8029515C 002920BC 90 01 00 08 */ stw r0, 8(r1) -/* 80295160 002920C0 48 00 00 1C */ b lbl_8029517C -lbl_80295164: -/* 80295164 002920C4 80 83 04 50 */ lwz r4, 0x450(r3) -/* 80295168 002920C8 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8029516C 002920CC 2C 00 00 03 */ cmpwi r0, 3 -/* 80295170 002920D0 41 82 00 0C */ beq lbl_8029517C -/* 80295174 002920D4 38 00 00 03 */ li r0, 3 -/* 80295178 002920D8 90 03 05 88 */ stw r0, 0x588(r3) -lbl_8029517C: -/* 8029517C 002920DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80295180 002920E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80295184 002920E4 7C 08 03 A6 */ mtlr r0 -/* 80295188 002920E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029518C 002920EC 4E 80 00 20 */ blr - -.global Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf -Growth__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: -/* 80295190 002920F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80295194 002920F4 7C 08 02 A6 */ mflr r0 -/* 80295198 002920F8 2C 05 00 01 */ cmpwi r5, 1 -/* 8029519C 002920FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802951A0 00292100 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802951A4 00292104 41 82 00 30 */ beq lbl_802951D4 -/* 802951A8 00292108 40 80 00 F8 */ bge lbl_802952A0 -/* 802951AC 0029210C 2C 05 00 00 */ cmpwi r5, 0 -/* 802951B0 00292110 40 80 00 0C */ bge lbl_802951BC -/* 802951B4 00292114 48 00 00 EC */ b lbl_802952A0 -/* 802951B8 00292118 48 00 00 E8 */ b lbl_802952A0 -lbl_802951BC: -/* 802951BC 0029211C 38 00 00 00 */ li r0, 0 -/* 802951C0 00292120 38 80 00 02 */ li r4, 2 -/* 802951C4 00292124 90 03 05 88 */ stw r0, 0x588(r3) -/* 802951C8 00292128 80 63 04 50 */ lwz r3, 0x450(r3) -/* 802951CC 0029212C 4B EA 58 0D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802951D0 00292130 48 00 00 D0 */ b lbl_802952A0 -lbl_802951D4: -/* 802951D4 00292134 80 03 05 88 */ lwz r0, 0x588(r3) -/* 802951D8 00292138 2C 00 00 01 */ cmpwi r0, 1 -/* 802951DC 0029213C 41 82 00 C4 */ beq lbl_802952A0 -/* 802951E0 00292140 40 80 00 10 */ bge lbl_802951F0 -/* 802951E4 00292144 2C 00 00 00 */ cmpwi r0, 0 -/* 802951E8 00292148 40 80 00 14 */ bge lbl_802951FC -/* 802951EC 0029214C 48 00 00 B4 */ b lbl_802952A0 -lbl_802951F0: -/* 802951F0 00292150 2C 00 00 03 */ cmpwi r0, 3 -/* 802951F4 00292154 40 80 00 AC */ bge lbl_802952A0 -/* 802951F8 00292158 48 00 00 90 */ b lbl_80295288 -lbl_802951FC: -/* 802951FC 0029215C 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 80295200 00292160 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 80295204 00292164 2C 00 00 03 */ cmpwi r0, 3 -/* 80295208 00292168 40 82 00 10 */ bne lbl_80295218 -/* 8029520C 0029216C 38 00 00 02 */ li r0, 2 -/* 80295210 00292170 90 03 05 88 */ stw r0, 0x588(r3) -/* 80295214 00292174 48 00 00 8C */ b lbl_802952A0 -lbl_80295218: -/* 80295218 00292178 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8029521C 0029217C 38 00 00 00 */ li r0, 0 -/* 80295220 00292180 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l -/* 80295224 00292184 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80295228 00292188 90 81 00 08 */ stw r4, 8(r1) -/* 8029522C 0029218C 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 80295230 00292190 38 60 00 01 */ li r3, 1 -/* 80295234 00292194 3B E6 00 04 */ addi r31, r6, 4 -/* 80295238 00292198 90 61 00 0C */ stw r3, 0xc(r1) -/* 8029523C 0029219C 7F E3 FB 78 */ mr r3, r31 -/* 80295240 002921A0 38 80 00 01 */ li r4, 1 -/* 80295244 002921A4 90 A1 00 08 */ stw r5, 8(r1) -/* 80295248 002921A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029524C 002921AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295250 002921B0 4B E9 C1 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80295254 002921B4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80295258 002921B8 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8029525C 002921BC 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 80295260 002921C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80295264 002921C4 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 80295268 002921C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8029526C 002921CC 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80295270 002921D0 90 81 00 08 */ stw r4, 8(r1) -/* 80295274 002921D4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80295278 002921D8 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8029527C 002921DC 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 80295280 002921E0 90 01 00 08 */ stw r0, 8(r1) -/* 80295284 002921E4 48 00 00 1C */ b lbl_802952A0 -lbl_80295288: -/* 80295288 002921E8 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8029528C 002921EC 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 80295290 002921F0 2C 00 00 03 */ cmpwi r0, 3 -/* 80295294 002921F4 41 82 00 0C */ beq lbl_802952A0 -/* 80295298 002921F8 38 00 00 03 */ li r0, 3 -/* 8029529C 002921FC 90 03 05 88 */ stw r0, 0x588(r3) -lbl_802952A0: -/* 802952A0 00292200 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802952A4 00292204 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802952A8 00292208 7C 08 03 A6 */ mtlr r0 -/* 802952AC 0029220C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802952B0 00292210 4E 80 00 20 */ blr - -.global Render__20CPhazonHealingNoduleCFRC13CStateManager -Render__20CPhazonHealingNoduleCFRC13CStateManager: -/* 802952B4 00292214 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802952B8 00292218 7C 08 02 A6 */ mflr r0 -/* 802952BC 0029221C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802952C0 00292220 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802952C4 00292224 7C 9F 23 78 */ mr r31, r4 -/* 802952C8 00292228 93 C1 00 08 */ stw r30, 8(r1) -/* 802952CC 0029222C 7C 7E 1B 78 */ mr r30, r3 -/* 802952D0 00292230 80 63 05 7C */ lwz r3, 0x57c(r3) -/* 802952D4 00292234 80 63 00 00 */ lwz r3, 0(r3) -/* 802952D8 00292238 28 03 00 00 */ cmplwi r3, 0 -/* 802952DC 0029223C 41 82 00 14 */ beq lbl_802952F0 -/* 802952E0 00292240 81 83 00 00 */ lwz r12, 0(r3) -/* 802952E4 00292244 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802952E8 00292248 7D 89 03 A6 */ mtctr r12 -/* 802952EC 0029224C 4E 80 04 21 */ bctrl -lbl_802952F0: -/* 802952F0 00292250 7F C3 F3 78 */ mr r3, r30 -/* 802952F4 00292254 7F E4 FB 78 */ mr r4, r31 -/* 802952F8 00292258 4B DE 2D 35 */ bl Render__10CPatternedCFRC13CStateManager -/* 802952FC 0029225C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295300 00292260 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295304 00292264 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295308 00292268 7C 08 03 A6 */ mtlr r0 -/* 8029530C 0029226C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295310 00292270 4E 80 00 20 */ blr - -.global sub_80295314 -sub_80295314: -/* 80295314 00292274 80 03 05 68 */ lwz r0, 0x568(r3) -/* 80295318 00292278 7C 00 00 34 */ cntlzw r0, r0 -/* 8029531C 0029227C 54 03 D9 7E */ srwi r3, r0, 5 -/* 80295320 00292280 4E 80 00 20 */ blr - -.global sub_80295324 -sub_80295324: -/* 80295324 00292284 80 03 05 68 */ lwz r0, 0x568(r3) -/* 80295328 00292288 20 00 00 01 */ subfic r0, r0, 1 -/* 8029532C 0029228C 7C 00 00 34 */ cntlzw r0, r0 -/* 80295330 00292290 54 03 D9 7E */ srwi r3, r0, 5 -/* 80295334 00292294 4E 80 00 20 */ blr - -.global Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf -Lurk__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: -/* 80295338 00292298 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029533C 0029229C 7C 08 02 A6 */ mflr r0 -/* 80295340 002922A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80295344 002922A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295348 002922A8 41 82 00 0C */ beq lbl_80295354 -/* 8029534C 002922AC 41 80 00 14 */ blt lbl_80295360 -/* 80295350 002922B0 48 00 00 10 */ b lbl_80295360 -lbl_80295354: -/* 80295354 002922B4 80 63 04 50 */ lwz r3, 0x450(r3) -/* 80295358 002922B8 38 80 00 02 */ li r4, 2 -/* 8029535C 002922BC 4B EA 56 7D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80295360: -/* 80295360 002922C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295364 002922C4 7C 08 03 A6 */ mtlr r0 -/* 80295368 002922C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029536C 002922CC 4E 80 00 20 */ blr - -.global Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf -Patrol__20CPhazonHealingNoduleFR13CStateManager9EStateMsgf: -/* 80295370 002922D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295374 002922D4 7C 08 02 A6 */ mflr r0 -/* 80295378 002922D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8029537C 002922DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295380 002922E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295384 002922E4 7C 9F 23 78 */ mr r31, r4 -/* 80295388 002922E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8029538C 002922EC 7C 7E 1B 78 */ mr r30, r3 -/* 80295390 002922F0 41 82 00 0C */ beq lbl_8029539C -/* 80295394 002922F4 41 80 00 34 */ blt lbl_802953C8 -/* 80295398 002922F8 48 00 00 30 */ b lbl_802953C8 -lbl_8029539C: -/* 8029539C 002922FC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802953A0 00292300 38 80 00 01 */ li r4, 1 -/* 802953A4 00292304 4B EA 56 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802953A8 00292308 7F C3 F3 78 */ mr r3, r30 -/* 802953AC 0029230C 7F E5 FB 78 */ mr r5, r31 -/* 802953B0 00292310 38 80 00 28 */ li r4, 0x28 -/* 802953B4 00292314 4B DB EB CD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802953B8 00292318 7F C3 F3 78 */ mr r3, r30 -/* 802953BC 0029231C 7F E5 FB 78 */ mr r5, r31 -/* 802953C0 00292320 38 80 00 29 */ li r4, 0x29 -/* 802953C4 00292324 4B DB EB BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_802953C8: -/* 802953C8 00292328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802953CC 0029232C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802953D0 00292330 83 C1 00 08 */ lwz r30, 8(r1) -/* 802953D4 00292334 7C 08 03 A6 */ mtlr r0 -/* 802953D8 00292338 38 21 00 10 */ addi r1, r1, 0x10 -/* 802953DC 0029233C 4E 80 00 20 */ blr - -.global Think__20CPhazonHealingNoduleFfR13CStateManager -Think__20CPhazonHealingNoduleFfR13CStateManager: -/* 802953E0 00292340 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802953E4 00292344 7C 08 02 A6 */ mflr r0 -/* 802953E8 00292348 90 01 00 34 */ stw r0, 0x34(r1) -/* 802953EC 0029234C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802953F0 00292350 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802953F4 00292354 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802953F8 00292358 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802953FC 0029235C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80295400 00292360 FF E0 08 90 */ fmr f31, f1 -/* 80295404 00292364 7C 7E 1B 78 */ mr r30, r3 -/* 80295408 00292368 7C 9F 23 78 */ mr r31, r4 -/* 8029540C 0029236C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80295410 00292370 41 82 00 D8 */ beq lbl_802954E8 -/* 80295414 00292374 4B DE 47 05 */ bl Think__10CPatternedFfR13CStateManager -/* 80295418 00292378 7F C3 F3 78 */ mr r3, r30 -/* 8029541C 0029237C 7F E4 FB 78 */ mr r4, r31 -/* 80295420 00292380 81 9E 00 00 */ lwz r12, 0(r30) -/* 80295424 00292384 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80295428 00292388 7D 89 03 A6 */ mtctr r12 -/* 8029542C 0029238C 4E 80 04 21 */ bctrl -/* 80295430 00292390 C0 23 00 00 */ lfs f1, 0(r3) -/* 80295434 00292394 C0 02 BF 90 */ lfs f0, lbl_805ADCB0@sda21(r2) -/* 80295438 00292398 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029543C 0029239C 4C 40 13 82 */ cror 2, 0, 2 -/* 80295440 002923A0 40 82 00 70 */ bne lbl_802954B0 -/* 80295444 002923A4 38 7E 05 7C */ addi r3, r30, 0x57c -/* 80295448 002923A8 48 00 06 89 */ bl sub_80295ad0 -/* 8029544C 002923AC 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 80295450 002923B0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha -/* 80295454 002923B4 90 1E 05 7C */ stw r0, 0x57c(r30) -/* 80295458 002923B8 38 83 5B B0 */ addi r4, r3, lbl_803D5BB0@l -/* 8029545C 002923BC 38 00 00 00 */ li r0, 0 -/* 80295460 002923C0 38 61 00 08 */ addi r3, r1, 8 -/* 80295464 002923C4 80 DE 05 7C */ lwz r6, 0x57c(r30) -/* 80295468 002923C8 38 84 00 11 */ addi r4, r4, 0x11 -/* 8029546C 002923CC 80 A6 00 04 */ lwz r5, 4(r6) -/* 80295470 002923D0 38 A5 00 01 */ addi r5, r5, 1 -/* 80295474 002923D4 90 A6 00 04 */ stw r5, 4(r6) -/* 80295478 002923D8 98 1E 05 6C */ stb r0, 0x56c(r30) -/* 8029547C 002923DC 4B D6 F8 3D */ bl string_l__4rstlFPCc -/* 80295480 002923E0 7F C3 F3 78 */ mr r3, r30 -/* 80295484 002923E4 4B E0 D4 75 */ bl GetStateMachine__3CAiFv -/* 80295488 002923E8 7C 66 1B 78 */ mr r6, r3 -/* 8029548C 002923EC 7F E4 FB 78 */ mr r4, r31 -/* 80295490 002923F0 7F C5 F3 78 */ mr r5, r30 -/* 80295494 002923F4 38 7E 03 30 */ addi r3, r30, 0x330 -/* 80295498 002923F8 38 E1 00 08 */ addi r7, r1, 8 -/* 8029549C 002923FC 4B DE A7 69 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802954A0 00292400 38 61 00 08 */ addi r3, r1, 8 -/* 802954A4 00292404 48 0A 86 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802954A8 00292408 38 00 00 00 */ li r0, 0 -/* 802954AC 0029240C 90 1E 05 68 */ stw r0, 0x568(r30) -lbl_802954B0: -/* 802954B0 00292410 80 7E 05 7C */ lwz r3, 0x57c(r30) -/* 802954B4 00292414 80 03 00 00 */ lwz r0, 0(r3) -/* 802954B8 00292418 28 00 00 00 */ cmplwi r0, 0 -/* 802954BC 0029241C 41 82 00 2C */ beq lbl_802954E8 -/* 802954C0 00292420 7F C3 F3 78 */ mr r3, r30 -/* 802954C4 00292424 7F E4 FB 78 */ mr r4, r31 -/* 802954C8 00292428 4B FF FA 35 */ bl sub_80294efc -/* 802954CC 0029242C 80 7E 05 7C */ lwz r3, 0x57c(r30) -/* 802954D0 00292430 FC 20 F8 90 */ fmr f1, f31 -/* 802954D4 00292434 80 63 00 00 */ lwz r3, 0(r3) -/* 802954D8 00292438 81 83 00 00 */ lwz r12, 0(r3) -/* 802954DC 0029243C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802954E0 00292440 7D 89 03 A6 */ mtctr r12 -/* 802954E4 00292444 4E 80 04 21 */ bctrl -lbl_802954E8: -/* 802954E8 00292448 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802954EC 0029244C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802954F0 00292450 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802954F4 00292454 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802954F8 00292458 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802954FC 0029245C 7C 08 03 A6 */ mtlr r0 -/* 80295500 00292460 38 21 00 30 */ addi r1, r1, 0x30 -/* 80295504 00292464 4E 80 00 20 */ blr - -.global DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__20CPhazonHealingNoduleFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80295508 00292468 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029550C 0029246C 7C 08 02 A6 */ mflr r0 -/* 80295510 00292470 2C 06 00 12 */ cmpwi r6, 0x12 -/* 80295514 00292474 90 01 00 34 */ stw r0, 0x34(r1) -/* 80295518 00292478 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8029551C 0029247C 7C 7F 1B 78 */ mr r31, r3 -/* 80295520 00292480 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80295524 00292484 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80295528 00292488 41 82 00 F8 */ beq lbl_80295620 -/* 8029552C 0029248C 40 80 01 20 */ bge lbl_8029564C -/* 80295530 00292490 2C 06 00 11 */ cmpwi r6, 0x11 -/* 80295534 00292494 40 80 00 08 */ bge lbl_8029553C -/* 80295538 00292498 48 00 01 14 */ b lbl_8029564C -lbl_8029553C: -/* 8029553C 0029249C 38 00 00 01 */ li r0, 1 -/* 80295540 002924A0 3C 60 80 3D */ lis r3, lbl_803D5BB0@ha -/* 80295544 002924A4 38 63 5B B0 */ addi r3, r3, lbl_803D5BB0@l -/* 80295548 002924A8 98 1F 05 6C */ stb r0, 0x56c(r31) -/* 8029554C 002924AC 38 83 00 18 */ addi r4, r3, 0x18 -/* 80295550 002924B0 3B A0 00 00 */ li r29, 0 -/* 80295554 002924B4 38 60 04 58 */ li r3, 0x458 -/* 80295558 002924B8 38 A0 00 00 */ li r5, 0 -/* 8029555C 002924BC 48 08 03 11 */ bl __nw__FUlPCcPCc -/* 80295560 002924C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80295564 002924C4 41 82 00 24 */ beq lbl_80295588 -/* 80295568 002924C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8029556C 002924CC 38 9F 05 70 */ addi r4, r31, 0x570 -/* 80295570 002924D0 48 0A B9 39 */ bl __ct__6CTokenFRC6CToken -/* 80295574 002924D4 7F C3 F3 78 */ mr r3, r30 -/* 80295578 002924D8 38 81 00 0C */ addi r4, r1, 0xc -/* 8029557C 002924DC 3B A0 00 01 */ li r29, 1 -/* 80295580 002924E0 48 0C CB F1 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 80295584 002924E4 7C 7E 1B 78 */ mr r30, r3 -lbl_80295588: -/* 80295588 002924E8 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha -/* 8029558C 002924EC 38 60 00 08 */ li r3, 8 -/* 80295590 002924F0 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l -/* 80295594 002924F4 38 A0 00 00 */ li r5, 0 -/* 80295598 002924F8 38 84 00 18 */ addi r4, r4, 0x18 -/* 8029559C 002924FC 48 08 02 D1 */ bl __nw__FUlPCcPCc -/* 802955A0 00292500 28 03 00 00 */ cmplwi r3, 0 -/* 802955A4 00292504 41 82 00 10 */ beq lbl_802955B4 -/* 802955A8 00292508 93 C3 00 00 */ stw r30, 0(r3) -/* 802955AC 0029250C 38 00 00 01 */ li r0, 1 -/* 802955B0 00292510 90 03 00 04 */ stw r0, 4(r3) -lbl_802955B4: -/* 802955B4 00292514 90 61 00 08 */ stw r3, 8(r1) -/* 802955B8 00292518 80 1F 05 7C */ lwz r0, 0x57c(r31) -/* 802955BC 0029251C 7C 00 18 40 */ cmplw r0, r3 -/* 802955C0 00292520 41 82 00 24 */ beq lbl_802955E4 -/* 802955C4 00292524 38 7F 05 7C */ addi r3, r31, 0x57c -/* 802955C8 00292528 48 00 05 09 */ bl sub_80295ad0 -/* 802955CC 0029252C 80 01 00 08 */ lwz r0, 8(r1) -/* 802955D0 00292530 90 1F 05 7C */ stw r0, 0x57c(r31) -/* 802955D4 00292534 80 9F 05 7C */ lwz r4, 0x57c(r31) -/* 802955D8 00292538 80 64 00 04 */ lwz r3, 4(r4) -/* 802955DC 0029253C 38 03 00 01 */ addi r0, r3, 1 -/* 802955E0 00292540 90 04 00 04 */ stw r0, 4(r4) -lbl_802955E4: -/* 802955E4 00292544 38 61 00 08 */ addi r3, r1, 8 -/* 802955E8 00292548 48 00 04 E9 */ bl sub_80295ad0 -/* 802955EC 0029254C 7F A0 07 75 */ extsb. r0, r29 -/* 802955F0 00292550 41 82 00 10 */ beq lbl_80295600 -/* 802955F4 00292554 38 61 00 0C */ addi r3, r1, 0xc -/* 802955F8 00292558 38 80 00 00 */ li r4, 0 -/* 802955FC 0029255C 48 0A B8 45 */ bl __dt__6CTokenFv -lbl_80295600: -/* 80295600 00292560 80 7F 05 7C */ lwz r3, 0x57c(r31) -/* 80295604 00292564 38 80 00 01 */ li r4, 1 -/* 80295608 00292568 80 63 00 00 */ lwz r3, 0(r3) -/* 8029560C 0029256C 81 83 00 00 */ lwz r12, 0(r3) -/* 80295610 00292570 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80295614 00292574 7D 89 03 A6 */ mtctr r12 -/* 80295618 00292578 4E 80 04 21 */ bctrl -/* 8029561C 0029257C 48 00 00 38 */ b lbl_80295654 -lbl_80295620: -/* 80295620 00292580 38 00 00 00 */ li r0, 0 -/* 80295624 00292584 38 7F 05 7C */ addi r3, r31, 0x57c -/* 80295628 00292588 98 1F 05 6C */ stb r0, 0x56c(r31) -/* 8029562C 0029258C 48 00 04 A5 */ bl sub_80295ad0 -/* 80295630 00292590 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 80295634 00292594 90 1F 05 7C */ stw r0, 0x57c(r31) -/* 80295638 00292598 80 9F 05 7C */ lwz r4, 0x57c(r31) -/* 8029563C 0029259C 80 64 00 04 */ lwz r3, 4(r4) -/* 80295640 002925A0 38 03 00 01 */ addi r0, r3, 1 -/* 80295644 002925A4 90 04 00 04 */ stw r0, 4(r4) -/* 80295648 002925A8 48 00 00 0C */ b lbl_80295654 -lbl_8029564C: -/* 8029564C 002925AC 7F E3 FB 78 */ mr r3, r31 -/* 80295650 002925B0 4B DE 38 61 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80295654: -/* 80295654 002925B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80295658 002925B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8029565C 002925BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80295660 002925C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80295664 002925C4 7C 08 03 A6 */ mtlr r0 -/* 80295668 002925C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029566C 002925CC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__20CPhazonHealingNoduleF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80295670 002925D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80295674 002925D4 7C 08 02 A6 */ mflr r0 -/* 80295678 002925D8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029567C 002925DC 38 04 FF FB */ addi r0, r4, -5 -/* 80295680 002925E0 28 00 00 1E */ cmplwi r0, 0x1e -/* 80295684 002925E4 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80295688 002925E8 7C 7E 1B 78 */ mr r30, r3 -/* 8029568C 002925EC 7C DF 33 78 */ mr r31, r6 -/* 80295690 002925F0 41 81 02 50 */ bgt lbl_802958E0 -/* 80295694 002925F4 3C E0 80 3F */ lis r7, lbl_803EBF3C@ha -/* 80295698 002925F8 54 00 10 3A */ slwi r0, r0, 2 -/* 8029569C 002925FC 38 E7 BF 3C */ addi r7, r7, lbl_803EBF3C@l -/* 802956A0 00292600 7C 07 00 2E */ lwzx r0, r7, r0 -/* 802956A4 00292604 7C 09 03 A6 */ mtctr r0 -/* 802956A8 00292608 4E 80 04 20 */ bctr -/* 802956AC 0029260C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802956B0 00292610 88 03 03 00 */ lbz r0, 0x300(r3) -/* 802956B4 00292614 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802956B8 00292618 40 82 00 0C */ bne lbl_802956C4 -/* 802956BC 0029261C 7F E4 FB 78 */ mr r4, r31 -/* 802956C0 00292620 4B EA 56 31 */ bl Activate__15CBodyControllerFR13CStateManager -lbl_802956C4: -/* 802956C4 00292624 7F C3 F3 78 */ mr r3, r30 -/* 802956C8 00292628 81 9E 00 00 */ lwz r12, 0(r30) -/* 802956CC 0029262C 81 8C 00 8C */ lwz r12, 0x8c(r12) -/* 802956D0 00292630 7D 89 03 A6 */ mtctr r12 -/* 802956D4 00292634 4E 80 04 21 */ bctrl -/* 802956D8 00292638 3C A0 80 57 */ lis r5, lbl_80570004@ha -/* 802956DC 0029263C 84 C5 D7 18 */ lwzu r6, -0x28e8(r5) -/* 802956E0 00292640 38 80 00 00 */ li r4, 0 -/* 802956E4 00292644 80 05 00 04 */ lwz r0, lbl_80570004@l(r5) -/* 802956E8 00292648 90 C3 00 00 */ stw r6, 0(r3) -/* 802956EC 0029264C 90 03 00 04 */ stw r0, 4(r3) -/* 802956F0 00292650 80 C5 00 08 */ lwz r6, 8(r5) -/* 802956F4 00292654 80 05 00 0C */ lwz r0, 0xc(r5) -/* 802956F8 00292658 90 C3 00 08 */ stw r6, 8(r3) -/* 802956FC 0029265C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80295700 00292660 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 80295704 00292664 80 05 00 14 */ lwz r0, 0x14(r5) -/* 80295708 00292668 90 C3 00 10 */ stw r6, 0x10(r3) -/* 8029570C 0029266C 90 03 00 14 */ stw r0, 0x14(r3) -/* 80295710 00292670 80 C5 00 18 */ lwz r6, 0x18(r5) -/* 80295714 00292674 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80295718 00292678 90 C3 00 18 */ stw r6, 0x18(r3) -/* 8029571C 0029267C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80295720 00292680 80 C5 00 20 */ lwz r6, 0x20(r5) -/* 80295724 00292684 80 05 00 24 */ lwz r0, 0x24(r5) -/* 80295728 00292688 90 C3 00 20 */ stw r6, 0x20(r3) -/* 8029572C 0029268C 90 03 00 24 */ stw r0, 0x24(r3) -/* 80295730 00292690 80 C5 00 28 */ lwz r6, 0x28(r5) -/* 80295734 00292694 80 05 00 2C */ lwz r0, 0x2c(r5) -/* 80295738 00292698 90 C3 00 28 */ stw r6, 0x28(r3) -/* 8029573C 0029269C 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80295740 002926A0 80 C5 00 30 */ lwz r6, 0x30(r5) -/* 80295744 002926A4 80 05 00 34 */ lwz r0, 0x34(r5) -/* 80295748 002926A8 90 C3 00 30 */ stw r6, 0x30(r3) -/* 8029574C 002926AC 90 03 00 34 */ stw r0, 0x34(r3) -/* 80295750 002926B0 80 05 00 38 */ lwz r0, 0x38(r5) -/* 80295754 002926B4 90 03 00 38 */ stw r0, 0x38(r3) -/* 80295758 002926B8 80 C5 00 3C */ lwz r6, 0x3c(r5) -/* 8029575C 002926BC 80 05 00 40 */ lwz r0, 0x40(r5) -/* 80295760 002926C0 90 C3 00 3C */ stw r6, 0x3c(r3) -/* 80295764 002926C4 90 03 00 40 */ stw r0, 0x40(r3) -/* 80295768 002926C8 80 C5 00 44 */ lwz r6, 0x44(r5) -/* 8029576C 002926CC 80 05 00 48 */ lwz r0, 0x48(r5) -/* 80295770 002926D0 90 C3 00 44 */ stw r6, 0x44(r3) -/* 80295774 002926D4 90 03 00 48 */ stw r0, 0x48(r3) -/* 80295778 002926D8 80 C5 00 4C */ lwz r6, 0x4c(r5) -/* 8029577C 002926DC 80 05 00 50 */ lwz r0, 0x50(r5) -/* 80295780 002926E0 90 C3 00 4C */ stw r6, 0x4c(r3) -/* 80295784 002926E4 90 03 00 50 */ stw r0, 0x50(r3) -/* 80295788 002926E8 80 C5 00 54 */ lwz r6, 0x54(r5) -/* 8029578C 002926EC 80 05 00 58 */ lwz r0, 0x58(r5) -/* 80295790 002926F0 90 C3 00 54 */ stw r6, 0x54(r3) -/* 80295794 002926F4 90 03 00 58 */ stw r0, 0x58(r3) -/* 80295798 002926F8 80 05 00 5C */ lwz r0, 0x5c(r5) -/* 8029579C 002926FC 90 03 00 5C */ stw r0, 0x5c(r3) -/* 802957A0 00292700 80 05 00 60 */ lwz r0, 0x60(r5) -/* 802957A4 00292704 90 03 00 60 */ stw r0, 0x60(r3) -/* 802957A8 00292708 80 05 00 64 */ lwz r0, 0x64(r5) -/* 802957AC 0029270C 90 03 00 64 */ stw r0, 0x64(r3) -/* 802957B0 00292710 38 7E 04 60 */ addi r3, r30, 0x460 -/* 802957B4 00292714 4B F9 E5 B1 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 802957B8 00292718 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 802957BC 0029271C 38 80 00 01 */ li r4, 1 -/* 802957C0 00292720 4B EA 52 19 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 802957C4 00292724 7F C3 F3 78 */ mr r3, r30 -/* 802957C8 00292728 7F E5 FB 78 */ mr r5, r31 -/* 802957CC 0029272C 38 80 00 28 */ li r4, 0x28 -/* 802957D0 00292730 4B DB E7 B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802957D4 00292734 7F C3 F3 78 */ mr r3, r30 -/* 802957D8 00292738 7F E5 FB 78 */ mr r5, r31 -/* 802957DC 0029273C 38 80 00 29 */ li r4, 0x29 -/* 802957E0 00292740 4B DB E7 A1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802957E4 00292744 7F C3 F3 78 */ mr r3, r30 -/* 802957E8 00292748 7F E5 FB 78 */ mr r5, r31 -/* 802957EC 0029274C 38 80 00 2B */ li r4, 0x2b -/* 802957F0 00292750 4B DB EB 61 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 802957F4 00292754 48 00 01 04 */ b lbl_802958F8 -/* 802957F8 00292758 A0 05 00 00 */ lhz r0, 0(r5) -/* 802957FC 0029275C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80295800 00292760 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80295804 00292764 4B DE 73 75 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80295808 00292768 83 7E 00 24 */ lwz r27, 0x24(r30) -/* 8029580C 0029276C 3B 40 00 00 */ li r26, 0 -/* 80295810 00292770 3B A0 00 00 */ li r29, 0 -/* 80295814 00292774 48 00 00 58 */ b lbl_8029586C -lbl_80295818: -/* 80295818 00292778 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 8029581C 0029277C 7F E4 FB 78 */ mr r4, r31 -/* 80295820 00292780 38 61 00 0C */ addi r3, r1, 0xc -/* 80295824 00292784 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80295828 00292788 7F 80 EA 14 */ add r28, r0, r29 -/* 8029582C 0029278C 80 1C 00 08 */ lwz r0, 8(r28) -/* 80295830 00292790 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295834 00292794 4B DB 26 E9 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80295838 00292798 80 1C 00 00 */ lwz r0, 0(r28) -/* 8029583C 0029279C A0 61 00 0C */ lhz r3, 0xc(r1) -/* 80295840 002927A0 2C 00 00 0D */ cmpwi r0, 0xd -/* 80295844 002927A4 40 82 00 20 */ bne lbl_80295864 -/* 80295848 002927A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029584C 002927AC 7C 03 00 40 */ cmplw r3, r0 -/* 80295850 002927B0 41 82 00 14 */ beq lbl_80295864 -/* 80295854 002927B4 80 1C 00 04 */ lwz r0, 4(r28) -/* 80295858 002927B8 2C 00 00 01 */ cmpwi r0, 1 -/* 8029585C 002927BC 40 82 00 08 */ bne lbl_80295864 -/* 80295860 002927C0 B0 7E 05 6E */ sth r3, 0x56e(r30) -lbl_80295864: -/* 80295864 002927C4 3B 5A 00 01 */ addi r26, r26, 1 -/* 80295868 002927C8 3B BD 00 0C */ addi r29, r29, 0xc -lbl_8029586C: -/* 8029586C 002927CC 7C 1A D8 40 */ cmplw r26, r27 -/* 80295870 002927D0 41 80 FF A8 */ blt lbl_80295818 -/* 80295874 002927D4 48 00 00 84 */ b lbl_802958F8 -/* 80295878 002927D8 38 00 00 01 */ li r0, 1 -/* 8029587C 002927DC 90 1E 05 68 */ stw r0, 0x568(r30) -/* 80295880 002927E0 48 00 00 78 */ b lbl_802958F8 -/* 80295884 002927E4 38 00 00 00 */ li r0, 0 -/* 80295888 002927E8 38 7E 05 7C */ addi r3, r30, 0x57c -/* 8029588C 002927EC 90 1E 05 68 */ stw r0, 0x568(r30) -/* 80295890 002927F0 48 00 02 41 */ bl sub_80295ad0 -/* 80295894 002927F4 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 -/* 80295898 002927F8 38 00 00 00 */ li r0, 0 -/* 8029589C 002927FC 90 7E 05 7C */ stw r3, 0x57c(r30) -/* 802958A0 00292800 80 9E 05 7C */ lwz r4, 0x57c(r30) -/* 802958A4 00292804 80 64 00 04 */ lwz r3, 4(r4) -/* 802958A8 00292808 38 63 00 01 */ addi r3, r3, 1 -/* 802958AC 0029280C 90 64 00 04 */ stw r3, 4(r4) -/* 802958B0 00292810 98 1E 05 6C */ stb r0, 0x56c(r30) -/* 802958B4 00292814 48 00 00 44 */ b lbl_802958F8 -/* 802958B8 00292818 81 83 00 00 */ lwz r12, 0(r3) -/* 802958BC 0029281C 7F E4 FB 78 */ mr r4, r31 -/* 802958C0 00292820 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802958C4 00292824 7D 89 03 A6 */ mtctr r12 -/* 802958C8 00292828 4E 80 04 21 */ bctrl -/* 802958CC 0029282C C0 1E 05 80 */ lfs f0, 0x580(r30) -/* 802958D0 00292830 D0 03 00 00 */ stfs f0, 0(r3) -/* 802958D4 00292834 C0 1E 05 84 */ lfs f0, 0x584(r30) -/* 802958D8 00292838 D0 03 00 04 */ stfs f0, 4(r3) -/* 802958DC 0029283C 48 00 00 1C */ b lbl_802958F8 -lbl_802958E0: -/* 802958E0 00292840 A0 05 00 00 */ lhz r0, 0(r5) -/* 802958E4 00292844 7F C3 F3 78 */ mr r3, r30 -/* 802958E8 00292848 7F E6 FB 78 */ mr r6, r31 -/* 802958EC 0029284C 38 A1 00 08 */ addi r5, r1, 8 -/* 802958F0 00292850 B0 01 00 08 */ sth r0, 8(r1) -/* 802958F4 00292854 4B DE 72 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_802958F8: -/* 802958F8 00292858 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802958FC 0029285C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80295900 00292860 7C 08 03 A6 */ mtlr r0 -/* 80295904 00292864 38 21 00 30 */ addi r1, r1, 0x30 -/* 80295908 00292868 4E 80 00 20 */ blr - -.global "__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" -"__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo": -/* 8029590C 0029286C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80295910 00292870 7C 08 02 A6 */ mflr r0 -/* 80295914 00292874 7C EC 3B 78 */ mr r12, r7 -/* 80295918 00292878 39 60 00 01 */ li r11, 1 -/* 8029591C 0029287C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80295920 00292880 38 E0 00 00 */ li r7, 0 -/* 80295924 00292884 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80295928 00292888 7D 5F 53 78 */ mr r31, r10 -/* 8029592C 0029288C 7D 0A 43 78 */ mr r10, r8 -/* 80295930 00292890 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80295934 00292894 7C 7E 1B 78 */ mr r30, r3 -/* 80295938 00292898 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8029593C 0029289C 83 A1 00 6C */ lwz r29, 0x6c(r1) -/* 80295940 002928A0 93 81 00 50 */ stw r28, 0x50(r1) -/* 80295944 002928A4 83 81 00 68 */ lwz r28, 0x68(r1) -/* 80295948 002928A8 A0 04 00 00 */ lhz r0, 0(r4) -/* 8029594C 002928AC 7C C4 33 78 */ mr r4, r6 -/* 80295950 002928B0 7C A6 2B 78 */ mr r6, r5 -/* 80295954 002928B4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80295958 002928B8 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8029595C 002928BC 7C 88 23 78 */ mr r8, r4 -/* 80295960 002928C0 38 00 00 02 */ li r0, 2 -/* 80295964 002928C4 38 80 00 23 */ li r4, 0x23 -/* 80295968 002928C8 93 E1 00 08 */ stw r31, 8(r1) -/* 8029596C 002928CC 91 61 00 0C */ stw r11, 0xc(r1) -/* 80295970 002928D0 91 61 00 10 */ stw r11, 0x10(r1) -/* 80295974 002928D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295978 002928D8 91 21 00 18 */ stw r9, 0x18(r1) -/* 8029597C 002928DC 7D 89 63 78 */ mr r9, r12 -/* 80295980 002928E0 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80295984 002928E4 4B DE 7A CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80295988 002928E8 3C 80 80 3F */ lis r4, lbl_803EBC70@ha -/* 8029598C 002928EC 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 80295990 002928F0 38 04 BC 70 */ addi r0, r4, lbl_803EBC70@l -/* 80295994 002928F4 38 80 00 00 */ li r4, 0 -/* 80295998 002928F8 90 1E 00 00 */ stw r0, 0(r30) -/* 8029599C 002928FC 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 802959A0 00292900 38 61 00 24 */ addi r3, r1, 0x24 -/* 802959A4 00292904 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802959A8 00292908 90 9E 05 68 */ stw r4, 0x568(r30) -/* 802959AC 0029290C 98 9E 05 6C */ stb r4, 0x56c(r30) -/* 802959B0 00292910 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 802959B4 00292914 B0 9E 05 6E */ sth r4, 0x56e(r30) -/* 802959B8 00292918 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802959BC 0029291C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802959C0 00292920 93 81 00 30 */ stw r28, 0x30(r1) -/* 802959C4 00292924 81 84 00 00 */ lwz r12, 0(r4) -/* 802959C8 00292928 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802959CC 0029292C 7D 89 03 A6 */ mtctr r12 -/* 802959D0 00292930 4E 80 04 21 */ bctrl -/* 802959D4 00292934 3B 9E 05 70 */ addi r28, r30, 0x570 -/* 802959D8 00292938 38 81 00 24 */ addi r4, r1, 0x24 -/* 802959DC 0029293C 7F 83 E3 78 */ mr r3, r28 -/* 802959E0 00292940 48 0A B4 C9 */ bl __ct__6CTokenFRC6CToken -/* 802959E4 00292944 7F 83 E3 78 */ mr r3, r28 -/* 802959E8 00292948 48 0A B4 25 */ bl GetObj__6CTokenFv -/* 802959EC 0029294C 80 03 00 04 */ lwz r0, 4(r3) -/* 802959F0 00292950 38 61 00 24 */ addi r3, r1, 0x24 -/* 802959F4 00292954 38 80 FF FF */ li r4, -1 -/* 802959F8 00292958 90 1C 00 08 */ stw r0, 8(r28) -/* 802959FC 0029295C 48 0A B4 45 */ bl __dt__6CTokenFv -/* 80295A00 00292960 3C 80 80 3D */ lis r4, lbl_803D5BB0@ha -/* 80295A04 00292964 38 60 00 08 */ li r3, 8 -/* 80295A08 00292968 38 84 5B B0 */ addi r4, r4, lbl_803D5BB0@l -/* 80295A0C 0029296C 38 A0 00 00 */ li r5, 0 -/* 80295A10 00292970 38 84 00 18 */ addi r4, r4, 0x18 -/* 80295A14 00292974 48 07 FE 59 */ bl __nw__FUlPCcPCc -/* 80295A18 00292978 28 03 00 00 */ cmplwi r3, 0 -/* 80295A1C 0029297C 41 82 00 14 */ beq lbl_80295A30 -/* 80295A20 00292980 38 80 00 00 */ li r4, 0 -/* 80295A24 00292984 38 00 00 01 */ li r0, 1 -/* 80295A28 00292988 90 83 00 00 */ stw r4, 0(r3) -/* 80295A2C 0029298C 90 03 00 04 */ stw r0, 4(r3) -lbl_80295A30: -/* 80295A30 00292990 90 7E 05 7C */ stw r3, 0x57c(r30) -/* 80295A34 00292994 7F A4 EB 78 */ mr r4, r29 -/* 80295A38 00292998 38 7E 05 8C */ addi r3, r30, 0x58c -/* 80295A3C 0029299C C0 1F 00 54 */ lfs f0, 0x54(r31) -/* 80295A40 002929A0 D0 1E 05 80 */ stfs f0, 0x580(r30) -/* 80295A44 002929A4 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 80295A48 002929A8 D0 1E 05 84 */ stfs f0, 0x584(r30) -/* 80295A4C 002929AC 48 0A 87 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80295A50 002929B0 7F C3 F3 78 */ mr r3, r30 -/* 80295A54 002929B4 4B DB DE 69 */ bl GetMaterialFilter__6CActorCFv -/* 80295A58 002929B8 80 AD 99 C8 */ lwz r5, lbl_805A8588@sda21(r13) -/* 80295A5C 002929BC 38 80 00 01 */ li r4, 1 -/* 80295A60 002929C0 83 E3 00 08 */ lwz r31, 8(r3) -/* 80295A64 002929C4 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 80295A68 002929C8 38 60 00 00 */ li r3, 0 -/* 80295A6C 002929CC 48 0F 44 89 */ bl __shl2i -/* 80295A70 002929D0 7F FF 1B 78 */ or r31, r31, r3 -/* 80295A74 002929D4 7F C3 F3 78 */ mr r3, r30 -/* 80295A78 002929D8 7F BD 23 78 */ or r29, r29, r4 -/* 80295A7C 002929DC 4B DB DE 41 */ bl GetMaterialFilter__6CActorCFv -/* 80295A80 002929E0 80 A3 00 00 */ lwz r5, 0(r3) -/* 80295A84 002929E4 38 00 00 03 */ li r0, 3 -/* 80295A88 002929E8 80 C3 00 04 */ lwz r6, 4(r3) -/* 80295A8C 002929EC 7F C3 F3 78 */ mr r3, r30 -/* 80295A90 002929F0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80295A94 002929F4 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80295A98 002929F8 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80295A9C 002929FC 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80295AA0 00292A00 93 E1 00 40 */ stw r31, 0x40(r1) -/* 80295AA4 00292A04 90 01 00 48 */ stw r0, 0x48(r1) -/* 80295AA8 00292A08 4B DB DD F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80295AAC 00292A0C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80295AB0 00292A10 7F C3 F3 78 */ mr r3, r30 -/* 80295AB4 00292A14 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80295AB8 00292A18 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80295ABC 00292A1C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80295AC0 00292A20 83 81 00 50 */ lwz r28, 0x50(r1) -/* 80295AC4 00292A24 7C 08 03 A6 */ mtlr r0 -/* 80295AC8 00292A28 38 21 00 60 */ addi r1, r1, 0x60 -/* 80295ACC 00292A2C 4E 80 00 20 */ blr - -.global sub_80295ad0 -sub_80295ad0: -/* 80295AD0 00292A30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295AD4 00292A34 7C 08 02 A6 */ mflr r0 -/* 80295AD8 00292A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295ADC 00292A3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295AE0 00292A40 7C 7F 1B 78 */ mr r31, r3 -/* 80295AE4 00292A44 80 83 00 00 */ lwz r4, 0(r3) -/* 80295AE8 00292A48 80 64 00 04 */ lwz r3, 4(r4) -/* 80295AEC 00292A4C 34 03 FF FF */ addic. r0, r3, -1 -/* 80295AF0 00292A50 90 04 00 04 */ stw r0, 4(r4) -/* 80295AF4 00292A54 41 81 00 38 */ bgt lbl_80295B2C -/* 80295AF8 00292A58 80 7F 00 00 */ lwz r3, 0(r31) -/* 80295AFC 00292A5C 80 63 00 00 */ lwz r3, 0(r3) -/* 80295B00 00292A60 28 03 00 00 */ cmplwi r3, 0 -/* 80295B04 00292A64 41 82 00 18 */ beq lbl_80295B1C -/* 80295B08 00292A68 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B0C 00292A6C 38 80 00 01 */ li r4, 1 -/* 80295B10 00292A70 81 8C 00 08 */ lwz r12, 8(r12) -/* 80295B14 00292A74 7D 89 03 A6 */ mtctr r12 -/* 80295B18 00292A78 4E 80 04 21 */ bctrl -lbl_80295B1C: -/* 80295B1C 00292A7C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80295B20 00292A80 28 03 00 00 */ cmplwi r3, 0 -/* 80295B24 00292A84 41 82 00 08 */ beq lbl_80295B2C -/* 80295B28 00292A88 48 07 FE 09 */ bl Free__7CMemoryFPCv -lbl_80295B2C: -/* 80295B2C 00292A8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295B30 00292A90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295B34 00292A94 7C 08 03 A6 */ mtlr r0 -/* 80295B38 00292A98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295B3C 00292A9C 4E 80 00 20 */ blr - -.global AreasValid__16CMorphBallShadowCFRC13CStateManager -AreasValid__16CMorphBallShadowCFRC13CStateManager: -/* 80295B40 00292AA0 80 84 08 50 */ lwz r4, 0x850(r4) -/* 80295B44 00292AA4 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 80295B48 00292AA8 80 C4 00 58 */ lwz r6, 0x58(r4) -/* 80295B4C 00292AAC 80 ED A2 18 */ lwz r7, lbl_805A8DD8@sda21(r13) -/* 80295B50 00292AB0 48 00 00 5C */ b lbl_80295BAC -lbl_80295B54: -/* 80295B54 00292AB4 88 06 00 F0 */ lbz r0, 0xf0(r6) -/* 80295B58 00292AB8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80295B5C 00292ABC 41 82 00 10 */ beq lbl_80295B6C -/* 80295B60 00292AC0 80 86 01 2C */ lwz r4, 0x12c(r6) -/* 80295B64 00292AC4 80 04 10 DC */ lwz r0, 0x10dc(r4) -/* 80295B68 00292AC8 48 00 00 08 */ b lbl_80295B70 -lbl_80295B6C: -/* 80295B6C 00292ACC 38 00 00 00 */ li r0, 0 -lbl_80295B70: -/* 80295B70 00292AD0 2C 00 00 01 */ cmpwi r0, 1 -/* 80295B74 00292AD4 40 82 00 34 */ bne lbl_80295BA8 -/* 80295B78 00292AD8 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80295B7C 00292ADC 7C 05 00 40 */ cmplw r5, r0 -/* 80295B80 00292AE0 40 82 00 0C */ bne lbl_80295B8C -/* 80295B84 00292AE4 38 60 00 00 */ li r3, 0 -/* 80295B88 00292AE8 4E 80 00 20 */ blr -lbl_80295B8C: -/* 80295B8C 00292AEC 80 85 00 08 */ lwz r4, 8(r5) -/* 80295B90 00292AF0 80 06 00 04 */ lwz r0, 4(r6) -/* 80295B94 00292AF4 7C 04 00 00 */ cmpw r4, r0 -/* 80295B98 00292AF8 41 82 00 0C */ beq lbl_80295BA4 -/* 80295B9C 00292AFC 38 60 00 00 */ li r3, 0 -/* 80295BA0 00292B00 4E 80 00 20 */ blr -lbl_80295BA4: -/* 80295BA4 00292B04 80 A5 00 04 */ lwz r5, 4(r5) -lbl_80295BA8: -/* 80295BA8 00292B08 80 C6 01 30 */ lwz r6, 0x130(r6) -lbl_80295BAC: -/* 80295BAC 00292B0C 7C 06 38 40 */ cmplw r6, r7 -/* 80295BB0 00292B10 40 82 FF A4 */ bne lbl_80295B54 -/* 80295BB4 00292B14 38 60 00 01 */ li r3, 1 -/* 80295BB8 00292B18 4E 80 00 20 */ blr - -.global GatherAreas__16CMorphBallShadowFR13CStateManager -GatherAreas__16CMorphBallShadowFR13CStateManager: -/* 80295BBC 00292B1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80295BC0 00292B20 7C 08 02 A6 */ mflr r0 -/* 80295BC4 00292B24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80295BC8 00292B28 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80295BCC 00292B2C 7C 9B 23 78 */ mr r27, r4 -/* 80295BD0 00292B30 7C 7F 1B 78 */ mr r31, r3 -/* 80295BD4 00292B34 83 A3 00 20 */ lwz r29, 0x20(r3) -/* 80295BD8 00292B38 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 80295BDC 00292B3C 48 00 00 10 */ b lbl_80295BEC -lbl_80295BE0: -/* 80295BE0 00292B40 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80295BE4 00292B44 48 00 11 4D */ bl sub_80296d30 -/* 80295BE8 00292B48 7C 64 1B 78 */ mr r4, r3 -lbl_80295BEC: -/* 80295BEC 00292B4C 7C 04 E8 40 */ cmplw r4, r29 -/* 80295BF0 00292B50 40 82 FF F0 */ bne lbl_80295BE0 -/* 80295BF4 00292B54 80 7B 08 50 */ lwz r3, 0x850(r27) -/* 80295BF8 00292B58 83 83 00 58 */ lwz r28, 0x58(r3) -/* 80295BFC 00292B5C 48 00 00 94 */ b lbl_80295C90 -lbl_80295C00: -/* 80295C00 00292B60 88 1C 00 F0 */ lbz r0, 0xf0(r28) -/* 80295C04 00292B64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80295C08 00292B68 41 82 00 10 */ beq lbl_80295C18 -/* 80295C0C 00292B6C 80 7C 01 2C */ lwz r3, 0x12c(r28) -/* 80295C10 00292B70 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 80295C14 00292B74 48 00 00 08 */ b lbl_80295C1C -lbl_80295C18: -/* 80295C18 00292B78 38 00 00 00 */ li r0, 0 -lbl_80295C1C: -/* 80295C1C 00292B7C 2C 00 00 01 */ cmpwi r0, 1 -/* 80295C20 00292B80 40 82 00 6C */ bne lbl_80295C8C -/* 80295C24 00292B84 83 DF 00 20 */ lwz r30, 0x20(r31) -/* 80295C28 00292B88 3C 60 80 3D */ lis r3, lbl_803D5C30@ha -/* 80295C2C 00292B8C 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l -/* 80295C30 00292B90 83 7C 00 04 */ lwz r27, 4(r28) -/* 80295C34 00292B94 83 BE 00 00 */ lwz r29, 0(r30) -/* 80295C38 00292B98 38 60 00 0C */ li r3, 0xc -/* 80295C3C 00292B9C 38 A0 00 00 */ li r5, 0 -/* 80295C40 00292BA0 48 07 FB D9 */ bl __nwa__FUlPCcPCc -/* 80295C44 00292BA4 28 03 00 00 */ cmplwi r3, 0 -/* 80295C48 00292BA8 41 82 00 0C */ beq lbl_80295C54 -/* 80295C4C 00292BAC 93 A3 00 00 */ stw r29, 0(r3) -/* 80295C50 00292BB0 93 C3 00 04 */ stw r30, 4(r3) -lbl_80295C54: -/* 80295C54 00292BB4 34 83 00 08 */ addic. r4, r3, 8 -/* 80295C58 00292BB8 41 82 00 08 */ beq lbl_80295C60 -/* 80295C5C 00292BBC 93 64 00 00 */ stw r27, 0(r4) -lbl_80295C60: -/* 80295C60 00292BC0 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80295C64 00292BC4 7C 1E 00 40 */ cmplw r30, r0 -/* 80295C68 00292BC8 40 82 00 08 */ bne lbl_80295C70 -/* 80295C6C 00292BCC 90 7F 00 1C */ stw r3, 0x1c(r31) -lbl_80295C70: -/* 80295C70 00292BD0 80 83 00 00 */ lwz r4, 0(r3) -/* 80295C74 00292BD4 90 64 00 04 */ stw r3, 4(r4) -/* 80295C78 00292BD8 80 83 00 04 */ lwz r4, 4(r3) -/* 80295C7C 00292BDC 90 64 00 00 */ stw r3, 0(r4) -/* 80295C80 00292BE0 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80295C84 00292BE4 38 03 00 01 */ addi r0, r3, 1 -/* 80295C88 00292BE8 90 1F 00 2C */ stw r0, 0x2c(r31) -lbl_80295C8C: -/* 80295C8C 00292BEC 83 9C 01 30 */ lwz r28, 0x130(r28) -lbl_80295C90: -/* 80295C90 00292BF0 80 0D A2 18 */ lwz r0, lbl_805A8DD8@sda21(r13) -/* 80295C94 00292BF4 7C 1C 00 40 */ cmplw r28, r0 -/* 80295C98 00292BF8 40 82 FF 68 */ bne lbl_80295C00 -/* 80295C9C 00292BFC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80295CA0 00292C00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80295CA4 00292C04 7C 08 03 A6 */ mtlr r0 -/* 80295CA8 00292C08 38 21 00 20 */ addi r1, r1, 0x20 -/* 80295CAC 00292C0C 4E 80 00 20 */ blr - -.global Render__16CMorphBallShadowFR13CStateManagerf -Render__16CMorphBallShadowFR13CStateManagerf: -/* 80295CB0 00292C10 94 21 FD 30 */ stwu r1, -0x2d0(r1) -/* 80295CB4 00292C14 7C 08 02 A6 */ mflr r0 -/* 80295CB8 00292C18 90 01 02 D4 */ stw r0, 0x2d4(r1) -/* 80295CBC 00292C1C DB E1 02 C0 */ stfd f31, 0x2c0(r1) -/* 80295CC0 00292C20 F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 -/* 80295CC4 00292C24 BF 21 02 A4 */ stmw r25, 0x2a4(r1) -/* 80295CC8 00292C28 7C 7E 1B 78 */ mr r30, r3 -/* 80295CCC 00292C2C FF E0 08 90 */ fmr f31, f1 -/* 80295CD0 00292C30 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 80295CD4 00292C34 83 ED A0 68 */ lwz r31, gpRender@sda21(r13) -/* 80295CD8 00292C38 28 00 00 00 */ cmplwi r0, 0 -/* 80295CDC 00292C3C 41 82 05 68 */ beq lbl_80296244 -/* 80295CE0 00292C40 4B FF FE 61 */ bl AreasValid__16CMorphBallShadowCFRC13CStateManager -/* 80295CE4 00292C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80295CE8 00292C48 40 82 00 08 */ bne lbl_80295CF0 -/* 80295CEC 00292C4C 48 00 05 58 */ b lbl_80296244 -lbl_80295CF0: -/* 80295CF0 00292C50 80 BE 00 A8 */ lwz r5, 0xa8(r30) -/* 80295CF4 00292C54 38 7E 00 40 */ addi r3, r30, 0x40 -/* 80295CF8 00292C58 AB 9E 00 46 */ lha r28, 0x46(r30) -/* 80295CFC 00292C5C 38 80 00 00 */ li r4, 0 -/* 80295D00 00292C60 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80295D04 00292C64 AB 7E 00 44 */ lha r27, 0x44(r30) -/* 80295D08 00292C68 7C 05 00 D0 */ neg r0, r5 -/* 80295D0C 00292C6C 7C 00 2B 78 */ or r0, r0, r5 -/* 80295D10 00292C70 54 1D 0F FE */ srwi r29, r0, 0x1f -/* 80295D14 00292C74 48 07 88 E1 */ bl GetConstBitMapData__8CTextureCFi -/* 80295D18 00292C78 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 80295D1C 00292C7C 7C 66 1B 78 */ mr r6, r3 -/* 80295D20 00292C80 7F 63 DB 78 */ mr r3, r27 -/* 80295D24 00292C84 7F 84 E3 78 */ mr r4, r28 -/* 80295D28 00292C88 38 A0 00 01 */ li r5, 1 -/* 80295D2C 00292C8C 48 07 42 F5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 80295D30 00292C90 38 7F 02 20 */ addi r3, r31, 0x220 -/* 80295D34 00292C94 38 80 00 01 */ li r4, 1 -/* 80295D38 00292C98 38 A0 00 00 */ li r5, 0 -/* 80295D3C 00292C9C 48 07 9A 01 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80295D40 00292CA0 28 1D 00 00 */ cmplwi r29, 0 -/* 80295D44 00292CA4 41 82 00 34 */ beq lbl_80295D78 -/* 80295D48 00292CA8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80295D4C 00292CAC 38 9E 00 A8 */ addi r4, r30, 0xa8 -/* 80295D50 00292CB0 48 0A B1 59 */ bl __ct__6CTokenFRC6CToken -/* 80295D54 00292CB4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80295D58 00292CB8 48 0A B0 B5 */ bl GetObj__6CTokenFv -/* 80295D5C 00292CBC 80 63 00 04 */ lwz r3, 4(r3) -/* 80295D60 00292CC0 38 80 00 02 */ li r4, 2 -/* 80295D64 00292CC4 38 A0 00 00 */ li r5, 0 -/* 80295D68 00292CC8 48 07 99 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80295D6C 00292CCC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80295D70 00292CD0 38 80 00 00 */ li r4, 0 -/* 80295D74 00292CD4 48 0A B0 CD */ bl __dt__6CTokenFv -lbl_80295D78: -/* 80295D78 00292CD8 48 07 6C 05 */ bl DisableAllLights__9CGraphicsFv -/* 80295D7C 00292CDC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80295D80 00292CE0 38 9E 00 B8 */ addi r4, r30, 0xb8 -/* 80295D84 00292CE4 48 0A 18 89 */ bl GetCenterPoint__6CAABoxCFv -/* 80295D88 00292CE8 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) -/* 80295D8C 00292CEC FC 80 F8 90 */ fmr f4, f31 -/* 80295D90 00292CF0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80295D94 00292CF4 FC 40 08 90 */ fmr f2, f1 -/* 80295D98 00292CF8 FC 60 08 90 */ fmr f3, f1 -/* 80295D9C 00292CFC 48 0C D6 51 */ bl __ct__6CColorFffff -/* 80295DA0 00292D00 3C 80 80 5A */ lis r4, lbl_805A6700@ha -/* 80295DA4 00292D04 7C 65 1B 78 */ mr r5, r3 -/* 80295DA8 00292D08 38 84 67 00 */ addi r4, r4, lbl_805A6700@l -/* 80295DAC 00292D0C 38 61 02 00 */ addi r3, r1, 0x200 -/* 80295DB0 00292D10 48 07 06 BD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 80295DB4 00292D14 38 61 02 50 */ addi r3, r1, 0x250 -/* 80295DB8 00292D18 38 81 02 00 */ addi r4, r1, 0x200 -/* 80295DBC 00292D1C 4B DA 57 B5 */ bl __ct__6CLightFCR6CLight -/* 80295DC0 00292D20 38 81 02 50 */ addi r4, r1, 0x250 -/* 80295DC4 00292D24 38 60 00 00 */ li r3, 0 -/* 80295DC8 00292D28 48 07 6B FD */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 80295DCC 00292D2C 80 02 D7 50 */ lwz r0, lbl_805AF470@sda21(r2) -/* 80295DD0 00292D30 38 81 00 0C */ addi r4, r1, 0xc -/* 80295DD4 00292D34 38 60 00 00 */ li r3, 0 -/* 80295DD8 00292D38 90 01 00 0C */ stw r0, 0xc(r1) -/* 80295DDC 00292D3C 48 07 2F E9 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 80295DE0 00292D40 80 02 BF 98 */ lwz r0, lbl_805ADCB8@sda21(r2) -/* 80295DE4 00292D44 38 81 00 08 */ addi r4, r1, 8 -/* 80295DE8 00292D48 38 60 00 00 */ li r3, 0 -/* 80295DEC 00292D4C 90 01 00 08 */ stw r0, 8(r1) -/* 80295DF0 00292D50 48 07 2F 6D */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 80295DF4 00292D54 38 60 00 00 */ li r3, 0 -/* 80295DF8 00292D58 48 07 30 59 */ bl SetNumChans__3CGXFUc -/* 80295DFC 00292D5C 48 07 21 E9 */ bl FlushState__3CGXFv -/* 80295E00 00292D60 38 60 00 02 */ li r3, 2 -/* 80295E04 00292D64 38 80 00 01 */ li r4, 1 -/* 80295E08 00292D68 38 A0 00 00 */ li r5, 0 -/* 80295E0C 00292D6C 38 C0 00 00 */ li r6, 0 -/* 80295E10 00292D70 38 E0 00 01 */ li r7, 1 -/* 80295E14 00292D74 39 00 00 02 */ li r8, 2 -/* 80295E18 00292D78 39 20 00 01 */ li r9, 1 -/* 80295E1C 00292D7C 48 0E 3D 59 */ bl GXSetChanCtrl -/* 80295E20 00292D80 38 60 00 01 */ li r3, 1 -/* 80295E24 00292D84 48 0E 3D 0D */ bl GXSetNumChans -/* 80295E28 00292D88 38 60 00 00 */ li r3, 0 -/* 80295E2C 00292D8C 48 07 28 65 */ bl SetNumIndStages__3CGXFUc -/* 80295E30 00292D90 38 60 00 00 */ li r3, 0 -/* 80295E34 00292D94 48 07 29 11 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 80295E38 00292D98 38 60 00 00 */ li r3, 0 -/* 80295E3C 00292D9C 38 80 00 0F */ li r4, 0xf -/* 80295E40 00292DA0 38 A0 00 0F */ li r5, 0xf -/* 80295E44 00292DA4 38 C0 00 0F */ li r6, 0xf -/* 80295E48 00292DA8 38 E0 00 0F */ li r7, 0xf -/* 80295E4C 00292DAC 48 07 2D A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80295E50 00292DB0 38 60 00 00 */ li r3, 0 -/* 80295E54 00292DB4 38 80 00 04 */ li r4, 4 -/* 80295E58 00292DB8 38 A0 00 06 */ li r5, 6 -/* 80295E5C 00292DBC 38 C0 00 05 */ li r6, 5 -/* 80295E60 00292DC0 38 E0 00 07 */ li r7, 7 -/* 80295E64 00292DC4 48 07 2D 31 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80295E68 00292DC8 38 60 00 00 */ li r3, 0 -/* 80295E6C 00292DCC 38 80 00 00 */ li r4, 0 -/* 80295E70 00292DD0 38 A0 00 00 */ li r5, 0 -/* 80295E74 00292DD4 38 C0 00 00 */ li r6, 0 -/* 80295E78 00292DD8 38 E0 00 01 */ li r7, 1 -/* 80295E7C 00292DDC 39 00 00 00 */ li r8, 0 -/* 80295E80 00292DE0 48 07 2C B9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 80295E84 00292DE4 38 60 00 00 */ li r3, 0 -/* 80295E88 00292DE8 38 80 00 0F */ li r4, 0xf -/* 80295E8C 00292DEC 38 A0 00 00 */ li r5, 0 -/* 80295E90 00292DF0 38 C0 00 01 */ li r6, 1 -/* 80295E94 00292DF4 38 E0 00 01 */ li r7, 1 -/* 80295E98 00292DF8 39 00 00 00 */ li r8, 0 -/* 80295E9C 00292DFC 48 07 2B E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 80295EA0 00292E00 38 60 00 00 */ li r3, 0 -/* 80295EA4 00292E04 38 80 00 01 */ li r4, 1 -/* 80295EA8 00292E08 38 A0 00 07 */ li r5, 7 -/* 80295EAC 00292E0C 38 C0 00 04 */ li r6, 4 -/* 80295EB0 00292E10 48 07 2A 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80295EB4 00292E14 38 60 00 00 */ li r3, 0 -/* 80295EB8 00292E18 38 80 00 1C */ li r4, 0x1c -/* 80295EBC 00292E1C 48 07 2A E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 80295EC0 00292E20 38 60 00 01 */ li r3, 1 -/* 80295EC4 00292E24 38 80 00 0F */ li r4, 0xf -/* 80295EC8 00292E28 38 A0 00 0F */ li r5, 0xf -/* 80295ECC 00292E2C 38 C0 00 0F */ li r6, 0xf -/* 80295ED0 00292E30 38 E0 00 00 */ li r7, 0 -/* 80295ED4 00292E34 48 07 2D 19 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80295ED8 00292E38 38 60 00 01 */ li r3, 1 -/* 80295EDC 00292E3C 38 80 00 07 */ li r4, 7 -/* 80295EE0 00292E40 38 A0 00 04 */ li r5, 4 -/* 80295EE4 00292E44 38 C0 00 00 */ li r6, 0 -/* 80295EE8 00292E48 38 E0 00 07 */ li r7, 7 -/* 80295EEC 00292E4C 48 07 2C A9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80295EF0 00292E50 38 60 00 01 */ li r3, 1 -/* 80295EF4 00292E54 48 07 1D 5D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80295EF8 00292E58 38 60 00 01 */ li r3, 1 -/* 80295EFC 00292E5C 38 80 00 00 */ li r4, 0 -/* 80295F00 00292E60 38 A0 00 01 */ li r5, 1 -/* 80295F04 00292E64 38 C0 00 FF */ li r6, 0xff -/* 80295F08 00292E68 48 07 2A 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80295F0C 00292E6C 28 1D 00 00 */ cmplwi r29, 0 -/* 80295F10 00292E70 41 82 00 64 */ beq lbl_80295F74 -/* 80295F14 00292E74 38 60 00 02 */ li r3, 2 -/* 80295F18 00292E78 38 80 00 0F */ li r4, 0xf -/* 80295F1C 00292E7C 38 A0 00 0F */ li r5, 0xf -/* 80295F20 00292E80 38 C0 00 0F */ li r6, 0xf -/* 80295F24 00292E84 38 E0 00 00 */ li r7, 0 -/* 80295F28 00292E88 48 07 2C C5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80295F2C 00292E8C 38 60 00 02 */ li r3, 2 -/* 80295F30 00292E90 38 80 00 07 */ li r4, 7 -/* 80295F34 00292E94 38 A0 00 00 */ li r5, 0 -/* 80295F38 00292E98 38 C0 00 04 */ li r6, 4 -/* 80295F3C 00292E9C 38 E0 00 07 */ li r7, 7 -/* 80295F40 00292EA0 48 07 2C 55 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80295F44 00292EA4 38 60 00 02 */ li r3, 2 -/* 80295F48 00292EA8 48 07 1D 09 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80295F4C 00292EAC 38 60 00 02 */ li r3, 2 -/* 80295F50 00292EB0 38 80 00 02 */ li r4, 2 -/* 80295F54 00292EB4 38 A0 00 02 */ li r5, 2 -/* 80295F58 00292EB8 38 C0 00 FF */ li r6, 0xff -/* 80295F5C 00292EBC 48 07 29 F1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80295F60 00292EC0 38 60 00 03 */ li r3, 3 -/* 80295F64 00292EC4 48 07 2D 2D */ bl SetNumTevStages__3CGXFUc -/* 80295F68 00292EC8 38 60 00 03 */ li r3, 3 -/* 80295F6C 00292ECC 48 07 2E A9 */ bl SetNumTexGens__3CGXFUc -/* 80295F70 00292ED0 48 00 00 14 */ b lbl_80295F84 -lbl_80295F74: -/* 80295F74 00292ED4 38 60 00 02 */ li r3, 2 -/* 80295F78 00292ED8 48 07 2D 19 */ bl SetNumTevStages__3CGXFUc -/* 80295F7C 00292EDC 38 60 00 02 */ li r3, 2 -/* 80295F80 00292EE0 48 07 2E 95 */ bl SetNumTexGens__3CGXFUc -lbl_80295F84: -/* 80295F84 00292EE4 80 02 D7 54 */ lwz r0, lbl_805AF474@sda21(r2) -/* 80295F88 00292EE8 3B 40 00 01 */ li r26, 1 -/* 80295F8C 00292EEC 38 60 00 01 */ li r3, 1 -/* 80295F90 00292EF0 38 80 00 02 */ li r4, 2 -/* 80295F94 00292EF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295F98 00292EF8 38 A0 00 00 */ li r5, 0 -/* 80295F9C 00292EFC 48 07 28 E1 */ bl SetZMode__3CGXFb10_GXCompareb -/* 80295FA0 00292F00 38 60 00 01 */ li r3, 1 -/* 80295FA4 00292F04 38 80 00 04 */ li r4, 4 -/* 80295FA8 00292F08 38 A0 00 05 */ li r5, 5 -/* 80295FAC 00292F0C 38 C0 00 00 */ li r6, 0 -/* 80295FB0 00292F10 48 07 29 21 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 80295FB4 00292F14 38 60 00 04 */ li r3, 4 -/* 80295FB8 00292F18 38 80 00 00 */ li r4, 0 -/* 80295FBC 00292F1C 38 A0 00 00 */ li r5, 0 -/* 80295FC0 00292F20 38 C0 00 07 */ li r6, 7 -/* 80295FC4 00292F24 38 E0 00 00 */ li r7, 0 -/* 80295FC8 00292F28 48 07 28 4D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 80295FCC 00292F2C 3C 60 80 3D */ lis r3, lbl_803D5BD0@ha -/* 80295FD0 00292F30 38 80 00 40 */ li r4, 0x40 -/* 80295FD4 00292F34 38 63 5B D0 */ addi r3, r3, lbl_803D5BD0@l -/* 80295FD8 00292F38 38 A0 00 00 */ li r5, 0 -/* 80295FDC 00292F3C 48 0E 64 B5 */ bl GXLoadTexMtxImm -/* 80295FE0 00292F40 C0 1E 00 BC */ lfs f0, 0xbc(r30) -/* 80295FE4 00292F44 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80295FE8 00292F48 C0 7E 00 C8 */ lfs f3, 0xc8(r30) -/* 80295FEC 00292F4C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80295FF0 00292F50 C0 3E 00 C0 */ lfs f1, 0xc0(r30) -/* 80295FF4 00292F54 FC C0 00 50 */ fneg f6, f0 -/* 80295FF8 00292F58 C0 5E 00 CC */ lfs f2, 0xcc(r30) -/* 80295FFC 00292F5C EC A3 00 28 */ fsubs f5, f3, f0 -/* 80296000 00292F60 C0 7E 00 B8 */ lfs f3, 0xb8(r30) -/* 80296004 00292F64 FC E0 08 50 */ fneg f7, f1 -/* 80296008 00292F68 C0 1E 00 C4 */ lfs f0, 0xc4(r30) -/* 8029600C 00292F6C EC 82 08 28 */ fsubs f4, f2, f1 -/* 80296010 00292F70 C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) -/* 80296014 00292F74 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80296018 00292F78 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8029601C 00292F7C EC 01 28 24 */ fdivs f0, f1, f5 -/* 80296020 00292F80 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 80296024 00292F84 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80296028 00292F88 D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 8029602C 00292F8C D0 E1 00 34 */ stfs f7, 0x34(r1) -/* 80296030 00292F90 EC 41 10 24 */ fdivs f2, f1, f2 -/* 80296034 00292F94 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80296038 00292F98 EC 21 20 24 */ fdivs f1, f1, f4 -/* 8029603C 00292F9C D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80296040 00292FA0 FC 00 18 50 */ fneg f0, f3 -/* 80296044 00292FA4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80296048 00292FA8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8029604C 00292FAC 48 07 D0 F5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80296050 00292FB0 38 61 01 10 */ addi r3, r1, 0x110 -/* 80296054 00292FB4 38 81 00 44 */ addi r4, r1, 0x44 -/* 80296058 00292FB8 48 07 D1 6D */ bl Scale__12CTransform4fFRC9CVector3f -/* 8029605C 00292FBC 38 61 01 40 */ addi r3, r1, 0x140 -/* 80296060 00292FC0 38 81 01 10 */ addi r4, r1, 0x110 -/* 80296064 00292FC4 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 80296068 00292FC8 48 07 C8 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029606C 00292FCC 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80296070 00292FD0 38 81 01 40 */ addi r4, r1, 0x140 -/* 80296074 00292FD4 48 07 CB 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80296078 00292FD8 38 60 00 00 */ li r3, 0 -/* 8029607C 00292FDC 38 80 00 00 */ li r4, 0 -/* 80296080 00292FE0 38 A0 00 00 */ li r5, 0 -/* 80296084 00292FE4 38 C0 00 1E */ li r6, 0x1e -/* 80296088 00292FE8 38 E0 00 00 */ li r7, 0 -/* 8029608C 00292FEC 39 00 00 40 */ li r8, 0x40 -/* 80296090 00292FF0 48 07 26 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80296094 00292FF4 38 60 00 01 */ li r3, 1 -/* 80296098 00292FF8 38 80 00 00 */ li r4, 0 -/* 8029609C 00292FFC 38 A0 00 00 */ li r5, 0 -/* 802960A0 00293000 38 C0 00 1E */ li r6, 0x1e -/* 802960A4 00293004 38 E0 00 00 */ li r7, 0 -/* 802960A8 00293008 39 00 00 40 */ li r8, 0x40 -/* 802960AC 0029300C 48 07 26 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802960B0 00293010 28 1D 00 00 */ cmplwi r29, 0 -/* 802960B4 00293014 41 82 00 34 */ beq lbl_802960E8 -/* 802960B8 00293018 3C 60 80 3D */ lis r3, lbl_803D5C00@ha -/* 802960BC 0029301C 38 80 00 43 */ li r4, 0x43 -/* 802960C0 00293020 38 63 5C 00 */ addi r3, r3, lbl_803D5C00@l -/* 802960C4 00293024 38 A0 00 00 */ li r5, 0 -/* 802960C8 00293028 48 0E 63 C9 */ bl GXLoadTexMtxImm -/* 802960CC 0029302C 38 60 00 02 */ li r3, 2 -/* 802960D0 00293030 38 80 00 00 */ li r4, 0 -/* 802960D4 00293034 38 A0 00 00 */ li r5, 0 -/* 802960D8 00293038 38 C0 00 1E */ li r6, 0x1e -/* 802960DC 0029303C 38 E0 00 00 */ li r7, 0 -/* 802960E0 00293040 39 00 00 43 */ li r8, 0x43 -/* 802960E4 00293044 48 07 25 E9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -lbl_802960E8: -/* 802960E8 00293048 83 9E 00 04 */ lwz r28, 4(r30) -/* 802960EC 0029304C 3B A0 00 04 */ li r29, 4 -/* 802960F0 00293050 48 00 00 D8 */ b lbl_802961C8 -lbl_802960F4: -/* 802960F4 00293054 9B A1 00 17 */ stb r29, 0x17(r1) -/* 802960F8 00293058 38 81 00 14 */ addi r4, r1, 0x14 -/* 802960FC 0029305C 38 60 00 00 */ li r3, 0 -/* 80296100 00293060 83 3C 00 08 */ lwz r25, 8(r28) -/* 80296104 00293064 48 07 2B 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 80296108 00293068 83 79 00 64 */ lwz r27, 0x64(r25) -/* 8029610C 0029306C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80296110 00293070 38 81 00 20 */ addi r4, r1, 0x20 -/* 80296114 00293074 C0 1B 00 00 */ lfs f0, 0(r27) -/* 80296118 00293078 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8029611C 0029307C C0 1B 00 04 */ lfs f0, 4(r27) -/* 80296120 00293080 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80296124 00293084 C0 1B 00 08 */ lfs f0, 8(r27) -/* 80296128 00293088 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8029612C 0029308C 48 07 D0 99 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80296130 00293090 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80296134 00293094 38 99 00 34 */ addi r4, r25, 0x34 -/* 80296138 00293098 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8029613C 0029309C 48 07 C8 15 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80296140 002930A0 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80296144 002930A4 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80296148 002930A8 48 07 CA 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029614C 002930AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296150 002930B0 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 80296154 002930B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80296158 002930B8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8029615C 002930BC 7D 89 03 A6 */ mtctr r12 -/* 80296160 002930C0 4E 80 04 21 */ bctrl -/* 80296164 002930C4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80296168 002930C8 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8029616C 002930CC 38 A1 01 A0 */ addi r5, r1, 0x1a0 -/* 80296170 002930D0 48 07 C7 E1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80296174 002930D4 38 61 01 70 */ addi r3, r1, 0x170 -/* 80296178 002930D8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8029617C 002930DC 48 07 C9 F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80296180 002930E0 38 61 01 70 */ addi r3, r1, 0x170 -/* 80296184 002930E4 38 80 00 1E */ li r4, 0x1e -/* 80296188 002930E8 38 A0 00 00 */ li r5, 0 -/* 8029618C 002930EC 48 0E 63 05 */ bl GXLoadTexMtxImm -/* 80296190 002930F0 7F 63 DB 78 */ mr r3, r27 -/* 80296194 002930F4 38 80 00 00 */ li r4, 0 -/* 80296198 002930F8 4B E7 EE 15 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 8029619C 002930FC 83 63 00 08 */ lwz r27, 8(r3) -/* 802961A0 00293100 7F 63 DB 78 */ mr r3, r27 -/* 802961A4 00293104 48 0B EF 7D */ bl UpdateLastFrame__6CModelFv -/* 802961A8 00293108 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 802961AC 0029310C 38 80 00 00 */ li r4, 0 -/* 802961B0 00293110 38 A0 00 00 */ li r5, 0 -/* 802961B4 00293114 38 C0 00 00 */ li r6, 0 -/* 802961B8 00293118 48 07 08 39 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 802961BC 0029311C 83 9C 00 04 */ lwz r28, 4(r28) -/* 802961C0 00293120 3B BD 00 04 */ addi r29, r29, 4 -/* 802961C4 00293124 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802961C8: -/* 802961C8 00293128 80 1E 00 08 */ lwz r0, 8(r30) -/* 802961CC 0029312C 7C 1C 00 40 */ cmplw r28, r0 -/* 802961D0 00293130 40 82 FF 24 */ bne lbl_802960F4 -/* 802961D4 00293134 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 802961D8 00293138 38 80 00 1E */ li r4, 0x1e -/* 802961DC 0029313C 38 A0 00 00 */ li r5, 0 -/* 802961E0 00293140 48 0E 62 B1 */ bl GXLoadTexMtxImm -/* 802961E4 00293144 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802961E8 00293148 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802961EC 0029314C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802961F0 00293150 81 83 00 00 */ lwz r12, 0(r3) -/* 802961F4 00293154 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 802961F8 00293158 7D 89 03 A6 */ mtctr r12 -/* 802961FC 0029315C 4E 80 04 21 */ bctrl -/* 80296200 00293160 7F E3 FB 78 */ mr r3, r31 -/* 80296204 00293164 7F 44 D3 78 */ mr r4, r26 -/* 80296208 00293168 38 BE 00 30 */ addi r5, r30, 0x30 -/* 8029620C 0029316C 38 DE 00 B8 */ addi r6, r30, 0xb8 -/* 80296210 00293170 38 E0 00 00 */ li r7, 0 -/* 80296214 00293174 39 00 00 00 */ li r8, 0 -/* 80296218 00293178 48 02 12 55 */ bl "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" -/* 8029621C 0029317C 38 60 00 02 */ li r3, 2 -/* 80296220 00293180 38 80 00 00 */ li r4, 0 -/* 80296224 00293184 38 A0 00 00 */ li r5, 0 -/* 80296228 00293188 38 C0 00 01 */ li r6, 1 -/* 8029622C 0029318C 38 E0 00 00 */ li r7, 0 -/* 80296230 00293190 39 00 00 00 */ li r8, 0 -/* 80296234 00293194 39 20 00 02 */ li r9, 2 -/* 80296238 00293198 48 0E 39 3D */ bl GXSetChanCtrl -/* 8029623C 0029319C 38 60 00 00 */ li r3, 0 -/* 80296240 002931A0 48 0E 38 F1 */ bl GXSetNumChans -lbl_80296244: -/* 80296244 002931A4 E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 -/* 80296248 002931A8 CB E1 02 C0 */ lfd f31, 0x2c0(r1) -/* 8029624C 002931AC BB 21 02 A4 */ lmw r25, 0x2a4(r1) -/* 80296250 002931B0 80 01 02 D4 */ lwz r0, 0x2d4(r1) -/* 80296254 002931B4 7C 08 03 A6 */ mtlr r0 -/* 80296258 002931B8 38 21 02 D0 */ addi r1, r1, 0x2d0 -/* 8029625C 002931BC 4E 80 00 20 */ blr - -.global RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer -RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer: -/* 80296260 002931C0 94 21 F5 80 */ stwu r1, -0xa80(r1) -/* 80296264 002931C4 7C 08 02 A6 */ mflr r0 -/* 80296268 002931C8 90 01 0A 84 */ stw r0, 0xa84(r1) -/* 8029626C 002931CC DB E1 0A 70 */ stfd f31, 0xa70(r1) -/* 80296270 002931D0 F3 E1 0A 78 */ psq_st f31, -1416(r1), 0, qr0 -/* 80296274 002931D4 DB C1 0A 60 */ stfd f30, 0xa60(r1) -/* 80296278 002931D8 F3 C1 0A 68 */ psq_st f30, -1432(r1), 0, qr0 -/* 8029627C 002931DC DB A1 0A 50 */ stfd f29, 0xa50(r1) -/* 80296280 002931E0 F3 A1 0A 58 */ psq_st f29, -1448(r1), 0, qr0 -/* 80296284 002931E4 DB 81 0A 40 */ stfd f28, 0xa40(r1) -/* 80296288 002931E8 F3 81 0A 48 */ psq_st f28, -1464(r1), 0, qr0 -/* 8029628C 002931EC DB 61 0A 30 */ stfd f27, 0xa30(r1) -/* 80296290 002931F0 F3 61 0A 38 */ psq_st f27, -1480(r1), 0, qr0 -/* 80296294 002931F4 DB 41 0A 20 */ stfd f26, 0xa20(r1) -/* 80296298 002931F8 F3 41 0A 28 */ psq_st f26, -1496(r1), 0, qr0 -/* 8029629C 002931FC DB 21 0A 10 */ stfd f25, 0xa10(r1) -/* 802962A0 00293200 F3 21 0A 18 */ psq_st f25, -1512(r1), 0, qr0 -/* 802962A4 00293204 BE 81 09 E0 */ stmw r20, 0x9e0(r1) -/* 802962A8 00293208 7C 9E 23 78 */ mr r30, r4 -/* 802962AC 0029320C 7C 7F 1B 78 */ mr r31, r3 -/* 802962B0 00293210 80 64 00 00 */ lwz r3, 0(r4) -/* 802962B4 00293214 7C BD 2B 78 */ mr r29, r5 -/* 802962B8 00293218 80 04 00 04 */ lwz r0, 4(r4) -/* 802962BC 0029321C 7C DC 33 78 */ mr r28, r6 -/* 802962C0 00293220 90 7F 00 B8 */ stw r3, 0xb8(r31) -/* 802962C4 00293224 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 802962C8 00293228 80 04 00 08 */ lwz r0, 8(r4) -/* 802962CC 0029322C 90 1F 00 C0 */ stw r0, 0xc0(r31) -/* 802962D0 00293230 80 64 00 0C */ lwz r3, 0xc(r4) -/* 802962D4 00293234 80 04 00 10 */ lwz r0, 0x10(r4) -/* 802962D8 00293238 90 7F 00 C4 */ stw r3, 0xc4(r31) -/* 802962DC 0029323C 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 802962E0 00293240 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802962E4 00293244 90 1F 00 CC */ stw r0, 0xcc(r31) -/* 802962E8 00293248 82 9F 00 08 */ lwz r20, 8(r31) -/* 802962EC 0029324C 80 9F 00 04 */ lwz r4, 4(r31) -/* 802962F0 00293250 48 00 00 10 */ b lbl_80296300 -lbl_802962F4: -/* 802962F4 00293254 7F E3 FB 78 */ mr r3, r31 -/* 802962F8 00293258 48 00 09 45 */ bl sub_80296c3c -/* 802962FC 0029325C 7C 64 1B 78 */ mr r4, r3 -lbl_80296300: -/* 80296300 00293260 7C 04 A0 40 */ cmplw r4, r20 -/* 80296304 00293264 40 82 FF F0 */ bne lbl_802962F4 -/* 80296308 00293268 82 9F 00 20 */ lwz r20, 0x20(r31) -/* 8029630C 0029326C 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80296310 00293270 48 00 00 10 */ b lbl_80296320 -lbl_80296314: -/* 80296314 00293274 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80296318 00293278 48 00 0A 19 */ bl sub_80296d30 -/* 8029631C 0029327C 7C 64 1B 78 */ mr r4, r3 -lbl_80296320: -/* 80296320 00293280 7C 04 A0 40 */ cmplw r4, r20 -/* 80296324 00293284 40 82 FF F0 */ bne lbl_80296314 -/* 80296328 00293288 38 00 00 00 */ li r0, 0 -/* 8029632C 0029328C 38 7F 00 30 */ addi r3, r31, 0x30 -/* 80296330 00293290 90 01 00 70 */ stw r0, 0x70(r1) -/* 80296334 00293294 38 81 00 6C */ addi r4, r1, 0x6c -/* 80296338 00293298 90 01 00 74 */ stw r0, 0x74(r1) -/* 8029633C 0029329C 90 01 00 78 */ stw r0, 0x78(r1) -/* 80296340 002932A0 4B DC D3 BD */ bl "clear__Q24rstl37vectorFv" -/* 80296344 002932A4 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80296348 002932A8 80 61 00 78 */ lwz r3, 0x78(r1) -/* 8029634C 002932AC 54 00 10 3A */ slwi r0, r0, 2 -/* 80296350 002932B0 7C 03 02 14 */ add r0, r3, r0 -/* 80296354 002932B4 90 61 00 10 */ stw r3, 0x10(r1) -/* 80296358 002932B8 7C 64 1B 78 */ mr r4, r3 -/* 8029635C 002932BC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80296360 002932C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80296364 002932C4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80296368 002932C8 48 00 00 08 */ b lbl_80296370 -lbl_8029636C: -/* 8029636C 002932CC 38 84 00 04 */ addi r4, r4, 4 -lbl_80296370: -/* 80296370 002932D0 7C 04 00 40 */ cmplw r4, r0 -/* 80296374 002932D4 40 82 FF F8 */ bne lbl_8029636C -/* 80296378 002932D8 28 03 00 00 */ cmplwi r3, 0 -/* 8029637C 002932DC 41 82 00 08 */ beq lbl_80296384 -/* 80296380 002932E0 48 07 F5 B1 */ bl Free__7CMemoryFPCv -lbl_80296384: -/* 80296384 002932E4 83 6D A0 68 */ lwz r27, gpRender@sda21(r13) -/* 80296388 002932E8 38 60 00 01 */ li r3, 1 -/* 8029638C 002932EC 88 1B 03 18 */ lbz r0, 0x318(r27) -/* 80296390 002932F0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80296394 002932F4 98 1B 03 18 */ stb r0, 0x318(r27) -/* 80296398 002932F8 88 1B 03 18 */ lbz r0, 0x318(r27) -/* 8029639C 002932FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802963A0 00293300 40 82 00 10 */ bne lbl_802963B0 -/* 802963A4 00293304 38 00 00 00 */ li r0, 0 -/* 802963A8 00293308 98 1F 00 D0 */ stb r0, 0xd0(r31) -/* 802963AC 0029330C 48 00 06 6C */ b lbl_80296A18 -lbl_802963B0: -/* 802963B0 00293310 7F E3 FB 78 */ mr r3, r31 -/* 802963B4 00293314 7F A4 EB 78 */ mr r4, r29 -/* 802963B8 00293318 4B FF F8 05 */ bl GatherAreas__16CMorphBallShadowFR13CStateManager -/* 802963BC 0029331C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802963C0 00293320 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 802963C4 00293324 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802963C8 00293328 48 07 C7 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802963CC 0029332C C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) -/* 802963D0 00293330 C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) -/* 802963D4 00293334 48 07 3A 89 */ bl GetProjectionState__9CGraphicsFv -/* 802963D8 00293338 88 03 00 00 */ lbz r0, 0(r3) -/* 802963DC 0029333C 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 802963E0 00293340 3A C4 D9 10 */ addi r22, r4, lbl_803ED910@l -/* 802963E4 00293344 3C A0 80 5A */ lis r5, lbl_805A6700@ha -/* 802963E8 00293348 98 01 00 94 */ stb r0, 0x94(r1) -/* 802963EC 0029334C 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 802963F0 00293350 81 96 00 00 */ lwz r12, 0(r22) -/* 802963F4 00293354 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 802963F8 00293358 C0 03 00 04 */ lfs f0, 4(r3) -/* 802963FC 0029335C 38 84 67 18 */ addi r4, r4, lbl_805A6718@l -/* 80296400 00293360 81 76 00 04 */ lwz r11, 4(r22) -/* 80296404 00293364 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l -/* 80296408 00293368 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8029640C 0029336C 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l -/* 80296410 00293370 81 56 00 08 */ lwz r10, 8(r22) -/* 80296414 00293374 38 E1 00 60 */ addi r7, r1, 0x60 -/* 80296418 00293378 C0 03 00 08 */ lfs f0, 8(r3) -/* 8029641C 0029337C 81 36 00 0C */ lwz r9, 0xc(r22) -/* 80296420 00293380 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 80296424 00293384 81 16 00 10 */ lwz r8, 0x10(r22) -/* 80296428 00293388 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8029642C 0029338C 80 16 00 14 */ lwz r0, 0x14(r22) -/* 80296430 00293390 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80296434 00293394 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80296438 00293398 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8029643C 0029339C C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80296440 002933A0 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80296444 002933A4 EC 42 00 2A */ fadds f2, f2, f0 -/* 80296448 002933A8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8029644C 002933AC C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80296450 002933B0 C0 83 00 14 */ lfs f4, 0x14(r3) -/* 80296454 002933B4 C0 62 BF A4 */ lfs f3, lbl_805ADCC4@sda21(r2) -/* 80296458 002933B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8029645C 002933BC D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 80296460 002933C0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80296464 002933C4 C0 9E 00 14 */ lfs f4, 0x14(r30) -/* 80296468 002933C8 C0 23 00 18 */ lfs f1, 0x18(r3) -/* 8029646C 002933CC EC 03 00 32 */ fmuls f0, f3, f0 -/* 80296470 002933D0 91 81 00 7C */ stw r12, 0x7c(r1) -/* 80296474 002933D4 38 61 01 10 */ addi r3, r1, 0x110 -/* 80296478 002933D8 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8029647C 002933DC 91 61 00 80 */ stw r11, 0x80(r1) -/* 80296480 002933E0 91 41 00 84 */ stw r10, 0x84(r1) -/* 80296484 002933E4 91 21 00 88 */ stw r9, 0x88(r1) -/* 80296488 002933E8 91 01 00 8C */ stw r8, 0x8c(r1) -/* 8029648C 002933EC 90 01 00 90 */ stw r0, 0x90(r1) -/* 80296490 002933F0 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80296494 002933F4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80296498 002933F8 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 8029649C 002933FC 48 07 C9 C1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 802964A0 00293400 38 61 01 70 */ addi r3, r1, 0x170 -/* 802964A4 00293404 38 81 01 10 */ addi r4, r1, 0x110 -/* 802964A8 00293408 48 07 C6 CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802964AC 0029340C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802964B0 00293410 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802964B4 00293414 48 07 61 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802964B8 00293418 C0 22 BF 9C */ lfs f1, lbl_805ADCBC@sda21(r2) -/* 802964BC 0029341C C0 42 BF A0 */ lfs f2, lbl_805ADCC0@sda21(r2) -/* 802964C0 00293420 48 07 3F 21 */ bl SetDepthRange__9CGraphicsFff -/* 802964C4 00293424 C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 802964C8 00293428 C0 5E 00 00 */ lfs f2, 0(r30) -/* 802964CC 0029342C C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 802964D0 00293430 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802964D4 00293434 EC 83 10 28 */ fsubs f4, f3, f2 -/* 802964D8 00293438 C0 A2 BF A4 */ lfs f5, lbl_805ADCC4@sda21(r2) -/* 802964DC 0029343C EC 61 00 28 */ fsubs f3, f1, f0 -/* 802964E0 00293440 C0 5E 00 14 */ lfs f2, 0x14(r30) -/* 802964E4 00293444 EF 45 01 32 */ fmuls f26, f5, f4 -/* 802964E8 00293448 C0 3E 00 08 */ lfs f1, 8(r30) -/* 802964EC 0029344C C0 02 BF A8 */ lfs f0, lbl_805ADCC8@sda21(r2) -/* 802964F0 00293450 EF 25 00 F2 */ fmuls f25, f5, f3 -/* 802964F4 00293454 EF A2 08 28 */ fsubs f29, f2, f1 -/* 802964F8 00293458 C0 A2 BF 9C */ lfs f5, lbl_805ADCBC@sda21(r2) -/* 802964FC 0029345C FF 80 D0 50 */ fneg f28, f26 -/* 80296500 00293460 FF 60 C8 50 */ fneg f27, f25 -/* 80296504 00293464 FC 40 D0 90 */ fmr f2, f26 -/* 80296508 00293468 FC 20 E0 90 */ fmr f1, f28 -/* 8029650C 0029346C FC 60 C8 90 */ fmr f3, f25 -/* 80296510 00293470 FC 80 D8 90 */ fmr f4, f27 -/* 80296514 00293474 EC C0 E8 2A */ fadds f6, f0, f29 -/* 80296518 00293478 48 07 60 3D */ bl SetOrtho__9CGraphicsFffffff -/* 8029651C 0029347C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296520 00293480 3C 80 80 5A */ lis r4, lbl_805A6500@ha -/* 80296524 00293484 38 A4 65 00 */ addi r5, r4, lbl_805A6500@l -/* 80296528 00293488 80 FF 00 B4 */ lwz r7, 0xb4(r31) -/* 8029652C 0029348C 81 83 00 00 */ lwz r12, 0(r3) -/* 80296530 00293490 38 80 00 00 */ li r4, 0 -/* 80296534 00293494 A0 05 00 06 */ lhz r0, 6(r5) -/* 80296538 00293498 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8029653C 0029349C 7C A7 00 50 */ subf r5, r7, r0 -/* 80296540 002934A0 80 DF 00 B0 */ lwz r6, 0xb0(r31) -/* 80296544 002934A4 7D 89 03 A6 */ mtctr r12 -/* 80296548 002934A8 4E 80 04 21 */ bctrl -/* 8029654C 002934AC 38 00 00 00 */ li r0, 0 -/* 80296550 002934B0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 80296554 002934B4 90 01 01 D0 */ stw r0, 0x1d0(r1) -/* 80296558 002934B8 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l -/* 8029655C 002934BC 7F A3 EB 78 */ mr r3, r29 -/* 80296560 002934C0 7F C5 F3 78 */ mr r5, r30 -/* 80296564 002934C4 7F 87 E3 78 */ mr r7, r28 -/* 80296568 002934C8 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8029656C 002934CC 4B DB 61 B5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80296570 002934D0 38 60 00 01 */ li r3, 1 -/* 80296574 002934D4 48 0E 59 B9 */ bl GXSetAlphaUpdate -/* 80296578 002934D8 38 60 00 01 */ li r3, 1 -/* 8029657C 002934DC 38 80 00 00 */ li r4, 0 -/* 80296580 002934E0 48 0E 5B 61 */ bl GXSetDstAlpha -/* 80296584 002934E4 38 60 00 00 */ li r3, 0 -/* 80296588 002934E8 48 0E 59 79 */ bl GXSetColorUpdate -/* 8029658C 002934EC 38 60 00 01 */ li r3, 1 -/* 80296590 002934F0 38 80 00 07 */ li r4, 7 -/* 80296594 002934F4 38 A0 00 01 */ li r5, 1 -/* 80296598 002934F8 48 07 22 E5 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8029659C 002934FC 38 60 00 00 */ li r3, 0 -/* 802965A0 00293500 48 07 54 D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802965A4 00293504 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802965A8 00293508 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802965AC 0029350C 48 07 61 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802965B0 00293510 38 60 00 07 */ li r3, 7 -/* 802965B4 00293514 38 80 00 00 */ li r4, 0 -/* 802965B8 00293518 38 A0 00 00 */ li r5, 0 -/* 802965BC 0029351C 38 C0 00 07 */ li r6, 7 -/* 802965C0 00293520 38 E0 00 00 */ li r7, 0 -/* 802965C4 00293524 48 07 54 65 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 802965C8 00293528 38 60 00 01 */ li r3, 1 -/* 802965CC 0029352C 38 80 00 01 */ li r4, 1 -/* 802965D0 00293530 38 A0 00 00 */ li r5, 0 -/* 802965D4 00293534 38 C0 00 00 */ li r6, 0 -/* 802965D8 00293538 48 07 54 79 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802965DC 0029353C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802965E0 00293540 38 60 00 00 */ li r3, 0 -/* 802965E4 00293544 48 07 3C D5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802965E8 00293548 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802965EC 0029354C 38 60 00 01 */ li r3, 1 -/* 802965F0 00293550 48 07 3C C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802965F4 00293554 38 60 00 00 */ li r3, 0 -/* 802965F8 00293558 48 07 28 59 */ bl SetNumChans__3CGXFUc -/* 802965FC 0029355C 38 60 00 01 */ li r3, 1 -/* 80296600 00293560 48 07 28 15 */ bl SetNumTexGens__3CGXFUc -/* 80296604 00293564 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296608 00293568 38 80 00 04 */ li r4, 4 -/* 8029660C 0029356C 81 83 00 00 */ lwz r12, 0(r3) -/* 80296610 00293570 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80296614 00293574 7D 89 03 A6 */ mtctr r12 -/* 80296618 00293578 4E 80 04 21 */ bctrl -/* 8029661C 0029357C 48 0B 39 81 */ bl Red__6CColorFv -/* 80296620 00293580 7C 64 1B 78 */ mr r4, r3 -/* 80296624 00293584 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296628 00293588 81 83 00 00 */ lwz r12, 0(r3) -/* 8029662C 0029358C 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 80296630 00293590 7D 89 03 A6 */ mtctr r12 -/* 80296634 00293594 4E 80 04 21 */ bctrl -/* 80296638 00293598 C0 02 BF AC */ lfs f0, lbl_805ADCCC@sda21(r2) -/* 8029663C 0029359C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80296640 002935A0 D3 81 00 54 */ stfs f28, 0x54(r1) -/* 80296644 002935A4 EF A0 07 72 */ fmuls f29, f0, f29 -/* 80296648 002935A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029664C 002935AC D3 61 00 5C */ stfs f27, 0x5c(r1) -/* 80296650 002935B0 D3 A1 00 58 */ stfs f29, 0x58(r1) -/* 80296654 002935B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80296658 002935B8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8029665C 002935BC 7D 89 03 A6 */ mtctr r12 -/* 80296660 002935C0 4E 80 04 21 */ bctrl -/* 80296664 002935C4 D3 81 00 48 */ stfs f28, 0x48(r1) -/* 80296668 002935C8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8029666C 002935CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296670 002935D0 D3 A1 00 4C */ stfs f29, 0x4c(r1) -/* 80296674 002935D4 D3 21 00 50 */ stfs f25, 0x50(r1) -/* 80296678 002935D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029667C 002935DC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80296680 002935E0 7D 89 03 A6 */ mtctr r12 -/* 80296684 002935E4 4E 80 04 21 */ bctrl -/* 80296688 002935E8 D3 41 00 3C */ stfs f26, 0x3c(r1) -/* 8029668C 002935EC 38 81 00 3C */ addi r4, r1, 0x3c -/* 80296690 002935F0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296694 002935F4 D3 A1 00 40 */ stfs f29, 0x40(r1) -/* 80296698 002935F8 D3 21 00 44 */ stfs f25, 0x44(r1) -/* 8029669C 002935FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802966A0 00293600 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802966A4 00293604 7D 89 03 A6 */ mtctr r12 -/* 802966A8 00293608 4E 80 04 21 */ bctrl -/* 802966AC 0029360C D3 41 00 30 */ stfs f26, 0x30(r1) -/* 802966B0 00293610 38 81 00 30 */ addi r4, r1, 0x30 -/* 802966B4 00293614 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802966B8 00293618 D3 A1 00 34 */ stfs f29, 0x34(r1) -/* 802966BC 0029361C D3 61 00 38 */ stfs f27, 0x38(r1) -/* 802966C0 00293620 81 83 00 00 */ lwz r12, 0(r3) -/* 802966C4 00293624 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802966C8 00293628 7D 89 03 A6 */ mtctr r12 -/* 802966CC 0029362C 4E 80 04 21 */ bctrl -/* 802966D0 00293630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802966D4 00293634 81 83 00 00 */ lwz r12, 0(r3) -/* 802966D8 00293638 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 802966DC 0029363C 7D 89 03 A6 */ mtctr r12 -/* 802966E0 00293640 4E 80 04 21 */ bctrl -/* 802966E4 00293644 38 60 00 01 */ li r3, 1 -/* 802966E8 00293648 48 07 53 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802966EC 0029364C 38 61 01 70 */ addi r3, r1, 0x170 -/* 802966F0 00293650 48 07 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802966F4 00293654 38 60 00 01 */ li r3, 1 -/* 802966F8 00293658 38 80 00 03 */ li r4, 3 -/* 802966FC 0029365C 38 A0 00 01 */ li r5, 1 -/* 80296700 00293660 48 07 21 7D */ bl SetZMode__3CGXFb10_GXCompareb -/* 80296704 00293664 48 07 62 79 */ bl DisableAllLights__9CGraphicsFv -/* 80296708 00293668 38 60 00 01 */ li r3, 1 -/* 8029670C 0029366C 48 0A F0 DD */ bl SetRenderModelBlack__10CCubeModelFb -/* 80296710 00293670 3B 01 01 D4 */ addi r24, r1, 0x1d4 -/* 80296714 00293674 3B 21 00 20 */ addi r25, r1, 0x20 -/* 80296718 00293678 7F 16 C3 78 */ mr r22, r24 -/* 8029671C 0029367C 3A E0 00 01 */ li r23, 1 -/* 80296720 00293680 3B 40 00 04 */ li r26, 4 -/* 80296724 00293684 48 00 01 48 */ b lbl_8029686C -lbl_80296728: -/* 80296728 00293688 A0 16 00 00 */ lhz r0, 0(r22) -/* 8029672C 0029368C 7F A3 EB 78 */ mr r3, r29 -/* 80296730 00293690 38 81 00 08 */ addi r4, r1, 8 -/* 80296734 00293694 B0 01 00 08 */ sth r0, 8(r1) -/* 80296738 00293698 4B DB 5E 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8029673C 0029369C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80296740 002936A0 41 82 01 28 */ beq lbl_80296868 -/* 80296744 002936A4 4B DB C5 91 */ bl CanDrawStatic__6CActorCFv -/* 80296748 002936A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029674C 002936AC 41 82 01 1C */ beq lbl_80296868 -/* 80296750 002936B0 82 BF 00 08 */ lwz r21, 8(r31) -/* 80296754 002936B4 3C 60 80 3D */ lis r3, lbl_803D5C30@ha -/* 80296758 002936B8 38 83 5C 30 */ addi r4, r3, lbl_803D5C30@l -/* 8029675C 002936BC 38 A0 00 00 */ li r5, 0 -/* 80296760 002936C0 82 95 00 00 */ lwz r20, 0(r21) -/* 80296764 002936C4 38 60 00 0C */ li r3, 0xc -/* 80296768 002936C8 48 07 F0 B1 */ bl __nwa__FUlPCcPCc -/* 8029676C 002936CC 28 03 00 00 */ cmplwi r3, 0 -/* 80296770 002936D0 41 82 00 0C */ beq lbl_8029677C -/* 80296774 002936D4 92 83 00 00 */ stw r20, 0(r3) -/* 80296778 002936D8 92 A3 00 04 */ stw r21, 4(r3) -lbl_8029677C: -/* 8029677C 002936DC 34 83 00 08 */ addic. r4, r3, 8 -/* 80296780 002936E0 41 82 00 08 */ beq lbl_80296788 -/* 80296784 002936E4 93 84 00 00 */ stw r28, 0(r4) -lbl_80296788: -/* 80296788 002936E8 80 1F 00 04 */ lwz r0, 4(r31) -/* 8029678C 002936EC 7C 15 00 40 */ cmplw r21, r0 -/* 80296790 002936F0 40 82 00 08 */ bne lbl_80296798 -/* 80296794 002936F4 90 7F 00 04 */ stw r3, 4(r31) -lbl_80296798: -/* 80296798 002936F8 80 A3 00 00 */ lwz r5, 0(r3) -/* 8029679C 002936FC 57 44 06 3E */ clrlwi r4, r26, 0x18 -/* 802967A0 00293700 90 65 00 04 */ stw r3, 4(r5) -/* 802967A4 00293704 80 A3 00 04 */ lwz r5, 4(r3) -/* 802967A8 00293708 90 65 00 00 */ stw r3, 0(r5) -/* 802967AC 0029370C 38 60 00 01 */ li r3, 1 -/* 802967B0 00293710 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 802967B4 00293714 38 05 00 01 */ addi r0, r5, 1 -/* 802967B8 00293718 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802967BC 0029371C 48 0E 59 25 */ bl GXSetDstAlpha -/* 802967C0 00293720 82 9C 00 64 */ lwz r20, 0x64(r28) -/* 802967C4 00293724 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802967C8 00293728 38 81 00 24 */ addi r4, r1, 0x24 -/* 802967CC 0029372C C0 14 00 00 */ lfs f0, 0(r20) -/* 802967D0 00293730 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802967D4 00293734 C0 14 00 04 */ lfs f0, 4(r20) -/* 802967D8 00293738 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802967DC 0029373C C0 14 00 08 */ lfs f0, 8(r20) -/* 802967E0 00293740 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802967E4 00293744 48 07 C9 E1 */ bl Scale__12CTransform4fFRC9CVector3f -/* 802967E8 00293748 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 802967EC 0029374C 38 9C 00 34 */ addi r4, r28, 0x34 -/* 802967F0 00293750 38 A1 00 B0 */ addi r5, r1, 0xb0 -/* 802967F4 00293754 48 07 C1 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802967F8 00293758 38 61 01 40 */ addi r3, r1, 0x140 -/* 802967FC 0029375C 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80296800 00293760 48 07 C3 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80296804 00293764 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296808 00293768 38 81 01 40 */ addi r4, r1, 0x140 -/* 8029680C 0029376C 81 83 00 00 */ lwz r12, 0(r3) -/* 80296810 00293770 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80296814 00293774 7D 89 03 A6 */ mtctr r12 -/* 80296818 00293778 4E 80 04 21 */ bctrl -/* 8029681C 0029377C C0 22 BF A0 */ lfs f1, lbl_805ADCC0@sda21(r2) -/* 80296820 00293780 38 80 00 00 */ li r4, 0 -/* 80296824 00293784 38 00 00 03 */ li r0, 3 -/* 80296828 00293788 98 81 00 1C */ stb r4, 0x1c(r1) -/* 8029682C 0029378C FC 40 08 90 */ fmr f2, f1 -/* 80296830 00293790 7F 23 CB 78 */ mr r3, r25 -/* 80296834 00293794 FC 60 08 90 */ fmr f3, f1 -/* 80296838 00293798 98 81 00 1D */ stb r4, 0x1d(r1) -/* 8029683C 0029379C FC 80 08 90 */ fmr f4, f1 -/* 80296840 002937A0 B0 01 00 1E */ sth r0, 0x1e(r1) -/* 80296844 002937A4 48 0C CB A9 */ bl __ct__6CColorFffff -/* 80296848 002937A8 7E 83 A3 78 */ mr r3, r20 -/* 8029684C 002937AC 38 80 00 00 */ li r4, 0 -/* 80296850 002937B0 4B E7 E7 5D */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80296854 002937B4 80 63 00 08 */ lwz r3, 8(r3) -/* 80296858 002937B8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8029685C 002937BC 48 0B F2 FD */ bl DrawUnsortedParts__6CModelCFRC11CModelFlags -/* 80296860 002937C0 3B 5A 00 04 */ addi r26, r26, 4 -/* 80296864 002937C4 3A F7 00 01 */ addi r23, r23, 1 -lbl_80296868: -/* 80296868 002937C8 3A D6 00 02 */ addi r22, r22, 2 -lbl_8029686C: -/* 8029686C 002937CC 80 01 01 D0 */ lwz r0, 0x1d0(r1) -/* 80296870 002937D0 54 00 08 3C */ slwi r0, r0, 1 -/* 80296874 002937D4 7C 18 02 14 */ add r0, r24, r0 -/* 80296878 002937D8 7C 16 00 40 */ cmplw r22, r0 -/* 8029687C 002937DC 41 82 00 0C */ beq lbl_80296888 -/* 80296880 002937E0 2C 17 00 40 */ cmpwi r23, 0x40 -/* 80296884 002937E4 41 80 FE A4 */ blt lbl_80296728 -lbl_80296888: -/* 80296888 002937E8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8029688C 002937EC 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80296890 002937F0 48 07 5D 51 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80296894 002937F4 7F 63 DB 78 */ mr r3, r27 -/* 80296898 002937F8 7F C5 F3 78 */ mr r5, r30 -/* 8029689C 002937FC 38 9F 00 30 */ addi r4, r31, 0x30 -/* 802968A0 00293800 48 02 0F 45 */ bl "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" -/* 802968A4 00293804 7F 63 DB 78 */ mr r3, r27 -/* 802968A8 00293808 7E E4 BB 78 */ mr r4, r23 -/* 802968AC 0029380C 7F C6 F3 78 */ mr r6, r30 -/* 802968B0 00293810 38 BF 00 30 */ addi r5, r31, 0x30 -/* 802968B4 00293814 38 E0 00 00 */ li r7, 0 -/* 802968B8 00293818 39 00 00 00 */ li r8, 0 -/* 802968BC 0029381C 48 02 0D 55 */ bl "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" -/* 802968C0 00293820 7C 76 1B 78 */ mr r22, r3 -/* 802968C4 00293824 38 60 00 00 */ li r3, 0 -/* 802968C8 00293828 48 0A EF 21 */ bl SetRenderModelBlack__10CCubeModelFb -/* 802968CC 0029382C 20 76 00 01 */ subfic r3, r22, 1 -/* 802968D0 00293830 38 16 FF FF */ addi r0, r22, -1 -/* 802968D4 00293834 7C 60 03 78 */ or r0, r3, r0 -/* 802968D8 00293838 38 60 00 01 */ li r3, 1 -/* 802968DC 0029383C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802968E0 00293840 98 1F 00 D0 */ stb r0, 0xd0(r31) -/* 802968E4 00293844 48 0E 56 1D */ bl GXSetColorUpdate -/* 802968E8 00293848 38 60 00 01 */ li r3, 1 -/* 802968EC 0029384C 38 80 00 00 */ li r4, 0 -/* 802968F0 00293850 48 0E 57 F1 */ bl GXSetDstAlpha -/* 802968F4 00293854 48 07 2F 11 */ bl GetUseVideoFilter__9CGraphicsFv -/* 802968F8 00293858 7C 76 1B 78 */ mr r22, r3 -/* 802968FC 0029385C 38 60 00 00 */ li r3, 0 -/* 80296900 00293860 48 07 2F 0D */ bl SetUseVideoFilter__9CGraphicsFb -/* 80296904 00293864 80 BF 00 B0 */ lwz r5, 0xb0(r31) -/* 80296908 00293868 38 60 00 00 */ li r3, 0 -/* 8029690C 0029386C 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 80296910 00293870 38 80 00 00 */ li r4, 0 -/* 80296914 00293874 54 A5 04 3E */ clrlwi r5, r5, 0x10 -/* 80296918 00293878 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 8029691C 0029387C 48 0E 24 99 */ bl GXSetTexCopySrc -/* 80296920 00293880 80 7F 00 B0 */ lwz r3, 0xb0(r31) -/* 80296924 00293884 38 A0 00 27 */ li r5, 0x27 -/* 80296928 00293888 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 8029692C 0029388C 38 C0 00 00 */ li r6, 0 -/* 80296930 00293890 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80296934 00293894 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 80296938 00293898 48 0E 25 49 */ bl GXSetTexCopyDst -/* 8029693C 0029389C 88 1F 00 4A */ lbz r0, 0x4a(r31) -/* 80296940 002938A0 38 60 00 01 */ li r3, 1 -/* 80296944 002938A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80296948 002938A8 38 7F 00 40 */ addi r3, r31, 0x40 -/* 8029694C 002938AC 98 1F 00 4A */ stb r0, 0x4a(r31) -/* 80296950 002938B0 38 80 00 00 */ li r4, 0 -/* 80296954 002938B4 48 07 7C 81 */ bl GetBitMapData__8CTextureFi -/* 80296958 002938B8 38 80 00 01 */ li r4, 1 -/* 8029695C 002938BC 48 0E 2B D9 */ bl GXCopyTex -/* 80296960 002938C0 38 7F 00 40 */ addi r3, r31, 0x40 -/* 80296964 002938C4 48 07 7F B9 */ bl UnLock__8CTextureFv -/* 80296968 002938C8 48 0E 1B FD */ bl GXPixModeSync -/* 8029696C 002938CC 56 C3 06 3E */ clrlwi r3, r22, 0x18 -/* 80296970 002938D0 48 07 2E 9D */ bl SetUseVideoFilter__9CGraphicsFb -/* 80296974 002938D4 38 60 00 01 */ li r3, 1 -/* 80296978 002938D8 38 80 00 03 */ li r4, 3 -/* 8029697C 002938DC 38 A0 00 01 */ li r5, 1 -/* 80296980 002938E0 48 07 1E FD */ bl SetZMode__3CGXFb10_GXCompareb -/* 80296984 002938E4 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80296988 002938E8 48 07 5D C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029698C 002938EC 38 61 00 94 */ addi r3, r1, 0x94 -/* 80296990 002938F0 48 07 34 71 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 80296994 002938F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80296998 002938F8 80 81 00 7C */ lwz r4, 0x7c(r1) -/* 8029699C 002938FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802969A0 00293900 80 A1 00 80 */ lwz r5, 0x80(r1) -/* 802969A4 00293904 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802969A8 00293908 80 C1 00 84 */ lwz r6, 0x84(r1) -/* 802969AC 0029390C 80 E1 00 88 */ lwz r7, 0x88(r1) -/* 802969B0 00293910 7D 89 03 A6 */ mtctr r12 -/* 802969B4 00293914 4E 80 04 21 */ bctrl -/* 802969B8 00293918 FC 20 F8 90 */ fmr f1, f31 -/* 802969BC 0029391C FC 40 F0 90 */ fmr f2, f30 -/* 802969C0 00293920 48 07 3A 21 */ bl SetDepthRange__9CGraphicsFff -/* 802969C4 00293924 80 A1 01 D0 */ lwz r5, 0x1d0(r1) -/* 802969C8 00293928 38 60 00 00 */ li r3, 0 -/* 802969CC 0029392C 2C 05 00 00 */ cmpwi r5, 0 -/* 802969D0 00293930 40 81 00 40 */ ble lbl_80296A10 -/* 802969D4 00293934 2C 05 00 08 */ cmpwi r5, 8 -/* 802969D8 00293938 38 85 FF F8 */ addi r4, r5, -8 -/* 802969DC 0029393C 40 81 00 20 */ ble lbl_802969FC -/* 802969E0 00293940 38 04 00 07 */ addi r0, r4, 7 -/* 802969E4 00293944 54 00 E8 FE */ srwi r0, r0, 3 -/* 802969E8 00293948 7C 09 03 A6 */ mtctr r0 -/* 802969EC 0029394C 2C 04 00 00 */ cmpwi r4, 0 -/* 802969F0 00293950 40 81 00 0C */ ble lbl_802969FC -lbl_802969F4: -/* 802969F4 00293954 38 63 00 08 */ addi r3, r3, 8 -/* 802969F8 00293958 42 00 FF FC */ bdnz lbl_802969F4 -lbl_802969FC: -/* 802969FC 0029395C 7C 03 28 50 */ subf r0, r3, r5 -/* 80296A00 00293960 7C 09 03 A6 */ mtctr r0 -/* 80296A04 00293964 7C 03 28 00 */ cmpw r3, r5 -/* 80296A08 00293968 40 80 00 08 */ bge lbl_80296A10 -lbl_80296A0C: -/* 80296A0C 0029396C 42 00 00 00 */ bdnz lbl_80296A0C -lbl_80296A10: -/* 80296A10 00293970 38 00 00 00 */ li r0, 0 -/* 80296A14 00293974 90 01 01 D0 */ stw r0, 0x1d0(r1) -lbl_80296A18: -/* 80296A18 00293978 E3 E1 0A 78 */ psq_l f31, -1416(r1), 0, qr0 -/* 80296A1C 0029397C CB E1 0A 70 */ lfd f31, 0xa70(r1) -/* 80296A20 00293980 E3 C1 0A 68 */ psq_l f30, -1432(r1), 0, qr0 -/* 80296A24 00293984 CB C1 0A 60 */ lfd f30, 0xa60(r1) -/* 80296A28 00293988 E3 A1 0A 58 */ psq_l f29, -1448(r1), 0, qr0 -/* 80296A2C 0029398C CB A1 0A 50 */ lfd f29, 0xa50(r1) -/* 80296A30 00293990 E3 81 0A 48 */ psq_l f28, -1464(r1), 0, qr0 -/* 80296A34 00293994 CB 81 0A 40 */ lfd f28, 0xa40(r1) -/* 80296A38 00293998 E3 61 0A 38 */ psq_l f27, -1480(r1), 0, qr0 -/* 80296A3C 0029399C CB 61 0A 30 */ lfd f27, 0xa30(r1) -/* 80296A40 002939A0 E3 41 0A 28 */ psq_l f26, -1496(r1), 0, qr0 -/* 80296A44 002939A4 CB 41 0A 20 */ lfd f26, 0xa20(r1) -/* 80296A48 002939A8 E3 21 0A 18 */ psq_l f25, -1512(r1), 0, qr0 -/* 80296A4C 002939AC CB 21 0A 10 */ lfd f25, 0xa10(r1) -/* 80296A50 002939B0 BA 81 09 E0 */ lmw r20, 0x9e0(r1) -/* 80296A54 002939B4 80 01 0A 84 */ lwz r0, 0xa84(r1) -/* 80296A58 002939B8 7C 08 03 A6 */ mtlr r0 -/* 80296A5C 002939BC 38 21 0A 80 */ addi r1, r1, 0xa80 -/* 80296A60 002939C0 4E 80 00 20 */ blr - -.global __dt__16CMorphBallShadowFv -__dt__16CMorphBallShadowFv: -/* 80296A64 002939C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80296A68 002939C8 7C 08 02 A6 */ mflr r0 -/* 80296A6C 002939CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80296A70 002939D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80296A74 002939D4 7C 9F 23 78 */ mr r31, r4 -/* 80296A78 002939D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80296A7C 002939DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80296A80 002939E0 41 82 00 9C */ beq lbl_80296B1C -/* 80296A84 002939E4 38 7E 00 40 */ addi r3, r30, 0x40 -/* 80296A88 002939E8 48 07 76 85 */ bl sub_8030e10c -/* 80296A8C 002939EC 34 1E 00 A8 */ addic. r0, r30, 0xa8 -/* 80296A90 002939F0 41 82 00 10 */ beq lbl_80296AA0 -/* 80296A94 002939F4 38 7E 00 A8 */ addi r3, r30, 0xa8 -/* 80296A98 002939F8 38 80 00 00 */ li r4, 0 -/* 80296A9C 002939FC 48 0A A3 A5 */ bl __dt__6CTokenFv -lbl_80296AA0: -/* 80296AA0 00293A00 38 7E 00 40 */ addi r3, r30, 0x40 -/* 80296AA4 00293A04 38 80 FF FF */ li r4, -1 -/* 80296AA8 00293A08 48 07 8F 51 */ bl __dt__8CTextureFv -/* 80296AAC 00293A0C 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 80296AB0 00293A10 41 82 00 44 */ beq lbl_80296AF4 -/* 80296AB4 00293A14 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 80296AB8 00293A18 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 80296ABC 00293A1C 54 00 10 3A */ slwi r0, r0, 2 -/* 80296AC0 00293A20 7C 03 02 14 */ add r0, r3, r0 -/* 80296AC4 00293A24 90 61 00 0C */ stw r3, 0xc(r1) -/* 80296AC8 00293A28 7C 64 1B 78 */ mr r4, r3 -/* 80296ACC 00293A2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80296AD0 00293A30 90 01 00 10 */ stw r0, 0x10(r1) -/* 80296AD4 00293A34 90 61 00 08 */ stw r3, 8(r1) -/* 80296AD8 00293A38 48 00 00 08 */ b lbl_80296AE0 -lbl_80296ADC: -/* 80296ADC 00293A3C 38 84 00 04 */ addi r4, r4, 4 -lbl_80296AE0: -/* 80296AE0 00293A40 7C 04 00 40 */ cmplw r4, r0 -/* 80296AE4 00293A44 40 82 FF F8 */ bne lbl_80296ADC -/* 80296AE8 00293A48 28 03 00 00 */ cmplwi r3, 0 -/* 80296AEC 00293A4C 41 82 00 08 */ beq lbl_80296AF4 -/* 80296AF0 00293A50 48 07 EE 41 */ bl Free__7CMemoryFPCv -lbl_80296AF4: -/* 80296AF4 00293A54 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80296AF8 00293A58 38 80 FF FF */ li r4, -1 -/* 80296AFC 00293A5C 48 00 02 B1 */ bl sub_80296dac -/* 80296B00 00293A60 7F C3 F3 78 */ mr r3, r30 -/* 80296B04 00293A64 38 80 FF FF */ li r4, -1 -/* 80296B08 00293A68 48 00 01 B1 */ bl sub_80296cb8 -/* 80296B0C 00293A6C 7F E0 07 35 */ extsh. r0, r31 -/* 80296B10 00293A70 40 81 00 0C */ ble lbl_80296B1C -/* 80296B14 00293A74 7F C3 F3 78 */ mr r3, r30 -/* 80296B18 00293A78 48 07 EE 19 */ bl Free__7CMemoryFPCv -lbl_80296B1C: -/* 80296B1C 00293A7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80296B20 00293A80 7F C3 F3 78 */ mr r3, r30 -/* 80296B24 00293A84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80296B28 00293A88 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80296B2C 00293A8C 7C 08 03 A6 */ mtlr r0 -/* 80296B30 00293A90 38 21 00 20 */ addi r1, r1, 0x20 -/* 80296B34 00293A94 4E 80 00 20 */ blr - -.global "__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>" -"__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>": -/* 80296B38 00293A98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80296B3C 00293A9C 7C 08 02 A6 */ mflr r0 -/* 80296B40 00293AA0 39 00 00 00 */ li r8, 0 -/* 80296B44 00293AA4 38 E0 00 01 */ li r7, 1 -/* 80296B48 00293AA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80296B4C 00293AAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80296B50 00293AB0 7C DF 33 78 */ mr r31, r6 -/* 80296B54 00293AB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80296B58 00293AB8 7C BE 2B 78 */ mr r30, r5 -/* 80296B5C 00293ABC 7F C6 07 34 */ extsh r6, r30 -/* 80296B60 00293AC0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80296B64 00293AC4 7C 9D 23 78 */ mr r29, r4 -/* 80296B68 00293AC8 7F A5 07 34 */ extsh r5, r29 -/* 80296B6C 00293ACC 38 80 00 01 */ li r4, 1 -/* 80296B70 00293AD0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80296B74 00293AD4 7C 7C 1B 78 */ mr r28, r3 -/* 80296B78 00293AD8 39 3C 00 0C */ addi r9, r28, 0xc -/* 80296B7C 00293ADC 91 23 00 04 */ stw r9, 4(r3) -/* 80296B80 00293AE0 38 1C 00 24 */ addi r0, r28, 0x24 -/* 80296B84 00293AE4 91 23 00 08 */ stw r9, 8(r3) -/* 80296B88 00293AE8 38 7C 00 40 */ addi r3, r28, 0x40 -/* 80296B8C 00293AEC 91 29 00 00 */ stw r9, 0(r9) -/* 80296B90 00293AF0 91 3C 00 10 */ stw r9, 0x10(r28) -/* 80296B94 00293AF4 91 1C 00 14 */ stw r8, 0x14(r28) -/* 80296B98 00293AF8 90 1C 00 1C */ stw r0, 0x1c(r28) -/* 80296B9C 00293AFC 90 1C 00 20 */ stw r0, 0x20(r28) -/* 80296BA0 00293B00 90 1C 00 24 */ stw r0, 0x24(r28) -/* 80296BA4 00293B04 90 1C 00 28 */ stw r0, 0x28(r28) -/* 80296BA8 00293B08 91 1C 00 2C */ stw r8, 0x2c(r28) -/* 80296BAC 00293B0C 91 1C 00 34 */ stw r8, 0x34(r28) -/* 80296BB0 00293B10 91 1C 00 38 */ stw r8, 0x38(r28) -/* 80296BB4 00293B14 91 1C 00 3C */ stw r8, 0x3c(r28) -/* 80296BB8 00293B18 48 07 92 75 */ bl __ct__8CTextureF12ETexelFormatssi -/* 80296BBC 00293B1C 7F E4 FB 78 */ mr r4, r31 -/* 80296BC0 00293B20 38 7C 00 A8 */ addi r3, r28, 0xa8 -/* 80296BC4 00293B24 48 0A A2 E5 */ bl __ct__6CTokenFRC6CToken -/* 80296BC8 00293B28 93 BC 00 B0 */ stw r29, 0xb0(r28) -/* 80296BCC 00293B2C 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 80296BD0 00293B30 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 80296BD4 00293B34 38 00 00 00 */ li r0, 0 -/* 80296BD8 00293B38 93 DC 00 B4 */ stw r30, 0xb4(r28) -/* 80296BDC 00293B3C 38 7C 00 A8 */ addi r3, r28, 0xa8 -/* 80296BE0 00293B40 C0 04 00 00 */ lfs f0, 0(r4) -/* 80296BE4 00293B44 D0 1C 00 B8 */ stfs f0, 0xb8(r28) -/* 80296BE8 00293B48 C0 04 00 04 */ lfs f0, 4(r4) -/* 80296BEC 00293B4C D0 1C 00 BC */ stfs f0, 0xbc(r28) -/* 80296BF0 00293B50 C0 04 00 08 */ lfs f0, 8(r4) -/* 80296BF4 00293B54 D0 1C 00 C0 */ stfs f0, 0xc0(r28) -/* 80296BF8 00293B58 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80296BFC 00293B5C D0 1C 00 C4 */ stfs f0, 0xc4(r28) -/* 80296C00 00293B60 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80296C04 00293B64 D0 1C 00 C8 */ stfs f0, 0xc8(r28) -/* 80296C08 00293B68 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80296C0C 00293B6C D0 1C 00 CC */ stfs f0, 0xcc(r28) -/* 80296C10 00293B70 98 1C 00 D0 */ stb r0, 0xd0(r28) -/* 80296C14 00293B74 48 0A A1 71 */ bl Lock__6CTokenFv -/* 80296C18 00293B78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80296C1C 00293B7C 7F 83 E3 78 */ mr r3, r28 -/* 80296C20 00293B80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80296C24 00293B84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80296C28 00293B88 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80296C2C 00293B8C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80296C30 00293B90 7C 08 03 A6 */ mtlr r0 -/* 80296C34 00293B94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80296C38 00293B98 4E 80 00 20 */ blr - -.global sub_80296c3c -sub_80296c3c: -/* 80296C3C 00293B9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80296C40 00293BA0 7C 08 02 A6 */ mflr r0 -/* 80296C44 00293BA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80296C48 00293BA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80296C4C 00293BAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80296C50 00293BB0 7C 7E 1B 78 */ mr r30, r3 -/* 80296C54 00293BB4 80 03 00 04 */ lwz r0, 4(r3) -/* 80296C58 00293BB8 83 E4 00 04 */ lwz r31, 4(r4) -/* 80296C5C 00293BBC 7C 04 00 40 */ cmplw r4, r0 -/* 80296C60 00293BC0 40 82 00 08 */ bne lbl_80296C68 -/* 80296C64 00293BC4 93 FE 00 04 */ stw r31, 4(r30) -lbl_80296C68: -/* 80296C68 00293BC8 80 04 00 04 */ lwz r0, 4(r4) -/* 80296C6C 00293BCC 28 04 00 00 */ cmplwi r4, 0 -/* 80296C70 00293BD0 80 64 00 00 */ lwz r3, 0(r4) -/* 80296C74 00293BD4 90 03 00 04 */ stw r0, 4(r3) -/* 80296C78 00293BD8 80 04 00 00 */ lwz r0, 0(r4) -/* 80296C7C 00293BDC 80 64 00 04 */ lwz r3, 4(r4) -/* 80296C80 00293BE0 90 03 00 00 */ stw r0, 0(r3) -/* 80296C84 00293BE4 41 82 00 0C */ beq lbl_80296C90 -/* 80296C88 00293BE8 7C 83 23 78 */ mr r3, r4 -/* 80296C8C 00293BEC 48 07 EC A5 */ bl Free__7CMemoryFPCv -lbl_80296C90: -/* 80296C90 00293BF0 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80296C94 00293BF4 7F E3 FB 78 */ mr r3, r31 -/* 80296C98 00293BF8 38 04 FF FF */ addi r0, r4, -1 -/* 80296C9C 00293BFC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80296CA0 00293C00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80296CA4 00293C04 83 C1 00 08 */ lwz r30, 8(r1) -/* 80296CA8 00293C08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80296CAC 00293C0C 7C 08 03 A6 */ mtlr r0 -/* 80296CB0 00293C10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80296CB4 00293C14 4E 80 00 20 */ blr - -.global sub_80296cb8 -sub_80296cb8: -/* 80296CB8 00293C18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80296CBC 00293C1C 7C 08 02 A6 */ mflr r0 -/* 80296CC0 00293C20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80296CC4 00293C24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80296CC8 00293C28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80296CCC 00293C2C 7C 9E 23 78 */ mr r30, r4 -/* 80296CD0 00293C30 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80296CD4 00293C34 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80296CD8 00293C38 41 82 00 38 */ beq lbl_80296D10 -/* 80296CDC 00293C3C 83 FD 00 04 */ lwz r31, 4(r29) -/* 80296CE0 00293C40 48 00 00 14 */ b lbl_80296CF4 -lbl_80296CE4: -/* 80296CE4 00293C44 7F E3 FB 79 */ or. r3, r31, r31 -/* 80296CE8 00293C48 83 FF 00 04 */ lwz r31, 4(r31) -/* 80296CEC 00293C4C 41 82 00 08 */ beq lbl_80296CF4 -/* 80296CF0 00293C50 48 07 EC 41 */ bl Free__7CMemoryFPCv -lbl_80296CF4: -/* 80296CF4 00293C54 80 1D 00 08 */ lwz r0, 8(r29) -/* 80296CF8 00293C58 7C 1F 00 40 */ cmplw r31, r0 -/* 80296CFC 00293C5C 40 82 FF E8 */ bne lbl_80296CE4 -/* 80296D00 00293C60 7F C0 07 35 */ extsh. r0, r30 -/* 80296D04 00293C64 40 81 00 0C */ ble lbl_80296D10 -/* 80296D08 00293C68 7F A3 EB 78 */ mr r3, r29 -/* 80296D0C 00293C6C 48 07 EC 25 */ bl Free__7CMemoryFPCv -lbl_80296D10: -/* 80296D10 00293C70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80296D14 00293C74 7F A3 EB 78 */ mr r3, r29 -/* 80296D18 00293C78 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80296D1C 00293C7C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80296D20 00293C80 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80296D24 00293C84 7C 08 03 A6 */ mtlr r0 -/* 80296D28 00293C88 38 21 00 20 */ addi r1, r1, 0x20 -/* 80296D2C 00293C8C 4E 80 00 20 */ blr - -.global sub_80296d30 -sub_80296d30: -/* 80296D30 00293C90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80296D34 00293C94 7C 08 02 A6 */ mflr r0 -/* 80296D38 00293C98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80296D3C 00293C9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80296D40 00293CA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80296D44 00293CA4 7C 7E 1B 78 */ mr r30, r3 -/* 80296D48 00293CA8 80 03 00 04 */ lwz r0, 4(r3) -/* 80296D4C 00293CAC 83 E4 00 04 */ lwz r31, 4(r4) -/* 80296D50 00293CB0 7C 04 00 40 */ cmplw r4, r0 -/* 80296D54 00293CB4 40 82 00 08 */ bne lbl_80296D5C -/* 80296D58 00293CB8 93 FE 00 04 */ stw r31, 4(r30) -lbl_80296D5C: -/* 80296D5C 00293CBC 80 04 00 04 */ lwz r0, 4(r4) -/* 80296D60 00293CC0 28 04 00 00 */ cmplwi r4, 0 -/* 80296D64 00293CC4 80 64 00 00 */ lwz r3, 0(r4) -/* 80296D68 00293CC8 90 03 00 04 */ stw r0, 4(r3) -/* 80296D6C 00293CCC 80 04 00 00 */ lwz r0, 0(r4) -/* 80296D70 00293CD0 80 64 00 04 */ lwz r3, 4(r4) -/* 80296D74 00293CD4 90 03 00 00 */ stw r0, 0(r3) -/* 80296D78 00293CD8 41 82 00 0C */ beq lbl_80296D84 -/* 80296D7C 00293CDC 7C 83 23 78 */ mr r3, r4 -/* 80296D80 00293CE0 48 07 EB B1 */ bl Free__7CMemoryFPCv -lbl_80296D84: -/* 80296D84 00293CE4 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80296D88 00293CE8 7F E3 FB 78 */ mr r3, r31 -/* 80296D8C 00293CEC 38 04 FF FF */ addi r0, r4, -1 -/* 80296D90 00293CF0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80296D94 00293CF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80296D98 00293CF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80296D9C 00293CFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80296DA0 00293D00 7C 08 03 A6 */ mtlr r0 -/* 80296DA4 00293D04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80296DA8 00293D08 4E 80 00 20 */ blr - -.global sub_80296dac -sub_80296dac: -/* 80296DAC 00293D0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80296DB0 00293D10 7C 08 02 A6 */ mflr r0 -/* 80296DB4 00293D14 90 01 00 24 */ stw r0, 0x24(r1) -/* 80296DB8 00293D18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80296DBC 00293D1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80296DC0 00293D20 7C 9E 23 78 */ mr r30, r4 -/* 80296DC4 00293D24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80296DC8 00293D28 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80296DCC 00293D2C 41 82 00 38 */ beq lbl_80296E04 -/* 80296DD0 00293D30 83 FD 00 04 */ lwz r31, 4(r29) -/* 80296DD4 00293D34 48 00 00 14 */ b lbl_80296DE8 -lbl_80296DD8: -/* 80296DD8 00293D38 7F E3 FB 79 */ or. r3, r31, r31 -/* 80296DDC 00293D3C 83 FF 00 04 */ lwz r31, 4(r31) -/* 80296DE0 00293D40 41 82 00 08 */ beq lbl_80296DE8 -/* 80296DE4 00293D44 48 07 EB 4D */ bl Free__7CMemoryFPCv -lbl_80296DE8: -/* 80296DE8 00293D48 80 1D 00 08 */ lwz r0, 8(r29) -/* 80296DEC 00293D4C 7C 1F 00 40 */ cmplw r31, r0 -/* 80296DF0 00293D50 40 82 FF E8 */ bne lbl_80296DD8 -/* 80296DF4 00293D54 7F C0 07 35 */ extsh. r0, r30 -/* 80296DF8 00293D58 40 81 00 0C */ ble lbl_80296E04 -/* 80296DFC 00293D5C 7F A3 EB 78 */ mr r3, r29 -/* 80296E00 00293D60 48 07 EB 31 */ bl Free__7CMemoryFPCv -lbl_80296E04: -/* 80296E04 00293D64 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80296E08 00293D68 7F A3 EB 78 */ mr r3, r29 -/* 80296E0C 00293D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80296E10 00293D70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80296E14 00293D74 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80296E18 00293D78 7C 08 03 A6 */ mtlr r0 -/* 80296E1C 00293D7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80296E20 00293D80 4E 80 00 20 */ blr - -.global Reset__Q27CPlayer12CInputFilterFv -Reset__Q27CPlayer12CInputFilterFv: -/* 80296E24 00293D84 80 C3 00 00 */ lwz r6, 0(r3) -/* 80296E28 00293D88 38 80 00 00 */ li r4, 0 -/* 80296E2C 00293D8C 2C 06 00 00 */ cmpwi r6, 0 -/* 80296E30 00293D90 40 81 00 40 */ ble lbl_80296E70 -/* 80296E34 00293D94 2C 06 00 08 */ cmpwi r6, 8 -/* 80296E38 00293D98 38 A6 FF F8 */ addi r5, r6, -8 -/* 80296E3C 00293D9C 40 81 00 20 */ ble lbl_80296E5C -/* 80296E40 00293DA0 38 05 00 07 */ addi r0, r5, 7 -/* 80296E44 00293DA4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80296E48 00293DA8 7C 09 03 A6 */ mtctr r0 -/* 80296E4C 00293DAC 2C 05 00 00 */ cmpwi r5, 0 -/* 80296E50 00293DB0 40 81 00 0C */ ble lbl_80296E5C -lbl_80296E54: -/* 80296E54 00293DB4 38 84 00 08 */ addi r4, r4, 8 -/* 80296E58 00293DB8 42 00 FF FC */ bdnz lbl_80296E54 -lbl_80296E5C: -/* 80296E5C 00293DBC 7C 04 30 50 */ subf r0, r4, r6 -/* 80296E60 00293DC0 7C 09 03 A6 */ mtctr r0 -/* 80296E64 00293DC4 7C 04 30 00 */ cmpw r4, r6 -/* 80296E68 00293DC8 40 80 00 08 */ bge lbl_80296E70 -lbl_80296E6C: -/* 80296E6C 00293DCC 42 00 00 00 */ bdnz lbl_80296E6C -lbl_80296E70: -/* 80296E70 00293DD0 38 80 00 00 */ li r4, 0 -/* 80296E74 00293DD4 90 83 00 00 */ stw r4, 0(r3) -/* 80296E78 00293DD8 80 C3 00 54 */ lwz r6, 0x54(r3) -/* 80296E7C 00293DDC 2C 06 00 00 */ cmpwi r6, 0 -/* 80296E80 00293DE0 40 81 00 40 */ ble lbl_80296EC0 -/* 80296E84 00293DE4 2C 06 00 08 */ cmpwi r6, 8 -/* 80296E88 00293DE8 38 A6 FF F8 */ addi r5, r6, -8 -/* 80296E8C 00293DEC 40 81 00 20 */ ble lbl_80296EAC -/* 80296E90 00293DF0 38 05 00 07 */ addi r0, r5, 7 -/* 80296E94 00293DF4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80296E98 00293DF8 7C 09 03 A6 */ mtctr r0 -/* 80296E9C 00293DFC 2C 05 00 00 */ cmpwi r5, 0 -/* 80296EA0 00293E00 40 81 00 0C */ ble lbl_80296EAC -lbl_80296EA4: -/* 80296EA4 00293E04 38 84 00 08 */ addi r4, r4, 8 -/* 80296EA8 00293E08 42 00 FF FC */ bdnz lbl_80296EA4 -lbl_80296EAC: -/* 80296EAC 00293E0C 7C 04 30 50 */ subf r0, r4, r6 -/* 80296EB0 00293E10 7C 09 03 A6 */ mtctr r0 -/* 80296EB4 00293E14 7C 04 30 00 */ cmpw r4, r6 -/* 80296EB8 00293E18 40 80 00 08 */ bge lbl_80296EC0 -lbl_80296EBC: -/* 80296EBC 00293E1C 42 00 00 00 */ bdnz lbl_80296EBC -lbl_80296EC0: -/* 80296EC0 00293E20 38 80 00 00 */ li r4, 0 -/* 80296EC4 00293E24 90 83 00 54 */ stw r4, 0x54(r3) -/* 80296EC8 00293E28 80 C3 01 48 */ lwz r6, 0x148(r3) -/* 80296ECC 00293E2C 2C 06 00 00 */ cmpwi r6, 0 -/* 80296ED0 00293E30 40 81 00 40 */ ble lbl_80296F10 -/* 80296ED4 00293E34 2C 06 00 08 */ cmpwi r6, 8 -/* 80296ED8 00293E38 38 A6 FF F8 */ addi r5, r6, -8 -/* 80296EDC 00293E3C 40 81 00 20 */ ble lbl_80296EFC -/* 80296EE0 00293E40 38 05 00 07 */ addi r0, r5, 7 -/* 80296EE4 00293E44 54 00 E8 FE */ srwi r0, r0, 3 -/* 80296EE8 00293E48 7C 09 03 A6 */ mtctr r0 -/* 80296EEC 00293E4C 2C 05 00 00 */ cmpwi r5, 0 -/* 80296EF0 00293E50 40 81 00 0C */ ble lbl_80296EFC -lbl_80296EF4: -/* 80296EF4 00293E54 38 84 00 08 */ addi r4, r4, 8 -/* 80296EF8 00293E58 42 00 FF FC */ bdnz lbl_80296EF4 -lbl_80296EFC: -/* 80296EFC 00293E5C 7C 04 30 50 */ subf r0, r4, r6 -/* 80296F00 00293E60 7C 09 03 A6 */ mtctr r0 -/* 80296F04 00293E64 7C 04 30 00 */ cmpw r4, r6 -/* 80296F08 00293E68 40 80 00 08 */ bge lbl_80296F10 -lbl_80296F0C: -/* 80296F0C 00293E6C 42 00 00 00 */ bdnz lbl_80296F0C -lbl_80296F10: -/* 80296F10 00293E70 38 80 00 00 */ li r4, 0 -/* 80296F14 00293E74 90 83 01 48 */ stw r4, 0x148(r3) -/* 80296F18 00293E78 80 C3 02 3C */ lwz r6, 0x23c(r3) -/* 80296F1C 00293E7C 2C 06 00 00 */ cmpwi r6, 0 -/* 80296F20 00293E80 40 81 00 40 */ ble lbl_80296F60 -/* 80296F24 00293E84 2C 06 00 08 */ cmpwi r6, 8 -/* 80296F28 00293E88 38 A6 FF F8 */ addi r5, r6, -8 -/* 80296F2C 00293E8C 40 81 00 20 */ ble lbl_80296F4C -/* 80296F30 00293E90 38 05 00 07 */ addi r0, r5, 7 -/* 80296F34 00293E94 54 00 E8 FE */ srwi r0, r0, 3 -/* 80296F38 00293E98 7C 09 03 A6 */ mtctr r0 -/* 80296F3C 00293E9C 2C 05 00 00 */ cmpwi r5, 0 -/* 80296F40 00293EA0 40 81 00 0C */ ble lbl_80296F4C -lbl_80296F44: -/* 80296F44 00293EA4 38 84 00 08 */ addi r4, r4, 8 -/* 80296F48 00293EA8 42 00 FF FC */ bdnz lbl_80296F44 -lbl_80296F4C: -/* 80296F4C 00293EAC 7C 04 30 50 */ subf r0, r4, r6 -/* 80296F50 00293EB0 7C 09 03 A6 */ mtctr r0 -/* 80296F54 00293EB4 7C 04 30 00 */ cmpw r4, r6 -/* 80296F58 00293EB8 40 80 00 08 */ bge lbl_80296F60 -lbl_80296F5C: -/* 80296F5C 00293EBC 42 00 00 00 */ bdnz lbl_80296F5C -lbl_80296F60: -/* 80296F60 00293EC0 38 00 00 00 */ li r0, 0 -/* 80296F64 00293EC4 90 03 02 3C */ stw r0, 0x23c(r3) -/* 80296F68 00293EC8 4E 80 00 20 */ blr - -.global Passes__Q27CPlayer12CInputFilterFv -Passes__Q27CPlayer12CInputFilterFv: -/* 80296F6C 00293ECC 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80296F70 00293ED0 7C 08 02 A6 */ mflr r0 -/* 80296F74 00293ED4 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80296F78 00293ED8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 80296F7C 00293EDC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 80296F80 00293EE0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 80296F84 00293EE4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 80296F88 00293EE8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 80296F8C 00293EEC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 80296F90 00293EF0 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 80296F94 00293EF4 93 C1 01 98 */ stw r30, 0x198(r1) -/* 80296F98 00293EF8 93 A1 01 94 */ stw r29, 0x194(r1) -/* 80296F9C 00293EFC 7C 7E 1B 78 */ mr r30, r3 -/* 80296FA0 00293F00 80 03 00 00 */ lwz r0, 0(r3) -/* 80296FA4 00293F04 2C 00 00 14 */ cmpwi r0, 0x14 -/* 80296FA8 00293F08 40 82 04 0C */ bne lbl_802973B4 -/* 80296FAC 00293F0C C3 E2 BF B0 */ lfs f31, lbl_805ADCD0@sda21(r2) -/* 80296FB0 00293F10 38 61 01 0C */ addi r3, r1, 0x10c -/* 80296FB4 00293F14 38 9E 01 48 */ addi r4, r30, 0x148 -/* 80296FB8 00293F18 38 A0 00 00 */ li r5, 0 -/* 80296FBC 00293F1C 48 00 04 B1 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 80296FC0 00293F20 38 61 00 FC */ addi r3, r1, 0xfc -/* 80296FC4 00293F24 38 9E 01 48 */ addi r4, r30, 0x148 -/* 80296FC8 00293F28 38 A0 00 00 */ li r5, 0 -/* 80296FCC 00293F2C 48 00 04 A1 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 80296FD0 00293F30 38 61 01 70 */ addi r3, r1, 0x170 -/* 80296FD4 00293F34 38 81 01 0C */ addi r4, r1, 0x10c -/* 80296FD8 00293F38 38 A1 00 FC */ addi r5, r1, 0xfc -/* 80296FDC 00293F3C 48 0A 15 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80296FE0 00293F40 38 00 00 00 */ li r0, 0 -/* 80296FE4 00293F44 38 61 00 EC */ addi r3, r1, 0xec -/* 80296FE8 00293F48 98 01 01 08 */ stb r0, 0x108(r1) -/* 80296FEC 00293F4C 38 9E 00 54 */ addi r4, r30, 0x54 -/* 80296FF0 00293F50 38 A0 00 00 */ li r5, 0 -/* 80296FF4 00293F54 98 01 01 18 */ stb r0, 0x118(r1) -/* 80296FF8 00293F58 48 00 04 75 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 80296FFC 00293F5C 38 61 00 DC */ addi r3, r1, 0xdc -/* 80297000 00293F60 38 9E 00 54 */ addi r4, r30, 0x54 -/* 80297004 00293F64 38 A0 00 00 */ li r5, 0 -/* 80297008 00293F68 48 00 04 65 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 8029700C 00293F6C 38 61 01 58 */ addi r3, r1, 0x158 -/* 80297010 00293F70 38 81 00 EC */ addi r4, r1, 0xec -/* 80297014 00293F74 38 A1 00 DC */ addi r5, r1, 0xdc -/* 80297018 00293F78 48 0A 14 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8029701C 00293F7C 38 00 00 00 */ li r0, 0 -/* 80297020 00293F80 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 80297024 00293F84 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 80297028 00293F88 38 9E 02 3C */ addi r4, r30, 0x23c -/* 8029702C 00293F8C 38 A0 00 00 */ li r5, 0 -/* 80297030 00293F90 98 01 00 F8 */ stb r0, 0xf8(r1) -/* 80297034 00293F94 48 00 03 F5 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" -/* 80297038 00293F98 38 61 00 AC */ addi r3, r1, 0xac -/* 8029703C 00293F9C 38 9E 02 3C */ addi r4, r30, 0x23c -/* 80297040 00293FA0 38 A0 00 00 */ li r5, 0 -/* 80297044 00293FA4 48 00 03 E5 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" -/* 80297048 00293FA8 C0 42 BF B0 */ lfs f2, lbl_805ADCD0@sda21(r2) -/* 8029704C 00293FAC 38 61 01 40 */ addi r3, r1, 0x140 -/* 80297050 00293FB0 C0 81 00 AC */ lfs f4, 0xac(r1) -/* 80297054 00293FB4 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80297058 00293FB8 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 8029705C 00293FBC 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80297060 00293FC0 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 80297064 00293FC4 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80297068 00293FC8 D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 8029706C 00293FCC D0 61 00 BC */ stfs f3, 0xbc(r1) -/* 80297070 00293FD0 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 80297074 00293FD4 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 80297078 00293FD8 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8029707C 00293FDC D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 80297080 00293FE0 48 0A 14 89 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80297084 00293FE4 38 00 00 00 */ li r0, 0 -/* 80297088 00293FE8 38 61 00 9C */ addi r3, r1, 0x9c -/* 8029708C 00293FEC 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 80297090 00293FF0 38 9E 01 48 */ addi r4, r30, 0x148 -/* 80297094 00293FF4 3B E0 00 00 */ li r31, 0 -/* 80297098 00293FF8 38 A0 00 00 */ li r5, 0 -/* 8029709C 00293FFC 98 01 00 CC */ stb r0, 0xcc(r1) -/* 802970A0 00294000 48 00 03 CD */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 802970A4 00294004 38 61 00 9C */ addi r3, r1, 0x9c -/* 802970A8 00294008 48 07 D8 11 */ bl Magnitude__9CVector3fCFv -/* 802970AC 0029400C FC 00 08 18 */ frsp f0, f1 -/* 802970B0 00294010 38 00 00 00 */ li r0, 0 -/* 802970B4 00294014 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802970B8 00294018 3B A0 00 01 */ li r29, 1 -/* 802970BC 0029401C C3 A2 BF B4 */ lfs f29, lbl_805ADCD4@sda21(r2) -/* 802970C0 00294020 98 01 00 A8 */ stb r0, 0xa8(r1) -/* 802970C4 00294024 C3 C2 BF B0 */ lfs f30, lbl_805ADCD0@sda21(r2) -/* 802970C8 00294028 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_802970CC: -/* 802970CC 0029402C 38 61 00 8C */ addi r3, r1, 0x8c -/* 802970D0 00294030 38 9E 00 54 */ addi r4, r30, 0x54 -/* 802970D4 00294034 38 BD FF FF */ addi r5, r29, -1 -/* 802970D8 00294038 48 00 03 95 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 802970DC 0029403C 7F A5 EB 78 */ mr r5, r29 -/* 802970E0 00294040 38 61 00 7C */ addi r3, r1, 0x7c -/* 802970E4 00294044 38 9E 00 54 */ addi r4, r30, 0x54 -/* 802970E8 00294048 48 00 03 85 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 802970EC 0029404C C0 21 00 90 */ lfs f1, 0x90(r1) -/* 802970F0 00294050 38 00 00 00 */ li r0, 0 -/* 802970F4 00294054 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802970F8 00294058 C0 61 00 8C */ lfs f3, 0x8c(r1) -/* 802970FC 0029405C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80297100 00294060 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80297104 00294064 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80297108 00294068 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8029710C 0029406C C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80297110 00294070 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80297114 00294074 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80297118 00294078 98 01 00 88 */ stb r0, 0x88(r1) -/* 8029711C 0029407C EC 03 00 FA */ fmadds f0, f3, f3, f0 -/* 80297120 00294080 98 01 00 98 */ stb r0, 0x98(r1) -/* 80297124 00294084 EC 21 00 7A */ fmadds f1, f1, f1, f0 -/* 80297128 00294088 FC 01 E8 40 */ fcmpo cr0, f1, f29 -/* 8029712C 0029408C 40 81 00 24 */ ble lbl_80297150 -/* 80297130 00294090 C0 02 BF B0 */ lfs f0, lbl_805ADCD0@sda21(r2) -/* 80297134 00294094 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80297138 00294098 40 82 00 08 */ bne lbl_80297140 -/* 8029713C 0029409C 48 00 00 10 */ b lbl_8029714C -lbl_80297140: -/* 80297140 002940A0 FC 00 08 34 */ frsqrte f0, f1 -/* 80297144 002940A4 FC 01 00 32 */ fmul f0, f1, f0 -/* 80297148 002940A8 FC 00 00 18 */ frsp f0, f0 -lbl_8029714C: -/* 8029714C 002940AC EF FF 00 2A */ fadds f31, f31, f0 -lbl_80297150: -/* 80297150 002940B0 7F A5 EB 78 */ mr r5, r29 -/* 80297154 002940B4 38 61 00 6C */ addi r3, r1, 0x6c -/* 80297158 002940B8 38 9E 00 54 */ addi r4, r30, 0x54 -/* 8029715C 002940BC 48 00 03 11 */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 80297160 002940C0 38 61 01 58 */ addi r3, r1, 0x158 -/* 80297164 002940C4 38 81 00 6C */ addi r4, r1, 0x6c -/* 80297168 002940C8 48 0A 09 A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8029716C 002940CC 38 00 00 00 */ li r0, 0 -/* 80297170 002940D0 7F A5 EB 78 */ mr r5, r29 -/* 80297174 002940D4 98 01 00 78 */ stb r0, 0x78(r1) -/* 80297178 002940D8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029717C 002940DC 38 9E 01 48 */ addi r4, r30, 0x148 -/* 80297180 002940E0 48 00 02 ED */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -/* 80297184 002940E4 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 80297188 002940E8 38 00 00 00 */ li r0, 0 -/* 8029718C 002940EC C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80297190 002940F0 38 61 01 70 */ addi r3, r1, 0x170 -/* 80297194 002940F4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80297198 002940F8 38 81 01 1C */ addi r4, r1, 0x11c -/* 8029719C 002940FC D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 802971A0 00294100 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 802971A4 00294104 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 802971A8 00294108 98 01 00 68 */ stb r0, 0x68(r1) -/* 802971AC 0029410C 48 0A 09 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802971B0 00294110 38 61 01 1C */ addi r3, r1, 0x11c -/* 802971B4 00294114 48 07 D7 05 */ bl Magnitude__9CVector3fCFv -/* 802971B8 00294118 FC 40 08 18 */ frsp f2, f1 -/* 802971BC 0029411C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802971C0 00294120 D0 21 00 08 */ stfs f1, 8(r1) -/* 802971C4 00294124 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802971C8 00294128 40 80 00 0C */ bge lbl_802971D4 -/* 802971CC 0029412C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802971D0 00294130 48 00 00 08 */ b lbl_802971D8 -lbl_802971D4: -/* 802971D4 00294134 38 61 00 08 */ addi r3, r1, 8 -lbl_802971D8: -/* 802971D8 00294138 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802971DC 0029413C C0 23 00 00 */ lfs f1, 0(r3) -/* 802971E0 00294140 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802971E4 00294144 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802971E8 00294148 40 80 00 0C */ bge lbl_802971F4 -/* 802971EC 0029414C 38 61 00 0C */ addi r3, r1, 0xc -/* 802971F0 00294150 48 00 00 08 */ b lbl_802971F8 -lbl_802971F4: -/* 802971F4 00294154 38 61 00 08 */ addi r3, r1, 8 -lbl_802971F8: -/* 802971F8 00294158 C0 03 00 00 */ lfs f0, 0(r3) -/* 802971FC 0029415C 7F A5 EB 78 */ mr r5, r29 -/* 80297200 00294160 38 61 00 44 */ addi r3, r1, 0x44 -/* 80297204 00294164 38 9E 02 3C */ addi r4, r30, 0x23c -/* 80297208 00294168 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8029720C 0029416C 48 00 02 1D */ bl "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" -/* 80297210 00294170 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 80297214 00294174 38 61 01 40 */ addi r3, r1, 0x140 -/* 80297218 00294178 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8029721C 0029417C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80297220 00294180 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80297224 00294184 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80297228 00294188 D3 C1 00 58 */ stfs f30, 0x58(r1) -/* 8029722C 0029418C 48 0A 08 DD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80297230 00294190 38 00 00 00 */ li r0, 0 -/* 80297234 00294194 7F C4 F3 78 */ mr r4, r30 -/* 80297238 00294198 98 01 00 4C */ stb r0, 0x4c(r1) -/* 8029723C 0029419C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80297240 002941A0 38 BD FF FF */ addi r5, r29, -1 -/* 80297244 002941A4 48 00 01 A9 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" -/* 80297248 002941A8 7F C4 F3 78 */ mr r4, r30 -/* 8029724C 002941AC 7F A5 EB 78 */ mr r5, r29 -/* 80297250 002941B0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80297254 002941B4 48 00 01 99 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" -/* 80297258 002941B8 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8029725C 002941BC 38 00 00 00 */ li r0, 0 -/* 80297260 002941C0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80297264 002941C4 3B BD 00 01 */ addi r29, r29, 1 -/* 80297268 002941C8 2C 1D 00 14 */ cmpwi r29, 0x14 -/* 8029726C 002941CC 98 01 00 20 */ stb r0, 0x20(r1) -/* 80297270 002941D0 7C 85 18 50 */ subf r4, r5, r3 -/* 80297274 002941D4 7C 63 28 50 */ subf r3, r3, r5 -/* 80297278 002941D8 7C 83 1B 78 */ or r3, r4, r3 -/* 8029727C 002941DC 98 01 00 28 */ stb r0, 0x28(r1) -/* 80297280 002941E0 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80297284 002941E4 7F FF 1A 14 */ add r31, r31, r3 -/* 80297288 002941E8 41 80 FE 44 */ blt lbl_802970CC -/* 8029728C 002941EC C0 22 BF B8 */ lfs f1, lbl_805ADCD8@sda21(r2) -/* 80297290 002941F0 3B A0 00 01 */ li r29, 1 -/* 80297294 002941F4 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 80297298 002941F8 41 80 00 18 */ blt lbl_802972B0 -/* 8029729C 002941FC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802972A0 00294200 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802972A4 00294204 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802972A8 00294208 41 80 00 08 */ blt lbl_802972B0 -/* 802972AC 0029420C 7C 1D 03 78 */ mr r29, r0 -lbl_802972B0: -/* 802972B0 00294210 2C 1F 00 00 */ cmpwi r31, 0 -/* 802972B4 00294214 40 82 01 00 */ bne lbl_802973B4 -/* 802972B8 00294218 7F C4 F3 78 */ mr r4, r30 -/* 802972BC 0029421C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802972C0 00294220 38 A0 00 00 */ li r5, 0 -/* 802972C4 00294224 48 00 01 29 */ bl "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" -/* 802972C8 00294228 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802972CC 0029422C 38 00 00 00 */ li r0, 0 -/* 802972D0 00294230 98 01 00 18 */ stb r0, 0x18(r1) -/* 802972D4 00294234 20 03 00 01 */ subfic r0, r3, 1 -/* 802972D8 00294238 7C 00 00 34 */ cntlzw r0, r0 -/* 802972DC 0029423C 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 802972E0 00294240 41 82 00 D4 */ beq lbl_802973B4 -/* 802972E4 00294244 C0 21 01 4C */ lfs f1, 0x14c(r1) -/* 802972E8 00294248 3B C1 01 4C */ addi r30, r1, 0x14c -/* 802972EC 0029424C C0 01 01 40 */ lfs f0, 0x140(r1) -/* 802972F0 00294250 38 61 00 38 */ addi r3, r1, 0x38 -/* 802972F4 00294254 C0 61 01 50 */ lfs f3, 0x150(r1) -/* 802972F8 00294258 C0 41 01 44 */ lfs f2, 0x144(r1) -/* 802972FC 0029425C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80297300 00294260 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 80297304 00294264 C0 01 01 48 */ lfs f0, 0x148(r1) -/* 80297308 00294268 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8029730C 0029426C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 80297310 00294270 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80297314 00294274 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80297318 00294278 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8029731C 0029427C 48 07 D5 9D */ bl Magnitude__9CVector3fCFv -/* 80297320 00294280 FF E0 08 90 */ fmr f31, f1 -/* 80297324 00294284 7F C5 F3 78 */ mr r5, r30 -/* 80297328 00294288 38 61 01 28 */ addi r3, r1, 0x128 -/* 8029732C 0029428C 38 81 01 40 */ addi r4, r1, 0x140 -/* 80297330 00294290 48 0A 11 D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80297334 00294294 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80297338 00294298 38 61 01 28 */ addi r3, r1, 0x128 -/* 8029733C 0029429C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 80297340 002942A0 48 0A 07 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80297344 002942A4 C0 21 01 34 */ lfs f1, 0x134(r1) -/* 80297348 002942A8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029734C 002942AC C0 01 01 28 */ lfs f0, 0x128(r1) -/* 80297350 002942B0 C0 61 01 38 */ lfs f3, 0x138(r1) -/* 80297354 002942B4 C0 41 01 2C */ lfs f2, 0x12c(r1) -/* 80297358 002942B8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8029735C 002942BC C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 80297360 002942C0 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 80297364 002942C4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80297368 002942C8 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8029736C 002942CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80297370 002942D0 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80297374 002942D4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80297378 002942D8 48 07 D5 41 */ bl Magnitude__9CVector3fCFv -/* 8029737C 002942DC C0 02 BF BC */ lfs f0, lbl_805ADCDC@sda21(r2) -/* 80297380 002942E0 38 60 00 01 */ li r3, 1 -/* 80297384 002942E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80297388 002942E8 41 80 00 14 */ blt lbl_8029739C -/* 8029738C 002942EC C0 02 BF C0 */ lfs f0, lbl_805ADCE0@sda21(r2) -/* 80297390 002942F0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80297394 002942F4 41 81 00 08 */ bgt lbl_8029739C -/* 80297398 002942F8 38 60 00 00 */ li r3, 0 -lbl_8029739C: -/* 8029739C 002942FC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802973A0 00294300 41 82 00 14 */ beq lbl_802973B4 -/* 802973A4 00294304 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802973A8 00294308 41 82 00 0C */ beq lbl_802973B4 -/* 802973AC 0029430C 38 60 00 01 */ li r3, 1 -/* 802973B0 00294310 48 00 00 08 */ b lbl_802973B8 -lbl_802973B4: -/* 802973B4 00294314 38 60 00 00 */ li r3, 0 -lbl_802973B8: -/* 802973B8 00294318 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 802973BC 0029431C CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 802973C0 00294320 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 802973C4 00294324 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 802973C8 00294328 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 802973CC 0029432C CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 802973D0 00294330 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 802973D4 00294334 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 802973D8 00294338 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 802973DC 0029433C 83 A1 01 94 */ lwz r29, 0x194(r1) -/* 802973E0 00294340 7C 08 03 A6 */ mtlr r0 -/* 802973E4 00294344 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 802973E8 00294348 4E 80 00 20 */ blr - -.global "_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori" -"_getElementBoundsCheck>__FRCQ24rstl18reserved_vectori": -/* 802973EC 0029434C 80 04 00 00 */ lwz r0, 0(r4) -/* 802973F0 00294350 7C 05 00 00 */ cmpw r5, r0 -/* 802973F4 00294354 41 80 00 10 */ blt lbl_80297404 -/* 802973F8 00294358 38 00 00 00 */ li r0, 0 -/* 802973FC 0029435C 98 03 00 04 */ stb r0, 4(r3) -/* 80297400 00294360 4E 80 00 20 */ blr -lbl_80297404: -/* 80297404 00294364 38 00 00 01 */ li r0, 1 -/* 80297408 00294368 28 03 00 00 */ cmplwi r3, 0 -/* 8029740C 0029436C 54 A5 10 3A */ slwi r5, r5, 2 -/* 80297410 00294370 98 03 00 04 */ stb r0, 4(r3) -/* 80297414 00294374 7C 84 2A 14 */ add r4, r4, r5 -/* 80297418 00294378 4D 82 00 20 */ beqlr -/* 8029741C 0029437C 80 04 00 04 */ lwz r0, 4(r4) -/* 80297420 00294380 90 03 00 00 */ stw r0, 0(r3) -/* 80297424 00294384 4E 80 00 20 */ blr - -.global "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i" -"_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector2f>i": -/* 80297428 00294388 80 04 00 00 */ lwz r0, 0(r4) -/* 8029742C 0029438C 7C 05 00 00 */ cmpw r5, r0 -/* 80297430 00294390 41 80 00 10 */ blt lbl_80297440 -/* 80297434 00294394 38 00 00 00 */ li r0, 0 -/* 80297438 00294398 98 03 00 08 */ stb r0, 8(r3) -/* 8029743C 0029439C 4E 80 00 20 */ blr -lbl_80297440: -/* 80297440 002943A0 38 00 00 01 */ li r0, 1 -/* 80297444 002943A4 28 03 00 00 */ cmplwi r3, 0 -/* 80297448 002943A8 54 A5 18 38 */ slwi r5, r5, 3 -/* 8029744C 002943AC 98 03 00 08 */ stb r0, 8(r3) -/* 80297450 002943B0 7C 84 2A 14 */ add r4, r4, r5 -/* 80297454 002943B4 4D 82 00 20 */ beqlr -/* 80297458 002943B8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8029745C 002943BC D0 03 00 00 */ stfs f0, 0(r3) -/* 80297460 002943C0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80297464 002943C4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80297468 002943C8 4E 80 00 20 */ blr - -.global "_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i" -"_getElementBoundsCheck>__FRCQ24rstl27reserved_vector<9CVector3f>i": -/* 8029746C 002943CC 80 04 00 00 */ lwz r0, 0(r4) -/* 80297470 002943D0 7C 05 00 00 */ cmpw r5, r0 -/* 80297474 002943D4 41 80 00 10 */ blt lbl_80297484 -/* 80297478 002943D8 38 00 00 00 */ li r0, 0 -/* 8029747C 002943DC 98 03 00 0C */ stb r0, 0xc(r3) -/* 80297480 002943E0 4E 80 00 20 */ blr -lbl_80297484: -/* 80297484 002943E4 1C A5 00 0C */ mulli r5, r5, 0xc -/* 80297488 002943E8 38 00 00 01 */ li r0, 1 -/* 8029748C 002943EC 28 03 00 00 */ cmplwi r3, 0 -/* 80297490 002943F0 98 03 00 0C */ stb r0, 0xc(r3) -/* 80297494 002943F4 7C 84 2A 14 */ add r4, r4, r5 -/* 80297498 002943F8 4D 82 00 20 */ beqlr -/* 8029749C 002943FC C0 04 00 04 */ lfs f0, 4(r4) -/* 802974A0 00294400 D0 03 00 00 */ stfs f0, 0(r3) -/* 802974A4 00294404 C0 04 00 08 */ lfs f0, 8(r4) -/* 802974A8 00294408 D0 03 00 04 */ stfs f0, 4(r3) -/* 802974AC 0029440C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802974B0 00294410 D0 03 00 08 */ stfs f0, 8(r3) -/* 802974B4 00294414 4E 80 00 20 */ blr - -.global AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f -AddSample__Q27CPlayer12CInputFilterFiRC9CVector3fRC9CVector3fRC9CVector2f: -/* 802974B8 00294418 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802974BC 0029441C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802974C0 00294420 80 03 00 00 */ lwz r0, 0(r3) -/* 802974C4 00294424 2C 00 00 14 */ cmpwi r0, 0x14 -/* 802974C8 00294428 40 80 00 24 */ bge lbl_802974EC -/* 802974CC 0029442C 54 00 10 3A */ slwi r0, r0, 2 -/* 802974D0 00294430 7D 03 02 14 */ add r8, r3, r0 -/* 802974D4 00294434 35 08 00 04 */ addic. r8, r8, 4 -/* 802974D8 00294438 41 82 00 08 */ beq lbl_802974E0 -/* 802974DC 0029443C 90 88 00 00 */ stw r4, 0(r8) -lbl_802974E0: -/* 802974E0 00294440 81 03 00 00 */ lwz r8, 0(r3) -/* 802974E4 00294444 38 08 00 01 */ addi r0, r8, 1 -/* 802974E8 00294448 90 03 00 00 */ stw r0, 0(r3) -lbl_802974EC: -/* 802974EC 0029444C 81 03 00 00 */ lwz r8, 0(r3) -/* 802974F0 00294450 35 88 FF FF */ addic. r12, r8, -1 -/* 802974F4 00294454 55 80 10 3A */ slwi r0, r12, 2 -/* 802974F8 00294458 7D 88 63 78 */ mr r8, r12 -/* 802974FC 0029445C 7F E3 02 14 */ add r31, r3, r0 -/* 80297500 00294460 3B FF 00 04 */ addi r31, r31, 4 -/* 80297504 00294464 40 81 00 E8 */ ble lbl_802975EC -/* 80297508 00294468 55 80 E8 FF */ rlwinm. r0, r12, 0x1d, 3, 0x1f -/* 8029750C 0029446C 7C 09 03 A6 */ mtctr r0 -/* 80297510 00294470 41 82 00 B8 */ beq lbl_802975C8 -lbl_80297514: -/* 80297514 00294474 39 6C FF FF */ addi r11, r12, -1 -/* 80297518 00294478 55 6A 10 3A */ slwi r10, r11, 2 -/* 8029751C 0029447C 7D 23 52 14 */ add r9, r3, r10 -/* 80297520 00294480 39 6C FF FE */ addi r11, r12, -2 -/* 80297524 00294484 80 09 00 04 */ lwz r0, 4(r9) -/* 80297528 00294488 55 6A 10 3A */ slwi r10, r11, 2 -/* 8029752C 0029448C 7D 23 52 14 */ add r9, r3, r10 -/* 80297530 00294490 39 6C FF FD */ addi r11, r12, -3 -/* 80297534 00294494 90 1F 00 00 */ stw r0, 0(r31) -/* 80297538 00294498 55 6A 10 3A */ slwi r10, r11, 2 -/* 8029753C 0029449C 39 6C FF FC */ addi r11, r12, -4 -/* 80297540 002944A0 80 09 00 04 */ lwz r0, 4(r9) -/* 80297544 002944A4 7D 23 52 14 */ add r9, r3, r10 -/* 80297548 002944A8 55 6A 10 3A */ slwi r10, r11, 2 -/* 8029754C 002944AC 39 6C FF FB */ addi r11, r12, -5 -/* 80297550 002944B0 90 1F FF FC */ stw r0, -4(r31) -/* 80297554 002944B4 80 09 00 04 */ lwz r0, 4(r9) -/* 80297558 002944B8 7D 23 52 14 */ add r9, r3, r10 -/* 8029755C 002944BC 55 6A 10 3A */ slwi r10, r11, 2 -/* 80297560 002944C0 39 6C FF FA */ addi r11, r12, -6 -/* 80297564 002944C4 90 1F FF F8 */ stw r0, -8(r31) -/* 80297568 002944C8 80 09 00 04 */ lwz r0, 4(r9) -/* 8029756C 002944CC 7D 23 52 14 */ add r9, r3, r10 -/* 80297570 002944D0 55 6A 10 3A */ slwi r10, r11, 2 -/* 80297574 002944D4 39 6C FF F9 */ addi r11, r12, -7 -/* 80297578 002944D8 90 1F FF F4 */ stw r0, -0xc(r31) -/* 8029757C 002944DC 80 09 00 04 */ lwz r0, 4(r9) -/* 80297580 002944E0 7D 23 52 14 */ add r9, r3, r10 -/* 80297584 002944E4 55 6A 10 3A */ slwi r10, r11, 2 -/* 80297588 002944E8 39 6C FF F8 */ addi r11, r12, -8 -/* 8029758C 002944EC 90 1F FF F0 */ stw r0, -0x10(r31) -/* 80297590 002944F0 39 8C FF F8 */ addi r12, r12, -8 -/* 80297594 002944F4 80 09 00 04 */ lwz r0, 4(r9) -/* 80297598 002944F8 7D 23 52 14 */ add r9, r3, r10 -/* 8029759C 002944FC 55 6A 10 3A */ slwi r10, r11, 2 -/* 802975A0 00294500 90 1F FF EC */ stw r0, -0x14(r31) -/* 802975A4 00294504 80 09 00 04 */ lwz r0, 4(r9) -/* 802975A8 00294508 7D 23 52 14 */ add r9, r3, r10 -/* 802975AC 0029450C 90 1F FF E8 */ stw r0, -0x18(r31) -/* 802975B0 00294510 80 09 00 04 */ lwz r0, 4(r9) -/* 802975B4 00294514 90 1F FF E4 */ stw r0, -0x1c(r31) -/* 802975B8 00294518 3B FF FF E0 */ addi r31, r31, -32 -/* 802975BC 0029451C 42 00 FF 58 */ bdnz lbl_80297514 -/* 802975C0 00294520 71 08 00 07 */ andi. r8, r8, 7 -/* 802975C4 00294524 41 82 00 28 */ beq lbl_802975EC -lbl_802975C8: -/* 802975C8 00294528 7D 09 03 A6 */ mtctr r8 -lbl_802975CC: -/* 802975CC 0029452C 39 6C FF FF */ addi r11, r12, -1 -/* 802975D0 00294530 39 8C FF FF */ addi r12, r12, -1 -/* 802975D4 00294534 55 6A 10 3A */ slwi r10, r11, 2 -/* 802975D8 00294538 7D 23 52 14 */ add r9, r3, r10 -/* 802975DC 0029453C 80 09 00 04 */ lwz r0, 4(r9) -/* 802975E0 00294540 90 1F 00 00 */ stw r0, 0(r31) -/* 802975E4 00294544 3B FF FF FC */ addi r31, r31, -4 -/* 802975E8 00294548 42 00 FF E4 */ bdnz lbl_802975CC -lbl_802975EC: -/* 802975EC 0029454C 90 83 00 04 */ stw r4, 4(r3) -/* 802975F0 00294550 80 03 00 54 */ lwz r0, 0x54(r3) -/* 802975F4 00294554 2C 00 00 14 */ cmpwi r0, 0x14 -/* 802975F8 00294558 40 80 00 38 */ bge lbl_80297630 -/* 802975FC 0029455C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80297600 00294560 7C 83 02 14 */ add r4, r3, r0 -/* 80297604 00294564 34 84 00 58 */ addic. r4, r4, 0x58 -/* 80297608 00294568 41 82 00 1C */ beq lbl_80297624 -/* 8029760C 0029456C C0 05 00 00 */ lfs f0, 0(r5) -/* 80297610 00294570 D0 04 00 00 */ stfs f0, 0(r4) -/* 80297614 00294574 C0 05 00 04 */ lfs f0, 4(r5) -/* 80297618 00294578 D0 04 00 04 */ stfs f0, 4(r4) -/* 8029761C 0029457C C0 05 00 08 */ lfs f0, 8(r5) -/* 80297620 00294580 D0 04 00 08 */ stfs f0, 8(r4) -lbl_80297624: -/* 80297624 00294584 80 83 00 54 */ lwz r4, 0x54(r3) -/* 80297628 00294588 38 04 00 01 */ addi r0, r4, 1 -/* 8029762C 0029458C 90 03 00 54 */ stw r0, 0x54(r3) -lbl_80297630: -/* 80297630 00294590 80 83 00 54 */ lwz r4, 0x54(r3) -/* 80297634 00294594 39 83 00 58 */ addi r12, r3, 0x58 -/* 80297638 00294598 35 24 FF FF */ addic. r9, r4, -1 -/* 8029763C 0029459C 1C 09 00 0C */ mulli r0, r9, 0xc -/* 80297640 002945A0 7D 24 4B 78 */ mr r4, r9 -/* 80297644 002945A4 7D 6C 02 14 */ add r11, r12, r0 -/* 80297648 002945A8 40 81 00 E8 */ ble lbl_80297730 -/* 8029764C 002945AC 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f -/* 80297650 002945B0 7C 09 03 A6 */ mtctr r0 -/* 80297654 002945B4 41 82 00 A8 */ beq lbl_802976FC -lbl_80297658: -/* 80297658 002945B8 39 09 FF FF */ addi r8, r9, -1 -/* 8029765C 002945BC 1C 08 00 0C */ mulli r0, r8, 0xc -/* 80297660 002945C0 39 09 FF FE */ addi r8, r9, -2 -/* 80297664 002945C4 7D 4C 02 14 */ add r10, r12, r0 -/* 80297668 002945C8 C0 0A 00 00 */ lfs f0, 0(r10) -/* 8029766C 002945CC 1C 08 00 0C */ mulli r0, r8, 0xc -/* 80297670 002945D0 39 09 FF FD */ addi r8, r9, -3 -/* 80297674 002945D4 D0 0B 00 00 */ stfs f0, 0(r11) -/* 80297678 002945D8 C0 0A 00 04 */ lfs f0, 4(r10) -/* 8029767C 002945DC D0 0B 00 04 */ stfs f0, 4(r11) -/* 80297680 002945E0 C0 0A 00 08 */ lfs f0, 8(r10) -/* 80297684 002945E4 7D 4C 02 14 */ add r10, r12, r0 -/* 80297688 002945E8 1C 08 00 0C */ mulli r0, r8, 0xc -/* 8029768C 002945EC 39 09 FF FC */ addi r8, r9, -4 -/* 80297690 002945F0 D0 0B 00 08 */ stfs f0, 8(r11) -/* 80297694 002945F4 39 29 FF FC */ addi r9, r9, -4 -/* 80297698 002945F8 C0 0A 00 00 */ lfs f0, 0(r10) -/* 8029769C 002945FC D0 0B FF F4 */ stfs f0, -0xc(r11) -/* 802976A0 00294600 C0 0A 00 04 */ lfs f0, 4(r10) -/* 802976A4 00294604 D0 0B FF F8 */ stfs f0, -8(r11) -/* 802976A8 00294608 C0 0A 00 08 */ lfs f0, 8(r10) -/* 802976AC 0029460C 7D 4C 02 14 */ add r10, r12, r0 -/* 802976B0 00294610 1C 08 00 0C */ mulli r0, r8, 0xc -/* 802976B4 00294614 D0 0B FF FC */ stfs f0, -4(r11) -/* 802976B8 00294618 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802976BC 0029461C D0 0B FF E8 */ stfs f0, -0x18(r11) -/* 802976C0 00294620 C0 0A 00 04 */ lfs f0, 4(r10) -/* 802976C4 00294624 D0 0B FF EC */ stfs f0, -0x14(r11) -/* 802976C8 00294628 C0 0A 00 08 */ lfs f0, 8(r10) -/* 802976CC 0029462C 7D 4C 02 14 */ add r10, r12, r0 -/* 802976D0 00294630 D0 0B FF F0 */ stfs f0, -0x10(r11) -/* 802976D4 00294634 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802976D8 00294638 D0 0B FF DC */ stfs f0, -0x24(r11) -/* 802976DC 0029463C C0 0A 00 04 */ lfs f0, 4(r10) -/* 802976E0 00294640 D0 0B FF E0 */ stfs f0, -0x20(r11) -/* 802976E4 00294644 C0 0A 00 08 */ lfs f0, 8(r10) -/* 802976E8 00294648 D0 0B FF E4 */ stfs f0, -0x1c(r11) -/* 802976EC 0029464C 39 6B FF D0 */ addi r11, r11, -48 -/* 802976F0 00294650 42 00 FF 68 */ bdnz lbl_80297658 -/* 802976F4 00294654 70 84 00 03 */ andi. r4, r4, 3 -/* 802976F8 00294658 41 82 00 38 */ beq lbl_80297730 -lbl_802976FC: -/* 802976FC 0029465C 7C 89 03 A6 */ mtctr r4 -lbl_80297700: -/* 80297700 00294660 39 09 FF FF */ addi r8, r9, -1 -/* 80297704 00294664 39 29 FF FF */ addi r9, r9, -1 -/* 80297708 00294668 1C 08 00 0C */ mulli r0, r8, 0xc -/* 8029770C 0029466C 7D 4C 02 14 */ add r10, r12, r0 -/* 80297710 00294670 C0 0A 00 00 */ lfs f0, 0(r10) -/* 80297714 00294674 D0 0B 00 00 */ stfs f0, 0(r11) -/* 80297718 00294678 C0 0A 00 04 */ lfs f0, 4(r10) -/* 8029771C 0029467C D0 0B 00 04 */ stfs f0, 4(r11) -/* 80297720 00294680 C0 0A 00 08 */ lfs f0, 8(r10) -/* 80297724 00294684 D0 0B 00 08 */ stfs f0, 8(r11) -/* 80297728 00294688 39 6B FF F4 */ addi r11, r11, -12 -/* 8029772C 0029468C 42 00 FF D4 */ bdnz lbl_80297700 -lbl_80297730: -/* 80297730 00294690 C0 05 00 00 */ lfs f0, 0(r5) -/* 80297734 00294694 D0 0C 00 00 */ stfs f0, 0(r12) -/* 80297738 00294698 C0 05 00 04 */ lfs f0, 4(r5) -/* 8029773C 0029469C D0 0C 00 04 */ stfs f0, 4(r12) -/* 80297740 002946A0 C0 05 00 08 */ lfs f0, 8(r5) -/* 80297744 002946A4 D0 0C 00 08 */ stfs f0, 8(r12) -/* 80297748 002946A8 80 03 01 48 */ lwz r0, 0x148(r3) -/* 8029774C 002946AC 2C 00 00 14 */ cmpwi r0, 0x14 -/* 80297750 002946B0 40 80 00 38 */ bge lbl_80297788 -/* 80297754 002946B4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80297758 002946B8 7C 83 02 14 */ add r4, r3, r0 -/* 8029775C 002946BC 34 84 01 4C */ addic. r4, r4, 0x14c -/* 80297760 002946C0 41 82 00 1C */ beq lbl_8029777C -/* 80297764 002946C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 80297768 002946C8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8029776C 002946CC C0 06 00 04 */ lfs f0, 4(r6) -/* 80297770 002946D0 D0 04 00 04 */ stfs f0, 4(r4) -/* 80297774 002946D4 C0 06 00 08 */ lfs f0, 8(r6) -/* 80297778 002946D8 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8029777C: -/* 8029777C 002946DC 80 83 01 48 */ lwz r4, 0x148(r3) -/* 80297780 002946E0 38 04 00 01 */ addi r0, r4, 1 -/* 80297784 002946E4 90 03 01 48 */ stw r0, 0x148(r3) -lbl_80297788: -/* 80297788 002946E8 80 83 01 48 */ lwz r4, 0x148(r3) -/* 8029778C 002946EC 39 63 01 4C */ addi r11, r3, 0x14c -/* 80297790 002946F0 35 04 FF FF */ addic. r8, r4, -1 -/* 80297794 002946F4 1C 08 00 0C */ mulli r0, r8, 0xc -/* 80297798 002946F8 7D 04 43 78 */ mr r4, r8 -/* 8029779C 002946FC 7D 4B 02 14 */ add r10, r11, r0 -/* 802977A0 00294700 40 81 00 E8 */ ble lbl_80297888 -/* 802977A4 00294704 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f -/* 802977A8 00294708 7C 09 03 A6 */ mtctr r0 -/* 802977AC 0029470C 41 82 00 A8 */ beq lbl_80297854 -lbl_802977B0: -/* 802977B0 00294710 38 A8 FF FF */ addi r5, r8, -1 -/* 802977B4 00294714 1C 05 00 0C */ mulli r0, r5, 0xc -/* 802977B8 00294718 38 A8 FF FE */ addi r5, r8, -2 -/* 802977BC 0029471C 7D 2B 02 14 */ add r9, r11, r0 -/* 802977C0 00294720 C0 09 00 00 */ lfs f0, 0(r9) -/* 802977C4 00294724 1C 05 00 0C */ mulli r0, r5, 0xc -/* 802977C8 00294728 38 A8 FF FD */ addi r5, r8, -3 -/* 802977CC 0029472C D0 0A 00 00 */ stfs f0, 0(r10) -/* 802977D0 00294730 C0 09 00 04 */ lfs f0, 4(r9) -/* 802977D4 00294734 D0 0A 00 04 */ stfs f0, 4(r10) -/* 802977D8 00294738 C0 09 00 08 */ lfs f0, 8(r9) -/* 802977DC 0029473C 7D 2B 02 14 */ add r9, r11, r0 -/* 802977E0 00294740 1C 05 00 0C */ mulli r0, r5, 0xc -/* 802977E4 00294744 38 A8 FF FC */ addi r5, r8, -4 -/* 802977E8 00294748 D0 0A 00 08 */ stfs f0, 8(r10) -/* 802977EC 0029474C 39 08 FF FC */ addi r8, r8, -4 -/* 802977F0 00294750 C0 09 00 00 */ lfs f0, 0(r9) -/* 802977F4 00294754 D0 0A FF F4 */ stfs f0, -0xc(r10) -/* 802977F8 00294758 C0 09 00 04 */ lfs f0, 4(r9) -/* 802977FC 0029475C D0 0A FF F8 */ stfs f0, -8(r10) -/* 80297800 00294760 C0 09 00 08 */ lfs f0, 8(r9) -/* 80297804 00294764 7D 2B 02 14 */ add r9, r11, r0 -/* 80297808 00294768 1C 05 00 0C */ mulli r0, r5, 0xc -/* 8029780C 0029476C D0 0A FF FC */ stfs f0, -4(r10) -/* 80297810 00294770 C0 09 00 00 */ lfs f0, 0(r9) -/* 80297814 00294774 D0 0A FF E8 */ stfs f0, -0x18(r10) -/* 80297818 00294778 C0 09 00 04 */ lfs f0, 4(r9) -/* 8029781C 0029477C D0 0A FF EC */ stfs f0, -0x14(r10) -/* 80297820 00294780 C0 09 00 08 */ lfs f0, 8(r9) -/* 80297824 00294784 7D 2B 02 14 */ add r9, r11, r0 -/* 80297828 00294788 D0 0A FF F0 */ stfs f0, -0x10(r10) -/* 8029782C 0029478C C0 09 00 00 */ lfs f0, 0(r9) -/* 80297830 00294790 D0 0A FF DC */ stfs f0, -0x24(r10) -/* 80297834 00294794 C0 09 00 04 */ lfs f0, 4(r9) -/* 80297838 00294798 D0 0A FF E0 */ stfs f0, -0x20(r10) -/* 8029783C 0029479C C0 09 00 08 */ lfs f0, 8(r9) -/* 80297840 002947A0 D0 0A FF E4 */ stfs f0, -0x1c(r10) -/* 80297844 002947A4 39 4A FF D0 */ addi r10, r10, -48 -/* 80297848 002947A8 42 00 FF 68 */ bdnz lbl_802977B0 -/* 8029784C 002947AC 70 84 00 03 */ andi. r4, r4, 3 -/* 80297850 002947B0 41 82 00 38 */ beq lbl_80297888 -lbl_80297854: -/* 80297854 002947B4 7C 89 03 A6 */ mtctr r4 -lbl_80297858: -/* 80297858 002947B8 38 A8 FF FF */ addi r5, r8, -1 -/* 8029785C 002947BC 39 08 FF FF */ addi r8, r8, -1 -/* 80297860 002947C0 1C 05 00 0C */ mulli r0, r5, 0xc -/* 80297864 002947C4 7D 2B 02 14 */ add r9, r11, r0 -/* 80297868 002947C8 C0 09 00 00 */ lfs f0, 0(r9) -/* 8029786C 002947CC D0 0A 00 00 */ stfs f0, 0(r10) -/* 80297870 002947D0 C0 09 00 04 */ lfs f0, 4(r9) -/* 80297874 002947D4 D0 0A 00 04 */ stfs f0, 4(r10) -/* 80297878 002947D8 C0 09 00 08 */ lfs f0, 8(r9) -/* 8029787C 002947DC D0 0A 00 08 */ stfs f0, 8(r10) -/* 80297880 002947E0 39 4A FF F4 */ addi r10, r10, -12 -/* 80297884 002947E4 42 00 FF D4 */ bdnz lbl_80297858 -lbl_80297888: -/* 80297888 002947E8 C0 06 00 00 */ lfs f0, 0(r6) -/* 8029788C 002947EC D0 0B 00 00 */ stfs f0, 0(r11) -/* 80297890 002947F0 C0 06 00 04 */ lfs f0, 4(r6) -/* 80297894 002947F4 D0 0B 00 04 */ stfs f0, 4(r11) -/* 80297898 002947F8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8029789C 002947FC D0 0B 00 08 */ stfs f0, 8(r11) -/* 802978A0 00294800 80 03 02 3C */ lwz r0, 0x23c(r3) -/* 802978A4 00294804 2C 00 00 14 */ cmpwi r0, 0x14 -/* 802978A8 00294808 40 80 00 30 */ bge lbl_802978D8 -/* 802978AC 0029480C 54 00 18 38 */ slwi r0, r0, 3 -/* 802978B0 00294810 7C 83 02 14 */ add r4, r3, r0 -/* 802978B4 00294814 34 84 02 40 */ addic. r4, r4, 0x240 -/* 802978B8 00294818 41 82 00 14 */ beq lbl_802978CC -/* 802978BC 0029481C C0 07 00 00 */ lfs f0, 0(r7) -/* 802978C0 00294820 D0 04 00 00 */ stfs f0, 0(r4) -/* 802978C4 00294824 C0 07 00 04 */ lfs f0, 4(r7) -/* 802978C8 00294828 D0 04 00 04 */ stfs f0, 4(r4) -lbl_802978CC: -/* 802978CC 0029482C 80 83 02 3C */ lwz r4, 0x23c(r3) -/* 802978D0 00294830 38 04 00 01 */ addi r0, r4, 1 -/* 802978D4 00294834 90 03 02 3C */ stw r0, 0x23c(r3) -lbl_802978D8: -/* 802978D8 00294838 80 83 02 3C */ lwz r4, 0x23c(r3) -/* 802978DC 0029483C 39 23 02 40 */ addi r9, r3, 0x240 -/* 802978E0 00294840 34 A4 FF FF */ addic. r5, r4, -1 -/* 802978E4 00294844 54 A0 18 38 */ slwi r0, r5, 3 -/* 802978E8 00294848 7C A3 2B 78 */ mr r3, r5 -/* 802978EC 0029484C 7D 09 02 14 */ add r8, r9, r0 -/* 802978F0 00294850 40 81 00 C0 */ ble lbl_802979B0 -/* 802978F4 00294854 54 A0 F0 BF */ rlwinm. r0, r5, 0x1e, 2, 0x1f -/* 802978F8 00294858 7C 09 03 A6 */ mtctr r0 -/* 802978FC 0029485C 41 82 00 88 */ beq lbl_80297984 -lbl_80297900: -/* 80297900 00294860 38 85 FF FF */ addi r4, r5, -1 -/* 80297904 00294864 54 80 18 38 */ slwi r0, r4, 3 -/* 80297908 00294868 7C C9 02 14 */ add r6, r9, r0 -/* 8029790C 0029486C 38 85 FF FE */ addi r4, r5, -2 -/* 80297910 00294870 C0 06 00 00 */ lfs f0, 0(r6) -/* 80297914 00294874 54 80 18 38 */ slwi r0, r4, 3 -/* 80297918 00294878 38 85 FF FD */ addi r4, r5, -3 -/* 8029791C 0029487C D0 08 00 00 */ stfs f0, 0(r8) -/* 80297920 00294880 C0 06 00 04 */ lfs f0, 4(r6) -/* 80297924 00294884 7C C9 02 14 */ add r6, r9, r0 -/* 80297928 00294888 54 80 18 38 */ slwi r0, r4, 3 -/* 8029792C 0029488C 38 85 FF FC */ addi r4, r5, -4 -/* 80297930 00294890 D0 08 00 04 */ stfs f0, 4(r8) -/* 80297934 00294894 38 A5 FF FC */ addi r5, r5, -4 -/* 80297938 00294898 C0 06 00 00 */ lfs f0, 0(r6) -/* 8029793C 0029489C D0 08 FF F8 */ stfs f0, -8(r8) -/* 80297940 002948A0 C0 06 00 04 */ lfs f0, 4(r6) -/* 80297944 002948A4 7C C9 02 14 */ add r6, r9, r0 -/* 80297948 002948A8 54 80 18 38 */ slwi r0, r4, 3 -/* 8029794C 002948AC D0 08 FF FC */ stfs f0, -4(r8) -/* 80297950 002948B0 C0 06 00 00 */ lfs f0, 0(r6) -/* 80297954 002948B4 D0 08 FF F0 */ stfs f0, -0x10(r8) -/* 80297958 002948B8 C0 06 00 04 */ lfs f0, 4(r6) -/* 8029795C 002948BC 7C C9 02 14 */ add r6, r9, r0 -/* 80297960 002948C0 D0 08 FF F4 */ stfs f0, -0xc(r8) -/* 80297964 002948C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 80297968 002948C8 D0 08 FF E8 */ stfs f0, -0x18(r8) -/* 8029796C 002948CC C0 06 00 04 */ lfs f0, 4(r6) -/* 80297970 002948D0 D0 08 FF EC */ stfs f0, -0x14(r8) -/* 80297974 002948D4 39 08 FF E0 */ addi r8, r8, -32 -/* 80297978 002948D8 42 00 FF 88 */ bdnz lbl_80297900 -/* 8029797C 002948DC 70 63 00 03 */ andi. r3, r3, 3 -/* 80297980 002948E0 41 82 00 30 */ beq lbl_802979B0 -lbl_80297984: -/* 80297984 002948E4 7C 69 03 A6 */ mtctr r3 -lbl_80297988: -/* 80297988 002948E8 38 85 FF FF */ addi r4, r5, -1 -/* 8029798C 002948EC 38 A5 FF FF */ addi r5, r5, -1 -/* 80297990 002948F0 54 80 18 38 */ slwi r0, r4, 3 -/* 80297994 002948F4 7C C9 02 14 */ add r6, r9, r0 -/* 80297998 002948F8 C0 06 00 00 */ lfs f0, 0(r6) -/* 8029799C 002948FC D0 08 00 00 */ stfs f0, 0(r8) -/* 802979A0 00294900 C0 06 00 04 */ lfs f0, 4(r6) -/* 802979A4 00294904 D0 08 00 04 */ stfs f0, 4(r8) -/* 802979A8 00294908 39 08 FF F8 */ addi r8, r8, -8 -/* 802979AC 0029490C 42 00 FF DC */ bdnz lbl_80297988 -lbl_802979B0: -/* 802979B0 00294910 C0 07 00 00 */ lfs f0, 0(r7) -/* 802979B4 00294914 D0 09 00 00 */ stfs f0, 0(r9) -/* 802979B8 00294918 C0 07 00 04 */ lfs f0, 4(r7) -/* 802979BC 0029491C D0 09 00 04 */ stfs f0, 4(r9) -/* 802979C0 00294920 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802979C4 00294924 38 21 00 10 */ addi r1, r1, 0x10 -/* 802979C8 00294928 4E 80 00 20 */ blr - -.global __ct__Q27CPlayer12CInputFilterFv -__ct__Q27CPlayer12CInputFilterFv: -/* 802979CC 0029492C 38 00 00 00 */ li r0, 0 -/* 802979D0 00294930 90 03 00 00 */ stw r0, 0(r3) -/* 802979D4 00294934 90 03 00 54 */ stw r0, 0x54(r3) -/* 802979D8 00294938 90 03 01 48 */ stw r0, 0x148(r3) -/* 802979DC 0029493C 90 03 02 3C */ stw r0, 0x23c(r3) -/* 802979E0 00294940 4E 80 00 20 */ blr - -.global GetIsContinueDraw__10CSlideShowFv -GetIsContinueDraw__10CSlideShowFv: -/* 802979E4 00294944 38 60 00 00 */ li r3, 0 -/* 802979E8 00294948 4E 80 00 20 */ blr - -.global sub_802979ec -sub_802979ec: -/* 802979EC 0029494C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802979F0 00294950 7C 08 02 A6 */ mflr r0 -/* 802979F4 00294954 90 01 00 34 */ stw r0, 0x34(r1) -/* 802979F8 00294958 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802979FC 0029495C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80297A00 00294960 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80297A04 00294964 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80297A08 00294968 7C 7E 1B 78 */ mr r30, r3 -/* 80297A0C 0029496C 38 A0 FF FF */ li r5, -1 -/* 80297A10 00294970 90 A3 00 04 */ stw r5, 4(r3) -/* 80297A14 00294974 38 61 00 0C */ addi r3, r1, 0xc -/* 80297A18 00294978 38 1E 00 0C */ addi r0, r30, 0xc -/* 80297A1C 0029497C 38 80 00 00 */ li r4, 0 -/* 80297A20 00294980 90 BE 00 08 */ stw r5, 8(r30) -/* 80297A24 00294984 7C 03 00 40 */ cmplw r3, r0 -/* 80297A28 00294988 98 81 00 0C */ stb r4, 0xc(r1) -/* 80297A2C 0029498C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80297A30 00294990 41 82 00 48 */ beq lbl_80297A78 -/* 80297A34 00294994 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 80297A38 00294998 28 00 00 00 */ cmplwi r0, 0 -/* 80297A3C 0029499C 41 82 00 24 */ beq lbl_80297A60 -/* 80297A40 002949A0 83 FE 00 10 */ lwz r31, 0x10(r30) -/* 80297A44 002949A4 28 1F 00 00 */ cmplwi r31, 0 -/* 80297A48 002949A8 41 82 00 18 */ beq lbl_80297A60 -/* 80297A4C 002949AC 7F E3 FB 78 */ mr r3, r31 -/* 80297A50 002949B0 38 80 00 00 */ li r4, 0 -/* 80297A54 002949B4 48 0A 93 ED */ bl __dt__6CTokenFv -/* 80297A58 002949B8 7F E3 FB 78 */ mr r3, r31 -/* 80297A5C 002949BC 48 07 DE D5 */ bl Free__7CMemoryFPCv -lbl_80297A60: -/* 80297A60 002949C0 88 61 00 0C */ lbz r3, 0xc(r1) -/* 80297A64 002949C4 38 00 00 00 */ li r0, 0 -/* 80297A68 002949C8 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80297A6C 002949CC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80297A70 002949D0 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80297A74 002949D4 98 01 00 0C */ stb r0, 0xc(r1) -lbl_80297A78: -/* 80297A78 002949D8 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80297A7C 002949DC 28 00 00 00 */ cmplwi r0, 0 -/* 80297A80 002949E0 41 82 00 24 */ beq lbl_80297AA4 -/* 80297A84 002949E4 83 E1 00 10 */ lwz r31, 0x10(r1) -/* 80297A88 002949E8 28 1F 00 00 */ cmplwi r31, 0 -/* 80297A8C 002949EC 41 82 00 18 */ beq lbl_80297AA4 -/* 80297A90 002949F0 7F E3 FB 78 */ mr r3, r31 -/* 80297A94 002949F4 38 80 00 00 */ li r4, 0 -/* 80297A98 002949F8 48 0A 93 A9 */ bl __dt__6CTokenFv -/* 80297A9C 002949FC 7F E3 FB 78 */ mr r3, r31 -/* 80297AA0 00294A00 48 07 DE 91 */ bl Free__7CMemoryFPCv -lbl_80297AA4: -/* 80297AA4 00294A04 38 00 00 00 */ li r0, 0 -/* 80297AA8 00294A08 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 -/* 80297AAC 00294A0C 98 1E 00 14 */ stb r0, 0x14(r30) -/* 80297AB0 00294A10 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) -/* 80297AB4 00294A14 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80297AB8 00294A18 C0 03 00 04 */ lfs f0, 4(r3) -/* 80297ABC 00294A1C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80297AC0 00294A20 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) -/* 80297AC4 00294A24 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80297AC8 00294A28 C0 03 00 04 */ lfs f0, 4(r3) -/* 80297ACC 00294A2C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80297AD0 00294A30 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) -/* 80297AD4 00294A34 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80297AD8 00294A38 C0 03 00 04 */ lfs f0, 4(r3) -/* 80297ADC 00294A3C D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80297AE0 00294A40 48 0B 24 CD */ bl White__6CColorFv -/* 80297AE4 00294A44 80 03 00 00 */ lwz r0, 0(r3) -/* 80297AE8 00294A48 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) -/* 80297AEC 00294A4C 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80297AF0 00294A50 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80297AF4 00294A54 88 01 00 08 */ lbz r0, 8(r1) -/* 80297AF8 00294A58 98 1E 00 33 */ stb r0, 0x33(r30) -/* 80297AFC 00294A5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80297B00 00294A60 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80297B04 00294A64 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80297B08 00294A68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80297B0C 00294A6C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80297B10 00294A70 7C 08 03 A6 */ mtlr r0 -/* 80297B14 00294A74 38 21 00 30 */ addi r1, r1, 0x30 -/* 80297B18 00294A78 4E 80 00 20 */ blr - -.global sub_80297b1c -sub_80297b1c: -/* 80297B1C 00294A7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80297B20 00294A80 7C 08 02 A6 */ mflr r0 -/* 80297B24 00294A84 38 A0 00 00 */ li r5, 0 -/* 80297B28 00294A88 90 01 00 34 */ stw r0, 0x34(r1) -/* 80297B2C 00294A8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80297B30 00294A90 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80297B34 00294A94 7C 7E 1B 78 */ mr r30, r3 -/* 80297B38 00294A98 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80297B3C 00294A9C 28 03 00 00 */ cmplwi r3, 0 -/* 80297B40 00294AA0 41 82 00 24 */ beq lbl_80297B64 -/* 80297B44 00294AA4 80 83 00 00 */ lwz r4, 0(r3) -/* 80297B48 00294AA8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80297B4C 00294AAC 28 00 00 00 */ cmplwi r0, 0 -/* 80297B50 00294AB0 41 82 00 14 */ beq lbl_80297B64 -/* 80297B54 00294AB4 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 80297B58 00294AB8 28 00 00 00 */ cmplwi r0, 0 -/* 80297B5C 00294ABC 41 82 00 08 */ beq lbl_80297B64 -/* 80297B60 00294AC0 38 A0 00 01 */ li r5, 1 -lbl_80297B64: -/* 80297B64 00294AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80297B68 00294AC8 41 82 00 94 */ beq lbl_80297BFC -/* 80297B6C 00294ACC 48 0A 92 A1 */ bl GetObj__6CTokenFv -/* 80297B70 00294AD0 80 83 00 04 */ lwz r4, 4(r3) -/* 80297B74 00294AD4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80297B78 00294AD8 AB E4 00 04 */ lha r31, 4(r4) -/* 80297B7C 00294ADC 48 0A 92 91 */ bl GetObj__6CTokenFv -/* 80297B80 00294AE0 80 63 00 04 */ lwz r3, 4(r3) -/* 80297B84 00294AE4 3D 00 43 30 */ lis r8, 0x4330 -/* 80297B88 00294AE8 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 80297B8C 00294AEC 91 01 00 18 */ stw r8, 0x18(r1) -/* 80297B90 00294AF0 A8 A3 00 06 */ lha r5, 6(r3) -/* 80297B94 00294AF4 38 7E 00 0C */ addi r3, r30, 0xc -/* 80297B98 00294AF8 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80297B9C 00294AFC 38 81 00 08 */ addi r4, r1, 8 -/* 80297BA0 00294B00 6C A6 80 00 */ xoris r6, r5, 0x8000 -/* 80297BA4 00294B04 90 01 00 24 */ stw r0, 0x24(r1) -/* 80297BA8 00294B08 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) -/* 80297BAC 00294B0C 38 BE 00 30 */ addi r5, r30, 0x30 -/* 80297BB0 00294B10 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 80297BB4 00294B14 38 DE 00 18 */ addi r6, r30, 0x18 -/* 80297BB8 00294B18 C0 BE 00 2C */ lfs f5, 0x2c(r30) -/* 80297BBC 00294B1C 38 FE 00 20 */ addi r7, r30, 0x20 -/* 80297BC0 00294B20 91 01 00 20 */ stw r8, 0x20(r1) -/* 80297BC4 00294B24 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 80297BC8 00294B28 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 80297BCC 00294B2C EC 82 18 28 */ fsubs f4, f2, f3 -/* 80297BD0 00294B30 C0 5E 00 28 */ lfs f2, 0x28(r30) -/* 80297BD4 00294B34 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80297BD8 00294B38 C0 62 BF F4 */ lfs f3, lbl_805ADD14@sda21(r2) -/* 80297BDC 00294B3C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80297BE0 00294B40 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80297BE4 00294B44 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80297BE8 00294B48 EC 24 00 F2 */ fmuls f1, f4, f3 -/* 80297BEC 00294B4C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80297BF0 00294B50 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80297BF4 00294B54 D0 01 00 08 */ stfs f0, 8(r1) -/* 80297BF8 00294B58 48 00 41 2D */ bl sub_8029bd24 -lbl_80297BFC: -/* 80297BFC 00294B5C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80297C00 00294B60 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80297C04 00294B64 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80297C08 00294B68 7C 08 03 A6 */ mtlr r0 -/* 80297C0C 00294B6C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80297C10 00294B70 4E 80 00 20 */ blr - -.global sub_80297c14 -sub_80297c14: -/* 80297C14 00294B74 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80297C18 00294B78 7C 08 02 A6 */ mflr r0 -/* 80297C1C 00294B7C 38 A0 00 00 */ li r5, 0 -/* 80297C20 00294B80 90 01 00 44 */ stw r0, 0x44(r1) -/* 80297C24 00294B84 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80297C28 00294B88 7C 7F 1B 78 */ mr r31, r3 -/* 80297C2C 00294B8C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80297C30 00294B90 28 03 00 00 */ cmplwi r3, 0 -/* 80297C34 00294B94 41 82 00 18 */ beq lbl_80297C4C -/* 80297C38 00294B98 80 83 00 00 */ lwz r4, 0(r3) -/* 80297C3C 00294B9C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80297C40 00294BA0 28 00 00 00 */ cmplwi r0, 0 -/* 80297C44 00294BA4 41 82 00 08 */ beq lbl_80297C4C -/* 80297C48 00294BA8 38 A0 00 01 */ li r5, 1 -lbl_80297C4C: -/* 80297C4C 00294BAC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80297C50 00294BB0 41 82 00 FC */ beq lbl_80297D4C -/* 80297C54 00294BB4 48 0A 91 B9 */ bl GetObj__6CTokenFv -/* 80297C58 00294BB8 80 83 00 04 */ lwz r4, 4(r3) -/* 80297C5C 00294BBC 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80297C60 00294BC0 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l -/* 80297C64 00294BC4 3C E0 43 30 */ lis r7, 0x4330 -/* 80297C68 00294BC8 A8 04 00 04 */ lha r0, 4(r4) -/* 80297C6C 00294BCC 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 -/* 80297C70 00294BD0 A8 C4 00 06 */ lha r6, 6(r4) -/* 80297C74 00294BD4 80 85 00 08 */ lwz r4, 8(r5) -/* 80297C78 00294BD8 6C 08 80 00 */ xoris r8, r0, 0x8000 -/* 80297C7C 00294BDC 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80297C80 00294BE0 6C C5 80 00 */ xoris r5, r6, 0x8000 -/* 80297C84 00294BE4 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80297C88 00294BE8 91 01 00 1C */ stw r8, 0x1c(r1) -/* 80297C8C 00294BEC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80297C90 00294BF0 C8 A2 BF F8 */ lfd f5, lbl_805ADD18@sda21(r2) -/* 80297C94 00294BF4 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80297C98 00294BF8 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13) -/* 80297C9C 00294BFC C8 21 00 18 */ lfd f1, 0x18(r1) -/* 80297CA0 00294C00 90 A1 00 24 */ stw r5, 0x24(r1) -/* 80297CA4 00294C04 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80297CA8 00294C08 90 E1 00 20 */ stw r7, 0x20(r1) -/* 80297CAC 00294C0C C8 41 00 20 */ lfd f2, 0x20(r1) -/* 80297CB0 00294C10 90 81 00 2C */ stw r4, 0x2c(r1) -/* 80297CB4 00294C14 EC 42 28 28 */ fsubs f2, f2, f5 -/* 80297CB8 00294C18 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80297CBC 00294C1C C8 81 00 28 */ lfd f4, 0x28(r1) -/* 80297CC0 00294C20 EC C1 10 24 */ fdivs f6, f1, f2 -/* 80297CC4 00294C24 90 01 00 34 */ stw r0, 0x34(r1) -/* 80297CC8 00294C28 90 E1 00 30 */ stw r7, 0x30(r1) -/* 80297CCC 00294C2C C8 61 00 30 */ lfd f3, 0x30(r1) -/* 80297CD0 00294C30 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80297CD4 00294C34 C0 03 00 04 */ lfs f0, 4(r3) -/* 80297CD8 00294C38 EC 84 28 28 */ fsubs f4, f4, f5 -/* 80297CDC 00294C3C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80297CE0 00294C40 EC 03 28 28 */ fsubs f0, f3, f5 -/* 80297CE4 00294C44 EC 04 00 24 */ fdivs f0, f4, f0 -/* 80297CE8 00294C48 FC 06 00 00 */ fcmpu cr0, f6, f0 -/* 80297CEC 00294C4C 41 82 00 48 */ beq lbl_80297D34 -/* 80297CF0 00294C50 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80297CF4 00294C54 40 81 00 24 */ ble lbl_80297D18 -/* 80297CF8 00294C58 EC 41 00 24 */ fdivs f2, f1, f0 -/* 80297CFC 00294C5C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80297D00 00294C60 48 07 C5 01 */ bl __ct__9CVector2fFff -/* 80297D04 00294C64 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80297D08 00294C68 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80297D0C 00294C6C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80297D10 00294C70 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80297D14 00294C74 48 00 00 20 */ b lbl_80297D34 -lbl_80297D18: -/* 80297D18 00294C78 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80297D1C 00294C7C 38 61 00 08 */ addi r3, r1, 8 -/* 80297D20 00294C80 48 07 C4 E1 */ bl __ct__9CVector2fFff -/* 80297D24 00294C84 C0 01 00 08 */ lfs f0, 8(r1) -/* 80297D28 00294C88 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80297D2C 00294C8C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80297D30 00294C90 D0 1F 00 24 */ stfs f0, 0x24(r31) -lbl_80297D34: -/* 80297D34 00294C94 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80297D38 00294C98 38 00 00 01 */ li r0, 1 -/* 80297D3C 00294C9C D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80297D40 00294CA0 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 80297D44 00294CA4 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80297D48 00294CA8 98 1F 00 14 */ stb r0, 0x14(r31) -lbl_80297D4C: -/* 80297D4C 00294CAC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80297D50 00294CB0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80297D54 00294CB4 7C 08 03 A6 */ mtlr r0 -/* 80297D58 00294CB8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80297D5C 00294CBC 4E 80 00 20 */ blr - -.global sub_80297d60 -sub_80297d60: -/* 80297D60 00294CC0 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80297D64 00294CC4 7C 08 02 A6 */ mflr r0 -/* 80297D68 00294CC8 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80297D6C 00294CCC DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80297D70 00294CD0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80297D74 00294CD4 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80297D78 00294CD8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80297D7C 00294CDC DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 80297D80 00294CE0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80297D84 00294CE4 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 80297D88 00294CE8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 80297D8C 00294CEC DB 61 00 90 */ stfd f27, 0x90(r1) -/* 80297D90 00294CF0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 80297D94 00294CF4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80297D98 00294CF8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80297D9C 00294CFC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80297DA0 00294D00 93 81 00 80 */ stw r28, 0x80(r1) -/* 80297DA4 00294D04 7C 7E 1B 78 */ mr r30, r3 -/* 80297DA8 00294D08 7C 9F 23 78 */ mr r31, r4 -/* 80297DAC 00294D0C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80297DB0 00294D10 38 A0 00 00 */ li r5, 0 -/* 80297DB4 00294D14 28 03 00 00 */ cmplwi r3, 0 -/* 80297DB8 00294D18 41 82 00 24 */ beq lbl_80297DDC -/* 80297DBC 00294D1C 80 83 00 00 */ lwz r4, 0(r3) -/* 80297DC0 00294D20 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80297DC4 00294D24 28 00 00 00 */ cmplwi r0, 0 -/* 80297DC8 00294D28 41 82 00 14 */ beq lbl_80297DDC -/* 80297DCC 00294D2C 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 80297DD0 00294D30 28 00 00 00 */ cmplwi r0, 0 -/* 80297DD4 00294D34 41 82 00 08 */ beq lbl_80297DDC -/* 80297DD8 00294D38 38 A0 00 01 */ li r5, 1 -lbl_80297DDC: -/* 80297DDC 00294D3C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80297DE0 00294D40 41 82 03 98 */ beq lbl_80298178 -/* 80297DE4 00294D44 48 0A 90 29 */ bl GetObj__6CTokenFv -/* 80297DE8 00294D48 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80297DEC 00294D4C 3C C0 43 30 */ lis r6, 0x4330 -/* 80297DF0 00294D50 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l -/* 80297DF4 00294D54 81 03 00 04 */ lwz r8, 4(r3) -/* 80297DF8 00294D58 83 A5 00 08 */ lwz r29, 8(r5) -/* 80297DFC 00294D5C 7F E4 FB 78 */ mr r4, r31 -/* 80297E00 00294D60 83 85 00 0C */ lwz r28, 0xc(r5) -/* 80297E04 00294D64 38 60 00 2E */ li r3, 0x2e -/* 80297E08 00294D68 6F A5 80 00 */ xoris r5, r29, 0x8000 -/* 80297E0C 00294D6C A8 E8 00 04 */ lha r7, 4(r8) -/* 80297E10 00294D70 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80297E14 00294D74 90 A1 00 74 */ stw r5, 0x74(r1) -/* 80297E18 00294D78 A8 A8 00 06 */ lha r5, 6(r8) -/* 80297E1C 00294D7C 6C E7 80 00 */ xoris r7, r7, 0x8000 -/* 80297E20 00294D80 90 C1 00 70 */ stw r6, 0x70(r1) -/* 80297E24 00294D84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) -/* 80297E28 00294D88 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80297E2C 00294D8C C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80297E30 00294D90 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80297E34 00294D94 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80297E38 00294D98 90 C1 00 78 */ stw r6, 0x78(r1) -/* 80297E3C 00294D9C C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80297E40 00294DA0 90 E1 00 64 */ stw r7, 0x64(r1) -/* 80297E44 00294DA4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80297E48 00294DA8 90 C1 00 60 */ stw r6, 0x60(r1) -/* 80297E4C 00294DAC EF 81 00 24 */ fdivs f28, f1, f0 -/* 80297E50 00294DB0 C8 21 00 60 */ lfd f1, 0x60(r1) -/* 80297E54 00294DB4 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 80297E58 00294DB8 90 C1 00 68 */ stw r6, 0x68(r1) -/* 80297E5C 00294DBC C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80297E60 00294DC0 EF E1 10 28 */ fsubs f31, f1, f2 -/* 80297E64 00294DC4 EF A0 10 28 */ fsubs f29, f0, f2 -/* 80297E68 00294DC8 4B D7 4A B1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297E6C 00294DCC FF 60 08 90 */ fmr f27, f1 -/* 80297E70 00294DD0 7F E4 FB 78 */ mr r4, r31 -/* 80297E74 00294DD4 38 60 00 2F */ li r3, 0x2f -/* 80297E78 00294DD8 4B D7 4A A1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297E7C 00294DDC C0 5E 00 20 */ lfs f2, 0x20(r30) -/* 80297E80 00294DE0 EC 61 D8 28 */ fsubs f3, f1, f27 -/* 80297E84 00294DE4 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80297E88 00294DE8 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80297E8C 00294DEC FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 80297E90 00294DF0 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 80297E94 00294DF4 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80297E98 00294DF8 41 82 00 E4 */ beq lbl_80297F7C -/* 80297E9C 00294DFC D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80297EA0 00294E00 6F A6 80 00 */ xoris r6, r29, 0x8000 -/* 80297EA4 00294E04 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) -/* 80297EA8 00294E08 3C 00 43 30 */ lis r0, 0x4330 -/* 80297EAC 00294E0C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80297EB0 00294E10 38 61 00 44 */ addi r3, r1, 0x44 -/* 80297EB4 00294E14 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80297EB8 00294E18 38 81 00 40 */ addi r4, r1, 0x40 -/* 80297EBC 00294E1C C0 45 00 38 */ lfs f2, 0x38(r5) -/* 80297EC0 00294E20 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80297EC4 00294E24 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80297EC8 00294E28 EC 62 00 F2 */ fmuls f3, f2, f3 -/* 80297ECC 00294E2C 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 80297ED0 00294E30 90 01 00 78 */ stw r0, 0x78(r1) -/* 80297ED4 00294E34 EC 5C 00 FA */ fmadds f2, f28, f3, f0 -/* 80297ED8 00294E38 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80297EDC 00294E3C D0 5E 00 20 */ stfs f2, 0x20(r30) -/* 80297EE0 00294E40 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80297EE4 00294E44 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80297EE8 00294E48 EC 21 18 2A */ fadds f1, f1, f3 -/* 80297EEC 00294E4C D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80297EF0 00294E50 C0 3E 00 28 */ lfs f1, 0x28(r30) -/* 80297EF4 00294E54 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80297EF8 00294E58 C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 80297EFC 00294E5C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80297F00 00294E60 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80297F04 00294E64 4B D7 43 B1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80297F08 00294E68 C0 03 00 00 */ lfs f0, 0(r3) -/* 80297F0C 00294E6C 6F 83 80 00 */ xoris r3, r28, 0x8000 -/* 80297F10 00294E70 3C 00 43 30 */ lis r0, 0x4330 -/* 80297F14 00294E74 90 61 00 74 */ stw r3, 0x74(r1) -/* 80297F18 00294E78 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80297F1C 00294E7C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80297F20 00294E80 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80297F24 00294E84 38 81 00 34 */ addi r4, r1, 0x34 -/* 80297F28 00294E88 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80297F2C 00294E8C 90 01 00 70 */ stw r0, 0x70(r1) -/* 80297F30 00294E90 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 80297F34 00294E94 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80297F38 00294E98 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80297F3C 00294E9C EC 00 08 28 */ fsubs f0, f0, f1 -/* 80297F40 00294EA0 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80297F44 00294EA4 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80297F48 00294EA8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80297F4C 00294EAC 4B D7 43 69 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80297F50 00294EB0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80297F54 00294EB4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80297F58 00294EB8 38 9E 00 20 */ addi r4, r30, 0x20 -/* 80297F5C 00294EBC D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80297F60 00294EC0 48 07 C2 09 */ bl sub_80314168 -/* 80297F64 00294EC4 C0 22 C0 00 */ lfs f1, lbl_805ADD20@sda21(r2) -/* 80297F68 00294EC8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80297F6C 00294ECC 48 07 C1 BD */ bl sub_80314128 -/* 80297F70 00294ED0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80297F74 00294ED4 38 81 00 50 */ addi r4, r1, 0x50 -/* 80297F78 00294ED8 48 07 C2 15 */ bl __apl__9CVector2fFRC9CVector2f -lbl_80297F7C: -/* 80297F7C 00294EDC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80297F80 00294EE0 38 9E 00 20 */ addi r4, r30, 0x20 -/* 80297F84 00294EE4 48 07 BF 85 */ bl __eq__FRC9CVector2fRC9CVector2f -/* 80297F88 00294EE8 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80297F8C 00294EEC 80 7E 00 00 */ lwz r3, 0(r30) -/* 80297F90 00294EF0 7C 00 00 34 */ cntlzw r0, r0 -/* 80297F94 00294EF4 54 04 D9 7E */ srwi r4, r0, 5 -/* 80297F98 00294EF8 48 00 0B 39 */ bl sub_80298ad0 -/* 80297F9C 00294EFC C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80297FA0 00294F00 7F E4 FB 78 */ mr r4, r31 -/* 80297FA4 00294F04 38 60 00 2A */ li r3, 0x2a -/* 80297FA8 00294F08 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80297FAC 00294F0C C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80297FB0 00294F10 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80297FB4 00294F14 4B D7 49 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297FB8 00294F18 FF 60 08 90 */ fmr f27, f1 -/* 80297FBC 00294F1C 7F E4 FB 78 */ mr r4, r31 -/* 80297FC0 00294F20 38 60 00 2B */ li r3, 0x2b -/* 80297FC4 00294F24 4B D7 49 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297FC8 00294F28 FF 80 08 90 */ fmr f28, f1 -/* 80297FCC 00294F2C 7F E4 FB 78 */ mr r4, r31 -/* 80297FD0 00294F30 38 60 00 2C */ li r3, 0x2c -/* 80297FD4 00294F34 4B D7 49 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297FD8 00294F38 FF C0 08 90 */ fmr f30, f1 -/* 80297FDC 00294F3C 7F E4 FB 78 */ mr r4, r31 -/* 80297FE0 00294F40 38 60 00 2D */ li r3, 0x2d -/* 80297FE4 00294F44 4B D7 49 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80297FE8 00294F48 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 80297FEC 00294F4C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80297FF0 00294F50 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80297FF4 00294F54 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80297FF8 00294F58 C0 43 00 34 */ lfs f2, 0x34(r3) -/* 80297FFC 00294F5C 38 6D 9A 04 */ addi r3, r13, lbl_805A85C4@sda21 -/* 80298000 00294F60 EC 02 07 BC */ fnmsubs f0, f2, f30, f0 -/* 80298004 00294F64 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80298008 00294F68 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 8029800C 00294F6C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80298010 00294F70 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80298014 00294F74 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80298018 00294F78 EC 02 06 FA */ fmadds f0, f2, f27, f0 -/* 8029801C 00294F7C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80298020 00294F80 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80298024 00294F84 EC 02 07 3C */ fnmsubs f0, f2, f28, f0 -/* 80298028 00294F88 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8029802C 00294F8C C0 3E 00 28 */ lfs f1, 0x28(r30) -/* 80298030 00294F90 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80298034 00294F94 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80298038 00294F98 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8029803C 00294F9C C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80298040 00294FA0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80298044 00294FA4 4B D7 42 71 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80298048 00294FA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029804C 00294FAC 38 81 00 24 */ addi r4, r1, 0x24 -/* 80298050 00294FB0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80298054 00294FB4 38 6D 9A 08 */ addi r3, r13, lbl_805A85C8@sda21 -/* 80298058 00294FB8 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8029805C 00294FBC C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 80298060 00294FC0 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 80298064 00294FC4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80298068 00294FC8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8029806C 00294FCC C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80298070 00294FD0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80298074 00294FD4 4B D7 42 41 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80298078 00294FD8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029807C 00294FDC C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) -/* 80298080 00294FE0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80298084 00294FE4 C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) -/* 80298088 00294FE8 C3 DE 00 20 */ lfs f30, 0x20(r30) -/* 8029808C 00294FEC EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80298090 00294FF0 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 -/* 80298094 00294FF4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80298098 00294FF8 40 81 00 08 */ ble lbl_802980A0 -/* 8029809C 00294FFC FC 60 00 90 */ fmr f3, f0 -lbl_802980A0: -/* 802980A0 00295000 C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2) -/* 802980A4 00295004 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 802980A8 00295008 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) -/* 802980AC 0029500C EC 00 00 72 */ fmuls f0, f0, f1 -/* 802980B0 00295010 EC 1D 00 78 */ fmsubs f0, f29, f1, f0 -/* 802980B4 00295014 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 802980B8 00295018 40 81 00 08 */ ble lbl_802980C0 -/* 802980BC 0029501C FF E0 00 90 */ fmr f31, f0 -lbl_802980C0: -/* 802980C0 00295020 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 802980C4 00295024 38 61 00 1C */ addi r3, r1, 0x1c -/* 802980C8 00295028 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) -/* 802980CC 0029502C 38 81 00 18 */ addi r4, r1, 0x18 -/* 802980D0 00295030 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802980D4 00295034 EC 00 18 BA */ fmadds f0, f0, f2, f3 -/* 802980D8 00295038 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802980DC 0029503C C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 802980E0 00295040 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 802980E4 00295044 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 802980E8 00295048 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802980EC 0029504C C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 802980F0 00295050 EC 00 18 B8 */ fmsubs f0, f0, f2, f3 -/* 802980F4 00295054 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802980F8 00295058 4B D7 41 BD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802980FC 0029505C C0 03 00 00 */ lfs f0, 0(r3) -/* 80298100 00295060 38 61 00 10 */ addi r3, r1, 0x10 -/* 80298104 00295064 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2) -/* 80298108 00295068 38 81 00 0C */ addi r4, r1, 0xc -/* 8029810C 0029506C 38 A1 00 08 */ addi r5, r1, 8 -/* 80298110 00295070 EC 1E 00 BC */ fnmsubs f0, f30, f2, f0 -/* 80298114 00295074 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80298118 00295078 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8029811C 0029507C C3 7E 00 24 */ lfs f27, 0x24(r30) -/* 80298120 00295080 EC 00 F8 BA */ fmadds f0, f0, f2, f31 -/* 80298124 00295084 D0 01 00 08 */ stfs f0, 8(r1) -/* 80298128 00295088 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 8029812C 0029508C C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80298130 00295090 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 80298134 00295094 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80298138 00295098 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8029813C 0029509C EC 00 F8 B8 */ fmsubs f0, f0, f2, f31 -/* 80298140 002950A0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80298144 002950A4 4B D7 41 71 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80298148 002950A8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8029814C 002950AC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80298150 002950B0 C0 02 BF F4 */ lfs f0, lbl_805ADD14@sda21(r2) -/* 80298154 002950B4 38 9E 00 18 */ addi r4, r30, 0x18 -/* 80298158 002950B8 EC 1B 08 3C */ fnmsubs f0, f27, f0, f1 -/* 8029815C 002950BC D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80298160 002950C0 48 07 BD A9 */ bl __eq__FRC9CVector2fRC9CVector2f -/* 80298164 002950C4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80298168 002950C8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8029816C 002950CC 7C 00 00 34 */ cntlzw r0, r0 -/* 80298170 002950D0 54 04 D9 7E */ srwi r4, r0, 5 -/* 80298174 002950D4 48 00 09 E1 */ bl sub_80298b54 -lbl_80298178: -/* 80298178 002950D8 38 60 00 01 */ li r3, 1 -/* 8029817C 002950DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80298180 002950E0 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80298184 002950E4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80298188 002950E8 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8029818C 002950EC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 80298190 002950F0 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 80298194 002950F4 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 80298198 002950F8 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8029819C 002950FC E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802981A0 00295100 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802981A4 00295104 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802981A8 00295108 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802981AC 0029510C 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802981B0 00295110 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802981B4 00295114 83 81 00 80 */ lwz r28, 0x80(r1) -/* 802981B8 00295118 7C 08 03 A6 */ mtlr r0 -/* 802981BC 0029511C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802981C0 00295120 4E 80 00 20 */ blr - -.global sub_802981c4 -sub_802981c4: -/* 802981C4 00295124 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802981C8 00295128 7C 08 02 A6 */ mflr r0 -/* 802981CC 0029512C 90 01 01 54 */ stw r0, 0x154(r1) -/* 802981D0 00295130 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 802981D4 00295134 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 802981D8 00295138 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 802981DC 0029513C 93 C1 01 38 */ stw r30, 0x138(r1) -/* 802981E0 00295140 93 A1 01 34 */ stw r29, 0x134(r1) -/* 802981E4 00295144 7C 7F 1B 78 */ mr r31, r3 -/* 802981E8 00295148 80 03 00 38 */ lwz r0, 0x38(r3) -/* 802981EC 0029514C 28 00 00 00 */ cmplwi r0, 0 -/* 802981F0 00295150 41 82 02 5C */ beq lbl_8029844C -/* 802981F4 00295154 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 802981F8 00295158 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802981FC 0029515C 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 80298200 00295160 38 61 00 34 */ addi r3, r1, 0x34 -/* 80298204 00295164 81 84 00 00 */ lwz r12, 0(r4) -/* 80298208 00295168 38 A0 00 01 */ li r5, 1 -/* 8029820C 0029516C 83 C6 00 08 */ lwz r30, 8(r6) -/* 80298210 00295170 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 80298214 00295174 83 A6 00 0C */ lwz r29, 0xc(r6) -/* 80298218 00295178 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) -/* 8029821C 0029517C C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) -/* 80298220 00295180 7D 89 03 A6 */ mtctr r12 -/* 80298224 00295184 4E 80 04 21 */ bctrl -/* 80298228 00295188 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8029822C 0029518C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 80298230 00295190 48 07 45 1D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80298234 00295194 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80298238 00295198 48 0A 8B D5 */ bl GetObj__6CTokenFv -/* 8029823C 0029519C 80 83 00 04 */ lwz r4, 4(r3) -/* 80298240 002951A0 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80298244 002951A4 3C 00 43 30 */ lis r0, 0x4330 -/* 80298248 002951A8 90 61 01 24 */ stw r3, 0x124(r1) -/* 8029824C 002951AC 80 A4 00 28 */ lwz r5, 0x28(r4) -/* 80298250 002951B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80298254 002951B4 90 01 01 20 */ stw r0, 0x120(r1) -/* 80298258 002951B8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029825C 002951BC C0 65 00 20 */ lfs f3, 0x20(r5) -/* 80298260 002951C0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80298264 002951C4 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80298268 002951C8 C8 01 01 20 */ lfd f0, 0x120(r1) -/* 8029826C 002951CC C0 45 00 24 */ lfs f2, 0x24(r5) -/* 80298270 002951D0 EC 20 08 28 */ fsubs f1, f0, f1 -/* 80298274 002951D4 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) -/* 80298278 002951D8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8029827C 002951DC C0 45 00 28 */ lfs f2, 0x28(r5) -/* 80298280 002951E0 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80298284 002951E4 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80298288 002951E8 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 8029828C 002951EC EC 02 18 28 */ fsubs f0, f2, f3 -/* 80298290 002951F0 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80298294 002951F4 C0 45 00 30 */ lfs f2, 0x30(r5) -/* 80298298 002951F8 EF E1 00 24 */ fdivs f31, f1, f0 -/* 8029829C 002951FC D0 41 00 54 */ stfs f2, 0x54(r1) -/* 802982A0 00295200 C0 05 00 34 */ lfs f0, 0x34(r5) -/* 802982A4 00295204 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 802982A8 00295208 48 09 F3 65 */ bl GetCenterPoint__6CAABoxCFv -/* 802982AC 0029520C C0 62 C0 10 */ lfs f3, lbl_805ADD30@sda21(r2) -/* 802982B0 00295210 38 61 00 BC */ addi r3, r1, 0xbc -/* 802982B4 00295214 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802982B8 00295218 38 81 00 28 */ addi r4, r1, 0x28 -/* 802982BC 0029521C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802982C0 00295220 EC 83 00 32 */ fmuls f4, f3, f0 -/* 802982C4 00295224 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802982C8 00295228 EC 43 00 72 */ fmuls f2, f3, f1 -/* 802982CC 0029522C EC 23 00 32 */ fmuls f1, f3, f0 -/* 802982D0 00295230 EC 7F 01 32 */ fmuls f3, f31, f4 -/* 802982D4 00295234 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802982D8 00295238 EC 1F 00 B2 */ fmuls f0, f31, f2 -/* 802982DC 0029523C EC 9F 00 72 */ fmuls f4, f31, f1 -/* 802982E0 00295240 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802982E4 00295244 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802982E8 00295248 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802982EC 0029524C D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 802982F0 00295250 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802982F4 00295254 48 07 AE 4D */ bl Translate__12CTransform4fFRC9CVector3f -/* 802982F8 00295258 38 61 00 EC */ addi r3, r1, 0xec -/* 802982FC 0029525C 38 81 00 BC */ addi r4, r1, 0xbc -/* 80298300 00295260 48 07 A8 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80298304 00295264 FC 20 F8 90 */ fmr f1, f31 -/* 80298308 00295268 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) -/* 8029830C 0029526C FC 60 F8 90 */ fmr f3, f31 -/* 80298310 00295270 38 61 00 8C */ addi r3, r1, 0x8c -/* 80298314 00295274 48 07 AE F5 */ bl Scale__12CTransform4fFfff -/* 80298318 00295278 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029831C 0029527C 38 81 00 EC */ addi r4, r1, 0xec -/* 80298320 00295280 38 A1 00 8C */ addi r5, r1, 0x8c -/* 80298324 00295284 48 07 A6 2D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80298328 00295288 38 61 00 EC */ addi r3, r1, 0xec -/* 8029832C 0029528C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80298330 00295290 48 07 A8 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80298334 00295294 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 80298338 00295298 3C 00 43 30 */ lis r0, 0x4330 -/* 8029833C 0029529C 90 61 01 2C */ stw r3, 0x12c(r1) -/* 80298340 002952A0 7F E3 FB 78 */ mr r3, r31 -/* 80298344 002952A4 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 80298348 002952A8 90 01 01 28 */ stw r0, 0x128(r1) -/* 8029834C 002952AC C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80298350 002952B0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80298354 002952B4 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 80298358 002952B8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8029835C 002952BC C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) -/* 80298360 002952C0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80298364 002952C4 C0 41 00 F8 */ lfs f2, 0xf8(r1) -/* 80298368 002952C8 EC DF 00 F2 */ fmuls f6, f31, f3 -/* 8029836C 002952CC C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2) -/* 80298370 002952D0 C0 21 01 08 */ lfs f1, 0x108(r1) -/* 80298374 002952D4 EC 80 01 72 */ fmuls f4, f0, f5 -/* 80298378 002952D8 C0 01 01 18 */ lfs f0, 0x118(r1) -/* 8029837C 002952DC EC 42 18 2A */ fadds f2, f2, f3 -/* 80298380 002952E0 EC 21 18 2A */ fadds f1, f1, f3 -/* 80298384 002952E4 EC 66 21 78 */ fmsubs f3, f6, f5, f4 -/* 80298388 002952E8 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 8029838C 002952EC EC 00 18 2A */ fadds f0, f0, f3 -/* 80298390 002952F0 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 80298394 002952F4 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 80298398 002952F8 48 00 10 B5 */ bl sub_8029944c -/* 8029839C 002952FC C0 42 C0 18 */ lfs f2, lbl_805ADD38@sda21(r2) -/* 802983A0 00295300 38 61 00 EC */ addi r3, r1, 0xec -/* 802983A4 00295304 C0 1F 01 28 */ lfs f0, 0x128(r31) -/* 802983A8 00295308 C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2) -/* 802983AC 0029530C EC 02 00 2A */ fadds f0, f2, f0 -/* 802983B0 00295310 C0 61 00 F8 */ lfs f3, 0xf8(r1) -/* 802983B4 00295314 C0 82 BF F0 */ lfs f4, lbl_805ADD10@sda21(r2) -/* 802983B8 00295318 C0 41 01 08 */ lfs f2, 0x108(r1) -/* 802983BC 0029531C EC A1 01 7A */ fmadds f5, f1, f5, f0 -/* 802983C0 00295320 C0 01 01 18 */ lfs f0, 0x118(r1) -/* 802983C4 00295324 EC 63 20 2A */ fadds f3, f3, f4 -/* 802983C8 00295328 EC 22 20 2A */ fadds f1, f2, f4 -/* 802983CC 0029532C EC 00 28 2A */ fadds f0, f0, f5 -/* 802983D0 00295330 D0 61 00 F8 */ stfs f3, 0xf8(r1) -/* 802983D4 00295334 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 802983D8 00295338 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 802983DC 0029533C 48 07 42 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802983E0 00295340 38 80 00 01 */ li r4, 1 -/* 802983E4 00295344 38 60 00 00 */ li r3, 0 -/* 802983E8 00295348 38 00 00 03 */ li r0, 3 -/* 802983EC 0029534C 98 81 00 08 */ stb r4, 8(r1) -/* 802983F0 00295350 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 802983F4 00295354 98 61 00 09 */ stb r3, 9(r1) -/* 802983F8 00295358 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 802983FC 0029535C B0 01 00 0A */ sth r0, 0xa(r1) -/* 80298400 00295360 80 04 00 40 */ lwz r0, 0x40(r4) -/* 80298404 00295364 90 01 00 0C */ stw r0, 0xc(r1) -/* 80298408 00295368 48 0A 8A 05 */ bl GetObj__6CTokenFv -/* 8029840C 0029536C 7C 64 1B 78 */ mr r4, r3 -/* 80298410 00295370 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80298414 00295374 38 A1 00 08 */ addi r5, r1, 8 -/* 80298418 00295378 80 84 00 04 */ lwz r4, 4(r4) -/* 8029841C 0029537C 81 83 00 00 */ lwz r12, 0(r3) -/* 80298420 00295380 38 C0 00 00 */ li r6, 0 -/* 80298424 00295384 38 E0 00 00 */ li r7, 0 -/* 80298428 00295388 39 00 00 00 */ li r8, 0 -/* 8029842C 0029538C 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 80298430 00295390 7D 89 03 A6 */ mtctr r12 -/* 80298434 00295394 4E 80 04 21 */ bctrl -/* 80298438 00295398 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029843C 0029539C 81 83 00 00 */ lwz r12, 0(r3) -/* 80298440 002953A0 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80298444 002953A4 7D 89 03 A6 */ mtctr r12 -/* 80298448 002953A8 4E 80 04 21 */ bctrl -lbl_8029844C: -/* 8029844C 002953AC E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 80298450 002953B0 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80298454 002953B4 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 80298458 002953B8 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 8029845C 002953BC 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 80298460 002953C0 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 80298464 002953C4 7C 08 03 A6 */ mtlr r0 -/* 80298468 002953C8 38 21 01 50 */ addi r1, r1, 0x150 -/* 8029846C 002953CC 4E 80 00 20 */ blr - -.global sub_80298470 -sub_80298470: -/* 80298470 002953D0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80298474 002953D4 7C 08 02 A6 */ mflr r0 -/* 80298478 002953D8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8029847C 002953DC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80298480 002953E0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80298484 002953E4 7C 7E 1B 78 */ mr r30, r3 -/* 80298488 002953E8 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 8029848C 002953EC 28 00 00 00 */ cmplwi r0, 0 -/* 80298490 002953F0 41 82 00 B4 */ beq lbl_80298544 -/* 80298494 002953F4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80298498 002953F8 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8029849C 002953FC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 802984A0 00295400 38 61 00 08 */ addi r3, r1, 8 -/* 802984A4 00295404 81 84 00 00 */ lwz r12, 0(r4) -/* 802984A8 00295408 38 A0 00 00 */ li r5, 0 -/* 802984AC 0029540C 83 E6 00 0C */ lwz r31, 0xc(r6) -/* 802984B0 00295410 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 802984B4 00295414 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) -/* 802984B8 00295418 C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) -/* 802984BC 0029541C 7D 89 03 A6 */ mtctr r12 -/* 802984C0 00295420 4E 80 04 21 */ bctrl -/* 802984C4 00295424 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 802984C8 00295428 3C 00 43 30 */ lis r0, 0x4330 -/* 802984CC 0029542C 90 61 00 4C */ stw r3, 0x4c(r1) -/* 802984D0 00295430 38 61 00 18 */ addi r3, r1, 0x18 -/* 802984D4 00295434 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 802984D8 00295438 90 01 00 48 */ stw r0, 0x48(r1) -/* 802984DC 0029543C C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) -/* 802984E0 00295440 FC 40 08 90 */ fmr f2, f1 -/* 802984E4 00295444 C8 61 00 48 */ lfd f3, 0x48(r1) -/* 802984E8 00295448 C0 1E 01 28 */ lfs f0, 0x128(r30) -/* 802984EC 0029544C EC 63 20 28 */ fsubs f3, f3, f4 -/* 802984F0 00295450 EC 63 00 2A */ fadds f3, f3, f0 -/* 802984F4 00295454 48 07 AC 95 */ bl Translate__12CTransform4fFfff -/* 802984F8 00295458 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802984FC 0029545C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80298500 00295460 81 83 00 00 */ lwz r12, 0(r3) -/* 80298504 00295464 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80298508 00295468 7D 89 03 A6 */ mtctr r12 -/* 8029850C 0029546C 4E 80 04 21 */ bctrl -/* 80298510 00295470 38 60 00 00 */ li r3, 0 -/* 80298514 00295474 48 07 35 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80298518 00295478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029851C 0029547C 38 80 00 00 */ li r4, 0 -/* 80298520 00295480 38 A0 00 00 */ li r5, 0 -/* 80298524 00295484 81 83 00 00 */ lwz r12, 0(r3) -/* 80298528 00295488 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8029852C 0029548C 7D 89 03 A6 */ mtctr r12 -/* 80298530 00295490 4E 80 04 21 */ bctrl -/* 80298534 00295494 80 7E 00 C4 */ lwz r3, 0xc4(r30) -/* 80298538 00295498 48 03 10 0D */ bl Render__15CGuiTextSupportFv -/* 8029853C 0029549C 7F C3 F3 78 */ mr r3, r30 -/* 80298540 002954A0 4B FF FC 85 */ bl sub_802981c4 -lbl_80298544: -/* 80298544 002954A4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80298548 002954A8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8029854C 002954AC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80298550 002954B0 7C 08 03 A6 */ mtlr r0 -/* 80298554 002954B4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80298558 002954B8 4E 80 00 20 */ blr - -.global sub_8029855c -sub_8029855c: -/* 8029855C 002954BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80298560 002954C0 7C 08 02 A6 */ mflr r0 -/* 80298564 002954C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80298568 002954C8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8029856C 002954CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80298570 002954D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80298574 002954D4 7C 7F 1B 78 */ mr r31, r3 -/* 80298578 002954D8 FF E0 08 90 */ fmr f31, f1 -/* 8029857C 002954DC 80 03 00 C8 */ lwz r0, 0xc8(r3) -/* 80298580 002954E0 28 00 00 00 */ cmplwi r0, 0 -/* 80298584 002954E4 41 82 01 1C */ beq lbl_802986A0 -/* 80298588 002954E8 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8029858C 002954EC 2C 00 00 00 */ cmpwi r0, 0 -/* 80298590 002954F0 41 82 01 10 */ beq lbl_802986A0 -/* 80298594 002954F4 80 BF 00 44 */ lwz r5, 0x44(r31) -/* 80298598 002954F8 39 20 00 00 */ li r9, 0 -/* 8029859C 002954FC 81 1F 00 48 */ lwz r8, 0x48(r31) -/* 802985A0 00295500 2C 05 00 00 */ cmpwi r5, 0 -/* 802985A4 00295504 40 81 00 A8 */ ble lbl_8029864C -/* 802985A8 00295508 2C 05 00 08 */ cmpwi r5, 8 -/* 802985AC 0029550C 38 65 FF F8 */ addi r3, r5, -8 -/* 802985B0 00295510 40 81 00 70 */ ble lbl_80298620 -/* 802985B4 00295514 38 03 00 07 */ addi r0, r3, 7 -/* 802985B8 00295518 38 80 00 00 */ li r4, 0 -/* 802985BC 0029551C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802985C0 00295520 7C 09 03 A6 */ mtctr r0 -/* 802985C4 00295524 2C 03 00 00 */ cmpwi r3, 0 -/* 802985C8 00295528 40 81 00 58 */ ble lbl_80298620 -lbl_802985CC: -/* 802985CC 0029552C 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 802985D0 00295530 39 29 00 08 */ addi r9, r9, 8 -/* 802985D4 00295534 7C 60 22 14 */ add r3, r0, r4 -/* 802985D8 00295538 38 84 00 A0 */ addi r4, r4, 0xa0 -/* 802985DC 0029553C 80 03 00 08 */ lwz r0, 8(r3) -/* 802985E0 00295540 80 E3 00 1C */ lwz r7, 0x1c(r3) -/* 802985E4 00295544 7D 08 02 14 */ add r8, r8, r0 -/* 802985E8 00295548 80 C3 00 30 */ lwz r6, 0x30(r3) -/* 802985EC 0029554C 7D 08 3A 14 */ add r8, r8, r7 -/* 802985F0 00295550 80 03 00 44 */ lwz r0, 0x44(r3) -/* 802985F4 00295554 7D 08 32 14 */ add r8, r8, r6 -/* 802985F8 00295558 80 C3 00 58 */ lwz r6, 0x58(r3) -/* 802985FC 0029555C 7D 08 02 14 */ add r8, r8, r0 -/* 80298600 00295560 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 80298604 00295564 7D 08 32 14 */ add r8, r8, r6 -/* 80298608 00295568 80 C3 00 80 */ lwz r6, 0x80(r3) -/* 8029860C 0029556C 7D 08 02 14 */ add r8, r8, r0 -/* 80298610 00295570 80 03 00 94 */ lwz r0, 0x94(r3) -/* 80298614 00295574 7D 08 32 14 */ add r8, r8, r6 -/* 80298618 00295578 7D 08 02 14 */ add r8, r8, r0 -/* 8029861C 0029557C 42 00 FF B0 */ bdnz lbl_802985CC -lbl_80298620: -/* 80298620 00295580 7C 09 28 50 */ subf r0, r9, r5 -/* 80298624 00295584 1C 89 00 14 */ mulli r4, r9, 0x14 -/* 80298628 00295588 7C 09 03 A6 */ mtctr r0 -/* 8029862C 0029558C 7C 09 28 00 */ cmpw r9, r5 -/* 80298630 00295590 40 80 00 1C */ bge lbl_8029864C -lbl_80298634: -/* 80298634 00295594 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80298638 00295598 38 04 00 08 */ addi r0, r4, 8 -/* 8029863C 0029559C 38 84 00 14 */ addi r4, r4, 0x14 -/* 80298640 002955A0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80298644 002955A4 7D 08 02 14 */ add r8, r8, r0 -/* 80298648 002955A8 42 00 FF EC */ bdnz lbl_80298634 -lbl_8029864C: -/* 8029864C 002955AC 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 80298650 002955B0 80 BF 00 40 */ lwz r5, 0x40(r31) -/* 80298654 002955B4 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l -/* 80298658 002955B8 38 88 00 01 */ addi r4, r8, 1 -/* 8029865C 002955BC 38 63 00 8D */ addi r3, r3, 0x8d -/* 80298660 002955C0 4C C6 31 82 */ crclr 6 -/* 80298664 002955C4 48 03 DB 4D */ bl Stringize__7CBasicsFPCce -/* 80298668 002955C8 7C 64 1B 78 */ mr r4, r3 -/* 8029866C 002955CC 38 61 00 0C */ addi r3, r1, 0xc -/* 80298670 002955D0 38 C1 00 08 */ addi r6, r1, 8 -/* 80298674 002955D4 38 A0 FF FF */ li r5, -1 -/* 80298678 002955D8 48 0A 5B 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8029867C 002955DC 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 80298680 002955E0 38 81 00 0C */ addi r4, r1, 0xc -/* 80298684 002955E4 38 A0 00 00 */ li r5, 0 -/* 80298688 002955E8 48 03 14 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029868C 002955EC FC 20 F8 90 */ fmr f1, f31 -/* 80298690 002955F0 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 80298694 002955F4 48 02 FA E5 */ bl Update__15CGuiTextSupportFf -/* 80298698 002955F8 38 61 00 0C */ addi r3, r1, 0xc -/* 8029869C 002955FC 48 0A 54 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802986A0: -/* 802986A0 00295600 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 802986A4 00295604 C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 802986A8 00295608 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 802986AC 0029560C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802986B0 00295610 40 82 00 14 */ bne lbl_802986C4 -/* 802986B4 00295614 88 1F 01 35 */ lbz r0, 0x135(r31) -/* 802986B8 00295618 38 60 00 00 */ li r3, 0 -/* 802986BC 0029561C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802986C0 00295620 98 1F 01 35 */ stb r0, 0x135(r31) -lbl_802986C4: -/* 802986C4 00295624 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802986C8 00295628 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802986CC 0029562C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802986D0 00295630 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802986D4 00295634 7C 08 03 A6 */ mtlr r0 -/* 802986D8 00295638 38 21 00 40 */ addi r1, r1, 0x40 -/* 802986DC 0029563C 4E 80 00 20 */ blr - -.global sub_802986e0 -sub_802986e0: -/* 802986E0 00295640 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802986E4 00295644 7C 08 02 A6 */ mflr r0 -/* 802986E8 00295648 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802986EC 0029564C DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 802986F0 00295650 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 802986F4 00295654 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 802986F8 00295658 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 802986FC 0029565C DB A1 00 80 */ stfd f29, 0x80(r1) -/* 80298700 00295660 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 80298704 00295664 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80298708 00295668 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8029870C 0029566C 7C 7F 1B 78 */ mr r31, r3 -/* 80298710 00295670 80 03 00 C8 */ lwz r0, 0xc8(r3) -/* 80298714 00295674 28 00 00 00 */ cmplwi r0, 0 -/* 80298718 00295678 41 82 01 AC */ beq lbl_802988C4 -/* 8029871C 0029567C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 80298720 00295680 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80298724 00295684 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l -/* 80298728 00295688 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8029872C 0029568C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80298730 00295690 38 81 00 14 */ addi r4, r1, 0x14 -/* 80298734 00295694 83 C5 00 0C */ lwz r30, 0xc(r5) -/* 80298738 00295698 38 6D 99 FC */ addi r3, r13, lbl_805A85BC@sda21 -/* 8029873C 0029569C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80298740 002956A0 38 AD 9A 00 */ addi r5, r13, lbl_805A85C0@sda21 -/* 80298744 002956A4 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80298748 002956A8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8029874C 002956AC 4B D7 3B 69 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80298750 002956B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80298754 002956B4 38 A0 00 00 */ li r5, 0 -/* 80298758 002956B8 C3 A3 00 00 */ lfs f29, 0(r3) -/* 8029875C 002956BC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80298760 002956C0 81 84 00 00 */ lwz r12, 0(r4) -/* 80298764 002956C4 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2) -/* 80298768 002956C8 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 8029876C 002956CC C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2) -/* 80298770 002956D0 7D 89 03 A6 */ mtctr r12 -/* 80298774 002956D4 4E 80 04 21 */ bctrl -/* 80298778 002956D8 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 8029877C 002956DC 3C 00 43 30 */ lis r0, 0x4330 -/* 80298780 002956E0 90 61 00 6C */ stw r3, 0x6c(r1) -/* 80298784 002956E4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80298788 002956E8 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) -/* 8029878C 002956EC 90 01 00 68 */ stw r0, 0x68(r1) -/* 80298790 002956F0 C0 1F 01 2C */ lfs f0, 0x12c(r31) -/* 80298794 002956F4 C8 41 00 68 */ lfd f2, 0x68(r1) -/* 80298798 002956F8 C0 22 C0 1C */ lfs f1, lbl_805ADD3C@sda21(r2) -/* 8029879C 002956FC EC 62 18 28 */ fsubs f3, f2, f3 -/* 802987A0 00295700 C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) -/* 802987A4 00295704 EC 63 00 2A */ fadds f3, f3, f0 -/* 802987A8 00295708 48 07 A9 E1 */ bl Translate__12CTransform4fFfff -/* 802987AC 0029570C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802987B0 00295710 38 81 00 34 */ addi r4, r1, 0x34 -/* 802987B4 00295714 81 83 00 00 */ lwz r12, 0(r3) -/* 802987B8 00295718 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 802987BC 0029571C 7D 89 03 A6 */ mtctr r12 -/* 802987C0 00295720 4E 80 04 21 */ bctrl -/* 802987C4 00295724 38 60 00 00 */ li r3, 0 -/* 802987C8 00295728 48 07 32 A9 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802987CC 0029572C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 802987D0 00295730 38 80 00 00 */ li r4, 0 -/* 802987D4 00295734 38 A0 00 00 */ li r5, 0 -/* 802987D8 00295738 81 83 00 00 */ lwz r12, 0(r3) -/* 802987DC 0029573C 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 802987E0 00295740 7D 89 03 A6 */ mtctr r12 -/* 802987E4 00295744 4E 80 04 21 */ bctrl -/* 802987E8 00295748 83 DF 00 C8 */ lwz r30, 0xc8(r31) -/* 802987EC 0029574C 48 0B 17 C1 */ bl White__6CColorFv -/* 802987F0 00295750 88 83 00 03 */ lbz r4, 3(r3) -/* 802987F4 00295754 3C 00 43 30 */ lis r0, 0x4330 -/* 802987F8 00295758 90 01 00 70 */ stw r0, 0x70(r1) -/* 802987FC 0029575C C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) -/* 80298800 00295760 90 81 00 74 */ stw r4, 0x74(r1) -/* 80298804 00295764 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80298808 00295768 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8029880C 0029576C EF FD 00 32 */ fmuls f31, f29, f0 -/* 80298810 00295770 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 80298814 00295774 38 81 00 10 */ addi r4, r1, 0x10 -/* 80298818 00295778 80 A3 00 00 */ lwz r5, 0(r3) -/* 8029881C 0029577C 7F C3 F3 78 */ mr r3, r30 -/* 80298820 00295780 88 01 00 09 */ lbz r0, 9(r1) -/* 80298824 00295784 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 80298828 00295788 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029882C 0029578C 48 03 0D E1 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor -/* 80298830 00295790 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 80298834 00295794 48 03 0D 11 */ bl Render__15CGuiTextSupportFv -/* 80298838 00295798 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8029883C 0029579C 80 7F 00 DC */ lwz r3, 0xdc(r31) -/* 80298840 002957A0 54 00 18 38 */ slwi r0, r0, 3 -/* 80298844 002957A4 7C 63 02 14 */ add r3, r3, r0 -/* 80298848 002957A8 80 03 00 04 */ lwz r0, 4(r3) -/* 8029884C 002957AC 28 00 00 00 */ cmplwi r0, 0 -/* 80298850 002957B0 41 82 00 74 */ beq lbl_802988C4 -/* 80298854 002957B4 88 1F 01 35 */ lbz r0, 0x135(r31) -/* 80298858 002957B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029885C 002957BC 41 82 00 68 */ beq lbl_802988C4 -/* 80298860 002957C0 C0 5F 01 2C */ lfs f2, 0x12c(r31) -/* 80298864 002957C4 3C 00 43 30 */ lis r0, 0x4330 -/* 80298868 002957C8 C0 22 C0 0C */ lfs f1, lbl_805ADD2C@sda21(r2) -/* 8029886C 002957CC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80298870 002957D0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80298874 002957D4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) -/* 80298878 002957D8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8029887C 002957DC C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2) -/* 80298880 002957E0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80298884 002957E4 88 85 00 27 */ lbz r4, 0x27(r5) -/* 80298888 002957E8 90 01 00 70 */ stw r0, 0x70(r1) -/* 8029888C 002957EC 90 81 00 74 */ stw r4, 0x74(r1) -/* 80298890 002957F0 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80298894 002957F4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80298898 002957F8 EF DD 00 32 */ fmuls f30, f29, f0 -/* 8029889C 002957FC F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 802988A0 00295800 38 81 00 18 */ addi r4, r1, 0x18 -/* 802988A4 00295804 81 05 00 24 */ lwz r8, 0x24(r5) -/* 802988A8 00295808 38 A1 00 0C */ addi r5, r1, 0xc -/* 802988AC 0029580C 88 01 00 08 */ lbz r0, 8(r1) -/* 802988B0 00295810 38 C0 00 00 */ li r6, 0 -/* 802988B4 00295814 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17 -/* 802988B8 00295818 38 E0 00 00 */ li r7, 0 -/* 802988BC 0029581C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802988C0 00295820 48 00 34 65 */ bl sub_8029bd24 -lbl_802988C4: -/* 802988C4 00295824 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802988C8 00295828 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802988CC 0029582C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 802988D0 00295830 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 802988D4 00295834 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 802988D8 00295838 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 802988DC 0029583C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802988E0 00295840 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802988E4 00295844 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802988E8 00295848 7C 08 03 A6 */ mtlr r0 -/* 802988EC 0029584C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802988F0 00295850 4E 80 00 20 */ blr - -.global sub_802988f4 -sub_802988f4: -/* 802988F4 00295854 80 04 00 04 */ lwz r0, 4(r4) -/* 802988F8 00295858 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 802988FC 0029585C 54 00 18 38 */ slwi r0, r0, 3 -/* 80298900 00295860 7C 85 02 14 */ add r4, r5, r0 -/* 80298904 00295864 48 00 00 20 */ b lbl_80298924 -lbl_80298908: -/* 80298908 00295868 80 65 00 00 */ lwz r3, 0(r5) -/* 8029890C 0029586C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80298910 00295870 28 00 00 00 */ cmplwi r0, 0 -/* 80298914 00295874 40 82 00 0C */ bne lbl_80298920 -/* 80298918 00295878 38 60 00 00 */ li r3, 0 -/* 8029891C 0029587C 4E 80 00 20 */ blr -lbl_80298920: -/* 80298920 00295880 38 A5 00 08 */ addi r5, r5, 8 -lbl_80298924: -/* 80298924 00295884 7C 05 20 40 */ cmplw r5, r4 -/* 80298928 00295888 40 82 FF E0 */ bne lbl_80298908 -/* 8029892C 0029588C 38 60 00 01 */ li r3, 1 -/* 80298930 00295890 4E 80 00 20 */ blr - -.global sub_80298934 -sub_80298934: -/* 80298934 00295894 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80298938 00295898 7C 08 02 A6 */ mflr r0 -/* 8029893C 0029589C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80298940 002958A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80298944 002958A4 54 BF 06 3E */ clrlwi r31, r5, 0x18 -/* 80298948 002958A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029894C 002958AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80298950 002958B0 7C 9D 23 78 */ mr r29, r4 -/* 80298954 002958B4 83 C4 00 0C */ lwz r30, 0xc(r4) -/* 80298958 002958B8 48 00 00 24 */ b lbl_8029897C -lbl_8029895C: -/* 8029895C 002958BC 28 1F 00 00 */ cmplwi r31, 0 -/* 80298960 002958C0 41 82 00 10 */ beq lbl_80298970 -/* 80298964 002958C4 7F C3 F3 78 */ mr r3, r30 -/* 80298968 002958C8 48 0A 84 1D */ bl Lock__6CTokenFv -/* 8029896C 002958CC 48 00 00 0C */ b lbl_80298978 -lbl_80298970: -/* 80298970 002958D0 7F C3 F3 78 */ mr r3, r30 -/* 80298974 002958D4 48 0A 83 CD */ bl Unlock__6CTokenFv -lbl_80298978: -/* 80298978 002958D8 3B DE 00 08 */ addi r30, r30, 8 -lbl_8029897C: -/* 8029897C 002958DC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80298980 002958E0 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80298984 002958E4 54 00 18 38 */ slwi r0, r0, 3 -/* 80298988 002958E8 7C 03 02 14 */ add r0, r3, r0 -/* 8029898C 002958EC 7C 1E 00 40 */ cmplw r30, r0 -/* 80298990 002958F0 40 82 FF CC */ bne lbl_8029895C -/* 80298994 002958F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80298998 002958F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029899C 002958FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802989A0 00295900 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802989A4 00295904 7C 08 03 A6 */ mtlr r0 -/* 802989A8 00295908 38 21 00 20 */ addi r1, r1, 0x20 -/* 802989AC 0029590C 4E 80 00 20 */ blr - -.global sub_802989b0 -sub_802989b0: -/* 802989B0 00295910 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802989B4 00295914 7C 08 02 A6 */ mflr r0 -/* 802989B8 00295918 90 01 00 24 */ stw r0, 0x24(r1) -/* 802989BC 0029591C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802989C0 00295920 54 BF 06 3E */ clrlwi r31, r5, 0x18 -/* 802989C4 00295924 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802989C8 00295928 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802989CC 0029592C 7C 9D 23 78 */ mr r29, r4 -/* 802989D0 00295930 83 C4 00 0C */ lwz r30, 0xc(r4) -/* 802989D4 00295934 48 00 00 24 */ b lbl_802989F8 -lbl_802989D8: -/* 802989D8 00295938 28 1F 00 00 */ cmplwi r31, 0 -/* 802989DC 0029593C 41 82 00 10 */ beq lbl_802989EC -/* 802989E0 00295940 7F C3 F3 78 */ mr r3, r30 -/* 802989E4 00295944 48 0A 83 A1 */ bl Lock__6CTokenFv -/* 802989E8 00295948 48 00 00 0C */ b lbl_802989F4 -lbl_802989EC: -/* 802989EC 0029594C 7F C3 F3 78 */ mr r3, r30 -/* 802989F0 00295950 48 0A 83 51 */ bl Unlock__6CTokenFv -lbl_802989F4: -/* 802989F4 00295954 3B DE 00 08 */ addi r30, r30, 8 -lbl_802989F8: -/* 802989F8 00295958 80 1D 00 04 */ lwz r0, 4(r29) -/* 802989FC 0029595C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80298A00 00295960 54 00 18 38 */ slwi r0, r0, 3 -/* 80298A04 00295964 7C 03 02 14 */ add r0, r3, r0 -/* 80298A08 00295968 7C 1E 00 40 */ cmplw r30, r0 -/* 80298A0C 0029596C 40 82 FF CC */ bne lbl_802989D8 -/* 80298A10 00295970 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80298A14 00295974 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80298A18 00295978 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80298A1C 0029597C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80298A20 00295980 7C 08 03 A6 */ mtlr r0 -/* 80298A24 00295984 38 21 00 20 */ addi r1, r1, 0x20 -/* 80298A28 00295988 4E 80 00 20 */ blr - -.global sub_80298a2c -sub_80298a2c: -/* 80298A2C 0029598C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80298A30 00295990 7C 08 02 A6 */ mflr r0 -/* 80298A34 00295994 90 01 00 34 */ stw r0, 0x34(r1) -/* 80298A38 00295998 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80298A3C 0029599C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80298A40 002959A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80298A44 002959A4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) -/* 80298A48 002959A8 7C 7F 1B 78 */ mr r31, r3 -/* 80298A4C 002959AC 38 81 00 0C */ addi r4, r1, 0xc -/* 80298A50 002959B0 38 6D 99 F4 */ addi r3, r13, lbl_805A85B4@sda21 -/* 80298A54 002959B4 C0 05 00 58 */ lfs f0, 0x58(r5) -/* 80298A58 002959B8 38 AD 99 F8 */ addi r5, r13, lbl_805A85B8@sda21 -/* 80298A5C 002959BC EC 01 00 24 */ fdivs f0, f1, f0 -/* 80298A60 002959C0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80298A64 002959C4 4B D7 38 51 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80298A68 002959C8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) -/* 80298A6C 002959CC 3C 00 43 30 */ lis r0, 0x4330 -/* 80298A70 002959D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80298A74 002959D4 80 04 01 D8 */ lwz r0, 0x1d8(r4) -/* 80298A78 002959D8 C0 43 00 00 */ lfs f2, 0(r3) -/* 80298A7C 002959DC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80298A80 002959E0 C0 02 C0 28 */ lfs f0, lbl_805ADD48@sda21(r2) -/* 80298A84 002959E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80298A88 002959E8 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80298A8C 002959EC C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80298A90 002959F0 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80298A94 002959F4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80298A98 002959F8 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80298A9C 002959FC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80298AA0 00295A00 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 80298AA4 00295A04 88 81 00 08 */ lbz r4, 8(r1) -/* 80298AA8 00295A08 48 0D 31 8D */ bl SetVolume__18CStaticAudioPlayerFc -/* 80298AAC 00295A0C 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 80298AB0 00295A10 48 0D 35 81 */ bl StartMixOut__18CStaticAudioPlayerFv -/* 80298AB4 00295A14 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80298AB8 00295A18 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80298ABC 00295A1C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80298AC0 00295A20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80298AC4 00295A24 7C 08 03 A6 */ mtlr r0 -/* 80298AC8 00295A28 38 21 00 30 */ addi r1, r1, 0x30 -/* 80298ACC 00295A2C 4E 80 00 20 */ blr - -.global sub_80298ad0 -sub_80298ad0: -/* 80298AD0 00295A30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80298AD4 00295A34 7C 08 02 A6 */ mflr r0 -/* 80298AD8 00295A38 90 01 00 24 */ stw r0, 0x24(r1) -/* 80298ADC 00295A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80298AE0 00295A40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80298AE4 00295A44 7C 7F 1B 78 */ mr r31, r3 -/* 80298AE8 00295A48 41 82 00 40 */ beq lbl_80298B28 -/* 80298AEC 00295A4C 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80298AF0 00295A50 28 00 00 00 */ cmplwi r0, 0 -/* 80298AF4 00295A54 40 82 00 4C */ bne lbl_80298B40 -/* 80298AF8 00295A58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80298AFC 00295A5C 38 61 00 0C */ addi r3, r1, 0xc -/* 80298B00 00295A60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80298B04 00295A64 38 80 05 AF */ li r4, 0x5af -/* 80298B08 00295A68 38 A0 00 7F */ li r5, 0x7f -/* 80298B0C 00295A6C 38 C0 00 40 */ li r6, 0x40 -/* 80298B10 00295A70 38 E0 00 00 */ li r7, 0 -/* 80298B14 00295A74 39 20 00 01 */ li r9, 1 -/* 80298B18 00295A78 48 05 12 5D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80298B1C 00295A7C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80298B20 00295A80 90 1F 00 E4 */ stw r0, 0xe4(r31) -/* 80298B24 00295A84 48 00 00 1C */ b lbl_80298B40 -lbl_80298B28: -/* 80298B28 00295A88 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80298B2C 00295A8C 38 61 00 08 */ addi r3, r1, 8 -/* 80298B30 00295A90 90 01 00 08 */ stw r0, 8(r1) -/* 80298B34 00295A94 48 05 12 15 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80298B38 00295A98 38 00 00 00 */ li r0, 0 -/* 80298B3C 00295A9C 90 1F 00 E4 */ stw r0, 0xe4(r31) -lbl_80298B40: -/* 80298B40 00295AA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80298B44 00295AA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80298B48 00295AA8 7C 08 03 A6 */ mtlr r0 -/* 80298B4C 00295AAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80298B50 00295AB0 4E 80 00 20 */ blr - -.global sub_80298b54 -sub_80298b54: -/* 80298B54 00295AB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80298B58 00295AB8 7C 08 02 A6 */ mflr r0 -/* 80298B5C 00295ABC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80298B60 00295AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80298B64 00295AC4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80298B68 00295AC8 7C 7F 1B 78 */ mr r31, r3 -/* 80298B6C 00295ACC 41 82 00 40 */ beq lbl_80298BAC -/* 80298B70 00295AD0 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 80298B74 00295AD4 28 00 00 00 */ cmplwi r0, 0 -/* 80298B78 00295AD8 40 82 00 4C */ bne lbl_80298BC4 -/* 80298B7C 00295ADC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80298B80 00295AE0 38 61 00 0C */ addi r3, r1, 0xc -/* 80298B84 00295AE4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80298B88 00295AE8 38 80 05 AE */ li r4, 0x5ae -/* 80298B8C 00295AEC 38 A0 00 7F */ li r5, 0x7f -/* 80298B90 00295AF0 38 C0 00 40 */ li r6, 0x40 -/* 80298B94 00295AF4 38 E0 00 00 */ li r7, 0 -/* 80298B98 00295AF8 39 20 00 01 */ li r9, 1 -/* 80298B9C 00295AFC 48 05 11 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80298BA0 00295B00 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80298BA4 00295B04 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 80298BA8 00295B08 48 00 00 1C */ b lbl_80298BC4 -lbl_80298BAC: -/* 80298BAC 00295B0C 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 80298BB0 00295B10 38 61 00 08 */ addi r3, r1, 8 -/* 80298BB4 00295B14 90 01 00 08 */ stw r0, 8(r1) -/* 80298BB8 00295B18 48 05 11 91 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80298BBC 00295B1C 38 00 00 00 */ li r0, 0 -/* 80298BC0 00295B20 90 1F 00 E0 */ stw r0, 0xe0(r31) -lbl_80298BC4: -/* 80298BC4 00295B24 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80298BC8 00295B28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80298BCC 00295B2C 7C 08 03 A6 */ mtlr r0 -/* 80298BD0 00295B30 38 21 00 20 */ addi r1, r1, 0x20 -/* 80298BD4 00295B34 4E 80 00 20 */ blr - -.global sub_80298bd8 -sub_80298bd8: -/* 80298BD8 00295B38 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 80298BDC 00295B3C 7C 08 02 A6 */ mflr r0 -/* 80298BE0 00295B40 90 01 02 34 */ stw r0, 0x234(r1) -/* 80298BE4 00295B44 DB E1 02 20 */ stfd f31, 0x220(r1) -/* 80298BE8 00295B48 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 80298BEC 00295B4C DB C1 02 10 */ stfd f30, 0x210(r1) -/* 80298BF0 00295B50 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 80298BF4 00295B54 DB A1 02 00 */ stfd f29, 0x200(r1) -/* 80298BF8 00295B58 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 -/* 80298BFC 00295B5C 93 E1 01 FC */ stw r31, 0x1fc(r1) -/* 80298C00 00295B60 93 C1 01 F8 */ stw r30, 0x1f8(r1) -/* 80298C04 00295B64 7C 7F 1B 78 */ mr r31, r3 -/* 80298C08 00295B68 7C 9E 23 78 */ mr r30, r4 -/* 80298C0C 00295B6C 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 80298C10 00295B70 28 00 00 00 */ cmplwi r0, 0 -/* 80298C14 00295B74 41 82 06 10 */ beq lbl_80299224 -/* 80298C18 00295B78 38 60 00 2D */ li r3, 0x2d -/* 80298C1C 00295B7C 4B D7 3C FD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C20 00295B80 FF E0 08 90 */ fmr f31, f1 -/* 80298C24 00295B84 7F C4 F3 78 */ mr r4, r30 -/* 80298C28 00295B88 38 60 00 2C */ li r3, 0x2c -/* 80298C2C 00295B8C 4B D7 3C ED */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C30 00295B90 FF C0 08 90 */ fmr f30, f1 -/* 80298C34 00295B94 7F C4 F3 78 */ mr r4, r30 -/* 80298C38 00295B98 38 60 00 2B */ li r3, 0x2b -/* 80298C3C 00295B9C 4B D7 3C DD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C40 00295BA0 FF A0 08 90 */ fmr f29, f1 -/* 80298C44 00295BA4 7F C4 F3 78 */ mr r4, r30 -/* 80298C48 00295BA8 38 60 00 2A */ li r3, 0x2a -/* 80298C4C 00295BAC 4B D7 3C CD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C50 00295BB0 FC 40 E8 90 */ fmr f2, f29 -/* 80298C54 00295BB4 FC 60 F0 90 */ fmr f3, f30 -/* 80298C58 00295BB8 FC 80 F8 90 */ fmr f4, f31 -/* 80298C5C 00295BBC 48 00 33 31 */ bl sub_8029bf8c -/* 80298C60 00295BC0 90 7F 00 EC */ stw r3, 0xec(r31) -/* 80298C64 00295BC4 7F C4 F3 78 */ mr r4, r30 -/* 80298C68 00295BC8 38 60 00 29 */ li r3, 0x29 -/* 80298C6C 00295BCC 4B D7 3C AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C70 00295BD0 FF A0 08 90 */ fmr f29, f1 -/* 80298C74 00295BD4 7F C4 F3 78 */ mr r4, r30 -/* 80298C78 00295BD8 38 60 00 28 */ li r3, 0x28 -/* 80298C7C 00295BDC 4B D7 3C 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C80 00295BE0 FF C0 08 90 */ fmr f30, f1 -/* 80298C84 00295BE4 7F C4 F3 78 */ mr r4, r30 -/* 80298C88 00295BE8 38 60 00 26 */ li r3, 0x26 -/* 80298C8C 00295BEC 4B D7 3C 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298C90 00295BF0 FF E0 08 90 */ fmr f31, f1 -/* 80298C94 00295BF4 7F C4 F3 78 */ mr r4, r30 -/* 80298C98 00295BF8 38 60 00 27 */ li r3, 0x27 -/* 80298C9C 00295BFC 4B D7 3C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298CA0 00295C00 FC 40 F8 90 */ fmr f2, f31 -/* 80298CA4 00295C04 FC 60 F0 90 */ fmr f3, f30 -/* 80298CA8 00295C08 FC 80 E8 90 */ fmr f4, f29 -/* 80298CAC 00295C0C 48 00 32 E1 */ bl sub_8029bf8c -/* 80298CB0 00295C10 90 7F 00 E8 */ stw r3, 0xe8(r31) -/* 80298CB4 00295C14 7F C4 F3 78 */ mr r4, r30 -/* 80298CB8 00295C18 38 60 00 2E */ li r3, 0x2e -/* 80298CBC 00295C1C 4B D7 3C 5D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298CC0 00295C20 FF E0 08 90 */ fmr f31, f1 -/* 80298CC4 00295C24 7F C4 F3 78 */ mr r4, r30 -/* 80298CC8 00295C28 38 60 00 2F */ li r3, 0x2f -/* 80298CCC 00295C2C 4B D7 3C 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80298CD0 00295C30 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80298CD4 00295C34 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80298CD8 00295C38 40 81 00 0C */ ble lbl_80298CE4 -/* 80298CDC 00295C3C 38 00 00 01 */ li r0, 1 -/* 80298CE0 00295C40 48 00 00 08 */ b lbl_80298CE8 -lbl_80298CE4: -/* 80298CE4 00295C44 38 00 00 00 */ li r0, 0 -lbl_80298CE8: -/* 80298CE8 00295C48 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80298CEC 00295C4C 90 1F 00 F4 */ stw r0, 0xf4(r31) -/* 80298CF0 00295C50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80298CF4 00295C54 40 81 00 0C */ ble lbl_80298D00 -/* 80298CF8 00295C58 38 00 00 01 */ li r0, 1 -/* 80298CFC 00295C5C 48 00 00 08 */ b lbl_80298D04 -lbl_80298D00: -/* 80298D00 00295C60 38 00 00 00 */ li r0, 0 -lbl_80298D04: -/* 80298D04 00295C64 90 1F 00 F0 */ stw r0, 0xf0(r31) -/* 80298D08 00295C68 38 00 00 00 */ li r0, 0 -/* 80298D0C 00295C6C 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 -/* 80298D10 00295C70 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298D14 00295C74 90 81 01 E0 */ stw r4, 0x1e0(r1) -/* 80298D18 00295C78 38 80 01 00 */ li r4, 0x100 -/* 80298D1C 00295C7C 83 CD A0 74 */ lwz r30, gpStringTable@sda21(r13) -/* 80298D20 00295C80 38 A0 00 01 */ li r5, 1 -/* 80298D24 00295C84 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 80298D28 00295C88 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 80298D2C 00295C8C 48 0A 42 49 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 80298D30 00295C90 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 80298D34 00295C94 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298D38 00295C98 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80298D3C 00295C9C 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 80298D40 00295CA0 54 00 10 3A */ slwi r0, r0, 2 -/* 80298D44 00295CA4 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80298D48 00295CA8 7C A3 02 14 */ add r5, r3, r0 -/* 80298D4C 00295CAC 38 66 00 93 */ addi r3, r6, 0x93 -/* 80298D50 00295CB0 80 A5 00 24 */ lwz r5, 0x24(r5) -/* 80298D54 00295CB4 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 80298D58 00295CB8 4C C6 31 82 */ crclr 6 -/* 80298D5C 00295CBC 48 03 D4 55 */ bl Stringize__7CBasicsFPCce -/* 80298D60 00295CC0 7C 64 1B 78 */ mr r4, r3 -/* 80298D64 00295CC4 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80298D68 00295CC8 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80298D6C 00295CCC 38 A0 FF FF */ li r5, -1 -/* 80298D70 00295CD0 48 0A 54 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80298D74 00295CD4 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 80298D78 00295CD8 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 80298D7C 00295CDC 48 0A 59 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298D80 00295CE0 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298D84 00295CE4 38 81 01 C0 */ addi r4, r1, 0x1c0 -/* 80298D88 00295CE8 48 0A 48 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298D8C 00295CEC 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 80298D90 00295CF0 48 0A 43 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298D94 00295CF4 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80298D98 00295CF8 48 0A 4D 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298D9C 00295CFC 7F C3 F3 78 */ mr r3, r30 -/* 80298DA0 00295D00 38 80 00 38 */ li r4, 0x38 -/* 80298DA4 00295D04 48 0B D9 59 */ bl GetString__12CStringTableCFi -/* 80298DA8 00295D08 7C 64 1B 78 */ mr r4, r3 -/* 80298DAC 00295D0C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298DB0 00295D10 38 A0 FF FF */ li r5, -1 -/* 80298DB4 00295D14 48 0A 47 31 */ bl sub_8033d4e4 -/* 80298DB8 00295D18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298DBC 00295D1C 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80298DC0 00295D20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80298DC4 00295D24 38 84 00 A8 */ addi r4, r4, 0xa8 -/* 80298DC8 00295D28 4B D6 BE F1 */ bl string_l__4rstlFPCc -/* 80298DCC 00295D2C 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80298DD0 00295D30 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 80298DD4 00295D34 48 0A 59 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298DD8 00295D38 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298DDC 00295D3C 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 80298DE0 00295D40 48 0A 48 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298DE4 00295D44 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80298DE8 00295D48 48 0A 43 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298DEC 00295D4C 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80298DF0 00295D50 48 0A 4C F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298DF4 00295D54 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 80298DF8 00295D58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298DFC 00295D5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80298E00 00295D60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 80298E04 00295D64 54 00 10 3A */ slwi r0, r0, 2 -/* 80298E08 00295D68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80298E0C 00295D6C 7C A3 02 14 */ add r5, r3, r0 -/* 80298E10 00295D70 38 66 00 AC */ addi r3, r6, 0xac -/* 80298E14 00295D74 80 A5 00 74 */ lwz r5, 0x74(r5) -/* 80298E18 00295D78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 80298E1C 00295D7C 4C C6 31 82 */ crclr 6 -/* 80298E20 00295D80 48 03 D3 91 */ bl Stringize__7CBasicsFPCce -/* 80298E24 00295D84 7C 64 1B 78 */ mr r4, r3 -/* 80298E28 00295D88 38 61 01 90 */ addi r3, r1, 0x190 -/* 80298E2C 00295D8C 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80298E30 00295D90 38 A0 FF FF */ li r5, -1 -/* 80298E34 00295D94 48 0A 53 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80298E38 00295D98 38 61 01 80 */ addi r3, r1, 0x180 -/* 80298E3C 00295D9C 38 81 01 90 */ addi r4, r1, 0x190 -/* 80298E40 00295DA0 48 0A 58 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298E44 00295DA4 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298E48 00295DA8 38 81 01 80 */ addi r4, r1, 0x180 -/* 80298E4C 00295DAC 48 0A 48 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298E50 00295DB0 38 61 01 80 */ addi r3, r1, 0x180 -/* 80298E54 00295DB4 48 0A 42 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298E58 00295DB8 38 61 01 90 */ addi r3, r1, 0x190 -/* 80298E5C 00295DBC 48 0A 4C 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298E60 00295DC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298E64 00295DC4 38 61 01 70 */ addi r3, r1, 0x170 -/* 80298E68 00295DC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80298E6C 00295DCC 38 84 00 B6 */ addi r4, r4, 0xb6 -/* 80298E70 00295DD0 4B D6 BE 49 */ bl string_l__4rstlFPCc -/* 80298E74 00295DD4 38 61 01 60 */ addi r3, r1, 0x160 -/* 80298E78 00295DD8 38 81 01 70 */ addi r4, r1, 0x170 -/* 80298E7C 00295DDC 48 0A 58 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298E80 00295DE0 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298E84 00295DE4 38 81 01 60 */ addi r4, r1, 0x160 -/* 80298E88 00295DE8 48 0A 47 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298E8C 00295DEC 38 61 01 60 */ addi r3, r1, 0x160 -/* 80298E90 00295DF0 48 0A 42 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298E94 00295DF4 38 61 01 70 */ addi r3, r1, 0x170 -/* 80298E98 00295DF8 48 0A 4C 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298E9C 00295DFC 7F C3 F3 78 */ mr r3, r30 -/* 80298EA0 00295E00 38 80 00 3A */ li r4, 0x3a -/* 80298EA4 00295E04 48 0B D8 59 */ bl GetString__12CStringTableCFi -/* 80298EA8 00295E08 7C 64 1B 78 */ mr r4, r3 -/* 80298EAC 00295E0C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298EB0 00295E10 38 A0 FF FF */ li r5, -1 -/* 80298EB4 00295E14 48 0A 46 31 */ bl sub_8033d4e4 -/* 80298EB8 00295E18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298EBC 00295E1C 38 61 01 50 */ addi r3, r1, 0x150 -/* 80298EC0 00295E20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80298EC4 00295E24 38 84 00 B6 */ addi r4, r4, 0xb6 -/* 80298EC8 00295E28 4B D6 BD F1 */ bl string_l__4rstlFPCc -/* 80298ECC 00295E2C 38 61 01 40 */ addi r3, r1, 0x140 -/* 80298ED0 00295E30 38 81 01 50 */ addi r4, r1, 0x150 -/* 80298ED4 00295E34 48 0A 58 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298ED8 00295E38 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298EDC 00295E3C 38 81 01 40 */ addi r4, r1, 0x140 -/* 80298EE0 00295E40 48 0A 47 6D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298EE4 00295E44 38 61 01 40 */ addi r3, r1, 0x140 -/* 80298EE8 00295E48 48 0A 42 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298EEC 00295E4C 38 61 01 50 */ addi r3, r1, 0x150 -/* 80298EF0 00295E50 48 0A 4B F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298EF4 00295E54 80 1F 00 F4 */ lwz r0, 0xf4(r31) -/* 80298EF8 00295E58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298EFC 00295E5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80298F00 00295E60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 80298F04 00295E64 54 00 10 3A */ slwi r0, r0, 2 -/* 80298F08 00295E68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80298F0C 00295E6C 7C A3 02 14 */ add r5, r3, r0 -/* 80298F10 00295E70 38 66 00 AC */ addi r3, r6, 0xac -/* 80298F14 00295E74 80 A5 00 80 */ lwz r5, 0x80(r5) -/* 80298F18 00295E78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 80298F1C 00295E7C 4C C6 31 82 */ crclr 6 -/* 80298F20 00295E80 48 03 D2 91 */ bl Stringize__7CBasicsFPCce -/* 80298F24 00295E84 7C 64 1B 78 */ mr r4, r3 -/* 80298F28 00295E88 38 61 01 30 */ addi r3, r1, 0x130 -/* 80298F2C 00295E8C 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80298F30 00295E90 38 A0 FF FF */ li r5, -1 -/* 80298F34 00295E94 48 0A 52 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80298F38 00295E98 38 61 01 20 */ addi r3, r1, 0x120 -/* 80298F3C 00295E9C 38 81 01 30 */ addi r4, r1, 0x130 -/* 80298F40 00295EA0 48 0A 57 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298F44 00295EA4 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298F48 00295EA8 38 81 01 20 */ addi r4, r1, 0x120 -/* 80298F4C 00295EAC 48 0A 47 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298F50 00295EB0 38 61 01 20 */ addi r3, r1, 0x120 -/* 80298F54 00295EB4 48 0A 41 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298F58 00295EB8 38 61 01 30 */ addi r3, r1, 0x130 -/* 80298F5C 00295EBC 48 0A 4B 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298F60 00295EC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298F64 00295EC4 38 61 01 10 */ addi r3, r1, 0x110 -/* 80298F68 00295EC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80298F6C 00295ECC 38 84 00 B8 */ addi r4, r4, 0xb8 -/* 80298F70 00295ED0 4B D6 BD 49 */ bl string_l__4rstlFPCc -/* 80298F74 00295ED4 38 61 01 00 */ addi r3, r1, 0x100 -/* 80298F78 00295ED8 38 81 01 10 */ addi r4, r1, 0x110 -/* 80298F7C 00295EDC 48 0A 57 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298F80 00295EE0 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298F84 00295EE4 38 81 01 00 */ addi r4, r1, 0x100 -/* 80298F88 00295EE8 48 0A 46 C5 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298F8C 00295EEC 38 61 01 00 */ addi r3, r1, 0x100 -/* 80298F90 00295EF0 48 0A 41 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298F94 00295EF4 38 61 01 10 */ addi r3, r1, 0x110 -/* 80298F98 00295EF8 48 0A 4B 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80298F9C 00295EFC 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 80298FA0 00295F00 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80298FA4 00295F04 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80298FA8 00295F08 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 80298FAC 00295F0C 54 00 10 3A */ slwi r0, r0, 2 -/* 80298FB0 00295F10 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80298FB4 00295F14 7C A3 02 14 */ add r5, r3, r0 -/* 80298FB8 00295F18 38 66 00 93 */ addi r3, r6, 0x93 -/* 80298FBC 00295F1C 80 A5 00 4C */ lwz r5, 0x4c(r5) -/* 80298FC0 00295F20 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 80298FC4 00295F24 4C C6 31 82 */ crclr 6 -/* 80298FC8 00295F28 48 03 D1 E9 */ bl Stringize__7CBasicsFPCce -/* 80298FCC 00295F2C 7C 64 1B 78 */ mr r4, r3 -/* 80298FD0 00295F30 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80298FD4 00295F34 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80298FD8 00295F38 38 A0 FF FF */ li r5, -1 -/* 80298FDC 00295F3C 48 0A 51 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80298FE0 00295F40 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80298FE4 00295F44 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 80298FE8 00295F48 48 0A 57 39 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298FEC 00295F4C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80298FF0 00295F50 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80298FF4 00295F54 48 0A 46 59 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80298FF8 00295F58 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80298FFC 00295F5C 48 0A 41 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299000 00295F60 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 80299004 00295F64 48 0A 4A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299008 00295F68 7F C3 F3 78 */ mr r3, r30 -/* 8029900C 00295F6C 38 80 00 39 */ li r4, 0x39 -/* 80299010 00295F70 48 0B D6 ED */ bl GetString__12CStringTableCFi -/* 80299014 00295F74 7C 64 1B 78 */ mr r4, r3 -/* 80299018 00295F78 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 8029901C 00295F7C 38 A0 FF FF */ li r5, -1 -/* 80299020 00295F80 48 0A 44 C5 */ bl sub_8033d4e4 -/* 80299024 00295F84 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80299028 00295F88 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8029902C 00295F8C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80299030 00295F90 38 84 00 A8 */ addi r4, r4, 0xa8 -/* 80299034 00295F94 4B D6 BC 85 */ bl string_l__4rstlFPCc -/* 80299038 00295F98 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8029903C 00295F9C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80299040 00295FA0 48 0A 56 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299044 00295FA4 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80299048 00295FA8 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8029904C 00295FAC 48 0A 46 01 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299050 00295FB0 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80299054 00295FB4 48 0A 40 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299058 00295FB8 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8029905C 00295FBC 48 0A 4A 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299060 00295FC0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80299064 00295FC4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 80299068 00295FC8 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 8029906C 00295FCC 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80299070 00295FD0 80 A3 00 BC */ lwz r5, 0xbc(r3) -/* 80299074 00295FD4 38 66 00 BB */ addi r3, r6, 0xbb -/* 80299078 00295FD8 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 8029907C 00295FDC 4C C6 31 82 */ crclr 6 -/* 80299080 00295FE0 48 03 D1 31 */ bl Stringize__7CBasicsFPCce -/* 80299084 00295FE4 7C 64 1B 78 */ mr r4, r3 -/* 80299088 00295FE8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8029908C 00295FEC 38 C1 00 0C */ addi r6, r1, 0xc -/* 80299090 00295FF0 38 A0 FF FF */ li r5, -1 -/* 80299094 00295FF4 48 0A 51 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80299098 00295FF8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8029909C 00295FFC 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802990A0 00296000 48 0A 56 81 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802990A4 00296004 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 802990A8 00296008 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802990AC 0029600C 48 0A 45 A1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802990B0 00296010 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802990B4 00296014 48 0A 40 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802990B8 00296018 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802990BC 0029601C 48 0A 4A 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802990C0 00296020 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 802990C4 00296024 38 61 00 90 */ addi r3, r1, 0x90 -/* 802990C8 00296028 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 802990CC 0029602C 38 84 00 B6 */ addi r4, r4, 0xb6 -/* 802990D0 00296030 4B D6 BB E9 */ bl string_l__4rstlFPCc -/* 802990D4 00296034 38 61 00 80 */ addi r3, r1, 0x80 -/* 802990D8 00296038 38 81 00 90 */ addi r4, r1, 0x90 -/* 802990DC 0029603C 48 0A 56 45 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802990E0 00296040 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 802990E4 00296044 38 81 00 80 */ addi r4, r1, 0x80 -/* 802990E8 00296048 48 0A 45 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802990EC 0029604C 38 61 00 80 */ addi r3, r1, 0x80 -/* 802990F0 00296050 48 0A 40 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802990F4 00296054 38 61 00 90 */ addi r3, r1, 0x90 -/* 802990F8 00296058 48 0A 49 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802990FC 0029605C 7F C3 F3 78 */ mr r3, r30 -/* 80299100 00296060 38 80 00 37 */ li r4, 0x37 -/* 80299104 00296064 48 0B D5 F9 */ bl GetString__12CStringTableCFi -/* 80299108 00296068 7C 64 1B 78 */ mr r4, r3 -/* 8029910C 0029606C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80299110 00296070 38 A0 FF FF */ li r5, -1 -/* 80299114 00296074 48 0A 43 D1 */ bl sub_8033d4e4 -/* 80299118 00296078 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029911C 0029607C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80299120 00296080 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 80299124 00296084 38 84 00 A8 */ addi r4, r4, 0xa8 -/* 80299128 00296088 4B D6 BB 91 */ bl string_l__4rstlFPCc -/* 8029912C 0029608C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80299130 00296090 38 81 00 70 */ addi r4, r1, 0x70 -/* 80299134 00296094 48 0A 55 ED */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299138 00296098 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 8029913C 0029609C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80299140 002960A0 48 0A 45 0D */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299144 002960A4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80299148 002960A8 48 0A 3F ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029914C 002960AC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80299150 002960B0 48 0A 49 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299154 002960B4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 80299158 002960B8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029915C 002960BC 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l -/* 80299160 002960C0 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21 -/* 80299164 002960C4 80 A3 00 A4 */ lwz r5, 0xa4(r3) -/* 80299168 002960C8 38 66 00 93 */ addi r3, r6, 0x93 -/* 8029916C 002960CC 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21 -/* 80299170 002960D0 4C C6 31 82 */ crclr 6 -/* 80299174 002960D4 48 03 D0 3D */ bl Stringize__7CBasicsFPCce -/* 80299178 002960D8 7C 64 1B 78 */ mr r4, r3 -/* 8029917C 002960DC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80299180 002960E0 38 C1 00 08 */ addi r6, r1, 8 -/* 80299184 002960E4 38 A0 FF FF */ li r5, -1 -/* 80299188 002960E8 48 0A 50 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8029918C 002960EC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80299190 002960F0 38 81 00 50 */ addi r4, r1, 0x50 -/* 80299194 002960F4 48 0A 55 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299198 002960F8 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 8029919C 002960FC 38 81 00 40 */ addi r4, r1, 0x40 -/* 802991A0 00296100 48 0A 44 AD */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802991A4 00296104 38 61 00 40 */ addi r3, r1, 0x40 -/* 802991A8 00296108 48 0A 3F 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802991AC 0029610C 38 61 00 50 */ addi r3, r1, 0x50 -/* 802991B0 00296110 48 0A 49 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802991B4 00296114 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 802991B8 00296118 38 61 00 30 */ addi r3, r1, 0x30 -/* 802991BC 0029611C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 802991C0 00296120 38 84 00 B6 */ addi r4, r4, 0xb6 -/* 802991C4 00296124 4B D6 BA F5 */ bl string_l__4rstlFPCc -/* 802991C8 00296128 38 61 00 20 */ addi r3, r1, 0x20 -/* 802991CC 0029612C 38 81 00 30 */ addi r4, r1, 0x30 -/* 802991D0 00296130 48 0A 55 51 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802991D4 00296134 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 802991D8 00296138 38 81 00 20 */ addi r4, r1, 0x20 -/* 802991DC 0029613C 48 0A 44 71 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802991E0 00296140 38 61 00 20 */ addi r3, r1, 0x20 -/* 802991E4 00296144 48 0A 3F 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802991E8 00296148 38 61 00 30 */ addi r3, r1, 0x30 -/* 802991EC 0029614C 48 0A 48 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802991F0 00296150 7F C3 F3 78 */ mr r3, r30 -/* 802991F4 00296154 38 80 00 3D */ li r4, 0x3d -/* 802991F8 00296158 48 0B D5 05 */ bl GetString__12CStringTableCFi -/* 802991FC 0029615C 7C 64 1B 78 */ mr r4, r3 -/* 80299200 00296160 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80299204 00296164 38 A0 FF FF */ li r5, -1 -/* 80299208 00296168 48 0A 42 DD */ bl sub_8033d4e4 -/* 8029920C 0029616C 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 80299210 00296170 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 80299214 00296174 38 A0 00 00 */ li r5, 0 -/* 80299218 00296178 48 03 06 6D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029921C 0029617C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80299220 00296180 48 0A 3F 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80299224: -/* 80299224 00296184 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 80299228 00296188 CB E1 02 20 */ lfd f31, 0x220(r1) -/* 8029922C 0029618C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 80299230 00296190 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 80299234 00296194 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 -/* 80299238 00296198 CB A1 02 00 */ lfd f29, 0x200(r1) -/* 8029923C 0029619C 83 E1 01 FC */ lwz r31, 0x1fc(r1) -/* 80299240 002961A0 80 01 02 34 */ lwz r0, 0x234(r1) -/* 80299244 002961A4 83 C1 01 F8 */ lwz r30, 0x1f8(r1) -/* 80299248 002961A8 7C 08 03 A6 */ mtlr r0 -/* 8029924C 002961AC 38 21 02 30 */ addi r1, r1, 0x230 -/* 80299250 002961B0 4E 80 00 20 */ blr - -.global sub_80299254 -sub_80299254: -/* 80299254 002961B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80299258 002961B8 7C 08 02 A6 */ mflr r0 -/* 8029925C 002961BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80299260 002961C0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80299264 002961C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80299268 002961C8 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 8029926C 002961CC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 80299270 002961D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80299274 002961D4 7C 7F 1B 78 */ mr r31, r3 -/* 80299278 002961D8 FF E0 08 90 */ fmr f31, f1 -/* 8029927C 002961DC 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 80299280 002961E0 28 00 00 00 */ cmplwi r0, 0 -/* 80299284 002961E4 41 82 01 20 */ beq lbl_802993A4 -/* 80299288 002961E8 48 00 02 11 */ bl sub_80299498 -/* 8029928C 002961EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80299290 002961F0 40 82 00 18 */ bne lbl_802992A8 -/* 80299294 002961F4 7F E3 FB 78 */ mr r3, r31 -/* 80299298 002961F8 48 00 01 31 */ bl sub_802993c8 -/* 8029929C 002961FC FC 00 08 50 */ fneg f0, f1 -/* 802992A0 00296200 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 802992A4 00296204 48 00 00 CC */ b lbl_80299370 -lbl_802992A8: -/* 802992A8 00296208 88 7F 01 34 */ lbz r3, 0x134(r31) -/* 802992AC 0029620C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 802992B0 00296210 41 82 00 54 */ beq lbl_80299304 -/* 802992B4 00296214 7F E3 FB 78 */ mr r3, r31 -/* 802992B8 00296218 48 00 01 11 */ bl sub_802993c8 -/* 802992BC 0029621C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 802992C0 00296220 C0 82 C0 0C */ lfs f4, lbl_805ADD2C@sda21(r2) -/* 802992C4 00296224 C0 43 00 44 */ lfs f2, 0x44(r3) -/* 802992C8 00296228 EC 64 08 2A */ fadds f3, f4, f1 -/* 802992CC 0029622C C0 1F 01 28 */ lfs f0, 0x128(r31) -/* 802992D0 00296230 EC 3F 10 24 */ fdivs f1, f31, f2 -/* 802992D4 00296234 EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 802992D8 00296238 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 802992DC 0029623C C0 1F 01 28 */ lfs f0, 0x128(r31) -/* 802992E0 00296240 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 802992E4 00296244 4C 41 13 82 */ cror 2, 1, 2 -/* 802992E8 00296248 40 82 00 88 */ bne lbl_80299370 -/* 802992EC 0029624C 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 802992F0 00296250 38 60 00 00 */ li r3, 0 -/* 802992F4 00296254 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802992F8 00296258 98 1F 01 34 */ stb r0, 0x134(r31) -/* 802992FC 0029625C D0 9F 01 28 */ stfs f4, 0x128(r31) -/* 80299300 00296260 48 00 00 70 */ b lbl_80299370 -lbl_80299304: -/* 80299304 00296264 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80299308 00296268 41 82 00 68 */ beq lbl_80299370 -/* 8029930C 0029626C 7F E3 FB 78 */ mr r3, r31 -/* 80299310 00296270 48 00 00 B9 */ bl sub_802993c8 -/* 80299314 00296274 FF C0 08 50 */ fneg f30, f1 -/* 80299318 00296278 7F E3 FB 78 */ mr r3, r31 -/* 8029931C 0029627C 48 00 00 AD */ bl sub_802993c8 -/* 80299320 00296280 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 80299324 00296284 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) -/* 80299328 00296288 C0 43 00 44 */ lfs f2, 0x44(r3) -/* 8029932C 0029628C EC 60 08 2A */ fadds f3, f0, f1 -/* 80299330 00296290 C0 1F 01 28 */ lfs f0, 0x128(r31) -/* 80299334 00296294 EC 3F 10 24 */ fdivs f1, f31, f2 -/* 80299338 00296298 EC 01 00 FC */ fnmsubs f0, f1, f3, f0 -/* 8029933C 0029629C D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 80299340 002962A0 C0 1F 01 28 */ lfs f0, 0x128(r31) -/* 80299344 002962A4 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 80299348 002962A8 4C 40 13 82 */ cror 2, 0, 2 -/* 8029934C 002962AC 40 82 00 24 */ bne lbl_80299370 -/* 80299350 002962B0 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 80299354 002962B4 38 60 00 00 */ li r3, 0 -/* 80299358 002962B8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8029935C 002962BC 98 1F 01 34 */ stb r0, 0x134(r31) -/* 80299360 002962C0 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 80299364 002962C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80299368 002962C8 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029936C 002962CC D3 DF 01 28 */ stfs f30, 0x128(r31) -lbl_80299370: -/* 80299370 002962D0 7F E3 FB 78 */ mr r3, r31 -/* 80299374 002962D4 48 00 00 55 */ bl sub_802993c8 -/* 80299378 002962D8 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 8029937C 002962DC C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) -/* 80299380 002962E0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80299384 002962E4 D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 80299388 002962E8 C0 3F 01 2C */ lfs f1, 0x12c(r31) -/* 8029938C 002962EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80299390 002962F0 40 80 00 08 */ bge lbl_80299398 -/* 80299394 002962F4 D0 1F 01 2C */ stfs f0, 0x12c(r31) -lbl_80299398: -/* 80299398 002962F8 FC 20 F8 90 */ fmr f1, f31 -/* 8029939C 002962FC 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 802993A0 00296300 48 02 ED D9 */ bl Update__15CGuiTextSupportFf -lbl_802993A4: -/* 802993A4 00296304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802993A8 00296308 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802993AC 0029630C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 802993B0 00296310 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 802993B4 00296314 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802993B8 00296318 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802993BC 0029631C 7C 08 03 A6 */ mtlr r0 -/* 802993C0 00296320 38 21 00 30 */ addi r1, r1, 0x30 -/* 802993C4 00296324 4E 80 00 20 */ blr - -.global sub_802993c8 -sub_802993c8: -/* 802993C8 00296328 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802993CC 0029632C 7C 08 02 A6 */ mflr r0 -/* 802993D0 00296330 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 802993D4 00296334 90 01 00 24 */ stw r0, 0x24(r1) -/* 802993D8 00296338 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 802993DC 0029633C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802993E0 00296340 80 63 00 38 */ lwz r3, 0x38(r3) -/* 802993E4 00296344 83 E4 00 08 */ lwz r31, 8(r4) -/* 802993E8 00296348 48 0A 7A 25 */ bl GetObj__6CTokenFv -/* 802993EC 0029634C 6F E4 80 00 */ xoris r4, r31, 0x8000 -/* 802993F0 00296350 3C 00 43 30 */ lis r0, 0x4330 -/* 802993F4 00296354 90 81 00 0C */ stw r4, 0xc(r1) -/* 802993F8 00296358 80 63 00 04 */ lwz r3, 4(r3) -/* 802993FC 0029635C 90 01 00 08 */ stw r0, 8(r1) -/* 80299400 00296360 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80299404 00296364 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) -/* 80299408 00296368 C8 21 00 08 */ lfd f1, 8(r1) -/* 8029940C 0029636C C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) -/* 80299410 00296370 EC 81 10 28 */ fsubs f4, f1, f2 -/* 80299414 00296374 C0 63 00 2C */ lfs f3, 0x2c(r3) -/* 80299418 00296378 C0 43 00 20 */ lfs f2, 0x20(r3) -/* 8029941C 0029637C C0 23 00 34 */ lfs f1, 0x34(r3) -/* 80299420 00296380 EC 84 00 28 */ fsubs f4, f4, f0 -/* 80299424 00296384 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80299428 00296388 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8029942C 0029638C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80299430 00296390 EC 24 10 24 */ fdivs f1, f4, f2 -/* 80299434 00296394 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80299438 00296398 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029943C 0029639C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80299440 002963A0 7C 08 03 A6 */ mtlr r0 -/* 80299444 002963A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80299448 002963A8 4E 80 00 20 */ blr - -.global sub_8029944c -sub_8029944c: -/* 8029944C 002963AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80299450 002963B0 7C 08 02 A6 */ mflr r0 -/* 80299454 002963B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80299458 002963B8 80 63 00 C4 */ lwz r3, 0xc4(r3) -/* 8029945C 002963BC 48 02 E9 15 */ bl GetBounds__15CGuiTextSupportFv -/* 80299460 002963C0 80 83 00 0C */ lwz r4, 0xc(r3) -/* 80299464 002963C4 3C 00 43 30 */ lis r0, 0x4330 -/* 80299468 002963C8 80 63 00 04 */ lwz r3, 4(r3) -/* 8029946C 002963CC 90 01 00 08 */ stw r0, 8(r1) -/* 80299470 002963D0 7C 04 18 50 */ subf r0, r4, r3 -/* 80299474 002963D4 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2) -/* 80299478 002963D8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8029947C 002963DC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80299480 002963E0 C8 01 00 08 */ lfd f0, 8(r1) -/* 80299484 002963E4 EC 20 08 28 */ fsubs f1, f0, f1 -/* 80299488 002963E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029948C 002963EC 7C 08 03 A6 */ mtlr r0 -/* 80299490 002963F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80299494 002963F4 4E 80 00 20 */ blr - -.global sub_80299498 -sub_80299498: -/* 80299498 002963F8 88 83 01 34 */ lbz r4, 0x134(r3) -/* 8029949C 002963FC 38 60 00 00 */ li r3, 0 -/* 802994A0 00296400 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 802994A4 00296404 40 82 00 14 */ bne lbl_802994B8 -/* 802994A8 00296408 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 802994AC 0029640C 40 82 00 0C */ bne lbl_802994B8 -/* 802994B0 00296410 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 802994B4 00296414 4D 82 00 20 */ beqlr -lbl_802994B8: -/* 802994B8 00296418 38 60 00 01 */ li r3, 1 -/* 802994BC 0029641C 4E 80 00 20 */ blr - -.global sub_802994c0 -sub_802994c0: -/* 802994C0 00296420 54 85 06 3E */ clrlwi r5, r4, 0x18 -/* 802994C4 00296424 88 03 01 34 */ lbz r0, 0x134(r3) -/* 802994C8 00296428 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802994CC 0029642C 98 03 01 34 */ stb r0, 0x134(r3) -/* 802994D0 00296430 7C A0 00 34 */ cntlzw r0, r5 -/* 802994D4 00296434 54 04 D9 7E */ srwi r4, r0, 5 -/* 802994D8 00296438 88 03 01 34 */ lbz r0, 0x134(r3) -/* 802994DC 0029643C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802994E0 00296440 98 03 01 34 */ stb r0, 0x134(r3) -/* 802994E4 00296444 88 03 01 34 */ lbz r0, 0x134(r3) -/* 802994E8 00296448 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802994EC 0029644C 98 03 01 34 */ stb r0, 0x134(r3) -/* 802994F0 00296450 4E 80 00 20 */ blr - -.global sub_802994f4 -sub_802994f4: -/* 802994F4 00296454 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802994F8 00296458 7C 08 02 A6 */ mflr r0 -/* 802994FC 0029645C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80299500 00296460 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80299504 00296464 7C 7F 1B 78 */ mr r31, r3 -/* 80299508 00296468 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029950C 0029646C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80299510 00296470 93 81 00 20 */ stw r28, 0x20(r1) -/* 80299514 00296474 80 03 00 A0 */ lwz r0, 0xa0(r3) -/* 80299518 00296478 28 00 00 00 */ cmplwi r0, 0 -/* 8029951C 0029647C 40 82 01 7C */ bne lbl_80299698 -/* 80299520 00296480 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80299524 00296484 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80299528 00296488 7C 00 20 00 */ cmpw r0, r4 -/* 8029952C 0029648C 40 82 00 14 */ bne lbl_80299540 -/* 80299530 00296490 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80299534 00296494 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 80299538 00296498 7C 03 00 00 */ cmpw r3, r0 -/* 8029953C 0029649C 41 82 01 5C */ beq lbl_80299698 -lbl_80299540: -/* 80299540 002964A0 1C 64 00 14 */ mulli r3, r4, 0x14 -/* 80299544 002964A4 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 80299548 002964A8 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 8029954C 002964AC 54 00 10 3A */ slwi r0, r0, 2 -/* 80299550 002964B0 38 63 00 10 */ addi r3, r3, 0x10 -/* 80299554 002964B4 7C 64 18 2E */ lwzx r3, r4, r3 -/* 80299558 002964B8 7F 83 00 2E */ lwzx r28, r3, r0 -/* 8029955C 002964BC 28 1C 00 00 */ cmplwi r28, 0 -/* 80299560 002964C0 41 82 01 38 */ beq lbl_80299698 -/* 80299564 002964C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80299568 002964C8 80 9C 00 04 */ lwz r4, 4(r28) -/* 8029956C 002964CC 38 63 00 04 */ addi r3, r3, 4 -/* 80299570 002964D0 48 0A 27 5D */ bl GetResourceTypeById__10CResLoaderCFUi -/* 80299574 002964D4 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 80299578 002964D8 28 00 54 52 */ cmplwi r0, 0x5452 -/* 8029957C 002964DC 40 82 01 1C */ bne lbl_80299698 -/* 80299580 002964E0 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80299584 002964E4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 80299588 002964E8 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l -/* 8029958C 002964EC 3B C0 00 00 */ li r30, 0 -/* 80299590 002964F0 90 1F 00 94 */ stw r0, 0x94(r31) -/* 80299594 002964F4 38 83 00 D0 */ addi r4, r3, 0xd0 -/* 80299598 002964F8 38 60 00 08 */ li r3, 8 -/* 8029959C 002964FC 38 A0 00 00 */ li r5, 0 -/* 802995A0 00296500 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 802995A4 00296504 90 1F 00 98 */ stw r0, 0x98(r31) -/* 802995A8 00296508 48 07 C2 C5 */ bl __nw__FUlPCcPCc -/* 802995AC 0029650C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802995B0 00296510 41 82 00 30 */ beq lbl_802995E0 -/* 802995B4 00296514 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802995B8 00296518 7F 85 E3 78 */ mr r5, r28 -/* 802995BC 0029651C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802995C0 00296520 81 84 00 00 */ lwz r12, 0(r4) -/* 802995C4 00296524 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802995C8 00296528 7D 89 03 A6 */ mtctr r12 -/* 802995CC 0029652C 4E 80 04 21 */ bctrl -/* 802995D0 00296530 7F A3 EB 78 */ mr r3, r29 -/* 802995D4 00296534 38 81 00 10 */ addi r4, r1, 0x10 -/* 802995D8 00296538 3B C0 00 01 */ li r30, 1 -/* 802995DC 0029653C 48 0A 78 CD */ bl __ct__6CTokenFRC6CToken -lbl_802995E0: -/* 802995E0 00296540 7C 1D 00 D0 */ neg r0, r29 -/* 802995E4 00296544 38 61 00 08 */ addi r3, r1, 8 -/* 802995E8 00296548 7C 04 EB 78 */ or r4, r0, r29 -/* 802995EC 0029654C 38 1F 00 9C */ addi r0, r31, 0x9c -/* 802995F0 00296550 54 84 0F FE */ srwi r4, r4, 0x1f -/* 802995F4 00296554 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802995F8 00296558 7C 03 00 40 */ cmplw r3, r0 -/* 802995FC 0029655C 98 81 00 08 */ stb r4, 8(r1) -/* 80299600 00296560 41 82 00 48 */ beq lbl_80299648 -/* 80299604 00296564 88 1F 00 9C */ lbz r0, 0x9c(r31) -/* 80299608 00296568 28 00 00 00 */ cmplwi r0, 0 -/* 8029960C 0029656C 41 82 00 24 */ beq lbl_80299630 -/* 80299610 00296570 83 BF 00 A0 */ lwz r29, 0xa0(r31) -/* 80299614 00296574 28 1D 00 00 */ cmplwi r29, 0 -/* 80299618 00296578 41 82 00 18 */ beq lbl_80299630 -/* 8029961C 0029657C 7F A3 EB 78 */ mr r3, r29 -/* 80299620 00296580 38 80 00 00 */ li r4, 0 -/* 80299624 00296584 48 0A 78 1D */ bl __dt__6CTokenFv -/* 80299628 00296588 7F A3 EB 78 */ mr r3, r29 -/* 8029962C 0029658C 48 07 C3 05 */ bl Free__7CMemoryFPCv -lbl_80299630: -/* 80299630 00296590 88 61 00 08 */ lbz r3, 8(r1) -/* 80299634 00296594 38 00 00 00 */ li r0, 0 -/* 80299638 00296598 98 7F 00 9C */ stb r3, 0x9c(r31) -/* 8029963C 0029659C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80299640 002965A0 90 7F 00 A0 */ stw r3, 0xa0(r31) -/* 80299644 002965A4 98 01 00 08 */ stb r0, 8(r1) -lbl_80299648: -/* 80299648 002965A8 88 01 00 08 */ lbz r0, 8(r1) -/* 8029964C 002965AC 28 00 00 00 */ cmplwi r0, 0 -/* 80299650 002965B0 41 82 00 24 */ beq lbl_80299674 -/* 80299654 002965B4 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80299658 002965B8 28 1D 00 00 */ cmplwi r29, 0 -/* 8029965C 002965BC 41 82 00 18 */ beq lbl_80299674 -/* 80299660 002965C0 7F A3 EB 78 */ mr r3, r29 -/* 80299664 002965C4 38 80 00 00 */ li r4, 0 -/* 80299668 002965C8 48 0A 77 D9 */ bl __dt__6CTokenFv -/* 8029966C 002965CC 7F A3 EB 78 */ mr r3, r29 -/* 80299670 002965D0 48 07 C2 C1 */ bl Free__7CMemoryFPCv -lbl_80299674: -/* 80299674 002965D4 7F C0 07 75 */ extsb. r0, r30 -/* 80299678 002965D8 41 82 00 10 */ beq lbl_80299688 -/* 8029967C 002965DC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80299680 002965E0 38 80 FF FF */ li r4, -1 -/* 80299684 002965E4 48 0A 77 BD */ bl __dt__6CTokenFv -lbl_80299688: -/* 80299688 002965E8 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8029968C 002965EC 48 0A 76 F9 */ bl Lock__6CTokenFv -/* 80299690 002965F0 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80299694 002965F4 4B FF E5 81 */ bl sub_80297c14 -lbl_80299698: -/* 80299698 002965F8 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8029969C 002965FC 38 80 00 00 */ li r4, 0 -/* 802996A0 00296600 28 03 00 00 */ cmplwi r3, 0 -/* 802996A4 00296604 41 82 00 18 */ beq lbl_802996BC -/* 802996A8 00296608 80 63 00 00 */ lwz r3, 0(r3) -/* 802996AC 0029660C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802996B0 00296610 28 00 00 00 */ cmplwi r0, 0 -/* 802996B4 00296614 41 82 00 08 */ beq lbl_802996BC -/* 802996B8 00296618 38 80 00 01 */ li r4, 1 -lbl_802996BC: -/* 802996BC 0029661C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802996C0 00296620 41 82 00 18 */ beq lbl_802996D8 -/* 802996C4 00296624 88 1F 00 A4 */ lbz r0, 0xa4(r31) -/* 802996C8 00296628 28 00 00 00 */ cmplwi r0, 0 -/* 802996CC 0029662C 40 82 00 0C */ bne lbl_802996D8 -/* 802996D0 00296630 38 7F 00 90 */ addi r3, r31, 0x90 -/* 802996D4 00296634 4B FF E5 41 */ bl sub_80297c14 -lbl_802996D8: -/* 802996D8 00296638 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802996DC 0029663C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802996E0 00296640 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802996E4 00296644 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802996E8 00296648 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802996EC 0029664C 7C 08 03 A6 */ mtlr r0 -/* 802996F0 00296650 38 21 00 30 */ addi r1, r1, 0x30 -/* 802996F4 00296654 4E 80 00 20 */ blr - -.global sub_802996f8 -sub_802996f8: -/* 802996F8 00296658 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802996FC 0029665C 7C 08 02 A6 */ mflr r0 -/* 80299700 00296660 90 01 00 24 */ stw r0, 0x24(r1) -/* 80299704 00296664 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80299708 00296668 7C 7F 1B 78 */ mr r31, r3 -/* 8029970C 0029666C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80299710 00296670 7C 9E 23 78 */ mr r30, r4 -/* 80299714 00296674 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80299718 00296678 2C 00 00 00 */ cmpwi r0, 0 -/* 8029971C 0029667C 41 82 01 2C */ beq lbl_80299848 -/* 80299720 00296680 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80299724 00296684 38 61 00 08 */ addi r3, r1, 8 -/* 80299728 00296688 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8029972C 0029668C 38 80 04 45 */ li r4, 0x445 -/* 80299730 00296690 38 A0 00 7F */ li r5, 0x7f -/* 80299734 00296694 38 C0 00 40 */ li r6, 0x40 -/* 80299738 00296698 38 E0 00 00 */ li r7, 0 -/* 8029973C 0029669C 39 20 00 00 */ li r9, 0 -/* 80299740 002966A0 48 05 06 35 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80299744 002966A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80299748 002966A8 41 82 00 14 */ beq lbl_8029975C -/* 8029974C 002966AC 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80299750 002966B0 38 03 00 01 */ addi r0, r3, 1 -/* 80299754 002966B4 90 1F 00 48 */ stw r0, 0x48(r31) -/* 80299758 002966B8 48 00 00 10 */ b lbl_80299768 -lbl_8029975C: -/* 8029975C 002966BC 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80299760 002966C0 38 03 FF FF */ addi r0, r3, -1 -/* 80299764 002966C4 90 1F 00 48 */ stw r0, 0x48(r31) -lbl_80299768: -/* 80299768 002966C8 80 DF 00 48 */ lwz r6, 0x48(r31) -/* 8029976C 002966CC 80 BF 00 44 */ lwz r5, 0x44(r31) -/* 80299770 002966D0 2C 06 00 00 */ cmpwi r6, 0 -/* 80299774 002966D4 40 80 00 20 */ bge lbl_80299794 -/* 80299778 002966D8 38 05 FF FF */ addi r0, r5, -1 -/* 8029977C 002966DC 38 60 00 01 */ li r3, 1 -/* 80299780 002966E0 90 1F 00 44 */ stw r0, 0x44(r31) -/* 80299784 002966E4 88 1F 01 35 */ lbz r0, 0x135(r31) -/* 80299788 002966E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029978C 002966EC 98 1F 01 35 */ stb r0, 0x135(r31) -/* 80299790 002966F0 48 00 00 34 */ b lbl_802997C4 -lbl_80299794: -/* 80299794 002966F4 1C 65 00 14 */ mulli r3, r5, 0x14 -/* 80299798 002966F8 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 8029979C 002966FC 38 03 00 08 */ addi r0, r3, 8 -/* 802997A0 00296700 7C 04 00 2E */ lwzx r0, r4, r0 -/* 802997A4 00296704 7C 06 00 00 */ cmpw r6, r0 -/* 802997A8 00296708 41 80 00 1C */ blt lbl_802997C4 -/* 802997AC 0029670C 38 05 00 01 */ addi r0, r5, 1 -/* 802997B0 00296710 38 60 00 01 */ li r3, 1 -/* 802997B4 00296714 90 1F 00 44 */ stw r0, 0x44(r31) -/* 802997B8 00296718 88 1F 01 35 */ lbz r0, 0x135(r31) -/* 802997BC 0029671C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802997C0 00296720 98 1F 01 35 */ stb r0, 0x135(r31) -lbl_802997C4: -/* 802997C4 00296724 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 802997C8 00296728 2C 03 00 00 */ cmpwi r3, 0 -/* 802997CC 0029672C 40 80 00 30 */ bge lbl_802997FC -/* 802997D0 00296730 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 802997D4 00296734 38 03 FF FF */ addi r0, r3, -1 -/* 802997D8 00296738 90 1F 00 44 */ stw r0, 0x44(r31) -/* 802997DC 0029673C 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 802997E0 00296740 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 802997E4 00296744 1C 60 00 14 */ mulli r3, r0, 0x14 -/* 802997E8 00296748 38 03 00 08 */ addi r0, r3, 8 -/* 802997EC 0029674C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 802997F0 00296750 38 03 FF FF */ addi r0, r3, -1 -/* 802997F4 00296754 90 1F 00 48 */ stw r0, 0x48(r31) -/* 802997F8 00296758 48 00 00 50 */ b lbl_80299848 -lbl_802997FC: -/* 802997FC 0029675C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80299800 00296760 7C 03 00 00 */ cmpw r3, r0 -/* 80299804 00296764 41 80 00 14 */ blt lbl_80299818 -/* 80299808 00296768 38 00 00 00 */ li r0, 0 -/* 8029980C 0029676C 90 1F 00 48 */ stw r0, 0x48(r31) -/* 80299810 00296770 90 1F 00 44 */ stw r0, 0x44(r31) -/* 80299814 00296774 48 00 00 34 */ b lbl_80299848 -lbl_80299818: -/* 80299818 00296778 7C 03 28 00 */ cmpw r3, r5 -/* 8029981C 0029677C 40 81 00 10 */ ble lbl_8029982C -/* 80299820 00296780 38 00 00 00 */ li r0, 0 -/* 80299824 00296784 90 1F 00 48 */ stw r0, 0x48(r31) -/* 80299828 00296788 48 00 00 20 */ b lbl_80299848 -lbl_8029982C: -/* 8029982C 0029678C 40 80 00 1C */ bge lbl_80299848 -/* 80299830 00296790 1C 63 00 14 */ mulli r3, r3, 0x14 -/* 80299834 00296794 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 80299838 00296798 38 03 00 08 */ addi r0, r3, 8 -/* 8029983C 0029679C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80299840 002967A0 38 03 FF FF */ addi r0, r3, -1 -/* 80299844 002967A4 90 1F 00 48 */ stw r0, 0x48(r31) -lbl_80299848: -/* 80299848 002967A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029984C 002967AC 38 60 00 01 */ li r3, 1 -/* 80299850 002967B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80299854 002967B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80299858 002967B8 7C 08 03 A6 */ mtlr r0 -/* 8029985C 002967BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80299860 002967C0 4E 80 00 20 */ blr - -.global ProcessUserInput__10CSlideShowFRC11CFinalInput -ProcessUserInput__10CSlideShowFRC11CFinalInput: -/* 80299864 002967C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80299868 002967C8 7C 08 02 A6 */ mflr r0 -/* 8029986C 002967CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80299870 002967D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80299874 002967D4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80299878 002967D8 7C 9E 23 78 */ mr r30, r4 -/* 8029987C 002967DC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80299880 002967E0 7C 7D 1B 78 */ mr r29, r3 -/* 80299884 002967E4 88 03 01 34 */ lbz r0, 0x134(r3) -/* 80299888 002967E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8029988C 002967EC 40 82 03 28 */ bne lbl_80299BB4 -/* 80299890 002967F0 4B FF FC 09 */ bl sub_80299498 -/* 80299894 002967F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80299898 002967F8 41 82 00 10 */ beq lbl_802998A8 -/* 8029989C 002967FC 7F A3 EB 78 */ mr r3, r29 -/* 802998A0 00296800 7F C4 F3 78 */ mr r4, r30 -/* 802998A4 00296804 4B FF F3 35 */ bl sub_80298bd8 -lbl_802998A8: -/* 802998A8 00296808 88 7E 00 2D */ lbz r3, 0x2d(r30) -/* 802998AC 0029680C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 802998B0 00296810 41 82 00 64 */ beq lbl_80299914 -/* 802998B4 00296814 7F A3 EB 78 */ mr r3, r29 -/* 802998B8 00296818 38 80 00 00 */ li r4, 0 -/* 802998BC 0029681C 4B FF F2 99 */ bl sub_80298b54 -/* 802998C0 00296820 7F A3 EB 78 */ mr r3, r29 -/* 802998C4 00296824 38 80 00 00 */ li r4, 0 -/* 802998C8 00296828 4B FF F2 09 */ bl sub_80298ad0 -/* 802998CC 0029682C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 802998D0 00296830 38 61 00 10 */ addi r3, r1, 0x10 -/* 802998D4 00296834 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 802998D8 00296838 38 80 04 46 */ li r4, 0x446 -/* 802998DC 0029683C 38 A0 00 7F */ li r5, 0x7f -/* 802998E0 00296840 38 C0 00 40 */ li r6, 0x40 -/* 802998E4 00296844 38 E0 00 00 */ li r7, 0 -/* 802998E8 00296848 39 20 00 00 */ li r9, 0 -/* 802998EC 0029684C 48 05 04 89 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 802998F0 00296850 88 1D 01 34 */ lbz r0, 0x134(r29) -/* 802998F4 00296854 38 80 00 01 */ li r4, 1 -/* 802998F8 00296858 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 802998FC 0029685C 38 60 00 01 */ li r3, 1 -/* 80299900 00296860 98 1D 01 34 */ stb r0, 0x134(r29) -/* 80299904 00296864 88 1D 01 34 */ lbz r0, 0x134(r29) -/* 80299908 00296868 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 8029990C 0029686C 98 1D 01 34 */ stb r0, 0x134(r29) -/* 80299910 00296870 48 00 02 A8 */ b lbl_80299BB8 -lbl_80299914: -/* 80299914 00296874 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 80299918 00296878 41 82 00 84 */ beq lbl_8029999C -/* 8029991C 0029687C 88 1D 01 34 */ lbz r0, 0x134(r29) -/* 80299920 00296880 7F A3 EB 78 */ mr r3, r29 -/* 80299924 00296884 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 80299928 00296888 7C 00 00 34 */ cntlzw r0, r0 -/* 8029992C 0029688C 54 04 D9 7E */ srwi r4, r0, 5 -/* 80299930 00296890 4B FF FB 91 */ bl sub_802994c0 -/* 80299934 00296894 88 1D 01 34 */ lbz r0, 0x134(r29) -/* 80299938 00296898 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029993C 0029689C 41 82 00 3C */ beq lbl_80299978 -/* 80299940 002968A0 88 1D 01 35 */ lbz r0, 0x135(r29) -/* 80299944 002968A4 38 60 00 01 */ li r3, 1 -/* 80299948 002968A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029994C 002968AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80299950 002968B0 98 1D 01 35 */ stb r0, 0x135(r29) -/* 80299954 002968B4 38 61 00 0C */ addi r3, r1, 0xc -/* 80299958 002968B8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8029995C 002968BC 38 80 05 B1 */ li r4, 0x5b1 -/* 80299960 002968C0 38 A0 00 7F */ li r5, 0x7f -/* 80299964 002968C4 38 C0 00 40 */ li r6, 0x40 -/* 80299968 002968C8 38 E0 00 00 */ li r7, 0 -/* 8029996C 002968CC 39 20 00 00 */ li r9, 0 -/* 80299970 002968D0 48 05 04 05 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80299974 002968D4 48 00 00 28 */ b lbl_8029999C -lbl_80299978: -/* 80299978 002968D8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8029997C 002968DC 38 61 00 08 */ addi r3, r1, 8 -/* 80299980 002968E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80299984 002968E4 38 80 05 B0 */ li r4, 0x5b0 -/* 80299988 002968E8 38 A0 00 7F */ li r5, 0x7f -/* 8029998C 002968EC 38 C0 00 40 */ li r6, 0x40 -/* 80299990 002968F0 38 E0 00 00 */ li r7, 0 -/* 80299994 002968F4 39 20 00 00 */ li r9, 0 -/* 80299998 002968F8 48 05 03 DD */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_8029999C: -/* 8029999C 002968FC 88 7E 00 2E */ lbz r3, 0x2e(r30) -/* 802999A0 00296900 3B E0 00 00 */ li r31, 0 -/* 802999A4 00296904 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 802999A8 00296908 41 82 00 4C */ beq lbl_802999F4 -/* 802999AC 0029690C 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 802999B0 00296910 38 00 FF FF */ li r0, -1 -/* 802999B4 00296914 80 FD 00 2C */ lwz r7, 0x2c(r29) -/* 802999B8 00296918 38 A0 00 01 */ li r5, 1 -/* 802999BC 0029691C 39 03 00 01 */ addi r8, r3, 1 -/* 802999C0 00296920 7F A3 EB 78 */ mr r3, r29 -/* 802999C4 00296924 7C C8 3B D6 */ divw r6, r8, r7 -/* 802999C8 00296928 3B E0 00 01 */ li r31, 1 -/* 802999CC 0029692C 38 80 00 01 */ li r4, 1 -/* 802999D0 00296930 7C C6 39 D6 */ mullw r6, r6, r7 -/* 802999D4 00296934 7C C6 40 50 */ subf r6, r6, r8 -/* 802999D8 00296938 90 DD 00 44 */ stw r6, 0x44(r29) -/* 802999DC 0029693C 90 1D 00 48 */ stw r0, 0x48(r29) -/* 802999E0 00296940 88 1D 01 35 */ lbz r0, 0x135(r29) -/* 802999E4 00296944 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802999E8 00296948 98 1D 01 35 */ stb r0, 0x135(r29) -/* 802999EC 0029694C 4B FF FD 0D */ bl sub_802996f8 -/* 802999F0 00296950 48 00 01 68 */ b lbl_80299B58 -lbl_802999F4: -/* 802999F4 00296954 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 802999F8 00296958 41 82 00 54 */ beq lbl_80299A4C -/* 802999FC 0029695C 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 80299A00 00296960 38 03 FF FF */ addi r0, r3, -1 -/* 80299A04 00296964 90 1D 00 44 */ stw r0, 0x44(r29) -/* 80299A08 00296968 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 80299A0C 0029696C 2C 00 00 00 */ cmpwi r0, 0 -/* 80299A10 00296970 40 80 00 10 */ bge lbl_80299A20 -/* 80299A14 00296974 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80299A18 00296978 38 03 FF FF */ addi r0, r3, -1 -/* 80299A1C 0029697C 90 1D 00 44 */ stw r0, 0x44(r29) -lbl_80299A20: -/* 80299A20 00296980 38 00 FF FF */ li r0, -1 -/* 80299A24 00296984 38 A0 00 01 */ li r5, 1 -/* 80299A28 00296988 90 1D 00 48 */ stw r0, 0x48(r29) -/* 80299A2C 0029698C 7F A3 EB 78 */ mr r3, r29 -/* 80299A30 00296990 3B E0 00 01 */ li r31, 1 -/* 80299A34 00296994 38 80 00 01 */ li r4, 1 -/* 80299A38 00296998 88 1D 01 35 */ lbz r0, 0x135(r29) -/* 80299A3C 0029699C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80299A40 002969A0 98 1D 01 35 */ stb r0, 0x135(r29) -/* 80299A44 002969A4 4B FF FC B5 */ bl sub_802996f8 -/* 80299A48 002969A8 48 00 01 10 */ b lbl_80299B58 -lbl_80299A4C: -/* 80299A4C 002969AC 7F C4 F3 78 */ mr r4, r30 -/* 80299A50 002969B0 38 60 00 29 */ li r3, 0x29 -/* 80299A54 002969B4 4B D7 2D 7D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80299A58 002969B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80299A5C 002969BC 40 82 00 10 */ bne lbl_80299A6C -/* 80299A60 002969C0 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 80299A64 002969C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80299A68 002969C8 41 82 00 18 */ beq lbl_80299A80 -lbl_80299A6C: -/* 80299A6C 002969CC 7F A3 EB 78 */ mr r3, r29 -/* 80299A70 002969D0 3B E0 00 01 */ li r31, 1 -/* 80299A74 002969D4 38 80 00 01 */ li r4, 1 -/* 80299A78 002969D8 4B FF FC 81 */ bl sub_802996f8 -/* 80299A7C 002969DC 48 00 00 DC */ b lbl_80299B58 -lbl_80299A80: -/* 80299A80 002969E0 7F C4 F3 78 */ mr r4, r30 -/* 80299A84 002969E4 38 60 00 28 */ li r3, 0x28 -/* 80299A88 002969E8 4B D7 2D 49 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80299A8C 002969EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80299A90 002969F0 41 82 00 18 */ beq lbl_80299AA8 -/* 80299A94 002969F4 7F A3 EB 78 */ mr r3, r29 -/* 80299A98 002969F8 3B E0 00 01 */ li r31, 1 -/* 80299A9C 002969FC 38 80 00 00 */ li r4, 0 -/* 80299AA0 00296A00 4B FF FC 59 */ bl sub_802996f8 -/* 80299AA4 00296A04 48 00 00 B4 */ b lbl_80299B58 -lbl_80299AA8: -/* 80299AA8 00296A08 7F C4 F3 78 */ mr r4, r30 -/* 80299AAC 00296A0C 38 60 00 29 */ li r3, 0x29 -/* 80299AB0 00296A10 4B D7 2E 69 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80299AB4 00296A14 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80299AB8 00296A18 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80299ABC 00296A1C 40 82 00 10 */ bne lbl_80299ACC -/* 80299AC0 00296A20 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 80299AC4 00296A24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80299AC8 00296A28 41 82 00 3C */ beq lbl_80299B04 -lbl_80299ACC: -/* 80299ACC 00296A2C C0 2D 99 EC */ lfs f1, lbl_805A85AC@sda21(r13) -/* 80299AD0 00296A30 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 80299AD4 00296A34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80299AD8 00296A38 40 80 00 0C */ bge lbl_80299AE4 -/* 80299ADC 00296A3C 38 7D 00 50 */ addi r3, r29, 0x50 -/* 80299AE0 00296A40 48 00 00 08 */ b lbl_80299AE8 -lbl_80299AE4: -/* 80299AE4 00296A44 38 6D 99 EC */ addi r3, r13, lbl_805A85AC@sda21 -lbl_80299AE8: -/* 80299AE8 00296A48 C0 03 00 00 */ lfs f0, 0(r3) -/* 80299AEC 00296A4C D0 1D 00 50 */ stfs f0, 0x50(r29) -/* 80299AF0 00296A50 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80299AF4 00296A54 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80299AF8 00296A58 EC 01 00 2A */ fadds f0, f1, f0 -/* 80299AFC 00296A5C D0 1D 00 50 */ stfs f0, 0x50(r29) -/* 80299B00 00296A60 48 00 00 58 */ b lbl_80299B58 -lbl_80299B04: -/* 80299B04 00296A64 7F C4 F3 78 */ mr r4, r30 -/* 80299B08 00296A68 38 60 00 28 */ li r3, 0x28 -/* 80299B0C 00296A6C 4B D7 2E 0D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 80299B10 00296A70 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80299B14 00296A74 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80299B18 00296A78 41 82 00 3C */ beq lbl_80299B54 -/* 80299B1C 00296A7C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80299B20 00296A80 C0 0D 99 F0 */ lfs f0, lbl_805A85B0@sda21(r13) -/* 80299B24 00296A84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80299B28 00296A88 40 80 00 0C */ bge lbl_80299B34 -/* 80299B2C 00296A8C 38 7D 00 50 */ addi r3, r29, 0x50 -/* 80299B30 00296A90 48 00 00 08 */ b lbl_80299B38 -lbl_80299B34: -/* 80299B34 00296A94 38 6D 99 F0 */ addi r3, r13, lbl_805A85B0@sda21 -lbl_80299B38: -/* 80299B38 00296A98 C0 03 00 00 */ lfs f0, 0(r3) -/* 80299B3C 00296A9C D0 1D 00 50 */ stfs f0, 0x50(r29) -/* 80299B40 00296AA0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80299B44 00296AA4 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80299B48 00296AA8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80299B4C 00296AAC D0 1D 00 50 */ stfs f0, 0x50(r29) -/* 80299B50 00296AB0 48 00 00 08 */ b lbl_80299B58 -lbl_80299B54: -/* 80299B54 00296AB4 D0 1D 00 50 */ stfs f0, 0x50(r29) -lbl_80299B58: -/* 80299B58 00296AB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80299B5C 00296ABC 41 82 00 10 */ beq lbl_80299B6C -/* 80299B60 00296AC0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 80299B64 00296AC4 D0 1D 00 50 */ stfs f0, 0x50(r29) -/* 80299B68 00296AC8 D0 1D 00 54 */ stfs f0, 0x54(r29) -lbl_80299B6C: -/* 80299B6C 00296ACC 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 80299B70 00296AD0 38 80 00 00 */ li r4, 0 -/* 80299B74 00296AD4 28 03 00 00 */ cmplwi r3, 0 -/* 80299B78 00296AD8 41 82 00 24 */ beq lbl_80299B9C -/* 80299B7C 00296ADC 80 63 00 00 */ lwz r3, 0(r3) -/* 80299B80 00296AE0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80299B84 00296AE4 28 00 00 00 */ cmplwi r0, 0 -/* 80299B88 00296AE8 41 82 00 14 */ beq lbl_80299B9C -/* 80299B8C 00296AEC 88 1D 00 70 */ lbz r0, 0x70(r29) -/* 80299B90 00296AF0 28 00 00 00 */ cmplwi r0, 0 -/* 80299B94 00296AF4 41 82 00 08 */ beq lbl_80299B9C -/* 80299B98 00296AF8 38 80 00 01 */ li r4, 1 -lbl_80299B9C: -/* 80299B9C 00296AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80299BA0 00296B00 41 82 00 14 */ beq lbl_80299BB4 -/* 80299BA4 00296B04 7F C4 F3 78 */ mr r4, r30 -/* 80299BA8 00296B08 38 7D 00 5C */ addi r3, r29, 0x5c -/* 80299BAC 00296B0C 4B FF E1 B5 */ bl sub_80297d60 -/* 80299BB0 00296B10 48 00 00 08 */ b lbl_80299BB8 -lbl_80299BB4: -/* 80299BB4 00296B14 38 60 00 01 */ li r3, 1 -lbl_80299BB8: -/* 80299BB8 00296B18 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80299BBC 00296B1C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80299BC0 00296B20 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80299BC4 00296B24 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80299BC8 00296B28 7C 08 03 A6 */ mtlr r0 -/* 80299BCC 00296B2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80299BD0 00296B30 4E 80 00 20 */ blr - -.global UpdatePersistentScanPercent__FUiUiUi -UpdatePersistentScanPercent__FUiUiUi: -/* 80299BD4 00296B34 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80299BD8 00296B38 7C 08 02 A6 */ mflr r0 -/* 80299BDC 00296B3C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80299BE0 00296B40 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80299BE4 00296B44 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80299BE8 00296B48 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 80299BEC 00296B4C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80299BF0 00296B50 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80299BF4 00296B54 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80299BF8 00296B58 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80299BFC 00296B5C 7C 7E 1B 78 */ mr r30, r3 -/* 80299C00 00296B60 7C BD 2B 78 */ mr r29, r5 -/* 80299C04 00296B64 7C 1E 20 00 */ cmpw r30, r4 -/* 80299C08 00296B68 41 82 01 8C */ beq lbl_80299D94 -/* 80299C0C 00296B6C 3C A0 43 30 */ lis r5, 0x4330 -/* 80299C10 00296B70 6C 83 80 00 */ xoris r3, r4, 0x8000 -/* 80299C14 00296B74 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 80299C18 00296B78 90 61 00 44 */ stw r3, 0x44(r1) -/* 80299C1C 00296B7C 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 80299C20 00296B80 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80299C24 00296B84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) -/* 80299C28 00296B88 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 80299C2C 00296B8C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80299C30 00296B90 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80299C34 00296B94 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80299C38 00296B98 90 A1 00 48 */ stw r5, 0x48(r1) -/* 80299C3C 00296B9C C0 62 C0 2C */ lfs f3, lbl_805ADD4C@sda21(r2) -/* 80299C40 00296BA0 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 80299C44 00296BA4 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80299C48 00296BA8 C3 E4 00 2C */ lfs f31, 0x2c(r4) -/* 80299C4C 00296BAC EC 00 10 28 */ fsubs f0, f0, f2 -/* 80299C50 00296BB0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80299C54 00296BB4 EF C3 00 32 */ fmuls f30, f3, f0 -/* 80299C58 00296BB8 4B F3 B5 B1 */ bl GetLogScanCount__14CSystemOptionsFv -/* 80299C5C 00296BBC 3C 80 43 30 */ lis r4, 0x4330 -/* 80299C60 00296BC0 6F C5 80 00 */ xoris r5, r30, 0x8000 -/* 80299C64 00296BC4 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 80299C68 00296BC8 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 80299C6C 00296BCC EC 1E F8 24 */ fdivs f0, f30, f31 -/* 80299C70 00296BD0 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2) -/* 80299C74 00296BD4 90 81 00 58 */ stw r4, 0x58(r1) -/* 80299C78 00296BD8 C0 82 C0 2C */ lfs f4, lbl_805ADD4C@sda21(r2) -/* 80299C7C 00296BDC C8 21 00 58 */ lfd f1, 0x58(r1) -/* 80299C80 00296BE0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80299C84 00296BE4 90 81 00 60 */ stw r4, 0x60(r1) -/* 80299C88 00296BE8 EC 41 18 28 */ fsubs f2, f1, f3 -/* 80299C8C 00296BEC FC 00 00 1E */ fctiwz f0, f0 -/* 80299C90 00296BF0 C8 21 00 60 */ lfd f1, 0x60(r1) -/* 80299C94 00296BF4 FC A0 F0 1E */ fctiwz f5, f30 -/* 80299C98 00296BF8 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80299C9C 00296BFC D8 01 00 70 */ stfd f0, 0x70(r1) -/* 80299CA0 00296C00 D8 A1 00 50 */ stfd f5, 0x50(r1) -/* 80299CA4 00296C04 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80299CA8 00296C08 83 C1 00 74 */ lwz r30, 0x74(r1) -/* 80299CAC 00296C0C 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80299CB0 00296C10 7C 80 1A 78 */ xor r0, r4, r3 -/* 80299CB4 00296C14 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80299CB8 00296C18 7C 00 20 38 */ and r0, r0, r4 -/* 80299CBC 00296C1C EC 04 00 72 */ fmuls f0, f4, f1 -/* 80299CC0 00296C20 7C 00 18 50 */ subf r0, r0, r3 -/* 80299CC4 00296C24 54 1D 0F FF */ rlwinm. r29, r0, 1, 0x1f, 0x1f -/* 80299CC8 00296C28 EC 00 F8 24 */ fdivs f0, f0, f31 -/* 80299CCC 00296C2C FC 00 00 1E */ fctiwz f0, f0 -/* 80299CD0 00296C30 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 80299CD4 00296C34 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80299CD8 00296C38 41 82 00 10 */ beq lbl_80299CE8 -/* 80299CDC 00296C3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80299CE0 00296C40 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 80299CE4 00296C44 4B F3 B5 1D */ bl SetLogScanCount__14CSystemOptionsFi -lbl_80299CE8: -/* 80299CE8 00296C48 7C 1E F8 00 */ cmpw r30, r31 -/* 80299CEC 00296C4C 40 81 00 A8 */ ble lbl_80299D94 -/* 80299CF0 00296C50 38 1E FF FF */ addi r0, r30, -1 -/* 80299CF4 00296C54 38 81 00 0C */ addi r4, r1, 0xc -/* 80299CF8 00296C58 90 01 00 0C */ stw r0, 0xc(r1) -/* 80299CFC 00296C5C 38 6D 99 E4 */ addi r3, r13, lbl_805A85A4@sda21 -/* 80299D00 00296C60 38 AD 99 E8 */ addi r5, r13, lbl_805A85A8@sda21 -/* 80299D04 00296C64 4B DC 03 61 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 80299D08 00296C68 80 03 00 00 */ lwz r0, 0(r3) -/* 80299D0C 00296C6C 38 82 BF E8 */ addi r4, r2, lbl_805ADD08@sda21 -/* 80299D10 00296C70 38 61 00 20 */ addi r3, r1, 0x20 -/* 80299D14 00296C74 38 C1 00 08 */ addi r6, r1, 8 -/* 80299D18 00296C78 54 00 10 3A */ slwi r0, r0, 2 -/* 80299D1C 00296C7C 38 A0 FF FF */ li r5, -1 -/* 80299D20 00296C80 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80299D24 00296C84 48 0A 44 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80299D28 00296C88 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 80299D2C 00296C8C 28 1D 00 00 */ cmplwi r29, 0 -/* 80299D30 00296C90 38 C3 5C 48 */ addi r6, r3, lbl_803D5C48@l -/* 80299D34 00296C94 38 61 00 10 */ addi r3, r1, 0x10 -/* 80299D38 00296C98 38 81 00 20 */ addi r4, r1, 0x20 -/* 80299D3C 00296C9C 38 A6 00 D9 */ addi r5, r6, 0xd9 -/* 80299D40 00296CA0 41 82 00 08 */ beq lbl_80299D48 -/* 80299D44 00296CA4 38 A6 00 D7 */ addi r5, r6, 0xd7 -lbl_80299D48: -/* 80299D48 00296CA8 4B F7 23 AD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" -/* 80299D4C 00296CAC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80299D50 00296CB0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80299D54 00296CB4 48 0A 44 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80299D58 00296CB8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80299D5C 00296CBC 48 0A 3D 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299D60 00296CC0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80299D64 00296CC4 48 0A 3D 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299D68 00296CC8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80299D6C 00296CCC 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80299D70 00296CD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80299D74 00296CD4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80299D78 00296CD8 7D 89 03 A6 */ mtctr r12 -/* 80299D7C 00296CDC 4E 80 04 21 */ bctrl -/* 80299D80 00296CE0 83 E3 00 04 */ lwz r31, 4(r3) -/* 80299D84 00296CE4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80299D88 00296CE8 48 0A 3D 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80299D8C 00296CEC 7F E3 FB 78 */ mr r3, r31 -/* 80299D90 00296CF0 48 00 00 08 */ b lbl_80299D98 -lbl_80299D94: -/* 80299D94 00296CF4 38 60 FF FF */ li r3, -1 -lbl_80299D98: -/* 80299D98 00296CF8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80299D9C 00296CFC CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80299DA0 00296D00 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 80299DA4 00296D04 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80299DA8 00296D08 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80299DAC 00296D0C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80299DB0 00296D10 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80299DB4 00296D14 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80299DB8 00296D18 7C 08 03 A6 */ mtlr r0 -/* 80299DBC 00296D1C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80299DC0 00296D20 4E 80 00 20 */ blr - -.global CalculateScanCompletionRate__13CStateManagerFv -CalculateScanCompletionRate__13CStateManagerFv: -/* 80299DC4 00296D24 80 84 08 B8 */ lwz r4, 0x8b8(r4) -/* 80299DC8 00296D28 39 20 00 00 */ li r9, 0 -/* 80299DCC 00296D2C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13) -/* 80299DD0 00296D30 39 40 00 00 */ li r10, 0 -/* 80299DD4 00296D34 80 E4 00 00 */ lwz r7, 0(r4) -/* 80299DD8 00296D38 39 00 00 00 */ li r8, 0 -/* 80299DDC 00296D3C 80 07 01 74 */ lwz r0, 0x174(r7) -/* 80299DE0 00296D40 7C 09 03 A6 */ mtctr r0 -/* 80299DE4 00296D44 2C 00 00 00 */ cmpwi r0, 0 -/* 80299DE8 00296D48 40 81 00 60 */ ble lbl_80299E48 -/* 80299DEC 00296D4C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) -lbl_80299DF0: -/* 80299DF0 00296D50 80 86 00 2C */ lwz r4, 0x2c(r6) -/* 80299DF4 00296D54 38 08 00 04 */ addi r0, r8, 4 -/* 80299DF8 00296D58 80 A7 01 7C */ lwz r5, 0x17c(r7) -/* 80299DFC 00296D5C 7D 64 00 2E */ lwzx r11, r4, r0 -/* 80299E00 00296D60 7C 85 42 14 */ add r4, r5, r8 -/* 80299E04 00296D64 38 0B FF FF */ addi r0, r11, -1 -/* 80299E08 00296D68 28 00 00 01 */ cmplwi r0, 1 -/* 80299E0C 00296D6C 40 81 00 0C */ ble lbl_80299E18 -/* 80299E10 00296D70 28 0B 00 03 */ cmplwi r11, 3 -/* 80299E14 00296D74 40 82 00 0C */ bne lbl_80299E20 -lbl_80299E18: -/* 80299E18 00296D78 38 00 00 01 */ li r0, 1 -/* 80299E1C 00296D7C 48 00 00 08 */ b lbl_80299E24 -lbl_80299E20: -/* 80299E20 00296D80 38 00 00 00 */ li r0, 0 -lbl_80299E24: -/* 80299E24 00296D84 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80299E28 00296D88 41 82 00 18 */ beq lbl_80299E40 -/* 80299E2C 00296D8C C0 04 00 04 */ lfs f0, 4(r4) -/* 80299E30 00296D90 39 29 00 01 */ addi r9, r9, 1 -/* 80299E34 00296D94 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80299E38 00296D98 40 82 00 08 */ bne lbl_80299E40 -/* 80299E3C 00296D9C 39 4A 00 01 */ addi r10, r10, 1 -lbl_80299E40: -/* 80299E40 00296DA0 39 08 00 08 */ addi r8, r8, 8 -/* 80299E44 00296DA4 42 00 FF AC */ bdnz lbl_80299DF0 -lbl_80299E48: -/* 80299E48 00296DA8 91 43 00 00 */ stw r10, 0(r3) -/* 80299E4C 00296DAC 91 23 00 04 */ stw r9, 4(r3) -/* 80299E50 00296DB0 4E 80 00 20 */ blr - -.global IsDataLoreResearchScan__FUi -IsDataLoreResearchScan__FUi: -/* 80299E54 00296DB4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80299E58 00296DB8 7C 08 02 A6 */ mflr r0 -/* 80299E5C 00296DBC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80299E60 00296DC0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80299E64 00296DC4 89 21 00 10 */ lbz r9, 0x10(r1) -/* 80299E68 00296DC8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80299E6C 00296DCC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80299E70 00296DD0 38 C1 00 08 */ addi r6, r1, 8 -/* 80299E74 00296DD4 38 E1 00 0C */ addi r7, r1, 0xc -/* 80299E78 00296DD8 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) -/* 80299E7C 00296DDC 90 61 00 08 */ stw r3, 8(r1) -/* 80299E80 00296DE0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80299E84 00296DE4 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80299E88 00296DE8 81 1F 00 2C */ lwz r8, 0x2c(r31) -/* 80299E8C 00296DEC 54 00 18 38 */ slwi r0, r0, 3 -/* 80299E90 00296DF0 99 21 00 14 */ stb r9, 0x14(r1) -/* 80299E94 00296DF4 7D 08 02 14 */ add r8, r8, r0 -/* 80299E98 00296DF8 91 01 00 2C */ stw r8, 0x2c(r1) -/* 80299E9C 00296DFC 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80299EA0 00296E00 91 01 00 28 */ stw r8, 0x28(r1) -/* 80299EA4 00296E04 90 01 00 30 */ stw r0, 0x30(r1) -/* 80299EA8 00296E08 99 21 00 0C */ stb r9, 0xc(r1) -/* 80299EAC 00296E0C 91 01 00 24 */ stw r8, 0x24(r1) -/* 80299EB0 00296E10 90 01 00 20 */ stw r0, 0x20(r1) -/* 80299EB4 00296E14 48 00 21 85 */ bl sub_8029c038 -/* 80299EB8 00296E18 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80299EBC 00296E1C 38 80 00 00 */ li r4, 0 -/* 80299EC0 00296E20 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80299EC4 00296E24 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80299EC8 00296E28 7C 05 00 40 */ cmplw r5, r0 -/* 80299ECC 00296E2C 41 82 00 18 */ beq lbl_80299EE4 -/* 80299ED0 00296E30 80 61 00 08 */ lwz r3, 8(r1) -/* 80299ED4 00296E34 80 05 00 00 */ lwz r0, 0(r5) -/* 80299ED8 00296E38 7C 03 00 40 */ cmplw r3, r0 -/* 80299EDC 00296E3C 41 80 00 08 */ blt lbl_80299EE4 -/* 80299EE0 00296E40 38 80 00 01 */ li r4, 1 -lbl_80299EE4: -/* 80299EE4 00296E44 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80299EE8 00296E48 38 81 00 2C */ addi r4, r1, 0x2c -/* 80299EEC 00296E4C 41 82 00 08 */ beq lbl_80299EF4 -/* 80299EF0 00296E50 38 81 00 18 */ addi r4, r1, 0x18 -lbl_80299EF4: -/* 80299EF4 00296E54 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80299EF8 00296E58 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80299EFC 00296E5C 54 00 18 38 */ slwi r0, r0, 3 -/* 80299F00 00296E60 80 84 00 00 */ lwz r4, 0(r4) -/* 80299F04 00296E64 7C 03 02 14 */ add r0, r3, r0 -/* 80299F08 00296E68 7C 04 00 40 */ cmplw r4, r0 -/* 80299F0C 00296E6C 41 82 00 38 */ beq lbl_80299F44 -/* 80299F10 00296E70 80 64 00 04 */ lwz r3, 4(r4) -/* 80299F14 00296E74 38 03 FF FF */ addi r0, r3, -1 -/* 80299F18 00296E78 28 00 00 01 */ cmplwi r0, 1 -/* 80299F1C 00296E7C 40 81 00 0C */ ble lbl_80299F28 -/* 80299F20 00296E80 28 03 00 03 */ cmplwi r3, 3 -/* 80299F24 00296E84 40 82 00 0C */ bne lbl_80299F30 -lbl_80299F28: -/* 80299F28 00296E88 38 00 00 01 */ li r0, 1 -/* 80299F2C 00296E8C 48 00 00 08 */ b lbl_80299F34 -lbl_80299F30: -/* 80299F30 00296E90 38 00 00 00 */ li r0, 0 -lbl_80299F34: -/* 80299F34 00296E94 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80299F38 00296E98 41 82 00 0C */ beq lbl_80299F44 -/* 80299F3C 00296E9C 38 60 00 01 */ li r3, 1 -/* 80299F40 00296EA0 48 00 00 08 */ b lbl_80299F48 -lbl_80299F44: -/* 80299F44 00296EA4 38 60 00 00 */ li r3, 0 -lbl_80299F48: -/* 80299F48 00296EA8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80299F4C 00296EAC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80299F50 00296EB0 7C 08 03 A6 */ mtlr r0 -/* 80299F54 00296EB4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80299F58 00296EB8 4E 80 00 20 */ blr - -.global Draw__10CSlideShowFv -Draw__10CSlideShowFv: -/* 80299F5C 00296EBC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80299F60 00296EC0 7C 08 02 A6 */ mflr r0 -/* 80299F64 00296EC4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80299F68 00296EC8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80299F6C 00296ECC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80299F70 00296ED0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80299F74 00296ED4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80299F78 00296ED8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80299F7C 00296EDC 7C 7F 1B 78 */ mr r31, r3 -/* 80299F80 00296EE0 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80299F84 00296EE4 2C 00 00 05 */ cmpwi r0, 5 -/* 80299F88 00296EE8 40 82 01 48 */ bne lbl_8029A0D0 -/* 80299F8C 00296EEC 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 80299F90 00296EF0 38 80 00 00 */ li r4, 0 -/* 80299F94 00296EF4 28 03 00 00 */ cmplwi r3, 0 -/* 80299F98 00296EF8 41 82 00 24 */ beq lbl_80299FBC -/* 80299F9C 00296EFC 80 63 00 00 */ lwz r3, 0(r3) -/* 80299FA0 00296F00 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80299FA4 00296F04 28 00 00 00 */ cmplwi r0, 0 -/* 80299FA8 00296F08 41 82 00 14 */ beq lbl_80299FBC -/* 80299FAC 00296F0C 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80299FB0 00296F10 28 00 00 00 */ cmplwi r0, 0 -/* 80299FB4 00296F14 41 82 00 08 */ beq lbl_80299FBC -/* 80299FB8 00296F18 38 80 00 01 */ li r4, 1 -lbl_80299FBC: -/* 80299FBC 00296F1C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80299FC0 00296F20 41 82 00 0C */ beq lbl_80299FCC -/* 80299FC4 00296F24 38 7F 00 5C */ addi r3, r31, 0x5c -/* 80299FC8 00296F28 4B FF DB 55 */ bl sub_80297b1c -lbl_80299FCC: -/* 80299FCC 00296F2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 80299FD0 00296F30 38 80 00 00 */ li r4, 0 -/* 80299FD4 00296F34 28 03 00 00 */ cmplwi r3, 0 -/* 80299FD8 00296F38 41 82 00 24 */ beq lbl_80299FFC -/* 80299FDC 00296F3C 80 63 00 00 */ lwz r3, 0(r3) -/* 80299FE0 00296F40 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80299FE4 00296F44 28 00 00 00 */ cmplwi r0, 0 -/* 80299FE8 00296F48 41 82 00 14 */ beq lbl_80299FFC -/* 80299FEC 00296F4C 88 1F 00 A4 */ lbz r0, 0xa4(r31) -/* 80299FF0 00296F50 28 00 00 00 */ cmplwi r0, 0 -/* 80299FF4 00296F54 41 82 00 08 */ beq lbl_80299FFC -/* 80299FF8 00296F58 38 80 00 01 */ li r4, 1 -lbl_80299FFC: -/* 80299FFC 00296F5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8029A000 00296F60 41 82 00 0C */ beq lbl_8029A00C -/* 8029A004 00296F64 38 7F 00 90 */ addi r3, r31, 0x90 -/* 8029A008 00296F68 4B FF DB 15 */ bl sub_80297b1c -lbl_8029A00C: -/* 8029A00C 00296F6C 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 8029A010 00296F70 28 00 00 00 */ cmplwi r0, 0 -/* 8029A014 00296F74 41 82 00 20 */ beq lbl_8029A034 -/* 8029A018 00296F78 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A01C 00296F7C C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 8029A020 00296F80 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 8029A024 00296F84 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8029A028 00296F88 41 82 00 0C */ beq lbl_8029A034 -/* 8029A02C 00296F8C 7F E3 FB 78 */ mr r3, r31 -/* 8029A030 00296F90 4B FF E6 B1 */ bl sub_802986e0 -lbl_8029A034: -/* 8029A034 00296F94 7F E3 FB 78 */ mr r3, r31 -/* 8029A038 00296F98 4B FF F4 61 */ bl sub_80299498 -/* 8029A03C 00296F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A040 00296FA0 41 82 00 0C */ beq lbl_8029A04C -/* 8029A044 00296FA4 7F E3 FB 78 */ mr r3, r31 -/* 8029A048 00296FA8 4B FF E4 29 */ bl sub_80298470 -lbl_8029A04C: -/* 8029A04C 00296FAC 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029A050 00296FB0 54 03 FF FF */ rlwinm. r3, r0, 0x1f, 0x1f, 0x1f -/* 8029A054 00296FB4 40 82 00 0C */ bne lbl_8029A060 -/* 8029A058 00296FB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8029A05C 00296FBC 41 82 00 74 */ beq lbl_8029A0D0 -lbl_8029A060: -/* 8029A060 00296FC0 28 03 00 00 */ cmplwi r3, 0 -/* 8029A064 00296FC4 C0 3F 01 30 */ lfs f1, 0x130(r31) -/* 8029A068 00296FC8 41 82 00 10 */ beq lbl_8029A078 -/* 8029A06C 00296FCC 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A070 00296FD0 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8029A074 00296FD4 48 00 00 0C */ b lbl_8029A080 -lbl_8029A078: -/* 8029A078 00296FD8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A07C 00296FDC C0 03 00 58 */ lfs f0, 0x58(r3) -lbl_8029A080: -/* 8029A080 00296FE0 EF C1 00 24 */ fdivs f30, f1, f0 -/* 8029A084 00296FE4 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029A088 00296FE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8029A08C 00296FEC 41 82 00 0C */ beq lbl_8029A098 -/* 8029A090 00296FF0 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) -/* 8029A094 00296FF4 EF C0 F0 28 */ fsubs f30, f0, f30 -lbl_8029A098: -/* 8029A098 00296FF8 48 0A FF 1D */ bl Black__6CColorFv -/* 8029A09C 00296FFC C0 02 C0 30 */ lfs f0, lbl_805ADD50@sda21(r2) -/* 8029A0A0 00297000 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 8029A0A4 00297004 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 8029A0A8 00297008 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029A0AC 0029700C 80 E3 00 00 */ lwz r7, 0(r3) -/* 8029A0B0 00297010 38 60 00 05 */ li r3, 5 -/* 8029A0B4 00297014 88 01 00 08 */ lbz r0, 8(r1) -/* 8029A0B8 00297018 38 80 00 00 */ li r4, 0 -/* 8029A0BC 0029701C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 8029A0C0 00297020 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) -/* 8029A0C4 00297024 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029A0C8 00297028 38 C0 00 00 */ li r6, 0 -/* 8029A0CC 0029702C 4B E5 20 7D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_8029A0D0: -/* 8029A0D0 00297030 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8029A0D4 00297034 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8029A0D8 00297038 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8029A0DC 0029703C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8029A0E0 00297040 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8029A0E4 00297044 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029A0E8 00297048 7C 08 03 A6 */ mtlr r0 -/* 8029A0EC 0029704C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8029A0F0 00297050 4E 80 00 20 */ blr - -.global OnMessage__10CSlideShowFv -OnMessage__10CSlideShowFv: -/* 8029A0F4 00297054 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8029A0F8 00297058 7C 08 02 A6 */ mflr r0 -/* 8029A0FC 0029705C 90 01 01 24 */ stw r0, 0x124(r1) -/* 8029A100 00297060 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8029A104 00297064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8029A108 00297068 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8029A10C 0029706C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 8029A110 00297070 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 8029A114 00297074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 8029A118 00297078 BF 21 00 D4 */ stmw r25, 0xd4(r1) -/* 8029A11C 0029707C 80 04 00 04 */ lwz r0, 4(r4) -/* 8029A120 00297080 7C 7F 1B 78 */ mr r31, r3 -/* 8029A124 00297084 2C 00 00 05 */ cmpwi r0, 5 -/* 8029A128 00297088 41 82 08 EC */ beq lbl_8029AA14 -/* 8029A12C 0029708C 40 80 0A 58 */ bge lbl_8029AB84 -/* 8029A130 00297090 2C 00 00 04 */ cmpwi r0, 4 -/* 8029A134 00297094 40 80 00 08 */ bge lbl_8029A13C -/* 8029A138 00297098 48 00 0A 4C */ b lbl_8029AB84 -lbl_8029A13C: -/* 8029A13C 0029709C 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029A140 002970A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8029A144 002970A4 41 82 00 0C */ beq lbl_8029A150 -/* 8029A148 002970A8 38 60 00 02 */ li r3, 2 -/* 8029A14C 002970AC 48 00 0A 3C */ b lbl_8029AB88 -lbl_8029A150: -/* 8029A150 002970B0 7C 83 23 78 */ mr r3, r4 -/* 8029A154 002970B4 4B DB 7A 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 8029A158 002970B8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8029A15C 002970BC C3 E3 00 04 */ lfs f31, 4(r3) -/* 8029A160 002970C0 2C 00 00 03 */ cmpwi r0, 3 -/* 8029A164 002970C4 41 82 01 10 */ beq lbl_8029A274 -/* 8029A168 002970C8 40 80 00 1C */ bge lbl_8029A184 -/* 8029A16C 002970CC 2C 00 00 01 */ cmpwi r0, 1 -/* 8029A170 002970D0 41 82 00 50 */ beq lbl_8029A1C0 -/* 8029A174 002970D4 40 80 01 5C */ bge lbl_8029A2D0 -/* 8029A178 002970D8 2C 00 00 00 */ cmpwi r0, 0 -/* 8029A17C 002970DC 40 80 00 18 */ bge lbl_8029A194 -/* 8029A180 002970E0 48 00 0A 04 */ b lbl_8029AB84 -lbl_8029A184: -/* 8029A184 002970E4 2C 00 00 05 */ cmpwi r0, 5 -/* 8029A188 002970E8 41 82 05 48 */ beq lbl_8029A6D0 -/* 8029A18C 002970EC 40 80 09 F8 */ bge lbl_8029AB84 -/* 8029A190 002970F0 48 00 04 90 */ b lbl_8029A620 -lbl_8029A194: -/* 8029A194 002970F4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029A198 002970F8 38 63 00 04 */ addi r3, r3, 4 -/* 8029A19C 002970FC 48 0A 1C 15 */ bl AreAllPaksLoaded__10CResLoaderCFv -/* 8029A1A0 00297100 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A1A4 00297104 40 82 00 14 */ bne lbl_8029A1B8 -/* 8029A1A8 00297108 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029A1AC 0029710C 38 63 00 04 */ addi r3, r3, 4 -/* 8029A1B0 00297110 48 0A 1C 11 */ bl AsyncIdlePakLoading__10CResLoaderFv -/* 8029A1B4 00297114 48 00 09 D0 */ b lbl_8029AB84 -lbl_8029A1B8: -/* 8029A1B8 00297118 38 00 00 01 */ li r0, 1 -/* 8029A1BC 0029711C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8029A1C0: -/* 8029A1C0 00297120 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8029A1C4 00297124 2C 00 00 00 */ cmpwi r0, 0 -/* 8029A1C8 00297128 40 82 00 90 */ bne lbl_8029A258 -/* 8029A1CC 0029712C 38 7F 00 18 */ addi r3, r31, 0x18 -/* 8029A1D0 00297130 38 80 00 05 */ li r4, 5 -/* 8029A1D4 00297134 4B E7 06 39 */ bl sub_8010a80c -/* 8029A1D8 00297138 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029A1DC 0029713C 3B 40 00 01 */ li r26, 1 -/* 8029A1E0 00297140 3B 63 5C 48 */ addi r27, r3, lbl_803D5C48@l -lbl_8029A1E4: -/* 8029A1E4 00297144 80 82 BF C8 */ lwz r4, lbl_805ADCE8@sda21(r2) -/* 8029A1E8 00297148 7F 45 D3 78 */ mr r5, r26 -/* 8029A1EC 0029714C 38 7B 00 DB */ addi r3, r27, 0xdb -/* 8029A1F0 00297150 4C C6 31 82 */ crclr 6 -/* 8029A1F4 00297154 48 03 BF BD */ bl Stringize__7CBasicsFPCce -/* 8029A1F8 00297158 7C 64 1B 78 */ mr r4, r3 -/* 8029A1FC 0029715C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029A200 00297160 38 C1 00 0C */ addi r6, r1, 0xc -/* 8029A204 00297164 38 A0 FF FF */ li r5, -1 -/* 8029A208 00297168 48 0A 3F 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8029A20C 0029716C 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8029A210 00297170 7F E3 FB 78 */ mr r3, r31 -/* 8029A214 00297174 48 00 09 A1 */ bl sub_8029abb4 -/* 8029A218 00297178 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A21C 0029717C 40 82 00 10 */ bne lbl_8029A22C -/* 8029A220 00297180 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029A224 00297184 48 0A 38 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029A228 00297188 48 00 00 14 */ b lbl_8029A23C -lbl_8029A22C: -/* 8029A22C 0029718C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029A230 00297190 48 0A 38 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029A234 00297194 3B 5A 00 01 */ addi r26, r26, 1 -/* 8029A238 00297198 4B FF FF AC */ b lbl_8029A1E4 -lbl_8029A23C: -/* 8029A23C 0029719C 80 82 BF CC */ lwz r4, lbl_805ADCEC@sda21(r2) -/* 8029A240 002971A0 7F E3 FB 78 */ mr r3, r31 -/* 8029A244 002971A4 48 00 09 71 */ bl sub_8029abb4 -/* 8029A248 002971A8 7F E3 FB 78 */ mr r3, r31 -/* 8029A24C 002971AC 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8029A250 002971B0 38 A0 00 01 */ li r5, 1 -/* 8029A254 002971B4 4B FF E6 E1 */ bl sub_80298934 -lbl_8029A258: -/* 8029A258 002971B8 7F E3 FB 78 */ mr r3, r31 -/* 8029A25C 002971BC 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8029A260 002971C0 4B FF E6 95 */ bl sub_802988f4 -/* 8029A264 002971C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A268 002971C8 41 82 09 1C */ beq lbl_8029AB84 -/* 8029A26C 002971CC 38 00 00 03 */ li r0, 3 -/* 8029A270 002971D0 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8029A274: -/* 8029A274 002971D4 48 00 0F 61 */ bl SlideShowGalleryFlags__10CSlideShowFv -/* 8029A278 002971D8 7C 64 1B 78 */ mr r4, r3 -/* 8029A27C 002971DC 7F E3 FB 78 */ mr r3, r31 -/* 8029A280 002971E0 48 00 0A 4D */ bl sub_8029accc -/* 8029A284 002971E4 38 C0 00 00 */ li r6, 0 -/* 8029A288 002971E8 38 A0 00 00 */ li r5, 0 -/* 8029A28C 002971EC 48 00 00 24 */ b lbl_8029A2B0 -lbl_8029A290: -/* 8029A290 002971F0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 8029A294 002971F4 38 05 00 08 */ addi r0, r5, 8 -/* 8029A298 002971F8 80 9F 00 40 */ lwz r4, 0x40(r31) -/* 8029A29C 002971FC 38 A5 00 14 */ addi r5, r5, 0x14 -/* 8029A2A0 00297200 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8029A2A4 00297204 38 C6 00 01 */ addi r6, r6, 1 -/* 8029A2A8 00297208 7C 04 02 14 */ add r0, r4, r0 -/* 8029A2AC 0029720C 90 1F 00 40 */ stw r0, 0x40(r31) -lbl_8029A2B0: -/* 8029A2B0 00297210 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8029A2B4 00297214 7C 06 00 00 */ cmpw r6, r0 -/* 8029A2B8 00297218 41 80 FF D8 */ blt lbl_8029A290 -/* 8029A2BC 0029721C 7F E3 FB 78 */ mr r3, r31 -/* 8029A2C0 00297220 38 80 00 01 */ li r4, 1 -/* 8029A2C4 00297224 4B FF F4 35 */ bl sub_802996f8 -/* 8029A2C8 00297228 38 00 00 02 */ li r0, 2 -/* 8029A2CC 0029722C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8029A2D0: -/* 8029A2D0 00297230 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A2D4 00297234 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 8029A2D8 00297238 7C 00 20 00 */ cmpw r0, r4 -/* 8029A2DC 0029723C 41 82 02 E8 */ beq lbl_8029A5C4 -/* 8029A2E0 00297240 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 8029A2E4 00297244 48 00 21 29 */ bl sub_8029c40c -/* 8029A2E8 00297248 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029A2EC 0029724C 3B 80 00 00 */ li r28, 0 -/* 8029A2F0 00297250 3B C3 5C 48 */ addi r30, r3, lbl_803D5C48@l -/* 8029A2F4 00297254 3B A0 00 00 */ li r29, 0 -/* 8029A2F8 00297258 48 00 02 08 */ b lbl_8029A500 -lbl_8029A2FC: -/* 8029A2FC 0029725C 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 8029A300 00297260 38 7E 00 E7 */ addi r3, r30, 0xe7 -/* 8029A304 00297264 80 82 BF D0 */ lwz r4, lbl_805ADCF0@sda21(r2) -/* 8029A308 00297268 7C A5 E8 2E */ lwzx r5, r5, r29 -/* 8029A30C 0029726C 38 A5 00 01 */ addi r5, r5, 1 -/* 8029A310 00297270 4C C6 31 82 */ crclr 6 -/* 8029A314 00297274 48 03 BE 9D */ bl Stringize__7CBasicsFPCce -/* 8029A318 00297278 7C 60 1B 78 */ mr r0, r3 -/* 8029A31C 0029727C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029A320 00297280 7C 04 03 78 */ mr r4, r0 -/* 8029A324 00297284 81 83 00 00 */ lwz r12, 0(r3) -/* 8029A328 00297288 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029A32C 0029728C 7D 89 03 A6 */ mtctr r12 -/* 8029A330 00297290 4E 80 04 21 */ bctrl -/* 8029A334 00297294 7C 79 1B 79 */ or. r25, r3, r3 -/* 8029A338 00297298 40 82 00 A0 */ bne lbl_8029A3D8 -/* 8029A33C 0029729C 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A340 002972A0 38 60 00 00 */ li r3, 0 -/* 8029A344 002972A4 80 BF 00 D8 */ lwz r5, 0xd8(r31) -/* 8029A348 002972A8 98 61 00 38 */ stb r3, 0x38(r1) -/* 8029A34C 002972AC 7C 00 28 00 */ cmpw r0, r5 -/* 8029A350 002972B0 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8029A354 002972B4 41 80 00 1C */ blt lbl_8029A370 -/* 8029A358 002972B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8029A35C 002972BC 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 8029A360 002972C0 38 80 00 04 */ li r4, 4 -/* 8029A364 002972C4 41 82 00 08 */ beq lbl_8029A36C -/* 8029A368 002972C8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029A36C: -/* 8029A36C 002972CC 48 00 20 A1 */ bl sub_8029c40c -lbl_8029A370: -/* 8029A370 002972D0 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A374 002972D4 80 7F 00 DC */ lwz r3, 0xdc(r31) -/* 8029A378 002972D8 54 00 18 38 */ slwi r0, r0, 3 -/* 8029A37C 002972DC 7C A3 02 15 */ add. r5, r3, r0 -/* 8029A380 002972E0 41 82 00 1C */ beq lbl_8029A39C -/* 8029A384 002972E4 88 81 00 38 */ lbz r4, 0x38(r1) -/* 8029A388 002972E8 38 00 00 00 */ li r0, 0 -/* 8029A38C 002972EC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8029A390 002972F0 98 85 00 00 */ stb r4, 0(r5) -/* 8029A394 002972F4 90 65 00 04 */ stw r3, 4(r5) -/* 8029A398 002972F8 98 01 00 38 */ stb r0, 0x38(r1) -lbl_8029A39C: -/* 8029A39C 002972FC 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 8029A3A0 00297300 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8029A3A4 00297304 38 63 00 01 */ addi r3, r3, 1 -/* 8029A3A8 00297308 28 00 00 00 */ cmplwi r0, 0 -/* 8029A3AC 0029730C 90 7F 00 D4 */ stw r3, 0xd4(r31) -/* 8029A3B0 00297310 41 82 01 48 */ beq lbl_8029A4F8 -/* 8029A3B4 00297314 83 61 00 3C */ lwz r27, 0x3c(r1) -/* 8029A3B8 00297318 28 1B 00 00 */ cmplwi r27, 0 -/* 8029A3BC 0029731C 41 82 01 3C */ beq lbl_8029A4F8 -/* 8029A3C0 00297320 7F 63 DB 78 */ mr r3, r27 -/* 8029A3C4 00297324 38 80 00 00 */ li r4, 0 -/* 8029A3C8 00297328 48 0A 6A 79 */ bl __dt__6CTokenFv -/* 8029A3CC 0029732C 7F 63 DB 78 */ mr r3, r27 -/* 8029A3D0 00297330 48 07 B5 61 */ bl Free__7CMemoryFPCv -/* 8029A3D4 00297334 48 00 01 24 */ b lbl_8029A4F8 -lbl_8029A3D8: -/* 8029A3D8 00297338 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029A3DC 0029733C 3B 60 00 00 */ li r27, 0 -/* 8029A3E0 00297340 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l -/* 8029A3E4 00297344 38 60 00 08 */ li r3, 8 -/* 8029A3E8 00297348 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029A3EC 0029734C 38 A0 00 00 */ li r5, 0 -/* 8029A3F0 00297350 48 07 B4 7D */ bl __nw__FUlPCcPCc -/* 8029A3F4 00297354 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8029A3F8 00297358 41 82 00 30 */ beq lbl_8029A428 -/* 8029A3FC 0029735C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029A400 00297360 7F 25 CB 78 */ mr r5, r25 -/* 8029A404 00297364 38 61 00 30 */ addi r3, r1, 0x30 -/* 8029A408 00297368 81 84 00 00 */ lwz r12, 0(r4) -/* 8029A40C 0029736C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029A410 00297370 7D 89 03 A6 */ mtctr r12 -/* 8029A414 00297374 4E 80 04 21 */ bctrl -/* 8029A418 00297378 7F 43 D3 78 */ mr r3, r26 -/* 8029A41C 0029737C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8029A420 00297380 3B 60 00 01 */ li r27, 1 -/* 8029A424 00297384 48 0A 6A 85 */ bl __ct__6CTokenFRC6CToken -lbl_8029A428: -/* 8029A428 00297388 7C 7A 00 D0 */ neg r3, r26 -/* 8029A42C 0029738C 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A430 00297390 80 BF 00 D8 */ lwz r5, 0xd8(r31) -/* 8029A434 00297394 7C 63 D3 78 */ or r3, r3, r26 -/* 8029A438 00297398 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8029A43C 0029739C 93 41 00 2C */ stw r26, 0x2c(r1) -/* 8029A440 002973A0 7C 00 28 00 */ cmpw r0, r5 -/* 8029A444 002973A4 98 61 00 28 */ stb r3, 0x28(r1) -/* 8029A448 002973A8 41 80 00 1C */ blt lbl_8029A464 -/* 8029A44C 002973AC 2C 05 00 00 */ cmpwi r5, 0 -/* 8029A450 002973B0 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 8029A454 002973B4 38 80 00 04 */ li r4, 4 -/* 8029A458 002973B8 41 82 00 08 */ beq lbl_8029A460 -/* 8029A45C 002973BC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029A460: -/* 8029A460 002973C0 48 00 1F AD */ bl sub_8029c40c -lbl_8029A464: -/* 8029A464 002973C4 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A468 002973C8 80 7F 00 DC */ lwz r3, 0xdc(r31) -/* 8029A46C 002973CC 54 00 18 38 */ slwi r0, r0, 3 -/* 8029A470 002973D0 7C A3 02 15 */ add. r5, r3, r0 -/* 8029A474 002973D4 41 82 00 1C */ beq lbl_8029A490 -/* 8029A478 002973D8 88 81 00 28 */ lbz r4, 0x28(r1) -/* 8029A47C 002973DC 38 00 00 00 */ li r0, 0 -/* 8029A480 002973E0 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8029A484 002973E4 98 85 00 00 */ stb r4, 0(r5) -/* 8029A488 002973E8 90 65 00 04 */ stw r3, 4(r5) -/* 8029A48C 002973EC 98 01 00 28 */ stb r0, 0x28(r1) -lbl_8029A490: -/* 8029A490 002973F0 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 8029A494 002973F4 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8029A498 002973F8 38 63 00 01 */ addi r3, r3, 1 -/* 8029A49C 002973FC 28 00 00 00 */ cmplwi r0, 0 -/* 8029A4A0 00297400 90 7F 00 D4 */ stw r3, 0xd4(r31) -/* 8029A4A4 00297404 41 82 00 24 */ beq lbl_8029A4C8 -/* 8029A4A8 00297408 83 41 00 2C */ lwz r26, 0x2c(r1) -/* 8029A4AC 0029740C 28 1A 00 00 */ cmplwi r26, 0 -/* 8029A4B0 00297410 41 82 00 18 */ beq lbl_8029A4C8 -/* 8029A4B4 00297414 7F 43 D3 78 */ mr r3, r26 -/* 8029A4B8 00297418 38 80 00 00 */ li r4, 0 -/* 8029A4BC 0029741C 48 0A 69 85 */ bl __dt__6CTokenFv -/* 8029A4C0 00297420 7F 43 D3 78 */ mr r3, r26 -/* 8029A4C4 00297424 48 07 B4 6D */ bl Free__7CMemoryFPCv -lbl_8029A4C8: -/* 8029A4C8 00297428 7F 60 07 75 */ extsb. r0, r27 -/* 8029A4CC 0029742C 41 82 00 10 */ beq lbl_8029A4DC -/* 8029A4D0 00297430 38 61 00 30 */ addi r3, r1, 0x30 -/* 8029A4D4 00297434 38 80 FF FF */ li r4, -1 -/* 8029A4D8 00297438 48 0A 69 69 */ bl __dt__6CTokenFv -lbl_8029A4DC: -/* 8029A4DC 0029743C 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 8029A4E0 00297440 80 9F 00 DC */ lwz r4, 0xdc(r31) -/* 8029A4E4 00297444 38 03 FF FF */ addi r0, r3, -1 -/* 8029A4E8 00297448 54 03 18 38 */ slwi r3, r0, 3 -/* 8029A4EC 0029744C 38 03 00 04 */ addi r0, r3, 4 -/* 8029A4F0 00297450 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8029A4F4 00297454 48 0A 68 91 */ bl Lock__6CTokenFv -lbl_8029A4F8: -/* 8029A4F8 00297458 3B BD 00 14 */ addi r29, r29, 0x14 -/* 8029A4FC 0029745C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8029A500: -/* 8029A500 00297460 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8029A504 00297464 7C 1C 00 00 */ cmpw r28, r0 -/* 8029A508 00297468 41 80 FD F4 */ blt lbl_8029A2FC -/* 8029A50C 0029746C 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 8029A510 00297470 28 00 00 00 */ cmplwi r0, 0 -/* 8029A514 00297474 40 82 00 B0 */ bne lbl_8029A5C4 -/* 8029A518 00297478 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029A51C 0029747C 80 82 BF D4 */ lwz r4, lbl_805ADCF4@sda21(r2) -/* 8029A520 00297480 81 83 00 00 */ lwz r12, 0(r3) -/* 8029A524 00297484 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029A528 00297488 7D 89 03 A6 */ mtctr r12 -/* 8029A52C 0029748C 4E 80 04 21 */ bctrl -/* 8029A530 00297490 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029A534 00297494 7C 79 1B 78 */ mr r25, r3 -/* 8029A538 00297498 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029A53C 0029749C 3B 80 00 00 */ li r28, 0 -/* 8029A540 002974A0 38 60 00 08 */ li r3, 8 -/* 8029A544 002974A4 38 A0 00 00 */ li r5, 0 -/* 8029A548 002974A8 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029A54C 002974AC 48 07 B3 21 */ bl __nw__FUlPCcPCc -/* 8029A550 002974B0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8029A554 002974B4 41 82 00 30 */ beq lbl_8029A584 -/* 8029A558 002974B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029A55C 002974BC 7F 25 CB 78 */ mr r5, r25 -/* 8029A560 002974C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029A564 002974C4 81 84 00 00 */ lwz r12, 0(r4) -/* 8029A568 002974C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029A56C 002974CC 7D 89 03 A6 */ mtctr r12 -/* 8029A570 002974D0 4E 80 04 21 */ bctrl -/* 8029A574 002974D4 7F 43 D3 78 */ mr r3, r26 -/* 8029A578 002974D8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8029A57C 002974DC 3B 80 00 01 */ li r28, 1 -/* 8029A580 002974E0 48 0A 69 29 */ bl __ct__6CTokenFRC6CToken -lbl_8029A584: -/* 8029A584 002974E4 83 7F 00 38 */ lwz r27, 0x38(r31) -/* 8029A588 002974E8 28 1B 00 00 */ cmplwi r27, 0 -/* 8029A58C 002974EC 41 82 00 18 */ beq lbl_8029A5A4 -/* 8029A590 002974F0 7F 63 DB 78 */ mr r3, r27 -/* 8029A594 002974F4 38 80 00 00 */ li r4, 0 -/* 8029A598 002974F8 48 0A 68 A9 */ bl __dt__6CTokenFv -/* 8029A59C 002974FC 7F 63 DB 78 */ mr r3, r27 -/* 8029A5A0 00297500 48 07 B3 91 */ bl Free__7CMemoryFPCv -lbl_8029A5A4: -/* 8029A5A4 00297504 7F 80 07 75 */ extsb. r0, r28 -/* 8029A5A8 00297508 93 5F 00 38 */ stw r26, 0x38(r31) -/* 8029A5AC 0029750C 41 82 00 10 */ beq lbl_8029A5BC -/* 8029A5B0 00297510 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029A5B4 00297514 38 80 FF FF */ li r4, -1 -/* 8029A5B8 00297518 48 0A 68 89 */ bl __dt__6CTokenFv -lbl_8029A5BC: -/* 8029A5BC 0029751C 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8029A5C0 00297520 48 0A 67 C5 */ bl Lock__6CTokenFv -lbl_8029A5C4: -/* 8029A5C4 00297524 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8029A5C8 00297528 80 63 00 00 */ lwz r3, 0(r3) -/* 8029A5CC 0029752C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8029A5D0 00297530 28 00 00 00 */ cmplwi r0, 0 -/* 8029A5D4 00297534 41 82 05 B0 */ beq lbl_8029AB84 -/* 8029A5D8 00297538 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8029A5DC 0029753C 38 80 00 00 */ li r4, 0 -/* 8029A5E0 00297540 7C 09 03 A6 */ mtctr r0 -/* 8029A5E4 00297544 2C 00 00 00 */ cmpwi r0, 0 -/* 8029A5E8 00297548 40 81 00 30 */ ble lbl_8029A618 -lbl_8029A5EC: -/* 8029A5EC 0029754C 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8029A5F0 00297550 7C 60 22 14 */ add r3, r0, r4 -/* 8029A5F4 00297554 80 63 00 04 */ lwz r3, 4(r3) -/* 8029A5F8 00297558 28 03 00 00 */ cmplwi r3, 0 -/* 8029A5FC 0029755C 41 82 00 14 */ beq lbl_8029A610 -/* 8029A600 00297560 80 63 00 00 */ lwz r3, 0(r3) -/* 8029A604 00297564 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8029A608 00297568 28 00 00 00 */ cmplwi r0, 0 -/* 8029A60C 0029756C 41 82 00 0C */ beq lbl_8029A618 -lbl_8029A610: -/* 8029A610 00297570 38 84 00 08 */ addi r4, r4, 8 -/* 8029A614 00297574 42 00 FF D8 */ bdnz lbl_8029A5EC -lbl_8029A618: -/* 8029A618 00297578 38 00 00 04 */ li r0, 4 -/* 8029A61C 0029757C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8029A620: -/* 8029A620 00297580 80 1F 00 CC */ lwz r0, 0xcc(r31) -/* 8029A624 00297584 28 00 00 00 */ cmplwi r0, 0 -/* 8029A628 00297588 40 82 00 78 */ bne lbl_8029A6A0 -/* 8029A62C 0029758C 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029A630 00297590 3B 20 00 00 */ li r25, 0 -/* 8029A634 00297594 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l -/* 8029A638 00297598 38 60 00 C4 */ li r3, 0xc4 -/* 8029A63C 0029759C 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029A640 002975A0 38 A0 00 00 */ li r5, 0 -/* 8029A644 002975A4 48 07 B2 29 */ bl __nw__FUlPCcPCc -/* 8029A648 002975A8 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8029A64C 002975AC 41 82 00 34 */ beq lbl_8029A680 -/* 8029A650 002975B0 80 82 BF D8 */ lwz r4, lbl_805ADCF8@sda21(r2) -/* 8029A654 002975B4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8029A658 002975B8 4B D6 A6 61 */ bl string_l__4rstlFPCc -/* 8029A65C 002975BC 3C A0 00 06 */ lis r5, 0x00065AF0@ha -/* 8029A660 002975C0 3C C0 00 1E */ lis r6, 0x001E1DB0@ha -/* 8029A664 002975C4 7F 43 D3 78 */ mr r3, r26 -/* 8029A668 002975C8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8029A66C 002975CC 38 A5 5A F0 */ addi r5, r5, 0x00065AF0@l -/* 8029A670 002975D0 38 C6 1D B0 */ addi r6, r6, 0x001E1DB0@l -/* 8029A674 002975D4 3B 20 00 01 */ li r25, 1 -/* 8029A678 002975D8 48 0D 1C 61 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii -/* 8029A67C 002975DC 7C 7A 1B 78 */ mr r26, r3 -lbl_8029A680: -/* 8029A680 002975E0 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 8029A684 002975E4 38 80 00 01 */ li r4, 1 -/* 8029A688 002975E8 48 0D 1A D1 */ bl __dt__18CStaticAudioPlayer -/* 8029A68C 002975EC 7F 20 07 75 */ extsb. r0, r25 -/* 8029A690 002975F0 93 5F 00 CC */ stw r26, 0xcc(r31) -/* 8029A694 002975F4 41 82 00 0C */ beq lbl_8029A6A0 -/* 8029A698 002975F8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8029A69C 002975FC 48 0A 34 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8029A6A0: -/* 8029A6A0 00297600 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 8029A6A4 00297604 48 0D 1A 61 */ bl IsReady__18CStaticAudioPlayer -/* 8029A6A8 00297608 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A6AC 0029760C 41 82 04 D8 */ beq lbl_8029AB84 -/* 8029A6B0 00297610 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 8029A6B4 00297614 7F E3 FB 78 */ mr r3, r31 -/* 8029A6B8 00297618 C0 24 00 58 */ lfs f1, 0x58(r4) -/* 8029A6BC 0029761C 4B FF E3 71 */ bl sub_80298a2c -/* 8029A6C0 00297620 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 8029A6C4 00297624 48 0D 19 6D */ bl StartMixOut__18CStaticAudioPlayerFv -/* 8029A6C8 00297628 38 00 00 05 */ li r0, 5 -/* 8029A6CC 0029762C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_8029A6D0: -/* 8029A6D0 00297630 88 7F 01 34 */ lbz r3, 0x134(r31) -/* 8029A6D4 00297634 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 8029A6D8 00297638 40 82 00 0C */ bne lbl_8029A6E4 -/* 8029A6DC 0029763C 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 8029A6E0 00297640 41 82 00 84 */ beq lbl_8029A764 -lbl_8029A6E4: -/* 8029A6E4 00297644 C0 3F 01 30 */ lfs f1, 0x130(r31) -/* 8029A6E8 00297648 C0 0D 99 D0 */ lfs f0, lbl_805A8590@sda21(r13) -/* 8029A6EC 0029764C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8029A6F0 00297650 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8029A6F4 00297654 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8029A6F8 00297658 40 80 00 0C */ bge lbl_8029A704 -/* 8029A6FC 0029765C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029A700 00297660 48 00 00 08 */ b lbl_8029A708 -lbl_8029A704: -/* 8029A704 00297664 38 6D 99 D0 */ addi r3, r13, lbl_805A8590@sda21 -lbl_8029A708: -/* 8029A708 00297668 C0 23 00 00 */ lfs f1, 0(r3) -/* 8029A70C 0029766C C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029A710 00297670 D0 3F 01 30 */ stfs f1, 0x130(r31) -/* 8029A714 00297674 C0 3F 01 30 */ lfs f1, 0x130(r31) -/* 8029A718 00297678 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029A71C 0029767C 4C 40 13 82 */ cror 2, 0, 2 -/* 8029A720 00297680 40 82 00 44 */ bne lbl_8029A764 -/* 8029A724 00297684 88 9F 01 34 */ lbz r4, 0x134(r31) -/* 8029A728 00297688 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 8029A72C 0029768C 41 82 00 14 */ beq lbl_8029A740 -/* 8029A730 00297690 38 00 00 01 */ li r0, 1 -/* 8029A734 00297694 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d -/* 8029A738 00297698 98 9F 01 34 */ stb r4, 0x134(r31) -/* 8029A73C 0029769C 48 00 00 28 */ b lbl_8029A764 -lbl_8029A740: -/* 8029A740 002976A0 38 60 00 00 */ li r3, 0 -/* 8029A744 002976A4 50 64 0F BC */ rlwimi r4, r3, 1, 0x1e, 0x1e -/* 8029A748 002976A8 98 9F 01 34 */ stb r4, 0x134(r31) -/* 8029A74C 002976AC 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029A750 002976B0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8029A754 002976B4 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029A758 002976B8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A75C 002976BC C0 03 00 58 */ lfs f0, 0x58(r3) -/* 8029A760 002976C0 D0 1F 01 30 */ stfs f0, 0x130(r31) -lbl_8029A764: -/* 8029A764 002976C4 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8029A768 002976C8 48 0A 66 A5 */ bl GetObj__6CTokenFv -/* 8029A76C 002976CC 80 63 00 04 */ lwz r3, 4(r3) -/* 8029A770 002976D0 38 80 00 00 */ li r4, 0 -/* 8029A774 002976D4 48 0B AE C1 */ bl Touch__6CModelCFi -/* 8029A778 002976D8 7F E3 FB 78 */ mr r3, r31 -/* 8029A77C 002976DC 4B FF ED 79 */ bl sub_802994f4 -/* 8029A780 002976E0 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8029A784 002976E4 38 80 00 00 */ li r4, 0 -/* 8029A788 002976E8 28 03 00 00 */ cmplwi r3, 0 -/* 8029A78C 002976EC 41 82 00 24 */ beq lbl_8029A7B0 -/* 8029A790 002976F0 80 63 00 00 */ lwz r3, 0(r3) -/* 8029A794 002976F4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8029A798 002976F8 28 00 00 00 */ cmplwi r0, 0 -/* 8029A79C 002976FC 41 82 00 14 */ beq lbl_8029A7B0 -/* 8029A7A0 00297700 88 1F 00 A4 */ lbz r0, 0xa4(r31) -/* 8029A7A4 00297704 28 00 00 00 */ cmplwi r0, 0 -/* 8029A7A8 00297708 41 82 00 08 */ beq lbl_8029A7B0 -/* 8029A7AC 0029770C 38 80 00 01 */ li r4, 1 -lbl_8029A7B0: -/* 8029A7B0 00297710 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8029A7B4 00297714 41 82 01 58 */ beq lbl_8029A90C -/* 8029A7B8 00297718 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A7BC 0029771C C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 8029A7C0 00297720 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8029A7C4 00297724 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8029A7C8 00297728 40 81 00 EC */ ble lbl_8029A8B4 -/* 8029A7CC 0029772C 80 9F 00 90 */ lwz r4, 0x90(r31) -/* 8029A7D0 00297730 38 7F 00 9C */ addi r3, r31, 0x9c -/* 8029A7D4 00297734 38 1F 00 68 */ addi r0, r31, 0x68 -/* 8029A7D8 00297738 90 9F 00 5C */ stw r4, 0x5c(r31) -/* 8029A7DC 0029773C 7C 03 00 40 */ cmplw r3, r0 -/* 8029A7E0 00297740 80 1F 00 94 */ lwz r0, 0x94(r31) -/* 8029A7E4 00297744 90 1F 00 60 */ stw r0, 0x60(r31) -/* 8029A7E8 00297748 80 1F 00 98 */ lwz r0, 0x98(r31) -/* 8029A7EC 0029774C 90 1F 00 64 */ stw r0, 0x64(r31) -/* 8029A7F0 00297750 41 82 00 48 */ beq lbl_8029A838 -/* 8029A7F4 00297754 88 1F 00 68 */ lbz r0, 0x68(r31) -/* 8029A7F8 00297758 28 00 00 00 */ cmplwi r0, 0 -/* 8029A7FC 0029775C 41 82 00 24 */ beq lbl_8029A820 -/* 8029A800 00297760 83 5F 00 6C */ lwz r26, 0x6c(r31) -/* 8029A804 00297764 28 1A 00 00 */ cmplwi r26, 0 -/* 8029A808 00297768 41 82 00 18 */ beq lbl_8029A820 -/* 8029A80C 0029776C 7F 43 D3 78 */ mr r3, r26 -/* 8029A810 00297770 38 80 00 00 */ li r4, 0 -/* 8029A814 00297774 48 0A 66 2D */ bl __dt__6CTokenFv -/* 8029A818 00297778 7F 43 D3 78 */ mr r3, r26 -/* 8029A81C 0029777C 48 07 B1 15 */ bl Free__7CMemoryFPCv -lbl_8029A820: -/* 8029A820 00297780 88 7F 00 9C */ lbz r3, 0x9c(r31) -/* 8029A824 00297784 38 00 00 00 */ li r0, 0 -/* 8029A828 00297788 98 7F 00 68 */ stb r3, 0x68(r31) -/* 8029A82C 0029778C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8029A830 00297790 90 7F 00 6C */ stw r3, 0x6c(r31) -/* 8029A834 00297794 98 1F 00 9C */ stb r0, 0x9c(r31) -lbl_8029A838: -/* 8029A838 00297798 88 1F 00 A4 */ lbz r0, 0xa4(r31) -/* 8029A83C 0029779C 7F E3 FB 78 */ mr r3, r31 -/* 8029A840 002977A0 38 80 00 00 */ li r4, 0 -/* 8029A844 002977A4 98 1F 00 70 */ stb r0, 0x70(r31) -/* 8029A848 002977A8 80 BF 00 A8 */ lwz r5, 0xa8(r31) -/* 8029A84C 002977AC 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 8029A850 002977B0 90 BF 00 74 */ stw r5, 0x74(r31) -/* 8029A854 002977B4 90 1F 00 78 */ stw r0, 0x78(r31) -/* 8029A858 002977B8 80 BF 00 B0 */ lwz r5, 0xb0(r31) -/* 8029A85C 002977BC 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 8029A860 002977C0 90 BF 00 7C */ stw r5, 0x7c(r31) -/* 8029A864 002977C4 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8029A868 002977C8 80 BF 00 B8 */ lwz r5, 0xb8(r31) -/* 8029A86C 002977CC 80 1F 00 BC */ lwz r0, 0xbc(r31) -/* 8029A870 002977D0 90 BF 00 84 */ stw r5, 0x84(r31) -/* 8029A874 002977D4 90 1F 00 88 */ stw r0, 0x88(r31) -/* 8029A878 002977D8 80 1F 00 C0 */ lwz r0, 0xc0(r31) -/* 8029A87C 002977DC 90 1F 00 8C */ stw r0, 0x8c(r31) -/* 8029A880 002977E0 4B FF E2 D5 */ bl sub_80298b54 -/* 8029A884 002977E4 7F E3 FB 78 */ mr r3, r31 -/* 8029A888 002977E8 38 80 00 00 */ li r4, 0 -/* 8029A88C 002977EC 4B FF E2 45 */ bl sub_80298ad0 -/* 8029A890 002977F0 C3 C2 C0 30 */ lfs f30, lbl_805ADD50@sda21(r2) -/* 8029A894 002977F4 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 -/* 8029A898 002977F8 38 7F 00 90 */ addi r3, r31, 0x90 -/* 8029A89C 002977FC 88 01 00 0A */ lbz r0, 0xa(r1) -/* 8029A8A0 00297800 98 1F 00 8F */ stb r0, 0x8f(r31) -/* 8029A8A4 00297804 4B FF D1 49 */ bl sub_802979ec -/* 8029A8A8 00297808 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029A8AC 0029780C D0 1F 00 4C */ stfs f0, 0x4c(r31) -/* 8029A8B0 00297810 48 00 00 98 */ b lbl_8029A948 -lbl_8029A8B4: -/* 8029A8B4 00297814 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8029A8B8 00297818 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029A8BC 0029781C 38 6D 99 D4 */ addi r3, r13, lbl_805A8594@sda21 -/* 8029A8C0 00297820 38 AD 99 D8 */ addi r5, r13, lbl_805A8598@sda21 -/* 8029A8C4 00297824 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8029A8C8 00297828 4B D7 19 ED */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8029A8CC 0029782C C0 43 00 00 */ lfs f2, 0(r3) -/* 8029A8D0 00297830 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2) -/* 8029A8D4 00297834 C0 22 C0 30 */ lfs f1, lbl_805ADD50@sda21(r2) -/* 8029A8D8 00297838 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8029A8DC 0029783C EF C1 00 32 */ fmuls f30, f1, f0 -/* 8029A8E0 00297840 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 8029A8E4 00297844 EF A1 00 B2 */ fmuls f29, f1, f2 -/* 8029A8E8 00297848 88 01 00 09 */ lbz r0, 9(r1) -/* 8029A8EC 0029784C 98 1F 00 8F */ stb r0, 0x8f(r31) -/* 8029A8F0 00297850 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 8029A8F4 00297854 88 01 00 08 */ lbz r0, 8(r1) -/* 8029A8F8 00297858 98 1F 00 C3 */ stb r0, 0xc3(r31) -/* 8029A8FC 0029785C C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 8029A900 00297860 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8029A904 00297864 D0 1F 00 4C */ stfs f0, 0x4c(r31) -/* 8029A908 00297868 48 00 00 40 */ b lbl_8029A948 -lbl_8029A90C: -/* 8029A90C 0029786C C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8029A910 00297870 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A914 00297874 FC 20 12 10 */ fabs f1, f2 -/* 8029A918 00297878 C0 03 00 3C */ lfs f0, 0x3c(r3) -/* 8029A91C 0029787C FC 20 08 18 */ frsp f1, f1 -/* 8029A920 00297880 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029A924 00297884 40 81 00 24 */ ble lbl_8029A948 -/* 8029A928 00297888 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029A92C 0029788C 7F E3 FB 78 */ mr r3, r31 -/* 8029A930 00297890 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8029A934 00297894 7C 00 00 26 */ mfcr r0 -/* 8029A938 00297898 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f -/* 8029A93C 0029789C 4B FF ED BD */ bl sub_802996f8 -/* 8029A940 002978A0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029A944 002978A4 D0 1F 00 50 */ stfs f0, 0x50(r31) -lbl_8029A948: -/* 8029A948 002978A8 7F E3 FB 78 */ mr r3, r31 -/* 8029A94C 002978AC 4B FF EB 4D */ bl sub_80299498 -/* 8029A950 002978B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029A954 002978B4 41 82 00 0C */ beq lbl_8029A960 -/* 8029A958 002978B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029A95C 002978BC 48 00 00 0C */ b lbl_8029A968 -lbl_8029A960: -/* 8029A960 002978C0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A964 002978C4 C0 23 00 4C */ lfs f1, 0x4c(r3) -lbl_8029A968: -/* 8029A968 002978C8 C0 1F 00 54 */ lfs f0, 0x54(r31) -/* 8029A96C 002978CC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029A970 002978D0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8029A974 002978D4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8029A978 002978D8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8029A97C 002978DC 38 6D 99 DC */ addi r3, r13, lbl_805A859C@sda21 -/* 8029A980 002978E0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8029A984 002978E4 4B D7 19 31 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8029A988 002978E8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029A98C 002978EC D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 8029A990 002978F0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13) -/* 8029A994 002978F4 C0 3F 00 54 */ lfs f1, 0x54(r31) -/* 8029A998 002978F8 C0 03 00 4C */ lfs f0, 0x4c(r3) -/* 8029A99C 002978FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029A9A0 00297900 4C 41 13 82 */ cror 2, 1, 2 -/* 8029A9A4 00297904 40 82 00 14 */ bne lbl_8029A9B8 -/* 8029A9A8 00297908 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8029A9AC 0029790C EC 00 F8 2A */ fadds f0, f0, f31 -/* 8029A9B0 00297910 D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 8029A9B4 00297914 48 00 00 10 */ b lbl_8029A9C4 -lbl_8029A9B8: -/* 8029A9B8 00297918 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8029A9BC 0029791C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8029A9C0 00297920 D0 1F 00 58 */ stfs f0, 0x58(r31) -lbl_8029A9C4: -/* 8029A9C4 00297924 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) -/* 8029A9C8 00297928 38 9F 00 58 */ addi r4, r31, 0x58 -/* 8029A9CC 0029792C 38 6D 99 E0 */ addi r3, r13, lbl_805A85A0@sda21 -/* 8029A9D0 00297930 38 A5 00 50 */ addi r5, r5, 0x50 -/* 8029A9D4 00297934 4B D7 18 E1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8029A9D8 00297938 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029A9DC 0029793C FC 20 F8 90 */ fmr f1, f31 -/* 8029A9E0 00297940 7F E3 FB 78 */ mr r3, r31 -/* 8029A9E4 00297944 D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 8029A9E8 00297948 4B FF E8 6D */ bl sub_80299254 -/* 8029A9EC 0029794C FC 20 F8 90 */ fmr f1, f31 -/* 8029A9F0 00297950 7F E3 FB 78 */ mr r3, r31 -/* 8029A9F4 00297954 4B FF DB 69 */ bl sub_8029855c -/* 8029A9F8 00297958 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029A9FC 0029795C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8029AA00 00297960 41 82 01 84 */ beq lbl_8029AB84 -/* 8029AA04 00297964 C0 3F 01 30 */ lfs f1, 0x130(r31) -/* 8029AA08 00297968 7F E3 FB 78 */ mr r3, r31 -/* 8029AA0C 0029796C 4B FF E0 21 */ bl sub_80298a2c -/* 8029AA10 00297970 48 00 01 74 */ b lbl_8029AB84 -lbl_8029AA14: -/* 8029AA14 00297974 7C 83 23 78 */ mr r3, r4 -/* 8029AA18 00297978 4B DB 70 CD */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage -/* 8029AA1C 0029797C 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha -/* 8029AA20 00297980 3C 80 80 3E */ lis r4, lbl_803D9810@ha -/* 8029AA24 00297984 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l -/* 8029AA28 00297988 90 01 00 90 */ stw r0, 0x90(r1) -/* 8029AA2C 0029798C 38 04 98 10 */ addi r0, r4, lbl_803D9810@l -/* 8029AA30 00297990 90 01 00 90 */ stw r0, 0x90(r1) -/* 8029AA34 00297994 C0 03 00 04 */ lfs f0, 4(r3) -/* 8029AA38 00297998 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8029AA3C 0029799C 80 03 00 08 */ lwz r0, 8(r3) -/* 8029AA40 002979A0 90 01 00 98 */ stw r0, 0x98(r1) -/* 8029AA44 002979A4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8029AA48 002979A8 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8029AA4C 002979AC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8029AA50 002979B0 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8029AA54 002979B4 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8029AA58 002979B8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8029AA5C 002979BC C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8029AA60 002979C0 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8029AA64 002979C4 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8029AA68 002979C8 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8029AA6C 002979CC C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8029AA70 002979D0 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8029AA74 002979D4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8029AA78 002979D8 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 8029AA7C 002979DC 88 03 00 25 */ lbz r0, 0x25(r3) -/* 8029AA80 002979E0 98 01 00 B5 */ stb r0, 0xb5(r1) -/* 8029AA84 002979E4 88 03 00 26 */ lbz r0, 0x26(r3) -/* 8029AA88 002979E8 98 01 00 B6 */ stb r0, 0xb6(r1) -/* 8029AA8C 002979EC 88 03 00 27 */ lbz r0, 0x27(r3) -/* 8029AA90 002979F0 98 01 00 B7 */ stb r0, 0xb7(r1) -/* 8029AA94 002979F4 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8029AA98 002979F8 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8029AA9C 002979FC C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 8029AAA0 00297A00 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8029AAA4 00297A04 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8029AAA8 00297A08 98 01 00 C0 */ stb r0, 0xc0(r1) -/* 8029AAAC 00297A0C 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8029AAB0 00297A10 98 01 00 C1 */ stb r0, 0xc1(r1) -/* 8029AAB4 00297A14 88 03 00 32 */ lbz r0, 0x32(r3) -/* 8029AAB8 00297A18 38 61 00 90 */ addi r3, r1, 0x90 -/* 8029AABC 00297A1C 98 01 00 C2 */ stb r0, 0xc2(r1) -/* 8029AAC0 00297A20 4B D8 0F 25 */ bl GetUserInput__21CArchMsgParmUserInputCFv -/* 8029AAC4 00297A24 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029AAC8 00297A28 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8029AACC 00297A2C 80 03 00 04 */ lwz r0, 4(r3) -/* 8029AAD0 00297A30 90 01 00 64 */ stw r0, 0x64(r1) -/* 8029AAD4 00297A34 2C 00 00 00 */ cmpwi r0, 0 -/* 8029AAD8 00297A38 C0 03 00 08 */ lfs f0, 8(r3) -/* 8029AADC 00297A3C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8029AAE0 00297A40 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8029AAE4 00297A44 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8029AAE8 00297A48 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8029AAEC 00297A4C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8029AAF0 00297A50 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8029AAF4 00297A54 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8029AAF8 00297A58 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8029AAFC 00297A5C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8029AB00 00297A60 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8029AB04 00297A64 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8029AB08 00297A68 88 03 00 20 */ lbz r0, 0x20(r3) -/* 8029AB0C 00297A6C 98 01 00 80 */ stb r0, 0x80(r1) -/* 8029AB10 00297A70 88 03 00 21 */ lbz r0, 0x21(r3) -/* 8029AB14 00297A74 98 01 00 81 */ stb r0, 0x81(r1) -/* 8029AB18 00297A78 88 03 00 22 */ lbz r0, 0x22(r3) -/* 8029AB1C 00297A7C 98 01 00 82 */ stb r0, 0x82(r1) -/* 8029AB20 00297A80 88 03 00 23 */ lbz r0, 0x23(r3) -/* 8029AB24 00297A84 98 01 00 83 */ stb r0, 0x83(r1) -/* 8029AB28 00297A88 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8029AB2C 00297A8C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8029AB30 00297A90 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8029AB34 00297A94 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8029AB38 00297A98 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 8029AB3C 00297A9C 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8029AB40 00297AA0 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 8029AB44 00297AA4 98 01 00 8D */ stb r0, 0x8d(r1) -/* 8029AB48 00297AA8 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 8029AB4C 00297AAC 98 01 00 8E */ stb r0, 0x8e(r1) -/* 8029AB50 00297AB0 40 82 00 28 */ bne lbl_8029AB78 -/* 8029AB54 00297AB4 7F E3 FB 78 */ mr r3, r31 -/* 8029AB58 00297AB8 38 81 00 60 */ addi r4, r1, 0x60 -/* 8029AB5C 00297ABC 4B FF ED 09 */ bl ProcessUserInput__10CSlideShowFRC11CFinalInput -/* 8029AB60 00297AC0 7C 7B 1B 78 */ mr r27, r3 -/* 8029AB64 00297AC4 38 61 00 90 */ addi r3, r1, 0x90 -/* 8029AB68 00297AC8 38 80 FF FF */ li r4, -1 -/* 8029AB6C 00297ACC 4B D8 0E 81 */ bl __dt__21CArchMsgParmUserInputFv -/* 8029AB70 00297AD0 7F 63 DB 78 */ mr r3, r27 -/* 8029AB74 00297AD4 48 00 00 14 */ b lbl_8029AB88 -lbl_8029AB78: -/* 8029AB78 00297AD8 38 61 00 90 */ addi r3, r1, 0x90 -/* 8029AB7C 00297ADC 38 80 FF FF */ li r4, -1 -/* 8029AB80 00297AE0 4B D8 0E 6D */ bl __dt__21CArchMsgParmUserInputFv -lbl_8029AB84: -/* 8029AB84 00297AE4 38 60 00 01 */ li r3, 1 -lbl_8029AB88: -/* 8029AB88 00297AE8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8029AB8C 00297AEC CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8029AB90 00297AF0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 8029AB94 00297AF4 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8029AB98 00297AF8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 8029AB9C 00297AFC CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 8029ABA0 00297B00 BB 21 00 D4 */ lmw r25, 0xd4(r1) -/* 8029ABA4 00297B04 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8029ABA8 00297B08 7C 08 03 A6 */ mtlr r0 -/* 8029ABAC 00297B0C 38 21 01 20 */ addi r1, r1, 0x120 -/* 8029ABB0 00297B10 4E 80 00 20 */ blr - -.global sub_8029abb4 -sub_8029abb4: -/* 8029ABB4 00297B14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029ABB8 00297B18 7C 08 02 A6 */ mflr r0 -/* 8029ABBC 00297B1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029ABC0 00297B20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029ABC4 00297B24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029ABC8 00297B28 7C 7E 1B 78 */ mr r30, r3 -/* 8029ABCC 00297B2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029ABD0 00297B30 81 83 00 00 */ lwz r12, 0(r3) -/* 8029ABD4 00297B34 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029ABD8 00297B38 7D 89 03 A6 */ mtctr r12 -/* 8029ABDC 00297B3C 4E 80 04 21 */ bctrl -/* 8029ABE0 00297B40 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8029ABE4 00297B44 41 82 00 C4 */ beq lbl_8029ACA8 -/* 8029ABE8 00297B48 80 7F 00 00 */ lwz r3, 0(r31) -/* 8029ABEC 00297B4C 3C 03 BB B9 */ addis r0, r3, 0xbbb9 -/* 8029ABF0 00297B50 28 00 52 50 */ cmplwi r0, 0x5250 -/* 8029ABF4 00297B54 40 82 00 B4 */ bne lbl_8029ACA8 -/* 8029ABF8 00297B58 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8029ABFC 00297B5C 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8029AC00 00297B60 38 83 00 01 */ addi r4, r3, 1 -/* 8029AC04 00297B64 7C 04 00 00 */ cmpw r4, r0 -/* 8029AC08 00297B68 40 81 00 0C */ ble lbl_8029AC14 -/* 8029AC0C 00297B6C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8029AC10 00297B70 4B E6 FB FD */ bl sub_8010a80c -lbl_8029AC14: -/* 8029AC14 00297B74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029AC18 00297B78 7F E5 FB 78 */ mr r5, r31 -/* 8029AC1C 00297B7C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029AC20 00297B80 81 84 00 00 */ lwz r12, 0(r4) -/* 8029AC24 00297B84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029AC28 00297B88 7D 89 03 A6 */ mtctr r12 -/* 8029AC2C 00297B8C 4E 80 04 21 */ bctrl -/* 8029AC30 00297B90 38 61 00 08 */ addi r3, r1, 8 -/* 8029AC34 00297B94 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029AC38 00297B98 48 0A 62 71 */ bl __ct__6CTokenFRC6CToken -/* 8029AC3C 00297B9C 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8029AC40 00297BA0 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 8029AC44 00297BA4 7C 00 28 00 */ cmpw r0, r5 -/* 8029AC48 00297BA8 41 80 00 1C */ blt lbl_8029AC64 -/* 8029AC4C 00297BAC 2C 05 00 00 */ cmpwi r5, 0 -/* 8029AC50 00297BB0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8029AC54 00297BB4 38 80 00 04 */ li r4, 4 -/* 8029AC58 00297BB8 41 82 00 08 */ beq lbl_8029AC60 -/* 8029AC5C 00297BBC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029AC60: -/* 8029AC60 00297BC0 4B E6 FB AD */ bl sub_8010a80c -lbl_8029AC64: -/* 8029AC64 00297BC4 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8029AC68 00297BC8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8029AC6C 00297BCC 54 00 18 38 */ slwi r0, r0, 3 -/* 8029AC70 00297BD0 7C 63 02 15 */ add. r3, r3, r0 -/* 8029AC74 00297BD4 41 82 00 0C */ beq lbl_8029AC80 -/* 8029AC78 00297BD8 38 81 00 08 */ addi r4, r1, 8 -/* 8029AC7C 00297BDC 48 0A 62 2D */ bl __ct__6CTokenFRC6CToken -lbl_8029AC80: -/* 8029AC80 00297BE0 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 8029AC84 00297BE4 38 61 00 08 */ addi r3, r1, 8 -/* 8029AC88 00297BE8 38 80 00 00 */ li r4, 0 -/* 8029AC8C 00297BEC 38 05 00 01 */ addi r0, r5, 1 -/* 8029AC90 00297BF0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8029AC94 00297BF4 48 0A 61 AD */ bl __dt__6CTokenFv -/* 8029AC98 00297BF8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029AC9C 00297BFC 38 80 FF FF */ li r4, -1 -/* 8029ACA0 00297C00 48 0A 61 A1 */ bl __dt__6CTokenFv -/* 8029ACA4 00297C04 48 00 00 0C */ b lbl_8029ACB0 -lbl_8029ACA8: -/* 8029ACA8 00297C08 38 60 00 00 */ li r3, 0 -/* 8029ACAC 00297C0C 48 00 00 08 */ b lbl_8029ACB4 -lbl_8029ACB0: -/* 8029ACB0 00297C10 38 60 00 01 */ li r3, 1 -lbl_8029ACB4: -/* 8029ACB4 00297C14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029ACB8 00297C18 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029ACBC 00297C1C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029ACC0 00297C20 7C 08 03 A6 */ mtlr r0 -/* 8029ACC4 00297C24 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029ACC8 00297C28 4E 80 00 20 */ blr - -.global sub_8029accc -sub_8029accc: -/* 8029ACCC 00297C2C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8029ACD0 00297C30 7C 08 02 A6 */ mflr r0 -/* 8029ACD4 00297C34 90 01 00 84 */ stw r0, 0x84(r1) -/* 8029ACD8 00297C38 BE C1 00 58 */ stmw r22, 0x58(r1) -/* 8029ACDC 00297C3C 7C 98 23 78 */ mr r24, r4 -/* 8029ACE0 00297C40 7C 77 1B 78 */ mr r23, r3 -/* 8029ACE4 00297C44 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 8029ACE8 00297C48 38 77 00 28 */ addi r3, r23, 0x28 -/* 8029ACEC 00297C4C 3B 64 FF FF */ addi r27, r4, -1 -/* 8029ACF0 00297C50 7F 64 DB 78 */ mr r4, r27 -/* 8029ACF4 00297C54 48 00 14 F5 */ bl sub_8029c1e8 -/* 8029ACF8 00297C58 80 17 00 24 */ lwz r0, 0x24(r23) -/* 8029ACFC 00297C5C 3B 81 00 48 */ addi r28, r1, 0x48 -/* 8029AD00 00297C60 3B 40 00 00 */ li r26, 0 -/* 8029AD04 00297C64 90 01 00 30 */ stw r0, 0x30(r1) -/* 8029AD08 00297C68 48 00 02 40 */ b lbl_8029AF48 -lbl_8029AD0C: -/* 8029AD0C 00297C6C 38 00 00 01 */ li r0, 1 -/* 8029AD10 00297C70 7C 00 D0 30 */ slw r0, r0, r26 -/* 8029AD14 00297C74 7F 00 00 39 */ and. r0, r24, r0 -/* 8029AD18 00297C78 40 82 00 28 */ bne lbl_8029AD40 -/* 8029AD1C 00297C7C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8029AD20 00297C80 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029AD24 00297C84 38 97 00 18 */ addi r4, r23, 0x18 -/* 8029AD28 00297C88 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8029AD2C 00297C8C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8029AD30 00297C90 48 00 03 71 */ bl sub_8029b0a0 -/* 8029AD34 00297C94 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8029AD38 00297C98 90 01 00 30 */ stw r0, 0x30(r1) -/* 8029AD3C 00297C9C 48 00 02 08 */ b lbl_8029AF44 -lbl_8029AD40: -/* 8029AD40 00297CA0 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8029AD44 00297CA4 48 0A 60 C9 */ bl GetObj__6CTokenFv -/* 8029AD48 00297CA8 80 63 00 04 */ lwz r3, 4(r3) -/* 8029AD4C 00297CAC 38 00 00 00 */ li r0, 0 -/* 8029AD50 00297CB0 2C 00 00 00 */ cmpwi r0, 0 -/* 8029AD54 00297CB4 90 01 00 38 */ stw r0, 0x38(r1) -/* 8029AD58 00297CB8 83 C3 00 04 */ lwz r30, 4(r3) -/* 8029AD5C 00297CBC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8029AD60 00297CC0 90 01 00 40 */ stw r0, 0x40(r1) -/* 8029AD64 00297CC4 93 41 00 44 */ stw r26, 0x44(r1) -/* 8029AD68 00297CC8 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8029AD6C 00297CCC 90 01 00 50 */ stw r0, 0x50(r1) -/* 8029AD70 00297CD0 40 82 00 10 */ bne lbl_8029AD80 -/* 8029AD74 00297CD4 40 82 00 0C */ bne lbl_8029AD80 -/* 8029AD78 00297CD8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029AD7C 00297CDC 48 00 00 68 */ b lbl_8029ADE4 -lbl_8029AD80: -/* 8029AD80 00297CE0 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8029AD84 00297CE4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 8029AD88 00297CE8 40 82 00 10 */ bne lbl_8029AD98 -/* 8029AD8C 00297CEC 38 00 00 00 */ li r0, 0 -/* 8029AD90 00297CF0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029AD94 00297CF4 48 00 00 1C */ b lbl_8029ADB0 -lbl_8029AD98: -/* 8029AD98 00297CF8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029AD9C 00297CFC 38 A0 00 00 */ li r5, 0 -/* 8029ADA0 00297D00 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029ADA4 00297D04 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029ADA8 00297D08 48 07 AA 71 */ bl __nwa__FUlPCcPCc -/* 8029ADAC 00297D0C 90 61 00 54 */ stw r3, 0x54(r1) -lbl_8029ADB0: -/* 8029ADB0 00297D10 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8029ADB4 00297D14 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8029ADB8 00297D18 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8029ADBC 00297D1C 7C 09 03 A6 */ mtctr r0 -/* 8029ADC0 00297D20 2C 00 00 00 */ cmpwi r0, 0 -/* 8029ADC4 00297D24 40 81 00 20 */ ble lbl_8029ADE4 -lbl_8029ADC8: -/* 8029ADC8 00297D28 28 03 00 00 */ cmplwi r3, 0 -/* 8029ADCC 00297D2C 41 82 00 0C */ beq lbl_8029ADD8 -/* 8029ADD0 00297D30 80 04 00 00 */ lwz r0, 0(r4) -/* 8029ADD4 00297D34 90 03 00 00 */ stw r0, 0(r3) -lbl_8029ADD8: -/* 8029ADD8 00297D38 38 63 00 04 */ addi r3, r3, 4 -/* 8029ADDC 00297D3C 38 84 00 04 */ addi r4, r4, 4 -/* 8029ADE0 00297D40 42 00 FF E8 */ bdnz lbl_8029ADC8 -lbl_8029ADE4: -/* 8029ADE4 00297D44 38 77 00 28 */ addi r3, r23, 0x28 -/* 8029ADE8 00297D48 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029ADEC 00297D4C 48 00 01 95 */ bl sub_8029af80 -/* 8029ADF0 00297D50 28 1C 00 00 */ cmplwi r28, 0 -/* 8029ADF4 00297D54 41 82 00 44 */ beq lbl_8029AE38 -/* 8029ADF8 00297D58 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8029ADFC 00297D5C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8029AE00 00297D60 54 00 10 3A */ slwi r0, r0, 2 -/* 8029AE04 00297D64 7C 03 02 14 */ add r0, r3, r0 -/* 8029AE08 00297D68 90 61 00 0C */ stw r3, 0xc(r1) -/* 8029AE0C 00297D6C 7C 64 1B 78 */ mr r4, r3 -/* 8029AE10 00297D70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029AE14 00297D74 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029AE18 00297D78 90 61 00 08 */ stw r3, 8(r1) -/* 8029AE1C 00297D7C 48 00 00 08 */ b lbl_8029AE24 -lbl_8029AE20: -/* 8029AE20 00297D80 38 84 00 04 */ addi r4, r4, 4 -lbl_8029AE24: -/* 8029AE24 00297D84 7C 04 00 40 */ cmplw r4, r0 -/* 8029AE28 00297D88 40 82 FF F8 */ bne lbl_8029AE20 -/* 8029AE2C 00297D8C 28 03 00 00 */ cmplwi r3, 0 -/* 8029AE30 00297D90 41 82 00 08 */ beq lbl_8029AE38 -/* 8029AE34 00297D94 48 07 AA FD */ bl Free__7CMemoryFPCv -lbl_8029AE38: -/* 8029AE38 00297D98 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8029AE3C 00297D9C 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8029AE40 00297DA0 54 00 10 3A */ slwi r0, r0, 2 -/* 8029AE44 00297DA4 7C 03 02 14 */ add r0, r3, r0 -/* 8029AE48 00297DA8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8029AE4C 00297DAC 7C 64 1B 78 */ mr r4, r3 -/* 8029AE50 00297DB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029AE54 00297DB4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8029AE58 00297DB8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8029AE5C 00297DBC 48 00 00 08 */ b lbl_8029AE64 -lbl_8029AE60: -/* 8029AE60 00297DC0 38 84 00 04 */ addi r4, r4, 4 -lbl_8029AE64: -/* 8029AE64 00297DC4 7C 04 00 40 */ cmplw r4, r0 -/* 8029AE68 00297DC8 40 82 FF F8 */ bne lbl_8029AE60 -/* 8029AE6C 00297DCC 28 03 00 00 */ cmplwi r3, 0 -/* 8029AE70 00297DD0 41 82 00 08 */ beq lbl_8029AE78 -/* 8029AE74 00297DD4 48 07 AA BD */ bl Free__7CMemoryFPCv -lbl_8029AE78: -/* 8029AE78 00297DD8 80 77 00 2C */ lwz r3, 0x2c(r23) -/* 8029AE7C 00297DDC 7F C4 F3 78 */ mr r4, r30 -/* 8029AE80 00297DE0 80 B7 00 34 */ lwz r5, 0x34(r23) -/* 8029AE84 00297DE4 38 03 FF FF */ addi r0, r3, -1 -/* 8029AE88 00297DE8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029AE8C 00297DEC 7F A5 02 14 */ add r29, r5, r0 -/* 8029AE90 00297DF0 38 7D 00 04 */ addi r3, r29, 4 -/* 8029AE94 00297DF4 48 00 12 65 */ bl sub_8029c0f8 -/* 8029AE98 00297DF8 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029AE9C 00297DFC 3B 20 00 00 */ li r25, 0 -/* 8029AEA0 00297E00 3B E3 5C 48 */ addi r31, r3, lbl_803D5C48@l -/* 8029AEA4 00297E04 48 00 00 8C */ b lbl_8029AF30 -lbl_8029AEA8: -/* 8029AEA8 00297E08 7F E4 FB 78 */ mr r4, r31 -/* 8029AEAC 00297E0C 7F 45 D3 78 */ mr r5, r26 -/* 8029AEB0 00297E10 7F 26 CB 78 */ mr r6, r25 -/* 8029AEB4 00297E14 38 7F 00 EE */ addi r3, r31, 0xee -/* 8029AEB8 00297E18 4C C6 31 82 */ crclr 6 -/* 8029AEBC 00297E1C 48 03 B2 F5 */ bl Stringize__7CBasicsFPCce -/* 8029AEC0 00297E20 7C 60 1B 78 */ mr r0, r3 -/* 8029AEC4 00297E24 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029AEC8 00297E28 7C 04 03 78 */ mr r4, r0 -/* 8029AECC 00297E2C 81 83 00 00 */ lwz r12, 0(r3) -/* 8029AED0 00297E30 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029AED4 00297E34 7D 89 03 A6 */ mtctr r12 -/* 8029AED8 00297E38 4E 80 04 21 */ bctrl -/* 8029AEDC 00297E3C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029AEE0 00297E40 7C 76 1B 78 */ mr r22, r3 -/* 8029AEE4 00297E44 80 BD 00 0C */ lwz r5, 0xc(r29) -/* 8029AEE8 00297E48 7C 00 28 00 */ cmpw r0, r5 -/* 8029AEEC 00297E4C 41 80 00 1C */ blt lbl_8029AF08 -/* 8029AEF0 00297E50 2C 05 00 00 */ cmpwi r5, 0 -/* 8029AEF4 00297E54 38 7D 00 04 */ addi r3, r29, 4 -/* 8029AEF8 00297E58 38 80 00 04 */ li r4, 4 -/* 8029AEFC 00297E5C 41 82 00 08 */ beq lbl_8029AF04 -/* 8029AF00 00297E60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029AF04: -/* 8029AF04 00297E64 48 00 11 F5 */ bl sub_8029c0f8 -lbl_8029AF08: -/* 8029AF08 00297E68 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029AF0C 00297E6C 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8029AF10 00297E70 54 00 10 3A */ slwi r0, r0, 2 -/* 8029AF14 00297E74 7C 63 02 15 */ add. r3, r3, r0 -/* 8029AF18 00297E78 41 82 00 08 */ beq lbl_8029AF20 -/* 8029AF1C 00297E7C 92 C3 00 00 */ stw r22, 0(r3) -lbl_8029AF20: -/* 8029AF20 00297E80 80 7D 00 08 */ lwz r3, 8(r29) -/* 8029AF24 00297E84 3B 39 00 01 */ addi r25, r25, 1 -/* 8029AF28 00297E88 38 03 00 01 */ addi r0, r3, 1 -/* 8029AF2C 00297E8C 90 1D 00 08 */ stw r0, 8(r29) -lbl_8029AF30: -/* 8029AF30 00297E90 7C 19 F0 00 */ cmpw r25, r30 -/* 8029AF34 00297E94 41 80 FF 74 */ blt lbl_8029AEA8 -/* 8029AF38 00297E98 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8029AF3C 00297E9C 38 03 00 08 */ addi r0, r3, 8 -/* 8029AF40 00297EA0 90 01 00 30 */ stw r0, 0x30(r1) -lbl_8029AF44: -/* 8029AF44 00297EA4 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8029AF48: -/* 8029AF48 00297EA8 80 17 00 1C */ lwz r0, 0x1c(r23) -/* 8029AF4C 00297EAC 80 77 00 24 */ lwz r3, 0x24(r23) -/* 8029AF50 00297EB0 54 00 18 38 */ slwi r0, r0, 3 -/* 8029AF54 00297EB4 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8029AF58 00297EB8 7C 03 02 14 */ add r0, r3, r0 -/* 8029AF5C 00297EBC 7C 04 00 40 */ cmplw r4, r0 -/* 8029AF60 00297EC0 41 82 00 0C */ beq lbl_8029AF6C -/* 8029AF64 00297EC4 7C 1A D8 00 */ cmpw r26, r27 -/* 8029AF68 00297EC8 41 80 FD A4 */ blt lbl_8029AD0C -lbl_8029AF6C: -/* 8029AF6C 00297ECC BA C1 00 58 */ lmw r22, 0x58(r1) -/* 8029AF70 00297ED0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8029AF74 00297ED4 7C 08 03 A6 */ mtlr r0 -/* 8029AF78 00297ED8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8029AF7C 00297EDC 4E 80 00 20 */ blr - -.global sub_8029af80 -sub_8029af80: -/* 8029AF80 00297EE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029AF84 00297EE4 7C 08 02 A6 */ mflr r0 -/* 8029AF88 00297EE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029AF8C 00297EEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029AF90 00297EF0 7C 9F 23 78 */ mr r31, r4 -/* 8029AF94 00297EF4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029AF98 00297EF8 7C 7E 1B 78 */ mr r30, r3 -/* 8029AF9C 00297EFC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029AFA0 00297F00 80 03 00 04 */ lwz r0, 4(r3) -/* 8029AFA4 00297F04 80 A3 00 08 */ lwz r5, 8(r3) -/* 8029AFA8 00297F08 7C 00 28 00 */ cmpw r0, r5 -/* 8029AFAC 00297F0C 41 80 00 18 */ blt lbl_8029AFC4 -/* 8029AFB0 00297F10 2C 05 00 00 */ cmpwi r5, 0 -/* 8029AFB4 00297F14 38 80 00 04 */ li r4, 4 -/* 8029AFB8 00297F18 41 82 00 08 */ beq lbl_8029AFC0 -/* 8029AFBC 00297F1C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029AFC0: -/* 8029AFC0 00297F20 48 00 12 29 */ bl sub_8029c1e8 -lbl_8029AFC4: -/* 8029AFC4 00297F24 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029AFC8 00297F28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8029AFCC 00297F2C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029AFD0 00297F30 7F A3 02 15 */ add. r29, r3, r0 -/* 8029AFD4 00297F34 41 82 00 A4 */ beq lbl_8029B078 -/* 8029AFD8 00297F38 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029AFDC 00297F3C 90 1D 00 00 */ stw r0, 0(r29) -/* 8029AFE0 00297F40 80 1F 00 08 */ lwz r0, 8(r31) -/* 8029AFE4 00297F44 90 1D 00 08 */ stw r0, 8(r29) -/* 8029AFE8 00297F48 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8029AFEC 00297F4C 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8029AFF0 00297F50 80 1F 00 08 */ lwz r0, 8(r31) -/* 8029AFF4 00297F54 2C 00 00 00 */ cmpwi r0, 0 -/* 8029AFF8 00297F58 40 82 00 1C */ bne lbl_8029B014 -/* 8029AFFC 00297F5C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8029B000 00297F60 2C 00 00 00 */ cmpwi r0, 0 -/* 8029B004 00297F64 40 82 00 10 */ bne lbl_8029B014 -/* 8029B008 00297F68 38 00 00 00 */ li r0, 0 -/* 8029B00C 00297F6C 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8029B010 00297F70 48 00 00 68 */ b lbl_8029B078 -lbl_8029B014: -/* 8029B014 00297F74 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8029B018 00297F78 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 8029B01C 00297F7C 40 82 00 10 */ bne lbl_8029B02C -/* 8029B020 00297F80 38 00 00 00 */ li r0, 0 -/* 8029B024 00297F84 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8029B028 00297F88 48 00 00 1C */ b lbl_8029B044 -lbl_8029B02C: -/* 8029B02C 00297F8C 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029B030 00297F90 38 A0 00 00 */ li r5, 0 -/* 8029B034 00297F94 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029B038 00297F98 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029B03C 00297F9C 48 07 A7 DD */ bl __nwa__FUlPCcPCc -/* 8029B040 00297FA0 90 7D 00 10 */ stw r3, 0x10(r29) -lbl_8029B044: -/* 8029B044 00297FA4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029B048 00297FA8 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8029B04C 00297FAC 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8029B050 00297FB0 7C 09 03 A6 */ mtctr r0 -/* 8029B054 00297FB4 2C 00 00 00 */ cmpwi r0, 0 -/* 8029B058 00297FB8 40 81 00 20 */ ble lbl_8029B078 -lbl_8029B05C: -/* 8029B05C 00297FBC 28 03 00 00 */ cmplwi r3, 0 -/* 8029B060 00297FC0 41 82 00 0C */ beq lbl_8029B06C -/* 8029B064 00297FC4 80 04 00 00 */ lwz r0, 0(r4) -/* 8029B068 00297FC8 90 03 00 00 */ stw r0, 0(r3) -lbl_8029B06C: -/* 8029B06C 00297FCC 38 63 00 04 */ addi r3, r3, 4 -/* 8029B070 00297FD0 38 84 00 04 */ addi r4, r4, 4 -/* 8029B074 00297FD4 42 00 FF E8 */ bdnz lbl_8029B05C -lbl_8029B078: -/* 8029B078 00297FD8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8029B07C 00297FDC 38 03 00 01 */ addi r0, r3, 1 -/* 8029B080 00297FE0 90 1E 00 04 */ stw r0, 4(r30) -/* 8029B084 00297FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029B088 00297FE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029B08C 00297FEC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029B090 00297FF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029B094 00297FF4 7C 08 03 A6 */ mtlr r0 -/* 8029B098 00297FF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029B09C 00297FFC 4E 80 00 20 */ blr - -.global sub_8029b0a0 -sub_8029b0a0: -/* 8029B0A0 00298000 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029B0A4 00298004 7C 08 02 A6 */ mflr r0 -/* 8029B0A8 00298008 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029B0AC 0029800C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029B0B0 00298010 7C 7F 1B 78 */ mr r31, r3 -/* 8029B0B4 00298014 80 C5 00 00 */ lwz r6, 0(r5) -/* 8029B0B8 00298018 80 05 00 00 */ lwz r0, 0(r5) -/* 8029B0BC 0029801C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8029B0C0 00298020 38 E6 00 08 */ addi r7, r6, 8 -/* 8029B0C4 00298024 38 C1 00 0C */ addi r6, r1, 0xc -/* 8029B0C8 00298028 90 E1 00 08 */ stw r7, 8(r1) -/* 8029B0CC 0029802C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8029B0D0 00298030 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029B0D4 00298034 48 00 00 19 */ bl sub_8029b0ec -/* 8029B0D8 00298038 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029B0DC 0029803C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029B0E0 00298040 7C 08 03 A6 */ mtlr r0 -/* 8029B0E4 00298044 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029B0E8 00298048 4E 80 00 20 */ blr - -.global sub_8029b0ec -sub_8029b0ec: -/* 8029B0EC 0029804C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029B0F0 00298050 7C 08 02 A6 */ mflr r0 -/* 8029B0F4 00298054 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029B0F8 00298058 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8029B0FC 0029805C 7C BF 2B 78 */ mr r31, r5 -/* 8029B100 00298060 7C DA 33 78 */ mr r26, r6 -/* 8029B104 00298064 7C 7D 1B 78 */ mr r29, r3 -/* 8029B108 00298068 7C 9E 23 78 */ mr r30, r4 -/* 8029B10C 0029806C 83 65 00 00 */ lwz r27, 0(r5) -/* 8029B110 00298070 83 86 00 00 */ lwz r28, 0(r6) -/* 8029B114 00298074 93 61 00 0C */ stw r27, 0xc(r1) -/* 8029B118 00298078 93 81 00 08 */ stw r28, 8(r1) -/* 8029B11C 0029807C 48 00 00 1C */ b lbl_8029B138 -lbl_8029B120: -/* 8029B120 00298080 28 1B 00 00 */ cmplwi r27, 0 -/* 8029B124 00298084 41 82 00 10 */ beq lbl_8029B134 -/* 8029B128 00298088 7F 63 DB 78 */ mr r3, r27 -/* 8029B12C 0029808C 38 80 00 00 */ li r4, 0 -/* 8029B130 00298090 48 0A 5D 11 */ bl __dt__6CTokenFv -lbl_8029B134: -/* 8029B134 00298094 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8029B138: -/* 8029B138 00298098 7C 1B E0 40 */ cmplw r27, r28 -/* 8029B13C 0029809C 40 82 FF E4 */ bne lbl_8029B120 -/* 8029B140 002980A0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8029B144 002980A4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029B148 002980A8 83 7A 00 00 */ lwz r27, 0(r26) -/* 8029B14C 002980AC 7C 04 00 50 */ subf r0, r4, r0 -/* 8029B150 002980B0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8029B154 002980B4 7C 60 01 94 */ addze r3, r0 -/* 8029B158 002980B8 54 60 18 38 */ slwi r0, r3, 3 -/* 8029B15C 002980BC 7C 7A 1B 78 */ mr r26, r3 -/* 8029B160 002980C0 7F 84 02 14 */ add r28, r4, r0 -/* 8029B164 002980C4 48 00 00 38 */ b lbl_8029B19C -lbl_8029B168: -/* 8029B168 002980C8 28 1C 00 00 */ cmplwi r28, 0 -/* 8029B16C 002980CC 41 82 00 10 */ beq lbl_8029B17C -/* 8029B170 002980D0 7F 83 E3 78 */ mr r3, r28 -/* 8029B174 002980D4 7F 64 DB 78 */ mr r4, r27 -/* 8029B178 002980D8 48 0A 5D 31 */ bl __ct__6CTokenFRC6CToken -lbl_8029B17C: -/* 8029B17C 002980DC 28 1B 00 00 */ cmplwi r27, 0 -/* 8029B180 002980E0 41 82 00 10 */ beq lbl_8029B190 -/* 8029B184 002980E4 7F 63 DB 78 */ mr r3, r27 -/* 8029B188 002980E8 38 80 00 00 */ li r4, 0 -/* 8029B18C 002980EC 48 0A 5C B5 */ bl __dt__6CTokenFv -lbl_8029B190: -/* 8029B190 002980F0 3B 9C 00 08 */ addi r28, r28, 8 -/* 8029B194 002980F4 3B 5A 00 01 */ addi r26, r26, 1 -/* 8029B198 002980F8 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8029B19C: -/* 8029B19C 002980FC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029B1A0 00298100 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8029B1A4 00298104 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B1A8 00298108 7C 03 02 14 */ add r0, r3, r0 -/* 8029B1AC 0029810C 7C 1B 00 40 */ cmplw r27, r0 -/* 8029B1B0 00298110 40 82 FF B8 */ bne lbl_8029B168 -/* 8029B1B4 00298114 93 5E 00 04 */ stw r26, 4(r30) -/* 8029B1B8 00298118 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029B1BC 0029811C 90 1D 00 00 */ stw r0, 0(r29) -/* 8029B1C0 00298120 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8029B1C4 00298124 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029B1C8 00298128 7C 08 03 A6 */ mtlr r0 -/* 8029B1CC 0029812C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029B1D0 00298130 4E 80 00 20 */ blr - -.global SlideShowGalleryFlags__10CSlideShowFv -SlideShowGalleryFlags__10CSlideShowFv: -/* 8029B1D4 00298134 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029B1D8 00298138 7C 08 02 A6 */ mflr r0 -/* 8029B1DC 0029813C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029B1E0 00298140 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029B1E4 00298144 3B E0 00 00 */ li r31, 0 -/* 8029B1E8 00298148 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8029B1EC 0029814C 28 03 00 00 */ cmplwi r3, 0 -/* 8029B1F0 00298150 41 82 00 48 */ beq lbl_8029B238 -/* 8029B1F4 00298154 38 63 00 A8 */ addi r3, r3, 0xa8 -/* 8029B1F8 00298158 4B F3 A0 11 */ bl GetLogScanCount__14CSystemOptionsFv -/* 8029B1FC 0029815C 2C 03 00 32 */ cmpwi r3, 0x32 -/* 8029B200 00298160 41 80 00 08 */ blt lbl_8029B208 -/* 8029B204 00298164 63 FF 00 01 */ ori r31, r31, 1 -lbl_8029B208: -/* 8029B208 00298168 2C 03 00 64 */ cmpwi r3, 0x64 -/* 8029B20C 0029816C 40 82 00 08 */ bne lbl_8029B214 -/* 8029B210 00298170 63 FF 00 02 */ ori r31, r31, 2 -lbl_8029B214: -/* 8029B214 00298174 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 8029B218 00298178 88 03 01 78 */ lbz r0, 0x178(r3) -/* 8029B21C 0029817C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8029B220 00298180 41 82 00 08 */ beq lbl_8029B228 -/* 8029B224 00298184 63 FF 00 04 */ ori r31, r31, 4 -lbl_8029B228: -/* 8029B228 00298188 88 03 01 78 */ lbz r0, 0x178(r3) -/* 8029B22C 0029818C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8029B230 00298190 41 82 00 08 */ beq lbl_8029B238 -/* 8029B234 00298194 63 FF 00 08 */ ori r31, r31, 8 -lbl_8029B238: -/* 8029B238 00298198 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029B23C 0029819C 7F E3 FB 78 */ mr r3, r31 -/* 8029B240 002981A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029B244 002981A4 7C 08 03 A6 */ mtlr r0 -/* 8029B248 002981A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029B24C 002981AC 4E 80 00 20 */ blr - -.global __dt__10CSlideShowFv -__dt__10CSlideShowFv: -/* 8029B250 002981B0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8029B254 002981B4 7C 08 02 A6 */ mflr r0 -/* 8029B258 002981B8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8029B25C 002981BC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8029B260 002981C0 7C 9F 23 78 */ mr r31, r4 -/* 8029B264 002981C4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8029B268 002981C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029B26C 002981CC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8029B270 002981D0 93 81 00 50 */ stw r28, 0x50(r1) -/* 8029B274 002981D4 41 82 02 8C */ beq lbl_8029B500 -/* 8029B278 002981D8 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha -/* 8029B27C 002981DC 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l -/* 8029B280 002981E0 90 1E 00 00 */ stw r0, 0(r30) -/* 8029B284 002981E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029B288 002981E8 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 8029B28C 002981EC 38 63 00 04 */ addi r3, r3, 4 -/* 8029B290 002981F0 38 84 00 04 */ addi r4, r4, 4 -/* 8029B294 002981F4 48 0A 01 89 */ bl sub_8033b41c -/* 8029B298 002981F8 34 1E 01 18 */ addic. r0, r30, 0x118 -/* 8029B29C 002981FC 41 82 00 50 */ beq lbl_8029B2EC -/* 8029B2A0 00298200 80 1E 01 1C */ lwz r0, 0x11c(r30) -/* 8029B2A4 00298204 83 9E 01 24 */ lwz r28, 0x124(r30) -/* 8029B2A8 00298208 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B2AC 0029820C 7F BC 02 14 */ add r29, r28, r0 -/* 8029B2B0 00298210 93 81 00 3C */ stw r28, 0x3c(r1) -/* 8029B2B4 00298214 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8029B2B8 00298218 93 A1 00 40 */ stw r29, 0x40(r1) -/* 8029B2BC 0029821C 93 81 00 38 */ stw r28, 0x38(r1) -/* 8029B2C0 00298220 48 00 00 14 */ b lbl_8029B2D4 -lbl_8029B2C4: -/* 8029B2C4 00298224 7F 83 E3 78 */ mr r3, r28 -/* 8029B2C8 00298228 38 80 FF FF */ li r4, -1 -/* 8029B2CC 0029822C 48 0A 5B 75 */ bl __dt__6CTokenFv -/* 8029B2D0 00298230 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8029B2D4: -/* 8029B2D4 00298234 7C 1C E8 40 */ cmplw r28, r29 -/* 8029B2D8 00298238 40 82 FF EC */ bne lbl_8029B2C4 -/* 8029B2DC 0029823C 80 7E 01 24 */ lwz r3, 0x124(r30) -/* 8029B2E0 00298240 28 03 00 00 */ cmplwi r3, 0 -/* 8029B2E4 00298244 41 82 00 08 */ beq lbl_8029B2EC -/* 8029B2E8 00298248 48 07 A6 49 */ bl Free__7CMemoryFPCv -lbl_8029B2EC: -/* 8029B2EC 0029824C 34 1E 01 08 */ addic. r0, r30, 0x108 -/* 8029B2F0 00298250 41 82 00 50 */ beq lbl_8029B340 -/* 8029B2F4 00298254 80 1E 01 0C */ lwz r0, 0x10c(r30) -/* 8029B2F8 00298258 83 9E 01 14 */ lwz r28, 0x114(r30) -/* 8029B2FC 0029825C 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B300 00298260 7F BC 02 14 */ add r29, r28, r0 -/* 8029B304 00298264 93 81 00 2C */ stw r28, 0x2c(r1) -/* 8029B308 00298268 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8029B30C 0029826C 93 A1 00 30 */ stw r29, 0x30(r1) -/* 8029B310 00298270 93 81 00 28 */ stw r28, 0x28(r1) -/* 8029B314 00298274 48 00 00 14 */ b lbl_8029B328 -lbl_8029B318: -/* 8029B318 00298278 7F 83 E3 78 */ mr r3, r28 -/* 8029B31C 0029827C 38 80 FF FF */ li r4, -1 -/* 8029B320 00298280 48 0A 5B 21 */ bl __dt__6CTokenFv -/* 8029B324 00298284 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8029B328: -/* 8029B328 00298288 7C 1C E8 40 */ cmplw r28, r29 -/* 8029B32C 0029828C 40 82 FF EC */ bne lbl_8029B318 -/* 8029B330 00298290 80 7E 01 14 */ lwz r3, 0x114(r30) -/* 8029B334 00298294 28 03 00 00 */ cmplwi r3, 0 -/* 8029B338 00298298 41 82 00 08 */ beq lbl_8029B340 -/* 8029B33C 0029829C 48 07 A5 F5 */ bl Free__7CMemoryFPCv -lbl_8029B340: -/* 8029B340 002982A0 34 1E 00 F8 */ addic. r0, r30, 0xf8 -/* 8029B344 002982A4 41 82 00 50 */ beq lbl_8029B394 -/* 8029B348 002982A8 80 1E 00 FC */ lwz r0, 0xfc(r30) -/* 8029B34C 002982AC 83 9E 01 04 */ lwz r28, 0x104(r30) -/* 8029B350 002982B0 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B354 002982B4 7F BC 02 14 */ add r29, r28, r0 -/* 8029B358 002982B8 93 81 00 1C */ stw r28, 0x1c(r1) -/* 8029B35C 002982BC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8029B360 002982C0 93 A1 00 20 */ stw r29, 0x20(r1) -/* 8029B364 002982C4 93 81 00 18 */ stw r28, 0x18(r1) -/* 8029B368 002982C8 48 00 00 14 */ b lbl_8029B37C -lbl_8029B36C: -/* 8029B36C 002982CC 7F 83 E3 78 */ mr r3, r28 -/* 8029B370 002982D0 38 80 FF FF */ li r4, -1 -/* 8029B374 002982D4 48 0A 5A CD */ bl __dt__6CTokenFv -/* 8029B378 002982D8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8029B37C: -/* 8029B37C 002982DC 7C 1C E8 40 */ cmplw r28, r29 -/* 8029B380 002982E0 40 82 FF EC */ bne lbl_8029B36C -/* 8029B384 002982E4 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 8029B388 002982E8 28 03 00 00 */ cmplwi r3, 0 -/* 8029B38C 002982EC 41 82 00 08 */ beq lbl_8029B394 -/* 8029B390 002982F0 48 07 A5 A1 */ bl Free__7CMemoryFPCv -lbl_8029B394: -/* 8029B394 002982F4 38 7E 00 D0 */ addi r3, r30, 0xd0 -/* 8029B398 002982F8 38 80 FF FF */ li r4, -1 -/* 8029B39C 002982FC 48 00 02 D1 */ bl sub_8029b66c -/* 8029B3A0 00298300 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 8029B3A4 00298304 41 82 00 10 */ beq lbl_8029B3B4 -/* 8029B3A8 00298308 80 7E 00 CC */ lwz r3, 0xcc(r30) -/* 8029B3AC 0029830C 38 80 00 01 */ li r4, 1 -/* 8029B3B0 00298310 48 0D 0D A9 */ bl __dt__18CStaticAudioPlayer -lbl_8029B3B4: -/* 8029B3B4 00298314 34 1E 00 C8 */ addic. r0, r30, 0xc8 -/* 8029B3B8 00298318 41 82 00 10 */ beq lbl_8029B3C8 -/* 8029B3BC 0029831C 80 7E 00 C8 */ lwz r3, 0xc8(r30) -/* 8029B3C0 00298320 38 80 00 01 */ li r4, 1 -/* 8029B3C4 00298324 48 02 E8 D5 */ bl __dt__15CGuiTextSupportFv -lbl_8029B3C8: -/* 8029B3C8 00298328 34 1E 00 C4 */ addic. r0, r30, 0xc4 -/* 8029B3CC 0029832C 41 82 00 10 */ beq lbl_8029B3DC -/* 8029B3D0 00298330 80 7E 00 C4 */ lwz r3, 0xc4(r30) -/* 8029B3D4 00298334 38 80 00 01 */ li r4, 1 -/* 8029B3D8 00298338 48 02 E8 C1 */ bl __dt__15CGuiTextSupportFv -lbl_8029B3DC: -/* 8029B3DC 0029833C 34 1E 00 90 */ addic. r0, r30, 0x90 -/* 8029B3E0 00298340 41 82 00 38 */ beq lbl_8029B418 -/* 8029B3E4 00298344 34 1E 00 9C */ addic. r0, r30, 0x9c -/* 8029B3E8 00298348 41 82 00 30 */ beq lbl_8029B418 -/* 8029B3EC 0029834C 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 8029B3F0 00298350 28 00 00 00 */ cmplwi r0, 0 -/* 8029B3F4 00298354 41 82 00 24 */ beq lbl_8029B418 -/* 8029B3F8 00298358 83 BE 00 A0 */ lwz r29, 0xa0(r30) -/* 8029B3FC 0029835C 28 1D 00 00 */ cmplwi r29, 0 -/* 8029B400 00298360 41 82 00 18 */ beq lbl_8029B418 -/* 8029B404 00298364 7F A3 EB 78 */ mr r3, r29 -/* 8029B408 00298368 38 80 00 00 */ li r4, 0 -/* 8029B40C 0029836C 48 0A 5A 35 */ bl __dt__6CTokenFv -/* 8029B410 00298370 7F A3 EB 78 */ mr r3, r29 -/* 8029B414 00298374 48 07 A5 1D */ bl Free__7CMemoryFPCv -lbl_8029B418: -/* 8029B418 00298378 34 1E 00 5C */ addic. r0, r30, 0x5c -/* 8029B41C 0029837C 41 82 00 38 */ beq lbl_8029B454 -/* 8029B420 00298380 34 1E 00 68 */ addic. r0, r30, 0x68 -/* 8029B424 00298384 41 82 00 30 */ beq lbl_8029B454 -/* 8029B428 00298388 88 1E 00 68 */ lbz r0, 0x68(r30) -/* 8029B42C 0029838C 28 00 00 00 */ cmplwi r0, 0 -/* 8029B430 00298390 41 82 00 24 */ beq lbl_8029B454 -/* 8029B434 00298394 83 BE 00 6C */ lwz r29, 0x6c(r30) -/* 8029B438 00298398 28 1D 00 00 */ cmplwi r29, 0 -/* 8029B43C 0029839C 41 82 00 18 */ beq lbl_8029B454 -/* 8029B440 002983A0 7F A3 EB 78 */ mr r3, r29 -/* 8029B444 002983A4 38 80 00 00 */ li r4, 0 -/* 8029B448 002983A8 48 0A 59 F9 */ bl __dt__6CTokenFv -/* 8029B44C 002983AC 7F A3 EB 78 */ mr r3, r29 -/* 8029B450 002983B0 48 07 A4 E1 */ bl Free__7CMemoryFPCv -lbl_8029B454: -/* 8029B454 002983B4 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 8029B458 002983B8 41 82 00 24 */ beq lbl_8029B47C -/* 8029B45C 002983BC 83 BE 00 38 */ lwz r29, 0x38(r30) -/* 8029B460 002983C0 28 1D 00 00 */ cmplwi r29, 0 -/* 8029B464 002983C4 41 82 00 18 */ beq lbl_8029B47C -/* 8029B468 002983C8 7F A3 EB 78 */ mr r3, r29 -/* 8029B46C 002983CC 38 80 00 00 */ li r4, 0 -/* 8029B470 002983D0 48 0A 59 D1 */ bl __dt__6CTokenFv -/* 8029B474 002983D4 7F A3 EB 78 */ mr r3, r29 -/* 8029B478 002983D8 48 07 A4 B9 */ bl Free__7CMemoryFPCv -lbl_8029B47C: -/* 8029B47C 002983DC 38 7E 00 28 */ addi r3, r30, 0x28 -/* 8029B480 002983E0 38 80 FF FF */ li r4, -1 -/* 8029B484 002983E4 48 00 00 A1 */ bl sub_8029b524 -/* 8029B488 002983E8 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8029B48C 002983EC 41 82 00 58 */ beq lbl_8029B4E4 -/* 8029B490 002983F0 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8029B494 002983F4 83 9E 00 24 */ lwz r28, 0x24(r30) -/* 8029B498 002983F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B49C 002983FC 7F BC 02 14 */ add r29, r28, r0 -/* 8029B4A0 00298400 93 81 00 0C */ stw r28, 0xc(r1) -/* 8029B4A4 00298404 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029B4A8 00298408 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8029B4AC 0029840C 93 81 00 08 */ stw r28, 8(r1) -/* 8029B4B0 00298410 48 00 00 1C */ b lbl_8029B4CC -lbl_8029B4B4: -/* 8029B4B4 00298414 28 1C 00 00 */ cmplwi r28, 0 -/* 8029B4B8 00298418 41 82 00 10 */ beq lbl_8029B4C8 -/* 8029B4BC 0029841C 7F 83 E3 78 */ mr r3, r28 -/* 8029B4C0 00298420 38 80 00 00 */ li r4, 0 -/* 8029B4C4 00298424 48 0A 59 7D */ bl __dt__6CTokenFv -lbl_8029B4C8: -/* 8029B4C8 00298428 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8029B4CC: -/* 8029B4CC 0029842C 7C 1C E8 40 */ cmplw r28, r29 -/* 8029B4D0 00298430 40 82 FF E4 */ bne lbl_8029B4B4 -/* 8029B4D4 00298434 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8029B4D8 00298438 28 03 00 00 */ cmplwi r3, 0 -/* 8029B4DC 0029843C 41 82 00 08 */ beq lbl_8029B4E4 -/* 8029B4E0 00298440 48 07 A4 51 */ bl Free__7CMemoryFPCv -lbl_8029B4E4: -/* 8029B4E4 00298444 7F C3 F3 78 */ mr r3, r30 -/* 8029B4E8 00298448 38 80 00 00 */ li r4, 0 -/* 8029B4EC 0029844C 4B DB 76 B9 */ bl __dt__6CIOWinFv -/* 8029B4F0 00298450 7F E0 07 35 */ extsh. r0, r31 -/* 8029B4F4 00298454 40 81 00 0C */ ble lbl_8029B500 -/* 8029B4F8 00298458 7F C3 F3 78 */ mr r3, r30 -/* 8029B4FC 0029845C 48 07 A4 35 */ bl Free__7CMemoryFPCv -lbl_8029B500: -/* 8029B500 00298460 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8029B504 00298464 7F C3 F3 78 */ mr r3, r30 -/* 8029B508 00298468 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8029B50C 0029846C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8029B510 00298470 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8029B514 00298474 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8029B518 00298478 7C 08 03 A6 */ mtlr r0 -/* 8029B51C 0029847C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8029B520 00298480 4E 80 00 20 */ blr - -.global sub_8029b524 -sub_8029b524: -/* 8029B524 00298484 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029B528 00298488 7C 08 02 A6 */ mflr r0 -/* 8029B52C 0029848C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029B530 00298490 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029B534 00298494 7C 9F 23 78 */ mr r31, r4 -/* 8029B538 00298498 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029B53C 0029849C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029B540 002984A0 41 82 00 54 */ beq lbl_8029B594 -/* 8029B544 002984A4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029B548 002984A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029B54C 002984AC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8029B550 002984B0 38 81 00 0C */ addi r4, r1, 0xc -/* 8029B554 002984B4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029B558 002984B8 7C A5 02 14 */ add r5, r5, r0 -/* 8029B55C 002984BC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8029B560 002984C0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8029B564 002984C4 90 A1 00 08 */ stw r5, 8(r1) -/* 8029B568 002984C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029B56C 002984CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029B570 002984D0 48 00 00 41 */ bl sub_8029b5b0 -/* 8029B574 002984D4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8029B578 002984D8 28 03 00 00 */ cmplwi r3, 0 -/* 8029B57C 002984DC 41 82 00 08 */ beq lbl_8029B584 -/* 8029B580 002984E0 48 07 A3 B1 */ bl Free__7CMemoryFPCv -lbl_8029B584: -/* 8029B584 002984E4 7F E0 07 35 */ extsh. r0, r31 -/* 8029B588 002984E8 40 81 00 0C */ ble lbl_8029B594 -/* 8029B58C 002984EC 7F C3 F3 78 */ mr r3, r30 -/* 8029B590 002984F0 48 07 A3 A1 */ bl Free__7CMemoryFPCv -lbl_8029B594: -/* 8029B594 002984F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029B598 002984F8 7F C3 F3 78 */ mr r3, r30 -/* 8029B59C 002984FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029B5A0 00298500 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029B5A4 00298504 7C 08 03 A6 */ mtlr r0 -/* 8029B5A8 00298508 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029B5AC 0029850C 4E 80 00 20 */ blr - -.global sub_8029b5b0 -sub_8029b5b0: -/* 8029B5B0 00298510 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029B5B4 00298514 7C 08 02 A6 */ mflr r0 -/* 8029B5B8 00298518 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029B5BC 0029851C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029B5C0 00298520 93 C1 00 08 */ stw r30, 8(r1) -/* 8029B5C4 00298524 7C 9E 23 78 */ mr r30, r4 -/* 8029B5C8 00298528 83 E3 00 00 */ lwz r31, 0(r3) -/* 8029B5CC 0029852C 48 00 00 10 */ b lbl_8029B5DC -lbl_8029B5D0: -/* 8029B5D0 00298530 7F E3 FB 78 */ mr r3, r31 -/* 8029B5D4 00298534 48 00 00 2D */ bl sub_8029b600 -/* 8029B5D8 00298538 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_8029B5DC: -/* 8029B5DC 0029853C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8029B5E0 00298540 7C 1F 00 40 */ cmplw r31, r0 -/* 8029B5E4 00298544 40 82 FF EC */ bne lbl_8029B5D0 -/* 8029B5E8 00298548 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029B5EC 0029854C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029B5F0 00298550 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029B5F4 00298554 7C 08 03 A6 */ mtlr r0 -/* 8029B5F8 00298558 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029B5FC 0029855C 4E 80 00 20 */ blr - -.global sub_8029b600 -sub_8029b600: -/* 8029B600 00298560 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029B604 00298564 7C 08 02 A6 */ mflr r0 -/* 8029B608 00298568 28 03 00 00 */ cmplwi r3, 0 -/* 8029B60C 0029856C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029B610 00298570 41 82 00 4C */ beq lbl_8029B65C -/* 8029B614 00298574 34 03 00 04 */ addic. r0, r3, 4 -/* 8029B618 00298578 41 82 00 44 */ beq lbl_8029B65C -/* 8029B61C 0029857C 80 03 00 08 */ lwz r0, 8(r3) -/* 8029B620 00298580 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8029B624 00298584 54 00 10 3A */ slwi r0, r0, 2 -/* 8029B628 00298588 7C 03 02 14 */ add r0, r3, r0 -/* 8029B62C 0029858C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8029B630 00298590 7C 64 1B 78 */ mr r4, r3 -/* 8029B634 00298594 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029B638 00298598 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029B63C 0029859C 90 61 00 08 */ stw r3, 8(r1) -/* 8029B640 002985A0 48 00 00 08 */ b lbl_8029B648 -lbl_8029B644: -/* 8029B644 002985A4 38 84 00 04 */ addi r4, r4, 4 -lbl_8029B648: -/* 8029B648 002985A8 7C 04 00 40 */ cmplw r4, r0 -/* 8029B64C 002985AC 40 82 FF F8 */ bne lbl_8029B644 -/* 8029B650 002985B0 28 03 00 00 */ cmplwi r3, 0 -/* 8029B654 002985B4 41 82 00 08 */ beq lbl_8029B65C -/* 8029B658 002985B8 48 07 A2 D9 */ bl Free__7CMemoryFPCv -lbl_8029B65C: -/* 8029B65C 002985BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029B660 002985C0 7C 08 03 A6 */ mtlr r0 -/* 8029B664 002985C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029B668 002985C8 4E 80 00 20 */ blr - -.global sub_8029b66c -sub_8029b66c: -/* 8029B66C 002985CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029B670 002985D0 7C 08 02 A6 */ mflr r0 -/* 8029B674 002985D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029B678 002985D8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8029B67C 002985DC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8029B680 002985E0 7C 9C 23 78 */ mr r28, r4 -/* 8029B684 002985E4 41 82 00 88 */ beq lbl_8029B70C -/* 8029B688 002985E8 80 1B 00 04 */ lwz r0, 4(r27) -/* 8029B68C 002985EC 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 8029B690 002985F0 54 00 18 38 */ slwi r0, r0, 3 -/* 8029B694 002985F4 7F FD 02 14 */ add r31, r29, r0 -/* 8029B698 002985F8 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8029B69C 002985FC 93 E1 00 08 */ stw r31, 8(r1) -/* 8029B6A0 00298600 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029B6A4 00298604 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029B6A8 00298608 48 00 00 3C */ b lbl_8029B6E4 -lbl_8029B6AC: -/* 8029B6AC 0029860C 28 1D 00 00 */ cmplwi r29, 0 -/* 8029B6B0 00298610 41 82 00 30 */ beq lbl_8029B6E0 -/* 8029B6B4 00298614 88 1D 00 00 */ lbz r0, 0(r29) -/* 8029B6B8 00298618 28 00 00 00 */ cmplwi r0, 0 -/* 8029B6BC 0029861C 41 82 00 24 */ beq lbl_8029B6E0 -/* 8029B6C0 00298620 83 DD 00 04 */ lwz r30, 4(r29) -/* 8029B6C4 00298624 28 1E 00 00 */ cmplwi r30, 0 -/* 8029B6C8 00298628 41 82 00 18 */ beq lbl_8029B6E0 -/* 8029B6CC 0029862C 7F C3 F3 78 */ mr r3, r30 -/* 8029B6D0 00298630 38 80 00 00 */ li r4, 0 -/* 8029B6D4 00298634 48 0A 57 6D */ bl __dt__6CTokenFv -/* 8029B6D8 00298638 7F C3 F3 78 */ mr r3, r30 -/* 8029B6DC 0029863C 48 07 A2 55 */ bl Free__7CMemoryFPCv -lbl_8029B6E0: -/* 8029B6E0 00298640 3B BD 00 08 */ addi r29, r29, 8 -lbl_8029B6E4: -/* 8029B6E4 00298644 7C 1D F8 40 */ cmplw r29, r31 -/* 8029B6E8 00298648 40 82 FF C4 */ bne lbl_8029B6AC -/* 8029B6EC 0029864C 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8029B6F0 00298650 28 03 00 00 */ cmplwi r3, 0 -/* 8029B6F4 00298654 41 82 00 08 */ beq lbl_8029B6FC -/* 8029B6F8 00298658 48 07 A2 39 */ bl Free__7CMemoryFPCv -lbl_8029B6FC: -/* 8029B6FC 0029865C 7F 80 07 35 */ extsh. r0, r28 -/* 8029B700 00298660 40 81 00 0C */ ble lbl_8029B70C -/* 8029B704 00298664 7F 63 DB 78 */ mr r3, r27 -/* 8029B708 00298668 48 07 A2 29 */ bl Free__7CMemoryFPCv -lbl_8029B70C: -/* 8029B70C 0029866C 7F 63 DB 78 */ mr r3, r27 -/* 8029B710 00298670 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8029B714 00298674 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029B718 00298678 7C 08 03 A6 */ mtlr r0 -/* 8029B71C 0029867C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029B720 00298680 4E 80 00 20 */ blr - -.global __ct__10CSlideShowFv -__ct__10CSlideShowFv: -/* 8029B724 00298684 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8029B728 00298688 7C 08 02 A6 */ mflr r0 -/* 8029B72C 0029868C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8029B730 00298690 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8029B734 00298694 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8029B738 00298698 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8029B73C 0029869C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8029B740 002986A0 BF 01 00 80 */ stmw r24, 0x80(r1) -/* 8029B744 002986A4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029B748 002986A8 7C 7F 1B 78 */ mr r31, r3 -/* 8029B74C 002986AC 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029B750 002986B0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029B754 002986B4 38 84 00 FB */ addi r4, r4, 0xfb -/* 8029B758 002986B8 4B D6 95 61 */ bl string_l__4rstlFPCc -/* 8029B75C 002986BC 7F E3 FB 78 */ mr r3, r31 -/* 8029B760 002986C0 38 81 00 5C */ addi r4, r1, 0x5c -/* 8029B764 002986C4 4B DB 74 A9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029B768 002986C8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029B76C 002986CC 48 0A 23 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029B770 002986D0 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha -/* 8029B774 002986D4 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029B778 002986D8 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l -/* 8029B77C 002986DC 38 80 00 00 */ li r4, 0 -/* 8029B780 002986E0 90 1F 00 00 */ stw r0, 0(r31) -/* 8029B784 002986E4 38 00 FF FF */ li r0, -1 -/* 8029B788 002986E8 FC 40 08 90 */ fmr f2, f1 -/* 8029B78C 002986EC 38 7F 00 74 */ addi r3, r31, 0x74 -/* 8029B790 002986F0 90 9F 00 14 */ stw r4, 0x14(r31) -/* 8029B794 002986F4 90 9F 00 1C */ stw r4, 0x1c(r31) -/* 8029B798 002986F8 90 9F 00 20 */ stw r4, 0x20(r31) -/* 8029B79C 002986FC 90 9F 00 24 */ stw r4, 0x24(r31) -/* 8029B7A0 00298700 90 9F 00 2C */ stw r4, 0x2c(r31) -/* 8029B7A4 00298704 90 9F 00 30 */ stw r4, 0x30(r31) -/* 8029B7A8 00298708 90 9F 00 34 */ stw r4, 0x34(r31) -/* 8029B7AC 0029870C 90 9F 00 38 */ stw r4, 0x38(r31) -/* 8029B7B0 00298710 90 9F 00 3C */ stw r4, 0x3c(r31) -/* 8029B7B4 00298714 90 9F 00 40 */ stw r4, 0x40(r31) -/* 8029B7B8 00298718 90 9F 00 44 */ stw r4, 0x44(r31) -/* 8029B7BC 0029871C 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8029B7C0 00298720 D0 3F 00 4C */ stfs f1, 0x4c(r31) -/* 8029B7C4 00298724 D0 3F 00 50 */ stfs f1, 0x50(r31) -/* 8029B7C8 00298728 D0 3F 00 54 */ stfs f1, 0x54(r31) -/* 8029B7CC 0029872C D0 3F 00 58 */ stfs f1, 0x58(r31) -/* 8029B7D0 00298730 90 9F 00 5C */ stw r4, 0x5c(r31) -/* 8029B7D4 00298734 90 1F 00 60 */ stw r0, 0x60(r31) -/* 8029B7D8 00298738 90 1F 00 64 */ stw r0, 0x64(r31) -/* 8029B7DC 0029873C 98 9F 00 68 */ stb r4, 0x68(r31) -/* 8029B7E0 00298740 90 9F 00 6C */ stw r4, 0x6c(r31) -/* 8029B7E4 00298744 98 9F 00 70 */ stb r4, 0x70(r31) -/* 8029B7E8 00298748 48 07 8A 19 */ bl __ct__9CVector2fFff -/* 8029B7EC 0029874C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029B7F0 00298750 38 7F 00 7C */ addi r3, r31, 0x7c -/* 8029B7F4 00298754 FC 40 08 90 */ fmr f2, f1 -/* 8029B7F8 00298758 48 07 8A 09 */ bl __ct__9CVector2fFff -/* 8029B7FC 0029875C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029B800 00298760 38 7F 00 84 */ addi r3, r31, 0x84 -/* 8029B804 00298764 FC 40 08 90 */ fmr f2, f1 -/* 8029B808 00298768 48 07 89 F9 */ bl __ct__9CVector2fFff -/* 8029B80C 0029876C 48 0A E7 A1 */ bl White__6CColorFv -/* 8029B810 00298770 80 03 00 00 */ lwz r0, 0(r3) -/* 8029B814 00298774 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2) -/* 8029B818 00298778 90 1F 00 8C */ stw r0, 0x8c(r31) -/* 8029B81C 0029877C F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2 -/* 8029B820 00298780 38 80 00 00 */ li r4, 0 -/* 8029B824 00298784 38 00 FF FF */ li r0, -1 -/* 8029B828 00298788 10 20 F8 90 */ ps_mr f1, f31 -/* 8029B82C 0029878C 88 A1 00 11 */ lbz r5, 0x11(r1) -/* 8029B830 00298790 10 40 F8 90 */ ps_mr f2, f31 -/* 8029B834 00298794 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8029B838 00298798 98 BF 00 8F */ stb r5, 0x8f(r31) -/* 8029B83C 0029879C 90 9F 00 90 */ stw r4, 0x90(r31) -/* 8029B840 002987A0 90 1F 00 94 */ stw r0, 0x94(r31) -/* 8029B844 002987A4 90 1F 00 98 */ stw r0, 0x98(r31) -/* 8029B848 002987A8 98 9F 00 9C */ stb r4, 0x9c(r31) -/* 8029B84C 002987AC 90 9F 00 A0 */ stw r4, 0xa0(r31) -/* 8029B850 002987B0 98 9F 00 A4 */ stb r4, 0xa4(r31) -/* 8029B854 002987B4 48 07 89 AD */ bl __ct__9CVector2fFff -/* 8029B858 002987B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029B85C 002987BC 38 7F 00 B0 */ addi r3, r31, 0xb0 -/* 8029B860 002987C0 FC 40 08 90 */ fmr f2, f1 -/* 8029B864 002987C4 48 07 89 9D */ bl __ct__9CVector2fFff -/* 8029B868 002987C8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029B86C 002987CC 38 7F 00 B8 */ addi r3, r31, 0xb8 -/* 8029B870 002987D0 FC 40 08 90 */ fmr f2, f1 -/* 8029B874 002987D4 48 07 89 8D */ bl __ct__9CVector2fFff -/* 8029B878 002987D8 48 0A E7 35 */ bl White__6CColorFv -/* 8029B87C 002987DC 80 03 00 00 */ lwz r0, 0(r3) -/* 8029B880 002987E0 C3 C2 BF F0 */ lfs f30, lbl_805ADD10@sda21(r2) -/* 8029B884 002987E4 90 1F 00 C0 */ stw r0, 0xc0(r31) -/* 8029B888 002987E8 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2 -/* 8029B88C 002987EC 38 E0 00 00 */ li r7, 0 -/* 8029B890 002987F0 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2) -/* 8029B894 002987F4 38 60 00 01 */ li r3, 1 -/* 8029B898 002987F8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8029B89C 002987FC 38 A0 00 00 */ li r5, 0 -/* 8029B8A0 00298800 38 C0 00 00 */ li r6, 0 -/* 8029B8A4 00298804 98 1F 00 C3 */ stb r0, 0xc3(r31) -/* 8029B8A8 00298808 90 FF 00 C4 */ stw r7, 0xc4(r31) -/* 8029B8AC 0029880C 90 FF 00 C8 */ stw r7, 0xc8(r31) -/* 8029B8B0 00298810 90 FF 00 CC */ stw r7, 0xcc(r31) -/* 8029B8B4 00298814 90 FF 00 D4 */ stw r7, 0xd4(r31) -/* 8029B8B8 00298818 90 FF 00 D8 */ stw r7, 0xd8(r31) -/* 8029B8BC 0029881C 90 FF 00 DC */ stw r7, 0xdc(r31) -/* 8029B8C0 00298820 90 FF 00 E0 */ stw r7, 0xe0(r31) -/* 8029B8C4 00298824 90 FF 00 E4 */ stw r7, 0xe4(r31) -/* 8029B8C8 00298828 90 FF 00 E8 */ stw r7, 0xe8(r31) -/* 8029B8CC 0029882C 90 FF 00 EC */ stw r7, 0xec(r31) -/* 8029B8D0 00298830 90 FF 00 F0 */ stw r7, 0xf0(r31) -/* 8029B8D4 00298834 90 FF 00 F4 */ stw r7, 0xf4(r31) -/* 8029B8D8 00298838 90 FF 00 FC */ stw r7, 0xfc(r31) -/* 8029B8DC 0029883C 90 FF 01 00 */ stw r7, 0x100(r31) -/* 8029B8E0 00298840 90 FF 01 04 */ stw r7, 0x104(r31) -/* 8029B8E4 00298844 90 FF 01 0C */ stw r7, 0x10c(r31) -/* 8029B8E8 00298848 90 FF 01 10 */ stw r7, 0x110(r31) -/* 8029B8EC 0029884C 90 FF 01 14 */ stw r7, 0x114(r31) -/* 8029B8F0 00298850 90 FF 01 1C */ stw r7, 0x11c(r31) -/* 8029B8F4 00298854 90 FF 01 20 */ stw r7, 0x120(r31) -/* 8029B8F8 00298858 90 FF 01 24 */ stw r7, 0x124(r31) -/* 8029B8FC 0029885C D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 8029B900 00298860 D0 1F 01 2C */ stfs f0, 0x12c(r31) -/* 8029B904 00298864 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 8029B908 00298868 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8029B90C 0029886C D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8029B910 00298870 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B914 00298874 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029B918 00298878 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B91C 0029887C 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B920 00298880 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 8029B924 00298884 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B928 00298888 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B92C 0029888C 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a -/* 8029B930 00298890 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B934 00298894 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B938 00298898 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8029B93C 0029889C 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B940 002988A0 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B944 002988A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d -/* 8029B948 002988A8 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B94C 002988AC 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B950 002988B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8029B954 002988B4 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B958 002988B8 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 8029B95C 002988BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f -/* 8029B960 002988C0 98 1F 01 34 */ stb r0, 0x134(r31) -/* 8029B964 002988C4 88 1F 01 35 */ lbz r0, 0x135(r31) -/* 8029B968 002988C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029B96C 002988CC 98 1F 01 35 */ stb r0, 0x135(r31) -/* 8029B970 002988D0 93 FF 00 5C */ stw r31, 0x5c(r31) -/* 8029B974 002988D4 93 FF 00 90 */ stw r31, 0x90(r31) -/* 8029B978 002988D8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029B97C 002988DC 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13) -/* 8029B980 002988E0 38 63 00 04 */ addi r3, r3, 4 -/* 8029B984 002988E4 38 84 00 04 */ addi r4, r4, 4 -/* 8029B988 002988E8 48 09 FB D5 */ bl "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" -/* 8029B98C 002988EC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029B990 002988F0 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 8029B994 002988F4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13) -/* 8029B998 002988F8 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 8029B99C 002988FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8029B9A0 00298900 3B 65 00 24 */ addi r27, r5, 0x24 -/* 8029B9A4 00298904 3B 45 00 28 */ addi r26, r5, 0x28 -/* 8029B9A8 00298908 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029B9AC 0029890C 83 A4 00 08 */ lwz r29, 8(r4) -/* 8029B9B0 00298910 83 84 00 0C */ lwz r28, 0xc(r4) -/* 8029B9B4 00298914 80 85 00 14 */ lwz r4, 0x14(r5) -/* 8029B9B8 00298918 7D 89 03 A6 */ mtctr r12 -/* 8029B9BC 0029891C 4E 80 04 21 */ bctrl -/* 8029B9C0 00298920 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029B9C4 00298924 7C 7E 1B 78 */ mr r30, r3 -/* 8029B9C8 00298928 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029B9CC 0029892C 38 60 03 0C */ li r3, 0x30c -/* 8029B9D0 00298930 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029B9D4 00298934 38 A0 00 00 */ li r5, 0 -/* 8029B9D8 00298938 48 07 9E 95 */ bl __nw__FUlPCcPCc -/* 8029B9DC 0029893C 7C 78 1B 79 */ or. r24, r3, r3 -/* 8029B9E0 00298940 41 82 00 58 */ beq lbl_8029BA38 -/* 8029B9E4 00298944 48 0A E5 C9 */ bl White__6CColorFv -/* 8029B9E8 00298948 7C 79 1B 78 */ mr r25, r3 -/* 8029B9EC 0029894C 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029B9F0 00298950 38 80 00 00 */ li r4, 0 -/* 8029B9F4 00298954 38 A0 00 01 */ li r5, 1 -/* 8029B9F8 00298958 38 C0 00 01 */ li r6, 1 -/* 8029B9FC 0029895C 38 E0 00 02 */ li r7, 2 -/* 8029BA00 00298960 39 00 00 00 */ li r8, 0 -/* 8029BA04 00298964 48 02 E6 41 */ bl __ct__18CGuiTextPropertiesFv -/* 8029BA08 00298968 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 8029BA0C 0029896C 7C 65 1B 78 */ mr r5, r3 -/* 8029BA10 00298970 7F 03 C3 78 */ mr r3, r24 -/* 8029BA14 00298974 7F 66 DB 78 */ mr r6, r27 -/* 8029BA18 00298978 90 01 00 08 */ stw r0, 8(r1) -/* 8029BA1C 0029897C 7F 47 D3 78 */ mr r7, r26 -/* 8029BA20 00298980 7F 28 CB 78 */ mr r8, r25 -/* 8029BA24 00298984 7F A9 EB 78 */ mr r9, r29 -/* 8029BA28 00298988 80 9E 00 04 */ lwz r4, 4(r30) -/* 8029BA2C 0029898C 7F 8A E3 78 */ mr r10, r28 -/* 8029BA30 00298990 48 02 E4 0D */ bl __ct__15CGuiTextSupportFv -/* 8029BA34 00298994 7C 78 1B 78 */ mr r24, r3 -lbl_8029BA38: -/* 8029BA38 00298998 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8029BA3C 0029899C 38 80 00 01 */ li r4, 1 -/* 8029BA40 002989A0 48 02 E2 59 */ bl __dt__15CGuiTextSupportFv -/* 8029BA44 002989A4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha -/* 8029BA48 002989A8 93 1F 00 C4 */ stw r24, 0xc4(r31) -/* 8029BA4C 002989AC 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l -/* 8029BA50 002989B0 38 60 03 0C */ li r3, 0x30c -/* 8029BA54 002989B4 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029BA58 002989B8 38 A0 00 00 */ li r5, 0 -/* 8029BA5C 002989BC 48 07 9E 11 */ bl __nw__FUlPCcPCc -/* 8029BA60 002989C0 7C 78 1B 79 */ or. r24, r3, r3 -/* 8029BA64 002989C4 41 82 00 58 */ beq lbl_8029BABC -/* 8029BA68 002989C8 48 0A E5 45 */ bl White__6CColorFv -/* 8029BA6C 002989CC 7C 79 1B 78 */ mr r25, r3 -/* 8029BA70 002989D0 38 61 00 3C */ addi r3, r1, 0x3c -/* 8029BA74 002989D4 38 80 00 00 */ li r4, 0 -/* 8029BA78 002989D8 38 A0 00 01 */ li r5, 1 -/* 8029BA7C 002989DC 38 C0 00 02 */ li r6, 2 -/* 8029BA80 002989E0 38 E0 00 02 */ li r7, 2 -/* 8029BA84 002989E4 39 00 00 00 */ li r8, 0 -/* 8029BA88 002989E8 48 02 E5 BD */ bl __ct__18CGuiTextPropertiesFv -/* 8029BA8C 002989EC 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) -/* 8029BA90 002989F0 7C 65 1B 78 */ mr r5, r3 -/* 8029BA94 002989F4 7F 03 C3 78 */ mr r3, r24 -/* 8029BA98 002989F8 7F 66 DB 78 */ mr r6, r27 -/* 8029BA9C 002989FC 90 01 00 08 */ stw r0, 8(r1) -/* 8029BAA0 00298A00 7F 47 D3 78 */ mr r7, r26 -/* 8029BAA4 00298A04 7F 28 CB 78 */ mr r8, r25 -/* 8029BAA8 00298A08 7F A9 EB 78 */ mr r9, r29 -/* 8029BAAC 00298A0C 80 9E 00 04 */ lwz r4, 4(r30) -/* 8029BAB0 00298A10 7F 8A E3 78 */ mr r10, r28 -/* 8029BAB4 00298A14 48 02 E3 89 */ bl __ct__15CGuiTextSupportFv -/* 8029BAB8 00298A18 7C 78 1B 78 */ mr r24, r3 -lbl_8029BABC: -/* 8029BABC 00298A1C 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8029BAC0 00298A20 38 80 00 01 */ li r4, 1 -/* 8029BAC4 00298A24 48 02 E1 D5 */ bl __dt__15CGuiTextSupportFv -/* 8029BAC8 00298A28 93 1F 00 C8 */ stw r24, 0xc8(r31) -/* 8029BACC 00298A2C 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 8029BAD0 00298A30 38 80 00 12 */ li r4, 0x12 -/* 8029BAD4 00298A34 80 02 D7 58 */ lwz r0, lbl_805AF478@sda21(r2) -/* 8029BAD8 00298A38 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13) -/* 8029BADC 00298A3C 80 C2 D7 5C */ lwz r6, lbl_805AF47C@sda21(r2) -/* 8029BAE0 00298A40 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029BAE4 00298A44 38 A7 00 20 */ addi r5, r7, 0x20 -/* 8029BAE8 00298A48 38 07 00 48 */ addi r0, r7, 0x48 -/* 8029BAEC 00298A4C 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8029BAF0 00298A50 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8029BAF4 00298A54 90 01 00 38 */ stw r0, 0x38(r1) -/* 8029BAF8 00298A58 4B D6 CE 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8029BAFC 00298A5C 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8029BB00 00298A60 3B C1 00 34 */ addi r30, r1, 0x34 -/* 8029BB04 00298A64 3B 83 54 52 */ addi r28, r3, 0x54585452@l -/* 8029BB08 00298A68 3B 40 00 00 */ li r26, 0 -lbl_8029BB0C: -/* 8029BB0C 00298A6C 3B 60 00 00 */ li r27, 0 -/* 8029BB10 00298A70 3B 00 00 00 */ li r24, 0 -lbl_8029BB14: -/* 8029BB14 00298A74 80 1E 00 00 */ lwz r0, 0(r30) -/* 8029BB18 00298A78 38 61 00 24 */ addi r3, r1, 0x24 -/* 8029BB1C 00298A7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029BB20 00298A80 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8029BB24 00298A84 7C C0 C2 14 */ add r6, r0, r24 -/* 8029BB28 00298A88 80 06 00 04 */ lwz r0, 4(r6) -/* 8029BB2C 00298A8C 93 81 00 2C */ stw r28, 0x2c(r1) -/* 8029BB30 00298A90 90 01 00 30 */ stw r0, 0x30(r1) -/* 8029BB34 00298A94 81 84 00 00 */ lwz r12, 0(r4) -/* 8029BB38 00298A98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029BB3C 00298A9C 7D 89 03 A6 */ mtctr r12 -/* 8029BB40 00298AA0 4E 80 04 21 */ bctrl -/* 8029BB44 00298AA4 80 1F 00 FC */ lwz r0, 0xfc(r31) -/* 8029BB48 00298AA8 80 BF 01 00 */ lwz r5, 0x100(r31) -/* 8029BB4C 00298AAC 7C 00 28 00 */ cmpw r0, r5 -/* 8029BB50 00298AB0 41 80 00 1C */ blt lbl_8029BB6C -/* 8029BB54 00298AB4 2C 05 00 00 */ cmpwi r5, 0 -/* 8029BB58 00298AB8 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 8029BB5C 00298ABC 38 80 00 04 */ li r4, 4 -/* 8029BB60 00298AC0 41 82 00 08 */ beq lbl_8029BB68 -/* 8029BB64 00298AC4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029BB68: -/* 8029BB68 00298AC8 4B D6 CD F5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8029BB6C: -/* 8029BB6C 00298ACC 80 1F 00 FC */ lwz r0, 0xfc(r31) -/* 8029BB70 00298AD0 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 8029BB74 00298AD4 54 00 18 38 */ slwi r0, r0, 3 -/* 8029BB78 00298AD8 7C 63 02 15 */ add. r3, r3, r0 -/* 8029BB7C 00298ADC 41 82 00 0C */ beq lbl_8029BB88 -/* 8029BB80 00298AE0 38 81 00 24 */ addi r4, r1, 0x24 -/* 8029BB84 00298AE4 48 0A 53 25 */ bl __ct__6CTokenFRC6CToken -lbl_8029BB88: -/* 8029BB88 00298AE8 80 BF 00 FC */ lwz r5, 0xfc(r31) -/* 8029BB8C 00298AEC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8029BB90 00298AF0 38 80 FF FF */ li r4, -1 -/* 8029BB94 00298AF4 38 05 00 01 */ addi r0, r5, 1 -/* 8029BB98 00298AF8 90 1F 00 FC */ stw r0, 0xfc(r31) -/* 8029BB9C 00298AFC 48 0A 52 A5 */ bl __dt__6CTokenFv -/* 8029BBA0 00298B00 3B 7B 00 01 */ addi r27, r27, 1 -/* 8029BBA4 00298B04 3B 18 00 04 */ addi r24, r24, 4 -/* 8029BBA8 00298B08 2C 1B 00 09 */ cmpwi r27, 9 -/* 8029BBAC 00298B0C 41 80 FF 68 */ blt lbl_8029BB14 -/* 8029BBB0 00298B10 3B 5A 00 01 */ addi r26, r26, 1 -/* 8029BBB4 00298B14 3B DE 00 04 */ addi r30, r30, 4 -/* 8029BBB8 00298B18 2C 1A 00 02 */ cmpwi r26, 2 -/* 8029BBBC 00298B1C 41 80 FF 50 */ blt lbl_8029BB0C -/* 8029BBC0 00298B20 7F E3 FB 78 */ mr r3, r31 -/* 8029BBC4 00298B24 38 9F 00 F8 */ addi r4, r31, 0xf8 -/* 8029BBC8 00298B28 38 A0 00 01 */ li r5, 1 -/* 8029BBCC 00298B2C 4B FF CD E5 */ bl sub_802989b0 -/* 8029BBD0 00298B30 3C 60 80 3D */ lis r3, lbl_803D5C38@ha -/* 8029BBD4 00298B34 81 6D A1 4C */ lwz r11, gpTweakPlayerRes@sda21(r13) -/* 8029BBD8 00298B38 39 03 5C 38 */ addi r8, r3, lbl_803D5C38@l -/* 8029BBDC 00298B3C 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8029BBE0 00298B40 80 88 00 00 */ lwz r4, 0(r8) -/* 8029BBE4 00298B44 38 EB 00 70 */ addi r7, r11, 0x70 -/* 8029BBE8 00298B48 81 48 00 04 */ lwz r10, 4(r8) -/* 8029BBEC 00298B4C 38 CB 00 7C */ addi r6, r11, 0x7c -/* 8029BBF0 00298B50 81 28 00 08 */ lwz r9, 8(r8) -/* 8029BBF4 00298B54 38 AB 00 A0 */ addi r5, r11, 0xa0 -/* 8029BBF8 00298B58 81 08 00 0C */ lwz r8, 0xc(r8) -/* 8029BBFC 00298B5C 38 0B 00 B8 */ addi r0, r11, 0xb8 -/* 8029BC00 00298B60 90 81 00 6C */ stw r4, 0x6c(r1) -/* 8029BC04 00298B64 38 80 00 08 */ li r4, 8 -/* 8029BC08 00298B68 91 41 00 70 */ stw r10, 0x70(r1) -/* 8029BC0C 00298B6C 91 21 00 74 */ stw r9, 0x74(r1) -/* 8029BC10 00298B70 91 01 00 78 */ stw r8, 0x78(r1) -/* 8029BC14 00298B74 90 E1 00 6C */ stw r7, 0x6c(r1) -/* 8029BC18 00298B78 90 C1 00 70 */ stw r6, 0x70(r1) -/* 8029BC1C 00298B7C 90 A1 00 74 */ stw r5, 0x74(r1) -/* 8029BC20 00298B80 90 01 00 78 */ stw r0, 0x78(r1) -/* 8029BC24 00298B84 4B D6 CD 39 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8029BC28 00298B88 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8029BC2C 00298B8C 3B C1 00 6C */ addi r30, r1, 0x6c -/* 8029BC30 00298B90 3B 83 54 52 */ addi r28, r3, 0x54585452@l -/* 8029BC34 00298B94 3B 40 00 00 */ li r26, 0 -lbl_8029BC38: -/* 8029BC38 00298B98 3B 60 00 00 */ li r27, 0 -/* 8029BC3C 00298B9C 3B 00 00 00 */ li r24, 0 -lbl_8029BC40: -/* 8029BC40 00298BA0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8029BC44 00298BA4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029BC48 00298BA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029BC4C 00298BAC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8029BC50 00298BB0 7C C0 C2 14 */ add r6, r0, r24 -/* 8029BC54 00298BB4 80 06 00 04 */ lwz r0, 4(r6) -/* 8029BC58 00298BB8 93 81 00 1C */ stw r28, 0x1c(r1) -/* 8029BC5C 00298BBC 90 01 00 20 */ stw r0, 0x20(r1) -/* 8029BC60 00298BC0 81 84 00 00 */ lwz r12, 0(r4) -/* 8029BC64 00298BC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029BC68 00298BC8 7D 89 03 A6 */ mtctr r12 -/* 8029BC6C 00298BCC 4E 80 04 21 */ bctrl -/* 8029BC70 00298BD0 80 1F 01 0C */ lwz r0, 0x10c(r31) -/* 8029BC74 00298BD4 80 BF 01 10 */ lwz r5, 0x110(r31) -/* 8029BC78 00298BD8 7C 00 28 00 */ cmpw r0, r5 -/* 8029BC7C 00298BDC 41 80 00 1C */ blt lbl_8029BC98 -/* 8029BC80 00298BE0 2C 05 00 00 */ cmpwi r5, 0 -/* 8029BC84 00298BE4 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8029BC88 00298BE8 38 80 00 04 */ li r4, 4 -/* 8029BC8C 00298BEC 41 82 00 08 */ beq lbl_8029BC94 -/* 8029BC90 00298BF0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029BC94: -/* 8029BC94 00298BF4 4B D6 CC C9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8029BC98: -/* 8029BC98 00298BF8 80 1F 01 0C */ lwz r0, 0x10c(r31) -/* 8029BC9C 00298BFC 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 8029BCA0 00298C00 54 00 18 38 */ slwi r0, r0, 3 -/* 8029BCA4 00298C04 7C 63 02 15 */ add. r3, r3, r0 -/* 8029BCA8 00298C08 41 82 00 0C */ beq lbl_8029BCB4 -/* 8029BCAC 00298C0C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029BCB0 00298C10 48 0A 51 F9 */ bl __ct__6CTokenFRC6CToken -lbl_8029BCB4: -/* 8029BCB4 00298C14 80 BF 01 0C */ lwz r5, 0x10c(r31) -/* 8029BCB8 00298C18 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029BCBC 00298C1C 38 80 FF FF */ li r4, -1 -/* 8029BCC0 00298C20 38 05 00 01 */ addi r0, r5, 1 -/* 8029BCC4 00298C24 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8029BCC8 00298C28 48 0A 51 79 */ bl __dt__6CTokenFv -/* 8029BCCC 00298C2C 3B 7B 00 01 */ addi r27, r27, 1 -/* 8029BCD0 00298C30 3B 18 00 04 */ addi r24, r24, 4 -/* 8029BCD4 00298C34 2C 1B 00 02 */ cmpwi r27, 2 -/* 8029BCD8 00298C38 41 80 FF 68 */ blt lbl_8029BC40 -/* 8029BCDC 00298C3C 3B 5A 00 01 */ addi r26, r26, 1 -/* 8029BCE0 00298C40 3B DE 00 04 */ addi r30, r30, 4 -/* 8029BCE4 00298C44 2C 1A 00 04 */ cmpwi r26, 4 -/* 8029BCE8 00298C48 41 80 FF 50 */ blt lbl_8029BC38 -/* 8029BCEC 00298C4C 7F E3 FB 78 */ mr r3, r31 -/* 8029BCF0 00298C50 38 9F 01 08 */ addi r4, r31, 0x108 -/* 8029BCF4 00298C54 38 A0 00 01 */ li r5, 1 -/* 8029BCF8 00298C58 4B FF CC B9 */ bl sub_802989b0 -/* 8029BCFC 00298C5C 7F E3 FB 78 */ mr r3, r31 -/* 8029BD00 00298C60 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8029BD04 00298C64 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8029BD08 00298C68 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8029BD0C 00298C6C CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8029BD10 00298C70 BB 01 00 80 */ lmw r24, 0x80(r1) -/* 8029BD14 00298C74 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8029BD18 00298C78 7C 08 03 A6 */ mtlr r0 -/* 8029BD1C 00298C7C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8029BD20 00298C80 4E 80 00 20 */ blr - -.global sub_8029bd24 -sub_8029bd24: -/* 8029BD24 00298C84 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8029BD28 00298C88 7C 08 02 A6 */ mflr r0 -/* 8029BD2C 00298C8C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8029BD30 00298C90 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8029BD34 00298C94 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8029BD38 00298C98 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8029BD3C 00298C9C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8029BD40 00298CA0 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 8029BD44 00298CA4 80 63 00 04 */ lwz r3, 4(r3) -/* 8029BD48 00298CA8 7C 9D 23 78 */ mr r29, r4 -/* 8029BD4C 00298CAC 7C BE 2B 78 */ mr r30, r5 -/* 8029BD50 00298CB0 7C D7 33 78 */ mr r23, r6 -/* 8029BD54 00298CB4 28 03 00 00 */ cmplwi r3, 0 -/* 8029BD58 00298CB8 7C F8 3B 78 */ mr r24, r7 -/* 8029BD5C 00298CBC 41 82 02 0C */ beq lbl_8029BF68 -/* 8029BD60 00298CC0 48 0A 50 AD */ bl GetObj__6CTokenFv -/* 8029BD64 00298CC4 83 E3 00 04 */ lwz r31, 4(r3) -/* 8029BD68 00298CC8 3C 80 43 30 */ lis r4, 0x4330 -/* 8029BD6C 00298CCC 3C 60 80 3F */ lis r3, lbl_803F0004@ha -/* 8029BD70 00298CD0 87 83 D9 10 */ lwzu r28, -0x26f0(r3) -/* 8029BD74 00298CD4 A8 BF 00 04 */ lha r5, 4(r31) -/* 8029BD78 00298CD8 28 17 00 00 */ cmplwi r23, 0 -/* 8029BD7C 00298CDC A8 1F 00 06 */ lha r0, 6(r31) -/* 8029BD80 00298CE0 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8029BD84 00298CE4 90 81 00 60 */ stw r4, 0x60(r1) -/* 8029BD88 00298CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8029BD8C 00298CEC C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2) -/* 8029BD90 00298CF0 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8029BD94 00298CF4 83 63 00 04 */ lwz r27, lbl_803F0004@l(r3) -/* 8029BD98 00298CF8 C8 21 00 60 */ lfd f1, 0x60(r1) -/* 8029BD9C 00298CFC 90 81 00 68 */ stw r4, 0x68(r1) -/* 8029BDA0 00298D00 EF E1 10 28 */ fsubs f31, f1, f2 -/* 8029BDA4 00298D04 83 43 00 08 */ lwz r26, 8(r3) -/* 8029BDA8 00298D08 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8029BDAC 00298D0C 83 23 00 0C */ lwz r25, 0xc(r3) -/* 8029BDB0 00298D10 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8029BDB4 00298D14 EF C0 10 28 */ fsubs f30, f0, f2 -/* 8029BDB8 00298D18 41 82 00 24 */ beq lbl_8029BDDC -/* 8029BDBC 00298D1C C0 37 00 00 */ lfs f1, 0(r23) -/* 8029BDC0 00298D20 C0 17 00 04 */ lfs f0, 4(r23) -/* 8029BDC4 00298D24 FC 20 08 1E */ fctiwz f1, f1 -/* 8029BDC8 00298D28 FC 00 00 1E */ fctiwz f0, f0 -/* 8029BDCC 00298D2C D8 21 00 68 */ stfd f1, 0x68(r1) -/* 8029BDD0 00298D30 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 8029BDD4 00298D34 83 81 00 6C */ lwz r28, 0x6c(r1) -/* 8029BDD8 00298D38 83 61 00 64 */ lwz r27, 0x64(r1) -lbl_8029BDDC: -/* 8029BDDC 00298D3C 28 18 00 00 */ cmplwi r24, 0 -/* 8029BDE0 00298D40 41 82 00 24 */ beq lbl_8029BE04 -/* 8029BDE4 00298D44 C0 38 00 00 */ lfs f1, 0(r24) -/* 8029BDE8 00298D48 C0 18 00 04 */ lfs f0, 4(r24) -/* 8029BDEC 00298D4C FC 20 08 1E */ fctiwz f1, f1 -/* 8029BDF0 00298D50 FC 00 00 1E */ fctiwz f0, f0 -/* 8029BDF4 00298D54 D8 21 00 68 */ stfd f1, 0x68(r1) -/* 8029BDF8 00298D58 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 8029BDFC 00298D5C 83 41 00 6C */ lwz r26, 0x6c(r1) -/* 8029BE00 00298D60 83 21 00 64 */ lwz r25, 0x64(r1) -lbl_8029BE04: -/* 8029BE04 00298D64 38 60 00 01 */ li r3, 1 -/* 8029BE08 00298D68 38 80 00 04 */ li r4, 4 -/* 8029BE0C 00298D6C 38 A0 00 05 */ li r5, 5 -/* 8029BE10 00298D70 38 C0 00 00 */ li r6, 0 -/* 8029BE14 00298D74 48 06 FC 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8029BE18 00298D78 7C 7C D2 14 */ add r3, r28, r26 -/* 8029BE1C 00298D7C 7C 1B CA 14 */ add r0, r27, r25 -/* 8029BE20 00298D80 3C A0 43 30 */ lis r5, 0x4330 -/* 8029BE24 00298D84 6F 86 80 00 */ xoris r6, r28, 0x8000 -/* 8029BE28 00298D88 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8029BE2C 00298D8C 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8029BE30 00298D90 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8029BE34 00298D94 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 8029BE38 00298D98 C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2) -/* 8029BE3C 00298D9C 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8029BE40 00298DA0 C0 A2 C0 10 */ lfs f5, lbl_805ADD30@sda21(r2) -/* 8029BE44 00298DA4 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8029BE48 00298DA8 90 81 00 64 */ stw r4, 0x64(r1) -/* 8029BE4C 00298DAC EC 20 20 28 */ fsubs f1, f0, f4 -/* 8029BE50 00298DB0 C0 C2 C0 14 */ lfs f6, lbl_805ADD34@sda21(r2) -/* 8029BE54 00298DB4 90 A1 00 60 */ stw r5, 0x60(r1) -/* 8029BE58 00298DB8 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8029BE5C 00298DBC 90 61 00 74 */ stw r3, 0x74(r1) -/* 8029BE60 00298DC0 EC 40 20 28 */ fsubs f2, f0, f4 -/* 8029BE64 00298DC4 90 A1 00 70 */ stw r5, 0x70(r1) -/* 8029BE68 00298DC8 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8029BE6C 00298DCC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8029BE70 00298DD0 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8029BE74 00298DD4 90 A1 00 78 */ stw r5, 0x78(r1) -/* 8029BE78 00298DD8 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8029BE7C 00298DDC EC 80 20 28 */ fsubs f4, f0, f4 -/* 8029BE80 00298DE0 48 07 06 D5 */ bl SetOrtho__9CGraphicsFffffff -/* 8029BE84 00298DE4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8029BE88 00298DE8 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 8029BE8C 00298DEC 48 07 08 C1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029BE90 00298DF0 7F A4 EB 78 */ mr r4, r29 -/* 8029BE94 00298DF4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029BE98 00298DF8 48 07 72 A9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8029BE9C 00298DFC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029BEA0 00298E00 48 07 07 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8029BEA4 00298E04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 8029BEA8 00298E08 38 60 00 00 */ li r3, 0 -/* 8029BEAC 00298E0C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 8029BEB0 00298E10 48 06 E4 09 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8029BEB4 00298E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8029BEB8 00298E18 38 60 00 01 */ li r3, 1 -/* 8029BEBC 00298E1C 48 06 E3 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8029BEC0 00298E20 7F E3 FB 78 */ mr r3, r31 -/* 8029BEC4 00298E24 38 80 00 00 */ li r4, 0 -/* 8029BEC8 00298E28 38 A0 00 01 */ li r5, 1 -/* 8029BECC 00298E2C 48 07 38 71 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8029BED0 00298E30 38 60 00 80 */ li r3, 0x80 -/* 8029BED4 00298E34 48 06 F7 95 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8029BED8 00298E38 7F C3 F3 78 */ mr r3, r30 -/* 8029BEDC 00298E3C 48 06 F6 6D */ bl StreamColor__9CGraphicsFRC6CColor -/* 8029BEE0 00298E40 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029BEE4 00298E44 FC 40 08 90 */ fmr f2, f1 -/* 8029BEE8 00298E48 48 06 F5 7D */ bl StreamTexcoord__9CGraphicsFff -/* 8029BEEC 00298E4C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8029BEF0 00298E50 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8029BEF4 00298E54 48 06 F6 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8029BEF8 00298E58 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) -/* 8029BEFC 00298E5C C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2) -/* 8029BF00 00298E60 48 06 F5 65 */ bl StreamTexcoord__9CGraphicsFff -/* 8029BF04 00298E64 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BF08 00298E68 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029BF0C 00298E6C D3 E1 00 20 */ stfs f31, 0x20(r1) -/* 8029BF10 00298E70 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8029BF14 00298E74 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8029BF18 00298E78 48 06 F6 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8029BF1C 00298E7C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2) -/* 8029BF20 00298E80 FC 40 08 90 */ fmr f2, f1 -/* 8029BF24 00298E84 48 06 F5 41 */ bl StreamTexcoord__9CGraphicsFff -/* 8029BF28 00298E88 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BF2C 00298E8C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029BF30 00298E90 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 8029BF34 00298E94 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8029BF38 00298E98 D3 C1 00 1C */ stfs f30, 0x1c(r1) -/* 8029BF3C 00298E9C 48 06 F6 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8029BF40 00298EA0 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029BF44 00298EA4 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2) -/* 8029BF48 00298EA8 48 06 F5 1D */ bl StreamTexcoord__9CGraphicsFff -/* 8029BF4C 00298EAC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BF50 00298EB0 38 61 00 08 */ addi r3, r1, 8 -/* 8029BF54 00298EB4 D3 C1 00 10 */ stfs f30, 0x10(r1) -/* 8029BF58 00298EB8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8029BF5C 00298EBC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8029BF60 00298EC0 48 06 F6 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8029BF64 00298EC4 48 06 F4 AD */ bl StreamEnd__9CGraphicsFv -lbl_8029BF68: -/* 8029BF68 00298EC8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8029BF6C 00298ECC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8029BF70 00298ED0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8029BF74 00298ED4 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8029BF78 00298ED8 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 8029BF7C 00298EDC 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8029BF80 00298EE0 7C 08 03 A6 */ mtlr r0 -/* 8029BF84 00298EE4 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8029BF88 00298EE8 4E 80 00 20 */ blr - -.global sub_8029bf8c -sub_8029bf8c: -/* 8029BF8C 00298EEC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BF90 00298EF0 38 00 00 00 */ li r0, 0 -/* 8029BF94 00298EF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029BF98 00298EF8 40 81 00 08 */ ble lbl_8029BFA0 -/* 8029BF9C 00298EFC 60 00 00 01 */ ori r0, r0, 1 -lbl_8029BFA0: -/* 8029BFA0 00298F00 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BFA4 00298F04 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8029BFA8 00298F08 40 81 00 08 */ ble lbl_8029BFB0 -/* 8029BFAC 00298F0C 60 00 00 02 */ ori r0, r0, 2 -lbl_8029BFB0: -/* 8029BFB0 00298F10 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BFB4 00298F14 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8029BFB8 00298F18 40 81 00 08 */ ble lbl_8029BFC0 -/* 8029BFBC 00298F1C 60 00 00 04 */ ori r0, r0, 4 -lbl_8029BFC0: -/* 8029BFC0 00298F20 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2) -/* 8029BFC4 00298F24 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8029BFC8 00298F28 40 81 00 08 */ ble lbl_8029BFD0 -/* 8029BFCC 00298F2C 60 00 00 08 */ ori r0, r0, 8 -lbl_8029BFD0: -/* 8029BFD0 00298F30 28 00 00 0A */ cmplwi r0, 0xa -/* 8029BFD4 00298F34 41 81 00 5C */ bgt lbl_8029C030 -/* 8029BFD8 00298F38 3C 60 80 3F */ lis r3, lbl_803EBFD4@ha -/* 8029BFDC 00298F3C 54 00 10 3A */ slwi r0, r0, 2 -/* 8029BFE0 00298F40 38 63 BF D4 */ addi r3, r3, lbl_803EBFD4@l -/* 8029BFE4 00298F44 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8029BFE8 00298F48 7C 09 03 A6 */ mtctr r0 -/* 8029BFEC 00298F4C 4E 80 04 20 */ bctr -/* 8029BFF0 00298F50 38 60 00 01 */ li r3, 1 -/* 8029BFF4 00298F54 4E 80 00 20 */ blr -/* 8029BFF8 00298F58 38 60 00 02 */ li r3, 2 -/* 8029BFFC 00298F5C 4E 80 00 20 */ blr -/* 8029C000 00298F60 38 60 00 03 */ li r3, 3 -/* 8029C004 00298F64 4E 80 00 20 */ blr -/* 8029C008 00298F68 38 60 00 04 */ li r3, 4 -/* 8029C00C 00298F6C 4E 80 00 20 */ blr -/* 8029C010 00298F70 38 60 00 05 */ li r3, 5 -/* 8029C014 00298F74 4E 80 00 20 */ blr -/* 8029C018 00298F78 38 60 00 06 */ li r3, 6 -/* 8029C01C 00298F7C 4E 80 00 20 */ blr -/* 8029C020 00298F80 38 60 00 07 */ li r3, 7 -/* 8029C024 00298F84 4E 80 00 20 */ blr -/* 8029C028 00298F88 38 60 00 08 */ li r3, 8 -/* 8029C02C 00298F8C 4E 80 00 20 */ blr -lbl_8029C030: -/* 8029C030 00298F90 38 60 00 00 */ li r3, 0 -/* 8029C034 00298F94 4E 80 00 20 */ blr - -.global sub_8029c038 -sub_8029c038: -/* 8029C038 00298F98 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029C03C 00298F9C 7C 08 02 A6 */ mflr r0 -/* 8029C040 00298FA0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029C044 00298FA4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8029C048 00298FA8 7C 9F 23 78 */ mr r31, r4 -/* 8029C04C 00298FAC 7C 7E 1B 78 */ mr r30, r3 -/* 8029C050 00298FB0 7C DB 33 78 */ mr r27, r6 -/* 8029C054 00298FB4 38 61 00 0C */ addi r3, r1, 0xc -/* 8029C058 00298FB8 80 85 00 00 */ lwz r4, 0(r5) -/* 8029C05C 00298FBC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029C060 00298FC0 90 81 00 08 */ stw r4, 8(r1) -/* 8029C064 00298FC4 38 81 00 08 */ addi r4, r1, 8 -/* 8029C068 00298FC8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029C06C 00298FCC 48 00 05 05 */ bl sub_8029c570 -/* 8029C070 00298FD0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029C074 00298FD4 7C 7D 1B 78 */ mr r29, r3 -/* 8029C078 00298FD8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029C07C 00298FDC 48 00 00 58 */ b lbl_8029C0D4 -lbl_8029C080: -/* 8029C080 00298FE0 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 8029C084 00298FE4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029C088 00298FE8 7C 83 EA 14 */ add r4, r3, r29 -/* 8029C08C 00298FEC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029C090 00298FF0 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 8029C094 00298FF4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029C098 00298FF8 7F 84 E3 78 */ mr r4, r28 -/* 8029C09C 00298FFC 48 00 04 95 */ bl sub_8029c530 -/* 8029C0A0 00299000 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8029C0A4 00299004 80 1B 00 00 */ lwz r0, 0(r27) -/* 8029C0A8 00299008 80 64 00 00 */ lwz r3, 0(r4) -/* 8029C0AC 0029900C 7C 03 00 40 */ cmplw r3, r0 -/* 8029C0B0 00299010 40 80 00 20 */ bge lbl_8029C0D0 -/* 8029C0B4 00299014 90 9F 00 00 */ stw r4, 0(r31) -/* 8029C0B8 00299018 7C 7C E8 50 */ subf r3, r28, r29 -/* 8029C0BC 0029901C 3B A3 FF FF */ addi r29, r3, -1 -/* 8029C0C0 00299020 80 7F 00 00 */ lwz r3, 0(r31) -/* 8029C0C4 00299024 38 03 00 08 */ addi r0, r3, 8 -/* 8029C0C8 00299028 90 1F 00 00 */ stw r0, 0(r31) -/* 8029C0CC 0029902C 48 00 00 08 */ b lbl_8029C0D4 -lbl_8029C0D0: -/* 8029C0D0 00299030 7F 9D E3 78 */ mr r29, r28 -lbl_8029C0D4: -/* 8029C0D4 00299034 2C 1D 00 00 */ cmpwi r29, 0 -/* 8029C0D8 00299038 41 81 FF A8 */ bgt lbl_8029C080 -/* 8029C0DC 0029903C 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029C0E0 00299040 90 1E 00 00 */ stw r0, 0(r30) -/* 8029C0E4 00299044 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8029C0E8 00299048 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029C0EC 0029904C 7C 08 03 A6 */ mtlr r0 -/* 8029C0F0 00299050 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029C0F4 00299054 4E 80 00 20 */ blr - -.global sub_8029c0f8 -sub_8029c0f8: -/* 8029C0F8 00299058 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029C0FC 0029905C 7C 08 02 A6 */ mflr r0 -/* 8029C100 00299060 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029C104 00299064 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8029C108 00299068 7C 9F 23 78 */ mr r31, r4 -/* 8029C10C 0029906C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029C110 00299070 7C 7E 1B 78 */ mr r30, r3 -/* 8029C114 00299074 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8029C118 00299078 80 03 00 08 */ lwz r0, 8(r3) -/* 8029C11C 0029907C 7C 1F 00 00 */ cmpw r31, r0 -/* 8029C120 00299080 40 81 00 AC */ ble lbl_8029C1CC -/* 8029C124 00299084 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 8029C128 00299088 40 82 00 0C */ bne lbl_8029C134 -/* 8029C12C 0029908C 3B A0 00 00 */ li r29, 0 -/* 8029C130 00299090 48 00 00 1C */ b lbl_8029C14C -lbl_8029C134: -/* 8029C134 00299094 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029C138 00299098 38 A0 00 00 */ li r5, 0 -/* 8029C13C 0029909C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029C140 002990A0 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029C144 002990A4 48 07 96 D5 */ bl __nwa__FUlPCcPCc -/* 8029C148 002990A8 7C 7D 1B 78 */ mr r29, r3 -lbl_8029C14C: -/* 8029C14C 002990AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029C150 002990B0 7F A4 EB 78 */ mr r4, r29 -/* 8029C154 002990B4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8029C158 002990B8 54 00 10 3A */ slwi r0, r0, 2 -/* 8029C15C 002990BC 7C 65 02 14 */ add r3, r5, r0 -/* 8029C160 002990C0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8029C164 002990C4 90 61 00 08 */ stw r3, 8(r1) -/* 8029C168 002990C8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8029C16C 002990CC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8029C170 002990D0 48 00 00 1C */ b lbl_8029C18C -lbl_8029C174: -/* 8029C174 002990D4 28 04 00 00 */ cmplwi r4, 0 -/* 8029C178 002990D8 41 82 00 0C */ beq lbl_8029C184 -/* 8029C17C 002990DC 80 05 00 00 */ lwz r0, 0(r5) -/* 8029C180 002990E0 90 04 00 00 */ stw r0, 0(r4) -lbl_8029C184: -/* 8029C184 002990E4 38 84 00 04 */ addi r4, r4, 4 -/* 8029C188 002990E8 38 A5 00 04 */ addi r5, r5, 4 -lbl_8029C18C: -/* 8029C18C 002990EC 7C 05 18 40 */ cmplw r5, r3 -/* 8029C190 002990F0 40 82 FF E4 */ bne lbl_8029C174 -/* 8029C194 002990F4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029C198 002990F8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8029C19C 002990FC 54 00 10 3A */ slwi r0, r0, 2 -/* 8029C1A0 00299100 7C 64 1B 78 */ mr r4, r3 -/* 8029C1A4 00299104 7C 03 02 14 */ add r0, r3, r0 -/* 8029C1A8 00299108 48 00 00 08 */ b lbl_8029C1B0 -lbl_8029C1AC: -/* 8029C1AC 0029910C 38 84 00 04 */ addi r4, r4, 4 -lbl_8029C1B0: -/* 8029C1B0 00299110 7C 04 00 40 */ cmplw r4, r0 -/* 8029C1B4 00299114 40 82 FF F8 */ bne lbl_8029C1AC -/* 8029C1B8 00299118 28 03 00 00 */ cmplwi r3, 0 -/* 8029C1BC 0029911C 41 82 00 08 */ beq lbl_8029C1C4 -/* 8029C1C0 00299120 48 07 97 71 */ bl Free__7CMemoryFPCv -lbl_8029C1C4: -/* 8029C1C4 00299124 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8029C1C8 00299128 93 FE 00 08 */ stw r31, 8(r30) -lbl_8029C1CC: -/* 8029C1CC 0029912C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029C1D0 00299130 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8029C1D4 00299134 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8029C1D8 00299138 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8029C1DC 0029913C 7C 08 03 A6 */ mtlr r0 -/* 8029C1E0 00299140 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029C1E4 00299144 4E 80 00 20 */ blr - -.global sub_8029c1e8 -sub_8029c1e8: -/* 8029C1E8 00299148 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029C1EC 0029914C 7C 08 02 A6 */ mflr r0 -/* 8029C1F0 00299150 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029C1F4 00299154 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8029C1F8 00299158 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029C1FC 0029915C 7C 9E 23 78 */ mr r30, r4 -/* 8029C200 00299160 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8029C204 00299164 7C 7D 1B 78 */ mr r29, r3 -/* 8029C208 00299168 80 03 00 08 */ lwz r0, 8(r3) -/* 8029C20C 0029916C 7C 1E 00 00 */ cmpw r30, r0 -/* 8029C210 00299170 40 81 00 90 */ ble lbl_8029C2A0 -/* 8029C214 00299174 1C 7E 00 14 */ mulli r3, r30, 0x14 -/* 8029C218 00299178 2C 03 00 00 */ cmpwi r3, 0 -/* 8029C21C 0029917C 40 82 00 0C */ bne lbl_8029C228 -/* 8029C220 00299180 3B E0 00 00 */ li r31, 0 -/* 8029C224 00299184 48 00 00 1C */ b lbl_8029C240 -lbl_8029C228: -/* 8029C228 00299188 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029C22C 0029918C 38 A0 00 00 */ li r5, 0 -/* 8029C230 00299190 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029C234 00299194 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029C238 00299198 48 07 95 E1 */ bl __nwa__FUlPCcPCc -/* 8029C23C 0029919C 7C 7F 1B 78 */ mr r31, r3 -lbl_8029C240: -/* 8029C240 002991A0 80 1D 00 04 */ lwz r0, 4(r29) -/* 8029C244 002991A4 7F E5 FB 78 */ mr r5, r31 -/* 8029C248 002991A8 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 8029C24C 002991AC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029C250 002991B0 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029C254 002991B4 38 81 00 0C */ addi r4, r1, 0xc -/* 8029C258 002991B8 7C C6 02 14 */ add r6, r6, r0 -/* 8029C25C 002991BC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8029C260 002991C0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8029C264 002991C4 90 C1 00 08 */ stw r6, 8(r1) -/* 8029C268 002991C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029C26C 002991CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C270 002991D0 48 00 00 99 */ bl sub_8029c308 -/* 8029C274 002991D4 80 1D 00 04 */ lwz r0, 4(r29) -/* 8029C278 002991D8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8029C27C 002991DC 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8029C280 002991E0 7C 83 02 14 */ add r4, r3, r0 -/* 8029C284 002991E4 48 00 00 39 */ bl sub_8029c2bc -/* 8029C288 002991E8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8029C28C 002991EC 28 03 00 00 */ cmplwi r3, 0 -/* 8029C290 002991F0 41 82 00 08 */ beq lbl_8029C298 -/* 8029C294 002991F4 48 07 96 9D */ bl Free__7CMemoryFPCv -lbl_8029C298: -/* 8029C298 002991F8 93 FD 00 0C */ stw r31, 0xc(r29) -/* 8029C29C 002991FC 93 DD 00 08 */ stw r30, 8(r29) -lbl_8029C2A0: -/* 8029C2A0 00299200 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029C2A4 00299204 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8029C2A8 00299208 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8029C2AC 0029920C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8029C2B0 00299210 7C 08 03 A6 */ mtlr r0 -/* 8029C2B4 00299214 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029C2B8 00299218 4E 80 00 20 */ blr - -.global sub_8029c2bc -sub_8029c2bc: -/* 8029C2BC 0029921C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029C2C0 00299220 7C 08 02 A6 */ mflr r0 -/* 8029C2C4 00299224 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C2C8 00299228 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029C2CC 0029922C 7C 7F 1B 78 */ mr r31, r3 -/* 8029C2D0 00299230 93 C1 00 08 */ stw r30, 8(r1) -/* 8029C2D4 00299234 7C 9E 23 78 */ mr r30, r4 -/* 8029C2D8 00299238 48 00 00 10 */ b lbl_8029C2E8 -lbl_8029C2DC: -/* 8029C2DC 0029923C 7F E3 FB 78 */ mr r3, r31 -/* 8029C2E0 00299240 4B FF F3 21 */ bl sub_8029b600 -/* 8029C2E4 00299244 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_8029C2E8: -/* 8029C2E8 00299248 7C 1F F0 40 */ cmplw r31, r30 -/* 8029C2EC 0029924C 40 82 FF F0 */ bne lbl_8029C2DC -/* 8029C2F0 00299250 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C2F4 00299254 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029C2F8 00299258 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029C2FC 0029925C 7C 08 03 A6 */ mtlr r0 -/* 8029C300 00299260 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029C304 00299264 4E 80 00 20 */ blr - -.global sub_8029c308 -sub_8029c308: -/* 8029C308 00299268 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029C30C 0029926C 7C 08 02 A6 */ mflr r0 -/* 8029C310 00299270 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029C314 00299274 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029C318 00299278 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029C31C 0029927C 7C BE 2B 78 */ mr r30, r5 -/* 8029C320 00299280 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029C324 00299284 7C 9D 23 78 */ mr r29, r4 -/* 8029C328 00299288 83 E3 00 00 */ lwz r31, 0(r3) -/* 8029C32C 0029928C 48 00 00 B4 */ b lbl_8029C3E0 -lbl_8029C330: -/* 8029C330 00299290 28 1E 00 00 */ cmplwi r30, 0 -/* 8029C334 00299294 41 82 00 A4 */ beq lbl_8029C3D8 -/* 8029C338 00299298 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029C33C 0029929C 90 1E 00 00 */ stw r0, 0(r30) -/* 8029C340 002992A0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8029C344 002992A4 90 1E 00 08 */ stw r0, 8(r30) -/* 8029C348 002992A8 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8029C34C 002992AC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8029C350 002992B0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8029C354 002992B4 2C 00 00 00 */ cmpwi r0, 0 -/* 8029C358 002992B8 40 82 00 1C */ bne lbl_8029C374 -/* 8029C35C 002992BC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8029C360 002992C0 2C 00 00 00 */ cmpwi r0, 0 -/* 8029C364 002992C4 40 82 00 10 */ bne lbl_8029C374 -/* 8029C368 002992C8 38 00 00 00 */ li r0, 0 -/* 8029C36C 002992CC 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8029C370 002992D0 48 00 00 68 */ b lbl_8029C3D8 -lbl_8029C374: -/* 8029C374 002992D4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8029C378 002992D8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 8029C37C 002992DC 40 82 00 10 */ bne lbl_8029C38C -/* 8029C380 002992E0 38 00 00 00 */ li r0, 0 -/* 8029C384 002992E4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8029C388 002992E8 48 00 00 1C */ b lbl_8029C3A4 -lbl_8029C38C: -/* 8029C38C 002992EC 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029C390 002992F0 38 A0 00 00 */ li r5, 0 -/* 8029C394 002992F4 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029C398 002992F8 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029C39C 002992FC 48 07 94 7D */ bl __nwa__FUlPCcPCc -/* 8029C3A0 00299300 90 7E 00 10 */ stw r3, 0x10(r30) -lbl_8029C3A4: -/* 8029C3A4 00299304 80 1E 00 08 */ lwz r0, 8(r30) -/* 8029C3A8 00299308 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8029C3AC 0029930C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8029C3B0 00299310 7C 09 03 A6 */ mtctr r0 -/* 8029C3B4 00299314 2C 00 00 00 */ cmpwi r0, 0 -/* 8029C3B8 00299318 40 81 00 20 */ ble lbl_8029C3D8 -lbl_8029C3BC: -/* 8029C3BC 0029931C 28 03 00 00 */ cmplwi r3, 0 -/* 8029C3C0 00299320 41 82 00 0C */ beq lbl_8029C3CC -/* 8029C3C4 00299324 80 04 00 00 */ lwz r0, 0(r4) -/* 8029C3C8 00299328 90 03 00 00 */ stw r0, 0(r3) -lbl_8029C3CC: -/* 8029C3CC 0029932C 38 63 00 04 */ addi r3, r3, 4 -/* 8029C3D0 00299330 38 84 00 04 */ addi r4, r4, 4 -/* 8029C3D4 00299334 42 00 FF E8 */ bdnz lbl_8029C3BC -lbl_8029C3D8: -/* 8029C3D8 00299338 3B DE 00 14 */ addi r30, r30, 0x14 -/* 8029C3DC 0029933C 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_8029C3E0: -/* 8029C3E0 00299340 80 1D 00 00 */ lwz r0, 0(r29) -/* 8029C3E4 00299344 7C 1F 00 40 */ cmplw r31, r0 -/* 8029C3E8 00299348 40 82 FF 48 */ bne lbl_8029C330 -/* 8029C3EC 0029934C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029C3F0 00299350 7F C3 F3 78 */ mr r3, r30 -/* 8029C3F4 00299354 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029C3F8 00299358 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029C3FC 0029935C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029C400 00299360 7C 08 03 A6 */ mtlr r0 -/* 8029C404 00299364 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029C408 00299368 4E 80 00 20 */ blr - -.global sub_8029c40c -sub_8029c40c: -/* 8029C40C 0029936C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029C410 00299370 7C 08 02 A6 */ mflr r0 -/* 8029C414 00299374 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029C418 00299378 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8029C41C 0029937C 7C 9F 23 78 */ mr r31, r4 -/* 8029C420 00299380 7C 7E 1B 78 */ mr r30, r3 -/* 8029C424 00299384 80 03 00 08 */ lwz r0, 8(r3) -/* 8029C428 00299388 7C 1F 00 00 */ cmpw r31, r0 -/* 8029C42C 0029938C 40 81 00 F0 */ ble lbl_8029C51C -/* 8029C430 00299390 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8029C434 00299394 40 82 00 0C */ bne lbl_8029C440 -/* 8029C438 00299398 3B A0 00 00 */ li r29, 0 -/* 8029C43C 0029939C 48 00 00 1C */ b lbl_8029C458 -lbl_8029C440: -/* 8029C440 002993A0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha -/* 8029C444 002993A4 38 A0 00 00 */ li r5, 0 -/* 8029C448 002993A8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l -/* 8029C44C 002993AC 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 8029C450 002993B0 48 07 93 C9 */ bl __nwa__FUlPCcPCc -/* 8029C454 002993B4 7C 7D 1B 78 */ mr r29, r3 -lbl_8029C458: -/* 8029C458 002993B8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8029C45C 002993BC 7F A5 EB 78 */ mr r5, r29 -/* 8029C460 002993C0 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8029C464 002993C4 38 00 00 00 */ li r0, 0 -/* 8029C468 002993C8 54 63 18 38 */ slwi r3, r3, 3 -/* 8029C46C 002993CC 7C 86 1A 14 */ add r4, r6, r3 -/* 8029C470 002993D0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8029C474 002993D4 90 81 00 08 */ stw r4, 8(r1) -/* 8029C478 002993D8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8029C47C 002993DC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8029C480 002993E0 48 00 00 28 */ b lbl_8029C4A8 -lbl_8029C484: -/* 8029C484 002993E4 28 05 00 00 */ cmplwi r5, 0 -/* 8029C488 002993E8 41 82 00 18 */ beq lbl_8029C4A0 -/* 8029C48C 002993EC 88 66 00 00 */ lbz r3, 0(r6) -/* 8029C490 002993F0 98 65 00 00 */ stb r3, 0(r5) -/* 8029C494 002993F4 80 66 00 04 */ lwz r3, 4(r6) -/* 8029C498 002993F8 90 65 00 04 */ stw r3, 4(r5) -/* 8029C49C 002993FC 98 06 00 00 */ stb r0, 0(r6) -lbl_8029C4A0: -/* 8029C4A0 00299400 38 A5 00 08 */ addi r5, r5, 8 -/* 8029C4A4 00299404 38 C6 00 08 */ addi r6, r6, 8 -lbl_8029C4A8: -/* 8029C4A8 00299408 7C 06 20 40 */ cmplw r6, r4 -/* 8029C4AC 0029940C 40 82 FF D8 */ bne lbl_8029C484 -/* 8029C4B0 00299410 80 1E 00 04 */ lwz r0, 4(r30) -/* 8029C4B4 00299414 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8029C4B8 00299418 54 00 18 38 */ slwi r0, r0, 3 -/* 8029C4BC 0029941C 7F 9A 02 14 */ add r28, r26, r0 -/* 8029C4C0 00299420 48 00 00 3C */ b lbl_8029C4FC -lbl_8029C4C4: -/* 8029C4C4 00299424 28 1A 00 00 */ cmplwi r26, 0 -/* 8029C4C8 00299428 41 82 00 30 */ beq lbl_8029C4F8 -/* 8029C4CC 0029942C 88 1A 00 00 */ lbz r0, 0(r26) -/* 8029C4D0 00299430 28 00 00 00 */ cmplwi r0, 0 -/* 8029C4D4 00299434 41 82 00 24 */ beq lbl_8029C4F8 -/* 8029C4D8 00299438 83 7A 00 04 */ lwz r27, 4(r26) -/* 8029C4DC 0029943C 28 1B 00 00 */ cmplwi r27, 0 -/* 8029C4E0 00299440 41 82 00 18 */ beq lbl_8029C4F8 -/* 8029C4E4 00299444 7F 63 DB 78 */ mr r3, r27 -/* 8029C4E8 00299448 38 80 00 00 */ li r4, 0 -/* 8029C4EC 0029944C 48 0A 49 55 */ bl __dt__6CTokenFv -/* 8029C4F0 00299450 7F 63 DB 78 */ mr r3, r27 -/* 8029C4F4 00299454 48 07 94 3D */ bl Free__7CMemoryFPCv -lbl_8029C4F8: -/* 8029C4F8 00299458 3B 5A 00 08 */ addi r26, r26, 8 -lbl_8029C4FC: -/* 8029C4FC 0029945C 7C 1A E0 40 */ cmplw r26, r28 -/* 8029C500 00299460 40 82 FF C4 */ bne lbl_8029C4C4 -/* 8029C504 00299464 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8029C508 00299468 28 03 00 00 */ cmplwi r3, 0 -/* 8029C50C 0029946C 41 82 00 08 */ beq lbl_8029C514 -/* 8029C510 00299470 48 07 94 21 */ bl Free__7CMemoryFPCv -lbl_8029C514: -/* 8029C514 00299474 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8029C518 00299478 93 FE 00 08 */ stw r31, 8(r30) -lbl_8029C51C: -/* 8029C51C 0029947C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8029C520 00299480 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029C524 00299484 7C 08 03 A6 */ mtlr r0 -/* 8029C528 00299488 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029C52C 0029948C 4E 80 00 20 */ blr - -.global sub_8029c530 -sub_8029c530: -/* 8029C530 00299490 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029C534 00299494 7C 08 02 A6 */ mflr r0 -/* 8029C538 00299498 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C53C 0029949C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029C540 002994A0 88 01 00 08 */ lbz r0, 8(r1) -/* 8029C544 002994A4 98 01 00 0C */ stb r0, 0xc(r1) -/* 8029C548 002994A8 48 00 00 15 */ bl sub_8029c55c -/* 8029C54C 002994AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C550 002994B0 7C 08 03 A6 */ mtlr r0 -/* 8029C554 002994B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029C558 002994B8 4E 80 00 20 */ blr - -.global sub_8029c55c -sub_8029c55c: -/* 8029C55C 002994BC 80 A3 00 00 */ lwz r5, 0(r3) -/* 8029C560 002994C0 54 80 18 38 */ slwi r0, r4, 3 -/* 8029C564 002994C4 7C 05 02 14 */ add r0, r5, r0 -/* 8029C568 002994C8 90 03 00 00 */ stw r0, 0(r3) -/* 8029C56C 002994CC 4E 80 00 20 */ blr - -.global sub_8029c570 -sub_8029c570: -/* 8029C570 002994D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029C574 002994D4 7C 08 02 A6 */ mflr r0 -/* 8029C578 002994D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029C57C 002994DC 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029C580 002994E0 88 E1 00 08 */ lbz r7, 8(r1) -/* 8029C584 002994E4 80 C4 00 00 */ lwz r6, 0(r4) -/* 8029C588 002994E8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029C58C 002994EC 80 03 00 00 */ lwz r0, 0(r3) -/* 8029C590 002994F0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029C594 002994F4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8029C598 002994F8 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8029C59C 002994FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C5A0 00299500 48 00 00 15 */ bl sub_8029c5b4 -/* 8029C5A4 00299504 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029C5A8 00299508 7C 08 03 A6 */ mtlr r0 -/* 8029C5AC 0029950C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029C5B0 00299510 4E 80 00 20 */ blr - -.global sub_8029c5b4 -sub_8029c5b4: -/* 8029C5B4 00299514 80 63 00 00 */ lwz r3, 0(r3) -/* 8029C5B8 00299518 80 04 00 00 */ lwz r0, 0(r4) -/* 8029C5BC 0029951C 7C 03 00 50 */ subf r0, r3, r0 -/* 8029C5C0 00299520 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8029C5C4 00299524 7C 60 01 94 */ addze r3, r0 -/* 8029C5C8 00299528 4E 80 00 20 */ blr - -.global __sinit_CSlideShow_cpp -__sinit_CSlideShow_cpp: -/* 8029C5CC 0029952C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029C5D0 00299530 7C 08 02 A6 */ mflr r0 -/* 8029C5D4 00299534 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2) -/* 8029C5D8 00299538 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21 -/* 8029C5DC 0029953C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C5E0 00299540 FC 40 08 90 */ fmr f2, f1 -/* 8029C5E4 00299544 48 07 7C 1D */ bl __ct__9CVector2fFff -/* 8029C5E8 00299548 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C5EC 0029954C 7C 08 03 A6 */ mtlr r0 -/* 8029C5F0 00299550 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029C5F4 00299554 4E 80 00 20 */ blr - -.global __ct__15CTweakSlideShowFR12CInputStream -__ct__15CTweakSlideShowFR12CInputStream: -/* 8029C5F8 00299558 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8029C5FC 0029955C 7C 08 02 A6 */ mflr r0 -/* 8029C600 00299560 3C A0 80 3F */ lis r5, lbl_803EC000@ha -/* 8029C604 00299564 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha -/* 8029C608 00299568 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029C60C 0029956C 38 06 9C C4 */ addi r0, r6, lbl_803D9CC4@l -/* 8029C610 00299570 38 A5 C0 00 */ addi r5, r5, lbl_803EC000@l -/* 8029C614 00299574 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8029C618 00299578 7C 9F 23 78 */ mr r31, r4 -/* 8029C61C 0029957C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8029C620 00299580 7C 7E 1B 78 */ mr r30, r3 -/* 8029C624 00299584 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8029C628 00299588 90 1E 00 00 */ stw r0, 0(r30) -/* 8029C62C 0029958C 38 00 00 00 */ li r0, 0 -/* 8029C630 00299590 90 BE 00 00 */ stw r5, 0(r30) -/* 8029C634 00299594 90 7E 00 04 */ stw r3, 4(r30) -/* 8029C638 00299598 90 1E 00 08 */ stw r0, 8(r30) -/* 8029C63C 0029959C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8029C640 002995A0 90 7E 00 14 */ stw r3, 0x14(r30) -/* 8029C644 002995A4 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8029C648 002995A8 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8029C64C 002995AC 48 0A D9 61 */ bl White__6CColorFv -/* 8029C650 002995B0 80 03 00 00 */ lwz r0, 0(r3) -/* 8029C654 002995B4 90 1E 00 24 */ stw r0, 0x24(r30) -/* 8029C658 002995B8 48 0A D9 55 */ bl White__6CColorFv -/* 8029C65C 002995BC 80 03 00 00 */ lwz r0, 0(r3) -/* 8029C660 002995C0 C0 02 C0 38 */ lfs f0, lbl_805ADD58@sda21(r2) -/* 8029C664 002995C4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 8029C668 002995C8 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 8029C66C 002995CC D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8029C670 002995D0 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 8029C674 002995D4 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 8029C678 002995D8 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 8029C67C 002995DC 48 0A D9 31 */ bl White__6CColorFv -/* 8029C680 002995E0 80 03 00 00 */ lwz r0, 0(r3) -/* 8029C684 002995E4 7F E4 FB 78 */ mr r4, r31 -/* 8029C688 002995E8 C0 22 C0 38 */ lfs f1, lbl_805ADD58@sda21(r2) -/* 8029C68C 002995EC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029C690 002995F0 90 1E 00 40 */ stw r0, 0x40(r30) -/* 8029C694 002995F4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029C698 002995F8 C0 02 C0 3C */ lfs f0, lbl_805ADD5C@sda21(r2) -/* 8029C69C 002995FC D0 3E 00 44 */ stfs f1, 0x44(r30) -/* 8029C6A0 00299600 D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 8029C6A4 00299604 D0 3E 00 4C */ stfs f1, 0x4c(r30) -/* 8029C6A8 00299608 D0 3E 00 50 */ stfs f1, 0x50(r30) -/* 8029C6AC 0029960C D0 1E 00 54 */ stfs f0, 0x54(r30) -/* 8029C6B0 00299610 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 8029C6B4 00299614 48 0A 1C 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 8029C6B8 00299618 38 7E 00 04 */ addi r3, r30, 4 -/* 8029C6BC 0029961C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8029C6C0 00299620 48 0A 16 9D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029C6C4 00299624 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029C6C8 00299628 48 0A 14 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029C6CC 0029962C 7F E4 FB 78 */ mr r4, r31 -/* 8029C6D0 00299630 38 61 00 1C */ addi r3, r1, 0x1c -/* 8029C6D4 00299634 38 A1 00 08 */ addi r5, r1, 8 -/* 8029C6D8 00299638 48 0A 1C 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 8029C6DC 0029963C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8029C6E0 00299640 38 81 00 1C */ addi r4, r1, 0x1c -/* 8029C6E4 00299644 48 0A 16 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029C6E8 00299648 38 61 00 1C */ addi r3, r1, 0x1c -/* 8029C6EC 0029964C 48 0A 13 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029C6F0 00299650 7F E4 FB 78 */ mr r4, r31 -/* 8029C6F4 00299654 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029C6F8 00299658 48 0C 6D 55 */ bl __ct__6CColorFR12CInputStream -/* 8029C6FC 0029965C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8029C700 00299660 7F E4 FB 78 */ mr r4, r31 -/* 8029C704 00299664 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029C708 00299668 90 1E 00 24 */ stw r0, 0x24(r30) -/* 8029C70C 0029966C 48 0C 6D 41 */ bl __ct__6CColorFR12CInputStream -/* 8029C710 00299670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C714 00299674 7F E3 FB 78 */ mr r3, r31 -/* 8029C718 00299678 90 1E 00 28 */ stw r0, 0x28(r30) -/* 8029C71C 0029967C 48 0A 25 0D */ bl ReadFloat__12CInputStreamFv -/* 8029C720 00299680 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 8029C724 00299684 7F E3 FB 78 */ mr r3, r31 -/* 8029C728 00299688 48 0A 25 01 */ bl ReadFloat__12CInputStreamFv -/* 8029C72C 0029968C D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 8029C730 00299690 7F E3 FB 78 */ mr r3, r31 -/* 8029C734 00299694 48 0A 24 F5 */ bl ReadFloat__12CInputStreamFv -/* 8029C738 00299698 D0 3E 00 34 */ stfs f1, 0x34(r30) -/* 8029C73C 0029969C 7F E3 FB 78 */ mr r3, r31 -/* 8029C740 002996A0 48 0A 24 E9 */ bl ReadFloat__12CInputStreamFv -/* 8029C744 002996A4 D0 3E 00 38 */ stfs f1, 0x38(r30) -/* 8029C748 002996A8 7F E3 FB 78 */ mr r3, r31 -/* 8029C74C 002996AC 48 0A 24 DD */ bl ReadFloat__12CInputStreamFv -/* 8029C750 002996B0 D0 3E 00 3C */ stfs f1, 0x3c(r30) -/* 8029C754 002996B4 7F E4 FB 78 */ mr r4, r31 -/* 8029C758 002996B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029C75C 002996BC 48 0C 6C F1 */ bl __ct__6CColorFR12CInputStream -/* 8029C760 002996C0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8029C764 002996C4 7F E3 FB 78 */ mr r3, r31 -/* 8029C768 002996C8 90 1E 00 40 */ stw r0, 0x40(r30) -/* 8029C76C 002996CC 48 0A 24 BD */ bl ReadFloat__12CInputStreamFv -/* 8029C770 002996D0 D0 3E 00 44 */ stfs f1, 0x44(r30) -/* 8029C774 002996D4 7F E3 FB 78 */ mr r3, r31 -/* 8029C778 002996D8 48 0A 24 B1 */ bl ReadFloat__12CInputStreamFv -/* 8029C77C 002996DC D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 8029C780 002996E0 7F E3 FB 78 */ mr r3, r31 -/* 8029C784 002996E4 48 0A 24 A5 */ bl ReadFloat__12CInputStreamFv -/* 8029C788 002996E8 D0 3E 00 4C */ stfs f1, 0x4c(r30) -/* 8029C78C 002996EC 7F E3 FB 78 */ mr r3, r31 -/* 8029C790 002996F0 48 0A 24 99 */ bl ReadFloat__12CInputStreamFv -/* 8029C794 002996F4 D0 3E 00 50 */ stfs f1, 0x50(r30) -/* 8029C798 002996F8 7F E3 FB 78 */ mr r3, r31 -/* 8029C79C 002996FC 48 0A 24 8D */ bl ReadFloat__12CInputStreamFv -/* 8029C7A0 00299700 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 8029C7A4 00299704 7F E3 FB 78 */ mr r3, r31 -/* 8029C7A8 00299708 48 0A 24 81 */ bl ReadFloat__12CInputStreamFv -/* 8029C7AC 0029970C D0 3E 00 58 */ stfs f1, 0x58(r30) -/* 8029C7B0 00299710 7F C3 F3 78 */ mr r3, r30 -/* 8029C7B4 00299714 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8029C7B8 00299718 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8029C7BC 0029971C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8029C7C0 00299720 7C 08 03 A6 */ mtlr r0 -/* 8029C7C4 00299724 38 21 00 50 */ addi r1, r1, 0x50 -/* 8029C7C8 00299728 4E 80 00 20 */ blr - -.global sub_8029c7cc -sub_8029c7cc: -/* 8029C7CC 0029972C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029C7D0 00299730 7C 08 02 A6 */ mflr r0 -/* 8029C7D4 00299734 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C7D8 00299738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029C7DC 0029973C 7C 9F 23 78 */ mr r31, r4 -/* 8029C7E0 00299740 93 C1 00 08 */ stw r30, 8(r1) -/* 8029C7E4 00299744 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029C7E8 00299748 41 82 00 54 */ beq lbl_8029C83C -/* 8029C7EC 0029974C 3C 60 80 3F */ lis r3, lbl_803EC000@ha -/* 8029C7F0 00299750 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8029C7F4 00299754 38 03 C0 00 */ addi r0, r3, lbl_803EC000@l -/* 8029C7F8 00299758 90 1E 00 00 */ stw r0, 0(r30) -/* 8029C7FC 0029975C 41 82 00 0C */ beq lbl_8029C808 -/* 8029C800 00299760 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8029C804 00299764 48 0A 12 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8029C808: -/* 8029C808 00299768 34 1E 00 04 */ addic. r0, r30, 4 -/* 8029C80C 0029976C 41 82 00 0C */ beq lbl_8029C818 -/* 8029C810 00299770 38 7E 00 04 */ addi r3, r30, 4 -/* 8029C814 00299774 48 0A 12 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8029C818: -/* 8029C818 00299778 28 1E 00 00 */ cmplwi r30, 0 -/* 8029C81C 0029977C 41 82 00 10 */ beq lbl_8029C82C -/* 8029C820 00299780 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha -/* 8029C824 00299784 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l -/* 8029C828 00299788 90 1E 00 00 */ stw r0, 0(r30) -lbl_8029C82C: -/* 8029C82C 0029978C 7F E0 07 35 */ extsh. r0, r31 -/* 8029C830 00299790 40 81 00 0C */ ble lbl_8029C83C -/* 8029C834 00299794 7F C3 F3 78 */ mr r3, r30 -/* 8029C838 00299798 48 00 00 21 */ bl sub_8029c858 -lbl_8029C83C: -/* 8029C83C 0029979C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C840 002997A0 7F C3 F3 78 */ mr r3, r30 -/* 8029C844 002997A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029C848 002997A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029C84C 002997AC 7C 08 03 A6 */ mtlr r0 -/* 8029C850 002997B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029C854 002997B4 4E 80 00 20 */ blr - -.global sub_8029c858 -sub_8029c858: -/* 8029C858 002997B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029C85C 002997BC 7C 08 02 A6 */ mflr r0 -/* 8029C860 002997C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029C864 002997C4 4B D9 A5 61 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv" -/* 8029C868 002997C8 80 83 00 00 */ lwz r4, 0(r3) -/* 8029C86C 002997CC 38 04 FF FF */ addi r0, r4, -1 -/* 8029C870 002997D0 90 03 00 00 */ stw r0, 0(r3) -/* 8029C874 002997D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029C878 002997D8 7C 08 03 A6 */ mtlr r0 -/* 8029C87C 002997DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029C880 002997E0 4E 80 00 20 */ blr - -.global GetArtifactHeadScanIndex__13CArtifactDollFUi -GetArtifactHeadScanIndex__13CArtifactDollFUi: -/* 8029C884 002997E4 3C 80 80 3D */ lis r4, lbl_803D5D80@ha -/* 8029C888 002997E8 38 00 00 02 */ li r0, 2 -/* 8029C88C 002997EC 38 84 5D 80 */ addi r4, r4, lbl_803D5D80@l -/* 8029C890 002997F0 38 A0 00 00 */ li r5, 0 -/* 8029C894 002997F4 7C 09 03 A6 */ mtctr r0 -lbl_8029C898: -/* 8029C898 002997F8 80 04 00 00 */ lwz r0, 0(r4) -/* 8029C89C 002997FC 7C 03 00 40 */ cmplw r3, r0 -/* 8029C8A0 00299800 40 82 00 0C */ bne lbl_8029C8AC -/* 8029C8A4 00299804 7C A3 2B 78 */ mr r3, r5 -/* 8029C8A8 00299808 4E 80 00 20 */ blr -lbl_8029C8AC: -/* 8029C8AC 0029980C 84 04 00 04 */ lwzu r0, 4(r4) -/* 8029C8B0 00299810 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C8B4 00299814 7C 03 00 40 */ cmplw r3, r0 -/* 8029C8B8 00299818 40 82 00 0C */ bne lbl_8029C8C4 -/* 8029C8BC 0029981C 7C A3 2B 78 */ mr r3, r5 -/* 8029C8C0 00299820 4E 80 00 20 */ blr -lbl_8029C8C4: -/* 8029C8C4 00299824 84 04 00 04 */ lwzu r0, 4(r4) -/* 8029C8C8 00299828 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C8CC 0029982C 7C 03 00 40 */ cmplw r3, r0 -/* 8029C8D0 00299830 40 82 00 0C */ bne lbl_8029C8DC -/* 8029C8D4 00299834 7C A3 2B 78 */ mr r3, r5 -/* 8029C8D8 00299838 4E 80 00 20 */ blr -lbl_8029C8DC: -/* 8029C8DC 0029983C 84 04 00 04 */ lwzu r0, 4(r4) -/* 8029C8E0 00299840 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C8E4 00299844 7C 03 00 40 */ cmplw r3, r0 -/* 8029C8E8 00299848 40 82 00 0C */ bne lbl_8029C8F4 -/* 8029C8EC 0029984C 7C A3 2B 78 */ mr r3, r5 -/* 8029C8F0 00299850 4E 80 00 20 */ blr -lbl_8029C8F4: -/* 8029C8F4 00299854 84 04 00 04 */ lwzu r0, 4(r4) -/* 8029C8F8 00299858 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C8FC 0029985C 7C 03 00 40 */ cmplw r3, r0 -/* 8029C900 00299860 40 82 00 0C */ bne lbl_8029C90C -/* 8029C904 00299864 7C A3 2B 78 */ mr r3, r5 -/* 8029C908 00299868 4E 80 00 20 */ blr -lbl_8029C90C: -/* 8029C90C 0029986C 84 04 00 04 */ lwzu r0, 4(r4) -/* 8029C910 00299870 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C914 00299874 7C 03 00 40 */ cmplw r3, r0 -/* 8029C918 00299878 40 82 00 0C */ bne lbl_8029C924 -/* 8029C91C 0029987C 7C A3 2B 78 */ mr r3, r5 -/* 8029C920 00299880 4E 80 00 20 */ blr -lbl_8029C924: -/* 8029C924 00299884 38 84 00 04 */ addi r4, r4, 4 -/* 8029C928 00299888 38 A5 00 01 */ addi r5, r5, 1 -/* 8029C92C 0029988C 42 00 FF 6C */ bdnz lbl_8029C898 -/* 8029C930 00299890 38 60 FF FF */ li r3, -1 -/* 8029C934 00299894 4E 80 00 20 */ blr - -.global GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType -GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType: -/* 8029C938 00299898 2C 03 00 1D */ cmpwi r3, 0x1d -/* 8029C93C 0029989C 41 80 00 24 */ blt lbl_8029C960 -/* 8029C940 002998A0 2C 03 00 28 */ cmpwi r3, 0x28 -/* 8029C944 002998A4 41 81 00 1C */ bgt lbl_8029C960 -/* 8029C948 002998A8 38 03 FF E3 */ addi r0, r3, -29 -/* 8029C94C 002998AC 3C 60 80 3D */ lis r3, lbl_803D5D80@ha -/* 8029C950 002998B0 54 00 10 3A */ slwi r0, r0, 2 -/* 8029C954 002998B4 38 63 5D 80 */ addi r3, r3, lbl_803D5D80@l -/* 8029C958 002998B8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8029C95C 002998BC 4E 80 00 20 */ blr -lbl_8029C960: -/* 8029C960 002998C0 38 60 FF FF */ li r3, -1 -/* 8029C964 002998C4 4E 80 00 20 */ blr - -.global Draw__13CArtifactDollFfRC13CStateManagerbUi -Draw__13CArtifactDollFfRC13CStateManagerbUi: -/* 8029C968 002998C8 94 21 FD 90 */ stwu r1, -0x270(r1) -/* 8029C96C 002998CC 7C 08 02 A6 */ mflr r0 -/* 8029C970 002998D0 90 01 02 74 */ stw r0, 0x274(r1) -/* 8029C974 002998D4 DB E1 02 60 */ stfd f31, 0x260(r1) -/* 8029C978 002998D8 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 -/* 8029C97C 002998DC DB C1 02 50 */ stfd f30, 0x250(r1) -/* 8029C980 002998E0 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 -/* 8029C984 002998E4 DB A1 02 40 */ stfd f29, 0x240(r1) -/* 8029C988 002998E8 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 -/* 8029C98C 002998EC DB 81 02 30 */ stfd f28, 0x230(r1) -/* 8029C990 002998F0 F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 -/* 8029C994 002998F4 DB 61 02 20 */ stfd f27, 0x220(r1) -/* 8029C998 002998F8 F3 61 02 28 */ psq_st f27, 552(r1), 0, qr0 -/* 8029C99C 002998FC DB 41 02 10 */ stfd f26, 0x210(r1) -/* 8029C9A0 00299900 F3 41 02 18 */ psq_st f26, 536(r1), 0, qr0 -/* 8029C9A4 00299904 BE C1 01 E8 */ stmw r22, 0x1e8(r1) -/* 8029C9A8 00299908 FF 40 08 90 */ fmr f26, f1 -/* 8029C9AC 0029990C 7C 7D 1B 78 */ mr r29, r3 -/* 8029C9B0 00299910 7C 9E 23 78 */ mr r30, r4 -/* 8029C9B4 00299914 7C B6 2B 78 */ mr r22, r5 -/* 8029C9B8 00299918 7C DF 33 78 */ mr r31, r6 -/* 8029C9BC 0029991C 48 00 0A 65 */ bl IsLoaded__13CArtifactDollCFv -/* 8029C9C0 00299920 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029C9C4 00299924 41 82 03 F4 */ beq lbl_8029CDB8 -/* 8029C9C8 00299928 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8029C9CC 0029992C 3C 80 43 30 */ lis r4, 0x4330 -/* 8029C9D0 00299930 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 8029C9D4 00299934 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029C9D8 00299938 80 A6 00 08 */ lwz r5, 8(r6) -/* 8029C9DC 0029993C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8029C9E0 00299940 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8029C9E4 00299944 81 83 00 00 */ lwz r12, 0(r3) -/* 8029C9E8 00299948 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8029C9EC 0029994C 90 A1 01 DC */ stw r5, 0x1dc(r1) -/* 8029C9F0 00299950 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 8029C9F4 00299954 90 81 01 D8 */ stw r4, 0x1d8(r1) -/* 8029C9F8 00299958 C8 62 C0 78 */ lfd f3, lbl_805ADD98@sda21(r2) -/* 8029C9FC 0029995C EF BA 00 32 */ fmuls f29, f26, f0 -/* 8029CA00 00299960 C8 01 01 D8 */ lfd f0, 0x1d8(r1) -/* 8029CA04 00299964 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 8029CA08 00299968 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8029CA0C 0029996C EC 40 18 28 */ fsubs f2, f0, f3 -/* 8029CA10 00299970 90 81 01 E0 */ stw r4, 0x1e0(r1) -/* 8029CA14 00299974 C0 22 C0 40 */ lfs f1, lbl_805ADD60@sda21(r2) -/* 8029CA18 00299978 C8 01 01 E0 */ lfd f0, 0x1e0(r1) -/* 8029CA1C 0029997C C0 82 C0 44 */ lfs f4, lbl_805ADD64@sda21(r2) -/* 8029CA20 00299980 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8029CA24 00299984 C0 A2 C0 48 */ lfs f5, lbl_805ADD68@sda21(r2) -/* 8029CA28 00299988 7D 89 03 A6 */ mtctr r12 -/* 8029CA2C 0029998C 4E 80 04 21 */ bctrl -/* 8029CA30 00299990 C0 22 C0 4C */ lfs f1, lbl_805ADD6C@sda21(r2) -/* 8029CA34 00299994 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 8029CA38 00299998 C0 42 C0 50 */ lfs f2, lbl_805ADD70@sda21(r2) -/* 8029CA3C 0029999C FC 60 08 90 */ fmr f3, f1 -/* 8029CA40 002999A0 48 07 67 49 */ bl Translate__12CTransform4fFfff -/* 8029CA44 002999A4 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 8029CA48 002999A8 48 06 FD 05 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029CA4C 002999AC 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 8029CA50 002999B0 4B E6 83 39 */ bl ActivateLights__12CActorLightsCFv -/* 8029CA54 002999B4 48 06 D4 8D */ bl GetSecondsMod900__9CGraphicsFv -/* 8029CA58 002999B8 C0 02 C0 5C */ lfs f0, lbl_805ADD7C@sda21(r2) -/* 8029CA5C 002999BC C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2) -/* 8029CA60 002999C0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8029CA64 002999C4 C0 02 C0 54 */ lfs f0, lbl_805ADD74@sda21(r2) -/* 8029CA68 002999C8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8029CA6C 002999CC EF 60 00 72 */ fmuls f27, f0, f1 -/* 8029CA70 002999D0 FC 20 D8 90 */ fmr f1, f27 -/* 8029CA74 002999D4 48 07 88 95 */ bl SlowSineR__5CMathFf -/* 8029CA78 002999D8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2) -/* 8029CA7C 002999DC EF 80 00 72 */ fmuls f28, f0, f1 -/* 8029CA80 002999E0 FC 20 D8 90 */ fmr f1, f27 -/* 8029CA84 002999E4 48 07 88 61 */ bl SlowCosineR__5CMathFf -/* 8029CA88 002999E8 C0 02 C0 60 */ lfs f0, lbl_805ADD80@sda21(r2) -/* 8029CA8C 002999EC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8029CA90 002999F0 C0 42 C0 68 */ lfs f2, lbl_805ADD88@sda21(r2) -/* 8029CA94 002999F4 EC 80 00 72 */ fmuls f4, f0, f1 -/* 8029CA98 002999F8 C0 62 C0 64 */ lfs f3, lbl_805ADD84@sda21(r2) -/* 8029CA9C 002999FC EC 02 07 32 */ fmuls f0, f2, f28 -/* 8029CAA0 00299A00 C0 22 C0 44 */ lfs f1, lbl_805ADD64@sda21(r2) -/* 8029CAA4 00299A04 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8029CAA8 00299A08 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8029CAAC 00299A0C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8029CAB0 00299A10 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8029CAB4 00299A14 48 07 67 8D */ bl Scale__12CTransform4fFf -/* 8029CAB8 00299A18 38 61 00 84 */ addi r3, r1, 0x84 -/* 8029CABC 00299A1C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8029CAC0 00299A20 48 07 6E 81 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8029CAC4 00299A24 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8029CAC8 00299A28 38 81 00 20 */ addi r4, r1, 0x20 -/* 8029CACC 00299A2C 48 07 6D 45 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8029CAD0 00299A30 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8029CAD4 00299A34 38 81 00 24 */ addi r4, r1, 0x24 -/* 8029CAD8 00299A38 48 07 6E 69 */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 8029CADC 00299A3C 38 61 01 14 */ addi r3, r1, 0x114 -/* 8029CAE0 00299A40 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 8029CAE4 00299A44 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8029CAE8 00299A48 48 07 5E 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029CAEC 00299A4C 38 61 01 44 */ addi r3, r1, 0x144 -/* 8029CAF0 00299A50 38 81 01 14 */ addi r4, r1, 0x114 -/* 8029CAF4 00299A54 38 A1 00 84 */ addi r5, r1, 0x84 -/* 8029CAF8 00299A58 48 07 5E 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029CAFC 00299A5C 38 61 01 74 */ addi r3, r1, 0x174 -/* 8029CB00 00299A60 38 81 01 44 */ addi r4, r1, 0x144 -/* 8029CB04 00299A64 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8029CB08 00299A68 48 07 5E 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029CB0C 00299A6C 38 61 01 74 */ addi r3, r1, 0x174 -/* 8029CB10 00299A70 48 06 FA D1 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8029CB14 00299A74 80 9E 08 B8 */ lwz r4, 0x8b8(r30) -/* 8029CB18 00299A78 38 60 00 00 */ li r3, 0 -/* 8029CB1C 00299A7C 83 44 00 00 */ lwz r26, 0(r4) -/* 8029CB20 00299A80 48 06 EF 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8029CB24 00299A84 3C 60 80 3D */ lis r3, lbl_803D5D80@ha -/* 8029CB28 00299A88 CB 82 C0 80 */ lfd f28, lbl_805ADDA0@sda21(r2) -/* 8029CB2C 00299A8C 56 DB 06 3E */ clrlwi r27, r22, 0x18 -/* 8029CB30 00299A90 3A E1 00 40 */ addi r23, r1, 0x40 -/* 8029CB34 00299A94 3B 03 5D 80 */ addi r24, r3, lbl_803D5D80@l -/* 8029CB38 00299A98 3A C0 00 00 */ li r22, 0 -/* 8029CB3C 00299A9C 3B 20 00 00 */ li r25, 0 -/* 8029CB40 00299AA0 3F 80 43 30 */ lis r28, 0x4330 -/* 8029CB44 00299AA4 48 00 02 5C */ b lbl_8029CDA0 -lbl_8029CB48: -/* 8029CB48 00299AA8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8029CB4C 00299AAC 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029CB50 00299AB0 7C 80 CA 14 */ add r4, r0, r25 -/* 8029CB54 00299AB4 48 0A 43 55 */ bl __ct__6CTokenFRC6CToken -/* 8029CB58 00299AB8 7F 43 D3 78 */ mr r3, r26 -/* 8029CB5C 00299ABC 38 96 00 1D */ addi r4, r22, 0x1d -/* 8029CB60 00299AC0 4B DF 4F 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8029CB64 00299AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029CB68 00299AC8 80 6D A5 B4 */ lwz r3, lbl_805A9174@sda21(r13) -/* 8029CB6C 00299ACC 90 61 00 28 */ stw r3, 0x28(r1) -/* 8029CB70 00299AD0 41 82 00 98 */ beq lbl_8029CC08 -/* 8029CB74 00299AD4 80 98 00 00 */ lwz r4, 0(r24) -/* 8029CB78 00299AD8 3C 04 00 01 */ addis r0, r4, 1 -/* 8029CB7C 00299ADC 28 00 FF FF */ cmplwi r0, 0xffff -/* 8029CB80 00299AE0 41 82 00 80 */ beq lbl_8029CC00 -/* 8029CB84 00299AE4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8029CB88 00299AE8 80 63 00 00 */ lwz r3, 0(r3) -/* 8029CB8C 00299AEC 4B DF 4B 05 */ bl GetScanTime__12CPlayerStateCFUi -/* 8029CB90 00299AF0 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2) -/* 8029CB94 00299AF4 C0 62 C0 58 */ lfs f3, lbl_805ADD78@sda21(r2) -/* 8029CB98 00299AF8 EC 01 10 28 */ fsubs f0, f1, f2 -/* 8029CB9C 00299AFC EF 63 00 32 */ fmuls f27, f3, f0 -/* 8029CBA0 00299B00 FC 1B 10 40 */ fcmpo cr0, f27, f2 -/* 8029CBA4 00299B04 40 80 00 2C */ bge lbl_8029CBD0 -/* 8029CBA8 00299B08 48 0A D4 05 */ bl White__6CColorFv -/* 8029CBAC 00299B0C C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2) -/* 8029CBB0 00299B10 7C 65 1B 78 */ mr r5, r3 -/* 8029CBB4 00299B14 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029CBB8 00299B18 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21 -/* 8029CBBC 00299B1C EC 20 06 F2 */ fmuls f1, f0, f27 -/* 8029CBC0 00299B20 48 0C 66 ED */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8029CBC4 00299B24 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8029CBC8 00299B28 90 01 00 28 */ stw r0, 0x28(r1) -/* 8029CBCC 00299B2C 48 00 00 3C */ b lbl_8029CC08 -lbl_8029CBD0: -/* 8029CBD0 00299B30 48 0A D3 DD */ bl White__6CColorFv -/* 8029CBD4 00299B34 C0 02 C0 6C */ lfs f0, lbl_805ADD8C@sda21(r2) -/* 8029CBD8 00299B38 7C 64 1B 78 */ mr r4, r3 -/* 8029CBDC 00299B3C C0 22 C0 58 */ lfs f1, lbl_805ADD78@sda21(r2) -/* 8029CBE0 00299B40 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029CBE4 00299B44 EC 1B 00 28 */ fsubs f0, f27, f0 -/* 8029CBE8 00299B48 38 AD A5 B0 */ addi r5, r13, lbl_805A9170@sda21 -/* 8029CBEC 00299B4C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8029CBF0 00299B50 48 0C 66 BD */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8029CBF4 00299B54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029CBF8 00299B58 90 01 00 28 */ stw r0, 0x28(r1) -/* 8029CBFC 00299B5C 48 00 00 0C */ b lbl_8029CC08 -lbl_8029CC00: -/* 8029CC00 00299B60 80 0D A5 B0 */ lwz r0, lbl_805A9170@sda21(r13) -/* 8029CC04 00299B64 90 01 00 28 */ stw r0, 0x28(r1) -lbl_8029CC08: -/* 8029CC08 00299B68 28 1B 00 00 */ cmplwi r27, 0 -/* 8029CC0C 00299B6C 41 82 00 A0 */ beq lbl_8029CCAC -/* 8029CC10 00299B70 7C 16 F8 00 */ cmpw r22, r31 -/* 8029CC14 00299B74 40 82 00 98 */ bne lbl_8029CCAC -/* 8029CC18 00299B78 48 06 D2 C9 */ bl GetSecondsMod900__9CGraphicsFv -/* 8029CC1C 00299B7C C0 42 C0 5C */ lfs f2, lbl_805ADD7C@sda21(r2) -/* 8029CC20 00299B80 C0 02 C0 58 */ lfs f0, lbl_805ADD78@sda21(r2) -/* 8029CC24 00299B84 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8029CC28 00299B88 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8029CC2C 00299B8C 48 07 86 DD */ bl SlowSineR__5CMathFf -/* 8029CC30 00299B90 C0 02 C0 70 */ lfs f0, lbl_805ADD90@sda21(r2) -/* 8029CC34 00299B94 38 81 00 0C */ addi r4, r1, 0xc -/* 8029CC38 00299B98 C0 42 C0 6C */ lfs f2, lbl_805ADD8C@sda21(r2) -/* 8029CC3C 00299B9C 38 6D 9A 18 */ addi r3, r13, lbl_805A85D8@sda21 -/* 8029CC40 00299BA0 EC 20 08 2A */ fadds f1, f0, f1 -/* 8029CC44 00299BA4 C0 02 C0 74 */ lfs f0, lbl_805ADD94@sda21(r2) -/* 8029CC48 00299BA8 38 AD 9A 1C */ addi r5, r13, lbl_805A85DC@sda21 -/* 8029CC4C 00299BAC EF 42 00 72 */ fmuls f26, f2, f1 -/* 8029CC50 00299BB0 EC 00 D0 28 */ fsubs f0, f0, f26 -/* 8029CC54 00299BB4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8029CC58 00299BB8 4B D6 F6 5D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8029CC5C 00299BBC C3 63 00 00 */ lfs f27, 0(r3) -/* 8029CC60 00299BC0 48 0A D3 4D */ bl White__6CColorFv -/* 8029CC64 00299BC4 FC 20 D0 90 */ fmr f1, f26 -/* 8029CC68 00299BC8 7C 64 1B 78 */ mr r4, r3 -/* 8029CC6C 00299BCC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029CC70 00299BD0 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8029CC74 00299BD4 48 0C 66 39 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8029CC78 00299BD8 88 61 00 13 */ lbz r3, 0x13(r1) -/* 8029CC7C 00299BDC 3C 00 43 30 */ lis r0, 0x4330 -/* 8029CC80 00299BE0 90 01 01 E0 */ stw r0, 0x1e0(r1) -/* 8029CC84 00299BE4 C8 22 C0 80 */ lfd f1, lbl_805ADDA0@sda21(r2) -/* 8029CC88 00299BE8 90 61 01 E4 */ stw r3, 0x1e4(r1) -/* 8029CC8C 00299BEC C8 01 01 E0 */ lfd f0, 0x1e0(r1) -/* 8029CC90 00299BF0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8029CC94 00299BF4 EF DB 00 32 */ fmuls f30, f27, f0 -/* 8029CC98 00299BF8 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 8029CC9C 00299BFC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8029CCA0 00299C00 88 01 00 08 */ lbz r0, 8(r1) -/* 8029CCA4 00299C04 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 8029CCA8 00299C08 90 01 00 28 */ stw r0, 0x28(r1) -lbl_8029CCAC: -/* 8029CCAC 00299C0C C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) -/* 8029CCB0 00299C10 38 80 00 07 */ li r4, 7 -/* 8029CCB4 00299C14 38 60 00 00 */ li r3, 0 -/* 8029CCB8 00299C18 38 00 00 03 */ li r0, 3 -/* 8029CCBC 00299C1C FC 40 08 90 */ fmr f2, f1 -/* 8029CCC0 00299C20 98 81 00 3C */ stb r4, 0x3c(r1) -/* 8029CCC4 00299C24 FC 60 08 90 */ fmr f3, f1 -/* 8029CCC8 00299C28 C0 82 C0 4C */ lfs f4, lbl_805ADD6C@sda21(r2) -/* 8029CCCC 00299C2C 98 61 00 3D */ stb r3, 0x3d(r1) -/* 8029CCD0 00299C30 7E E3 BB 78 */ mr r3, r23 -/* 8029CCD4 00299C34 B0 01 00 3E */ sth r0, 0x3e(r1) -/* 8029CCD8 00299C38 48 0C 67 15 */ bl __ct__6CColorFffff -/* 8029CCDC 00299C3C A0 01 00 3E */ lhz r0, 0x3e(r1) -/* 8029CCE0 00299C40 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029CCE4 00299C44 88 C1 00 3C */ lbz r6, 0x3c(r1) -/* 8029CCE8 00299C48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8029CCEC 00299C4C 88 A1 00 3D */ lbz r5, 0x3d(r1) -/* 8029CCF0 00299C50 60 04 00 03 */ ori r4, r0, 3 -/* 8029CCF4 00299C54 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8029CCF8 00299C58 98 C1 00 44 */ stb r6, 0x44(r1) -/* 8029CCFC 00299C5C 98 A1 00 45 */ stb r5, 0x45(r1) -/* 8029CD00 00299C60 B0 81 00 46 */ sth r4, 0x46(r1) -/* 8029CD04 00299C64 90 01 00 48 */ stw r0, 0x48(r1) -/* 8029CD08 00299C68 48 0A 41 05 */ bl GetObj__6CTokenFv -/* 8029CD0C 00299C6C 80 63 00 04 */ lwz r3, 4(r3) -/* 8029CD10 00299C70 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029CD14 00299C74 48 0B 8E C1 */ bl Draw__6CModelCFRC11CModelFlags -/* 8029CD18 00299C78 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029CD1C 00299C7C 48 0A 40 F1 */ bl GetObj__6CTokenFv -/* 8029CD20 00299C80 88 01 00 2B */ lbz r0, 0x2b(r1) -/* 8029CD24 00299C84 93 81 01 E0 */ stw r28, 0x1e0(r1) -/* 8029CD28 00299C88 80 63 00 04 */ lwz r3, 4(r3) -/* 8029CD2C 00299C8C 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 8029CD30 00299C90 C8 01 01 E0 */ lfd f0, 0x1e0(r1) -/* 8029CD34 00299C94 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8029CD38 00299C98 EF FD 00 32 */ fmuls f31, f29, f0 -/* 8029CD3C 00299C9C F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 8029CD40 00299CA0 38 A0 00 03 */ li r5, 3 -/* 8029CD44 00299CA4 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d -/* 8029CD48 00299CA8 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8029CD4C 00299CAC 38 E0 00 08 */ li r7, 8 -/* 8029CD50 00299CB0 38 C0 00 00 */ li r6, 0 -/* 8029CD54 00299CB4 89 01 00 09 */ lbz r8, 9(r1) -/* 8029CD58 00299CB8 50 88 00 2E */ rlwimi r8, r4, 0, 0, 0x17 -/* 8029CD5C 00299CBC 60 00 00 01 */ ori r0, r0, 1 -/* 8029CD60 00299CC0 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 8029CD64 00299CC4 38 81 00 34 */ addi r4, r1, 0x34 -/* 8029CD68 00299CC8 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 8029CD6C 00299CCC B0 A1 00 2E */ sth r5, 0x2e(r1) -/* 8029CD70 00299CD0 91 01 00 30 */ stw r8, 0x30(r1) -/* 8029CD74 00299CD4 98 E1 00 34 */ stb r7, 0x34(r1) -/* 8029CD78 00299CD8 98 C1 00 35 */ stb r6, 0x35(r1) -/* 8029CD7C 00299CDC B0 01 00 36 */ sth r0, 0x36(r1) -/* 8029CD80 00299CE0 91 01 00 38 */ stw r8, 0x38(r1) -/* 8029CD84 00299CE4 48 0B 8E 51 */ bl Draw__6CModelCFRC11CModelFlags -/* 8029CD88 00299CE8 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029CD8C 00299CEC 38 80 00 00 */ li r4, 0 -/* 8029CD90 00299CF0 48 0A 40 B1 */ bl __dt__6CTokenFv -/* 8029CD94 00299CF4 3B 39 00 08 */ addi r25, r25, 8 -/* 8029CD98 00299CF8 3B 18 00 04 */ addi r24, r24, 4 -/* 8029CD9C 00299CFC 3A D6 00 01 */ addi r22, r22, 1 -lbl_8029CDA0: -/* 8029CDA0 00299D00 80 1D 00 04 */ lwz r0, 4(r29) -/* 8029CDA4 00299D04 7C 16 00 00 */ cmpw r22, r0 -/* 8029CDA8 00299D08 41 80 FD A0 */ blt lbl_8029CB48 -/* 8029CDAC 00299D0C 38 60 00 01 */ li r3, 1 -/* 8029CDB0 00299D10 48 06 EC C1 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8029CDB4 00299D14 48 06 FB C9 */ bl DisableAllLights__9CGraphicsFv -lbl_8029CDB8: -/* 8029CDB8 00299D18 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 -/* 8029CDBC 00299D1C CB E1 02 60 */ lfd f31, 0x260(r1) -/* 8029CDC0 00299D20 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 -/* 8029CDC4 00299D24 CB C1 02 50 */ lfd f30, 0x250(r1) -/* 8029CDC8 00299D28 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 -/* 8029CDCC 00299D2C CB A1 02 40 */ lfd f29, 0x240(r1) -/* 8029CDD0 00299D30 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 -/* 8029CDD4 00299D34 CB 81 02 30 */ lfd f28, 0x230(r1) -/* 8029CDD8 00299D38 E3 61 02 28 */ psq_l f27, 552(r1), 0, qr0 -/* 8029CDDC 00299D3C CB 61 02 20 */ lfd f27, 0x220(r1) -/* 8029CDE0 00299D40 E3 41 02 18 */ psq_l f26, 536(r1), 0, qr0 -/* 8029CDE4 00299D44 CB 41 02 10 */ lfd f26, 0x210(r1) -/* 8029CDE8 00299D48 BA C1 01 E8 */ lmw r22, 0x1e8(r1) -/* 8029CDEC 00299D4C 80 01 02 74 */ lwz r0, 0x274(r1) -/* 8029CDF0 00299D50 7C 08 03 A6 */ mtlr r0 -/* 8029CDF4 00299D54 38 21 02 70 */ addi r1, r1, 0x270 -/* 8029CDF8 00299D58 4E 80 00 20 */ blr - -.global UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf -UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf: -/* 8029CDFC 00299D5C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029CE00 00299D60 7C 08 02 A6 */ mflr r0 -/* 8029CE04 00299D64 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029CE08 00299D68 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8029CE0C 00299D6C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8029CE10 00299D70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029CE14 00299D74 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029CE18 00299D78 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029CE1C 00299D7C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8029CE20 00299D80 FF E0 08 90 */ fmr f31, f1 -/* 8029CE24 00299D84 3C 80 80 3D */ lis r4, lbl_803D5D80@ha -/* 8029CE28 00299D88 3B E4 5D 80 */ addi r31, r4, lbl_803D5D80@l -/* 8029CE2C 00299D8C 7C 7C 1B 78 */ mr r28, r3 -/* 8029CE30 00299D90 3B C0 00 00 */ li r30, 0 -lbl_8029CE34: -/* 8029CE34 00299D94 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 8029CE38 00299D98 38 9E 00 1D */ addi r4, r30, 0x1d -/* 8029CE3C 00299D9C 80 63 00 00 */ lwz r3, 0(r3) -/* 8029CE40 00299DA0 4B DF 4C 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8029CE44 00299DA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029CE48 00299DA8 41 82 00 4C */ beq lbl_8029CE94 -/* 8029CE4C 00299DAC 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 8029CE50 00299DB0 83 BF 00 00 */ lwz r29, 0(r31) -/* 8029CE54 00299DB4 80 63 00 00 */ lwz r3, 0(r3) -/* 8029CE58 00299DB8 7F A4 EB 78 */ mr r4, r29 -/* 8029CE5C 00299DBC 4B DF 48 35 */ bl GetScanTime__12CPlayerStateCFUi -/* 8029CE60 00299DC0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8029CE64 00299DC4 C0 0D 9A 14 */ lfs f0, lbl_805A85D4@sda21(r13) -/* 8029CE68 00299DC8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029CE6C 00299DCC D0 21 00 08 */ stfs f1, 8(r1) -/* 8029CE70 00299DD0 40 80 00 0C */ bge lbl_8029CE7C -/* 8029CE74 00299DD4 38 A1 00 08 */ addi r5, r1, 8 -/* 8029CE78 00299DD8 48 00 00 08 */ b lbl_8029CE80 -lbl_8029CE7C: -/* 8029CE7C 00299DDC 38 AD 9A 14 */ addi r5, r13, lbl_805A85D4@sda21 -lbl_8029CE80: -/* 8029CE80 00299DE0 80 7C 08 B8 */ lwz r3, 0x8b8(r28) -/* 8029CE84 00299DE4 7F A4 EB 78 */ mr r4, r29 -/* 8029CE88 00299DE8 C0 25 00 00 */ lfs f1, 0(r5) -/* 8029CE8C 00299DEC 80 63 00 00 */ lwz r3, 0(r3) -/* 8029CE90 00299DF0 4B DF 47 45 */ bl SetScanTime__12CPlayerStateFUif -lbl_8029CE94: -/* 8029CE94 00299DF4 3B DE 00 01 */ addi r30, r30, 1 -/* 8029CE98 00299DF8 3B FF 00 04 */ addi r31, r31, 4 -/* 8029CE9C 00299DFC 2C 1E 00 0C */ cmpwi r30, 0xc -/* 8029CEA0 00299E00 41 80 FF 94 */ blt lbl_8029CE34 -/* 8029CEA4 00299E04 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8029CEA8 00299E08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029CEAC 00299E0C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8029CEB0 00299E10 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029CEB4 00299E14 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029CEB8 00299E18 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029CEBC 00299E1C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8029CEC0 00299E20 7C 08 03 A6 */ mtlr r0 -/* 8029CEC4 00299E24 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029CEC8 00299E28 4E 80 00 20 */ blr - -.global CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager -CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager: -/* 8029CECC 00299E2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029CED0 00299E30 7C 08 02 A6 */ mflr r0 -/* 8029CED4 00299E34 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) -/* 8029CED8 00299E38 7C 83 23 78 */ mr r3, r4 -/* 8029CEDC 00299E3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029CEE0 00299E40 4B FF FF 1D */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf -/* 8029CEE4 00299E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029CEE8 00299E48 7C 08 03 A6 */ mtlr r0 -/* 8029CEEC 00299E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029CEF0 00299E50 4E 80 00 20 */ blr - -.global Update__13CArtifactDollFfRC13CStateManager -Update__13CArtifactDollFfRC13CStateManager: -/* 8029CEF4 00299E54 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029CEF8 00299E58 7C 08 02 A6 */ mflr r0 -/* 8029CEFC 00299E5C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029CF00 00299E60 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8029CF04 00299E64 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8029CF08 00299E68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029CF0C 00299E6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029CF10 00299E70 FF E0 08 90 */ fmr f31, f1 -/* 8029CF14 00299E74 7C 7E 1B 78 */ mr r30, r3 -/* 8029CF18 00299E78 7C 9F 23 78 */ mr r31, r4 -/* 8029CF1C 00299E7C 48 00 05 1D */ bl CheckLoadComplete__13CArtifactDollFv -/* 8029CF20 00299E80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029CF24 00299E84 41 82 00 6C */ beq lbl_8029CF90 -/* 8029CF28 00299E88 C0 42 C0 58 */ lfs f2, lbl_805ADD78@sda21(r2) -/* 8029CF2C 00299E8C C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 8029CF30 00299E90 C0 0D 9A 10 */ lfs f0, lbl_805A85D0@sda21(r13) -/* 8029CF34 00299E94 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 8029CF38 00299E98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029CF3C 00299E9C D0 21 00 08 */ stfs f1, 8(r1) -/* 8029CF40 00299EA0 40 80 00 0C */ bge lbl_8029CF4C -/* 8029CF44 00299EA4 38 61 00 08 */ addi r3, r1, 8 -/* 8029CF48 00299EA8 48 00 00 08 */ b lbl_8029CF50 -lbl_8029CF4C: -/* 8029CF4C 00299EAC 38 6D 9A 10 */ addi r3, r13, lbl_805A85D0@sda21 -lbl_8029CF50: -/* 8029CF50 00299EB0 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029CF54 00299EB4 C0 22 C0 70 */ lfs f1, lbl_805ADD90@sda21(r2) -/* 8029CF58 00299EB8 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8029CF5C 00299EBC C0 02 C0 88 */ lfs f0, lbl_805ADDA8@sda21(r2) -/* 8029CF60 00299EC0 C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 8029CF64 00299EC4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8029CF68 00299EC8 FC 20 0A 10 */ fabs f1, f1 -/* 8029CF6C 00299ECC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029CF70 00299ED0 40 80 00 18 */ bge lbl_8029CF88 -/* 8029CF74 00299ED4 C0 22 C0 6C */ lfs f1, lbl_805ADD8C@sda21(r2) -/* 8029CF78 00299ED8 7F E3 FB 78 */ mr r3, r31 -/* 8029CF7C 00299EDC EC 01 07 F2 */ fmuls f0, f1, f31 -/* 8029CF80 00299EE0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8029CF84 00299EE4 4B FF FE 79 */ bl UpdateArtifactHeadScan__13CArtifactDollFRC13CStateManagerf -lbl_8029CF88: -/* 8029CF88 00299EE8 7F C3 F3 78 */ mr r3, r30 -/* 8029CF8C 00299EEC 48 00 00 B9 */ bl UpdateActorLights__13CArtifactDollFv -lbl_8029CF90: -/* 8029CF90 00299EF0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8029CF94 00299EF4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029CF98 00299EF8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8029CF9C 00299EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029CFA0 00299F00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029CFA4 00299F04 7C 08 03 A6 */ mtlr r0 -/* 8029CFA8 00299F08 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029CFAC 00299F0C 4E 80 00 20 */ blr - -.global Touch__13CArtifactDollFv -Touch__13CArtifactDollFv: -/* 8029CFB0 00299F10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029CFB4 00299F14 7C 08 02 A6 */ mflr r0 -/* 8029CFB8 00299F18 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029CFBC 00299F1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029CFC0 00299F20 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029CFC4 00299F24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029CFC8 00299F28 7C 7D 1B 78 */ mr r29, r3 -/* 8029CFCC 00299F2C 48 00 04 6D */ bl CheckLoadComplete__13CArtifactDollFv -/* 8029CFD0 00299F30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029CFD4 00299F34 41 82 00 54 */ beq lbl_8029D028 -/* 8029CFD8 00299F38 3B C0 00 00 */ li r30, 0 -/* 8029CFDC 00299F3C 3B E0 00 00 */ li r31, 0 -/* 8029CFE0 00299F40 48 00 00 3C */ b lbl_8029D01C -lbl_8029CFE4: -/* 8029CFE4 00299F44 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8029CFE8 00299F48 38 61 00 08 */ addi r3, r1, 8 -/* 8029CFEC 00299F4C 7C 80 FA 14 */ add r4, r0, r31 -/* 8029CFF0 00299F50 48 0A 3E B9 */ bl __ct__6CTokenFRC6CToken -/* 8029CFF4 00299F54 38 61 00 08 */ addi r3, r1, 8 -/* 8029CFF8 00299F58 48 0A 3E 15 */ bl GetObj__6CTokenFv -/* 8029CFFC 00299F5C 80 63 00 04 */ lwz r3, 4(r3) -/* 8029D000 00299F60 38 80 00 00 */ li r4, 0 -/* 8029D004 00299F64 48 0B 86 31 */ bl Touch__6CModelCFi -/* 8029D008 00299F68 38 61 00 08 */ addi r3, r1, 8 -/* 8029D00C 00299F6C 38 80 00 00 */ li r4, 0 -/* 8029D010 00299F70 48 0A 3E 31 */ bl __dt__6CTokenFv -/* 8029D014 00299F74 3B FF 00 08 */ addi r31, r31, 8 -/* 8029D018 00299F78 3B DE 00 01 */ addi r30, r30, 1 -lbl_8029D01C: -/* 8029D01C 00299F7C 80 1D 00 04 */ lwz r0, 4(r29) -/* 8029D020 00299F80 7C 1E 00 00 */ cmpw r30, r0 -/* 8029D024 00299F84 41 80 FF C0 */ blt lbl_8029CFE4 -lbl_8029D028: -/* 8029D028 00299F88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029D02C 00299F8C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029D030 00299F90 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029D034 00299F94 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029D038 00299F98 7C 08 03 A6 */ mtlr r0 -/* 8029D03C 00299F9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029D040 00299FA0 4E 80 00 20 */ blr - -.global UpdateActorLights__13CArtifactDollFv -UpdateActorLights__13CArtifactDollFv: -/* 8029D044 00299FA4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8029D048 00299FA8 7C 08 02 A6 */ mflr r0 -/* 8029D04C 00299FAC 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 8029D050 00299FB0 3C C0 80 5A */ lis r6, lbl_805A6700@ha -/* 8029D054 00299FB4 90 01 01 14 */ stw r0, 0x114(r1) -/* 8029D058 00299FB8 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l -/* 8029D05C 00299FBC C0 62 C0 54 */ lfs f3, lbl_805ADD74@sda21(r2) -/* 8029D060 00299FC0 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8029D064 00299FC4 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8029D068 00299FC8 3B E4 67 24 */ addi r31, r4, lbl_805A6724@l -/* 8029D06C 00299FCC 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l -/* 8029D070 00299FD0 C0 C2 C0 8C */ lfs f6, lbl_805ADDAC@sda21(r2) -/* 8029D074 00299FD4 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8029D078 00299FD8 7C 7E 1B 78 */ mr r30, r3 -/* 8029D07C 00299FDC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029D080 00299FE0 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029D084 00299FE4 C0 45 00 08 */ lfs f2, 8(r5) -/* 8029D088 00299FE8 C0 25 00 00 */ lfs f1, 0(r5) -/* 8029D08C 00299FEC EC E3 00 B2 */ fmuls f7, f3, f2 -/* 8029D090 00299FF0 C0 05 00 04 */ lfs f0, 4(r5) -/* 8029D094 00299FF4 EC 83 00 72 */ fmuls f4, f3, f1 -/* 8029D098 00299FF8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8029D09C 00299FFC EC 63 00 32 */ fmuls f3, f3, f0 -/* 8029D0A0 0029A000 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8029D0A4 0029A004 ED 01 38 2A */ fadds f8, f1, f7 -/* 8029D0A8 0029A008 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8029D0AC 0029A00C EC 20 20 2A */ fadds f1, f0, f4 -/* 8029D0B0 0029A010 C0 06 00 00 */ lfs f0, 0(r6) -/* 8029D0B4 0029A014 ED 22 18 2A */ fadds f9, f2, f3 -/* 8029D0B8 0029A018 C0 46 00 08 */ lfs f2, 8(r6) -/* 8029D0BC 0029A01C EC A6 00 32 */ fmuls f5, f6, f0 -/* 8029D0C0 0029A020 C0 06 00 04 */ lfs f0, 4(r6) -/* 8029D0C4 0029A024 ED 46 00 B2 */ fmuls f10, f6, f2 -/* 8029D0C8 0029A028 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8029D0CC 0029A02C EC 46 00 32 */ fmuls f2, f6, f0 -/* 8029D0D0 0029A030 EC 01 28 2A */ fadds f0, f1, f5 -/* 8029D0D4 0029A034 EC 88 50 2A */ fadds f4, f8, f10 -/* 8029D0D8 0029A038 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 8029D0DC 0029A03C EC A9 10 2A */ fadds f5, f9, f2 -/* 8029D0E0 0029A040 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8029D0E4 0029A044 D1 41 00 28 */ stfs f10, 0x28(r1) -/* 8029D0E8 0029A048 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8029D0EC 0029A04C D0 E1 00 34 */ stfs f7, 0x34(r1) -/* 8029D0F0 0029A050 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8029D0F4 0029A054 D1 21 00 3C */ stfs f9, 0x3c(r1) -/* 8029D0F8 0029A058 D1 01 00 40 */ stfs f8, 0x40(r1) -/* 8029D0FC 0029A05C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8029D100 0029A060 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8029D104 0029A064 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 8029D108 0029A068 48 07 77 49 */ bl AsNormalized__9CVector3fCFv -/* 8029D10C 0029A06C 38 00 00 FF */ li r0, 0xff -/* 8029D110 0029A070 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8029D114 0029A074 98 01 00 10 */ stb r0, 0x10(r1) -/* 8029D118 0029A078 38 83 67 24 */ addi r4, r3, lbl_805A6724@l -/* 8029D11C 0029A07C 38 61 00 AC */ addi r3, r1, 0xac -/* 8029D120 0029A080 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8029D124 0029A084 98 01 00 11 */ stb r0, 0x11(r1) -/* 8029D128 0029A088 98 01 00 12 */ stb r0, 0x12(r1) -/* 8029D12C 0029A08C 98 01 00 13 */ stb r0, 0x13(r1) -/* 8029D130 0029A090 48 06 93 3D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029D134 0029A094 81 5E 00 1C */ lwz r10, 0x1c(r30) -/* 8029D138 0029A098 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8029D13C 0029A09C 80 81 00 AC */ lwz r4, 0xac(r1) -/* 8029D140 0029A0A0 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l -/* 8029D144 0029A0A4 81 01 00 B0 */ lwz r8, 0xb0(r1) -/* 8029D148 0029A0A8 38 E0 00 00 */ li r7, 0 -/* 8029D14C 0029A0AC 38 00 00 FF */ li r0, 0xff -/* 8029D150 0029A0B0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029D154 0029A0B4 90 8A 00 00 */ stw r4, 0(r10) -/* 8029D158 0029A0B8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029D15C 0029A0BC 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029D160 0029A0C0 91 0A 00 04 */ stw r8, 4(r10) -/* 8029D164 0029A0C4 81 01 00 B4 */ lwz r8, 0xb4(r1) -/* 8029D168 0029A0C8 91 0A 00 08 */ stw r8, 8(r10) -/* 8029D16C 0029A0CC 81 21 00 B8 */ lwz r9, 0xb8(r1) -/* 8029D170 0029A0D0 81 01 00 BC */ lwz r8, 0xbc(r1) -/* 8029D174 0029A0D4 91 2A 00 0C */ stw r9, 0xc(r10) -/* 8029D178 0029A0D8 91 0A 00 10 */ stw r8, 0x10(r10) -/* 8029D17C 0029A0DC 81 01 00 C0 */ lwz r8, 0xc0(r1) -/* 8029D180 0029A0E0 91 0A 00 14 */ stw r8, 0x14(r10) -/* 8029D184 0029A0E4 81 01 00 C4 */ lwz r8, 0xc4(r1) -/* 8029D188 0029A0E8 91 0A 00 18 */ stw r8, 0x18(r10) -/* 8029D18C 0029A0EC 81 01 00 C8 */ lwz r8, 0xc8(r1) -/* 8029D190 0029A0F0 91 0A 00 1C */ stw r8, 0x1c(r10) -/* 8029D194 0029A0F4 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 8029D198 0029A0F8 D0 0A 00 20 */ stfs f0, 0x20(r10) -/* 8029D19C 0029A0FC C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 8029D1A0 0029A100 D0 0A 00 24 */ stfs f0, 0x24(r10) -/* 8029D1A4 0029A104 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8029D1A8 0029A108 D0 0A 00 28 */ stfs f0, 0x28(r10) -/* 8029D1AC 0029A10C C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 8029D1B0 0029A110 D0 0A 00 2C */ stfs f0, 0x2c(r10) -/* 8029D1B4 0029A114 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 8029D1B8 0029A118 D0 0A 00 30 */ stfs f0, 0x30(r10) -/* 8029D1BC 0029A11C C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 8029D1C0 0029A120 D0 0A 00 34 */ stfs f0, 0x34(r10) -/* 8029D1C4 0029A124 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 8029D1C8 0029A128 D0 0A 00 38 */ stfs f0, 0x38(r10) -/* 8029D1CC 0029A12C 81 01 00 E8 */ lwz r8, 0xe8(r1) -/* 8029D1D0 0029A130 91 0A 00 3C */ stw r8, 0x3c(r10) -/* 8029D1D4 0029A134 81 01 00 EC */ lwz r8, 0xec(r1) -/* 8029D1D8 0029A138 91 0A 00 40 */ stw r8, 0x40(r10) -/* 8029D1DC 0029A13C C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 8029D1E0 0029A140 D0 0A 00 44 */ stfs f0, 0x44(r10) -/* 8029D1E4 0029A144 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 8029D1E8 0029A148 D0 0A 00 48 */ stfs f0, 0x48(r10) -/* 8029D1EC 0029A14C 89 01 00 F8 */ lbz r8, 0xf8(r1) -/* 8029D1F0 0029A150 99 0A 00 4C */ stb r8, 0x4c(r10) -/* 8029D1F4 0029A154 C0 46 00 00 */ lfs f2, 0(r6) -/* 8029D1F8 0029A158 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8029D1FC 0029A15C C0 1F 00 08 */ lfs f0, 8(r31) -/* 8029D200 0029A160 FC 40 10 50 */ fneg f2, f2 -/* 8029D204 0029A164 FC 20 08 50 */ fneg f1, f1 -/* 8029D208 0029A168 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8029D20C 0029A16C FC 00 00 50 */ fneg f0, f0 -/* 8029D210 0029A170 98 E1 00 0D */ stb r7, 0xd(r1) -/* 8029D214 0029A174 98 E1 00 0E */ stb r7, 0xe(r1) -/* 8029D218 0029A178 98 01 00 0F */ stb r0, 0xf(r1) -/* 8029D21C 0029A17C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8029D220 0029A180 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8029D224 0029A184 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8029D228 0029A188 48 06 92 45 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029D22C 0029A18C 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 8029D230 0029A190 38 61 00 08 */ addi r3, r1, 8 -/* 8029D234 0029A194 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 8029D238 0029A198 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8029D23C 0029A19C C0 22 C0 54 */ lfs f1, lbl_805ADD74@sda21(r2) -/* 8029D240 0029A1A0 90 85 00 50 */ stw r4, 0x50(r5) -/* 8029D244 0029A1A4 FC 40 08 90 */ fmr f2, f1 -/* 8029D248 0029A1A8 C0 82 C0 70 */ lfs f4, lbl_805ADD90@sda21(r2) -/* 8029D24C 0029A1AC 90 05 00 54 */ stw r0, 0x54(r5) -/* 8029D250 0029A1B0 FC 60 08 90 */ fmr f3, f1 -/* 8029D254 0029A1B4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8029D258 0029A1B8 90 05 00 58 */ stw r0, 0x58(r5) -/* 8029D25C 0029A1BC 80 81 00 68 */ lwz r4, 0x68(r1) -/* 8029D260 0029A1C0 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8029D264 0029A1C4 90 85 00 5C */ stw r4, 0x5c(r5) -/* 8029D268 0029A1C8 90 05 00 60 */ stw r0, 0x60(r5) -/* 8029D26C 0029A1CC 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8029D270 0029A1D0 90 05 00 64 */ stw r0, 0x64(r5) -/* 8029D274 0029A1D4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8029D278 0029A1D8 90 05 00 68 */ stw r0, 0x68(r5) -/* 8029D27C 0029A1DC 80 01 00 78 */ lwz r0, 0x78(r1) -/* 8029D280 0029A1E0 90 05 00 6C */ stw r0, 0x6c(r5) -/* 8029D284 0029A1E4 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8029D288 0029A1E8 D0 05 00 70 */ stfs f0, 0x70(r5) -/* 8029D28C 0029A1EC C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8029D290 0029A1F0 D0 05 00 74 */ stfs f0, 0x74(r5) -/* 8029D294 0029A1F4 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8029D298 0029A1F8 D0 05 00 78 */ stfs f0, 0x78(r5) -/* 8029D29C 0029A1FC C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8029D2A0 0029A200 D0 05 00 7C */ stfs f0, 0x7c(r5) -/* 8029D2A4 0029A204 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8029D2A8 0029A208 D0 05 00 80 */ stfs f0, 0x80(r5) -/* 8029D2AC 0029A20C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8029D2B0 0029A210 D0 05 00 84 */ stfs f0, 0x84(r5) -/* 8029D2B4 0029A214 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8029D2B8 0029A218 D0 05 00 88 */ stfs f0, 0x88(r5) -/* 8029D2BC 0029A21C 80 01 00 98 */ lwz r0, 0x98(r1) -/* 8029D2C0 0029A220 90 05 00 8C */ stw r0, 0x8c(r5) -/* 8029D2C4 0029A224 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 8029D2C8 0029A228 90 05 00 90 */ stw r0, 0x90(r5) -/* 8029D2CC 0029A22C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 8029D2D0 0029A230 D0 05 00 94 */ stfs f0, 0x94(r5) -/* 8029D2D4 0029A234 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8029D2D8 0029A238 D0 05 00 98 */ stfs f0, 0x98(r5) -/* 8029D2DC 0029A23C 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 8029D2E0 0029A240 98 05 00 9C */ stb r0, 0x9c(r5) -/* 8029D2E4 0029A244 83 FE 00 20 */ lwz r31, 0x20(r30) -/* 8029D2E8 0029A248 48 0C 61 05 */ bl __ct__6CColorFffff -/* 8029D2EC 0029A24C 7C 65 1B 78 */ mr r5, r3 -/* 8029D2F0 0029A250 7F E3 FB 78 */ mr r3, r31 -/* 8029D2F4 0029A254 38 9E 00 10 */ addi r4, r30, 0x10 -/* 8029D2F8 0029A258 4B E6 5E 35 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" -/* 8029D2FC 0029A25C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8029D300 0029A260 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8029D304 0029A264 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8029D308 0029A268 7C 08 03 A6 */ mtlr r0 -/* 8029D30C 0029A26C 38 21 01 10 */ addi r1, r1, 0x110 -/* 8029D310 0029A270 4E 80 00 20 */ blr - -.global __dt__13CArtifactDollFv -__dt__13CArtifactDollFv: -/* 8029D314 0029A274 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029D318 0029A278 7C 08 02 A6 */ mflr r0 -/* 8029D31C 0029A27C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8029D320 0029A280 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8029D324 0029A284 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8029D328 0029A288 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8029D32C 0029A28C 7C 9D 23 78 */ mr r29, r4 -/* 8029D330 0029A290 93 81 00 30 */ stw r28, 0x30(r1) -/* 8029D334 0029A294 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8029D338 0029A298 41 82 00 C4 */ beq lbl_8029D3FC -/* 8029D33C 0029A29C 34 1C 00 20 */ addic. r0, r28, 0x20 -/* 8029D340 0029A2A0 41 82 00 10 */ beq lbl_8029D350 -/* 8029D344 0029A2A4 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 8029D348 0029A2A8 38 80 00 01 */ li r4, 1 -/* 8029D34C 0029A2AC 4B E6 7D 89 */ bl __dt__12CActorLightsFv -lbl_8029D350: -/* 8029D350 0029A2B0 34 1C 00 10 */ addic. r0, r28, 0x10 -/* 8029D354 0029A2B4 41 82 00 44 */ beq lbl_8029D398 -/* 8029D358 0029A2B8 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 8029D35C 0029A2BC 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8029D360 0029A2C0 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 8029D364 0029A2C4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8029D368 0029A2C8 7C 64 1B 78 */ mr r4, r3 -/* 8029D36C 0029A2CC 7C 03 02 14 */ add r0, r3, r0 -/* 8029D370 0029A2D0 90 61 00 18 */ stw r3, 0x18(r1) -/* 8029D374 0029A2D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029D378 0029A2D8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8029D37C 0029A2DC 48 00 00 08 */ b lbl_8029D384 -lbl_8029D380: -/* 8029D380 0029A2E0 38 84 00 50 */ addi r4, r4, 0x50 -lbl_8029D384: -/* 8029D384 0029A2E4 7C 04 00 40 */ cmplw r4, r0 -/* 8029D388 0029A2E8 40 82 FF F8 */ bne lbl_8029D380 -/* 8029D38C 0029A2EC 28 03 00 00 */ cmplwi r3, 0 -/* 8029D390 0029A2F0 41 82 00 08 */ beq lbl_8029D398 -/* 8029D394 0029A2F4 48 07 85 9D */ bl Free__7CMemoryFPCv -lbl_8029D398: -/* 8029D398 0029A2F8 28 1C 00 00 */ cmplwi r28, 0 -/* 8029D39C 0029A2FC 41 82 00 50 */ beq lbl_8029D3EC -/* 8029D3A0 0029A300 80 1C 00 04 */ lwz r0, 4(r28) -/* 8029D3A4 0029A304 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8029D3A8 0029A308 54 00 18 38 */ slwi r0, r0, 3 -/* 8029D3AC 0029A30C 7F FE 02 14 */ add r31, r30, r0 -/* 8029D3B0 0029A310 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8029D3B4 0029A314 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8029D3B8 0029A318 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8029D3BC 0029A31C 93 C1 00 08 */ stw r30, 8(r1) -/* 8029D3C0 0029A320 48 00 00 14 */ b lbl_8029D3D4 -lbl_8029D3C4: -/* 8029D3C4 0029A324 7F C3 F3 78 */ mr r3, r30 -/* 8029D3C8 0029A328 38 80 FF FF */ li r4, -1 -/* 8029D3CC 0029A32C 48 0A 3A 75 */ bl __dt__6CTokenFv -/* 8029D3D0 0029A330 3B DE 00 08 */ addi r30, r30, 8 -lbl_8029D3D4: -/* 8029D3D4 0029A334 7C 1E F8 40 */ cmplw r30, r31 -/* 8029D3D8 0029A338 40 82 FF EC */ bne lbl_8029D3C4 -/* 8029D3DC 0029A33C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8029D3E0 0029A340 28 03 00 00 */ cmplwi r3, 0 -/* 8029D3E4 0029A344 41 82 00 08 */ beq lbl_8029D3EC -/* 8029D3E8 0029A348 48 07 85 49 */ bl Free__7CMemoryFPCv -lbl_8029D3EC: -/* 8029D3EC 0029A34C 7F A0 07 35 */ extsh. r0, r29 -/* 8029D3F0 0029A350 40 81 00 0C */ ble lbl_8029D3FC -/* 8029D3F4 0029A354 7F 83 E3 78 */ mr r3, r28 -/* 8029D3F8 0029A358 48 07 85 39 */ bl Free__7CMemoryFPCv -lbl_8029D3FC: -/* 8029D3FC 0029A35C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8029D400 0029A360 7F 83 E3 78 */ mr r3, r28 -/* 8029D404 0029A364 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8029D408 0029A368 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8029D40C 0029A36C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8029D410 0029A370 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8029D414 0029A374 7C 08 03 A6 */ mtlr r0 -/* 8029D418 0029A378 38 21 00 40 */ addi r1, r1, 0x40 -/* 8029D41C 0029A37C 4E 80 00 20 */ blr - -.global IsLoaded__13CArtifactDollCFv -IsLoaded__13CArtifactDollCFv: -/* 8029D420 0029A380 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8029D424 0029A384 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8029D428 0029A388 7C 03 00 D0 */ neg r0, r3 -/* 8029D42C 0029A38C 7C 00 1B 78 */ or r0, r0, r3 -/* 8029D430 0029A390 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8029D434 0029A394 4E 80 00 20 */ blr - -.global CheckLoadComplete__13CArtifactDollFv -CheckLoadComplete__13CArtifactDollFv: -/* 8029D438 0029A398 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029D43C 0029A39C 7C 08 02 A6 */ mflr r0 -/* 8029D440 0029A3A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029D444 0029A3A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029D448 0029A3A8 7C 7F 1B 78 */ mr r31, r3 -/* 8029D44C 0029A3AC 4B FF FF D5 */ bl IsLoaded__13CArtifactDollCFv -/* 8029D450 0029A3B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029D454 0029A3B4 41 82 00 0C */ beq lbl_8029D460 -/* 8029D458 0029A3B8 38 60 00 01 */ li r3, 1 -/* 8029D45C 0029A3BC 48 00 00 50 */ b lbl_8029D4AC -lbl_8029D460: -/* 8029D460 0029A3C0 80 1F 00 04 */ lwz r0, 4(r31) -/* 8029D464 0029A3C4 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8029D468 0029A3C8 54 00 18 38 */ slwi r0, r0, 3 -/* 8029D46C 0029A3CC 7C 85 02 14 */ add r4, r5, r0 -/* 8029D470 0029A3D0 48 00 00 20 */ b lbl_8029D490 -lbl_8029D474: -/* 8029D474 0029A3D4 80 65 00 00 */ lwz r3, 0(r5) -/* 8029D478 0029A3D8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8029D47C 0029A3DC 28 00 00 00 */ cmplwi r0, 0 -/* 8029D480 0029A3E0 40 82 00 0C */ bne lbl_8029D48C -/* 8029D484 0029A3E4 38 60 00 00 */ li r3, 0 -/* 8029D488 0029A3E8 48 00 00 24 */ b lbl_8029D4AC -lbl_8029D48C: -/* 8029D48C 0029A3EC 38 A5 00 08 */ addi r5, r5, 8 -lbl_8029D490: -/* 8029D490 0029A3F0 7C 05 20 40 */ cmplw r5, r4 -/* 8029D494 0029A3F4 40 82 FF E0 */ bne lbl_8029D474 -/* 8029D498 0029A3F8 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 8029D49C 0029A3FC 38 60 00 01 */ li r3, 1 -/* 8029D4A0 0029A400 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029D4A4 0029A404 38 60 00 01 */ li r3, 1 -/* 8029D4A8 0029A408 98 1F 00 28 */ stb r0, 0x28(r31) -lbl_8029D4AC: -/* 8029D4AC 0029A40C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029D4B0 0029A410 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029D4B4 0029A414 7C 08 03 A6 */ mtlr r0 -/* 8029D4B8 0029A418 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029D4BC 0029A41C 4E 80 00 20 */ blr - -.global __ct__13CArtifactDollFv -__ct__13CArtifactDollFv: -/* 8029D4C0 0029A420 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8029D4C4 0029A424 7C 08 02 A6 */ mflr r0 -/* 8029D4C8 0029A428 38 C0 00 00 */ li r6, 0 -/* 8029D4CC 0029A42C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8029D4D0 0029A430 38 00 FF FF */ li r0, -1 -/* 8029D4D4 0029A434 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029D4D8 0029A438 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8029D4DC 0029A43C 7C 7F 1B 78 */ mr r31, r3 -/* 8029D4E0 0029A440 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8029D4E4 0029A444 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8029D4E8 0029A448 90 C3 00 04 */ stw r6, 4(r3) -/* 8029D4EC 0029A44C 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8029D4F0 0029A450 38 83 67 24 */ addi r4, r3, lbl_805A6724@l -/* 8029D4F4 0029A454 90 DF 00 08 */ stw r6, 8(r31) -/* 8029D4F8 0029A458 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029D4FC 0029A45C 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8029D500 0029A460 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029D504 0029A464 48 06 8F 69 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029D508 0029A468 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8029D50C 0029A46C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8029D510 0029A470 38 C1 00 08 */ addi r6, r1, 8 -/* 8029D514 0029A474 38 80 00 02 */ li r4, 2 -/* 8029D518 0029A478 4B E4 11 B1 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" -/* 8029D51C 0029A47C 3C 80 80 3D */ lis r4, lbl_803D5DB0@ha -/* 8029D520 0029A480 38 60 02 E0 */ li r3, 0x2e0 -/* 8029D524 0029A484 38 84 5D B0 */ addi r4, r4, lbl_803D5DB0@l -/* 8029D528 0029A488 38 A0 00 00 */ li r5, 0 -/* 8029D52C 0029A48C 38 84 00 93 */ addi r4, r4, 0x93 -/* 8029D530 0029A490 48 07 83 3D */ bl __nw__FUlPCcPCc -/* 8029D534 0029A494 7C 60 1B 79 */ or. r0, r3, r3 -/* 8029D538 0029A498 41 82 00 4C */ beq lbl_8029D584 -/* 8029D53C 0029A49C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8029D540 0029A4A0 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 8029D544 0029A4A4 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8029D548 0029A4A8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8029D54C 0029A4AC 81 07 00 00 */ lwz r8, 0(r7) -/* 8029D550 0029A4B0 38 80 00 08 */ li r4, 8 -/* 8029D554 0029A4B4 81 67 00 04 */ lwz r11, 4(r7) -/* 8029D558 0029A4B8 38 C0 00 04 */ li r6, 4 -/* 8029D55C 0029A4BC 80 07 00 08 */ lwz r0, 8(r7) -/* 8029D560 0029A4C0 38 E0 00 04 */ li r7, 4 -/* 8029D564 0029A4C4 91 01 00 20 */ stw r8, 0x20(r1) -/* 8029D568 0029A4C8 39 00 00 00 */ li r8, 0 -/* 8029D56C 0029A4CC 39 20 00 00 */ li r9, 0 -/* 8029D570 0029A4D0 39 40 00 00 */ li r10, 0 -/* 8029D574 0029A4D4 91 61 00 24 */ stw r11, 0x24(r1) -/* 8029D578 0029A4D8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8029D57C 0029A4DC 4B E6 7C 51 */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 8029D580 0029A4E0 7C 60 1B 78 */ mr r0, r3 -lbl_8029D584: -/* 8029D584 0029A4E4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8029D588 0029A4E8 38 A0 00 00 */ li r5, 0 -/* 8029D58C 0029A4EC C0 02 C0 4C */ lfs f0, lbl_805ADD6C@sda21(r2) -/* 8029D590 0029A4F0 7F E3 FB 78 */ mr r3, r31 -/* 8029D594 0029A4F4 38 80 00 0C */ li r4, 0xc -/* 8029D598 0029A4F8 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8029D59C 0029A4FC 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 8029D5A0 0029A500 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8029D5A4 0029A504 98 1F 00 28 */ stb r0, 0x28(r31) -/* 8029D5A8 0029A508 4B D6 B3 B5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8029D5AC 0029A50C 3C 60 80 3D */ lis r3, lbl_803D5D50@ha -/* 8029D5B0 0029A510 3B A0 00 00 */ li r29, 0 -/* 8029D5B4 0029A514 3B C3 5D 50 */ addi r30, r3, lbl_803D5D50@l -lbl_8029D5B8: -/* 8029D5B8 0029A518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029D5BC 0029A51C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029D5C0 0029A520 80 BE 00 00 */ lwz r5, 0(r30) -/* 8029D5C4 0029A524 81 84 00 00 */ lwz r12, 0(r4) -/* 8029D5C8 0029A528 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029D5CC 0029A52C 7D 89 03 A6 */ mtctr r12 -/* 8029D5D0 0029A530 4E 80 04 21 */ bctrl -/* 8029D5D4 0029A534 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029D5D8 0029A538 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029D5DC 0029A53C 48 0A 38 CD */ bl __ct__6CTokenFRC6CToken -/* 8029D5E0 0029A540 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029D5E4 0029A544 38 80 FF FF */ li r4, -1 -/* 8029D5E8 0029A548 48 0A 38 59 */ bl __dt__6CTokenFv -/* 8029D5EC 0029A54C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029D5F0 0029A550 48 0A 37 95 */ bl Lock__6CTokenFv -/* 8029D5F4 0029A554 80 1F 00 04 */ lwz r0, 4(r31) -/* 8029D5F8 0029A558 80 BF 00 08 */ lwz r5, 8(r31) -/* 8029D5FC 0029A55C 7C 00 28 00 */ cmpw r0, r5 -/* 8029D600 0029A560 41 80 00 1C */ blt lbl_8029D61C -/* 8029D604 0029A564 2C 05 00 00 */ cmpwi r5, 0 -/* 8029D608 0029A568 7F E3 FB 78 */ mr r3, r31 -/* 8029D60C 0029A56C 38 80 00 04 */ li r4, 4 -/* 8029D610 0029A570 41 82 00 08 */ beq lbl_8029D618 -/* 8029D614 0029A574 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8029D618: -/* 8029D618 0029A578 4B D6 B3 45 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8029D61C: -/* 8029D61C 0029A57C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8029D620 0029A580 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8029D624 0029A584 54 00 18 38 */ slwi r0, r0, 3 -/* 8029D628 0029A588 7C 63 02 15 */ add. r3, r3, r0 -/* 8029D62C 0029A58C 41 82 00 0C */ beq lbl_8029D638 -/* 8029D630 0029A590 38 81 00 18 */ addi r4, r1, 0x18 -/* 8029D634 0029A594 48 0A 38 75 */ bl __ct__6CTokenFRC6CToken -lbl_8029D638: -/* 8029D638 0029A598 80 BF 00 04 */ lwz r5, 4(r31) -/* 8029D63C 0029A59C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029D640 0029A5A0 38 80 FF FF */ li r4, -1 -/* 8029D644 0029A5A4 38 05 00 01 */ addi r0, r5, 1 -/* 8029D648 0029A5A8 90 1F 00 04 */ stw r0, 4(r31) -/* 8029D64C 0029A5AC 48 0A 37 F5 */ bl __dt__6CTokenFv -/* 8029D650 0029A5B0 3B BD 00 01 */ addi r29, r29, 1 -/* 8029D654 0029A5B4 3B DE 00 04 */ addi r30, r30, 4 -/* 8029D658 0029A5B8 2C 1D 00 0C */ cmpwi r29, 0xc -/* 8029D65C 0029A5BC 41 80 FF 5C */ blt lbl_8029D5B8 -/* 8029D660 0029A5C0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8029D664 0029A5C4 7F E3 FB 78 */ mr r3, r31 -/* 8029D668 0029A5C8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8029D66C 0029A5CC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8029D670 0029A5D0 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8029D674 0029A5D4 7C 08 03 A6 */ mtlr r0 -/* 8029D678 0029A5D8 38 21 00 90 */ addi r1, r1, 0x90 - -.global sub_8029d67c -sub_8029d67c: -/* 8029D67C 0029A5DC 4E 80 00 20 */ blr - -.global __sinit_CArtifactDoll_cpp -__sinit_CArtifactDoll_cpp: -/* 8029D680 0029A5E0 39 40 00 FF */ li r10, 0xff -/* 8029D684 0029A5E4 39 0D A5 B0 */ addi r8, r13, lbl_805A9170@sda21 -/* 8029D688 0029A5E8 39 20 00 A0 */ li r9, 0xa0 -/* 8029D68C 0029A5EC 38 E0 00 05 */ li r7, 5 -/* 8029D690 0029A5F0 38 C0 00 67 */ li r6, 0x67 -/* 8029D694 0029A5F4 38 A0 00 AE */ li r5, 0xae -/* 8029D698 0029A5F8 38 8D A5 B4 */ addi r4, r13, lbl_805A9174@sda21 -/* 8029D69C 0029A5FC 38 60 00 E1 */ li r3, 0xe1 -/* 8029D6A0 0029A600 38 00 00 CD */ li r0, 0xcd -/* 8029D6A4 0029A604 99 4D A5 B0 */ stb r10, lbl_805A9170@sda21(r13) -/* 8029D6A8 0029A608 99 28 00 01 */ stb r9, 1(r8) -/* 8029D6AC 0029A60C 98 E8 00 02 */ stb r7, 2(r8) -/* 8029D6B0 0029A610 99 48 00 03 */ stb r10, 3(r8) -/* 8029D6B4 0029A614 98 CD A5 B4 */ stb r6, lbl_805A9174@sda21(r13) -/* 8029D6B8 0029A618 98 A4 00 01 */ stb r5, 1(r4) -/* 8029D6BC 0029A61C 98 64 00 02 */ stb r3, 2(r4) -/* 8029D6C0 0029A620 98 04 00 03 */ stb r0, 3(r4) -/* 8029D6C4 0029A624 4E 80 00 20 */ blr - -.global sub_8029d6c8 -sub_8029d6c8: -/* 8029D6C8 0029A628 38 00 00 00 */ li r0, 0 -/* 8029D6CC 0029A62C 98 03 00 80 */ stb r0, 0x80(r3) -/* 8029D6D0 0029A630 4E 80 00 20 */ blr - -.global Render__16CProjectedShadowFRC13CStateManager -Render__16CProjectedShadowFRC13CStateManager: -/* 8029D6D4 0029A634 94 21 F4 D0 */ stwu r1, -0xb30(r1) -/* 8029D6D8 0029A638 7C 08 02 A6 */ mflr r0 -/* 8029D6DC 0029A63C 90 01 0B 34 */ stw r0, 0xb34(r1) -/* 8029D6E0 0029A640 DB E1 0B 20 */ stfd f31, 0xb20(r1) -/* 8029D6E4 0029A644 F3 E1 0B 28 */ psq_st f31, -1240(r1), 0, qr0 -/* 8029D6E8 0029A648 DB C1 0B 10 */ stfd f30, 0xb10(r1) -/* 8029D6EC 0029A64C F3 C1 0B 18 */ psq_st f30, -1256(r1), 0, qr0 -/* 8029D6F0 0029A650 BF 41 0A F8 */ stmw r26, 0xaf8(r1) -/* 8029D6F4 0029A654 7C 7E 1B 78 */ mr r30, r3 -/* 8029D6F8 0029A658 7C 9F 23 78 */ mr r31, r4 -/* 8029D6FC 0029A65C 88 03 00 80 */ lbz r0, 0x80(r3) -/* 8029D700 0029A660 28 00 00 00 */ cmplwi r0, 0 -/* 8029D704 0029A664 41 82 05 70 */ beq lbl_8029DC74 -/* 8029D708 0029A668 C0 2D 9A 20 */ lfs f1, lbl_805A85E0@sda21(r13) -/* 8029D70C 0029A66C C0 1E 00 84 */ lfs f0, 0x84(r30) -/* 8029D710 0029A670 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029D714 0029A674 40 80 00 0C */ bge lbl_8029D720 -/* 8029D718 0029A678 38 7E 00 84 */ addi r3, r30, 0x84 -/* 8029D71C 0029A67C 48 00 00 08 */ b lbl_8029D724 -lbl_8029D720: -/* 8029D720 0029A680 38 6D 9A 20 */ addi r3, r13, lbl_805A85E0@sda21 -lbl_8029D724: -/* 8029D724 0029A684 C0 23 00 00 */ lfs f1, 0(r3) -/* 8029D728 0029A688 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029D72C 0029A68C 38 9E 00 68 */ addi r4, r30, 0x68 -/* 8029D730 0029A690 38 BE 00 88 */ addi r5, r30, 0x88 -/* 8029D734 0029A694 48 00 05 65 */ bl sub_8029dc98 -/* 8029D738 0029A698 C0 A1 00 50 */ lfs f5, 0x50(r1) -/* 8029D73C 0029A69C 7F C3 F3 78 */ mr r3, r30 -/* 8029D740 0029A6A0 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8029D744 0029A6A4 3B 81 00 8C */ addi r28, r1, 0x8c -/* 8029D748 0029A6A8 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 8029D74C 0029A6AC 38 80 00 07 */ li r4, 7 -/* 8029D750 0029A6B0 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8029D754 0029A6B4 38 A0 00 00 */ li r5, 0 -/* 8029D758 0029A6B8 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8029D75C 0029A6BC C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8029D760 0029A6C0 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 8029D764 0029A6C4 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8029D768 0029A6C8 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8029D76C 0029A6CC D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8029D770 0029A6D0 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8029D774 0029A6D4 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8029D778 0029A6D8 48 07 1F C5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8029D77C 0029A6DC 48 06 F2 01 */ bl DisableAllLights__9CGraphicsFv -/* 8029D780 0029A6E0 88 1E 00 81 */ lbz r0, 0x81(r30) -/* 8029D784 0029A6E4 28 00 00 00 */ cmplwi r0, 0 -/* 8029D788 0029A6E8 41 82 00 BC */ beq lbl_8029D844 -/* 8029D78C 0029A6EC C0 22 C0 94 */ lfs f1, lbl_805ADDB4@sda21(r2) -/* 8029D790 0029A6F0 C0 1E 00 98 */ lfs f0, 0x98(r30) -/* 8029D794 0029A6F4 EF E1 00 32 */ fmuls f31, f1, f0 -/* 8029D798 0029A6F8 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 8029D79C 0029A6FC 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 8029D7A0 0029A700 38 83 67 00 */ addi r4, r3, lbl_805A6700@l -/* 8029D7A4 0029A704 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8029D7A8 0029A708 88 01 00 09 */ lbz r0, 9(r1) -/* 8029D7AC 0029A70C 38 61 02 48 */ addi r3, r1, 0x248 -/* 8029D7B0 0029A710 98 01 00 1C */ stb r0, 0x1c(r1) -/* 8029D7B4 0029A714 98 01 00 1D */ stb r0, 0x1d(r1) -/* 8029D7B8 0029A718 98 01 00 1E */ stb r0, 0x1e(r1) -/* 8029D7BC 0029A71C 98 01 00 1F */ stb r0, 0x1f(r1) -/* 8029D7C0 0029A720 48 06 8C AD */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029D7C4 0029A724 38 61 02 98 */ addi r3, r1, 0x298 -/* 8029D7C8 0029A728 38 81 02 48 */ addi r4, r1, 0x248 -/* 8029D7CC 0029A72C 4B D9 DD A5 */ bl __ct__6CLightFCR6CLight -/* 8029D7D0 0029A730 38 81 02 98 */ addi r4, r1, 0x298 -/* 8029D7D4 0029A734 38 60 00 00 */ li r3, 0 -/* 8029D7D8 0029A738 48 06 F1 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 8029D7DC 0029A73C 38 60 00 00 */ li r3, 0 -/* 8029D7E0 0029A740 48 06 F5 51 */ bl EnableLight__9CGraphicsF9ERglLight -/* 8029D7E4 0029A744 80 02 D7 60 */ lwz r0, lbl_805AF480@sda21(r2) -/* 8029D7E8 0029A748 38 81 00 18 */ addi r4, r1, 0x18 -/* 8029D7EC 0029A74C 38 60 00 00 */ li r3, 0 -/* 8029D7F0 0029A750 90 01 00 18 */ stw r0, 0x18(r1) -/* 8029D7F4 0029A754 48 06 B5 D1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8029D7F8 0029A758 80 02 C0 90 */ lwz r0, lbl_805ADDB0@sda21(r2) -/* 8029D7FC 0029A75C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029D800 0029A760 38 60 00 00 */ li r3, 0 -/* 8029D804 0029A764 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029D808 0029A768 48 06 B5 55 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8029D80C 0029A76C 38 60 00 00 */ li r3, 0 -/* 8029D810 0029A770 48 06 B6 41 */ bl SetNumChans__3CGXFUc -/* 8029D814 0029A774 48 06 A7 D1 */ bl FlushState__3CGXFv -/* 8029D818 0029A778 38 60 00 02 */ li r3, 2 -/* 8029D81C 0029A77C 38 80 00 01 */ li r4, 1 -/* 8029D820 0029A780 38 A0 00 00 */ li r5, 0 -/* 8029D824 0029A784 38 C0 00 00 */ li r6, 0 -/* 8029D828 0029A788 38 E0 00 01 */ li r7, 1 -/* 8029D82C 0029A78C 39 00 00 02 */ li r8, 2 -/* 8029D830 0029A790 39 20 00 01 */ li r9, 1 -/* 8029D834 0029A794 48 0D C3 41 */ bl GXSetChanCtrl -/* 8029D838 0029A798 38 60 00 01 */ li r3, 1 -/* 8029D83C 0029A79C 48 0D C2 F5 */ bl GXSetNumChans -/* 8029D840 0029A7A0 48 00 00 0C */ b lbl_8029D84C -lbl_8029D844: -/* 8029D844 0029A7A4 38 60 00 00 */ li r3, 0 -/* 8029D848 0029A7A8 48 06 B6 09 */ bl SetNumChans__3CGXFUc -lbl_8029D84C: -/* 8029D84C 0029A7AC 38 60 00 00 */ li r3, 0 -/* 8029D850 0029A7B0 48 06 AE 41 */ bl SetNumIndStages__3CGXFUc -/* 8029D854 0029A7B4 38 60 00 00 */ li r3, 0 -/* 8029D858 0029A7B8 48 06 AE ED */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 8029D85C 0029A7BC 38 60 00 01 */ li r3, 1 -/* 8029D860 0029A7C0 48 06 B4 31 */ bl SetNumTevStages__3CGXFUc -/* 8029D864 0029A7C4 38 60 00 01 */ li r3, 1 -/* 8029D868 0029A7C8 48 06 B5 AD */ bl SetNumTexGens__3CGXFUc -/* 8029D86C 0029A7CC 38 60 00 00 */ li r3, 0 -/* 8029D870 0029A7D0 38 80 00 0F */ li r4, 0xf -/* 8029D874 0029A7D4 38 A0 00 0F */ li r5, 0xf -/* 8029D878 0029A7D8 38 C0 00 0F */ li r6, 0xf -/* 8029D87C 0029A7DC 38 E0 00 0F */ li r7, 0xf -/* 8029D880 0029A7E0 48 06 B3 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8029D884 0029A7E4 88 1E 00 81 */ lbz r0, 0x81(r30) -/* 8029D888 0029A7E8 28 00 00 00 */ cmplwi r0, 0 -/* 8029D88C 0029A7EC 41 82 00 34 */ beq lbl_8029D8C0 -/* 8029D890 0029A7F0 38 60 00 00 */ li r3, 0 -/* 8029D894 0029A7F4 38 80 00 07 */ li r4, 7 -/* 8029D898 0029A7F8 38 A0 00 04 */ li r5, 4 -/* 8029D89C 0029A7FC 38 C0 00 05 */ li r6, 5 -/* 8029D8A0 0029A800 38 E0 00 07 */ li r7, 7 -/* 8029D8A4 0029A804 48 06 B2 F1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8029D8A8 0029A808 38 60 00 00 */ li r3, 0 -/* 8029D8AC 0029A80C 38 80 00 00 */ li r4, 0 -/* 8029D8B0 0029A810 38 A0 00 07 */ li r5, 7 -/* 8029D8B4 0029A814 38 C0 00 04 */ li r6, 4 -/* 8029D8B8 0029A818 48 06 B0 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8029D8BC 0029A81C 48 00 00 6C */ b lbl_8029D928 -lbl_8029D8C0: -/* 8029D8C0 0029A820 38 60 00 00 */ li r3, 0 -/* 8029D8C4 0029A824 38 80 00 07 */ li r4, 7 -/* 8029D8C8 0029A828 38 A0 00 04 */ li r5, 4 -/* 8029D8CC 0029A82C 38 C0 00 06 */ li r6, 6 -/* 8029D8D0 0029A830 38 E0 00 07 */ li r7, 7 -/* 8029D8D4 0029A834 48 06 B2 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8029D8D8 0029A838 38 60 00 00 */ li r3, 0 -/* 8029D8DC 0029A83C 38 80 00 00 */ li r4, 0 -/* 8029D8E0 0029A840 38 A0 00 07 */ li r5, 7 -/* 8029D8E4 0029A844 38 C0 00 FF */ li r6, 0xff -/* 8029D8E8 0029A848 48 06 B0 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8029D8EC 0029A84C C3 FE 00 98 */ lfs f31, 0x98(r30) -/* 8029D8F0 0029A850 48 0A C6 BD */ bl White__6CColorFv -/* 8029D8F4 0029A854 C0 02 C0 94 */ lfs f0, lbl_805ADDB4@sda21(r2) -/* 8029D8F8 0029A858 EF C0 07 F2 */ fmuls f30, f0, f31 -/* 8029D8FC 0029A85C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 8029D900 0029A860 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029D904 0029A864 80 A3 00 00 */ lwz r5, 0(r3) -/* 8029D908 0029A868 38 60 00 00 */ li r3, 0 -/* 8029D90C 0029A86C 88 01 00 08 */ lbz r0, 8(r1) -/* 8029D910 0029A870 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 8029D914 0029A874 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029D918 0029A878 48 06 B3 2D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8029D91C 0029A87C 38 60 00 00 */ li r3, 0 -/* 8029D920 0029A880 38 80 00 1C */ li r4, 0x1c -/* 8029D924 0029A884 48 06 B0 79 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -lbl_8029D928: -/* 8029D928 0029A888 38 60 00 00 */ li r3, 0 -/* 8029D92C 0029A88C 48 06 A3 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8029D930 0029A890 38 60 00 01 */ li r3, 1 -/* 8029D934 0029A894 38 80 00 02 */ li r4, 2 -/* 8029D938 0029A898 38 A0 00 00 */ li r5, 0 -/* 8029D93C 0029A89C 48 06 AF 41 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8029D940 0029A8A0 38 60 00 01 */ li r3, 1 -/* 8029D944 0029A8A4 38 80 00 04 */ li r4, 4 -/* 8029D948 0029A8A8 38 A0 00 05 */ li r5, 5 -/* 8029D94C 0029A8AC 38 C0 00 00 */ li r6, 0 -/* 8029D950 0029A8B0 48 06 AF 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8029D954 0029A8B4 38 60 00 04 */ li r3, 4 -/* 8029D958 0029A8B8 38 80 00 00 */ li r4, 0 -/* 8029D95C 0029A8BC 38 A0 00 00 */ li r5, 0 -/* 8029D960 0029A8C0 38 C0 00 07 */ li r6, 7 -/* 8029D964 0029A8C4 38 E0 00 00 */ li r7, 0 -/* 8029D968 0029A8C8 48 06 AE AD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8029D96C 0029A8CC 3C 60 80 3D */ lis r3, lbl_803D5E50@ha -/* 8029D970 0029A8D0 38 80 00 40 */ li r4, 0x40 -/* 8029D974 0029A8D4 38 63 5E 50 */ addi r3, r3, lbl_803D5E50@l -/* 8029D978 0029A8D8 38 A0 00 00 */ li r5, 0 -/* 8029D97C 0029A8DC 48 0D EB 15 */ bl GXLoadTexMtxImm -/* 8029D980 0029A8E0 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8029D984 0029A8E4 38 61 01 28 */ addi r3, r1, 0x128 -/* 8029D988 0029A8E8 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8029D98C 0029A8EC 38 81 00 38 */ addi r4, r1, 0x38 -/* 8029D990 0029A8F0 C0 81 00 84 */ lfs f4, 0x84(r1) -/* 8029D994 0029A8F4 FC 20 10 50 */ fneg f1, f2 -/* 8029D998 0029A8F8 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 8029D99C 0029A8FC EC C0 10 28 */ fsubs f6, f0, f2 -/* 8029D9A0 0029A900 C0 E1 00 88 */ lfs f7, 0x88(r1) -/* 8029D9A4 0029A904 FC 00 20 50 */ fneg f0, f4 -/* 8029D9A8 0029A908 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 8029D9AC 0029A90C EC A3 20 28 */ fsubs f5, f3, f4 -/* 8029D9B0 0029A910 C0 62 C0 98 */ lfs f3, lbl_805ADDB8@sda21(r2) -/* 8029D9B4 0029A914 EC 82 38 28 */ fsubs f4, f2, f7 -/* 8029D9B8 0029A918 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 8029D9BC 0029A91C EC 43 30 24 */ fdivs f2, f3, f6 -/* 8029D9C0 0029A920 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8029D9C4 0029A924 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 8029D9C8 0029A928 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8029D9CC 0029A92C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8029D9D0 0029A930 EC 03 28 24 */ fdivs f0, f3, f5 -/* 8029D9D4 0029A934 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8029D9D8 0029A938 EC 23 20 24 */ fdivs f1, f3, f4 -/* 8029D9DC 0029A93C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8029D9E0 0029A940 FC 00 38 50 */ fneg f0, f7 -/* 8029D9E4 0029A944 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8029D9E8 0029A948 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8029D9EC 0029A94C 48 07 57 55 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8029D9F0 0029A950 38 61 01 58 */ addi r3, r1, 0x158 -/* 8029D9F4 0029A954 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029D9F8 0029A958 48 07 57 CD */ bl Scale__12CTransform4fFRC9CVector3f -/* 8029D9FC 0029A95C 38 61 01 88 */ addi r3, r1, 0x188 -/* 8029DA00 0029A960 38 81 01 58 */ addi r4, r1, 0x158 -/* 8029DA04 0029A964 38 A1 01 28 */ addi r5, r1, 0x128 -/* 8029DA08 0029A968 48 07 4F 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029DA0C 0029A96C 38 61 02 18 */ addi r3, r1, 0x218 -/* 8029DA10 0029A970 38 81 01 88 */ addi r4, r1, 0x188 -/* 8029DA14 0029A974 48 07 51 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029DA18 0029A978 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 8029DA1C 0029A97C 7F 85 E3 78 */ mr r5, r28 -/* 8029DA20 0029A980 C0 62 C0 9C */ lfs f3, lbl_805ADDBC@sda21(r2) -/* 8029DA24 0029A984 38 61 00 68 */ addi r3, r1, 0x68 -/* 8029DA28 0029A988 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8029DA2C 0029A98C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8029DA30 0029A990 EC 81 18 28 */ fsubs f4, f1, f3 -/* 8029DA34 0029A994 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8029DA38 0029A998 C0 3E 00 94 */ lfs f1, 0x94(r30) -/* 8029DA3C 0029A99C EC 00 18 28 */ fsubs f0, f0, f3 -/* 8029DA40 0029A9A0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8029DA44 0029A9A4 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8029DA48 0029A9A8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8029DA4C 0029A9AC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8029DA50 0029A9B0 48 09 AA B9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8029DA54 0029A9B4 38 00 00 00 */ li r0, 0 -/* 8029DA58 0029A9B8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 8029DA5C 0029A9BC 90 01 02 E8 */ stw r0, 0x2e8(r1) -/* 8029DA60 0029A9C0 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l -/* 8029DA64 0029A9C4 7F E3 FB 78 */ mr r3, r31 -/* 8029DA68 0029A9C8 38 81 02 E8 */ addi r4, r1, 0x2e8 -/* 8029DA6C 0029A9CC 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8029DA70 0029A9D0 38 E0 00 00 */ li r7, 0 -/* 8029DA74 0029A9D4 4B DA EC AD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8029DA78 0029A9D8 38 60 00 00 */ li r3, 0 -/* 8029DA7C 0029A9DC 38 80 00 00 */ li r4, 0 -/* 8029DA80 0029A9E0 38 A0 00 00 */ li r5, 0 -/* 8029DA84 0029A9E4 38 C0 00 1E */ li r6, 0x1e -/* 8029DA88 0029A9E8 38 E0 00 00 */ li r7, 0 -/* 8029DA8C 0029A9EC 39 00 00 40 */ li r8, 0x40 -/* 8029DA90 0029A9F0 48 06 AC 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8029DA94 0029A9F4 3B 61 02 EC */ addi r27, r1, 0x2ec -/* 8029DA98 0029A9F8 7F 7A DB 78 */ mr r26, r27 -/* 8029DA9C 0029A9FC 48 00 00 E4 */ b lbl_8029DB80 -lbl_8029DAA0: -/* 8029DAA0 0029AA00 A0 1A 00 00 */ lhz r0, 0(r26) -/* 8029DAA4 0029AA04 7F E3 FB 78 */ mr r3, r31 -/* 8029DAA8 0029AA08 38 81 00 0C */ addi r4, r1, 0xc -/* 8029DAAC 0029AA0C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8029DAB0 0029AA10 4B DA EA F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8029DAB4 0029AA14 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8029DAB8 0029AA18 41 82 00 C4 */ beq lbl_8029DB7C -/* 8029DABC 0029AA1C 4B DB 52 19 */ bl CanDrawStatic__6CActorCFv -/* 8029DAC0 0029AA20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029DAC4 0029AA24 41 82 00 B8 */ beq lbl_8029DB7C -/* 8029DAC8 0029AA28 83 9D 00 64 */ lwz r28, 0x64(r29) -/* 8029DACC 0029AA2C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8029DAD0 0029AA30 38 81 00 20 */ addi r4, r1, 0x20 -/* 8029DAD4 0029AA34 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8029DAD8 0029AA38 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8029DADC 0029AA3C C0 1C 00 04 */ lfs f0, 4(r28) -/* 8029DAE0 0029AA40 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8029DAE4 0029AA44 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8029DAE8 0029AA48 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8029DAEC 0029AA4C 48 07 56 D9 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8029DAF0 0029AA50 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8029DAF4 0029AA54 38 9D 00 34 */ addi r4, r29, 0x34 -/* 8029DAF8 0029AA58 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 8029DAFC 0029AA5C 48 07 4E 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029DB00 0029AA60 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8029DB04 0029AA64 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8029DB08 0029AA68 48 07 50 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029DB0C 0029AA6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029DB10 0029AA70 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 8029DB14 0029AA74 81 83 00 00 */ lwz r12, 0(r3) -/* 8029DB18 0029AA78 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8029DB1C 0029AA7C 7D 89 03 A6 */ mtctr r12 -/* 8029DB20 0029AA80 4E 80 04 21 */ bctrl -/* 8029DB24 0029AA84 38 61 00 98 */ addi r3, r1, 0x98 -/* 8029DB28 0029AA88 38 81 02 18 */ addi r4, r1, 0x218 -/* 8029DB2C 0029AA8C 38 A1 01 E8 */ addi r5, r1, 0x1e8 -/* 8029DB30 0029AA90 48 07 4E 21 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029DB34 0029AA94 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8029DB38 0029AA98 38 81 00 98 */ addi r4, r1, 0x98 -/* 8029DB3C 0029AA9C 48 07 50 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029DB40 0029AAA0 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8029DB44 0029AAA4 38 80 00 1E */ li r4, 0x1e -/* 8029DB48 0029AAA8 38 A0 00 00 */ li r5, 0 -/* 8029DB4C 0029AAAC 48 0D E9 45 */ bl GXLoadTexMtxImm -/* 8029DB50 0029AAB0 7F 83 E3 78 */ mr r3, r28 -/* 8029DB54 0029AAB4 38 80 00 00 */ li r4, 0 -/* 8029DB58 0029AAB8 4B E7 74 55 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 8029DB5C 0029AABC 83 83 00 08 */ lwz r28, 8(r3) -/* 8029DB60 0029AAC0 7F 83 E3 78 */ mr r3, r28 -/* 8029DB64 0029AAC4 48 0B 75 BD */ bl UpdateLastFrame__6CModelFv -/* 8029DB68 0029AAC8 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8029DB6C 0029AACC 38 80 00 00 */ li r4, 0 -/* 8029DB70 0029AAD0 38 A0 00 00 */ li r5, 0 -/* 8029DB74 0029AAD4 38 C0 00 00 */ li r6, 0 -/* 8029DB78 0029AAD8 48 06 8E 79 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -lbl_8029DB7C: -/* 8029DB7C 0029AADC 3B 5A 00 02 */ addi r26, r26, 2 -lbl_8029DB80: -/* 8029DB80 0029AAE0 80 01 02 E8 */ lwz r0, 0x2e8(r1) -/* 8029DB84 0029AAE4 54 00 08 3C */ slwi r0, r0, 1 -/* 8029DB88 0029AAE8 7C 1B 02 14 */ add r0, r27, r0 -/* 8029DB8C 0029AAEC 7C 1A 00 40 */ cmplw r26, r0 -/* 8029DB90 0029AAF0 40 82 FF 10 */ bne lbl_8029DAA0 -/* 8029DB94 0029AAF4 38 61 02 18 */ addi r3, r1, 0x218 -/* 8029DB98 0029AAF8 38 80 00 1E */ li r4, 0x1e -/* 8029DB9C 0029AAFC 38 A0 00 00 */ li r5, 0 -/* 8029DBA0 0029AB00 48 0D E8 F1 */ bl GXLoadTexMtxImm -/* 8029DBA4 0029AB04 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8029DBA8 0029AB08 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 8029DBAC 0029AB0C 48 06 EA 35 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8029DBB0 0029AB10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029DBB4 0029AB14 38 81 00 68 */ addi r4, r1, 0x68 -/* 8029DBB8 0029AB18 38 A0 00 00 */ li r5, 0 -/* 8029DBBC 0029AB1C 38 C0 00 00 */ li r6, 0 -/* 8029DBC0 0029AB20 48 01 81 F9 */ bl DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf -/* 8029DBC4 0029AB24 38 60 00 01 */ li r3, 1 -/* 8029DBC8 0029AB28 38 80 00 03 */ li r4, 3 -/* 8029DBCC 0029AB2C 38 A0 00 01 */ li r5, 1 -/* 8029DBD0 0029AB30 48 06 AC AD */ bl SetZMode__3CGXFb10_GXCompareb -/* 8029DBD4 0029AB34 38 60 00 07 */ li r3, 7 -/* 8029DBD8 0029AB38 38 80 00 00 */ li r4, 0 -/* 8029DBDC 0029AB3C 38 A0 00 00 */ li r5, 0 -/* 8029DBE0 0029AB40 38 C0 00 07 */ li r6, 7 -/* 8029DBE4 0029AB44 38 E0 00 00 */ li r7, 0 -/* 8029DBE8 0029AB48 48 06 AC 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8029DBEC 0029AB4C 88 1E 00 81 */ lbz r0, 0x81(r30) -/* 8029DBF0 0029AB50 28 00 00 00 */ cmplwi r0, 0 -/* 8029DBF4 0029AB54 41 82 00 2C */ beq lbl_8029DC20 -/* 8029DBF8 0029AB58 38 60 00 02 */ li r3, 2 -/* 8029DBFC 0029AB5C 38 80 00 00 */ li r4, 0 -/* 8029DC00 0029AB60 38 A0 00 00 */ li r5, 0 -/* 8029DC04 0029AB64 38 C0 00 01 */ li r6, 1 -/* 8029DC08 0029AB68 38 E0 00 00 */ li r7, 0 -/* 8029DC0C 0029AB6C 39 00 00 00 */ li r8, 0 -/* 8029DC10 0029AB70 39 20 00 02 */ li r9, 2 -/* 8029DC14 0029AB74 48 0D BF 61 */ bl GXSetChanCtrl -/* 8029DC18 0029AB78 38 60 00 00 */ li r3, 0 -/* 8029DC1C 0029AB7C 48 0D BF 15 */ bl GXSetNumChans -lbl_8029DC20: -/* 8029DC20 0029AB80 80 A1 02 E8 */ lwz r5, 0x2e8(r1) -/* 8029DC24 0029AB84 38 60 00 00 */ li r3, 0 -/* 8029DC28 0029AB88 2C 05 00 00 */ cmpwi r5, 0 -/* 8029DC2C 0029AB8C 40 81 00 40 */ ble lbl_8029DC6C -/* 8029DC30 0029AB90 2C 05 00 08 */ cmpwi r5, 8 -/* 8029DC34 0029AB94 38 85 FF F8 */ addi r4, r5, -8 -/* 8029DC38 0029AB98 40 81 00 20 */ ble lbl_8029DC58 -/* 8029DC3C 0029AB9C 38 04 00 07 */ addi r0, r4, 7 -/* 8029DC40 0029ABA0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8029DC44 0029ABA4 7C 09 03 A6 */ mtctr r0 -/* 8029DC48 0029ABA8 2C 04 00 00 */ cmpwi r4, 0 -/* 8029DC4C 0029ABAC 40 81 00 0C */ ble lbl_8029DC58 -lbl_8029DC50: -/* 8029DC50 0029ABB0 38 63 00 08 */ addi r3, r3, 8 -/* 8029DC54 0029ABB4 42 00 FF FC */ bdnz lbl_8029DC50 -lbl_8029DC58: -/* 8029DC58 0029ABB8 7C 03 28 50 */ subf r0, r3, r5 -/* 8029DC5C 0029ABBC 7C 09 03 A6 */ mtctr r0 -/* 8029DC60 0029ABC0 7C 03 28 00 */ cmpw r3, r5 -/* 8029DC64 0029ABC4 40 80 00 08 */ bge lbl_8029DC6C -lbl_8029DC68: -/* 8029DC68 0029ABC8 42 00 00 00 */ bdnz lbl_8029DC68 -lbl_8029DC6C: -/* 8029DC6C 0029ABCC 38 00 00 00 */ li r0, 0 -/* 8029DC70 0029ABD0 90 01 02 E8 */ stw r0, 0x2e8(r1) -lbl_8029DC74: -/* 8029DC74 0029ABD4 E3 E1 0B 28 */ psq_l f31, -1240(r1), 0, qr0 -/* 8029DC78 0029ABD8 CB E1 0B 20 */ lfd f31, 0xb20(r1) -/* 8029DC7C 0029ABDC E3 C1 0B 18 */ psq_l f30, -1256(r1), 0, qr0 -/* 8029DC80 0029ABE0 CB C1 0B 10 */ lfd f30, 0xb10(r1) -/* 8029DC84 0029ABE4 BB 41 0A F8 */ lmw r26, 0xaf8(r1) -/* 8029DC88 0029ABE8 80 01 0B 34 */ lwz r0, 0xb34(r1) -/* 8029DC8C 0029ABEC 7C 08 03 A6 */ mtlr r0 -/* 8029DC90 0029ABF0 38 21 0B 30 */ addi r1, r1, 0xb30 -/* 8029DC94 0029ABF4 4E 80 00 20 */ blr - -.global sub_8029dc98 -sub_8029dc98: -/* 8029DC98 0029ABF8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8029DC9C 0029ABFC 7C 08 02 A6 */ mflr r0 -/* 8029DCA0 0029AC00 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029DCA4 0029AC04 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8029DCA8 0029AC08 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8029DCAC 0029AC0C C1 84 00 0C */ lfs f12, 0xc(r4) -/* 8029DCB0 0029AC10 C1 64 00 00 */ lfs f11, 0(r4) -/* 8029DCB4 0029AC14 C1 44 00 10 */ lfs f10, 0x10(r4) -/* 8029DCB8 0029AC18 C1 24 00 04 */ lfs f9, 4(r4) -/* 8029DCBC 0029AC1C EC 6C 58 28 */ fsubs f3, f12, f11 -/* 8029DCC0 0029AC20 C1 04 00 14 */ lfs f8, 0x14(r4) -/* 8029DCC4 0029AC24 C0 E4 00 08 */ lfs f7, 8(r4) -/* 8029DCC8 0029AC28 EF EA 48 28 */ fsubs f31, f10, f9 -/* 8029DCCC 0029AC2C EC 01 00 F2 */ fmuls f0, f1, f3 -/* 8029DCD0 0029AC30 C0 C2 C0 A0 */ lfs f6, lbl_805ADDC0@sda21(r2) -/* 8029DCD4 0029AC34 ED A8 38 28 */ fsubs f13, f8, f7 -/* 8029DCD8 0029AC38 C0 85 00 04 */ lfs f4, 4(r5) -/* 8029DCDC 0029AC3C EC 41 07 F2 */ fmuls f2, f1, f31 -/* 8029DCE0 0029AC40 EC A0 18 28 */ fsubs f5, f0, f3 -/* 8029DCE4 0029AC44 EC 01 03 72 */ fmuls f0, f1, f13 -/* 8029DCE8 0029AC48 C0 65 00 08 */ lfs f3, 8(r5) -/* 8029DCEC 0029AC4C EC 22 F8 28 */ fsubs f1, f2, f31 -/* 8029DCF0 0029AC50 C0 45 00 00 */ lfs f2, 0(r5) -/* 8029DCF4 0029AC54 EF E6 01 72 */ fmuls f31, f6, f5 -/* 8029DCF8 0029AC58 EC 00 68 28 */ fsubs f0, f0, f13 -/* 8029DCFC 0029AC5C EC A6 00 72 */ fmuls f5, f6, f1 -/* 8029DD00 0029AC60 38 81 00 2C */ addi r4, r1, 0x2c -/* 8029DD04 0029AC64 EC 2C F8 2A */ fadds f1, f12, f31 -/* 8029DD08 0029AC68 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8029DD0C 0029AC6C EC 06 00 32 */ fmuls f0, f6, f0 -/* 8029DD10 0029AC70 ED 4A 28 2A */ fadds f10, f10, f5 -/* 8029DD14 0029AC74 EC C9 28 28 */ fsubs f6, f9, f5 -/* 8029DD18 0029AC78 D0 21 00 08 */ stfs f1, 8(r1) -/* 8029DD1C 0029AC7C ED 08 00 2A */ fadds f8, f8, f0 -/* 8029DD20 0029AC80 EC A7 00 28 */ fsubs f5, f7, f0 -/* 8029DD24 0029AC84 D1 41 00 0C */ stfs f10, 0xc(r1) -/* 8029DD28 0029AC88 EC 0B F8 28 */ fsubs f0, f11, f31 -/* 8029DD2C 0029AC8C ED 2A 20 2A */ fadds f9, f10, f4 -/* 8029DD30 0029AC90 D1 01 00 10 */ stfs f8, 0x10(r1) -/* 8029DD34 0029AC94 EC E8 18 2A */ fadds f7, f8, f3 -/* 8029DD38 0029AC98 EC 21 10 2A */ fadds f1, f1, f2 -/* 8029DD3C 0029AC9C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8029DD40 0029ACA0 EC 86 20 2A */ fadds f4, f6, f4 -/* 8029DD44 0029ACA4 EC 65 18 2A */ fadds f3, f5, f3 -/* 8029DD48 0029ACA8 D1 21 00 18 */ stfs f9, 0x18(r1) -/* 8029DD4C 0029ACAC EC 00 10 2A */ fadds f0, f0, f2 -/* 8029DD50 0029ACB0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8029DD54 0029ACB4 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 8029DD58 0029ACB8 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 8029DD5C 0029ACBC D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8029DD60 0029ACC0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8029DD64 0029ACC4 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8029DD68 0029ACC8 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8029DD6C 0029ACCC 48 09 A7 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8029DD70 0029ACD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8029DD74 0029ACD4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8029DD78 0029ACD8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8029DD7C 0029ACDC 7C 08 03 A6 */ mtlr r0 -/* 8029DD80 0029ACE0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8029DD84 0029ACE4 4E 80 00 20 */ blr - -.global RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff -RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff: -/* 8029DD88 0029ACE8 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 8029DD8C 0029ACEC 7C 08 02 A6 */ mflr r0 -/* 8029DD90 0029ACF0 90 01 02 04 */ stw r0, 0x204(r1) -/* 8029DD94 0029ACF4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 8029DD98 0029ACF8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 8029DD9C 0029ACFC DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 8029DDA0 0029AD00 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 8029DDA4 0029AD04 BE A1 01 B4 */ stmw r21, 0x1b4(r1) -/* 8029DDA8 0029AD08 FF E0 08 90 */ fmr f31, f1 -/* 8029DDAC 0029AD0C 7C 77 1B 78 */ mr r23, r3 -/* 8029DDB0 0029AD10 FF C0 10 90 */ fmr f30, f2 -/* 8029DDB4 0029AD14 7C B9 2B 78 */ mr r25, r5 -/* 8029DDB8 0029AD18 7C DA 33 78 */ mr r26, r6 -/* 8029DDBC 0029AD1C 7C 98 23 78 */ mr r24, r4 -/* 8029DDC0 0029AD20 7C FB 3B 78 */ mr r27, r7 -/* 8029DDC4 0029AD24 7D 15 43 78 */ mr r21, r8 -/* 8029DDC8 0029AD28 7F 24 CB 78 */ mr r4, r25 -/* 8029DDCC 0029AD2C 7F 45 D3 78 */ mr r5, r26 -/* 8029DDD0 0029AD30 38 61 00 28 */ addi r3, r1, 0x28 -/* 8029DDD4 0029AD34 4B E7 79 E1 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 8029DDD8 0029AD38 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8029DDDC 0029AD3C 38 00 00 01 */ li r0, 1 -/* 8029DDE0 0029AD40 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8029DDE4 0029AD44 7E E3 BB 78 */ mr r3, r23 -/* 8029DDE8 0029AD48 90 B7 00 68 */ stw r5, 0x68(r23) -/* 8029DDEC 0029AD4C 90 97 00 6C */ stw r4, 0x6c(r23) -/* 8029DDF0 0029AD50 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8029DDF4 0029AD54 90 97 00 70 */ stw r4, 0x70(r23) -/* 8029DDF8 0029AD58 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 8029DDFC 0029AD5C 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8029DE00 0029AD60 90 B7 00 74 */ stw r5, 0x74(r23) -/* 8029DE04 0029AD64 90 97 00 78 */ stw r4, 0x78(r23) -/* 8029DE08 0029AD68 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 8029DE0C 0029AD6C 90 97 00 7C */ stw r4, 0x7c(r23) -/* 8029DE10 0029AD70 D3 F7 00 84 */ stfs f31, 0x84(r23) -/* 8029DE14 0029AD74 C0 15 00 00 */ lfs f0, 0(r21) -/* 8029DE18 0029AD78 D0 17 00 88 */ stfs f0, 0x88(r23) -/* 8029DE1C 0029AD7C C0 15 00 04 */ lfs f0, 4(r21) -/* 8029DE20 0029AD80 D0 17 00 8C */ stfs f0, 0x8c(r23) -/* 8029DE24 0029AD84 C0 15 00 08 */ lfs f0, 8(r21) -/* 8029DE28 0029AD88 D0 17 00 90 */ stfs f0, 0x90(r23) -/* 8029DE2C 0029AD8C D3 D7 00 94 */ stfs f30, 0x94(r23) -/* 8029DE30 0029AD90 98 17 00 80 */ stb r0, 0x80(r23) -/* 8029DE34 0029AD94 48 00 03 E1 */ bl sub_8029e214 -/* 8029DE38 0029AD98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 8029DE3C 0029AD9C 38 61 01 34 */ addi r3, r1, 0x134 -/* 8029DE40 0029ADA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 8029DE44 0029ADA4 48 07 4D 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029DE48 0029ADA8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) -/* 8029DE4C 0029ADAC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) -/* 8029DE50 0029ADB0 48 06 C0 0D */ bl GetProjectionState__9CGraphicsFv -/* 8029DE54 0029ADB4 88 03 00 00 */ lbz r0, 0(r3) -/* 8029DE58 0029ADB8 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 8029DE5C 0029ADBC 3B 84 D9 10 */ addi r28, r4, lbl_803ED910@l -/* 8029DE60 0029ADC0 3C A0 80 5A */ lis r5, lbl_805A6700@ha -/* 8029DE64 0029ADC4 98 01 00 58 */ stb r0, 0x58(r1) -/* 8029DE68 0029ADC8 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 8029DE6C 0029ADCC 81 9C 00 00 */ lwz r12, 0(r28) -/* 8029DE70 0029ADD0 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 8029DE74 0029ADD4 C0 03 00 04 */ lfs f0, 4(r3) -/* 8029DE78 0029ADD8 38 84 67 18 */ addi r4, r4, lbl_805A6718@l -/* 8029DE7C 0029ADDC 81 7C 00 04 */ lwz r11, 4(r28) -/* 8029DE80 0029ADE0 38 A5 67 00 */ addi r5, r5, lbl_805A6700@l -/* 8029DE84 0029ADE4 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8029DE88 0029ADE8 38 C6 67 24 */ addi r6, r6, lbl_805A6724@l -/* 8029DE8C 0029ADEC 81 5C 00 08 */ lwz r10, 8(r28) -/* 8029DE90 0029ADF0 38 E1 00 1C */ addi r7, r1, 0x1c -/* 8029DE94 0029ADF4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8029DE98 0029ADF8 81 3C 00 0C */ lwz r9, 0xc(r28) -/* 8029DE9C 0029ADFC D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8029DEA0 0029AE00 81 1C 00 10 */ lwz r8, 0x10(r28) -/* 8029DEA4 0029AE04 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8029DEA8 0029AE08 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 8029DEAC 0029AE0C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8029DEB0 0029AE10 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2) -/* 8029DEB4 0029AE14 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8029DEB8 0029AE18 91 81 00 40 */ stw r12, 0x40(r1) -/* 8029DEBC 0029AE1C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8029DEC0 0029AE20 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8029DEC4 0029AE24 91 61 00 44 */ stw r11, 0x44(r1) -/* 8029DEC8 0029AE28 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8029DECC 0029AE2C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8029DED0 0029AE30 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8029DED4 0029AE34 91 41 00 48 */ stw r10, 0x48(r1) -/* 8029DED8 0029AE38 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8029DEDC 0029AE3C C0 77 00 6C */ lfs f3, 0x6c(r23) -/* 8029DEE0 0029AE40 C0 57 00 78 */ lfs f2, 0x78(r23) -/* 8029DEE4 0029AE44 C0 37 00 68 */ lfs f1, 0x68(r23) -/* 8029DEE8 0029AE48 C0 17 00 74 */ lfs f0, 0x74(r23) -/* 8029DEEC 0029AE4C EC 43 10 2A */ fadds f2, f3, f2 -/* 8029DEF0 0029AE50 AB F7 00 04 */ lha r31, 4(r23) -/* 8029DEF4 0029AE54 EC 01 00 2A */ fadds f0, f1, f0 -/* 8029DEF8 0029AE58 AB D7 00 06 */ lha r30, 6(r23) -/* 8029DEFC 0029AE5C C0 77 00 7C */ lfs f3, 0x7c(r23) -/* 8029DF00 0029AE60 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 8029DF04 0029AE64 91 21 00 4C */ stw r9, 0x4c(r1) -/* 8029DF08 0029AE68 57 FD 08 3C */ slwi r29, r31, 1 -/* 8029DF0C 0029AE6C EC 04 00 32 */ fmuls f0, f4, f0 -/* 8029DF10 0029AE70 91 01 00 50 */ stw r8, 0x50(r1) -/* 8029DF14 0029AE74 57 DC 08 3C */ slwi r28, r30, 1 -/* 8029DF18 0029AE78 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029DF1C 0029AE7C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8029DF20 0029AE80 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8029DF24 0029AE84 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8029DF28 0029AE88 48 07 4F 35 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 8029DF2C 0029AE8C 38 61 01 04 */ addi r3, r1, 0x104 -/* 8029DF30 0029AE90 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8029DF34 0029AE94 48 07 4C 41 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8029DF38 0029AE98 38 61 01 04 */ addi r3, r1, 0x104 -/* 8029DF3C 0029AE9C 48 06 E8 11 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029DF40 0029AEA0 C0 22 C0 9C */ lfs f1, lbl_805ADDBC@sda21(r2) -/* 8029DF44 0029AEA4 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2) -/* 8029DF48 0029AEA8 48 06 C4 99 */ bl SetDepthRange__9CGraphicsFff -/* 8029DF4C 0029AEAC C0 77 00 74 */ lfs f3, 0x74(r23) -/* 8029DF50 0029AEB0 C0 57 00 68 */ lfs f2, 0x68(r23) -/* 8029DF54 0029AEB4 C0 37 00 78 */ lfs f1, 0x78(r23) -/* 8029DF58 0029AEB8 C0 17 00 6C */ lfs f0, 0x6c(r23) -/* 8029DF5C 0029AEBC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8029DF60 0029AEC0 C0 82 C0 A0 */ lfs f4, lbl_805ADDC0@sda21(r2) -/* 8029DF64 0029AEC4 EC 61 00 28 */ fsubs f3, f1, f0 -/* 8029DF68 0029AEC8 C0 37 00 7C */ lfs f1, 0x7c(r23) -/* 8029DF6C 0029AECC C0 17 00 70 */ lfs f0, 0x70(r23) -/* 8029DF70 0029AED0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8029DF74 0029AED4 C0 C2 C0 A4 */ lfs f6, lbl_805ADDC4@sda21(r2) -/* 8029DF78 0029AED8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8029DF7C 0029AEDC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8029DF80 0029AEE0 C0 A2 C0 9C */ lfs f5, lbl_805ADDBC@sda21(r2) -/* 8029DF84 0029AEE4 FC 20 10 50 */ fneg f1, f2 -/* 8029DF88 0029AEE8 EC C6 00 2A */ fadds f6, f6, f0 -/* 8029DF8C 0029AEEC FC 80 18 50 */ fneg f4, f3 -/* 8029DF90 0029AEF0 48 06 E5 C5 */ bl SetOrtho__9CGraphicsFffffff -/* 8029DF94 0029AEF4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029DF98 0029AEF8 3C 80 80 5A */ lis r4, lbl_805A6500@ha -/* 8029DF9C 0029AEFC 38 84 65 00 */ addi r4, r4, lbl_805A6500@l -/* 8029DFA0 0029AF00 7F A6 EB 78 */ mr r6, r29 -/* 8029DFA4 0029AF04 81 83 00 00 */ lwz r12, 0(r3) -/* 8029DFA8 0029AF08 7F 87 E3 78 */ mr r7, r28 -/* 8029DFAC 0029AF0C A0 04 00 06 */ lhz r0, 6(r4) -/* 8029DFB0 0029AF10 38 80 00 00 */ li r4, 0 -/* 8029DFB4 0029AF14 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8029DFB8 0029AF18 7C BC 00 50 */ subf r5, r28, r0 -/* 8029DFBC 0029AF1C 7D 89 03 A6 */ mtctr r12 -/* 8029DFC0 0029AF20 4E 80 04 21 */ bctrl -/* 8029DFC4 0029AF24 38 60 00 01 */ li r3, 1 -/* 8029DFC8 0029AF28 48 06 AC C9 */ bl SetNumTevStages__3CGXFUc -/* 8029DFCC 0029AF2C 38 60 00 01 */ li r3, 1 -/* 8029DFD0 0029AF30 48 06 AE 45 */ bl SetNumTexGens__3CGXFUc -/* 8029DFD4 0029AF34 38 60 00 00 */ li r3, 0 -/* 8029DFD8 0029AF38 48 06 AE 79 */ bl SetNumChans__3CGXFUc -/* 8029DFDC 0029AF3C 48 06 E9 A1 */ bl DisableAllLights__9CGraphicsFv -/* 8029DFE0 0029AF40 38 60 00 00 */ li r3, 0 -/* 8029DFE4 0029AF44 48 06 A6 AD */ bl SetNumIndStages__3CGXFUc -/* 8029DFE8 0029AF48 38 60 00 00 */ li r3, 0 -/* 8029DFEC 0029AF4C 48 06 A7 59 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 8029DFF0 0029AF50 38 60 00 00 */ li r3, 0 -/* 8029DFF4 0029AF54 38 80 00 0F */ li r4, 0xf -/* 8029DFF8 0029AF58 38 A0 00 0F */ li r5, 0xf -/* 8029DFFC 0029AF5C 38 C0 00 0F */ li r6, 0xf -/* 8029E000 0029AF60 38 E0 00 0C */ li r7, 0xc -/* 8029E004 0029AF64 48 06 AB E9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8029E008 0029AF68 38 60 00 00 */ li r3, 0 -/* 8029E00C 0029AF6C 38 80 00 07 */ li r4, 7 -/* 8029E010 0029AF70 38 A0 00 07 */ li r5, 7 -/* 8029E014 0029AF74 38 C0 00 07 */ li r6, 7 -/* 8029E018 0029AF78 38 E0 00 06 */ li r7, 6 -/* 8029E01C 0029AF7C 48 06 AB 79 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8029E020 0029AF80 38 60 00 00 */ li r3, 0 -/* 8029E024 0029AF84 38 80 00 00 */ li r4, 0 -/* 8029E028 0029AF88 48 06 A9 75 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 8029E02C 0029AF8C 38 60 00 00 */ li r3, 0 -/* 8029E030 0029AF90 48 06 9C 21 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8029E034 0029AF94 38 60 00 00 */ li r3, 0 -/* 8029E038 0029AF98 38 80 00 FF */ li r4, 0xff -/* 8029E03C 0029AF9C 38 A0 00 FF */ li r5, 0xff -/* 8029E040 0029AFA0 38 C0 00 FF */ li r6, 0xff -/* 8029E044 0029AFA4 48 06 A9 09 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8029E048 0029AFA8 38 60 00 00 */ li r3, 0 -/* 8029E04C 0029AFAC 38 80 00 01 */ li r4, 1 -/* 8029E050 0029AFB0 38 A0 00 00 */ li r5, 0 -/* 8029E054 0029AFB4 38 C0 00 3C */ li r6, 0x3c -/* 8029E058 0029AFB8 38 E0 00 00 */ li r7, 0 -/* 8029E05C 0029AFBC 39 00 00 7D */ li r8, 0x7d -/* 8029E060 0029AFC0 48 06 A6 6D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8029E064 0029AFC4 38 60 00 01 */ li r3, 1 -/* 8029E068 0029AFC8 38 80 00 01 */ li r4, 1 -/* 8029E06C 0029AFCC 38 A0 00 00 */ li r5, 0 -/* 8029E070 0029AFD0 38 C0 00 00 */ li r6, 0 -/* 8029E074 0029AFD4 48 06 A8 5D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8029E078 0029AFD8 38 60 00 07 */ li r3, 7 -/* 8029E07C 0029AFDC 38 80 00 00 */ li r4, 0 -/* 8029E080 0029AFE0 38 A0 00 00 */ li r5, 0 -/* 8029E084 0029AFE4 38 C0 00 07 */ li r6, 7 -/* 8029E088 0029AFE8 38 E0 00 00 */ li r7, 0 -/* 8029E08C 0029AFEC 48 06 A7 89 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8029E090 0029AFF0 82 D9 00 10 */ lwz r22, 0x10(r25) -/* 8029E094 0029AFF4 7F 23 CB 78 */ mr r3, r25 -/* 8029E098 0029AFF8 38 80 00 00 */ li r4, 0 -/* 8029E09C 0029AFFC 4B E7 6E C1 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 8029E0A0 0029B000 38 00 00 00 */ li r0, 0 -/* 8029E0A4 0029B004 7C 75 1B 78 */ mr r21, r3 -/* 8029E0A8 0029B008 98 01 01 AC */ stb r0, 0x1ac(r1) -/* 8029E0AC 0029B00C 7E C3 B3 78 */ mr r3, r22 -/* 8029E0B0 0029B010 38 A1 01 64 */ addi r5, r1, 0x164 -/* 8029E0B4 0029B014 7E A4 AB 78 */ mr r4, r21 -/* 8029E0B8 0029B018 38 C0 00 00 */ li r6, 0 -/* 8029E0BC 0029B01C 4B D8 E8 BD */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8029E0C0 0029B020 38 61 01 64 */ addi r3, r1, 0x164 -/* 8029E0C4 0029B024 38 80 FF FF */ li r4, -1 -/* 8029E0C8 0029B028 4B DD 9B C5 */ bl sub_80077c8c -/* 8029E0CC 0029B02C 7F 60 00 34 */ cntlzw r0, r27 -/* 8029E0D0 0029B030 C0 59 00 00 */ lfs f2, 0(r25) -/* 8029E0D4 0029B034 C0 39 00 04 */ lfs f1, 4(r25) -/* 8029E0D8 0029B038 54 00 D9 7E */ srwi r0, r0, 5 -/* 8029E0DC 0029B03C C0 19 00 08 */ lfs f0, 8(r25) -/* 8029E0E0 0029B040 38 61 00 74 */ addi r3, r1, 0x74 -/* 8029E0E4 0029B044 92 A1 00 08 */ stw r21, 8(r1) -/* 8029E0E8 0029B048 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029E0EC 0029B04C 98 01 00 0C */ stb r0, 0xc(r1) -/* 8029E0F0 0029B050 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8029E0F4 0029B054 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8029E0F8 0029B058 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8029E0FC 0029B05C 48 07 50 C9 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8029E100 0029B060 7F 44 D3 78 */ mr r4, r26 -/* 8029E104 0029B064 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8029E108 0029B068 38 A1 00 74 */ addi r5, r1, 0x74 -/* 8029E10C 0029B06C 48 07 48 45 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029E110 0029B070 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8029E114 0029B074 48 06 E4 CD */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8029E118 0029B078 3C 80 80 2A */ lis r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@ha -/* 8029E11C 0029B07C 7E A3 AB 78 */ mr r3, r21 -/* 8029E120 0029B080 38 84 E3 04 */ addi r4, r4, ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext@l -/* 8029E124 0029B084 38 A1 00 08 */ addi r5, r1, 8 -/* 8029E128 0029B088 48 0B 4D F9 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 8029E12C 0029B08C 48 06 B6 D9 */ bl GetUseVideoFilter__9CGraphicsFv -/* 8029E130 0029B090 7C 79 1B 78 */ mr r25, r3 -/* 8029E134 0029B094 38 60 00 00 */ li r3, 0 -/* 8029E138 0029B098 48 06 B6 D5 */ bl SetUseVideoFilter__9CGraphicsFb -/* 8029E13C 0029B09C 38 60 00 01 */ li r3, 1 -/* 8029E140 0029B0A0 38 80 00 03 */ li r4, 3 -/* 8029E144 0029B0A4 38 A0 00 01 */ li r5, 1 -/* 8029E148 0029B0A8 48 06 A7 35 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8029E14C 0029B0AC 57 A5 04 3E */ clrlwi r5, r29, 0x10 -/* 8029E150 0029B0B0 57 86 04 3E */ clrlwi r6, r28, 0x10 -/* 8029E154 0029B0B4 38 60 00 00 */ li r3, 0 -/* 8029E158 0029B0B8 38 80 00 00 */ li r4, 0 -/* 8029E15C 0029B0BC 48 0D AC 59 */ bl GXSetTexCopySrc -/* 8029E160 0029B0C0 57 E3 04 3E */ clrlwi r3, r31, 0x10 -/* 8029E164 0029B0C4 57 C4 04 3E */ clrlwi r4, r30, 0x10 -/* 8029E168 0029B0C8 38 A0 00 20 */ li r5, 0x20 -/* 8029E16C 0029B0CC 38 C0 00 01 */ li r6, 1 -/* 8029E170 0029B0D0 48 0D AD 11 */ bl GXSetTexCopyDst -/* 8029E174 0029B0D4 88 17 00 0A */ lbz r0, 0xa(r23) -/* 8029E178 0029B0D8 38 60 00 01 */ li r3, 1 -/* 8029E17C 0029B0DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029E180 0029B0E0 7E E3 BB 78 */ mr r3, r23 -/* 8029E184 0029B0E4 98 17 00 0A */ stb r0, 0xa(r23) -/* 8029E188 0029B0E8 38 80 00 00 */ li r4, 0 -/* 8029E18C 0029B0EC 48 07 04 49 */ bl GetBitMapData__8CTextureFi -/* 8029E190 0029B0F0 38 80 00 01 */ li r4, 1 -/* 8029E194 0029B0F4 48 0D B3 A1 */ bl GXCopyTex -/* 8029E198 0029B0F8 7E E3 BB 78 */ mr r3, r23 -/* 8029E19C 0029B0FC 48 07 07 81 */ bl UnLock__8CTextureFv -/* 8029E1A0 0029B100 48 0D A3 C5 */ bl GXPixModeSync -/* 8029E1A4 0029B104 57 23 06 3E */ clrlwi r3, r25, 0x18 -/* 8029E1A8 0029B108 48 06 B6 65 */ bl SetUseVideoFilter__9CGraphicsFb -/* 8029E1AC 0029B10C 38 61 01 34 */ addi r3, r1, 0x134 -/* 8029E1B0 0029B110 48 06 E5 9D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029E1B4 0029B114 38 61 00 58 */ addi r3, r1, 0x58 -/* 8029E1B8 0029B118 48 06 BC 49 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 8029E1BC 0029B11C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029E1C0 0029B120 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8029E1C4 0029B124 81 83 00 00 */ lwz r12, 0(r3) -/* 8029E1C8 0029B128 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 8029E1CC 0029B12C 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8029E1D0 0029B130 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 8029E1D4 0029B134 80 E1 00 4C */ lwz r7, 0x4c(r1) -/* 8029E1D8 0029B138 7D 89 03 A6 */ mtctr r12 -/* 8029E1DC 0029B13C 4E 80 04 21 */ bctrl -/* 8029E1E0 0029B140 FC 20 F8 90 */ fmr f1, f31 -/* 8029E1E4 0029B144 FC 40 F0 90 */ fmr f2, f30 -/* 8029E1E8 0029B148 48 06 C1 F9 */ bl SetDepthRange__9CGraphicsFff -/* 8029E1EC 0029B14C 92 F8 0F 7C */ stw r23, 0xf7c(r24) -/* 8029E1F0 0029B150 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 8029E1F4 0029B154 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 8029E1F8 0029B158 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 8029E1FC 0029B15C CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 8029E200 0029B160 BA A1 01 B4 */ lmw r21, 0x1b4(r1) -/* 8029E204 0029B164 80 01 02 04 */ lwz r0, 0x204(r1) -/* 8029E208 0029B168 7C 08 03 A6 */ mtlr r0 -/* 8029E20C 0029B16C 38 21 02 00 */ addi r1, r1, 0x200 -/* 8029E210 0029B170 4E 80 00 20 */ blr - -.global sub_8029e214 -sub_8029e214: -/* 8029E214 0029B174 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8029E218 0029B178 7C 08 02 A6 */ mflr r0 -/* 8029E21C 0029B17C C8 22 C0 A8 */ lfd f1, lbl_805ADDC8@sda21(r2) -/* 8029E220 0029B180 90 01 00 54 */ stw r0, 0x54(r1) -/* 8029E224 0029B184 3C 00 43 30 */ lis r0, 0x4330 -/* 8029E228 0029B188 C0 E2 C0 98 */ lfs f7, lbl_805ADDB8@sda21(r2) -/* 8029E22C 0029B18C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029E230 0029B190 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8029E234 0029B194 7C 7F 1B 78 */ mr r31, r3 -/* 8029E238 0029B198 A8 A3 00 04 */ lha r5, 4(r3) -/* 8029E23C 0029B19C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029E240 0029B1A0 90 01 00 38 */ stw r0, 0x38(r1) -/* 8029E244 0029B1A4 38 05 FF FE */ addi r0, r5, -2 -/* 8029E248 0029B1A8 C0 DF 00 78 */ lfs f6, 0x78(r31) -/* 8029E24C 0029B1AC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8029E250 0029B1B0 C0 BF 00 6C */ lfs f5, 0x6c(r31) -/* 8029E254 0029B1B4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8029E258 0029B1B8 38 A1 00 08 */ addi r5, r1, 8 -/* 8029E25C 0029B1BC C0 9F 00 74 */ lfs f4, 0x74(r31) -/* 8029E260 0029B1C0 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 8029E264 0029B1C4 C0 7F 00 68 */ lfs f3, 0x68(r31) -/* 8029E268 0029B1C8 EC 40 08 28 */ fsubs f2, f0, f1 -/* 8029E26C 0029B1CC C0 1F 00 7C */ lfs f0, 0x7c(r31) -/* 8029E270 0029B1D0 EC 26 28 28 */ fsubs f1, f6, f5 -/* 8029E274 0029B1D4 ED 27 10 24 */ fdivs f9, f7, f2 -/* 8029E278 0029B1D8 C0 42 C0 9C */ lfs f2, lbl_805ADDBC@sda21(r2) -/* 8029E27C 0029B1DC EC E9 00 72 */ fmuls f7, f9, f1 -/* 8029E280 0029B1E0 EC 24 18 28 */ fsubs f1, f4, f3 -/* 8029E284 0029B1E4 ED 00 10 2A */ fadds f8, f0, f2 -/* 8029E288 0029B1E8 EC C6 38 2A */ fadds f6, f6, f7 -/* 8029E28C 0029B1EC EC 09 00 72 */ fmuls f0, f9, f1 -/* 8029E290 0029B1F0 D1 01 00 10 */ stfs f8, 0x10(r1) -/* 8029E294 0029B1F4 EC A5 38 28 */ fsubs f5, f5, f7 -/* 8029E298 0029B1F8 EC 24 00 2A */ fadds f1, f4, f0 -/* 8029E29C 0029B1FC D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 8029E2A0 0029B200 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8029E2A4 0029B204 D0 21 00 08 */ stfs f1, 8(r1) -/* 8029E2A8 0029B208 C0 3F 00 70 */ lfs f1, 0x70(r31) -/* 8029E2AC 0029B20C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8029E2B0 0029B210 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8029E2B4 0029B214 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8029E2B8 0029B218 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8029E2BC 0029B21C 48 09 A2 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8029E2C0 0029B220 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8029E2C4 0029B224 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029E2C8 0029B228 90 7F 00 68 */ stw r3, 0x68(r31) -/* 8029E2CC 0029B22C 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 8029E2D0 0029B230 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8029E2D4 0029B234 90 1F 00 70 */ stw r0, 0x70(r31) -/* 8029E2D8 0029B238 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8029E2DC 0029B23C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8029E2E0 0029B240 90 7F 00 74 */ stw r3, 0x74(r31) -/* 8029E2E4 0029B244 90 1F 00 78 */ stw r0, 0x78(r31) -/* 8029E2E8 0029B248 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029E2EC 0029B24C 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 8029E2F0 0029B250 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8029E2F4 0029B254 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8029E2F8 0029B258 7C 08 03 A6 */ mtlr r0 -/* 8029E2FC 0029B25C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8029E300 0029B260 4E 80 00 20 */ blr - -.global ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext -ModelDrawCallback__16CProjectedShadowFPCfPCfPC18SShadowDrawContext: -/* 8029E304 0029B264 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029E308 0029B268 7C 08 02 A6 */ mflr r0 -/* 8029E30C 0029B26C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029E310 0029B270 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029E314 0029B274 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029E318 0029B278 7C BE 2B 78 */ mr r30, r5 -/* 8029E31C 0029B27C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029E320 0029B280 7C 9D 23 78 */ mr r29, r4 -/* 8029E324 0029B284 93 81 00 10 */ stw r28, 0x10(r1) -/* 8029E328 0029B288 7C 7C 1B 78 */ mr r28, r3 -/* 8029E32C 0029B28C 80 65 00 00 */ lwz r3, 0(r5) -/* 8029E330 0029B290 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8029E334 0029B294 83 E3 00 28 */ lwz r31, 0x28(r3) -/* 8029E338 0029B298 48 0B 6D E9 */ bl UpdateLastFrame__6CModelFv -/* 8029E33C 0029B29C 88 1E 00 04 */ lbz r0, 4(r30) -/* 8029E340 0029B2A0 7F E3 FB 78 */ mr r3, r31 -/* 8029E344 0029B2A4 7F 84 E3 78 */ mr r4, r28 -/* 8029E348 0029B2A8 7F A5 EB 78 */ mr r5, r29 -/* 8029E34C 0029B2AC 28 00 00 00 */ cmplwi r0, 0 -/* 8029E350 0029B2B0 38 C0 00 00 */ li r6, 0 -/* 8029E354 0029B2B4 41 82 00 08 */ beq lbl_8029E35C -/* 8029E358 0029B2B8 38 C0 00 02 */ li r6, 2 -lbl_8029E35C: -/* 8029E35C 0029B2BC 48 06 86 95 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 8029E360 0029B2C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029E364 0029B2C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029E368 0029B2C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029E36C 0029B2CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029E370 0029B2D0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8029E374 0029B2D4 7C 08 03 A6 */ mtlr r0 -/* 8029E378 0029B2D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029E37C 0029B2DC 4E 80 00 20 */ blr - -.global __dt__16CProjectedShadowFv -__dt__16CProjectedShadowFv: -/* 8029E380 0029B2E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029E384 0029B2E4 7C 08 02 A6 */ mflr r0 -/* 8029E388 0029B2E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029E38C 0029B2EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029E390 0029B2F0 7C 9F 23 78 */ mr r31, r4 -/* 8029E394 0029B2F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8029E398 0029B2F8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029E39C 0029B2FC 41 82 00 24 */ beq lbl_8029E3C0 -/* 8029E3A0 0029B300 48 06 FD 6D */ bl sub_8030e10c -/* 8029E3A4 0029B304 7F C3 F3 78 */ mr r3, r30 -/* 8029E3A8 0029B308 38 80 FF FF */ li r4, -1 -/* 8029E3AC 0029B30C 48 07 16 4D */ bl __dt__8CTextureFv -/* 8029E3B0 0029B310 7F E0 07 35 */ extsh. r0, r31 -/* 8029E3B4 0029B314 40 81 00 0C */ ble lbl_8029E3C0 -/* 8029E3B8 0029B318 7F C3 F3 78 */ mr r3, r30 -/* 8029E3BC 0029B31C 48 07 75 75 */ bl Free__7CMemoryFPCv -lbl_8029E3C0: -/* 8029E3C0 0029B320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029E3C4 0029B324 7F C3 F3 78 */ mr r3, r30 -/* 8029E3C8 0029B328 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029E3CC 0029B32C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029E3D0 0029B330 7C 08 03 A6 */ mtlr r0 -/* 8029E3D4 0029B334 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029E3D8 0029B338 4E 80 00 20 */ blr - -.global __ct__16CProjectedShadowFv -__ct__16CProjectedShadowFv: -/* 8029E3DC 0029B33C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029E3E0 0029B340 7C 08 02 A6 */ mflr r0 -/* 8029E3E4 0029B344 38 E0 00 01 */ li r7, 1 -/* 8029E3E8 0029B348 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029E3EC 0029B34C 7C A0 2B 78 */ mr r0, r5 -/* 8029E3F0 0029B350 7C 85 07 34 */ extsh r5, r4 -/* 8029E3F4 0029B354 38 80 00 00 */ li r4, 0 -/* 8029E3F8 0029B358 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029E3FC 0029B35C 7C DF 33 78 */ mr r31, r6 -/* 8029E400 0029B360 7C 06 07 34 */ extsh r6, r0 -/* 8029E404 0029B364 93 C1 00 08 */ stw r30, 8(r1) -/* 8029E408 0029B368 7C 7E 1B 78 */ mr r30, r3 -/* 8029E40C 0029B36C 48 07 1A 21 */ bl __ct__8CTextureF12ETexelFormatssi -/* 8029E410 0029B370 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 8029E414 0029B374 38 00 00 00 */ li r0, 0 -/* 8029E418 0029B378 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l -/* 8029E41C 0029B37C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8029E420 0029B380 C0 05 00 00 */ lfs f0, 0(r5) -/* 8029E424 0029B384 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8029E428 0029B388 C0 42 C0 98 */ lfs f2, lbl_805ADDB8@sda21(r2) -/* 8029E42C 0029B38C 7F C3 F3 78 */ mr r3, r30 -/* 8029E430 0029B390 D0 1E 00 68 */ stfs f0, 0x68(r30) -/* 8029E434 0029B394 C0 02 C0 9C */ lfs f0, lbl_805ADDBC@sda21(r2) -/* 8029E438 0029B398 C0 25 00 04 */ lfs f1, 4(r5) -/* 8029E43C 0029B39C D0 3E 00 6C */ stfs f1, 0x6c(r30) -/* 8029E440 0029B3A0 C0 25 00 08 */ lfs f1, 8(r5) -/* 8029E444 0029B3A4 D0 3E 00 70 */ stfs f1, 0x70(r30) -/* 8029E448 0029B3A8 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 8029E44C 0029B3AC D0 3E 00 74 */ stfs f1, 0x74(r30) -/* 8029E450 0029B3B0 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8029E454 0029B3B4 D0 3E 00 78 */ stfs f1, 0x78(r30) -/* 8029E458 0029B3B8 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8029E45C 0029B3BC D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 8029E460 0029B3C0 98 1E 00 80 */ stb r0, 0x80(r30) -/* 8029E464 0029B3C4 9B FE 00 81 */ stb r31, 0x81(r30) -/* 8029E468 0029B3C8 D0 5E 00 84 */ stfs f2, 0x84(r30) -/* 8029E46C 0029B3CC C0 24 00 00 */ lfs f1, 0(r4) -/* 8029E470 0029B3D0 D0 3E 00 88 */ stfs f1, 0x88(r30) -/* 8029E474 0029B3D4 C0 24 00 04 */ lfs f1, 4(r4) -/* 8029E478 0029B3D8 D0 3E 00 8C */ stfs f1, 0x8c(r30) -/* 8029E47C 0029B3DC C0 24 00 08 */ lfs f1, 8(r4) -/* 8029E480 0029B3E0 D0 3E 00 90 */ stfs f1, 0x90(r30) -/* 8029E484 0029B3E4 D0 1E 00 94 */ stfs f0, 0x94(r30) -/* 8029E488 0029B3E8 D0 5E 00 98 */ stfs f2, 0x98(r30) -/* 8029E48C 0029B3EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029E490 0029B3F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029E494 0029B3F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029E498 0029B3F8 7C 08 03 A6 */ mtlr r0 -/* 8029E49C 0029B3FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029E4A0 0029B400 4E 80 00 20 */ blr - -.global __dt__12CPreFrontEndFv -__dt__12CPreFrontEndFv: -/* 8029E4A4 0029B404 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029E4A8 0029B408 7C 08 02 A6 */ mflr r0 -/* 8029E4AC 0029B40C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029E4B0 0029B410 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029E4B4 0029B414 7C 9F 23 78 */ mr r31, r4 -/* 8029E4B8 0029B418 93 C1 00 08 */ stw r30, 8(r1) -/* 8029E4BC 0029B41C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029E4C0 0029B420 41 82 00 28 */ beq lbl_8029E4E8 -/* 8029E4C4 0029B424 3C A0 80 3F */ lis r5, lbl_803EC010@ha -/* 8029E4C8 0029B428 38 80 00 00 */ li r4, 0 -/* 8029E4CC 0029B42C 38 05 C0 10 */ addi r0, r5, lbl_803EC010@l -/* 8029E4D0 0029B430 90 1E 00 00 */ stw r0, 0(r30) -/* 8029E4D4 0029B434 4B DB 46 D1 */ bl __dt__6CIOWinFv -/* 8029E4D8 0029B438 7F E0 07 35 */ extsh. r0, r31 -/* 8029E4DC 0029B43C 40 81 00 0C */ ble lbl_8029E4E8 -/* 8029E4E0 0029B440 7F C3 F3 78 */ mr r3, r30 -/* 8029E4E4 0029B444 48 07 74 4D */ bl Free__7CMemoryFPCv -lbl_8029E4E8: -/* 8029E4E8 0029B448 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029E4EC 0029B44C 7F C3 F3 78 */ mr r3, r30 -/* 8029E4F0 0029B450 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029E4F4 0029B454 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029E4F8 0029B458 7C 08 03 A6 */ mtlr r0 -/* 8029E4FC 0029B45C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029E500 0029B460 4E 80 00 20 */ blr - -.global Draw__12CPreFrontEndCFv -Draw__12CPreFrontEndCFv: -/* 8029E504 0029B464 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029E508 0029B468 7C 08 02 A6 */ mflr r0 -/* 8029E50C 0029B46C 38 60 00 01 */ li r3, 1 -/* 8029E510 0029B470 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029E514 0029B474 48 06 AF 95 */ bl SetIsBeginSceneClearFb__9CGraphicsFb -/* 8029E518 0029B478 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029E51C 0029B47C 7C 08 03 A6 */ mtlr r0 -/* 8029E520 0029B480 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029E524 0029B484 4E 80 00 20 */ blr - -.global OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage -OnIOWinMessage__12CPreFrontEndFRC20CArchitectureMessage: -/* 8029E528 0029B488 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029E52C 0029B48C 7C 08 02 A6 */ mflr r0 -/* 8029E530 0029B490 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029E534 0029B494 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029E538 0029B498 7C 7F 1B 78 */ mr r31, r3 -/* 8029E53C 0029B49C 80 04 00 04 */ lwz r0, 4(r4) -/* 8029E540 0029B4A0 2C 00 00 04 */ cmpwi r0, 4 -/* 8029E544 0029B4A4 40 82 00 84 */ bne lbl_8029E5C8 -/* 8029E548 0029B4A8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029E54C 0029B4AC 38 63 00 04 */ addi r3, r3, 4 -/* 8029E550 0029B4B0 48 09 D8 61 */ bl AreAllPaksLoaded__10CResLoaderCFv -/* 8029E554 0029B4B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029E558 0029B4B8 40 82 00 0C */ bne lbl_8029E564 -/* 8029E55C 0029B4BC 38 60 00 01 */ li r3, 1 -/* 8029E560 0029B4C0 48 00 00 6C */ b lbl_8029E5CC -lbl_8029E564: -/* 8029E564 0029B4C4 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 8029E568 0029B4C8 28 00 00 00 */ cmplwi r0, 0 -/* 8029E56C 0029B4CC 40 82 00 14 */ bne lbl_8029E580 -/* 8029E570 0029B4D0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8029E574 0029B4D4 4B D6 51 09 */ bl RegisterResourceTweaks__5CMainFv -/* 8029E578 0029B4D8 38 00 00 01 */ li r0, 1 -/* 8029E57C 0029B4DC 98 1F 00 14 */ stb r0, 0x14(r31) -lbl_8029E580: -/* 8029E580 0029B4E0 3C 80 00 0F */ lis r4, 0x000F4240@ha -/* 8029E584 0029B4E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8029E588 0029B4E8 38 84 42 40 */ addi r4, r4, 0x000F4240@l -/* 8029E58C 0029B4EC 48 09 B6 45 */ bl AsyncIdle__11CResFactoryFUl -/* 8029E590 0029B4F0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8029E594 0029B4F4 4B D6 80 A9 */ bl MemoryCardInitializePump__5CMainFv -/* 8029E598 0029B4F8 80 0D A0 84 */ lwz r0, gpMemoryCard@sda21(r13) -/* 8029E59C 0029B4FC 28 00 00 00 */ cmplwi r0, 0 -/* 8029E5A0 0029B500 40 82 00 0C */ bne lbl_8029E5AC -/* 8029E5A4 0029B504 38 60 00 01 */ li r3, 1 -/* 8029E5A8 0029B508 48 00 00 24 */ b lbl_8029E5CC -lbl_8029E5AC: -/* 8029E5AC 0029B50C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 8029E5B0 0029B510 4B D6 83 51 */ bl LoadAudio__5CMainFv -/* 8029E5B4 0029B514 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029E5B8 0029B518 38 60 00 01 */ li r3, 1 -/* 8029E5BC 0029B51C 41 82 00 10 */ beq lbl_8029E5CC -/* 8029E5C0 0029B520 38 60 00 02 */ li r3, 2 -/* 8029E5C4 0029B524 48 00 00 08 */ b lbl_8029E5CC -lbl_8029E5C8: -/* 8029E5C8 0029B528 38 60 00 00 */ li r3, 0 -lbl_8029E5CC: -/* 8029E5CC 0029B52C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029E5D0 0029B530 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029E5D4 0029B534 7C 08 03 A6 */ mtlr r0 -/* 8029E5D8 0029B538 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029E5DC 0029B53C 4E 80 00 20 */ blr - -.global __ct__12CPreFrontEndFv -__ct__12CPreFrontEndFv: -/* 8029E5E0 0029B540 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029E5E4 0029B544 7C 08 02 A6 */ mflr r0 -/* 8029E5E8 0029B548 3C 80 80 3D */ lis r4, lbl_803D5E80@ha -/* 8029E5EC 0029B54C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029E5F0 0029B550 38 84 5E 80 */ addi r4, r4, lbl_803D5E80@l -/* 8029E5F4 0029B554 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029E5F8 0029B558 7C 7F 1B 78 */ mr r31, r3 -/* 8029E5FC 0029B55C 38 61 00 08 */ addi r3, r1, 8 -/* 8029E600 0029B560 4B D6 66 B9 */ bl string_l__4rstlFPCc -/* 8029E604 0029B564 7F E3 FB 78 */ mr r3, r31 -/* 8029E608 0029B568 38 81 00 08 */ addi r4, r1, 8 -/* 8029E60C 0029B56C 4B DB 46 01 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8029E610 0029B570 38 61 00 08 */ addi r3, r1, 8 -/* 8029E614 0029B574 48 09 F4 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029E618 0029B578 3C 60 80 3F */ lis r3, lbl_803EC010@ha -/* 8029E61C 0029B57C 38 00 00 00 */ li r0, 0 -/* 8029E620 0029B580 38 83 C0 10 */ addi r4, r3, lbl_803EC010@l -/* 8029E624 0029B584 7F E3 FB 78 */ mr r3, r31 -/* 8029E628 0029B588 90 9F 00 00 */ stw r4, 0(r31) -/* 8029E62C 0029B58C 98 1F 00 14 */ stb r0, 0x14(r31) -/* 8029E630 0029B590 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029E634 0029B594 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029E638 0029B598 7C 08 03 A6 */ mtlr r0 -/* 8029E63C 0029B59C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029E640 0029B5A0 4E 80 00 20 */ blr - -.global Draw__13CGameCubeDollFf -Draw__13CGameCubeDollFf: -/* 8029E644 0029B5A4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8029E648 0029B5A8 7C 08 02 A6 */ mflr r0 -/* 8029E64C 0029B5AC 90 01 01 14 */ stw r0, 0x114(r1) -/* 8029E650 0029B5B0 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 8029E654 0029B5B4 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 8029E658 0029B5B8 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8029E65C 0029B5BC 7C 7F 1B 78 */ mr r31, r3 -/* 8029E660 0029B5C0 FF E0 08 90 */ fmr f31, f1 -/* 8029E664 0029B5C4 48 00 04 D5 */ bl IsLoaded__13CGameCubeDollCFv -/* 8029E668 0029B5C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029E66C 0029B5CC 41 82 01 44 */ beq lbl_8029E7B0 -/* 8029E670 0029B5D0 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8029E674 0029B5D4 3C 80 43 30 */ lis r4, 0x4330 -/* 8029E678 0029B5D8 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 8029E67C 0029B5DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8029E680 0029B5E0 80 A6 00 08 */ lwz r5, 8(r6) -/* 8029E684 0029B5E4 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8029E688 0029B5E8 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8029E68C 0029B5EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8029E690 0029B5F0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8029E694 0029B5F4 90 A1 00 E4 */ stw r5, 0xe4(r1) -/* 8029E698 0029B5F8 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8029E69C 0029B5FC 90 81 00 E0 */ stw r4, 0xe0(r1) -/* 8029E6A0 0029B600 C8 62 C0 D8 */ lfd f3, lbl_805ADDF8@sda21(r2) -/* 8029E6A4 0029B604 EF FF 00 32 */ fmuls f31, f31, f0 -/* 8029E6A8 0029B608 C8 01 00 E0 */ lfd f0, 0xe0(r1) -/* 8029E6AC 0029B60C 90 01 00 EC */ stw r0, 0xec(r1) -/* 8029E6B0 0029B610 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8029E6B4 0029B614 EC 40 18 28 */ fsubs f2, f0, f3 -/* 8029E6B8 0029B618 90 81 00 E8 */ stw r4, 0xe8(r1) -/* 8029E6BC 0029B61C C0 22 C0 B0 */ lfs f1, lbl_805ADDD0@sda21(r2) -/* 8029E6C0 0029B620 C8 01 00 E8 */ lfd f0, 0xe8(r1) -/* 8029E6C4 0029B624 C0 82 C0 B4 */ lfs f4, lbl_805ADDD4@sda21(r2) -/* 8029E6C8 0029B628 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8029E6CC 0029B62C C0 A2 C0 B8 */ lfs f5, lbl_805ADDD8@sda21(r2) -/* 8029E6D0 0029B630 7D 89 03 A6 */ mtctr r12 -/* 8029E6D4 0029B634 4E 80 04 21 */ bctrl -/* 8029E6D8 0029B638 C0 22 C0 BC */ lfs f1, lbl_805ADDDC@sda21(r2) -/* 8029E6DC 0029B63C 38 61 00 AC */ addi r3, r1, 0xac -/* 8029E6E0 0029B640 C0 42 C0 C0 */ lfs f2, lbl_805ADDE0@sda21(r2) -/* 8029E6E4 0029B644 FC 60 08 90 */ fmr f3, f1 -/* 8029E6E8 0029B648 48 07 4A A1 */ bl Translate__12CTransform4fFfff -/* 8029E6EC 0029B64C 38 61 00 AC */ addi r3, r1, 0xac -/* 8029E6F0 0029B650 48 06 E0 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8029E6F4 0029B654 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8029E6F8 0029B658 4B E6 66 91 */ bl ActivateLights__12CActorLightsCFv -/* 8029E6FC 0029B65C 48 06 B7 E5 */ bl GetSecondsMod900__9CGraphicsFv -/* 8029E700 0029B660 C0 42 C0 C8 */ lfs f2, lbl_805ADDE8@sda21(r2) -/* 8029E704 0029B664 38 61 00 1C */ addi r3, r1, 0x1c -/* 8029E708 0029B668 C0 02 C0 C4 */ lfs f0, lbl_805ADDE4@sda21(r2) -/* 8029E70C 0029B66C EC 62 00 72 */ fmuls f3, f2, f1 -/* 8029E710 0029B670 C0 42 C0 CC */ lfs f2, lbl_805ADDEC@sda21(r2) -/* 8029E714 0029B674 C0 22 C0 B4 */ lfs f1, lbl_805ADDD4@sda21(r2) -/* 8029E718 0029B678 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8029E71C 0029B67C FC 00 00 50 */ fneg f0, f0 -/* 8029E720 0029B680 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8029E724 0029B684 D0 01 00 08 */ stfs f0, 8(r1) -/* 8029E728 0029B688 48 07 4B 19 */ bl Scale__12CTransform4fFf -/* 8029E72C 0029B68C 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029E730 0029B690 38 81 00 08 */ addi r4, r1, 8 -/* 8029E734 0029B694 48 07 50 DD */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8029E738 0029B698 38 61 00 7C */ addi r3, r1, 0x7c -/* 8029E73C 0029B69C 38 81 00 4C */ addi r4, r1, 0x4c -/* 8029E740 0029B6A0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8029E744 0029B6A4 48 07 42 0D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8029E748 0029B6A8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8029E74C 0029B6AC 48 06 DE 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8029E750 0029B6B0 7F E4 FB 78 */ mr r4, r31 -/* 8029E754 0029B6B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029E758 0029B6B8 48 0A 27 51 */ bl __ct__6CTokenFRC6CToken -/* 8029E75C 0029B6BC C0 22 C0 D0 */ lfs f1, lbl_805ADDF0@sda21(r2) -/* 8029E760 0029B6C0 38 60 00 05 */ li r3, 5 -/* 8029E764 0029B6C4 38 80 00 00 */ li r4, 0 -/* 8029E768 0029B6C8 38 00 00 03 */ li r0, 3 -/* 8029E76C 0029B6CC FC 40 08 90 */ fmr f2, f1 -/* 8029E770 0029B6D0 98 61 00 0C */ stb r3, 0xc(r1) -/* 8029E774 0029B6D4 FC 60 08 90 */ fmr f3, f1 -/* 8029E778 0029B6D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029E77C 0029B6DC FC 80 F8 90 */ fmr f4, f31 -/* 8029E780 0029B6E0 98 81 00 0D */ stb r4, 0xd(r1) -/* 8029E784 0029B6E4 B0 01 00 0E */ sth r0, 0xe(r1) -/* 8029E788 0029B6E8 48 0C 4C 65 */ bl __ct__6CColorFffff -/* 8029E78C 0029B6EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029E790 0029B6F0 48 0A 26 7D */ bl GetObj__6CTokenFv -/* 8029E794 0029B6F4 80 63 00 04 */ lwz r3, 4(r3) -/* 8029E798 0029B6F8 38 81 00 0C */ addi r4, r1, 0xc -/* 8029E79C 0029B6FC 48 0B 74 39 */ bl Draw__6CModelCFRC11CModelFlags -/* 8029E7A0 0029B700 48 06 E1 DD */ bl DisableAllLights__9CGraphicsFv -/* 8029E7A4 0029B704 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029E7A8 0029B708 38 80 00 00 */ li r4, 0 -/* 8029E7AC 0029B70C 48 0A 26 95 */ bl __dt__6CTokenFv -lbl_8029E7B0: -/* 8029E7B0 0029B710 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 8029E7B4 0029B714 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8029E7B8 0029B718 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 8029E7BC 0029B71C 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8029E7C0 0029B720 7C 08 03 A6 */ mtlr r0 -/* 8029E7C4 0029B724 38 21 01 10 */ addi r1, r1, 0x110 -/* 8029E7C8 0029B728 4E 80 00 20 */ blr - -.global Update__13CGameCubeDollFf -Update__13CGameCubeDollFf: -/* 8029E7CC 0029B72C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029E7D0 0029B730 7C 08 02 A6 */ mflr r0 -/* 8029E7D4 0029B734 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029E7D8 0029B738 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8029E7DC 0029B73C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8029E7E0 0029B740 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029E7E4 0029B744 7C 7F 1B 78 */ mr r31, r3 -/* 8029E7E8 0029B748 FF E0 08 90 */ fmr f31, f1 -/* 8029E7EC 0029B74C 48 00 03 65 */ bl CheckLoadComplete__13CGameCubeDollFv -/* 8029E7F0 0029B750 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029E7F4 0029B754 41 82 00 3C */ beq lbl_8029E830 -/* 8029E7F8 0029B758 C0 42 C0 E0 */ lfs f2, lbl_805ADE00@sda21(r2) -/* 8029E7FC 0029B75C C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8029E800 0029B760 C0 0D 9A 28 */ lfs f0, lbl_805A85E8@sda21(r13) -/* 8029E804 0029B764 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 8029E808 0029B768 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029E80C 0029B76C D0 21 00 08 */ stfs f1, 8(r1) -/* 8029E810 0029B770 40 80 00 0C */ bge lbl_8029E81C -/* 8029E814 0029B774 38 61 00 08 */ addi r3, r1, 8 -/* 8029E818 0029B778 48 00 00 08 */ b lbl_8029E820 -lbl_8029E81C: -/* 8029E81C 0029B77C 38 6D 9A 28 */ addi r3, r13, lbl_805A85E8@sda21 -lbl_8029E820: -/* 8029E820 0029B780 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029E824 0029B784 7F E3 FB 78 */ mr r3, r31 -/* 8029E828 0029B788 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8029E82C 0029B78C 48 00 00 81 */ bl UpdateActorLights__13CGameCubeDollFv -lbl_8029E830: -/* 8029E830 0029B790 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8029E834 0029B794 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029E838 0029B798 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8029E83C 0029B79C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029E840 0029B7A0 7C 08 03 A6 */ mtlr r0 -/* 8029E844 0029B7A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029E848 0029B7A8 4E 80 00 20 */ blr - -.global Touch__13CGameCubeDollFv -Touch__13CGameCubeDollFv: -/* 8029E84C 0029B7AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029E850 0029B7B0 7C 08 02 A6 */ mflr r0 -/* 8029E854 0029B7B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029E858 0029B7B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029E85C 0029B7BC 7C 7F 1B 78 */ mr r31, r3 -/* 8029E860 0029B7C0 48 00 02 F1 */ bl CheckLoadComplete__13CGameCubeDollFv -/* 8029E864 0029B7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029E868 0029B7C8 41 82 00 30 */ beq lbl_8029E898 -/* 8029E86C 0029B7CC 7F E4 FB 78 */ mr r4, r31 -/* 8029E870 0029B7D0 38 61 00 08 */ addi r3, r1, 8 -/* 8029E874 0029B7D4 48 0A 26 35 */ bl __ct__6CTokenFRC6CToken -/* 8029E878 0029B7D8 38 61 00 08 */ addi r3, r1, 8 -/* 8029E87C 0029B7DC 48 0A 25 91 */ bl GetObj__6CTokenFv -/* 8029E880 0029B7E0 80 63 00 04 */ lwz r3, 4(r3) -/* 8029E884 0029B7E4 38 80 00 00 */ li r4, 0 -/* 8029E888 0029B7E8 48 0B 6D AD */ bl Touch__6CModelCFi -/* 8029E88C 0029B7EC 38 61 00 08 */ addi r3, r1, 8 -/* 8029E890 0029B7F0 38 80 00 00 */ li r4, 0 -/* 8029E894 0029B7F4 48 0A 25 AD */ bl __dt__6CTokenFv -lbl_8029E898: -/* 8029E898 0029B7F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029E89C 0029B7FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029E8A0 0029B800 7C 08 03 A6 */ mtlr r0 -/* 8029E8A4 0029B804 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029E8A8 0029B808 4E 80 00 20 */ blr - -.global UpdateActorLights__13CGameCubeDollFv -UpdateActorLights__13CGameCubeDollFv: -/* 8029E8AC 0029B80C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8029E8B0 0029B810 7C 08 02 A6 */ mflr r0 -/* 8029E8B4 0029B814 3C 80 80 5A */ lis r4, lbl_805A6718@ha -/* 8029E8B8 0029B818 3C C0 80 5A */ lis r6, lbl_805A6700@ha -/* 8029E8BC 0029B81C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8029E8C0 0029B820 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l -/* 8029E8C4 0029B824 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8029E8C8 0029B828 C0 62 C0 C4 */ lfs f3, lbl_805ADDE4@sda21(r2) -/* 8029E8CC 0029B82C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8029E8D0 0029B830 7C 7F 1B 78 */ mr r31, r3 -/* 8029E8D4 0029B834 38 84 67 24 */ addi r4, r4, lbl_805A6724@l -/* 8029E8D8 0029B838 38 C6 67 00 */ addi r6, r6, lbl_805A6700@l -/* 8029E8DC 0029B83C 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8029E8E0 0029B840 38 61 00 40 */ addi r3, r1, 0x40 -/* 8029E8E4 0029B844 C0 C2 C0 E4 */ lfs f6, lbl_805ADE04@sda21(r2) -/* 8029E8E8 0029B848 C0 45 00 08 */ lfs f2, 8(r5) -/* 8029E8EC 0029B84C C0 25 00 00 */ lfs f1, 0(r5) -/* 8029E8F0 0029B850 EC E3 00 B2 */ fmuls f7, f3, f2 -/* 8029E8F4 0029B854 C0 05 00 04 */ lfs f0, 4(r5) -/* 8029E8F8 0029B858 EC 83 00 72 */ fmuls f4, f3, f1 -/* 8029E8FC 0029B85C C0 24 00 08 */ lfs f1, 8(r4) -/* 8029E900 0029B860 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8029E904 0029B864 C0 04 00 00 */ lfs f0, 0(r4) -/* 8029E908 0029B868 C0 44 00 04 */ lfs f2, 4(r4) -/* 8029E90C 0029B86C ED 01 38 2A */ fadds f8, f1, f7 -/* 8029E910 0029B870 EC 20 20 2A */ fadds f1, f0, f4 -/* 8029E914 0029B874 C0 06 00 00 */ lfs f0, 0(r6) -/* 8029E918 0029B878 ED 22 18 2A */ fadds f9, f2, f3 -/* 8029E91C 0029B87C C0 46 00 08 */ lfs f2, 8(r6) -/* 8029E920 0029B880 EC A6 00 32 */ fmuls f5, f6, f0 -/* 8029E924 0029B884 ED 46 00 B2 */ fmuls f10, f6, f2 -/* 8029E928 0029B888 C0 06 00 04 */ lfs f0, 4(r6) -/* 8029E92C 0029B88C 38 81 00 34 */ addi r4, r1, 0x34 -/* 8029E930 0029B890 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8029E934 0029B894 EC 46 00 32 */ fmuls f2, f6, f0 -/* 8029E938 0029B898 EC 88 50 2A */ fadds f4, f8, f10 -/* 8029E93C 0029B89C D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8029E940 0029B8A0 EC 01 28 2A */ fadds f0, f1, f5 -/* 8029E944 0029B8A4 EC A9 10 2A */ fadds f5, f9, f2 -/* 8029E948 0029B8A8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8029E94C 0029B8AC D1 41 00 18 */ stfs f10, 0x18(r1) -/* 8029E950 0029B8B0 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8029E954 0029B8B4 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 8029E958 0029B8B8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8029E95C 0029B8BC D1 21 00 2C */ stfs f9, 0x2c(r1) -/* 8029E960 0029B8C0 D1 01 00 30 */ stfs f8, 0x30(r1) -/* 8029E964 0029B8C4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8029E968 0029B8C8 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 8029E96C 0029B8CC D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8029E970 0029B8D0 48 07 5E E1 */ bl AsNormalized__9CVector3fCFv -/* 8029E974 0029B8D4 38 00 00 FF */ li r0, 0xff -/* 8029E978 0029B8D8 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8029E97C 0029B8DC 98 01 00 0C */ stb r0, 0xc(r1) -/* 8029E980 0029B8E0 38 83 67 24 */ addi r4, r3, lbl_805A6724@l -/* 8029E984 0029B8E4 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029E988 0029B8E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029E98C 0029B8EC 98 01 00 0D */ stb r0, 0xd(r1) -/* 8029E990 0029B8F0 98 01 00 0E */ stb r0, 0xe(r1) -/* 8029E994 0029B8F4 98 01 00 0F */ stb r0, 0xf(r1) -/* 8029E998 0029B8F8 48 06 7A D5 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029E99C 0029B8FC 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 8029E9A0 0029B900 38 61 00 08 */ addi r3, r1, 8 -/* 8029E9A4 0029B904 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 8029E9A8 0029B908 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8029E9AC 0029B90C C0 22 C0 C4 */ lfs f1, lbl_805ADDE4@sda21(r2) -/* 8029E9B0 0029B910 90 85 00 00 */ stw r4, 0(r5) -/* 8029E9B4 0029B914 FC 40 08 90 */ fmr f2, f1 -/* 8029E9B8 0029B918 C0 82 C0 D0 */ lfs f4, lbl_805ADDF0@sda21(r2) -/* 8029E9BC 0029B91C 90 05 00 04 */ stw r0, 4(r5) -/* 8029E9C0 0029B920 FC 60 08 90 */ fmr f3, f1 -/* 8029E9C4 0029B924 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8029E9C8 0029B928 90 05 00 08 */ stw r0, 8(r5) -/* 8029E9CC 0029B92C 80 81 00 58 */ lwz r4, 0x58(r1) -/* 8029E9D0 0029B930 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8029E9D4 0029B934 90 85 00 0C */ stw r4, 0xc(r5) -/* 8029E9D8 0029B938 90 05 00 10 */ stw r0, 0x10(r5) -/* 8029E9DC 0029B93C 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8029E9E0 0029B940 90 05 00 14 */ stw r0, 0x14(r5) -/* 8029E9E4 0029B944 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8029E9E8 0029B948 90 05 00 18 */ stw r0, 0x18(r5) -/* 8029E9EC 0029B94C 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8029E9F0 0029B950 90 05 00 1C */ stw r0, 0x1c(r5) -/* 8029E9F4 0029B954 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8029E9F8 0029B958 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8029E9FC 0029B95C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8029EA00 0029B960 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8029EA04 0029B964 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8029EA08 0029B968 D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8029EA0C 0029B96C C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8029EA10 0029B970 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8029EA14 0029B974 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8029EA18 0029B978 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 8029EA1C 0029B97C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8029EA20 0029B980 D0 05 00 34 */ stfs f0, 0x34(r5) -/* 8029EA24 0029B984 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8029EA28 0029B988 D0 05 00 38 */ stfs f0, 0x38(r5) -/* 8029EA2C 0029B98C 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8029EA30 0029B990 90 05 00 3C */ stw r0, 0x3c(r5) -/* 8029EA34 0029B994 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 8029EA38 0029B998 90 05 00 40 */ stw r0, 0x40(r5) -/* 8029EA3C 0029B99C C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8029EA40 0029B9A0 D0 05 00 44 */ stfs f0, 0x44(r5) -/* 8029EA44 0029B9A4 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8029EA48 0029B9A8 D0 05 00 48 */ stfs f0, 0x48(r5) -/* 8029EA4C 0029B9AC 88 01 00 98 */ lbz r0, 0x98(r1) -/* 8029EA50 0029B9B0 98 05 00 4C */ stb r0, 0x4c(r5) -/* 8029EA54 0029B9B4 83 DF 00 18 */ lwz r30, 0x18(r31) -/* 8029EA58 0029B9B8 48 0C 49 95 */ bl __ct__6CColorFffff -/* 8029EA5C 0029B9BC 7C 65 1B 78 */ mr r5, r3 -/* 8029EA60 0029B9C0 7F C3 F3 78 */ mr r3, r30 -/* 8029EA64 0029B9C4 38 9F 00 08 */ addi r4, r31, 8 -/* 8029EA68 0029B9C8 4B E6 46 C5 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" -/* 8029EA6C 0029B9CC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8029EA70 0029B9D0 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8029EA74 0029B9D4 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8029EA78 0029B9D8 7C 08 03 A6 */ mtlr r0 -/* 8029EA7C 0029B9DC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8029EA80 0029B9E0 4E 80 00 20 */ blr - -.global __dt__13CGameCubeDollFv -__dt__13CGameCubeDollFv: -/* 8029EA84 0029B9E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029EA88 0029B9E8 7C 08 02 A6 */ mflr r0 -/* 8029EA8C 0029B9EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029EA90 0029B9F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029EA94 0029B9F4 7C 9F 23 78 */ mr r31, r4 -/* 8029EA98 0029B9F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029EA9C 0029B9FC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029EAA0 0029BA00 41 82 00 7C */ beq lbl_8029EB1C -/* 8029EAA4 0029BA04 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8029EAA8 0029BA08 41 82 00 10 */ beq lbl_8029EAB8 -/* 8029EAAC 0029BA0C 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8029EAB0 0029BA10 38 80 00 01 */ li r4, 1 -/* 8029EAB4 0029BA14 4B E6 66 21 */ bl __dt__12CActorLightsFv -lbl_8029EAB8: -/* 8029EAB8 0029BA18 34 1E 00 08 */ addic. r0, r30, 8 -/* 8029EABC 0029BA1C 41 82 00 44 */ beq lbl_8029EB00 -/* 8029EAC0 0029BA20 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8029EAC4 0029BA24 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8029EAC8 0029BA28 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 8029EACC 0029BA2C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8029EAD0 0029BA30 7C 64 1B 78 */ mr r4, r3 -/* 8029EAD4 0029BA34 7C 03 02 14 */ add r0, r3, r0 -/* 8029EAD8 0029BA38 90 61 00 08 */ stw r3, 8(r1) -/* 8029EADC 0029BA3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029EAE0 0029BA40 90 01 00 10 */ stw r0, 0x10(r1) -/* 8029EAE4 0029BA44 48 00 00 08 */ b lbl_8029EAEC -lbl_8029EAE8: -/* 8029EAE8 0029BA48 38 84 00 50 */ addi r4, r4, 0x50 -lbl_8029EAEC: -/* 8029EAEC 0029BA4C 7C 04 00 40 */ cmplw r4, r0 -/* 8029EAF0 0029BA50 40 82 FF F8 */ bne lbl_8029EAE8 -/* 8029EAF4 0029BA54 28 03 00 00 */ cmplwi r3, 0 -/* 8029EAF8 0029BA58 41 82 00 08 */ beq lbl_8029EB00 -/* 8029EAFC 0029BA5C 48 07 6E 35 */ bl Free__7CMemoryFPCv -lbl_8029EB00: -/* 8029EB00 0029BA60 7F C3 F3 78 */ mr r3, r30 -/* 8029EB04 0029BA64 38 80 FF FF */ li r4, -1 -/* 8029EB08 0029BA68 48 0A 23 39 */ bl __dt__6CTokenFv -/* 8029EB0C 0029BA6C 7F E0 07 35 */ extsh. r0, r31 -/* 8029EB10 0029BA70 40 81 00 0C */ ble lbl_8029EB1C -/* 8029EB14 0029BA74 7F C3 F3 78 */ mr r3, r30 -/* 8029EB18 0029BA78 48 07 6E 19 */ bl Free__7CMemoryFPCv -lbl_8029EB1C: -/* 8029EB1C 0029BA7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029EB20 0029BA80 7F C3 F3 78 */ mr r3, r30 -/* 8029EB24 0029BA84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029EB28 0029BA88 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029EB2C 0029BA8C 7C 08 03 A6 */ mtlr r0 -/* 8029EB30 0029BA90 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029EB34 0029BA94 4E 80 00 20 */ blr - -.global IsLoaded__13CGameCubeDollCFv -IsLoaded__13CGameCubeDollCFv: -/* 8029EB38 0029BA98 88 03 00 20 */ lbz r0, 0x20(r3) -/* 8029EB3C 0029BA9C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8029EB40 0029BAA0 7C 03 00 D0 */ neg r0, r3 -/* 8029EB44 0029BAA4 7C 00 1B 78 */ or r0, r0, r3 -/* 8029EB48 0029BAA8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8029EB4C 0029BAAC 4E 80 00 20 */ blr - -.global CheckLoadComplete__13CGameCubeDollFv -CheckLoadComplete__13CGameCubeDollFv: -/* 8029EB50 0029BAB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029EB54 0029BAB4 7C 08 02 A6 */ mflr r0 -/* 8029EB58 0029BAB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029EB5C 0029BABC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029EB60 0029BAC0 7C 7F 1B 78 */ mr r31, r3 -/* 8029EB64 0029BAC4 4B FF FF D5 */ bl IsLoaded__13CGameCubeDollCFv -/* 8029EB68 0029BAC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029EB6C 0029BACC 41 82 00 0C */ beq lbl_8029EB78 -/* 8029EB70 0029BAD0 38 60 00 01 */ li r3, 1 -/* 8029EB74 0029BAD4 48 00 00 30 */ b lbl_8029EBA4 -lbl_8029EB78: -/* 8029EB78 0029BAD8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8029EB7C 0029BADC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8029EB80 0029BAE0 28 00 00 00 */ cmplwi r0, 0 -/* 8029EB84 0029BAE4 40 82 00 0C */ bne lbl_8029EB90 -/* 8029EB88 0029BAE8 38 60 00 00 */ li r3, 0 -/* 8029EB8C 0029BAEC 48 00 00 18 */ b lbl_8029EBA4 -lbl_8029EB90: -/* 8029EB90 0029BAF0 88 1F 00 20 */ lbz r0, 0x20(r31) -/* 8029EB94 0029BAF4 38 60 00 01 */ li r3, 1 -/* 8029EB98 0029BAF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8029EB9C 0029BAFC 38 60 00 01 */ li r3, 1 -/* 8029EBA0 0029BB00 98 1F 00 20 */ stb r0, 0x20(r31) -lbl_8029EBA4: -/* 8029EBA4 0029BB04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029EBA8 0029BB08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029EBAC 0029BB0C 7C 08 03 A6 */ mtlr r0 -/* 8029EBB0 0029BB10 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029EBB4 0029BB14 4E 80 00 20 */ blr - -.global __ct__13CGameCubeDollFv -__ct__13CGameCubeDollFv: -/* 8029EBB8 0029BB18 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8029EBBC 0029BB1C 7C 08 02 A6 */ mflr r0 -/* 8029EBC0 0029BB20 3C A0 80 3D */ lis r5, lbl_803D5E98@ha -/* 8029EBC4 0029BB24 90 01 00 84 */ stw r0, 0x84(r1) -/* 8029EBC8 0029BB28 38 A5 5E 98 */ addi r5, r5, lbl_803D5E98@l -/* 8029EBCC 0029BB2C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8029EBD0 0029BB30 7C 7F 1B 78 */ mr r31, r3 -/* 8029EBD4 0029BB34 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029EBD8 0029BB38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029EBDC 0029BB3C 81 84 00 00 */ lwz r12, 0(r4) -/* 8029EBE0 0029BB40 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029EBE4 0029BB44 7D 89 03 A6 */ mtctr r12 -/* 8029EBE8 0029BB48 4E 80 04 21 */ bctrl -/* 8029EBEC 0029BB4C 7F E3 FB 78 */ mr r3, r31 -/* 8029EBF0 0029BB50 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029EBF4 0029BB54 48 0A 22 B5 */ bl __ct__6CTokenFRC6CToken -/* 8029EBF8 0029BB58 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029EBFC 0029BB5C 38 80 FF FF */ li r4, -1 -/* 8029EC00 0029BB60 48 0A 22 41 */ bl __dt__6CTokenFv -/* 8029EC04 0029BB64 38 00 FF FF */ li r0, -1 -/* 8029EC08 0029BB68 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8029EC0C 0029BB6C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029EC10 0029BB70 38 83 67 24 */ addi r4, r3, lbl_805A6724@l -/* 8029EC14 0029BB74 38 61 00 24 */ addi r3, r1, 0x24 -/* 8029EC18 0029BB78 38 A1 00 0C */ addi r5, r1, 0xc -/* 8029EC1C 0029BB7C 48 06 78 51 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 8029EC20 0029BB80 38 7F 00 08 */ addi r3, r31, 8 -/* 8029EC24 0029BB84 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8029EC28 0029BB88 38 C1 00 08 */ addi r6, r1, 8 -/* 8029EC2C 0029BB8C 38 80 00 01 */ li r4, 1 -/* 8029EC30 0029BB90 4B E3 FA 99 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" -/* 8029EC34 0029BB94 3C 80 80 3D */ lis r4, lbl_803D5E98@ha -/* 8029EC38 0029BB98 38 60 02 E0 */ li r3, 0x2e0 -/* 8029EC3C 0029BB9C 38 84 5E 98 */ addi r4, r4, lbl_803D5E98@l -/* 8029EC40 0029BBA0 38 A0 00 00 */ li r5, 0 -/* 8029EC44 0029BBA4 38 84 00 0E */ addi r4, r4, 0xe -/* 8029EC48 0029BBA8 48 07 6C 25 */ bl __nw__FUlPCcPCc -/* 8029EC4C 0029BBAC 7C 60 1B 79 */ or. r0, r3, r3 -/* 8029EC50 0029BBB0 41 82 00 4C */ beq lbl_8029EC9C -/* 8029EC54 0029BBB4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8029EC58 0029BBB8 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 8029EC5C 0029BBBC 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8029EC60 0029BBC0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8029EC64 0029BBC4 81 07 00 00 */ lwz r8, 0(r7) -/* 8029EC68 0029BBC8 38 80 00 08 */ li r4, 8 -/* 8029EC6C 0029BBCC 81 67 00 04 */ lwz r11, 4(r7) -/* 8029EC70 0029BBD0 38 C0 00 04 */ li r6, 4 -/* 8029EC74 0029BBD4 80 07 00 08 */ lwz r0, 8(r7) -/* 8029EC78 0029BBD8 38 E0 00 04 */ li r7, 4 -/* 8029EC7C 0029BBDC 91 01 00 18 */ stw r8, 0x18(r1) -/* 8029EC80 0029BBE0 39 00 00 00 */ li r8, 0 -/* 8029EC84 0029BBE4 39 20 00 00 */ li r9, 0 -/* 8029EC88 0029BBE8 39 40 00 00 */ li r10, 0 -/* 8029EC8C 0029BBEC 91 61 00 1C */ stw r11, 0x1c(r1) -/* 8029EC90 0029BBF0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8029EC94 0029BBF4 4B E6 65 39 */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 8029EC98 0029BBF8 7C 60 1B 78 */ mr r0, r3 -lbl_8029EC9C: -/* 8029EC9C 0029BBFC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8029ECA0 0029BC00 38 80 00 00 */ li r4, 0 -/* 8029ECA4 0029BC04 C0 02 C0 BC */ lfs f0, lbl_805ADDDC@sda21(r2) -/* 8029ECA8 0029BC08 7F E3 FB 78 */ mr r3, r31 -/* 8029ECAC 0029BC0C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8029ECB0 0029BC10 88 1F 00 20 */ lbz r0, 0x20(r31) -/* 8029ECB4 0029BC14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8029ECB8 0029BC18 98 1F 00 20 */ stb r0, 0x20(r31) -/* 8029ECBC 0029BC1C 48 0A 20 C9 */ bl Lock__6CTokenFv -/* 8029ECC0 0029BC20 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8029ECC4 0029BC24 7F E3 FB 78 */ mr r3, r31 -/* 8029ECC8 0029BC28 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8029ECCC 0029BC2C 7C 08 03 A6 */ mtlr r0 -/* 8029ECD0 0029BC30 38 21 00 80 */ addi r1, r1, 0x80 -/* 8029ECD4 0029BC34 4E 80 00 20 */ blr - -.global __dt__22CScriptShadowProjectorFv -__dt__22CScriptShadowProjectorFv: -/* 8029ECD8 0029BC38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029ECDC 0029BC3C 7C 08 02 A6 */ mflr r0 -/* 8029ECE0 0029BC40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029ECE4 0029BC44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029ECE8 0029BC48 7C 9F 23 78 */ mr r31, r4 -/* 8029ECEC 0029BC4C 93 C1 00 08 */ stw r30, 8(r1) -/* 8029ECF0 0029BC50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029ECF4 0029BC54 41 82 00 40 */ beq lbl_8029ED34 -/* 8029ECF8 0029BC58 3C 60 80 3F */ lis r3, lbl_803EC030@ha -/* 8029ECFC 0029BC5C 34 1E 01 08 */ addic. r0, r30, 0x108 -/* 8029ED00 0029BC60 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l -/* 8029ED04 0029BC64 90 1E 00 00 */ stw r0, 0(r30) -/* 8029ED08 0029BC68 41 82 00 10 */ beq lbl_8029ED18 -/* 8029ED0C 0029BC6C 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029ED10 0029BC70 38 80 00 01 */ li r4, 1 -/* 8029ED14 0029BC74 4B FF F6 6D */ bl __dt__16CProjectedShadowFv -lbl_8029ED18: -/* 8029ED18 0029BC78 7F C3 F3 78 */ mr r3, r30 -/* 8029ED1C 0029BC7C 38 80 00 00 */ li r4, 0 -/* 8029ED20 0029BC80 4B DB 69 D1 */ bl __dt__6CActorFv -/* 8029ED24 0029BC84 7F E0 07 35 */ extsh. r0, r31 -/* 8029ED28 0029BC88 40 81 00 0C */ ble lbl_8029ED34 -/* 8029ED2C 0029BC8C 7F C3 F3 78 */ mr r3, r30 -/* 8029ED30 0029BC90 48 07 6C 01 */ bl Free__7CMemoryFPCv -lbl_8029ED34: -/* 8029ED34 0029BC94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029ED38 0029BC98 7F C3 F3 78 */ mr r3, r30 -/* 8029ED3C 0029BC9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029ED40 0029BCA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029ED44 0029BCA4 7C 08 03 A6 */ mtlr r0 -/* 8029ED48 0029BCA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029ED4C 0029BCAC 4E 80 00 20 */ blr - -.global Think__22CScriptShadowProjectorFfR13CStateManager -Think__22CScriptShadowProjectorFfR13CStateManager: -/* 8029ED50 0029BCB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029ED54 0029BCB4 7C 08 02 A6 */ mflr r0 -/* 8029ED58 0029BCB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029ED5C 0029BCBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029ED60 0029BCC0 7C 9F 23 78 */ mr r31, r4 -/* 8029ED64 0029BCC4 93 C1 00 08 */ stw r30, 8(r1) -/* 8029ED68 0029BCC8 7C 7E 1B 78 */ mr r30, r3 -/* 8029ED6C 0029BCCC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8029ED70 0029BCD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029ED74 0029BCD4 41 82 00 6C */ beq lbl_8029EDE0 -/* 8029ED78 0029BCD8 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8029ED7C 0029BCDC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8029ED80 0029BCE0 41 82 00 60 */ beq lbl_8029EDE0 -/* 8029ED84 0029BCE4 C0 7E 01 00 */ lfs f3, 0x100(r30) -/* 8029ED88 0029BCE8 C0 5E 00 FC */ lfs f2, 0xfc(r30) -/* 8029ED8C 0029BCEC C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) -/* 8029ED90 0029BCF0 EC 23 10 7C */ fnmsubs f1, f3, f1, f2 -/* 8029ED94 0029BCF4 D0 3E 00 FC */ stfs f1, 0xfc(r30) -/* 8029ED98 0029BCF8 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 8029ED9C 0029BCFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029EDA0 0029BD00 4C 40 13 82 */ cror 2, 0, 2 -/* 8029EDA4 0029BD04 40 82 00 3C */ bne lbl_8029EDE0 -/* 8029EDA8 0029BD08 D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 8029EDAC 0029BD0C 38 80 00 01 */ li r4, 1 -/* 8029EDB0 0029BD10 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029EDB4 0029BD14 4B FF F5 CD */ bl __dt__16CProjectedShadowFv -/* 8029EDB8 0029BD18 38 E0 00 00 */ li r7, 0 -/* 8029EDBC 0029BD1C 7F C3 F3 78 */ mr r3, r30 -/* 8029EDC0 0029BD20 90 FE 01 08 */ stw r7, 0x108(r30) -/* 8029EDC4 0029BD24 7F E5 FB 78 */ mr r5, r31 -/* 8029EDC8 0029BD28 38 80 00 09 */ li r4, 9 -/* 8029EDCC 0029BD2C 38 C0 FF FF */ li r6, -1 -/* 8029EDD0 0029BD30 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8029EDD4 0029BD34 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 8029EDD8 0029BD38 98 1E 01 10 */ stb r0, 0x110(r30) -/* 8029EDDC 0029BD3C 4B DB 22 E5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_8029EDE0: -/* 8029EDE0 0029BD40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029EDE4 0029BD44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029EDE8 0029BD48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029EDEC 0029BD4C 7C 08 03 A6 */ mtlr r0 -/* 8029EDF0 0029BD50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029EDF4 0029BD54 4E 80 00 20 */ blr - -.global Accept__22CScriptShadowProjectorFR8IVisitor -Accept__22CScriptShadowProjectorFR8IVisitor: -/* 8029EDF8 0029BD58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029EDFC 0029BD5C 7C 08 02 A6 */ mflr r0 -/* 8029EE00 0029BD60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029EE04 0029BD64 7C 60 1B 78 */ mr r0, r3 -/* 8029EE08 0029BD68 7C 83 23 78 */ mr r3, r4 -/* 8029EE0C 0029BD6C 81 84 00 00 */ lwz r12, 0(r4) -/* 8029EE10 0029BD70 7C 04 03 78 */ mr r4, r0 -/* 8029EE14 0029BD74 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029EE18 0029BD78 7D 89 03 A6 */ mtctr r12 -/* 8029EE1C 0029BD7C 4E 80 04 21 */ bctrl -/* 8029EE20 0029BD80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029EE24 0029BD84 7C 08 03 A6 */ mtlr r0 -/* 8029EE28 0029BD88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029EE2C 0029BD8C 4E 80 00 20 */ blr - -.global PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes -PreRender__22CScriptShadowProjectorFR13CStateManagerRC14CFrustumPlanes: -/* 8029EE30 0029BD90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8029EE34 0029BD94 7C 08 02 A6 */ mflr r0 -/* 8029EE38 0029BD98 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029EE3C 0029BD9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8029EE40 0029BDA0 7C 9F 23 78 */ mr r31, r4 -/* 8029EE44 0029BDA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8029EE48 0029BDA8 7C 7E 1B 78 */ mr r30, r3 -/* 8029EE4C 0029BDAC 38 60 00 01 */ li r3, 1 -/* 8029EE50 0029BDB0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8029EE54 0029BDB4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8029EE58 0029BDB8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8029EE5C 0029BDBC 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8029EE60 0029BDC0 80 1E 01 08 */ lwz r0, 0x108(r30) -/* 8029EE64 0029BDC4 28 00 00 00 */ cmplwi r0, 0 -/* 8029EE68 0029BDC8 41 82 00 E0 */ beq lbl_8029EF48 -/* 8029EE6C 0029BDCC A0 1E 01 04 */ lhz r0, 0x104(r30) -/* 8029EE70 0029BDD0 7F E3 FB 78 */ mr r3, r31 -/* 8029EE74 0029BDD4 38 81 00 08 */ addi r4, r1, 8 -/* 8029EE78 0029BDD8 B0 01 00 08 */ sth r0, 8(r1) -/* 8029EE7C 0029BDDC 4B DA D6 F9 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8029EE80 0029BDE0 7C 64 1B 78 */ mr r4, r3 -/* 8029EE84 0029BDE4 38 61 00 0C */ addi r3, r1, 0xc -/* 8029EE88 0029BDE8 4B E1 0E 09 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8029EE8C 0029BDEC 83 A3 00 04 */ lwz r29, 4(r3) -/* 8029EE90 0029BDF0 28 1D 00 00 */ cmplwi r29, 0 -/* 8029EE94 0029BDF4 41 82 00 40 */ beq lbl_8029EED4 -/* 8029EE98 0029BDF8 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 8029EE9C 0029BDFC 38 80 00 00 */ li r4, 0 -/* 8029EEA0 0029BE00 7C 05 00 D0 */ neg r0, r5 -/* 8029EEA4 0029BE04 7C 00 2B 78 */ or r0, r0, r5 -/* 8029EEA8 0029BE08 54 03 0F FF */ rlwinm. r3, r0, 1, 0x1f, 0x1f -/* 8029EEAC 0029BE0C 41 82 00 20 */ beq lbl_8029EECC -/* 8029EEB0 0029BE10 80 05 00 10 */ lwz r0, 0x10(r5) -/* 8029EEB4 0029BE14 28 00 00 00 */ cmplwi r0, 0 -/* 8029EEB8 0029BE18 40 82 00 10 */ bne lbl_8029EEC8 -/* 8029EEBC 0029BE1C 88 05 00 28 */ lbz r0, 0x28(r5) -/* 8029EEC0 0029BE20 28 00 00 00 */ cmplwi r0, 0 -/* 8029EEC4 0029BE24 41 82 00 08 */ beq lbl_8029EECC -lbl_8029EEC8: -/* 8029EEC8 0029BE28 38 80 00 01 */ li r4, 1 -lbl_8029EECC: -/* 8029EECC 0029BE2C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8029EED0 0029BE30 40 82 00 10 */ bne lbl_8029EEE0 -lbl_8029EED4: -/* 8029EED4 0029BE34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029EED8 0029BE38 B0 1E 01 04 */ sth r0, 0x104(r30) -/* 8029EEDC 0029BE3C 48 00 00 6C */ b lbl_8029EF48 -lbl_8029EEE0: -/* 8029EEE0 0029BE40 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8029EEE4 0029BE44 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029EEE8 0029BE48 41 82 00 60 */ beq lbl_8029EF48 -/* 8029EEEC 0029BE4C 28 03 00 00 */ cmplwi r3, 0 -/* 8029EEF0 0029BE50 38 60 00 00 */ li r3, 0 -/* 8029EEF4 0029BE54 41 82 00 14 */ beq lbl_8029EF08 -/* 8029EEF8 0029BE58 80 05 00 10 */ lwz r0, 0x10(r5) -/* 8029EEFC 0029BE5C 28 00 00 00 */ cmplwi r0, 0 -/* 8029EF00 0029BE60 41 82 00 08 */ beq lbl_8029EF08 -/* 8029EF04 0029BE64 38 60 00 01 */ li r3, 1 -lbl_8029EF08: -/* 8029EF08 0029BE68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029EF0C 0029BE6C 41 82 00 0C */ beq lbl_8029EF18 -/* 8029EF10 0029BE70 80 65 00 10 */ lwz r3, 0x10(r5) -/* 8029EF14 0029BE74 4B D8 DA F1 */ bl PreRender__9CAnimDataFv -lbl_8029EF18: -/* 8029EF18 0029BE78 C0 1E 00 FC */ lfs f0, 0xfc(r30) -/* 8029EF1C 0029BE7C 7F E4 FB 78 */ mr r4, r31 -/* 8029EF20 0029BE80 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029EF24 0029BE84 38 DD 00 34 */ addi r6, r29, 0x34 -/* 8029EF28 0029BE88 39 1E 00 EC */ addi r8, r30, 0xec -/* 8029EF2C 0029BE8C 38 E0 00 00 */ li r7, 0 -/* 8029EF30 0029BE90 D0 03 00 98 */ stfs f0, 0x98(r3) -/* 8029EF34 0029BE94 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029EF38 0029BE98 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 8029EF3C 0029BE9C C0 3E 00 E8 */ lfs f1, 0xe8(r30) -/* 8029EF40 0029BEA0 C0 5E 00 F8 */ lfs f2, 0xf8(r30) -/* 8029EF44 0029BEA4 4B FF EE 45 */ bl RenderShadowBuffer__16CProjectedShadowFR13CStateManagerRC10CModelDataRC12CTransform4fiRC9CVector3fff -lbl_8029EF48: -/* 8029EF48 0029BEA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029EF4C 0029BEAC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8029EF50 0029BEB0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8029EF54 0029BEB4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8029EF58 0029BEB8 7C 08 03 A6 */ mtlr r0 -/* 8029EF5C 0029BEBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8029EF60 0029BEC0 4E 80 00 20 */ blr - -.global AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__22CScriptShadowProjectorCFRC14CFrustumPlanesRC13CStateManager: -/* 8029EF64 0029BEC4 4E 80 00 20 */ blr - -.global AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__22CScriptShadowProjectorF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8029EF68 0029BEC8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029EF6C 0029BECC 7C 08 02 A6 */ mflr r0 -/* 8029EF70 0029BED0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8029EF74 0029BED4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8029EF78 0029BED8 7C DF 33 78 */ mr r31, r6 -/* 8029EF7C 0029BEDC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8029EF80 0029BEE0 7C 7E 1B 78 */ mr r30, r3 -/* 8029EF84 0029BEE4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8029EF88 0029BEE8 7C 9D 23 78 */ mr r29, r4 -/* 8029EF8C 0029BEEC A0 05 00 00 */ lhz r0, 0(r5) -/* 8029EF90 0029BEF0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8029EF94 0029BEF4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8029EF98 0029BEF8 4B DB 46 7D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8029EF9C 0029BEFC 2C 1D 00 05 */ cmpwi r29, 5 -/* 8029EFA0 0029BF00 41 82 01 98 */ beq lbl_8029F138 -/* 8029EFA4 0029BF04 40 80 00 1C */ bge lbl_8029EFC0 -/* 8029EFA8 0029BF08 2C 1D 00 01 */ cmpwi r29, 1 -/* 8029EFAC 0029BF0C 41 82 01 00 */ beq lbl_8029F0AC -/* 8029EFB0 0029BF10 41 80 01 B4 */ blt lbl_8029F164 -/* 8029EFB4 0029BF14 2C 1D 00 04 */ cmpwi r29, 4 -/* 8029EFB8 0029BF18 40 80 00 F4 */ bge lbl_8029F0AC -/* 8029EFBC 0029BF1C 48 00 01 A8 */ b lbl_8029F164 -lbl_8029EFC0: -/* 8029EFC0 0029BF20 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 8029EFC4 0029BF24 41 82 00 08 */ beq lbl_8029EFCC -/* 8029EFC8 0029BF28 48 00 01 9C */ b lbl_8029F164 -lbl_8029EFCC: -/* 8029EFCC 0029BF2C 83 BE 00 2C */ lwz r29, 0x2c(r30) -/* 8029EFD0 0029BF30 48 00 00 98 */ b lbl_8029F068 -lbl_8029EFD4: -/* 8029EFD4 0029BF34 80 1D 00 00 */ lwz r0, 0(r29) -/* 8029EFD8 0029BF38 2C 00 00 12 */ cmpwi r0, 0x12 -/* 8029EFDC 0029BF3C 40 82 00 88 */ bne lbl_8029F064 -/* 8029EFE0 0029BF40 80 1D 00 08 */ lwz r0, 8(r29) -/* 8029EFE4 0029BF44 7F E4 FB 78 */ mr r4, r31 -/* 8029EFE8 0029BF48 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029EFEC 0029BF4C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8029EFF0 0029BF50 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8029EFF4 0029BF54 4B DA 8F 29 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8029EFF8 0029BF58 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8029EFFC 0029BF5C 7F E3 FB 78 */ mr r3, r31 -/* 8029F000 0029BF60 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029F004 0029BF64 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8029F008 0029BF68 4B DA D5 6D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8029F00C 0029BF6C 7C 64 1B 78 */ mr r4, r3 -/* 8029F010 0029BF70 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029F014 0029BF74 4B E1 0C 7D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8029F018 0029BF78 80 A3 00 04 */ lwz r5, 4(r3) -/* 8029F01C 0029BF7C 28 05 00 00 */ cmplwi r5, 0 -/* 8029F020 0029BF80 41 82 00 44 */ beq lbl_8029F064 -/* 8029F024 0029BF84 80 85 00 64 */ lwz r4, 0x64(r5) -/* 8029F028 0029BF88 38 60 00 00 */ li r3, 0 -/* 8029F02C 0029BF8C 28 04 00 00 */ cmplwi r4, 0 -/* 8029F030 0029BF90 41 82 00 20 */ beq lbl_8029F050 -/* 8029F034 0029BF94 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8029F038 0029BF98 28 00 00 00 */ cmplwi r0, 0 -/* 8029F03C 0029BF9C 40 82 00 10 */ bne lbl_8029F04C -/* 8029F040 0029BFA0 88 04 00 28 */ lbz r0, 0x28(r4) -/* 8029F044 0029BFA4 28 00 00 00 */ cmplwi r0, 0 -/* 8029F048 0029BFA8 41 82 00 08 */ beq lbl_8029F050 -lbl_8029F04C: -/* 8029F04C 0029BFAC 38 60 00 01 */ li r3, 1 -lbl_8029F050: -/* 8029F050 0029BFB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029F054 0029BFB4 41 82 00 10 */ beq lbl_8029F064 -/* 8029F058 0029BFB8 A0 05 00 08 */ lhz r0, 8(r5) -/* 8029F05C 0029BFBC B0 1E 01 04 */ sth r0, 0x104(r30) -/* 8029F060 0029BFC0 48 00 00 20 */ b lbl_8029F080 -lbl_8029F064: -/* 8029F064 0029BFC4 3B BD 00 0C */ addi r29, r29, 0xc -lbl_8029F068: -/* 8029F068 0029BFC8 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 8029F06C 0029BFCC 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8029F070 0029BFD0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8029F074 0029BFD4 7C 03 02 14 */ add r0, r3, r0 -/* 8029F078 0029BFD8 7C 1D 00 40 */ cmplw r29, r0 -/* 8029F07C 0029BFDC 40 82 FF 58 */ bne lbl_8029EFD4 -lbl_8029F080: -/* 8029F080 0029BFE0 A0 7E 01 04 */ lhz r3, 0x104(r30) -/* 8029F084 0029BFE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029F088 0029BFE8 7C 03 00 40 */ cmplw r3, r0 -/* 8029F08C 0029BFEC 40 82 00 20 */ bne lbl_8029F0AC -/* 8029F090 0029BFF0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8029F094 0029BFF4 7F E3 FB 78 */ mr r3, r31 -/* 8029F098 0029BFF8 38 81 00 0C */ addi r4, r1, 0xc -/* 8029F09C 0029BFFC B0 01 00 08 */ sth r0, 8(r1) -/* 8029F0A0 0029C000 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8029F0A4 0029C004 4B DA D1 C9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8029F0A8 0029C008 48 00 00 BC */ b lbl_8029F164 -lbl_8029F0AC: -/* 8029F0AC 0029C00C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8029F0B0 0029C010 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029F0B4 0029C014 41 82 00 6C */ beq lbl_8029F120 -/* 8029F0B8 0029C018 A0 7E 01 04 */ lhz r3, 0x104(r30) -/* 8029F0BC 0029C01C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029F0C0 0029C020 7C 03 00 40 */ cmplw r3, r0 -/* 8029F0C4 0029C024 41 82 00 5C */ beq lbl_8029F120 -/* 8029F0C8 0029C028 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 8029F0CC 0029C02C C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) -/* 8029F0D0 0029C030 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F0D4 0029C034 40 81 00 4C */ ble lbl_8029F120 -/* 8029F0D8 0029C038 3C 80 80 3D */ lis r4, lbl_803D5EB0@ha -/* 8029F0DC 0029C03C 38 60 00 9C */ li r3, 0x9c -/* 8029F0E0 0029C040 38 84 5E B0 */ addi r4, r4, lbl_803D5EB0@l -/* 8029F0E4 0029C044 38 A0 00 00 */ li r5, 0 -/* 8029F0E8 0029C048 48 07 67 85 */ bl __nw__FUlPCcPCc -/* 8029F0EC 0029C04C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8029F0F0 0029C050 41 82 00 1C */ beq lbl_8029F10C -/* 8029F0F4 0029C054 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8029F0F8 0029C058 80 9E 01 0C */ lwz r4, 0x10c(r30) -/* 8029F0FC 0029C05C 54 06 CF FE */ rlwinm r6, r0, 0x19, 0x1f, 0x1f -/* 8029F100 0029C060 7C 85 23 78 */ mr r5, r4 -/* 8029F104 0029C064 4B FF F2 D9 */ bl __ct__16CProjectedShadowFv -/* 8029F108 0029C068 7C 7F 1B 78 */ mr r31, r3 -lbl_8029F10C: -/* 8029F10C 0029C06C 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029F110 0029C070 38 80 00 01 */ li r4, 1 -/* 8029F114 0029C074 4B FF F2 6D */ bl __dt__16CProjectedShadowFv -/* 8029F118 0029C078 93 FE 01 08 */ stw r31, 0x108(r30) -/* 8029F11C 0029C07C 48 00 00 48 */ b lbl_8029F164 -lbl_8029F120: -/* 8029F120 0029C080 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8029F124 0029C084 38 80 00 01 */ li r4, 1 -/* 8029F128 0029C088 4B FF F2 59 */ bl __dt__16CProjectedShadowFv -/* 8029F12C 0029C08C 38 00 00 00 */ li r0, 0 -/* 8029F130 0029C090 90 1E 01 08 */ stw r0, 0x108(r30) -/* 8029F134 0029C094 48 00 00 30 */ b lbl_8029F164 -lbl_8029F138: -/* 8029F138 0029C098 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8029F13C 0029C09C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029F140 0029C0A0 41 82 00 24 */ beq lbl_8029F164 -/* 8029F144 0029C0A4 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 8029F148 0029C0A8 C0 02 C0 E8 */ lfs f0, lbl_805ADE08@sda21(r2) -/* 8029F14C 0029C0AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F150 0029C0B0 40 81 00 14 */ ble lbl_8029F164 -/* 8029F154 0029C0B4 88 1E 01 10 */ lbz r0, 0x110(r30) -/* 8029F158 0029C0B8 38 60 00 01 */ li r3, 1 -/* 8029F15C 0029C0BC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8029F160 0029C0C0 98 1E 01 10 */ stb r0, 0x110(r30) -lbl_8029F164: -/* 8029F164 0029C0C4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8029F168 0029C0C8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8029F16C 0029C0CC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8029F170 0029C0D0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8029F174 0029C0D4 7C 08 03 A6 */ mtlr r0 -/* 8029F178 0029C0D8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8029F17C 0029C0DC 4E 80 00 20 */ blr - -.global "__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi" -"__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi": -/* 8029F180 0029C0E0 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8029F184 0029C0E4 7C 08 02 A6 */ mflr r0 -/* 8029F188 0029C0E8 90 01 01 44 */ stw r0, 0x144(r1) -/* 8029F18C 0029C0EC DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8029F190 0029C0F0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8029F194 0029C0F4 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8029F198 0029C0F8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8029F19C 0029C0FC DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8029F1A0 0029C100 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8029F1A4 0029C104 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8029F1A8 0029C108 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8029F1AC 0029C10C BE E1 00 DC */ stmw r23, 0xdc(r1) -/* 8029F1B0 0029C110 FF 80 08 90 */ fmr f28, f1 -/* 8029F1B4 0029C114 7C 7F 1B 78 */ mr r31, r3 -/* 8029F1B8 0029C118 FF A0 10 90 */ fmr f29, f2 -/* 8029F1BC 0029C11C 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 8029F1C0 0029C120 FF C0 18 90 */ fmr f30, f3 -/* 8029F1C4 0029C124 7C 97 23 78 */ mr r23, r4 -/* 8029F1C8 0029C128 FF E0 20 90 */ fmr f31, f4 -/* 8029F1CC 0029C12C 7C B8 2B 78 */ mr r24, r5 -/* 8029F1D0 0029C130 7C D9 33 78 */ mr r25, r6 -/* 8029F1D4 0029C134 7C FA 3B 78 */ mr r26, r7 -/* 8029F1D8 0029C138 7D 1B 43 78 */ mr r27, r8 -/* 8029F1DC 0029C13C 7D 3C 4B 78 */ mr r28, r9 -/* 8029F1E0 0029C140 7D 5D 53 78 */ mr r29, r10 -/* 8029F1E4 0029C144 38 61 00 88 */ addi r3, r1, 0x88 -/* 8029F1E8 0029C148 4B D9 B5 BD */ bl CModelDataNull__10CModelDataFv -/* 8029F1EC 0029C14C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029F1F0 0029C150 4B D7 BC 49 */ bl None__16CActorParametersFv -/* 8029F1F4 0029C154 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029F1F8 0029C158 38 80 00 00 */ li r4, 0 -/* 8029F1FC 0029C15C A1 97 00 00 */ lhz r12, 0(r23) -/* 8029F200 0029C160 39 61 00 20 */ addi r11, r1, 0x20 -/* 8029F204 0029C164 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8029F208 0029C168 38 01 00 10 */ addi r0, r1, 0x10 -/* 8029F20C 0029C16C 7F E3 FB 78 */ mr r3, r31 -/* 8029F210 0029C170 7F 65 DB 78 */ mr r5, r27 -/* 8029F214 0029C174 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8029F218 0029C178 7F 06 C3 78 */ mr r6, r24 -/* 8029F21C 0029C17C 7F 27 CB 78 */ mr r7, r25 -/* 8029F220 0029C180 7F 48 D3 78 */ mr r8, r26 -/* 8029F224 0029C184 90 81 00 18 */ stw r4, 0x18(r1) -/* 8029F228 0029C188 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029F22C 0029C18C 39 21 00 88 */ addi r9, r1, 0x88 -/* 8029F230 0029C190 39 41 00 18 */ addi r10, r1, 0x18 -/* 8029F234 0029C194 B1 81 00 14 */ sth r12, 0x14(r1) -/* 8029F238 0029C198 91 61 00 08 */ stw r11, 8(r1) -/* 8029F23C 0029C19C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029F240 0029C1A0 4B DB 65 E1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8029F244 0029C1A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029F248 0029C1A8 38 80 FF FF */ li r4, -1 -/* 8029F24C 0029C1AC 4B E6 73 BD */ bl __dt__16CActorParametersFv -/* 8029F250 0029C1B0 38 61 00 88 */ addi r3, r1, 0x88 -/* 8029F254 0029C1B4 38 80 FF FF */ li r4, -1 -/* 8029F258 0029C1B8 4B E7 77 F5 */ bl __dt__10CModelDataFv -/* 8029F25C 0029C1BC 3C 60 80 3F */ lis r3, lbl_803EC030@ha -/* 8029F260 0029C1C0 C0 22 C0 E8 */ lfs f1, lbl_805ADE08@sda21(r2) -/* 8029F264 0029C1C4 38 03 C0 30 */ addi r0, r3, lbl_803EC030@l -/* 8029F268 0029C1C8 C8 02 C0 F0 */ lfd f0, lbl_805ADE10@sda21(r2) -/* 8029F26C 0029C1CC 90 1F 00 00 */ stw r0, 0(r31) -/* 8029F270 0029C1D0 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 8029F274 0029C1D4 D3 9F 00 E8 */ stfs f28, 0xe8(r31) -/* 8029F278 0029C1D8 FC 40 0A 10 */ fabs f2, f1 -/* 8029F27C 0029C1DC C0 3C 00 00 */ lfs f1, 0(r28) -/* 8029F280 0029C1E0 D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 8029F284 0029C1E4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8029F288 0029C1E8 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8029F28C 0029C1EC D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8029F290 0029C1F0 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8029F294 0029C1F4 D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 8029F298 0029C1F8 D3 BF 00 F8 */ stfs f29, 0xf8(r31) -/* 8029F29C 0029C1FC D3 DF 00 FC */ stfs f30, 0xfc(r31) -/* 8029F2A0 0029C200 40 80 00 0C */ bge lbl_8029F2AC -/* 8029F2A4 0029C204 C0 02 C0 EC */ lfs f0, lbl_805ADE0C@sda21(r2) -/* 8029F2A8 0029C208 48 00 00 08 */ b lbl_8029F2B0 -lbl_8029F2AC: -/* 8029F2AC 0029C20C EC 1F F0 24 */ fdivs f0, f31, f30 -lbl_8029F2B0: -/* 8029F2B0 0029C210 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8029F2B4 0029C214 38 A0 00 00 */ li r5, 0 -/* 8029F2B8 0029C218 7F E3 FB 78 */ mr r3, r31 -/* 8029F2BC 0029C21C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8029F2C0 0029C220 B0 1F 01 04 */ sth r0, 0x104(r31) -/* 8029F2C4 0029C224 90 BF 01 08 */ stw r5, 0x108(r31) -/* 8029F2C8 0029C228 93 DF 01 0C */ stw r30, 0x10c(r31) -/* 8029F2CC 0029C22C 88 1F 01 10 */ lbz r0, 0x110(r31) -/* 8029F2D0 0029C230 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 -/* 8029F2D4 0029C234 98 1F 01 10 */ stb r0, 0x110(r31) -/* 8029F2D8 0029C238 88 1F 01 10 */ lbz r0, 0x110(r31) -/* 8029F2DC 0029C23C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8029F2E0 0029C240 98 1F 01 10 */ stb r0, 0x110(r31) -/* 8029F2E4 0029C244 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8029F2E8 0029C248 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8029F2EC 0029C24C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8029F2F0 0029C250 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8029F2F4 0029C254 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8029F2F8 0029C258 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8029F2FC 0029C25C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8029F300 0029C260 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8029F304 0029C264 BA E1 00 DC */ lmw r23, 0xdc(r1) -/* 8029F308 0029C268 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8029F30C 0029C26C 7C 08 03 A6 */ mtlr r0 -/* 8029F310 0029C270 38 21 01 40 */ addi r1, r1, 0x140 -/* 8029F314 0029C274 4E 80 00 20 */ blr - -.global sub_8029f318 -sub_8029f318: -/* 8029F318 0029C278 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8029F31C 0029C27C 7C 08 02 A6 */ mflr r0 -/* 8029F320 0029C280 3C E0 80 3D */ lis r7, lbl_803D5EB8@ha -/* 8029F324 0029C284 90 01 00 64 */ stw r0, 0x64(r1) -/* 8029F328 0029C288 38 07 5E B8 */ addi r0, r7, lbl_803D5EB8@l -/* 8029F32C 0029C28C BF 21 00 44 */ stmw r25, 0x44(r1) -/* 8029F330 0029C290 7C 79 1B 78 */ mr r25, r3 -/* 8029F334 0029C294 7C 9A 23 78 */ mr r26, r4 -/* 8029F338 0029C298 7C BB 2B 78 */ mr r27, r5 -/* 8029F33C 0029C29C 7C DC 33 78 */ mr r28, r6 -/* 8029F340 0029C2A0 7C 04 03 78 */ mr r4, r0 -/* 8029F344 0029C2A4 38 60 01 10 */ li r3, 0x110 -/* 8029F348 0029C2A8 38 A0 00 00 */ li r5, 0 -/* 8029F34C 0029C2AC 48 07 65 21 */ bl __nw__FUlPCcPCc -/* 8029F350 0029C2B0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8029F354 0029C2B4 41 82 00 A0 */ beq lbl_8029F3F4 -/* 8029F358 0029C2B8 C0 22 C0 F8 */ lfs f1, lbl_805ADE18@sda21(r2) -/* 8029F35C 0029C2BC 7F 84 E3 78 */ mr r4, r28 -/* 8029F360 0029C2C0 C0 02 C0 FC */ lfs f0, lbl_805ADE1C@sda21(r2) -/* 8029F364 0029C2C4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029F368 0029C2C8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8029F36C 0029C2CC D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8029F370 0029C2D0 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8029F374 0029C2D4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8029F378 0029C2D8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8029F37C 0029C2DC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8029F380 0029C2E0 4B DA DD 5D */ bl AllocateUniqueId__13CStateManagerFv -/* 8029F384 0029C2E4 C0 22 C0 FC */ lfs f1, lbl_805ADE1C@sda21(r2) -/* 8029F388 0029C2E8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8029F38C 0029C2EC A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8029F390 0029C2F0 FC 40 08 90 */ fmr f2, f1 -/* 8029F394 0029C2F4 FC 60 08 90 */ fmr f3, f1 -/* 8029F398 0029C2F8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8029F39C 0029C2FC FC 80 08 90 */ fmr f4, f1 -/* 8029F3A0 0029C300 48 0C 40 4D */ bl __ct__6CColorFffff -/* 8029F3A4 0029C304 7C 7E 1B 78 */ mr r30, r3 -/* 8029F3A8 0029C308 7F 83 E3 78 */ mr r3, r28 -/* 8029F3AC 0029C30C 4B E9 0E 81 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager -/* 8029F3B0 0029C310 7C 7F 1B 78 */ mr r31, r3 -/* 8029F3B4 0029C314 7F 83 E3 78 */ mr r3, r28 -/* 8029F3B8 0029C318 4B E9 0E 41 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager -/* 8029F3BC 0029C31C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8029F3C0 0029C320 38 01 00 28 */ addi r0, r1, 0x28 -/* 8029F3C4 0029C324 90 61 00 08 */ stw r3, 8(r1) -/* 8029F3C8 0029C328 7F A3 EB 78 */ mr r3, r29 -/* 8029F3CC 0029C32C 7F 24 CB 78 */ mr r4, r25 -/* 8029F3D0 0029C330 7F 45 D3 78 */ mr r5, r26 -/* 8029F3D4 0029C334 90 01 00 0C */ stw r0, 0xc(r1) -/* 8029F3D8 0029C338 7F 68 DB 78 */ mr r8, r27 -/* 8029F3DC 0029C33C 7F E9 FB 78 */ mr r9, r31 -/* 8029F3E0 0029C340 7F CA F3 78 */ mr r10, r30 -/* 8029F3E4 0029C344 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8029F3E8 0029C348 38 E0 00 01 */ li r7, 1 -/* 8029F3EC 0029C34C 4B E9 0B 0D */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" -/* 8029F3F0 0029C350 7C 7D 1B 78 */ mr r29, r3 -lbl_8029F3F4: -/* 8029F3F4 0029C354 7F 83 E3 78 */ mr r3, r28 -/* 8029F3F8 0029C358 7F A4 EB 78 */ mr r4, r29 -/* 8029F3FC 0029C35C 4B DA D8 F9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8029F400 0029C360 BB 21 00 44 */ lmw r25, 0x44(r1) -/* 8029F404 0029C364 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8029F408 0029C368 7C 08 03 A6 */ mtlr r0 -/* 8029F40C 0029C36C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8029F410 0029C370 4E 80 00 20 */ blr - -.global Death__11CEnergyBallFRC9CVector3fR13CStateManager -Death__11CEnergyBallFRC9CVector3fR13CStateManager: -/* 8029F414 0029C374 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029F418 0029C378 7C 08 02 A6 */ mflr r0 -/* 8029F41C 0029C37C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8029F420 0029C380 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8029F424 0029C384 7C BF 2B 78 */ mr r31, r5 -/* 8029F428 0029C388 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8029F42C 0029C38C 7C 9E 23 78 */ mr r30, r4 -/* 8029F430 0029C390 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8029F434 0029C394 7C 7D 1B 78 */ mr r29, r3 -/* 8029F438 0029C398 81 83 00 00 */ lwz r12, 0(r3) -/* 8029F43C 0029C39C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8029F440 0029C3A0 7D 89 03 A6 */ mtctr r12 -/* 8029F444 0029C3A4 4E 80 04 21 */ bctrl -/* 8029F448 0029C3A8 28 03 00 00 */ cmplwi r3, 0 -/* 8029F44C 0029C3AC 41 82 00 2C */ beq lbl_8029F478 -/* 8029F450 0029C3B0 C0 23 00 00 */ lfs f1, 0(r3) -/* 8029F454 0029C3B4 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) -/* 8029F458 0029C3B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F45C 0029C3BC 40 81 00 1C */ ble lbl_8029F478 -/* 8029F460 0029C3C0 7F A3 EB 78 */ mr r3, r29 -/* 8029F464 0029C3C4 7F C4 F3 78 */ mr r4, r30 -/* 8029F468 0029C3C8 7F E5 FB 78 */ mr r5, r31 -/* 8029F46C 0029C3CC 38 C0 FF FF */ li r6, -1 -/* 8029F470 0029C3D0 4B DD BF 35 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 8029F474 0029C3D4 48 00 00 18 */ b lbl_8029F48C -lbl_8029F478: -/* 8029F478 0029C3D8 7F A3 EB 78 */ mr r3, r29 -/* 8029F47C 0029C3DC 7F C4 F3 78 */ mr r4, r30 -/* 8029F480 0029C3E0 7F E5 FB 78 */ mr r5, r31 -/* 8029F484 0029C3E4 38 C0 00 14 */ li r6, 0x14 -/* 8029F488 0029C3E8 4B DD BF 1D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -lbl_8029F48C: -/* 8029F48C 0029C3EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029F490 0029C3F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8029F494 0029C3F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8029F498 0029C3F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8029F49C 0029C3FC 7C 08 03 A6 */ mtlr r0 -/* 8029F4A0 0029C400 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029F4A4 0029C404 4E 80 00 20 */ blr - -.global sub_8029f4a8 -sub_8029f4a8: -/* 8029F4A8 0029C408 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8029F4AC 0029C40C 7C 08 02 A6 */ mflr r0 -/* 8029F4B0 0029C410 90 01 01 04 */ stw r0, 0x104(r1) -/* 8029F4B4 0029C414 BF 41 00 E8 */ stmw r26, 0xe8(r1) -/* 8029F4B8 0029C418 7C 7D 1B 78 */ mr r29, r3 -/* 8029F4BC 0029C41C 7C 9E 23 78 */ mr r30, r4 -/* 8029F4C0 0029C420 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8029F4C4 0029C424 C0 1D 05 88 */ lfs f0, 0x588(r29) -/* 8029F4C8 0029C428 C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 8029F4CC 0029C42C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8029F4D0 0029C430 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8029F4D4 0029C434 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8029F4D8 0029C438 EC C7 08 28 */ fsubs f6, f7, f1 -/* 8029F4DC 0029C43C C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8029F4E0 0029C440 C1 03 00 60 */ lfs f8, 0x60(r3) -/* 8029F4E4 0029C444 EC 82 08 28 */ fsubs f4, f2, f1 -/* 8029F4E8 0029C448 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 8029F4EC 0029C44C D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8029F4F0 0029C450 EC A8 18 28 */ fsubs f5, f8, f3 -/* 8029F4F4 0029C454 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 8029F4F8 0029C458 D0 E1 00 98 */ stfs f7, 0x98(r1) -/* 8029F4FC 0029C45C EC 44 01 32 */ fmuls f2, f4, f4 -/* 8029F500 0029C460 EC 65 01 72 */ fmuls f3, f5, f5 -/* 8029F504 0029C464 D1 01 00 9C */ stfs f8, 0x9c(r1) -/* 8029F508 0029C468 EC 22 08 2A */ fadds f1, f2, f1 -/* 8029F50C 0029C46C D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 8029F510 0029C470 D0 C1 00 A4 */ stfs f6, 0xa4(r1) -/* 8029F514 0029C474 EC 23 08 2A */ fadds f1, f3, f1 -/* 8029F518 0029C478 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 8029F51C 0029C47C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F520 0029C480 4C 40 13 82 */ cror 2, 0, 2 -/* 8029F524 0029C484 40 82 02 A4 */ bne lbl_8029F7C8 -/* 8029F528 0029C488 80 1D 05 70 */ lwz r0, 0x570(r29) -/* 8029F52C 0029C48C 3B E0 00 01 */ li r31, 1 -/* 8029F530 0029C490 2C 00 00 02 */ cmpwi r0, 2 -/* 8029F534 0029C494 41 82 00 60 */ beq lbl_8029F594 -/* 8029F538 0029C498 40 80 00 14 */ bge lbl_8029F54C -/* 8029F53C 0029C49C 2C 00 00 00 */ cmpwi r0, 0 -/* 8029F540 0029C4A0 41 82 00 18 */ beq lbl_8029F558 -/* 8029F544 0029C4A4 40 80 00 38 */ bge lbl_8029F57C -/* 8029F548 0029C4A8 48 00 02 5C */ b lbl_8029F7A4 -lbl_8029F54C: -/* 8029F54C 0029C4AC 2C 00 00 04 */ cmpwi r0, 4 -/* 8029F550 0029C4B0 40 80 02 54 */ bge lbl_8029F7A4 -/* 8029F554 0029C4B4 48 00 00 EC */ b lbl_8029F640 -lbl_8029F558: -/* 8029F558 0029C4B8 C0 3D 05 98 */ lfs f1, 0x598(r29) -/* 8029F55C 0029C4BC C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) -/* 8029F560 0029C4C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F564 0029C4C4 7C 60 00 26 */ mfcr r3 -/* 8029F568 0029C4C8 88 1D 04 02 */ lbz r0, 0x402(r29) -/* 8029F56C 0029C4CC 50 60 2F 38 */ rlwimi r0, r3, 5, 0x1c, 0x1c -/* 8029F570 0029C4D0 98 1D 04 02 */ stb r0, 0x402(r29) -/* 8029F574 0029C4D4 D0 3D 05 04 */ stfs f1, 0x504(r29) -/* 8029F578 0029C4D8 48 00 02 2C */ b lbl_8029F7A4 -lbl_8029F57C: -/* 8029F57C 0029C4DC A0 DD 05 A0 */ lhz r6, 0x5a0(r29) -/* 8029F580 0029C4E0 80 BD 05 9C */ lwz r5, 0x59c(r29) -/* 8029F584 0029C4E4 80 FD 05 A4 */ lwz r7, 0x5a4(r29) -/* 8029F588 0029C4E8 4B D7 67 8D */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi -/* 8029F58C 0029C4EC 3B E0 00 00 */ li r31, 0 -/* 8029F590 0029C4F0 48 00 02 14 */ b lbl_8029F7A4 -lbl_8029F594: -/* 8029F594 0029C4F4 38 00 00 00 */ li r0, 0 -/* 8029F598 0029C4F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha -/* 8029F59C 0029C4FC 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l -/* 8029F5A0 0029C500 98 01 00 90 */ stb r0, 0x90(r1) -/* 8029F5A4 0029C504 38 61 00 78 */ addi r3, r1, 0x78 -/* 8029F5A8 0029C508 38 84 00 07 */ addi r4, r4, 7 -/* 8029F5AC 0029C50C 4B D6 57 0D */ bl string_l__4rstlFPCc -/* 8029F5B0 0029C510 7F C6 F3 78 */ mr r6, r30 -/* 8029F5B4 0029C514 38 61 00 88 */ addi r3, r1, 0x88 -/* 8029F5B8 0029C518 38 9D 05 A8 */ addi r4, r29, 0x5a8 -/* 8029F5BC 0029C51C 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8029F5C0 0029C520 4B FF FD 59 */ bl sub_8029f318 -/* 8029F5C4 0029C524 38 61 00 78 */ addi r3, r1, 0x78 -/* 8029F5C8 0029C528 48 09 E5 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029F5CC 0029C52C 88 01 00 90 */ lbz r0, 0x90(r1) -/* 8029F5D0 0029C530 28 00 00 00 */ cmplwi r0, 0 -/* 8029F5D4 0029C534 41 82 00 14 */ beq lbl_8029F5E8 -/* 8029F5D8 0029C538 34 61 00 88 */ addic. r3, r1, 0x88 -/* 8029F5DC 0029C53C 41 82 00 0C */ beq lbl_8029F5E8 -/* 8029F5E0 0029C540 38 80 00 00 */ li r4, 0 -/* 8029F5E4 0029C544 48 0A 18 5D */ bl __dt__6CTokenFv -lbl_8029F5E8: -/* 8029F5E8 0029C548 38 00 00 00 */ li r0, 0 -/* 8029F5EC 0029C54C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 8029F5F0 0029C550 98 01 00 90 */ stb r0, 0x90(r1) -/* 8029F5F4 0029C554 38 61 00 3C */ addi r3, r1, 0x3c -/* 8029F5F8 0029C558 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8029F5FC 0029C55C 38 A0 00 7F */ li r5, 0x7f -/* 8029F600 0029C560 A0 9D 05 B4 */ lhz r4, 0x5b4(r29) -/* 8029F604 0029C564 38 C0 00 40 */ li r6, 0x40 -/* 8029F608 0029C568 38 E0 00 00 */ li r7, 0 -/* 8029F60C 0029C56C 39 20 00 00 */ li r9, 0 -/* 8029F610 0029C570 48 04 A7 65 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8029F614 0029C574 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8029F618 0029C578 38 81 00 1C */ addi r4, r1, 0x1c -/* 8029F61C 0029C57C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8029F620 0029C580 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8029F624 0029C584 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8029F628 0029C588 80 63 00 00 */ lwz r3, 0(r3) -/* 8029F62C 0029C58C C0 3D 05 B8 */ lfs f1, 0x5b8(r29) -/* 8029F630 0029C590 C0 5D 05 BC */ lfs f2, 0x5bc(r29) -/* 8029F634 0029C594 38 63 01 88 */ addi r3, r3, 0x188 -/* 8029F638 0029C598 4B F2 15 01 */ bl AddSource__19CStaticInterferenceF9TUniqueId -/* 8029F63C 0029C59C 48 00 01 68 */ b lbl_8029F7A4 -lbl_8029F640: -/* 8029F640 0029C5A0 38 00 00 00 */ li r0, 0 -/* 8029F644 0029C5A4 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha -/* 8029F648 0029C5A8 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l -/* 8029F64C 0029C5AC 98 01 00 74 */ stb r0, 0x74(r1) -/* 8029F650 0029C5B0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029F654 0029C5B4 38 84 00 18 */ addi r4, r4, 0x18 -/* 8029F658 0029C5B8 4B D6 56 61 */ bl string_l__4rstlFPCc -/* 8029F65C 0029C5BC 7F C6 F3 78 */ mr r6, r30 -/* 8029F660 0029C5C0 38 7D 05 C0 */ addi r3, r29, 0x5c0 -/* 8029F664 0029C5C4 38 81 00 6C */ addi r4, r1, 0x6c -/* 8029F668 0029C5C8 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8029F66C 0029C5CC 4B FF FC AD */ bl sub_8029f318 -/* 8029F670 0029C5D0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029F674 0029C5D4 48 09 E4 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8029F678 0029C5D8 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8029F67C 0029C5DC 28 00 00 00 */ cmplwi r0, 0 -/* 8029F680 0029C5E0 41 82 00 14 */ beq lbl_8029F694 -/* 8029F684 0029C5E4 34 61 00 6C */ addic. r3, r1, 0x6c -/* 8029F688 0029C5E8 41 82 00 0C */ beq lbl_8029F694 -/* 8029F68C 0029C5EC 38 80 00 00 */ li r4, 0 -/* 8029F690 0029C5F0 48 0A 17 B1 */ bl __dt__6CTokenFv -lbl_8029F694: -/* 8029F694 0029C5F4 38 00 00 00 */ li r0, 0 -/* 8029F698 0029C5F8 3C 60 80 3D */ lis r3, lbl_803D5EB8@ha -/* 8029F69C 0029C5FC 98 01 00 74 */ stb r0, 0x74(r1) -/* 8029F6A0 0029C600 38 83 5E B8 */ addi r4, r3, lbl_803D5EB8@l -/* 8029F6A4 0029C604 3B 60 00 00 */ li r27, 0 -/* 8029F6A8 0029C608 3B 40 00 00 */ li r26, 0 -/* 8029F6AC 0029C60C 38 60 00 5C */ li r3, 0x5c -/* 8029F6B0 0029C610 38 A0 00 00 */ li r5, 0 -/* 8029F6B4 0029C614 48 07 61 B9 */ bl __nw__FUlPCcPCc -/* 8029F6B8 0029C618 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8029F6BC 0029C61C 41 82 00 84 */ beq lbl_8029F740 -/* 8029F6C0 0029C620 3C 80 80 3D */ lis r4, lbl_803D5EB8@ha -/* 8029F6C4 0029C624 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029F6C8 0029C628 38 84 5E B8 */ addi r4, r4, lbl_803D5EB8@l -/* 8029F6CC 0029C62C 38 84 00 26 */ addi r4, r4, 0x26 -/* 8029F6D0 0029C630 4B D6 55 E9 */ bl string_l__4rstlFPCc -/* 8029F6D4 0029C634 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8029F6D8 0029C638 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8029F6DC 0029C63C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8029F6E0 0029C640 38 81 00 34 */ addi r4, r1, 0x34 -/* 8029F6E4 0029C644 90 01 00 38 */ stw r0, 0x38(r1) -/* 8029F6E8 0029C648 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8029F6EC 0029C64C 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8029F6F0 0029C650 3B 60 00 01 */ li r27, 1 -/* 8029F6F4 0029C654 80 1D 00 04 */ lwz r0, 4(r29) -/* 8029F6F8 0029C658 90 01 00 30 */ stw r0, 0x30(r1) -/* 8029F6FC 0029C65C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029F700 0029C660 4B DB 1D 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8029F704 0029C664 7F C4 F3 78 */ mr r4, r30 -/* 8029F708 0029C668 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029F70C 0029C66C 3B 40 00 01 */ li r26, 1 -/* 8029F710 0029C670 4B DA D9 CD */ bl AllocateUniqueId__13CStateManagerFv -/* 8029F714 0029C674 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8029F718 0029C678 7F 83 E3 78 */ mr r3, r28 -/* 8029F71C 0029C67C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8029F720 0029C680 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 8029F724 0029C684 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8029F728 0029C688 38 E1 00 4C */ addi r7, r1, 0x4c -/* 8029F72C 0029C68C 39 1D 05 CC */ addi r8, r29, 0x5cc -/* 8029F730 0029C690 38 C0 00 01 */ li r6, 1 -/* 8029F734 0029C694 C0 3D 05 E8 */ lfs f1, 0x5e8(r29) -/* 8029F738 0029C698 48 00 0B 45 */ bl sub_802a027c -/* 8029F73C 0029C69C 7C 7C 1B 78 */ mr r28, r3 -lbl_8029F740: -/* 8029F740 0029C6A0 7F C3 F3 78 */ mr r3, r30 -/* 8029F744 0029C6A4 7F 84 E3 78 */ mr r4, r28 -/* 8029F748 0029C6A8 4B DA D5 AD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 8029F74C 0029C6AC 7F 40 07 75 */ extsb. r0, r26 -/* 8029F750 0029C6B0 41 82 00 44 */ beq lbl_8029F794 -/* 8029F754 0029C6B4 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 8029F758 0029C6B8 80 61 00 D8 */ lwz r3, 0xd8(r1) -/* 8029F75C 0029C6BC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8029F760 0029C6C0 90 61 00 24 */ stw r3, 0x24(r1) -/* 8029F764 0029C6C4 7C 64 1B 78 */ mr r4, r3 -/* 8029F768 0029C6C8 7C 03 02 14 */ add r0, r3, r0 -/* 8029F76C 0029C6CC 90 61 00 20 */ stw r3, 0x20(r1) -/* 8029F770 0029C6D0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8029F774 0029C6D4 90 01 00 28 */ stw r0, 0x28(r1) -/* 8029F778 0029C6D8 48 00 00 08 */ b lbl_8029F780 -lbl_8029F77C: -/* 8029F77C 0029C6DC 38 84 00 0C */ addi r4, r4, 0xc -lbl_8029F780: -/* 8029F780 0029C6E0 7C 04 00 40 */ cmplw r4, r0 -/* 8029F784 0029C6E4 40 82 FF F8 */ bne lbl_8029F77C -/* 8029F788 0029C6E8 28 03 00 00 */ cmplwi r3, 0 -/* 8029F78C 0029C6EC 41 82 00 08 */ beq lbl_8029F794 -/* 8029F790 0029C6F0 48 07 61 A1 */ bl Free__7CMemoryFPCv -lbl_8029F794: -/* 8029F794 0029C6F4 7F 60 07 75 */ extsb. r0, r27 -/* 8029F798 0029C6F8 41 82 00 0C */ beq lbl_8029F7A4 -/* 8029F79C 0029C6FC 38 61 00 4C */ addi r3, r1, 0x4c -/* 8029F7A0 0029C700 48 09 E3 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8029F7A4: -/* 8029F7A4 0029C704 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8029F7A8 0029C708 41 82 00 20 */ beq lbl_8029F7C8 -/* 8029F7AC 0029C70C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8029F7B0 0029C710 4B D7 65 4D */ bl GetFrozenState__7CPlayerCFv -/* 8029F7B4 0029C714 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029F7B8 0029C718 41 82 00 10 */ beq lbl_8029F7C8 -/* 8029F7BC 0029C71C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8029F7C0 0029C720 7F C4 F3 78 */ mr r4, r30 -/* 8029F7C4 0029C724 4B D7 62 69 */ bl UnFreeze__7CPlayerFR13CStateManager -lbl_8029F7C8: -/* 8029F7C8 0029C728 80 AD 9A 30 */ lwz r5, lbl_805A85F0@sda21(r13) -/* 8029F7CC 0029C72C 38 60 00 00 */ li r3, 0 -/* 8029F7D0 0029C730 38 80 00 01 */ li r4, 1 -/* 8029F7D4 0029C734 48 0E A7 21 */ bl __shl2i -/* 8029F7D8 0029C738 39 20 00 00 */ li r9, 0 -/* 8029F7DC 0029C73C 38 00 00 03 */ li r0, 3 -/* 8029F7E0 0029C740 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8029F7E4 0029C744 7F A5 EB 78 */ mr r5, r29 -/* 8029F7E8 0029C748 38 81 00 0C */ addi r4, r1, 0xc -/* 8029F7EC 0029C74C 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8029F7F0 0029C750 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8029F7F4 0029C754 7F C3 F3 78 */ mr r3, r30 -/* 8029F7F8 0029C758 38 FD 05 78 */ addi r7, r29, 0x578 -/* 8029F7FC 0029C75C 39 01 00 B0 */ addi r8, r1, 0xb0 -/* 8029F800 0029C760 91 21 00 BC */ stw r9, 0xbc(r1) -/* 8029F804 0029C764 91 21 00 B8 */ stw r9, 0xb8(r1) -/* 8029F808 0029C768 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8029F80C 0029C76C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8029F810 0029C770 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8029F814 0029C774 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8029F818 0029C778 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8029F81C 0029C77C D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8029F820 0029C780 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8029F824 0029C784 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8029F828 0029C788 B0 01 00 08 */ sth r0, 8(r1) -/* 8029F82C 0029C78C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8029F830 0029C790 4B DA 94 7D */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter -/* 8029F834 0029C794 7F A3 EB 78 */ mr r3, r29 -/* 8029F838 0029C798 7F C4 F3 78 */ mr r4, r30 -/* 8029F83C 0029C79C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8029F840 0029C7A0 81 8C 02 98 */ lwz r12, 0x298(r12) -/* 8029F844 0029C7A4 7D 89 03 A6 */ mtctr r12 -/* 8029F848 0029C7A8 4E 80 04 21 */ bctrl -/* 8029F84C 0029C7AC BB 41 00 E8 */ lmw r26, 0xe8(r1) -/* 8029F850 0029C7B0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8029F854 0029C7B4 7C 08 03 A6 */ mtlr r0 -/* 8029F858 0029C7B8 38 21 01 00 */ addi r1, r1, 0x100 -/* 8029F85C 0029C7BC 4E 80 00 20 */ blr - -.global Think__11CEnergyBallFfR13CStateManager -Think__11CEnergyBallFfR13CStateManager: -/* 8029F860 0029C7C0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029F864 0029C7C4 7C 08 02 A6 */ mflr r0 -/* 8029F868 0029C7C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8029F86C 0029C7CC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8029F870 0029C7D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8029F874 0029C7D4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8029F878 0029C7D8 7C 7E 1B 78 */ mr r30, r3 -/* 8029F87C 0029C7DC C0 02 C1 00 */ lfs f0, lbl_805ADE20@sda21(r2) -/* 8029F880 0029C7E0 C0 43 05 6C */ lfs f2, 0x56c(r3) -/* 8029F884 0029C7E4 FF E0 08 90 */ fmr f31, f1 -/* 8029F888 0029C7E8 C0 22 C1 04 */ lfs f1, lbl_805ADE24@sda21(r2) -/* 8029F88C 0029C7EC 7C 9F 23 78 */ mr r31, r4 -/* 8029F890 0029C7F0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8029F894 0029C7F4 C0 0D 9A 38 */ lfs f0, lbl_805A85F8@sda21(r13) -/* 8029F898 0029C7F8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8029F89C 0029C7FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F8A0 0029C800 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8029F8A4 0029C804 40 80 00 0C */ bge lbl_8029F8B0 -/* 8029F8A8 0029C808 38 61 00 10 */ addi r3, r1, 0x10 -/* 8029F8AC 0029C80C 48 00 00 08 */ b lbl_8029F8B4 -lbl_8029F8B0: -/* 8029F8B0 0029C810 38 6D 9A 38 */ addi r3, r13, lbl_805A85F8@sda21 -lbl_8029F8B4: -/* 8029F8B4 0029C814 C0 2D 9A 3C */ lfs f1, lbl_805A85FC@sda21(r13) -/* 8029F8B8 0029C818 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029F8BC 0029C81C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F8C0 0029C820 40 80 00 08 */ bge lbl_8029F8C8 -/* 8029F8C4 0029C824 48 00 00 08 */ b lbl_8029F8CC -lbl_8029F8C8: -/* 8029F8C8 0029C828 38 6D 9A 3C */ addi r3, r13, lbl_805A85FC@sda21 -lbl_8029F8CC: -/* 8029F8CC 0029C82C C0 3E 05 94 */ lfs f1, 0x594(r30) -/* 8029F8D0 0029C830 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029F8D4 0029C834 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8029F8D8 0029C838 D0 3E 03 B8 */ stfs f1, 0x3b8(r30) -/* 8029F8DC 0029C83C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8029F8E0 0029C840 4B E9 B0 C5 */ bl SetTurnSpeed__15CBodyControllerFf -/* 8029F8E4 0029C844 FC 20 F8 90 */ fmr f1, f31 -/* 8029F8E8 0029C848 7F C3 F3 78 */ mr r3, r30 -/* 8029F8EC 0029C84C 7F E4 FB 78 */ mr r4, r31 -/* 8029F8F0 0029C850 4B DD A2 29 */ bl Think__10CPatternedFfR13CStateManager -/* 8029F8F4 0029C854 C0 5E 04 28 */ lfs f2, 0x428(r30) -/* 8029F8F8 0029C858 C0 22 88 F0 */ lfs f1, lbl_805AA610@sda21(r2) -/* 8029F8FC 0029C85C C0 0D 9A 40 */ lfs f0, lbl_805A8600@sda21(r13) -/* 8029F900 0029C860 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8029F904 0029C864 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F908 0029C868 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8029F90C 0029C86C 40 80 00 0C */ bge lbl_8029F918 -/* 8029F910 0029C870 3B 81 00 0C */ addi r28, r1, 0xc -/* 8029F914 0029C874 48 00 00 08 */ b lbl_8029F91C -lbl_8029F918: -/* 8029F918 0029C878 3B 8D 9A 40 */ addi r28, r13, lbl_805A8600@sda21 -lbl_8029F91C: -/* 8029F91C 0029C87C C0 2D 9A 44 */ lfs f1, lbl_805A8604@sda21(r13) -/* 8029F920 0029C880 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8029F924 0029C884 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F928 0029C888 40 80 00 08 */ bge lbl_8029F930 -/* 8029F92C 0029C88C 48 00 00 08 */ b lbl_8029F934 -lbl_8029F930: -/* 8029F930 0029C890 3B 8D 9A 44 */ addi r28, r13, lbl_805A8604@sda21 -lbl_8029F934: -/* 8029F934 0029C894 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8029F938 0029C898 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8029F93C 0029C89C 3B 63 01 20 */ addi r27, r3, 0x120 -/* 8029F940 0029C8A0 48 0A A6 5D */ bl Red__6CColorFv -/* 8029F944 0029C8A4 7C 7D 1B 78 */ mr r29, r3 -/* 8029F948 0029C8A8 48 0A A6 65 */ bl White__6CColorFv -/* 8029F94C 0029C8AC C0 3C 00 00 */ lfs f1, 0(r28) -/* 8029F950 0029C8B0 7C 64 1B 78 */ mr r4, r3 -/* 8029F954 0029C8B4 7F A5 EB 78 */ mr r5, r29 -/* 8029F958 0029C8B8 38 61 00 08 */ addi r3, r1, 8 -/* 8029F95C 0029C8BC 48 0C 39 51 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8029F960 0029C8C0 7F 63 DB 78 */ mr r3, r27 -/* 8029F964 0029C8C4 38 81 00 08 */ addi r4, r1, 8 -/* 8029F968 0029C8C8 4B E1 81 B1 */ bl SetModulationColorAllActiveEffects__17CParticleDatabaseFRC6CColor -/* 8029F96C 0029C8CC 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8029F970 0029C8D0 3B 60 00 00 */ li r27, 0 -/* 8029F974 0029C8D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8029F978 0029C8D8 41 82 00 58 */ beq lbl_8029F9D0 -/* 8029F97C 0029C8DC 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 8029F980 0029C8E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8029F984 0029C8E4 41 82 00 4C */ beq lbl_8029F9D0 -/* 8029F988 0029C8E8 C0 1E 05 6C */ lfs f0, 0x56c(r30) -/* 8029F98C 0029C8EC EC 00 F8 2A */ fadds f0, f0, f31 -/* 8029F990 0029C8F0 D0 1E 05 6C */ stfs f0, 0x56c(r30) -/* 8029F994 0029C8F4 C0 3E 05 6C */ lfs f1, 0x56c(r30) -/* 8029F998 0029C8F8 C0 1E 05 74 */ lfs f0, 0x574(r30) -/* 8029F99C 0029C8FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029F9A0 0029C900 40 81 00 08 */ ble lbl_8029F9A8 -/* 8029F9A4 0029C904 3B 60 00 01 */ li r27, 1 -lbl_8029F9A8: -/* 8029F9A8 0029C908 7F C3 F3 78 */ mr r3, r30 -/* 8029F9AC 0029C90C FC 20 F8 90 */ fmr f1, f31 -/* 8029F9B0 0029C910 81 9E 00 00 */ lwz r12, 0(r30) -/* 8029F9B4 0029C914 7F E4 FB 78 */ mr r4, r31 -/* 8029F9B8 0029C918 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8029F9BC 0029C91C 7D 89 03 A6 */ mtctr r12 -/* 8029F9C0 0029C920 4E 80 04 21 */ bctrl -/* 8029F9C4 0029C924 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029F9C8 0029C928 41 82 00 08 */ beq lbl_8029F9D0 -/* 8029F9CC 0029C92C 3B 60 00 01 */ li r27, 1 -lbl_8029F9D0: -/* 8029F9D0 0029C930 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8029F9D4 0029C934 41 82 00 10 */ beq lbl_8029F9E4 -/* 8029F9D8 0029C938 7F C3 F3 78 */ mr r3, r30 -/* 8029F9DC 0029C93C 7F E4 FB 78 */ mr r4, r31 -/* 8029F9E0 0029C940 4B FF FA C9 */ bl sub_8029f4a8 -lbl_8029F9E4: -/* 8029F9E4 0029C944 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8029F9E8 0029C948 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8029F9EC 0029C94C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8029F9F0 0029C950 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8029F9F4 0029C954 7C 08 03 A6 */ mtlr r0 -/* 8029F9F8 0029C958 38 21 00 40 */ addi r1, r1, 0x40 -/* 8029F9FC 0029C95C 4E 80 00 20 */ blr - -.global Attack__11CEnergyBallFR13CStateManager9EStateMsgf -Attack__11CEnergyBallFR13CStateManager9EStateMsgf: -/* 8029FA00 0029C960 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8029FA04 0029C964 7C 08 02 A6 */ mflr r0 -/* 8029FA08 0029C968 90 01 00 64 */ stw r0, 0x64(r1) -/* 8029FA0C 0029C96C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8029FA10 0029C970 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8029FA14 0029C974 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8029FA18 0029C978 FF E0 08 90 */ fmr f31, f1 -/* 8029FA1C 0029C97C 2C 05 00 01 */ cmpwi r5, 1 -/* 8029FA20 0029C980 7C 7F 1B 78 */ mr r31, r3 -/* 8029FA24 0029C984 41 82 00 10 */ beq lbl_8029FA34 -/* 8029FA28 0029C988 40 80 00 88 */ bge lbl_8029FAB0 -/* 8029FA2C 0029C98C 48 00 00 84 */ b lbl_8029FAB0 -/* 8029FA30 0029C990 48 00 00 80 */ b lbl_8029FAB0 -lbl_8029FA34: -/* 8029FA34 0029C994 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8029FA38 0029C998 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029FA3C 0029C99C 4B FE 53 41 */ bl GetEyePosition__7CPlayerCFv -/* 8029FA40 0029C9A0 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8029FA44 0029C9A4 7F E5 FB 78 */ mr r5, r31 -/* 8029FA48 0029C9A8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8029FA4C 0029C9AC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029FA50 0029C9B0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8029FA54 0029C9B4 38 9F 05 68 */ addi r4, r31, 0x568 -/* 8029FA58 0029C9B8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8029FA5C 0029C9BC 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8029FA60 0029C9C0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8029FA64 0029C9C4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8029FA68 0029C9C8 4B E9 F1 B9 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 8029FA6C 0029C9CC C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8029FA70 0029C9D0 FC 20 F8 90 */ fmr f1, f31 -/* 8029FA74 0029C9D4 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8029FA78 0029C9D8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8029FA7C 0029C9DC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8029FA80 0029C9E0 38 A1 00 08 */ addi r5, r1, 8 -/* 8029FA84 0029C9E4 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8029FA88 0029C9E8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8029FA8C 0029C9EC D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8029FA90 0029C9F0 C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 8029FA94 0029C9F4 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 8029FA98 0029C9F8 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8029FA9C 0029C9FC D0 01 00 08 */ stfs f0, 8(r1) -/* 8029FAA0 0029CA00 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8029FAA4 0029CA04 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8029FAA8 0029CA08 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8029FAAC 0029CA0C 4B E9 A9 BD */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff -lbl_8029FAB0: -/* 8029FAB0 0029CA10 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8029FAB4 0029CA14 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8029FAB8 0029CA18 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8029FABC 0029CA1C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8029FAC0 0029CA20 7C 08 03 A6 */ mtlr r0 -/* 8029FAC4 0029CA24 38 21 00 60 */ addi r1, r1, 0x60 -/* 8029FAC8 0029CA28 4E 80 00 20 */ blr - -.global Generate__11CEnergyBallFR13CStateManager9EStateMsgf -Generate__11CEnergyBallFR13CStateManager9EStateMsgf: -/* 8029FACC 0029CA2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029FAD0 0029CA30 7C 08 02 A6 */ mflr r0 -/* 8029FAD4 0029CA34 2C 05 00 01 */ cmpwi r5, 1 -/* 8029FAD8 0029CA38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029FADC 0029CA3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029FAE0 0029CA40 7C 9F 23 78 */ mr r31, r4 -/* 8029FAE4 0029CA44 93 C1 00 08 */ stw r30, 8(r1) -/* 8029FAE8 0029CA48 7C 7E 1B 78 */ mr r30, r3 -/* 8029FAEC 0029CA4C 41 82 00 28 */ beq lbl_8029FB14 -/* 8029FAF0 0029CA50 40 80 00 10 */ bge lbl_8029FB00 -/* 8029FAF4 0029CA54 2C 05 00 00 */ cmpwi r5, 0 -/* 8029FAF8 0029CA58 40 80 00 14 */ bge lbl_8029FB0C -/* 8029FAFC 0029CA5C 48 00 00 4C */ b lbl_8029FB48 -lbl_8029FB00: -/* 8029FB00 0029CA60 2C 05 00 03 */ cmpwi r5, 3 -/* 8029FB04 0029CA64 40 80 00 44 */ bge lbl_8029FB48 -/* 8029FB08 0029CA68 48 00 00 38 */ b lbl_8029FB40 -lbl_8029FB0C: -/* 8029FB0C 0029CA6C 38 00 00 01 */ li r0, 1 -/* 8029FB10 0029CA70 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_8029FB14: -/* 8029FB14 0029CA74 7F C3 F3 78 */ mr r3, r30 -/* 8029FB18 0029CA78 7F E4 FB 78 */ mr r4, r31 -/* 8029FB1C 0029CA7C 38 A0 00 00 */ li r5, 0 -/* 8029FB20 0029CA80 4B DD C6 89 */ bl sub_8007c1a8 -/* 8029FB24 0029CA84 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8029FB28 0029CA88 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8029FB2C 0029CA8C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8029FB30 0029CA90 40 82 00 18 */ bne lbl_8029FB48 -/* 8029FB34 0029CA94 7F E4 FB 78 */ mr r4, r31 -/* 8029FB38 0029CA98 4B E9 B1 B9 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8029FB3C 0029CA9C 48 00 00 0C */ b lbl_8029FB48 -lbl_8029FB40: -/* 8029FB40 0029CAA0 38 00 00 00 */ li r0, 0 -/* 8029FB44 0029CAA4 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_8029FB48: -/* 8029FB48 0029CAA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029FB4C 0029CAAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029FB50 0029CAB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029FB54 0029CAB4 7C 08 03 A6 */ mtlr r0 -/* 8029FB58 0029CAB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029FB5C 0029CABC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CEnergyBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8029FB60 0029CAC0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029FB64 0029CAC4 7C 08 02 A6 */ mflr r0 -/* 8029FB68 0029CAC8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8029FB6C 0029CACC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8029FB70 0029CAD0 7C DF 33 78 */ mr r31, r6 -/* 8029FB74 0029CAD4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8029FB78 0029CAD8 7C BE 2B 78 */ mr r30, r5 -/* 8029FB7C 0029CADC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8029FB80 0029CAE0 7C 9D 23 78 */ mr r29, r4 -/* 8029FB84 0029CAE4 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 8029FB88 0029CAE8 93 81 00 30 */ stw r28, 0x30(r1) -/* 8029FB8C 0029CAEC 7C 7C 1B 78 */ mr r28, r3 -/* 8029FB90 0029CAF0 40 82 00 4C */ bne lbl_8029FBDC -/* 8029FB94 0029CAF4 80 AD 9A 34 */ lwz r5, lbl_805A85F4@sda21(r13) -/* 8029FB98 0029CAF8 38 60 00 00 */ li r3, 0 -/* 8029FB9C 0029CAFC 38 80 00 01 */ li r4, 1 -/* 8029FBA0 0029CB00 48 0E A3 55 */ bl __shl2i -/* 8029FBA4 0029CB04 38 A0 00 00 */ li r5, 0 -/* 8029FBA8 0029CB08 38 00 00 01 */ li r0, 1 -/* 8029FBAC 0029CB0C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8029FBB0 0029CB10 38 81 00 10 */ addi r4, r1, 0x10 -/* 8029FBB4 0029CB14 90 61 00 10 */ stw r3, 0x10(r1) -/* 8029FBB8 0029CB18 7F 83 E3 78 */ mr r3, r28 -/* 8029FBBC 0029CB1C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8029FBC0 0029CB20 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8029FBC4 0029CB24 90 01 00 20 */ stw r0, 0x20(r1) -/* 8029FBC8 0029CB28 4B DB 3C D9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8029FBCC 0029CB2C 7F 83 E3 78 */ mr r3, r28 -/* 8029FBD0 0029CB30 7F E5 FB 78 */ mr r5, r31 -/* 8029FBD4 0029CB34 38 80 00 13 */ li r4, 0x13 -/* 8029FBD8 0029CB38 4B DB 43 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8029FBDC: -/* 8029FBDC 0029CB3C A0 1E 00 00 */ lhz r0, 0(r30) -/* 8029FBE0 0029CB40 7F 83 E3 78 */ mr r3, r28 -/* 8029FBE4 0029CB44 7F A4 EB 78 */ mr r4, r29 -/* 8029FBE8 0029CB48 7F E6 FB 78 */ mr r6, r31 -/* 8029FBEC 0029CB4C B0 01 00 08 */ sth r0, 8(r1) -/* 8029FBF0 0029CB50 38 A1 00 08 */ addi r5, r1, 8 -/* 8029FBF4 0029CB54 4B DD CF 85 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8029FBF8 0029CB58 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8029FBFC 0029CB5C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8029FC00 0029CB60 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8029FC04 0029CB64 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8029FC08 0029CB68 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8029FC0C 0029CB6C 7C 08 03 A6 */ mtlr r0 -/* 8029FC10 0029CB70 38 21 00 40 */ addi r1, r1, 0x40 -/* 8029FC14 0029CB74 4E 80 00 20 */ blr - -.global Accept__11CEnergyBallFR8IVisitor -Accept__11CEnergyBallFR8IVisitor: -/* 8029FC18 0029CB78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029FC1C 0029CB7C 7C 08 02 A6 */ mflr r0 -/* 8029FC20 0029CB80 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029FC24 0029CB84 7C 60 1B 78 */ mr r0, r3 -/* 8029FC28 0029CB88 7C 83 23 78 */ mr r3, r4 -/* 8029FC2C 0029CB8C 81 84 00 00 */ lwz r12, 0(r4) -/* 8029FC30 0029CB90 7C 04 03 78 */ mr r4, r0 -/* 8029FC34 0029CB94 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8029FC38 0029CB98 7D 89 03 A6 */ mtctr r12 -/* 8029FC3C 0029CB9C 4E 80 04 21 */ bctrl -/* 8029FC40 0029CBA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029FC44 0029CBA4 7C 08 03 A6 */ mtlr r0 -/* 8029FC48 0029CBA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029FC4C 0029CBAC 4E 80 00 20 */ blr - -.global __dt__11CEnergyBall -__dt__11CEnergyBall: -/* 8029FC50 0029CBB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029FC54 0029CBB4 7C 08 02 A6 */ mflr r0 -/* 8029FC58 0029CBB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029FC5C 0029CBBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029FC60 0029CBC0 7C 9F 23 78 */ mr r31, r4 -/* 8029FC64 0029CBC4 93 C1 00 08 */ stw r30, 8(r1) -/* 8029FC68 0029CBC8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029FC6C 0029CBCC 41 82 00 84 */ beq lbl_8029FCF0 -/* 8029FC70 0029CBD0 3C 60 80 3F */ lis r3, lbl_803EC0A0@ha -/* 8029FC74 0029CBD4 34 1E 05 C0 */ addic. r0, r30, 0x5c0 -/* 8029FC78 0029CBD8 38 03 C0 A0 */ addi r0, r3, lbl_803EC0A0@l -/* 8029FC7C 0029CBDC 90 1E 00 00 */ stw r0, 0(r30) -/* 8029FC80 0029CBE0 41 82 00 28 */ beq lbl_8029FCA8 -/* 8029FC84 0029CBE4 88 1E 05 C8 */ lbz r0, 0x5c8(r30) -/* 8029FC88 0029CBE8 28 00 00 00 */ cmplwi r0, 0 -/* 8029FC8C 0029CBEC 41 82 00 14 */ beq lbl_8029FCA0 -/* 8029FC90 0029CBF0 34 7E 05 C0 */ addic. r3, r30, 0x5c0 -/* 8029FC94 0029CBF4 41 82 00 0C */ beq lbl_8029FCA0 -/* 8029FC98 0029CBF8 38 80 00 00 */ li r4, 0 -/* 8029FC9C 0029CBFC 48 0A 11 A5 */ bl __dt__6CTokenFv -lbl_8029FCA0: -/* 8029FCA0 0029CC00 38 00 00 00 */ li r0, 0 -/* 8029FCA4 0029CC04 98 1E 05 C8 */ stb r0, 0x5c8(r30) -lbl_8029FCA8: -/* 8029FCA8 0029CC08 34 1E 05 A8 */ addic. r0, r30, 0x5a8 -/* 8029FCAC 0029CC0C 41 82 00 28 */ beq lbl_8029FCD4 -/* 8029FCB0 0029CC10 88 1E 05 B0 */ lbz r0, 0x5b0(r30) -/* 8029FCB4 0029CC14 28 00 00 00 */ cmplwi r0, 0 -/* 8029FCB8 0029CC18 41 82 00 14 */ beq lbl_8029FCCC -/* 8029FCBC 0029CC1C 34 7E 05 A8 */ addic. r3, r30, 0x5a8 -/* 8029FCC0 0029CC20 41 82 00 0C */ beq lbl_8029FCCC -/* 8029FCC4 0029CC24 38 80 00 00 */ li r4, 0 -/* 8029FCC8 0029CC28 48 0A 11 79 */ bl __dt__6CTokenFv -lbl_8029FCCC: -/* 8029FCCC 0029CC2C 38 00 00 00 */ li r0, 0 -/* 8029FCD0 0029CC30 98 1E 05 B0 */ stb r0, 0x5b0(r30) -lbl_8029FCD4: -/* 8029FCD4 0029CC34 7F C3 F3 78 */ mr r3, r30 -/* 8029FCD8 0029CC38 38 80 00 00 */ li r4, 0 -/* 8029FCDC 0029CC3C 4B DD 78 95 */ bl __dt__10CPatternedFv -/* 8029FCE0 0029CC40 7F E0 07 35 */ extsh. r0, r31 -/* 8029FCE4 0029CC44 40 81 00 0C */ ble lbl_8029FCF0 -/* 8029FCE8 0029CC48 7F C3 F3 78 */ mr r3, r30 -/* 8029FCEC 0029CC4C 48 07 5C 45 */ bl Free__7CMemoryFPCv -lbl_8029FCF0: -/* 8029FCF0 0029CC50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029FCF4 0029CC54 7F C3 F3 78 */ mr r3, r30 -/* 8029FCF8 0029CC58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029FCFC 0029CC5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029FD00 0029CC60 7C 08 03 A6 */ mtlr r0 -/* 8029FD04 0029CC64 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029FD08 0029CC68 4E 80 00 20 */ blr - -.global __ct__11CEnergyBall -__ct__11CEnergyBall: -/* 8029FD0C 0029CC6C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8029FD10 0029CC70 7C 08 02 A6 */ mflr r0 -/* 8029FD14 0029CC74 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8029FD18 0029CC78 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8029FD1C 0029CC7C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8029FD20 0029CC80 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8029FD24 0029CC84 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8029FD28 0029CC88 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8029FD2C 0029CC8C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8029FD30 0029CC90 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8029FD34 0029CC94 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8029FD38 0029CC98 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8029FD3C 0029CC9C F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 8029FD40 0029CCA0 BE A1 00 64 */ stmw r21, 0x64(r1) -/* 8029FD44 0029CCA4 A0 04 00 00 */ lhz r0, 0(r4) -/* 8029FD48 0029CCA8 7D 56 53 78 */ mr r22, r10 -/* 8029FD4C 0029CCAC 7C CB 33 78 */ mr r11, r6 -/* 8029FD50 0029CCB0 7D 0A 43 78 */ mr r10, r8 -/* 8029FD54 0029CCB4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8029FD58 0029CCB8 7C A6 2B 78 */ mr r6, r5 -/* 8029FD5C 0029CCBC 38 80 00 01 */ li r4, 1 -/* 8029FD60 0029CCC0 38 00 00 07 */ li r0, 7 -/* 8029FD64 0029CCC4 92 C1 00 08 */ stw r22, 8(r1) -/* 8029FD68 0029CCC8 FF 60 08 90 */ fmr f27, f1 -/* 8029FD6C 0029CCCC FF 80 10 90 */ fmr f28, f2 -/* 8029FD70 0029CCD0 82 E1 00 E8 */ lwz r23, 0xe8(r1) -/* 8029FD74 0029CCD4 90 81 00 0C */ stw r4, 0xc(r1) -/* 8029FD78 0029CCD8 FF A0 18 90 */ fmr f29, f3 -/* 8029FD7C 0029CCDC FF C0 20 90 */ fmr f30, f4 -/* 8029FD80 0029CCE0 90 81 00 10 */ stw r4, 0x10(r1) -/* 8029FD84 0029CCE4 FF E0 28 90 */ fmr f31, f5 -/* 8029FD88 0029CCE8 83 01 00 EC */ lwz r24, 0xec(r1) -/* 8029FD8C 0029CCEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029FD90 0029CCF0 7C 75 1B 78 */ mr r21, r3 -/* 8029FD94 0029CCF4 83 21 00 F0 */ lwz r25, 0xf0(r1) -/* 8029FD98 0029CCF8 7D 68 5B 78 */ mr r8, r11 -/* 8029FD9C 0029CCFC 91 21 00 18 */ stw r9, 0x18(r1) -/* 8029FDA0 0029CD00 7C E9 3B 78 */ mr r9, r7 -/* 8029FDA4 0029CD04 A3 41 00 F6 */ lhz r26, 0xf6(r1) -/* 8029FDA8 0029CD08 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8029FDAC 0029CD0C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8029FDB0 0029CD10 38 80 00 28 */ li r4, 0x28 -/* 8029FDB4 0029CD14 83 61 00 F8 */ lwz r27, 0xf8(r1) -/* 8029FDB8 0029CD18 38 E0 00 00 */ li r7, 0 -/* 8029FDBC 0029CD1C 83 81 00 FC */ lwz r28, 0xfc(r1) -/* 8029FDC0 0029CD20 A3 A1 01 02 */ lhz r29, 0x102(r1) -/* 8029FDC4 0029CD24 83 C1 01 04 */ lwz r30, 0x104(r1) -/* 8029FDC8 0029CD28 83 E1 01 08 */ lwz r31, 0x108(r1) -/* 8029FDCC 0029CD2C 4B DD D6 85 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8029FDD0 0029CD30 3C 80 80 3F */ lis r4, lbl_803EC0A0@ha -/* 8029FDD4 0029CD34 38 75 05 68 */ addi r3, r21, 0x568 -/* 8029FDD8 0029CD38 38 04 C0 A0 */ addi r0, r4, lbl_803EC0A0@l -/* 8029FDDC 0029CD3C 90 15 00 00 */ stw r0, 0(r21) -/* 8029FDE0 0029CD40 4B E9 EF 71 */ bl __ct__18CSteeringBehaviorsFv -/* 8029FDE4 0029CD44 C0 02 C0 F8 */ lfs f0, lbl_805ADE18@sda21(r2) -/* 8029FDE8 0029CD48 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 8029FDEC 0029CD4C 38 03 53 43 */ addi r0, r3, 0x454C5343@l -/* 8029FDF0 0029CD50 38 61 00 44 */ addi r3, r1, 0x44 -/* 8029FDF4 0029CD54 D0 15 05 6C */ stfs f0, 0x56c(r21) -/* 8029FDF8 0029CD58 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8029FDFC 0029CD5C 92 F5 05 70 */ stw r23, 0x570(r21) -/* 8029FE00 0029CD60 D3 75 05 74 */ stfs f27, 0x574(r21) -/* 8029FE04 0029CD64 80 98 00 00 */ lwz r4, 0(r24) -/* 8029FE08 0029CD68 90 95 05 78 */ stw r4, 0x578(r21) -/* 8029FE0C 0029CD6C 88 98 00 04 */ lbz r4, 4(r24) -/* 8029FE10 0029CD70 98 95 05 7C */ stb r4, 0x57c(r21) -/* 8029FE14 0029CD74 C0 18 00 08 */ lfs f0, 8(r24) -/* 8029FE18 0029CD78 D0 15 05 80 */ stfs f0, 0x580(r21) -/* 8029FE1C 0029CD7C C0 18 00 0C */ lfs f0, 0xc(r24) -/* 8029FE20 0029CD80 D0 15 05 84 */ stfs f0, 0x584(r21) -/* 8029FE24 0029CD84 C0 18 00 10 */ lfs f0, 0x10(r24) -/* 8029FE28 0029CD88 D0 15 05 88 */ stfs f0, 0x588(r21) -/* 8029FE2C 0029CD8C C0 18 00 14 */ lfs f0, 0x14(r24) -/* 8029FE30 0029CD90 D0 15 05 8C */ stfs f0, 0x58c(r21) -/* 8029FE34 0029CD94 88 98 00 18 */ lbz r4, 0x18(r24) -/* 8029FE38 0029CD98 98 95 05 90 */ stb r4, 0x590(r21) -/* 8029FE3C 0029CD9C C0 16 00 08 */ lfs f0, 8(r22) -/* 8029FE40 0029CDA0 D0 15 05 94 */ stfs f0, 0x594(r21) -/* 8029FE44 0029CDA4 D3 95 05 98 */ stfs f28, 0x598(r21) -/* 8029FE48 0029CDA8 93 35 05 9C */ stw r25, 0x59c(r21) -/* 8029FE4C 0029CDAC B3 55 05 A0 */ sth r26, 0x5a0(r21) -/* 8029FE50 0029CDB0 93 75 05 A4 */ stw r27, 0x5a4(r21) -/* 8029FE54 0029CDB4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8029FE58 0029CDB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029FE5C 0029CDBC 93 81 00 50 */ stw r28, 0x50(r1) -/* 8029FE60 0029CDC0 81 84 00 00 */ lwz r12, 0(r4) -/* 8029FE64 0029CDC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029FE68 0029CDC8 7D 89 03 A6 */ mtctr r12 -/* 8029FE6C 0029CDCC 4E 80 04 21 */ bctrl -/* 8029FE70 0029CDD0 38 61 00 3C */ addi r3, r1, 0x3c -/* 8029FE74 0029CDD4 38 81 00 44 */ addi r4, r1, 0x44 -/* 8029FE78 0029CDD8 48 0A 10 31 */ bl __ct__6CTokenFRC6CToken -/* 8029FE7C 0029CDDC 38 00 00 01 */ li r0, 1 -/* 8029FE80 0029CDE0 34 75 05 A8 */ addic. r3, r21, 0x5a8 -/* 8029FE84 0029CDE4 98 15 05 B0 */ stb r0, 0x5b0(r21) -/* 8029FE88 0029CDE8 41 82 00 0C */ beq lbl_8029FE94 -/* 8029FE8C 0029CDEC 38 81 00 3C */ addi r4, r1, 0x3c -/* 8029FE90 0029CDF0 48 0A 10 19 */ bl __ct__6CTokenFRC6CToken -lbl_8029FE94: -/* 8029FE94 0029CDF4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8029FE98 0029CDF8 38 80 00 00 */ li r4, 0 -/* 8029FE9C 0029CDFC 48 0A 0F A5 */ bl __dt__6CTokenFv -/* 8029FEA0 0029CE00 38 61 00 44 */ addi r3, r1, 0x44 -/* 8029FEA4 0029CE04 38 80 FF FF */ li r4, -1 -/* 8029FEA8 0029CE08 48 0A 0F 99 */ bl __dt__6CTokenFv -/* 8029FEAC 0029CE0C B3 B5 05 B4 */ sth r29, 0x5b4(r21) -/* 8029FEB0 0029CE10 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8029FEB4 0029CE14 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8029FEB8 0029CE18 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029FEBC 0029CE1C D3 B5 05 B8 */ stfs f29, 0x5b8(r21) -/* 8029FEC0 0029CE20 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8029FEC4 0029CE24 D3 D5 05 BC */ stfs f30, 0x5bc(r21) -/* 8029FEC8 0029CE28 90 01 00 34 */ stw r0, 0x34(r1) -/* 8029FECC 0029CE2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8029FED0 0029CE30 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8029FED4 0029CE34 81 84 00 00 */ lwz r12, 0(r4) -/* 8029FED8 0029CE38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8029FEDC 0029CE3C 7D 89 03 A6 */ mtctr r12 -/* 8029FEE0 0029CE40 4E 80 04 21 */ bctrl -/* 8029FEE4 0029CE44 38 61 00 24 */ addi r3, r1, 0x24 -/* 8029FEE8 0029CE48 38 81 00 2C */ addi r4, r1, 0x2c -/* 8029FEEC 0029CE4C 48 0A 0F BD */ bl __ct__6CTokenFRC6CToken -/* 8029FEF0 0029CE50 38 00 00 01 */ li r0, 1 -/* 8029FEF4 0029CE54 34 75 05 C0 */ addic. r3, r21, 0x5c0 -/* 8029FEF8 0029CE58 98 15 05 C8 */ stb r0, 0x5c8(r21) -/* 8029FEFC 0029CE5C 41 82 00 0C */ beq lbl_8029FF08 -/* 8029FF00 0029CE60 38 81 00 24 */ addi r4, r1, 0x24 -/* 8029FF04 0029CE64 48 0A 0F A5 */ bl __ct__6CTokenFRC6CToken -lbl_8029FF08: -/* 8029FF08 0029CE68 38 61 00 24 */ addi r3, r1, 0x24 -/* 8029FF0C 0029CE6C 38 80 00 00 */ li r4, 0 -/* 8029FF10 0029CE70 48 0A 0F 31 */ bl __dt__6CTokenFv -/* 8029FF14 0029CE74 38 61 00 2C */ addi r3, r1, 0x2c -/* 8029FF18 0029CE78 38 80 FF FF */ li r4, -1 -/* 8029FF1C 0029CE7C 48 0A 0F 25 */ bl __dt__6CTokenFv -/* 8029FF20 0029CE80 80 1F 00 00 */ lwz r0, 0(r31) -/* 8029FF24 0029CE84 7E A3 AB 78 */ mr r3, r21 -/* 8029FF28 0029CE88 38 80 00 00 */ li r4, 0 -/* 8029FF2C 0029CE8C 90 15 05 CC */ stw r0, 0x5cc(r21) -/* 8029FF30 0029CE90 88 1F 00 04 */ lbz r0, 4(r31) -/* 8029FF34 0029CE94 98 15 05 D0 */ stb r0, 0x5d0(r21) -/* 8029FF38 0029CE98 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8029FF3C 0029CE9C D0 15 05 D4 */ stfs f0, 0x5d4(r21) -/* 8029FF40 0029CEA0 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8029FF44 0029CEA4 D0 15 05 D8 */ stfs f0, 0x5d8(r21) -/* 8029FF48 0029CEA8 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8029FF4C 0029CEAC D0 15 05 DC */ stfs f0, 0x5dc(r21) -/* 8029FF50 0029CEB0 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8029FF54 0029CEB4 D0 15 05 E0 */ stfs f0, 0x5e0(r21) -/* 8029FF58 0029CEB8 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8029FF5C 0029CEBC 98 15 05 E4 */ stb r0, 0x5e4(r21) -/* 8029FF60 0029CEC0 D3 F5 05 E8 */ stfs f31, 0x5e8(r21) -/* 8029FF64 0029CEC4 4B DB 2E 09 */ bl CreateShadow__6CActorFb -/* 8029FF68 0029CEC8 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FF6C 0029CECC 38 60 00 00 */ li r3, 0 -/* 8029FF70 0029CED0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8029FF74 0029CED4 38 75 04 60 */ addi r3, r21, 0x460 -/* 8029FF78 0029CED8 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FF7C 0029CEDC 38 80 00 00 */ li r4, 0 -/* 8029FF80 0029CEE0 4B F9 3D E5 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 8029FF84 0029CEE4 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FF88 0029CEE8 38 80 00 00 */ li r4, 0 -/* 8029FF8C 0029CEEC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8029FF90 0029CEF0 7E A3 AB 78 */ mr r3, r21 -/* 8029FF94 0029CEF4 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FF98 0029CEF8 88 15 04 E2 */ lbz r0, 0x4e2(r21) -/* 8029FF9C 0029CEFC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8029FFA0 0029CF00 98 15 04 E2 */ stb r0, 0x4e2(r21) -/* 8029FFA4 0029CF04 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FFA8 0029CF08 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8029FFAC 0029CF0C 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FFB0 0029CF10 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FFB4 0029CF14 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 8029FFB8 0029CF18 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FFBC 0029CF1C 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FFC0 0029CF20 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8029FFC4 0029CF24 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FFC8 0029CF28 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FFCC 0029CF2C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8029FFD0 0029CF30 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FFD4 0029CF34 88 15 04 E1 */ lbz r0, 0x4e1(r21) -/* 8029FFD8 0029CF38 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 8029FFDC 0029CF3C 98 15 04 E1 */ stb r0, 0x4e1(r21) -/* 8029FFE0 0029CF40 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8029FFE4 0029CF44 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8029FFE8 0029CF48 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8029FFEC 0029CF4C CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8029FFF0 0029CF50 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8029FFF4 0029CF54 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8029FFF8 0029CF58 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8029FFFC 0029CF5C CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 802A0000 0029CF60 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802A0004 0029CF64 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802A0008 0029CF68 BA A1 00 64 */ lmw r21, 0x64(r1) -/* 802A000C 0029CF6C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802A0010 0029CF70 7C 08 03 A6 */ mtlr r0 -/* 802A0014 0029CF74 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802A0018 0029CF78 4E 80 00 20 */ blr - -.global sub_802a001c -sub_802a001c: -/* 802A001C 0029CF7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A0020 0029CF80 7C 08 02 A6 */ mflr r0 -/* 802A0024 0029CF84 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A0028 0029CF88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A002C 0029CF8C 7C 9F 23 78 */ mr r31, r4 -/* 802A0030 0029CF90 93 C1 00 08 */ stw r30, 8(r1) -/* 802A0034 0029CF94 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802A0038 0029CF98 41 82 00 28 */ beq lbl_802A0060 -/* 802A003C 0029CF9C 3C A0 80 3F */ lis r5, lbl_803EC370@ha -/* 802A0040 0029CFA0 38 80 00 00 */ li r4, 0 -/* 802A0044 0029CFA4 38 05 C3 70 */ addi r0, r5, lbl_803EC370@l -/* 802A0048 0029CFA8 90 1E 00 00 */ stw r0, 0(r30) -/* 802A004C 0029CFAC 4B DB 12 29 */ bl __dt__7CEntityFv -/* 802A0050 0029CFB0 7F E0 07 35 */ extsh. r0, r31 -/* 802A0054 0029CFB4 40 81 00 0C */ ble lbl_802A0060 -/* 802A0058 0029CFB8 7F C3 F3 78 */ mr r3, r30 -/* 802A005C 0029CFBC 48 07 58 D5 */ bl Free__7CMemoryFPCv -lbl_802A0060: -/* 802A0060 0029CFC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A0064 0029CFC4 7F C3 F3 78 */ mr r3, r30 -/* 802A0068 0029CFC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A006C 0029CFCC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A0070 0029CFD0 7C 08 03 A6 */ mtlr r0 -/* 802A0074 0029CFD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A0078 0029CFD8 4E 80 00 20 */ blr - -.global sub_802a007c -sub_802a007c: -/* 802A007C 0029CFDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A0080 0029CFE0 7C 08 02 A6 */ mflr r0 -/* 802A0084 0029CFE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A0088 0029CFE8 7C 60 1B 78 */ mr r0, r3 -/* 802A008C 0029CFEC 7C 83 23 78 */ mr r3, r4 -/* 802A0090 0029CFF0 81 84 00 00 */ lwz r12, 0(r4) -/* 802A0094 0029CFF4 7C 04 03 78 */ mr r4, r0 -/* 802A0098 0029CFF8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802A009C 0029CFFC 7D 89 03 A6 */ mtctr r12 -/* 802A00A0 0029D000 4E 80 04 21 */ bctrl -/* 802A00A4 0029D004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A00A8 0029D008 7C 08 03 A6 */ mtlr r0 -/* 802A00AC 0029D00C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A00B0 0029D010 4E 80 00 20 */ blr - -.global sub_802a00b4 -sub_802a00b4: -/* 802A00B4 0029D014 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A00B8 0029D018 7C 08 02 A6 */ mflr r0 -/* 802A00BC 0029D01C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A00C0 0029D020 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A00C4 0029D024 7C 7F 1B 78 */ mr r31, r3 -/* 802A00C8 0029D028 88 03 00 58 */ lbz r0, 0x58(r3) -/* 802A00CC 0029D02C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802A00D0 0029D030 41 82 00 1C */ beq lbl_802A00EC -/* 802A00D4 0029D034 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 802A00D8 0029D038 4B D7 18 6D */ bl DecrementPhazon__7CPlayerFv -/* 802A00DC 0029D03C 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 802A00E0 0029D040 38 60 00 00 */ li r3, 0 -/* 802A00E4 0029D044 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802A00E8 0029D048 98 1F 00 58 */ stb r0, 0x58(r31) -lbl_802A00EC: -/* 802A00EC 0029D04C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A00F0 0029D050 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A00F4 0029D054 7C 08 03 A6 */ mtlr r0 -/* 802A00F8 0029D058 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A00FC 0029D05C 4E 80 00 20 */ blr - -.global sub_802a0100 -sub_802a0100: -/* 802A0100 0029D060 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A0104 0029D064 7C 08 02 A6 */ mflr r0 -/* 802A0108 0029D068 2C 04 00 22 */ cmpwi r4, 0x22 -/* 802A010C 0029D06C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A0110 0029D070 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A0114 0029D074 7C 7F 1B 78 */ mr r31, r3 -/* 802A0118 0029D078 41 82 00 30 */ beq lbl_802A0148 -/* 802A011C 0029D07C 40 80 00 34 */ bge lbl_802A0150 -/* 802A0120 0029D080 2C 04 00 21 */ cmpwi r4, 0x21 -/* 802A0124 0029D084 40 80 00 08 */ bge lbl_802A012C -/* 802A0128 0029D088 48 00 00 28 */ b lbl_802A0150 -lbl_802A012C: -/* 802A012C 0029D08C 80 66 08 4C */ lwz r3, 0x84c(r6) -/* 802A0130 0029D090 4B D7 18 2D */ bl IncrementPhazon__7CPlayerFv -/* 802A0134 0029D094 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 802A0138 0029D098 38 60 00 01 */ li r3, 1 -/* 802A013C 0029D09C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802A0140 0029D0A0 98 1F 00 58 */ stb r0, 0x58(r31) -/* 802A0144 0029D0A4 48 00 00 0C */ b lbl_802A0150 -lbl_802A0148: -/* 802A0148 0029D0A8 7C C4 33 78 */ mr r4, r6 -/* 802A014C 0029D0AC 4B FF FF 69 */ bl sub_802a00b4 -lbl_802A0150: -/* 802A0150 0029D0B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A0154 0029D0B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A0158 0029D0B8 7C 08 03 A6 */ mtlr r0 -/* 802A015C 0029D0BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A0160 0029D0C0 4E 80 00 20 */ blr - -.global sub_802a0164 -sub_802a0164: -/* 802A0164 0029D0C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802A0168 0029D0C8 7C 08 02 A6 */ mflr r0 -/* 802A016C 0029D0CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A0170 0029D0D0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802A0174 0029D0D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802A0178 0029D0D8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802A017C 0029D0DC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802A0180 0029D0E0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 802A0184 0029D0E4 FF E0 08 90 */ fmr f31, f1 -/* 802A0188 0029D0E8 7C 7E 1B 78 */ mr r30, r3 -/* 802A018C 0029D0EC 7C 9F 23 78 */ mr r31, r4 -/* 802A0190 0029D0F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802A0194 0029D0F4 41 82 00 C8 */ beq lbl_802A025C -/* 802A0198 0029D0F8 C0 3E 00 54 */ lfs f1, 0x54(r30) -/* 802A019C 0029D0FC C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 802A01A0 0029D100 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A01A4 0029D104 40 81 00 24 */ ble lbl_802A01C8 -/* 802A01A8 0029D108 4B FF FF 0D */ bl sub_802a00b4 -/* 802A01AC 0029D10C A0 1E 00 08 */ lhz r0, 8(r30) -/* 802A01B0 0029D110 7F E3 FB 78 */ mr r3, r31 -/* 802A01B4 0029D114 38 81 00 24 */ addi r4, r1, 0x24 -/* 802A01B8 0029D118 B0 01 00 20 */ sth r0, 0x20(r1) -/* 802A01BC 0029D11C B0 01 00 24 */ sth r0, 0x24(r1) -/* 802A01C0 0029D120 4B DA C0 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 802A01C4 0029D124 48 00 00 8C */ b lbl_802A0250 -lbl_802A01C8: -/* 802A01C8 0029D128 80 AD 9A 48 */ lwz r5, lbl_805A8608@sda21(r13) -/* 802A01CC 0029D12C 38 60 00 00 */ li r3, 0 -/* 802A01D0 0029D130 38 80 00 01 */ li r4, 1 -/* 802A01D4 0029D134 48 0E 9D 21 */ bl __shl2i -/* 802A01D8 0029D138 38 A0 00 00 */ li r5, 0 -/* 802A01DC 0029D13C 38 00 00 03 */ li r0, 3 -/* 802A01E0 0029D140 90 81 00 2C */ stw r4, 0x2c(r1) -/* 802A01E4 0029D144 FC 20 F8 90 */ fmr f1, f31 -/* 802A01E8 0029D148 38 9E 00 34 */ addi r4, r30, 0x34 -/* 802A01EC 0029D14C 90 61 00 28 */ stw r3, 0x28(r1) -/* 802A01F0 0029D150 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A01F4 0029D154 90 A1 00 34 */ stw r5, 0x34(r1) -/* 802A01F8 0029D158 90 A1 00 30 */ stw r5, 0x30(r1) -/* 802A01FC 0029D15C 90 01 00 38 */ stw r0, 0x38(r1) -/* 802A0200 0029D160 A0 1E 00 08 */ lhz r0, 8(r30) -/* 802A0204 0029D164 B0 01 00 0C */ sth r0, 0xc(r1) -/* 802A0208 0029D168 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 802A020C 0029D16C B0 01 00 08 */ sth r0, 8(r1) -/* 802A0210 0029D170 A0 A5 00 08 */ lhz r5, 8(r5) -/* 802A0214 0029D174 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 802A0218 0029D178 A0 1E 00 08 */ lhz r0, 8(r30) -/* 802A021C 0029D17C B0 A1 00 10 */ sth r5, 0x10(r1) -/* 802A0220 0029D180 B0 01 00 18 */ sth r0, 0x18(r1) -/* 802A0224 0029D184 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 802A0228 0029D188 4B E2 32 21 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 802A022C 0029D18C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802A0230 0029D190 7F E3 FB 78 */ mr r3, r31 -/* 802A0234 0029D194 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 802A0238 0029D198 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802A023C 0029D19C 38 81 00 1C */ addi r4, r1, 0x1c -/* 802A0240 0029D1A0 38 C1 00 0C */ addi r6, r1, 0xc -/* 802A0244 0029D1A4 38 E1 00 40 */ addi r7, r1, 0x40 -/* 802A0248 0029D1A8 39 01 00 28 */ addi r8, r1, 0x28 -/* 802A024C 0029D1AC 4B DA 9E 55 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_802A0250: -/* 802A0250 0029D1B0 C0 1E 00 54 */ lfs f0, 0x54(r30) -/* 802A0254 0029D1B4 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A0258 0029D1B8 D0 1E 00 54 */ stfs f0, 0x54(r30) -lbl_802A025C: -/* 802A025C 0029D1BC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802A0260 0029D1C0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802A0264 0029D1C4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802A0268 0029D1C8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802A026C 0029D1CC 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802A0270 0029D1D0 7C 08 03 A6 */ mtlr r0 -/* 802A0274 0029D1D4 38 21 00 80 */ addi r1, r1, 0x80 -/* 802A0278 0029D1D8 4E 80 00 20 */ blr - -.global sub_802a027c -sub_802a027c: -/* 802A027C 0029D1DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802A0280 0029D1E0 7C 08 02 A6 */ mflr r0 -/* 802A0284 0029D1E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A0288 0029D1E8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802A028C 0029D1EC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802A0290 0029D1F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A0294 0029D1F4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A0298 0029D1F8 A0 04 00 00 */ lhz r0, 0(r4) -/* 802A029C 0029D1FC FF E0 08 90 */ fmr f31, f1 -/* 802A02A0 0029D200 7C 7E 1B 78 */ mr r30, r3 -/* 802A02A4 0029D204 7D 1F 43 78 */ mr r31, r8 -/* 802A02A8 0029D208 B0 01 00 08 */ sth r0, 8(r1) -/* 802A02AC 0029D20C 38 81 00 08 */ addi r4, r1, 8 -/* 802A02B0 0029D210 4B DB 10 75 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802A02B4 0029D214 3C 60 80 3F */ lis r3, lbl_803EC370@ha -/* 802A02B8 0029D218 C0 02 C1 08 */ lfs f0, lbl_805ADE28@sda21(r2) -/* 802A02BC 0029D21C 38 03 C3 70 */ addi r0, r3, lbl_803EC370@l -/* 802A02C0 0029D220 38 80 00 00 */ li r4, 0 -/* 802A02C4 0029D224 90 1E 00 00 */ stw r0, 0(r30) -/* 802A02C8 0029D228 7F C3 F3 78 */ mr r3, r30 -/* 802A02CC 0029D22C 80 1F 00 00 */ lwz r0, 0(r31) -/* 802A02D0 0029D230 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802A02D4 0029D234 88 1F 00 04 */ lbz r0, 4(r31) -/* 802A02D8 0029D238 98 1E 00 38 */ stb r0, 0x38(r30) -/* 802A02DC 0029D23C C0 3F 00 08 */ lfs f1, 8(r31) -/* 802A02E0 0029D240 D0 3E 00 3C */ stfs f1, 0x3c(r30) -/* 802A02E4 0029D244 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 802A02E8 0029D248 D0 3E 00 40 */ stfs f1, 0x40(r30) -/* 802A02EC 0029D24C C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802A02F0 0029D250 D0 3E 00 44 */ stfs f1, 0x44(r30) -/* 802A02F4 0029D254 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 802A02F8 0029D258 D0 3E 00 48 */ stfs f1, 0x48(r30) -/* 802A02FC 0029D25C 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 802A0300 0029D260 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 802A0304 0029D264 D3 FE 00 50 */ stfs f31, 0x50(r30) -/* 802A0308 0029D268 D0 1E 00 54 */ stfs f0, 0x54(r30) -/* 802A030C 0029D26C 88 1E 00 58 */ lbz r0, 0x58(r30) -/* 802A0310 0029D270 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802A0314 0029D274 98 1E 00 58 */ stb r0, 0x58(r30) -/* 802A0318 0029D278 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802A031C 0029D27C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802A0320 0029D280 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802A0324 0029D284 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A0328 0029D288 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A032C 0029D28C 7C 08 03 A6 */ mtlr r0 -/* 802A0330 0029D290 38 21 00 30 */ addi r1, r1, 0x30 -/* 802A0334 0029D294 4E 80 00 20 */ blr - -.global __dt__23CMetroidPrimeProjectileFv -__dt__23CMetroidPrimeProjectileFv: -/* 802A0338 0029D298 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A033C 0029D29C 7C 08 02 A6 */ mflr r0 -/* 802A0340 0029D2A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A0344 0029D2A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A0348 0029D2A8 7C 9F 23 78 */ mr r31, r4 -/* 802A034C 0029D2AC 93 C1 00 08 */ stw r30, 8(r1) -/* 802A0350 0029D2B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802A0354 0029D2B4 41 82 00 44 */ beq lbl_802A0398 -/* 802A0358 0029D2B8 3C 60 80 3F */ lis r3, lbl_803EC390@ha -/* 802A035C 0029D2BC 34 1E 03 D8 */ addic. r0, r30, 0x3d8 -/* 802A0360 0029D2C0 38 03 C3 90 */ addi r0, r3, lbl_803EC390@l -/* 802A0364 0029D2C4 90 1E 00 00 */ stw r0, 0(r30) -/* 802A0368 0029D2C8 41 82 00 14 */ beq lbl_802A037C -/* 802A036C 0029D2CC 34 7E 03 DC */ addic. r3, r30, 0x3dc -/* 802A0370 0029D2D0 41 82 00 0C */ beq lbl_802A037C -/* 802A0374 0029D2D4 38 80 00 00 */ li r4, 0 -/* 802A0378 0029D2D8 48 0A 0A C9 */ bl __dt__6CTokenFv -lbl_802A037C: -/* 802A037C 0029D2DC 7F C3 F3 78 */ mr r3, r30 -/* 802A0380 0029D2E0 38 80 00 00 */ li r4, 0 -/* 802A0384 0029D2E4 4B E9 B5 71 */ bl __dt__17CEnergyProjectileFv -/* 802A0388 0029D2E8 7F E0 07 35 */ extsh. r0, r31 -/* 802A038C 0029D2EC 40 81 00 0C */ ble lbl_802A0398 -/* 802A0390 0029D2F0 7F C3 F3 78 */ mr r3, r30 -/* 802A0394 0029D2F4 48 07 55 9D */ bl Free__7CMemoryFPCv -lbl_802A0398: -/* 802A0398 0029D2F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A039C 0029D2FC 7F C3 F3 78 */ mr r3, r30 -/* 802A03A0 0029D300 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A03A4 0029D304 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A03A8 0029D308 7C 08 03 A6 */ mtlr r0 -/* 802A03AC 0029D30C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A03B0 0029D310 4E 80 00 20 */ blr - -.global __ct__20SPrimeProjectileInfoFR12CInputStream -__ct__20SPrimeProjectileInfoFR12CInputStream: -/* 802A03B4 0029D314 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A03B8 0029D318 7C 08 02 A6 */ mflr r0 -/* 802A03BC 0029D31C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A03C0 0029D320 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A03C4 0029D324 7C 9F 23 78 */ mr r31, r4 -/* 802A03C8 0029D328 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A03CC 0029D32C 7C 7E 1B 78 */ mr r30, r3 -/* 802A03D0 0029D330 7F E3 FB 78 */ mr r3, r31 -/* 802A03D4 0029D334 48 09 E8 B1 */ bl ReadLong__12CInputStreamFv -/* 802A03D8 0029D338 90 7E 00 00 */ stw r3, 0(r30) -/* 802A03DC 0029D33C 7F E3 FB 78 */ mr r3, r31 -/* 802A03E0 0029D340 48 09 E8 A5 */ bl ReadLong__12CInputStreamFv -/* 802A03E4 0029D344 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 802A03E8 0029D348 90 61 00 14 */ stw r3, 0x14(r1) -/* 802A03EC 0029D34C 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 802A03F0 0029D350 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 802A03F4 0029D354 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A03F8 0029D358 38 61 00 08 */ addi r3, r1, 8 -/* 802A03FC 0029D35C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802A0400 0029D360 81 84 00 00 */ lwz r12, 0(r4) -/* 802A0404 0029D364 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802A0408 0029D368 7D 89 03 A6 */ mtctr r12 -/* 802A040C 0029D36C 4E 80 04 21 */ bctrl -/* 802A0410 0029D370 38 7E 00 04 */ addi r3, r30, 4 -/* 802A0414 0029D374 38 81 00 08 */ addi r4, r1, 8 -/* 802A0418 0029D378 48 0A 0A 91 */ bl __ct__6CTokenFRC6CToken -/* 802A041C 0029D37C 38 61 00 08 */ addi r3, r1, 8 -/* 802A0420 0029D380 38 80 FF FF */ li r4, -1 -/* 802A0424 0029D384 48 0A 0A 1D */ bl __dt__6CTokenFv -/* 802A0428 0029D388 7F E4 FB 78 */ mr r4, r31 -/* 802A042C 0029D38C 38 7E 00 0C */ addi r3, r30, 0xc -/* 802A0430 0029D390 4B E2 31 31 */ bl __ct__11CDamageInfoFR12CInputStream -/* 802A0434 0029D394 7F E3 FB 78 */ mr r3, r31 -/* 802A0438 0029D398 48 09 E7 F1 */ bl ReadFloat__12CInputStreamFv -/* 802A043C 0029D39C D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 802A0440 0029D3A0 7F E3 FB 78 */ mr r3, r31 -/* 802A0444 0029D3A4 48 09 E7 E5 */ bl ReadFloat__12CInputStreamFv -/* 802A0448 0029D3A8 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 802A044C 0029D3AC 7F E3 FB 78 */ mr r3, r31 -/* 802A0450 0029D3B0 48 09 E7 D9 */ bl ReadFloat__12CInputStreamFv -/* 802A0454 0029D3B4 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 802A0458 0029D3B8 7F E3 FB 78 */ mr r3, r31 -/* 802A045C 0029D3BC 48 09 E8 29 */ bl ReadLong__12CInputStreamFv -/* 802A0460 0029D3C0 90 7E 00 34 */ stw r3, 0x34(r30) -/* 802A0464 0029D3C4 7F E3 FB 78 */ mr r3, r31 -/* 802A0468 0029D3C8 48 09 E8 75 */ bl ReadBool__12CInputStreamFv -/* 802A046C 0029D3CC 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 802A0470 0029D3D0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802A0474 0029D3D4 7F E3 FB 78 */ mr r3, r31 -/* 802A0478 0029D3D8 98 1E 00 38 */ stb r0, 0x38(r30) -/* 802A047C 0029D3DC 48 09 E8 61 */ bl ReadBool__12CInputStreamFv -/* 802A0480 0029D3E0 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 802A0484 0029D3E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802A0488 0029D3E8 7F E3 FB 78 */ mr r3, r31 -/* 802A048C 0029D3EC 98 1E 00 38 */ stb r0, 0x38(r30) -/* 802A0490 0029D3F0 48 09 E8 4D */ bl ReadBool__12CInputStreamFv -/* 802A0494 0029D3F4 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 802A0498 0029D3F8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802A049C 0029D3FC 7F E3 FB 78 */ mr r3, r31 -/* 802A04A0 0029D400 98 1E 00 38 */ stb r0, 0x38(r30) -/* 802A04A4 0029D404 48 09 E8 39 */ bl ReadBool__12CInputStreamFv -/* 802A04A8 0029D408 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 802A04AC 0029D40C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 802A04B0 0029D410 7F C3 F3 78 */ mr r3, r30 -/* 802A04B4 0029D414 98 1E 00 38 */ stb r0, 0x38(r30) -/* 802A04B8 0029D418 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A04BC 0029D41C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A04C0 0029D420 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A04C4 0029D424 7C 08 03 A6 */ mtlr r0 -/* 802A04C8 0029D428 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A04CC 0029D42C 4E 80 00 20 */ blr - -.global Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId -Explode__23CMetroidPrimeProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId: -/* 802A04D0 0029D430 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 802A04D4 0029D434 7C 08 02 A6 */ mflr r0 -/* 802A04D8 0029D438 90 01 01 44 */ stw r0, 0x144(r1) -/* 802A04DC 0029D43C BE E1 01 1C */ stmw r23, 0x11c(r1) -/* 802A04E0 0029D440 7C 7C 1B 78 */ mr r28, r3 -/* 802A04E4 0029D444 7C FD 3B 78 */ mr r29, r7 -/* 802A04E8 0029D448 A0 09 00 00 */ lhz r0, 0(r9) -/* 802A04EC 0029D44C 39 21 00 38 */ addi r9, r1, 0x38 -/* 802A04F0 0029D450 B0 01 00 38 */ sth r0, 0x38(r1) -/* 802A04F4 0029D454 4B F7 47 05 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId -/* 802A04F8 0029D458 88 1C 02 E4 */ lbz r0, 0x2e4(r28) -/* 802A04FC 0029D45C 7C 7E 1B 78 */ mr r30, r3 -/* 802A0500 0029D460 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802A0504 0029D464 40 82 01 70 */ bne lbl_802A0674 -/* 802A0508 0029D468 7F A4 EB 78 */ mr r4, r29 -/* 802A050C 0029D46C 38 61 00 34 */ addi r3, r1, 0x34 -/* 802A0510 0029D470 4B DA CB CD */ bl AllocateUniqueId__13CStateManagerFv -/* 802A0514 0029D474 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 802A0518 0029D478 3B FC 03 E4 */ addi r31, r28, 0x3e4 -/* 802A051C 0029D47C C0 3C 03 F4 */ lfs f1, 0x3f4(r28) -/* 802A0520 0029D480 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802A0524 0029D484 C0 42 C1 10 */ lfs f2, lbl_805ADE30@sda21(r2) -/* 802A0528 0029D488 C0 02 C1 14 */ lfs f0, lbl_805ADE34@sda21(r2) -/* 802A052C 0029D48C B0 01 00 3C */ sth r0, 0x3c(r1) -/* 802A0530 0029D490 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 802A0534 0029D494 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802A0538 0029D498 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802A053C 0029D49C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 802A0540 0029D4A0 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802A0544 0029D4A4 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802A0548 0029D4A8 48 07 2C F9 */ bl Scale__12CTransform4fFf -/* 802A054C 0029D4AC 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 802A0550 0029D4B0 38 9C 00 34 */ addi r4, r28, 0x34 -/* 802A0554 0029D4B4 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 802A0558 0029D4B8 48 07 23 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802A055C 0029D4BC 38 61 00 6C */ addi r3, r1, 0x6c -/* 802A0560 0029D4C0 38 81 00 60 */ addi r4, r1, 0x60 -/* 802A0564 0029D4C4 38 A1 00 54 */ addi r5, r1, 0x54 -/* 802A0568 0029D4C8 48 09 7F A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A056C 0029D4CC 7C 64 1B 78 */ mr r4, r3 -/* 802A0570 0029D4D0 38 61 00 84 */ addi r3, r1, 0x84 -/* 802A0574 0029D4D4 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 802A0578 0029D4D8 48 09 73 85 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802A057C 0029D4DC C0 A1 00 84 */ lfs f5, 0x84(r1) -/* 802A0580 0029D4E0 3C 60 80 3D */ lis r3, lbl_803D5EE8@ha -/* 802A0584 0029D4E4 C0 81 00 88 */ lfs f4, 0x88(r1) -/* 802A0588 0029D4E8 38 83 5E E8 */ addi r4, r3, lbl_803D5EE8@l -/* 802A058C 0029D4EC C0 61 00 8C */ lfs f3, 0x8c(r1) -/* 802A0590 0029D4F0 38 60 01 60 */ li r3, 0x160 -/* 802A0594 0029D4F4 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 802A0598 0029D4F8 38 A0 00 00 */ li r5, 0 -/* 802A059C 0029D4FC C0 21 00 94 */ lfs f1, 0x94(r1) -/* 802A05A0 0029D500 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802A05A4 0029D504 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 802A05A8 0029D508 D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 802A05AC 0029D50C D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 802A05B0 0029D510 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 802A05B4 0029D514 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 802A05B8 0029D518 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 802A05BC 0029D51C 48 07 52 B1 */ bl __nw__FUlPCcPCc -/* 802A05C0 0029D520 7C 64 1B 79 */ or. r4, r3, r3 -/* 802A05C4 0029D524 41 82 00 A0 */ beq lbl_802A0664 -/* 802A05C8 0029D528 88 9C 04 10 */ lbz r4, 0x410(r28) -/* 802A05CC 0029D52C 7F EA FB 78 */ mr r10, r31 -/* 802A05D0 0029D530 C0 9C 04 08 */ lfs f4, 0x408(r28) -/* 802A05D4 0029D534 39 3C 00 34 */ addi r9, r28, 0x34 -/* 802A05D8 0029D538 C0 7C 04 04 */ lfs f3, 0x404(r28) -/* 802A05DC 0029D53C 54 97 E7 FE */ rlwinm r23, r4, 0x1c, 0x1f, 0x1f -/* 802A05E0 0029D540 C0 5C 04 00 */ lfs f2, 0x400(r28) -/* 802A05E4 0029D544 54 99 CF FE */ rlwinm r25, r4, 0x19, 0x1f, 0x1f -/* 802A05E8 0029D548 C0 22 C1 10 */ lfs f1, lbl_805ADE30@sda21(r2) -/* 802A05EC 0029D54C 54 9A D7 FE */ rlwinm r26, r4, 0x1a, 0x1f, 0x1f -/* 802A05F0 0029D550 83 1C 04 0C */ lwz r24, 0x40c(r28) -/* 802A05F4 0029D554 54 9B DF FE */ rlwinm r27, r4, 0x1b, 0x1f, 0x1f -/* 802A05F8 0029D558 A1 81 00 3C */ lhz r12, 0x3c(r1) -/* 802A05FC 0029D55C 38 9C 03 DC */ addi r4, r28, 0x3dc -/* 802A0600 0029D560 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802A0604 0029D564 39 61 00 9C */ addi r11, r1, 0x9c -/* 802A0608 0029D568 38 01 00 48 */ addi r0, r1, 0x48 -/* 802A060C 0029D56C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 802A0610 0029D570 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 802A0614 0029D574 38 C1 00 44 */ addi r6, r1, 0x44 -/* 802A0618 0029D578 39 01 00 30 */ addi r8, r1, 0x30 -/* 802A061C 0029D57C 38 E0 00 01 */ li r7, 1 -/* 802A0620 0029D580 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802A0624 0029D584 A3 FC 00 08 */ lhz r31, 8(r28) -/* 802A0628 0029D588 B3 E1 00 30 */ sth r31, 0x30(r1) -/* 802A062C 0029D58C 83 9C 00 04 */ lwz r28, 4(r28) -/* 802A0630 0029D590 B3 E1 00 2C */ sth r31, 0x2c(r1) -/* 802A0634 0029D594 93 81 00 44 */ stw r28, 0x44(r1) -/* 802A0638 0029D598 B1 81 00 28 */ sth r12, 0x28(r1) -/* 802A063C 0029D59C 91 61 00 08 */ stw r11, 8(r1) -/* 802A0640 0029D5A0 90 01 00 0C */ stw r0, 0xc(r1) -/* 802A0644 0029D5A4 92 E1 00 10 */ stw r23, 0x10(r1) -/* 802A0648 0029D5A8 93 01 00 14 */ stw r24, 0x14(r1) -/* 802A064C 0029D5AC 93 21 00 18 */ stw r25, 0x18(r1) -/* 802A0650 0029D5B0 93 41 00 1C */ stw r26, 0x1c(r1) -/* 802A0654 0029D5B4 93 81 00 40 */ stw r28, 0x40(r1) -/* 802A0658 0029D5B8 93 61 00 20 */ stw r27, 0x20(r1) -/* 802A065C 0029D5BC 4B FB CB 81 */ bl __ct__5CFire -/* 802A0660 0029D5C0 7C 64 1B 78 */ mr r4, r3 -lbl_802A0664: -/* 802A0664 0029D5C4 28 04 00 00 */ cmplwi r4, 0 -/* 802A0668 0029D5C8 41 82 00 0C */ beq lbl_802A0674 -/* 802A066C 0029D5CC 7F A3 EB 78 */ mr r3, r29 -/* 802A0670 0029D5D0 4B DA C6 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_802A0674: -/* 802A0674 0029D5D4 7F C3 F3 78 */ mr r3, r30 -/* 802A0678 0029D5D8 BA E1 01 1C */ lmw r23, 0x11c(r1) -/* 802A067C 0029D5DC 80 01 01 44 */ lwz r0, 0x144(r1) -/* 802A0680 0029D5E0 7C 08 03 A6 */ mtlr r0 -/* 802A0684 0029D5E4 38 21 01 40 */ addi r1, r1, 0x140 -/* 802A0688 0029D5E8 4E 80 00 20 */ blr - -.global Accept__23CMetroidPrimeProjectileFR8IVisitor -Accept__23CMetroidPrimeProjectileFR8IVisitor: -/* 802A068C 0029D5EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A0690 0029D5F0 7C 08 02 A6 */ mflr r0 -/* 802A0694 0029D5F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A0698 0029D5F8 7C 60 1B 78 */ mr r0, r3 -/* 802A069C 0029D5FC 7C 83 23 78 */ mr r3, r4 -/* 802A06A0 0029D600 81 84 00 00 */ lwz r12, 0(r4) -/* 802A06A4 0029D604 7C 04 03 78 */ mr r4, r0 -/* 802A06A8 0029D608 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802A06AC 0029D60C 7D 89 03 A6 */ mtctr r12 -/* 802A06B0 0029D610 4E 80 04 21 */ bctrl -/* 802A06B4 0029D614 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A06B8 0029D618 7C 08 03 A6 */ mtlr r0 -/* 802A06BC 0029D61C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A06C0 0029D620 4E 80 00 20 */ blr - -.global "__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -"__ct__23CMetroidPrimeProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi9TUniqueIdUiRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb": -/* 802A06C4 0029D624 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802A06C8 0029D628 7C 08 02 A6 */ mflr r0 -/* 802A06CC 0029D62C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802A06D0 0029D630 39 81 00 34 */ addi r12, r1, 0x34 -/* 802A06D4 0029D634 81 61 00 74 */ lwz r11, 0x74(r1) -/* 802A06D8 0029D638 38 00 00 00 */ li r0, 0 -/* 802A06DC 0029D63C BF 01 00 40 */ stmw r24, 0x40(r1) -/* 802A06E0 0029D640 3B C1 00 3C */ addi r30, r1, 0x3c -/* 802A06E4 0029D644 83 01 00 6C */ lwz r24, 0x6c(r1) -/* 802A06E8 0029D648 7C 7F 1B 78 */ mr r31, r3 -/* 802A06EC 0029D64C 83 41 00 68 */ lwz r26, 0x68(r1) -/* 802A06F0 0029D650 83 21 00 7C */ lwz r25, 0x7c(r1) -/* 802A06F4 0029D654 A3 61 00 86 */ lhz r27, 0x86(r1) -/* 802A06F8 0029D658 A3 AA 00 00 */ lhz r29, 0(r10) -/* 802A06FC 0029D65C A1 4B 00 00 */ lhz r10, 0(r11) -/* 802A0700 0029D660 39 61 00 30 */ addi r11, r1, 0x30 -/* 802A0704 0029D664 B1 41 00 30 */ sth r10, 0x30(r1) -/* 802A0708 0029D668 39 41 00 38 */ addi r10, r1, 0x38 -/* 802A070C 0029D66C A3 98 00 00 */ lhz r28, 0(r24) -/* 802A0710 0029D670 83 01 00 78 */ lwz r24, 0x78(r1) -/* 802A0714 0029D674 B3 81 00 34 */ sth r28, 0x34(r1) -/* 802A0718 0029D678 83 9A 00 00 */ lwz r28, 0(r26) -/* 802A071C 0029D67C 83 41 00 80 */ lwz r26, 0x80(r1) -/* 802A0720 0029D680 93 81 00 3C */ stw r28, 0x3c(r1) -/* 802A0724 0029D684 8B 81 00 8B */ lbz r28, 0x8b(r1) -/* 802A0728 0029D688 B3 A1 00 38 */ sth r29, 0x38(r1) -/* 802A072C 0029D68C 83 A1 00 70 */ lwz r29, 0x70(r1) -/* 802A0730 0029D690 93 C1 00 08 */ stw r30, 8(r1) -/* 802A0734 0029D694 91 81 00 0C */ stw r12, 0xc(r1) -/* 802A0738 0029D698 91 61 00 10 */ stw r11, 0x10(r1) -/* 802A073C 0029D69C 93 01 00 14 */ stw r24, 0x14(r1) -/* 802A0740 0029D6A0 90 01 00 18 */ stw r0, 0x18(r1) -/* 802A0744 0029D6A4 93 21 00 1C */ stw r25, 0x1c(r1) -/* 802A0748 0029D6A8 93 41 00 20 */ stw r26, 0x20(r1) -/* 802A074C 0029D6AC 93 61 00 24 */ stw r27, 0x24(r1) -/* 802A0750 0029D6B0 93 81 00 28 */ stw r28, 0x28(r1) -/* 802A0754 0029D6B4 4B F7 4F 45 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 802A0758 0029D6B8 3C 80 80 3F */ lis r4, lbl_803EC390@ha -/* 802A075C 0029D6BC 38 7F 03 DC */ addi r3, r31, 0x3dc -/* 802A0760 0029D6C0 38 04 C3 90 */ addi r0, r4, lbl_803EC390@l -/* 802A0764 0029D6C4 38 9D 00 04 */ addi r4, r29, 4 -/* 802A0768 0029D6C8 90 1F 00 00 */ stw r0, 0(r31) -/* 802A076C 0029D6CC 80 1D 00 00 */ lwz r0, 0(r29) -/* 802A0770 0029D6D0 90 1F 03 D8 */ stw r0, 0x3d8(r31) -/* 802A0774 0029D6D4 48 0A 07 35 */ bl __ct__6CTokenFRC6CToken -/* 802A0778 0029D6D8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 802A077C 0029D6DC 7F E3 FB 78 */ mr r3, r31 -/* 802A0780 0029D6E0 90 1F 03 E4 */ stw r0, 0x3e4(r31) -/* 802A0784 0029D6E4 88 1D 00 10 */ lbz r0, 0x10(r29) -/* 802A0788 0029D6E8 98 1F 03 E8 */ stb r0, 0x3e8(r31) -/* 802A078C 0029D6EC C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 802A0790 0029D6F0 D0 1F 03 EC */ stfs f0, 0x3ec(r31) -/* 802A0794 0029D6F4 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 802A0798 0029D6F8 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) -/* 802A079C 0029D6FC C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 802A07A0 0029D700 D0 1F 03 F4 */ stfs f0, 0x3f4(r31) -/* 802A07A4 0029D704 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 802A07A8 0029D708 D0 1F 03 F8 */ stfs f0, 0x3f8(r31) -/* 802A07AC 0029D70C 88 1D 00 24 */ lbz r0, 0x24(r29) -/* 802A07B0 0029D710 98 1F 03 FC */ stb r0, 0x3fc(r31) -/* 802A07B4 0029D714 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 802A07B8 0029D718 D0 1F 04 00 */ stfs f0, 0x400(r31) -/* 802A07BC 0029D71C C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 802A07C0 0029D720 D0 1F 04 04 */ stfs f0, 0x404(r31) -/* 802A07C4 0029D724 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 802A07C8 0029D728 D0 1F 04 08 */ stfs f0, 0x408(r31) -/* 802A07CC 0029D72C 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 802A07D0 0029D730 90 1F 04 0C */ stw r0, 0x40c(r31) -/* 802A07D4 0029D734 88 1D 00 38 */ lbz r0, 0x38(r29) -/* 802A07D8 0029D738 98 1F 04 10 */ stb r0, 0x410(r31) -/* 802A07DC 0029D73C BB 01 00 40 */ lmw r24, 0x40(r1) -/* 802A07E0 0029D740 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802A07E4 0029D744 7C 08 03 A6 */ mtlr r0 -/* 802A07E8 0029D748 38 21 00 60 */ addi r1, r1, 0x60 -/* 802A07EC 0029D74C 4E 80 00 20 */ blr - -.global sub_802a07f0 -sub_802a07f0: -/* 802A07F0 0029D750 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802A07F4 0029D754 7C 08 02 A6 */ mflr r0 -/* 802A07F8 0029D758 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A07FC 0029D75C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802A0800 0029D760 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802A0804 0029D764 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 802A0808 0029D768 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 802A080C 0029D76C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 802A0810 0029D770 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 802A0814 0029D774 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 802A0818 0029D778 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 802A081C 0029D77C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 802A0820 0029D780 3C E0 80 5A */ lis r7, skZero3f@ha -/* 802A0824 0029D784 7C 9C 23 78 */ mr r28, r4 -/* 802A0828 0029D788 38 87 66 A0 */ addi r4, r7, skZero3f@l -/* 802A082C 0029D78C C3 82 C1 18 */ lfs f28, lbl_805ADE38@sda21(r2) -/* 802A0830 0029D790 C3 E4 00 00 */ lfs f31, 0(r4) -/* 802A0834 0029D794 7C 7B 1B 78 */ mr r27, r3 -/* 802A0838 0029D798 C3 C4 00 04 */ lfs f30, 4(r4) -/* 802A083C 0029D79C 7C BD 2B 78 */ mr r29, r5 -/* 802A0840 0029D7A0 C3 A4 00 08 */ lfs f29, 8(r4) -/* 802A0844 0029D7A4 7C DE 33 78 */ mr r30, r6 -/* 802A0848 0029D7A8 3B FC 00 08 */ addi r31, r28, 8 -/* 802A084C 0029D7AC 48 00 00 98 */ b lbl_802A08E4 -lbl_802A0850: -/* 802A0850 0029D7B0 38 03 FF FF */ addi r0, r3, -1 -/* 802A0854 0029D7B4 C0 BD 00 04 */ lfs f5, 4(r29) -/* 802A0858 0029D7B8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A085C 0029D7BC C0 5D 00 00 */ lfs f2, 0(r29) -/* 802A0860 0029D7C0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802A0864 0029D7C4 C0 9D 00 08 */ lfs f4, 8(r29) -/* 802A0868 0029D7C8 7C 7F 02 14 */ add r3, r31, r0 -/* 802A086C 0029D7CC C0 3E 00 00 */ lfs f1, 0(r30) -/* 802A0870 0029D7D0 C0 C3 00 04 */ lfs f6, 4(r3) -/* 802A0874 0029D7D4 C0 63 00 00 */ lfs f3, 0(r3) -/* 802A0878 0029D7D8 EC C6 28 28 */ fsubs f6, f6, f5 -/* 802A087C 0029D7DC C0 A3 00 08 */ lfs f5, 8(r3) -/* 802A0880 0029D7E0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A0884 0029D7E4 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802A0888 0029D7E8 EC 85 20 28 */ fsubs f4, f5, f4 -/* 802A088C 0029D7EC EC 06 00 32 */ fmuls f0, f6, f0 -/* 802A0890 0029D7F0 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802A0894 0029D7F4 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 802A0898 0029D7F8 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 802A089C 0029D7FC D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 802A08A0 0029D800 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 802A08A4 0029D804 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 802A08A8 0029D808 40 81 00 30 */ ble lbl_802A08D8 -/* 802A08AC 0029D80C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A08B0 0029D810 48 07 3E DD */ bl IsMagnitudeSafe__9CVector3fCFv -/* 802A08B4 0029D814 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A08B8 0029D818 41 82 00 20 */ beq lbl_802A08D8 -/* 802A08BC 0029D81C 38 61 00 08 */ addi r3, r1, 8 -/* 802A08C0 0029D820 38 81 00 14 */ addi r4, r1, 0x14 -/* 802A08C4 0029D824 48 07 3F 8D */ bl AsNormalized__9CVector3fCFv -/* 802A08C8 0029D828 C3 E1 00 08 */ lfs f31, 8(r1) -/* 802A08CC 0029D82C C3 C1 00 0C */ lfs f30, 0xc(r1) -/* 802A08D0 0029D830 C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 802A08D4 0029D834 48 00 00 1C */ b lbl_802A08F0 -lbl_802A08D8: -/* 802A08D8 0029D838 80 7C 00 04 */ lwz r3, 4(r28) -/* 802A08DC 0029D83C 38 03 FF FF */ addi r0, r3, -1 -/* 802A08E0 0029D840 90 1C 00 04 */ stw r0, 4(r28) -lbl_802A08E4: -/* 802A08E4 0029D844 80 7C 00 04 */ lwz r3, 4(r28) -/* 802A08E8 0029D848 2C 03 00 00 */ cmpwi r3, 0 -/* 802A08EC 0029D84C 40 82 FF 64 */ bne lbl_802A0850 -lbl_802A08F0: -/* 802A08F0 0029D850 D3 FB 00 00 */ stfs f31, 0(r27) -/* 802A08F4 0029D854 D3 DB 00 04 */ stfs f30, 4(r27) -/* 802A08F8 0029D858 D3 BB 00 08 */ stfs f29, 8(r27) -/* 802A08FC 0029D85C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802A0900 0029D860 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802A0904 0029D864 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 802A0908 0029D868 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 802A090C 0029D86C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 802A0910 0029D870 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 802A0914 0029D874 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 802A0918 0029D878 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 802A091C 0029D87C BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802A0920 0029D880 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802A0924 0029D884 7C 08 03 A6 */ mtlr r0 -/* 802A0928 0029D888 38 21 00 80 */ addi r1, r1, 0x80 -/* 802A092C 0029D88C 4E 80 00 20 */ blr - -.global sub_802a0930 -sub_802a0930: -/* 802A0930 0029D890 80 C3 00 04 */ lwz r6, 4(r3) -/* 802A0934 0029D894 2C 06 00 10 */ cmpwi r6, 0x10 -/* 802A0938 0029D898 4C 80 00 20 */ bgelr -/* 802A093C 0029D89C 2C 06 00 00 */ cmpwi r6, 0 -/* 802A0940 0029D8A0 40 82 00 3C */ bne lbl_802A097C -/* 802A0944 0029D8A4 1C 06 00 0C */ mulli r0, r6, 0xc -/* 802A0948 0029D8A8 7C A3 02 14 */ add r5, r3, r0 -/* 802A094C 0029D8AC 34 A5 00 08 */ addic. r5, r5, 8 -/* 802A0950 0029D8B0 41 82 00 1C */ beq lbl_802A096C -/* 802A0954 0029D8B4 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A0958 0029D8B8 D0 05 00 00 */ stfs f0, 0(r5) -/* 802A095C 0029D8BC C0 04 00 04 */ lfs f0, 4(r4) -/* 802A0960 0029D8C0 D0 05 00 04 */ stfs f0, 4(r5) -/* 802A0964 0029D8C4 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A0968 0029D8C8 D0 05 00 08 */ stfs f0, 8(r5) -lbl_802A096C: -/* 802A096C 0029D8CC 80 83 00 04 */ lwz r4, 4(r3) -/* 802A0970 0029D8D0 38 04 00 01 */ addi r0, r4, 1 -/* 802A0974 0029D8D4 90 03 00 04 */ stw r0, 4(r3) -/* 802A0978 0029D8D8 4E 80 00 20 */ blr -lbl_802A097C: -/* 802A097C 0029D8DC 38 06 FF FF */ addi r0, r6, -1 -/* 802A0980 0029D8E0 38 E3 00 08 */ addi r7, r3, 8 -/* 802A0984 0029D8E4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A0988 0029D8E8 C0 64 00 04 */ lfs f3, 4(r4) -/* 802A098C 0029D8EC C0 A4 00 00 */ lfs f5, 0(r4) -/* 802A0990 0029D8F0 C0 44 00 08 */ lfs f2, 8(r4) -/* 802A0994 0029D8F4 7C A7 02 14 */ add r5, r7, r0 -/* 802A0998 0029D8F8 C0 03 00 00 */ lfs f0, 0(r3) -/* 802A099C 0029D8FC C0 25 00 04 */ lfs f1, 4(r5) -/* 802A09A0 0029D900 C0 85 00 00 */ lfs f4, 0(r5) -/* 802A09A4 0029D904 EC 63 08 28 */ fsubs f3, f3, f1 -/* 802A09A8 0029D908 C0 25 00 08 */ lfs f1, 8(r5) -/* 802A09AC 0029D90C EC 85 20 28 */ fsubs f4, f5, f4 -/* 802A09B0 0029D910 EC 42 08 28 */ fsubs f2, f2, f1 -/* 802A09B4 0029D914 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 802A09B8 0029D918 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 802A09BC 0029D91C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802A09C0 0029D920 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A09C4 0029D924 4C 81 00 20 */ blelr -/* 802A09C8 0029D928 1C 06 00 0C */ mulli r0, r6, 0xc -/* 802A09CC 0029D92C 7C A7 02 15 */ add. r5, r7, r0 -/* 802A09D0 0029D930 41 82 00 18 */ beq lbl_802A09E8 -/* 802A09D4 0029D934 D0 A5 00 00 */ stfs f5, 0(r5) -/* 802A09D8 0029D938 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A09DC 0029D93C D0 05 00 04 */ stfs f0, 4(r5) -/* 802A09E0 0029D940 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A09E4 0029D944 D0 05 00 08 */ stfs f0, 8(r5) -lbl_802A09E8: -/* 802A09E8 0029D948 80 83 00 04 */ lwz r4, 4(r3) -/* 802A09EC 0029D94C 38 04 00 01 */ addi r0, r4, 1 -/* 802A09F0 0029D950 90 03 00 04 */ stw r0, 4(r3) -/* 802A09F4 0029D954 4E 80 00 20 */ blr - -.global sub_802a09f8 -sub_802a09f8: -/* 802A09F8 0029D958 EC 01 00 72 */ fmuls f0, f1, f1 -/* 802A09FC 0029D95C 38 00 00 00 */ li r0, 0 -/* 802A0A00 0029D960 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A0A04 0029D964 90 03 00 04 */ stw r0, 4(r3) -/* 802A0A08 0029D968 4E 80 00 20 */ blr - -.global LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f -LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f: -/* 802A0A0C 0029D96C 94 21 FB A0 */ stwu r1, -0x460(r1) -/* 802A0A10 0029D970 7C 08 02 A6 */ mflr r0 -/* 802A0A14 0029D974 90 01 04 64 */ stw r0, 0x464(r1) -/* 802A0A18 0029D978 DB E1 04 50 */ stfd f31, 0x450(r1) -/* 802A0A1C 0029D97C F3 E1 04 58 */ psq_st f31, 1112(r1), 0, qr0 -/* 802A0A20 0029D980 DB C1 04 40 */ stfd f30, 0x440(r1) -/* 802A0A24 0029D984 F3 C1 04 48 */ psq_st f30, 1096(r1), 0, qr0 -/* 802A0A28 0029D988 DB A1 04 30 */ stfd f29, 0x430(r1) -/* 802A0A2C 0029D98C F3 A1 04 38 */ psq_st f29, 1080(r1), 0, qr0 -/* 802A0A30 0029D990 DB 81 04 20 */ stfd f28, 0x420(r1) -/* 802A0A34 0029D994 F3 81 04 28 */ psq_st f28, 1064(r1), 0, qr0 -/* 802A0A38 0029D998 DB 61 04 10 */ stfd f27, 0x410(r1) -/* 802A0A3C 0029D99C F3 61 04 18 */ psq_st f27, 1048(r1), 0, qr0 -/* 802A0A40 0029D9A0 DB 41 04 00 */ stfd f26, 0x400(r1) -/* 802A0A44 0029D9A4 F3 41 04 08 */ psq_st f26, 1032(r1), 0, qr0 -/* 802A0A48 0029D9A8 DB 21 03 F0 */ stfd f25, 0x3f0(r1) -/* 802A0A4C 0029D9AC F3 21 03 F8 */ psq_st f25, 1016(r1), 0, qr0 -/* 802A0A50 0029D9B0 DB 01 03 E0 */ stfd f24, 0x3e0(r1) -/* 802A0A54 0029D9B4 F3 01 03 E8 */ psq_st f24, 1000(r1), 0, qr0 -/* 802A0A58 0029D9B8 DA E1 03 D0 */ stfd f23, 0x3d0(r1) -/* 802A0A5C 0029D9BC F2 E1 03 D8 */ psq_st f23, 984(r1), 0, qr0 -/* 802A0A60 0029D9C0 DA C1 03 C0 */ stfd f22, 0x3c0(r1) -/* 802A0A64 0029D9C4 F2 C1 03 C8 */ psq_st f22, 968(r1), 0, qr0 -/* 802A0A68 0029D9C8 DA A1 03 B0 */ stfd f21, 0x3b0(r1) -/* 802A0A6C 0029D9CC F2 A1 03 B8 */ psq_st f21, 952(r1), 0, qr0 -/* 802A0A70 0029D9D0 BE 01 03 70 */ stmw r16, 0x370(r1) -/* 802A0A74 0029D9D4 FF 80 08 90 */ fmr f28, f1 -/* 802A0A78 0029D9D8 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) -/* 802A0A7C 0029D9DC FF 40 10 90 */ fmr f26, f2 -/* 802A0A80 0029D9E0 C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) -/* 802A0A84 0029D9E4 FF 20 18 90 */ fmr f25, f3 -/* 802A0A88 0029D9E8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A0A8C 0029D9EC EF E4 07 32 */ fmuls f31, f4, f28 -/* 802A0A90 0029D9F0 7C 7B 1B 78 */ mr r27, r3 -/* 802A0A94 0029D9F4 FC 19 00 00 */ fcmpu cr0, f25, f0 -/* 802A0A98 0029D9F8 7C 9C 23 78 */ mr r28, r4 -/* 802A0A9C 0029D9FC EF 61 06 B2 */ fmuls f27, f1, f26 -/* 802A0AA0 0029DA00 7C BD 2B 78 */ mr r29, r5 -/* 802A0AA4 0029DA04 7C DE 33 78 */ mr r30, r6 -/* 802A0AA8 0029DA08 7C FF 3B 78 */ mr r31, r7 -/* 802A0AAC 0029DA0C 41 82 00 24 */ beq lbl_802A0AD0 -/* 802A0AB0 0029DA10 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802A0AB4 0029DA14 40 80 00 08 */ bge lbl_802A0ABC -/* 802A0AB8 0029DA18 FF E0 00 90 */ fmr f31, f0 -lbl_802A0ABC: -/* 802A0ABC 0029DA1C FC 1B C8 40 */ fcmpo cr0, f27, f25 -/* 802A0AC0 0029DA20 40 81 00 08 */ ble lbl_802A0AC8 -/* 802A0AC4 0029DA24 FF 60 C8 90 */ fmr f27, f25 -lbl_802A0AC8: -/* 802A0AC8 0029DA28 FC 1F D8 40 */ fcmpo cr0, f31, f27 -/* 802A0ACC 0029DA2C 41 81 0A A0 */ bgt lbl_802A156C -lbl_802A0AD0: -/* 802A0AD0 0029DA30 80 1B 00 20 */ lwz r0, 0x20(r27) -/* 802A0AD4 0029DA34 2C 00 00 02 */ cmpwi r0, 2 -/* 802A0AD8 0029DA38 40 82 03 0C */ bne lbl_802A0DE4 -/* 802A0ADC 0029DA3C 7F 64 DB 78 */ mr r4, r27 -/* 802A0AE0 0029DA40 38 61 00 08 */ addi r3, r1, 8 -/* 802A0AE4 0029DA44 48 00 22 59 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A0AE8 0029DA48 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A0AEC 0029DA4C 38 00 00 00 */ li r0, 0 -/* 802A0AF0 0029DA50 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A0AF4 0029DA54 FF C0 D8 90 */ fmr f30, f27 -/* 802A0AF8 0029DA58 82 61 00 08 */ lwz r19, 8(r1) -/* 802A0AFC 0029DA5C 3A 81 03 38 */ addi r20, r1, 0x338 -/* 802A0B00 0029DA60 D0 21 03 28 */ stfs f1, 0x328(r1) -/* 802A0B04 0029DA64 3A 40 00 00 */ li r18, 0 -/* 802A0B08 0029DA68 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) -/* 802A0B0C 0029DA6C D0 01 03 2C */ stfs f0, 0x32c(r1) -/* 802A0B10 0029DA70 3A C0 00 00 */ li r22, 0 -/* 802A0B14 0029DA74 D0 01 03 30 */ stfs f0, 0x330(r1) -/* 802A0B18 0029DA78 D0 01 03 34 */ stfs f0, 0x334(r1) -/* 802A0B1C 0029DA7C 98 01 03 60 */ stb r0, 0x360(r1) -/* 802A0B20 0029DA80 D0 01 03 64 */ stfs f0, 0x364(r1) -/* 802A0B24 0029DA84 A2 B3 00 18 */ lhz r21, 0x18(r19) -/* 802A0B28 0029DA88 48 00 02 60 */ b lbl_802A0D88 -lbl_802A0B2C: -/* 802A0B2C 0029DA8C 80 9B 00 1C */ lwz r4, 0x1c(r27) -/* 802A0B30 0029DA90 38 61 01 EC */ addi r3, r1, 0x1ec -/* 802A0B34 0029DA94 A0 B3 00 1A */ lhz r5, 0x1a(r19) -/* 802A0B38 0029DA98 48 00 1E FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A0B3C 0029DA9C C0 21 01 F4 */ lfs f1, 0x1f4(r1) -/* 802A0B40 0029DAA0 C2 C1 02 0C */ lfs f22, 0x20c(r1) -/* 802A0B44 0029DAA4 C3 21 02 00 */ lfs f25, 0x200(r1) -/* 802A0B48 0029DAA8 C0 61 01 EC */ lfs f3, 0x1ec(r1) -/* 802A0B4C 0029DAAC EC F6 08 28 */ fsubs f7, f22, f1 -/* 802A0B50 0029DAB0 C3 01 02 04 */ lfs f24, 0x204(r1) -/* 802A0B54 0029DAB4 EC 99 08 28 */ fsubs f4, f25, f1 -/* 802A0B58 0029DAB8 C0 41 01 F0 */ lfs f2, 0x1f0(r1) -/* 802A0B5C 0029DABC C2 E1 02 08 */ lfs f23, 0x208(r1) -/* 802A0B60 0029DAC0 ED 38 18 28 */ fsubs f9, f24, f3 -/* 802A0B64 0029DAC4 C3 41 01 FC */ lfs f26, 0x1fc(r1) -/* 802A0B68 0029DAC8 C1 BC 00 0C */ lfs f13, 0xc(r28) -/* 802A0B6C 0029DACC ED 17 10 28 */ fsubs f8, f23, f2 -/* 802A0B70 0029DAD0 C2 A1 01 F8 */ lfs f21, 0x1f8(r1) -/* 802A0B74 0029DAD4 EC BA 10 28 */ fsubs f5, f26, f2 -/* 802A0B78 0029DAD8 C3 7C 00 14 */ lfs f27, 0x14(r28) -/* 802A0B7C 0029DADC EC C7 03 72 */ fmuls f6, f7, f13 -/* 802A0B80 0029DAE0 C3 9C 00 10 */ lfs f28, 0x10(r28) -/* 802A0B84 0029DAE4 EC 08 06 F2 */ fmuls f0, f8, f27 -/* 802A0B88 0029DAE8 80 61 02 10 */ lwz r3, 0x210(r1) -/* 802A0B8C 0029DAEC ED 7B 32 78 */ fmsubs f11, f27, f9, f6 -/* 802A0B90 0029DAF0 D0 61 03 00 */ stfs f3, 0x300(r1) -/* 802A0B94 0029DAF4 ED 89 07 32 */ fmuls f12, f9, f28 -/* 802A0B98 0029DAF8 EC D5 18 28 */ fsubs f6, f21, f3 -/* 802A0B9C 0029DAFC ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 -/* 802A0BA0 0029DB00 D0 41 03 04 */ stfs f2, 0x304(r1) -/* 802A0BA4 0029DB04 EC 05 02 F2 */ fmuls f0, f5, f11 -/* 802A0BA8 0029DB08 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 -/* 802A0BAC 0029DB0C D0 21 03 08 */ stfs f1, 0x308(r1) -/* 802A0BB0 0029DB10 EC 06 02 BA */ fmadds f0, f6, f10, f0 -/* 802A0BB4 0029DB14 D2 A1 03 0C */ stfs f21, 0x30c(r1) -/* 802A0BB8 0029DB18 D3 41 03 10 */ stfs f26, 0x310(r1) -/* 802A0BBC 0029DB1C EE A4 03 3A */ fmadds f21, f4, f12, f0 -/* 802A0BC0 0029DB20 D3 21 03 14 */ stfs f25, 0x314(r1) -/* 802A0BC4 0029DB24 FC 00 AA 10 */ fabs f0, f21 -/* 802A0BC8 0029DB28 D3 01 03 18 */ stfs f24, 0x318(r1) -/* 802A0BCC 0029DB2C D2 E1 03 1C */ stfs f23, 0x31c(r1) -/* 802A0BD0 0029DB30 FC 00 00 18 */ frsp f0, f0 -/* 802A0BD4 0029DB34 D2 C1 03 20 */ stfs f22, 0x320(r1) -/* 802A0BD8 0029DB38 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 802A0BDC 0029DB3C 90 61 03 24 */ stw r3, 0x324(r1) -/* 802A0BE0 0029DB40 41 80 01 A0 */ blt lbl_802A0D80 -/* 802A0BE4 0029DB44 C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) -/* 802A0BE8 0029DB48 C2 FC 00 04 */ lfs f23, 4(r28) -/* 802A0BEC 0029DB4C EF 40 A8 24 */ fdivs f26, f0, f21 -/* 802A0BF0 0029DB50 C2 DC 00 00 */ lfs f22, 0(r28) -/* 802A0BF4 0029DB54 C3 3C 00 08 */ lfs f25, 8(r28) -/* 802A0BF8 0029DB58 C3 02 C1 24 */ lfs f24, lbl_805ADE44@sda21(r2) -/* 802A0BFC 0029DB5C EE F7 10 28 */ fsubs f23, f23, f2 -/* 802A0C00 0029DB60 EE D6 18 28 */ fsubs f22, f22, f3 -/* 802A0C04 0029DB64 EE B9 08 28 */ fsubs f21, f25, f1 -/* 802A0C08 0029DB68 EC 37 02 F2 */ fmuls f1, f23, f11 -/* 802A0C0C 0029DB6C EC 36 0A BA */ fmadds f1, f22, f10, f1 -/* 802A0C10 0029DB70 EC 35 0B 3A */ fmadds f1, f21, f12, f1 -/* 802A0C14 0029DB74 ED 5A 00 72 */ fmuls f10, f26, f1 -/* 802A0C18 0029DB78 FC 0A C0 40 */ fcmpo cr0, f10, f24 -/* 802A0C1C 0029DB7C 41 80 01 64 */ blt lbl_802A0D80 -/* 802A0C20 0029DB80 FC 0A 00 40 */ fcmpo cr0, f10, f0 -/* 802A0C24 0029DB84 41 81 01 5C */ bgt lbl_802A0D80 -/* 802A0C28 0029DB88 EC 44 05 B2 */ fmuls f2, f4, f22 -/* 802A0C2C 0029DB8C EC 25 05 72 */ fmuls f1, f5, f21 -/* 802A0C30 0029DB90 EC 66 05 F2 */ fmuls f3, f6, f23 -/* 802A0C34 0029DB94 EC D5 11 B8 */ fmsubs f6, f21, f6, f2 -/* 802A0C38 0029DB98 EC 57 09 38 */ fmsubs f2, f23, f4, f1 -/* 802A0C3C 0029DB9C EC 76 19 78 */ fmsubs f3, f22, f5, f3 -/* 802A0C40 0029DBA0 EC 26 02 32 */ fmuls f1, f6, f8 -/* 802A0C44 0029DBA4 EC 22 0A 7A */ fmadds f1, f2, f9, f1 -/* 802A0C48 0029DBA8 EC 23 09 FA */ fmadds f1, f3, f7, f1 -/* 802A0C4C 0029DBAC EF 3A 00 72 */ fmuls f25, f26, f1 -/* 802A0C50 0029DBB0 FC 19 F0 40 */ fcmpo cr0, f25, f30 -/* 802A0C54 0029DBB4 4C 41 13 82 */ cror 2, 1, 2 -/* 802A0C58 0029DBB8 41 82 01 28 */ beq lbl_802A0D80 -/* 802A0C5C 0029DBBC FC 19 F8 40 */ fcmpo cr0, f25, f31 -/* 802A0C60 0029DBC0 41 80 01 20 */ blt lbl_802A0D80 -/* 802A0C64 0029DBC4 EC 26 07 32 */ fmuls f1, f6, f28 -/* 802A0C68 0029DBC8 EC 22 0B 7A */ fmadds f1, f2, f13, f1 -/* 802A0C6C 0029DBCC EC 23 0E FA */ fmadds f1, f3, f27, f1 -/* 802A0C70 0029DBD0 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 802A0C74 0029DBD4 FC 01 C0 40 */ fcmpo cr0, f1, f24 -/* 802A0C78 0029DBD8 41 80 01 08 */ blt lbl_802A0D80 -/* 802A0C7C 0029DBDC EC 2A 08 2A */ fadds f1, f10, f1 -/* 802A0C80 0029DBE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A0C84 0029DBE4 41 81 00 FC */ bgt lbl_802A0D80 -/* 802A0C88 0029DBE8 38 00 00 00 */ li r0, 0 -/* 802A0C8C 0029DBEC 90 61 00 24 */ stw r3, 0x24(r1) -/* 802A0C90 0029DBF0 7F A3 EB 78 */ mr r3, r29 -/* 802A0C94 0029DBF4 38 81 00 20 */ addi r4, r1, 0x20 -/* 802A0C98 0029DBF8 90 01 00 20 */ stw r0, 0x20(r1) -/* 802A0C9C 0029DBFC 48 03 46 B1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A0CA0 0029DC00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A0CA4 0029DC04 41 82 00 DC */ beq lbl_802A0D80 -/* 802A0CA8 0029DC08 FC 19 F0 40 */ fcmpo cr0, f25, f30 -/* 802A0CAC 0029DC0C 4C 40 13 82 */ cror 2, 0, 2 -/* 802A0CB0 0029DC10 40 82 00 D0 */ bne lbl_802A0D80 -/* 802A0CB4 0029DC14 88 01 03 60 */ lbz r0, 0x360(r1) -/* 802A0CB8 0029DC18 FF C0 C8 90 */ fmr f30, f25 -/* 802A0CBC 0029DC1C 3A 40 00 01 */ li r18, 1 -/* 802A0CC0 0029DC20 28 00 00 00 */ cmplwi r0, 0 -/* 802A0CC4 0029DC24 40 82 00 68 */ bne lbl_802A0D2C -/* 802A0CC8 0029DC28 28 14 00 00 */ cmplwi r20, 0 -/* 802A0CCC 0029DC2C 41 82 00 54 */ beq lbl_802A0D20 -/* 802A0CD0 0029DC30 C1 01 03 00 */ lfs f8, 0x300(r1) -/* 802A0CD4 0029DC34 C0 E1 03 04 */ lfs f7, 0x304(r1) -/* 802A0CD8 0029DC38 C0 C1 03 08 */ lfs f6, 0x308(r1) -/* 802A0CDC 0029DC3C C0 A1 03 0C */ lfs f5, 0x30c(r1) -/* 802A0CE0 0029DC40 C0 81 03 10 */ lfs f4, 0x310(r1) -/* 802A0CE4 0029DC44 C0 61 03 14 */ lfs f3, 0x314(r1) -/* 802A0CE8 0029DC48 C0 41 03 18 */ lfs f2, 0x318(r1) -/* 802A0CEC 0029DC4C C0 21 03 1C */ lfs f1, 0x31c(r1) -/* 802A0CF0 0029DC50 C0 01 03 20 */ lfs f0, 0x320(r1) -/* 802A0CF4 0029DC54 80 01 03 24 */ lwz r0, 0x324(r1) -/* 802A0CF8 0029DC58 D1 01 03 38 */ stfs f8, 0x338(r1) -/* 802A0CFC 0029DC5C D0 E1 03 3C */ stfs f7, 0x33c(r1) -/* 802A0D00 0029DC60 D0 C1 03 40 */ stfs f6, 0x340(r1) -/* 802A0D04 0029DC64 D0 A1 03 44 */ stfs f5, 0x344(r1) -/* 802A0D08 0029DC68 D0 81 03 48 */ stfs f4, 0x348(r1) -/* 802A0D0C 0029DC6C D0 61 03 4C */ stfs f3, 0x34c(r1) -/* 802A0D10 0029DC70 D0 41 03 50 */ stfs f2, 0x350(r1) -/* 802A0D14 0029DC74 D0 21 03 54 */ stfs f1, 0x354(r1) -/* 802A0D18 0029DC78 D0 01 03 58 */ stfs f0, 0x358(r1) -/* 802A0D1C 0029DC7C 90 01 03 5C */ stw r0, 0x35c(r1) -lbl_802A0D20: -/* 802A0D20 0029DC80 38 00 00 01 */ li r0, 1 -/* 802A0D24 0029DC84 98 01 03 60 */ stb r0, 0x360(r1) -/* 802A0D28 0029DC88 48 00 00 54 */ b lbl_802A0D7C -lbl_802A0D2C: -/* 802A0D2C 0029DC8C 81 61 03 00 */ lwz r11, 0x300(r1) -/* 802A0D30 0029DC90 81 41 03 04 */ lwz r10, 0x304(r1) -/* 802A0D34 0029DC94 81 21 03 08 */ lwz r9, 0x308(r1) -/* 802A0D38 0029DC98 81 01 03 0C */ lwz r8, 0x30c(r1) -/* 802A0D3C 0029DC9C 80 E1 03 10 */ lwz r7, 0x310(r1) -/* 802A0D40 0029DCA0 80 C1 03 14 */ lwz r6, 0x314(r1) -/* 802A0D44 0029DCA4 80 A1 03 18 */ lwz r5, 0x318(r1) -/* 802A0D48 0029DCA8 80 81 03 1C */ lwz r4, 0x31c(r1) -/* 802A0D4C 0029DCAC 80 61 03 20 */ lwz r3, 0x320(r1) -/* 802A0D50 0029DCB0 80 01 03 24 */ lwz r0, 0x324(r1) -/* 802A0D54 0029DCB4 91 61 03 38 */ stw r11, 0x338(r1) -/* 802A0D58 0029DCB8 91 41 03 3C */ stw r10, 0x33c(r1) -/* 802A0D5C 0029DCBC 91 21 03 40 */ stw r9, 0x340(r1) -/* 802A0D60 0029DCC0 91 01 03 44 */ stw r8, 0x344(r1) -/* 802A0D64 0029DCC4 90 E1 03 48 */ stw r7, 0x348(r1) -/* 802A0D68 0029DCC8 90 C1 03 4C */ stw r6, 0x34c(r1) -/* 802A0D6C 0029DCCC 90 A1 03 50 */ stw r5, 0x350(r1) -/* 802A0D70 0029DCD0 90 81 03 54 */ stw r4, 0x354(r1) -/* 802A0D74 0029DCD4 90 61 03 58 */ stw r3, 0x358(r1) -/* 802A0D78 0029DCD8 90 01 03 5C */ stw r0, 0x35c(r1) -lbl_802A0D7C: -/* 802A0D7C 0029DCDC D3 21 03 64 */ stfs f25, 0x364(r1) -lbl_802A0D80: -/* 802A0D80 0029DCE0 3A 73 00 02 */ addi r19, r19, 2 -/* 802A0D84 0029DCE4 3A D6 00 01 */ addi r22, r22, 1 -lbl_802A0D88: -/* 802A0D88 0029DCE8 7C 16 A8 00 */ cmpw r22, r21 -/* 802A0D8C 0029DCEC 41 80 FD A0 */ blt lbl_802A0B2C -/* 802A0D90 0029DCF0 56 40 06 3F */ clrlwi. r0, r18, 0x18 -/* 802A0D94 0029DCF4 41 82 00 3C */ beq lbl_802A0DD0 -/* 802A0D98 0029DCF8 7F C3 F3 78 */ mr r3, r30 -/* 802A0D9C 0029DCFC 38 81 03 28 */ addi r4, r1, 0x328 -/* 802A0DA0 0029DD00 48 00 08 39 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A0DA4 0029DD04 38 61 00 34 */ addi r3, r1, 0x34 -/* 802A0DA8 0029DD08 38 9E 00 10 */ addi r4, r30, 0x10 -/* 802A0DAC 0029DD0C 48 00 18 89 */ bl GetPlane__17CCollisionSurfaceCFv -/* 802A0DB0 0029DD10 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802A0DB4 0029DD14 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802A0DB8 0029DD18 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802A0DBC 0029DD1C D0 1E 00 04 */ stfs f0, 4(r30) -/* 802A0DC0 0029DD20 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802A0DC4 0029DD24 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802A0DC8 0029DD28 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802A0DCC 0029DD2C D0 1E 00 0C */ stfs f0, 0xc(r30) -lbl_802A0DD0: -/* 802A0DD0 0029DD30 28 14 00 00 */ cmplwi r20, 0 -/* 802A0DD4 0029DD34 41 82 07 98 */ beq lbl_802A156C -/* 802A0DD8 0029DD38 38 00 00 00 */ li r0, 0 -/* 802A0DDC 0029DD3C 98 01 03 60 */ stb r0, 0x360(r1) -/* 802A0DE0 0029DD40 48 00 07 8C */ b lbl_802A156C -lbl_802A0DE4: -/* 802A0DE4 0029DD44 2C 00 00 01 */ cmpwi r0, 1 -/* 802A0DE8 0029DD48 40 82 07 84 */ bne lbl_802A156C -/* 802A0DEC 0029DD4C 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 802A0DF0 0029DD50 A0 03 00 00 */ lhz r0, 0(r3) -/* 802A0DF4 0029DD54 28 00 00 0A */ cmplwi r0, 0xa -/* 802A0DF8 0029DD58 40 82 02 C8 */ bne lbl_802A10C0 -/* 802A0DFC 0029DD5C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A0E00 0029DD60 38 00 00 00 */ li r0, 0 -/* 802A0E04 0029DD64 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A0E08 0029DD68 7F 64 DB 78 */ mr r4, r27 -/* 802A0E0C 0029DD6C D0 01 02 C4 */ stfs f0, 0x2c4(r1) -/* 802A0E10 0029DD70 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 802A0E14 0029DD74 38 A0 00 00 */ li r5, 0 -/* 802A0E18 0029DD78 D0 21 02 C0 */ stfs f1, 0x2c0(r1) -/* 802A0E1C 0029DD7C D0 01 02 C8 */ stfs f0, 0x2c8(r1) -/* 802A0E20 0029DD80 D0 01 02 CC */ stfs f0, 0x2cc(r1) -/* 802A0E24 0029DD84 98 01 02 F8 */ stb r0, 0x2f8(r1) -/* 802A0E28 0029DD88 D0 01 02 FC */ stfs f0, 0x2fc(r1) -/* 802A0E2C 0029DD8C D0 21 02 80 */ stfs f1, 0x280(r1) -/* 802A0E30 0029DD90 D0 01 02 84 */ stfs f0, 0x284(r1) -/* 802A0E34 0029DD94 D0 01 02 88 */ stfs f0, 0x288(r1) -/* 802A0E38 0029DD98 D0 01 02 8C */ stfs f0, 0x28c(r1) -/* 802A0E3C 0029DD9C 98 01 02 B8 */ stb r0, 0x2b8(r1) -/* 802A0E40 0029DDA0 D0 01 02 BC */ stfs f0, 0x2bc(r1) -/* 802A0E44 0029DDA4 48 00 1F 1D */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A0E48 0029DDA8 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) -/* 802A0E4C 0029DDAC 7F 84 E3 78 */ mr r4, r28 -/* 802A0E50 0029DDB0 C0 81 01 CC */ lfs f4, 0x1cc(r1) -/* 802A0E54 0029DDB4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802A0E58 0029DDB8 C0 61 01 D0 */ lfs f3, 0x1d0(r1) -/* 802A0E5C 0029DDBC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 802A0E60 0029DDC0 C0 41 01 D4 */ lfs f2, 0x1d4(r1) -/* 802A0E64 0029DDC4 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802A0E68 0029DDC8 C0 21 01 D8 */ lfs f1, 0x1d8(r1) -/* 802A0E6C 0029DDCC C0 01 01 DC */ lfs f0, 0x1dc(r1) -/* 802A0E70 0029DDD0 81 01 01 E0 */ lwz r8, 0x1e0(r1) -/* 802A0E74 0029DDD4 80 E1 01 E4 */ lwz r7, 0x1e4(r1) -/* 802A0E78 0029DDD8 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 802A0E7C 0029DDDC D0 A1 02 5C */ stfs f5, 0x25c(r1) -/* 802A0E80 0029DDE0 D0 81 02 60 */ stfs f4, 0x260(r1) -/* 802A0E84 0029DDE4 D0 61 02 64 */ stfs f3, 0x264(r1) -/* 802A0E88 0029DDE8 D0 41 02 68 */ stfs f2, 0x268(r1) -/* 802A0E8C 0029DDEC D0 21 02 6C */ stfs f1, 0x26c(r1) -/* 802A0E90 0029DDF0 D0 01 02 70 */ stfs f0, 0x270(r1) -/* 802A0E94 0029DDF4 91 01 02 74 */ stw r8, 0x274(r1) -/* 802A0E98 0029DDF8 90 E1 02 78 */ stw r7, 0x278(r1) -/* 802A0E9C 0029DDFC 90 01 02 7C */ stw r0, 0x27c(r1) -/* 802A0EA0 0029DE00 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 802A0EA4 0029DE04 D0 81 00 AC */ stfs f4, 0xac(r1) -/* 802A0EA8 0029DE08 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 802A0EAC 0029DE0C D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 802A0EB0 0029DE10 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 802A0EB4 0029DE14 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 802A0EB8 0029DE18 D3 81 00 18 */ stfs f28, 0x18(r1) -/* 802A0EBC 0029DE1C D3 41 00 14 */ stfs f26, 0x14(r1) -/* 802A0EC0 0029DE20 48 00 15 B5 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A0EC4 0029DE24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A0EC8 0029DE28 41 82 00 28 */ beq lbl_802A0EF0 -/* 802A0ECC 0029DE2C FC 60 C8 90 */ fmr f3, f25 -/* 802A0ED0 0029DE30 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802A0ED4 0029DE34 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802A0ED8 0029DE38 7F 84 E3 78 */ mr r4, r28 -/* 802A0EDC 0029DE3C 7F A5 EB 78 */ mr r5, r29 -/* 802A0EE0 0029DE40 7F E7 FB 78 */ mr r7, r31 -/* 802A0EE4 0029DE44 38 61 02 5C */ addi r3, r1, 0x25c -/* 802A0EE8 0029DE48 38 C1 02 C0 */ addi r6, r1, 0x2c0 -/* 802A0EEC 0029DE4C 4B FF FB 21 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f -lbl_802A0EF0: -/* 802A0EF0 0029DE50 7F 64 DB 78 */ mr r4, r27 -/* 802A0EF4 0029DE54 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 802A0EF8 0029DE58 38 A0 00 01 */ li r5, 1 -/* 802A0EFC 0029DE5C 48 00 1E 65 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A0F00 0029DE60 C0 A1 01 A4 */ lfs f5, 0x1a4(r1) -/* 802A0F04 0029DE64 7F 84 E3 78 */ mr r4, r28 -/* 802A0F08 0029DE68 C0 81 01 A8 */ lfs f4, 0x1a8(r1) -/* 802A0F0C 0029DE6C 38 61 00 90 */ addi r3, r1, 0x90 -/* 802A0F10 0029DE70 C0 61 01 AC */ lfs f3, 0x1ac(r1) -/* 802A0F14 0029DE74 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802A0F18 0029DE78 C0 41 01 B0 */ lfs f2, 0x1b0(r1) -/* 802A0F1C 0029DE7C 38 C1 00 0C */ addi r6, r1, 0xc -/* 802A0F20 0029DE80 C0 21 01 B4 */ lfs f1, 0x1b4(r1) -/* 802A0F24 0029DE84 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 802A0F28 0029DE88 81 01 01 BC */ lwz r8, 0x1bc(r1) -/* 802A0F2C 0029DE8C 80 E1 01 C0 */ lwz r7, 0x1c0(r1) -/* 802A0F30 0029DE90 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 802A0F34 0029DE94 D0 A1 02 38 */ stfs f5, 0x238(r1) -/* 802A0F38 0029DE98 D0 81 02 3C */ stfs f4, 0x23c(r1) -/* 802A0F3C 0029DE9C D0 61 02 40 */ stfs f3, 0x240(r1) -/* 802A0F40 0029DEA0 D0 41 02 44 */ stfs f2, 0x244(r1) -/* 802A0F44 0029DEA4 D0 21 02 48 */ stfs f1, 0x248(r1) -/* 802A0F48 0029DEA8 D0 01 02 4C */ stfs f0, 0x24c(r1) -/* 802A0F4C 0029DEAC 91 01 02 50 */ stw r8, 0x250(r1) -/* 802A0F50 0029DEB0 90 E1 02 54 */ stw r7, 0x254(r1) -/* 802A0F54 0029DEB4 90 01 02 58 */ stw r0, 0x258(r1) -/* 802A0F58 0029DEB8 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 802A0F5C 0029DEBC D0 81 00 94 */ stfs f4, 0x94(r1) -/* 802A0F60 0029DEC0 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 802A0F64 0029DEC4 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 802A0F68 0029DEC8 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 802A0F6C 0029DECC D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 802A0F70 0029DED0 D3 81 00 10 */ stfs f28, 0x10(r1) -/* 802A0F74 0029DED4 D3 41 00 0C */ stfs f26, 0xc(r1) -/* 802A0F78 0029DED8 48 00 14 FD */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A0F7C 0029DEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A0F80 0029DEE0 41 82 00 28 */ beq lbl_802A0FA8 -/* 802A0F84 0029DEE4 FC 60 C8 90 */ fmr f3, f25 -/* 802A0F88 0029DEE8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802A0F8C 0029DEEC C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802A0F90 0029DEF0 7F 84 E3 78 */ mr r4, r28 -/* 802A0F94 0029DEF4 7F A5 EB 78 */ mr r5, r29 -/* 802A0F98 0029DEF8 7F E7 FB 78 */ mr r7, r31 -/* 802A0F9C 0029DEFC 38 61 02 38 */ addi r3, r1, 0x238 -/* 802A0FA0 0029DF00 38 C1 02 80 */ addi r6, r1, 0x280 -/* 802A0FA4 0029DF04 4B FF FA 69 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f -lbl_802A0FA8: -/* 802A0FA8 0029DF08 88 61 02 F8 */ lbz r3, 0x2f8(r1) -/* 802A0FAC 0029DF0C 28 03 00 00 */ cmplwi r3, 0 -/* 802A0FB0 0029DF10 40 82 00 54 */ bne lbl_802A1004 -/* 802A0FB4 0029DF14 88 01 02 B8 */ lbz r0, 0x2b8(r1) -/* 802A0FB8 0029DF18 28 00 00 00 */ cmplwi r0, 0 -/* 802A0FBC 0029DF1C 40 82 00 48 */ bne lbl_802A1004 -/* 802A0FC0 0029DF20 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A0FC4 0029DF24 38 00 00 00 */ li r0, 0 -/* 802A0FC8 0029DF28 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A0FCC 0029DF2C 7F C3 F3 78 */ mr r3, r30 -/* 802A0FD0 0029DF30 D0 01 01 68 */ stfs f0, 0x168(r1) -/* 802A0FD4 0029DF34 38 81 01 64 */ addi r4, r1, 0x164 -/* 802A0FD8 0029DF38 D0 21 01 64 */ stfs f1, 0x164(r1) -/* 802A0FDC 0029DF3C D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 802A0FE0 0029DF40 D0 01 01 70 */ stfs f0, 0x170(r1) -/* 802A0FE4 0029DF44 98 01 01 9C */ stb r0, 0x19c(r1) -/* 802A0FE8 0029DF48 D0 01 01 A0 */ stfs f0, 0x1a0(r1) -/* 802A0FEC 0029DF4C 48 00 05 ED */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A0FF0 0029DF50 38 00 00 00 */ li r0, 0 -/* 802A0FF4 0029DF54 98 01 01 9C */ stb r0, 0x19c(r1) -/* 802A0FF8 0029DF58 98 01 02 B8 */ stb r0, 0x2b8(r1) -/* 802A0FFC 0029DF5C 98 01 02 F8 */ stb r0, 0x2f8(r1) -/* 802A1000 0029DF60 48 00 05 6C */ b lbl_802A156C -lbl_802A1004: -/* 802A1004 0029DF64 28 03 00 00 */ cmplwi r3, 0 -/* 802A1008 0029DF68 41 82 00 40 */ beq lbl_802A1048 -/* 802A100C 0029DF6C 88 01 02 B8 */ lbz r0, 0x2b8(r1) -/* 802A1010 0029DF70 28 00 00 00 */ cmplwi r0, 0 -/* 802A1014 0029DF74 41 82 00 34 */ beq lbl_802A1048 -/* 802A1018 0029DF78 C0 21 02 FC */ lfs f1, 0x2fc(r1) -/* 802A101C 0029DF7C C0 01 02 BC */ lfs f0, 0x2bc(r1) -/* 802A1020 0029DF80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A1024 0029DF84 40 80 00 14 */ bge lbl_802A1038 -/* 802A1028 0029DF88 7F C3 F3 78 */ mr r3, r30 -/* 802A102C 0029DF8C 38 81 02 C0 */ addi r4, r1, 0x2c0 -/* 802A1030 0029DF90 48 00 05 A9 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A1034 0029DF94 48 00 00 38 */ b lbl_802A106C -lbl_802A1038: -/* 802A1038 0029DF98 7F C3 F3 78 */ mr r3, r30 -/* 802A103C 0029DF9C 38 81 02 80 */ addi r4, r1, 0x280 -/* 802A1040 0029DFA0 48 00 05 99 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A1044 0029DFA4 48 00 00 28 */ b lbl_802A106C -lbl_802A1048: -/* 802A1048 0029DFA8 28 03 00 00 */ cmplwi r3, 0 -/* 802A104C 0029DFAC 41 82 00 14 */ beq lbl_802A1060 -/* 802A1050 0029DFB0 7F C3 F3 78 */ mr r3, r30 -/* 802A1054 0029DFB4 38 81 02 C0 */ addi r4, r1, 0x2c0 -/* 802A1058 0029DFB8 48 00 05 81 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A105C 0029DFBC 48 00 00 10 */ b lbl_802A106C -lbl_802A1060: -/* 802A1060 0029DFC0 7F C3 F3 78 */ mr r3, r30 -/* 802A1064 0029DFC4 38 81 02 80 */ addi r4, r1, 0x280 -/* 802A1068 0029DFC8 48 00 05 71 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -lbl_802A106C: -/* 802A106C 0029DFCC C0 1E 00 3C */ lfs f0, 0x3c(r30) -/* 802A1070 0029DFD0 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 802A1074 0029DFD4 40 81 00 3C */ ble lbl_802A10B0 -/* 802A1078 0029DFD8 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A107C 0029DFDC 38 00 00 00 */ li r0, 0 -/* 802A1080 0029DFE0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A1084 0029DFE4 7F C3 F3 78 */ mr r3, r30 -/* 802A1088 0029DFE8 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 802A108C 0029DFEC 38 81 01 24 */ addi r4, r1, 0x124 -/* 802A1090 0029DFF0 D0 21 01 24 */ stfs f1, 0x124(r1) -/* 802A1094 0029DFF4 D0 01 01 2C */ stfs f0, 0x12c(r1) -/* 802A1098 0029DFF8 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 802A109C 0029DFFC 98 01 01 5C */ stb r0, 0x15c(r1) -/* 802A10A0 0029E000 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 802A10A4 0029E004 48 00 05 35 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A10A8 0029E008 38 00 00 00 */ li r0, 0 -/* 802A10AC 0029E00C 98 01 01 5C */ stb r0, 0x15c(r1) -lbl_802A10B0: -/* 802A10B0 0029E010 38 00 00 00 */ li r0, 0 -/* 802A10B4 0029E014 98 01 02 B8 */ stb r0, 0x2b8(r1) -/* 802A10B8 0029E018 98 01 02 F8 */ stb r0, 0x2f8(r1) -/* 802A10BC 0029E01C 48 00 04 B0 */ b lbl_802A156C -lbl_802A10C0: -/* 802A10C0 0029E020 3C 60 80 3D */ lis r3, lbl_803D6008@ha -/* 802A10C4 0029E024 7F 64 DB 78 */ mr r4, r27 -/* 802A10C8 0029E028 39 03 60 08 */ addi r8, r3, lbl_803D6008@l -/* 802A10CC 0029E02C 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A10D0 0029E030 80 E8 00 00 */ lwz r7, 0(r8) -/* 802A10D4 0029E034 3A 20 00 00 */ li r17, 0 -/* 802A10D8 0029E038 80 C8 00 04 */ lwz r6, 4(r8) -/* 802A10DC 0029E03C 80 A8 00 08 */ lwz r5, 8(r8) -/* 802A10E0 0029E040 80 08 00 0C */ lwz r0, 0xc(r8) -/* 802A10E4 0029E044 90 E1 00 74 */ stw r7, 0x74(r1) -/* 802A10E8 0029E048 90 C1 00 78 */ stw r6, 0x78(r1) -/* 802A10EC 0029E04C 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 802A10F0 0029E050 90 01 00 80 */ stw r0, 0x80(r1) -/* 802A10F4 0029E054 48 09 65 19 */ bl GetCenterPoint__6CAABoxCFv -/* 802A10F8 0029E058 C0 3C 00 10 */ lfs f1, 0x10(r28) -/* 802A10FC 0029E05C 3A 41 00 68 */ addi r18, r1, 0x68 -/* 802A1100 0029E060 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 802A1104 0029E064 7E 5A 93 78 */ mr r26, r18 -/* 802A1108 0029E068 C0 5C 00 0C */ lfs f2, 0xc(r28) -/* 802A110C 0029E06C EC BC 00 72 */ fmuls f5, f28, f1 -/* 802A1110 0029E070 C0 DC 00 04 */ lfs f6, 4(r28) -/* 802A1114 0029E074 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 802A1118 0029E078 EC 7C 00 32 */ fmuls f3, f28, f0 -/* 802A111C 0029E07C C0 9C 00 08 */ lfs f4, 8(r28) -/* 802A1120 0029E080 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 802A1124 0029E084 ED 26 28 2A */ fadds f9, f6, f5 -/* 802A1128 0029E088 C0 E1 00 28 */ lfs f7, 0x28(r1) -/* 802A112C 0029E08C ED 04 18 2A */ fadds f8, f4, f3 -/* 802A1130 0029E090 ED 46 08 2A */ fadds f10, f6, f1 -/* 802A1134 0029E094 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802A1138 0029E098 EC C4 00 2A */ fadds f6, f4, f0 -/* 802A113C 0029E09C C0 81 00 30 */ lfs f4, 0x30(r1) -/* 802A1140 0029E0A0 EC 3C 00 B2 */ fmuls f1, f28, f2 -/* 802A1144 0029E0A4 C0 7C 00 00 */ lfs f3, 0(r28) -/* 802A1148 0029E0A8 EC 1A 00 B2 */ fmuls f0, f26, f2 -/* 802A114C 0029E0AC D0 E1 00 68 */ stfs f7, 0x68(r1) -/* 802A1150 0029E0B0 EC 23 08 2A */ fadds f1, f3, f1 -/* 802A1154 0029E0B4 7F 96 E3 78 */ mr r22, r28 -/* 802A1158 0029E0B8 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 802A115C 0029E0BC 7F F5 FB 78 */ mr r21, r31 -/* 802A1160 0029E0C0 EC 03 00 2A */ fadds f0, f3, f0 -/* 802A1164 0029E0C4 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 802A1168 0029E0C8 3B 21 00 5C */ addi r25, r1, 0x5c -/* 802A116C 0029E0CC 3B 01 00 50 */ addi r24, r1, 0x50 -/* 802A1170 0029E0D0 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 802A1174 0029E0D4 3A 81 00 84 */ addi r20, r1, 0x84 -/* 802A1178 0029E0D8 D1 21 00 60 */ stfs f9, 0x60(r1) -/* 802A117C 0029E0DC 3A 61 00 74 */ addi r19, r1, 0x74 -/* 802A1180 0029E0E0 3A 00 00 00 */ li r16, 0 -/* 802A1184 0029E0E4 3A E0 00 00 */ li r23, 0 -/* 802A1188 0029E0E8 D1 01 00 64 */ stfs f8, 0x64(r1) -/* 802A118C 0029E0EC D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802A1190 0029E0F0 D1 41 00 54 */ stfs f10, 0x54(r1) -/* 802A1194 0029E0F4 D0 C1 00 58 */ stfs f6, 0x58(r1) -lbl_802A1198: -/* 802A1198 0029E0F8 C0 59 00 00 */ lfs f2, 0(r25) -/* 802A119C 0029E0FC C0 3A 00 00 */ lfs f1, 0(r26) -/* 802A11A0 0029E100 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802A11A4 0029E104 40 80 00 10 */ bge lbl_802A11B4 -/* 802A11A8 0029E108 C0 18 00 00 */ lfs f0, 0(r24) -/* 802A11AC 0029E10C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802A11B0 0029E110 41 81 00 18 */ bgt lbl_802A11C8 -lbl_802A11B4: -/* 802A11B4 0029E114 C0 18 00 00 */ lfs f0, 0(r24) -/* 802A11B8 0029E118 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802A11BC 0029E11C 40 80 00 4C */ bge lbl_802A1208 -/* 802A11C0 0029E120 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802A11C4 0029E124 40 81 00 44 */ ble lbl_802A1208 -lbl_802A11C8: -/* 802A11C8 0029E128 7C 7C BA 14 */ add r3, r28, r23 -/* 802A11CC 0029E12C C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) -/* 802A11D0 0029E130 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 802A11D4 0029E134 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) -/* 802A11D8 0029E138 48 00 14 41 */ bl _close_enough__Ffff -/* 802A11DC 0029E13C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A11E0 0029E140 40 82 00 28 */ bne lbl_802A1208 -/* 802A11E4 0029E144 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802A11E8 0029E148 3A 31 00 01 */ addi r17, r17, 1 -/* 802A11EC 0029E14C C0 16 00 00 */ lfs f0, 0(r22) -/* 802A11F0 0029E150 92 13 00 00 */ stw r16, 0(r19) -/* 802A11F4 0029E154 3A 73 00 04 */ addi r19, r19, 4 -/* 802A11F8 0029E158 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A11FC 0029E15C C0 35 00 00 */ lfs f1, 0(r21) -/* 802A1200 0029E160 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802A1204 0029E164 D0 14 00 00 */ stfs f0, 0(r20) -lbl_802A1208: -/* 802A1208 0029E168 3A 10 00 01 */ addi r16, r16, 1 -/* 802A120C 0029E16C 3B 39 00 04 */ addi r25, r25, 4 -/* 802A1210 0029E170 2C 10 00 03 */ cmpwi r16, 3 -/* 802A1214 0029E174 3B 18 00 04 */ addi r24, r24, 4 -/* 802A1218 0029E178 3A F7 00 04 */ addi r23, r23, 4 -/* 802A121C 0029E17C 3A D6 00 04 */ addi r22, r22, 4 -/* 802A1220 0029E180 3A B5 00 04 */ addi r21, r21, 4 -/* 802A1224 0029E184 3A 94 00 04 */ addi r20, r20, 4 -/* 802A1228 0029E188 3B 5A 00 04 */ addi r26, r26, 4 -/* 802A122C 0029E18C 41 80 FF 6C */ blt lbl_802A1198 -/* 802A1230 0029E190 2C 11 00 02 */ cmpwi r17, 2 -/* 802A1234 0029E194 41 82 00 20 */ beq lbl_802A1254 -/* 802A1238 0029E198 40 80 00 10 */ bge lbl_802A1248 -/* 802A123C 0029E19C 2C 11 00 00 */ cmpwi r17, 0 -/* 802A1240 0029E1A0 40 80 01 3C */ bge lbl_802A137C -/* 802A1244 0029E1A4 48 00 03 28 */ b lbl_802A156C -lbl_802A1248: -/* 802A1248 0029E1A8 2C 11 00 04 */ cmpwi r17, 4 -/* 802A124C 0029E1AC 40 80 03 20 */ bge lbl_802A156C -/* 802A1250 0029E1B0 48 00 00 34 */ b lbl_802A1284 -lbl_802A1254: -/* 802A1254 0029E1B4 80 C1 00 78 */ lwz r6, 0x78(r1) -/* 802A1258 0029E1B8 38 61 00 84 */ addi r3, r1, 0x84 -/* 802A125C 0029E1BC 80 A1 00 74 */ lwz r5, 0x74(r1) -/* 802A1260 0029E1C0 54 C4 10 3A */ slwi r4, r6, 2 -/* 802A1264 0029E1C4 54 A0 10 3A */ slwi r0, r5, 2 -/* 802A1268 0029E1C8 7C 23 24 2E */ lfsx f1, r3, r4 -/* 802A126C 0029E1CC 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802A1270 0029E1D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A1274 0029E1D4 40 80 01 08 */ bge lbl_802A137C -/* 802A1278 0029E1D8 90 C1 00 74 */ stw r6, 0x74(r1) -/* 802A127C 0029E1DC 90 A1 00 78 */ stw r5, 0x78(r1) -/* 802A1280 0029E1E0 48 00 00 FC */ b lbl_802A137C -lbl_802A1284: -/* 802A1284 0029E1E4 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 802A1288 0029E1E8 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 802A128C 0029E1EC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802A1290 0029E1F0 7C 00 00 26 */ mfcr r0 -/* 802A1294 0029E1F4 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 802A1298 0029E1F8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802A129C 0029E1FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A12A0 0029E200 7C 00 00 26 */ mfcr r0 -/* 802A12A4 0029E204 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802A12A8 0029E208 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802A12AC 0029E20C 40 80 00 68 */ bge lbl_802A1314 -/* 802A12B0 0029E210 28 03 00 00 */ cmplwi r3, 0 -/* 802A12B4 0029E214 40 82 00 20 */ bne lbl_802A12D4 -/* 802A12B8 0029E218 38 80 00 02 */ li r4, 2 -/* 802A12BC 0029E21C 38 60 00 00 */ li r3, 0 -/* 802A12C0 0029E220 38 00 00 01 */ li r0, 1 -/* 802A12C4 0029E224 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A12C8 0029E228 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A12CC 0029E22C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A12D0 0029E230 48 00 00 AC */ b lbl_802A137C -lbl_802A12D4: -/* 802A12D4 0029E234 28 00 00 00 */ cmplwi r0, 0 -/* 802A12D8 0029E238 41 82 00 20 */ beq lbl_802A12F8 -/* 802A12DC 0029E23C 38 80 00 00 */ li r4, 0 -/* 802A12E0 0029E240 38 60 00 01 */ li r3, 1 -/* 802A12E4 0029E244 38 00 00 02 */ li r0, 2 -/* 802A12E8 0029E248 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A12EC 0029E24C 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A12F0 0029E250 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A12F4 0029E254 48 00 00 88 */ b lbl_802A137C -lbl_802A12F8: -/* 802A12F8 0029E258 38 80 00 00 */ li r4, 0 -/* 802A12FC 0029E25C 38 60 00 02 */ li r3, 2 -/* 802A1300 0029E260 38 00 00 01 */ li r0, 1 -/* 802A1304 0029E264 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A1308 0029E268 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A130C 0029E26C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A1310 0029E270 48 00 00 6C */ b lbl_802A137C -lbl_802A1314: -/* 802A1314 0029E274 28 00 00 00 */ cmplwi r0, 0 -/* 802A1318 0029E278 40 82 00 20 */ bne lbl_802A1338 -/* 802A131C 0029E27C 38 80 00 02 */ li r4, 2 -/* 802A1320 0029E280 38 60 00 01 */ li r3, 1 -/* 802A1324 0029E284 38 00 00 00 */ li r0, 0 -/* 802A1328 0029E288 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A132C 0029E28C 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A1330 0029E290 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A1334 0029E294 48 00 00 48 */ b lbl_802A137C -lbl_802A1338: -/* 802A1338 0029E298 28 03 00 00 */ cmplwi r3, 0 -/* 802A133C 0029E29C 41 82 00 20 */ beq lbl_802A135C -/* 802A1340 0029E2A0 38 80 00 01 */ li r4, 1 -/* 802A1344 0029E2A4 38 60 00 00 */ li r3, 0 -/* 802A1348 0029E2A8 38 00 00 02 */ li r0, 2 -/* 802A134C 0029E2AC 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A1350 0029E2B0 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A1354 0029E2B4 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A1358 0029E2B8 48 00 00 24 */ b lbl_802A137C -lbl_802A135C: -/* 802A135C 0029E2BC 38 80 00 01 */ li r4, 1 -/* 802A1360 0029E2C0 38 60 00 02 */ li r3, 2 -/* 802A1364 0029E2C4 38 00 00 00 */ li r0, 0 -/* 802A1368 0029E2C8 90 81 00 74 */ stw r4, 0x74(r1) -/* 802A136C 0029E2CC 90 61 00 78 */ stw r3, 0x78(r1) -/* 802A1370 0029E2D0 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802A1374 0029E2D4 48 00 00 08 */ b lbl_802A137C -/* 802A1378 0029E2D8 48 00 01 F4 */ b lbl_802A156C -lbl_802A137C: -/* 802A137C 0029E2DC C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 802A1380 0029E2E0 3A 00 00 00 */ li r16, 0 -/* 802A1384 0029E2E4 C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 802A1388 0029E2E8 38 00 00 00 */ li r0, 0 -/* 802A138C 0029E2EC EC 1C 00 32 */ fmuls f0, f28, f0 -/* 802A1390 0029E2F0 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802A1394 0029E2F4 C0 7C 00 14 */ lfs f3, 0x14(r28) -/* 802A1398 0029E2F8 EC BC 00 B2 */ fmuls f5, f28, f2 -/* 802A139C 0029E2FC C0 DC 00 04 */ lfs f6, 4(r28) -/* 802A13A0 0029E300 38 60 00 01 */ li r3, 1 -/* 802A13A4 0029E304 EC 41 00 2A */ fadds f2, f1, f0 -/* 802A13A8 0029E308 C0 9C 00 08 */ lfs f4, 8(r28) -/* 802A13AC 0029E30C EC 7C 00 F2 */ fmuls f3, f28, f3 -/* 802A13B0 0029E310 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 802A13B4 0029E314 EC A6 28 2A */ fadds f5, f6, f5 -/* 802A13B8 0029E318 FC 20 10 18 */ frsp f1, f2 -/* 802A13BC 0029E31C EC 64 18 2A */ fadds f3, f4, f3 -/* 802A13C0 0029E320 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802A13C4 0029E324 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A13C8 0029E328 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802A13CC 0029E32C D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802A13D0 0029E330 4C 41 13 82 */ cror 2, 1, 2 -/* 802A13D4 0029E334 40 82 00 0C */ bne lbl_802A13E0 -/* 802A13D8 0029E338 7C 60 00 30 */ slw r0, r3, r0 -/* 802A13DC 0029E33C 7C 10 03 78 */ mr r16, r0 -lbl_802A13E0: -/* 802A13E0 0029E340 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802A13E4 0029E344 38 00 00 01 */ li r0, 1 -/* 802A13E8 0029E348 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 802A13EC 0029E34C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A13F0 0029E350 4C 41 13 82 */ cror 2, 1, 2 -/* 802A13F4 0029E354 40 82 00 0C */ bne lbl_802A1400 -/* 802A13F8 0029E358 7C 60 00 30 */ slw r0, r3, r0 -/* 802A13FC 0029E35C 7E 10 03 78 */ or r16, r16, r0 -lbl_802A1400: -/* 802A1400 0029E360 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 802A1404 0029E364 38 00 00 02 */ li r0, 2 -/* 802A1408 0029E368 C0 12 00 08 */ lfs f0, 8(r18) -/* 802A140C 0029E36C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A1410 0029E370 4C 41 13 82 */ cror 2, 1, 2 -/* 802A1414 0029E374 40 82 00 0C */ bne lbl_802A1420 -/* 802A1418 0029E378 7C 60 00 30 */ slw r0, r3, r0 -/* 802A141C 0029E37C 7E 10 03 78 */ or r16, r16, r0 -lbl_802A1420: -/* 802A1420 0029E380 FE A0 E0 90 */ fmr f21, f28 -/* 802A1424 0029E384 3A 61 00 70 */ addi r19, r1, 0x70 -/* 802A1428 0029E388 3A 91 FF FF */ addi r20, r17, -1 -/* 802A142C 0029E38C 3A 40 FF FF */ li r18, -1 -/* 802A1430 0029E390 48 00 01 34 */ b lbl_802A1564 -lbl_802A1434: -/* 802A1434 0029E394 2C 12 00 00 */ cmpwi r18, 0 -/* 802A1438 0029E398 41 80 00 14 */ blt lbl_802A144C -/* 802A143C 0029E39C 80 13 00 00 */ lwz r0, 0(r19) -/* 802A1440 0029E3A0 38 60 00 01 */ li r3, 1 -/* 802A1444 0029E3A4 7C 60 00 30 */ slw r0, r3, r0 -/* 802A1448 0029E3A8 7E 10 02 78 */ xor r16, r16, r0 -lbl_802A144C: -/* 802A144C 0029E3AC 7C 12 A0 00 */ cmpw r18, r20 -/* 802A1450 0029E3B0 40 80 00 18 */ bge lbl_802A1468 -/* 802A1454 0029E3B4 80 13 00 04 */ lwz r0, 4(r19) -/* 802A1458 0029E3B8 38 61 00 84 */ addi r3, r1, 0x84 -/* 802A145C 0029E3BC 54 00 10 3A */ slwi r0, r0, 2 -/* 802A1460 0029E3C0 7E C3 04 2E */ lfsx f22, r3, r0 -/* 802A1464 0029E3C4 48 00 00 08 */ b lbl_802A146C -lbl_802A1468: -/* 802A1468 0029E3C8 FE C0 D0 90 */ fmr f22, f26 -lbl_802A146C: -/* 802A146C 0029E3CC FC 16 F8 40 */ fcmpo cr0, f22, f31 -/* 802A1470 0029E3D0 40 81 00 E8 */ ble lbl_802A1558 -/* 802A1474 0029E3D4 FC 15 B0 40 */ fcmpo cr0, f21, f22 -/* 802A1478 0029E3D8 4C 40 13 82 */ cror 2, 0, 2 -/* 802A147C 0029E3DC 40 82 00 DC */ bne lbl_802A1558 -/* 802A1480 0029E3E0 7F 64 DB 78 */ mr r4, r27 -/* 802A1484 0029E3E4 7E 05 83 78 */ mr r5, r16 -/* 802A1488 0029E3E8 38 61 01 00 */ addi r3, r1, 0x100 -/* 802A148C 0029E3EC 48 00 18 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A1490 0029E3F0 80 01 01 20 */ lwz r0, 0x120(r1) -/* 802A1494 0029E3F4 C0 A1 01 00 */ lfs f5, 0x100(r1) -/* 802A1498 0029E3F8 C0 81 01 04 */ lfs f4, 0x104(r1) -/* 802A149C 0029E3FC 2C 00 00 00 */ cmpwi r0, 0 -/* 802A14A0 0029E400 C0 61 01 08 */ lfs f3, 0x108(r1) -/* 802A14A4 0029E404 C0 41 01 0C */ lfs f2, 0x10c(r1) -/* 802A14A8 0029E408 C0 21 01 10 */ lfs f1, 0x110(r1) -/* 802A14AC 0029E40C C0 01 01 14 */ lfs f0, 0x114(r1) -/* 802A14B0 0029E410 80 81 01 18 */ lwz r4, 0x118(r1) -/* 802A14B4 0029E414 80 61 01 1C */ lwz r3, 0x11c(r1) -/* 802A14B8 0029E418 D0 A1 02 14 */ stfs f5, 0x214(r1) -/* 802A14BC 0029E41C D0 81 02 18 */ stfs f4, 0x218(r1) -/* 802A14C0 0029E420 D0 61 02 1C */ stfs f3, 0x21c(r1) -/* 802A14C4 0029E424 D0 41 02 20 */ stfs f2, 0x220(r1) -/* 802A14C8 0029E428 D0 21 02 24 */ stfs f1, 0x224(r1) -/* 802A14CC 0029E42C D0 01 02 28 */ stfs f0, 0x228(r1) -/* 802A14D0 0029E430 90 81 02 2C */ stw r4, 0x22c(r1) -/* 802A14D4 0029E434 90 61 02 30 */ stw r3, 0x230(r1) -/* 802A14D8 0029E438 90 01 02 34 */ stw r0, 0x234(r1) -/* 802A14DC 0029E43C 41 82 00 28 */ beq lbl_802A1504 -/* 802A14E0 0029E440 FC 20 A8 90 */ fmr f1, f21 -/* 802A14E4 0029E444 7F 84 E3 78 */ mr r4, r28 -/* 802A14E8 0029E448 FC 40 B0 90 */ fmr f2, f22 -/* 802A14EC 0029E44C 7F A5 EB 78 */ mr r5, r29 -/* 802A14F0 0029E450 FC 60 C8 90 */ fmr f3, f25 -/* 802A14F4 0029E454 7F C6 F3 78 */ mr r6, r30 -/* 802A14F8 0029E458 7F E7 FB 78 */ mr r7, r31 -/* 802A14FC 0029E45C 38 61 02 14 */ addi r3, r1, 0x214 -/* 802A1500 0029E460 4B FF F5 0D */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f -lbl_802A1504: -/* 802A1504 0029E464 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 802A1508 0029E468 28 00 00 00 */ cmplwi r0, 0 -/* 802A150C 0029E46C 41 82 00 4C */ beq lbl_802A1558 -/* 802A1510 0029E470 C0 1E 00 3C */ lfs f0, 0x3c(r30) -/* 802A1514 0029E474 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 802A1518 0029E478 40 81 00 54 */ ble lbl_802A156C -/* 802A151C 0029E47C C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A1520 0029E480 38 00 00 00 */ li r0, 0 -/* 802A1524 0029E484 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A1528 0029E488 7F C3 F3 78 */ mr r3, r30 -/* 802A152C 0029E48C D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 802A1530 0029E490 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 802A1534 0029E494 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 802A1538 0029E498 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 802A153C 0029E49C D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 802A1540 0029E4A0 98 01 00 F8 */ stb r0, 0xf8(r1) -/* 802A1544 0029E4A4 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 802A1548 0029E4A8 48 00 00 91 */ bl __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -/* 802A154C 0029E4AC 38 00 00 00 */ li r0, 0 -/* 802A1550 0029E4B0 98 01 00 F8 */ stb r0, 0xf8(r1) -/* 802A1554 0029E4B4 48 00 00 18 */ b lbl_802A156C -lbl_802A1558: -/* 802A1558 0029E4B8 FE A0 B0 90 */ fmr f21, f22 -/* 802A155C 0029E4BC 3A 73 00 04 */ addi r19, r19, 4 -/* 802A1560 0029E4C0 3A 52 00 01 */ addi r18, r18, 1 -lbl_802A1564: -/* 802A1564 0029E4C4 7C 12 88 00 */ cmpw r18, r17 -/* 802A1568 0029E4C8 41 80 FE CC */ blt lbl_802A1434 -lbl_802A156C: -/* 802A156C 0029E4CC E3 E1 04 58 */ psq_l f31, 1112(r1), 0, qr0 -/* 802A1570 0029E4D0 CB E1 04 50 */ lfd f31, 0x450(r1) -/* 802A1574 0029E4D4 E3 C1 04 48 */ psq_l f30, 1096(r1), 0, qr0 -/* 802A1578 0029E4D8 CB C1 04 40 */ lfd f30, 0x440(r1) -/* 802A157C 0029E4DC E3 A1 04 38 */ psq_l f29, 1080(r1), 0, qr0 -/* 802A1580 0029E4E0 CB A1 04 30 */ lfd f29, 0x430(r1) -/* 802A1584 0029E4E4 E3 81 04 28 */ psq_l f28, 1064(r1), 0, qr0 -/* 802A1588 0029E4E8 CB 81 04 20 */ lfd f28, 0x420(r1) -/* 802A158C 0029E4EC E3 61 04 18 */ psq_l f27, 1048(r1), 0, qr0 -/* 802A1590 0029E4F0 CB 61 04 10 */ lfd f27, 0x410(r1) -/* 802A1594 0029E4F4 E3 41 04 08 */ psq_l f26, 1032(r1), 0, qr0 -/* 802A1598 0029E4F8 CB 41 04 00 */ lfd f26, 0x400(r1) -/* 802A159C 0029E4FC E3 21 03 F8 */ psq_l f25, 1016(r1), 0, qr0 -/* 802A15A0 0029E500 CB 21 03 F0 */ lfd f25, 0x3f0(r1) -/* 802A15A4 0029E504 E3 01 03 E8 */ psq_l f24, 1000(r1), 0, qr0 -/* 802A15A8 0029E508 CB 01 03 E0 */ lfd f24, 0x3e0(r1) -/* 802A15AC 0029E50C E2 E1 03 D8 */ psq_l f23, 984(r1), 0, qr0 -/* 802A15B0 0029E510 CA E1 03 D0 */ lfd f23, 0x3d0(r1) -/* 802A15B4 0029E514 E2 C1 03 C8 */ psq_l f22, 968(r1), 0, qr0 -/* 802A15B8 0029E518 CA C1 03 C0 */ lfd f22, 0x3c0(r1) -/* 802A15BC 0029E51C E2 A1 03 B8 */ psq_l f21, 952(r1), 0, qr0 -/* 802A15C0 0029E520 CA A1 03 B0 */ lfd f21, 0x3b0(r1) -/* 802A15C4 0029E524 BA 01 03 70 */ lmw r16, 0x370(r1) -/* 802A15C8 0029E528 80 01 04 64 */ lwz r0, 0x464(r1) -/* 802A15CC 0029E52C 7C 08 03 A6 */ mtlr r0 -/* 802A15D0 0029E530 38 21 04 60 */ addi r1, r1, 0x460 -/* 802A15D4 0029E534 4E 80 00 20 */ blr - -.global __as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult -__as__Q212CAreaOctTree10SRayResultFRCQ212CAreaOctTree10SRayResult: -/* 802A15D8 0029E538 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A15DC 0029E53C 7C 08 02 A6 */ mflr r0 -/* 802A15E0 0029E540 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A15E4 0029E544 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A15E8 0029E548 7C 9F 23 78 */ mr r31, r4 -/* 802A15EC 0029E54C 93 C1 00 08 */ stw r30, 8(r1) -/* 802A15F0 0029E550 7C 7E 1B 78 */ mr r30, r3 -/* 802A15F4 0029E554 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802A15F8 0029E558 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A15FC 0029E55C 38 9F 00 10 */ addi r4, r31, 0x10 -/* 802A1600 0029E560 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802A1604 0029E564 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802A1608 0029E568 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802A160C 0029E56C C0 1F 00 08 */ lfs f0, 8(r31) -/* 802A1610 0029E570 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802A1614 0029E574 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 802A1618 0029E578 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802A161C 0029E57C 48 00 00 29 */ bl "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" -/* 802A1620 0029E580 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 802A1624 0029E584 7F C3 F3 78 */ mr r3, r30 -/* 802A1628 0029E588 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 802A162C 0029E58C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A1630 0029E590 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A1634 0029E594 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A1638 0029E598 7C 08 03 A6 */ mtlr r0 -/* 802A163C 0029E59C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A1640 0029E5A0 4E 80 00 20 */ blr - -.global "__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>" -"__as__Q24rstl36optional_object<17CCollisionSurface>FRCQ24rstl36optional_object<17CCollisionSurface>": -/* 802A1644 0029E5A4 7C 03 20 40 */ cmplw r3, r4 -/* 802A1648 0029E5A8 4D 82 00 20 */ beqlr -/* 802A164C 0029E5AC 88 04 00 28 */ lbz r0, 0x28(r4) -/* 802A1650 0029E5B0 28 00 00 00 */ cmplwi r0, 0 -/* 802A1654 0029E5B4 41 82 00 C8 */ beq lbl_802A171C -/* 802A1658 0029E5B8 88 03 00 28 */ lbz r0, 0x28(r3) -/* 802A165C 0029E5BC 28 00 00 00 */ cmplwi r0, 0 -/* 802A1660 0029E5C0 40 82 00 68 */ bne lbl_802A16C8 -/* 802A1664 0029E5C4 28 03 00 00 */ cmplwi r3, 0 -/* 802A1668 0029E5C8 41 82 00 54 */ beq lbl_802A16BC -/* 802A166C 0029E5CC C0 04 00 00 */ lfs f0, 0(r4) -/* 802A1670 0029E5D0 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A1674 0029E5D4 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A1678 0029E5D8 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A167C 0029E5DC C0 04 00 08 */ lfs f0, 8(r4) -/* 802A1680 0029E5E0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802A1684 0029E5E4 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A1688 0029E5E8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802A168C 0029E5EC C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A1690 0029E5F0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802A1694 0029E5F4 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A1698 0029E5F8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A169C 0029E5FC C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802A16A0 0029E600 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802A16A4 0029E604 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802A16A8 0029E608 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802A16AC 0029E60C C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802A16B0 0029E610 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802A16B4 0029E614 80 04 00 24 */ lwz r0, 0x24(r4) -/* 802A16B8 0029E618 90 03 00 24 */ stw r0, 0x24(r3) -lbl_802A16BC: -/* 802A16BC 0029E61C 38 00 00 01 */ li r0, 1 -/* 802A16C0 0029E620 98 03 00 28 */ stb r0, 0x28(r3) -/* 802A16C4 0029E624 4E 80 00 20 */ blr -lbl_802A16C8: -/* 802A16C8 0029E628 80 A4 00 00 */ lwz r5, 0(r4) -/* 802A16CC 0029E62C 80 04 00 04 */ lwz r0, 4(r4) -/* 802A16D0 0029E630 90 A3 00 00 */ stw r5, 0(r3) -/* 802A16D4 0029E634 90 03 00 04 */ stw r0, 4(r3) -/* 802A16D8 0029E638 80 04 00 08 */ lwz r0, 8(r4) -/* 802A16DC 0029E63C 90 03 00 08 */ stw r0, 8(r3) -/* 802A16E0 0029E640 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 802A16E4 0029E644 80 04 00 10 */ lwz r0, 0x10(r4) -/* 802A16E8 0029E648 90 A3 00 0C */ stw r5, 0xc(r3) -/* 802A16EC 0029E64C 90 03 00 10 */ stw r0, 0x10(r3) -/* 802A16F0 0029E650 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802A16F4 0029E654 90 03 00 14 */ stw r0, 0x14(r3) -/* 802A16F8 0029E658 80 A4 00 18 */ lwz r5, 0x18(r4) -/* 802A16FC 0029E65C 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 802A1700 0029E660 90 A3 00 18 */ stw r5, 0x18(r3) -/* 802A1704 0029E664 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802A1708 0029E668 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802A170C 0029E66C 90 03 00 20 */ stw r0, 0x20(r3) -/* 802A1710 0029E670 80 04 00 24 */ lwz r0, 0x24(r4) -/* 802A1714 0029E674 90 03 00 24 */ stw r0, 0x24(r3) -/* 802A1718 0029E678 4E 80 00 20 */ blr -lbl_802A171C: -/* 802A171C 0029E67C 38 00 00 00 */ li r0, 0 -/* 802A1720 0029E680 98 03 00 28 */ stb r0, 0x28(r3) -/* 802A1724 0029E684 4E 80 00 20 */ blr - -.global LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f -LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f: -/* 802A1728 0029E688 94 21 FC 70 */ stwu r1, -0x390(r1) -/* 802A172C 0029E68C 7C 08 02 A6 */ mflr r0 -/* 802A1730 0029E690 90 01 03 94 */ stw r0, 0x394(r1) -/* 802A1734 0029E694 DB E1 03 80 */ stfd f31, 0x380(r1) -/* 802A1738 0029E698 F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 -/* 802A173C 0029E69C DB C1 03 70 */ stfd f30, 0x370(r1) -/* 802A1740 0029E6A0 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 -/* 802A1744 0029E6A4 DB A1 03 60 */ stfd f29, 0x360(r1) -/* 802A1748 0029E6A8 F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 -/* 802A174C 0029E6AC DB 81 03 50 */ stfd f28, 0x350(r1) -/* 802A1750 0029E6B0 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 -/* 802A1754 0029E6B4 DB 61 03 40 */ stfd f27, 0x340(r1) -/* 802A1758 0029E6B8 F3 61 03 48 */ psq_st f27, 840(r1), 0, qr0 -/* 802A175C 0029E6BC DB 41 03 30 */ stfd f26, 0x330(r1) -/* 802A1760 0029E6C0 F3 41 03 38 */ psq_st f26, 824(r1), 0, qr0 -/* 802A1764 0029E6C4 DB 21 03 20 */ stfd f25, 0x320(r1) -/* 802A1768 0029E6C8 F3 21 03 28 */ psq_st f25, 808(r1), 0, qr0 -/* 802A176C 0029E6CC DB 01 03 10 */ stfd f24, 0x310(r1) -/* 802A1770 0029E6D0 F3 01 03 18 */ psq_st f24, 792(r1), 0, qr0 -/* 802A1774 0029E6D4 DA E1 03 00 */ stfd f23, 0x300(r1) -/* 802A1778 0029E6D8 F2 E1 03 08 */ psq_st f23, 776(r1), 0, qr0 -/* 802A177C 0029E6DC DA C1 02 F0 */ stfd f22, 0x2f0(r1) -/* 802A1780 0029E6E0 F2 C1 02 F8 */ psq_st f22, 760(r1), 0, qr0 -/* 802A1784 0029E6E4 DA A1 02 E0 */ stfd f21, 0x2e0(r1) -/* 802A1788 0029E6E8 F2 A1 02 E8 */ psq_st f21, 744(r1), 0, qr0 -/* 802A178C 0029E6EC BF 01 02 C0 */ stmw r24, 0x2c0(r1) -/* 802A1790 0029E6F0 FF 80 08 90 */ fmr f28, f1 -/* 802A1794 0029E6F4 C0 82 C1 28 */ lfs f4, lbl_805ADE48@sda21(r2) -/* 802A1798 0029E6F8 FF 60 10 90 */ fmr f27, f2 -/* 802A179C 0029E6FC C0 22 C1 2C */ lfs f1, lbl_805ADE4C@sda21(r2) -/* 802A17A0 0029E700 FF 40 18 90 */ fmr f26, f3 -/* 802A17A4 0029E704 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A17A8 0029E708 3C E0 80 3D */ lis r7, lbl_803D5EF0@ha -/* 802A17AC 0029E70C EF E4 07 32 */ fmuls f31, f4, f28 -/* 802A17B0 0029E710 FC 1A 00 00 */ fcmpu cr0, f26, f0 -/* 802A17B4 0029E714 7C 7E 1B 78 */ mr r30, r3 -/* 802A17B8 0029E718 EF C1 06 F2 */ fmuls f30, f1, f27 -/* 802A17BC 0029E71C 7C 9F 23 78 */ mr r31, r4 -/* 802A17C0 0029E720 7C BD 2B 78 */ mr r29, r5 -/* 802A17C4 0029E724 7C DB 33 78 */ mr r27, r6 -/* 802A17C8 0029E728 3B 07 5E F0 */ addi r24, r7, lbl_803D5EF0@l -/* 802A17CC 0029E72C 41 82 00 2C */ beq lbl_802A17F8 -/* 802A17D0 0029E730 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802A17D4 0029E734 40 80 00 08 */ bge lbl_802A17DC -/* 802A17D8 0029E738 FF E0 00 90 */ fmr f31, f0 -lbl_802A17DC: -/* 802A17DC 0029E73C FC 1E D0 40 */ fcmpo cr0, f30, f26 -/* 802A17E0 0029E740 40 81 00 08 */ ble lbl_802A17E8 -/* 802A17E4 0029E744 FF C0 D0 90 */ fmr f30, f26 -lbl_802A17E8: -/* 802A17E8 0029E748 FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 802A17EC 0029E74C 40 81 00 0C */ ble lbl_802A17F8 -/* 802A17F0 0029E750 38 60 00 01 */ li r3, 1 -/* 802A17F4 0029E754 48 00 0A 4C */ b lbl_802A2240 -lbl_802A17F8: -/* 802A17F8 0029E758 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 802A17FC 0029E75C 2C 00 00 02 */ cmpwi r0, 2 -/* 802A1800 0029E760 40 82 01 C0 */ bne lbl_802A19C0 -/* 802A1804 0029E764 7F C4 F3 78 */ mr r4, r30 -/* 802A1808 0029E768 38 61 00 08 */ addi r3, r1, 8 -/* 802A180C 0029E76C 48 00 15 31 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A1810 0029E770 83 01 00 08 */ lwz r24, 8(r1) -/* 802A1814 0029E774 3B 40 00 00 */ li r26, 0 -/* 802A1818 0029E778 C3 A2 C1 30 */ lfs f29, lbl_805ADE50@sda21(r2) -/* 802A181C 0029E77C A3 38 00 18 */ lhz r25, 0x18(r24) -/* 802A1820 0029E780 48 00 01 90 */ b lbl_802A19B0 -lbl_802A1824: -/* 802A1824 0029E784 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 802A1828 0029E788 38 61 02 00 */ addi r3, r1, 0x200 -/* 802A182C 0029E78C A0 B8 00 1A */ lhz r5, 0x1a(r24) -/* 802A1830 0029E790 48 00 12 05 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A1834 0029E794 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 802A1838 0029E798 C2 C1 02 20 */ lfs f22, 0x220(r1) -/* 802A183C 0029E79C C3 21 02 14 */ lfs f25, 0x214(r1) -/* 802A1840 0029E7A0 C0 61 02 00 */ lfs f3, 0x200(r1) -/* 802A1844 0029E7A4 EC F6 08 28 */ fsubs f7, f22, f1 -/* 802A1848 0029E7A8 C3 01 02 18 */ lfs f24, 0x218(r1) -/* 802A184C 0029E7AC EC 99 08 28 */ fsubs f4, f25, f1 -/* 802A1850 0029E7B0 C0 41 02 04 */ lfs f2, 0x204(r1) -/* 802A1854 0029E7B4 C2 E1 02 1C */ lfs f23, 0x21c(r1) -/* 802A1858 0029E7B8 ED 38 18 28 */ fsubs f9, f24, f3 -/* 802A185C 0029E7BC C3 41 02 10 */ lfs f26, 0x210(r1) -/* 802A1860 0029E7C0 C1 BF 00 0C */ lfs f13, 0xc(r31) -/* 802A1864 0029E7C4 ED 17 10 28 */ fsubs f8, f23, f2 -/* 802A1868 0029E7C8 C2 A1 02 0C */ lfs f21, 0x20c(r1) -/* 802A186C 0029E7CC EC BA 10 28 */ fsubs f5, f26, f2 -/* 802A1870 0029E7D0 C3 7F 00 14 */ lfs f27, 0x14(r31) -/* 802A1874 0029E7D4 EC C7 03 72 */ fmuls f6, f7, f13 -/* 802A1878 0029E7D8 C3 9F 00 10 */ lfs f28, 0x10(r31) -/* 802A187C 0029E7DC EC 08 06 F2 */ fmuls f0, f8, f27 -/* 802A1880 0029E7E0 80 61 02 24 */ lwz r3, 0x224(r1) -/* 802A1884 0029E7E4 ED 7B 32 78 */ fmsubs f11, f27, f9, f6 -/* 802A1888 0029E7E8 D0 61 02 94 */ stfs f3, 0x294(r1) -/* 802A188C 0029E7EC ED 89 07 32 */ fmuls f12, f9, f28 -/* 802A1890 0029E7F0 EC D5 18 28 */ fsubs f6, f21, f3 -/* 802A1894 0029E7F4 ED 5C 01 F8 */ fmsubs f10, f28, f7, f0 -/* 802A1898 0029E7F8 D0 41 02 98 */ stfs f2, 0x298(r1) -/* 802A189C 0029E7FC EC 05 02 F2 */ fmuls f0, f5, f11 -/* 802A18A0 0029E800 ED 8D 62 38 */ fmsubs f12, f13, f8, f12 -/* 802A18A4 0029E804 D0 21 02 9C */ stfs f1, 0x29c(r1) -/* 802A18A8 0029E808 EC 06 02 BA */ fmadds f0, f6, f10, f0 -/* 802A18AC 0029E80C D2 A1 02 A0 */ stfs f21, 0x2a0(r1) -/* 802A18B0 0029E810 D3 41 02 A4 */ stfs f26, 0x2a4(r1) -/* 802A18B4 0029E814 EE A4 03 3A */ fmadds f21, f4, f12, f0 -/* 802A18B8 0029E818 D3 21 02 A8 */ stfs f25, 0x2a8(r1) -/* 802A18BC 0029E81C FC 00 AA 10 */ fabs f0, f21 -/* 802A18C0 0029E820 D3 01 02 AC */ stfs f24, 0x2ac(r1) -/* 802A18C4 0029E824 D2 E1 02 B0 */ stfs f23, 0x2b0(r1) -/* 802A18C8 0029E828 FC 00 00 18 */ frsp f0, f0 -/* 802A18CC 0029E82C D2 C1 02 B4 */ stfs f22, 0x2b4(r1) -/* 802A18D0 0029E830 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 802A18D4 0029E834 90 61 02 B8 */ stw r3, 0x2b8(r1) -/* 802A18D8 0029E838 41 80 00 D0 */ blt lbl_802A19A8 -/* 802A18DC 0029E83C C0 02 C1 20 */ lfs f0, lbl_805ADE40@sda21(r2) -/* 802A18E0 0029E840 C2 FF 00 04 */ lfs f23, 4(r31) -/* 802A18E4 0029E844 EF 40 A8 24 */ fdivs f26, f0, f21 -/* 802A18E8 0029E848 C2 DF 00 00 */ lfs f22, 0(r31) -/* 802A18EC 0029E84C C3 1F 00 08 */ lfs f24, 8(r31) -/* 802A18F0 0029E850 C3 22 C1 24 */ lfs f25, lbl_805ADE44@sda21(r2) -/* 802A18F4 0029E854 EE F7 10 28 */ fsubs f23, f23, f2 -/* 802A18F8 0029E858 EE D6 18 28 */ fsubs f22, f22, f3 -/* 802A18FC 0029E85C EE B8 08 28 */ fsubs f21, f24, f1 -/* 802A1900 0029E860 EC 37 02 F2 */ fmuls f1, f23, f11 -/* 802A1904 0029E864 EC 36 0A BA */ fmadds f1, f22, f10, f1 -/* 802A1908 0029E868 EC 35 0B 3A */ fmadds f1, f21, f12, f1 -/* 802A190C 0029E86C ED 5A 00 72 */ fmuls f10, f26, f1 -/* 802A1910 0029E870 FC 0A C8 40 */ fcmpo cr0, f10, f25 -/* 802A1914 0029E874 41 80 00 94 */ blt lbl_802A19A8 -/* 802A1918 0029E878 FC 0A 00 40 */ fcmpo cr0, f10, f0 -/* 802A191C 0029E87C 41 81 00 8C */ bgt lbl_802A19A8 -/* 802A1920 0029E880 EC 44 05 B2 */ fmuls f2, f4, f22 -/* 802A1924 0029E884 EC 25 05 72 */ fmuls f1, f5, f21 -/* 802A1928 0029E888 EC 66 05 F2 */ fmuls f3, f6, f23 -/* 802A192C 0029E88C EC D5 11 B8 */ fmsubs f6, f21, f6, f2 -/* 802A1930 0029E890 EC 57 09 38 */ fmsubs f2, f23, f4, f1 -/* 802A1934 0029E894 EC 76 19 78 */ fmsubs f3, f22, f5, f3 -/* 802A1938 0029E898 EC 26 02 32 */ fmuls f1, f6, f8 -/* 802A193C 0029E89C EC 22 0A 7A */ fmadds f1, f2, f9, f1 -/* 802A1940 0029E8A0 EC 23 09 FA */ fmadds f1, f3, f7, f1 -/* 802A1944 0029E8A4 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 802A1948 0029E8A8 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 802A194C 0029E8AC 4C 41 13 82 */ cror 2, 1, 2 -/* 802A1950 0029E8B0 41 82 00 58 */ beq lbl_802A19A8 -/* 802A1954 0029E8B4 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 802A1958 0029E8B8 41 80 00 50 */ blt lbl_802A19A8 -/* 802A195C 0029E8BC EC 26 07 32 */ fmuls f1, f6, f28 -/* 802A1960 0029E8C0 EC 22 0B 7A */ fmadds f1, f2, f13, f1 -/* 802A1964 0029E8C4 EC 23 0E FA */ fmadds f1, f3, f27, f1 -/* 802A1968 0029E8C8 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 802A196C 0029E8CC FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 802A1970 0029E8D0 41 80 00 38 */ blt lbl_802A19A8 -/* 802A1974 0029E8D4 EC 2A 08 2A */ fadds f1, f10, f1 -/* 802A1978 0029E8D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A197C 0029E8DC 41 81 00 2C */ bgt lbl_802A19A8 -/* 802A1980 0029E8E0 38 00 00 00 */ li r0, 0 -/* 802A1984 0029E8E4 90 61 00 24 */ stw r3, 0x24(r1) -/* 802A1988 0029E8E8 7F A3 EB 78 */ mr r3, r29 -/* 802A198C 0029E8EC 38 81 00 20 */ addi r4, r1, 0x20 -/* 802A1990 0029E8F0 90 01 00 20 */ stw r0, 0x20(r1) -/* 802A1994 0029E8F4 48 03 39 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A1998 0029E8F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A199C 0029E8FC 41 82 00 0C */ beq lbl_802A19A8 -/* 802A19A0 0029E900 38 60 00 00 */ li r3, 0 -/* 802A19A4 0029E904 48 00 08 9C */ b lbl_802A2240 -lbl_802A19A8: -/* 802A19A8 0029E908 3B 18 00 02 */ addi r24, r24, 2 -/* 802A19AC 0029E90C 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802A19B0: -/* 802A19B0 0029E910 7C 1A C8 00 */ cmpw r26, r25 -/* 802A19B4 0029E914 41 80 FE 70 */ blt lbl_802A1824 -/* 802A19B8 0029E918 38 60 00 01 */ li r3, 1 -/* 802A19BC 0029E91C 48 00 08 84 */ b lbl_802A2240 -lbl_802A19C0: -/* 802A19C0 0029E920 2C 00 00 01 */ cmpwi r0, 1 -/* 802A19C4 0029E924 40 82 08 78 */ bne lbl_802A223C -/* 802A19C8 0029E928 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 802A19CC 0029E92C A0 03 00 00 */ lhz r0, 0(r3) -/* 802A19D0 0029E930 28 00 00 0A */ cmplwi r0, 0xa -/* 802A19D4 0029E934 40 82 01 94 */ bne lbl_802A1B68 -/* 802A19D8 0029E938 7F C4 F3 78 */ mr r4, r30 -/* 802A19DC 0029E93C 38 61 01 DC */ addi r3, r1, 0x1dc -/* 802A19E0 0029E940 38 A0 00 00 */ li r5, 0 -/* 802A19E4 0029E944 48 00 13 7D */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A19E8 0029E948 C0 A1 01 DC */ lfs f5, 0x1dc(r1) -/* 802A19EC 0029E94C 7F E4 FB 78 */ mr r4, r31 -/* 802A19F0 0029E950 C0 81 01 E0 */ lfs f4, 0x1e0(r1) -/* 802A19F4 0029E954 38 61 01 7C */ addi r3, r1, 0x17c -/* 802A19F8 0029E958 C0 61 01 E4 */ lfs f3, 0x1e4(r1) -/* 802A19FC 0029E95C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 802A1A00 0029E960 C0 41 01 E8 */ lfs f2, 0x1e8(r1) -/* 802A1A04 0029E964 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802A1A08 0029E968 C0 21 01 EC */ lfs f1, 0x1ec(r1) -/* 802A1A0C 0029E96C C0 01 01 F0 */ lfs f0, 0x1f0(r1) -/* 802A1A10 0029E970 81 01 01 F4 */ lwz r8, 0x1f4(r1) -/* 802A1A14 0029E974 80 E1 01 F8 */ lwz r7, 0x1f8(r1) -/* 802A1A18 0029E978 80 01 01 FC */ lwz r0, 0x1fc(r1) -/* 802A1A1C 0029E97C D0 A1 02 70 */ stfs f5, 0x270(r1) -/* 802A1A20 0029E980 D0 81 02 74 */ stfs f4, 0x274(r1) -/* 802A1A24 0029E984 D0 61 02 78 */ stfs f3, 0x278(r1) -/* 802A1A28 0029E988 D0 41 02 7C */ stfs f2, 0x27c(r1) -/* 802A1A2C 0029E98C D0 21 02 80 */ stfs f1, 0x280(r1) -/* 802A1A30 0029E990 D0 01 02 84 */ stfs f0, 0x284(r1) -/* 802A1A34 0029E994 91 01 02 88 */ stw r8, 0x288(r1) -/* 802A1A38 0029E998 90 E1 02 8C */ stw r7, 0x28c(r1) -/* 802A1A3C 0029E99C 90 01 02 90 */ stw r0, 0x290(r1) -/* 802A1A40 0029E9A0 D0 A1 01 7C */ stfs f5, 0x17c(r1) -/* 802A1A44 0029E9A4 D0 81 01 80 */ stfs f4, 0x180(r1) -/* 802A1A48 0029E9A8 D0 61 01 84 */ stfs f3, 0x184(r1) -/* 802A1A4C 0029E9AC D0 41 01 88 */ stfs f2, 0x188(r1) -/* 802A1A50 0029E9B0 D0 21 01 8C */ stfs f1, 0x18c(r1) -/* 802A1A54 0029E9B4 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 802A1A58 0029E9B8 D3 81 00 18 */ stfs f28, 0x18(r1) -/* 802A1A5C 0029E9BC D3 61 00 14 */ stfs f27, 0x14(r1) -/* 802A1A60 0029E9C0 48 00 0A 15 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A1A64 0029E9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A1A68 0029E9C8 41 82 00 34 */ beq lbl_802A1A9C -/* 802A1A6C 0029E9CC FC 60 D0 90 */ fmr f3, f26 -/* 802A1A70 0029E9D0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802A1A74 0029E9D4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802A1A78 0029E9D8 7F E4 FB 78 */ mr r4, r31 -/* 802A1A7C 0029E9DC 7F A5 EB 78 */ mr r5, r29 -/* 802A1A80 0029E9E0 7F 66 DB 78 */ mr r6, r27 -/* 802A1A84 0029E9E4 38 61 02 70 */ addi r3, r1, 0x270 -/* 802A1A88 0029E9E8 4B FF FC A1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f -/* 802A1A8C 0029E9EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A1A90 0029E9F0 40 82 00 0C */ bne lbl_802A1A9C -/* 802A1A94 0029E9F4 38 60 00 00 */ li r3, 0 -/* 802A1A98 0029E9F8 48 00 07 A8 */ b lbl_802A2240 -lbl_802A1A9C: -/* 802A1A9C 0029E9FC 7F C4 F3 78 */ mr r4, r30 -/* 802A1AA0 0029EA00 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 802A1AA4 0029EA04 38 A0 00 01 */ li r5, 1 -/* 802A1AA8 0029EA08 48 00 12 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A1AAC 0029EA0C C0 A1 01 B8 */ lfs f5, 0x1b8(r1) -/* 802A1AB0 0029EA10 7F E4 FB 78 */ mr r4, r31 -/* 802A1AB4 0029EA14 C0 81 01 BC */ lfs f4, 0x1bc(r1) -/* 802A1AB8 0029EA18 38 61 01 64 */ addi r3, r1, 0x164 -/* 802A1ABC 0029EA1C C0 61 01 C0 */ lfs f3, 0x1c0(r1) -/* 802A1AC0 0029EA20 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802A1AC4 0029EA24 C0 41 01 C4 */ lfs f2, 0x1c4(r1) -/* 802A1AC8 0029EA28 38 C1 00 0C */ addi r6, r1, 0xc -/* 802A1ACC 0029EA2C C0 21 01 C8 */ lfs f1, 0x1c8(r1) -/* 802A1AD0 0029EA30 C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 802A1AD4 0029EA34 81 01 01 D0 */ lwz r8, 0x1d0(r1) -/* 802A1AD8 0029EA38 80 E1 01 D4 */ lwz r7, 0x1d4(r1) -/* 802A1ADC 0029EA3C 80 01 01 D8 */ lwz r0, 0x1d8(r1) -/* 802A1AE0 0029EA40 D0 A1 02 4C */ stfs f5, 0x24c(r1) -/* 802A1AE4 0029EA44 D0 81 02 50 */ stfs f4, 0x250(r1) -/* 802A1AE8 0029EA48 D0 61 02 54 */ stfs f3, 0x254(r1) -/* 802A1AEC 0029EA4C D0 41 02 58 */ stfs f2, 0x258(r1) -/* 802A1AF0 0029EA50 D0 21 02 5C */ stfs f1, 0x25c(r1) -/* 802A1AF4 0029EA54 D0 01 02 60 */ stfs f0, 0x260(r1) -/* 802A1AF8 0029EA58 91 01 02 64 */ stw r8, 0x264(r1) -/* 802A1AFC 0029EA5C 90 E1 02 68 */ stw r7, 0x268(r1) -/* 802A1B00 0029EA60 90 01 02 6C */ stw r0, 0x26c(r1) -/* 802A1B04 0029EA64 D0 A1 01 64 */ stfs f5, 0x164(r1) -/* 802A1B08 0029EA68 D0 81 01 68 */ stfs f4, 0x168(r1) -/* 802A1B0C 0029EA6C D0 61 01 6C */ stfs f3, 0x16c(r1) -/* 802A1B10 0029EA70 D0 41 01 70 */ stfs f2, 0x170(r1) -/* 802A1B14 0029EA74 D0 21 01 74 */ stfs f1, 0x174(r1) -/* 802A1B18 0029EA78 D0 01 01 78 */ stfs f0, 0x178(r1) -/* 802A1B1C 0029EA7C D3 81 00 10 */ stfs f28, 0x10(r1) -/* 802A1B20 0029EA80 D3 61 00 0C */ stfs f27, 0xc(r1) -/* 802A1B24 0029EA84 48 00 09 51 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A1B28 0029EA88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A1B2C 0029EA8C 41 82 00 34 */ beq lbl_802A1B60 -/* 802A1B30 0029EA90 FC 60 D0 90 */ fmr f3, f26 -/* 802A1B34 0029EA94 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802A1B38 0029EA98 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802A1B3C 0029EA9C 7F E4 FB 78 */ mr r4, r31 -/* 802A1B40 0029EAA0 7F A5 EB 78 */ mr r5, r29 -/* 802A1B44 0029EAA4 7F 66 DB 78 */ mr r6, r27 -/* 802A1B48 0029EAA8 38 61 02 4C */ addi r3, r1, 0x24c -/* 802A1B4C 0029EAAC 4B FF FB DD */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f -/* 802A1B50 0029EAB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A1B54 0029EAB4 40 82 00 0C */ bne lbl_802A1B60 -/* 802A1B58 0029EAB8 38 60 00 00 */ li r3, 0 -/* 802A1B5C 0029EABC 48 00 06 E4 */ b lbl_802A2240 -lbl_802A1B60: -/* 802A1B60 0029EAC0 38 60 00 01 */ li r3, 1 -/* 802A1B64 0029EAC4 48 00 06 DC */ b lbl_802A2240 -lbl_802A1B68: -/* 802A1B68 0029EAC8 7F C4 F3 78 */ mr r4, r30 -/* 802A1B6C 0029EACC 38 61 01 28 */ addi r3, r1, 0x128 -/* 802A1B70 0029EAD0 48 09 5A 9D */ bl GetCenterPoint__6CAABoxCFv -/* 802A1B74 0029EAD4 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 802A1B78 0029EAD8 39 21 01 34 */ addi r9, r1, 0x134 -/* 802A1B7C 0029EADC C0 9F 00 14 */ lfs f4, 0x14(r31) -/* 802A1B80 0029EAE0 38 00 00 03 */ li r0, 3 -/* 802A1B84 0029EAE4 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 802A1B88 0029EAE8 EC BC 00 32 */ fmuls f5, f28, f0 -/* 802A1B8C 0029EAEC C3 A1 01 28 */ lfs f29, 0x128(r1) -/* 802A1B90 0029EAF0 EC 7C 01 32 */ fmuls f3, f28, f4 -/* 802A1B94 0029EAF4 C1 A1 01 2C */ lfs f13, 0x12c(r1) -/* 802A1B98 0029EAF8 EC 3C 00 B2 */ fmuls f1, f28, f2 -/* 802A1B9C 0029EAFC C1 7F 00 04 */ lfs f11, 4(r31) -/* 802A1BA0 0029EB00 C1 3F 00 00 */ lfs f9, 0(r31) -/* 802A1BA4 0029EB04 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 802A1BA8 0029EB08 C1 81 01 30 */ lfs f12, 0x130(r1) -/* 802A1BAC 0029EB0C EC DB 00 B2 */ fmuls f6, f27, f2 -/* 802A1BB0 0029EB10 C1 5F 00 08 */ lfs f10, 8(r31) -/* 802A1BB4 0029EB14 EC FB 01 32 */ fmuls f7, f27, f4 -/* 802A1BB8 0029EB18 EE CB 28 2A */ fadds f22, f11, f5 -/* 802A1BBC 0029EB1C EE AA 18 2A */ fadds f21, f10, f3 -/* 802A1BC0 0029EB20 C0 BB 00 08 */ lfs f5, 8(r27) -/* 802A1BC4 0029EB24 EC 8C 50 28 */ fsubs f4, f12, f10 -/* 802A1BC8 0029EB28 C0 7B 00 04 */ lfs f3, 4(r27) -/* 802A1BCC 0029EB2C EC 4D 58 28 */ fsubs f2, f13, f11 -/* 802A1BD0 0029EB30 ED 09 08 2A */ fadds f8, f9, f1 -/* 802A1BD4 0029EB34 ED 6B 00 2A */ fadds f11, f11, f0 -/* 802A1BD8 0029EB38 C0 3B 00 00 */ lfs f1, 0(r27) -/* 802A1BDC 0029EB3C EC 1D 48 28 */ fsubs f0, f29, f9 -/* 802A1BE0 0029EB40 7D 23 4B 78 */ mr r3, r9 -/* 802A1BE4 0029EB44 EC EA 38 2A */ fadds f7, f10, f7 -/* 802A1BE8 0029EB48 EC C9 30 2A */ fadds f6, f9, f6 -/* 802A1BEC 0029EB4C EC 85 01 32 */ fmuls f4, f5, f4 -/* 802A1BF0 0029EB50 D3 A1 01 58 */ stfs f29, 0x158(r1) -/* 802A1BF4 0029EB54 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802A1BF8 0029EB58 38 98 00 00 */ addi r4, r24, 0 -/* 802A1BFC 0029EB5C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802A1C00 0029EB60 D1 A1 01 5C */ stfs f13, 0x15c(r1) -/* 802A1C04 0029EB64 38 A1 01 58 */ addi r5, r1, 0x158 -/* 802A1C08 0029EB68 38 C1 01 4C */ addi r6, r1, 0x14c -/* 802A1C0C 0029EB6C D1 81 01 60 */ stfs f12, 0x160(r1) -/* 802A1C10 0029EB70 38 E1 01 40 */ addi r7, r1, 0x140 -/* 802A1C14 0029EB74 39 18 00 0C */ addi r8, r24, 0xc -/* 802A1C18 0029EB78 3B 80 00 00 */ li r28, 0 -/* 802A1C1C 0029EB7C D1 01 01 4C */ stfs f8, 0x14c(r1) -/* 802A1C20 0029EB80 3B 20 00 00 */ li r25, 0 -/* 802A1C24 0029EB84 3B 40 00 00 */ li r26, 0 -/* 802A1C28 0029EB88 D2 C1 01 50 */ stfs f22, 0x150(r1) -/* 802A1C2C 0029EB8C D2 A1 01 54 */ stfs f21, 0x154(r1) -/* 802A1C30 0029EB90 D0 C1 01 40 */ stfs f6, 0x140(r1) -/* 802A1C34 0029EB94 D1 61 01 44 */ stfs f11, 0x144(r1) -/* 802A1C38 0029EB98 D0 E1 01 48 */ stfs f7, 0x148(r1) -/* 802A1C3C 0029EB9C D0 01 01 34 */ stfs f0, 0x134(r1) -/* 802A1C40 0029EBA0 D0 41 01 38 */ stfs f2, 0x138(r1) -/* 802A1C44 0029EBA4 D0 81 01 3C */ stfs f4, 0x13c(r1) -/* 802A1C48 0029EBA8 7C 09 03 A6 */ mtctr r0 -lbl_802A1C4C: -/* 802A1C4C 0029EBAC C0 06 00 00 */ lfs f0, 0(r6) -/* 802A1C50 0029EBB0 C0 25 00 00 */ lfs f1, 0(r5) -/* 802A1C54 0029EBB4 81 44 00 00 */ lwz r10, 0(r4) -/* 802A1C58 0029EBB8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802A1C5C 0029EBBC 4C 41 13 82 */ cror 2, 1, 2 -/* 802A1C60 0029EBC0 40 82 00 08 */ bne lbl_802A1C68 -/* 802A1C64 0029EBC4 7F 9C 53 78 */ or r28, r28, r10 -lbl_802A1C68: -/* 802A1C68 0029EBC8 C0 07 00 00 */ lfs f0, 0(r7) -/* 802A1C6C 0029EBCC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802A1C70 0029EBD0 4C 41 13 82 */ cror 2, 1, 2 -/* 802A1C74 0029EBD4 40 82 00 08 */ bne lbl_802A1C7C -/* 802A1C78 0029EBD8 7F 39 53 78 */ or r25, r25, r10 -lbl_802A1C7C: -/* 802A1C7C 0029EBDC 80 08 00 00 */ lwz r0, 0(r8) -/* 802A1C80 0029EBE0 C0 29 00 00 */ lfs f1, 0(r9) -/* 802A1C84 0029EBE4 54 00 10 3A */ slwi r0, r0, 2 -/* 802A1C88 0029EBE8 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802A1C8C 0029EBEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A1C90 0029EBF0 40 80 00 08 */ bge lbl_802A1C98 -/* 802A1C94 0029EBF4 7F 5A 53 78 */ or r26, r26, r10 -lbl_802A1C98: -/* 802A1C98 0029EBF8 38 84 00 04 */ addi r4, r4, 4 -/* 802A1C9C 0029EBFC 38 A5 00 04 */ addi r5, r5, 4 -/* 802A1CA0 0029EC00 38 C6 00 04 */ addi r6, r6, 4 -/* 802A1CA4 0029EC04 38 E7 00 04 */ addi r7, r7, 4 -/* 802A1CA8 0029EC08 39 08 00 04 */ addi r8, r8, 4 -/* 802A1CAC 0029EC0C 39 29 00 04 */ addi r9, r9, 4 -/* 802A1CB0 0029EC10 42 00 FF 9C */ bdnz lbl_802A1C4C -/* 802A1CB4 0029EC14 88 0D A5 B8 */ lbz r0, lbl_805A9178@sda21(r13) -/* 802A1CB8 0029EC18 7C 00 07 75 */ extsb. r0, r0 -/* 802A1CBC 0029EC1C 40 82 04 4C */ bne lbl_802A2108 -/* 802A1CC0 0029EC20 38 00 00 00 */ li r0, 0 -/* 802A1CC4 0029EC24 38 61 01 1C */ addi r3, r1, 0x11c -/* 802A1CC8 0029EC28 90 01 01 18 */ stw r0, 0x118(r1) -/* 802A1CCC 0029EC2C 38 80 00 00 */ li r4, 0 -/* 802A1CD0 0029EC30 38 A0 00 00 */ li r5, 0 -/* 802A1CD4 0029EC34 38 C0 00 00 */ li r6, 0 -/* 802A1CD8 0029EC38 48 07 2F 71 */ bl __ct__9CVector3iFiii -/* 802A1CDC 0029EC3C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1CE0 0029EC40 80 81 01 18 */ lwz r4, 0x118(r1) -/* 802A1CE4 0029EC44 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1CE8 0029EC48 80 C1 01 1C */ lwz r6, 0x11c(r1) -/* 802A1CEC 0029EC4C 81 01 01 20 */ lwz r8, 0x120(r1) -/* 802A1CF0 0029EC50 38 00 00 01 */ li r0, 1 -/* 802A1CF4 0029EC54 80 E1 01 24 */ lwz r7, 0x124(r1) -/* 802A1CF8 0029EC58 38 61 01 0C */ addi r3, r1, 0x10c -/* 802A1CFC 0029EC5C 90 89 00 00 */ stw r4, 0(r9) -/* 802A1D00 0029EC60 38 80 00 00 */ li r4, 0 -/* 802A1D04 0029EC64 38 A0 00 00 */ li r5, 0 -/* 802A1D08 0029EC68 90 C9 00 04 */ stw r6, 4(r9) -/* 802A1D0C 0029EC6C 38 C0 00 00 */ li r6, 0 -/* 802A1D10 0029EC70 91 09 00 08 */ stw r8, 8(r9) -/* 802A1D14 0029EC74 90 E9 00 0C */ stw r7, 0xc(r9) -/* 802A1D18 0029EC78 90 01 01 08 */ stw r0, 0x108(r1) -/* 802A1D1C 0029EC7C 48 07 2F 2D */ bl __ct__9CVector3iFiii -/* 802A1D20 0029EC80 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1D24 0029EC84 80 81 01 08 */ lwz r4, 0x108(r1) -/* 802A1D28 0029EC88 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1D2C 0029EC8C 80 C1 01 0C */ lwz r6, 0x10c(r1) -/* 802A1D30 0029EC90 81 01 01 10 */ lwz r8, 0x110(r1) -/* 802A1D34 0029EC94 38 00 00 01 */ li r0, 1 -/* 802A1D38 0029EC98 80 E1 01 14 */ lwz r7, 0x114(r1) -/* 802A1D3C 0029EC9C 38 61 00 FC */ addi r3, r1, 0xfc -/* 802A1D40 0029ECA0 90 89 00 10 */ stw r4, 0x10(r9) -/* 802A1D44 0029ECA4 38 80 00 01 */ li r4, 1 -/* 802A1D48 0029ECA8 38 A0 00 00 */ li r5, 0 -/* 802A1D4C 0029ECAC 90 C9 00 14 */ stw r6, 0x14(r9) -/* 802A1D50 0029ECB0 38 C0 00 00 */ li r6, 0 -/* 802A1D54 0029ECB4 91 09 00 18 */ stw r8, 0x18(r9) -/* 802A1D58 0029ECB8 90 E9 00 1C */ stw r7, 0x1c(r9) -/* 802A1D5C 0029ECBC 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 802A1D60 0029ECC0 48 07 2E E9 */ bl __ct__9CVector3iFiii -/* 802A1D64 0029ECC4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1D68 0029ECC8 80 81 00 F8 */ lwz r4, 0xf8(r1) -/* 802A1D6C 0029ECCC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1D70 0029ECD0 80 C1 00 FC */ lwz r6, 0xfc(r1) -/* 802A1D74 0029ECD4 81 01 01 00 */ lwz r8, 0x100(r1) -/* 802A1D78 0029ECD8 38 00 00 02 */ li r0, 2 -/* 802A1D7C 0029ECDC 80 E1 01 04 */ lwz r7, 0x104(r1) -/* 802A1D80 0029ECE0 38 61 00 EC */ addi r3, r1, 0xec -/* 802A1D84 0029ECE4 90 89 00 20 */ stw r4, 0x20(r9) -/* 802A1D88 0029ECE8 38 80 00 00 */ li r4, 0 -/* 802A1D8C 0029ECEC 38 A0 00 01 */ li r5, 1 -/* 802A1D90 0029ECF0 90 C9 00 24 */ stw r6, 0x24(r9) -/* 802A1D94 0029ECF4 38 C0 00 00 */ li r6, 0 -/* 802A1D98 0029ECF8 91 09 00 28 */ stw r8, 0x28(r9) -/* 802A1D9C 0029ECFC 90 E9 00 2C */ stw r7, 0x2c(r9) -/* 802A1DA0 0029ED00 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 802A1DA4 0029ED04 48 07 2E A5 */ bl __ct__9CVector3iFiii -/* 802A1DA8 0029ED08 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1DAC 0029ED0C 80 81 00 E8 */ lwz r4, 0xe8(r1) -/* 802A1DB0 0029ED10 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1DB4 0029ED14 80 C1 00 EC */ lwz r6, 0xec(r1) -/* 802A1DB8 0029ED18 81 01 00 F0 */ lwz r8, 0xf0(r1) -/* 802A1DBC 0029ED1C 38 00 00 02 */ li r0, 2 -/* 802A1DC0 0029ED20 80 E1 00 F4 */ lwz r7, 0xf4(r1) -/* 802A1DC4 0029ED24 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A1DC8 0029ED28 90 89 00 30 */ stw r4, 0x30(r9) -/* 802A1DCC 0029ED2C 38 80 00 01 */ li r4, 1 -/* 802A1DD0 0029ED30 38 A0 00 00 */ li r5, 0 -/* 802A1DD4 0029ED34 90 C9 00 34 */ stw r6, 0x34(r9) -/* 802A1DD8 0029ED38 38 C0 00 00 */ li r6, 0 -/* 802A1DDC 0029ED3C 91 09 00 38 */ stw r8, 0x38(r9) -/* 802A1DE0 0029ED40 90 E9 00 3C */ stw r7, 0x3c(r9) -/* 802A1DE4 0029ED44 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 802A1DE8 0029ED48 48 07 2E 61 */ bl __ct__9CVector3iFiii -/* 802A1DEC 0029ED4C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1DF0 0029ED50 80 81 00 D8 */ lwz r4, 0xd8(r1) -/* 802A1DF4 0029ED54 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1DF8 0029ED58 80 C1 00 DC */ lwz r6, 0xdc(r1) -/* 802A1DFC 0029ED5C 81 01 00 E0 */ lwz r8, 0xe0(r1) -/* 802A1E00 0029ED60 38 00 00 01 */ li r0, 1 -/* 802A1E04 0029ED64 80 E1 00 E4 */ lwz r7, 0xe4(r1) -/* 802A1E08 0029ED68 38 61 00 CC */ addi r3, r1, 0xcc -/* 802A1E0C 0029ED6C 90 89 00 40 */ stw r4, 0x40(r9) -/* 802A1E10 0029ED70 38 80 00 02 */ li r4, 2 -/* 802A1E14 0029ED74 38 A0 00 00 */ li r5, 0 -/* 802A1E18 0029ED78 90 C9 00 44 */ stw r6, 0x44(r9) -/* 802A1E1C 0029ED7C 38 C0 00 00 */ li r6, 0 -/* 802A1E20 0029ED80 91 09 00 48 */ stw r8, 0x48(r9) -/* 802A1E24 0029ED84 90 E9 00 4C */ stw r7, 0x4c(r9) -/* 802A1E28 0029ED88 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 802A1E2C 0029ED8C 48 07 2E 1D */ bl __ct__9CVector3iFiii -/* 802A1E30 0029ED90 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1E34 0029ED94 80 81 00 C8 */ lwz r4, 0xc8(r1) -/* 802A1E38 0029ED98 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1E3C 0029ED9C 80 C1 00 CC */ lwz r6, 0xcc(r1) -/* 802A1E40 0029EDA0 81 01 00 D0 */ lwz r8, 0xd0(r1) -/* 802A1E44 0029EDA4 38 00 00 02 */ li r0, 2 -/* 802A1E48 0029EDA8 80 E1 00 D4 */ lwz r7, 0xd4(r1) -/* 802A1E4C 0029EDAC 38 61 00 BC */ addi r3, r1, 0xbc -/* 802A1E50 0029EDB0 90 89 00 50 */ stw r4, 0x50(r9) -/* 802A1E54 0029EDB4 38 80 00 00 */ li r4, 0 -/* 802A1E58 0029EDB8 38 A0 00 02 */ li r5, 2 -/* 802A1E5C 0029EDBC 90 C9 00 54 */ stw r6, 0x54(r9) -/* 802A1E60 0029EDC0 38 C0 00 00 */ li r6, 0 -/* 802A1E64 0029EDC4 91 09 00 58 */ stw r8, 0x58(r9) -/* 802A1E68 0029EDC8 90 E9 00 5C */ stw r7, 0x5c(r9) -/* 802A1E6C 0029EDCC 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 802A1E70 0029EDD0 48 07 2D D9 */ bl __ct__9CVector3iFiii -/* 802A1E74 0029EDD4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1E78 0029EDD8 80 81 00 B8 */ lwz r4, 0xb8(r1) -/* 802A1E7C 0029EDDC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1E80 0029EDE0 80 C1 00 BC */ lwz r6, 0xbc(r1) -/* 802A1E84 0029EDE4 81 01 00 C0 */ lwz r8, 0xc0(r1) -/* 802A1E88 0029EDE8 38 00 00 02 */ li r0, 2 -/* 802A1E8C 0029EDEC 80 E1 00 C4 */ lwz r7, 0xc4(r1) -/* 802A1E90 0029EDF0 38 61 00 AC */ addi r3, r1, 0xac -/* 802A1E94 0029EDF4 90 89 00 60 */ stw r4, 0x60(r9) -/* 802A1E98 0029EDF8 38 80 00 02 */ li r4, 2 -/* 802A1E9C 0029EDFC 38 A0 00 00 */ li r5, 0 -/* 802A1EA0 0029EE00 90 C9 00 64 */ stw r6, 0x64(r9) -/* 802A1EA4 0029EE04 38 C0 00 00 */ li r6, 0 -/* 802A1EA8 0029EE08 91 09 00 68 */ stw r8, 0x68(r9) -/* 802A1EAC 0029EE0C 90 E9 00 6C */ stw r7, 0x6c(r9) -/* 802A1EB0 0029EE10 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 802A1EB4 0029EE14 48 07 2D 95 */ bl __ct__9CVector3iFiii -/* 802A1EB8 0029EE18 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1EBC 0029EE1C 80 81 00 A8 */ lwz r4, 0xa8(r1) -/* 802A1EC0 0029EE20 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1EC4 0029EE24 80 C1 00 AC */ lwz r6, 0xac(r1) -/* 802A1EC8 0029EE28 81 01 00 B0 */ lwz r8, 0xb0(r1) -/* 802A1ECC 0029EE2C 38 00 00 02 */ li r0, 2 -/* 802A1ED0 0029EE30 80 E1 00 B4 */ lwz r7, 0xb4(r1) -/* 802A1ED4 0029EE34 38 61 00 9C */ addi r3, r1, 0x9c -/* 802A1ED8 0029EE38 90 89 00 70 */ stw r4, 0x70(r9) -/* 802A1EDC 0029EE3C 38 80 00 02 */ li r4, 2 -/* 802A1EE0 0029EE40 38 A0 00 01 */ li r5, 1 -/* 802A1EE4 0029EE44 90 C9 00 74 */ stw r6, 0x74(r9) -/* 802A1EE8 0029EE48 38 C0 00 00 */ li r6, 0 -/* 802A1EEC 0029EE4C 91 09 00 78 */ stw r8, 0x78(r9) -/* 802A1EF0 0029EE50 90 E9 00 7C */ stw r7, 0x7c(r9) -/* 802A1EF4 0029EE54 90 01 00 98 */ stw r0, 0x98(r1) -/* 802A1EF8 0029EE58 48 07 2D 51 */ bl __ct__9CVector3iFiii -/* 802A1EFC 0029EE5C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1F00 0029EE60 80 81 00 98 */ lwz r4, 0x98(r1) -/* 802A1F04 0029EE64 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1F08 0029EE68 80 C1 00 9C */ lwz r6, 0x9c(r1) -/* 802A1F0C 0029EE6C 81 01 00 A0 */ lwz r8, 0xa0(r1) -/* 802A1F10 0029EE70 38 00 00 02 */ li r0, 2 -/* 802A1F14 0029EE74 80 E1 00 A4 */ lwz r7, 0xa4(r1) -/* 802A1F18 0029EE78 38 61 00 8C */ addi r3, r1, 0x8c -/* 802A1F1C 0029EE7C 90 89 00 80 */ stw r4, 0x80(r9) -/* 802A1F20 0029EE80 38 80 00 01 */ li r4, 1 -/* 802A1F24 0029EE84 38 A0 00 02 */ li r5, 2 -/* 802A1F28 0029EE88 90 C9 00 84 */ stw r6, 0x84(r9) -/* 802A1F2C 0029EE8C 38 C0 00 00 */ li r6, 0 -/* 802A1F30 0029EE90 91 09 00 88 */ stw r8, 0x88(r9) -/* 802A1F34 0029EE94 90 E9 00 8C */ stw r7, 0x8c(r9) -/* 802A1F38 0029EE98 90 01 00 88 */ stw r0, 0x88(r1) -/* 802A1F3C 0029EE9C 48 07 2D 0D */ bl __ct__9CVector3iFiii -/* 802A1F40 0029EEA0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1F44 0029EEA4 80 81 00 88 */ lwz r4, 0x88(r1) -/* 802A1F48 0029EEA8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1F4C 0029EEAC 80 C1 00 8C */ lwz r6, 0x8c(r1) -/* 802A1F50 0029EEB0 81 01 00 90 */ lwz r8, 0x90(r1) -/* 802A1F54 0029EEB4 38 00 00 03 */ li r0, 3 -/* 802A1F58 0029EEB8 80 E1 00 94 */ lwz r7, 0x94(r1) -/* 802A1F5C 0029EEBC 38 61 00 7C */ addi r3, r1, 0x7c -/* 802A1F60 0029EEC0 90 89 00 90 */ stw r4, 0x90(r9) -/* 802A1F64 0029EEC4 38 80 00 00 */ li r4, 0 -/* 802A1F68 0029EEC8 38 A0 00 02 */ li r5, 2 -/* 802A1F6C 0029EECC 90 C9 00 94 */ stw r6, 0x94(r9) -/* 802A1F70 0029EED0 38 C0 00 01 */ li r6, 1 -/* 802A1F74 0029EED4 91 09 00 98 */ stw r8, 0x98(r9) -/* 802A1F78 0029EED8 90 E9 00 9C */ stw r7, 0x9c(r9) -/* 802A1F7C 0029EEDC 90 01 00 78 */ stw r0, 0x78(r1) -/* 802A1F80 0029EEE0 48 07 2C C9 */ bl __ct__9CVector3iFiii -/* 802A1F84 0029EEE4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1F88 0029EEE8 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802A1F8C 0029EEEC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1F90 0029EEF0 80 C1 00 7C */ lwz r6, 0x7c(r1) -/* 802A1F94 0029EEF4 81 01 00 80 */ lwz r8, 0x80(r1) -/* 802A1F98 0029EEF8 38 00 00 03 */ li r0, 3 -/* 802A1F9C 0029EEFC 80 E1 00 84 */ lwz r7, 0x84(r1) -/* 802A1FA0 0029EF00 38 61 00 6C */ addi r3, r1, 0x6c -/* 802A1FA4 0029EF04 90 89 00 A0 */ stw r4, 0xa0(r9) -/* 802A1FA8 0029EF08 38 80 00 01 */ li r4, 1 -/* 802A1FAC 0029EF0C 38 A0 00 00 */ li r5, 0 -/* 802A1FB0 0029EF10 90 C9 00 A4 */ stw r6, 0xa4(r9) -/* 802A1FB4 0029EF14 38 C0 00 02 */ li r6, 2 -/* 802A1FB8 0029EF18 91 09 00 A8 */ stw r8, 0xa8(r9) -/* 802A1FBC 0029EF1C 90 E9 00 AC */ stw r7, 0xac(r9) -/* 802A1FC0 0029EF20 90 01 00 68 */ stw r0, 0x68(r1) -/* 802A1FC4 0029EF24 48 07 2C 85 */ bl __ct__9CVector3iFiii -/* 802A1FC8 0029EF28 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A1FCC 0029EF2C 80 81 00 68 */ lwz r4, 0x68(r1) -/* 802A1FD0 0029EF30 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A1FD4 0029EF34 80 C1 00 6C */ lwz r6, 0x6c(r1) -/* 802A1FD8 0029EF38 81 01 00 70 */ lwz r8, 0x70(r1) -/* 802A1FDC 0029EF3C 38 00 00 03 */ li r0, 3 -/* 802A1FE0 0029EF40 80 E1 00 74 */ lwz r7, 0x74(r1) -/* 802A1FE4 0029EF44 38 61 00 5C */ addi r3, r1, 0x5c -/* 802A1FE8 0029EF48 90 89 00 B0 */ stw r4, 0xb0(r9) -/* 802A1FEC 0029EF4C 38 80 00 00 */ li r4, 0 -/* 802A1FF0 0029EF50 38 A0 00 01 */ li r5, 1 -/* 802A1FF4 0029EF54 90 C9 00 B4 */ stw r6, 0xb4(r9) -/* 802A1FF8 0029EF58 38 C0 00 02 */ li r6, 2 -/* 802A1FFC 0029EF5C 91 09 00 B8 */ stw r8, 0xb8(r9) -/* 802A2000 0029EF60 90 E9 00 BC */ stw r7, 0xbc(r9) -/* 802A2004 0029EF64 90 01 00 58 */ stw r0, 0x58(r1) -/* 802A2008 0029EF68 48 07 2C 41 */ bl __ct__9CVector3iFiii -/* 802A200C 0029EF6C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A2010 0029EF70 80 81 00 58 */ lwz r4, 0x58(r1) -/* 802A2014 0029EF74 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A2018 0029EF78 80 C1 00 5C */ lwz r6, 0x5c(r1) -/* 802A201C 0029EF7C 81 01 00 60 */ lwz r8, 0x60(r1) -/* 802A2020 0029EF80 38 00 00 03 */ li r0, 3 -/* 802A2024 0029EF84 80 E1 00 64 */ lwz r7, 0x64(r1) -/* 802A2028 0029EF88 38 61 00 4C */ addi r3, r1, 0x4c -/* 802A202C 0029EF8C 90 89 00 C0 */ stw r4, 0xc0(r9) -/* 802A2030 0029EF90 38 80 00 02 */ li r4, 2 -/* 802A2034 0029EF94 38 A0 00 01 */ li r5, 1 -/* 802A2038 0029EF98 90 C9 00 C4 */ stw r6, 0xc4(r9) -/* 802A203C 0029EF9C 38 C0 00 00 */ li r6, 0 -/* 802A2040 0029EFA0 91 09 00 C8 */ stw r8, 0xc8(r9) -/* 802A2044 0029EFA4 90 E9 00 CC */ stw r7, 0xcc(r9) -/* 802A2048 0029EFA8 90 01 00 48 */ stw r0, 0x48(r1) -/* 802A204C 0029EFAC 48 07 2B FD */ bl __ct__9CVector3iFiii -/* 802A2050 0029EFB0 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A2054 0029EFB4 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802A2058 0029EFB8 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A205C 0029EFBC 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 802A2060 0029EFC0 81 01 00 50 */ lwz r8, 0x50(r1) -/* 802A2064 0029EFC4 38 00 00 03 */ li r0, 3 -/* 802A2068 0029EFC8 80 E1 00 54 */ lwz r7, 0x54(r1) -/* 802A206C 0029EFCC 38 61 00 3C */ addi r3, r1, 0x3c -/* 802A2070 0029EFD0 90 89 00 D0 */ stw r4, 0xd0(r9) -/* 802A2074 0029EFD4 38 80 00 02 */ li r4, 2 -/* 802A2078 0029EFD8 38 A0 00 00 */ li r5, 0 -/* 802A207C 0029EFDC 90 C9 00 D4 */ stw r6, 0xd4(r9) -/* 802A2080 0029EFE0 38 C0 00 01 */ li r6, 1 -/* 802A2084 0029EFE4 91 09 00 D8 */ stw r8, 0xd8(r9) -/* 802A2088 0029EFE8 90 E9 00 DC */ stw r7, 0xdc(r9) -/* 802A208C 0029EFEC 90 01 00 38 */ stw r0, 0x38(r1) -/* 802A2090 0029EFF0 48 07 2B B9 */ bl __ct__9CVector3iFiii -/* 802A2094 0029EFF4 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A2098 0029EFF8 80 81 00 38 */ lwz r4, 0x38(r1) -/* 802A209C 0029EFFC 39 23 E0 F0 */ addi r9, r3, lbl_8046E0F0@l -/* 802A20A0 0029F000 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 802A20A4 0029F004 81 01 00 40 */ lwz r8, 0x40(r1) -/* 802A20A8 0029F008 38 00 00 03 */ li r0, 3 -/* 802A20AC 0029F00C 80 E1 00 44 */ lwz r7, 0x44(r1) -/* 802A20B0 0029F010 38 61 00 2C */ addi r3, r1, 0x2c -/* 802A20B4 0029F014 90 89 00 E0 */ stw r4, 0xe0(r9) -/* 802A20B8 0029F018 38 80 00 01 */ li r4, 1 -/* 802A20BC 0029F01C 38 A0 00 02 */ li r5, 2 -/* 802A20C0 0029F020 90 C9 00 E4 */ stw r6, 0xe4(r9) -/* 802A20C4 0029F024 38 C0 00 00 */ li r6, 0 -/* 802A20C8 0029F028 91 09 00 E8 */ stw r8, 0xe8(r9) -/* 802A20CC 0029F02C 90 E9 00 EC */ stw r7, 0xec(r9) -/* 802A20D0 0029F030 90 01 00 28 */ stw r0, 0x28(r1) -/* 802A20D4 0029F034 48 07 2B 75 */ bl __ct__9CVector3iFiii -/* 802A20D8 0029F038 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A20DC 0029F03C 80 E1 00 28 */ lwz r7, 0x28(r1) -/* 802A20E0 0029F040 38 C3 E0 F0 */ addi r6, r3, lbl_8046E0F0@l -/* 802A20E4 0029F044 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 802A20E8 0029F048 80 81 00 30 */ lwz r4, 0x30(r1) -/* 802A20EC 0029F04C 38 00 00 01 */ li r0, 1 -/* 802A20F0 0029F050 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802A20F4 0029F054 90 E6 00 F0 */ stw r7, 0xf0(r6) -/* 802A20F8 0029F058 90 A6 00 F4 */ stw r5, 0xf4(r6) -/* 802A20FC 0029F05C 90 86 00 F8 */ stw r4, 0xf8(r6) -/* 802A2100 0029F060 90 66 00 FC */ stw r3, 0xfc(r6) -/* 802A2104 0029F064 98 0D A5 B8 */ stb r0, lbl_805A9178@sda21(r13) -lbl_802A2108: -/* 802A2108 0029F068 7F 80 CA 78 */ xor r0, r28, r25 -/* 802A210C 0029F06C 3C 60 80 47 */ lis r3, lbl_8046E0F0@ha -/* 802A2110 0029F070 57 44 28 34 */ slwi r4, r26, 5 -/* 802A2114 0029F074 38 B8 00 18 */ addi r5, r24, 0x18 -/* 802A2118 0029F078 54 00 10 3A */ slwi r0, r0, 2 -/* 802A211C 0029F07C FE A0 E0 90 */ fmr f21, f28 -/* 802A2120 0029F080 7C 84 02 14 */ add r4, r4, r0 -/* 802A2124 0029F084 38 03 E0 F0 */ addi r0, r3, lbl_8046E0F0@l -/* 802A2128 0029F088 7C 65 20 2E */ lwzx r3, r5, r4 -/* 802A212C 0029F08C 7F 9A E3 78 */ mr r26, r28 -/* 802A2130 0029F090 3B 80 00 00 */ li r28, 0 -/* 802A2134 0029F094 54 63 20 36 */ slwi r3, r3, 4 -/* 802A2138 0029F098 7F 20 1A 14 */ add r25, r0, r3 -/* 802A213C 0029F09C 3B 19 00 04 */ addi r24, r25, 4 -/* 802A2140 0029F0A0 48 00 00 F0 */ b lbl_802A2230 -lbl_802A2144: -/* 802A2144 0029F0A4 7C 1C 00 00 */ cmpw r28, r0 -/* 802A2148 0029F0A8 40 80 00 18 */ bge lbl_802A2160 -/* 802A214C 0029F0AC 80 18 00 00 */ lwz r0, 0(r24) -/* 802A2150 0029F0B0 38 61 01 34 */ addi r3, r1, 0x134 -/* 802A2154 0029F0B4 54 00 10 3A */ slwi r0, r0, 2 -/* 802A2158 0029F0B8 7E C3 04 2E */ lfsx f22, r3, r0 -/* 802A215C 0029F0BC 48 00 00 08 */ b lbl_802A2164 -lbl_802A2160: -/* 802A2160 0029F0C0 FE C0 D8 90 */ fmr f22, f27 -lbl_802A2164: -/* 802A2164 0029F0C4 FC 16 F8 40 */ fcmpo cr0, f22, f31 -/* 802A2168 0029F0C8 40 81 00 A0 */ ble lbl_802A2208 -/* 802A216C 0029F0CC FC 15 B0 40 */ fcmpo cr0, f21, f22 -/* 802A2170 0029F0D0 4C 40 13 82 */ cror 2, 0, 2 -/* 802A2174 0029F0D4 40 82 00 94 */ bne lbl_802A2208 -/* 802A2178 0029F0D8 7F C4 F3 78 */ mr r4, r30 -/* 802A217C 0029F0DC 7F 45 D3 78 */ mr r5, r26 -/* 802A2180 0029F0E0 38 61 01 94 */ addi r3, r1, 0x194 -/* 802A2184 0029F0E4 48 00 0B DD */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A2188 0029F0E8 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 802A218C 0029F0EC C0 A1 01 94 */ lfs f5, 0x194(r1) -/* 802A2190 0029F0F0 C0 81 01 98 */ lfs f4, 0x198(r1) -/* 802A2194 0029F0F4 2C 00 00 00 */ cmpwi r0, 0 -/* 802A2198 0029F0F8 C0 61 01 9C */ lfs f3, 0x19c(r1) -/* 802A219C 0029F0FC C0 41 01 A0 */ lfs f2, 0x1a0(r1) -/* 802A21A0 0029F100 C0 21 01 A4 */ lfs f1, 0x1a4(r1) -/* 802A21A4 0029F104 C0 01 01 A8 */ lfs f0, 0x1a8(r1) -/* 802A21A8 0029F108 80 81 01 AC */ lwz r4, 0x1ac(r1) -/* 802A21AC 0029F10C 80 61 01 B0 */ lwz r3, 0x1b0(r1) -/* 802A21B0 0029F110 D0 A1 02 28 */ stfs f5, 0x228(r1) -/* 802A21B4 0029F114 D0 81 02 2C */ stfs f4, 0x22c(r1) -/* 802A21B8 0029F118 D0 61 02 30 */ stfs f3, 0x230(r1) -/* 802A21BC 0029F11C D0 41 02 34 */ stfs f2, 0x234(r1) -/* 802A21C0 0029F120 D0 21 02 38 */ stfs f1, 0x238(r1) -/* 802A21C4 0029F124 D0 01 02 3C */ stfs f0, 0x23c(r1) -/* 802A21C8 0029F128 90 81 02 40 */ stw r4, 0x240(r1) -/* 802A21CC 0029F12C 90 61 02 44 */ stw r3, 0x244(r1) -/* 802A21D0 0029F130 90 01 02 48 */ stw r0, 0x248(r1) -/* 802A21D4 0029F134 41 82 00 34 */ beq lbl_802A2208 -/* 802A21D8 0029F138 FC 20 A8 90 */ fmr f1, f21 -/* 802A21DC 0029F13C 7F E4 FB 78 */ mr r4, r31 -/* 802A21E0 0029F140 FC 40 B0 90 */ fmr f2, f22 -/* 802A21E4 0029F144 7F A5 EB 78 */ mr r5, r29 -/* 802A21E8 0029F148 FC 60 D0 90 */ fmr f3, f26 -/* 802A21EC 0029F14C 7F 66 DB 78 */ mr r6, r27 -/* 802A21F0 0029F150 38 61 02 28 */ addi r3, r1, 0x228 -/* 802A21F4 0029F154 4B FF F5 35 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f -/* 802A21F8 0029F158 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A21FC 0029F15C 40 82 00 0C */ bne lbl_802A2208 -/* 802A2200 0029F160 38 60 00 00 */ li r3, 0 -/* 802A2204 0029F164 48 00 00 3C */ b lbl_802A2240 -lbl_802A2208: -/* 802A2208 0029F168 80 19 00 00 */ lwz r0, 0(r25) -/* 802A220C 0029F16C 7C 1C 00 00 */ cmpw r28, r0 -/* 802A2210 0029F170 40 80 00 14 */ bge lbl_802A2224 -/* 802A2214 0029F174 80 18 00 00 */ lwz r0, 0(r24) -/* 802A2218 0029F178 38 60 00 01 */ li r3, 1 -/* 802A221C 0029F17C 7C 60 00 30 */ slw r0, r3, r0 -/* 802A2220 0029F180 7F 5A 02 78 */ xor r26, r26, r0 -lbl_802A2224: -/* 802A2224 0029F184 FE A0 B0 90 */ fmr f21, f22 -/* 802A2228 0029F188 3B 18 00 04 */ addi r24, r24, 4 -/* 802A222C 0029F18C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802A2230: -/* 802A2230 0029F190 80 19 00 00 */ lwz r0, 0(r25) -/* 802A2234 0029F194 7C 1C 00 00 */ cmpw r28, r0 -/* 802A2238 0029F198 40 81 FF 0C */ ble lbl_802A2144 -lbl_802A223C: -/* 802A223C 0029F19C 38 60 00 01 */ li r3, 1 -lbl_802A2240: -/* 802A2240 0029F1A0 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 -/* 802A2244 0029F1A4 CB E1 03 80 */ lfd f31, 0x380(r1) -/* 802A2248 0029F1A8 E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 -/* 802A224C 0029F1AC CB C1 03 70 */ lfd f30, 0x370(r1) -/* 802A2250 0029F1B0 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 -/* 802A2254 0029F1B4 CB A1 03 60 */ lfd f29, 0x360(r1) -/* 802A2258 0029F1B8 E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 -/* 802A225C 0029F1BC CB 81 03 50 */ lfd f28, 0x350(r1) -/* 802A2260 0029F1C0 E3 61 03 48 */ psq_l f27, 840(r1), 0, qr0 -/* 802A2264 0029F1C4 CB 61 03 40 */ lfd f27, 0x340(r1) -/* 802A2268 0029F1C8 E3 41 03 38 */ psq_l f26, 824(r1), 0, qr0 -/* 802A226C 0029F1CC CB 41 03 30 */ lfd f26, 0x330(r1) -/* 802A2270 0029F1D0 E3 21 03 28 */ psq_l f25, 808(r1), 0, qr0 -/* 802A2274 0029F1D4 CB 21 03 20 */ lfd f25, 0x320(r1) -/* 802A2278 0029F1D8 E3 01 03 18 */ psq_l f24, 792(r1), 0, qr0 -/* 802A227C 0029F1DC CB 01 03 10 */ lfd f24, 0x310(r1) -/* 802A2280 0029F1E0 E2 E1 03 08 */ psq_l f23, 776(r1), 0, qr0 -/* 802A2284 0029F1E4 CA E1 03 00 */ lfd f23, 0x300(r1) -/* 802A2288 0029F1E8 E2 C1 02 F8 */ psq_l f22, 760(r1), 0, qr0 -/* 802A228C 0029F1EC CA C1 02 F0 */ lfd f22, 0x2f0(r1) -/* 802A2290 0029F1F0 E2 A1 02 E8 */ psq_l f21, 744(r1), 0, qr0 -/* 802A2294 0029F1F4 CA A1 02 E0 */ lfd f21, 0x2e0(r1) -/* 802A2298 0029F1F8 BB 01 02 C0 */ lmw r24, 0x2c0(r1) -/* 802A229C 0029F1FC 80 01 03 94 */ lwz r0, 0x394(r1) -/* 802A22A0 0029F200 7C 08 03 A6 */ mtlr r0 -/* 802A22A4 0029F204 38 21 03 90 */ addi r1, r1, 0x390 -/* 802A22A8 0029F208 4E 80 00 20 */ blr - -.global LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf -LineTest__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterf: -/* 802A22AC 0029F20C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802A22B0 0029F210 7C 08 02 A6 */ mflr r0 -/* 802A22B4 0029F214 90 01 00 44 */ stw r0, 0x44(r1) -/* 802A22B8 0029F218 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802A22BC 0029F21C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802A22C0 0029F220 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802A22C4 0029F224 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802A22C8 0029F228 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802A22CC 0029F22C 7C 7D 1B 78 */ mr r29, r3 -/* 802A22D0 0029F230 FF E0 08 90 */ fmr f31, f1 -/* 802A22D4 0029F234 80 03 00 20 */ lwz r0, 0x20(r3) -/* 802A22D8 0029F238 7C 9E 23 78 */ mr r30, r4 -/* 802A22DC 0029F23C 7C BF 2B 78 */ mr r31, r5 -/* 802A22E0 0029F240 2C 00 00 00 */ cmpwi r0, 0 -/* 802A22E4 0029F244 40 82 00 0C */ bne lbl_802A22F0 -/* 802A22E8 0029F248 38 60 00 01 */ li r3, 1 -/* 802A22EC 0029F24C 48 00 00 80 */ b lbl_802A236C -lbl_802A22F0: -/* 802A22F0 0029F250 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A22F4 0029F254 38 A1 00 0C */ addi r5, r1, 0xc -/* 802A22F8 0029F258 38 C1 00 08 */ addi r6, r1, 8 -/* 802A22FC 0029F25C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802A2300 0029F260 D0 01 00 08 */ stfs f0, 8(r1) -/* 802A2304 0029F264 48 00 01 71 */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A2308 0029F268 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A230C 0029F26C 40 82 00 0C */ bne lbl_802A2318 -/* 802A2310 0029F270 38 60 00 01 */ li r3, 1 -/* 802A2314 0029F274 48 00 00 58 */ b lbl_802A236C -lbl_802A2318: -/* 802A2318 0029F278 C0 FE 00 14 */ lfs f7, 0x14(r30) -/* 802A231C 0029F27C FC 60 F8 90 */ fmr f3, f31 -/* 802A2320 0029F280 C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) -/* 802A2324 0029F284 7F A3 EB 78 */ mr r3, r29 -/* 802A2328 0029F288 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 802A232C 0029F28C 7F C4 F3 78 */ mr r4, r30 -/* 802A2330 0029F290 C0 BE 00 0C */ lfs f5, 0xc(r30) -/* 802A2334 0029F294 EC 86 00 24 */ fdivs f4, f6, f0 -/* 802A2338 0029F298 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802A233C 0029F29C C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) -/* 802A2340 0029F2A0 7F E5 FB 78 */ mr r5, r31 -/* 802A2344 0029F2A4 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A2348 0029F2A8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802A234C 0029F2AC EC A6 28 24 */ fdivs f5, f6, f5 -/* 802A2350 0029F2B0 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 802A2354 0029F2B4 EC 86 38 24 */ fdivs f4, f6, f7 -/* 802A2358 0029F2B8 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802A235C 0029F2BC EC 21 10 28 */ fsubs f1, f1, f2 -/* 802A2360 0029F2C0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802A2364 0029F2C4 EC 42 00 2A */ fadds f2, f2, f0 -/* 802A2368 0029F2C8 4B FF F3 C1 */ bl LineTestInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterfffC9CVector3f -lbl_802A236C: -/* 802A236C 0029F2CC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802A2370 0029F2D0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A2374 0029F2D4 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802A2378 0029F2D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802A237C 0029F2DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802A2380 0029F2E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802A2384 0029F2E4 7C 08 03 A6 */ mtlr r0 -/* 802A2388 0029F2E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 802A238C 0029F2EC 4E 80 00 20 */ blr - -.global LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf -LineTestEx__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultf: -/* 802A2390 0029F2F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802A2394 0029F2F4 7C 08 02 A6 */ mflr r0 -/* 802A2398 0029F2F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 802A239C 0029F2FC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802A23A0 0029F300 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802A23A4 0029F304 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802A23A8 0029F308 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802A23AC 0029F30C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802A23B0 0029F310 93 81 00 20 */ stw r28, 0x20(r1) -/* 802A23B4 0029F314 7C 7C 1B 78 */ mr r28, r3 -/* 802A23B8 0029F318 FF E0 08 90 */ fmr f31, f1 -/* 802A23BC 0029F31C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 802A23C0 0029F320 7C 9D 23 78 */ mr r29, r4 -/* 802A23C4 0029F324 7C BE 2B 78 */ mr r30, r5 -/* 802A23C8 0029F328 7C DF 33 78 */ mr r31, r6 -/* 802A23CC 0029F32C 2C 00 00 00 */ cmpwi r0, 0 -/* 802A23D0 0029F330 41 82 00 7C */ beq lbl_802A244C -/* 802A23D4 0029F334 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A23D8 0029F338 38 A1 00 0C */ addi r5, r1, 0xc -/* 802A23DC 0029F33C 38 C1 00 08 */ addi r6, r1, 8 -/* 802A23E0 0029F340 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802A23E4 0029F344 D0 01 00 08 */ stfs f0, 8(r1) -/* 802A23E8 0029F348 48 00 00 8D */ bl BoxLineTest__FRC6CAABoxRC5CLineRfRf -/* 802A23EC 0029F34C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A23F0 0029F350 41 82 00 5C */ beq lbl_802A244C -/* 802A23F4 0029F354 C0 FD 00 14 */ lfs f7, 0x14(r29) -/* 802A23F8 0029F358 FC 60 F8 90 */ fmr f3, f31 -/* 802A23FC 0029F35C C0 C2 C1 20 */ lfs f6, lbl_805ADE40@sda21(r2) -/* 802A2400 0029F360 7F 83 E3 78 */ mr r3, r28 -/* 802A2404 0029F364 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 802A2408 0029F368 7F A4 EB 78 */ mr r4, r29 -/* 802A240C 0029F36C C0 BD 00 0C */ lfs f5, 0xc(r29) -/* 802A2410 0029F370 EC 86 00 24 */ fdivs f4, f6, f0 -/* 802A2414 0029F374 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802A2418 0029F378 C0 42 C1 34 */ lfs f2, lbl_805ADE54@sda21(r2) -/* 802A241C 0029F37C 7F C5 F3 78 */ mr r5, r30 -/* 802A2420 0029F380 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A2424 0029F384 7F E6 FB 78 */ mr r6, r31 -/* 802A2428 0029F388 EC A6 28 24 */ fdivs f5, f6, f5 -/* 802A242C 0029F38C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 802A2430 0029F390 38 E1 00 10 */ addi r7, r1, 0x10 -/* 802A2434 0029F394 EC 86 38 24 */ fdivs f4, f6, f7 -/* 802A2438 0029F398 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802A243C 0029F39C EC 21 10 28 */ fsubs f1, f1, f2 -/* 802A2440 0029F3A0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802A2444 0029F3A4 EC 42 00 2A */ fadds f2, f2, f0 -/* 802A2448 0029F3A8 4B FF E5 C5 */ bl LineTestExInternal__Q212CAreaOctTree4NodeCFRC5CLineRC15CMaterialFilterRQ212CAreaOctTree10SRayResultfffRC9CVector3f -lbl_802A244C: -/* 802A244C 0029F3AC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802A2450 0029F3B0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A2454 0029F3B4 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802A2458 0029F3B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802A245C 0029F3BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802A2460 0029F3C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802A2464 0029F3C4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802A2468 0029F3C8 7C 08 03 A6 */ mtlr r0 -/* 802A246C 0029F3CC 38 21 00 40 */ addi r1, r1, 0x40 -/* 802A2470 0029F3D0 4E 80 00 20 */ blr - -.global BoxLineTest__FRC6CAABoxRC5CLineRfRf -BoxLineTest__FRC6CAABoxRC5CLineRfRf: -/* 802A2474 0029F3D4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802A2478 0029F3D8 7C 08 02 A6 */ mflr r0 -/* 802A247C 0029F3DC C0 22 C1 38 */ lfs f1, lbl_805ADE58@sda21(r2) -/* 802A2480 0029F3E0 90 01 00 44 */ stw r0, 0x44(r1) -/* 802A2484 0029F3E4 C0 02 C1 3C */ lfs f0, lbl_805ADE5C@sda21(r2) -/* 802A2488 0029F3E8 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 802A248C 0029F3EC 7C B9 2B 78 */ mr r25, r5 -/* 802A2490 0029F3F0 7C DA 33 78 */ mr r26, r6 -/* 802A2494 0029F3F4 7C 7D 1B 78 */ mr r29, r3 -/* 802A2498 0029F3F8 3B E1 00 08 */ addi r31, r1, 8 -/* 802A249C 0029F3FC 3B C1 00 14 */ addi r30, r1, 0x14 -/* 802A24A0 0029F400 3B 83 00 0C */ addi r28, r3, 0xc -/* 802A24A4 0029F404 3B 60 00 00 */ li r27, 0 -/* 802A24A8 0029F408 C0 E4 00 00 */ lfs f7, 0(r4) -/* 802A24AC 0029F40C C0 C4 00 04 */ lfs f6, 4(r4) -/* 802A24B0 0029F410 C0 A4 00 08 */ lfs f5, 8(r4) -/* 802A24B4 0029F414 C0 84 00 0C */ lfs f4, 0xc(r4) -/* 802A24B8 0029F418 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 802A24BC 0029F41C C0 44 00 14 */ lfs f2, 0x14(r4) -/* 802A24C0 0029F420 D0 E1 00 14 */ stfs f7, 0x14(r1) -/* 802A24C4 0029F424 D0 25 00 00 */ stfs f1, 0(r5) -/* 802A24C8 0029F428 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 802A24CC 0029F42C D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 802A24D0 0029F430 D0 81 00 08 */ stfs f4, 8(r1) -/* 802A24D4 0029F434 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 802A24D8 0029F438 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802A24DC 0029F43C D0 06 00 00 */ stfs f0, 0(r6) -lbl_802A24E0: -/* 802A24E0 0029F440 C0 3F 00 00 */ lfs f1, 0(r31) -/* 802A24E4 0029F444 C0 42 C1 24 */ lfs f2, lbl_805ADE44@sda21(r2) -/* 802A24E8 0029F448 C0 62 C1 34 */ lfs f3, lbl_805ADE54@sda21(r2) -/* 802A24EC 0029F44C 48 00 01 2D */ bl _close_enough__Ffff -/* 802A24F0 0029F450 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A24F4 0029F454 41 82 00 28 */ beq lbl_802A251C -/* 802A24F8 0029F458 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802A24FC 0029F45C C0 1D 00 00 */ lfs f0, 0(r29) -/* 802A2500 0029F460 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A2504 0029F464 41 80 00 10 */ blt lbl_802A2514 -/* 802A2508 0029F468 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802A250C 0029F46C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A2510 0029F470 40 81 00 C0 */ ble lbl_802A25D0 -lbl_802A2514: -/* 802A2514 0029F474 38 60 00 00 */ li r3, 0 -/* 802A2518 0029F478 48 00 00 EC */ b lbl_802A2604 -lbl_802A251C: -/* 802A251C 0029F47C C0 7F 00 00 */ lfs f3, 0(r31) -/* 802A2520 0029F480 C0 02 C1 24 */ lfs f0, lbl_805ADE44@sda21(r2) -/* 802A2524 0029F484 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A2528 0029F488 40 80 00 58 */ bge lbl_802A2580 -/* 802A252C 0029F48C C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A2530 0029F490 C0 19 00 00 */ lfs f0, 0(r25) -/* 802A2534 0029F494 EC A1 18 24 */ fdivs f5, f1, f3 -/* 802A2538 0029F498 C0 5C 00 00 */ lfs f2, 0(r28) -/* 802A253C 0029F49C C0 9E 00 00 */ lfs f4, 0(r30) -/* 802A2540 0029F4A0 C0 3D 00 00 */ lfs f1, 0(r29) -/* 802A2544 0029F4A4 EC 42 20 28 */ fsubs f2, f2, f4 -/* 802A2548 0029F4A8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 802A254C 0029F4AC EC 61 20 28 */ fsubs f3, f1, f4 -/* 802A2550 0029F4B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802A2554 0029F4B4 40 80 00 0C */ bge lbl_802A2560 -/* 802A2558 0029F4B8 EC 02 01 72 */ fmuls f0, f2, f5 -/* 802A255C 0029F4BC D0 19 00 00 */ stfs f0, 0(r25) -lbl_802A2560: -/* 802A2560 0029F4C0 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802A2564 0029F4C4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802A2568 0029F4C8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802A256C 0029F4CC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A2570 0029F4D0 40 81 00 60 */ ble lbl_802A25D0 -/* 802A2574 0029F4D4 EC 03 01 72 */ fmuls f0, f3, f5 -/* 802A2578 0029F4D8 D0 1A 00 00 */ stfs f0, 0(r26) -/* 802A257C 0029F4DC 48 00 00 54 */ b lbl_802A25D0 -lbl_802A2580: -/* 802A2580 0029F4E0 C0 22 C1 20 */ lfs f1, lbl_805ADE40@sda21(r2) -/* 802A2584 0029F4E4 C0 19 00 00 */ lfs f0, 0(r25) -/* 802A2588 0029F4E8 EC A1 18 24 */ fdivs f5, f1, f3 -/* 802A258C 0029F4EC C0 5D 00 00 */ lfs f2, 0(r29) -/* 802A2590 0029F4F0 C0 9E 00 00 */ lfs f4, 0(r30) -/* 802A2594 0029F4F4 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802A2598 0029F4F8 EC 42 20 28 */ fsubs f2, f2, f4 -/* 802A259C 0029F4FC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 802A25A0 0029F500 EC 61 20 28 */ fsubs f3, f1, f4 -/* 802A25A4 0029F504 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802A25A8 0029F508 40 81 00 0C */ ble lbl_802A25B4 -/* 802A25AC 0029F50C EC 02 01 72 */ fmuls f0, f2, f5 -/* 802A25B0 0029F510 D0 19 00 00 */ stfs f0, 0(r25) -lbl_802A25B4: -/* 802A25B4 0029F514 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802A25B8 0029F518 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802A25BC 0029F51C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802A25C0 0029F520 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A25C4 0029F524 40 80 00 0C */ bge lbl_802A25D0 -/* 802A25C8 0029F528 EC 03 01 72 */ fmuls f0, f3, f5 -/* 802A25CC 0029F52C D0 1A 00 00 */ stfs f0, 0(r26) -lbl_802A25D0: -/* 802A25D0 0029F530 3B 7B 00 01 */ addi r27, r27, 1 -/* 802A25D4 0029F534 3B DE 00 04 */ addi r30, r30, 4 -/* 802A25D8 0029F538 2C 1B 00 03 */ cmpwi r27, 3 -/* 802A25DC 0029F53C 3B BD 00 04 */ addi r29, r29, 4 -/* 802A25E0 0029F540 3B 9C 00 04 */ addi r28, r28, 4 -/* 802A25E4 0029F544 3B FF 00 04 */ addi r31, r31, 4 -/* 802A25E8 0029F548 41 80 FE F8 */ blt lbl_802A24E0 -/* 802A25EC 0029F54C C0 39 00 00 */ lfs f1, 0(r25) -/* 802A25F0 0029F550 C0 1A 00 00 */ lfs f0, 0(r26) -/* 802A25F4 0029F554 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A25F8 0029F558 4C 40 13 82 */ cror 2, 0, 2 -/* 802A25FC 0029F55C 7C 00 00 26 */ mfcr r0 -/* 802A2600 0029F560 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -lbl_802A2604: -/* 802A2604 0029F564 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 802A2608 0029F568 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A260C 0029F56C 7C 08 03 A6 */ mtlr r0 -/* 802A2610 0029F570 38 21 00 40 */ addi r1, r1, 0x40 -/* 802A2614 0029F574 4E 80 00 20 */ blr - -.global _close_enough__Ffff -_close_enough__Ffff: -/* 802A2618 0029F578 EC 01 10 28 */ fsubs f0, f1, f2 -/* 802A261C 0029F57C FC 00 02 10 */ fabs f0, f0 -/* 802A2620 0029F580 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802A2624 0029F584 4C 40 13 82 */ cror 2, 0, 2 -/* 802A2628 0029F588 7C 00 00 26 */ mfcr r0 -/* 802A262C 0029F58C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 802A2630 0029F590 4E 80 00 20 */ blr - -.global GetPlane__17CCollisionSurfaceCFv -GetPlane__17CCollisionSurfaceCFv: -/* 802A2634 0029F594 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A2638 0029F598 7C 08 02 A6 */ mflr r0 -/* 802A263C 0029F59C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A2640 0029F5A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A2644 0029F5A4 7C 9F 23 78 */ mr r31, r4 -/* 802A2648 0029F5A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A264C 0029F5AC 7C 7E 1B 78 */ mr r30, r3 -/* 802A2650 0029F5B0 38 61 00 08 */ addi r3, r1, 8 -/* 802A2654 0029F5B4 48 00 00 51 */ bl GetNormal__17CCollisionSurfaceCFv -/* 802A2658 0029F5B8 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 802A265C 0029F5BC C0 1F 00 04 */ lfs f0, 4(r31) -/* 802A2660 0029F5C0 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 802A2664 0029F5C4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802A2668 0029F5C8 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802A266C 0029F5CC C0 A1 00 08 */ lfs f5, 8(r1) -/* 802A2670 0029F5D0 C0 3F 00 00 */ lfs f1, 0(r31) -/* 802A2674 0029F5D4 D0 BE 00 00 */ stfs f5, 0(r30) -/* 802A2678 0029F5D8 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 802A267C 0029F5DC D0 7E 00 04 */ stfs f3, 4(r30) -/* 802A2680 0029F5E0 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 802A2684 0029F5E4 D0 9E 00 08 */ stfs f4, 8(r30) -/* 802A2688 0029F5E8 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802A268C 0029F5EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A2690 0029F5F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A2694 0029F5F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A2698 0029F5F8 7C 08 03 A6 */ mtlr r0 -/* 802A269C 0029F5FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A26A0 0029F600 4E 80 00 20 */ blr - -.global GetNormal__17CCollisionSurfaceCFv -GetNormal__17CCollisionSurfaceCFv: -/* 802A26A4 0029F604 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A26A8 0029F608 7C 08 02 A6 */ mflr r0 -/* 802A26AC 0029F60C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A26B0 0029F610 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 802A26B4 0029F614 C0 64 00 00 */ lfs f3, 0(r4) -/* 802A26B8 0029F618 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802A26BC 0029F61C EC A2 18 28 */ fsubs f5, f2, f3 -/* 802A26C0 0029F620 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 802A26C4 0029F624 C0 44 00 04 */ lfs f2, 4(r4) -/* 802A26C8 0029F628 ED 00 18 28 */ fsubs f8, f0, f3 -/* 802A26CC 0029F62C C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802A26D0 0029F630 EC 81 10 28 */ fsubs f4, f1, f2 -/* 802A26D4 0029F634 EC E0 10 28 */ fsubs f7, f0, f2 -/* 802A26D8 0029F638 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 802A26DC 0029F63C C0 C4 00 08 */ lfs f6, 8(r4) -/* 802A26E0 0029F640 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802A26E4 0029F644 38 81 00 08 */ addi r4, r1, 8 -/* 802A26E8 0029F648 EC 61 30 28 */ fsubs f3, f1, f6 -/* 802A26EC 0029F64C EC C0 30 28 */ fsubs f6, f0, f6 -/* 802A26F0 0029F650 EC 08 01 32 */ fmuls f0, f8, f4 -/* 802A26F4 0029F654 EC 47 00 F2 */ fmuls f2, f7, f3 -/* 802A26F8 0029F658 EC 26 01 72 */ fmuls f1, f6, f5 -/* 802A26FC 0029F65C EC 05 01 F8 */ fmsubs f0, f5, f7, f0 -/* 802A2700 0029F660 EC 44 11 B8 */ fmsubs f2, f4, f6, f2 -/* 802A2704 0029F664 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 -/* 802A2708 0029F668 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802A270C 0029F66C D0 41 00 08 */ stfs f2, 8(r1) -/* 802A2710 0029F670 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802A2714 0029F674 48 07 16 BD */ bl __ct__11CUnitVectorFRC9CVector3f -/* 802A2718 0029F678 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A271C 0029F67C 7C 08 03 A6 */ mtlr r0 -/* 802A2720 0029F680 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A2724 0029F684 4E 80 00 20 */ blr - -.global __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -__ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi: -/* 802A2728 0029F688 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A272C 0029F68C D0 03 00 00 */ stfs f0, 0(r3) -/* 802A2730 0029F690 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A2734 0029F694 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A2738 0029F698 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A273C 0029F69C D0 03 00 08 */ stfs f0, 8(r3) -/* 802A2740 0029F6A0 C0 05 00 00 */ lfs f0, 0(r5) -/* 802A2744 0029F6A4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802A2748 0029F6A8 C0 05 00 04 */ lfs f0, 4(r5) -/* 802A274C 0029F6AC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802A2750 0029F6B0 C0 05 00 08 */ lfs f0, 8(r5) -/* 802A2754 0029F6B4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A2758 0029F6B8 C0 06 00 00 */ lfs f0, 0(r6) -/* 802A275C 0029F6BC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802A2760 0029F6C0 C0 06 00 04 */ lfs f0, 4(r6) -/* 802A2764 0029F6C4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802A2768 0029F6C8 C0 06 00 08 */ lfs f0, 8(r6) -/* 802A276C 0029F6CC D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802A2770 0029F6D0 90 E3 00 24 */ stw r7, 0x24(r3) -/* 802A2774 0029F6D4 4E 80 00 20 */ blr - -.global "__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector" -"__ct__21CMetroidModelInstanceFPCvPCvPCvPCvPCvPCvPCvRCQ24rstl37vector": -/* 802A2778 0029F6D8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802A277C 0029F6DC 7C 08 02 A6 */ mflr r0 -/* 802A2780 0029F6E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 802A2784 0029F6E4 BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 802A2788 0029F6E8 7C 97 23 78 */ mr r23, r4 -/* 802A278C 0029F6EC 83 E1 00 58 */ lwz r31, 0x58(r1) -/* 802A2790 0029F6F0 7C 79 1B 78 */ mr r25, r3 -/* 802A2794 0029F6F4 7C B8 2B 78 */ mr r24, r5 -/* 802A2798 0029F6F8 7C DA 33 78 */ mr r26, r6 -/* 802A279C 0029F6FC 7C FB 3B 78 */ mr r27, r7 -/* 802A27A0 0029F700 7D 1C 43 78 */ mr r28, r8 -/* 802A27A4 0029F704 7D 3D 4B 78 */ mr r29, r9 -/* 802A27A8 0029F708 7D 5E 53 78 */ mr r30, r10 -/* 802A27AC 0029F70C 80 04 00 00 */ lwz r0, 0(r4) -/* 802A27B0 0029F710 90 03 00 00 */ stw r0, 0(r3) -/* 802A27B4 0029F714 38 77 00 04 */ addi r3, r23, 4 -/* 802A27B8 0029F718 48 00 01 65 */ bl nullsub_30 -/* 802A27BC 0029F71C 7C 64 1B 78 */ mr r4, r3 -/* 802A27C0 0029F720 38 79 00 04 */ addi r3, r25, 4 -/* 802A27C4 0029F724 48 07 03 B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802A27C8 0029F728 38 61 00 08 */ addi r3, r1, 8 -/* 802A27CC 0029F72C 38 97 00 34 */ addi r4, r23, 0x34 -/* 802A27D0 0029F730 48 00 00 F9 */ bl sub_802a28c8 -/* 802A27D4 0029F734 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A27D8 0029F738 D0 19 00 34 */ stfs f0, 0x34(r25) -/* 802A27DC 0029F73C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A27E0 0029F740 D0 19 00 38 */ stfs f0, 0x38(r25) -/* 802A27E4 0029F744 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A27E8 0029F748 D0 19 00 3C */ stfs f0, 0x3c(r25) -/* 802A27EC 0029F74C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802A27F0 0029F750 D0 19 00 40 */ stfs f0, 0x40(r25) -/* 802A27F4 0029F754 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802A27F8 0029F758 D0 19 00 44 */ stfs f0, 0x44(r25) -/* 802A27FC 0029F75C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A2800 0029F760 D0 19 00 48 */ stfs f0, 0x48(r25) -/* 802A2804 0029F764 93 19 00 4C */ stw r24, 0x4c(r25) -/* 802A2808 0029F768 80 1F 00 04 */ lwz r0, 4(r31) -/* 802A280C 0029F76C 90 19 00 54 */ stw r0, 0x54(r25) -/* 802A2810 0029F770 80 1F 00 08 */ lwz r0, 8(r31) -/* 802A2814 0029F774 90 19 00 58 */ stw r0, 0x58(r25) -/* 802A2818 0029F778 80 1F 00 04 */ lwz r0, 4(r31) -/* 802A281C 0029F77C 2C 00 00 00 */ cmpwi r0, 0 -/* 802A2820 0029F780 40 82 00 1C */ bne lbl_802A283C -/* 802A2824 0029F784 80 1F 00 08 */ lwz r0, 8(r31) -/* 802A2828 0029F788 2C 00 00 00 */ cmpwi r0, 0 -/* 802A282C 0029F78C 40 82 00 10 */ bne lbl_802A283C -/* 802A2830 0029F790 38 00 00 00 */ li r0, 0 -/* 802A2834 0029F794 90 19 00 5C */ stw r0, 0x5c(r25) -/* 802A2838 0029F798 48 00 00 64 */ b lbl_802A289C -lbl_802A283C: -/* 802A283C 0029F79C 80 19 00 58 */ lwz r0, 0x58(r25) -/* 802A2840 0029F7A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802A2844 0029F7A4 40 82 00 10 */ bne lbl_802A2854 -/* 802A2848 0029F7A8 38 00 00 00 */ li r0, 0 -/* 802A284C 0029F7AC 90 19 00 5C */ stw r0, 0x5c(r25) -/* 802A2850 0029F7B0 48 00 00 18 */ b lbl_802A2868 -lbl_802A2854: -/* 802A2854 0029F7B4 3C 80 80 3D */ lis r4, lbl_803D6018@ha -/* 802A2858 0029F7B8 38 A0 00 00 */ li r5, 0 -/* 802A285C 0029F7BC 38 84 60 18 */ addi r4, r4, lbl_803D6018@l -/* 802A2860 0029F7C0 48 07 2F B9 */ bl __nwa__FUlPCcPCc -/* 802A2864 0029F7C4 90 79 00 5C */ stw r3, 0x5c(r25) -lbl_802A2868: -/* 802A2868 0029F7C8 80 19 00 54 */ lwz r0, 0x54(r25) -/* 802A286C 0029F7CC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802A2870 0029F7D0 80 79 00 5C */ lwz r3, 0x5c(r25) -/* 802A2874 0029F7D4 7C 09 03 A6 */ mtctr r0 -/* 802A2878 0029F7D8 2C 00 00 00 */ cmpwi r0, 0 -/* 802A287C 0029F7DC 40 81 00 20 */ ble lbl_802A289C -lbl_802A2880: -/* 802A2880 0029F7E0 28 03 00 00 */ cmplwi r3, 0 -/* 802A2884 0029F7E4 41 82 00 0C */ beq lbl_802A2890 -/* 802A2888 0029F7E8 80 04 00 00 */ lwz r0, 0(r4) -/* 802A288C 0029F7EC 90 03 00 00 */ stw r0, 0(r3) -lbl_802A2890: -/* 802A2890 0029F7F0 38 63 00 04 */ addi r3, r3, 4 -/* 802A2894 0029F7F4 38 84 00 04 */ addi r4, r4, 4 -/* 802A2898 0029F7F8 42 00 FF E8 */ bdnz lbl_802A2880 -lbl_802A289C: -/* 802A289C 0029F7FC 93 59 00 60 */ stw r26, 0x60(r25) -/* 802A28A0 0029F800 7F 23 CB 78 */ mr r3, r25 -/* 802A28A4 0029F804 93 79 00 64 */ stw r27, 0x64(r25) -/* 802A28A8 0029F808 93 99 00 68 */ stw r28, 0x68(r25) -/* 802A28AC 0029F80C 93 B9 00 6C */ stw r29, 0x6c(r25) -/* 802A28B0 0029F810 93 D9 00 70 */ stw r30, 0x70(r25) -/* 802A28B4 0029F814 BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 802A28B8 0029F818 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802A28BC 0029F81C 7C 08 03 A6 */ mtlr r0 -/* 802A28C0 0029F820 38 21 00 50 */ addi r1, r1, 0x50 -/* 802A28C4 0029F824 4E 80 00 20 */ blr - -.global sub_802a28c8 -sub_802a28c8: -/* 802A28C8 0029F828 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A28CC 0029F82C C0 24 00 00 */ lfs f1, 0(r4) -/* 802A28D0 0029F830 C0 A4 00 04 */ lfs f5, 4(r4) -/* 802A28D4 0029F834 C0 84 00 08 */ lfs f4, 8(r4) -/* 802A28D8 0029F838 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 802A28DC 0029F83C C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802A28E0 0029F840 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A28E4 0029F844 D0 21 00 08 */ stfs f1, 8(r1) -/* 802A28E8 0029F848 D0 23 00 00 */ stfs f1, 0(r3) -/* 802A28EC 0029F84C D0 A3 00 04 */ stfs f5, 4(r3) -/* 802A28F0 0029F850 D0 83 00 08 */ stfs f4, 8(r3) -/* 802A28F4 0029F854 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 802A28F8 0029F858 D0 43 00 10 */ stfs f2, 0x10(r3) -/* 802A28FC 0029F85C D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802A2900 0029F860 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802A2904 0029F864 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802A2908 0029F868 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802A290C 0029F86C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802A2910 0029F870 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A2914 0029F874 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A2918 0029F878 4E 80 00 20 */ blr - -.global nullsub_30 -nullsub_30: -/* 802A291C 0029F87C 4E 80 00 20 */ blr - -.global sub_802a2920 -sub_802a2920: -/* 802A2920 0029F880 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A2924 0029F884 7C 08 02 A6 */ mflr r0 -/* 802A2928 0029F888 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A292C 0029F88C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A2930 0029F890 7C 9F 23 78 */ mr r31, r4 -/* 802A2934 0029F894 93 C1 00 08 */ stw r30, 8(r1) -/* 802A2938 0029F898 7C 7E 1B 78 */ mr r30, r3 -/* 802A293C 0029F89C 7F E3 FB 78 */ mr r3, r31 -/* 802A2940 0029F8A0 48 09 C3 45 */ bl ReadLong__12CInputStreamFv -/* 802A2944 0029F8A4 7F E3 FB 78 */ mr r3, r31 -/* 802A2948 0029F8A8 48 09 C3 69 */ bl ReadShort__12CInputStreamFv -/* 802A294C 0029F8AC 7F E3 FB 78 */ mr r3, r31 -/* 802A2950 0029F8B0 48 09 C3 61 */ bl ReadShort__12CInputStreamFv -/* 802A2954 0029F8B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A2958 0029F8B8 7F C3 F3 78 */ mr r3, r30 -/* 802A295C 0029F8BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A2960 0029F8C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A2964 0029F8C4 7C 08 03 A6 */ mtlr r0 -/* 802A2968 0029F8C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A296C 0029F8CC 4E 80 00 20 */ blr - -.global GetTriangleEdgeIndices__12CAreaOctTreeCFUs -GetTriangleEdgeIndices__12CAreaOctTreeCFUs: -/* 802A2970 0029F8D0 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802A2974 0029F8D4 80 63 00 44 */ lwz r3, 0x44(r3) -/* 802A2978 0029F8D8 1C 00 00 06 */ mulli r0, r0, 6 -/* 802A297C 0029F8DC 7C 63 02 14 */ add r3, r3, r0 -/* 802A2980 0029F8E0 4E 80 00 20 */ blr - -.global GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs -GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs: -/* 802A2984 0029F8E4 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802A2988 0029F8E8 81 03 00 44 */ lwz r8, 0x44(r3) -/* 802A298C 0029F8EC 1C 00 00 03 */ mulli r0, r0, 3 -/* 802A2990 0029F8F0 81 23 00 3C */ lwz r9, 0x3c(r3) -/* 802A2994 0029F8F4 38 C0 00 00 */ li r6, 0 -/* 802A2998 0029F8F8 54 00 08 3C */ slwi r0, r0, 1 -/* 802A299C 0029F8FC 7C E8 02 14 */ add r7, r8, r0 -/* 802A29A0 0029F900 7D 08 02 2E */ lhzx r8, r8, r0 -/* 802A29A4 0029F904 A0 07 00 02 */ lhz r0, 2(r7) -/* 802A29A8 0029F908 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d -/* 802A29AC 0029F90C 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d -/* 802A29B0 0029F910 7D 09 3A 14 */ add r8, r9, r7 -/* 802A29B4 0029F914 7D 29 02 14 */ add r9, r9, r0 -/* 802A29B8 0029F918 A0 08 00 00 */ lhz r0, 0(r8) -/* 802A29BC 0029F91C A0 E9 00 00 */ lhz r7, 0(r9) -/* 802A29C0 0029F920 7C 07 00 40 */ cmplw r7, r0 -/* 802A29C4 0029F924 41 82 00 14 */ beq lbl_802A29D8 -/* 802A29C8 0029F928 A0 08 00 02 */ lhz r0, 2(r8) -/* 802A29CC 0029F92C 7C 07 00 40 */ cmplw r7, r0 -/* 802A29D0 0029F930 41 82 00 08 */ beq lbl_802A29D8 -/* 802A29D4 0029F934 38 C0 00 01 */ li r6, 1 -lbl_802A29D8: -/* 802A29D8 0029F938 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 802A29DC 0029F93C 41 82 00 08 */ beq lbl_802A29E4 -/* 802A29E0 0029F940 48 00 00 08 */ b lbl_802A29E8 -lbl_802A29E4: -/* 802A29E4 0029F944 A0 E9 00 02 */ lhz r7, 2(r9) -lbl_802A29E8: -/* 802A29E8 0029F948 B0 E5 00 04 */ sth r7, 4(r5) -/* 802A29EC 0029F94C 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802A29F0 0029F950 80 83 00 34 */ lwz r4, 0x34(r3) -/* 802A29F4 0029F954 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802A29F8 0029F958 7C 04 00 AE */ lbzx r0, r4, r0 -/* 802A29FC 0029F95C 54 00 10 3A */ slwi r0, r0, 2 -/* 802A2A00 0029F960 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802A2A04 0029F964 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 -/* 802A2A08 0029F968 41 82 00 18 */ beq lbl_802A2A20 -/* 802A2A0C 0029F96C A0 08 00 02 */ lhz r0, 2(r8) -/* 802A2A10 0029F970 B0 05 00 00 */ sth r0, 0(r5) -/* 802A2A14 0029F974 A0 08 00 00 */ lhz r0, 0(r8) -/* 802A2A18 0029F978 B0 05 00 02 */ sth r0, 2(r5) -/* 802A2A1C 0029F97C 4E 80 00 20 */ blr -lbl_802A2A20: -/* 802A2A20 0029F980 A0 08 00 00 */ lhz r0, 0(r8) -/* 802A2A24 0029F984 B0 05 00 00 */ sth r0, 0(r5) -/* 802A2A28 0029F988 A0 08 00 02 */ lhz r0, 2(r8) -/* 802A2A2C 0029F98C B0 05 00 02 */ sth r0, 2(r5) -/* 802A2A30 0029F990 4E 80 00 20 */ blr - -.global GetMasterListTriangle__12CAreaOctTreeCFUs -GetMasterListTriangle__12CAreaOctTreeCFUs: -/* 802A2A34 0029F994 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A2A38 0029F998 7C 08 02 A6 */ mflr r0 -/* 802A2A3C 0029F99C 38 C0 00 00 */ li r6, 0 -/* 802A2A40 0029F9A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A2A44 0029F9A4 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 802A2A48 0029F9A8 1C 00 00 03 */ mulli r0, r0, 3 -/* 802A2A4C 0029F9AC 81 04 00 44 */ lwz r8, 0x44(r4) -/* 802A2A50 0029F9B0 81 24 00 3C */ lwz r9, 0x3c(r4) -/* 802A2A54 0029F9B4 54 00 08 3C */ slwi r0, r0, 1 -/* 802A2A58 0029F9B8 7C E8 02 14 */ add r7, r8, r0 -/* 802A2A5C 0029F9BC 7D 08 02 2E */ lhzx r8, r8, r0 -/* 802A2A60 0029F9C0 A0 07 00 02 */ lhz r0, 2(r7) -/* 802A2A64 0029F9C4 55 07 13 BA */ rlwinm r7, r8, 2, 0xe, 0x1d -/* 802A2A68 0029F9C8 54 00 13 BA */ rlwinm r0, r0, 2, 0xe, 0x1d -/* 802A2A6C 0029F9CC 7D 49 3A 14 */ add r10, r9, r7 -/* 802A2A70 0029F9D0 7C E9 02 14 */ add r7, r9, r0 -/* 802A2A74 0029F9D4 A1 2A 00 00 */ lhz r9, 0(r10) -/* 802A2A78 0029F9D8 A1 07 00 00 */ lhz r8, 0(r7) -/* 802A2A7C 0029F9DC 7C 08 48 40 */ cmplw r8, r9 -/* 802A2A80 0029F9E0 41 82 00 14 */ beq lbl_802A2A94 -/* 802A2A84 0029F9E4 A0 0A 00 02 */ lhz r0, 2(r10) -/* 802A2A88 0029F9E8 7C 08 00 40 */ cmplw r8, r0 -/* 802A2A8C 0029F9EC 41 82 00 08 */ beq lbl_802A2A94 -/* 802A2A90 0029F9F0 38 C0 00 01 */ li r6, 1 -lbl_802A2A94: -/* 802A2A94 0029F9F4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 802A2A98 0029F9F8 41 82 00 08 */ beq lbl_802A2AA0 -/* 802A2A9C 0029F9FC 48 00 00 08 */ b lbl_802A2AA4 -lbl_802A2AA0: -/* 802A2AA0 0029FA00 A1 07 00 02 */ lhz r8, 2(r7) -lbl_802A2AA4: -/* 802A2AA4 0029FA04 80 C4 00 34 */ lwz r6, 0x34(r4) -/* 802A2AA8 0029FA08 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 802A2AAC 0029FA0C 80 A4 00 28 */ lwz r5, 0x28(r4) -/* 802A2AB0 0029FA10 7C 06 00 AE */ lbzx r0, r6, r0 -/* 802A2AB4 0029FA14 54 00 10 3A */ slwi r0, r0, 2 -/* 802A2AB8 0029FA18 7C E5 00 2E */ lwzx r7, r5, r0 -/* 802A2ABC 0029FA1C 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 -/* 802A2AC0 0029FA20 41 82 00 30 */ beq lbl_802A2AF0 -/* 802A2AC4 0029FA24 A0 CA 00 02 */ lhz r6, 2(r10) -/* 802A2AC8 0029FA28 55 00 04 3E */ clrlwi r0, r8, 0x10 -/* 802A2ACC 0029FA2C 81 04 00 4C */ lwz r8, 0x4c(r4) -/* 802A2AD0 0029FA30 1C A9 00 0C */ mulli r5, r9, 0xc -/* 802A2AD4 0029FA34 1C 86 00 0C */ mulli r4, r6, 0xc -/* 802A2AD8 0029FA38 7C A8 2A 14 */ add r5, r8, r5 -/* 802A2ADC 0029FA3C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A2AE0 0029FA40 7C 88 22 14 */ add r4, r8, r4 -/* 802A2AE4 0029FA44 7C C8 02 14 */ add r6, r8, r0 -/* 802A2AE8 0029FA48 4B FF FC 41 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 802A2AEC 0029FA4C 48 00 00 2C */ b lbl_802A2B18 -lbl_802A2AF0: -/* 802A2AF0 0029FA50 A0 AA 00 02 */ lhz r5, 2(r10) -/* 802A2AF4 0029FA54 55 00 04 3E */ clrlwi r0, r8, 0x10 -/* 802A2AF8 0029FA58 1C C9 00 0C */ mulli r6, r9, 0xc -/* 802A2AFC 0029FA5C 81 04 00 4C */ lwz r8, 0x4c(r4) -/* 802A2B00 0029FA60 1C A5 00 0C */ mulli r5, r5, 0xc -/* 802A2B04 0029FA64 7C 88 32 14 */ add r4, r8, r6 -/* 802A2B08 0029FA68 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A2B0C 0029FA6C 7C A8 2A 14 */ add r5, r8, r5 -/* 802A2B10 0029FA70 7C C8 02 14 */ add r6, r8, r0 -/* 802A2B14 0029FA74 4B FF FC 15 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -lbl_802A2B18: -/* 802A2B18 0029FA78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A2B1C 0029FA7C 7C 08 03 A6 */ mtlr r0 -/* 802A2B20 0029FA80 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A2B24 0029FA84 4E 80 00 20 */ blr - -.global MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb -MakeFromMemory__12CAreaOctTreeFPvUiPP12CAreaOctTreePb: -/* 802A2B28 0029FA88 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802A2B2C 0029FA8C 7C 08 02 A6 */ mflr r0 -/* 802A2B30 0029FA90 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802A2B34 0029FA94 7C 80 23 78 */ mr r0, r4 -/* 802A2B38 0029FA98 BE 01 00 70 */ stmw r16, 0x70(r1) -/* 802A2B3C 0029FA9C 7C 7D 1B 78 */ mr r29, r3 -/* 802A2B40 0029FAA0 7C BE 2B 78 */ mr r30, r5 -/* 802A2B44 0029FAA4 7C DF 33 78 */ mr r31, r6 -/* 802A2B48 0029FAA8 7F A4 EB 78 */ mr r4, r29 -/* 802A2B4C 0029FAAC 7C 05 03 78 */ mr r5, r0 -/* 802A2B50 0029FAB0 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2B54 0029FAB4 38 C0 00 01 */ li r6, 1 -/* 802A2B58 0029FAB8 48 09 C6 B5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 802A2B5C 0029FABC 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2B60 0029FAC0 48 09 C1 25 */ bl ReadLong__12CInputStreamFv -/* 802A2B64 0029FAC4 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2B68 0029FAC8 48 09 C1 1D */ bl ReadLong__12CInputStreamFv -/* 802A2B6C 0029FACC 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A2B70 0029FAD0 38 81 00 40 */ addi r4, r1, 0x40 -/* 802A2B74 0029FAD4 48 09 59 C9 */ bl __ct__6CAABoxFR12CInputStream -/* 802A2B78 0029FAD8 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2B7C 0029FADC 48 09 C1 09 */ bl ReadLong__12CInputStreamFv -/* 802A2B80 0029FAE0 7C 60 1B 78 */ mr r0, r3 -/* 802A2B84 0029FAE4 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2B88 0029FAE8 7C 1C 03 78 */ mr r28, r0 -/* 802A2B8C 0029FAEC 48 09 C0 F9 */ bl ReadLong__12CInputStreamFv -/* 802A2B90 0029FAF0 80 01 00 58 */ lwz r0, 0x58(r1) -/* 802A2B94 0029FAF4 3C C0 AA AB */ lis r6, 0xAAAAAAAB@ha -/* 802A2B98 0029FAF8 3C 80 80 3D */ lis r4, lbl_803D6020@ha -/* 802A2B9C 0029FAFC 38 A0 00 00 */ li r5, 0 -/* 802A2BA0 0029FB00 7F 7D 02 14 */ add r27, r29, r0 -/* 802A2BA4 0029FB04 38 C6 AA AB */ addi r6, r6, 0xAAAAAAAB@l -/* 802A2BA8 0029FB08 7C 7B 1A 14 */ add r3, r27, r3 -/* 802A2BAC 0029FB0C 38 84 60 20 */ addi r4, r4, lbl_803D6020@l -/* 802A2BB0 0029FB10 83 43 00 00 */ lwz r26, 0(r3) -/* 802A2BB4 0029FB14 3B 23 00 04 */ addi r25, r3, 4 -/* 802A2BB8 0029FB18 38 60 00 50 */ li r3, 0x50 -/* 802A2BBC 0029FB1C 57 40 10 3A */ slwi r0, r26, 2 -/* 802A2BC0 0029FB20 7C F9 02 14 */ add r7, r25, r0 -/* 802A2BC4 0029FB24 80 07 00 00 */ lwz r0, 0(r7) -/* 802A2BC8 0029FB28 3B 07 00 04 */ addi r24, r7, 4 -/* 802A2BCC 0029FB2C 7C F8 02 14 */ add r7, r24, r0 -/* 802A2BD0 0029FB30 80 07 00 00 */ lwz r0, 0(r7) -/* 802A2BD4 0029FB34 3A E7 00 04 */ addi r23, r7, 4 -/* 802A2BD8 0029FB38 7C F7 02 14 */ add r7, r23, r0 -/* 802A2BDC 0029FB3C 80 07 00 00 */ lwz r0, 0(r7) -/* 802A2BE0 0029FB40 3A C7 00 04 */ addi r22, r7, 4 -/* 802A2BE4 0029FB44 7C F6 02 14 */ add r7, r22, r0 -/* 802A2BE8 0029FB48 82 A7 00 00 */ lwz r21, 0(r7) -/* 802A2BEC 0029FB4C 3A 87 00 04 */ addi r20, r7, 4 -/* 802A2BF0 0029FB50 56 A0 10 3A */ slwi r0, r21, 2 -/* 802A2BF4 0029FB54 7C F4 02 14 */ add r7, r20, r0 -/* 802A2BF8 0029FB58 80 07 00 00 */ lwz r0, 0(r7) -/* 802A2BFC 0029FB5C 3A 47 00 04 */ addi r18, r7, 4 -/* 802A2C00 0029FB60 7C 06 00 16 */ mulhwu r0, r6, r0 -/* 802A2C04 0029FB64 54 13 F8 7E */ srwi r19, r0, 1 -/* 802A2C08 0029FB68 1C 13 00 06 */ mulli r0, r19, 6 -/* 802A2C0C 0029FB6C 7C D2 02 14 */ add r6, r18, r0 -/* 802A2C10 0029FB70 82 26 00 00 */ lwz r17, 0(r6) -/* 802A2C14 0029FB74 3A 06 00 04 */ addi r16, r6, 4 -/* 802A2C18 0029FB78 48 07 2C 55 */ bl __nw__FUlPCcPCc -/* 802A2C1C 0029FB7C 7C 60 1B 79 */ or. r0, r3, r3 -/* 802A2C20 0029FB80 41 82 00 48 */ beq lbl_802A2C68 -/* 802A2C24 0029FB84 92 E1 00 08 */ stw r23, 8(r1) -/* 802A2C28 0029FB88 7F 85 E3 78 */ mr r5, r28 -/* 802A2C2C 0029FB8C 7F A6 EB 78 */ mr r6, r29 -/* 802A2C30 0029FB90 7F 67 DB 78 */ mr r7, r27 -/* 802A2C34 0029FB94 92 C1 00 0C */ stw r22, 0xc(r1) -/* 802A2C38 0029FB98 7F 48 D3 78 */ mr r8, r26 -/* 802A2C3C 0029FB9C 7F 29 CB 78 */ mr r9, r25 -/* 802A2C40 0029FBA0 7F 0A C3 78 */ mr r10, r24 -/* 802A2C44 0029FBA4 92 A1 00 10 */ stw r21, 0x10(r1) -/* 802A2C48 0029FBA8 38 81 00 28 */ addi r4, r1, 0x28 -/* 802A2C4C 0029FBAC 92 81 00 14 */ stw r20, 0x14(r1) -/* 802A2C50 0029FBB0 92 61 00 18 */ stw r19, 0x18(r1) -/* 802A2C54 0029FBB4 92 41 00 1C */ stw r18, 0x1c(r1) -/* 802A2C58 0029FBB8 92 21 00 20 */ stw r17, 0x20(r1) -/* 802A2C5C 0029FBBC 92 01 00 24 */ stw r16, 0x24(r1) -/* 802A2C60 0029FBC0 48 00 00 41 */ bl __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f -/* 802A2C64 0029FBC4 7C 60 1B 78 */ mr r0, r3 -lbl_802A2C68: -/* 802A2C68 0029FBC8 90 1E 00 00 */ stw r0, 0(r30) -/* 802A2C6C 0029FBCC 38 00 00 01 */ li r0, 1 -/* 802A2C70 0029FBD0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 802A2C74 0029FBD4 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A2C78 0029FBD8 98 1F 00 00 */ stb r0, 0(r31) -/* 802A2C7C 0029FBDC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 802A2C80 0029FBE0 38 80 00 00 */ li r4, 0 -/* 802A2C84 0029FBE4 90 01 00 40 */ stw r0, 0x40(r1) -/* 802A2C88 0029FBE8 48 09 C4 25 */ bl __dt__12CInputStreamFv -/* 802A2C8C 0029FBEC BA 01 00 70 */ lmw r16, 0x70(r1) -/* 802A2C90 0029FBF0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802A2C94 0029FBF4 7C 08 03 A6 */ mtlr r0 -/* 802A2C98 0029FBF8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802A2C9C 0029FBFC 4E 80 00 20 */ blr - -.global __ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f -__ct__12CAreaOctTreeFRC6CAABoxQ312CAreaOctTree4Node9ETreeTypePUcPvUiPUiPUcPUcPUcUiP14CCollisionEdgeUiPUsUiP9CVector3f: -/* 802A2CA0 0029FC00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A2CA4 0029FC04 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802A2CA8 0029FC08 83 61 00 28 */ lwz r27, 0x28(r1) -/* 802A2CAC 0029FC0C 83 81 00 2C */ lwz r28, 0x2c(r1) -/* 802A2CB0 0029FC10 83 A1 00 30 */ lwz r29, 0x30(r1) -/* 802A2CB4 0029FC14 83 C1 00 34 */ lwz r30, 0x34(r1) -/* 802A2CB8 0029FC18 83 E1 00 38 */ lwz r31, 0x38(r1) -/* 802A2CBC 0029FC1C 81 81 00 3C */ lwz r12, 0x3c(r1) -/* 802A2CC0 0029FC20 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A2CC4 0029FC24 81 61 00 40 */ lwz r11, 0x40(r1) -/* 802A2CC8 0029FC28 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A2CCC 0029FC2C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A2CD0 0029FC30 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A2CD4 0029FC34 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A2CD8 0029FC38 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A2CDC 0029FC3C D0 03 00 08 */ stfs f0, 8(r3) -/* 802A2CE0 0029FC40 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A2CE4 0029FC44 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802A2CE8 0029FC48 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A2CEC 0029FC4C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802A2CF0 0029FC50 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A2CF4 0029FC54 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A2CF8 0029FC58 90 A3 00 18 */ stw r5, 0x18(r3) -/* 802A2CFC 0029FC5C 90 C3 00 1C */ stw r6, 0x1c(r3) -/* 802A2D00 0029FC60 90 E3 00 20 */ stw r7, 0x20(r3) -/* 802A2D04 0029FC64 91 03 00 24 */ stw r8, 0x24(r3) -/* 802A2D08 0029FC68 91 23 00 28 */ stw r9, 0x28(r3) -/* 802A2D0C 0029FC6C 91 43 00 2C */ stw r10, 0x2c(r3) -/* 802A2D10 0029FC70 93 63 00 30 */ stw r27, 0x30(r3) -/* 802A2D14 0029FC74 93 83 00 34 */ stw r28, 0x34(r3) -/* 802A2D18 0029FC78 93 A3 00 38 */ stw r29, 0x38(r3) -/* 802A2D1C 0029FC7C 93 C3 00 3C */ stw r30, 0x3c(r3) -/* 802A2D20 0029FC80 93 E3 00 40 */ stw r31, 0x40(r3) -/* 802A2D24 0029FC84 91 83 00 44 */ stw r12, 0x44(r3) -/* 802A2D28 0029FC88 91 63 00 48 */ stw r11, 0x48(r3) -/* 802A2D2C 0029FC8C 90 03 00 4C */ stw r0, 0x4c(r3) -/* 802A2D30 0029FC90 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802A2D34 0029FC94 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A2D38 0029FC98 4E 80 00 20 */ blr - -.global GetTriangleArray__Q212CAreaOctTree4NodeCFv -GetTriangleArray__Q212CAreaOctTree4NodeCFv: -/* 802A2D3C 0029FC9C 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802A2D40 0029FCA0 2C 00 00 02 */ cmpwi r0, 2 -/* 802A2D44 0029FCA4 41 82 00 10 */ beq lbl_802A2D54 -/* 802A2D48 0029FCA8 38 02 C1 40 */ addi r0, r2, lbl_805ADE60@sda21 -/* 802A2D4C 0029FCAC 90 03 00 00 */ stw r0, 0(r3) -/* 802A2D50 0029FCB0 4E 80 00 20 */ blr -lbl_802A2D54: -/* 802A2D54 0029FCB4 80 04 00 18 */ lwz r0, 0x18(r4) -/* 802A2D58 0029FCB8 90 03 00 00 */ stw r0, 0(r3) -/* 802A2D5C 0029FCBC 4E 80 00 20 */ blr - -.global GetChild__Q212CAreaOctTree4NodeCFi -GetChild__Q212CAreaOctTree4NodeCFi: -/* 802A2D60 0029FCC0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802A2D64 0029FCC4 7C 08 02 A6 */ mflr r0 -/* 802A2D68 0029FCC8 90 01 00 44 */ stw r0, 0x44(r1) -/* 802A2D6C 0029FCCC 54 A0 10 3A */ slwi r0, r5, 2 -/* 802A2D70 0029FCD0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802A2D74 0029FCD4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802A2D78 0029FCD8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802A2D7C 0029FCDC 7C 9D 23 78 */ mr r29, r4 -/* 802A2D80 0029FCE0 93 81 00 30 */ stw r28, 0x30(r1) -/* 802A2D84 0029FCE4 7C 7C 1B 78 */ mr r28, r3 -/* 802A2D88 0029FCE8 80 E4 00 18 */ lwz r7, 0x18(r4) -/* 802A2D8C 0029FCEC 54 A4 08 3C */ slwi r4, r5, 1 -/* 802A2D90 0029FCF0 A0 C7 00 00 */ lhz r6, 0(r7) -/* 802A2D94 0029FCF4 7C 67 02 14 */ add r3, r7, r0 -/* 802A2D98 0029FCF8 80 63 00 04 */ lwz r3, 4(r3) -/* 802A2D9C 0029FCFC 7C C0 26 30 */ sraw r0, r6, r4 -/* 802A2DA0 0029FD00 54 1F 07 BE */ clrlwi r31, r0, 0x1e -/* 802A2DA4 0029FD04 3B C3 00 24 */ addi r30, r3, 0x24 -/* 802A2DA8 0029FD08 2C 1F 00 02 */ cmpwi r31, 2 -/* 802A2DAC 0029FD0C 7F C7 F2 14 */ add r30, r7, r30 -/* 802A2DB0 0029FD10 40 82 00 48 */ bne lbl_802A2DF8 -/* 802A2DB4 0029FD14 C0 3E 00 04 */ lfs f1, 4(r30) -/* 802A2DB8 0029FD18 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802A2DBC 0029FD1C C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 802A2DC0 0029FD20 C0 9E 00 10 */ lfs f4, 0x10(r30) -/* 802A2DC4 0029FD24 C0 BE 00 14 */ lfs f5, 0x14(r30) -/* 802A2DC8 0029FD28 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 802A2DCC 0029FD2C C0 1E 00 00 */ lfs f0, 0(r30) -/* 802A2DD0 0029FD30 D0 1C 00 00 */ stfs f0, 0(r28) -/* 802A2DD4 0029FD34 D0 3C 00 04 */ stfs f1, 4(r28) -/* 802A2DD8 0029FD38 D0 5C 00 08 */ stfs f2, 8(r28) -/* 802A2DDC 0029FD3C D0 7C 00 0C */ stfs f3, 0xc(r28) -/* 802A2DE0 0029FD40 D0 9C 00 10 */ stfs f4, 0x10(r28) -/* 802A2DE4 0029FD44 D0 BC 00 14 */ stfs f5, 0x14(r28) -/* 802A2DE8 0029FD48 93 DC 00 18 */ stw r30, 0x18(r28) -/* 802A2DEC 0029FD4C 90 1C 00 1C */ stw r0, 0x1c(r28) -/* 802A2DF0 0029FD50 93 FC 00 20 */ stw r31, 0x20(r28) -/* 802A2DF4 0029FD54 48 00 00 9C */ b lbl_802A2E90 -lbl_802A2DF8: -/* 802A2DF8 0029FD58 C0 7D 00 04 */ lfs f3, 4(r29) -/* 802A2DFC 0029FD5C 7C A4 2B 78 */ mr r4, r5 -/* 802A2E00 0029FD60 C0 5D 00 10 */ lfs f2, 0x10(r29) -/* 802A2E04 0029FD64 38 FD 00 0C */ addi r7, r29, 0xc -/* 802A2E08 0029FD68 C0 3D 00 08 */ lfs f1, 8(r29) -/* 802A2E0C 0029FD6C 7F A5 EB 78 */ mr r5, r29 -/* 802A2E10 0029FD70 C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 802A2E14 0029FD74 EC 63 10 2A */ fadds f3, f3, f2 -/* 802A2E18 0029FD78 C0 82 C1 44 */ lfs f4, lbl_805ADE64@sda21(r2) -/* 802A2E1C 0029FD7C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A2E20 0029FD80 EC 41 00 2A */ fadds f2, f1, f0 -/* 802A2E24 0029FD84 C0 3D 00 00 */ lfs f1, 0(r29) -/* 802A2E28 0029FD88 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 802A2E2C 0029FD8C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802A2E30 0029FD90 38 C1 00 08 */ addi r6, r1, 8 -/* 802A2E34 0029FD94 EC 01 00 2A */ fadds f0, f1, f0 -/* 802A2E38 0029FD98 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802A2E3C 0029FD9C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 802A2E40 0029FDA0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A2E44 0029FDA4 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802A2E48 0029FDA8 D0 01 00 08 */ stfs f0, 8(r1) -/* 802A2E4C 0029FDAC 48 00 00 65 */ bl BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A2E50 0029FDB0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802A2E54 0029FDB4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802A2E58 0029FDB8 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 802A2E5C 0029FDBC C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802A2E60 0029FDC0 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802A2E64 0029FDC4 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 802A2E68 0029FDC8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802A2E6C 0029FDCC D0 1C 00 00 */ stfs f0, 0(r28) -/* 802A2E70 0029FDD0 D0 3C 00 04 */ stfs f1, 4(r28) -/* 802A2E74 0029FDD4 D0 5C 00 08 */ stfs f2, 8(r28) -/* 802A2E78 0029FDD8 D0 7C 00 0C */ stfs f3, 0xc(r28) -/* 802A2E7C 0029FDDC D0 9C 00 10 */ stfs f4, 0x10(r28) -/* 802A2E80 0029FDE0 D0 BC 00 14 */ stfs f5, 0x14(r28) -/* 802A2E84 0029FDE4 93 DC 00 18 */ stw r30, 0x18(r28) -/* 802A2E88 0029FDE8 90 1C 00 1C */ stw r0, 0x1c(r28) -/* 802A2E8C 0029FDEC 93 FC 00 20 */ stw r31, 0x20(r28) -lbl_802A2E90: -/* 802A2E90 0029FDF0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A2E94 0029FDF4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802A2E98 0029FDF8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802A2E9C 0029FDFC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802A2EA0 0029FE00 83 81 00 30 */ lwz r28, 0x30(r1) -/* 802A2EA4 0029FE04 7C 08 03 A6 */ mtlr r0 -/* 802A2EA8 0029FE08 38 21 00 40 */ addi r1, r1, 0x40 -/* 802A2EAC 0029FE0C 4E 80 00 20 */ blr - -.global BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f -BoxFromIndex__FiRC9CVector3fRC9CVector3fRC9CVector3f: -/* 802A2EB0 0029FE10 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802A2EB4 0029FE14 7C 08 02 A6 */ mflr r0 -/* 802A2EB8 0029FE18 28 04 00 07 */ cmplwi r4, 7 -/* 802A2EBC 0029FE1C 7C A8 2B 78 */ mr r8, r5 -/* 802A2EC0 0029FE20 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802A2EC4 0029FE24 41 81 01 BC */ bgt lbl_802A3080 -/* 802A2EC8 0029FE28 3C A0 80 3F */ lis r5, lbl_803EC408@ha -/* 802A2ECC 0029FE2C 54 80 10 3A */ slwi r0, r4, 2 -/* 802A2ED0 0029FE30 38 85 C4 08 */ addi r4, r5, lbl_803EC408@l -/* 802A2ED4 0029FE34 7C 04 00 2E */ lwzx r0, r4, r0 -/* 802A2ED8 0029FE38 7C 09 03 A6 */ mtctr r0 -/* 802A2EDC 0029FE3C 4E 80 04 20 */ bctr -/* 802A2EE0 0029FE40 7D 04 43 78 */ mr r4, r8 -/* 802A2EE4 0029FE44 7C C5 33 78 */ mr r5, r6 -/* 802A2EE8 0029FE48 48 09 56 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A2EEC 0029FE4C 48 00 01 A0 */ b lbl_802A308C -/* 802A2EF0 0029FE50 C0 46 00 08 */ lfs f2, 8(r6) -/* 802A2EF4 0029FE54 38 81 00 8C */ addi r4, r1, 0x8c -/* 802A2EF8 0029FE58 C0 66 00 04 */ lfs f3, 4(r6) -/* 802A2EFC 0029FE5C 38 A1 00 80 */ addi r5, r1, 0x80 -/* 802A2F00 0029FE60 C0 27 00 00 */ lfs f1, 0(r7) -/* 802A2F04 0029FE64 C0 88 00 08 */ lfs f4, 8(r8) -/* 802A2F08 0029FE68 C0 A8 00 04 */ lfs f5, 4(r8) -/* 802A2F0C 0029FE6C C0 06 00 00 */ lfs f0, 0(r6) -/* 802A2F10 0029FE70 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 802A2F14 0029FE74 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802A2F18 0029FE78 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802A2F1C 0029FE7C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 802A2F20 0029FE80 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 802A2F24 0029FE84 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 802A2F28 0029FE88 48 09 55 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A2F2C 0029FE8C 48 00 01 60 */ b lbl_802A308C -/* 802A2F30 0029FE90 C0 46 00 08 */ lfs f2, 8(r6) -/* 802A2F34 0029FE94 38 81 00 74 */ addi r4, r1, 0x74 -/* 802A2F38 0029FE98 C0 67 00 04 */ lfs f3, 4(r7) -/* 802A2F3C 0029FE9C 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802A2F40 0029FEA0 C0 26 00 00 */ lfs f1, 0(r6) -/* 802A2F44 0029FEA4 C0 88 00 08 */ lfs f4, 8(r8) -/* 802A2F48 0029FEA8 C0 A6 00 04 */ lfs f5, 4(r6) -/* 802A2F4C 0029FEAC C0 08 00 00 */ lfs f0, 0(r8) -/* 802A2F50 0029FEB0 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 802A2F54 0029FEB4 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 802A2F58 0029FEB8 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802A2F5C 0029FEBC D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802A2F60 0029FEC0 D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 802A2F64 0029FEC4 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 802A2F68 0029FEC8 48 09 55 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A2F6C 0029FECC 48 00 01 20 */ b lbl_802A308C -/* 802A2F70 0029FED0 C0 46 00 08 */ lfs f2, 8(r6) -/* 802A2F74 0029FED4 38 81 00 5C */ addi r4, r1, 0x5c -/* 802A2F78 0029FED8 C0 67 00 04 */ lfs f3, 4(r7) -/* 802A2F7C 0029FEDC 38 A1 00 50 */ addi r5, r1, 0x50 -/* 802A2F80 0029FEE0 C0 27 00 00 */ lfs f1, 0(r7) -/* 802A2F84 0029FEE4 C0 88 00 08 */ lfs f4, 8(r8) -/* 802A2F88 0029FEE8 C0 A6 00 04 */ lfs f5, 4(r6) -/* 802A2F8C 0029FEEC C0 06 00 00 */ lfs f0, 0(r6) -/* 802A2F90 0029FEF0 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802A2F94 0029FEF4 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 802A2F98 0029FEF8 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802A2F9C 0029FEFC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 802A2FA0 0029FF00 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802A2FA4 0029FF04 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 802A2FA8 0029FF08 48 09 55 61 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A2FAC 0029FF0C 48 00 00 E0 */ b lbl_802A308C -/* 802A2FB0 0029FF10 C0 47 00 08 */ lfs f2, 8(r7) -/* 802A2FB4 0029FF14 38 81 00 44 */ addi r4, r1, 0x44 -/* 802A2FB8 0029FF18 C0 66 00 04 */ lfs f3, 4(r6) -/* 802A2FBC 0029FF1C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802A2FC0 0029FF20 C0 26 00 00 */ lfs f1, 0(r6) -/* 802A2FC4 0029FF24 C0 86 00 08 */ lfs f4, 8(r6) -/* 802A2FC8 0029FF28 C0 A8 00 04 */ lfs f5, 4(r8) -/* 802A2FCC 0029FF2C C0 08 00 00 */ lfs f0, 0(r8) -/* 802A2FD0 0029FF30 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802A2FD4 0029FF34 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 802A2FD8 0029FF38 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802A2FDC 0029FF3C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802A2FE0 0029FF40 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802A2FE4 0029FF44 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802A2FE8 0029FF48 48 09 55 21 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A2FEC 0029FF4C 48 00 00 A0 */ b lbl_802A308C -/* 802A2FF0 0029FF50 C0 47 00 08 */ lfs f2, 8(r7) -/* 802A2FF4 0029FF54 38 81 00 2C */ addi r4, r1, 0x2c -/* 802A2FF8 0029FF58 C0 66 00 04 */ lfs f3, 4(r6) -/* 802A2FFC 0029FF5C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802A3000 0029FF60 C0 27 00 00 */ lfs f1, 0(r7) -/* 802A3004 0029FF64 C0 86 00 08 */ lfs f4, 8(r6) -/* 802A3008 0029FF68 C0 A8 00 04 */ lfs f5, 4(r8) -/* 802A300C 0029FF6C C0 06 00 00 */ lfs f0, 0(r6) -/* 802A3010 0029FF70 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802A3014 0029FF74 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802A3018 0029FF78 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802A301C 0029FF7C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802A3020 0029FF80 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 802A3024 0029FF84 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 802A3028 0029FF88 48 09 54 E1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A302C 0029FF8C 48 00 00 60 */ b lbl_802A308C -/* 802A3030 0029FF90 C0 47 00 08 */ lfs f2, 8(r7) -/* 802A3034 0029FF94 38 81 00 14 */ addi r4, r1, 0x14 -/* 802A3038 0029FF98 C0 67 00 04 */ lfs f3, 4(r7) -/* 802A303C 0029FF9C 38 A1 00 08 */ addi r5, r1, 8 -/* 802A3040 0029FFA0 C0 26 00 00 */ lfs f1, 0(r6) -/* 802A3044 0029FFA4 C0 86 00 08 */ lfs f4, 8(r6) -/* 802A3048 0029FFA8 C0 A6 00 04 */ lfs f5, 4(r6) -/* 802A304C 0029FFAC C0 08 00 00 */ lfs f0, 0(r8) -/* 802A3050 0029FFB0 D0 21 00 08 */ stfs f1, 8(r1) -/* 802A3054 0029FFB4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 802A3058 0029FFB8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802A305C 0029FFBC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802A3060 0029FFC0 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802A3064 0029FFC4 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 802A3068 0029FFC8 48 09 54 A1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A306C 0029FFCC 48 00 00 20 */ b lbl_802A308C -/* 802A3070 0029FFD0 7C C4 33 78 */ mr r4, r6 -/* 802A3074 0029FFD4 7C E5 3B 78 */ mr r5, r7 -/* 802A3078 0029FFD8 48 09 54 91 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A307C 0029FFDC 48 00 00 10 */ b lbl_802A308C -lbl_802A3080: -/* 802A3080 0029FFE0 7D 04 43 78 */ mr r4, r8 -/* 802A3084 0029FFE4 7C E5 3B 78 */ mr r5, r7 -/* 802A3088 0029FFE8 48 09 54 81 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -lbl_802A308C: -/* 802A308C 0029FFEC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802A3090 0029FFF0 7C 08 03 A6 */ mtlr r0 -/* 802A3094 0029FFF4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802A3098 0029FFF8 4E 80 00 20 */ blr - -.global __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f -__ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f: -/* 802A309C 0029FFFC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802A30A0 002A0000 7C 08 02 A6 */ mflr r0 -/* 802A30A4 002A0004 90 01 01 14 */ stw r0, 0x114(r1) -/* 802A30A8 002A0008 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802A30AC 002A000C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802A30B0 002A0010 BF 01 00 E0 */ stmw r24, 0xe0(r1) -/* 802A30B4 002A0014 3B 40 00 00 */ li r26, 0 -/* 802A30B8 002A0018 7C BE 2B 78 */ mr r30, r5 -/* 802A30BC 002A001C 93 43 00 00 */ stw r26, 0(r3) -/* 802A30C0 002A0020 7C 7C 1B 78 */ mr r28, r3 -/* 802A30C4 002A0024 3C 60 80 3D */ lis r3, lbl_803D0004@ha -/* 802A30C8 002A0028 7C 9D 23 78 */ mr r29, r4 -/* 802A30CC 002A002C 93 5C 06 C4 */ stw r26, 0x6c4(r28) -/* 802A30D0 002A0030 7F DB F3 78 */ mr r27, r30 -/* 802A30D4 002A0034 C3 E2 C1 4C */ lfs f31, lbl_805ADE6C@sda21(r2) -/* 802A30D8 002A0038 3B E0 00 00 */ li r31, 0 -/* 802A30DC 002A003C C0 04 00 00 */ lfs f0, 0(r4) -/* 802A30E0 002A0040 3B 20 00 00 */ li r25, 0 -/* 802A30E4 002A0044 D0 1C 06 E8 */ stfs f0, 0x6e8(r28) -/* 802A30E8 002A0048 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A30EC 002A004C D0 1C 06 EC */ stfs f0, 0x6ec(r28) -/* 802A30F0 002A0050 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A30F4 002A0054 D0 1C 06 F0 */ stfs f0, 0x6f0(r28) -/* 802A30F8 002A0058 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A30FC 002A005C D0 1C 06 F4 */ stfs f0, 0x6f4(r28) -/* 802A3100 002A0060 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A3104 002A0064 D0 1C 06 F8 */ stfs f0, 0x6f8(r28) -/* 802A3108 002A0068 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A310C 002A006C D0 1C 06 FC */ stfs f0, 0x6fc(r28) -/* 802A3110 002A0070 84 C3 60 28 */ lwzu r6, 0x6028(r3) -/* 802A3114 002A0074 80 02 D7 6C */ lwz r0, lbl_805AF48C@sda21(r2) -/* 802A3118 002A0078 80 A3 00 04 */ lwz r5, lbl_803D0004@l(r3) -/* 802A311C 002A007C 80 83 00 08 */ lwz r4, 8(r3) -/* 802A3120 002A0080 80 62 D7 68 */ lwz r3, lbl_805AF488@sda21(r2) -/* 802A3124 002A0084 90 C1 00 40 */ stw r6, 0x40(r1) -/* 802A3128 002A0088 90 A1 00 44 */ stw r5, 0x44(r1) -/* 802A312C 002A008C 90 81 00 48 */ stw r4, 0x48(r1) -/* 802A3130 002A0090 90 61 00 08 */ stw r3, 8(r1) -/* 802A3134 002A0094 90 01 00 0C */ stw r0, 0xc(r1) -lbl_802A3138: -/* 802A3138 002A0098 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802A313C 002A009C FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 802A3140 002A00A0 41 82 00 30 */ beq lbl_802A3170 -/* 802A3144 002A00A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 802A3148 002A00A8 7C 00 00 26 */ mfcr r0 -/* 802A314C 002A00AC 38 81 00 40 */ addi r4, r1, 0x40 -/* 802A3150 002A00B0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802A3154 002A00B4 7F 1A 02 14 */ add r24, r26, r0 -/* 802A3158 002A00B8 7F 03 C3 78 */ mr r3, r24 -/* 802A315C 002A00BC 48 00 05 29 */ bl FlagEdgeIndicesForFace__FUiPb -/* 802A3160 002A00C0 7F 03 C3 78 */ mr r3, r24 -/* 802A3164 002A00C4 38 81 00 08 */ addi r4, r1, 8 -/* 802A3168 002A00C8 48 00 04 59 */ bl FlagVertexIndicesForFace__FUiPb -/* 802A316C 002A00CC 3B FF 00 01 */ addi r31, r31, 1 -lbl_802A3170: -/* 802A3170 002A00D0 3B 39 00 01 */ addi r25, r25, 1 -/* 802A3174 002A00D4 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A3178 002A00D8 2C 19 00 03 */ cmpwi r25, 3 -/* 802A317C 002A00DC 3B 7B 00 04 */ addi r27, r27, 4 -/* 802A3180 002A00E0 41 80 FF B8 */ blt lbl_802A3138 -/* 802A3184 002A00E4 3B 00 00 00 */ li r24, 0 -/* 802A3188 002A00E8 3B 41 00 40 */ addi r26, r1, 0x40 -lbl_802A318C: -/* 802A318C 002A00EC 88 1A 00 00 */ lbz r0, 0(r26) -/* 802A3190 002A00F0 28 00 00 00 */ cmplwi r0, 0 -/* 802A3194 002A00F4 41 82 00 24 */ beq lbl_802A31B8 -/* 802A3198 002A00F8 7F A4 EB 78 */ mr r4, r29 -/* 802A319C 002A00FC 7F 05 C3 78 */ mr r5, r24 -/* 802A31A0 002A0100 7F C6 F3 78 */ mr r6, r30 -/* 802A31A4 002A0104 38 61 00 50 */ addi r3, r1, 0x50 -/* 802A31A8 002A0108 48 00 03 01 */ bl __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f -/* 802A31AC 002A010C 7C 64 1B 78 */ mr r4, r3 -/* 802A31B0 002A0110 7F 83 E3 78 */ mr r3, r28 -/* 802A31B4 002A0114 48 00 01 D1 */ bl sub_802a3384 -lbl_802A31B8: -/* 802A31B8 002A0118 3B 18 00 01 */ addi r24, r24, 1 -/* 802A31BC 002A011C 3B 5A 00 01 */ addi r26, r26, 1 -/* 802A31C0 002A0120 2C 18 00 0C */ cmpwi r24, 0xc -/* 802A31C4 002A0124 41 80 FF C8 */ blt lbl_802A318C -/* 802A31C8 002A0128 38 00 00 02 */ li r0, 2 -/* 802A31CC 002A012C 38 81 00 08 */ addi r4, r1, 8 -/* 802A31D0 002A0130 38 BC 06 C4 */ addi r5, r28, 0x6c4 -/* 802A31D4 002A0134 38 C0 00 00 */ li r6, 0 -/* 802A31D8 002A0138 7C 09 03 A6 */ mtctr r0 -lbl_802A31DC: -/* 802A31DC 002A013C 88 04 00 00 */ lbz r0, 0(r4) -/* 802A31E0 002A0140 28 00 00 00 */ cmplwi r0, 0 -/* 802A31E4 002A0144 41 82 00 28 */ beq lbl_802A320C -/* 802A31E8 002A0148 80 05 00 00 */ lwz r0, 0(r5) -/* 802A31EC 002A014C 54 00 10 3A */ slwi r0, r0, 2 -/* 802A31F0 002A0150 7C 65 02 14 */ add r3, r5, r0 -/* 802A31F4 002A0154 34 63 00 04 */ addic. r3, r3, 4 -/* 802A31F8 002A0158 41 82 00 08 */ beq lbl_802A3200 -/* 802A31FC 002A015C 90 C3 00 00 */ stw r6, 0(r3) -lbl_802A3200: -/* 802A3200 002A0160 80 7C 06 C4 */ lwz r3, 0x6c4(r28) -/* 802A3204 002A0164 38 03 00 01 */ addi r0, r3, 1 -/* 802A3208 002A0168 90 1C 06 C4 */ stw r0, 0x6c4(r28) -lbl_802A320C: -/* 802A320C 002A016C 88 04 00 01 */ lbz r0, 1(r4) -/* 802A3210 002A0170 38 C6 00 01 */ addi r6, r6, 1 -/* 802A3214 002A0174 28 00 00 00 */ cmplwi r0, 0 -/* 802A3218 002A0178 41 82 00 28 */ beq lbl_802A3240 -/* 802A321C 002A017C 80 05 00 00 */ lwz r0, 0(r5) -/* 802A3220 002A0180 54 00 10 3A */ slwi r0, r0, 2 -/* 802A3224 002A0184 7C 65 02 14 */ add r3, r5, r0 -/* 802A3228 002A0188 34 63 00 04 */ addic. r3, r3, 4 -/* 802A322C 002A018C 41 82 00 08 */ beq lbl_802A3234 -/* 802A3230 002A0190 90 C3 00 00 */ stw r6, 0(r3) -lbl_802A3234: -/* 802A3234 002A0194 80 7C 06 C4 */ lwz r3, 0x6c4(r28) -/* 802A3238 002A0198 38 03 00 01 */ addi r0, r3, 1 -/* 802A323C 002A019C 90 1C 06 C4 */ stw r0, 0x6c4(r28) -lbl_802A3240: -/* 802A3240 002A01A0 88 04 00 02 */ lbz r0, 2(r4) -/* 802A3244 002A01A4 38 C6 00 01 */ addi r6, r6, 1 -/* 802A3248 002A01A8 28 00 00 00 */ cmplwi r0, 0 -/* 802A324C 002A01AC 41 82 00 28 */ beq lbl_802A3274 -/* 802A3250 002A01B0 80 05 00 00 */ lwz r0, 0(r5) -/* 802A3254 002A01B4 54 00 10 3A */ slwi r0, r0, 2 -/* 802A3258 002A01B8 7C 65 02 14 */ add r3, r5, r0 -/* 802A325C 002A01BC 34 63 00 04 */ addic. r3, r3, 4 -/* 802A3260 002A01C0 41 82 00 08 */ beq lbl_802A3268 -/* 802A3264 002A01C4 90 C3 00 00 */ stw r6, 0(r3) -lbl_802A3268: -/* 802A3268 002A01C8 80 7C 06 C4 */ lwz r3, 0x6c4(r28) -/* 802A326C 002A01CC 38 03 00 01 */ addi r0, r3, 1 -/* 802A3270 002A01D0 90 1C 06 C4 */ stw r0, 0x6c4(r28) -lbl_802A3274: -/* 802A3274 002A01D4 88 04 00 03 */ lbz r0, 3(r4) -/* 802A3278 002A01D8 38 C6 00 01 */ addi r6, r6, 1 -/* 802A327C 002A01DC 28 00 00 00 */ cmplwi r0, 0 -/* 802A3280 002A01E0 41 82 00 28 */ beq lbl_802A32A8 -/* 802A3284 002A01E4 80 05 00 00 */ lwz r0, 0(r5) -/* 802A3288 002A01E8 54 00 10 3A */ slwi r0, r0, 2 -/* 802A328C 002A01EC 7C 65 02 14 */ add r3, r5, r0 -/* 802A3290 002A01F0 34 63 00 04 */ addic. r3, r3, 4 -/* 802A3294 002A01F4 41 82 00 08 */ beq lbl_802A329C -/* 802A3298 002A01F8 90 C3 00 00 */ stw r6, 0(r3) -lbl_802A329C: -/* 802A329C 002A01FC 80 7C 06 C4 */ lwz r3, 0x6c4(r28) -/* 802A32A0 002A0200 38 03 00 01 */ addi r0, r3, 1 -/* 802A32A4 002A0204 90 1C 06 C4 */ stw r0, 0x6c4(r28) -lbl_802A32A8: -/* 802A32A8 002A0208 38 84 00 04 */ addi r4, r4, 4 -/* 802A32AC 002A020C 38 C6 00 01 */ addi r6, r6, 1 -/* 802A32B0 002A0210 42 00 FF 2C */ bdnz lbl_802A31DC -/* 802A32B4 002A0214 28 1F 00 01 */ cmplwi r31, 1 -/* 802A32B8 002A0218 40 82 00 AC */ bne lbl_802A3364 -/* 802A32BC 002A021C 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802A32C0 002A0220 7F A4 EB 78 */ mr r4, r29 -/* 802A32C4 002A0224 38 C3 67 54 */ addi r6, r3, lbl_805A6754@l -/* 802A32C8 002A0228 38 61 00 34 */ addi r3, r1, 0x34 -/* 802A32CC 002A022C 80 A6 00 00 */ lwz r5, 0(r6) -/* 802A32D0 002A0230 80 06 00 04 */ lwz r0, 4(r6) -/* 802A32D4 002A0234 90 BC 06 E8 */ stw r5, 0x6e8(r28) -/* 802A32D8 002A0238 90 1C 06 EC */ stw r0, 0x6ec(r28) -/* 802A32DC 002A023C 80 06 00 08 */ lwz r0, 8(r6) -/* 802A32E0 002A0240 90 1C 06 F0 */ stw r0, 0x6f0(r28) -/* 802A32E4 002A0244 80 A6 00 0C */ lwz r5, 0xc(r6) -/* 802A32E8 002A0248 80 06 00 10 */ lwz r0, 0x10(r6) -/* 802A32EC 002A024C 90 BC 06 F4 */ stw r5, 0x6f4(r28) -/* 802A32F0 002A0250 90 1C 06 F8 */ stw r0, 0x6f8(r28) -/* 802A32F4 002A0254 80 06 00 14 */ lwz r0, 0x14(r6) -/* 802A32F8 002A0258 90 1C 06 FC */ stw r0, 0x6fc(r28) -/* 802A32FC 002A025C 80 BC 06 C8 */ lwz r5, 0x6c8(r28) -/* 802A3300 002A0260 48 09 42 B1 */ bl GetPoint__6CAABoxCFi -/* 802A3304 002A0264 38 7C 06 E8 */ addi r3, r28, 0x6e8 -/* 802A3308 002A0268 38 81 00 34 */ addi r4, r1, 0x34 -/* 802A330C 002A026C 48 09 47 FD */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A3310 002A0270 80 BC 06 CC */ lwz r5, 0x6cc(r28) -/* 802A3314 002A0274 7F A4 EB 78 */ mr r4, r29 -/* 802A3318 002A0278 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A331C 002A027C 48 09 42 95 */ bl GetPoint__6CAABoxCFi -/* 802A3320 002A0280 38 7C 06 E8 */ addi r3, r28, 0x6e8 -/* 802A3324 002A0284 38 81 00 28 */ addi r4, r1, 0x28 -/* 802A3328 002A0288 48 09 47 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A332C 002A028C 80 BC 06 D0 */ lwz r5, 0x6d0(r28) -/* 802A3330 002A0290 7F A4 EB 78 */ mr r4, r29 -/* 802A3334 002A0294 38 61 00 1C */ addi r3, r1, 0x1c -/* 802A3338 002A0298 48 09 42 79 */ bl GetPoint__6CAABoxCFi -/* 802A333C 002A029C 38 7C 06 E8 */ addi r3, r28, 0x6e8 -/* 802A3340 002A02A0 38 81 00 1C */ addi r4, r1, 0x1c -/* 802A3344 002A02A4 48 09 47 C5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A3348 002A02A8 80 BC 06 D4 */ lwz r5, 0x6d4(r28) -/* 802A334C 002A02AC 7F A4 EB 78 */ mr r4, r29 -/* 802A3350 002A02B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 802A3354 002A02B4 48 09 42 5D */ bl GetPoint__6CAABoxCFi -/* 802A3358 002A02B8 38 7C 06 E8 */ addi r3, r28, 0x6e8 -/* 802A335C 002A02BC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A3360 002A02C0 48 09 47 A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_802A3364: -/* 802A3364 002A02C4 7F 83 E3 78 */ mr r3, r28 -/* 802A3368 002A02C8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802A336C 002A02CC CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802A3370 002A02D0 BB 01 00 E0 */ lmw r24, 0xe0(r1) -/* 802A3374 002A02D4 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802A3378 002A02D8 7C 08 03 A6 */ mtlr r0 -/* 802A337C 002A02DC 38 21 01 10 */ addi r1, r1, 0x110 -/* 802A3380 002A02E0 4E 80 00 20 */ blr - -.global sub_802a3384 -sub_802a3384: -/* 802A3384 002A02E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A3388 002A02E8 7C 08 02 A6 */ mflr r0 -/* 802A338C 002A02EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A3390 002A02F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A3394 002A02F4 7C 7F 1B 78 */ mr r31, r3 -/* 802A3398 002A02F8 80 03 00 00 */ lwz r0, 0(r3) -/* 802A339C 002A02FC 1C 00 00 90 */ mulli r0, r0, 0x90 -/* 802A33A0 002A0300 7C 7F 02 14 */ add r3, r31, r0 -/* 802A33A4 002A0304 38 63 00 04 */ addi r3, r3, 4 -/* 802A33A8 002A0308 48 00 00 25 */ bl sub_802a33cc -/* 802A33AC 002A030C 80 7F 00 00 */ lwz r3, 0(r31) -/* 802A33B0 002A0310 38 03 00 01 */ addi r0, r3, 1 -/* 802A33B4 002A0314 90 1F 00 00 */ stw r0, 0(r31) -/* 802A33B8 002A0318 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A33BC 002A031C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A33C0 002A0320 7C 08 03 A6 */ mtlr r0 -/* 802A33C4 002A0324 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A33C8 002A0328 4E 80 00 20 */ blr - -.global sub_802a33cc -sub_802a33cc: -/* 802A33CC 002A032C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A33D0 002A0330 7C 08 02 A6 */ mflr r0 -/* 802A33D4 002A0334 28 03 00 00 */ cmplwi r3, 0 -/* 802A33D8 002A0338 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A33DC 002A033C 41 82 00 08 */ beq lbl_802A33E4 -/* 802A33E0 002A0340 48 00 00 15 */ bl sub_802a33f4 -lbl_802A33E4: -/* 802A33E4 002A0344 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A33E8 002A0348 7C 08 03 A6 */ mtlr r0 -/* 802A33EC 002A034C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A33F0 002A0350 4E 80 00 20 */ blr - -.global sub_802a33f4 -sub_802a33f4: -/* 802A33F4 002A0354 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A33F8 002A0358 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A33FC 002A035C C0 04 00 04 */ lfs f0, 4(r4) -/* 802A3400 002A0360 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A3404 002A0364 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A3408 002A0368 D0 03 00 08 */ stfs f0, 8(r3) -/* 802A340C 002A036C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A3410 002A0370 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802A3414 002A0374 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A3418 002A0378 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802A341C 002A037C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A3420 002A0380 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A3424 002A0384 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802A3428 002A0388 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802A342C 002A038C C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802A3430 002A0390 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802A3434 002A0394 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802A3438 002A0398 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802A343C 002A039C C8 04 00 28 */ lfd f0, 0x28(r4) -/* 802A3440 002A03A0 D8 03 00 28 */ stfd f0, 0x28(r3) -/* 802A3444 002A03A4 C8 04 00 30 */ lfd f0, 0x30(r4) -/* 802A3448 002A03A8 D8 03 00 30 */ stfd f0, 0x30(r3) -/* 802A344C 002A03AC C8 04 00 38 */ lfd f0, 0x38(r4) -/* 802A3450 002A03B0 D8 03 00 38 */ stfd f0, 0x38(r3) -/* 802A3454 002A03B4 C8 04 00 40 */ lfd f0, 0x40(r4) -/* 802A3458 002A03B8 D8 03 00 40 */ stfd f0, 0x40(r3) -/* 802A345C 002A03BC C8 04 00 48 */ lfd f0, 0x48(r4) -/* 802A3460 002A03C0 D8 03 00 48 */ stfd f0, 0x48(r3) -/* 802A3464 002A03C4 C8 04 00 50 */ lfd f0, 0x50(r4) -/* 802A3468 002A03C8 D8 03 00 50 */ stfd f0, 0x50(r3) -/* 802A346C 002A03CC C8 04 00 58 */ lfd f0, 0x58(r4) -/* 802A3470 002A03D0 D8 03 00 58 */ stfd f0, 0x58(r3) -/* 802A3474 002A03D4 C8 04 00 60 */ lfd f0, 0x60(r4) -/* 802A3478 002A03D8 D8 03 00 60 */ stfd f0, 0x60(r3) -/* 802A347C 002A03DC C8 04 00 68 */ lfd f0, 0x68(r4) -/* 802A3480 002A03E0 D8 03 00 68 */ stfd f0, 0x68(r3) -/* 802A3484 002A03E4 C8 04 00 70 */ lfd f0, 0x70(r4) -/* 802A3488 002A03E8 D8 03 00 70 */ stfd f0, 0x70(r3) -/* 802A348C 002A03EC C8 04 00 78 */ lfd f0, 0x78(r4) -/* 802A3490 002A03F0 D8 03 00 78 */ stfd f0, 0x78(r3) -/* 802A3494 002A03F4 C8 04 00 80 */ lfd f0, 0x80(r4) -/* 802A3498 002A03F8 D8 03 00 80 */ stfd f0, 0x80(r3) -/* 802A349C 002A03FC C8 04 00 88 */ lfd f0, 0x88(r4) -/* 802A34A0 002A0400 D8 03 00 88 */ stfd f0, 0x88(r3) -/* 802A34A4 002A0404 4E 80 00 20 */ blr - -.global __ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f -__ct__Q220CMetroidAreaCollider8SBoxEdgeFRC6CAABoxiRC9CVector3f: -/* 802A34A8 002A0408 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802A34AC 002A040C 7C 08 02 A6 */ mflr r0 -/* 802A34B0 002A0410 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802A34B4 002A0414 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 802A34B8 002A0418 7C DF 33 78 */ mr r31, r6 -/* 802A34BC 002A041C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 802A34C0 002A0420 7C 7E 1B 78 */ mr r30, r3 -/* 802A34C4 002A0424 38 61 00 68 */ addi r3, r1, 0x68 -/* 802A34C8 002A0428 48 09 49 D9 */ bl GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId -/* 802A34CC 002A042C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 802A34D0 002A0430 7F C4 F3 78 */ mr r4, r30 -/* 802A34D4 002A0434 38 7E 00 28 */ addi r3, r30, 0x28 -/* 802A34D8 002A0438 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802A34DC 002A043C C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 802A34E0 002A0440 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802A34E4 002A0444 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802A34E8 002A0448 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802A34EC 002A044C C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802A34F0 002A0450 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802A34F4 002A0454 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 802A34F8 002A0458 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 802A34FC 002A045C C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802A3500 002A0460 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 802A3504 002A0464 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802A3508 002A0468 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 802A350C 002A046C C0 01 00 84 */ lfs f0, 0x84(r1) -/* 802A3510 002A0470 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802A3514 002A0474 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 802A3518 002A0478 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 802A351C 002A047C 48 07 10 69 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3520 002A0480 38 7E 00 40 */ addi r3, r30, 0x40 -/* 802A3524 002A0484 38 9E 00 18 */ addi r4, r30, 0x18 -/* 802A3528 002A0488 48 07 10 5D */ bl __ct__9CVector3dFRC9CVector3f -/* 802A352C 002A048C 38 61 00 50 */ addi r3, r1, 0x50 -/* 802A3530 002A0490 38 9E 00 40 */ addi r4, r30, 0x40 -/* 802A3534 002A0494 38 BE 00 28 */ addi r5, r30, 0x28 -/* 802A3538 002A0498 48 07 0E 5D */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802A353C 002A049C C8 01 00 50 */ lfd f0, 0x50(r1) -/* 802A3540 002A04A0 7F E4 FB 78 */ mr r4, r31 -/* 802A3544 002A04A4 38 61 00 08 */ addi r3, r1, 8 -/* 802A3548 002A04A8 D8 1E 00 58 */ stfd f0, 0x58(r30) -/* 802A354C 002A04AC C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802A3550 002A04B0 D8 1E 00 60 */ stfd f0, 0x60(r30) -/* 802A3554 002A04B4 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 802A3558 002A04B8 D8 1E 00 68 */ stfd f0, 0x68(r30) -/* 802A355C 002A04BC 48 07 10 29 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3560 002A04C0 7C 65 1B 78 */ mr r5, r3 -/* 802A3564 002A04C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A3568 002A04C8 38 9E 00 58 */ addi r4, r30, 0x58 -/* 802A356C 002A04CC 48 07 0E B1 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3570 002A04D0 38 61 00 38 */ addi r3, r1, 0x38 -/* 802A3574 002A04D4 38 81 00 20 */ addi r4, r1, 0x20 -/* 802A3578 002A04D8 48 07 0F 45 */ bl AsNormalized__9CVector3dCFv -/* 802A357C 002A04DC C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802A3580 002A04E0 38 7E 00 28 */ addi r3, r30, 0x28 -/* 802A3584 002A04E4 38 9E 00 70 */ addi r4, r30, 0x70 -/* 802A3588 002A04E8 D8 1E 00 70 */ stfd f0, 0x70(r30) -/* 802A358C 002A04EC C8 01 00 40 */ lfd f0, 0x40(r1) -/* 802A3590 002A04F0 D8 1E 00 78 */ stfd f0, 0x78(r30) -/* 802A3594 002A04F4 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 802A3598 002A04F8 D8 1E 00 80 */ stfd f0, 0x80(r30) -/* 802A359C 002A04FC 48 07 0E D1 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A35A0 002A0500 D8 3E 00 88 */ stfd f1, 0x88(r30) -/* 802A35A4 002A0504 7F C3 F3 78 */ mr r3, r30 -/* 802A35A8 002A0508 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802A35AC 002A050C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 802A35B0 002A0510 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 802A35B4 002A0514 7C 08 03 A6 */ mtlr r0 -/* 802A35B8 002A0518 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802A35BC 002A051C 4E 80 00 20 */ blr - -.global FlagVertexIndicesForFace__FUiPb -FlagVertexIndicesForFace__FUiPb: -/* 802A35C0 002A0520 2C 03 00 03 */ cmpwi r3, 3 -/* 802A35C4 002A0524 41 82 00 78 */ beq lbl_802A363C -/* 802A35C8 002A0528 40 80 00 1C */ bge lbl_802A35E4 -/* 802A35CC 002A052C 2C 03 00 01 */ cmpwi r3, 1 -/* 802A35D0 002A0530 41 82 00 3C */ beq lbl_802A360C -/* 802A35D4 002A0534 40 80 00 50 */ bge lbl_802A3624 -/* 802A35D8 002A0538 2C 03 00 00 */ cmpwi r3, 0 -/* 802A35DC 002A053C 40 80 00 18 */ bge lbl_802A35F4 -/* 802A35E0 002A0540 4E 80 00 20 */ blr -lbl_802A35E4: -/* 802A35E4 002A0544 2C 03 00 05 */ cmpwi r3, 5 -/* 802A35E8 002A0548 41 82 00 84 */ beq lbl_802A366C -/* 802A35EC 002A054C 4C 80 00 20 */ bgelr -/* 802A35F0 002A0550 48 00 00 64 */ b lbl_802A3654 -lbl_802A35F4: -/* 802A35F4 002A0554 38 00 00 01 */ li r0, 1 -/* 802A35F8 002A0558 98 04 00 01 */ stb r0, 1(r4) -/* 802A35FC 002A055C 98 04 00 03 */ stb r0, 3(r4) -/* 802A3600 002A0560 98 04 00 05 */ stb r0, 5(r4) -/* 802A3604 002A0564 98 04 00 07 */ stb r0, 7(r4) -/* 802A3608 002A0568 4E 80 00 20 */ blr -lbl_802A360C: -/* 802A360C 002A056C 38 00 00 01 */ li r0, 1 -/* 802A3610 002A0570 98 04 00 00 */ stb r0, 0(r4) -/* 802A3614 002A0574 98 04 00 02 */ stb r0, 2(r4) -/* 802A3618 002A0578 98 04 00 04 */ stb r0, 4(r4) -/* 802A361C 002A057C 98 04 00 06 */ stb r0, 6(r4) -/* 802A3620 002A0580 4E 80 00 20 */ blr -lbl_802A3624: -/* 802A3624 002A0584 38 00 00 01 */ li r0, 1 -/* 802A3628 002A0588 98 04 00 02 */ stb r0, 2(r4) -/* 802A362C 002A058C 98 04 00 03 */ stb r0, 3(r4) -/* 802A3630 002A0590 98 04 00 06 */ stb r0, 6(r4) -/* 802A3634 002A0594 98 04 00 07 */ stb r0, 7(r4) -/* 802A3638 002A0598 4E 80 00 20 */ blr -lbl_802A363C: -/* 802A363C 002A059C 38 00 00 01 */ li r0, 1 -/* 802A3640 002A05A0 98 04 00 00 */ stb r0, 0(r4) -/* 802A3644 002A05A4 98 04 00 01 */ stb r0, 1(r4) -/* 802A3648 002A05A8 98 04 00 04 */ stb r0, 4(r4) -/* 802A364C 002A05AC 98 04 00 05 */ stb r0, 5(r4) -/* 802A3650 002A05B0 4E 80 00 20 */ blr -lbl_802A3654: -/* 802A3654 002A05B4 38 00 00 01 */ li r0, 1 -/* 802A3658 002A05B8 98 04 00 04 */ stb r0, 4(r4) -/* 802A365C 002A05BC 98 04 00 05 */ stb r0, 5(r4) -/* 802A3660 002A05C0 98 04 00 06 */ stb r0, 6(r4) -/* 802A3664 002A05C4 98 04 00 07 */ stb r0, 7(r4) -/* 802A3668 002A05C8 4E 80 00 20 */ blr -lbl_802A366C: -/* 802A366C 002A05CC 38 00 00 01 */ li r0, 1 -/* 802A3670 002A05D0 98 04 00 00 */ stb r0, 0(r4) -/* 802A3674 002A05D4 98 04 00 01 */ stb r0, 1(r4) -/* 802A3678 002A05D8 98 04 00 02 */ stb r0, 2(r4) -/* 802A367C 002A05DC 98 04 00 03 */ stb r0, 3(r4) -/* 802A3680 002A05E0 4E 80 00 20 */ blr - -.global FlagEdgeIndicesForFace__FUiPb -FlagEdgeIndicesForFace__FUiPb: -/* 802A3684 002A05E4 2C 03 00 03 */ cmpwi r3, 3 -/* 802A3688 002A05E8 41 82 00 78 */ beq lbl_802A3700 -/* 802A368C 002A05EC 40 80 00 1C */ bge lbl_802A36A8 -/* 802A3690 002A05F0 2C 03 00 01 */ cmpwi r3, 1 -/* 802A3694 002A05F4 41 82 00 3C */ beq lbl_802A36D0 -/* 802A3698 002A05F8 40 80 00 50 */ bge lbl_802A36E8 -/* 802A369C 002A05FC 2C 03 00 00 */ cmpwi r3, 0 -/* 802A36A0 002A0600 40 80 00 18 */ bge lbl_802A36B8 -/* 802A36A4 002A0604 4E 80 00 20 */ blr -lbl_802A36A8: -/* 802A36A8 002A0608 2C 03 00 05 */ cmpwi r3, 5 -/* 802A36AC 002A060C 41 82 00 84 */ beq lbl_802A3730 -/* 802A36B0 002A0610 4C 80 00 20 */ bgelr -/* 802A36B4 002A0614 48 00 00 64 */ b lbl_802A3718 -lbl_802A36B8: -/* 802A36B8 002A0618 38 00 00 01 */ li r0, 1 -/* 802A36BC 002A061C 98 04 00 0A */ stb r0, 0xa(r4) -/* 802A36C0 002A0620 98 04 00 0B */ stb r0, 0xb(r4) -/* 802A36C4 002A0624 98 04 00 02 */ stb r0, 2(r4) -/* 802A36C8 002A0628 98 04 00 04 */ stb r0, 4(r4) -/* 802A36CC 002A062C 4E 80 00 20 */ blr -lbl_802A36D0: -/* 802A36D0 002A0630 38 00 00 01 */ li r0, 1 -/* 802A36D4 002A0634 98 04 00 08 */ stb r0, 8(r4) -/* 802A36D8 002A0638 98 04 00 09 */ stb r0, 9(r4) -/* 802A36DC 002A063C 98 04 00 00 */ stb r0, 0(r4) -/* 802A36E0 002A0640 98 04 00 06 */ stb r0, 6(r4) -/* 802A36E4 002A0644 4E 80 00 20 */ blr -lbl_802A36E8: -/* 802A36E8 002A0648 38 00 00 01 */ li r0, 1 -/* 802A36EC 002A064C 98 04 00 04 */ stb r0, 4(r4) -/* 802A36F0 002A0650 98 04 00 05 */ stb r0, 5(r4) -/* 802A36F4 002A0654 98 04 00 06 */ stb r0, 6(r4) -/* 802A36F8 002A0658 98 04 00 07 */ stb r0, 7(r4) -/* 802A36FC 002A065C 4E 80 00 20 */ blr -lbl_802A3700: -/* 802A3700 002A0660 38 00 00 01 */ li r0, 1 -/* 802A3704 002A0664 98 04 00 00 */ stb r0, 0(r4) -/* 802A3708 002A0668 98 04 00 01 */ stb r0, 1(r4) -/* 802A370C 002A066C 98 04 00 02 */ stb r0, 2(r4) -/* 802A3710 002A0670 98 04 00 03 */ stb r0, 3(r4) -/* 802A3714 002A0674 4E 80 00 20 */ blr -lbl_802A3718: -/* 802A3718 002A0678 38 00 00 01 */ li r0, 1 -/* 802A371C 002A067C 98 04 00 07 */ stb r0, 7(r4) -/* 802A3720 002A0680 98 04 00 08 */ stb r0, 8(r4) -/* 802A3724 002A0684 98 04 00 03 */ stb r0, 3(r4) -/* 802A3728 002A0688 98 04 00 0B */ stb r0, 0xb(r4) -/* 802A372C 002A068C 4E 80 00 20 */ blr -lbl_802A3730: -/* 802A3730 002A0690 38 00 00 01 */ li r0, 1 -/* 802A3734 002A0694 98 04 00 01 */ stb r0, 1(r4) -/* 802A3738 002A0698 98 04 00 05 */ stb r0, 5(r4) -/* 802A373C 002A069C 98 04 00 09 */ stb r0, 9(r4) -/* 802A3740 002A06A0 98 04 00 0A */ stb r0, 0xa(r4) -/* 802A3744 002A06A4 4E 80 00 20 */ blr - -.global BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache -BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache: -/* 802A3748 002A06A8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802A374C 002A06AC 7C 08 02 A6 */ mflr r0 -/* 802A3750 002A06B0 90 01 00 74 */ stw r0, 0x74(r1) -/* 802A3754 002A06B4 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 802A3758 002A06B8 7C 7A 1B 78 */ mr r26, r3 -/* 802A375C 002A06BC 7C 9B 23 78 */ mr r27, r4 -/* 802A3760 002A06C0 7C BC 2B 78 */ mr r28, r5 -/* 802A3764 002A06C4 3B C0 00 00 */ li r30, 0 -/* 802A3768 002A06C8 3B E0 00 00 */ li r31, 0 -lbl_802A376C: -/* 802A376C 002A06CC 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 802A3770 002A06D0 A0 03 00 00 */ lhz r0, 0(r3) -/* 802A3774 002A06D4 7C 00 FE 30 */ sraw r0, r0, r31 -/* 802A3778 002A06D8 54 1D 07 BF */ clrlwi. r29, r0, 0x1e -/* 802A377C 002A06DC 41 82 00 98 */ beq lbl_802A3814 -/* 802A3780 002A06E0 7F 44 D3 78 */ mr r4, r26 -/* 802A3784 002A06E4 7F C5 F3 78 */ mr r5, r30 -/* 802A3788 002A06E8 38 61 00 08 */ addi r3, r1, 8 -/* 802A378C 002A06EC 4B FF F5 D5 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A3790 002A06F0 C0 A1 00 08 */ lfs f5, 8(r1) -/* 802A3794 002A06F4 7F 63 DB 78 */ mr r3, r27 -/* 802A3798 002A06F8 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 802A379C 002A06FC 38 81 00 2C */ addi r4, r1, 0x2c -/* 802A37A0 002A0700 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802A37A4 002A0704 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802A37A8 002A0708 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802A37AC 002A070C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A37B0 002A0710 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 802A37B4 002A0714 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 802A37B8 002A0718 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802A37BC 002A071C D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 802A37C0 002A0720 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 802A37C4 002A0724 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 802A37C8 002A0728 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 802A37CC 002A072C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802A37D0 002A0730 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802A37D4 002A0734 90 C1 00 44 */ stw r6, 0x44(r1) -/* 802A37D8 002A0738 90 A1 00 48 */ stw r5, 0x48(r1) -/* 802A37DC 002A073C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802A37E0 002A0740 48 09 43 A5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A37E4 002A0744 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A37E8 002A0748 41 82 00 2C */ beq lbl_802A3814 -/* 802A37EC 002A074C 2C 1D 00 02 */ cmpwi r29, 2 -/* 802A37F0 002A0750 40 82 00 14 */ bne lbl_802A3804 -/* 802A37F4 002A0754 7F 83 E3 78 */ mr r3, r28 -/* 802A37F8 002A0758 38 81 00 2C */ addi r4, r1, 0x2c -/* 802A37FC 002A075C 48 00 02 E9 */ bl AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node -/* 802A3800 002A0760 48 00 00 14 */ b lbl_802A3814 -lbl_802A3804: -/* 802A3804 002A0764 7F 64 DB 78 */ mr r4, r27 -/* 802A3808 002A0768 7F 85 E3 78 */ mr r5, r28 -/* 802A380C 002A076C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802A3810 002A0770 4B FF FF 39 */ bl BuildOctreeLeafCache__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC6CAABoxRQ220CMetroidAreaCollider16COctreeLeafCache -lbl_802A3814: -/* 802A3814 002A0774 3B DE 00 01 */ addi r30, r30, 1 -/* 802A3818 002A0778 3B FF 00 02 */ addi r31, r31, 2 -/* 802A381C 002A077C 2C 1E 00 08 */ cmpwi r30, 8 -/* 802A3820 002A0780 41 80 FF 4C */ blt lbl_802A376C -/* 802A3824 002A0784 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 802A3828 002A0788 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802A382C 002A078C 7C 08 03 A6 */ mtlr r0 -/* 802A3830 002A0790 38 21 00 70 */ addi r1, r1, 0x70 -/* 802A3834 002A0794 4E 80 00 20 */ blr - -.global ClearCache__19CAreaCollisionCacheFv -ClearCache__19CAreaCollisionCacheFv: -/* 802A3838 002A0798 38 E3 00 1C */ addi r7, r3, 0x1c -/* 802A383C 002A079C 38 80 00 00 */ li r4, 0 -/* 802A3840 002A07A0 48 00 00 74 */ b lbl_802A38B4 -lbl_802A3844: -/* 802A3844 002A07A4 28 07 00 00 */ cmplwi r7, 0 -/* 802A3848 002A07A8 41 82 00 64 */ beq lbl_802A38AC -/* 802A384C 002A07AC 34 07 00 04 */ addic. r0, r7, 4 -/* 802A3850 002A07B0 41 82 00 5C */ beq lbl_802A38AC -/* 802A3854 002A07B4 81 07 00 04 */ lwz r8, 4(r7) -/* 802A3858 002A07B8 38 A0 00 00 */ li r5, 0 -/* 802A385C 002A07BC 2C 08 00 00 */ cmpwi r8, 0 -/* 802A3860 002A07C0 40 81 00 44 */ ble lbl_802A38A4 -/* 802A3864 002A07C4 2C 08 00 08 */ cmpwi r8, 8 -/* 802A3868 002A07C8 38 C8 FF F8 */ addi r6, r8, -8 -/* 802A386C 002A07CC 40 81 00 20 */ ble lbl_802A388C -/* 802A3870 002A07D0 38 06 00 07 */ addi r0, r6, 7 -/* 802A3874 002A07D4 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A3878 002A07D8 7C 09 03 A6 */ mtctr r0 -/* 802A387C 002A07DC 2C 06 00 00 */ cmpwi r6, 0 -/* 802A3880 002A07E0 40 81 00 0C */ ble lbl_802A388C -lbl_802A3884: -/* 802A3884 002A07E4 38 A5 00 08 */ addi r5, r5, 8 -/* 802A3888 002A07E8 42 00 FF FC */ bdnz lbl_802A3884 -lbl_802A388C: -/* 802A388C 002A07EC 7C 05 40 50 */ subf r0, r5, r8 -/* 802A3890 002A07F0 7C 09 03 A6 */ mtctr r0 -/* 802A3894 002A07F4 7C 05 40 00 */ cmpw r5, r8 -/* 802A3898 002A07F8 40 80 00 0C */ bge lbl_802A38A4 -lbl_802A389C: -/* 802A389C 002A07FC 38 A5 00 01 */ addi r5, r5, 1 -/* 802A38A0 002A0800 42 00 FF FC */ bdnz lbl_802A389C -lbl_802A38A4: -/* 802A38A4 002A0804 38 00 00 00 */ li r0, 0 -/* 802A38A8 002A0808 90 07 00 04 */ stw r0, 4(r7) -lbl_802A38AC: -/* 802A38AC 002A080C 38 E7 09 0C */ addi r7, r7, 0x90c -/* 802A38B0 002A0810 38 84 00 01 */ addi r4, r4, 1 -lbl_802A38B4: -/* 802A38B4 002A0814 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802A38B8 002A0818 7C 04 00 00 */ cmpw r4, r0 -/* 802A38BC 002A081C 41 80 FF 88 */ blt lbl_802A3844 -/* 802A38C0 002A0820 38 80 00 00 */ li r4, 0 -/* 802A38C4 002A0824 90 83 00 18 */ stw r4, 0x18(r3) -/* 802A38C8 002A0828 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A38CC 002A082C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802A38D0 002A0830 98 03 1B 40 */ stb r0, 0x1b40(r3) -/* 802A38D4 002A0834 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A38D8 002A0838 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802A38DC 002A083C 98 03 1B 40 */ stb r0, 0x1b40(r3) -/* 802A38E0 002A0840 4E 80 00 20 */ blr - -.global SetCacheBounds__19CAreaCollisionCacheFRC6CAABox -SetCacheBounds__19CAreaCollisionCacheFRC6CAABox: -/* 802A38E4 002A0844 80 A4 00 00 */ lwz r5, 0(r4) -/* 802A38E8 002A0848 80 04 00 04 */ lwz r0, 4(r4) -/* 802A38EC 002A084C 90 A3 00 00 */ stw r5, 0(r3) -/* 802A38F0 002A0850 90 03 00 04 */ stw r0, 4(r3) -/* 802A38F4 002A0854 80 04 00 08 */ lwz r0, 8(r4) -/* 802A38F8 002A0858 90 03 00 08 */ stw r0, 8(r3) -/* 802A38FC 002A085C 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 802A3900 002A0860 80 04 00 10 */ lwz r0, 0x10(r4) -/* 802A3904 002A0864 90 A3 00 0C */ stw r5, 0xc(r3) -/* 802A3908 002A0868 90 03 00 10 */ stw r0, 0x10(r3) -/* 802A390C 002A086C 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802A3910 002A0870 90 03 00 14 */ stw r0, 0x14(r3) -/* 802A3914 002A0874 4E 80 00 20 */ blr - -.global AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache -AddOctreeLeafCache__19CAreaCollisionCacheFRCQ220CMetroidAreaCollider16COctreeLeafCache: -/* 802A3918 002A0878 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A391C 002A087C 7C 08 02 A6 */ mflr r0 -/* 802A3920 002A0880 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A3924 002A0884 80 04 00 04 */ lwz r0, 4(r4) -/* 802A3928 002A0888 2C 00 00 00 */ cmpwi r0, 0 -/* 802A392C 002A088C 41 82 00 54 */ beq lbl_802A3980 -/* 802A3930 002A0890 88 04 09 08 */ lbz r0, 0x908(r4) -/* 802A3934 002A0894 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802A3938 002A0898 41 82 00 14 */ beq lbl_802A394C -/* 802A393C 002A089C 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A3940 002A08A0 38 A0 00 01 */ li r5, 1 -/* 802A3944 002A08A4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802A3948 002A08A8 98 03 1B 40 */ stb r0, 0x1b40(r3) -lbl_802A394C: -/* 802A394C 002A08AC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802A3950 002A08B0 2C 00 00 03 */ cmpwi r0, 3 -/* 802A3954 002A08B4 40 80 00 10 */ bge lbl_802A3964 -/* 802A3958 002A08B8 38 63 00 18 */ addi r3, r3, 0x18 -/* 802A395C 002A08BC 48 00 00 35 */ bl sub_802a3990 -/* 802A3960 002A08C0 48 00 00 20 */ b lbl_802A3980 -lbl_802A3964: -/* 802A3964 002A08C4 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A3968 002A08C8 38 80 00 01 */ li r4, 1 -/* 802A396C 002A08CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802A3970 002A08D0 98 03 1B 40 */ stb r0, 0x1b40(r3) -/* 802A3974 002A08D4 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A3978 002A08D8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802A397C 002A08DC 98 03 1B 40 */ stb r0, 0x1b40(r3) -lbl_802A3980: -/* 802A3980 002A08E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A3984 002A08E4 7C 08 03 A6 */ mtlr r0 -/* 802A3988 002A08E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A398C 002A08EC 4E 80 00 20 */ blr - -.global sub_802a3990 -sub_802a3990: -/* 802A3990 002A08F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A3994 002A08F4 7C 08 02 A6 */ mflr r0 -/* 802A3998 002A08F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A399C 002A08FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A39A0 002A0900 7C 7F 1B 78 */ mr r31, r3 -/* 802A39A4 002A0904 80 03 00 00 */ lwz r0, 0(r3) -/* 802A39A8 002A0908 1C 00 09 0C */ mulli r0, r0, 0x90c -/* 802A39AC 002A090C 7C 7F 02 14 */ add r3, r31, r0 -/* 802A39B0 002A0910 38 63 00 04 */ addi r3, r3, 4 -/* 802A39B4 002A0914 48 00 00 25 */ bl sub_802a39d8 -/* 802A39B8 002A0918 80 7F 00 00 */ lwz r3, 0(r31) -/* 802A39BC 002A091C 38 03 00 01 */ addi r0, r3, 1 -/* 802A39C0 002A0920 90 1F 00 00 */ stw r0, 0(r31) -/* 802A39C4 002A0924 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A39C8 002A0928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A39CC 002A092C 7C 08 03 A6 */ mtlr r0 -/* 802A39D0 002A0930 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A39D4 002A0934 4E 80 00 20 */ blr - -.global sub_802a39d8 -sub_802a39d8: -/* 802A39D8 002A0938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A39DC 002A093C 7C 08 02 A6 */ mflr r0 -/* 802A39E0 002A0940 28 03 00 00 */ cmplwi r3, 0 -/* 802A39E4 002A0944 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A39E8 002A0948 41 82 00 08 */ beq lbl_802A39F0 -/* 802A39EC 002A094C 48 00 00 15 */ bl sub_802a3a00 -lbl_802A39F0: -/* 802A39F0 002A0950 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A39F4 002A0954 7C 08 03 A6 */ mtlr r0 -/* 802A39F8 002A0958 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A39FC 002A095C 4E 80 00 20 */ blr - -.global sub_802a3a00 -sub_802a3a00: -/* 802A3A00 002A0960 80 04 00 00 */ lwz r0, 0(r4) -/* 802A3A04 002A0964 38 C4 00 08 */ addi r6, r4, 8 -/* 802A3A08 002A0968 38 A3 00 08 */ addi r5, r3, 8 -/* 802A3A0C 002A096C 90 03 00 00 */ stw r0, 0(r3) -/* 802A3A10 002A0970 80 04 00 04 */ lwz r0, 4(r4) -/* 802A3A14 002A0974 90 03 00 04 */ stw r0, 4(r3) -/* 802A3A18 002A0978 80 03 00 04 */ lwz r0, 4(r3) -/* 802A3A1C 002A097C 7C 09 03 A6 */ mtctr r0 -/* 802A3A20 002A0980 2C 00 00 00 */ cmpwi r0, 0 -/* 802A3A24 002A0984 40 81 00 60 */ ble lbl_802A3A84 -lbl_802A3A28: -/* 802A3A28 002A0988 28 05 00 00 */ cmplwi r5, 0 -/* 802A3A2C 002A098C 41 82 00 4C */ beq lbl_802A3A78 -/* 802A3A30 002A0990 C0 06 00 00 */ lfs f0, 0(r6) -/* 802A3A34 002A0994 D0 05 00 00 */ stfs f0, 0(r5) -/* 802A3A38 002A0998 C0 06 00 04 */ lfs f0, 4(r6) -/* 802A3A3C 002A099C D0 05 00 04 */ stfs f0, 4(r5) -/* 802A3A40 002A09A0 C0 06 00 08 */ lfs f0, 8(r6) -/* 802A3A44 002A09A4 D0 05 00 08 */ stfs f0, 8(r5) -/* 802A3A48 002A09A8 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 802A3A4C 002A09AC D0 05 00 0C */ stfs f0, 0xc(r5) -/* 802A3A50 002A09B0 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 802A3A54 002A09B4 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 802A3A58 002A09B8 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 802A3A5C 002A09BC D0 05 00 14 */ stfs f0, 0x14(r5) -/* 802A3A60 002A09C0 80 06 00 18 */ lwz r0, 0x18(r6) -/* 802A3A64 002A09C4 90 05 00 18 */ stw r0, 0x18(r5) -/* 802A3A68 002A09C8 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 802A3A6C 002A09CC 90 05 00 1C */ stw r0, 0x1c(r5) -/* 802A3A70 002A09D0 80 06 00 20 */ lwz r0, 0x20(r6) -/* 802A3A74 002A09D4 90 05 00 20 */ stw r0, 0x20(r5) -lbl_802A3A78: -/* 802A3A78 002A09D8 38 A5 00 24 */ addi r5, r5, 0x24 -/* 802A3A7C 002A09DC 38 C6 00 24 */ addi r6, r6, 0x24 -/* 802A3A80 002A09E0 42 00 FF A8 */ bdnz lbl_802A3A28 -lbl_802A3A84: -/* 802A3A84 002A09E4 88 04 09 08 */ lbz r0, 0x908(r4) -/* 802A3A88 002A09E8 98 03 09 08 */ stb r0, 0x908(r3) -/* 802A3A8C 002A09EC 4E 80 00 20 */ blr - -.global __ct__19CAreaCollisionCacheFRC6CAABox -__ct__19CAreaCollisionCacheFRC6CAABox: -/* 802A3A90 002A09F0 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A3A94 002A09F4 38 A0 00 00 */ li r5, 0 -/* 802A3A98 002A09F8 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A3A9C 002A09FC C0 04 00 04 */ lfs f0, 4(r4) -/* 802A3AA0 002A0A00 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A3AA4 002A0A04 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A3AA8 002A0A08 D0 03 00 08 */ stfs f0, 8(r3) -/* 802A3AAC 002A0A0C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A3AB0 002A0A10 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802A3AB4 002A0A14 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A3AB8 002A0A18 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802A3ABC 002A0A1C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A3AC0 002A0A20 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802A3AC4 002A0A24 90 A3 00 18 */ stw r5, 0x18(r3) -/* 802A3AC8 002A0A28 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A3ACC 002A0A2C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802A3AD0 002A0A30 98 03 1B 40 */ stb r0, 0x1b40(r3) -/* 802A3AD4 002A0A34 88 03 1B 40 */ lbz r0, 0x1b40(r3) -/* 802A3AD8 002A0A38 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 802A3ADC 002A0A3C 98 03 1B 40 */ stb r0, 0x1b40(r3) -/* 802A3AE0 002A0A40 4E 80 00 20 */ blr - -.global AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node -AddLeaf__Q220CMetroidAreaCollider16COctreeLeafCacheFRCQ212CAreaOctTree4Node: -/* 802A3AE4 002A0A44 80 03 00 04 */ lwz r0, 4(r3) -/* 802A3AE8 002A0A48 2C 00 00 40 */ cmpwi r0, 0x40 -/* 802A3AEC 002A0A4C 40 82 00 18 */ bne lbl_802A3B04 -/* 802A3AF0 002A0A50 88 03 09 08 */ lbz r0, 0x908(r3) -/* 802A3AF4 002A0A54 38 80 00 01 */ li r4, 1 -/* 802A3AF8 002A0A58 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802A3AFC 002A0A5C 98 03 09 08 */ stb r0, 0x908(r3) -/* 802A3B00 002A0A60 4E 80 00 20 */ blr -lbl_802A3B04: -/* 802A3B04 002A0A64 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 802A3B08 002A0A68 7C A3 02 14 */ add r5, r3, r0 -/* 802A3B0C 002A0A6C 34 A5 00 08 */ addic. r5, r5, 8 -/* 802A3B10 002A0A70 41 82 00 4C */ beq lbl_802A3B5C -/* 802A3B14 002A0A74 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A3B18 002A0A78 D0 05 00 00 */ stfs f0, 0(r5) -/* 802A3B1C 002A0A7C C0 04 00 04 */ lfs f0, 4(r4) -/* 802A3B20 002A0A80 D0 05 00 04 */ stfs f0, 4(r5) -/* 802A3B24 002A0A84 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A3B28 002A0A88 D0 05 00 08 */ stfs f0, 8(r5) -/* 802A3B2C 002A0A8C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A3B30 002A0A90 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 802A3B34 002A0A94 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A3B38 002A0A98 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 802A3B3C 002A0A9C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A3B40 002A0AA0 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 802A3B44 002A0AA4 80 04 00 18 */ lwz r0, 0x18(r4) -/* 802A3B48 002A0AA8 90 05 00 18 */ stw r0, 0x18(r5) -/* 802A3B4C 002A0AAC 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 802A3B50 002A0AB0 90 05 00 1C */ stw r0, 0x1c(r5) -/* 802A3B54 002A0AB4 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802A3B58 002A0AB8 90 05 00 20 */ stw r0, 0x20(r5) -lbl_802A3B5C: -/* 802A3B5C 002A0ABC 80 83 00 04 */ lwz r4, 4(r3) -/* 802A3B60 002A0AC0 38 04 00 01 */ addi r0, r4, 1 -/* 802A3B64 002A0AC4 90 03 00 04 */ stw r0, 4(r3) -/* 802A3B68 002A0AC8 4E 80 00 20 */ blr - -.global __ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree -__ct__Q220CMetroidAreaCollider16COctreeLeafCacheFRC12CAreaOctTree: -/* 802A3B6C 002A0ACC 90 83 00 00 */ stw r4, 0(r3) -/* 802A3B70 002A0AD0 38 A0 00 00 */ li r5, 0 -/* 802A3B74 002A0AD4 90 A3 00 04 */ stw r5, 4(r3) -/* 802A3B78 002A0AD8 88 03 09 08 */ lbz r0, 0x908(r3) -/* 802A3B7C 002A0ADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802A3B80 002A0AE0 98 03 09 08 */ stb r0, 0x908(r3) -/* 802A3B84 002A0AE4 4E 80 00 20 */ blr - -.global "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -"MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f": -/* 802A3B88 002A0AE8 94 21 FD C0 */ stwu r1, -0x240(r1) -/* 802A3B8C 002A0AEC 7C 08 02 A6 */ mflr r0 -/* 802A3B90 002A0AF0 90 01 02 44 */ stw r0, 0x244(r1) -/* 802A3B94 002A0AF4 DB E1 02 30 */ stfd f31, 0x230(r1) -/* 802A3B98 002A0AF8 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 -/* 802A3B9C 002A0AFC BE A1 02 04 */ stmw r21, 0x204(r1) -/* 802A3BA0 002A0B00 7C B8 2B 78 */ mr r24, r5 -/* 802A3BA4 002A0B04 7C 76 1B 78 */ mr r22, r3 -/* 802A3BA8 002A0B08 7C 97 23 78 */ mr r23, r4 -/* 802A3BAC 002A0B0C 7C D9 33 78 */ mr r25, r6 -/* 802A3BB0 002A0B10 7C FA 3B 78 */ mr r26, r7 -/* 802A3BB4 002A0B14 7D 1B 43 78 */ mr r27, r8 -/* 802A3BB8 002A0B18 7D 3C 4B 78 */ mr r28, r9 -/* 802A3BBC 002A0B1C 3B F8 00 04 */ addi r31, r24, 4 -/* 802A3BC0 002A0B20 3B C0 00 00 */ li r30, 0 -/* 802A3BC4 002A0B24 3B A0 00 00 */ li r29, 0 -/* 802A3BC8 002A0B28 48 00 04 00 */ b lbl_802A3FC8 -lbl_802A3BCC: -/* 802A3BCC 002A0B2C 7E C4 B3 78 */ mr r4, r22 -/* 802A3BD0 002A0B30 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 802A3BD4 002A0B34 48 07 09 B1 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3BD8 002A0B38 7E E4 BB 78 */ mr r4, r23 -/* 802A3BDC 002A0B3C 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 802A3BE0 002A0B40 48 07 09 A5 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3BE4 002A0B44 38 7F 00 70 */ addi r3, r31, 0x70 -/* 802A3BE8 002A0B48 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 802A3BEC 002A0B4C 48 07 08 81 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3BF0 002A0B50 C8 1F 00 88 */ lfd f0, 0x88(r31) -/* 802A3BF4 002A0B54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A3BF8 002A0B58 4C 41 13 82 */ cror 2, 1, 2 -/* 802A3BFC 002A0B5C 7C 00 00 26 */ mfcr r0 -/* 802A3C00 002A0B60 38 7F 00 70 */ addi r3, r31, 0x70 -/* 802A3C04 002A0B64 54 15 1F FE */ rlwinm r21, r0, 3, 0x1f, 0x1f -/* 802A3C08 002A0B68 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 802A3C0C 002A0B6C 48 07 08 61 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3C10 002A0B70 C8 1F 00 88 */ lfd f0, 0x88(r31) -/* 802A3C14 002A0B74 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A3C18 002A0B78 4C 41 13 82 */ cror 2, 1, 2 -/* 802A3C1C 002A0B7C 7C 00 00 26 */ mfcr r0 -/* 802A3C20 002A0B80 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f -/* 802A3C24 002A0B84 7C 00 A8 40 */ cmplw r0, r21 -/* 802A3C28 002A0B88 41 82 03 98 */ beq lbl_802A3FC0 -/* 802A3C2C 002A0B8C 38 61 01 58 */ addi r3, r1, 0x158 -/* 802A3C30 002A0B90 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 802A3C34 002A0B94 38 A1 01 D0 */ addi r5, r1, 0x1d0 -/* 802A3C38 002A0B98 48 07 07 5D */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802A3C3C 002A0B9C C8 41 01 58 */ lfd f2, 0x158(r1) -/* 802A3C40 002A0BA0 38 61 01 40 */ addi r3, r1, 0x140 -/* 802A3C44 002A0BA4 C8 21 01 60 */ lfd f1, 0x160(r1) -/* 802A3C48 002A0BA8 38 9F 00 58 */ addi r4, r31, 0x58 -/* 802A3C4C 002A0BAC C8 01 01 68 */ lfd f0, 0x168(r1) -/* 802A3C50 002A0BB0 38 A1 01 B8 */ addi r5, r1, 0x1b8 -/* 802A3C54 002A0BB4 D8 41 01 B8 */ stfd f2, 0x1b8(r1) -/* 802A3C58 002A0BB8 D8 21 01 C0 */ stfd f1, 0x1c0(r1) -/* 802A3C5C 002A0BBC D8 01 01 C8 */ stfd f0, 0x1c8(r1) -/* 802A3C60 002A0BC0 48 07 07 BD */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3C64 002A0BC4 C8 41 01 40 */ lfd f2, 0x140(r1) -/* 802A3C68 002A0BC8 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 802A3C6C 002A0BCC C8 21 01 48 */ lfd f1, 0x148(r1) -/* 802A3C70 002A0BD0 C8 01 01 50 */ lfd f0, 0x150(r1) -/* 802A3C74 002A0BD4 D8 41 01 A0 */ stfd f2, 0x1a0(r1) -/* 802A3C78 002A0BD8 D8 21 01 A8 */ stfd f1, 0x1a8(r1) -/* 802A3C7C 002A0BDC D8 01 01 B0 */ stfd f0, 0x1b0(r1) -/* 802A3C80 002A0BE0 48 07 08 A1 */ bl MagSquared__9CVector3dCFv -/* 802A3C84 002A0BE4 C8 02 C1 50 */ lfd f0, lbl_805ADE70@sda21(r2) -/* 802A3C88 002A0BE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A3C8C 002A0BEC 41 80 03 34 */ blt lbl_802A3FC0 -/* 802A3C90 002A0BF0 38 61 01 28 */ addi r3, r1, 0x128 -/* 802A3C94 002A0BF4 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 802A3C98 002A0BF8 48 07 08 25 */ bl AsNormalized__9CVector3dCFv -/* 802A3C9C 002A0BFC C8 41 01 28 */ lfd f2, 0x128(r1) -/* 802A3CA0 002A0C00 7F 24 CB 78 */ mr r4, r25 -/* 802A3CA4 002A0C04 C8 21 01 30 */ lfd f1, 0x130(r1) -/* 802A3CA8 002A0C08 38 61 01 10 */ addi r3, r1, 0x110 -/* 802A3CAC 002A0C0C C8 01 01 38 */ lfd f0, 0x138(r1) -/* 802A3CB0 002A0C10 D8 41 01 88 */ stfd f2, 0x188(r1) -/* 802A3CB4 002A0C14 D8 21 01 90 */ stfd f1, 0x190(r1) -/* 802A3CB8 002A0C18 D8 01 01 98 */ stfd f0, 0x198(r1) -/* 802A3CBC 002A0C1C 48 07 08 C9 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3CC0 002A0C20 7C 64 1B 78 */ mr r4, r3 -/* 802A3CC4 002A0C24 38 61 01 88 */ addi r3, r1, 0x188 -/* 802A3CC8 002A0C28 48 07 07 A5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3CCC 002A0C2C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A3CD0 002A0C30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A3CD4 002A0C34 4C 41 13 82 */ cror 2, 1, 2 -/* 802A3CD8 002A0C38 40 82 00 C0 */ bne lbl_802A3D98 -/* 802A3CDC 002A0C3C 7E C4 B3 78 */ mr r4, r22 -/* 802A3CE0 002A0C40 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 802A3CE4 002A0C44 48 07 08 A1 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3CE8 002A0C48 C8 41 00 F8 */ lfd f2, 0xf8(r1) -/* 802A3CEC 002A0C4C 7E E4 BB 78 */ mr r4, r23 -/* 802A3CF0 002A0C50 C8 21 01 00 */ lfd f1, 0x100(r1) -/* 802A3CF4 002A0C54 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 802A3CF8 002A0C58 C8 01 01 08 */ lfd f0, 0x108(r1) -/* 802A3CFC 002A0C5C D8 41 01 D0 */ stfd f2, 0x1d0(r1) -/* 802A3D00 002A0C60 D8 21 01 D8 */ stfd f1, 0x1d8(r1) -/* 802A3D04 002A0C64 D8 01 01 E0 */ stfd f0, 0x1e0(r1) -/* 802A3D08 002A0C68 48 07 08 7D */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3D0C 002A0C6C C8 41 00 E0 */ lfd f2, 0xe0(r1) -/* 802A3D10 002A0C70 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802A3D14 002A0C74 C8 21 00 E8 */ lfd f1, 0xe8(r1) -/* 802A3D18 002A0C78 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 802A3D1C 002A0C7C C8 01 00 F0 */ lfd f0, 0xf0(r1) -/* 802A3D20 002A0C80 38 A1 01 D0 */ addi r5, r1, 0x1d0 -/* 802A3D24 002A0C84 D8 41 01 E8 */ stfd f2, 0x1e8(r1) -/* 802A3D28 002A0C88 D8 21 01 F0 */ stfd f1, 0x1f0(r1) -/* 802A3D2C 002A0C8C D8 01 01 F8 */ stfd f0, 0x1f8(r1) -/* 802A3D30 002A0C90 48 07 06 65 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802A3D34 002A0C94 C8 41 00 C8 */ lfd f2, 0xc8(r1) -/* 802A3D38 002A0C98 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802A3D3C 002A0C9C C8 21 00 D0 */ lfd f1, 0xd0(r1) -/* 802A3D40 002A0CA0 38 9F 00 58 */ addi r4, r31, 0x58 -/* 802A3D44 002A0CA4 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802A3D48 002A0CA8 38 A1 01 B8 */ addi r5, r1, 0x1b8 -/* 802A3D4C 002A0CAC D8 41 01 B8 */ stfd f2, 0x1b8(r1) -/* 802A3D50 002A0CB0 D8 21 01 C0 */ stfd f1, 0x1c0(r1) -/* 802A3D54 002A0CB4 D8 01 01 C8 */ stfd f0, 0x1c8(r1) -/* 802A3D58 002A0CB8 48 07 06 C5 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3D5C 002A0CBC C8 41 00 B0 */ lfd f2, 0xb0(r1) -/* 802A3D60 002A0CC0 38 61 00 98 */ addi r3, r1, 0x98 -/* 802A3D64 002A0CC4 C8 21 00 B8 */ lfd f1, 0xb8(r1) -/* 802A3D68 002A0CC8 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 802A3D6C 002A0CCC C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 802A3D70 002A0CD0 D8 41 01 A0 */ stfd f2, 0x1a0(r1) -/* 802A3D74 002A0CD4 D8 21 01 A8 */ stfd f1, 0x1a8(r1) -/* 802A3D78 002A0CD8 D8 01 01 B0 */ stfd f0, 0x1b0(r1) -/* 802A3D7C 002A0CDC 48 07 07 41 */ bl AsNormalized__9CVector3dCFv -/* 802A3D80 002A0CE0 C8 41 00 98 */ lfd f2, 0x98(r1) -/* 802A3D84 002A0CE4 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 802A3D88 002A0CE8 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 802A3D8C 002A0CEC D8 41 01 88 */ stfd f2, 0x188(r1) -/* 802A3D90 002A0CF0 D8 21 01 90 */ stfd f1, 0x190(r1) -/* 802A3D94 002A0CF4 D8 01 01 98 */ stfd f0, 0x198(r1) -lbl_802A3D98: -/* 802A3D98 002A0CF8 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 802A3D9C 002A0CFC 38 9F 00 70 */ addi r4, r31, 0x70 -/* 802A3DA0 002A0D00 48 07 06 CD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3DA4 002A0D04 FF E0 08 90 */ fmr f31, f1 -/* 802A3DA8 002A0D08 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 802A3DAC 002A0D0C 38 9F 00 70 */ addi r4, r31, 0x70 -/* 802A3DB0 002A0D10 48 07 06 BD */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802A3DB4 002A0D14 C8 1F 00 88 */ lfd f0, 0x88(r31) -/* 802A3DB8 002A0D18 38 61 00 68 */ addi r3, r1, 0x68 -/* 802A3DBC 002A0D1C 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 802A3DC0 002A0D20 FC 01 00 28 */ fsub f0, f1, f0 -/* 802A3DC4 002A0D24 FC 00 00 50 */ fneg f0, f0 -/* 802A3DC8 002A0D28 FC 20 F8 24 */ fdiv f1, f0, f31 -/* 802A3DCC 002A0D2C 48 07 05 8D */ bl __ml__FdRC9CVector3d -/* 802A3DD0 002A0D30 38 61 00 80 */ addi r3, r1, 0x80 -/* 802A3DD4 002A0D34 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 802A3DD8 002A0D38 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802A3DDC 002A0D3C 48 07 05 FD */ bl __pl__FRC9CVector3dRC9CVector3d -/* 802A3DE0 002A0D40 C8 3F 00 78 */ lfd f1, 0x78(r31) -/* 802A3DE4 002A0D44 C8 1F 00 70 */ lfd f0, 0x70(r31) -/* 802A3DE8 002A0D48 FC 60 0A 10 */ fabs f3, f1 -/* 802A3DEC 002A0D4C C8 41 00 80 */ lfd f2, 0x80(r1) -/* 802A3DF0 002A0D50 FC 80 02 10 */ fabs f4, f0 -/* 802A3DF4 002A0D54 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 802A3DF8 002A0D58 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 802A3DFC 002A0D5C D8 41 01 70 */ stfd f2, 0x170(r1) -/* 802A3E00 002A0D60 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802A3E04 002A0D64 D8 21 01 78 */ stfd f1, 0x178(r1) -/* 802A3E08 002A0D68 D8 01 01 80 */ stfd f0, 0x180(r1) -/* 802A3E0C 002A0D6C 40 81 00 0C */ ble lbl_802A3E18 -/* 802A3E10 002A0D70 38 80 00 00 */ li r4, 0 -/* 802A3E14 002A0D74 48 00 00 08 */ b lbl_802A3E1C -lbl_802A3E18: -/* 802A3E18 002A0D78 38 80 00 01 */ li r4, 1 -lbl_802A3E1C: -/* 802A3E1C 002A0D7C 54 80 18 38 */ slwi r0, r4, 3 -/* 802A3E20 002A0D80 C8 1F 00 80 */ lfd f0, 0x80(r31) -/* 802A3E24 002A0D84 7C 7F 02 14 */ add r3, r31, r0 -/* 802A3E28 002A0D88 C8 23 00 70 */ lfd f1, 0x70(r3) -/* 802A3E2C 002A0D8C FC 40 02 10 */ fabs f2, f0 -/* 802A3E30 002A0D90 FC 00 0A 10 */ fabs f0, f1 -/* 802A3E34 002A0D94 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802A3E38 002A0D98 40 80 00 08 */ bge lbl_802A3E40 -/* 802A3E3C 002A0D9C 38 80 00 02 */ li r4, 2 -lbl_802A3E40: -/* 802A3E40 002A0DA0 2C 04 00 00 */ cmpwi r4, 0 -/* 802A3E44 002A0DA4 40 82 00 10 */ bne lbl_802A3E54 -/* 802A3E48 002A0DA8 38 80 00 01 */ li r4, 1 -/* 802A3E4C 002A0DAC 39 00 00 02 */ li r8, 2 -/* 802A3E50 002A0DB0 48 00 00 20 */ b lbl_802A3E70 -lbl_802A3E54: -/* 802A3E54 002A0DB4 2C 04 00 01 */ cmpwi r4, 1 -/* 802A3E58 002A0DB8 40 82 00 10 */ bne lbl_802A3E68 -/* 802A3E5C 002A0DBC 38 80 00 00 */ li r4, 0 -/* 802A3E60 002A0DC0 39 00 00 02 */ li r8, 2 -/* 802A3E64 002A0DC4 48 00 00 0C */ b lbl_802A3E70 -lbl_802A3E68: -/* 802A3E68 002A0DC8 38 80 00 00 */ li r4, 0 -/* 802A3E6C 002A0DCC 39 00 00 01 */ li r8, 1 -lbl_802A3E70: -/* 802A3E70 002A0DD0 54 80 18 38 */ slwi r0, r4, 3 -/* 802A3E74 002A0DD4 38 61 01 70 */ addi r3, r1, 0x170 -/* 802A3E78 002A0DD8 7C FF 02 14 */ add r7, r31, r0 -/* 802A3E7C 002A0DDC 55 06 18 38 */ slwi r6, r8, 3 -/* 802A3E80 002A0DE0 7C 23 04 AE */ lfdx f1, r3, r0 -/* 802A3E84 002A0DE4 7C BF 32 14 */ add r5, r31, r6 -/* 802A3E88 002A0DE8 C8 07 00 28 */ lfd f0, 0x28(r7) -/* 802A3E8C 002A0DEC 54 84 10 3A */ slwi r4, r4, 2 -/* 802A3E90 002A0DF0 55 00 10 3A */ slwi r0, r8, 2 -/* 802A3E94 002A0DF4 C8 85 00 58 */ lfd f4, 0x58(r5) -/* 802A3E98 002A0DF8 FC 61 00 28 */ fsub f3, f1, f0 -/* 802A3E9C 002A0DFC 7C 19 24 2E */ lfsx f0, r25, r4 -/* 802A3EA0 002A0E00 7C C3 34 AE */ lfdx f6, r3, r6 -/* 802A3EA4 002A0E04 C8 A5 00 28 */ lfd f5, 0x28(r5) -/* 802A3EA8 002A0E08 FC 24 00 32 */ fmul f1, f4, f0 -/* 802A3EAC 002A0E0C C8 E7 00 58 */ lfd f7, 0x58(r7) -/* 802A3EB0 002A0E10 7C 59 04 2E */ lfsx f2, r25, r0 -/* 802A3EB4 002A0E14 FC 64 00 F2 */ fmul f3, f4, f3 -/* 802A3EB8 002A0E18 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A3EBC 002A0E1C FC 86 28 28 */ fsub f4, f6, f5 -/* 802A3EC0 002A0E20 FC 27 08 B8 */ fmsub f1, f7, f2, f1 -/* 802A3EC4 002A0E24 FC 47 19 38 */ fmsub f2, f7, f4, f3 -/* 802A3EC8 002A0E28 FF E2 08 24 */ fdiv f31, f2, f1 -/* 802A3ECC 002A0E2C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802A3ED0 002A0E30 41 80 00 F0 */ blt lbl_802A3FC0 -/* 802A3ED4 002A0E34 C8 1A 00 00 */ lfd f0, 0(r26) -/* 802A3ED8 002A0E38 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802A3EDC 002A0E3C 4C 41 13 82 */ cror 2, 1, 2 -/* 802A3EE0 002A0E40 41 82 00 E0 */ beq lbl_802A3FC0 -/* 802A3EE4 002A0E44 7F 24 CB 78 */ mr r4, r25 -/* 802A3EE8 002A0E48 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A3EEC 002A0E4C 48 07 06 99 */ bl __ct__9CVector3dFRC9CVector3f -/* 802A3EF0 002A0E50 FC 20 F8 90 */ fmr f1, f31 -/* 802A3EF4 002A0E54 7C 64 1B 78 */ mr r4, r3 -/* 802A3EF8 002A0E58 38 61 00 38 */ addi r3, r1, 0x38 -/* 802A3EFC 002A0E5C 48 07 04 5D */ bl __ml__FdRC9CVector3d -/* 802A3F00 002A0E60 38 61 00 50 */ addi r3, r1, 0x50 -/* 802A3F04 002A0E64 38 81 01 70 */ addi r4, r1, 0x170 -/* 802A3F08 002A0E68 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802A3F0C 002A0E6C 48 07 04 89 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802A3F10 002A0E70 C8 41 00 50 */ lfd f2, 0x50(r1) -/* 802A3F14 002A0E74 C8 3F 00 28 */ lfd f1, 0x28(r31) -/* 802A3F18 002A0E78 C8 1F 00 40 */ lfd f0, 0x40(r31) -/* 802A3F1C 002A0E7C FC 21 10 28 */ fsub f1, f1, f2 -/* 802A3F20 002A0E80 C8 A1 00 58 */ lfd f5, 0x58(r1) -/* 802A3F24 002A0E84 FC 00 10 28 */ fsub f0, f0, f2 -/* 802A3F28 002A0E88 C8 7F 00 30 */ lfd f3, 0x30(r31) -/* 802A3F2C 002A0E8C C8 5F 00 48 */ lfd f2, 0x48(r31) -/* 802A3F30 002A0E90 FC 63 28 28 */ fsub f3, f3, f5 -/* 802A3F34 002A0E94 FC 01 00 32 */ fmul f0, f1, f0 -/* 802A3F38 002A0E98 C8 C1 00 60 */ lfd f6, 0x60(r1) -/* 802A3F3C 002A0E9C C8 9F 00 38 */ lfd f4, 0x38(r31) -/* 802A3F40 002A0EA0 FC 22 28 28 */ fsub f1, f2, f5 -/* 802A3F44 002A0EA4 C8 5F 00 50 */ lfd f2, 0x50(r31) -/* 802A3F48 002A0EA8 FC 84 30 28 */ fsub f4, f4, f6 -/* 802A3F4C 002A0EAC FC 23 00 7A */ fmadd f1, f3, f1, f0 -/* 802A3F50 002A0EB0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A3F54 002A0EB4 FC 42 30 28 */ fsub f2, f2, f6 -/* 802A3F58 002A0EB8 FC 24 08 BA */ fmadd f1, f4, f2, f1 -/* 802A3F5C 002A0EBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A3F60 002A0EC0 40 80 00 60 */ bge lbl_802A3FC0 -/* 802A3F64 002A0EC4 C8 1A 00 00 */ lfd f0, 0(r26) -/* 802A3F68 002A0EC8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802A3F6C 002A0ECC 40 80 00 54 */ bge lbl_802A3FC0 -/* 802A3F70 002A0ED0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A3F74 002A0ED4 38 81 01 88 */ addi r4, r1, 0x188 -/* 802A3F78 002A0ED8 48 07 05 1D */ bl AsCVector3f__9CVector3dCFv -/* 802A3F7C 002A0EDC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802A3F80 002A0EE0 38 61 00 08 */ addi r3, r1, 8 -/* 802A3F84 002A0EE4 38 81 01 70 */ addi r4, r1, 0x170 -/* 802A3F88 002A0EE8 D0 1B 00 00 */ stfs f0, 0(r27) -/* 802A3F8C 002A0EEC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802A3F90 002A0EF0 D0 1B 00 04 */ stfs f0, 4(r27) -/* 802A3F94 002A0EF4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A3F98 002A0EF8 D0 1B 00 08 */ stfs f0, 8(r27) -/* 802A3F9C 002A0EFC DB FA 00 00 */ stfd f31, 0(r26) -/* 802A3FA0 002A0F00 48 07 04 F5 */ bl AsCVector3f__9CVector3dCFv -/* 802A3FA4 002A0F04 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A3FA8 002A0F08 3B C0 00 01 */ li r30, 1 -/* 802A3FAC 002A0F0C D0 1C 00 00 */ stfs f0, 0(r28) -/* 802A3FB0 002A0F10 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A3FB4 002A0F14 D0 1C 00 04 */ stfs f0, 4(r28) -/* 802A3FB8 002A0F18 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A3FBC 002A0F1C D0 1C 00 08 */ stfs f0, 8(r28) -lbl_802A3FC0: -/* 802A3FC0 002A0F20 3B FF 00 90 */ addi r31, r31, 0x90 -/* 802A3FC4 002A0F24 3B BD 00 01 */ addi r29, r29, 1 -lbl_802A3FC8: -/* 802A3FC8 002A0F28 80 18 00 00 */ lwz r0, 0(r24) -/* 802A3FCC 002A0F2C 7C 1D 00 00 */ cmpw r29, r0 -/* 802A3FD0 002A0F30 41 80 FB FC */ blt lbl_802A3BCC -/* 802A3FD4 002A0F34 7F C3 F3 78 */ mr r3, r30 -/* 802A3FD8 002A0F38 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 -/* 802A3FDC 002A0F3C CB E1 02 30 */ lfd f31, 0x230(r1) -/* 802A3FE0 002A0F40 BA A1 02 04 */ lmw r21, 0x204(r1) -/* 802A3FE4 002A0F44 80 01 02 44 */ lwz r0, 0x244(r1) -/* 802A3FE8 002A0F48 7C 08 03 A6 */ mtlr r0 -/* 802A3FEC 002A0F4C 38 21 02 40 */ addi r1, r1, 0x240 -/* 802A3FF0 002A0F50 4E 80 00 20 */ blr - -.global "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -"MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f": -/* 802A3FF4 002A0F54 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802A3FF8 002A0F58 7C 08 02 A6 */ mflr r0 -/* 802A3FFC 002A0F5C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802A4000 002A0F60 BE C1 00 38 */ stmw r22, 0x38(r1) -/* 802A4004 002A0F64 7C B8 2B 78 */ mr r24, r5 -/* 802A4008 002A0F68 7C 76 1B 78 */ mr r22, r3 -/* 802A400C 002A0F6C 7C 97 23 78 */ mr r23, r4 -/* 802A4010 002A0F70 7C D9 33 78 */ mr r25, r6 -/* 802A4014 002A0F74 7C FA 3B 78 */ mr r26, r7 -/* 802A4018 002A0F78 7D 1B 43 78 */ mr r27, r8 -/* 802A401C 002A0F7C 7D 3C 4B 78 */ mr r28, r9 -/* 802A4020 002A0F80 3B F8 00 04 */ addi r31, r24, 4 -/* 802A4024 002A0F84 3B C0 00 00 */ li r30, 0 -/* 802A4028 002A0F88 3B A0 00 00 */ li r29, 0 -/* 802A402C 002A0F8C 48 00 00 BC */ b lbl_802A40E8 -lbl_802A4030: -/* 802A4030 002A0F90 80 BF 00 00 */ lwz r5, 0(r31) -/* 802A4034 002A0F94 7E E4 BB 78 */ mr r4, r23 -/* 802A4038 002A0F98 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A403C 002A0F9C 48 09 35 75 */ bl GetPoint__6CAABoxCFi -/* 802A4040 002A0FA0 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802A4044 002A0FA4 7F 24 CB 78 */ mr r4, r25 -/* 802A4048 002A0FA8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802A404C 002A0FAC 7E C5 B3 78 */ mr r5, r22 -/* 802A4050 002A0FB0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A4054 002A0FB4 7F 46 D3 78 */ mr r6, r26 -/* 802A4058 002A0FB8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802A405C 002A0FBC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A4060 002A0FC0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802A4064 002A0FC4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802A4068 002A0FC8 48 02 E4 8D */ bl RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd -/* 802A406C 002A0FCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4070 002A0FD0 41 82 00 70 */ beq lbl_802A40E0 -/* 802A4074 002A0FD4 C8 DA 00 00 */ lfd f6, 0(r26) -/* 802A4078 002A0FD8 7E C4 B3 78 */ mr r4, r22 -/* 802A407C 002A0FDC C0 19 00 00 */ lfs f0, 0(r25) -/* 802A4080 002A0FE0 38 61 00 08 */ addi r3, r1, 8 -/* 802A4084 002A0FE4 FC C0 30 18 */ frsp f6, f6 -/* 802A4088 002A0FE8 C0 79 00 04 */ lfs f3, 4(r25) -/* 802A408C 002A0FEC C0 59 00 08 */ lfs f2, 8(r25) -/* 802A4090 002A0FF0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802A4094 002A0FF4 EC 06 00 32 */ fmuls f0, f6, f0 -/* 802A4098 002A0FF8 C0 A1 00 24 */ lfs f5, 0x24(r1) -/* 802A409C 002A0FFC EC 86 00 F2 */ fmuls f4, f6, f3 -/* 802A40A0 002A1000 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802A40A4 002A1004 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 802A40A8 002A1008 EC 01 00 2A */ fadds f0, f1, f0 -/* 802A40AC 002A100C EC 85 20 2A */ fadds f4, f5, f4 -/* 802A40B0 002A1010 EC 23 10 2A */ fadds f1, f3, f2 -/* 802A40B4 002A1014 D0 1C 00 00 */ stfs f0, 0(r28) -/* 802A40B8 002A1018 D0 9C 00 04 */ stfs f4, 4(r28) -/* 802A40BC 002A101C D0 3C 00 08 */ stfs f1, 8(r28) -/* 802A40C0 002A1020 4B FF E5 E5 */ bl GetNormal__17CCollisionSurfaceCFv -/* 802A40C4 002A1024 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A40C8 002A1028 3B C0 00 01 */ li r30, 1 -/* 802A40CC 002A102C D0 1B 00 00 */ stfs f0, 0(r27) -/* 802A40D0 002A1030 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A40D4 002A1034 D0 1B 00 04 */ stfs f0, 4(r27) -/* 802A40D8 002A1038 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A40DC 002A103C D0 1B 00 08 */ stfs f0, 8(r27) -lbl_802A40E0: -/* 802A40E0 002A1040 3B FF 00 04 */ addi r31, r31, 4 -/* 802A40E4 002A1044 3B BD 00 01 */ addi r29, r29, 1 -lbl_802A40E8: -/* 802A40E8 002A1048 80 18 00 00 */ lwz r0, 0(r24) -/* 802A40EC 002A104C 7C 1D 00 00 */ cmpw r29, r0 -/* 802A40F0 002A1050 41 80 FF 40 */ blt lbl_802A4030 -/* 802A40F4 002A1054 7F C3 F3 78 */ mr r3, r30 -/* 802A40F8 002A1058 BA C1 00 38 */ lmw r22, 0x38(r1) -/* 802A40FC 002A105C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802A4100 002A1060 7C 08 03 A6 */ mtlr r0 -/* 802A4104 002A1064 38 21 00 60 */ addi r1, r1, 0x60 -/* 802A4108 002A1068 4E 80 00 20 */ blr - -.global MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f -MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f: -/* 802A410C 002A106C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802A4110 002A1070 7C 08 02 A6 */ mflr r0 -/* 802A4114 002A1074 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A4118 002A1078 BF 41 00 68 */ stmw r26, 0x68(r1) -/* 802A411C 002A107C 7C 7A 1B 78 */ mr r26, r3 -/* 802A4120 002A1080 7C 9B 23 78 */ mr r27, r4 -/* 802A4124 002A1084 7C DC 33 78 */ mr r28, r6 -/* 802A4128 002A1088 7C FD 3B 78 */ mr r29, r7 -/* 802A412C 002A108C 7D 1E 43 78 */ mr r30, r8 -/* 802A4130 002A1090 7F 44 D3 78 */ mr r4, r26 -/* 802A4134 002A1094 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A4138 002A1098 3B E0 00 00 */ li r31, 0 -/* 802A413C 002A109C C0 05 00 08 */ lfs f0, 8(r5) -/* 802A4140 002A10A0 C0 45 00 04 */ lfs f2, 4(r5) -/* 802A4144 002A10A4 FC 60 00 50 */ fneg f3, f0 -/* 802A4148 002A10A8 C0 05 00 00 */ lfs f0, 0(r5) -/* 802A414C 002A10AC C8 26 00 00 */ lfd f1, 0(r6) -/* 802A4150 002A10B0 FC 40 10 50 */ fneg f2, f2 -/* 802A4154 002A10B4 FC 00 00 50 */ fneg f0, f0 -/* 802A4158 002A10B8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802A415C 002A10BC FC 20 08 18 */ frsp f1, f1 -/* 802A4160 002A10C0 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 802A4164 002A10C4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802A4168 002A10C8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802A416C 002A10CC 48 03 1F 01 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 802A4170 002A10D0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802A4174 002A10D4 7F 64 DB 78 */ mr r4, r27 -/* 802A4178 002A10D8 38 E3 66 A0 */ addi r7, r3, skZero3f@l -/* 802A417C 002A10DC 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A4180 002A10E0 C0 47 00 00 */ lfs f2, 0(r7) -/* 802A4184 002A10E4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802A4188 002A10E8 C0 27 00 04 */ lfs f1, 4(r7) -/* 802A418C 002A10EC 38 C1 00 08 */ addi r6, r1, 8 -/* 802A4190 002A10F0 C0 07 00 08 */ lfs f0, 8(r7) -/* 802A4194 002A10F4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802A4198 002A10F8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802A419C 002A10FC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802A41A0 002A1100 48 02 EF 41 */ bl RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd -/* 802A41A4 002A1104 2C 03 00 02 */ cmpwi r3, 2 -/* 802A41A8 002A1108 40 82 00 5C */ bne lbl_802A4204 -/* 802A41AC 002A110C C8 01 00 08 */ lfd f0, 8(r1) -/* 802A41B0 002A1110 C8 3C 00 00 */ lfd f1, 0(r28) -/* 802A41B4 002A1114 FC 60 00 72 */ fmul f3, f0, f1 -/* 802A41B8 002A1118 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802A41BC 002A111C 40 80 00 48 */ bge lbl_802A4204 -/* 802A41C0 002A1120 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A41C4 002A1124 3B E0 00 01 */ li r31, 1 -/* 802A41C8 002A1128 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802A41CC 002A112C FC 00 00 50 */ fneg f0, f0 -/* 802A41D0 002A1130 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 802A41D4 002A1134 FC 20 08 50 */ fneg f1, f1 -/* 802A41D8 002A1138 FC 40 10 50 */ fneg f2, f2 -/* 802A41DC 002A113C D0 1D 00 00 */ stfs f0, 0(r29) -/* 802A41E0 002A1140 D0 3D 00 04 */ stfs f1, 4(r29) -/* 802A41E4 002A1144 D0 5D 00 08 */ stfs f2, 8(r29) -/* 802A41E8 002A1148 D8 7C 00 00 */ stfd f3, 0(r28) -/* 802A41EC 002A114C C0 1A 00 00 */ lfs f0, 0(r26) -/* 802A41F0 002A1150 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802A41F4 002A1154 C0 1A 00 04 */ lfs f0, 4(r26) -/* 802A41F8 002A1158 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802A41FC 002A115C C0 1A 00 08 */ lfs f0, 8(r26) -/* 802A4200 002A1160 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_802A4204: -/* 802A4204 002A1164 7F E3 FB 78 */ mr r3, r31 -/* 802A4208 002A1168 BB 41 00 68 */ lmw r26, 0x68(r1) -/* 802A420C 002A116C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802A4210 002A1170 7C 08 03 A6 */ mtlr r0 -/* 802A4214 002A1174 38 21 00 80 */ addi r1, r1, 0x80 -/* 802A4218 002A1178 4E 80 00 20 */ blr - -.global MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd -MovingAABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: -/* 802A421C 002A117C 94 21 F6 30 */ stwu r1, -0x9d0(r1) -/* 802A4220 002A1180 7C 08 02 A6 */ mflr r0 -/* 802A4224 002A1184 90 01 09 D4 */ stw r0, 0x9d4(r1) -/* 802A4228 002A1188 DB E1 09 C0 */ stfd f31, 0x9c0(r1) -/* 802A422C 002A118C F3 E1 09 C8 */ psq_st f31, -1592(r1), 0, qr0 -/* 802A4230 002A1190 DB C1 09 B0 */ stfd f30, 0x9b0(r1) -/* 802A4234 002A1194 F3 C1 09 B8 */ psq_st f30, -1608(r1), 0, qr0 -/* 802A4238 002A1198 DB A1 09 A0 */ stfd f29, 0x9a0(r1) -/* 802A423C 002A119C F3 A1 09 A8 */ psq_st f29, -1624(r1), 0, qr0 -/* 802A4240 002A11A0 BD C1 09 58 */ stmw r14, 0x958(r1) -/* 802A4244 002A11A4 FF E0 08 90 */ fmr f31, f1 -/* 802A4248 002A11A8 90 61 00 08 */ stw r3, 8(r1) -/* 802A424C 002A11AC 7D 33 4B 78 */ mr r19, r9 -/* 802A4250 002A11B0 7C 8F 23 78 */ mr r15, r4 -/* 802A4254 002A11B4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802A4258 002A11B8 7C D0 33 78 */ mr r16, r6 -/* 802A425C 002A11BC DB E9 00 00 */ stfd f31, 0(r9) -/* 802A4260 002A11C0 7C F1 3B 78 */ mr r17, r7 -/* 802A4264 002A11C4 7D 12 43 78 */ mr r18, r8 -/* 802A4268 002A11C8 48 00 2D D9 */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A426C 002A11CC C0 51 00 00 */ lfs f2, 0(r17) -/* 802A4270 002A11D0 7D E4 7B 78 */ mr r4, r15 -/* 802A4274 002A11D4 C0 31 00 04 */ lfs f1, 4(r17) -/* 802A4278 002A11D8 7E 25 8B 78 */ mr r5, r17 -/* 802A427C 002A11DC C0 11 00 08 */ lfs f0, 8(r17) -/* 802A4280 002A11E0 EF BF 00 B2 */ fmuls f29, f31, f2 -/* 802A4284 002A11E4 EF DF 00 72 */ fmuls f30, f31, f1 -/* 802A4288 002A11E8 38 61 02 40 */ addi r3, r1, 0x240 -/* 802A428C 002A11EC EF FF 00 32 */ fmuls f31, f31, f0 -/* 802A4290 002A11F0 4B FF EE 0D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f -/* 802A4294 002A11F4 C0 4F 00 04 */ lfs f2, 4(r15) -/* 802A4298 002A11F8 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A429C 002A11FC C0 2F 00 08 */ lfs f1, 8(r15) -/* 802A42A0 002A1200 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802A42A4 002A1204 C0 0F 00 00 */ lfs f0, 0(r15) -/* 802A42A8 002A1208 ED 02 F0 2A */ fadds f8, f2, f30 -/* 802A42AC 002A120C EC E1 F8 2A */ fadds f7, f1, f31 -/* 802A42B0 002A1210 C0 C1 09 28 */ lfs f6, 0x928(r1) -/* 802A42B4 002A1214 EC 00 E8 2A */ fadds f0, f0, f29 -/* 802A42B8 002A1218 C0 A1 09 2C */ lfs f5, 0x92c(r1) -/* 802A42BC 002A121C C0 81 09 30 */ lfs f4, 0x930(r1) -/* 802A42C0 002A1220 C0 61 09 34 */ lfs f3, 0x934(r1) -/* 802A42C4 002A1224 C0 41 09 38 */ lfs f2, 0x938(r1) -/* 802A42C8 002A1228 C0 21 09 3C */ lfs f1, 0x93c(r1) -/* 802A42CC 002A122C D0 C1 00 DC */ stfs f6, 0xdc(r1) -/* 802A42D0 002A1230 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 802A42D4 002A1234 D0 81 00 E4 */ stfs f4, 0xe4(r1) -/* 802A42D8 002A1238 D0 61 00 E8 */ stfs f3, 0xe8(r1) -/* 802A42DC 002A123C D0 41 00 EC */ stfs f2, 0xec(r1) -/* 802A42E0 002A1240 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 802A42E4 002A1244 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 802A42E8 002A1248 D1 01 00 A4 */ stfs f8, 0xa4(r1) -/* 802A42EC 002A124C D0 E1 00 A8 */ stfs f7, 0xa8(r1) -/* 802A42F0 002A1250 48 09 38 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A42F4 002A1254 C0 4F 00 10 */ lfs f2, 0x10(r15) -/* 802A42F8 002A1258 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A42FC 002A125C C0 2F 00 14 */ lfs f1, 0x14(r15) -/* 802A4300 002A1260 38 81 00 94 */ addi r4, r1, 0x94 -/* 802A4304 002A1264 C0 0F 00 0C */ lfs f0, 0xc(r15) -/* 802A4308 002A1268 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A430C 002A126C EC 21 F8 2A */ fadds f1, f1, f31 -/* 802A4310 002A1270 EC 00 E8 2A */ fadds f0, f0, f29 -/* 802A4314 002A1274 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 802A4318 002A1278 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 802A431C 002A127C D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 802A4320 002A1280 48 09 37 E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A4324 002A1284 38 61 00 88 */ addi r3, r1, 0x88 -/* 802A4328 002A1288 38 81 00 DC */ addi r4, r1, 0xdc -/* 802A432C 002A128C 48 09 32 E1 */ bl GetCenterPoint__6CAABoxCFv -/* 802A4330 002A1290 C0 61 00 EC */ lfs f3, 0xec(r1) -/* 802A4334 002A1294 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802A4338 002A1298 C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 802A433C 002A129C 3B 00 00 00 */ li r24, 0 -/* 802A4340 002A12A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 802A4344 002A12A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 802A4348 002A12A8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A434C 002A12AC C4 E3 66 A0 */ lfsu f7, skZero3f@l(r3) -/* 802A4350 002A12B0 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A4354 002A12B4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A4358 002A12B8 C1 03 00 04 */ lfs f8, 4(r3) -/* 802A435C 002A12BC C1 23 00 08 */ lfs f9, 8(r3) -/* 802A4360 002A12C0 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A4364 002A12C4 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A4368 002A12C8 80 61 00 08 */ lwz r3, 8(r1) -/* 802A436C 002A12CC C0 61 00 88 */ lfs f3, 0x88(r1) -/* 802A4370 002A12D0 38 03 00 08 */ addi r0, r3, 8 -/* 802A4374 002A12D4 C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 802A4378 002A12D8 90 01 09 48 */ stw r0, 0x948(r1) -/* 802A437C 002A12DC 38 00 00 00 */ li r0, 0 -/* 802A4380 002A12E0 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 802A4384 002A12E4 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 802A4388 002A12E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 802A438C 002A12EC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A4390 002A12F0 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 802A4394 002A12F4 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 802A4398 002A12F8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A439C 002A12FC 90 01 09 44 */ stw r0, 0x944(r1) -/* 802A43A0 002A1300 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 802A43A4 002A1304 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 802A43A8 002A1308 D0 C1 00 C8 */ stfs f6, 0xc8(r1) -/* 802A43AC 002A130C D0 A1 00 CC */ stfs f5, 0xcc(r1) -/* 802A43B0 002A1310 D0 E1 00 B8 */ stfs f7, 0xb8(r1) -/* 802A43B4 002A1314 D1 01 00 BC */ stfs f8, 0xbc(r1) -/* 802A43B8 002A1318 D1 21 00 C0 */ stfs f9, 0xc0(r1) -/* 802A43BC 002A131C D0 E1 00 AC */ stfs f7, 0xac(r1) -/* 802A43C0 002A1320 D1 01 00 B0 */ stfs f8, 0xb0(r1) -/* 802A43C4 002A1324 D1 21 00 B4 */ stfs f9, 0xb4(r1) -/* 802A43C8 002A1328 48 00 07 60 */ b lbl_802A4B28 -lbl_802A43CC: -/* 802A43CC 002A132C 80 81 09 48 */ lwz r4, 0x948(r1) -/* 802A43D0 002A1330 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A43D4 002A1334 48 09 37 B1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A43D8 002A1338 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A43DC 002A133C 41 82 07 34 */ beq lbl_802A4B10 -/* 802A43E0 002A1340 80 81 09 48 */ lwz r4, 0x948(r1) -/* 802A43E4 002A1344 38 61 00 10 */ addi r3, r1, 0x10 -/* 802A43E8 002A1348 4B FF E9 55 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A43EC 002A134C 83 21 00 10 */ lwz r25, 0x10(r1) -/* 802A43F0 002A1350 3C 80 80 59 */ lis r4, lbl_80597BAC@ha -/* 802A43F4 002A1354 80 61 09 48 */ lwz r3, 0x948(r1) -/* 802A43F8 002A1358 39 C1 09 04 */ addi r14, r1, 0x904 -/* 802A43FC 002A135C A0 19 00 18 */ lhz r0, 0x18(r25) -/* 802A4400 002A1360 3B C4 7B AC */ addi r30, r4, lbl_80597BAC@l -/* 802A4404 002A1364 83 A3 00 1C */ lwz r29, 0x1c(r3) -/* 802A4408 002A1368 3A E0 00 00 */ li r23, 0 -/* 802A440C 002A136C 90 01 09 40 */ stw r0, 0x940(r1) -/* 802A4410 002A1370 48 00 06 F4 */ b lbl_802A4B04 -lbl_802A4414: -/* 802A4414 002A1374 A3 99 00 1A */ lhz r28, 0x1a(r25) -/* 802A4418 002A1378 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802A441C 002A137C 57 83 0B FC */ rlwinm r3, r28, 1, 0xf, 0x1e -/* 802A4420 002A1380 7C 1E 1A 2E */ lhzx r0, r30, r3 -/* 802A4424 002A1384 7C 05 00 40 */ cmplw r5, r0 -/* 802A4428 002A1388 41 82 06 D4 */ beq lbl_802A4AFC -/* 802A442C 002A138C 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) -/* 802A4430 002A1390 38 00 00 00 */ li r0, 0 -/* 802A4434 002A1394 7C BE 1B 2E */ sthx r5, r30, r3 -/* 802A4438 002A1398 38 A4 00 01 */ addi r5, r4, 1 -/* 802A443C 002A139C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802A4440 002A13A0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) -/* 802A4444 002A13A4 38 81 00 38 */ addi r4, r1, 0x38 -/* 802A4448 002A13A8 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 802A444C 002A13AC 80 DD 00 28 */ lwz r6, 0x28(r29) -/* 802A4450 002A13B0 7C A5 E0 AE */ lbzx r5, r5, r28 -/* 802A4454 002A13B4 54 A5 10 3A */ slwi r5, r5, 2 -/* 802A4458 002A13B8 7E 86 28 2E */ lwzx r20, r6, r5 -/* 802A445C 002A13BC 92 81 00 3C */ stw r20, 0x3c(r1) -/* 802A4460 002A13C0 90 01 00 38 */ stw r0, 0x38(r1) -/* 802A4464 002A13C4 48 03 0E E9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A4468 002A13C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A446C 002A13CC 41 82 06 90 */ beq lbl_802A4AFC -/* 802A4470 002A13D0 7F A3 EB 78 */ mr r3, r29 -/* 802A4474 002A13D4 7F 84 E3 78 */ mr r4, r28 -/* 802A4478 002A13D8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 802A447C 002A13DC 4B FF E5 09 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs -/* 802A4480 002A13E0 A0 A1 00 34 */ lhz r5, 0x34(r1) -/* 802A4484 002A13E4 7E 87 A3 78 */ mr r7, r20 -/* 802A4488 002A13E8 A0 81 00 30 */ lhz r4, 0x30(r1) -/* 802A448C 002A13EC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802A4490 002A13F0 A0 01 00 32 */ lhz r0, 0x32(r1) -/* 802A4494 002A13F4 1C A5 00 0C */ mulli r5, r5, 0xc -/* 802A4498 002A13F8 81 1D 00 4C */ lwz r8, 0x4c(r29) -/* 802A449C 002A13FC 1C 84 00 0C */ mulli r4, r4, 0xc -/* 802A44A0 002A1400 7C C8 2A 14 */ add r6, r8, r5 -/* 802A44A4 002A1404 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A44A8 002A1408 7C 88 22 14 */ add r4, r8, r4 -/* 802A44AC 002A140C 7C A8 02 14 */ add r5, r8, r0 -/* 802A44B0 002A1410 4B FF E2 79 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 802A44B4 002A1414 38 C1 01 00 */ addi r6, r1, 0x100 -/* 802A44B8 002A1418 38 E1 01 0C */ addi r7, r1, 0x10c -/* 802A44BC 002A141C 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802A44C0 002A1420 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 802A44C4 002A1424 38 A1 00 F4 */ addi r5, r1, 0xf4 -/* 802A44C8 002A1428 48 02 D0 19 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A44CC 002A142C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A44D0 002A1430 28 00 00 01 */ cmplwi r0, 1 -/* 802A44D4 002A1434 40 82 05 C0 */ bne lbl_802A4A94 -/* 802A44D8 002A1438 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A44DC 002A143C 7D E4 7B 78 */ mr r4, r15 -/* 802A44E0 002A1440 81 71 00 00 */ lwz r11, 0(r17) -/* 802A44E4 002A1444 7D C5 73 78 */ mr r5, r14 -/* 802A44E8 002A1448 81 51 00 04 */ lwz r10, 4(r17) -/* 802A44EC 002A144C 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802A44F0 002A1450 80 11 00 08 */ lwz r0, 8(r17) -/* 802A44F4 002A1454 38 C1 00 7C */ addi r6, r1, 0x7c -/* 802A44F8 002A1458 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802A44FC 002A145C 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802A4500 002A1460 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 802A4504 002A1464 39 21 00 AC */ addi r9, r1, 0xac -/* 802A4508 002A1468 91 61 00 7C */ stw r11, 0x7c(r1) -/* 802A450C 002A146C 3A C0 00 00 */ li r22, 0 -/* 802A4510 002A1470 91 41 00 80 */ stw r10, 0x80(r1) -/* 802A4514 002A1474 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A4518 002A1478 4B FF FA DD */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -/* 802A451C 002A147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4520 002A1480 41 82 00 EC */ beq lbl_802A460C -/* 802A4524 002A1484 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802A4528 002A1488 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A452C 002A148C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A4530 002A1490 40 80 00 DC */ bge lbl_802A460C -/* 802A4534 002A1494 7E 05 83 78 */ mr r5, r16 -/* 802A4538 002A1498 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 802A453C 002A149C 38 81 00 AC */ addi r4, r1, 0xac -/* 802A4540 002A14A0 38 C1 00 38 */ addi r6, r1, 0x38 -/* 802A4544 002A14A4 38 E1 00 B8 */ addi r7, r1, 0xb8 -/* 802A4548 002A14A8 3A C0 00 01 */ li r22, 1 -/* 802A454C 002A14AC 48 02 9E FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A4550 002A14B0 80 61 01 E0 */ lwz r3, 0x1e0(r1) -/* 802A4554 002A14B4 3B 00 00 01 */ li r24, 1 -/* 802A4558 002A14B8 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 802A455C 002A14BC 90 72 00 00 */ stw r3, 0(r18) -/* 802A4560 002A14C0 90 12 00 04 */ stw r0, 4(r18) -/* 802A4564 002A14C4 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 802A4568 002A14C8 90 12 00 08 */ stw r0, 8(r18) -/* 802A456C 002A14CC 80 61 01 EC */ lwz r3, 0x1ec(r1) -/* 802A4570 002A14D0 80 01 01 F0 */ lwz r0, 0x1f0(r1) -/* 802A4574 002A14D4 90 72 00 0C */ stw r3, 0xc(r18) -/* 802A4578 002A14D8 90 12 00 10 */ stw r0, 0x10(r18) -/* 802A457C 002A14DC 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 802A4580 002A14E0 90 12 00 14 */ stw r0, 0x14(r18) -/* 802A4584 002A14E4 80 61 01 F8 */ lwz r3, 0x1f8(r1) -/* 802A4588 002A14E8 80 01 01 FC */ lwz r0, 0x1fc(r1) -/* 802A458C 002A14EC 90 72 00 18 */ stw r3, 0x18(r18) -/* 802A4590 002A14F0 90 12 00 1C */ stw r0, 0x1c(r18) -/* 802A4594 002A14F4 80 01 02 00 */ lwz r0, 0x200(r1) -/* 802A4598 002A14F8 90 12 00 20 */ stw r0, 0x20(r18) -/* 802A459C 002A14FC 80 61 02 04 */ lwz r3, 0x204(r1) -/* 802A45A0 002A1500 80 01 02 08 */ lwz r0, 0x208(r1) -/* 802A45A4 002A1504 90 72 00 24 */ stw r3, 0x24(r18) -/* 802A45A8 002A1508 90 12 00 28 */ stw r0, 0x28(r18) -/* 802A45AC 002A150C 80 01 02 0C */ lwz r0, 0x20c(r1) -/* 802A45B0 002A1510 90 12 00 2C */ stw r0, 0x2c(r18) -/* 802A45B4 002A1514 88 01 02 10 */ lbz r0, 0x210(r1) -/* 802A45B8 002A1518 98 12 00 30 */ stb r0, 0x30(r18) -/* 802A45BC 002A151C 88 01 02 11 */ lbz r0, 0x211(r1) -/* 802A45C0 002A1520 98 12 00 31 */ stb r0, 0x31(r18) -/* 802A45C4 002A1524 C8 01 02 18 */ lfd f0, 0x218(r1) -/* 802A45C8 002A1528 D8 12 00 38 */ stfd f0, 0x38(r18) -/* 802A45CC 002A152C C8 01 02 20 */ lfd f0, 0x220(r1) -/* 802A45D0 002A1530 D8 12 00 40 */ stfd f0, 0x40(r18) -/* 802A45D4 002A1534 80 61 02 28 */ lwz r3, 0x228(r1) -/* 802A45D8 002A1538 80 01 02 2C */ lwz r0, 0x22c(r1) -/* 802A45DC 002A153C 90 72 00 48 */ stw r3, 0x48(r18) -/* 802A45E0 002A1540 90 12 00 4C */ stw r0, 0x4c(r18) -/* 802A45E4 002A1544 80 01 02 30 */ lwz r0, 0x230(r1) -/* 802A45E8 002A1548 90 12 00 50 */ stw r0, 0x50(r18) -/* 802A45EC 002A154C 80 61 02 34 */ lwz r3, 0x234(r1) -/* 802A45F0 002A1550 80 01 02 38 */ lwz r0, 0x238(r1) -/* 802A45F4 002A1554 90 72 00 54 */ stw r3, 0x54(r18) -/* 802A45F8 002A1558 90 12 00 58 */ stw r0, 0x58(r18) -/* 802A45FC 002A155C 80 01 02 3C */ lwz r0, 0x23c(r1) -/* 802A4600 002A1560 90 12 00 5C */ stw r0, 0x5c(r18) -/* 802A4604 002A1564 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802A4608 002A1568 D8 13 00 00 */ stfd f0, 0(r19) -lbl_802A460C: -/* 802A460C 002A156C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802A4610 002A1570 3B 41 00 30 */ addi r26, r1, 0x30 -/* 802A4614 002A1574 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l -/* 802A4618 002A1578 3A A0 00 00 */ li r21, 0 -lbl_802A461C: -/* 802A461C 002A157C A2 9A 00 00 */ lhz r20, 0(r26) -/* 802A4620 002A1580 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A4624 002A1584 56 83 08 3C */ slwi r3, r20, 1 -/* 802A4628 002A1588 7C 1F 1A 2E */ lhzx r0, r31, r3 -/* 802A462C 002A158C 7C 04 00 40 */ cmplw r4, r0 -/* 802A4630 002A1590 41 82 01 74 */ beq lbl_802A47A4 -/* 802A4634 002A1594 7C 9F 1B 2E */ sthx r4, r31, r3 -/* 802A4638 002A1598 1C 14 00 0C */ mulli r0, r20, 0xc -/* 802A463C 002A159C 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A4640 002A15A0 80 9D 00 4C */ lwz r4, 0x4c(r29) -/* 802A4644 002A15A4 7F 64 02 14 */ add r27, r4, r0 -/* 802A4648 002A15A8 7F 64 DB 78 */ mr r4, r27 -/* 802A464C 002A15AC 48 09 2E E9 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 802A4650 002A15B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4654 002A15B4 41 82 01 50 */ beq lbl_802A47A4 -/* 802A4658 002A15B8 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A465C 002A15BC 7F 63 DB 78 */ mr r3, r27 -/* 802A4660 002A15C0 81 51 00 00 */ lwz r10, 0(r17) -/* 802A4664 002A15C4 7D E4 7B 78 */ mr r4, r15 -/* 802A4668 002A15C8 81 31 00 04 */ lwz r9, 4(r17) -/* 802A466C 002A15CC 38 A1 00 70 */ addi r5, r1, 0x70 -/* 802A4670 002A15D0 80 11 00 08 */ lwz r0, 8(r17) -/* 802A4674 002A15D4 38 C1 00 28 */ addi r6, r1, 0x28 -/* 802A4678 002A15D8 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802A467C 002A15DC 38 E1 00 B8 */ addi r7, r1, 0xb8 -/* 802A4680 002A15E0 39 01 00 AC */ addi r8, r1, 0xac -/* 802A4684 002A15E4 91 41 00 70 */ stw r10, 0x70(r1) -/* 802A4688 002A15E8 91 21 00 74 */ stw r9, 0x74(r1) -/* 802A468C 002A15EC 90 01 00 78 */ stw r0, 0x78(r1) -/* 802A4690 002A15F0 4B FF FA 7D */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f -/* 802A4694 002A15F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4698 002A15F8 41 82 01 0C */ beq lbl_802A47A4 -/* 802A469C 002A15FC C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802A46A0 002A1600 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A46A4 002A1604 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A46A8 002A1608 40 80 00 FC */ bge lbl_802A47A4 -/* 802A46AC 002A160C 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 802A46B0 002A1610 38 00 00 00 */ li r0, 0 -/* 802A46B4 002A1614 81 3D 00 28 */ lwz r9, 0x28(r29) -/* 802A46B8 002A1618 7E 05 83 78 */ mr r5, r16 -/* 802A46BC 002A161C 7C E3 A0 AE */ lbzx r7, r3, r20 -/* 802A46C0 002A1620 38 61 01 80 */ addi r3, r1, 0x180 -/* 802A46C4 002A1624 38 81 00 AC */ addi r4, r1, 0xac -/* 802A46C8 002A1628 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802A46CC 002A162C 54 E8 10 3A */ slwi r8, r7, 2 -/* 802A46D0 002A1630 38 E1 00 B8 */ addi r7, r1, 0xb8 -/* 802A46D4 002A1634 7D 09 40 2E */ lwzx r8, r9, r8 -/* 802A46D8 002A1638 3A C0 00 01 */ li r22, 1 -/* 802A46DC 002A163C 91 01 00 24 */ stw r8, 0x24(r1) -/* 802A46E0 002A1640 90 01 00 20 */ stw r0, 0x20(r1) -/* 802A46E4 002A1644 48 02 9D 65 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A46E8 002A1648 80 61 01 80 */ lwz r3, 0x180(r1) -/* 802A46EC 002A164C 3B 00 00 01 */ li r24, 1 -/* 802A46F0 002A1650 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802A46F4 002A1654 90 72 00 00 */ stw r3, 0(r18) -/* 802A46F8 002A1658 90 12 00 04 */ stw r0, 4(r18) -/* 802A46FC 002A165C 80 01 01 88 */ lwz r0, 0x188(r1) -/* 802A4700 002A1660 90 12 00 08 */ stw r0, 8(r18) -/* 802A4704 002A1664 80 61 01 8C */ lwz r3, 0x18c(r1) -/* 802A4708 002A1668 80 01 01 90 */ lwz r0, 0x190(r1) -/* 802A470C 002A166C 90 72 00 0C */ stw r3, 0xc(r18) -/* 802A4710 002A1670 90 12 00 10 */ stw r0, 0x10(r18) -/* 802A4714 002A1674 80 01 01 94 */ lwz r0, 0x194(r1) -/* 802A4718 002A1678 90 12 00 14 */ stw r0, 0x14(r18) -/* 802A471C 002A167C 80 61 01 98 */ lwz r3, 0x198(r1) -/* 802A4720 002A1680 80 01 01 9C */ lwz r0, 0x19c(r1) -/* 802A4724 002A1684 90 72 00 18 */ stw r3, 0x18(r18) -/* 802A4728 002A1688 90 12 00 1C */ stw r0, 0x1c(r18) -/* 802A472C 002A168C 80 01 01 A0 */ lwz r0, 0x1a0(r1) -/* 802A4730 002A1690 90 12 00 20 */ stw r0, 0x20(r18) -/* 802A4734 002A1694 80 61 01 A4 */ lwz r3, 0x1a4(r1) -/* 802A4738 002A1698 80 01 01 A8 */ lwz r0, 0x1a8(r1) -/* 802A473C 002A169C 90 72 00 24 */ stw r3, 0x24(r18) -/* 802A4740 002A16A0 90 12 00 28 */ stw r0, 0x28(r18) -/* 802A4744 002A16A4 80 01 01 AC */ lwz r0, 0x1ac(r1) -/* 802A4748 002A16A8 90 12 00 2C */ stw r0, 0x2c(r18) -/* 802A474C 002A16AC 88 01 01 B0 */ lbz r0, 0x1b0(r1) -/* 802A4750 002A16B0 98 12 00 30 */ stb r0, 0x30(r18) -/* 802A4754 002A16B4 88 01 01 B1 */ lbz r0, 0x1b1(r1) -/* 802A4758 002A16B8 98 12 00 31 */ stb r0, 0x31(r18) -/* 802A475C 002A16BC C8 01 01 B8 */ lfd f0, 0x1b8(r1) -/* 802A4760 002A16C0 D8 12 00 38 */ stfd f0, 0x38(r18) -/* 802A4764 002A16C4 C8 01 01 C0 */ lfd f0, 0x1c0(r1) -/* 802A4768 002A16C8 D8 12 00 40 */ stfd f0, 0x40(r18) -/* 802A476C 002A16CC 80 61 01 C8 */ lwz r3, 0x1c8(r1) -/* 802A4770 002A16D0 80 01 01 CC */ lwz r0, 0x1cc(r1) -/* 802A4774 002A16D4 90 72 00 48 */ stw r3, 0x48(r18) -/* 802A4778 002A16D8 90 12 00 4C */ stw r0, 0x4c(r18) -/* 802A477C 002A16DC 80 01 01 D0 */ lwz r0, 0x1d0(r1) -/* 802A4780 002A16E0 90 12 00 50 */ stw r0, 0x50(r18) -/* 802A4784 002A16E4 80 61 01 D4 */ lwz r3, 0x1d4(r1) -/* 802A4788 002A16E8 80 01 01 D8 */ lwz r0, 0x1d8(r1) -/* 802A478C 002A16EC 90 72 00 54 */ stw r3, 0x54(r18) -/* 802A4790 002A16F0 90 12 00 58 */ stw r0, 0x58(r18) -/* 802A4794 002A16F4 80 01 01 DC */ lwz r0, 0x1dc(r1) -/* 802A4798 002A16F8 90 12 00 5C */ stw r0, 0x5c(r18) -/* 802A479C 002A16FC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802A47A0 002A1700 D8 13 00 00 */ stfd f0, 0(r19) -lbl_802A47A4: -/* 802A47A4 002A1704 3A B5 00 01 */ addi r21, r21, 1 -/* 802A47A8 002A1708 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A47AC 002A170C 2C 15 00 03 */ cmpwi r21, 3 -/* 802A47B0 002A1710 41 80 FE 6C */ blt lbl_802A461C -/* 802A47B4 002A1714 7F A3 EB 78 */ mr r3, r29 -/* 802A47B8 002A1718 7F 84 E3 78 */ mr r4, r28 -/* 802A47BC 002A171C 4B FF E1 B5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs -/* 802A47C0 002A1720 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha -/* 802A47C4 002A1724 3B 60 00 00 */ li r27, 0 -/* 802A47C8 002A1728 7C 7A 1B 78 */ mr r26, r3 -/* 802A47CC 002A172C 3A 84 BB AC */ addi r20, r4, lbl_8058BBAC@l -lbl_802A47D0: -/* 802A47D0 002A1730 A0 BA 00 00 */ lhz r5, 0(r26) -/* 802A47D4 002A1734 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A47D8 002A1738 54 A3 08 3C */ slwi r3, r5, 1 -/* 802A47DC 002A173C 7C 14 1A 2E */ lhzx r0, r20, r3 -/* 802A47E0 002A1740 7C 04 00 40 */ cmplw r4, r0 -/* 802A47E4 002A1744 41 82 01 80 */ beq lbl_802A4964 -/* 802A47E8 002A1748 7C 94 1B 2E */ sthx r4, r20, r3 -/* 802A47EC 002A174C 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 802A47F0 002A1750 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 802A47F4 002A1754 7C 03 28 AE */ lbzx r0, r3, r5 -/* 802A47F8 002A1758 54 00 10 3A */ slwi r0, r0, 2 -/* 802A47FC 002A175C 7E A4 00 2E */ lwzx r21, r4, r0 -/* 802A4800 002A1760 56 A0 01 CF */ rlwinm. r0, r21, 0, 7, 7 -/* 802A4804 002A1764 40 82 01 60 */ bne lbl_802A4964 -/* 802A4808 002A1768 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A480C 002A176C 54 AA 10 3A */ slwi r10, r5, 2 -/* 802A4810 002A1770 80 91 00 00 */ lwz r4, 0(r17) -/* 802A4814 002A1774 38 A1 02 40 */ addi r5, r1, 0x240 -/* 802A4818 002A1778 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802A481C 002A177C 38 C1 00 64 */ addi r6, r1, 0x64 -/* 802A4820 002A1780 80 71 00 04 */ lwz r3, 4(r17) -/* 802A4824 002A1784 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802A4828 002A1788 81 7D 00 3C */ lwz r11, 0x3c(r29) -/* 802A482C 002A178C 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 802A4830 002A1790 80 11 00 08 */ lwz r0, 8(r17) -/* 802A4834 002A1794 39 21 00 AC */ addi r9, r1, 0xac -/* 802A4838 002A1798 90 81 00 64 */ stw r4, 0x64(r1) -/* 802A483C 002A179C 7C 8B 52 14 */ add r4, r11, r10 -/* 802A4840 002A17A0 90 61 00 68 */ stw r3, 0x68(r1) -/* 802A4844 002A17A4 90 01 00 6C */ stw r0, 0x6c(r1) -/* 802A4848 002A17A8 A0 64 00 02 */ lhz r3, 2(r4) -/* 802A484C 002A17AC A0 04 00 00 */ lhz r0, 0(r4) -/* 802A4850 002A17B0 1C 63 00 0C */ mulli r3, r3, 0xc -/* 802A4854 002A17B4 81 5D 00 4C */ lwz r10, 0x4c(r29) -/* 802A4858 002A17B8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A485C 002A17BC 7C 8A 1A 14 */ add r4, r10, r3 -/* 802A4860 002A17C0 7C 6A 02 14 */ add r3, r10, r0 -/* 802A4864 002A17C4 4B FF F3 25 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -/* 802A4868 002A17C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A486C 002A17CC 41 82 00 F8 */ beq lbl_802A4964 -/* 802A4870 002A17D0 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802A4874 002A17D4 C8 13 00 00 */ lfd f0, 0(r19) -/* 802A4878 002A17D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A487C 002A17DC 40 80 00 E8 */ bge lbl_802A4964 -/* 802A4880 002A17E0 38 00 00 00 */ li r0, 0 -/* 802A4884 002A17E4 92 A1 00 1C */ stw r21, 0x1c(r1) -/* 802A4888 002A17E8 7E 05 83 78 */ mr r5, r16 -/* 802A488C 002A17EC 38 61 01 20 */ addi r3, r1, 0x120 -/* 802A4890 002A17F0 90 01 00 18 */ stw r0, 0x18(r1) -/* 802A4894 002A17F4 38 81 00 AC */ addi r4, r1, 0xac -/* 802A4898 002A17F8 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802A489C 002A17FC 38 E1 00 B8 */ addi r7, r1, 0xb8 -/* 802A48A0 002A1800 3A C0 00 01 */ li r22, 1 -/* 802A48A4 002A1804 48 02 9B A5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A48A8 002A1808 80 61 01 20 */ lwz r3, 0x120(r1) -/* 802A48AC 002A180C 3B 00 00 01 */ li r24, 1 -/* 802A48B0 002A1810 80 01 01 24 */ lwz r0, 0x124(r1) -/* 802A48B4 002A1814 90 72 00 00 */ stw r3, 0(r18) -/* 802A48B8 002A1818 90 12 00 04 */ stw r0, 4(r18) -/* 802A48BC 002A181C 80 01 01 28 */ lwz r0, 0x128(r1) -/* 802A48C0 002A1820 90 12 00 08 */ stw r0, 8(r18) -/* 802A48C4 002A1824 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 802A48C8 002A1828 80 01 01 30 */ lwz r0, 0x130(r1) -/* 802A48CC 002A182C 90 72 00 0C */ stw r3, 0xc(r18) -/* 802A48D0 002A1830 90 12 00 10 */ stw r0, 0x10(r18) -/* 802A48D4 002A1834 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802A48D8 002A1838 90 12 00 14 */ stw r0, 0x14(r18) -/* 802A48DC 002A183C 80 61 01 38 */ lwz r3, 0x138(r1) -/* 802A48E0 002A1840 80 01 01 3C */ lwz r0, 0x13c(r1) -/* 802A48E4 002A1844 90 72 00 18 */ stw r3, 0x18(r18) -/* 802A48E8 002A1848 90 12 00 1C */ stw r0, 0x1c(r18) -/* 802A48EC 002A184C 80 01 01 40 */ lwz r0, 0x140(r1) -/* 802A48F0 002A1850 90 12 00 20 */ stw r0, 0x20(r18) -/* 802A48F4 002A1854 80 61 01 44 */ lwz r3, 0x144(r1) -/* 802A48F8 002A1858 80 01 01 48 */ lwz r0, 0x148(r1) -/* 802A48FC 002A185C 90 72 00 24 */ stw r3, 0x24(r18) -/* 802A4900 002A1860 90 12 00 28 */ stw r0, 0x28(r18) -/* 802A4904 002A1864 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 802A4908 002A1868 90 12 00 2C */ stw r0, 0x2c(r18) -/* 802A490C 002A186C 88 01 01 50 */ lbz r0, 0x150(r1) -/* 802A4910 002A1870 98 12 00 30 */ stb r0, 0x30(r18) -/* 802A4914 002A1874 88 01 01 51 */ lbz r0, 0x151(r1) -/* 802A4918 002A1878 98 12 00 31 */ stb r0, 0x31(r18) -/* 802A491C 002A187C C8 01 01 58 */ lfd f0, 0x158(r1) -/* 802A4920 002A1880 D8 12 00 38 */ stfd f0, 0x38(r18) -/* 802A4924 002A1884 C8 01 01 60 */ lfd f0, 0x160(r1) -/* 802A4928 002A1888 D8 12 00 40 */ stfd f0, 0x40(r18) -/* 802A492C 002A188C 80 61 01 68 */ lwz r3, 0x168(r1) -/* 802A4930 002A1890 80 01 01 6C */ lwz r0, 0x16c(r1) -/* 802A4934 002A1894 90 72 00 48 */ stw r3, 0x48(r18) -/* 802A4938 002A1898 90 12 00 4C */ stw r0, 0x4c(r18) -/* 802A493C 002A189C 80 01 01 70 */ lwz r0, 0x170(r1) -/* 802A4940 002A18A0 90 12 00 50 */ stw r0, 0x50(r18) -/* 802A4944 002A18A4 80 61 01 74 */ lwz r3, 0x174(r1) -/* 802A4948 002A18A8 80 01 01 78 */ lwz r0, 0x178(r1) -/* 802A494C 002A18AC 90 72 00 54 */ stw r3, 0x54(r18) -/* 802A4950 002A18B0 90 12 00 58 */ stw r0, 0x58(r18) -/* 802A4954 002A18B4 80 01 01 7C */ lwz r0, 0x17c(r1) -/* 802A4958 002A18B8 90 12 00 5C */ stw r0, 0x5c(r18) -/* 802A495C 002A18BC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802A4960 002A18C0 D8 13 00 00 */ stfd f0, 0(r19) -lbl_802A4964: -/* 802A4964 002A18C4 3B 7B 00 01 */ addi r27, r27, 1 -/* 802A4968 002A18C8 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A496C 002A18CC 2C 1B 00 03 */ cmpwi r27, 3 -/* 802A4970 002A18D0 41 80 FE 60 */ blt lbl_802A47D0 -/* 802A4974 002A18D4 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 802A4978 002A18D8 41 82 01 84 */ beq lbl_802A4AFC -/* 802A497C 002A18DC C8 73 00 00 */ lfd f3, 0(r19) -/* 802A4980 002A18E0 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A4984 002A18E4 81 21 09 28 */ lwz r9, 0x928(r1) -/* 802A4988 002A18E8 38 81 00 58 */ addi r4, r1, 0x58 -/* 802A498C 002A18EC FC 60 18 18 */ frsp f3, f3 -/* 802A4990 002A18F0 C0 11 00 00 */ lfs f0, 0(r17) -/* 802A4994 002A18F4 C0 51 00 04 */ lfs f2, 4(r17) -/* 802A4998 002A18F8 C0 31 00 08 */ lfs f1, 8(r17) -/* 802A499C 002A18FC EF E3 00 32 */ fmuls f31, f3, f0 -/* 802A49A0 002A1900 C0 0F 00 00 */ lfs f0, 0(r15) -/* 802A49A4 002A1904 EF C3 00 B2 */ fmuls f30, f3, f2 -/* 802A49A8 002A1908 C0 4F 00 04 */ lfs f2, 4(r15) -/* 802A49AC 002A190C EF A3 00 72 */ fmuls f29, f3, f1 -/* 802A49B0 002A1910 C0 2F 00 08 */ lfs f1, 8(r15) -/* 802A49B4 002A1914 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A49B8 002A1918 81 01 09 2C */ lwz r8, 0x92c(r1) -/* 802A49BC 002A191C EC 21 E8 2A */ fadds f1, f1, f29 -/* 802A49C0 002A1920 80 E1 09 30 */ lwz r7, 0x930(r1) -/* 802A49C4 002A1924 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A49C8 002A1928 80 C1 09 34 */ lwz r6, 0x934(r1) -/* 802A49CC 002A192C 80 A1 09 38 */ lwz r5, 0x938(r1) -/* 802A49D0 002A1930 80 01 09 3C */ lwz r0, 0x93c(r1) -/* 802A49D4 002A1934 91 21 00 DC */ stw r9, 0xdc(r1) -/* 802A49D8 002A1938 91 01 00 E0 */ stw r8, 0xe0(r1) -/* 802A49DC 002A193C 90 E1 00 E4 */ stw r7, 0xe4(r1) -/* 802A49E0 002A1940 90 C1 00 E8 */ stw r6, 0xe8(r1) -/* 802A49E4 002A1944 90 A1 00 EC */ stw r5, 0xec(r1) -/* 802A49E8 002A1948 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 802A49EC 002A194C D0 01 00 58 */ stfs f0, 0x58(r1) -/* 802A49F0 002A1950 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802A49F4 002A1954 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 802A49F8 002A1958 48 09 31 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A49FC 002A195C C0 4F 00 10 */ lfs f2, 0x10(r15) -/* 802A4A00 002A1960 38 61 00 DC */ addi r3, r1, 0xdc -/* 802A4A04 002A1964 C0 2F 00 14 */ lfs f1, 0x14(r15) -/* 802A4A08 002A1968 38 81 00 4C */ addi r4, r1, 0x4c -/* 802A4A0C 002A196C C0 0F 00 0C */ lfs f0, 0xc(r15) -/* 802A4A10 002A1970 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A4A14 002A1974 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802A4A18 002A1978 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A4A1C 002A197C D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802A4A20 002A1980 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802A4A24 002A1984 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802A4A28 002A1988 48 09 30 E1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A4A2C 002A198C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A4A30 002A1990 38 81 00 DC */ addi r4, r1, 0xdc -/* 802A4A34 002A1994 48 09 2B D9 */ bl GetCenterPoint__6CAABoxCFv -/* 802A4A38 002A1998 C0 61 00 EC */ lfs f3, 0xec(r1) -/* 802A4A3C 002A199C C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 802A4A40 002A19A0 C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 802A4A44 002A19A4 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 802A4A48 002A19A8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A4A4C 002A19AC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A4A50 002A19B0 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A4A54 002A19B4 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 802A4A58 002A19B8 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 802A4A5C 002A19BC EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A4A60 002A19C0 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 802A4A64 002A19C4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A4A68 002A19C8 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A4A6C 002A19CC C0 41 00 44 */ lfs f2, 0x44(r1) -/* 802A4A70 002A19D0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802A4A74 002A19D4 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A4A78 002A19D8 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 802A4A7C 002A19DC D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 802A4A80 002A19E0 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 802A4A84 002A19E4 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 802A4A88 002A19E8 D0 C1 00 C8 */ stfs f6, 0xc8(r1) -/* 802A4A8C 002A19EC D0 A1 00 CC */ stfs f5, 0xcc(r1) -/* 802A4A90 002A19F0 48 00 00 6C */ b lbl_802A4AFC -lbl_802A4A94: -/* 802A4A94 002A19F4 7F A3 EB 78 */ mr r3, r29 -/* 802A4A98 002A19F8 7F 84 E3 78 */ mr r4, r28 -/* 802A4A9C 002A19FC 4B FF DE D5 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs -/* 802A4AA0 002A1A00 A0 C3 00 00 */ lhz r6, 0(r3) -/* 802A4AA4 002A1A04 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha -/* 802A4AA8 002A1A08 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) -/* 802A4AAC 002A1A0C 3C 80 80 57 */ lis r4, lbl_80572BAC@ha -/* 802A4AB0 002A1A10 54 C6 08 3C */ slwi r6, r6, 1 -/* 802A4AB4 002A1A14 39 25 BB AC */ addi r9, r5, lbl_8058BBAC@l -/* 802A4AB8 002A1A18 7C 09 33 2E */ sthx r0, r9, r6 -/* 802A4ABC 002A1A1C 38 C4 2B AC */ addi r6, r4, lbl_80572BAC@l -/* 802A4AC0 002A1A20 A0 81 00 30 */ lhz r4, 0x30(r1) -/* 802A4AC4 002A1A24 A1 03 00 02 */ lhz r8, 2(r3) -/* 802A4AC8 002A1A28 A0 A1 00 32 */ lhz r5, 0x32(r1) -/* 802A4ACC 002A1A2C 54 87 08 3C */ slwi r7, r4, 1 -/* 802A4AD0 002A1A30 55 08 08 3C */ slwi r8, r8, 1 -/* 802A4AD4 002A1A34 A0 81 00 34 */ lhz r4, 0x34(r1) -/* 802A4AD8 002A1A38 7C 09 43 2E */ sthx r0, r9, r8 -/* 802A4ADC 002A1A3C 54 A5 08 3C */ slwi r5, r5, 1 -/* 802A4AE0 002A1A40 54 84 08 3C */ slwi r4, r4, 1 -/* 802A4AE4 002A1A44 A0 63 00 04 */ lhz r3, 4(r3) -/* 802A4AE8 002A1A48 7C 06 3B 2E */ sthx r0, r6, r7 -/* 802A4AEC 002A1A4C 54 63 08 3C */ slwi r3, r3, 1 -/* 802A4AF0 002A1A50 7C 06 2B 2E */ sthx r0, r6, r5 -/* 802A4AF4 002A1A54 7C 09 1B 2E */ sthx r0, r9, r3 -/* 802A4AF8 002A1A58 7C 06 23 2E */ sthx r0, r6, r4 -lbl_802A4AFC: -/* 802A4AFC 002A1A5C 3B 39 00 02 */ addi r25, r25, 2 -/* 802A4B00 002A1A60 3A F7 00 01 */ addi r23, r23, 1 -lbl_802A4B04: -/* 802A4B04 002A1A64 80 01 09 40 */ lwz r0, 0x940(r1) -/* 802A4B08 002A1A68 7C 17 00 00 */ cmpw r23, r0 -/* 802A4B0C 002A1A6C 41 80 F9 08 */ blt lbl_802A4414 -lbl_802A4B10: -/* 802A4B10 002A1A70 80 61 09 48 */ lwz r3, 0x948(r1) -/* 802A4B14 002A1A74 38 63 00 24 */ addi r3, r3, 0x24 -/* 802A4B18 002A1A78 90 61 09 48 */ stw r3, 0x948(r1) -/* 802A4B1C 002A1A7C 80 61 09 44 */ lwz r3, 0x944(r1) -/* 802A4B20 002A1A80 38 63 00 01 */ addi r3, r3, 1 -/* 802A4B24 002A1A84 90 61 09 44 */ stw r3, 0x944(r1) -lbl_802A4B28: -/* 802A4B28 002A1A88 80 61 00 08 */ lwz r3, 8(r1) -/* 802A4B2C 002A1A8C 80 01 09 44 */ lwz r0, 0x944(r1) -/* 802A4B30 002A1A90 80 63 00 04 */ lwz r3, 4(r3) -/* 802A4B34 002A1A94 7C 00 18 00 */ cmpw r0, r3 -/* 802A4B38 002A1A98 41 80 F8 94 */ blt lbl_802A43CC -/* 802A4B3C 002A1A9C 34 01 09 04 */ addic. r0, r1, 0x904 -/* 802A4B40 002A1AA0 41 82 00 58 */ beq lbl_802A4B98 -/* 802A4B44 002A1AA4 80 A1 09 04 */ lwz r5, 0x904(r1) -/* 802A4B48 002A1AA8 38 60 00 00 */ li r3, 0 -/* 802A4B4C 002A1AAC 2C 05 00 00 */ cmpwi r5, 0 -/* 802A4B50 002A1AB0 40 81 00 40 */ ble lbl_802A4B90 -/* 802A4B54 002A1AB4 2C 05 00 08 */ cmpwi r5, 8 -/* 802A4B58 002A1AB8 38 85 FF F8 */ addi r4, r5, -8 -/* 802A4B5C 002A1ABC 40 81 00 20 */ ble lbl_802A4B7C -/* 802A4B60 002A1AC0 38 04 00 07 */ addi r0, r4, 7 -/* 802A4B64 002A1AC4 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A4B68 002A1AC8 7C 09 03 A6 */ mtctr r0 -/* 802A4B6C 002A1ACC 2C 04 00 00 */ cmpwi r4, 0 -/* 802A4B70 002A1AD0 40 81 00 0C */ ble lbl_802A4B7C -lbl_802A4B74: -/* 802A4B74 002A1AD4 38 63 00 08 */ addi r3, r3, 8 -/* 802A4B78 002A1AD8 42 00 FF FC */ bdnz lbl_802A4B74 -lbl_802A4B7C: -/* 802A4B7C 002A1ADC 7C 03 28 50 */ subf r0, r3, r5 -/* 802A4B80 002A1AE0 7C 09 03 A6 */ mtctr r0 -/* 802A4B84 002A1AE4 7C 03 28 00 */ cmpw r3, r5 -/* 802A4B88 002A1AE8 40 80 00 08 */ bge lbl_802A4B90 -lbl_802A4B8C: -/* 802A4B8C 002A1AEC 42 00 00 00 */ bdnz lbl_802A4B8C -lbl_802A4B90: -/* 802A4B90 002A1AF0 38 00 00 00 */ li r0, 0 -/* 802A4B94 002A1AF4 90 01 09 04 */ stw r0, 0x904(r1) -lbl_802A4B98: -/* 802A4B98 002A1AF8 80 A1 02 40 */ lwz r5, 0x240(r1) -/* 802A4B9C 002A1AFC 38 60 00 00 */ li r3, 0 -/* 802A4BA0 002A1B00 2C 05 00 00 */ cmpwi r5, 0 -/* 802A4BA4 002A1B04 40 81 00 40 */ ble lbl_802A4BE4 -/* 802A4BA8 002A1B08 2C 05 00 08 */ cmpwi r5, 8 -/* 802A4BAC 002A1B0C 38 85 FF F8 */ addi r4, r5, -8 -/* 802A4BB0 002A1B10 40 81 00 20 */ ble lbl_802A4BD0 -/* 802A4BB4 002A1B14 38 04 00 07 */ addi r0, r4, 7 -/* 802A4BB8 002A1B18 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A4BBC 002A1B1C 7C 09 03 A6 */ mtctr r0 -/* 802A4BC0 002A1B20 2C 04 00 00 */ cmpwi r4, 0 -/* 802A4BC4 002A1B24 40 81 00 0C */ ble lbl_802A4BD0 -lbl_802A4BC8: -/* 802A4BC8 002A1B28 38 63 00 08 */ addi r3, r3, 8 -/* 802A4BCC 002A1B2C 42 00 FF FC */ bdnz lbl_802A4BC8 -lbl_802A4BD0: -/* 802A4BD0 002A1B30 7C 03 28 50 */ subf r0, r3, r5 -/* 802A4BD4 002A1B34 7C 09 03 A6 */ mtctr r0 -/* 802A4BD8 002A1B38 7C 03 28 00 */ cmpw r3, r5 -/* 802A4BDC 002A1B3C 40 80 00 08 */ bge lbl_802A4BE4 -lbl_802A4BE0: -/* 802A4BE0 002A1B40 42 00 00 00 */ bdnz lbl_802A4BE0 -lbl_802A4BE4: -/* 802A4BE4 002A1B44 38 00 00 00 */ li r0, 0 -/* 802A4BE8 002A1B48 7F 03 C3 78 */ mr r3, r24 -/* 802A4BEC 002A1B4C 90 01 02 40 */ stw r0, 0x240(r1) -/* 802A4BF0 002A1B50 E3 E1 09 C8 */ psq_l f31, -1592(r1), 0, qr0 -/* 802A4BF4 002A1B54 CB E1 09 C0 */ lfd f31, 0x9c0(r1) -/* 802A4BF8 002A1B58 E3 C1 09 B8 */ psq_l f30, -1608(r1), 0, qr0 -/* 802A4BFC 002A1B5C CB C1 09 B0 */ lfd f30, 0x9b0(r1) -/* 802A4C00 002A1B60 E3 A1 09 A8 */ psq_l f29, -1624(r1), 0, qr0 -/* 802A4C04 002A1B64 CB A1 09 A0 */ lfd f29, 0x9a0(r1) -/* 802A4C08 002A1B68 B9 C1 09 58 */ lmw r14, 0x958(r1) -/* 802A4C0C 002A1B6C 80 01 09 D4 */ lwz r0, 0x9d4(r1) -/* 802A4C10 002A1B70 7C 08 03 A6 */ mtlr r0 -/* 802A4C14 002A1B74 38 21 09 D0 */ addi r1, r1, 0x9d0 -/* 802A4C18 002A1B78 4E 80 00 20 */ blr - -.global MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd -MovingSphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilterRC13CMaterialList9CVector3ffR14CCollisionInfoRd: -/* 802A4C1C 002A1B7C 94 21 FB 50 */ stwu r1, -0x4b0(r1) -/* 802A4C20 002A1B80 7C 08 02 A6 */ mflr r0 -/* 802A4C24 002A1B84 90 01 04 B4 */ stw r0, 0x4b4(r1) -/* 802A4C28 002A1B88 DB E1 04 A0 */ stfd f31, 0x4a0(r1) -/* 802A4C2C 002A1B8C F3 E1 04 A8 */ psq_st f31, 1192(r1), 0, qr0 -/* 802A4C30 002A1B90 DB C1 04 90 */ stfd f30, 0x490(r1) -/* 802A4C34 002A1B94 F3 C1 04 98 */ psq_st f30, 1176(r1), 0, qr0 -/* 802A4C38 002A1B98 DB A1 04 80 */ stfd f29, 0x480(r1) -/* 802A4C3C 002A1B9C F3 A1 04 88 */ psq_st f29, 1160(r1), 0, qr0 -/* 802A4C40 002A1BA0 DB 81 04 70 */ stfd f28, 0x470(r1) -/* 802A4C44 002A1BA4 F3 81 04 78 */ psq_st f28, 1144(r1), 0, qr0 -/* 802A4C48 002A1BA8 DB 61 04 60 */ stfd f27, 0x460(r1) -/* 802A4C4C 002A1BAC F3 61 04 68 */ psq_st f27, 1128(r1), 0, qr0 -/* 802A4C50 002A1BB0 DB 41 04 50 */ stfd f26, 0x450(r1) -/* 802A4C54 002A1BB4 F3 41 04 58 */ psq_st f26, 1112(r1), 0, qr0 -/* 802A4C58 002A1BB8 DB 21 04 40 */ stfd f25, 0x440(r1) -/* 802A4C5C 002A1BBC F3 21 04 48 */ psq_st f25, 1096(r1), 0, qr0 -/* 802A4C60 002A1BC0 DB 01 04 30 */ stfd f24, 0x430(r1) -/* 802A4C64 002A1BC4 F3 01 04 38 */ psq_st f24, 1080(r1), 0, qr0 -/* 802A4C68 002A1BC8 DA E1 04 20 */ stfd f23, 0x420(r1) -/* 802A4C6C 002A1BCC F2 E1 04 28 */ psq_st f23, 1064(r1), 0, qr0 -/* 802A4C70 002A1BD0 DA C1 04 10 */ stfd f22, 0x410(r1) -/* 802A4C74 002A1BD4 F2 C1 04 18 */ psq_st f22, 1048(r1), 0, qr0 -/* 802A4C78 002A1BD8 DA A1 04 00 */ stfd f21, 0x400(r1) -/* 802A4C7C 002A1BDC F2 A1 04 08 */ psq_st f21, 1032(r1), 0, qr0 -/* 802A4C80 002A1BE0 DA 81 03 F0 */ stfd f20, 0x3f0(r1) -/* 802A4C84 002A1BE4 F2 81 03 F8 */ psq_st f20, 1016(r1), 0, qr0 -/* 802A4C88 002A1BE8 DA 61 03 E0 */ stfd f19, 0x3e0(r1) -/* 802A4C8C 002A1BEC F2 61 03 E8 */ psq_st f19, 1000(r1), 0, qr0 -/* 802A4C90 002A1BF0 DA 41 03 D0 */ stfd f18, 0x3d0(r1) -/* 802A4C94 002A1BF4 F2 41 03 D8 */ psq_st f18, 984(r1), 0, qr0 -/* 802A4C98 002A1BF8 BD C1 03 88 */ stmw r14, 0x388(r1) -/* 802A4C9C 002A1BFC FE 40 08 90 */ fmr f18, f1 -/* 802A4CA0 002A1C00 90 61 00 08 */ stw r3, 8(r1) -/* 802A4CA4 002A1C04 7D 54 53 78 */ mr r20, r10 -/* 802A4CA8 002A1C08 7C 8F 23 78 */ mr r15, r4 -/* 802A4CAC 002A1C0C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 802A4CB0 002A1C10 7C B0 2B 78 */ mr r16, r5 -/* 802A4CB4 002A1C14 DA 4A 00 00 */ stfd f18, 0(r10) -/* 802A4CB8 002A1C18 7C F1 3B 78 */ mr r17, r7 -/* 802A4CBC 002A1C1C 7D 12 43 78 */ mr r18, r8 -/* 802A4CC0 002A1C20 7D 33 4B 78 */ mr r19, r9 -/* 802A4CC4 002A1C24 48 00 23 7D */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A4CC8 002A1C28 C0 52 00 00 */ lfs f2, 0(r18) -/* 802A4CCC 002A1C2C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 802A4CD0 002A1C30 C0 32 00 04 */ lfs f1, 4(r18) -/* 802A4CD4 002A1C34 38 81 01 9C */ addi r4, r1, 0x19c -/* 802A4CD8 002A1C38 C0 12 00 08 */ lfs f0, 8(r18) -/* 802A4CDC 002A1C3C EF F2 00 B2 */ fmuls f31, f18, f2 -/* 802A4CE0 002A1C40 EF D2 00 72 */ fmuls f30, f18, f1 -/* 802A4CE4 002A1C44 C0 AF 00 04 */ lfs f5, 4(r15) -/* 802A4CE8 002A1C48 C0 CF 00 00 */ lfs f6, 0(r15) -/* 802A4CEC 002A1C4C EF B2 00 32 */ fmuls f29, f18, f0 -/* 802A4CF0 002A1C50 C0 8F 00 08 */ lfs f4, 8(r15) -/* 802A4CF4 002A1C54 ED 05 F0 2A */ fadds f8, f5, f30 -/* 802A4CF8 002A1C58 EC E4 E8 2A */ fadds f7, f4, f29 -/* 802A4CFC 002A1C5C C0 6F 00 0C */ lfs f3, 0xc(r15) -/* 802A4D00 002A1C60 EC 06 F8 2A */ fadds f0, f6, f31 -/* 802A4D04 002A1C64 C0 4F 00 10 */ lfs f2, 0x10(r15) -/* 802A4D08 002A1C68 C0 2F 00 14 */ lfs f1, 0x14(r15) -/* 802A4D0C 002A1C6C D0 C1 01 FC */ stfs f6, 0x1fc(r1) -/* 802A4D10 002A1C70 D0 A1 02 00 */ stfs f5, 0x200(r1) -/* 802A4D14 002A1C74 D0 81 02 04 */ stfs f4, 0x204(r1) -/* 802A4D18 002A1C78 D0 61 02 08 */ stfs f3, 0x208(r1) -/* 802A4D1C 002A1C7C D0 41 02 0C */ stfs f2, 0x20c(r1) -/* 802A4D20 002A1C80 D0 21 02 10 */ stfs f1, 0x210(r1) -/* 802A4D24 002A1C84 D0 01 01 9C */ stfs f0, 0x19c(r1) -/* 802A4D28 002A1C88 D1 01 01 A0 */ stfs f8, 0x1a0(r1) -/* 802A4D2C 002A1C8C D0 E1 01 A4 */ stfs f7, 0x1a4(r1) -/* 802A4D30 002A1C90 48 09 2D D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A4D34 002A1C94 C0 4F 00 10 */ lfs f2, 0x10(r15) -/* 802A4D38 002A1C98 38 61 01 FC */ addi r3, r1, 0x1fc -/* 802A4D3C 002A1C9C C0 2F 00 14 */ lfs f1, 0x14(r15) -/* 802A4D40 002A1CA0 38 81 01 90 */ addi r4, r1, 0x190 -/* 802A4D44 002A1CA4 C0 0F 00 0C */ lfs f0, 0xc(r15) -/* 802A4D48 002A1CA8 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A4D4C 002A1CAC EC 21 E8 2A */ fadds f1, f1, f29 -/* 802A4D50 002A1CB0 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A4D54 002A1CB4 D0 41 01 94 */ stfs f2, 0x194(r1) -/* 802A4D58 002A1CB8 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 802A4D5C 002A1CBC D0 21 01 98 */ stfs f1, 0x198(r1) -/* 802A4D60 002A1CC0 48 09 2D A9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A4D64 002A1CC4 38 61 01 84 */ addi r3, r1, 0x184 -/* 802A4D68 002A1CC8 38 81 01 FC */ addi r4, r1, 0x1fc -/* 802A4D6C 002A1CCC 48 09 28 A1 */ bl GetCenterPoint__6CAABoxCFv -/* 802A4D70 002A1CD0 C0 61 02 0C */ lfs f3, 0x20c(r1) -/* 802A4D74 002A1CD4 C0 41 02 00 */ lfs f2, 0x200(r1) -/* 802A4D78 002A1CD8 C0 21 02 10 */ lfs f1, 0x210(r1) -/* 802A4D7C 002A1CDC C0 01 02 04 */ lfs f0, 0x204(r1) -/* 802A4D80 002A1CE0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A4D84 002A1CE4 80 61 00 08 */ lwz r3, 8(r1) -/* 802A4D88 002A1CE8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A4D8C 002A1CEC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A4D90 002A1CF0 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 802A4D94 002A1CF4 38 03 00 08 */ addi r0, r3, 8 -/* 802A4D98 002A1CF8 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A4D9C 002A1CFC C0 01 01 FC */ lfs f0, 0x1fc(r1) -/* 802A4DA0 002A1D00 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A4DA4 002A1D04 90 01 03 74 */ stw r0, 0x374(r1) -/* 802A4DA8 002A1D08 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A4DAC 002A1D0C 38 00 00 00 */ li r0, 0 -/* 802A4DB0 002A1D10 C0 61 01 84 */ lfs f3, 0x184(r1) -/* 802A4DB4 002A1D14 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A4DB8 002A1D18 C0 41 01 88 */ lfs f2, 0x188(r1) -/* 802A4DBC 002A1D1C C0 21 01 8C */ lfs f1, 0x18c(r1) -/* 802A4DC0 002A1D20 98 01 03 6C */ stb r0, 0x36c(r1) -/* 802A4DC4 002A1D24 38 00 00 00 */ li r0, 0 -/* 802A4DC8 002A1D28 D0 61 01 F0 */ stfs f3, 0x1f0(r1) -/* 802A4DCC 002A1D2C 90 01 03 68 */ stw r0, 0x368(r1) -/* 802A4DD0 002A1D30 D0 41 01 F4 */ stfs f2, 0x1f4(r1) -/* 802A4DD4 002A1D34 D0 21 01 F8 */ stfs f1, 0x1f8(r1) -/* 802A4DD8 002A1D38 D0 01 01 E4 */ stfs f0, 0x1e4(r1) -/* 802A4DDC 002A1D3C D0 C1 01 E8 */ stfs f6, 0x1e8(r1) -/* 802A4DE0 002A1D40 D0 A1 01 EC */ stfs f5, 0x1ec(r1) -/* 802A4DE4 002A1D44 48 00 0E 14 */ b lbl_802A5BF8 -lbl_802A4DE8: -/* 802A4DE8 002A1D48 80 81 03 74 */ lwz r4, 0x374(r1) -/* 802A4DEC 002A1D4C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 802A4DF0 002A1D50 48 09 2D 95 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A4DF4 002A1D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4DF8 002A1D58 41 82 0D E8 */ beq lbl_802A5BE0 -/* 802A4DFC 002A1D5C 80 81 03 74 */ lwz r4, 0x374(r1) -/* 802A4E00 002A1D60 38 61 00 10 */ addi r3, r1, 0x10 -/* 802A4E04 002A1D64 4B FF DF 39 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A4E08 002A1D68 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802A4E0C 002A1D6C 3C 80 80 59 */ lis r4, lbl_80597BAC@ha -/* 802A4E10 002A1D70 80 61 03 74 */ lwz r3, 0x374(r1) -/* 802A4E14 002A1D74 90 01 03 70 */ stw r0, 0x370(r1) -/* 802A4E18 002A1D78 83 E3 00 1C */ lwz r31, 0x1c(r3) -/* 802A4E1C 002A1D7C 7C 03 03 78 */ mr r3, r0 -/* 802A4E20 002A1D80 A0 03 00 18 */ lhz r0, 0x18(r3) -/* 802A4E24 002A1D84 90 01 03 64 */ stw r0, 0x364(r1) -/* 802A4E28 002A1D88 38 04 7B AC */ addi r0, r4, lbl_80597BAC@l -/* 802A4E2C 002A1D8C 90 01 03 78 */ stw r0, 0x378(r1) -/* 802A4E30 002A1D90 38 00 00 00 */ li r0, 0 -/* 802A4E34 002A1D94 90 01 03 60 */ stw r0, 0x360(r1) -/* 802A4E38 002A1D98 48 00 0D 98 */ b lbl_802A5BD0 -lbl_802A4E3C: -/* 802A4E3C 002A1D9C 80 61 03 70 */ lwz r3, 0x370(r1) -/* 802A4E40 002A1DA0 A0 CD A5 D0 */ lhz r6, lbl_805A9190@sda21(r13) -/* 802A4E44 002A1DA4 A1 C3 00 1A */ lhz r14, 0x1a(r3) -/* 802A4E48 002A1DA8 80 61 03 78 */ lwz r3, 0x378(r1) -/* 802A4E4C 002A1DAC 55 C5 0B FC */ rlwinm r5, r14, 1, 0xf, 0x1e -/* 802A4E50 002A1DB0 7C 03 2A 2E */ lhzx r0, r3, r5 -/* 802A4E54 002A1DB4 7C 06 00 40 */ cmplw r6, r0 -/* 802A4E58 002A1DB8 41 82 0D 60 */ beq lbl_802A5BB8 -/* 802A4E5C 002A1DBC 80 8D A5 C8 */ lwz r4, lbl_805A9188@sda21(r13) -/* 802A4E60 002A1DC0 38 00 00 00 */ li r0, 0 -/* 802A4E64 002A1DC4 7C C3 2B 2E */ sthx r6, r3, r5 -/* 802A4E68 002A1DC8 38 A4 00 01 */ addi r5, r4, 1 -/* 802A4E6C 002A1DCC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802A4E70 002A1DD0 90 AD A5 C8 */ stw r5, lbl_805A9188@sda21(r13) -/* 802A4E74 002A1DD4 38 81 00 40 */ addi r4, r1, 0x40 -/* 802A4E78 002A1DD8 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 802A4E7C 002A1DDC 80 DF 00 28 */ lwz r6, 0x28(r31) -/* 802A4E80 002A1DE0 7C A5 70 AE */ lbzx r5, r5, r14 -/* 802A4E84 002A1DE4 54 A5 10 3A */ slwi r5, r5, 2 -/* 802A4E88 002A1DE8 7E A6 28 2E */ lwzx r21, r6, r5 -/* 802A4E8C 002A1DEC 92 A1 00 44 */ stw r21, 0x44(r1) -/* 802A4E90 002A1DF0 90 01 00 40 */ stw r0, 0x40(r1) -/* 802A4E94 002A1DF4 48 03 04 B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A4E98 002A1DF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A4E9C 002A1DFC 41 82 0D 1C */ beq lbl_802A5BB8 -/* 802A4EA0 002A1E00 7F E3 FB 78 */ mr r3, r31 -/* 802A4EA4 002A1E04 7D C4 73 78 */ mr r4, r14 -/* 802A4EA8 002A1E08 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802A4EAC 002A1E0C 4B FF DA D9 */ bl GetTriangleVertexIndices__12CAreaOctTreeCFUsPUs -/* 802A4EB0 002A1E10 A0 A1 00 3C */ lhz r5, 0x3c(r1) -/* 802A4EB4 002A1E14 7E A7 AB 78 */ mr r7, r21 -/* 802A4EB8 002A1E18 A0 81 00 38 */ lhz r4, 0x38(r1) -/* 802A4EBC 002A1E1C 38 61 02 14 */ addi r3, r1, 0x214 -/* 802A4EC0 002A1E20 A0 01 00 3A */ lhz r0, 0x3a(r1) -/* 802A4EC4 002A1E24 1C A5 00 0C */ mulli r5, r5, 0xc -/* 802A4EC8 002A1E28 81 1F 00 4C */ lwz r8, 0x4c(r31) -/* 802A4ECC 002A1E2C 1C 84 00 0C */ mulli r4, r4, 0xc -/* 802A4ED0 002A1E30 7C C8 2A 14 */ add r6, r8, r5 -/* 802A4ED4 002A1E34 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A4ED8 002A1E38 7C 88 22 14 */ add r4, r8, r4 -/* 802A4EDC 002A1E3C 7C A8 02 14 */ add r5, r8, r0 -/* 802A4EE0 002A1E40 4B FF D8 49 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 802A4EE4 002A1E44 38 C1 02 20 */ addi r6, r1, 0x220 -/* 802A4EE8 002A1E48 38 E1 02 2C */ addi r7, r1, 0x22c -/* 802A4EEC 002A1E4C 38 61 01 F0 */ addi r3, r1, 0x1f0 -/* 802A4EF0 002A1E50 38 81 01 E4 */ addi r4, r1, 0x1e4 -/* 802A4EF4 002A1E54 38 A1 02 14 */ addi r5, r1, 0x214 -/* 802A4EF8 002A1E58 48 02 C5 E9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A4EFC 002A1E5C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A4F00 002A1E60 28 00 00 01 */ cmplwi r0, 1 -/* 802A4F04 002A1E64 40 82 0C 4C */ bne lbl_802A5B50 -/* 802A4F08 002A1E68 38 61 01 78 */ addi r3, r1, 0x178 -/* 802A4F0C 002A1E6C 38 81 02 14 */ addi r4, r1, 0x214 -/* 802A4F10 002A1E70 4B FF D7 95 */ bl GetNormal__17CCollisionSurfaceCFv -/* 802A4F14 002A1E74 C3 30 00 04 */ lfs f25, 4(r16) -/* 802A4F18 002A1E78 C0 50 00 00 */ lfs f2, 0(r16) -/* 802A4F1C 002A1E7C EC 19 F0 2A */ fadds f0, f25, f30 -/* 802A4F20 002A1E80 C1 01 02 18 */ lfs f8, 0x218(r1) -/* 802A4F24 002A1E84 C1 81 01 7C */ lfs f12, 0x17c(r1) -/* 802A4F28 002A1E88 EC 22 F8 2A */ fadds f1, f2, f31 -/* 802A4F2C 002A1E8C C3 70 00 08 */ lfs f27, 8(r16) -/* 802A4F30 002A1E90 EC 00 40 28 */ fsubs f0, f0, f8 -/* 802A4F34 002A1E94 C1 21 02 14 */ lfs f9, 0x214(r1) -/* 802A4F38 002A1E98 EC 7B E8 2A */ fadds f3, f27, f29 -/* 802A4F3C 002A1E9C C1 A1 01 78 */ lfs f13, 0x178(r1) -/* 802A4F40 002A1EA0 EC 21 48 28 */ fsubs f1, f1, f9 -/* 802A4F44 002A1EA4 C1 41 02 1C */ lfs f10, 0x21c(r1) -/* 802A4F48 002A1EA8 EC 00 03 32 */ fmuls f0, f0, f12 -/* 802A4F4C 002A1EAC C1 61 01 80 */ lfs f11, 0x180(r1) -/* 802A4F50 002A1EB0 EC 63 50 28 */ fsubs f3, f3, f10 -/* 802A4F54 002A1EB4 C0 F0 00 0C */ lfs f7, 0xc(r16) -/* 802A4F58 002A1EB8 EC 01 03 7A */ fmadds f0, f1, f13, f0 -/* 802A4F5C 002A1EBC D1 A1 01 D8 */ stfs f13, 0x1d8(r1) -/* 802A4F60 002A1EC0 D1 81 01 DC */ stfs f12, 0x1dc(r1) -/* 802A4F64 002A1EC4 EC 03 02 FA */ fmadds f0, f3, f11, f0 -/* 802A4F68 002A1EC8 D1 61 01 E0 */ stfs f11, 0x1e0(r1) -/* 802A4F6C 002A1ECC FC 00 38 40 */ fcmpo cr0, f0, f7 -/* 802A4F70 002A1ED0 41 81 0C 48 */ bgt lbl_802A5BB8 -/* 802A4F74 002A1ED4 EE D9 40 28 */ fsubs f22, f25, f8 -/* 802A4F78 002A1ED8 C3 12 00 04 */ lfs f24, 4(r18) -/* 802A4F7C 002A1EDC EE 82 48 28 */ fsubs f20, f2, f9 -/* 802A4F80 002A1EE0 C0 A1 02 28 */ lfs f5, 0x228(r1) -/* 802A4F84 002A1EE4 EE BB 50 28 */ fsubs f21, f27, f10 -/* 802A4F88 002A1EE8 C3 52 00 00 */ lfs f26, 0(r18) -/* 802A4F8C 002A1EEC EC 76 03 32 */ fmuls f3, f22, f12 -/* 802A4F90 002A1EF0 D2 81 01 6C */ stfs f20, 0x16c(r1) -/* 802A4F94 002A1EF4 EC 38 03 32 */ fmuls f1, f24, f12 -/* 802A4F98 002A1EF8 C2 F2 00 08 */ lfs f23, 8(r18) -/* 802A4F9C 002A1EFC EC 05 50 28 */ fsubs f0, f5, f10 -/* 802A4FA0 002A1F00 C0 81 02 20 */ lfs f4, 0x220(r1) -/* 802A4FA4 002A1F04 EE 74 1B 7A */ fmadds f19, f20, f13, f3 -/* 802A4FA8 002A1F08 D2 A1 01 74 */ stfs f21, 0x174(r1) -/* 802A4FAC 002A1F0C EE 5A 0B 7A */ fmadds f18, f26, f13, f1 -/* 802A4FB0 002A1F10 C0 C1 02 24 */ lfs f6, 0x224(r1) -/* 802A4FB4 002A1F14 D2 C1 01 70 */ stfs f22, 0x170(r1) -/* 802A4FB8 002A1F18 3A C0 00 00 */ li r22, 0 -/* 802A4FBC 002A1F1C EE 95 9A FA */ fmadds f20, f21, f11, f19 -/* 802A4FC0 002A1F20 D0 01 01 50 */ stfs f0, 0x150(r1) -/* 802A4FC4 002A1F24 EE 57 92 FA */ fmadds f18, f23, f11, f18 -/* 802A4FC8 002A1F28 C0 62 C1 4C */ lfs f3, lbl_805ADE6C@sda21(r2) -/* 802A4FCC 002A1F2C EE 64 48 28 */ fsubs f19, f4, f9 -/* 802A4FD0 002A1F30 EF 87 A0 28 */ fsubs f28, f7, f20 -/* 802A4FD4 002A1F34 EC 26 40 28 */ fsubs f1, f6, f8 -/* 802A4FD8 002A1F38 EE A0 03 72 */ fmuls f21, f0, f13 -/* 802A4FDC 002A1F3C D2 61 01 48 */ stfs f19, 0x148(r1) -/* 802A4FE0 002A1F40 FF 9C 90 24 */ fdiv f28, f28, f18 -/* 802A4FE4 002A1F44 D0 21 01 4C */ stfs f1, 0x14c(r1) -/* 802A4FE8 002A1F48 EE CB AC F8 */ fmsubs f22, f11, f19, f21 -/* 802A4FEC 002A1F4C FE 40 E0 18 */ frsp f18, f28 -/* 802A4FF0 002A1F50 EE 81 02 F2 */ fmuls f20, f1, f11 -/* 802A4FF4 002A1F54 D2 C1 01 58 */ stfs f22, 0x158(r1) -/* 802A4FF8 002A1F58 EE B2 06 32 */ fmuls f21, f18, f24 -/* 802A4FFC 002A1F5C EF 12 06 B2 */ fmuls f24, f18, f26 -/* 802A5000 002A1F60 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 -/* 802A5004 002A1F64 EF 59 A8 2A */ fadds f26, f25, f21 -/* 802A5008 002A1F68 EC 12 05 F2 */ fmuls f0, f18, f23 -/* 802A500C 002A1F6C EF 22 C0 2A */ fadds f25, f2, f24 -/* 802A5010 002A1F70 D2 81 01 54 */ stfs f20, 0x154(r1) -/* 802A5014 002A1F74 EE 5A 40 28 */ fsubs f18, f26, f8 -/* 802A5018 002A1F78 EF 7B 00 2A */ fadds f27, f27, f0 -/* 802A501C 002A1F7C EE B3 03 32 */ fmuls f21, f19, f12 -/* 802A5020 002A1F80 EC 59 48 28 */ fsubs f2, f25, f9 -/* 802A5024 002A1F84 D2 41 01 64 */ stfs f18, 0x164(r1) -/* 802A5028 002A1F88 EC 12 05 B2 */ fmuls f0, f18, f22 -/* 802A502C 002A1F8C EC 2D A8 78 */ fmsubs f1, f13, f1, f21 -/* 802A5030 002A1F90 EE 5B 50 28 */ fsubs f18, f27, f10 -/* 802A5034 002A1F94 D0 41 01 60 */ stfs f2, 0x160(r1) -/* 802A5038 002A1F98 EC 02 05 3A */ fmadds f0, f2, f20, f0 -/* 802A503C 002A1F9C D0 21 01 5C */ stfs f1, 0x15c(r1) -/* 802A5040 002A1FA0 EC 12 00 7A */ fmadds f0, f18, f1, f0 -/* 802A5044 002A1FA4 D2 41 01 68 */ stfs f18, 0x168(r1) -/* 802A5048 002A1FA8 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802A504C 002A1FAC 7C 00 00 26 */ mfcr r0 -/* 802A5050 002A1FB0 C0 01 02 2C */ lfs f0, 0x22c(r1) -/* 802A5054 002A1FB4 C0 41 02 30 */ lfs f2, 0x230(r1) -/* 802A5058 002A1FB8 54 04 0F FE */ srwi r4, r0, 0x1f -/* 802A505C 002A1FBC EE A0 20 28 */ fsubs f21, f0, f4 -/* 802A5060 002A1FC0 C0 21 02 34 */ lfs f1, 0x234(r1) -/* 802A5064 002A1FC4 EE 82 30 28 */ fsubs f20, f2, f6 -/* 802A5068 002A1FC8 98 81 00 18 */ stb r4, 0x18(r1) -/* 802A506C 002A1FCC EE 61 28 28 */ fsubs f19, f1, f5 -/* 802A5070 002A1FD0 D2 A1 01 24 */ stfs f21, 0x124(r1) -/* 802A5074 002A1FD4 EE F3 03 72 */ fmuls f23, f19, f13 -/* 802A5078 002A1FD8 D2 81 01 28 */ stfs f20, 0x128(r1) -/* 802A507C 002A1FDC EE D4 02 F2 */ fmuls f22, f20, f11 -/* 802A5080 002A1FE0 EE 5A 30 28 */ fsubs f18, f26, f6 -/* 802A5084 002A1FE4 D2 61 01 2C */ stfs f19, 0x12c(r1) -/* 802A5088 002A1FE8 EF 0B BD 78 */ fmsubs f24, f11, f21, f23 -/* 802A508C 002A1FEC EE CC B4 F8 */ fmsubs f22, f12, f19, f22 -/* 802A5090 002A1FF0 EE F5 03 32 */ fmuls f23, f21, f12 -/* 802A5094 002A1FF4 D2 41 01 40 */ stfs f18, 0x140(r1) -/* 802A5098 002A1FF8 EC D9 20 28 */ fsubs f6, f25, f4 -/* 802A509C 002A1FFC EC 92 06 32 */ fmuls f4, f18, f24 -/* 802A50A0 002A2000 D2 C1 01 30 */ stfs f22, 0x130(r1) -/* 802A50A4 002A2004 EE ED BD 38 */ fmsubs f23, f13, f20, f23 -/* 802A50A8 002A2008 EC BB 28 28 */ fsubs f5, f27, f5 -/* 802A50AC 002A200C D3 01 01 34 */ stfs f24, 0x134(r1) -/* 802A50B0 002A2010 EC 86 25 BA */ fmadds f4, f6, f22, f4 -/* 802A50B4 002A2014 D2 E1 01 38 */ stfs f23, 0x138(r1) -/* 802A50B8 002A2018 EC 85 25 FA */ fmadds f4, f5, f23, f4 -/* 802A50BC 002A201C D0 C1 01 3C */ stfs f6, 0x13c(r1) -/* 802A50C0 002A2020 D0 A1 01 44 */ stfs f5, 0x144(r1) -/* 802A50C4 002A2024 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802A50C8 002A2028 7C 00 00 26 */ mfcr r0 -/* 802A50CC 002A202C ED 4A 08 28 */ fsubs f10, f10, f1 -/* 802A50D0 002A2030 EE 48 10 28 */ fsubs f18, f8, f2 -/* 802A50D4 002A2034 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802A50D8 002A2038 ED 09 00 28 */ fsubs f8, f9, f0 -/* 802A50DC 002A203C 98 61 00 19 */ stb r3, 0x19(r1) -/* 802A50E0 002A2040 EC 8A 03 72 */ fmuls f4, f10, f13 -/* 802A50E4 002A2044 EC D2 02 F2 */ fmuls f6, f18, f11 -/* 802A50E8 002A2048 ED 3A 10 28 */ fsubs f9, f26, f2 -/* 802A50EC 002A204C D1 01 01 00 */ stfs f8, 0x100(r1) -/* 802A50F0 002A2050 EC AB 22 38 */ fmsubs f5, f11, f8, f4 -/* 802A50F4 002A2054 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 -/* 802A50F8 002A2058 D2 41 01 04 */ stfs f18, 0x104(r1) -/* 802A50FC 002A205C EC 88 03 32 */ fmuls f4, f8, f12 -/* 802A5100 002A2060 EC 59 00 28 */ fsubs f2, f25, f0 -/* 802A5104 002A2064 D1 41 01 08 */ stfs f10, 0x108(r1) -/* 802A5108 002A2068 EC 09 01 72 */ fmuls f0, f9, f5 -/* 802A510C 002A206C EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 -/* 802A5110 002A2070 D0 C1 01 0C */ stfs f6, 0x10c(r1) -/* 802A5114 002A2074 EC 3B 08 28 */ fsubs f1, f27, f1 -/* 802A5118 002A2078 EC 02 01 BA */ fmadds f0, f2, f6, f0 -/* 802A511C 002A207C D0 A1 01 10 */ stfs f5, 0x110(r1) -/* 802A5120 002A2080 D0 81 01 14 */ stfs f4, 0x114(r1) -/* 802A5124 002A2084 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 802A5128 002A2088 D0 41 01 18 */ stfs f2, 0x118(r1) -/* 802A512C 002A208C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802A5130 002A2090 D1 21 01 1C */ stfs f9, 0x11c(r1) -/* 802A5134 002A2094 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 802A5138 002A2098 7C 00 00 26 */ mfcr r0 -/* 802A513C 002A209C C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A5140 002A20A0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802A5144 002A20A4 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802A5148 002A20A8 98 01 00 1A */ stb r0, 0x1a(r1) -/* 802A514C 002A20AC 4C 41 13 82 */ cror 2, 1, 2 -/* 802A5150 002A20B0 40 82 01 30 */ bne lbl_802A5280 -/* 802A5154 002A20B4 28 04 00 00 */ cmplwi r4, 0 -/* 802A5158 002A20B8 40 82 01 28 */ bne lbl_802A5280 -/* 802A515C 002A20BC 28 03 00 00 */ cmplwi r3, 0 -/* 802A5160 002A20C0 40 82 01 20 */ bne lbl_802A5280 -/* 802A5164 002A20C4 28 00 00 00 */ cmplwi r0, 0 -/* 802A5168 002A20C8 40 82 01 18 */ bne lbl_802A5280 -/* 802A516C 002A20CC C8 14 00 00 */ lfd f0, 0(r20) -/* 802A5170 002A20D0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802A5174 002A20D4 40 80 01 0C */ bge lbl_802A5280 -/* 802A5178 002A20D8 EC 07 03 32 */ fmuls f0, f7, f12 -/* 802A517C 002A20DC 7E 25 8B 78 */ mr r5, r17 -/* 802A5180 002A20E0 EC 47 02 F2 */ fmuls f2, f7, f11 -/* 802A5184 002A20E4 38 61 03 00 */ addi r3, r1, 0x300 -/* 802A5188 002A20E8 EC 27 03 72 */ fmuls f1, f7, f13 -/* 802A518C 002A20EC 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 802A5190 002A20F0 EC 9A 00 28 */ fsubs f4, f26, f0 -/* 802A5194 002A20F4 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 802A5198 002A20F8 EC 7B 10 28 */ fsubs f3, f27, f2 -/* 802A519C 002A20FC 38 C1 00 40 */ addi r6, r1, 0x40 -/* 802A51A0 002A2100 EC 19 08 28 */ fsubs f0, f25, f1 -/* 802A51A4 002A2104 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 802A51A8 002A2108 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 802A51AC 002A210C 38 E1 01 D8 */ addi r7, r1, 0x1d8 -/* 802A51B0 002A2110 3A C0 00 01 */ li r22, 1 -/* 802A51B4 002A2114 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 802A51B8 002A2118 D0 81 00 F8 */ stfs f4, 0xf8(r1) -/* 802A51BC 002A211C D0 61 00 FC */ stfs f3, 0xfc(r1) -/* 802A51C0 002A2120 48 02 92 89 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A51C4 002A2124 38 00 00 01 */ li r0, 1 -/* 802A51C8 002A2128 80 61 03 00 */ lwz r3, 0x300(r1) -/* 802A51CC 002A212C 98 01 03 6C */ stb r0, 0x36c(r1) -/* 802A51D0 002A2130 80 01 03 04 */ lwz r0, 0x304(r1) -/* 802A51D4 002A2134 90 73 00 00 */ stw r3, 0(r19) -/* 802A51D8 002A2138 90 13 00 04 */ stw r0, 4(r19) -/* 802A51DC 002A213C 80 01 03 08 */ lwz r0, 0x308(r1) -/* 802A51E0 002A2140 90 13 00 08 */ stw r0, 8(r19) -/* 802A51E4 002A2144 80 61 03 0C */ lwz r3, 0x30c(r1) -/* 802A51E8 002A2148 80 01 03 10 */ lwz r0, 0x310(r1) -/* 802A51EC 002A214C 90 73 00 0C */ stw r3, 0xc(r19) -/* 802A51F0 002A2150 90 13 00 10 */ stw r0, 0x10(r19) -/* 802A51F4 002A2154 80 01 03 14 */ lwz r0, 0x314(r1) -/* 802A51F8 002A2158 90 13 00 14 */ stw r0, 0x14(r19) -/* 802A51FC 002A215C 80 61 03 18 */ lwz r3, 0x318(r1) -/* 802A5200 002A2160 80 01 03 1C */ lwz r0, 0x31c(r1) -/* 802A5204 002A2164 90 73 00 18 */ stw r3, 0x18(r19) -/* 802A5208 002A2168 90 13 00 1C */ stw r0, 0x1c(r19) -/* 802A520C 002A216C 80 01 03 20 */ lwz r0, 0x320(r1) -/* 802A5210 002A2170 90 13 00 20 */ stw r0, 0x20(r19) -/* 802A5214 002A2174 80 61 03 24 */ lwz r3, 0x324(r1) -/* 802A5218 002A2178 80 01 03 28 */ lwz r0, 0x328(r1) -/* 802A521C 002A217C 90 73 00 24 */ stw r3, 0x24(r19) -/* 802A5220 002A2180 90 13 00 28 */ stw r0, 0x28(r19) -/* 802A5224 002A2184 80 01 03 2C */ lwz r0, 0x32c(r1) -/* 802A5228 002A2188 90 13 00 2C */ stw r0, 0x2c(r19) -/* 802A522C 002A218C 88 01 03 30 */ lbz r0, 0x330(r1) -/* 802A5230 002A2190 98 13 00 30 */ stb r0, 0x30(r19) -/* 802A5234 002A2194 88 01 03 31 */ lbz r0, 0x331(r1) -/* 802A5238 002A2198 98 13 00 31 */ stb r0, 0x31(r19) -/* 802A523C 002A219C C8 01 03 38 */ lfd f0, 0x338(r1) -/* 802A5240 002A21A0 D8 13 00 38 */ stfd f0, 0x38(r19) -/* 802A5244 002A21A4 C8 01 03 40 */ lfd f0, 0x340(r1) -/* 802A5248 002A21A8 D8 13 00 40 */ stfd f0, 0x40(r19) -/* 802A524C 002A21AC 80 61 03 48 */ lwz r3, 0x348(r1) -/* 802A5250 002A21B0 80 01 03 4C */ lwz r0, 0x34c(r1) -/* 802A5254 002A21B4 90 73 00 48 */ stw r3, 0x48(r19) -/* 802A5258 002A21B8 90 13 00 4C */ stw r0, 0x4c(r19) -/* 802A525C 002A21BC 80 01 03 50 */ lwz r0, 0x350(r1) -/* 802A5260 002A21C0 90 13 00 50 */ stw r0, 0x50(r19) -/* 802A5264 002A21C4 80 61 03 54 */ lwz r3, 0x354(r1) -/* 802A5268 002A21C8 80 01 03 58 */ lwz r0, 0x358(r1) -/* 802A526C 002A21CC 90 73 00 54 */ stw r3, 0x54(r19) -/* 802A5270 002A21D0 90 13 00 58 */ stw r0, 0x58(r19) -/* 802A5274 002A21D4 80 01 03 5C */ lwz r0, 0x35c(r1) -/* 802A5278 002A21D8 90 13 00 5C */ stw r0, 0x5c(r19) -/* 802A527C 002A21DC DB 94 00 00 */ stfd f28, 0(r20) -lbl_802A5280: -/* 802A5280 002A21E0 C0 30 00 04 */ lfs f1, 4(r16) -/* 802A5284 002A21E4 C0 01 02 18 */ lfs f0, 0x218(r1) -/* 802A5288 002A21E8 C0 50 00 00 */ lfs f2, 0(r16) -/* 802A528C 002A21EC EC A1 00 28 */ fsubs f5, f1, f0 -/* 802A5290 002A21F0 C0 21 02 14 */ lfs f1, 0x214(r1) -/* 802A5294 002A21F4 C0 01 01 DC */ lfs f0, 0x1dc(r1) -/* 802A5298 002A21F8 EC 62 08 28 */ fsubs f3, f2, f1 -/* 802A529C 002A21FC C0 90 00 08 */ lfs f4, 8(r16) -/* 802A52A0 002A2200 C0 41 02 1C */ lfs f2, 0x21c(r1) -/* 802A52A4 002A2204 EC 05 00 32 */ fmuls f0, f5, f0 -/* 802A52A8 002A2208 C0 21 01 D8 */ lfs f1, 0x1d8(r1) -/* 802A52AC 002A220C EC 84 10 28 */ fsubs f4, f4, f2 -/* 802A52B0 002A2210 C0 41 01 E0 */ lfs f2, 0x1e0(r1) -/* 802A52B4 002A2214 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 802A52B8 002A2218 C0 10 00 0C */ lfs f0, 0xc(r16) -/* 802A52BC 002A221C D0 61 00 DC */ stfs f3, 0xdc(r1) -/* 802A52C0 002A2220 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 802A52C4 002A2224 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 802A52C8 002A2228 D0 81 00 E4 */ stfs f4, 0xe4(r1) -/* 802A52CC 002A222C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A52D0 002A2230 4C 40 13 82 */ cror 2, 0, 2 -/* 802A52D4 002A2234 7C A0 00 26 */ mfcr r5 -/* 802A52D8 002A2238 A0 82 C1 48 */ lhz r4, lbl_805ADE68@sda21(r2) -/* 802A52DC 002A223C 88 02 C1 4A */ lbz r0, lbl_805ADE6A@sda21(r2) -/* 802A52E0 002A2240 7F E3 FB 78 */ mr r3, r31 -/* 802A52E4 002A2244 B0 81 00 14 */ sth r4, 0x14(r1) -/* 802A52E8 002A2248 7D C4 73 78 */ mr r4, r14 -/* 802A52EC 002A224C 54 AE 1F FE */ rlwinm r14, r5, 3, 0x1f, 0x1f -/* 802A52F0 002A2250 98 01 00 16 */ stb r0, 0x16(r1) -/* 802A52F4 002A2254 4B FF D6 7D */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs -/* 802A52F8 002A2258 3C 80 80 3F */ lis r4, lbl_803EC428@ha -/* 802A52FC 002A225C 3A E1 02 14 */ addi r23, r1, 0x214 -/* 802A5300 002A2260 3B 01 00 14 */ addi r24, r1, 0x14 -/* 802A5304 002A2264 7C 7C 1B 78 */ mr r28, r3 -/* 802A5308 002A2268 3B 44 C4 28 */ addi r26, r4, lbl_803EC428@l -/* 802A530C 002A226C 7E FB BB 78 */ mr r27, r23 -/* 802A5310 002A2270 7F 19 C3 78 */ mr r25, r24 -/* 802A5314 002A2274 3B A1 00 18 */ addi r29, r1, 0x18 -/* 802A5318 002A2278 3A A0 00 00 */ li r21, 0 -lbl_802A531C: -/* 802A531C 002A227C 28 0E 00 00 */ cmplwi r14, 0 -/* 802A5320 002A2280 40 82 00 10 */ bne lbl_802A5330 -/* 802A5324 002A2284 88 1D 00 00 */ lbz r0, 0(r29) -/* 802A5328 002A2288 28 00 00 00 */ cmplwi r0, 0 -/* 802A532C 002A228C 41 82 04 94 */ beq lbl_802A57C0 -lbl_802A5330: -/* 802A5330 002A2290 A0 DC 00 00 */ lhz r6, 0(r28) -/* 802A5334 002A2294 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha -/* 802A5338 002A2298 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l -/* 802A533C 002A229C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802A5340 002A22A0 54 C4 08 3C */ slwi r4, r6, 1 -/* 802A5344 002A22A4 7C 03 22 2E */ lhzx r0, r3, r4 -/* 802A5348 002A22A8 7C 05 00 40 */ cmplw r5, r0 -/* 802A534C 002A22AC 41 82 04 74 */ beq lbl_802A57C0 -/* 802A5350 002A22B0 7C A3 23 2E */ sthx r5, r3, r4 -/* 802A5354 002A22B4 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 802A5358 002A22B8 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 802A535C 002A22BC 7C 03 30 AE */ lbzx r0, r3, r6 -/* 802A5360 002A22C0 54 00 10 3A */ slwi r0, r0, 2 -/* 802A5364 002A22C4 7F C4 00 2E */ lwzx r30, r4, r0 -/* 802A5368 002A22C8 57 C0 01 CF */ rlwinm. r0, r30, 0, 7, 7 -/* 802A536C 002A22CC 40 82 04 54 */ bne lbl_802A57C0 -/* 802A5370 002A22D0 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A5374 002A22D4 38 81 02 14 */ addi r4, r1, 0x214 -/* 802A5378 002A22D8 C0 9B 00 04 */ lfs f4, 4(r27) -/* 802A537C 002A22DC 38 61 01 CC */ addi r3, r1, 0x1cc -/* 802A5380 002A22E0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A5384 002A22E4 C0 5B 00 08 */ lfs f2, 8(r27) -/* 802A5388 002A22E8 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802A538C 002A22EC 7C 84 02 14 */ add r4, r4, r0 -/* 802A5390 002A22F0 C0 A4 00 04 */ lfs f5, 4(r4) -/* 802A5394 002A22F4 C0 64 00 08 */ lfs f3, 8(r4) -/* 802A5398 002A22F8 C0 24 00 00 */ lfs f1, 0(r4) -/* 802A539C 002A22FC EC 85 20 28 */ fsubs f4, f5, f4 -/* 802A53A0 002A2300 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802A53A4 002A2304 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A53A8 002A2308 D0 81 01 D0 */ stfs f4, 0x1d0(r1) -/* 802A53AC 002A230C D0 01 01 CC */ stfs f0, 0x1cc(r1) -/* 802A53B0 002A2310 D0 41 01 D4 */ stfs f2, 0x1d4(r1) -/* 802A53B4 002A2314 48 06 F5 05 */ bl Magnitude__9CVector3fCFv -/* 802A53B8 002A2318 C0 42 C1 64 */ lfs f2, lbl_805ADE84@sda21(r2) -/* 802A53BC 002A231C C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 802A53C0 002A2320 EC E2 08 24 */ fdivs f7, f2, f1 -/* 802A53C4 002A2324 C0 A1 01 CC */ lfs f5, 0x1cc(r1) -/* 802A53C8 002A2328 C0 61 01 D4 */ lfs f3, 0x1d4(r1) -/* 802A53CC 002A232C C2 92 00 04 */ lfs f20, 4(r18) -/* 802A53D0 002A2330 C0 52 00 00 */ lfs f2, 0(r18) -/* 802A53D4 002A2334 C0 D2 00 08 */ lfs f6, 8(r18) -/* 802A53D8 002A2338 ED 80 01 F2 */ fmuls f12, f0, f7 -/* 802A53DC 002A233C C0 90 00 04 */ lfs f4, 4(r16) -/* 802A53E0 002A2340 ED A5 01 F2 */ fmuls f13, f5, f7 -/* 802A53E4 002A2344 C0 1B 00 04 */ lfs f0, 4(r27) -/* 802A53E8 002A2348 ED 43 01 F2 */ fmuls f10, f3, f7 -/* 802A53EC 002A234C C1 30 00 00 */ lfs f9, 0(r16) -/* 802A53F0 002A2350 EC 74 03 32 */ fmuls f3, f20, f12 -/* 802A53F4 002A2354 C1 1B 00 00 */ lfs f8, 0(r27) -/* 802A53F8 002A2358 EC 04 00 28 */ fsubs f0, f4, f0 -/* 802A53FC 002A235C C0 F0 00 08 */ lfs f7, 8(r16) -/* 802A5400 002A2360 C0 BB 00 08 */ lfs f5, 8(r27) -/* 802A5404 002A2364 EE 69 40 28 */ fsubs f19, f9, f8 -/* 802A5408 002A2368 EC 62 1B 7A */ fmadds f3, f2, f13, f3 -/* 802A540C 002A236C C1 62 C1 4C */ lfs f11, lbl_805ADE6C@sda21(r2) -/* 802A5410 002A2370 EC 80 03 32 */ fmuls f4, f0, f12 -/* 802A5414 002A2374 D1 A1 01 CC */ stfs f13, 0x1cc(r1) -/* 802A5418 002A2378 EE 47 28 28 */ fsubs f18, f7, f5 -/* 802A541C 002A237C EC A6 1A BA */ fmadds f5, f6, f10, f3 -/* 802A5420 002A2380 EC 93 23 7A */ fmadds f4, f19, f13, f4 -/* 802A5424 002A2384 D1 81 01 D0 */ stfs f12, 0x1d0(r1) -/* 802A5428 002A2388 EC 65 03 32 */ fmuls f3, f5, f12 -/* 802A542C 002A238C D1 41 01 D4 */ stfs f10, 0x1d4(r1) -/* 802A5430 002A2390 EC E5 03 72 */ fmuls f7, f5, f13 -/* 802A5434 002A2394 EC 92 22 BA */ fmadds f4, f18, f10, f4 -/* 802A5438 002A2398 EE 94 18 28 */ fsubs f20, f20, f3 -/* 802A543C 002A239C ED 05 02 B2 */ fmuls f8, f5, f10 -/* 802A5440 002A23A0 EC 62 38 28 */ fsubs f3, f2, f7 -/* 802A5444 002A23A4 EC F4 05 32 */ fmuls f7, f20, f20 -/* 802A5448 002A23A8 EC 46 40 28 */ fsubs f2, f6, f8 -/* 802A544C 002A23AC ED 24 03 72 */ fmuls f9, f4, f13 -/* 802A5450 002A23B0 EC C3 38 FA */ fmadds f6, f3, f3, f7 -/* 802A5454 002A23B4 ED 04 03 32 */ fmuls f8, f4, f12 -/* 802A5458 002A23B8 EC E4 02 B2 */ fmuls f7, f4, f10 -/* 802A545C 002A23BC EC C2 30 BA */ fmadds f6, f2, f2, f6 -/* 802A5460 002A23C0 ED B3 48 28 */ fsubs f13, f19, f9 -/* 802A5464 002A23C4 EC 00 40 28 */ fsubs f0, f0, f8 -/* 802A5468 002A23C8 FC 06 58 40 */ fcmpo cr0, f6, f11 -/* 802A546C 002A23CC ED 92 38 28 */ fsubs f12, f18, f7 -/* 802A5470 002A23D0 40 81 03 50 */ ble lbl_802A57C0 -/* 802A5474 002A23D4 EC E0 00 32 */ fmuls f7, f0, f0 -/* 802A5478 002A23D8 C1 50 00 0C */ lfs f10, 0xc(r16) -/* 802A547C 002A23DC ED 20 05 32 */ fmuls f9, f0, f20 -/* 802A5480 002A23E0 C1 02 C1 6C */ lfs f8, lbl_805ADE8C@sda21(r2) -/* 802A5484 002A23E4 EC 0A 02 B2 */ fmuls f0, f10, f10 -/* 802A5488 002A23E8 C1 42 C1 68 */ lfs f10, lbl_805ADE88@sda21(r2) -/* 802A548C 002A23EC EC ED 3B 7A */ fmadds f7, f13, f13, f7 -/* 802A5490 002A23F0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 -/* 802A5494 002A23F4 ED 08 01 B2 */ fmuls f8, f8, f6 -/* 802A5498 002A23F8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 -/* 802A549C 002A23FC EC EC 48 BA */ fmadds f7, f12, f2, f9 -/* 802A54A0 002A2400 EC 43 00 28 */ fsubs f2, f3, f0 -/* 802A54A4 002A2404 EC 0A 01 F2 */ fmuls f0, f10, f7 -/* 802A54A8 002A2408 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 802A54AC 002A240C ED 20 10 38 */ fmsubs f9, f0, f0, f2 -/* 802A54B0 002A2410 FC 09 58 40 */ fcmpo cr0, f9, f11 -/* 802A54B4 002A2414 4C 41 13 82 */ cror 2, 1, 2 -/* 802A54B8 002A2418 40 82 02 F4 */ bne lbl_802A57AC -/* 802A54BC 002A241C C9 02 C1 70 */ lfd f8, lbl_805ADE90@sda21(r2) -/* 802A54C0 002A2420 C8 E2 C1 58 */ lfd f7, lbl_805ADE78@sda21(r2) -/* 802A54C4 002A2424 FC 48 30 24 */ fdiv f2, f8, f6 -/* 802A54C8 002A2428 FC 09 38 40 */ fcmpo cr0, f9, f7 -/* 802A54CC 002A242C 40 81 00 54 */ ble lbl_802A5520 -/* 802A54D0 002A2430 FC C0 48 34 */ frsqrte f6, f9 -/* 802A54D4 002A2434 C8 E2 C1 78 */ lfd f7, lbl_805ADE98@sda21(r2) -/* 802A54D8 002A2438 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802A54DC 002A243C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802A54E0 002A2440 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802A54E4 002A2444 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802A54E8 002A2448 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802A54EC 002A244C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802A54F0 002A2450 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802A54F4 002A2454 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802A54F8 002A2458 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802A54FC 002A245C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802A5500 002A2460 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802A5504 002A2464 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802A5508 002A2468 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802A550C 002A246C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802A5510 002A2470 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802A5514 002A2474 FC 66 00 F2 */ fmul f3, f6, f3 -/* 802A5518 002A2478 FC E9 00 F2 */ fmul f7, f9, f3 -/* 802A551C 002A247C 48 00 00 2C */ b lbl_802A5548 -lbl_802A5520: -/* 802A5520 002A2480 FC 07 48 00 */ fcmpu cr0, f7, f9 -/* 802A5524 002A2484 40 82 00 08 */ bne lbl_802A552C -/* 802A5528 002A2488 48 00 00 20 */ b lbl_802A5548 -lbl_802A552C: -/* 802A552C 002A248C FC 09 38 00 */ fcmpu cr0, f9, f7 -/* 802A5530 002A2490 41 82 00 10 */ beq lbl_802A5540 -/* 802A5534 002A2494 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 802A5538 002A2498 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) -/* 802A553C 002A249C 48 00 00 0C */ b lbl_802A5548 -lbl_802A5540: -/* 802A5540 002A24A0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 802A5544 002A24A4 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) -lbl_802A5548: -/* 802A5548 002A24A8 FC 60 00 50 */ fneg f3, f0 -/* 802A554C 002A24AC C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A5550 002A24B0 FC 63 38 28 */ fsub f3, f3, f7 -/* 802A5554 002A24B4 FE E2 00 F2 */ fmul f23, f2, f3 -/* 802A5558 002A24B8 FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802A555C 002A24BC 4C 41 13 82 */ cror 2, 1, 2 -/* 802A5560 002A24C0 40 82 02 60 */ bne lbl_802A57C0 -/* 802A5564 002A24C4 FC 77 21 7A */ fmadd f3, f23, f5, f4 -/* 802A5568 002A24C8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A556C 002A24CC 4C 41 13 82 */ cror 2, 1, 2 -/* 802A5570 002A24D0 40 82 01 E0 */ bne lbl_802A5750 -/* 802A5574 002A24D4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802A5578 002A24D8 4C 40 13 82 */ cror 2, 0, 2 -/* 802A557C 002A24DC 40 82 01 D4 */ bne lbl_802A5750 -/* 802A5580 002A24E0 C8 14 00 00 */ lfd f0, 0(r20) -/* 802A5584 002A24E4 FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802A5588 002A24E8 40 80 01 C8 */ bge lbl_802A5750 -/* 802A558C 002A24EC FD 00 18 18 */ frsp f8, f3 -/* 802A5590 002A24F0 C0 21 01 D0 */ lfs f1, 0x1d0(r1) -/* 802A5594 002A24F4 C0 01 01 D4 */ lfs f0, 0x1d4(r1) -/* 802A5598 002A24F8 FC 60 B8 18 */ frsp f3, f23 -/* 802A559C 002A24FC C0 81 01 CC */ lfs f4, 0x1cc(r1) -/* 802A55A0 002A2500 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802A55A4 002A2504 C0 52 00 04 */ lfs f2, 4(r18) -/* 802A55A8 002A2508 EC E8 00 72 */ fmuls f7, f8, f1 -/* 802A55AC 002A250C C0 32 00 08 */ lfs f1, 8(r18) -/* 802A55B0 002A2510 EC A8 00 32 */ fmuls f5, f8, f0 -/* 802A55B4 002A2514 C0 12 00 00 */ lfs f0, 0(r18) -/* 802A55B8 002A2518 ED 63 00 B2 */ fmuls f11, f3, f2 -/* 802A55BC 002A251C ED 43 00 72 */ fmuls f10, f3, f1 -/* 802A55C0 002A2520 EC 43 00 32 */ fmuls f2, f3, f0 -/* 802A55C4 002A2524 C1 3B 00 04 */ lfs f9, 4(r27) -/* 802A55C8 002A2528 C0 DB 00 08 */ lfs f6, 8(r27) -/* 802A55CC 002A252C EC 68 01 32 */ fmuls f3, f8, f4 -/* 802A55D0 002A2530 C0 9B 00 00 */ lfs f4, 0(r27) -/* 802A55D4 002A2534 C0 10 00 04 */ lfs f0, 4(r16) -/* 802A55D8 002A2538 C0 30 00 08 */ lfs f1, 8(r16) -/* 802A55DC 002A253C EC E9 38 2A */ fadds f7, f9, f7 -/* 802A55E0 002A2540 ED 00 58 2A */ fadds f8, f0, f11 -/* 802A55E4 002A2544 C0 10 00 00 */ lfs f0, 0(r16) -/* 802A55E8 002A2548 EC A6 28 2A */ fadds f5, f6, f5 -/* 802A55EC 002A254C D0 41 00 AC */ stfs f2, 0xac(r1) -/* 802A55F0 002A2550 EC C1 50 2A */ fadds f6, f1, f10 -/* 802A55F4 002A2554 EC 64 18 2A */ fadds f3, f4, f3 -/* 802A55F8 002A2558 EC 20 10 2A */ fadds f1, f0, f2 -/* 802A55FC 002A255C D0 E1 01 C4 */ stfs f7, 0x1c4(r1) -/* 802A5600 002A2560 EC 88 38 28 */ fsubs f4, f8, f7 -/* 802A5604 002A2564 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 802A5608 002A2568 EC 46 28 28 */ fsubs f2, f6, f5 -/* 802A560C 002A256C EC 01 18 28 */ fsubs f0, f1, f3 -/* 802A5610 002A2570 D0 61 01 C0 */ stfs f3, 0x1c0(r1) -/* 802A5614 002A2574 3A C0 00 01 */ li r22, 1 -/* 802A5618 002A2578 D0 A1 01 C8 */ stfs f5, 0x1c8(r1) -/* 802A561C 002A257C D1 61 00 B0 */ stfs f11, 0xb0(r1) -/* 802A5620 002A2580 D1 41 00 B4 */ stfs f10, 0xb4(r1) -/* 802A5624 002A2584 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 802A5628 002A2588 D1 01 00 BC */ stfs f8, 0xbc(r1) -/* 802A562C 002A258C D0 C1 00 C0 */ stfs f6, 0xc0(r1) -/* 802A5630 002A2590 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 802A5634 002A2594 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 802A5638 002A2598 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 802A563C 002A259C 48 06 F2 15 */ bl AsNormalized__9CVector3fCFv -/* 802A5640 002A25A0 C0 41 00 D0 */ lfs f2, 0xd0(r1) -/* 802A5644 002A25A4 38 00 00 00 */ li r0, 0 -/* 802A5648 002A25A8 C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 802A564C 002A25AC 7E 25 8B 78 */ mr r5, r17 -/* 802A5650 002A25B0 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 802A5654 002A25B4 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 802A5658 002A25B8 D0 41 01 B4 */ stfs f2, 0x1b4(r1) -/* 802A565C 002A25BC 38 81 01 C0 */ addi r4, r1, 0x1c0 -/* 802A5660 002A25C0 38 C1 00 28 */ addi r6, r1, 0x28 -/* 802A5664 002A25C4 38 E1 01 B4 */ addi r7, r1, 0x1b4 -/* 802A5668 002A25C8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) -/* 802A566C 002A25CC D0 01 01 BC */ stfs f0, 0x1bc(r1) -/* 802A5670 002A25D0 93 C1 00 2C */ stw r30, 0x2c(r1) -/* 802A5674 002A25D4 90 01 00 28 */ stw r0, 0x28(r1) -/* 802A5678 002A25D8 48 02 8D D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A567C 002A25DC 80 C1 02 A0 */ lwz r6, 0x2a0(r1) -/* 802A5680 002A25E0 38 00 00 01 */ li r0, 1 -/* 802A5684 002A25E4 80 A1 02 A4 */ lwz r5, 0x2a4(r1) -/* 802A5688 002A25E8 38 80 00 00 */ li r4, 0 -/* 802A568C 002A25EC 98 01 03 6C */ stb r0, 0x36c(r1) -/* 802A5690 002A25F0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A5694 002A25F4 90 D3 00 00 */ stw r6, 0(r19) -/* 802A5698 002A25F8 90 B3 00 04 */ stw r5, 4(r19) -/* 802A569C 002A25FC 80 01 02 A8 */ lwz r0, 0x2a8(r1) -/* 802A56A0 002A2600 98 99 00 00 */ stb r4, 0(r25) -/* 802A56A4 002A2604 90 13 00 08 */ stw r0, 8(r19) -/* 802A56A8 002A2608 80 A1 02 AC */ lwz r5, 0x2ac(r1) -/* 802A56AC 002A260C 80 01 02 B0 */ lwz r0, 0x2b0(r1) -/* 802A56B0 002A2610 90 B3 00 0C */ stw r5, 0xc(r19) -/* 802A56B4 002A2614 90 13 00 10 */ stw r0, 0x10(r19) -/* 802A56B8 002A2618 80 01 02 B4 */ lwz r0, 0x2b4(r1) -/* 802A56BC 002A261C 90 13 00 14 */ stw r0, 0x14(r19) -/* 802A56C0 002A2620 80 A1 02 B8 */ lwz r5, 0x2b8(r1) -/* 802A56C4 002A2624 80 01 02 BC */ lwz r0, 0x2bc(r1) -/* 802A56C8 002A2628 90 B3 00 18 */ stw r5, 0x18(r19) -/* 802A56CC 002A262C 90 13 00 1C */ stw r0, 0x1c(r19) -/* 802A56D0 002A2630 80 01 02 C0 */ lwz r0, 0x2c0(r1) -/* 802A56D4 002A2634 90 13 00 20 */ stw r0, 0x20(r19) -/* 802A56D8 002A2638 80 A1 02 C4 */ lwz r5, 0x2c4(r1) -/* 802A56DC 002A263C 80 01 02 C8 */ lwz r0, 0x2c8(r1) -/* 802A56E0 002A2640 90 B3 00 24 */ stw r5, 0x24(r19) -/* 802A56E4 002A2644 90 13 00 28 */ stw r0, 0x28(r19) -/* 802A56E8 002A2648 80 01 02 CC */ lwz r0, 0x2cc(r1) -/* 802A56EC 002A264C 90 13 00 2C */ stw r0, 0x2c(r19) -/* 802A56F0 002A2650 88 01 02 D0 */ lbz r0, 0x2d0(r1) -/* 802A56F4 002A2654 98 13 00 30 */ stb r0, 0x30(r19) -/* 802A56F8 002A2658 88 01 02 D1 */ lbz r0, 0x2d1(r1) -/* 802A56FC 002A265C 98 13 00 31 */ stb r0, 0x31(r19) -/* 802A5700 002A2660 C8 01 02 D8 */ lfd f0, 0x2d8(r1) -/* 802A5704 002A2664 D8 13 00 38 */ stfd f0, 0x38(r19) -/* 802A5708 002A2668 C8 01 02 E0 */ lfd f0, 0x2e0(r1) -/* 802A570C 002A266C D8 13 00 40 */ stfd f0, 0x40(r19) -/* 802A5710 002A2670 80 A1 02 E8 */ lwz r5, 0x2e8(r1) -/* 802A5714 002A2674 80 01 02 EC */ lwz r0, 0x2ec(r1) -/* 802A5718 002A2678 90 B3 00 48 */ stw r5, 0x48(r19) -/* 802A571C 002A267C 90 13 00 4C */ stw r0, 0x4c(r19) -/* 802A5720 002A2680 80 01 02 F0 */ lwz r0, 0x2f0(r1) -/* 802A5724 002A2684 90 13 00 50 */ stw r0, 0x50(r19) -/* 802A5728 002A2688 80 A1 02 F4 */ lwz r5, 0x2f4(r1) -/* 802A572C 002A268C 80 01 02 F8 */ lwz r0, 0x2f8(r1) -/* 802A5730 002A2690 90 B3 00 54 */ stw r5, 0x54(r19) -/* 802A5734 002A2694 90 13 00 58 */ stw r0, 0x58(r19) -/* 802A5738 002A2698 80 01 02 FC */ lwz r0, 0x2fc(r1) -/* 802A573C 002A269C 90 13 00 5C */ stw r0, 0x5c(r19) -/* 802A5740 002A26A0 DA F4 00 00 */ stfd f23, 0(r20) -/* 802A5744 002A26A4 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A5748 002A26A8 7C 83 01 AE */ stbx r4, r3, r0 -/* 802A574C 002A26AC 48 00 00 74 */ b lbl_802A57C0 -lbl_802A5750: -/* 802A5750 002A26B0 C0 50 00 0C */ lfs f2, 0xc(r16) -/* 802A5754 002A26B4 FC 00 10 50 */ fneg f0, f2 -/* 802A5758 002A26B8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A575C 002A26BC 40 80 00 20 */ bge lbl_802A577C -/* 802A5760 002A26C0 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) -/* 802A5764 002A26C4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802A5768 002A26C8 4C 40 13 82 */ cror 2, 0, 2 -/* 802A576C 002A26CC 40 82 00 10 */ bne lbl_802A577C -/* 802A5770 002A26D0 38 00 00 00 */ li r0, 0 -/* 802A5774 002A26D4 98 19 00 00 */ stb r0, 0(r25) -/* 802A5778 002A26D8 48 00 00 48 */ b lbl_802A57C0 -lbl_802A577C: -/* 802A577C 002A26DC EC 01 10 2A */ fadds f0, f1, f2 -/* 802A5780 002A26E0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A5784 002A26E4 40 81 00 3C */ ble lbl_802A57C0 -/* 802A5788 002A26E8 C0 02 C1 4C */ lfs f0, lbl_805ADE6C@sda21(r2) -/* 802A578C 002A26EC FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802A5790 002A26F0 4C 41 13 82 */ cror 2, 1, 2 -/* 802A5794 002A26F4 40 82 00 2C */ bne lbl_802A57C0 -/* 802A5798 002A26F8 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A579C 002A26FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A57A0 002A2700 38 80 00 00 */ li r4, 0 -/* 802A57A4 002A2704 7C 83 01 AE */ stbx r4, r3, r0 -/* 802A57A8 002A2708 48 00 00 18 */ b lbl_802A57C0 -lbl_802A57AC: -/* 802A57AC 002A270C 38 80 00 00 */ li r4, 0 -/* 802A57B0 002A2710 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A57B4 002A2714 98 99 00 00 */ stb r4, 0(r25) -/* 802A57B8 002A2718 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A57BC 002A271C 7C 83 01 AE */ stbx r4, r3, r0 -lbl_802A57C0: -/* 802A57C0 002A2720 3A B5 00 01 */ addi r21, r21, 1 -/* 802A57C4 002A2724 3B 9C 00 02 */ addi r28, r28, 2 -/* 802A57C8 002A2728 2C 15 00 03 */ cmpwi r21, 3 -/* 802A57CC 002A272C 3B 7B 00 0C */ addi r27, r27, 0xc -/* 802A57D0 002A2730 3B 5A 00 04 */ addi r26, r26, 4 -/* 802A57D4 002A2734 3B 39 00 01 */ addi r25, r25, 1 -/* 802A57D8 002A2738 3B BD 00 01 */ addi r29, r29, 1 -/* 802A57DC 002A273C 41 80 FB 40 */ blt lbl_802A531C -/* 802A57E0 002A2740 39 C1 00 38 */ addi r14, r1, 0x38 -/* 802A57E4 002A2744 3A A0 00 00 */ li r21, 0 -lbl_802A57E8: -/* 802A57E8 002A2748 88 18 00 00 */ lbz r0, 0(r24) -/* 802A57EC 002A274C A3 2E 00 00 */ lhz r25, 0(r14) -/* 802A57F0 002A2750 28 00 00 00 */ cmplwi r0, 0 -/* 802A57F4 002A2754 41 82 02 10 */ beq lbl_802A5A04 -/* 802A57F8 002A2758 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802A57FC 002A275C 57 24 08 3C */ slwi r4, r25, 1 -/* 802A5800 002A2760 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l -/* 802A5804 002A2764 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802A5808 002A2768 7C 03 22 2E */ lhzx r0, r3, r4 -/* 802A580C 002A276C 7C 05 00 40 */ cmplw r5, r0 -/* 802A5810 002A2770 41 82 02 08 */ beq lbl_802A5A18 -/* 802A5814 002A2774 7C A3 23 2E */ sthx r5, r3, r4 -/* 802A5818 002A2778 7E 04 83 78 */ mr r4, r16 -/* 802A581C 002A277C C0 90 00 0C */ lfs f4, 0xc(r16) -/* 802A5820 002A2780 7E 45 93 78 */ mr r5, r18 -/* 802A5824 002A2784 C8 74 00 00 */ lfd f3, 0(r20) -/* 802A5828 002A2788 38 61 00 9C */ addi r3, r1, 0x9c -/* 802A582C 002A278C C0 57 00 00 */ lfs f2, 0(r23) -/* 802A5830 002A2790 38 C1 00 30 */ addi r6, r1, 0x30 -/* 802A5834 002A2794 C0 37 00 04 */ lfs f1, 4(r23) -/* 802A5838 002A2798 C0 17 00 08 */ lfs f0, 8(r23) -/* 802A583C 002A279C D8 61 00 30 */ stfd f3, 0x30(r1) -/* 802A5840 002A27A0 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 802A5844 002A27A4 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 802A5848 002A27A8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 802A584C 002A27AC D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 802A5850 002A27B0 48 02 E1 81 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd -/* 802A5854 002A27B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A5858 002A27B8 41 82 01 C0 */ beq lbl_802A5A18 -/* 802A585C 002A27BC C8 21 00 30 */ lfd f1, 0x30(r1) -/* 802A5860 002A27C0 C8 02 C1 58 */ lfd f0, lbl_805ADE78@sda21(r2) -/* 802A5864 002A27C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A5868 002A27C8 4C 41 13 82 */ cror 2, 1, 2 -/* 802A586C 002A27CC 40 82 01 AC */ bne lbl_802A5A18 -/* 802A5870 002A27D0 FC 60 08 18 */ frsp f3, f1 -/* 802A5874 002A27D4 C0 52 00 04 */ lfs f2, 4(r18) -/* 802A5878 002A27D8 C0 32 00 08 */ lfs f1, 8(r18) -/* 802A587C 002A27DC 38 61 00 90 */ addi r3, r1, 0x90 -/* 802A5880 002A27E0 C0 12 00 00 */ lfs f0, 0(r18) -/* 802A5884 002A27E4 38 81 00 84 */ addi r4, r1, 0x84 -/* 802A5888 002A27E8 EC C3 00 B2 */ fmuls f6, f3, f2 -/* 802A588C 002A27EC C0 50 00 04 */ lfs f2, 4(r16) -/* 802A5890 002A27F0 EC A3 00 72 */ fmuls f5, f3, f1 -/* 802A5894 002A27F4 C0 30 00 08 */ lfs f1, 8(r16) -/* 802A5898 002A27F8 EC 83 00 32 */ fmuls f4, f3, f0 -/* 802A589C 002A27FC C0 10 00 00 */ lfs f0, 0(r16) -/* 802A58A0 002A2800 ED 02 30 2A */ fadds f8, f2, f6 -/* 802A58A4 002A2804 C0 57 00 04 */ lfs f2, 4(r23) -/* 802A58A8 002A2808 EC E1 28 2A */ fadds f7, f1, f5 -/* 802A58AC 002A280C C0 37 00 08 */ lfs f1, 8(r23) -/* 802A58B0 002A2810 EC 60 20 2A */ fadds f3, f0, f4 -/* 802A58B4 002A2814 C0 17 00 00 */ lfs f0, 0(r23) -/* 802A58B8 002A2818 EC 48 10 28 */ fsubs f2, f8, f2 -/* 802A58BC 002A281C D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 802A58C0 002A2820 EC 27 08 28 */ fsubs f1, f7, f1 -/* 802A58C4 002A2824 3A C0 00 01 */ li r22, 1 -/* 802A58C8 002A2828 EC 03 00 28 */ fsubs f0, f3, f0 -/* 802A58CC 002A282C D0 C1 00 70 */ stfs f6, 0x70(r1) -/* 802A58D0 002A2830 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 802A58D4 002A2834 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 802A58D8 002A2838 D1 01 00 7C */ stfs f8, 0x7c(r1) -/* 802A58DC 002A283C D0 E1 00 80 */ stfs f7, 0x80(r1) -/* 802A58E0 002A2840 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 802A58E4 002A2844 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802A58E8 002A2848 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802A58EC 002A284C 48 06 EF 65 */ bl AsNormalized__9CVector3fCFv -/* 802A58F0 002A2850 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 802A58F4 002A2854 38 00 00 00 */ li r0, 0 -/* 802A58F8 002A2858 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 802A58FC 002A285C 7E E4 BB 78 */ mr r4, r23 -/* 802A5900 002A2860 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802A5904 002A2864 7E 25 8B 78 */ mr r5, r17 -/* 802A5908 002A2868 D0 41 01 A8 */ stfs f2, 0x1a8(r1) -/* 802A590C 002A286C 38 61 02 40 */ addi r3, r1, 0x240 -/* 802A5910 002A2870 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802A5914 002A2874 38 E1 01 A8 */ addi r7, r1, 0x1a8 -/* 802A5918 002A2878 D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 802A591C 002A287C D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 802A5920 002A2880 81 1F 00 2C */ lwz r8, 0x2c(r31) -/* 802A5924 002A2884 81 3F 00 28 */ lwz r9, 0x28(r31) -/* 802A5928 002A2888 7D 08 C8 AE */ lbzx r8, r8, r25 -/* 802A592C 002A288C 55 08 10 3A */ slwi r8, r8, 2 -/* 802A5930 002A2890 7D 09 40 2E */ lwzx r8, r9, r8 -/* 802A5934 002A2894 91 01 00 24 */ stw r8, 0x24(r1) -/* 802A5938 002A2898 90 01 00 20 */ stw r0, 0x20(r1) -/* 802A593C 002A289C 48 02 8B 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A5940 002A28A0 38 00 00 01 */ li r0, 1 -/* 802A5944 002A28A4 80 61 02 40 */ lwz r3, 0x240(r1) -/* 802A5948 002A28A8 98 01 03 6C */ stb r0, 0x36c(r1) -/* 802A594C 002A28AC 80 01 02 44 */ lwz r0, 0x244(r1) -/* 802A5950 002A28B0 90 73 00 00 */ stw r3, 0(r19) -/* 802A5954 002A28B4 90 13 00 04 */ stw r0, 4(r19) -/* 802A5958 002A28B8 80 01 02 48 */ lwz r0, 0x248(r1) -/* 802A595C 002A28BC 90 13 00 08 */ stw r0, 8(r19) -/* 802A5960 002A28C0 80 61 02 4C */ lwz r3, 0x24c(r1) -/* 802A5964 002A28C4 80 01 02 50 */ lwz r0, 0x250(r1) -/* 802A5968 002A28C8 90 73 00 0C */ stw r3, 0xc(r19) -/* 802A596C 002A28CC 90 13 00 10 */ stw r0, 0x10(r19) -/* 802A5970 002A28D0 80 01 02 54 */ lwz r0, 0x254(r1) -/* 802A5974 002A28D4 90 13 00 14 */ stw r0, 0x14(r19) -/* 802A5978 002A28D8 80 61 02 58 */ lwz r3, 0x258(r1) -/* 802A597C 002A28DC 80 01 02 5C */ lwz r0, 0x25c(r1) -/* 802A5980 002A28E0 90 73 00 18 */ stw r3, 0x18(r19) -/* 802A5984 002A28E4 90 13 00 1C */ stw r0, 0x1c(r19) -/* 802A5988 002A28E8 80 01 02 60 */ lwz r0, 0x260(r1) -/* 802A598C 002A28EC 90 13 00 20 */ stw r0, 0x20(r19) -/* 802A5990 002A28F0 80 61 02 64 */ lwz r3, 0x264(r1) -/* 802A5994 002A28F4 80 01 02 68 */ lwz r0, 0x268(r1) -/* 802A5998 002A28F8 90 73 00 24 */ stw r3, 0x24(r19) -/* 802A599C 002A28FC 90 13 00 28 */ stw r0, 0x28(r19) -/* 802A59A0 002A2900 80 01 02 6C */ lwz r0, 0x26c(r1) -/* 802A59A4 002A2904 90 13 00 2C */ stw r0, 0x2c(r19) -/* 802A59A8 002A2908 88 01 02 70 */ lbz r0, 0x270(r1) -/* 802A59AC 002A290C 98 13 00 30 */ stb r0, 0x30(r19) -/* 802A59B0 002A2910 88 01 02 71 */ lbz r0, 0x271(r1) -/* 802A59B4 002A2914 98 13 00 31 */ stb r0, 0x31(r19) -/* 802A59B8 002A2918 C8 01 02 78 */ lfd f0, 0x278(r1) -/* 802A59BC 002A291C D8 13 00 38 */ stfd f0, 0x38(r19) -/* 802A59C0 002A2920 C8 01 02 80 */ lfd f0, 0x280(r1) -/* 802A59C4 002A2924 D8 13 00 40 */ stfd f0, 0x40(r19) -/* 802A59C8 002A2928 80 61 02 88 */ lwz r3, 0x288(r1) -/* 802A59CC 002A292C 80 01 02 8C */ lwz r0, 0x28c(r1) -/* 802A59D0 002A2930 90 73 00 48 */ stw r3, 0x48(r19) -/* 802A59D4 002A2934 90 13 00 4C */ stw r0, 0x4c(r19) -/* 802A59D8 002A2938 80 01 02 90 */ lwz r0, 0x290(r1) -/* 802A59DC 002A293C 90 13 00 50 */ stw r0, 0x50(r19) -/* 802A59E0 002A2940 80 61 02 94 */ lwz r3, 0x294(r1) -/* 802A59E4 002A2944 80 01 02 98 */ lwz r0, 0x298(r1) -/* 802A59E8 002A2948 90 73 00 54 */ stw r3, 0x54(r19) -/* 802A59EC 002A294C 90 13 00 58 */ stw r0, 0x58(r19) -/* 802A59F0 002A2950 80 01 02 9C */ lwz r0, 0x29c(r1) -/* 802A59F4 002A2954 90 13 00 5C */ stw r0, 0x5c(r19) -/* 802A59F8 002A2958 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 802A59FC 002A295C D8 14 00 00 */ stfd f0, 0(r20) -/* 802A5A00 002A2960 48 00 00 18 */ b lbl_802A5A18 -lbl_802A5A04: -/* 802A5A04 002A2964 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802A5A08 002A2968 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A5A0C 002A296C 57 20 08 3C */ slwi r0, r25, 1 -/* 802A5A10 002A2970 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l -/* 802A5A14 002A2974 7C 83 03 2E */ sthx r4, r3, r0 -lbl_802A5A18: -/* 802A5A18 002A2978 3A B5 00 01 */ addi r21, r21, 1 -/* 802A5A1C 002A297C 3B 18 00 01 */ addi r24, r24, 1 -/* 802A5A20 002A2980 2C 15 00 03 */ cmpwi r21, 3 -/* 802A5A24 002A2984 3A F7 00 0C */ addi r23, r23, 0xc -/* 802A5A28 002A2988 39 CE 00 02 */ addi r14, r14, 2 -/* 802A5A2C 002A298C 41 80 FD BC */ blt lbl_802A57E8 -/* 802A5A30 002A2990 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 802A5A34 002A2994 41 82 01 84 */ beq lbl_802A5BB8 -/* 802A5A38 002A2998 C8 74 00 00 */ lfd f3, 0(r20) -/* 802A5A3C 002A299C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 802A5A40 002A29A0 81 2F 00 00 */ lwz r9, 0(r15) -/* 802A5A44 002A29A4 38 81 00 60 */ addi r4, r1, 0x60 -/* 802A5A48 002A29A8 FC 60 18 18 */ frsp f3, f3 -/* 802A5A4C 002A29AC C0 12 00 00 */ lfs f0, 0(r18) -/* 802A5A50 002A29B0 C0 52 00 04 */ lfs f2, 4(r18) -/* 802A5A54 002A29B4 C0 32 00 08 */ lfs f1, 8(r18) -/* 802A5A58 002A29B8 EF E3 00 32 */ fmuls f31, f3, f0 -/* 802A5A5C 002A29BC C0 0F 00 00 */ lfs f0, 0(r15) -/* 802A5A60 002A29C0 EF C3 00 B2 */ fmuls f30, f3, f2 -/* 802A5A64 002A29C4 C0 4F 00 04 */ lfs f2, 4(r15) -/* 802A5A68 002A29C8 EF A3 00 72 */ fmuls f29, f3, f1 -/* 802A5A6C 002A29CC C0 2F 00 08 */ lfs f1, 8(r15) -/* 802A5A70 002A29D0 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A5A74 002A29D4 81 0F 00 04 */ lwz r8, 4(r15) -/* 802A5A78 002A29D8 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802A5A7C 002A29DC 80 EF 00 08 */ lwz r7, 8(r15) -/* 802A5A80 002A29E0 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A5A84 002A29E4 80 CF 00 0C */ lwz r6, 0xc(r15) -/* 802A5A88 002A29E8 80 AF 00 10 */ lwz r5, 0x10(r15) -/* 802A5A8C 002A29EC 80 0F 00 14 */ lwz r0, 0x14(r15) -/* 802A5A90 002A29F0 91 21 01 FC */ stw r9, 0x1fc(r1) -/* 802A5A94 002A29F4 91 01 02 00 */ stw r8, 0x200(r1) -/* 802A5A98 002A29F8 90 E1 02 04 */ stw r7, 0x204(r1) -/* 802A5A9C 002A29FC 90 C1 02 08 */ stw r6, 0x208(r1) -/* 802A5AA0 002A2A00 90 A1 02 0C */ stw r5, 0x20c(r1) -/* 802A5AA4 002A2A04 90 01 02 10 */ stw r0, 0x210(r1) -/* 802A5AA8 002A2A08 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 802A5AAC 002A2A0C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802A5AB0 002A2A10 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 802A5AB4 002A2A14 48 09 20 55 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A5AB8 002A2A18 C0 4F 00 10 */ lfs f2, 0x10(r15) -/* 802A5ABC 002A2A1C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 802A5AC0 002A2A20 C0 2F 00 14 */ lfs f1, 0x14(r15) -/* 802A5AC4 002A2A24 38 81 00 54 */ addi r4, r1, 0x54 -/* 802A5AC8 002A2A28 C0 0F 00 0C */ lfs f0, 0xc(r15) -/* 802A5ACC 002A2A2C EC 42 F0 2A */ fadds f2, f2, f30 -/* 802A5AD0 002A2A30 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802A5AD4 002A2A34 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802A5AD8 002A2A38 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802A5ADC 002A2A3C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 802A5AE0 002A2A40 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 802A5AE4 002A2A44 48 09 20 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A5AE8 002A2A48 38 61 00 48 */ addi r3, r1, 0x48 -/* 802A5AEC 002A2A4C 38 81 01 FC */ addi r4, r1, 0x1fc -/* 802A5AF0 002A2A50 48 09 1B 1D */ bl GetCenterPoint__6CAABoxCFv -/* 802A5AF4 002A2A54 C0 61 02 0C */ lfs f3, 0x20c(r1) -/* 802A5AF8 002A2A58 C0 41 02 00 */ lfs f2, 0x200(r1) -/* 802A5AFC 002A2A5C C0 21 02 10 */ lfs f1, 0x210(r1) -/* 802A5B00 002A2A60 C0 01 02 04 */ lfs f0, 0x204(r1) -/* 802A5B04 002A2A64 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A5B08 002A2A68 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A5B0C 002A2A6C EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A5B10 002A2A70 C0 21 02 08 */ lfs f1, 0x208(r1) -/* 802A5B14 002A2A74 C0 01 01 FC */ lfs f0, 0x1fc(r1) -/* 802A5B18 002A2A78 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A5B1C 002A2A7C C0 61 00 48 */ lfs f3, 0x48(r1) -/* 802A5B20 002A2A80 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A5B24 002A2A84 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A5B28 002A2A88 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 802A5B2C 002A2A8C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802A5B30 002A2A90 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A5B34 002A2A94 D0 61 01 F0 */ stfs f3, 0x1f0(r1) -/* 802A5B38 002A2A98 D0 41 01 F4 */ stfs f2, 0x1f4(r1) -/* 802A5B3C 002A2A9C D0 21 01 F8 */ stfs f1, 0x1f8(r1) -/* 802A5B40 002A2AA0 D0 01 01 E4 */ stfs f0, 0x1e4(r1) -/* 802A5B44 002A2AA4 D0 C1 01 E8 */ stfs f6, 0x1e8(r1) -/* 802A5B48 002A2AA8 D0 A1 01 EC */ stfs f5, 0x1ec(r1) -/* 802A5B4C 002A2AAC 48 00 00 6C */ b lbl_802A5BB8 -lbl_802A5B50: -/* 802A5B50 002A2AB0 7F E3 FB 78 */ mr r3, r31 -/* 802A5B54 002A2AB4 7D C4 73 78 */ mr r4, r14 -/* 802A5B58 002A2AB8 4B FF CE 19 */ bl GetTriangleEdgeIndices__12CAreaOctTreeCFUs -/* 802A5B5C 002A2ABC A0 03 00 00 */ lhz r0, 0(r3) -/* 802A5B60 002A2AC0 3C A0 80 59 */ lis r5, lbl_8058BBAC@ha -/* 802A5B64 002A2AC4 A1 2D A5 D0 */ lhz r9, lbl_805A9190@sda21(r13) -/* 802A5B68 002A2AC8 3C 80 80 57 */ lis r4, lbl_80572BAC@ha -/* 802A5B6C 002A2ACC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A5B70 002A2AD0 39 05 BB AC */ addi r8, r5, lbl_8058BBAC@l -/* 802A5B74 002A2AD4 7D 28 03 2E */ sthx r9, r8, r0 -/* 802A5B78 002A2AD8 38 A4 2B AC */ addi r5, r4, lbl_80572BAC@l -/* 802A5B7C 002A2ADC A0 01 00 38 */ lhz r0, 0x38(r1) -/* 802A5B80 002A2AE0 A0 E3 00 02 */ lhz r7, 2(r3) -/* 802A5B84 002A2AE4 A0 81 00 3A */ lhz r4, 0x3a(r1) -/* 802A5B88 002A2AE8 54 06 08 3C */ slwi r6, r0, 1 -/* 802A5B8C 002A2AEC 54 E7 08 3C */ slwi r7, r7, 1 -/* 802A5B90 002A2AF0 A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 802A5B94 002A2AF4 7D 28 3B 2E */ sthx r9, r8, r7 -/* 802A5B98 002A2AF8 54 84 08 3C */ slwi r4, r4, 1 -/* 802A5B9C 002A2AFC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A5BA0 002A2B00 A0 63 00 04 */ lhz r3, 4(r3) -/* 802A5BA4 002A2B04 7D 25 33 2E */ sthx r9, r5, r6 -/* 802A5BA8 002A2B08 54 63 08 3C */ slwi r3, r3, 1 -/* 802A5BAC 002A2B0C 7D 25 23 2E */ sthx r9, r5, r4 -/* 802A5BB0 002A2B10 7D 28 1B 2E */ sthx r9, r8, r3 -/* 802A5BB4 002A2B14 7D 25 03 2E */ sthx r9, r5, r0 -lbl_802A5BB8: -/* 802A5BB8 002A2B18 80 61 03 70 */ lwz r3, 0x370(r1) -/* 802A5BBC 002A2B1C 38 63 00 02 */ addi r3, r3, 2 -/* 802A5BC0 002A2B20 90 61 03 70 */ stw r3, 0x370(r1) -/* 802A5BC4 002A2B24 80 61 03 60 */ lwz r3, 0x360(r1) -/* 802A5BC8 002A2B28 38 63 00 01 */ addi r3, r3, 1 -/* 802A5BCC 002A2B2C 90 61 03 60 */ stw r3, 0x360(r1) -lbl_802A5BD0: -/* 802A5BD0 002A2B30 80 61 03 60 */ lwz r3, 0x360(r1) -/* 802A5BD4 002A2B34 80 01 03 64 */ lwz r0, 0x364(r1) -/* 802A5BD8 002A2B38 7C 03 00 00 */ cmpw r3, r0 -/* 802A5BDC 002A2B3C 41 80 F2 60 */ blt lbl_802A4E3C -lbl_802A5BE0: -/* 802A5BE0 002A2B40 80 61 03 74 */ lwz r3, 0x374(r1) -/* 802A5BE4 002A2B44 38 63 00 24 */ addi r3, r3, 0x24 -/* 802A5BE8 002A2B48 90 61 03 74 */ stw r3, 0x374(r1) -/* 802A5BEC 002A2B4C 80 61 03 68 */ lwz r3, 0x368(r1) -/* 802A5BF0 002A2B50 38 63 00 01 */ addi r3, r3, 1 -/* 802A5BF4 002A2B54 90 61 03 68 */ stw r3, 0x368(r1) -lbl_802A5BF8: -/* 802A5BF8 002A2B58 80 61 00 08 */ lwz r3, 8(r1) -/* 802A5BFC 002A2B5C 80 01 03 68 */ lwz r0, 0x368(r1) -/* 802A5C00 002A2B60 80 63 00 04 */ lwz r3, 4(r3) -/* 802A5C04 002A2B64 7C 00 18 00 */ cmpw r0, r3 -/* 802A5C08 002A2B68 41 80 F1 E0 */ blt lbl_802A4DE8 -/* 802A5C0C 002A2B6C 88 61 03 6C */ lbz r3, 0x36c(r1) -/* 802A5C10 002A2B70 E3 E1 04 A8 */ psq_l f31, 1192(r1), 0, qr0 -/* 802A5C14 002A2B74 CB E1 04 A0 */ lfd f31, 0x4a0(r1) -/* 802A5C18 002A2B78 E3 C1 04 98 */ psq_l f30, 1176(r1), 0, qr0 -/* 802A5C1C 002A2B7C CB C1 04 90 */ lfd f30, 0x490(r1) -/* 802A5C20 002A2B80 E3 A1 04 88 */ psq_l f29, 1160(r1), 0, qr0 -/* 802A5C24 002A2B84 CB A1 04 80 */ lfd f29, 0x480(r1) -/* 802A5C28 002A2B88 E3 81 04 78 */ psq_l f28, 1144(r1), 0, qr0 -/* 802A5C2C 002A2B8C CB 81 04 70 */ lfd f28, 0x470(r1) -/* 802A5C30 002A2B90 E3 61 04 68 */ psq_l f27, 1128(r1), 0, qr0 -/* 802A5C34 002A2B94 CB 61 04 60 */ lfd f27, 0x460(r1) -/* 802A5C38 002A2B98 E3 41 04 58 */ psq_l f26, 1112(r1), 0, qr0 -/* 802A5C3C 002A2B9C CB 41 04 50 */ lfd f26, 0x450(r1) -/* 802A5C40 002A2BA0 E3 21 04 48 */ psq_l f25, 1096(r1), 0, qr0 -/* 802A5C44 002A2BA4 CB 21 04 40 */ lfd f25, 0x440(r1) -/* 802A5C48 002A2BA8 E3 01 04 38 */ psq_l f24, 1080(r1), 0, qr0 -/* 802A5C4C 002A2BAC CB 01 04 30 */ lfd f24, 0x430(r1) -/* 802A5C50 002A2BB0 E2 E1 04 28 */ psq_l f23, 1064(r1), 0, qr0 -/* 802A5C54 002A2BB4 CA E1 04 20 */ lfd f23, 0x420(r1) -/* 802A5C58 002A2BB8 E2 C1 04 18 */ psq_l f22, 1048(r1), 0, qr0 -/* 802A5C5C 002A2BBC CA C1 04 10 */ lfd f22, 0x410(r1) -/* 802A5C60 002A2BC0 E2 A1 04 08 */ psq_l f21, 1032(r1), 0, qr0 -/* 802A5C64 002A2BC4 CA A1 04 00 */ lfd f21, 0x400(r1) -/* 802A5C68 002A2BC8 E2 81 03 F8 */ psq_l f20, 1016(r1), 0, qr0 -/* 802A5C6C 002A2BCC CA 81 03 F0 */ lfd f20, 0x3f0(r1) -/* 802A5C70 002A2BD0 E2 61 03 E8 */ psq_l f19, 1000(r1), 0, qr0 -/* 802A5C74 002A2BD4 CA 61 03 E0 */ lfd f19, 0x3e0(r1) -/* 802A5C78 002A2BD8 E2 41 03 D8 */ psq_l f18, 984(r1), 0, qr0 -/* 802A5C7C 002A2BDC CA 41 03 D0 */ lfd f18, 0x3d0(r1) -/* 802A5C80 002A2BE0 B9 C1 03 88 */ lmw r14, 0x388(r1) -/* 802A5C84 002A2BE4 80 01 04 B4 */ lwz r0, 0x4b4(r1) -/* 802A5C88 002A2BE8 7C 08 03 A6 */ mtlr r0 -/* 802A5C8C 002A2BEC 38 21 04 B0 */ addi r1, r1, 0x4b0 -/* 802A5C90 002A2BF0 4E 80 00 20 */ blr - -.global SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter -SphereCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC15CMaterialFilter: -/* 802A5C94 002A2BF4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802A5C98 002A2BF8 7C 08 02 A6 */ mflr r0 -/* 802A5C9C 002A2BFC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802A5CA0 002A2C00 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802A5CA4 002A2C04 80 E3 00 20 */ lwz r7, 0x20(r3) -/* 802A5CA8 002A2C08 C0 A3 00 00 */ lfs f5, 0(r3) -/* 802A5CAC 002A2C0C C0 83 00 04 */ lfs f4, 4(r3) -/* 802A5CB0 002A2C10 C0 63 00 08 */ lfs f3, 8(r3) -/* 802A5CB4 002A2C14 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 802A5CB8 002A2C18 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 802A5CBC 002A2C1C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802A5CC0 002A2C20 90 81 00 08 */ stw r4, 8(r1) -/* 802A5CC4 002A2C24 38 81 00 08 */ addi r4, r1, 8 -/* 802A5CC8 002A2C28 90 61 00 30 */ stw r3, 0x30(r1) -/* 802A5CCC 002A2C2C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A5CD0 002A2C30 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802A5CD4 002A2C34 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802A5CD8 002A2C38 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 802A5CDC 002A2C3C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802A5CE0 002A2C40 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802A5CE4 002A2C44 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802A5CE8 002A2C48 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802A5CEC 002A2C4C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802A5CF0 002A2C50 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 802A5CF4 002A2C54 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A5CF8 002A2C58 48 00 01 1D */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache -/* 802A5CFC 002A2C5C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802A5D00 002A2C60 7C 08 03 A6 */ mtlr r0 -/* 802A5D04 002A2C64 38 21 00 40 */ addi r1, r1, 0x40 -/* 802A5D08 002A2C68 4E 80 00 20 */ blr - -.global SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter -SphereCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC15CMaterialFilter: -/* 802A5D0C 002A2C6C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802A5D10 002A2C70 7C 08 02 A6 */ mflr r0 -/* 802A5D14 002A2C74 90 01 00 74 */ stw r0, 0x74(r1) -/* 802A5D18 002A2C78 BE A1 00 44 */ stmw r21, 0x44(r1) -/* 802A5D1C 002A2C7C 7C 77 1B 78 */ mr r23, r3 -/* 802A5D20 002A2C80 7C 98 23 78 */ mr r24, r4 -/* 802A5D24 002A2C84 7C B9 2B 78 */ mr r25, r5 -/* 802A5D28 002A2C88 7C DA 33 78 */ mr r26, r6 -/* 802A5D2C 002A2C8C 3B F7 00 08 */ addi r31, r23, 8 -/* 802A5D30 002A2C90 3B C0 00 00 */ li r30, 0 -/* 802A5D34 002A2C94 48 00 00 BC */ b lbl_802A5DF0 -lbl_802A5D38: -/* 802A5D38 002A2C98 7F 03 C3 78 */ mr r3, r24 -/* 802A5D3C 002A2C9C 7F E4 FB 78 */ mr r4, r31 -/* 802A5D40 002A2CA0 48 09 1E 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A5D44 002A2CA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A5D48 002A2CA8 41 82 00 A0 */ beq lbl_802A5DE8 -/* 802A5D4C 002A2CAC 7F E4 FB 78 */ mr r4, r31 -/* 802A5D50 002A2CB0 38 61 00 08 */ addi r3, r1, 8 -/* 802A5D54 002A2CB4 4B FF CF E9 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A5D58 002A2CB8 82 A1 00 08 */ lwz r21, 8(r1) -/* 802A5D5C 002A2CBC 3B 61 00 18 */ addi r27, r1, 0x18 -/* 802A5D60 002A2CC0 82 DF 00 1C */ lwz r22, 0x1c(r31) -/* 802A5D64 002A2CC4 3B 80 00 00 */ li r28, 0 -/* 802A5D68 002A2CC8 A3 B5 00 18 */ lhz r29, 0x18(r21) -/* 802A5D6C 002A2CCC 48 00 00 74 */ b lbl_802A5DE0 -lbl_802A5D70: -/* 802A5D70 002A2CD0 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) -/* 802A5D74 002A2CD4 7E C4 B3 78 */ mr r4, r22 -/* 802A5D78 002A2CD8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802A5D7C 002A2CDC 38 05 00 01 */ addi r0, r5, 1 -/* 802A5D80 002A2CE0 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A5D84 002A2CE4 A0 B5 00 1A */ lhz r5, 0x1a(r21) -/* 802A5D88 002A2CE8 4B FF CC AD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A5D8C 002A2CEC 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802A5D90 002A2CF0 38 00 00 00 */ li r0, 0 -/* 802A5D94 002A2CF4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A5D98 002A2CF8 7F 43 D3 78 */ mr r3, r26 -/* 802A5D9C 002A2CFC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A5DA0 002A2D00 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A5DA4 002A2D04 48 02 F5 A9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A5DA8 002A2D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A5DAC 002A2D0C 41 82 00 2C */ beq lbl_802A5DD8 -/* 802A5DB0 002A2D10 7F 23 CB 78 */ mr r3, r25 -/* 802A5DB4 002A2D14 7F 64 DB 78 */ mr r4, r27 -/* 802A5DB8 002A2D18 38 BB 00 0C */ addi r5, r27, 0xc -/* 802A5DBC 002A2D1C 38 DB 00 18 */ addi r6, r27, 0x18 -/* 802A5DC0 002A2D20 48 02 A6 81 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A5DC4 002A2D24 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A5DC8 002A2D28 28 00 00 01 */ cmplwi r0, 1 -/* 802A5DCC 002A2D2C 40 82 00 0C */ bne lbl_802A5DD8 -/* 802A5DD0 002A2D30 38 60 00 01 */ li r3, 1 -/* 802A5DD4 002A2D34 48 00 00 2C */ b lbl_802A5E00 -lbl_802A5DD8: -/* 802A5DD8 002A2D38 3A B5 00 02 */ addi r21, r21, 2 -/* 802A5DDC 002A2D3C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802A5DE0: -/* 802A5DE0 002A2D40 7C 1C E8 00 */ cmpw r28, r29 -/* 802A5DE4 002A2D44 41 80 FF 8C */ blt lbl_802A5D70 -lbl_802A5DE8: -/* 802A5DE8 002A2D48 3B FF 00 24 */ addi r31, r31, 0x24 -/* 802A5DEC 002A2D4C 3B DE 00 01 */ addi r30, r30, 1 -lbl_802A5DF0: -/* 802A5DF0 002A2D50 80 17 00 04 */ lwz r0, 4(r23) -/* 802A5DF4 002A2D54 7C 1E 00 00 */ cmpw r30, r0 -/* 802A5DF8 002A2D58 41 80 FF 40 */ blt lbl_802A5D38 -/* 802A5DFC 002A2D5C 38 60 00 00 */ li r3, 0 -lbl_802A5E00: -/* 802A5E00 002A2D60 BA A1 00 44 */ lmw r21, 0x44(r1) -/* 802A5E04 002A2D64 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802A5E08 002A2D68 7C 08 03 A6 */ mtlr r0 -/* 802A5E0C 002A2D6C 38 21 00 70 */ addi r1, r1, 0x70 -/* 802A5E10 002A2D70 4E 80 00 20 */ blr - -.global SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache -SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache: -/* 802A5E14 002A2D74 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802A5E18 002A2D78 7C 08 02 A6 */ mflr r0 -/* 802A5E1C 002A2D7C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802A5E20 002A2D80 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 802A5E24 002A2D84 7C 7C 1B 78 */ mr r28, r3 -/* 802A5E28 002A2D88 7C 9D 23 78 */ mr r29, r4 -/* 802A5E2C 002A2D8C 3B C0 00 00 */ li r30, 0 -/* 802A5E30 002A2D90 3B E0 00 00 */ li r31, 0 -lbl_802A5E34: -/* 802A5E34 002A2D94 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802A5E38 002A2D98 A0 03 00 00 */ lhz r0, 0(r3) -/* 802A5E3C 002A2D9C 7C 00 FE 30 */ sraw r0, r0, r31 -/* 802A5E40 002A2DA0 54 1A 07 BF */ clrlwi. r26, r0, 0x1e -/* 802A5E44 002A2DA4 41 82 01 38 */ beq lbl_802A5F7C -/* 802A5E48 002A2DA8 7F 84 E3 78 */ mr r4, r28 -/* 802A5E4C 002A2DAC 7F C5 F3 78 */ mr r5, r30 -/* 802A5E50 002A2DB0 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A5E54 002A2DB4 4B FF CF 0D */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A5E58 002A2DB8 C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 802A5E5C 002A2DBC 38 81 00 64 */ addi r4, r1, 0x64 -/* 802A5E60 002A2DC0 C0 81 00 44 */ lfs f4, 0x44(r1) -/* 802A5E64 002A2DC4 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 802A5E68 002A2DC8 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 802A5E6C 002A2DCC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802A5E70 002A2DD0 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802A5E74 002A2DD4 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 802A5E78 002A2DD8 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 802A5E7C 002A2DDC 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802A5E80 002A2DE0 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 802A5E84 002A2DE4 80 7D 00 00 */ lwz r3, 0(r29) -/* 802A5E88 002A2DE8 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802A5E8C 002A2DEC D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 802A5E90 002A2DF0 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802A5E94 002A2DF4 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 802A5E98 002A2DF8 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802A5E9C 002A2DFC 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 802A5EA0 002A2E00 90 A1 00 80 */ stw r5, 0x80(r1) -/* 802A5EA4 002A2E04 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A5EA8 002A2E08 48 09 1C DD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A5EAC 002A2E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A5EB0 002A2E10 41 82 00 CC */ beq lbl_802A5F7C -/* 802A5EB4 002A2E14 2C 1A 00 02 */ cmpwi r26, 2 -/* 802A5EB8 002A2E18 40 82 00 A4 */ bne lbl_802A5F5C -/* 802A5EBC 002A2E1C 38 61 00 08 */ addi r3, r1, 8 -/* 802A5EC0 002A2E20 38 81 00 64 */ addi r4, r1, 0x64 -/* 802A5EC4 002A2E24 4B FF CE 79 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A5EC8 002A2E28 83 41 00 08 */ lwz r26, 8(r1) -/* 802A5ECC 002A2E2C 3A E1 00 18 */ addi r23, r1, 0x18 -/* 802A5ED0 002A2E30 83 61 00 80 */ lwz r27, 0x80(r1) -/* 802A5ED4 002A2E34 3B 00 00 00 */ li r24, 0 -/* 802A5ED8 002A2E38 A3 3A 00 18 */ lhz r25, 0x18(r26) -/* 802A5EDC 002A2E3C 48 00 00 74 */ b lbl_802A5F50 -lbl_802A5EE0: -/* 802A5EE0 002A2E40 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) -/* 802A5EE4 002A2E44 7F 64 DB 78 */ mr r4, r27 -/* 802A5EE8 002A2E48 38 61 00 18 */ addi r3, r1, 0x18 -/* 802A5EEC 002A2E4C 38 05 00 01 */ addi r0, r5, 1 -/* 802A5EF0 002A2E50 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A5EF4 002A2E54 A0 BA 00 1A */ lhz r5, 0x1a(r26) -/* 802A5EF8 002A2E58 4B FF CB 3D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A5EFC 002A2E5C 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802A5F00 002A2E60 38 00 00 00 */ li r0, 0 -/* 802A5F04 002A2E64 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A5F08 002A2E68 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A5F0C 002A2E6C 80 7D 00 08 */ lwz r3, 8(r29) -/* 802A5F10 002A2E70 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A5F14 002A2E74 48 02 F4 39 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A5F18 002A2E78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A5F1C 002A2E7C 41 82 00 2C */ beq lbl_802A5F48 -/* 802A5F20 002A2E80 80 7D 00 04 */ lwz r3, 4(r29) -/* 802A5F24 002A2E84 7E E4 BB 78 */ mr r4, r23 -/* 802A5F28 002A2E88 38 B7 00 0C */ addi r5, r23, 0xc -/* 802A5F2C 002A2E8C 38 D7 00 18 */ addi r6, r23, 0x18 -/* 802A5F30 002A2E90 48 02 A5 11 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A5F34 002A2E94 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A5F38 002A2E98 28 00 00 01 */ cmplwi r0, 1 -/* 802A5F3C 002A2E9C 40 82 00 0C */ bne lbl_802A5F48 -/* 802A5F40 002A2EA0 38 60 00 01 */ li r3, 1 -/* 802A5F44 002A2EA4 48 00 00 4C */ b lbl_802A5F90 -lbl_802A5F48: -/* 802A5F48 002A2EA8 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A5F4C 002A2EAC 3B 18 00 01 */ addi r24, r24, 1 -lbl_802A5F50: -/* 802A5F50 002A2EB0 7C 18 C8 00 */ cmpw r24, r25 -/* 802A5F54 002A2EB4 41 80 FF 8C */ blt lbl_802A5EE0 -/* 802A5F58 002A2EB8 48 00 00 24 */ b lbl_802A5F7C -lbl_802A5F5C: -/* 802A5F5C 002A2EBC 7F A4 EB 78 */ mr r4, r29 -/* 802A5F60 002A2EC0 38 61 00 64 */ addi r3, r1, 0x64 -/* 802A5F64 002A2EC4 4B FF FE B1 */ bl SphereCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC23CBooleanSphereAreaCache -/* 802A5F68 002A2EC8 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A5F6C 002A2ECC 28 00 00 01 */ cmplwi r0, 1 -/* 802A5F70 002A2ED0 40 82 00 0C */ bne lbl_802A5F7C -/* 802A5F74 002A2ED4 38 60 00 01 */ li r3, 1 -/* 802A5F78 002A2ED8 48 00 00 18 */ b lbl_802A5F90 -lbl_802A5F7C: -/* 802A5F7C 002A2EDC 3B DE 00 01 */ addi r30, r30, 1 -/* 802A5F80 002A2EE0 3B FF 00 02 */ addi r31, r31, 2 -/* 802A5F84 002A2EE4 2C 1E 00 08 */ cmpwi r30, 8 -/* 802A5F88 002A2EE8 41 80 FE AC */ blt lbl_802A5E34 -/* 802A5F8C 002A2EEC 38 60 00 00 */ li r3, 0 -lbl_802A5F90: -/* 802A5F90 002A2EF0 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 802A5F94 002A2EF4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802A5F98 002A2EF8 7C 08 03 A6 */ mtlr r0 -/* 802A5F9C 002A2EFC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802A5FA0 002A2F00 4E 80 00 20 */ blr - -.global SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -SphereCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: -/* 802A5FA4 002A2F04 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802A5FA8 002A2F08 7C 08 02 A6 */ mflr r0 -/* 802A5FAC 002A2F0C 90 01 00 54 */ stw r0, 0x54(r1) -/* 802A5FB0 002A2F10 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802A5FB4 002A2F14 7C 7F 1B 78 */ mr r31, r3 -/* 802A5FB8 002A2F18 90 81 00 08 */ stw r4, 8(r1) -/* 802A5FBC 002A2F1C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802A5FC0 002A2F20 90 E1 00 10 */ stw r7, 0x10(r1) -/* 802A5FC4 002A2F24 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802A5FC8 002A2F28 91 01 00 18 */ stw r8, 0x18(r1) -/* 802A5FCC 002A2F2C 48 00 10 75 */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A5FD0 002A2F30 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802A5FD4 002A2F34 38 61 00 1C */ addi r3, r1, 0x1c -/* 802A5FD8 002A2F38 80 BF 00 20 */ lwz r5, 0x20(r31) -/* 802A5FDC 002A2F3C 38 81 00 08 */ addi r4, r1, 8 -/* 802A5FE0 002A2F40 C0 BF 00 00 */ lfs f5, 0(r31) -/* 802A5FE4 002A2F44 C0 9F 00 04 */ lfs f4, 4(r31) -/* 802A5FE8 002A2F48 C0 7F 00 08 */ lfs f3, 8(r31) -/* 802A5FEC 002A2F4C C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 802A5FF0 002A2F50 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802A5FF4 002A2F54 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 802A5FF8 002A2F58 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 802A5FFC 002A2F5C D0 81 00 20 */ stfs f4, 0x20(r1) -/* 802A6000 002A2F60 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802A6004 002A2F64 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802A6008 002A2F68 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802A600C 002A2F6C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802A6010 002A2F70 90 A1 00 34 */ stw r5, 0x34(r1) -/* 802A6014 002A2F74 93 E1 00 38 */ stw r31, 0x38(r1) -/* 802A6018 002A2F78 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802A601C 002A2F7C 48 00 01 B1 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache -/* 802A6020 002A2F80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802A6024 002A2F84 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802A6028 002A2F88 7C 08 03 A6 */ mtlr r0 -/* 802A602C 002A2F8C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802A6030 002A2F90 4E 80 00 20 */ blr - -.global SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -SphereCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: -/* 802A6034 002A2F94 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 802A6038 002A2F98 7C 08 02 A6 */ mflr r0 -/* 802A603C 002A2F9C 90 01 01 04 */ stw r0, 0x104(r1) -/* 802A6040 002A2FA0 BE 21 00 C4 */ stmw r17, 0xc4(r1) -/* 802A6044 002A2FA4 7C 7A 1B 78 */ mr r26, r3 -/* 802A6048 002A2FA8 7C 9B 23 78 */ mr r27, r4 -/* 802A604C 002A2FAC 7C BC 2B 78 */ mr r28, r5 -/* 802A6050 002A2FB0 7C DD 33 78 */ mr r29, r6 -/* 802A6054 002A2FB4 7C FE 3B 78 */ mr r30, r7 -/* 802A6058 002A2FB8 7D 1F 43 78 */ mr r31, r8 -/* 802A605C 002A2FBC 48 00 0F E5 */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A6060 002A2FC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802A6064 002A2FC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 802A6068 002A2FC8 3A FA 00 08 */ addi r23, r26, 8 -/* 802A606C 002A2FCC 3A A0 00 00 */ li r21, 0 -/* 802A6070 002A2FD0 C0 23 00 04 */ lfs f1, 4(r3) -/* 802A6074 002A2FD4 3A 80 00 00 */ li r20, 0 -/* 802A6078 002A2FD8 C0 43 00 08 */ lfs f2, 8(r3) -/* 802A607C 002A2FDC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802A6080 002A2FE0 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802A6084 002A2FE4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802A6088 002A2FE8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802A608C 002A2FEC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802A6090 002A2FF0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802A6094 002A2FF4 48 00 01 14 */ b lbl_802A61A8 -lbl_802A6098: -/* 802A6098 002A2FF8 7F 63 DB 78 */ mr r3, r27 -/* 802A609C 002A2FFC 7E E4 BB 78 */ mr r4, r23 -/* 802A60A0 002A3000 48 09 1A E5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A60A4 002A3004 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A60A8 002A3008 41 82 00 F8 */ beq lbl_802A61A0 -/* 802A60AC 002A300C 7E E4 BB 78 */ mr r4, r23 -/* 802A60B0 002A3010 38 61 00 08 */ addi r3, r1, 8 -/* 802A60B4 002A3014 4B FF CC 89 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A60B8 002A3018 82 C1 00 08 */ lwz r22, 8(r1) -/* 802A60BC 002A301C 3C 60 80 59 */ lis r3, lbl_80597BAC@ha -/* 802A60C0 002A3020 83 17 00 1C */ lwz r24, 0x1c(r23) -/* 802A60C4 002A3024 3B 23 7B AC */ addi r25, r3, lbl_80597BAC@l -/* 802A60C8 002A3028 A2 76 00 18 */ lhz r19, 0x18(r22) -/* 802A60CC 002A302C 3A 40 00 00 */ li r18, 0 -/* 802A60D0 002A3030 48 00 00 C8 */ b lbl_802A6198 -lbl_802A60D4: -/* 802A60D4 002A3034 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) -/* 802A60D8 002A3038 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A60DC 002A303C 38 03 00 01 */ addi r0, r3, 1 -/* 802A60E0 002A3040 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A60E4 002A3044 A0 B6 00 1A */ lhz r5, 0x1a(r22) -/* 802A60E8 002A3048 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e -/* 802A60EC 002A304C 7C 19 1A 2E */ lhzx r0, r25, r3 -/* 802A60F0 002A3050 7C 04 00 40 */ cmplw r4, r0 -/* 802A60F4 002A3054 40 82 00 14 */ bne lbl_802A6108 -/* 802A60F8 002A3058 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) -/* 802A60FC 002A305C 38 03 00 01 */ addi r0, r3, 1 -/* 802A6100 002A3060 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) -/* 802A6104 002A3064 48 00 00 8C */ b lbl_802A6190 -lbl_802A6108: -/* 802A6108 002A3068 7C 99 1B 2E */ sthx r4, r25, r3 -/* 802A610C 002A306C 7F 04 C3 78 */ mr r4, r24 -/* 802A6110 002A3070 38 61 00 30 */ addi r3, r1, 0x30 -/* 802A6114 002A3074 4B FF C9 21 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A6118 002A3078 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 802A611C 002A307C 38 00 00 00 */ li r0, 0 -/* 802A6120 002A3080 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A6124 002A3084 7F C3 F3 78 */ mr r3, r30 -/* 802A6128 002A3088 3A 21 00 30 */ addi r17, r1, 0x30 -/* 802A612C 002A308C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A6130 002A3090 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A6134 002A3094 48 02 F2 19 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A6138 002A3098 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A613C 002A309C 41 82 00 54 */ beq lbl_802A6190 -/* 802A6140 002A30A0 7F 83 E3 78 */ mr r3, r28 -/* 802A6144 002A30A4 7E 24 8B 78 */ mr r4, r17 -/* 802A6148 002A30A8 38 B1 00 0C */ addi r5, r17, 0xc -/* 802A614C 002A30AC 38 D1 00 18 */ addi r6, r17, 0x18 -/* 802A6150 002A30B0 38 E1 00 24 */ addi r7, r1, 0x24 -/* 802A6154 002A30B4 39 01 00 18 */ addi r8, r1, 0x18 -/* 802A6158 002A30B8 48 02 A0 F9 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f -/* 802A615C 002A30BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6160 002A30C0 41 82 00 30 */ beq lbl_802A6190 -/* 802A6164 002A30C4 7F A5 EB 78 */ mr r5, r29 -/* 802A6168 002A30C8 38 61 00 58 */ addi r3, r1, 0x58 -/* 802A616C 002A30CC 38 81 00 24 */ addi r4, r1, 0x24 -/* 802A6170 002A30D0 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802A6174 002A30D4 38 E1 00 18 */ addi r7, r1, 0x18 -/* 802A6178 002A30D8 48 02 82 D1 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A617C 002A30DC 7C 64 1B 78 */ mr r4, r3 -/* 802A6180 002A30E0 7F E3 FB 78 */ mr r3, r31 -/* 802A6184 002A30E4 38 A0 00 00 */ li r5, 0 -/* 802A6188 002A30E8 4B ED F4 99 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802A618C 002A30EC 3A A0 00 01 */ li r21, 1 -lbl_802A6190: -/* 802A6190 002A30F0 3A D6 00 02 */ addi r22, r22, 2 -/* 802A6194 002A30F4 3A 52 00 01 */ addi r18, r18, 1 -lbl_802A6198: -/* 802A6198 002A30F8 7C 12 98 00 */ cmpw r18, r19 -/* 802A619C 002A30FC 41 80 FF 38 */ blt lbl_802A60D4 -lbl_802A61A0: -/* 802A61A0 002A3100 3A F7 00 24 */ addi r23, r23, 0x24 -/* 802A61A4 002A3104 3A 94 00 01 */ addi r20, r20, 1 -lbl_802A61A8: -/* 802A61A8 002A3108 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A61AC 002A310C 7C 14 00 00 */ cmpw r20, r0 -/* 802A61B0 002A3110 41 80 FE E8 */ blt lbl_802A6098 -/* 802A61B4 002A3114 7E A3 AB 78 */ mr r3, r21 -/* 802A61B8 002A3118 BA 21 00 C4 */ lmw r17, 0xc4(r1) -/* 802A61BC 002A311C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802A61C0 002A3120 7C 08 03 A6 */ mtlr r0 -/* 802A61C4 002A3124 38 21 01 00 */ addi r1, r1, 0x100 -/* 802A61C8 002A3128 4E 80 00 20 */ blr - -.global SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache -SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache: -/* 802A61CC 002A312C 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 802A61D0 002A3130 7C 08 02 A6 */ mflr r0 -/* 802A61D4 002A3134 3C A0 80 5A */ lis r5, skZero3f@ha -/* 802A61D8 002A3138 90 01 01 34 */ stw r0, 0x134(r1) -/* 802A61DC 002A313C BE A1 01 04 */ stmw r21, 0x104(r1) -/* 802A61E0 002A3140 7C 76 1B 78 */ mr r22, r3 -/* 802A61E4 002A3144 38 65 66 A0 */ addi r3, r5, skZero3f@l -/* 802A61E8 002A3148 7C 97 23 78 */ mr r23, r4 -/* 802A61EC 002A314C 3B 60 00 00 */ li r27, 0 -/* 802A61F0 002A3150 3B 40 00 00 */ li r26, 0 -/* 802A61F4 002A3154 3B A0 00 00 */ li r29, 0 -/* 802A61F8 002A3158 C0 03 00 00 */ lfs f0, 0(r3) -/* 802A61FC 002A315C C0 23 00 04 */ lfs f1, 4(r3) -/* 802A6200 002A3160 C0 43 00 08 */ lfs f2, 8(r3) -/* 802A6204 002A3164 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802A6208 002A3168 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802A620C 002A316C D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802A6210 002A3170 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802A6214 002A3174 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802A6218 002A3178 D0 41 00 20 */ stfs f2, 0x20(r1) -lbl_802A621C: -/* 802A621C 002A317C 80 76 00 18 */ lwz r3, 0x18(r22) -/* 802A6220 002A3180 A0 03 00 00 */ lhz r0, 0(r3) -/* 802A6224 002A3184 7C 00 EE 30 */ sraw r0, r0, r29 -/* 802A6228 002A3188 54 18 07 BF */ clrlwi. r24, r0, 0x1e -/* 802A622C 002A318C 41 82 01 8C */ beq lbl_802A63B8 -/* 802A6230 002A3190 7E C4 B3 78 */ mr r4, r22 -/* 802A6234 002A3194 7F 45 D3 78 */ mr r5, r26 -/* 802A6238 002A3198 38 61 00 58 */ addi r3, r1, 0x58 -/* 802A623C 002A319C 4B FF CB 25 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A6240 002A31A0 C0 A1 00 58 */ lfs f5, 0x58(r1) -/* 802A6244 002A31A4 38 81 00 7C */ addi r4, r1, 0x7c -/* 802A6248 002A31A8 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 802A624C 002A31AC C0 61 00 60 */ lfs f3, 0x60(r1) -/* 802A6250 002A31B0 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 802A6254 002A31B4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 802A6258 002A31B8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 802A625C 002A31BC 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 802A6260 002A31C0 80 61 00 74 */ lwz r3, 0x74(r1) -/* 802A6264 002A31C4 80 01 00 78 */ lwz r0, 0x78(r1) -/* 802A6268 002A31C8 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 802A626C 002A31CC D0 81 00 80 */ stfs f4, 0x80(r1) -/* 802A6270 002A31D0 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802A6274 002A31D4 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802A6278 002A31D8 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802A627C 002A31DC D0 01 00 90 */ stfs f0, 0x90(r1) -/* 802A6280 002A31E0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 802A6284 002A31E4 90 61 00 98 */ stw r3, 0x98(r1) -/* 802A6288 002A31E8 90 01 00 9C */ stw r0, 0x9c(r1) -/* 802A628C 002A31EC 80 77 00 00 */ lwz r3, 0(r23) -/* 802A6290 002A31F0 48 09 18 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A6294 002A31F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6298 002A31F8 41 82 01 20 */ beq lbl_802A63B8 -/* 802A629C 002A31FC 2C 18 00 02 */ cmpwi r24, 2 -/* 802A62A0 002A3200 40 82 00 FC */ bne lbl_802A639C -/* 802A62A4 002A3204 38 61 00 08 */ addi r3, r1, 8 -/* 802A62A8 002A3208 38 81 00 7C */ addi r4, r1, 0x7c -/* 802A62AC 002A320C 4B FF CA 91 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A62B0 002A3210 83 81 00 08 */ lwz r28, 8(r1) -/* 802A62B4 002A3214 3C 60 80 59 */ lis r3, lbl_80597BAC@ha -/* 802A62B8 002A3218 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 802A62BC 002A321C 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l -/* 802A62C0 002A3220 A3 3C 00 18 */ lhz r25, 0x18(r28) -/* 802A62C4 002A3224 3B 00 00 00 */ li r24, 0 -/* 802A62C8 002A3228 48 00 00 C8 */ b lbl_802A6390 -lbl_802A62CC: -/* 802A62CC 002A322C 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) -/* 802A62D0 002A3230 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A62D4 002A3234 38 03 00 01 */ addi r0, r3, 1 -/* 802A62D8 002A3238 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A62DC 002A323C A0 BC 00 1A */ lhz r5, 0x1a(r28) -/* 802A62E0 002A3240 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e -/* 802A62E4 002A3244 7C 1F 1A 2E */ lhzx r0, r31, r3 -/* 802A62E8 002A3248 7C 04 00 40 */ cmplw r4, r0 -/* 802A62EC 002A324C 40 82 00 14 */ bne lbl_802A6300 -/* 802A62F0 002A3250 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) -/* 802A62F4 002A3254 38 03 00 01 */ addi r0, r3, 1 -/* 802A62F8 002A3258 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) -/* 802A62FC 002A325C 48 00 00 8C */ b lbl_802A6388 -lbl_802A6300: -/* 802A6300 002A3260 7C 9F 1B 2E */ sthx r4, r31, r3 -/* 802A6304 002A3264 7F C4 F3 78 */ mr r4, r30 -/* 802A6308 002A3268 38 61 00 30 */ addi r3, r1, 0x30 -/* 802A630C 002A326C 4B FF C7 29 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A6310 002A3270 80 61 00 54 */ lwz r3, 0x54(r1) -/* 802A6314 002A3274 38 00 00 00 */ li r0, 0 -/* 802A6318 002A3278 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A631C 002A327C 3A A1 00 30 */ addi r21, r1, 0x30 -/* 802A6320 002A3280 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A6324 002A3284 90 61 00 14 */ stw r3, 0x14(r1) -/* 802A6328 002A3288 80 77 00 08 */ lwz r3, 8(r23) -/* 802A632C 002A328C 48 02 F0 21 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A6330 002A3290 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6334 002A3294 41 82 00 54 */ beq lbl_802A6388 -/* 802A6338 002A3298 80 77 00 04 */ lwz r3, 4(r23) -/* 802A633C 002A329C 7E A4 AB 78 */ mr r4, r21 -/* 802A6340 002A32A0 38 B5 00 0C */ addi r5, r21, 0xc -/* 802A6344 002A32A4 38 D5 00 18 */ addi r6, r21, 0x18 -/* 802A6348 002A32A8 38 E1 00 24 */ addi r7, r1, 0x24 -/* 802A634C 002A32AC 39 01 00 18 */ addi r8, r1, 0x18 -/* 802A6350 002A32B0 48 02 9F 01 */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f -/* 802A6354 002A32B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6358 002A32B8 41 82 00 30 */ beq lbl_802A6388 -/* 802A635C 002A32BC 80 B7 00 0C */ lwz r5, 0xc(r23) -/* 802A6360 002A32C0 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802A6364 002A32C4 38 81 00 24 */ addi r4, r1, 0x24 -/* 802A6368 002A32C8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802A636C 002A32CC 38 E1 00 18 */ addi r7, r1, 0x18 -/* 802A6370 002A32D0 48 02 80 D9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802A6374 002A32D4 7C 64 1B 78 */ mr r4, r3 -/* 802A6378 002A32D8 80 77 00 10 */ lwz r3, 0x10(r23) -/* 802A637C 002A32DC 38 A0 00 00 */ li r5, 0 -/* 802A6380 002A32E0 4B ED F2 A1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802A6384 002A32E4 3B 60 00 01 */ li r27, 1 -lbl_802A6388: -/* 802A6388 002A32E8 3B 9C 00 02 */ addi r28, r28, 2 -/* 802A638C 002A32EC 3B 18 00 01 */ addi r24, r24, 1 -lbl_802A6390: -/* 802A6390 002A32F0 7C 18 C8 00 */ cmpw r24, r25 -/* 802A6394 002A32F4 41 80 FF 38 */ blt lbl_802A62CC -/* 802A6398 002A32F8 48 00 00 20 */ b lbl_802A63B8 -lbl_802A639C: -/* 802A639C 002A32FC 7E E4 BB 78 */ mr r4, r23 -/* 802A63A0 002A3300 38 61 00 7C */ addi r3, r1, 0x7c -/* 802A63A4 002A3304 4B FF FE 29 */ bl SphereCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR16CSphereAreaCache -/* 802A63A8 002A3308 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A63AC 002A330C 28 00 00 01 */ cmplwi r0, 1 -/* 802A63B0 002A3310 40 82 00 08 */ bne lbl_802A63B8 -/* 802A63B4 002A3314 3B 60 00 01 */ li r27, 1 -lbl_802A63B8: -/* 802A63B8 002A3318 3B 5A 00 01 */ addi r26, r26, 1 -/* 802A63BC 002A331C 3B BD 00 02 */ addi r29, r29, 2 -/* 802A63C0 002A3320 2C 1A 00 08 */ cmpwi r26, 8 -/* 802A63C4 002A3324 41 80 FE 58 */ blt lbl_802A621C -/* 802A63C8 002A3328 7F 63 DB 78 */ mr r3, r27 -/* 802A63CC 002A332C BA A1 01 04 */ lmw r21, 0x104(r1) -/* 802A63D0 002A3330 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802A63D4 002A3334 7C 08 03 A6 */ mtlr r0 -/* 802A63D8 002A3338 38 21 01 30 */ addi r1, r1, 0x130 -/* 802A63DC 002A333C 4E 80 00 20 */ blr - -.global AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter -AABoxCollisionCheckBoolean__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilter: -/* 802A63E0 002A3340 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802A63E4 002A3344 7C 08 02 A6 */ mflr r0 -/* 802A63E8 002A3348 90 01 00 64 */ stw r0, 0x64(r1) -/* 802A63EC 002A334C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802A63F0 002A3350 7C 7F 1B 78 */ mr r31, r3 -/* 802A63F4 002A3354 38 61 00 08 */ addi r3, r1, 8 -/* 802A63F8 002A3358 48 00 00 69 */ bl __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter -/* 802A63FC 002A335C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802A6400 002A3360 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A6404 002A3364 80 BF 00 20 */ lwz r5, 0x20(r31) -/* 802A6408 002A3368 38 81 00 08 */ addi r4, r1, 8 -/* 802A640C 002A336C C0 BF 00 00 */ lfs f5, 0(r31) -/* 802A6410 002A3370 C0 9F 00 04 */ lfs f4, 4(r31) -/* 802A6414 002A3374 C0 7F 00 08 */ lfs f3, 8(r31) -/* 802A6418 002A3378 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 802A641C 002A337C C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802A6420 002A3380 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 802A6424 002A3384 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 802A6428 002A3388 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 802A642C 002A338C D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802A6430 002A3390 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 802A6434 002A3394 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802A6438 002A3398 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802A643C 002A339C 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802A6440 002A33A0 93 E1 00 44 */ stw r31, 0x44(r1) -/* 802A6444 002A33A4 90 01 00 48 */ stw r0, 0x48(r1) -/* 802A6448 002A33A8 48 00 02 21 */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache -/* 802A644C 002A33AC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802A6450 002A33B0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802A6454 002A33B4 7C 08 03 A6 */ mtlr r0 -/* 802A6458 002A33B8 38 21 00 60 */ addi r1, r1, 0x60 -/* 802A645C 002A33BC 4E 80 00 20 */ blr - -.global __ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter -__ct__22CBooleanAABoxAreaCacheFRC6CAABoxRC15CMaterialFilter: -/* 802A6460 002A33C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A6464 002A33C4 7C 08 02 A6 */ mflr r0 -/* 802A6468 002A33C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A646C 002A33CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A6470 002A33D0 7C 9F 23 78 */ mr r31, r4 -/* 802A6474 002A33D4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A6478 002A33D8 7C 7E 1B 78 */ mr r30, r3 -/* 802A647C 002A33DC 93 E3 00 00 */ stw r31, 0(r3) -/* 802A6480 002A33E0 38 61 00 08 */ addi r3, r1, 8 -/* 802A6484 002A33E4 90 BE 00 04 */ stw r5, 4(r30) -/* 802A6488 002A33E8 48 09 11 85 */ bl GetCenterPoint__6CAABoxCFv -/* 802A648C 002A33EC C0 01 00 08 */ lfs f0, 8(r1) -/* 802A6490 002A33F0 7F C3 F3 78 */ mr r3, r30 -/* 802A6494 002A33F4 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A6498 002A33F8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802A649C 002A33FC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A64A0 002A3400 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802A64A4 002A3404 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A64A8 002A3408 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 802A64AC 002A340C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 802A64B0 002A3410 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802A64B4 002A3414 C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 802A64B8 002A3418 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A64BC 002A341C C0 3F 00 04 */ lfs f1, 4(r31) -/* 802A64C0 002A3420 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 802A64C4 002A3424 EC 63 08 28 */ fsubs f3, f3, f1 -/* 802A64C8 002A3428 C0 3F 00 08 */ lfs f1, 8(r31) -/* 802A64CC 002A342C EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A64D0 002A3430 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802A64D4 002A3434 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 802A64D8 002A3438 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 802A64DC 002A343C EC 04 00 72 */ fmuls f0, f4, f1 -/* 802A64E0 002A3440 D0 5E 00 18 */ stfs f2, 0x18(r30) -/* 802A64E4 002A3444 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802A64E8 002A3448 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A64EC 002A344C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A64F0 002A3450 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A64F4 002A3454 7C 08 03 A6 */ mtlr r0 -/* 802A64F8 002A3458 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A64FC 002A345C 4E 80 00 20 */ blr - -.global AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter -AABoxCollisionCheckBoolean_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilter: -/* 802A6500 002A3460 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802A6504 002A3464 7C 08 02 A6 */ mflr r0 -/* 802A6508 002A3468 90 01 00 94 */ stw r0, 0x94(r1) -/* 802A650C 002A346C BE C1 00 68 */ stmw r22, 0x68(r1) -/* 802A6510 002A3470 7C 7D 1B 78 */ mr r29, r3 -/* 802A6514 002A3474 7C 9E 23 78 */ mr r30, r4 -/* 802A6518 002A3478 7C BF 2B 78 */ mr r31, r5 -/* 802A651C 002A347C 38 61 00 18 */ addi r3, r1, 0x18 -/* 802A6520 002A3480 48 09 10 ED */ bl GetCenterPoint__6CAABoxCFv -/* 802A6524 002A3484 C0 7E 00 10 */ lfs f3, 0x10(r30) -/* 802A6528 002A3488 3B 7D 00 08 */ addi r27, r29, 8 -/* 802A652C 002A348C C0 5E 00 04 */ lfs f2, 4(r30) -/* 802A6530 002A3490 3B 20 00 00 */ li r25, 0 -/* 802A6534 002A3494 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 802A6538 002A3498 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802A653C 002A349C EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A6540 002A34A0 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A6544 002A34A4 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A6548 002A34A8 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 802A654C 002A34AC C0 1E 00 00 */ lfs f0, 0(r30) -/* 802A6550 002A34B0 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A6554 002A34B4 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802A6558 002A34B8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A655C 002A34BC EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A6560 002A34C0 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802A6564 002A34C4 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802A6568 002A34C8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A656C 002A34CC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802A6570 002A34D0 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 802A6574 002A34D4 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802A6578 002A34D8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802A657C 002A34DC D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 802A6580 002A34E0 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 802A6584 002A34E4 48 00 00 C0 */ b lbl_802A6644 -lbl_802A6588: -/* 802A6588 002A34E8 7F C3 F3 78 */ mr r3, r30 -/* 802A658C 002A34EC 7F 64 DB 78 */ mr r4, r27 -/* 802A6590 002A34F0 48 09 15 F5 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A6594 002A34F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6598 002A34F8 41 82 00 A4 */ beq lbl_802A663C -/* 802A659C 002A34FC 7F 64 DB 78 */ mr r4, r27 -/* 802A65A0 002A3500 38 61 00 08 */ addi r3, r1, 8 -/* 802A65A4 002A3504 4B FF C7 99 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A65A8 002A3508 83 41 00 08 */ lwz r26, 8(r1) -/* 802A65AC 002A350C 3A C1 00 3C */ addi r22, r1, 0x3c -/* 802A65B0 002A3510 83 9B 00 1C */ lwz r28, 0x1c(r27) -/* 802A65B4 002A3514 3A E0 00 00 */ li r23, 0 -/* 802A65B8 002A3518 A3 1A 00 18 */ lhz r24, 0x18(r26) -/* 802A65BC 002A351C 48 00 00 78 */ b lbl_802A6634 -lbl_802A65C0: -/* 802A65C0 002A3520 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) -/* 802A65C4 002A3524 7F 84 E3 78 */ mr r4, r28 -/* 802A65C8 002A3528 38 61 00 3C */ addi r3, r1, 0x3c -/* 802A65CC 002A352C 38 05 00 01 */ addi r0, r5, 1 -/* 802A65D0 002A3530 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A65D4 002A3534 A0 BA 00 1A */ lhz r5, 0x1a(r26) -/* 802A65D8 002A3538 4B FF C4 5D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A65DC 002A353C 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 802A65E0 002A3540 38 00 00 00 */ li r0, 0 -/* 802A65E4 002A3544 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A65E8 002A3548 7F E3 FB 78 */ mr r3, r31 -/* 802A65EC 002A354C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A65F0 002A3550 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A65F4 002A3554 48 02 ED 59 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A65F8 002A3558 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A65FC 002A355C 41 82 00 30 */ beq lbl_802A662C -/* 802A6600 002A3560 7E C5 B3 78 */ mr r5, r22 -/* 802A6604 002A3564 38 61 00 30 */ addi r3, r1, 0x30 -/* 802A6608 002A3568 38 81 00 24 */ addi r4, r1, 0x24 -/* 802A660C 002A356C 38 D6 00 0C */ addi r6, r22, 0xc -/* 802A6610 002A3570 38 F6 00 18 */ addi r7, r22, 0x18 -/* 802A6614 002A3574 48 02 AE CD */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A6618 002A3578 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A661C 002A357C 28 00 00 01 */ cmplwi r0, 1 -/* 802A6620 002A3580 40 82 00 0C */ bne lbl_802A662C -/* 802A6624 002A3584 38 60 00 01 */ li r3, 1 -/* 802A6628 002A3588 48 00 00 2C */ b lbl_802A6654 -lbl_802A662C: -/* 802A662C 002A358C 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A6630 002A3590 3A F7 00 01 */ addi r23, r23, 1 -lbl_802A6634: -/* 802A6634 002A3594 7C 17 C0 00 */ cmpw r23, r24 -/* 802A6638 002A3598 41 80 FF 88 */ blt lbl_802A65C0 -lbl_802A663C: -/* 802A663C 002A359C 3B 7B 00 24 */ addi r27, r27, 0x24 -/* 802A6640 002A35A0 3B 39 00 01 */ addi r25, r25, 1 -lbl_802A6644: -/* 802A6644 002A35A4 80 1D 00 04 */ lwz r0, 4(r29) -/* 802A6648 002A35A8 7C 19 00 00 */ cmpw r25, r0 -/* 802A664C 002A35AC 41 80 FF 3C */ blt lbl_802A6588 -/* 802A6650 002A35B0 38 60 00 00 */ li r3, 0 -lbl_802A6654: -/* 802A6654 002A35B4 BA C1 00 68 */ lmw r22, 0x68(r1) -/* 802A6658 002A35B8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802A665C 002A35BC 7C 08 03 A6 */ mtlr r0 -/* 802A6660 002A35C0 38 21 00 90 */ addi r1, r1, 0x90 -/* 802A6664 002A35C4 4E 80 00 20 */ blr - -.global AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache -AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache: -/* 802A6668 002A35C8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802A666C 002A35CC 7C 08 02 A6 */ mflr r0 -/* 802A6670 002A35D0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802A6674 002A35D4 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 802A6678 002A35D8 7C 7C 1B 78 */ mr r28, r3 -/* 802A667C 002A35DC 7C 9D 23 78 */ mr r29, r4 -/* 802A6680 002A35E0 3B C0 00 00 */ li r30, 0 -/* 802A6684 002A35E4 3B E0 00 00 */ li r31, 0 -lbl_802A6688: -/* 802A6688 002A35E8 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802A668C 002A35EC A0 03 00 00 */ lhz r0, 0(r3) -/* 802A6690 002A35F0 7C 00 FE 30 */ sraw r0, r0, r31 -/* 802A6694 002A35F4 54 1A 07 BF */ clrlwi. r26, r0, 0x1e -/* 802A6698 002A35F8 41 82 01 3C */ beq lbl_802A67D4 -/* 802A669C 002A35FC 7F 84 E3 78 */ mr r4, r28 -/* 802A66A0 002A3600 7F C5 F3 78 */ mr r5, r30 -/* 802A66A4 002A3604 38 61 00 40 */ addi r3, r1, 0x40 -/* 802A66A8 002A3608 4B FF C6 B9 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A66AC 002A360C C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 802A66B0 002A3610 38 81 00 64 */ addi r4, r1, 0x64 -/* 802A66B4 002A3614 C0 81 00 44 */ lfs f4, 0x44(r1) -/* 802A66B8 002A3618 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 802A66BC 002A361C C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 802A66C0 002A3620 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802A66C4 002A3624 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802A66C8 002A3628 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 802A66CC 002A362C 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 802A66D0 002A3630 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802A66D4 002A3634 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 802A66D8 002A3638 80 7D 00 00 */ lwz r3, 0(r29) -/* 802A66DC 002A363C D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802A66E0 002A3640 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 802A66E4 002A3644 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802A66E8 002A3648 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 802A66EC 002A364C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802A66F0 002A3650 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 802A66F4 002A3654 90 A1 00 80 */ stw r5, 0x80(r1) -/* 802A66F8 002A3658 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A66FC 002A365C 48 09 14 89 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A6700 002A3660 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6704 002A3664 41 82 00 D0 */ beq lbl_802A67D4 -/* 802A6708 002A3668 2C 1A 00 02 */ cmpwi r26, 2 -/* 802A670C 002A366C 40 82 00 A8 */ bne lbl_802A67B4 -/* 802A6710 002A3670 38 61 00 08 */ addi r3, r1, 8 -/* 802A6714 002A3674 38 81 00 64 */ addi r4, r1, 0x64 -/* 802A6718 002A3678 4B FF C6 25 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A671C 002A367C 83 41 00 08 */ lwz r26, 8(r1) -/* 802A6720 002A3680 3A E1 00 18 */ addi r23, r1, 0x18 -/* 802A6724 002A3684 83 61 00 80 */ lwz r27, 0x80(r1) -/* 802A6728 002A3688 3B 00 00 00 */ li r24, 0 -/* 802A672C 002A368C A3 3A 00 18 */ lhz r25, 0x18(r26) -/* 802A6730 002A3690 48 00 00 78 */ b lbl_802A67A8 -lbl_802A6734: -/* 802A6734 002A3694 80 AD A5 C8 */ lwz r5, lbl_805A9188@sda21(r13) -/* 802A6738 002A3698 7F 64 DB 78 */ mr r4, r27 -/* 802A673C 002A369C 38 61 00 18 */ addi r3, r1, 0x18 -/* 802A6740 002A36A0 38 05 00 01 */ addi r0, r5, 1 -/* 802A6744 002A36A4 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A6748 002A36A8 A0 BA 00 1A */ lhz r5, 0x1a(r26) -/* 802A674C 002A36AC 4B FF C2 E9 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A6750 002A36B0 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802A6754 002A36B4 38 00 00 00 */ li r0, 0 -/* 802A6758 002A36B8 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A675C 002A36BC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A6760 002A36C0 80 7D 00 04 */ lwz r3, 4(r29) -/* 802A6764 002A36C4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A6768 002A36C8 48 02 EB E5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A676C 002A36CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6770 002A36D0 41 82 00 30 */ beq lbl_802A67A0 -/* 802A6774 002A36D4 7E E5 BB 78 */ mr r5, r23 -/* 802A6778 002A36D8 38 7D 00 08 */ addi r3, r29, 8 -/* 802A677C 002A36DC 38 9D 00 14 */ addi r4, r29, 0x14 -/* 802A6780 002A36E0 38 D7 00 0C */ addi r6, r23, 0xc -/* 802A6784 002A36E4 38 F7 00 18 */ addi r7, r23, 0x18 -/* 802A6788 002A36E8 48 02 AD 59 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A678C 002A36EC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A6790 002A36F0 28 00 00 01 */ cmplwi r0, 1 -/* 802A6794 002A36F4 40 82 00 0C */ bne lbl_802A67A0 -/* 802A6798 002A36F8 38 60 00 01 */ li r3, 1 -/* 802A679C 002A36FC 48 00 00 4C */ b lbl_802A67E8 -lbl_802A67A0: -/* 802A67A0 002A3700 3B 5A 00 02 */ addi r26, r26, 2 -/* 802A67A4 002A3704 3B 18 00 01 */ addi r24, r24, 1 -lbl_802A67A8: -/* 802A67A8 002A3708 7C 18 C8 00 */ cmpw r24, r25 -/* 802A67AC 002A370C 41 80 FF 88 */ blt lbl_802A6734 -/* 802A67B0 002A3710 48 00 00 24 */ b lbl_802A67D4 -lbl_802A67B4: -/* 802A67B4 002A3714 7F A4 EB 78 */ mr r4, r29 -/* 802A67B8 002A3718 38 61 00 64 */ addi r3, r1, 0x64 -/* 802A67BC 002A371C 4B FF FE AD */ bl AABoxCollisionCheckBoolean_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeRC22CBooleanAABoxAreaCache -/* 802A67C0 002A3720 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A67C4 002A3724 28 00 00 01 */ cmplwi r0, 1 -/* 802A67C8 002A3728 40 82 00 0C */ bne lbl_802A67D4 -/* 802A67CC 002A372C 38 60 00 01 */ li r3, 1 -/* 802A67D0 002A3730 48 00 00 18 */ b lbl_802A67E8 -lbl_802A67D4: -/* 802A67D4 002A3734 3B DE 00 01 */ addi r30, r30, 1 -/* 802A67D8 002A3738 3B FF 00 02 */ addi r31, r31, 2 -/* 802A67DC 002A373C 2C 1E 00 08 */ cmpwi r30, 8 -/* 802A67E0 002A3740 41 80 FE A8 */ blt lbl_802A6688 -/* 802A67E4 002A3744 38 60 00 00 */ li r3, 0 -lbl_802A67E8: -/* 802A67E8 002A3748 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 802A67EC 002A374C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802A67F0 002A3750 7C 08 03 A6 */ mtlr r0 -/* 802A67F4 002A3754 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802A67F8 002A3758 4E 80 00 20 */ blr - -.global AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList -AABoxCollisionCheck__20CMetroidAreaColliderFRC12CAreaOctTreeRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: -/* 802A67FC 002A375C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802A6800 002A3760 7C 08 02 A6 */ mflr r0 -/* 802A6804 002A3764 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802A6808 002A3768 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 802A680C 002A376C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 802A6810 002A3770 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 802A6814 002A3774 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 802A6818 002A3778 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 802A681C 002A377C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 802A6820 002A3780 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 802A6824 002A3784 C1 02 C1 4C */ lfs f8, lbl_805ADE6C@sda21(r2) -/* 802A6828 002A3788 7C C0 33 78 */ mr r0, r6 -/* 802A682C 002A378C C0 E2 C1 64 */ lfs f7, lbl_805ADE84@sda21(r2) -/* 802A6830 002A3790 7C E8 3B 78 */ mr r8, r7 -/* 802A6834 002A3794 FD 80 40 50 */ fneg f12, f8 -/* 802A6838 002A3798 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A683C 002A379C FF E0 38 50 */ fneg f31, f7 -/* 802A6840 002A37A0 C0 24 00 00 */ lfs f1, 0(r4) -/* 802A6844 002A37A4 C0 44 00 04 */ lfs f2, 4(r4) -/* 802A6848 002A37A8 7C 7F 1B 78 */ mr r31, r3 -/* 802A684C 002A37AC EF A1 02 32 */ fmuls f29, f1, f8 -/* 802A6850 002A37B0 C1 24 00 08 */ lfs f9, 8(r4) -/* 802A6854 002A37B4 EC A0 03 32 */ fmuls f5, f0, f12 -/* 802A6858 002A37B8 C1 44 00 0C */ lfs f10, 0xc(r4) -/* 802A685C 002A37BC EF C2 02 32 */ fmuls f30, f2, f8 -/* 802A6860 002A37C0 7C A6 2B 78 */ mr r6, r5 -/* 802A6864 002A37C4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 802A6868 002A37C8 C1 64 00 14 */ lfs f11, 0x14(r4) -/* 802A686C 002A37CC EC C1 F1 FA */ fmadds f6, f1, f7, f30 -/* 802A6870 002A37D0 D0 E1 00 58 */ stfs f7, 0x58(r1) -/* 802A6874 002A37D4 EC 8A 2F FA */ fmadds f4, f10, f31, f5 -/* 802A6878 002A37D8 7C 07 03 78 */ mr r7, r0 -/* 802A687C 002A37DC EC 62 E9 FA */ fmadds f3, f2, f7, f29 -/* 802A6880 002A37E0 D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 802A6884 002A37E4 EC 4A 03 3A */ fmadds f2, f10, f12, f0 -/* 802A6888 002A37E8 38 61 00 2C */ addi r3, r1, 0x2c -/* 802A688C 002A37EC ED A9 02 32 */ fmuls f13, f9, f8 -/* 802A6890 002A37F0 D1 01 00 60 */ stfs f8, 0x60(r1) -/* 802A6894 002A37F4 EC 0A 2B 3A */ fmadds f0, f10, f12, f5 -/* 802A6898 002A37F8 D3 E1 00 68 */ stfs f31, 0x68(r1) -/* 802A689C 002A37FC EC 3D F0 2A */ fadds f1, f29, f30 -/* 802A68A0 002A3800 38 A1 00 58 */ addi r5, r1, 0x58 -/* 802A68A4 002A3804 EC AD 30 2A */ fadds f5, f13, f6 -/* 802A68A8 002A3808 D1 81 00 6C */ stfs f12, 0x6c(r1) -/* 802A68AC 002A380C EC 8B 23 3A */ fmadds f4, f11, f12, f4 -/* 802A68B0 002A3810 D1 81 00 70 */ stfs f12, 0x70(r1) -/* 802A68B4 002A3814 EC 6D 18 2A */ fadds f3, f13, f3 -/* 802A68B8 002A3818 EC 4B 13 3A */ fmadds f2, f11, f12, f2 -/* 802A68BC 002A381C D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 802A68C0 002A3820 EC 29 09 FA */ fmadds f1, f9, f7, f1 -/* 802A68C4 002A3824 EC 0B 07 FA */ fmadds f0, f11, f31, f0 -/* 802A68C8 002A3828 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802A68CC 002A382C D1 01 00 78 */ stfs f8, 0x78(r1) -/* 802A68D0 002A3830 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 802A68D4 002A3834 D1 01 00 80 */ stfs f8, 0x80(r1) -/* 802A68D8 002A3838 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802A68DC 002A383C D1 81 00 88 */ stfs f12, 0x88(r1) -/* 802A68E0 002A3840 D3 E1 00 8C */ stfs f31, 0x8c(r1) -/* 802A68E4 002A3844 D1 81 00 90 */ stfs f12, 0x90(r1) -/* 802A68E8 002A3848 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 802A68EC 002A384C D1 01 00 98 */ stfs f8, 0x98(r1) -/* 802A68F0 002A3850 D1 01 00 9C */ stfs f8, 0x9c(r1) -/* 802A68F4 002A3854 D0 E1 00 A0 */ stfs f7, 0xa0(r1) -/* 802A68F8 002A3858 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 802A68FC 002A385C D1 81 00 A8 */ stfs f12, 0xa8(r1) -/* 802A6900 002A3860 D1 81 00 AC */ stfs f12, 0xac(r1) -/* 802A6904 002A3864 D3 E1 00 B0 */ stfs f31, 0xb0(r1) -/* 802A6908 002A3868 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 802A690C 002A386C 48 00 00 85 */ bl __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList -/* 802A6910 002A3870 48 00 07 31 */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A6914 002A3874 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802A6918 002A3878 38 61 00 08 */ addi r3, r1, 8 -/* 802A691C 002A387C 80 BF 00 20 */ lwz r5, 0x20(r31) -/* 802A6920 002A3880 38 81 00 2C */ addi r4, r1, 0x2c -/* 802A6924 002A3884 C0 BF 00 00 */ lfs f5, 0(r31) -/* 802A6928 002A3888 C0 9F 00 04 */ lfs f4, 4(r31) -/* 802A692C 002A388C C0 7F 00 08 */ lfs f3, 8(r31) -/* 802A6930 002A3890 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 802A6934 002A3894 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802A6938 002A3898 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 802A693C 002A389C D0 A1 00 08 */ stfs f5, 8(r1) -/* 802A6940 002A38A0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802A6944 002A38A4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 802A6948 002A38A8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802A694C 002A38AC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802A6950 002A38B0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802A6954 002A38B4 90 A1 00 20 */ stw r5, 0x20(r1) -/* 802A6958 002A38B8 93 E1 00 24 */ stw r31, 0x24(r1) -/* 802A695C 002A38BC 90 01 00 28 */ stw r0, 0x28(r1) -/* 802A6960 002A38C0 48 00 04 35 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache -/* 802A6964 002A38C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802A6968 002A38C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802A696C 002A38CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 802A6970 002A38D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 802A6974 002A38D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 802A6978 002A38D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 802A697C 002A38DC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802A6980 002A38E0 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 802A6984 002A38E4 7C 08 03 A6 */ mtlr r0 -/* 802A6988 002A38E8 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 802A698C 002A38EC 4E 80 00 20 */ blr - -.global __ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList -__ct__15CAABoxAreaCacheFRC6CAABoxPC6CPlaneRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: -/* 802A6990 002A38F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A6994 002A38F4 7C 08 02 A6 */ mflr r0 -/* 802A6998 002A38F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A699C 002A38FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A69A0 002A3900 7C 9F 23 78 */ mr r31, r4 -/* 802A69A4 002A3904 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A69A8 002A3908 7C 7E 1B 78 */ mr r30, r3 -/* 802A69AC 002A390C 93 E3 00 00 */ stw r31, 0(r3) -/* 802A69B0 002A3910 38 61 00 08 */ addi r3, r1, 8 -/* 802A69B4 002A3914 90 BE 00 04 */ stw r5, 4(r30) -/* 802A69B8 002A3918 90 DE 00 08 */ stw r6, 8(r30) -/* 802A69BC 002A391C 90 FE 00 0C */ stw r7, 0xc(r30) -/* 802A69C0 002A3920 91 1E 00 10 */ stw r8, 0x10(r30) -/* 802A69C4 002A3924 48 09 0C 49 */ bl GetCenterPoint__6CAABoxCFv -/* 802A69C8 002A3928 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A69CC 002A392C 7F C3 F3 78 */ mr r3, r30 -/* 802A69D0 002A3930 C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A69D4 002A3934 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 802A69D8 002A3938 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A69DC 002A393C D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 802A69E0 002A3940 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A69E4 002A3944 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802A69E8 002A3948 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 802A69EC 002A394C C0 1F 00 00 */ lfs f0, 0(r31) -/* 802A69F0 002A3950 C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 802A69F4 002A3954 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A69F8 002A3958 C0 3F 00 04 */ lfs f1, 4(r31) -/* 802A69FC 002A395C C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 802A6A00 002A3960 EC 63 08 28 */ fsubs f3, f3, f1 -/* 802A6A04 002A3964 C0 3F 00 08 */ lfs f1, 8(r31) -/* 802A6A08 002A3968 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A6A0C 002A396C EC 22 08 28 */ fsubs f1, f2, f1 -/* 802A6A10 002A3970 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 802A6A14 002A3974 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 802A6A18 002A3978 EC 04 00 72 */ fmuls f0, f4, f1 -/* 802A6A1C 002A397C D0 5E 00 24 */ stfs f2, 0x24(r30) -/* 802A6A20 002A3980 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 802A6A24 002A3984 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A6A28 002A3988 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A6A2C 002A398C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A6A30 002A3990 7C 08 03 A6 */ mtlr r0 -/* 802A6A34 002A3994 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A6A38 002A3998 4E 80 00 20 */ blr - -.global AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList -AABoxCollisionCheck_Cached__20CMetroidAreaColliderFRCQ220CMetroidAreaCollider16COctreeLeafCacheRC6CAABoxRC15CMaterialFilterRC13CMaterialListR18CCollisionInfoList: -/* 802A6A3C 002A399C 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 802A6A40 002A39A0 7C 08 02 A6 */ mflr r0 -/* 802A6A44 002A39A4 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 802A6A48 002A39A8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 802A6A4C 002A39AC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 802A6A50 002A39B0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 802A6A54 002A39B4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 802A6A58 002A39B8 BE 21 01 74 */ stmw r17, 0x174(r1) -/* 802A6A5C 002A39BC C0 C2 C1 4C */ lfs f6, lbl_805ADE6C@sda21(r2) -/* 802A6A60 002A39C0 7C 9C 23 78 */ mr r28, r4 -/* 802A6A64 002A39C4 C0 A2 C1 64 */ lfs f5, lbl_805ADE84@sda21(r2) -/* 802A6A68 002A39C8 7C 7B 1B 78 */ mr r27, r3 -/* 802A6A6C 002A39CC FD 80 30 50 */ fneg f12, f6 -/* 802A6A70 002A39D0 C0 E4 00 00 */ lfs f7, 0(r4) -/* 802A6A74 002A39D4 FD A0 28 50 */ fneg f13, f5 -/* 802A6A78 002A39D8 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802A6A7C 002A39DC C1 04 00 04 */ lfs f8, 4(r4) -/* 802A6A80 002A39E0 EF C7 01 B2 */ fmuls f30, f7, f6 -/* 802A6A84 002A39E4 EF E8 01 B2 */ fmuls f31, f8, f6 -/* 802A6A88 002A39E8 C1 24 00 08 */ lfs f9, 8(r4) -/* 802A6A8C 002A39EC EC 80 03 32 */ fmuls f4, f0, f12 -/* 802A6A90 002A39F0 C1 44 00 0C */ lfs f10, 0xc(r4) -/* 802A6A94 002A39F4 EC 00 03 72 */ fmuls f0, f0, f13 -/* 802A6A98 002A39F8 C1 64 00 14 */ lfs f11, 0x14(r4) -/* 802A6A9C 002A39FC EC 6A 23 7A */ fmadds f3, f10, f13, f4 -/* 802A6AA0 002A3A00 D0 A1 01 08 */ stfs f5, 0x108(r1) -/* 802A6AA4 002A3A04 EC 4A 03 3A */ fmadds f2, f10, f12, f0 -/* 802A6AA8 002A3A08 7C BD 2B 78 */ mr r29, r5 -/* 802A6AAC 002A3A0C EC 3E F8 2A */ fadds f1, f30, f31 -/* 802A6AB0 002A3A10 D0 C1 01 0C */ stfs f6, 0x10c(r1) -/* 802A6AB4 002A3A14 EC 0A 23 3A */ fmadds f0, f10, f12, f4 -/* 802A6AB8 002A3A18 D0 C1 01 10 */ stfs f6, 0x110(r1) -/* 802A6ABC 002A3A1C EC 6B 1B 3A */ fmadds f3, f11, f12, f3 -/* 802A6AC0 002A3A20 7C DE 33 78 */ mr r30, r6 -/* 802A6AC4 002A3A24 EC 4B 13 3A */ fmadds f2, f11, f12, f2 -/* 802A6AC8 002A3A28 D1 A1 01 18 */ stfs f13, 0x118(r1) -/* 802A6ACC 002A3A2C EC 29 09 7A */ fmadds f1, f9, f5, f1 -/* 802A6AD0 002A3A30 D1 81 01 1C */ stfs f12, 0x11c(r1) -/* 802A6AD4 002A3A34 EC 0B 03 7A */ fmadds f0, f11, f13, f0 -/* 802A6AD8 002A3A38 7C FF 3B 78 */ mr r31, r7 -/* 802A6ADC 002A3A3C ED 29 01 B2 */ fmuls f9, f9, f6 -/* 802A6AE0 002A3A40 D1 81 01 20 */ stfs f12, 0x120(r1) -/* 802A6AE4 002A3A44 EC 87 F9 7A */ fmadds f4, f7, f5, f31 -/* 802A6AE8 002A3A48 D0 61 01 24 */ stfs f3, 0x124(r1) -/* 802A6AEC 002A3A4C EC 68 F1 7A */ fmadds f3, f8, f5, f30 -/* 802A6AF0 002A3A50 D0 C1 01 28 */ stfs f6, 0x128(r1) -/* 802A6AF4 002A3A54 EC 89 20 2A */ fadds f4, f9, f4 -/* 802A6AF8 002A3A58 EC 69 18 2A */ fadds f3, f9, f3 -/* 802A6AFC 002A3A5C D0 A1 01 2C */ stfs f5, 0x12c(r1) -/* 802A6B00 002A3A60 D0 81 01 14 */ stfs f4, 0x114(r1) -/* 802A6B04 002A3A64 D0 C1 01 30 */ stfs f6, 0x130(r1) -/* 802A6B08 002A3A68 D0 61 01 34 */ stfs f3, 0x134(r1) -/* 802A6B0C 002A3A6C D1 81 01 38 */ stfs f12, 0x138(r1) -/* 802A6B10 002A3A70 D1 A1 01 3C */ stfs f13, 0x13c(r1) -/* 802A6B14 002A3A74 D1 81 01 40 */ stfs f12, 0x140(r1) -/* 802A6B18 002A3A78 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 802A6B1C 002A3A7C D0 C1 01 48 */ stfs f6, 0x148(r1) -/* 802A6B20 002A3A80 D0 C1 01 4C */ stfs f6, 0x14c(r1) -/* 802A6B24 002A3A84 D0 A1 01 50 */ stfs f5, 0x150(r1) -/* 802A6B28 002A3A88 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 802A6B2C 002A3A8C D1 81 01 58 */ stfs f12, 0x158(r1) -/* 802A6B30 002A3A90 D1 81 01 5C */ stfs f12, 0x15c(r1) -/* 802A6B34 002A3A94 D1 A1 01 60 */ stfs f13, 0x160(r1) -/* 802A6B38 002A3A98 D0 01 01 64 */ stfs f0, 0x164(r1) -/* 802A6B3C 002A3A9C 48 00 05 05 */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802A6B40 002A3AA0 7F 84 E3 78 */ mr r4, r28 -/* 802A6B44 002A3AA4 38 61 00 34 */ addi r3, r1, 0x34 -/* 802A6B48 002A3AA8 48 09 0A C5 */ bl GetCenterPoint__6CAABoxCFv -/* 802A6B4C 002A3AAC C0 7C 00 10 */ lfs f3, 0x10(r28) -/* 802A6B50 002A3AB0 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802A6B54 002A3AB4 C0 5C 00 04 */ lfs f2, 4(r28) -/* 802A6B58 002A3AB8 3A FB 00 08 */ addi r23, r27, 8 -/* 802A6B5C 002A3ABC C0 3C 00 14 */ lfs f1, 0x14(r28) -/* 802A6B60 002A3AC0 3B 23 67 54 */ addi r25, r3, lbl_805A6754@l -/* 802A6B64 002A3AC4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 802A6B68 002A3AC8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802A6B6C 002A3ACC C0 82 C1 60 */ lfs f4, lbl_805ADE80@sda21(r2) -/* 802A6B70 002A3AD0 3A A0 00 00 */ li r21, 0 -/* 802A6B74 002A3AD4 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802A6B78 002A3AD8 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 802A6B7C 002A3ADC C0 1C 00 00 */ lfs f0, 0(r28) -/* 802A6B80 002A3AE0 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802A6B84 002A3AE4 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802A6B88 002A3AE8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A6B8C 002A3AEC EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802A6B90 002A3AF0 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802A6B94 002A3AF4 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 802A6B98 002A3AF8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802A6B9C 002A3AFC D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 802A6BA0 002A3B00 3A 80 00 00 */ li r20, 0 -/* 802A6BA4 002A3B04 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802A6BA8 002A3B08 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 802A6BAC 002A3B0C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802A6BB0 002A3B10 D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 802A6BB4 002A3B14 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 802A6BB8 002A3B18 48 00 01 A8 */ b lbl_802A6D60 -lbl_802A6BBC: -/* 802A6BBC 002A3B1C 7F 83 E3 78 */ mr r3, r28 -/* 802A6BC0 002A3B20 7E E4 BB 78 */ mr r4, r23 -/* 802A6BC4 002A3B24 48 09 0F C1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A6BC8 002A3B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6BCC 002A3B2C 41 82 01 8C */ beq lbl_802A6D58 -/* 802A6BD0 002A3B30 7E E4 BB 78 */ mr r4, r23 -/* 802A6BD4 002A3B34 38 61 00 08 */ addi r3, r1, 8 -/* 802A6BD8 002A3B38 4B FF C1 65 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A6BDC 002A3B3C 82 C1 00 08 */ lwz r22, 8(r1) -/* 802A6BE0 002A3B40 3C 60 80 59 */ lis r3, lbl_80597BAC@ha -/* 802A6BE4 002A3B44 83 17 00 1C */ lwz r24, 0x1c(r23) -/* 802A6BE8 002A3B48 3B 43 7B AC */ addi r26, r3, lbl_80597BAC@l -/* 802A6BEC 002A3B4C A2 76 00 18 */ lhz r19, 0x18(r22) -/* 802A6BF0 002A3B50 3A 40 00 00 */ li r18, 0 -/* 802A6BF4 002A3B54 48 00 01 5C */ b lbl_802A6D50 -lbl_802A6BF8: -/* 802A6BF8 002A3B58 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) -/* 802A6BFC 002A3B5C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A6C00 002A3B60 38 03 00 01 */ addi r0, r3, 1 -/* 802A6C04 002A3B64 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A6C08 002A3B68 A0 B6 00 1A */ lhz r5, 0x1a(r22) -/* 802A6C0C 002A3B6C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e -/* 802A6C10 002A3B70 7C 1A 1A 2E */ lhzx r0, r26, r3 -/* 802A6C14 002A3B74 7C 04 00 40 */ cmplw r4, r0 -/* 802A6C18 002A3B78 40 82 00 14 */ bne lbl_802A6C2C -/* 802A6C1C 002A3B7C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) -/* 802A6C20 002A3B80 38 03 00 01 */ addi r0, r3, 1 -/* 802A6C24 002A3B84 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) -/* 802A6C28 002A3B88 48 00 01 20 */ b lbl_802A6D48 -lbl_802A6C2C: -/* 802A6C2C 002A3B8C 7C 9A 1B 2E */ sthx r4, r26, r3 -/* 802A6C30 002A3B90 7F 04 C3 78 */ mr r4, r24 -/* 802A6C34 002A3B94 38 61 00 80 */ addi r3, r1, 0x80 -/* 802A6C38 002A3B98 4B FF BD FD */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A6C3C 002A3B9C 80 A1 00 A4 */ lwz r5, 0xa4(r1) -/* 802A6C40 002A3BA0 38 00 00 00 */ li r0, 0 -/* 802A6C44 002A3BA4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A6C48 002A3BA8 7F A3 EB 78 */ mr r3, r29 -/* 802A6C4C 002A3BAC 3A 21 00 80 */ addi r17, r1, 0x80 -/* 802A6C50 002A3BB0 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A6C54 002A3BB4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A6C58 002A3BB8 48 02 E6 F5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A6C5C 002A3BBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6C60 002A3BC0 41 82 00 E8 */ beq lbl_802A6D48 -/* 802A6C64 002A3BC4 7E 25 8B 78 */ mr r5, r17 -/* 802A6C68 002A3BC8 38 61 00 5C */ addi r3, r1, 0x5c -/* 802A6C6C 002A3BCC 38 81 00 50 */ addi r4, r1, 0x50 -/* 802A6C70 002A3BD0 38 D1 00 0C */ addi r6, r17, 0xc -/* 802A6C74 002A3BD4 38 F1 00 18 */ addi r7, r17, 0x18 -/* 802A6C78 002A3BD8 48 02 A8 69 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A6C7C 002A3BDC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A6C80 002A3BE0 28 00 00 01 */ cmplwi r0, 1 -/* 802A6C84 002A3BE4 40 82 00 C4 */ bne lbl_802A6D48 -/* 802A6C88 002A3BE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802A6C8C 002A3BEC C0 99 00 04 */ lfs f4, 4(r25) -/* 802A6C90 002A3BF0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) -/* 802A6C94 002A3BF4 7E 24 8B 78 */ mr r4, r17 -/* 802A6C98 002A3BF8 C0 79 00 08 */ lfs f3, 8(r25) -/* 802A6C9C 002A3BFC 38 61 01 08 */ addi r3, r1, 0x108 -/* 802A6CA0 002A3C00 C0 59 00 0C */ lfs f2, 0xc(r25) -/* 802A6CA4 002A3C04 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802A6CA8 002A3C08 C0 39 00 10 */ lfs f1, 0x10(r25) -/* 802A6CAC 002A3C0C C0 19 00 14 */ lfs f0, 0x14(r25) -/* 802A6CB0 002A3C10 D0 A1 00 68 */ stfs f5, 0x68(r1) -/* 802A6CB4 002A3C14 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 802A6CB8 002A3C18 D0 61 00 70 */ stfs f3, 0x70(r1) -/* 802A6CBC 002A3C1C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802A6CC0 002A3C20 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 802A6CC4 002A3C24 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802A6CC8 002A3C28 48 00 04 11 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox -/* 802A6CCC 002A3C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6CD0 002A3C30 41 82 00 78 */ beq lbl_802A6D48 -/* 802A6CD4 002A3C34 7E 24 8B 78 */ mr r4, r17 -/* 802A6CD8 002A3C38 38 61 00 24 */ addi r3, r1, 0x24 -/* 802A6CDC 002A3C3C 4B FF B9 59 */ bl GetPlane__17CCollisionSurfaceCFv -/* 802A6CE0 002A3C40 C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 802A6CE4 002A3C44 7F C5 F3 78 */ mr r5, r30 -/* 802A6CE8 002A3C48 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802A6CEC 002A3C4C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802A6CF0 002A3C50 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 802A6CF4 002A3C54 FC 40 30 50 */ fneg f2, f6 -/* 802A6CF8 002A3C58 FC 20 28 50 */ fneg f1, f5 -/* 802A6CFC 002A3C5C C0 61 00 30 */ lfs f3, 0x30(r1) -/* 802A6D00 002A3C60 FC 00 20 50 */ fneg f0, f4 -/* 802A6D04 002A3C64 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 802A6D08 002A3C68 38 81 00 68 */ addi r4, r1, 0x68 -/* 802A6D0C 002A3C6C D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802A6D10 002A3C70 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802A6D14 002A3C74 38 E1 00 40 */ addi r7, r1, 0x40 -/* 802A6D18 002A3C78 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802A6D1C 002A3C7C 39 01 00 18 */ addi r8, r1, 0x18 -/* 802A6D20 002A3C80 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802A6D24 002A3C84 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802A6D28 002A3C88 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802A6D2C 002A3C8C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802A6D30 002A3C90 48 02 75 89 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802A6D34 002A3C94 7C 64 1B 78 */ mr r4, r3 -/* 802A6D38 002A3C98 7F E3 FB 78 */ mr r3, r31 -/* 802A6D3C 002A3C9C 38 A0 00 00 */ li r5, 0 -/* 802A6D40 002A3CA0 4B ED E8 E1 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802A6D44 002A3CA4 3A A0 00 01 */ li r21, 1 -lbl_802A6D48: -/* 802A6D48 002A3CA8 3A D6 00 02 */ addi r22, r22, 2 -/* 802A6D4C 002A3CAC 3A 52 00 01 */ addi r18, r18, 1 -lbl_802A6D50: -/* 802A6D50 002A3CB0 7C 12 98 00 */ cmpw r18, r19 -/* 802A6D54 002A3CB4 41 80 FE A4 */ blt lbl_802A6BF8 -lbl_802A6D58: -/* 802A6D58 002A3CB8 3A F7 00 24 */ addi r23, r23, 0x24 -/* 802A6D5C 002A3CBC 3A 94 00 01 */ addi r20, r20, 1 -lbl_802A6D60: -/* 802A6D60 002A3CC0 80 1B 00 04 */ lwz r0, 4(r27) -/* 802A6D64 002A3CC4 7C 14 00 00 */ cmpw r20, r0 -/* 802A6D68 002A3CC8 41 80 FE 54 */ blt lbl_802A6BBC -/* 802A6D6C 002A3CCC 7E A3 AB 78 */ mr r3, r21 -/* 802A6D70 002A3CD0 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 802A6D74 002A3CD4 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 802A6D78 002A3CD8 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 802A6D7C 002A3CDC CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 802A6D80 002A3CE0 BA 21 01 74 */ lmw r17, 0x174(r1) -/* 802A6D84 002A3CE4 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 802A6D88 002A3CE8 7C 08 03 A6 */ mtlr r0 -/* 802A6D8C 002A3CEC 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 802A6D90 002A3CF0 4E 80 00 20 */ blr - -.global AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache -AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache: -/* 802A6D94 002A3CF4 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 802A6D98 002A3CF8 7C 08 02 A6 */ mflr r0 -/* 802A6D9C 002A3CFC 90 01 01 84 */ stw r0, 0x184(r1) -/* 802A6DA0 002A3D00 BE A1 01 54 */ stmw r21, 0x154(r1) -/* 802A6DA4 002A3D04 7C 77 1B 78 */ mr r23, r3 -/* 802A6DA8 002A3D08 7C 95 23 78 */ mr r21, r4 -/* 802A6DAC 002A3D0C 3B 60 00 00 */ li r27, 0 -/* 802A6DB0 002A3D10 80 03 00 20 */ lwz r0, 0x20(r3) -/* 802A6DB4 002A3D14 2C 00 00 01 */ cmpwi r0, 1 -/* 802A6DB8 002A3D18 41 82 00 28 */ beq lbl_802A6DE0 -/* 802A6DBC 002A3D1C 40 80 00 10 */ bge lbl_802A6DCC -/* 802A6DC0 002A3D20 2C 00 00 00 */ cmpwi r0, 0 -/* 802A6DC4 002A3D24 40 80 00 14 */ bge lbl_802A6DD8 -/* 802A6DC8 002A3D28 48 00 02 60 */ b lbl_802A7028 -lbl_802A6DCC: -/* 802A6DCC 002A3D2C 2C 00 00 03 */ cmpwi r0, 3 -/* 802A6DD0 002A3D30 40 80 02 58 */ bge lbl_802A7028 -/* 802A6DD4 002A3D34 48 00 00 BC */ b lbl_802A6E90 -lbl_802A6DD8: -/* 802A6DD8 002A3D38 38 60 00 00 */ li r3, 0 -/* 802A6DDC 002A3D3C 48 00 02 50 */ b lbl_802A702C -lbl_802A6DE0: -/* 802A6DE0 002A3D40 3A C0 00 00 */ li r22, 0 -lbl_802A6DE4: -/* 802A6DE4 002A3D44 7E E4 BB 78 */ mr r4, r23 -/* 802A6DE8 002A3D48 7E C5 B3 78 */ mr r5, r22 -/* 802A6DEC 002A3D4C 38 61 00 9C */ addi r3, r1, 0x9c -/* 802A6DF0 002A3D50 4B FF BF 71 */ bl GetChild__Q212CAreaOctTree4NodeCFi -/* 802A6DF4 002A3D54 C0 A1 00 9C */ lfs f5, 0x9c(r1) -/* 802A6DF8 002A3D58 38 61 00 5C */ addi r3, r1, 0x5c -/* 802A6DFC 002A3D5C C0 81 00 A0 */ lfs f4, 0xa0(r1) -/* 802A6E00 002A3D60 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 802A6E04 002A3D64 C0 41 00 A8 */ lfs f2, 0xa8(r1) -/* 802A6E08 002A3D68 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 802A6E0C 002A3D6C C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 802A6E10 002A3D70 80 A1 00 B4 */ lwz r5, 0xb4(r1) -/* 802A6E14 002A3D74 80 81 00 B8 */ lwz r4, 0xb8(r1) -/* 802A6E18 002A3D78 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 802A6E1C 002A3D7C D0 A1 00 C0 */ stfs f5, 0xc0(r1) -/* 802A6E20 002A3D80 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 802A6E24 002A3D84 D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 802A6E28 002A3D88 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 802A6E2C 002A3D8C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 802A6E30 002A3D90 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 802A6E34 002A3D94 90 A1 00 D8 */ stw r5, 0xd8(r1) -/* 802A6E38 002A3D98 90 81 00 DC */ stw r4, 0xdc(r1) -/* 802A6E3C 002A3D9C 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 802A6E40 002A3DA0 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 802A6E44 002A3DA4 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 802A6E48 002A3DA8 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802A6E4C 002A3DAC D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802A6E50 002A3DB0 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802A6E54 002A3DB4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802A6E58 002A3DB8 80 95 00 00 */ lwz r4, 0(r21) -/* 802A6E5C 002A3DBC 48 09 0D 29 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802A6E60 002A3DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6E64 002A3DC4 41 82 00 1C */ beq lbl_802A6E80 -/* 802A6E68 002A3DC8 7E A4 AB 78 */ mr r4, r21 -/* 802A6E6C 002A3DCC 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A6E70 002A3DD0 4B FF FF 25 */ bl AABoxCollisionCheck_Internal__20CMetroidAreaColliderFRCQ212CAreaOctTree4NodeR15CAABoxAreaCache -/* 802A6E74 002A3DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6E78 002A3DD8 41 82 00 08 */ beq lbl_802A6E80 -/* 802A6E7C 002A3DDC 3B 60 00 01 */ li r27, 1 -lbl_802A6E80: -/* 802A6E80 002A3DE0 3A D6 00 01 */ addi r22, r22, 1 -/* 802A6E84 002A3DE4 2C 16 00 08 */ cmpwi r22, 8 -/* 802A6E88 002A3DE8 41 80 FF 5C */ blt lbl_802A6DE4 -/* 802A6E8C 002A3DEC 48 00 01 9C */ b lbl_802A7028 -lbl_802A6E90: -/* 802A6E90 002A3DF0 7E E4 BB 78 */ mr r4, r23 -/* 802A6E94 002A3DF4 38 61 00 08 */ addi r3, r1, 8 -/* 802A6E98 002A3DF8 4B FF BE A5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv -/* 802A6E9C 002A3DFC 83 81 00 08 */ lwz r28, 8(r1) -/* 802A6EA0 002A3E00 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 802A6EA4 002A3E04 3C 60 80 59 */ lis r3, lbl_80597BAC@ha -/* 802A6EA8 002A3E08 83 B7 00 1C */ lwz r29, 0x1c(r23) -/* 802A6EAC 002A3E0C A3 5C 00 18 */ lhz r26, 0x18(r28) -/* 802A6EB0 002A3E10 3B C4 67 54 */ addi r30, r4, lbl_805A6754@l -/* 802A6EB4 002A3E14 83 35 00 08 */ lwz r25, 8(r21) -/* 802A6EB8 002A3E18 3B E3 7B AC */ addi r31, r3, lbl_80597BAC@l -/* 802A6EBC 002A3E1C 83 15 00 04 */ lwz r24, 4(r21) -/* 802A6EC0 002A3E20 3A E0 00 00 */ li r23, 0 -/* 802A6EC4 002A3E24 48 00 01 5C */ b lbl_802A7020 -lbl_802A6EC8: -/* 802A6EC8 002A3E28 80 6D A5 C8 */ lwz r3, lbl_805A9188@sda21(r13) -/* 802A6ECC 002A3E2C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802A6ED0 002A3E30 38 03 00 01 */ addi r0, r3, 1 -/* 802A6ED4 002A3E34 90 0D A5 C8 */ stw r0, lbl_805A9188@sda21(r13) -/* 802A6ED8 002A3E38 A0 BC 00 1A */ lhz r5, 0x1a(r28) -/* 802A6EDC 002A3E3C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e -/* 802A6EE0 002A3E40 7C 1F 1A 2E */ lhzx r0, r31, r3 -/* 802A6EE4 002A3E44 7C 04 00 40 */ cmplw r4, r0 -/* 802A6EE8 002A3E48 40 82 00 14 */ bne lbl_802A6EFC -/* 802A6EEC 002A3E4C 80 6D A5 CC */ lwz r3, lbl_805A918C@sda21(r13) -/* 802A6EF0 002A3E50 38 03 00 01 */ addi r0, r3, 1 -/* 802A6EF4 002A3E54 90 0D A5 CC */ stw r0, lbl_805A918C@sda21(r13) -/* 802A6EF8 002A3E58 48 00 01 20 */ b lbl_802A7018 -lbl_802A6EFC: -/* 802A6EFC 002A3E5C 7C 9F 1B 2E */ sthx r4, r31, r3 -/* 802A6F00 002A3E60 7F A4 EB 78 */ mr r4, r29 -/* 802A6F04 002A3E64 38 61 00 74 */ addi r3, r1, 0x74 -/* 802A6F08 002A3E68 4B FF BB 2D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs -/* 802A6F0C 002A3E6C 80 A1 00 98 */ lwz r5, 0x98(r1) -/* 802A6F10 002A3E70 38 00 00 00 */ li r0, 0 -/* 802A6F14 002A3E74 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A6F18 002A3E78 7F 23 CB 78 */ mr r3, r25 -/* 802A6F1C 002A3E7C 3A C1 00 74 */ addi r22, r1, 0x74 -/* 802A6F20 002A3E80 38 81 00 10 */ addi r4, r1, 0x10 -/* 802A6F24 002A3E84 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A6F28 002A3E88 48 02 E4 25 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A6F2C 002A3E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6F30 002A3E90 41 82 00 E8 */ beq lbl_802A7018 -/* 802A6F34 002A3E94 7E C5 B3 78 */ mr r5, r22 -/* 802A6F38 002A3E98 38 75 00 14 */ addi r3, r21, 0x14 -/* 802A6F3C 002A3E9C 38 95 00 20 */ addi r4, r21, 0x20 -/* 802A6F40 002A3EA0 38 D6 00 0C */ addi r6, r22, 0xc -/* 802A6F44 002A3EA4 38 F6 00 18 */ addi r7, r22, 0x18 -/* 802A6F48 002A3EA8 48 02 A5 99 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802A6F4C 002A3EAC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A6F50 002A3EB0 28 00 00 01 */ cmplwi r0, 1 -/* 802A6F54 002A3EB4 40 82 00 C4 */ bne lbl_802A7018 -/* 802A6F58 002A3EB8 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802A6F5C 002A3EBC C0 9E 00 04 */ lfs f4, 4(r30) -/* 802A6F60 002A3EC0 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) -/* 802A6F64 002A3EC4 7F 03 C3 78 */ mr r3, r24 -/* 802A6F68 002A3EC8 C0 7E 00 08 */ lfs f3, 8(r30) -/* 802A6F6C 002A3ECC 7E C4 B3 78 */ mr r4, r22 -/* 802A6F70 002A3ED0 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 802A6F74 002A3ED4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 802A6F78 002A3ED8 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 802A6F7C 002A3EDC C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 802A6F80 002A3EE0 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802A6F84 002A3EE4 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802A6F88 002A3EE8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802A6F8C 002A3EEC D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802A6F90 002A3EF0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802A6F94 002A3EF4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 802A6F98 002A3EF8 48 00 01 41 */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox -/* 802A6F9C 002A3EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A6FA0 002A3F00 41 82 00 78 */ beq lbl_802A7018 -/* 802A6FA4 002A3F04 7E C4 B3 78 */ mr r4, r22 -/* 802A6FA8 002A3F08 38 61 00 24 */ addi r3, r1, 0x24 -/* 802A6FAC 002A3F0C 4B FF B6 89 */ bl GetPlane__17CCollisionSurfaceCFv -/* 802A6FB0 002A3F10 C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 802A6FB4 002A3F14 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 802A6FB8 002A3F18 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802A6FBC 002A3F1C 38 81 00 44 */ addi r4, r1, 0x44 -/* 802A6FC0 002A3F20 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 802A6FC4 002A3F24 FC 40 30 50 */ fneg f2, f6 -/* 802A6FC8 002A3F28 FC 20 28 50 */ fneg f1, f5 -/* 802A6FCC 002A3F2C C0 61 00 30 */ lfs f3, 0x30(r1) -/* 802A6FD0 002A3F30 FC 00 20 50 */ fneg f0, f4 -/* 802A6FD4 002A3F34 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 802A6FD8 002A3F38 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802A6FDC 002A3F3C D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 802A6FE0 002A3F40 38 E1 00 34 */ addi r7, r1, 0x34 -/* 802A6FE4 002A3F44 39 01 00 18 */ addi r8, r1, 0x18 -/* 802A6FE8 002A3F48 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 802A6FEC 002A3F4C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802A6FF0 002A3F50 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802A6FF4 002A3F54 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802A6FF8 002A3F58 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802A6FFC 002A3F5C 80 B5 00 0C */ lwz r5, 0xc(r21) -/* 802A7000 002A3F60 48 02 72 B9 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802A7004 002A3F64 7C 64 1B 78 */ mr r4, r3 -/* 802A7008 002A3F68 80 75 00 10 */ lwz r3, 0x10(r21) -/* 802A700C 002A3F6C 38 A0 00 00 */ li r5, 0 -/* 802A7010 002A3F70 4B ED E6 11 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802A7014 002A3F74 3B 60 00 01 */ li r27, 1 -lbl_802A7018: -/* 802A7018 002A3F78 3B 9C 00 02 */ addi r28, r28, 2 -/* 802A701C 002A3F7C 3A F7 00 01 */ addi r23, r23, 1 -lbl_802A7020: -/* 802A7020 002A3F80 7C 17 D0 00 */ cmpw r23, r26 -/* 802A7024 002A3F84 41 80 FE A4 */ blt lbl_802A6EC8 -lbl_802A7028: -/* 802A7028 002A3F88 7F 63 DB 78 */ mr r3, r27 -lbl_802A702C: -/* 802A702C 002A3F8C BA A1 01 54 */ lmw r21, 0x154(r1) -/* 802A7030 002A3F90 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802A7034 002A3F94 7C 08 03 A6 */ mtlr r0 -/* 802A7038 002A3F98 38 21 01 80 */ addi r1, r1, 0x180 -/* 802A703C 002A3F9C 4E 80 00 20 */ blr - -.global ResetInternalCounters__20CMetroidAreaColliderFv -ResetInternalCounters__20CMetroidAreaColliderFv: -/* 802A7040 002A3FA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7044 002A3FA4 7C 08 02 A6 */ mflr r0 -/* 802A7048 002A3FA8 38 60 00 00 */ li r3, 0 -/* 802A704C 002A3FAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7050 002A3FB0 A0 0D A5 D0 */ lhz r0, lbl_805A9190@sda21(r13) -/* 802A7054 002A3FB4 90 6D A5 C0 */ stw r3, lbl_805A9180@sda21(r13) -/* 802A7058 002A3FB8 28 00 FF FF */ cmplwi r0, 0xffff -/* 802A705C 002A3FBC 90 6D A5 C4 */ stw r3, lbl_805A9184@sda21(r13) -/* 802A7060 002A3FC0 90 6D A5 C8 */ stw r3, lbl_805A9188@sda21(r13) -/* 802A7064 002A3FC4 90 6D A5 CC */ stw r3, lbl_805A918C@sda21(r13) -/* 802A7068 002A3FC8 40 82 00 54 */ bne lbl_802A70BC -/* 802A706C 002A3FCC 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802A7070 002A3FD0 38 80 00 00 */ li r4, 0 -/* 802A7074 002A3FD4 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l -/* 802A7078 002A3FD8 38 A0 50 00 */ li r5, 0x5000 -/* 802A707C 002A3FDC 4B D5 C3 2D */ bl memset -/* 802A7080 002A3FE0 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha -/* 802A7084 002A3FE4 3C A0 00 01 */ lis r5, 0x0000C000@ha -/* 802A7088 002A3FE8 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l -/* 802A708C 002A3FEC 38 80 00 00 */ li r4, 0 -/* 802A7090 002A3FF0 38 A5 C0 00 */ addi r5, r5, 0x0000C000@l -/* 802A7094 002A3FF4 4B D5 C3 15 */ bl memset -/* 802A7098 002A3FF8 3C 60 80 59 */ lis r3, lbl_80597BAC@ha -/* 802A709C 002A3FFC 3C A0 00 01 */ lis r5, 0x00008000@ha -/* 802A70A0 002A4000 38 63 7B AC */ addi r3, r3, lbl_80597BAC@l -/* 802A70A4 002A4004 38 80 00 00 */ li r4, 0 -/* 802A70A8 002A4008 38 A5 80 00 */ addi r5, r5, 0x00008000@l -/* 802A70AC 002A400C 4B D5 C2 FD */ bl memset -/* 802A70B0 002A4010 A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) -/* 802A70B4 002A4014 38 03 00 01 */ addi r0, r3, 1 -/* 802A70B8 002A4018 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) -lbl_802A70BC: -/* 802A70BC 002A401C A0 6D A5 D0 */ lhz r3, lbl_805A9190@sda21(r13) -/* 802A70C0 002A4020 38 03 00 01 */ addi r0, r3, 1 -/* 802A70C4 002A4024 B0 0D A5 D0 */ sth r0, lbl_805A9190@sda21(r13) -/* 802A70C8 002A4028 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A70CC 002A402C 7C 08 03 A6 */ mtlr r0 -/* 802A70D0 002A4030 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A70D4 002A4034 4E 80 00 20 */ blr - -.global ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox -ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox: -/* 802A70D8 002A4038 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 802A70DC 002A403C 7C 08 02 A6 */ mflr r0 -/* 802A70E0 002A4040 90 01 02 34 */ stw r0, 0x234(r1) -/* 802A70E4 002A4044 DB E1 02 20 */ stfd f31, 0x220(r1) -/* 802A70E8 002A4048 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 802A70EC 002A404C DB C1 02 10 */ stfd f30, 0x210(r1) -/* 802A70F0 002A4050 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 802A70F4 002A4054 93 E1 02 0C */ stw r31, 0x20c(r1) -/* 802A70F8 002A4058 93 C1 02 08 */ stw r30, 0x208(r1) -/* 802A70FC 002A405C 93 A1 02 04 */ stw r29, 0x204(r1) -/* 802A7100 002A4060 93 81 02 00 */ stw r28, 0x200(r1) -/* 802A7104 002A4064 39 20 00 00 */ li r9, 0 -/* 802A7108 002A4068 81 0D A5 C0 */ lwz r8, lbl_805A9180@sda21(r13) -/* 802A710C 002A406C 1C C9 00 0C */ mulli r6, r9, 0xc -/* 802A7110 002A4070 80 ED A5 C4 */ lwz r7, lbl_805A9184@sda21(r13) -/* 802A7114 002A4074 39 41 00 18 */ addi r10, r1, 0x18 -/* 802A7118 002A4078 91 21 00 14 */ stw r9, 0x14(r1) -/* 802A711C 002A407C 38 08 00 01 */ addi r0, r8, 1 -/* 802A7120 002A4080 38 E7 00 01 */ addi r7, r7, 1 -/* 802A7124 002A4084 90 0D A5 C0 */ stw r0, lbl_805A9180@sda21(r13) -/* 802A7128 002A4088 7C CA 32 15 */ add. r6, r10, r6 -/* 802A712C 002A408C 7C BE 2B 78 */ mr r30, r5 -/* 802A7130 002A4090 3B E1 01 08 */ addi r31, r1, 0x108 -/* 802A7134 002A4094 91 21 01 08 */ stw r9, 0x108(r1) -/* 802A7138 002A4098 38 00 00 00 */ li r0, 0 -/* 802A713C 002A409C 38 A0 00 01 */ li r5, 1 -/* 802A7140 002A40A0 90 ED A5 C4 */ stw r7, lbl_805A9184@sda21(r13) -/* 802A7144 002A40A4 41 82 00 1C */ beq lbl_802A7160 -/* 802A7148 002A40A8 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A714C 002A40AC C0 24 00 04 */ lfs f1, 4(r4) -/* 802A7150 002A40B0 D0 06 00 00 */ stfs f0, 0(r6) -/* 802A7154 002A40B4 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A7158 002A40B8 D0 26 00 04 */ stfs f1, 4(r6) -/* 802A715C 002A40BC D0 06 00 08 */ stfs f0, 8(r6) -lbl_802A7160: -/* 802A7160 002A40C0 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 802A7164 002A40C4 38 E7 00 01 */ addi r7, r7, 1 -/* 802A7168 002A40C8 1C C7 00 0C */ mulli r6, r7, 0xc -/* 802A716C 002A40CC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802A7170 002A40D0 7C CA 32 15 */ add. r6, r10, r6 -/* 802A7174 002A40D4 41 82 00 1C */ beq lbl_802A7190 -/* 802A7178 002A40D8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802A717C 002A40DC C0 24 00 10 */ lfs f1, 0x10(r4) -/* 802A7180 002A40E0 D0 06 00 00 */ stfs f0, 0(r6) -/* 802A7184 002A40E4 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802A7188 002A40E8 D0 26 00 04 */ stfs f1, 4(r6) -/* 802A718C 002A40EC D0 06 00 08 */ stfs f0, 8(r6) -lbl_802A7190: -/* 802A7190 002A40F0 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 802A7194 002A40F4 38 E7 00 01 */ addi r7, r7, 1 -/* 802A7198 002A40F8 1C C7 00 0C */ mulli r6, r7, 0xc -/* 802A719C 002A40FC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802A71A0 002A4100 7C CA 32 15 */ add. r6, r10, r6 -/* 802A71A4 002A4104 41 82 00 1C */ beq lbl_802A71C0 -/* 802A71A8 002A4108 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802A71AC 002A410C C0 24 00 1C */ lfs f1, 0x1c(r4) -/* 802A71B0 002A4110 D0 06 00 00 */ stfs f0, 0(r6) -/* 802A71B4 002A4114 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802A71B8 002A4118 D0 26 00 04 */ stfs f1, 4(r6) -/* 802A71BC 002A411C D0 06 00 08 */ stfs f0, 8(r6) -lbl_802A71C0: -/* 802A71C0 002A4120 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 802A71C4 002A4124 38 C0 00 00 */ li r6, 0 -/* 802A71C8 002A4128 C1 42 C1 4C */ lfs f10, lbl_805ADE6C@sda21(r2) -/* 802A71CC 002A412C 38 E7 00 01 */ addi r7, r7, 1 -/* 802A71D0 002A4130 90 E1 00 14 */ stw r7, 0x14(r1) -lbl_802A71D4: -/* 802A71D4 002A4134 1C 85 00 F4 */ mulli r4, r5, 0xf4 -/* 802A71D8 002A4138 39 01 00 14 */ addi r8, r1, 0x14 -/* 802A71DC 002A413C 39 20 00 00 */ li r9, 0 -/* 802A71E0 002A4140 7D 07 43 78 */ mr r7, r8 -/* 802A71E4 002A4144 7D 08 22 14 */ add r8, r8, r4 -/* 802A71E8 002A4148 81 68 00 00 */ lwz r11, 0(r8) -/* 802A71EC 002A414C 1C 80 00 F4 */ mulli r4, r0, 0xf4 -/* 802A71F0 002A4150 2C 0B 00 00 */ cmpwi r11, 0 -/* 802A71F4 002A4154 7C E7 22 14 */ add r7, r7, r4 -/* 802A71F8 002A4158 40 81 00 44 */ ble lbl_802A723C -/* 802A71FC 002A415C 2C 0B 00 08 */ cmpwi r11, 8 -/* 802A7200 002A4160 39 4B FF F8 */ addi r10, r11, -8 -/* 802A7204 002A4164 40 81 00 20 */ ble lbl_802A7224 -/* 802A7208 002A4168 38 8A 00 07 */ addi r4, r10, 7 -/* 802A720C 002A416C 54 84 E8 FE */ srwi r4, r4, 3 -/* 802A7210 002A4170 7C 89 03 A6 */ mtctr r4 -/* 802A7214 002A4174 2C 0A 00 00 */ cmpwi r10, 0 -/* 802A7218 002A4178 40 81 00 0C */ ble lbl_802A7224 -lbl_802A721C: -/* 802A721C 002A417C 39 29 00 08 */ addi r9, r9, 8 -/* 802A7220 002A4180 42 00 FF FC */ bdnz lbl_802A721C -lbl_802A7224: -/* 802A7224 002A4184 7C 89 58 50 */ subf r4, r9, r11 -/* 802A7228 002A4188 7C 89 03 A6 */ mtctr r4 -/* 802A722C 002A418C 7C 09 58 00 */ cmpw r9, r11 -/* 802A7230 002A4190 40 80 00 0C */ bge lbl_802A723C -lbl_802A7234: -/* 802A7234 002A4194 39 29 00 01 */ addi r9, r9, 1 -/* 802A7238 002A4198 42 00 FF FC */ bdnz lbl_802A7234 -lbl_802A723C: -/* 802A723C 002A419C 39 20 00 00 */ li r9, 0 -/* 802A7240 002A41A0 C0 23 00 04 */ lfs f1, 4(r3) -/* 802A7244 002A41A4 91 28 00 00 */ stw r9, 0(r8) -/* 802A7248 002A41A8 38 87 00 04 */ addi r4, r7, 4 -/* 802A724C 002A41AC C0 43 00 00 */ lfs f2, 0(r3) -/* 802A7250 002A41B0 C0 07 00 08 */ lfs f0, 8(r7) -/* 802A7254 002A41B4 C0 83 00 08 */ lfs f4, 8(r3) -/* 802A7258 002A41B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802A725C 002A41BC C0 27 00 04 */ lfs f1, 4(r7) -/* 802A7260 002A41C0 C0 67 00 0C */ lfs f3, 0xc(r7) -/* 802A7264 002A41C4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 802A7268 002A41C8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802A726C 002A41CC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 802A7270 002A41D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802A7274 002A41D4 FC 00 50 40 */ fcmpo cr0, f0, f10 -/* 802A7278 002A41D8 4C 41 13 82 */ cror 2, 1, 2 -/* 802A727C 002A41DC 7D 20 00 26 */ mfcr r9 -/* 802A7280 002A41E0 39 40 00 00 */ li r10, 0 -/* 802A7284 002A41E4 55 29 1F FE */ rlwinm r9, r9, 3, 0x1f, 0x1f -/* 802A7288 002A41E8 48 00 01 5C */ b lbl_802A73E4 -lbl_802A728C: -/* 802A728C 002A41EC 3B AB FF FF */ addi r29, r11, -1 -/* 802A7290 002A41F0 55 2B 06 3F */ clrlwi. r11, r9, 0x18 -/* 802A7294 002A41F4 7F 9D 50 50 */ subf r28, r29, r10 -/* 802A7298 002A41F8 39 8A 00 01 */ addi r12, r10, 1 -/* 802A729C 002A41FC 7F AA E8 50 */ subf r29, r10, r29 -/* 802A72A0 002A4200 7F 8B E8 F8 */ nor r11, r28, r29 -/* 802A72A4 002A4204 7D 6B FE 70 */ srawi r11, r11, 0x1f -/* 802A72A8 002A4208 7D 8B 58 78 */ andc r11, r12, r11 -/* 802A72AC 002A420C 1D 6B 00 0C */ mulli r11, r11, 0xc -/* 802A72B0 002A4210 7D 87 5A 14 */ add r12, r7, r11 -/* 802A72B4 002A4214 41 82 00 3C */ beq lbl_802A72F0 -/* 802A72B8 002A4218 81 68 00 00 */ lwz r11, 0(r8) -/* 802A72BC 002A421C 1D 6B 00 0C */ mulli r11, r11, 0xc -/* 802A72C0 002A4220 7D 68 5A 14 */ add r11, r8, r11 -/* 802A72C4 002A4224 35 6B 00 04 */ addic. r11, r11, 4 -/* 802A72C8 002A4228 41 82 00 1C */ beq lbl_802A72E4 -/* 802A72CC 002A422C C0 04 00 00 */ lfs f0, 0(r4) -/* 802A72D0 002A4230 D0 0B 00 00 */ stfs f0, 0(r11) -/* 802A72D4 002A4234 C0 04 00 04 */ lfs f0, 4(r4) -/* 802A72D8 002A4238 D0 0B 00 04 */ stfs f0, 4(r11) -/* 802A72DC 002A423C C0 04 00 08 */ lfs f0, 8(r4) -/* 802A72E0 002A4240 D0 0B 00 08 */ stfs f0, 8(r11) -lbl_802A72E4: -/* 802A72E4 002A4244 81 68 00 00 */ lwz r11, 0(r8) -/* 802A72E8 002A4248 39 6B 00 01 */ addi r11, r11, 1 -/* 802A72EC 002A424C 91 68 00 00 */ stw r11, 0(r8) -lbl_802A72F0: -/* 802A72F0 002A4250 C0 A3 00 04 */ lfs f5, 4(r3) -/* 802A72F4 002A4254 C0 2C 00 08 */ lfs f1, 8(r12) -/* 802A72F8 002A4258 C1 83 00 00 */ lfs f12, 0(r3) -/* 802A72FC 002A425C EC 65 00 72 */ fmuls f3, f5, f1 -/* 802A7300 002A4260 C0 0C 00 04 */ lfs f0, 4(r12) -/* 802A7304 002A4264 C1 A3 00 08 */ lfs f13, 8(r3) -/* 802A7308 002A4268 C0 4C 00 0C */ lfs f2, 0xc(r12) -/* 802A730C 002A426C EC 6C 18 3A */ fmadds f3, f12, f0, f3 -/* 802A7310 002A4270 C1 63 00 0C */ lfs f11, 0xc(r3) -/* 802A7314 002A4274 EC 6D 18 BA */ fmadds f3, f13, f2, f3 -/* 802A7318 002A4278 EC 63 58 28 */ fsubs f3, f3, f11 -/* 802A731C 002A427C FC 03 50 40 */ fcmpo cr0, f3, f10 -/* 802A7320 002A4280 4C 41 13 82 */ cror 2, 1, 2 -/* 802A7324 002A4284 7D 60 00 26 */ mfcr r11 -/* 802A7328 002A4288 55 29 06 3E */ clrlwi r9, r9, 0x18 -/* 802A732C 002A428C 55 6B 1F FE */ rlwinm r11, r11, 3, 0x1f, 0x1f -/* 802A7330 002A4290 7D 69 4A 79 */ xor. r9, r11, r9 -/* 802A7334 002A4294 41 82 00 A4 */ beq lbl_802A73D8 -/* 802A7338 002A4298 C1 24 00 04 */ lfs f9, 4(r4) -/* 802A733C 002A429C C0 E4 00 00 */ lfs f7, 0(r4) -/* 802A7340 002A42A0 EC 69 01 72 */ fmuls f3, f9, f5 -/* 802A7344 002A42A4 C1 04 00 08 */ lfs f8, 8(r4) -/* 802A7348 002A42A8 EF C1 48 28 */ fsubs f30, f1, f9 -/* 802A734C 002A42AC 81 28 00 00 */ lwz r9, 0(r8) -/* 802A7350 002A42B0 EC C0 38 28 */ fsubs f6, f0, f7 -/* 802A7354 002A42B4 C0 82 C1 64 */ lfs f4, lbl_805ADE84@sda21(r2) -/* 802A7358 002A42B8 EC 67 1B 3A */ fmadds f3, f7, f12, f3 -/* 802A735C 002A42BC 1D 29 00 0C */ mulli r9, r9, 0xc -/* 802A7360 002A42C0 EC BE 01 72 */ fmuls f5, f30, f5 -/* 802A7364 002A42C4 D0 C1 00 08 */ stfs f6, 8(r1) -/* 802A7368 002A42C8 EF E2 40 28 */ fsubs f31, f2, f8 -/* 802A736C 002A42CC EC 68 1B 7A */ fmadds f3, f8, f13, f3 -/* 802A7370 002A42D0 EC A6 2B 3A */ fmadds f5, f6, f12, f5 -/* 802A7374 002A42D4 7D 28 4A 14 */ add r9, r8, r9 -/* 802A7378 002A42D8 ED 87 00 28 */ fsubs f12, f7, f0 -/* 802A737C 002A42DC 35 29 00 04 */ addic. r9, r9, 4 -/* 802A7380 002A42E0 EC 63 58 28 */ fsubs f3, f3, f11 -/* 802A7384 002A42E4 EC BF 2B 7A */ fmadds f5, f31, f13, f5 -/* 802A7388 002A42E8 EC E9 08 28 */ fsubs f7, f9, f1 -/* 802A738C 002A42EC D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 802A7390 002A42F0 FC 60 18 50 */ fneg f3, f3 -/* 802A7394 002A42F4 EC C8 10 28 */ fsubs f6, f8, f2 -/* 802A7398 002A42F8 D3 E1 00 10 */ stfs f31, 0x10(r1) -/* 802A739C 002A42FC EC 63 28 24 */ fdivs f3, f3, f5 -/* 802A73A0 002A4300 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802A73A4 002A4304 EC A3 03 32 */ fmuls f5, f3, f12 -/* 802A73A8 002A4308 EC 83 01 F2 */ fmuls f4, f3, f7 -/* 802A73AC 002A430C EC 63 01 B2 */ fmuls f3, f3, f6 -/* 802A73B0 002A4310 EC A5 00 2A */ fadds f5, f5, f0 -/* 802A73B4 002A4314 EC 24 08 2A */ fadds f1, f4, f1 -/* 802A73B8 002A4318 EC 03 10 2A */ fadds f0, f3, f2 -/* 802A73BC 002A431C 41 82 00 10 */ beq lbl_802A73CC -/* 802A73C0 002A4320 D0 A9 00 00 */ stfs f5, 0(r9) -/* 802A73C4 002A4324 D0 29 00 04 */ stfs f1, 4(r9) -/* 802A73C8 002A4328 D0 09 00 08 */ stfs f0, 8(r9) -lbl_802A73CC: -/* 802A73CC 002A432C 81 28 00 00 */ lwz r9, 0(r8) -/* 802A73D0 002A4330 39 29 00 01 */ addi r9, r9, 1 -/* 802A73D4 002A4334 91 28 00 00 */ stw r9, 0(r8) -lbl_802A73D8: -/* 802A73D8 002A4338 7D 69 5B 78 */ mr r9, r11 -/* 802A73DC 002A433C 38 84 00 0C */ addi r4, r4, 0xc -/* 802A73E0 002A4340 39 4A 00 01 */ addi r10, r10, 1 -lbl_802A73E4: -/* 802A73E4 002A4344 81 67 00 00 */ lwz r11, 0(r7) -/* 802A73E8 002A4348 7C 0A 58 00 */ cmpw r10, r11 -/* 802A73EC 002A434C 41 80 FE A0 */ blt lbl_802A728C -/* 802A73F0 002A4350 80 88 00 00 */ lwz r4, 0(r8) -/* 802A73F4 002A4354 2C 04 00 00 */ cmpwi r4, 0 -/* 802A73F8 002A4358 40 82 00 BC */ bne lbl_802A74B4 -/* 802A73FC 002A435C 28 1F 00 00 */ cmplwi r31, 0 -/* 802A7400 002A4360 41 82 00 58 */ beq lbl_802A7458 -/* 802A7404 002A4364 80 A1 01 08 */ lwz r5, 0x108(r1) -/* 802A7408 002A4368 38 60 00 00 */ li r3, 0 -/* 802A740C 002A436C 2C 05 00 00 */ cmpwi r5, 0 -/* 802A7410 002A4370 40 81 00 40 */ ble lbl_802A7450 -/* 802A7414 002A4374 2C 05 00 08 */ cmpwi r5, 8 -/* 802A7418 002A4378 38 85 FF F8 */ addi r4, r5, -8 -/* 802A741C 002A437C 40 81 00 20 */ ble lbl_802A743C -/* 802A7420 002A4380 38 04 00 07 */ addi r0, r4, 7 -/* 802A7424 002A4384 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A7428 002A4388 7C 09 03 A6 */ mtctr r0 -/* 802A742C 002A438C 2C 04 00 00 */ cmpwi r4, 0 -/* 802A7430 002A4390 40 81 00 0C */ ble lbl_802A743C -lbl_802A7434: -/* 802A7434 002A4394 38 63 00 08 */ addi r3, r3, 8 -/* 802A7438 002A4398 42 00 FF FC */ bdnz lbl_802A7434 -lbl_802A743C: -/* 802A743C 002A439C 7C 03 28 50 */ subf r0, r3, r5 -/* 802A7440 002A43A0 7C 09 03 A6 */ mtctr r0 -/* 802A7444 002A43A4 7C 03 28 00 */ cmpw r3, r5 -/* 802A7448 002A43A8 40 80 00 08 */ bge lbl_802A7450 -lbl_802A744C: -/* 802A744C 002A43AC 42 00 00 00 */ bdnz lbl_802A744C -lbl_802A7450: -/* 802A7450 002A43B0 38 00 00 00 */ li r0, 0 -/* 802A7454 002A43B4 90 01 01 08 */ stw r0, 0x108(r1) -lbl_802A7458: -/* 802A7458 002A43B8 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 802A745C 002A43BC 38 60 00 00 */ li r3, 0 -/* 802A7460 002A43C0 2C 05 00 00 */ cmpwi r5, 0 -/* 802A7464 002A43C4 40 81 00 40 */ ble lbl_802A74A4 -/* 802A7468 002A43C8 2C 05 00 08 */ cmpwi r5, 8 -/* 802A746C 002A43CC 38 85 FF F8 */ addi r4, r5, -8 -/* 802A7470 002A43D0 40 81 00 20 */ ble lbl_802A7490 -/* 802A7474 002A43D4 38 04 00 07 */ addi r0, r4, 7 -/* 802A7478 002A43D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A747C 002A43DC 7C 09 03 A6 */ mtctr r0 -/* 802A7480 002A43E0 2C 04 00 00 */ cmpwi r4, 0 -/* 802A7484 002A43E4 40 81 00 0C */ ble lbl_802A7490 -lbl_802A7488: -/* 802A7488 002A43E8 38 63 00 08 */ addi r3, r3, 8 -/* 802A748C 002A43EC 42 00 FF FC */ bdnz lbl_802A7488 -lbl_802A7490: -/* 802A7490 002A43F0 7C 03 28 50 */ subf r0, r3, r5 -/* 802A7494 002A43F4 7C 09 03 A6 */ mtctr r0 -/* 802A7498 002A43F8 7C 03 28 00 */ cmpw r3, r5 -/* 802A749C 002A43FC 40 80 00 08 */ bge lbl_802A74A4 -lbl_802A74A0: -/* 802A74A0 002A4400 42 00 00 00 */ bdnz lbl_802A74A0 -lbl_802A74A4: -/* 802A74A4 002A4404 38 00 00 00 */ li r0, 0 -/* 802A74A8 002A4408 38 60 00 00 */ li r3, 0 -/* 802A74AC 002A440C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A74B0 002A4410 48 00 01 1C */ b lbl_802A75CC -lbl_802A74B4: -/* 802A74B4 002A4414 38 C6 00 01 */ addi r6, r6, 1 -/* 802A74B8 002A4418 68 A5 00 01 */ xori r5, r5, 1 -/* 802A74BC 002A441C 2C 06 00 06 */ cmpwi r6, 6 -/* 802A74C0 002A4420 68 00 00 01 */ xori r0, r0, 1 -/* 802A74C4 002A4424 38 63 00 10 */ addi r3, r3, 0x10 -/* 802A74C8 002A4428 41 80 FD 0C */ blt lbl_802A71D4 -/* 802A74CC 002A442C 68 A0 00 01 */ xori r0, r5, 1 -/* 802A74D0 002A4430 3B 81 00 14 */ addi r28, r1, 0x14 -/* 802A74D4 002A4434 1C 00 00 F4 */ mulli r0, r0, 0xf4 -/* 802A74D8 002A4438 7F 9C 02 14 */ add r28, r28, r0 -/* 802A74DC 002A443C 3B BC 00 04 */ addi r29, r28, 4 -/* 802A74E0 002A4440 48 00 00 14 */ b lbl_802A74F4 -lbl_802A74E4: -/* 802A74E4 002A4444 7F C3 F3 78 */ mr r3, r30 -/* 802A74E8 002A4448 7F A4 EB 78 */ mr r4, r29 -/* 802A74EC 002A444C 48 09 06 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802A74F0 002A4450 3B BD 00 0C */ addi r29, r29, 0xc -lbl_802A74F4: -/* 802A74F4 002A4454 80 1C 00 00 */ lwz r0, 0(r28) -/* 802A74F8 002A4458 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A74FC 002A445C 7C 7C 02 14 */ add r3, r28, r0 -/* 802A7500 002A4460 38 03 00 04 */ addi r0, r3, 4 -/* 802A7504 002A4464 7C 1D 00 40 */ cmplw r29, r0 -/* 802A7508 002A4468 40 82 FF DC */ bne lbl_802A74E4 -/* 802A750C 002A446C 80 6D A5 C4 */ lwz r3, lbl_805A9184@sda21(r13) -/* 802A7510 002A4470 28 1F 00 00 */ cmplwi r31, 0 -/* 802A7514 002A4474 38 03 FF FF */ addi r0, r3, -1 -/* 802A7518 002A4478 90 0D A5 C4 */ stw r0, lbl_805A9184@sda21(r13) -/* 802A751C 002A447C 41 82 00 58 */ beq lbl_802A7574 -/* 802A7520 002A4480 80 A1 01 08 */ lwz r5, 0x108(r1) -/* 802A7524 002A4484 38 60 00 00 */ li r3, 0 -/* 802A7528 002A4488 2C 05 00 00 */ cmpwi r5, 0 -/* 802A752C 002A448C 40 81 00 40 */ ble lbl_802A756C -/* 802A7530 002A4490 2C 05 00 08 */ cmpwi r5, 8 -/* 802A7534 002A4494 38 85 FF F8 */ addi r4, r5, -8 -/* 802A7538 002A4498 40 81 00 20 */ ble lbl_802A7558 -/* 802A753C 002A449C 38 04 00 07 */ addi r0, r4, 7 -/* 802A7540 002A44A0 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A7544 002A44A4 7C 09 03 A6 */ mtctr r0 -/* 802A7548 002A44A8 2C 04 00 00 */ cmpwi r4, 0 -/* 802A754C 002A44AC 40 81 00 0C */ ble lbl_802A7558 -lbl_802A7550: -/* 802A7550 002A44B0 38 63 00 08 */ addi r3, r3, 8 -/* 802A7554 002A44B4 42 00 FF FC */ bdnz lbl_802A7550 -lbl_802A7558: -/* 802A7558 002A44B8 7C 03 28 50 */ subf r0, r3, r5 -/* 802A755C 002A44BC 7C 09 03 A6 */ mtctr r0 -/* 802A7560 002A44C0 7C 03 28 00 */ cmpw r3, r5 -/* 802A7564 002A44C4 40 80 00 08 */ bge lbl_802A756C -lbl_802A7568: -/* 802A7568 002A44C8 42 00 00 00 */ bdnz lbl_802A7568 -lbl_802A756C: -/* 802A756C 002A44CC 38 00 00 00 */ li r0, 0 -/* 802A7570 002A44D0 90 01 01 08 */ stw r0, 0x108(r1) -lbl_802A7574: -/* 802A7574 002A44D4 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 802A7578 002A44D8 38 60 00 00 */ li r3, 0 -/* 802A757C 002A44DC 2C 05 00 00 */ cmpwi r5, 0 -/* 802A7580 002A44E0 40 81 00 40 */ ble lbl_802A75C0 -/* 802A7584 002A44E4 2C 05 00 08 */ cmpwi r5, 8 -/* 802A7588 002A44E8 38 85 FF F8 */ addi r4, r5, -8 -/* 802A758C 002A44EC 40 81 00 20 */ ble lbl_802A75AC -/* 802A7590 002A44F0 38 04 00 07 */ addi r0, r4, 7 -/* 802A7594 002A44F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 802A7598 002A44F8 7C 09 03 A6 */ mtctr r0 -/* 802A759C 002A44FC 2C 04 00 00 */ cmpwi r4, 0 -/* 802A75A0 002A4500 40 81 00 0C */ ble lbl_802A75AC -lbl_802A75A4: -/* 802A75A4 002A4504 38 63 00 08 */ addi r3, r3, 8 -/* 802A75A8 002A4508 42 00 FF FC */ bdnz lbl_802A75A4 -lbl_802A75AC: -/* 802A75AC 002A450C 7C 03 28 50 */ subf r0, r3, r5 -/* 802A75B0 002A4510 7C 09 03 A6 */ mtctr r0 -/* 802A75B4 002A4514 7C 03 28 00 */ cmpw r3, r5 -/* 802A75B8 002A4518 40 80 00 08 */ bge lbl_802A75C0 -lbl_802A75BC: -/* 802A75BC 002A451C 42 00 00 00 */ bdnz lbl_802A75BC -lbl_802A75C0: -/* 802A75C0 002A4520 38 00 00 00 */ li r0, 0 -/* 802A75C4 002A4524 38 60 00 01 */ li r3, 1 -/* 802A75C8 002A4528 90 01 00 14 */ stw r0, 0x14(r1) -lbl_802A75CC: -/* 802A75CC 002A452C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 802A75D0 002A4530 CB E1 02 20 */ lfd f31, 0x220(r1) -/* 802A75D4 002A4534 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 802A75D8 002A4538 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 802A75DC 002A453C 83 E1 02 0C */ lwz r31, 0x20c(r1) -/* 802A75E0 002A4540 83 C1 02 08 */ lwz r30, 0x208(r1) -/* 802A75E4 002A4544 83 A1 02 04 */ lwz r29, 0x204(r1) -/* 802A75E8 002A4548 80 01 02 34 */ lwz r0, 0x234(r1) -/* 802A75EC 002A454C 83 81 02 00 */ lwz r28, 0x200(r1) -/* 802A75F0 002A4550 7C 08 03 A6 */ mtlr r0 -/* 802A75F4 002A4554 38 21 02 30 */ addi r1, r1, 0x230 -/* 802A75F8 002A4558 4E 80 00 20 */ blr - -.global GetAsCGraphicsLight__11CWorldLightCFv -GetAsCGraphicsLight__11CWorldLightCFv: -/* 802A75FC 002A455C 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 802A7600 002A4560 7C 08 02 A6 */ mflr r0 -/* 802A7604 002A4564 90 01 01 04 */ stw r0, 0x104(r1) -/* 802A7608 002A4568 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 802A760C 002A456C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 802A7610 002A4570 93 E1 00 EC */ stw r31, 0xec(r1) -/* 802A7614 002A4574 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 802A7618 002A4578 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 802A761C 002A457C 93 81 00 E0 */ stw r28, 0xe0(r1) -/* 802A7620 002A4580 C0 24 00 04 */ lfs f1, 4(r4) -/* 802A7624 002A4584 7C 7C 1B 78 */ mr r28, r3 -/* 802A7628 002A4588 C0 44 00 08 */ lfs f2, 8(r4) -/* 802A762C 002A458C 7C 9D 23 78 */ mr r29, r4 -/* 802A7630 002A4590 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 802A7634 002A4594 3B E1 00 2C */ addi r31, r1, 0x2c -/* 802A7638 002A4598 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802A763C 002A459C 3B C1 00 30 */ addi r30, r1, 0x30 -/* 802A7640 002A45A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) -/* 802A7644 002A45A4 38 61 00 0C */ addi r3, r1, 0xc -/* 802A7648 002A45A8 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802A764C 002A45AC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802A7650 002A45B0 48 0B BD 9D */ bl __ct__6CColorFffff -/* 802A7654 002A45B4 C0 3D 00 28 */ lfs f1, 0x28(r29) -/* 802A7658 002A45B8 C0 02 C1 88 */ lfs f0, lbl_805ADEA8@sda21(r2) -/* 802A765C 002A45BC FF E0 08 90 */ fmr f31, f1 -/* 802A7660 002A45C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A7664 002A45C4 40 80 00 08 */ bge lbl_802A766C -/* 802A7668 002A45C8 C3 E2 C1 84 */ lfs f31, lbl_805ADEA4@sda21(r2) -lbl_802A766C: -/* 802A766C 002A45CC 80 1D 00 00 */ lwz r0, 0(r29) -/* 802A7670 002A45D0 2C 00 00 00 */ cmpwi r0, 0 -/* 802A7674 002A45D4 40 82 00 B8 */ bne lbl_802A772C -/* 802A7678 002A45D8 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802A767C 002A45DC C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802A7680 002A45E0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802A7684 002A45E4 EC 62 07 F2 */ fmuls f3, f2, f31 -/* 802A7688 002A45E8 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 802A768C 002A45EC C0 0D 9A 50 */ lfs f0, lbl_805A8610@sda21(r13) -/* 802A7690 002A45F0 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 802A7694 002A45F4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802A7698 002A45F8 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 802A769C 002A45FC D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802A76A0 002A4600 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802A76A4 002A4604 40 80 00 0C */ bge lbl_802A76B0 -/* 802A76A8 002A4608 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A76AC 002A460C 48 00 00 08 */ b lbl_802A76B4 -lbl_802A76B0: -/* 802A76B0 002A4610 38 6D 9A 50 */ addi r3, r13, lbl_805A8610@sda21 -lbl_802A76B4: -/* 802A76B4 002A4614 C0 3F 00 00 */ lfs f1, 0(r31) -/* 802A76B8 002A4618 C0 0D 9A 54 */ lfs f0, lbl_805A8614@sda21(r13) -/* 802A76BC 002A461C C0 43 00 00 */ lfs f2, 0(r3) -/* 802A76C0 002A4620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A76C4 002A4624 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802A76C8 002A4628 40 80 00 0C */ bge lbl_802A76D4 -/* 802A76CC 002A462C 7F E3 FB 78 */ mr r3, r31 -/* 802A76D0 002A4630 48 00 00 08 */ b lbl_802A76D8 -lbl_802A76D4: -/* 802A76D4 002A4634 38 6D 9A 54 */ addi r3, r13, lbl_805A8614@sda21 -lbl_802A76D8: -/* 802A76D8 002A4638 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802A76DC 002A463C C0 0D 9A 58 */ lfs f0, lbl_805A8618@sda21(r13) -/* 802A76E0 002A4640 C0 43 00 00 */ lfs f2, 0(r3) -/* 802A76E4 002A4644 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A76E8 002A4648 D0 5F 00 00 */ stfs f2, 0(r31) -/* 802A76EC 002A464C 40 80 00 0C */ bge lbl_802A76F8 -/* 802A76F0 002A4650 7F C3 F3 78 */ mr r3, r30 -/* 802A76F4 002A4654 48 00 00 08 */ b lbl_802A76FC -lbl_802A76F8: -/* 802A76F8 002A4658 38 6D 9A 58 */ addi r3, r13, lbl_805A8618@sda21 -lbl_802A76FC: -/* 802A76FC 002A465C C0 63 00 00 */ lfs f3, 0(r3) -/* 802A7700 002A4660 38 61 00 08 */ addi r3, r1, 8 -/* 802A7704 002A4664 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802A7708 002A4668 D0 7E 00 00 */ stfs f3, 0(r30) -/* 802A770C 002A466C C0 5F 00 00 */ lfs f2, 0(r31) -/* 802A7710 002A4670 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) -/* 802A7714 002A4674 48 0B BC D9 */ bl __ct__6CColorFffff -/* 802A7718 002A4678 7F 83 E3 78 */ mr r3, r28 -/* 802A771C 002A467C 38 9D 00 10 */ addi r4, r29, 0x10 -/* 802A7720 002A4680 38 A1 00 08 */ addi r5, r1, 8 -/* 802A7724 002A4684 48 05 ED 81 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -/* 802A7728 002A4688 48 00 01 3C */ b lbl_802A7864 -lbl_802A772C: -/* 802A772C 002A468C 2C 00 00 01 */ cmpwi r0, 1 -/* 802A7730 002A4690 40 82 00 18 */ bne lbl_802A7748 -/* 802A7734 002A4694 7F 83 E3 78 */ mr r3, r28 -/* 802A7738 002A4698 38 9D 00 1C */ addi r4, r29, 0x1c -/* 802A773C 002A469C 38 A1 00 0C */ addi r5, r1, 0xc -/* 802A7740 002A46A0 48 05 ED 2D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 802A7744 002A46A4 48 00 01 20 */ b lbl_802A7864 -lbl_802A7748: -/* 802A7748 002A46A8 2C 00 00 03 */ cmpwi r0, 3 -/* 802A774C 002A46AC 40 82 00 A0 */ bne lbl_802A77EC -/* 802A7750 002A46B0 38 61 00 1C */ addi r3, r1, 0x1c -/* 802A7754 002A46B4 38 9D 00 1C */ addi r4, r29, 0x1c -/* 802A7758 002A46B8 48 06 D0 F9 */ bl AsNormalized__9CVector3fCFv -/* 802A775C 002A46BC C0 3D 00 2C */ lfs f1, 0x2c(r29) -/* 802A7760 002A46C0 38 61 00 34 */ addi r3, r1, 0x34 -/* 802A7764 002A46C4 C0 02 C1 8C */ lfs f0, lbl_805ADEAC@sda21(r2) -/* 802A7768 002A46C8 38 9D 00 10 */ addi r4, r29, 0x10 -/* 802A776C 002A46CC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802A7770 002A46D0 38 C1 00 0C */ addi r6, r1, 0xc -/* 802A7774 002A46D4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802A7778 002A46D8 48 05 EC 85 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -/* 802A777C 002A46DC 38 61 00 84 */ addi r3, r1, 0x84 -/* 802A7780 002A46E0 38 81 00 34 */ addi r4, r1, 0x34 -/* 802A7784 002A46E4 4B D9 3D ED */ bl __ct__6CLightFCR6CLight -/* 802A7788 002A46E8 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 802A778C 002A46EC 2C 00 00 02 */ cmpwi r0, 2 -/* 802A7790 002A46F0 40 82 00 10 */ bne lbl_802A77A0 -/* 802A7794 002A46F4 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) -/* 802A7798 002A46F8 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 802A779C 002A46FC 48 00 00 08 */ b lbl_802A77A4 -lbl_802A77A0: -/* 802A77A0 002A4700 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) -lbl_802A77A4: -/* 802A77A4 002A4704 2C 00 00 01 */ cmpwi r0, 1 -/* 802A77A8 002A4708 40 82 00 10 */ bne lbl_802A77B8 -/* 802A77AC 002A470C C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) -/* 802A77B0 002A4710 EC 40 F8 24 */ fdivs f2, f0, f31 -/* 802A77B4 002A4714 48 00 00 08 */ b lbl_802A77BC -lbl_802A77B8: -/* 802A77B8 002A4718 C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) -lbl_802A77BC: -/* 802A77BC 002A471C 2C 00 00 00 */ cmpwi r0, 0 -/* 802A77C0 002A4720 38 61 00 84 */ addi r3, r1, 0x84 -/* 802A77C4 002A4724 40 82 00 10 */ bne lbl_802A77D4 -/* 802A77C8 002A4728 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) -/* 802A77CC 002A472C EC 20 F8 24 */ fdivs f1, f0, f31 -/* 802A77D0 002A4730 48 00 00 08 */ b lbl_802A77D8 -lbl_802A77D4: -/* 802A77D4 002A4734 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) -lbl_802A77D8: -/* 802A77D8 002A4738 48 05 EB D9 */ bl SetAttenuation__6CLightFfff -/* 802A77DC 002A473C 7F 83 E3 78 */ mr r3, r28 -/* 802A77E0 002A4740 38 81 00 84 */ addi r4, r1, 0x84 -/* 802A77E4 002A4744 4B D9 3D 8D */ bl __ct__6CLightFCR6CLight -/* 802A77E8 002A4748 48 00 00 7C */ b lbl_802A7864 -lbl_802A77EC: -/* 802A77EC 002A474C 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 802A77F0 002A4750 2C 00 00 02 */ cmpwi r0, 2 -/* 802A77F4 002A4754 40 82 00 10 */ bne lbl_802A7804 -/* 802A77F8 002A4758 C0 02 C1 90 */ lfs f0, lbl_805ADEB0@sda21(r2) -/* 802A77FC 002A475C EC 60 F8 24 */ fdivs f3, f0, f31 -/* 802A7800 002A4760 48 00 00 08 */ b lbl_802A7808 -lbl_802A7804: -/* 802A7804 002A4764 C0 62 C1 94 */ lfs f3, lbl_805ADEB4@sda21(r2) -lbl_802A7808: -/* 802A7808 002A4768 2C 00 00 01 */ cmpwi r0, 1 -/* 802A780C 002A476C 40 82 00 10 */ bne lbl_802A781C -/* 802A7810 002A4770 C0 02 C1 98 */ lfs f0, lbl_805ADEB8@sda21(r2) -/* 802A7814 002A4774 EC 40 F8 24 */ fdivs f2, f0, f31 -/* 802A7818 002A4778 48 00 00 08 */ b lbl_802A7820 -lbl_802A781C: -/* 802A781C 002A477C C0 42 C1 94 */ lfs f2, lbl_805ADEB4@sda21(r2) -lbl_802A7820: -/* 802A7820 002A4780 2C 00 00 00 */ cmpwi r0, 0 -/* 802A7824 002A4784 40 82 00 10 */ bne lbl_802A7834 -/* 802A7828 002A4788 C0 02 C1 9C */ lfs f0, lbl_805ADEBC@sda21(r2) -/* 802A782C 002A478C EC 20 F8 24 */ fdivs f1, f0, f31 -/* 802A7830 002A4790 48 00 00 08 */ b lbl_802A7838 -lbl_802A7834: -/* 802A7834 002A4794 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) -lbl_802A7838: -/* 802A7838 002A4798 C0 A2 C1 94 */ lfs f5, lbl_805ADEB4@sda21(r2) -/* 802A783C 002A479C 7F 83 E3 78 */ mr r3, r28 -/* 802A7840 002A47A0 C0 82 C1 80 */ lfs f4, lbl_805ADEA0@sda21(r2) -/* 802A7844 002A47A4 38 9D 00 10 */ addi r4, r29, 0x10 -/* 802A7848 002A47A8 FC C0 28 90 */ fmr f6, f5 -/* 802A784C 002A47AC D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 802A7850 002A47B0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802A7854 002A47B4 38 C1 00 0C */ addi r6, r1, 0xc -/* 802A7858 002A47B8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802A785C 002A47BC D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802A7860 002A47C0 48 05 EB 7D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -lbl_802A7864: -/* 802A7864 002A47C4 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 802A7868 002A47C8 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802A786C 002A47CC CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 802A7870 002A47D0 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 802A7874 002A47D4 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 802A7878 002A47D8 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 802A787C 002A47DC 83 81 00 E0 */ lwz r28, 0xe0(r1) -/* 802A7880 002A47E0 7C 08 03 A6 */ mtlr r0 -/* 802A7884 002A47E4 38 21 01 00 */ addi r1, r1, 0x100 -/* 802A7888 002A47E8 4E 80 00 20 */ blr - -.global __ct__11CWorldLightFR12CInputStream -__ct__11CWorldLightFR12CInputStream: -/* 802A788C 002A47EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7890 002A47F0 7C 08 02 A6 */ mflr r0 -/* 802A7894 002A47F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7898 002A47F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A789C 002A47FC 7C 9F 23 78 */ mr r31, r4 -/* 802A78A0 002A4800 93 C1 00 08 */ stw r30, 8(r1) -/* 802A78A4 002A4804 7C 7E 1B 78 */ mr r30, r3 -/* 802A78A8 002A4808 7F E3 FB 78 */ mr r3, r31 -/* 802A78AC 002A480C 48 09 73 D9 */ bl ReadLong__12CInputStreamFv -/* 802A78B0 002A4810 90 7E 00 00 */ stw r3, 0(r30) -/* 802A78B4 002A4814 7F E4 FB 78 */ mr r4, r31 -/* 802A78B8 002A4818 38 7E 00 04 */ addi r3, r30, 4 -/* 802A78BC 002A481C 48 06 D2 D1 */ bl __ct__9CVector3fFR12CInputStream -/* 802A78C0 002A4820 7F E4 FB 78 */ mr r4, r31 -/* 802A78C4 002A4824 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802A78C8 002A4828 48 06 D2 C5 */ bl __ct__9CVector3fFR12CInputStream -/* 802A78CC 002A482C 7F E4 FB 78 */ mr r4, r31 -/* 802A78D0 002A4830 38 7E 00 1C */ addi r3, r30, 0x1c -/* 802A78D4 002A4834 48 06 D2 B9 */ bl __ct__9CVector3fFR12CInputStream -/* 802A78D8 002A4838 7F E3 FB 78 */ mr r3, r31 -/* 802A78DC 002A483C 48 09 73 4D */ bl ReadFloat__12CInputStreamFv -/* 802A78E0 002A4840 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 802A78E4 002A4844 7F E3 FB 78 */ mr r3, r31 -/* 802A78E8 002A4848 48 09 73 41 */ bl ReadFloat__12CInputStreamFv -/* 802A78EC 002A484C D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 802A78F0 002A4850 7F E3 FB 78 */ mr r3, r31 -/* 802A78F4 002A4854 48 09 73 35 */ bl ReadFloat__12CInputStreamFv -/* 802A78F8 002A4858 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 802A78FC 002A485C 7F E3 FB 78 */ mr r3, r31 -/* 802A7900 002A4860 48 09 73 DD */ bl ReadBool__12CInputStreamFv -/* 802A7904 002A4864 98 7E 00 34 */ stb r3, 0x34(r30) -/* 802A7908 002A4868 7F E3 FB 78 */ mr r3, r31 -/* 802A790C 002A486C 48 09 73 1D */ bl ReadFloat__12CInputStreamFv -/* 802A7910 002A4870 D0 3E 00 38 */ stfs f1, 0x38(r30) -/* 802A7914 002A4874 7F E3 FB 78 */ mr r3, r31 -/* 802A7918 002A4878 48 09 73 6D */ bl ReadLong__12CInputStreamFv -/* 802A791C 002A487C 90 7E 00 3C */ stw r3, 0x3c(r30) -/* 802A7920 002A4880 7F E3 FB 78 */ mr r3, r31 -/* 802A7924 002A4884 48 09 73 05 */ bl ReadFloat__12CInputStreamFv -/* 802A7928 002A4888 D0 3E 00 40 */ stfs f1, 0x40(r30) -/* 802A792C 002A488C 7F C3 F3 78 */ mr r3, r30 -/* 802A7930 002A4890 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7934 002A4894 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A7938 002A4898 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A793C 002A489C 7C 08 03 A6 */ mtlr r0 -/* 802A7940 002A48A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7944 002A48A4 4E 80 00 20 */ blr - -.global __sinit_CWorldLight_cpp -__sinit_CWorldLight_cpp: -/* 802A7948 002A48A8 C0 22 C1 94 */ lfs f1, lbl_805ADEB4@sda21(r2) -/* 802A794C 002A48AC 3C 80 80 5A */ lis r4, lbl_8059FBAC@ha -/* 802A7950 002A48B0 3C 60 80 5A */ lis r3, lbl_8059FBC4@ha -/* 802A7954 002A48B4 C0 02 C1 80 */ lfs f0, lbl_805ADEA0@sda21(r2) -/* 802A7958 002A48B8 D4 24 FB AC */ stfsu f1, lbl_8059FBAC@l(r4) -/* 802A795C 002A48BC D4 23 FB C4 */ stfsu f1, lbl_8059FBC4@l(r3) -/* 802A7960 002A48C0 D0 24 00 04 */ stfs f1, 4(r4) -/* 802A7964 002A48C4 D0 24 00 08 */ stfs f1, 8(r4) -/* 802A7968 002A48C8 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A796C 002A48CC D0 23 00 08 */ stfs f1, 8(r3) -/* 802A7970 002A48D0 4E 80 00 20 */ blr - -.global Alloc__Q28COBBTree16CSimpleAllocatorFUl -Alloc__Q28COBBTree16CSimpleAllocatorFUl: -/* 802A7974 002A48D4 80 A3 00 08 */ lwz r5, 8(r3) -/* 802A7978 002A48D8 80 C3 00 00 */ lwz r6, 0(r3) -/* 802A797C 002A48DC 7C 05 22 14 */ add r0, r5, r4 -/* 802A7980 002A48E0 90 03 00 08 */ stw r0, 8(r3) -/* 802A7984 002A48E4 7C A6 2A 14 */ add r5, r6, r5 -/* 802A7988 002A48E8 80 83 00 08 */ lwz r4, 8(r3) -/* 802A798C 002A48EC 54 80 07 BF */ clrlwi. r0, r4, 0x1e -/* 802A7990 002A48F0 41 82 00 10 */ beq lbl_802A79A0 -/* 802A7994 002A48F4 20 00 00 04 */ subfic r0, r0, 4 -/* 802A7998 002A48F8 7C 04 02 14 */ add r0, r4, r0 -/* 802A799C 002A48FC 90 03 00 08 */ stw r0, 8(r3) -lbl_802A79A0: -/* 802A79A0 002A4900 7C A3 2B 78 */ mr r3, r5 -/* 802A79A4 002A4904 4E 80 00 20 */ blr - -.global __dt__Q28COBBTree16CSimpleAllocatorFv -__dt__Q28COBBTree16CSimpleAllocatorFv: -/* 802A79A8 002A4908 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A79AC 002A490C 7C 08 02 A6 */ mflr r0 -/* 802A79B0 002A4910 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A79B4 002A4914 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A79B8 002A4918 7C 9F 23 78 */ mr r31, r4 -/* 802A79BC 002A491C 93 C1 00 08 */ stw r30, 8(r1) -/* 802A79C0 002A4920 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802A79C4 002A4924 41 82 00 24 */ beq lbl_802A79E8 -/* 802A79C8 002A4928 80 7E 00 00 */ lwz r3, 0(r30) -/* 802A79CC 002A492C 28 03 00 00 */ cmplwi r3, 0 -/* 802A79D0 002A4930 41 82 00 08 */ beq lbl_802A79D8 -/* 802A79D4 002A4934 48 06 DF 5D */ bl Free__7CMemoryFPCv -lbl_802A79D8: -/* 802A79D8 002A4938 7F E0 07 35 */ extsh. r0, r31 -/* 802A79DC 002A493C 40 81 00 0C */ ble lbl_802A79E8 -/* 802A79E0 002A4940 7F C3 F3 78 */ mr r3, r30 -/* 802A79E4 002A4944 48 06 DF 4D */ bl Free__7CMemoryFPCv -lbl_802A79E8: -/* 802A79E8 002A4948 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A79EC 002A494C 7F C3 F3 78 */ mr r3, r30 -/* 802A79F0 002A4950 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A79F4 002A4954 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A79F8 002A4958 7C 08 03 A6 */ mtlr r0 -/* 802A79FC 002A495C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7A00 002A4960 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree16CSimpleAllocatorFUi -__ct__Q28COBBTree16CSimpleAllocatorFUi: -/* 802A7A04 002A4964 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7A08 002A4968 7C 08 02 A6 */ mflr r0 -/* 802A7A0C 002A496C 3C A0 80 3D */ lis r5, lbl_803D60E8@ha -/* 802A7A10 002A4970 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7A14 002A4974 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A7A18 002A4978 7C 9F 23 78 */ mr r31, r4 -/* 802A7A1C 002A497C 38 85 60 E8 */ addi r4, r5, lbl_803D60E8@l -/* 802A7A20 002A4980 38 A0 00 00 */ li r5, 0 -/* 802A7A24 002A4984 93 C1 00 08 */ stw r30, 8(r1) -/* 802A7A28 002A4988 7C 7E 1B 78 */ mr r30, r3 -/* 802A7A2C 002A498C 7F E3 FB 78 */ mr r3, r31 -/* 802A7A30 002A4990 48 06 DD E9 */ bl __nwa__FUlPCcPCc -/* 802A7A34 002A4994 90 7E 00 00 */ stw r3, 0(r30) -/* 802A7A38 002A4998 38 00 00 00 */ li r0, 0 -/* 802A7A3C 002A499C 7F C3 F3 78 */ mr r3, r30 -/* 802A7A40 002A49A0 93 FE 00 04 */ stw r31, 4(r30) -/* 802A7A44 002A49A4 90 1E 00 08 */ stw r0, 8(r30) -/* 802A7A48 002A49A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A7A4C 002A49AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A7A50 002A49B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7A54 002A49B4 7C 08 03 A6 */ mtlr r0 -/* 802A7A58 002A49B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7A5C 002A49BC 4E 80 00 20 */ blr - -.global GetMemoryUsage__Q28COBBTree9CLeafDataCFv -GetMemoryUsage__Q28COBBTree9CLeafDataCFv: -/* 802A7A60 002A49C0 80 03 00 04 */ lwz r0, 4(r3) -/* 802A7A64 002A49C4 54 03 08 3C */ slwi r3, r0, 1 -/* 802A7A68 002A49C8 38 63 00 10 */ addi r3, r3, 0x10 -/* 802A7A6C 002A49CC 54 60 07 BF */ clrlwi. r0, r3, 0x1e -/* 802A7A70 002A49D0 4D 82 00 20 */ beqlr -/* 802A7A74 002A49D4 20 00 00 04 */ subfic r0, r0, 4 -/* 802A7A78 002A49D8 7C 63 02 14 */ add r3, r3, r0 -/* 802A7A7C 002A49DC 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree9CLeafDataFR12CInputStream -__ct__Q28COBBTree9CLeafDataFR12CInputStream: -/* 802A7A80 002A49E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A7A84 002A49E4 7C 08 02 A6 */ mflr r0 -/* 802A7A88 002A49E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A7A8C 002A49EC 38 00 00 00 */ li r0, 0 -/* 802A7A90 002A49F0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802A7A94 002A49F4 7C 7B 1B 78 */ mr r27, r3 -/* 802A7A98 002A49F8 7C 9C 23 78 */ mr r28, r4 -/* 802A7A9C 002A49FC 90 03 00 04 */ stw r0, 4(r3) -/* 802A7AA0 002A4A00 7F 83 E3 78 */ mr r3, r28 -/* 802A7AA4 002A4A04 90 1B 00 08 */ stw r0, 8(r27) -/* 802A7AA8 002A4A08 90 1B 00 0C */ stw r0, 0xc(r27) -/* 802A7AAC 002A4A0C 48 09 71 D9 */ bl ReadLong__12CInputStreamFv -/* 802A7AB0 002A4A10 7C 7D 1B 78 */ mr r29, r3 -/* 802A7AB4 002A4A14 7F 63 DB 78 */ mr r3, r27 -/* 802A7AB8 002A4A18 7F A4 EB 78 */ mr r4, r29 -/* 802A7ABC 002A4A1C 4B DB C8 45 */ bl "reserve__Q24rstl37vectorFi" -/* 802A7AC0 002A4A20 3B C0 00 00 */ li r30, 0 -/* 802A7AC4 002A4A24 48 00 00 60 */ b lbl_802A7B24 -lbl_802A7AC8: -/* 802A7AC8 002A4A28 7F 83 E3 78 */ mr r3, r28 -/* 802A7ACC 002A4A2C 48 09 71 E5 */ bl ReadShort__12CInputStreamFv -/* 802A7AD0 002A4A30 80 1B 00 04 */ lwz r0, 4(r27) -/* 802A7AD4 002A4A34 7C 7F 1B 78 */ mr r31, r3 -/* 802A7AD8 002A4A38 80 BB 00 08 */ lwz r5, 8(r27) -/* 802A7ADC 002A4A3C 7C 00 28 00 */ cmpw r0, r5 -/* 802A7AE0 002A4A40 41 80 00 1C */ blt lbl_802A7AFC -/* 802A7AE4 002A4A44 2C 05 00 00 */ cmpwi r5, 0 -/* 802A7AE8 002A4A48 7F 63 DB 78 */ mr r3, r27 -/* 802A7AEC 002A4A4C 38 80 00 04 */ li r4, 4 -/* 802A7AF0 002A4A50 41 82 00 08 */ beq lbl_802A7AF8 -/* 802A7AF4 002A4A54 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A7AF8: -/* 802A7AF8 002A4A58 4B DB C8 09 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A7AFC: -/* 802A7AFC 002A4A5C 80 1B 00 04 */ lwz r0, 4(r27) -/* 802A7B00 002A4A60 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802A7B04 002A4A64 54 00 08 3C */ slwi r0, r0, 1 -/* 802A7B08 002A4A68 7C 63 02 15 */ add. r3, r3, r0 -/* 802A7B0C 002A4A6C 41 82 00 08 */ beq lbl_802A7B14 -/* 802A7B10 002A4A70 B3 E3 00 00 */ sth r31, 0(r3) -lbl_802A7B14: -/* 802A7B14 002A4A74 80 7B 00 04 */ lwz r3, 4(r27) -/* 802A7B18 002A4A78 3B DE 00 01 */ addi r30, r30, 1 -/* 802A7B1C 002A4A7C 38 03 00 01 */ addi r0, r3, 1 -/* 802A7B20 002A4A80 90 1B 00 04 */ stw r0, 4(r27) -lbl_802A7B24: -/* 802A7B24 002A4A84 7C 1E E8 00 */ cmpw r30, r29 -/* 802A7B28 002A4A88 41 80 FF A0 */ blt lbl_802A7AC8 -/* 802A7B2C 002A4A8C 7F 63 DB 78 */ mr r3, r27 -/* 802A7B30 002A4A90 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802A7B34 002A4A94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A7B38 002A4A98 7C 08 03 A6 */ mtlr r0 -/* 802A7B3C 002A4A9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A7B40 002A4AA0 4E 80 00 20 */ blr - -.global "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" -"__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector": -/* 802A7B44 002A4AA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7B48 002A4AA8 7C 08 02 A6 */ mflr r0 -/* 802A7B4C 002A4AAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7B50 002A4AB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A7B54 002A4AB4 7C 9F 23 78 */ mr r31, r4 -/* 802A7B58 002A4AB8 93 C1 00 08 */ stw r30, 8(r1) -/* 802A7B5C 002A4ABC 7C 7E 1B 78 */ mr r30, r3 -/* 802A7B60 002A4AC0 80 04 00 04 */ lwz r0, 4(r4) -/* 802A7B64 002A4AC4 90 03 00 04 */ stw r0, 4(r3) -/* 802A7B68 002A4AC8 80 04 00 08 */ lwz r0, 8(r4) -/* 802A7B6C 002A4ACC 90 03 00 08 */ stw r0, 8(r3) -/* 802A7B70 002A4AD0 80 04 00 04 */ lwz r0, 4(r4) -/* 802A7B74 002A4AD4 2C 00 00 00 */ cmpwi r0, 0 -/* 802A7B78 002A4AD8 40 82 00 1C */ bne lbl_802A7B94 -/* 802A7B7C 002A4ADC 80 1F 00 08 */ lwz r0, 8(r31) -/* 802A7B80 002A4AE0 2C 00 00 00 */ cmpwi r0, 0 -/* 802A7B84 002A4AE4 40 82 00 10 */ bne lbl_802A7B94 -/* 802A7B88 002A4AE8 38 00 00 00 */ li r0, 0 -/* 802A7B8C 002A4AEC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802A7B90 002A4AF0 48 00 00 64 */ b lbl_802A7BF4 -lbl_802A7B94: -/* 802A7B94 002A4AF4 80 1E 00 08 */ lwz r0, 8(r30) -/* 802A7B98 002A4AF8 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e -/* 802A7B9C 002A4AFC 40 82 00 10 */ bne lbl_802A7BAC -/* 802A7BA0 002A4B00 38 00 00 00 */ li r0, 0 -/* 802A7BA4 002A4B04 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802A7BA8 002A4B08 48 00 00 18 */ b lbl_802A7BC0 -lbl_802A7BAC: -/* 802A7BAC 002A4B0C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A7BB0 002A4B10 38 A0 00 00 */ li r5, 0 -/* 802A7BB4 002A4B14 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A7BB8 002A4B18 48 06 DC 61 */ bl __nwa__FUlPCcPCc -/* 802A7BBC 002A4B1C 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802A7BC0: -/* 802A7BC0 002A4B20 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A7BC4 002A4B24 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802A7BC8 002A4B28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802A7BCC 002A4B2C 7C 09 03 A6 */ mtctr r0 -/* 802A7BD0 002A4B30 2C 00 00 00 */ cmpwi r0, 0 -/* 802A7BD4 002A4B34 40 81 00 20 */ ble lbl_802A7BF4 -lbl_802A7BD8: -/* 802A7BD8 002A4B38 28 03 00 00 */ cmplwi r3, 0 -/* 802A7BDC 002A4B3C 41 82 00 0C */ beq lbl_802A7BE8 -/* 802A7BE0 002A4B40 A0 04 00 00 */ lhz r0, 0(r4) -/* 802A7BE4 002A4B44 B0 03 00 00 */ sth r0, 0(r3) -lbl_802A7BE8: -/* 802A7BE8 002A4B48 38 63 00 02 */ addi r3, r3, 2 -/* 802A7BEC 002A4B4C 38 84 00 02 */ addi r4, r4, 2 -/* 802A7BF0 002A4B50 42 00 FF E8 */ bdnz lbl_802A7BD8 -lbl_802A7BF4: -/* 802A7BF4 002A4B54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7BF8 002A4B58 7F C3 F3 78 */ mr r3, r30 -/* 802A7BFC 002A4B5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A7C00 002A4B60 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A7C04 002A4B64 7C 08 03 A6 */ mtlr r0 -/* 802A7C08 002A4B68 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7C0C 002A4B6C 4E 80 00 20 */ blr - -.global __dl__Q28COBBTree5CNodeFPvUl -__dl__Q28COBBTree5CNodeFPvUl: -/* 802A7C10 002A4B70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7C14 002A4B74 7C 08 02 A6 */ mflr r0 -/* 802A7C18 002A4B78 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7C1C 002A4B7C 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) -/* 802A7C20 002A4B80 28 00 00 00 */ cmplwi r0, 0 -/* 802A7C24 002A4B84 40 82 00 10 */ bne lbl_802A7C34 -/* 802A7C28 002A4B88 28 03 00 00 */ cmplwi r3, 0 -/* 802A7C2C 002A4B8C 41 82 00 08 */ beq lbl_802A7C34 -/* 802A7C30 002A4B90 48 06 DD 01 */ bl Free__7CMemoryFPCv -lbl_802A7C34: -/* 802A7C34 002A4B94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7C38 002A4B98 7C 08 03 A6 */ mtlr r0 -/* 802A7C3C 002A4B9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7C40 002A4BA0 4E 80 00 20 */ blr - -.global __nw__Q28COBBTree5CNodeFUlPCci -__nw__Q28COBBTree5CNodeFUlPCci: -/* 802A7C44 002A4BA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7C48 002A4BA8 7C 08 02 A6 */ mflr r0 -/* 802A7C4C 002A4BAC 7C 64 1B 78 */ mr r4, r3 -/* 802A7C50 002A4BB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7C54 002A4BB4 80 0D A5 D8 */ lwz r0, lbl_805A9198@sda21(r13) -/* 802A7C58 002A4BB8 28 00 00 00 */ cmplwi r0, 0 -/* 802A7C5C 002A4BBC 40 82 00 18 */ bne lbl_802A7C74 -/* 802A7C60 002A4BC0 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A7C64 002A4BC4 38 A0 00 00 */ li r5, 0 -/* 802A7C68 002A4BC8 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A7C6C 002A4BCC 48 06 DB AD */ bl __nwa__FUlPCcPCc -/* 802A7C70 002A4BD0 48 00 00 0C */ b lbl_802A7C7C -lbl_802A7C74: -/* 802A7C74 002A4BD4 7C 03 03 78 */ mr r3, r0 -/* 802A7C78 002A4BD8 4B FF FC FD */ bl Alloc__Q28COBBTree16CSimpleAllocatorFUl -lbl_802A7C7C: -/* 802A7C7C 002A4BDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7C80 002A4BE0 7C 08 03 A6 */ mtlr r0 -/* 802A7C84 002A4BE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7C88 002A4BE8 4E 80 00 20 */ blr - -.global SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator: -/* 802A7C8C 002A4BEC 90 6D A5 D8 */ stw r3, lbl_805A9198@sda21(r13) -/* 802A7C90 002A4BF0 4E 80 00 20 */ blr - -.global GetMemoryUsage__Q28COBBTree5CNodeCFv -GetMemoryUsage__Q28COBBTree5CNodeCFv: -/* 802A7C94 002A4BF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7C98 002A4BF8 7C 08 02 A6 */ mflr r0 -/* 802A7C9C 002A4BFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7CA0 002A4C00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A7CA4 002A4C04 93 C1 00 08 */ stw r30, 8(r1) -/* 802A7CA8 002A4C08 7C 7E 1B 78 */ mr r30, r3 -/* 802A7CAC 002A4C0C 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 802A7CB0 002A4C10 28 00 00 00 */ cmplwi r0, 0 -/* 802A7CB4 002A4C14 41 82 00 14 */ beq lbl_802A7CC8 -/* 802A7CB8 002A4C18 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 802A7CBC 002A4C1C 4B FF FD A5 */ bl GetMemoryUsage__Q28COBBTree9CLeafDataCFv -/* 802A7CC0 002A4C20 3B E3 00 50 */ addi r31, r3, 0x50 -/* 802A7CC4 002A4C24 48 00 00 1C */ b lbl_802A7CE0 -lbl_802A7CC8: -/* 802A7CC8 002A4C28 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 802A7CCC 002A4C2C 4B FF FF C9 */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv -/* 802A7CD0 002A4C30 3B E3 00 50 */ addi r31, r3, 0x50 -/* 802A7CD4 002A4C34 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 802A7CD8 002A4C38 4B FF FF BD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv -/* 802A7CDC 002A4C3C 7F FF 1A 14 */ add r31, r31, r3 -lbl_802A7CE0: -/* 802A7CE0 002A4C40 57 E0 07 BF */ clrlwi. r0, r31, 0x1e -/* 802A7CE4 002A4C44 41 82 00 0C */ beq lbl_802A7CF0 -/* 802A7CE8 002A4C48 20 00 00 04 */ subfic r0, r0, 4 -/* 802A7CEC 002A4C4C 7F FF 02 14 */ add r31, r31, r0 -lbl_802A7CF0: -/* 802A7CF0 002A4C50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7CF4 002A4C54 7F E3 FB 78 */ mr r3, r31 -/* 802A7CF8 002A4C58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A7CFC 002A4C5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A7D00 002A4C60 7C 08 03 A6 */ mtlr r0 -/* 802A7D04 002A4C64 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7D08 002A4C68 4E 80 00 20 */ blr - -.global __dt__Q28COBBTree5CNodeFv -__dt__Q28COBBTree5CNodeFv: -/* 802A7D0C 002A4C6C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802A7D10 002A4C70 7C 08 02 A6 */ mflr r0 -/* 802A7D14 002A4C74 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A7D18 002A4C78 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802A7D1C 002A4C7C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802A7D20 002A4C80 7C 9E 23 78 */ mr r30, r4 -/* 802A7D24 002A4C84 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802A7D28 002A4C88 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802A7D2C 002A4C8C 41 82 00 88 */ beq lbl_802A7DB4 -/* 802A7D30 002A4C90 80 7D 00 40 */ lwz r3, 0x40(r29) -/* 802A7D34 002A4C94 38 80 00 01 */ li r4, 1 -/* 802A7D38 002A4C98 4B FF FF D5 */ bl __dt__Q28COBBTree5CNodeFv -/* 802A7D3C 002A4C9C 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 802A7D40 002A4CA0 38 80 00 01 */ li r4, 1 -/* 802A7D44 002A4CA4 4B FF FF C9 */ bl __dt__Q28COBBTree5CNodeFv -/* 802A7D48 002A4CA8 83 FD 00 48 */ lwz r31, 0x48(r29) -/* 802A7D4C 002A4CAC 28 1F 00 00 */ cmplwi r31, 0 -/* 802A7D50 002A4CB0 41 82 00 50 */ beq lbl_802A7DA0 -/* 802A7D54 002A4CB4 41 82 00 44 */ beq lbl_802A7D98 -/* 802A7D58 002A4CB8 80 1F 00 04 */ lwz r0, 4(r31) -/* 802A7D5C 002A4CBC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802A7D60 002A4CC0 54 00 08 3C */ slwi r0, r0, 1 -/* 802A7D64 002A4CC4 7C 03 02 14 */ add r0, r3, r0 -/* 802A7D68 002A4CC8 90 61 00 0C */ stw r3, 0xc(r1) -/* 802A7D6C 002A4CCC 7C 64 1B 78 */ mr r4, r3 -/* 802A7D70 002A4CD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7D74 002A4CD4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A7D78 002A4CD8 90 61 00 08 */ stw r3, 8(r1) -/* 802A7D7C 002A4CDC 48 00 00 08 */ b lbl_802A7D84 -lbl_802A7D80: -/* 802A7D80 002A4CE0 38 84 00 02 */ addi r4, r4, 2 -lbl_802A7D84: -/* 802A7D84 002A4CE4 7C 04 00 40 */ cmplw r4, r0 -/* 802A7D88 002A4CE8 40 82 FF F8 */ bne lbl_802A7D80 -/* 802A7D8C 002A4CEC 28 03 00 00 */ cmplwi r3, 0 -/* 802A7D90 002A4CF0 41 82 00 08 */ beq lbl_802A7D98 -/* 802A7D94 002A4CF4 48 06 DB 9D */ bl Free__7CMemoryFPCv -lbl_802A7D98: -/* 802A7D98 002A4CF8 7F E3 FB 78 */ mr r3, r31 -/* 802A7D9C 002A4CFC 48 06 DB 95 */ bl Free__7CMemoryFPCv -lbl_802A7DA0: -/* 802A7DA0 002A4D00 7F C0 07 35 */ extsh. r0, r30 -/* 802A7DA4 002A4D04 40 81 00 10 */ ble lbl_802A7DB4 -/* 802A7DA8 002A4D08 7F A3 EB 78 */ mr r3, r29 -/* 802A7DAC 002A4D0C 38 80 00 50 */ li r4, 0x50 -/* 802A7DB0 002A4D10 4B FF FE 61 */ bl __dl__Q28COBBTree5CNodeFPvUl -lbl_802A7DB4: -/* 802A7DB4 002A4D14 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802A7DB8 002A4D18 7F A3 EB 78 */ mr r3, r29 -/* 802A7DBC 002A4D1C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802A7DC0 002A4D20 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802A7DC4 002A4D24 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802A7DC8 002A4D28 7C 08 03 A6 */ mtlr r0 -/* 802A7DCC 002A4D2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802A7DD0 002A4D30 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree5CNodeFR12CInputStream -__ct__Q28COBBTree5CNodeFR12CInputStream: -/* 802A7DD4 002A4D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A7DD8 002A4D38 7C 08 02 A6 */ mflr r0 -/* 802A7DDC 002A4D3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A7DE0 002A4D40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A7DE4 002A4D44 7C 9F 23 78 */ mr r31, r4 -/* 802A7DE8 002A4D48 93 C1 00 08 */ stw r30, 8(r1) -/* 802A7DEC 002A4D4C 7C 7E 1B 78 */ mr r30, r3 -/* 802A7DF0 002A4D50 48 02 E1 5D */ bl __ct__6COBBoxFR12CInputStream -/* 802A7DF4 002A4D54 7F E3 FB 78 */ mr r3, r31 -/* 802A7DF8 002A4D58 48 09 6E E5 */ bl ReadBool__12CInputStreamFv -/* 802A7DFC 002A4D5C 98 7E 00 3C */ stb r3, 0x3c(r30) -/* 802A7E00 002A4D60 88 1E 00 3C */ lbz r0, 0x3c(r30) -/* 802A7E04 002A4D64 28 00 00 00 */ cmplwi r0, 0 -/* 802A7E08 002A4D68 41 82 00 0C */ beq lbl_802A7E14 -/* 802A7E0C 002A4D6C 38 00 00 00 */ li r0, 0 -/* 802A7E10 002A4D70 48 00 00 2C */ b lbl_802A7E3C -lbl_802A7E14: -/* 802A7E14 002A4D74 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A7E18 002A4D78 38 60 00 50 */ li r3, 0x50 -/* 802A7E1C 002A4D7C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A7E20 002A4D80 38 A0 00 00 */ li r5, 0 -/* 802A7E24 002A4D84 4B FF FE 21 */ bl __nw__Q28COBBTree5CNodeFUlPCci -/* 802A7E28 002A4D88 7C 60 1B 79 */ or. r0, r3, r3 -/* 802A7E2C 002A4D8C 41 82 00 10 */ beq lbl_802A7E3C -/* 802A7E30 002A4D90 7F E4 FB 78 */ mr r4, r31 -/* 802A7E34 002A4D94 4B FF FF A1 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream -/* 802A7E38 002A4D98 7C 60 1B 78 */ mr r0, r3 -lbl_802A7E3C: -/* 802A7E3C 002A4D9C 90 1E 00 40 */ stw r0, 0x40(r30) -/* 802A7E40 002A4DA0 88 1E 00 3C */ lbz r0, 0x3c(r30) -/* 802A7E44 002A4DA4 28 00 00 00 */ cmplwi r0, 0 -/* 802A7E48 002A4DA8 41 82 00 0C */ beq lbl_802A7E54 -/* 802A7E4C 002A4DAC 38 00 00 00 */ li r0, 0 -/* 802A7E50 002A4DB0 48 00 00 2C */ b lbl_802A7E7C -lbl_802A7E54: -/* 802A7E54 002A4DB4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A7E58 002A4DB8 38 60 00 50 */ li r3, 0x50 -/* 802A7E5C 002A4DBC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A7E60 002A4DC0 38 A0 00 00 */ li r5, 0 -/* 802A7E64 002A4DC4 4B FF FD E1 */ bl __nw__Q28COBBTree5CNodeFUlPCci -/* 802A7E68 002A4DC8 7C 60 1B 79 */ or. r0, r3, r3 -/* 802A7E6C 002A4DCC 41 82 00 10 */ beq lbl_802A7E7C -/* 802A7E70 002A4DD0 7F E4 FB 78 */ mr r4, r31 -/* 802A7E74 002A4DD4 4B FF FF 61 */ bl __ct__Q28COBBTree5CNodeFR12CInputStream -/* 802A7E78 002A4DD8 7C 60 1B 78 */ mr r0, r3 -lbl_802A7E7C: -/* 802A7E7C 002A4DDC 90 1E 00 44 */ stw r0, 0x44(r30) -/* 802A7E80 002A4DE0 88 1E 00 3C */ lbz r0, 0x3c(r30) -/* 802A7E84 002A4DE4 28 00 00 00 */ cmplwi r0, 0 -/* 802A7E88 002A4DE8 41 82 00 30 */ beq lbl_802A7EB8 -/* 802A7E8C 002A4DEC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A7E90 002A4DF0 38 60 00 10 */ li r3, 0x10 -/* 802A7E94 002A4DF4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A7E98 002A4DF8 38 A0 00 00 */ li r5, 0 -/* 802A7E9C 002A4DFC 48 06 D9 D1 */ bl __nw__FUlPCcPCc -/* 802A7EA0 002A4E00 7C 60 1B 79 */ or. r0, r3, r3 -/* 802A7EA4 002A4E04 41 82 00 18 */ beq lbl_802A7EBC -/* 802A7EA8 002A4E08 7F E4 FB 78 */ mr r4, r31 -/* 802A7EAC 002A4E0C 4B FF FB D5 */ bl __ct__Q28COBBTree9CLeafDataFR12CInputStream -/* 802A7EB0 002A4E10 7C 60 1B 78 */ mr r0, r3 -/* 802A7EB4 002A4E14 48 00 00 08 */ b lbl_802A7EBC -lbl_802A7EB8: -/* 802A7EB8 002A4E18 38 00 00 00 */ li r0, 0 -lbl_802A7EBC: -/* 802A7EBC 002A4E1C 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802A7EC0 002A4E20 7F C3 F3 78 */ mr r3, r30 -/* 802A7EC4 002A4E24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A7EC8 002A4E28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A7ECC 002A4E2C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A7ED0 002A4E30 7C 08 03 A6 */ mtlr r0 -/* 802A7ED4 002A4E34 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A7ED8 002A4E38 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData -__ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData: -/* 802A7EDC 002A4E3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A7EE0 002A4E40 7C 08 02 A6 */ mflr r0 -/* 802A7EE4 002A4E44 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A7EE8 002A4E48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A7EEC 002A4E4C 7D 1F 43 78 */ mr r31, r8 -/* 802A7EF0 002A4E50 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A7EF4 002A4E54 7C FE 3B 78 */ mr r30, r7 -/* 802A7EF8 002A4E58 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802A7EFC 002A4E5C 7C DD 33 78 */ mr r29, r6 -/* 802A7F00 002A4E60 93 81 00 10 */ stw r28, 0x10(r1) -/* 802A7F04 002A4E64 7C 7C 1B 78 */ mr r28, r3 -/* 802A7F08 002A4E68 48 02 E0 8D */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f -/* 802A7F0C 002A4E6C 7C 1F 00 D0 */ neg r0, r31 -/* 802A7F10 002A4E70 7F 83 E3 78 */ mr r3, r28 -/* 802A7F14 002A4E74 7C 00 FB 78 */ or r0, r0, r31 -/* 802A7F18 002A4E78 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802A7F1C 002A4E7C 98 1C 00 3C */ stb r0, 0x3c(r28) -/* 802A7F20 002A4E80 93 BC 00 40 */ stw r29, 0x40(r28) -/* 802A7F24 002A4E84 93 DC 00 44 */ stw r30, 0x44(r28) -/* 802A7F28 002A4E88 93 FC 00 48 */ stw r31, 0x48(r28) -/* 802A7F2C 002A4E8C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A7F30 002A4E90 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A7F34 002A4E94 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802A7F38 002A4E98 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802A7F3C 002A4E9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A7F40 002A4EA0 7C 08 03 A6 */ mtlr r0 -/* 802A7F44 002A4EA4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A7F48 002A4EA8 4E 80 00 20 */ blr - -.global GetTriangleEdgeIndices__8COBBTreeCFUs -GetTriangleEdgeIndices__8COBBTreeCFUs: -/* 802A7F4C 002A4EAC 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802A7F50 002A4EB0 80 63 00 74 */ lwz r3, 0x74(r3) -/* 802A7F54 002A4EB4 1C 00 00 06 */ mulli r0, r0, 6 -/* 802A7F58 002A4EB8 7C 63 02 14 */ add r3, r3, r0 -/* 802A7F5C 002A4EBC 4E 80 00 20 */ blr - -.global GetTriangleVertexIndices__8COBBTreeCFUsPUs -GetTriangleVertexIndices__8COBBTreeCFUsPUs: -/* 802A7F60 002A4EC0 54 89 04 3E */ clrlwi r9, r4, 0x10 -/* 802A7F64 002A4EC4 80 E3 00 74 */ lwz r7, 0x74(r3) -/* 802A7F68 002A4EC8 1C C9 00 03 */ mulli r6, r9, 3 -/* 802A7F6C 002A4ECC 81 03 00 64 */ lwz r8, 0x64(r3) -/* 802A7F70 002A4ED0 38 80 00 00 */ li r4, 0 -/* 802A7F74 002A4ED4 38 06 00 01 */ addi r0, r6, 1 -/* 802A7F78 002A4ED8 54 C6 08 3C */ slwi r6, r6, 1 -/* 802A7F7C 002A4EDC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A7F80 002A4EE0 7C C7 32 2E */ lhzx r6, r7, r6 -/* 802A7F84 002A4EE4 7C 07 02 2E */ lhzx r0, r7, r0 -/* 802A7F88 002A4EE8 54 C6 10 3A */ slwi r6, r6, 2 -/* 802A7F8C 002A4EEC 54 00 10 3A */ slwi r0, r0, 2 -/* 802A7F90 002A4EF0 7C C8 32 14 */ add r6, r8, r6 -/* 802A7F94 002A4EF4 7C E8 02 14 */ add r7, r8, r0 -/* 802A7F98 002A4EF8 A0 06 00 00 */ lhz r0, 0(r6) -/* 802A7F9C 002A4EFC A1 07 00 00 */ lhz r8, 0(r7) -/* 802A7FA0 002A4F00 7C 08 00 40 */ cmplw r8, r0 -/* 802A7FA4 002A4F04 41 82 00 14 */ beq lbl_802A7FB8 -/* 802A7FA8 002A4F08 A0 06 00 02 */ lhz r0, 2(r6) -/* 802A7FAC 002A4F0C 7C 08 00 40 */ cmplw r8, r0 -/* 802A7FB0 002A4F10 41 82 00 08 */ beq lbl_802A7FB8 -/* 802A7FB4 002A4F14 38 80 00 01 */ li r4, 1 -lbl_802A7FB8: -/* 802A7FB8 002A4F18 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802A7FBC 002A4F1C 41 82 00 08 */ beq lbl_802A7FC4 -/* 802A7FC0 002A4F20 48 00 00 08 */ b lbl_802A7FC8 -lbl_802A7FC4: -/* 802A7FC4 002A4F24 A1 07 00 02 */ lhz r8, 2(r7) -lbl_802A7FC8: -/* 802A7FC8 002A4F28 B1 05 00 04 */ sth r8, 4(r5) -/* 802A7FCC 002A4F2C 80 83 00 54 */ lwz r4, 0x54(r3) -/* 802A7FD0 002A4F30 80 63 00 24 */ lwz r3, 0x24(r3) -/* 802A7FD4 002A4F34 7C 04 48 AE */ lbzx r0, r4, r9 -/* 802A7FD8 002A4F38 54 00 10 3A */ slwi r0, r0, 2 -/* 802A7FDC 002A4F3C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802A7FE0 002A4F40 54 00 01 8D */ rlwinm. r0, r0, 0, 6, 6 -/* 802A7FE4 002A4F44 41 82 00 18 */ beq lbl_802A7FFC -/* 802A7FE8 002A4F48 A0 06 00 02 */ lhz r0, 2(r6) -/* 802A7FEC 002A4F4C B0 05 00 00 */ sth r0, 0(r5) -/* 802A7FF0 002A4F50 A0 06 00 00 */ lhz r0, 0(r6) -/* 802A7FF4 002A4F54 B0 05 00 02 */ sth r0, 2(r5) -/* 802A7FF8 002A4F58 4E 80 00 20 */ blr -lbl_802A7FFC: -/* 802A7FFC 002A4F5C A0 06 00 00 */ lhz r0, 0(r6) -/* 802A8000 002A4F60 B0 05 00 00 */ sth r0, 0(r5) -/* 802A8004 002A4F64 A0 06 00 02 */ lhz r0, 2(r6) -/* 802A8008 002A4F68 B0 05 00 02 */ sth r0, 2(r5) -/* 802A800C 002A4F6C 4E 80 00 20 */ blr - -.global BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f -BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f: -/* 802A8010 002A4F70 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802A8014 002A4F74 7C 08 02 A6 */ mflr r0 -/* 802A8018 002A4F78 C0 62 C1 A0 */ lfs f3, lbl_805ADEC0@sda21(r2) -/* 802A801C 002A4F7C 90 01 01 54 */ stw r0, 0x154(r1) -/* 802A8020 002A4F80 C0 22 C1 A4 */ lfs f1, lbl_805ADEC4@sda21(r2) -/* 802A8024 002A4F84 BF 01 01 30 */ stmw r24, 0x130(r1) -/* 802A8028 002A4F88 7C BF 2B 78 */ mr r31, r5 -/* 802A802C 002A4F8C 3C A0 80 3D */ lis r5, lbl_803D6038@ha -/* 802A8030 002A4F90 7C 7E 1B 78 */ mr r30, r3 -/* 802A8034 002A4F94 3B A5 60 38 */ addi r29, r5, lbl_803D6038@l -/* 802A8038 002A4F98 38 61 00 78 */ addi r3, r1, 0x78 -/* 802A803C 002A4F9C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 802A8040 002A4FA0 C0 44 00 04 */ lfs f2, 4(r4) -/* 802A8044 002A4FA4 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A8048 002A4FA8 C0 A4 00 00 */ lfs f5, 0(r4) -/* 802A804C 002A4FAC ED 03 00 B2 */ fmuls f8, f3, f2 -/* 802A8050 002A4FB0 EC E3 00 32 */ fmuls f7, f3, f0 -/* 802A8054 002A4FB4 38 81 00 50 */ addi r4, r1, 0x50 -/* 802A8058 002A4FB8 EC 83 01 72 */ fmuls f4, f3, f5 -/* 802A805C 002A4FBC C0 7F 00 04 */ lfs f3, 4(r31) -/* 802A8060 002A4FC0 ED 41 00 B2 */ fmuls f10, f1, f2 -/* 802A8064 002A4FC4 EC C8 18 2A */ fadds f6, f8, f3 -/* 802A8068 002A4FC8 ED 21 00 32 */ fmuls f9, f1, f0 -/* 802A806C 002A4FCC C0 5F 00 08 */ lfs f2, 8(r31) -/* 802A8070 002A4FD0 ED 61 01 72 */ fmuls f11, f1, f5 -/* 802A8074 002A4FD4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802A8078 002A4FD8 EC A7 10 2A */ fadds f5, f7, f2 -/* 802A807C 002A4FDC EC 24 00 2A */ fadds f1, f4, f0 -/* 802A8080 002A4FE0 EC 6A 18 2A */ fadds f3, f10, f3 -/* 802A8084 002A4FE4 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 802A8088 002A4FE8 EC 49 10 2A */ fadds f2, f9, f2 -/* 802A808C 002A4FEC EC 0B 00 2A */ fadds f0, f11, f0 -/* 802A8090 002A4FF0 D1 01 00 70 */ stfs f8, 0x70(r1) -/* 802A8094 002A4FF4 D0 E1 00 74 */ stfs f7, 0x74(r1) -/* 802A8098 002A4FF8 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 802A809C 002A4FFC D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802A80A0 002A5000 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 802A80A4 002A5004 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802A80A8 002A5008 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 802A80AC 002A500C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802A80B0 002A5010 48 09 04 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802A80B4 002A5014 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A80B8 002A5018 48 00 09 2D */ bl __ct__Q28COBBTree10SIndexDataFv -/* 802A80BC 002A501C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A80C0 002A5020 38 80 00 03 */ li r4, 3 -/* 802A80C4 002A5024 4B DB BA 61 */ bl "reserve__Q24rstl37vectorFi" -/* 802A80C8 002A5028 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802A80CC 002A502C 80 A1 00 C8 */ lwz r5, 0xc8(r1) -/* 802A80D0 002A5030 7C 00 28 00 */ cmpw r0, r5 -/* 802A80D4 002A5034 41 80 00 1C */ blt lbl_802A80F0 -/* 802A80D8 002A5038 2C 05 00 00 */ cmpwi r5, 0 -/* 802A80DC 002A503C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A80E0 002A5040 38 80 00 04 */ li r4, 4 -/* 802A80E4 002A5044 41 82 00 08 */ beq lbl_802A80EC -/* 802A80E8 002A5048 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A80EC: -/* 802A80EC 002A504C 4B DB BA 39 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A80F0: -/* 802A80F0 002A5050 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802A80F4 002A5054 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 802A80F8 002A5058 54 00 10 3A */ slwi r0, r0, 2 -/* 802A80FC 002A505C 7C 63 02 15 */ add. r3, r3, r0 -/* 802A8100 002A5060 41 82 00 0C */ beq lbl_802A810C -/* 802A8104 002A5064 80 0D 9A 60 */ lwz r0, lbl_805A8620@sda21(r13) -/* 802A8108 002A5068 90 03 00 00 */ stw r0, 0(r3) -lbl_802A810C: -/* 802A810C 002A506C 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 802A8110 002A5070 80 A1 00 C8 */ lwz r5, 0xc8(r1) -/* 802A8114 002A5074 38 03 00 01 */ addi r0, r3, 1 -/* 802A8118 002A5078 7C 00 28 00 */ cmpw r0, r5 -/* 802A811C 002A507C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802A8120 002A5080 41 80 00 1C */ blt lbl_802A813C -/* 802A8124 002A5084 2C 05 00 00 */ cmpwi r5, 0 -/* 802A8128 002A5088 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A812C 002A508C 38 80 00 04 */ li r4, 4 -/* 802A8130 002A5090 41 82 00 08 */ beq lbl_802A8138 -/* 802A8134 002A5094 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A8138: -/* 802A8138 002A5098 4B DB B9 ED */ bl "reserve__Q24rstl37vectorFi" -lbl_802A813C: -/* 802A813C 002A509C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802A8140 002A50A0 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 802A8144 002A50A4 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8148 002A50A8 7C 63 02 15 */ add. r3, r3, r0 -/* 802A814C 002A50AC 41 82 00 0C */ beq lbl_802A8158 -/* 802A8150 002A50B0 80 0D 9A 64 */ lwz r0, lbl_805A8624@sda21(r13) -/* 802A8154 002A50B4 90 03 00 00 */ stw r0, 0(r3) -lbl_802A8158: -/* 802A8158 002A50B8 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 802A815C 002A50BC 80 A1 00 C8 */ lwz r5, 0xc8(r1) -/* 802A8160 002A50C0 38 03 00 01 */ addi r0, r3, 1 -/* 802A8164 002A50C4 7C 00 28 00 */ cmpw r0, r5 -/* 802A8168 002A50C8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802A816C 002A50CC 41 80 00 1C */ blt lbl_802A8188 -/* 802A8170 002A50D0 2C 05 00 00 */ cmpwi r5, 0 -/* 802A8174 002A50D4 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A8178 002A50D8 38 80 00 04 */ li r4, 4 -/* 802A817C 002A50DC 41 82 00 08 */ beq lbl_802A8184 -/* 802A8180 002A50E0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A8184: -/* 802A8184 002A50E4 4B DB B9 A1 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A8188: -/* 802A8188 002A50E8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802A818C 002A50EC 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 802A8190 002A50F0 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8194 002A50F4 7C 63 02 15 */ add. r3, r3, r0 -/* 802A8198 002A50F8 41 82 00 0C */ beq lbl_802A81A4 -/* 802A819C 002A50FC 80 0D 9A 68 */ lwz r0, lbl_805A8628@sda21(r13) -/* 802A81A0 002A5100 90 03 00 00 */ stw r0, 0(r3) -lbl_802A81A4: -/* 802A81A4 002A5104 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 802A81A8 002A5108 38 00 00 08 */ li r0, 8 -/* 802A81AC 002A510C 90 01 00 38 */ stw r0, 0x38(r1) -/* 802A81B0 002A5110 38 63 00 01 */ addi r3, r3, 1 -/* 802A81B4 002A5114 90 61 00 C4 */ stw r3, 0xc4(r1) -/* 802A81B8 002A5118 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802A81BC 002A511C 48 00 00 0C */ b lbl_802A81C8 -/* 802A81C0 002A5120 90 01 00 40 */ stw r0, 0x40(r1) -/* 802A81C4 002A5124 48 00 00 1C */ b lbl_802A81E0 -lbl_802A81C8: -/* 802A81C8 002A5128 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A81CC 002A512C 38 60 00 08 */ li r3, 8 -/* 802A81D0 002A5130 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A81D4 002A5134 38 A0 00 00 */ li r5, 0 -/* 802A81D8 002A5138 48 06 D6 41 */ bl __nwa__FUlPCcPCc -/* 802A81DC 002A513C 90 61 00 40 */ stw r3, 0x40(r1) -lbl_802A81E0: -/* 802A81E0 002A5140 80 61 00 40 */ lwz r3, 0x40(r1) -/* 802A81E4 002A5144 28 03 00 00 */ cmplwi r3, 0 -/* 802A81E8 002A5148 41 82 00 0C */ beq lbl_802A81F4 -/* 802A81EC 002A514C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A81F0 002A5150 98 03 00 00 */ stb r0, 0(r3) -lbl_802A81F4: -/* 802A81F4 002A5154 34 63 00 01 */ addic. r3, r3, 1 -/* 802A81F8 002A5158 41 82 00 0C */ beq lbl_802A8204 -/* 802A81FC 002A515C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8200 002A5160 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8204: -/* 802A8204 002A5164 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8208 002A5168 41 82 00 0C */ beq lbl_802A8214 -/* 802A820C 002A516C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8210 002A5170 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8214: -/* 802A8214 002A5174 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8218 002A5178 41 82 00 0C */ beq lbl_802A8224 -/* 802A821C 002A517C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8220 002A5180 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8224: -/* 802A8224 002A5184 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8228 002A5188 41 82 00 0C */ beq lbl_802A8234 -/* 802A822C 002A518C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8230 002A5190 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8234: -/* 802A8234 002A5194 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8238 002A5198 41 82 00 0C */ beq lbl_802A8244 -/* 802A823C 002A519C 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8240 002A51A0 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8244: -/* 802A8244 002A51A4 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8248 002A51A8 41 82 00 0C */ beq lbl_802A8254 -/* 802A824C 002A51AC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8250 002A51B0 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8254: -/* 802A8254 002A51B4 34 63 00 01 */ addic. r3, r3, 1 -/* 802A8258 002A51B8 41 82 00 0C */ beq lbl_802A8264 -/* 802A825C 002A51BC 88 0D 9A 6C */ lbz r0, lbl_805A862C@sda21(r13) -/* 802A8260 002A51C0 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8264: -/* 802A8264 002A51C4 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802A8268 002A51C8 38 81 00 34 */ addi r4, r1, 0x34 -/* 802A826C 002A51CC 48 00 04 49 */ bl sub_802a86b4 -/* 802A8270 002A51D0 80 61 00 40 */ lwz r3, 0x40(r1) -/* 802A8274 002A51D4 80 01 00 38 */ lwz r0, 0x38(r1) -/* 802A8278 002A51D8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802A827C 002A51DC 7C 83 02 14 */ add r4, r3, r0 -/* 802A8280 002A51E0 7C 03 20 50 */ subf r0, r3, r4 -/* 802A8284 002A51E4 90 81 00 24 */ stw r4, 0x24(r1) -/* 802A8288 002A51E8 90 81 00 20 */ stw r4, 0x20(r1) -/* 802A828C 002A51EC 90 61 00 18 */ stw r3, 0x18(r1) -/* 802A8290 002A51F0 7C 09 03 A6 */ mtctr r0 -/* 802A8294 002A51F4 7C 03 20 40 */ cmplw r3, r4 -/* 802A8298 002A51F8 41 82 00 08 */ beq lbl_802A82A0 -lbl_802A829C: -/* 802A829C 002A51FC 42 00 00 00 */ bdnz lbl_802A829C -lbl_802A82A0: -/* 802A82A0 002A5200 28 03 00 00 */ cmplwi r3, 0 -/* 802A82A4 002A5204 41 82 00 08 */ beq lbl_802A82AC -/* 802A82A8 002A5208 48 06 D6 89 */ bl Free__7CMemoryFPCv -lbl_802A82AC: -/* 802A82AC 002A520C 3B 21 00 E0 */ addi r25, r1, 0xe0 -/* 802A82B0 002A5210 38 80 00 12 */ li r4, 0x12 -/* 802A82B4 002A5214 7F 23 CB 78 */ mr r3, r25 -/* 802A82B8 002A5218 4B F2 DF 45 */ bl "reserve__Q24rstl37vectorFi" -/* 802A82BC 002A521C 3B 5D 00 00 */ addi r26, r29, 0 -/* 802A82C0 002A5220 3B 00 00 00 */ li r24, 0 -lbl_802A82C4: -/* 802A82C4 002A5224 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802A82C8 002A5228 80 A1 00 E8 */ lwz r5, 0xe8(r1) -/* 802A82CC 002A522C 7C 00 28 00 */ cmpw r0, r5 -/* 802A82D0 002A5230 41 80 00 1C */ blt lbl_802A82EC -/* 802A82D4 002A5234 2C 05 00 00 */ cmpwi r5, 0 -/* 802A82D8 002A5238 7F 23 CB 78 */ mr r3, r25 -/* 802A82DC 002A523C 38 80 00 04 */ li r4, 4 -/* 802A82E0 002A5240 41 82 00 08 */ beq lbl_802A82E8 -/* 802A82E4 002A5244 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A82E8: -/* 802A82E8 002A5248 4B F2 DF 15 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A82EC: -/* 802A82EC 002A524C 80 61 00 EC */ lwz r3, 0xec(r1) -/* 802A82F0 002A5250 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802A82F4 002A5254 7C 63 02 15 */ add. r3, r3, r0 -/* 802A82F8 002A5258 41 82 00 0C */ beq lbl_802A8304 -/* 802A82FC 002A525C 88 1A 00 00 */ lbz r0, 0(r26) -/* 802A8300 002A5260 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8304: -/* 802A8304 002A5264 80 61 00 E4 */ lwz r3, 0xe4(r1) -/* 802A8308 002A5268 3B 18 00 01 */ addi r24, r24, 1 -/* 802A830C 002A526C 28 18 00 12 */ cmplwi r24, 0x12 -/* 802A8310 002A5270 3B 5A 00 01 */ addi r26, r26, 1 -/* 802A8314 002A5274 38 03 00 01 */ addi r0, r3, 1 -/* 802A8318 002A5278 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802A831C 002A527C 41 80 FF A8 */ blt lbl_802A82C4 -/* 802A8320 002A5280 3B 21 00 F0 */ addi r25, r1, 0xf0 -/* 802A8324 002A5284 38 80 00 0C */ li r4, 0xc -/* 802A8328 002A5288 7F 23 CB 78 */ mr r3, r25 -/* 802A832C 002A528C 4B F2 DE D1 */ bl "reserve__Q24rstl37vectorFi" -/* 802A8330 002A5290 3B 5D 00 14 */ addi r26, r29, 0x14 -/* 802A8334 002A5294 3B 00 00 00 */ li r24, 0 -lbl_802A8338: -/* 802A8338 002A5298 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802A833C 002A529C 80 A1 00 F8 */ lwz r5, 0xf8(r1) -/* 802A8340 002A52A0 7C 00 28 00 */ cmpw r0, r5 -/* 802A8344 002A52A4 41 80 00 1C */ blt lbl_802A8360 -/* 802A8348 002A52A8 2C 05 00 00 */ cmpwi r5, 0 -/* 802A834C 002A52AC 7F 23 CB 78 */ mr r3, r25 -/* 802A8350 002A52B0 38 80 00 04 */ li r4, 4 -/* 802A8354 002A52B4 41 82 00 08 */ beq lbl_802A835C -/* 802A8358 002A52B8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A835C: -/* 802A835C 002A52BC 4B F2 DE A1 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A8360: -/* 802A8360 002A52C0 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 802A8364 002A52C4 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802A8368 002A52C8 7C 63 02 15 */ add. r3, r3, r0 -/* 802A836C 002A52CC 41 82 00 0C */ beq lbl_802A8378 -/* 802A8370 002A52D0 88 1A 00 00 */ lbz r0, 0(r26) -/* 802A8374 002A52D4 98 03 00 00 */ stb r0, 0(r3) -lbl_802A8378: -/* 802A8378 002A52D8 80 61 00 F4 */ lwz r3, 0xf4(r1) -/* 802A837C 002A52DC 3B 18 00 01 */ addi r24, r24, 1 -/* 802A8380 002A52E0 28 18 00 0C */ cmplwi r24, 0xc -/* 802A8384 002A52E4 3B 5A 00 01 */ addi r26, r26, 1 -/* 802A8388 002A52E8 38 03 00 01 */ addi r0, r3, 1 -/* 802A838C 002A52EC 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802A8390 002A52F0 41 80 FF A8 */ blt lbl_802A8338 -/* 802A8394 002A52F4 3B 01 01 00 */ addi r24, r1, 0x100 -/* 802A8398 002A52F8 38 80 00 12 */ li r4, 0x12 -/* 802A839C 002A52FC 7F 03 C3 78 */ mr r3, r24 -/* 802A83A0 002A5300 48 00 14 59 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" -/* 802A83A4 002A5304 3B 3D 00 20 */ addi r25, r29, 0x20 -/* 802A83A8 002A5308 3B 80 00 00 */ li r28, 0 -lbl_802A83AC: -/* 802A83AC 002A530C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802A83B0 002A5310 80 A1 01 08 */ lwz r5, 0x108(r1) -/* 802A83B4 002A5314 A3 59 00 00 */ lhz r26, 0(r25) -/* 802A83B8 002A5318 7C 00 28 00 */ cmpw r0, r5 -/* 802A83BC 002A531C A3 79 00 02 */ lhz r27, 2(r25) -/* 802A83C0 002A5320 41 80 00 1C */ blt lbl_802A83DC -/* 802A83C4 002A5324 2C 05 00 00 */ cmpwi r5, 0 -/* 802A83C8 002A5328 7F 03 C3 78 */ mr r3, r24 -/* 802A83CC 002A532C 38 80 00 04 */ li r4, 4 -/* 802A83D0 002A5330 41 82 00 08 */ beq lbl_802A83D8 -/* 802A83D4 002A5334 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A83D8: -/* 802A83D8 002A5338 48 00 14 21 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" -lbl_802A83DC: -/* 802A83DC 002A533C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802A83E0 002A5340 80 61 01 0C */ lwz r3, 0x10c(r1) -/* 802A83E4 002A5344 54 00 10 3A */ slwi r0, r0, 2 -/* 802A83E8 002A5348 7C 63 02 15 */ add. r3, r3, r0 -/* 802A83EC 002A534C 41 82 00 0C */ beq lbl_802A83F8 -/* 802A83F0 002A5350 B3 43 00 00 */ sth r26, 0(r3) -/* 802A83F4 002A5354 B3 63 00 02 */ sth r27, 2(r3) -lbl_802A83F8: -/* 802A83F8 002A5358 80 61 01 04 */ lwz r3, 0x104(r1) -/* 802A83FC 002A535C 3B 9C 00 02 */ addi r28, r28, 2 -/* 802A8400 002A5360 28 1C 00 24 */ cmplwi r28, 0x24 -/* 802A8404 002A5364 3B 39 00 04 */ addi r25, r25, 4 -/* 802A8408 002A5368 38 03 00 01 */ addi r0, r3, 1 -/* 802A840C 002A536C 90 01 01 04 */ stw r0, 0x104(r1) -/* 802A8410 002A5370 41 80 FF 9C */ blt lbl_802A83AC -/* 802A8414 002A5374 3B 01 01 10 */ addi r24, r1, 0x110 -/* 802A8418 002A5378 38 80 00 24 */ li r4, 0x24 -/* 802A841C 002A537C 7F 03 C3 78 */ mr r3, r24 -/* 802A8420 002A5380 4B DB BE E1 */ bl "reserve__Q24rstl37vectorFi" -/* 802A8424 002A5384 3B 3D 00 68 */ addi r25, r29, 0x68 -/* 802A8428 002A5388 3B 40 00 00 */ li r26, 0 -lbl_802A842C: -/* 802A842C 002A538C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802A8430 002A5390 80 A1 01 18 */ lwz r5, 0x118(r1) -/* 802A8434 002A5394 7C 00 28 00 */ cmpw r0, r5 -/* 802A8438 002A5398 41 80 00 1C */ blt lbl_802A8454 -/* 802A843C 002A539C 2C 05 00 00 */ cmpwi r5, 0 -/* 802A8440 002A53A0 7F 03 C3 78 */ mr r3, r24 -/* 802A8444 002A53A4 38 80 00 04 */ li r4, 4 -/* 802A8448 002A53A8 41 82 00 08 */ beq lbl_802A8450 -/* 802A844C 002A53AC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A8450: -/* 802A8450 002A53B0 4B DB BE B1 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A8454: -/* 802A8454 002A53B4 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802A8458 002A53B8 80 61 01 1C */ lwz r3, 0x11c(r1) -/* 802A845C 002A53BC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8460 002A53C0 7C 63 02 15 */ add. r3, r3, r0 -/* 802A8464 002A53C4 41 82 00 0C */ beq lbl_802A8470 -/* 802A8468 002A53C8 A0 19 00 00 */ lhz r0, 0(r25) -/* 802A846C 002A53CC B0 03 00 00 */ sth r0, 0(r3) -lbl_802A8470: -/* 802A8470 002A53D0 80 61 01 14 */ lwz r3, 0x114(r1) -/* 802A8474 002A53D4 3B 5A 00 01 */ addi r26, r26, 1 -/* 802A8478 002A53D8 28 1A 00 24 */ cmplwi r26, 0x24 -/* 802A847C 002A53DC 3B 39 00 02 */ addi r25, r25, 2 -/* 802A8480 002A53E0 38 03 00 01 */ addi r0, r3, 1 -/* 802A8484 002A53E4 90 01 01 14 */ stw r0, 0x114(r1) -/* 802A8488 002A53E8 41 80 FF A4 */ blt lbl_802A842C -/* 802A848C 002A53EC 3B 01 01 20 */ addi r24, r1, 0x120 -/* 802A8490 002A53F0 38 80 00 08 */ li r4, 8 -/* 802A8494 002A53F4 7F 03 C3 78 */ mr r3, r24 -/* 802A8498 002A53F8 4B DB 58 61 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 802A849C 002A53FC 3B 20 00 00 */ li r25, 0 -lbl_802A84A0: -/* 802A84A0 002A5400 7F 25 CB 78 */ mr r5, r25 -/* 802A84A4 002A5404 38 61 00 28 */ addi r3, r1, 0x28 -/* 802A84A8 002A5408 38 81 00 78 */ addi r4, r1, 0x78 -/* 802A84AC 002A540C 48 08 F1 05 */ bl GetPoint__6CAABoxCFi -/* 802A84B0 002A5410 80 01 01 24 */ lwz r0, 0x124(r1) -/* 802A84B4 002A5414 80 A1 01 28 */ lwz r5, 0x128(r1) -/* 802A84B8 002A5418 7C 00 28 00 */ cmpw r0, r5 -/* 802A84BC 002A541C 41 80 00 1C */ blt lbl_802A84D8 -/* 802A84C0 002A5420 2C 05 00 00 */ cmpwi r5, 0 -/* 802A84C4 002A5424 7F 03 C3 78 */ mr r3, r24 -/* 802A84C8 002A5428 38 80 00 04 */ li r4, 4 -/* 802A84CC 002A542C 41 82 00 08 */ beq lbl_802A84D4 -/* 802A84D0 002A5430 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A84D4: -/* 802A84D4 002A5434 4B DB 58 25 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_802A84D8: -/* 802A84D8 002A5438 80 01 01 24 */ lwz r0, 0x124(r1) -/* 802A84DC 002A543C 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 802A84E0 002A5440 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A84E4 002A5444 7C 63 02 15 */ add. r3, r3, r0 -/* 802A84E8 002A5448 41 82 00 1C */ beq lbl_802A8504 -/* 802A84EC 002A544C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802A84F0 002A5450 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A84F4 002A5454 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802A84F8 002A5458 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A84FC 002A545C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802A8500 002A5460 D0 03 00 08 */ stfs f0, 8(r3) -lbl_802A8504: -/* 802A8504 002A5464 80 61 01 24 */ lwz r3, 0x124(r1) -/* 802A8508 002A5468 3B 39 00 01 */ addi r25, r25, 1 -/* 802A850C 002A546C 2C 19 00 08 */ cmpwi r25, 8 -/* 802A8510 002A5470 38 03 00 01 */ addi r0, r3, 1 -/* 802A8514 002A5474 90 01 01 24 */ stw r0, 0x124(r1) -/* 802A8518 002A5478 41 80 FF 88 */ blt lbl_802A84A0 -/* 802A851C 002A547C 38 00 00 00 */ li r0, 0 -/* 802A8520 002A5480 38 61 00 5C */ addi r3, r1, 0x5c -/* 802A8524 002A5484 90 01 00 60 */ stw r0, 0x60(r1) -/* 802A8528 002A5488 38 80 00 0C */ li r4, 0xc -/* 802A852C 002A548C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802A8530 002A5490 90 01 00 68 */ stw r0, 0x68(r1) -/* 802A8534 002A5494 4B DB BD CD */ bl "reserve__Q24rstl37vectorFi" -/* 802A8538 002A5498 3B 00 00 00 */ li r24, 0 -/* 802A853C 002A549C 48 00 00 54 */ b lbl_802A8590 -lbl_802A8540: -/* 802A8540 002A54A0 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802A8544 002A54A4 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 802A8548 002A54A8 7C 00 28 00 */ cmpw r0, r5 -/* 802A854C 002A54AC 41 80 00 1C */ blt lbl_802A8568 -/* 802A8550 002A54B0 2C 05 00 00 */ cmpwi r5, 0 -/* 802A8554 002A54B4 38 61 00 5C */ addi r3, r1, 0x5c -/* 802A8558 002A54B8 38 80 00 04 */ li r4, 4 -/* 802A855C 002A54BC 41 82 00 08 */ beq lbl_802A8564 -/* 802A8560 002A54C0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A8564: -/* 802A8564 002A54C4 4B DB BD 9D */ bl "reserve__Q24rstl37vectorFi" -lbl_802A8568: -/* 802A8568 002A54C8 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802A856C 002A54CC 80 61 00 68 */ lwz r3, 0x68(r1) -/* 802A8570 002A54D0 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8574 002A54D4 7C 63 02 15 */ add. r3, r3, r0 -/* 802A8578 002A54D8 41 82 00 08 */ beq lbl_802A8580 -/* 802A857C 002A54DC B3 03 00 00 */ sth r24, 0(r3) -lbl_802A8580: -/* 802A8580 002A54E0 80 61 00 60 */ lwz r3, 0x60(r1) -/* 802A8584 002A54E4 3B 18 00 01 */ addi r24, r24, 1 -/* 802A8588 002A54E8 38 03 00 01 */ addi r0, r3, 1 -/* 802A858C 002A54EC 90 01 00 60 */ stw r0, 0x60(r1) -lbl_802A8590: -/* 802A8590 002A54F0 57 00 04 3E */ clrlwi r0, r24, 0x10 -/* 802A8594 002A54F4 28 00 00 0C */ cmplwi r0, 0xc -/* 802A8598 002A54F8 41 80 FF A8 */ blt lbl_802A8540 -/* 802A859C 002A54FC 38 60 00 00 */ li r3, 0 -/* 802A85A0 002A5500 4B FF F6 ED */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -/* 802A85A4 002A5504 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A85A8 002A5508 38 60 00 10 */ li r3, 0x10 -/* 802A85AC 002A550C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A85B0 002A5510 38 A0 00 00 */ li r5, 0 -/* 802A85B4 002A5514 48 06 D2 B9 */ bl __nw__FUlPCcPCc -/* 802A85B8 002A5518 7C 7A 1B 79 */ or. r26, r3, r3 -/* 802A85BC 002A551C 41 82 00 10 */ beq lbl_802A85CC -/* 802A85C0 002A5520 38 81 00 5C */ addi r4, r1, 0x5c -/* 802A85C4 002A5524 4B FF F5 81 */ bl "__ct__Q28COBBTree9CLeafDataFRCQ24rstl37vector" -/* 802A85C8 002A5528 7C 7A 1B 78 */ mr r26, r3 -lbl_802A85CC: -/* 802A85CC 002A552C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A85D0 002A5530 38 60 00 50 */ li r3, 0x50 -/* 802A85D4 002A5534 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A85D8 002A5538 38 A0 00 00 */ li r5, 0 -/* 802A85DC 002A553C 4B FF F6 69 */ bl __nw__Q28COBBTree5CNodeFUlPCci -/* 802A85E0 002A5540 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802A85E4 002A5544 41 82 00 30 */ beq lbl_802A8614 -/* 802A85E8 002A5548 7F E4 FB 78 */ mr r4, r31 -/* 802A85EC 002A554C 38 61 00 90 */ addi r3, r1, 0x90 -/* 802A85F0 002A5550 48 06 AB 51 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802A85F4 002A5554 7F 63 DB 78 */ mr r3, r27 -/* 802A85F8 002A5558 7F 48 D3 78 */ mr r8, r26 -/* 802A85FC 002A555C 38 81 00 90 */ addi r4, r1, 0x90 -/* 802A8600 002A5560 38 A1 00 6C */ addi r5, r1, 0x6c -/* 802A8604 002A5564 38 C0 00 00 */ li r6, 0 -/* 802A8608 002A5568 38 E0 00 00 */ li r7, 0 -/* 802A860C 002A556C 4B FF F8 D1 */ bl __ct__Q28COBBTree5CNodeFRC12CTransform4fRC9CVector3fPCQ28COBBTree5CNodePCQ28COBBTree5CNodePCQ28COBBTree9CLeafData -/* 802A8610 002A5570 7C 7B 1B 78 */ mr r27, r3 -lbl_802A8614: -/* 802A8614 002A5574 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A8618 002A5578 38 60 00 8C */ li r3, 0x8c -/* 802A861C 002A557C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A8620 002A5580 38 A0 00 00 */ li r5, 0 -/* 802A8624 002A5584 48 06 D2 49 */ bl __nw__FUlPCcPCc -/* 802A8628 002A5588 7C 64 1B 79 */ or. r4, r3, r3 -/* 802A862C 002A558C 41 82 00 14 */ beq lbl_802A8640 -/* 802A8630 002A5590 7F 65 DB 78 */ mr r5, r27 -/* 802A8634 002A5594 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 802A8638 002A5598 48 00 08 59 */ bl __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode -/* 802A863C 002A559C 7C 64 1B 78 */ mr r4, r3 -lbl_802A8640: -/* 802A8640 002A55A0 7C 04 00 D0 */ neg r0, r4 -/* 802A8644 002A55A4 7C 00 23 78 */ or r0, r0, r4 -/* 802A8648 002A55A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802A864C 002A55AC 98 1E 00 00 */ stb r0, 0(r30) -/* 802A8650 002A55B0 90 9E 00 04 */ stw r4, 4(r30) -/* 802A8654 002A55B4 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802A8658 002A55B8 80 61 00 68 */ lwz r3, 0x68(r1) -/* 802A865C 002A55BC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8660 002A55C0 7C 03 02 14 */ add r0, r3, r0 -/* 802A8664 002A55C4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802A8668 002A55C8 7C 64 1B 78 */ mr r4, r3 -/* 802A866C 002A55CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8670 002A55D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A8674 002A55D4 90 61 00 08 */ stw r3, 8(r1) -/* 802A8678 002A55D8 48 00 00 08 */ b lbl_802A8680 -lbl_802A867C: -/* 802A867C 002A55DC 38 84 00 02 */ addi r4, r4, 2 -lbl_802A8680: -/* 802A8680 002A55E0 7C 04 00 40 */ cmplw r4, r0 -/* 802A8684 002A55E4 40 82 FF F8 */ bne lbl_802A867C -/* 802A8688 002A55E8 28 03 00 00 */ cmplwi r3, 0 -/* 802A868C 002A55EC 41 82 00 08 */ beq lbl_802A8694 -/* 802A8690 002A55F0 48 06 D2 A1 */ bl Free__7CMemoryFPCv -lbl_802A8694: -/* 802A8694 002A55F4 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802A8698 002A55F8 38 80 FF FF */ li r4, -1 -/* 802A869C 002A55FC 48 00 01 11 */ bl sub_802a87ac -/* 802A86A0 002A5600 BB 01 01 30 */ lmw r24, 0x130(r1) -/* 802A86A4 002A5604 80 01 01 54 */ lwz r0, 0x154(r1) -/* 802A86A8 002A5608 7C 08 03 A6 */ mtlr r0 -/* 802A86AC 002A560C 38 21 01 50 */ addi r1, r1, 0x150 -/* 802A86B0 002A5610 4E 80 00 20 */ blr - -.global sub_802a86b4 -sub_802a86b4: -/* 802A86B4 002A5614 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A86B8 002A5618 7C 08 02 A6 */ mflr r0 -/* 802A86BC 002A561C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A86C0 002A5620 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A86C4 002A5624 7C 7F 1B 78 */ mr r31, r3 -/* 802A86C8 002A5628 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A86CC 002A562C 7C 9E 23 78 */ mr r30, r4 -/* 802A86D0 002A5630 7C 1F F0 40 */ cmplw r31, r30 -/* 802A86D4 002A5634 40 82 00 08 */ bne lbl_802A86DC -/* 802A86D8 002A5638 48 00 00 BC */ b lbl_802A8794 -lbl_802A86DC: -/* 802A86DC 002A563C 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802A86E0 002A5640 80 1F 00 04 */ lwz r0, 4(r31) -/* 802A86E4 002A5644 90 81 00 0C */ stw r4, 0xc(r1) -/* 802A86E8 002A5648 7C 64 02 14 */ add r3, r4, r0 -/* 802A86EC 002A564C 7C 04 18 50 */ subf r0, r4, r3 -/* 802A86F0 002A5650 90 61 00 14 */ stw r3, 0x14(r1) -/* 802A86F4 002A5654 90 61 00 10 */ stw r3, 0x10(r1) -/* 802A86F8 002A5658 90 81 00 08 */ stw r4, 8(r1) -/* 802A86FC 002A565C 7C 09 03 A6 */ mtctr r0 -/* 802A8700 002A5660 7C 04 18 40 */ cmplw r4, r3 -/* 802A8704 002A5664 41 82 00 08 */ beq lbl_802A870C -lbl_802A8708: -/* 802A8708 002A5668 42 00 00 00 */ bdnz lbl_802A8708 -lbl_802A870C: -/* 802A870C 002A566C 38 00 00 00 */ li r0, 0 -/* 802A8710 002A5670 90 1F 00 04 */ stw r0, 4(r31) -/* 802A8714 002A5674 80 9E 00 04 */ lwz r4, 4(r30) -/* 802A8718 002A5678 2C 04 00 00 */ cmpwi r4, 0 -/* 802A871C 002A567C 40 82 00 28 */ bne lbl_802A8744 -/* 802A8720 002A5680 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802A8724 002A5684 28 03 00 00 */ cmplwi r3, 0 -/* 802A8728 002A5688 41 82 00 08 */ beq lbl_802A8730 -/* 802A872C 002A568C 48 06 D2 05 */ bl Free__7CMemoryFPCv -lbl_802A8730: -/* 802A8730 002A5690 38 00 00 00 */ li r0, 0 -/* 802A8734 002A5694 90 1F 00 04 */ stw r0, 4(r31) -/* 802A8738 002A5698 90 1F 00 08 */ stw r0, 8(r31) -/* 802A873C 002A569C 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802A8740 002A56A0 48 00 00 50 */ b lbl_802A8790 -lbl_802A8744: -/* 802A8744 002A56A4 7F E3 FB 78 */ mr r3, r31 -/* 802A8748 002A56A8 4B F2 DA B5 */ bl "reserve__Q24rstl37vectorFi" -/* 802A874C 002A56AC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802A8750 002A56B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A8754 002A56B4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802A8758 002A56B8 7C 85 02 14 */ add r4, r5, r0 -/* 802A875C 002A56BC 7C 05 20 50 */ subf r0, r5, r4 -/* 802A8760 002A56C0 7C 09 03 A6 */ mtctr r0 -/* 802A8764 002A56C4 7C 05 20 40 */ cmplw r5, r4 -/* 802A8768 002A56C8 41 82 00 20 */ beq lbl_802A8788 -lbl_802A876C: -/* 802A876C 002A56CC 28 03 00 00 */ cmplwi r3, 0 -/* 802A8770 002A56D0 41 82 00 0C */ beq lbl_802A877C -/* 802A8774 002A56D4 88 05 00 00 */ lbz r0, 0(r5) -/* 802A8778 002A56D8 98 03 00 00 */ stb r0, 0(r3) -lbl_802A877C: -/* 802A877C 002A56DC 38 63 00 01 */ addi r3, r3, 1 -/* 802A8780 002A56E0 38 A5 00 01 */ addi r5, r5, 1 -/* 802A8784 002A56E4 42 00 FF E8 */ bdnz lbl_802A876C -lbl_802A8788: -/* 802A8788 002A56E8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A878C 002A56EC 90 1F 00 04 */ stw r0, 4(r31) -lbl_802A8790: -/* 802A8790 002A56F0 7F E3 FB 78 */ mr r3, r31 -lbl_802A8794: -/* 802A8794 002A56F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A8798 002A56F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A879C 002A56FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A87A0 002A5700 7C 08 03 A6 */ mtlr r0 -/* 802A87A4 002A5704 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A87A8 002A5708 4E 80 00 20 */ blr - -.global sub_802a87ac -sub_802a87ac: -/* 802A87AC 002A570C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802A87B0 002A5710 7C 08 02 A6 */ mflr r0 -/* 802A87B4 002A5714 90 01 00 84 */ stw r0, 0x84(r1) -/* 802A87B8 002A5718 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802A87BC 002A571C 7C 9F 23 78 */ mr r31, r4 -/* 802A87C0 002A5720 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802A87C4 002A5724 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802A87C8 002A5728 41 82 02 00 */ beq lbl_802A89C8 -/* 802A87CC 002A572C 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 802A87D0 002A5730 41 82 00 44 */ beq lbl_802A8814 -/* 802A87D4 002A5734 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 802A87D8 002A5738 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802A87DC 002A573C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A87E0 002A5740 90 61 00 6C */ stw r3, 0x6c(r1) -/* 802A87E4 002A5744 7C 64 1B 78 */ mr r4, r3 -/* 802A87E8 002A5748 7C 03 02 14 */ add r0, r3, r0 -/* 802A87EC 002A574C 90 61 00 68 */ stw r3, 0x68(r1) -/* 802A87F0 002A5750 90 01 00 74 */ stw r0, 0x74(r1) -/* 802A87F4 002A5754 90 01 00 70 */ stw r0, 0x70(r1) -/* 802A87F8 002A5758 48 00 00 08 */ b lbl_802A8800 -lbl_802A87FC: -/* 802A87FC 002A575C 38 84 00 0C */ addi r4, r4, 0xc -lbl_802A8800: -/* 802A8800 002A5760 7C 04 00 40 */ cmplw r4, r0 -/* 802A8804 002A5764 40 82 FF F8 */ bne lbl_802A87FC -/* 802A8808 002A5768 28 03 00 00 */ cmplwi r3, 0 -/* 802A880C 002A576C 41 82 00 08 */ beq lbl_802A8814 -/* 802A8810 002A5770 48 06 D1 21 */ bl Free__7CMemoryFPCv -lbl_802A8814: -/* 802A8814 002A5774 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 802A8818 002A5778 41 82 00 44 */ beq lbl_802A885C -/* 802A881C 002A577C 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802A8820 002A5780 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 802A8824 002A5784 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8828 002A5788 7C 03 02 14 */ add r0, r3, r0 -/* 802A882C 002A578C 90 61 00 5C */ stw r3, 0x5c(r1) -/* 802A8830 002A5790 7C 64 1B 78 */ mr r4, r3 -/* 802A8834 002A5794 90 01 00 64 */ stw r0, 0x64(r1) -/* 802A8838 002A5798 90 01 00 60 */ stw r0, 0x60(r1) -/* 802A883C 002A579C 90 61 00 58 */ stw r3, 0x58(r1) -/* 802A8840 002A57A0 48 00 00 08 */ b lbl_802A8848 -lbl_802A8844: -/* 802A8844 002A57A4 38 84 00 02 */ addi r4, r4, 2 -lbl_802A8848: -/* 802A8848 002A57A8 7C 04 00 40 */ cmplw r4, r0 -/* 802A884C 002A57AC 40 82 FF F8 */ bne lbl_802A8844 -/* 802A8850 002A57B0 28 03 00 00 */ cmplwi r3, 0 -/* 802A8854 002A57B4 41 82 00 08 */ beq lbl_802A885C -/* 802A8858 002A57B8 48 06 D0 D9 */ bl Free__7CMemoryFPCv -lbl_802A885C: -/* 802A885C 002A57BC 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 802A8860 002A57C0 41 82 00 44 */ beq lbl_802A88A4 -/* 802A8864 002A57C4 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 802A8868 002A57C8 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 802A886C 002A57CC 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8870 002A57D0 7C 03 02 14 */ add r0, r3, r0 -/* 802A8874 002A57D4 90 61 00 4C */ stw r3, 0x4c(r1) -/* 802A8878 002A57D8 7C 64 1B 78 */ mr r4, r3 -/* 802A887C 002A57DC 90 01 00 54 */ stw r0, 0x54(r1) -/* 802A8880 002A57E0 90 01 00 50 */ stw r0, 0x50(r1) -/* 802A8884 002A57E4 90 61 00 48 */ stw r3, 0x48(r1) -/* 802A8888 002A57E8 48 00 00 08 */ b lbl_802A8890 -lbl_802A888C: -/* 802A888C 002A57EC 38 84 00 04 */ addi r4, r4, 4 -lbl_802A8890: -/* 802A8890 002A57F0 7C 04 00 40 */ cmplw r4, r0 -/* 802A8894 002A57F4 40 82 FF F8 */ bne lbl_802A888C -/* 802A8898 002A57F8 28 03 00 00 */ cmplwi r3, 0 -/* 802A889C 002A57FC 41 82 00 08 */ beq lbl_802A88A4 -/* 802A88A0 002A5800 48 06 D0 91 */ bl Free__7CMemoryFPCv -lbl_802A88A4: -/* 802A88A4 002A5804 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 802A88A8 002A5808 41 82 00 40 */ beq lbl_802A88E8 -/* 802A88AC 002A580C 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 802A88B0 002A5810 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 802A88B4 002A5814 90 61 00 3C */ stw r3, 0x3c(r1) -/* 802A88B8 002A5818 7C 83 02 14 */ add r4, r3, r0 -/* 802A88BC 002A581C 7C 03 20 50 */ subf r0, r3, r4 -/* 802A88C0 002A5820 90 81 00 44 */ stw r4, 0x44(r1) -/* 802A88C4 002A5824 90 81 00 40 */ stw r4, 0x40(r1) -/* 802A88C8 002A5828 90 61 00 38 */ stw r3, 0x38(r1) -/* 802A88CC 002A582C 7C 09 03 A6 */ mtctr r0 -/* 802A88D0 002A5830 7C 03 20 40 */ cmplw r3, r4 -/* 802A88D4 002A5834 41 82 00 08 */ beq lbl_802A88DC -lbl_802A88D8: -/* 802A88D8 002A5838 42 00 00 00 */ bdnz lbl_802A88D8 -lbl_802A88DC: -/* 802A88DC 002A583C 28 03 00 00 */ cmplwi r3, 0 -/* 802A88E0 002A5840 41 82 00 08 */ beq lbl_802A88E8 -/* 802A88E4 002A5844 48 06 D0 4D */ bl Free__7CMemoryFPCv -lbl_802A88E8: -/* 802A88E8 002A5848 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 802A88EC 002A584C 41 82 00 40 */ beq lbl_802A892C -/* 802A88F0 002A5850 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802A88F4 002A5854 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802A88F8 002A5858 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802A88FC 002A585C 7C 83 02 14 */ add r4, r3, r0 -/* 802A8900 002A5860 7C 03 20 50 */ subf r0, r3, r4 -/* 802A8904 002A5864 90 81 00 34 */ stw r4, 0x34(r1) -/* 802A8908 002A5868 90 81 00 30 */ stw r4, 0x30(r1) -/* 802A890C 002A586C 90 61 00 28 */ stw r3, 0x28(r1) -/* 802A8910 002A5870 7C 09 03 A6 */ mtctr r0 -/* 802A8914 002A5874 7C 03 20 40 */ cmplw r3, r4 -/* 802A8918 002A5878 41 82 00 08 */ beq lbl_802A8920 -lbl_802A891C: -/* 802A891C 002A587C 42 00 00 00 */ bdnz lbl_802A891C -lbl_802A8920: -/* 802A8920 002A5880 28 03 00 00 */ cmplwi r3, 0 -/* 802A8924 002A5884 41 82 00 08 */ beq lbl_802A892C -/* 802A8928 002A5888 48 06 D0 09 */ bl Free__7CMemoryFPCv -lbl_802A892C: -/* 802A892C 002A588C 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 802A8930 002A5890 41 82 00 40 */ beq lbl_802A8970 -/* 802A8934 002A5894 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802A8938 002A5898 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802A893C 002A589C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802A8940 002A58A0 7C 83 02 14 */ add r4, r3, r0 -/* 802A8944 002A58A4 7C 03 20 50 */ subf r0, r3, r4 -/* 802A8948 002A58A8 90 81 00 24 */ stw r4, 0x24(r1) -/* 802A894C 002A58AC 90 81 00 20 */ stw r4, 0x20(r1) -/* 802A8950 002A58B0 90 61 00 18 */ stw r3, 0x18(r1) -/* 802A8954 002A58B4 7C 09 03 A6 */ mtctr r0 -/* 802A8958 002A58B8 7C 03 20 40 */ cmplw r3, r4 -/* 802A895C 002A58BC 41 82 00 08 */ beq lbl_802A8964 -lbl_802A8960: -/* 802A8960 002A58C0 42 00 00 00 */ bdnz lbl_802A8960 -lbl_802A8964: -/* 802A8964 002A58C4 28 03 00 00 */ cmplwi r3, 0 -/* 802A8968 002A58C8 41 82 00 08 */ beq lbl_802A8970 -/* 802A896C 002A58CC 48 06 CF C5 */ bl Free__7CMemoryFPCv -lbl_802A8970: -/* 802A8970 002A58D0 28 1E 00 00 */ cmplwi r30, 0 -/* 802A8974 002A58D4 41 82 00 44 */ beq lbl_802A89B8 -/* 802A8978 002A58D8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A897C 002A58DC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802A8980 002A58E0 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8984 002A58E4 7C 03 02 14 */ add r0, r3, r0 -/* 802A8988 002A58E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 802A898C 002A58EC 7C 64 1B 78 */ mr r4, r3 -/* 802A8990 002A58F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8994 002A58F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802A8998 002A58F8 90 61 00 08 */ stw r3, 8(r1) -/* 802A899C 002A58FC 48 00 00 08 */ b lbl_802A89A4 -lbl_802A89A0: -/* 802A89A0 002A5900 38 84 00 04 */ addi r4, r4, 4 -lbl_802A89A4: -/* 802A89A4 002A5904 7C 04 00 40 */ cmplw r4, r0 -/* 802A89A8 002A5908 40 82 FF F8 */ bne lbl_802A89A0 -/* 802A89AC 002A590C 28 03 00 00 */ cmplwi r3, 0 -/* 802A89B0 002A5910 41 82 00 08 */ beq lbl_802A89B8 -/* 802A89B4 002A5914 48 06 CF 7D */ bl Free__7CMemoryFPCv -lbl_802A89B8: -/* 802A89B8 002A5918 7F E0 07 35 */ extsh. r0, r31 -/* 802A89BC 002A591C 40 81 00 0C */ ble lbl_802A89C8 -/* 802A89C0 002A5920 7F C3 F3 78 */ mr r3, r30 -/* 802A89C4 002A5924 48 06 CF 6D */ bl Free__7CMemoryFPCv -lbl_802A89C8: -/* 802A89C8 002A5928 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802A89CC 002A592C 7F C3 F3 78 */ mr r3, r30 -/* 802A89D0 002A5930 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802A89D4 002A5934 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802A89D8 002A5938 7C 08 03 A6 */ mtlr r0 -/* 802A89DC 002A593C 38 21 00 80 */ addi r1, r1, 0x80 -/* 802A89E0 002A5940 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree10SIndexDataFv -__ct__Q28COBBTree10SIndexDataFv: -/* 802A89E4 002A5944 38 00 00 00 */ li r0, 0 -/* 802A89E8 002A5948 90 03 00 04 */ stw r0, 4(r3) -/* 802A89EC 002A594C 90 03 00 08 */ stw r0, 8(r3) -/* 802A89F0 002A5950 90 03 00 0C */ stw r0, 0xc(r3) -/* 802A89F4 002A5954 90 03 00 14 */ stw r0, 0x14(r3) -/* 802A89F8 002A5958 90 03 00 18 */ stw r0, 0x18(r3) -/* 802A89FC 002A595C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802A8A00 002A5960 90 03 00 24 */ stw r0, 0x24(r3) -/* 802A8A04 002A5964 90 03 00 28 */ stw r0, 0x28(r3) -/* 802A8A08 002A5968 90 03 00 2C */ stw r0, 0x2c(r3) -/* 802A8A0C 002A596C 90 03 00 34 */ stw r0, 0x34(r3) -/* 802A8A10 002A5970 90 03 00 38 */ stw r0, 0x38(r3) -/* 802A8A14 002A5974 90 03 00 3C */ stw r0, 0x3c(r3) -/* 802A8A18 002A5978 90 03 00 44 */ stw r0, 0x44(r3) -/* 802A8A1C 002A597C 90 03 00 48 */ stw r0, 0x48(r3) -/* 802A8A20 002A5980 90 03 00 4C */ stw r0, 0x4c(r3) -/* 802A8A24 002A5984 90 03 00 54 */ stw r0, 0x54(r3) -/* 802A8A28 002A5988 90 03 00 58 */ stw r0, 0x58(r3) -/* 802A8A2C 002A598C 90 03 00 5C */ stw r0, 0x5c(r3) -/* 802A8A30 002A5990 90 03 00 64 */ stw r0, 0x64(r3) -/* 802A8A34 002A5994 90 03 00 68 */ stw r0, 0x68(r3) -/* 802A8A38 002A5998 90 03 00 6C */ stw r0, 0x6c(r3) -/* 802A8A3C 002A599C 4E 80 00 20 */ blr - -.global GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f: -/* 802A8A40 002A59A0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802A8A44 002A59A4 7C 08 02 A6 */ mflr r0 -/* 802A8A48 002A59A8 54 A9 04 3E */ clrlwi r9, r5, 0x10 -/* 802A8A4C 002A59AC 90 01 00 74 */ stw r0, 0x74(r1) -/* 802A8A50 002A59B0 1C A9 00 03 */ mulli r5, r9, 3 -/* 802A8A54 002A59B4 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 802A8A58 002A59B8 7C 7C 1B 78 */ mr r28, r3 -/* 802A8A5C 002A59BC 38 05 00 01 */ addi r0, r5, 1 -/* 802A8A60 002A59C0 7C DD 33 78 */ mr r29, r6 -/* 802A8A64 002A59C4 54 A5 08 3C */ slwi r5, r5, 1 -/* 802A8A68 002A59C8 38 60 00 00 */ li r3, 0 -/* 802A8A6C 002A59CC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8A70 002A59D0 80 E4 00 74 */ lwz r7, 0x74(r4) -/* 802A8A74 002A59D4 81 04 00 64 */ lwz r8, 0x64(r4) -/* 802A8A78 002A59D8 7C A7 2A 2E */ lhzx r5, r7, r5 -/* 802A8A7C 002A59DC 7C 07 02 2E */ lhzx r0, r7, r0 -/* 802A8A80 002A59E0 54 A5 10 3A */ slwi r5, r5, 2 -/* 802A8A84 002A59E4 7C C8 2A 14 */ add r6, r8, r5 -/* 802A8A88 002A59E8 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8A8C 002A59EC 7C A8 02 14 */ add r5, r8, r0 -/* 802A8A90 002A59F0 A3 E6 00 00 */ lhz r31, 0(r6) -/* 802A8A94 002A59F4 A0 E5 00 00 */ lhz r7, 0(r5) -/* 802A8A98 002A59F8 7C 07 F8 40 */ cmplw r7, r31 -/* 802A8A9C 002A59FC 41 82 00 14 */ beq lbl_802A8AB0 -/* 802A8AA0 002A5A00 A0 06 00 02 */ lhz r0, 2(r6) -/* 802A8AA4 002A5A04 7C 07 00 40 */ cmplw r7, r0 -/* 802A8AA8 002A5A08 41 82 00 08 */ beq lbl_802A8AB0 -/* 802A8AAC 002A5A0C 38 60 00 01 */ li r3, 1 -lbl_802A8AB0: -/* 802A8AB0 002A5A10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A8AB4 002A5A14 41 82 00 08 */ beq lbl_802A8ABC -/* 802A8AB8 002A5A18 48 00 00 08 */ b lbl_802A8AC0 -lbl_802A8ABC: -/* 802A8ABC 002A5A1C A0 E5 00 02 */ lhz r7, 2(r5) -lbl_802A8AC0: -/* 802A8AC0 002A5A20 80 64 00 54 */ lwz r3, 0x54(r4) -/* 802A8AC4 002A5A24 80 A4 00 24 */ lwz r5, 0x24(r4) -/* 802A8AC8 002A5A28 7C 03 48 AE */ lbzx r0, r3, r9 -/* 802A8ACC 002A5A2C 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8AD0 002A5A30 7F C5 00 2E */ lwzx r30, r5, r0 -/* 802A8AD4 002A5A34 57 C0 01 8D */ rlwinm. r0, r30, 0, 6, 6 -/* 802A8AD8 002A5A38 41 82 00 6C */ beq lbl_802A8B44 -/* 802A8ADC 002A5A3C A0 06 00 02 */ lhz r0, 2(r6) -/* 802A8AE0 002A5A40 54 E3 04 3E */ clrlwi r3, r7, 0x10 -/* 802A8AE4 002A5A44 1C A3 00 0C */ mulli r5, r3, 0xc -/* 802A8AE8 002A5A48 83 44 00 84 */ lwz r26, 0x84(r4) -/* 802A8AEC 002A5A4C 7F A4 EB 78 */ mr r4, r29 -/* 802A8AF0 002A5A50 38 61 00 2C */ addi r3, r1, 0x2c -/* 802A8AF4 002A5A54 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A8AF8 002A5A58 7C BA 2A 14 */ add r5, r26, r5 -/* 802A8AFC 002A5A5C 7F 7A 02 14 */ add r27, r26, r0 -/* 802A8B00 002A5A60 48 06 9F E9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B04 002A5A64 1C 1F 00 0C */ mulli r0, r31, 0xc -/* 802A8B08 002A5A68 7F A4 EB 78 */ mr r4, r29 -/* 802A8B0C 002A5A6C 38 61 00 38 */ addi r3, r1, 0x38 -/* 802A8B10 002A5A70 7C BA 02 14 */ add r5, r26, r0 -/* 802A8B14 002A5A74 48 06 9F D5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B18 002A5A78 7F A4 EB 78 */ mr r4, r29 -/* 802A8B1C 002A5A7C 7F 65 DB 78 */ mr r5, r27 -/* 802A8B20 002A5A80 38 61 00 44 */ addi r3, r1, 0x44 -/* 802A8B24 002A5A84 48 06 9F C5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B28 002A5A88 7F 83 E3 78 */ mr r3, r28 -/* 802A8B2C 002A5A8C 7F C7 F3 78 */ mr r7, r30 -/* 802A8B30 002A5A90 38 81 00 44 */ addi r4, r1, 0x44 -/* 802A8B34 002A5A94 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802A8B38 002A5A98 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802A8B3C 002A5A9C 4B FF 9B ED */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 802A8B40 002A5AA0 48 00 00 68 */ b lbl_802A8BA8 -lbl_802A8B44: -/* 802A8B44 002A5AA4 A0 06 00 02 */ lhz r0, 2(r6) -/* 802A8B48 002A5AA8 54 E3 04 3E */ clrlwi r3, r7, 0x10 -/* 802A8B4C 002A5AAC 1C A3 00 0C */ mulli r5, r3, 0xc -/* 802A8B50 002A5AB0 83 44 00 84 */ lwz r26, 0x84(r4) -/* 802A8B54 002A5AB4 7F A4 EB 78 */ mr r4, r29 -/* 802A8B58 002A5AB8 38 61 00 08 */ addi r3, r1, 8 -/* 802A8B5C 002A5ABC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A8B60 002A5AC0 7C BA 2A 14 */ add r5, r26, r5 -/* 802A8B64 002A5AC4 7F 7A 02 14 */ add r27, r26, r0 -/* 802A8B68 002A5AC8 48 06 9F 81 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B6C 002A5ACC 7F A4 EB 78 */ mr r4, r29 -/* 802A8B70 002A5AD0 7F 65 DB 78 */ mr r5, r27 -/* 802A8B74 002A5AD4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A8B78 002A5AD8 48 06 9F 71 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B7C 002A5ADC 1C 1F 00 0C */ mulli r0, r31, 0xc -/* 802A8B80 002A5AE0 7F A4 EB 78 */ mr r4, r29 -/* 802A8B84 002A5AE4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A8B88 002A5AE8 7C BA 02 14 */ add r5, r26, r0 -/* 802A8B8C 002A5AEC 48 06 9F 5D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802A8B90 002A5AF0 7F 83 E3 78 */ mr r3, r28 -/* 802A8B94 002A5AF4 7F C7 F3 78 */ mr r7, r30 -/* 802A8B98 002A5AF8 38 81 00 20 */ addi r4, r1, 0x20 -/* 802A8B9C 002A5AFC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802A8BA0 002A5B00 38 C1 00 08 */ addi r6, r1, 8 -/* 802A8BA4 002A5B04 4B FF 9B 85 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -lbl_802A8BA8: -/* 802A8BA8 002A5B08 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 802A8BAC 002A5B0C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802A8BB0 002A5B10 7C 08 03 A6 */ mtlr r0 -/* 802A8BB4 002A5B14 38 21 00 70 */ addi r1, r1, 0x70 -/* 802A8BB8 002A5B18 4E 80 00 20 */ blr - -.global GetSurface__8COBBTreeCFUs -GetSurface__8COBBTreeCFUs: -/* 802A8BBC 002A5B1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8BC0 002A5B20 7C 08 02 A6 */ mflr r0 -/* 802A8BC4 002A5B24 54 AA 04 3E */ clrlwi r10, r5, 0x10 -/* 802A8BC8 002A5B28 38 A0 00 00 */ li r5, 0 -/* 802A8BCC 002A5B2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8BD0 002A5B30 1C CA 00 03 */ mulli r6, r10, 3 -/* 802A8BD4 002A5B34 80 E4 00 74 */ lwz r7, 0x74(r4) -/* 802A8BD8 002A5B38 38 06 00 01 */ addi r0, r6, 1 -/* 802A8BDC 002A5B3C 81 24 00 64 */ lwz r9, 0x64(r4) -/* 802A8BE0 002A5B40 54 C6 08 3C */ slwi r6, r6, 1 -/* 802A8BE4 002A5B44 54 00 08 3C */ slwi r0, r0, 1 -/* 802A8BE8 002A5B48 7C C7 32 2E */ lhzx r6, r7, r6 -/* 802A8BEC 002A5B4C 7C 07 02 2E */ lhzx r0, r7, r0 -/* 802A8BF0 002A5B50 54 C6 10 3A */ slwi r6, r6, 2 -/* 802A8BF4 002A5B54 7D 09 32 14 */ add r8, r9, r6 -/* 802A8BF8 002A5B58 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8BFC 002A5B5C 7C C9 02 14 */ add r6, r9, r0 -/* 802A8C00 002A5B60 A1 68 00 00 */ lhz r11, 0(r8) -/* 802A8C04 002A5B64 A1 26 00 00 */ lhz r9, 0(r6) -/* 802A8C08 002A5B68 7C 09 58 40 */ cmplw r9, r11 -/* 802A8C0C 002A5B6C 41 82 00 14 */ beq lbl_802A8C20 -/* 802A8C10 002A5B70 A0 08 00 02 */ lhz r0, 2(r8) -/* 802A8C14 002A5B74 7C 09 00 40 */ cmplw r9, r0 -/* 802A8C18 002A5B78 41 82 00 08 */ beq lbl_802A8C20 -/* 802A8C1C 002A5B7C 38 A0 00 01 */ li r5, 1 -lbl_802A8C20: -/* 802A8C20 002A5B80 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802A8C24 002A5B84 41 82 00 08 */ beq lbl_802A8C2C -/* 802A8C28 002A5B88 48 00 00 08 */ b lbl_802A8C30 -lbl_802A8C2C: -/* 802A8C2C 002A5B8C A1 26 00 02 */ lhz r9, 2(r6) -lbl_802A8C30: -/* 802A8C30 002A5B90 80 A4 00 54 */ lwz r5, 0x54(r4) -/* 802A8C34 002A5B94 80 C4 00 24 */ lwz r6, 0x24(r4) -/* 802A8C38 002A5B98 7C 05 50 AE */ lbzx r0, r5, r10 -/* 802A8C3C 002A5B9C 54 00 10 3A */ slwi r0, r0, 2 -/* 802A8C40 002A5BA0 7C E6 00 2E */ lwzx r7, r6, r0 -/* 802A8C44 002A5BA4 54 E0 01 8D */ rlwinm. r0, r7, 0, 6, 6 -/* 802A8C48 002A5BA8 41 82 00 30 */ beq lbl_802A8C78 -/* 802A8C4C 002A5BAC A0 08 00 02 */ lhz r0, 2(r8) -/* 802A8C50 002A5BB0 55 25 04 3E */ clrlwi r5, r9, 0x10 -/* 802A8C54 002A5BB4 81 04 00 84 */ lwz r8, 0x84(r4) -/* 802A8C58 002A5BB8 1C A5 00 0C */ mulli r5, r5, 0xc -/* 802A8C5C 002A5BBC 1C 80 00 0C */ mulli r4, r0, 0xc -/* 802A8C60 002A5BC0 7C C8 2A 14 */ add r6, r8, r5 -/* 802A8C64 002A5BC4 1C 0B 00 0C */ mulli r0, r11, 0xc -/* 802A8C68 002A5BC8 7C 88 22 14 */ add r4, r8, r4 -/* 802A8C6C 002A5BCC 7C A8 02 14 */ add r5, r8, r0 -/* 802A8C70 002A5BD0 4B FF 9A B9 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -/* 802A8C74 002A5BD4 48 00 00 2C */ b lbl_802A8CA0 -lbl_802A8C78: -/* 802A8C78 002A5BD8 A0 08 00 02 */ lhz r0, 2(r8) -/* 802A8C7C 002A5BDC 55 25 04 3E */ clrlwi r5, r9, 0x10 -/* 802A8C80 002A5BE0 81 04 00 84 */ lwz r8, 0x84(r4) -/* 802A8C84 002A5BE4 1C A5 00 0C */ mulli r5, r5, 0xc -/* 802A8C88 002A5BE8 1C 8B 00 0C */ mulli r4, r11, 0xc -/* 802A8C8C 002A5BEC 7C C8 2A 14 */ add r6, r8, r5 -/* 802A8C90 002A5BF0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A8C94 002A5BF4 7C 88 22 14 */ add r4, r8, r4 -/* 802A8C98 002A5BF8 7C A8 02 14 */ add r5, r8, r0 -/* 802A8C9C 002A5BFC 4B FF 9A 8D */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi -lbl_802A8CA0: -/* 802A8CA0 002A5C00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8CA4 002A5C04 7C 08 03 A6 */ mtlr r0 -/* 802A8CA8 002A5C08 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8CAC 002A5C0C 4E 80 00 20 */ blr - -.global CalculateLocalAABox__8COBBTreeCFv -CalculateLocalAABox__8COBBTreeCFv: -/* 802A8CB0 002A5C10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8CB4 002A5C14 7C 08 02 A6 */ mflr r0 -/* 802A8CB8 002A5C18 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8CBC 002A5C1C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A8CC0 002A5C20 7C 7F 1B 78 */ mr r31, r3 -/* 802A8CC4 002A5C24 80 84 00 88 */ lwz r4, 0x88(r4) -/* 802A8CC8 002A5C28 28 04 00 00 */ cmplwi r4, 0 -/* 802A8CCC 002A5C2C 41 82 00 14 */ beq lbl_802A8CE0 -/* 802A8CD0 002A5C30 3C A0 80 5A */ lis r5, skIdentity4f@ha -/* 802A8CD4 002A5C34 38 A5 66 70 */ addi r5, r5, skIdentity4f@l -/* 802A8CD8 002A5C38 48 02 D1 01 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f -/* 802A8CDC 002A5C3C 48 00 00 20 */ b lbl_802A8CFC -lbl_802A8CE0: -/* 802A8CE0 002A5C40 C0 02 C1 A8 */ lfs f0, lbl_805ADEC8@sda21(r2) -/* 802A8CE4 002A5C44 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802A8CE8 002A5C48 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802A8CEC 002A5C4C D0 1F 00 08 */ stfs f0, 8(r31) -/* 802A8CF0 002A5C50 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 802A8CF4 002A5C54 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 802A8CF8 002A5C58 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_802A8CFC: -/* 802A8CFC 002A5C5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8D00 002A5C60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A8D04 002A5C64 7C 08 03 A6 */ mtlr r0 -/* 802A8D08 002A5C68 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8D0C 002A5C6C 4E 80 00 20 */ blr - -.global __dt__8COBBTreeFv -__dt__8COBBTreeFv: -/* 802A8D10 002A5C70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8D14 002A5C74 7C 08 02 A6 */ mflr r0 -/* 802A8D18 002A5C78 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8D1C 002A5C7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A8D20 002A5C80 7C 9F 23 78 */ mr r31, r4 -/* 802A8D24 002A5C84 93 C1 00 08 */ stw r30, 8(r1) -/* 802A8D28 002A5C88 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802A8D2C 002A5C8C 41 82 00 58 */ beq lbl_802A8D84 -/* 802A8D30 002A5C90 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 802A8D34 002A5C94 28 00 00 00 */ cmplwi r0, 0 -/* 802A8D38 002A5C98 41 82 00 10 */ beq lbl_802A8D48 -/* 802A8D3C 002A5C9C 38 7E 00 0C */ addi r3, r30, 0xc -/* 802A8D40 002A5CA0 4B FF EF 4D */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -/* 802A8D44 002A5CA4 48 00 00 0C */ b lbl_802A8D50 -lbl_802A8D48: -/* 802A8D48 002A5CA8 38 60 00 00 */ li r3, 0 -/* 802A8D4C 002A5CAC 4B FF EF 41 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -lbl_802A8D50: -/* 802A8D50 002A5CB0 80 7E 00 88 */ lwz r3, 0x88(r30) -/* 802A8D54 002A5CB4 38 80 00 01 */ li r4, 1 -/* 802A8D58 002A5CB8 4B FF EF B5 */ bl __dt__Q28COBBTree5CNodeFv -/* 802A8D5C 002A5CBC 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802A8D60 002A5CC0 38 80 FF FF */ li r4, -1 -/* 802A8D64 002A5CC4 4B FF FA 49 */ bl sub_802a87ac -/* 802A8D68 002A5CC8 38 7E 00 0C */ addi r3, r30, 0xc -/* 802A8D6C 002A5CCC 38 80 FF FF */ li r4, -1 -/* 802A8D70 002A5CD0 4B FF EC 39 */ bl __dt__Q28COBBTree16CSimpleAllocatorFv -/* 802A8D74 002A5CD4 7F E0 07 35 */ extsh. r0, r31 -/* 802A8D78 002A5CD8 40 81 00 0C */ ble lbl_802A8D84 -/* 802A8D7C 002A5CDC 7F C3 F3 78 */ mr r3, r30 -/* 802A8D80 002A5CE0 48 06 CB B1 */ bl Free__7CMemoryFPCv -lbl_802A8D84: -/* 802A8D84 002A5CE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8D88 002A5CE8 7F C3 F3 78 */ mr r3, r30 -/* 802A8D8C 002A5CEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A8D90 002A5CF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A8D94 002A5CF4 7C 08 03 A6 */ mtlr r0 -/* 802A8D98 002A5CF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8D9C 002A5CFC 4E 80 00 20 */ blr - -.global __ct__8COBBTreeFR12CInputStream -__ct__8COBBTreeFR12CInputStream: -/* 802A8DA0 002A5D00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8DA4 002A5D04 7C 08 02 A6 */ mflr r0 -/* 802A8DA8 002A5D08 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8DAC 002A5D0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A8DB0 002A5D10 7C 9F 23 78 */ mr r31, r4 -/* 802A8DB4 002A5D14 93 C1 00 08 */ stw r30, 8(r1) -/* 802A8DB8 002A5D18 7C 7E 1B 78 */ mr r30, r3 -/* 802A8DBC 002A5D1C 7F E3 FB 78 */ mr r3, r31 -/* 802A8DC0 002A5D20 48 00 00 B1 */ bl verify_deaf_babe__FR12CInputStream -/* 802A8DC4 002A5D24 90 7E 00 00 */ stw r3, 0(r30) -/* 802A8DC8 002A5D28 7F E3 FB 78 */ mr r3, r31 -/* 802A8DCC 002A5D2C 48 00 00 85 */ bl verify_version__FR12CInputStream -/* 802A8DD0 002A5D30 90 7E 00 04 */ stw r3, 4(r30) -/* 802A8DD4 002A5D34 7F E3 FB 78 */ mr r3, r31 -/* 802A8DD8 002A5D38 48 09 5E AD */ bl ReadLong__12CInputStreamFv -/* 802A8DDC 002A5D3C 90 7E 00 08 */ stw r3, 8(r30) -/* 802A8DE0 002A5D40 38 7E 00 0C */ addi r3, r30, 0xc -/* 802A8DE4 002A5D44 80 9E 00 08 */ lwz r4, 8(r30) -/* 802A8DE8 002A5D48 4B FF EC 1D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi -/* 802A8DEC 002A5D4C 7F E4 FB 78 */ mr r4, r31 -/* 802A8DF0 002A5D50 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802A8DF4 002A5D54 48 00 05 71 */ bl __ct__Q28COBBTree10SIndexDataFR12CInputStream -/* 802A8DF8 002A5D58 38 00 00 00 */ li r0, 0 -/* 802A8DFC 002A5D5C 38 7E 00 0C */ addi r3, r30, 0xc -/* 802A8E00 002A5D60 90 1E 00 88 */ stw r0, 0x88(r30) -/* 802A8E04 002A5D64 4B FF EE 89 */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -/* 802A8E08 002A5D68 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A8E0C 002A5D6C 38 60 00 50 */ li r3, 0x50 -/* 802A8E10 002A5D70 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A8E14 002A5D74 38 A0 00 00 */ li r5, 0 -/* 802A8E18 002A5D78 4B FF EE 2D */ bl __nw__Q28COBBTree5CNodeFUlPCci -/* 802A8E1C 002A5D7C 7C 60 1B 79 */ or. r0, r3, r3 -/* 802A8E20 002A5D80 41 82 00 10 */ beq lbl_802A8E30 -/* 802A8E24 002A5D84 7F E4 FB 78 */ mr r4, r31 -/* 802A8E28 002A5D88 4B FF EF AD */ bl __ct__Q28COBBTree5CNodeFR12CInputStream -/* 802A8E2C 002A5D8C 7C 60 1B 78 */ mr r0, r3 -lbl_802A8E30: -/* 802A8E30 002A5D90 90 1E 00 88 */ stw r0, 0x88(r30) -/* 802A8E34 002A5D94 7F C3 F3 78 */ mr r3, r30 -/* 802A8E38 002A5D98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8E3C 002A5D9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A8E40 002A5DA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A8E44 002A5DA4 7C 08 03 A6 */ mtlr r0 -/* 802A8E48 002A5DA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8E4C 002A5DAC 4E 80 00 20 */ blr - -.global verify_version__FR12CInputStream -verify_version__FR12CInputStream: -/* 802A8E50 002A5DB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8E54 002A5DB4 7C 08 02 A6 */ mflr r0 -/* 802A8E58 002A5DB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8E5C 002A5DBC 48 09 5E 29 */ bl ReadLong__12CInputStreamFv -/* 802A8E60 002A5DC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8E64 002A5DC4 7C 08 03 A6 */ mtlr r0 -/* 802A8E68 002A5DC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8E6C 002A5DCC 4E 80 00 20 */ blr - -.global verify_deaf_babe__FR12CInputStream -verify_deaf_babe__FR12CInputStream: -/* 802A8E70 002A5DD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8E74 002A5DD4 7C 08 02 A6 */ mflr r0 -/* 802A8E78 002A5DD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8E7C 002A5DDC 48 09 5E 09 */ bl ReadLong__12CInputStreamFv -/* 802A8E80 002A5DE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A8E84 002A5DE4 7C 08 03 A6 */ mtlr r0 -/* 802A8E88 002A5DE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A8E8C 002A5DEC 4E 80 00 20 */ blr - -.global __ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode -__ct__8COBBTreeFRCQ28COBBTree10SIndexDataPCQ28COBBTree5CNode: -/* 802A8E90 002A5DF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A8E94 002A5DF4 7C 08 02 A6 */ mflr r0 -/* 802A8E98 002A5DF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A8E9C 002A5DFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A8EA0 002A5E00 7C BF 2B 78 */ mr r31, r5 -/* 802A8EA4 002A5E04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A8EA8 002A5E08 7C 9E 23 78 */ mr r30, r4 -/* 802A8EAC 002A5E0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802A8EB0 002A5E10 7C 7D 1B 78 */ mr r29, r3 -/* 802A8EB4 002A5E14 7F E3 FB 78 */ mr r3, r31 -/* 802A8EB8 002A5E18 4B FF ED DD */ bl GetMemoryUsage__Q28COBBTree5CNodeCFv -/* 802A8EBC 002A5E1C 90 7D 00 08 */ stw r3, 8(r29) -/* 802A8EC0 002A5E20 38 7D 00 0C */ addi r3, r29, 0xc -/* 802A8EC4 002A5E24 38 80 00 00 */ li r4, 0 -/* 802A8EC8 002A5E28 4B FF EB 3D */ bl __ct__Q28COBBTree16CSimpleAllocatorFUi -/* 802A8ECC 002A5E2C 7F C4 F3 78 */ mr r4, r30 -/* 802A8ED0 002A5E30 38 7D 00 18 */ addi r3, r29, 0x18 -/* 802A8ED4 002A5E34 48 00 00 31 */ bl __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData -/* 802A8ED8 002A5E38 93 FD 00 88 */ stw r31, 0x88(r29) -/* 802A8EDC 002A5E3C 38 60 00 00 */ li r3, 0 -/* 802A8EE0 002A5E40 4B FF ED AD */ bl SetAllocator__Q28COBBTree5CNodeFPQ28COBBTree16CSimpleAllocator -/* 802A8EE4 002A5E44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A8EE8 002A5E48 7F A3 EB 78 */ mr r3, r29 -/* 802A8EEC 002A5E4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A8EF0 002A5E50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A8EF4 002A5E54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802A8EF8 002A5E58 7C 08 03 A6 */ mtlr r0 -/* 802A8EFC 002A5E5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A8F00 002A5E60 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData -__ct__Q28COBBTree10SIndexDataFRCQ28COBBTree10SIndexData: -/* 802A8F04 002A5E64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A8F08 002A5E68 7C 08 02 A6 */ mflr r0 -/* 802A8F0C 002A5E6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A8F10 002A5E70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A8F14 002A5E74 7C 9F 23 78 */ mr r31, r4 -/* 802A8F18 002A5E78 93 C1 00 08 */ stw r30, 8(r1) -/* 802A8F1C 002A5E7C 7C 7E 1B 78 */ mr r30, r3 -/* 802A8F20 002A5E80 80 04 00 04 */ lwz r0, 4(r4) -/* 802A8F24 002A5E84 90 03 00 04 */ stw r0, 4(r3) -/* 802A8F28 002A5E88 80 04 00 08 */ lwz r0, 8(r4) -/* 802A8F2C 002A5E8C 90 03 00 08 */ stw r0, 8(r3) -/* 802A8F30 002A5E90 80 04 00 04 */ lwz r0, 4(r4) -/* 802A8F34 002A5E94 2C 00 00 00 */ cmpwi r0, 0 -/* 802A8F38 002A5E98 40 82 00 1C */ bne lbl_802A8F54 -/* 802A8F3C 002A5E9C 80 1F 00 08 */ lwz r0, 8(r31) -/* 802A8F40 002A5EA0 2C 00 00 00 */ cmpwi r0, 0 -/* 802A8F44 002A5EA4 40 82 00 10 */ bne lbl_802A8F54 -/* 802A8F48 002A5EA8 38 00 00 00 */ li r0, 0 -/* 802A8F4C 002A5EAC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802A8F50 002A5EB0 48 00 00 64 */ b lbl_802A8FB4 -lbl_802A8F54: -/* 802A8F54 002A5EB4 80 1E 00 08 */ lwz r0, 8(r30) -/* 802A8F58 002A5EB8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802A8F5C 002A5EBC 40 82 00 10 */ bne lbl_802A8F6C -/* 802A8F60 002A5EC0 38 00 00 00 */ li r0, 0 -/* 802A8F64 002A5EC4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802A8F68 002A5EC8 48 00 00 18 */ b lbl_802A8F80 -lbl_802A8F6C: -/* 802A8F6C 002A5ECC 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A8F70 002A5ED0 38 A0 00 00 */ li r5, 0 -/* 802A8F74 002A5ED4 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A8F78 002A5ED8 48 06 C8 A1 */ bl __nwa__FUlPCcPCc -/* 802A8F7C 002A5EDC 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802A8F80: -/* 802A8F80 002A5EE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A8F84 002A5EE4 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802A8F88 002A5EE8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802A8F8C 002A5EEC 7C 09 03 A6 */ mtctr r0 -/* 802A8F90 002A5EF0 2C 00 00 00 */ cmpwi r0, 0 -/* 802A8F94 002A5EF4 40 81 00 20 */ ble lbl_802A8FB4 -lbl_802A8F98: -/* 802A8F98 002A5EF8 28 03 00 00 */ cmplwi r3, 0 -/* 802A8F9C 002A5EFC 41 82 00 0C */ beq lbl_802A8FA8 -/* 802A8FA0 002A5F00 80 04 00 00 */ lwz r0, 0(r4) -/* 802A8FA4 002A5F04 90 03 00 00 */ stw r0, 0(r3) -lbl_802A8FA8: -/* 802A8FA8 002A5F08 38 63 00 04 */ addi r3, r3, 4 -/* 802A8FAC 002A5F0C 38 84 00 04 */ addi r4, r4, 4 -/* 802A8FB0 002A5F10 42 00 FF E8 */ bdnz lbl_802A8F98 -lbl_802A8FB4: -/* 802A8FB4 002A5F14 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802A8FB8 002A5F18 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802A8FBC 002A5F1C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802A8FC0 002A5F20 90 1E 00 18 */ stw r0, 0x18(r30) -/* 802A8FC4 002A5F24 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802A8FC8 002A5F28 2C 00 00 00 */ cmpwi r0, 0 -/* 802A8FCC 002A5F2C 40 82 00 1C */ bne lbl_802A8FE8 -/* 802A8FD0 002A5F30 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802A8FD4 002A5F34 2C 00 00 00 */ cmpwi r0, 0 -/* 802A8FD8 002A5F38 40 82 00 10 */ bne lbl_802A8FE8 -/* 802A8FDC 002A5F3C 38 00 00 00 */ li r0, 0 -/* 802A8FE0 002A5F40 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802A8FE4 002A5F44 48 00 00 64 */ b lbl_802A9048 -lbl_802A8FE8: -/* 802A8FE8 002A5F48 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 802A8FEC 002A5F4C 2C 03 00 00 */ cmpwi r3, 0 -/* 802A8FF0 002A5F50 40 82 00 10 */ bne lbl_802A9000 -/* 802A8FF4 002A5F54 38 00 00 00 */ li r0, 0 -/* 802A8FF8 002A5F58 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802A8FFC 002A5F5C 48 00 00 18 */ b lbl_802A9014 -lbl_802A9000: -/* 802A9000 002A5F60 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A9004 002A5F64 38 A0 00 00 */ li r5, 0 -/* 802A9008 002A5F68 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A900C 002A5F6C 48 06 C8 0D */ bl __nwa__FUlPCcPCc -/* 802A9010 002A5F70 90 7E 00 1C */ stw r3, 0x1c(r30) -lbl_802A9014: -/* 802A9014 002A5F74 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802A9018 002A5F78 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 802A901C 002A5F7C 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802A9020 002A5F80 7C 09 03 A6 */ mtctr r0 -/* 802A9024 002A5F84 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9028 002A5F88 40 81 00 20 */ ble lbl_802A9048 -lbl_802A902C: -/* 802A902C 002A5F8C 28 03 00 00 */ cmplwi r3, 0 -/* 802A9030 002A5F90 41 82 00 0C */ beq lbl_802A903C -/* 802A9034 002A5F94 88 04 00 00 */ lbz r0, 0(r4) -/* 802A9038 002A5F98 98 03 00 00 */ stb r0, 0(r3) -lbl_802A903C: -/* 802A903C 002A5F9C 38 63 00 01 */ addi r3, r3, 1 -/* 802A9040 002A5FA0 38 84 00 01 */ addi r4, r4, 1 -/* 802A9044 002A5FA4 42 00 FF E8 */ bdnz lbl_802A902C -lbl_802A9048: -/* 802A9048 002A5FA8 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 802A904C 002A5FAC 90 1E 00 24 */ stw r0, 0x24(r30) -/* 802A9050 002A5FB0 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 802A9054 002A5FB4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 802A9058 002A5FB8 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 802A905C 002A5FBC 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9060 002A5FC0 40 82 00 1C */ bne lbl_802A907C -/* 802A9064 002A5FC4 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 802A9068 002A5FC8 2C 00 00 00 */ cmpwi r0, 0 -/* 802A906C 002A5FCC 40 82 00 10 */ bne lbl_802A907C -/* 802A9070 002A5FD0 38 00 00 00 */ li r0, 0 -/* 802A9074 002A5FD4 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802A9078 002A5FD8 48 00 00 64 */ b lbl_802A90DC -lbl_802A907C: -/* 802A907C 002A5FDC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 802A9080 002A5FE0 2C 03 00 00 */ cmpwi r3, 0 -/* 802A9084 002A5FE4 40 82 00 10 */ bne lbl_802A9094 -/* 802A9088 002A5FE8 38 00 00 00 */ li r0, 0 -/* 802A908C 002A5FEC 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802A9090 002A5FF0 48 00 00 18 */ b lbl_802A90A8 -lbl_802A9094: -/* 802A9094 002A5FF4 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A9098 002A5FF8 38 A0 00 00 */ li r5, 0 -/* 802A909C 002A5FFC 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A90A0 002A6000 48 06 C7 79 */ bl __nwa__FUlPCcPCc -/* 802A90A4 002A6004 90 7E 00 2C */ stw r3, 0x2c(r30) -lbl_802A90A8: -/* 802A90A8 002A6008 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802A90AC 002A600C 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 802A90B0 002A6010 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802A90B4 002A6014 7C 09 03 A6 */ mtctr r0 -/* 802A90B8 002A6018 2C 00 00 00 */ cmpwi r0, 0 -/* 802A90BC 002A601C 40 81 00 20 */ ble lbl_802A90DC -lbl_802A90C0: -/* 802A90C0 002A6020 28 03 00 00 */ cmplwi r3, 0 -/* 802A90C4 002A6024 41 82 00 0C */ beq lbl_802A90D0 -/* 802A90C8 002A6028 88 04 00 00 */ lbz r0, 0(r4) -/* 802A90CC 002A602C 98 03 00 00 */ stb r0, 0(r3) -lbl_802A90D0: -/* 802A90D0 002A6030 38 63 00 01 */ addi r3, r3, 1 -/* 802A90D4 002A6034 38 84 00 01 */ addi r4, r4, 1 -/* 802A90D8 002A6038 42 00 FF E8 */ bdnz lbl_802A90C0 -lbl_802A90DC: -/* 802A90DC 002A603C 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 802A90E0 002A6040 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802A90E4 002A6044 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 802A90E8 002A6048 90 1E 00 38 */ stw r0, 0x38(r30) -/* 802A90EC 002A604C 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 802A90F0 002A6050 2C 00 00 00 */ cmpwi r0, 0 -/* 802A90F4 002A6054 40 82 00 1C */ bne lbl_802A9110 -/* 802A90F8 002A6058 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 802A90FC 002A605C 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9100 002A6060 40 82 00 10 */ bne lbl_802A9110 -/* 802A9104 002A6064 38 00 00 00 */ li r0, 0 -/* 802A9108 002A6068 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 802A910C 002A606C 48 00 00 64 */ b lbl_802A9170 -lbl_802A9110: -/* 802A9110 002A6070 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 802A9114 002A6074 2C 03 00 00 */ cmpwi r3, 0 -/* 802A9118 002A6078 40 82 00 10 */ bne lbl_802A9128 -/* 802A911C 002A607C 38 00 00 00 */ li r0, 0 -/* 802A9120 002A6080 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 802A9124 002A6084 48 00 00 18 */ b lbl_802A913C -lbl_802A9128: -/* 802A9128 002A6088 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A912C 002A608C 38 A0 00 00 */ li r5, 0 -/* 802A9130 002A6090 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A9134 002A6094 48 06 C6 E5 */ bl __nwa__FUlPCcPCc -/* 802A9138 002A6098 90 7E 00 3C */ stw r3, 0x3c(r30) -lbl_802A913C: -/* 802A913C 002A609C 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 802A9140 002A60A0 80 9F 00 3C */ lwz r4, 0x3c(r31) -/* 802A9144 002A60A4 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 802A9148 002A60A8 7C 09 03 A6 */ mtctr r0 -/* 802A914C 002A60AC 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9150 002A60B0 40 81 00 20 */ ble lbl_802A9170 -lbl_802A9154: -/* 802A9154 002A60B4 28 03 00 00 */ cmplwi r3, 0 -/* 802A9158 002A60B8 41 82 00 0C */ beq lbl_802A9164 -/* 802A915C 002A60BC 88 04 00 00 */ lbz r0, 0(r4) -/* 802A9160 002A60C0 98 03 00 00 */ stb r0, 0(r3) -lbl_802A9164: -/* 802A9164 002A60C4 38 63 00 01 */ addi r3, r3, 1 -/* 802A9168 002A60C8 38 84 00 01 */ addi r4, r4, 1 -/* 802A916C 002A60CC 42 00 FF E8 */ bdnz lbl_802A9154 -lbl_802A9170: -/* 802A9170 002A60D0 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 802A9174 002A60D4 90 1E 00 44 */ stw r0, 0x44(r30) -/* 802A9178 002A60D8 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 802A917C 002A60DC 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802A9180 002A60E0 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 802A9184 002A60E4 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9188 002A60E8 40 82 00 1C */ bne lbl_802A91A4 -/* 802A918C 002A60EC 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 802A9190 002A60F0 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9194 002A60F4 40 82 00 10 */ bne lbl_802A91A4 -/* 802A9198 002A60F8 38 00 00 00 */ li r0, 0 -/* 802A919C 002A60FC 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 802A91A0 002A6100 48 00 00 6C */ b lbl_802A920C -lbl_802A91A4: -/* 802A91A4 002A6104 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 802A91A8 002A6108 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802A91AC 002A610C 40 82 00 10 */ bne lbl_802A91BC -/* 802A91B0 002A6110 38 00 00 00 */ li r0, 0 -/* 802A91B4 002A6114 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 802A91B8 002A6118 48 00 00 18 */ b lbl_802A91D0 -lbl_802A91BC: -/* 802A91BC 002A611C 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A91C0 002A6120 38 A0 00 00 */ li r5, 0 -/* 802A91C4 002A6124 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A91C8 002A6128 48 06 C6 51 */ bl __nwa__FUlPCcPCc -/* 802A91CC 002A612C 90 7E 00 4C */ stw r3, 0x4c(r30) -lbl_802A91D0: -/* 802A91D0 002A6130 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 802A91D4 002A6134 80 9F 00 4C */ lwz r4, 0x4c(r31) -/* 802A91D8 002A6138 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 802A91DC 002A613C 7C 09 03 A6 */ mtctr r0 -/* 802A91E0 002A6140 2C 00 00 00 */ cmpwi r0, 0 -/* 802A91E4 002A6144 40 81 00 28 */ ble lbl_802A920C -lbl_802A91E8: -/* 802A91E8 002A6148 28 03 00 00 */ cmplwi r3, 0 -/* 802A91EC 002A614C 41 82 00 14 */ beq lbl_802A9200 -/* 802A91F0 002A6150 A0 04 00 00 */ lhz r0, 0(r4) -/* 802A91F4 002A6154 B0 03 00 00 */ sth r0, 0(r3) -/* 802A91F8 002A6158 A0 04 00 02 */ lhz r0, 2(r4) -/* 802A91FC 002A615C B0 03 00 02 */ sth r0, 2(r3) -lbl_802A9200: -/* 802A9200 002A6160 38 63 00 04 */ addi r3, r3, 4 -/* 802A9204 002A6164 38 84 00 04 */ addi r4, r4, 4 -/* 802A9208 002A6168 42 00 FF E0 */ bdnz lbl_802A91E8 -lbl_802A920C: -/* 802A920C 002A616C 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 802A9210 002A6170 90 1E 00 54 */ stw r0, 0x54(r30) -/* 802A9214 002A6174 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 802A9218 002A6178 90 1E 00 58 */ stw r0, 0x58(r30) -/* 802A921C 002A617C 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 802A9220 002A6180 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9224 002A6184 40 82 00 1C */ bne lbl_802A9240 -/* 802A9228 002A6188 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 802A922C 002A618C 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9230 002A6190 40 82 00 10 */ bne lbl_802A9240 -/* 802A9234 002A6194 38 00 00 00 */ li r0, 0 -/* 802A9238 002A6198 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802A923C 002A619C 48 00 00 64 */ b lbl_802A92A0 -lbl_802A9240: -/* 802A9240 002A61A0 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 802A9244 002A61A4 54 03 08 3D */ rlwinm. r3, r0, 1, 0, 0x1e -/* 802A9248 002A61A8 40 82 00 10 */ bne lbl_802A9258 -/* 802A924C 002A61AC 38 00 00 00 */ li r0, 0 -/* 802A9250 002A61B0 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802A9254 002A61B4 48 00 00 18 */ b lbl_802A926C -lbl_802A9258: -/* 802A9258 002A61B8 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A925C 002A61BC 38 A0 00 00 */ li r5, 0 -/* 802A9260 002A61C0 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A9264 002A61C4 48 06 C5 B5 */ bl __nwa__FUlPCcPCc -/* 802A9268 002A61C8 90 7E 00 5C */ stw r3, 0x5c(r30) -lbl_802A926C: -/* 802A926C 002A61CC 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802A9270 002A61D0 80 9F 00 5C */ lwz r4, 0x5c(r31) -/* 802A9274 002A61D4 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 802A9278 002A61D8 7C 09 03 A6 */ mtctr r0 -/* 802A927C 002A61DC 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9280 002A61E0 40 81 00 20 */ ble lbl_802A92A0 -lbl_802A9284: -/* 802A9284 002A61E4 28 03 00 00 */ cmplwi r3, 0 -/* 802A9288 002A61E8 41 82 00 0C */ beq lbl_802A9294 -/* 802A928C 002A61EC A0 04 00 00 */ lhz r0, 0(r4) -/* 802A9290 002A61F0 B0 03 00 00 */ sth r0, 0(r3) -lbl_802A9294: -/* 802A9294 002A61F4 38 63 00 02 */ addi r3, r3, 2 -/* 802A9298 002A61F8 38 84 00 02 */ addi r4, r4, 2 -/* 802A929C 002A61FC 42 00 FF E8 */ bdnz lbl_802A9284 -lbl_802A92A0: -/* 802A92A0 002A6200 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 802A92A4 002A6204 90 1E 00 64 */ stw r0, 0x64(r30) -/* 802A92A8 002A6208 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 802A92AC 002A620C 90 1E 00 68 */ stw r0, 0x68(r30) -/* 802A92B0 002A6210 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 802A92B4 002A6214 2C 00 00 00 */ cmpwi r0, 0 -/* 802A92B8 002A6218 40 82 00 1C */ bne lbl_802A92D4 -/* 802A92BC 002A621C 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 802A92C0 002A6220 2C 00 00 00 */ cmpwi r0, 0 -/* 802A92C4 002A6224 40 82 00 10 */ bne lbl_802A92D4 -/* 802A92C8 002A6228 38 00 00 00 */ li r0, 0 -/* 802A92CC 002A622C 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 802A92D0 002A6230 48 00 00 78 */ b lbl_802A9348 -lbl_802A92D4: -/* 802A92D4 002A6234 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 802A92D8 002A6238 1C 60 00 0C */ mulli r3, r0, 0xc -/* 802A92DC 002A623C 2C 03 00 00 */ cmpwi r3, 0 -/* 802A92E0 002A6240 40 82 00 10 */ bne lbl_802A92F0 -/* 802A92E4 002A6244 38 00 00 00 */ li r0, 0 -/* 802A92E8 002A6248 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 802A92EC 002A624C 48 00 00 18 */ b lbl_802A9304 -lbl_802A92F0: -/* 802A92F0 002A6250 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A92F4 002A6254 38 A0 00 00 */ li r5, 0 -/* 802A92F8 002A6258 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A92FC 002A625C 48 06 C5 1D */ bl __nwa__FUlPCcPCc -/* 802A9300 002A6260 90 7E 00 6C */ stw r3, 0x6c(r30) -lbl_802A9304: -/* 802A9304 002A6264 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 802A9308 002A6268 80 9F 00 6C */ lwz r4, 0x6c(r31) -/* 802A930C 002A626C 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802A9310 002A6270 7C 09 03 A6 */ mtctr r0 -/* 802A9314 002A6274 2C 00 00 00 */ cmpwi r0, 0 -/* 802A9318 002A6278 40 81 00 30 */ ble lbl_802A9348 -lbl_802A931C: -/* 802A931C 002A627C 28 03 00 00 */ cmplwi r3, 0 -/* 802A9320 002A6280 41 82 00 1C */ beq lbl_802A933C -/* 802A9324 002A6284 C0 04 00 00 */ lfs f0, 0(r4) -/* 802A9328 002A6288 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A932C 002A628C C0 04 00 04 */ lfs f0, 4(r4) -/* 802A9330 002A6290 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A9334 002A6294 C0 04 00 08 */ lfs f0, 8(r4) -/* 802A9338 002A6298 D0 03 00 08 */ stfs f0, 8(r3) -lbl_802A933C: -/* 802A933C 002A629C 38 63 00 0C */ addi r3, r3, 0xc -/* 802A9340 002A62A0 38 84 00 0C */ addi r4, r4, 0xc -/* 802A9344 002A62A4 42 00 FF D8 */ bdnz lbl_802A931C -lbl_802A9348: -/* 802A9348 002A62A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A934C 002A62AC 7F C3 F3 78 */ mr r3, r30 -/* 802A9350 002A62B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A9354 002A62B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802A9358 002A62B8 7C 08 03 A6 */ mtlr r0 -/* 802A935C 002A62BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A9360 002A62C0 4E 80 00 20 */ blr - -.global __ct__Q28COBBTree10SIndexDataFR12CInputStream -__ct__Q28COBBTree10SIndexDataFR12CInputStream: -/* 802A9364 002A62C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802A9368 002A62C8 7C 08 02 A6 */ mflr r0 -/* 802A936C 002A62CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A9370 002A62D0 38 00 00 00 */ li r0, 0 -/* 802A9374 002A62D4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802A9378 002A62D8 7C 7E 1B 78 */ mr r30, r3 -/* 802A937C 002A62DC 7C 9F 23 78 */ mr r31, r4 -/* 802A9380 002A62E0 90 03 00 04 */ stw r0, 4(r3) -/* 802A9384 002A62E4 7F E3 FB 78 */ mr r3, r31 -/* 802A9388 002A62E8 90 1E 00 08 */ stw r0, 8(r30) -/* 802A938C 002A62EC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802A9390 002A62F0 48 09 58 F5 */ bl ReadLong__12CInputStreamFv -/* 802A9394 002A62F4 7C 7B 1B 78 */ mr r27, r3 -/* 802A9398 002A62F8 7F C3 F3 78 */ mr r3, r30 -/* 802A939C 002A62FC 7F 64 DB 78 */ mr r4, r27 -/* 802A93A0 002A6300 4B DB A7 85 */ bl "reserve__Q24rstl37vectorFi" -/* 802A93A4 002A6304 3B 80 00 00 */ li r28, 0 -/* 802A93A8 002A6308 48 00 00 60 */ b lbl_802A9408 -lbl_802A93AC: -/* 802A93AC 002A630C 7F E3 FB 78 */ mr r3, r31 -/* 802A93B0 002A6310 48 09 58 D5 */ bl ReadLong__12CInputStreamFv -/* 802A93B4 002A6314 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A93B8 002A6318 7C 7D 1B 78 */ mr r29, r3 -/* 802A93BC 002A631C 80 BE 00 08 */ lwz r5, 8(r30) -/* 802A93C0 002A6320 7C 00 28 00 */ cmpw r0, r5 -/* 802A93C4 002A6324 41 80 00 1C */ blt lbl_802A93E0 -/* 802A93C8 002A6328 2C 05 00 00 */ cmpwi r5, 0 -/* 802A93CC 002A632C 7F C3 F3 78 */ mr r3, r30 -/* 802A93D0 002A6330 38 80 00 04 */ li r4, 4 -/* 802A93D4 002A6334 41 82 00 08 */ beq lbl_802A93DC -/* 802A93D8 002A6338 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A93DC: -/* 802A93DC 002A633C 4B DB A7 49 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A93E0: -/* 802A93E0 002A6340 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A93E4 002A6344 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802A93E8 002A6348 54 00 10 3A */ slwi r0, r0, 2 -/* 802A93EC 002A634C 7C 63 02 15 */ add. r3, r3, r0 -/* 802A93F0 002A6350 41 82 00 08 */ beq lbl_802A93F8 -/* 802A93F4 002A6354 93 A3 00 00 */ stw r29, 0(r3) -lbl_802A93F8: -/* 802A93F8 002A6358 80 7E 00 04 */ lwz r3, 4(r30) -/* 802A93FC 002A635C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A9400 002A6360 38 03 00 01 */ addi r0, r3, 1 -/* 802A9404 002A6364 90 1E 00 04 */ stw r0, 4(r30) -lbl_802A9408: -/* 802A9408 002A6368 7C 1C D8 00 */ cmpw r28, r27 -/* 802A940C 002A636C 41 80 FF A0 */ blt lbl_802A93AC -/* 802A9410 002A6370 38 00 00 00 */ li r0, 0 -/* 802A9414 002A6374 7F E3 FB 78 */ mr r3, r31 -/* 802A9418 002A6378 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802A941C 002A637C 90 1E 00 18 */ stw r0, 0x18(r30) -/* 802A9420 002A6380 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802A9424 002A6384 48 09 58 61 */ bl ReadLong__12CInputStreamFv -/* 802A9428 002A6388 7C 7B 1B 78 */ mr r27, r3 -/* 802A942C 002A638C 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802A9430 002A6390 7F 64 DB 78 */ mr r4, r27 -/* 802A9434 002A6394 4B F2 CD C9 */ bl "reserve__Q24rstl37vectorFi" -/* 802A9438 002A6398 3B 80 00 00 */ li r28, 0 -/* 802A943C 002A639C 48 00 00 5C */ b lbl_802A9498 -lbl_802A9440: -/* 802A9440 002A63A0 7F E3 FB 78 */ mr r3, r31 -/* 802A9444 002A63A4 48 09 58 C9 */ bl ReadChar__12CInputStreamFv -/* 802A9448 002A63A8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802A944C 002A63AC 54 7D 06 3E */ clrlwi r29, r3, 0x18 -/* 802A9450 002A63B0 80 BE 00 18 */ lwz r5, 0x18(r30) -/* 802A9454 002A63B4 7C 00 28 00 */ cmpw r0, r5 -/* 802A9458 002A63B8 41 80 00 1C */ blt lbl_802A9474 -/* 802A945C 002A63BC 2C 05 00 00 */ cmpwi r5, 0 -/* 802A9460 002A63C0 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802A9464 002A63C4 38 80 00 04 */ li r4, 4 -/* 802A9468 002A63C8 41 82 00 08 */ beq lbl_802A9470 -/* 802A946C 002A63CC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A9470: -/* 802A9470 002A63D0 4B F2 CD 8D */ bl "reserve__Q24rstl37vectorFi" -lbl_802A9474: -/* 802A9474 002A63D4 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802A9478 002A63D8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802A947C 002A63DC 7C 63 02 15 */ add. r3, r3, r0 -/* 802A9480 002A63E0 41 82 00 08 */ beq lbl_802A9488 -/* 802A9484 002A63E4 9B A3 00 00 */ stb r29, 0(r3) -lbl_802A9488: -/* 802A9488 002A63E8 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 802A948C 002A63EC 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A9490 002A63F0 38 03 00 01 */ addi r0, r3, 1 -/* 802A9494 002A63F4 90 1E 00 14 */ stw r0, 0x14(r30) -lbl_802A9498: -/* 802A9498 002A63F8 7C 1C D8 00 */ cmpw r28, r27 -/* 802A949C 002A63FC 41 80 FF A4 */ blt lbl_802A9440 -/* 802A94A0 002A6400 38 00 00 00 */ li r0, 0 -/* 802A94A4 002A6404 7F E3 FB 78 */ mr r3, r31 -/* 802A94A8 002A6408 90 1E 00 24 */ stw r0, 0x24(r30) -/* 802A94AC 002A640C 90 1E 00 28 */ stw r0, 0x28(r30) -/* 802A94B0 002A6410 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802A94B4 002A6414 48 09 57 D1 */ bl ReadLong__12CInputStreamFv -/* 802A94B8 002A6418 7C 7B 1B 78 */ mr r27, r3 -/* 802A94BC 002A641C 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802A94C0 002A6420 7F 64 DB 78 */ mr r4, r27 -/* 802A94C4 002A6424 4B F2 CD 39 */ bl "reserve__Q24rstl37vectorFi" -/* 802A94C8 002A6428 3B 80 00 00 */ li r28, 0 -/* 802A94CC 002A642C 48 00 00 5C */ b lbl_802A9528 -lbl_802A94D0: -/* 802A94D0 002A6430 7F E3 FB 78 */ mr r3, r31 -/* 802A94D4 002A6434 48 09 58 39 */ bl ReadChar__12CInputStreamFv -/* 802A94D8 002A6438 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802A94DC 002A643C 54 7D 06 3E */ clrlwi r29, r3, 0x18 -/* 802A94E0 002A6440 80 BE 00 28 */ lwz r5, 0x28(r30) -/* 802A94E4 002A6444 7C 00 28 00 */ cmpw r0, r5 -/* 802A94E8 002A6448 41 80 00 1C */ blt lbl_802A9504 -/* 802A94EC 002A644C 2C 05 00 00 */ cmpwi r5, 0 -/* 802A94F0 002A6450 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802A94F4 002A6454 38 80 00 04 */ li r4, 4 -/* 802A94F8 002A6458 41 82 00 08 */ beq lbl_802A9500 -/* 802A94FC 002A645C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A9500: -/* 802A9500 002A6460 4B F2 CC FD */ bl "reserve__Q24rstl37vectorFi" -lbl_802A9504: -/* 802A9504 002A6464 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802A9508 002A6468 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802A950C 002A646C 7C 63 02 15 */ add. r3, r3, r0 -/* 802A9510 002A6470 41 82 00 08 */ beq lbl_802A9518 -/* 802A9514 002A6474 9B A3 00 00 */ stb r29, 0(r3) -lbl_802A9518: -/* 802A9518 002A6478 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 802A951C 002A647C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A9520 002A6480 38 03 00 01 */ addi r0, r3, 1 -/* 802A9524 002A6484 90 1E 00 24 */ stw r0, 0x24(r30) -lbl_802A9528: -/* 802A9528 002A6488 7C 1C D8 00 */ cmpw r28, r27 -/* 802A952C 002A648C 41 80 FF A4 */ blt lbl_802A94D0 -/* 802A9530 002A6490 38 00 00 00 */ li r0, 0 -/* 802A9534 002A6494 7F E3 FB 78 */ mr r3, r31 -/* 802A9538 002A6498 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802A953C 002A649C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 802A9540 002A64A0 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 802A9544 002A64A4 48 09 57 41 */ bl ReadLong__12CInputStreamFv -/* 802A9548 002A64A8 7C 7B 1B 78 */ mr r27, r3 -/* 802A954C 002A64AC 38 7E 00 30 */ addi r3, r30, 0x30 -/* 802A9550 002A64B0 7F 64 DB 78 */ mr r4, r27 -/* 802A9554 002A64B4 4B F2 CC A9 */ bl "reserve__Q24rstl37vectorFi" -/* 802A9558 002A64B8 3B 80 00 00 */ li r28, 0 -/* 802A955C 002A64BC 48 00 00 5C */ b lbl_802A95B8 -lbl_802A9560: -/* 802A9560 002A64C0 7F E3 FB 78 */ mr r3, r31 -/* 802A9564 002A64C4 48 09 57 A9 */ bl ReadChar__12CInputStreamFv -/* 802A9568 002A64C8 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 802A956C 002A64CC 54 7D 06 3E */ clrlwi r29, r3, 0x18 -/* 802A9570 002A64D0 80 BE 00 38 */ lwz r5, 0x38(r30) -/* 802A9574 002A64D4 7C 00 28 00 */ cmpw r0, r5 -/* 802A9578 002A64D8 41 80 00 1C */ blt lbl_802A9594 -/* 802A957C 002A64DC 2C 05 00 00 */ cmpwi r5, 0 -/* 802A9580 002A64E0 38 7E 00 30 */ addi r3, r30, 0x30 -/* 802A9584 002A64E4 38 80 00 04 */ li r4, 4 -/* 802A9588 002A64E8 41 82 00 08 */ beq lbl_802A9590 -/* 802A958C 002A64EC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A9590: -/* 802A9590 002A64F0 4B F2 CC 6D */ bl "reserve__Q24rstl37vectorFi" -lbl_802A9594: -/* 802A9594 002A64F4 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 802A9598 002A64F8 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 802A959C 002A64FC 7C 63 02 15 */ add. r3, r3, r0 -/* 802A95A0 002A6500 41 82 00 08 */ beq lbl_802A95A8 -/* 802A95A4 002A6504 9B A3 00 00 */ stb r29, 0(r3) -lbl_802A95A8: -/* 802A95A8 002A6508 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 802A95AC 002A650C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A95B0 002A6510 38 03 00 01 */ addi r0, r3, 1 -/* 802A95B4 002A6514 90 1E 00 34 */ stw r0, 0x34(r30) -lbl_802A95B8: -/* 802A95B8 002A6518 7C 1C D8 00 */ cmpw r28, r27 -/* 802A95BC 002A651C 41 80 FF A4 */ blt lbl_802A9560 -/* 802A95C0 002A6520 7F E4 FB 78 */ mr r4, r31 -/* 802A95C4 002A6524 38 7E 00 40 */ addi r3, r30, 0x40 -/* 802A95C8 002A6528 38 A1 00 08 */ addi r5, r1, 8 -/* 802A95CC 002A652C 48 00 01 59 */ bl "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802A95D0 002A6530 38 00 00 00 */ li r0, 0 -/* 802A95D4 002A6534 7F E3 FB 78 */ mr r3, r31 -/* 802A95D8 002A6538 90 1E 00 54 */ stw r0, 0x54(r30) -/* 802A95DC 002A653C 90 1E 00 58 */ stw r0, 0x58(r30) -/* 802A95E0 002A6540 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802A95E4 002A6544 48 09 56 A1 */ bl ReadLong__12CInputStreamFv -/* 802A95E8 002A6548 7C 7B 1B 78 */ mr r27, r3 -/* 802A95EC 002A654C 38 7E 00 50 */ addi r3, r30, 0x50 -/* 802A95F0 002A6550 7F 64 DB 78 */ mr r4, r27 -/* 802A95F4 002A6554 4B DB AD 0D */ bl "reserve__Q24rstl37vectorFi" -/* 802A95F8 002A6558 3B 80 00 00 */ li r28, 0 -/* 802A95FC 002A655C 48 00 00 60 */ b lbl_802A965C -lbl_802A9600: -/* 802A9600 002A6560 7F E3 FB 78 */ mr r3, r31 -/* 802A9604 002A6564 48 09 56 AD */ bl ReadShort__12CInputStreamFv -/* 802A9608 002A6568 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802A960C 002A656C 7C 7D 1B 78 */ mr r29, r3 -/* 802A9610 002A6570 80 BE 00 58 */ lwz r5, 0x58(r30) -/* 802A9614 002A6574 7C 00 28 00 */ cmpw r0, r5 -/* 802A9618 002A6578 41 80 00 1C */ blt lbl_802A9634 -/* 802A961C 002A657C 2C 05 00 00 */ cmpwi r5, 0 -/* 802A9620 002A6580 38 7E 00 50 */ addi r3, r30, 0x50 -/* 802A9624 002A6584 38 80 00 04 */ li r4, 4 -/* 802A9628 002A6588 41 82 00 08 */ beq lbl_802A9630 -/* 802A962C 002A658C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A9630: -/* 802A9630 002A6590 4B DB AC D1 */ bl "reserve__Q24rstl37vectorFi" -lbl_802A9634: -/* 802A9634 002A6594 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802A9638 002A6598 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 802A963C 002A659C 54 00 08 3C */ slwi r0, r0, 1 -/* 802A9640 002A65A0 7C 63 02 15 */ add. r3, r3, r0 -/* 802A9644 002A65A4 41 82 00 08 */ beq lbl_802A964C -/* 802A9648 002A65A8 B3 A3 00 00 */ sth r29, 0(r3) -lbl_802A964C: -/* 802A964C 002A65AC 80 7E 00 54 */ lwz r3, 0x54(r30) -/* 802A9650 002A65B0 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A9654 002A65B4 38 03 00 01 */ addi r0, r3, 1 -/* 802A9658 002A65B8 90 1E 00 54 */ stw r0, 0x54(r30) -lbl_802A965C: -/* 802A965C 002A65BC 7C 1C D8 00 */ cmpw r28, r27 -/* 802A9660 002A65C0 41 80 FF A0 */ blt lbl_802A9600 -/* 802A9664 002A65C4 38 00 00 00 */ li r0, 0 -/* 802A9668 002A65C8 7F E3 FB 78 */ mr r3, r31 -/* 802A966C 002A65CC 90 1E 00 64 */ stw r0, 0x64(r30) -/* 802A9670 002A65D0 90 1E 00 68 */ stw r0, 0x68(r30) -/* 802A9674 002A65D4 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 802A9678 002A65D8 48 09 56 0D */ bl ReadLong__12CInputStreamFv -/* 802A967C 002A65DC 7C 7B 1B 78 */ mr r27, r3 -/* 802A9680 002A65E0 38 7E 00 60 */ addi r3, r30, 0x60 -/* 802A9684 002A65E4 7F 64 DB 78 */ mr r4, r27 -/* 802A9688 002A65E8 4B DB 46 71 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 802A968C 002A65EC 3B 80 00 00 */ li r28, 0 -/* 802A9690 002A65F0 48 00 00 74 */ b lbl_802A9704 -lbl_802A9694: -/* 802A9694 002A65F4 7F E4 FB 78 */ mr r4, r31 -/* 802A9698 002A65F8 38 61 00 0C */ addi r3, r1, 0xc -/* 802A969C 002A65FC 48 06 B4 F1 */ bl __ct__9CVector3fFR12CInputStream -/* 802A96A0 002A6600 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 802A96A4 002A6604 80 BE 00 68 */ lwz r5, 0x68(r30) -/* 802A96A8 002A6608 7C 00 28 00 */ cmpw r0, r5 -/* 802A96AC 002A660C 41 80 00 1C */ blt lbl_802A96C8 -/* 802A96B0 002A6610 2C 05 00 00 */ cmpwi r5, 0 -/* 802A96B4 002A6614 38 7E 00 60 */ addi r3, r30, 0x60 -/* 802A96B8 002A6618 38 80 00 04 */ li r4, 4 -/* 802A96BC 002A661C 41 82 00 08 */ beq lbl_802A96C4 -/* 802A96C0 002A6620 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A96C4: -/* 802A96C4 002A6624 4B DB 46 35 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_802A96C8: -/* 802A96C8 002A6628 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 802A96CC 002A662C 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802A96D0 002A6630 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802A96D4 002A6634 7C 63 02 15 */ add. r3, r3, r0 -/* 802A96D8 002A6638 41 82 00 1C */ beq lbl_802A96F4 -/* 802A96DC 002A663C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A96E0 002A6640 D0 03 00 00 */ stfs f0, 0(r3) -/* 802A96E4 002A6644 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A96E8 002A6648 D0 03 00 04 */ stfs f0, 4(r3) -/* 802A96EC 002A664C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802A96F0 002A6650 D0 03 00 08 */ stfs f0, 8(r3) -lbl_802A96F4: -/* 802A96F4 002A6654 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 802A96F8 002A6658 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A96FC 002A665C 38 03 00 01 */ addi r0, r3, 1 -/* 802A9700 002A6660 90 1E 00 64 */ stw r0, 0x64(r30) -lbl_802A9704: -/* 802A9704 002A6664 7C 1C D8 00 */ cmpw r28, r27 -/* 802A9708 002A6668 41 80 FF 8C */ blt lbl_802A9694 -/* 802A970C 002A666C 7F C3 F3 78 */ mr r3, r30 -/* 802A9710 002A6670 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802A9714 002A6674 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802A9718 002A6678 7C 08 03 A6 */ mtlr r0 -/* 802A971C 002A667C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802A9720 002A6680 4E 80 00 20 */ blr - -.global "__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802A9724 002A6684 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A9728 002A6688 7C 08 02 A6 */ mflr r0 -/* 802A972C 002A668C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A9730 002A6690 38 00 00 00 */ li r0, 0 -/* 802A9734 002A6694 BF 41 00 08 */ stmw r26, 8(r1) -/* 802A9738 002A6698 7C 7A 1B 78 */ mr r26, r3 -/* 802A973C 002A669C 7C 9B 23 78 */ mr r27, r4 -/* 802A9740 002A66A0 90 03 00 04 */ stw r0, 4(r3) -/* 802A9744 002A66A4 7F 63 DB 78 */ mr r3, r27 -/* 802A9748 002A66A8 90 1A 00 08 */ stw r0, 8(r26) -/* 802A974C 002A66AC 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802A9750 002A66B0 48 09 55 35 */ bl ReadLong__12CInputStreamFv -/* 802A9754 002A66B4 7C 7D 1B 78 */ mr r29, r3 -/* 802A9758 002A66B8 7F 43 D3 78 */ mr r3, r26 -/* 802A975C 002A66BC 7F A4 EB 78 */ mr r4, r29 -/* 802A9760 002A66C0 48 00 00 99 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" -/* 802A9764 002A66C4 3B 80 00 00 */ li r28, 0 -/* 802A9768 002A66C8 48 00 00 70 */ b lbl_802A97D8 -lbl_802A976C: -/* 802A976C 002A66CC 7F 63 DB 78 */ mr r3, r27 -/* 802A9770 002A66D0 48 09 55 41 */ bl ReadShort__12CInputStreamFv -/* 802A9774 002A66D4 7C 7E 1B 78 */ mr r30, r3 -/* 802A9778 002A66D8 7F 63 DB 78 */ mr r3, r27 -/* 802A977C 002A66DC 48 09 55 35 */ bl ReadShort__12CInputStreamFv -/* 802A9780 002A66E0 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A9784 002A66E4 7C 7F 1B 78 */ mr r31, r3 -/* 802A9788 002A66E8 80 BA 00 08 */ lwz r5, 8(r26) -/* 802A978C 002A66EC 7C 00 28 00 */ cmpw r0, r5 -/* 802A9790 002A66F0 41 80 00 1C */ blt lbl_802A97AC -/* 802A9794 002A66F4 2C 05 00 00 */ cmpwi r5, 0 -/* 802A9798 002A66F8 7F 43 D3 78 */ mr r3, r26 -/* 802A979C 002A66FC 38 80 00 04 */ li r4, 4 -/* 802A97A0 002A6700 41 82 00 08 */ beq lbl_802A97A8 -/* 802A97A4 002A6704 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802A97A8: -/* 802A97A8 002A6708 48 00 00 51 */ bl "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" -lbl_802A97AC: -/* 802A97AC 002A670C 80 1A 00 04 */ lwz r0, 4(r26) -/* 802A97B0 002A6710 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 802A97B4 002A6714 54 00 10 3A */ slwi r0, r0, 2 -/* 802A97B8 002A6718 7C 63 02 15 */ add. r3, r3, r0 -/* 802A97BC 002A671C 41 82 00 0C */ beq lbl_802A97C8 -/* 802A97C0 002A6720 B3 C3 00 00 */ sth r30, 0(r3) -/* 802A97C4 002A6724 B3 E3 00 02 */ sth r31, 2(r3) -lbl_802A97C8: -/* 802A97C8 002A6728 80 7A 00 04 */ lwz r3, 4(r26) -/* 802A97CC 002A672C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802A97D0 002A6730 38 03 00 01 */ addi r0, r3, 1 -/* 802A97D4 002A6734 90 1A 00 04 */ stw r0, 4(r26) -lbl_802A97D8: -/* 802A97D8 002A6738 7C 1C E8 00 */ cmpw r28, r29 -/* 802A97DC 002A673C 41 80 FF 90 */ blt lbl_802A976C -/* 802A97E0 002A6740 7F 43 D3 78 */ mr r3, r26 -/* 802A97E4 002A6744 BB 41 00 08 */ lmw r26, 8(r1) -/* 802A97E8 002A6748 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A97EC 002A674C 7C 08 03 A6 */ mtlr r0 -/* 802A97F0 002A6750 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A97F4 002A6754 4E 80 00 20 */ blr - -.global "reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl51vector<14CCollisionEdge,Q24rstl17rmemory_allocator>Fi": -/* 802A97F8 002A6758 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802A97FC 002A675C 7C 08 02 A6 */ mflr r0 -/* 802A9800 002A6760 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A9804 002A6764 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802A9808 002A6768 7C 9F 23 78 */ mr r31, r4 -/* 802A980C 002A676C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802A9810 002A6770 7C 7E 1B 78 */ mr r30, r3 -/* 802A9814 002A6774 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802A9818 002A6778 80 03 00 08 */ lwz r0, 8(r3) -/* 802A981C 002A677C 7C 1F 00 00 */ cmpw r31, r0 -/* 802A9820 002A6780 40 81 00 B0 */ ble lbl_802A98D0 -/* 802A9824 002A6784 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 802A9828 002A6788 40 82 00 0C */ bne lbl_802A9834 -/* 802A982C 002A678C 3B A0 00 00 */ li r29, 0 -/* 802A9830 002A6790 48 00 00 18 */ b lbl_802A9848 -lbl_802A9834: -/* 802A9834 002A6794 3C 80 80 3D */ lis r4, lbl_803D60E8@ha -/* 802A9838 002A6798 38 A0 00 00 */ li r5, 0 -/* 802A983C 002A679C 38 84 60 E8 */ addi r4, r4, lbl_803D60E8@l -/* 802A9840 002A67A0 48 06 BF D9 */ bl __nwa__FUlPCcPCc -/* 802A9844 002A67A4 7C 7D 1B 78 */ mr r29, r3 -lbl_802A9848: -/* 802A9848 002A67A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A984C 002A67AC 7F A4 EB 78 */ mr r4, r29 -/* 802A9850 002A67B0 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802A9854 002A67B4 54 00 10 3A */ slwi r0, r0, 2 -/* 802A9858 002A67B8 7C 65 02 14 */ add r3, r5, r0 -/* 802A985C 002A67BC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802A9860 002A67C0 90 61 00 08 */ stw r3, 8(r1) -/* 802A9864 002A67C4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802A9868 002A67C8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802A986C 002A67CC 48 00 00 24 */ b lbl_802A9890 -lbl_802A9870: -/* 802A9870 002A67D0 28 04 00 00 */ cmplwi r4, 0 -/* 802A9874 002A67D4 41 82 00 14 */ beq lbl_802A9888 -/* 802A9878 002A67D8 A0 05 00 00 */ lhz r0, 0(r5) -/* 802A987C 002A67DC B0 04 00 00 */ sth r0, 0(r4) -/* 802A9880 002A67E0 A0 05 00 02 */ lhz r0, 2(r5) -/* 802A9884 002A67E4 B0 04 00 02 */ sth r0, 2(r4) -lbl_802A9888: -/* 802A9888 002A67E8 38 84 00 04 */ addi r4, r4, 4 -/* 802A988C 002A67EC 38 A5 00 04 */ addi r5, r5, 4 -lbl_802A9890: -/* 802A9890 002A67F0 7C 05 18 40 */ cmplw r5, r3 -/* 802A9894 002A67F4 40 82 FF DC */ bne lbl_802A9870 -/* 802A9898 002A67F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802A989C 002A67FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802A98A0 002A6800 54 00 10 3A */ slwi r0, r0, 2 -/* 802A98A4 002A6804 7C 64 1B 78 */ mr r4, r3 -/* 802A98A8 002A6808 7C 03 02 14 */ add r0, r3, r0 -/* 802A98AC 002A680C 48 00 00 08 */ b lbl_802A98B4 -lbl_802A98B0: -/* 802A98B0 002A6810 38 84 00 04 */ addi r4, r4, 4 -lbl_802A98B4: -/* 802A98B4 002A6814 7C 04 00 40 */ cmplw r4, r0 -/* 802A98B8 002A6818 40 82 FF F8 */ bne lbl_802A98B0 -/* 802A98BC 002A681C 28 03 00 00 */ cmplwi r3, 0 -/* 802A98C0 002A6820 41 82 00 08 */ beq lbl_802A98C8 -/* 802A98C4 002A6824 48 06 C0 6D */ bl Free__7CMemoryFPCv -lbl_802A98C8: -/* 802A98C8 002A6828 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802A98CC 002A682C 93 FE 00 08 */ stw r31, 8(r30) -lbl_802A98D0: -/* 802A98D0 002A6830 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802A98D4 002A6834 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802A98D8 002A6838 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802A98DC 002A683C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802A98E0 002A6840 7C 08 03 A6 */ mtlr r0 -/* 802A98E4 002A6844 38 21 00 30 */ addi r1, r1, 0x30 -/* 802A98E8 002A6848 4E 80 00 20 */ blr - -.global __dtl__18CCollidableOBBTreeFv -__dtl__18CCollidableOBBTreeFv: -/* 802A98EC 002A684C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802A98F0 002A6850 7C 08 02 A6 */ mflr r0 -/* 802A98F4 002A6854 90 01 00 14 */ stw r0, 0x14(r1) -/* 802A98F8 002A6858 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802A98FC 002A685C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802A9900 002A6860 41 82 00 30 */ beq lbl_802A9930 -/* 802A9904 002A6864 3C 60 80 3F */ lis r3, lbl_803EC448@ha -/* 802A9908 002A6868 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l -/* 802A990C 002A686C 90 1F 00 00 */ stw r0, 0(r31) -/* 802A9910 002A6870 41 82 00 10 */ beq lbl_802A9920 -/* 802A9914 002A6874 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802A9918 002A6878 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 802A991C 002A687C 90 1F 00 00 */ stw r0, 0(r31) -lbl_802A9920: -/* 802A9920 002A6880 7C 80 07 35 */ extsh. r0, r4 -/* 802A9924 002A6884 40 81 00 0C */ ble lbl_802A9930 -/* 802A9928 002A6888 7F E3 FB 78 */ mr r3, r31 -/* 802A992C 002A688C 48 06 C0 05 */ bl Free__7CMemoryFPCv -lbl_802A9930: -/* 802A9930 002A6890 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802A9934 002A6894 7F E3 FB 78 */ mr r3, r31 -/* 802A9938 002A6898 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802A993C 002A689C 7C 08 03 A6 */ mtlr r0 -/* 802A9940 002A68A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802A9944 002A68A4 4E 80 00 20 */ blr - -.global GetTableIndex__18CCollidableOBBTreeCFv -GetTableIndex__18CCollidableOBBTreeCFv: -/* 802A9948 002A68A8 80 6D 9A 70 */ lwz r3, lbl_805A8630@sda21(r13) -/* 802A994C 002A68AC 4E 80 00 20 */ blr - -.global LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo: -/* 802A9950 002A68B0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802A9954 002A68B4 7C 08 02 A6 */ mflr r0 -/* 802A9958 002A68B8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802A995C 002A68BC BE E1 00 7C */ stmw r23, 0x7c(r1) -/* 802A9960 002A68C0 7C 98 23 78 */ mr r24, r4 -/* 802A9964 002A68C4 7C B9 2B 78 */ mr r25, r5 -/* 802A9968 002A68C8 7C 77 1B 78 */ mr r23, r3 -/* 802A996C 002A68CC 3B 41 00 48 */ addi r26, r1, 0x48 -/* 802A9970 002A68D0 3B C0 00 00 */ li r30, 0 -/* 802A9974 002A68D4 3B A0 00 00 */ li r29, 0 -/* 802A9978 002A68D8 3B 60 00 00 */ li r27, 0 -/* 802A997C 002A68DC 83 E4 00 04 */ lwz r31, 4(r4) -/* 802A9980 002A68E0 83 85 00 04 */ lwz r28, 4(r5) -/* 802A9984 002A68E4 48 00 00 84 */ b lbl_802A9A08 -lbl_802A9988: -/* 802A9988 002A68E8 80 B8 00 0C */ lwz r5, 0xc(r24) -/* 802A998C 002A68EC 54 00 08 3C */ slwi r0, r0, 1 -/* 802A9990 002A68F0 80 97 00 10 */ lwz r4, 0x10(r23) -/* 802A9994 002A68F4 38 61 00 48 */ addi r3, r1, 0x48 -/* 802A9998 002A68F8 7C A5 02 2E */ lhzx r5, r5, r0 -/* 802A999C 002A68FC 4B FF F2 21 */ bl GetSurface__8COBBTreeCFUs -/* 802A99A0 002A6900 7E E3 BB 78 */ mr r3, r23 -/* 802A99A4 002A6904 81 97 00 00 */ lwz r12, 0(r23) -/* 802A99A8 002A6908 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802A99AC 002A690C 7D 89 03 A6 */ mtctr r12 -/* 802A99B0 002A6910 4E 80 04 21 */ bctrl -/* 802A99B4 002A6914 80 C1 00 6C */ lwz r6, 0x6c(r1) -/* 802A99B8 002A6918 38 81 00 08 */ addi r4, r1, 8 -/* 802A99BC 002A691C 80 03 00 04 */ lwz r0, 4(r3) -/* 802A99C0 002A6920 80 A3 00 00 */ lwz r5, 0(r3) -/* 802A99C4 002A6924 7F 83 E3 78 */ mr r3, r28 -/* 802A99C8 002A6928 7C C0 03 78 */ or r0, r6, r0 -/* 802A99CC 002A692C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802A99D0 002A6930 90 A1 00 08 */ stw r5, 8(r1) -/* 802A99D4 002A6934 48 02 B9 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802A99D8 002A6938 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A99DC 002A693C 41 82 00 28 */ beq lbl_802A9A04 -/* 802A99E0 002A6940 80 79 00 00 */ lwz r3, 0(r25) -/* 802A99E4 002A6944 7F 45 D3 78 */ mr r5, r26 -/* 802A99E8 002A6948 38 D9 00 08 */ addi r6, r25, 8 -/* 802A99EC 002A694C 38 83 00 2C */ addi r4, r3, 0x2c -/* 802A99F0 002A6950 48 02 8D 4D */ bl RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf -/* 802A99F4 002A6954 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A99F8 002A6958 41 82 00 0C */ beq lbl_802A9A04 -/* 802A99FC 002A695C 7F 7E DB 78 */ mr r30, r27 -/* 802A9A00 002A6960 3B A0 00 01 */ li r29, 1 -lbl_802A9A04: -/* 802A9A04 002A6964 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802A9A08: -/* 802A9A08 002A6968 57 60 04 3E */ clrlwi r0, r27, 0x10 -/* 802A9A0C 002A696C 7C 00 F8 00 */ cmpw r0, r31 -/* 802A9A10 002A6970 41 80 FF 78 */ blt lbl_802A9988 -/* 802A9A14 002A6974 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802A9A18 002A6978 41 82 00 58 */ beq lbl_802A9A70 -/* 802A9A1C 002A697C 80 B8 00 0C */ lwz r5, 0xc(r24) -/* 802A9A20 002A6980 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e -/* 802A9A24 002A6984 80 97 00 10 */ lwz r4, 0x10(r23) -/* 802A9A28 002A6988 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A9A2C 002A698C 7C A5 02 2E */ lhzx r5, r5, r0 -/* 802A9A30 002A6990 4B FF F1 8D */ bl GetSurface__8COBBTreeCFUs -/* 802A9A34 002A6994 38 81 00 20 */ addi r4, r1, 0x20 -/* 802A9A38 002A6998 38 61 00 10 */ addi r3, r1, 0x10 -/* 802A9A3C 002A699C 4B FF 8B F9 */ bl GetPlane__17CCollisionSurfaceCFv -/* 802A9A40 002A69A0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802A9A44 002A69A4 38 00 00 00 */ li r0, 0 -/* 802A9A48 002A69A8 D0 19 00 0C */ stfs f0, 0xc(r25) -/* 802A9A4C 002A69AC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802A9A50 002A69B0 D0 19 00 10 */ stfs f0, 0x10(r25) -/* 802A9A54 002A69B4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802A9A58 002A69B8 D0 19 00 14 */ stfs f0, 0x14(r25) -/* 802A9A5C 002A69BC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802A9A60 002A69C0 D0 19 00 18 */ stfs f0, 0x18(r25) -/* 802A9A64 002A69C4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802A9A68 002A69C8 90 79 00 24 */ stw r3, 0x24(r25) -/* 802A9A6C 002A69CC 90 19 00 20 */ stw r0, 0x20(r25) -lbl_802A9A70: -/* 802A9A70 002A69D0 7F A3 EB 78 */ mr r3, r29 -/* 802A9A74 002A69D4 BA E1 00 7C */ lmw r23, 0x7c(r1) -/* 802A9A78 002A69D8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802A9A7C 002A69DC 7C 08 03 A6 */ mtlr r0 -/* 802A9A80 002A69E0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802A9A84 002A69E4 4E 80 00 20 */ blr - -.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo: -/* 802A9A88 002A69E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802A9A8C 002A69EC 7C 08 02 A6 */ mflr r0 -/* 802A9A90 002A69F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802A9A94 002A69F4 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 802A9A98 002A69F8 7C 9C 23 78 */ mr r28, r4 -/* 802A9A9C 002A69FC 7C BD 2B 78 */ mr r29, r5 -/* 802A9AA0 002A6A00 7C 7B 1B 78 */ mr r27, r3 -/* 802A9AA4 002A6A04 7C DE 33 78 */ mr r30, r6 -/* 802A9AA8 002A6A08 38 A1 00 0C */ addi r5, r1, 0xc -/* 802A9AAC 002A6A0C 3B E0 00 00 */ li r31, 0 -/* 802A9AB0 002A6A10 3B 40 00 00 */ li r26, 0 -/* 802A9AB4 002A6A14 80 83 00 14 */ lwz r4, 0x14(r3) -/* 802A9AB8 002A6A18 7F 83 E3 78 */ mr r3, r28 -/* 802A9ABC 002A6A1C 38 04 00 02 */ addi r0, r4, 2 -/* 802A9AC0 002A6A20 90 1B 00 14 */ stw r0, 0x14(r27) -/* 802A9AC4 002A6A24 80 86 00 00 */ lwz r4, 0(r6) -/* 802A9AC8 002A6A28 48 02 C0 F1 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf -/* 802A9ACC 002A6A2C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9AD0 002A6A30 28 00 00 01 */ cmplwi r0, 1 -/* 802A9AD4 002A6A34 40 82 00 18 */ bne lbl_802A9AEC -/* 802A9AD8 002A6A38 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802A9ADC 002A6A3C C0 1E 00 08 */ lfs f0, 8(r30) -/* 802A9AE0 002A6A40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9AE4 002A6A44 40 80 00 08 */ bge lbl_802A9AEC -/* 802A9AE8 002A6A48 3B 40 00 01 */ li r26, 1 -lbl_802A9AEC: -/* 802A9AEC 002A6A4C 80 9E 00 00 */ lwz r4, 0(r30) -/* 802A9AF0 002A6A50 7F A3 EB 78 */ mr r3, r29 -/* 802A9AF4 002A6A54 38 A1 00 08 */ addi r5, r1, 8 -/* 802A9AF8 002A6A58 3B 20 00 00 */ li r25, 0 -/* 802A9AFC 002A6A5C 48 02 C0 BD */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf -/* 802A9B00 002A6A60 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9B04 002A6A64 28 00 00 01 */ cmplwi r0, 1 -/* 802A9B08 002A6A68 40 82 00 18 */ bne lbl_802A9B20 -/* 802A9B0C 002A6A6C C0 21 00 08 */ lfs f1, 8(r1) -/* 802A9B10 002A6A70 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802A9B14 002A6A74 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9B18 002A6A78 40 80 00 08 */ bge lbl_802A9B20 -/* 802A9B1C 002A6A7C 3B 20 00 01 */ li r25, 1 -lbl_802A9B20: -/* 802A9B20 002A6A80 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 802A9B24 002A6A84 41 82 01 7C */ beq lbl_802A9CA0 -/* 802A9B28 002A6A88 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 802A9B2C 002A6A8C 41 82 01 74 */ beq lbl_802A9CA0 -/* 802A9B30 002A6A90 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802A9B34 002A6A94 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A9B38 002A6A98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9B3C 002A6A9C 40 80 00 B4 */ bge lbl_802A9BF0 -/* 802A9B40 002A6AA0 88 1C 00 3C */ lbz r0, 0x3c(r28) -/* 802A9B44 002A6AA4 28 00 00 01 */ cmplwi r0, 1 -/* 802A9B48 002A6AA8 40 82 00 18 */ bne lbl_802A9B60 -/* 802A9B4C 002A6AAC 80 9C 00 48 */ lwz r4, 0x48(r28) -/* 802A9B50 002A6AB0 7F 63 DB 78 */ mr r3, r27 -/* 802A9B54 002A6AB4 7F C5 F3 78 */ mr r5, r30 -/* 802A9B58 002A6AB8 4B FF FD F9 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9B5C 002A6ABC 48 00 00 18 */ b lbl_802A9B74 -lbl_802A9B60: -/* 802A9B60 002A6AC0 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 802A9B64 002A6AC4 7F 63 DB 78 */ mr r3, r27 -/* 802A9B68 002A6AC8 80 BC 00 44 */ lwz r5, 0x44(r28) -/* 802A9B6C 002A6ACC 7F C6 F3 78 */ mr r6, r30 -/* 802A9B70 002A6AD0 4B FF FF 19 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -lbl_802A9B74: -/* 802A9B74 002A6AD4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9B78 002A6AD8 28 00 00 01 */ cmplwi r0, 1 -/* 802A9B7C 002A6ADC 40 82 00 20 */ bne lbl_802A9B9C -/* 802A9B80 002A6AE0 C0 3E 00 08 */ lfs f1, 8(r30) -/* 802A9B84 002A6AE4 C0 01 00 08 */ lfs f0, 8(r1) -/* 802A9B88 002A6AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9B8C 002A6AEC 40 80 00 0C */ bge lbl_802A9B98 -/* 802A9B90 002A6AF0 38 60 00 01 */ li r3, 1 -/* 802A9B94 002A6AF4 48 00 01 C8 */ b lbl_802A9D5C -lbl_802A9B98: -/* 802A9B98 002A6AF8 3B E0 00 01 */ li r31, 1 -lbl_802A9B9C: -/* 802A9B9C 002A6AFC 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 802A9BA0 002A6B00 28 00 00 00 */ cmplwi r0, 0 -/* 802A9BA4 002A6B04 41 82 00 24 */ beq lbl_802A9BC8 -/* 802A9BA8 002A6B08 80 9D 00 48 */ lwz r4, 0x48(r29) -/* 802A9BAC 002A6B0C 7F 63 DB 78 */ mr r3, r27 -/* 802A9BB0 002A6B10 7F C5 F3 78 */ mr r5, r30 -/* 802A9BB4 002A6B14 4B FF FD 9D */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9BB8 002A6B18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9BBC 002A6B1C 41 82 01 9C */ beq lbl_802A9D58 -/* 802A9BC0 002A6B20 3B E0 00 01 */ li r31, 1 -/* 802A9BC4 002A6B24 48 00 01 94 */ b lbl_802A9D58 -lbl_802A9BC8: -/* 802A9BC8 002A6B28 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 802A9BCC 002A6B2C 7F 63 DB 78 */ mr r3, r27 -/* 802A9BD0 002A6B30 80 BD 00 44 */ lwz r5, 0x44(r29) -/* 802A9BD4 002A6B34 7F C6 F3 78 */ mr r6, r30 -/* 802A9BD8 002A6B38 4B FF FE B1 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9BDC 002A6B3C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9BE0 002A6B40 28 00 00 01 */ cmplwi r0, 1 -/* 802A9BE4 002A6B44 40 82 01 74 */ bne lbl_802A9D58 -/* 802A9BE8 002A6B48 3B E0 00 01 */ li r31, 1 -/* 802A9BEC 002A6B4C 48 00 01 6C */ b lbl_802A9D58 -lbl_802A9BF0: -/* 802A9BF0 002A6B50 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 802A9BF4 002A6B54 28 00 00 01 */ cmplwi r0, 1 -/* 802A9BF8 002A6B58 40 82 00 18 */ bne lbl_802A9C10 -/* 802A9BFC 002A6B5C 80 9D 00 48 */ lwz r4, 0x48(r29) -/* 802A9C00 002A6B60 7F 63 DB 78 */ mr r3, r27 -/* 802A9C04 002A6B64 7F C5 F3 78 */ mr r5, r30 -/* 802A9C08 002A6B68 4B FF FD 49 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9C0C 002A6B6C 48 00 00 18 */ b lbl_802A9C24 -lbl_802A9C10: -/* 802A9C10 002A6B70 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 802A9C14 002A6B74 7F 63 DB 78 */ mr r3, r27 -/* 802A9C18 002A6B78 80 BD 00 44 */ lwz r5, 0x44(r29) -/* 802A9C1C 002A6B7C 7F C6 F3 78 */ mr r6, r30 -/* 802A9C20 002A6B80 4B FF FE 69 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -lbl_802A9C24: -/* 802A9C24 002A6B84 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9C28 002A6B88 28 00 00 01 */ cmplwi r0, 1 -/* 802A9C2C 002A6B8C 40 82 00 20 */ bne lbl_802A9C4C -/* 802A9C30 002A6B90 C0 3E 00 08 */ lfs f1, 8(r30) -/* 802A9C34 002A6B94 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802A9C38 002A6B98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9C3C 002A6B9C 40 80 00 0C */ bge lbl_802A9C48 -/* 802A9C40 002A6BA0 38 60 00 01 */ li r3, 1 -/* 802A9C44 002A6BA4 48 00 01 18 */ b lbl_802A9D5C -lbl_802A9C48: -/* 802A9C48 002A6BA8 3B E0 00 01 */ li r31, 1 -lbl_802A9C4C: -/* 802A9C4C 002A6BAC 88 1C 00 3C */ lbz r0, 0x3c(r28) -/* 802A9C50 002A6BB0 28 00 00 00 */ cmplwi r0, 0 -/* 802A9C54 002A6BB4 41 82 00 24 */ beq lbl_802A9C78 -/* 802A9C58 002A6BB8 80 9C 00 48 */ lwz r4, 0x48(r28) -/* 802A9C5C 002A6BBC 7F 63 DB 78 */ mr r3, r27 -/* 802A9C60 002A6BC0 7F C5 F3 78 */ mr r5, r30 -/* 802A9C64 002A6BC4 4B FF FC ED */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9C68 002A6BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9C6C 002A6BCC 41 82 00 EC */ beq lbl_802A9D58 -/* 802A9C70 002A6BD0 3B E0 00 01 */ li r31, 1 -/* 802A9C74 002A6BD4 48 00 00 E4 */ b lbl_802A9D58 -lbl_802A9C78: -/* 802A9C78 002A6BD8 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 802A9C7C 002A6BDC 7F 63 DB 78 */ mr r3, r27 -/* 802A9C80 002A6BE0 80 BC 00 44 */ lwz r5, 0x44(r28) -/* 802A9C84 002A6BE4 7F C6 F3 78 */ mr r6, r30 -/* 802A9C88 002A6BE8 4B FF FE 01 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9C8C 002A6BEC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9C90 002A6BF0 28 00 00 01 */ cmplwi r0, 1 -/* 802A9C94 002A6BF4 40 82 00 C4 */ bne lbl_802A9D58 -/* 802A9C98 002A6BF8 3B E0 00 01 */ li r31, 1 -/* 802A9C9C 002A6BFC 48 00 00 BC */ b lbl_802A9D58 -lbl_802A9CA0: -/* 802A9CA0 002A6C00 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 802A9CA4 002A6C04 41 82 00 58 */ beq lbl_802A9CFC -/* 802A9CA8 002A6C08 88 1C 00 3C */ lbz r0, 0x3c(r28) -/* 802A9CAC 002A6C0C 28 00 00 01 */ cmplwi r0, 1 -/* 802A9CB0 002A6C10 40 82 00 24 */ bne lbl_802A9CD4 -/* 802A9CB4 002A6C14 80 9C 00 48 */ lwz r4, 0x48(r28) -/* 802A9CB8 002A6C18 7F 63 DB 78 */ mr r3, r27 -/* 802A9CBC 002A6C1C 7F C5 F3 78 */ mr r5, r30 -/* 802A9CC0 002A6C20 4B FF FC 91 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9CC4 002A6C24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9CC8 002A6C28 41 82 00 34 */ beq lbl_802A9CFC -/* 802A9CCC 002A6C2C 38 60 00 01 */ li r3, 1 -/* 802A9CD0 002A6C30 48 00 00 8C */ b lbl_802A9D5C -lbl_802A9CD4: -/* 802A9CD4 002A6C34 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 802A9CD8 002A6C38 7F 63 DB 78 */ mr r3, r27 -/* 802A9CDC 002A6C3C 80 BC 00 44 */ lwz r5, 0x44(r28) -/* 802A9CE0 002A6C40 7F C6 F3 78 */ mr r6, r30 -/* 802A9CE4 002A6C44 4B FF FD A5 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9CE8 002A6C48 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9CEC 002A6C4C 28 00 00 01 */ cmplwi r0, 1 -/* 802A9CF0 002A6C50 40 82 00 0C */ bne lbl_802A9CFC -/* 802A9CF4 002A6C54 38 60 00 01 */ li r3, 1 -/* 802A9CF8 002A6C58 48 00 00 64 */ b lbl_802A9D5C -lbl_802A9CFC: -/* 802A9CFC 002A6C5C 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 802A9D00 002A6C60 41 82 00 58 */ beq lbl_802A9D58 -/* 802A9D04 002A6C64 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 802A9D08 002A6C68 28 00 00 01 */ cmplwi r0, 1 -/* 802A9D0C 002A6C6C 40 82 00 24 */ bne lbl_802A9D30 -/* 802A9D10 002A6C70 80 9D 00 48 */ lwz r4, 0x48(r29) -/* 802A9D14 002A6C74 7F 63 DB 78 */ mr r3, r27 -/* 802A9D18 002A6C78 7F C5 F3 78 */ mr r5, r30 -/* 802A9D1C 002A6C7C 4B FF FC 35 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9D20 002A6C80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9D24 002A6C84 41 82 00 34 */ beq lbl_802A9D58 -/* 802A9D28 002A6C88 38 60 00 01 */ li r3, 1 -/* 802A9D2C 002A6C8C 48 00 00 30 */ b lbl_802A9D5C -lbl_802A9D30: -/* 802A9D30 002A6C90 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 802A9D34 002A6C94 7F 63 DB 78 */ mr r3, r27 -/* 802A9D38 002A6C98 80 BD 00 44 */ lwz r5, 0x44(r29) -/* 802A9D3C 002A6C9C 7F C6 F3 78 */ mr r6, r30 -/* 802A9D40 002A6CA0 4B FF FD 49 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9D44 002A6CA4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9D48 002A6CA8 28 00 00 01 */ cmplwi r0, 1 -/* 802A9D4C 002A6CAC 40 82 00 0C */ bne lbl_802A9D58 -/* 802A9D50 002A6CB0 38 60 00 01 */ li r3, 1 -/* 802A9D54 002A6CB4 48 00 00 08 */ b lbl_802A9D5C -lbl_802A9D58: -/* 802A9D58 002A6CB8 7F E3 FB 78 */ mr r3, r31 -lbl_802A9D5C: -/* 802A9D5C 002A6CBC BB 21 00 14 */ lmw r25, 0x14(r1) -/* 802A9D60 002A6CC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802A9D64 002A6CC4 7C 08 03 A6 */ mtlr r0 -/* 802A9D68 002A6CC8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802A9D6C 002A6CCC 4E 80 00 20 */ blr - -.global LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo -LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo: -/* 802A9D70 002A6CD0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802A9D74 002A6CD4 7C 08 02 A6 */ mflr r0 -/* 802A9D78 002A6CD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802A9D7C 002A6CDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802A9D80 002A6CE0 3B E0 00 00 */ li r31, 0 -/* 802A9D84 002A6CE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802A9D88 002A6CE8 7C BE 2B 78 */ mr r30, r5 -/* 802A9D8C 002A6CEC 38 A1 00 08 */ addi r5, r1, 8 -/* 802A9D90 002A6CF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802A9D94 002A6CF4 7C 9D 23 78 */ mr r29, r4 -/* 802A9D98 002A6CF8 93 81 00 10 */ stw r28, 0x10(r1) -/* 802A9D9C 002A6CFC 7C 7C 1B 78 */ mr r28, r3 -/* 802A9DA0 002A6D00 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 802A9DA4 002A6D04 7F A3 EB 78 */ mr r3, r29 -/* 802A9DA8 002A6D08 38 06 00 01 */ addi r0, r6, 1 -/* 802A9DAC 002A6D0C 90 1C 00 14 */ stw r0, 0x14(r28) -/* 802A9DB0 002A6D10 80 9E 00 00 */ lwz r4, 0(r30) -/* 802A9DB4 002A6D14 48 02 BE 05 */ bl LineIntersectsBox__6COBBoxCFRC5CMRayRf -/* 802A9DB8 002A6D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9DBC 002A6D1C 41 82 00 74 */ beq lbl_802A9E30 -/* 802A9DC0 002A6D20 C0 21 00 08 */ lfs f1, 8(r1) -/* 802A9DC4 002A6D24 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802A9DC8 002A6D28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802A9DCC 002A6D2C 40 80 00 64 */ bge lbl_802A9E30 -/* 802A9DD0 002A6D30 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 802A9DD4 002A6D34 28 00 00 01 */ cmplwi r0, 1 -/* 802A9DD8 002A6D38 40 82 00 28 */ bne lbl_802A9E00 -/* 802A9DDC 002A6D3C 80 9D 00 48 */ lwz r4, 0x48(r29) -/* 802A9DE0 002A6D40 7F 83 E3 78 */ mr r3, r28 -/* 802A9DE4 002A6D44 7F C5 F3 78 */ mr r5, r30 -/* 802A9DE8 002A6D48 4B FF FB 69 */ bl LineIntersectsLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataR12CRayCastInfo -/* 802A9DEC 002A6D4C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9DF0 002A6D50 28 00 00 01 */ cmplwi r0, 1 -/* 802A9DF4 002A6D54 40 82 00 30 */ bne lbl_802A9E24 -/* 802A9DF8 002A6D58 3B E0 00 01 */ li r31, 1 -/* 802A9DFC 002A6D5C 48 00 00 28 */ b lbl_802A9E24 -lbl_802A9E00: -/* 802A9E00 002A6D60 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 802A9E04 002A6D64 7F 83 E3 78 */ mr r3, r28 -/* 802A9E08 002A6D68 80 BD 00 44 */ lwz r5, 0x44(r29) -/* 802A9E0C 002A6D6C 7F C6 F3 78 */ mr r6, r30 -/* 802A9E10 002A6D70 4B FF FC 79 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodePCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9E14 002A6D74 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802A9E18 002A6D78 28 00 00 01 */ cmplwi r0, 1 -/* 802A9E1C 002A6D7C 40 82 00 08 */ bne lbl_802A9E24 -/* 802A9E20 002A6D80 3B E0 00 01 */ li r31, 1 -lbl_802A9E24: -/* 802A9E24 002A6D84 38 00 00 01 */ li r0, 1 -/* 802A9E28 002A6D88 98 1D 00 4C */ stb r0, 0x4c(r29) -/* 802A9E2C 002A6D8C 48 00 00 10 */ b lbl_802A9E3C -lbl_802A9E30: -/* 802A9E30 002A6D90 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802A9E34 002A6D94 38 03 00 01 */ addi r0, r3, 1 -/* 802A9E38 002A6D98 90 1C 00 18 */ stw r0, 0x18(r28) -lbl_802A9E3C: -/* 802A9E3C 002A6D9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802A9E40 002A6DA0 7F E3 FB 78 */ mr r3, r31 -/* 802A9E44 002A6DA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802A9E48 002A6DA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802A9E4C 002A6DAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802A9E50 002A6DB0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802A9E54 002A6DB4 7C 08 03 A6 */ mtlr r0 -/* 802A9E58 002A6DB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802A9E5C 002A6DBC 4E 80 00 20 */ blr - -.global LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f -LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f: -/* 802A9E60 002A6DC0 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802A9E64 002A6DC4 7C 08 02 A6 */ mflr r0 -/* 802A9E68 002A6DC8 90 01 01 14 */ stw r0, 0x114(r1) -/* 802A9E6C 002A6DCC DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802A9E70 002A6DD0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802A9E74 002A6DD4 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802A9E78 002A6DD8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802A9E7C 002A6DDC DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 802A9E80 002A6DE0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 802A9E84 002A6DE4 BF 61 00 CC */ stmw r27, 0xcc(r1) -/* 802A9E88 002A6DE8 FF A0 08 90 */ fmr f29, f1 -/* 802A9E8C 002A6DEC 7C 7B 1B 78 */ mr r27, r3 -/* 802A9E90 002A6DF0 7C BD 2B 78 */ mr r29, r5 -/* 802A9E94 002A6DF4 7C FE 3B 78 */ mr r30, r7 -/* 802A9E98 002A6DF8 7C 9C 23 78 */ mr r28, r4 -/* 802A9E9C 002A6DFC 7C DF 33 78 */ mr r31, r6 -/* 802A9EA0 002A6E00 7F A4 EB 78 */ mr r4, r29 -/* 802A9EA4 002A6E04 7F C5 F3 78 */ mr r5, r30 -/* 802A9EA8 002A6E08 38 61 00 30 */ addi r3, r1, 0x30 -/* 802A9EAC 002A6E0C 48 02 C1 3D */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f -/* 802A9EB0 002A6E10 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) -/* 802A9EB4 002A6E14 38 01 00 90 */ addi r0, r1, 0x90 -/* 802A9EB8 002A6E18 C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 802A9EBC 002A6E1C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802A9EC0 002A6E20 C3 E1 00 34 */ lfs f31, 0x34(r1) -/* 802A9EC4 002A6E24 C1 A1 00 38 */ lfs f13, 0x38(r1) -/* 802A9EC8 002A6E28 C1 81 00 3C */ lfs f12, 0x3c(r1) -/* 802A9ECC 002A6E2C C1 61 00 40 */ lfs f11, 0x40(r1) -/* 802A9ED0 002A6E30 C1 41 00 44 */ lfs f10, 0x44(r1) -/* 802A9ED4 002A6E34 C1 21 00 48 */ lfs f9, 0x48(r1) -/* 802A9ED8 002A6E38 C1 01 00 4C */ lfs f8, 0x4c(r1) -/* 802A9EDC 002A6E3C C0 E1 00 50 */ lfs f7, 0x50(r1) -/* 802A9EE0 002A6E40 C0 C1 00 54 */ lfs f6, 0x54(r1) -/* 802A9EE4 002A6E44 C0 A1 00 58 */ lfs f5, 0x58(r1) -/* 802A9EE8 002A6E48 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 802A9EEC 002A6E4C C0 61 00 60 */ lfs f3, 0x60(r1) -/* 802A9EF0 002A6E50 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 802A9EF4 002A6E54 C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) -/* 802A9EF8 002A6E58 D3 C1 00 90 */ stfs f30, 0x90(r1) -/* 802A9EFC 002A6E5C D3 E1 00 94 */ stfs f31, 0x94(r1) -/* 802A9F00 002A6E60 D1 A1 00 98 */ stfs f13, 0x98(r1) -/* 802A9F04 002A6E64 D1 81 00 9C */ stfs f12, 0x9c(r1) -/* 802A9F08 002A6E68 D1 61 00 A0 */ stfs f11, 0xa0(r1) -/* 802A9F0C 002A6E6C D1 41 00 A4 */ stfs f10, 0xa4(r1) -/* 802A9F10 002A6E70 D1 21 00 A8 */ stfs f9, 0xa8(r1) -/* 802A9F14 002A6E74 D1 01 00 AC */ stfs f8, 0xac(r1) -/* 802A9F18 002A6E78 D0 E1 00 B0 */ stfs f7, 0xb0(r1) -/* 802A9F1C 002A6E7C D0 C1 00 B4 */ stfs f6, 0xb4(r1) -/* 802A9F20 002A6E80 D0 A1 00 B8 */ stfs f5, 0xb8(r1) -/* 802A9F24 002A6E84 D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 802A9F28 002A6E88 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 802A9F2C 002A6E8C D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 802A9F30 002A6E90 90 01 00 68 */ stw r0, 0x68(r1) -/* 802A9F34 002A6E94 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802A9F38 002A6E98 D3 A1 00 70 */ stfs f29, 0x70(r1) -/* 802A9F3C 002A6E9C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802A9F40 002A6EA0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802A9F44 002A6EA4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802A9F48 002A6EA8 48 06 A9 B1 */ bl Normalize__9CVector3fFv -/* 802A9F4C 002A6EAC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802A9F50 002A6EB0 38 00 00 00 */ li r0, 0 -/* 802A9F54 002A6EB4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802A9F58 002A6EB8 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802A9F5C 002A6EBC C0 04 00 04 */ lfs f0, 4(r4) -/* 802A9F60 002A6EC0 7F 83 E3 78 */ mr r3, r28 -/* 802A9F64 002A6EC4 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802A9F68 002A6EC8 3B E1 00 74 */ addi r31, r1, 0x74 -/* 802A9F6C 002A6ECC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 802A9F70 002A6ED0 C0 24 00 00 */ lfs f1, 0(r4) -/* 802A9F74 002A6ED4 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 802A9F78 002A6ED8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802A9F7C 002A6EDC C0 44 00 08 */ lfs f2, 8(r4) -/* 802A9F80 002A6EE0 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 802A9F84 002A6EE4 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802A9F88 002A6EE8 80 9C 00 10 */ lwz r4, 0x10(r28) -/* 802A9F8C 002A6EEC EC 02 01 7A */ fmadds f0, f2, f5, f0 -/* 802A9F90 002A6EF0 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 802A9F94 002A6EF4 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 802A9F98 002A6EF8 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 802A9F9C 002A6EFC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 802A9FA0 002A6F00 90 01 00 88 */ stw r0, 0x88(r1) -/* 802A9FA4 002A6F04 80 84 00 88 */ lwz r4, 0x88(r4) -/* 802A9FA8 002A6F08 4B FF FD C9 */ bl LineIntersectsOBBTree__18CCollidableOBBTreeCFPCQ28COBBTree5CNodeR12CRayCastInfo -/* 802A9FAC 002A6F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802A9FB0 002A6F10 41 82 00 94 */ beq lbl_802AA044 -/* 802A9FB4 002A6F14 7F E4 FB 78 */ mr r4, r31 -/* 802A9FB8 002A6F18 7F C5 F3 78 */ mr r5, r30 -/* 802A9FBC 002A6F1C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802A9FC0 002A6F20 48 00 01 0D */ bl TransformPlane__FRC6CPlaneRC12CTransform4f -/* 802A9FC4 002A6F24 C1 01 00 70 */ lfs f8, 0x70(r1) -/* 802A9FC8 002A6F28 38 00 00 01 */ li r0, 1 -/* 802A9FCC 002A6F2C C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 802A9FD0 002A6F30 C0 3D 00 30 */ lfs f1, 0x30(r29) -/* 802A9FD4 002A6F34 EC 88 00 32 */ fmuls f4, f8, f0 -/* 802A9FD8 002A6F38 C0 BD 00 00 */ lfs f5, 0(r29) -/* 802A9FDC 002A6F3C EC 48 00 72 */ fmuls f2, f8, f1 -/* 802A9FE0 002A6F40 C0 7D 00 04 */ lfs f3, 4(r29) -/* 802A9FE4 002A6F44 C0 1D 00 34 */ lfs f0, 0x34(r29) -/* 802A9FE8 002A6F48 EC 85 20 2A */ fadds f4, f5, f4 -/* 802A9FEC 002A6F4C EC 43 10 2A */ fadds f2, f3, f2 -/* 802A9FF0 002A6F50 C0 C1 00 20 */ lfs f6, 0x20(r1) -/* 802A9FF4 002A6F54 C0 E1 00 24 */ lfs f7, 0x24(r1) -/* 802A9FF8 002A6F58 EC 08 00 32 */ fmuls f0, f8, f0 -/* 802A9FFC 002A6F5C C0 3D 00 08 */ lfs f1, 8(r29) -/* 802AA000 002A6F60 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802AA004 002A6F64 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 802AA008 002A6F68 EC 01 00 2A */ fadds f0, f1, f0 -/* 802AA00C 002A6F6C D1 1B 00 00 */ stfs f8, 0(r27) -/* 802AA010 002A6F70 D0 9B 00 04 */ stfs f4, 4(r27) -/* 802AA014 002A6F74 D0 5B 00 08 */ stfs f2, 8(r27) -/* 802AA018 002A6F78 D0 1B 00 0C */ stfs f0, 0xc(r27) -/* 802AA01C 002A6F7C D0 DB 00 10 */ stfs f6, 0x10(r27) -/* 802AA020 002A6F80 D0 FB 00 14 */ stfs f7, 0x14(r27) -/* 802AA024 002A6F84 D0 BB 00 18 */ stfs f5, 0x18(r27) -/* 802AA028 002A6F88 D0 7B 00 1C */ stfs f3, 0x1c(r27) -/* 802AA02C 002A6F8C 98 1B 00 20 */ stb r0, 0x20(r27) -/* 802AA030 002A6F90 80 01 00 88 */ lwz r0, 0x88(r1) -/* 802AA034 002A6F94 80 61 00 8C */ lwz r3, 0x8c(r1) -/* 802AA038 002A6F98 90 7B 00 2C */ stw r3, 0x2c(r27) -/* 802AA03C 002A6F9C 90 1B 00 28 */ stw r0, 0x28(r27) -/* 802AA040 002A6FA0 48 00 00 60 */ b lbl_802AA0A0 -lbl_802AA044: -/* 802AA044 002A6FA4 C0 22 C1 B4 */ lfs f1, lbl_805ADED4@sda21(r2) -/* 802AA048 002A6FA8 38 61 00 08 */ addi r3, r1, 8 -/* 802AA04C 002A6FAC C0 02 C1 B8 */ lfs f0, lbl_805ADED8@sda21(r2) -/* 802AA050 002A6FB0 D0 3B 00 00 */ stfs f1, 0(r27) -/* 802AA054 002A6FB4 D0 3B 00 04 */ stfs f1, 4(r27) -/* 802AA058 002A6FB8 D0 3B 00 08 */ stfs f1, 8(r27) -/* 802AA05C 002A6FBC D0 3B 00 0C */ stfs f1, 0xc(r27) -/* 802AA060 002A6FC0 D0 01 00 08 */ stfs f0, 8(r1) -/* 802AA064 002A6FC4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802AA068 002A6FC8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802AA06C 002A6FCC 48 06 A8 8D */ bl Normalize__9CVector3fFv -/* 802AA070 002A6FD0 C0 21 00 08 */ lfs f1, 8(r1) -/* 802AA074 002A6FD4 38 00 00 00 */ li r0, 0 -/* 802AA078 002A6FD8 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) -/* 802AA07C 002A6FDC D0 3B 00 10 */ stfs f1, 0x10(r27) -/* 802AA080 002A6FE0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802AA084 002A6FE4 D0 3B 00 14 */ stfs f1, 0x14(r27) -/* 802AA088 002A6FE8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802AA08C 002A6FEC D0 3B 00 18 */ stfs f1, 0x18(r27) -/* 802AA090 002A6FF0 D0 1B 00 1C */ stfs f0, 0x1c(r27) -/* 802AA094 002A6FF4 98 1B 00 20 */ stb r0, 0x20(r27) -/* 802AA098 002A6FF8 90 1B 00 2C */ stw r0, 0x2c(r27) -/* 802AA09C 002A6FFC 90 1B 00 28 */ stw r0, 0x28(r27) -lbl_802AA0A0: -/* 802AA0A0 002A7000 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802AA0A4 002A7004 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802AA0A8 002A7008 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 802AA0AC 002A700C CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 802AA0B0 002A7010 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 802AA0B4 002A7014 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 802AA0B8 002A7018 BB 61 00 CC */ lmw r27, 0xcc(r1) -/* 802AA0BC 002A701C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802AA0C0 002A7020 7C 08 03 A6 */ mtlr r0 -/* 802AA0C4 002A7024 38 21 01 10 */ addi r1, r1, 0x110 -/* 802AA0C8 002A7028 4E 80 00 20 */ blr - -.global TransformPlane__FRC6CPlaneRC12CTransform4f -TransformPlane__FRC6CPlaneRC12CTransform4f: -/* 802AA0CC 002A702C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802AA0D0 002A7030 7C 08 02 A6 */ mflr r0 -/* 802AA0D4 002A7034 90 01 00 74 */ stw r0, 0x74(r1) -/* 802AA0D8 002A7038 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 802AA0DC 002A703C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802AA0E0 002A7040 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802AA0E4 002A7044 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802AA0E8 002A7048 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 802AA0EC 002A704C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 802AA0F0 002A7050 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802AA0F4 002A7054 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802AA0F8 002A7058 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802AA0FC 002A705C 7C 9E 23 78 */ mr r30, r4 -/* 802AA100 002A7060 7C BF 2B 78 */ mr r31, r5 -/* 802AA104 002A7064 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 802AA108 002A7068 7C 7D 1B 78 */ mr r29, r3 -/* 802AA10C 002A706C C0 44 00 04 */ lfs f2, 4(r4) -/* 802AA110 002A7070 7F E4 FB 78 */ mr r4, r31 -/* 802AA114 002A7074 C0 3E 00 08 */ lfs f1, 8(r30) -/* 802AA118 002A7078 38 61 00 20 */ addi r3, r1, 0x20 -/* 802AA11C 002A707C C0 1E 00 00 */ lfs f0, 0(r30) -/* 802AA120 002A7080 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802AA124 002A7084 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802AA128 002A7088 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802AA12C 002A708C EC 03 00 32 */ fmuls f0, f3, f0 -/* 802AA130 002A7090 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802AA134 002A7094 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802AA138 002A7098 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802AA13C 002A709C 48 06 89 AD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802AA140 002A70A0 C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 802AA144 002A70A4 7F E4 FB 78 */ mr r4, r31 -/* 802AA148 002A70A8 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 802AA14C 002A70AC 7F C5 F3 78 */ mr r5, r30 -/* 802AA150 002A70B0 C3 A1 00 28 */ lfs f29, 0x28(r1) -/* 802AA154 002A70B4 38 61 00 08 */ addi r3, r1, 8 -/* 802AA158 002A70B8 48 06 89 29 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 802AA15C 002A70BC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802AA160 002A70C0 C0 61 00 08 */ lfs f3, 8(r1) -/* 802AA164 002A70C4 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 802AA168 002A70C8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802AA16C 002A70CC D0 7D 00 00 */ stfs f3, 0(r29) -/* 802AA170 002A70D0 EC 1F 00 FA */ fmadds f0, f31, f3, f0 -/* 802AA174 002A70D4 D0 3D 00 04 */ stfs f1, 4(r29) -/* 802AA178 002A70D8 EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 802AA17C 002A70DC D0 5D 00 08 */ stfs f2, 8(r29) -/* 802AA180 002A70E0 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 802AA184 002A70E4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 802AA188 002A70E8 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 802AA18C 002A70EC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 802AA190 002A70F0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 802AA194 002A70F4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 802AA198 002A70F8 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 802AA19C 002A70FC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802AA1A0 002A7100 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802AA1A4 002A7104 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802AA1A8 002A7108 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802AA1AC 002A710C 7C 08 03 A6 */ mtlr r0 -/* 802AA1B0 002A7110 38 21 00 70 */ addi r1, r1, 0x70 -/* 802AA1B4 002A7114 4E 80 00 20 */ blr - -.global CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure -CastRayInternal__18CCollidableOBBTreeCFRC25CInternalRayCastStructure: -/* 802AA1B8 002A7118 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AA1BC 002A711C 7C 08 02 A6 */ mflr r0 -/* 802AA1C0 002A7120 38 E5 00 3C */ addi r7, r5, 0x3c -/* 802AA1C4 002A7124 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AA1C8 002A7128 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AA1CC 002A712C 7C 7F 1B 78 */ mr r31, r3 -/* 802AA1D0 002A7130 80 C5 00 6C */ lwz r6, 0x6c(r5) -/* 802AA1D4 002A7134 C0 25 00 38 */ lfs f1, 0x38(r5) -/* 802AA1D8 002A7138 4B FF FC 89 */ bl LineIntersectsTree__18CCollidableOBBTreeCFRC5CMRayRC15CMaterialFilterfRC12CTransform4f -/* 802AA1DC 002A713C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AA1E0 002A7140 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AA1E4 002A7144 7C 08 03 A6 */ mtlr r0 -/* 802AA1E8 002A7148 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AA1EC 002A714C 4E 80 00 20 */ blr - -.global SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: -/* 802AA1F0 002A7150 94 21 FB 30 */ stwu r1, -0x4d0(r1) -/* 802AA1F4 002A7154 7C 08 02 A6 */ mflr r0 -/* 802AA1F8 002A7158 90 01 04 D4 */ stw r0, 0x4d4(r1) -/* 802AA1FC 002A715C DB E1 04 C0 */ stfd f31, 0x4c0(r1) -/* 802AA200 002A7160 F3 E1 04 C8 */ psq_st f31, 1224(r1), 0, qr0 -/* 802AA204 002A7164 DB C1 04 B0 */ stfd f30, 0x4b0(r1) -/* 802AA208 002A7168 F3 C1 04 B8 */ psq_st f30, 1208(r1), 0, qr0 -/* 802AA20C 002A716C DB A1 04 A0 */ stfd f29, 0x4a0(r1) -/* 802AA210 002A7170 F3 A1 04 A8 */ psq_st f29, 1192(r1), 0, qr0 -/* 802AA214 002A7174 DB 81 04 90 */ stfd f28, 0x490(r1) -/* 802AA218 002A7178 F3 81 04 98 */ psq_st f28, 1176(r1), 0, qr0 -/* 802AA21C 002A717C DB 61 04 80 */ stfd f27, 0x480(r1) -/* 802AA220 002A7180 F3 61 04 88 */ psq_st f27, 1160(r1), 0, qr0 -/* 802AA224 002A7184 DB 41 04 70 */ stfd f26, 0x470(r1) -/* 802AA228 002A7188 F3 41 04 78 */ psq_st f26, 1144(r1), 0, qr0 -/* 802AA22C 002A718C DB 21 04 60 */ stfd f25, 0x460(r1) -/* 802AA230 002A7190 F3 21 04 68 */ psq_st f25, 1128(r1), 0, qr0 -/* 802AA234 002A7194 DB 01 04 50 */ stfd f24, 0x450(r1) -/* 802AA238 002A7198 F3 01 04 58 */ psq_st f24, 1112(r1), 0, qr0 -/* 802AA23C 002A719C DA E1 04 40 */ stfd f23, 0x440(r1) -/* 802AA240 002A71A0 F2 E1 04 48 */ psq_st f23, 1096(r1), 0, qr0 -/* 802AA244 002A71A4 DA C1 04 30 */ stfd f22, 0x430(r1) -/* 802AA248 002A71A8 F2 C1 04 38 */ psq_st f22, 1080(r1), 0, qr0 -/* 802AA24C 002A71AC DA A1 04 20 */ stfd f21, 0x420(r1) -/* 802AA250 002A71B0 F2 A1 04 28 */ psq_st f21, 1064(r1), 0, qr0 -/* 802AA254 002A71B4 DA 81 04 10 */ stfd f20, 0x410(r1) -/* 802AA258 002A71B8 F2 81 04 18 */ psq_st f20, 1048(r1), 0, qr0 -/* 802AA25C 002A71BC DA 61 04 00 */ stfd f19, 0x400(r1) -/* 802AA260 002A71C0 F2 61 04 08 */ psq_st f19, 1032(r1), 0, qr0 -/* 802AA264 002A71C4 DA 41 03 F0 */ stfd f18, 0x3f0(r1) -/* 802AA268 002A71C8 F2 41 03 F8 */ psq_st f18, 1016(r1), 0, qr0 -/* 802AA26C 002A71CC BD C1 03 A8 */ stmw r14, 0x3a8(r1) -/* 802AA270 002A71D0 C0 C6 00 0C */ lfs f6, 0xc(r6) -/* 802AA274 002A71D4 7C 6F 1B 78 */ mr r15, r3 -/* 802AA278 002A71D8 C0 66 00 04 */ lfs f3, 4(r6) -/* 802AA27C 002A71DC 7C D0 33 78 */ mr r16, r6 -/* 802AA280 002A71E0 C0 46 00 08 */ lfs f2, 8(r6) -/* 802AA284 002A71E4 7C F1 3B 78 */ mr r17, r7 -/* 802AA288 002A71E8 EC A3 30 2A */ fadds f5, f3, f6 -/* 802AA28C 002A71EC C0 06 00 00 */ lfs f0, 0(r6) -/* 802AA290 002A71F0 EC 82 30 2A */ fadds f4, f2, f6 -/* 802AA294 002A71F4 90 81 00 08 */ stw r4, 8(r1) -/* 802AA298 002A71F8 EC 20 30 2A */ fadds f1, f0, f6 -/* 802AA29C 002A71FC 82 81 04 D8 */ lwz r20, 0x4d8(r1) -/* 802AA2A0 002A7200 EC 63 30 28 */ fsubs f3, f3, f6 -/* 802AA2A4 002A7204 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802AA2A8 002A7208 EC 42 30 28 */ fsubs f2, f2, f6 -/* 802AA2AC 002A720C 7D 32 4B 78 */ mr r18, r9 -/* 802AA2B0 002A7210 EC 00 30 28 */ fsubs f0, f0, f6 -/* 802AA2B4 002A7214 91 01 00 10 */ stw r8, 0x10(r1) -/* 802AA2B8 002A7218 D0 21 01 8C */ stfs f1, 0x18c(r1) -/* 802AA2BC 002A721C 7D 53 53 78 */ mr r19, r10 -/* 802AA2C0 002A7220 38 61 02 10 */ addi r3, r1, 0x210 -/* 802AA2C4 002A7224 38 81 01 98 */ addi r4, r1, 0x198 -/* 802AA2C8 002A7228 D0 A1 01 90 */ stfs f5, 0x190(r1) -/* 802AA2CC 002A722C 38 A1 01 8C */ addi r5, r1, 0x18c -/* 802AA2D0 002A7230 D0 81 01 94 */ stfs f4, 0x194(r1) -/* 802AA2D4 002A7234 D0 01 01 98 */ stfs f0, 0x198(r1) -/* 802AA2D8 002A7238 D0 61 01 9C */ stfs f3, 0x19c(r1) -/* 802AA2DC 002A723C D0 41 01 A0 */ stfs f2, 0x1a0(r1) -/* 802AA2E0 002A7240 48 08 E2 29 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802AA2E4 002A7244 C8 93 00 00 */ lfd f4, 0(r19) -/* 802AA2E8 002A7248 38 61 01 F8 */ addi r3, r1, 0x1f8 -/* 802AA2EC 002A724C C0 61 02 1C */ lfs f3, 0x21c(r1) -/* 802AA2F0 002A7250 38 81 01 80 */ addi r4, r1, 0x180 -/* 802AA2F4 002A7254 FC 80 20 18 */ frsp f4, f4 -/* 802AA2F8 002A7258 C0 52 00 00 */ lfs f2, 0(r18) -/* 802AA2FC 002A725C C0 32 00 04 */ lfs f1, 4(r18) -/* 802AA300 002A7260 C0 12 00 08 */ lfs f0, 8(r18) -/* 802AA304 002A7264 EF A4 00 B2 */ fmuls f29, f4, f2 -/* 802AA308 002A7268 C0 41 02 20 */ lfs f2, 0x220(r1) -/* 802AA30C 002A726C EF C4 00 72 */ fmuls f30, f4, f1 -/* 802AA310 002A7270 C0 21 02 24 */ lfs f1, 0x224(r1) -/* 802AA314 002A7274 EF E4 00 32 */ fmuls f31, f4, f0 -/* 802AA318 002A7278 C0 C1 02 10 */ lfs f6, 0x210(r1) -/* 802AA31C 002A727C ED 02 F0 2A */ fadds f8, f2, f30 -/* 802AA320 002A7280 C0 A1 02 14 */ lfs f5, 0x214(r1) -/* 802AA324 002A7284 EC E1 F8 2A */ fadds f7, f1, f31 -/* 802AA328 002A7288 C0 81 02 18 */ lfs f4, 0x218(r1) -/* 802AA32C 002A728C EC 03 E8 2A */ fadds f0, f3, f29 -/* 802AA330 002A7290 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) -/* 802AA334 002A7294 D0 A1 01 FC */ stfs f5, 0x1fc(r1) -/* 802AA338 002A7298 D0 81 02 00 */ stfs f4, 0x200(r1) -/* 802AA33C 002A729C D0 61 02 04 */ stfs f3, 0x204(r1) -/* 802AA340 002A72A0 D0 41 02 08 */ stfs f2, 0x208(r1) -/* 802AA344 002A72A4 D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 802AA348 002A72A8 D0 01 01 80 */ stfs f0, 0x180(r1) -/* 802AA34C 002A72AC D1 01 01 84 */ stfs f8, 0x184(r1) -/* 802AA350 002A72B0 D0 E1 01 88 */ stfs f7, 0x188(r1) -/* 802AA354 002A72B4 48 08 D7 B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AA358 002A72B8 C0 41 02 14 */ lfs f2, 0x214(r1) -/* 802AA35C 002A72BC 38 61 01 F8 */ addi r3, r1, 0x1f8 -/* 802AA360 002A72C0 C0 21 02 18 */ lfs f1, 0x218(r1) -/* 802AA364 002A72C4 38 81 01 74 */ addi r4, r1, 0x174 -/* 802AA368 002A72C8 C0 01 02 10 */ lfs f0, 0x210(r1) -/* 802AA36C 002A72CC EC 42 F0 2A */ fadds f2, f2, f30 -/* 802AA370 002A72D0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 802AA374 002A72D4 EC 00 E8 2A */ fadds f0, f0, f29 -/* 802AA378 002A72D8 D0 41 01 78 */ stfs f2, 0x178(r1) -/* 802AA37C 002A72DC D0 01 01 74 */ stfs f0, 0x174(r1) -/* 802AA380 002A72E0 D0 21 01 7C */ stfs f1, 0x17c(r1) -/* 802AA384 002A72E4 48 08 D7 85 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AA388 002A72E8 38 61 01 68 */ addi r3, r1, 0x168 -/* 802AA38C 002A72EC 38 81 01 F8 */ addi r4, r1, 0x1f8 -/* 802AA390 002A72F0 48 08 D2 7D */ bl GetCenterPoint__6CAABoxCFv -/* 802AA394 002A72F4 C0 61 02 08 */ lfs f3, 0x208(r1) -/* 802AA398 002A72F8 3A E0 00 00 */ li r23, 0 -/* 802AA39C 002A72FC C0 41 01 FC */ lfs f2, 0x1fc(r1) -/* 802AA3A0 002A7300 C0 21 02 0C */ lfs f1, 0x20c(r1) -/* 802AA3A4 002A7304 C0 01 02 00 */ lfs f0, 0x200(r1) -/* 802AA3A8 002A7308 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802AA3AC 002A730C 80 61 00 08 */ lwz r3, 8(r1) -/* 802AA3B0 002A7310 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802AA3B4 002A7314 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) -/* 802AA3B8 002A7318 80 03 00 04 */ lwz r0, 4(r3) -/* 802AA3BC 002A731C EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802AA3C0 002A7320 C0 21 02 04 */ lfs f1, 0x204(r1) -/* 802AA3C4 002A7324 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802AA3C8 002A7328 C0 01 01 F8 */ lfs f0, 0x1f8(r1) -/* 802AA3CC 002A732C C0 61 01 68 */ lfs f3, 0x168(r1) -/* 802AA3D0 002A7330 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AA3D4 002A7334 C0 41 01 6C */ lfs f2, 0x16c(r1) -/* 802AA3D8 002A7338 C0 21 01 70 */ lfs f1, 0x170(r1) -/* 802AA3DC 002A733C 90 01 03 A0 */ stw r0, 0x3a0(r1) -/* 802AA3E0 002A7340 38 00 00 00 */ li r0, 0 -/* 802AA3E4 002A7344 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802AA3E8 002A7348 90 01 03 98 */ stw r0, 0x398(r1) -/* 802AA3EC 002A734C 38 00 00 00 */ li r0, 0 -/* 802AA3F0 002A7350 D0 61 01 EC */ stfs f3, 0x1ec(r1) -/* 802AA3F4 002A7354 D0 41 01 F0 */ stfs f2, 0x1f0(r1) -/* 802AA3F8 002A7358 D0 21 01 F4 */ stfs f1, 0x1f4(r1) -/* 802AA3FC 002A735C 90 01 03 9C */ stw r0, 0x39c(r1) -/* 802AA400 002A7360 D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 802AA404 002A7364 D0 C1 01 E4 */ stfs f6, 0x1e4(r1) -/* 802AA408 002A7368 D0 A1 01 E8 */ stfs f5, 0x1e8(r1) -/* 802AA40C 002A736C 48 00 0C A0 */ b lbl_802AB0AC -lbl_802AA410: -/* 802AA410 002A7370 80 61 00 08 */ lwz r3, 8(r1) -/* 802AA414 002A7374 80 01 03 9C */ lwz r0, 0x39c(r1) -/* 802AA418 002A7378 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 802AA41C 002A737C 38 61 02 28 */ addi r3, r1, 0x228 -/* 802AA420 002A7380 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 802AA424 002A7384 7D C5 02 2E */ lhzx r14, r5, r0 -/* 802AA428 002A7388 80 8F 00 10 */ lwz r4, 0x10(r15) -/* 802AA42C 002A738C 7D C5 73 78 */ mr r5, r14 -/* 802AA430 002A7390 4B FF E6 11 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802AA434 002A7394 C1 01 02 28 */ lfs f8, 0x228(r1) -/* 802AA438 002A7398 7D E3 7B 78 */ mr r3, r15 -/* 802AA43C 002A739C C0 E1 02 2C */ lfs f7, 0x22c(r1) -/* 802AA440 002A73A0 C0 C1 02 30 */ lfs f6, 0x230(r1) -/* 802AA444 002A73A4 C0 A1 02 34 */ lfs f5, 0x234(r1) -/* 802AA448 002A73A8 C0 81 02 38 */ lfs f4, 0x238(r1) -/* 802AA44C 002A73AC C0 61 02 3C */ lfs f3, 0x23c(r1) -/* 802AA450 002A73B0 C0 41 02 40 */ lfs f2, 0x240(r1) -/* 802AA454 002A73B4 C0 21 02 44 */ lfs f1, 0x244(r1) -/* 802AA458 002A73B8 C0 01 02 48 */ lfs f0, 0x248(r1) -/* 802AA45C 002A73BC 80 01 02 4C */ lwz r0, 0x24c(r1) -/* 802AA460 002A73C0 D1 01 02 50 */ stfs f8, 0x250(r1) -/* 802AA464 002A73C4 D0 E1 02 54 */ stfs f7, 0x254(r1) -/* 802AA468 002A73C8 D0 C1 02 58 */ stfs f6, 0x258(r1) -/* 802AA46C 002A73CC D0 A1 02 5C */ stfs f5, 0x25c(r1) -/* 802AA470 002A73D0 D0 81 02 60 */ stfs f4, 0x260(r1) -/* 802AA474 002A73D4 D0 61 02 64 */ stfs f3, 0x264(r1) -/* 802AA478 002A73D8 D0 41 02 68 */ stfs f2, 0x268(r1) -/* 802AA47C 002A73DC D0 21 02 6C */ stfs f1, 0x26c(r1) -/* 802AA480 002A73E0 D0 01 02 70 */ stfs f0, 0x270(r1) -/* 802AA484 002A73E4 90 01 02 74 */ stw r0, 0x274(r1) -/* 802AA488 002A73E8 81 8F 00 00 */ lwz r12, 0(r15) -/* 802AA48C 002A73EC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AA490 002A73F0 7D 89 03 A6 */ mtctr r12 -/* 802AA494 002A73F4 4E 80 04 21 */ bctrl -/* 802AA498 002A73F8 80 C1 02 74 */ lwz r6, 0x274(r1) -/* 802AA49C 002A73FC 38 81 00 48 */ addi r4, r1, 0x48 -/* 802AA4A0 002A7400 80 03 00 04 */ lwz r0, 4(r3) -/* 802AA4A4 002A7404 80 A3 00 00 */ lwz r5, 0(r3) -/* 802AA4A8 002A7408 7C C0 03 78 */ or r0, r6, r0 -/* 802AA4AC 002A740C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802AA4B0 002A7410 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802AA4B4 002A7414 90 A1 00 48 */ stw r5, 0x48(r1) -/* 802AA4B8 002A7418 48 02 AE 95 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802AA4BC 002A741C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AA4C0 002A7420 41 82 0B D4 */ beq lbl_802AB094 -/* 802AA4C4 002A7424 38 C1 02 5C */ addi r6, r1, 0x25c -/* 802AA4C8 002A7428 38 E1 02 68 */ addi r7, r1, 0x268 -/* 802AA4CC 002A742C 38 61 01 EC */ addi r3, r1, 0x1ec -/* 802AA4D0 002A7430 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 802AA4D4 002A7434 38 A1 02 50 */ addi r5, r1, 0x250 -/* 802AA4D8 002A7438 48 02 70 09 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802AA4DC 002A743C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AA4E0 002A7440 41 82 0B 38 */ beq lbl_802AB018 -/* 802AA4E4 002A7444 80 AF 00 1C */ lwz r5, 0x1c(r15) -/* 802AA4E8 002A7448 38 61 01 5C */ addi r3, r1, 0x15c -/* 802AA4EC 002A744C 38 81 02 50 */ addi r4, r1, 0x250 -/* 802AA4F0 002A7450 38 05 00 01 */ addi r0, r5, 1 -/* 802AA4F4 002A7454 90 0F 00 1C */ stw r0, 0x1c(r15) -/* 802AA4F8 002A7458 4B FF 81 AD */ bl GetNormal__17CCollisionSurfaceCFv -/* 802AA4FC 002A745C C3 30 00 04 */ lfs f25, 4(r16) -/* 802AA500 002A7460 C0 50 00 00 */ lfs f2, 0(r16) -/* 802AA504 002A7464 EC 19 F0 2A */ fadds f0, f25, f30 -/* 802AA508 002A7468 C1 01 02 54 */ lfs f8, 0x254(r1) -/* 802AA50C 002A746C C1 81 01 60 */ lfs f12, 0x160(r1) -/* 802AA510 002A7470 EC 22 E8 2A */ fadds f1, f2, f29 -/* 802AA514 002A7474 C3 70 00 08 */ lfs f27, 8(r16) -/* 802AA518 002A7478 EC 00 40 28 */ fsubs f0, f0, f8 -/* 802AA51C 002A747C C1 21 02 50 */ lfs f9, 0x250(r1) -/* 802AA520 002A7480 EC 7B F8 2A */ fadds f3, f27, f31 -/* 802AA524 002A7484 C1 A1 01 5C */ lfs f13, 0x15c(r1) -/* 802AA528 002A7488 EC 21 48 28 */ fsubs f1, f1, f9 -/* 802AA52C 002A748C C1 41 02 58 */ lfs f10, 0x258(r1) -/* 802AA530 002A7490 EC 00 03 32 */ fmuls f0, f0, f12 -/* 802AA534 002A7494 C1 61 01 64 */ lfs f11, 0x164(r1) -/* 802AA538 002A7498 EC 63 50 28 */ fsubs f3, f3, f10 -/* 802AA53C 002A749C C0 F0 00 0C */ lfs f7, 0xc(r16) -/* 802AA540 002A74A0 EC 01 03 7A */ fmadds f0, f1, f13, f0 -/* 802AA544 002A74A4 D1 A1 01 D4 */ stfs f13, 0x1d4(r1) -/* 802AA548 002A74A8 D1 81 01 D8 */ stfs f12, 0x1d8(r1) -/* 802AA54C 002A74AC EC 03 02 FA */ fmadds f0, f3, f11, f0 -/* 802AA550 002A74B0 D1 61 01 DC */ stfs f11, 0x1dc(r1) -/* 802AA554 002A74B4 FC 00 38 40 */ fcmpo cr0, f0, f7 -/* 802AA558 002A74B8 41 81 0B 3C */ bgt lbl_802AB094 -/* 802AA55C 002A74BC EE D9 40 28 */ fsubs f22, f25, f8 -/* 802AA560 002A74C0 C3 12 00 04 */ lfs f24, 4(r18) -/* 802AA564 002A74C4 EE 82 48 28 */ fsubs f20, f2, f9 -/* 802AA568 002A74C8 C0 A1 02 64 */ lfs f5, 0x264(r1) -/* 802AA56C 002A74CC EE BB 50 28 */ fsubs f21, f27, f10 -/* 802AA570 002A74D0 C3 52 00 00 */ lfs f26, 0(r18) -/* 802AA574 002A74D4 EC 76 03 32 */ fmuls f3, f22, f12 -/* 802AA578 002A74D8 D2 81 01 50 */ stfs f20, 0x150(r1) -/* 802AA57C 002A74DC EC 38 03 32 */ fmuls f1, f24, f12 -/* 802AA580 002A74E0 C2 F2 00 08 */ lfs f23, 8(r18) -/* 802AA584 002A74E4 EC 05 50 28 */ fsubs f0, f5, f10 -/* 802AA588 002A74E8 C0 81 02 5C */ lfs f4, 0x25c(r1) -/* 802AA58C 002A74EC EE 74 1B 7A */ fmadds f19, f20, f13, f3 -/* 802AA590 002A74F0 D2 A1 01 58 */ stfs f21, 0x158(r1) -/* 802AA594 002A74F4 EE 5A 0B 7A */ fmadds f18, f26, f13, f1 -/* 802AA598 002A74F8 C0 C1 02 60 */ lfs f6, 0x260(r1) -/* 802AA59C 002A74FC D2 C1 01 54 */ stfs f22, 0x154(r1) -/* 802AA5A0 002A7500 EE 95 9A FA */ fmadds f20, f21, f11, f19 -/* 802AA5A4 002A7504 EE 57 92 FA */ fmadds f18, f23, f11, f18 -/* 802AA5A8 002A7508 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 802AA5AC 002A750C EE 64 48 28 */ fsubs f19, f4, f9 -/* 802AA5B0 002A7510 C0 62 C1 B4 */ lfs f3, lbl_805ADED4@sda21(r2) -/* 802AA5B4 002A7514 EF 87 A0 28 */ fsubs f28, f7, f20 -/* 802AA5B8 002A7518 EC 26 40 28 */ fsubs f1, f6, f8 -/* 802AA5BC 002A751C EE A0 03 72 */ fmuls f21, f0, f13 -/* 802AA5C0 002A7520 D2 61 01 2C */ stfs f19, 0x12c(r1) -/* 802AA5C4 002A7524 FF 9C 90 24 */ fdiv f28, f28, f18 -/* 802AA5C8 002A7528 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 802AA5CC 002A752C FE 40 E0 18 */ frsp f18, f28 -/* 802AA5D0 002A7530 EE CB AC F8 */ fmsubs f22, f11, f19, f21 -/* 802AA5D4 002A7534 EE 81 02 F2 */ fmuls f20, f1, f11 -/* 802AA5D8 002A7538 EE B2 06 32 */ fmuls f21, f18, f24 -/* 802AA5DC 002A753C EF 12 06 B2 */ fmuls f24, f18, f26 -/* 802AA5E0 002A7540 D2 C1 01 3C */ stfs f22, 0x13c(r1) -/* 802AA5E4 002A7544 EE 8C A0 38 */ fmsubs f20, f12, f0, f20 -/* 802AA5E8 002A7548 EF 59 A8 2A */ fadds f26, f25, f21 -/* 802AA5EC 002A754C EC 12 05 F2 */ fmuls f0, f18, f23 -/* 802AA5F0 002A7550 EF 22 C0 2A */ fadds f25, f2, f24 -/* 802AA5F4 002A7554 D2 81 01 38 */ stfs f20, 0x138(r1) -/* 802AA5F8 002A7558 EE 5A 40 28 */ fsubs f18, f26, f8 -/* 802AA5FC 002A755C EF 7B 00 2A */ fadds f27, f27, f0 -/* 802AA600 002A7560 EE B3 03 32 */ fmuls f21, f19, f12 -/* 802AA604 002A7564 EC 59 48 28 */ fsubs f2, f25, f9 -/* 802AA608 002A7568 D2 41 01 48 */ stfs f18, 0x148(r1) -/* 802AA60C 002A756C EC 12 05 B2 */ fmuls f0, f18, f22 -/* 802AA610 002A7570 EC 2D A8 78 */ fmsubs f1, f13, f1, f21 -/* 802AA614 002A7574 EE 5B 50 28 */ fsubs f18, f27, f10 -/* 802AA618 002A7578 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 802AA61C 002A757C EC 02 05 3A */ fmadds f0, f2, f20, f0 -/* 802AA620 002A7580 D0 21 01 40 */ stfs f1, 0x140(r1) -/* 802AA624 002A7584 EC 12 00 7A */ fmadds f0, f18, f1, f0 -/* 802AA628 002A7588 D2 41 01 4C */ stfs f18, 0x14c(r1) -/* 802AA62C 002A758C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802AA630 002A7590 7C 00 00 26 */ mfcr r0 -/* 802AA634 002A7594 C0 01 02 68 */ lfs f0, 0x268(r1) -/* 802AA638 002A7598 C0 41 02 6C */ lfs f2, 0x26c(r1) -/* 802AA63C 002A759C 54 04 0F FE */ srwi r4, r0, 0x1f -/* 802AA640 002A75A0 EE A0 20 28 */ fsubs f21, f0, f4 -/* 802AA644 002A75A4 C0 21 02 70 */ lfs f1, 0x270(r1) -/* 802AA648 002A75A8 EE 82 30 28 */ fsubs f20, f2, f6 -/* 802AA64C 002A75AC 98 81 00 18 */ stb r4, 0x18(r1) -/* 802AA650 002A75B0 EE 61 28 28 */ fsubs f19, f1, f5 -/* 802AA654 002A75B4 D2 A1 01 08 */ stfs f21, 0x108(r1) -/* 802AA658 002A75B8 EE F3 03 72 */ fmuls f23, f19, f13 -/* 802AA65C 002A75BC D2 81 01 0C */ stfs f20, 0x10c(r1) -/* 802AA660 002A75C0 EE D4 02 F2 */ fmuls f22, f20, f11 -/* 802AA664 002A75C4 EE 5A 30 28 */ fsubs f18, f26, f6 -/* 802AA668 002A75C8 D2 61 01 10 */ stfs f19, 0x110(r1) -/* 802AA66C 002A75CC EF 0B BD 78 */ fmsubs f24, f11, f21, f23 -/* 802AA670 002A75D0 EE CC B4 F8 */ fmsubs f22, f12, f19, f22 -/* 802AA674 002A75D4 EE F5 03 32 */ fmuls f23, f21, f12 -/* 802AA678 002A75D8 D2 41 01 24 */ stfs f18, 0x124(r1) -/* 802AA67C 002A75DC EC D9 20 28 */ fsubs f6, f25, f4 -/* 802AA680 002A75E0 EC 92 06 32 */ fmuls f4, f18, f24 -/* 802AA684 002A75E4 D2 C1 01 14 */ stfs f22, 0x114(r1) -/* 802AA688 002A75E8 EE ED BD 38 */ fmsubs f23, f13, f20, f23 -/* 802AA68C 002A75EC EC BB 28 28 */ fsubs f5, f27, f5 -/* 802AA690 002A75F0 D3 01 01 18 */ stfs f24, 0x118(r1) -/* 802AA694 002A75F4 EC 86 25 BA */ fmadds f4, f6, f22, f4 -/* 802AA698 002A75F8 D2 E1 01 1C */ stfs f23, 0x11c(r1) -/* 802AA69C 002A75FC EC 85 25 FA */ fmadds f4, f5, f23, f4 -/* 802AA6A0 002A7600 D0 C1 01 20 */ stfs f6, 0x120(r1) -/* 802AA6A4 002A7604 D0 A1 01 28 */ stfs f5, 0x128(r1) -/* 802AA6A8 002A7608 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802AA6AC 002A760C 7C 00 00 26 */ mfcr r0 -/* 802AA6B0 002A7610 ED 4A 08 28 */ fsubs f10, f10, f1 -/* 802AA6B4 002A7614 EE 48 10 28 */ fsubs f18, f8, f2 -/* 802AA6B8 002A7618 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802AA6BC 002A761C ED 09 00 28 */ fsubs f8, f9, f0 -/* 802AA6C0 002A7620 98 61 00 19 */ stb r3, 0x19(r1) -/* 802AA6C4 002A7624 EC 8A 03 72 */ fmuls f4, f10, f13 -/* 802AA6C8 002A7628 EC D2 02 F2 */ fmuls f6, f18, f11 -/* 802AA6CC 002A762C ED 3A 10 28 */ fsubs f9, f26, f2 -/* 802AA6D0 002A7630 D1 01 00 E4 */ stfs f8, 0xe4(r1) -/* 802AA6D4 002A7634 EC AB 22 38 */ fmsubs f5, f11, f8, f4 -/* 802AA6D8 002A7638 EC CC 32 B8 */ fmsubs f6, f12, f10, f6 -/* 802AA6DC 002A763C D2 41 00 E8 */ stfs f18, 0xe8(r1) -/* 802AA6E0 002A7640 EC 88 03 32 */ fmuls f4, f8, f12 -/* 802AA6E4 002A7644 EC 59 00 28 */ fsubs f2, f25, f0 -/* 802AA6E8 002A7648 D1 41 00 EC */ stfs f10, 0xec(r1) -/* 802AA6EC 002A764C EC 09 01 72 */ fmuls f0, f9, f5 -/* 802AA6F0 002A7650 EC 8D 24 B8 */ fmsubs f4, f13, f18, f4 -/* 802AA6F4 002A7654 D0 C1 00 F0 */ stfs f6, 0xf0(r1) -/* 802AA6F8 002A7658 EC 3B 08 28 */ fsubs f1, f27, f1 -/* 802AA6FC 002A765C EC 02 01 BA */ fmadds f0, f2, f6, f0 -/* 802AA700 002A7660 D0 A1 00 F4 */ stfs f5, 0xf4(r1) -/* 802AA704 002A7664 D0 81 00 F8 */ stfs f4, 0xf8(r1) -/* 802AA708 002A7668 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 802AA70C 002A766C D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 802AA710 002A7670 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802AA714 002A7674 D1 21 01 00 */ stfs f9, 0x100(r1) -/* 802AA718 002A7678 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 802AA71C 002A767C 7C 00 00 26 */ mfcr r0 -/* 802AA720 002A7680 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) -/* 802AA724 002A7684 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802AA728 002A7688 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802AA72C 002A768C 98 01 00 1A */ stb r0, 0x1a(r1) -/* 802AA730 002A7690 4C 41 13 82 */ cror 2, 1, 2 -/* 802AA734 002A7694 40 82 01 28 */ bne lbl_802AA85C -/* 802AA738 002A7698 28 04 00 00 */ cmplwi r4, 0 -/* 802AA73C 002A769C 40 82 01 20 */ bne lbl_802AA85C -/* 802AA740 002A76A0 28 03 00 00 */ cmplwi r3, 0 -/* 802AA744 002A76A4 40 82 01 18 */ bne lbl_802AA85C -/* 802AA748 002A76A8 28 00 00 00 */ cmplwi r0, 0 -/* 802AA74C 002A76AC 40 82 01 10 */ bne lbl_802AA85C -/* 802AA750 002A76B0 C8 13 00 00 */ lfd f0, 0(r19) -/* 802AA754 002A76B4 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802AA758 002A76B8 40 80 01 04 */ bge lbl_802AA85C -/* 802AA75C 002A76BC EC 07 03 32 */ fmuls f0, f7, f12 -/* 802AA760 002A76C0 7E 25 8B 78 */ mr r5, r17 -/* 802AA764 002A76C4 EC 47 02 F2 */ fmuls f2, f7, f11 -/* 802AA768 002A76C8 38 61 03 38 */ addi r3, r1, 0x338 -/* 802AA76C 002A76CC EC 27 03 72 */ fmuls f1, f7, f13 -/* 802AA770 002A76D0 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 802AA774 002A76D4 EC 9A 00 28 */ fsubs f4, f26, f0 -/* 802AA778 002A76D8 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 802AA77C 002A76DC EC 7B 10 28 */ fsubs f3, f27, f2 -/* 802AA780 002A76E0 38 C1 00 48 */ addi r6, r1, 0x48 -/* 802AA784 002A76E4 EC 19 08 28 */ fsubs f0, f25, f1 -/* 802AA788 002A76E8 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 802AA78C 002A76EC D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 802AA790 002A76F0 38 E1 01 D4 */ addi r7, r1, 0x1d4 -/* 802AA794 002A76F4 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 802AA798 002A76F8 D0 81 00 DC */ stfs f4, 0xdc(r1) -/* 802AA79C 002A76FC D0 61 00 E0 */ stfs f3, 0xe0(r1) -/* 802AA7A0 002A7700 48 02 3C A9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AA7A4 002A7704 80 61 03 38 */ lwz r3, 0x338(r1) -/* 802AA7A8 002A7708 3A E0 00 01 */ li r23, 1 -/* 802AA7AC 002A770C 80 01 03 3C */ lwz r0, 0x33c(r1) -/* 802AA7B0 002A7710 90 74 00 00 */ stw r3, 0(r20) -/* 802AA7B4 002A7714 90 14 00 04 */ stw r0, 4(r20) -/* 802AA7B8 002A7718 80 01 03 40 */ lwz r0, 0x340(r1) -/* 802AA7BC 002A771C 90 14 00 08 */ stw r0, 8(r20) -/* 802AA7C0 002A7720 80 61 03 44 */ lwz r3, 0x344(r1) -/* 802AA7C4 002A7724 80 01 03 48 */ lwz r0, 0x348(r1) -/* 802AA7C8 002A7728 90 74 00 0C */ stw r3, 0xc(r20) -/* 802AA7CC 002A772C 90 14 00 10 */ stw r0, 0x10(r20) -/* 802AA7D0 002A7730 80 01 03 4C */ lwz r0, 0x34c(r1) -/* 802AA7D4 002A7734 90 14 00 14 */ stw r0, 0x14(r20) -/* 802AA7D8 002A7738 80 61 03 50 */ lwz r3, 0x350(r1) -/* 802AA7DC 002A773C 80 01 03 54 */ lwz r0, 0x354(r1) -/* 802AA7E0 002A7740 90 74 00 18 */ stw r3, 0x18(r20) -/* 802AA7E4 002A7744 90 14 00 1C */ stw r0, 0x1c(r20) -/* 802AA7E8 002A7748 80 01 03 58 */ lwz r0, 0x358(r1) -/* 802AA7EC 002A774C 90 14 00 20 */ stw r0, 0x20(r20) -/* 802AA7F0 002A7750 80 61 03 5C */ lwz r3, 0x35c(r1) -/* 802AA7F4 002A7754 80 01 03 60 */ lwz r0, 0x360(r1) -/* 802AA7F8 002A7758 90 74 00 24 */ stw r3, 0x24(r20) -/* 802AA7FC 002A775C 90 14 00 28 */ stw r0, 0x28(r20) -/* 802AA800 002A7760 80 01 03 64 */ lwz r0, 0x364(r1) -/* 802AA804 002A7764 90 14 00 2C */ stw r0, 0x2c(r20) -/* 802AA808 002A7768 88 01 03 68 */ lbz r0, 0x368(r1) -/* 802AA80C 002A776C 98 14 00 30 */ stb r0, 0x30(r20) -/* 802AA810 002A7770 88 01 03 69 */ lbz r0, 0x369(r1) -/* 802AA814 002A7774 98 14 00 31 */ stb r0, 0x31(r20) -/* 802AA818 002A7778 C8 01 03 70 */ lfd f0, 0x370(r1) -/* 802AA81C 002A777C D8 14 00 38 */ stfd f0, 0x38(r20) -/* 802AA820 002A7780 C8 01 03 78 */ lfd f0, 0x378(r1) -/* 802AA824 002A7784 D8 14 00 40 */ stfd f0, 0x40(r20) -/* 802AA828 002A7788 80 61 03 80 */ lwz r3, 0x380(r1) -/* 802AA82C 002A778C 80 01 03 84 */ lwz r0, 0x384(r1) -/* 802AA830 002A7790 90 74 00 48 */ stw r3, 0x48(r20) -/* 802AA834 002A7794 90 14 00 4C */ stw r0, 0x4c(r20) -/* 802AA838 002A7798 80 01 03 88 */ lwz r0, 0x388(r1) -/* 802AA83C 002A779C 90 14 00 50 */ stw r0, 0x50(r20) -/* 802AA840 002A77A0 80 61 03 8C */ lwz r3, 0x38c(r1) -/* 802AA844 002A77A4 80 01 03 90 */ lwz r0, 0x390(r1) -/* 802AA848 002A77A8 90 74 00 54 */ stw r3, 0x54(r20) -/* 802AA84C 002A77AC 90 14 00 58 */ stw r0, 0x58(r20) -/* 802AA850 002A77B0 80 01 03 94 */ lwz r0, 0x394(r1) -/* 802AA854 002A77B4 90 14 00 5C */ stw r0, 0x5c(r20) -/* 802AA858 002A77B8 DB 93 00 00 */ stfd f28, 0(r19) -lbl_802AA85C: -/* 802AA85C 002A77BC C0 30 00 04 */ lfs f1, 4(r16) -/* 802AA860 002A77C0 C0 01 02 54 */ lfs f0, 0x254(r1) -/* 802AA864 002A77C4 C0 50 00 00 */ lfs f2, 0(r16) -/* 802AA868 002A77C8 EC A1 00 28 */ fsubs f5, f1, f0 -/* 802AA86C 002A77CC C0 21 02 50 */ lfs f1, 0x250(r1) -/* 802AA870 002A77D0 C0 01 01 D8 */ lfs f0, 0x1d8(r1) -/* 802AA874 002A77D4 EC 62 08 28 */ fsubs f3, f2, f1 -/* 802AA878 002A77D8 C0 90 00 08 */ lfs f4, 8(r16) -/* 802AA87C 002A77DC C0 41 02 58 */ lfs f2, 0x258(r1) -/* 802AA880 002A77E0 EC 05 00 32 */ fmuls f0, f5, f0 -/* 802AA884 002A77E4 C0 21 01 D4 */ lfs f1, 0x1d4(r1) -/* 802AA888 002A77E8 EC 84 10 28 */ fsubs f4, f4, f2 -/* 802AA88C 002A77EC C0 41 01 DC */ lfs f2, 0x1dc(r1) -/* 802AA890 002A77F0 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 802AA894 002A77F4 C0 10 00 0C */ lfs f0, 0xc(r16) -/* 802AA898 002A77F8 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 802AA89C 002A77FC EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 802AA8A0 002A7800 D0 A1 00 C4 */ stfs f5, 0xc4(r1) -/* 802AA8A4 002A7804 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 802AA8A8 002A7808 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802AA8AC 002A780C 4C 40 13 82 */ cror 2, 0, 2 -/* 802AA8B0 002A7810 7C A0 00 26 */ mfcr r5 -/* 802AA8B4 002A7814 A0 62 C1 B0 */ lhz r3, lbl_805ADED0@sda21(r2) -/* 802AA8B8 002A7818 88 02 C1 B2 */ lbz r0, lbl_805ADED2@sda21(r2) -/* 802AA8BC 002A781C 7D C4 73 78 */ mr r4, r14 -/* 802AA8C0 002A7820 B0 61 00 14 */ sth r3, 0x14(r1) -/* 802AA8C4 002A7824 54 B6 1F FE */ rlwinm r22, r5, 3, 0x1f, 0x1f -/* 802AA8C8 002A7828 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AA8CC 002A782C 98 01 00 16 */ stb r0, 0x16(r1) -/* 802AA8D0 002A7830 4B FF D6 7D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs -/* 802AA8D4 002A7834 3C 80 80 3F */ lis r4, lbl_803EC438@ha -/* 802AA8D8 002A7838 3B 01 02 50 */ addi r24, r1, 0x250 -/* 802AA8DC 002A783C 3B 21 00 14 */ addi r25, r1, 0x14 -/* 802AA8E0 002A7840 7C 7D 1B 78 */ mr r29, r3 -/* 802AA8E4 002A7844 3B 64 C4 38 */ addi r27, r4, lbl_803EC438@l -/* 802AA8E8 002A7848 7F 1C C3 78 */ mr r28, r24 -/* 802AA8EC 002A784C 7F 3A CB 78 */ mr r26, r25 -/* 802AA8F0 002A7850 3B C1 00 18 */ addi r30, r1, 0x18 -/* 802AA8F4 002A7854 3A A0 00 00 */ li r21, 0 -lbl_802AA8F8: -/* 802AA8F8 002A7858 28 16 00 00 */ cmplwi r22, 0 -/* 802AA8FC 002A785C 40 82 00 10 */ bne lbl_802AA90C -/* 802AA900 002A7860 88 1E 00 00 */ lbz r0, 0(r30) -/* 802AA904 002A7864 28 00 00 00 */ cmplwi r0, 0 -/* 802AA908 002A7868 41 82 04 90 */ beq lbl_802AAD98 -lbl_802AA90C: -/* 802AA90C 002A786C A0 DD 00 00 */ lhz r6, 0(r29) -/* 802AA910 002A7870 3C 60 80 59 */ lis r3, lbl_8058BBAC@ha -/* 802AA914 002A7874 38 63 BB AC */ addi r3, r3, lbl_8058BBAC@l -/* 802AA918 002A7878 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802AA91C 002A787C 54 C4 08 3C */ slwi r4, r6, 1 -/* 802AA920 002A7880 7C 03 22 2E */ lhzx r0, r3, r4 -/* 802AA924 002A7884 7C 00 28 40 */ cmplw r0, r5 -/* 802AA928 002A7888 41 82 04 70 */ beq lbl_802AAD98 -/* 802AA92C 002A788C 7C A3 23 2E */ sthx r5, r3, r4 -/* 802AA930 002A7890 80 8F 00 10 */ lwz r4, 0x10(r15) -/* 802AA934 002A7894 80 64 00 44 */ lwz r3, 0x44(r4) -/* 802AA938 002A7898 80 84 00 24 */ lwz r4, 0x24(r4) -/* 802AA93C 002A789C 7C 03 30 AE */ lbzx r0, r3, r6 -/* 802AA940 002A78A0 54 00 10 3A */ slwi r0, r0, 2 -/* 802AA944 002A78A4 7F E4 00 2E */ lwzx r31, r4, r0 -/* 802AA948 002A78A8 57 E0 01 CF */ rlwinm. r0, r31, 0, 7, 7 -/* 802AA94C 002A78AC 40 82 04 4C */ bne lbl_802AAD98 -/* 802AA950 002A78B0 80 1B 00 04 */ lwz r0, 4(r27) -/* 802AA954 002A78B4 38 81 02 50 */ addi r4, r1, 0x250 -/* 802AA958 002A78B8 C0 9C 00 04 */ lfs f4, 4(r28) -/* 802AA95C 002A78BC 38 61 01 C8 */ addi r3, r1, 0x1c8 -/* 802AA960 002A78C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802AA964 002A78C4 C0 5C 00 08 */ lfs f2, 8(r28) -/* 802AA968 002A78C8 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802AA96C 002A78CC 7C 84 02 14 */ add r4, r4, r0 -/* 802AA970 002A78D0 C0 A4 00 04 */ lfs f5, 4(r4) -/* 802AA974 002A78D4 C0 64 00 08 */ lfs f3, 8(r4) -/* 802AA978 002A78D8 C0 24 00 00 */ lfs f1, 0(r4) -/* 802AA97C 002A78DC EC 85 20 28 */ fsubs f4, f5, f4 -/* 802AA980 002A78E0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802AA984 002A78E4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AA988 002A78E8 D0 81 01 CC */ stfs f4, 0x1cc(r1) -/* 802AA98C 002A78EC D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 802AA990 002A78F0 D0 41 01 D0 */ stfs f2, 0x1d0(r1) -/* 802AA994 002A78F4 48 06 9F 25 */ bl Magnitude__9CVector3fCFv -/* 802AA998 002A78F8 C0 42 C1 B8 */ lfs f2, lbl_805ADED8@sda21(r2) -/* 802AA99C 002A78FC C0 01 01 CC */ lfs f0, 0x1cc(r1) -/* 802AA9A0 002A7900 EC E2 08 24 */ fdivs f7, f2, f1 -/* 802AA9A4 002A7904 C0 A1 01 C8 */ lfs f5, 0x1c8(r1) -/* 802AA9A8 002A7908 C0 61 01 D0 */ lfs f3, 0x1d0(r1) -/* 802AA9AC 002A790C C2 92 00 04 */ lfs f20, 4(r18) -/* 802AA9B0 002A7910 C0 52 00 00 */ lfs f2, 0(r18) -/* 802AA9B4 002A7914 C0 D2 00 08 */ lfs f6, 8(r18) -/* 802AA9B8 002A7918 ED 80 01 F2 */ fmuls f12, f0, f7 -/* 802AA9BC 002A791C C0 90 00 04 */ lfs f4, 4(r16) -/* 802AA9C0 002A7920 ED A5 01 F2 */ fmuls f13, f5, f7 -/* 802AA9C4 002A7924 C0 1C 00 04 */ lfs f0, 4(r28) -/* 802AA9C8 002A7928 ED 43 01 F2 */ fmuls f10, f3, f7 -/* 802AA9CC 002A792C C1 30 00 00 */ lfs f9, 0(r16) -/* 802AA9D0 002A7930 EC 74 03 32 */ fmuls f3, f20, f12 -/* 802AA9D4 002A7934 C1 1C 00 00 */ lfs f8, 0(r28) -/* 802AA9D8 002A7938 EC 04 00 28 */ fsubs f0, f4, f0 -/* 802AA9DC 002A793C C0 F0 00 08 */ lfs f7, 8(r16) -/* 802AA9E0 002A7940 C0 BC 00 08 */ lfs f5, 8(r28) -/* 802AA9E4 002A7944 EE 69 40 28 */ fsubs f19, f9, f8 -/* 802AA9E8 002A7948 EC 62 1B 7A */ fmadds f3, f2, f13, f3 -/* 802AA9EC 002A794C C1 62 C1 B4 */ lfs f11, lbl_805ADED4@sda21(r2) -/* 802AA9F0 002A7950 EC 80 03 32 */ fmuls f4, f0, f12 -/* 802AA9F4 002A7954 D1 A1 01 C8 */ stfs f13, 0x1c8(r1) -/* 802AA9F8 002A7958 EE 47 28 28 */ fsubs f18, f7, f5 -/* 802AA9FC 002A795C EC A6 1A BA */ fmadds f5, f6, f10, f3 -/* 802AAA00 002A7960 EC 93 23 7A */ fmadds f4, f19, f13, f4 -/* 802AAA04 002A7964 D1 81 01 CC */ stfs f12, 0x1cc(r1) -/* 802AAA08 002A7968 EC 65 03 32 */ fmuls f3, f5, f12 -/* 802AAA0C 002A796C D1 41 01 D0 */ stfs f10, 0x1d0(r1) -/* 802AAA10 002A7970 EC E5 03 72 */ fmuls f7, f5, f13 -/* 802AAA14 002A7974 EC 92 22 BA */ fmadds f4, f18, f10, f4 -/* 802AAA18 002A7978 EE 94 18 28 */ fsubs f20, f20, f3 -/* 802AAA1C 002A797C ED 05 02 B2 */ fmuls f8, f5, f10 -/* 802AAA20 002A7980 EC 62 38 28 */ fsubs f3, f2, f7 -/* 802AAA24 002A7984 EC F4 05 32 */ fmuls f7, f20, f20 -/* 802AAA28 002A7988 EC 46 40 28 */ fsubs f2, f6, f8 -/* 802AAA2C 002A798C ED 24 03 72 */ fmuls f9, f4, f13 -/* 802AAA30 002A7990 EC C3 38 FA */ fmadds f6, f3, f3, f7 -/* 802AAA34 002A7994 ED 04 03 32 */ fmuls f8, f4, f12 -/* 802AAA38 002A7998 EC E4 02 B2 */ fmuls f7, f4, f10 -/* 802AAA3C 002A799C EC C2 30 BA */ fmadds f6, f2, f2, f6 -/* 802AAA40 002A79A0 ED B3 48 28 */ fsubs f13, f19, f9 -/* 802AAA44 002A79A4 EC 00 40 28 */ fsubs f0, f0, f8 -/* 802AAA48 002A79A8 FC 06 58 40 */ fcmpo cr0, f6, f11 -/* 802AAA4C 002A79AC ED 92 38 28 */ fsubs f12, f18, f7 -/* 802AAA50 002A79B0 40 81 03 48 */ ble lbl_802AAD98 -/* 802AAA54 002A79B4 EC E0 00 32 */ fmuls f7, f0, f0 -/* 802AAA58 002A79B8 C1 50 00 0C */ lfs f10, 0xc(r16) -/* 802AAA5C 002A79BC ED 20 05 32 */ fmuls f9, f0, f20 -/* 802AAA60 002A79C0 C1 02 C1 CC */ lfs f8, lbl_805ADEEC@sda21(r2) -/* 802AAA64 002A79C4 EC 0A 02 B2 */ fmuls f0, f10, f10 -/* 802AAA68 002A79C8 C1 42 C1 C8 */ lfs f10, lbl_805ADEE8@sda21(r2) -/* 802AAA6C 002A79CC EC ED 3B 7A */ fmadds f7, f13, f13, f7 -/* 802AAA70 002A79D0 ED 2D 48 FA */ fmadds f9, f13, f3, f9 -/* 802AAA74 002A79D4 ED 08 01 B2 */ fmuls f8, f8, f6 -/* 802AAA78 002A79D8 EC 6C 3B 3A */ fmadds f3, f12, f12, f7 -/* 802AAA7C 002A79DC EC EC 48 BA */ fmadds f7, f12, f2, f9 -/* 802AAA80 002A79E0 EC 43 00 28 */ fsubs f2, f3, f0 -/* 802AAA84 002A79E4 EC 0A 01 F2 */ fmuls f0, f10, f7 -/* 802AAA88 002A79E8 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 802AAA8C 002A79EC ED 20 10 38 */ fmsubs f9, f0, f0, f2 -/* 802AAA90 002A79F0 FC 09 58 40 */ fcmpo cr0, f9, f11 -/* 802AAA94 002A79F4 4C 41 13 82 */ cror 2, 1, 2 -/* 802AAA98 002A79F8 40 82 02 EC */ bne lbl_802AAD84 -/* 802AAA9C 002A79FC C9 02 C1 D0 */ lfd f8, lbl_805ADEF0@sda21(r2) -/* 802AAAA0 002A7A00 C8 E2 C1 C0 */ lfd f7, lbl_805ADEE0@sda21(r2) -/* 802AAAA4 002A7A04 FC 48 30 24 */ fdiv f2, f8, f6 -/* 802AAAA8 002A7A08 FC 09 38 40 */ fcmpo cr0, f9, f7 -/* 802AAAAC 002A7A0C 40 81 00 54 */ ble lbl_802AAB00 -/* 802AAAB0 002A7A10 FC C0 48 34 */ frsqrte f6, f9 -/* 802AAAB4 002A7A14 C8 E2 C1 D8 */ lfd f7, lbl_805ADEF8@sda21(r2) -/* 802AAAB8 002A7A18 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802AAABC 002A7A1C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802AAAC0 002A7A20 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802AAAC4 002A7A24 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802AAAC8 002A7A28 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802AAACC 002A7A2C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802AAAD0 002A7A30 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802AAAD4 002A7A34 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802AAAD8 002A7A38 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802AAADC 002A7A3C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802AAAE0 002A7A40 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802AAAE4 002A7A44 FC C6 00 F2 */ fmul f6, f6, f3 -/* 802AAAE8 002A7A48 FC 66 01 B2 */ fmul f3, f6, f6 -/* 802AAAEC 002A7A4C FC C8 01 B2 */ fmul f6, f8, f6 -/* 802AAAF0 002A7A50 FC 69 38 FC */ fnmsub f3, f9, f3, f7 -/* 802AAAF4 002A7A54 FC 66 00 F2 */ fmul f3, f6, f3 -/* 802AAAF8 002A7A58 FC E9 00 F2 */ fmul f7, f9, f3 -/* 802AAAFC 002A7A5C 48 00 00 2C */ b lbl_802AAB28 -lbl_802AAB00: -/* 802AAB00 002A7A60 FC 07 48 00 */ fcmpu cr0, f7, f9 -/* 802AAB04 002A7A64 40 82 00 08 */ bne lbl_802AAB0C -/* 802AAB08 002A7A68 48 00 00 20 */ b lbl_802AAB28 -lbl_802AAB0C: -/* 802AAB0C 002A7A6C FC 09 38 00 */ fcmpu cr0, f9, f7 -/* 802AAB10 002A7A70 41 82 00 10 */ beq lbl_802AAB20 -/* 802AAB14 002A7A74 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 802AAB18 002A7A78 C0 E3 8B A0 */ lfs f7, lbl_805A8BA0@l(r3) -/* 802AAB1C 002A7A7C 48 00 00 0C */ b lbl_802AAB28 -lbl_802AAB20: -/* 802AAB20 002A7A80 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 802AAB24 002A7A84 C0 E3 8B A4 */ lfs f7, lbl_805A8BA4@l(r3) -lbl_802AAB28: -/* 802AAB28 002A7A88 FC 60 00 50 */ fneg f3, f0 -/* 802AAB2C 002A7A8C C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) -/* 802AAB30 002A7A90 FC 63 38 28 */ fsub f3, f3, f7 -/* 802AAB34 002A7A94 FE E2 00 F2 */ fmul f23, f2, f3 -/* 802AAB38 002A7A98 FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802AAB3C 002A7A9C 4C 41 13 82 */ cror 2, 1, 2 -/* 802AAB40 002A7AA0 40 82 02 58 */ bne lbl_802AAD98 -/* 802AAB44 002A7AA4 FC 77 21 7A */ fmadd f3, f23, f5, f4 -/* 802AAB48 002A7AA8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802AAB4C 002A7AAC 4C 41 13 82 */ cror 2, 1, 2 -/* 802AAB50 002A7AB0 40 82 01 D8 */ bne lbl_802AAD28 -/* 802AAB54 002A7AB4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802AAB58 002A7AB8 4C 40 13 82 */ cror 2, 0, 2 -/* 802AAB5C 002A7ABC 40 82 01 CC */ bne lbl_802AAD28 -/* 802AAB60 002A7AC0 C8 13 00 00 */ lfd f0, 0(r19) -/* 802AAB64 002A7AC4 FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802AAB68 002A7AC8 40 80 01 C0 */ bge lbl_802AAD28 -/* 802AAB6C 002A7ACC FD 00 18 18 */ frsp f8, f3 -/* 802AAB70 002A7AD0 C0 21 01 CC */ lfs f1, 0x1cc(r1) -/* 802AAB74 002A7AD4 C0 01 01 D0 */ lfs f0, 0x1d0(r1) -/* 802AAB78 002A7AD8 FC 60 B8 18 */ frsp f3, f23 -/* 802AAB7C 002A7ADC C0 81 01 C8 */ lfs f4, 0x1c8(r1) -/* 802AAB80 002A7AE0 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802AAB84 002A7AE4 C0 52 00 04 */ lfs f2, 4(r18) -/* 802AAB88 002A7AE8 EC E8 00 72 */ fmuls f7, f8, f1 -/* 802AAB8C 002A7AEC C0 32 00 08 */ lfs f1, 8(r18) -/* 802AAB90 002A7AF0 EC A8 00 32 */ fmuls f5, f8, f0 -/* 802AAB94 002A7AF4 C0 12 00 00 */ lfs f0, 0(r18) -/* 802AAB98 002A7AF8 ED 63 00 B2 */ fmuls f11, f3, f2 -/* 802AAB9C 002A7AFC ED 43 00 72 */ fmuls f10, f3, f1 -/* 802AABA0 002A7B00 EC 43 00 32 */ fmuls f2, f3, f0 -/* 802AABA4 002A7B04 C1 3C 00 04 */ lfs f9, 4(r28) -/* 802AABA8 002A7B08 C0 DC 00 08 */ lfs f6, 8(r28) -/* 802AABAC 002A7B0C EC 68 01 32 */ fmuls f3, f8, f4 -/* 802AABB0 002A7B10 C0 9C 00 00 */ lfs f4, 0(r28) -/* 802AABB4 002A7B14 C0 10 00 04 */ lfs f0, 4(r16) -/* 802AABB8 002A7B18 C0 30 00 08 */ lfs f1, 8(r16) -/* 802AABBC 002A7B1C EC E9 38 2A */ fadds f7, f9, f7 -/* 802AABC0 002A7B20 ED 00 58 2A */ fadds f8, f0, f11 -/* 802AABC4 002A7B24 C0 10 00 00 */ lfs f0, 0(r16) -/* 802AABC8 002A7B28 EC A6 28 2A */ fadds f5, f6, f5 -/* 802AABCC 002A7B2C D0 41 00 90 */ stfs f2, 0x90(r1) -/* 802AABD0 002A7B30 EC C1 50 2A */ fadds f6, f1, f10 -/* 802AABD4 002A7B34 EC 64 18 2A */ fadds f3, f4, f3 -/* 802AABD8 002A7B38 EC 20 10 2A */ fadds f1, f0, f2 -/* 802AABDC 002A7B3C D0 E1 01 C0 */ stfs f7, 0x1c0(r1) -/* 802AABE0 002A7B40 EC 88 38 28 */ fsubs f4, f8, f7 -/* 802AABE4 002A7B44 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 802AABE8 002A7B48 EC 46 28 28 */ fsubs f2, f6, f5 -/* 802AABEC 002A7B4C EC 01 18 28 */ fsubs f0, f1, f3 -/* 802AABF0 002A7B50 D0 61 01 BC */ stfs f3, 0x1bc(r1) -/* 802AABF4 002A7B54 D0 A1 01 C4 */ stfs f5, 0x1c4(r1) -/* 802AABF8 002A7B58 D1 61 00 94 */ stfs f11, 0x94(r1) -/* 802AABFC 002A7B5C D1 41 00 98 */ stfs f10, 0x98(r1) -/* 802AAC00 002A7B60 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 802AAC04 002A7B64 D1 01 00 A0 */ stfs f8, 0xa0(r1) -/* 802AAC08 002A7B68 D0 C1 00 A4 */ stfs f6, 0xa4(r1) -/* 802AAC0C 002A7B6C D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 802AAC10 002A7B70 D0 81 00 AC */ stfs f4, 0xac(r1) -/* 802AAC14 002A7B74 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 802AAC18 002A7B78 48 06 9C 39 */ bl AsNormalized__9CVector3fCFv -/* 802AAC1C 002A7B7C C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 802AAC20 002A7B80 38 00 00 00 */ li r0, 0 -/* 802AAC24 002A7B84 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 802AAC28 002A7B88 7E 25 8B 78 */ mr r5, r17 -/* 802AAC2C 002A7B8C C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 802AAC30 002A7B90 38 61 02 D8 */ addi r3, r1, 0x2d8 -/* 802AAC34 002A7B94 D0 41 01 B0 */ stfs f2, 0x1b0(r1) -/* 802AAC38 002A7B98 38 81 01 BC */ addi r4, r1, 0x1bc -/* 802AAC3C 002A7B9C 38 C1 00 28 */ addi r6, r1, 0x28 -/* 802AAC40 002A7BA0 38 E1 01 B0 */ addi r7, r1, 0x1b0 -/* 802AAC44 002A7BA4 D0 21 01 B4 */ stfs f1, 0x1b4(r1) -/* 802AAC48 002A7BA8 D0 01 01 B8 */ stfs f0, 0x1b8(r1) -/* 802AAC4C 002A7BAC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802AAC50 002A7BB0 90 01 00 28 */ stw r0, 0x28(r1) -/* 802AAC54 002A7BB4 48 02 37 F5 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AAC58 002A7BB8 80 A1 02 D8 */ lwz r5, 0x2d8(r1) -/* 802AAC5C 002A7BBC 38 80 00 00 */ li r4, 0 -/* 802AAC60 002A7BC0 80 01 02 DC */ lwz r0, 0x2dc(r1) -/* 802AAC64 002A7BC4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802AAC68 002A7BC8 98 9A 00 00 */ stb r4, 0(r26) -/* 802AAC6C 002A7BCC 3A E0 00 01 */ li r23, 1 -/* 802AAC70 002A7BD0 90 B4 00 00 */ stw r5, 0(r20) -/* 802AAC74 002A7BD4 90 14 00 04 */ stw r0, 4(r20) -/* 802AAC78 002A7BD8 80 01 02 E0 */ lwz r0, 0x2e0(r1) -/* 802AAC7C 002A7BDC 90 14 00 08 */ stw r0, 8(r20) -/* 802AAC80 002A7BE0 80 A1 02 E4 */ lwz r5, 0x2e4(r1) -/* 802AAC84 002A7BE4 80 01 02 E8 */ lwz r0, 0x2e8(r1) -/* 802AAC88 002A7BE8 90 B4 00 0C */ stw r5, 0xc(r20) -/* 802AAC8C 002A7BEC 90 14 00 10 */ stw r0, 0x10(r20) -/* 802AAC90 002A7BF0 80 01 02 EC */ lwz r0, 0x2ec(r1) -/* 802AAC94 002A7BF4 90 14 00 14 */ stw r0, 0x14(r20) -/* 802AAC98 002A7BF8 80 A1 02 F0 */ lwz r5, 0x2f0(r1) -/* 802AAC9C 002A7BFC 80 01 02 F4 */ lwz r0, 0x2f4(r1) -/* 802AACA0 002A7C00 90 B4 00 18 */ stw r5, 0x18(r20) -/* 802AACA4 002A7C04 90 14 00 1C */ stw r0, 0x1c(r20) -/* 802AACA8 002A7C08 80 01 02 F8 */ lwz r0, 0x2f8(r1) -/* 802AACAC 002A7C0C 90 14 00 20 */ stw r0, 0x20(r20) -/* 802AACB0 002A7C10 80 A1 02 FC */ lwz r5, 0x2fc(r1) -/* 802AACB4 002A7C14 80 01 03 00 */ lwz r0, 0x300(r1) -/* 802AACB8 002A7C18 90 B4 00 24 */ stw r5, 0x24(r20) -/* 802AACBC 002A7C1C 90 14 00 28 */ stw r0, 0x28(r20) -/* 802AACC0 002A7C20 80 01 03 04 */ lwz r0, 0x304(r1) -/* 802AACC4 002A7C24 90 14 00 2C */ stw r0, 0x2c(r20) -/* 802AACC8 002A7C28 88 01 03 08 */ lbz r0, 0x308(r1) -/* 802AACCC 002A7C2C 98 14 00 30 */ stb r0, 0x30(r20) -/* 802AACD0 002A7C30 88 01 03 09 */ lbz r0, 0x309(r1) -/* 802AACD4 002A7C34 98 14 00 31 */ stb r0, 0x31(r20) -/* 802AACD8 002A7C38 C8 01 03 10 */ lfd f0, 0x310(r1) -/* 802AACDC 002A7C3C D8 14 00 38 */ stfd f0, 0x38(r20) -/* 802AACE0 002A7C40 C8 01 03 18 */ lfd f0, 0x318(r1) -/* 802AACE4 002A7C44 D8 14 00 40 */ stfd f0, 0x40(r20) -/* 802AACE8 002A7C48 80 A1 03 20 */ lwz r5, 0x320(r1) -/* 802AACEC 002A7C4C 80 01 03 24 */ lwz r0, 0x324(r1) -/* 802AACF0 002A7C50 90 B4 00 48 */ stw r5, 0x48(r20) -/* 802AACF4 002A7C54 90 14 00 4C */ stw r0, 0x4c(r20) -/* 802AACF8 002A7C58 80 01 03 28 */ lwz r0, 0x328(r1) -/* 802AACFC 002A7C5C 90 14 00 50 */ stw r0, 0x50(r20) -/* 802AAD00 002A7C60 80 A1 03 2C */ lwz r5, 0x32c(r1) -/* 802AAD04 002A7C64 80 01 03 30 */ lwz r0, 0x330(r1) -/* 802AAD08 002A7C68 90 B4 00 54 */ stw r5, 0x54(r20) -/* 802AAD0C 002A7C6C 90 14 00 58 */ stw r0, 0x58(r20) -/* 802AAD10 002A7C70 80 01 03 34 */ lwz r0, 0x334(r1) -/* 802AAD14 002A7C74 90 14 00 5C */ stw r0, 0x5c(r20) -/* 802AAD18 002A7C78 DA F3 00 00 */ stfd f23, 0(r19) -/* 802AAD1C 002A7C7C 80 1B 00 04 */ lwz r0, 4(r27) -/* 802AAD20 002A7C80 7C 83 01 AE */ stbx r4, r3, r0 -/* 802AAD24 002A7C84 48 00 00 74 */ b lbl_802AAD98 -lbl_802AAD28: -/* 802AAD28 002A7C88 C0 50 00 0C */ lfs f2, 0xc(r16) -/* 802AAD2C 002A7C8C FC 00 10 50 */ fneg f0, f2 -/* 802AAD30 002A7C90 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802AAD34 002A7C94 40 80 00 20 */ bge lbl_802AAD54 -/* 802AAD38 002A7C98 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) -/* 802AAD3C 002A7C9C FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802AAD40 002A7CA0 4C 40 13 82 */ cror 2, 0, 2 -/* 802AAD44 002A7CA4 40 82 00 10 */ bne lbl_802AAD54 -/* 802AAD48 002A7CA8 38 00 00 00 */ li r0, 0 -/* 802AAD4C 002A7CAC 98 1A 00 00 */ stb r0, 0(r26) -/* 802AAD50 002A7CB0 48 00 00 48 */ b lbl_802AAD98 -lbl_802AAD54: -/* 802AAD54 002A7CB4 EC 01 10 2A */ fadds f0, f1, f2 -/* 802AAD58 002A7CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802AAD5C 002A7CBC 40 81 00 3C */ ble lbl_802AAD98 -/* 802AAD60 002A7CC0 C0 02 C1 B4 */ lfs f0, lbl_805ADED4@sda21(r2) -/* 802AAD64 002A7CC4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802AAD68 002A7CC8 4C 41 13 82 */ cror 2, 1, 2 -/* 802AAD6C 002A7CCC 40 82 00 2C */ bne lbl_802AAD98 -/* 802AAD70 002A7CD0 80 1B 00 04 */ lwz r0, 4(r27) -/* 802AAD74 002A7CD4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802AAD78 002A7CD8 38 80 00 00 */ li r4, 0 -/* 802AAD7C 002A7CDC 7C 83 01 AE */ stbx r4, r3, r0 -/* 802AAD80 002A7CE0 48 00 00 18 */ b lbl_802AAD98 -lbl_802AAD84: -/* 802AAD84 002A7CE4 38 80 00 00 */ li r4, 0 -/* 802AAD88 002A7CE8 80 1B 00 04 */ lwz r0, 4(r27) -/* 802AAD8C 002A7CEC 98 9A 00 00 */ stb r4, 0(r26) -/* 802AAD90 002A7CF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802AAD94 002A7CF4 7C 83 01 AE */ stbx r4, r3, r0 -lbl_802AAD98: -/* 802AAD98 002A7CF8 3A B5 00 01 */ addi r21, r21, 1 -/* 802AAD9C 002A7CFC 3B BD 00 02 */ addi r29, r29, 2 -/* 802AADA0 002A7D00 2C 15 00 03 */ cmpwi r21, 3 -/* 802AADA4 002A7D04 3B 9C 00 0C */ addi r28, r28, 0xc -/* 802AADA8 002A7D08 3B 7B 00 04 */ addi r27, r27, 4 -/* 802AADAC 002A7D0C 3B 5A 00 01 */ addi r26, r26, 1 -/* 802AADB0 002A7D10 3B DE 00 01 */ addi r30, r30, 1 -/* 802AADB4 002A7D14 41 80 FB 44 */ blt lbl_802AA8F8 -/* 802AADB8 002A7D18 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AADBC 002A7D1C 7D C4 73 78 */ mr r4, r14 -/* 802AADC0 002A7D20 38 A1 00 40 */ addi r5, r1, 0x40 -/* 802AADC4 002A7D24 4B FF D1 9D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs -/* 802AADC8 002A7D28 39 C1 00 40 */ addi r14, r1, 0x40 -/* 802AADCC 002A7D2C 3A A0 00 00 */ li r21, 0 -lbl_802AADD0: -/* 802AADD0 002A7D30 88 19 00 00 */ lbz r0, 0(r25) -/* 802AADD4 002A7D34 A2 CE 00 00 */ lhz r22, 0(r14) -/* 802AADD8 002A7D38 28 00 00 00 */ cmplwi r0, 0 -/* 802AADDC 002A7D3C 41 82 02 0C */ beq lbl_802AAFE8 -/* 802AADE0 002A7D40 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802AADE4 002A7D44 56 C4 08 3C */ slwi r4, r22, 1 -/* 802AADE8 002A7D48 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l -/* 802AADEC 002A7D4C A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802AADF0 002A7D50 7C 03 22 2E */ lhzx r0, r3, r4 -/* 802AADF4 002A7D54 7C 00 28 40 */ cmplw r0, r5 -/* 802AADF8 002A7D58 41 82 02 04 */ beq lbl_802AAFFC -/* 802AADFC 002A7D5C 7C A3 23 2E */ sthx r5, r3, r4 -/* 802AAE00 002A7D60 7E 04 83 78 */ mr r4, r16 -/* 802AAE04 002A7D64 C0 90 00 0C */ lfs f4, 0xc(r16) -/* 802AAE08 002A7D68 7E 45 93 78 */ mr r5, r18 -/* 802AAE0C 002A7D6C C8 73 00 00 */ lfd f3, 0(r19) -/* 802AAE10 002A7D70 38 61 00 80 */ addi r3, r1, 0x80 -/* 802AAE14 002A7D74 C0 58 00 00 */ lfs f2, 0(r24) -/* 802AAE18 002A7D78 38 C1 00 38 */ addi r6, r1, 0x38 -/* 802AAE1C 002A7D7C C0 38 00 04 */ lfs f1, 4(r24) -/* 802AAE20 002A7D80 C0 18 00 08 */ lfs f0, 8(r24) -/* 802AAE24 002A7D84 D8 61 00 38 */ stfd f3, 0x38(r1) -/* 802AAE28 002A7D88 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802AAE2C 002A7D8C D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802AAE30 002A7D90 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802AAE34 002A7D94 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 802AAE38 002A7D98 48 02 8B 99 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd -/* 802AAE3C 002A7D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AAE40 002A7DA0 41 82 01 BC */ beq lbl_802AAFFC -/* 802AAE44 002A7DA4 C8 21 00 38 */ lfd f1, 0x38(r1) -/* 802AAE48 002A7DA8 C8 02 C1 C0 */ lfd f0, lbl_805ADEE0@sda21(r2) -/* 802AAE4C 002A7DAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802AAE50 002A7DB0 4C 41 13 82 */ cror 2, 1, 2 -/* 802AAE54 002A7DB4 40 82 01 A8 */ bne lbl_802AAFFC -/* 802AAE58 002A7DB8 FC 60 08 18 */ frsp f3, f1 -/* 802AAE5C 002A7DBC C0 52 00 04 */ lfs f2, 4(r18) -/* 802AAE60 002A7DC0 C0 32 00 08 */ lfs f1, 8(r18) -/* 802AAE64 002A7DC4 38 61 00 74 */ addi r3, r1, 0x74 -/* 802AAE68 002A7DC8 C0 12 00 00 */ lfs f0, 0(r18) -/* 802AAE6C 002A7DCC 38 81 00 68 */ addi r4, r1, 0x68 -/* 802AAE70 002A7DD0 EC C3 00 B2 */ fmuls f6, f3, f2 -/* 802AAE74 002A7DD4 C0 50 00 04 */ lfs f2, 4(r16) -/* 802AAE78 002A7DD8 EC A3 00 72 */ fmuls f5, f3, f1 -/* 802AAE7C 002A7DDC C0 30 00 08 */ lfs f1, 8(r16) -/* 802AAE80 002A7DE0 EC 83 00 32 */ fmuls f4, f3, f0 -/* 802AAE84 002A7DE4 C0 10 00 00 */ lfs f0, 0(r16) -/* 802AAE88 002A7DE8 ED 02 30 2A */ fadds f8, f2, f6 -/* 802AAE8C 002A7DEC C0 58 00 04 */ lfs f2, 4(r24) -/* 802AAE90 002A7DF0 EC E1 28 2A */ fadds f7, f1, f5 -/* 802AAE94 002A7DF4 C0 38 00 08 */ lfs f1, 8(r24) -/* 802AAE98 002A7DF8 EC 60 20 2A */ fadds f3, f0, f4 -/* 802AAE9C 002A7DFC C0 18 00 00 */ lfs f0, 0(r24) -/* 802AAEA0 002A7E00 EC 48 10 28 */ fsubs f2, f8, f2 -/* 802AAEA4 002A7E04 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 802AAEA8 002A7E08 EC 27 08 28 */ fsubs f1, f7, f1 -/* 802AAEAC 002A7E0C EC 03 00 28 */ fsubs f0, f3, f0 -/* 802AAEB0 002A7E10 D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 802AAEB4 002A7E14 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 802AAEB8 002A7E18 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 802AAEBC 002A7E1C D1 01 00 60 */ stfs f8, 0x60(r1) -/* 802AAEC0 002A7E20 D0 E1 00 64 */ stfs f7, 0x64(r1) -/* 802AAEC4 002A7E24 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802AAEC8 002A7E28 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802AAECC 002A7E2C D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802AAED0 002A7E30 48 06 99 81 */ bl AsNormalized__9CVector3fCFv -/* 802AAED4 002A7E34 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 802AAED8 002A7E38 38 00 00 00 */ li r0, 0 -/* 802AAEDC 002A7E3C C0 21 00 78 */ lfs f1, 0x78(r1) -/* 802AAEE0 002A7E40 7F 04 C3 78 */ mr r4, r24 -/* 802AAEE4 002A7E44 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802AAEE8 002A7E48 7E 25 8B 78 */ mr r5, r17 -/* 802AAEEC 002A7E4C D0 41 01 A4 */ stfs f2, 0x1a4(r1) -/* 802AAEF0 002A7E50 38 61 02 78 */ addi r3, r1, 0x278 -/* 802AAEF4 002A7E54 81 2F 00 10 */ lwz r9, 0x10(r15) -/* 802AAEF8 002A7E58 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802AAEFC 002A7E5C D0 21 01 A8 */ stfs f1, 0x1a8(r1) -/* 802AAF00 002A7E60 38 E1 01 A4 */ addi r7, r1, 0x1a4 -/* 802AAF04 002A7E64 D0 01 01 AC */ stfs f0, 0x1ac(r1) -/* 802AAF08 002A7E68 81 09 00 34 */ lwz r8, 0x34(r9) -/* 802AAF0C 002A7E6C 81 29 00 24 */ lwz r9, 0x24(r9) -/* 802AAF10 002A7E70 7D 08 B0 AE */ lbzx r8, r8, r22 -/* 802AAF14 002A7E74 55 08 10 3A */ slwi r8, r8, 2 -/* 802AAF18 002A7E78 7D 09 40 2E */ lwzx r8, r9, r8 -/* 802AAF1C 002A7E7C 91 01 00 24 */ stw r8, 0x24(r1) -/* 802AAF20 002A7E80 90 01 00 20 */ stw r0, 0x20(r1) -/* 802AAF24 002A7E84 48 02 35 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AAF28 002A7E88 80 61 02 78 */ lwz r3, 0x278(r1) -/* 802AAF2C 002A7E8C 3A E0 00 01 */ li r23, 1 -/* 802AAF30 002A7E90 80 01 02 7C */ lwz r0, 0x27c(r1) -/* 802AAF34 002A7E94 90 74 00 00 */ stw r3, 0(r20) -/* 802AAF38 002A7E98 90 14 00 04 */ stw r0, 4(r20) -/* 802AAF3C 002A7E9C 80 01 02 80 */ lwz r0, 0x280(r1) -/* 802AAF40 002A7EA0 90 14 00 08 */ stw r0, 8(r20) -/* 802AAF44 002A7EA4 80 61 02 84 */ lwz r3, 0x284(r1) -/* 802AAF48 002A7EA8 80 01 02 88 */ lwz r0, 0x288(r1) -/* 802AAF4C 002A7EAC 90 74 00 0C */ stw r3, 0xc(r20) -/* 802AAF50 002A7EB0 90 14 00 10 */ stw r0, 0x10(r20) -/* 802AAF54 002A7EB4 80 01 02 8C */ lwz r0, 0x28c(r1) -/* 802AAF58 002A7EB8 90 14 00 14 */ stw r0, 0x14(r20) -/* 802AAF5C 002A7EBC 80 61 02 90 */ lwz r3, 0x290(r1) -/* 802AAF60 002A7EC0 80 01 02 94 */ lwz r0, 0x294(r1) -/* 802AAF64 002A7EC4 90 74 00 18 */ stw r3, 0x18(r20) -/* 802AAF68 002A7EC8 90 14 00 1C */ stw r0, 0x1c(r20) -/* 802AAF6C 002A7ECC 80 01 02 98 */ lwz r0, 0x298(r1) -/* 802AAF70 002A7ED0 90 14 00 20 */ stw r0, 0x20(r20) -/* 802AAF74 002A7ED4 80 61 02 9C */ lwz r3, 0x29c(r1) -/* 802AAF78 002A7ED8 80 01 02 A0 */ lwz r0, 0x2a0(r1) -/* 802AAF7C 002A7EDC 90 74 00 24 */ stw r3, 0x24(r20) -/* 802AAF80 002A7EE0 90 14 00 28 */ stw r0, 0x28(r20) -/* 802AAF84 002A7EE4 80 01 02 A4 */ lwz r0, 0x2a4(r1) -/* 802AAF88 002A7EE8 90 14 00 2C */ stw r0, 0x2c(r20) -/* 802AAF8C 002A7EEC 88 01 02 A8 */ lbz r0, 0x2a8(r1) -/* 802AAF90 002A7EF0 98 14 00 30 */ stb r0, 0x30(r20) -/* 802AAF94 002A7EF4 88 01 02 A9 */ lbz r0, 0x2a9(r1) -/* 802AAF98 002A7EF8 98 14 00 31 */ stb r0, 0x31(r20) -/* 802AAF9C 002A7EFC C8 01 02 B0 */ lfd f0, 0x2b0(r1) -/* 802AAFA0 002A7F00 D8 14 00 38 */ stfd f0, 0x38(r20) -/* 802AAFA4 002A7F04 C8 01 02 B8 */ lfd f0, 0x2b8(r1) -/* 802AAFA8 002A7F08 D8 14 00 40 */ stfd f0, 0x40(r20) -/* 802AAFAC 002A7F0C 80 61 02 C0 */ lwz r3, 0x2c0(r1) -/* 802AAFB0 002A7F10 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 802AAFB4 002A7F14 90 74 00 48 */ stw r3, 0x48(r20) -/* 802AAFB8 002A7F18 90 14 00 4C */ stw r0, 0x4c(r20) -/* 802AAFBC 002A7F1C 80 01 02 C8 */ lwz r0, 0x2c8(r1) -/* 802AAFC0 002A7F20 90 14 00 50 */ stw r0, 0x50(r20) -/* 802AAFC4 002A7F24 80 61 02 CC */ lwz r3, 0x2cc(r1) -/* 802AAFC8 002A7F28 80 01 02 D0 */ lwz r0, 0x2d0(r1) -/* 802AAFCC 002A7F2C 90 74 00 54 */ stw r3, 0x54(r20) -/* 802AAFD0 002A7F30 90 14 00 58 */ stw r0, 0x58(r20) -/* 802AAFD4 002A7F34 80 01 02 D4 */ lwz r0, 0x2d4(r1) -/* 802AAFD8 002A7F38 90 14 00 5C */ stw r0, 0x5c(r20) -/* 802AAFDC 002A7F3C C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802AAFE0 002A7F40 D8 13 00 00 */ stfd f0, 0(r19) -/* 802AAFE4 002A7F44 48 00 00 18 */ b lbl_802AAFFC -lbl_802AAFE8: -/* 802AAFE8 002A7F48 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802AAFEC 002A7F4C A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802AAFF0 002A7F50 56 C0 08 3C */ slwi r0, r22, 1 -/* 802AAFF4 002A7F54 38 63 2B AC */ addi r3, r3, lbl_80572BAC@l -/* 802AAFF8 002A7F58 7C 83 03 2E */ sthx r4, r3, r0 -lbl_802AAFFC: -/* 802AAFFC 002A7F5C 3A B5 00 01 */ addi r21, r21, 1 -/* 802AB000 002A7F60 3B 39 00 01 */ addi r25, r25, 1 -/* 802AB004 002A7F64 2C 15 00 03 */ cmpwi r21, 3 -/* 802AB008 002A7F68 3B 18 00 0C */ addi r24, r24, 0xc -/* 802AB00C 002A7F6C 39 CE 00 02 */ addi r14, r14, 2 -/* 802AB010 002A7F70 41 80 FD C0 */ blt lbl_802AADD0 -/* 802AB014 002A7F74 48 00 00 80 */ b lbl_802AB094 -lbl_802AB018: -/* 802AB018 002A7F78 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB01C 002A7F7C 7D C4 73 78 */ mr r4, r14 -/* 802AB020 002A7F80 4B FF CF 2D */ bl GetTriangleEdgeIndices__8COBBTreeCFUs -/* 802AB024 002A7F84 A0 03 00 00 */ lhz r0, 0(r3) -/* 802AB028 002A7F88 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha -/* 802AB02C 002A7F8C A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) -/* 802AB030 002A7F90 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l -/* 802AB034 002A7F94 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB038 002A7F98 7D C4 73 78 */ mr r4, r14 -/* 802AB03C 002A7F9C 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB040 002A7FA0 38 A1 00 30 */ addi r5, r1, 0x30 -/* 802AB044 002A7FA4 A0 03 00 02 */ lhz r0, 2(r3) -/* 802AB048 002A7FA8 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB04C 002A7FAC 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB050 002A7FB0 A0 03 00 04 */ lhz r0, 4(r3) -/* 802AB054 002A7FB4 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB058 002A7FB8 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB05C 002A7FBC 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB060 002A7FC0 4B FF CF 01 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs -/* 802AB064 002A7FC4 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 802AB068 002A7FC8 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802AB06C 002A7FCC A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802AB070 002A7FD0 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l -/* 802AB074 002A7FD4 54 03 08 3C */ slwi r3, r0, 1 -/* 802AB078 002A7FD8 A0 01 00 32 */ lhz r0, 0x32(r1) -/* 802AB07C 002A7FDC 7C A4 1B 2E */ sthx r5, r4, r3 -/* 802AB080 002A7FE0 54 03 08 3C */ slwi r3, r0, 1 -/* 802AB084 002A7FE4 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 802AB088 002A7FE8 7C A4 1B 2E */ sthx r5, r4, r3 -/* 802AB08C 002A7FEC 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB090 002A7FF0 7C A4 03 2E */ sthx r5, r4, r0 -lbl_802AB094: -/* 802AB094 002A7FF4 80 61 03 9C */ lwz r3, 0x39c(r1) -/* 802AB098 002A7FF8 38 63 00 02 */ addi r3, r3, 2 -/* 802AB09C 002A7FFC 90 61 03 9C */ stw r3, 0x39c(r1) -/* 802AB0A0 002A8000 80 61 03 98 */ lwz r3, 0x398(r1) -/* 802AB0A4 002A8004 38 63 00 01 */ addi r3, r3, 1 -/* 802AB0A8 002A8008 90 61 03 98 */ stw r3, 0x398(r1) -lbl_802AB0AC: -/* 802AB0AC 002A800C 80 61 03 98 */ lwz r3, 0x398(r1) -/* 802AB0B0 002A8010 80 01 03 A0 */ lwz r0, 0x3a0(r1) -/* 802AB0B4 002A8014 7C 03 00 00 */ cmpw r3, r0 -/* 802AB0B8 002A8018 41 80 F3 58 */ blt lbl_802AA410 -/* 802AB0BC 002A801C 7E E3 BB 78 */ mr r3, r23 -/* 802AB0C0 002A8020 E3 E1 04 C8 */ psq_l f31, 1224(r1), 0, qr0 -/* 802AB0C4 002A8024 CB E1 04 C0 */ lfd f31, 0x4c0(r1) -/* 802AB0C8 002A8028 E3 C1 04 B8 */ psq_l f30, 1208(r1), 0, qr0 -/* 802AB0CC 002A802C CB C1 04 B0 */ lfd f30, 0x4b0(r1) -/* 802AB0D0 002A8030 E3 A1 04 A8 */ psq_l f29, 1192(r1), 0, qr0 -/* 802AB0D4 002A8034 CB A1 04 A0 */ lfd f29, 0x4a0(r1) -/* 802AB0D8 002A8038 E3 81 04 98 */ psq_l f28, 1176(r1), 0, qr0 -/* 802AB0DC 002A803C CB 81 04 90 */ lfd f28, 0x490(r1) -/* 802AB0E0 002A8040 E3 61 04 88 */ psq_l f27, 1160(r1), 0, qr0 -/* 802AB0E4 002A8044 CB 61 04 80 */ lfd f27, 0x480(r1) -/* 802AB0E8 002A8048 E3 41 04 78 */ psq_l f26, 1144(r1), 0, qr0 -/* 802AB0EC 002A804C CB 41 04 70 */ lfd f26, 0x470(r1) -/* 802AB0F0 002A8050 E3 21 04 68 */ psq_l f25, 1128(r1), 0, qr0 -/* 802AB0F4 002A8054 CB 21 04 60 */ lfd f25, 0x460(r1) -/* 802AB0F8 002A8058 E3 01 04 58 */ psq_l f24, 1112(r1), 0, qr0 -/* 802AB0FC 002A805C CB 01 04 50 */ lfd f24, 0x450(r1) -/* 802AB100 002A8060 E2 E1 04 48 */ psq_l f23, 1096(r1), 0, qr0 -/* 802AB104 002A8064 CA E1 04 40 */ lfd f23, 0x440(r1) -/* 802AB108 002A8068 E2 C1 04 38 */ psq_l f22, 1080(r1), 0, qr0 -/* 802AB10C 002A806C CA C1 04 30 */ lfd f22, 0x430(r1) -/* 802AB110 002A8070 E2 A1 04 28 */ psq_l f21, 1064(r1), 0, qr0 -/* 802AB114 002A8074 CA A1 04 20 */ lfd f21, 0x420(r1) -/* 802AB118 002A8078 E2 81 04 18 */ psq_l f20, 1048(r1), 0, qr0 -/* 802AB11C 002A807C CA 81 04 10 */ lfd f20, 0x410(r1) -/* 802AB120 002A8080 E2 61 04 08 */ psq_l f19, 1032(r1), 0, qr0 -/* 802AB124 002A8084 CA 61 04 00 */ lfd f19, 0x400(r1) -/* 802AB128 002A8088 E2 41 03 F8 */ psq_l f18, 1016(r1), 0, qr0 -/* 802AB12C 002A808C CA 41 03 F0 */ lfd f18, 0x3f0(r1) -/* 802AB130 002A8090 B9 C1 03 A8 */ lmw r14, 0x3a8(r1) -/* 802AB134 002A8094 80 01 04 D4 */ lwz r0, 0x4d4(r1) -/* 802AB138 002A8098 7C 08 03 A6 */ mtlr r0 -/* 802AB13C 002A809C 38 21 04 D0 */ addi r1, r1, 0x4d0 -/* 802AB140 002A80A0 4E 80 00 20 */ blr - -.global SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo: -/* 802AB144 002A80A4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802AB148 002A80A8 7C 08 02 A6 */ mflr r0 -/* 802AB14C 002A80AC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802AB150 002A80B0 BE A1 00 14 */ stmw r21, 0x14(r1) -/* 802AB154 002A80B4 7C 7D 1B 78 */ mr r29, r3 -/* 802AB158 002A80B8 7C F6 3B 78 */ mr r22, r7 -/* 802AB15C 002A80BC 83 41 00 48 */ lwz r26, 0x48(r1) -/* 802AB160 002A80C0 83 61 00 4C */ lwz r27, 0x4c(r1) -/* 802AB164 002A80C4 7C 9E 23 78 */ mr r30, r4 -/* 802AB168 002A80C8 7C BF 2B 78 */ mr r31, r5 -/* 802AB16C 002A80CC 7C D5 33 78 */ mr r21, r6 -/* 802AB170 002A80D0 7D 17 43 78 */ mr r23, r8 -/* 802AB174 002A80D4 7D 38 4B 78 */ mr r24, r9 -/* 802AB178 002A80D8 7D 59 53 78 */ mr r25, r10 -/* 802AB17C 002A80DC 3B 80 00 00 */ li r28, 0 -/* 802AB180 002A80E0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802AB184 002A80E4 38 03 00 01 */ addi r0, r3, 1 -/* 802AB188 002A80E8 7E C3 B3 78 */ mr r3, r22 -/* 802AB18C 002A80EC 90 1D 00 14 */ stw r0, 0x14(r29) -/* 802AB190 002A80F0 48 02 A3 05 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802AB194 002A80F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB198 002A80F8 41 82 00 C4 */ beq lbl_802AB25C -/* 802AB19C 002A80FC 38 00 00 01 */ li r0, 1 -/* 802AB1A0 002A8100 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 802AB1A4 002A8104 88 1E 00 3C */ lbz r0, 0x3c(r30) -/* 802AB1A8 002A8108 28 00 00 00 */ cmplwi r0, 0 -/* 802AB1AC 002A810C 41 82 00 3C */ beq lbl_802AB1E8 -/* 802AB1B0 002A8110 93 61 00 08 */ stw r27, 8(r1) -/* 802AB1B4 002A8114 7F A3 EB 78 */ mr r3, r29 -/* 802AB1B8 002A8118 7F E5 FB 78 */ mr r5, r31 -/* 802AB1BC 002A811C 7E A6 AB 78 */ mr r6, r21 -/* 802AB1C0 002A8120 80 9E 00 48 */ lwz r4, 0x48(r30) -/* 802AB1C4 002A8124 7E E7 BB 78 */ mr r7, r23 -/* 802AB1C8 002A8128 7F 08 C3 78 */ mr r8, r24 -/* 802AB1CC 002A812C 7F 29 CB 78 */ mr r9, r25 -/* 802AB1D0 002A8130 7F 4A D3 78 */ mr r10, r26 -/* 802AB1D4 002A8134 4B FF F0 1D */ bl SphereCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -/* 802AB1D8 002A8138 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB1DC 002A813C 41 82 00 8C */ beq lbl_802AB268 -/* 802AB1E0 002A8140 3B 80 00 01 */ li r28, 1 -/* 802AB1E4 002A8144 48 00 00 84 */ b lbl_802AB268 -lbl_802AB1E8: -/* 802AB1E8 002A8148 93 41 00 08 */ stw r26, 8(r1) -/* 802AB1EC 002A814C 7F A3 EB 78 */ mr r3, r29 -/* 802AB1F0 002A8150 7F E5 FB 78 */ mr r5, r31 -/* 802AB1F4 002A8154 7E A6 AB 78 */ mr r6, r21 -/* 802AB1F8 002A8158 93 61 00 0C */ stw r27, 0xc(r1) -/* 802AB1FC 002A815C 7E C7 B3 78 */ mr r7, r22 -/* 802AB200 002A8160 7E E8 BB 78 */ mr r8, r23 -/* 802AB204 002A8164 7F 09 C3 78 */ mr r9, r24 -/* 802AB208 002A8168 80 9E 00 40 */ lwz r4, 0x40(r30) -/* 802AB20C 002A816C 7F 2A CB 78 */ mr r10, r25 -/* 802AB210 002A8170 4B FF FF 35 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -/* 802AB214 002A8174 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB218 002A8178 41 82 00 08 */ beq lbl_802AB220 -/* 802AB21C 002A817C 3B 80 00 01 */ li r28, 1 -lbl_802AB220: -/* 802AB220 002A8180 93 41 00 08 */ stw r26, 8(r1) -/* 802AB224 002A8184 7F A3 EB 78 */ mr r3, r29 -/* 802AB228 002A8188 7F E5 FB 78 */ mr r5, r31 -/* 802AB22C 002A818C 7E A6 AB 78 */ mr r6, r21 -/* 802AB230 002A8190 93 61 00 0C */ stw r27, 0xc(r1) -/* 802AB234 002A8194 7E C7 B3 78 */ mr r7, r22 -/* 802AB238 002A8198 7E E8 BB 78 */ mr r8, r23 -/* 802AB23C 002A819C 7F 09 C3 78 */ mr r9, r24 -/* 802AB240 002A81A0 80 9E 00 44 */ lwz r4, 0x44(r30) -/* 802AB244 002A81A4 7F 2A CB 78 */ mr r10, r25 -/* 802AB248 002A81A8 4B FF FE FD */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -/* 802AB24C 002A81AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB250 002A81B0 41 82 00 18 */ beq lbl_802AB268 -/* 802AB254 002A81B4 3B 80 00 01 */ li r28, 1 -/* 802AB258 002A81B8 48 00 00 10 */ b lbl_802AB268 -lbl_802AB25C: -/* 802AB25C 002A81BC 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 802AB260 002A81C0 38 03 00 01 */ addi r0, r3, 1 -/* 802AB264 002A81C4 90 1D 00 18 */ stw r0, 0x18(r29) -lbl_802AB268: -/* 802AB268 002A81C8 7F 83 E3 78 */ mr r3, r28 -/* 802AB26C 002A81CC BA A1 00 14 */ lmw r21, 0x14(r1) -/* 802AB270 002A81D0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802AB274 002A81D4 7C 08 03 A6 */ mtlr r0 -/* 802AB278 002A81D8 38 21 00 40 */ addi r1, r1, 0x40 -/* 802AB27C 002A81DC 4E 80 00 20 */ blr - -.global AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: -/* 802AB280 002A81E0 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 802AB284 002A81E4 7C 08 02 A6 */ mflr r0 -/* 802AB288 002A81E8 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 802AB28C 002A81EC DB E1 02 B0 */ stfd f31, 0x2b0(r1) -/* 802AB290 002A81F0 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 -/* 802AB294 002A81F4 DB C1 02 A0 */ stfd f30, 0x2a0(r1) -/* 802AB298 002A81F8 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 -/* 802AB29C 002A81FC DB A1 02 90 */ stfd f29, 0x290(r1) -/* 802AB2A0 002A8200 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 -/* 802AB2A4 002A8204 BD C1 02 48 */ stmw r14, 0x248(r1) -/* 802AB2A8 002A8208 3D 60 80 5A */ lis r11, skZero3f@ha -/* 802AB2AC 002A820C 7D 32 4B 78 */ mr r18, r9 -/* 802AB2B0 002A8210 39 2B 66 A0 */ addi r9, r11, skZero3f@l -/* 802AB2B4 002A8214 C0 12 06 E8 */ lfs f0, 0x6e8(r18) -/* 802AB2B8 002A8218 C0 29 00 00 */ lfs f1, 0(r9) -/* 802AB2BC 002A821C 7C 6F 1B 78 */ mr r15, r3 -/* 802AB2C0 002A8220 C0 49 00 04 */ lfs f2, 4(r9) -/* 802AB2C4 002A8224 7C 8E 23 78 */ mr r14, r4 -/* 802AB2C8 002A8228 C1 69 00 08 */ lfs f11, 8(r9) -/* 802AB2CC 002A822C 7D 53 53 78 */ mr r19, r10 -/* 802AB2D0 002A8230 C1 52 06 EC */ lfs f10, 0x6ec(r18) -/* 802AB2D4 002A8234 7C D0 33 78 */ mr r16, r6 -/* 802AB2D8 002A8238 C1 32 06 F0 */ lfs f9, 0x6f0(r18) -/* 802AB2DC 002A823C 7C F1 3B 78 */ mr r17, r7 -/* 802AB2E0 002A8240 C1 12 06 F4 */ lfs f8, 0x6f4(r18) -/* 802AB2E4 002A8244 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802AB2E8 002A8248 C0 F2 06 F8 */ lfs f7, 0x6f8(r18) -/* 802AB2EC 002A824C 38 81 00 7C */ addi r4, r1, 0x7c -/* 802AB2F0 002A8250 C0 D2 06 FC */ lfs f6, 0x6fc(r18) -/* 802AB2F4 002A8254 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 802AB2F8 002A8258 82 81 02 C8 */ lwz r20, 0x2c8(r1) -/* 802AB2FC 002A825C D0 21 00 AC */ stfs f1, 0xac(r1) -/* 802AB300 002A8260 C0 AA 00 00 */ lfs f5, 0(r10) -/* 802AB304 002A8264 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 802AB308 002A8268 C0 8A 00 04 */ lfs f4, 4(r10) -/* 802AB30C 002A826C D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 802AB310 002A8270 C0 6A 00 08 */ lfs f3, 8(r10) -/* 802AB314 002A8274 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 802AB318 002A8278 C0 46 00 10 */ lfs f2, 0x10(r6) -/* 802AB31C 002A827C D1 61 00 B4 */ stfs f11, 0xb4(r1) -/* 802AB320 002A8280 C0 26 00 14 */ lfs f1, 0x14(r6) -/* 802AB324 002A8284 D1 61 00 A8 */ stfs f11, 0xa8(r1) -/* 802AB328 002A8288 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 802AB32C 002A828C D1 41 00 BC */ stfs f10, 0xbc(r1) -/* 802AB330 002A8290 82 A1 02 CC */ lwz r21, 0x2cc(r1) -/* 802AB334 002A8294 D1 21 00 C0 */ stfs f9, 0xc0(r1) -/* 802AB338 002A8298 D1 01 00 C4 */ stfs f8, 0xc4(r1) -/* 802AB33C 002A829C D0 E1 00 C8 */ stfs f7, 0xc8(r1) -/* 802AB340 002A82A0 D0 C1 00 CC */ stfs f6, 0xcc(r1) -/* 802AB344 002A82A4 C8 D4 00 00 */ lfd f6, 0(r20) -/* 802AB348 002A82A8 90 A1 00 08 */ stw r5, 8(r1) -/* 802AB34C 002A82AC FC C0 30 18 */ frsp f6, f6 -/* 802AB350 002A82B0 91 01 00 0C */ stw r8, 0xc(r1) -/* 802AB354 002A82B4 EF A6 01 72 */ fmuls f29, f6, f5 -/* 802AB358 002A82B8 EF C6 01 32 */ fmuls f30, f6, f4 -/* 802AB35C 002A82BC EF E6 00 F2 */ fmuls f31, f6, f3 -/* 802AB360 002A82C0 EC 00 E8 2A */ fadds f0, f0, f29 -/* 802AB364 002A82C4 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802AB368 002A82C8 EC 21 F8 2A */ fadds f1, f1, f31 -/* 802AB36C 002A82CC D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802AB370 002A82D0 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802AB374 002A82D4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802AB378 002A82D8 48 08 C7 91 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AB37C 002A82DC C0 50 00 04 */ lfs f2, 4(r16) -/* 802AB380 002A82E0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802AB384 002A82E4 C0 30 00 08 */ lfs f1, 8(r16) -/* 802AB388 002A82E8 38 81 00 70 */ addi r4, r1, 0x70 -/* 802AB38C 002A82EC C0 10 00 00 */ lfs f0, 0(r16) -/* 802AB390 002A82F0 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802AB394 002A82F4 EC 21 F8 2A */ fadds f1, f1, f31 -/* 802AB398 002A82F8 EC 00 E8 2A */ fadds f0, f0, f29 -/* 802AB39C 002A82FC D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802AB3A0 002A8300 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802AB3A4 002A8304 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 802AB3A8 002A8308 48 08 C7 61 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AB3AC 002A830C 38 61 00 64 */ addi r3, r1, 0x64 -/* 802AB3B0 002A8310 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 802AB3B4 002A8314 48 08 C2 59 */ bl GetCenterPoint__6CAABoxCFv -/* 802AB3B8 002A8318 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 802AB3BC 002A831C 3B 40 00 00 */ li r26, 0 -/* 802AB3C0 002A8320 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 802AB3C4 002A8324 3B 20 00 00 */ li r25, 0 -/* 802AB3C8 002A8328 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 802AB3CC 002A832C 3B 80 00 00 */ li r28, 0 -/* 802AB3D0 002A8330 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 802AB3D4 002A8334 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802AB3D8 002A8338 C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) -/* 802AB3DC 002A833C EC 41 00 28 */ fsubs f2, f1, f0 -/* 802AB3E0 002A8340 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 802AB3E4 002A8344 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 802AB3E8 002A8348 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802AB3EC 002A834C C0 61 00 64 */ lfs f3, 0x64(r1) -/* 802AB3F0 002A8350 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AB3F4 002A8354 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802AB3F8 002A8358 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 802AB3FC 002A835C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802AB400 002A8360 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802AB404 002A8364 80 0E 00 04 */ lwz r0, 4(r14) -/* 802AB408 002A8368 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 802AB40C 002A836C 90 01 02 40 */ stw r0, 0x240(r1) -/* 802AB410 002A8370 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 802AB414 002A8374 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 802AB418 002A8378 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802AB41C 002A837C D0 C1 00 8C */ stfs f6, 0x8c(r1) -/* 802AB420 002A8380 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 802AB424 002A8384 48 00 06 0C */ b lbl_802ABA30 -lbl_802AB428: -/* 802AB428 002A8388 80 AE 00 0C */ lwz r5, 0xc(r14) -/* 802AB42C 002A838C 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802AB430 002A8390 80 C1 00 08 */ lwz r6, 8(r1) -/* 802AB434 002A8394 7F 05 E2 2E */ lhzx r24, r5, r28 -/* 802AB438 002A8398 80 8F 00 10 */ lwz r4, 0x10(r15) -/* 802AB43C 002A839C 7F 05 C3 78 */ mr r5, r24 -/* 802AB440 002A83A0 4B FF D6 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802AB444 002A83A4 C1 01 00 D0 */ lfs f8, 0xd0(r1) -/* 802AB448 002A83A8 7D E3 7B 78 */ mr r3, r15 -/* 802AB44C 002A83AC C0 E1 00 D4 */ lfs f7, 0xd4(r1) -/* 802AB450 002A83B0 C0 C1 00 D8 */ lfs f6, 0xd8(r1) -/* 802AB454 002A83B4 C0 A1 00 DC */ lfs f5, 0xdc(r1) -/* 802AB458 002A83B8 C0 81 00 E0 */ lfs f4, 0xe0(r1) -/* 802AB45C 002A83BC C0 61 00 E4 */ lfs f3, 0xe4(r1) -/* 802AB460 002A83C0 C0 41 00 E8 */ lfs f2, 0xe8(r1) -/* 802AB464 002A83C4 C0 21 00 EC */ lfs f1, 0xec(r1) -/* 802AB468 002A83C8 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 802AB46C 002A83CC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802AB470 002A83D0 D1 01 00 F8 */ stfs f8, 0xf8(r1) -/* 802AB474 002A83D4 D0 E1 00 FC */ stfs f7, 0xfc(r1) -/* 802AB478 002A83D8 D0 C1 01 00 */ stfs f6, 0x100(r1) -/* 802AB47C 002A83DC D0 A1 01 04 */ stfs f5, 0x104(r1) -/* 802AB480 002A83E0 D0 81 01 08 */ stfs f4, 0x108(r1) -/* 802AB484 002A83E4 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 802AB488 002A83E8 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 802AB48C 002A83EC D0 21 01 14 */ stfs f1, 0x114(r1) -/* 802AB490 002A83F0 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 802AB494 002A83F4 90 01 01 1C */ stw r0, 0x11c(r1) -/* 802AB498 002A83F8 81 8F 00 00 */ lwz r12, 0(r15) -/* 802AB49C 002A83FC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AB4A0 002A8400 7D 89 03 A6 */ mtctr r12 -/* 802AB4A4 002A8404 4E 80 04 21 */ bctrl -/* 802AB4A8 002A8408 80 C1 01 1C */ lwz r6, 0x11c(r1) -/* 802AB4AC 002A840C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802AB4B0 002A8410 80 03 00 04 */ lwz r0, 4(r3) -/* 802AB4B4 002A8414 80 A3 00 00 */ lwz r5, 0(r3) -/* 802AB4B8 002A8418 7C C0 03 78 */ or r0, r6, r0 -/* 802AB4BC 002A841C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802AB4C0 002A8420 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802AB4C4 002A8424 90 A1 00 38 */ stw r5, 0x38(r1) -/* 802AB4C8 002A8428 48 02 9E 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802AB4CC 002A842C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB4D0 002A8430 41 82 05 58 */ beq lbl_802ABA28 -/* 802AB4D4 002A8434 38 C1 01 04 */ addi r6, r1, 0x104 -/* 802AB4D8 002A8438 38 E1 01 10 */ addi r7, r1, 0x110 -/* 802AB4DC 002A843C 38 61 00 94 */ addi r3, r1, 0x94 -/* 802AB4E0 002A8440 38 81 00 88 */ addi r4, r1, 0x88 -/* 802AB4E4 002A8444 38 A1 00 F8 */ addi r5, r1, 0xf8 -/* 802AB4E8 002A8448 48 02 5F F9 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802AB4EC 002A844C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB4F0 002A8450 41 82 04 BC */ beq lbl_802AB9AC -/* 802AB4F4 002A8454 80 6F 00 1C */ lwz r3, 0x1c(r15) -/* 802AB4F8 002A8458 7F 04 C3 78 */ mr r4, r24 -/* 802AB4FC 002A845C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 802AB500 002A8460 38 03 00 01 */ addi r0, r3, 1 -/* 802AB504 002A8464 90 0F 00 1C */ stw r0, 0x1c(r15) -/* 802AB508 002A8468 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB50C 002A846C 4B FF CA 55 */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs -/* 802AB510 002A8470 C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB514 002A8474 7E 04 83 78 */ mr r4, r16 -/* 802AB518 002A8478 81 73 00 00 */ lwz r11, 0(r19) -/* 802AB51C 002A847C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 802AB520 002A8480 81 53 00 04 */ lwz r10, 4(r19) -/* 802AB524 002A8484 38 B2 06 C4 */ addi r5, r18, 0x6c4 -/* 802AB528 002A8488 80 13 00 08 */ lwz r0, 8(r19) -/* 802AB52C 002A848C 38 C1 00 58 */ addi r6, r1, 0x58 -/* 802AB530 002A8490 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802AB534 002A8494 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802AB538 002A8498 39 01 00 AC */ addi r8, r1, 0xac -/* 802AB53C 002A849C 39 21 00 A0 */ addi r9, r1, 0xa0 -/* 802AB540 002A84A0 91 61 00 58 */ stw r11, 0x58(r1) -/* 802AB544 002A84A4 91 41 00 5C */ stw r10, 0x5c(r1) -/* 802AB548 002A84A8 90 01 00 60 */ stw r0, 0x60(r1) -/* 802AB54C 002A84AC 4B FF 8A A9 */ bl "MovingAABoxCollisionCheck_BoxVertexTri__20CMetroidAreaColliderFRC17CCollisionSurfaceRC6CAABoxRCQ24rstl21reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -/* 802AB550 002A84B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB554 002A84B4 41 82 00 E8 */ beq lbl_802AB63C -/* 802AB558 002A84B8 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802AB55C 002A84BC C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB560 002A84C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802AB564 002A84C4 40 80 00 D8 */ bge lbl_802AB63C -/* 802AB568 002A84C8 7E 25 8B 78 */ mr r5, r17 -/* 802AB56C 002A84CC 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 802AB570 002A84D0 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802AB574 002A84D4 38 C1 00 38 */ addi r6, r1, 0x38 -/* 802AB578 002A84D8 38 E1 00 AC */ addi r7, r1, 0xac -/* 802AB57C 002A84DC 48 02 2E CD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AB580 002A84E0 80 61 01 E0 */ lwz r3, 0x1e0(r1) -/* 802AB584 002A84E4 3B 40 00 01 */ li r26, 1 -/* 802AB588 002A84E8 80 01 01 E4 */ lwz r0, 0x1e4(r1) -/* 802AB58C 002A84EC 90 75 00 00 */ stw r3, 0(r21) -/* 802AB590 002A84F0 90 15 00 04 */ stw r0, 4(r21) -/* 802AB594 002A84F4 80 01 01 E8 */ lwz r0, 0x1e8(r1) -/* 802AB598 002A84F8 90 15 00 08 */ stw r0, 8(r21) -/* 802AB59C 002A84FC 80 61 01 EC */ lwz r3, 0x1ec(r1) -/* 802AB5A0 002A8500 80 01 01 F0 */ lwz r0, 0x1f0(r1) -/* 802AB5A4 002A8504 90 75 00 0C */ stw r3, 0xc(r21) -/* 802AB5A8 002A8508 90 15 00 10 */ stw r0, 0x10(r21) -/* 802AB5AC 002A850C 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 802AB5B0 002A8510 90 15 00 14 */ stw r0, 0x14(r21) -/* 802AB5B4 002A8514 80 61 01 F8 */ lwz r3, 0x1f8(r1) -/* 802AB5B8 002A8518 80 01 01 FC */ lwz r0, 0x1fc(r1) -/* 802AB5BC 002A851C 90 75 00 18 */ stw r3, 0x18(r21) -/* 802AB5C0 002A8520 90 15 00 1C */ stw r0, 0x1c(r21) -/* 802AB5C4 002A8524 80 01 02 00 */ lwz r0, 0x200(r1) -/* 802AB5C8 002A8528 90 15 00 20 */ stw r0, 0x20(r21) -/* 802AB5CC 002A852C 80 61 02 04 */ lwz r3, 0x204(r1) -/* 802AB5D0 002A8530 80 01 02 08 */ lwz r0, 0x208(r1) -/* 802AB5D4 002A8534 90 75 00 24 */ stw r3, 0x24(r21) -/* 802AB5D8 002A8538 90 15 00 28 */ stw r0, 0x28(r21) -/* 802AB5DC 002A853C 80 01 02 0C */ lwz r0, 0x20c(r1) -/* 802AB5E0 002A8540 90 15 00 2C */ stw r0, 0x2c(r21) -/* 802AB5E4 002A8544 88 01 02 10 */ lbz r0, 0x210(r1) -/* 802AB5E8 002A8548 98 15 00 30 */ stb r0, 0x30(r21) -/* 802AB5EC 002A854C 88 01 02 11 */ lbz r0, 0x211(r1) -/* 802AB5F0 002A8550 98 15 00 31 */ stb r0, 0x31(r21) -/* 802AB5F4 002A8554 C8 01 02 18 */ lfd f0, 0x218(r1) -/* 802AB5F8 002A8558 D8 15 00 38 */ stfd f0, 0x38(r21) -/* 802AB5FC 002A855C C8 01 02 20 */ lfd f0, 0x220(r1) -/* 802AB600 002A8560 D8 15 00 40 */ stfd f0, 0x40(r21) -/* 802AB604 002A8564 80 61 02 28 */ lwz r3, 0x228(r1) -/* 802AB608 002A8568 80 01 02 2C */ lwz r0, 0x22c(r1) -/* 802AB60C 002A856C 90 75 00 48 */ stw r3, 0x48(r21) -/* 802AB610 002A8570 90 15 00 4C */ stw r0, 0x4c(r21) -/* 802AB614 002A8574 80 01 02 30 */ lwz r0, 0x230(r1) -/* 802AB618 002A8578 90 15 00 50 */ stw r0, 0x50(r21) -/* 802AB61C 002A857C 80 61 02 34 */ lwz r3, 0x234(r1) -/* 802AB620 002A8580 80 01 02 38 */ lwz r0, 0x238(r1) -/* 802AB624 002A8584 90 75 00 54 */ stw r3, 0x54(r21) -/* 802AB628 002A8588 90 15 00 58 */ stw r0, 0x58(r21) -/* 802AB62C 002A858C 80 01 02 3C */ lwz r0, 0x23c(r1) -/* 802AB630 002A8590 90 15 00 5C */ stw r0, 0x5c(r21) -/* 802AB634 002A8594 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802AB638 002A8598 D8 14 00 00 */ stfd f0, 0(r20) -lbl_802AB63C: -/* 802AB63C 002A859C 3B 61 00 F8 */ addi r27, r1, 0xf8 -/* 802AB640 002A85A0 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802AB644 002A85A4 7F 7D DB 78 */ mr r29, r27 -/* 802AB648 002A85A8 3B C1 00 30 */ addi r30, r1, 0x30 -/* 802AB64C 002A85AC 3B E3 2B AC */ addi r31, r3, lbl_80572BAC@l -/* 802AB650 002A85B0 3A E0 00 00 */ li r23, 0 -lbl_802AB654: -/* 802AB654 002A85B4 A2 DE 00 00 */ lhz r22, 0(r30) -/* 802AB658 002A85B8 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802AB65C 002A85BC 56 C3 08 3C */ slwi r3, r22, 1 -/* 802AB660 002A85C0 7C 1F 1A 2E */ lhzx r0, r31, r3 -/* 802AB664 002A85C4 7C 00 20 40 */ cmplw r0, r4 -/* 802AB668 002A85C8 41 82 01 68 */ beq lbl_802AB7D0 -/* 802AB66C 002A85CC 7C 9F 1B 2E */ sthx r4, r31, r3 -/* 802AB670 002A85D0 7F A4 EB 78 */ mr r4, r29 -/* 802AB674 002A85D4 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802AB678 002A85D8 48 08 BE BD */ bl PointInside__6CAABoxCFRC9CVector3f -/* 802AB67C 002A85DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB680 002A85E0 41 82 01 50 */ beq lbl_802AB7D0 -/* 802AB684 002A85E4 C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB688 002A85E8 7F A3 EB 78 */ mr r3, r29 -/* 802AB68C 002A85EC 81 53 00 00 */ lwz r10, 0(r19) -/* 802AB690 002A85F0 7E 04 83 78 */ mr r4, r16 -/* 802AB694 002A85F4 81 33 00 04 */ lwz r9, 4(r19) -/* 802AB698 002A85F8 38 A1 00 4C */ addi r5, r1, 0x4c -/* 802AB69C 002A85FC 80 13 00 08 */ lwz r0, 8(r19) -/* 802AB6A0 002A8600 38 C1 00 28 */ addi r6, r1, 0x28 -/* 802AB6A4 002A8604 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802AB6A8 002A8608 38 E1 00 AC */ addi r7, r1, 0xac -/* 802AB6AC 002A860C 39 01 00 A0 */ addi r8, r1, 0xa0 -/* 802AB6B0 002A8610 91 41 00 4C */ stw r10, 0x4c(r1) -/* 802AB6B4 002A8614 91 21 00 50 */ stw r9, 0x50(r1) -/* 802AB6B8 002A8618 90 01 00 54 */ stw r0, 0x54(r1) -/* 802AB6BC 002A861C 4B FF 8A 51 */ bl MovingAABoxCollisionCheck_TriVertexBox__20CMetroidAreaColliderFRC9CVector3fRC6CAABox9CVector3fRdR9CVector3fR9CVector3f -/* 802AB6C0 002A8620 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB6C4 002A8624 41 82 01 0C */ beq lbl_802AB7D0 -/* 802AB6C8 002A8628 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802AB6CC 002A862C C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB6D0 002A8630 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802AB6D4 002A8634 40 80 00 FC */ bge lbl_802AB7D0 -/* 802AB6D8 002A8638 80 CF 00 10 */ lwz r6, 0x10(r15) -/* 802AB6DC 002A863C 38 00 00 00 */ li r0, 0 -/* 802AB6E0 002A8640 7E 25 8B 78 */ mr r5, r17 -/* 802AB6E4 002A8644 38 61 01 80 */ addi r3, r1, 0x180 -/* 802AB6E8 002A8648 80 E6 00 34 */ lwz r7, 0x34(r6) -/* 802AB6EC 002A864C 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802AB6F0 002A8650 81 26 00 24 */ lwz r9, 0x24(r6) -/* 802AB6F4 002A8654 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802AB6F8 002A8658 7D 07 B0 AE */ lbzx r8, r7, r22 -/* 802AB6FC 002A865C 38 E1 00 AC */ addi r7, r1, 0xac -/* 802AB700 002A8660 55 08 10 3A */ slwi r8, r8, 2 -/* 802AB704 002A8664 7D 09 40 2E */ lwzx r8, r9, r8 -/* 802AB708 002A8668 91 01 00 1C */ stw r8, 0x1c(r1) -/* 802AB70C 002A866C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802AB710 002A8670 48 02 2D 39 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AB714 002A8674 80 61 01 80 */ lwz r3, 0x180(r1) -/* 802AB718 002A8678 3B 40 00 01 */ li r26, 1 -/* 802AB71C 002A867C 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802AB720 002A8680 90 75 00 00 */ stw r3, 0(r21) -/* 802AB724 002A8684 90 15 00 04 */ stw r0, 4(r21) -/* 802AB728 002A8688 80 01 01 88 */ lwz r0, 0x188(r1) -/* 802AB72C 002A868C 90 15 00 08 */ stw r0, 8(r21) -/* 802AB730 002A8690 80 61 01 8C */ lwz r3, 0x18c(r1) -/* 802AB734 002A8694 80 01 01 90 */ lwz r0, 0x190(r1) -/* 802AB738 002A8698 90 75 00 0C */ stw r3, 0xc(r21) -/* 802AB73C 002A869C 90 15 00 10 */ stw r0, 0x10(r21) -/* 802AB740 002A86A0 80 01 01 94 */ lwz r0, 0x194(r1) -/* 802AB744 002A86A4 90 15 00 14 */ stw r0, 0x14(r21) -/* 802AB748 002A86A8 80 61 01 98 */ lwz r3, 0x198(r1) -/* 802AB74C 002A86AC 80 01 01 9C */ lwz r0, 0x19c(r1) -/* 802AB750 002A86B0 90 75 00 18 */ stw r3, 0x18(r21) -/* 802AB754 002A86B4 90 15 00 1C */ stw r0, 0x1c(r21) -/* 802AB758 002A86B8 80 01 01 A0 */ lwz r0, 0x1a0(r1) -/* 802AB75C 002A86BC 90 15 00 20 */ stw r0, 0x20(r21) -/* 802AB760 002A86C0 80 61 01 A4 */ lwz r3, 0x1a4(r1) -/* 802AB764 002A86C4 80 01 01 A8 */ lwz r0, 0x1a8(r1) -/* 802AB768 002A86C8 90 75 00 24 */ stw r3, 0x24(r21) -/* 802AB76C 002A86CC 90 15 00 28 */ stw r0, 0x28(r21) -/* 802AB770 002A86D0 80 01 01 AC */ lwz r0, 0x1ac(r1) -/* 802AB774 002A86D4 90 15 00 2C */ stw r0, 0x2c(r21) -/* 802AB778 002A86D8 88 01 01 B0 */ lbz r0, 0x1b0(r1) -/* 802AB77C 002A86DC 98 15 00 30 */ stb r0, 0x30(r21) -/* 802AB780 002A86E0 88 01 01 B1 */ lbz r0, 0x1b1(r1) -/* 802AB784 002A86E4 98 15 00 31 */ stb r0, 0x31(r21) -/* 802AB788 002A86E8 C8 01 01 B8 */ lfd f0, 0x1b8(r1) -/* 802AB78C 002A86EC D8 15 00 38 */ stfd f0, 0x38(r21) -/* 802AB790 002A86F0 C8 01 01 C0 */ lfd f0, 0x1c0(r1) -/* 802AB794 002A86F4 D8 15 00 40 */ stfd f0, 0x40(r21) -/* 802AB798 002A86F8 80 61 01 C8 */ lwz r3, 0x1c8(r1) -/* 802AB79C 002A86FC 80 01 01 CC */ lwz r0, 0x1cc(r1) -/* 802AB7A0 002A8700 90 75 00 48 */ stw r3, 0x48(r21) -/* 802AB7A4 002A8704 90 15 00 4C */ stw r0, 0x4c(r21) -/* 802AB7A8 002A8708 80 01 01 D0 */ lwz r0, 0x1d0(r1) -/* 802AB7AC 002A870C 90 15 00 50 */ stw r0, 0x50(r21) -/* 802AB7B0 002A8710 80 61 01 D4 */ lwz r3, 0x1d4(r1) -/* 802AB7B4 002A8714 80 01 01 D8 */ lwz r0, 0x1d8(r1) -/* 802AB7B8 002A8718 90 75 00 54 */ stw r3, 0x54(r21) -/* 802AB7BC 002A871C 90 15 00 58 */ stw r0, 0x58(r21) -/* 802AB7C0 002A8720 80 01 01 DC */ lwz r0, 0x1dc(r1) -/* 802AB7C4 002A8724 90 15 00 5C */ stw r0, 0x5c(r21) -/* 802AB7C8 002A8728 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802AB7CC 002A872C D8 14 00 00 */ stfd f0, 0(r20) -lbl_802AB7D0: -/* 802AB7D0 002A8730 3A F7 00 01 */ addi r23, r23, 1 -/* 802AB7D4 002A8734 3B BD 00 0C */ addi r29, r29, 0xc -/* 802AB7D8 002A8738 2C 17 00 03 */ cmpwi r23, 3 -/* 802AB7DC 002A873C 3B DE 00 02 */ addi r30, r30, 2 -/* 802AB7E0 002A8740 41 80 FE 74 */ blt lbl_802AB654 -/* 802AB7E4 002A8744 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB7E8 002A8748 7F 04 C3 78 */ mr r4, r24 -/* 802AB7EC 002A874C 4B FF C7 61 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs -/* 802AB7F0 002A8750 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha -/* 802AB7F4 002A8754 7C 78 1B 78 */ mr r24, r3 -/* 802AB7F8 002A8758 3A C4 BB AC */ addi r22, r4, lbl_8058BBAC@l -/* 802AB7FC 002A875C 3B A0 00 00 */ li r29, 0 -lbl_802AB800: -/* 802AB800 002A8760 A0 B8 00 00 */ lhz r5, 0(r24) -/* 802AB804 002A8764 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) -/* 802AB808 002A8768 54 A3 08 3C */ slwi r3, r5, 1 -/* 802AB80C 002A876C 7C 16 1A 2E */ lhzx r0, r22, r3 -/* 802AB810 002A8770 7C 00 20 40 */ cmplw r0, r4 -/* 802AB814 002A8774 41 82 01 80 */ beq lbl_802AB994 -/* 802AB818 002A8778 7C 96 1B 2E */ sthx r4, r22, r3 -/* 802AB81C 002A877C 80 8F 00 10 */ lwz r4, 0x10(r15) -/* 802AB820 002A8780 80 64 00 44 */ lwz r3, 0x44(r4) -/* 802AB824 002A8784 80 84 00 24 */ lwz r4, 0x24(r4) -/* 802AB828 002A8788 7C 03 28 AE */ lbzx r0, r3, r5 -/* 802AB82C 002A878C 54 00 10 3A */ slwi r0, r0, 2 -/* 802AB830 002A8790 7E E4 00 2E */ lwzx r23, r4, r0 -/* 802AB834 002A8794 56 E0 01 CF */ rlwinm. r0, r23, 0, 7, 7 -/* 802AB838 002A8798 40 82 01 5C */ bne lbl_802AB994 -/* 802AB83C 002A879C 38 7D FF FE */ addi r3, r29, -2 -/* 802AB840 002A87A0 20 1D 00 02 */ subfic r0, r29, 2 -/* 802AB844 002A87A4 7C 60 00 F8 */ nor r0, r3, r0 -/* 802AB848 002A87A8 C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB84C 002A87AC 7C 03 FE 70 */ srawi r3, r0, 0x1f -/* 802AB850 002A87B0 38 1D 00 01 */ addi r0, r29, 1 -/* 802AB854 002A87B4 7C 00 18 78 */ andc r0, r0, r3 -/* 802AB858 002A87B8 80 D3 00 00 */ lwz r6, 0(r19) -/* 802AB85C 002A87BC 81 13 00 04 */ lwz r8, 4(r19) -/* 802AB860 002A87C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802AB864 002A87C4 81 53 00 08 */ lwz r10, 8(r19) -/* 802AB868 002A87C8 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 802AB86C 002A87CC D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802AB870 002A87D0 7F 63 DB 78 */ mr r3, r27 -/* 802AB874 002A87D4 7E 45 93 78 */ mr r5, r18 -/* 802AB878 002A87D8 90 C1 00 40 */ stw r6, 0x40(r1) -/* 802AB87C 002A87DC 7C 84 02 14 */ add r4, r4, r0 -/* 802AB880 002A87E0 38 C1 00 40 */ addi r6, r1, 0x40 -/* 802AB884 002A87E4 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802AB888 002A87E8 91 01 00 44 */ stw r8, 0x44(r1) -/* 802AB88C 002A87EC 39 01 00 AC */ addi r8, r1, 0xac -/* 802AB890 002A87F0 39 21 00 A0 */ addi r9, r1, 0xa0 -/* 802AB894 002A87F4 91 41 00 48 */ stw r10, 0x48(r1) -/* 802AB898 002A87F8 4B FF 82 F1 */ bl "MovingAABoxCollisionCheck_Edge__20CMetroidAreaColliderFRC9CVector3fRC9CVector3fRCQ24rstl53reserved_vector9CVector3fRdR9CVector3fR9CVector3f" -/* 802AB89C 002A87FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AB8A0 002A8800 41 82 00 F4 */ beq lbl_802AB994 -/* 802AB8A4 002A8804 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802AB8A8 002A8808 C8 14 00 00 */ lfd f0, 0(r20) -/* 802AB8AC 002A880C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802AB8B0 002A8810 40 80 00 E4 */ bge lbl_802AB994 -/* 802AB8B4 002A8814 38 00 00 00 */ li r0, 0 -/* 802AB8B8 002A8818 92 E1 00 14 */ stw r23, 0x14(r1) -/* 802AB8BC 002A881C 7E 25 8B 78 */ mr r5, r17 -/* 802AB8C0 002A8820 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AB8C4 002A8824 90 01 00 10 */ stw r0, 0x10(r1) -/* 802AB8C8 002A8828 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802AB8CC 002A882C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802AB8D0 002A8830 38 E1 00 AC */ addi r7, r1, 0xac -/* 802AB8D4 002A8834 48 02 2B 75 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AB8D8 002A8838 80 61 01 20 */ lwz r3, 0x120(r1) -/* 802AB8DC 002A883C 3B 40 00 01 */ li r26, 1 -/* 802AB8E0 002A8840 80 01 01 24 */ lwz r0, 0x124(r1) -/* 802AB8E4 002A8844 90 75 00 00 */ stw r3, 0(r21) -/* 802AB8E8 002A8848 90 15 00 04 */ stw r0, 4(r21) -/* 802AB8EC 002A884C 80 01 01 28 */ lwz r0, 0x128(r1) -/* 802AB8F0 002A8850 90 15 00 08 */ stw r0, 8(r21) -/* 802AB8F4 002A8854 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 802AB8F8 002A8858 80 01 01 30 */ lwz r0, 0x130(r1) -/* 802AB8FC 002A885C 90 75 00 0C */ stw r3, 0xc(r21) -/* 802AB900 002A8860 90 15 00 10 */ stw r0, 0x10(r21) -/* 802AB904 002A8864 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802AB908 002A8868 90 15 00 14 */ stw r0, 0x14(r21) -/* 802AB90C 002A886C 80 61 01 38 */ lwz r3, 0x138(r1) -/* 802AB910 002A8870 80 01 01 3C */ lwz r0, 0x13c(r1) -/* 802AB914 002A8874 90 75 00 18 */ stw r3, 0x18(r21) -/* 802AB918 002A8878 90 15 00 1C */ stw r0, 0x1c(r21) -/* 802AB91C 002A887C 80 01 01 40 */ lwz r0, 0x140(r1) -/* 802AB920 002A8880 90 15 00 20 */ stw r0, 0x20(r21) -/* 802AB924 002A8884 80 61 01 44 */ lwz r3, 0x144(r1) -/* 802AB928 002A8888 80 01 01 48 */ lwz r0, 0x148(r1) -/* 802AB92C 002A888C 90 75 00 24 */ stw r3, 0x24(r21) -/* 802AB930 002A8890 90 15 00 28 */ stw r0, 0x28(r21) -/* 802AB934 002A8894 80 01 01 4C */ lwz r0, 0x14c(r1) -/* 802AB938 002A8898 90 15 00 2C */ stw r0, 0x2c(r21) -/* 802AB93C 002A889C 88 01 01 50 */ lbz r0, 0x150(r1) -/* 802AB940 002A88A0 98 15 00 30 */ stb r0, 0x30(r21) -/* 802AB944 002A88A4 88 01 01 51 */ lbz r0, 0x151(r1) -/* 802AB948 002A88A8 98 15 00 31 */ stb r0, 0x31(r21) -/* 802AB94C 002A88AC C8 01 01 58 */ lfd f0, 0x158(r1) -/* 802AB950 002A88B0 D8 15 00 38 */ stfd f0, 0x38(r21) -/* 802AB954 002A88B4 C8 01 01 60 */ lfd f0, 0x160(r1) -/* 802AB958 002A88B8 D8 15 00 40 */ stfd f0, 0x40(r21) -/* 802AB95C 002A88BC 80 61 01 68 */ lwz r3, 0x168(r1) -/* 802AB960 002A88C0 80 01 01 6C */ lwz r0, 0x16c(r1) -/* 802AB964 002A88C4 90 75 00 48 */ stw r3, 0x48(r21) -/* 802AB968 002A88C8 90 15 00 4C */ stw r0, 0x4c(r21) -/* 802AB96C 002A88CC 80 01 01 70 */ lwz r0, 0x170(r1) -/* 802AB970 002A88D0 90 15 00 50 */ stw r0, 0x50(r21) -/* 802AB974 002A88D4 80 61 01 74 */ lwz r3, 0x174(r1) -/* 802AB978 002A88D8 80 01 01 78 */ lwz r0, 0x178(r1) -/* 802AB97C 002A88DC 90 75 00 54 */ stw r3, 0x54(r21) -/* 802AB980 002A88E0 90 15 00 58 */ stw r0, 0x58(r21) -/* 802AB984 002A88E4 80 01 01 7C */ lwz r0, 0x17c(r1) -/* 802AB988 002A88E8 90 15 00 5C */ stw r0, 0x5c(r21) -/* 802AB98C 002A88EC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802AB990 002A88F0 D8 14 00 00 */ stfd f0, 0(r20) -lbl_802AB994: -/* 802AB994 002A88F4 3B BD 00 01 */ addi r29, r29, 1 -/* 802AB998 002A88F8 3B 7B 00 0C */ addi r27, r27, 0xc -/* 802AB99C 002A88FC 2C 1D 00 03 */ cmpwi r29, 3 -/* 802AB9A0 002A8900 3B 18 00 02 */ addi r24, r24, 2 -/* 802AB9A4 002A8904 41 80 FE 5C */ blt lbl_802AB800 -/* 802AB9A8 002A8908 48 00 00 80 */ b lbl_802ABA28 -lbl_802AB9AC: -/* 802AB9AC 002A890C 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB9B0 002A8910 7F 04 C3 78 */ mr r4, r24 -/* 802AB9B4 002A8914 4B FF C5 99 */ bl GetTriangleEdgeIndices__8COBBTreeCFUs -/* 802AB9B8 002A8918 A0 03 00 00 */ lhz r0, 0(r3) -/* 802AB9BC 002A891C 3C 80 80 59 */ lis r4, lbl_8058BBAC@ha -/* 802AB9C0 002A8920 A0 ED A5 D0 */ lhz r7, lbl_805A9190@sda21(r13) -/* 802AB9C4 002A8924 38 C4 BB AC */ addi r6, r4, lbl_8058BBAC@l -/* 802AB9C8 002A8928 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB9CC 002A892C 7F 04 C3 78 */ mr r4, r24 -/* 802AB9D0 002A8930 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB9D4 002A8934 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802AB9D8 002A8938 A0 03 00 02 */ lhz r0, 2(r3) -/* 802AB9DC 002A893C 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB9E0 002A8940 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB9E4 002A8944 A0 03 00 04 */ lhz r0, 4(r3) -/* 802AB9E8 002A8948 80 6F 00 10 */ lwz r3, 0x10(r15) -/* 802AB9EC 002A894C 54 00 08 3C */ slwi r0, r0, 1 -/* 802AB9F0 002A8950 7C E6 03 2E */ sthx r7, r6, r0 -/* 802AB9F4 002A8954 4B FF C5 6D */ bl GetTriangleVertexIndices__8COBBTreeCFUsPUs -/* 802AB9F8 002A8958 A0 01 00 20 */ lhz r0, 0x20(r1) -/* 802AB9FC 002A895C 3C 60 80 57 */ lis r3, lbl_80572BAC@ha -/* 802ABA00 002A8960 A0 AD A5 D0 */ lhz r5, lbl_805A9190@sda21(r13) -/* 802ABA04 002A8964 38 83 2B AC */ addi r4, r3, lbl_80572BAC@l -/* 802ABA08 002A8968 54 03 08 3C */ slwi r3, r0, 1 -/* 802ABA0C 002A896C A0 01 00 22 */ lhz r0, 0x22(r1) -/* 802ABA10 002A8970 7C A4 1B 2E */ sthx r5, r4, r3 -/* 802ABA14 002A8974 54 03 08 3C */ slwi r3, r0, 1 -/* 802ABA18 002A8978 A0 01 00 24 */ lhz r0, 0x24(r1) -/* 802ABA1C 002A897C 7C A4 1B 2E */ sthx r5, r4, r3 -/* 802ABA20 002A8980 54 00 08 3C */ slwi r0, r0, 1 -/* 802ABA24 002A8984 7C A4 03 2E */ sthx r5, r4, r0 -lbl_802ABA28: -/* 802ABA28 002A8988 3B 9C 00 02 */ addi r28, r28, 2 -/* 802ABA2C 002A898C 3B 39 00 01 */ addi r25, r25, 1 -lbl_802ABA30: -/* 802ABA30 002A8990 80 01 02 40 */ lwz r0, 0x240(r1) -/* 802ABA34 002A8994 7C 19 00 00 */ cmpw r25, r0 -/* 802ABA38 002A8998 41 80 F9 F0 */ blt lbl_802AB428 -/* 802ABA3C 002A899C 7F 43 D3 78 */ mr r3, r26 -/* 802ABA40 002A89A0 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 -/* 802ABA44 002A89A4 CB E1 02 B0 */ lfd f31, 0x2b0(r1) -/* 802ABA48 002A89A8 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 -/* 802ABA4C 002A89AC CB C1 02 A0 */ lfd f30, 0x2a0(r1) -/* 802ABA50 002A89B0 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 -/* 802ABA54 002A89B4 CB A1 02 90 */ lfd f29, 0x290(r1) -/* 802ABA58 002A89B8 B9 C1 02 48 */ lmw r14, 0x248(r1) -/* 802ABA5C 002A89BC 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 802ABA60 002A89C0 7C 08 03 A6 */ mtlr r0 -/* 802ABA64 002A89C4 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 802ABA68 002A89C8 4E 80 00 20 */ blr - -.global AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo: -/* 802ABA6C 002A89CC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802ABA70 002A89D0 7C 08 02 A6 */ mflr r0 -/* 802ABA74 002A89D4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802ABA78 002A89D8 BE 81 00 20 */ stmw r20, 0x20(r1) -/* 802ABA7C 002A89DC 7C 7C 1B 78 */ mr r28, r3 -/* 802ABA80 002A89E0 7C FF 3B 78 */ mr r31, r7 -/* 802ABA84 002A89E4 83 01 00 58 */ lwz r24, 0x58(r1) -/* 802ABA88 002A89E8 83 21 00 5C */ lwz r25, 0x5c(r1) -/* 802ABA8C 002A89EC 7C 9D 23 78 */ mr r29, r4 -/* 802ABA90 002A89F0 83 41 00 60 */ lwz r26, 0x60(r1) -/* 802ABA94 002A89F4 7C BE 2B 78 */ mr r30, r5 -/* 802ABA98 002A89F8 7C D4 33 78 */ mr r20, r6 -/* 802ABA9C 002A89FC 7D 15 43 78 */ mr r21, r8 -/* 802ABAA0 002A8A00 7D 36 4B 78 */ mr r22, r9 -/* 802ABAA4 002A8A04 7D 57 53 78 */ mr r23, r10 -/* 802ABAA8 002A8A08 3B 60 00 00 */ li r27, 0 -/* 802ABAAC 002A8A0C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802ABAB0 002A8A10 38 03 00 01 */ addi r0, r3, 1 -/* 802ABAB4 002A8A14 7F E3 FB 78 */ mr r3, r31 -/* 802ABAB8 002A8A18 90 1C 00 14 */ stw r0, 0x14(r28) -/* 802ABABC 002A8A1C 48 02 99 D9 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802ABAC0 002A8A20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABAC4 002A8A24 41 82 00 D0 */ beq lbl_802ABB94 -/* 802ABAC8 002A8A28 38 00 00 01 */ li r0, 1 -/* 802ABACC 002A8A2C 98 1D 00 4C */ stb r0, 0x4c(r29) -/* 802ABAD0 002A8A30 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 802ABAD4 002A8A34 28 00 00 00 */ cmplwi r0, 0 -/* 802ABAD8 002A8A38 41 82 00 40 */ beq lbl_802ABB18 -/* 802ABADC 002A8A3C 93 21 00 08 */ stw r25, 8(r1) -/* 802ABAE0 002A8A40 7F 83 E3 78 */ mr r3, r28 -/* 802ABAE4 002A8A44 7F C5 F3 78 */ mr r5, r30 -/* 802ABAE8 002A8A48 7E 86 A3 78 */ mr r6, r20 -/* 802ABAEC 002A8A4C 93 41 00 0C */ stw r26, 0xc(r1) -/* 802ABAF0 002A8A50 7E A7 AB 78 */ mr r7, r21 -/* 802ABAF4 002A8A54 7E C8 B3 78 */ mr r8, r22 -/* 802ABAF8 002A8A58 7E E9 BB 78 */ mr r9, r23 -/* 802ABAFC 002A8A5C 80 9D 00 48 */ lwz r4, 0x48(r29) -/* 802ABB00 002A8A60 7F 0A C3 78 */ mr r10, r24 -/* 802ABB04 002A8A64 4B FF F7 7D */ bl AABoxCollideWithLeafMoving__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -/* 802ABB08 002A8A68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABB0C 002A8A6C 41 82 00 94 */ beq lbl_802ABBA0 -/* 802ABB10 002A8A70 3B 60 00 01 */ li r27, 1 -/* 802ABB14 002A8A74 48 00 00 8C */ b lbl_802ABBA0 -lbl_802ABB18: -/* 802ABB18 002A8A78 93 01 00 08 */ stw r24, 8(r1) -/* 802ABB1C 002A8A7C 7F 83 E3 78 */ mr r3, r28 -/* 802ABB20 002A8A80 7F C5 F3 78 */ mr r5, r30 -/* 802ABB24 002A8A84 7E 86 A3 78 */ mr r6, r20 -/* 802ABB28 002A8A88 93 21 00 0C */ stw r25, 0xc(r1) -/* 802ABB2C 002A8A8C 7F E7 FB 78 */ mr r7, r31 -/* 802ABB30 002A8A90 7E A8 AB 78 */ mr r8, r21 -/* 802ABB34 002A8A94 7E C9 B3 78 */ mr r9, r22 -/* 802ABB38 002A8A98 93 41 00 10 */ stw r26, 0x10(r1) -/* 802ABB3C 002A8A9C 7E EA BB 78 */ mr r10, r23 -/* 802ABB40 002A8AA0 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 802ABB44 002A8AA4 4B FF FF 29 */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -/* 802ABB48 002A8AA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABB4C 002A8AAC 41 82 00 08 */ beq lbl_802ABB54 -/* 802ABB50 002A8AB0 3B 60 00 01 */ li r27, 1 -lbl_802ABB54: -/* 802ABB54 002A8AB4 93 01 00 08 */ stw r24, 8(r1) -/* 802ABB58 002A8AB8 7F 83 E3 78 */ mr r3, r28 -/* 802ABB5C 002A8ABC 7F C5 F3 78 */ mr r5, r30 -/* 802ABB60 002A8AC0 7E 86 A3 78 */ mr r6, r20 -/* 802ABB64 002A8AC4 93 21 00 0C */ stw r25, 0xc(r1) -/* 802ABB68 002A8AC8 7F E7 FB 78 */ mr r7, r31 -/* 802ABB6C 002A8ACC 7E A8 AB 78 */ mr r8, r21 -/* 802ABB70 002A8AD0 7E C9 B3 78 */ mr r9, r22 -/* 802ABB74 002A8AD4 93 41 00 10 */ stw r26, 0x10(r1) -/* 802ABB78 002A8AD8 7E EA BB 78 */ mr r10, r23 -/* 802ABB7C 002A8ADC 80 9D 00 44 */ lwz r4, 0x44(r29) -/* 802ABB80 002A8AE0 4B FF FE ED */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -/* 802ABB84 002A8AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABB88 002A8AE8 41 82 00 18 */ beq lbl_802ABBA0 -/* 802ABB8C 002A8AEC 3B 60 00 01 */ li r27, 1 -/* 802ABB90 002A8AF0 48 00 00 10 */ b lbl_802ABBA0 -lbl_802ABB94: -/* 802ABB94 002A8AF4 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802ABB98 002A8AF8 38 03 00 01 */ addi r0, r3, 1 -/* 802ABB9C 002A8AFC 90 1C 00 18 */ stw r0, 0x18(r28) -lbl_802ABBA0: -/* 802ABBA0 002A8B00 7F 63 DB 78 */ mr r3, r27 -/* 802ABBA4 002A8B04 BA 81 00 20 */ lmw r20, 0x20(r1) -/* 802ABBA8 002A8B08 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802ABBAC 002A8B0C 7C 08 03 A6 */ mtlr r0 -/* 802ABBB0 002A8B10 38 21 00 50 */ addi r1, r1, 0x50 -/* 802ABBB4 002A8B14 4E 80 00 20 */ blr - -.global SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter -SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter: -/* 802ABBB8 002A8B18 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802ABBBC 002A8B1C 7C 08 02 A6 */ mflr r0 -/* 802ABBC0 002A8B20 90 01 00 94 */ stw r0, 0x94(r1) -/* 802ABBC4 002A8B24 BE C1 00 68 */ stmw r22, 0x68(r1) -/* 802ABBC8 002A8B28 7C 76 1B 78 */ mr r22, r3 -/* 802ABBCC 002A8B2C 7C FA 3B 78 */ mr r26, r7 -/* 802ABBD0 002A8B30 7C 9B 23 78 */ mr r27, r4 -/* 802ABBD4 002A8B34 7C B7 2B 78 */ mr r23, r5 -/* 802ABBD8 002A8B38 7C D8 33 78 */ mr r24, r6 -/* 802ABBDC 002A8B3C 7D 19 43 78 */ mr r25, r8 -/* 802ABBE0 002A8B40 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802ABBE4 002A8B44 38 03 00 01 */ addi r0, r3, 1 -/* 802ABBE8 002A8B48 7F 43 D3 78 */ mr r3, r26 -/* 802ABBEC 002A8B4C 90 16 00 14 */ stw r0, 0x14(r22) -/* 802ABBF0 002A8B50 48 02 98 A5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802ABBF4 002A8B54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABBF8 002A8B58 41 82 01 6C */ beq lbl_802ABD64 -/* 802ABBFC 002A8B5C 38 00 00 01 */ li r0, 1 -/* 802ABC00 002A8B60 98 1B 00 4C */ stb r0, 0x4c(r27) -/* 802ABC04 002A8B64 88 1B 00 3C */ lbz r0, 0x3c(r27) -/* 802ABC08 002A8B68 28 00 00 00 */ cmplwi r0, 0 -/* 802ABC0C 002A8B6C 41 82 01 00 */ beq lbl_802ABD0C -/* 802ABC10 002A8B70 83 FB 00 48 */ lwz r31, 0x48(r27) -/* 802ABC14 002A8B74 3B 61 00 44 */ addi r27, r1, 0x44 -/* 802ABC18 002A8B78 3B 81 00 50 */ addi r28, r1, 0x50 -/* 802ABC1C 002A8B7C 3B 40 00 00 */ li r26, 0 -/* 802ABC20 002A8B80 83 DF 00 04 */ lwz r30, 4(r31) -/* 802ABC24 002A8B84 3B A0 00 00 */ li r29, 0 -/* 802ABC28 002A8B88 48 00 00 D8 */ b lbl_802ABD00 -lbl_802ABC2C: -/* 802ABC2C 002A8B8C 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 802ABC30 002A8B90 7E E6 BB 78 */ mr r6, r23 -/* 802ABC34 002A8B94 80 96 00 10 */ lwz r4, 0x10(r22) -/* 802ABC38 002A8B98 38 61 00 10 */ addi r3, r1, 0x10 -/* 802ABC3C 002A8B9C 7C A5 EA 2E */ lhzx r5, r5, r29 -/* 802ABC40 002A8BA0 4B FF CE 01 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802ABC44 002A8BA4 C1 01 00 10 */ lfs f8, 0x10(r1) -/* 802ABC48 002A8BA8 7E C3 B3 78 */ mr r3, r22 -/* 802ABC4C 002A8BAC C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 802ABC50 002A8BB0 C0 C1 00 18 */ lfs f6, 0x18(r1) -/* 802ABC54 002A8BB4 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 802ABC58 002A8BB8 C0 81 00 20 */ lfs f4, 0x20(r1) -/* 802ABC5C 002A8BBC C0 61 00 24 */ lfs f3, 0x24(r1) -/* 802ABC60 002A8BC0 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802ABC64 002A8BC4 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802ABC68 002A8BC8 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802ABC6C 002A8BCC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802ABC70 002A8BD0 D1 01 00 38 */ stfs f8, 0x38(r1) -/* 802ABC74 002A8BD4 D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 802ABC78 002A8BD8 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 802ABC7C 002A8BDC D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802ABC80 002A8BE0 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802ABC84 002A8BE4 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802ABC88 002A8BE8 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802ABC8C 002A8BEC D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802ABC90 002A8BF0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 802ABC94 002A8BF4 90 01 00 5C */ stw r0, 0x5c(r1) -/* 802ABC98 002A8BF8 81 96 00 00 */ lwz r12, 0(r22) -/* 802ABC9C 002A8BFC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802ABCA0 002A8C00 7D 89 03 A6 */ mtctr r12 -/* 802ABCA4 002A8C04 4E 80 04 21 */ bctrl -/* 802ABCA8 002A8C08 80 C1 00 5C */ lwz r6, 0x5c(r1) -/* 802ABCAC 002A8C0C 38 81 00 08 */ addi r4, r1, 8 -/* 802ABCB0 002A8C10 80 03 00 04 */ lwz r0, 4(r3) -/* 802ABCB4 002A8C14 80 A3 00 00 */ lwz r5, 0(r3) -/* 802ABCB8 002A8C18 7F 23 CB 78 */ mr r3, r25 -/* 802ABCBC 002A8C1C 7C C0 03 78 */ or r0, r6, r0 -/* 802ABCC0 002A8C20 90 01 00 0C */ stw r0, 0xc(r1) -/* 802ABCC4 002A8C24 90 A1 00 08 */ stw r5, 8(r1) -/* 802ABCC8 002A8C28 48 02 96 85 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802ABCCC 002A8C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABCD0 002A8C30 41 82 00 28 */ beq lbl_802ABCF8 -/* 802ABCD4 002A8C34 7F 03 C3 78 */ mr r3, r24 -/* 802ABCD8 002A8C38 7F 65 DB 78 */ mr r5, r27 -/* 802ABCDC 002A8C3C 7F 86 E3 78 */ mr r6, r28 -/* 802ABCE0 002A8C40 38 81 00 38 */ addi r4, r1, 0x38 -/* 802ABCE4 002A8C44 48 02 47 5D */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f -/* 802ABCE8 002A8C48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABCEC 002A8C4C 41 82 00 0C */ beq lbl_802ABCF8 -/* 802ABCF0 002A8C50 38 60 00 01 */ li r3, 1 -/* 802ABCF4 002A8C54 48 00 00 80 */ b lbl_802ABD74 -lbl_802ABCF8: -/* 802ABCF8 002A8C58 3B BD 00 02 */ addi r29, r29, 2 -/* 802ABCFC 002A8C5C 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802ABD00: -/* 802ABD00 002A8C60 7C 1A F0 00 */ cmpw r26, r30 -/* 802ABD04 002A8C64 41 80 FF 28 */ blt lbl_802ABC2C -/* 802ABD08 002A8C68 48 00 00 68 */ b lbl_802ABD70 -lbl_802ABD0C: -/* 802ABD0C 002A8C6C 80 9B 00 40 */ lwz r4, 0x40(r27) -/* 802ABD10 002A8C70 7E C3 B3 78 */ mr r3, r22 -/* 802ABD14 002A8C74 7E E5 BB 78 */ mr r5, r23 -/* 802ABD18 002A8C78 7F 06 C3 78 */ mr r6, r24 -/* 802ABD1C 002A8C7C 7F 47 D3 78 */ mr r7, r26 -/* 802ABD20 002A8C80 7F 28 CB 78 */ mr r8, r25 -/* 802ABD24 002A8C84 4B FF FE 95 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter -/* 802ABD28 002A8C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABD2C 002A8C8C 41 82 00 0C */ beq lbl_802ABD38 -/* 802ABD30 002A8C90 38 60 00 01 */ li r3, 1 -/* 802ABD34 002A8C94 48 00 00 40 */ b lbl_802ABD74 -lbl_802ABD38: -/* 802ABD38 002A8C98 80 9B 00 44 */ lwz r4, 0x44(r27) -/* 802ABD3C 002A8C9C 7E C3 B3 78 */ mr r3, r22 -/* 802ABD40 002A8CA0 7E E5 BB 78 */ mr r5, r23 -/* 802ABD44 002A8CA4 7F 06 C3 78 */ mr r6, r24 -/* 802ABD48 002A8CA8 7F 47 D3 78 */ mr r7, r26 -/* 802ABD4C 002A8CAC 7F 28 CB 78 */ mr r8, r25 -/* 802ABD50 002A8CB0 4B FF FE 69 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter -/* 802ABD54 002A8CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABD58 002A8CB8 41 82 00 18 */ beq lbl_802ABD70 -/* 802ABD5C 002A8CBC 38 60 00 01 */ li r3, 1 -/* 802ABD60 002A8CC0 48 00 00 14 */ b lbl_802ABD74 -lbl_802ABD64: -/* 802ABD64 002A8CC4 80 76 00 18 */ lwz r3, 0x18(r22) -/* 802ABD68 002A8CC8 38 03 00 01 */ addi r0, r3, 1 -/* 802ABD6C 002A8CCC 90 16 00 18 */ stw r0, 0x18(r22) -lbl_802ABD70: -/* 802ABD70 002A8CD0 38 60 00 00 */ li r3, 0 -lbl_802ABD74: -/* 802ABD74 002A8CD4 BA C1 00 68 */ lmw r22, 0x68(r1) -/* 802ABD78 002A8CD8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802ABD7C 002A8CDC 7C 08 03 A6 */ mtlr r0 -/* 802ABD80 002A8CE0 38 21 00 90 */ addi r1, r1, 0x90 -/* 802ABD84 002A8CE4 4E 80 00 20 */ blr - -.global AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter -AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter: -/* 802ABD88 002A8CE8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802ABD8C 002A8CEC 7C 08 02 A6 */ mflr r0 -/* 802ABD90 002A8CF0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802ABD94 002A8CF4 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 802ABD98 002A8CF8 7C 78 1B 78 */ mr r24, r3 -/* 802ABD9C 002A8CFC 7C DB 33 78 */ mr r27, r6 -/* 802ABDA0 002A8D00 7C 9C 23 78 */ mr r28, r4 -/* 802ABDA4 002A8D04 7C B9 2B 78 */ mr r25, r5 -/* 802ABDA8 002A8D08 7C F7 3B 78 */ mr r23, r7 -/* 802ABDAC 002A8D0C 7D 1A 43 78 */ mr r26, r8 -/* 802ABDB0 002A8D10 7F 64 DB 78 */ mr r4, r27 -/* 802ABDB4 002A8D14 38 61 00 10 */ addi r3, r1, 0x10 -/* 802ABDB8 002A8D18 48 08 B8 55 */ bl GetCenterPoint__6CAABoxCFv -/* 802ABDBC 002A8D1C C0 7B 00 10 */ lfs f3, 0x10(r27) -/* 802ABDC0 002A8D20 7E E3 BB 78 */ mr r3, r23 -/* 802ABDC4 002A8D24 C0 5B 00 04 */ lfs f2, 4(r27) -/* 802ABDC8 002A8D28 7F 84 E3 78 */ mr r4, r28 -/* 802ABDCC 002A8D2C C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 802ABDD0 002A8D30 C0 1B 00 08 */ lfs f0, 8(r27) -/* 802ABDD4 002A8D34 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802ABDD8 002A8D38 C0 62 C1 BC */ lfs f3, lbl_805ADEDC@sda21(r2) -/* 802ABDDC 002A8D3C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802ABDE0 002A8D40 80 B8 00 14 */ lwz r5, 0x14(r24) -/* 802ABDE4 002A8D44 EC E3 00 B2 */ fmuls f7, f3, f2 -/* 802ABDE8 002A8D48 C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 802ABDEC 002A8D4C C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802ABDF0 002A8D50 38 05 00 01 */ addi r0, r5, 1 -/* 802ABDF4 002A8D54 EC C3 00 32 */ fmuls f6, f3, f0 -/* 802ABDF8 002A8D58 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 802ABDFC 002A8D5C C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 802ABE00 002A8D60 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802ABE04 002A8D64 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 802ABE08 002A8D68 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802ABE0C 002A8D6C D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 802ABE10 002A8D70 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802ABE14 002A8D74 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802ABE18 002A8D78 D0 E1 00 20 */ stfs f7, 0x20(r1) -/* 802ABE1C 002A8D7C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802ABE20 002A8D80 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 802ABE24 002A8D84 90 18 00 14 */ stw r0, 0x14(r24) -/* 802ABE28 002A8D88 48 02 96 6D */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802ABE2C 002A8D8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABE30 002A8D90 41 82 01 70 */ beq lbl_802ABFA0 -/* 802ABE34 002A8D94 38 00 00 01 */ li r0, 1 -/* 802ABE38 002A8D98 98 1C 00 4C */ stb r0, 0x4c(r28) -/* 802ABE3C 002A8D9C 88 1C 00 3C */ lbz r0, 0x3c(r28) -/* 802ABE40 002A8DA0 28 00 00 00 */ cmplwi r0, 0 -/* 802ABE44 002A8DA4 41 82 01 04 */ beq lbl_802ABF48 -/* 802ABE48 002A8DA8 83 FC 00 48 */ lwz r31, 0x48(r28) -/* 802ABE4C 002A8DAC 3B 81 00 68 */ addi r28, r1, 0x68 -/* 802ABE50 002A8DB0 3B A1 00 74 */ addi r29, r1, 0x74 -/* 802ABE54 002A8DB4 3B 60 00 00 */ li r27, 0 -/* 802ABE58 002A8DB8 83 DF 00 04 */ lwz r30, 4(r31) -/* 802ABE5C 002A8DBC 3A E0 00 00 */ li r23, 0 -/* 802ABE60 002A8DC0 48 00 00 DC */ b lbl_802ABF3C -lbl_802ABE64: -/* 802ABE64 002A8DC4 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 802ABE68 002A8DC8 7F 26 CB 78 */ mr r6, r25 -/* 802ABE6C 002A8DCC 80 98 00 10 */ lwz r4, 0x10(r24) -/* 802ABE70 002A8DD0 38 61 00 34 */ addi r3, r1, 0x34 -/* 802ABE74 002A8DD4 7C A5 BA 2E */ lhzx r5, r5, r23 -/* 802ABE78 002A8DD8 4B FF CB C9 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802ABE7C 002A8DDC C1 01 00 34 */ lfs f8, 0x34(r1) -/* 802ABE80 002A8DE0 7F 03 C3 78 */ mr r3, r24 -/* 802ABE84 002A8DE4 C0 E1 00 38 */ lfs f7, 0x38(r1) -/* 802ABE88 002A8DE8 C0 C1 00 3C */ lfs f6, 0x3c(r1) -/* 802ABE8C 002A8DEC C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 802ABE90 002A8DF0 C0 81 00 44 */ lfs f4, 0x44(r1) -/* 802ABE94 002A8DF4 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 802ABE98 002A8DF8 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 802ABE9C 002A8DFC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802ABEA0 002A8E00 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802ABEA4 002A8E04 80 01 00 58 */ lwz r0, 0x58(r1) -/* 802ABEA8 002A8E08 D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 802ABEAC 002A8E0C D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 802ABEB0 002A8E10 D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 802ABEB4 002A8E14 D0 A1 00 68 */ stfs f5, 0x68(r1) -/* 802ABEB8 002A8E18 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 802ABEBC 002A8E1C D0 61 00 70 */ stfs f3, 0x70(r1) -/* 802ABEC0 002A8E20 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802ABEC4 002A8E24 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 802ABEC8 002A8E28 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802ABECC 002A8E2C 90 01 00 80 */ stw r0, 0x80(r1) -/* 802ABED0 002A8E30 81 98 00 00 */ lwz r12, 0(r24) -/* 802ABED4 002A8E34 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802ABED8 002A8E38 7D 89 03 A6 */ mtctr r12 -/* 802ABEDC 002A8E3C 4E 80 04 21 */ bctrl -/* 802ABEE0 002A8E40 80 C1 00 80 */ lwz r6, 0x80(r1) -/* 802ABEE4 002A8E44 38 81 00 08 */ addi r4, r1, 8 -/* 802ABEE8 002A8E48 80 03 00 04 */ lwz r0, 4(r3) -/* 802ABEEC 002A8E4C 80 A3 00 00 */ lwz r5, 0(r3) -/* 802ABEF0 002A8E50 7F 43 D3 78 */ mr r3, r26 -/* 802ABEF4 002A8E54 7C C0 03 78 */ or r0, r6, r0 -/* 802ABEF8 002A8E58 90 01 00 0C */ stw r0, 0xc(r1) -/* 802ABEFC 002A8E5C 90 A1 00 08 */ stw r5, 8(r1) -/* 802ABF00 002A8E60 48 02 94 4D */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802ABF04 002A8E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABF08 002A8E68 41 82 00 2C */ beq lbl_802ABF34 -/* 802ABF0C 002A8E6C 7F 86 E3 78 */ mr r6, r28 -/* 802ABF10 002A8E70 7F A7 EB 78 */ mr r7, r29 -/* 802ABF14 002A8E74 38 61 00 28 */ addi r3, r1, 0x28 -/* 802ABF18 002A8E78 38 81 00 1C */ addi r4, r1, 0x1c -/* 802ABF1C 002A8E7C 38 A1 00 5C */ addi r5, r1, 0x5c -/* 802ABF20 002A8E80 48 02 55 C1 */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802ABF24 002A8E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABF28 002A8E88 41 82 00 0C */ beq lbl_802ABF34 -/* 802ABF2C 002A8E8C 38 60 00 01 */ li r3, 1 -/* 802ABF30 002A8E90 48 00 00 80 */ b lbl_802ABFB0 -lbl_802ABF34: -/* 802ABF34 002A8E94 3A F7 00 02 */ addi r23, r23, 2 -/* 802ABF38 002A8E98 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802ABF3C: -/* 802ABF3C 002A8E9C 7C 1B F0 00 */ cmpw r27, r30 -/* 802ABF40 002A8EA0 41 80 FF 24 */ blt lbl_802ABE64 -/* 802ABF44 002A8EA4 48 00 00 68 */ b lbl_802ABFAC -lbl_802ABF48: -/* 802ABF48 002A8EA8 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 802ABF4C 002A8EAC 7F 03 C3 78 */ mr r3, r24 -/* 802ABF50 002A8EB0 7F 25 CB 78 */ mr r5, r25 -/* 802ABF54 002A8EB4 7F 66 DB 78 */ mr r6, r27 -/* 802ABF58 002A8EB8 7E E7 BB 78 */ mr r7, r23 -/* 802ABF5C 002A8EBC 7F 48 D3 78 */ mr r8, r26 -/* 802ABF60 002A8EC0 4B FF FE 29 */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter -/* 802ABF64 002A8EC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABF68 002A8EC8 41 82 00 0C */ beq lbl_802ABF74 -/* 802ABF6C 002A8ECC 38 60 00 01 */ li r3, 1 -/* 802ABF70 002A8ED0 48 00 00 40 */ b lbl_802ABFB0 -lbl_802ABF74: -/* 802ABF74 002A8ED4 80 9C 00 44 */ lwz r4, 0x44(r28) -/* 802ABF78 002A8ED8 7F 03 C3 78 */ mr r3, r24 -/* 802ABF7C 002A8EDC 7F 25 CB 78 */ mr r5, r25 -/* 802ABF80 002A8EE0 7F 66 DB 78 */ mr r6, r27 -/* 802ABF84 002A8EE4 7E E7 BB 78 */ mr r7, r23 -/* 802ABF88 002A8EE8 7F 48 D3 78 */ mr r8, r26 -/* 802ABF8C 002A8EEC 4B FF FD FD */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter -/* 802ABF90 002A8EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ABF94 002A8EF4 41 82 00 18 */ beq lbl_802ABFAC -/* 802ABF98 002A8EF8 38 60 00 01 */ li r3, 1 -/* 802ABF9C 002A8EFC 48 00 00 14 */ b lbl_802ABFB0 -lbl_802ABFA0: -/* 802ABFA0 002A8F00 80 78 00 18 */ lwz r3, 0x18(r24) -/* 802ABFA4 002A8F04 38 03 00 01 */ addi r0, r3, 1 -/* 802ABFA8 002A8F08 90 18 00 18 */ stw r0, 0x18(r24) -lbl_802ABFAC: -/* 802ABFAC 002A8F0C 38 60 00 00 */ li r3, 0 -lbl_802ABFB0: -/* 802ABFB0 002A8F10 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 802ABFB4 002A8F14 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802ABFB8 002A8F18 7C 08 03 A6 */ mtlr r0 -/* 802ABFBC 002A8F1C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802ABFC0 002A8F20 4E 80 00 20 */ blr - -.global SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: -/* 802ABFC4 002A8F24 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802ABFC8 002A8F28 7C 08 02 A6 */ mflr r0 -/* 802ABFCC 002A8F2C 3D 40 80 5A */ lis r10, skZero3f@ha -/* 802ABFD0 002A8F30 90 01 01 14 */ stw r0, 0x114(r1) -/* 802ABFD4 002A8F34 BE 61 00 DC */ stmw r19, 0xdc(r1) -/* 802ABFD8 002A8F38 7C 94 23 78 */ mr r20, r4 -/* 802ABFDC 002A8F3C 38 8A 66 A0 */ addi r4, r10, skZero3f@l -/* 802ABFE0 002A8F40 3B 81 00 5C */ addi r28, r1, 0x5c -/* 802ABFE4 002A8F44 3B A1 00 68 */ addi r29, r1, 0x68 -/* 802ABFE8 002A8F48 7C 73 1B 78 */ mr r19, r3 -/* 802ABFEC 002A8F4C 7C B5 2B 78 */ mr r21, r5 -/* 802ABFF0 002A8F50 7C D6 33 78 */ mr r22, r6 -/* 802ABFF4 002A8F54 7C F7 3B 78 */ mr r23, r7 -/* 802ABFF8 002A8F58 7D 18 43 78 */ mr r24, r8 -/* 802ABFFC 002A8F5C 7D 39 4B 78 */ mr r25, r9 -/* 802AC000 002A8F60 3B 60 00 00 */ li r27, 0 -/* 802AC004 002A8F64 3B 40 00 00 */ li r26, 0 -/* 802AC008 002A8F68 3B C0 00 00 */ li r30, 0 -/* 802AC00C 002A8F6C C0 04 00 00 */ lfs f0, 0(r4) -/* 802AC010 002A8F70 C0 24 00 04 */ lfs f1, 4(r4) -/* 802AC014 002A8F74 C0 44 00 08 */ lfs f2, 8(r4) -/* 802AC018 002A8F78 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802AC01C 002A8F7C 83 F4 00 04 */ lwz r31, 4(r20) -/* 802AC020 002A8F80 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802AC024 002A8F84 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 802AC028 002A8F88 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802AC02C 002A8F8C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802AC030 002A8F90 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802AC034 002A8F94 48 00 01 10 */ b lbl_802AC144 -lbl_802AC038: -/* 802AC038 002A8F98 80 B4 00 0C */ lwz r5, 0xc(r20) -/* 802AC03C 002A8F9C 7E A6 AB 78 */ mr r6, r21 -/* 802AC040 002A8FA0 80 93 00 10 */ lwz r4, 0x10(r19) -/* 802AC044 002A8FA4 38 61 00 28 */ addi r3, r1, 0x28 -/* 802AC048 002A8FA8 7C A5 F2 2E */ lhzx r5, r5, r30 -/* 802AC04C 002A8FAC 4B FF C9 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802AC050 002A8FB0 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 802AC054 002A8FB4 7E 63 9B 78 */ mr r3, r19 -/* 802AC058 002A8FB8 C0 E1 00 2C */ lfs f7, 0x2c(r1) -/* 802AC05C 002A8FBC C0 C1 00 30 */ lfs f6, 0x30(r1) -/* 802AC060 002A8FC0 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 802AC064 002A8FC4 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 802AC068 002A8FC8 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 802AC06C 002A8FCC C0 41 00 40 */ lfs f2, 0x40(r1) -/* 802AC070 002A8FD0 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802AC074 002A8FD4 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802AC078 002A8FD8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802AC07C 002A8FDC D1 01 00 50 */ stfs f8, 0x50(r1) -/* 802AC080 002A8FE0 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 802AC084 002A8FE4 D0 C1 00 58 */ stfs f6, 0x58(r1) -/* 802AC088 002A8FE8 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 802AC08C 002A8FEC D0 81 00 60 */ stfs f4, 0x60(r1) -/* 802AC090 002A8FF0 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802AC094 002A8FF4 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802AC098 002A8FF8 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802AC09C 002A8FFC D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802AC0A0 002A9000 90 01 00 74 */ stw r0, 0x74(r1) -/* 802AC0A4 002A9004 81 93 00 00 */ lwz r12, 0(r19) -/* 802AC0A8 002A9008 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AC0AC 002A900C 7D 89 03 A6 */ mtctr r12 -/* 802AC0B0 002A9010 4E 80 04 21 */ bctrl -/* 802AC0B4 002A9014 80 C1 00 74 */ lwz r6, 0x74(r1) -/* 802AC0B8 002A9018 38 81 00 08 */ addi r4, r1, 8 -/* 802AC0BC 002A901C 80 03 00 04 */ lwz r0, 4(r3) -/* 802AC0C0 002A9020 80 A3 00 00 */ lwz r5, 0(r3) -/* 802AC0C4 002A9024 7F 03 C3 78 */ mr r3, r24 -/* 802AC0C8 002A9028 7C C0 03 78 */ or r0, r6, r0 -/* 802AC0CC 002A902C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802AC0D0 002A9030 90 A1 00 08 */ stw r5, 8(r1) -/* 802AC0D4 002A9034 48 02 92 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802AC0D8 002A9038 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC0DC 002A903C 41 82 00 60 */ beq lbl_802AC13C -/* 802AC0E0 002A9040 80 93 00 1C */ lwz r4, 0x1c(r19) -/* 802AC0E4 002A9044 7E C3 B3 78 */ mr r3, r22 -/* 802AC0E8 002A9048 7F 85 E3 78 */ mr r5, r28 -/* 802AC0EC 002A904C 7F A6 EB 78 */ mr r6, r29 -/* 802AC0F0 002A9050 38 04 00 01 */ addi r0, r4, 1 -/* 802AC0F4 002A9054 38 81 00 50 */ addi r4, r1, 0x50 -/* 802AC0F8 002A9058 90 13 00 1C */ stw r0, 0x1c(r19) -/* 802AC0FC 002A905C 38 E1 00 1C */ addi r7, r1, 0x1c -/* 802AC100 002A9060 39 01 00 10 */ addi r8, r1, 0x10 -/* 802AC104 002A9064 48 02 41 4D */ bl TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f -/* 802AC108 002A9068 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC10C 002A906C 41 82 00 30 */ beq lbl_802AC13C -/* 802AC110 002A9070 7E E5 BB 78 */ mr r5, r23 -/* 802AC114 002A9074 38 61 00 78 */ addi r3, r1, 0x78 -/* 802AC118 002A9078 38 81 00 1C */ addi r4, r1, 0x1c -/* 802AC11C 002A907C 38 C1 00 08 */ addi r6, r1, 8 -/* 802AC120 002A9080 38 E1 00 10 */ addi r7, r1, 0x10 -/* 802AC124 002A9084 48 02 23 25 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802AC128 002A9088 7C 64 1B 78 */ mr r4, r3 -/* 802AC12C 002A908C 7F 23 CB 78 */ mr r3, r25 -/* 802AC130 002A9090 38 A0 00 00 */ li r5, 0 -/* 802AC134 002A9094 4B ED 94 ED */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802AC138 002A9098 3B 60 00 01 */ li r27, 1 -lbl_802AC13C: -/* 802AC13C 002A909C 3B DE 00 02 */ addi r30, r30, 2 -/* 802AC140 002A90A0 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802AC144: -/* 802AC144 002A90A4 7C 1A F8 00 */ cmpw r26, r31 -/* 802AC148 002A90A8 41 80 FE F0 */ blt lbl_802AC038 -/* 802AC14C 002A90AC 7F 63 DB 78 */ mr r3, r27 -/* 802AC150 002A90B0 BA 61 00 DC */ lmw r19, 0xdc(r1) -/* 802AC154 002A90B4 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802AC158 002A90B8 7C 08 03 A6 */ mtlr r0 -/* 802AC15C 002A90BC 38 21 01 10 */ addi r1, r1, 0x110 -/* 802AC160 002A90C0 4E 80 00 20 */ blr - -.global SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList: -/* 802AC164 002A90C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802AC168 002A90C8 7C 08 02 A6 */ mflr r0 -/* 802AC16C 002A90CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802AC170 002A90D0 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 802AC174 002A90D4 7C 77 1B 78 */ mr r23, r3 -/* 802AC178 002A90D8 7C FB 3B 78 */ mr r27, r7 -/* 802AC17C 002A90DC 7C 98 23 78 */ mr r24, r4 -/* 802AC180 002A90E0 7C B9 2B 78 */ mr r25, r5 -/* 802AC184 002A90E4 7C DA 33 78 */ mr r26, r6 -/* 802AC188 002A90E8 7D 1C 43 78 */ mr r28, r8 -/* 802AC18C 002A90EC 7D 3D 4B 78 */ mr r29, r9 -/* 802AC190 002A90F0 7D 5E 53 78 */ mr r30, r10 -/* 802AC194 002A90F4 3B E0 00 00 */ li r31, 0 -/* 802AC198 002A90F8 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802AC19C 002A90FC 38 03 00 01 */ addi r0, r3, 1 -/* 802AC1A0 002A9100 7F 63 DB 78 */ mr r3, r27 -/* 802AC1A4 002A9104 90 17 00 14 */ stw r0, 0x14(r23) -/* 802AC1A8 002A9108 48 02 92 ED */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802AC1AC 002A910C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC1B0 002A9110 41 82 00 AC */ beq lbl_802AC25C -/* 802AC1B4 002A9114 38 00 00 01 */ li r0, 1 -/* 802AC1B8 002A9118 98 18 00 4C */ stb r0, 0x4c(r24) -/* 802AC1BC 002A911C 88 18 00 3C */ lbz r0, 0x3c(r24) -/* 802AC1C0 002A9120 28 00 00 00 */ cmplwi r0, 0 -/* 802AC1C4 002A9124 41 82 00 34 */ beq lbl_802AC1F8 -/* 802AC1C8 002A9128 80 98 00 48 */ lwz r4, 0x48(r24) -/* 802AC1CC 002A912C 7E E3 BB 78 */ mr r3, r23 -/* 802AC1D0 002A9130 7F 25 CB 78 */ mr r5, r25 -/* 802AC1D4 002A9134 7F 46 D3 78 */ mr r6, r26 -/* 802AC1D8 002A9138 7F 87 E3 78 */ mr r7, r28 -/* 802AC1DC 002A913C 7F A8 EB 78 */ mr r8, r29 -/* 802AC1E0 002A9140 7F C9 F3 78 */ mr r9, r30 -/* 802AC1E4 002A9144 4B FF FD E1 */ bl SphereCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC7CSphereRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -/* 802AC1E8 002A9148 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC1EC 002A914C 41 82 00 7C */ beq lbl_802AC268 -/* 802AC1F0 002A9150 3B E0 00 01 */ li r31, 1 -/* 802AC1F4 002A9154 48 00 00 74 */ b lbl_802AC268 -lbl_802AC1F8: -/* 802AC1F8 002A9158 80 98 00 40 */ lwz r4, 0x40(r24) -/* 802AC1FC 002A915C 7E E3 BB 78 */ mr r3, r23 -/* 802AC200 002A9160 7F 25 CB 78 */ mr r5, r25 -/* 802AC204 002A9164 7F 46 D3 78 */ mr r6, r26 -/* 802AC208 002A9168 7F 67 DB 78 */ mr r7, r27 -/* 802AC20C 002A916C 7F 88 E3 78 */ mr r8, r28 -/* 802AC210 002A9170 7F A9 EB 78 */ mr r9, r29 -/* 802AC214 002A9174 7F CA F3 78 */ mr r10, r30 -/* 802AC218 002A9178 4B FF FF 4D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -/* 802AC21C 002A917C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC220 002A9180 41 82 00 08 */ beq lbl_802AC228 -/* 802AC224 002A9184 3B E0 00 01 */ li r31, 1 -lbl_802AC228: -/* 802AC228 002A9188 80 98 00 44 */ lwz r4, 0x44(r24) -/* 802AC22C 002A918C 7E E3 BB 78 */ mr r3, r23 -/* 802AC230 002A9190 7F 25 CB 78 */ mr r5, r25 -/* 802AC234 002A9194 7F 46 D3 78 */ mr r6, r26 -/* 802AC238 002A9198 7F 67 DB 78 */ mr r7, r27 -/* 802AC23C 002A919C 7F 88 E3 78 */ mr r8, r28 -/* 802AC240 002A91A0 7F A9 EB 78 */ mr r9, r29 -/* 802AC244 002A91A4 7F CA F3 78 */ mr r10, r30 -/* 802AC248 002A91A8 4B FF FF 1D */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -/* 802AC24C 002A91AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC250 002A91B0 41 82 00 18 */ beq lbl_802AC268 -/* 802AC254 002A91B4 3B E0 00 01 */ li r31, 1 -/* 802AC258 002A91B8 48 00 00 10 */ b lbl_802AC268 -lbl_802AC25C: -/* 802AC25C 002A91BC 80 77 00 18 */ lwz r3, 0x18(r23) -/* 802AC260 002A91C0 38 03 00 01 */ addi r0, r3, 1 -/* 802AC264 002A91C4 90 17 00 18 */ stw r0, 0x18(r23) -lbl_802AC268: -/* 802AC268 002A91C8 7F E3 FB 78 */ mr r3, r31 -/* 802AC26C 002A91CC BA E1 00 0C */ lmw r23, 0xc(r1) -/* 802AC270 002A91D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802AC274 002A91D4 7C 08 03 A6 */ mtlr r0 -/* 802AC278 002A91D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802AC27C 002A91DC 4E 80 00 20 */ blr - -.global AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: -/* 802AC280 002A91E0 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 802AC284 002A91E4 7C 08 02 A6 */ mflr r0 -/* 802AC288 002A91E8 90 01 01 64 */ stw r0, 0x164(r1) -/* 802AC28C 002A91EC BE 41 01 28 */ stmw r18, 0x128(r1) -/* 802AC290 002A91F0 7C 72 1B 78 */ mr r18, r3 -/* 802AC294 002A91F4 7C D9 33 78 */ mr r25, r6 -/* 802AC298 002A91F8 7C 93 23 78 */ mr r19, r4 -/* 802AC29C 002A91FC 7C B4 2B 78 */ mr r20, r5 -/* 802AC2A0 002A9200 7C F5 3B 78 */ mr r21, r7 -/* 802AC2A4 002A9204 7D 16 43 78 */ mr r22, r8 -/* 802AC2A8 002A9208 7D 37 4B 78 */ mr r23, r9 -/* 802AC2AC 002A920C 7D 58 53 78 */ mr r24, r10 -/* 802AC2B0 002A9210 7F 24 CB 78 */ mr r4, r25 -/* 802AC2B4 002A9214 38 61 00 2C */ addi r3, r1, 0x2c -/* 802AC2B8 002A9218 48 08 B3 55 */ bl GetCenterPoint__6CAABoxCFv -/* 802AC2BC 002A921C C0 79 00 10 */ lfs f3, 0x10(r25) -/* 802AC2C0 002A9220 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802AC2C4 002A9224 C0 59 00 04 */ lfs f2, 4(r25) -/* 802AC2C8 002A9228 3B 61 00 AC */ addi r27, r1, 0xac -/* 802AC2CC 002A922C C0 39 00 14 */ lfs f1, 0x14(r25) -/* 802AC2D0 002A9230 3B 81 00 B8 */ addi r28, r1, 0xb8 -/* 802AC2D4 002A9234 C0 19 00 08 */ lfs f0, 8(r25) -/* 802AC2D8 002A9238 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802AC2DC 002A923C C0 82 C1 BC */ lfs f4, lbl_805ADEDC@sda21(r2) -/* 802AC2E0 002A9240 3B E3 67 54 */ addi r31, r3, lbl_805A6754@l -/* 802AC2E4 002A9244 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802AC2E8 002A9248 C0 39 00 0C */ lfs f1, 0xc(r25) -/* 802AC2EC 002A924C C0 19 00 00 */ lfs f0, 0(r25) -/* 802AC2F0 002A9250 EC C4 00 F2 */ fmuls f6, f4, f3 -/* 802AC2F4 002A9254 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 802AC2F8 002A9258 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AC2FC 002A925C EC A4 00 B2 */ fmuls f5, f4, f2 -/* 802AC300 002A9260 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802AC304 002A9264 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802AC308 002A9268 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802AC30C 002A926C D0 61 00 54 */ stfs f3, 0x54(r1) -/* 802AC310 002A9270 83 D3 00 04 */ lwz r30, 4(r19) -/* 802AC314 002A9274 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802AC318 002A9278 3B 40 00 00 */ li r26, 0 -/* 802AC31C 002A927C 3B 20 00 00 */ li r25, 0 -/* 802AC320 002A9280 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 802AC324 002A9284 3B A0 00 00 */ li r29, 0 -/* 802AC328 002A9288 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802AC32C 002A928C D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 802AC330 002A9290 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 802AC334 002A9294 48 00 01 A0 */ b lbl_802AC4D4 -lbl_802AC338: -/* 802AC338 002A9298 80 B3 00 0C */ lwz r5, 0xc(r19) -/* 802AC33C 002A929C 7E 86 A3 78 */ mr r6, r20 -/* 802AC340 002A92A0 80 92 00 10 */ lwz r4, 0x10(r18) -/* 802AC344 002A92A4 38 61 00 78 */ addi r3, r1, 0x78 -/* 802AC348 002A92A8 7C A5 EA 2E */ lhzx r5, r5, r29 -/* 802AC34C 002A92AC 4B FF C6 F5 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f -/* 802AC350 002A92B0 C1 01 00 78 */ lfs f8, 0x78(r1) -/* 802AC354 002A92B4 7E 43 93 78 */ mr r3, r18 -/* 802AC358 002A92B8 C0 E1 00 7C */ lfs f7, 0x7c(r1) -/* 802AC35C 002A92BC C0 C1 00 80 */ lfs f6, 0x80(r1) -/* 802AC360 002A92C0 C0 A1 00 84 */ lfs f5, 0x84(r1) -/* 802AC364 002A92C4 C0 81 00 88 */ lfs f4, 0x88(r1) -/* 802AC368 002A92C8 C0 61 00 8C */ lfs f3, 0x8c(r1) -/* 802AC36C 002A92CC C0 41 00 90 */ lfs f2, 0x90(r1) -/* 802AC370 002A92D0 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 802AC374 002A92D4 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802AC378 002A92D8 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802AC37C 002A92DC D1 01 00 A0 */ stfs f8, 0xa0(r1) -/* 802AC380 002A92E0 D0 E1 00 A4 */ stfs f7, 0xa4(r1) -/* 802AC384 002A92E4 D0 C1 00 A8 */ stfs f6, 0xa8(r1) -/* 802AC388 002A92E8 D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 802AC38C 002A92EC D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 802AC390 002A92F0 D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 802AC394 002A92F4 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 802AC398 002A92F8 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 802AC39C 002A92FC D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 802AC3A0 002A9300 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802AC3A4 002A9304 81 92 00 00 */ lwz r12, 0(r18) -/* 802AC3A8 002A9308 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AC3AC 002A930C 7D 89 03 A6 */ mtctr r12 -/* 802AC3B0 002A9310 4E 80 04 21 */ bctrl -/* 802AC3B4 002A9314 80 C1 00 C4 */ lwz r6, 0xc4(r1) -/* 802AC3B8 002A9318 38 81 00 08 */ addi r4, r1, 8 -/* 802AC3BC 002A931C 80 03 00 04 */ lwz r0, 4(r3) -/* 802AC3C0 002A9320 80 A3 00 00 */ lwz r5, 0(r3) -/* 802AC3C4 002A9324 7E C3 B3 78 */ mr r3, r22 -/* 802AC3C8 002A9328 7C C0 03 78 */ or r0, r6, r0 -/* 802AC3CC 002A932C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802AC3D0 002A9330 90 A1 00 08 */ stw r5, 8(r1) -/* 802AC3D4 002A9334 48 02 8F 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802AC3D8 002A9338 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC3DC 002A933C 41 82 00 F0 */ beq lbl_802AC4CC -/* 802AC3E0 002A9340 7F 66 DB 78 */ mr r6, r27 -/* 802AC3E4 002A9344 7F 87 E3 78 */ mr r7, r28 -/* 802AC3E8 002A9348 38 61 00 54 */ addi r3, r1, 0x54 -/* 802AC3EC 002A934C 38 81 00 48 */ addi r4, r1, 0x48 -/* 802AC3F0 002A9350 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 802AC3F4 002A9354 48 02 50 ED */ bl TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802AC3F8 002A9358 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC3FC 002A935C 41 82 00 D0 */ beq lbl_802AC4CC -/* 802AC400 002A9360 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802AC404 002A9364 80 92 00 1C */ lwz r4, 0x1c(r18) -/* 802AC408 002A9368 C0 A3 67 54 */ lfs f5, lbl_805A6754@l(r3) -/* 802AC40C 002A936C 7E E3 BB 78 */ mr r3, r23 -/* 802AC410 002A9370 38 04 00 01 */ addi r0, r4, 1 -/* 802AC414 002A9374 C0 9F 00 04 */ lfs f4, 4(r31) -/* 802AC418 002A9378 C0 7F 00 08 */ lfs f3, 8(r31) -/* 802AC41C 002A937C 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802AC420 002A9380 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 802AC424 002A9384 38 A1 00 60 */ addi r5, r1, 0x60 -/* 802AC428 002A9388 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802AC42C 002A938C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 802AC430 002A9390 90 12 00 1C */ stw r0, 0x1c(r18) -/* 802AC434 002A9394 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802AC438 002A9398 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 802AC43C 002A939C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802AC440 002A93A0 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802AC444 002A93A4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802AC448 002A93A8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802AC44C 002A93AC 4B FF AC 8D */ bl ConvexPolyCollision__20CMetroidAreaColliderFPC6CPlanePC9CVector3fR6CAABox -/* 802AC450 002A93B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC454 002A93B4 41 82 00 78 */ beq lbl_802AC4CC -/* 802AC458 002A93B8 38 61 00 1C */ addi r3, r1, 0x1c -/* 802AC45C 002A93BC 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802AC460 002A93C0 4B FF 61 D5 */ bl GetPlane__17CCollisionSurfaceCFv -/* 802AC464 002A93C4 C0 C1 00 1C */ lfs f6, 0x1c(r1) -/* 802AC468 002A93C8 7E A6 AB 78 */ mr r6, r21 -/* 802AC46C 002A93CC C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802AC470 002A93D0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802AC474 002A93D4 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802AC478 002A93D8 FC 40 30 50 */ fneg f2, f6 -/* 802AC47C 002A93DC FC 20 28 50 */ fneg f1, f5 -/* 802AC480 002A93E0 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802AC484 002A93E4 FC 00 20 50 */ fneg f0, f4 -/* 802AC488 002A93E8 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 802AC48C 002A93EC 38 81 00 60 */ addi r4, r1, 0x60 -/* 802AC490 002A93F0 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 802AC494 002A93F4 38 A1 00 08 */ addi r5, r1, 8 -/* 802AC498 002A93F8 38 E1 00 38 */ addi r7, r1, 0x38 -/* 802AC49C 002A93FC D0 81 00 40 */ stfs f4, 0x40(r1) -/* 802AC4A0 002A9400 39 01 00 10 */ addi r8, r1, 0x10 -/* 802AC4A4 002A9404 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 802AC4A8 002A9408 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802AC4AC 002A940C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802AC4B0 002A9410 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802AC4B4 002A9414 48 02 1E 05 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802AC4B8 002A9418 7C 64 1B 78 */ mr r4, r3 -/* 802AC4BC 002A941C 7F 03 C3 78 */ mr r3, r24 -/* 802AC4C0 002A9420 38 A0 00 00 */ li r5, 0 -/* 802AC4C4 002A9424 4B ED 91 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802AC4C8 002A9428 3B 40 00 01 */ li r26, 1 -lbl_802AC4CC: -/* 802AC4CC 002A942C 3B BD 00 02 */ addi r29, r29, 2 -/* 802AC4D0 002A9430 3B 39 00 01 */ addi r25, r25, 1 -lbl_802AC4D4: -/* 802AC4D4 002A9434 7C 19 F0 00 */ cmpw r25, r30 -/* 802AC4D8 002A9438 41 80 FE 60 */ blt lbl_802AC338 -/* 802AC4DC 002A943C 7F 43 D3 78 */ mr r3, r26 -/* 802AC4E0 002A9440 BA 41 01 28 */ lmw r18, 0x128(r1) -/* 802AC4E4 002A9444 80 01 01 64 */ lwz r0, 0x164(r1) -/* 802AC4E8 002A9448 7C 08 03 A6 */ mtlr r0 -/* 802AC4EC 002A944C 38 21 01 60 */ addi r1, r1, 0x160 -/* 802AC4F0 002A9450 4E 80 00 20 */ blr - -.global AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList: -/* 802AC4F4 002A9454 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802AC4F8 002A9458 7C 08 02 A6 */ mflr r0 -/* 802AC4FC 002A945C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802AC500 002A9460 BE C1 00 18 */ stmw r22, 0x18(r1) -/* 802AC504 002A9464 7C 7F 1B 78 */ mr r31, r3 -/* 802AC508 002A9468 7C F9 3B 78 */ mr r25, r7 -/* 802AC50C 002A946C 83 A1 00 48 */ lwz r29, 0x48(r1) -/* 802AC510 002A9470 7C 96 23 78 */ mr r22, r4 -/* 802AC514 002A9474 7C B7 2B 78 */ mr r23, r5 -/* 802AC518 002A9478 7C D8 33 78 */ mr r24, r6 -/* 802AC51C 002A947C 7D 1A 43 78 */ mr r26, r8 -/* 802AC520 002A9480 7D 3B 4B 78 */ mr r27, r9 -/* 802AC524 002A9484 7D 5C 53 78 */ mr r28, r10 -/* 802AC528 002A9488 3B C0 00 00 */ li r30, 0 -/* 802AC52C 002A948C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802AC530 002A9490 38 03 00 01 */ addi r0, r3, 1 -/* 802AC534 002A9494 7F 23 CB 78 */ mr r3, r25 -/* 802AC538 002A9498 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802AC53C 002A949C 48 02 8F 59 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802AC540 002A94A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC544 002A94A4 41 82 00 B8 */ beq lbl_802AC5FC -/* 802AC548 002A94A8 38 00 00 01 */ li r0, 1 -/* 802AC54C 002A94AC 98 16 00 4C */ stb r0, 0x4c(r22) -/* 802AC550 002A94B0 88 16 00 3C */ lbz r0, 0x3c(r22) -/* 802AC554 002A94B4 28 00 00 00 */ cmplwi r0, 0 -/* 802AC558 002A94B8 41 82 00 38 */ beq lbl_802AC590 -/* 802AC55C 002A94BC 80 96 00 48 */ lwz r4, 0x48(r22) -/* 802AC560 002A94C0 7F E3 FB 78 */ mr r3, r31 -/* 802AC564 002A94C4 7E E5 BB 78 */ mr r5, r23 -/* 802AC568 002A94C8 7F 06 C3 78 */ mr r6, r24 -/* 802AC56C 002A94CC 7F 47 D3 78 */ mr r7, r26 -/* 802AC570 002A94D0 7F 68 DB 78 */ mr r8, r27 -/* 802AC574 002A94D4 7F 89 E3 78 */ mr r9, r28 -/* 802AC578 002A94D8 7F AA EB 78 */ mr r10, r29 -/* 802AC57C 002A94DC 4B FF FD 05 */ bl AABoxCollideWithLeaf__18CCollidableOBBTreeCFRCQ28COBBTree9CLeafDataRC12CTransform4fRC6CAABoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -/* 802AC580 002A94E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC584 002A94E4 41 82 00 84 */ beq lbl_802AC608 -/* 802AC588 002A94E8 3B C0 00 01 */ li r30, 1 -/* 802AC58C 002A94EC 48 00 00 7C */ b lbl_802AC608 -lbl_802AC590: -/* 802AC590 002A94F0 93 A1 00 08 */ stw r29, 8(r1) -/* 802AC594 002A94F4 7F E3 FB 78 */ mr r3, r31 -/* 802AC598 002A94F8 7E E5 BB 78 */ mr r5, r23 -/* 802AC59C 002A94FC 7F 06 C3 78 */ mr r6, r24 -/* 802AC5A0 002A9500 80 96 00 40 */ lwz r4, 0x40(r22) -/* 802AC5A4 002A9504 7F 27 CB 78 */ mr r7, r25 -/* 802AC5A8 002A9508 7F 48 D3 78 */ mr r8, r26 -/* 802AC5AC 002A950C 7F 69 DB 78 */ mr r9, r27 -/* 802AC5B0 002A9510 7F 8A E3 78 */ mr r10, r28 -/* 802AC5B4 002A9514 4B FF FF 41 */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -/* 802AC5B8 002A9518 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC5BC 002A951C 41 82 00 08 */ beq lbl_802AC5C4 -/* 802AC5C0 002A9520 3B C0 00 01 */ li r30, 1 -lbl_802AC5C4: -/* 802AC5C4 002A9524 93 A1 00 08 */ stw r29, 8(r1) -/* 802AC5C8 002A9528 7F E3 FB 78 */ mr r3, r31 -/* 802AC5CC 002A952C 7E E5 BB 78 */ mr r5, r23 -/* 802AC5D0 002A9530 7F 06 C3 78 */ mr r6, r24 -/* 802AC5D4 002A9534 80 96 00 44 */ lwz r4, 0x44(r22) -/* 802AC5D8 002A9538 7F 27 CB 78 */ mr r7, r25 -/* 802AC5DC 002A953C 7F 48 D3 78 */ mr r8, r26 -/* 802AC5E0 002A9540 7F 69 DB 78 */ mr r9, r27 -/* 802AC5E4 002A9544 7F 8A E3 78 */ mr r10, r28 -/* 802AC5E8 002A9548 4B FF FF 0D */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -/* 802AC5EC 002A954C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC5F0 002A9550 41 82 00 18 */ beq lbl_802AC608 -/* 802AC5F4 002A9554 3B C0 00 01 */ li r30, 1 -/* 802AC5F8 002A9558 48 00 00 10 */ b lbl_802AC608 -lbl_802AC5FC: -/* 802AC5FC 002A955C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 802AC600 002A9560 38 03 00 01 */ addi r0, r3, 1 -/* 802AC604 002A9564 90 1F 00 18 */ stw r0, 0x18(r31) -lbl_802AC608: -/* 802AC608 002A9568 7F C3 F3 78 */ mr r3, r30 -/* 802AC60C 002A956C BA C1 00 18 */ lmw r22, 0x18(r1) -/* 802AC610 002A9570 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802AC614 002A9574 7C 08 03 A6 */ mtlr r0 -/* 802AC618 002A9578 38 21 00 40 */ addi r1, r1, 0x40 -/* 802AC61C 002A957C 4E 80 00 20 */ blr - -.global GetPrimType__18CCollidableOBBTreeCFv -GetPrimType__18CCollidableOBBTreeCFv: -/* 802AC620 002A9580 3C 60 4F 42 */ lis r3, 0x4F424254@ha -/* 802AC624 002A9584 38 63 42 54 */ addi r3, r3, 0x4F424254@l -/* 802AC628 002A9588 4E 80 00 20 */ blr - -.global CalculateLocalAABox__18CCollidableOBBTreeCFv -CalculateLocalAABox__18CCollidableOBBTreeCFv: -/* 802AC62C 002A958C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AC630 002A9590 7C 08 02 A6 */ mflr r0 -/* 802AC634 002A9594 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AC638 002A9598 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AC63C 002A959C 7C 7F 1B 78 */ mr r31, r3 -/* 802AC640 002A95A0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802AC644 002A95A4 4B FF C6 6D */ bl CalculateLocalAABox__8COBBTreeCFv -/* 802AC648 002A95A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AC64C 002A95AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AC650 002A95B0 7C 08 03 A6 */ mtlr r0 -/* 802AC654 002A95B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AC658 002A95B8 4E 80 00 20 */ blr - -.global CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f -CalculateAABox__18CCollidableOBBTreeCFRC12CTransform4f: -/* 802AC65C 002A95BC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802AC660 002A95C0 7C 08 02 A6 */ mflr r0 -/* 802AC664 002A95C4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802AC668 002A95C8 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 802AC66C 002A95CC 7C BF 2B 78 */ mr r31, r5 -/* 802AC670 002A95D0 93 C1 00 98 */ stw r30, 0x98(r1) -/* 802AC674 002A95D4 7C 7E 1B 78 */ mr r30, r3 -/* 802AC678 002A95D8 38 61 00 08 */ addi r3, r1, 8 -/* 802AC67C 002A95DC 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802AC680 002A95E0 4B FF C6 31 */ bl CalculateLocalAABox__8COBBTreeCFv -/* 802AC684 002A95E4 7F E5 FB 78 */ mr r5, r31 -/* 802AC688 002A95E8 38 61 00 20 */ addi r3, r1, 0x20 -/* 802AC68C 002A95EC 38 81 00 08 */ addi r4, r1, 8 -/* 802AC690 002A95F0 48 02 96 8D */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802AC694 002A95F4 38 61 00 5C */ addi r3, r1, 0x5c -/* 802AC698 002A95F8 38 81 00 20 */ addi r4, r1, 0x20 -/* 802AC69C 002A95FC 48 06 64 D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AC6A0 002A9600 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 802AC6A4 002A9604 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802AC6A8 002A9608 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802AC6AC 002A960C 38 A3 66 70 */ addi r5, r3, skIdentity4f@l -/* 802AC6B0 002A9610 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802AC6B4 002A9614 7F C3 F3 78 */ mr r3, r30 -/* 802AC6B8 002A9618 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802AC6BC 002A961C 38 81 00 5C */ addi r4, r1, 0x5c -/* 802AC6C0 002A9620 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 802AC6C4 002A9624 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 802AC6C8 002A9628 48 02 97 11 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f -/* 802AC6CC 002A962C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802AC6D0 002A9630 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 802AC6D4 002A9634 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 802AC6D8 002A9638 7C 08 03 A6 */ mtlr r0 -/* 802AC6DC 002A963C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802AC6E0 002A9640 4E 80 00 20 */ blr - -.global __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -__ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList: -/* 802AC6E4 002A9644 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AC6E8 002A9648 7C 08 02 A6 */ mflr r0 -/* 802AC6EC 002A964C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AC6F0 002A9650 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AC6F4 002A9654 7C 9F 23 78 */ mr r31, r4 -/* 802AC6F8 002A9658 7C A4 2B 78 */ mr r4, r5 -/* 802AC6FC 002A965C 93 C1 00 08 */ stw r30, 8(r1) -/* 802AC700 002A9660 7C 7E 1B 78 */ mr r30, r3 -/* 802AC704 002A9664 48 02 31 B1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 802AC708 002A9668 3C 60 80 3F */ lis r3, lbl_803EC448@ha -/* 802AC70C 002A966C 38 00 00 00 */ li r0, 0 -/* 802AC710 002A9670 38 83 C4 48 */ addi r4, r3, lbl_803EC448@l -/* 802AC714 002A9674 7F C3 F3 78 */ mr r3, r30 -/* 802AC718 002A9678 90 9E 00 00 */ stw r4, 0(r30) -/* 802AC71C 002A967C 93 FE 00 10 */ stw r31, 0x10(r30) -/* 802AC720 002A9680 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802AC724 002A9684 90 1E 00 18 */ stw r0, 0x18(r30) -/* 802AC728 002A9688 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802AC72C 002A968C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AC730 002A9690 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AC734 002A9694 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AC738 002A9698 7C 08 03 A6 */ mtlr r0 -/* 802AC73C 002A969C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AC740 002A96A0 4E 80 00 20 */ blr - -.global GetTableIndex__23CCollidableOBBTreeGroupCFv -GetTableIndex__23CCollidableOBBTreeGroupCFv: -/* 802AC744 002A96A4 80 6D 9A 78 */ lwz r3, lbl_805A8638@sda21(r13) -/* 802AC748 002A96A8 4E 80 00 20 */ blr - -.global GetPrimType__23CCollidableOBBTreeGroupCFv -GetPrimType__23CCollidableOBBTreeGroupCFv: -/* 802AC74C 002A96AC 3C 60 4F 42 */ lis r3, 0x4F425447@ha -/* 802AC750 002A96B0 38 63 54 47 */ addi r3, r3, 0x4F425447@l -/* 802AC754 002A96B4 4E 80 00 20 */ blr - -.global CalculateLocalAABox__23CCollidableOBBTreeGroupCFv -CalculateLocalAABox__23CCollidableOBBTreeGroupCFv: -/* 802AC758 002A96B8 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802AC75C 002A96BC C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802AC760 002A96C0 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AC764 002A96C4 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802AC768 002A96C8 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AC76C 002A96CC C0 04 00 28 */ lfs f0, 0x28(r4) -/* 802AC770 002A96D0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AC774 002A96D4 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802AC778 002A96D8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AC77C 002A96DC C0 04 00 30 */ lfs f0, 0x30(r4) -/* 802AC780 002A96E0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AC784 002A96E4 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 802AC788 002A96E8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802AC78C 002A96EC 4E 80 00 20 */ blr - -.global CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f -CalculateAABox__23CCollidableOBBTreeGroupCFRC12CTransform4f: -/* 802AC790 002A96F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AC794 002A96F4 7C 08 02 A6 */ mflr r0 -/* 802AC798 002A96F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AC79C 002A96FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AC7A0 002A9700 7C 7F 1B 78 */ mr r31, r3 -/* 802AC7A4 002A9704 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802AC7A8 002A9708 38 84 00 20 */ addi r4, r4, 0x20 -/* 802AC7AC 002A970C 48 08 B1 51 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802AC7B0 002A9710 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AC7B4 002A9714 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AC7B8 002A9718 7C 08 03 A6 */ mtlr r0 -/* 802AC7BC 002A971C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AC7C0 002A9720 4E 80 00 20 */ blr - -.global CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingSphere__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802AC7C4 002A9724 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 802AC7C8 002A9728 7C 08 02 A6 */ mflr r0 -/* 802AC7CC 002A972C 90 01 02 34 */ stw r0, 0x234(r1) -/* 802AC7D0 002A9730 DB E1 02 20 */ stfd f31, 0x220(r1) -/* 802AC7D4 002A9734 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 802AC7D8 002A9738 DB C1 02 10 */ stfd f30, 0x210(r1) -/* 802AC7DC 002A973C F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 802AC7E0 002A9740 DB A1 02 00 */ stfd f29, 0x200(r1) -/* 802AC7E4 002A9744 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 -/* 802AC7E8 002A9748 BE C1 01 D8 */ stmw r22, 0x1d8(r1) -/* 802AC7EC 002A974C 7C 7C 1B 78 */ mr r28, r3 -/* 802AC7F0 002A9750 7C 9D 23 78 */ mr r29, r4 -/* 802AC7F4 002A9754 83 03 00 38 */ lwz r24, 0x38(r3) -/* 802AC7F8 002A9758 7C BE 2B 78 */ mr r30, r5 -/* 802AC7FC 002A975C 80 83 00 00 */ lwz r4, 0(r3) -/* 802AC800 002A9760 7C DF 33 78 */ mr r31, r6 -/* 802AC804 002A9764 38 61 00 28 */ addi r3, r1, 0x28 -/* 802AC808 002A9768 38 BC 00 08 */ addi r5, r28, 8 -/* 802AC80C 002A976C 48 02 7B 49 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802AC810 002A9770 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802AC814 002A9774 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 802AC818 002A9778 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802AC81C 002A977C 38 9C 00 40 */ addi r4, r28, 0x40 -/* 802AC820 002A9780 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802AC824 002A9784 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802AC828 002A9788 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802AC82C 002A978C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802AC830 002A9790 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802AC834 002A9794 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802AC838 002A9798 48 06 63 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AC83C 002A979C 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802AC840 002A97A0 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 802AC844 002A97A4 48 06 64 59 */ bl GetQuickInverse__12CTransform4fCFv -/* 802AC848 002A97A8 38 61 01 04 */ addi r3, r1, 0x104 -/* 802AC84C 002A97AC 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 802AC850 002A97B0 38 BC 00 08 */ addi r5, r28, 8 -/* 802AC854 002A97B4 48 06 60 FD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AC858 002A97B8 38 61 01 70 */ addi r3, r1, 0x170 -/* 802AC85C 002A97BC 38 81 01 04 */ addi r4, r1, 0x104 -/* 802AC860 002A97C0 48 06 63 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AC864 002A97C4 80 9C 00 00 */ lwz r4, 0(r28) -/* 802AC868 002A97C8 38 61 00 48 */ addi r3, r1, 0x48 -/* 802AC86C 002A97CC 81 84 00 00 */ lwz r12, 0(r4) -/* 802AC870 002A97D0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AC874 002A97D4 7D 89 03 A6 */ mtctr r12 -/* 802AC878 002A97D8 4E 80 04 21 */ bctrl -/* 802AC87C 002A97DC C0 41 00 48 */ lfs f2, 0x48(r1) -/* 802AC880 002A97E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 802AC884 002A97E4 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 802AC888 002A97E8 38 81 00 1C */ addi r4, r1, 0x1c -/* 802AC88C 002A97EC C0 01 00 50 */ lfs f0, 0x50(r1) -/* 802AC890 002A97F0 C0 A1 00 54 */ lfs f5, 0x54(r1) -/* 802AC894 002A97F4 C0 81 00 58 */ lfs f4, 0x58(r1) -/* 802AC898 002A97F8 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 802AC89C 002A97FC D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802AC8A0 002A9800 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802AC8A4 002A9804 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802AC8A8 002A9808 C0 3D 00 04 */ lfs f1, 4(r29) -/* 802AC8AC 002A980C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802AC8B0 002A9810 C0 1D 00 08 */ lfs f0, 8(r29) -/* 802AC8B4 002A9814 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 802AC8B8 002A9818 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 802AC8BC 002A981C D0 61 00 94 */ stfs f3, 0x94(r1) -/* 802AC8C0 002A9820 C8 DE 00 00 */ lfd f6, 0(r30) -/* 802AC8C4 002A9824 FC C0 30 18 */ frsp f6, f6 -/* 802AC8C8 002A9828 EF A6 00 B2 */ fmuls f29, f6, f2 -/* 802AC8CC 002A982C EF C6 00 72 */ fmuls f30, f6, f1 -/* 802AC8D0 002A9830 EF E6 00 32 */ fmuls f31, f6, f0 -/* 802AC8D4 002A9834 EC 05 E8 2A */ fadds f0, f5, f29 -/* 802AC8D8 002A9838 EC 44 F0 2A */ fadds f2, f4, f30 -/* 802AC8DC 002A983C EC 23 F8 2A */ fadds f1, f3, f31 -/* 802AC8E0 002A9840 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802AC8E4 002A9844 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802AC8E8 002A9848 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802AC8EC 002A984C 48 08 B2 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AC8F0 002A9850 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 802AC8F4 002A9854 38 61 00 80 */ addi r3, r1, 0x80 -/* 802AC8F8 002A9858 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 802AC8FC 002A985C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802AC900 002A9860 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802AC904 002A9864 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802AC908 002A9868 EC 21 F8 2A */ fadds f1, f1, f31 -/* 802AC90C 002A986C EC 00 E8 2A */ fadds f0, f0, f29 -/* 802AC910 002A9870 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802AC914 002A9874 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802AC918 002A9878 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802AC91C 002A987C 48 08 B1 ED */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AC920 002A9880 38 61 00 98 */ addi r3, r1, 0x98 -/* 802AC924 002A9884 38 81 00 80 */ addi r4, r1, 0x80 -/* 802AC928 002A9888 38 A1 01 70 */ addi r5, r1, 0x170 -/* 802AC92C 002A988C 48 02 93 F1 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802AC930 002A9890 38 61 01 34 */ addi r3, r1, 0x134 -/* 802AC934 002A9894 38 81 00 98 */ addi r4, r1, 0x98 -/* 802AC938 002A9898 48 06 62 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AC93C 002A989C C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 802AC940 002A98A0 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802AC944 002A98A4 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 802AC948 002A98A8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802AC94C 002A98AC C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 802AC950 002A98B0 3B 44 C4 48 */ addi r26, r4, lbl_803EC448@l -/* 802AC954 002A98B4 D0 41 01 64 */ stfs f2, 0x164(r1) -/* 802AC958 002A98B8 3B 63 97 E4 */ addi r27, r3, lbl_803D97E4@l -/* 802AC95C 002A98BC 3A E0 00 00 */ li r23, 0 -/* 802AC960 002A98C0 3A C0 00 00 */ li r22, 0 -/* 802AC964 002A98C4 D0 21 01 68 */ stfs f1, 0x168(r1) -/* 802AC968 002A98C8 D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 802AC96C 002A98CC 48 00 00 9C */ b lbl_802ACA08 -lbl_802AC970: -/* 802AC970 002A98D0 7F 03 C3 78 */ mr r3, r24 -/* 802AC974 002A98D4 81 98 00 00 */ lwz r12, 0(r24) -/* 802AC978 002A98D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AC97C 002A98DC 7D 89 03 A6 */ mtctr r12 -/* 802AC980 002A98E0 4E 80 04 21 */ bctrl -/* 802AC984 002A98E4 7C 79 1B 78 */ mr r25, r3 -/* 802AC988 002A98E8 7F 03 C3 78 */ mr r3, r24 -/* 802AC98C 002A98EC 7E C4 B3 78 */ mr r4, r22 -/* 802AC990 002A98F0 48 00 0F BD */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802AC994 002A98F4 7C 64 1B 78 */ mr r4, r3 -/* 802AC998 002A98F8 7F 25 CB 78 */ mr r5, r25 -/* 802AC99C 002A98FC 38 61 00 60 */ addi r3, r1, 0x60 -/* 802AC9A0 002A9900 4B FF FD 45 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802AC9A4 002A9904 4B FF A6 9D */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802AC9A8 002A9908 80 7C 00 00 */ lwz r3, 0(r28) -/* 802AC9AC 002A990C 80 81 00 70 */ lwz r4, 0x70(r1) -/* 802AC9B0 002A9910 81 83 00 00 */ lwz r12, 0(r3) -/* 802AC9B4 002A9914 83 24 00 88 */ lwz r25, 0x88(r4) -/* 802AC9B8 002A9918 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AC9BC 002A991C 7D 89 03 A6 */ mtctr r12 -/* 802AC9C0 002A9920 4E 80 04 21 */ bctrl -/* 802AC9C4 002A9924 93 C1 00 08 */ stw r30, 8(r1) -/* 802AC9C8 002A9928 7C 68 1B 78 */ mr r8, r3 -/* 802AC9CC 002A992C 7F 24 CB 78 */ mr r4, r25 -/* 802AC9D0 002A9930 7F AA EB 78 */ mr r10, r29 -/* 802AC9D4 002A9934 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AC9D8 002A9938 38 61 00 60 */ addi r3, r1, 0x60 -/* 802AC9DC 002A993C 38 A1 01 A0 */ addi r5, r1, 0x1a0 -/* 802AC9E0 002A9940 38 C1 00 38 */ addi r6, r1, 0x38 -/* 802AC9E4 002A9944 81 3C 00 04 */ lwz r9, 4(r28) -/* 802AC9E8 002A9948 38 E1 01 34 */ addi r7, r1, 0x134 -/* 802AC9EC 002A994C 4B FF E7 59 */ bl SphereCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterRC9CVector3fRdR14CCollisionInfo -/* 802AC9F0 002A9950 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AC9F4 002A9954 41 82 00 08 */ beq lbl_802AC9FC -/* 802AC9F8 002A9958 3A E0 00 01 */ li r23, 1 -lbl_802AC9FC: -/* 802AC9FC 002A995C 93 41 00 60 */ stw r26, 0x60(r1) -/* 802ACA00 002A9960 3A D6 00 01 */ addi r22, r22, 1 -/* 802ACA04 002A9964 93 61 00 60 */ stw r27, 0x60(r1) -lbl_802ACA08: -/* 802ACA08 002A9968 80 78 00 10 */ lwz r3, 0x10(r24) -/* 802ACA0C 002A996C 80 03 00 04 */ lwz r0, 4(r3) -/* 802ACA10 002A9970 7C 16 00 00 */ cmpw r22, r0 -/* 802ACA14 002A9974 41 80 FF 5C */ blt lbl_802AC970 -/* 802ACA18 002A9978 7E E3 BB 78 */ mr r3, r23 -/* 802ACA1C 002A997C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 802ACA20 002A9980 CB E1 02 20 */ lfd f31, 0x220(r1) -/* 802ACA24 002A9984 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 802ACA28 002A9988 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 802ACA2C 002A998C E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 -/* 802ACA30 002A9990 CB A1 02 00 */ lfd f29, 0x200(r1) -/* 802ACA34 002A9994 BA C1 01 D8 */ lmw r22, 0x1d8(r1) -/* 802ACA38 002A9998 80 01 02 34 */ lwz r0, 0x234(r1) -/* 802ACA3C 002A999C 7C 08 03 A6 */ mtlr r0 -/* 802ACA40 002A99A0 38 21 02 30 */ addi r1, r1, 0x230 -/* 802ACA44 002A99A4 4E 80 00 20 */ blr - -.global CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingAABox__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802ACA48 002A99A8 94 21 F6 C0 */ stwu r1, -0x940(r1) -/* 802ACA4C 002A99AC 7C 08 02 A6 */ mflr r0 -/* 802ACA50 002A99B0 90 01 09 44 */ stw r0, 0x944(r1) -/* 802ACA54 002A99B4 DB E1 09 30 */ stfd f31, 0x930(r1) -/* 802ACA58 002A99B8 F3 E1 09 38 */ psq_st f31, -1736(r1), 0, qr0 -/* 802ACA5C 002A99BC DB C1 09 20 */ stfd f30, 0x920(r1) -/* 802ACA60 002A99C0 F3 C1 09 28 */ psq_st f30, -1752(r1), 0, qr0 -/* 802ACA64 002A99C4 DB A1 09 10 */ stfd f29, 0x910(r1) -/* 802ACA68 002A99C8 F3 A1 09 18 */ psq_st f29, -1768(r1), 0, qr0 -/* 802ACA6C 002A99CC BE C1 08 E8 */ stmw r22, 0x8e8(r1) -/* 802ACA70 002A99D0 7C 7A 1B 78 */ mr r26, r3 -/* 802ACA74 002A99D4 7C 9B 23 78 */ mr r27, r4 -/* 802ACA78 002A99D8 80 83 00 00 */ lwz r4, 0(r3) -/* 802ACA7C 002A99DC 7C BC 2B 78 */ mr r28, r5 -/* 802ACA80 002A99E0 7C DD 33 78 */ mr r29, r6 -/* 802ACA84 002A99E4 38 61 00 48 */ addi r3, r1, 0x48 -/* 802ACA88 002A99E8 81 84 00 00 */ lwz r12, 0(r4) -/* 802ACA8C 002A99EC 38 BA 00 08 */ addi r5, r26, 8 -/* 802ACA90 002A99F0 83 FA 00 38 */ lwz r31, 0x38(r26) -/* 802ACA94 002A99F4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802ACA98 002A99F8 7D 89 03 A6 */ mtctr r12 -/* 802ACA9C 002A99FC 4E 80 04 21 */ bctrl -/* 802ACAA0 002A9A00 C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 802ACAA4 002A9A04 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 802ACAA8 002A9A08 C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 802ACAAC 002A9A0C 38 9A 00 40 */ addi r4, r26, 0x40 -/* 802ACAB0 002A9A10 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 802ACAB4 002A9A14 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 802ACAB8 002A9A18 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802ACABC 002A9A1C C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802ACAC0 002A9A20 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 802ACAC4 002A9A24 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 802ACAC8 002A9A28 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 802ACACC 002A9A2C D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 802ACAD0 002A9A30 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 802ACAD4 002A9A34 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 802ACAD8 002A9A38 48 06 60 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACADC 002A9A3C 38 61 00 EC */ addi r3, r1, 0xec -/* 802ACAE0 002A9A40 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 802ACAE4 002A9A44 48 06 61 B9 */ bl GetQuickInverse__12CTransform4fCFv -/* 802ACAE8 002A9A48 38 61 01 1C */ addi r3, r1, 0x11c -/* 802ACAEC 002A9A4C 38 81 00 EC */ addi r4, r1, 0xec -/* 802ACAF0 002A9A50 38 BA 00 08 */ addi r5, r26, 8 -/* 802ACAF4 002A9A54 48 06 5E 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802ACAF8 002A9A58 38 61 01 88 */ addi r3, r1, 0x188 -/* 802ACAFC 002A9A5C 38 81 01 1C */ addi r4, r1, 0x11c -/* 802ACB00 002A9A60 48 06 60 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACB04 002A9A64 7F 65 DB 78 */ mr r5, r27 -/* 802ACB08 002A9A68 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 802ACB0C 002A9A6C 38 81 00 98 */ addi r4, r1, 0x98 -/* 802ACB10 002A9A70 4B FF 65 8D */ bl __ct__Q220CMetroidAreaCollider22CMovingAABoxComponentsFRC6CAABoxRC9CVector3f -/* 802ACB14 002A9A74 80 9A 00 00 */ lwz r4, 0(r26) -/* 802ACB18 002A9A78 38 61 00 30 */ addi r3, r1, 0x30 -/* 802ACB1C 002A9A7C 81 84 00 00 */ lwz r12, 0(r4) -/* 802ACB20 002A9A80 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802ACB24 002A9A84 7D 89 03 A6 */ mtctr r12 -/* 802ACB28 002A9A88 4E 80 04 21 */ bctrl -/* 802ACB2C 002A9A8C C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802ACB30 002A9A90 38 61 00 80 */ addi r3, r1, 0x80 -/* 802ACB34 002A9A94 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802ACB38 002A9A98 38 81 00 24 */ addi r4, r1, 0x24 -/* 802ACB3C 002A9A9C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802ACB40 002A9AA0 C0 A1 00 3C */ lfs f5, 0x3c(r1) -/* 802ACB44 002A9AA4 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 802ACB48 002A9AA8 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 802ACB4C 002A9AAC D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802ACB50 002A9AB0 C0 5B 00 00 */ lfs f2, 0(r27) -/* 802ACB54 002A9AB4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802ACB58 002A9AB8 C0 3B 00 04 */ lfs f1, 4(r27) -/* 802ACB5C 002A9ABC D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802ACB60 002A9AC0 C0 1B 00 08 */ lfs f0, 8(r27) -/* 802ACB64 002A9AC4 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 802ACB68 002A9AC8 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 802ACB6C 002A9ACC D0 61 00 94 */ stfs f3, 0x94(r1) -/* 802ACB70 002A9AD0 C8 DC 00 00 */ lfd f6, 0(r28) -/* 802ACB74 002A9AD4 FC C0 30 18 */ frsp f6, f6 -/* 802ACB78 002A9AD8 EF A6 00 B2 */ fmuls f29, f6, f2 -/* 802ACB7C 002A9ADC EF C6 00 72 */ fmuls f30, f6, f1 -/* 802ACB80 002A9AE0 EF E6 00 32 */ fmuls f31, f6, f0 -/* 802ACB84 002A9AE4 EC 05 E8 2A */ fadds f0, f5, f29 -/* 802ACB88 002A9AE8 EC 44 F0 2A */ fadds f2, f4, f30 -/* 802ACB8C 002A9AEC EC 23 F8 2A */ fadds f1, f3, f31 -/* 802ACB90 002A9AF0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802ACB94 002A9AF4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802ACB98 002A9AF8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802ACB9C 002A9AFC 48 08 AF 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ACBA0 002A9B00 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 802ACBA4 002A9B04 38 61 00 80 */ addi r3, r1, 0x80 -/* 802ACBA8 002A9B08 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 802ACBAC 002A9B0C 38 81 00 18 */ addi r4, r1, 0x18 -/* 802ACBB0 002A9B10 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802ACBB4 002A9B14 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802ACBB8 002A9B18 EC 21 F8 2A */ fadds f1, f1, f31 -/* 802ACBBC 002A9B1C EC 00 E8 2A */ fadds f0, f0, f29 -/* 802ACBC0 002A9B20 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802ACBC4 002A9B24 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802ACBC8 002A9B28 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802ACBCC 002A9B2C 48 08 AF 3D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ACBD0 002A9B30 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802ACBD4 002A9B34 38 81 00 80 */ addi r4, r1, 0x80 -/* 802ACBD8 002A9B38 38 A1 01 88 */ addi r5, r1, 0x188 -/* 802ACBDC 002A9B3C 48 02 91 41 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802ACBE0 002A9B40 38 61 01 4C */ addi r3, r1, 0x14c -/* 802ACBE4 002A9B44 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802ACBE8 002A9B48 48 06 5F 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACBEC 002A9B4C C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 802ACBF0 002A9B50 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802ACBF4 002A9B54 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 802ACBF8 002A9B58 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802ACBFC 002A9B5C C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 802ACC00 002A9B60 3B 04 C4 48 */ addi r24, r4, lbl_803EC448@l -/* 802ACC04 002A9B64 D0 41 01 7C */ stfs f2, 0x17c(r1) -/* 802ACC08 002A9B68 3B 23 97 E4 */ addi r25, r3, lbl_803D97E4@l -/* 802ACC0C 002A9B6C 3B C0 00 00 */ li r30, 0 -/* 802ACC10 002A9B70 3A C0 00 00 */ li r22, 0 -/* 802ACC14 002A9B74 D0 21 01 80 */ stfs f1, 0x180(r1) -/* 802ACC18 002A9B78 D0 01 01 84 */ stfs f0, 0x184(r1) -/* 802ACC1C 002A9B7C 48 00 00 A0 */ b lbl_802ACCBC -lbl_802ACC20: -/* 802ACC20 002A9B80 7F E3 FB 78 */ mr r3, r31 -/* 802ACC24 002A9B84 81 9F 00 00 */ lwz r12, 0(r31) -/* 802ACC28 002A9B88 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802ACC2C 002A9B8C 7D 89 03 A6 */ mtctr r12 -/* 802ACC30 002A9B90 4E 80 04 21 */ bctrl -/* 802ACC34 002A9B94 7C 77 1B 78 */ mr r23, r3 -/* 802ACC38 002A9B98 7F E3 FB 78 */ mr r3, r31 -/* 802ACC3C 002A9B9C 7E C4 B3 78 */ mr r4, r22 -/* 802ACC40 002A9BA0 48 00 0D 0D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802ACC44 002A9BA4 7C 64 1B 78 */ mr r4, r3 -/* 802ACC48 002A9BA8 7E E5 BB 78 */ mr r5, r23 -/* 802ACC4C 002A9BAC 38 61 00 60 */ addi r3, r1, 0x60 -/* 802ACC50 002A9BB0 4B FF FA 95 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802ACC54 002A9BB4 4B FF A3 ED */ bl ResetInternalCounters__20CMetroidAreaColliderFv -/* 802ACC58 002A9BB8 80 7A 00 00 */ lwz r3, 0(r26) -/* 802ACC5C 002A9BBC 80 81 00 70 */ lwz r4, 0x70(r1) -/* 802ACC60 002A9BC0 81 83 00 00 */ lwz r12, 0(r3) -/* 802ACC64 002A9BC4 82 E4 00 88 */ lwz r23, 0x88(r4) -/* 802ACC68 002A9BC8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802ACC6C 002A9BCC 7D 89 03 A6 */ mtctr r12 -/* 802ACC70 002A9BD0 4E 80 04 21 */ bctrl -/* 802ACC74 002A9BD4 93 61 00 08 */ stw r27, 8(r1) -/* 802ACC78 002A9BD8 7C 68 1B 78 */ mr r8, r3 -/* 802ACC7C 002A9BDC 7E E4 BB 78 */ mr r4, r23 -/* 802ACC80 002A9BE0 38 61 00 60 */ addi r3, r1, 0x60 -/* 802ACC84 002A9BE4 93 81 00 0C */ stw r28, 0xc(r1) -/* 802ACC88 002A9BE8 38 A1 01 B8 */ addi r5, r1, 0x1b8 -/* 802ACC8C 002A9BEC 38 C1 00 98 */ addi r6, r1, 0x98 -/* 802ACC90 002A9BF0 38 E1 01 4C */ addi r7, r1, 0x14c -/* 802ACC94 002A9BF4 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802ACC98 002A9BF8 39 41 01 E8 */ addi r10, r1, 0x1e8 -/* 802ACC9C 002A9BFC 81 3A 00 04 */ lwz r9, 4(r26) -/* 802ACCA0 002A9C00 4B FF ED CD */ bl AABoxCollisionMoving__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterRCQ220CMetroidAreaCollider22CMovingAABoxComponentsRC9CVector3fRdR14CCollisionInfo -/* 802ACCA4 002A9C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ACCA8 002A9C08 41 82 00 08 */ beq lbl_802ACCB0 -/* 802ACCAC 002A9C0C 3B C0 00 01 */ li r30, 1 -lbl_802ACCB0: -/* 802ACCB0 002A9C10 93 01 00 60 */ stw r24, 0x60(r1) -/* 802ACCB4 002A9C14 3A D6 00 01 */ addi r22, r22, 1 -/* 802ACCB8 002A9C18 93 21 00 60 */ stw r25, 0x60(r1) -lbl_802ACCBC: -/* 802ACCBC 002A9C1C 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802ACCC0 002A9C20 80 03 00 04 */ lwz r0, 4(r3) -/* 802ACCC4 002A9C24 7C 16 00 00 */ cmpw r22, r0 -/* 802ACCC8 002A9C28 41 80 FF 58 */ blt lbl_802ACC20 -/* 802ACCCC 002A9C2C 34 A1 08 AC */ addic. r5, r1, 0x8ac -/* 802ACCD0 002A9C30 41 82 00 58 */ beq lbl_802ACD28 -/* 802ACCD4 002A9C34 80 C5 00 00 */ lwz r6, 0(r5) -/* 802ACCD8 002A9C38 38 60 00 00 */ li r3, 0 -/* 802ACCDC 002A9C3C 2C 06 00 00 */ cmpwi r6, 0 -/* 802ACCE0 002A9C40 40 81 00 40 */ ble lbl_802ACD20 -/* 802ACCE4 002A9C44 2C 06 00 08 */ cmpwi r6, 8 -/* 802ACCE8 002A9C48 38 86 FF F8 */ addi r4, r6, -8 -/* 802ACCEC 002A9C4C 40 81 00 20 */ ble lbl_802ACD0C -/* 802ACCF0 002A9C50 38 04 00 07 */ addi r0, r4, 7 -/* 802ACCF4 002A9C54 54 00 E8 FE */ srwi r0, r0, 3 -/* 802ACCF8 002A9C58 7C 09 03 A6 */ mtctr r0 -/* 802ACCFC 002A9C5C 2C 04 00 00 */ cmpwi r4, 0 -/* 802ACD00 002A9C60 40 81 00 0C */ ble lbl_802ACD0C -lbl_802ACD04: -/* 802ACD04 002A9C64 38 63 00 08 */ addi r3, r3, 8 -/* 802ACD08 002A9C68 42 00 FF FC */ bdnz lbl_802ACD04 -lbl_802ACD0C: -/* 802ACD0C 002A9C6C 7C 03 30 50 */ subf r0, r3, r6 -/* 802ACD10 002A9C70 7C 09 03 A6 */ mtctr r0 -/* 802ACD14 002A9C74 7C 03 30 00 */ cmpw r3, r6 -/* 802ACD18 002A9C78 40 80 00 08 */ bge lbl_802ACD20 -lbl_802ACD1C: -/* 802ACD1C 002A9C7C 42 00 00 00 */ bdnz lbl_802ACD1C -lbl_802ACD20: -/* 802ACD20 002A9C80 38 00 00 00 */ li r0, 0 -/* 802ACD24 002A9C84 90 05 00 00 */ stw r0, 0(r5) -lbl_802ACD28: -/* 802ACD28 002A9C88 80 A1 01 E8 */ lwz r5, 0x1e8(r1) -/* 802ACD2C 002A9C8C 38 60 00 00 */ li r3, 0 -/* 802ACD30 002A9C90 2C 05 00 00 */ cmpwi r5, 0 -/* 802ACD34 002A9C94 40 81 00 40 */ ble lbl_802ACD74 -/* 802ACD38 002A9C98 2C 05 00 08 */ cmpwi r5, 8 -/* 802ACD3C 002A9C9C 38 85 FF F8 */ addi r4, r5, -8 -/* 802ACD40 002A9CA0 40 81 00 20 */ ble lbl_802ACD60 -/* 802ACD44 002A9CA4 38 04 00 07 */ addi r0, r4, 7 -/* 802ACD48 002A9CA8 54 00 E8 FE */ srwi r0, r0, 3 -/* 802ACD4C 002A9CAC 7C 09 03 A6 */ mtctr r0 -/* 802ACD50 002A9CB0 2C 04 00 00 */ cmpwi r4, 0 -/* 802ACD54 002A9CB4 40 81 00 0C */ ble lbl_802ACD60 -lbl_802ACD58: -/* 802ACD58 002A9CB8 38 63 00 08 */ addi r3, r3, 8 -/* 802ACD5C 002A9CBC 42 00 FF FC */ bdnz lbl_802ACD58 -lbl_802ACD60: -/* 802ACD60 002A9CC0 7C 03 28 50 */ subf r0, r3, r5 -/* 802ACD64 002A9CC4 7C 09 03 A6 */ mtctr r0 -/* 802ACD68 002A9CC8 7C 03 28 00 */ cmpw r3, r5 -/* 802ACD6C 002A9CCC 40 80 00 08 */ bge lbl_802ACD74 -lbl_802ACD70: -/* 802ACD70 002A9CD0 42 00 00 00 */ bdnz lbl_802ACD70 -lbl_802ACD74: -/* 802ACD74 002A9CD4 38 00 00 00 */ li r0, 0 -/* 802ACD78 002A9CD8 7F C3 F3 78 */ mr r3, r30 -/* 802ACD7C 002A9CDC 90 01 01 E8 */ stw r0, 0x1e8(r1) -/* 802ACD80 002A9CE0 E3 E1 09 38 */ psq_l f31, -1736(r1), 0, qr0 -/* 802ACD84 002A9CE4 CB E1 09 30 */ lfd f31, 0x930(r1) -/* 802ACD88 002A9CE8 E3 C1 09 28 */ psq_l f30, -1752(r1), 0, qr0 -/* 802ACD8C 002A9CEC CB C1 09 20 */ lfd f30, 0x920(r1) -/* 802ACD90 002A9CF0 E3 A1 09 18 */ psq_l f29, -1768(r1), 0, qr0 -/* 802ACD94 002A9CF4 CB A1 09 10 */ lfd f29, 0x910(r1) -/* 802ACD98 002A9CF8 BA C1 08 E8 */ lmw r22, 0x8e8(r1) -/* 802ACD9C 002A9CFC 80 01 09 44 */ lwz r0, 0x944(r1) -/* 802ACDA0 002A9D00 7C 08 03 A6 */ mtlr r0 -/* 802ACDA4 002A9D04 38 21 09 40 */ addi r1, r1, 0x940 -/* 802ACDA8 002A9D08 4E 80 00 20 */ blr - -.global SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure -SphereCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: -/* 802ACDAC 002A9D0C 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 802ACDB0 002A9D10 7C 08 02 A6 */ mflr r0 -/* 802ACDB4 002A9D14 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 802ACDB8 002A9D18 BF 41 01 98 */ stmw r26, 0x198(r1) -/* 802ACDBC 002A9D1C 7C 7A 1B 78 */ mr r26, r3 -/* 802ACDC0 002A9D20 38 61 00 08 */ addi r3, r1, 8 -/* 802ACDC4 002A9D24 38 BA 00 08 */ addi r5, r26, 8 -/* 802ACDC8 002A9D28 83 BA 00 00 */ lwz r29, 0(r26) -/* 802ACDCC 002A9D2C 83 9A 00 38 */ lwz r28, 0x38(r26) -/* 802ACDD0 002A9D30 7F A4 EB 78 */ mr r4, r29 -/* 802ACDD4 002A9D34 48 02 75 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802ACDD8 002A9D38 C0 61 00 08 */ lfs f3, 8(r1) -/* 802ACDDC 002A9D3C 38 61 01 68 */ addi r3, r1, 0x168 -/* 802ACDE0 002A9D40 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802ACDE4 002A9D44 38 9A 00 40 */ addi r4, r26, 0x40 -/* 802ACDE8 002A9D48 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802ACDEC 002A9D4C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802ACDF0 002A9D50 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 802ACDF4 002A9D54 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802ACDF8 002A9D58 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802ACDFC 002A9D5C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802ACE00 002A9D60 48 06 5D 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACE04 002A9D64 38 61 00 9C */ addi r3, r1, 0x9c -/* 802ACE08 002A9D68 38 81 01 68 */ addi r4, r1, 0x168 -/* 802ACE0C 002A9D6C 48 06 5E 91 */ bl GetQuickInverse__12CTransform4fCFv -/* 802ACE10 002A9D70 38 61 00 CC */ addi r3, r1, 0xcc -/* 802ACE14 002A9D74 38 81 00 9C */ addi r4, r1, 0x9c -/* 802ACE18 002A9D78 38 BA 00 08 */ addi r5, r26, 8 -/* 802ACE1C 002A9D7C 48 06 5B 35 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802ACE20 002A9D80 38 61 01 38 */ addi r3, r1, 0x138 -/* 802ACE24 002A9D84 38 81 00 CC */ addi r4, r1, 0xcc -/* 802ACE28 002A9D88 48 06 5D 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACE2C 002A9D8C 7F A4 EB 78 */ mr r4, r29 -/* 802ACE30 002A9D90 38 61 00 28 */ addi r3, r1, 0x28 -/* 802ACE34 002A9D94 81 9D 00 00 */ lwz r12, 0(r29) -/* 802ACE38 002A9D98 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802ACE3C 002A9D9C 7D 89 03 A6 */ mtctr r12 -/* 802ACE40 002A9DA0 4E 80 04 21 */ bctrl -/* 802ACE44 002A9DA4 38 61 00 60 */ addi r3, r1, 0x60 -/* 802ACE48 002A9DA8 38 81 00 28 */ addi r4, r1, 0x28 -/* 802ACE4C 002A9DAC 38 A1 01 38 */ addi r5, r1, 0x138 -/* 802ACE50 002A9DB0 48 02 8E CD */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802ACE54 002A9DB4 38 61 00 FC */ addi r3, r1, 0xfc -/* 802ACE58 002A9DB8 38 81 00 60 */ addi r4, r1, 0x60 -/* 802ACE5C 002A9DBC 48 06 5D 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACE60 002A9DC0 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 802ACE64 002A9DC4 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802ACE68 002A9DC8 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 802ACE6C 002A9DCC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802ACE70 002A9DD0 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802ACE74 002A9DD4 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l -/* 802ACE78 002A9DD8 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 802ACE7C 002A9DDC 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l -/* 802ACE80 002A9DE0 3B 60 00 00 */ li r27, 0 -/* 802ACE84 002A9DE4 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 802ACE88 002A9DE8 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 802ACE8C 002A9DEC 48 00 00 8C */ b lbl_802ACF18 -lbl_802ACE90: -/* 802ACE90 002A9DF0 7F 83 E3 78 */ mr r3, r28 -/* 802ACE94 002A9DF4 81 9C 00 00 */ lwz r12, 0(r28) -/* 802ACE98 002A9DF8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802ACE9C 002A9DFC 7D 89 03 A6 */ mtctr r12 -/* 802ACEA0 002A9E00 4E 80 04 21 */ bctrl -/* 802ACEA4 002A9E04 7C 7D 1B 78 */ mr r29, r3 -/* 802ACEA8 002A9E08 7F 83 E3 78 */ mr r3, r28 -/* 802ACEAC 002A9E0C 7F 64 DB 78 */ mr r4, r27 -/* 802ACEB0 002A9E10 48 00 0A 9D */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802ACEB4 002A9E14 7C 64 1B 78 */ mr r4, r3 -/* 802ACEB8 002A9E18 7F A5 EB 78 */ mr r5, r29 -/* 802ACEBC 002A9E1C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802ACEC0 002A9E20 4B FF F8 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802ACEC4 002A9E24 80 81 00 50 */ lwz r4, 0x50(r1) -/* 802ACEC8 002A9E28 38 61 00 40 */ addi r3, r1, 0x40 -/* 802ACECC 002A9E2C 81 1A 00 04 */ lwz r8, 4(r26) -/* 802ACED0 002A9E30 38 A1 01 68 */ addi r5, r1, 0x168 -/* 802ACED4 002A9E34 80 84 00 88 */ lwz r4, 0x88(r4) -/* 802ACED8 002A9E38 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802ACEDC 002A9E3C 38 E1 00 FC */ addi r7, r1, 0xfc -/* 802ACEE0 002A9E40 4B FF EC D9 */ bl SphereCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC15CMaterialFilter -/* 802ACEE4 002A9E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802ACEE8 002A9E48 41 82 00 24 */ beq lbl_802ACF0C -/* 802ACEEC 002A9E4C 3C 60 80 3F */ lis r3, lbl_803EC448@ha -/* 802ACEF0 002A9E50 3C 80 80 3E */ lis r4, lbl_803D97E4@ha -/* 802ACEF4 002A9E54 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l -/* 802ACEF8 002A9E58 38 60 00 01 */ li r3, 1 -/* 802ACEFC 002A9E5C 90 01 00 40 */ stw r0, 0x40(r1) -/* 802ACF00 002A9E60 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l -/* 802ACF04 002A9E64 90 01 00 40 */ stw r0, 0x40(r1) -/* 802ACF08 002A9E68 48 00 00 24 */ b lbl_802ACF2C -lbl_802ACF0C: -/* 802ACF0C 002A9E6C 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802ACF10 002A9E70 3B 7B 00 01 */ addi r27, r27, 1 -/* 802ACF14 002A9E74 93 E1 00 40 */ stw r31, 0x40(r1) -lbl_802ACF18: -/* 802ACF18 002A9E78 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 802ACF1C 002A9E7C 80 03 00 04 */ lwz r0, 4(r3) -/* 802ACF20 002A9E80 7C 1B 00 00 */ cmpw r27, r0 -/* 802ACF24 002A9E84 41 80 FF 6C */ blt lbl_802ACE90 -/* 802ACF28 002A9E88 38 60 00 00 */ li r3, 0 -lbl_802ACF2C: -/* 802ACF2C 002A9E8C BB 41 01 98 */ lmw r26, 0x198(r1) -/* 802ACF30 002A9E90 80 01 01 B4 */ lwz r0, 0x1b4(r1) -/* 802ACF34 002A9E94 7C 08 03 A6 */ mtlr r0 -/* 802ACF38 002A9E98 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 802ACF3C 002A9E9C 4E 80 00 20 */ blr - -.global SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList -SphereCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802ACF40 002A9EA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 802ACF44 002A9EA4 7C 08 02 A6 */ mflr r0 -/* 802ACF48 002A9EA8 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 802ACF4C 002A9EAC BE E1 01 9C */ stmw r23, 0x19c(r1) -/* 802ACF50 002A9EB0 7C 7E 1B 78 */ mr r30, r3 -/* 802ACF54 002A9EB4 7C 9F 23 78 */ mr r31, r4 -/* 802ACF58 002A9EB8 38 BE 00 08 */ addi r5, r30, 8 -/* 802ACF5C 002A9EBC 83 23 00 00 */ lwz r25, 0(r3) -/* 802ACF60 002A9EC0 38 61 00 08 */ addi r3, r1, 8 -/* 802ACF64 002A9EC4 83 5E 00 38 */ lwz r26, 0x38(r30) -/* 802ACF68 002A9EC8 7F 24 CB 78 */ mr r4, r25 -/* 802ACF6C 002A9ECC 48 02 73 E9 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802ACF70 002A9ED0 C0 61 00 08 */ lfs f3, 8(r1) -/* 802ACF74 002A9ED4 38 61 01 68 */ addi r3, r1, 0x168 -/* 802ACF78 002A9ED8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802ACF7C 002A9EDC 38 9E 00 40 */ addi r4, r30, 0x40 -/* 802ACF80 002A9EE0 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802ACF84 002A9EE4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802ACF88 002A9EE8 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 802ACF8C 002A9EEC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802ACF90 002A9EF0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802ACF94 002A9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802ACF98 002A9EF8 48 06 5B DD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACF9C 002A9EFC 38 61 00 9C */ addi r3, r1, 0x9c -/* 802ACFA0 002A9F00 38 81 01 68 */ addi r4, r1, 0x168 -/* 802ACFA4 002A9F04 48 06 5C F9 */ bl GetQuickInverse__12CTransform4fCFv -/* 802ACFA8 002A9F08 38 61 00 CC */ addi r3, r1, 0xcc -/* 802ACFAC 002A9F0C 38 81 00 9C */ addi r4, r1, 0x9c -/* 802ACFB0 002A9F10 38 BE 00 08 */ addi r5, r30, 8 -/* 802ACFB4 002A9F14 48 06 59 9D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802ACFB8 002A9F18 38 61 01 38 */ addi r3, r1, 0x138 -/* 802ACFBC 002A9F1C 38 81 00 CC */ addi r4, r1, 0xcc -/* 802ACFC0 002A9F20 48 06 5B B5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACFC4 002A9F24 7F 24 CB 78 */ mr r4, r25 -/* 802ACFC8 002A9F28 38 61 00 28 */ addi r3, r1, 0x28 -/* 802ACFCC 002A9F2C 81 99 00 00 */ lwz r12, 0(r25) -/* 802ACFD0 002A9F30 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802ACFD4 002A9F34 7D 89 03 A6 */ mtctr r12 -/* 802ACFD8 002A9F38 4E 80 04 21 */ bctrl -/* 802ACFDC 002A9F3C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802ACFE0 002A9F40 38 81 00 28 */ addi r4, r1, 0x28 -/* 802ACFE4 002A9F44 38 A1 01 38 */ addi r5, r1, 0x138 -/* 802ACFE8 002A9F48 48 02 8D 35 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802ACFEC 002A9F4C 38 61 00 FC */ addi r3, r1, 0xfc -/* 802ACFF0 002A9F50 38 81 00 60 */ addi r4, r1, 0x60 -/* 802ACFF4 002A9F54 48 06 5B 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802ACFF8 002A9F58 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 802ACFFC 002A9F5C 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802AD000 002A9F60 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 802AD004 002A9F64 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802AD008 002A9F68 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802AD00C 002A9F6C 3B 84 C4 48 */ addi r28, r4, lbl_803EC448@l -/* 802AD010 002A9F70 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 802AD014 002A9F74 3B A3 97 E4 */ addi r29, r3, lbl_803D97E4@l -/* 802AD018 002A9F78 3B 00 00 00 */ li r24, 0 -/* 802AD01C 002A9F7C 3A E0 00 00 */ li r23, 0 -/* 802AD020 002A9F80 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 802AD024 002A9F84 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 802AD028 002A9F88 48 00 00 90 */ b lbl_802AD0B8 -lbl_802AD02C: -/* 802AD02C 002A9F8C 7F 43 D3 78 */ mr r3, r26 -/* 802AD030 002A9F90 81 9A 00 00 */ lwz r12, 0(r26) -/* 802AD034 002A9F94 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD038 002A9F98 7D 89 03 A6 */ mtctr r12 -/* 802AD03C 002A9F9C 4E 80 04 21 */ bctrl -/* 802AD040 002A9FA0 7C 7B 1B 78 */ mr r27, r3 -/* 802AD044 002A9FA4 7F 43 D3 78 */ mr r3, r26 -/* 802AD048 002A9FA8 7E E4 BB 78 */ mr r4, r23 -/* 802AD04C 002A9FAC 48 00 09 01 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802AD050 002A9FB0 7C 64 1B 78 */ mr r4, r3 -/* 802AD054 002A9FB4 7F 65 DB 78 */ mr r5, r27 -/* 802AD058 002A9FB8 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AD05C 002A9FBC 4B FF F6 89 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802AD060 002A9FC0 7F 23 CB 78 */ mr r3, r25 -/* 802AD064 002A9FC4 80 81 00 50 */ lwz r4, 0x50(r1) -/* 802AD068 002A9FC8 81 99 00 00 */ lwz r12, 0(r25) -/* 802AD06C 002A9FCC 83 64 00 88 */ lwz r27, 0x88(r4) -/* 802AD070 002A9FD0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD074 002A9FD4 7D 89 03 A6 */ mtctr r12 -/* 802AD078 002A9FD8 4E 80 04 21 */ bctrl -/* 802AD07C 002A9FDC 81 3E 00 04 */ lwz r9, 4(r30) -/* 802AD080 002A9FE0 7C 68 1B 78 */ mr r8, r3 -/* 802AD084 002A9FE4 7F 64 DB 78 */ mr r4, r27 -/* 802AD088 002A9FE8 7F EA FB 78 */ mr r10, r31 -/* 802AD08C 002A9FEC 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AD090 002A9FF0 38 A1 01 68 */ addi r5, r1, 0x168 -/* 802AD094 002A9FF4 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802AD098 002A9FF8 38 E1 00 FC */ addi r7, r1, 0xfc -/* 802AD09C 002A9FFC 4B FF F0 C9 */ bl SphereCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC7CSphereRC6COBBoxRC13CMaterialListRC15CMaterialFilterR18CCollisionInfoList -/* 802AD0A0 002AA000 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AD0A4 002AA004 41 82 00 08 */ beq lbl_802AD0AC -/* 802AD0A8 002AA008 3B 00 00 01 */ li r24, 1 -lbl_802AD0AC: -/* 802AD0AC 002AA00C 93 81 00 40 */ stw r28, 0x40(r1) -/* 802AD0B0 002AA010 3A F7 00 01 */ addi r23, r23, 1 -/* 802AD0B4 002AA014 93 A1 00 40 */ stw r29, 0x40(r1) -lbl_802AD0B8: -/* 802AD0B8 002AA018 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 802AD0BC 002AA01C 80 03 00 04 */ lwz r0, 4(r3) -/* 802AD0C0 002AA020 7C 17 00 00 */ cmpw r23, r0 -/* 802AD0C4 002AA024 41 80 FF 68 */ blt lbl_802AD02C -/* 802AD0C8 002AA028 7F 03 C3 78 */ mr r3, r24 -/* 802AD0CC 002AA02C BA E1 01 9C */ lmw r23, 0x19c(r1) -/* 802AD0D0 002AA030 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 802AD0D4 002AA034 7C 08 03 A6 */ mtlr r0 -/* 802AD0D8 002AA038 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 802AD0DC 002AA03C 4E 80 00 20 */ blr - -.global AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure -AABoxCollideBoolean__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructure: -/* 802AD0E0 002AA040 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 802AD0E4 002AA044 7C 08 02 A6 */ mflr r0 -/* 802AD0E8 002AA048 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 802AD0EC 002AA04C BF 41 01 A8 */ stmw r26, 0x1a8(r1) -/* 802AD0F0 002AA050 7C 7A 1B 78 */ mr r26, r3 -/* 802AD0F4 002AA054 38 61 00 20 */ addi r3, r1, 0x20 -/* 802AD0F8 002AA058 38 BA 00 08 */ addi r5, r26, 8 -/* 802AD0FC 002AA05C 80 9A 00 00 */ lwz r4, 0(r26) -/* 802AD100 002AA060 83 9A 00 38 */ lwz r28, 0x38(r26) -/* 802AD104 002AA064 81 84 00 00 */ lwz r12, 0(r4) -/* 802AD108 002AA068 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AD10C 002AA06C 7D 89 03 A6 */ mtctr r12 -/* 802AD110 002AA070 4E 80 04 21 */ bctrl -/* 802AD114 002AA074 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802AD118 002AA078 38 61 01 78 */ addi r3, r1, 0x178 -/* 802AD11C 002AA07C C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802AD120 002AA080 38 9A 00 40 */ addi r4, r26, 0x40 -/* 802AD124 002AA084 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802AD128 002AA088 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802AD12C 002AA08C C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802AD130 002AA090 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802AD134 002AA094 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 802AD138 002AA098 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 802AD13C 002AA09C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802AD140 002AA0A0 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802AD144 002AA0A4 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 802AD148 002AA0A8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 802AD14C 002AA0AC 48 06 5A 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD150 002AA0B0 38 61 00 AC */ addi r3, r1, 0xac -/* 802AD154 002AA0B4 38 81 01 78 */ addi r4, r1, 0x178 -/* 802AD158 002AA0B8 48 06 5B 45 */ bl GetQuickInverse__12CTransform4fCFv -/* 802AD15C 002AA0BC 38 61 00 DC */ addi r3, r1, 0xdc -/* 802AD160 002AA0C0 38 81 00 AC */ addi r4, r1, 0xac -/* 802AD164 002AA0C4 38 BA 00 08 */ addi r5, r26, 8 -/* 802AD168 002AA0C8 48 06 57 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AD16C 002AA0CC 38 61 01 48 */ addi r3, r1, 0x148 -/* 802AD170 002AA0D0 38 81 00 DC */ addi r4, r1, 0xdc -/* 802AD174 002AA0D4 48 06 5A 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD178 002AA0D8 80 9A 00 00 */ lwz r4, 0(r26) -/* 802AD17C 002AA0DC 38 61 00 08 */ addi r3, r1, 8 -/* 802AD180 002AA0E0 81 84 00 00 */ lwz r12, 0(r4) -/* 802AD184 002AA0E4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AD188 002AA0E8 7D 89 03 A6 */ mtctr r12 -/* 802AD18C 002AA0EC 4E 80 04 21 */ bctrl -/* 802AD190 002AA0F0 38 61 00 70 */ addi r3, r1, 0x70 -/* 802AD194 002AA0F4 38 81 00 08 */ addi r4, r1, 8 -/* 802AD198 002AA0F8 38 A1 01 48 */ addi r5, r1, 0x148 -/* 802AD19C 002AA0FC 48 02 8B 81 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802AD1A0 002AA100 38 61 01 0C */ addi r3, r1, 0x10c -/* 802AD1A4 002AA104 38 81 00 70 */ addi r4, r1, 0x70 -/* 802AD1A8 002AA108 48 06 59 CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD1AC 002AA10C C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802AD1B0 002AA110 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802AD1B4 002AA114 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 802AD1B8 002AA118 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802AD1BC 002AA11C C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 802AD1C0 002AA120 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l -/* 802AD1C4 002AA124 D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 802AD1C8 002AA128 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l -/* 802AD1CC 002AA12C 3B 60 00 00 */ li r27, 0 -/* 802AD1D0 002AA130 D0 21 01 40 */ stfs f1, 0x140(r1) -/* 802AD1D4 002AA134 D0 01 01 44 */ stfs f0, 0x144(r1) -/* 802AD1D8 002AA138 48 00 00 8C */ b lbl_802AD264 -lbl_802AD1DC: -/* 802AD1DC 002AA13C 7F 83 E3 78 */ mr r3, r28 -/* 802AD1E0 002AA140 81 9C 00 00 */ lwz r12, 0(r28) -/* 802AD1E4 002AA144 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD1E8 002AA148 7D 89 03 A6 */ mtctr r12 -/* 802AD1EC 002AA14C 4E 80 04 21 */ bctrl -/* 802AD1F0 002AA150 7C 7D 1B 78 */ mr r29, r3 -/* 802AD1F4 002AA154 7F 83 E3 78 */ mr r3, r28 -/* 802AD1F8 002AA158 7F 64 DB 78 */ mr r4, r27 -/* 802AD1FC 002AA15C 48 00 07 51 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802AD200 002AA160 7C 64 1B 78 */ mr r4, r3 -/* 802AD204 002AA164 7F A5 EB 78 */ mr r5, r29 -/* 802AD208 002AA168 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AD20C 002AA16C 4B FF F4 D9 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802AD210 002AA170 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802AD214 002AA174 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AD218 002AA178 81 1A 00 04 */ lwz r8, 4(r26) -/* 802AD21C 002AA17C 38 A1 01 78 */ addi r5, r1, 0x178 -/* 802AD220 002AA180 80 84 00 88 */ lwz r4, 0x88(r4) -/* 802AD224 002AA184 38 C1 00 58 */ addi r6, r1, 0x58 -/* 802AD228 002AA188 38 E1 01 0C */ addi r7, r1, 0x10c -/* 802AD22C 002AA18C 4B FF EB 5D */ bl AABoxCollisionBoolean__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC15CMaterialFilter -/* 802AD230 002AA190 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AD234 002AA194 41 82 00 24 */ beq lbl_802AD258 -/* 802AD238 002AA198 3C 60 80 3F */ lis r3, lbl_803EC448@ha -/* 802AD23C 002AA19C 3C 80 80 3E */ lis r4, lbl_803D97E4@ha -/* 802AD240 002AA1A0 38 03 C4 48 */ addi r0, r3, lbl_803EC448@l -/* 802AD244 002AA1A4 38 60 00 01 */ li r3, 1 -/* 802AD248 002AA1A8 90 01 00 38 */ stw r0, 0x38(r1) -/* 802AD24C 002AA1AC 38 04 97 E4 */ addi r0, r4, lbl_803D97E4@l -/* 802AD250 002AA1B0 90 01 00 38 */ stw r0, 0x38(r1) -/* 802AD254 002AA1B4 48 00 00 24 */ b lbl_802AD278 -lbl_802AD258: -/* 802AD258 002AA1B8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802AD25C 002AA1BC 3B 7B 00 01 */ addi r27, r27, 1 -/* 802AD260 002AA1C0 93 E1 00 38 */ stw r31, 0x38(r1) -lbl_802AD264: -/* 802AD264 002AA1C4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 802AD268 002AA1C8 80 03 00 04 */ lwz r0, 4(r3) -/* 802AD26C 002AA1CC 7C 1B 00 00 */ cmpw r27, r0 -/* 802AD270 002AA1D0 41 80 FF 6C */ blt lbl_802AD1DC -/* 802AD274 002AA1D4 38 60 00 00 */ li r3, 0 -lbl_802AD278: -/* 802AD278 002AA1D8 BB 41 01 A8 */ lmw r26, 0x1a8(r1) -/* 802AD27C 002AA1DC 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 802AD280 002AA1E0 7C 08 03 A6 */ mtlr r0 -/* 802AD284 002AA1E4 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 802AD288 002AA1E8 4E 80 00 20 */ blr - -.global AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList -AABoxCollide__23CCollidableOBBTreeGroupFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802AD28C 002AA1EC 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 802AD290 002AA1F0 7C 08 02 A6 */ mflr r0 -/* 802AD294 002AA1F4 90 01 02 84 */ stw r0, 0x284(r1) -/* 802AD298 002AA1F8 DB E1 02 70 */ stfd f31, 0x270(r1) -/* 802AD29C 002AA1FC F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 -/* 802AD2A0 002AA200 DB C1 02 60 */ stfd f30, 0x260(r1) -/* 802AD2A4 002AA204 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 -/* 802AD2A8 002AA208 DB A1 02 50 */ stfd f29, 0x250(r1) -/* 802AD2AC 002AA20C F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 -/* 802AD2B0 002AA210 DB 81 02 40 */ stfd f28, 0x240(r1) -/* 802AD2B4 002AA214 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 -/* 802AD2B8 002AA218 DB 61 02 30 */ stfd f27, 0x230(r1) -/* 802AD2BC 002AA21C F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 -/* 802AD2C0 002AA220 BF 01 02 10 */ stmw r24, 0x210(r1) -/* 802AD2C4 002AA224 7C 78 1B 78 */ mr r24, r3 -/* 802AD2C8 002AA228 7C 99 23 78 */ mr r25, r4 -/* 802AD2CC 002AA22C 80 83 00 00 */ lwz r4, 0(r3) -/* 802AD2D0 002AA230 38 61 00 28 */ addi r3, r1, 0x28 -/* 802AD2D4 002AA234 38 B8 00 08 */ addi r5, r24, 8 -/* 802AD2D8 002AA238 83 98 00 38 */ lwz r28, 0x38(r24) -/* 802AD2DC 002AA23C 81 84 00 00 */ lwz r12, 0(r4) -/* 802AD2E0 002AA240 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AD2E4 002AA244 7D 89 03 A6 */ mtctr r12 -/* 802AD2E8 002AA248 4E 80 04 21 */ bctrl -/* 802AD2EC 002AA24C C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802AD2F0 002AA250 38 61 01 80 */ addi r3, r1, 0x180 -/* 802AD2F4 002AA254 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 802AD2F8 002AA258 38 98 00 40 */ addi r4, r24, 0x40 -/* 802AD2FC 002AA25C C0 61 00 30 */ lfs f3, 0x30(r1) -/* 802AD300 002AA260 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802AD304 002AA264 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 802AD308 002AA268 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802AD30C 002AA26C D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802AD310 002AA270 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 802AD314 002AA274 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802AD318 002AA278 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802AD31C 002AA27C D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802AD320 002AA280 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802AD324 002AA284 48 06 58 51 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD328 002AA288 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 802AD32C 002AA28C 38 81 01 80 */ addi r4, r1, 0x180 -/* 802AD330 002AA290 48 06 59 6D */ bl GetQuickInverse__12CTransform4fCFv -/* 802AD334 002AA294 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 802AD338 002AA298 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 802AD33C 002AA29C 38 B8 00 08 */ addi r5, r24, 8 -/* 802AD340 002AA2A0 48 06 56 11 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AD344 002AA2A4 38 61 01 50 */ addi r3, r1, 0x150 -/* 802AD348 002AA2A8 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 802AD34C 002AA2AC 48 06 58 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD350 002AA2B0 80 98 00 00 */ lwz r4, 0(r24) -/* 802AD354 002AA2B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AD358 002AA2B8 81 84 00 00 */ lwz r12, 0(r4) -/* 802AD35C 002AA2BC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AD360 002AA2C0 7D 89 03 A6 */ mtctr r12 -/* 802AD364 002AA2C4 4E 80 04 21 */ bctrl -/* 802AD368 002AA2C8 38 61 00 78 */ addi r3, r1, 0x78 -/* 802AD36C 002AA2CC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802AD370 002AA2D0 38 A1 01 50 */ addi r5, r1, 0x150 -/* 802AD374 002AA2D4 48 02 89 A9 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802AD378 002AA2D8 38 61 01 14 */ addi r3, r1, 0x114 -/* 802AD37C 002AA2DC 38 81 00 78 */ addi r4, r1, 0x78 -/* 802AD380 002AA2E0 48 06 57 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD384 002AA2E4 C0 E2 C1 E0 */ lfs f7, lbl_805ADF00@sda21(r2) -/* 802AD388 002AA2E8 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802AD38C 002AA2EC C0 C2 C1 E4 */ lfs f6, lbl_805ADF04@sda21(r2) -/* 802AD390 002AA2F0 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802AD394 002AA2F4 FF E0 38 50 */ fneg f31, f7 -/* 802AD398 002AA2F8 C1 41 00 64 */ lfs f10, 0x64(r1) -/* 802AD39C 002AA2FC FF A0 30 50 */ fneg f29, f6 -/* 802AD3A0 002AA300 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802AD3A4 002AA304 C3 C1 00 60 */ lfs f30, 0x60(r1) -/* 802AD3A8 002AA308 EF 8A 01 F2 */ fmuls f28, f10, f7 -/* 802AD3AC 002AA30C EF 7E 01 F2 */ fmuls f27, f30, f7 -/* 802AD3B0 002AA310 C1 61 00 68 */ lfs f11, 0x68(r1) -/* 802AD3B4 002AA314 EC 80 07 F2 */ fmuls f4, f0, f31 -/* 802AD3B8 002AA318 C1 81 00 6C */ lfs f12, 0x6c(r1) -/* 802AD3BC 002AA31C EC 00 07 72 */ fmuls f0, f0, f29 -/* 802AD3C0 002AA320 C1 21 00 A8 */ lfs f9, 0xa8(r1) -/* 802AD3C4 002AA324 EC 3B E0 2A */ fadds f1, f27, f28 -/* 802AD3C8 002AA328 C1 A1 00 74 */ lfs f13, 0x74(r1) -/* 802AD3CC 002AA32C EC 6C 27 7A */ fmadds f3, f12, f29, f4 -/* 802AD3D0 002AA330 C1 01 00 AC */ lfs f8, 0xac(r1) -/* 802AD3D4 002AA334 EC 4C 07 FA */ fmadds f2, f12, f31, f0 -/* 802AD3D8 002AA338 C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 802AD3DC 002AA33C EC 0C 27 FA */ fmadds f0, f12, f31, f4 -/* 802AD3E0 002AA340 D1 21 01 44 */ stfs f9, 0x144(r1) -/* 802AD3E4 002AA344 EC 8D 1F FA */ fmadds f4, f13, f31, f3 -/* 802AD3E8 002AA348 3B C4 C4 48 */ addi r30, r4, lbl_803EC448@l -/* 802AD3EC 002AA34C EC 4D 17 FA */ fmadds f2, f13, f31, f2 -/* 802AD3F0 002AA350 D1 01 01 48 */ stfs f8, 0x148(r1) -/* 802AD3F4 002AA354 EC 2B 09 BA */ fmadds f1, f11, f6, f1 -/* 802AD3F8 002AA358 D0 A1 01 4C */ stfs f5, 0x14c(r1) -/* 802AD3FC 002AA35C EC 0D 07 7A */ fmadds f0, f13, f29, f0 -/* 802AD400 002AA360 3B E3 97 E4 */ addi r31, r3, lbl_803D97E4@l -/* 802AD404 002AA364 ED 0B 01 F2 */ fmuls f8, f11, f7 -/* 802AD408 002AA368 D0 C1 01 B0 */ stfs f6, 0x1b0(r1) -/* 802AD40C 002AA36C EC BE E1 BA */ fmadds f5, f30, f6, f28 -/* 802AD410 002AA370 D0 E1 01 B4 */ stfs f7, 0x1b4(r1) -/* 802AD414 002AA374 EC 6A D9 BA */ fmadds f3, f10, f6, f27 -/* 802AD418 002AA378 3B 60 00 00 */ li r27, 0 -/* 802AD41C 002AA37C D0 E1 01 B8 */ stfs f7, 0x1b8(r1) -/* 802AD420 002AA380 3B 40 00 00 */ li r26, 0 -/* 802AD424 002AA384 EC A8 28 2A */ fadds f5, f8, f5 -/* 802AD428 002AA388 D3 A1 01 C0 */ stfs f29, 0x1c0(r1) -/* 802AD42C 002AA38C EC 68 18 2A */ fadds f3, f8, f3 -/* 802AD430 002AA390 D3 E1 01 C4 */ stfs f31, 0x1c4(r1) -/* 802AD434 002AA394 D0 A1 01 BC */ stfs f5, 0x1bc(r1) -/* 802AD438 002AA398 D3 E1 01 C8 */ stfs f31, 0x1c8(r1) -/* 802AD43C 002AA39C D0 81 01 CC */ stfs f4, 0x1cc(r1) -/* 802AD440 002AA3A0 D0 E1 01 D0 */ stfs f7, 0x1d0(r1) -/* 802AD444 002AA3A4 D0 C1 01 D4 */ stfs f6, 0x1d4(r1) -/* 802AD448 002AA3A8 D0 E1 01 D8 */ stfs f7, 0x1d8(r1) -/* 802AD44C 002AA3AC D0 61 01 DC */ stfs f3, 0x1dc(r1) -/* 802AD450 002AA3B0 D3 E1 01 E0 */ stfs f31, 0x1e0(r1) -/* 802AD454 002AA3B4 D3 A1 01 E4 */ stfs f29, 0x1e4(r1) -/* 802AD458 002AA3B8 D3 E1 01 E8 */ stfs f31, 0x1e8(r1) -/* 802AD45C 002AA3BC D0 41 01 EC */ stfs f2, 0x1ec(r1) -/* 802AD460 002AA3C0 D0 E1 01 F0 */ stfs f7, 0x1f0(r1) -/* 802AD464 002AA3C4 D0 E1 01 F4 */ stfs f7, 0x1f4(r1) -/* 802AD468 002AA3C8 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) -/* 802AD46C 002AA3CC D0 21 01 FC */ stfs f1, 0x1fc(r1) -/* 802AD470 002AA3D0 D3 E1 02 00 */ stfs f31, 0x200(r1) -/* 802AD474 002AA3D4 D3 E1 02 04 */ stfs f31, 0x204(r1) -/* 802AD478 002AA3D8 D3 A1 02 08 */ stfs f29, 0x208(r1) -/* 802AD47C 002AA3DC D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 802AD480 002AA3E0 48 00 00 94 */ b lbl_802AD514 -lbl_802AD484: -/* 802AD484 002AA3E4 7F 83 E3 78 */ mr r3, r28 -/* 802AD488 002AA3E8 81 9C 00 00 */ lwz r12, 0(r28) -/* 802AD48C 002AA3EC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD490 002AA3F0 7D 89 03 A6 */ mtctr r12 -/* 802AD494 002AA3F4 4E 80 04 21 */ bctrl -/* 802AD498 002AA3F8 7C 7D 1B 78 */ mr r29, r3 -/* 802AD49C 002AA3FC 7F 83 E3 78 */ mr r3, r28 -/* 802AD4A0 002AA400 7F 44 D3 78 */ mr r4, r26 -/* 802AD4A4 002AA404 48 00 04 A9 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -/* 802AD4A8 002AA408 7C 64 1B 78 */ mr r4, r3 -/* 802AD4AC 002AA40C 7F A5 EB 78 */ mr r5, r29 -/* 802AD4B0 002AA410 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AD4B4 002AA414 4B FF F2 31 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802AD4B8 002AA418 80 78 00 00 */ lwz r3, 0(r24) -/* 802AD4BC 002AA41C 80 81 00 50 */ lwz r4, 0x50(r1) -/* 802AD4C0 002AA420 81 83 00 00 */ lwz r12, 0(r3) -/* 802AD4C4 002AA424 83 A4 00 88 */ lwz r29, 0x88(r4) -/* 802AD4C8 002AA428 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD4CC 002AA42C 7D 89 03 A6 */ mtctr r12 -/* 802AD4D0 002AA430 4E 80 04 21 */ bctrl -/* 802AD4D4 002AA434 93 21 00 08 */ stw r25, 8(r1) -/* 802AD4D8 002AA438 7C 68 1B 78 */ mr r8, r3 -/* 802AD4DC 002AA43C 7F A4 EB 78 */ mr r4, r29 -/* 802AD4E0 002AA440 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AD4E4 002AA444 81 38 00 04 */ lwz r9, 4(r24) -/* 802AD4E8 002AA448 38 A1 01 80 */ addi r5, r1, 0x180 -/* 802AD4EC 002AA44C 38 C1 00 60 */ addi r6, r1, 0x60 -/* 802AD4F0 002AA450 38 E1 01 14 */ addi r7, r1, 0x114 -/* 802AD4F4 002AA454 39 41 01 B0 */ addi r10, r1, 0x1b0 -/* 802AD4F8 002AA458 4B FF EF FD */ bl AABoxCollision__18CCollidableOBBTreeCFRCQ28COBBTree5CNodeRC12CTransform4fRC6CAABoxRC6COBBoxRC13CMaterialListRC15CMaterialFilterPC6CPlaneR18CCollisionInfoList -/* 802AD4FC 002AA45C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AD500 002AA460 41 82 00 08 */ beq lbl_802AD508 -/* 802AD504 002AA464 3B 60 00 01 */ li r27, 1 -lbl_802AD508: -/* 802AD508 002AA468 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802AD50C 002AA46C 3B 5A 00 01 */ addi r26, r26, 1 -/* 802AD510 002AA470 93 E1 00 40 */ stw r31, 0x40(r1) -lbl_802AD514: -/* 802AD514 002AA474 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 802AD518 002AA478 80 03 00 04 */ lwz r0, 4(r3) -/* 802AD51C 002AA47C 7C 1A 00 00 */ cmpw r26, r0 -/* 802AD520 002AA480 41 80 FF 64 */ blt lbl_802AD484 -/* 802AD524 002AA484 7F 63 DB 78 */ mr r3, r27 -/* 802AD528 002AA488 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 -/* 802AD52C 002AA48C CB E1 02 70 */ lfd f31, 0x270(r1) -/* 802AD530 002AA490 E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 -/* 802AD534 002AA494 CB C1 02 60 */ lfd f30, 0x260(r1) -/* 802AD538 002AA498 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 -/* 802AD53C 002AA49C CB A1 02 50 */ lfd f29, 0x250(r1) -/* 802AD540 002AA4A0 E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 -/* 802AD544 002AA4A4 CB 81 02 40 */ lfd f28, 0x240(r1) -/* 802AD548 002AA4A8 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 -/* 802AD54C 002AA4AC CB 61 02 30 */ lfd f27, 0x230(r1) -/* 802AD550 002AA4B0 BB 01 02 10 */ lmw r24, 0x210(r1) -/* 802AD554 002AA4B4 80 01 02 84 */ lwz r0, 0x284(r1) -/* 802AD558 002AA4B8 7C 08 03 A6 */ mtlr r0 -/* 802AD55C 002AA4BC 38 21 02 80 */ addi r1, r1, 0x280 -/* 802AD560 002AA4C0 4E 80 00 20 */ blr - -.global CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure -CastRayInternal__23CCollidableOBBTreeGroupCFRC25CInternalRayCastStructure: -/* 802AD564 002AA4C4 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 802AD568 002AA4C8 7C 08 02 A6 */ mflr r0 -/* 802AD56C 002AA4CC 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 802AD570 002AA4D0 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 802AD574 002AA4D4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 802AD578 002AA4D8 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 802AD57C 002AA4DC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 802AD580 002AA4E0 BE C1 01 88 */ stmw r22, 0x188(r1) -/* 802AD584 002AA4E4 C0 22 C1 E0 */ lfs f1, lbl_805ADF00@sda21(r2) -/* 802AD588 002AA4E8 7C 79 1B 78 */ mr r25, r3 -/* 802AD58C 002AA4EC C0 02 C1 E4 */ lfs f0, lbl_805ADF04@sda21(r2) -/* 802AD590 002AA4F0 7C 9A 23 78 */ mr r26, r4 -/* 802AD594 002AA4F4 D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 802AD598 002AA4F8 7C BB 2B 78 */ mr r27, r5 -/* 802AD59C 002AA4FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AD5A0 002AA500 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 802AD5A4 002AA504 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 802AD5A8 002AA508 D0 21 00 EC */ stfs f1, 0xec(r1) -/* 802AD5AC 002AA50C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802AD5B0 002AA510 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802AD5B4 002AA514 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802AD5B8 002AA518 48 06 73 41 */ bl Normalize__9CVector3fFv -/* 802AD5BC 002AA51C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802AD5C0 002AA520 38 00 00 00 */ li r0, 0 -/* 802AD5C4 002AA524 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802AD5C8 002AA528 7F 64 DB 78 */ mr r4, r27 -/* 802AD5CC 002AA52C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802AD5D0 002AA530 38 61 00 70 */ addi r3, r1, 0x70 -/* 802AD5D4 002AA534 C0 02 C1 E0 */ lfs f0, lbl_805ADF00@sda21(r2) -/* 802AD5D8 002AA538 38 BB 00 3C */ addi r5, r27, 0x3c -/* 802AD5DC 002AA53C D0 61 00 F0 */ stfs f3, 0xf0(r1) -/* 802AD5E0 002AA540 80 DA 00 10 */ lwz r6, 0x10(r26) -/* 802AD5E4 002AA544 D0 41 00 F4 */ stfs f2, 0xf4(r1) -/* 802AD5E8 002AA548 C3 FB 00 38 */ lfs f31, 0x38(r27) -/* 802AD5EC 002AA54C D0 21 00 F8 */ stfs f1, 0xf8(r1) -/* 802AD5F0 002AA550 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 802AD5F4 002AA554 98 01 01 00 */ stb r0, 0x100(r1) -/* 802AD5F8 002AA558 90 01 01 0C */ stw r0, 0x10c(r1) -/* 802AD5FC 002AA55C 90 01 01 08 */ stw r0, 0x108(r1) -/* 802AD600 002AA560 83 E6 00 0C */ lwz r31, 0xc(r6) -/* 802AD604 002AA564 83 C6 00 1C */ lwz r30, 0x1c(r6) -/* 802AD608 002AA568 48 02 89 E1 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f -/* 802AD60C 002AA56C C1 A1 00 70 */ lfs f13, 0x70(r1) -/* 802AD610 002AA570 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802AD614 002AA574 C1 81 00 74 */ lfs f12, 0x74(r1) -/* 802AD618 002AA578 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802AD61C 002AA57C C1 61 00 78 */ lfs f11, 0x78(r1) -/* 802AD620 002AA580 3B 81 00 D4 */ addi r28, r1, 0xd4 -/* 802AD624 002AA584 C1 41 00 7C */ lfs f10, 0x7c(r1) -/* 802AD628 002AA588 3B A1 01 4C */ addi r29, r1, 0x14c -/* 802AD62C 002AA58C C1 21 00 80 */ lfs f9, 0x80(r1) -/* 802AD630 002AA590 3A E4 C4 48 */ addi r23, r4, lbl_803EC448@l -/* 802AD634 002AA594 C1 01 00 84 */ lfs f8, 0x84(r1) -/* 802AD638 002AA598 3B 03 97 E4 */ addi r24, r3, lbl_803D97E4@l -/* 802AD63C 002AA59C C0 E1 00 88 */ lfs f7, 0x88(r1) -/* 802AD640 002AA5A0 C0 C1 00 8C */ lfs f6, 0x8c(r1) -/* 802AD644 002AA5A4 C0 A1 00 90 */ lfs f5, 0x90(r1) -/* 802AD648 002AA5A8 C0 81 00 94 */ lfs f4, 0x94(r1) -/* 802AD64C 002AA5AC C0 61 00 98 */ lfs f3, 0x98(r1) -/* 802AD650 002AA5B0 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 802AD654 002AA5B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 802AD658 002AA5B8 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 802AD65C 002AA5BC D1 A1 00 A8 */ stfs f13, 0xa8(r1) -/* 802AD660 002AA5C0 C3 C2 C1 E0 */ lfs f30, lbl_805ADF00@sda21(r2) -/* 802AD664 002AA5C4 D1 81 00 AC */ stfs f12, 0xac(r1) -/* 802AD668 002AA5C8 D1 61 00 B0 */ stfs f11, 0xb0(r1) -/* 802AD66C 002AA5CC D1 41 00 B4 */ stfs f10, 0xb4(r1) -/* 802AD670 002AA5D0 D1 21 00 B8 */ stfs f9, 0xb8(r1) -/* 802AD674 002AA5D4 D1 01 00 BC */ stfs f8, 0xbc(r1) -/* 802AD678 002AA5D8 D0 E1 00 C0 */ stfs f7, 0xc0(r1) -/* 802AD67C 002AA5DC D0 C1 00 C4 */ stfs f6, 0xc4(r1) -/* 802AD680 002AA5E0 D0 A1 00 C8 */ stfs f5, 0xc8(r1) -/* 802AD684 002AA5E4 D0 81 00 CC */ stfs f4, 0xcc(r1) -/* 802AD688 002AA5E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 802AD68C 002AA5EC D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 802AD690 002AA5F0 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 802AD694 002AA5F4 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 802AD698 002AA5F8 48 00 01 74 */ b lbl_802AD80C -lbl_802AD69C: -/* 802AD69C 002AA5FC 7F 43 D3 78 */ mr r3, r26 -/* 802AD6A0 002AA600 82 DF 00 04 */ lwz r22, 4(r31) -/* 802AD6A4 002AA604 81 9A 00 00 */ lwz r12, 0(r26) -/* 802AD6A8 002AA608 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AD6AC 002AA60C 7D 89 03 A6 */ mtctr r12 -/* 802AD6B0 002AA610 4E 80 04 21 */ bctrl -/* 802AD6B4 002AA614 7C 65 1B 78 */ mr r5, r3 -/* 802AD6B8 002AA618 7E C4 B3 78 */ mr r4, r22 -/* 802AD6BC 002AA61C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802AD6C0 002AA620 4B FF F0 25 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802AD6C4 002AA624 D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 802AD6C8 002AA628 7F C4 F3 78 */ mr r4, r30 -/* 802AD6CC 002AA62C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802AD6D0 002AA630 38 A1 00 0C */ addi r5, r1, 0xc -/* 802AD6D4 002AA634 D3 C1 00 08 */ stfs f30, 8(r1) -/* 802AD6D8 002AA638 38 C1 00 08 */ addi r6, r1, 8 -/* 802AD6DC 002AA63C 48 02 58 A5 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf -/* 802AD6E0 002AA640 2C 03 00 00 */ cmpwi r3, 0 -/* 802AD6E4 002AA644 41 82 01 18 */ beq lbl_802AD7FC -/* 802AD6E8 002AA648 FC 20 F8 90 */ fmr f1, f31 -/* 802AD6EC 002AA64C 82 DB 00 6C */ lwz r22, 0x6c(r27) -/* 802AD6F0 002AA650 7F 85 E3 78 */ mr r5, r28 -/* 802AD6F4 002AA654 38 61 01 10 */ addi r3, r1, 0x110 -/* 802AD6F8 002AA658 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 802AD6FC 002AA65C 48 02 89 71 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff -/* 802AD700 002AA660 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802AD704 002AA664 D3 E1 01 48 */ stfs f31, 0x148(r1) -/* 802AD708 002AA668 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802AD70C 002AA66C 7F A3 EB 78 */ mr r3, r29 -/* 802AD710 002AA670 48 06 54 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AD714 002AA674 92 C1 01 7C */ stw r22, 0x17c(r1) -/* 802AD718 002AA678 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AD71C 002AA67C 81 81 00 20 */ lwz r12, 0x20(r1) -/* 802AD720 002AA680 38 81 00 20 */ addi r4, r1, 0x20 -/* 802AD724 002AA684 38 A1 01 10 */ addi r5, r1, 0x110 -/* 802AD728 002AA688 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802AD72C 002AA68C 7D 89 03 A6 */ mtctr r12 -/* 802AD730 002AA690 4E 80 04 21 */ bctrl -/* 802AD734 002AA694 88 A1 00 60 */ lbz r5, 0x60(r1) -/* 802AD738 002AA698 28 05 00 00 */ cmplwi r5, 0 -/* 802AD73C 002AA69C 41 82 00 C0 */ beq lbl_802AD7FC -/* 802AD740 002AA6A0 88 01 01 00 */ lbz r0, 0x100(r1) -/* 802AD744 002AA6A4 28 00 00 00 */ cmplwi r0, 0 -/* 802AD748 002AA6A8 41 82 00 64 */ beq lbl_802AD7AC -/* 802AD74C 002AA6AC C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 802AD750 002AA6B0 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 802AD754 002AA6B4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802AD758 002AA6B8 40 80 00 A4 */ bge lbl_802AD7FC -/* 802AD75C 002AA6BC 80 81 00 44 */ lwz r4, 0x44(r1) -/* 802AD760 002AA6C0 FF E0 28 90 */ fmr f31, f5 -/* 802AD764 002AA6C4 80 61 00 48 */ lwz r3, 0x48(r1) -/* 802AD768 002AA6C8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802AD76C 002AA6CC C0 81 00 50 */ lfs f4, 0x50(r1) -/* 802AD770 002AA6D0 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 802AD774 002AA6D4 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802AD778 002AA6D8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802AD77C 002AA6DC C8 01 00 68 */ lfd f0, 0x68(r1) -/* 802AD780 002AA6E0 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 802AD784 002AA6E4 90 81 00 E4 */ stw r4, 0xe4(r1) -/* 802AD788 002AA6E8 90 61 00 E8 */ stw r3, 0xe8(r1) -/* 802AD78C 002AA6EC 90 01 00 EC */ stw r0, 0xec(r1) -/* 802AD790 002AA6F0 D0 81 00 F0 */ stfs f4, 0xf0(r1) -/* 802AD794 002AA6F4 D0 61 00 F4 */ stfs f3, 0xf4(r1) -/* 802AD798 002AA6F8 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 802AD79C 002AA6FC D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 802AD7A0 002AA700 98 A1 01 00 */ stb r5, 0x100(r1) -/* 802AD7A4 002AA704 D8 01 01 08 */ stfd f0, 0x108(r1) -/* 802AD7A8 002AA708 48 00 00 54 */ b lbl_802AD7FC -lbl_802AD7AC: -/* 802AD7AC 002AA70C C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 802AD7B0 002AA710 80 81 00 44 */ lwz r4, 0x44(r1) -/* 802AD7B4 002AA714 80 61 00 48 */ lwz r3, 0x48(r1) -/* 802AD7B8 002AA718 FF E0 28 90 */ fmr f31, f5 -/* 802AD7BC 002AA71C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802AD7C0 002AA720 C0 81 00 50 */ lfs f4, 0x50(r1) -/* 802AD7C4 002AA724 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 802AD7C8 002AA728 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802AD7CC 002AA72C C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802AD7D0 002AA730 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 802AD7D4 002AA734 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 802AD7D8 002AA738 90 81 00 E4 */ stw r4, 0xe4(r1) -/* 802AD7DC 002AA73C 90 61 00 E8 */ stw r3, 0xe8(r1) -/* 802AD7E0 002AA740 90 01 00 EC */ stw r0, 0xec(r1) -/* 802AD7E4 002AA744 D0 81 00 F0 */ stfs f4, 0xf0(r1) -/* 802AD7E8 002AA748 D0 61 00 F4 */ stfs f3, 0xf4(r1) -/* 802AD7EC 002AA74C D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 802AD7F0 002AA750 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 802AD7F4 002AA754 98 A1 01 00 */ stb r5, 0x100(r1) -/* 802AD7F8 002AA758 D8 01 01 08 */ stfd f0, 0x108(r1) -lbl_802AD7FC: -/* 802AD7FC 002AA75C 92 E1 00 20 */ stw r23, 0x20(r1) -/* 802AD800 002AA760 3B FF 00 08 */ addi r31, r31, 8 -/* 802AD804 002AA764 3B DE 00 18 */ addi r30, r30, 0x18 -/* 802AD808 002AA768 93 01 00 20 */ stw r24, 0x20(r1) -lbl_802AD80C: -/* 802AD80C 002AA76C 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 802AD810 002AA770 80 03 00 04 */ lwz r0, 4(r3) -/* 802AD814 002AA774 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802AD818 002AA778 54 00 18 38 */ slwi r0, r0, 3 -/* 802AD81C 002AA77C 7C 03 02 14 */ add r0, r3, r0 -/* 802AD820 002AA780 7C 1F 00 40 */ cmplw r31, r0 -/* 802AD824 002AA784 40 82 FE 78 */ bne lbl_802AD69C -/* 802AD828 002AA788 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 802AD82C 002AA78C 38 9B 00 3C */ addi r4, r27, 0x3c -/* 802AD830 002AA790 48 00 00 81 */ bl Transform__14CRayCastResultFRC12CTransform4f -/* 802AD834 002AA794 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 802AD838 002AA798 D0 19 00 00 */ stfs f0, 0(r25) -/* 802AD83C 002AA79C C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 802AD840 002AA7A0 D0 19 00 04 */ stfs f0, 4(r25) -/* 802AD844 002AA7A4 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 802AD848 002AA7A8 D0 19 00 08 */ stfs f0, 8(r25) -/* 802AD84C 002AA7AC C0 01 00 EC */ lfs f0, 0xec(r1) -/* 802AD850 002AA7B0 D0 19 00 0C */ stfs f0, 0xc(r25) -/* 802AD854 002AA7B4 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 802AD858 002AA7B8 D0 19 00 10 */ stfs f0, 0x10(r25) -/* 802AD85C 002AA7BC C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 802AD860 002AA7C0 D0 19 00 14 */ stfs f0, 0x14(r25) -/* 802AD864 002AA7C4 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 802AD868 002AA7C8 D0 19 00 18 */ stfs f0, 0x18(r25) -/* 802AD86C 002AA7CC C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 802AD870 002AA7D0 D0 19 00 1C */ stfs f0, 0x1c(r25) -/* 802AD874 002AA7D4 88 01 01 00 */ lbz r0, 0x100(r1) -/* 802AD878 002AA7D8 98 19 00 20 */ stb r0, 0x20(r25) -/* 802AD87C 002AA7DC 80 01 01 08 */ lwz r0, 0x108(r1) -/* 802AD880 002AA7E0 80 61 01 0C */ lwz r3, 0x10c(r1) -/* 802AD884 002AA7E4 90 79 00 2C */ stw r3, 0x2c(r25) -/* 802AD888 002AA7E8 90 19 00 28 */ stw r0, 0x28(r25) -/* 802AD88C 002AA7EC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 802AD890 002AA7F0 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 802AD894 002AA7F4 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 802AD898 002AA7F8 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 802AD89C 002AA7FC BA C1 01 88 */ lmw r22, 0x188(r1) -/* 802AD8A0 002AA800 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 802AD8A4 002AA804 7C 08 03 A6 */ mtlr r0 -/* 802AD8A8 002AA808 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 802AD8AC 002AA80C 4E 80 00 20 */ blr - -.global Transform__14CRayCastResultFRC12CTransform4f -Transform__14CRayCastResultFRC12CTransform4f: -/* 802AD8B0 002AA810 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802AD8B4 002AA814 7C 08 02 A6 */ mflr r0 -/* 802AD8B8 002AA818 90 01 00 34 */ stw r0, 0x34(r1) -/* 802AD8BC 002AA81C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802AD8C0 002AA820 7C 9F 23 78 */ mr r31, r4 -/* 802AD8C4 002AA824 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802AD8C8 002AA828 7C 7E 1B 78 */ mr r30, r3 -/* 802AD8CC 002AA82C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802AD8D0 002AA830 38 BE 00 04 */ addi r5, r30, 4 -/* 802AD8D4 002AA834 48 06 52 15 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802AD8D8 002AA838 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802AD8DC 002AA83C 7F E4 FB 78 */ mr r4, r31 -/* 802AD8E0 002AA840 38 61 00 08 */ addi r3, r1, 8 -/* 802AD8E4 002AA844 38 BE 00 10 */ addi r5, r30, 0x10 -/* 802AD8E8 002AA848 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802AD8EC 002AA84C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802AD8F0 002AA850 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802AD8F4 002AA854 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802AD8F8 002AA858 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802AD8FC 002AA85C 48 06 51 85 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 802AD900 002AA860 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 802AD904 002AA864 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802AD908 002AA868 C0 61 00 08 */ lfs f3, 8(r1) -/* 802AD90C 002AA86C EC 00 01 32 */ fmuls f0, f0, f4 -/* 802AD910 002AA870 C0 3E 00 04 */ lfs f1, 4(r30) -/* 802AD914 002AA874 C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 802AD918 002AA878 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 802AD91C 002AA87C EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 802AD920 002AA880 D0 7E 00 10 */ stfs f3, 0x10(r30) -/* 802AD924 002AA884 D0 9E 00 14 */ stfs f4, 0x14(r30) -/* 802AD928 002AA888 EC 02 01 7A */ fmadds f0, f2, f5, f0 -/* 802AD92C 002AA88C D0 BE 00 18 */ stfs f5, 0x18(r30) -/* 802AD930 002AA890 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802AD934 002AA894 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802AD938 002AA898 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802AD93C 002AA89C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802AD940 002AA8A0 7C 08 03 A6 */ mtlr r0 -/* 802AD944 002AA8A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802AD948 002AA8A8 4E 80 00 20 */ blr - -.global GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi -GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi: -/* 802AD94C 002AA8AC 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 802AD950 002AA8B0 54 83 18 38 */ slwi r3, r4, 3 -/* 802AD954 002AA8B4 38 03 00 04 */ addi r0, r3, 4 -/* 802AD958 002AA8B8 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802AD95C 002AA8BC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802AD960 002AA8C0 4E 80 00 20 */ blr - -.global "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" -"__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList": -/* 802AD964 002AA8C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AD968 002AA8C8 7C 08 02 A6 */ mflr r0 -/* 802AD96C 002AA8CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AD970 002AA8D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AD974 002AA8D4 7C 9F 23 78 */ mr r31, r4 -/* 802AD978 002AA8D8 7C A4 2B 78 */ mr r4, r5 -/* 802AD97C 002AA8DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802AD980 002AA8E0 7C 7E 1B 78 */ mr r30, r3 -/* 802AD984 002AA8E4 48 02 1F 31 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 802AD988 002AA8E8 3C 80 80 3F */ lis r4, lbl_803EC470@ha -/* 802AD98C 002AA8EC 7F C3 F3 78 */ mr r3, r30 -/* 802AD990 002AA8F0 38 04 C4 70 */ addi r0, r4, lbl_803EC470@l -/* 802AD994 002AA8F4 90 1E 00 00 */ stw r0, 0(r30) -/* 802AD998 002AA8F8 93 FE 00 10 */ stw r31, 0x10(r30) -/* 802AD99C 002AA8FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AD9A0 002AA900 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AD9A4 002AA904 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AD9A8 002AA908 7C 08 03 A6 */ mtlr r0 -/* 802AD9AC 002AA90C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AD9B0 002AA910 4E 80 00 20 */ blr - -.global GetType__23CCollidableOBBTreeGroupFv -GetType__23CCollidableOBBTreeGroupFv: -/* 802AD9B4 002AA914 3C A0 80 2B */ lis r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@ha -/* 802AD9B8 002AA918 3C 80 80 3D */ lis r4, lbl_803D60F0@ha -/* 802AD9BC 002AA91C 38 05 D9 D0 */ addi r0, r5, SetStaticTableIndex__23CCollidableOBBTreeGroupFUi@l -/* 802AD9C0 002AA920 90 03 00 00 */ stw r0, 0(r3) -/* 802AD9C4 002AA924 38 04 60 F0 */ addi r0, r4, lbl_803D60F0@l -/* 802AD9C8 002AA928 90 03 00 04 */ stw r0, 4(r3) -/* 802AD9CC 002AA92C 4E 80 00 20 */ blr - -.global SetStaticTableIndex__23CCollidableOBBTreeGroupFUi -SetStaticTableIndex__23CCollidableOBBTreeGroupFUi: -/* 802AD9D0 002AA930 90 6D 9A 78 */ stw r3, lbl_805A8638@sda21(r13) -/* 802AD9D4 002AA934 4E 80 00 20 */ blr - -.global __ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f -__ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f: -/* 802AD9D8 002AA938 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802AD9DC 002AA93C 7C 08 02 A6 */ mflr r0 -/* 802AD9E0 002AA940 3C C0 80 5A */ lis r6, lbl_805A6754@ha -/* 802AD9E4 002AA944 90 01 00 94 */ stw r0, 0x94(r1) -/* 802AD9E8 002AA948 38 00 00 00 */ li r0, 0 -/* 802AD9EC 002AA94C BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 802AD9F0 002AA950 7C BB 2B 78 */ mr r27, r5 -/* 802AD9F4 002AA954 7C 9C 23 78 */ mr r28, r4 -/* 802AD9F8 002AA958 38 A6 67 54 */ addi r5, r6, lbl_805A6754@l -/* 802AD9FC 002AA95C 7C 7D 1B 78 */ mr r29, r3 -/* 802ADA00 002AA960 38 80 00 01 */ li r4, 1 -/* 802ADA04 002AA964 90 03 00 04 */ stw r0, 4(r3) -/* 802ADA08 002AA968 90 03 00 08 */ stw r0, 8(r3) -/* 802ADA0C 002AA96C 90 03 00 0C */ stw r0, 0xc(r3) -/* 802ADA10 002AA970 90 03 00 14 */ stw r0, 0x14(r3) -/* 802ADA14 002AA974 90 03 00 18 */ stw r0, 0x18(r3) -/* 802ADA18 002AA978 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802ADA1C 002AA97C C0 05 00 00 */ lfs f0, 0(r5) -/* 802ADA20 002AA980 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802ADA24 002AA984 C0 05 00 04 */ lfs f0, 4(r5) -/* 802ADA28 002AA988 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802ADA2C 002AA98C C0 05 00 08 */ lfs f0, 8(r5) -/* 802ADA30 002AA990 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802ADA34 002AA994 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 802ADA38 002AA998 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802ADA3C 002AA99C C0 05 00 10 */ lfs f0, 0x10(r5) -/* 802ADA40 002AA9A0 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 802ADA44 002AA9A4 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802ADA48 002AA9A8 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802ADA4C 002AA9AC 48 00 07 6D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" -/* 802ADA50 002AA9B0 7F 84 E3 78 */ mr r4, r28 -/* 802ADA54 002AA9B4 7F 65 DB 78 */ mr r5, r27 -/* 802ADA58 002AA9B8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802ADA5C 002AA9BC 4B FF A5 B5 */ bl BuildOrientedBoundingBoxTree__8COBBTreeFRC9CVector3fRC9CVector3f -/* 802ADA60 002AA9C0 88 81 00 18 */ lbz r4, 0x18(r1) -/* 802ADA64 002AA9C4 38 00 00 00 */ li r0, 0 -/* 802ADA68 002AA9C8 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802ADA6C 002AA9CC 98 01 00 18 */ stb r0, 0x18(r1) -/* 802ADA70 002AA9D0 80 1D 00 04 */ lwz r0, 4(r29) -/* 802ADA74 002AA9D4 80 BD 00 08 */ lwz r5, 8(r29) -/* 802ADA78 002AA9D8 98 81 00 10 */ stb r4, 0x10(r1) -/* 802ADA7C 002AA9DC 7C 00 28 00 */ cmpw r0, r5 -/* 802ADA80 002AA9E0 90 61 00 14 */ stw r3, 0x14(r1) -/* 802ADA84 002AA9E4 41 80 00 1C */ blt lbl_802ADAA0 -/* 802ADA88 002AA9E8 2C 05 00 00 */ cmpwi r5, 0 -/* 802ADA8C 002AA9EC 7F A3 EB 78 */ mr r3, r29 -/* 802ADA90 002AA9F0 38 80 00 04 */ li r4, 4 -/* 802ADA94 002AA9F4 41 82 00 08 */ beq lbl_802ADA9C -/* 802ADA98 002AA9F8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802ADA9C: -/* 802ADA9C 002AA9FC 48 00 07 1D */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" -lbl_802ADAA0: -/* 802ADAA0 002AAA00 80 1D 00 04 */ lwz r0, 4(r29) -/* 802ADAA4 002AAA04 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802ADAA8 002AAA08 54 00 18 38 */ slwi r0, r0, 3 -/* 802ADAAC 002AAA0C 7C A3 02 15 */ add. r5, r3, r0 -/* 802ADAB0 002AAA10 41 82 00 1C */ beq lbl_802ADACC -/* 802ADAB4 002AAA14 88 81 00 10 */ lbz r4, 0x10(r1) -/* 802ADAB8 002AAA18 38 00 00 00 */ li r0, 0 -/* 802ADABC 002AAA1C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802ADAC0 002AAA20 98 85 00 00 */ stb r4, 0(r5) -/* 802ADAC4 002AAA24 90 65 00 04 */ stw r3, 4(r5) -/* 802ADAC8 002AAA28 98 01 00 10 */ stb r0, 0x10(r1) -lbl_802ADACC: -/* 802ADACC 002AAA2C 80 7D 00 04 */ lwz r3, 4(r29) -/* 802ADAD0 002AAA30 88 01 00 10 */ lbz r0, 0x10(r1) -/* 802ADAD4 002AAA34 38 63 00 01 */ addi r3, r3, 1 -/* 802ADAD8 002AAA38 28 00 00 00 */ cmplwi r0, 0 -/* 802ADADC 002AAA3C 90 7D 00 04 */ stw r3, 4(r29) -/* 802ADAE0 002AAA40 41 82 00 10 */ beq lbl_802ADAF0 -/* 802ADAE4 002AAA44 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802ADAE8 002AAA48 38 80 00 01 */ li r4, 1 -/* 802ADAEC 002AAA4C 4B FF B2 25 */ bl __dt__8COBBTreeFv -lbl_802ADAF0: -/* 802ADAF0 002AAA50 88 01 00 18 */ lbz r0, 0x18(r1) -/* 802ADAF4 002AAA54 28 00 00 00 */ cmplwi r0, 0 -/* 802ADAF8 002AAA58 41 82 00 10 */ beq lbl_802ADB08 -/* 802ADAFC 002AAA5C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802ADB00 002AAA60 38 80 00 01 */ li r4, 1 -/* 802ADB04 002AAA64 4B FF B2 0D */ bl __dt__8COBBTreeFv -lbl_802ADB08: -/* 802ADB08 002AAA68 38 7D 00 10 */ addi r3, r29, 0x10 -/* 802ADB0C 002AAA6C 38 80 00 01 */ li r4, 1 -/* 802ADB10 002AAA70 48 00 07 B9 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" -/* 802ADB14 002AAA74 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802ADB18 002AAA78 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802ADB1C 002AAA7C 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 802ADB20 002AAA80 3B C1 00 44 */ addi r30, r1, 0x44 -/* 802ADB24 002AAA84 3B 64 C4 48 */ addi r27, r4, lbl_803EC448@l -/* 802ADB28 002AAA88 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l -/* 802ADB2C 002AAA8C 48 00 00 F8 */ b lbl_802ADC24 -lbl_802ADB30: -/* 802ADB30 002AAA90 38 00 00 00 */ li r0, 0 -/* 802ADB34 002AAA94 38 61 00 50 */ addi r3, r1, 0x50 -/* 802ADB38 002AAA98 90 01 00 0C */ stw r0, 0xc(r1) -/* 802ADB3C 002AAA9C 38 A1 00 08 */ addi r5, r1, 8 -/* 802ADB40 002AAAA0 90 01 00 08 */ stw r0, 8(r1) -/* 802ADB44 002AAAA4 80 9F 00 04 */ lwz r4, 4(r31) -/* 802ADB48 002AAAA8 4B FF EB 9D */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802ADB4C 002AAAAC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802ADB50 002AAAB0 38 81 00 50 */ addi r4, r1, 0x50 -/* 802ADB54 002AAAB4 4B FF EA D9 */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv -/* 802ADB58 002AAAB8 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802ADB5C 002AAABC C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802ADB60 002AAAC0 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802ADB64 002AAAC4 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802ADB68 002AAAC8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802ADB6C 002AAACC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802ADB70 002AAAD0 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 802ADB74 002AAAD4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 802ADB78 002AAAD8 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802ADB7C 002AAADC D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802ADB80 002AAAE0 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802ADB84 002AAAE4 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802ADB88 002AAAE8 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 802ADB8C 002AAAEC 80 BD 00 18 */ lwz r5, 0x18(r29) -/* 802ADB90 002AAAF0 7C 00 28 00 */ cmpw r0, r5 -/* 802ADB94 002AAAF4 41 80 00 1C */ blt lbl_802ADBB0 -/* 802ADB98 002AAAF8 2C 05 00 00 */ cmpwi r5, 0 -/* 802ADB9C 002AAAFC 38 7D 00 10 */ addi r3, r29, 0x10 -/* 802ADBA0 002AAB00 38 80 00 04 */ li r4, 4 -/* 802ADBA4 002AAB04 41 82 00 08 */ beq lbl_802ADBAC -/* 802ADBA8 002AAB08 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802ADBAC: -/* 802ADBAC 002AAB0C 48 00 07 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" -lbl_802ADBB0: -/* 802ADBB0 002AAB10 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 802ADBB4 002AAB14 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 802ADBB8 002AAB18 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802ADBBC 002AAB1C 7C 63 02 15 */ add. r3, r3, r0 -/* 802ADBC0 002AAB20 41 82 00 34 */ beq lbl_802ADBF4 -/* 802ADBC4 002AAB24 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802ADBC8 002AAB28 D0 03 00 00 */ stfs f0, 0(r3) -/* 802ADBCC 002AAB2C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802ADBD0 002AAB30 D0 03 00 04 */ stfs f0, 4(r3) -/* 802ADBD4 002AAB34 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802ADBD8 002AAB38 D0 03 00 08 */ stfs f0, 8(r3) -/* 802ADBDC 002AAB3C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802ADBE0 002AAB40 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802ADBE4 002AAB44 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802ADBE8 002AAB48 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802ADBEC 002AAB4C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802ADBF0 002AAB50 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802ADBF4: -/* 802ADBF4 002AAB54 80 BD 00 14 */ lwz r5, 0x14(r29) -/* 802ADBF8 002AAB58 38 7D 00 20 */ addi r3, r29, 0x20 -/* 802ADBFC 002AAB5C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802ADC00 002AAB60 38 05 00 01 */ addi r0, r5, 1 -/* 802ADC04 002AAB64 90 1D 00 14 */ stw r0, 0x14(r29) -/* 802ADC08 002AAB68 48 08 9F 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ADC0C 002AAB6C 7F C4 F3 78 */ mr r4, r30 -/* 802ADC10 002AAB70 38 7D 00 20 */ addi r3, r29, 0x20 -/* 802ADC14 002AAB74 48 08 9E F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ADC18 002AAB78 93 61 00 50 */ stw r27, 0x50(r1) -/* 802ADC1C 002AAB7C 3B FF 00 08 */ addi r31, r31, 8 -/* 802ADC20 002AAB80 93 81 00 50 */ stw r28, 0x50(r1) -lbl_802ADC24: -/* 802ADC24 002AAB84 80 1D 00 04 */ lwz r0, 4(r29) -/* 802ADC28 002AAB88 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802ADC2C 002AAB8C 54 00 18 38 */ slwi r0, r0, 3 -/* 802ADC30 002AAB90 7C 03 02 14 */ add r0, r3, r0 -/* 802ADC34 002AAB94 7C 1F 00 40 */ cmplw r31, r0 -/* 802ADC38 002AAB98 40 82 FE F8 */ bne lbl_802ADB30 -/* 802ADC3C 002AAB9C 7F A3 EB 78 */ mr r3, r29 -/* 802ADC40 002AABA0 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 802ADC44 002AABA4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802ADC48 002AABA8 7C 08 03 A6 */ mtlr r0 -/* 802ADC4C 002AABAC 38 21 00 90 */ addi r1, r1, 0x90 -/* 802ADC50 002AABB0 4E 80 00 20 */ blr - -.global __ct__23CCollidableOBBTreeGroupFR12CInputStream -__ct__23CCollidableOBBTreeGroupFR12CInputStream: -/* 802ADC54 002AABB4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802ADC58 002AABB8 7C 08 02 A6 */ mflr r0 -/* 802ADC5C 002AABBC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802ADC60 002AABC0 38 00 00 00 */ li r0, 0 -/* 802ADC64 002AABC4 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 802ADC68 002AABC8 7C 7B 1B 78 */ mr r27, r3 -/* 802ADC6C 002AABCC 7C 9C 23 78 */ mr r28, r4 -/* 802ADC70 002AABD0 90 03 00 04 */ stw r0, 4(r3) -/* 802ADC74 002AABD4 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802ADC78 002AABD8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 802ADC7C 002AABDC 90 1B 00 08 */ stw r0, 8(r27) -/* 802ADC80 002AABE0 7F 83 E3 78 */ mr r3, r28 -/* 802ADC84 002AABE4 90 1B 00 0C */ stw r0, 0xc(r27) -/* 802ADC88 002AABE8 90 1B 00 14 */ stw r0, 0x14(r27) -/* 802ADC8C 002AABEC 90 1B 00 18 */ stw r0, 0x18(r27) -/* 802ADC90 002AABF0 90 1B 00 1C */ stw r0, 0x1c(r27) -/* 802ADC94 002AABF4 C0 04 00 00 */ lfs f0, 0(r4) -/* 802ADC98 002AABF8 D0 1B 00 20 */ stfs f0, 0x20(r27) -/* 802ADC9C 002AABFC C0 04 00 04 */ lfs f0, 4(r4) -/* 802ADCA0 002AAC00 D0 1B 00 24 */ stfs f0, 0x24(r27) -/* 802ADCA4 002AAC04 C0 04 00 08 */ lfs f0, 8(r4) -/* 802ADCA8 002AAC08 D0 1B 00 28 */ stfs f0, 0x28(r27) -/* 802ADCAC 002AAC0C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802ADCB0 002AAC10 D0 1B 00 2C */ stfs f0, 0x2c(r27) -/* 802ADCB4 002AAC14 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802ADCB8 002AAC18 D0 1B 00 30 */ stfs f0, 0x30(r27) -/* 802ADCBC 002AAC1C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802ADCC0 002AAC20 D0 1B 00 34 */ stfs f0, 0x34(r27) -/* 802ADCC4 002AAC24 48 09 0F C1 */ bl ReadLong__12CInputStreamFv -/* 802ADCC8 002AAC28 7C 7E 1B 78 */ mr r30, r3 -/* 802ADCCC 002AAC2C 7F 63 DB 78 */ mr r3, r27 -/* 802ADCD0 002AAC30 7F C4 F3 78 */ mr r4, r30 -/* 802ADCD4 002AAC34 48 00 04 E5 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" -/* 802ADCD8 002AAC38 3C 60 80 3D */ lis r3, lbl_803D60F0@ha -/* 802ADCDC 002AAC3C 3B A0 00 00 */ li r29, 0 -/* 802ADCE0 002AAC40 3B E3 60 F0 */ addi r31, r3, lbl_803D60F0@l -/* 802ADCE4 002AAC44 48 00 00 B8 */ b lbl_802ADD9C -lbl_802ADCE8: -/* 802ADCE8 002AAC48 38 9F 00 18 */ addi r4, r31, 0x18 -/* 802ADCEC 002AAC4C 38 60 00 8C */ li r3, 0x8c -/* 802ADCF0 002AAC50 38 A0 00 00 */ li r5, 0 -/* 802ADCF4 002AAC54 48 06 7B 79 */ bl __nw__FUlPCcPCc -/* 802ADCF8 002AAC58 7C 64 1B 79 */ or. r4, r3, r3 -/* 802ADCFC 002AAC5C 41 82 00 10 */ beq lbl_802ADD0C -/* 802ADD00 002AAC60 7F 84 E3 78 */ mr r4, r28 -/* 802ADD04 002AAC64 4B FF B0 9D */ bl __ct__8COBBTreeFR12CInputStream -/* 802ADD08 002AAC68 7C 64 1B 78 */ mr r4, r3 -lbl_802ADD0C: -/* 802ADD0C 002AAC6C 7C 64 00 D0 */ neg r3, r4 -/* 802ADD10 002AAC70 80 1B 00 04 */ lwz r0, 4(r27) -/* 802ADD14 002AAC74 80 BB 00 08 */ lwz r5, 8(r27) -/* 802ADD18 002AAC78 7C 63 23 78 */ or r3, r3, r4 -/* 802ADD1C 002AAC7C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 802ADD20 002AAC80 90 81 00 14 */ stw r4, 0x14(r1) -/* 802ADD24 002AAC84 7C 00 28 00 */ cmpw r0, r5 -/* 802ADD28 002AAC88 98 61 00 10 */ stb r3, 0x10(r1) -/* 802ADD2C 002AAC8C 41 80 00 1C */ blt lbl_802ADD48 -/* 802ADD30 002AAC90 2C 05 00 00 */ cmpwi r5, 0 -/* 802ADD34 002AAC94 7F 63 DB 78 */ mr r3, r27 -/* 802ADD38 002AAC98 38 80 00 04 */ li r4, 4 -/* 802ADD3C 002AAC9C 41 82 00 08 */ beq lbl_802ADD44 -/* 802ADD40 002AACA0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802ADD44: -/* 802ADD44 002AACA4 48 00 04 75 */ bl "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" -lbl_802ADD48: -/* 802ADD48 002AACA8 80 1B 00 04 */ lwz r0, 4(r27) -/* 802ADD4C 002AACAC 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802ADD50 002AACB0 54 00 18 38 */ slwi r0, r0, 3 -/* 802ADD54 002AACB4 7C A3 02 15 */ add. r5, r3, r0 -/* 802ADD58 002AACB8 41 82 00 1C */ beq lbl_802ADD74 -/* 802ADD5C 002AACBC 88 81 00 10 */ lbz r4, 0x10(r1) -/* 802ADD60 002AACC0 38 00 00 00 */ li r0, 0 -/* 802ADD64 002AACC4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802ADD68 002AACC8 98 85 00 00 */ stb r4, 0(r5) -/* 802ADD6C 002AACCC 90 65 00 04 */ stw r3, 4(r5) -/* 802ADD70 002AACD0 98 01 00 10 */ stb r0, 0x10(r1) -lbl_802ADD74: -/* 802ADD74 002AACD4 80 7B 00 04 */ lwz r3, 4(r27) -/* 802ADD78 002AACD8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 802ADD7C 002AACDC 38 63 00 01 */ addi r3, r3, 1 -/* 802ADD80 002AACE0 28 00 00 00 */ cmplwi r0, 0 -/* 802ADD84 002AACE4 90 7B 00 04 */ stw r3, 4(r27) -/* 802ADD88 002AACE8 41 82 00 10 */ beq lbl_802ADD98 -/* 802ADD8C 002AACEC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802ADD90 002AACF0 38 80 00 01 */ li r4, 1 -/* 802ADD94 002AACF4 4B FF AF 7D */ bl __dt__8COBBTreeFv -lbl_802ADD98: -/* 802ADD98 002AACF8 3B BD 00 01 */ addi r29, r29, 1 -lbl_802ADD9C: -/* 802ADD9C 002AACFC 7C 1D F0 40 */ cmplw r29, r30 -/* 802ADDA0 002AAD00 41 80 FF 48 */ blt lbl_802ADCE8 -/* 802ADDA4 002AAD04 80 9B 00 04 */ lwz r4, 4(r27) -/* 802ADDA8 002AAD08 38 7B 00 10 */ addi r3, r27, 0x10 -/* 802ADDAC 002AAD0C 48 00 05 1D */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" -/* 802ADDB0 002AAD10 3C 80 80 3F */ lis r4, lbl_803EC448@ha -/* 802ADDB4 002AAD14 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 802ADDB8 002AAD18 83 DB 00 0C */ lwz r30, 0xc(r27) -/* 802ADDBC 002AAD1C 3B E1 00 3C */ addi r31, r1, 0x3c -/* 802ADDC0 002AAD20 3B A4 C4 48 */ addi r29, r4, lbl_803EC448@l -/* 802ADDC4 002AAD24 3B 83 97 E4 */ addi r28, r3, lbl_803D97E4@l -/* 802ADDC8 002AAD28 48 00 00 F8 */ b lbl_802ADEC0 -lbl_802ADDCC: -/* 802ADDCC 002AAD2C 38 00 00 00 */ li r0, 0 -/* 802ADDD0 002AAD30 38 61 00 48 */ addi r3, r1, 0x48 -/* 802ADDD4 002AAD34 90 01 00 0C */ stw r0, 0xc(r1) -/* 802ADDD8 002AAD38 38 A1 00 08 */ addi r5, r1, 8 -/* 802ADDDC 002AAD3C 90 01 00 08 */ stw r0, 8(r1) -/* 802ADDE0 002AAD40 80 9E 00 04 */ lwz r4, 4(r30) -/* 802ADDE4 002AAD44 4B FF E9 01 */ bl __ct__18CCollidableOBBTreeFP8COBBTreeRC13CMaterialList -/* 802ADDE8 002AAD48 38 61 00 18 */ addi r3, r1, 0x18 -/* 802ADDEC 002AAD4C 38 81 00 48 */ addi r4, r1, 0x48 -/* 802ADDF0 002AAD50 4B FF E8 3D */ bl CalculateLocalAABox__18CCollidableOBBTreeCFv -/* 802ADDF4 002AAD54 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 802ADDF8 002AAD58 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 802ADDFC 002AAD5C C0 61 00 20 */ lfs f3, 0x20(r1) -/* 802ADE00 002AAD60 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 802ADE04 002AAD64 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802ADE08 002AAD68 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802ADE0C 002AAD6C D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 802ADE10 002AAD70 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 802ADE14 002AAD74 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802ADE18 002AAD78 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802ADE1C 002AAD7C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802ADE20 002AAD80 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802ADE24 002AAD84 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 802ADE28 002AAD88 80 BB 00 18 */ lwz r5, 0x18(r27) -/* 802ADE2C 002AAD8C 7C 00 28 00 */ cmpw r0, r5 -/* 802ADE30 002AAD90 41 80 00 1C */ blt lbl_802ADE4C -/* 802ADE34 002AAD94 2C 05 00 00 */ cmpwi r5, 0 -/* 802ADE38 002AAD98 38 7B 00 10 */ addi r3, r27, 0x10 -/* 802ADE3C 002AAD9C 38 80 00 04 */ li r4, 4 -/* 802ADE40 002AADA0 41 82 00 08 */ beq lbl_802ADE48 -/* 802ADE44 002AADA4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802ADE48: -/* 802ADE48 002AADA8 48 00 04 81 */ bl "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" -lbl_802ADE4C: -/* 802ADE4C 002AADAC 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 802ADE50 002AADB0 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 802ADE54 002AADB4 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802ADE58 002AADB8 7C 63 02 15 */ add. r3, r3, r0 -/* 802ADE5C 002AADBC 41 82 00 34 */ beq lbl_802ADE90 -/* 802ADE60 002AADC0 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802ADE64 002AADC4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802ADE68 002AADC8 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802ADE6C 002AADCC D0 03 00 04 */ stfs f0, 4(r3) -/* 802ADE70 002AADD0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802ADE74 002AADD4 D0 03 00 08 */ stfs f0, 8(r3) -/* 802ADE78 002AADD8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802ADE7C 002AADDC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802ADE80 002AADE0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802ADE84 002AADE4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802ADE88 002AADE8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802ADE8C 002AADEC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802ADE90: -/* 802ADE90 002AADF0 80 BB 00 14 */ lwz r5, 0x14(r27) -/* 802ADE94 002AADF4 38 7B 00 20 */ addi r3, r27, 0x20 -/* 802ADE98 002AADF8 38 81 00 30 */ addi r4, r1, 0x30 -/* 802ADE9C 002AADFC 38 05 00 01 */ addi r0, r5, 1 -/* 802ADEA0 002AAE00 90 1B 00 14 */ stw r0, 0x14(r27) -/* 802ADEA4 002AAE04 48 08 9C 65 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ADEA8 002AAE08 7F E4 FB 78 */ mr r4, r31 -/* 802ADEAC 002AAE0C 38 7B 00 20 */ addi r3, r27, 0x20 -/* 802ADEB0 002AAE10 48 08 9C 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802ADEB4 002AAE14 93 A1 00 48 */ stw r29, 0x48(r1) -/* 802ADEB8 002AAE18 3B DE 00 08 */ addi r30, r30, 8 -/* 802ADEBC 002AAE1C 93 81 00 48 */ stw r28, 0x48(r1) -lbl_802ADEC0: -/* 802ADEC0 002AAE20 80 1B 00 04 */ lwz r0, 4(r27) -/* 802ADEC4 002AAE24 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802ADEC8 002AAE28 54 00 18 38 */ slwi r0, r0, 3 -/* 802ADECC 002AAE2C 7C 03 02 14 */ add r0, r3, r0 -/* 802ADED0 002AAE30 7C 1E 00 40 */ cmplw r30, r0 -/* 802ADED4 002AAE34 40 82 FE F8 */ bne lbl_802ADDCC -/* 802ADED8 002AAE38 7F 63 DB 78 */ mr r3, r27 -/* 802ADEDC 002AAE3C BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 802ADEE0 002AAE40 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802ADEE4 002AAE44 7C 08 03 A6 */ mtlr r0 -/* 802ADEE8 002AAE48 38 21 00 80 */ addi r1, r1, 0x80 -/* 802ADEEC 002AAE4C 4E 80 00 20 */ blr - -.global FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FCollidableOBBTreeGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802ADEF0 002AAE50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802ADEF4 002AAE54 7C 08 02 A6 */ mflr r0 -/* 802ADEF8 002AAE58 3C 80 80 3D */ lis r4, lbl_803D60F0@ha -/* 802ADEFC 002AAE5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802ADF00 002AAE60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802ADF04 002AAE64 7C BF 2B 78 */ mr r31, r5 -/* 802ADF08 002AAE68 38 A0 00 00 */ li r5, 0 -/* 802ADF0C 002AAE6C 93 C1 00 08 */ stw r30, 8(r1) -/* 802ADF10 002AAE70 7C 7E 1B 78 */ mr r30, r3 -/* 802ADF14 002AAE74 38 64 60 F0 */ addi r3, r4, lbl_803D60F0@l -/* 802ADF18 002AAE78 38 83 00 18 */ addi r4, r3, 0x18 -/* 802ADF1C 002AAE7C 38 60 00 38 */ li r3, 0x38 -/* 802ADF20 002AAE80 48 06 79 4D */ bl __nw__FUlPCcPCc -/* 802ADF24 002AAE84 7C 64 1B 79 */ or. r4, r3, r3 -/* 802ADF28 002AAE88 41 82 00 10 */ beq lbl_802ADF38 -/* 802ADF2C 002AAE8C 7F E4 FB 78 */ mr r4, r31 -/* 802ADF30 002AAE90 4B FF FD 25 */ bl __ct__23CCollidableOBBTreeGroupFR12CInputStream -/* 802ADF34 002AAE94 7C 64 1B 78 */ mr r4, r3 -lbl_802ADF38: -/* 802ADF38 002AAE98 7F C3 F3 78 */ mr r3, r30 -/* 802ADF3C 002AAE9C 48 00 00 1D */ bl "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" -/* 802ADF40 002AAEA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802ADF44 002AAEA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802ADF48 002AAEA8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802ADF4C 002AAEAC 7C 08 03 A6 */ mtlr r0 -/* 802ADF50 002AAEB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802ADF54 002AAEB4 4E 80 00 20 */ blr - -.global "__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup" -"__ct<23CCollidableOBBTreeGroup>__16CFactoryFnReturnFP23CCollidableOBBTreeGroup": -/* 802ADF58 002AAEB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802ADF5C 002AAEBC 7C 08 02 A6 */ mflr r0 -/* 802ADF60 002AAEC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802ADF64 002AAEC4 7C 04 00 D0 */ neg r0, r4 -/* 802ADF68 002AAEC8 7C 00 23 78 */ or r0, r0, r4 -/* 802ADF6C 002AAECC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802ADF70 002AAED0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802ADF74 002AAED4 7C 7F 1B 78 */ mr r31, r3 -/* 802ADF78 002AAED8 38 61 00 08 */ addi r3, r1, 8 -/* 802ADF7C 002AAEDC 90 81 00 14 */ stw r4, 0x14(r1) -/* 802ADF80 002AAEE0 38 81 00 10 */ addi r4, r1, 0x10 -/* 802ADF84 002AAEE4 98 01 00 10 */ stb r0, 0x10(r1) -/* 802ADF88 002AAEE8 48 00 01 05 */ bl "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" -/* 802ADF8C 002AAEEC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802ADF90 002AAEF0 38 00 00 00 */ li r0, 0 -/* 802ADF94 002AAEF4 98 01 00 08 */ stb r0, 8(r1) -/* 802ADF98 002AAEF8 7C 03 00 D0 */ neg r0, r3 -/* 802ADF9C 002AAEFC 7C 00 1B 78 */ or r0, r0, r3 -/* 802ADFA0 002AAF00 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802ADFA4 002AAF04 98 1F 00 00 */ stb r0, 0(r31) -/* 802ADFA8 002AAF08 90 7F 00 04 */ stw r3, 4(r31) -/* 802ADFAC 002AAF0C 88 01 00 08 */ lbz r0, 8(r1) -/* 802ADFB0 002AAF10 28 00 00 00 */ cmplwi r0, 0 -/* 802ADFB4 002AAF14 41 82 00 24 */ beq lbl_802ADFD8 -/* 802ADFB8 002AAF18 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802ADFBC 002AAF1C 28 03 00 00 */ cmplwi r3, 0 -/* 802ADFC0 002AAF20 41 82 00 18 */ beq lbl_802ADFD8 -/* 802ADFC4 002AAF24 81 83 00 00 */ lwz r12, 0(r3) -/* 802ADFC8 002AAF28 38 80 00 01 */ li r4, 1 -/* 802ADFCC 002AAF2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802ADFD0 002AAF30 7D 89 03 A6 */ mtctr r12 -/* 802ADFD4 002AAF34 4E 80 04 21 */ bctrl -lbl_802ADFD8: -/* 802ADFD8 002AAF38 38 61 00 10 */ addi r3, r1, 0x10 -/* 802ADFDC 002AAF3C 38 80 FF FF */ li r4, -1 -/* 802ADFE0 002AAF40 48 00 01 75 */ bl sub_802ae154 -/* 802ADFE4 002AAF44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802ADFE8 002AAF48 7F E3 FB 78 */ mr r3, r31 -/* 802ADFEC 002AAF4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802ADFF0 002AAF50 7C 08 03 A6 */ mtlr r0 -/* 802ADFF4 002AAF54 38 21 00 20 */ addi r1, r1, 0x20 -/* 802ADFF8 002AAF58 4E 80 00 20 */ blr - -.global "__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv" -"__dt__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>Fv": -/* 802ADFFC 002AAF5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AE000 002AAF60 7C 08 02 A6 */ mflr r0 -/* 802AE004 002AAF64 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AE008 002AAF68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AE00C 002AAF6C 7C 9F 23 78 */ mr r31, r4 -/* 802AE010 002AAF70 93 C1 00 08 */ stw r30, 8(r1) -/* 802AE014 002AAF74 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802AE018 002AAF78 41 82 00 58 */ beq lbl_802AE070 -/* 802AE01C 002AAF7C 3C 60 80 3F */ lis r3, lbl_803EC498@ha -/* 802AE020 002AAF80 38 03 C4 98 */ addi r0, r3, lbl_803EC498@l -/* 802AE024 002AAF84 90 1E 00 00 */ stw r0, 0(r30) -/* 802AE028 002AAF88 80 7E 00 04 */ lwz r3, 4(r30) -/* 802AE02C 002AAF8C 28 03 00 00 */ cmplwi r3, 0 -/* 802AE030 002AAF90 41 82 00 0C */ beq lbl_802AE03C -/* 802AE034 002AAF94 38 80 00 01 */ li r4, 1 -/* 802AE038 002AAF98 4B EF A9 D5 */ bl sub_801a8a0c -lbl_802AE03C: -/* 802AE03C 002AAF9C 28 1E 00 00 */ cmplwi r30, 0 -/* 802AE040 002AAFA0 41 82 00 20 */ beq lbl_802AE060 -/* 802AE044 002AAFA4 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802AE048 002AAFA8 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802AE04C 002AAFAC 90 1E 00 00 */ stw r0, 0(r30) -/* 802AE050 002AAFB0 41 82 00 10 */ beq lbl_802AE060 -/* 802AE054 002AAFB4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802AE058 002AAFB8 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802AE05C 002AAFBC 90 1E 00 00 */ stw r0, 0(r30) -lbl_802AE060: -/* 802AE060 002AAFC0 7F E0 07 35 */ extsh. r0, r31 -/* 802AE064 002AAFC4 40 81 00 0C */ ble lbl_802AE070 -/* 802AE068 002AAFC8 7F C3 F3 78 */ mr r3, r30 -/* 802AE06C 002AAFCC 48 06 78 C5 */ bl Free__7CMemoryFPCv -lbl_802AE070: -/* 802AE070 002AAFD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AE074 002AAFD4 7F C3 F3 78 */ mr r3, r30 -/* 802AE078 002AAFD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AE07C 002AAFDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AE080 002AAFE0 7C 08 03 A6 */ mtlr r0 -/* 802AE084 002AAFE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AE088 002AAFE8 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" -"GetIObjObjectFor__33TToken<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": -/* 802AE08C 002AAFEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AE090 002AAFF0 7C 08 02 A6 */ mflr r0 -/* 802AE094 002AAFF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AE098 002AAFF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AE09C 002AAFFC 7C 7F 1B 78 */ mr r31, r3 -/* 802AE0A0 002AB000 48 00 00 19 */ bl "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" -/* 802AE0A4 002AB004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AE0A8 002AB008 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AE0AC 002AB00C 7C 08 03 A6 */ mtlr r0 -/* 802AE0B0 002AB010 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AE0B4 002AB014 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>" -"GetNewDerivedObject__51TObjOwnerDerivedFromIObj<23CCollidableOBBTreeGroup>FRCQ24rstl35auto_ptr<23CCollidableOBBTreeGroup>": -/* 802AE0B8 002AB018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AE0BC 002AB01C 7C 08 02 A6 */ mflr r0 -/* 802AE0C0 002AB020 3C A0 80 3D */ lis r5, lbl_803D60F0@ha -/* 802AE0C4 002AB024 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AE0C8 002AB028 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AE0CC 002AB02C 7C 9F 23 78 */ mr r31, r4 -/* 802AE0D0 002AB030 93 C1 00 08 */ stw r30, 8(r1) -/* 802AE0D4 002AB034 7C 7E 1B 78 */ mr r30, r3 -/* 802AE0D8 002AB038 38 65 60 F0 */ addi r3, r5, lbl_803D60F0@l -/* 802AE0DC 002AB03C 38 A0 00 00 */ li r5, 0 -/* 802AE0E0 002AB040 38 83 00 18 */ addi r4, r3, 0x18 -/* 802AE0E4 002AB044 38 60 00 08 */ li r3, 8 -/* 802AE0E8 002AB048 48 06 77 85 */ bl __nw__FUlPCcPCc -/* 802AE0EC 002AB04C 28 03 00 00 */ cmplwi r3, 0 -/* 802AE0F0 002AB050 41 82 00 38 */ beq lbl_802AE128 -/* 802AE0F4 002AB054 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802AE0F8 002AB058 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802AE0FC 002AB05C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802AE100 002AB060 3C 80 80 3F */ lis r4, lbl_803EC498@ha -/* 802AE104 002AB064 90 03 00 00 */ stw r0, 0(r3) -/* 802AE108 002AB068 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802AE10C 002AB06C 38 A0 00 00 */ li r5, 0 -/* 802AE110 002AB070 38 04 C4 98 */ addi r0, r4, lbl_803EC498@l -/* 802AE114 002AB074 90 C3 00 00 */ stw r6, 0(r3) -/* 802AE118 002AB078 98 BF 00 00 */ stb r5, 0(r31) -/* 802AE11C 002AB07C 80 9F 00 04 */ lwz r4, 4(r31) -/* 802AE120 002AB080 90 83 00 04 */ stw r4, 4(r3) -/* 802AE124 002AB084 90 03 00 00 */ stw r0, 0(r3) -lbl_802AE128: -/* 802AE128 002AB088 7C 03 00 D0 */ neg r0, r3 -/* 802AE12C 002AB08C 7C 00 1B 78 */ or r0, r0, r3 -/* 802AE130 002AB090 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802AE134 002AB094 98 1E 00 00 */ stb r0, 0(r30) -/* 802AE138 002AB098 90 7E 00 04 */ stw r3, 4(r30) -/* 802AE13C 002AB09C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AE140 002AB0A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AE144 002AB0A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AE148 002AB0A8 7C 08 03 A6 */ mtlr r0 -/* 802AE14C 002AB0AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AE150 002AB0B0 4E 80 00 20 */ blr - -.global sub_802ae154 -sub_802ae154: -/* 802AE154 002AB0B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AE158 002AB0B8 7C 08 02 A6 */ mflr r0 -/* 802AE15C 002AB0BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AE160 002AB0C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AE164 002AB0C4 7C 9F 23 78 */ mr r31, r4 -/* 802AE168 002AB0C8 93 C1 00 08 */ stw r30, 8(r1) -/* 802AE16C 002AB0CC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802AE170 002AB0D0 41 82 00 2C */ beq lbl_802AE19C -/* 802AE174 002AB0D4 88 1E 00 00 */ lbz r0, 0(r30) -/* 802AE178 002AB0D8 28 00 00 00 */ cmplwi r0, 0 -/* 802AE17C 002AB0DC 41 82 00 10 */ beq lbl_802AE18C -/* 802AE180 002AB0E0 80 7E 00 04 */ lwz r3, 4(r30) -/* 802AE184 002AB0E4 38 80 00 01 */ li r4, 1 -/* 802AE188 002AB0E8 4B EF A8 85 */ bl sub_801a8a0c -lbl_802AE18C: -/* 802AE18C 002AB0EC 7F E0 07 35 */ extsh. r0, r31 -/* 802AE190 002AB0F0 40 81 00 0C */ ble lbl_802AE19C -/* 802AE194 002AB0F4 7F C3 F3 78 */ mr r3, r30 -/* 802AE198 002AB0F8 48 06 77 99 */ bl Free__7CMemoryFPCv -lbl_802AE19C: -/* 802AE19C 002AB0FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AE1A0 002AB100 7F C3 F3 78 */ mr r3, r30 -/* 802AE1A4 002AB104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AE1A8 002AB108 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AE1AC 002AB10C 7C 08 03 A6 */ mtlr r0 -/* 802AE1B0 002AB110 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AE1B4 002AB114 4E 80 00 20 */ blr - -.global "reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl44vector<8COBBTree,Q24rstl17rmemory_allocator>Fi": -/* 802AE1B8 002AB118 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802AE1BC 002AB11C 7C 08 02 A6 */ mflr r0 -/* 802AE1C0 002AB120 90 01 00 34 */ stw r0, 0x34(r1) -/* 802AE1C4 002AB124 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802AE1C8 002AB128 7C 9F 23 78 */ mr r31, r4 -/* 802AE1CC 002AB12C 7C 7E 1B 78 */ mr r30, r3 -/* 802AE1D0 002AB130 80 03 00 08 */ lwz r0, 8(r3) -/* 802AE1D4 002AB134 7C 1F 00 00 */ cmpw r31, r0 -/* 802AE1D8 002AB138 40 81 00 DC */ ble lbl_802AE2B4 -/* 802AE1DC 002AB13C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802AE1E0 002AB140 40 82 00 0C */ bne lbl_802AE1EC -/* 802AE1E4 002AB144 3B A0 00 00 */ li r29, 0 -/* 802AE1E8 002AB148 48 00 00 1C */ b lbl_802AE204 -lbl_802AE1EC: -/* 802AE1EC 002AB14C 3C 80 80 3D */ lis r4, lbl_803D60F0@ha -/* 802AE1F0 002AB150 38 A0 00 00 */ li r5, 0 -/* 802AE1F4 002AB154 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l -/* 802AE1F8 002AB158 38 84 00 18 */ addi r4, r4, 0x18 -/* 802AE1FC 002AB15C 48 06 76 1D */ bl __nwa__FUlPCcPCc -/* 802AE200 002AB160 7C 7D 1B 78 */ mr r29, r3 -lbl_802AE204: -/* 802AE204 002AB164 80 7E 00 04 */ lwz r3, 4(r30) -/* 802AE208 002AB168 7F A5 EB 78 */ mr r5, r29 -/* 802AE20C 002AB16C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 802AE210 002AB170 38 00 00 00 */ li r0, 0 -/* 802AE214 002AB174 54 63 18 38 */ slwi r3, r3, 3 -/* 802AE218 002AB178 7C 86 1A 14 */ add r4, r6, r3 -/* 802AE21C 002AB17C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802AE220 002AB180 90 81 00 08 */ stw r4, 8(r1) -/* 802AE224 002AB184 90 81 00 0C */ stw r4, 0xc(r1) -/* 802AE228 002AB188 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802AE22C 002AB18C 48 00 00 28 */ b lbl_802AE254 -lbl_802AE230: -/* 802AE230 002AB190 28 05 00 00 */ cmplwi r5, 0 -/* 802AE234 002AB194 41 82 00 18 */ beq lbl_802AE24C -/* 802AE238 002AB198 88 66 00 00 */ lbz r3, 0(r6) -/* 802AE23C 002AB19C 98 65 00 00 */ stb r3, 0(r5) -/* 802AE240 002AB1A0 80 66 00 04 */ lwz r3, 4(r6) -/* 802AE244 002AB1A4 90 65 00 04 */ stw r3, 4(r5) -/* 802AE248 002AB1A8 98 06 00 00 */ stb r0, 0(r6) -lbl_802AE24C: -/* 802AE24C 002AB1AC 38 A5 00 08 */ addi r5, r5, 8 -/* 802AE250 002AB1B0 38 C6 00 08 */ addi r6, r6, 8 -lbl_802AE254: -/* 802AE254 002AB1B4 7C 06 20 40 */ cmplw r6, r4 -/* 802AE258 002AB1B8 40 82 FF D8 */ bne lbl_802AE230 -/* 802AE25C 002AB1BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 802AE260 002AB1C0 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 802AE264 002AB1C4 54 00 18 38 */ slwi r0, r0, 3 -/* 802AE268 002AB1C8 7F 9B 02 14 */ add r28, r27, r0 -/* 802AE26C 002AB1CC 48 00 00 28 */ b lbl_802AE294 -lbl_802AE270: -/* 802AE270 002AB1D0 28 1B 00 00 */ cmplwi r27, 0 -/* 802AE274 002AB1D4 41 82 00 1C */ beq lbl_802AE290 -/* 802AE278 002AB1D8 88 1B 00 00 */ lbz r0, 0(r27) -/* 802AE27C 002AB1DC 28 00 00 00 */ cmplwi r0, 0 -/* 802AE280 002AB1E0 41 82 00 10 */ beq lbl_802AE290 -/* 802AE284 002AB1E4 80 7B 00 04 */ lwz r3, 4(r27) -/* 802AE288 002AB1E8 38 80 00 01 */ li r4, 1 -/* 802AE28C 002AB1EC 4B FF AA 85 */ bl __dt__8COBBTreeFv -lbl_802AE290: -/* 802AE290 002AB1F0 3B 7B 00 08 */ addi r27, r27, 8 -lbl_802AE294: -/* 802AE294 002AB1F4 7C 1B E0 40 */ cmplw r27, r28 -/* 802AE298 002AB1F8 40 82 FF D8 */ bne lbl_802AE270 -/* 802AE29C 002AB1FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802AE2A0 002AB200 28 03 00 00 */ cmplwi r3, 0 -/* 802AE2A4 002AB204 41 82 00 08 */ beq lbl_802AE2AC -/* 802AE2A8 002AB208 48 06 76 89 */ bl Free__7CMemoryFPCv -lbl_802AE2AC: -/* 802AE2AC 002AB20C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802AE2B0 002AB210 93 FE 00 08 */ stw r31, 8(r30) -lbl_802AE2B4: -/* 802AE2B4 002AB214 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802AE2B8 002AB218 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802AE2BC 002AB21C 7C 08 03 A6 */ mtlr r0 -/* 802AE2C0 002AB220 38 21 00 30 */ addi r1, r1, 0x30 -/* 802AE2C4 002AB224 4E 80 00 20 */ blr - -.global "reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>Fi": -/* 802AE2C8 002AB228 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802AE2CC 002AB22C 7C 08 02 A6 */ mflr r0 -/* 802AE2D0 002AB230 90 01 00 34 */ stw r0, 0x34(r1) -/* 802AE2D4 002AB234 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802AE2D8 002AB238 7C 9F 23 78 */ mr r31, r4 -/* 802AE2DC 002AB23C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802AE2E0 002AB240 7C 7E 1B 78 */ mr r30, r3 -/* 802AE2E4 002AB244 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802AE2E8 002AB248 80 03 00 08 */ lwz r0, 8(r3) -/* 802AE2EC 002AB24C 7C 1F 00 00 */ cmpw r31, r0 -/* 802AE2F0 002AB250 40 81 00 D8 */ ble lbl_802AE3C8 -/* 802AE2F4 002AB254 1C 7F 00 18 */ mulli r3, r31, 0x18 -/* 802AE2F8 002AB258 2C 03 00 00 */ cmpwi r3, 0 -/* 802AE2FC 002AB25C 40 82 00 0C */ bne lbl_802AE308 -/* 802AE300 002AB260 3B A0 00 00 */ li r29, 0 -/* 802AE304 002AB264 48 00 00 1C */ b lbl_802AE320 -lbl_802AE308: -/* 802AE308 002AB268 3C 80 80 3D */ lis r4, lbl_803D60F0@ha -/* 802AE30C 002AB26C 38 A0 00 00 */ li r5, 0 -/* 802AE310 002AB270 38 84 60 F0 */ addi r4, r4, lbl_803D60F0@l -/* 802AE314 002AB274 38 84 00 18 */ addi r4, r4, 0x18 -/* 802AE318 002AB278 48 06 75 01 */ bl __nwa__FUlPCcPCc -/* 802AE31C 002AB27C 7C 7D 1B 78 */ mr r29, r3 -lbl_802AE320: -/* 802AE320 002AB280 80 1E 00 04 */ lwz r0, 4(r30) -/* 802AE324 002AB284 7F A3 EB 78 */ mr r3, r29 -/* 802AE328 002AB288 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 802AE32C 002AB28C 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802AE330 002AB290 90 81 00 10 */ stw r4, 0x10(r1) -/* 802AE334 002AB294 7C 04 02 14 */ add r0, r4, r0 -/* 802AE338 002AB298 90 81 00 14 */ stw r4, 0x14(r1) -/* 802AE33C 002AB29C 90 01 00 08 */ stw r0, 8(r1) -/* 802AE340 002AB2A0 90 01 00 0C */ stw r0, 0xc(r1) -/* 802AE344 002AB2A4 48 00 00 44 */ b lbl_802AE388 -lbl_802AE348: -/* 802AE348 002AB2A8 28 03 00 00 */ cmplwi r3, 0 -/* 802AE34C 002AB2AC 41 82 00 34 */ beq lbl_802AE380 -/* 802AE350 002AB2B0 C0 04 00 00 */ lfs f0, 0(r4) -/* 802AE354 002AB2B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AE358 002AB2B8 C0 04 00 04 */ lfs f0, 4(r4) -/* 802AE35C 002AB2BC D0 03 00 04 */ stfs f0, 4(r3) -/* 802AE360 002AB2C0 C0 04 00 08 */ lfs f0, 8(r4) -/* 802AE364 002AB2C4 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AE368 002AB2C8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802AE36C 002AB2CC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AE370 002AB2D0 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802AE374 002AB2D4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AE378 002AB2D8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802AE37C 002AB2DC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AE380: -/* 802AE380 002AB2E0 38 63 00 18 */ addi r3, r3, 0x18 -/* 802AE384 002AB2E4 38 84 00 18 */ addi r4, r4, 0x18 -lbl_802AE388: -/* 802AE388 002AB2E8 7C 04 00 40 */ cmplw r4, r0 -/* 802AE38C 002AB2EC 40 82 FF BC */ bne lbl_802AE348 -/* 802AE390 002AB2F0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802AE394 002AB2F4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802AE398 002AB2F8 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802AE39C 002AB2FC 7C 64 1B 78 */ mr r4, r3 -/* 802AE3A0 002AB300 7C 03 02 14 */ add r0, r3, r0 -/* 802AE3A4 002AB304 48 00 00 08 */ b lbl_802AE3AC -lbl_802AE3A8: -/* 802AE3A8 002AB308 38 84 00 18 */ addi r4, r4, 0x18 -lbl_802AE3AC: -/* 802AE3AC 002AB30C 7C 04 00 40 */ cmplw r4, r0 -/* 802AE3B0 002AB310 40 82 FF F8 */ bne lbl_802AE3A8 -/* 802AE3B4 002AB314 28 03 00 00 */ cmplwi r3, 0 -/* 802AE3B8 002AB318 41 82 00 08 */ beq lbl_802AE3C0 -/* 802AE3BC 002AB31C 48 06 75 75 */ bl Free__7CMemoryFPCv -lbl_802AE3C0: -/* 802AE3C0 002AB320 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802AE3C4 002AB324 93 FE 00 08 */ stw r31, 8(r30) -lbl_802AE3C8: -/* 802AE3C8 002AB328 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802AE3CC 002AB32C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802AE3D0 002AB330 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802AE3D4 002AB334 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802AE3D8 002AB338 7C 08 03 A6 */ mtlr r0 -/* 802AE3DC 002AB33C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802AE3E0 002AB340 4E 80 00 20 */ blr - -.global GetEntityIdByIndex__13CPVSVisOctreeFi -GetEntityIdByIndex__13CPVSVisOctreeFi: -/* 802AE3E4 002AB344 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802AE3E8 002AB348 54 80 10 3A */ slwi r0, r4, 2 -/* 802AE3EC 002AB34C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802AE3F0 002AB350 4E 80 00 20 */ blr - -.global GetLightSet__11CPVSAreaSetCFi -GetLightSet__11CPVSAreaSetCFi: -/* 802AE3F4 002AB354 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AE3F8 002AB358 7C 08 02 A6 */ mflr r0 -/* 802AE3FC 002AB35C 7C 89 23 78 */ mr r9, r4 -/* 802AE400 002AB360 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AE404 002AB364 38 00 00 00 */ li r0, 0 -/* 802AE408 002AB368 38 C1 00 08 */ addi r6, r1, 8 -/* 802AE40C 002AB36C 80 84 00 10 */ lwz r4, 0x10(r4) -/* 802AE410 002AB370 81 09 00 1C */ lwz r8, 0x1c(r9) -/* 802AE414 002AB374 7C E4 29 D6 */ mullw r7, r4, r5 -/* 802AE418 002AB378 98 01 00 08 */ stb r0, 8(r1) -/* 802AE41C 002AB37C 80 89 00 38 */ lwz r4, 0x38(r9) -/* 802AE420 002AB380 80 A9 00 3C */ lwz r5, 0x3c(r9) -/* 802AE424 002AB384 7D 08 3A 14 */ add r8, r8, r7 -/* 802AE428 002AB388 7C E8 00 D0 */ neg r7, r8 -/* 802AE42C 002AB38C 91 01 00 14 */ stw r8, 0x14(r1) -/* 802AE430 002AB390 7C E7 43 78 */ or r7, r7, r8 -/* 802AE434 002AB394 54 E7 0F FE */ srwi r7, r7, 0x1f -/* 802AE438 002AB398 91 01 00 0C */ stw r8, 0xc(r1) -/* 802AE43C 002AB39C 98 E1 00 10 */ stb r7, 0x10(r1) -/* 802AE440 002AB3A0 98 01 00 10 */ stb r0, 0x10(r1) -/* 802AE444 002AB3A4 98 01 00 10 */ stb r0, 0x10(r1) -/* 802AE448 002AB3A8 48 06 7F 55 */ bl SetFromMemory__10CPVSVisSetFiiPCc -/* 802AE44C 002AB3AC 88 01 00 08 */ lbz r0, 8(r1) -/* 802AE450 002AB3B0 28 00 00 00 */ cmplwi r0, 0 -/* 802AE454 002AB3B4 41 82 00 0C */ beq lbl_802AE460 -/* 802AE458 002AB3B8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802AE45C 002AB3BC 48 06 74 D5 */ bl Free__7CMemoryFPCv -lbl_802AE460: -/* 802AE460 002AB3C0 88 01 00 10 */ lbz r0, 0x10(r1) -/* 802AE464 002AB3C4 28 00 00 00 */ cmplwi r0, 0 -/* 802AE468 002AB3C8 41 82 00 0C */ beq lbl_802AE474 -/* 802AE46C 002AB3CC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802AE470 002AB3D0 48 06 74 C1 */ bl Free__7CMemoryFPCv -lbl_802AE474: -/* 802AE474 002AB3D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AE478 002AB3D8 7C 08 03 A6 */ mtlr r0 -/* 802AE47C 002AB3DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AE480 002AB3E0 4E 80 00 20 */ blr - -.global GetVisOctree__13CPVSVisOctreeFv -GetVisOctree__13CPVSVisOctreeFv: -/* 802AE484 002AB3E4 38 63 00 20 */ addi r3, r3, 0x20 -/* 802AE488 002AB3E8 4E 80 00 20 */ blr - -.global __ct__11CPVSAreaSetFPCci -__ct__11CPVSAreaSetFPCci: -/* 802AE48C 002AB3EC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802AE490 002AB3F0 7C 08 02 A6 */ mflr r0 -/* 802AE494 002AB3F4 90 01 00 64 */ stw r0, 0x64(r1) -/* 802AE498 002AB3F8 BE C1 00 38 */ stmw r22, 0x38(r1) -/* 802AE49C 002AB3FC 7C 7B 1B 78 */ mr r27, r3 -/* 802AE4A0 002AB400 7C 9C 23 78 */ mr r28, r4 -/* 802AE4A4 002AB404 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4A8 002AB408 48 09 0D 25 */ bl __ct__15CMemoryInStreamFPCvUl -/* 802AE4AC 002AB40C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4B0 002AB410 48 09 07 D5 */ bl ReadLong__12CInputStreamFv -/* 802AE4B4 002AB414 7C 60 1B 78 */ mr r0, r3 -/* 802AE4B8 002AB418 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4BC 002AB41C 7C 1F 03 78 */ mr r31, r0 -/* 802AE4C0 002AB420 48 09 07 C5 */ bl ReadLong__12CInputStreamFv -/* 802AE4C4 002AB424 7C 60 1B 78 */ mr r0, r3 -/* 802AE4C8 002AB428 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4CC 002AB42C 7C 1E 03 78 */ mr r30, r0 -/* 802AE4D0 002AB430 48 09 07 B5 */ bl ReadLong__12CInputStreamFv -/* 802AE4D4 002AB434 7C 60 1B 78 */ mr r0, r3 -/* 802AE4D8 002AB438 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4DC 002AB43C 7C 1D 03 78 */ mr r29, r0 -/* 802AE4E0 002AB440 48 09 07 A5 */ bl ReadLong__12CInputStreamFv -/* 802AE4E4 002AB444 7C 60 1B 78 */ mr r0, r3 -/* 802AE4E8 002AB448 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4EC 002AB44C 7C 1A 03 78 */ mr r26, r0 -/* 802AE4F0 002AB450 48 09 07 95 */ bl ReadLong__12CInputStreamFv -/* 802AE4F4 002AB454 7C 60 1B 78 */ mr r0, r3 -/* 802AE4F8 002AB458 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE4FC 002AB45C 7C 19 03 78 */ mr r25, r0 -/* 802AE500 002AB460 48 09 07 85 */ bl ReadLong__12CInputStreamFv -/* 802AE504 002AB464 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802AE508 002AB468 7C 78 1B 78 */ mr r24, r3 -/* 802AE50C 002AB46C 3C 80 80 3D */ lis r4, lbl_803D6110@ha -/* 802AE510 002AB470 57 43 10 3A */ slwi r3, r26, 2 -/* 802AE514 002AB474 7F 9C 02 14 */ add r28, r28, r0 -/* 802AE518 002AB478 38 A0 00 00 */ li r5, 0 -/* 802AE51C 002AB47C 7C 18 C9 D6 */ mullw r0, r24, r25 -/* 802AE520 002AB480 38 84 61 10 */ addi r4, r4, lbl_803D6110@l -/* 802AE524 002AB484 7E FC 1A 14 */ add r23, r28, r3 -/* 802AE528 002AB488 38 60 00 64 */ li r3, 0x64 -/* 802AE52C 002AB48C 7E D7 02 14 */ add r22, r23, r0 -/* 802AE530 002AB490 48 06 73 3D */ bl __nw__FUlPCcPCc -/* 802AE534 002AB494 7C 66 1B 79 */ or. r6, r3, r3 -/* 802AE538 002AB498 41 82 00 30 */ beq lbl_802AE568 -/* 802AE53C 002AB49C 92 E1 00 08 */ stw r23, 8(r1) -/* 802AE540 002AB4A0 7F E4 FB 78 */ mr r4, r31 -/* 802AE544 002AB4A4 7F C5 F3 78 */ mr r5, r30 -/* 802AE548 002AB4A8 7F A6 EB 78 */ mr r6, r29 -/* 802AE54C 002AB4AC 92 C1 00 0C */ stw r22, 0xc(r1) -/* 802AE550 002AB4B0 7F 47 D3 78 */ mr r7, r26 -/* 802AE554 002AB4B4 7F 28 CB 78 */ mr r8, r25 -/* 802AE558 002AB4B8 7F 09 C3 78 */ mr r9, r24 -/* 802AE55C 002AB4BC 7F 8A E3 78 */ mr r10, r28 -/* 802AE560 002AB4C0 48 00 00 49 */ bl __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii -/* 802AE564 002AB4C4 7C 66 1B 78 */ mr r6, r3 -lbl_802AE568: -/* 802AE568 002AB4C8 7C 06 00 D0 */ neg r0, r6 -/* 802AE56C 002AB4CC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 802AE570 002AB4D0 7C 00 33 78 */ or r0, r0, r6 -/* 802AE574 002AB4D4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AE578 002AB4D8 54 05 0F FE */ srwi r5, r0, 0x1f -/* 802AE57C 002AB4DC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 802AE580 002AB4E0 98 BB 00 00 */ stb r5, 0(r27) -/* 802AE584 002AB4E4 38 80 00 00 */ li r4, 0 -/* 802AE588 002AB4E8 90 DB 00 04 */ stw r6, 4(r27) -/* 802AE58C 002AB4EC 90 01 00 10 */ stw r0, 0x10(r1) -/* 802AE590 002AB4F0 48 09 0B 1D */ bl __dt__12CInputStreamFv -/* 802AE594 002AB4F4 BA C1 00 38 */ lmw r22, 0x38(r1) -/* 802AE598 002AB4F8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802AE59C 002AB4FC 7C 08 03 A6 */ mtlr r0 -/* 802AE5A0 002AB500 38 21 00 60 */ addi r1, r1, 0x60 -/* 802AE5A4 002AB504 4E 80 00 20 */ blr - -.global __ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii -__ct__Q211CPVSAreaSet14CPVSAreaHolderFiiiiiiii: -/* 802AE5A8 002AB508 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802AE5AC 002AB50C 7C 08 02 A6 */ mflr r0 -/* 802AE5B0 002AB510 90 01 00 64 */ stw r0, 0x64(r1) -/* 802AE5B4 002AB514 80 01 00 68 */ lwz r0, 0x68(r1) -/* 802AE5B8 002AB518 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802AE5BC 002AB51C 7C 7F 1B 78 */ mr r31, r3 -/* 802AE5C0 002AB520 90 83 00 00 */ stw r4, 0(r3) -/* 802AE5C4 002AB524 38 61 00 08 */ addi r3, r1, 8 -/* 802AE5C8 002AB528 80 81 00 6C */ lwz r4, 0x6c(r1) -/* 802AE5CC 002AB52C 90 BF 00 04 */ stw r5, 4(r31) -/* 802AE5D0 002AB530 38 A0 00 44 */ li r5, 0x44 -/* 802AE5D4 002AB534 90 DF 00 08 */ stw r6, 8(r31) -/* 802AE5D8 002AB538 90 FF 00 0C */ stw r7, 0xc(r31) -/* 802AE5DC 002AB53C 91 1F 00 10 */ stw r8, 0x10(r31) -/* 802AE5E0 002AB540 91 3F 00 14 */ stw r9, 0x14(r31) -/* 802AE5E4 002AB544 91 5F 00 18 */ stw r10, 0x18(r31) -/* 802AE5E8 002AB548 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802AE5EC 002AB54C 48 06 7B B9 */ bl MakePVSVisOctree__13CPVSVisOctreeFPCci -/* 802AE5F0 002AB550 38 7F 00 20 */ addi r3, r31, 0x20 -/* 802AE5F4 002AB554 38 81 00 08 */ addi r4, r1, 8 -/* 802AE5F8 002AB558 48 00 00 39 */ bl sub_802ae630 -/* 802AE5FC 002AB55C 34 61 00 28 */ addic. r3, r1, 0x28 -/* 802AE600 002AB560 41 82 00 18 */ beq lbl_802AE618 -/* 802AE604 002AB564 88 03 00 00 */ lbz r0, 0(r3) -/* 802AE608 002AB568 28 00 00 00 */ cmplwi r0, 0 -/* 802AE60C 002AB56C 41 82 00 0C */ beq lbl_802AE618 -/* 802AE610 002AB570 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802AE614 002AB574 48 06 73 1D */ bl Free__7CMemoryFPCv -lbl_802AE618: -/* 802AE618 002AB578 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802AE61C 002AB57C 7F E3 FB 78 */ mr r3, r31 -/* 802AE620 002AB580 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802AE624 002AB584 7C 08 03 A6 */ mtlr r0 -/* 802AE628 002AB588 38 21 00 60 */ addi r1, r1, 0x60 -/* 802AE62C 002AB58C 4E 80 00 20 */ blr - -.global sub_802ae630 -sub_802ae630: -/* 802AE630 002AB590 C0 04 00 00 */ lfs f0, 0(r4) -/* 802AE634 002AB594 38 00 00 00 */ li r0, 0 -/* 802AE638 002AB598 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AE63C 002AB59C C0 04 00 04 */ lfs f0, 4(r4) -/* 802AE640 002AB5A0 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AE644 002AB5A4 C0 04 00 08 */ lfs f0, 8(r4) -/* 802AE648 002AB5A8 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AE64C 002AB5AC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802AE650 002AB5B0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AE654 002AB5B4 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802AE658 002AB5B8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AE65C 002AB5BC C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802AE660 002AB5C0 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802AE664 002AB5C4 80 A4 00 18 */ lwz r5, 0x18(r4) -/* 802AE668 002AB5C8 90 A3 00 18 */ stw r5, 0x18(r3) -/* 802AE66C 002AB5CC 80 A4 00 1C */ lwz r5, 0x1c(r4) -/* 802AE670 002AB5D0 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 802AE674 002AB5D4 88 A4 00 20 */ lbz r5, 0x20(r4) -/* 802AE678 002AB5D8 98 A3 00 20 */ stb r5, 0x20(r3) -/* 802AE67C 002AB5DC 80 A4 00 24 */ lwz r5, 0x24(r4) -/* 802AE680 002AB5E0 90 A3 00 24 */ stw r5, 0x24(r3) -/* 802AE684 002AB5E4 98 04 00 20 */ stb r0, 0x20(r4) -/* 802AE688 002AB5E8 80 04 00 28 */ lwz r0, 0x28(r4) -/* 802AE68C 002AB5EC 90 03 00 28 */ stw r0, 0x28(r3) -/* 802AE690 002AB5F0 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802AE694 002AB5F4 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802AE698 002AB5F8 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 802AE69C 002AB5FC D0 03 00 30 */ stfs f0, 0x30(r3) -/* 802AE6A0 002AB600 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 802AE6A4 002AB604 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802AE6A8 002AB608 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 802AE6AC 002AB60C D0 03 00 38 */ stfs f0, 0x38(r3) -/* 802AE6B0 002AB610 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 802AE6B4 002AB614 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 802AE6B8 002AB618 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 802AE6BC 002AB61C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 802AE6C0 002AB620 4E 80 00 20 */ blr - -.global TestBit__13CCubeRendererFPCUii -TestBit__13CCubeRendererFPCUii: -/* 802AE6C4 002AB624 7C 80 2E 70 */ srawi r0, r4, 5 -/* 802AE6C8 002AB628 54 84 06 FE */ clrlwi r4, r4, 0x1b -/* 802AE6CC 002AB62C 54 00 10 3A */ slwi r0, r0, 2 -/* 802AE6D0 002AB630 38 A0 00 01 */ li r5, 1 -/* 802AE6D4 002AB634 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802AE6D8 002AB638 7C A3 20 30 */ slw r3, r5, r4 -/* 802AE6DC 002AB63C 7C 63 00 38 */ and r3, r3, r0 -/* 802AE6E0 002AB640 7C 03 00 D0 */ neg r0, r3 -/* 802AE6E4 002AB644 7C 00 1B 78 */ or r0, r0, r3 -/* 802AE6E8 002AB648 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802AE6EC 002AB64C 4E 80 00 20 */ blr - -.global RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox -RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox: -/* 802AE6F0 002AB650 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802AE6F4 002AB654 7C 08 02 A6 */ mflr r0 -/* 802AE6F8 002AB658 90 01 00 54 */ stw r0, 0x54(r1) -/* 802AE6FC 002AB65C BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 802AE700 002AB660 7C D9 33 78 */ mr r25, r6 -/* 802AE704 002AB664 7C 98 23 78 */ mr r24, r4 -/* 802AE708 002AB668 7C FA 3B 78 */ mr r26, r7 -/* 802AE70C 002AB66C 7C 77 1B 78 */ mr r23, r3 -/* 802AE710 002AB670 7C BF 2B 78 */ mr r31, r5 -/* 802AE714 002AB674 7F 43 D3 78 */ mr r3, r26 -/* 802AE718 002AB678 7F 24 CB 78 */ mr r4, r25 -/* 802AE71C 002AB67C 48 08 94 69 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802AE720 002AB680 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AE724 002AB684 41 82 00 E0 */ beq lbl_802AE804 -/* 802AE728 002AB688 88 17 00 03 */ lbz r0, 3(r23) -/* 802AE72C 002AB68C 28 00 00 00 */ cmplwi r0, 0 -/* 802AE730 002AB690 41 82 00 18 */ beq lbl_802AE748 -/* 802AE734 002AB694 7F 23 CB 78 */ mr r3, r25 -/* 802AE738 002AB698 7F 44 D3 78 */ mr r4, r26 -/* 802AE73C 002AB69C 48 08 93 45 */ bl Inside__6CAABoxCFRC6CAABox -/* 802AE740 002AB6A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AE744 002AB6A4 41 82 00 54 */ beq lbl_802AE798 -lbl_802AE748: -/* 802AE748 002AB6A8 A0 77 00 00 */ lhz r3, 0(r23) -/* 802AE74C 002AB6AC 7F 05 C3 78 */ mr r5, r24 -/* 802AE750 002AB6B0 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802AE754 002AB6B4 38 C0 00 00 */ li r6, 0 -/* 802AE758 002AB6B8 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 802AE75C 002AB6BC 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802AE760 002AB6C0 54 00 10 3A */ slwi r0, r0, 2 -/* 802AE764 002AB6C4 7C 84 02 14 */ add r4, r4, r0 -/* 802AE768 002AB6C8 48 00 00 20 */ b lbl_802AE788 -lbl_802AE76C: -/* 802AE76C 002AB6CC 80 04 00 00 */ lwz r0, 0(r4) -/* 802AE770 002AB6D0 38 84 00 04 */ addi r4, r4, 4 -/* 802AE774 002AB6D4 80 65 00 00 */ lwz r3, 0(r5) -/* 802AE778 002AB6D8 38 C6 00 01 */ addi r6, r6, 1 -/* 802AE77C 002AB6DC 7C 60 03 78 */ or r0, r3, r0 -/* 802AE780 002AB6E0 90 05 00 00 */ stw r0, 0(r5) -/* 802AE784 002AB6E4 38 A5 00 04 */ addi r5, r5, 4 -lbl_802AE788: -/* 802AE788 002AB6E8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802AE78C 002AB6EC 7C 06 00 40 */ cmplw r6, r0 -/* 802AE790 002AB6F0 41 80 FF DC */ blt lbl_802AE76C -/* 802AE794 002AB6F4 48 00 00 70 */ b lbl_802AE804 -lbl_802AE798: -/* 802AE798 002AB6F8 7E E3 BB 78 */ mr r3, r23 -/* 802AE79C 002AB6FC 48 00 04 95 */ bl sub_802aec30 -/* 802AE7A0 002AB700 7C 7E 1B 78 */ mr r30, r3 -/* 802AE7A4 002AB704 7E FC BB 78 */ mr r28, r23 -/* 802AE7A8 002AB708 3B 60 00 00 */ li r27, 0 -/* 802AE7AC 002AB70C 48 00 00 50 */ b lbl_802AE7FC -lbl_802AE7B0: -/* 802AE7B0 002AB710 A0 1C 00 04 */ lhz r0, 4(r28) -/* 802AE7B4 002AB714 7E E4 BB 78 */ mr r4, r23 -/* 802AE7B8 002AB718 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 802AE7BC 002AB71C 7F 25 CB 78 */ mr r5, r25 -/* 802AE7C0 002AB720 54 00 10 3A */ slwi r0, r0, 2 -/* 802AE7C4 002AB724 80 FF 00 38 */ lwz r7, 0x38(r31) -/* 802AE7C8 002AB728 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802AE7CC 002AB72C 7F 66 DB 78 */ mr r6, r27 -/* 802AE7D0 002AB730 38 61 00 08 */ addi r3, r1, 8 -/* 802AE7D4 002AB734 7F A7 02 14 */ add r29, r7, r0 -/* 802AE7D8 002AB738 48 00 01 B9 */ bl sub_802ae990 -/* 802AE7DC 002AB73C 7F A3 EB 78 */ mr r3, r29 -/* 802AE7E0 002AB740 7F 04 C3 78 */ mr r4, r24 -/* 802AE7E4 002AB744 7F E5 FB 78 */ mr r5, r31 -/* 802AE7E8 002AB748 7F 47 D3 78 */ mr r7, r26 -/* 802AE7EC 002AB74C 38 C1 00 08 */ addi r6, r1, 8 -/* 802AE7F0 002AB750 4B FF FF 01 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox -/* 802AE7F4 002AB754 3B 9C 00 02 */ addi r28, r28, 2 -/* 802AE7F8 002AB758 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802AE7FC: -/* 802AE7FC 002AB75C 7C 1B F0 00 */ cmpw r27, r30 -/* 802AE800 002AB760 41 80 FF B0 */ blt lbl_802AE7B0 -lbl_802AE804: -/* 802AE804 002AB764 BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 802AE808 002AB768 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802AE80C 002AB76C 7C 08 03 A6 */ mtlr r0 -/* 802AE810 002AB770 38 21 00 50 */ addi r1, r1, 0x50 -/* 802AE814 002AB774 4E 80 00 20 */ blr - -.global FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox -FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox: -/* 802AE818 002AB778 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AE81C 002AB77C 7C 08 02 A6 */ mflr r0 -/* 802AE820 002AB780 7C A7 2B 78 */ mr r7, r5 -/* 802AE824 002AB784 7C 65 1B 78 */ mr r5, r3 -/* 802AE828 002AB788 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AE82C 002AB78C 80 C3 00 34 */ lwz r6, 0x34(r3) -/* 802AE830 002AB790 81 03 00 38 */ lwz r8, 0x38(r3) -/* 802AE834 002AB794 80 06 00 00 */ lwz r0, 0(r6) -/* 802AE838 002AB798 38 C3 00 18 */ addi r6, r3, 0x18 -/* 802AE83C 002AB79C 7C 68 02 14 */ add r3, r8, r0 -/* 802AE840 002AB7A0 4B FF FE B1 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox -/* 802AE844 002AB7A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AE848 002AB7A8 7C 08 03 A6 */ mtlr r0 -/* 802AE84C 002AB7AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AE850 002AB7B0 4E 80 00 20 */ blr - -.global "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" -"FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox": -/* 802AE854 002AB7B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AE858 002AB7B8 7C 08 02 A6 */ mflr r0 -/* 802AE85C 002AB7BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AE860 002AB7C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802AE864 002AB7C4 7C BF 2B 78 */ mr r31, r5 -/* 802AE868 002AB7C8 38 AD 9A 80 */ addi r5, r13, lbl_805A8640@sda21 -/* 802AE86C 002AB7CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802AE870 002AB7D0 7C 9E 23 78 */ mr r30, r4 -/* 802AE874 002AB7D4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802AE878 002AB7D8 7C 7D 1B 78 */ mr r29, r3 -/* 802AE87C 002AB7DC 80 83 00 14 */ lwz r4, 0x14(r3) -/* 802AE880 002AB7E0 7F C3 F3 78 */ mr r3, r30 -/* 802AE884 002AB7E4 48 00 00 45 */ bl sub_802ae8c8 -/* 802AE888 002AB7E8 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 802AE88C 002AB7EC 7F A5 EB 78 */ mr r5, r29 -/* 802AE890 002AB7F0 81 1D 00 38 */ lwz r8, 0x38(r29) -/* 802AE894 002AB7F4 7F E7 FB 78 */ mr r7, r31 -/* 802AE898 002AB7F8 80 03 00 00 */ lwz r0, 0(r3) -/* 802AE89C 002AB7FC 38 DD 00 18 */ addi r6, r29, 0x18 -/* 802AE8A0 002AB800 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 802AE8A4 002AB804 7C 68 02 14 */ add r3, r8, r0 -/* 802AE8A8 002AB808 4B FF FE 49 */ bl RecursiveBuildOverlaps__18CAreaRenderOctTreeFPUiRC18CAreaRenderOctTreeRC6CAABoxRC6CAABox -/* 802AE8AC 002AB80C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AE8B0 002AB810 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802AE8B4 002AB814 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802AE8B8 002AB818 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802AE8BC 002AB81C 7C 08 03 A6 */ mtlr r0 -/* 802AE8C0 002AB820 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AE8C4 002AB824 4E 80 00 20 */ blr - -.global sub_802ae8c8 -sub_802ae8c8: -/* 802AE8C8 002AB828 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802AE8CC 002AB82C 7C 08 02 A6 */ mflr r0 -/* 802AE8D0 002AB830 90 01 00 34 */ stw r0, 0x34(r1) -/* 802AE8D4 002AB834 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802AE8D8 002AB838 7C BF 2B 78 */ mr r31, r5 -/* 802AE8DC 002AB83C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802AE8E0 002AB840 7C 9E 23 78 */ mr r30, r4 -/* 802AE8E4 002AB844 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802AE8E8 002AB848 7C 7D 1B 78 */ mr r29, r3 -/* 802AE8EC 002AB84C 80 03 00 04 */ lwz r0, 4(r3) -/* 802AE8F0 002AB850 7C 00 F0 00 */ cmpw r0, r30 -/* 802AE8F4 002AB854 41 82 00 80 */ beq lbl_802AE974 -/* 802AE8F8 002AB858 7C 1E 00 00 */ cmpw r30, r0 -/* 802AE8FC 002AB85C 40 81 00 40 */ ble lbl_802AE93C -/* 802AE900 002AB860 4B DB 52 25 */ bl "reserve__Q24rstl37vectorFi" -/* 802AE904 002AB864 80 9D 00 04 */ lwz r4, 4(r29) -/* 802AE908 002AB868 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802AE90C 002AB86C 54 80 10 3A */ slwi r0, r4, 2 -/* 802AE910 002AB870 7C 84 F0 51 */ subf. r4, r4, r30 -/* 802AE914 002AB874 7C 63 02 14 */ add r3, r3, r0 -/* 802AE918 002AB878 7C 89 03 A6 */ mtctr r4 -/* 802AE91C 002AB87C 40 81 00 54 */ ble lbl_802AE970 -lbl_802AE920: -/* 802AE920 002AB880 28 03 00 00 */ cmplwi r3, 0 -/* 802AE924 002AB884 41 82 00 0C */ beq lbl_802AE930 -/* 802AE928 002AB888 80 1F 00 00 */ lwz r0, 0(r31) -/* 802AE92C 002AB88C 90 03 00 00 */ stw r0, 0(r3) -lbl_802AE930: -/* 802AE930 002AB890 38 63 00 04 */ addi r3, r3, 4 -/* 802AE934 002AB894 42 00 FF EC */ bdnz lbl_802AE920 -/* 802AE938 002AB898 48 00 00 38 */ b lbl_802AE970 -lbl_802AE93C: -/* 802AE93C 002AB89C 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 802AE940 002AB8A0 54 03 10 3A */ slwi r3, r0, 2 -/* 802AE944 002AB8A4 57 C0 10 3A */ slwi r0, r30, 2 -/* 802AE948 002AB8A8 7C A4 02 14 */ add r5, r4, r0 -/* 802AE94C 002AB8AC 7C 04 1A 14 */ add r0, r4, r3 -/* 802AE950 002AB8B0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802AE954 002AB8B4 90 01 00 08 */ stw r0, 8(r1) -/* 802AE958 002AB8B8 90 01 00 0C */ stw r0, 0xc(r1) -/* 802AE95C 002AB8BC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802AE960 002AB8C0 48 00 00 08 */ b lbl_802AE968 -lbl_802AE964: -/* 802AE964 002AB8C4 38 A5 00 04 */ addi r5, r5, 4 -lbl_802AE968: -/* 802AE968 002AB8C8 7C 05 00 40 */ cmplw r5, r0 -/* 802AE96C 002AB8CC 40 82 FF F8 */ bne lbl_802AE964 -lbl_802AE970: -/* 802AE970 002AB8D0 93 DD 00 04 */ stw r30, 4(r29) -lbl_802AE974: -/* 802AE974 002AB8D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802AE978 002AB8D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802AE97C 002AB8DC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802AE980 002AB8E0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802AE984 002AB8E4 7C 08 03 A6 */ mtlr r0 -/* 802AE988 002AB8E8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802AE98C 002AB8EC 4E 80 00 20 */ blr - -.global sub_802ae990 -sub_802ae990: -/* 802AE990 002AB8F0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802AE994 002AB8F4 7C 08 02 A6 */ mflr r0 -/* 802AE998 002AB8F8 90 01 00 64 */ stw r0, 0x64(r1) -/* 802AE99C 002AB8FC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802AE9A0 002AB900 7C DF 33 78 */ mr r31, r6 -/* 802AE9A4 002AB904 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802AE9A8 002AB908 7C 7E 1B 78 */ mr r30, r3 -/* 802AE9AC 002AB90C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802AE9B0 002AB910 8B A4 00 03 */ lbz r29, 3(r4) -/* 802AE9B4 002AB914 C0 A5 00 00 */ lfs f5, 0(r5) -/* 802AE9B8 002AB918 C0 85 00 04 */ lfs f4, 4(r5) -/* 802AE9BC 002AB91C 28 1D 00 07 */ cmplwi r29, 7 -/* 802AE9C0 002AB920 C0 65 00 08 */ lfs f3, 8(r5) -/* 802AE9C4 002AB924 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 802AE9C8 002AB928 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 802AE9CC 002AB92C C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802AE9D0 002AB930 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802AE9D4 002AB934 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802AE9D8 002AB938 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802AE9DC 002AB93C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 802AE9E0 002AB940 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802AE9E4 002AB944 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802AE9E8 002AB948 41 81 02 1C */ bgt lbl_802AEC04 -/* 802AE9EC 002AB94C 3C 60 80 3F */ lis r3, lbl_803EC4A8@ha -/* 802AE9F0 002AB950 57 A0 10 3A */ slwi r0, r29, 2 -/* 802AE9F4 002AB954 38 63 C4 A8 */ addi r3, r3, lbl_803EC4A8@l -/* 802AE9F8 002AB958 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802AE9FC 002AB95C 7C 09 03 A6 */ mtctr r0 -/* 802AEA00 002AB960 4E 80 04 20 */ bctr -/* 802AEA04 002AB964 EC 02 28 2A */ fadds f0, f2, f5 -/* 802AEA08 002AB968 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) -/* 802AEA0C 002AB96C 2C 1F 00 00 */ cmpwi r31, 0 -/* 802AEA10 002AB970 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802AEA14 002AB974 40 82 00 0C */ bne lbl_802AEA20 -/* 802AEA18 002AB978 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802AEA1C 002AB97C 48 00 01 E8 */ b lbl_802AEC04 -lbl_802AEA20: -/* 802AEA20 002AB980 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802AEA24 002AB984 48 00 01 E0 */ b lbl_802AEC04 -/* 802AEA28 002AB988 EC 01 20 2A */ fadds f0, f1, f4 -/* 802AEA2C 002AB98C C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) -/* 802AEA30 002AB990 2C 1F 00 00 */ cmpwi r31, 0 -/* 802AEA34 002AB994 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802AEA38 002AB998 40 82 00 0C */ bne lbl_802AEA44 -/* 802AEA3C 002AB99C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802AEA40 002AB9A0 48 00 01 C4 */ b lbl_802AEC04 -lbl_802AEA44: -/* 802AEA44 002AB9A4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802AEA48 002AB9A8 48 00 01 BC */ b lbl_802AEC04 -/* 802AEA4C 002AB9AC EC 00 18 2A */ fadds f0, f0, f3 -/* 802AEA50 002AB9B0 C0 22 C1 E8 */ lfs f1, lbl_805ADF08@sda21(r2) -/* 802AEA54 002AB9B4 2C 1F 00 00 */ cmpwi r31, 0 -/* 802AEA58 002AB9B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802AEA5C 002AB9BC 40 82 00 0C */ bne lbl_802AEA68 -/* 802AEA60 002AB9C0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802AEA64 002AB9C4 48 00 01 A0 */ b lbl_802AEC04 -lbl_802AEA68: -/* 802AEA68 002AB9C8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802AEA6C 002AB9CC 48 00 01 98 */ b lbl_802AEC04 -/* 802AEA70 002AB9D0 7C A4 2B 78 */ mr r4, r5 -/* 802AEA74 002AB9D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802AEA78 002AB9D8 48 08 8B 95 */ bl GetCenterPoint__6CAABoxCFv -/* 802AEA7C 002AB9DC 1C 1D 00 03 */ mulli r0, r29, 3 -/* 802AEA80 002AB9E0 3C 60 80 3D */ lis r3, lbl_803D6138@ha -/* 802AEA84 002AB9E4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802AEA88 002AB9E8 2C 1F 00 02 */ cmpwi r31, 2 -/* 802AEA8C 002AB9EC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802AEA90 002AB9F0 38 83 61 38 */ addi r4, r3, lbl_803D6138@l -/* 802AEA94 002AB9F4 54 00 10 3A */ slwi r0, r0, 2 -/* 802AEA98 002AB9F8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802AEA9C 002AB9FC 7C 64 02 14 */ add r3, r4, r0 -/* 802AEAA0 002ABA00 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802AEAA4 002ABA04 7C 84 00 2E */ lwzx r4, r4, r0 -/* 802AEAA8 002ABA08 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802AEAAC 002ABA0C 80 A3 00 04 */ lwz r5, 4(r3) -/* 802AEAB0 002ABA10 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802AEAB4 002ABA14 41 82 00 70 */ beq lbl_802AEB24 -/* 802AEAB8 002ABA18 40 80 00 14 */ bge lbl_802AEACC -/* 802AEABC 002ABA1C 2C 1F 00 00 */ cmpwi r31, 0 -/* 802AEAC0 002ABA20 41 82 00 18 */ beq lbl_802AEAD8 -/* 802AEAC4 002ABA24 40 80 00 38 */ bge lbl_802AEAFC -/* 802AEAC8 002ABA28 48 00 01 3C */ b lbl_802AEC04 -lbl_802AEACC: -/* 802AEACC 002ABA2C 2C 1F 00 04 */ cmpwi r31, 4 -/* 802AEAD0 002ABA30 40 80 01 34 */ bge lbl_802AEC04 -/* 802AEAD4 002ABA34 48 00 00 78 */ b lbl_802AEB4C -lbl_802AEAD8: -/* 802AEAD8 002ABA38 54 80 10 3A */ slwi r0, r4, 2 -/* 802AEADC 002ABA3C 38 81 00 2C */ addi r4, r1, 0x2c -/* 802AEAE0 002ABA40 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802AEAE4 002ABA44 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AEAE8 002ABA48 54 A5 10 3A */ slwi r5, r5, 2 -/* 802AEAEC 002ABA4C 7C 03 05 2E */ stfsx f0, r3, r0 -/* 802AEAF0 002ABA50 7C 04 2C 2E */ lfsx f0, r4, r5 -/* 802AEAF4 002ABA54 7C 03 2D 2E */ stfsx f0, r3, r5 -/* 802AEAF8 002ABA58 48 00 01 0C */ b lbl_802AEC04 -lbl_802AEAFC: -/* 802AEAFC 002ABA5C 54 80 10 3A */ slwi r0, r4, 2 -/* 802AEB00 002ABA60 38 61 00 2C */ addi r3, r1, 0x2c -/* 802AEB04 002ABA64 54 A5 10 3A */ slwi r5, r5, 2 -/* 802AEB08 002ABA68 7C 23 04 2E */ lfsx f1, r3, r0 -/* 802AEB0C 002ABA6C 38 81 00 44 */ addi r4, r1, 0x44 -/* 802AEB10 002ABA70 7C 03 2C 2E */ lfsx f0, r3, r5 -/* 802AEB14 002ABA74 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AEB18 002ABA78 7C 24 05 2E */ stfsx f1, r4, r0 -/* 802AEB1C 002ABA7C 7C 03 2D 2E */ stfsx f0, r3, r5 -/* 802AEB20 002ABA80 48 00 00 E4 */ b lbl_802AEC04 -lbl_802AEB24: -/* 802AEB24 002ABA84 54 A0 10 3A */ slwi r0, r5, 2 -/* 802AEB28 002ABA88 38 61 00 2C */ addi r3, r1, 0x2c -/* 802AEB2C 002ABA8C 54 85 10 3A */ slwi r5, r4, 2 -/* 802AEB30 002ABA90 7C 23 04 2E */ lfsx f1, r3, r0 -/* 802AEB34 002ABA94 38 81 00 44 */ addi r4, r1, 0x44 -/* 802AEB38 002ABA98 7C 03 2C 2E */ lfsx f0, r3, r5 -/* 802AEB3C 002ABA9C 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AEB40 002ABAA0 7C 24 05 2E */ stfsx f1, r4, r0 -/* 802AEB44 002ABAA4 7C 03 2D 2E */ stfsx f0, r3, r5 -/* 802AEB48 002ABAA8 48 00 00 BC */ b lbl_802AEC04 -lbl_802AEB4C: -/* 802AEB4C 002ABAAC 54 80 10 3A */ slwi r0, r4, 2 -/* 802AEB50 002ABAB0 38 81 00 2C */ addi r4, r1, 0x2c -/* 802AEB54 002ABAB4 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802AEB58 002ABAB8 38 61 00 44 */ addi r3, r1, 0x44 -/* 802AEB5C 002ABABC 54 A5 10 3A */ slwi r5, r5, 2 -/* 802AEB60 002ABAC0 7C 03 05 2E */ stfsx f0, r3, r0 -/* 802AEB64 002ABAC4 7C 04 2C 2E */ lfsx f0, r4, r5 -/* 802AEB68 002ABAC8 7C 03 2D 2E */ stfsx f0, r3, r5 -/* 802AEB6C 002ABACC 48 00 00 98 */ b lbl_802AEC04 -/* 802AEB70 002ABAD0 7C A4 2B 78 */ mr r4, r5 -/* 802AEB74 002ABAD4 38 61 00 08 */ addi r3, r1, 8 -/* 802AEB78 002ABAD8 48 08 8A 95 */ bl GetCenterPoint__6CAABoxCFv -/* 802AEB7C 002ABADC 38 00 00 00 */ li r0, 0 -/* 802AEB80 002ABAE0 38 60 00 01 */ li r3, 1 -/* 802AEB84 002ABAE4 7C 60 00 30 */ slw r0, r3, r0 -/* 802AEB88 002ABAE8 C0 41 00 08 */ lfs f2, 8(r1) -/* 802AEB8C 002ABAEC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802AEB90 002ABAF0 7F E0 00 39 */ and. r0, r31, r0 -/* 802AEB94 002ABAF4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802AEB98 002ABAF8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802AEB9C 002ABAFC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802AEBA0 002ABB00 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802AEBA4 002ABB04 41 82 00 10 */ beq lbl_802AEBB4 -/* 802AEBA8 002ABB08 FC 00 10 18 */ frsp f0, f2 -/* 802AEBAC 002ABB0C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802AEBB0 002ABB10 48 00 00 0C */ b lbl_802AEBBC -lbl_802AEBB4: -/* 802AEBB4 002ABB14 FC 00 10 18 */ frsp f0, f2 -/* 802AEBB8 002ABB18 D0 01 00 38 */ stfs f0, 0x38(r1) -lbl_802AEBBC: -/* 802AEBBC 002ABB1C 38 00 00 01 */ li r0, 1 -/* 802AEBC0 002ABB20 7C 60 00 30 */ slw r0, r3, r0 -/* 802AEBC4 002ABB24 7F E0 00 39 */ and. r0, r31, r0 -/* 802AEBC8 002ABB28 41 82 00 10 */ beq lbl_802AEBD8 -/* 802AEBCC 002ABB2C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802AEBD0 002ABB30 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802AEBD4 002ABB34 48 00 00 0C */ b lbl_802AEBE0 -lbl_802AEBD8: -/* 802AEBD8 002ABB38 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802AEBDC 002ABB3C D0 01 00 3C */ stfs f0, 0x3c(r1) -lbl_802AEBE0: -/* 802AEBE0 002ABB40 38 00 00 02 */ li r0, 2 -/* 802AEBE4 002ABB44 7C 60 00 30 */ slw r0, r3, r0 -/* 802AEBE8 002ABB48 7F E0 00 39 */ and. r0, r31, r0 -/* 802AEBEC 002ABB4C 41 82 00 10 */ beq lbl_802AEBFC -/* 802AEBF0 002ABB50 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802AEBF4 002ABB54 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802AEBF8 002ABB58 48 00 00 0C */ b lbl_802AEC04 -lbl_802AEBFC: -/* 802AEBFC 002ABB5C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802AEC00 002ABB60 D0 01 00 40 */ stfs f0, 0x40(r1) -lbl_802AEC04: -/* 802AEC04 002ABB64 7F C3 F3 78 */ mr r3, r30 -/* 802AEC08 002ABB68 38 81 00 44 */ addi r4, r1, 0x44 -/* 802AEC0C 002ABB6C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802AEC10 002ABB70 48 08 98 F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802AEC14 002ABB74 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802AEC18 002ABB78 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802AEC1C 002ABB7C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802AEC20 002ABB80 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 802AEC24 002ABB84 7C 08 03 A6 */ mtlr r0 -/* 802AEC28 002ABB88 38 21 00 60 */ addi r1, r1, 0x60 -/* 802AEC2C 002ABB8C 4E 80 00 20 */ blr - -.global sub_802aec30 -sub_802aec30: -/* 802AEC30 002ABB90 88 03 00 03 */ lbz r0, 3(r3) -/* 802AEC34 002ABB94 3C 60 80 3D */ lis r3, lbl_803D6118@ha -/* 802AEC38 002ABB98 38 63 61 18 */ addi r3, r3, lbl_803D6118@l -/* 802AEC3C 002ABB9C 54 00 10 3A */ slwi r0, r0, 2 -/* 802AEC40 002ABBA0 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802AEC44 002ABBA4 4E 80 00 20 */ blr - -.global sub_802aec48 -sub_802aec48: -/* 802AEC48 002ABBA8 88 A4 00 00 */ lbz r5, 0(r4) -/* 802AEC4C 002ABBAC 38 00 00 00 */ li r0, 0 -/* 802AEC50 002ABBB0 98 A3 00 00 */ stb r5, 0(r3) -/* 802AEC54 002ABBB4 80 A4 00 04 */ lwz r5, 4(r4) -/* 802AEC58 002ABBB8 90 A3 00 04 */ stw r5, 4(r3) -/* 802AEC5C 002ABBBC 98 04 00 00 */ stb r0, 0(r4) -/* 802AEC60 002ABBC0 80 A4 00 04 */ lwz r5, 4(r4) -/* 802AEC64 002ABBC4 80 05 00 08 */ lwz r0, 8(r5) -/* 802AEC68 002ABBC8 90 03 00 08 */ stw r0, 8(r3) -/* 802AEC6C 002ABBCC 80 A4 00 04 */ lwz r5, 4(r4) -/* 802AEC70 002ABBD0 80 05 00 0C */ lwz r0, 0xc(r5) -/* 802AEC74 002ABBD4 90 03 00 0C */ stw r0, 0xc(r3) -/* 802AEC78 002ABBD8 80 A4 00 04 */ lwz r5, 4(r4) -/* 802AEC7C 002ABBDC 80 05 00 10 */ lwz r0, 0x10(r5) -/* 802AEC80 002ABBE0 90 03 00 10 */ stw r0, 0x10(r3) -/* 802AEC84 002ABBE4 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 802AEC88 002ABBE8 38 05 00 1F */ addi r0, r5, 0x1f -/* 802AEC8C 002ABBEC 54 00 D9 7E */ srwi r0, r0, 5 -/* 802AEC90 002ABBF0 90 03 00 14 */ stw r0, 0x14(r3) -/* 802AEC94 002ABBF4 80 A4 00 04 */ lwz r5, 4(r4) -/* 802AEC98 002ABBF8 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802AEC9C 002ABBFC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802AECA0 002ABC00 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 802AECA4 002ABC04 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802AECA8 002ABC08 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 802AECAC 002ABC0C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802AECB0 002ABC10 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 802AECB4 002ABC14 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802AECB8 002ABC18 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 802AECBC 002ABC1C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802AECC0 002ABC20 C0 05 00 28 */ lfs f0, 0x28(r5) -/* 802AECC4 002ABC24 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802AECC8 002ABC28 80 84 00 04 */ lwz r4, 4(r4) -/* 802AECCC 002ABC2C 38 04 00 40 */ addi r0, r4, 0x40 -/* 802AECD0 002ABC30 90 03 00 30 */ stw r0, 0x30(r3) -/* 802AECD4 002ABC34 80 83 00 08 */ lwz r4, 8(r3) -/* 802AECD8 002ABC38 80 03 00 14 */ lwz r0, 0x14(r3) -/* 802AECDC 002ABC3C 80 A3 00 30 */ lwz r5, 0x30(r3) -/* 802AECE0 002ABC40 7C 04 01 D6 */ mullw r0, r4, r0 -/* 802AECE4 002ABC44 54 00 10 3A */ slwi r0, r0, 2 -/* 802AECE8 002ABC48 7C 05 02 14 */ add r0, r5, r0 -/* 802AECEC 002ABC4C 90 03 00 34 */ stw r0, 0x34(r3) -/* 802AECF0 002ABC50 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802AECF4 002ABC54 80 83 00 34 */ lwz r4, 0x34(r3) -/* 802AECF8 002ABC58 54 00 10 3A */ slwi r0, r0, 2 -/* 802AECFC 002ABC5C 7C 04 02 14 */ add r0, r4, r0 -/* 802AED00 002ABC60 90 03 00 38 */ stw r0, 0x38(r3) -/* 802AED04 002ABC64 4E 80 00 20 */ blr - -.global GetBounds__17CProjectileWeaponCFv -GetBounds__17CProjectileWeaponCFv: -/* 802AED08 002ABC68 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802AED0C 002ABC6C 7C 08 02 A6 */ mflr r0 -/* 802AED10 002ABC70 90 01 01 54 */ stw r0, 0x154(r1) -/* 802AED14 002ABC74 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 802AED18 002ABC78 3B E0 00 00 */ li r31, 0 -/* 802AED1C 002ABC7C 93 C1 01 48 */ stw r30, 0x148(r1) -/* 802AED20 002ABC80 7C 9E 23 78 */ mr r30, r4 -/* 802AED24 002ABC84 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 802AED28 002ABC88 93 A1 01 44 */ stw r29, 0x144(r1) -/* 802AED2C 002ABC8C 38 A4 67 54 */ addi r5, r4, lbl_805A6754@l -/* 802AED30 002ABC90 7C 7D 1B 78 */ mr r29, r3 -/* 802AED34 002ABC94 80 9E 00 FC */ lwz r4, 0xfc(r30) -/* 802AED38 002ABC98 C0 A5 00 00 */ lfs f5, 0(r5) -/* 802AED3C 002ABC9C C0 85 00 04 */ lfs f4, 4(r5) -/* 802AED40 002ABCA0 28 04 00 00 */ cmplwi r4, 0 -/* 802AED44 002ABCA4 C0 65 00 08 */ lfs f3, 8(r5) -/* 802AED48 002ABCA8 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 802AED4C 002ABCAC C0 25 00 10 */ lfs f1, 0x10(r5) -/* 802AED50 002ABCB0 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802AED54 002ABCB4 D0 A1 01 20 */ stfs f5, 0x120(r1) -/* 802AED58 002ABCB8 D0 81 01 24 */ stfs f4, 0x124(r1) -/* 802AED5C 002ABCBC D0 61 01 28 */ stfs f3, 0x128(r1) -/* 802AED60 002ABCC0 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 802AED64 002ABCC4 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 802AED68 002ABCC8 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 802AED6C 002ABCCC 41 82 00 9C */ beq lbl_802AEE08 -/* 802AED70 002ABCD0 81 84 00 00 */ lwz r12, 0(r4) -/* 802AED74 002ABCD4 38 61 00 78 */ addi r3, r1, 0x78 -/* 802AED78 002ABCD8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802AED7C 002ABCDC 7D 89 03 A6 */ mtctr r12 -/* 802AED80 002ABCE0 4E 80 04 21 */ bctrl -/* 802AED84 002ABCE4 88 01 00 90 */ lbz r0, 0x90(r1) -/* 802AED88 002ABCE8 28 00 00 00 */ cmplwi r0, 0 -/* 802AED8C 002ABCEC 98 01 01 1C */ stb r0, 0x11c(r1) -/* 802AED90 002ABCF0 41 82 00 3C */ beq lbl_802AEDCC -/* 802AED94 002ABCF4 34 61 01 04 */ addic. r3, r1, 0x104 -/* 802AED98 002ABCF8 41 82 00 34 */ beq lbl_802AEDCC -/* 802AED9C 002ABCFC C0 01 00 78 */ lfs f0, 0x78(r1) -/* 802AEDA0 002ABD00 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AEDA4 002ABD04 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802AEDA8 002ABD08 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AEDAC 002ABD0C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802AEDB0 002ABD10 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AEDB4 002ABD14 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 802AEDB8 002ABD18 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AEDBC 002ABD1C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 802AEDC0 002ABD20 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AEDC4 002ABD24 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 802AEDC8 002ABD28 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AEDCC: -/* 802AEDCC 002ABD2C 88 01 01 1C */ lbz r0, 0x11c(r1) -/* 802AEDD0 002ABD30 38 60 00 00 */ li r3, 0 -/* 802AEDD4 002ABD34 98 61 00 90 */ stb r3, 0x90(r1) -/* 802AEDD8 002ABD38 28 00 00 00 */ cmplwi r0, 0 -/* 802AEDDC 002ABD3C 41 82 00 24 */ beq lbl_802AEE00 -/* 802AEDE0 002ABD40 3B E1 01 04 */ addi r31, r1, 0x104 -/* 802AEDE4 002ABD44 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEDE8 002ABD48 7F E4 FB 78 */ mr r4, r31 -/* 802AEDEC 002ABD4C 48 08 8D 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEDF0 002ABD50 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEDF4 002ABD54 38 9F 00 0C */ addi r4, r31, 0xc -/* 802AEDF8 002ABD58 48 08 8D 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEDFC 002ABD5C 3B E0 00 01 */ li r31, 1 -lbl_802AEE00: -/* 802AEE00 002ABD60 38 00 00 00 */ li r0, 0 -/* 802AEE04 002ABD64 98 01 01 1C */ stb r0, 0x11c(r1) -lbl_802AEE08: -/* 802AEE08 002ABD68 80 9E 01 00 */ lwz r4, 0x100(r30) -/* 802AEE0C 002ABD6C 28 04 00 00 */ cmplwi r4, 0 -/* 802AEE10 002ABD70 41 82 00 9C */ beq lbl_802AEEAC -/* 802AEE14 002ABD74 81 84 00 00 */ lwz r12, 0(r4) -/* 802AEE18 002ABD78 38 61 00 5C */ addi r3, r1, 0x5c -/* 802AEE1C 002ABD7C 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802AEE20 002ABD80 7D 89 03 A6 */ mtctr r12 -/* 802AEE24 002ABD84 4E 80 04 21 */ bctrl -/* 802AEE28 002ABD88 88 01 00 74 */ lbz r0, 0x74(r1) -/* 802AEE2C 002ABD8C 28 00 00 00 */ cmplwi r0, 0 -/* 802AEE30 002ABD90 98 01 01 00 */ stb r0, 0x100(r1) -/* 802AEE34 002ABD94 41 82 00 3C */ beq lbl_802AEE70 -/* 802AEE38 002ABD98 34 61 00 E8 */ addic. r3, r1, 0xe8 -/* 802AEE3C 002ABD9C 41 82 00 34 */ beq lbl_802AEE70 -/* 802AEE40 002ABDA0 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802AEE44 002ABDA4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AEE48 002ABDA8 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802AEE4C 002ABDAC D0 03 00 04 */ stfs f0, 4(r3) -/* 802AEE50 002ABDB0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802AEE54 002ABDB4 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AEE58 002ABDB8 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 802AEE5C 002ABDBC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AEE60 002ABDC0 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 802AEE64 002ABDC4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AEE68 002ABDC8 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802AEE6C 002ABDCC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AEE70: -/* 802AEE70 002ABDD0 88 01 01 00 */ lbz r0, 0x100(r1) -/* 802AEE74 002ABDD4 38 60 00 00 */ li r3, 0 -/* 802AEE78 002ABDD8 98 61 00 74 */ stb r3, 0x74(r1) -/* 802AEE7C 002ABDDC 28 00 00 00 */ cmplwi r0, 0 -/* 802AEE80 002ABDE0 41 82 00 24 */ beq lbl_802AEEA4 -/* 802AEE84 002ABDE4 3B E1 00 E8 */ addi r31, r1, 0xe8 -/* 802AEE88 002ABDE8 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEE8C 002ABDEC 7F E4 FB 78 */ mr r4, r31 -/* 802AEE90 002ABDF0 48 08 8C 79 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEE94 002ABDF4 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEE98 002ABDF8 38 9F 00 0C */ addi r4, r31, 0xc -/* 802AEE9C 002ABDFC 48 08 8C 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEEA0 002ABE00 3B E0 00 01 */ li r31, 1 -lbl_802AEEA4: -/* 802AEEA4 002ABE04 38 00 00 00 */ li r0, 0 -/* 802AEEA8 002ABE08 98 01 01 00 */ stb r0, 0x100(r1) -lbl_802AEEAC: -/* 802AEEAC 002ABE0C 80 9E 01 18 */ lwz r4, 0x118(r30) -/* 802AEEB0 002ABE10 28 04 00 00 */ cmplwi r4, 0 -/* 802AEEB4 002ABE14 41 82 00 9C */ beq lbl_802AEF50 -/* 802AEEB8 002ABE18 81 84 00 00 */ lwz r12, 0(r4) -/* 802AEEBC 002ABE1C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AEEC0 002ABE20 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802AEEC4 002ABE24 7D 89 03 A6 */ mtctr r12 -/* 802AEEC8 002ABE28 4E 80 04 21 */ bctrl -/* 802AEECC 002ABE2C 88 01 00 58 */ lbz r0, 0x58(r1) -/* 802AEED0 002ABE30 28 00 00 00 */ cmplwi r0, 0 -/* 802AEED4 002ABE34 98 01 00 E4 */ stb r0, 0xe4(r1) -/* 802AEED8 002ABE38 41 82 00 3C */ beq lbl_802AEF14 -/* 802AEEDC 002ABE3C 34 61 00 CC */ addic. r3, r1, 0xcc -/* 802AEEE0 002ABE40 41 82 00 34 */ beq lbl_802AEF14 -/* 802AEEE4 002ABE44 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802AEEE8 002ABE48 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AEEEC 002ABE4C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802AEEF0 002ABE50 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AEEF4 002ABE54 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802AEEF8 002ABE58 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AEEFC 002ABE5C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802AEF00 002ABE60 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AEF04 002ABE64 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 802AEF08 002ABE68 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AEF0C 002ABE6C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802AEF10 002ABE70 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AEF14: -/* 802AEF14 002ABE74 88 01 00 E4 */ lbz r0, 0xe4(r1) -/* 802AEF18 002ABE78 38 60 00 00 */ li r3, 0 -/* 802AEF1C 002ABE7C 98 61 00 58 */ stb r3, 0x58(r1) -/* 802AEF20 002ABE80 28 00 00 00 */ cmplwi r0, 0 -/* 802AEF24 002ABE84 41 82 00 24 */ beq lbl_802AEF48 -/* 802AEF28 002ABE88 3B E1 00 CC */ addi r31, r1, 0xcc -/* 802AEF2C 002ABE8C 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEF30 002ABE90 7F E4 FB 78 */ mr r4, r31 -/* 802AEF34 002ABE94 48 08 8B D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEF38 002ABE98 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEF3C 002ABE9C 38 9F 00 0C */ addi r4, r31, 0xc -/* 802AEF40 002ABEA0 48 08 8B C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEF44 002ABEA4 3B E0 00 01 */ li r31, 1 -lbl_802AEF48: -/* 802AEF48 002ABEA8 38 00 00 00 */ li r0, 0 -/* 802AEF4C 002ABEAC 98 01 00 E4 */ stb r0, 0xe4(r1) -lbl_802AEF50: -/* 802AEF50 002ABEB0 80 9E 01 1C */ lwz r4, 0x11c(r30) -/* 802AEF54 002ABEB4 28 04 00 00 */ cmplwi r4, 0 -/* 802AEF58 002ABEB8 41 82 00 9C */ beq lbl_802AEFF4 -/* 802AEF5C 002ABEBC 81 84 00 00 */ lwz r12, 0(r4) -/* 802AEF60 002ABEC0 38 61 00 24 */ addi r3, r1, 0x24 -/* 802AEF64 002ABEC4 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802AEF68 002ABEC8 7D 89 03 A6 */ mtctr r12 -/* 802AEF6C 002ABECC 4E 80 04 21 */ bctrl -/* 802AEF70 002ABED0 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 802AEF74 002ABED4 28 00 00 00 */ cmplwi r0, 0 -/* 802AEF78 002ABED8 98 01 00 C8 */ stb r0, 0xc8(r1) -/* 802AEF7C 002ABEDC 41 82 00 3C */ beq lbl_802AEFB8 -/* 802AEF80 002ABEE0 34 61 00 B0 */ addic. r3, r1, 0xb0 -/* 802AEF84 002ABEE4 41 82 00 34 */ beq lbl_802AEFB8 -/* 802AEF88 002ABEE8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802AEF8C 002ABEEC D0 03 00 00 */ stfs f0, 0(r3) -/* 802AEF90 002ABEF0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802AEF94 002ABEF4 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AEF98 002ABEF8 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802AEF9C 002ABEFC D0 03 00 08 */ stfs f0, 8(r3) -/* 802AEFA0 002ABF00 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802AEFA4 002ABF04 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AEFA8 002ABF08 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802AEFAC 002ABF0C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AEFB0 002ABF10 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802AEFB4 002ABF14 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AEFB8: -/* 802AEFB8 002ABF18 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 802AEFBC 002ABF1C 38 60 00 00 */ li r3, 0 -/* 802AEFC0 002ABF20 98 61 00 3C */ stb r3, 0x3c(r1) -/* 802AEFC4 002ABF24 28 00 00 00 */ cmplwi r0, 0 -/* 802AEFC8 002ABF28 41 82 00 24 */ beq lbl_802AEFEC -/* 802AEFCC 002ABF2C 3B E1 00 B0 */ addi r31, r1, 0xb0 -/* 802AEFD0 002ABF30 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEFD4 002ABF34 7F E4 FB 78 */ mr r4, r31 -/* 802AEFD8 002ABF38 48 08 8B 31 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEFDC 002ABF3C 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AEFE0 002ABF40 38 9F 00 0C */ addi r4, r31, 0xc -/* 802AEFE4 002ABF44 48 08 8B 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AEFE8 002ABF48 3B E0 00 01 */ li r31, 1 -lbl_802AEFEC: -/* 802AEFEC 002ABF4C 38 00 00 00 */ li r0, 0 -/* 802AEFF0 002ABF50 98 01 00 C8 */ stb r0, 0xc8(r1) -lbl_802AEFF4: -/* 802AEFF4 002ABF54 80 9E 01 20 */ lwz r4, 0x120(r30) -/* 802AEFF8 002ABF58 28 04 00 00 */ cmplwi r4, 0 -/* 802AEFFC 002ABF5C 41 82 00 9C */ beq lbl_802AF098 -/* 802AF000 002ABF60 81 84 00 00 */ lwz r12, 0(r4) -/* 802AF004 002ABF64 38 61 00 08 */ addi r3, r1, 8 -/* 802AF008 002ABF68 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802AF00C 002ABF6C 7D 89 03 A6 */ mtctr r12 -/* 802AF010 002ABF70 4E 80 04 21 */ bctrl -/* 802AF014 002ABF74 88 01 00 20 */ lbz r0, 0x20(r1) -/* 802AF018 002ABF78 28 00 00 00 */ cmplwi r0, 0 -/* 802AF01C 002ABF7C 98 01 00 AC */ stb r0, 0xac(r1) -/* 802AF020 002ABF80 41 82 00 3C */ beq lbl_802AF05C -/* 802AF024 002ABF84 34 61 00 94 */ addic. r3, r1, 0x94 -/* 802AF028 002ABF88 41 82 00 34 */ beq lbl_802AF05C -/* 802AF02C 002ABF8C C0 01 00 08 */ lfs f0, 8(r1) -/* 802AF030 002ABF90 D0 03 00 00 */ stfs f0, 0(r3) -/* 802AF034 002ABF94 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802AF038 002ABF98 D0 03 00 04 */ stfs f0, 4(r3) -/* 802AF03C 002ABF9C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802AF040 002ABFA0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802AF044 002ABFA4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802AF048 002ABFA8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802AF04C 002ABFAC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802AF050 002ABFB0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802AF054 002ABFB4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802AF058 002ABFB8 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802AF05C: -/* 802AF05C 002ABFBC 88 01 00 AC */ lbz r0, 0xac(r1) -/* 802AF060 002ABFC0 38 60 00 00 */ li r3, 0 -/* 802AF064 002ABFC4 98 61 00 20 */ stb r3, 0x20(r1) -/* 802AF068 002ABFC8 28 00 00 00 */ cmplwi r0, 0 -/* 802AF06C 002ABFCC 41 82 00 24 */ beq lbl_802AF090 -/* 802AF070 002ABFD0 3B C1 00 94 */ addi r30, r1, 0x94 -/* 802AF074 002ABFD4 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AF078 002ABFD8 7F C4 F3 78 */ mr r4, r30 -/* 802AF07C 002ABFDC 48 08 8A 8D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AF080 002ABFE0 38 61 01 20 */ addi r3, r1, 0x120 -/* 802AF084 002ABFE4 38 9E 00 0C */ addi r4, r30, 0xc -/* 802AF088 002ABFE8 48 08 8A 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802AF08C 002ABFEC 3B E0 00 01 */ li r31, 1 -lbl_802AF090: -/* 802AF090 002ABFF0 38 00 00 00 */ li r0, 0 -/* 802AF094 002ABFF4 98 01 00 AC */ stb r0, 0xac(r1) -lbl_802AF098: -/* 802AF098 002ABFF8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802AF09C 002ABFFC 41 82 00 48 */ beq lbl_802AF0E4 -/* 802AF0A0 002AC000 38 00 00 01 */ li r0, 1 -/* 802AF0A4 002AC004 28 1D 00 00 */ cmplwi r29, 0 -/* 802AF0A8 002AC008 98 1D 00 18 */ stb r0, 0x18(r29) -/* 802AF0AC 002AC00C 41 82 00 40 */ beq lbl_802AF0EC -/* 802AF0B0 002AC010 C0 01 01 20 */ lfs f0, 0x120(r1) -/* 802AF0B4 002AC014 D0 1D 00 00 */ stfs f0, 0(r29) -/* 802AF0B8 002AC018 C0 01 01 24 */ lfs f0, 0x124(r1) -/* 802AF0BC 002AC01C D0 1D 00 04 */ stfs f0, 4(r29) -/* 802AF0C0 002AC020 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 802AF0C4 002AC024 D0 1D 00 08 */ stfs f0, 8(r29) -/* 802AF0C8 002AC028 C0 01 01 2C */ lfs f0, 0x12c(r1) -/* 802AF0CC 002AC02C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 802AF0D0 002AC030 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 802AF0D4 002AC034 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 802AF0D8 002AC038 C0 01 01 34 */ lfs f0, 0x134(r1) -/* 802AF0DC 002AC03C D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 802AF0E0 002AC040 48 00 00 0C */ b lbl_802AF0EC -lbl_802AF0E4: -/* 802AF0E4 002AC044 38 00 00 00 */ li r0, 0 -/* 802AF0E8 002AC048 98 1D 00 18 */ stb r0, 0x18(r29) -lbl_802AF0EC: -/* 802AF0EC 002AC04C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 802AF0F0 002AC050 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 802AF0F4 002AC054 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 802AF0F8 002AC058 83 A1 01 44 */ lwz r29, 0x144(r1) -/* 802AF0FC 002AC05C 7C 08 03 A6 */ mtlr r0 -/* 802AF100 002AC060 38 21 01 50 */ addi r1, r1, 0x150 -/* 802AF104 002AC064 4E 80 00 20 */ blr - -.global SetGlobalSeed__17CProjectileWeaponFUs -SetGlobalSeed__17CProjectileWeaponFUs: -/* 802AF108 002AC068 90 6D 9A 88 */ stw r3, lbl_805A8648@sda21(r13) -/* 802AF10C 002AC06C 4E 80 00 20 */ blr - -.global sub_802af110 -sub_802af110: -/* 802AF110 002AC070 38 63 00 BC */ addi r3, r3, 0xbc -/* 802AF114 002AC074 4E 80 00 20 */ blr - -.global SetGravity__17CProjectileWeaponFRC9CVector3f -SetGravity__17CProjectileWeaponFRC9CVector3f: -/* 802AF118 002AC078 C0 04 00 00 */ lfs f0, 0(r4) -/* 802AF11C 002AC07C D0 03 00 BC */ stfs f0, 0xbc(r3) -/* 802AF120 002AC080 C0 04 00 04 */ lfs f0, 4(r4) -/* 802AF124 002AC084 D0 03 00 C0 */ stfs f0, 0xc0(r3) -/* 802AF128 002AC088 C0 04 00 08 */ lfs f0, 8(r4) -/* 802AF12C 002AC08C D0 03 00 C4 */ stfs f0, 0xc4(r3) -/* 802AF130 002AC090 4E 80 00 20 */ blr - -.global GetVelocity__17CProjectileWeaponCFv -GetVelocity__17CProjectileWeaponCFv: -/* 802AF134 002AC094 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 802AF138 002AC098 4E 80 00 20 */ blr - -.global SetVelocity__17CProjectileWeaponFRC9CVector3f -SetVelocity__17CProjectileWeaponFRC9CVector3f: -/* 802AF13C 002AC09C C0 04 00 00 */ lfs f0, 0(r4) -/* 802AF140 002AC0A0 D0 03 00 B0 */ stfs f0, 0xb0(r3) -/* 802AF144 002AC0A4 C0 04 00 04 */ lfs f0, 4(r4) -/* 802AF148 002AC0A8 D0 03 00 B4 */ stfs f0, 0xb4(r3) -/* 802AF14C 002AC0AC C0 04 00 08 */ lfs f0, 8(r4) -/* 802AF150 002AC0B0 D0 03 00 B8 */ stfs f0, 0xb8(r3) -/* 802AF154 002AC0B4 4E 80 00 20 */ blr - -.global GetMaxTurnRate__17CProjectileWeaponCFv -GetMaxTurnRate__17CProjectileWeaponCFv: -/* 802AF158 002AC0B8 C0 23 00 E0 */ lfs f1, 0xe0(r3) -/* 802AF15C 002AC0BC 4E 80 00 20 */ blr - -.global GetAudibleFallOff__17CProjectileWeaponCFv -GetAudibleFallOff__17CProjectileWeaponCFv: -/* 802AF160 002AC0C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AF164 002AC0C4 7C 08 02 A6 */ mflr r0 -/* 802AF168 002AC0C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AF16C 002AC0CC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 802AF170 002AC0D0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 802AF174 002AC0D4 80 83 00 0C */ lwz r4, 0xc(r3) -/* 802AF178 002AC0D8 88 04 00 A0 */ lbz r0, 0xa0(r4) -/* 802AF17C 002AC0DC 28 00 00 00 */ cmplwi r0, 0 -/* 802AF180 002AC0E0 40 82 00 0C */ bne lbl_802AF18C -/* 802AF184 002AC0E4 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) -/* 802AF188 002AC0E8 48 00 00 34 */ b lbl_802AF1BC -lbl_802AF18C: -/* 802AF18C 002AC0EC 38 61 00 08 */ addi r3, r1, 8 -/* 802AF190 002AC0F0 38 84 00 94 */ addi r4, r4, 0x94 -/* 802AF194 002AC0F4 48 09 1D 15 */ bl __ct__6CTokenFRC6CToken -/* 802AF198 002AC0F8 38 61 00 08 */ addi r3, r1, 8 -/* 802AF19C 002AC0FC 48 09 1C 71 */ bl GetObj__6CTokenFv -/* 802AF1A0 002AC100 80 63 00 04 */ lwz r3, 4(r3) -/* 802AF1A4 002AC104 48 00 32 4D */ bl GetAudibleFallOff__22CCollisionResponseDataCFv -/* 802AF1A8 002AC108 FF E0 08 90 */ fmr f31, f1 -/* 802AF1AC 002AC10C 38 61 00 08 */ addi r3, r1, 8 -/* 802AF1B0 002AC110 38 80 00 00 */ li r4, 0 -/* 802AF1B4 002AC114 48 09 1C 8D */ bl __dt__6CTokenFv -/* 802AF1B8 002AC118 FC 20 F8 90 */ fmr f1, f31 -lbl_802AF1BC: -/* 802AF1BC 002AC11C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 802AF1C0 002AC120 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AF1C4 002AC124 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 802AF1C8 002AC128 7C 08 03 A6 */ mtlr r0 -/* 802AF1CC 002AC12C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AF1D0 002AC130 4E 80 00 20 */ blr - -.global GetAudibleRange__17CProjectileWeaponCFv -GetAudibleRange__17CProjectileWeaponCFv: -/* 802AF1D4 002AC134 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AF1D8 002AC138 7C 08 02 A6 */ mflr r0 -/* 802AF1DC 002AC13C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AF1E0 002AC140 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 802AF1E4 002AC144 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 802AF1E8 002AC148 80 83 00 0C */ lwz r4, 0xc(r3) -/* 802AF1EC 002AC14C 88 04 00 A0 */ lbz r0, 0xa0(r4) -/* 802AF1F0 002AC150 28 00 00 00 */ cmplwi r0, 0 -/* 802AF1F4 002AC154 40 82 00 0C */ bne lbl_802AF200 -/* 802AF1F8 002AC158 C0 22 C1 F0 */ lfs f1, lbl_805ADF10@sda21(r2) -/* 802AF1FC 002AC15C 48 00 00 34 */ b lbl_802AF230 -lbl_802AF200: -/* 802AF200 002AC160 38 61 00 08 */ addi r3, r1, 8 -/* 802AF204 002AC164 38 84 00 94 */ addi r4, r4, 0x94 -/* 802AF208 002AC168 48 09 1C A1 */ bl __ct__6CTokenFRC6CToken -/* 802AF20C 002AC16C 38 61 00 08 */ addi r3, r1, 8 -/* 802AF210 002AC170 48 09 1B FD */ bl GetObj__6CTokenFv -/* 802AF214 002AC174 80 63 00 04 */ lwz r3, 4(r3) -/* 802AF218 002AC178 48 00 31 E1 */ bl GetAudibleRange__22CCollisionResponseDataCFv -/* 802AF21C 002AC17C FF E0 08 90 */ fmr f31, f1 -/* 802AF220 002AC180 38 61 00 08 */ addi r3, r1, 8 -/* 802AF224 002AC184 38 80 00 00 */ li r4, 0 -/* 802AF228 002AC188 48 09 1C 19 */ bl __dt__6CTokenFv -/* 802AF22C 002AC18C FC 20 F8 90 */ fmr f1, f31 -lbl_802AF230: -/* 802AF230 002AC190 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 802AF234 002AC194 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AF238 002AC198 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 802AF23C 002AC19C 7C 08 03 A6 */ mtlr r0 -/* 802AF240 002AC1A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AF244 002AC1A4 4E 80 00 20 */ blr - -.global GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes -GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: -/* 802AF248 002AC1A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AF24C 002AC1AC 7C 08 02 A6 */ mflr r0 -/* 802AF250 002AC1B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AF254 002AC1B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802AF258 002AC1B8 7C BF 2B 78 */ mr r31, r5 -/* 802AF25C 002AC1BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802AF260 002AC1C0 7C 7E 1B 78 */ mr r30, r3 -/* 802AF264 002AC1C4 80 84 00 0C */ lwz r4, 0xc(r4) -/* 802AF268 002AC1C8 88 04 00 A0 */ lbz r0, 0xa0(r4) -/* 802AF26C 002AC1CC 28 00 00 00 */ cmplwi r0, 0 -/* 802AF270 002AC1D0 40 82 00 10 */ bne lbl_802AF280 -/* 802AF274 002AC1D4 38 00 00 00 */ li r0, 0 -/* 802AF278 002AC1D8 98 1E 00 0C */ stb r0, 0xc(r30) -/* 802AF27C 002AC1DC 48 00 00 38 */ b lbl_802AF2B4 -lbl_802AF280: -/* 802AF280 002AC1E0 38 61 00 08 */ addi r3, r1, 8 -/* 802AF284 002AC1E4 38 84 00 94 */ addi r4, r4, 0x94 -/* 802AF288 002AC1E8 48 09 1C 21 */ bl __ct__6CTokenFRC6CToken -/* 802AF28C 002AC1EC 38 61 00 08 */ addi r3, r1, 8 -/* 802AF290 002AC1F0 48 09 1B 7D */ bl GetObj__6CTokenFv -/* 802AF294 002AC1F4 7C 64 1B 78 */ mr r4, r3 -/* 802AF298 002AC1F8 7F C3 F3 78 */ mr r3, r30 -/* 802AF29C 002AC1FC 80 84 00 04 */ lwz r4, 4(r4) -/* 802AF2A0 002AC200 7F E5 FB 78 */ mr r5, r31 -/* 802AF2A4 002AC204 48 00 31 BD */ bl GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -/* 802AF2A8 002AC208 38 61 00 08 */ addi r3, r1, 8 -/* 802AF2AC 002AC20C 38 80 00 00 */ li r4, 0 -/* 802AF2B0 002AC210 48 09 1B 91 */ bl __dt__6CTokenFv -lbl_802AF2B4: -/* 802AF2B4 002AC214 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AF2B8 002AC218 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802AF2BC 002AC21C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802AF2C0 002AC220 7C 08 03 A6 */ mtlr r0 -/* 802AF2C4 002AC224 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AF2C8 002AC228 4E 80 00 20 */ blr - -.global GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes -GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes: -/* 802AF2CC 002AC22C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802AF2D0 002AC230 7C 08 02 A6 */ mflr r0 -/* 802AF2D4 002AC234 90 01 00 24 */ stw r0, 0x24(r1) -/* 802AF2D8 002AC238 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802AF2DC 002AC23C 7C 9F 23 78 */ mr r31, r4 -/* 802AF2E0 002AC240 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 802AF2E4 002AC244 88 05 00 A0 */ lbz r0, 0xa0(r5) -/* 802AF2E8 002AC248 28 00 00 00 */ cmplwi r0, 0 -/* 802AF2EC 002AC24C 40 82 00 0C */ bne lbl_802AF2F8 -/* 802AF2F0 002AC250 38 60 FF FF */ li r3, -1 -/* 802AF2F4 002AC254 48 00 00 38 */ b lbl_802AF32C -lbl_802AF2F8: -/* 802AF2F8 002AC258 38 61 00 08 */ addi r3, r1, 8 -/* 802AF2FC 002AC25C 38 85 00 94 */ addi r4, r5, 0x94 -/* 802AF300 002AC260 48 09 1B A9 */ bl __ct__6CTokenFRC6CToken -/* 802AF304 002AC264 38 61 00 08 */ addi r3, r1, 8 -/* 802AF308 002AC268 48 09 1B 05 */ bl GetObj__6CTokenFv -/* 802AF30C 002AC26C 80 63 00 04 */ lwz r3, 4(r3) -/* 802AF310 002AC270 7F E4 FB 78 */ mr r4, r31 -/* 802AF314 002AC274 48 00 31 BD */ bl GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -/* 802AF318 002AC278 7C 7F 1B 78 */ mr r31, r3 -/* 802AF31C 002AC27C 38 61 00 08 */ addi r3, r1, 8 -/* 802AF320 002AC280 38 80 00 00 */ li r4, 0 -/* 802AF324 002AC284 48 09 1B 1D */ bl __dt__6CTokenFv -/* 802AF328 002AC288 7F E3 FB 78 */ mr r3, r31 -lbl_802AF32C: -/* 802AF32C 002AC28C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802AF330 002AC290 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802AF334 002AC294 7C 08 03 A6 */ mtlr r0 -/* 802AF338 002AC298 38 21 00 20 */ addi r1, r1, 0x20 -/* 802AF33C 002AC29C 4E 80 00 20 */ blr - -.global CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f -CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f: -/* 802AF340 002AC2A0 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802AF344 002AC2A4 7C 08 02 A6 */ mflr r0 -/* 802AF348 002AC2A8 90 01 01 54 */ stw r0, 0x154(r1) -/* 802AF34C 002AC2AC BF 21 01 34 */ stmw r25, 0x134(r1) -/* 802AF350 002AC2B0 7C 7D 1B 78 */ mr r29, r3 -/* 802AF354 002AC2B4 7C BF 2B 78 */ mr r31, r5 -/* 802AF358 002AC2B8 7C 9E 23 78 */ mr r30, r4 -/* 802AF35C 002AC2BC 7C D9 33 78 */ mr r25, r6 -/* 802AF360 002AC2C0 7C FA 3B 78 */ mr r26, r7 -/* 802AF364 002AC2C4 7D 3B 4B 78 */ mr r27, r9 -/* 802AF368 002AC2C8 7D 5C 53 78 */ mr r28, r10 -/* 802AF36C 002AC2CC 38 61 00 58 */ addi r3, r1, 0x58 -/* 802AF370 002AC2D0 38 A1 00 4C */ addi r5, r1, 0x4c -/* 802AF374 002AC2D4 C0 28 00 04 */ lfs f1, 4(r8) -/* 802AF378 002AC2D8 C0 04 00 78 */ lfs f0, 0x78(r4) -/* 802AF37C 002AC2DC C0 68 00 08 */ lfs f3, 8(r8) -/* 802AF380 002AC2E0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802AF384 002AC2E4 C0 44 00 7C */ lfs f2, 0x7c(r4) -/* 802AF388 002AC2E8 C0 04 00 74 */ lfs f0, 0x74(r4) -/* 802AF38C 002AC2EC 38 9E 00 14 */ addi r4, r30, 0x14 -/* 802AF390 002AC2F0 C0 28 00 00 */ lfs f1, 0(r8) -/* 802AF394 002AC2F4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802AF398 002AC2F8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AF39C 002AC2FC D0 81 00 50 */ stfs f4, 0x50(r1) -/* 802AF3A0 002AC300 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 802AF3A4 002AC304 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802AF3A8 002AC308 48 06 36 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 802AF3AC 002AC30C C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802AF3B0 002AC310 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 802AF3B4 002AC314 C0 1E 00 8C */ lfs f0, 0x8c(r30) -/* 802AF3B8 002AC318 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 802AF3BC 002AC31C C0 7E 00 90 */ lfs f3, 0x90(r30) -/* 802AF3C0 002AC320 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AF3C4 002AC324 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 802AF3C8 002AC328 C0 3E 00 94 */ lfs f1, 0x94(r30) -/* 802AF3CC 002AC32C EC 64 18 28 */ fsubs f3, f4, f3 -/* 802AF3D0 002AC330 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 802AF3D4 002AC334 EC 02 08 28 */ fsubs f0, f2, f1 -/* 802AF3D8 002AC338 D0 7E 00 84 */ stfs f3, 0x84(r30) -/* 802AF3DC 002AC33C D0 1E 00 88 */ stfs f0, 0x88(r30) -/* 802AF3E0 002AC340 41 82 01 4C */ beq lbl_802AF52C -/* 802AF3E4 002AC344 7F C4 F3 78 */ mr r4, r30 -/* 802AF3E8 002AC348 38 61 00 40 */ addi r3, r1, 0x40 -/* 802AF3EC 002AC34C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802AF3F0 002AC350 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AF3F4 002AC354 7D 89 03 A6 */ mtctr r12 -/* 802AF3F8 002AC358 4E 80 04 21 */ bctrl -/* 802AF3FC 002AC35C C0 3C 00 04 */ lfs f1, 4(r28) -/* 802AF400 002AC360 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 802AF404 002AC364 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802AF408 002AC368 C0 7C 00 08 */ lfs f3, 8(r28) -/* 802AF40C 002AC36C EC 81 00 28 */ fsubs f4, f1, f0 -/* 802AF410 002AC370 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 802AF414 002AC374 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802AF418 002AC378 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802AF41C 002AC37C EC 43 10 28 */ fsubs f2, f3, f2 -/* 802AF420 002AC380 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802AF424 002AC384 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802AF428 002AC388 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802AF42C 002AC38C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802AF430 002AC390 41 82 00 4C */ beq lbl_802AF47C -/* 802AF434 002AC394 38 61 00 64 */ addi r3, r1, 0x64 -/* 802AF438 002AC398 48 06 52 C1 */ bl CanBeNormalized__9CVector3fCFv -/* 802AF43C 002AC39C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AF440 002AC3A0 41 82 00 3C */ beq lbl_802AF47C -/* 802AF444 002AC3A4 38 61 00 34 */ addi r3, r1, 0x34 -/* 802AF448 002AC3A8 38 81 00 64 */ addi r4, r1, 0x64 -/* 802AF44C 002AC3AC 48 06 54 05 */ bl AsNormalized__9CVector3fCFv -/* 802AF450 002AC3B0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802AF454 002AC3B4 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 802AF458 002AC3B8 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802AF45C 002AC3BC 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 802AF460 002AC3C0 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802AF464 002AC3C4 38 A1 00 34 */ addi r5, r1, 0x34 -/* 802AF468 002AC3C8 48 06 46 A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802AF46C 002AC3CC 7F C3 F3 78 */ mr r3, r30 -/* 802AF470 002AC3D0 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 802AF474 002AC3D4 48 00 10 31 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f -/* 802AF478 002AC3D8 48 00 00 A8 */ b lbl_802AF520 -lbl_802AF47C: -/* 802AF47C 002AC3DC 7F C4 F3 78 */ mr r4, r30 -/* 802AF480 002AC3E0 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802AF484 002AC3E4 48 00 11 55 */ bl GetTransform__17CProjectileWeaponFv -/* 802AF488 002AC3E8 C0 A1 00 B4 */ lfs f5, 0xb4(r1) -/* 802AF48C 002AC3EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802AF490 002AC3F0 C0 FB 00 04 */ lfs f7, 4(r27) -/* 802AF494 002AC3F4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802AF498 002AC3F8 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802AF49C 002AC3FC 7F 66 DB 78 */ mr r6, r27 -/* 802AF4A0 002AC400 EC 07 01 72 */ fmuls f0, f7, f5 -/* 802AF4A4 002AC404 C0 5B 00 00 */ lfs f2, 0(r27) -/* 802AF4A8 002AC408 C0 C1 00 C4 */ lfs f6, 0xc4(r1) -/* 802AF4AC 002AC40C 38 61 00 70 */ addi r3, r1, 0x70 -/* 802AF4B0 002AC410 C1 1B 00 08 */ lfs f8, 8(r27) -/* 802AF4B4 002AC414 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802AF4B8 002AC418 EC 02 01 3A */ fmadds f0, f2, f4, f0 -/* 802AF4BC 002AC41C C0 22 C1 F4 */ lfs f1, lbl_805ADF14@sda21(r2) -/* 802AF4C0 002AC420 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 802AF4C4 002AC424 EC 08 01 BA */ fmadds f0, f8, f6, f0 -/* 802AF4C8 002AC428 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 802AF4CC 002AC42C D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 802AF4D0 002AC430 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802AF4D4 002AC434 EC 60 00 B2 */ fmuls f3, f0, f2 -/* 802AF4D8 002AC438 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 802AF4DC 002AC43C EC 20 02 32 */ fmuls f1, f0, f8 -/* 802AF4E0 002AC440 EC 04 18 28 */ fsubs f0, f4, f3 -/* 802AF4E4 002AC444 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 802AF4E8 002AC448 EC 85 10 28 */ fsubs f4, f5, f2 -/* 802AF4EC 002AC44C EC 66 08 28 */ fsubs f3, f6, f1 -/* 802AF4F0 002AC450 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802AF4F4 002AC454 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802AF4F8 002AC458 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802AF4FC 002AC45C D0 81 00 20 */ stfs f4, 0x20(r1) -/* 802AF500 002AC460 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802AF504 002AC464 48 06 46 0D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802AF508 002AC468 38 61 01 00 */ addi r3, r1, 0x100 -/* 802AF50C 002AC46C 38 81 00 70 */ addi r4, r1, 0x70 -/* 802AF510 002AC470 48 06 36 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AF514 002AC474 7F C3 F3 78 */ mr r3, r30 -/* 802AF518 002AC478 38 81 01 00 */ addi r4, r1, 0x100 -/* 802AF51C 002AC47C 48 00 0F 89 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f -lbl_802AF520: -/* 802AF520 002AC480 38 00 00 00 */ li r0, 0 -/* 802AF524 002AC484 98 1D 00 0C */ stb r0, 0xc(r29) -/* 802AF528 002AC488 48 00 01 04 */ b lbl_802AF62C -lbl_802AF52C: -/* 802AF52C 002AC48C 88 1E 01 24 */ lbz r0, 0x124(r30) -/* 802AF530 002AC490 38 60 00 00 */ li r3, 0 -/* 802AF534 002AC494 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802AF538 002AC498 98 1E 01 24 */ stb r0, 0x124(r30) -/* 802AF53C 002AC49C 80 7E 00 FC */ lwz r3, 0xfc(r30) -/* 802AF540 002AC4A0 28 03 00 00 */ cmplwi r3, 0 -/* 802AF544 002AC4A4 41 82 00 18 */ beq lbl_802AF55C -/* 802AF548 002AC4A8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF54C 002AC4AC 38 80 00 00 */ li r4, 0 -/* 802AF550 002AC4B0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AF554 002AC4B4 7D 89 03 A6 */ mtctr r12 -/* 802AF558 002AC4B8 4E 80 04 21 */ bctrl -lbl_802AF55C: -/* 802AF55C 002AC4BC 80 7E 01 00 */ lwz r3, 0x100(r30) -/* 802AF560 002AC4C0 28 03 00 00 */ cmplwi r3, 0 -/* 802AF564 002AC4C4 41 82 00 18 */ beq lbl_802AF57C -/* 802AF568 002AC4C8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF56C 002AC4CC 38 80 00 00 */ li r4, 0 -/* 802AF570 002AC4D0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AF574 002AC4D4 7D 89 03 A6 */ mtctr r12 -/* 802AF578 002AC4D8 4E 80 04 21 */ bctrl -lbl_802AF57C: -/* 802AF57C 002AC4DC 80 7E 01 18 */ lwz r3, 0x118(r30) -/* 802AF580 002AC4E0 28 03 00 00 */ cmplwi r3, 0 -/* 802AF584 002AC4E4 41 82 00 18 */ beq lbl_802AF59C -/* 802AF588 002AC4E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF58C 002AC4EC 38 80 00 00 */ li r4, 0 -/* 802AF590 002AC4F0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AF594 002AC4F4 7D 89 03 A6 */ mtctr r12 -/* 802AF598 002AC4F8 4E 80 04 21 */ bctrl -lbl_802AF59C: -/* 802AF59C 002AC4FC 80 7E 01 1C */ lwz r3, 0x11c(r30) -/* 802AF5A0 002AC500 28 03 00 00 */ cmplwi r3, 0 -/* 802AF5A4 002AC504 41 82 00 18 */ beq lbl_802AF5BC -/* 802AF5A8 002AC508 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF5AC 002AC50C 38 80 00 00 */ li r4, 0 -/* 802AF5B0 002AC510 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AF5B4 002AC514 7D 89 03 A6 */ mtctr r12 -/* 802AF5B8 002AC518 4E 80 04 21 */ bctrl -lbl_802AF5BC: -/* 802AF5BC 002AC51C 80 7E 01 20 */ lwz r3, 0x120(r30) -/* 802AF5C0 002AC520 28 03 00 00 */ cmplwi r3, 0 -/* 802AF5C4 002AC524 41 82 00 18 */ beq lbl_802AF5DC -/* 802AF5C8 002AC528 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF5CC 002AC52C 38 80 00 00 */ li r4, 0 -/* 802AF5D0 002AC530 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AF5D4 002AC534 7D 89 03 A6 */ mtctr r12 -/* 802AF5D8 002AC538 4E 80 04 21 */ bctrl -lbl_802AF5DC: -/* 802AF5DC 002AC53C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 802AF5E0 002AC540 88 04 00 A0 */ lbz r0, 0xa0(r4) -/* 802AF5E4 002AC544 28 00 00 00 */ cmplwi r0, 0 -/* 802AF5E8 002AC548 40 82 00 10 */ bne lbl_802AF5F8 -/* 802AF5EC 002AC54C 38 00 00 00 */ li r0, 0 -/* 802AF5F0 002AC550 98 1D 00 0C */ stb r0, 0xc(r29) -/* 802AF5F4 002AC554 48 00 00 38 */ b lbl_802AF62C -lbl_802AF5F8: -/* 802AF5F8 002AC558 38 61 00 08 */ addi r3, r1, 8 -/* 802AF5FC 002AC55C 38 84 00 94 */ addi r4, r4, 0x94 -/* 802AF600 002AC560 48 09 18 A9 */ bl __ct__6CTokenFRC6CToken -/* 802AF604 002AC564 38 61 00 08 */ addi r3, r1, 8 -/* 802AF608 002AC568 48 09 18 05 */ bl GetObj__6CTokenFv -/* 802AF60C 002AC56C 7C 64 1B 78 */ mr r4, r3 -/* 802AF610 002AC570 7F A3 EB 78 */ mr r3, r29 -/* 802AF614 002AC574 80 84 00 04 */ lwz r4, 4(r4) -/* 802AF618 002AC578 7F E5 FB 78 */ mr r5, r31 -/* 802AF61C 002AC57C 48 00 2F A5 */ bl GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -/* 802AF620 002AC580 38 61 00 08 */ addi r3, r1, 8 -/* 802AF624 002AC584 38 80 00 00 */ li r4, 0 -/* 802AF628 002AC588 48 09 18 19 */ bl __dt__6CTokenFv -lbl_802AF62C: -/* 802AF62C 002AC58C BB 21 01 34 */ lmw r25, 0x134(r1) -/* 802AF630 002AC590 80 01 01 54 */ lwz r0, 0x154(r1) -/* 802AF634 002AC594 7C 08 03 A6 */ mtlr r0 -/* 802AF638 002AC598 38 21 01 50 */ addi r1, r1, 0x150 -/* 802AF63C 002AC59C 4E 80 00 20 */ blr - -.global RenderParticles__17CProjectileWeaponCFv -RenderParticles__17CProjectileWeaponCFv: -/* 802AF640 002AC5A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AF644 002AC5A4 7C 08 02 A6 */ mflr r0 -/* 802AF648 002AC5A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AF64C 002AC5AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AF650 002AC5B0 7C 7F 1B 78 */ mr r31, r3 -/* 802AF654 002AC5B4 80 63 00 FC */ lwz r3, 0xfc(r3) -/* 802AF658 002AC5B8 28 03 00 00 */ cmplwi r3, 0 -/* 802AF65C 002AC5BC 41 82 00 14 */ beq lbl_802AF670 -/* 802AF660 002AC5C0 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF664 002AC5C4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF668 002AC5C8 7D 89 03 A6 */ mtctr r12 -/* 802AF66C 002AC5CC 4E 80 04 21 */ bctrl -lbl_802AF670: -/* 802AF670 002AC5D0 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AF674 002AC5D4 28 03 00 00 */ cmplwi r3, 0 -/* 802AF678 002AC5D8 41 82 00 14 */ beq lbl_802AF68C -/* 802AF67C 002AC5DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF680 002AC5E0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF684 002AC5E4 7D 89 03 A6 */ mtctr r12 -/* 802AF688 002AC5E8 4E 80 04 21 */ bctrl -lbl_802AF68C: -/* 802AF68C 002AC5EC 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AF690 002AC5F0 28 03 00 00 */ cmplwi r3, 0 -/* 802AF694 002AC5F4 41 82 00 14 */ beq lbl_802AF6A8 -/* 802AF698 002AC5F8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF69C 002AC5FC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF6A0 002AC600 7D 89 03 A6 */ mtctr r12 -/* 802AF6A4 002AC604 4E 80 04 21 */ bctrl -lbl_802AF6A8: -/* 802AF6A8 002AC608 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AF6AC 002AC60C 28 03 00 00 */ cmplwi r3, 0 -/* 802AF6B0 002AC610 41 82 00 14 */ beq lbl_802AF6C4 -/* 802AF6B4 002AC614 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF6B8 002AC618 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF6BC 002AC61C 7D 89 03 A6 */ mtctr r12 -/* 802AF6C0 002AC620 4E 80 04 21 */ bctrl -lbl_802AF6C4: -/* 802AF6C4 002AC624 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802AF6C8 002AC628 28 03 00 00 */ cmplwi r3, 0 -/* 802AF6CC 002AC62C 41 82 00 14 */ beq lbl_802AF6E0 -/* 802AF6D0 002AC630 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF6D4 002AC634 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF6D8 002AC638 7D 89 03 A6 */ mtctr r12 -/* 802AF6DC 002AC63C 4E 80 04 21 */ bctrl -lbl_802AF6E0: -/* 802AF6E0 002AC640 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 802AF6E4 002AC644 28 03 00 00 */ cmplwi r3, 0 -/* 802AF6E8 002AC648 41 82 00 14 */ beq lbl_802AF6FC -/* 802AF6EC 002AC64C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF6F0 002AC650 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802AF6F4 002AC654 7D 89 03 A6 */ mtctr r12 -/* 802AF6F8 002AC658 4E 80 04 21 */ bctrl -lbl_802AF6FC: -/* 802AF6FC 002AC65C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AF700 002AC660 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AF704 002AC664 7C 08 03 A6 */ mtlr r0 -/* 802AF708 002AC668 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AF70C 002AC66C 4E 80 00 20 */ blr - -.global AddToRenderer__17CProjectileWeaponCFv -AddToRenderer__17CProjectileWeaponCFv: -/* 802AF710 002AC670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AF714 002AC674 7C 08 02 A6 */ mflr r0 -/* 802AF718 002AC678 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AF71C 002AC67C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AF720 002AC680 7C 7F 1B 78 */ mr r31, r3 -/* 802AF724 002AC684 80 83 00 FC */ lwz r4, 0xfc(r3) -/* 802AF728 002AC688 28 04 00 00 */ cmplwi r4, 0 -/* 802AF72C 002AC68C 41 82 00 18 */ beq lbl_802AF744 -/* 802AF730 002AC690 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF734 002AC694 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF738 002AC698 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF73C 002AC69C 7D 89 03 A6 */ mtctr r12 -/* 802AF740 002AC6A0 4E 80 04 21 */ bctrl -lbl_802AF744: -/* 802AF744 002AC6A4 80 9F 01 00 */ lwz r4, 0x100(r31) -/* 802AF748 002AC6A8 28 04 00 00 */ cmplwi r4, 0 -/* 802AF74C 002AC6AC 41 82 00 18 */ beq lbl_802AF764 -/* 802AF750 002AC6B0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF754 002AC6B4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF758 002AC6B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF75C 002AC6BC 7D 89 03 A6 */ mtctr r12 -/* 802AF760 002AC6C0 4E 80 04 21 */ bctrl -lbl_802AF764: -/* 802AF764 002AC6C4 80 9F 01 18 */ lwz r4, 0x118(r31) -/* 802AF768 002AC6C8 28 04 00 00 */ cmplwi r4, 0 -/* 802AF76C 002AC6CC 41 82 00 18 */ beq lbl_802AF784 -/* 802AF770 002AC6D0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF774 002AC6D4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF778 002AC6D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF77C 002AC6DC 7D 89 03 A6 */ mtctr r12 -/* 802AF780 002AC6E0 4E 80 04 21 */ bctrl -lbl_802AF784: -/* 802AF784 002AC6E4 80 9F 01 1C */ lwz r4, 0x11c(r31) -/* 802AF788 002AC6E8 28 04 00 00 */ cmplwi r4, 0 -/* 802AF78C 002AC6EC 41 82 00 18 */ beq lbl_802AF7A4 -/* 802AF790 002AC6F0 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF794 002AC6F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF798 002AC6F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF79C 002AC6FC 7D 89 03 A6 */ mtctr r12 -/* 802AF7A0 002AC700 4E 80 04 21 */ bctrl -lbl_802AF7A4: -/* 802AF7A4 002AC704 80 9F 01 20 */ lwz r4, 0x120(r31) -/* 802AF7A8 002AC708 28 04 00 00 */ cmplwi r4, 0 -/* 802AF7AC 002AC70C 41 82 00 18 */ beq lbl_802AF7C4 -/* 802AF7B0 002AC710 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF7B4 002AC714 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF7B8 002AC718 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF7BC 002AC71C 7D 89 03 A6 */ mtctr r12 -/* 802AF7C0 002AC720 4E 80 04 21 */ bctrl -lbl_802AF7C4: -/* 802AF7C4 002AC724 80 9F 01 04 */ lwz r4, 0x104(r31) -/* 802AF7C8 002AC728 28 04 00 00 */ cmplwi r4, 0 -/* 802AF7CC 002AC72C 41 82 00 18 */ beq lbl_802AF7E4 -/* 802AF7D0 002AC730 80 6D 9A 90 */ lwz r3, lbl_805A8650@sda21(r13) -/* 802AF7D4 002AC734 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF7D8 002AC738 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AF7DC 002AC73C 7D 89 03 A6 */ mtctr r12 -/* 802AF7E0 002AC740 4E 80 04 21 */ bctrl -lbl_802AF7E4: -/* 802AF7E4 002AC744 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AF7E8 002AC748 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AF7EC 002AC74C 7C 08 03 A6 */ mtlr r0 -/* 802AF7F0 002AC750 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AF7F4 002AC754 4E 80 00 20 */ blr - -.global Render__17CProjectileWeaponCFv -Render__17CProjectileWeaponCFv: -/* 802AF7F8 002AC758 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 802AF7FC 002AC75C 7C 08 02 A6 */ mflr r0 -/* 802AF800 002AC760 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 802AF804 002AC764 93 E1 02 BC */ stw r31, 0x2bc(r1) -/* 802AF808 002AC768 7C 7F 1B 78 */ mr r31, r3 -/* 802AF80C 002AC76C 80 63 00 F4 */ lwz r3, 0xf4(r3) -/* 802AF810 002AC770 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802AF814 002AC774 7C 03 00 00 */ cmpw r3, r0 -/* 802AF818 002AC778 41 81 01 70 */ bgt lbl_802AF988 -/* 802AF81C 002AC77C 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AF820 002AC780 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802AF824 002AC784 41 82 01 64 */ beq lbl_802AF988 -/* 802AF828 002AC788 88 1F 01 14 */ lbz r0, 0x114(r31) -/* 802AF82C 002AC78C 28 00 00 00 */ cmplwi r0, 0 -/* 802AF830 002AC790 41 82 01 58 */ beq lbl_802AF988 -/* 802AF834 002AC794 38 61 00 10 */ addi r3, r1, 0x10 -/* 802AF838 002AC798 38 9F 00 44 */ addi r4, r31, 0x44 -/* 802AF83C 002AC79C 38 BF 00 8C */ addi r5, r31, 0x8c -/* 802AF840 002AC7A0 48 06 32 A9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802AF844 002AC7A4 C0 7F 00 84 */ lfs f3, 0x84(r31) -/* 802AF848 002AC7A8 38 61 01 54 */ addi r3, r1, 0x154 -/* 802AF84C 002AC7AC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802AF850 002AC7B0 38 81 00 28 */ addi r4, r1, 0x28 -/* 802AF854 002AC7B4 C0 5F 00 88 */ lfs f2, 0x88(r31) -/* 802AF858 002AC7B8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802AF85C 002AC7BC EC 83 08 2A */ fadds f4, f3, f1 -/* 802AF860 002AC7C0 C0 3F 00 A8 */ lfs f1, 0xa8(r31) -/* 802AF864 002AC7C4 EC 62 00 2A */ fadds f3, f2, f0 -/* 802AF868 002AC7C8 C0 1F 00 AC */ lfs f0, 0xac(r31) -/* 802AF86C 002AC7CC EC C4 08 2A */ fadds f6, f4, f1 -/* 802AF870 002AC7D0 C0 5F 00 80 */ lfs f2, 0x80(r31) -/* 802AF874 002AC7D4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802AF878 002AC7D8 EC A3 00 2A */ fadds f5, f3, f0 -/* 802AF87C 002AC7DC EC 22 08 2A */ fadds f1, f2, f1 -/* 802AF880 002AC7E0 C0 1F 00 A4 */ lfs f0, 0xa4(r31) -/* 802AF884 002AC7E4 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 802AF888 002AC7E8 EC 01 00 2A */ fadds f0, f1, f0 -/* 802AF88C 002AC7EC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802AF890 002AC7F0 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802AF894 002AC7F4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802AF898 002AC7F8 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 802AF89C 002AC7FC D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 802AF8A0 002AC800 48 06 38 A1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802AF8A4 002AC804 38 61 01 E4 */ addi r3, r1, 0x1e4 -/* 802AF8A8 002AC808 38 81 01 54 */ addi r4, r1, 0x154 -/* 802AF8AC 002AC80C 48 06 32 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AF8B0 002AC810 38 61 01 24 */ addi r3, r1, 0x124 -/* 802AF8B4 002AC814 38 9F 00 74 */ addi r4, r31, 0x74 -/* 802AF8B8 002AC818 48 06 38 89 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802AF8BC 002AC81C 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 802AF8C0 002AC820 38 81 01 24 */ addi r4, r1, 0x124 -/* 802AF8C4 002AC824 48 06 32 B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AF8C8 002AC828 C0 3F 00 98 */ lfs f1, 0x98(r31) -/* 802AF8CC 002AC82C 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802AF8D0 002AC830 C0 5F 00 9C */ lfs f2, 0x9c(r31) -/* 802AF8D4 002AC834 C0 7F 00 A0 */ lfs f3, 0xa0(r31) -/* 802AF8D8 002AC838 48 06 39 31 */ bl Scale__12CTransform4fFfff -/* 802AF8DC 002AC83C 38 61 01 84 */ addi r3, r1, 0x184 -/* 802AF8E0 002AC840 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 802AF8E4 002AC844 48 06 32 91 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802AF8E8 002AC848 38 61 00 34 */ addi r3, r1, 0x34 -/* 802AF8EC 002AC84C 38 81 01 B4 */ addi r4, r1, 0x1b4 -/* 802AF8F0 002AC850 38 BF 00 14 */ addi r5, r31, 0x14 -/* 802AF8F4 002AC854 48 06 30 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AF8F8 002AC858 38 61 00 64 */ addi r3, r1, 0x64 -/* 802AF8FC 002AC85C 38 81 00 34 */ addi r4, r1, 0x34 -/* 802AF900 002AC860 38 A1 01 E4 */ addi r5, r1, 0x1e4 -/* 802AF904 002AC864 48 06 30 4D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AF908 002AC868 38 61 00 94 */ addi r3, r1, 0x94 -/* 802AF90C 002AC86C 38 81 00 64 */ addi r4, r1, 0x64 -/* 802AF910 002AC870 38 A1 01 84 */ addi r5, r1, 0x184 -/* 802AF914 002AC874 48 06 30 3D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AF918 002AC878 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 802AF91C 002AC87C 38 81 00 94 */ addi r4, r1, 0x94 -/* 802AF920 002AC880 38 BF 00 44 */ addi r5, r31, 0x44 -/* 802AF924 002AC884 48 06 30 2D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802AF928 002AC888 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 802AF92C 002AC88C 48 05 CC B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802AF930 002AC890 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802AF934 002AC894 38 61 02 14 */ addi r3, r1, 0x214 -/* 802AF938 002AC898 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802AF93C 002AC89C 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 802AF940 002AC8A0 48 05 6B 65 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -/* 802AF944 002AC8A4 38 61 02 64 */ addi r3, r1, 0x264 -/* 802AF948 002AC8A8 38 81 02 14 */ addi r4, r1, 0x214 -/* 802AF94C 002AC8AC 4B D8 BC 25 */ bl __ct__6CLightFCR6CLight -/* 802AF950 002AC8B0 C0 22 C1 F8 */ lfs f1, lbl_805ADF18@sda21(r2) -/* 802AF954 002AC8B4 38 80 00 00 */ li r4, 0 -/* 802AF958 002AC8B8 38 00 00 03 */ li r0, 3 -/* 802AF95C 002AC8BC 98 81 00 08 */ stb r4, 8(r1) -/* 802AF960 002AC8C0 FC 40 08 90 */ fmr f2, f1 -/* 802AF964 002AC8C4 38 61 00 0C */ addi r3, r1, 0xc -/* 802AF968 002AC8C8 FC 60 08 90 */ fmr f3, f1 -/* 802AF96C 002AC8CC 98 81 00 09 */ stb r4, 9(r1) -/* 802AF970 002AC8D0 FC 80 08 90 */ fmr f4, f1 -/* 802AF974 002AC8D4 B0 01 00 0A */ sth r0, 0xa(r1) -/* 802AF978 002AC8D8 48 0B 3A 75 */ bl __ct__6CColorFffff -/* 802AF97C 002AC8DC 80 7F 01 10 */ lwz r3, 0x110(r31) -/* 802AF980 002AC8E0 38 81 00 08 */ addi r4, r1, 8 -/* 802AF984 002AC8E4 48 0A 62 51 */ bl Draw__6CModelCFRC11CModelFlags -lbl_802AF988: -/* 802AF988 002AC8E8 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 802AF98C 002AC8EC 83 E1 02 BC */ lwz r31, 0x2bc(r1) -/* 802AF990 002AC8F0 7C 08 03 A6 */ mtlr r0 -/* 802AF994 002AC8F4 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 802AF998 002AC8F8 4E 80 00 20 */ blr - -.global IsSystemDeletable__17CProjectileWeaponCFv -IsSystemDeletable__17CProjectileWeaponCFv: -/* 802AF99C 002AC8FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802AF9A0 002AC900 7C 08 02 A6 */ mflr r0 -/* 802AF9A4 002AC904 90 01 00 14 */ stw r0, 0x14(r1) -/* 802AF9A8 002AC908 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802AF9AC 002AC90C 3B E0 00 01 */ li r31, 1 -/* 802AF9B0 002AC910 93 C1 00 08 */ stw r30, 8(r1) -/* 802AF9B4 002AC914 7C 7E 1B 78 */ mr r30, r3 -/* 802AF9B8 002AC918 80 63 00 FC */ lwz r3, 0xfc(r3) -/* 802AF9BC 002AC91C 28 03 00 00 */ cmplwi r3, 0 -/* 802AF9C0 002AC920 41 82 00 24 */ beq lbl_802AF9E4 -/* 802AF9C4 002AC924 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF9C8 002AC928 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AF9CC 002AC92C 7D 89 03 A6 */ mtctr r12 -/* 802AF9D0 002AC930 4E 80 04 21 */ bctrl -/* 802AF9D4 002AC934 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AF9D8 002AC938 40 82 00 0C */ bne lbl_802AF9E4 -/* 802AF9DC 002AC93C 3B E0 00 00 */ li r31, 0 -/* 802AF9E0 002AC940 48 00 01 04 */ b lbl_802AFAE4 -lbl_802AF9E4: -/* 802AF9E4 002AC944 80 7E 01 00 */ lwz r3, 0x100(r30) -/* 802AF9E8 002AC948 28 03 00 00 */ cmplwi r3, 0 -/* 802AF9EC 002AC94C 41 82 00 24 */ beq lbl_802AFA10 -/* 802AF9F0 002AC950 81 83 00 00 */ lwz r12, 0(r3) -/* 802AF9F4 002AC954 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AF9F8 002AC958 7D 89 03 A6 */ mtctr r12 -/* 802AF9FC 002AC95C 4E 80 04 21 */ bctrl -/* 802AFA00 002AC960 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AFA04 002AC964 40 82 00 0C */ bne lbl_802AFA10 -/* 802AFA08 002AC968 3B E0 00 00 */ li r31, 0 -/* 802AFA0C 002AC96C 48 00 00 D8 */ b lbl_802AFAE4 -lbl_802AFA10: -/* 802AFA10 002AC970 80 7E 01 18 */ lwz r3, 0x118(r30) -/* 802AFA14 002AC974 28 03 00 00 */ cmplwi r3, 0 -/* 802AFA18 002AC978 41 82 00 24 */ beq lbl_802AFA3C -/* 802AFA1C 002AC97C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFA20 002AC980 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFA24 002AC984 7D 89 03 A6 */ mtctr r12 -/* 802AFA28 002AC988 4E 80 04 21 */ bctrl -/* 802AFA2C 002AC98C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AFA30 002AC990 40 82 00 0C */ bne lbl_802AFA3C -/* 802AFA34 002AC994 3B E0 00 00 */ li r31, 0 -/* 802AFA38 002AC998 48 00 00 AC */ b lbl_802AFAE4 -lbl_802AFA3C: -/* 802AFA3C 002AC99C 80 7E 01 1C */ lwz r3, 0x11c(r30) -/* 802AFA40 002AC9A0 28 03 00 00 */ cmplwi r3, 0 -/* 802AFA44 002AC9A4 41 82 00 24 */ beq lbl_802AFA68 -/* 802AFA48 002AC9A8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFA4C 002AC9AC 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFA50 002AC9B0 7D 89 03 A6 */ mtctr r12 -/* 802AFA54 002AC9B4 4E 80 04 21 */ bctrl -/* 802AFA58 002AC9B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AFA5C 002AC9BC 40 82 00 0C */ bne lbl_802AFA68 -/* 802AFA60 002AC9C0 3B E0 00 00 */ li r31, 0 -/* 802AFA64 002AC9C4 48 00 00 80 */ b lbl_802AFAE4 -lbl_802AFA68: -/* 802AFA68 002AC9C8 80 7E 01 20 */ lwz r3, 0x120(r30) -/* 802AFA6C 002AC9CC 28 03 00 00 */ cmplwi r3, 0 -/* 802AFA70 002AC9D0 41 82 00 24 */ beq lbl_802AFA94 -/* 802AFA74 002AC9D4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFA78 002AC9D8 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFA7C 002AC9DC 7D 89 03 A6 */ mtctr r12 -/* 802AFA80 002AC9E0 4E 80 04 21 */ bctrl -/* 802AFA84 002AC9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AFA88 002AC9E8 40 82 00 0C */ bne lbl_802AFA94 -/* 802AFA8C 002AC9EC 3B E0 00 00 */ li r31, 0 -/* 802AFA90 002AC9F0 48 00 00 54 */ b lbl_802AFAE4 -lbl_802AFA94: -/* 802AFA94 002AC9F4 80 7E 01 04 */ lwz r3, 0x104(r30) -/* 802AFA98 002AC9F8 28 03 00 00 */ cmplwi r3, 0 -/* 802AFA9C 002AC9FC 41 82 00 24 */ beq lbl_802AFAC0 -/* 802AFAA0 002ACA00 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFAA4 002ACA04 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFAA8 002ACA08 7D 89 03 A6 */ mtctr r12 -/* 802AFAAC 002ACA0C 4E 80 04 21 */ bctrl -/* 802AFAB0 002ACA10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802AFAB4 002ACA14 40 82 00 0C */ bne lbl_802AFAC0 -/* 802AFAB8 002ACA18 3B E0 00 00 */ li r31, 0 -/* 802AFABC 002ACA1C 48 00 00 28 */ b lbl_802AFAE4 -lbl_802AFAC0: -/* 802AFAC0 002ACA20 88 1E 01 24 */ lbz r0, 0x124(r30) -/* 802AFAC4 002ACA24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802AFAC8 002ACA28 41 82 00 1C */ beq lbl_802AFAE4 -/* 802AFACC 002ACA2C 80 BE 00 F4 */ lwz r5, 0xf4(r30) -/* 802AFAD0 002ACA30 80 1E 00 E8 */ lwz r0, 0xe8(r30) -/* 802AFAD4 002ACA34 7C A4 FE 70 */ srawi r4, r5, 0x1f -/* 802AFAD8 002ACA38 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802AFADC 002ACA3C 7C 00 28 10 */ subfc r0, r0, r5 -/* 802AFAE0 002ACA40 7F E4 19 14 */ adde r31, r4, r3 -lbl_802AFAE4: -/* 802AFAE4 002ACA44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802AFAE8 002ACA48 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 802AFAEC 002ACA4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802AFAF0 002ACA50 83 C1 00 08 */ lwz r30, 8(r1) -/* 802AFAF4 002ACA54 7C 08 03 A6 */ mtlr r0 -/* 802AFAF8 002ACA58 38 21 00 10 */ addi r1, r1, 0x10 -/* 802AFAFC 002ACA5C 4E 80 00 20 */ blr - -.global UpdateChildParticleSystems__17CProjectileWeaponFf -UpdateChildParticleSystems__17CProjectileWeaponFf: -/* 802AFB00 002ACA60 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 802AFB04 002ACA64 7C 08 02 A6 */ mflr r0 -/* 802AFB08 002ACA68 90 01 01 94 */ stw r0, 0x194(r1) -/* 802AFB0C 002ACA6C DB E1 01 80 */ stfd f31, 0x180(r1) -/* 802AFB10 002ACA70 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 802AFB14 002ACA74 93 E1 01 7C */ stw r31, 0x17c(r1) -/* 802AFB18 002ACA78 C0 42 C1 FC */ lfs f2, lbl_805ADF1C@sda21(r2) -/* 802AFB1C 002ACA7C 7C 7F 1B 78 */ mr r31, r3 -/* 802AFB20 002ACA80 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) -/* 802AFB24 002ACA84 EC 41 10 28 */ fsubs f2, f1, f2 -/* 802AFB28 002ACA88 FC 40 12 10 */ fabs f2, f2 -/* 802AFB2C 002ACA8C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802AFB30 002ACA90 40 80 00 0C */ bge lbl_802AFB3C -/* 802AFB34 002ACA94 CB E2 C2 00 */ lfd f31, lbl_805ADF20@sda21(r2) -/* 802AFB38 002ACA98 48 00 00 08 */ b lbl_802AFB40 -lbl_802AFB3C: -/* 802AFB3C 002ACA9C FF E0 08 90 */ fmr f31, f1 -lbl_802AFB40: -/* 802AFB40 002ACAA0 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFB44 002ACAA4 28 03 00 00 */ cmplwi r3, 0 -/* 802AFB48 002ACAA8 41 82 01 40 */ beq lbl_802AFC88 -/* 802AFB4C 002ACAAC 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 802AFB50 002ACAB0 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802AFB54 002ACAB4 7C 00 20 00 */ cmpw r0, r4 -/* 802AFB58 002ACAB8 41 82 00 D0 */ beq lbl_802AFC28 -/* 802AFB5C 002ACABC 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802AFB60 002ACAC0 7C 04 00 00 */ cmpw r4, r0 -/* 802AFB64 002ACAC4 40 81 00 24 */ ble lbl_802AFB88 -/* 802AFB68 002ACAC8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFB6C 002ACACC 38 80 00 00 */ li r4, 0 -/* 802AFB70 002ACAD0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AFB74 002ACAD4 7D 89 03 A6 */ mtctr r12 -/* 802AFB78 002ACAD8 4E 80 04 21 */ bctrl -/* 802AFB7C 002ACADC 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFB80 002ACAE0 48 06 CC 95 */ bl EndLifetime__11CElementGenFv -/* 802AFB84 002ACAE4 48 00 00 A4 */ b lbl_802AFC28 -lbl_802AFB88: -/* 802AFB88 002ACAE8 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFB8C 002ACAEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 802AFB90 002ACAF0 41 82 00 38 */ beq lbl_802AFBC8 -/* 802AFB94 002ACAF4 7F E4 FB 78 */ mr r4, r31 -/* 802AFB98 002ACAF8 38 61 00 74 */ addi r3, r1, 0x74 -/* 802AFB9C 002ACAFC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFBA0 002ACB00 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFBA4 002ACB04 7D 89 03 A6 */ mtctr r12 -/* 802AFBA8 002ACB08 4E 80 04 21 */ bctrl -/* 802AFBAC 002ACB0C 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFBB0 002ACB10 38 81 00 74 */ addi r4, r1, 0x74 -/* 802AFBB4 002ACB14 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFBB8 002ACB18 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802AFBBC 002ACB1C 7D 89 03 A6 */ mtctr r12 -/* 802AFBC0 002ACB20 4E 80 04 21 */ bctrl -/* 802AFBC4 002ACB24 48 00 00 34 */ b lbl_802AFBF8 -lbl_802AFBC8: -/* 802AFBC8 002ACB28 7F E4 FB 78 */ mr r4, r31 -/* 802AFBCC 002ACB2C 38 61 00 68 */ addi r3, r1, 0x68 -/* 802AFBD0 002ACB30 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFBD4 002ACB34 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFBD8 002ACB38 7D 89 03 A6 */ mtctr r12 -/* 802AFBDC 002ACB3C 4E 80 04 21 */ bctrl -/* 802AFBE0 002ACB40 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFBE4 002ACB44 38 81 00 68 */ addi r4, r1, 0x68 -/* 802AFBE8 002ACB48 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFBEC 002ACB4C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFBF0 002ACB50 7D 89 03 A6 */ mtctr r12 -/* 802AFBF4 002ACB54 4E 80 04 21 */ bctrl -lbl_802AFBF8: -/* 802AFBF8 002ACB58 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFBFC 002ACB5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802AFC00 002ACB60 41 82 00 28 */ beq lbl_802AFC28 -/* 802AFC04 002ACB64 7F E4 FB 78 */ mr r4, r31 -/* 802AFC08 002ACB68 38 61 01 40 */ addi r3, r1, 0x140 -/* 802AFC0C 002ACB6C 48 00 09 CD */ bl GetTransform__17CProjectileWeaponFv -/* 802AFC10 002ACB70 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFC14 002ACB74 38 81 01 40 */ addi r4, r1, 0x140 -/* 802AFC18 002ACB78 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFC1C 002ACB7C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AFC20 002ACB80 7D 89 03 A6 */ mtctr r12 -/* 802AFC24 002ACB84 4E 80 04 21 */ bctrl -lbl_802AFC28: -/* 802AFC28 002ACB88 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFC2C 002ACB8C FC 20 F8 90 */ fmr f1, f31 -/* 802AFC30 002ACB90 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFC34 002ACB94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AFC38 002ACB98 7D 89 03 A6 */ mtctr r12 -/* 802AFC3C 002ACB9C 4E 80 04 21 */ bctrl -/* 802AFC40 002ACBA0 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFC44 002ACBA4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFC48 002ACBA8 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFC4C 002ACBAC 7D 89 03 A6 */ mtctr r12 -/* 802AFC50 002ACBB0 4E 80 04 21 */ bctrl -/* 802AFC54 002ACBB4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802AFC58 002ACBB8 28 00 00 01 */ cmplwi r0, 1 -/* 802AFC5C 002ACBBC 40 82 00 2C */ bne lbl_802AFC88 -/* 802AFC60 002ACBC0 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802AFC64 002ACBC4 28 03 00 00 */ cmplwi r3, 0 -/* 802AFC68 002ACBC8 41 82 00 18 */ beq lbl_802AFC80 -/* 802AFC6C 002ACBCC 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFC70 002ACBD0 38 80 00 01 */ li r4, 1 -/* 802AFC74 002ACBD4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802AFC78 002ACBD8 7D 89 03 A6 */ mtctr r12 -/* 802AFC7C 002ACBDC 4E 80 04 21 */ bctrl -lbl_802AFC80: -/* 802AFC80 002ACBE0 38 00 00 00 */ li r0, 0 -/* 802AFC84 002ACBE4 90 1F 00 FC */ stw r0, 0xfc(r31) -lbl_802AFC88: -/* 802AFC88 002ACBE8 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFC8C 002ACBEC 28 03 00 00 */ cmplwi r3, 0 -/* 802AFC90 002ACBF0 41 82 01 40 */ beq lbl_802AFDD0 -/* 802AFC94 002ACBF4 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 802AFC98 002ACBF8 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802AFC9C 002ACBFC 7C 00 20 00 */ cmpw r0, r4 -/* 802AFCA0 002ACC00 41 82 00 D0 */ beq lbl_802AFD70 -/* 802AFCA4 002ACC04 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802AFCA8 002ACC08 7C 04 00 00 */ cmpw r4, r0 -/* 802AFCAC 002ACC0C 40 81 00 24 */ ble lbl_802AFCD0 -/* 802AFCB0 002ACC10 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFCB4 002ACC14 38 80 00 00 */ li r4, 0 -/* 802AFCB8 002ACC18 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AFCBC 002ACC1C 7D 89 03 A6 */ mtctr r12 -/* 802AFCC0 002ACC20 4E 80 04 21 */ bctrl -/* 802AFCC4 002ACC24 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFCC8 002ACC28 48 06 CB 4D */ bl EndLifetime__11CElementGenFv -/* 802AFCCC 002ACC2C 48 00 00 A4 */ b lbl_802AFD70 -lbl_802AFCD0: -/* 802AFCD0 002ACC30 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFCD4 002ACC34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802AFCD8 002ACC38 41 82 00 38 */ beq lbl_802AFD10 -/* 802AFCDC 002ACC3C 7F E4 FB 78 */ mr r4, r31 -/* 802AFCE0 002ACC40 38 61 00 5C */ addi r3, r1, 0x5c -/* 802AFCE4 002ACC44 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFCE8 002ACC48 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFCEC 002ACC4C 7D 89 03 A6 */ mtctr r12 -/* 802AFCF0 002ACC50 4E 80 04 21 */ bctrl -/* 802AFCF4 002ACC54 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFCF8 002ACC58 38 81 00 5C */ addi r4, r1, 0x5c -/* 802AFCFC 002ACC5C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFD00 002ACC60 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802AFD04 002ACC64 7D 89 03 A6 */ mtctr r12 -/* 802AFD08 002ACC68 4E 80 04 21 */ bctrl -/* 802AFD0C 002ACC6C 48 00 00 34 */ b lbl_802AFD40 -lbl_802AFD10: -/* 802AFD10 002ACC70 7F E4 FB 78 */ mr r4, r31 -/* 802AFD14 002ACC74 38 61 00 50 */ addi r3, r1, 0x50 -/* 802AFD18 002ACC78 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFD1C 002ACC7C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFD20 002ACC80 7D 89 03 A6 */ mtctr r12 -/* 802AFD24 002ACC84 4E 80 04 21 */ bctrl -/* 802AFD28 002ACC88 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFD2C 002ACC8C 38 81 00 50 */ addi r4, r1, 0x50 -/* 802AFD30 002ACC90 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFD34 002ACC94 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFD38 002ACC98 7D 89 03 A6 */ mtctr r12 -/* 802AFD3C 002ACC9C 4E 80 04 21 */ bctrl -lbl_802AFD40: -/* 802AFD40 002ACCA0 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFD44 002ACCA4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802AFD48 002ACCA8 41 82 00 28 */ beq lbl_802AFD70 -/* 802AFD4C 002ACCAC 7F E4 FB 78 */ mr r4, r31 -/* 802AFD50 002ACCB0 38 61 01 10 */ addi r3, r1, 0x110 -/* 802AFD54 002ACCB4 48 00 08 85 */ bl GetTransform__17CProjectileWeaponFv -/* 802AFD58 002ACCB8 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFD5C 002ACCBC 38 81 01 10 */ addi r4, r1, 0x110 -/* 802AFD60 002ACCC0 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFD64 002ACCC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AFD68 002ACCC8 7D 89 03 A6 */ mtctr r12 -/* 802AFD6C 002ACCCC 4E 80 04 21 */ bctrl -lbl_802AFD70: -/* 802AFD70 002ACCD0 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFD74 002ACCD4 FC 20 F8 90 */ fmr f1, f31 -/* 802AFD78 002ACCD8 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFD7C 002ACCDC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AFD80 002ACCE0 7D 89 03 A6 */ mtctr r12 -/* 802AFD84 002ACCE4 4E 80 04 21 */ bctrl -/* 802AFD88 002ACCE8 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFD8C 002ACCEC 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFD90 002ACCF0 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFD94 002ACCF4 7D 89 03 A6 */ mtctr r12 -/* 802AFD98 002ACCF8 4E 80 04 21 */ bctrl -/* 802AFD9C 002ACCFC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802AFDA0 002ACD00 28 00 00 01 */ cmplwi r0, 1 -/* 802AFDA4 002ACD04 40 82 00 2C */ bne lbl_802AFDD0 -/* 802AFDA8 002ACD08 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802AFDAC 002ACD0C 28 03 00 00 */ cmplwi r3, 0 -/* 802AFDB0 002ACD10 41 82 00 18 */ beq lbl_802AFDC8 -/* 802AFDB4 002ACD14 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFDB8 002ACD18 38 80 00 01 */ li r4, 1 -/* 802AFDBC 002ACD1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802AFDC0 002ACD20 7D 89 03 A6 */ mtctr r12 -/* 802AFDC4 002ACD24 4E 80 04 21 */ bctrl -lbl_802AFDC8: -/* 802AFDC8 002ACD28 38 00 00 00 */ li r0, 0 -/* 802AFDCC 002ACD2C 90 1F 01 00 */ stw r0, 0x100(r31) -lbl_802AFDD0: -/* 802AFDD0 002ACD30 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFDD4 002ACD34 28 03 00 00 */ cmplwi r3, 0 -/* 802AFDD8 002ACD38 41 82 01 40 */ beq lbl_802AFF18 -/* 802AFDDC 002ACD3C 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 802AFDE0 002ACD40 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802AFDE4 002ACD44 7C 00 20 00 */ cmpw r0, r4 -/* 802AFDE8 002ACD48 41 82 00 BC */ beq lbl_802AFEA4 -/* 802AFDEC 002ACD4C 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802AFDF0 002ACD50 7C 04 00 00 */ cmpw r4, r0 -/* 802AFDF4 002ACD54 40 81 00 1C */ ble lbl_802AFE10 -/* 802AFDF8 002ACD58 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFDFC 002ACD5C 38 80 00 00 */ li r4, 0 -/* 802AFE00 002ACD60 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AFE04 002ACD64 7D 89 03 A6 */ mtctr r12 -/* 802AFE08 002ACD68 4E 80 04 21 */ bctrl -/* 802AFE0C 002ACD6C 48 00 00 98 */ b lbl_802AFEA4 -lbl_802AFE10: -/* 802AFE10 002ACD70 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFE14 002ACD74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802AFE18 002ACD78 41 82 00 38 */ beq lbl_802AFE50 -/* 802AFE1C 002ACD7C 7F E4 FB 78 */ mr r4, r31 -/* 802AFE20 002ACD80 38 61 00 44 */ addi r3, r1, 0x44 -/* 802AFE24 002ACD84 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFE28 002ACD88 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFE2C 002ACD8C 7D 89 03 A6 */ mtctr r12 -/* 802AFE30 002ACD90 4E 80 04 21 */ bctrl -/* 802AFE34 002ACD94 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFE38 002ACD98 38 81 00 44 */ addi r4, r1, 0x44 -/* 802AFE3C 002ACD9C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFE40 002ACDA0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802AFE44 002ACDA4 7D 89 03 A6 */ mtctr r12 -/* 802AFE48 002ACDA8 4E 80 04 21 */ bctrl -/* 802AFE4C 002ACDAC 48 00 00 34 */ b lbl_802AFE80 -lbl_802AFE50: -/* 802AFE50 002ACDB0 7F E4 FB 78 */ mr r4, r31 -/* 802AFE54 002ACDB4 38 61 00 38 */ addi r3, r1, 0x38 -/* 802AFE58 002ACDB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFE5C 002ACDBC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFE60 002ACDC0 7D 89 03 A6 */ mtctr r12 -/* 802AFE64 002ACDC4 4E 80 04 21 */ bctrl -/* 802AFE68 002ACDC8 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFE6C 002ACDCC 38 81 00 38 */ addi r4, r1, 0x38 -/* 802AFE70 002ACDD0 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFE74 002ACDD4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFE78 002ACDD8 7D 89 03 A6 */ mtctr r12 -/* 802AFE7C 002ACDDC 4E 80 04 21 */ bctrl -lbl_802AFE80: -/* 802AFE80 002ACDE0 7F E4 FB 78 */ mr r4, r31 -/* 802AFE84 002ACDE4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 802AFE88 002ACDE8 48 00 07 51 */ bl GetTransform__17CProjectileWeaponFv -/* 802AFE8C 002ACDEC 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFE90 002ACDF0 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 802AFE94 002ACDF4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFE98 002ACDF8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AFE9C 002ACDFC 7D 89 03 A6 */ mtctr r12 -/* 802AFEA0 002ACE00 4E 80 04 21 */ bctrl -lbl_802AFEA4: -/* 802AFEA4 002ACE04 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFEA8 002ACE08 38 80 00 01 */ li r4, 1 -/* 802AFEAC 002ACE0C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) -/* 802AFEB0 002ACE10 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 802AFEB4 002ACE14 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802AFEB8 002ACE18 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 802AFEBC 002ACE1C 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFEC0 002ACE20 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFEC4 002ACE24 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802AFEC8 002ACE28 7D 89 03 A6 */ mtctr r12 -/* 802AFECC 002ACE2C 4E 80 04 21 */ bctrl -/* 802AFED0 002ACE30 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFED4 002ACE34 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFED8 002ACE38 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802AFEDC 002ACE3C 7D 89 03 A6 */ mtctr r12 -/* 802AFEE0 002ACE40 4E 80 04 21 */ bctrl -/* 802AFEE4 002ACE44 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802AFEE8 002ACE48 28 00 00 01 */ cmplwi r0, 1 -/* 802AFEEC 002ACE4C 40 82 00 2C */ bne lbl_802AFF18 -/* 802AFEF0 002ACE50 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802AFEF4 002ACE54 28 03 00 00 */ cmplwi r3, 0 -/* 802AFEF8 002ACE58 41 82 00 18 */ beq lbl_802AFF10 -/* 802AFEFC 002ACE5C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFF00 002ACE60 38 80 00 01 */ li r4, 1 -/* 802AFF04 002ACE64 81 8C 00 08 */ lwz r12, 8(r12) -/* 802AFF08 002ACE68 7D 89 03 A6 */ mtctr r12 -/* 802AFF0C 002ACE6C 4E 80 04 21 */ bctrl -lbl_802AFF10: -/* 802AFF10 002ACE70 38 00 00 00 */ li r0, 0 -/* 802AFF14 002ACE74 90 1F 01 18 */ stw r0, 0x118(r31) -lbl_802AFF18: -/* 802AFF18 002ACE78 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AFF1C 002ACE7C 28 03 00 00 */ cmplwi r3, 0 -/* 802AFF20 002ACE80 41 82 01 40 */ beq lbl_802B0060 -/* 802AFF24 002ACE84 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 802AFF28 002ACE88 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802AFF2C 002ACE8C 7C 00 20 00 */ cmpw r0, r4 -/* 802AFF30 002ACE90 41 82 00 BC */ beq lbl_802AFFEC -/* 802AFF34 002ACE94 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802AFF38 002ACE98 7C 04 00 00 */ cmpw r4, r0 -/* 802AFF3C 002ACE9C 40 81 00 1C */ ble lbl_802AFF58 -/* 802AFF40 002ACEA0 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFF44 002ACEA4 38 80 00 00 */ li r4, 0 -/* 802AFF48 002ACEA8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802AFF4C 002ACEAC 7D 89 03 A6 */ mtctr r12 -/* 802AFF50 002ACEB0 4E 80 04 21 */ bctrl -/* 802AFF54 002ACEB4 48 00 00 98 */ b lbl_802AFFEC -lbl_802AFF58: -/* 802AFF58 002ACEB8 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802AFF5C 002ACEBC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 802AFF60 002ACEC0 41 82 00 38 */ beq lbl_802AFF98 -/* 802AFF64 002ACEC4 7F E4 FB 78 */ mr r4, r31 -/* 802AFF68 002ACEC8 38 61 00 2C */ addi r3, r1, 0x2c -/* 802AFF6C 002ACECC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFF70 002ACED0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFF74 002ACED4 7D 89 03 A6 */ mtctr r12 -/* 802AFF78 002ACED8 4E 80 04 21 */ bctrl -/* 802AFF7C 002ACEDC 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AFF80 002ACEE0 38 81 00 2C */ addi r4, r1, 0x2c -/* 802AFF84 002ACEE4 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFF88 002ACEE8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802AFF8C 002ACEEC 7D 89 03 A6 */ mtctr r12 -/* 802AFF90 002ACEF0 4E 80 04 21 */ bctrl -/* 802AFF94 002ACEF4 48 00 00 34 */ b lbl_802AFFC8 -lbl_802AFF98: -/* 802AFF98 002ACEF8 7F E4 FB 78 */ mr r4, r31 -/* 802AFF9C 002ACEFC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802AFFA0 002ACF00 81 9F 00 00 */ lwz r12, 0(r31) -/* 802AFFA4 002ACF04 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFFA8 002ACF08 7D 89 03 A6 */ mtctr r12 -/* 802AFFAC 002ACF0C 4E 80 04 21 */ bctrl -/* 802AFFB0 002ACF10 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AFFB4 002ACF14 38 81 00 20 */ addi r4, r1, 0x20 -/* 802AFFB8 002ACF18 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFFBC 002ACF1C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802AFFC0 002ACF20 7D 89 03 A6 */ mtctr r12 -/* 802AFFC4 002ACF24 4E 80 04 21 */ bctrl -lbl_802AFFC8: -/* 802AFFC8 002ACF28 7F E4 FB 78 */ mr r4, r31 -/* 802AFFCC 002ACF2C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802AFFD0 002ACF30 48 00 06 09 */ bl GetTransform__17CProjectileWeaponFv -/* 802AFFD4 002ACF34 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AFFD8 002ACF38 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802AFFDC 002ACF3C 81 83 00 00 */ lwz r12, 0(r3) -/* 802AFFE0 002ACF40 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802AFFE4 002ACF44 7D 89 03 A6 */ mtctr r12 -/* 802AFFE8 002ACF48 4E 80 04 21 */ bctrl -lbl_802AFFEC: -/* 802AFFEC 002ACF4C 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802AFFF0 002ACF50 38 80 00 01 */ li r4, 1 -/* 802AFFF4 002ACF54 C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) -/* 802AFFF8 002ACF58 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 802AFFFC 002ACF5C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802B0000 002ACF60 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 802B0004 002ACF64 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802B0008 002ACF68 81 83 00 00 */ lwz r12, 0(r3) -/* 802B000C 002ACF6C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0010 002ACF70 7D 89 03 A6 */ mtctr r12 -/* 802B0014 002ACF74 4E 80 04 21 */ bctrl -/* 802B0018 002ACF78 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802B001C 002ACF7C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0020 002ACF80 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802B0024 002ACF84 7D 89 03 A6 */ mtctr r12 -/* 802B0028 002ACF88 4E 80 04 21 */ bctrl -/* 802B002C 002ACF8C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802B0030 002ACF90 28 00 00 01 */ cmplwi r0, 1 -/* 802B0034 002ACF94 40 82 00 2C */ bne lbl_802B0060 -/* 802B0038 002ACF98 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802B003C 002ACF9C 28 03 00 00 */ cmplwi r3, 0 -/* 802B0040 002ACFA0 41 82 00 18 */ beq lbl_802B0058 -/* 802B0044 002ACFA4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0048 002ACFA8 38 80 00 01 */ li r4, 1 -/* 802B004C 002ACFAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0050 002ACFB0 7D 89 03 A6 */ mtctr r12 -/* 802B0054 002ACFB4 4E 80 04 21 */ bctrl -lbl_802B0058: -/* 802B0058 002ACFB8 38 00 00 00 */ li r0, 0 -/* 802B005C 002ACFBC 90 1F 01 1C */ stw r0, 0x11c(r31) -lbl_802B0060: -/* 802B0060 002ACFC0 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0064 002ACFC4 28 03 00 00 */ cmplwi r3, 0 -/* 802B0068 002ACFC8 41 82 01 40 */ beq lbl_802B01A8 -/* 802B006C 002ACFCC 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 802B0070 002ACFD0 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B0074 002ACFD4 7C 00 20 00 */ cmpw r0, r4 -/* 802B0078 002ACFD8 41 82 00 BC */ beq lbl_802B0134 -/* 802B007C 002ACFDC 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802B0080 002ACFE0 7C 04 00 00 */ cmpw r4, r0 -/* 802B0084 002ACFE4 40 81 00 1C */ ble lbl_802B00A0 -/* 802B0088 002ACFE8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B008C 002ACFEC 38 80 00 00 */ li r4, 0 -/* 802B0090 002ACFF0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802B0094 002ACFF4 7D 89 03 A6 */ mtctr r12 -/* 802B0098 002ACFF8 4E 80 04 21 */ bctrl -/* 802B009C 002ACFFC 48 00 00 98 */ b lbl_802B0134 -lbl_802B00A0: -/* 802B00A0 002AD000 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B00A4 002AD004 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 802B00A8 002AD008 41 82 00 38 */ beq lbl_802B00E0 -/* 802B00AC 002AD00C 7F E4 FB 78 */ mr r4, r31 -/* 802B00B0 002AD010 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B00B4 002AD014 81 9F 00 00 */ lwz r12, 0(r31) -/* 802B00B8 002AD018 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802B00BC 002AD01C 7D 89 03 A6 */ mtctr r12 -/* 802B00C0 002AD020 4E 80 04 21 */ bctrl -/* 802B00C4 002AD024 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B00C8 002AD028 38 81 00 14 */ addi r4, r1, 0x14 -/* 802B00CC 002AD02C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B00D0 002AD030 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802B00D4 002AD034 7D 89 03 A6 */ mtctr r12 -/* 802B00D8 002AD038 4E 80 04 21 */ bctrl -/* 802B00DC 002AD03C 48 00 00 34 */ b lbl_802B0110 -lbl_802B00E0: -/* 802B00E0 002AD040 7F E4 FB 78 */ mr r4, r31 -/* 802B00E4 002AD044 38 61 00 08 */ addi r3, r1, 8 -/* 802B00E8 002AD048 81 9F 00 00 */ lwz r12, 0(r31) -/* 802B00EC 002AD04C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802B00F0 002AD050 7D 89 03 A6 */ mtctr r12 -/* 802B00F4 002AD054 4E 80 04 21 */ bctrl -/* 802B00F8 002AD058 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B00FC 002AD05C 38 81 00 08 */ addi r4, r1, 8 -/* 802B0100 002AD060 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0104 002AD064 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802B0108 002AD068 7D 89 03 A6 */ mtctr r12 -/* 802B010C 002AD06C 4E 80 04 21 */ bctrl -lbl_802B0110: -/* 802B0110 002AD070 7F E4 FB 78 */ mr r4, r31 -/* 802B0114 002AD074 38 61 00 80 */ addi r3, r1, 0x80 -/* 802B0118 002AD078 48 00 04 C1 */ bl GetTransform__17CProjectileWeaponFv -/* 802B011C 002AD07C 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0120 002AD080 38 81 00 80 */ addi r4, r1, 0x80 -/* 802B0124 002AD084 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0128 002AD088 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802B012C 002AD08C 7D 89 03 A6 */ mtctr r12 -/* 802B0130 002AD090 4E 80 04 21 */ bctrl -lbl_802B0134: -/* 802B0134 002AD094 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0138 002AD098 38 80 00 01 */ li r4, 1 -/* 802B013C 002AD09C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) -/* 802B0140 002AD0A0 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 802B0144 002AD0A4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802B0148 002AD0A8 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 802B014C 002AD0AC 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0150 002AD0B0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0154 002AD0B4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0158 002AD0B8 7D 89 03 A6 */ mtctr r12 -/* 802B015C 002AD0BC 4E 80 04 21 */ bctrl -/* 802B0160 002AD0C0 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0164 002AD0C4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0168 002AD0C8 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802B016C 002AD0CC 7D 89 03 A6 */ mtctr r12 -/* 802B0170 002AD0D0 4E 80 04 21 */ bctrl -/* 802B0174 002AD0D4 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802B0178 002AD0D8 28 00 00 01 */ cmplwi r0, 1 -/* 802B017C 002AD0DC 40 82 00 2C */ bne lbl_802B01A8 -/* 802B0180 002AD0E0 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0184 002AD0E4 28 03 00 00 */ cmplwi r3, 0 -/* 802B0188 002AD0E8 41 82 00 18 */ beq lbl_802B01A0 -/* 802B018C 002AD0EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0190 002AD0F0 38 80 00 01 */ li r4, 1 -/* 802B0194 002AD0F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0198 002AD0F8 7D 89 03 A6 */ mtctr r12 -/* 802B019C 002AD0FC 4E 80 04 21 */ bctrl -lbl_802B01A0: -/* 802B01A0 002AD100 38 00 00 00 */ li r0, 0 -/* 802B01A4 002AD104 90 1F 01 20 */ stw r0, 0x120(r31) -lbl_802B01A8: -/* 802B01A8 002AD108 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 802B01AC 002AD10C 28 03 00 00 */ cmplwi r3, 0 -/* 802B01B0 002AD110 41 82 00 60 */ beq lbl_802B0210 -/* 802B01B4 002AD114 81 83 00 00 */ lwz r12, 0(r3) -/* 802B01B8 002AD118 FC 20 F8 90 */ fmr f1, f31 -/* 802B01BC 002AD11C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B01C0 002AD120 7D 89 03 A6 */ mtctr r12 -/* 802B01C4 002AD124 4E 80 04 21 */ bctrl -/* 802B01C8 002AD128 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 802B01CC 002AD12C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B01D0 002AD130 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 802B01D4 002AD134 7D 89 03 A6 */ mtctr r12 -/* 802B01D8 002AD138 4E 80 04 21 */ bctrl -/* 802B01DC 002AD13C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802B01E0 002AD140 28 00 00 01 */ cmplwi r0, 1 -/* 802B01E4 002AD144 40 82 00 2C */ bne lbl_802B0210 -/* 802B01E8 002AD148 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 802B01EC 002AD14C 28 03 00 00 */ cmplwi r3, 0 -/* 802B01F0 002AD150 41 82 00 18 */ beq lbl_802B0208 -/* 802B01F4 002AD154 81 83 00 00 */ lwz r12, 0(r3) -/* 802B01F8 002AD158 38 80 00 01 */ li r4, 1 -/* 802B01FC 002AD15C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0200 002AD160 7D 89 03 A6 */ mtctr r12 -/* 802B0204 002AD164 4E 80 04 21 */ bctrl -lbl_802B0208: -/* 802B0208 002AD168 38 00 00 00 */ li r0, 0 -/* 802B020C 002AD16C 90 1F 01 04 */ stw r0, 0x104(r31) -lbl_802B0210: -/* 802B0210 002AD170 80 1F 00 F4 */ lwz r0, 0xf4(r31) -/* 802B0214 002AD174 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 802B0218 002AD178 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 802B021C 002AD17C 80 01 01 94 */ lwz r0, 0x194(r1) -/* 802B0220 002AD180 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 802B0224 002AD184 83 E1 01 7C */ lwz r31, 0x17c(r1) -/* 802B0228 002AD188 7C 08 03 A6 */ mtlr r0 -/* 802B022C 002AD18C 38 21 01 90 */ addi r1, r1, 0x190 -/* 802B0230 002AD190 4E 80 00 20 */ blr - -.global UpdatePSTranslationAndOrientation__17CProjectileWeaponFv -UpdatePSTranslationAndOrientation__17CProjectileWeaponFv: -/* 802B0234 002AD194 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B0238 002AD198 7C 08 02 A6 */ mflr r0 -/* 802B023C 002AD19C 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B0240 002AD1A0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802B0244 002AD1A4 7C 7F 1B 78 */ mr r31, r3 -/* 802B0248 002AD1A8 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 802B024C 002AD1AC 80 83 00 F4 */ lwz r4, 0xf4(r3) -/* 802B0250 002AD1B0 7C 00 20 00 */ cmpw r0, r4 -/* 802B0254 002AD1B4 41 80 02 3C */ blt lbl_802B0490 -/* 802B0258 002AD1B8 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B025C 002AD1BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802B0260 002AD1C0 41 82 02 30 */ beq lbl_802B0490 -/* 802B0264 002AD1C4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0268 002AD1C8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802B026C 002AD1CC 28 03 00 00 */ cmplwi r3, 0 -/* 802B0270 002AD1D0 41 82 00 1C */ beq lbl_802B028C -/* 802B0274 002AD1D4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0278 002AD1D8 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 802B027C 002AD1DC 38 DF 00 80 */ addi r6, r31, 0x80 -/* 802B0280 002AD1E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0284 002AD1E4 7D 89 03 A6 */ mtctr r12 -/* 802B0288 002AD1E8 4E 80 04 21 */ bctrl -lbl_802B028C: -/* 802B028C 002AD1EC 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0290 002AD1F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802B0294 002AD1F4 41 82 00 48 */ beq lbl_802B02DC -/* 802B0298 002AD1F8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B029C 002AD1FC 38 9F 00 44 */ addi r4, r31, 0x44 -/* 802B02A0 002AD200 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 802B02A4 002AD204 48 06 28 45 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B02A8 002AD208 C0 3F 00 80 */ lfs f1, 0x80(r31) -/* 802B02AC 002AD20C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802B02B0 002AD210 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B02B4 002AD214 D0 1F 00 80 */ stfs f0, 0x80(r31) -/* 802B02B8 002AD218 C0 3F 00 84 */ lfs f1, 0x84(r31) -/* 802B02BC 002AD21C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B02C0 002AD220 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B02C4 002AD224 D0 1F 00 84 */ stfs f0, 0x84(r31) -/* 802B02C8 002AD228 C0 3F 00 88 */ lfs f1, 0x88(r31) -/* 802B02CC 002AD22C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802B02D0 002AD230 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B02D4 002AD234 D0 1F 00 88 */ stfs f0, 0x88(r31) -/* 802B02D8 002AD238 48 00 00 34 */ b lbl_802B030C -lbl_802B02DC: -/* 802B02DC 002AD23C C0 3F 00 80 */ lfs f1, 0x80(r31) -/* 802B02E0 002AD240 C0 1F 00 B0 */ lfs f0, 0xb0(r31) -/* 802B02E4 002AD244 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B02E8 002AD248 D0 1F 00 80 */ stfs f0, 0x80(r31) -/* 802B02EC 002AD24C C0 3F 00 84 */ lfs f1, 0x84(r31) -/* 802B02F0 002AD250 C0 1F 00 B4 */ lfs f0, 0xb4(r31) -/* 802B02F4 002AD254 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B02F8 002AD258 D0 1F 00 84 */ stfs f0, 0x84(r31) -/* 802B02FC 002AD25C C0 3F 00 88 */ lfs f1, 0x88(r31) -/* 802B0300 002AD260 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802B0304 002AD264 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B0308 002AD268 D0 1F 00 88 */ stfs f0, 0x88(r31) -lbl_802B030C: -/* 802B030C 002AD26C C0 82 C1 FC */ lfs f4, lbl_805ADF1C@sda21(r2) -/* 802B0310 002AD270 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802B0314 002AD274 C0 7F 00 C0 */ lfs f3, 0xc0(r31) -/* 802B0318 002AD278 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802B031C 002AD27C C0 3F 00 B0 */ lfs f1, 0xb0(r31) -/* 802B0320 002AD280 C0 5F 00 C4 */ lfs f2, 0xc4(r31) -/* 802B0324 002AD284 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802B0328 002AD288 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B032C 002AD28C EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802B0330 002AD290 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 802B0334 002AD294 C0 1F 00 B4 */ lfs f0, 0xb4(r31) -/* 802B0338 002AD298 EC 00 18 2A */ fadds f0, f0, f3 -/* 802B033C 002AD29C D0 1F 00 B4 */ stfs f0, 0xb4(r31) -/* 802B0340 002AD2A0 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802B0344 002AD2A4 EC 00 08 2A */ fadds f0, f0, f1 -/* 802B0348 002AD2A8 D0 1F 00 B8 */ stfs f0, 0xb8(r31) -/* 802B034C 002AD2AC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0350 002AD2B0 80 63 00 08 */ lwz r3, 8(r3) -/* 802B0354 002AD2B4 28 03 00 00 */ cmplwi r3, 0 -/* 802B0358 002AD2B8 41 82 00 98 */ beq lbl_802B03F0 -/* 802B035C 002AD2BC C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) -/* 802B0360 002AD2C0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802B0364 002AD2C4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802B0368 002AD2C8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802B036C 002AD2CC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802B0370 002AD2D0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0374 002AD2D4 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B0378 002AD2D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B037C 002AD2DC 7D 89 03 A6 */ mtctr r12 -/* 802B0380 002AD2E0 4E 80 04 21 */ bctrl -/* 802B0384 002AD2E4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B0388 002AD2E8 38 9F 00 44 */ addi r4, r31, 0x44 -/* 802B038C 002AD2EC 48 06 27 E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B0390 002AD2F0 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B0394 002AD2F4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B0398 002AD2F8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802B039C 002AD2FC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B03A0 002AD300 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B03A4 002AD304 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802B03A8 002AD308 48 06 33 4D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -/* 802B03AC 002AD30C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B03B0 002AD310 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B03B4 002AD314 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802B03B8 002AD318 38 81 00 0C */ addi r4, r1, 0xc -/* 802B03BC 002AD31C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B03C0 002AD320 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802B03C4 002AD324 48 06 32 15 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 802B03C8 002AD328 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B03CC 002AD32C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B03D0 002AD330 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802B03D4 002AD334 38 81 00 08 */ addi r4, r1, 8 -/* 802B03D8 002AD338 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B03DC 002AD33C D0 01 00 08 */ stfs f0, 8(r1) -/* 802B03E0 002AD340 48 06 30 DD */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle -/* 802B03E4 002AD344 7F E3 FB 78 */ mr r3, r31 -/* 802B03E8 002AD348 38 81 00 2C */ addi r4, r1, 0x2c -/* 802B03EC 002AD34C 48 00 01 15 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f -lbl_802B03F0: -/* 802B03F0 002AD350 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B03F4 002AD354 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802B03F8 002AD358 28 03 00 00 */ cmplwi r3, 0 -/* 802B03FC 002AD35C 41 82 00 1C */ beq lbl_802B0418 -/* 802B0400 002AD360 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0404 002AD364 38 BF 00 98 */ addi r5, r31, 0x98 -/* 802B0408 002AD368 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B040C 002AD36C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0410 002AD370 7D 89 03 A6 */ mtctr r12 -/* 802B0414 002AD374 4E 80 04 21 */ bctrl -lbl_802B0418: -/* 802B0418 002AD378 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B041C 002AD37C 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 802B0420 002AD380 28 03 00 00 */ cmplwi r3, 0 -/* 802B0424 002AD384 41 82 00 1C */ beq lbl_802B0440 -/* 802B0428 002AD388 81 83 00 00 */ lwz r12, 0(r3) -/* 802B042C 002AD38C 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 802B0430 002AD390 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B0434 002AD394 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0438 002AD398 7D 89 03 A6 */ mtctr r12 -/* 802B043C 002AD39C 4E 80 04 21 */ bctrl -lbl_802B0440: -/* 802B0440 002AD3A0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0444 002AD3A4 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802B0448 002AD3A8 28 03 00 00 */ cmplwi r3, 0 -/* 802B044C 002AD3AC 41 82 00 1C */ beq lbl_802B0468 -/* 802B0450 002AD3B0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0454 002AD3B4 38 BF 00 A4 */ addi r5, r31, 0xa4 -/* 802B0458 002AD3B8 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B045C 002AD3BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0460 002AD3C0 7D 89 03 A6 */ mtctr r12 -/* 802B0464 002AD3C4 4E 80 04 21 */ bctrl -lbl_802B0468: -/* 802B0468 002AD3C8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B046C 002AD3CC 80 63 00 24 */ lwz r3, 0x24(r3) -/* 802B0470 002AD3D0 28 03 00 00 */ cmplwi r3, 0 -/* 802B0474 002AD3D4 41 82 00 1C */ beq lbl_802B0490 -/* 802B0478 002AD3D8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B047C 002AD3DC 38 BF 00 8C */ addi r5, r31, 0x8c -/* 802B0480 002AD3E0 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B0484 002AD3E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0488 002AD3E8 7D 89 03 A6 */ mtctr r12 -/* 802B048C 002AD3EC 4E 80 04 21 */ bctrl -lbl_802B0490: -/* 802B0490 002AD3F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B0494 002AD3F4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802B0498 002AD3F8 7C 08 03 A6 */ mtlr r0 -/* 802B049C 002AD3FC 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B04A0 002AD400 4E 80 00 20 */ blr - -.global SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f -SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f: -/* 802B04A4 002AD404 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B04A8 002AD408 7C 08 02 A6 */ mflr r0 -/* 802B04AC 002AD40C 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B04B0 002AD410 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802B04B4 002AD414 7C 9F 23 78 */ mr r31, r4 -/* 802B04B8 002AD418 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802B04BC 002AD41C 7C 7E 1B 78 */ mr r30, r3 -/* 802B04C0 002AD420 38 61 00 08 */ addi r3, r1, 8 -/* 802B04C4 002AD424 38 9E 00 14 */ addi r4, r30, 0x14 -/* 802B04C8 002AD428 48 06 22 19 */ bl GetInverse__12CTransform4fCFv -/* 802B04CC 002AD42C 7F E5 FB 78 */ mr r5, r31 -/* 802B04D0 002AD430 38 61 00 38 */ addi r3, r1, 0x38 -/* 802B04D4 002AD434 38 81 00 08 */ addi r4, r1, 8 -/* 802B04D8 002AD438 48 06 24 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B04DC 002AD43C 38 7E 00 44 */ addi r3, r30, 0x44 -/* 802B04E0 002AD440 38 81 00 38 */ addi r4, r1, 0x38 -/* 802B04E4 002AD444 48 06 26 5D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B04E8 002AD448 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B04EC 002AD44C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802B04F0 002AD450 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802B04F4 002AD454 7C 08 03 A6 */ mtlr r0 -/* 802B04F8 002AD458 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B04FC 002AD45C 4E 80 00 20 */ blr - -.global SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f -SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f: -/* 802B0500 002AD460 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B0504 002AD464 7C 08 02 A6 */ mflr r0 -/* 802B0508 002AD468 38 63 00 44 */ addi r3, r3, 0x44 -/* 802B050C 002AD46C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B0510 002AD470 48 06 26 31 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B0514 002AD474 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B0518 002AD478 7C 08 03 A6 */ mtlr r0 -/* 802B051C 002AD47C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B0520 002AD480 4E 80 00 20 */ blr - -.global GetTranslation__17CProjectileWeaponCFv -GetTranslation__17CProjectileWeaponCFv: -/* 802B0524 002AD484 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802B0528 002AD488 7C 08 02 A6 */ mflr r0 -/* 802B052C 002AD48C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B0530 002AD490 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802B0534 002AD494 7C 9F 23 78 */ mr r31, r4 -/* 802B0538 002AD498 38 9F 00 44 */ addi r4, r31, 0x44 -/* 802B053C 002AD49C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802B0540 002AD4A0 7C 7E 1B 78 */ mr r30, r3 -/* 802B0544 002AD4A4 38 61 00 08 */ addi r3, r1, 8 -/* 802B0548 002AD4A8 38 BF 00 8C */ addi r5, r31, 0x8c -/* 802B054C 002AD4AC 48 06 25 9D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B0550 002AD4B0 C0 3F 00 84 */ lfs f1, 0x84(r31) -/* 802B0554 002AD4B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802B0558 002AD4B8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802B055C 002AD4BC 38 9F 00 14 */ addi r4, r31, 0x14 -/* 802B0560 002AD4C0 C0 7F 00 88 */ lfs f3, 0x88(r31) -/* 802B0564 002AD4C4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802B0568 002AD4C8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802B056C 002AD4CC EC 81 00 2A */ fadds f4, f1, f0 -/* 802B0570 002AD4D0 C0 3F 00 80 */ lfs f1, 0x80(r31) -/* 802B0574 002AD4D4 C0 01 00 08 */ lfs f0, 8(r1) -/* 802B0578 002AD4D8 EC 43 10 2A */ fadds f2, f3, f2 -/* 802B057C 002AD4DC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802B0580 002AD4E0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B0584 002AD4E4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802B0588 002AD4E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802B058C 002AD4EC 48 06 25 5D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B0590 002AD4F0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802B0594 002AD4F4 C0 1F 00 74 */ lfs f0, 0x74(r31) -/* 802B0598 002AD4F8 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802B059C 002AD4FC C0 7F 00 78 */ lfs f3, 0x78(r31) -/* 802B05A0 002AD500 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B05A4 002AD504 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802B05A8 002AD508 C0 3F 00 7C */ lfs f1, 0x7c(r31) -/* 802B05AC 002AD50C EC 64 18 2A */ fadds f3, f4, f3 -/* 802B05B0 002AD510 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802B05B4 002AD514 EC 02 08 2A */ fadds f0, f2, f1 -/* 802B05B8 002AD518 D0 7E 00 04 */ stfs f3, 4(r30) -/* 802B05BC 002AD51C D0 1E 00 08 */ stfs f0, 8(r30) -/* 802B05C0 002AD520 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802B05C4 002AD524 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802B05C8 002AD528 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802B05CC 002AD52C 7C 08 03 A6 */ mtlr r0 -/* 802B05D0 002AD530 38 21 00 40 */ addi r1, r1, 0x40 -/* 802B05D4 002AD534 4E 80 00 20 */ blr - -.global GetTransform__17CProjectileWeaponFv -GetTransform__17CProjectileWeaponFv: -/* 802B05D8 002AD538 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B05DC 002AD53C 7C 08 02 A6 */ mflr r0 -/* 802B05E0 002AD540 7C 85 23 78 */ mr r5, r4 -/* 802B05E4 002AD544 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B05E8 002AD548 38 85 00 14 */ addi r4, r5, 0x14 -/* 802B05EC 002AD54C 38 A5 00 44 */ addi r5, r5, 0x44 -/* 802B05F0 002AD550 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B05F4 002AD554 7C 7F 1B 78 */ mr r31, r3 -/* 802B05F8 002AD558 48 06 23 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B05FC 002AD55C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B0600 002AD560 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B0604 002AD564 7C 08 03 A6 */ mtlr r0 -/* 802B0608 002AD568 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B060C 002AD56C 4E 80 00 20 */ blr - -.global GetTransform__17CProjectileWeaponCFv -GetTransform__17CProjectileWeaponCFv: -/* 802B0610 002AD570 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B0614 002AD574 7C 08 02 A6 */ mflr r0 -/* 802B0618 002AD578 7C 85 23 78 */ mr r5, r4 -/* 802B061C 002AD57C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B0620 002AD580 38 85 00 14 */ addi r4, r5, 0x14 -/* 802B0624 002AD584 38 A5 00 44 */ addi r5, r5, 0x44 -/* 802B0628 002AD588 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B062C 002AD58C 7C 7F 1B 78 */ mr r31, r3 -/* 802B0630 002AD590 48 06 23 21 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B0634 002AD594 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B0638 002AD598 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B063C 002AD59C 7C 08 03 A6 */ mtlr r0 -/* 802B0640 002AD5A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B0644 002AD5A4 4E 80 00 20 */ blr - -.global UpdateParticleFX__17CProjectileWeaponFv -UpdateParticleFX__17CProjectileWeaponFv: -/* 802B0648 002AD5A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B064C 002AD5AC 7C 08 02 A6 */ mflr r0 -/* 802B0650 002AD5B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B0654 002AD5B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B0658 002AD5B8 3B E0 00 00 */ li r31, 0 -/* 802B065C 002AD5BC 93 C1 00 08 */ stw r30, 8(r1) -/* 802B0660 002AD5C0 7C 7E 1B 78 */ mr r30, r3 -/* 802B0664 002AD5C4 48 00 00 14 */ b lbl_802B0678 -lbl_802B0668: -/* 802B0668 002AD5C8 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) -/* 802B066C 002AD5CC 7F C3 F3 78 */ mr r3, r30 -/* 802B0670 002AD5D0 4B FF F4 91 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf -/* 802B0674 002AD5D4 3B FF 00 01 */ addi r31, r31, 1 -lbl_802B0678: -/* 802B0678 002AD5D8 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 802B067C 002AD5DC 7C 1F 00 00 */ cmpw r31, r0 -/* 802B0680 002AD5E0 41 80 FF E8 */ blt lbl_802B0668 -/* 802B0684 002AD5E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B0688 002AD5E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B068C 002AD5EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B0690 002AD5F0 7C 08 03 A6 */ mtlr r0 -/* 802B0694 002AD5F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B0698 002AD5F8 4E 80 00 20 */ blr - -.global Update__17CProjectileWeaponFf -Update__17CProjectileWeaponFf: -/* 802B069C 002AD5FC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802B06A0 002AD600 7C 08 02 A6 */ mflr r0 -/* 802B06A4 002AD604 90 01 00 64 */ stw r0, 0x64(r1) -/* 802B06A8 002AD608 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802B06AC 002AD60C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802B06B0 002AD610 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802B06B4 002AD614 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802B06B8 002AD618 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802B06BC 002AD61C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802B06C0 002AD620 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B06C4 002AD624 FF C0 08 90 */ fmr f30, f1 -/* 802B06C8 002AD628 7C 7F 1B 78 */ mr r31, r3 -/* 802B06CC 002AD62C 38 61 00 08 */ addi r3, r1, 8 -/* 802B06D0 002AD630 38 9F 00 10 */ addi r4, r31, 0x10 -/* 802B06D4 002AD634 48 06 1F AD */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B06D8 002AD638 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 802B06DC 002AD63C 3C 60 43 30 */ lis r3, 0x4330 -/* 802B06E0 002AD640 C0 02 C1 FC */ lfs f0, lbl_805ADF1C@sda21(r2) -/* 802B06E4 002AD644 38 00 00 00 */ li r0, 0 -/* 802B06E8 002AD648 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 802B06EC 002AD64C 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B06F0 002AD650 EC 1E 00 28 */ fsubs f0, f30, f0 -/* 802B06F4 002AD654 C8 42 C2 38 */ lfd f2, lbl_805ADF58@sda21(r2) -/* 802B06F8 002AD658 90 81 00 1C */ stw r4, 0x1c(r1) -/* 802B06FC 002AD65C C8 62 C2 00 */ lfd f3, lbl_805ADF20@sda21(r2) -/* 802B0700 002AD660 C8 21 00 18 */ lfd f1, 0x18(r1) -/* 802B0704 002AD664 FC 80 02 10 */ fabs f4, f0 -/* 802B0708 002AD668 C8 02 C2 08 */ lfd f0, lbl_805ADF28@sda21(r2) -/* 802B070C 002AD66C FC 21 10 28 */ fsub f1, f1, f2 -/* 802B0710 002AD670 90 1F 00 EC */ stw r0, 0xec(r31) -/* 802B0714 002AD674 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802B0718 002AD678 FF A3 00 72 */ fmul f29, f3, f1 -/* 802B071C 002AD67C 40 80 00 0C */ bge lbl_802B0728 -/* 802B0720 002AD680 FC 40 18 90 */ fmr f2, f3 -/* 802B0724 002AD684 48 00 00 08 */ b lbl_802B072C -lbl_802B0728: -/* 802B0728 002AD688 FC 40 F0 90 */ fmr f2, f30 -lbl_802B072C: -/* 802B072C 002AD68C C8 22 C2 20 */ lfd f1, lbl_805ADF40@sda21(r2) -/* 802B0730 002AD690 C8 02 C2 10 */ lfd f0, lbl_805ADF30@sda21(r2) -/* 802B0734 002AD694 FC 42 00 72 */ fmul f2, f2, f1 -/* 802B0738 002AD698 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802B073C 002AD69C 40 80 00 08 */ bge lbl_802B0744 -/* 802B0740 002AD6A0 FC 40 00 90 */ fmr f2, f0 -lbl_802B0744: -/* 802B0744 002AD6A4 C8 1F 00 D0 */ lfd f0, 0xd0(r31) -/* 802B0748 002AD6A8 CB E2 C2 30 */ lfd f31, lbl_805ADF50@sda21(r2) -/* 802B074C 002AD6AC FC 00 10 2A */ fadd f0, f0, f2 -/* 802B0750 002AD6B0 CB C2 C2 28 */ lfd f30, lbl_805ADF48@sda21(r2) -/* 802B0754 002AD6B4 D8 1F 00 D0 */ stfd f0, 0xd0(r31) -/* 802B0758 002AD6B8 48 00 00 4C */ b lbl_802B07A4 -lbl_802B075C: -/* 802B075C 002AD6BC 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 802B0760 002AD6C0 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802B0764 002AD6C4 7C 03 00 00 */ cmpw r3, r0 -/* 802B0768 002AD6C8 40 80 00 20 */ bge lbl_802B0788 -/* 802B076C 002AD6CC 48 07 9F DD */ bl SetEmitterTime__16CParticleGlobalsFi -/* 802B0770 002AD6D0 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 802B0774 002AD6D4 48 07 A0 05 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 802B0778 002AD6D8 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 802B077C 002AD6DC 48 07 9F 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 802B0780 002AD6E0 7F E3 FB 78 */ mr r3, r31 -/* 802B0784 002AD6E4 4B FF FA B1 */ bl UpdatePSTranslationAndOrientation__17CProjectileWeaponFv -lbl_802B0788: -/* 802B0788 002AD6E8 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 802B078C 002AD6EC FF BD F0 2A */ fadd f29, f29, f30 -/* 802B0790 002AD6F0 38 03 00 01 */ addi r0, r3, 1 -/* 802B0794 002AD6F4 90 1F 00 F4 */ stw r0, 0xf4(r31) -/* 802B0798 002AD6F8 80 7F 00 EC */ lwz r3, 0xec(r31) -/* 802B079C 002AD6FC 38 03 00 01 */ addi r0, r3, 1 -/* 802B07A0 002AD700 90 1F 00 EC */ stw r0, 0xec(r31) -lbl_802B07A4: -/* 802B07A4 002AD704 C8 1F 00 D0 */ lfd f0, 0xd0(r31) -/* 802B07A8 002AD708 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802B07AC 002AD70C 40 80 00 14 */ bge lbl_802B07C0 -/* 802B07B0 002AD710 FC 1D 00 28 */ fsub f0, f29, f0 -/* 802B07B4 002AD714 FC 00 02 10 */ fabs f0, f0 -/* 802B07B8 002AD718 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 802B07BC 002AD71C 40 80 FF A0 */ bge lbl_802B075C -lbl_802B07C0: -/* 802B07C0 002AD720 C8 3F 00 D0 */ lfd f1, 0xd0(r31) -/* 802B07C4 002AD724 C8 02 C2 30 */ lfd f0, lbl_805ADF50@sda21(r2) -/* 802B07C8 002AD728 FC 3D 08 28 */ fsub f1, f29, f1 -/* 802B07CC 002AD72C FC 20 0A 10 */ fabs f1, f1 -/* 802B07D0 002AD730 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802B07D4 002AD734 40 80 00 08 */ bge lbl_802B07DC -/* 802B07D8 002AD738 DB BF 00 D0 */ stfd f29, 0xd0(r31) -lbl_802B07DC: -/* 802B07DC 002AD73C C8 3F 00 D0 */ lfd f1, 0xd0(r31) -/* 802B07E0 002AD740 C8 02 C2 00 */ lfd f0, lbl_805ADF20@sda21(r2) -/* 802B07E4 002AD744 FC 3D 08 28 */ fsub f1, f29, f1 -/* 802B07E8 002AD748 FC 01 00 24 */ fdiv f0, f1, f0 -/* 802B07EC 002AD74C FC 00 00 18 */ frsp f0, f0 -/* 802B07F0 002AD750 D8 1F 00 D8 */ stfd f0, 0xd8(r31) -/* 802B07F4 002AD754 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 802B07F8 002AD758 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 802B07FC 002AD75C 7C 03 00 00 */ cmpw r3, r0 -/* 802B0800 002AD760 40 80 00 34 */ bge lbl_802B0834 -/* 802B0804 002AD764 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) -/* 802B0808 002AD768 D0 1F 00 E0 */ stfs f0, 0xe0(r31) -/* 802B080C 002AD76C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0810 002AD770 80 63 00 30 */ lwz r3, 0x30(r3) -/* 802B0814 002AD774 28 03 00 00 */ cmplwi r3, 0 -/* 802B0818 002AD778 41 82 00 1C */ beq lbl_802B0834 -/* 802B081C 002AD77C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0820 002AD780 38 BF 00 E0 */ addi r5, r31, 0xe0 -/* 802B0824 002AD784 38 80 00 00 */ li r4, 0 -/* 802B0828 002AD788 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B082C 002AD78C 7D 89 03 A6 */ mtctr r12 -/* 802B0830 002AD790 4E 80 04 21 */ bctrl -lbl_802B0834: -/* 802B0834 002AD794 38 61 00 08 */ addi r3, r1, 8 -/* 802B0838 002AD798 38 80 FF FF */ li r4, -1 -/* 802B083C 002AD79C 48 06 1D C9 */ bl __dt__13CGlobalRandomFv -/* 802B0840 002AD7A0 38 60 00 00 */ li r3, 0 -/* 802B0844 002AD7A4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802B0848 002AD7A8 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802B084C 002AD7AC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802B0850 002AD7B0 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802B0854 002AD7B4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802B0858 002AD7B8 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802B085C 002AD7BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802B0860 002AD7C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B0864 002AD7C4 7C 08 03 A6 */ mtlr r0 -/* 802B0868 002AD7C8 38 21 00 60 */ addi r1, r1, 0x60 -/* 802B086C 002AD7CC 4E 80 00 20 */ blr - -.global __dt__17CProjectileWeaponFv -__dt__17CProjectileWeaponFv: -/* 802B0870 002AD7D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B0874 002AD7D4 7C 08 02 A6 */ mflr r0 -/* 802B0878 002AD7D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B087C 002AD7DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B0880 002AD7E0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B0884 002AD7E4 93 C1 00 08 */ stw r30, 8(r1) -/* 802B0888 002AD7E8 7C 9E 23 78 */ mr r30, r4 -/* 802B088C 002AD7EC 41 82 01 44 */ beq lbl_802B09D0 -/* 802B0890 002AD7F0 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha -/* 802B0894 002AD7F4 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l -/* 802B0898 002AD7F8 90 1F 00 00 */ stw r0, 0(r31) -/* 802B089C 002AD7FC 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802B08A0 002AD800 28 03 00 00 */ cmplwi r3, 0 -/* 802B08A4 002AD804 41 82 00 18 */ beq lbl_802B08BC -/* 802B08A8 002AD808 81 83 00 00 */ lwz r12, 0(r3) -/* 802B08AC 002AD80C 38 80 00 01 */ li r4, 1 -/* 802B08B0 002AD810 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B08B4 002AD814 7D 89 03 A6 */ mtctr r12 -/* 802B08B8 002AD818 4E 80 04 21 */ bctrl -lbl_802B08BC: -/* 802B08BC 002AD81C 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802B08C0 002AD820 28 03 00 00 */ cmplwi r3, 0 -/* 802B08C4 002AD824 41 82 00 18 */ beq lbl_802B08DC -/* 802B08C8 002AD828 81 83 00 00 */ lwz r12, 0(r3) -/* 802B08CC 002AD82C 38 80 00 01 */ li r4, 1 -/* 802B08D0 002AD830 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B08D4 002AD834 7D 89 03 A6 */ mtctr r12 -/* 802B08D8 002AD838 4E 80 04 21 */ bctrl -lbl_802B08DC: -/* 802B08DC 002AD83C 80 7F 01 04 */ lwz r3, 0x104(r31) -/* 802B08E0 002AD840 28 03 00 00 */ cmplwi r3, 0 -/* 802B08E4 002AD844 41 82 00 18 */ beq lbl_802B08FC -/* 802B08E8 002AD848 81 83 00 00 */ lwz r12, 0(r3) -/* 802B08EC 002AD84C 38 80 00 01 */ li r4, 1 -/* 802B08F0 002AD850 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B08F4 002AD854 7D 89 03 A6 */ mtctr r12 -/* 802B08F8 002AD858 4E 80 04 21 */ bctrl -lbl_802B08FC: -/* 802B08FC 002AD85C 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802B0900 002AD860 28 03 00 00 */ cmplwi r3, 0 -/* 802B0904 002AD864 41 82 00 18 */ beq lbl_802B091C -/* 802B0908 002AD868 81 83 00 00 */ lwz r12, 0(r3) -/* 802B090C 002AD86C 38 80 00 01 */ li r4, 1 -/* 802B0910 002AD870 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0914 002AD874 7D 89 03 A6 */ mtctr r12 -/* 802B0918 002AD878 4E 80 04 21 */ bctrl -lbl_802B091C: -/* 802B091C 002AD87C 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802B0920 002AD880 28 03 00 00 */ cmplwi r3, 0 -/* 802B0924 002AD884 41 82 00 18 */ beq lbl_802B093C -/* 802B0928 002AD888 81 83 00 00 */ lwz r12, 0(r3) -/* 802B092C 002AD88C 38 80 00 01 */ li r4, 1 -/* 802B0930 002AD890 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0934 002AD894 7D 89 03 A6 */ mtctr r12 -/* 802B0938 002AD898 4E 80 04 21 */ bctrl -lbl_802B093C: -/* 802B093C 002AD89C 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0940 002AD8A0 28 03 00 00 */ cmplwi r3, 0 -/* 802B0944 002AD8A4 41 82 00 18 */ beq lbl_802B095C -/* 802B0948 002AD8A8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B094C 002AD8AC 38 80 00 01 */ li r4, 1 -/* 802B0950 002AD8B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B0954 002AD8B4 7D 89 03 A6 */ mtctr r12 -/* 802B0958 002AD8B8 4E 80 04 21 */ bctrl -lbl_802B095C: -/* 802B095C 002AD8BC 34 1F 01 08 */ addic. r0, r31, 0x108 -/* 802B0960 002AD8C0 41 82 00 30 */ beq lbl_802B0990 -/* 802B0964 002AD8C4 88 1F 01 14 */ lbz r0, 0x114(r31) -/* 802B0968 002AD8C8 28 00 00 00 */ cmplwi r0, 0 -/* 802B096C 002AD8CC 41 82 00 1C */ beq lbl_802B0988 -/* 802B0970 002AD8D0 34 7F 01 08 */ addic. r3, r31, 0x108 -/* 802B0974 002AD8D4 41 82 00 14 */ beq lbl_802B0988 -/* 802B0978 002AD8D8 28 03 00 00 */ cmplwi r3, 0 -/* 802B097C 002AD8DC 41 82 00 0C */ beq lbl_802B0988 -/* 802B0980 002AD8E0 38 80 00 00 */ li r4, 0 -/* 802B0984 002AD8E4 48 09 04 BD */ bl __dt__6CTokenFv -lbl_802B0988: -/* 802B0988 002AD8E8 38 00 00 00 */ li r0, 0 -/* 802B098C 002AD8EC 98 1F 01 14 */ stb r0, 0x114(r31) -lbl_802B0990: -/* 802B0990 002AD8F0 34 1F 00 04 */ addic. r0, r31, 4 -/* 802B0994 002AD8F4 41 82 00 18 */ beq lbl_802B09AC -/* 802B0998 002AD8F8 34 1F 00 04 */ addic. r0, r31, 4 -/* 802B099C 002AD8FC 41 82 00 10 */ beq lbl_802B09AC -/* 802B09A0 002AD900 38 7F 00 04 */ addi r3, r31, 4 -/* 802B09A4 002AD904 38 80 00 00 */ li r4, 0 -/* 802B09A8 002AD908 48 09 04 99 */ bl __dt__6CTokenFv -lbl_802B09AC: -/* 802B09AC 002AD90C 28 1F 00 00 */ cmplwi r31, 0 -/* 802B09B0 002AD910 41 82 00 10 */ beq lbl_802B09C0 -/* 802B09B4 002AD914 3C 60 80 3F */ lis r3, lbl_803EC4E8@ha -/* 802B09B8 002AD918 38 03 C4 E8 */ addi r0, r3, lbl_803EC4E8@l -/* 802B09BC 002AD91C 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B09C0: -/* 802B09C0 002AD920 7F C0 07 35 */ extsh. r0, r30 -/* 802B09C4 002AD924 40 81 00 0C */ ble lbl_802B09D0 -/* 802B09C8 002AD928 7F E3 FB 78 */ mr r3, r31 -/* 802B09CC 002AD92C 48 06 4F 65 */ bl Free__7CMemoryFPCv -lbl_802B09D0: -/* 802B09D0 002AD930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B09D4 002AD934 7F E3 FB 78 */ mr r3, r31 -/* 802B09D8 002AD938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B09DC 002AD93C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B09E0 002AD940 7C 08 03 A6 */ mtlr r0 -/* 802B09E4 002AD944 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B09E8 002AD948 4E 80 00 20 */ blr - -.global "__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f" -"__ct__17CProjectileWeaponFRC28TToken<18CWeaponDescription>RC9CVector3fRC12CTransform4fRC9CVector3f": -/* 802B09EC 002AD94C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802B09F0 002AD950 7C 08 02 A6 */ mflr r0 -/* 802B09F4 002AD954 3D 20 80 3F */ lis r9, lbl_803EC4E8@ha -/* 802B09F8 002AD958 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802B09FC 002AD95C 38 09 C4 E8 */ addi r0, r9, lbl_803EC4E8@l -/* 802B0A00 002AD960 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 802B0A04 002AD964 7C 7F 1B 78 */ mr r31, r3 -/* 802B0A08 002AD968 3C 60 80 3F */ lis r3, lbl_803EC4C8@ha -/* 802B0A0C 002AD96C 7C BB 2B 78 */ mr r27, r5 -/* 802B0A10 002AD970 3B 5F 00 04 */ addi r26, r31, 4 -/* 802B0A14 002AD974 7C DD 33 78 */ mr r29, r6 -/* 802B0A18 002AD978 7C FE 3B 78 */ mr r30, r7 -/* 802B0A1C 002AD97C 7D 1C 43 78 */ mr r28, r8 -/* 802B0A20 002AD980 90 1F 00 00 */ stw r0, 0(r31) -/* 802B0A24 002AD984 38 03 C4 C8 */ addi r0, r3, lbl_803EC4C8@l -/* 802B0A28 002AD988 7F 43 D3 78 */ mr r3, r26 -/* 802B0A2C 002AD98C 90 1F 00 00 */ stw r0, 0(r31) -/* 802B0A30 002AD990 48 09 04 79 */ bl __ct__6CTokenFRC6CToken -/* 802B0A34 002AD994 7F 43 D3 78 */ mr r3, r26 -/* 802B0A38 002AD998 48 09 03 D5 */ bl GetObj__6CTokenFv -/* 802B0A3C 002AD99C 80 03 00 04 */ lwz r0, 4(r3) -/* 802B0A40 002AD9A0 38 7F 00 10 */ addi r3, r31, 0x10 -/* 802B0A44 002AD9A4 90 1A 00 08 */ stw r0, 8(r26) -/* 802B0A48 002AD9A8 80 8D 9A 88 */ lwz r4, lbl_805A8648@sda21(r13) -/* 802B0A4C 002AD9AC 48 06 1B A1 */ bl __ct__9CRandom16FUi -/* 802B0A50 002AD9B0 7F A4 EB 78 */ mr r4, r29 -/* 802B0A54 002AD9B4 38 7F 00 14 */ addi r3, r31, 0x14 -/* 802B0A58 002AD9B8 48 06 21 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B0A5C 002AD9BC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802B0A60 002AD9C0 38 7F 00 44 */ addi r3, r31, 0x44 -/* 802B0A64 002AD9C4 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802B0A68 002AD9C8 48 06 21 0D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B0A6C 002AD9CC C0 3B 00 00 */ lfs f1, 0(r27) -/* 802B0A70 002AD9D0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802B0A74 002AD9D4 C0 02 C1 F8 */ lfs f0, lbl_805ADF18@sda21(r2) -/* 802B0A78 002AD9D8 D0 3F 00 74 */ stfs f1, 0x74(r31) -/* 802B0A7C 002AD9DC C0 3B 00 04 */ lfs f1, 4(r27) -/* 802B0A80 002AD9E0 D0 3F 00 78 */ stfs f1, 0x78(r31) -/* 802B0A84 002AD9E4 C0 3B 00 08 */ lfs f1, 8(r27) -/* 802B0A88 002AD9E8 D0 3F 00 7C */ stfs f1, 0x7c(r31) -/* 802B0A8C 002AD9EC C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 802B0A90 002AD9F0 D0 3F 00 80 */ stfs f1, 0x80(r31) -/* 802B0A94 002AD9F4 C0 23 00 04 */ lfs f1, 4(r3) -/* 802B0A98 002AD9F8 D0 3F 00 84 */ stfs f1, 0x84(r31) -/* 802B0A9C 002AD9FC C0 23 00 08 */ lfs f1, 8(r3) -/* 802B0AA0 002ADA00 D0 3F 00 88 */ stfs f1, 0x88(r31) -/* 802B0AA4 002ADA04 C0 23 00 00 */ lfs f1, 0(r3) -/* 802B0AA8 002ADA08 D0 3F 00 8C */ stfs f1, 0x8c(r31) -/* 802B0AAC 002ADA0C C0 23 00 04 */ lfs f1, 4(r3) -/* 802B0AB0 002ADA10 D0 3F 00 90 */ stfs f1, 0x90(r31) -/* 802B0AB4 002ADA14 C0 23 00 08 */ lfs f1, 8(r3) -/* 802B0AB8 002ADA18 D0 3F 00 94 */ stfs f1, 0x94(r31) -/* 802B0ABC 002ADA1C D0 1F 00 98 */ stfs f0, 0x98(r31) -/* 802B0AC0 002ADA20 D0 1F 00 9C */ stfs f0, 0x9c(r31) -/* 802B0AC4 002ADA24 D0 1F 00 A0 */ stfs f0, 0xa0(r31) -/* 802B0AC8 002ADA28 C0 03 00 00 */ lfs f0, 0(r3) -/* 802B0ACC 002ADA2C D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 802B0AD0 002ADA30 C0 03 00 04 */ lfs f0, 4(r3) -/* 802B0AD4 002ADA34 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 802B0AD8 002ADA38 C0 03 00 08 */ lfs f0, 8(r3) -/* 802B0ADC 002ADA3C D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 802B0AE0 002ADA40 C0 03 00 00 */ lfs f0, 0(r3) -/* 802B0AE4 002ADA44 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 802B0AE8 002ADA48 C0 03 00 04 */ lfs f0, 4(r3) -/* 802B0AEC 002ADA4C D0 1F 00 B4 */ stfs f0, 0xb4(r31) -/* 802B0AF0 002ADA50 C0 03 00 08 */ lfs f0, 8(r3) -/* 802B0AF4 002ADA54 D0 1F 00 B8 */ stfs f0, 0xb8(r31) -/* 802B0AF8 002ADA58 C0 03 00 00 */ lfs f0, 0(r3) -/* 802B0AFC 002ADA5C D0 1F 00 BC */ stfs f0, 0xbc(r31) -/* 802B0B00 002ADA60 C0 03 00 04 */ lfs f0, 4(r3) -/* 802B0B04 002ADA64 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -/* 802B0B08 002ADA68 C0 03 00 08 */ lfs f0, 8(r3) -/* 802B0B0C 002ADA6C D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 802B0B10 002ADA70 48 09 94 9D */ bl White__6CColorFv -/* 802B0B14 002ADA74 80 63 00 00 */ lwz r3, 0(r3) -/* 802B0B18 002ADA78 38 C0 00 00 */ li r6, 0 -/* 802B0B1C 002ADA7C C8 22 C2 10 */ lfd f1, lbl_805ADF30@sda21(r2) -/* 802B0B20 002ADA80 38 00 FF FF */ li r0, -1 -/* 802B0B24 002ADA84 90 7F 00 C8 */ stw r3, 0xc8(r31) -/* 802B0B28 002ADA88 38 A0 00 01 */ li r5, 1 -/* 802B0B2C 002ADA8C C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) -/* 802B0B30 002ADA90 38 61 00 48 */ addi r3, r1, 0x48 -/* 802B0B34 002ADA94 D8 3F 00 D0 */ stfd f1, 0xd0(r31) -/* 802B0B38 002ADA98 38 9F 00 10 */ addi r4, r31, 0x10 -/* 802B0B3C 002ADA9C D8 3F 00 D8 */ stfd f1, 0xd8(r31) -/* 802B0B40 002ADAA0 D0 1F 00 E0 */ stfs f0, 0xe0(r31) -/* 802B0B44 002ADAA4 93 9F 00 E4 */ stw r28, 0xe4(r31) -/* 802B0B48 002ADAA8 90 DF 00 E8 */ stw r6, 0xe8(r31) -/* 802B0B4C 002ADAAC 90 DF 00 EC */ stw r6, 0xec(r31) -/* 802B0B50 002ADAB0 90 DF 00 F0 */ stw r6, 0xf0(r31) -/* 802B0B54 002ADAB4 90 DF 00 F4 */ stw r6, 0xf4(r31) -/* 802B0B58 002ADAB8 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 802B0B5C 002ADABC 90 DF 00 FC */ stw r6, 0xfc(r31) -/* 802B0B60 002ADAC0 90 DF 01 00 */ stw r6, 0x100(r31) -/* 802B0B64 002ADAC4 90 DF 01 04 */ stw r6, 0x104(r31) -/* 802B0B68 002ADAC8 98 DF 01 14 */ stb r6, 0x114(r31) -/* 802B0B6C 002ADACC 90 DF 01 18 */ stw r6, 0x118(r31) -/* 802B0B70 002ADAD0 90 DF 01 1C */ stw r6, 0x11c(r31) -/* 802B0B74 002ADAD4 90 DF 01 20 */ stw r6, 0x120(r31) -/* 802B0B78 002ADAD8 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0B7C 002ADADC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802B0B80 002ADAE0 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0B84 002ADAE4 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0B88 002ADAE8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 802B0B8C 002ADAEC 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0B90 002ADAF0 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0B94 002ADAF4 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 802B0B98 002ADAF8 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0B9C 002ADAFC 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BA0 002ADB00 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 802B0BA4 002ADB04 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BA8 002ADB08 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BAC 002ADB0C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 802B0BB0 002ADB10 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BB4 002ADB14 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BB8 002ADB18 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 802B0BBC 002ADB1C 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BC0 002ADB20 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BC4 002ADB24 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 802B0BC8 002ADB28 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BCC 002ADB2C 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BD0 002ADB30 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 802B0BD4 002ADB34 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BD8 002ADB38 48 06 1A A9 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B0BDC 002ADB3C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0BE0 002ADB40 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BE4 002ADB44 88 63 00 10 */ lbz r3, 0x10(r3) -/* 802B0BE8 002ADB48 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 802B0BEC 002ADB4C 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0BF0 002ADB50 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0BF4 002ADB54 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B0BF8 002ADB58 88 63 00 28 */ lbz r3, 0x28(r3) -/* 802B0BFC 002ADB5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802B0C00 002ADB60 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B0C04 002ADB64 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0C08 002ADB68 80 9F 00 E4 */ lwz r4, 0xe4(r31) -/* 802B0C0C 002ADB6C 88 03 00 40 */ lbz r0, 0x40(r3) -/* 802B0C10 002ADB70 54 9D 07 FE */ clrlwi r29, r4, 0x1f -/* 802B0C14 002ADB74 28 00 00 00 */ cmplwi r0, 0 -/* 802B0C18 002ADB78 41 82 00 8C */ beq lbl_802B0CA4 -/* 802B0C1C 002ADB7C 3C 60 80 3D */ lis r3, lbl_803D6188@ha -/* 802B0C20 002ADB80 3B 40 00 00 */ li r26, 0 -/* 802B0C24 002ADB84 38 83 61 88 */ addi r4, r3, lbl_803D6188@l -/* 802B0C28 002ADB88 38 A0 00 00 */ li r5, 0 -/* 802B0C2C 002ADB8C 38 60 03 40 */ li r3, 0x340 -/* 802B0C30 002ADB90 48 06 4C 3D */ bl __nw__FUlPCcPCc -/* 802B0C34 002ADB94 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802B0C38 002ADB98 41 82 00 3C */ beq lbl_802B0C74 -/* 802B0C3C 002ADB9C 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B0C40 002ADBA0 38 61 00 34 */ addi r3, r1, 0x34 -/* 802B0C44 002ADBA4 38 84 00 34 */ addi r4, r4, 0x34 -/* 802B0C48 002ADBA8 48 09 02 61 */ bl __ct__6CTokenFRC6CToken -/* 802B0C4C 002ADBAC 28 1D 00 00 */ cmplwi r29, 0 -/* 802B0C50 002ADBB0 7F 83 E3 78 */ mr r3, r28 -/* 802B0C54 002ADBB4 38 81 00 34 */ addi r4, r1, 0x34 -/* 802B0C58 002ADBB8 3B 40 00 01 */ li r26, 1 -/* 802B0C5C 002ADBBC 38 A0 00 00 */ li r5, 0 -/* 802B0C60 002ADBC0 38 C0 00 01 */ li r6, 1 -/* 802B0C64 002ADBC4 41 82 00 08 */ beq lbl_802B0C6C -/* 802B0C68 002ADBC8 38 C0 00 02 */ li r6, 2 -lbl_802B0C6C: -/* 802B0C6C 002ADBCC 48 06 E7 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 802B0C70 002ADBD0 7C 7C 1B 78 */ mr r28, r3 -lbl_802B0C74: -/* 802B0C74 002ADBD4 7F 40 07 75 */ extsb. r0, r26 -/* 802B0C78 002ADBD8 93 9F 00 FC */ stw r28, 0xfc(r31) -/* 802B0C7C 002ADBDC 41 82 00 10 */ beq lbl_802B0C8C -/* 802B0C80 002ADBE0 38 61 00 34 */ addi r3, r1, 0x34 -/* 802B0C84 002ADBE4 38 80 00 00 */ li r4, 0 -/* 802B0C88 002ADBE8 48 09 01 B9 */ bl __dt__6CTokenFv -lbl_802B0C8C: -/* 802B0C8C 002ADBEC 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 802B0C90 002ADBF0 7F C4 F3 78 */ mr r4, r30 -/* 802B0C94 002ADBF4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0C98 002ADBF8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802B0C9C 002ADBFC 7D 89 03 A6 */ mtctr r12 -/* 802B0CA0 002ADC00 4E 80 04 21 */ bctrl -lbl_802B0CA4: -/* 802B0CA4 002ADC04 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0CA8 002ADC08 88 03 00 50 */ lbz r0, 0x50(r3) -/* 802B0CAC 002ADC0C 28 00 00 00 */ cmplwi r0, 0 -/* 802B0CB0 002ADC10 41 82 00 8C */ beq lbl_802B0D3C -/* 802B0CB4 002ADC14 3C 60 80 3D */ lis r3, lbl_803D6188@ha -/* 802B0CB8 002ADC18 3B 40 00 00 */ li r26, 0 -/* 802B0CBC 002ADC1C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l -/* 802B0CC0 002ADC20 38 A0 00 00 */ li r5, 0 -/* 802B0CC4 002ADC24 38 60 03 40 */ li r3, 0x340 -/* 802B0CC8 002ADC28 48 06 4B A5 */ bl __nw__FUlPCcPCc -/* 802B0CCC 002ADC2C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802B0CD0 002ADC30 41 82 00 3C */ beq lbl_802B0D0C -/* 802B0CD4 002ADC34 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B0CD8 002ADC38 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B0CDC 002ADC3C 38 84 00 44 */ addi r4, r4, 0x44 -/* 802B0CE0 002ADC40 48 09 01 C9 */ bl __ct__6CTokenFRC6CToken -/* 802B0CE4 002ADC44 28 1D 00 00 */ cmplwi r29, 0 -/* 802B0CE8 002ADC48 7F 83 E3 78 */ mr r3, r28 -/* 802B0CEC 002ADC4C 38 81 00 2C */ addi r4, r1, 0x2c -/* 802B0CF0 002ADC50 3B 40 00 01 */ li r26, 1 -/* 802B0CF4 002ADC54 38 A0 00 00 */ li r5, 0 -/* 802B0CF8 002ADC58 38 C0 00 01 */ li r6, 1 -/* 802B0CFC 002ADC5C 41 82 00 08 */ beq lbl_802B0D04 -/* 802B0D00 002ADC60 38 C0 00 02 */ li r6, 2 -lbl_802B0D04: -/* 802B0D04 002ADC64 48 06 E6 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 802B0D08 002ADC68 7C 7C 1B 78 */ mr r28, r3 -lbl_802B0D0C: -/* 802B0D0C 002ADC6C 7F 40 07 75 */ extsb. r0, r26 -/* 802B0D10 002ADC70 93 9F 01 00 */ stw r28, 0x100(r31) -/* 802B0D14 002ADC74 41 82 00 10 */ beq lbl_802B0D24 -/* 802B0D18 002ADC78 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B0D1C 002ADC7C 38 80 00 00 */ li r4, 0 -/* 802B0D20 002ADC80 48 09 01 21 */ bl __dt__6CTokenFv -lbl_802B0D24: -/* 802B0D24 002ADC84 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 802B0D28 002ADC88 7F C4 F3 78 */ mr r4, r30 -/* 802B0D2C 002ADC8C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0D30 002ADC90 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802B0D34 002ADC94 7D 89 03 A6 */ mtctr r12 -/* 802B0D38 002ADC98 4E 80 04 21 */ bctrl -lbl_802B0D3C: -/* 802B0D3C 002ADC9C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0D40 002ADCA0 88 03 00 60 */ lbz r0, 0x60(r3) -/* 802B0D44 002ADCA4 28 00 00 00 */ cmplwi r0, 0 -/* 802B0D48 002ADCA8 41 82 00 7C */ beq lbl_802B0DC4 -/* 802B0D4C 002ADCAC 3C 60 80 3D */ lis r3, lbl_803D6188@ha -/* 802B0D50 002ADCB0 3B 40 00 00 */ li r26, 0 -/* 802B0D54 002ADCB4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l -/* 802B0D58 002ADCB8 38 A0 00 00 */ li r5, 0 -/* 802B0D5C 002ADCBC 38 60 02 10 */ li r3, 0x210 -/* 802B0D60 002ADCC0 48 06 4B 0D */ bl __nw__FUlPCcPCc -/* 802B0D64 002ADCC4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802B0D68 002ADCC8 41 82 00 2C */ beq lbl_802B0D94 -/* 802B0D6C 002ADCCC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B0D70 002ADCD0 38 61 00 24 */ addi r3, r1, 0x24 -/* 802B0D74 002ADCD4 38 84 00 54 */ addi r4, r4, 0x54 -/* 802B0D78 002ADCD8 48 09 01 31 */ bl __ct__6CTokenFRC6CToken -/* 802B0D7C 002ADCDC 7F 83 E3 78 */ mr r3, r28 -/* 802B0D80 002ADCE0 38 81 00 24 */ addi r4, r1, 0x24 -/* 802B0D84 002ADCE4 3B 40 00 01 */ li r26, 1 -/* 802B0D88 002ADCE8 38 A0 00 00 */ li r5, 0 -/* 802B0D8C 002ADCEC 48 07 E0 59 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 802B0D90 002ADCF0 7C 7C 1B 78 */ mr r28, r3 -lbl_802B0D94: -/* 802B0D94 002ADCF4 7F 40 07 75 */ extsb. r0, r26 -/* 802B0D98 002ADCF8 93 9F 01 18 */ stw r28, 0x118(r31) -/* 802B0D9C 002ADCFC 41 82 00 10 */ beq lbl_802B0DAC -/* 802B0DA0 002ADD00 38 61 00 24 */ addi r3, r1, 0x24 -/* 802B0DA4 002ADD04 38 80 00 00 */ li r4, 0 -/* 802B0DA8 002ADD08 48 09 00 99 */ bl __dt__6CTokenFv -lbl_802B0DAC: -/* 802B0DAC 002ADD0C 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 802B0DB0 002ADD10 7F C4 F3 78 */ mr r4, r30 -/* 802B0DB4 002ADD14 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0DB8 002ADD18 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802B0DBC 002ADD1C 7D 89 03 A6 */ mtctr r12 -/* 802B0DC0 002ADD20 4E 80 04 21 */ bctrl -lbl_802B0DC4: -/* 802B0DC4 002ADD24 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0DC8 002ADD28 88 03 00 70 */ lbz r0, 0x70(r3) -/* 802B0DCC 002ADD2C 28 00 00 00 */ cmplwi r0, 0 -/* 802B0DD0 002ADD30 41 82 00 7C */ beq lbl_802B0E4C -/* 802B0DD4 002ADD34 3C 60 80 3D */ lis r3, lbl_803D6188@ha -/* 802B0DD8 002ADD38 3B 40 00 00 */ li r26, 0 -/* 802B0DDC 002ADD3C 38 83 61 88 */ addi r4, r3, lbl_803D6188@l -/* 802B0DE0 002ADD40 38 A0 00 00 */ li r5, 0 -/* 802B0DE4 002ADD44 38 60 02 10 */ li r3, 0x210 -/* 802B0DE8 002ADD48 48 06 4A 85 */ bl __nw__FUlPCcPCc -/* 802B0DEC 002ADD4C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802B0DF0 002ADD50 41 82 00 2C */ beq lbl_802B0E1C -/* 802B0DF4 002ADD54 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B0DF8 002ADD58 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B0DFC 002ADD5C 38 84 00 64 */ addi r4, r4, 0x64 -/* 802B0E00 002ADD60 48 09 00 A9 */ bl __ct__6CTokenFRC6CToken -/* 802B0E04 002ADD64 7F 83 E3 78 */ mr r3, r28 -/* 802B0E08 002ADD68 38 81 00 1C */ addi r4, r1, 0x1c -/* 802B0E0C 002ADD6C 3B 40 00 01 */ li r26, 1 -/* 802B0E10 002ADD70 38 A0 00 00 */ li r5, 0 -/* 802B0E14 002ADD74 48 07 DF D1 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 802B0E18 002ADD78 7C 7C 1B 78 */ mr r28, r3 -lbl_802B0E1C: -/* 802B0E1C 002ADD7C 7F 40 07 75 */ extsb. r0, r26 -/* 802B0E20 002ADD80 93 9F 01 1C */ stw r28, 0x11c(r31) -/* 802B0E24 002ADD84 41 82 00 10 */ beq lbl_802B0E34 -/* 802B0E28 002ADD88 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B0E2C 002ADD8C 38 80 00 00 */ li r4, 0 -/* 802B0E30 002ADD90 48 09 00 11 */ bl __dt__6CTokenFv -lbl_802B0E34: -/* 802B0E34 002ADD94 80 7F 01 1C */ lwz r3, 0x11c(r31) -/* 802B0E38 002ADD98 7F C4 F3 78 */ mr r4, r30 -/* 802B0E3C 002ADD9C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0E40 002ADDA0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802B0E44 002ADDA4 7D 89 03 A6 */ mtctr r12 -/* 802B0E48 002ADDA8 4E 80 04 21 */ bctrl -lbl_802B0E4C: -/* 802B0E4C 002ADDAC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0E50 002ADDB0 88 03 00 80 */ lbz r0, 0x80(r3) -/* 802B0E54 002ADDB4 28 00 00 00 */ cmplwi r0, 0 -/* 802B0E58 002ADDB8 41 82 00 7C */ beq lbl_802B0ED4 -/* 802B0E5C 002ADDBC 3C 60 80 3D */ lis r3, lbl_803D6188@ha -/* 802B0E60 002ADDC0 3B 40 00 00 */ li r26, 0 -/* 802B0E64 002ADDC4 38 83 61 88 */ addi r4, r3, lbl_803D6188@l -/* 802B0E68 002ADDC8 38 A0 00 00 */ li r5, 0 -/* 802B0E6C 002ADDCC 38 60 02 10 */ li r3, 0x210 -/* 802B0E70 002ADDD0 48 06 49 FD */ bl __nw__FUlPCcPCc -/* 802B0E74 002ADDD4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802B0E78 002ADDD8 41 82 00 2C */ beq lbl_802B0EA4 -/* 802B0E7C 002ADDDC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B0E80 002ADDE0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B0E84 002ADDE4 38 84 00 74 */ addi r4, r4, 0x74 -/* 802B0E88 002ADDE8 48 09 00 21 */ bl __ct__6CTokenFRC6CToken -/* 802B0E8C 002ADDEC 7F 83 E3 78 */ mr r3, r28 -/* 802B0E90 002ADDF0 38 81 00 14 */ addi r4, r1, 0x14 -/* 802B0E94 002ADDF4 3B 40 00 01 */ li r26, 1 -/* 802B0E98 002ADDF8 38 A0 00 00 */ li r5, 0 -/* 802B0E9C 002ADDFC 48 07 DF 49 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 802B0EA0 002ADE00 7C 7C 1B 78 */ mr r28, r3 -lbl_802B0EA4: -/* 802B0EA4 002ADE04 7F 40 07 75 */ extsb. r0, r26 -/* 802B0EA8 002ADE08 93 9F 01 20 */ stw r28, 0x120(r31) -/* 802B0EAC 002ADE0C 41 82 00 10 */ beq lbl_802B0EBC -/* 802B0EB0 002ADE10 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B0EB4 002ADE14 38 80 00 00 */ li r4, 0 -/* 802B0EB8 002ADE18 48 08 FF 89 */ bl __dt__6CTokenFv -lbl_802B0EBC: -/* 802B0EBC 002ADE1C 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 802B0EC0 002ADE20 7F C4 F3 78 */ mr r4, r30 -/* 802B0EC4 002ADE24 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0EC8 002ADE28 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802B0ECC 002ADE2C 7D 89 03 A6 */ mtctr r12 -/* 802B0ED0 002ADE30 4E 80 04 21 */ bctrl -lbl_802B0ED4: -/* 802B0ED4 002ADE34 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0ED8 002ADE38 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802B0EDC 002ADE3C 28 03 00 00 */ cmplwi r3, 0 -/* 802B0EE0 002ADE40 41 82 00 20 */ beq lbl_802B0F00 -/* 802B0EE4 002ADE44 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0EE8 002ADE48 38 BF 00 E8 */ addi r5, r31, 0xe8 -/* 802B0EEC 002ADE4C 38 80 00 00 */ li r4, 0 -/* 802B0EF0 002ADE50 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0EF4 002ADE54 7D 89 03 A6 */ mtctr r12 -/* 802B0EF8 002ADE58 4E 80 04 21 */ bctrl -/* 802B0EFC 002ADE5C 48 00 00 10 */ b lbl_802B0F0C -lbl_802B0F00: -/* 802B0F00 002ADE60 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 802B0F04 002ADE64 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 802B0F08 002ADE68 90 1F 00 E8 */ stw r0, 0xe8(r31) -lbl_802B0F0C: -/* 802B0F0C 002ADE6C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0F10 002ADE70 80 63 00 04 */ lwz r3, 4(r3) -/* 802B0F14 002ADE74 28 03 00 00 */ cmplwi r3, 0 -/* 802B0F18 002ADE78 41 82 00 1C */ beq lbl_802B0F34 -/* 802B0F1C 002ADE7C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0F20 002ADE80 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 802B0F24 002ADE84 38 80 00 00 */ li r4, 0 -/* 802B0F28 002ADE88 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0F2C 002ADE8C 7D 89 03 A6 */ mtctr r12 -/* 802B0F30 002ADE90 4E 80 04 21 */ bctrl -lbl_802B0F34: -/* 802B0F34 002ADE94 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0F38 002ADE98 80 03 00 00 */ lwz r0, 0(r3) -/* 802B0F3C 002ADE9C 28 00 00 00 */ cmplwi r0, 0 -/* 802B0F40 002ADEA0 41 82 00 A8 */ beq lbl_802B0FE8 -/* 802B0F44 002ADEA4 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802B0F48 002ADEA8 38 61 00 54 */ addi r3, r1, 0x54 -/* 802B0F4C 002ADEAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802B0F50 002ADEB0 48 06 1C 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B0F54 002ADEB4 C0 02 C1 F0 */ lfs f0, lbl_805ADF10@sda21(r2) -/* 802B0F58 002ADEB8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 802B0F5C 002ADEBC 38 80 00 00 */ li r4, 0 -/* 802B0F60 002ADEC0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802B0F64 002ADEC4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802B0F68 002ADEC8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802B0F6C 002ADECC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0F70 002ADED0 80 63 00 00 */ lwz r3, 0(r3) -/* 802B0F74 002ADED4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B0F78 002ADED8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B0F7C 002ADEDC 7D 89 03 A6 */ mtctr r12 -/* 802B0F80 002ADEE0 4E 80 04 21 */ bctrl -/* 802B0F84 002ADEE4 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B0F88 002ADEE8 38 61 00 54 */ addi r3, r1, 0x54 -/* 802B0F8C 002ADEEC C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802B0F90 002ADEF0 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B0F94 002ADEF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B0F98 002ADEF8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802B0F9C 002ADEFC 48 06 27 59 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -/* 802B0FA0 002ADF00 C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B0FA4 002ADF04 38 61 00 54 */ addi r3, r1, 0x54 -/* 802B0FA8 002ADF08 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802B0FAC 002ADF0C 38 81 00 0C */ addi r4, r1, 0xc -/* 802B0FB0 002ADF10 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B0FB4 002ADF14 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802B0FB8 002ADF18 48 06 26 21 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 802B0FBC 002ADF1C C0 22 C2 18 */ lfs f1, lbl_805ADF38@sda21(r2) -/* 802B0FC0 002ADF20 38 61 00 54 */ addi r3, r1, 0x54 -/* 802B0FC4 002ADF24 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802B0FC8 002ADF28 38 81 00 08 */ addi r4, r1, 8 -/* 802B0FCC 002ADF2C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B0FD0 002ADF30 D0 01 00 08 */ stfs f0, 8(r1) -/* 802B0FD4 002ADF34 48 06 24 E9 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle -/* 802B0FD8 002ADF38 7F E3 FB 78 */ mr r3, r31 -/* 802B0FDC 002ADF3C 38 81 00 54 */ addi r4, r1, 0x54 -/* 802B0FE0 002ADF40 4B FF F5 21 */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f -/* 802B0FE4 002ADF44 48 00 00 14 */ b lbl_802B0FF8 -lbl_802B0FE8: -/* 802B0FE8 002ADF48 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802B0FEC 002ADF4C 7F E3 FB 78 */ mr r3, r31 -/* 802B0FF0 002ADF50 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802B0FF4 002ADF54 4B FF F5 0D */ bl SetRelativeOrientation__17CProjectileWeaponFRC12CTransform4f -lbl_802B0FF8: -/* 802B0FF8 002ADF58 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B0FFC 002ADF5C 88 03 00 90 */ lbz r0, 0x90(r3) -/* 802B1000 002ADF60 28 00 00 00 */ cmplwi r0, 0 -/* 802B1004 002ADF64 41 82 00 5C */ beq lbl_802B1060 -/* 802B1008 002ADF68 88 1F 01 14 */ lbz r0, 0x114(r31) -/* 802B100C 002ADF6C 3B A3 00 84 */ addi r29, r3, 0x84 -/* 802B1010 002ADF70 28 00 00 00 */ cmplwi r0, 0 -/* 802B1014 002ADF74 40 82 00 34 */ bne lbl_802B1048 -/* 802B1018 002ADF78 37 9F 01 08 */ addic. r28, r31, 0x108 -/* 802B101C 002ADF7C 41 82 00 20 */ beq lbl_802B103C -/* 802B1020 002ADF80 7F 83 E3 78 */ mr r3, r28 -/* 802B1024 002ADF84 7F A4 EB 78 */ mr r4, r29 -/* 802B1028 002ADF88 48 08 FE 81 */ bl __ct__6CTokenFRC6CToken -/* 802B102C 002ADF8C 80 1D 00 08 */ lwz r0, 8(r29) -/* 802B1030 002ADF90 7F 83 E3 78 */ mr r3, r28 -/* 802B1034 002ADF94 90 1C 00 08 */ stw r0, 8(r28) -/* 802B1038 002ADF98 48 08 FD 4D */ bl Lock__6CTokenFv -lbl_802B103C: -/* 802B103C 002ADF9C 38 00 00 01 */ li r0, 1 -/* 802B1040 002ADFA0 98 1F 01 14 */ stb r0, 0x114(r31) -/* 802B1044 002ADFA4 48 00 00 1C */ b lbl_802B1060 -lbl_802B1048: -/* 802B1048 002ADFA8 3B 9F 01 08 */ addi r28, r31, 0x108 -/* 802B104C 002ADFAC 7F A4 EB 78 */ mr r4, r29 -/* 802B1050 002ADFB0 7F 83 E3 78 */ mr r3, r28 -/* 802B1054 002ADFB4 48 08 FC 71 */ bl __as__6CTokenFRC6CToken -/* 802B1058 002ADFB8 80 1D 00 08 */ lwz r0, 8(r29) -/* 802B105C 002ADFBC 90 1C 00 08 */ stw r0, 8(r28) -lbl_802B1060: -/* 802B1060 002ADFC0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B1064 002ADFC4 7F E3 FB 78 */ mr r3, r31 -/* 802B1068 002ADFC8 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B106C 002ADFCC 88 84 00 2A */ lbz r4, 0x2a(r4) -/* 802B1070 002ADFD0 C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) -/* 802B1074 002ADFD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 802B1078 002ADFD8 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B107C 002ADFDC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B1080 002ADFE0 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B1084 002ADFE4 88 84 00 2B */ lbz r4, 0x2b(r4) -/* 802B1088 002ADFE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 802B108C 002ADFEC 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B1090 002ADFF0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B1094 002ADFF4 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B1098 002ADFF8 88 84 00 2C */ lbz r4, 0x2c(r4) -/* 802B109C 002ADFFC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 802B10A0 002AE000 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B10A4 002AE004 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B10A8 002AE008 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B10AC 002AE00C 88 84 00 2D */ lbz r4, 0x2d(r4) -/* 802B10B0 002AE010 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 802B10B4 002AE014 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B10B8 002AE018 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B10BC 002AE01C 88 1F 01 24 */ lbz r0, 0x124(r31) -/* 802B10C0 002AE020 88 84 00 2E */ lbz r4, 0x2e(r4) -/* 802B10C4 002AE024 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 802B10C8 002AE028 98 1F 01 24 */ stb r0, 0x124(r31) -/* 802B10CC 002AE02C 4B FF EA 35 */ bl UpdateChildParticleSystems__17CProjectileWeaponFf -/* 802B10D0 002AE030 38 61 00 48 */ addi r3, r1, 0x48 -/* 802B10D4 002AE034 38 80 FF FF */ li r4, -1 -/* 802B10D8 002AE038 48 06 15 2D */ bl __dt__13CGlobalRandomFv -/* 802B10DC 002AE03C 7F E3 FB 78 */ mr r3, r31 -/* 802B10E0 002AE040 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 802B10E4 002AE044 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802B10E8 002AE048 7C 08 03 A6 */ mtlr r0 -/* 802B10EC 002AE04C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802B10F0 002AE050 4E 80 00 20 */ blr - -.global __dt__17IWeaponProjectileFv -__dt__17IWeaponProjectileFv: -/* 802B10F4 002AE054 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B10F8 002AE058 7C 08 02 A6 */ mflr r0 -/* 802B10FC 002AE05C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B1100 002AE060 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B1104 002AE064 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B1108 002AE068 41 82 00 1C */ beq lbl_802B1124 -/* 802B110C 002AE06C 3C A0 80 3F */ lis r5, lbl_803EC4E8@ha -/* 802B1110 002AE070 7C 80 07 35 */ extsh. r0, r4 -/* 802B1114 002AE074 38 05 C4 E8 */ addi r0, r5, lbl_803EC4E8@l -/* 802B1118 002AE078 90 1F 00 00 */ stw r0, 0(r31) -/* 802B111C 002AE07C 40 81 00 08 */ ble lbl_802B1124 -/* 802B1120 002AE080 48 06 48 11 */ bl Free__7CMemoryFPCv -lbl_802B1124: -/* 802B1124 002AE084 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B1128 002AE088 7F E3 FB 78 */ mr r3, r31 -/* 802B112C 002AE08C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B1130 002AE090 7C 08 03 A6 */ mtlr r0 -/* 802B1134 002AE094 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B1138 002AE098 4E 80 00 20 */ blr - -.global GetTickPeriod__17CProjectileWeaponFv -GetTickPeriod__17CProjectileWeaponFv: -/* 802B113C 002AE09C C0 22 C1 FC */ lfs f1, lbl_805ADF1C@sda21(r2) -/* 802B1140 002AE0A0 4E 80 00 20 */ blr - -.global CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool -CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool: -/* 802B1144 002AE0A4 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 802B1148 002AE0A8 7C 08 02 A6 */ mflr r0 -/* 802B114C 002AE0AC 90 01 01 74 */ stw r0, 0x174(r1) -/* 802B1150 002AE0B0 BF 41 01 58 */ stmw r26, 0x158(r1) -/* 802B1154 002AE0B4 7C 7F 1B 78 */ mr r31, r3 -/* 802B1158 002AE0B8 7C 9E 23 78 */ mr r30, r4 -/* 802B115C 002AE0BC 7C BD 2B 78 */ mr r29, r5 -/* 802B1160 002AE0C0 38 61 00 28 */ addi r3, r1, 0x28 -/* 802B1164 002AE0C4 3B 80 00 00 */ li r28, 0 -/* 802B1168 002AE0C8 38 80 00 63 */ li r4, 0x63 -/* 802B116C 002AE0CC 48 06 14 81 */ bl __ct__9CRandom16FUi -/* 802B1170 002AE0D0 38 61 01 40 */ addi r3, r1, 0x140 -/* 802B1174 002AE0D4 38 81 00 28 */ addi r4, r1, 0x28 -/* 802B1178 002AE0D8 48 06 15 09 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B117C 002AE0DC 48 00 0C 64 */ b lbl_802B1DE0 -lbl_802B1180: -/* 802B1180 002AE0E0 7F C3 F3 78 */ mr r3, r30 -/* 802B1184 002AE0E4 48 07 72 D9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1188 002AE0E8 7C 03 D8 00 */ cmpw r3, r27 -/* 802B118C 002AE0EC 41 82 0C 18 */ beq lbl_802B1DA4 -/* 802B1190 002AE0F0 40 80 01 1C */ bge lbl_802B12AC -/* 802B1194 002AE0F4 3C A0 41 53 */ lis r5, 0x41535731@ha -/* 802B1198 002AE0F8 38 05 57 31 */ addi r0, r5, 0x41535731@l -/* 802B119C 002AE0FC 7C 03 00 00 */ cmpw r3, r0 -/* 802B11A0 002AE100 41 82 06 E8 */ beq lbl_802B1888 -/* 802B11A4 002AE104 40 80 00 7C */ bge lbl_802B1220 -/* 802B11A8 002AE108 3C 80 41 50 */ lis r4, 0x4150534D@ha -/* 802B11AC 002AE10C 38 04 53 4D */ addi r0, r4, 0x4150534D@l -/* 802B11B0 002AE110 7C 03 00 00 */ cmpw r3, r0 -/* 802B11B4 002AE114 41 82 02 64 */ beq lbl_802B1418 -/* 802B11B8 002AE118 40 80 00 34 */ bge lbl_802B11EC -/* 802B11BC 002AE11C 38 04 32 31 */ addi r0, r4, 0x3231 -/* 802B11C0 002AE120 7C 03 00 00 */ cmpw r3, r0 -/* 802B11C4 002AE124 41 82 06 A4 */ beq lbl_802B1868 -/* 802B11C8 002AE128 40 80 00 14 */ bge lbl_802B11DC -/* 802B11CC 002AE12C 38 04 31 31 */ addi r0, r4, 0x3131 -/* 802B11D0 002AE130 7C 03 00 00 */ cmpw r3, r0 -/* 802B11D4 002AE134 41 82 04 64 */ beq lbl_802B1638 -/* 802B11D8 002AE138 48 00 0B F4 */ b lbl_802B1DCC -lbl_802B11DC: -/* 802B11DC 002AE13C 38 04 53 32 */ addi r0, r4, 0x5332 -/* 802B11E0 002AE140 7C 03 00 00 */ cmpw r3, r0 -/* 802B11E4 002AE144 41 82 04 64 */ beq lbl_802B1648 -/* 802B11E8 002AE148 48 00 0B E4 */ b lbl_802B1DCC -lbl_802B11EC: -/* 802B11EC 002AE14C 38 05 31 31 */ addi r0, r5, 0x3131 -/* 802B11F0 002AE150 7C 03 00 00 */ cmpw r3, r0 -/* 802B11F4 002AE154 41 82 07 6C */ beq lbl_802B1960 -/* 802B11F8 002AE158 40 80 00 14 */ bge lbl_802B120C -/* 802B11FC 002AE15C 38 04 53 4F */ addi r0, r4, 0x534f -/* 802B1200 002AE160 7C 03 00 00 */ cmpw r3, r0 -/* 802B1204 002AE164 41 82 06 74 */ beq lbl_802B1878 -/* 802B1208 002AE168 48 00 0B C4 */ b lbl_802B1DCC -lbl_802B120C: -/* 802B120C 002AE16C 38 05 31 33 */ addi r0, r5, 0x3133 -/* 802B1210 002AE170 7C 03 00 00 */ cmpw r3, r0 -/* 802B1214 002AE174 41 82 09 1C */ beq lbl_802B1B30 -/* 802B1218 002AE178 40 80 0B B4 */ bge lbl_802B1DCC -/* 802B121C 002AE17C 48 00 08 2C */ b lbl_802B1A48 -lbl_802B1220: -/* 802B1220 002AE180 3C 80 46 4F */ lis r4, 0x464F4646@ha -/* 802B1224 002AE184 38 04 46 46 */ addi r0, r4, 0x464F4646@l -/* 802B1228 002AE188 7C 03 00 00 */ cmpw r3, r0 -/* 802B122C 002AE18C 41 82 0B 58 */ beq lbl_802B1D84 -/* 802B1230 002AE190 40 80 00 40 */ bge lbl_802B1270 -/* 802B1234 002AE194 3C 80 43 4F */ lis r4, 0x434F4C52@ha -/* 802B1238 002AE198 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l -/* 802B123C 002AE19C 7C 03 00 00 */ cmpw r3, r0 -/* 802B1240 002AE1A0 41 82 09 F8 */ beq lbl_802B1C38 -/* 802B1244 002AE1A4 40 80 00 18 */ bge lbl_802B125C -/* 802B1248 002AE1A8 38 05 57 33 */ addi r0, r5, 0x5733 -/* 802B124C 002AE1AC 7C 03 00 00 */ cmpw r3, r0 -/* 802B1250 002AE1B0 41 82 08 08 */ beq lbl_802B1A58 -/* 802B1254 002AE1B4 40 80 0B 78 */ bge lbl_802B1DCC -/* 802B1258 002AE1B8 48 00 07 18 */ b lbl_802B1970 -lbl_802B125C: -/* 802B125C 002AE1BC 3C 80 45 57 */ lis r4, 0x45575452@ha -/* 802B1260 002AE1C0 38 04 54 52 */ addi r0, r4, 0x45575452@l -/* 802B1264 002AE1C4 7C 03 00 00 */ cmpw r3, r0 -/* 802B1268 002AE1C8 41 82 0B 2C */ beq lbl_802B1D94 -/* 802B126C 002AE1CC 48 00 0B 60 */ b lbl_802B1DCC -lbl_802B1270: -/* 802B1270 002AE1D0 3C 80 49 4F */ lis r4, 0x494F524E@ha -/* 802B1274 002AE1D4 38 04 52 4E */ addi r0, r4, 0x494F524E@l -/* 802B1278 002AE1D8 7C 03 00 00 */ cmpw r3, r0 -/* 802B127C 002AE1DC 41 82 01 3C */ beq lbl_802B13B8 -/* 802B1280 002AE1E0 40 80 00 18 */ bge lbl_802B1298 -/* 802B1284 002AE1E4 3C 80 48 4F */ lis r4, 0x484F4D47@ha -/* 802B1288 002AE1E8 38 04 4D 47 */ addi r0, r4, 0x484F4D47@l -/* 802B128C 002AE1EC 7C 03 00 00 */ cmpw r3, r0 -/* 802B1290 002AE1F0 41 82 0A A0 */ beq lbl_802B1D30 -/* 802B1294 002AE1F4 48 00 0B 38 */ b lbl_802B1DCC -lbl_802B1298: -/* 802B1298 002AE1F8 3C 80 49 56 */ lis r4, 0x49564543@ha -/* 802B129C 002AE1FC 38 04 45 43 */ addi r0, r4, 0x49564543@l -/* 802B12A0 002AE200 7C 03 00 00 */ cmpw r3, r0 -/* 802B12A4 002AE204 41 82 01 24 */ beq lbl_802B13C8 -/* 802B12A8 002AE208 48 00 0B 24 */ b lbl_802B1DCC -lbl_802B12AC: -/* 802B12AC 002AE20C 3C A0 50 53 */ lis r5, 0x50534F56@ha -/* 802B12B0 002AE210 38 05 4F 56 */ addi r0, r5, 0x50534F56@l -/* 802B12B4 002AE214 7C 03 00 00 */ cmpw r3, r0 -/* 802B12B8 002AE218 41 82 01 20 */ beq lbl_802B13D8 -/* 802B12BC 002AE21C 40 80 00 88 */ bge lbl_802B1344 -/* 802B12C0 002AE220 3C 80 50 4A */ lis r4, 0x504A4658@ha -/* 802B12C4 002AE224 38 04 46 58 */ addi r0, r4, 0x504A4658@l -/* 802B12C8 002AE228 7C 03 00 00 */ cmpw r3, r0 -/* 802B12CC 002AE22C 41 82 0A 84 */ beq lbl_802B1D50 -/* 802B12D0 002AE230 40 80 00 40 */ bge lbl_802B1310 -/* 802B12D4 002AE234 3C 80 4F 48 */ lis r4, 0x4F484546@ha -/* 802B12D8 002AE238 38 04 45 46 */ addi r0, r4, 0x4F484546@l -/* 802B12DC 002AE23C 7C 03 00 00 */ cmpw r3, r0 -/* 802B12E0 002AE240 41 82 08 60 */ beq lbl_802B1B40 -/* 802B12E4 002AE244 40 80 00 18 */ bge lbl_802B12FC -/* 802B12E8 002AE248 3C 80 4F 46 */ lis r4, 0x4F465354@ha -/* 802B12EC 002AE24C 38 04 53 54 */ addi r0, r4, 0x4F465354@l -/* 802B12F0 002AE250 7C 03 00 00 */ cmpw r3, r0 -/* 802B12F4 002AE254 41 82 0A 2C */ beq lbl_802B1D20 -/* 802B12F8 002AE258 48 00 0A D4 */ b lbl_802B1DCC -lbl_802B12FC: -/* 802B12FC 002AE25C 3C 80 50 43 */ lis r4, 0x50434F4C@ha -/* 802B1300 002AE260 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l -/* 802B1304 002AE264 7C 03 00 00 */ cmpw r3, r0 -/* 802B1308 002AE268 41 82 09 20 */ beq lbl_802B1C28 -/* 802B130C 002AE26C 48 00 0A C0 */ b lbl_802B1DCC -lbl_802B1310: -/* 802B1310 002AE270 38 05 43 4C */ addi r0, r5, 0x434c -/* 802B1314 002AE274 7C 03 00 00 */ cmpw r3, r0 -/* 802B1318 002AE278 41 82 09 00 */ beq lbl_802B1C18 -/* 802B131C 002AE27C 40 80 00 18 */ bge lbl_802B1334 -/* 802B1320 002AE280 3C 80 50 4F */ lis r4, 0x504F4653@ha -/* 802B1324 002AE284 38 04 46 53 */ addi r0, r4, 0x504F4653@l -/* 802B1328 002AE288 7C 03 00 00 */ cmpw r3, r0 -/* 802B132C 002AE28C 41 82 09 E4 */ beq lbl_802B1D10 -/* 802B1330 002AE290 48 00 0A 9C */ b lbl_802B1DCC -lbl_802B1334: -/* 802B1334 002AE294 38 05 4C 54 */ addi r0, r5, 0x4c54 -/* 802B1338 002AE298 7C 03 00 00 */ cmpw r3, r0 -/* 802B133C 002AE29C 41 82 00 CC */ beq lbl_802B1408 -/* 802B1340 002AE2A0 48 00 0A 8C */ b lbl_802B1DCC -lbl_802B1344: -/* 802B1344 002AE2A4 3C 80 54 52 */ lis r4, 0x54524154@ha -/* 802B1348 002AE2A8 38 04 41 54 */ addi r0, r4, 0x54524154@l -/* 802B134C 002AE2AC 7C 03 00 00 */ cmpw r3, r0 -/* 802B1350 002AE2B0 41 82 09 F0 */ beq lbl_802B1D40 -/* 802B1354 002AE2B4 40 80 00 3C */ bge lbl_802B1390 -/* 802B1358 002AE2B8 3C 80 52 4E */ lis r4, 0x524E4745@ha -/* 802B135C 002AE2BC 38 04 47 45 */ addi r0, r4, 0x524E4745@l -/* 802B1360 002AE2C0 7C 03 00 00 */ cmpw r3, r0 -/* 802B1364 002AE2C4 41 82 0A 10 */ beq lbl_802B1D74 -/* 802B1368 002AE2C8 40 80 00 14 */ bge lbl_802B137C -/* 802B136C 002AE2CC 38 05 56 4D */ addi r0, r5, 0x564d -/* 802B1370 002AE2D0 7C 03 00 00 */ cmpw r3, r0 -/* 802B1374 002AE2D4 41 82 00 74 */ beq lbl_802B13E8 -/* 802B1378 002AE2D8 48 00 0A 54 */ b lbl_802B1DCC -lbl_802B137C: -/* 802B137C 002AE2DC 3C 80 53 57 */ lis r4, 0x53575452@ha -/* 802B1380 002AE2E0 38 04 54 52 */ addi r0, r4, 0x53575452@l -/* 802B1384 002AE2E4 7C 03 00 00 */ cmpw r3, r0 -/* 802B1388 002AE2E8 41 82 0A 2C */ beq lbl_802B1DB4 -/* 802B138C 002AE2EC 48 00 0A 40 */ b lbl_802B1DCC -lbl_802B1390: -/* 802B1390 002AE2F0 3C 80 5F 45 */ lis r4, 0x5F454E44@ha -/* 802B1394 002AE2F4 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l -/* 802B1398 002AE2F8 7C 03 00 00 */ cmpw r3, r0 -/* 802B139C 002AE2FC 41 82 0A 28 */ beq lbl_802B1DC4 -/* 802B13A0 002AE300 40 80 0A 2C */ bge lbl_802B1DCC -/* 802B13A4 002AE304 3C 80 56 4D */ lis r4, 0x564D4432@ha -/* 802B13A8 002AE308 38 04 44 32 */ addi r0, r4, 0x564D4432@l -/* 802B13AC 002AE30C 7C 03 00 00 */ cmpw r3, r0 -/* 802B13B0 002AE310 41 82 00 48 */ beq lbl_802B13F8 -/* 802B13B4 002AE314 48 00 0A 18 */ b lbl_802B1DCC -lbl_802B13B8: -/* 802B13B8 002AE318 7F C3 F3 78 */ mr r3, r30 -/* 802B13BC 002AE31C 48 07 4E 99 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B13C0 002AE320 90 7F 00 00 */ stw r3, 0(r31) -/* 802B13C4 002AE324 48 00 0A 24 */ b lbl_802B1DE8 -lbl_802B13C8: -/* 802B13C8 002AE328 7F C3 F3 78 */ mr r3, r30 -/* 802B13CC 002AE32C 48 07 4E 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B13D0 002AE330 90 7F 00 04 */ stw r3, 4(r31) -/* 802B13D4 002AE334 48 00 0A 14 */ b lbl_802B1DE8 -lbl_802B13D8: -/* 802B13D8 002AE338 7F C3 F3 78 */ mr r3, r30 -/* 802B13DC 002AE33C 48 07 4E 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B13E0 002AE340 90 7F 00 08 */ stw r3, 8(r31) -/* 802B13E4 002AE344 48 00 0A 04 */ b lbl_802B1DE8 -lbl_802B13E8: -/* 802B13E8 002AE348 7F C3 F3 78 */ mr r3, r30 -/* 802B13EC 002AE34C 48 07 44 11 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B13F0 002AE350 90 7F 00 0C */ stw r3, 0xc(r31) -/* 802B13F4 002AE354 48 00 09 F4 */ b lbl_802B1DE8 -lbl_802B13F8: -/* 802B13F8 002AE358 7F C3 F3 78 */ mr r3, r30 -/* 802B13FC 002AE35C 48 07 70 2D */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1400 002AE360 98 7F 00 10 */ stb r3, 0x10(r31) -/* 802B1404 002AE364 48 00 09 E4 */ b lbl_802B1DE8 -lbl_802B1408: -/* 802B1408 002AE368 7F C3 F3 78 */ mr r3, r30 -/* 802B140C 002AE36C 48 07 67 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 802B1410 002AE370 90 7F 00 14 */ stw r3, 0x14(r31) -/* 802B1414 002AE374 48 00 09 D4 */ b lbl_802B1DE8 -lbl_802B1418: -/* 802B1418 002AE378 38 00 00 00 */ li r0, 0 -/* 802B141C 002AE37C 7F C4 F3 78 */ mr r4, r30 -/* 802B1420 002AE380 90 01 01 34 */ stw r0, 0x134(r1) -/* 802B1424 002AE384 7F A5 EB 78 */ mr r5, r29 -/* 802B1428 002AE388 38 61 00 FC */ addi r3, r1, 0xfc -/* 802B142C 002AE38C 38 C1 01 30 */ addi r6, r1, 0x130 -/* 802B1430 002AE390 90 01 01 38 */ stw r0, 0x138(r1) -/* 802B1434 002AE394 90 01 01 3C */ stw r0, 0x13c(r1) -/* 802B1438 002AE398 48 07 39 59 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 802B143C 002AE39C 88 01 01 04 */ lbz r0, 0x104(r1) -/* 802B1440 002AE3A0 28 00 00 00 */ cmplwi r0, 0 -/* 802B1444 002AE3A4 98 01 01 2C */ stb r0, 0x12c(r1) -/* 802B1448 002AE3A8 41 82 00 14 */ beq lbl_802B145C -/* 802B144C 002AE3AC 34 61 01 24 */ addic. r3, r1, 0x124 -/* 802B1450 002AE3B0 38 81 00 FC */ addi r4, r1, 0xfc -/* 802B1454 002AE3B4 41 82 00 08 */ beq lbl_802B145C -/* 802B1458 002AE3B8 48 08 FA 51 */ bl __ct__6CTokenFRC6CToken -lbl_802B145C: -/* 802B145C 002AE3BC 88 01 01 04 */ lbz r0, 0x104(r1) -/* 802B1460 002AE3C0 28 00 00 00 */ cmplwi r0, 0 -/* 802B1464 002AE3C4 41 82 00 14 */ beq lbl_802B1478 -/* 802B1468 002AE3C8 34 61 00 FC */ addic. r3, r1, 0xfc -/* 802B146C 002AE3CC 41 82 00 0C */ beq lbl_802B1478 -/* 802B1470 002AE3D0 38 80 00 00 */ li r4, 0 -/* 802B1474 002AE3D4 48 08 F9 CD */ bl __dt__6CTokenFv -lbl_802B1478: -/* 802B1478 002AE3D8 88 01 01 2C */ lbz r0, 0x12c(r1) -/* 802B147C 002AE3DC 38 60 00 00 */ li r3, 0 -/* 802B1480 002AE3E0 98 61 01 04 */ stb r3, 0x104(r1) -/* 802B1484 002AE3E4 28 00 00 00 */ cmplwi r0, 0 -/* 802B1488 002AE3E8 41 82 00 88 */ beq lbl_802B1510 -/* 802B148C 002AE3EC 3B 41 00 F0 */ addi r26, r1, 0xf0 -/* 802B1490 002AE3F0 38 81 01 24 */ addi r4, r1, 0x124 -/* 802B1494 002AE3F4 7F 43 D3 78 */ mr r3, r26 -/* 802B1498 002AE3F8 48 08 FA 11 */ bl __ct__6CTokenFRC6CToken -/* 802B149C 002AE3FC 7F 43 D3 78 */ mr r3, r26 -/* 802B14A0 002AE400 48 08 F9 6D */ bl GetObj__6CTokenFv -/* 802B14A4 002AE404 80 03 00 04 */ lwz r0, 4(r3) -/* 802B14A8 002AE408 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 802B14AC 002AE40C 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 802B14B0 002AE410 28 00 00 00 */ cmplwi r0, 0 -/* 802B14B4 002AE414 40 82 00 34 */ bne lbl_802B14E8 -/* 802B14B8 002AE418 37 5F 00 34 */ addic. r26, r31, 0x34 -/* 802B14BC 002AE41C 41 82 00 20 */ beq lbl_802B14DC -/* 802B14C0 002AE420 7F 43 D3 78 */ mr r3, r26 -/* 802B14C4 002AE424 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 802B14C8 002AE428 48 08 F9 E1 */ bl __ct__6CTokenFRC6CToken -/* 802B14CC 002AE42C 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 802B14D0 002AE430 7F 43 D3 78 */ mr r3, r26 -/* 802B14D4 002AE434 90 1A 00 08 */ stw r0, 8(r26) -/* 802B14D8 002AE438 48 08 F8 AD */ bl Lock__6CTokenFv -lbl_802B14DC: -/* 802B14DC 002AE43C 38 00 00 01 */ li r0, 1 -/* 802B14E0 002AE440 98 1F 00 40 */ stb r0, 0x40(r31) -/* 802B14E4 002AE444 48 00 00 1C */ b lbl_802B1500 -lbl_802B14E8: -/* 802B14E8 002AE448 3B 5F 00 34 */ addi r26, r31, 0x34 -/* 802B14EC 002AE44C 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 802B14F0 002AE450 7F 43 D3 78 */ mr r3, r26 -/* 802B14F4 002AE454 48 08 F7 D1 */ bl __as__6CTokenFRC6CToken -/* 802B14F8 002AE458 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 802B14FC 002AE45C 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1500: -/* 802B1500 002AE460 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 802B1504 002AE464 38 80 00 00 */ li r4, 0 -/* 802B1508 002AE468 48 08 F9 39 */ bl __dt__6CTokenFv -/* 802B150C 002AE46C 48 00 00 C4 */ b lbl_802B15D0 -lbl_802B1510: -/* 802B1510 002AE470 3B 5F 00 34 */ addi r26, r31, 0x34 -/* 802B1514 002AE474 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 802B1518 002AE478 7C 1A 20 40 */ cmplw r26, r4 -/* 802B151C 002AE47C 98 61 00 EC */ stb r3, 0xec(r1) -/* 802B1520 002AE480 41 82 00 84 */ beq lbl_802B15A4 -/* 802B1524 002AE484 28 03 00 00 */ cmplwi r3, 0 -/* 802B1528 002AE488 41 82 00 50 */ beq lbl_802B1578 -/* 802B152C 002AE48C 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 802B1530 002AE490 28 00 00 00 */ cmplwi r0, 0 -/* 802B1534 002AE494 40 82 00 30 */ bne lbl_802B1564 -/* 802B1538 002AE498 37 5F 00 34 */ addic. r26, r31, 0x34 -/* 802B153C 002AE49C 41 82 00 1C */ beq lbl_802B1558 -/* 802B1540 002AE4A0 7F 43 D3 78 */ mr r3, r26 -/* 802B1544 002AE4A4 48 08 F9 65 */ bl __ct__6CTokenFRC6CToken -/* 802B1548 002AE4A8 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 802B154C 002AE4AC 7F 43 D3 78 */ mr r3, r26 -/* 802B1550 002AE4B0 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1554 002AE4B4 48 08 F8 31 */ bl Lock__6CTokenFv -lbl_802B1558: -/* 802B1558 002AE4B8 38 00 00 01 */ li r0, 1 -/* 802B155C 002AE4BC 98 1F 00 40 */ stb r0, 0x40(r31) -/* 802B1560 002AE4C0 48 00 00 44 */ b lbl_802B15A4 -lbl_802B1564: -/* 802B1564 002AE4C4 7F 43 D3 78 */ mr r3, r26 -/* 802B1568 002AE4C8 48 08 F7 5D */ bl __as__6CTokenFRC6CToken -/* 802B156C 002AE4CC 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 802B1570 002AE4D0 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1574 002AE4D4 48 00 00 30 */ b lbl_802B15A4 -lbl_802B1578: -/* 802B1578 002AE4D8 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 802B157C 002AE4DC 28 00 00 00 */ cmplwi r0, 0 -/* 802B1580 002AE4E0 41 82 00 1C */ beq lbl_802B159C -/* 802B1584 002AE4E4 34 7F 00 34 */ addic. r3, r31, 0x34 -/* 802B1588 002AE4E8 41 82 00 14 */ beq lbl_802B159C -/* 802B158C 002AE4EC 28 03 00 00 */ cmplwi r3, 0 -/* 802B1590 002AE4F0 41 82 00 0C */ beq lbl_802B159C -/* 802B1594 002AE4F4 38 80 00 00 */ li r4, 0 -/* 802B1598 002AE4F8 48 08 F8 A9 */ bl __dt__6CTokenFv -lbl_802B159C: -/* 802B159C 002AE4FC 38 00 00 00 */ li r0, 0 -/* 802B15A0 002AE500 98 1F 00 40 */ stb r0, 0x40(r31) -lbl_802B15A4: -/* 802B15A4 002AE504 88 01 00 EC */ lbz r0, 0xec(r1) -/* 802B15A8 002AE508 28 00 00 00 */ cmplwi r0, 0 -/* 802B15AC 002AE50C 41 82 00 1C */ beq lbl_802B15C8 -/* 802B15B0 002AE510 34 61 00 E0 */ addic. r3, r1, 0xe0 -/* 802B15B4 002AE514 41 82 00 14 */ beq lbl_802B15C8 -/* 802B15B8 002AE518 28 03 00 00 */ cmplwi r3, 0 -/* 802B15BC 002AE51C 41 82 00 0C */ beq lbl_802B15C8 -/* 802B15C0 002AE520 38 80 00 00 */ li r4, 0 -/* 802B15C4 002AE524 48 08 F8 7D */ bl __dt__6CTokenFv -lbl_802B15C8: -/* 802B15C8 002AE528 38 00 00 00 */ li r0, 0 -/* 802B15CC 002AE52C 98 01 00 EC */ stb r0, 0xec(r1) -lbl_802B15D0: -/* 802B15D0 002AE530 88 01 01 2C */ lbz r0, 0x12c(r1) -/* 802B15D4 002AE534 28 00 00 00 */ cmplwi r0, 0 -/* 802B15D8 002AE538 41 82 00 14 */ beq lbl_802B15EC -/* 802B15DC 002AE53C 34 61 01 24 */ addic. r3, r1, 0x124 -/* 802B15E0 002AE540 41 82 00 0C */ beq lbl_802B15EC -/* 802B15E4 002AE544 38 80 00 00 */ li r4, 0 -/* 802B15E8 002AE548 48 08 F8 59 */ bl __dt__6CTokenFv -lbl_802B15EC: -/* 802B15EC 002AE54C 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802B15F0 002AE550 38 80 00 00 */ li r4, 0 -/* 802B15F4 002AE554 80 61 01 3C */ lwz r3, 0x13c(r1) -/* 802B15F8 002AE558 54 00 10 3A */ slwi r0, r0, 2 -/* 802B15FC 002AE55C 98 81 01 2C */ stb r4, 0x12c(r1) -/* 802B1600 002AE560 7C 03 02 14 */ add r0, r3, r0 -/* 802B1604 002AE564 7C 64 1B 78 */ mr r4, r3 -/* 802B1608 002AE568 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B160C 002AE56C 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B1610 002AE570 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802B1614 002AE574 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B1618 002AE578 48 00 00 08 */ b lbl_802B1620 -lbl_802B161C: -/* 802B161C 002AE57C 38 84 00 04 */ addi r4, r4, 4 -lbl_802B1620: -/* 802B1620 002AE580 7C 04 00 40 */ cmplw r4, r0 -/* 802B1624 002AE584 40 82 FF F8 */ bne lbl_802B161C -/* 802B1628 002AE588 28 03 00 00 */ cmplwi r3, 0 -/* 802B162C 002AE58C 41 82 07 BC */ beq lbl_802B1DE8 -/* 802B1630 002AE590 48 06 43 01 */ bl Free__7CMemoryFPCv -/* 802B1634 002AE594 48 00 07 B4 */ b lbl_802B1DE8 -lbl_802B1638: -/* 802B1638 002AE598 7F C3 F3 78 */ mr r3, r30 -/* 802B163C 002AE59C 48 07 6D ED */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1640 002AE5A0 98 7F 00 2A */ stb r3, 0x2a(r31) -/* 802B1644 002AE5A4 48 00 07 A4 */ b lbl_802B1DE8 -lbl_802B1648: -/* 802B1648 002AE5A8 38 00 00 00 */ li r0, 0 -/* 802B164C 002AE5AC 7F C4 F3 78 */ mr r4, r30 -/* 802B1650 002AE5B0 90 01 01 18 */ stw r0, 0x118(r1) -/* 802B1654 002AE5B4 7F A5 EB 78 */ mr r5, r29 -/* 802B1658 002AE5B8 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802B165C 002AE5BC 38 C1 01 14 */ addi r6, r1, 0x114 -/* 802B1660 002AE5C0 90 01 01 1C */ stw r0, 0x11c(r1) -/* 802B1664 002AE5C4 90 01 01 20 */ stw r0, 0x120(r1) -/* 802B1668 002AE5C8 48 07 37 29 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 802B166C 002AE5CC 88 01 00 DC */ lbz r0, 0xdc(r1) -/* 802B1670 002AE5D0 28 00 00 00 */ cmplwi r0, 0 -/* 802B1674 002AE5D4 98 01 01 10 */ stb r0, 0x110(r1) -/* 802B1678 002AE5D8 41 82 00 14 */ beq lbl_802B168C -/* 802B167C 002AE5DC 34 61 01 08 */ addic. r3, r1, 0x108 -/* 802B1680 002AE5E0 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 802B1684 002AE5E4 41 82 00 08 */ beq lbl_802B168C -/* 802B1688 002AE5E8 48 08 F8 21 */ bl __ct__6CTokenFRC6CToken -lbl_802B168C: -/* 802B168C 002AE5EC 88 01 00 DC */ lbz r0, 0xdc(r1) -/* 802B1690 002AE5F0 28 00 00 00 */ cmplwi r0, 0 -/* 802B1694 002AE5F4 41 82 00 14 */ beq lbl_802B16A8 -/* 802B1698 002AE5F8 34 61 00 D4 */ addic. r3, r1, 0xd4 -/* 802B169C 002AE5FC 41 82 00 0C */ beq lbl_802B16A8 -/* 802B16A0 002AE600 38 80 00 00 */ li r4, 0 -/* 802B16A4 002AE604 48 08 F7 9D */ bl __dt__6CTokenFv -lbl_802B16A8: -/* 802B16A8 002AE608 88 01 01 10 */ lbz r0, 0x110(r1) -/* 802B16AC 002AE60C 38 60 00 00 */ li r3, 0 -/* 802B16B0 002AE610 98 61 00 DC */ stb r3, 0xdc(r1) -/* 802B16B4 002AE614 28 00 00 00 */ cmplwi r0, 0 -/* 802B16B8 002AE618 41 82 00 88 */ beq lbl_802B1740 -/* 802B16BC 002AE61C 3B 41 00 C8 */ addi r26, r1, 0xc8 -/* 802B16C0 002AE620 38 81 01 08 */ addi r4, r1, 0x108 -/* 802B16C4 002AE624 7F 43 D3 78 */ mr r3, r26 -/* 802B16C8 002AE628 48 08 F7 E1 */ bl __ct__6CTokenFRC6CToken -/* 802B16CC 002AE62C 7F 43 D3 78 */ mr r3, r26 -/* 802B16D0 002AE630 48 08 F7 3D */ bl GetObj__6CTokenFv -/* 802B16D4 002AE634 80 03 00 04 */ lwz r0, 4(r3) -/* 802B16D8 002AE638 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 802B16DC 002AE63C 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802B16E0 002AE640 28 00 00 00 */ cmplwi r0, 0 -/* 802B16E4 002AE644 40 82 00 34 */ bne lbl_802B1718 -/* 802B16E8 002AE648 37 5F 00 44 */ addic. r26, r31, 0x44 -/* 802B16EC 002AE64C 41 82 00 20 */ beq lbl_802B170C -/* 802B16F0 002AE650 7F 43 D3 78 */ mr r3, r26 -/* 802B16F4 002AE654 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 802B16F8 002AE658 48 08 F7 B1 */ bl __ct__6CTokenFRC6CToken -/* 802B16FC 002AE65C 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 802B1700 002AE660 7F 43 D3 78 */ mr r3, r26 -/* 802B1704 002AE664 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1708 002AE668 48 08 F6 7D */ bl Lock__6CTokenFv -lbl_802B170C: -/* 802B170C 002AE66C 38 00 00 01 */ li r0, 1 -/* 802B1710 002AE670 98 1F 00 50 */ stb r0, 0x50(r31) -/* 802B1714 002AE674 48 00 00 1C */ b lbl_802B1730 -lbl_802B1718: -/* 802B1718 002AE678 3B 5F 00 44 */ addi r26, r31, 0x44 -/* 802B171C 002AE67C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 802B1720 002AE680 7F 43 D3 78 */ mr r3, r26 -/* 802B1724 002AE684 48 08 F5 A1 */ bl __as__6CTokenFRC6CToken -/* 802B1728 002AE688 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 802B172C 002AE68C 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1730: -/* 802B1730 002AE690 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802B1734 002AE694 38 80 00 00 */ li r4, 0 -/* 802B1738 002AE698 48 08 F7 09 */ bl __dt__6CTokenFv -/* 802B173C 002AE69C 48 00 00 C4 */ b lbl_802B1800 -lbl_802B1740: -/* 802B1740 002AE6A0 3B 5F 00 44 */ addi r26, r31, 0x44 -/* 802B1744 002AE6A4 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 802B1748 002AE6A8 7C 1A 20 40 */ cmplw r26, r4 -/* 802B174C 002AE6AC 98 61 00 C4 */ stb r3, 0xc4(r1) -/* 802B1750 002AE6B0 41 82 00 84 */ beq lbl_802B17D4 -/* 802B1754 002AE6B4 28 03 00 00 */ cmplwi r3, 0 -/* 802B1758 002AE6B8 41 82 00 50 */ beq lbl_802B17A8 -/* 802B175C 002AE6BC 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802B1760 002AE6C0 28 00 00 00 */ cmplwi r0, 0 -/* 802B1764 002AE6C4 40 82 00 30 */ bne lbl_802B1794 -/* 802B1768 002AE6C8 37 5F 00 44 */ addic. r26, r31, 0x44 -/* 802B176C 002AE6CC 41 82 00 1C */ beq lbl_802B1788 -/* 802B1770 002AE6D0 7F 43 D3 78 */ mr r3, r26 -/* 802B1774 002AE6D4 48 08 F7 35 */ bl __ct__6CTokenFRC6CToken -/* 802B1778 002AE6D8 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 802B177C 002AE6DC 7F 43 D3 78 */ mr r3, r26 -/* 802B1780 002AE6E0 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1784 002AE6E4 48 08 F6 01 */ bl Lock__6CTokenFv -lbl_802B1788: -/* 802B1788 002AE6E8 38 00 00 01 */ li r0, 1 -/* 802B178C 002AE6EC 98 1F 00 50 */ stb r0, 0x50(r31) -/* 802B1790 002AE6F0 48 00 00 44 */ b lbl_802B17D4 -lbl_802B1794: -/* 802B1794 002AE6F4 7F 43 D3 78 */ mr r3, r26 -/* 802B1798 002AE6F8 48 08 F5 2D */ bl __as__6CTokenFRC6CToken -/* 802B179C 002AE6FC 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 802B17A0 002AE700 90 1A 00 08 */ stw r0, 8(r26) -/* 802B17A4 002AE704 48 00 00 30 */ b lbl_802B17D4 -lbl_802B17A8: -/* 802B17A8 002AE708 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802B17AC 002AE70C 28 00 00 00 */ cmplwi r0, 0 -/* 802B17B0 002AE710 41 82 00 1C */ beq lbl_802B17CC -/* 802B17B4 002AE714 34 7F 00 44 */ addic. r3, r31, 0x44 -/* 802B17B8 002AE718 41 82 00 14 */ beq lbl_802B17CC -/* 802B17BC 002AE71C 28 03 00 00 */ cmplwi r3, 0 -/* 802B17C0 002AE720 41 82 00 0C */ beq lbl_802B17CC -/* 802B17C4 002AE724 38 80 00 00 */ li r4, 0 -/* 802B17C8 002AE728 48 08 F6 79 */ bl __dt__6CTokenFv -lbl_802B17CC: -/* 802B17CC 002AE72C 38 00 00 00 */ li r0, 0 -/* 802B17D0 002AE730 98 1F 00 50 */ stb r0, 0x50(r31) -lbl_802B17D4: -/* 802B17D4 002AE734 88 01 00 C4 */ lbz r0, 0xc4(r1) -/* 802B17D8 002AE738 28 00 00 00 */ cmplwi r0, 0 -/* 802B17DC 002AE73C 41 82 00 1C */ beq lbl_802B17F8 -/* 802B17E0 002AE740 34 61 00 B8 */ addic. r3, r1, 0xb8 -/* 802B17E4 002AE744 41 82 00 14 */ beq lbl_802B17F8 -/* 802B17E8 002AE748 28 03 00 00 */ cmplwi r3, 0 -/* 802B17EC 002AE74C 41 82 00 0C */ beq lbl_802B17F8 -/* 802B17F0 002AE750 38 80 00 00 */ li r4, 0 -/* 802B17F4 002AE754 48 08 F6 4D */ bl __dt__6CTokenFv -lbl_802B17F8: -/* 802B17F8 002AE758 38 00 00 00 */ li r0, 0 -/* 802B17FC 002AE75C 98 01 00 C4 */ stb r0, 0xc4(r1) -lbl_802B1800: -/* 802B1800 002AE760 88 01 01 10 */ lbz r0, 0x110(r1) -/* 802B1804 002AE764 28 00 00 00 */ cmplwi r0, 0 -/* 802B1808 002AE768 41 82 00 14 */ beq lbl_802B181C -/* 802B180C 002AE76C 34 61 01 08 */ addic. r3, r1, 0x108 -/* 802B1810 002AE770 41 82 00 0C */ beq lbl_802B181C -/* 802B1814 002AE774 38 80 00 00 */ li r4, 0 -/* 802B1818 002AE778 48 08 F6 29 */ bl __dt__6CTokenFv -lbl_802B181C: -/* 802B181C 002AE77C 80 01 01 18 */ lwz r0, 0x118(r1) -/* 802B1820 002AE780 38 80 00 00 */ li r4, 0 -/* 802B1824 002AE784 80 61 01 20 */ lwz r3, 0x120(r1) -/* 802B1828 002AE788 54 00 10 3A */ slwi r0, r0, 2 -/* 802B182C 002AE78C 98 81 01 10 */ stb r4, 0x110(r1) -/* 802B1830 002AE790 7C 03 02 14 */ add r0, r3, r0 -/* 802B1834 002AE794 7C 64 1B 78 */ mr r4, r3 -/* 802B1838 002AE798 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B183C 002AE79C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B1840 002AE7A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B1844 002AE7A4 90 61 00 08 */ stw r3, 8(r1) -/* 802B1848 002AE7A8 48 00 00 08 */ b lbl_802B1850 -lbl_802B184C: -/* 802B184C 002AE7AC 38 84 00 04 */ addi r4, r4, 4 -lbl_802B1850: -/* 802B1850 002AE7B0 7C 04 00 40 */ cmplw r4, r0 -/* 802B1854 002AE7B4 40 82 FF F8 */ bne lbl_802B184C -/* 802B1858 002AE7B8 28 03 00 00 */ cmplwi r3, 0 -/* 802B185C 002AE7BC 41 82 05 8C */ beq lbl_802B1DE8 -/* 802B1860 002AE7C0 48 06 40 D1 */ bl Free__7CMemoryFPCv -/* 802B1864 002AE7C4 48 00 05 84 */ b lbl_802B1DE8 -lbl_802B1868: -/* 802B1868 002AE7C8 7F C3 F3 78 */ mr r3, r30 -/* 802B186C 002AE7CC 48 07 6B BD */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1870 002AE7D0 98 7F 00 2B */ stb r3, 0x2b(r31) -/* 802B1874 002AE7D4 48 00 05 74 */ b lbl_802B1DE8 -lbl_802B1878: -/* 802B1878 002AE7D8 7F C3 F3 78 */ mr r3, r30 -/* 802B187C 002AE7DC 48 07 6B AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1880 002AE7E0 98 7F 00 28 */ stb r3, 0x28(r31) -/* 802B1884 002AE7E4 48 00 05 64 */ b lbl_802B1DE8 -lbl_802B1888: -/* 802B1888 002AE7E8 7F C3 F3 78 */ mr r3, r30 -/* 802B188C 002AE7EC 48 07 6B D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1890 002AE7F0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B1894 002AE7F4 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1898 002AE7F8 41 82 05 50 */ beq lbl_802B1DE8 -/* 802B189C 002AE7FC 7F C3 F3 78 */ mr r3, r30 -/* 802B18A0 002AE800 48 08 D3 E5 */ bl ReadLong__12CInputStreamFv -/* 802B18A4 002AE804 3C 80 53 57 */ lis r4, 0x53574843@ha -/* 802B18A8 002AE808 90 61 00 78 */ stw r3, 0x78(r1) -/* 802B18AC 002AE80C 38 04 48 43 */ addi r0, r4, 0x53574843@l -/* 802B18B0 002AE810 7F A4 EB 78 */ mr r4, r29 -/* 802B18B4 002AE814 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B18B8 002AE818 38 61 00 6C */ addi r3, r1, 0x6c -/* 802B18BC 002AE81C 38 A1 00 74 */ addi r5, r1, 0x74 -/* 802B18C0 002AE820 81 9D 00 00 */ lwz r12, 0(r29) -/* 802B18C4 002AE824 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B18C8 002AE828 7D 89 03 A6 */ mtctr r12 -/* 802B18CC 002AE82C 4E 80 04 21 */ bctrl -/* 802B18D0 002AE830 3B 41 00 AC */ addi r26, r1, 0xac -/* 802B18D4 002AE834 38 81 00 6C */ addi r4, r1, 0x6c -/* 802B18D8 002AE838 7F 43 D3 78 */ mr r3, r26 -/* 802B18DC 002AE83C 48 08 F5 CD */ bl __ct__6CTokenFRC6CToken -/* 802B18E0 002AE840 7F 43 D3 78 */ mr r3, r26 -/* 802B18E4 002AE844 48 08 F5 29 */ bl GetObj__6CTokenFv -/* 802B18E8 002AE848 80 03 00 04 */ lwz r0, 4(r3) -/* 802B18EC 002AE84C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802B18F0 002AE850 88 1F 00 60 */ lbz r0, 0x60(r31) -/* 802B18F4 002AE854 28 00 00 00 */ cmplwi r0, 0 -/* 802B18F8 002AE858 40 82 00 34 */ bne lbl_802B192C -/* 802B18FC 002AE85C 37 5F 00 54 */ addic. r26, r31, 0x54 -/* 802B1900 002AE860 41 82 00 20 */ beq lbl_802B1920 -/* 802B1904 002AE864 7F 43 D3 78 */ mr r3, r26 -/* 802B1908 002AE868 38 81 00 AC */ addi r4, r1, 0xac -/* 802B190C 002AE86C 48 08 F5 9D */ bl __ct__6CTokenFRC6CToken -/* 802B1910 002AE870 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802B1914 002AE874 7F 43 D3 78 */ mr r3, r26 -/* 802B1918 002AE878 90 1A 00 08 */ stw r0, 8(r26) -/* 802B191C 002AE87C 48 08 F4 69 */ bl Lock__6CTokenFv -lbl_802B1920: -/* 802B1920 002AE880 38 00 00 01 */ li r0, 1 -/* 802B1924 002AE884 98 1F 00 60 */ stb r0, 0x60(r31) -/* 802B1928 002AE888 48 00 00 1C */ b lbl_802B1944 -lbl_802B192C: -/* 802B192C 002AE88C 3B 5F 00 54 */ addi r26, r31, 0x54 -/* 802B1930 002AE890 38 81 00 AC */ addi r4, r1, 0xac -/* 802B1934 002AE894 7F 43 D3 78 */ mr r3, r26 -/* 802B1938 002AE898 48 08 F3 8D */ bl __as__6CTokenFRC6CToken -/* 802B193C 002AE89C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802B1940 002AE8A0 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1944: -/* 802B1944 002AE8A4 38 61 00 AC */ addi r3, r1, 0xac -/* 802B1948 002AE8A8 38 80 00 00 */ li r4, 0 -/* 802B194C 002AE8AC 48 08 F4 F5 */ bl __dt__6CTokenFv -/* 802B1950 002AE8B0 38 61 00 6C */ addi r3, r1, 0x6c -/* 802B1954 002AE8B4 38 80 FF FF */ li r4, -1 -/* 802B1958 002AE8B8 48 08 F4 E9 */ bl __dt__6CTokenFv -/* 802B195C 002AE8BC 48 00 04 8C */ b lbl_802B1DE8 -lbl_802B1960: -/* 802B1960 002AE8C0 7F C3 F3 78 */ mr r3, r30 -/* 802B1964 002AE8C4 48 07 6A C5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1968 002AE8C8 98 7F 00 2C */ stb r3, 0x2c(r31) -/* 802B196C 002AE8CC 48 00 04 7C */ b lbl_802B1DE8 -lbl_802B1970: -/* 802B1970 002AE8D0 7F C3 F3 78 */ mr r3, r30 -/* 802B1974 002AE8D4 48 07 6A E9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1978 002AE8D8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B197C 002AE8DC 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1980 002AE8E0 41 82 04 68 */ beq lbl_802B1DE8 -/* 802B1984 002AE8E4 7F C3 F3 78 */ mr r3, r30 -/* 802B1988 002AE8E8 48 08 D2 FD */ bl ReadLong__12CInputStreamFv -/* 802B198C 002AE8EC 3C 80 53 57 */ lis r4, 0x53574843@ha -/* 802B1990 002AE8F0 90 61 00 68 */ stw r3, 0x68(r1) -/* 802B1994 002AE8F4 38 04 48 43 */ addi r0, r4, 0x53574843@l -/* 802B1998 002AE8F8 7F A4 EB 78 */ mr r4, r29 -/* 802B199C 002AE8FC 90 01 00 64 */ stw r0, 0x64(r1) -/* 802B19A0 002AE900 38 61 00 5C */ addi r3, r1, 0x5c -/* 802B19A4 002AE904 38 A1 00 64 */ addi r5, r1, 0x64 -/* 802B19A8 002AE908 81 9D 00 00 */ lwz r12, 0(r29) -/* 802B19AC 002AE90C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B19B0 002AE910 7D 89 03 A6 */ mtctr r12 -/* 802B19B4 002AE914 4E 80 04 21 */ bctrl -/* 802B19B8 002AE918 3B 41 00 A0 */ addi r26, r1, 0xa0 -/* 802B19BC 002AE91C 38 81 00 5C */ addi r4, r1, 0x5c -/* 802B19C0 002AE920 7F 43 D3 78 */ mr r3, r26 -/* 802B19C4 002AE924 48 08 F4 E5 */ bl __ct__6CTokenFRC6CToken -/* 802B19C8 002AE928 7F 43 D3 78 */ mr r3, r26 -/* 802B19CC 002AE92C 48 08 F4 41 */ bl GetObj__6CTokenFv -/* 802B19D0 002AE930 80 03 00 04 */ lwz r0, 4(r3) -/* 802B19D4 002AE934 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 802B19D8 002AE938 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 802B19DC 002AE93C 28 00 00 00 */ cmplwi r0, 0 -/* 802B19E0 002AE940 40 82 00 34 */ bne lbl_802B1A14 -/* 802B19E4 002AE944 37 5F 00 64 */ addic. r26, r31, 0x64 -/* 802B19E8 002AE948 41 82 00 20 */ beq lbl_802B1A08 -/* 802B19EC 002AE94C 7F 43 D3 78 */ mr r3, r26 -/* 802B19F0 002AE950 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802B19F4 002AE954 48 08 F4 B5 */ bl __ct__6CTokenFRC6CToken -/* 802B19F8 002AE958 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 802B19FC 002AE95C 7F 43 D3 78 */ mr r3, r26 -/* 802B1A00 002AE960 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1A04 002AE964 48 08 F3 81 */ bl Lock__6CTokenFv -lbl_802B1A08: -/* 802B1A08 002AE968 38 00 00 01 */ li r0, 1 -/* 802B1A0C 002AE96C 98 1F 00 70 */ stb r0, 0x70(r31) -/* 802B1A10 002AE970 48 00 00 1C */ b lbl_802B1A2C -lbl_802B1A14: -/* 802B1A14 002AE974 3B 5F 00 64 */ addi r26, r31, 0x64 -/* 802B1A18 002AE978 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 802B1A1C 002AE97C 7F 43 D3 78 */ mr r3, r26 -/* 802B1A20 002AE980 48 08 F2 A5 */ bl __as__6CTokenFRC6CToken -/* 802B1A24 002AE984 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 802B1A28 002AE988 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1A2C: -/* 802B1A2C 002AE98C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802B1A30 002AE990 38 80 00 00 */ li r4, 0 -/* 802B1A34 002AE994 48 08 F4 0D */ bl __dt__6CTokenFv -/* 802B1A38 002AE998 38 61 00 5C */ addi r3, r1, 0x5c -/* 802B1A3C 002AE99C 38 80 FF FF */ li r4, -1 -/* 802B1A40 002AE9A0 48 08 F4 01 */ bl __dt__6CTokenFv -/* 802B1A44 002AE9A4 48 00 03 A4 */ b lbl_802B1DE8 -lbl_802B1A48: -/* 802B1A48 002AE9A8 7F C3 F3 78 */ mr r3, r30 -/* 802B1A4C 002AE9AC 48 07 69 DD */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1A50 002AE9B0 98 7F 00 2D */ stb r3, 0x2d(r31) -/* 802B1A54 002AE9B4 48 00 03 94 */ b lbl_802B1DE8 -lbl_802B1A58: -/* 802B1A58 002AE9B8 7F C3 F3 78 */ mr r3, r30 -/* 802B1A5C 002AE9BC 48 07 6A 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1A60 002AE9C0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B1A64 002AE9C4 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1A68 002AE9C8 41 82 03 80 */ beq lbl_802B1DE8 -/* 802B1A6C 002AE9CC 7F C3 F3 78 */ mr r3, r30 -/* 802B1A70 002AE9D0 48 08 D2 15 */ bl ReadLong__12CInputStreamFv -/* 802B1A74 002AE9D4 3C 80 53 57 */ lis r4, 0x53574843@ha -/* 802B1A78 002AE9D8 90 61 00 58 */ stw r3, 0x58(r1) -/* 802B1A7C 002AE9DC 38 04 48 43 */ addi r0, r4, 0x53574843@l -/* 802B1A80 002AE9E0 7F A4 EB 78 */ mr r4, r29 -/* 802B1A84 002AE9E4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802B1A88 002AE9E8 38 61 00 4C */ addi r3, r1, 0x4c -/* 802B1A8C 002AE9EC 38 A1 00 54 */ addi r5, r1, 0x54 -/* 802B1A90 002AE9F0 81 9D 00 00 */ lwz r12, 0(r29) -/* 802B1A94 002AE9F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B1A98 002AE9F8 7D 89 03 A6 */ mtctr r12 -/* 802B1A9C 002AE9FC 4E 80 04 21 */ bctrl -/* 802B1AA0 002AEA00 3B 41 00 94 */ addi r26, r1, 0x94 -/* 802B1AA4 002AEA04 38 81 00 4C */ addi r4, r1, 0x4c -/* 802B1AA8 002AEA08 7F 43 D3 78 */ mr r3, r26 -/* 802B1AAC 002AEA0C 48 08 F3 FD */ bl __ct__6CTokenFRC6CToken -/* 802B1AB0 002AEA10 7F 43 D3 78 */ mr r3, r26 -/* 802B1AB4 002AEA14 48 08 F3 59 */ bl GetObj__6CTokenFv -/* 802B1AB8 002AEA18 80 03 00 04 */ lwz r0, 4(r3) -/* 802B1ABC 002AEA1C 90 01 00 9C */ stw r0, 0x9c(r1) -/* 802B1AC0 002AEA20 88 1F 00 80 */ lbz r0, 0x80(r31) -/* 802B1AC4 002AEA24 28 00 00 00 */ cmplwi r0, 0 -/* 802B1AC8 002AEA28 40 82 00 34 */ bne lbl_802B1AFC -/* 802B1ACC 002AEA2C 37 5F 00 74 */ addic. r26, r31, 0x74 -/* 802B1AD0 002AEA30 41 82 00 20 */ beq lbl_802B1AF0 -/* 802B1AD4 002AEA34 7F 43 D3 78 */ mr r3, r26 -/* 802B1AD8 002AEA38 38 81 00 94 */ addi r4, r1, 0x94 -/* 802B1ADC 002AEA3C 48 08 F3 CD */ bl __ct__6CTokenFRC6CToken -/* 802B1AE0 002AEA40 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802B1AE4 002AEA44 7F 43 D3 78 */ mr r3, r26 -/* 802B1AE8 002AEA48 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1AEC 002AEA4C 48 08 F2 99 */ bl Lock__6CTokenFv -lbl_802B1AF0: -/* 802B1AF0 002AEA50 38 00 00 01 */ li r0, 1 -/* 802B1AF4 002AEA54 98 1F 00 80 */ stb r0, 0x80(r31) -/* 802B1AF8 002AEA58 48 00 00 1C */ b lbl_802B1B14 -lbl_802B1AFC: -/* 802B1AFC 002AEA5C 3B 5F 00 74 */ addi r26, r31, 0x74 -/* 802B1B00 002AEA60 38 81 00 94 */ addi r4, r1, 0x94 -/* 802B1B04 002AEA64 7F 43 D3 78 */ mr r3, r26 -/* 802B1B08 002AEA68 48 08 F1 BD */ bl __as__6CTokenFRC6CToken -/* 802B1B0C 002AEA6C 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802B1B10 002AEA70 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1B14: -/* 802B1B14 002AEA74 38 61 00 94 */ addi r3, r1, 0x94 -/* 802B1B18 002AEA78 38 80 00 00 */ li r4, 0 -/* 802B1B1C 002AEA7C 48 08 F3 25 */ bl __dt__6CTokenFv -/* 802B1B20 002AEA80 38 61 00 4C */ addi r3, r1, 0x4c -/* 802B1B24 002AEA84 38 80 FF FF */ li r4, -1 -/* 802B1B28 002AEA88 48 08 F3 19 */ bl __dt__6CTokenFv -/* 802B1B2C 002AEA8C 48 00 02 BC */ b lbl_802B1DE8 -lbl_802B1B30: -/* 802B1B30 002AEA90 7F C3 F3 78 */ mr r3, r30 -/* 802B1B34 002AEA94 48 07 68 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1B38 002AEA98 98 7F 00 2E */ stb r3, 0x2e(r31) -/* 802B1B3C 002AEA9C 48 00 02 AC */ b lbl_802B1DE8 -lbl_802B1B40: -/* 802B1B40 002AEAA0 7F C3 F3 78 */ mr r3, r30 -/* 802B1B44 002AEAA4 48 07 69 19 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1B48 002AEAA8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B1B4C 002AEAAC 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1B50 002AEAB0 41 82 02 98 */ beq lbl_802B1DE8 -/* 802B1B54 002AEAB4 7F C3 F3 78 */ mr r3, r30 -/* 802B1B58 002AEAB8 48 08 D1 2D */ bl ReadLong__12CInputStreamFv -/* 802B1B5C 002AEABC 3C 80 43 4D */ lis r4, 0x434D444C@ha -/* 802B1B60 002AEAC0 90 61 00 48 */ stw r3, 0x48(r1) -/* 802B1B64 002AEAC4 38 04 44 4C */ addi r0, r4, 0x434D444C@l -/* 802B1B68 002AEAC8 7F A4 EB 78 */ mr r4, r29 -/* 802B1B6C 002AEACC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B1B70 002AEAD0 38 61 00 3C */ addi r3, r1, 0x3c -/* 802B1B74 002AEAD4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 802B1B78 002AEAD8 81 9D 00 00 */ lwz r12, 0(r29) -/* 802B1B7C 002AEADC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B1B80 002AEAE0 7D 89 03 A6 */ mtctr r12 -/* 802B1B84 002AEAE4 4E 80 04 21 */ bctrl -/* 802B1B88 002AEAE8 3B 41 00 88 */ addi r26, r1, 0x88 -/* 802B1B8C 002AEAEC 38 81 00 3C */ addi r4, r1, 0x3c -/* 802B1B90 002AEAF0 7F 43 D3 78 */ mr r3, r26 -/* 802B1B94 002AEAF4 48 08 F3 15 */ bl __ct__6CTokenFRC6CToken -/* 802B1B98 002AEAF8 7F 43 D3 78 */ mr r3, r26 -/* 802B1B9C 002AEAFC 48 08 F2 71 */ bl GetObj__6CTokenFv -/* 802B1BA0 002AEB00 80 03 00 04 */ lwz r0, 4(r3) -/* 802B1BA4 002AEB04 90 01 00 90 */ stw r0, 0x90(r1) -/* 802B1BA8 002AEB08 88 1F 00 90 */ lbz r0, 0x90(r31) -/* 802B1BAC 002AEB0C 28 00 00 00 */ cmplwi r0, 0 -/* 802B1BB0 002AEB10 40 82 00 34 */ bne lbl_802B1BE4 -/* 802B1BB4 002AEB14 37 5F 00 84 */ addic. r26, r31, 0x84 -/* 802B1BB8 002AEB18 41 82 00 20 */ beq lbl_802B1BD8 -/* 802B1BBC 002AEB1C 7F 43 D3 78 */ mr r3, r26 -/* 802B1BC0 002AEB20 38 81 00 88 */ addi r4, r1, 0x88 -/* 802B1BC4 002AEB24 48 08 F2 E5 */ bl __ct__6CTokenFRC6CToken -/* 802B1BC8 002AEB28 80 01 00 90 */ lwz r0, 0x90(r1) -/* 802B1BCC 002AEB2C 7F 43 D3 78 */ mr r3, r26 -/* 802B1BD0 002AEB30 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1BD4 002AEB34 48 08 F1 B1 */ bl Lock__6CTokenFv -lbl_802B1BD8: -/* 802B1BD8 002AEB38 38 00 00 01 */ li r0, 1 -/* 802B1BDC 002AEB3C 98 1F 00 90 */ stb r0, 0x90(r31) -/* 802B1BE0 002AEB40 48 00 00 1C */ b lbl_802B1BFC -lbl_802B1BE4: -/* 802B1BE4 002AEB44 3B 5F 00 84 */ addi r26, r31, 0x84 -/* 802B1BE8 002AEB48 38 81 00 88 */ addi r4, r1, 0x88 -/* 802B1BEC 002AEB4C 7F 43 D3 78 */ mr r3, r26 -/* 802B1BF0 002AEB50 48 08 F0 D5 */ bl __as__6CTokenFRC6CToken -/* 802B1BF4 002AEB54 80 01 00 90 */ lwz r0, 0x90(r1) -/* 802B1BF8 002AEB58 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1BFC: -/* 802B1BFC 002AEB5C 38 61 00 88 */ addi r3, r1, 0x88 -/* 802B1C00 002AEB60 38 80 00 00 */ li r4, 0 -/* 802B1C04 002AEB64 48 08 F2 3D */ bl __dt__6CTokenFv -/* 802B1C08 002AEB68 38 61 00 3C */ addi r3, r1, 0x3c -/* 802B1C0C 002AEB6C 38 80 FF FF */ li r4, -1 -/* 802B1C10 002AEB70 48 08 F2 31 */ bl __dt__6CTokenFv -/* 802B1C14 002AEB74 48 00 01 D4 */ b lbl_802B1DE8 -lbl_802B1C18: -/* 802B1C18 002AEB78 7F C3 F3 78 */ mr r3, r30 -/* 802B1C1C 002AEB7C 48 07 46 39 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B1C20 002AEB80 90 7F 00 18 */ stw r3, 0x18(r31) -/* 802B1C24 002AEB84 48 00 01 C4 */ b lbl_802B1DE8 -lbl_802B1C28: -/* 802B1C28 002AEB88 7F C3 F3 78 */ mr r3, r30 -/* 802B1C2C 002AEB8C 48 07 36 31 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 802B1C30 002AEB90 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 802B1C34 002AEB94 48 00 01 B4 */ b lbl_802B1DE8 -lbl_802B1C38: -/* 802B1C38 002AEB98 7F C3 F3 78 */ mr r3, r30 -/* 802B1C3C 002AEB9C 48 07 68 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1C40 002AEBA0 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B1C44 002AEBA4 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1C48 002AEBA8 41 82 01 A0 */ beq lbl_802B1DE8 -/* 802B1C4C 002AEBAC 7F C3 F3 78 */ mr r3, r30 -/* 802B1C50 002AEBB0 48 08 D0 35 */ bl ReadLong__12CInputStreamFv -/* 802B1C54 002AEBB4 3C 80 43 52 */ lis r4, 0x43525343@ha -/* 802B1C58 002AEBB8 90 61 00 38 */ stw r3, 0x38(r1) -/* 802B1C5C 002AEBBC 38 04 53 43 */ addi r0, r4, 0x43525343@l -/* 802B1C60 002AEBC0 7F A4 EB 78 */ mr r4, r29 -/* 802B1C64 002AEBC4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B1C68 002AEBC8 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B1C6C 002AEBCC 38 A1 00 34 */ addi r5, r1, 0x34 -/* 802B1C70 002AEBD0 81 9D 00 00 */ lwz r12, 0(r29) -/* 802B1C74 002AEBD4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B1C78 002AEBD8 7D 89 03 A6 */ mtctr r12 -/* 802B1C7C 002AEBDC 4E 80 04 21 */ bctrl -/* 802B1C80 002AEBE0 3B 41 00 7C */ addi r26, r1, 0x7c -/* 802B1C84 002AEBE4 38 81 00 2C */ addi r4, r1, 0x2c -/* 802B1C88 002AEBE8 7F 43 D3 78 */ mr r3, r26 -/* 802B1C8C 002AEBEC 48 08 F2 1D */ bl __ct__6CTokenFRC6CToken -/* 802B1C90 002AEBF0 7F 43 D3 78 */ mr r3, r26 -/* 802B1C94 002AEBF4 48 08 F1 79 */ bl GetObj__6CTokenFv -/* 802B1C98 002AEBF8 80 03 00 04 */ lwz r0, 4(r3) -/* 802B1C9C 002AEBFC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802B1CA0 002AEC00 88 1F 00 A0 */ lbz r0, 0xa0(r31) -/* 802B1CA4 002AEC04 28 00 00 00 */ cmplwi r0, 0 -/* 802B1CA8 002AEC08 40 82 00 34 */ bne lbl_802B1CDC -/* 802B1CAC 002AEC0C 37 5F 00 94 */ addic. r26, r31, 0x94 -/* 802B1CB0 002AEC10 41 82 00 20 */ beq lbl_802B1CD0 -/* 802B1CB4 002AEC14 7F 43 D3 78 */ mr r3, r26 -/* 802B1CB8 002AEC18 38 81 00 7C */ addi r4, r1, 0x7c -/* 802B1CBC 002AEC1C 48 08 F1 ED */ bl __ct__6CTokenFRC6CToken -/* 802B1CC0 002AEC20 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802B1CC4 002AEC24 7F 43 D3 78 */ mr r3, r26 -/* 802B1CC8 002AEC28 90 1A 00 08 */ stw r0, 8(r26) -/* 802B1CCC 002AEC2C 48 08 F0 B9 */ bl Lock__6CTokenFv -lbl_802B1CD0: -/* 802B1CD0 002AEC30 38 00 00 01 */ li r0, 1 -/* 802B1CD4 002AEC34 98 1F 00 A0 */ stb r0, 0xa0(r31) -/* 802B1CD8 002AEC38 48 00 00 1C */ b lbl_802B1CF4 -lbl_802B1CDC: -/* 802B1CDC 002AEC3C 3B 5F 00 94 */ addi r26, r31, 0x94 -/* 802B1CE0 002AEC40 38 81 00 7C */ addi r4, r1, 0x7c -/* 802B1CE4 002AEC44 7F 43 D3 78 */ mr r3, r26 -/* 802B1CE8 002AEC48 48 08 EF DD */ bl __as__6CTokenFRC6CToken -/* 802B1CEC 002AEC4C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802B1CF0 002AEC50 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B1CF4: -/* 802B1CF4 002AEC54 38 61 00 7C */ addi r3, r1, 0x7c -/* 802B1CF8 002AEC58 38 80 00 00 */ li r4, 0 -/* 802B1CFC 002AEC5C 48 08 F1 45 */ bl __dt__6CTokenFv -/* 802B1D00 002AEC60 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B1D04 002AEC64 38 80 FF FF */ li r4, -1 -/* 802B1D08 002AEC68 48 08 F1 39 */ bl __dt__6CTokenFv -/* 802B1D0C 002AEC6C 48 00 00 DC */ b lbl_802B1DE8 -lbl_802B1D10: -/* 802B1D10 002AEC70 7F C3 F3 78 */ mr r3, r30 -/* 802B1D14 002AEC74 48 07 45 41 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B1D18 002AEC78 90 7F 00 20 */ stw r3, 0x20(r31) -/* 802B1D1C 002AEC7C 48 00 00 CC */ b lbl_802B1DE8 -lbl_802B1D20: -/* 802B1D20 002AEC80 7F C3 F3 78 */ mr r3, r30 -/* 802B1D24 002AEC84 48 07 45 31 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B1D28 002AEC88 90 7F 00 24 */ stw r3, 0x24(r31) -/* 802B1D2C 002AEC8C 48 00 00 BC */ b lbl_802B1DE8 -lbl_802B1D30: -/* 802B1D30 002AEC90 7F C3 F3 78 */ mr r3, r30 -/* 802B1D34 002AEC94 48 07 66 F5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1D38 002AEC98 98 7F 00 29 */ stb r3, 0x29(r31) -/* 802B1D3C 002AEC9C 48 00 00 AC */ b lbl_802B1DE8 -lbl_802B1D40: -/* 802B1D40 002AECA0 7F C3 F3 78 */ mr r3, r30 -/* 802B1D44 002AECA4 48 07 4F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 802B1D48 002AECA8 90 7F 00 30 */ stw r3, 0x30(r31) -/* 802B1D4C 002AECAC 48 00 00 9C */ b lbl_802B1DE8 -lbl_802B1D50: -/* 802B1D50 002AECB0 7F C3 F3 78 */ mr r3, r30 -/* 802B1D54 002AECB4 48 07 67 09 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1D58 002AECB8 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B1D5C 002AECBC 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B1D60 002AECC0 41 82 00 88 */ beq lbl_802B1DE8 -/* 802B1D64 002AECC4 7F C3 F3 78 */ mr r3, r30 -/* 802B1D68 002AECC8 48 08 CF 1D */ bl ReadLong__12CInputStreamFv -/* 802B1D6C 002AECCC 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 802B1D70 002AECD0 48 00 00 78 */ b lbl_802B1DE8 -lbl_802B1D74: -/* 802B1D74 002AECD4 7F C3 F3 78 */ mr r3, r30 -/* 802B1D78 002AECD8 48 07 4F 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 802B1D7C 002AECDC 90 7F 00 AC */ stw r3, 0xac(r31) -/* 802B1D80 002AECE0 48 00 00 68 */ b lbl_802B1DE8 -lbl_802B1D84: -/* 802B1D84 002AECE4 7F C3 F3 78 */ mr r3, r30 -/* 802B1D88 002AECE8 48 07 4F 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 802B1D8C 002AECEC 90 7F 00 B0 */ stw r3, 0xb0(r31) -/* 802B1D90 002AECF0 48 00 00 58 */ b lbl_802B1DE8 -lbl_802B1D94: -/* 802B1D94 002AECF4 7F C3 F3 78 */ mr r3, r30 -/* 802B1D98 002AECF8 48 07 66 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1D9C 002AECFC 98 7F 00 A4 */ stb r3, 0xa4(r31) -/* 802B1DA0 002AED00 48 00 00 48 */ b lbl_802B1DE8 -lbl_802B1DA4: -/* 802B1DA4 002AED04 7F C3 F3 78 */ mr r3, r30 -/* 802B1DA8 002AED08 48 07 66 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1DAC 002AED0C 98 7F 00 A5 */ stb r3, 0xa5(r31) -/* 802B1DB0 002AED10 48 00 00 38 */ b lbl_802B1DE8 -lbl_802B1DB4: -/* 802B1DB4 002AED14 7F C3 F3 78 */ mr r3, r30 -/* 802B1DB8 002AED18 48 07 66 71 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B1DBC 002AED1C 98 7F 00 A6 */ stb r3, 0xa6(r31) -/* 802B1DC0 002AED20 48 00 00 28 */ b lbl_802B1DE8 -lbl_802B1DC4: -/* 802B1DC4 002AED24 3B 80 00 01 */ li r28, 1 -/* 802B1DC8 002AED28 48 00 00 20 */ b lbl_802B1DE8 -lbl_802B1DCC: -/* 802B1DCC 002AED2C 38 61 01 40 */ addi r3, r1, 0x140 -/* 802B1DD0 002AED30 38 80 FF FF */ li r4, -1 -/* 802B1DD4 002AED34 48 06 08 31 */ bl __dt__13CGlobalRandomFv -/* 802B1DD8 002AED38 38 60 00 00 */ li r3, 0 -/* 802B1DDC 002AED3C 48 00 00 24 */ b lbl_802B1E00 -lbl_802B1DE0: -/* 802B1DE0 002AED40 3C 60 4C 57 */ lis r3, 0x4C575452@ha -/* 802B1DE4 002AED44 3B 63 54 52 */ addi r27, r3, 0x4C575452@l -lbl_802B1DE8: -/* 802B1DE8 002AED48 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802B1DEC 002AED4C 41 82 F3 94 */ beq lbl_802B1180 -/* 802B1DF0 002AED50 38 61 01 40 */ addi r3, r1, 0x140 -/* 802B1DF4 002AED54 38 80 FF FF */ li r4, -1 -/* 802B1DF8 002AED58 48 06 08 0D */ bl __dt__13CGlobalRandomFv -/* 802B1DFC 002AED5C 38 60 00 01 */ li r3, 1 -lbl_802B1E00: -/* 802B1E00 002AED60 BB 41 01 58 */ lmw r26, 0x158(r1) -/* 802B1E04 002AED64 80 01 01 74 */ lwz r0, 0x174(r1) -/* 802B1E08 002AED68 7C 08 03 A6 */ mtlr r0 -/* 802B1E0C 002AED6C 38 21 01 70 */ addi r1, r1, 0x170 -/* 802B1E10 002AED70 4E 80 00 20 */ blr - -.global CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool -CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: -/* 802B1E14 002AED74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B1E18 002AED78 7C 08 02 A6 */ mflr r0 -/* 802B1E1C 002AED7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B1E20 002AED80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B1E24 002AED84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B1E28 002AED88 7C 9E 23 78 */ mr r30, r4 -/* 802B1E2C 002AED8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B1E30 002AED90 7C 7D 1B 78 */ mr r29, r3 -/* 802B1E34 002AED94 48 07 66 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B1E38 002AED98 3C 03 A8 B0 */ addis r0, r3, 0xa8b0 -/* 802B1E3C 002AED9C 28 00 53 4D */ cmplwi r0, 0x534d -/* 802B1E40 002AEDA0 41 82 00 0C */ beq lbl_802B1E4C -/* 802B1E44 002AEDA4 38 60 00 00 */ li r3, 0 -/* 802B1E48 002AEDA8 48 00 00 3C */ b lbl_802B1E84 -lbl_802B1E4C: -/* 802B1E4C 002AEDAC 3C 80 80 3D */ lis r4, lbl_803D6190@ha -/* 802B1E50 002AEDB0 38 60 00 B4 */ li r3, 0xb4 -/* 802B1E54 002AEDB4 38 84 61 90 */ addi r4, r4, lbl_803D6190@l -/* 802B1E58 002AEDB8 38 A0 00 00 */ li r5, 0 -/* 802B1E5C 002AEDBC 48 06 3A 11 */ bl __nw__FUlPCcPCc -/* 802B1E60 002AEDC0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B1E64 002AEDC4 41 82 00 0C */ beq lbl_802B1E70 -/* 802B1E68 002AEDC8 48 00 3D D1 */ bl __ct__18CWeaponDescriptionFv -/* 802B1E6C 002AEDCC 7C 7F 1B 78 */ mr r31, r3 -lbl_802B1E70: -/* 802B1E70 002AEDD0 7F E3 FB 78 */ mr r3, r31 -/* 802B1E74 002AEDD4 7F A4 EB 78 */ mr r4, r29 -/* 802B1E78 002AEDD8 7F C5 F3 78 */ mr r5, r30 -/* 802B1E7C 002AEDDC 4B FF F2 C9 */ bl CreateWPSM__28CProjectileWeaponDataFactoryFP18CWeaponDescriptionR12CInputStreamP11CSimplePool -/* 802B1E80 002AEDE0 7F E3 FB 78 */ mr r3, r31 -lbl_802B1E84: -/* 802B1E84 002AEDE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B1E88 002AEDE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B1E8C 002AEDEC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B1E90 002AEDF0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B1E94 002AEDF4 7C 08 03 A6 */ mtlr r0 -/* 802B1E98 002AEDF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B1E9C 002AEDFC 4E 80 00 20 */ blr - -.global GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool -GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool: -/* 802B1EA0 002AEE00 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B1EA4 002AEE04 7C 08 02 A6 */ mflr r0 -/* 802B1EA8 002AEE08 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B1EAC 002AEE0C 38 00 00 00 */ li r0, 0 -/* 802B1EB0 002AEE10 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B1EB4 002AEE14 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802B1EB8 002AEE18 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B1EBC 002AEE1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B1EC0 002AEE20 4B FF FF 55 */ bl CreateGeneratorDescription__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool -/* 802B1EC4 002AEE24 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802B1EC8 002AEE28 7C 7F 1B 78 */ mr r31, r3 -/* 802B1ECC 002AEE2C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802B1ED0 002AEE30 54 00 10 3A */ slwi r0, r0, 2 -/* 802B1ED4 002AEE34 7C 04 02 14 */ add r0, r4, r0 -/* 802B1ED8 002AEE38 90 81 00 0C */ stw r4, 0xc(r1) -/* 802B1EDC 002AEE3C 7C 83 23 78 */ mr r3, r4 -/* 802B1EE0 002AEE40 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B1EE4 002AEE44 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B1EE8 002AEE48 90 81 00 08 */ stw r4, 8(r1) -/* 802B1EEC 002AEE4C 48 00 00 08 */ b lbl_802B1EF4 -lbl_802B1EF0: -/* 802B1EF0 002AEE50 38 63 00 04 */ addi r3, r3, 4 -lbl_802B1EF4: -/* 802B1EF4 002AEE54 7C 03 00 40 */ cmplw r3, r0 -/* 802B1EF8 002AEE58 40 82 FF F8 */ bne lbl_802B1EF0 -/* 802B1EFC 002AEE5C 28 04 00 00 */ cmplwi r4, 0 -/* 802B1F00 002AEE60 41 82 00 0C */ beq lbl_802B1F0C -/* 802B1F04 002AEE64 7C 83 23 78 */ mr r3, r4 -/* 802B1F08 002AEE68 48 06 3A 29 */ bl Free__7CMemoryFPCv -lbl_802B1F0C: -/* 802B1F0C 002AEE6C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B1F10 002AEE70 7F E3 FB 78 */ mr r3, r31 -/* 802B1F14 002AEE74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B1F18 002AEE78 7C 08 03 A6 */ mtlr r0 -/* 802B1F1C 002AEE7C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B1F20 002AEE80 4E 80 00 20 */ blr - -.global "__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv" -"__dt__46TObjOwnerDerivedFromIObj<18CWeaponDescription>Fv": -/* 802B1F24 002AEE84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B1F28 002AEE88 7C 08 02 A6 */ mflr r0 -/* 802B1F2C 002AEE8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B1F30 002AEE90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B1F34 002AEE94 7C 9F 23 78 */ mr r31, r4 -/* 802B1F38 002AEE98 93 C1 00 08 */ stw r30, 8(r1) -/* 802B1F3C 002AEE9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802B1F40 002AEEA0 41 82 00 58 */ beq lbl_802B1F98 -/* 802B1F44 002AEEA4 3C 60 80 3F */ lis r3, lbl_803EC508@ha -/* 802B1F48 002AEEA8 38 03 C5 08 */ addi r0, r3, lbl_803EC508@l -/* 802B1F4C 002AEEAC 90 1E 00 00 */ stw r0, 0(r30) -/* 802B1F50 002AEEB0 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B1F54 002AEEB4 28 03 00 00 */ cmplwi r3, 0 -/* 802B1F58 002AEEB8 41 82 00 0C */ beq lbl_802B1F64 -/* 802B1F5C 002AEEBC 38 80 00 01 */ li r4, 1 -/* 802B1F60 002AEEC0 48 00 39 41 */ bl __dt__18CWeaponDescriptionFv -lbl_802B1F64: -/* 802B1F64 002AEEC4 28 1E 00 00 */ cmplwi r30, 0 -/* 802B1F68 002AEEC8 41 82 00 20 */ beq lbl_802B1F88 -/* 802B1F6C 002AEECC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802B1F70 002AEED0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802B1F74 002AEED4 90 1E 00 00 */ stw r0, 0(r30) -/* 802B1F78 002AEED8 41 82 00 10 */ beq lbl_802B1F88 -/* 802B1F7C 002AEEDC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802B1F80 002AEEE0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802B1F84 002AEEE4 90 1E 00 00 */ stw r0, 0(r30) -lbl_802B1F88: -/* 802B1F88 002AEEE8 7F E0 07 35 */ extsh. r0, r31 -/* 802B1F8C 002AEEEC 40 81 00 0C */ ble lbl_802B1F98 -/* 802B1F90 002AEEF0 7F C3 F3 78 */ mr r3, r30 -/* 802B1F94 002AEEF4 48 06 39 9D */ bl Free__7CMemoryFPCv -lbl_802B1F98: -/* 802B1F98 002AEEF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B1F9C 002AEEFC 7F C3 F3 78 */ mr r3, r30 -/* 802B1FA0 002AEF00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B1FA4 002AEF04 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B1FA8 002AEF08 7C 08 03 A6 */ mtlr r0 -/* 802B1FAC 002AEF0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B1FB0 002AEF10 4E 80 00 20 */ blr - -.global FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FProjectileWeaponDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802B1FB4 002AEF14 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B1FB8 002AEF18 7C 08 02 A6 */ mflr r0 -/* 802B1FBC 002AEF1C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B1FC0 002AEF20 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B1FC4 002AEF24 7C 7F 1B 78 */ mr r31, r3 -/* 802B1FC8 002AEF28 7C A3 2B 78 */ mr r3, r5 -/* 802B1FCC 002AEF2C 80 C6 00 00 */ lwz r6, 0(r6) -/* 802B1FD0 002AEF30 90 C1 00 08 */ stw r6, 8(r1) -/* 802B1FD4 002AEF34 80 86 00 04 */ lwz r4, 4(r6) -/* 802B1FD8 002AEF38 38 04 00 01 */ addi r0, r4, 1 -/* 802B1FDC 002AEF3C 90 06 00 04 */ stw r0, 4(r6) -/* 802B1FE0 002AEF40 80 81 00 08 */ lwz r4, 8(r1) -/* 802B1FE4 002AEF44 80 84 00 00 */ lwz r4, 0(r4) -/* 802B1FE8 002AEF48 80 84 00 04 */ lwz r4, 4(r4) -/* 802B1FEC 002AEF4C 4B FF FE B5 */ bl GetGeneratorDesc__28CProjectileWeaponDataFactoryFR12CInputStreamP11CSimplePool -/* 802B1FF0 002AEF50 7C 03 00 D0 */ neg r0, r3 -/* 802B1FF4 002AEF54 90 61 00 10 */ stw r3, 0x10(r1) -/* 802B1FF8 002AEF58 7C 00 1B 78 */ or r0, r0, r3 -/* 802B1FFC 002AEF5C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B2000 002AEF60 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B2004 002AEF64 38 81 00 0C */ addi r4, r1, 0xc -/* 802B2008 002AEF68 98 01 00 0C */ stb r0, 0xc(r1) -/* 802B200C 002AEF6C 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" -/* 802B2010 002AEF70 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802B2014 002AEF74 38 00 00 00 */ li r0, 0 -/* 802B2018 002AEF78 98 01 00 14 */ stb r0, 0x14(r1) -/* 802B201C 002AEF7C 7C 03 00 D0 */ neg r0, r3 -/* 802B2020 002AEF80 7C 00 1B 78 */ or r0, r0, r3 -/* 802B2024 002AEF84 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B2028 002AEF88 98 1F 00 00 */ stb r0, 0(r31) -/* 802B202C 002AEF8C 90 7F 00 04 */ stw r3, 4(r31) -/* 802B2030 002AEF90 88 01 00 14 */ lbz r0, 0x14(r1) -/* 802B2034 002AEF94 28 00 00 00 */ cmplwi r0, 0 -/* 802B2038 002AEF98 41 82 00 24 */ beq lbl_802B205C -/* 802B203C 002AEF9C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802B2040 002AEFA0 28 03 00 00 */ cmplwi r3, 0 -/* 802B2044 002AEFA4 41 82 00 18 */ beq lbl_802B205C -/* 802B2048 002AEFA8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B204C 002AEFAC 38 80 00 01 */ li r4, 1 -/* 802B2050 002AEFB0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B2054 002AEFB4 7D 89 03 A6 */ mtctr r12 -/* 802B2058 002AEFB8 4E 80 04 21 */ bctrl -lbl_802B205C: -/* 802B205C 002AEFBC 88 01 00 0C */ lbz r0, 0xc(r1) -/* 802B2060 002AEFC0 28 00 00 00 */ cmplwi r0, 0 -/* 802B2064 002AEFC4 41 82 00 10 */ beq lbl_802B2074 -/* 802B2068 002AEFC8 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B206C 002AEFCC 38 80 00 01 */ li r4, 1 -/* 802B2070 002AEFD0 48 00 38 31 */ bl __dt__18CWeaponDescriptionFv -lbl_802B2074: -/* 802B2074 002AEFD4 38 61 00 08 */ addi r3, r1, 8 -/* 802B2078 002AEFD8 4B D8 22 8D */ bl sub_80034304 -/* 802B207C 002AEFDC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B2080 002AEFE0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B2084 002AEFE4 7C 08 03 A6 */ mtlr r0 -/* 802B2088 002AEFE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B208C 002AEFEC 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" -"GetIObjObjectFor__28TToken<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": -/* 802B2090 002AEFF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B2094 002AEFF4 7C 08 02 A6 */ mflr r0 -/* 802B2098 002AEFF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B209C 002AEFFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B20A0 002AF000 7C 7F 1B 78 */ mr r31, r3 -/* 802B20A4 002AF004 48 00 00 19 */ bl "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" -/* 802B20A8 002AF008 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B20AC 002AF00C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B20B0 002AF010 7C 08 03 A6 */ mtlr r0 -/* 802B20B4 002AF014 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B20B8 002AF018 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>" -"GetNewDerivedObject__46TObjOwnerDerivedFromIObj<18CWeaponDescription>FRCQ24rstl30auto_ptr<18CWeaponDescription>": -/* 802B20BC 002AF01C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B20C0 002AF020 7C 08 02 A6 */ mflr r0 -/* 802B20C4 002AF024 3C A0 80 3D */ lis r5, lbl_803D6190@ha -/* 802B20C8 002AF028 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B20CC 002AF02C 38 05 61 90 */ addi r0, r5, lbl_803D6190@l -/* 802B20D0 002AF030 38 A0 00 00 */ li r5, 0 -/* 802B20D4 002AF034 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B20D8 002AF038 7C 9F 23 78 */ mr r31, r4 -/* 802B20DC 002AF03C 7C 04 03 78 */ mr r4, r0 -/* 802B20E0 002AF040 93 C1 00 08 */ stw r30, 8(r1) -/* 802B20E4 002AF044 7C 7E 1B 78 */ mr r30, r3 -/* 802B20E8 002AF048 38 60 00 08 */ li r3, 8 -/* 802B20EC 002AF04C 48 06 37 81 */ bl __nw__FUlPCcPCc -/* 802B20F0 002AF050 28 03 00 00 */ cmplwi r3, 0 -/* 802B20F4 002AF054 41 82 00 38 */ beq lbl_802B212C -/* 802B20F8 002AF058 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802B20FC 002AF05C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802B2100 002AF060 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802B2104 002AF064 3C 80 80 3F */ lis r4, lbl_803EC508@ha -/* 802B2108 002AF068 90 03 00 00 */ stw r0, 0(r3) -/* 802B210C 002AF06C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802B2110 002AF070 38 A0 00 00 */ li r5, 0 -/* 802B2114 002AF074 38 04 C5 08 */ addi r0, r4, lbl_803EC508@l -/* 802B2118 002AF078 90 C3 00 00 */ stw r6, 0(r3) -/* 802B211C 002AF07C 98 BF 00 00 */ stb r5, 0(r31) -/* 802B2120 002AF080 80 9F 00 04 */ lwz r4, 4(r31) -/* 802B2124 002AF084 90 83 00 04 */ stw r4, 4(r3) -/* 802B2128 002AF088 90 03 00 00 */ stw r0, 0(r3) -lbl_802B212C: -/* 802B212C 002AF08C 7C 03 00 D0 */ neg r0, r3 -/* 802B2130 002AF090 7C 00 1B 78 */ or r0, r0, r3 -/* 802B2134 002AF094 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B2138 002AF098 98 1E 00 00 */ stb r0, 0(r30) -/* 802B213C 002AF09C 90 7E 00 04 */ stw r3, 4(r30) -/* 802B2140 002AF0A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B2144 002AF0A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B2148 002AF0A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B214C 002AF0AC 7C 08 03 A6 */ mtlr r0 -/* 802B2150 002AF0B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B2154 002AF0B4 4E 80 00 20 */ blr - -.global FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FCollisionResponseDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802B2158 002AF0B8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B215C 002AF0BC 7C 08 02 A6 */ mflr r0 -/* 802B2160 002AF0C0 3C 80 80 3D */ lis r4, lbl_803D6540@ha -/* 802B2164 002AF0C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B2168 002AF0C8 38 84 65 40 */ addi r4, r4, lbl_803D6540@l -/* 802B216C 002AF0CC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B2170 002AF0D0 7C 7F 1B 78 */ mr r31, r3 -/* 802B2174 002AF0D4 38 60 00 38 */ li r3, 0x38 -/* 802B2178 002AF0D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B217C 002AF0DC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802B2180 002AF0E0 7C BD 2B 78 */ mr r29, r5 -/* 802B2184 002AF0E4 38 A0 00 00 */ li r5, 0 -/* 802B2188 002AF0E8 80 E6 00 00 */ lwz r7, 0(r6) -/* 802B218C 002AF0EC 90 E1 00 08 */ stw r7, 8(r1) -/* 802B2190 002AF0F0 80 C7 00 04 */ lwz r6, 4(r7) -/* 802B2194 002AF0F4 38 06 00 01 */ addi r0, r6, 1 -/* 802B2198 002AF0F8 90 07 00 04 */ stw r0, 4(r7) -/* 802B219C 002AF0FC 80 C1 00 08 */ lwz r6, 8(r1) -/* 802B21A0 002AF100 80 C6 00 00 */ lwz r6, 0(r6) -/* 802B21A4 002AF104 83 C6 00 04 */ lwz r30, 4(r6) -/* 802B21A8 002AF108 48 06 36 C5 */ bl __nw__FUlPCcPCc -/* 802B21AC 002AF10C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802B21B0 002AF110 41 82 00 14 */ beq lbl_802B21C4 -/* 802B21B4 002AF114 7F A4 EB 78 */ mr r4, r29 -/* 802B21B8 002AF118 7F C5 F3 78 */ mr r5, r30 -/* 802B21BC 002AF11C 48 00 0C 7D */ bl __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool -/* 802B21C0 002AF120 7C 64 1B 78 */ mr r4, r3 -lbl_802B21C4: -/* 802B21C4 002AF124 7C 04 00 D0 */ neg r0, r4 -/* 802B21C8 002AF128 90 81 00 10 */ stw r4, 0x10(r1) -/* 802B21CC 002AF12C 7C 00 23 78 */ or r0, r0, r4 -/* 802B21D0 002AF130 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B21D4 002AF134 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B21D8 002AF138 38 81 00 0C */ addi r4, r1, 0xc -/* 802B21DC 002AF13C 98 01 00 0C */ stb r0, 0xc(r1) -/* 802B21E0 002AF140 48 00 01 1D */ bl "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" -/* 802B21E4 002AF144 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802B21E8 002AF148 38 00 00 00 */ li r0, 0 -/* 802B21EC 002AF14C 98 01 00 14 */ stb r0, 0x14(r1) -/* 802B21F0 002AF150 7C 03 00 D0 */ neg r0, r3 -/* 802B21F4 002AF154 7C 00 1B 78 */ or r0, r0, r3 -/* 802B21F8 002AF158 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B21FC 002AF15C 98 1F 00 00 */ stb r0, 0(r31) -/* 802B2200 002AF160 90 7F 00 04 */ stw r3, 4(r31) -/* 802B2204 002AF164 88 01 00 14 */ lbz r0, 0x14(r1) -/* 802B2208 002AF168 28 00 00 00 */ cmplwi r0, 0 -/* 802B220C 002AF16C 41 82 00 24 */ beq lbl_802B2230 -/* 802B2210 002AF170 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802B2214 002AF174 28 03 00 00 */ cmplwi r3, 0 -/* 802B2218 002AF178 41 82 00 18 */ beq lbl_802B2230 -/* 802B221C 002AF17C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B2220 002AF180 38 80 00 01 */ li r4, 1 -/* 802B2224 002AF184 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B2228 002AF188 7D 89 03 A6 */ mtctr r12 -/* 802B222C 002AF18C 4E 80 04 21 */ bctrl -lbl_802B2230: -/* 802B2230 002AF190 88 01 00 0C */ lbz r0, 0xc(r1) -/* 802B2234 002AF194 28 00 00 00 */ cmplwi r0, 0 -/* 802B2238 002AF198 41 82 00 10 */ beq lbl_802B2248 -/* 802B223C 002AF19C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B2240 002AF1A0 38 80 00 01 */ li r4, 1 -/* 802B2244 002AF1A4 48 00 04 BD */ bl sub_802b2700 -lbl_802B2248: -/* 802B2248 002AF1A8 38 61 00 08 */ addi r3, r1, 8 -/* 802B224C 002AF1AC 4B D8 20 B9 */ bl sub_80034304 -/* 802B2250 002AF1B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B2254 002AF1B4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B2258 002AF1B8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B225C 002AF1BC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802B2260 002AF1C0 7C 08 03 A6 */ mtlr r0 -/* 802B2264 002AF1C4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B2268 002AF1C8 4E 80 00 20 */ blr - -.global "__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv" -"__dt__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>Fv": -/* 802B226C 002AF1CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B2270 002AF1D0 7C 08 02 A6 */ mflr r0 -/* 802B2274 002AF1D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2278 002AF1D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B227C 002AF1DC 7C 9F 23 78 */ mr r31, r4 -/* 802B2280 002AF1E0 93 C1 00 08 */ stw r30, 8(r1) -/* 802B2284 002AF1E4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802B2288 002AF1E8 41 82 00 58 */ beq lbl_802B22E0 -/* 802B228C 002AF1EC 3C 60 80 3F */ lis r3, lbl_803EC518@ha -/* 802B2290 002AF1F0 38 03 C5 18 */ addi r0, r3, lbl_803EC518@l -/* 802B2294 002AF1F4 90 1E 00 00 */ stw r0, 0(r30) -/* 802B2298 002AF1F8 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B229C 002AF1FC 28 03 00 00 */ cmplwi r3, 0 -/* 802B22A0 002AF200 41 82 00 0C */ beq lbl_802B22AC -/* 802B22A4 002AF204 38 80 00 01 */ li r4, 1 -/* 802B22A8 002AF208 48 00 04 59 */ bl sub_802b2700 -lbl_802B22AC: -/* 802B22AC 002AF20C 28 1E 00 00 */ cmplwi r30, 0 -/* 802B22B0 002AF210 41 82 00 20 */ beq lbl_802B22D0 -/* 802B22B4 002AF214 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802B22B8 002AF218 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802B22BC 002AF21C 90 1E 00 00 */ stw r0, 0(r30) -/* 802B22C0 002AF220 41 82 00 10 */ beq lbl_802B22D0 -/* 802B22C4 002AF224 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802B22C8 002AF228 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802B22CC 002AF22C 90 1E 00 00 */ stw r0, 0(r30) -lbl_802B22D0: -/* 802B22D0 002AF230 7F E0 07 35 */ extsh. r0, r31 -/* 802B22D4 002AF234 40 81 00 0C */ ble lbl_802B22E0 -/* 802B22D8 002AF238 7F C3 F3 78 */ mr r3, r30 -/* 802B22DC 002AF23C 48 06 36 55 */ bl Free__7CMemoryFPCv -lbl_802B22E0: -/* 802B22E0 002AF240 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B22E4 002AF244 7F C3 F3 78 */ mr r3, r30 -/* 802B22E8 002AF248 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B22EC 002AF24C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B22F0 002AF250 7C 08 03 A6 */ mtlr r0 -/* 802B22F4 002AF254 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B22F8 002AF258 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" -"GetIObjObjectFor__32TToken<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": -/* 802B22FC 002AF25C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B2300 002AF260 7C 08 02 A6 */ mflr r0 -/* 802B2304 002AF264 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2308 002AF268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B230C 002AF26C 7C 7F 1B 78 */ mr r31, r3 -/* 802B2310 002AF270 48 00 00 19 */ bl "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" -/* 802B2314 002AF274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B2318 002AF278 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B231C 002AF27C 7C 08 03 A6 */ mtlr r0 -/* 802B2320 002AF280 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B2324 002AF284 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>" -"GetNewDerivedObject__50TObjOwnerDerivedFromIObj<22CCollisionResponseData>FRCQ24rstl34auto_ptr<22CCollisionResponseData>": -/* 802B2328 002AF288 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B232C 002AF28C 7C 08 02 A6 */ mflr r0 -/* 802B2330 002AF290 3C A0 80 3D */ lis r5, lbl_803D6540@ha -/* 802B2334 002AF294 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2338 002AF298 38 05 65 40 */ addi r0, r5, lbl_803D6540@l -/* 802B233C 002AF29C 38 A0 00 00 */ li r5, 0 -/* 802B2340 002AF2A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B2344 002AF2A4 7C 9F 23 78 */ mr r31, r4 -/* 802B2348 002AF2A8 7C 04 03 78 */ mr r4, r0 -/* 802B234C 002AF2AC 93 C1 00 08 */ stw r30, 8(r1) -/* 802B2350 002AF2B0 7C 7E 1B 78 */ mr r30, r3 -/* 802B2354 002AF2B4 38 60 00 08 */ li r3, 8 -/* 802B2358 002AF2B8 48 06 35 15 */ bl __nw__FUlPCcPCc -/* 802B235C 002AF2BC 28 03 00 00 */ cmplwi r3, 0 -/* 802B2360 002AF2C0 41 82 00 38 */ beq lbl_802B2398 -/* 802B2364 002AF2C4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802B2368 002AF2C8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802B236C 002AF2CC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802B2370 002AF2D0 3C 80 80 3F */ lis r4, lbl_803EC518@ha -/* 802B2374 002AF2D4 90 03 00 00 */ stw r0, 0(r3) -/* 802B2378 002AF2D8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802B237C 002AF2DC 38 A0 00 00 */ li r5, 0 -/* 802B2380 002AF2E0 38 04 C5 18 */ addi r0, r4, lbl_803EC518@l -/* 802B2384 002AF2E4 90 C3 00 00 */ stw r6, 0(r3) -/* 802B2388 002AF2E8 98 BF 00 00 */ stb r5, 0(r31) -/* 802B238C 002AF2EC 80 9F 00 04 */ lwz r4, 4(r31) -/* 802B2390 002AF2F0 90 83 00 04 */ stw r4, 4(r3) -/* 802B2394 002AF2F4 90 03 00 00 */ stw r0, 0(r3) -lbl_802B2398: -/* 802B2398 002AF2F8 7C 03 00 D0 */ neg r0, r3 -/* 802B239C 002AF2FC 7C 00 1B 78 */ or r0, r0, r3 -/* 802B23A0 002AF300 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B23A4 002AF304 98 1E 00 00 */ stb r0, 0(r30) -/* 802B23A8 002AF308 90 7E 00 04 */ stw r3, 4(r30) -/* 802B23AC 002AF30C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B23B0 002AF310 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B23B4 002AF314 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B23B8 002AF318 7C 08 03 A6 */ mtlr r0 -/* 802B23BC 002AF31C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B23C0 002AF320 4E 80 00 20 */ blr - -.global GetWorldCollisionResponseType__22CCollisionResponseDataFi -GetWorldCollisionResponseType__22CCollisionResponseDataFi: -/* 802B23C4 002AF324 2C 03 00 00 */ cmpwi r3, 0 -/* 802B23C8 002AF328 41 80 00 20 */ blt lbl_802B23E8 -/* 802B23CC 002AF32C 2C 03 00 20 */ cmpwi r3, 0x20 -/* 802B23D0 002AF330 40 80 00 18 */ bge lbl_802B23E8 -/* 802B23D4 002AF334 3C 80 80 3D */ lis r4, lbl_803D6198@ha -/* 802B23D8 002AF338 54 60 10 3A */ slwi r0, r3, 2 -/* 802B23DC 002AF33C 38 64 61 98 */ addi r3, r4, lbl_803D6198@l -/* 802B23E0 002AF340 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802B23E4 002AF344 4E 80 00 20 */ blr -lbl_802B23E8: -/* 802B23E8 002AF348 38 60 00 01 */ li r3, 1 -/* 802B23EC 002AF34C 4E 80 00 20 */ blr - -.global GetAudibleFallOff__22CCollisionResponseDataCFv -GetAudibleFallOff__22CCollisionResponseDataCFv: -/* 802B23F0 002AF350 C0 23 00 34 */ lfs f1, 0x34(r3) -/* 802B23F4 002AF354 4E 80 00 20 */ blr - -.global GetAudibleRange__22CCollisionResponseDataCFv -GetAudibleRange__22CCollisionResponseDataCFv: -/* 802B23F8 002AF358 C0 23 00 30 */ lfs f1, 0x30(r3) -/* 802B23FC 002AF35C 4E 80 00 20 */ blr - -.global ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: -/* 802B2400 002AF360 2C 03 00 2C */ cmpwi r3, 0x2c -/* 802B2404 002AF364 41 80 00 14 */ blt lbl_802B2418 -/* 802B2408 002AF368 2C 03 00 44 */ cmpwi r3, 0x44 -/* 802B240C 002AF36C 41 81 00 0C */ bgt lbl_802B2418 -/* 802B2410 002AF370 38 60 00 01 */ li r3, 1 -/* 802B2414 002AF374 4E 80 00 20 */ blr -lbl_802B2418: -/* 802B2418 002AF378 38 60 00 00 */ li r3, 0 -/* 802B241C 002AF37C 4E 80 00 20 */ blr - -.global ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: -/* 802B2420 002AF380 2C 03 00 13 */ cmpwi r3, 0x13 -/* 802B2424 002AF384 41 80 00 14 */ blt lbl_802B2438 -/* 802B2428 002AF388 2C 03 00 2B */ cmpwi r3, 0x2b -/* 802B242C 002AF38C 41 81 00 0C */ bgt lbl_802B2438 -/* 802B2430 002AF390 38 60 00 01 */ li r3, 1 -/* 802B2434 002AF394 4E 80 00 20 */ blr -lbl_802B2438: -/* 802B2438 002AF398 38 60 00 00 */ li r3, 0 -/* 802B243C 002AF39C 4E 80 00 20 */ blr - -.global ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes: -/* 802B2440 002AF3A0 2C 03 00 45 */ cmpwi r3, 0x45 -/* 802B2444 002AF3A4 41 80 00 14 */ blt lbl_802B2458 -/* 802B2448 002AF3A8 2C 03 00 5D */ cmpwi r3, 0x5d -/* 802B244C 002AF3AC 41 81 00 0C */ bgt lbl_802B2458 -/* 802B2450 002AF3B0 38 60 00 01 */ li r3, 1 -/* 802B2454 002AF3B4 4E 80 00 20 */ blr -lbl_802B2458: -/* 802B2458 002AF3B8 38 60 00 00 */ li r3, 0 -/* 802B245C 002AF3BC 4E 80 00 20 */ blr - -.global GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -GetDecalDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: -/* 802B2460 002AF3C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B2464 002AF3C4 7C 08 02 A6 */ mflr r0 -/* 802B2468 002AF3C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B246C 002AF3CC 54 A0 20 36 */ slwi r0, r5, 4 -/* 802B2470 002AF3D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B2474 002AF3D4 93 C1 00 08 */ stw r30, 8(r1) -/* 802B2478 002AF3D8 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 802B247C 002AF3DC 7F E4 02 14 */ add r31, r4, r0 -/* 802B2480 002AF3E0 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 802B2484 002AF3E4 98 03 00 0C */ stb r0, 0xc(r3) -/* 802B2488 002AF3E8 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 802B248C 002AF3EC 28 00 00 00 */ cmplwi r0, 0 -/* 802B2490 002AF3F0 41 82 00 28 */ beq lbl_802B24B8 -/* 802B2494 002AF3F4 7C 60 1B 79 */ or. r0, r3, r3 -/* 802B2498 002AF3F8 41 82 00 20 */ beq lbl_802B24B8 -/* 802B249C 002AF3FC 7C 1E 03 78 */ mr r30, r0 -/* 802B24A0 002AF400 7F E4 FB 78 */ mr r4, r31 -/* 802B24A4 002AF404 48 08 EA 05 */ bl __ct__6CTokenFRC6CToken -/* 802B24A8 002AF408 80 1F 00 08 */ lwz r0, 8(r31) -/* 802B24AC 002AF40C 7F C3 F3 78 */ mr r3, r30 -/* 802B24B0 002AF410 90 1E 00 08 */ stw r0, 8(r30) -/* 802B24B4 002AF414 48 08 E8 D1 */ bl Lock__6CTokenFv -lbl_802B24B8: -/* 802B24B8 002AF418 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B24BC 002AF41C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B24C0 002AF420 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B24C4 002AF424 7C 08 03 A6 */ mtlr r0 -/* 802B24C8 002AF428 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B24CC 002AF42C 4E 80 00 20 */ blr - -.global GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -GetSoundEffectId__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: -/* 802B24D0 002AF430 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B24D4 002AF434 7C 08 02 A6 */ mflr r0 -/* 802B24D8 002AF438 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B24DC 002AF43C 54 80 10 3A */ slwi r0, r4, 2 -/* 802B24E0 002AF440 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B24E4 002AF444 7C 7F 1B 78 */ mr r31, r3 -/* 802B24E8 002AF448 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B24EC 002AF44C 7C 9E 23 78 */ mr r30, r4 -/* 802B24F0 002AF450 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B24F4 002AF454 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 802B24F8 002AF458 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802B24FC 002AF45C 2C 00 FF FF */ cmpwi r0, -1 -/* 802B2500 002AF460 40 82 00 98 */ bne lbl_802B2598 -/* 802B2504 002AF464 7F C3 F3 78 */ mr r3, r30 -/* 802B2508 002AF468 3B A0 00 00 */ li r29, 0 -/* 802B250C 002AF46C 4B FF FF 15 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B2510 002AF470 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2514 002AF474 41 82 00 10 */ beq lbl_802B2524 -/* 802B2518 002AF478 3B C0 00 10 */ li r30, 0x10 -/* 802B251C 002AF47C 3B A0 00 01 */ li r29, 1 -/* 802B2520 002AF480 48 00 00 38 */ b lbl_802B2558 -lbl_802B2524: -/* 802B2524 002AF484 7F C3 F3 78 */ mr r3, r30 -/* 802B2528 002AF488 4B FF FE D9 */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B252C 002AF48C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2530 002AF490 41 82 00 10 */ beq lbl_802B2540 -/* 802B2534 002AF494 3B C0 00 11 */ li r30, 0x11 -/* 802B2538 002AF498 3B A0 00 01 */ li r29, 1 -/* 802B253C 002AF49C 48 00 00 1C */ b lbl_802B2558 -lbl_802B2540: -/* 802B2540 002AF4A0 7F C3 F3 78 */ mr r3, r30 -/* 802B2544 002AF4A4 4B FF FE FD */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B2548 002AF4A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B254C 002AF4AC 41 82 00 0C */ beq lbl_802B2558 -/* 802B2550 002AF4B0 3B C0 00 12 */ li r30, 0x12 -/* 802B2554 002AF4B4 3B A0 00 01 */ li r29, 1 -lbl_802B2558: -/* 802B2558 002AF4B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802B255C 002AF4BC 41 82 00 20 */ beq lbl_802B257C -/* 802B2560 002AF4C0 57 C3 20 36 */ slwi r3, r30, 4 -/* 802B2564 002AF4C4 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B2568 002AF4C8 38 03 00 0C */ addi r0, r3, 0xc -/* 802B256C 002AF4CC 7C 04 00 AE */ lbzx r0, r4, r0 -/* 802B2570 002AF4D0 28 00 00 00 */ cmplwi r0, 0 -/* 802B2574 002AF4D4 40 82 00 08 */ bne lbl_802B257C -/* 802B2578 002AF4D8 3B C0 00 10 */ li r30, 0x10 -lbl_802B257C: -/* 802B257C 002AF4DC 57 C3 20 36 */ slwi r3, r30, 4 -/* 802B2580 002AF4E0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802B2584 002AF4E4 38 03 00 0C */ addi r0, r3, 0xc -/* 802B2588 002AF4E8 7C 04 00 AE */ lbzx r0, r4, r0 -/* 802B258C 002AF4EC 28 00 00 00 */ cmplwi r0, 0 -/* 802B2590 002AF4F0 40 82 00 08 */ bne lbl_802B2598 -/* 802B2594 002AF4F4 3B C0 00 01 */ li r30, 1 -lbl_802B2598: -/* 802B2598 002AF4F8 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802B259C 002AF4FC 57 C0 10 3A */ slwi r0, r30, 2 -/* 802B25A0 002AF500 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802B25A4 002AF504 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B25A8 002AF508 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B25AC 002AF50C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B25B0 002AF510 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B25B4 002AF514 7C 08 03 A6 */ mtlr r0 -/* 802B25B8 002AF518 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B25BC 002AF51C 4E 80 00 20 */ blr - -.global GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes -GetParticleDescription__22CCollisionResponseDataCF29EWeaponCollisionResponseTypes: -/* 802B25C0 002AF520 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B25C4 002AF524 7C 08 02 A6 */ mflr r0 -/* 802B25C8 002AF528 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B25CC 002AF52C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B25D0 002AF530 7C BF 2B 78 */ mr r31, r5 -/* 802B25D4 002AF534 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B25D8 002AF538 7C 9E 23 78 */ mr r30, r4 -/* 802B25DC 002AF53C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B25E0 002AF540 7C 7D 1B 78 */ mr r29, r3 -/* 802B25E4 002AF544 93 81 00 10 */ stw r28, 0x10(r1) -/* 802B25E8 002AF548 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 802B25EC 002AF54C 57 E4 20 36 */ slwi r4, r31, 4 -/* 802B25F0 002AF550 38 04 00 0C */ addi r0, r4, 0xc -/* 802B25F4 002AF554 7C 05 00 AE */ lbzx r0, r5, r0 -/* 802B25F8 002AF558 28 00 00 00 */ cmplwi r0, 0 -/* 802B25FC 002AF55C 40 82 00 A0 */ bne lbl_802B269C -/* 802B2600 002AF560 7F E3 FB 78 */ mr r3, r31 -/* 802B2604 002AF564 3B 80 00 00 */ li r28, 0 -/* 802B2608 002AF568 4B FF FE 19 */ bl ResponseTypeIsEnemyNormal__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B260C 002AF56C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2610 002AF570 41 82 00 10 */ beq lbl_802B2620 -/* 802B2614 002AF574 3B E0 00 10 */ li r31, 0x10 -/* 802B2618 002AF578 3B 80 00 01 */ li r28, 1 -/* 802B261C 002AF57C 48 00 00 38 */ b lbl_802B2654 -lbl_802B2620: -/* 802B2620 002AF580 7F E3 FB 78 */ mr r3, r31 -/* 802B2624 002AF584 4B FF FD DD */ bl ResponseTypeIsEnemySpecial__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B2628 002AF588 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B262C 002AF58C 41 82 00 10 */ beq lbl_802B263C -/* 802B2630 002AF590 3B E0 00 11 */ li r31, 0x11 -/* 802B2634 002AF594 3B 80 00 01 */ li r28, 1 -/* 802B2638 002AF598 48 00 00 1C */ b lbl_802B2654 -lbl_802B263C: -/* 802B263C 002AF59C 7F E3 FB 78 */ mr r3, r31 -/* 802B2640 002AF5A0 4B FF FE 01 */ bl ResponseTypeIsEnemyShielded__22CCollisionResponseDataF29EWeaponCollisionResponseTypes -/* 802B2644 002AF5A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2648 002AF5A8 41 82 00 0C */ beq lbl_802B2654 -/* 802B264C 002AF5AC 3B E0 00 12 */ li r31, 0x12 -/* 802B2650 002AF5B0 3B 80 00 01 */ li r28, 1 -lbl_802B2654: -/* 802B2654 002AF5B4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802B2658 002AF5B8 41 82 00 20 */ beq lbl_802B2678 -/* 802B265C 002AF5BC 57 E3 20 36 */ slwi r3, r31, 4 -/* 802B2660 002AF5C0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 802B2664 002AF5C4 38 03 00 0C */ addi r0, r3, 0xc -/* 802B2668 002AF5C8 7C 04 00 AE */ lbzx r0, r4, r0 -/* 802B266C 002AF5CC 28 00 00 00 */ cmplwi r0, 0 -/* 802B2670 002AF5D0 40 82 00 08 */ bne lbl_802B2678 -/* 802B2674 002AF5D4 3B E0 00 10 */ li r31, 0x10 -lbl_802B2678: -/* 802B2678 002AF5D8 57 E3 20 36 */ slwi r3, r31, 4 -/* 802B267C 002AF5DC 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 802B2680 002AF5E0 38 03 00 0C */ addi r0, r3, 0xc -/* 802B2684 002AF5E4 7C 04 00 AE */ lbzx r0, r4, r0 -/* 802B2688 002AF5E8 28 00 00 00 */ cmplwi r0, 0 -/* 802B268C 002AF5EC 40 82 00 10 */ bne lbl_802B269C -/* 802B2690 002AF5F0 2C 1F 00 00 */ cmpwi r31, 0 -/* 802B2694 002AF5F4 41 82 00 08 */ beq lbl_802B269C -/* 802B2698 002AF5F8 3B E0 00 01 */ li r31, 1 -lbl_802B269C: -/* 802B269C 002AF5FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B26A0 002AF600 57 E0 20 36 */ slwi r0, r31, 4 -/* 802B26A4 002AF604 7F C3 02 14 */ add r30, r3, r0 -/* 802B26A8 002AF608 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 802B26AC 002AF60C 98 1D 00 0C */ stb r0, 0xc(r29) -/* 802B26B0 002AF610 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 802B26B4 002AF614 28 00 00 00 */ cmplwi r0, 0 -/* 802B26B8 002AF618 41 82 00 28 */ beq lbl_802B26E0 -/* 802B26BC 002AF61C 28 1D 00 00 */ cmplwi r29, 0 -/* 802B26C0 002AF620 41 82 00 20 */ beq lbl_802B26E0 -/* 802B26C4 002AF624 7F A3 EB 78 */ mr r3, r29 -/* 802B26C8 002AF628 7F C4 F3 78 */ mr r4, r30 -/* 802B26CC 002AF62C 48 08 E7 DD */ bl __ct__6CTokenFRC6CToken -/* 802B26D0 002AF630 80 1E 00 08 */ lwz r0, 8(r30) -/* 802B26D4 002AF634 7F A3 EB 78 */ mr r3, r29 -/* 802B26D8 002AF638 90 1D 00 08 */ stw r0, 8(r29) -/* 802B26DC 002AF63C 48 08 E6 A9 */ bl Lock__6CTokenFv -lbl_802B26E0: -/* 802B26E0 002AF640 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B26E4 002AF644 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B26E8 002AF648 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B26EC 002AF64C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B26F0 002AF650 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802B26F4 002AF654 7C 08 03 A6 */ mtlr r0 -/* 802B26F8 002AF658 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B26FC 002AF65C 4E 80 00 20 */ blr - -.global sub_802b2700 -sub_802b2700: -/* 802B2700 002AF660 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B2704 002AF664 7C 08 02 A6 */ mflr r0 -/* 802B2708 002AF668 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B270C 002AF66C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B2710 002AF670 7C 9F 23 78 */ mr r31, r4 -/* 802B2714 002AF674 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B2718 002AF678 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802B271C 002AF67C 41 82 00 74 */ beq lbl_802B2790 -/* 802B2720 002AF680 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802B2724 002AF684 38 80 FF FF */ li r4, -1 -/* 802B2728 002AF688 48 00 01 3D */ bl sub_802b2864 -/* 802B272C 002AF68C 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 802B2730 002AF690 41 82 00 44 */ beq lbl_802B2774 -/* 802B2734 002AF694 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802B2738 002AF698 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802B273C 002AF69C 54 00 10 3A */ slwi r0, r0, 2 -/* 802B2740 002AF6A0 7C 03 02 14 */ add r0, r3, r0 -/* 802B2744 002AF6A4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B2748 002AF6A8 7C 64 1B 78 */ mr r4, r3 -/* 802B274C 002AF6AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2750 002AF6B0 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B2754 002AF6B4 90 61 00 08 */ stw r3, 8(r1) -/* 802B2758 002AF6B8 48 00 00 08 */ b lbl_802B2760 -lbl_802B275C: -/* 802B275C 002AF6BC 38 84 00 04 */ addi r4, r4, 4 -lbl_802B2760: -/* 802B2760 002AF6C0 7C 04 00 40 */ cmplw r4, r0 -/* 802B2764 002AF6C4 40 82 FF F8 */ bne lbl_802B275C -/* 802B2768 002AF6C8 28 03 00 00 */ cmplwi r3, 0 -/* 802B276C 002AF6CC 41 82 00 08 */ beq lbl_802B2774 -/* 802B2770 002AF6D0 48 06 31 C1 */ bl Free__7CMemoryFPCv -lbl_802B2774: -/* 802B2774 002AF6D4 7F C3 F3 78 */ mr r3, r30 -/* 802B2778 002AF6D8 38 80 FF FF */ li r4, -1 -/* 802B277C 002AF6DC 48 00 00 31 */ bl sub_802b27ac -/* 802B2780 002AF6E0 7F E0 07 35 */ extsh. r0, r31 -/* 802B2784 002AF6E4 40 81 00 0C */ ble lbl_802B2790 -/* 802B2788 002AF6E8 7F C3 F3 78 */ mr r3, r30 -/* 802B278C 002AF6EC 48 06 31 A5 */ bl Free__7CMemoryFPCv -lbl_802B2790: -/* 802B2790 002AF6F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B2794 002AF6F4 7F C3 F3 78 */ mr r3, r30 -/* 802B2798 002AF6F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B279C 002AF6FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B27A0 002AF700 7C 08 03 A6 */ mtlr r0 -/* 802B27A4 002AF704 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B27A8 002AF708 4E 80 00 20 */ blr - -.global sub_802b27ac -sub_802b27ac: -/* 802B27AC 002AF70C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B27B0 002AF710 7C 08 02 A6 */ mflr r0 -/* 802B27B4 002AF714 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B27B8 002AF718 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802B27BC 002AF71C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802B27C0 002AF720 7C 9C 23 78 */ mr r28, r4 -/* 802B27C4 002AF724 41 82 00 88 */ beq lbl_802B284C -/* 802B27C8 002AF728 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B27CC 002AF72C 3B E0 00 00 */ li r31, 0 -/* 802B27D0 002AF730 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 802B27D4 002AF734 54 00 20 36 */ slwi r0, r0, 4 -/* 802B27D8 002AF738 7F DD 02 14 */ add r30, r29, r0 -/* 802B27DC 002AF73C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802B27E0 002AF740 93 C1 00 08 */ stw r30, 8(r1) -/* 802B27E4 002AF744 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802B27E8 002AF748 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B27EC 002AF74C 48 00 00 38 */ b lbl_802B2824 -lbl_802B27F0: -/* 802B27F0 002AF750 28 1D 00 00 */ cmplwi r29, 0 -/* 802B27F4 002AF754 41 82 00 2C */ beq lbl_802B2820 -/* 802B27F8 002AF758 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B27FC 002AF75C 28 00 00 00 */ cmplwi r0, 0 -/* 802B2800 002AF760 41 82 00 1C */ beq lbl_802B281C -/* 802B2804 002AF764 28 1D 00 00 */ cmplwi r29, 0 -/* 802B2808 002AF768 41 82 00 14 */ beq lbl_802B281C -/* 802B280C 002AF76C 41 82 00 10 */ beq lbl_802B281C -/* 802B2810 002AF770 7F A3 EB 78 */ mr r3, r29 -/* 802B2814 002AF774 38 80 00 00 */ li r4, 0 -/* 802B2818 002AF778 48 08 E6 29 */ bl __dt__6CTokenFv -lbl_802B281C: -/* 802B281C 002AF77C 9B FD 00 0C */ stb r31, 0xc(r29) -lbl_802B2820: -/* 802B2820 002AF780 3B BD 00 10 */ addi r29, r29, 0x10 -lbl_802B2824: -/* 802B2824 002AF784 7C 1D F0 40 */ cmplw r29, r30 -/* 802B2828 002AF788 40 82 FF C8 */ bne lbl_802B27F0 -/* 802B282C 002AF78C 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802B2830 002AF790 28 03 00 00 */ cmplwi r3, 0 -/* 802B2834 002AF794 41 82 00 08 */ beq lbl_802B283C -/* 802B2838 002AF798 48 06 30 F9 */ bl Free__7CMemoryFPCv -lbl_802B283C: -/* 802B283C 002AF79C 7F 80 07 35 */ extsh. r0, r28 -/* 802B2840 002AF7A0 40 81 00 0C */ ble lbl_802B284C -/* 802B2844 002AF7A4 7F 63 DB 78 */ mr r3, r27 -/* 802B2848 002AF7A8 48 06 30 E9 */ bl Free__7CMemoryFPCv -lbl_802B284C: -/* 802B284C 002AF7AC 7F 63 DB 78 */ mr r3, r27 -/* 802B2850 002AF7B0 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802B2854 002AF7B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B2858 002AF7B8 7C 08 03 A6 */ mtlr r0 -/* 802B285C 002AF7BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B2860 002AF7C0 4E 80 00 20 */ blr - -.global sub_802b2864 -sub_802b2864: -/* 802B2864 002AF7C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B2868 002AF7C8 7C 08 02 A6 */ mflr r0 -/* 802B286C 002AF7CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B2870 002AF7D0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802B2874 002AF7D4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802B2878 002AF7D8 7C 9C 23 78 */ mr r28, r4 -/* 802B287C 002AF7DC 41 82 00 88 */ beq lbl_802B2904 -/* 802B2880 002AF7E0 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B2884 002AF7E4 3B E0 00 00 */ li r31, 0 -/* 802B2888 002AF7E8 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 802B288C 002AF7EC 54 00 20 36 */ slwi r0, r0, 4 -/* 802B2890 002AF7F0 7F DD 02 14 */ add r30, r29, r0 -/* 802B2894 002AF7F4 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802B2898 002AF7F8 93 C1 00 08 */ stw r30, 8(r1) -/* 802B289C 002AF7FC 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802B28A0 002AF800 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B28A4 002AF804 48 00 00 38 */ b lbl_802B28DC -lbl_802B28A8: -/* 802B28A8 002AF808 28 1D 00 00 */ cmplwi r29, 0 -/* 802B28AC 002AF80C 41 82 00 2C */ beq lbl_802B28D8 -/* 802B28B0 002AF810 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B28B4 002AF814 28 00 00 00 */ cmplwi r0, 0 -/* 802B28B8 002AF818 41 82 00 1C */ beq lbl_802B28D4 -/* 802B28BC 002AF81C 28 1D 00 00 */ cmplwi r29, 0 -/* 802B28C0 002AF820 41 82 00 14 */ beq lbl_802B28D4 -/* 802B28C4 002AF824 41 82 00 10 */ beq lbl_802B28D4 -/* 802B28C8 002AF828 7F A3 EB 78 */ mr r3, r29 -/* 802B28CC 002AF82C 38 80 00 00 */ li r4, 0 -/* 802B28D0 002AF830 48 08 E5 71 */ bl __dt__6CTokenFv -lbl_802B28D4: -/* 802B28D4 002AF834 9B FD 00 0C */ stb r31, 0xc(r29) -lbl_802B28D8: -/* 802B28D8 002AF838 3B BD 00 10 */ addi r29, r29, 0x10 -lbl_802B28DC: -/* 802B28DC 002AF83C 7C 1D F0 40 */ cmplw r29, r30 -/* 802B28E0 002AF840 40 82 FF C8 */ bne lbl_802B28A8 -/* 802B28E4 002AF844 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802B28E8 002AF848 28 03 00 00 */ cmplwi r3, 0 -/* 802B28EC 002AF84C 41 82 00 08 */ beq lbl_802B28F4 -/* 802B28F0 002AF850 48 06 30 41 */ bl Free__7CMemoryFPCv -lbl_802B28F4: -/* 802B28F4 002AF854 7F 80 07 35 */ extsh. r0, r28 -/* 802B28F8 002AF858 40 81 00 0C */ ble lbl_802B2904 -/* 802B28FC 002AF85C 7F 63 DB 78 */ mr r3, r27 -/* 802B2900 002AF860 48 06 30 31 */ bl Free__7CMemoryFPCv -lbl_802B2904: -/* 802B2904 002AF864 7F 63 DB 78 */ mr r3, r27 -/* 802B2908 002AF868 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802B290C 002AF86C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B2910 002AF870 7C 08 03 A6 */ mtlr r0 -/* 802B2914 002AF874 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B2918 002AF878 4E 80 00 20 */ blr - -.global AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool -AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool: -/* 802B291C 002AF87C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B2920 002AF880 7C 08 02 A6 */ mflr r0 -/* 802B2924 002AF884 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B2928 002AF888 38 00 00 00 */ li r0, 0 -/* 802B292C 002AF88C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802B2930 002AF890 7C 9F 23 78 */ mr r31, r4 -/* 802B2934 002AF894 7C A4 2B 78 */ mr r4, r5 -/* 802B2938 002AF898 7C C5 33 78 */ mr r5, r6 -/* 802B293C 002AF89C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802B2940 002AF8A0 7C 7E 1B 78 */ mr r30, r3 -/* 802B2944 002AF8A4 38 61 00 34 */ addi r3, r1, 0x34 -/* 802B2948 002AF8A8 38 C1 00 4C */ addi r6, r1, 0x4c -/* 802B294C 002AF8AC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 802B2950 002AF8B0 90 01 00 50 */ stw r0, 0x50(r1) -/* 802B2954 002AF8B4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802B2958 002AF8B8 90 01 00 58 */ stw r0, 0x58(r1) -/* 802B295C 002AF8BC 48 07 24 35 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 802B2960 002AF8C0 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 802B2964 002AF8C4 28 00 00 00 */ cmplwi r0, 0 -/* 802B2968 002AF8C8 98 01 00 48 */ stb r0, 0x48(r1) -/* 802B296C 002AF8CC 41 82 00 14 */ beq lbl_802B2980 -/* 802B2970 002AF8D0 34 61 00 40 */ addic. r3, r1, 0x40 -/* 802B2974 002AF8D4 38 81 00 34 */ addi r4, r1, 0x34 -/* 802B2978 002AF8D8 41 82 00 08 */ beq lbl_802B2980 -/* 802B297C 002AF8DC 48 08 E5 2D */ bl __ct__6CTokenFRC6CToken -lbl_802B2980: -/* 802B2980 002AF8E0 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 802B2984 002AF8E4 28 00 00 00 */ cmplwi r0, 0 -/* 802B2988 002AF8E8 41 82 00 14 */ beq lbl_802B299C -/* 802B298C 002AF8EC 34 61 00 34 */ addic. r3, r1, 0x34 -/* 802B2990 002AF8F0 41 82 00 0C */ beq lbl_802B299C -/* 802B2994 002AF8F4 38 80 00 00 */ li r4, 0 -/* 802B2998 002AF8F8 48 08 E4 A9 */ bl __dt__6CTokenFv -lbl_802B299C: -/* 802B299C 002AF8FC 88 61 00 48 */ lbz r3, 0x48(r1) -/* 802B29A0 002AF900 38 00 00 00 */ li r0, 0 -/* 802B29A4 002AF904 98 01 00 3C */ stb r0, 0x3c(r1) -/* 802B29A8 002AF908 28 03 00 00 */ cmplwi r3, 0 -/* 802B29AC 002AF90C 41 82 00 FC */ beq lbl_802B2AA8 -/* 802B29B0 002AF910 3B A1 00 28 */ addi r29, r1, 0x28 -/* 802B29B4 002AF914 38 81 00 40 */ addi r4, r1, 0x40 -/* 802B29B8 002AF918 7F A3 EB 78 */ mr r3, r29 -/* 802B29BC 002AF91C 48 08 E4 ED */ bl __ct__6CTokenFRC6CToken -/* 802B29C0 002AF920 7F A3 EB 78 */ mr r3, r29 -/* 802B29C4 002AF924 48 08 E4 49 */ bl GetObj__6CTokenFv -/* 802B29C8 002AF928 80 63 00 04 */ lwz r3, 4(r3) -/* 802B29CC 002AF92C 57 E0 20 36 */ slwi r0, r31, 4 -/* 802B29D0 002AF930 90 61 00 30 */ stw r3, 0x30(r1) -/* 802B29D4 002AF934 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B29D8 002AF938 7F E3 02 14 */ add r31, r3, r0 -/* 802B29DC 002AF93C 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 802B29E0 002AF940 28 00 00 00 */ cmplwi r0, 0 -/* 802B29E4 002AF944 40 82 00 38 */ bne lbl_802B2A1C -/* 802B29E8 002AF948 28 1F 00 00 */ cmplwi r31, 0 -/* 802B29EC 002AF94C 41 82 00 24 */ beq lbl_802B2A10 -/* 802B29F0 002AF950 7F FD FB 78 */ mr r29, r31 -/* 802B29F4 002AF954 7F E3 FB 78 */ mr r3, r31 -/* 802B29F8 002AF958 38 81 00 28 */ addi r4, r1, 0x28 -/* 802B29FC 002AF95C 48 08 E4 AD */ bl __ct__6CTokenFRC6CToken -/* 802B2A00 002AF960 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802B2A04 002AF964 7F A3 EB 78 */ mr r3, r29 -/* 802B2A08 002AF968 90 1D 00 08 */ stw r0, 8(r29) -/* 802B2A0C 002AF96C 48 08 E3 79 */ bl Lock__6CTokenFv -lbl_802B2A10: -/* 802B2A10 002AF970 38 00 00 01 */ li r0, 1 -/* 802B2A14 002AF974 98 1F 00 0C */ stb r0, 0xc(r31) -/* 802B2A18 002AF978 48 00 00 18 */ b lbl_802B2A30 -lbl_802B2A1C: -/* 802B2A1C 002AF97C 7F E3 FB 78 */ mr r3, r31 -/* 802B2A20 002AF980 7F A4 EB 78 */ mr r4, r29 -/* 802B2A24 002AF984 48 08 E2 A1 */ bl __as__6CTokenFRC6CToken -/* 802B2A28 002AF988 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802B2A2C 002AF98C 90 1F 00 08 */ stw r0, 8(r31) -lbl_802B2A30: -/* 802B2A30 002AF990 38 61 00 28 */ addi r3, r1, 0x28 -/* 802B2A34 002AF994 38 80 00 00 */ li r4, 0 -/* 802B2A38 002AF998 48 08 E4 09 */ bl __dt__6CTokenFv -/* 802B2A3C 002AF99C 88 01 00 48 */ lbz r0, 0x48(r1) -/* 802B2A40 002AF9A0 28 00 00 00 */ cmplwi r0, 0 -/* 802B2A44 002AF9A4 41 82 00 14 */ beq lbl_802B2A58 -/* 802B2A48 002AF9A8 34 61 00 40 */ addic. r3, r1, 0x40 -/* 802B2A4C 002AF9AC 41 82 00 0C */ beq lbl_802B2A58 -/* 802B2A50 002AF9B0 38 80 00 00 */ li r4, 0 -/* 802B2A54 002AF9B4 48 08 E3 ED */ bl __dt__6CTokenFv -lbl_802B2A58: -/* 802B2A58 002AF9B8 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802B2A5C 002AF9BC 38 80 00 00 */ li r4, 0 -/* 802B2A60 002AF9C0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 802B2A64 002AF9C4 54 00 10 3A */ slwi r0, r0, 2 -/* 802B2A68 002AF9C8 98 81 00 48 */ stb r4, 0x48(r1) -/* 802B2A6C 002AF9CC 7C 03 02 14 */ add r0, r3, r0 -/* 802B2A70 002AF9D0 7C 64 1B 78 */ mr r4, r3 -/* 802B2A74 002AF9D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B2A78 002AF9D8 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B2A7C 002AF9DC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802B2A80 002AF9E0 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B2A84 002AF9E4 48 00 00 08 */ b lbl_802B2A8C -lbl_802B2A88: -/* 802B2A88 002AF9E8 38 84 00 04 */ addi r4, r4, 4 -lbl_802B2A8C: -/* 802B2A8C 002AF9EC 7C 04 00 40 */ cmplw r4, r0 -/* 802B2A90 002AF9F0 40 82 FF F8 */ bne lbl_802B2A88 -/* 802B2A94 002AF9F4 28 03 00 00 */ cmplwi r3, 0 -/* 802B2A98 002AF9F8 41 82 00 08 */ beq lbl_802B2AA0 -/* 802B2A9C 002AF9FC 48 06 2E 95 */ bl Free__7CMemoryFPCv -lbl_802B2AA0: -/* 802B2AA0 002AFA00 38 60 00 01 */ li r3, 1 -/* 802B2AA4 002AFA04 48 00 00 64 */ b lbl_802B2B08 -lbl_802B2AA8: -/* 802B2AA8 002AFA08 41 82 00 14 */ beq lbl_802B2ABC -/* 802B2AAC 002AFA0C 34 61 00 40 */ addic. r3, r1, 0x40 -/* 802B2AB0 002AFA10 41 82 00 0C */ beq lbl_802B2ABC -/* 802B2AB4 002AFA14 38 80 00 00 */ li r4, 0 -/* 802B2AB8 002AFA18 48 08 E3 89 */ bl __dt__6CTokenFv -lbl_802B2ABC: -/* 802B2ABC 002AFA1C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802B2AC0 002AFA20 38 80 00 00 */ li r4, 0 -/* 802B2AC4 002AFA24 80 61 00 58 */ lwz r3, 0x58(r1) -/* 802B2AC8 002AFA28 54 00 10 3A */ slwi r0, r0, 2 -/* 802B2ACC 002AFA2C 98 81 00 48 */ stb r4, 0x48(r1) -/* 802B2AD0 002AFA30 7C 03 02 14 */ add r0, r3, r0 -/* 802B2AD4 002AFA34 7C 64 1B 78 */ mr r4, r3 -/* 802B2AD8 002AFA38 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2ADC 002AFA3C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B2AE0 002AFA40 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B2AE4 002AFA44 90 61 00 08 */ stw r3, 8(r1) -/* 802B2AE8 002AFA48 48 00 00 08 */ b lbl_802B2AF0 -lbl_802B2AEC: -/* 802B2AEC 002AFA4C 38 84 00 04 */ addi r4, r4, 4 -lbl_802B2AF0: -/* 802B2AF0 002AFA50 7C 04 00 40 */ cmplw r4, r0 -/* 802B2AF4 002AFA54 40 82 FF F8 */ bne lbl_802B2AEC -/* 802B2AF8 002AFA58 28 03 00 00 */ cmplwi r3, 0 -/* 802B2AFC 002AFA5C 41 82 00 08 */ beq lbl_802B2B04 -/* 802B2B00 002AFA60 48 06 2E 31 */ bl Free__7CMemoryFPCv -lbl_802B2B04: -/* 802B2B04 002AFA64 38 60 00 00 */ li r3, 0 -lbl_802B2B08: -/* 802B2B08 002AFA68 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B2B0C 002AFA6C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802B2B10 002AFA70 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802B2B14 002AFA74 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 802B2B18 002AFA78 7C 08 03 A6 */ mtlr r0 -/* 802B2B1C 002AFA7C 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B2B20 002AFA80 4E 80 00 20 */ blr - -.global CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: -/* 802B2B24 002AFA84 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802B2B28 002AFA88 7C 08 02 A6 */ mflr r0 -/* 802B2B2C 002AFA8C 3C E0 80 3D */ lis r7, lbl_803D6508@ha -/* 802B2B30 002AFA90 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B2B34 002AFA94 38 00 00 0E */ li r0, 0xe -/* 802B2B38 002AFA98 38 E7 65 08 */ addi r7, r7, lbl_803D6508@l -/* 802B2B3C 002AFA9C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802B2B40 002AFAA0 3B E0 00 00 */ li r31, 0 -/* 802B2B44 002AFAA4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802B2B48 002AFAA8 7C DE 33 78 */ mr r30, r6 -/* 802B2B4C 002AFAAC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802B2B50 002AFAB0 7C BD 2B 78 */ mr r29, r5 -/* 802B2B54 002AFAB4 93 81 00 30 */ stw r28, 0x30(r1) -/* 802B2B58 002AFAB8 7C 7C 1B 78 */ mr r28, r3 -/* 802B2B5C 002AFABC 7C 09 03 A6 */ mtctr r0 -lbl_802B2B60: -/* 802B2B60 002AFAC0 80 07 00 00 */ lwz r0, 0(r7) -/* 802B2B64 002AFAC4 7C 04 00 40 */ cmplw r4, r0 -/* 802B2B68 002AFAC8 40 82 01 04 */ bne lbl_802B2C6C -/* 802B2B6C 002AFACC 7F A3 EB 78 */ mr r3, r29 -/* 802B2B70 002AFAD0 48 07 58 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2B74 002AFAD4 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B2B78 002AFAD8 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B2B7C 002AFADC 41 82 00 E8 */ beq lbl_802B2C64 -/* 802B2B80 002AFAE0 7F A3 EB 78 */ mr r3, r29 -/* 802B2B84 002AFAE4 48 08 C1 01 */ bl ReadLong__12CInputStreamFv -/* 802B2B88 002AFAE8 3C 80 44 50 */ lis r4, 0x44505343@ha -/* 802B2B8C 002AFAEC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802B2B90 002AFAF0 38 04 53 43 */ addi r0, r4, 0x44505343@l -/* 802B2B94 002AFAF4 7F C4 F3 78 */ mr r4, r30 -/* 802B2B98 002AFAF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 802B2B9C 002AFAFC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B2BA0 002AFB00 38 A1 00 18 */ addi r5, r1, 0x18 -/* 802B2BA4 002AFB04 81 9E 00 00 */ lwz r12, 0(r30) -/* 802B2BA8 002AFB08 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B2BAC 002AFB0C 7D 89 03 A6 */ mtctr r12 -/* 802B2BB0 002AFB10 4E 80 04 21 */ bctrl -/* 802B2BB4 002AFB14 38 61 00 08 */ addi r3, r1, 8 -/* 802B2BB8 002AFB18 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B2BBC 002AFB1C 48 08 E2 ED */ bl __ct__6CTokenFRC6CToken -/* 802B2BC0 002AFB20 3B A1 00 20 */ addi r29, r1, 0x20 -/* 802B2BC4 002AFB24 38 81 00 08 */ addi r4, r1, 8 -/* 802B2BC8 002AFB28 7F A3 EB 78 */ mr r3, r29 -/* 802B2BCC 002AFB2C 48 08 E2 DD */ bl __ct__6CTokenFRC6CToken -/* 802B2BD0 002AFB30 7F A3 EB 78 */ mr r3, r29 -/* 802B2BD4 002AFB34 48 08 E2 39 */ bl GetObj__6CTokenFv -/* 802B2BD8 002AFB38 80 63 00 04 */ lwz r3, 4(r3) -/* 802B2BDC 002AFB3C 57 E0 20 36 */ slwi r0, r31, 4 -/* 802B2BE0 002AFB40 90 61 00 28 */ stw r3, 0x28(r1) -/* 802B2BE4 002AFB44 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 802B2BE8 002AFB48 7F E3 02 14 */ add r31, r3, r0 -/* 802B2BEC 002AFB4C 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 802B2BF0 002AFB50 28 00 00 00 */ cmplwi r0, 0 -/* 802B2BF4 002AFB54 40 82 00 38 */ bne lbl_802B2C2C -/* 802B2BF8 002AFB58 28 1F 00 00 */ cmplwi r31, 0 -/* 802B2BFC 002AFB5C 41 82 00 24 */ beq lbl_802B2C20 -/* 802B2C00 002AFB60 7F FC FB 78 */ mr r28, r31 -/* 802B2C04 002AFB64 7F E3 FB 78 */ mr r3, r31 -/* 802B2C08 002AFB68 7F A4 EB 78 */ mr r4, r29 -/* 802B2C0C 002AFB6C 48 08 E2 9D */ bl __ct__6CTokenFRC6CToken -/* 802B2C10 002AFB70 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802B2C14 002AFB74 7F 83 E3 78 */ mr r3, r28 -/* 802B2C18 002AFB78 90 1C 00 08 */ stw r0, 8(r28) -/* 802B2C1C 002AFB7C 48 08 E1 69 */ bl Lock__6CTokenFv -lbl_802B2C20: -/* 802B2C20 002AFB80 38 00 00 01 */ li r0, 1 -/* 802B2C24 002AFB84 98 1F 00 0C */ stb r0, 0xc(r31) -/* 802B2C28 002AFB88 48 00 00 18 */ b lbl_802B2C40 -lbl_802B2C2C: -/* 802B2C2C 002AFB8C 7F E3 FB 78 */ mr r3, r31 -/* 802B2C30 002AFB90 7F A4 EB 78 */ mr r4, r29 -/* 802B2C34 002AFB94 48 08 E0 91 */ bl __as__6CTokenFRC6CToken -/* 802B2C38 002AFB98 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802B2C3C 002AFB9C 90 1F 00 08 */ stw r0, 8(r31) -lbl_802B2C40: -/* 802B2C40 002AFBA0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802B2C44 002AFBA4 38 80 00 00 */ li r4, 0 -/* 802B2C48 002AFBA8 48 08 E1 F9 */ bl __dt__6CTokenFv -/* 802B2C4C 002AFBAC 38 61 00 08 */ addi r3, r1, 8 -/* 802B2C50 002AFBB0 38 80 00 00 */ li r4, 0 -/* 802B2C54 002AFBB4 48 08 E1 ED */ bl __dt__6CTokenFv -/* 802B2C58 002AFBB8 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B2C5C 002AFBBC 38 80 FF FF */ li r4, -1 -/* 802B2C60 002AFBC0 48 08 E1 E1 */ bl __dt__6CTokenFv -lbl_802B2C64: -/* 802B2C64 002AFBC4 38 60 00 01 */ li r3, 1 -/* 802B2C68 002AFBC8 48 00 00 14 */ b lbl_802B2C7C -lbl_802B2C6C: -/* 802B2C6C 002AFBCC 38 E7 00 04 */ addi r7, r7, 4 -/* 802B2C70 002AFBD0 3B FF 00 01 */ addi r31, r31, 1 -/* 802B2C74 002AFBD4 42 00 FE EC */ bdnz lbl_802B2B60 -/* 802B2C78 002AFBD8 38 60 00 00 */ li r3, 0 -lbl_802B2C7C: -/* 802B2C7C 002AFBDC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802B2C80 002AFBE0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802B2C84 002AFBE4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802B2C88 002AFBE8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802B2C8C 002AFBEC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 802B2C90 002AFBF0 7C 08 03 A6 */ mtlr r0 -/* 802B2C94 002AFBF4 38 21 00 40 */ addi r1, r1, 0x40 -/* 802B2C98 002AFBF8 4E 80 00 20 */ blr - -.global CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream -CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream: -/* 802B2C9C 002AFBFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B2CA0 002AFC00 7C 08 02 A6 */ mflr r0 -/* 802B2CA4 002AFC04 3C C0 80 3D */ lis r6, lbl_803D6390@ha -/* 802B2CA8 002AFC08 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B2CAC 002AFC0C 38 00 00 5E */ li r0, 0x5e -/* 802B2CB0 002AFC10 38 C6 63 90 */ addi r6, r6, lbl_803D6390@l -/* 802B2CB4 002AFC14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B2CB8 002AFC18 3B E0 00 00 */ li r31, 0 -/* 802B2CBC 002AFC1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B2CC0 002AFC20 7C BE 2B 78 */ mr r30, r5 -/* 802B2CC4 002AFC24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B2CC8 002AFC28 7C 7D 1B 78 */ mr r29, r3 -/* 802B2CCC 002AFC2C 7C 09 03 A6 */ mtctr r0 -lbl_802B2CD0: -/* 802B2CD0 002AFC30 80 06 00 00 */ lwz r0, 0(r6) -/* 802B2CD4 002AFC34 7C 04 00 40 */ cmplw r4, r0 -/* 802B2CD8 002AFC38 40 82 00 34 */ bne lbl_802B2D0C -/* 802B2CDC 002AFC3C 7F C3 F3 78 */ mr r3, r30 -/* 802B2CE0 002AFC40 48 07 57 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2CE4 002AFC44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 802B2CE8 002AFC48 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 802B2CEC 002AFC4C 41 82 00 18 */ beq lbl_802B2D04 -/* 802B2CF0 002AFC50 7F C3 F3 78 */ mr r3, r30 -/* 802B2CF4 002AFC54 48 08 BF 91 */ bl ReadLong__12CInputStreamFv -/* 802B2CF8 002AFC58 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 802B2CFC 002AFC5C 57 E0 10 3A */ slwi r0, r31, 2 -/* 802B2D00 002AFC60 7C 64 01 2E */ stwx r3, r4, r0 -lbl_802B2D04: -/* 802B2D04 002AFC64 38 60 00 01 */ li r3, 1 -/* 802B2D08 002AFC68 48 00 00 14 */ b lbl_802B2D1C -lbl_802B2D0C: -/* 802B2D0C 002AFC6C 38 C6 00 04 */ addi r6, r6, 4 -/* 802B2D10 002AFC70 3B FF 00 01 */ addi r31, r31, 1 -/* 802B2D14 002AFC74 42 00 FF BC */ bdnz lbl_802B2CD0 -/* 802B2D18 002AFC78 38 60 00 00 */ li r3, 0 -lbl_802B2D1C: -/* 802B2D1C 002AFC7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B2D20 002AFC80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B2D24 002AFC84 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B2D28 002AFC88 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B2D2C 002AFC8C 7C 08 03 A6 */ mtlr r0 -/* 802B2D30 002AFC90 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B2D34 002AFC94 4E 80 00 20 */ blr - -.global CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: -/* 802B2D38 002AFC98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B2D3C 002AFC9C 7C 08 02 A6 */ mflr r0 -/* 802B2D40 002AFCA0 3C E0 80 3D */ lis r7, lbl_803D6218@ha -/* 802B2D44 002AFCA4 39 00 00 00 */ li r8, 0 -/* 802B2D48 002AFCA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B2D4C 002AFCAC 38 00 00 5E */ li r0, 0x5e -/* 802B2D50 002AFCB0 38 E7 62 18 */ addi r7, r7, lbl_803D6218@l -/* 802B2D54 002AFCB4 7C 09 03 A6 */ mtctr r0 -lbl_802B2D58: -/* 802B2D58 002AFCB8 80 07 00 00 */ lwz r0, 0(r7) -/* 802B2D5C 002AFCBC 7C 04 00 40 */ cmplw r4, r0 -/* 802B2D60 002AFCC0 40 82 00 14 */ bne lbl_802B2D74 -/* 802B2D64 002AFCC4 7D 04 43 78 */ mr r4, r8 -/* 802B2D68 002AFCC8 4B FF FB B5 */ bl AddParticleSystemToResponse__22CCollisionResponseDataF29EWeaponCollisionResponseTypesR12CInputStreamP11CSimplePool -/* 802B2D6C 002AFCCC 38 60 00 01 */ li r3, 1 -/* 802B2D70 002AFCD0 48 00 00 14 */ b lbl_802B2D84 -lbl_802B2D74: -/* 802B2D74 002AFCD4 38 E7 00 04 */ addi r7, r7, 4 -/* 802B2D78 002AFCD8 39 08 00 01 */ addi r8, r8, 1 -/* 802B2D7C 002AFCDC 42 00 FF DC */ bdnz lbl_802B2D58 -/* 802B2D80 002AFCE0 38 60 00 00 */ li r3, 0 -lbl_802B2D84: -/* 802B2D84 002AFCE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B2D88 002AFCE8 7C 08 03 A6 */ mtlr r0 -/* 802B2D8C 002AFCEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B2D90 002AFCF0 4E 80 00 20 */ blr - -.global CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool: -/* 802B2D94 002AFCF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B2D98 002AFCF8 7C 08 02 A6 */ mflr r0 -/* 802B2D9C 002AFCFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B2DA0 002AFD00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B2DA4 002AFD04 7C DF 33 78 */ mr r31, r6 -/* 802B2DA8 002AFD08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B2DAC 002AFD0C 7C BE 2B 78 */ mr r30, r5 -/* 802B2DB0 002AFD10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B2DB4 002AFD14 7C 9D 23 78 */ mr r29, r4 -/* 802B2DB8 002AFD18 93 81 00 10 */ stw r28, 0x10(r1) -/* 802B2DBC 002AFD1C 7C 7C 1B 78 */ mr r28, r3 -/* 802B2DC0 002AFD20 4B FF FF 79 */ bl CheckAndAddParticleSystemToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -/* 802B2DC4 002AFD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2DC8 002AFD28 41 82 00 0C */ beq lbl_802B2DD4 -/* 802B2DCC 002AFD2C 38 60 00 01 */ li r3, 1 -/* 802B2DD0 002AFD30 48 00 00 48 */ b lbl_802B2E18 -lbl_802B2DD4: -/* 802B2DD4 002AFD34 7F 83 E3 78 */ mr r3, r28 -/* 802B2DD8 002AFD38 7F A4 EB 78 */ mr r4, r29 -/* 802B2DDC 002AFD3C 7F C5 F3 78 */ mr r5, r30 -/* 802B2DE0 002AFD40 4B FF FE BD */ bl CheckAndAddSoundFXToResponse__22CCollisionResponseDataFUiR12CInputStream -/* 802B2DE4 002AFD44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2DE8 002AFD48 41 82 00 0C */ beq lbl_802B2DF4 -/* 802B2DEC 002AFD4C 38 60 00 01 */ li r3, 1 -/* 802B2DF0 002AFD50 48 00 00 28 */ b lbl_802B2E18 -lbl_802B2DF4: -/* 802B2DF4 002AFD54 7F 83 E3 78 */ mr r3, r28 -/* 802B2DF8 002AFD58 7F A4 EB 78 */ mr r4, r29 -/* 802B2DFC 002AFD5C 7F C5 F3 78 */ mr r5, r30 -/* 802B2E00 002AFD60 7F E6 FB 78 */ mr r6, r31 -/* 802B2E04 002AFD64 4B FF FD 21 */ bl CheckAndAddDecalToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -/* 802B2E08 002AFD68 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 802B2E0C 002AFD6C 7C 03 00 D0 */ neg r0, r3 -/* 802B2E10 002AFD70 7C 00 1B 78 */ or r0, r0, r3 -/* 802B2E14 002AFD74 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_802B2E18: -/* 802B2E18 002AFD78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B2E1C 002AFD7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B2E20 002AFD80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B2E24 002AFD84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B2E28 002AFD88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802B2E2C 002AFD8C 7C 08 03 A6 */ mtlr r0 -/* 802B2E30 002AFD90 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B2E34 002AFD94 4E 80 00 20 */ blr - -.global __ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool -__ct__22CCollisionResponseDataFR12CInputStreamP11CSimplePool: -/* 802B2E38 002AFD98 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802B2E3C 002AFD9C 7C 08 02 A6 */ mflr r0 -/* 802B2E40 002AFDA0 C0 22 C2 44 */ lfs f1, lbl_805ADF64@sda21(r2) -/* 802B2E44 002AFDA4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802B2E48 002AFDA8 38 00 00 00 */ li r0, 0 -/* 802B2E4C 002AFDAC C0 02 C2 48 */ lfs f0, lbl_805ADF68@sda21(r2) -/* 802B2E50 002AFDB0 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802B2E54 002AFDB4 7C 9D 23 78 */ mr r29, r4 -/* 802B2E58 002AFDB8 7C BE 2B 78 */ mr r30, r5 -/* 802B2E5C 002AFDBC 7C 7C 1B 78 */ mr r28, r3 -/* 802B2E60 002AFDC0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802B2E64 002AFDC4 3B E0 00 00 */ li r31, 0 -/* 802B2E68 002AFDC8 38 80 00 5E */ li r4, 0x5e -/* 802B2E6C 002AFDCC 90 03 00 04 */ stw r0, 4(r3) -/* 802B2E70 002AFDD0 90 03 00 08 */ stw r0, 8(r3) -/* 802B2E74 002AFDD4 90 03 00 0C */ stw r0, 0xc(r3) -/* 802B2E78 002AFDD8 90 03 00 14 */ stw r0, 0x14(r3) -/* 802B2E7C 002AFDDC 90 03 00 18 */ stw r0, 0x18(r3) -/* 802B2E80 002AFDE0 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802B2E84 002AFDE4 90 03 00 24 */ stw r0, 0x24(r3) -/* 802B2E88 002AFDE8 90 03 00 28 */ stw r0, 0x28(r3) -/* 802B2E8C 002AFDEC 90 03 00 2C */ stw r0, 0x2c(r3) -/* 802B2E90 002AFDF0 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 802B2E94 002AFDF4 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802B2E98 002AFDF8 98 01 00 28 */ stb r0, 0x28(r1) -/* 802B2E9C 002AFDFC 48 00 04 0D */ bl "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" -/* 802B2EA0 002AFE00 88 01 00 28 */ lbz r0, 0x28(r1) -/* 802B2EA4 002AFE04 28 00 00 00 */ cmplwi r0, 0 -/* 802B2EA8 002AFE08 41 82 00 1C */ beq lbl_802B2EC4 -/* 802B2EAC 002AFE0C 34 61 00 1C */ addic. r3, r1, 0x1c -/* 802B2EB0 002AFE10 41 82 00 14 */ beq lbl_802B2EC4 -/* 802B2EB4 002AFE14 28 03 00 00 */ cmplwi r3, 0 -/* 802B2EB8 002AFE18 41 82 00 0C */ beq lbl_802B2EC4 -/* 802B2EBC 002AFE1C 38 80 00 00 */ li r4, 0 -/* 802B2EC0 002AFE20 48 08 DF 81 */ bl __dt__6CTokenFv -lbl_802B2EC4: -/* 802B2EC4 002AFE24 38 00 00 00 */ li r0, 0 -/* 802B2EC8 002AFE28 38 7C 00 10 */ addi r3, r28, 0x10 -/* 802B2ECC 002AFE2C 98 01 00 28 */ stb r0, 0x28(r1) -/* 802B2ED0 002AFE30 38 80 00 5E */ li r4, 0x5e -/* 802B2ED4 002AFE34 38 A2 C2 40 */ addi r5, r2, lbl_805ADF60@sda21 -/* 802B2ED8 002AFE38 48 00 02 E1 */ bl "resize__Q24rstl36vectorFi" -/* 802B2EDC 002AFE3C 38 00 00 00 */ li r0, 0 -/* 802B2EE0 002AFE40 38 7C 00 20 */ addi r3, r28, 0x20 -/* 802B2EE4 002AFE44 98 01 00 18 */ stb r0, 0x18(r1) -/* 802B2EE8 002AFE48 38 A1 00 0C */ addi r5, r1, 0xc -/* 802B2EEC 002AFE4C 38 80 00 5E */ li r4, 0x5e -/* 802B2EF0 002AFE50 48 00 01 49 */ bl "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" -/* 802B2EF4 002AFE54 88 01 00 18 */ lbz r0, 0x18(r1) -/* 802B2EF8 002AFE58 28 00 00 00 */ cmplwi r0, 0 -/* 802B2EFC 002AFE5C 41 82 00 1C */ beq lbl_802B2F18 -/* 802B2F00 002AFE60 34 61 00 0C */ addic. r3, r1, 0xc -/* 802B2F04 002AFE64 41 82 00 14 */ beq lbl_802B2F18 -/* 802B2F08 002AFE68 28 03 00 00 */ cmplwi r3, 0 -/* 802B2F0C 002AFE6C 41 82 00 0C */ beq lbl_802B2F18 -/* 802B2F10 002AFE70 38 80 00 00 */ li r4, 0 -/* 802B2F14 002AFE74 48 08 DF 2D */ bl __dt__6CTokenFv -lbl_802B2F18: -/* 802B2F18 002AFE78 38 00 00 00 */ li r0, 0 -/* 802B2F1C 002AFE7C 7F A3 EB 78 */ mr r3, r29 -/* 802B2F20 002AFE80 98 01 00 18 */ stb r0, 0x18(r1) -/* 802B2F24 002AFE84 48 07 55 39 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2F28 002AFE88 3C 03 BC AE */ addis r0, r3, 0xbcae -/* 802B2F2C 002AFE8C 28 00 53 4D */ cmplwi r0, 0x534d -/* 802B2F30 002AFE90 41 82 00 0C */ beq lbl_802B2F3C -/* 802B2F34 002AFE94 7F 83 E3 78 */ mr r3, r28 -/* 802B2F38 002AFE98 48 00 00 EC */ b lbl_802B3024 -lbl_802B2F3C: -/* 802B2F3C 002AFE9C 38 61 00 08 */ addi r3, r1, 8 -/* 802B2F40 002AFEA0 38 80 00 63 */ li r4, 0x63 -/* 802B2F44 002AFEA4 48 05 F6 A9 */ bl __ct__9CRandom16FUi -/* 802B2F48 002AFEA8 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B2F4C 002AFEAC 38 81 00 08 */ addi r4, r1, 8 -/* 802B2F50 002AFEB0 48 05 F7 31 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B2F54 002AFEB4 48 00 00 B8 */ b lbl_802B300C -lbl_802B2F58: -/* 802B2F58 002AFEB8 7F A3 EB 78 */ mr r3, r29 -/* 802B2F5C 002AFEBC 48 07 55 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2F60 002AFEC0 7C 60 1B 78 */ mr r0, r3 -/* 802B2F64 002AFEC4 7F 83 E3 78 */ mr r3, r28 -/* 802B2F68 002AFEC8 7C 1B 03 78 */ mr r27, r0 -/* 802B2F6C 002AFECC 7F A5 EB 78 */ mr r5, r29 -/* 802B2F70 002AFED0 7F 64 DB 78 */ mr r4, r27 -/* 802B2F74 002AFED4 7F C6 F3 78 */ mr r6, r30 -/* 802B2F78 002AFED8 4B FF FE 1D */ bl CheckAndAddResourcesToResponse__22CCollisionResponseDataFUiR12CInputStreamP11CSimplePool -/* 802B2F7C 002AFEDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B2F80 002AFEE0 40 82 00 8C */ bne lbl_802B300C -/* 802B2F84 002AFEE4 3C 60 52 4E */ lis r3, 0x524E4745@ha -/* 802B2F88 002AFEE8 38 03 47 45 */ addi r0, r3, 0x524E4745@l -/* 802B2F8C 002AFEEC 7C 1B 00 00 */ cmpw r27, r0 -/* 802B2F90 002AFEF0 41 82 00 30 */ beq lbl_802B2FC0 -/* 802B2F94 002AFEF4 40 80 00 18 */ bge lbl_802B2FAC -/* 802B2F98 002AFEF8 3C 60 46 4F */ lis r3, 0x464F4646@ha -/* 802B2F9C 002AFEFC 38 03 46 46 */ addi r0, r3, 0x464F4646@l -/* 802B2FA0 002AFF00 7C 1B 00 00 */ cmpw r27, r0 -/* 802B2FA4 002AFF04 41 82 00 34 */ beq lbl_802B2FD8 -/* 802B2FA8 002AFF08 48 00 00 50 */ b lbl_802B2FF8 -lbl_802B2FAC: -/* 802B2FAC 002AFF0C 3C 60 5F 45 */ lis r3, 0x5F454E44@ha -/* 802B2FB0 002AFF10 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l -/* 802B2FB4 002AFF14 7C 1B 00 00 */ cmpw r27, r0 -/* 802B2FB8 002AFF18 41 82 00 38 */ beq lbl_802B2FF0 -/* 802B2FBC 002AFF1C 48 00 00 3C */ b lbl_802B2FF8 -lbl_802B2FC0: -/* 802B2FC0 002AFF20 7F A3 EB 78 */ mr r3, r29 -/* 802B2FC4 002AFF24 48 07 54 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2FC8 002AFF28 7F A3 EB 78 */ mr r3, r29 -/* 802B2FCC 002AFF2C 48 07 54 1D */ bl GetReal__20CParticleDataFactoryFR12CInputStream -/* 802B2FD0 002AFF30 D0 3C 00 30 */ stfs f1, 0x30(r28) -/* 802B2FD4 002AFF34 48 00 00 38 */ b lbl_802B300C -lbl_802B2FD8: -/* 802B2FD8 002AFF38 7F A3 EB 78 */ mr r3, r29 -/* 802B2FDC 002AFF3C 48 07 54 81 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B2FE0 002AFF40 7F A3 EB 78 */ mr r3, r29 -/* 802B2FE4 002AFF44 48 07 54 05 */ bl GetReal__20CParticleDataFactoryFR12CInputStream -/* 802B2FE8 002AFF48 D0 3C 00 34 */ stfs f1, 0x34(r28) -/* 802B2FEC 002AFF4C 48 00 00 20 */ b lbl_802B300C -lbl_802B2FF0: -/* 802B2FF0 002AFF50 3B E0 00 01 */ li r31, 1 -/* 802B2FF4 002AFF54 48 00 00 18 */ b lbl_802B300C -lbl_802B2FF8: -/* 802B2FF8 002AFF58 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B2FFC 002AFF5C 38 80 FF FF */ li r4, -1 -/* 802B3000 002AFF60 48 05 F6 05 */ bl __dt__13CGlobalRandomFv -/* 802B3004 002AFF64 7F 83 E3 78 */ mr r3, r28 -/* 802B3008 002AFF68 48 00 00 1C */ b lbl_802B3024 -lbl_802B300C: -/* 802B300C 002AFF6C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802B3010 002AFF70 41 82 FF 48 */ beq lbl_802B2F58 -/* 802B3014 002AFF74 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B3018 002AFF78 38 80 FF FF */ li r4, -1 -/* 802B301C 002AFF7C 48 05 F5 E9 */ bl __dt__13CGlobalRandomFv -/* 802B3020 002AFF80 7F 83 E3 78 */ mr r3, r28 -lbl_802B3024: -/* 802B3024 002AFF84 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802B3028 002AFF88 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802B302C 002AFF8C 7C 08 03 A6 */ mtlr r0 -/* 802B3030 002AFF90 38 21 00 50 */ addi r1, r1, 0x50 -/* 802B3034 002AFF94 4E 80 00 20 */ blr - -.global "resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" -"resize__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": -/* 802B3038 002AFF98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B303C 002AFF9C 7C 08 02 A6 */ mflr r0 -/* 802B3040 002AFFA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B3044 002AFFA4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802B3048 002AFFA8 7C 7B 1B 78 */ mr r27, r3 -/* 802B304C 002AFFAC 7C 9C 23 78 */ mr r28, r4 -/* 802B3050 002AFFB0 7C BD 2B 78 */ mr r29, r5 -/* 802B3054 002AFFB4 48 00 00 B9 */ bl sub_802b310c -/* 802B3058 002AFFB8 7F 63 DB 78 */ mr r3, r27 -/* 802B305C 002AFFBC 7F 84 E3 78 */ mr r4, r28 -/* 802B3060 002AFFC0 48 00 05 09 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" -/* 802B3064 002AFFC4 3B C0 00 00 */ li r30, 0 -/* 802B3068 002AFFC8 48 00 00 88 */ b lbl_802B30F0 -lbl_802B306C: -/* 802B306C 002AFFCC 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B3070 002AFFD0 80 BB 00 08 */ lwz r5, 8(r27) -/* 802B3074 002AFFD4 7C 00 28 00 */ cmpw r0, r5 -/* 802B3078 002AFFD8 41 80 00 1C */ blt lbl_802B3094 -/* 802B307C 002AFFDC 2C 05 00 00 */ cmpwi r5, 0 -/* 802B3080 002AFFE0 7F 63 DB 78 */ mr r3, r27 -/* 802B3084 002AFFE4 38 80 00 04 */ li r4, 4 -/* 802B3088 002AFFE8 41 82 00 08 */ beq lbl_802B3090 -/* 802B308C 002AFFEC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802B3090: -/* 802B3090 002AFFF0 48 00 04 D9 */ bl "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" -lbl_802B3094: -/* 802B3094 002AFFF4 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B3098 002AFFF8 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802B309C 002AFFFC 54 00 20 36 */ slwi r0, r0, 4 -/* 802B30A0 002B0000 7F E3 02 15 */ add. r31, r3, r0 -/* 802B30A4 002B0004 41 82 00 3C */ beq lbl_802B30E0 -/* 802B30A8 002B0008 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B30AC 002B000C 98 1F 00 0C */ stb r0, 0xc(r31) -/* 802B30B0 002B0010 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B30B4 002B0014 28 00 00 00 */ cmplwi r0, 0 -/* 802B30B8 002B0018 41 82 00 28 */ beq lbl_802B30E0 -/* 802B30BC 002B001C 28 1F 00 00 */ cmplwi r31, 0 -/* 802B30C0 002B0020 41 82 00 20 */ beq lbl_802B30E0 -/* 802B30C4 002B0024 7F E3 FB 78 */ mr r3, r31 -/* 802B30C8 002B0028 7F A4 EB 78 */ mr r4, r29 -/* 802B30CC 002B002C 48 08 DD DD */ bl __ct__6CTokenFRC6CToken -/* 802B30D0 002B0030 80 1D 00 08 */ lwz r0, 8(r29) -/* 802B30D4 002B0034 7F E3 FB 78 */ mr r3, r31 -/* 802B30D8 002B0038 90 1F 00 08 */ stw r0, 8(r31) -/* 802B30DC 002B003C 48 08 DC A9 */ bl Lock__6CTokenFv -lbl_802B30E0: -/* 802B30E0 002B0040 80 7B 00 04 */ lwz r3, 4(r27) -/* 802B30E4 002B0044 3B DE 00 01 */ addi r30, r30, 1 -/* 802B30E8 002B0048 38 03 00 01 */ addi r0, r3, 1 -/* 802B30EC 002B004C 90 1B 00 04 */ stw r0, 4(r27) -lbl_802B30F0: -/* 802B30F0 002B0050 7C 1E E0 00 */ cmpw r30, r28 -/* 802B30F4 002B0054 41 80 FF 78 */ blt lbl_802B306C -/* 802B30F8 002B0058 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802B30FC 002B005C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B3100 002B0060 7C 08 03 A6 */ mtlr r0 -/* 802B3104 002B0064 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B3108 002B0068 4E 80 00 20 */ blr - -.global sub_802b310c -sub_802b310c: -/* 802B310C 002B006C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B3110 002B0070 7C 08 02 A6 */ mflr r0 -/* 802B3114 002B0074 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B3118 002B0078 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B311C 002B007C 3B E0 00 00 */ li r31, 0 -/* 802B3120 002B0080 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B3124 002B0084 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802B3128 002B0088 93 81 00 20 */ stw r28, 0x20(r1) -/* 802B312C 002B008C 7C 7C 1B 78 */ mr r28, r3 -/* 802B3130 002B0090 80 03 00 04 */ lwz r0, 4(r3) -/* 802B3134 002B0094 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 802B3138 002B0098 54 00 20 36 */ slwi r0, r0, 4 -/* 802B313C 002B009C 7F DD 02 14 */ add r30, r29, r0 -/* 802B3140 002B00A0 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802B3144 002B00A4 93 C1 00 08 */ stw r30, 8(r1) -/* 802B3148 002B00A8 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802B314C 002B00AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B3150 002B00B0 48 00 00 38 */ b lbl_802B3188 -lbl_802B3154: -/* 802B3154 002B00B4 28 1D 00 00 */ cmplwi r29, 0 -/* 802B3158 002B00B8 41 82 00 2C */ beq lbl_802B3184 -/* 802B315C 002B00BC 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B3160 002B00C0 28 00 00 00 */ cmplwi r0, 0 -/* 802B3164 002B00C4 41 82 00 1C */ beq lbl_802B3180 -/* 802B3168 002B00C8 28 1D 00 00 */ cmplwi r29, 0 -/* 802B316C 002B00CC 41 82 00 14 */ beq lbl_802B3180 -/* 802B3170 002B00D0 41 82 00 10 */ beq lbl_802B3180 -/* 802B3174 002B00D4 7F A3 EB 78 */ mr r3, r29 -/* 802B3178 002B00D8 38 80 00 00 */ li r4, 0 -/* 802B317C 002B00DC 48 08 DC C5 */ bl __dt__6CTokenFv -lbl_802B3180: -/* 802B3180 002B00E0 9B FD 00 0C */ stb r31, 0xc(r29) -lbl_802B3184: -/* 802B3184 002B00E4 3B BD 00 10 */ addi r29, r29, 0x10 -lbl_802B3188: -/* 802B3188 002B00E8 7C 1D F0 40 */ cmplw r29, r30 -/* 802B318C 002B00EC 40 82 FF C8 */ bne lbl_802B3154 -/* 802B3190 002B00F0 38 00 00 00 */ li r0, 0 -/* 802B3194 002B00F4 90 1C 00 04 */ stw r0, 4(r28) -/* 802B3198 002B00F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B319C 002B00FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B31A0 002B0100 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B31A4 002B0104 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802B31A8 002B0108 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802B31AC 002B010C 7C 08 03 A6 */ mtlr r0 -/* 802B31B0 002B0110 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B31B4 002B0114 4E 80 00 20 */ blr - -.global "resize__Q24rstl36vectorFi" -"resize__Q24rstl36vectorFi": -/* 802B31B8 002B0118 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B31BC 002B011C 7C 08 02 A6 */ mflr r0 -/* 802B31C0 002B0120 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B31C4 002B0124 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B31C8 002B0128 7C BF 2B 78 */ mr r31, r5 -/* 802B31CC 002B012C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B31D0 002B0130 7C 9E 23 78 */ mr r30, r4 -/* 802B31D4 002B0134 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802B31D8 002B0138 7C 7D 1B 78 */ mr r29, r3 -/* 802B31DC 002B013C 93 81 00 20 */ stw r28, 0x20(r1) -/* 802B31E0 002B0140 80 03 00 04 */ lwz r0, 4(r3) -/* 802B31E4 002B0144 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802B31E8 002B0148 54 00 10 3A */ slwi r0, r0, 2 -/* 802B31EC 002B014C 7C 03 02 14 */ add r0, r3, r0 -/* 802B31F0 002B0150 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B31F4 002B0154 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B31F8 002B0158 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B31FC 002B015C 90 61 00 08 */ stw r3, 8(r1) -/* 802B3200 002B0160 48 00 00 08 */ b lbl_802B3208 -lbl_802B3204: -/* 802B3204 002B0164 38 63 00 04 */ addi r3, r3, 4 -lbl_802B3208: -/* 802B3208 002B0168 7C 03 00 40 */ cmplw r3, r0 -/* 802B320C 002B016C 40 82 FF F8 */ bne lbl_802B3204 -/* 802B3210 002B0170 38 00 00 00 */ li r0, 0 -/* 802B3214 002B0174 7F A3 EB 78 */ mr r3, r29 -/* 802B3218 002B0178 90 1D 00 04 */ stw r0, 4(r29) -/* 802B321C 002B017C 7F C4 F3 78 */ mr r4, r30 -/* 802B3220 002B0180 4B DA 6A 89 */ bl "reserve__Q24rstl36vectorFi" -/* 802B3224 002B0184 3B 80 00 00 */ li r28, 0 -/* 802B3228 002B0188 48 00 00 58 */ b lbl_802B3280 -lbl_802B322C: -/* 802B322C 002B018C 80 1D 00 04 */ lwz r0, 4(r29) -/* 802B3230 002B0190 80 BD 00 08 */ lwz r5, 8(r29) -/* 802B3234 002B0194 7C 00 28 00 */ cmpw r0, r5 -/* 802B3238 002B0198 41 80 00 1C */ blt lbl_802B3254 -/* 802B323C 002B019C 2C 05 00 00 */ cmpwi r5, 0 -/* 802B3240 002B01A0 7F A3 EB 78 */ mr r3, r29 -/* 802B3244 002B01A4 38 80 00 04 */ li r4, 4 -/* 802B3248 002B01A8 41 82 00 08 */ beq lbl_802B3250 -/* 802B324C 002B01AC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802B3250: -/* 802B3250 002B01B0 4B DA 6A 59 */ bl "reserve__Q24rstl36vectorFi" -lbl_802B3254: -/* 802B3254 002B01B4 80 1D 00 04 */ lwz r0, 4(r29) -/* 802B3258 002B01B8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802B325C 002B01BC 54 00 10 3A */ slwi r0, r0, 2 -/* 802B3260 002B01C0 7C 63 02 15 */ add. r3, r3, r0 -/* 802B3264 002B01C4 41 82 00 0C */ beq lbl_802B3270 -/* 802B3268 002B01C8 80 1F 00 00 */ lwz r0, 0(r31) -/* 802B326C 002B01CC 90 03 00 00 */ stw r0, 0(r3) -lbl_802B3270: -/* 802B3270 002B01D0 80 7D 00 04 */ lwz r3, 4(r29) -/* 802B3274 002B01D4 3B 9C 00 01 */ addi r28, r28, 1 -/* 802B3278 002B01D8 38 03 00 01 */ addi r0, r3, 1 -/* 802B327C 002B01DC 90 1D 00 04 */ stw r0, 4(r29) -lbl_802B3280: -/* 802B3280 002B01E0 7C 1C F0 00 */ cmpw r28, r30 -/* 802B3284 002B01E4 41 80 FF A8 */ blt lbl_802B322C -/* 802B3288 002B01E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B328C 002B01EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B3290 002B01F0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B3294 002B01F4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802B3298 002B01F8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802B329C 002B01FC 7C 08 03 A6 */ mtlr r0 -/* 802B32A0 002B0200 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B32A4 002B0204 4E 80 00 20 */ blr - -.global "resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" -"resize__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": -/* 802B32A8 002B0208 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B32AC 002B020C 7C 08 02 A6 */ mflr r0 -/* 802B32B0 002B0210 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B32B4 002B0214 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802B32B8 002B0218 7C 7B 1B 78 */ mr r27, r3 -/* 802B32BC 002B021C 7C 9C 23 78 */ mr r28, r4 -/* 802B32C0 002B0220 7C BD 2B 78 */ mr r29, r5 -/* 802B32C4 002B0224 48 00 00 B9 */ bl "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" -/* 802B32C8 002B0228 7F 63 DB 78 */ mr r3, r27 -/* 802B32CC 002B022C 7F 84 E3 78 */ mr r4, r28 -/* 802B32D0 002B0230 48 00 01 59 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" -/* 802B32D4 002B0234 3B C0 00 00 */ li r30, 0 -/* 802B32D8 002B0238 48 00 00 88 */ b lbl_802B3360 -lbl_802B32DC: -/* 802B32DC 002B023C 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B32E0 002B0240 80 BB 00 08 */ lwz r5, 8(r27) -/* 802B32E4 002B0244 7C 00 28 00 */ cmpw r0, r5 -/* 802B32E8 002B0248 41 80 00 1C */ blt lbl_802B3304 -/* 802B32EC 002B024C 2C 05 00 00 */ cmpwi r5, 0 -/* 802B32F0 002B0250 7F 63 DB 78 */ mr r3, r27 -/* 802B32F4 002B0254 38 80 00 04 */ li r4, 4 -/* 802B32F8 002B0258 41 82 00 08 */ beq lbl_802B3300 -/* 802B32FC 002B025C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802B3300: -/* 802B3300 002B0260 48 00 01 29 */ bl "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" -lbl_802B3304: -/* 802B3304 002B0264 80 1B 00 04 */ lwz r0, 4(r27) -/* 802B3308 002B0268 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 802B330C 002B026C 54 00 20 36 */ slwi r0, r0, 4 -/* 802B3310 002B0270 7F E3 02 15 */ add. r31, r3, r0 -/* 802B3314 002B0274 41 82 00 3C */ beq lbl_802B3350 -/* 802B3318 002B0278 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B331C 002B027C 98 1F 00 0C */ stb r0, 0xc(r31) -/* 802B3320 002B0280 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B3324 002B0284 28 00 00 00 */ cmplwi r0, 0 -/* 802B3328 002B0288 41 82 00 28 */ beq lbl_802B3350 -/* 802B332C 002B028C 28 1F 00 00 */ cmplwi r31, 0 -/* 802B3330 002B0290 41 82 00 20 */ beq lbl_802B3350 -/* 802B3334 002B0294 7F E3 FB 78 */ mr r3, r31 -/* 802B3338 002B0298 7F A4 EB 78 */ mr r4, r29 -/* 802B333C 002B029C 48 08 DB 6D */ bl __ct__6CTokenFRC6CToken -/* 802B3340 002B02A0 80 1D 00 08 */ lwz r0, 8(r29) -/* 802B3344 002B02A4 7F E3 FB 78 */ mr r3, r31 -/* 802B3348 002B02A8 90 1F 00 08 */ stw r0, 8(r31) -/* 802B334C 002B02AC 48 08 DA 39 */ bl Lock__6CTokenFv -lbl_802B3350: -/* 802B3350 002B02B0 80 7B 00 04 */ lwz r3, 4(r27) -/* 802B3354 002B02B4 3B DE 00 01 */ addi r30, r30, 1 -/* 802B3358 002B02B8 38 03 00 01 */ addi r0, r3, 1 -/* 802B335C 002B02BC 90 1B 00 04 */ stw r0, 4(r27) -lbl_802B3360: -/* 802B3360 002B02C0 7C 1E E0 00 */ cmpw r30, r28 -/* 802B3364 002B02C4 41 80 FF 78 */ blt lbl_802B32DC -/* 802B3368 002B02C8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802B336C 002B02CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B3370 002B02D0 7C 08 03 A6 */ mtlr r0 -/* 802B3374 002B02D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B3378 002B02D8 4E 80 00 20 */ blr - -.global "clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv" -"clear__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fv": -/* 802B337C 002B02DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B3380 002B02E0 7C 08 02 A6 */ mflr r0 -/* 802B3384 002B02E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B3388 002B02E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B338C 002B02EC 3B E0 00 00 */ li r31, 0 -/* 802B3390 002B02F0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B3394 002B02F4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802B3398 002B02F8 93 81 00 20 */ stw r28, 0x20(r1) -/* 802B339C 002B02FC 7C 7C 1B 78 */ mr r28, r3 -/* 802B33A0 002B0300 80 03 00 04 */ lwz r0, 4(r3) -/* 802B33A4 002B0304 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 802B33A8 002B0308 54 00 20 36 */ slwi r0, r0, 4 -/* 802B33AC 002B030C 7F DD 02 14 */ add r30, r29, r0 -/* 802B33B0 002B0310 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802B33B4 002B0314 93 C1 00 08 */ stw r30, 8(r1) -/* 802B33B8 002B0318 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802B33BC 002B031C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B33C0 002B0320 48 00 00 38 */ b lbl_802B33F8 -lbl_802B33C4: -/* 802B33C4 002B0324 28 1D 00 00 */ cmplwi r29, 0 -/* 802B33C8 002B0328 41 82 00 2C */ beq lbl_802B33F4 -/* 802B33CC 002B032C 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 802B33D0 002B0330 28 00 00 00 */ cmplwi r0, 0 -/* 802B33D4 002B0334 41 82 00 1C */ beq lbl_802B33F0 -/* 802B33D8 002B0338 28 1D 00 00 */ cmplwi r29, 0 -/* 802B33DC 002B033C 41 82 00 14 */ beq lbl_802B33F0 -/* 802B33E0 002B0340 41 82 00 10 */ beq lbl_802B33F0 -/* 802B33E4 002B0344 7F A3 EB 78 */ mr r3, r29 -/* 802B33E8 002B0348 38 80 00 00 */ li r4, 0 -/* 802B33EC 002B034C 48 08 DA 55 */ bl __dt__6CTokenFv -lbl_802B33F0: -/* 802B33F0 002B0350 9B FD 00 0C */ stb r31, 0xc(r29) -lbl_802B33F4: -/* 802B33F4 002B0354 3B BD 00 10 */ addi r29, r29, 0x10 -lbl_802B33F8: -/* 802B33F8 002B0358 7C 1D F0 40 */ cmplw r29, r30 -/* 802B33FC 002B035C 40 82 FF C8 */ bne lbl_802B33C4 -/* 802B3400 002B0360 38 00 00 00 */ li r0, 0 -/* 802B3404 002B0364 90 1C 00 04 */ stw r0, 4(r28) -/* 802B3408 002B0368 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B340C 002B036C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B3410 002B0370 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B3414 002B0374 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802B3418 002B0378 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802B341C 002B037C 7C 08 03 A6 */ mtlr r0 -/* 802B3420 002B0380 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B3424 002B0384 4E 80 00 20 */ blr - -.global "reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl94vector>,Q24rstl17rmemory_allocator>Fi": -/* 802B3428 002B0388 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B342C 002B038C 7C 08 02 A6 */ mflr r0 -/* 802B3430 002B0390 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B3434 002B0394 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802B3438 002B0398 7C 9F 23 78 */ mr r31, r4 -/* 802B343C 002B039C 7C 7E 1B 78 */ mr r30, r3 -/* 802B3440 002B03A0 80 03 00 08 */ lwz r0, 8(r3) -/* 802B3444 002B03A4 7C 1F 00 00 */ cmpw r31, r0 -/* 802B3448 002B03A8 40 81 01 0C */ ble lbl_802B3554 -/* 802B344C 002B03AC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 802B3450 002B03B0 40 82 00 0C */ bne lbl_802B345C -/* 802B3454 002B03B4 3B 80 00 00 */ li r28, 0 -/* 802B3458 002B03B8 48 00 00 18 */ b lbl_802B3470 -lbl_802B345C: -/* 802B345C 002B03BC 3C 80 80 3D */ lis r4, lbl_803D6540@ha -/* 802B3460 002B03C0 38 A0 00 00 */ li r5, 0 -/* 802B3464 002B03C4 38 84 65 40 */ addi r4, r4, lbl_803D6540@l -/* 802B3468 002B03C8 48 06 23 B1 */ bl __nwa__FUlPCcPCc -/* 802B346C 002B03CC 7C 7C 1B 78 */ mr r28, r3 -lbl_802B3470: -/* 802B3470 002B03D0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802B3474 002B03D4 7F 9B E3 78 */ mr r27, r28 -/* 802B3478 002B03D8 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802B347C 002B03DC 54 00 20 36 */ slwi r0, r0, 4 -/* 802B3480 002B03E0 7F BA 02 14 */ add r29, r26, r0 -/* 802B3484 002B03E4 93 41 00 10 */ stw r26, 0x10(r1) -/* 802B3488 002B03E8 93 A1 00 08 */ stw r29, 8(r1) -/* 802B348C 002B03EC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802B3490 002B03F0 93 41 00 14 */ stw r26, 0x14(r1) -/* 802B3494 002B03F4 48 00 00 4C */ b lbl_802B34E0 -lbl_802B3498: -/* 802B3498 002B03F8 28 1B 00 00 */ cmplwi r27, 0 -/* 802B349C 002B03FC 41 82 00 3C */ beq lbl_802B34D8 -/* 802B34A0 002B0400 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B34A4 002B0404 98 1B 00 0C */ stb r0, 0xc(r27) -/* 802B34A8 002B0408 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B34AC 002B040C 28 00 00 00 */ cmplwi r0, 0 -/* 802B34B0 002B0410 41 82 00 28 */ beq lbl_802B34D8 -/* 802B34B4 002B0414 28 1B 00 00 */ cmplwi r27, 0 -/* 802B34B8 002B0418 41 82 00 20 */ beq lbl_802B34D8 -/* 802B34BC 002B041C 7F 63 DB 78 */ mr r3, r27 -/* 802B34C0 002B0420 7F 44 D3 78 */ mr r4, r26 -/* 802B34C4 002B0424 48 08 D9 E5 */ bl __ct__6CTokenFRC6CToken -/* 802B34C8 002B0428 80 1A 00 08 */ lwz r0, 8(r26) -/* 802B34CC 002B042C 7F 63 DB 78 */ mr r3, r27 -/* 802B34D0 002B0430 90 1B 00 08 */ stw r0, 8(r27) -/* 802B34D4 002B0434 48 08 D8 B1 */ bl Lock__6CTokenFv -lbl_802B34D8: -/* 802B34D8 002B0438 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 802B34DC 002B043C 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_802B34E0: -/* 802B34E0 002B0440 7C 1A E8 40 */ cmplw r26, r29 -/* 802B34E4 002B0444 40 82 FF B4 */ bne lbl_802B3498 -/* 802B34E8 002B0448 80 1E 00 04 */ lwz r0, 4(r30) -/* 802B34EC 002B044C 3B A0 00 00 */ li r29, 0 -/* 802B34F0 002B0450 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802B34F4 002B0454 54 00 20 36 */ slwi r0, r0, 4 -/* 802B34F8 002B0458 7F 7A 02 14 */ add r27, r26, r0 -/* 802B34FC 002B045C 48 00 00 38 */ b lbl_802B3534 -lbl_802B3500: -/* 802B3500 002B0460 28 1A 00 00 */ cmplwi r26, 0 -/* 802B3504 002B0464 41 82 00 2C */ beq lbl_802B3530 -/* 802B3508 002B0468 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B350C 002B046C 28 00 00 00 */ cmplwi r0, 0 -/* 802B3510 002B0470 41 82 00 1C */ beq lbl_802B352C -/* 802B3514 002B0474 28 1A 00 00 */ cmplwi r26, 0 -/* 802B3518 002B0478 41 82 00 14 */ beq lbl_802B352C -/* 802B351C 002B047C 41 82 00 10 */ beq lbl_802B352C -/* 802B3520 002B0480 7F 43 D3 78 */ mr r3, r26 -/* 802B3524 002B0484 38 80 00 00 */ li r4, 0 -/* 802B3528 002B0488 48 08 D9 19 */ bl __dt__6CTokenFv -lbl_802B352C: -/* 802B352C 002B048C 9B BA 00 0C */ stb r29, 0xc(r26) -lbl_802B3530: -/* 802B3530 002B0490 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_802B3534: -/* 802B3534 002B0494 7C 1A D8 40 */ cmplw r26, r27 -/* 802B3538 002B0498 40 82 FF C8 */ bne lbl_802B3500 -/* 802B353C 002B049C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B3540 002B04A0 28 03 00 00 */ cmplwi r3, 0 -/* 802B3544 002B04A4 41 82 00 08 */ beq lbl_802B354C -/* 802B3548 002B04A8 48 06 23 E9 */ bl Free__7CMemoryFPCv -lbl_802B354C: -/* 802B354C 002B04AC 93 9E 00 0C */ stw r28, 0xc(r30) -/* 802B3550 002B04B0 93 FE 00 08 */ stw r31, 8(r30) -lbl_802B3554: -/* 802B3554 002B04B4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802B3558 002B04B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B355C 002B04BC 7C 08 03 A6 */ mtlr r0 -/* 802B3560 002B04C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B3564 002B04C4 4E 80 00 20 */ blr - -.global "reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl96vector>,Q24rstl17rmemory_allocator>Fi": -/* 802B3568 002B04C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B356C 002B04CC 7C 08 02 A6 */ mflr r0 -/* 802B3570 002B04D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B3574 002B04D4 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802B3578 002B04D8 7C 9F 23 78 */ mr r31, r4 -/* 802B357C 002B04DC 7C 7E 1B 78 */ mr r30, r3 -/* 802B3580 002B04E0 80 03 00 08 */ lwz r0, 8(r3) -/* 802B3584 002B04E4 7C 1F 00 00 */ cmpw r31, r0 -/* 802B3588 002B04E8 40 81 01 0C */ ble lbl_802B3694 -/* 802B358C 002B04EC 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 802B3590 002B04F0 40 82 00 0C */ bne lbl_802B359C -/* 802B3594 002B04F4 3B 80 00 00 */ li r28, 0 -/* 802B3598 002B04F8 48 00 00 18 */ b lbl_802B35B0 -lbl_802B359C: -/* 802B359C 002B04FC 3C 80 80 3D */ lis r4, lbl_803D6540@ha -/* 802B35A0 002B0500 38 A0 00 00 */ li r5, 0 -/* 802B35A4 002B0504 38 84 65 40 */ addi r4, r4, lbl_803D6540@l -/* 802B35A8 002B0508 48 06 22 71 */ bl __nwa__FUlPCcPCc -/* 802B35AC 002B050C 7C 7C 1B 78 */ mr r28, r3 -lbl_802B35B0: -/* 802B35B0 002B0510 80 1E 00 04 */ lwz r0, 4(r30) -/* 802B35B4 002B0514 7F 9B E3 78 */ mr r27, r28 -/* 802B35B8 002B0518 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802B35BC 002B051C 54 00 20 36 */ slwi r0, r0, 4 -/* 802B35C0 002B0520 7F BA 02 14 */ add r29, r26, r0 -/* 802B35C4 002B0524 93 41 00 10 */ stw r26, 0x10(r1) -/* 802B35C8 002B0528 93 A1 00 08 */ stw r29, 8(r1) -/* 802B35CC 002B052C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802B35D0 002B0530 93 41 00 14 */ stw r26, 0x14(r1) -/* 802B35D4 002B0534 48 00 00 4C */ b lbl_802B3620 -lbl_802B35D8: -/* 802B35D8 002B0538 28 1B 00 00 */ cmplwi r27, 0 -/* 802B35DC 002B053C 41 82 00 3C */ beq lbl_802B3618 -/* 802B35E0 002B0540 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B35E4 002B0544 98 1B 00 0C */ stb r0, 0xc(r27) -/* 802B35E8 002B0548 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B35EC 002B054C 28 00 00 00 */ cmplwi r0, 0 -/* 802B35F0 002B0550 41 82 00 28 */ beq lbl_802B3618 -/* 802B35F4 002B0554 28 1B 00 00 */ cmplwi r27, 0 -/* 802B35F8 002B0558 41 82 00 20 */ beq lbl_802B3618 -/* 802B35FC 002B055C 7F 63 DB 78 */ mr r3, r27 -/* 802B3600 002B0560 7F 44 D3 78 */ mr r4, r26 -/* 802B3604 002B0564 48 08 D8 A5 */ bl __ct__6CTokenFRC6CToken -/* 802B3608 002B0568 80 1A 00 08 */ lwz r0, 8(r26) -/* 802B360C 002B056C 7F 63 DB 78 */ mr r3, r27 -/* 802B3610 002B0570 90 1B 00 08 */ stw r0, 8(r27) -/* 802B3614 002B0574 48 08 D7 71 */ bl Lock__6CTokenFv -lbl_802B3618: -/* 802B3618 002B0578 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 802B361C 002B057C 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_802B3620: -/* 802B3620 002B0580 7C 1A E8 40 */ cmplw r26, r29 -/* 802B3624 002B0584 40 82 FF B4 */ bne lbl_802B35D8 -/* 802B3628 002B0588 80 1E 00 04 */ lwz r0, 4(r30) -/* 802B362C 002B058C 3B A0 00 00 */ li r29, 0 -/* 802B3630 002B0590 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802B3634 002B0594 54 00 20 36 */ slwi r0, r0, 4 -/* 802B3638 002B0598 7F 7A 02 14 */ add r27, r26, r0 -/* 802B363C 002B059C 48 00 00 38 */ b lbl_802B3674 -lbl_802B3640: -/* 802B3640 002B05A0 28 1A 00 00 */ cmplwi r26, 0 -/* 802B3644 002B05A4 41 82 00 2C */ beq lbl_802B3670 -/* 802B3648 002B05A8 88 1A 00 0C */ lbz r0, 0xc(r26) -/* 802B364C 002B05AC 28 00 00 00 */ cmplwi r0, 0 -/* 802B3650 002B05B0 41 82 00 1C */ beq lbl_802B366C -/* 802B3654 002B05B4 28 1A 00 00 */ cmplwi r26, 0 -/* 802B3658 002B05B8 41 82 00 14 */ beq lbl_802B366C -/* 802B365C 002B05BC 41 82 00 10 */ beq lbl_802B366C -/* 802B3660 002B05C0 7F 43 D3 78 */ mr r3, r26 -/* 802B3664 002B05C4 38 80 00 00 */ li r4, 0 -/* 802B3668 002B05C8 48 08 D7 D9 */ bl __dt__6CTokenFv -lbl_802B366C: -/* 802B366C 002B05CC 9B BA 00 0C */ stb r29, 0xc(r26) -lbl_802B3670: -/* 802B3670 002B05D0 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_802B3674: -/* 802B3674 002B05D4 7C 1A D8 40 */ cmplw r26, r27 -/* 802B3678 002B05D8 40 82 FF C8 */ bne lbl_802B3640 -/* 802B367C 002B05DC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B3680 002B05E0 28 03 00 00 */ cmplwi r3, 0 -/* 802B3684 002B05E4 41 82 00 08 */ beq lbl_802B368C -/* 802B3688 002B05E8 48 06 22 A9 */ bl Free__7CMemoryFPCv -lbl_802B368C: -/* 802B368C 002B05EC 93 9E 00 0C */ stw r28, 0xc(r30) -/* 802B3690 002B05F0 93 FE 00 08 */ stw r31, 8(r30) -lbl_802B3694: -/* 802B3694 002B05F4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802B3698 002B05F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B369C 002B05FC 7C 08 03 A6 */ mtlr r0 -/* 802B36A0 002B0600 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B36A4 002B0604 4E 80 00 20 */ blr - -.global __sinit_IWeaponRenderer_cpp -__sinit_IWeaponRenderer_cpp: -/* 802B36A8 002B0608 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B36AC 002B060C 7C 08 02 A6 */ mflr r0 -/* 802B36B0 002B0610 3C 80 80 3F */ lis r4, lbl_803EC538@ha -/* 802B36B4 002B0614 3C 60 80 3F */ lis r3, lbl_803EC528@ha -/* 802B36B8 002B0618 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B36BC 002B061C 38 04 C5 38 */ addi r0, r4, lbl_803EC538@l -/* 802B36C0 002B0620 3C 80 80 2B */ lis r4, __dt__22CDefaultWeaponRendererFv@ha -/* 802B36C4 002B0624 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) -/* 802B36C8 002B0628 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l -/* 802B36CC 002B062C 3C 60 80 47 */ lis r3, lbl_8046E1F0@ha -/* 802B36D0 002B0630 38 84 37 24 */ addi r4, r4, __dt__22CDefaultWeaponRendererFv@l -/* 802B36D4 002B0634 90 0D A5 E0 */ stw r0, lbl_805A91A0@sda21(r13) -/* 802B36D8 002B0638 38 A3 E1 F0 */ addi r5, r3, lbl_8046E1F0@l -/* 802B36DC 002B063C 38 6D A5 E0 */ addi r3, r13, lbl_805A91A0@sda21 -/* 802B36E0 002B0640 48 0D 5F AD */ bl __register_global_object -/* 802B36E4 002B0644 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B36E8 002B0648 7C 08 03 A6 */ mtlr r0 -/* 802B36EC 002B064C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B36F0 002B0650 4E 80 00 20 */ blr - -.global AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen -AddParticleGen__22CDefaultWeaponRendererFRC12CParticleGen: -/* 802B36F4 002B0654 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B36F8 002B0658 7C 08 02 A6 */ mflr r0 -/* 802B36FC 002B065C 7C 83 23 78 */ mr r3, r4 -/* 802B3700 002B0660 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3704 002B0664 81 84 00 00 */ lwz r12, 0(r4) -/* 802B3708 002B0668 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B370C 002B066C 7D 89 03 A6 */ mtctr r12 -/* 802B3710 002B0670 4E 80 04 21 */ bctrl -/* 802B3714 002B0674 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3718 002B0678 7C 08 03 A6 */ mtlr r0 -/* 802B371C 002B067C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B3720 002B0680 4E 80 00 20 */ blr - -.global __dt__22CDefaultWeaponRendererFv -__dt__22CDefaultWeaponRendererFv: -/* 802B3724 002B0684 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B3728 002B0688 7C 08 02 A6 */ mflr r0 -/* 802B372C 002B068C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3730 002B0690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B3734 002B0694 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B3738 002B0698 41 82 00 30 */ beq lbl_802B3768 -/* 802B373C 002B069C 3C 60 80 3F */ lis r3, lbl_803EC528@ha -/* 802B3740 002B06A0 38 03 C5 28 */ addi r0, r3, lbl_803EC528@l -/* 802B3744 002B06A4 90 1F 00 00 */ stw r0, 0(r31) -/* 802B3748 002B06A8 41 82 00 10 */ beq lbl_802B3758 -/* 802B374C 002B06AC 3C 60 80 3F */ lis r3, lbl_803EC538@ha -/* 802B3750 002B06B0 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l -/* 802B3754 002B06B4 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B3758: -/* 802B3758 002B06B8 7C 80 07 35 */ extsh. r0, r4 -/* 802B375C 002B06BC 40 81 00 0C */ ble lbl_802B3768 -/* 802B3760 002B06C0 7F E3 FB 78 */ mr r3, r31 -/* 802B3764 002B06C4 48 06 21 CD */ bl Free__7CMemoryFPCv -lbl_802B3768: -/* 802B3768 002B06C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B376C 002B06CC 7F E3 FB 78 */ mr r3, r31 -/* 802B3770 002B06D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B3774 002B06D4 7C 08 03 A6 */ mtlr r0 -/* 802B3778 002B06D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B377C 002B06DC 4E 80 00 20 */ blr - -.global CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool -CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool: -/* 802B3780 002B06E0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B3784 002B06E4 7C 08 02 A6 */ mflr r0 -/* 802B3788 002B06E8 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B378C 002B06EC BF 41 00 58 */ stmw r26, 0x58(r1) -/* 802B3790 002B06F0 7C 7B 1B 78 */ mr r27, r3 -/* 802B3794 002B06F4 7C 9C 23 78 */ mr r28, r4 -/* 802B3798 002B06F8 7C BD 2B 78 */ mr r29, r5 -/* 802B379C 002B06FC 38 61 00 08 */ addi r3, r1, 8 -/* 802B37A0 002B0700 3B C0 00 00 */ li r30, 0 -/* 802B37A4 002B0704 38 80 00 63 */ li r4, 0x63 -/* 802B37A8 002B0708 48 05 EE 45 */ bl __ct__9CRandom16FUi -/* 802B37AC 002B070C 3C 60 32 52 */ lis r3, 0x32524F54@ha -/* 802B37B0 002B0710 3B E3 4F 54 */ addi r31, r3, 0x32524F54@l -/* 802B37B4 002B0714 48 00 05 30 */ b lbl_802B3CE4 -lbl_802B37B8: -/* 802B37B8 002B0718 38 61 00 40 */ addi r3, r1, 0x40 -/* 802B37BC 002B071C 38 81 00 08 */ addi r4, r1, 8 -/* 802B37C0 002B0720 48 05 EE C1 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B37C4 002B0724 7F 83 E3 78 */ mr r3, r28 -/* 802B37C8 002B0728 48 07 4C 95 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B37CC 002B072C 7C 65 1B 78 */ mr r5, r3 -/* 802B37D0 002B0730 38 C0 00 00 */ li r6, 0 -/* 802B37D4 002B0734 7C 05 F8 00 */ cmpw r5, r31 -/* 802B37D8 002B0738 41 82 01 AC */ beq lbl_802B3984 -/* 802B37DC 002B073C 40 80 00 E0 */ bge lbl_802B38BC -/* 802B37E0 002B0740 3C 60 31 53 */ lis r3, 0x31535A45@ha -/* 802B37E4 002B0744 38 03 5A 45 */ addi r0, r3, 0x31535A45@l -/* 802B37E8 002B0748 7C 05 00 00 */ cmpw r5, r0 -/* 802B37EC 002B074C 41 82 01 94 */ beq lbl_802B3980 -/* 802B37F0 002B0750 40 80 00 68 */ bge lbl_802B3858 -/* 802B37F4 002B0754 3C 60 31 4C */ lis r3, 0x314C4654@ha -/* 802B37F8 002B0758 38 03 46 54 */ addi r0, r3, 0x314C4654@l -/* 802B37FC 002B075C 7C 05 00 00 */ cmpw r5, r0 -/* 802B3800 002B0760 41 82 01 80 */ beq lbl_802B3980 -/* 802B3804 002B0764 40 80 00 2C */ bge lbl_802B3830 -/* 802B3808 002B0768 3C 60 31 43 */ lis r3, 0x31434C52@ha -/* 802B380C 002B076C 38 03 4C 52 */ addi r0, r3, 0x31434C52@l -/* 802B3810 002B0770 7C 05 00 00 */ cmpw r5, r0 -/* 802B3814 002B0774 41 82 01 6C */ beq lbl_802B3980 -/* 802B3818 002B0778 40 80 04 AC */ bge lbl_802B3CC4 -/* 802B381C 002B077C 3C 60 31 41 */ lis r3, 0x31414444@ha -/* 802B3820 002B0780 38 03 44 44 */ addi r0, r3, 0x31414444@l -/* 802B3824 002B0784 7C 05 00 00 */ cmpw r5, r0 -/* 802B3828 002B0788 41 82 01 58 */ beq lbl_802B3980 -/* 802B382C 002B078C 48 00 04 98 */ b lbl_802B3CC4 -lbl_802B3830: -/* 802B3830 002B0790 3C 60 31 52 */ lis r3, 0x31524F54@ha -/* 802B3834 002B0794 38 03 4F 54 */ addi r0, r3, 0x31524F54@l -/* 802B3838 002B0798 7C 05 00 00 */ cmpw r5, r0 -/* 802B383C 002B079C 41 82 01 44 */ beq lbl_802B3980 -/* 802B3840 002B07A0 40 80 04 84 */ bge lbl_802B3CC4 -/* 802B3844 002B07A4 3C 60 31 4F */ lis r3, 0x314F4646@ha -/* 802B3848 002B07A8 38 03 46 46 */ addi r0, r3, 0x314F4646@l -/* 802B384C 002B07AC 7C 05 00 00 */ cmpw r5, r0 -/* 802B3850 002B07B0 41 82 01 30 */ beq lbl_802B3980 -/* 802B3854 002B07B4 48 00 04 70 */ b lbl_802B3CC4 -lbl_802B3858: -/* 802B3858 002B07B8 3C 60 32 43 */ lis r3, 0x32434C52@ha -/* 802B385C 002B07BC 38 03 4C 52 */ addi r0, r3, 0x32434C52@l -/* 802B3860 002B07C0 7C 05 00 00 */ cmpw r5, r0 -/* 802B3864 002B07C4 41 82 01 20 */ beq lbl_802B3984 -/* 802B3868 002B07C8 40 80 00 2C */ bge lbl_802B3894 -/* 802B386C 002B07CC 3C 60 32 41 */ lis r3, 0x32414444@ha -/* 802B3870 002B07D0 38 03 44 44 */ addi r0, r3, 0x32414444@l -/* 802B3874 002B07D4 7C 05 00 00 */ cmpw r5, r0 -/* 802B3878 002B07D8 41 82 01 0C */ beq lbl_802B3984 -/* 802B387C 002B07DC 40 80 04 48 */ bge lbl_802B3CC4 -/* 802B3880 002B07E0 3C 60 31 54 */ lis r3, 0x31544558@ha -/* 802B3884 002B07E4 38 03 45 58 */ addi r0, r3, 0x31544558@l -/* 802B3888 002B07E8 7C 05 00 00 */ cmpw r5, r0 -/* 802B388C 002B07EC 41 82 00 F4 */ beq lbl_802B3980 -/* 802B3890 002B07F0 48 00 04 34 */ b lbl_802B3CC4 -lbl_802B3894: -/* 802B3894 002B07F4 3C 60 32 4F */ lis r3, 0x324F4646@ha -/* 802B3898 002B07F8 38 03 46 46 */ addi r0, r3, 0x324F4646@l -/* 802B389C 002B07FC 7C 05 00 00 */ cmpw r5, r0 -/* 802B38A0 002B0800 41 82 00 E4 */ beq lbl_802B3984 -/* 802B38A4 002B0804 40 80 04 20 */ bge lbl_802B3CC4 -/* 802B38A8 002B0808 3C 60 32 4C */ lis r3, 0x324C4654@ha -/* 802B38AC 002B080C 38 03 46 54 */ addi r0, r3, 0x324C4654@l -/* 802B38B0 002B0810 7C 05 00 00 */ cmpw r5, r0 -/* 802B38B4 002B0814 41 82 00 D0 */ beq lbl_802B3984 -/* 802B38B8 002B0818 48 00 04 0C */ b lbl_802B3CC4 -lbl_802B38BC: -/* 802B38BC 002B081C 3C 80 44 4D */ lis r4, 0x444D444C@ha -/* 802B38C0 002B0820 38 04 44 4C */ addi r0, r4, 0x444D444C@l -/* 802B38C4 002B0824 7C 05 00 00 */ cmpw r5, r0 -/* 802B38C8 002B0828 41 82 00 E0 */ beq lbl_802B39A8 -/* 802B38CC 002B082C 40 80 00 60 */ bge lbl_802B392C -/* 802B38D0 002B0830 3C 60 44 4C */ lis r3, 0x444C4654@ha -/* 802B38D4 002B0834 38 03 46 54 */ addi r0, r3, 0x444C4654@l -/* 802B38D8 002B0838 7C 05 00 00 */ cmpw r5, r0 -/* 802B38DC 002B083C 41 82 02 98 */ beq lbl_802B3B74 -/* 802B38E0 002B0840 40 80 00 2C */ bge lbl_802B390C -/* 802B38E4 002B0844 3C 60 32 54 */ lis r3, 0x32544558@ha -/* 802B38E8 002B0848 38 03 45 58 */ addi r0, r3, 0x32544558@l -/* 802B38EC 002B084C 7C 05 00 00 */ cmpw r5, r0 -/* 802B38F0 002B0850 41 82 00 94 */ beq lbl_802B3984 -/* 802B38F4 002B0854 40 80 03 D0 */ bge lbl_802B3CC4 -/* 802B38F8 002B0858 3C 60 32 53 */ lis r3, 0x32535A45@ha -/* 802B38FC 002B085C 38 03 5A 45 */ addi r0, r3, 0x32535A45@l -/* 802B3900 002B0860 7C 05 00 00 */ cmpw r5, r0 -/* 802B3904 002B0864 41 82 00 80 */ beq lbl_802B3984 -/* 802B3908 002B0868 48 00 03 BC */ b lbl_802B3CC4 -lbl_802B390C: -/* 802B390C 002B086C 38 04 43 4C */ addi r0, r4, 0x434c -/* 802B3910 002B0870 7C 05 00 00 */ cmpw r5, r0 -/* 802B3914 002B0874 41 82 03 40 */ beq lbl_802B3C54 -/* 802B3918 002B0878 40 80 03 AC */ bge lbl_802B3CC4 -/* 802B391C 002B087C 38 04 41 42 */ addi r0, r4, 0x4142 -/* 802B3920 002B0880 7C 05 00 00 */ cmpw r5, r0 -/* 802B3924 002B0884 41 82 03 68 */ beq lbl_802B3C8C -/* 802B3928 002B0888 48 00 03 9C */ b lbl_802B3CC4 -lbl_802B392C: -/* 802B392C 002B088C 38 04 52 54 */ addi r0, r4, 0x5254 -/* 802B3930 002B0890 7C 05 00 00 */ cmpw r5, r0 -/* 802B3934 002B0894 41 82 02 B0 */ beq lbl_802B3BE4 -/* 802B3938 002B0898 40 80 00 24 */ bge lbl_802B395C -/* 802B393C 002B089C 38 04 4F 50 */ addi r0, r4, 0x4f50 -/* 802B3940 002B08A0 7C 05 00 00 */ cmpw r5, r0 -/* 802B3944 002B08A4 41 82 02 68 */ beq lbl_802B3BAC -/* 802B3948 002B08A8 40 80 03 7C */ bge lbl_802B3CC4 -/* 802B394C 002B08AC 38 04 4F 4F */ addi r0, r4, 0x4f4f -/* 802B3950 002B08B0 7C 05 00 00 */ cmpw r5, r0 -/* 802B3954 002B08B4 40 80 03 50 */ bge lbl_802B3CA4 -/* 802B3958 002B08B8 48 00 03 6C */ b lbl_802B3CC4 -lbl_802B395C: -/* 802B395C 002B08BC 3C 60 5F 45 */ lis r3, 0x5F454E44@ha -/* 802B3960 002B08C0 38 03 4E 44 */ addi r0, r3, 0x5F454E44@l -/* 802B3964 002B08C4 7C 05 00 00 */ cmpw r5, r0 -/* 802B3968 002B08C8 41 82 03 54 */ beq lbl_802B3CBC -/* 802B396C 002B08CC 40 80 03 58 */ bge lbl_802B3CC4 -/* 802B3970 002B08D0 38 04 53 43 */ addi r0, r4, 0x5343 -/* 802B3974 002B08D4 7C 05 00 00 */ cmpw r5, r0 -/* 802B3978 002B08D8 41 82 02 A4 */ beq lbl_802B3C1C -/* 802B397C 002B08DC 48 00 03 48 */ b lbl_802B3CC4 -lbl_802B3980: -/* 802B3980 002B08E0 38 C0 00 01 */ li r6, 1 -lbl_802B3984: -/* 802B3984 002B08E4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 802B3988 002B08E8 41 82 00 0C */ beq lbl_802B3994 -/* 802B398C 002B08EC 7F 66 DB 78 */ mr r6, r27 -/* 802B3990 002B08F0 48 00 00 08 */ b lbl_802B3998 -lbl_802B3994: -/* 802B3994 002B08F4 38 DB 00 1C */ addi r6, r27, 0x1c -lbl_802B3998: -/* 802B3998 002B08F8 7F 83 E3 78 */ mr r3, r28 -/* 802B399C 002B08FC 7F A4 EB 78 */ mr r4, r29 -/* 802B39A0 002B0900 48 00 04 85 */ bl GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr -/* 802B39A4 002B0904 48 00 03 34 */ b lbl_802B3CD8 -lbl_802B39A8: -/* 802B39A8 002B0908 7F 84 E3 78 */ mr r4, r28 -/* 802B39AC 002B090C 7F A5 EB 78 */ mr r5, r29 -/* 802B39B0 002B0910 38 61 00 28 */ addi r3, r1, 0x28 -/* 802B39B4 002B0914 48 07 10 2D */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 802B39B8 002B0918 88 01 00 30 */ lbz r0, 0x30(r1) -/* 802B39BC 002B091C 28 00 00 00 */ cmplwi r0, 0 -/* 802B39C0 002B0920 98 01 00 3C */ stb r0, 0x3c(r1) -/* 802B39C4 002B0924 41 82 00 14 */ beq lbl_802B39D8 -/* 802B39C8 002B0928 34 61 00 34 */ addic. r3, r1, 0x34 -/* 802B39CC 002B092C 38 81 00 28 */ addi r4, r1, 0x28 -/* 802B39D0 002B0930 41 82 00 08 */ beq lbl_802B39D8 -/* 802B39D4 002B0934 48 08 D4 D5 */ bl __ct__6CTokenFRC6CToken -lbl_802B39D8: -/* 802B39D8 002B0938 88 01 00 30 */ lbz r0, 0x30(r1) -/* 802B39DC 002B093C 28 00 00 00 */ cmplwi r0, 0 -/* 802B39E0 002B0940 41 82 00 14 */ beq lbl_802B39F4 -/* 802B39E4 002B0944 34 61 00 28 */ addic. r3, r1, 0x28 -/* 802B39E8 002B0948 41 82 00 0C */ beq lbl_802B39F4 -/* 802B39EC 002B094C 38 80 00 00 */ li r4, 0 -/* 802B39F0 002B0950 48 08 D4 51 */ bl __dt__6CTokenFv -lbl_802B39F4: -/* 802B39F4 002B0954 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 802B39F8 002B0958 38 60 00 00 */ li r3, 0 -/* 802B39FC 002B095C 98 61 00 30 */ stb r3, 0x30(r1) -/* 802B3A00 002B0960 28 00 00 00 */ cmplwi r0, 0 -/* 802B3A04 002B0964 41 82 00 88 */ beq lbl_802B3A8C -/* 802B3A08 002B0968 3B 41 00 1C */ addi r26, r1, 0x1c -/* 802B3A0C 002B096C 38 81 00 34 */ addi r4, r1, 0x34 -/* 802B3A10 002B0970 7F 43 D3 78 */ mr r3, r26 -/* 802B3A14 002B0974 48 08 D4 95 */ bl __ct__6CTokenFRC6CToken -/* 802B3A18 002B0978 7F 43 D3 78 */ mr r3, r26 -/* 802B3A1C 002B097C 48 08 D3 F1 */ bl GetObj__6CTokenFv -/* 802B3A20 002B0980 80 03 00 04 */ lwz r0, 4(r3) -/* 802B3A24 002B0984 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B3A28 002B0988 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 802B3A2C 002B098C 28 00 00 00 */ cmplwi r0, 0 -/* 802B3A30 002B0990 40 82 00 34 */ bne lbl_802B3A64 -/* 802B3A34 002B0994 37 5B 00 38 */ addic. r26, r27, 0x38 -/* 802B3A38 002B0998 41 82 00 20 */ beq lbl_802B3A58 -/* 802B3A3C 002B099C 7F 43 D3 78 */ mr r3, r26 -/* 802B3A40 002B09A0 38 81 00 1C */ addi r4, r1, 0x1c -/* 802B3A44 002B09A4 48 08 D4 65 */ bl __ct__6CTokenFRC6CToken -/* 802B3A48 002B09A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B3A4C 002B09AC 7F 43 D3 78 */ mr r3, r26 -/* 802B3A50 002B09B0 90 1A 00 08 */ stw r0, 8(r26) -/* 802B3A54 002B09B4 48 08 D3 31 */ bl Lock__6CTokenFv -lbl_802B3A58: -/* 802B3A58 002B09B8 38 00 00 01 */ li r0, 1 -/* 802B3A5C 002B09BC 98 1B 00 44 */ stb r0, 0x44(r27) -/* 802B3A60 002B09C0 48 00 00 1C */ b lbl_802B3A7C -lbl_802B3A64: -/* 802B3A64 002B09C4 3B 5B 00 38 */ addi r26, r27, 0x38 -/* 802B3A68 002B09C8 38 81 00 1C */ addi r4, r1, 0x1c -/* 802B3A6C 002B09CC 7F 43 D3 78 */ mr r3, r26 -/* 802B3A70 002B09D0 48 08 D2 55 */ bl __as__6CTokenFRC6CToken -/* 802B3A74 002B09D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B3A78 002B09D8 90 1A 00 08 */ stw r0, 8(r26) -lbl_802B3A7C: -/* 802B3A7C 002B09DC 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B3A80 002B09E0 38 80 00 00 */ li r4, 0 -/* 802B3A84 002B09E4 48 08 D3 BD */ bl __dt__6CTokenFv -/* 802B3A88 002B09E8 48 00 00 C4 */ b lbl_802B3B4C -lbl_802B3A8C: -/* 802B3A8C 002B09EC 3B 5B 00 38 */ addi r26, r27, 0x38 -/* 802B3A90 002B09F0 38 81 00 0C */ addi r4, r1, 0xc -/* 802B3A94 002B09F4 7C 1A 20 40 */ cmplw r26, r4 -/* 802B3A98 002B09F8 98 61 00 18 */ stb r3, 0x18(r1) -/* 802B3A9C 002B09FC 41 82 00 84 */ beq lbl_802B3B20 -/* 802B3AA0 002B0A00 28 03 00 00 */ cmplwi r3, 0 -/* 802B3AA4 002B0A04 41 82 00 50 */ beq lbl_802B3AF4 -/* 802B3AA8 002B0A08 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 802B3AAC 002B0A0C 28 00 00 00 */ cmplwi r0, 0 -/* 802B3AB0 002B0A10 40 82 00 30 */ bne lbl_802B3AE0 -/* 802B3AB4 002B0A14 37 5B 00 38 */ addic. r26, r27, 0x38 -/* 802B3AB8 002B0A18 41 82 00 1C */ beq lbl_802B3AD4 -/* 802B3ABC 002B0A1C 7F 43 D3 78 */ mr r3, r26 -/* 802B3AC0 002B0A20 48 08 D3 E9 */ bl __ct__6CTokenFRC6CToken -/* 802B3AC4 002B0A24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3AC8 002B0A28 7F 43 D3 78 */ mr r3, r26 -/* 802B3ACC 002B0A2C 90 1A 00 08 */ stw r0, 8(r26) -/* 802B3AD0 002B0A30 48 08 D2 B5 */ bl Lock__6CTokenFv -lbl_802B3AD4: -/* 802B3AD4 002B0A34 38 00 00 01 */ li r0, 1 -/* 802B3AD8 002B0A38 98 1B 00 44 */ stb r0, 0x44(r27) -/* 802B3ADC 002B0A3C 48 00 00 44 */ b lbl_802B3B20 -lbl_802B3AE0: -/* 802B3AE0 002B0A40 7F 43 D3 78 */ mr r3, r26 -/* 802B3AE4 002B0A44 48 08 D1 E1 */ bl __as__6CTokenFRC6CToken -/* 802B3AE8 002B0A48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3AEC 002B0A4C 90 1A 00 08 */ stw r0, 8(r26) -/* 802B3AF0 002B0A50 48 00 00 30 */ b lbl_802B3B20 -lbl_802B3AF4: -/* 802B3AF4 002B0A54 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 802B3AF8 002B0A58 28 00 00 00 */ cmplwi r0, 0 -/* 802B3AFC 002B0A5C 41 82 00 1C */ beq lbl_802B3B18 -/* 802B3B00 002B0A60 34 7B 00 38 */ addic. r3, r27, 0x38 -/* 802B3B04 002B0A64 41 82 00 14 */ beq lbl_802B3B18 -/* 802B3B08 002B0A68 28 03 00 00 */ cmplwi r3, 0 -/* 802B3B0C 002B0A6C 41 82 00 0C */ beq lbl_802B3B18 -/* 802B3B10 002B0A70 38 80 00 00 */ li r4, 0 -/* 802B3B14 002B0A74 48 08 D3 2D */ bl __dt__6CTokenFv -lbl_802B3B18: -/* 802B3B18 002B0A78 38 00 00 00 */ li r0, 0 -/* 802B3B1C 002B0A7C 98 1B 00 44 */ stb r0, 0x44(r27) -lbl_802B3B20: -/* 802B3B20 002B0A80 88 01 00 18 */ lbz r0, 0x18(r1) -/* 802B3B24 002B0A84 28 00 00 00 */ cmplwi r0, 0 -/* 802B3B28 002B0A88 41 82 00 1C */ beq lbl_802B3B44 -/* 802B3B2C 002B0A8C 34 61 00 0C */ addic. r3, r1, 0xc -/* 802B3B30 002B0A90 41 82 00 14 */ beq lbl_802B3B44 -/* 802B3B34 002B0A94 28 03 00 00 */ cmplwi r3, 0 -/* 802B3B38 002B0A98 41 82 00 0C */ beq lbl_802B3B44 -/* 802B3B3C 002B0A9C 38 80 00 00 */ li r4, 0 -/* 802B3B40 002B0AA0 48 08 D3 01 */ bl __dt__6CTokenFv -lbl_802B3B44: -/* 802B3B44 002B0AA4 38 00 00 00 */ li r0, 0 -/* 802B3B48 002B0AA8 98 01 00 18 */ stb r0, 0x18(r1) -lbl_802B3B4C: -/* 802B3B4C 002B0AAC 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 802B3B50 002B0AB0 28 00 00 00 */ cmplwi r0, 0 -/* 802B3B54 002B0AB4 41 82 00 14 */ beq lbl_802B3B68 -/* 802B3B58 002B0AB8 34 61 00 34 */ addic. r3, r1, 0x34 -/* 802B3B5C 002B0ABC 41 82 00 0C */ beq lbl_802B3B68 -/* 802B3B60 002B0AC0 38 80 00 00 */ li r4, 0 -/* 802B3B64 002B0AC4 48 08 D2 DD */ bl __dt__6CTokenFv -lbl_802B3B68: -/* 802B3B68 002B0AC8 38 00 00 00 */ li r0, 0 -/* 802B3B6C 002B0ACC 98 01 00 3C */ stb r0, 0x3c(r1) -/* 802B3B70 002B0AD0 48 00 01 68 */ b lbl_802B3CD8 -lbl_802B3B74: -/* 802B3B74 002B0AD4 7F 83 E3 78 */ mr r3, r28 -/* 802B3B78 002B0AD8 48 07 40 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 802B3B7C 002B0ADC 80 1B 00 48 */ lwz r0, 0x48(r27) -/* 802B3B80 002B0AE0 7C 7A 1B 78 */ mr r26, r3 -/* 802B3B84 002B0AE4 28 00 00 00 */ cmplwi r0, 0 -/* 802B3B88 002B0AE8 41 82 00 1C */ beq lbl_802B3BA4 -/* 802B3B8C 002B0AEC 7C 03 03 78 */ mr r3, r0 -/* 802B3B90 002B0AF0 38 80 00 01 */ li r4, 1 -/* 802B3B94 002B0AF4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3B98 002B0AF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3B9C 002B0AFC 7D 89 03 A6 */ mtctr r12 -/* 802B3BA0 002B0B00 4E 80 04 21 */ bctrl -lbl_802B3BA4: -/* 802B3BA4 002B0B04 93 5B 00 48 */ stw r26, 0x48(r27) -/* 802B3BA8 002B0B08 48 00 01 30 */ b lbl_802B3CD8 -lbl_802B3BAC: -/* 802B3BAC 002B0B0C 7F 83 E3 78 */ mr r3, r28 -/* 802B3BB0 002B0B10 48 07 26 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B3BB4 002B0B14 80 1B 00 4C */ lwz r0, 0x4c(r27) -/* 802B3BB8 002B0B18 7C 7A 1B 78 */ mr r26, r3 -/* 802B3BBC 002B0B1C 28 00 00 00 */ cmplwi r0, 0 -/* 802B3BC0 002B0B20 41 82 00 1C */ beq lbl_802B3BDC -/* 802B3BC4 002B0B24 7C 03 03 78 */ mr r3, r0 -/* 802B3BC8 002B0B28 38 80 00 01 */ li r4, 1 -/* 802B3BCC 002B0B2C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3BD0 002B0B30 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3BD4 002B0B34 7D 89 03 A6 */ mtctr r12 -/* 802B3BD8 002B0B38 4E 80 04 21 */ bctrl -lbl_802B3BDC: -/* 802B3BDC 002B0B3C 93 5B 00 4C */ stw r26, 0x4c(r27) -/* 802B3BE0 002B0B40 48 00 00 F8 */ b lbl_802B3CD8 -lbl_802B3BE4: -/* 802B3BE4 002B0B44 7F 83 E3 78 */ mr r3, r28 -/* 802B3BE8 002B0B48 48 07 26 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B3BEC 002B0B4C 80 1B 00 50 */ lwz r0, 0x50(r27) -/* 802B3BF0 002B0B50 7C 7A 1B 78 */ mr r26, r3 -/* 802B3BF4 002B0B54 28 00 00 00 */ cmplwi r0, 0 -/* 802B3BF8 002B0B58 41 82 00 1C */ beq lbl_802B3C14 -/* 802B3BFC 002B0B5C 7C 03 03 78 */ mr r3, r0 -/* 802B3C00 002B0B60 38 80 00 01 */ li r4, 1 -/* 802B3C04 002B0B64 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3C08 002B0B68 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3C0C 002B0B6C 7D 89 03 A6 */ mtctr r12 -/* 802B3C10 002B0B70 4E 80 04 21 */ bctrl -lbl_802B3C14: -/* 802B3C14 002B0B74 93 5B 00 50 */ stw r26, 0x50(r27) -/* 802B3C18 002B0B78 48 00 00 C0 */ b lbl_802B3CD8 -lbl_802B3C1C: -/* 802B3C1C 002B0B7C 7F 83 E3 78 */ mr r3, r28 -/* 802B3C20 002B0B80 48 07 26 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B3C24 002B0B84 80 1B 00 54 */ lwz r0, 0x54(r27) -/* 802B3C28 002B0B88 7C 7A 1B 78 */ mr r26, r3 -/* 802B3C2C 002B0B8C 28 00 00 00 */ cmplwi r0, 0 -/* 802B3C30 002B0B90 41 82 00 1C */ beq lbl_802B3C4C -/* 802B3C34 002B0B94 7C 03 03 78 */ mr r3, r0 -/* 802B3C38 002B0B98 38 80 00 01 */ li r4, 1 -/* 802B3C3C 002B0B9C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3C40 002B0BA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3C44 002B0BA4 7D 89 03 A6 */ mtctr r12 -/* 802B3C48 002B0BA8 4E 80 04 21 */ bctrl -lbl_802B3C4C: -/* 802B3C4C 002B0BAC 93 5B 00 54 */ stw r26, 0x54(r27) -/* 802B3C50 002B0BB0 48 00 00 88 */ b lbl_802B3CD8 -lbl_802B3C54: -/* 802B3C54 002B0BB4 7F 83 E3 78 */ mr r3, r28 -/* 802B3C58 002B0BB8 48 07 16 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 802B3C5C 002B0BBC 80 1B 00 58 */ lwz r0, 0x58(r27) -/* 802B3C60 002B0BC0 7C 7A 1B 78 */ mr r26, r3 -/* 802B3C64 002B0BC4 28 00 00 00 */ cmplwi r0, 0 -/* 802B3C68 002B0BC8 41 82 00 1C */ beq lbl_802B3C84 -/* 802B3C6C 002B0BCC 7C 03 03 78 */ mr r3, r0 -/* 802B3C70 002B0BD0 38 80 00 01 */ li r4, 1 -/* 802B3C74 002B0BD4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3C78 002B0BD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3C7C 002B0BDC 7D 89 03 A6 */ mtctr r12 -/* 802B3C80 002B0BE0 4E 80 04 21 */ bctrl -lbl_802B3C84: -/* 802B3C84 002B0BE4 93 5B 00 58 */ stw r26, 0x58(r27) -/* 802B3C88 002B0BE8 48 00 00 50 */ b lbl_802B3CD8 -lbl_802B3C8C: -/* 802B3C8C 002B0BEC 7F 83 E3 78 */ mr r3, r28 -/* 802B3C90 002B0BF0 48 07 47 99 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B3C94 002B0BF4 88 1B 00 5C */ lbz r0, 0x5c(r27) -/* 802B3C98 002B0BF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802B3C9C 002B0BFC 98 1B 00 5C */ stb r0, 0x5c(r27) -/* 802B3CA0 002B0C00 48 00 00 38 */ b lbl_802B3CD8 -lbl_802B3CA4: -/* 802B3CA4 002B0C04 7F 83 E3 78 */ mr r3, r28 -/* 802B3CA8 002B0C08 48 07 47 81 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B3CAC 002B0C0C 88 1B 00 5C */ lbz r0, 0x5c(r27) -/* 802B3CB0 002B0C10 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802B3CB4 002B0C14 98 1B 00 5C */ stb r0, 0x5c(r27) -/* 802B3CB8 002B0C18 48 00 00 20 */ b lbl_802B3CD8 -lbl_802B3CBC: -/* 802B3CBC 002B0C1C 3B C0 00 01 */ li r30, 1 -/* 802B3CC0 002B0C20 48 00 00 18 */ b lbl_802B3CD8 -lbl_802B3CC4: -/* 802B3CC4 002B0C24 38 61 00 40 */ addi r3, r1, 0x40 -/* 802B3CC8 002B0C28 38 80 FF FF */ li r4, -1 -/* 802B3CCC 002B0C2C 48 05 E9 39 */ bl __dt__13CGlobalRandomFv -/* 802B3CD0 002B0C30 38 60 00 00 */ li r3, 0 -/* 802B3CD4 002B0C34 48 00 00 1C */ b lbl_802B3CF0 -lbl_802B3CD8: -/* 802B3CD8 002B0C38 38 61 00 40 */ addi r3, r1, 0x40 -/* 802B3CDC 002B0C3C 38 80 FF FF */ li r4, -1 -/* 802B3CE0 002B0C40 48 05 E9 25 */ bl __dt__13CGlobalRandomFv -lbl_802B3CE4: -/* 802B3CE4 002B0C44 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802B3CE8 002B0C48 41 82 FA D0 */ beq lbl_802B37B8 -/* 802B3CEC 002B0C4C 38 60 00 01 */ li r3, 1 -lbl_802B3CF0: -/* 802B3CF0 002B0C50 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 802B3CF4 002B0C54 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B3CF8 002B0C58 7C 08 03 A6 */ mtlr r0 -/* 802B3CFC 002B0C5C 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B3D00 002B0C60 4E 80 00 20 */ blr - -.global __dt__13CColorElement -__dt__13CColorElement: -/* 802B3D04 002B0C64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B3D08 002B0C68 7C 08 02 A6 */ mflr r0 -/* 802B3D0C 002B0C6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3D10 002B0C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B3D14 002B0C74 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B3D18 002B0C78 41 82 00 34 */ beq lbl_802B3D4C -/* 802B3D1C 002B0C7C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 802B3D20 002B0C80 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 802B3D24 002B0C84 90 1F 00 00 */ stw r0, 0(r31) -/* 802B3D28 002B0C88 41 82 00 10 */ beq lbl_802B3D38 -/* 802B3D2C 002B0C8C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B3D30 002B0C90 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B3D34 002B0C94 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B3D38: -/* 802B3D38 002B0C98 7C 80 07 35 */ extsh. r0, r4 -/* 802B3D3C 002B0C9C 40 81 00 10 */ ble lbl_802B3D4C -/* 802B3D40 002B0CA0 7F E3 FB 78 */ mr r3, r31 -/* 802B3D44 002B0CA4 38 80 00 04 */ li r4, 4 -/* 802B3D48 002B0CA8 48 0B 8D 1D */ bl sub_8036ca64 -lbl_802B3D4C: -/* 802B3D4C 002B0CAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3D50 002B0CB0 7F E3 FB 78 */ mr r3, r31 -/* 802B3D54 002B0CB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B3D58 002B0CB8 7C 08 03 A6 */ mtlr r0 -/* 802B3D5C 002B0CBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B3D60 002B0CC0 4E 80 00 20 */ blr - -.global __dt__14CVectorElement -__dt__14CVectorElement: -/* 802B3D64 002B0CC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B3D68 002B0CC8 7C 08 02 A6 */ mflr r0 -/* 802B3D6C 002B0CCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3D70 002B0CD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B3D74 002B0CD4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B3D78 002B0CD8 41 82 00 34 */ beq lbl_802B3DAC -/* 802B3D7C 002B0CDC 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 802B3D80 002B0CE0 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 802B3D84 002B0CE4 90 1F 00 00 */ stw r0, 0(r31) -/* 802B3D88 002B0CE8 41 82 00 10 */ beq lbl_802B3D98 -/* 802B3D8C 002B0CEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B3D90 002B0CF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B3D94 002B0CF4 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B3D98: -/* 802B3D98 002B0CF8 7C 80 07 35 */ extsh. r0, r4 -/* 802B3D9C 002B0CFC 40 81 00 10 */ ble lbl_802B3DAC -/* 802B3DA0 002B0D00 7F E3 FB 78 */ mr r3, r31 -/* 802B3DA4 002B0D04 38 80 00 04 */ li r4, 4 -/* 802B3DA8 002B0D08 48 0B 8C BD */ bl sub_8036ca64 -lbl_802B3DAC: -/* 802B3DAC 002B0D0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3DB0 002B0D10 7F E3 FB 78 */ mr r3, r31 -/* 802B3DB4 002B0D14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B3DB8 002B0D18 7C 08 03 A6 */ mtlr r0 -/* 802B3DBC 002B0D1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B3DC0 002B0D20 4E 80 00 20 */ blr - -.global __dt__11CIntElement -__dt__11CIntElement: -/* 802B3DC4 002B0D24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B3DC8 002B0D28 7C 08 02 A6 */ mflr r0 -/* 802B3DCC 002B0D2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3DD0 002B0D30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B3DD4 002B0D34 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B3DD8 002B0D38 41 82 00 34 */ beq lbl_802B3E0C -/* 802B3DDC 002B0D3C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 802B3DE0 002B0D40 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 802B3DE4 002B0D44 90 1F 00 00 */ stw r0, 0(r31) -/* 802B3DE8 002B0D48 41 82 00 10 */ beq lbl_802B3DF8 -/* 802B3DEC 002B0D4C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B3DF0 002B0D50 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B3DF4 002B0D54 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B3DF8: -/* 802B3DF8 002B0D58 7C 80 07 35 */ extsh. r0, r4 -/* 802B3DFC 002B0D5C 40 81 00 10 */ ble lbl_802B3E0C -/* 802B3E00 002B0D60 7F E3 FB 78 */ mr r3, r31 -/* 802B3E04 002B0D64 38 80 00 04 */ li r4, 4 -/* 802B3E08 002B0D68 48 0B 8C 5D */ bl sub_8036ca64 -lbl_802B3E0C: -/* 802B3E0C 002B0D6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B3E10 002B0D70 7F E3 FB 78 */ mr r3, r31 -/* 802B3E14 002B0D74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B3E18 002B0D78 7C 08 03 A6 */ mtlr r0 -/* 802B3E1C 002B0D7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B3E20 002B0D80 4E 80 00 20 */ blr - -.global GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr -GetQuadDecalInfo__17CDecalDataFactoryFR12CInputStreamP11CSimplePoolUiRQ217CDecalDescription10SQuadDescr: -/* 802B3E24 002B0D84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B3E28 002B0D88 7C 08 02 A6 */ mflr r0 -/* 802B3E2C 002B0D8C 3C E0 32 41 */ lis r7, 0x32414444@ha -/* 802B3E30 002B0D90 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B3E34 002B0D94 38 07 44 44 */ addi r0, r7, 0x32414444@l -/* 802B3E38 002B0D98 7C 05 00 00 */ cmpw r5, r0 -/* 802B3E3C 002B0D9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B3E40 002B0DA0 7C DF 33 78 */ mr r31, r6 -/* 802B3E44 002B0DA4 93 C1 00 08 */ stw r30, 8(r1) -/* 802B3E48 002B0DA8 41 82 02 44 */ beq lbl_802B408C -/* 802B3E4C 002B0DAC 40 80 00 90 */ bge lbl_802B3EDC -/* 802B3E50 002B0DB0 3C C0 31 4F */ lis r6, 0x314F4646@ha -/* 802B3E54 002B0DB4 38 06 46 46 */ addi r0, r6, 0x314F4646@l -/* 802B3E58 002B0DB8 7C 05 00 00 */ cmpw r5, r0 -/* 802B3E5C 002B0DBC 41 82 01 94 */ beq lbl_802B3FF0 -/* 802B3E60 002B0DC0 40 80 00 40 */ bge lbl_802B3EA0 -/* 802B3E64 002B0DC4 3C 80 31 43 */ lis r4, 0x31434C52@ha -/* 802B3E68 002B0DC8 38 04 4C 52 */ addi r0, r4, 0x31434C52@l -/* 802B3E6C 002B0DCC 7C 05 00 00 */ cmpw r5, r0 -/* 802B3E70 002B0DD0 41 82 01 B4 */ beq lbl_802B4024 -/* 802B3E74 002B0DD4 40 80 00 18 */ bge lbl_802B3E8C -/* 802B3E78 002B0DD8 3C 80 31 41 */ lis r4, 0x31414444@ha -/* 802B3E7C 002B0DDC 38 04 44 44 */ addi r0, r4, 0x31414444@l -/* 802B3E80 002B0DE0 7C 05 00 00 */ cmpw r5, r0 -/* 802B3E84 002B0DE4 41 82 02 08 */ beq lbl_802B408C -/* 802B3E88 002B0DE8 48 00 02 0C */ b lbl_802B4094 -lbl_802B3E8C: -/* 802B3E8C 002B0DEC 3C 80 31 4C */ lis r4, 0x314C4654@ha -/* 802B3E90 002B0DF0 38 04 46 54 */ addi r0, r4, 0x314C4654@l -/* 802B3E94 002B0DF4 7C 05 00 00 */ cmpw r5, r0 -/* 802B3E98 002B0DF8 41 82 00 BC */ beq lbl_802B3F54 -/* 802B3E9C 002B0DFC 48 00 01 F8 */ b lbl_802B4094 -lbl_802B3EA0: -/* 802B3EA0 002B0E00 3C C0 31 53 */ lis r6, 0x31535A45@ha -/* 802B3EA4 002B0E04 38 06 5A 45 */ addi r0, r6, 0x31535A45@l -/* 802B3EA8 002B0E08 7C 05 00 00 */ cmpw r5, r0 -/* 802B3EAC 002B0E0C 41 82 00 DC */ beq lbl_802B3F88 -/* 802B3EB0 002B0E10 40 80 00 18 */ bge lbl_802B3EC8 -/* 802B3EB4 002B0E14 3C 80 31 52 */ lis r4, 0x31524F54@ha -/* 802B3EB8 002B0E18 38 04 4F 54 */ addi r0, r4, 0x31524F54@l -/* 802B3EBC 002B0E1C 7C 05 00 00 */ cmpw r5, r0 -/* 802B3EC0 002B0E20 41 82 00 FC */ beq lbl_802B3FBC -/* 802B3EC4 002B0E24 48 00 01 D0 */ b lbl_802B4094 -lbl_802B3EC8: -/* 802B3EC8 002B0E28 3C C0 31 54 */ lis r6, 0x31544558@ha -/* 802B3ECC 002B0E2C 38 06 45 58 */ addi r0, r6, 0x31544558@l -/* 802B3ED0 002B0E30 7C 05 00 00 */ cmpw r5, r0 -/* 802B3ED4 002B0E34 41 82 01 84 */ beq lbl_802B4058 -/* 802B3ED8 002B0E38 48 00 01 BC */ b lbl_802B4094 -lbl_802B3EDC: -/* 802B3EDC 002B0E3C 3C C0 32 52 */ lis r6, 0x32524F54@ha -/* 802B3EE0 002B0E40 38 06 4F 54 */ addi r0, r6, 0x32524F54@l -/* 802B3EE4 002B0E44 7C 05 00 00 */ cmpw r5, r0 -/* 802B3EE8 002B0E48 41 82 00 D4 */ beq lbl_802B3FBC -/* 802B3EEC 002B0E4C 40 80 00 40 */ bge lbl_802B3F2C -/* 802B3EF0 002B0E50 3C 80 32 4C */ lis r4, 0x324C4654@ha -/* 802B3EF4 002B0E54 38 04 46 54 */ addi r0, r4, 0x324C4654@l -/* 802B3EF8 002B0E58 7C 05 00 00 */ cmpw r5, r0 -/* 802B3EFC 002B0E5C 41 82 00 58 */ beq lbl_802B3F54 -/* 802B3F00 002B0E60 40 80 00 18 */ bge lbl_802B3F18 -/* 802B3F04 002B0E64 3C 80 32 43 */ lis r4, 0x32434C52@ha -/* 802B3F08 002B0E68 38 04 4C 52 */ addi r0, r4, 0x32434C52@l -/* 802B3F0C 002B0E6C 7C 05 00 00 */ cmpw r5, r0 -/* 802B3F10 002B0E70 41 82 01 14 */ beq lbl_802B4024 -/* 802B3F14 002B0E74 48 00 01 80 */ b lbl_802B4094 -lbl_802B3F18: -/* 802B3F18 002B0E78 3C 80 32 4F */ lis r4, 0x324F4646@ha -/* 802B3F1C 002B0E7C 38 04 46 46 */ addi r0, r4, 0x324F4646@l -/* 802B3F20 002B0E80 7C 05 00 00 */ cmpw r5, r0 -/* 802B3F24 002B0E84 41 82 00 CC */ beq lbl_802B3FF0 -/* 802B3F28 002B0E88 48 00 01 6C */ b lbl_802B4094 -lbl_802B3F2C: -/* 802B3F2C 002B0E8C 3C C0 32 54 */ lis r6, 0x32544558@ha -/* 802B3F30 002B0E90 38 06 45 58 */ addi r0, r6, 0x32544558@l -/* 802B3F34 002B0E94 7C 05 00 00 */ cmpw r5, r0 -/* 802B3F38 002B0E98 41 82 01 20 */ beq lbl_802B4058 -/* 802B3F3C 002B0E9C 40 80 01 58 */ bge lbl_802B4094 -/* 802B3F40 002B0EA0 3C 80 32 53 */ lis r4, 0x32535A45@ha -/* 802B3F44 002B0EA4 38 04 5A 45 */ addi r0, r4, 0x32535A45@l -/* 802B3F48 002B0EA8 7C 05 00 00 */ cmpw r5, r0 -/* 802B3F4C 002B0EAC 41 82 00 3C */ beq lbl_802B3F88 -/* 802B3F50 002B0EB0 48 00 01 44 */ b lbl_802B4094 -lbl_802B3F54: -/* 802B3F54 002B0EB4 48 07 3C 51 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 802B3F58 002B0EB8 80 1F 00 00 */ lwz r0, 0(r31) -/* 802B3F5C 002B0EBC 7C 7E 1B 78 */ mr r30, r3 -/* 802B3F60 002B0EC0 28 00 00 00 */ cmplwi r0, 0 -/* 802B3F64 002B0EC4 41 82 00 1C */ beq lbl_802B3F80 -/* 802B3F68 002B0EC8 7C 03 03 78 */ mr r3, r0 -/* 802B3F6C 002B0ECC 38 80 00 01 */ li r4, 1 -/* 802B3F70 002B0ED0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3F74 002B0ED4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3F78 002B0ED8 7D 89 03 A6 */ mtctr r12 -/* 802B3F7C 002B0EDC 4E 80 04 21 */ bctrl -lbl_802B3F80: -/* 802B3F80 002B0EE0 93 DF 00 00 */ stw r30, 0(r31) -/* 802B3F84 002B0EE4 48 00 01 10 */ b lbl_802B4094 -lbl_802B3F88: -/* 802B3F88 002B0EE8 48 07 2D 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 802B3F8C 002B0EEC 80 1F 00 04 */ lwz r0, 4(r31) -/* 802B3F90 002B0EF0 7C 7E 1B 78 */ mr r30, r3 -/* 802B3F94 002B0EF4 28 00 00 00 */ cmplwi r0, 0 -/* 802B3F98 002B0EF8 41 82 00 1C */ beq lbl_802B3FB4 -/* 802B3F9C 002B0EFC 7C 03 03 78 */ mr r3, r0 -/* 802B3FA0 002B0F00 38 80 00 01 */ li r4, 1 -/* 802B3FA4 002B0F04 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3FA8 002B0F08 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3FAC 002B0F0C 7D 89 03 A6 */ mtctr r12 -/* 802B3FB0 002B0F10 4E 80 04 21 */ bctrl -lbl_802B3FB4: -/* 802B3FB4 002B0F14 93 DF 00 04 */ stw r30, 4(r31) -/* 802B3FB8 002B0F18 48 00 00 DC */ b lbl_802B4094 -lbl_802B3FBC: -/* 802B3FBC 002B0F1C 48 07 2C D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 802B3FC0 002B0F20 80 1F 00 08 */ lwz r0, 8(r31) -/* 802B3FC4 002B0F24 7C 7E 1B 78 */ mr r30, r3 -/* 802B3FC8 002B0F28 28 00 00 00 */ cmplwi r0, 0 -/* 802B3FCC 002B0F2C 41 82 00 1C */ beq lbl_802B3FE8 -/* 802B3FD0 002B0F30 7C 03 03 78 */ mr r3, r0 -/* 802B3FD4 002B0F34 38 80 00 01 */ li r4, 1 -/* 802B3FD8 002B0F38 81 83 00 00 */ lwz r12, 0(r3) -/* 802B3FDC 002B0F3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B3FE0 002B0F40 7D 89 03 A6 */ mtctr r12 -/* 802B3FE4 002B0F44 4E 80 04 21 */ bctrl -lbl_802B3FE8: -/* 802B3FE8 002B0F48 93 DF 00 08 */ stw r30, 8(r31) -/* 802B3FEC 002B0F4C 48 00 00 A8 */ b lbl_802B4094 -lbl_802B3FF0: -/* 802B3FF0 002B0F50 48 07 22 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 802B3FF4 002B0F54 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802B3FF8 002B0F58 7C 7E 1B 78 */ mr r30, r3 -/* 802B3FFC 002B0F5C 28 00 00 00 */ cmplwi r0, 0 -/* 802B4000 002B0F60 41 82 00 1C */ beq lbl_802B401C -/* 802B4004 002B0F64 7C 03 03 78 */ mr r3, r0 -/* 802B4008 002B0F68 38 80 00 01 */ li r4, 1 -/* 802B400C 002B0F6C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4010 002B0F70 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4014 002B0F74 7D 89 03 A6 */ mtctr r12 -/* 802B4018 002B0F78 4E 80 04 21 */ bctrl -lbl_802B401C: -/* 802B401C 002B0F7C 93 DF 00 0C */ stw r30, 0xc(r31) -/* 802B4020 002B0F80 48 00 00 74 */ b lbl_802B4094 -lbl_802B4024: -/* 802B4024 002B0F84 48 07 12 39 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 802B4028 002B0F88 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 802B402C 002B0F8C 7C 7E 1B 78 */ mr r30, r3 -/* 802B4030 002B0F90 28 00 00 00 */ cmplwi r0, 0 -/* 802B4034 002B0F94 41 82 00 1C */ beq lbl_802B4050 -/* 802B4038 002B0F98 7C 03 03 78 */ mr r3, r0 -/* 802B403C 002B0F9C 38 80 00 01 */ li r4, 1 -/* 802B4040 002B0FA0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4044 002B0FA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4048 002B0FA8 7D 89 03 A6 */ mtctr r12 -/* 802B404C 002B0FAC 4E 80 04 21 */ bctrl -lbl_802B4050: -/* 802B4050 002B0FB0 93 DF 00 10 */ stw r30, 0x10(r31) -/* 802B4054 002B0FB4 48 00 00 40 */ b lbl_802B4094 -lbl_802B4058: -/* 802B4058 002B0FB8 48 07 0D D9 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 802B405C 002B0FBC 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802B4060 002B0FC0 7C 7E 1B 78 */ mr r30, r3 -/* 802B4064 002B0FC4 28 00 00 00 */ cmplwi r0, 0 -/* 802B4068 002B0FC8 41 82 00 1C */ beq lbl_802B4084 -/* 802B406C 002B0FCC 7C 03 03 78 */ mr r3, r0 -/* 802B4070 002B0FD0 38 80 00 01 */ li r4, 1 -/* 802B4074 002B0FD4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4078 002B0FD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B407C 002B0FDC 7D 89 03 A6 */ mtctr r12 -/* 802B4080 002B0FE0 4E 80 04 21 */ bctrl -lbl_802B4084: -/* 802B4084 002B0FE4 93 DF 00 14 */ stw r30, 0x14(r31) -/* 802B4088 002B0FE8 48 00 00 0C */ b lbl_802B4094 -lbl_802B408C: -/* 802B408C 002B0FEC 48 07 43 9D */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 802B4090 002B0FF0 98 7F 00 18 */ stb r3, 0x18(r31) -lbl_802B4094: -/* 802B4094 002B0FF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B4098 002B0FF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B409C 002B0FFC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B40A0 002B1000 7C 08 03 A6 */ mtlr r0 -/* 802B40A4 002B1004 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B40A8 002B1008 4E 80 00 20 */ blr - -.global __dt__10CUVElementFv -__dt__10CUVElementFv: -/* 802B40AC 002B100C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B40B0 002B1010 7C 08 02 A6 */ mflr r0 -/* 802B40B4 002B1014 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B40B8 002B1018 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B40BC 002B101C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B40C0 002B1020 41 82 00 34 */ beq lbl_802B40F4 -/* 802B40C4 002B1024 3C 60 80 3F */ lis r3, lbl_803EC568@ha -/* 802B40C8 002B1028 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l -/* 802B40CC 002B102C 90 1F 00 00 */ stw r0, 0(r31) -/* 802B40D0 002B1030 41 82 00 10 */ beq lbl_802B40E0 -/* 802B40D4 002B1034 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B40D8 002B1038 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B40DC 002B103C 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B40E0: -/* 802B40E0 002B1040 7C 80 07 35 */ extsh. r0, r4 -/* 802B40E4 002B1044 40 81 00 10 */ ble lbl_802B40F4 -/* 802B40E8 002B1048 7F E3 FB 78 */ mr r3, r31 -/* 802B40EC 002B104C 38 80 00 04 */ li r4, 4 -/* 802B40F0 002B1050 48 0B 89 75 */ bl sub_8036ca64 -lbl_802B40F4: -/* 802B40F4 002B1054 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B40F8 002B1058 7F E3 FB 78 */ mr r3, r31 -/* 802B40FC 002B105C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B4100 002B1060 7C 08 03 A6 */ mtlr r0 -/* 802B4104 002B1064 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B4108 002B1068 4E 80 00 20 */ blr - -.global __dt__12CRealElementFv -__dt__12CRealElementFv: -/* 802B410C 002B106C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B4110 002B1070 7C 08 02 A6 */ mflr r0 -/* 802B4114 002B1074 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B4118 002B1078 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B411C 002B107C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B4120 002B1080 41 82 00 34 */ beq lbl_802B4154 -/* 802B4124 002B1084 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 802B4128 002B1088 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 802B412C 002B108C 90 1F 00 00 */ stw r0, 0(r31) -/* 802B4130 002B1090 41 82 00 10 */ beq lbl_802B4140 -/* 802B4134 002B1094 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B4138 002B1098 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B413C 002B109C 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B4140: -/* 802B4140 002B10A0 7C 80 07 35 */ extsh. r0, r4 -/* 802B4144 002B10A4 40 81 00 10 */ ble lbl_802B4154 -/* 802B4148 002B10A8 7F E3 FB 78 */ mr r3, r31 -/* 802B414C 002B10AC 38 80 00 04 */ li r4, 4 -/* 802B4150 002B10B0 48 0B 89 15 */ bl sub_8036ca64 -lbl_802B4154: -/* 802B4154 002B10B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B4158 002B10B8 7F E3 FB 78 */ mr r3, r31 -/* 802B415C 002B10BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B4160 002B10C0 7C 08 03 A6 */ mtlr r0 -/* 802B4164 002B10C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B4168 002B10C8 4E 80 00 20 */ blr - -.global CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool -CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: -/* 802B416C 002B10CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B4170 002B10D0 7C 08 02 A6 */ mflr r0 -/* 802B4174 002B10D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B4178 002B10D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B417C 002B10DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B4180 002B10E0 7C 9E 23 78 */ mr r30, r4 -/* 802B4184 002B10E4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B4188 002B10E8 7C 7D 1B 78 */ mr r29, r3 -/* 802B418C 002B10EC 48 07 42 D1 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 802B4190 002B10F0 3C 03 BB B0 */ addis r0, r3, 0xbbb0 -/* 802B4194 002B10F4 28 00 53 4D */ cmplwi r0, 0x534d -/* 802B4198 002B10F8 41 82 00 0C */ beq lbl_802B41A4 -/* 802B419C 002B10FC 38 60 00 00 */ li r3, 0 -/* 802B41A0 002B1100 48 00 00 3C */ b lbl_802B41DC -lbl_802B41A4: -/* 802B41A4 002B1104 3C 80 80 3D */ lis r4, lbl_803D6548@ha -/* 802B41A8 002B1108 38 60 00 60 */ li r3, 0x60 -/* 802B41AC 002B110C 38 84 65 48 */ addi r4, r4, lbl_803D6548@l -/* 802B41B0 002B1110 38 A0 00 00 */ li r5, 0 -/* 802B41B4 002B1114 48 06 16 B9 */ bl __nw__FUlPCcPCc -/* 802B41B8 002B1118 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B41BC 002B111C 41 82 00 0C */ beq lbl_802B41C8 -/* 802B41C0 002B1120 48 00 1B 25 */ bl __ct__17CDecalDescriptionFv -/* 802B41C4 002B1124 7C 7F 1B 78 */ mr r31, r3 -lbl_802B41C8: -/* 802B41C8 002B1128 7F E3 FB 78 */ mr r3, r31 -/* 802B41CC 002B112C 7F A4 EB 78 */ mr r4, r29 -/* 802B41D0 002B1130 7F C5 F3 78 */ mr r5, r30 -/* 802B41D4 002B1134 4B FF F5 AD */ bl CreateDPSM__17CDecalDataFactoryFP17CDecalDescriptionR12CInputStreamP11CSimplePool -/* 802B41D8 002B1138 7F E3 FB 78 */ mr r3, r31 -lbl_802B41DC: -/* 802B41DC 002B113C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B41E0 002B1140 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B41E4 002B1144 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B41E8 002B1148 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B41EC 002B114C 7C 08 03 A6 */ mtlr r0 -/* 802B41F0 002B1150 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B41F4 002B1154 4E 80 00 20 */ blr - -.global GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool -GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool: -/* 802B41F8 002B1158 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B41FC 002B115C 7C 08 02 A6 */ mflr r0 -/* 802B4200 002B1160 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B4204 002B1164 4B FF FF 69 */ bl CreateGeneratorDescription__17CDecalDataFactoryFR12CInputStreamP11CSimplePool -/* 802B4208 002B1168 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B420C 002B116C 7C 08 03 A6 */ mtlr r0 -/* 802B4210 002B1170 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B4214 002B1174 4E 80 00 20 */ blr - -.global sub_802b4218 -sub_802b4218: -/* 802B4218 002B1178 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B421C 002B117C 7C 08 02 A6 */ mflr r0 -/* 802B4220 002B1180 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B4224 002B1184 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B4228 002B1188 7C 9F 23 78 */ mr r31, r4 -/* 802B422C 002B118C 93 C1 00 08 */ stw r30, 8(r1) -/* 802B4230 002B1190 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802B4234 002B1194 41 82 00 58 */ beq lbl_802B428C -/* 802B4238 002B1198 3C 60 80 3F */ lis r3, lbl_803EC548@ha -/* 802B423C 002B119C 38 03 C5 48 */ addi r0, r3, lbl_803EC548@l -/* 802B4240 002B11A0 90 1E 00 00 */ stw r0, 0(r30) -/* 802B4244 002B11A4 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B4248 002B11A8 28 03 00 00 */ cmplwi r3, 0 -/* 802B424C 002B11AC 41 82 00 0C */ beq lbl_802B4258 -/* 802B4250 002B11B0 38 80 00 01 */ li r4, 1 -/* 802B4254 002B11B4 48 00 00 55 */ bl sub_802b42a8 -lbl_802B4258: -/* 802B4258 002B11B8 28 1E 00 00 */ cmplwi r30, 0 -/* 802B425C 002B11BC 41 82 00 20 */ beq lbl_802B427C -/* 802B4260 002B11C0 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802B4264 002B11C4 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802B4268 002B11C8 90 1E 00 00 */ stw r0, 0(r30) -/* 802B426C 002B11CC 41 82 00 10 */ beq lbl_802B427C -/* 802B4270 002B11D0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802B4274 002B11D4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802B4278 002B11D8 90 1E 00 00 */ stw r0, 0(r30) -lbl_802B427C: -/* 802B427C 002B11DC 7F E0 07 35 */ extsh. r0, r31 -/* 802B4280 002B11E0 40 81 00 0C */ ble lbl_802B428C -/* 802B4284 002B11E4 7F C3 F3 78 */ mr r3, r30 -/* 802B4288 002B11E8 48 06 16 A9 */ bl Free__7CMemoryFPCv -lbl_802B428C: -/* 802B428C 002B11EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B4290 002B11F0 7F C3 F3 78 */ mr r3, r30 -/* 802B4294 002B11F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B4298 002B11F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B429C 002B11FC 7C 08 03 A6 */ mtlr r0 -/* 802B42A0 002B1200 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B42A4 002B1204 4E 80 00 20 */ blr - -.global sub_802b42a8 -sub_802b42a8: -/* 802B42A8 002B1208 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B42AC 002B120C 7C 08 02 A6 */ mflr r0 -/* 802B42B0 002B1210 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B42B4 002B1214 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B42B8 002B1218 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B42BC 002B121C 93 C1 00 08 */ stw r30, 8(r1) -/* 802B42C0 002B1220 7C 9E 23 78 */ mr r30, r4 -/* 802B42C4 002B1224 41 82 03 00 */ beq lbl_802B45C4 -/* 802B42C8 002B1228 34 1F 00 58 */ addic. r0, r31, 0x58 -/* 802B42CC 002B122C 41 82 00 24 */ beq lbl_802B42F0 -/* 802B42D0 002B1230 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 802B42D4 002B1234 28 03 00 00 */ cmplwi r3, 0 -/* 802B42D8 002B1238 41 82 00 18 */ beq lbl_802B42F0 -/* 802B42DC 002B123C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B42E0 002B1240 38 80 00 01 */ li r4, 1 -/* 802B42E4 002B1244 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B42E8 002B1248 7D 89 03 A6 */ mtctr r12 -/* 802B42EC 002B124C 4E 80 04 21 */ bctrl -lbl_802B42F0: -/* 802B42F0 002B1250 34 1F 00 54 */ addic. r0, r31, 0x54 -/* 802B42F4 002B1254 41 82 00 24 */ beq lbl_802B4318 -/* 802B42F8 002B1258 80 7F 00 54 */ lwz r3, 0x54(r31) -/* 802B42FC 002B125C 28 03 00 00 */ cmplwi r3, 0 -/* 802B4300 002B1260 41 82 00 18 */ beq lbl_802B4318 -/* 802B4304 002B1264 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4308 002B1268 38 80 00 01 */ li r4, 1 -/* 802B430C 002B126C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4310 002B1270 7D 89 03 A6 */ mtctr r12 -/* 802B4314 002B1274 4E 80 04 21 */ bctrl -lbl_802B4318: -/* 802B4318 002B1278 34 1F 00 50 */ addic. r0, r31, 0x50 -/* 802B431C 002B127C 41 82 00 24 */ beq lbl_802B4340 -/* 802B4320 002B1280 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 802B4324 002B1284 28 03 00 00 */ cmplwi r3, 0 -/* 802B4328 002B1288 41 82 00 18 */ beq lbl_802B4340 -/* 802B432C 002B128C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4330 002B1290 38 80 00 01 */ li r4, 1 -/* 802B4334 002B1294 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4338 002B1298 7D 89 03 A6 */ mtctr r12 -/* 802B433C 002B129C 4E 80 04 21 */ bctrl -lbl_802B4340: -/* 802B4340 002B12A0 34 1F 00 4C */ addic. r0, r31, 0x4c -/* 802B4344 002B12A4 41 82 00 24 */ beq lbl_802B4368 -/* 802B4348 002B12A8 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 802B434C 002B12AC 28 03 00 00 */ cmplwi r3, 0 -/* 802B4350 002B12B0 41 82 00 18 */ beq lbl_802B4368 -/* 802B4354 002B12B4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4358 002B12B8 38 80 00 01 */ li r4, 1 -/* 802B435C 002B12BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4360 002B12C0 7D 89 03 A6 */ mtctr r12 -/* 802B4364 002B12C4 4E 80 04 21 */ bctrl -lbl_802B4368: -/* 802B4368 002B12C8 34 1F 00 48 */ addic. r0, r31, 0x48 -/* 802B436C 002B12CC 41 82 00 24 */ beq lbl_802B4390 -/* 802B4370 002B12D0 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 802B4374 002B12D4 28 03 00 00 */ cmplwi r3, 0 -/* 802B4378 002B12D8 41 82 00 18 */ beq lbl_802B4390 -/* 802B437C 002B12DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4380 002B12E0 38 80 00 01 */ li r4, 1 -/* 802B4384 002B12E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4388 002B12E8 7D 89 03 A6 */ mtctr r12 -/* 802B438C 002B12EC 4E 80 04 21 */ bctrl -lbl_802B4390: -/* 802B4390 002B12F0 34 1F 00 38 */ addic. r0, r31, 0x38 -/* 802B4394 002B12F4 41 82 00 30 */ beq lbl_802B43C4 -/* 802B4398 002B12F8 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 802B439C 002B12FC 28 00 00 00 */ cmplwi r0, 0 -/* 802B43A0 002B1300 41 82 00 1C */ beq lbl_802B43BC -/* 802B43A4 002B1304 34 7F 00 38 */ addic. r3, r31, 0x38 -/* 802B43A8 002B1308 41 82 00 14 */ beq lbl_802B43BC -/* 802B43AC 002B130C 28 03 00 00 */ cmplwi r3, 0 -/* 802B43B0 002B1310 41 82 00 0C */ beq lbl_802B43BC -/* 802B43B4 002B1314 38 80 00 00 */ li r4, 0 -/* 802B43B8 002B1318 48 08 CA 89 */ bl __dt__6CTokenFv -lbl_802B43BC: -/* 802B43BC 002B131C 38 00 00 00 */ li r0, 0 -/* 802B43C0 002B1320 98 1F 00 44 */ stb r0, 0x44(r31) -lbl_802B43C4: -/* 802B43C4 002B1324 34 1F 00 1C */ addic. r0, r31, 0x1c -/* 802B43C8 002B1328 41 82 00 F4 */ beq lbl_802B44BC -/* 802B43CC 002B132C 34 1F 00 30 */ addic. r0, r31, 0x30 -/* 802B43D0 002B1330 41 82 00 24 */ beq lbl_802B43F4 -/* 802B43D4 002B1334 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 802B43D8 002B1338 28 03 00 00 */ cmplwi r3, 0 -/* 802B43DC 002B133C 41 82 00 18 */ beq lbl_802B43F4 -/* 802B43E0 002B1340 81 83 00 00 */ lwz r12, 0(r3) -/* 802B43E4 002B1344 38 80 00 01 */ li r4, 1 -/* 802B43E8 002B1348 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B43EC 002B134C 7D 89 03 A6 */ mtctr r12 -/* 802B43F0 002B1350 4E 80 04 21 */ bctrl -lbl_802B43F4: -/* 802B43F4 002B1354 34 1F 00 2C */ addic. r0, r31, 0x2c -/* 802B43F8 002B1358 41 82 00 24 */ beq lbl_802B441C -/* 802B43FC 002B135C 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 802B4400 002B1360 28 03 00 00 */ cmplwi r3, 0 -/* 802B4404 002B1364 41 82 00 18 */ beq lbl_802B441C -/* 802B4408 002B1368 81 83 00 00 */ lwz r12, 0(r3) -/* 802B440C 002B136C 38 80 00 01 */ li r4, 1 -/* 802B4410 002B1370 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4414 002B1374 7D 89 03 A6 */ mtctr r12 -/* 802B4418 002B1378 4E 80 04 21 */ bctrl -lbl_802B441C: -/* 802B441C 002B137C 34 1F 00 28 */ addic. r0, r31, 0x28 -/* 802B4420 002B1380 41 82 00 24 */ beq lbl_802B4444 -/* 802B4424 002B1384 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 802B4428 002B1388 28 03 00 00 */ cmplwi r3, 0 -/* 802B442C 002B138C 41 82 00 18 */ beq lbl_802B4444 -/* 802B4430 002B1390 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4434 002B1394 38 80 00 01 */ li r4, 1 -/* 802B4438 002B1398 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B443C 002B139C 7D 89 03 A6 */ mtctr r12 -/* 802B4440 002B13A0 4E 80 04 21 */ bctrl -lbl_802B4444: -/* 802B4444 002B13A4 34 1F 00 24 */ addic. r0, r31, 0x24 -/* 802B4448 002B13A8 41 82 00 24 */ beq lbl_802B446C -/* 802B444C 002B13AC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802B4450 002B13B0 28 03 00 00 */ cmplwi r3, 0 -/* 802B4454 002B13B4 41 82 00 18 */ beq lbl_802B446C -/* 802B4458 002B13B8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B445C 002B13BC 38 80 00 01 */ li r4, 1 -/* 802B4460 002B13C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4464 002B13C4 7D 89 03 A6 */ mtctr r12 -/* 802B4468 002B13C8 4E 80 04 21 */ bctrl -lbl_802B446C: -/* 802B446C 002B13CC 34 1F 00 20 */ addic. r0, r31, 0x20 -/* 802B4470 002B13D0 41 82 00 24 */ beq lbl_802B4494 -/* 802B4474 002B13D4 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 802B4478 002B13D8 28 03 00 00 */ cmplwi r3, 0 -/* 802B447C 002B13DC 41 82 00 18 */ beq lbl_802B4494 -/* 802B4480 002B13E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4484 002B13E4 38 80 00 01 */ li r4, 1 -/* 802B4488 002B13E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B448C 002B13EC 7D 89 03 A6 */ mtctr r12 -/* 802B4490 002B13F0 4E 80 04 21 */ bctrl -lbl_802B4494: -/* 802B4494 002B13F4 34 1F 00 1C */ addic. r0, r31, 0x1c -/* 802B4498 002B13F8 41 82 00 24 */ beq lbl_802B44BC -/* 802B449C 002B13FC 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802B44A0 002B1400 28 03 00 00 */ cmplwi r3, 0 -/* 802B44A4 002B1404 41 82 00 18 */ beq lbl_802B44BC -/* 802B44A8 002B1408 81 83 00 00 */ lwz r12, 0(r3) -/* 802B44AC 002B140C 38 80 00 01 */ li r4, 1 -/* 802B44B0 002B1410 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B44B4 002B1414 7D 89 03 A6 */ mtctr r12 -/* 802B44B8 002B1418 4E 80 04 21 */ bctrl -lbl_802B44BC: -/* 802B44BC 002B141C 28 1F 00 00 */ cmplwi r31, 0 -/* 802B44C0 002B1420 41 82 00 F4 */ beq lbl_802B45B4 -/* 802B44C4 002B1424 34 1F 00 14 */ addic. r0, r31, 0x14 -/* 802B44C8 002B1428 41 82 00 24 */ beq lbl_802B44EC -/* 802B44CC 002B142C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 802B44D0 002B1430 28 03 00 00 */ cmplwi r3, 0 -/* 802B44D4 002B1434 41 82 00 18 */ beq lbl_802B44EC -/* 802B44D8 002B1438 81 83 00 00 */ lwz r12, 0(r3) -/* 802B44DC 002B143C 38 80 00 01 */ li r4, 1 -/* 802B44E0 002B1440 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B44E4 002B1444 7D 89 03 A6 */ mtctr r12 -/* 802B44E8 002B1448 4E 80 04 21 */ bctrl -lbl_802B44EC: -/* 802B44EC 002B144C 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 802B44F0 002B1450 41 82 00 24 */ beq lbl_802B4514 -/* 802B44F4 002B1454 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802B44F8 002B1458 28 03 00 00 */ cmplwi r3, 0 -/* 802B44FC 002B145C 41 82 00 18 */ beq lbl_802B4514 -/* 802B4500 002B1460 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4504 002B1464 38 80 00 01 */ li r4, 1 -/* 802B4508 002B1468 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B450C 002B146C 7D 89 03 A6 */ mtctr r12 -/* 802B4510 002B1470 4E 80 04 21 */ bctrl -lbl_802B4514: -/* 802B4514 002B1474 34 1F 00 0C */ addic. r0, r31, 0xc -/* 802B4518 002B1478 41 82 00 24 */ beq lbl_802B453C -/* 802B451C 002B147C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B4520 002B1480 28 03 00 00 */ cmplwi r3, 0 -/* 802B4524 002B1484 41 82 00 18 */ beq lbl_802B453C -/* 802B4528 002B1488 81 83 00 00 */ lwz r12, 0(r3) -/* 802B452C 002B148C 38 80 00 01 */ li r4, 1 -/* 802B4530 002B1490 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4534 002B1494 7D 89 03 A6 */ mtctr r12 -/* 802B4538 002B1498 4E 80 04 21 */ bctrl -lbl_802B453C: -/* 802B453C 002B149C 34 1F 00 08 */ addic. r0, r31, 8 -/* 802B4540 002B14A0 41 82 00 24 */ beq lbl_802B4564 -/* 802B4544 002B14A4 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4548 002B14A8 28 03 00 00 */ cmplwi r3, 0 -/* 802B454C 002B14AC 41 82 00 18 */ beq lbl_802B4564 -/* 802B4550 002B14B0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4554 002B14B4 38 80 00 01 */ li r4, 1 -/* 802B4558 002B14B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B455C 002B14BC 7D 89 03 A6 */ mtctr r12 -/* 802B4560 002B14C0 4E 80 04 21 */ bctrl -lbl_802B4564: -/* 802B4564 002B14C4 34 1F 00 04 */ addic. r0, r31, 4 -/* 802B4568 002B14C8 41 82 00 24 */ beq lbl_802B458C -/* 802B456C 002B14CC 80 7F 00 04 */ lwz r3, 4(r31) -/* 802B4570 002B14D0 28 03 00 00 */ cmplwi r3, 0 -/* 802B4574 002B14D4 41 82 00 18 */ beq lbl_802B458C -/* 802B4578 002B14D8 81 83 00 00 */ lwz r12, 0(r3) -/* 802B457C 002B14DC 38 80 00 01 */ li r4, 1 -/* 802B4580 002B14E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B4584 002B14E4 7D 89 03 A6 */ mtctr r12 -/* 802B4588 002B14E8 4E 80 04 21 */ bctrl -lbl_802B458C: -/* 802B458C 002B14EC 28 1F 00 00 */ cmplwi r31, 0 -/* 802B4590 002B14F0 41 82 00 24 */ beq lbl_802B45B4 -/* 802B4594 002B14F4 80 7F 00 00 */ lwz r3, 0(r31) -/* 802B4598 002B14F8 28 03 00 00 */ cmplwi r3, 0 -/* 802B459C 002B14FC 41 82 00 18 */ beq lbl_802B45B4 -/* 802B45A0 002B1500 81 83 00 00 */ lwz r12, 0(r3) -/* 802B45A4 002B1504 38 80 00 01 */ li r4, 1 -/* 802B45A8 002B1508 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B45AC 002B150C 7D 89 03 A6 */ mtctr r12 -/* 802B45B0 002B1510 4E 80 04 21 */ bctrl -lbl_802B45B4: -/* 802B45B4 002B1514 7F C0 07 35 */ extsh. r0, r30 -/* 802B45B8 002B1518 40 81 00 0C */ ble lbl_802B45C4 -/* 802B45BC 002B151C 7F E3 FB 78 */ mr r3, r31 -/* 802B45C0 002B1520 48 06 13 71 */ bl Free__7CMemoryFPCv -lbl_802B45C4: -/* 802B45C4 002B1524 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B45C8 002B1528 7F E3 FB 78 */ mr r3, r31 -/* 802B45CC 002B152C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B45D0 002B1530 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B45D4 002B1534 7C 08 03 A6 */ mtlr r0 -/* 802B45D8 002B1538 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B45DC 002B153C 4E 80 00 20 */ blr - -.global FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FDecalDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802B45E0 002B1540 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B45E4 002B1544 7C 08 02 A6 */ mflr r0 -/* 802B45E8 002B1548 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B45EC 002B154C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B45F0 002B1550 7C 7F 1B 78 */ mr r31, r3 -/* 802B45F4 002B1554 7C A3 2B 78 */ mr r3, r5 -/* 802B45F8 002B1558 80 C6 00 00 */ lwz r6, 0(r6) -/* 802B45FC 002B155C 90 C1 00 08 */ stw r6, 8(r1) -/* 802B4600 002B1560 80 86 00 04 */ lwz r4, 4(r6) -/* 802B4604 002B1564 38 04 00 01 */ addi r0, r4, 1 -/* 802B4608 002B1568 90 06 00 04 */ stw r0, 4(r6) -/* 802B460C 002B156C 80 81 00 08 */ lwz r4, 8(r1) -/* 802B4610 002B1570 80 84 00 00 */ lwz r4, 0(r4) -/* 802B4614 002B1574 80 84 00 04 */ lwz r4, 4(r4) -/* 802B4618 002B1578 4B FF FB E1 */ bl GetGeneratorDesc__17CDecalDataFactoryFR12CInputStreamP11CSimplePool -/* 802B461C 002B157C 7C 60 1B 78 */ mr r0, r3 -/* 802B4620 002B1580 7F E3 FB 78 */ mr r3, r31 -/* 802B4624 002B1584 7C 04 03 78 */ mr r4, r0 -/* 802B4628 002B1588 48 00 00 21 */ bl "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" -/* 802B462C 002B158C 38 61 00 08 */ addi r3, r1, 8 -/* 802B4630 002B1590 4B D7 FC D5 */ bl sub_80034304 -/* 802B4634 002B1594 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B4638 002B1598 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B463C 002B159C 7C 08 03 A6 */ mtlr r0 -/* 802B4640 002B15A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B4644 002B15A4 4E 80 00 20 */ blr - -.global "__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription" -"__ct__Q24rstl29auto_ptr<17CDecalDescription>FP17CDecalDescription": -/* 802B4648 002B15A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B464C 002B15AC 7C 08 02 A6 */ mflr r0 -/* 802B4650 002B15B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B4654 002B15B4 7C 04 00 D0 */ neg r0, r4 -/* 802B4658 002B15B8 7C 00 23 78 */ or r0, r0, r4 -/* 802B465C 002B15BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B4660 002B15C0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B4664 002B15C4 7C 7F 1B 78 */ mr r31, r3 -/* 802B4668 002B15C8 38 61 00 08 */ addi r3, r1, 8 -/* 802B466C 002B15CC 90 81 00 14 */ stw r4, 0x14(r1) -/* 802B4670 002B15D0 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B4674 002B15D4 98 01 00 10 */ stb r0, 0x10(r1) -/* 802B4678 002B15D8 48 00 00 75 */ bl "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" -/* 802B467C 002B15DC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802B4680 002B15E0 38 00 00 00 */ li r0, 0 -/* 802B4684 002B15E4 98 01 00 08 */ stb r0, 8(r1) -/* 802B4688 002B15E8 7C 03 00 D0 */ neg r0, r3 -/* 802B468C 002B15EC 7C 00 1B 78 */ or r0, r0, r3 -/* 802B4690 002B15F0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B4694 002B15F4 98 1F 00 00 */ stb r0, 0(r31) -/* 802B4698 002B15F8 90 7F 00 04 */ stw r3, 4(r31) -/* 802B469C 002B15FC 88 01 00 08 */ lbz r0, 8(r1) -/* 802B46A0 002B1600 28 00 00 00 */ cmplwi r0, 0 -/* 802B46A4 002B1604 41 82 00 24 */ beq lbl_802B46C8 -/* 802B46A8 002B1608 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802B46AC 002B160C 28 03 00 00 */ cmplwi r3, 0 -/* 802B46B0 002B1610 41 82 00 18 */ beq lbl_802B46C8 -/* 802B46B4 002B1614 81 83 00 00 */ lwz r12, 0(r3) -/* 802B46B8 002B1618 38 80 00 01 */ li r4, 1 -/* 802B46BC 002B161C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B46C0 002B1620 7D 89 03 A6 */ mtctr r12 -/* 802B46C4 002B1624 4E 80 04 21 */ bctrl -lbl_802B46C8: -/* 802B46C8 002B1628 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B46CC 002B162C 38 80 FF FF */ li r4, -1 -/* 802B46D0 002B1630 48 00 00 E5 */ bl sub_802b47b4 -/* 802B46D4 002B1634 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B46D8 002B1638 7F E3 FB 78 */ mr r3, r31 -/* 802B46DC 002B163C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B46E0 002B1640 7C 08 03 A6 */ mtlr r0 -/* 802B46E4 002B1644 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B46E8 002B1648 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" -"GetIObjObjectFor__27TToken<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": -/* 802B46EC 002B164C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B46F0 002B1650 7C 08 02 A6 */ mflr r0 -/* 802B46F4 002B1654 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B46F8 002B1658 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B46FC 002B165C 7C 7F 1B 78 */ mr r31, r3 -/* 802B4700 002B1660 48 00 00 19 */ bl "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" -/* 802B4704 002B1664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B4708 002B1668 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B470C 002B166C 7C 08 03 A6 */ mtlr r0 -/* 802B4710 002B1670 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B4714 002B1674 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>" -"GetNewDerivedObject__45TObjOwnerDerivedFromIObj<17CDecalDescription>FRCQ24rstl29auto_ptr<17CDecalDescription>": -/* 802B4718 002B1678 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B471C 002B167C 7C 08 02 A6 */ mflr r0 -/* 802B4720 002B1680 3C A0 80 3D */ lis r5, lbl_803D6548@ha -/* 802B4724 002B1684 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B4728 002B1688 38 05 65 48 */ addi r0, r5, lbl_803D6548@l -/* 802B472C 002B168C 38 A0 00 00 */ li r5, 0 -/* 802B4730 002B1690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B4734 002B1694 7C 9F 23 78 */ mr r31, r4 -/* 802B4738 002B1698 7C 04 03 78 */ mr r4, r0 -/* 802B473C 002B169C 93 C1 00 08 */ stw r30, 8(r1) -/* 802B4740 002B16A0 7C 7E 1B 78 */ mr r30, r3 -/* 802B4744 002B16A4 38 60 00 08 */ li r3, 8 -/* 802B4748 002B16A8 48 06 11 25 */ bl __nw__FUlPCcPCc -/* 802B474C 002B16AC 28 03 00 00 */ cmplwi r3, 0 -/* 802B4750 002B16B0 41 82 00 38 */ beq lbl_802B4788 -/* 802B4754 002B16B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802B4758 002B16B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802B475C 002B16BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802B4760 002B16C0 3C 80 80 3F */ lis r4, lbl_803EC548@ha -/* 802B4764 002B16C4 90 03 00 00 */ stw r0, 0(r3) -/* 802B4768 002B16C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802B476C 002B16CC 38 A0 00 00 */ li r5, 0 -/* 802B4770 002B16D0 38 04 C5 48 */ addi r0, r4, lbl_803EC548@l -/* 802B4774 002B16D4 90 C3 00 00 */ stw r6, 0(r3) -/* 802B4778 002B16D8 98 BF 00 00 */ stb r5, 0(r31) -/* 802B477C 002B16DC 80 9F 00 04 */ lwz r4, 4(r31) -/* 802B4780 002B16E0 90 83 00 04 */ stw r4, 4(r3) -/* 802B4784 002B16E4 90 03 00 00 */ stw r0, 0(r3) -lbl_802B4788: -/* 802B4788 002B16E8 7C 03 00 D0 */ neg r0, r3 -/* 802B478C 002B16EC 7C 00 1B 78 */ or r0, r0, r3 -/* 802B4790 002B16F0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B4794 002B16F4 98 1E 00 00 */ stb r0, 0(r30) -/* 802B4798 002B16F8 90 7E 00 04 */ stw r3, 4(r30) -/* 802B479C 002B16FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B47A0 002B1700 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B47A4 002B1704 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B47A8 002B1708 7C 08 03 A6 */ mtlr r0 -/* 802B47AC 002B170C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B47B0 002B1710 4E 80 00 20 */ blr - -.global sub_802b47b4 -sub_802b47b4: -/* 802B47B4 002B1714 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B47B8 002B1718 7C 08 02 A6 */ mflr r0 -/* 802B47BC 002B171C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B47C0 002B1720 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B47C4 002B1724 7C 9F 23 78 */ mr r31, r4 -/* 802B47C8 002B1728 93 C1 00 08 */ stw r30, 8(r1) -/* 802B47CC 002B172C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802B47D0 002B1730 41 82 00 2C */ beq lbl_802B47FC -/* 802B47D4 002B1734 88 1E 00 00 */ lbz r0, 0(r30) -/* 802B47D8 002B1738 28 00 00 00 */ cmplwi r0, 0 -/* 802B47DC 002B173C 41 82 00 10 */ beq lbl_802B47EC -/* 802B47E0 002B1740 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B47E4 002B1744 38 80 00 01 */ li r4, 1 -/* 802B47E8 002B1748 4B FF FA C1 */ bl sub_802b42a8 -lbl_802B47EC: -/* 802B47EC 002B174C 7F E0 07 35 */ extsh. r0, r31 -/* 802B47F0 002B1750 40 81 00 0C */ ble lbl_802B47FC -/* 802B47F4 002B1754 7F C3 F3 78 */ mr r3, r30 -/* 802B47F8 002B1758 48 06 11 39 */ bl Free__7CMemoryFPCv -lbl_802B47FC: -/* 802B47FC 002B175C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B4800 002B1760 7F C3 F3 78 */ mr r3, r30 -/* 802B4804 002B1764 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B4808 002B1768 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B480C 002B176C 7C 08 03 A6 */ mtlr r0 -/* 802B4810 002B1770 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B4814 002B1774 4E 80 00 20 */ blr - -.global IsConstant__12CRealElementCFv -IsConstant__12CRealElementCFv: -/* 802B4818 002B1778 38 60 00 00 */ li r3, 0 -/* 802B481C 002B177C 4E 80 00 20 */ blr - -.global IsFastConstant__14CVectorElementCFv -IsFastConstant__14CVectorElementCFv: -/* 802B4820 002B1780 38 60 00 00 */ li r3, 0 -/* 802B4824 002B1784 4E 80 00 20 */ blr - -.global Update__6CDecalFf -Update__6CDecalFf: -/* 802B4828 002B1788 80 83 00 58 */ lwz r4, 0x58(r3) -/* 802B482C 002B178C 80 03 00 40 */ lwz r0, 0x40(r3) -/* 802B4830 002B1790 7C 04 00 00 */ cmpw r4, r0 -/* 802B4834 002B1794 41 80 00 10 */ blt lbl_802B4844 -/* 802B4838 002B1798 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 802B483C 002B179C 60 00 00 01 */ ori r0, r0, 1 -/* 802B4840 002B17A0 90 03 00 5C */ stw r0, 0x5c(r3) -lbl_802B4844: -/* 802B4844 002B17A4 80 83 00 58 */ lwz r4, 0x58(r3) -/* 802B4848 002B17A8 80 03 00 4C */ lwz r0, 0x4c(r3) -/* 802B484C 002B17AC 7C 04 00 00 */ cmpw r4, r0 -/* 802B4850 002B17B0 41 80 00 10 */ blt lbl_802B4860 -/* 802B4854 002B17B4 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 802B4858 002B17B8 60 00 00 02 */ ori r0, r0, 2 -/* 802B485C 002B17BC 90 03 00 5C */ stw r0, 0x5c(r3) -lbl_802B4860: -/* 802B4860 002B17C0 80 83 00 58 */ lwz r4, 0x58(r3) -/* 802B4864 002B17C4 80 03 00 54 */ lwz r0, 0x54(r3) -/* 802B4868 002B17C8 7C 04 00 00 */ cmpw r4, r0 -/* 802B486C 002B17CC 41 80 00 10 */ blt lbl_802B487C -/* 802B4870 002B17D0 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 802B4874 002B17D4 60 00 00 04 */ ori r0, r0, 4 -/* 802B4878 002B17D8 90 03 00 5C */ stw r0, 0x5c(r3) -lbl_802B487C: -/* 802B487C 002B17DC 80 83 00 58 */ lwz r4, 0x58(r3) -/* 802B4880 002B17E0 38 04 00 01 */ addi r0, r4, 1 -/* 802B4884 002B17E4 90 03 00 58 */ stw r0, 0x58(r3) -/* 802B4888 002B17E8 4E 80 00 20 */ blr - -.global Render__6CDecalCFv -Render__6CDecalCFv: -/* 802B488C 002B17EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B4890 002B17F0 7C 08 02 A6 */ mflr r0 -/* 802B4894 002B17F4 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 -/* 802B4898 002B17F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B489C 002B17FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B48A0 002B1800 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B48A4 002B1804 7C 7E 1B 78 */ mr r30, r3 -/* 802B48A8 002B1808 38 61 00 08 */ addi r3, r1, 8 -/* 802B48AC 002B180C 48 05 DD D5 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B48B0 002B1810 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 802B48B4 002B1814 2C 00 00 07 */ cmpwi r0, 7 -/* 802B48B8 002B1818 40 82 00 14 */ bne lbl_802B48CC -/* 802B48BC 002B181C 38 61 00 08 */ addi r3, r1, 8 -/* 802B48C0 002B1820 38 80 FF FF */ li r4, -1 -/* 802B48C4 002B1824 48 05 DD 41 */ bl __dt__13CGlobalRandomFv -/* 802B48C8 002B1828 48 00 00 CC */ b lbl_802B4994 -lbl_802B48CC: -/* 802B48CC 002B182C 48 05 80 B1 */ bl DisableAllLights__9CGraphicsFv -/* 802B48D0 002B1830 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 802B48D4 002B1834 48 07 5E 75 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 802B48D8 002B1838 83 FE 00 08 */ lwz r31, 8(r30) -/* 802B48DC 002B183C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802B48E0 002B1840 28 00 00 00 */ cmplwi r0, 0 -/* 802B48E4 002B1844 41 82 00 30 */ beq lbl_802B4914 -/* 802B48E8 002B1848 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 802B48EC 002B184C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802B48F0 002B1850 40 82 00 24 */ bne lbl_802B4914 -/* 802B48F4 002B1854 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 802B48F8 002B1858 48 07 5E 81 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 802B48FC 002B185C 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 802B4900 002B1860 48 07 5D 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 802B4904 002B1864 7F C3 F3 78 */ mr r3, r30 -/* 802B4908 002B1868 7F E5 FB 78 */ mr r5, r31 -/* 802B490C 002B186C 38 9E 00 3C */ addi r4, r30, 0x3c -/* 802B4910 002B1870 48 00 05 41 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr -lbl_802B4914: -/* 802B4914 002B1874 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B4918 002B1878 3B E3 00 1C */ addi r31, r3, 0x1c -/* 802B491C 002B187C 80 03 00 30 */ lwz r0, 0x30(r3) -/* 802B4920 002B1880 28 00 00 00 */ cmplwi r0, 0 -/* 802B4924 002B1884 41 82 00 30 */ beq lbl_802B4954 -/* 802B4928 002B1888 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 802B492C 002B188C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 802B4930 002B1890 40 82 00 24 */ bne lbl_802B4954 -/* 802B4934 002B1894 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 802B4938 002B1898 48 07 5E 41 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 802B493C 002B189C 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 802B4940 002B18A0 48 07 5D 3D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 802B4944 002B18A4 7F C3 F3 78 */ mr r3, r30 -/* 802B4948 002B18A8 7F E5 FB 78 */ mr r5, r31 -/* 802B494C 002B18AC 38 9E 00 48 */ addi r4, r30, 0x48 -/* 802B4950 002B18B0 48 00 05 01 */ bl RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr -lbl_802B4954: -/* 802B4954 002B18B4 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B4958 002B18B8 88 03 00 44 */ lbz r0, 0x44(r3) -/* 802B495C 002B18BC 28 00 00 00 */ cmplwi r0, 0 -/* 802B4960 002B18C0 41 82 00 28 */ beq lbl_802B4988 -/* 802B4964 002B18C4 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 802B4968 002B18C8 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 802B496C 002B18CC 40 82 00 1C */ bne lbl_802B4988 -/* 802B4970 002B18D0 80 7E 00 54 */ lwz r3, 0x54(r30) -/* 802B4974 002B18D4 48 07 5E 05 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 802B4978 002B18D8 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 802B497C 002B18DC 48 07 5D 01 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 802B4980 002B18E0 7F C3 F3 78 */ mr r3, r30 -/* 802B4984 002B18E4 48 00 00 29 */ bl RenderMdl__6CDecalCFv -lbl_802B4988: -/* 802B4988 002B18E8 38 61 00 08 */ addi r3, r1, 8 -/* 802B498C 002B18EC 38 80 FF FF */ li r4, -1 -/* 802B4990 002B18F0 48 05 DC 75 */ bl __dt__13CGlobalRandomFv -lbl_802B4994: -/* 802B4994 002B18F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B4998 002B18F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B499C 002B18FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B49A0 002B1900 7C 08 03 A6 */ mtlr r0 -/* 802B49A4 002B1904 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B49A8 002B1908 4E 80 00 20 */ blr - -.global RenderMdl__6CDecalCFv -RenderMdl__6CDecalCFv: -/* 802B49AC 002B190C 94 21 FC C0 */ stwu r1, -0x340(r1) -/* 802B49B0 002B1910 7C 08 02 A6 */ mflr r0 -/* 802B49B4 002B1914 90 01 03 44 */ stw r0, 0x344(r1) -/* 802B49B8 002B1918 93 E1 03 3C */ stw r31, 0x33c(r1) -/* 802B49BC 002B191C 7C 7F 1B 78 */ mr r31, r3 -/* 802B49C0 002B1920 93 C1 03 38 */ stw r30, 0x338(r1) -/* 802B49C4 002B1924 48 09 55 E9 */ bl White__6CColorFv -/* 802B49C8 002B1928 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802B49CC 002B192C 80 03 00 00 */ lwz r0, 0(r3) -/* 802B49D0 002B1930 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 802B49D4 002B1934 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802B49D8 002B1938 C0 45 00 00 */ lfs f2, 0(r5) -/* 802B49DC 002B193C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802B49E0 002B1940 C0 25 00 04 */ lfs f1, 4(r5) -/* 802B49E4 002B1944 38 61 03 04 */ addi r3, r1, 0x304 -/* 802B49E8 002B1948 C0 05 00 08 */ lfs f0, 8(r5) -/* 802B49EC 002B194C 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B49F0 002B1950 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802B49F4 002B1954 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802B49F8 002B1958 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 802B49FC 002B195C 48 05 E1 79 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B4A00 002B1960 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4A04 002B1964 88 03 00 5C */ lbz r0, 0x5c(r3) -/* 802B4A08 002B1968 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802B4A0C 002B196C 40 82 00 1C */ bne lbl_802B4A28 -/* 802B4A10 002B1970 38 61 02 74 */ addi r3, r1, 0x274 -/* 802B4A14 002B1974 38 9F 00 0C */ addi r4, r31, 0xc -/* 802B4A18 002B1978 48 05 E2 29 */ bl GetRotation__12CTransform4fCFv -/* 802B4A1C 002B197C 38 61 03 04 */ addi r3, r1, 0x304 -/* 802B4A20 002B1980 38 81 02 74 */ addi r4, r1, 0x274 -/* 802B4A24 002B1984 48 05 E1 1D */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802B4A28: -/* 802B4A28 002B1988 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4A2C 002B198C 3B C0 00 00 */ li r30, 0 -/* 802B4A30 002B1990 80 63 00 50 */ lwz r3, 0x50(r3) -/* 802B4A34 002B1994 28 03 00 00 */ cmplwi r3, 0 -/* 802B4A38 002B1998 41 82 00 20 */ beq lbl_802B4A58 -/* 802B4A3C 002B199C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4A40 002B19A0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B4A44 002B19A4 7D 89 03 A6 */ mtctr r12 -/* 802B4A48 002B19A8 4E 80 04 21 */ bctrl -/* 802B4A4C 002B19AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B4A50 002B19B0 41 82 00 08 */ beq lbl_802B4A58 -/* 802B4A54 002B19B4 3B C0 00 01 */ li r30, 1 -lbl_802B4A58: -/* 802B4A58 002B19B8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802B4A5C 002B19BC 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4A60 002B19C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802B4A64 002B19C4 48 05 E1 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B4A68 002B19C8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802B4A6C 002B19CC 41 82 00 84 */ beq lbl_802B4AF0 -/* 802B4A70 002B19D0 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4A74 002B19D4 38 BF 00 60 */ addi r5, r31, 0x60 -/* 802B4A78 002B19D8 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 802B4A7C 002B19DC 80 63 00 50 */ lwz r3, 0x50(r3) -/* 802B4A80 002B19E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4A84 002B19E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4A88 002B19E8 7D 89 03 A6 */ mtctr r12 -/* 802B4A8C 002B19EC 4E 80 04 21 */ bctrl -/* 802B4A90 002B19F0 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4A94 002B19F4 38 61 02 44 */ addi r3, r1, 0x244 -/* 802B4A98 002B19F8 C0 1F 00 68 */ lfs f0, 0x68(r31) -/* 802B4A9C 002B19FC 38 81 00 1C */ addi r4, r1, 0x1c -/* 802B4AA0 002B1A00 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4AA4 002B1A04 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802B4AA8 002B1A08 48 05 ED 69 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 802B4AAC 002B1A0C 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4AB0 002B1A10 38 81 02 44 */ addi r4, r1, 0x244 -/* 802B4AB4 002B1A14 48 05 E0 8D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B4AB8 002B1A18 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4ABC 002B1A1C 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4AC0 002B1A20 C0 1F 00 64 */ lfs f0, 0x64(r31) -/* 802B4AC4 002B1A24 38 81 00 18 */ addi r4, r1, 0x18 -/* 802B4AC8 002B1A28 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4ACC 002B1A2C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802B4AD0 002B1A30 48 05 EB 09 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 802B4AD4 002B1A34 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4AD8 002B1A38 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4ADC 002B1A3C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 802B4AE0 002B1A40 38 81 00 14 */ addi r4, r1, 0x14 -/* 802B4AE4 002B1A44 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4AE8 002B1A48 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802B4AEC 002B1A4C 48 05 EC 09 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -lbl_802B4AF0: -/* 802B4AF0 002B1A50 38 61 02 14 */ addi r3, r1, 0x214 -/* 802B4AF4 002B1A54 38 81 03 04 */ addi r4, r1, 0x304 -/* 802B4AF8 002B1A58 38 A1 02 D4 */ addi r5, r1, 0x2d4 -/* 802B4AFC 002B1A5C 48 05 DE 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4B00 002B1A60 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4B04 002B1A64 38 81 02 14 */ addi r4, r1, 0x214 -/* 802B4B08 002B1A68 48 05 E0 39 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B4B0C 002B1A6C 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4B10 002B1A70 80 63 00 4C */ lwz r3, 0x4c(r3) -/* 802B4B14 002B1A74 28 03 00 00 */ cmplwi r3, 0 -/* 802B4B18 002B1A78 41 82 00 1C */ beq lbl_802B4B34 -/* 802B4B1C 002B1A7C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4B20 002B1A80 38 A1 00 88 */ addi r5, r1, 0x88 -/* 802B4B24 002B1A84 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 802B4B28 002B1A88 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4B2C 002B1A8C 7D 89 03 A6 */ mtctr r12 -/* 802B4B30 002B1A90 4E 80 04 21 */ bctrl -lbl_802B4B34: -/* 802B4B34 002B1A94 38 61 00 4C */ addi r3, r1, 0x4c -/* 802B4B38 002B1A98 38 81 03 04 */ addi r4, r1, 0x304 -/* 802B4B3C 002B1A9C 38 A1 00 88 */ addi r5, r1, 0x88 -/* 802B4B40 002B1AA0 48 05 DF A9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B4B44 002B1AA4 C0 BF 00 38 */ lfs f5, 0x38(r31) -/* 802B4B48 002B1AA8 38 61 01 E4 */ addi r3, r1, 0x1e4 -/* 802B4B4C 002B1AAC C0 9F 00 28 */ lfs f4, 0x28(r31) -/* 802B4B50 002B1AB0 38 81 00 64 */ addi r4, r1, 0x64 -/* 802B4B54 002B1AB4 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 802B4B58 002B1AB8 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 802B4B5C 002B1ABC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802B4B60 002B1AC0 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802B4B64 002B1AC4 EC 44 10 2A */ fadds f2, f4, f2 -/* 802B4B68 002B1AC8 EC 25 08 2A */ fadds f1, f5, f1 -/* 802B4B6C 002B1ACC D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802B4B70 002B1AD0 EC 03 00 2A */ fadds f0, f3, f0 -/* 802B4B74 002B1AD4 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 802B4B78 002B1AD8 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802B4B7C 002B1ADC D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802B4B80 002B1AE0 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802B4B84 002B1AE4 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802B4B88 002B1AE8 48 05 E5 B9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802B4B8C 002B1AEC 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4B90 002B1AF0 38 81 01 E4 */ addi r4, r1, 0x1e4 -/* 802B4B94 002B1AF4 48 05 DF E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B4B98 002B1AF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802B4B9C 002B1AFC 41 82 00 24 */ beq lbl_802B4BC0 -/* 802B4BA0 002B1B00 38 61 01 24 */ addi r3, r1, 0x124 -/* 802B4BA4 002B1B04 38 81 02 A4 */ addi r4, r1, 0x2a4 -/* 802B4BA8 002B1B08 38 A1 02 D4 */ addi r5, r1, 0x2d4 -/* 802B4BAC 002B1B0C 48 05 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4BB0 002B1B10 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4BB4 002B1B14 38 81 01 24 */ addi r4, r1, 0x124 -/* 802B4BB8 002B1B18 48 05 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B4BBC 002B1B1C 48 00 00 E8 */ b lbl_802B4CA4 -lbl_802B4BC0: -/* 802B4BC0 002B1B20 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4BC4 002B1B24 80 63 00 50 */ lwz r3, 0x50(r3) -/* 802B4BC8 002B1B28 28 03 00 00 */ cmplwi r3, 0 -/* 802B4BCC 002B1B2C 41 82 00 BC */ beq lbl_802B4C88 -/* 802B4BD0 002B1B30 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) -/* 802B4BD4 002B1B34 38 A1 00 7C */ addi r5, r1, 0x7c -/* 802B4BD8 002B1B38 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 802B4BDC 002B1B3C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802B4BE0 002B1B40 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 802B4BE4 002B1B44 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 802B4BE8 002B1B48 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4BEC 002B1B4C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4BF0 002B1B50 7D 89 03 A6 */ mtctr r12 -/* 802B4BF4 002B1B54 4E 80 04 21 */ bctrl -/* 802B4BF8 002B1B58 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4BFC 002B1B5C 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 802B4C00 002B1B60 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 802B4C04 002B1B64 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B4C08 002B1B68 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4C0C 002B1B6C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802B4C10 002B1B70 48 05 EC 01 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 802B4C14 002B1B74 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4C18 002B1B78 38 81 01 B4 */ addi r4, r1, 0x1b4 -/* 802B4C1C 002B1B7C 48 05 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B4C20 002B1B80 C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4C24 002B1B84 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4C28 002B1B88 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802B4C2C 002B1B8C 38 81 00 0C */ addi r4, r1, 0xc -/* 802B4C30 002B1B90 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4C34 002B1B94 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802B4C38 002B1B98 48 05 E9 A1 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 802B4C3C 002B1B9C C0 22 C2 50 */ lfs f1, lbl_805ADF70@sda21(r2) -/* 802B4C40 002B1BA0 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 802B4C44 002B1BA4 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802B4C48 002B1BA8 38 81 00 08 */ addi r4, r1, 8 -/* 802B4C4C 002B1BAC EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4C50 002B1BB0 D0 01 00 08 */ stfs f0, 8(r1) -/* 802B4C54 002B1BB4 48 05 EA A1 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -/* 802B4C58 002B1BB8 38 61 01 84 */ addi r3, r1, 0x184 -/* 802B4C5C 002B1BBC 38 81 03 04 */ addi r4, r1, 0x304 -/* 802B4C60 002B1BC0 38 A1 02 D4 */ addi r5, r1, 0x2d4 -/* 802B4C64 002B1BC4 48 05 DC ED */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4C68 002B1BC8 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 802B4C6C 002B1BCC 38 81 02 A4 */ addi r4, r1, 0x2a4 -/* 802B4C70 002B1BD0 38 A1 01 84 */ addi r5, r1, 0x184 -/* 802B4C74 002B1BD4 48 05 DC DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4C78 002B1BD8 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4C7C 002B1BDC 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 802B4C80 002B1BE0 48 05 DE C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B4C84 002B1BE4 48 00 00 20 */ b lbl_802B4CA4 -lbl_802B4C88: -/* 802B4C88 002B1BE8 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 802B4C8C 002B1BEC 38 81 02 A4 */ addi r4, r1, 0x2a4 -/* 802B4C90 002B1BF0 38 A1 02 D4 */ addi r5, r1, 0x2d4 -/* 802B4C94 002B1BF4 48 05 DC BD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4C98 002B1BF8 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4C9C 002B1BFC 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 802B4CA0 002B1C00 48 05 DE A1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802B4CA4: -/* 802B4CA4 002B1C04 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4CA8 002B1C08 80 63 00 54 */ lwz r3, 0x54(r3) -/* 802B4CAC 002B1C0C 28 03 00 00 */ cmplwi r3, 0 -/* 802B4CB0 002B1C10 41 82 00 5C */ beq lbl_802B4D0C -/* 802B4CB4 002B1C14 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) -/* 802B4CB8 002B1C18 38 A1 00 70 */ addi r5, r1, 0x70 -/* 802B4CBC 002B1C1C 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 802B4CC0 002B1C20 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802B4CC4 002B1C24 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802B4CC8 002B1C28 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802B4CCC 002B1C2C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4CD0 002B1C30 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4CD4 002B1C34 7D 89 03 A6 */ mtctr r12 -/* 802B4CD8 002B1C38 4E 80 04 21 */ bctrl -/* 802B4CDC 002B1C3C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 802B4CE0 002B1C40 38 61 01 54 */ addi r3, r1, 0x154 -/* 802B4CE4 002B1C44 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 802B4CE8 002B1C48 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 802B4CEC 002B1C4C 48 05 E5 1D */ bl Scale__12CTransform4fFfff -/* 802B4CF0 002B1C50 38 61 00 94 */ addi r3, r1, 0x94 -/* 802B4CF4 002B1C54 38 81 02 A4 */ addi r4, r1, 0x2a4 -/* 802B4CF8 002B1C58 38 A1 01 54 */ addi r5, r1, 0x154 -/* 802B4CFC 002B1C5C 48 05 DC 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B4D00 002B1C60 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4D04 002B1C64 38 81 00 94 */ addi r4, r1, 0x94 -/* 802B4D08 002B1C68 48 05 DE 39 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802B4D0C: -/* 802B4D0C 002B1C6C 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4D10 002B1C70 80 63 00 58 */ lwz r3, 0x58(r3) -/* 802B4D14 002B1C74 28 03 00 00 */ cmplwi r3, 0 -/* 802B4D18 002B1C78 41 82 00 1C */ beq lbl_802B4D34 -/* 802B4D1C 002B1C7C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4D20 002B1C80 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802B4D24 002B1C84 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 802B4D28 002B1C88 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4D2C 002B1C8C 7D 89 03 A6 */ mtctr r12 -/* 802B4D30 002B1C90 4E 80 04 21 */ bctrl -lbl_802B4D34: -/* 802B4D34 002B1C94 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 802B4D38 002B1C98 48 05 78 A9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B4D3C 002B1C9C 81 1F 00 08 */ lwz r8, 8(r31) -/* 802B4D40 002B1CA0 88 08 00 5C */ lbz r0, 0x5c(r8) -/* 802B4D44 002B1CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802B4D48 002B1CA8 41 82 00 4C */ beq lbl_802B4D94 -/* 802B4D4C 002B1CAC 38 C0 00 03 */ li r6, 3 -/* 802B4D50 002B1CB0 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 802B4D54 002B1CB4 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d -/* 802B4D58 002B1CB8 38 60 00 07 */ li r3, 7 -/* 802B4D5C 002B1CBC 38 E0 00 00 */ li r7, 0 -/* 802B4D60 002B1CC0 98 61 00 44 */ stb r3, 0x44(r1) -/* 802B4D64 002B1CC4 60 00 00 01 */ ori r0, r0, 1 -/* 802B4D68 002B1CC8 38 81 00 44 */ addi r4, r1, 0x44 -/* 802B4D6C 002B1CCC 98 E1 00 45 */ stb r7, 0x45(r1) -/* 802B4D70 002B1CD0 B0 01 00 46 */ sth r0, 0x46(r1) -/* 802B4D74 002B1CD4 90 A1 00 48 */ stw r5, 0x48(r1) -/* 802B4D78 002B1CD8 98 61 00 3C */ stb r3, 0x3c(r1) -/* 802B4D7C 002B1CDC 80 68 00 40 */ lwz r3, 0x40(r8) -/* 802B4D80 002B1CE0 98 E1 00 3D */ stb r7, 0x3d(r1) -/* 802B4D84 002B1CE4 B0 C1 00 3E */ sth r6, 0x3e(r1) -/* 802B4D88 002B1CE8 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802B4D8C 002B1CEC 48 0A 0E 49 */ bl Draw__6CModelCFRC11CModelFlags -/* 802B4D90 002B1CF0 48 00 00 9C */ b lbl_802B4E2C -lbl_802B4D94: -/* 802B4D94 002B1CF4 E0 41 A0 23 */ psq_l f2, 35(r1), 1, qr2 -/* 802B4D98 002B1CF8 C0 02 C2 5C */ lfs f0, lbl_805ADF7C@sda21(r2) -/* 802B4D9C 002B1CFC C0 22 C2 58 */ lfs f1, lbl_805ADF78@sda21(r2) -/* 802B4DA0 002B1D00 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802B4DA4 002B1D04 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802B4DA8 002B1D08 40 82 00 40 */ bne lbl_802B4DE8 -/* 802B4DAC 002B1D0C 38 80 00 00 */ li r4, 0 -/* 802B4DB0 002B1D10 38 00 00 03 */ li r0, 3 -/* 802B4DB4 002B1D14 FC 40 08 90 */ fmr f2, f1 -/* 802B4DB8 002B1D18 98 81 00 34 */ stb r4, 0x34(r1) -/* 802B4DBC 002B1D1C FC 60 08 90 */ fmr f3, f1 -/* 802B4DC0 002B1D20 38 61 00 38 */ addi r3, r1, 0x38 -/* 802B4DC4 002B1D24 FC 80 08 90 */ fmr f4, f1 -/* 802B4DC8 002B1D28 98 81 00 35 */ stb r4, 0x35(r1) -/* 802B4DCC 002B1D2C B0 01 00 36 */ sth r0, 0x36(r1) -/* 802B4DD0 002B1D30 48 0A E6 1D */ bl __ct__6CColorFffff -/* 802B4DD4 002B1D34 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B4DD8 002B1D38 38 81 00 34 */ addi r4, r1, 0x34 -/* 802B4DDC 002B1D3C 80 63 00 40 */ lwz r3, 0x40(r3) -/* 802B4DE0 002B1D40 48 0A 0D F5 */ bl Draw__6CModelCFRC11CModelFlags -/* 802B4DE4 002B1D44 48 00 00 48 */ b lbl_802B4E2C -lbl_802B4DE8: -/* 802B4DE8 002B1D48 38 C0 00 03 */ li r6, 3 -/* 802B4DEC 002B1D4C 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 802B4DF0 002B1D50 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d -/* 802B4DF4 002B1D54 38 60 00 05 */ li r3, 5 -/* 802B4DF8 002B1D58 38 E0 00 00 */ li r7, 0 -/* 802B4DFC 002B1D5C 98 61 00 2C */ stb r3, 0x2c(r1) -/* 802B4E00 002B1D60 60 00 00 01 */ ori r0, r0, 1 -/* 802B4E04 002B1D64 38 81 00 2C */ addi r4, r1, 0x2c -/* 802B4E08 002B1D68 98 E1 00 2D */ stb r7, 0x2d(r1) -/* 802B4E0C 002B1D6C B0 01 00 2E */ sth r0, 0x2e(r1) -/* 802B4E10 002B1D70 90 A1 00 30 */ stw r5, 0x30(r1) -/* 802B4E14 002B1D74 98 61 00 24 */ stb r3, 0x24(r1) -/* 802B4E18 002B1D78 80 68 00 40 */ lwz r3, 0x40(r8) -/* 802B4E1C 002B1D7C 98 E1 00 25 */ stb r7, 0x25(r1) -/* 802B4E20 002B1D80 B0 C1 00 26 */ sth r6, 0x26(r1) -/* 802B4E24 002B1D84 90 A1 00 28 */ stw r5, 0x28(r1) -/* 802B4E28 002B1D88 48 0A 0D AD */ bl Draw__6CModelCFRC11CModelFlags -lbl_802B4E2C: -/* 802B4E2C 002B1D8C 38 60 00 01 */ li r3, 1 -/* 802B4E30 002B1D90 48 05 6C 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802B4E34 002B1D94 48 05 40 75 */ bl ResetStates__13CTevCombinersFv -/* 802B4E38 002B1D98 80 01 03 44 */ lwz r0, 0x344(r1) -/* 802B4E3C 002B1D9C 83 E1 03 3C */ lwz r31, 0x33c(r1) -/* 802B4E40 002B1DA0 83 C1 03 38 */ lwz r30, 0x338(r1) -/* 802B4E44 002B1DA4 7C 08 03 A6 */ mtlr r0 -/* 802B4E48 002B1DA8 38 21 03 40 */ addi r1, r1, 0x340 -/* 802B4E4C 002B1DAC 4E 80 00 20 */ blr - -.global RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr -RenderQuad__6CDecalCFRQ26CDecal10CQuadDecalRCQ217CDecalDescription10SQuadDescr: -/* 802B4E50 002B1DB0 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802B4E54 002B1DB4 7C 08 02 A6 */ mflr r0 -/* 802B4E58 002B1DB8 90 01 00 94 */ stw r0, 0x94(r1) -/* 802B4E5C 002B1DBC DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802B4E60 002B1DC0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802B4E64 002B1DC4 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802B4E68 002B1DC8 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802B4E6C 002B1DCC 93 A1 00 74 */ stw r29, 0x74(r1) -/* 802B4E70 002B1DD0 93 81 00 70 */ stw r28, 0x70(r1) -/* 802B4E74 002B1DD4 7C 7C 1B 78 */ mr r28, r3 -/* 802B4E78 002B1DD8 7C 9D 23 78 */ mr r29, r4 -/* 802B4E7C 002B1DDC 7C BE 2B 78 */ mr r30, r5 -/* 802B4E80 002B1DE0 48 09 51 2D */ bl White__6CColorFv -/* 802B4E84 002B1DE4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802B4E88 002B1DE8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 802B4E8C 002B1DEC 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 802B4E90 002B1DF0 80 03 00 00 */ lwz r0, 0(r3) -/* 802B4E94 002B1DF4 C0 62 C2 58 */ lfs f3, lbl_805ADF78@sda21(r2) -/* 802B4E98 002B1DF8 28 05 00 00 */ cmplwi r5, 0 -/* 802B4E9C 002B1DFC C0 24 00 04 */ lfs f1, 4(r4) -/* 802B4EA0 002B1E00 C0 04 00 08 */ lfs f0, 8(r4) -/* 802B4EA4 002B1E04 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B4EA8 002B1E08 D0 61 00 08 */ stfs f3, 8(r1) -/* 802B4EAC 002B1E0C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 802B4EB0 002B1E10 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802B4EB4 002B1E14 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802B4EB8 002B1E18 41 82 00 20 */ beq lbl_802B4ED8 -/* 802B4EBC 002B1E1C 7C A3 2B 78 */ mr r3, r5 -/* 802B4EC0 002B1E20 38 A1 00 0C */ addi r5, r1, 0xc -/* 802B4EC4 002B1E24 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4EC8 002B1E28 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802B4ECC 002B1E2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4ED0 002B1E30 7D 89 03 A6 */ mtctr r12 -/* 802B4ED4 002B1E34 4E 80 04 21 */ bctrl -lbl_802B4ED8: -/* 802B4ED8 002B1E38 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B4EDC 002B1E3C 28 03 00 00 */ cmplwi r3, 0 -/* 802B4EE0 002B1E40 41 82 00 2C */ beq lbl_802B4F0C -/* 802B4EE4 002B1E44 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4EE8 002B1E48 38 A1 00 08 */ addi r5, r1, 8 -/* 802B4EEC 002B1E4C 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802B4EF0 002B1E50 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4EF4 002B1E54 7D 89 03 A6 */ mtctr r12 -/* 802B4EF8 002B1E58 4E 80 04 21 */ bctrl -/* 802B4EFC 002B1E5C C0 21 00 08 */ lfs f1, 8(r1) -/* 802B4F00 002B1E60 C0 02 C2 60 */ lfs f0, lbl_805ADF80@sda21(r2) -/* 802B4F04 002B1E64 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B4F08 002B1E68 D0 01 00 08 */ stfs f0, 8(r1) -lbl_802B4F0C: -/* 802B4F0C 002B1E6C 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B4F10 002B1E70 28 03 00 00 */ cmplwi r3, 0 -/* 802B4F14 002B1E74 41 82 00 1C */ beq lbl_802B4F30 -/* 802B4F18 002B1E78 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4F1C 002B1E7C 38 BD 00 08 */ addi r5, r29, 8 -/* 802B4F20 002B1E80 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802B4F24 002B1E84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4F28 002B1E88 7D 89 03 A6 */ mtctr r12 -/* 802B4F2C 002B1E8C 4E 80 04 21 */ bctrl -lbl_802B4F30: -/* 802B4F30 002B1E90 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B4F34 002B1E94 28 03 00 00 */ cmplwi r3, 0 -/* 802B4F38 002B1E98 41 82 00 24 */ beq lbl_802B4F5C -/* 802B4F3C 002B1E9C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B4F40 002B1EA0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 802B4F44 002B1EA4 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802B4F48 002B1EA8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B4F4C 002B1EAC 7D 89 03 A6 */ mtctr r12 -/* 802B4F50 002B1EB0 4E 80 04 21 */ bctrl -/* 802B4F54 002B1EB4 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) -/* 802B4F58 002B1EB8 D0 01 00 38 */ stfs f0, 0x38(r1) -lbl_802B4F5C: -/* 802B4F5C 002B1EBC 38 61 00 40 */ addi r3, r1, 0x40 -/* 802B4F60 002B1EC0 38 9C 00 0C */ addi r4, r28, 0xc -/* 802B4F64 002B1EC4 48 05 DC 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B4F68 002B1EC8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 802B4F6C 002B1ECC 38 61 00 40 */ addi r3, r1, 0x40 -/* 802B4F70 002B1ED0 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802B4F74 002B1ED4 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 802B4F78 002B1ED8 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802B4F7C 002B1EDC EC 81 00 2A */ fadds f4, f1, f0 -/* 802B4F80 002B1EE0 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802B4F84 002B1EE4 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802B4F88 002B1EE8 EC 43 10 2A */ fadds f2, f3, f2 -/* 802B4F8C 002B1EEC D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802B4F90 002B1EF0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802B4F94 002B1EF4 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802B4F98 002B1EF8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 802B4F9C 002B1EFC 48 05 76 45 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B4FA0 002B1F00 38 60 00 07 */ li r3, 7 -/* 802B4FA4 002B1F04 38 80 00 00 */ li r4, 0 -/* 802B4FA8 002B1F08 38 A0 00 00 */ li r5, 0 -/* 802B4FAC 002B1F0C 38 C0 00 07 */ li r6, 7 -/* 802B4FB0 002B1F10 38 E0 00 00 */ li r7, 0 -/* 802B4FB4 002B1F14 48 05 6A 75 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 802B4FB8 002B1F18 88 0D A5 EC */ lbz r0, lbl_805A91AC@sda21(r13) -/* 802B4FBC 002B1F1C 3B E0 00 00 */ li r31, 0 -/* 802B4FC0 002B1F20 7F E3 FB 78 */ mr r3, r31 -/* 802B4FC4 002B1F24 28 00 00 00 */ cmplwi r0, 0 -/* 802B4FC8 002B1F28 41 82 00 14 */ beq lbl_802B4FDC -/* 802B4FCC 002B1F2C 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 802B4FD0 002B1F30 28 00 00 00 */ cmplwi r0, 0 -/* 802B4FD4 002B1F34 41 82 00 08 */ beq lbl_802B4FDC -/* 802B4FD8 002B1F38 38 60 00 01 */ li r3, 1 -lbl_802B4FDC: -/* 802B4FDC 002B1F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B4FE0 002B1F40 41 82 00 14 */ beq lbl_802B4FF4 -/* 802B4FE4 002B1F44 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802B4FE8 002B1F48 28 00 00 00 */ cmplwi r0, 0 -/* 802B4FEC 002B1F4C 41 82 00 08 */ beq lbl_802B4FF4 -/* 802B4FF0 002B1F50 3B E0 00 01 */ li r31, 1 -lbl_802B4FF4: -/* 802B4FF4 002B1F54 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 802B4FF8 002B1F58 28 00 00 00 */ cmplwi r0, 0 -/* 802B4FFC 002B1F5C 41 82 00 4C */ beq lbl_802B5048 -/* 802B5000 002B1F60 38 60 00 01 */ li r3, 1 -/* 802B5004 002B1F64 38 80 00 03 */ li r4, 3 -/* 802B5008 002B1F68 38 A0 00 00 */ li r5, 0 -/* 802B500C 002B1F6C 48 05 6A 89 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802B5010 002B1F70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802B5014 002B1F74 41 82 00 1C */ beq lbl_802B5030 -/* 802B5018 002B1F78 38 60 00 01 */ li r3, 1 -/* 802B501C 002B1F7C 38 80 00 01 */ li r4, 1 -/* 802B5020 002B1F80 38 A0 00 01 */ li r5, 1 -/* 802B5024 002B1F84 38 C0 00 00 */ li r6, 0 -/* 802B5028 002B1F88 48 05 6A 29 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802B502C 002B1F8C 48 00 00 40 */ b lbl_802B506C -lbl_802B5030: -/* 802B5030 002B1F90 38 60 00 01 */ li r3, 1 -/* 802B5034 002B1F94 38 80 00 04 */ li r4, 4 -/* 802B5038 002B1F98 38 A0 00 01 */ li r5, 1 -/* 802B503C 002B1F9C 38 C0 00 00 */ li r6, 0 -/* 802B5040 002B1FA0 48 05 6A 11 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802B5044 002B1FA4 48 00 00 28 */ b lbl_802B506C -lbl_802B5048: -/* 802B5048 002B1FA8 38 60 00 01 */ li r3, 1 -/* 802B504C 002B1FAC 38 80 00 03 */ li r4, 3 -/* 802B5050 002B1FB0 38 A0 00 00 */ li r5, 0 -/* 802B5054 002B1FB4 48 05 6A 41 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802B5058 002B1FB8 38 60 00 01 */ li r3, 1 -/* 802B505C 002B1FBC 38 80 00 04 */ li r4, 4 -/* 802B5060 002B1FC0 38 A0 00 05 */ li r5, 5 -/* 802B5064 002B1FC4 38 C0 00 00 */ li r6, 0 -/* 802B5068 002B1FC8 48 05 69 E9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -lbl_802B506C: -/* 802B506C 002B1FCC 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802B5070 002B1FD0 C0 22 C2 54 */ lfs f1, lbl_805ADF74@sda21(r2) -/* 802B5074 002B1FD4 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) -/* 802B5078 002B1FD8 28 04 00 00 */ cmplwi r4, 0 -/* 802B507C 002B1FDC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802B5080 002B1FE0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802B5084 002B1FE4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802B5088 002B1FE8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802B508C 002B1FEC 41 82 01 30 */ beq lbl_802B51BC -/* 802B5090 002B1FF0 81 84 00 00 */ lwz r12, 0(r4) -/* 802B5094 002B1FF4 38 61 00 18 */ addi r3, r1, 0x18 -/* 802B5098 002B1FF8 80 BC 00 58 */ lwz r5, 0x58(r28) -/* 802B509C 002B1FFC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B50A0 002B2000 7D 89 03 A6 */ mtctr r12 -/* 802B50A4 002B2004 4E 80 04 21 */ bctrl -/* 802B50A8 002B2008 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B50AC 002B200C 38 81 00 18 */ addi r4, r1, 0x18 -/* 802B50B0 002B2010 48 08 BD F9 */ bl __ct__6CTokenFRC6CToken -/* 802B50B4 002B2014 38 61 00 18 */ addi r3, r1, 0x18 -/* 802B50B8 002B2018 38 80 00 00 */ li r4, 0 -/* 802B50BC 002B201C 48 08 BD 85 */ bl __dt__6CTokenFv -/* 802B50C0 002B2020 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B50C4 002B2024 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802B50C8 002B2028 28 00 00 00 */ cmplwi r0, 0 -/* 802B50CC 002B202C 40 82 00 14 */ bne lbl_802B50E0 -/* 802B50D0 002B2030 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B50D4 002B2034 38 80 00 00 */ li r4, 0 -/* 802B50D8 002B2038 48 08 BD 69 */ bl __dt__6CTokenFv -/* 802B50DC 002B203C 48 00 03 2C */ b lbl_802B5408 -lbl_802B50E0: -/* 802B50E0 002B2040 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B50E4 002B2044 48 08 BD 29 */ bl GetObj__6CTokenFv -/* 802B50E8 002B2048 80 63 00 04 */ lwz r3, 4(r3) -/* 802B50EC 002B204C 38 80 00 00 */ li r4, 0 -/* 802B50F0 002B2050 38 A0 00 01 */ li r5, 1 -/* 802B50F4 002B2054 48 05 A6 49 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B50F8 002B2058 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B50FC 002B205C 48 08 BD 11 */ bl GetObj__6CTokenFv -/* 802B5100 002B2060 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 802B5104 002B2064 38 60 00 00 */ li r3, 0 -/* 802B5108 002B2068 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 802B510C 002B206C 48 05 51 AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802B5110 002B2070 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 802B5114 002B2074 38 A1 00 24 */ addi r5, r1, 0x24 -/* 802B5118 002B2078 80 9C 00 58 */ lwz r4, 0x58(r28) -/* 802B511C 002B207C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5120 002B2080 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B5124 002B2084 7D 89 03 A6 */ mtctr r12 -/* 802B5128 002B2088 4E 80 04 21 */ bctrl -/* 802B512C 002B208C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802B5130 002B2090 41 82 00 70 */ beq lbl_802B51A0 -/* 802B5134 002B2094 38 60 00 02 */ li r3, 2 -/* 802B5138 002B2098 48 05 3B 59 */ bl SetNumTevStages__3CGXFUc -/* 802B513C 002B209C 38 60 00 01 */ li r3, 1 -/* 802B5140 002B20A0 38 80 00 0F */ li r4, 0xf -/* 802B5144 002B20A4 38 A0 00 00 */ li r5, 0 -/* 802B5148 002B20A8 38 C0 00 01 */ li r6, 1 -/* 802B514C 002B20AC 38 E0 00 0F */ li r7, 0xf -/* 802B5150 002B20B0 48 05 3A 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B5154 002B20B4 38 60 00 01 */ li r3, 1 -/* 802B5158 002B20B8 38 80 00 07 */ li r4, 7 -/* 802B515C 002B20BC 38 A0 00 04 */ li r5, 4 -/* 802B5160 002B20C0 38 C0 00 00 */ li r6, 0 -/* 802B5164 002B20C4 38 E0 00 07 */ li r7, 7 -/* 802B5168 002B20C8 48 05 3A 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B516C 002B20CC 38 60 00 01 */ li r3, 1 -/* 802B5170 002B20D0 48 05 2A E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B5174 002B20D4 38 60 00 04 */ li r3, 4 -/* 802B5178 002B20D8 38 80 00 00 */ li r4, 0 -/* 802B517C 002B20DC 38 A0 00 01 */ li r5, 1 -/* 802B5180 002B20E0 38 C0 00 00 */ li r6, 0 -/* 802B5184 002B20E4 38 E0 00 00 */ li r7, 0 -/* 802B5188 002B20E8 48 05 36 8D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B518C 002B20EC 38 60 00 01 */ li r3, 1 -/* 802B5190 002B20F0 38 80 00 00 */ li r4, 0 -/* 802B5194 002B20F4 38 A0 00 01 */ li r5, 1 -/* 802B5198 002B20F8 48 0C 66 99 */ bl GXSetTevSwapMode -/* 802B519C 002B20FC 48 00 00 10 */ b lbl_802B51AC -lbl_802B51A0: -/* 802B51A0 002B2100 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802B51A4 002B2104 38 60 00 01 */ li r3, 1 -/* 802B51A8 002B2108 48 05 51 11 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_802B51AC: -/* 802B51AC 002B210C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B51B0 002B2110 38 80 00 00 */ li r4, 0 -/* 802B51B4 002B2114 48 08 BC 8D */ bl __dt__6CTokenFv -/* 802B51B8 002B2118 48 00 00 1C */ b lbl_802B51D4 -lbl_802B51BC: -/* 802B51BC 002B211C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802B51C0 002B2120 38 60 00 00 */ li r3, 0 -/* 802B51C4 002B2124 48 05 50 F5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802B51C8 002B2128 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802B51CC 002B212C 38 60 00 01 */ li r3, 1 -/* 802B51D0 002B2130 48 05 50 E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_802B51D4: -/* 802B51D4 002B2134 38 60 00 00 */ li r3, 0 -/* 802B51D8 002B2138 38 80 00 00 */ li r4, 0 -/* 802B51DC 002B213C 38 A0 00 00 */ li r5, 0 -/* 802B51E0 002B2140 38 C0 00 04 */ li r6, 4 -/* 802B51E4 002B2144 48 05 37 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B51E8 002B2148 38 60 00 01 */ li r3, 1 -/* 802B51EC 002B214C 38 80 00 00 */ li r4, 0 -/* 802B51F0 002B2150 38 A0 00 00 */ li r5, 0 -/* 802B51F4 002B2154 38 C0 00 FF */ li r6, 0xff -/* 802B51F8 002B2158 48 05 37 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B51FC 002B215C 38 60 00 01 */ li r3, 1 -/* 802B5200 002B2160 48 05 3C 15 */ bl SetNumTexGens__3CGXFUc -/* 802B5204 002B2164 38 60 00 01 */ li r3, 1 -/* 802B5208 002B2168 48 05 3C 49 */ bl SetNumChans__3CGXFUc -/* 802B520C 002B216C 38 60 00 00 */ li r3, 0 -/* 802B5210 002B2170 48 05 34 81 */ bl SetNumIndStages__3CGXFUc -/* 802B5214 002B2174 38 60 00 00 */ li r3, 0 -/* 802B5218 002B2178 38 80 00 01 */ li r4, 1 -/* 802B521C 002B217C 38 A0 00 04 */ li r5, 4 -/* 802B5220 002B2180 38 C0 00 3C */ li r6, 0x3c -/* 802B5224 002B2184 38 E0 00 00 */ li r7, 0 -/* 802B5228 002B2188 39 00 00 7D */ li r8, 0x7d -/* 802B522C 002B218C 48 05 34 A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B5230 002B2190 38 60 00 00 */ li r3, 0 -/* 802B5234 002B2194 38 80 00 00 */ li r4, 0 -/* 802B5238 002B2198 38 A0 00 00 */ li r5, 0 -/* 802B523C 002B219C 38 C0 00 01 */ li r6, 1 -/* 802B5240 002B21A0 38 E0 00 00 */ li r7, 0 -/* 802B5244 002B21A4 39 00 00 00 */ li r8, 0 -/* 802B5248 002B21A8 39 20 00 02 */ li r9, 2 -/* 802B524C 002B21AC 48 05 3A 81 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802B5250 002B21B0 3C 60 80 3D */ lis r3, lbl_803D6550@ha -/* 802B5254 002B21B4 38 63 65 50 */ addi r3, r3, lbl_803D6550@l -/* 802B5258 002B21B8 48 05 2B D1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802B525C 002B21BC 38 60 00 98 */ li r3, 0x98 -/* 802B5260 002B21C0 38 80 00 00 */ li r4, 0 -/* 802B5264 002B21C4 38 A0 00 04 */ li r5, 4 -/* 802B5268 002B21C8 48 05 33 1D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B526C 002B21CC C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) -/* 802B5270 002B21D0 C0 3D 00 08 */ lfs f1, 8(r29) -/* 802B5274 002B21D4 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802B5278 002B21D8 40 82 00 8C */ bne lbl_802B5304 -/* 802B527C 002B21DC C0 21 00 08 */ lfs f1, 8(r1) -/* 802B5280 002B21E0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B5284 002B21E4 C0 02 C2 64 */ lfs f0, lbl_805ADF84@sda21(r2) -/* 802B5288 002B21E8 FC 60 08 50 */ fneg f3, f1 -/* 802B528C 002B21EC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B5290 002B21F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B5294 002B21F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B5298 002B21F8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802B529C 002B21FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B52A0 002B2200 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802B52A4 002B2204 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B52A8 002B2208 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802B52AC 002B220C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B52B0 002B2210 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B52B4 002B2214 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B52B8 002B2218 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B52BC 002B221C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B52C0 002B2220 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802B52C4 002B2224 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B52C8 002B2228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B52CC 002B222C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B52D0 002B2230 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B52D4 002B2234 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B52D8 002B2238 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B52DC 002B223C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B52E0 002B2240 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802B52E4 002B2244 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B52E8 002B2248 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B52EC 002B224C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B52F0 002B2250 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B52F4 002B2254 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B52F8 002B2258 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B52FC 002B225C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B5300 002B2260 48 00 00 D4 */ b lbl_802B53D4 -lbl_802B5304: -/* 802B5304 002B2264 C0 02 C2 50 */ lfs f0, lbl_805ADF70@sda21(r2) -/* 802B5308 002B2268 EF E0 00 72 */ fmuls f31, f0, f1 -/* 802B530C 002B226C FC 20 F8 90 */ fmr f1, f31 -/* 802B5310 002B2270 48 0D F7 CD */ bl sin -/* 802B5314 002B2274 FC 40 08 18 */ frsp f2, f1 -/* 802B5318 002B2278 C0 01 00 08 */ lfs f0, 8(r1) -/* 802B531C 002B227C FC 20 F8 90 */ fmr f1, f31 -/* 802B5320 002B2280 EF E0 00 B2 */ fmuls f31, f0, f2 -/* 802B5324 002B2284 48 0D F0 CD */ bl cos -/* 802B5328 002B2288 FC 40 08 18 */ frsp f2, f1 -/* 802B532C 002B228C C0 01 00 08 */ lfs f0, 8(r1) -/* 802B5330 002B2290 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B5334 002B2294 C0 A2 C2 64 */ lfs f5, lbl_805ADF84@sda21(r2) -/* 802B5338 002B2298 FC 20 F8 50 */ fneg f1, f31 -/* 802B533C 002B229C EC C0 00 B2 */ fmuls f6, f0, f2 -/* 802B5340 002B22A0 EC 1F 30 28 */ fsubs f0, f31, f6 -/* 802B5344 002B22A4 EC 86 F8 2A */ fadds f4, f6, f31 -/* 802B5348 002B22A8 EC E6 F8 28 */ fsubs f7, f6, f31 -/* 802B534C 002B22AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B5350 002B22B0 FC 00 30 50 */ fneg f0, f6 -/* 802B5354 002B22B4 FC 60 20 50 */ fneg f3, f4 -/* 802B5358 002B22B8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B535C 002B22BC FC 40 38 50 */ fneg f2, f7 -/* 802B5360 002B22C0 EC 21 30 2A */ fadds f1, f1, f6 -/* 802B5364 002B22C4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B5368 002B22C8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 802B536C 002B22CC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802B5370 002B22D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B5374 002B22D4 C1 01 00 24 */ lfs f8, 0x24(r1) -/* 802B5378 002B22D8 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802B537C 002B22DC C0 C1 00 30 */ lfs f6, 0x30(r1) -/* 802B5380 002B22E0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B5384 002B22E4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B5388 002B22E8 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B538C 002B22EC D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) -/* 802B5390 002B22F0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B5394 002B22F4 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 802B5398 002B22F8 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B539C 002B22FC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B53A0 002B2300 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B53A4 002B2304 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B53A8 002B2308 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B53AC 002B230C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B53B0 002B2310 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802B53B4 002B2314 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802B53B8 002B2318 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B53BC 002B231C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B53C0 002B2320 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B53C4 002B2324 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B53C8 002B2328 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 802B53CC 002B232C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B53D0 002B2330 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -lbl_802B53D4: -/* 802B53D4 002B2334 48 05 31 AD */ bl End__3CGXFv -/* 802B53D8 002B2338 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802B53DC 002B233C 41 82 00 2C */ beq lbl_802B5408 -/* 802B53E0 002B2340 38 60 00 01 */ li r3, 1 -/* 802B53E4 002B2344 38 80 00 00 */ li r4, 0 -/* 802B53E8 002B2348 38 A0 00 00 */ li r5, 0 -/* 802B53EC 002B234C 48 0C 64 45 */ bl GXSetTevSwapMode -/* 802B53F0 002B2350 38 60 00 07 */ li r3, 7 -/* 802B53F4 002B2354 38 80 00 00 */ li r4, 0 -/* 802B53F8 002B2358 38 A0 00 01 */ li r5, 1 -/* 802B53FC 002B235C 38 C0 00 07 */ li r6, 7 -/* 802B5400 002B2360 38 E0 00 00 */ li r7, 0 -/* 802B5404 002B2364 48 05 34 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -lbl_802B5408: -/* 802B5408 002B2368 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802B540C 002B236C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802B5410 002B2370 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802B5414 002B2374 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802B5418 002B2378 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802B541C 002B237C 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 802B5420 002B2380 83 81 00 70 */ lwz r28, 0x70(r1) -/* 802B5424 002B2384 7C 08 03 A6 */ mtlr r0 -/* 802B5428 002B2388 38 21 00 90 */ addi r1, r1, 0x90 -/* 802B542C 002B238C 4E 80 00 20 */ blr - -.global "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" -"__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f": -/* 802B5430 002B2390 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B5434 002B2394 7C 08 02 A6 */ mflr r0 -/* 802B5438 002B2398 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B543C 002B239C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B5440 002B23A0 7C 7F 1B 78 */ mr r31, r3 -/* 802B5444 002B23A4 7F E0 FB 78 */ mr r0, r31 -/* 802B5448 002B23A8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B544C 002B23AC 7C BE 2B 78 */ mr r30, r5 -/* 802B5450 002B23B0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802B5454 002B23B4 7C 1D 03 78 */ mr r29, r0 -/* 802B5458 002B23B8 48 08 BA 51 */ bl __ct__6CTokenFRC6CToken -/* 802B545C 002B23BC 7F A3 EB 78 */ mr r3, r29 -/* 802B5460 002B23C0 48 08 B9 AD */ bl GetObj__6CTokenFv -/* 802B5464 002B23C4 80 03 00 04 */ lwz r0, 4(r3) -/* 802B5468 002B23C8 7F C4 F3 78 */ mr r4, r30 -/* 802B546C 002B23CC 38 7F 00 0C */ addi r3, r31, 0xc -/* 802B5470 002B23D0 90 1D 00 08 */ stw r0, 8(r29) -/* 802B5474 002B23D4 48 05 D7 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B5478 002B23D8 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 802B547C 002B23DC 38 E0 00 01 */ li r7, 1 -/* 802B5480 002B23E0 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 802B5484 002B23E4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802B5488 002B23E8 98 1F 00 3C */ stb r0, 0x3c(r31) -/* 802B548C 002B23EC 38 C0 00 00 */ li r6, 0 -/* 802B5490 002B23F0 C0 02 C2 54 */ lfs f0, lbl_805ADF74@sda21(r2) -/* 802B5494 002B23F4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 802B5498 002B23F8 90 DF 00 40 */ stw r6, 0x40(r31) -/* 802B549C 002B23FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B54A0 002B2400 38 8D A5 E8 */ addi r4, r13, lbl_805A91A8@sda21 -/* 802B54A4 002B2404 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 802B54A8 002B2408 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 802B54AC 002B240C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 802B54B0 002B2410 98 1F 00 48 */ stb r0, 0x48(r31) -/* 802B54B4 002B2414 90 DF 00 4C */ stw r6, 0x4c(r31) -/* 802B54B8 002B2418 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 802B54BC 002B241C 90 DF 00 54 */ stw r6, 0x54(r31) -/* 802B54C0 002B2420 90 DF 00 58 */ stw r6, 0x58(r31) -/* 802B54C4 002B2424 90 DF 00 5C */ stw r6, 0x5c(r31) -/* 802B54C8 002B2428 C0 05 00 00 */ lfs f0, 0(r5) -/* 802B54CC 002B242C D0 1F 00 60 */ stfs f0, 0x60(r31) -/* 802B54D0 002B2430 C0 05 00 04 */ lfs f0, 4(r5) -/* 802B54D4 002B2434 D0 1F 00 64 */ stfs f0, 0x64(r31) -/* 802B54D8 002B2438 C0 05 00 08 */ lfs f0, 8(r5) -/* 802B54DC 002B243C D0 1F 00 68 */ stfs f0, 0x68(r31) -/* 802B54E0 002B2440 48 05 D1 A1 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 802B54E4 002B2444 83 DF 00 08 */ lwz r30, 8(r31) -/* 802B54E8 002B2448 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 802B54EC 002B244C 28 00 00 00 */ cmplwi r0, 0 -/* 802B54F0 002B2450 41 82 01 38 */ beq lbl_802B5628 -/* 802B54F4 002B2454 80 7E 00 00 */ lwz r3, 0(r30) -/* 802B54F8 002B2458 28 03 00 00 */ cmplwi r3, 0 -/* 802B54FC 002B245C 41 82 00 20 */ beq lbl_802B551C -/* 802B5500 002B2460 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5504 002B2464 38 BF 00 40 */ addi r5, r31, 0x40 -/* 802B5508 002B2468 38 80 00 00 */ li r4, 0 -/* 802B550C 002B246C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B5510 002B2470 7D 89 03 A6 */ mtctr r12 -/* 802B5514 002B2474 4E 80 04 21 */ bctrl -/* 802B5518 002B2478 48 00 00 10 */ b lbl_802B5528 -lbl_802B551C: -/* 802B551C 002B247C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 802B5520 002B2480 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 802B5524 002B2484 90 1F 00 40 */ stw r0, 0x40(r31) -lbl_802B5528: -/* 802B5528 002B2488 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B552C 002B248C 28 03 00 00 */ cmplwi r3, 0 -/* 802B5530 002B2490 41 82 00 44 */ beq lbl_802B5574 -/* 802B5534 002B2494 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5538 002B2498 38 BF 00 44 */ addi r5, r31, 0x44 -/* 802B553C 002B249C 38 80 00 00 */ li r4, 0 -/* 802B5540 002B24A0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B5544 002B24A4 7D 89 03 A6 */ mtctr r12 -/* 802B5548 002B24A8 4E 80 04 21 */ bctrl -/* 802B554C 002B24AC 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B5550 002B24B0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5554 002B24B4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B5558 002B24B8 7D 89 03 A6 */ mtctr r12 -/* 802B555C 002B24BC 4E 80 04 21 */ bctrl -/* 802B5560 002B24C0 88 9F 00 3C */ lbz r4, 0x3c(r31) -/* 802B5564 002B24C4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B5568 002B24C8 7C 00 18 38 */ and r0, r0, r3 -/* 802B556C 002B24CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B5570 002B24D0 98 9F 00 3C */ stb r4, 0x3c(r31) -lbl_802B5574: -/* 802B5574 002B24D4 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B5578 002B24D8 28 03 00 00 */ cmplwi r3, 0 -/* 802B557C 002B24DC 41 82 00 78 */ beq lbl_802B55F4 -/* 802B5580 002B24E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5584 002B24E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B5588 002B24E8 7D 89 03 A6 */ mtctr r12 -/* 802B558C 002B24EC 4E 80 04 21 */ bctrl -/* 802B5590 002B24F0 88 9F 00 3C */ lbz r4, 0x3c(r31) -/* 802B5594 002B24F4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B5598 002B24F8 7C 00 18 38 */ and r0, r0, r3 -/* 802B559C 002B24FC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B55A0 002B2500 98 9F 00 3C */ stb r4, 0x3c(r31) -/* 802B55A4 002B2504 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 802B55A8 002B2508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802B55AC 002B250C 41 82 00 48 */ beq lbl_802B55F4 -/* 802B55B0 002B2510 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) -/* 802B55B4 002B2514 38 A1 00 0C */ addi r5, r1, 0xc -/* 802B55B8 002B2518 38 80 00 00 */ li r4, 0 -/* 802B55BC 002B251C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802B55C0 002B2520 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B55C4 002B2524 81 83 00 00 */ lwz r12, 0(r3) -/* 802B55C8 002B2528 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B55CC 002B252C 7D 89 03 A6 */ mtctr r12 -/* 802B55D0 002B2530 4E 80 04 21 */ bctrl -/* 802B55D4 002B2534 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802B55D8 002B2538 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) -/* 802B55DC 002B253C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802B55E0 002B2540 4C 40 13 82 */ cror 2, 0, 2 -/* 802B55E4 002B2544 7C 60 00 26 */ mfcr r3 -/* 802B55E8 002B2548 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 802B55EC 002B254C 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 -/* 802B55F0 002B2550 98 1F 00 3C */ stb r0, 0x3c(r31) -lbl_802B55F4: -/* 802B55F4 002B2554 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802B55F8 002B2558 28 03 00 00 */ cmplwi r3, 0 -/* 802B55FC 002B255C 41 82 00 48 */ beq lbl_802B5644 -/* 802B5600 002B2560 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5604 002B2564 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B5608 002B2568 7D 89 03 A6 */ mtctr r12 -/* 802B560C 002B256C 4E 80 04 21 */ bctrl -/* 802B5610 002B2570 88 9F 00 3C */ lbz r4, 0x3c(r31) -/* 802B5614 002B2574 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B5618 002B2578 7C 00 18 38 */ and r0, r0, r3 -/* 802B561C 002B257C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B5620 002B2580 98 9F 00 3C */ stb r4, 0x3c(r31) -/* 802B5624 002B2584 48 00 00 20 */ b lbl_802B5644 -lbl_802B5628: -/* 802B5628 002B2588 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 802B562C 002B258C 38 60 00 00 */ li r3, 0 -/* 802B5630 002B2590 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802B5634 002B2594 98 1F 00 3C */ stb r0, 0x3c(r31) -/* 802B5638 002B2598 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 802B563C 002B259C 60 00 00 01 */ ori r0, r0, 1 -/* 802B5640 002B25A0 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_802B5644: -/* 802B5644 002B25A4 83 DF 00 08 */ lwz r30, 8(r31) -/* 802B5648 002B25A8 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 802B564C 002B25AC 28 00 00 00 */ cmplwi r0, 0 -/* 802B5650 002B25B0 41 82 01 38 */ beq lbl_802B5788 -/* 802B5654 002B25B4 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802B5658 002B25B8 28 03 00 00 */ cmplwi r3, 0 -/* 802B565C 002B25BC 41 82 00 20 */ beq lbl_802B567C -/* 802B5660 002B25C0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5664 002B25C4 38 BF 00 4C */ addi r5, r31, 0x4c -/* 802B5668 002B25C8 38 80 00 00 */ li r4, 0 -/* 802B566C 002B25CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B5670 002B25D0 7D 89 03 A6 */ mtctr r12 -/* 802B5674 002B25D4 4E 80 04 21 */ bctrl -/* 802B5678 002B25D8 48 00 00 10 */ b lbl_802B5688 -lbl_802B567C: -/* 802B567C 002B25DC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 802B5680 002B25E0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 802B5684 002B25E4 90 1F 00 4C */ stw r0, 0x4c(r31) -lbl_802B5688: -/* 802B5688 002B25E8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 802B568C 002B25EC 28 03 00 00 */ cmplwi r3, 0 -/* 802B5690 002B25F0 41 82 00 44 */ beq lbl_802B56D4 -/* 802B5694 002B25F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5698 002B25F8 38 BF 00 50 */ addi r5, r31, 0x50 -/* 802B569C 002B25FC 38 80 00 00 */ li r4, 0 -/* 802B56A0 002B2600 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B56A4 002B2604 7D 89 03 A6 */ mtctr r12 -/* 802B56A8 002B2608 4E 80 04 21 */ bctrl -/* 802B56AC 002B260C 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 802B56B0 002B2610 81 83 00 00 */ lwz r12, 0(r3) -/* 802B56B4 002B2614 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B56B8 002B2618 7D 89 03 A6 */ mtctr r12 -/* 802B56BC 002B261C 4E 80 04 21 */ bctrl -/* 802B56C0 002B2620 88 9F 00 48 */ lbz r4, 0x48(r31) -/* 802B56C4 002B2624 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B56C8 002B2628 7C 00 18 38 */ and r0, r0, r3 -/* 802B56CC 002B262C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B56D0 002B2630 98 9F 00 48 */ stb r4, 0x48(r31) -lbl_802B56D4: -/* 802B56D4 002B2634 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 802B56D8 002B2638 28 03 00 00 */ cmplwi r3, 0 -/* 802B56DC 002B263C 41 82 00 78 */ beq lbl_802B5754 -/* 802B56E0 002B2640 81 83 00 00 */ lwz r12, 0(r3) -/* 802B56E4 002B2644 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B56E8 002B2648 7D 89 03 A6 */ mtctr r12 -/* 802B56EC 002B264C 4E 80 04 21 */ bctrl -/* 802B56F0 002B2650 88 9F 00 48 */ lbz r4, 0x48(r31) -/* 802B56F4 002B2654 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B56F8 002B2658 7C 00 18 38 */ and r0, r0, r3 -/* 802B56FC 002B265C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B5700 002B2660 98 9F 00 48 */ stb r4, 0x48(r31) -/* 802B5704 002B2664 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 802B5708 002B2668 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802B570C 002B266C 41 82 00 48 */ beq lbl_802B5754 -/* 802B5710 002B2670 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) -/* 802B5714 002B2674 38 A1 00 08 */ addi r5, r1, 8 -/* 802B5718 002B2678 38 80 00 00 */ li r4, 0 -/* 802B571C 002B267C D0 01 00 08 */ stfs f0, 8(r1) -/* 802B5720 002B2680 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 802B5724 002B2684 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5728 002B2688 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B572C 002B268C 7D 89 03 A6 */ mtctr r12 -/* 802B5730 002B2690 4E 80 04 21 */ bctrl -/* 802B5734 002B2694 C0 21 00 08 */ lfs f1, 8(r1) -/* 802B5738 002B2698 C0 02 C2 58 */ lfs f0, lbl_805ADF78@sda21(r2) -/* 802B573C 002B269C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802B5740 002B26A0 4C 40 13 82 */ cror 2, 0, 2 -/* 802B5744 002B26A4 7C 60 00 26 */ mfcr r3 -/* 802B5748 002B26A8 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 802B574C 002B26AC 50 60 56 30 */ rlwimi r0, r3, 0xa, 0x18, 0x18 -/* 802B5750 002B26B0 98 1F 00 48 */ stb r0, 0x48(r31) -lbl_802B5754: -/* 802B5754 002B26B4 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 802B5758 002B26B8 28 03 00 00 */ cmplwi r3, 0 -/* 802B575C 002B26BC 41 82 00 48 */ beq lbl_802B57A4 -/* 802B5760 002B26C0 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5764 002B26C4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802B5768 002B26C8 7D 89 03 A6 */ mtctr r12 -/* 802B576C 002B26CC 4E 80 04 21 */ bctrl -/* 802B5770 002B26D0 88 9F 00 48 */ lbz r4, 0x48(r31) -/* 802B5774 002B26D4 54 80 CF FE */ rlwinm r0, r4, 0x19, 0x1f, 0x1f -/* 802B5778 002B26D8 7C 00 18 38 */ and r0, r0, r3 -/* 802B577C 002B26DC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 802B5780 002B26E0 98 9F 00 48 */ stb r4, 0x48(r31) -/* 802B5784 002B26E4 48 00 00 20 */ b lbl_802B57A4 -lbl_802B5788: -/* 802B5788 002B26E8 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 802B578C 002B26EC 38 60 00 00 */ li r3, 0 -/* 802B5790 002B26F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802B5794 002B26F4 98 1F 00 48 */ stb r0, 0x48(r31) -/* 802B5798 002B26F8 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 802B579C 002B26FC 60 00 00 02 */ ori r0, r0, 2 -/* 802B57A0 002B2700 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_802B57A4: -/* 802B57A4 002B2704 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B57A8 002B2708 88 03 00 44 */ lbz r0, 0x44(r3) -/* 802B57AC 002B270C 28 00 00 00 */ cmplwi r0, 0 -/* 802B57B0 002B2710 41 82 00 64 */ beq lbl_802B5814 -/* 802B57B4 002B2714 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802B57B8 002B2718 28 03 00 00 */ cmplwi r3, 0 -/* 802B57BC 002B271C 41 82 00 20 */ beq lbl_802B57DC -/* 802B57C0 002B2720 81 83 00 00 */ lwz r12, 0(r3) -/* 802B57C4 002B2724 38 BF 00 54 */ addi r5, r31, 0x54 -/* 802B57C8 002B2728 38 80 00 00 */ li r4, 0 -/* 802B57CC 002B272C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B57D0 002B2730 7D 89 03 A6 */ mtctr r12 -/* 802B57D4 002B2734 4E 80 04 21 */ bctrl -/* 802B57D8 002B2738 48 00 00 10 */ b lbl_802B57E8 -lbl_802B57DC: -/* 802B57DC 002B273C 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 802B57E0 002B2740 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 802B57E4 002B2744 90 1F 00 54 */ stw r0, 0x54(r31) -lbl_802B57E8: -/* 802B57E8 002B2748 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B57EC 002B274C 80 63 00 50 */ lwz r3, 0x50(r3) -/* 802B57F0 002B2750 28 03 00 00 */ cmplwi r3, 0 -/* 802B57F4 002B2754 41 82 00 2C */ beq lbl_802B5820 -/* 802B57F8 002B2758 81 83 00 00 */ lwz r12, 0(r3) -/* 802B57FC 002B275C 38 BF 00 60 */ addi r5, r31, 0x60 -/* 802B5800 002B2760 38 80 00 00 */ li r4, 0 -/* 802B5804 002B2764 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802B5808 002B2768 7D 89 03 A6 */ mtctr r12 -/* 802B580C 002B276C 4E 80 04 21 */ bctrl -/* 802B5810 002B2770 48 00 00 10 */ b lbl_802B5820 -lbl_802B5814: -/* 802B5814 002B2774 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 802B5818 002B2778 60 00 00 04 */ ori r0, r0, 4 -/* 802B581C 002B277C 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_802B5820: -/* 802B5820 002B2780 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B5824 002B2784 38 80 FF FF */ li r4, -1 -/* 802B5828 002B2788 48 05 CD DD */ bl __dt__13CGlobalRandomFv -/* 802B582C 002B278C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B5830 002B2790 7F E3 FB 78 */ mr r3, r31 -/* 802B5834 002B2794 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B5838 002B2798 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B583C 002B279C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802B5840 002B27A0 7C 08 03 A6 */ mtlr r0 -/* 802B5844 002B27A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B5848 002B27A8 4E 80 00 20 */ blr - -.global SetGlobalSeed__6CDecalFUs -SetGlobalSeed__6CDecalFUs: -/* 802B584C 002B27AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B5850 002B27B0 7C 08 02 A6 */ mflr r0 -/* 802B5854 002B27B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B5858 002B27B8 7C 60 1B 78 */ mr r0, r3 -/* 802B585C 002B27BC 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 -/* 802B5860 002B27C0 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 802B5864 002B27C4 48 05 CD 81 */ bl SetSeed__9CRandom16FUi -/* 802B5868 002B27C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B586C 002B27CC 7C 08 03 A6 */ mtlr r0 -/* 802B5870 002B27D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B5874 002B27D4 4E 80 00 20 */ blr - -.global __sinit_CDecal_cpp -__sinit_CDecal_cpp: -/* 802B5878 002B27D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B587C 002B27DC 7C 08 02 A6 */ mflr r0 -/* 802B5880 002B27E0 38 6D A5 E8 */ addi r3, r13, lbl_805A91A8@sda21 -/* 802B5884 002B27E4 38 80 00 63 */ li r4, 0x63 -/* 802B5888 002B27E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B588C 002B27EC 48 05 CD 61 */ bl __ct__9CRandom16FUi -/* 802B5890 002B27F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B5894 002B27F4 7C 08 03 A6 */ mtlr r0 -/* 802B5898 002B27F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B589C 002B27FC 4E 80 00 20 */ blr - -.global __dt__18CWeaponDescriptionFv -__dt__18CWeaponDescriptionFv: -/* 802B58A0 002B2800 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B58A4 002B2804 7C 08 02 A6 */ mflr r0 -/* 802B58A8 002B2808 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B58AC 002B280C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B58B0 002B2810 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B58B4 002B2814 93 C1 00 08 */ stw r30, 8(r1) -/* 802B58B8 002B2818 7C 9E 23 78 */ mr r30, r4 -/* 802B58BC 002B281C 41 82 03 00 */ beq lbl_802B5BBC -/* 802B58C0 002B2820 80 7F 00 04 */ lwz r3, 4(r31) -/* 802B58C4 002B2824 28 03 00 00 */ cmplwi r3, 0 -/* 802B58C8 002B2828 41 82 00 18 */ beq lbl_802B58E0 -/* 802B58CC 002B282C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B58D0 002B2830 38 80 00 01 */ li r4, 1 -/* 802B58D4 002B2834 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B58D8 002B2838 7D 89 03 A6 */ mtctr r12 -/* 802B58DC 002B283C 4E 80 04 21 */ bctrl -lbl_802B58E0: -/* 802B58E0 002B2840 80 7F 00 00 */ lwz r3, 0(r31) -/* 802B58E4 002B2844 28 03 00 00 */ cmplwi r3, 0 -/* 802B58E8 002B2848 41 82 00 18 */ beq lbl_802B5900 -/* 802B58EC 002B284C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B58F0 002B2850 38 80 00 01 */ li r4, 1 -/* 802B58F4 002B2854 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B58F8 002B2858 7D 89 03 A6 */ mtctr r12 -/* 802B58FC 002B285C 4E 80 04 21 */ bctrl -lbl_802B5900: -/* 802B5900 002B2860 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B5904 002B2864 28 03 00 00 */ cmplwi r3, 0 -/* 802B5908 002B2868 41 82 00 18 */ beq lbl_802B5920 -/* 802B590C 002B286C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5910 002B2870 38 80 00 01 */ li r4, 1 -/* 802B5914 002B2874 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5918 002B2878 7D 89 03 A6 */ mtctr r12 -/* 802B591C 002B287C 4E 80 04 21 */ bctrl -lbl_802B5920: -/* 802B5920 002B2880 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B5924 002B2884 28 03 00 00 */ cmplwi r3, 0 -/* 802B5928 002B2888 41 82 00 18 */ beq lbl_802B5940 -/* 802B592C 002B288C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5930 002B2890 38 80 00 01 */ li r4, 1 -/* 802B5934 002B2894 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5938 002B2898 7D 89 03 A6 */ mtctr r12 -/* 802B593C 002B289C 4E 80 04 21 */ bctrl -lbl_802B5940: -/* 802B5940 002B28A0 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 802B5944 002B28A4 28 03 00 00 */ cmplwi r3, 0 -/* 802B5948 002B28A8 41 82 00 18 */ beq lbl_802B5960 -/* 802B594C 002B28AC 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5950 002B28B0 38 80 00 01 */ li r4, 1 -/* 802B5954 002B28B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5958 002B28B8 7D 89 03 A6 */ mtctr r12 -/* 802B595C 002B28BC 4E 80 04 21 */ bctrl -lbl_802B5960: -/* 802B5960 002B28C0 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 802B5964 002B28C4 28 03 00 00 */ cmplwi r3, 0 -/* 802B5968 002B28C8 41 82 00 18 */ beq lbl_802B5980 -/* 802B596C 002B28CC 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5970 002B28D0 38 80 00 01 */ li r4, 1 -/* 802B5974 002B28D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5978 002B28D8 7D 89 03 A6 */ mtctr r12 -/* 802B597C 002B28DC 4E 80 04 21 */ bctrl -lbl_802B5980: -/* 802B5980 002B28E0 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802B5984 002B28E4 28 03 00 00 */ cmplwi r3, 0 -/* 802B5988 002B28E8 41 82 00 18 */ beq lbl_802B59A0 -/* 802B598C 002B28EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5990 002B28F0 38 80 00 01 */ li r4, 1 -/* 802B5994 002B28F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5998 002B28F8 7D 89 03 A6 */ mtctr r12 -/* 802B599C 002B28FC 4E 80 04 21 */ bctrl -lbl_802B59A0: -/* 802B59A0 002B2900 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 802B59A4 002B2904 28 03 00 00 */ cmplwi r3, 0 -/* 802B59A8 002B2908 41 82 00 18 */ beq lbl_802B59C0 -/* 802B59AC 002B290C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B59B0 002B2910 38 80 00 01 */ li r4, 1 -/* 802B59B4 002B2914 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B59B8 002B2918 7D 89 03 A6 */ mtctr r12 -/* 802B59BC 002B291C 4E 80 04 21 */ bctrl -lbl_802B59C0: -/* 802B59C0 002B2920 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802B59C4 002B2924 28 03 00 00 */ cmplwi r3, 0 -/* 802B59C8 002B2928 41 82 00 18 */ beq lbl_802B59E0 -/* 802B59CC 002B292C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B59D0 002B2930 38 80 00 01 */ li r4, 1 -/* 802B59D4 002B2934 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B59D8 002B2938 7D 89 03 A6 */ mtctr r12 -/* 802B59DC 002B293C 4E 80 04 21 */ bctrl -lbl_802B59E0: -/* 802B59E0 002B2940 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 802B59E4 002B2944 28 03 00 00 */ cmplwi r3, 0 -/* 802B59E8 002B2948 41 82 00 18 */ beq lbl_802B5A00 -/* 802B59EC 002B294C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B59F0 002B2950 38 80 00 01 */ li r4, 1 -/* 802B59F4 002B2954 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B59F8 002B2958 7D 89 03 A6 */ mtctr r12 -/* 802B59FC 002B295C 4E 80 04 21 */ bctrl -lbl_802B5A00: -/* 802B5A00 002B2960 80 7F 00 AC */ lwz r3, 0xac(r31) -/* 802B5A04 002B2964 28 03 00 00 */ cmplwi r3, 0 -/* 802B5A08 002B2968 41 82 00 18 */ beq lbl_802B5A20 -/* 802B5A0C 002B296C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5A10 002B2970 38 80 00 01 */ li r4, 1 -/* 802B5A14 002B2974 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5A18 002B2978 7D 89 03 A6 */ mtctr r12 -/* 802B5A1C 002B297C 4E 80 04 21 */ bctrl -lbl_802B5A20: -/* 802B5A20 002B2980 80 7F 00 B0 */ lwz r3, 0xb0(r31) -/* 802B5A24 002B2984 28 03 00 00 */ cmplwi r3, 0 -/* 802B5A28 002B2988 41 82 00 18 */ beq lbl_802B5A40 -/* 802B5A2C 002B298C 81 83 00 00 */ lwz r12, 0(r3) -/* 802B5A30 002B2990 38 80 00 01 */ li r4, 1 -/* 802B5A34 002B2994 81 8C 00 08 */ lwz r12, 8(r12) -/* 802B5A38 002B2998 7D 89 03 A6 */ mtctr r12 -/* 802B5A3C 002B299C 4E 80 04 21 */ bctrl -lbl_802B5A40: -/* 802B5A40 002B29A0 34 1F 00 94 */ addic. r0, r31, 0x94 -/* 802B5A44 002B29A4 41 82 00 30 */ beq lbl_802B5A74 -/* 802B5A48 002B29A8 88 1F 00 A0 */ lbz r0, 0xa0(r31) -/* 802B5A4C 002B29AC 28 00 00 00 */ cmplwi r0, 0 -/* 802B5A50 002B29B0 41 82 00 1C */ beq lbl_802B5A6C -/* 802B5A54 002B29B4 34 7F 00 94 */ addic. r3, r31, 0x94 -/* 802B5A58 002B29B8 41 82 00 14 */ beq lbl_802B5A6C -/* 802B5A5C 002B29BC 28 03 00 00 */ cmplwi r3, 0 -/* 802B5A60 002B29C0 41 82 00 0C */ beq lbl_802B5A6C -/* 802B5A64 002B29C4 38 80 00 00 */ li r4, 0 -/* 802B5A68 002B29C8 48 08 B3 D9 */ bl __dt__6CTokenFv -lbl_802B5A6C: -/* 802B5A6C 002B29CC 38 00 00 00 */ li r0, 0 -/* 802B5A70 002B29D0 98 1F 00 A0 */ stb r0, 0xa0(r31) -lbl_802B5A74: -/* 802B5A74 002B29D4 34 1F 00 84 */ addic. r0, r31, 0x84 -/* 802B5A78 002B29D8 41 82 00 30 */ beq lbl_802B5AA8 -/* 802B5A7C 002B29DC 88 1F 00 90 */ lbz r0, 0x90(r31) -/* 802B5A80 002B29E0 28 00 00 00 */ cmplwi r0, 0 -/* 802B5A84 002B29E4 41 82 00 1C */ beq lbl_802B5AA0 -/* 802B5A88 002B29E8 34 7F 00 84 */ addic. r3, r31, 0x84 -/* 802B5A8C 002B29EC 41 82 00 14 */ beq lbl_802B5AA0 -/* 802B5A90 002B29F0 28 03 00 00 */ cmplwi r3, 0 -/* 802B5A94 002B29F4 41 82 00 0C */ beq lbl_802B5AA0 -/* 802B5A98 002B29F8 38 80 00 00 */ li r4, 0 -/* 802B5A9C 002B29FC 48 08 B3 A5 */ bl __dt__6CTokenFv -lbl_802B5AA0: -/* 802B5AA0 002B2A00 38 00 00 00 */ li r0, 0 -/* 802B5AA4 002B2A04 98 1F 00 90 */ stb r0, 0x90(r31) -lbl_802B5AA8: -/* 802B5AA8 002B2A08 34 1F 00 74 */ addic. r0, r31, 0x74 -/* 802B5AAC 002B2A0C 41 82 00 30 */ beq lbl_802B5ADC -/* 802B5AB0 002B2A10 88 1F 00 80 */ lbz r0, 0x80(r31) -/* 802B5AB4 002B2A14 28 00 00 00 */ cmplwi r0, 0 -/* 802B5AB8 002B2A18 41 82 00 1C */ beq lbl_802B5AD4 -/* 802B5ABC 002B2A1C 34 7F 00 74 */ addic. r3, r31, 0x74 -/* 802B5AC0 002B2A20 41 82 00 14 */ beq lbl_802B5AD4 -/* 802B5AC4 002B2A24 28 03 00 00 */ cmplwi r3, 0 -/* 802B5AC8 002B2A28 41 82 00 0C */ beq lbl_802B5AD4 -/* 802B5ACC 002B2A2C 38 80 00 00 */ li r4, 0 -/* 802B5AD0 002B2A30 48 08 B3 71 */ bl __dt__6CTokenFv -lbl_802B5AD4: -/* 802B5AD4 002B2A34 38 00 00 00 */ li r0, 0 -/* 802B5AD8 002B2A38 98 1F 00 80 */ stb r0, 0x80(r31) -lbl_802B5ADC: -/* 802B5ADC 002B2A3C 34 1F 00 64 */ addic. r0, r31, 0x64 -/* 802B5AE0 002B2A40 41 82 00 30 */ beq lbl_802B5B10 -/* 802B5AE4 002B2A44 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 802B5AE8 002B2A48 28 00 00 00 */ cmplwi r0, 0 -/* 802B5AEC 002B2A4C 41 82 00 1C */ beq lbl_802B5B08 -/* 802B5AF0 002B2A50 34 7F 00 64 */ addic. r3, r31, 0x64 -/* 802B5AF4 002B2A54 41 82 00 14 */ beq lbl_802B5B08 -/* 802B5AF8 002B2A58 28 03 00 00 */ cmplwi r3, 0 -/* 802B5AFC 002B2A5C 41 82 00 0C */ beq lbl_802B5B08 -/* 802B5B00 002B2A60 38 80 00 00 */ li r4, 0 -/* 802B5B04 002B2A64 48 08 B3 3D */ bl __dt__6CTokenFv -lbl_802B5B08: -/* 802B5B08 002B2A68 38 00 00 00 */ li r0, 0 -/* 802B5B0C 002B2A6C 98 1F 00 70 */ stb r0, 0x70(r31) -lbl_802B5B10: -/* 802B5B10 002B2A70 34 1F 00 54 */ addic. r0, r31, 0x54 -/* 802B5B14 002B2A74 41 82 00 30 */ beq lbl_802B5B44 -/* 802B5B18 002B2A78 88 1F 00 60 */ lbz r0, 0x60(r31) -/* 802B5B1C 002B2A7C 28 00 00 00 */ cmplwi r0, 0 -/* 802B5B20 002B2A80 41 82 00 1C */ beq lbl_802B5B3C -/* 802B5B24 002B2A84 34 7F 00 54 */ addic. r3, r31, 0x54 -/* 802B5B28 002B2A88 41 82 00 14 */ beq lbl_802B5B3C -/* 802B5B2C 002B2A8C 28 03 00 00 */ cmplwi r3, 0 -/* 802B5B30 002B2A90 41 82 00 0C */ beq lbl_802B5B3C -/* 802B5B34 002B2A94 38 80 00 00 */ li r4, 0 -/* 802B5B38 002B2A98 48 08 B3 09 */ bl __dt__6CTokenFv -lbl_802B5B3C: -/* 802B5B3C 002B2A9C 38 00 00 00 */ li r0, 0 -/* 802B5B40 002B2AA0 98 1F 00 60 */ stb r0, 0x60(r31) -lbl_802B5B44: -/* 802B5B44 002B2AA4 34 1F 00 44 */ addic. r0, r31, 0x44 -/* 802B5B48 002B2AA8 41 82 00 30 */ beq lbl_802B5B78 -/* 802B5B4C 002B2AAC 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802B5B50 002B2AB0 28 00 00 00 */ cmplwi r0, 0 -/* 802B5B54 002B2AB4 41 82 00 1C */ beq lbl_802B5B70 -/* 802B5B58 002B2AB8 34 7F 00 44 */ addic. r3, r31, 0x44 -/* 802B5B5C 002B2ABC 41 82 00 14 */ beq lbl_802B5B70 -/* 802B5B60 002B2AC0 28 03 00 00 */ cmplwi r3, 0 -/* 802B5B64 002B2AC4 41 82 00 0C */ beq lbl_802B5B70 -/* 802B5B68 002B2AC8 38 80 00 00 */ li r4, 0 -/* 802B5B6C 002B2ACC 48 08 B2 D5 */ bl __dt__6CTokenFv -lbl_802B5B70: -/* 802B5B70 002B2AD0 38 00 00 00 */ li r0, 0 -/* 802B5B74 002B2AD4 98 1F 00 50 */ stb r0, 0x50(r31) -lbl_802B5B78: -/* 802B5B78 002B2AD8 34 1F 00 34 */ addic. r0, r31, 0x34 -/* 802B5B7C 002B2ADC 41 82 00 30 */ beq lbl_802B5BAC -/* 802B5B80 002B2AE0 88 1F 00 40 */ lbz r0, 0x40(r31) -/* 802B5B84 002B2AE4 28 00 00 00 */ cmplwi r0, 0 -/* 802B5B88 002B2AE8 41 82 00 1C */ beq lbl_802B5BA4 -/* 802B5B8C 002B2AEC 34 7F 00 34 */ addic. r3, r31, 0x34 -/* 802B5B90 002B2AF0 41 82 00 14 */ beq lbl_802B5BA4 -/* 802B5B94 002B2AF4 28 03 00 00 */ cmplwi r3, 0 -/* 802B5B98 002B2AF8 41 82 00 0C */ beq lbl_802B5BA4 -/* 802B5B9C 002B2AFC 38 80 00 00 */ li r4, 0 -/* 802B5BA0 002B2B00 48 08 B2 A1 */ bl __dt__6CTokenFv -lbl_802B5BA4: -/* 802B5BA4 002B2B04 38 00 00 00 */ li r0, 0 -/* 802B5BA8 002B2B08 98 1F 00 40 */ stb r0, 0x40(r31) -lbl_802B5BAC: -/* 802B5BAC 002B2B0C 7F C0 07 35 */ extsh. r0, r30 -/* 802B5BB0 002B2B10 40 81 00 0C */ ble lbl_802B5BBC -/* 802B5BB4 002B2B14 7F E3 FB 78 */ mr r3, r31 -/* 802B5BB8 002B2B18 48 05 FD 79 */ bl Free__7CMemoryFPCv -lbl_802B5BBC: -/* 802B5BBC 002B2B1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B5BC0 002B2B20 7F E3 FB 78 */ mr r3, r31 -/* 802B5BC4 002B2B24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B5BC8 002B2B28 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B5BCC 002B2B2C 7C 08 03 A6 */ mtlr r0 -/* 802B5BD0 002B2B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B5BD4 002B2B34 4E 80 00 20 */ blr - -.global __dt__17CModVectorElement -__dt__17CModVectorElement: -/* 802B5BD8 002B2B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B5BDC 002B2B3C 7C 08 02 A6 */ mflr r0 -/* 802B5BE0 002B2B40 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B5BE4 002B2B44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B5BE8 002B2B48 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B5BEC 002B2B4C 41 82 00 34 */ beq lbl_802B5C20 -/* 802B5BF0 002B2B50 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 802B5BF4 002B2B54 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 802B5BF8 002B2B58 90 1F 00 00 */ stw r0, 0(r31) -/* 802B5BFC 002B2B5C 41 82 00 10 */ beq lbl_802B5C0C -/* 802B5C00 002B2B60 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 802B5C04 002B2B64 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 802B5C08 002B2B68 90 1F 00 00 */ stw r0, 0(r31) -lbl_802B5C0C: -/* 802B5C0C 002B2B6C 7C 80 07 35 */ extsh. r0, r4 -/* 802B5C10 002B2B70 40 81 00 10 */ ble lbl_802B5C20 -/* 802B5C14 002B2B74 7F E3 FB 78 */ mr r3, r31 -/* 802B5C18 002B2B78 38 80 00 04 */ li r4, 4 -/* 802B5C1C 002B2B7C 48 0B 6E 49 */ bl sub_8036ca64 -lbl_802B5C20: -/* 802B5C20 002B2B80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B5C24 002B2B84 7F E3 FB 78 */ mr r3, r31 -/* 802B5C28 002B2B88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B5C2C 002B2B8C 7C 08 03 A6 */ mtlr r0 -/* 802B5C30 002B2B90 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B5C34 002B2B94 4E 80 00 20 */ blr - -.global __ct__18CWeaponDescriptionFv -__ct__18CWeaponDescriptionFv: -/* 802B5C38 002B2B98 38 A0 00 00 */ li r5, 0 -/* 802B5C3C 002B2B9C 38 80 00 01 */ li r4, 1 -/* 802B5C40 002B2BA0 90 A3 00 00 */ stw r5, 0(r3) -/* 802B5C44 002B2BA4 38 00 FF FF */ li r0, -1 -/* 802B5C48 002B2BA8 90 A3 00 04 */ stw r5, 4(r3) -/* 802B5C4C 002B2BAC 90 A3 00 08 */ stw r5, 8(r3) -/* 802B5C50 002B2BB0 90 A3 00 0C */ stw r5, 0xc(r3) -/* 802B5C54 002B2BB4 98 A3 00 10 */ stb r5, 0x10(r3) -/* 802B5C58 002B2BB8 90 A3 00 14 */ stw r5, 0x14(r3) -/* 802B5C5C 002B2BBC 90 A3 00 18 */ stw r5, 0x18(r3) -/* 802B5C60 002B2BC0 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 802B5C64 002B2BC4 90 A3 00 20 */ stw r5, 0x20(r3) -/* 802B5C68 002B2BC8 90 A3 00 24 */ stw r5, 0x24(r3) -/* 802B5C6C 002B2BCC 98 A3 00 28 */ stb r5, 0x28(r3) -/* 802B5C70 002B2BD0 98 A3 00 2A */ stb r5, 0x2a(r3) -/* 802B5C74 002B2BD4 98 A3 00 2B */ stb r5, 0x2b(r3) -/* 802B5C78 002B2BD8 98 A3 00 2C */ stb r5, 0x2c(r3) -/* 802B5C7C 002B2BDC 98 A3 00 2D */ stb r5, 0x2d(r3) -/* 802B5C80 002B2BE0 98 A3 00 2E */ stb r5, 0x2e(r3) -/* 802B5C84 002B2BE4 90 A3 00 30 */ stw r5, 0x30(r3) -/* 802B5C88 002B2BE8 98 A3 00 40 */ stb r5, 0x40(r3) -/* 802B5C8C 002B2BEC 98 A3 00 50 */ stb r5, 0x50(r3) -/* 802B5C90 002B2BF0 98 A3 00 60 */ stb r5, 0x60(r3) -/* 802B5C94 002B2BF4 98 A3 00 70 */ stb r5, 0x70(r3) -/* 802B5C98 002B2BF8 98 A3 00 80 */ stb r5, 0x80(r3) -/* 802B5C9C 002B2BFC 98 A3 00 90 */ stb r5, 0x90(r3) -/* 802B5CA0 002B2C00 98 A3 00 A0 */ stb r5, 0xa0(r3) -/* 802B5CA4 002B2C04 98 83 00 A4 */ stb r4, 0xa4(r3) -/* 802B5CA8 002B2C08 98 83 00 A5 */ stb r4, 0xa5(r3) -/* 802B5CAC 002B2C0C 98 83 00 A6 */ stb r4, 0xa6(r3) -/* 802B5CB0 002B2C10 90 03 00 A8 */ stw r0, 0xa8(r3) -/* 802B5CB4 002B2C14 90 A3 00 AC */ stw r5, 0xac(r3) -/* 802B5CB8 002B2C18 90 A3 00 B0 */ stw r5, 0xb0(r3) -/* 802B5CBC 002B2C1C 4E 80 00 20 */ blr - -.global sub_802b5cc0 -sub_802b5cc0: -/* 802B5CC0 002B2C20 38 00 00 00 */ li r0, 0 -/* 802B5CC4 002B2C24 90 03 00 00 */ stw r0, 0(r3) -/* 802B5CC8 002B2C28 90 03 00 04 */ stw r0, 4(r3) -/* 802B5CCC 002B2C2C 90 03 00 08 */ stw r0, 8(r3) -/* 802B5CD0 002B2C30 90 03 00 0C */ stw r0, 0xc(r3) -/* 802B5CD4 002B2C34 90 03 00 10 */ stw r0, 0x10(r3) -/* 802B5CD8 002B2C38 90 03 00 14 */ stw r0, 0x14(r3) -/* 802B5CDC 002B2C3C 98 03 00 18 */ stb r0, 0x18(r3) -/* 802B5CE0 002B2C40 4E 80 00 20 */ blr - -.global __ct__17CDecalDescriptionFv -__ct__17CDecalDescriptionFv: -/* 802B5CE4 002B2C44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B5CE8 002B2C48 7C 08 02 A6 */ mflr r0 -/* 802B5CEC 002B2C4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B5CF0 002B2C50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B5CF4 002B2C54 7C 7F 1B 78 */ mr r31, r3 -/* 802B5CF8 002B2C58 4B FF FF C9 */ bl sub_802b5cc0 -/* 802B5CFC 002B2C5C 38 7F 00 1C */ addi r3, r31, 0x1c -/* 802B5D00 002B2C60 4B FF FF C1 */ bl sub_802b5cc0 -/* 802B5D04 002B2C64 38 80 00 00 */ li r4, 0 -/* 802B5D08 002B2C68 7F E3 FB 78 */ mr r3, r31 -/* 802B5D0C 002B2C6C 98 9F 00 44 */ stb r4, 0x44(r31) -/* 802B5D10 002B2C70 90 9F 00 48 */ stw r4, 0x48(r31) -/* 802B5D14 002B2C74 90 9F 00 4C */ stw r4, 0x4c(r31) -/* 802B5D18 002B2C78 90 9F 00 50 */ stw r4, 0x50(r31) -/* 802B5D1C 002B2C7C 90 9F 00 54 */ stw r4, 0x54(r31) -/* 802B5D20 002B2C80 90 9F 00 58 */ stw r4, 0x58(r31) -/* 802B5D24 002B2C84 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 802B5D28 002B2C88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802B5D2C 002B2C8C 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 802B5D30 002B2C90 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 802B5D34 002B2C94 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802B5D38 002B2C98 98 1F 00 5C */ stb r0, 0x5c(r31) -/* 802B5D3C 002B2C9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B5D40 002B2CA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B5D44 002B2CA4 7C 08 03 A6 */ mtlr r0 -/* 802B5D48 002B2CA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B5D4C 002B2CAC 4E 80 00 20 */ blr - -.global DrawString__13CCubeRendererFPCcii -DrawString__13CCubeRendererFPCcii: -/* 802B5D50 002B2CB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B5D54 002B2CB4 7C 08 02 A6 */ mflr r0 -/* 802B5D58 002B2CB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B5D5C 002B2CBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B5D60 002B2CC0 7C DF 33 78 */ mr r31, r6 -/* 802B5D64 002B2CC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B5D68 002B2CC8 7C BE 2B 78 */ mr r30, r5 -/* 802B5D6C 002B2CCC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B5D70 002B2CD0 7C 9D 23 78 */ mr r29, r4 -/* 802B5D74 002B2CD4 93 81 00 10 */ stw r28, 0x10(r1) -/* 802B5D78 002B2CD8 7C 7C 1B 78 */ mr r28, r3 -/* 802B5D7C 002B2CDC 48 09 42 31 */ bl White__6CColorFv -/* 802B5D80 002B2CE0 7C 67 1B 78 */ mr r7, r3 -/* 802B5D84 002B2CE4 7F A4 EB 78 */ mr r4, r29 -/* 802B5D88 002B2CE8 7F C5 F3 78 */ mr r5, r30 -/* 802B5D8C 002B2CEC 7F E6 FB 78 */ mr r6, r31 -/* 802B5D90 002B2CF0 38 7C 00 10 */ addi r3, r28, 0x10 -/* 802B5D94 002B2CF4 48 05 02 05 */ bl DrawString__5CFontCFPCcllRC6CColor -/* 802B5D98 002B2CF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B5D9C 002B2CFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B5DA0 002B2D00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B5DA4 002B2D04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B5DA8 002B2D08 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802B5DAC 002B2D0C 7C 08 03 A6 */ mtlr r0 -/* 802B5DB0 002B2D10 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B5DB4 002B2D14 4E 80 00 20 */ blr - -.global DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf -DrawXRayOutline__13CCubeRendererFRC6CModelPCfPCf: -/* 802B5DB8 002B2D18 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B5DBC 002B2D1C 7C 08 02 A6 */ mflr r0 -/* 802B5DC0 002B2D20 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B5DC4 002B2D24 BE C1 00 48 */ stmw r22, 0x48(r1) -/* 802B5DC8 002B2D28 7C 76 1B 78 */ mr r22, r3 -/* 802B5DCC 002B2D2C 7C 97 23 78 */ mr r23, r4 -/* 802B5DD0 002B2D30 83 A3 00 20 */ lwz r29, 0x20(r3) -/* 802B5DD4 002B2D34 48 00 01 7C */ b lbl_802B5F50 -lbl_802B5DD8: -/* 802B5DD8 002B2D38 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 802B5DDC 002B2D3C 28 1F 00 00 */ cmplwi r31, 0 -/* 802B5DE0 002B2D40 41 82 01 6C */ beq lbl_802B5F4C -/* 802B5DE4 002B2D44 38 00 00 00 */ li r0, 0 -/* 802B5DE8 002B2D48 7F E3 FB 78 */ mr r3, r31 -/* 802B5DEC 002B2D4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B5DF0 002B2D50 7E E5 BB 78 */ mr r5, r23 -/* 802B5DF4 002B2D54 38 81 00 20 */ addi r4, r1, 0x20 -/* 802B5DF8 002B2D58 90 01 00 28 */ stw r0, 0x28(r1) -/* 802B5DFC 002B2D5C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802B5E00 002B2D60 4B FF 8A 55 */ bl "FindOverlappingModels__18CAreaRenderOctTreeFRQ24rstl10vectorRC6CAABox" -/* 802B5E04 002B2D64 3B 60 00 00 */ li r27, 0 -/* 802B5E08 002B2D68 3B 40 00 00 */ li r26, 0 -/* 802B5E0C 002B2D6C 3B 80 00 00 */ li r28, 0 -/* 802B5E10 002B2D70 48 00 00 F0 */ b lbl_802B5F00 -lbl_802B5E14: -/* 802B5E14 002B2D74 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802B5E18 002B2D78 7F 23 E0 2E */ lwzx r25, r3, r28 -/* 802B5E1C 002B2D7C 28 19 00 00 */ cmplwi r25, 0 -/* 802B5E20 002B2D80 41 82 00 D4 */ beq lbl_802B5EF4 -/* 802B5E24 002B2D84 3B 00 00 00 */ li r24, 0 -lbl_802B5E28: -/* 802B5E28 002B2D88 38 00 00 01 */ li r0, 1 -/* 802B5E2C 002B2D8C 7C 00 C0 30 */ slw r0, r0, r24 -/* 802B5E30 002B2D90 7F 20 00 39 */ and. r0, r25, r0 -/* 802B5E34 002B2D94 41 82 00 B4 */ beq lbl_802B5EE8 -/* 802B5E38 002B2D98 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 802B5E3C 002B2D9C 7C 1A C2 14 */ add r0, r26, r24 -/* 802B5E40 002B2DA0 54 03 18 38 */ slwi r3, r0, 3 -/* 802B5E44 002B2DA4 80 84 00 0C */ lwz r4, 0xc(r4) -/* 802B5E48 002B2DA8 38 03 00 04 */ addi r0, r3, 4 -/* 802B5E4C 002B2DAC 7F C4 00 2E */ lwzx r30, r4, r0 -/* 802B5E50 002B2DB0 7F C3 F3 78 */ mr r3, r30 -/* 802B5E54 002B2DB4 48 05 17 CD */ bl SetArraysCurrent__10CCubeModelCFv -/* 802B5E58 002B2DB8 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802B5E5C 002B2DBC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802B5E60 002B2DC0 48 00 00 7C */ b lbl_802B5EDC -lbl_802B5E64: -/* 802B5E64 002B2DC4 38 61 00 30 */ addi r3, r1, 0x30 -/* 802B5E68 002B2DC8 38 81 00 1C */ addi r4, r1, 0x1c -/* 802B5E6C 002B2DCC 48 09 24 45 */ bl GetBounds__12CCubeSurfaceCFv -/* 802B5E70 002B2DD0 7E E4 BB 78 */ mr r4, r23 -/* 802B5E74 002B2DD4 38 61 00 30 */ addi r3, r1, 0x30 -/* 802B5E78 002B2DD8 48 08 1D 0D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802B5E7C 002B2DDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B5E80 002B2DE0 41 82 00 50 */ beq lbl_802B5ED0 -/* 802B5E84 002B2DE4 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 802B5E88 002B2DE8 7F C4 F3 78 */ mr r4, r30 -/* 802B5E8C 002B2DEC 38 61 00 18 */ addi r3, r1, 0x18 -/* 802B5E90 002B2DF0 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 802B5E94 002B2DF4 48 05 16 79 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 802B5E98 002B2DF8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802B5E9C 002B2DFC 80 04 00 04 */ lwz r0, 4(r4) -/* 802B5EA0 002B2E00 54 03 10 3A */ slwi r3, r0, 2 -/* 802B5EA4 002B2E04 38 03 00 08 */ addi r0, r3, 8 -/* 802B5EA8 002B2E08 7C 64 00 2E */ lwzx r3, r4, r0 -/* 802B5EAC 002B2E0C 48 05 20 51 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 802B5EB0 002B2E10 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 802B5EB4 002B2E14 80 65 00 1C */ lwz r3, 0x1c(r5) -/* 802B5EB8 002B2E18 80 05 00 10 */ lwz r0, 0x10(r5) -/* 802B5EBC 002B2E1C 38 63 00 4B */ addi r3, r3, 0x4b -/* 802B5EC0 002B2E20 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 802B5EC4 002B2E24 54 04 00 7E */ clrlwi r4, r0, 1 -/* 802B5EC8 002B2E28 7C 65 1A 14 */ add r3, r5, r3 -/* 802B5ECC 002B2E2C 48 05 27 21 */ bl CallDisplayList__3CGXFPCvUl -lbl_802B5ED0: -/* 802B5ED0 002B2E30 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802B5ED4 002B2E34 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802B5ED8 002B2E38 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_802B5EDC: -/* 802B5EDC 002B2E3C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802B5EE0 002B2E40 28 00 00 00 */ cmplwi r0, 0 -/* 802B5EE4 002B2E44 40 82 FF 80 */ bne lbl_802B5E64 -lbl_802B5EE8: -/* 802B5EE8 002B2E48 3B 18 00 01 */ addi r24, r24, 1 -/* 802B5EEC 002B2E4C 2C 18 00 20 */ cmpwi r24, 0x20 -/* 802B5EF0 002B2E50 41 80 FF 38 */ blt lbl_802B5E28 -lbl_802B5EF4: -/* 802B5EF4 002B2E54 3B 9C 00 04 */ addi r28, r28, 4 -/* 802B5EF8 002B2E58 3B 7B 00 01 */ addi r27, r27, 1 -/* 802B5EFC 002B2E5C 3B 5A 00 20 */ addi r26, r26, 0x20 -lbl_802B5F00: -/* 802B5F00 002B2E60 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802B5F04 002B2E64 7C 1B 00 40 */ cmplw r27, r0 -/* 802B5F08 002B2E68 41 80 FF 0C */ blt lbl_802B5E14 -/* 802B5F0C 002B2E6C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B5F10 002B2E70 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802B5F14 002B2E74 54 00 10 3A */ slwi r0, r0, 2 -/* 802B5F18 002B2E78 7C 03 02 14 */ add r0, r3, r0 -/* 802B5F1C 002B2E7C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B5F20 002B2E80 7C 64 1B 78 */ mr r4, r3 -/* 802B5F24 002B2E84 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B5F28 002B2E88 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B5F2C 002B2E8C 90 61 00 08 */ stw r3, 8(r1) -/* 802B5F30 002B2E90 48 00 00 08 */ b lbl_802B5F38 -lbl_802B5F34: -/* 802B5F34 002B2E94 38 84 00 04 */ addi r4, r4, 4 -lbl_802B5F38: -/* 802B5F38 002B2E98 7C 04 00 40 */ cmplw r4, r0 -/* 802B5F3C 002B2E9C 40 82 FF F8 */ bne lbl_802B5F34 -/* 802B5F40 002B2EA0 28 03 00 00 */ cmplwi r3, 0 -/* 802B5F44 002B2EA4 41 82 00 08 */ beq lbl_802B5F4C -/* 802B5F48 002B2EA8 48 05 F9 E9 */ bl Free__7CMemoryFPCv -lbl_802B5F4C: -/* 802B5F4C 002B2EAC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802B5F50: -/* 802B5F50 002B2EB0 80 16 00 24 */ lwz r0, 0x24(r22) -/* 802B5F54 002B2EB4 7C 1D 00 40 */ cmplw r29, r0 -/* 802B5F58 002B2EB8 40 82 FE 80 */ bne lbl_802B5DD8 -/* 802B5F5C 002B2EBC BA C1 00 48 */ lmw r22, 0x48(r1) -/* 802B5F60 002B2EC0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B5F64 002B2EC4 7C 08 03 A6 */ mtlr r0 -/* 802B5F68 002B2EC8 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B5F6C 002B2ECC 4E 80 00 20 */ blr - -.global AllocatePhazonSuitMaskTexture__13CCubeRendererFv -AllocatePhazonSuitMaskTexture__13CCubeRendererFv: -/* 802B5F70 002B2ED0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B5F74 002B2ED4 7C 08 02 A6 */ mflr r0 -/* 802B5F78 002B2ED8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B5F7C 002B2EDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B5F80 002B2EE0 93 C1 00 08 */ stw r30, 8(r1) -/* 802B5F84 002B2EE4 7C 7E 1B 78 */ mr r30, r3 -/* 802B5F88 002B2EE8 38 60 00 01 */ li r3, 1 -/* 802B5F8C 002B2EEC 88 1E 03 18 */ lbz r0, 0x318(r30) -/* 802B5F90 002B2EF0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802B5F94 002B2EF4 98 1E 03 18 */ stb r0, 0x318(r30) -/* 802B5F98 002B2EF8 80 1E 03 14 */ lwz r0, 0x314(r30) -/* 802B5F9C 002B2EFC 28 00 00 00 */ cmplwi r0, 0 -/* 802B5FA0 002B2F00 40 82 00 60 */ bne lbl_802B6000 -/* 802B5FA4 002B2F04 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802B5FA8 002B2F08 38 60 00 68 */ li r3, 0x68 -/* 802B5FAC 002B2F0C 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802B5FB0 002B2F10 38 A0 00 00 */ li r5, 0 -/* 802B5FB4 002B2F14 48 05 F8 B9 */ bl __nw__FUlPCcPCc -/* 802B5FB8 002B2F18 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802B5FBC 002B2F1C 41 82 00 34 */ beq lbl_802B5FF0 -/* 802B5FC0 002B2F20 3C A0 80 3F */ lis r5, lbl_803ED910@ha -/* 802B5FC4 002B2F24 38 80 00 01 */ li r4, 1 -/* 802B5FC8 002B2F28 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l -/* 802B5FCC 002B2F2C 38 E0 00 01 */ li r7, 1 -/* 802B5FD0 002B2F30 80 A6 00 08 */ lwz r5, 8(r6) -/* 802B5FD4 002B2F34 80 06 00 0C */ lwz r0, 0xc(r6) -/* 802B5FD8 002B2F38 7C A5 16 70 */ srawi r5, r5, 2 -/* 802B5FDC 002B2F3C 7C 00 16 70 */ srawi r0, r0, 2 -/* 802B5FE0 002B2F40 7C A5 07 34 */ extsh r5, r5 -/* 802B5FE4 002B2F44 7C 06 07 34 */ extsh r6, r0 -/* 802B5FE8 002B2F48 48 05 9E 45 */ bl __ct__8CTextureF12ETexelFormatssi -/* 802B5FEC 002B2F4C 7C 7F 1B 78 */ mr r31, r3 -lbl_802B5FF0: -/* 802B5FF0 002B2F50 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 802B5FF4 002B2F54 38 80 00 01 */ li r4, 1 -/* 802B5FF8 002B2F58 48 05 9A 01 */ bl __dt__8CTextureFv -/* 802B5FFC 002B2F5C 93 FE 03 14 */ stw r31, 0x314(r30) -lbl_802B6000: -/* 802B6000 002B2F60 38 00 00 02 */ li r0, 2 -/* 802B6004 002B2F64 90 1E 03 10 */ stw r0, 0x310(r30) -/* 802B6008 002B2F68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B600C 002B2F6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B6010 002B2F70 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B6014 002B2F74 7C 08 03 A6 */ mtlr r0 -/* 802B6018 002B2F78 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B601C 002B2F7C 4E 80 00 20 */ blr - -.global "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" -"DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff": -/* 802B6020 002B2F80 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802B6024 002B2F84 7C 08 02 A6 */ mflr r0 -/* 802B6028 002B2F88 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802B602C 002B2F8C DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 802B6030 002B2F90 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 802B6034 002B2F94 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 802B6038 002B2F98 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 802B603C 002B2F9C DB A1 00 80 */ stfd f29, 0x80(r1) -/* 802B6040 002B2FA0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 802B6044 002B2FA4 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 802B6048 002B2FA8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 802B604C 002B2FAC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802B6050 002B2FB0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802B6054 002B2FB4 93 A1 00 64 */ stw r29, 0x64(r1) -/* 802B6058 002B2FB8 93 81 00 60 */ stw r28, 0x60(r1) -/* 802B605C 002B2FBC 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802B6060 002B2FC0 FF 80 08 90 */ fmr f28, f1 -/* 802B6064 002B2FC4 FF A0 10 90 */ fmr f29, f2 -/* 802B6068 002B2FC8 7C 7C 1B 78 */ mr r28, r3 -/* 802B606C 002B2FCC FF C0 18 90 */ fmr f30, f3 -/* 802B6070 002B2FD0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802B6074 002B2FD4 FF E0 20 90 */ fmr f31, f4 -/* 802B6078 002B2FD8 7C 9D 23 78 */ mr r29, r4 -/* 802B607C 002B2FDC 7C BE 2B 78 */ mr r30, r5 -/* 802B6080 002B2FE0 7C DF 33 78 */ mr r31, r6 -/* 802B6084 002B2FE4 41 82 01 70 */ beq lbl_802B61F4 -/* 802B6088 002B2FE8 80 1C 03 10 */ lwz r0, 0x310(r28) -/* 802B608C 002B2FEC 2C 00 00 00 */ cmpwi r0, 0 -/* 802B6090 002B2FF0 41 82 01 64 */ beq lbl_802B61F4 -/* 802B6094 002B2FF4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B6098 002B2FF8 38 61 00 28 */ addi r3, r1, 0x28 -/* 802B609C 002B2FFC 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802B60A0 002B3000 48 05 CA D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B60A4 002B3004 48 05 3D B9 */ bl GetProjectionState__9CGraphicsFv -/* 802B60A8 002B3008 88 03 00 00 */ lbz r0, 0(r3) -/* 802B60AC 002B300C 98 01 00 0C */ stb r0, 0xc(r1) -/* 802B60B0 002B3010 C0 03 00 04 */ lfs f0, 4(r3) -/* 802B60B4 002B3014 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802B60B8 002B3018 C0 03 00 08 */ lfs f0, 8(r3) -/* 802B60BC 002B301C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802B60C0 002B3020 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802B60C4 002B3024 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802B60C8 002B3028 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802B60CC 002B302C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802B60D0 002B3030 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802B60D4 002B3034 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802B60D8 002B3038 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802B60DC 002B303C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802B60E0 002B3040 80 BC 03 14 */ lwz r5, 0x314(r28) -/* 802B60E4 002B3044 28 05 00 00 */ cmplwi r5, 0 -/* 802B60E8 002B3048 41 82 01 18 */ beq lbl_802B6200 -/* 802B60EC 002B304C 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802B60F0 002B3050 A8 85 00 04 */ lha r4, 4(r5) -/* 802B60F4 002B3054 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 802B60F8 002B3058 80 03 00 08 */ lwz r0, 8(r3) -/* 802B60FC 002B305C 7C 00 16 70 */ srawi r0, r0, 2 -/* 802B6100 002B3060 7C 04 00 00 */ cmpw r4, r0 -/* 802B6104 002B3064 40 82 00 FC */ bne lbl_802B6200 -/* 802B6108 002B3068 80 03 00 0C */ lwz r0, 0xc(r3) -/* 802B610C 002B306C A8 65 00 06 */ lha r3, 6(r5) -/* 802B6110 002B3070 7C 00 16 70 */ srawi r0, r0, 2 -/* 802B6114 002B3074 7C 03 00 00 */ cmpw r3, r0 -/* 802B6118 002B3078 41 82 00 08 */ beq lbl_802B6120 -/* 802B611C 002B307C 48 00 00 E4 */ b lbl_802B6200 -lbl_802B6120: -/* 802B6120 002B3080 FC 20 E0 90 */ fmr f1, f28 -/* 802B6124 002B3084 7F 83 E3 78 */ mr r3, r28 -/* 802B6128 002B3088 FC 40 E0 90 */ fmr f2, f28 -/* 802B612C 002B308C 48 00 0A 4D */ bl DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff -/* 802B6130 002B3090 80 7C 03 14 */ lwz r3, 0x314(r28) -/* 802B6134 002B3094 38 A0 00 01 */ li r5, 1 -/* 802B6138 002B3098 38 80 00 00 */ li r4, 0 -/* 802B613C 002B309C 88 03 00 0A */ lbz r0, 0xa(r3) -/* 802B6140 002B30A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802B6144 002B30A4 98 03 00 0A */ stb r0, 0xa(r3) -/* 802B6148 002B30A8 80 7C 03 14 */ lwz r3, 0x314(r28) -/* 802B614C 002B30AC 48 05 84 89 */ bl GetBitMapData__8CTextureFi -/* 802B6150 002B30B0 7C 66 1B 78 */ mr r6, r3 -/* 802B6154 002B30B4 7F 83 E3 78 */ mr r3, r28 -/* 802B6158 002B30B8 38 80 00 04 */ li r4, 4 -/* 802B615C 002B30BC 38 A0 00 00 */ li r5, 0 -/* 802B6160 002B30C0 38 E0 00 27 */ li r7, 0x27 -/* 802B6164 002B30C4 39 00 00 01 */ li r8, 1 -/* 802B6168 002B30C8 48 00 11 E5 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb -/* 802B616C 002B30CC 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 802B6170 002B30D0 28 00 00 00 */ cmplwi r0, 0 -/* 802B6174 002B30D4 41 82 00 50 */ beq lbl_802B61C4 -/* 802B6178 002B30D8 83 DE 00 08 */ lwz r30, 8(r30) -/* 802B617C 002B30DC 28 1E 00 00 */ cmplwi r30, 0 -/* 802B6180 002B30E0 41 82 00 44 */ beq lbl_802B61C4 -/* 802B6184 002B30E4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B6188 002B30E8 38 61 00 08 */ addi r3, r1, 8 -/* 802B618C 002B30EC FC 40 08 90 */ fmr f2, f1 -/* 802B6190 002B30F0 FC 60 08 90 */ fmr f3, f1 -/* 802B6194 002B30F4 FC 80 08 90 */ fmr f4, f1 -/* 802B6198 002B30F8 48 0A D2 55 */ bl __ct__6CColorFffff -/* 802B619C 002B30FC FC 20 E8 90 */ fmr f1, f29 -/* 802B61A0 002B3100 7C 64 1B 78 */ mr r4, r3 -/* 802B61A4 002B3104 FC 40 F0 90 */ fmr f2, f30 -/* 802B61A8 002B3108 80 BC 03 14 */ lwz r5, 0x314(r28) -/* 802B61AC 002B310C FC 60 F8 90 */ fmr f3, f31 -/* 802B61B0 002B3110 7F 83 E3 78 */ mr r3, r28 -/* 802B61B4 002B3114 7F C6 F3 78 */ mr r6, r30 -/* 802B61B8 002B3118 7F E7 FB 78 */ mr r7, r31 -/* 802B61BC 002B311C 48 00 00 85 */ bl ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor -/* 802B61C0 002B3120 48 00 00 14 */ b lbl_802B61D4 -lbl_802B61C4: -/* 802B61C4 002B3124 80 BC 03 14 */ lwz r5, 0x314(r28) -/* 802B61C8 002B3128 7F 83 E3 78 */ mr r3, r28 -/* 802B61CC 002B312C 7F A4 EB 78 */ mr r4, r29 -/* 802B61D0 002B3130 48 00 07 69 */ bl ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture -lbl_802B61D4: -/* 802B61D4 002B3134 80 7C 03 14 */ lwz r3, 0x314(r28) -/* 802B61D8 002B3138 48 05 87 45 */ bl UnLock__8CTextureFv -/* 802B61DC 002B313C 38 61 00 28 */ addi r3, r1, 0x28 -/* 802B61E0 002B3140 48 05 65 6D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802B61E4 002B3144 38 61 00 0C */ addi r3, r1, 0xc -/* 802B61E8 002B3148 48 05 3C 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802B61EC 002B314C 38 00 00 02 */ li r0, 2 -/* 802B61F0 002B3150 90 1C 03 10 */ stw r0, 0x310(r28) -lbl_802B61F4: -/* 802B61F4 002B3154 38 60 00 00 */ li r3, 0 -/* 802B61F8 002B3158 38 80 00 00 */ li r4, 0 -/* 802B61FC 002B315C 48 0C 5E E5 */ bl GXSetDstAlpha -lbl_802B6200: -/* 802B6200 002B3160 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802B6204 002B3164 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802B6208 002B3168 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 802B620C 002B316C CB C1 00 90 */ lfd f30, 0x90(r1) -/* 802B6210 002B3170 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 802B6214 002B3174 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 802B6218 002B3178 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 802B621C 002B317C CB 81 00 70 */ lfd f28, 0x70(r1) -/* 802B6220 002B3180 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802B6224 002B3184 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802B6228 002B3188 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 802B622C 002B318C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802B6230 002B3190 83 81 00 60 */ lwz r28, 0x60(r1) -/* 802B6234 002B3194 7C 08 03 A6 */ mtlr r0 -/* 802B6238 002B3198 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802B623C 002B319C 4E 80 00 20 */ blr - -.global ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor -ReallyDrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC8CTextureRC8CTextureRC6CColor: -/* 802B6240 002B31A0 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 802B6244 002B31A4 7C 08 02 A6 */ mflr r0 -/* 802B6248 002B31A8 90 01 01 64 */ stw r0, 0x164(r1) -/* 802B624C 002B31AC DB E1 01 50 */ stfd f31, 0x150(r1) -/* 802B6250 002B31B0 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 802B6254 002B31B4 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 802B6258 002B31B8 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 802B625C 002B31BC DB A1 01 30 */ stfd f29, 0x130(r1) -/* 802B6260 002B31C0 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 802B6264 002B31C4 BF 41 01 18 */ stmw r26, 0x118(r1) -/* 802B6268 002B31C8 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802B626C 002B31CC 7C 9D 23 78 */ mr r29, r4 -/* 802B6270 002B31D0 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 802B6274 002B31D4 FF A0 08 90 */ fmr f29, f1 -/* 802B6278 002B31D8 FF C0 10 90 */ fmr f30, f2 -/* 802B627C 002B31DC 83 E3 00 08 */ lwz r31, 8(r3) -/* 802B6280 002B31E0 7C BA 2B 78 */ mr r26, r5 -/* 802B6284 002B31E4 FF E0 18 90 */ fmr f31, f3 -/* 802B6288 002B31E8 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 802B628C 002B31EC 7C DB 33 78 */ mr r27, r6 -/* 802B6290 002B31F0 7C FC 3B 78 */ mr r28, r7 -/* 802B6294 002B31F4 38 61 00 5C */ addi r3, r1, 0x5c -/* 802B6298 002B31F8 38 80 00 00 */ li r4, 0 -/* 802B629C 002B31FC 38 A0 00 00 */ li r5, 0 -/* 802B62A0 002B3200 48 05 E0 AD */ bl __ct__9CVector2iFii -/* 802B62A4 002B3204 7F E4 FB 78 */ mr r4, r31 -/* 802B62A8 002B3208 7F C5 F3 78 */ mr r5, r30 -/* 802B62AC 002B320C 38 61 00 54 */ addi r3, r1, 0x54 -/* 802B62B0 002B3210 48 05 E0 9D */ bl __ct__9CVector2iFii -/* 802B62B4 002B3214 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B62B8 002B3218 38 61 00 4C */ addi r3, r1, 0x4c -/* 802B62BC 002B321C FC 40 08 90 */ fmr f2, f1 -/* 802B62C0 002B3220 48 05 DF 41 */ bl __ct__9CVector2fFff -/* 802B62C4 002B3224 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B62C8 002B3228 38 61 00 44 */ addi r3, r1, 0x44 -/* 802B62CC 002B322C FC 40 08 90 */ fmr f2, f1 -/* 802B62D0 002B3230 48 05 DF 31 */ bl __ct__9CVector2fFff -/* 802B62D4 002B3234 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B62D8 002B3238 38 81 00 54 */ addi r4, r1, 0x54 -/* 802B62DC 002B323C 38 A1 00 5C */ addi r5, r1, 0x5c -/* 802B62E0 002B3240 48 05 DF FD */ bl __mi__FRC9CVector2iRC9CVector2i -/* 802B62E4 002B3244 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 802B62E8 002B3248 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B62EC 002B324C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802B62F0 002B3250 38 81 00 3C */ addi r4, r1, 0x3c -/* 802B62F4 002B3254 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 802B62F8 002B3258 38 A0 00 02 */ li r5, 2 -/* 802B62FC 002B325C 90 01 00 40 */ stw r0, 0x40(r1) -/* 802B6300 002B3260 48 05 DF 4D */ bl __dv__FRC9CVector2ii -/* 802B6304 002B3264 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802B6308 002B3268 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802B630C 002B326C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802B6310 002B3270 2C 00 00 00 */ cmpwi r0, 0 -/* 802B6314 002B3274 90 61 00 34 */ stw r3, 0x34(r1) -/* 802B6318 002B3278 90 81 00 38 */ stw r4, 0x38(r1) -/* 802B631C 002B327C 40 81 05 F0 */ ble lbl_802B690C -/* 802B6320 002B3280 80 01 00 40 */ lwz r0, 0x40(r1) -/* 802B6324 002B3284 2C 00 00 00 */ cmpwi r0, 0 -/* 802B6328 002B3288 41 81 00 08 */ bgt lbl_802B6330 -/* 802B632C 002B328C 48 00 05 E0 */ b lbl_802B690C -lbl_802B6330: -/* 802B6330 002B3290 80 CD A8 28 */ lwz r6, lbl_805A93E8@sda21(r13) -/* 802B6334 002B3294 38 A0 00 04 */ li r5, 4 -/* 802B6338 002B3298 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802B633C 002B329C 48 05 3C E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B6340 002B32A0 7F 63 DB 78 */ mr r3, r27 -/* 802B6344 002B32A4 38 80 00 01 */ li r4, 1 -/* 802B6348 002B32A8 38 A0 00 01 */ li r5, 1 -/* 802B634C 002B32AC 48 05 93 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B6350 002B32B0 7F 43 D3 78 */ mr r3, r26 -/* 802B6354 002B32B4 38 80 00 02 */ li r4, 2 -/* 802B6358 002B32B8 38 A0 00 01 */ li r5, 1 -/* 802B635C 002B32BC 48 05 93 E1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B6360 002B32C0 38 60 00 00 */ li r3, 0 -/* 802B6364 002B32C4 38 80 00 0F */ li r4, 0xf -/* 802B6368 002B32C8 38 A0 00 0E */ li r5, 0xe -/* 802B636C 002B32CC 38 C0 00 08 */ li r6, 8 -/* 802B6370 002B32D0 38 E0 00 0F */ li r7, 0xf -/* 802B6374 002B32D4 48 05 28 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B6378 002B32D8 38 60 00 00 */ li r3, 0 -/* 802B637C 002B32DC 38 80 00 00 */ li r4, 0 -/* 802B6380 002B32E0 38 A0 00 00 */ li r5, 0 -/* 802B6384 002B32E4 38 C0 00 00 */ li r6, 0 -/* 802B6388 002B32E8 38 E0 00 01 */ li r7, 1 -/* 802B638C 002B32EC 39 00 00 00 */ li r8, 0 -/* 802B6390 002B32F0 48 05 27 A9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B6394 002B32F4 38 60 00 00 */ li r3, 0 -/* 802B6398 002B32F8 38 80 00 00 */ li r4, 0 -/* 802B639C 002B32FC 38 A0 00 04 */ li r5, 4 -/* 802B63A0 002B3300 38 C0 00 3C */ li r6, 0x3c -/* 802B63A4 002B3304 38 E0 00 00 */ li r7, 0 -/* 802B63A8 002B3308 39 00 00 7D */ li r8, 0x7d -/* 802B63AC 002B330C 48 05 23 21 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B63B0 002B3310 E0 3C A0 00 */ psq_l f1, 0(r28), 1, qr2 -/* 802B63B4 002B3314 E0 5C A0 03 */ psq_l f2, 3(r28), 1, qr2 -/* 802B63B8 002B3318 E0 BC A0 01 */ psq_l f5, 1(r28), 1, qr2 -/* 802B63BC 002B331C E1 1C A0 03 */ psq_l f8, 3(r28), 1, qr2 -/* 802B63C0 002B3320 E1 3C A0 02 */ psq_l f9, 2(r28), 1, qr2 -/* 802B63C4 002B3324 E1 5C A0 03 */ psq_l f10, 3(r28), 1, qr2 -/* 802B63C8 002B3328 E0 1C A0 03 */ psq_l f0, 3(r28), 1, qr2 -/* 802B63CC 002B332C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B63D0 002B3330 C0 62 C2 78 */ lfs f3, lbl_805ADF98@sda21(r2) -/* 802B63D4 002B3334 C0 82 C2 7C */ lfs f4, lbl_805ADF9C@sda21(r2) -/* 802B63D8 002B3338 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802B63DC 002B333C EC E3 00 72 */ fmuls f7, f3, f1 -/* 802B63E0 002B3340 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 802B63E4 002B3344 EC C3 01 72 */ fmuls f6, f3, f5 -/* 802B63E8 002B3348 EC 43 02 32 */ fmuls f2, f3, f8 -/* 802B63EC 002B334C EC A3 02 72 */ fmuls f5, f3, f9 -/* 802B63F0 002B3350 EC 63 02 B2 */ fmuls f3, f3, f10 -/* 802B63F4 002B3354 EC 27 00 72 */ fmuls f1, f7, f1 -/* 802B63F8 002B3358 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 802B63FC 002B335C EC 65 00 F2 */ fmuls f3, f5, f3 -/* 802B6400 002B3360 EC 84 00 32 */ fmuls f4, f4, f0 -/* 802B6404 002B3364 48 0A CF E9 */ bl __ct__6CColorFffff -/* 802B6408 002B3368 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B640C 002B336C 38 60 00 00 */ li r3, 0 -/* 802B6410 002B3370 48 05 28 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B6414 002B3374 38 60 00 00 */ li r3, 0 -/* 802B6418 002B3378 38 80 00 0C */ li r4, 0xc -/* 802B641C 002B337C 48 05 25 C5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802B6420 002B3380 38 60 00 01 */ li r3, 1 -/* 802B6424 002B3384 38 80 00 00 */ li r4, 0 -/* 802B6428 002B3388 38 A0 00 05 */ li r5, 5 -/* 802B642C 002B338C 38 C0 00 3C */ li r6, 0x3c -/* 802B6430 002B3390 38 E0 00 00 */ li r7, 0 -/* 802B6434 002B3394 39 00 00 7D */ li r8, 0x7d -/* 802B6438 002B3398 48 05 22 95 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B643C 002B339C 38 60 00 02 */ li r3, 2 -/* 802B6440 002B33A0 38 80 00 00 */ li r4, 0 -/* 802B6444 002B33A4 38 A0 00 06 */ li r5, 6 -/* 802B6448 002B33A8 38 C0 00 3C */ li r6, 0x3c -/* 802B644C 002B33AC 38 E0 00 00 */ li r7, 0 -/* 802B6450 002B33B0 39 00 00 7D */ li r8, 0x7d -/* 802B6454 002B33B4 48 05 22 79 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B6458 002B33B8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802B645C 002B33BC 38 60 00 00 */ li r3, 0 -/* 802B6460 002B33C0 38 80 00 00 */ li r4, 0 -/* 802B6464 002B33C4 38 C0 00 FF */ li r6, 0xff -/* 802B6468 002B33C8 48 05 24 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B646C 002B33CC 38 60 00 01 */ li r3, 1 -/* 802B6470 002B33D0 38 80 00 02 */ li r4, 2 -/* 802B6474 002B33D4 38 A0 00 02 */ li r5, 2 -/* 802B6478 002B33D8 38 C0 00 04 */ li r6, 4 -/* 802B647C 002B33DC 48 05 24 D1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B6480 002B33E0 38 60 00 01 */ li r3, 1 -/* 802B6484 002B33E4 38 80 00 0F */ li r4, 0xf -/* 802B6488 002B33E8 38 A0 00 09 */ li r5, 9 -/* 802B648C 002B33EC 38 C0 00 00 */ li r6, 0 -/* 802B6490 002B33F0 38 E0 00 0F */ li r7, 0xf -/* 802B6494 002B33F4 48 05 27 59 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B6498 002B33F8 38 60 00 01 */ li r3, 1 -/* 802B649C 002B33FC 38 80 00 00 */ li r4, 0 -/* 802B64A0 002B3400 38 A0 00 00 */ li r5, 0 -/* 802B64A4 002B3404 38 C0 00 00 */ li r6, 0 -/* 802B64A8 002B3408 38 E0 00 01 */ li r7, 1 -/* 802B64AC 002B340C 39 00 00 00 */ li r8, 0 -/* 802B64B0 002B3410 48 05 26 89 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B64B4 002B3414 38 60 00 01 */ li r3, 1 -/* 802B64B8 002B3418 38 80 00 1C */ li r4, 0x1c -/* 802B64BC 002B341C 48 05 24 E1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802B64C0 002B3420 38 60 00 01 */ li r3, 1 -/* 802B64C4 002B3424 38 80 00 07 */ li r4, 7 -/* 802B64C8 002B3428 38 A0 00 04 */ li r5, 4 -/* 802B64CC 002B342C 38 C0 00 06 */ li r6, 6 -/* 802B64D0 002B3430 38 E0 00 07 */ li r7, 7 -/* 802B64D4 002B3434 48 05 26 C1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B64D8 002B3438 38 60 00 01 */ li r3, 1 -/* 802B64DC 002B343C 38 80 00 00 */ li r4, 0 -/* 802B64E0 002B3440 38 A0 00 00 */ li r5, 0 -/* 802B64E4 002B3444 38 C0 00 00 */ li r6, 0 -/* 802B64E8 002B3448 38 E0 00 01 */ li r7, 1 -/* 802B64EC 002B344C 39 00 00 00 */ li r8, 0 -/* 802B64F0 002B3450 48 05 25 91 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B64F4 002B3454 38 60 00 00 */ li r3, 0 -/* 802B64F8 002B3458 38 80 00 00 */ li r4, 0 -/* 802B64FC 002B345C 38 A0 00 00 */ li r5, 0 -/* 802B6500 002B3460 38 C0 00 01 */ li r6, 1 -/* 802B6504 002B3464 38 E0 00 00 */ li r7, 0 -/* 802B6508 002B3468 39 00 00 00 */ li r8, 0 -/* 802B650C 002B346C 39 20 00 02 */ li r9, 2 -/* 802B6510 002B3470 48 05 27 BD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802B6514 002B3474 48 09 3A A1 */ bl Black__6CColorFv -/* 802B6518 002B3478 7C 64 1B 78 */ mr r4, r3 -/* 802B651C 002B347C 38 60 00 00 */ li r3, 0 -/* 802B6520 002B3480 48 05 28 A5 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802B6524 002B3484 FC 60 E8 90 */ fmr f3, f29 -/* 802B6528 002B3488 C0 42 C2 80 */ lfs f2, lbl_805ADFA0@sda21(r2) -/* 802B652C 002B348C C0 02 C2 84 */ lfs f0, lbl_805ADFA4@sda21(r2) -/* 802B6530 002B3490 38 A0 00 01 */ li r5, 1 -/* 802B6534 002B3494 48 00 00 0C */ b lbl_802B6540 -lbl_802B6538: -/* 802B6538 002B3498 EC 63 00 B2 */ fmuls f3, f3, f2 -/* 802B653C 002B349C 38 A5 00 01 */ addi r5, r5, 1 -lbl_802B6540: -/* 802B6540 002B34A0 FC 20 1A 10 */ fabs f1, f3 -/* 802B6544 002B34A4 FC 20 08 18 */ frsp f1, f1 -/* 802B6548 002B34A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802B654C 002B34AC 4C 41 13 82 */ cror 2, 1, 2 -/* 802B6550 002B34B0 41 82 FF E8 */ beq lbl_802B6538 -/* 802B6554 002B34B4 C0 42 C2 88 */ lfs f2, lbl_805ADFA8@sda21(r2) -/* 802B6558 002B34B8 C0 02 C2 8C */ lfs f0, lbl_805ADFAC@sda21(r2) -/* 802B655C 002B34BC 48 00 00 0C */ b lbl_802B6568 -lbl_802B6560: -/* 802B6560 002B34C0 EC 63 00 B2 */ fmuls f3, f3, f2 -/* 802B6564 002B34C4 38 A5 FF FF */ addi r5, r5, -1 -lbl_802B6568: -/* 802B6568 002B34C8 FC 20 1A 10 */ fabs f1, f3 -/* 802B656C 002B34CC FC 20 08 18 */ frsp f1, f1 -/* 802B6570 002B34D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802B6574 002B34D4 41 80 FF EC */ blt lbl_802B6560 -/* 802B6578 002B34D8 3C 60 80 3D */ lis r3, lbl_803D6814@ha -/* 802B657C 002B34DC EC 3E 00 F2 */ fmuls f1, f30, f3 -/* 802B6580 002B34E0 39 23 68 14 */ addi r9, r3, lbl_803D6814@l -/* 802B6584 002B34E4 EC 1F 00 F2 */ fmuls f0, f31, f3 -/* 802B6588 002B34E8 81 09 00 00 */ lwz r8, 0(r9) -/* 802B658C 002B34EC 38 81 00 80 */ addi r4, r1, 0x80 -/* 802B6590 002B34F0 80 E9 00 08 */ lwz r7, 8(r9) -/* 802B6594 002B34F4 80 C9 00 10 */ lwz r6, 0x10(r9) -/* 802B6598 002B34F8 7C A5 07 74 */ extsb r5, r5 -/* 802B659C 002B34FC 80 09 00 14 */ lwz r0, 0x14(r9) -/* 802B65A0 002B3500 38 60 00 01 */ li r3, 1 -/* 802B65A4 002B3504 91 01 00 80 */ stw r8, 0x80(r1) -/* 802B65A8 002B3508 81 09 00 04 */ lwz r8, 4(r9) -/* 802B65AC 002B350C 90 E1 00 88 */ stw r7, 0x88(r1) -/* 802B65B0 002B3510 80 E9 00 0C */ lwz r7, 0xc(r9) -/* 802B65B4 002B3514 90 C1 00 90 */ stw r6, 0x90(r1) -/* 802B65B8 002B3518 90 01 00 94 */ stw r0, 0x94(r1) -/* 802B65BC 002B351C 91 01 00 84 */ stw r8, 0x84(r1) -/* 802B65C0 002B3520 90 E1 00 8C */ stw r7, 0x8c(r1) -/* 802B65C4 002B3524 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 802B65C8 002B3528 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802B65CC 002B352C D0 61 00 90 */ stfs f3, 0x90(r1) -/* 802B65D0 002B3530 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 802B65D4 002B3534 48 0C 48 F5 */ bl GXSetIndTexMtx -/* 802B65D8 002B3538 38 60 00 00 */ li r3, 0 -/* 802B65DC 002B353C 38 80 00 01 */ li r4, 1 -/* 802B65E0 002B3540 38 A0 00 01 */ li r5, 1 -/* 802B65E4 002B3544 48 0C 4B C1 */ bl GXSetIndTexOrder -/* 802B65E8 002B3548 38 00 00 00 */ li r0, 0 -/* 802B65EC 002B354C 38 60 00 00 */ li r3, 0 -/* 802B65F0 002B3550 90 01 00 08 */ stw r0, 8(r1) -/* 802B65F4 002B3554 38 80 00 00 */ li r4, 0 -/* 802B65F8 002B3558 38 A0 00 00 */ li r5, 0 -/* 802B65FC 002B355C 38 C0 00 07 */ li r6, 7 -/* 802B6600 002B3560 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B6604 002B3564 38 E0 00 01 */ li r7, 1 -/* 802B6608 002B3568 39 00 00 00 */ li r8, 0 -/* 802B660C 002B356C 39 20 00 00 */ li r9, 0 -/* 802B6610 002B3570 39 40 00 00 */ li r10, 0 -/* 802B6614 002B3574 48 05 21 79 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 802B6618 002B3578 38 60 00 01 */ li r3, 1 -/* 802B661C 002B357C 48 05 20 75 */ bl SetNumIndStages__3CGXFUc -/* 802B6620 002B3580 38 60 00 02 */ li r3, 2 -/* 802B6624 002B3584 48 05 26 6D */ bl SetNumTevStages__3CGXFUc -/* 802B6628 002B3588 38 60 00 03 */ li r3, 3 -/* 802B662C 002B358C 48 05 27 E9 */ bl SetNumTexGens__3CGXFUc -/* 802B6630 002B3590 38 60 00 01 */ li r3, 1 -/* 802B6634 002B3594 48 05 28 1D */ bl SetNumChans__3CGXFUc -/* 802B6638 002B3598 38 60 00 01 */ li r3, 1 -/* 802B663C 002B359C 38 80 00 01 */ li r4, 1 -/* 802B6640 002B35A0 38 A0 00 05 */ li r5, 5 -/* 802B6644 002B35A4 38 C0 00 00 */ li r6, 0 -/* 802B6648 002B35A8 48 05 22 89 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B664C 002B35AC 3C 60 80 3D */ lis r3, lbl_803D682C@ha -/* 802B6650 002B35B0 38 63 68 2C */ addi r3, r3, lbl_803D682C@l -/* 802B6654 002B35B4 48 05 17 D5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802B6658 002B35B8 48 05 38 05 */ bl GetProjectionState__9CGraphicsFv -/* 802B665C 002B35BC 88 03 00 00 */ lbz r0, 0(r3) -/* 802B6660 002B35C0 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B6664 002B35C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802B6668 002B35C8 98 01 00 64 */ stb r0, 0x64(r1) -/* 802B666C 002B35CC C0 03 00 04 */ lfs f0, 4(r3) -/* 802B6670 002B35D0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802B6674 002B35D4 C0 03 00 08 */ lfs f0, 8(r3) -/* 802B6678 002B35D8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 802B667C 002B35DC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802B6680 002B35E0 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802B6684 002B35E4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802B6688 002B35E8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802B668C 002B35EC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802B6690 002B35F0 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802B6694 002B35F4 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802B6698 002B35F8 38 61 00 98 */ addi r3, r1, 0x98 -/* 802B669C 002B35FC D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802B66A0 002B3600 48 05 C4 D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B66A4 002B3604 3C 60 43 30 */ lis r3, 0x4330 -/* 802B66A8 002B3608 6F E4 80 00 */ xoris r4, r31, 0x8000 -/* 802B66AC 002B360C 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 802B66B0 002B3610 90 81 00 CC */ stw r4, 0xcc(r1) -/* 802B66B4 002B3614 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B66B8 002B3618 90 61 00 C8 */ stw r3, 0xc8(r1) -/* 802B66BC 002B361C C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802B66C0 002B3620 FC 60 08 90 */ fmr f3, f1 -/* 802B66C4 002B3624 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802B66C8 002B3628 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802B66CC 002B362C EC 40 20 28 */ fsubs f2, f0, f4 -/* 802B66D0 002B3630 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) -/* 802B66D4 002B3634 90 61 00 D0 */ stw r3, 0xd0(r1) -/* 802B66D8 002B3638 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) -/* 802B66DC 002B363C C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 802B66E0 002B3640 EC 80 20 28 */ fsubs f4, f0, f4 -/* 802B66E4 002B3644 48 05 5E 71 */ bl SetOrtho__9CGraphicsFffffff -/* 802B66E8 002B3648 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802B66EC 002B364C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802B66F0 002B3650 48 05 60 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802B66F4 002B3654 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802B66F8 002B3658 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802B66FC 002B365C 48 05 5E E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B6700 002B3660 38 60 00 00 */ li r3, 0 -/* 802B6704 002B3664 38 80 00 07 */ li r4, 7 -/* 802B6708 002B3668 38 A0 00 00 */ li r5, 0 -/* 802B670C 002B366C 48 05 21 71 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B6710 002B3670 38 60 00 00 */ li r3, 0 -/* 802B6714 002B3674 48 0C 24 45 */ bl GXSetCullMode -/* 802B6718 002B3678 38 60 00 01 */ li r3, 1 -/* 802B671C 002B367C 38 80 00 00 */ li r4, 0 -/* 802B6720 002B3680 48 0C 59 C1 */ bl GXSetDstAlpha -/* 802B6724 002B3684 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B6728 002B3688 38 61 00 2C */ addi r3, r1, 0x2c -/* 802B672C 002B368C 83 BD 00 00 */ lwz r29, 0(r29) -/* 802B6730 002B3690 FC 40 08 90 */ fmr f2, f1 -/* 802B6734 002B3694 48 05 DA CD */ bl __ct__9CVector2fFff -/* 802B6738 002B3698 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B673C 002B369C 38 61 00 24 */ addi r3, r1, 0x24 -/* 802B6740 002B36A0 FC 40 08 90 */ fmr f2, f1 -/* 802B6744 002B36A4 48 05 DA BD */ bl __ct__9CVector2fFff -/* 802B6748 002B36A8 38 60 00 A0 */ li r3, 0xa0 -/* 802B674C 002B36AC 38 80 00 00 */ li r4, 0 -/* 802B6750 002B36B0 38 A0 00 04 */ li r5, 4 -/* 802B6754 002B36B4 48 05 1E 31 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B6758 002B36B8 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 802B675C 002B36BC 3C 80 43 30 */ lis r4, 0x4330 -/* 802B6760 002B36C0 90 81 00 D8 */ stw r4, 0xd8(r1) -/* 802B6764 002B36C4 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B6768 002B36C8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802B676C 002B36CC C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) -/* 802B6770 002B36D0 90 01 00 DC */ stw r0, 0xdc(r1) -/* 802B6774 002B36D4 C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) -/* 802B6778 002B36D8 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802B677C 002B36DC 90 81 00 E0 */ stw r4, 0xe0(r1) -/* 802B6780 002B36E0 EC 00 38 28 */ fsubs f0, f0, f7 -/* 802B6784 002B36E4 C0 A2 C2 98 */ lfs f5, lbl_805ADFB8@sda21(r2) -/* 802B6788 002B36E8 90 01 00 EC */ stw r0, 0xec(r1) -/* 802B678C 002B36EC C0 82 C2 84 */ lfs f4, lbl_805ADFA4@sda21(r2) -/* 802B6790 002B36F0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6794 002B36F4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B6798 002B36F8 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802B679C 002B36FC 90 81 00 E8 */ stw r4, 0xe8(r1) -/* 802B67A0 002B3700 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802B67A4 002B3704 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802B67A8 002B3708 C8 01 00 E8 */ lfd f0, 0xe8(r1) -/* 802B67AC 002B370C C8 41 00 E0 */ lfd f2, 0xe0(r1) -/* 802B67B0 002B3710 EC 20 38 28 */ fsubs f1, f0, f7 -/* 802B67B4 002B3714 90 81 00 F0 */ stw r4, 0xf0(r1) -/* 802B67B8 002B3718 EC 02 38 28 */ fsubs f0, f2, f7 -/* 802B67BC 002B371C 90 81 00 F8 */ stw r4, 0xf8(r1) -/* 802B67C0 002B3720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B67C4 002B3724 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) -/* 802B67C8 002B3728 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B67CC 002B372C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B67D0 002B3730 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802B67D4 002B3734 90 81 01 00 */ stw r4, 0x100(r1) -/* 802B67D8 002B3738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B67DC 002B373C C1 41 00 50 */ lfs f10, 0x50(r1) -/* 802B67E0 002B3740 90 81 01 08 */ stw r4, 0x108(r1) -/* 802B67E4 002B3744 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) -/* 802B67E8 002B3748 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802B67EC 002B374C 90 01 01 14 */ stw r0, 0x114(r1) -/* 802B67F0 002B3750 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B67F4 002B3754 C1 61 00 30 */ lfs f11, 0x30(r1) -/* 802B67F8 002B3758 90 81 01 10 */ stw r4, 0x110(r1) -/* 802B67FC 002B375C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 802B6800 002B3760 C8 01 01 10 */ lfd f0, 0x110(r1) -/* 802B6804 002B3764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6808 002B3768 EC 00 38 28 */ fsubs f0, f0, f7 -/* 802B680C 002B376C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B6810 002B3770 80 01 00 58 */ lwz r0, 0x58(r1) -/* 802B6814 002B3774 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802B6818 002B3778 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802B681C 002B377C C8 21 00 F0 */ lfd f1, 0xf0(r1) -/* 802B6820 002B3780 90 01 01 04 */ stw r0, 0x104(r1) -/* 802B6824 002B3784 EC 41 38 28 */ fsubs f2, f1, f7 -/* 802B6828 002B3788 C8 21 01 00 */ lfd f1, 0x100(r1) -/* 802B682C 002B378C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6830 002B3790 EC 41 38 28 */ fsubs f2, f1, f7 -/* 802B6834 002B3794 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) -/* 802B6838 002B3798 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B683C 002B379C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B6840 002B37A0 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 802B6844 002B37A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6848 002B37A8 C1 01 00 48 */ lfs f8, 0x48(r1) -/* 802B684C 002B37AC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802B6850 002B37B0 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802B6854 002B37B4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6858 002B37B8 C1 21 00 28 */ lfs f9, 0x28(r1) -/* 802B685C 002B37BC D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 802B6860 002B37C0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802B6864 002B37C4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802B6868 002B37C8 90 01 00 FC */ stw r0, 0xfc(r1) -/* 802B686C 002B37CC C8 21 00 F8 */ lfd f1, 0xf8(r1) -/* 802B6870 002B37D0 90 01 01 0C */ stw r0, 0x10c(r1) -/* 802B6874 002B37D4 EC 61 38 28 */ fsubs f3, f1, f7 -/* 802B6878 002B37D8 C8 21 01 08 */ lfd f1, 0x108(r1) -/* 802B687C 002B37DC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802B6880 002B37E0 EC 21 38 28 */ fsubs f1, f1, f7 -/* 802B6884 002B37E4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B6888 002B37E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B688C 002B37EC 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) -/* 802B6890 002B37F0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B6894 002B37F4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B6898 002B37F8 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 802B689C 002B37FC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B68A0 002B3800 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802B68A4 002B3804 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 802B68A8 002B3808 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B68AC 002B380C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 802B68B0 002B3810 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B68B4 002B3814 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802B68B8 002B3818 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B68BC 002B381C 93 A3 80 00 */ stw r29, 0xCC008000@l(r3) -/* 802B68C0 002B3820 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802B68C4 002B3824 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802B68C8 002B3828 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802B68CC 002B382C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B68D0 002B3830 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) -/* 802B68D4 002B3834 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802B68D8 002B3838 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B68DC 002B383C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 802B68E0 002B3840 48 05 1C A1 */ bl End__3CGXFv -/* 802B68E4 002B3844 38 60 00 01 */ li r3, 1 -/* 802B68E8 002B3848 48 0C 22 71 */ bl GXSetCullMode -/* 802B68EC 002B384C 38 60 00 00 */ li r3, 0 -/* 802B68F0 002B3850 48 05 1E 55 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802B68F4 002B3854 38 60 00 00 */ li r3, 0 -/* 802B68F8 002B3858 48 05 1D 99 */ bl SetNumIndStages__3CGXFUc -/* 802B68FC 002B385C 38 61 00 64 */ addi r3, r1, 0x64 -/* 802B6900 002B3860 48 05 35 01 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802B6904 002B3864 38 61 00 98 */ addi r3, r1, 0x98 -/* 802B6908 002B3868 48 05 5E 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -lbl_802B690C: -/* 802B690C 002B386C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 802B6910 002B3870 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 802B6914 002B3874 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 802B6918 002B3878 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 802B691C 002B387C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 802B6920 002B3880 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 802B6924 002B3884 BB 41 01 18 */ lmw r26, 0x118(r1) -/* 802B6928 002B3888 80 01 01 64 */ lwz r0, 0x164(r1) -/* 802B692C 002B388C 7C 08 03 A6 */ mtlr r0 -/* 802B6930 002B3890 38 21 01 60 */ addi r1, r1, 0x160 -/* 802B6934 002B3894 4E 80 00 20 */ blr - -.global ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture -ReallyDrawPhazonSuitEffect__13CCubeRendererFRC6CColorRC8CTexture: -/* 802B6938 002B3898 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B693C 002B389C 7C 08 02 A6 */ mflr r0 -/* 802B6940 002B38A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B6944 002B38A4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802B6948 002B38A8 7C 9F 23 78 */ mr r31, r4 -/* 802B694C 002B38AC 80 82 C7 A8 */ lwz r4, lbl_805AE4C8@sda21(r2) -/* 802B6950 002B38B0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802B6954 002B38B4 7C 7E 1B 78 */ mr r30, r3 -/* 802B6958 002B38B8 7C A3 2B 78 */ mr r3, r5 -/* 802B695C 002B38BC 38 A0 00 01 */ li r5, 1 -/* 802B6960 002B38C0 48 05 8D DD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B6964 002B38C4 3C 80 80 3D */ lis r4, lbl_803D67F4@ha -/* 802B6968 002B38C8 38 61 00 08 */ addi r3, r1, 8 -/* 802B696C 002B38CC 39 64 67 F4 */ addi r11, r4, lbl_803D67F4@l -/* 802B6970 002B38D0 81 4B 00 00 */ lwz r10, 0(r11) -/* 802B6974 002B38D4 81 2B 00 04 */ lwz r9, 4(r11) -/* 802B6978 002B38D8 81 0B 00 08 */ lwz r8, 8(r11) -/* 802B697C 002B38DC 80 EB 00 0C */ lwz r7, 0xc(r11) -/* 802B6980 002B38E0 80 CB 00 10 */ lwz r6, 0x10(r11) -/* 802B6984 002B38E4 80 AB 00 14 */ lwz r5, 0x14(r11) -/* 802B6988 002B38E8 80 8B 00 18 */ lwz r4, 0x18(r11) -/* 802B698C 002B38EC 80 0B 00 1C */ lwz r0, 0x1c(r11) -/* 802B6990 002B38F0 91 41 00 08 */ stw r10, 8(r1) -/* 802B6994 002B38F4 91 21 00 0C */ stw r9, 0xc(r1) -/* 802B6998 002B38F8 91 01 00 10 */ stw r8, 0x10(r1) -/* 802B699C 002B38FC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802B69A0 002B3900 90 C1 00 18 */ stw r6, 0x18(r1) -/* 802B69A4 002B3904 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 802B69A8 002B3908 90 81 00 20 */ stw r4, 0x20(r1) -/* 802B69AC 002B390C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B69B0 002B3910 48 05 14 79 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802B69B4 002B3914 7F C3 F3 78 */ mr r3, r30 -/* 802B69B8 002B3918 81 9E 00 00 */ lwz r12, 0(r30) -/* 802B69BC 002B391C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802B69C0 002B3920 7D 89 03 A6 */ mtctr r12 -/* 802B69C4 002B3924 4E 80 04 21 */ bctrl -/* 802B69C8 002B3928 38 60 00 01 */ li r3, 1 -/* 802B69CC 002B392C 48 05 24 85 */ bl SetNumChans__3CGXFUc -/* 802B69D0 002B3930 38 60 00 01 */ li r3, 1 -/* 802B69D4 002B3934 48 05 24 41 */ bl SetNumTexGens__3CGXFUc -/* 802B69D8 002B3938 38 60 00 01 */ li r3, 1 -/* 802B69DC 002B393C 48 05 22 B5 */ bl SetNumTevStages__3CGXFUc -/* 802B69E0 002B3940 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802B69E4 002B3944 38 60 00 00 */ li r3, 0 -/* 802B69E8 002B3948 38 80 00 00 */ li r4, 0 -/* 802B69EC 002B394C 38 C0 00 04 */ li r6, 4 -/* 802B69F0 002B3950 48 05 1F 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B69F4 002B3954 38 60 00 00 */ li r3, 0 -/* 802B69F8 002B3958 38 80 00 0F */ li r4, 0xf -/* 802B69FC 002B395C 38 A0 00 09 */ li r5, 9 -/* 802B6A00 002B3960 38 C0 00 0A */ li r6, 0xa -/* 802B6A04 002B3964 38 E0 00 0F */ li r7, 0xf -/* 802B6A08 002B3968 48 05 21 E5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B6A0C 002B396C 38 60 00 00 */ li r3, 0 -/* 802B6A10 002B3970 38 80 00 00 */ li r4, 0 -/* 802B6A14 002B3974 38 A0 00 00 */ li r5, 0 -/* 802B6A18 002B3978 38 C0 00 00 */ li r6, 0 -/* 802B6A1C 002B397C 38 E0 00 01 */ li r7, 1 -/* 802B6A20 002B3980 39 00 00 00 */ li r8, 0 -/* 802B6A24 002B3984 48 05 21 15 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B6A28 002B3988 38 60 00 00 */ li r3, 0 -/* 802B6A2C 002B398C 38 80 00 07 */ li r4, 7 -/* 802B6A30 002B3990 38 A0 00 04 */ li r5, 4 -/* 802B6A34 002B3994 38 C0 00 05 */ li r6, 5 -/* 802B6A38 002B3998 38 E0 00 07 */ li r7, 7 -/* 802B6A3C 002B399C 48 05 21 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B6A40 002B39A0 38 60 00 00 */ li r3, 0 -/* 802B6A44 002B39A4 38 80 00 00 */ li r4, 0 -/* 802B6A48 002B39A8 38 A0 00 00 */ li r5, 0 -/* 802B6A4C 002B39AC 38 C0 00 00 */ li r6, 0 -/* 802B6A50 002B39B0 38 E0 00 01 */ li r7, 1 -/* 802B6A54 002B39B4 39 00 00 00 */ li r8, 0 -/* 802B6A58 002B39B8 48 05 20 29 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B6A5C 002B39BC 38 60 00 00 */ li r3, 0 -/* 802B6A60 002B39C0 38 80 00 00 */ li r4, 0 -/* 802B6A64 002B39C4 38 A0 00 00 */ li r5, 0 -/* 802B6A68 002B39C8 38 C0 00 01 */ li r6, 1 -/* 802B6A6C 002B39CC 38 E0 00 00 */ li r7, 0 -/* 802B6A70 002B39D0 39 00 00 00 */ li r8, 0 -/* 802B6A74 002B39D4 39 20 00 02 */ li r9, 2 -/* 802B6A78 002B39D8 48 05 22 55 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802B6A7C 002B39DC 38 60 00 01 */ li r3, 1 -/* 802B6A80 002B39E0 38 80 00 01 */ li r4, 1 -/* 802B6A84 002B39E4 38 A0 00 01 */ li r5, 1 -/* 802B6A88 002B39E8 38 C0 00 00 */ li r6, 0 -/* 802B6A8C 002B39EC 48 05 1E 45 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B6A90 002B39F0 38 60 00 07 */ li r3, 7 -/* 802B6A94 002B39F4 38 80 00 00 */ li r4, 0 -/* 802B6A98 002B39F8 38 A0 00 01 */ li r5, 1 -/* 802B6A9C 002B39FC 38 C0 00 07 */ li r6, 7 -/* 802B6AA0 002B3A00 38 E0 00 00 */ li r7, 0 -/* 802B6AA4 002B3A04 48 05 1D 71 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B6AA8 002B3A08 48 09 35 0D */ bl Black__6CColorFv -/* 802B6AAC 002B3A0C 7C 64 1B 78 */ mr r4, r3 -/* 802B6AB0 002B3A10 38 60 00 00 */ li r3, 0 -/* 802B6AB4 002B3A14 48 05 23 11 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802B6AB8 002B3A18 38 60 00 01 */ li r3, 1 -/* 802B6ABC 002B3A1C 38 80 00 00 */ li r4, 0 -/* 802B6AC0 002B3A20 48 0C 56 21 */ bl GXSetDstAlpha -/* 802B6AC4 002B3A24 38 60 00 01 */ li r3, 1 -/* 802B6AC8 002B3A28 48 0C 54 39 */ bl GXSetColorUpdate -/* 802B6ACC 002B3A2C 83 FF 00 00 */ lwz r31, 0(r31) -/* 802B6AD0 002B3A30 38 60 00 98 */ li r3, 0x98 -/* 802B6AD4 002B3A34 38 80 00 00 */ li r4, 0 -/* 802B6AD8 002B3A38 38 A0 00 04 */ li r5, 4 -/* 802B6ADC 002B3A3C 48 05 1A A9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B6AE0 002B3A40 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B6AE4 002B3A44 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B6AE8 002B3A48 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802B6AEC 002B3A4C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6AF0 002B3A50 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6AF4 002B3A54 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6AF8 002B3A58 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) -/* 802B6AFC 002B3A5C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B00 002B3A60 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B04 002B3A64 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B08 002B3A68 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B0C 002B3A6C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B10 002B3A70 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) -/* 802B6B14 002B3A74 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B18 002B3A78 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B1C 002B3A7C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B20 002B3A80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B24 002B3A84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B28 002B3A88 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) -/* 802B6B2C 002B3A8C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B30 002B3A90 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B34 002B3A94 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B38 002B3A98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B3C 002B3A9C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B40 002B3AA0 93 E3 80 00 */ stw r31, 0xCC008000@l(r3) -/* 802B6B44 002B3AA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6B48 002B3AA8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6B4C 002B3AAC 48 05 1A 35 */ bl End__3CGXFv -/* 802B6B50 002B3AB0 38 60 00 01 */ li r3, 1 -/* 802B6B54 002B3AB4 38 80 00 03 */ li r4, 3 -/* 802B6B58 002B3AB8 38 A0 00 01 */ li r5, 1 -/* 802B6B5C 002B3ABC 48 05 4F 39 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802B6B60 002B3AC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B6B64 002B3AC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802B6B68 002B3AC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802B6B6C 002B3ACC 7C 08 03 A6 */ mtlr r0 -/* 802B6B70 002B3AD0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B6B74 002B3AD4 4E 80 00 20 */ blr - -.global DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff -DoPhazonSuitIndirectAlphaBlur__13CCubeRendererFff: -/* 802B6B78 002B3AD8 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802B6B7C 002B3ADC 7C 08 02 A6 */ mflr r0 -/* 802B6B80 002B3AE0 90 01 01 14 */ stw r0, 0x114(r1) -/* 802B6B84 002B3AE4 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802B6B88 002B3AE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802B6B8C 002B3AEC DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802B6B90 002B3AF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802B6B94 002B3AF4 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 802B6B98 002B3AF8 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 802B6B9C 002B3AFC DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 802B6BA0 002B3B00 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 802B6BA4 002B3B04 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 802B6BA8 002B3B08 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 802B6BAC 002B3B0C BE A1 00 94 */ stmw r21, 0x94(r1) -/* 802B6BB0 002B3B10 FF 60 08 90 */ fmr f27, f1 -/* 802B6BB4 002B3B14 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B6BB8 002B3B18 FF C0 10 90 */ fmr f30, f2 -/* 802B6BBC 002B3B1C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802B6BC0 002B3B20 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 802B6BC4 002B3B24 FC 80 08 90 */ fmr f4, f1 -/* 802B6BC8 002B3B28 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 802B6BCC 002B3B2C FC 60 10 90 */ fmr f3, f2 -/* 802B6BD0 002B3B30 FC C0 10 90 */ fmr f6, f2 -/* 802B6BD4 002B3B34 83 A4 00 08 */ lwz r29, 8(r4) -/* 802B6BD8 002B3B38 83 E4 00 0C */ lwz r31, 0xc(r4) -/* 802B6BDC 002B3B3C 7C 7C 1B 78 */ mr r28, r3 -/* 802B6BE0 002B3B40 C0 A2 C2 A8 */ lfs f5, lbl_805ADFC8@sda21(r2) -/* 802B6BE4 002B3B44 48 05 59 71 */ bl SetOrtho__9CGraphicsFffffff -/* 802B6BE8 002B3B48 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802B6BEC 002B3B4C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802B6BF0 002B3B50 48 05 5B 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802B6BF4 002B3B54 81 9C 00 00 */ lwz r12, 0(r28) -/* 802B6BF8 002B3B58 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802B6BFC 002B3B5C 7F 83 E3 78 */ mr r3, r28 -/* 802B6C00 002B3B60 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 802B6C04 002B3B64 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802B6C08 002B3B68 7D 89 03 A6 */ mtctr r12 -/* 802B6C0C 002B3B6C 4E 80 04 21 */ bctrl -/* 802B6C10 002B3B70 38 60 00 00 */ li r3, 0 -/* 802B6C14 002B3B74 38 80 00 06 */ li r4, 6 -/* 802B6C18 002B3B78 38 A0 00 00 */ li r5, 0 -/* 802B6C1C 002B3B7C 48 05 4E 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802B6C20 002B3B80 38 60 00 08 */ li r3, 8 -/* 802B6C24 002B3B84 48 00 08 31 */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B6C28 002B3B88 7C 66 1B 78 */ mr r6, r3 -/* 802B6C2C 002B3B8C 7F 83 E3 78 */ mr r3, r28 -/* 802B6C30 002B3B90 38 80 00 01 */ li r4, 1 -/* 802B6C34 002B3B94 38 A0 00 01 */ li r5, 1 -/* 802B6C38 002B3B98 38 E0 00 27 */ li r7, 0x27 -/* 802B6C3C 002B3B9C 39 00 00 01 */ li r8, 1 -/* 802B6C40 002B3BA0 48 00 07 0D */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb -/* 802B6C44 002B3BA4 38 60 00 01 */ li r3, 1 -/* 802B6C48 002B3BA8 38 80 00 00 */ li r4, 0 -/* 802B6C4C 002B3BAC 48 0C 54 95 */ bl GXSetDstAlpha -/* 802B6C50 002B3BB0 38 60 00 08 */ li r3, 8 -/* 802B6C54 002B3BB4 48 00 08 01 */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B6C58 002B3BB8 57 A4 0F FE */ srwi r4, r29, 0x1f -/* 802B6C5C 002B3BBC 57 E0 0F FE */ srwi r0, r31, 0x1f -/* 802B6C60 002B3BC0 7C 84 EA 14 */ add r4, r4, r29 -/* 802B6C64 002B3BC4 7C 66 1B 78 */ mr r6, r3 -/* 802B6C68 002B3BC8 7C 83 0E 70 */ srawi r3, r4, 1 -/* 802B6C6C 002B3BCC 7C 00 FA 14 */ add r0, r0, r31 -/* 802B6C70 002B3BD0 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802B6C74 002B3BD4 7C 04 0E 70 */ srawi r4, r0, 1 -/* 802B6C78 002B3BD8 38 A0 00 01 */ li r5, 1 -/* 802B6C7C 002B3BDC 48 05 33 A5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B6C80 002B3BE0 3C 80 80 3D */ lis r4, lbl_803D6794@ha -/* 802B6C84 002B3BE4 38 61 00 24 */ addi r3, r1, 0x24 -/* 802B6C88 002B3BE8 39 64 67 94 */ addi r11, r4, lbl_803D6794@l -/* 802B6C8C 002B3BEC 81 4B 00 00 */ lwz r10, 0(r11) -/* 802B6C90 002B3BF0 81 2B 00 04 */ lwz r9, 4(r11) -/* 802B6C94 002B3BF4 81 0B 00 08 */ lwz r8, 8(r11) -/* 802B6C98 002B3BF8 80 EB 00 0C */ lwz r7, 0xc(r11) -/* 802B6C9C 002B3BFC 80 CB 00 10 */ lwz r6, 0x10(r11) -/* 802B6CA0 002B3C00 80 AB 00 14 */ lwz r5, 0x14(r11) -/* 802B6CA4 002B3C04 80 8B 00 18 */ lwz r4, 0x18(r11) -/* 802B6CA8 002B3C08 80 0B 00 1C */ lwz r0, 0x1c(r11) -/* 802B6CAC 002B3C0C 91 41 00 24 */ stw r10, 0x24(r1) -/* 802B6CB0 002B3C10 91 21 00 28 */ stw r9, 0x28(r1) -/* 802B6CB4 002B3C14 91 01 00 2C */ stw r8, 0x2c(r1) -/* 802B6CB8 002B3C18 90 E1 00 30 */ stw r7, 0x30(r1) -/* 802B6CBC 002B3C1C 90 C1 00 34 */ stw r6, 0x34(r1) -/* 802B6CC0 002B3C20 90 A1 00 38 */ stw r5, 0x38(r1) -/* 802B6CC4 002B3C24 90 81 00 3C */ stw r4, 0x3c(r1) -/* 802B6CC8 002B3C28 90 01 00 40 */ stw r0, 0x40(r1) -/* 802B6CCC 002B3C2C 48 05 11 5D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802B6CD0 002B3C30 38 60 00 01 */ li r3, 1 -/* 802B6CD4 002B3C34 48 05 21 7D */ bl SetNumChans__3CGXFUc -/* 802B6CD8 002B3C38 38 60 00 01 */ li r3, 1 -/* 802B6CDC 002B3C3C 48 05 21 39 */ bl SetNumTexGens__3CGXFUc -/* 802B6CE0 002B3C40 38 60 00 01 */ li r3, 1 -/* 802B6CE4 002B3C44 48 05 1F AD */ bl SetNumTevStages__3CGXFUc -/* 802B6CE8 002B3C48 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802B6CEC 002B3C4C 38 60 00 00 */ li r3, 0 -/* 802B6CF0 002B3C50 38 80 00 00 */ li r4, 0 -/* 802B6CF4 002B3C54 38 C0 00 04 */ li r6, 4 -/* 802B6CF8 002B3C58 48 05 1C 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B6CFC 002B3C5C 38 60 00 00 */ li r3, 0 -/* 802B6D00 002B3C60 38 80 00 0F */ li r4, 0xf -/* 802B6D04 002B3C64 38 A0 00 09 */ li r5, 9 -/* 802B6D08 002B3C68 38 C0 00 0A */ li r6, 0xa -/* 802B6D0C 002B3C6C 38 E0 00 0F */ li r7, 0xf -/* 802B6D10 002B3C70 48 05 1E DD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B6D14 002B3C74 38 60 00 00 */ li r3, 0 -/* 802B6D18 002B3C78 38 80 00 00 */ li r4, 0 -/* 802B6D1C 002B3C7C 38 A0 00 00 */ li r5, 0 -/* 802B6D20 002B3C80 38 C0 00 00 */ li r6, 0 -/* 802B6D24 002B3C84 38 E0 00 01 */ li r7, 1 -/* 802B6D28 002B3C88 39 00 00 00 */ li r8, 0 -/* 802B6D2C 002B3C8C 48 05 1E 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B6D30 002B3C90 38 60 00 00 */ li r3, 0 -/* 802B6D34 002B3C94 38 80 00 07 */ li r4, 7 -/* 802B6D38 002B3C98 38 A0 00 04 */ li r5, 4 -/* 802B6D3C 002B3C9C 38 C0 00 05 */ li r6, 5 -/* 802B6D40 002B3CA0 38 E0 00 07 */ li r7, 7 -/* 802B6D44 002B3CA4 48 05 1E 51 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B6D48 002B3CA8 38 60 00 00 */ li r3, 0 -/* 802B6D4C 002B3CAC 38 80 00 00 */ li r4, 0 -/* 802B6D50 002B3CB0 38 A0 00 00 */ li r5, 0 -/* 802B6D54 002B3CB4 38 C0 00 00 */ li r6, 0 -/* 802B6D58 002B3CB8 38 E0 00 01 */ li r7, 1 -/* 802B6D5C 002B3CBC 39 00 00 00 */ li r8, 0 -/* 802B6D60 002B3CC0 48 05 1D 21 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B6D64 002B3CC4 38 60 00 00 */ li r3, 0 -/* 802B6D68 002B3CC8 38 80 00 00 */ li r4, 0 -/* 802B6D6C 002B3CCC 38 A0 00 00 */ li r5, 0 -/* 802B6D70 002B3CD0 38 C0 00 01 */ li r6, 1 -/* 802B6D74 002B3CD4 38 E0 00 00 */ li r7, 0 -/* 802B6D78 002B3CD8 39 00 00 00 */ li r8, 0 -/* 802B6D7C 002B3CDC 39 20 00 02 */ li r9, 2 -/* 802B6D80 002B3CE0 48 05 1F 4D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802B6D84 002B3CE4 38 60 00 01 */ li r3, 1 -/* 802B6D88 002B3CE8 38 80 00 01 */ li r4, 1 -/* 802B6D8C 002B3CEC 38 A0 00 01 */ li r5, 1 -/* 802B6D90 002B3CF0 38 C0 00 00 */ li r6, 0 -/* 802B6D94 002B3CF4 48 05 1B 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B6D98 002B3CF8 38 60 00 00 */ li r3, 0 -/* 802B6D9C 002B3CFC 48 0C 51 65 */ bl GXSetColorUpdate -/* 802B6DA0 002B3D00 38 60 00 07 */ li r3, 7 -/* 802B6DA4 002B3D04 38 80 00 00 */ li r4, 0 -/* 802B6DA8 002B3D08 38 A0 00 01 */ li r5, 1 -/* 802B6DAC 002B3D0C 38 C0 00 07 */ li r6, 7 -/* 802B6DB0 002B3D10 38 E0 00 00 */ li r7, 0 -/* 802B6DB4 002B3D14 48 05 1A 61 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B6DB8 002B3D18 48 09 31 F5 */ bl White__6CColorFv -/* 802B6DBC 002B3D1C 7C 64 1B 78 */ mr r4, r3 -/* 802B6DC0 002B3D20 38 60 00 00 */ li r3, 0 -/* 802B6DC4 002B3D24 48 05 1F 99 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802B6DC8 002B3D28 48 09 31 ED */ bl Black__6CColorFv -/* 802B6DCC 002B3D2C 7C 64 1B 78 */ mr r4, r3 -/* 802B6DD0 002B3D30 38 60 00 00 */ li r3, 0 -/* 802B6DD4 002B3D34 48 05 1F F1 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802B6DD8 002B3D38 48 09 31 D5 */ bl White__6CColorFv -/* 802B6DDC 002B3D3C 82 A3 00 00 */ lwz r21, 0(r3) -/* 802B6DE0 002B3D40 38 60 00 00 */ li r3, 0 -/* 802B6DE4 002B3D44 38 80 00 00 */ li r4, 0 -/* 802B6DE8 002B3D48 48 0C 52 F9 */ bl GXSetDstAlpha -/* 802B6DEC 002B3D4C 38 60 00 98 */ li r3, 0x98 -/* 802B6DF0 002B3D50 38 80 00 00 */ li r4, 0 -/* 802B6DF4 002B3D54 38 A0 00 04 */ li r5, 4 -/* 802B6DF8 002B3D58 48 05 17 8D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B6DFC 002B3D5C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) -/* 802B6E00 002B3D60 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B6E04 002B3D64 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B6E08 002B3D68 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E0C 002B3D6C C0 02 C2 80 */ lfs f0, lbl_805ADFA0@sda21(r2) -/* 802B6E10 002B3D70 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E14 002B3D74 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E18 002B3D78 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B6E1C 002B3D7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E20 002B3D80 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6E24 002B3D84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6E28 002B3D88 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E2C 002B3D8C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E30 002B3D90 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B6E34 002B3D94 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6E38 002B3D98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6E3C 002B3D9C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E40 002B3DA0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E44 002B3DA4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6E48 002B3DA8 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B6E4C 002B3DAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E50 002B3DB0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E54 002B3DB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6E58 002B3DB8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E5C 002B3DBC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B6E60 002B3DC0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B6E64 002B3DC4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B6E68 002B3DC8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B6E6C 002B3DCC 48 05 17 15 */ bl End__3CGXFv -/* 802B6E70 002B3DD0 38 60 00 08 */ li r3, 8 -/* 802B6E74 002B3DD4 48 00 05 E1 */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B6E78 002B3DD8 7C 66 1B 78 */ mr r6, r3 -/* 802B6E7C 002B3DDC 7F 83 E3 78 */ mr r3, r28 -/* 802B6E80 002B3DE0 38 80 00 02 */ li r4, 2 -/* 802B6E84 002B3DE4 38 A0 00 01 */ li r5, 1 -/* 802B6E88 002B3DE8 38 E0 00 27 */ li r7, 0x27 -/* 802B6E8C 002B3DEC 39 00 00 01 */ li r8, 1 -/* 802B6E90 002B3DF0 48 00 04 BD */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb -/* 802B6E94 002B3DF4 38 60 00 00 */ li r3, 0 -/* 802B6E98 002B3DF8 48 0C 50 69 */ bl GXSetColorUpdate -/* 802B6E9C 002B3DFC 38 60 00 08 */ li r3, 8 -/* 802B6EA0 002B3E00 48 00 05 B5 */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B6EA4 002B3E04 7F BE 16 70 */ srawi r30, r29, 2 -/* 802B6EA8 002B3E08 7C 66 1B 78 */ mr r6, r3 -/* 802B6EAC 002B3E0C 7F FF 16 70 */ srawi r31, r31, 2 -/* 802B6EB0 002B3E10 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802B6EB4 002B3E14 7F C3 F3 78 */ mr r3, r30 -/* 802B6EB8 002B3E18 38 A0 00 01 */ li r5, 1 -/* 802B6EBC 002B3E1C 7F E4 FB 78 */ mr r4, r31 -/* 802B6EC0 002B3E20 48 05 31 61 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B6EC4 002B3E24 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 802B6EC8 002B3E28 3C 00 43 30 */ lis r0, 0x4330 -/* 802B6ECC 002B3E2C 90 61 00 8C */ stw r3, 0x8c(r1) -/* 802B6ED0 002B3E30 3C 60 80 3D */ lis r3, lbl_803D67B4@ha -/* 802B6ED4 002B3E34 3A A3 67 B4 */ addi r21, r3, lbl_803D67B4@l -/* 802B6ED8 002B3E38 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B6EDC 002B3E3C 90 01 00 88 */ stw r0, 0x88(r1) -/* 802B6EE0 002B3E40 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B6EE4 002B3E44 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802B6EE8 002B3E48 FC 40 08 90 */ fmr f2, f1 -/* 802B6EEC 002B3E4C C8 01 00 88 */ lfd f0, 0x88(r1) -/* 802B6EF0 002B3E50 FC 60 08 90 */ fmr f3, f1 -/* 802B6EF4 002B3E54 C0 A2 C2 88 */ lfs f5, lbl_805ADFA8@sda21(r2) -/* 802B6EF8 002B3E58 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802B6EFC 002B3E5C 82 D5 00 00 */ lwz r22, 0(r21) -/* 802B6F00 002B3E60 82 F5 00 04 */ lwz r23, 4(r21) -/* 802B6F04 002B3E64 83 15 00 08 */ lwz r24, 8(r21) -/* 802B6F08 002B3E68 EC 05 00 24 */ fdivs f0, f5, f0 -/* 802B6F0C 002B3E6C 83 35 00 0C */ lwz r25, 0xc(r21) -/* 802B6F10 002B3E70 83 55 00 10 */ lwz r26, 0x10(r21) -/* 802B6F14 002B3E74 83 75 00 14 */ lwz r27, 0x14(r21) -/* 802B6F18 002B3E78 81 95 00 18 */ lwz r12, 0x18(r21) -/* 802B6F1C 002B3E7C 81 75 00 1C */ lwz r11, 0x1c(r21) -/* 802B6F20 002B3E80 81 55 00 20 */ lwz r10, 0x20(r21) -/* 802B6F24 002B3E84 EF FB 00 32 */ fmuls f31, f27, f0 -/* 802B6F28 002B3E88 81 35 00 24 */ lwz r9, 0x24(r21) -/* 802B6F2C 002B3E8C 81 15 00 28 */ lwz r8, 0x28(r21) -/* 802B6F30 002B3E90 80 F5 00 2C */ lwz r7, 0x2c(r21) -/* 802B6F34 002B3E94 80 D5 00 30 */ lwz r6, 0x30(r21) -/* 802B6F38 002B3E98 80 B5 00 34 */ lwz r5, 0x34(r21) -/* 802B6F3C 002B3E9C 80 95 00 38 */ lwz r4, 0x38(r21) -/* 802B6F40 002B3EA0 80 15 00 3C */ lwz r0, 0x3c(r21) -/* 802B6F44 002B3EA4 92 C1 00 44 */ stw r22, 0x44(r1) -/* 802B6F48 002B3EA8 C0 82 C2 AC */ lfs f4, lbl_805ADFCC@sda21(r2) -/* 802B6F4C 002B3EAC 92 E1 00 48 */ stw r23, 0x48(r1) -/* 802B6F50 002B3EB0 93 01 00 4C */ stw r24, 0x4c(r1) -/* 802B6F54 002B3EB4 93 21 00 50 */ stw r25, 0x50(r1) -/* 802B6F58 002B3EB8 93 41 00 54 */ stw r26, 0x54(r1) -/* 802B6F5C 002B3EBC 93 61 00 58 */ stw r27, 0x58(r1) -/* 802B6F60 002B3EC0 91 81 00 5C */ stw r12, 0x5c(r1) -/* 802B6F64 002B3EC4 91 61 00 60 */ stw r11, 0x60(r1) -/* 802B6F68 002B3EC8 91 41 00 64 */ stw r10, 0x64(r1) -/* 802B6F6C 002B3ECC 91 21 00 68 */ stw r9, 0x68(r1) -/* 802B6F70 002B3ED0 91 01 00 6C */ stw r8, 0x6c(r1) -/* 802B6F74 002B3ED4 90 E1 00 70 */ stw r7, 0x70(r1) -/* 802B6F78 002B3ED8 90 C1 00 74 */ stw r6, 0x74(r1) -/* 802B6F7C 002B3EDC 90 A1 00 78 */ stw r5, 0x78(r1) -/* 802B6F80 002B3EE0 90 81 00 7C */ stw r4, 0x7c(r1) -/* 802B6F84 002B3EE4 90 01 00 80 */ stw r0, 0x80(r1) -/* 802B6F88 002B3EE8 48 0A C4 65 */ bl __ct__6CColorFffff -/* 802B6F8C 002B3EEC 3A E1 00 44 */ addi r23, r1, 0x44 -/* 802B6F90 002B3EF0 82 C3 00 00 */ lwz r22, 0(r3) -/* 802B6F94 002B3EF4 C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) -/* 802B6F98 002B3EF8 7E F5 BB 78 */ mr r21, r23 -/* 802B6F9C 002B3EFC C3 82 C2 70 */ lfs f28, lbl_805ADF90@sda21(r2) -/* 802B6FA0 002B3F00 3B 00 00 00 */ li r24, 0 -/* 802B6FA4 002B3F04 C3 A2 C2 7C */ lfs f29, lbl_805ADF9C@sda21(r2) -/* 802B6FA8 002B3F08 3F 60 CC 01 */ lis r27, 0xcc01 -lbl_802B6FAC: -/* 802B6FAC 002B3F0C 38 60 00 98 */ li r3, 0x98 -/* 802B6FB0 002B3F10 38 80 00 00 */ li r4, 0 -/* 802B6FB4 002B3F14 38 A0 00 04 */ li r5, 4 -/* 802B6FB8 002B3F18 48 05 15 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B6FBC 002B3F1C C0 35 00 00 */ lfs f1, 0(r21) -/* 802B6FC0 002B3F20 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B6FC4 002B3F24 C0 15 00 04 */ lfs f0, 4(r21) -/* 802B6FC8 002B3F28 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 802B6FCC 002B3F2C EC 5F 00 32 */ fmuls f2, f31, f0 -/* 802B6FD0 002B3F30 48 05 D2 31 */ bl __ct__9CVector2fFff -/* 802B6FD4 002B3F34 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802B6FD8 002B3F38 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B6FDC 002B3F3C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B6FE0 002B3F40 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802B6FE4 002B3F44 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B6FE8 002B3F48 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) -/* 802B6FEC 002B3F4C D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B6FF0 002B3F50 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) -/* 802B6FF4 002B3F54 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802B6FF8 002B3F58 EC 1D 00 2A */ fadds f0, f29, f0 -/* 802B6FFC 002B3F5C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B7000 002B3F60 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B7004 002B3F64 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802B7008 002B3F68 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B700C 002B3F6C 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) -/* 802B7010 002B3F70 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) -/* 802B7014 002B3F74 D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) -/* 802B7018 002B3F78 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802B701C 002B3F7C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B7020 002B3F80 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B7024 002B3F84 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802B7028 002B3F88 EC 1D 00 2A */ fadds f0, f29, f0 -/* 802B702C 002B3F8C D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B7030 002B3F90 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) -/* 802B7034 002B3F94 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B7038 002B3F98 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B703C 002B3F9C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802B7040 002B3FA0 EC 1D 00 2A */ fadds f0, f29, f0 -/* 802B7044 002B3FA4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B7048 002B3FA8 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B704C 002B3FAC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802B7050 002B3FB0 EC 1D 00 2A */ fadds f0, f29, f0 -/* 802B7054 002B3FB4 D0 1B 80 00 */ stfs f0, 0xCC008000@l(r27) -/* 802B7058 002B3FB8 92 DB 80 00 */ stw r22, 0xCC008000@l(r27) -/* 802B705C 002B3FBC D3 9B 80 00 */ stfs f28, 0xCC008000@l(r27) -/* 802B7060 002B3FC0 D3 7B 80 00 */ stfs f27, 0xCC008000@l(r27) -/* 802B7064 002B3FC4 48 05 15 1D */ bl End__3CGXFv -/* 802B7068 002B3FC8 3B 18 00 01 */ addi r24, r24, 1 -/* 802B706C 002B3FCC 3A B5 00 08 */ addi r21, r21, 8 -/* 802B7070 002B3FD0 28 18 00 08 */ cmplwi r24, 8 -/* 802B7074 002B3FD4 41 80 FF 38 */ blt lbl_802B6FAC -/* 802B7078 002B3FD8 38 60 00 00 */ li r3, 0 -/* 802B707C 002B3FDC 38 80 00 00 */ li r4, 0 -/* 802B7080 002B3FE0 48 0C 50 61 */ bl GXSetDstAlpha -/* 802B7084 002B3FE4 38 60 00 03 */ li r3, 3 -/* 802B7088 002B3FE8 38 80 00 01 */ li r4, 1 -/* 802B708C 002B3FEC 38 A0 00 00 */ li r5, 0 -/* 802B7090 002B3FF0 38 C0 00 00 */ li r6, 0 -/* 802B7094 002B3FF4 48 05 18 3D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B7098 002B3FF8 38 60 00 04 */ li r3, 4 -/* 802B709C 002B3FFC 38 80 00 00 */ li r4, 0 -/* 802B70A0 002B4000 38 A0 00 00 */ li r5, 0 -/* 802B70A4 002B4004 38 C0 00 07 */ li r6, 7 -/* 802B70A8 002B4008 38 E0 00 00 */ li r7, 0 -/* 802B70AC 002B400C 48 05 17 69 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B70B0 002B4010 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B70B4 002B4014 38 61 00 0C */ addi r3, r1, 0xc -/* 802B70B8 002B4018 FC 40 08 90 */ fmr f2, f1 -/* 802B70BC 002B401C FC 60 08 90 */ fmr f3, f1 -/* 802B70C0 002B4020 FC 80 08 90 */ fmr f4, f1 -/* 802B70C4 002B4024 48 0A C3 29 */ bl __ct__6CColorFffff -/* 802B70C8 002B4028 82 A3 00 00 */ lwz r21, 0(r3) -/* 802B70CC 002B402C 38 60 00 98 */ li r3, 0x98 -/* 802B70D0 002B4030 38 80 00 00 */ li r4, 0 -/* 802B70D4 002B4034 38 A0 00 04 */ li r5, 4 -/* 802B70D8 002B4038 48 05 14 AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B70DC 002B403C C0 42 C2 74 */ lfs f2, lbl_805ADF94@sda21(r2) -/* 802B70E0 002B4040 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802B70E4 002B4044 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B70E8 002B4048 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B70EC 002B404C C0 02 C2 7C */ lfs f0, lbl_805ADF9C@sda21(r2) -/* 802B70F0 002B4050 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B70F4 002B4054 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B70F8 002B4058 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B70FC 002B405C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7100 002B4060 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B7104 002B4064 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B7108 002B4068 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B710C 002B406C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7110 002B4070 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B7114 002B4074 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B7118 002B4078 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B711C 002B407C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7120 002B4080 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7124 002B4084 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B7128 002B4088 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B712C 002B408C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7130 002B4090 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B7134 002B4094 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B7138 002B4098 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B713C 002B409C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802B7140 002B40A0 92 A3 80 00 */ stw r21, 0xCC008000@l(r3) -/* 802B7144 002B40A4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802B7148 002B40A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802B714C 002B40AC 48 05 14 35 */ bl End__3CGXFv -/* 802B7150 002B40B0 38 60 00 01 */ li r3, 1 -/* 802B7154 002B40B4 38 80 00 01 */ li r4, 1 -/* 802B7158 002B40B8 38 A0 00 01 */ li r5, 1 -/* 802B715C 002B40BC 38 C0 00 00 */ li r6, 0 -/* 802B7160 002B40C0 48 05 17 71 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B7164 002B40C4 38 60 00 00 */ li r3, 0 -/* 802B7168 002B40C8 38 80 00 07 */ li r4, 7 -/* 802B716C 002B40CC 38 A0 00 04 */ li r5, 4 -/* 802B7170 002B40D0 38 C0 00 05 */ li r6, 5 -/* 802B7174 002B40D4 38 E0 00 07 */ li r7, 7 -/* 802B7178 002B40D8 48 05 1A 1D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B717C 002B40DC 38 60 00 07 */ li r3, 7 -/* 802B7180 002B40E0 38 80 00 00 */ li r4, 0 -/* 802B7184 002B40E4 38 A0 00 01 */ li r5, 1 -/* 802B7188 002B40E8 38 C0 00 07 */ li r6, 7 -/* 802B718C 002B40EC 38 E0 00 00 */ li r7, 0 -/* 802B7190 002B40F0 48 05 16 85 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B7194 002B40F4 38 60 00 08 */ li r3, 8 -/* 802B7198 002B40F8 48 00 02 BD */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B719C 002B40FC 7C 66 1B 78 */ mr r6, r3 -/* 802B71A0 002B4100 7F 83 E3 78 */ mr r3, r28 -/* 802B71A4 002B4104 38 80 00 04 */ li r4, 4 -/* 802B71A8 002B4108 38 A0 00 00 */ li r5, 0 -/* 802B71AC 002B410C 38 E0 00 27 */ li r7, 0x27 -/* 802B71B0 002B4110 39 00 00 01 */ li r8, 1 -/* 802B71B4 002B4114 48 00 01 99 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb -/* 802B71B8 002B4118 38 60 00 00 */ li r3, 0 -/* 802B71BC 002B411C 38 80 00 00 */ li r4, 0 -/* 802B71C0 002B4120 48 0C 4F 21 */ bl GXSetDstAlpha -/* 802B71C4 002B4124 38 60 00 00 */ li r3, 0 -/* 802B71C8 002B4128 48 0C 4D 39 */ bl GXSetColorUpdate -/* 802B71CC 002B412C 38 60 00 08 */ li r3, 8 -/* 802B71D0 002B4130 48 00 02 85 */ bl GetRenderToTexBuffer__13CCubeRendererFi -/* 802B71D4 002B4134 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802B71D8 002B4138 7C 66 1B 78 */ mr r6, r3 -/* 802B71DC 002B413C 7F C3 F3 78 */ mr r3, r30 -/* 802B71E0 002B4140 7F E4 FB 78 */ mr r4, r31 -/* 802B71E4 002B4144 38 A0 00 01 */ li r5, 1 -/* 802B71E8 002B4148 48 05 2E 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B71EC 002B414C 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 802B71F0 002B4150 3C 00 43 30 */ lis r0, 0x4330 -/* 802B71F4 002B4154 90 61 00 8C */ stw r3, 0x8c(r1) -/* 802B71F8 002B4158 38 61 00 08 */ addi r3, r1, 8 -/* 802B71FC 002B415C C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B7200 002B4160 90 01 00 88 */ stw r0, 0x88(r1) -/* 802B7204 002B4164 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802B7208 002B4168 FC 40 08 90 */ fmr f2, f1 -/* 802B720C 002B416C C8 01 00 88 */ lfd f0, 0x88(r1) -/* 802B7210 002B4170 FC 60 08 90 */ fmr f3, f1 -/* 802B7214 002B4174 C0 A2 C2 B0 */ lfs f5, lbl_805ADFD0@sda21(r2) -/* 802B7218 002B4178 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802B721C 002B417C C0 82 C2 B4 */ lfs f4, lbl_805ADFD4@sda21(r2) -/* 802B7220 002B4180 EC 05 00 24 */ fdivs f0, f5, f0 -/* 802B7224 002B4184 EF 7E 00 32 */ fmuls f27, f30, f0 -/* 802B7228 002B4188 48 0A C1 C5 */ bl __ct__6CColorFffff -/* 802B722C 002B418C 82 A3 00 00 */ lwz r21, 0(r3) -/* 802B7230 002B4190 3A C0 00 00 */ li r22, 0 -/* 802B7234 002B4194 C3 A2 C2 74 */ lfs f29, lbl_805ADF94@sda21(r2) -/* 802B7238 002B4198 3F 80 CC 01 */ lis r28, 0xcc01 -/* 802B723C 002B419C C3 E2 C2 70 */ lfs f31, lbl_805ADF90@sda21(r2) -/* 802B7240 002B41A0 C3 C2 C2 7C */ lfs f30, lbl_805ADF9C@sda21(r2) -lbl_802B7244: -/* 802B7244 002B41A4 38 60 00 98 */ li r3, 0x98 -/* 802B7248 002B41A8 38 80 00 00 */ li r4, 0 -/* 802B724C 002B41AC 38 A0 00 04 */ li r5, 4 -/* 802B7250 002B41B0 48 05 13 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802B7254 002B41B4 C0 37 00 00 */ lfs f1, 0(r23) -/* 802B7258 002B41B8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B725C 002B41BC C0 17 00 04 */ lfs f0, 4(r23) -/* 802B7260 002B41C0 EC 3B 00 72 */ fmuls f1, f27, f1 -/* 802B7264 002B41C4 EC 5B 00 32 */ fmuls f2, f27, f0 -/* 802B7268 002B41C8 48 05 CF 99 */ bl __ct__9CVector2fFff -/* 802B726C 002B41CC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802B7270 002B41D0 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B7274 002B41D4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B7278 002B41D8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B727C 002B41DC D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B7280 002B41E0 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) -/* 802B7284 002B41E4 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B7288 002B41E8 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) -/* 802B728C 002B41EC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802B7290 002B41F0 EC 1E 00 2A */ fadds f0, f30, f0 -/* 802B7294 002B41F4 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B7298 002B41F8 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B729C 002B41FC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B72A0 002B4200 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B72A4 002B4204 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) -/* 802B72A8 002B4208 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) -/* 802B72AC 002B420C D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) -/* 802B72B0 002B4210 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802B72B4 002B4214 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B72B8 002B4218 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B72BC 002B421C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B72C0 002B4220 EC 1E 00 2A */ fadds f0, f30, f0 -/* 802B72C4 002B4224 D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B72C8 002B4228 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) -/* 802B72CC 002B422C D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B72D0 002B4230 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B72D4 002B4234 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802B72D8 002B4238 EC 1E 00 2A */ fadds f0, f30, f0 -/* 802B72DC 002B423C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B72E0 002B4240 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B72E4 002B4244 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B72E8 002B4248 EC 1E 00 2A */ fadds f0, f30, f0 -/* 802B72EC 002B424C D0 1C 80 00 */ stfs f0, 0xCC008000@l(r28) -/* 802B72F0 002B4250 92 BC 80 00 */ stw r21, 0xCC008000@l(r28) -/* 802B72F4 002B4254 D3 FC 80 00 */ stfs f31, 0xCC008000@l(r28) -/* 802B72F8 002B4258 D3 BC 80 00 */ stfs f29, 0xCC008000@l(r28) -/* 802B72FC 002B425C 48 05 12 85 */ bl End__3CGXFv -/* 802B7300 002B4260 3A D6 00 01 */ addi r22, r22, 1 -/* 802B7304 002B4264 3A F7 00 08 */ addi r23, r23, 8 -/* 802B7308 002B4268 28 16 00 08 */ cmplwi r22, 8 -/* 802B730C 002B426C 41 80 FF 38 */ blt lbl_802B7244 -/* 802B7310 002B4270 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802B7314 002B4274 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802B7318 002B4278 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 802B731C 002B427C CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 802B7320 002B4280 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 802B7324 002B4284 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 802B7328 002B4288 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 802B732C 002B428C CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 802B7330 002B4290 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 802B7334 002B4294 CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 802B7338 002B4298 BA A1 00 94 */ lmw r21, 0x94(r1) -/* 802B733C 002B429C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802B7340 002B42A0 7C 08 03 A6 */ mtlr r0 -/* 802B7344 002B42A4 38 21 01 10 */ addi r1, r1, 0x110 -/* 802B7348 002B42A8 4E 80 00 20 */ blr - -.global CopyTex__13CCubeRendererFibPv8GXTexFmtb -CopyTex__13CCubeRendererFibPv8GXTexFmtb: -/* 802B734C 002B42AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B7350 002B42B0 7C 08 02 A6 */ mflr r0 -/* 802B7354 002B42B4 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802B7358 002B42B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B735C 002B42BC 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 802B7360 002B42C0 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 802B7364 002B42C4 7C 9A 23 78 */ mr r26, r4 -/* 802B7368 002B42C8 7C BB 2B 78 */ mr r27, r5 -/* 802B736C 002B42CC 7C DC 33 78 */ mr r28, r6 -/* 802B7370 002B42D0 7C FD 3B 78 */ mr r29, r7 -/* 802B7374 002B42D4 7D 1E 43 78 */ mr r30, r8 -/* 802B7378 002B42D8 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 802B737C 002B42DC 80 03 00 04 */ lwz r0, 4(r3) -/* 802B7380 002B42E0 83 23 00 08 */ lwz r25, 8(r3) -/* 802B7384 002B42E4 7C BF D3 96 */ divwu r5, r31, r26 -/* 802B7388 002B42E8 7C 80 FA 14 */ add r4, r0, r31 -/* 802B738C 002B42EC 80 63 00 00 */ lwz r3, 0(r3) -/* 802B7390 002B42F0 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 802B7394 002B42F4 7C 85 20 50 */ subf r4, r5, r4 -/* 802B7398 002B42F8 7C 19 D3 96 */ divwu r0, r25, r26 -/* 802B739C 002B42FC 54 A6 04 3E */ clrlwi r6, r5, 0x10 -/* 802B73A0 002B4300 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 802B73A4 002B4304 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 802B73A8 002B4308 48 0C 1A 0D */ bl GXSetTexCopySrc -/* 802B73AC 002B430C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 802B73B0 002B4310 41 82 00 14 */ beq lbl_802B73C4 -/* 802B73B4 002B4314 57 20 0F FE */ srwi r0, r25, 0x1f -/* 802B73B8 002B4318 7C 00 CA 14 */ add r0, r0, r25 -/* 802B73BC 002B431C 7C 00 0E 70 */ srawi r0, r0, 1 -/* 802B73C0 002B4320 48 00 00 08 */ b lbl_802B73C8 -lbl_802B73C4: -/* 802B73C4 002B4324 7F 20 CB 78 */ mr r0, r25 -lbl_802B73C8: -/* 802B73C8 002B4328 7C 60 D3 96 */ divwu r3, r0, r26 -/* 802B73CC 002B432C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 802B73D0 002B4330 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 802B73D4 002B4334 41 82 00 14 */ beq lbl_802B73E8 -/* 802B73D8 002B4338 57 E0 0F FE */ srwi r0, r31, 0x1f -/* 802B73DC 002B433C 7C 00 FA 14 */ add r0, r0, r31 -/* 802B73E0 002B4340 7C 00 0E 70 */ srawi r0, r0, 1 -/* 802B73E4 002B4344 48 00 00 08 */ b lbl_802B73EC -lbl_802B73E8: -/* 802B73E8 002B4348 7F E0 FB 78 */ mr r0, r31 -lbl_802B73EC: -/* 802B73EC 002B434C 7C 00 D3 96 */ divwu r0, r0, r26 -/* 802B73F0 002B4350 7F A5 EB 78 */ mr r5, r29 -/* 802B73F4 002B4354 57 66 06 3E */ clrlwi r6, r27, 0x18 -/* 802B73F8 002B4358 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 802B73FC 002B435C 48 0C 1A 85 */ bl GXSetTexCopyDst -/* 802B7400 002B4360 38 00 00 00 */ li r0, 0 -/* 802B7404 002B4364 38 61 00 08 */ addi r3, r1, 8 -/* 802B7408 002B4368 90 01 00 08 */ stw r0, 8(r1) -/* 802B740C 002B436C 48 05 4B 89 */ bl SetClearColor__9CGraphicsFRC6CColor -/* 802B7410 002B4370 38 60 00 00 */ li r3, 0 -/* 802B7414 002B4374 48 0C 4A ED */ bl GXSetColorUpdate -/* 802B7418 002B4378 28 1C 00 00 */ cmplwi r28, 0 -/* 802B741C 002B437C 41 82 00 0C */ beq lbl_802B7428 -/* 802B7420 002B4380 7F 83 E3 78 */ mr r3, r28 -/* 802B7424 002B4384 48 00 00 08 */ b lbl_802B742C -lbl_802B7428: -/* 802B7428 002B4388 80 6D A8 28 */ lwz r3, lbl_805A93E8@sda21(r13) -lbl_802B742C: -/* 802B742C 002B438C 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 802B7430 002B4390 48 0C 21 05 */ bl GXCopyTex -/* 802B7434 002B4394 38 60 00 01 */ li r3, 1 -/* 802B7438 002B4398 48 0C 4A C9 */ bl GXSetColorUpdate -/* 802B743C 002B439C 48 0C 11 29 */ bl GXPixModeSync -/* 802B7440 002B43A0 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 802B7444 002B43A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B7448 002B43A8 7C 08 03 A6 */ mtlr r0 -/* 802B744C 002B43AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B7450 002B43B0 4E 80 00 20 */ blr - -.global GetRenderToTexBuffer__13CCubeRendererFi -GetRenderToTexBuffer__13CCubeRendererFi: -/* 802B7454 002B43B4 80 0D A8 24 */ lwz r0, lbl_805A93E4@sda21(r13) -/* 802B7458 002B43B8 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) -/* 802B745C 002B43BC 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802B7460 002B43C0 54 00 E1 3E */ srwi r0, r0, 4 -/* 802B7464 002B43C4 7C 64 02 14 */ add r3, r4, r0 -/* 802B7468 002B43C8 4E 80 00 20 */ blr - -.global "DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" -"DrawOverlappingWorldModelShadows__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": -/* 802B746C 002B43CC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802B7470 002B43D0 7C 08 02 A6 */ mflr r0 -/* 802B7474 002B43D4 90 01 00 74 */ stw r0, 0x74(r1) -/* 802B7478 002B43D8 BE 21 00 34 */ stmw r17, 0x34(r1) -/* 802B747C 002B43DC 7C 71 1B 78 */ mr r17, r3 -/* 802B7480 002B43E0 7C B2 2B 78 */ mr r18, r5 -/* 802B7484 002B43E4 7C D3 33 78 */ mr r19, r6 -/* 802B7488 002B43E8 7C 99 23 78 */ mr r25, r4 -/* 802B748C 002B43EC 54 9A 10 3A */ slwi r26, r4, 2 -/* 802B7490 002B43F0 3B 00 00 00 */ li r24, 0 -/* 802B7494 002B43F4 80 02 D7 78 */ lwz r0, lbl_805AF498@sda21(r2) -/* 802B7498 002B43F8 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B749C 002B43FC 83 A3 00 20 */ lwz r29, 0x20(r3) -/* 802B74A0 002B4400 48 00 01 50 */ b lbl_802B75F0 -lbl_802B74A4: -/* 802B74A4 002B4404 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 802B74A8 002B4408 28 1F 00 00 */ cmplwi r31, 0 -/* 802B74AC 002B440C 41 82 01 40 */ beq lbl_802B75EC -/* 802B74B0 002B4410 7F 5B D3 78 */ mr r27, r26 -/* 802B74B4 002B4414 3A E0 00 00 */ li r23, 0 -/* 802B74B8 002B4418 3A C0 00 00 */ li r22, 0 -/* 802B74BC 002B441C 48 00 01 20 */ b lbl_802B75DC -lbl_802B74C0: -/* 802B74C0 002B4420 7C 18 BA 14 */ add r0, r24, r23 -/* 802B74C4 002B4424 80 72 00 0C */ lwz r3, 0xc(r18) -/* 802B74C8 002B4428 54 00 10 3A */ slwi r0, r0, 2 -/* 802B74CC 002B442C 7E A3 00 2E */ lwzx r21, r3, r0 -/* 802B74D0 002B4430 28 15 00 00 */ cmplwi r21, 0 -/* 802B74D4 002B4434 41 82 01 00 */ beq lbl_802B75D4 -/* 802B74D8 002B4438 3A 80 00 00 */ li r20, 0 -/* 802B74DC 002B443C 7F 7C DB 78 */ mr r28, r27 -lbl_802B74E0: -/* 802B74E0 002B4440 38 00 00 01 */ li r0, 1 -/* 802B74E4 002B4444 7C 00 A0 30 */ slw r0, r0, r20 -/* 802B74E8 002B4448 7E A0 00 39 */ and. r0, r21, r0 -/* 802B74EC 002B444C 41 82 00 DC */ beq lbl_802B75C8 -/* 802B74F0 002B4450 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 802B74F4 002B4454 7C 16 A2 14 */ add r0, r22, r20 -/* 802B74F8 002B4458 54 03 18 38 */ slwi r3, r0, 3 -/* 802B74FC 002B445C 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 802B7500 002B4460 38 03 00 04 */ addi r0, r3, 4 -/* 802B7504 002B4464 38 81 00 10 */ addi r4, r1, 0x10 -/* 802B7508 002B4468 38 60 00 00 */ li r3, 0 -/* 802B750C 002B446C 7F C5 00 2E */ lwzx r30, r5, r0 -/* 802B7510 002B4470 9B 81 00 13 */ stb r28, 0x13(r1) -/* 802B7514 002B4474 48 05 17 31 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B7518 002B4478 7F C3 F3 78 */ mr r3, r30 -/* 802B751C 002B447C 48 05 01 05 */ bl SetArraysCurrent__10CCubeModelCFv -/* 802B7520 002B4480 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802B7524 002B4484 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B7528 002B4488 48 00 00 7C */ b lbl_802B75A4 -lbl_802B752C: -/* 802B752C 002B448C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B7530 002B4490 38 81 00 0C */ addi r4, r1, 0xc -/* 802B7534 002B4494 48 09 0D 7D */ bl GetBounds__12CCubeSurfaceCFv -/* 802B7538 002B4498 7E 64 9B 78 */ mr r4, r19 -/* 802B753C 002B449C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B7540 002B44A0 48 08 06 45 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802B7544 002B44A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B7548 002B44A8 41 82 00 50 */ beq lbl_802B7598 -/* 802B754C 002B44AC 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802B7550 002B44B0 7F C4 F3 78 */ mr r4, r30 -/* 802B7554 002B44B4 38 61 00 08 */ addi r3, r1, 8 -/* 802B7558 002B44B8 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 802B755C 002B44BC 48 04 FF B1 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 802B7560 002B44C0 80 81 00 08 */ lwz r4, 8(r1) -/* 802B7564 002B44C4 80 04 00 04 */ lwz r0, 4(r4) -/* 802B7568 002B44C8 54 03 10 3A */ slwi r3, r0, 2 -/* 802B756C 002B44CC 38 03 00 08 */ addi r0, r3, 8 -/* 802B7570 002B44D0 7C 64 00 2E */ lwzx r3, r4, r0 -/* 802B7574 002B44D4 48 05 09 89 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 802B7578 002B44D8 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802B757C 002B44DC 80 65 00 1C */ lwz r3, 0x1c(r5) -/* 802B7580 002B44E0 80 05 00 10 */ lwz r0, 0x10(r5) -/* 802B7584 002B44E4 38 63 00 4B */ addi r3, r3, 0x4b -/* 802B7588 002B44E8 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 802B758C 002B44EC 54 04 00 7E */ clrlwi r4, r0, 1 -/* 802B7590 002B44F0 7C 65 1A 14 */ add r3, r5, r3 -/* 802B7594 002B44F4 48 05 10 59 */ bl CallDisplayList__3CGXFPCvUl -lbl_802B7598: -/* 802B7598 002B44F8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802B759C 002B44FC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802B75A0 002B4500 90 01 00 0C */ stw r0, 0xc(r1) -lbl_802B75A4: -/* 802B75A4 002B4504 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802B75A8 002B4508 28 00 00 00 */ cmplwi r0, 0 -/* 802B75AC 002B450C 40 82 FF 80 */ bne lbl_802B752C -/* 802B75B0 002B4510 3B 39 00 01 */ addi r25, r25, 1 -/* 802B75B4 002B4514 3B 7B 00 04 */ addi r27, r27, 4 -/* 802B75B8 002B4518 2C 19 00 40 */ cmpwi r25, 0x40 -/* 802B75BC 002B451C 3B 5A 00 04 */ addi r26, r26, 4 -/* 802B75C0 002B4520 3B 9C 00 04 */ addi r28, r28, 4 -/* 802B75C4 002B4524 40 80 00 38 */ bge lbl_802B75FC -lbl_802B75C8: -/* 802B75C8 002B4528 3A 94 00 01 */ addi r20, r20, 1 -/* 802B75CC 002B452C 2C 14 00 20 */ cmpwi r20, 0x20 -/* 802B75D0 002B4530 41 80 FF 10 */ blt lbl_802B74E0 -lbl_802B75D4: -/* 802B75D4 002B4534 3A F7 00 01 */ addi r23, r23, 1 -/* 802B75D8 002B4538 3A D6 00 20 */ addi r22, r22, 0x20 -lbl_802B75DC: -/* 802B75DC 002B453C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802B75E0 002B4540 7C 17 00 40 */ cmplw r23, r0 -/* 802B75E4 002B4544 41 80 FE DC */ blt lbl_802B74C0 -/* 802B75E8 002B4548 7F 18 02 14 */ add r24, r24, r0 -lbl_802B75EC: -/* 802B75EC 002B454C 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802B75F0: -/* 802B75F0 002B4550 80 11 00 24 */ lwz r0, 0x24(r17) -/* 802B75F4 002B4554 7C 1D 00 40 */ cmplw r29, r0 -/* 802B75F8 002B4558 40 82 FE AC */ bne lbl_802B74A4 -lbl_802B75FC: -/* 802B75FC 002B455C BA 21 00 34 */ lmw r17, 0x34(r1) -/* 802B7600 002B4560 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802B7604 002B4564 7C 08 03 A6 */ mtlr r0 -/* 802B7608 002B4568 38 21 00 70 */ addi r1, r1, 0x70 -/* 802B760C 002B456C 4E 80 00 20 */ blr - -.global "DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii" -"DrawOverlappingWorldModelIDs__13CCubeRendererFiRQ24rstl10vectorRC6CAABoxii": -/* 802B7610 002B4570 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802B7614 002B4574 7C 08 02 A6 */ mflr r0 -/* 802B7618 002B4578 90 01 00 84 */ stw r0, 0x84(r1) -/* 802B761C 002B457C BE 21 00 44 */ stmw r17, 0x44(r1) -/* 802B7620 002B4580 7C 94 23 78 */ mr r20, r4 -/* 802B7624 002B4584 7C 71 1B 78 */ mr r17, r3 -/* 802B7628 002B4588 7C B2 2B 78 */ mr r18, r5 -/* 802B762C 002B458C 7C D3 33 78 */ mr r19, r6 -/* 802B7630 002B4590 38 80 00 01 */ li r4, 1 -/* 802B7634 002B4594 48 00 61 FD */ bl SetupRendererStates__13CCubeRendererFb -/* 802B7638 002B4598 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B763C 002B459C 38 80 00 00 */ li r4, 0 -/* 802B7640 002B45A0 38 00 00 03 */ li r0, 3 -/* 802B7644 002B45A4 98 81 00 0C */ stb r4, 0xc(r1) -/* 802B7648 002B45A8 FC 40 08 90 */ fmr f2, f1 -/* 802B764C 002B45AC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802B7650 002B45B0 FC 60 08 90 */ fmr f3, f1 -/* 802B7654 002B45B4 98 81 00 0D */ stb r4, 0xd(r1) -/* 802B7658 002B45B8 FC 80 08 90 */ fmr f4, f1 -/* 802B765C 002B45BC B0 01 00 0E */ sth r0, 0xe(r1) -/* 802B7660 002B45C0 48 0A BD 8D */ bl __ct__6CColorFffff -/* 802B7664 002B45C4 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 802B7668 002B45C8 7E 99 A3 78 */ mr r25, r20 -/* 802B766C 002B45CC 88 81 00 0D */ lbz r4, 0xd(r1) -/* 802B7670 002B45D0 56 9A 10 3A */ slwi r26, r20, 2 -/* 802B7674 002B45D4 A0 61 00 0E */ lhz r3, 0xe(r1) -/* 802B7678 002B45D8 3B 00 00 00 */ li r24, 0 -/* 802B767C 002B45DC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802B7680 002B45E0 98 A1 00 14 */ stb r5, 0x14(r1) -/* 802B7684 002B45E4 98 81 00 15 */ stb r4, 0x15(r1) -/* 802B7688 002B45E8 B0 61 00 16 */ sth r3, 0x16(r1) -/* 802B768C 002B45EC 90 01 00 18 */ stw r0, 0x18(r1) -/* 802B7690 002B45F0 83 B1 00 20 */ lwz r29, 0x20(r17) -/* 802B7694 002B45F4 48 00 01 24 */ b lbl_802B77B8 -lbl_802B7698: -/* 802B7698 002B45F8 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 802B769C 002B45FC 28 1F 00 00 */ cmplwi r31, 0 -/* 802B76A0 002B4600 41 82 01 14 */ beq lbl_802B77B4 -/* 802B76A4 002B4604 7F 5B D3 78 */ mr r27, r26 -/* 802B76A8 002B4608 3A E0 00 00 */ li r23, 0 -/* 802B76AC 002B460C 3A C0 00 00 */ li r22, 0 -/* 802B76B0 002B4610 48 00 00 F4 */ b lbl_802B77A4 -lbl_802B76B4: -/* 802B76B4 002B4614 7C 18 BA 14 */ add r0, r24, r23 -/* 802B76B8 002B4618 80 72 00 0C */ lwz r3, 0xc(r18) -/* 802B76BC 002B461C 54 00 10 3A */ slwi r0, r0, 2 -/* 802B76C0 002B4620 7E A3 00 2E */ lwzx r21, r3, r0 -/* 802B76C4 002B4624 28 15 00 00 */ cmplwi r21, 0 -/* 802B76C8 002B4628 41 82 00 D4 */ beq lbl_802B779C -/* 802B76CC 002B462C 3A 80 00 00 */ li r20, 0 -/* 802B76D0 002B4630 7F 7C DB 78 */ mr r28, r27 -lbl_802B76D4: -/* 802B76D4 002B4634 38 00 00 01 */ li r0, 1 -/* 802B76D8 002B4638 7C 00 A0 30 */ slw r0, r0, r20 -/* 802B76DC 002B463C 7E A0 00 39 */ and. r0, r21, r0 -/* 802B76E0 002B4640 41 82 00 B0 */ beq lbl_802B7790 -/* 802B76E4 002B4644 80 BD 00 1C */ lwz r5, 0x1c(r29) -/* 802B76E8 002B4648 7C 16 A2 14 */ add r0, r22, r20 -/* 802B76EC 002B464C 54 03 18 38 */ slwi r3, r0, 3 -/* 802B76F0 002B4650 57 84 06 3E */ clrlwi r4, r28, 0x18 -/* 802B76F4 002B4654 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 802B76F8 002B4658 38 03 00 04 */ addi r0, r3, 4 -/* 802B76FC 002B465C 38 60 00 01 */ li r3, 1 -/* 802B7700 002B4660 7F C5 00 2E */ lwzx r30, r5, r0 -/* 802B7704 002B4664 48 0C 49 DD */ bl GXSetDstAlpha -/* 802B7708 002B4668 48 08 E2 39 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 802B770C 002B466C 7F C3 F3 78 */ mr r3, r30 -/* 802B7710 002B4670 48 04 FF 11 */ bl SetArraysCurrent__10CCubeModelCFv -/* 802B7714 002B4674 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802B7718 002B4678 90 01 00 08 */ stw r0, 8(r1) -/* 802B771C 002B467C 48 00 00 40 */ b lbl_802B775C -lbl_802B7720: -/* 802B7720 002B4680 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B7724 002B4684 38 81 00 08 */ addi r4, r1, 8 -/* 802B7728 002B4688 48 09 0B 89 */ bl GetBounds__12CCubeSurfaceCFv -/* 802B772C 002B468C 7E 64 9B 78 */ mr r4, r19 -/* 802B7730 002B4690 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B7734 002B4694 48 08 04 51 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802B7738 002B4698 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B773C 002B469C 41 82 00 14 */ beq lbl_802B7750 -/* 802B7740 002B46A0 7F C3 F3 78 */ mr r3, r30 -/* 802B7744 002B46A4 38 81 00 08 */ addi r4, r1, 8 -/* 802B7748 002B46A8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802B774C 002B46AC 48 04 FC F9 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -lbl_802B7750: -/* 802B7750 002B46B0 80 61 00 08 */ lwz r3, 8(r1) -/* 802B7754 002B46B4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802B7758 002B46B8 90 01 00 08 */ stw r0, 8(r1) -lbl_802B775C: -/* 802B775C 002B46BC 80 01 00 08 */ lwz r0, 8(r1) -/* 802B7760 002B46C0 28 00 00 00 */ cmplwi r0, 0 -/* 802B7764 002B46C4 40 82 FF BC */ bne lbl_802B7720 -/* 802B7768 002B46C8 3B 39 00 01 */ addi r25, r25, 1 -/* 802B776C 002B46CC 3B 7B 00 04 */ addi r27, r27, 4 -/* 802B7770 002B46D0 2C 19 00 40 */ cmpwi r25, 0x40 -/* 802B7774 002B46D4 3B 5A 00 04 */ addi r26, r26, 4 -/* 802B7778 002B46D8 3B 9C 00 04 */ addi r28, r28, 4 -/* 802B777C 002B46DC 41 80 00 14 */ blt lbl_802B7790 -/* 802B7780 002B46E0 7E 23 8B 78 */ mr r3, r17 -/* 802B7784 002B46E4 48 00 60 19 */ bl SetupCGraphicsStates__13CCubeRendererFv -/* 802B7788 002B46E8 7F 23 CB 78 */ mr r3, r25 -/* 802B778C 002B46EC 48 00 00 44 */ b lbl_802B77D0 -lbl_802B7790: -/* 802B7790 002B46F0 3A 94 00 01 */ addi r20, r20, 1 -/* 802B7794 002B46F4 2C 14 00 20 */ cmpwi r20, 0x20 -/* 802B7798 002B46F8 41 80 FF 3C */ blt lbl_802B76D4 -lbl_802B779C: -/* 802B779C 002B46FC 3A F7 00 01 */ addi r23, r23, 1 -/* 802B77A0 002B4700 3A D6 00 20 */ addi r22, r22, 0x20 -lbl_802B77A4: -/* 802B77A4 002B4704 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 802B77A8 002B4708 7C 17 00 40 */ cmplw r23, r0 -/* 802B77AC 002B470C 41 80 FF 08 */ blt lbl_802B76B4 -/* 802B77B0 002B4710 7F 18 02 14 */ add r24, r24, r0 -lbl_802B77B4: -/* 802B77B4 002B4714 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802B77B8: -/* 802B77B8 002B4718 80 11 00 24 */ lwz r0, 0x24(r17) -/* 802B77BC 002B471C 7C 1D 00 40 */ cmplw r29, r0 -/* 802B77C0 002B4720 40 82 FE D8 */ bne lbl_802B7698 -/* 802B77C4 002B4724 7E 23 8B 78 */ mr r3, r17 -/* 802B77C8 002B4728 48 00 5F D5 */ bl SetupCGraphicsStates__13CCubeRendererFv -/* 802B77CC 002B472C 7F 23 CB 78 */ mr r3, r25 -lbl_802B77D0: -/* 802B77D0 002B4730 BA 21 00 44 */ lmw r17, 0x44(r1) -/* 802B77D4 002B4734 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802B77D8 002B4738 7C 08 03 A6 */ mtlr r0 -/* 802B77DC 002B473C 38 21 00 80 */ addi r1, r1, 0x80 -/* 802B77E0 002B4740 4E 80 00 20 */ blr - -.global "FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox" -"FindOverlappingWorldModels__13CCubeRendererFRQ24rstl10vectorRC6CAABox": -/* 802B77E4 002B4744 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802B77E8 002B4748 7C 08 02 A6 */ mflr r0 -/* 802B77EC 002B474C 90 01 00 94 */ stw r0, 0x94(r1) -/* 802B77F0 002B4750 BE 61 00 5C */ stmw r19, 0x5c(r1) -/* 802B77F4 002B4754 7C 94 23 78 */ mr r20, r4 -/* 802B77F8 002B4758 7C B5 2B 78 */ mr r21, r5 -/* 802B77FC 002B475C 7C 73 1B 78 */ mr r19, r3 -/* 802B7800 002B4760 3B 60 00 00 */ li r27, 0 -/* 802B7804 002B4764 80 83 00 20 */ lwz r4, 0x20(r3) -/* 802B7808 002B4768 80 A3 00 24 */ lwz r5, 0x24(r3) -/* 802B780C 002B476C 48 00 00 1C */ b lbl_802B7828 -lbl_802B7810: -/* 802B7810 002B4770 80 64 00 0C */ lwz r3, 0xc(r4) -/* 802B7814 002B4774 28 03 00 00 */ cmplwi r3, 0 -/* 802B7818 002B4778 41 82 00 0C */ beq lbl_802B7824 -/* 802B781C 002B477C 80 03 00 14 */ lwz r0, 0x14(r3) -/* 802B7820 002B4780 7F 7B 02 14 */ add r27, r27, r0 -lbl_802B7824: -/* 802B7824 002B4784 80 84 00 04 */ lwz r4, 4(r4) -lbl_802B7828: -/* 802B7828 002B4788 7C 04 28 40 */ cmplw r4, r5 -/* 802B782C 002B478C 40 82 FF E4 */ bne lbl_802B7810 -/* 802B7830 002B4790 2C 1B 00 00 */ cmpwi r27, 0 -/* 802B7834 002B4794 40 82 00 64 */ bne lbl_802B7898 -/* 802B7838 002B4798 38 00 00 00 */ li r0, 0 -/* 802B783C 002B479C 7E 83 A3 78 */ mr r3, r20 -/* 802B7840 002B47A0 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802B7844 002B47A4 38 81 00 48 */ addi r4, r1, 0x48 -/* 802B7848 002B47A8 90 01 00 50 */ stw r0, 0x50(r1) -/* 802B784C 002B47AC 90 01 00 54 */ stw r0, 0x54(r1) -/* 802B7850 002B47B0 4B DA BE AD */ bl "clear__Q24rstl37vectorFv" -/* 802B7854 002B47B4 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802B7858 002B47B8 80 61 00 54 */ lwz r3, 0x54(r1) -/* 802B785C 002B47BC 54 00 10 3A */ slwi r0, r0, 2 -/* 802B7860 002B47C0 7C 03 02 14 */ add r0, r3, r0 -/* 802B7864 002B47C4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802B7868 002B47C8 7C 64 1B 78 */ mr r4, r3 -/* 802B786C 002B47CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B7870 002B47D0 90 01 00 30 */ stw r0, 0x30(r1) -/* 802B7874 002B47D4 90 61 00 28 */ stw r3, 0x28(r1) -/* 802B7878 002B47D8 48 00 00 08 */ b lbl_802B7880 -lbl_802B787C: -/* 802B787C 002B47DC 38 84 00 04 */ addi r4, r4, 4 -lbl_802B7880: -/* 802B7880 002B47E0 7C 04 00 40 */ cmplw r4, r0 -/* 802B7884 002B47E4 40 82 FF F8 */ bne lbl_802B787C -/* 802B7888 002B47E8 28 03 00 00 */ cmplwi r3, 0 -/* 802B788C 002B47EC 41 82 01 98 */ beq lbl_802B7A24 -/* 802B7890 002B47F0 48 05 E0 A1 */ bl Free__7CMemoryFPCv -/* 802B7894 002B47F4 48 00 01 90 */ b lbl_802B7A24 -lbl_802B7898: -/* 802B7898 002B47F8 80 14 00 08 */ lwz r0, 8(r20) -/* 802B789C 002B47FC 7C 1B 00 00 */ cmpw r27, r0 -/* 802B78A0 002B4800 41 82 00 64 */ beq lbl_802B7904 -/* 802B78A4 002B4804 38 00 00 00 */ li r0, 0 -/* 802B78A8 002B4808 7E 83 A3 78 */ mr r3, r20 -/* 802B78AC 002B480C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802B78B0 002B4810 38 81 00 38 */ addi r4, r1, 0x38 -/* 802B78B4 002B4814 90 01 00 40 */ stw r0, 0x40(r1) -/* 802B78B8 002B4818 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B78BC 002B481C 4B DA BE 41 */ bl "clear__Q24rstl37vectorFv" -/* 802B78C0 002B4820 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802B78C4 002B4824 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802B78C8 002B4828 54 00 10 3A */ slwi r0, r0, 2 -/* 802B78CC 002B482C 7C 03 02 14 */ add r0, r3, r0 -/* 802B78D0 002B4830 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802B78D4 002B4834 7C 64 1B 78 */ mr r4, r3 -/* 802B78D8 002B4838 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B78DC 002B483C 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B78E0 002B4840 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B78E4 002B4844 48 00 00 08 */ b lbl_802B78EC -lbl_802B78E8: -/* 802B78E8 002B4848 38 84 00 04 */ addi r4, r4, 4 -lbl_802B78EC: -/* 802B78EC 002B484C 7C 04 00 40 */ cmplw r4, r0 -/* 802B78F0 002B4850 40 82 FF F8 */ bne lbl_802B78E8 -/* 802B78F4 002B4854 28 03 00 00 */ cmplwi r3, 0 -/* 802B78F8 002B4858 41 82 00 44 */ beq lbl_802B793C -/* 802B78FC 002B485C 48 05 E0 35 */ bl Free__7CMemoryFPCv -/* 802B7900 002B4860 48 00 00 3C */ b lbl_802B793C -lbl_802B7904: -/* 802B7904 002B4864 80 14 00 04 */ lwz r0, 4(r20) -/* 802B7908 002B4868 80 74 00 0C */ lwz r3, 0xc(r20) -/* 802B790C 002B486C 54 00 10 3A */ slwi r0, r0, 2 -/* 802B7910 002B4870 7C 03 02 14 */ add r0, r3, r0 -/* 802B7914 002B4874 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B7918 002B4878 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B791C 002B487C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B7920 002B4880 90 61 00 08 */ stw r3, 8(r1) -/* 802B7924 002B4884 48 00 00 08 */ b lbl_802B792C -lbl_802B7928: -/* 802B7928 002B4888 38 63 00 04 */ addi r3, r3, 4 -lbl_802B792C: -/* 802B792C 002B488C 7C 03 00 40 */ cmplw r3, r0 -/* 802B7930 002B4890 40 82 FF F8 */ bne lbl_802B7928 -/* 802B7934 002B4894 38 00 00 00 */ li r0, 0 -/* 802B7938 002B4898 90 14 00 04 */ stw r0, 4(r20) -lbl_802B793C: -/* 802B793C 002B489C 7E 83 A3 78 */ mr r3, r20 -/* 802B7940 002B48A0 7F 64 DB 78 */ mr r4, r27 -/* 802B7944 002B48A4 38 AD 9A EC */ addi r5, r13, lbl_805A86AC@sda21 -/* 802B7948 002B48A8 4B FF 6F 81 */ bl sub_802ae8c8 -/* 802B794C 002B48AC 83 73 00 20 */ lwz r27, 0x20(r19) -/* 802B7950 002B48B0 3B 40 00 00 */ li r26, 0 -/* 802B7954 002B48B4 48 00 00 C4 */ b lbl_802B7A18 -lbl_802B7958: -/* 802B7958 002B48B8 83 9B 00 0C */ lwz r28, 0xc(r27) -/* 802B795C 002B48BC 28 1C 00 00 */ cmplwi r28, 0 -/* 802B7960 002B48C0 41 82 00 B4 */ beq lbl_802B7A14 -/* 802B7964 002B48C4 80 94 00 0C */ lwz r4, 0xc(r20) -/* 802B7968 002B48C8 57 40 10 3A */ slwi r0, r26, 2 -/* 802B796C 002B48CC 7F 83 E3 78 */ mr r3, r28 -/* 802B7970 002B48D0 7E A5 AB 78 */ mr r5, r21 -/* 802B7974 002B48D4 7C 84 02 14 */ add r4, r4, r0 -/* 802B7978 002B48D8 4B FF 6E A1 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox -/* 802B797C 002B48DC 3B 20 00 00 */ li r25, 0 -/* 802B7980 002B48E0 3B 00 00 00 */ li r24, 0 -/* 802B7984 002B48E4 48 00 00 80 */ b lbl_802B7A04 -lbl_802B7988: -/* 802B7988 002B48E8 7C 1A CA 14 */ add r0, r26, r25 -/* 802B798C 002B48EC 83 B4 00 0C */ lwz r29, 0xc(r20) -/* 802B7990 002B48F0 54 1E 10 3A */ slwi r30, r0, 2 -/* 802B7994 002B48F4 7C 1D F0 2E */ lwzx r0, r29, r30 -/* 802B7998 002B48F8 28 00 00 00 */ cmplwi r0, 0 -/* 802B799C 002B48FC 41 82 00 60 */ beq lbl_802B79FC -/* 802B79A0 002B4900 3A E0 00 00 */ li r23, 0 -/* 802B79A4 002B4904 3B E0 00 01 */ li r31, 1 -lbl_802B79A8: -/* 802B79A8 002B4908 7C 1D F0 2E */ lwzx r0, r29, r30 -/* 802B79AC 002B490C 7F F6 B8 30 */ slw r22, r31, r23 -/* 802B79B0 002B4910 7C 00 B0 39 */ and. r0, r0, r22 -/* 802B79B4 002B4914 41 82 00 3C */ beq lbl_802B79F0 -/* 802B79B8 002B4918 80 BB 00 1C */ lwz r5, 0x1c(r27) -/* 802B79BC 002B491C 7C 18 BA 14 */ add r0, r24, r23 -/* 802B79C0 002B4920 54 03 18 38 */ slwi r3, r0, 3 -/* 802B79C4 002B4924 7E A4 AB 78 */ mr r4, r21 -/* 802B79C8 002B4928 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 802B79CC 002B492C 38 03 00 04 */ addi r0, r3, 4 -/* 802B79D0 002B4930 7C 65 00 2E */ lwzx r3, r5, r0 -/* 802B79D4 002B4934 38 63 00 20 */ addi r3, r3, 0x20 -/* 802B79D8 002B4938 48 08 01 AD */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 802B79DC 002B493C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B79E0 002B4940 40 82 00 10 */ bne lbl_802B79F0 -/* 802B79E4 002B4944 7C 1D F0 2E */ lwzx r0, r29, r30 -/* 802B79E8 002B4948 7C 00 B0 78 */ andc r0, r0, r22 -/* 802B79EC 002B494C 7C 1D F1 2E */ stwx r0, r29, r30 -lbl_802B79F0: -/* 802B79F0 002B4950 3A F7 00 01 */ addi r23, r23, 1 -/* 802B79F4 002B4954 2C 17 00 20 */ cmpwi r23, 0x20 -/* 802B79F8 002B4958 41 80 FF B0 */ blt lbl_802B79A8 -lbl_802B79FC: -/* 802B79FC 002B495C 3B 39 00 01 */ addi r25, r25, 1 -/* 802B7A00 002B4960 3B 18 00 20 */ addi r24, r24, 0x20 -lbl_802B7A04: -/* 802B7A04 002B4964 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 802B7A08 002B4968 7C 19 00 40 */ cmplw r25, r0 -/* 802B7A0C 002B496C 41 80 FF 7C */ blt lbl_802B7988 -/* 802B7A10 002B4970 7F 5A 02 14 */ add r26, r26, r0 -lbl_802B7A14: -/* 802B7A14 002B4974 83 7B 00 04 */ lwz r27, 4(r27) -lbl_802B7A18: -/* 802B7A18 002B4978 80 13 00 24 */ lwz r0, 0x24(r19) -/* 802B7A1C 002B497C 7C 1B 00 40 */ cmplw r27, r0 -/* 802B7A20 002B4980 40 82 FF 38 */ bne lbl_802B7958 -lbl_802B7A24: -/* 802B7A24 002B4984 BA 61 00 5C */ lmw r19, 0x5c(r1) -/* 802B7A28 002B4988 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802B7A2C 002B498C 7C 08 03 A6 */ mtlr r0 -/* 802B7A30 002B4990 38 21 00 90 */ addi r1, r1, 0x90 -/* 802B7A34 002B4994 4E 80 00 20 */ blr - -.global "PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector" -"PrepareDynamicLights__13CCubeRendererFRCQ24rstl14vector": -/* 802B7A38 002B4998 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802B7A3C 002B499C 7C 08 02 A6 */ mflr r0 -/* 802B7A40 002B49A0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802B7A44 002B49A4 BE C1 00 78 */ stmw r22, 0x78(r1) -/* 802B7A48 002B49A8 7C 7C 1B 78 */ mr r28, r3 -/* 802B7A4C 002B49AC 7C 9D 23 78 */ mr r29, r4 -/* 802B7A50 002B49B0 80 64 00 04 */ lwz r3, 4(r4) -/* 802B7A54 002B49B4 80 1C 03 04 */ lwz r0, 0x304(r28) -/* 802B7A58 002B49B8 7C 03 00 00 */ cmpw r3, r0 -/* 802B7A5C 002B49BC 41 82 00 60 */ beq lbl_802B7ABC -/* 802B7A60 002B49C0 38 00 00 00 */ li r0, 0 -/* 802B7A64 002B49C4 38 7C 03 00 */ addi r3, r28, 0x300 -/* 802B7A68 002B49C8 90 01 00 54 */ stw r0, 0x54(r1) -/* 802B7A6C 002B49CC 38 81 00 50 */ addi r4, r1, 0x50 -/* 802B7A70 002B49D0 90 01 00 58 */ stw r0, 0x58(r1) -/* 802B7A74 002B49D4 90 01 00 5C */ stw r0, 0x5c(r1) -/* 802B7A78 002B49D8 4B D8 DF F1 */ bl sub_80045a68 -/* 802B7A7C 002B49DC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802B7A80 002B49E0 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 802B7A84 002B49E4 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 802B7A88 002B49E8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802B7A8C 002B49EC 7C 64 1B 78 */ mr r4, r3 -/* 802B7A90 002B49F0 7C 03 02 14 */ add r0, r3, r0 -/* 802B7A94 002B49F4 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B7A98 002B49F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B7A9C 002B49FC 90 01 00 20 */ stw r0, 0x20(r1) -/* 802B7AA0 002B4A00 48 00 00 08 */ b lbl_802B7AA8 -lbl_802B7AA4: -/* 802B7AA4 002B4A04 38 84 00 50 */ addi r4, r4, 0x50 -lbl_802B7AA8: -/* 802B7AA8 002B4A08 7C 04 00 40 */ cmplw r4, r0 -/* 802B7AAC 002B4A0C 40 82 FF F8 */ bne lbl_802B7AA4 -/* 802B7AB0 002B4A10 28 03 00 00 */ cmplwi r3, 0 -/* 802B7AB4 002B4A14 41 82 00 08 */ beq lbl_802B7ABC -/* 802B7AB8 002B4A18 48 05 DE 79 */ bl Free__7CMemoryFPCv -lbl_802B7ABC: -/* 802B7ABC 002B4A1C 7F A4 EB 78 */ mr r4, r29 -/* 802B7AC0 002B4A20 38 7C 03 00 */ addi r3, r28, 0x300 -/* 802B7AC4 002B4A24 4B D8 DF A5 */ bl sub_80045a68 -/* 802B7AC8 002B4A28 83 FC 00 20 */ lwz r31, 0x20(r28) -/* 802B7ACC 002B4A2C 48 00 01 3C */ b lbl_802B7C08 -lbl_802B7AD0: -/* 802B7AD0 002B4A30 48 0C D8 D9 */ bl OSGetTime -/* 802B7AD4 002B4A34 83 7F 00 0C */ lwz r27, 0xc(r31) -/* 802B7AD8 002B4A38 28 1B 00 00 */ cmplwi r27, 0 -/* 802B7ADC 002B4A3C 41 82 01 28 */ beq lbl_802B7C04 -/* 802B7AE0 002B4A40 83 DB 00 14 */ lwz r30, 0x14(r27) -/* 802B7AE4 002B4A44 38 00 00 00 */ li r0, 0 -/* 802B7AE8 002B4A48 3B 5F 00 24 */ addi r26, r31, 0x24 -/* 802B7AEC 002B4A4C 38 81 00 40 */ addi r4, r1, 0x40 -/* 802B7AF0 002B4A50 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B7AF4 002B4A54 7F 43 D3 78 */ mr r3, r26 -/* 802B7AF8 002B4A58 90 01 00 48 */ stw r0, 0x48(r1) -/* 802B7AFC 002B4A5C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802B7B00 002B4A60 4B DA BB FD */ bl "clear__Q24rstl37vectorFv" -/* 802B7B04 002B4A64 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802B7B08 002B4A68 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 802B7B0C 002B4A6C 54 00 10 3A */ slwi r0, r0, 2 -/* 802B7B10 002B4A70 7C 03 02 14 */ add r0, r3, r0 -/* 802B7B14 002B4A74 90 61 00 0C */ stw r3, 0xc(r1) -/* 802B7B18 002B4A78 7C 64 1B 78 */ mr r4, r3 -/* 802B7B1C 002B4A7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B7B20 002B4A80 90 01 00 10 */ stw r0, 0x10(r1) -/* 802B7B24 002B4A84 90 61 00 08 */ stw r3, 8(r1) -/* 802B7B28 002B4A88 48 00 00 08 */ b lbl_802B7B30 -lbl_802B7B2C: -/* 802B7B2C 002B4A8C 38 84 00 04 */ addi r4, r4, 4 -lbl_802B7B30: -/* 802B7B30 002B4A90 7C 04 00 40 */ cmplw r4, r0 -/* 802B7B34 002B4A94 40 82 FF F8 */ bne lbl_802B7B2C -/* 802B7B38 002B4A98 28 03 00 00 */ cmplwi r3, 0 -/* 802B7B3C 002B4A9C 41 82 00 08 */ beq lbl_802B7B44 -/* 802B7B40 002B4AA0 48 05 DD F1 */ bl Free__7CMemoryFPCv -lbl_802B7B44: -/* 802B7B44 002B4AA4 80 1D 00 04 */ lwz r0, 4(r29) -/* 802B7B48 002B4AA8 2C 00 00 00 */ cmpwi r0, 0 -/* 802B7B4C 002B4AAC 41 82 00 B8 */ beq lbl_802B7C04 -/* 802B7B50 002B4AB0 80 1C 03 04 */ lwz r0, 0x304(r28) -/* 802B7B54 002B4AB4 7F 43 D3 78 */ mr r3, r26 -/* 802B7B58 002B4AB8 38 AD 9A E8 */ addi r5, r13, lbl_805A86A8@sda21 -/* 802B7B5C 002B4ABC 7C 9E 01 D6 */ mullw r4, r30, r0 -/* 802B7B60 002B4AC0 4B FF 6D 69 */ bl sub_802ae8c8 -/* 802B7B64 002B4AC4 3B 00 00 00 */ li r24, 0 -/* 802B7B68 002B4AC8 3A C0 00 00 */ li r22, 0 -/* 802B7B6C 002B4ACC 7F 17 C3 78 */ mr r23, r24 -/* 802B7B70 002B4AD0 48 00 00 84 */ b lbl_802B7BF4 -lbl_802B7B74: -/* 802B7B74 002B4AD4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 802B7B78 002B4AD8 7F 20 C2 14 */ add r25, r0, r24 -/* 802B7B7C 002B4ADC 7F 23 CB 78 */ mr r3, r25 -/* 802B7B80 002B4AE0 48 04 E7 55 */ bl GetRadius__6CLightCFv -/* 802B7B84 002B4AE4 C0 99 00 04 */ lfs f4, 4(r25) -/* 802B7B88 002B4AE8 38 61 00 60 */ addi r3, r1, 0x60 -/* 802B7B8C 002B4AEC C0 79 00 08 */ lfs f3, 8(r25) -/* 802B7B90 002B4AF0 38 81 00 34 */ addi r4, r1, 0x34 -/* 802B7B94 002B4AF4 C0 19 00 00 */ lfs f0, 0(r25) -/* 802B7B98 002B4AF8 EC C4 08 2A */ fadds f6, f4, f1 -/* 802B7B9C 002B4AFC EC A3 08 2A */ fadds f5, f3, f1 -/* 802B7BA0 002B4B00 38 A1 00 28 */ addi r5, r1, 0x28 -/* 802B7BA4 002B4B04 EC 40 08 2A */ fadds f2, f0, f1 -/* 802B7BA8 002B4B08 EC 84 08 28 */ fsubs f4, f4, f1 -/* 802B7BAC 002B4B0C D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 802B7BB0 002B4B10 EC 63 08 28 */ fsubs f3, f3, f1 -/* 802B7BB4 002B4B14 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802B7BB8 002B4B18 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802B7BBC 002B4B1C D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 802B7BC0 002B4B20 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802B7BC4 002B4B24 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802B7BC8 002B4B28 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 802B7BCC 002B4B2C 48 08 09 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802B7BD0 002B4B30 80 9A 00 0C */ lwz r4, 0xc(r26) -/* 802B7BD4 002B4B34 56 E0 10 3A */ slwi r0, r23, 2 -/* 802B7BD8 002B4B38 7F 63 DB 78 */ mr r3, r27 -/* 802B7BDC 002B4B3C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 802B7BE0 002B4B40 7C 84 02 14 */ add r4, r4, r0 -/* 802B7BE4 002B4B44 4B FF 6C 35 */ bl FindOverlappingModels__18CAreaRenderOctTreeFPUiRC6CAABox -/* 802B7BE8 002B4B48 7E F7 F2 14 */ add r23, r23, r30 -/* 802B7BEC 002B4B4C 3A D6 00 01 */ addi r22, r22, 1 -/* 802B7BF0 002B4B50 3B 18 00 50 */ addi r24, r24, 0x50 -lbl_802B7BF4: -/* 802B7BF4 002B4B54 80 1D 00 04 */ lwz r0, 4(r29) -/* 802B7BF8 002B4B58 7C 16 00 00 */ cmpw r22, r0 -/* 802B7BFC 002B4B5C 41 80 FF 78 */ blt lbl_802B7B74 -/* 802B7C00 002B4B60 48 0C D7 A9 */ bl OSGetTime -lbl_802B7C04: -/* 802B7C04 002B4B64 83 FF 00 04 */ lwz r31, 4(r31) -lbl_802B7C08: -/* 802B7C08 002B4B68 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 802B7C0C 002B4B6C 7C 1F 00 40 */ cmplw r31, r0 -/* 802B7C10 002B4B70 40 82 FE C0 */ bne lbl_802B7AD0 -/* 802B7C14 002B4B74 BA C1 00 78 */ lmw r22, 0x78(r1) -/* 802B7C18 002B4B78 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802B7C1C 002B4B7C 7C 08 03 A6 */ mtlr r0 -/* 802B7C20 002B4B80 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802B7C24 002B4B84 4E 80 00 20 */ blr - -.global sub_802b7c28 -sub_802b7c28: -/* 802B7C28 002B4B88 2C 05 FF FF */ cmpwi r5, -1 -/* 802B7C2C 002B4B8C 41 82 00 94 */ beq lbl_802B7CC0 -/* 802B7C30 002B4B90 80 E4 00 20 */ lwz r7, 0x20(r4) -/* 802B7C34 002B4B94 81 04 00 24 */ lwz r8, 0x24(r4) -/* 802B7C38 002B4B98 48 00 00 80 */ b lbl_802B7CB8 -lbl_802B7C3C: -/* 802B7C3C 002B4B9C 80 07 00 20 */ lwz r0, 0x20(r7) -/* 802B7C40 002B4BA0 7C 05 00 00 */ cmpw r5, r0 -/* 802B7C44 002B4BA4 40 82 00 70 */ bne lbl_802B7CB4 -/* 802B7C48 002B4BA8 80 87 00 1C */ lwz r4, 0x1c(r7) -/* 802B7C4C 002B4BAC 39 20 00 00 */ li r9, 0 -/* 802B7C50 002B4BB0 80 04 00 04 */ lwz r0, 4(r4) -/* 802B7C54 002B4BB4 80 84 00 0C */ lwz r4, 0xc(r4) -/* 802B7C58 002B4BB8 54 00 18 38 */ slwi r0, r0, 3 -/* 802B7C5C 002B4BBC 7C 04 02 14 */ add r0, r4, r0 -/* 802B7C60 002B4BC0 48 00 00 4C */ b lbl_802B7CAC -lbl_802B7C64: -/* 802B7C64 002B4BC4 7C 09 30 00 */ cmpw r9, r6 -/* 802B7C68 002B4BC8 40 82 00 3C */ bne lbl_802B7CA4 -/* 802B7C6C 002B4BCC 80 84 00 04 */ lwz r4, 4(r4) -/* 802B7C70 002B4BD0 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802B7C74 002B4BD4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802B7C78 002B4BD8 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802B7C7C 002B4BDC D0 03 00 04 */ stfs f0, 4(r3) -/* 802B7C80 002B4BE0 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 802B7C84 002B4BE4 D0 03 00 08 */ stfs f0, 8(r3) -/* 802B7C88 002B4BE8 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802B7C8C 002B4BEC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802B7C90 002B4BF0 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 802B7C94 002B4BF4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802B7C98 002B4BF8 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 802B7C9C 002B4BFC D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802B7CA0 002B4C00 4E 80 00 20 */ blr -lbl_802B7CA4: -/* 802B7CA4 002B4C04 38 84 00 08 */ addi r4, r4, 8 -/* 802B7CA8 002B4C08 39 29 00 01 */ addi r9, r9, 1 -lbl_802B7CAC: -/* 802B7CAC 002B4C0C 7C 04 00 40 */ cmplw r4, r0 -/* 802B7CB0 002B4C10 40 82 FF B4 */ bne lbl_802B7C64 -lbl_802B7CB4: -/* 802B7CB4 002B4C14 80 E7 00 04 */ lwz r7, 4(r7) -lbl_802B7CB8: -/* 802B7CB8 002B4C18 7C 07 40 40 */ cmplw r7, r8 -/* 802B7CBC 002B4C1C 40 82 FF 80 */ bne lbl_802B7C3C -lbl_802B7CC0: -/* 802B7CC0 002B4C20 3C 80 80 5A */ lis r4, lbl_805A6784@ha -/* 802B7CC4 002B4C24 C4 04 67 84 */ lfsu f0, lbl_805A6784@l(r4) -/* 802B7CC8 002B4C28 D0 03 00 00 */ stfs f0, 0(r3) -/* 802B7CCC 002B4C2C C0 04 00 04 */ lfs f0, 4(r4) -/* 802B7CD0 002B4C30 D0 03 00 04 */ stfs f0, 4(r3) -/* 802B7CD4 002B4C34 C0 04 00 08 */ lfs f0, 8(r4) -/* 802B7CD8 002B4C38 D0 03 00 08 */ stfs f0, 8(r3) -/* 802B7CDC 002B4C3C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802B7CE0 002B4C40 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802B7CE4 002B4C44 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802B7CE8 002B4C48 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802B7CEC 002B4C4C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802B7CF0 002B4C50 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802B7CF4 002B4C54 4E 80 00 20 */ blr - -.global SetWorldLightFadeLevel__13CCubeRendererFf -SetWorldLightFadeLevel__13CCubeRendererFf: -/* 802B7CF8 002B4C58 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) -/* 802B7CFC 002B4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B7D00 002B4C60 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802B7D04 002B4C64 F0 21 A0 08 */ psq_st f1, 8(r1), 1, qr2 -/* 802B7D08 002B4C68 38 00 00 FF */ li r0, 0xff -/* 802B7D0C 002B4C6C 88 81 00 08 */ lbz r4, 8(r1) -/* 802B7D10 002B4C70 98 01 00 0F */ stb r0, 0xf(r1) -/* 802B7D14 002B4C74 98 81 00 0C */ stb r4, 0xc(r1) -/* 802B7D18 002B4C78 98 81 00 0D */ stb r4, 0xd(r1) -/* 802B7D1C 002B4C7C 98 81 00 0E */ stb r4, 0xe(r1) -/* 802B7D20 002B4C80 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802B7D24 002B4C84 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 802B7D28 002B4C88 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B7D2C 002B4C8C 4E 80 00 20 */ blr - -.global SetGXRegister1Color__13CCubeRendererFRC6CColor -SetGXRegister1Color__13CCubeRendererFRC6CColor: -/* 802B7D30 002B4C90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B7D34 002B4C94 7C 08 02 A6 */ mflr r0 -/* 802B7D38 002B4C98 38 60 00 02 */ li r3, 2 -/* 802B7D3C 002B4C9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B7D40 002B4CA0 80 04 00 00 */ lwz r0, 0(r4) -/* 802B7D44 002B4CA4 38 81 00 08 */ addi r4, r1, 8 -/* 802B7D48 002B4CA8 90 01 00 08 */ stw r0, 8(r1) -/* 802B7D4C 002B4CAC 48 0C 38 B1 */ bl GXSetTevColor -/* 802B7D50 002B4CB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B7D54 002B4CB4 7C 08 03 A6 */ mtlr r0 -/* 802B7D58 002B4CB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B7D5C 002B4CBC 4E 80 00 20 */ blr - -.global SetThermalColdScale__13CCubeRendererFf -SetThermalColdScale__13CCubeRendererFf: -/* 802B7D60 002B4CC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B7D64 002B4CC4 7C 08 02 A6 */ mflr r0 -/* 802B7D68 002B4CC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B7D6C 002B4CCC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802B7D70 002B4CD0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802B7D74 002B4CD4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B7D78 002B4CD8 D0 21 00 08 */ stfs f1, 8(r1) -/* 802B7D7C 002B4CDC 7C 7F 1B 78 */ mr r31, r3 -/* 802B7D80 002B4CE0 38 81 00 08 */ addi r4, r1, 8 -/* 802B7D84 002B4CE4 38 6D 9A E0 */ addi r3, r13, lbl_805A86A0@sda21 -/* 802B7D88 002B4CE8 38 AD 9A E4 */ addi r5, r13, lbl_805A86A4@sda21 -/* 802B7D8C 002B4CEC 4B D5 45 29 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802B7D90 002B4CF0 C0 23 00 00 */ lfs f1, 0(r3) -/* 802B7D94 002B4CF4 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) -/* 802B7D98 002B4CF8 EF E0 00 72 */ fmuls f31, f0, f1 -/* 802B7D9C 002B4CFC F3 E1 A0 0C */ psq_st f31, 12(r1), 1, qr2 -/* 802B7DA0 002B4D00 88 01 00 0C */ lbz r0, 0xc(r1) -/* 802B7DA4 002B4D04 98 1F 02 F8 */ stb r0, 0x2f8(r31) -/* 802B7DA8 002B4D08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802B7DAC 002B4D0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B7DB0 002B4D10 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802B7DB4 002B4D14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B7DB8 002B4D18 7C 08 03 A6 */ mtlr r0 -/* 802B7DBC 002B4D1C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B7DC0 002B4D20 4E 80 00 20 */ blr - -.global DrawAreaGeometry__13CCubeRendererFiii -DrawAreaGeometry__13CCubeRendererFiii: -/* 802B7DC4 002B4D24 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802B7DC8 002B4D28 7C 08 02 A6 */ mflr r0 -/* 802B7DCC 002B4D2C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B7DD0 002B4D30 BE C1 00 18 */ stmw r22, 0x18(r1) -/* 802B7DD4 002B4D34 7C 97 23 78 */ mr r23, r4 -/* 802B7DD8 002B4D38 38 80 00 01 */ li r4, 1 -/* 802B7DDC 002B4D3C 7C 76 1B 78 */ mr r22, r3 -/* 802B7DE0 002B4D40 7C B8 2B 78 */ mr r24, r5 -/* 802B7DE4 002B4D44 7C D9 33 78 */ mr r25, r6 -/* 802B7DE8 002B4D48 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802B7DEC 002B4D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 802B7DF0 002B4D50 38 80 00 01 */ li r4, 1 -/* 802B7DF4 002B4D54 98 03 03 18 */ stb r0, 0x318(r3) -/* 802B7DF8 002B4D58 48 00 5A 39 */ bl SetupRendererStates__13CCubeRendererFb -/* 802B7DFC 002B4D5C 83 B6 00 20 */ lwz r29, 0x20(r22) -/* 802B7E00 002B4D60 48 00 01 64 */ b lbl_802B7F64 -lbl_802B7E04: -/* 802B7E04 002B4D64 2C 17 FF FF */ cmpwi r23, -1 -/* 802B7E08 002B4D68 41 82 00 10 */ beq lbl_802B7E18 -/* 802B7E0C 002B4D6C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 802B7E10 002B4D70 7C 17 00 00 */ cmpw r23, r0 -/* 802B7E14 002B4D74 40 82 01 4C */ bne lbl_802B7F60 -lbl_802B7E18: -/* 802B7E18 002B4D78 88 16 00 DC */ lbz r0, 0xdc(r22) -/* 802B7E1C 002B4D7C 83 FD 00 1C */ lwz r31, 0x1c(r29) -/* 802B7E20 002B4D80 28 00 00 00 */ cmplwi r0, 0 -/* 802B7E24 002B4D84 41 82 00 0C */ beq lbl_802B7E30 -/* 802B7E28 002B4D88 3B 76 00 C8 */ addi r27, r22, 0xc8 -/* 802B7E2C 002B4D8C 48 00 00 08 */ b lbl_802B7E34 -lbl_802B7E30: -/* 802B7E30 002B4D90 3B 60 00 00 */ li r27, 0 -lbl_802B7E34: -/* 802B7E34 002B4D94 80 76 00 E0 */ lwz r3, 0xe0(r22) -/* 802B7E38 002B4D98 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 802B7E3C 002B4D9C 7C 03 00 00 */ cmpw r3, r0 -/* 802B7E40 002B4DA0 41 82 00 08 */ beq lbl_802B7E48 -/* 802B7E44 002B4DA4 3B 60 00 00 */ li r27, 0 -lbl_802B7E48: -/* 802B7E48 002B4DA8 83 9F 00 0C */ lwz r28, 0xc(r31) -/* 802B7E4C 002B4DAC 3B 40 00 00 */ li r26, 0 -/* 802B7E50 002B4DB0 48 00 00 F8 */ b lbl_802B7F48 -lbl_802B7E54: -/* 802B7E54 002B4DB4 28 1B 00 00 */ cmplwi r27, 0 -/* 802B7E58 002B4DB8 83 DC 00 04 */ lwz r30, 4(r28) -/* 802B7E5C 002B4DBC 41 82 00 40 */ beq lbl_802B7E9C -/* 802B7E60 002B4DC0 7F 63 DB 78 */ mr r3, r27 -/* 802B7E64 002B4DC4 7F 44 D3 78 */ mr r4, r26 -/* 802B7E68 002B4DC8 48 05 E4 71 */ bl GetVisible__10CPVSVisSetCFi -/* 802B7E6C 002B4DCC 80 96 00 C4 */ lwz r4, 0xc4(r22) -/* 802B7E70 002B4DD0 7C 03 00 D0 */ neg r0, r3 -/* 802B7E74 002B4DD4 7C 00 1B 78 */ or r0, r0, r3 -/* 802B7E78 002B4DD8 2C 04 00 01 */ cmpwi r4, 1 -/* 802B7E7C 002B4DDC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802B7E80 002B4DE0 40 82 00 0C */ bne lbl_802B7E8C -/* 802B7E84 002B4DE4 28 00 00 00 */ cmplwi r0, 0 -/* 802B7E88 002B4DE8 41 82 00 B8 */ beq lbl_802B7F40 -lbl_802B7E8C: -/* 802B7E8C 002B4DEC 2C 04 00 02 */ cmpwi r4, 2 -/* 802B7E90 002B4DF0 40 82 00 0C */ bne lbl_802B7E9C -/* 802B7E94 002B4DF4 28 00 00 00 */ cmplwi r0, 0 -/* 802B7E98 002B4DF8 40 82 00 A8 */ bne lbl_802B7F40 -lbl_802B7E9C: -/* 802B7E9C 002B4DFC 88 1E 00 41 */ lbz r0, 0x41(r30) -/* 802B7EA0 002B4E00 7F 00 00 38 */ and r0, r24, r0 -/* 802B7EA4 002B4E04 7C 19 00 40 */ cmplw r25, r0 -/* 802B7EA8 002B4E08 40 82 00 98 */ bne lbl_802B7F40 -/* 802B7EAC 002B4E0C 38 76 00 44 */ addi r3, r22, 0x44 -/* 802B7EB0 002B4E10 38 9E 00 20 */ addi r4, r30, 0x20 -/* 802B7EB4 002B4E14 48 08 D3 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 802B7EB8 002B4E18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B7EBC 002B4E1C 41 82 00 84 */ beq lbl_802B7F40 -/* 802B7EC0 002B4E20 88 1E 00 41 */ lbz r0, 0x41(r30) -/* 802B7EC4 002B4E24 7F 00 00 38 */ and r0, r24, r0 -/* 802B7EC8 002B4E28 7C 19 00 40 */ cmplw r25, r0 -/* 802B7ECC 002B4E2C 40 82 00 74 */ bne lbl_802B7F40 -/* 802B7ED0 002B4E30 7F C3 F3 78 */ mr r3, r30 -/* 802B7ED4 002B4E34 48 04 F7 4D */ bl SetArraysCurrent__10CCubeModelCFv -/* 802B7ED8 002B4E38 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802B7EDC 002B4E3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B7EE0 002B4E40 48 00 00 20 */ b lbl_802B7F00 -lbl_802B7EE4: -/* 802B7EE4 002B4E44 7F C3 F3 78 */ mr r3, r30 -/* 802B7EE8 002B4E48 38 81 00 0C */ addi r4, r1, 0xc -/* 802B7EEC 002B4E4C 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 -/* 802B7EF0 002B4E50 48 04 F5 55 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 802B7EF4 002B4E54 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802B7EF8 002B4E58 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802B7EFC 002B4E5C 90 01 00 0C */ stw r0, 0xc(r1) -lbl_802B7F00: -/* 802B7F00 002B4E60 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802B7F04 002B4E64 28 00 00 00 */ cmplwi r0, 0 -/* 802B7F08 002B4E68 40 82 FF DC */ bne lbl_802B7EE4 -/* 802B7F0C 002B4E6C 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 802B7F10 002B4E70 90 01 00 08 */ stw r0, 8(r1) -/* 802B7F14 002B4E74 48 00 00 20 */ b lbl_802B7F34 -lbl_802B7F18: -/* 802B7F18 002B4E78 7F C3 F3 78 */ mr r3, r30 -/* 802B7F1C 002B4E7C 38 81 00 08 */ addi r4, r1, 8 -/* 802B7F20 002B4E80 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 -/* 802B7F24 002B4E84 48 04 F5 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 802B7F28 002B4E88 80 61 00 08 */ lwz r3, 8(r1) -/* 802B7F2C 002B4E8C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802B7F30 002B4E90 90 01 00 08 */ stw r0, 8(r1) -lbl_802B7F34: -/* 802B7F34 002B4E94 80 01 00 08 */ lwz r0, 8(r1) -/* 802B7F38 002B4E98 28 00 00 00 */ cmplwi r0, 0 -/* 802B7F3C 002B4E9C 40 82 FF DC */ bne lbl_802B7F18 -lbl_802B7F40: -/* 802B7F40 002B4EA0 3B 9C 00 08 */ addi r28, r28, 8 -/* 802B7F44 002B4EA4 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802B7F48: -/* 802B7F48 002B4EA8 80 1F 00 04 */ lwz r0, 4(r31) -/* 802B7F4C 002B4EAC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802B7F50 002B4EB0 54 00 18 38 */ slwi r0, r0, 3 -/* 802B7F54 002B4EB4 7C 03 02 14 */ add r0, r3, r0 -/* 802B7F58 002B4EB8 7C 1C 00 40 */ cmplw r28, r0 -/* 802B7F5C 002B4EBC 40 82 FE F8 */ bne lbl_802B7E54 -lbl_802B7F60: -/* 802B7F60 002B4EC0 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802B7F64: -/* 802B7F64 002B4EC4 80 16 00 24 */ lwz r0, 0x24(r22) -/* 802B7F68 002B4EC8 7C 1D 00 40 */ cmplw r29, r0 -/* 802B7F6C 002B4ECC 40 82 FE 98 */ bne lbl_802B7E04 -/* 802B7F70 002B4ED0 7E C3 B3 78 */ mr r3, r22 -/* 802B7F74 002B4ED4 48 00 58 29 */ bl SetupCGraphicsStates__13CCubeRendererFv -/* 802B7F78 002B4ED8 88 16 03 18 */ lbz r0, 0x318(r22) -/* 802B7F7C 002B4EDC 38 60 00 00 */ li r3, 0 -/* 802B7F80 002B4EE0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 802B7F84 002B4EE4 98 16 03 18 */ stb r0, 0x318(r22) -/* 802B7F88 002B4EE8 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 802B7F8C 002B4EEC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802B7F90 002B4EF0 7C 08 03 A6 */ mtlr r0 -/* 802B7F94 002B4EF4 38 21 00 40 */ addi r1, r1, 0x40 -/* 802B7F98 002B4EF8 4E 80 00 20 */ blr - -.global DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf -DrawModelFlat__13CCubeRendererFRC6CModelRC11CModelFlagsbPCfPCf: -/* 802B7F9C 002B4EFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B7FA0 002B4F00 7C 08 02 A6 */ mflr r0 -/* 802B7FA4 002B4F04 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B7FA8 002B4F08 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802B7FAC 002B4F0C 7C BC 2B 78 */ mr r28, r5 -/* 802B7FB0 002B4F10 7C 9B 23 78 */ mr r27, r4 -/* 802B7FB4 002B4F14 7C DD 33 78 */ mr r29, r6 -/* 802B7FB8 002B4F18 7C FE 3B 78 */ mr r30, r7 -/* 802B7FBC 002B4F1C 7D 1F 43 78 */ mr r31, r8 -/* 802B7FC0 002B4F20 88 05 00 00 */ lbz r0, 0(r5) -/* 802B7FC4 002B4F24 7C 00 07 74 */ extsb r0, r0 -/* 802B7FC8 002B4F28 2C 00 00 06 */ cmpwi r0, 6 -/* 802B7FCC 002B4F2C 40 81 00 1C */ ble lbl_802B7FE8 -/* 802B7FD0 002B4F30 38 60 00 01 */ li r3, 1 -/* 802B7FD4 002B4F34 38 80 00 04 */ li r4, 4 -/* 802B7FD8 002B4F38 38 A0 00 01 */ li r5, 1 -/* 802B7FDC 002B4F3C 38 C0 00 00 */ li r6, 0 -/* 802B7FE0 002B4F40 48 05 08 F1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B7FE4 002B4F44 48 00 00 38 */ b lbl_802B801C -lbl_802B7FE8: -/* 802B7FE8 002B4F48 2C 00 00 04 */ cmpwi r0, 4 -/* 802B7FEC 002B4F4C 40 81 00 1C */ ble lbl_802B8008 -/* 802B7FF0 002B4F50 38 60 00 01 */ li r3, 1 -/* 802B7FF4 002B4F54 38 80 00 04 */ li r4, 4 -/* 802B7FF8 002B4F58 38 A0 00 05 */ li r5, 5 -/* 802B7FFC 002B4F5C 38 C0 00 00 */ li r6, 0 -/* 802B8000 002B4F60 48 05 08 D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B8004 002B4F64 48 00 00 18 */ b lbl_802B801C -lbl_802B8008: -/* 802B8008 002B4F68 38 60 00 01 */ li r3, 1 -/* 802B800C 002B4F6C 38 80 00 01 */ li r4, 1 -/* 802B8010 002B4F70 38 A0 00 00 */ li r5, 0 -/* 802B8014 002B4F74 38 C0 00 00 */ li r6, 0 -/* 802B8018 002B4F78 48 05 08 B9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -lbl_802B801C: -/* 802B801C 002B4F7C A0 BC 00 02 */ lhz r5, 2(r28) -/* 802B8020 002B4F80 38 60 00 01 */ li r3, 1 -/* 802B8024 002B4F84 38 80 00 07 */ li r4, 7 -/* 802B8028 002B4F88 54 A0 07 FF */ clrlwi. r0, r5, 0x1f -/* 802B802C 002B4F8C 41 82 00 08 */ beq lbl_802B8034 -/* 802B8030 002B4F90 38 80 00 03 */ li r4, 3 -lbl_802B8034: -/* 802B8034 002B4F94 54 A5 FF FE */ rlwinm r5, r5, 0x1f, 0x1f, 0x1f -/* 802B8038 002B4F98 48 05 08 45 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B803C 002B4F9C 38 60 00 01 */ li r3, 1 -/* 802B8040 002B4FA0 48 05 0C 51 */ bl SetNumTevStages__3CGXFUc -/* 802B8044 002B4FA4 38 60 00 01 */ li r3, 1 -/* 802B8048 002B4FA8 48 05 0D CD */ bl SetNumTexGens__3CGXFUc -/* 802B804C 002B4FAC 38 60 00 00 */ li r3, 0 -/* 802B8050 002B4FB0 48 05 0E 01 */ bl SetNumChans__3CGXFUc -/* 802B8054 002B4FB4 38 60 00 00 */ li r3, 0 -/* 802B8058 002B4FB8 48 05 06 39 */ bl SetNumIndStages__3CGXFUc -/* 802B805C 002B4FBC 38 60 00 07 */ li r3, 7 -/* 802B8060 002B4FC0 38 80 00 00 */ li r4, 0 -/* 802B8064 002B4FC4 38 A0 00 00 */ li r5, 0 -/* 802B8068 002B4FC8 38 C0 00 07 */ li r6, 7 -/* 802B806C 002B4FCC 38 E0 00 00 */ li r7, 0 -/* 802B8070 002B4FD0 48 05 07 A5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B8074 002B4FD4 38 60 00 00 */ li r3, 0 -/* 802B8078 002B4FD8 38 80 00 0F */ li r4, 0xf -/* 802B807C 002B4FDC 38 A0 00 0F */ li r5, 0xf -/* 802B8080 002B4FE0 38 C0 00 0F */ li r6, 0xf -/* 802B8084 002B4FE4 38 E0 00 0E */ li r7, 0xe -/* 802B8088 002B4FE8 48 05 0B 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B808C 002B4FEC 38 60 00 00 */ li r3, 0 -/* 802B8090 002B4FF0 38 80 00 07 */ li r4, 7 -/* 802B8094 002B4FF4 38 A0 00 07 */ li r5, 7 -/* 802B8098 002B4FF8 38 C0 00 07 */ li r6, 7 -/* 802B809C 002B4FFC 38 E0 00 06 */ li r7, 6 -/* 802B80A0 002B5000 48 05 0A F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B80A4 002B5004 38 9C 00 04 */ addi r4, r28, 4 -/* 802B80A8 002B5008 38 60 00 00 */ li r3, 0 -/* 802B80AC 002B500C 48 05 0B 99 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B80B0 002B5010 38 60 00 00 */ li r3, 0 -/* 802B80B4 002B5014 38 80 00 0C */ li r4, 0xc -/* 802B80B8 002B5018 48 05 09 29 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802B80BC 002B501C 38 60 00 00 */ li r3, 0 -/* 802B80C0 002B5020 38 80 00 1C */ li r4, 0x1c -/* 802B80C4 002B5024 48 05 08 D9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802B80C8 002B5028 38 60 00 00 */ li r3, 0 -/* 802B80CC 002B502C 38 80 00 FF */ li r4, 0xff -/* 802B80D0 002B5030 38 A0 00 FF */ li r5, 0xff -/* 802B80D4 002B5034 38 C0 00 FF */ li r6, 0xff -/* 802B80D8 002B5038 48 05 08 75 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B80DC 002B503C 38 60 00 00 */ li r3, 0 -/* 802B80E0 002B5040 48 04 FB 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B80E4 002B5044 38 60 00 00 */ li r3, 0 -/* 802B80E8 002B5048 48 05 06 5D */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802B80EC 002B504C 38 60 00 00 */ li r3, 0 -/* 802B80F0 002B5050 38 80 00 01 */ li r4, 1 -/* 802B80F4 002B5054 38 A0 00 00 */ li r5, 0 -/* 802B80F8 002B5058 38 C0 00 3C */ li r6, 0x3c -/* 802B80FC 002B505C 38 E0 00 00 */ li r7, 0 -/* 802B8100 002B5060 39 00 00 7D */ li r8, 0x7d -/* 802B8104 002B5064 48 05 05 C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B8108 002B5068 7F 63 DB 78 */ mr r3, r27 -/* 802B810C 002B506C 48 09 D0 15 */ bl UpdateLastFrame__6CModelFv -/* 802B8110 002B5070 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802B8114 002B5074 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 802B8118 002B5078 7F C4 F3 78 */ mr r4, r30 -/* 802B811C 002B507C 7F E5 FB 78 */ mr r5, r31 -/* 802B8120 002B5080 38 C0 00 02 */ li r6, 2 -/* 802B8124 002B5084 41 82 00 08 */ beq lbl_802B812C -/* 802B8128 002B5088 38 C0 00 00 */ li r6, 0 -lbl_802B812C: -/* 802B812C 002B508C 48 04 E8 C5 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 802B8130 002B5090 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802B8134 002B5094 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B8138 002B5098 7C 08 03 A6 */ mtlr r0 -/* 802B813C 002B509C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B8140 002B50A0 4E 80 00 20 */ blr - -.global DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf -DrawModelDisintegrate__13CCubeRendererFRC6CModelRC8CTextureRC6CColorPCfPCf: -/* 802B8144 002B50A4 94 21 FD 90 */ stwu r1, -0x270(r1) -/* 802B8148 002B50A8 7C 08 02 A6 */ mflr r0 -/* 802B814C 002B50AC 90 01 02 74 */ stw r0, 0x274(r1) -/* 802B8150 002B50B0 DB E1 02 60 */ stfd f31, 0x260(r1) -/* 802B8154 002B50B4 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 -/* 802B8158 002B50B8 DB C1 02 50 */ stfd f30, 0x250(r1) -/* 802B815C 002B50BC F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 -/* 802B8160 002B50C0 DB A1 02 40 */ stfd f29, 0x240(r1) -/* 802B8164 002B50C4 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 -/* 802B8168 002B50C8 DB 81 02 30 */ stfd f28, 0x230(r1) -/* 802B816C 002B50CC F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 -/* 802B8170 002B50D0 BD E1 01 EC */ stmw r15, 0x1ec(r1) -/* 802B8174 002B50D4 FF E0 08 90 */ fmr f31, f1 -/* 802B8178 002B50D8 7C 9D 23 78 */ mr r29, r4 -/* 802B817C 002B50DC 7C A3 2B 78 */ mr r3, r5 -/* 802B8180 002B50E0 7C CF 33 78 */ mr r15, r6 -/* 802B8184 002B50E4 7C FE 3B 78 */ mr r30, r7 -/* 802B8188 002B50E8 7D 1F 43 78 */ mr r31, r8 -/* 802B818C 002B50EC 38 80 00 00 */ li r4, 0 -/* 802B8190 002B50F0 38 A0 00 00 */ li r5, 0 -/* 802B8194 002B50F4 48 05 75 A9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B8198 002B50F8 38 60 00 00 */ li r3, 0 -/* 802B819C 002B50FC 48 05 04 F5 */ bl SetNumIndStages__3CGXFUc -/* 802B81A0 002B5100 38 60 00 02 */ li r3, 2 -/* 802B81A4 002B5104 48 05 0A ED */ bl SetNumTevStages__3CGXFUc -/* 802B81A8 002B5108 38 60 00 02 */ li r3, 2 -/* 802B81AC 002B510C 48 05 0C 69 */ bl SetNumTexGens__3CGXFUc -/* 802B81B0 002B5110 38 60 00 00 */ li r3, 0 -/* 802B81B4 002B5114 48 05 0C 9D */ bl SetNumChans__3CGXFUc -/* 802B81B8 002B5118 38 60 00 01 */ li r3, 1 -/* 802B81BC 002B511C 38 80 00 04 */ li r4, 4 -/* 802B81C0 002B5120 38 A0 00 05 */ li r5, 5 -/* 802B81C4 002B5124 38 C0 00 00 */ li r6, 0 -/* 802B81C8 002B5128 48 05 07 09 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B81CC 002B512C 38 60 00 00 */ li r3, 0 -/* 802B81D0 002B5130 48 04 FA 81 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B81D4 002B5134 38 60 00 01 */ li r3, 1 -/* 802B81D8 002B5138 48 04 FA 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B81DC 002B513C 38 60 00 00 */ li r3, 0 -/* 802B81E0 002B5140 38 80 00 0F */ li r4, 0xf -/* 802B81E4 002B5144 38 A0 00 0F */ li r5, 0xf -/* 802B81E8 002B5148 38 C0 00 0F */ li r6, 0xf -/* 802B81EC 002B514C 38 E0 00 08 */ li r7, 8 -/* 802B81F0 002B5150 48 05 09 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B81F4 002B5154 38 60 00 00 */ li r3, 0 -/* 802B81F8 002B5158 38 80 00 07 */ li r4, 7 -/* 802B81FC 002B515C 38 A0 00 07 */ li r5, 7 -/* 802B8200 002B5160 38 C0 00 07 */ li r6, 7 -/* 802B8204 002B5164 38 E0 00 04 */ li r7, 4 -/* 802B8208 002B5168 48 05 09 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B820C 002B516C 38 60 00 01 */ li r3, 1 -/* 802B8210 002B5170 38 80 00 0F */ li r4, 0xf -/* 802B8214 002B5174 38 A0 00 08 */ li r5, 8 -/* 802B8218 002B5178 38 C0 00 00 */ li r6, 0 -/* 802B821C 002B517C 38 E0 00 0E */ li r7, 0xe -/* 802B8220 002B5180 48 05 09 CD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B8224 002B5184 38 60 00 01 */ li r3, 1 -/* 802B8228 002B5188 38 80 00 07 */ li r4, 7 -/* 802B822C 002B518C 38 A0 00 04 */ li r5, 4 -/* 802B8230 002B5190 38 C0 00 00 */ li r6, 0 -/* 802B8234 002B5194 38 E0 00 07 */ li r7, 7 -/* 802B8238 002B5198 48 05 09 5D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B823C 002B519C 38 60 00 00 */ li r3, 0 -/* 802B8240 002B51A0 38 80 00 00 */ li r4, 0 -/* 802B8244 002B51A4 38 A0 00 00 */ li r5, 0 -/* 802B8248 002B51A8 38 C0 00 FF */ li r6, 0xff -/* 802B824C 002B51AC 48 05 07 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B8250 002B51B0 38 60 00 01 */ li r3, 1 -/* 802B8254 002B51B4 38 80 00 01 */ li r4, 1 -/* 802B8258 002B51B8 38 A0 00 00 */ li r5, 0 -/* 802B825C 002B51BC 38 C0 00 FF */ li r6, 0xff -/* 802B8260 002B51C0 48 05 06 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B8264 002B51C4 38 60 00 01 */ li r3, 1 -/* 802B8268 002B51C8 38 80 00 0C */ li r4, 0xc -/* 802B826C 002B51CC 48 05 07 75 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802B8270 002B51D0 7D E4 7B 78 */ mr r4, r15 -/* 802B8274 002B51D4 38 60 00 00 */ li r3, 0 -/* 802B8278 002B51D8 48 05 09 CD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B827C 002B51DC C0 02 C2 BC */ lfs f0, lbl_805ADFDC@sda21(r2) -/* 802B8280 002B51E0 38 61 01 20 */ addi r3, r1, 0x120 -/* 802B8284 002B51E4 80 BD 00 28 */ lwz r5, 0x28(r29) -/* 802B8288 002B51E8 38 81 00 08 */ addi r4, r1, 8 -/* 802B828C 002B51EC D0 01 00 08 */ stfs f0, 8(r1) -/* 802B8290 002B51F0 39 E5 00 20 */ addi r15, r5, 0x20 -/* 802B8294 002B51F4 48 05 B6 AD */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 802B8298 002B51F8 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 802B829C 002B51FC 38 81 01 20 */ addi r4, r1, 0x120 -/* 802B82A0 002B5200 48 05 A8 D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B82A4 002B5204 7D E4 7B 78 */ mr r4, r15 -/* 802B82A8 002B5208 38 61 00 30 */ addi r3, r1, 0x30 -/* 802B82AC 002B520C 38 A1 01 B0 */ addi r5, r1, 0x1b0 -/* 802B82B0 002B5210 48 07 F6 4D */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802B82B4 002B5214 C1 01 00 30 */ lfs f8, 0x30(r1) -/* 802B82B8 002B5218 38 61 00 60 */ addi r3, r1, 0x60 -/* 802B82BC 002B521C C0 E1 00 34 */ lfs f7, 0x34(r1) -/* 802B82C0 002B5220 38 81 00 0C */ addi r4, r1, 0xc -/* 802B82C4 002B5224 C0 C1 00 38 */ lfs f6, 0x38(r1) -/* 802B82C8 002B5228 FC 40 40 50 */ fneg f2, f8 -/* 802B82CC 002B522C C0 A1 00 3C */ lfs f5, 0x3c(r1) -/* 802B82D0 002B5230 FC 20 38 50 */ fneg f1, f7 -/* 802B82D4 002B5234 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 802B82D8 002B5238 FC 00 30 50 */ fneg f0, f6 -/* 802B82DC 002B523C C0 61 00 44 */ lfs f3, 0x44(r1) -/* 802B82E0 002B5240 EF 85 40 28 */ fsubs f28, f5, f8 -/* 802B82E4 002B5244 D1 01 00 48 */ stfs f8, 0x48(r1) -/* 802B82E8 002B5248 EF A4 38 28 */ fsubs f29, f4, f7 -/* 802B82EC 002B524C EF C3 30 28 */ fsubs f30, f3, f6 -/* 802B82F0 002B5250 D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 802B82F4 002B5254 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 802B82F8 002B5258 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 802B82FC 002B525C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 802B8300 002B5260 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 802B8304 002B5264 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802B8308 002B5268 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802B830C 002B526C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802B8310 002B5270 48 05 AE 31 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802B8314 002B5274 C0 02 C2 C0 */ lfs f0, lbl_805ADFE0@sda21(r2) -/* 802B8318 002B5278 38 61 00 90 */ addi r3, r1, 0x90 -/* 802B831C 002B527C EC 20 E0 24 */ fdivs f1, f0, f28 -/* 802B8320 002B5280 EC 40 E8 24 */ fdivs f2, f0, f29 -/* 802B8324 002B5284 EC 60 F0 24 */ fdivs f3, f0, f30 -/* 802B8328 002B5288 48 05 AE E1 */ bl Scale__12CTransform4fFfff -/* 802B832C 002B528C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802B8330 002B5290 38 81 00 90 */ addi r4, r1, 0x90 -/* 802B8334 002B5294 38 A1 00 60 */ addi r5, r1, 0x60 -/* 802B8338 002B5298 48 05 A6 19 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B833C 002B529C 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 802B8340 002B52A0 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 802B8344 002B52A4 38 A1 01 B0 */ addi r5, r1, 0x1b0 -/* 802B8348 002B52A8 48 05 A6 09 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802B834C 002B52AC 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 802B8350 002B52B0 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 802B8354 002B52B4 48 05 A7 ED */ bl __as__12CTransform4fFRC12CTransform4f -/* 802B8358 002B52B8 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 802B835C 002B52BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 802B8360 002B52C0 38 A1 01 B0 */ addi r5, r1, 0x1b0 -/* 802B8364 002B52C4 38 84 00 20 */ addi r4, r4, 0x20 -/* 802B8368 002B52C8 48 07 F5 95 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802B836C 002B52CC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B8370 002B52D0 3C 60 80 3D */ lis r3, lbl_803D6734@ha -/* 802B8374 002B52D4 39 03 67 34 */ addi r8, r3, lbl_803D6734@l -/* 802B8378 002B52D8 3C 60 80 3D */ lis r3, lbl_803D6764@ha -/* 802B837C 002B52DC EC 01 F8 28 */ fsubs f0, f1, f31 -/* 802B8380 002B52E0 3A E3 67 64 */ addi r23, r3, lbl_803D6764@l -/* 802B8384 002B52E4 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 802B8388 002B52E8 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 802B838C 002B52EC 80 08 00 1C */ lwz r0, 0x1c(r8) -/* 802B8390 002B52F0 38 80 00 1E */ li r4, 0x1e -/* 802B8394 002B52F4 FC 00 00 50 */ fneg f0, f0 -/* 802B8398 002B52F8 C0 42 C2 C4 */ lfs f2, lbl_805ADFE4@sda21(r2) -/* 802B839C 002B52FC 83 77 00 0C */ lwz r27, 0xc(r23) -/* 802B83A0 002B5300 38 A0 00 00 */ li r5, 0 -/* 802B83A4 002B5304 80 F7 00 1C */ lwz r7, 0x1c(r23) -/* 802B83A8 002B5308 90 C1 01 8C */ stw r6, 0x18c(r1) -/* 802B83AC 002B530C 80 C8 00 00 */ lwz r6, 0(r8) -/* 802B83B0 002B5310 EC 42 08 3A */ fmadds f2, f2, f0, f1 -/* 802B83B4 002B5314 90 01 01 9C */ stw r0, 0x19c(r1) -/* 802B83B8 002B5318 80 08 00 04 */ lwz r0, 4(r8) -/* 802B83BC 002B531C 90 E1 01 6C */ stw r7, 0x16c(r1) -/* 802B83C0 002B5320 81 E8 00 08 */ lwz r15, 8(r8) -/* 802B83C4 002B5324 82 08 00 10 */ lwz r16, 0x10(r8) -/* 802B83C8 002B5328 82 28 00 14 */ lwz r17, 0x14(r8) -/* 802B83CC 002B532C 82 48 00 18 */ lwz r18, 0x18(r8) -/* 802B83D0 002B5330 82 68 00 20 */ lwz r19, 0x20(r8) -/* 802B83D4 002B5334 82 88 00 24 */ lwz r20, 0x24(r8) -/* 802B83D8 002B5338 82 A8 00 28 */ lwz r21, 0x28(r8) -/* 802B83DC 002B533C 82 C8 00 2C */ lwz r22, 0x2c(r8) -/* 802B83E0 002B5340 83 17 00 00 */ lwz r24, 0(r23) -/* 802B83E4 002B5344 83 37 00 04 */ lwz r25, 4(r23) -/* 802B83E8 002B5348 83 57 00 08 */ lwz r26, 8(r23) -/* 802B83EC 002B534C 83 97 00 10 */ lwz r28, 0x10(r23) -/* 802B83F0 002B5350 81 97 00 14 */ lwz r12, 0x14(r23) -/* 802B83F4 002B5354 81 77 00 18 */ lwz r11, 0x18(r23) -/* 802B83F8 002B5358 81 57 00 20 */ lwz r10, 0x20(r23) -/* 802B83FC 002B535C 81 37 00 24 */ lwz r9, 0x24(r23) -/* 802B8400 002B5360 81 17 00 28 */ lwz r8, 0x28(r23) -/* 802B8404 002B5364 80 F7 00 2C */ lwz r7, 0x2c(r23) -/* 802B8408 002B5368 C0 22 C2 C8 */ lfs f1, lbl_805ADFE8@sda21(r2) -/* 802B840C 002B536C C0 02 C2 CC */ lfs f0, lbl_805ADFEC@sda21(r2) -/* 802B8410 002B5370 93 61 01 5C */ stw r27, 0x15c(r1) -/* 802B8414 002B5374 EC 01 07 F8 */ fmsubs f0, f1, f31, f0 -/* 802B8418 002B5378 90 C1 01 80 */ stw r6, 0x180(r1) -/* 802B841C 002B537C 90 01 01 84 */ stw r0, 0x184(r1) -/* 802B8420 002B5380 91 E1 01 88 */ stw r15, 0x188(r1) -/* 802B8424 002B5384 92 01 01 90 */ stw r16, 0x190(r1) -/* 802B8428 002B5388 92 21 01 94 */ stw r17, 0x194(r1) -/* 802B842C 002B538C 92 41 01 98 */ stw r18, 0x198(r1) -/* 802B8430 002B5390 92 61 01 A0 */ stw r19, 0x1a0(r1) -/* 802B8434 002B5394 92 81 01 A4 */ stw r20, 0x1a4(r1) -/* 802B8438 002B5398 92 A1 01 A8 */ stw r21, 0x1a8(r1) -/* 802B843C 002B539C 92 C1 01 AC */ stw r22, 0x1ac(r1) -/* 802B8440 002B53A0 D3 E1 01 8C */ stfs f31, 0x18c(r1) -/* 802B8444 002B53A4 D0 41 01 9C */ stfs f2, 0x19c(r1) -/* 802B8448 002B53A8 93 01 01 50 */ stw r24, 0x150(r1) -/* 802B844C 002B53AC 93 21 01 54 */ stw r25, 0x154(r1) -/* 802B8450 002B53B0 93 41 01 58 */ stw r26, 0x158(r1) -/* 802B8454 002B53B4 93 81 01 60 */ stw r28, 0x160(r1) -/* 802B8458 002B53B8 91 81 01 64 */ stw r12, 0x164(r1) -/* 802B845C 002B53BC 91 61 01 68 */ stw r11, 0x168(r1) -/* 802B8460 002B53C0 91 41 01 70 */ stw r10, 0x170(r1) -/* 802B8464 002B53C4 91 21 01 74 */ stw r9, 0x174(r1) -/* 802B8468 002B53C8 91 01 01 78 */ stw r8, 0x178(r1) -/* 802B846C 002B53CC 90 E1 01 7C */ stw r7, 0x17c(r1) -/* 802B8470 002B53D0 D0 01 01 5C */ stfs f0, 0x15c(r1) -/* 802B8474 002B53D4 D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 802B8478 002B53D8 48 0C 40 19 */ bl GXLoadTexMtxImm -/* 802B847C 002B53DC 38 61 01 80 */ addi r3, r1, 0x180 -/* 802B8480 002B53E0 38 80 00 40 */ li r4, 0x40 -/* 802B8484 002B53E4 38 A0 00 00 */ li r5, 0 -/* 802B8488 002B53E8 48 0C 40 09 */ bl GXLoadTexMtxImm -/* 802B848C 002B53EC 38 61 01 50 */ addi r3, r1, 0x150 -/* 802B8490 002B53F0 38 80 00 43 */ li r4, 0x43 -/* 802B8494 002B53F4 38 A0 00 00 */ li r5, 0 -/* 802B8498 002B53F8 48 0C 3F F9 */ bl GXLoadTexMtxImm -/* 802B849C 002B53FC 38 60 00 00 */ li r3, 0 -/* 802B84A0 002B5400 38 80 00 00 */ li r4, 0 -/* 802B84A4 002B5404 38 A0 00 00 */ li r5, 0 -/* 802B84A8 002B5408 38 C0 00 1E */ li r6, 0x1e -/* 802B84AC 002B540C 38 E0 00 00 */ li r7, 0 -/* 802B84B0 002B5410 39 00 00 40 */ li r8, 0x40 -/* 802B84B4 002B5414 48 05 02 19 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B84B8 002B5418 38 60 00 01 */ li r3, 1 -/* 802B84BC 002B541C 38 80 00 00 */ li r4, 0 -/* 802B84C0 002B5420 38 A0 00 00 */ li r5, 0 -/* 802B84C4 002B5424 38 C0 00 1E */ li r6, 0x1e -/* 802B84C8 002B5428 38 E0 00 00 */ li r7, 0 -/* 802B84CC 002B542C 39 00 00 43 */ li r8, 0x43 -/* 802B84D0 002B5430 48 05 01 FD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B84D4 002B5434 38 60 00 04 */ li r3, 4 -/* 802B84D8 002B5438 38 80 00 00 */ li r4, 0 -/* 802B84DC 002B543C 38 A0 00 00 */ li r5, 0 -/* 802B84E0 002B5440 38 C0 00 07 */ li r6, 7 -/* 802B84E4 002B5444 38 E0 00 00 */ li r7, 0 -/* 802B84E8 002B5448 48 05 03 2D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B84EC 002B544C 38 60 00 01 */ li r3, 1 -/* 802B84F0 002B5450 38 80 00 03 */ li r4, 3 -/* 802B84F4 002B5454 38 A0 00 01 */ li r5, 1 -/* 802B84F8 002B5458 48 05 03 85 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B84FC 002B545C 7F A3 EB 78 */ mr r3, r29 -/* 802B8500 002B5460 48 09 CC 21 */ bl UpdateLastFrame__6CModelFv -/* 802B8504 002B5464 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 802B8508 002B5468 7F C4 F3 78 */ mr r4, r30 -/* 802B850C 002B546C 7F E5 FB 78 */ mr r5, r31 -/* 802B8510 002B5470 38 C0 00 02 */ li r6, 2 -/* 802B8514 002B5474 48 04 E4 DD */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 802B8518 002B5478 38 60 00 07 */ li r3, 7 -/* 802B851C 002B547C 38 80 00 00 */ li r4, 0 -/* 802B8520 002B5480 38 A0 00 00 */ li r5, 0 -/* 802B8524 002B5484 38 C0 00 07 */ li r6, 7 -/* 802B8528 002B5488 38 E0 00 00 */ li r7, 0 -/* 802B852C 002B548C 48 05 02 E9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B8530 002B5490 E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 -/* 802B8534 002B5494 CB E1 02 60 */ lfd f31, 0x260(r1) -/* 802B8538 002B5498 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 -/* 802B853C 002B549C CB C1 02 50 */ lfd f30, 0x250(r1) -/* 802B8540 002B54A0 E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 -/* 802B8544 002B54A4 CB A1 02 40 */ lfd f29, 0x240(r1) -/* 802B8548 002B54A8 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 -/* 802B854C 002B54AC CB 81 02 30 */ lfd f28, 0x230(r1) -/* 802B8550 002B54B0 B9 E1 01 EC */ lmw r15, 0x1ec(r1) -/* 802B8554 002B54B4 80 01 02 74 */ lwz r0, 0x274(r1) -/* 802B8558 002B54B8 7C 08 03 A6 */ mtlr r0 -/* 802B855C 002B54BC 38 21 02 70 */ addi r1, r1, 0x270 -/* 802B8560 002B54C0 4E 80 00 20 */ blr - -.global DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags -DrawThermalModel__13CCubeRendererFRC6CModelRC6CColorRC6CColorPCfPCfRC11CModelFlags: -/* 802B8564 002B54C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802B8568 002B54C8 7C 08 02 A6 */ mflr r0 -/* 802B856C 002B54CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802B8570 002B54D0 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 802B8574 002B54D4 7C 79 1B 78 */ mr r25, r3 -/* 802B8578 002B54D8 7C BA 2B 78 */ mr r26, r5 -/* 802B857C 002B54DC 7C DB 33 78 */ mr r27, r6 -/* 802B8580 002B54E0 7C FC 3B 78 */ mr r28, r7 -/* 802B8584 002B54E4 7D 1D 43 78 */ mr r29, r8 -/* 802B8588 002B54E8 7D 3E 4B 78 */ mr r30, r9 -/* 802B858C 002B54EC 7C 83 23 78 */ mr r3, r4 -/* 802B8590 002B54F0 83 E4 00 28 */ lwz r31, 0x28(r4) -/* 802B8594 002B54F4 48 09 CB 8D */ bl UpdateLastFrame__6CModelFv -/* 802B8598 002B54F8 7F 23 CB 78 */ mr r3, r25 -/* 802B859C 002B54FC 7F E4 FB 78 */ mr r4, r31 -/* 802B85A0 002B5500 7F 45 D3 78 */ mr r5, r26 -/* 802B85A4 002B5504 7F 66 DB 78 */ mr r6, r27 -/* 802B85A8 002B5508 7F 87 E3 78 */ mr r7, r28 -/* 802B85AC 002B550C 7F A8 EB 78 */ mr r8, r29 -/* 802B85B0 002B5510 7F C9 F3 78 */ mr r9, r30 -/* 802B85B4 002B5514 48 00 00 19 */ bl sub_802b85cc -/* 802B85B8 002B5518 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 802B85BC 002B551C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B85C0 002B5520 7C 08 03 A6 */ mtlr r0 -/* 802B85C4 002B5524 38 21 00 30 */ addi r1, r1, 0x30 -/* 802B85C8 002B5528 4E 80 00 20 */ blr - -.global sub_802b85cc -sub_802b85cc: -/* 802B85CC 002B552C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 802B85D0 002B5530 7C 08 02 A6 */ mflr r0 -/* 802B85D4 002B5534 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802B85D8 002B5538 BF 21 00 A4 */ stmw r25, 0xa4(r1) -/* 802B85DC 002B553C 7C 79 1B 78 */ mr r25, r3 -/* 802B85E0 002B5540 7C 9C 23 78 */ mr r28, r4 -/* 802B85E4 002B5544 7C BA 2B 78 */ mr r26, r5 -/* 802B85E8 002B5548 7C DB 33 78 */ mr r27, r6 -/* 802B85EC 002B554C 7C FD 3B 78 */ mr r29, r7 -/* 802B85F0 002B5550 7D 1E 43 78 */ mr r30, r8 -/* 802B85F4 002B5554 7D 3F 4B 78 */ mr r31, r9 -/* 802B85F8 002B5558 38 60 00 00 */ li r3, 0 -/* 802B85FC 002B555C 38 80 00 00 */ li r4, 0 -/* 802B8600 002B5560 38 A0 00 01 */ li r5, 1 -/* 802B8604 002B5564 38 C0 00 1E */ li r6, 0x1e -/* 802B8608 002B5568 38 E0 00 01 */ li r7, 1 -/* 802B860C 002B556C 39 00 00 40 */ li r8, 0x40 -/* 802B8610 002B5570 48 05 00 BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B8614 002B5574 38 60 00 01 */ li r3, 1 -/* 802B8618 002B5578 48 05 07 FD */ bl SetNumTexGens__3CGXFUc -/* 802B861C 002B557C 38 60 00 00 */ li r3, 0 -/* 802B8620 002B5580 48 05 08 31 */ bl SetNumChans__3CGXFUc -/* 802B8624 002B5584 38 79 02 20 */ addi r3, r25, 0x220 -/* 802B8628 002B5588 38 80 00 00 */ li r4, 0 -/* 802B862C 002B558C 38 A0 00 00 */ li r5, 0 -/* 802B8630 002B5590 48 05 71 0D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B8634 002B5594 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B8638 002B5598 38 61 00 0C */ addi r3, r1, 0xc -/* 802B863C 002B559C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802B8640 002B55A0 48 05 A6 5D */ bl GetQuickInverse__12CTransform4fCFv -/* 802B8644 002B55A4 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 802B8648 002B55A8 38 61 00 3C */ addi r3, r1, 0x3c -/* 802B864C 002B55AC 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l -/* 802B8650 002B55B0 38 81 00 0C */ addi r4, r1, 0xc -/* 802B8654 002B55B4 48 05 A8 DD */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f -/* 802B8658 002B55B8 38 61 00 6C */ addi r3, r1, 0x6c -/* 802B865C 002B55BC 38 81 00 3C */ addi r4, r1, 0x3c -/* 802B8660 002B55C0 48 05 A5 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B8664 002B55C4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802B8668 002B55C8 38 61 00 6C */ addi r3, r1, 0x6c -/* 802B866C 002B55CC 38 C4 66 A0 */ addi r6, r4, skZero3f@l -/* 802B8670 002B55D0 38 80 00 1E */ li r4, 0x1e -/* 802B8674 002B55D4 C0 46 00 00 */ lfs f2, 0(r6) -/* 802B8678 002B55D8 38 A0 00 00 */ li r5, 0 -/* 802B867C 002B55DC C0 26 00 04 */ lfs f1, 4(r6) -/* 802B8680 002B55E0 C0 06 00 08 */ lfs f0, 8(r6) -/* 802B8684 002B55E4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 802B8688 002B55E8 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802B868C 002B55EC D0 01 00 98 */ stfs f0, 0x98(r1) -/* 802B8690 002B55F0 48 0C 3E 01 */ bl GXLoadTexMtxImm -/* 802B8694 002B55F4 3C 60 80 3D */ lis r3, lbl_803D6704@ha -/* 802B8698 002B55F8 38 80 00 40 */ li r4, 0x40 -/* 802B869C 002B55FC 38 63 67 04 */ addi r3, r3, lbl_803D6704@l -/* 802B86A0 002B5600 38 A0 00 00 */ li r5, 0 -/* 802B86A4 002B5604 48 0C 3D ED */ bl GXLoadTexMtxImm -/* 802B86A8 002B5608 38 60 00 00 */ li r3, 0 -/* 802B86AC 002B560C 48 04 F5 A5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B86B0 002B5610 38 60 00 00 */ li r3, 0 -/* 802B86B4 002B5614 38 80 00 0F */ li r4, 0xf -/* 802B86B8 002B5618 38 A0 00 02 */ li r5, 2 -/* 802B86BC 002B561C 38 C0 00 08 */ li r6, 8 -/* 802B86C0 002B5620 38 E0 00 0E */ li r7, 0xe -/* 802B86C4 002B5624 48 05 05 29 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B86C8 002B5628 38 60 00 00 */ li r3, 0 -/* 802B86CC 002B562C 38 80 00 07 */ li r4, 7 -/* 802B86D0 002B5630 38 A0 00 04 */ li r5, 4 -/* 802B86D4 002B5634 38 C0 00 01 */ li r6, 1 -/* 802B86D8 002B5638 38 E0 00 06 */ li r7, 6 -/* 802B86DC 002B563C 48 05 04 B9 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B86E0 002B5640 38 60 00 00 */ li r3, 0 -/* 802B86E4 002B5644 38 80 00 00 */ li r4, 0 -/* 802B86E8 002B5648 38 A0 00 00 */ li r5, 0 -/* 802B86EC 002B564C 38 C0 00 FF */ li r6, 0xff -/* 802B86F0 002B5650 48 05 02 5D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B86F4 002B5654 38 60 00 01 */ li r3, 1 -/* 802B86F8 002B5658 48 05 05 99 */ bl SetNumTevStages__3CGXFUc -/* 802B86FC 002B565C 7F 64 DB 78 */ mr r4, r27 -/* 802B8700 002B5660 38 60 00 00 */ li r3, 0 -/* 802B8704 002B5664 48 05 05 41 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B8708 002B5668 38 60 00 00 */ li r3, 0 -/* 802B870C 002B566C 38 80 00 0C */ li r4, 0xc -/* 802B8710 002B5670 48 05 02 D1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802B8714 002B5674 38 60 00 00 */ li r3, 0 -/* 802B8718 002B5678 38 80 00 1C */ li r4, 0x1c -/* 802B871C 002B567C 48 05 02 81 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802B8720 002B5680 80 1A 00 00 */ lwz r0, 0(r26) -/* 802B8724 002B5684 38 81 00 08 */ addi r4, r1, 8 -/* 802B8728 002B5688 38 60 00 01 */ li r3, 1 -/* 802B872C 002B568C 90 01 00 08 */ stw r0, 8(r1) -/* 802B8730 002B5690 48 0C 2E CD */ bl GXSetTevColor -/* 802B8734 002B5694 38 60 00 07 */ li r3, 7 -/* 802B8738 002B5698 38 80 00 00 */ li r4, 0 -/* 802B873C 002B569C 38 A0 00 01 */ li r5, 1 -/* 802B8740 002B56A0 38 C0 00 07 */ li r6, 7 -/* 802B8744 002B56A4 38 E0 00 00 */ li r7, 0 -/* 802B8748 002B56A8 48 05 00 CD */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802B874C 002B56AC 38 60 00 01 */ li r3, 1 -/* 802B8750 002B56B0 38 80 00 01 */ li r4, 1 -/* 802B8754 002B56B4 38 A0 00 01 */ li r5, 1 -/* 802B8758 002B56B8 38 C0 00 00 */ li r6, 0 -/* 802B875C 002B56BC 48 05 01 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B8760 002B56C0 A0 1F 00 02 */ lhz r0, 2(r31) -/* 802B8764 002B56C4 38 80 00 03 */ li r4, 3 -/* 802B8768 002B56C8 54 05 07 FE */ clrlwi r5, r0, 0x1f -/* 802B876C 002B56CC 54 03 07 BC */ rlwinm r3, r0, 0, 0x1e, 0x1e -/* 802B8770 002B56D0 38 A5 FF FF */ addi r5, r5, -1 -/* 802B8774 002B56D4 38 03 FF FE */ addi r0, r3, -2 -/* 802B8778 002B56D8 7C A3 00 34 */ cntlzw r3, r5 -/* 802B877C 002B56DC 7C 00 00 34 */ cntlzw r0, r0 -/* 802B8780 002B56E0 54 63 D9 7E */ srwi r3, r3, 5 -/* 802B8784 002B56E4 54 05 D9 7E */ srwi r5, r0, 5 -/* 802B8788 002B56E8 48 05 00 F5 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B878C 002B56EC A0 1F 00 02 */ lhz r0, 2(r31) -/* 802B8790 002B56F0 7F 83 E3 78 */ mr r3, r28 -/* 802B8794 002B56F4 7F A4 EB 78 */ mr r4, r29 -/* 802B8798 002B56F8 7F C5 F3 78 */ mr r5, r30 -/* 802B879C 002B56FC 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 -/* 802B87A0 002B5700 38 C0 00 02 */ li r6, 2 -/* 802B87A4 002B5704 41 82 00 08 */ beq lbl_802B87AC -/* 802B87A8 002B5708 38 C0 00 00 */ li r6, 0 -lbl_802B87AC: -/* 802B87AC 002B570C 48 04 E2 45 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 802B87B0 002B5710 BB 21 00 A4 */ lmw r25, 0xa4(r1) -/* 802B87B4 002B5714 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802B87B8 002B5718 7C 08 03 A6 */ mtlr r0 -/* 802B87BC 002B571C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802B87C0 002B5720 4E 80 00 20 */ blr - -.global "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" -"__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": -/* 802B87C4 002B5724 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802B87C8 002B5728 7C 08 02 A6 */ mflr r0 -/* 802B87CC 002B572C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802B87D0 002B5730 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 802B87D4 002B5734 7C 7E 1B 78 */ mr r30, r3 -/* 802B87D8 002B5738 7C BB 2B 78 */ mr r27, r5 -/* 802B87DC 002B573C 7C DD 33 78 */ mr r29, r6 -/* 802B87E0 002B5740 7C FC 3B 78 */ mr r28, r7 -/* 802B87E4 002B5744 7D 1F 43 78 */ mr r31, r8 -/* 802B87E8 002B5748 48 05 A3 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B87EC 002B574C 80 1B 00 00 */ lwz r0, 0(r27) -/* 802B87F0 002B5750 28 1C 00 00 */ cmplwi r28, 0 -/* 802B87F4 002B5754 3B 60 00 00 */ li r27, 0 -/* 802B87F8 002B5758 3B 40 00 00 */ li r26, 0 -/* 802B87FC 002B575C 90 1E 00 30 */ stw r0, 0x30(r30) -/* 802B8800 002B5760 C0 1D 00 00 */ lfs f0, 0(r29) -/* 802B8804 002B5764 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 802B8808 002B5768 C0 1D 00 04 */ lfs f0, 4(r29) -/* 802B880C 002B576C D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 802B8810 002B5770 C0 1D 00 08 */ lfs f0, 8(r29) -/* 802B8814 002B5774 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 802B8818 002B5778 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 802B881C 002B577C D0 1E 00 40 */ stfs f0, 0x40(r30) -/* 802B8820 002B5780 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 802B8824 002B5784 D0 1E 00 44 */ stfs f0, 0x44(r30) -/* 802B8828 002B5788 C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 802B882C 002B578C D0 1E 00 48 */ stfs f0, 0x48(r30) -/* 802B8830 002B5790 41 82 00 3C */ beq lbl_802B886C -/* 802B8834 002B5794 38 00 00 01 */ li r0, 1 -/* 802B8838 002B5798 37 A1 00 18 */ addic. r29, r1, 0x18 -/* 802B883C 002B579C 98 01 00 24 */ stb r0, 0x24(r1) -/* 802B8840 002B57A0 41 82 00 20 */ beq lbl_802B8860 -/* 802B8844 002B57A4 7F A3 EB 78 */ mr r3, r29 -/* 802B8848 002B57A8 7F 84 E3 78 */ mr r4, r28 -/* 802B884C 002B57AC 48 08 86 5D */ bl __ct__6CTokenFRC6CToken -/* 802B8850 002B57B0 80 1C 00 08 */ lwz r0, 8(r28) -/* 802B8854 002B57B4 7F A3 EB 78 */ mr r3, r29 -/* 802B8858 002B57B8 90 1D 00 08 */ stw r0, 8(r29) -/* 802B885C 002B57BC 48 08 85 29 */ bl Lock__6CTokenFv -lbl_802B8860: -/* 802B8860 002B57C0 3B 81 00 18 */ addi r28, r1, 0x18 -/* 802B8864 002B57C4 3B 60 00 01 */ li r27, 1 -/* 802B8868 002B57C8 48 00 00 14 */ b lbl_802B887C -lbl_802B886C: -/* 802B886C 002B57CC 38 00 00 00 */ li r0, 0 -/* 802B8870 002B57D0 3B 81 00 08 */ addi r28, r1, 8 -/* 802B8874 002B57D4 98 01 00 14 */ stb r0, 0x14(r1) -/* 802B8878 002B57D8 3B 40 00 01 */ li r26, 1 -lbl_802B887C: -/* 802B887C 002B57DC 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 802B8880 002B57E0 98 1E 00 58 */ stb r0, 0x58(r30) -/* 802B8884 002B57E4 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 802B8888 002B57E8 28 00 00 00 */ cmplwi r0, 0 -/* 802B888C 002B57EC 41 82 00 28 */ beq lbl_802B88B4 -/* 802B8890 002B57F0 37 BE 00 4C */ addic. r29, r30, 0x4c -/* 802B8894 002B57F4 41 82 00 20 */ beq lbl_802B88B4 -/* 802B8898 002B57F8 7F A3 EB 78 */ mr r3, r29 -/* 802B889C 002B57FC 7F 84 E3 78 */ mr r4, r28 -/* 802B88A0 002B5800 48 08 86 09 */ bl __ct__6CTokenFRC6CToken -/* 802B88A4 002B5804 80 1C 00 08 */ lwz r0, 8(r28) -/* 802B88A8 002B5808 7F A3 EB 78 */ mr r3, r29 -/* 802B88AC 002B580C 90 1D 00 08 */ stw r0, 8(r29) -/* 802B88B0 002B5810 48 08 84 D5 */ bl Lock__6CTokenFv -lbl_802B88B4: -/* 802B88B4 002B5814 7F 40 07 75 */ extsb. r0, r26 -/* 802B88B8 002B5818 41 82 00 30 */ beq lbl_802B88E8 -/* 802B88BC 002B581C 88 01 00 14 */ lbz r0, 0x14(r1) -/* 802B88C0 002B5820 28 00 00 00 */ cmplwi r0, 0 -/* 802B88C4 002B5824 41 82 00 1C */ beq lbl_802B88E0 -/* 802B88C8 002B5828 34 61 00 08 */ addic. r3, r1, 8 -/* 802B88CC 002B582C 41 82 00 14 */ beq lbl_802B88E0 -/* 802B88D0 002B5830 28 03 00 00 */ cmplwi r3, 0 -/* 802B88D4 002B5834 41 82 00 0C */ beq lbl_802B88E0 -/* 802B88D8 002B5838 38 80 00 00 */ li r4, 0 -/* 802B88DC 002B583C 48 08 85 65 */ bl __dt__6CTokenFv -lbl_802B88E0: -/* 802B88E0 002B5840 38 00 00 00 */ li r0, 0 -/* 802B88E4 002B5844 98 01 00 14 */ stb r0, 0x14(r1) -lbl_802B88E8: -/* 802B88E8 002B5848 7F 60 07 75 */ extsb. r0, r27 -/* 802B88EC 002B584C 41 82 00 30 */ beq lbl_802B891C -/* 802B88F0 002B5850 88 01 00 24 */ lbz r0, 0x24(r1) -/* 802B88F4 002B5854 28 00 00 00 */ cmplwi r0, 0 -/* 802B88F8 002B5858 41 82 00 1C */ beq lbl_802B8914 -/* 802B88FC 002B585C 34 61 00 18 */ addic. r3, r1, 0x18 -/* 802B8900 002B5860 41 82 00 14 */ beq lbl_802B8914 -/* 802B8904 002B5864 28 03 00 00 */ cmplwi r3, 0 -/* 802B8908 002B5868 41 82 00 0C */ beq lbl_802B8914 -/* 802B890C 002B586C 38 80 00 00 */ li r4, 0 -/* 802B8910 002B5870 48 08 85 31 */ bl __dt__6CTokenFv -lbl_802B8914: -/* 802B8914 002B5874 38 00 00 00 */ li r0, 0 -/* 802B8918 002B5878 98 01 00 24 */ stb r0, 0x24(r1) -lbl_802B891C: -/* 802B891C 002B587C 93 FE 00 5C */ stw r31, 0x5c(r30) -/* 802B8920 002B5880 7F C3 F3 78 */ mr r3, r30 -/* 802B8924 002B5884 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 802B8928 002B5888 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802B892C 002B588C 7C 08 03 A6 */ mtlr r0 -/* 802B8930 002B5890 38 21 00 40 */ addi r1, r1, 0x40 -/* 802B8934 002B5894 4E 80 00 20 */ blr - -.global PostRenderFogs__13CCubeRendererFv -PostRenderFogs__13CCubeRendererFv: -/* 802B8938 002B5898 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B893C 002B589C 7C 08 02 A6 */ mflr r0 -/* 802B8940 002B58A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B8944 002B58A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B8948 002B58A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B894C 002B58AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B8950 002B58B0 7C 7D 1B 78 */ mr r29, r3 -/* 802B8954 002B58B4 83 E3 02 C8 */ lwz r31, 0x2c8(r3) -/* 802B8958 002B58B8 48 00 00 18 */ b lbl_802B8970 -lbl_802B895C: -/* 802B895C 002B58BC C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 802B8960 002B58C0 7F A3 EB 78 */ mr r3, r29 -/* 802B8964 002B58C4 38 9F 00 08 */ addi r4, r31, 8 -/* 802B8968 002B58C8 48 00 32 51 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff -/* 802B896C 002B58CC 83 FF 00 04 */ lwz r31, 4(r31) -lbl_802B8970: -/* 802B8970 002B58D0 83 DD 02 CC */ lwz r30, 0x2cc(r29) -/* 802B8974 002B58D4 7C 1F F0 40 */ cmplw r31, r30 -/* 802B8978 002B58D8 40 82 FF E4 */ bne lbl_802B895C -/* 802B897C 002B58DC 80 9D 02 C8 */ lwz r4, 0x2c8(r29) -/* 802B8980 002B58E0 48 00 00 10 */ b lbl_802B8990 -lbl_802B8984: -/* 802B8984 002B58E4 38 7D 02 C4 */ addi r3, r29, 0x2c4 -/* 802B8988 002B58E8 48 00 7C 2D */ bl sub_802c05b4 -/* 802B898C 002B58EC 7C 64 1B 78 */ mr r4, r3 -lbl_802B8990: -/* 802B8990 002B58F0 7C 04 F0 40 */ cmplw r4, r30 -/* 802B8994 002B58F4 40 82 FF F0 */ bne lbl_802B8984 -/* 802B8998 002B58F8 88 0D A6 2C */ lbz r0, lbl_805A91EC@sda21(r13) -/* 802B899C 002B58FC 38 7D 02 AC */ addi r3, r29, 0x2ac -/* 802B89A0 002B5900 38 81 00 08 */ addi r4, r1, 8 -/* 802B89A4 002B5904 98 01 00 08 */ stb r0, 8(r1) -/* 802B89A8 002B5908 48 00 00 8D */ bl FogSorter -/* 802B89AC 002B590C 83 DD 02 B0 */ lwz r30, 0x2b0(r29) -/* 802B89B0 002B5910 48 00 00 40 */ b lbl_802B89F0 -lbl_802B89B4: -/* 802B89B4 002B5914 3B FE 00 08 */ addi r31, r30, 8 -/* 802B89B8 002B5918 7F E3 FB 78 */ mr r3, r31 -/* 802B89BC 002B591C 48 05 3C 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B89C0 002B5920 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 802B89C4 002B5924 7F A3 EB 78 */ mr r3, r29 -/* 802B89C8 002B5928 38 9F 00 30 */ addi r4, r31, 0x30 -/* 802B89CC 002B592C 38 BF 00 34 */ addi r5, r31, 0x34 -/* 802B89D0 002B5930 28 00 00 00 */ cmplwi r0, 0 -/* 802B89D4 002B5934 41 82 00 0C */ beq lbl_802B89E0 -/* 802B89D8 002B5938 80 DF 00 54 */ lwz r6, 0x54(r31) -/* 802B89DC 002B593C 48 00 00 08 */ b lbl_802B89E4 -lbl_802B89E0: -/* 802B89E0 002B5940 38 C0 00 00 */ li r6, 0 -lbl_802B89E4: -/* 802B89E4 002B5944 80 FF 00 5C */ lwz r7, 0x5c(r31) -/* 802B89E8 002B5948 48 00 05 C9 */ bl ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel -/* 802B89EC 002B594C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_802B89F0: -/* 802B89F0 002B5950 83 FD 02 B4 */ lwz r31, 0x2b4(r29) -/* 802B89F4 002B5954 7C 1E F8 40 */ cmplw r30, r31 -/* 802B89F8 002B5958 40 82 FF BC */ bne lbl_802B89B4 -/* 802B89FC 002B595C 80 9D 02 B0 */ lwz r4, 0x2b0(r29) -/* 802B8A00 002B5960 48 00 00 10 */ b lbl_802B8A10 -lbl_802B8A04: -/* 802B8A04 002B5964 38 7D 02 AC */ addi r3, r29, 0x2ac -/* 802B8A08 002B5968 48 00 7A 35 */ bl sub_802c043c -/* 802B8A0C 002B596C 7C 64 1B 78 */ mr r4, r3 -lbl_802B8A10: -/* 802B8A10 002B5970 7C 04 F8 40 */ cmplw r4, r31 -/* 802B8A14 002B5974 40 82 FF F0 */ bne lbl_802B8A04 -/* 802B8A18 002B5978 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B8A1C 002B597C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B8A20 002B5980 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B8A24 002B5984 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B8A28 002B5988 7C 08 03 A6 */ mtlr r0 -/* 802B8A2C 002B598C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B8A30 002B5990 4E 80 00 20 */ blr - -.global FogSorter -FogSorter: -/* 802B8A34 002B5994 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B8A38 002B5998 7C 08 02 A6 */ mflr r0 -/* 802B8A3C 002B599C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B8A40 002B59A0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802B8A44 002B59A4 7C 7B 1B 78 */ mr r27, r3 -/* 802B8A48 002B59A8 7C 9C 23 78 */ mr r28, r4 -/* 802B8A4C 002B59AC 83 E3 00 04 */ lwz r31, 4(r3) -/* 802B8A50 002B59B0 48 00 00 54 */ b lbl_802B8AA4 -lbl_802B8A54: -/* 802B8A54 002B59B4 83 BF 00 04 */ lwz r29, 4(r31) -/* 802B8A58 002B59B8 7F FE FB 78 */ mr r30, r31 -/* 802B8A5C 002B59BC 48 00 00 24 */ b lbl_802B8A80 -lbl_802B8A60: -/* 802B8A60 002B59C0 7F 83 E3 78 */ mr r3, r28 -/* 802B8A64 002B59C4 38 9E 00 08 */ addi r4, r30, 8 -/* 802B8A68 002B59C8 38 BD 00 08 */ addi r5, r29, 8 -/* 802B8A6C 002B59CC 48 00 00 DD */ bl sub_802b8b48 -/* 802B8A70 002B59D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B8A74 002B59D4 41 82 00 08 */ beq lbl_802B8A7C -/* 802B8A78 002B59D8 7F BE EB 78 */ mr r30, r29 -lbl_802B8A7C: -/* 802B8A7C 002B59DC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802B8A80: -/* 802B8A80 002B59E0 80 1B 00 08 */ lwz r0, 8(r27) -/* 802B8A84 002B59E4 7C 1D 00 40 */ cmplw r29, r0 -/* 802B8A88 002B59E8 40 82 FF D8 */ bne lbl_802B8A60 -/* 802B8A8C 002B59EC 83 BF 00 04 */ lwz r29, 4(r31) -/* 802B8A90 002B59F0 7F 63 DB 78 */ mr r3, r27 -/* 802B8A94 002B59F4 7F E4 FB 78 */ mr r4, r31 -/* 802B8A98 002B59F8 7F C5 F3 78 */ mr r5, r30 -/* 802B8A9C 002B59FC 48 00 00 29 */ bl sub_802b8ac4 -/* 802B8AA0 002B5A00 7F BF EB 78 */ mr r31, r29 -lbl_802B8AA4: -/* 802B8AA4 002B5A04 80 1B 00 08 */ lwz r0, 8(r27) -/* 802B8AA8 002B5A08 7C 1F 00 40 */ cmplw r31, r0 -/* 802B8AAC 002B5A0C 40 82 FF A8 */ bne lbl_802B8A54 -/* 802B8AB0 002B5A10 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802B8AB4 002B5A14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B8AB8 002B5A18 7C 08 03 A6 */ mtlr r0 -/* 802B8ABC 002B5A1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B8AC0 002B5A20 4E 80 00 20 */ blr - -.global sub_802b8ac4 -sub_802b8ac4: -/* 802B8AC4 002B5A24 7C 04 28 40 */ cmplw r4, r5 -/* 802B8AC8 002B5A28 4D 82 00 20 */ beqlr -/* 802B8ACC 002B5A2C 80 03 00 04 */ lwz r0, 4(r3) -/* 802B8AD0 002B5A30 7C 04 00 40 */ cmplw r4, r0 -/* 802B8AD4 002B5A34 40 82 00 0C */ bne lbl_802B8AE0 -/* 802B8AD8 002B5A38 90 A3 00 04 */ stw r5, 4(r3) -/* 802B8ADC 002B5A3C 48 00 00 10 */ b lbl_802B8AEC -lbl_802B8AE0: -/* 802B8AE0 002B5A40 7C 05 00 40 */ cmplw r5, r0 -/* 802B8AE4 002B5A44 40 82 00 08 */ bne lbl_802B8AEC -/* 802B8AE8 002B5A48 90 83 00 04 */ stw r4, 4(r3) -lbl_802B8AEC: -/* 802B8AEC 002B5A4C 80 E5 00 04 */ lwz r7, 4(r5) -/* 802B8AF0 002B5A50 80 64 00 04 */ lwz r3, 4(r4) -/* 802B8AF4 002B5A54 7C 07 20 40 */ cmplw r7, r4 -/* 802B8AF8 002B5A58 80 C4 00 00 */ lwz r6, 0(r4) -/* 802B8AFC 002B5A5C 81 05 00 00 */ lwz r8, 0(r5) -/* 802B8B00 002B5A60 41 82 00 18 */ beq lbl_802B8B18 -/* 802B8B04 002B5A64 90 87 00 00 */ stw r4, 0(r7) -/* 802B8B08 002B5A68 90 E4 00 04 */ stw r7, 4(r4) -/* 802B8B0C 002B5A6C 90 A6 00 04 */ stw r5, 4(r6) -/* 802B8B10 002B5A70 90 C5 00 00 */ stw r6, 0(r5) -/* 802B8B14 002B5A74 48 00 00 0C */ b lbl_802B8B20 -lbl_802B8B18: -/* 802B8B18 002B5A78 90 A4 00 04 */ stw r5, 4(r4) -/* 802B8B1C 002B5A7C 90 85 00 00 */ stw r4, 0(r5) -lbl_802B8B20: -/* 802B8B20 002B5A80 7C 08 20 40 */ cmplw r8, r4 -/* 802B8B24 002B5A84 41 82 00 18 */ beq lbl_802B8B3C -/* 802B8B28 002B5A88 90 88 00 04 */ stw r4, 4(r8) -/* 802B8B2C 002B5A8C 91 04 00 00 */ stw r8, 0(r4) -/* 802B8B30 002B5A90 90 A3 00 00 */ stw r5, 0(r3) -/* 802B8B34 002B5A94 90 65 00 04 */ stw r3, 4(r5) -/* 802B8B38 002B5A98 4E 80 00 20 */ blr -lbl_802B8B3C: -/* 802B8B3C 002B5A9C 90 85 00 04 */ stw r4, 4(r5) -/* 802B8B40 002B5AA0 90 A4 00 00 */ stw r5, 0(r4) -/* 802B8B44 002B5AA4 4E 80 00 20 */ blr - -.global sub_802b8b48 -sub_802b8b48: -/* 802B8B48 002B5AA8 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802B8B4C 002B5AAC 7C 08 02 A6 */ mflr r0 -/* 802B8B50 002B5AB0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802B8B54 002B5AB4 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802B8B58 002B5AB8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802B8B5C 002B5ABC DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802B8B60 002B5AC0 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 802B8B64 002B5AC4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802B8B68 002B5AC8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802B8B6C 002B5ACC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 802B8B70 002B5AD0 7C BE 2B 78 */ mr r30, r5 -/* 802B8B74 002B5AD4 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l -/* 802B8B78 002B5AD8 7C 85 23 78 */ mr r5, r4 -/* 802B8B7C 002B5ADC C3 DF 00 1C */ lfs f30, 0x1c(r31) -/* 802B8B80 002B5AE0 38 61 00 5C */ addi r3, r1, 0x5c -/* 802B8B84 002B5AE4 C3 FF 00 0C */ lfs f31, 0xc(r31) -/* 802B8B88 002B5AE8 38 84 00 34 */ addi r4, r4, 0x34 -/* 802B8B8C 002B5AEC 48 07 ED 71 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802B8B90 002B5AF0 C0 A1 00 5C */ lfs f5, 0x5c(r1) -/* 802B8B94 002B5AF4 7F C5 F3 78 */ mr r5, r30 -/* 802B8B98 002B5AF8 C0 81 00 60 */ lfs f4, 0x60(r1) -/* 802B8B9C 002B5AFC 38 61 00 44 */ addi r3, r1, 0x44 -/* 802B8BA0 002B5B00 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 802B8BA4 002B5B04 38 9E 00 34 */ addi r4, r30, 0x34 -/* 802B8BA8 002B5B08 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 802B8BAC 002B5B0C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802B8BB0 002B5B10 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802B8BB4 002B5B14 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 802B8BB8 002B5B18 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 802B8BBC 002B5B1C D0 61 00 94 */ stfs f3, 0x94(r1) -/* 802B8BC0 002B5B20 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 802B8BC4 002B5B24 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 802B8BC8 002B5B28 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 802B8BCC 002B5B2C 48 07 ED 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802B8BD0 002B5B30 C0 A1 00 44 */ lfs f5, 0x44(r1) -/* 802B8BD4 002B5B34 38 61 00 8C */ addi r3, r1, 0x8c -/* 802B8BD8 002B5B38 C0 81 00 48 */ lfs f4, 0x48(r1) -/* 802B8BDC 002B5B3C 38 81 00 2C */ addi r4, r1, 0x2c -/* 802B8BE0 002B5B40 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 802B8BE4 002B5B44 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 802B8BE8 002B5B48 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802B8BEC 002B5B4C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802B8BF0 002B5B50 C0 C1 00 94 */ lfs f6, 0x94(r1) -/* 802B8BF4 002B5B54 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 802B8BF8 002B5B58 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 802B8BFC 002B5B5C D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 802B8C00 002B5B60 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802B8C04 002B5B64 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802B8C08 002B5B68 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 802B8C0C 002B5B6C D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 802B8C10 002B5B70 D3 C1 00 30 */ stfs f30, 0x30(r1) -/* 802B8C14 002B5B74 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 802B8C18 002B5B78 48 07 E9 1D */ bl PointInside__6CAABoxCFRC9CVector3f -/* 802B8C1C 002B5B7C C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802B8C20 002B5B80 7C 7E 1B 78 */ mr r30, r3 -/* 802B8C24 002B5B84 D3 E1 00 20 */ stfs f31, 0x20(r1) -/* 802B8C28 002B5B88 38 61 00 74 */ addi r3, r1, 0x74 -/* 802B8C2C 002B5B8C 38 81 00 20 */ addi r4, r1, 0x20 -/* 802B8C30 002B5B90 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 802B8C34 002B5B94 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802B8C38 002B5B98 48 07 E8 FD */ bl PointInside__6CAABoxCFRC9CVector3f -/* 802B8C3C 002B5B9C 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 802B8C40 002B5BA0 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802B8C44 002B5BA4 7C 04 00 40 */ cmplw r4, r0 -/* 802B8C48 002B5BA8 41 82 00 0C */ beq lbl_802B8C54 -/* 802B8C4C 002B5BAC 7F C3 F3 78 */ mr r3, r30 -/* 802B8C50 002B5BB0 48 00 00 90 */ b lbl_802B8CE0 -lbl_802B8C54: -/* 802B8C54 002B5BB4 C0 5F 00 24 */ lfs f2, 0x24(r31) -/* 802B8C58 002B5BB8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802B8C5C 002B5BBC C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 802B8C60 002B5BC0 38 81 00 8C */ addi r4, r1, 0x8c -/* 802B8C64 002B5BC4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802B8C68 002B5BC8 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802B8C6C 002B5BCC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802B8C70 002B5BD0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802B8C74 002B5BD4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802B8C78 002B5BD8 48 07 E5 A5 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802B8C7C 002B5BDC C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 802B8C80 002B5BE0 38 61 00 08 */ addi r3, r1, 8 -/* 802B8C84 002B5BE4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802B8C88 002B5BE8 38 81 00 74 */ addi r4, r1, 0x74 -/* 802B8C8C 002B5BEC C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802B8C90 002B5BF0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802B8C94 002B5BF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B8C98 002B5BF8 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802B8C9C 002B5BFC C0 81 00 40 */ lfs f4, 0x40(r1) -/* 802B8CA0 002B5C00 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 802B8CA4 002B5C04 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802B8CA8 002B5C08 EF C4 00 FA */ fmadds f30, f4, f3, f0 -/* 802B8CAC 002B5C0C 48 07 E5 71 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802B8CB0 002B5C10 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 802B8CB4 002B5C14 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802B8CB8 002B5C18 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802B8CBC 002B5C1C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802B8CC0 002B5C20 C0 21 00 08 */ lfs f1, 8(r1) -/* 802B8CC4 002B5C24 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 802B8CC8 002B5C28 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802B8CCC 002B5C2C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802B8CD0 002B5C30 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 802B8CD4 002B5C34 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 802B8CD8 002B5C38 7C 00 00 26 */ mfcr r0 -/* 802B8CDC 002B5C3C 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_802B8CE0: -/* 802B8CE0 002B5C40 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802B8CE4 002B5C44 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802B8CE8 002B5C48 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 802B8CEC 002B5C4C CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802B8CF0 002B5C50 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802B8CF4 002B5C54 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802B8CF8 002B5C58 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 802B8CFC 002B5C5C 7C 08 03 A6 */ mtlr r0 -/* 802B8D00 002B5C60 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802B8D04 002B5C64 4E 80 00 20 */ blr - -.global DisablePVS__13CCubeRendererFv -DisablePVS__13CCubeRendererFv: -/* 802B8D08 002B5C68 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B8D0C 002B5C6C 7C 08 02 A6 */ mflr r0 -/* 802B8D10 002B5C70 38 63 00 C8 */ addi r3, r3, 0xc8 -/* 802B8D14 002B5C74 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B8D18 002B5C78 38 00 00 00 */ li r0, 0 -/* 802B8D1C 002B5C7C 38 81 00 08 */ addi r4, r1, 8 -/* 802B8D20 002B5C80 98 01 00 1C */ stb r0, 0x1c(r1) -/* 802B8D24 002B5C84 48 00 00 4D */ bl sub_802b8d70 -/* 802B8D28 002B5C88 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 802B8D2C 002B5C8C 28 00 00 00 */ cmplwi r0, 0 -/* 802B8D30 002B5C90 41 82 00 28 */ beq lbl_802B8D58 -/* 802B8D34 002B5C94 34 61 00 08 */ addic. r3, r1, 8 -/* 802B8D38 002B5C98 41 82 00 20 */ beq lbl_802B8D58 -/* 802B8D3C 002B5C9C 34 03 00 0C */ addic. r0, r3, 0xc -/* 802B8D40 002B5CA0 41 82 00 18 */ beq lbl_802B8D58 -/* 802B8D44 002B5CA4 88 03 00 0C */ lbz r0, 0xc(r3) -/* 802B8D48 002B5CA8 28 00 00 00 */ cmplwi r0, 0 -/* 802B8D4C 002B5CAC 41 82 00 0C */ beq lbl_802B8D58 -/* 802B8D50 002B5CB0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802B8D54 002B5CB4 48 05 CB DD */ bl Free__7CMemoryFPCv -lbl_802B8D58: -/* 802B8D58 002B5CB8 38 00 00 00 */ li r0, 0 -/* 802B8D5C 002B5CBC 98 01 00 1C */ stb r0, 0x1c(r1) -/* 802B8D60 002B5CC0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B8D64 002B5CC4 7C 08 03 A6 */ mtlr r0 -/* 802B8D68 002B5CC8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B8D6C 002B5CCC 4E 80 00 20 */ blr - -.global sub_802b8d70 -sub_802b8d70: -/* 802B8D70 002B5CD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802B8D74 002B5CD4 7C 08 02 A6 */ mflr r0 -/* 802B8D78 002B5CD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802B8D7C 002B5CDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802B8D80 002B5CE0 7C 9F 23 78 */ mr r31, r4 -/* 802B8D84 002B5CE4 93 C1 00 08 */ stw r30, 8(r1) -/* 802B8D88 002B5CE8 7C 7E 1B 78 */ mr r30, r3 -/* 802B8D8C 002B5CEC 7C 1E F8 40 */ cmplw r30, r31 -/* 802B8D90 002B5CF0 40 82 00 08 */ bne lbl_802B8D98 -/* 802B8D94 002B5CF4 48 00 00 F4 */ b lbl_802B8E88 -lbl_802B8D98: -/* 802B8D98 002B5CF8 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 802B8D9C 002B5CFC 28 00 00 00 */ cmplwi r0, 0 -/* 802B8DA0 002B5D00 41 82 00 AC */ beq lbl_802B8E4C -/* 802B8DA4 002B5D04 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 802B8DA8 002B5D08 28 00 00 00 */ cmplwi r0, 0 -/* 802B8DAC 002B5D0C 40 82 00 48 */ bne lbl_802B8DF4 -/* 802B8DB0 002B5D10 28 1E 00 00 */ cmplwi r30, 0 -/* 802B8DB4 002B5D14 41 82 00 34 */ beq lbl_802B8DE8 -/* 802B8DB8 002B5D18 80 7F 00 00 */ lwz r3, 0(r31) -/* 802B8DBC 002B5D1C 38 00 00 00 */ li r0, 0 -/* 802B8DC0 002B5D20 90 7E 00 00 */ stw r3, 0(r30) -/* 802B8DC4 002B5D24 80 7F 00 04 */ lwz r3, 4(r31) -/* 802B8DC8 002B5D28 90 7E 00 04 */ stw r3, 4(r30) -/* 802B8DCC 002B5D2C 80 7F 00 08 */ lwz r3, 8(r31) -/* 802B8DD0 002B5D30 90 7E 00 08 */ stw r3, 8(r30) -/* 802B8DD4 002B5D34 88 7F 00 0C */ lbz r3, 0xc(r31) -/* 802B8DD8 002B5D38 98 7E 00 0C */ stb r3, 0xc(r30) -/* 802B8DDC 002B5D3C 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802B8DE0 002B5D40 90 7E 00 10 */ stw r3, 0x10(r30) -/* 802B8DE4 002B5D44 98 1F 00 0C */ stb r0, 0xc(r31) -lbl_802B8DE8: -/* 802B8DE8 002B5D48 38 00 00 01 */ li r0, 1 -/* 802B8DEC 002B5D4C 98 1E 00 14 */ stb r0, 0x14(r30) -/* 802B8DF0 002B5D50 48 00 00 94 */ b lbl_802B8E84 -lbl_802B8DF4: -/* 802B8DF4 002B5D54 80 9F 00 00 */ lwz r4, 0(r31) -/* 802B8DF8 002B5D58 38 7F 00 0C */ addi r3, r31, 0xc -/* 802B8DFC 002B5D5C 38 1E 00 0C */ addi r0, r30, 0xc -/* 802B8E00 002B5D60 90 9E 00 00 */ stw r4, 0(r30) -/* 802B8E04 002B5D64 7C 03 00 40 */ cmplw r3, r0 -/* 802B8E08 002B5D68 80 1F 00 04 */ lwz r0, 4(r31) -/* 802B8E0C 002B5D6C 90 1E 00 04 */ stw r0, 4(r30) -/* 802B8E10 002B5D70 80 1F 00 08 */ lwz r0, 8(r31) -/* 802B8E14 002B5D74 90 1E 00 08 */ stw r0, 8(r30) -/* 802B8E18 002B5D78 41 82 00 6C */ beq lbl_802B8E84 -/* 802B8E1C 002B5D7C 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 802B8E20 002B5D80 28 00 00 00 */ cmplwi r0, 0 -/* 802B8E24 002B5D84 41 82 00 0C */ beq lbl_802B8E30 -/* 802B8E28 002B5D88 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802B8E2C 002B5D8C 48 05 CB 05 */ bl Free__7CMemoryFPCv -lbl_802B8E30: -/* 802B8E30 002B5D90 88 7F 00 0C */ lbz r3, 0xc(r31) -/* 802B8E34 002B5D94 38 00 00 00 */ li r0, 0 -/* 802B8E38 002B5D98 98 7E 00 0C */ stb r3, 0xc(r30) -/* 802B8E3C 002B5D9C 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802B8E40 002B5DA0 90 7E 00 10 */ stw r3, 0x10(r30) -/* 802B8E44 002B5DA4 98 1F 00 0C */ stb r0, 0xc(r31) -/* 802B8E48 002B5DA8 48 00 00 3C */ b lbl_802B8E84 -lbl_802B8E4C: -/* 802B8E4C 002B5DAC 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 802B8E50 002B5DB0 28 00 00 00 */ cmplwi r0, 0 -/* 802B8E54 002B5DB4 41 82 00 28 */ beq lbl_802B8E7C -/* 802B8E58 002B5DB8 28 1E 00 00 */ cmplwi r30, 0 -/* 802B8E5C 002B5DBC 41 82 00 20 */ beq lbl_802B8E7C -/* 802B8E60 002B5DC0 34 1E 00 0C */ addic. r0, r30, 0xc -/* 802B8E64 002B5DC4 41 82 00 18 */ beq lbl_802B8E7C -/* 802B8E68 002B5DC8 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 802B8E6C 002B5DCC 28 00 00 00 */ cmplwi r0, 0 -/* 802B8E70 002B5DD0 41 82 00 0C */ beq lbl_802B8E7C -/* 802B8E74 002B5DD4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802B8E78 002B5DD8 48 05 CA B9 */ bl Free__7CMemoryFPCv -lbl_802B8E7C: -/* 802B8E7C 002B5DDC 38 00 00 00 */ li r0, 0 -/* 802B8E80 002B5DE0 98 1E 00 14 */ stb r0, 0x14(r30) -lbl_802B8E84: -/* 802B8E84 002B5DE4 7F C3 F3 78 */ mr r3, r30 -lbl_802B8E88: -/* 802B8E88 002B5DE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802B8E8C 002B5DEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802B8E90 002B5DF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802B8E94 002B5DF4 7C 08 03 A6 */ mtlr r0 -/* 802B8E98 002B5DF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802B8E9C 002B5DFC 4E 80 00 20 */ blr - -.global EnablePVS__13CCubeRendererFPC10CPVSVisSeti -EnablePVS__13CCubeRendererFPC10CPVSVisSeti: -/* 802B8EA0 002B5E00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802B8EA4 002B5E04 7C 08 02 A6 */ mflr r0 -/* 802B8EA8 002B5E08 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B8EAC 002B5E0C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802B8EB0 002B5E10 7C BF 2B 78 */ mr r31, r5 -/* 802B8EB4 002B5E14 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802B8EB8 002B5E18 7C 9E 23 78 */ mr r30, r4 -/* 802B8EBC 002B5E1C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802B8EC0 002B5E20 7C 7D 1B 78 */ mr r29, r3 -/* 802B8EC4 002B5E24 88 03 00 DC */ lbz r0, 0xdc(r3) -/* 802B8EC8 002B5E28 28 00 00 00 */ cmplwi r0, 0 -/* 802B8ECC 002B5E2C 40 82 00 48 */ bne lbl_802B8F14 -/* 802B8ED0 002B5E30 34 9D 00 C8 */ addic. r4, r29, 0xc8 -/* 802B8ED4 002B5E34 41 82 00 34 */ beq lbl_802B8F08 -/* 802B8ED8 002B5E38 80 7E 00 00 */ lwz r3, 0(r30) -/* 802B8EDC 002B5E3C 38 00 00 00 */ li r0, 0 -/* 802B8EE0 002B5E40 90 64 00 00 */ stw r3, 0(r4) -/* 802B8EE4 002B5E44 80 7E 00 04 */ lwz r3, 4(r30) -/* 802B8EE8 002B5E48 90 64 00 04 */ stw r3, 4(r4) -/* 802B8EEC 002B5E4C 80 7E 00 08 */ lwz r3, 8(r30) -/* 802B8EF0 002B5E50 90 64 00 08 */ stw r3, 8(r4) -/* 802B8EF4 002B5E54 88 7E 00 0C */ lbz r3, 0xc(r30) -/* 802B8EF8 002B5E58 98 64 00 0C */ stb r3, 0xc(r4) -/* 802B8EFC 002B5E5C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802B8F00 002B5E60 90 64 00 10 */ stw r3, 0x10(r4) -/* 802B8F04 002B5E64 98 1E 00 0C */ stb r0, 0xc(r30) -lbl_802B8F08: -/* 802B8F08 002B5E68 38 00 00 01 */ li r0, 1 -/* 802B8F0C 002B5E6C 98 1D 00 DC */ stb r0, 0xdc(r29) -/* 802B8F10 002B5E70 48 00 00 58 */ b lbl_802B8F68 -lbl_802B8F14: -/* 802B8F14 002B5E74 80 9E 00 00 */ lwz r4, 0(r30) -/* 802B8F18 002B5E78 38 7E 00 0C */ addi r3, r30, 0xc -/* 802B8F1C 002B5E7C 38 1D 00 D4 */ addi r0, r29, 0xd4 -/* 802B8F20 002B5E80 90 9D 00 C8 */ stw r4, 0xc8(r29) -/* 802B8F24 002B5E84 7C 03 00 40 */ cmplw r3, r0 -/* 802B8F28 002B5E88 80 1E 00 04 */ lwz r0, 4(r30) -/* 802B8F2C 002B5E8C 90 1D 00 CC */ stw r0, 0xcc(r29) -/* 802B8F30 002B5E90 80 1E 00 08 */ lwz r0, 8(r30) -/* 802B8F34 002B5E94 90 1D 00 D0 */ stw r0, 0xd0(r29) -/* 802B8F38 002B5E98 41 82 00 30 */ beq lbl_802B8F68 -/* 802B8F3C 002B5E9C 88 1D 00 D4 */ lbz r0, 0xd4(r29) -/* 802B8F40 002B5EA0 28 00 00 00 */ cmplwi r0, 0 -/* 802B8F44 002B5EA4 41 82 00 0C */ beq lbl_802B8F50 -/* 802B8F48 002B5EA8 80 7D 00 D8 */ lwz r3, 0xd8(r29) -/* 802B8F4C 002B5EAC 48 05 C9 E5 */ bl Free__7CMemoryFPCv -lbl_802B8F50: -/* 802B8F50 002B5EB0 88 7E 00 0C */ lbz r3, 0xc(r30) -/* 802B8F54 002B5EB4 38 00 00 00 */ li r0, 0 -/* 802B8F58 002B5EB8 98 7D 00 D4 */ stb r3, 0xd4(r29) -/* 802B8F5C 002B5EBC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802B8F60 002B5EC0 90 7D 00 D8 */ stw r3, 0xd8(r29) -/* 802B8F64 002B5EC4 98 1E 00 0C */ stb r0, 0xc(r30) -lbl_802B8F68: -/* 802B8F68 002B5EC8 93 FD 00 E0 */ stw r31, 0xe0(r29) -/* 802B8F6C 002B5ECC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802B8F70 002B5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802B8F74 002B5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802B8F78 002B5ED8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802B8F7C 002B5EDC 7C 08 03 A6 */ mtlr r0 -/* 802B8F80 002B5EE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802B8F84 002B5EE4 4E 80 00 20 */ blr - -.global SetThermal__13CCubeRendererFbfRC6CColor -SetThermal__13CCubeRendererFbfRC6CColor: -/* 802B8F88 002B5EE8 88 C3 03 18 */ lbz r6, 0x318(r3) -/* 802B8F8C 002B5EEC 50 86 17 7A */ rlwimi r6, r4, 2, 0x1d, 0x1d -/* 802B8F90 002B5EF0 38 00 00 00 */ li r0, 0 -/* 802B8F94 002B5EF4 98 C3 03 18 */ stb r6, 0x318(r3) -/* 802B8F98 002B5EF8 D0 23 02 F0 */ stfs f1, 0x2f0(r3) -/* 802B8F9C 002B5EFC 80 85 00 00 */ lwz r4, 0(r5) -/* 802B8FA0 002B5F00 90 83 02 F4 */ stw r4, 0x2f4(r3) -/* 802B8FA4 002B5F04 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) -/* 802B8FA8 002B5F08 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) -/* 802B8FAC 002B5F0C 4E 80 00 20 */ blr - -.global ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel -ReallyRenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC6CModelPC13CSkinnedModel: -/* 802B8FB0 002B5F10 94 21 FB E0 */ stwu r1, -0x420(r1) -/* 802B8FB4 002B5F14 7C 08 02 A6 */ mflr r0 -/* 802B8FB8 002B5F18 90 01 04 24 */ stw r0, 0x424(r1) -/* 802B8FBC 002B5F1C DB E1 04 10 */ stfd f31, 0x410(r1) -/* 802B8FC0 002B5F20 F3 E1 04 18 */ psq_st f31, 1048(r1), 0, qr0 -/* 802B8FC4 002B5F24 DB C1 04 00 */ stfd f30, 0x400(r1) -/* 802B8FC8 002B5F28 F3 C1 04 08 */ psq_st f30, 1032(r1), 0, qr0 -/* 802B8FCC 002B5F2C DB A1 03 F0 */ stfd f29, 0x3f0(r1) -/* 802B8FD0 002B5F30 F3 A1 03 F8 */ psq_st f29, 1016(r1), 0, qr0 -/* 802B8FD4 002B5F34 DB 81 03 E0 */ stfd f28, 0x3e0(r1) -/* 802B8FD8 002B5F38 F3 81 03 E8 */ psq_st f28, 1000(r1), 0, qr0 -/* 802B8FDC 002B5F3C DB 61 03 D0 */ stfd f27, 0x3d0(r1) -/* 802B8FE0 002B5F40 F3 61 03 D8 */ psq_st f27, 984(r1), 0, qr0 -/* 802B8FE4 002B5F44 DB 41 03 C0 */ stfd f26, 0x3c0(r1) -/* 802B8FE8 002B5F48 F3 41 03 C8 */ psq_st f26, 968(r1), 0, qr0 -/* 802B8FEC 002B5F4C DB 21 03 B0 */ stfd f25, 0x3b0(r1) -/* 802B8FF0 002B5F50 F3 21 03 B8 */ psq_st f25, 952(r1), 0, qr0 -/* 802B8FF4 002B5F54 DB 01 03 A0 */ stfd f24, 0x3a0(r1) -/* 802B8FF8 002B5F58 F3 01 03 A8 */ psq_st f24, 936(r1), 0, qr0 -/* 802B8FFC 002B5F5C BD C1 03 58 */ stmw r14, 0x358(r1) -/* 802B9000 002B5F60 80 0D A8 28 */ lwz r0, lbl_805A93E8@sda21(r13) -/* 802B9004 002B5F64 3D 00 80 3F */ lis r8, lbl_803ED910@ha -/* 802B9008 002B5F68 39 E8 D9 10 */ addi r15, r8, lbl_803ED910@l -/* 802B900C 002B5F6C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) -/* 802B9010 002B5F70 7C 08 03 78 */ mr r8, r0 -/* 802B9014 002B5F74 90 01 03 2C */ stw r0, 0x32c(r1) -/* 802B9018 002B5F78 3C 08 00 02 */ addis r0, r8, 2 -/* 802B901C 002B5F7C 81 CF 00 08 */ lwz r14, 8(r15) -/* 802B9020 002B5F80 90 01 03 28 */ stw r0, 0x328(r1) -/* 802B9024 002B5F84 7C BA 2B 78 */ mr r26, r5 -/* 802B9028 002B5F88 80 0F 00 00 */ lwz r0, 0(r15) -/* 802B902C 002B5F8C 39 60 01 40 */ li r11, 0x140 -/* 802B9030 002B5F90 80 A1 03 28 */ lwz r5, 0x328(r1) -/* 802B9034 002B5F94 39 40 00 E0 */ li r10, 0xe0 -/* 802B9038 002B5F98 90 01 03 38 */ stw r0, 0x338(r1) -/* 802B903C 002B5F9C 3D 00 80 3D */ lis r8, lbl_803D6570@ha -/* 802B9040 002B5FA0 80 0F 00 04 */ lwz r0, 4(r15) -/* 802B9044 002B5FA4 38 A5 30 00 */ addi r5, r5, 0x3000 -/* 802B9048 002B5FA8 81 8F 00 0C */ lwz r12, 0xc(r15) -/* 802B904C 002B5FAC 3D 20 80 5A */ lis r9, lbl_805A6204@ha -/* 802B9050 002B5FB0 90 01 03 34 */ stw r0, 0x334(r1) -/* 802B9054 002B5FB4 38 08 65 70 */ addi r0, r8, lbl_803D6570@l -/* 802B9058 002B5FB8 FF 40 D8 90 */ fmr f26, f27 -/* 802B905C 002B5FBC 7C DB 33 78 */ mr r27, r6 -/* 802B9060 002B5FC0 90 01 03 40 */ stw r0, 0x340(r1) -/* 802B9064 002B5FC4 38 00 00 00 */ li r0, 0 -/* 802B9068 002B5FC8 FF 20 D8 90 */ fmr f25, f27 -/* 802B906C 002B5FCC 7C FC 3B 78 */ mr r28, r7 -/* 802B9070 002B5FD0 90 01 03 30 */ stw r0, 0x330(r1) -/* 802B9074 002B5FD4 38 00 00 01 */ li r0, 1 -/* 802B9078 002B5FD8 FF 00 D8 90 */ fmr f24, f27 -/* 802B907C 002B5FDC 3A 00 00 00 */ li r16, 0 -/* 802B9080 002B5FE0 90 61 00 10 */ stw r3, 0x10(r1) -/* 802B9084 002B5FE4 38 69 62 04 */ addi r3, r9, lbl_805A6204@l -/* 802B9088 002B5FE8 39 E0 01 40 */ li r15, 0x140 -/* 802B908C 002B5FEC 3A 20 00 E0 */ li r17, 0xe0 -/* 802B9090 002B5FF0 90 81 00 14 */ stw r4, 0x14(r1) -/* 802B9094 002B5FF4 7C 64 1B 78 */ mr r4, r3 -/* 802B9098 002B5FF8 38 61 02 44 */ addi r3, r1, 0x244 -/* 802B909C 002B5FFC 91 C1 00 54 */ stw r14, 0x54(r1) -/* 802B90A0 002B6000 91 81 00 50 */ stw r12, 0x50(r1) -/* 802B90A4 002B6004 91 61 00 4C */ stw r11, 0x4c(r1) -/* 802B90A8 002B6008 91 41 00 48 */ stw r10, 0x48(r1) -/* 802B90AC 002B600C 98 01 03 24 */ stb r0, 0x324(r1) -/* 802B90B0 002B6010 90 A1 03 28 */ stw r5, 0x328(r1) -/* 802B90B4 002B6014 48 05 9A C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B90B8 002B6018 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B90BC 002B601C 38 61 02 14 */ addi r3, r1, 0x214 -/* 802B90C0 002B6020 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802B90C4 002B6024 48 05 9A B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B90C8 002B6028 38 61 01 40 */ addi r3, r1, 0x140 -/* 802B90CC 002B602C 48 05 32 65 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv -/* 802B90D0 002B6030 C3 A1 01 40 */ lfs f29, 0x140(r1) -/* 802B90D4 002B6034 38 61 00 60 */ addi r3, r1, 0x60 -/* 802B90D8 002B6038 C3 81 01 44 */ lfs f28, 0x144(r1) -/* 802B90DC 002B603C C1 A1 01 48 */ lfs f13, 0x148(r1) -/* 802B90E0 002B6040 C1 81 01 4C */ lfs f12, 0x14c(r1) -/* 802B90E4 002B6044 C1 61 01 50 */ lfs f11, 0x150(r1) -/* 802B90E8 002B6048 C1 41 01 54 */ lfs f10, 0x154(r1) -/* 802B90EC 002B604C C1 21 01 58 */ lfs f9, 0x158(r1) -/* 802B90F0 002B6050 C1 01 01 5C */ lfs f8, 0x15c(r1) -/* 802B90F4 002B6054 C0 E1 01 60 */ lfs f7, 0x160(r1) -/* 802B90F8 002B6058 C0 C1 01 64 */ lfs f6, 0x164(r1) -/* 802B90FC 002B605C C0 A1 01 68 */ lfs f5, 0x168(r1) -/* 802B9100 002B6060 C0 81 01 6C */ lfs f4, 0x16c(r1) -/* 802B9104 002B6064 C0 61 01 70 */ lfs f3, 0x170(r1) -/* 802B9108 002B6068 C0 41 01 74 */ lfs f2, 0x174(r1) -/* 802B910C 002B606C C0 21 01 78 */ lfs f1, 0x178(r1) -/* 802B9110 002B6070 C0 01 01 7C */ lfs f0, 0x17c(r1) -/* 802B9114 002B6074 D3 A1 01 D4 */ stfs f29, 0x1d4(r1) -/* 802B9118 002B6078 80 81 00 54 */ lwz r4, 0x54(r1) -/* 802B911C 002B607C D3 81 01 D8 */ stfs f28, 0x1d8(r1) -/* 802B9120 002B6080 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 802B9124 002B6084 D1 A1 01 DC */ stfs f13, 0x1dc(r1) -/* 802B9128 002B6088 D1 81 01 E0 */ stfs f12, 0x1e0(r1) -/* 802B912C 002B608C D1 61 01 E4 */ stfs f11, 0x1e4(r1) -/* 802B9130 002B6090 D1 41 01 E8 */ stfs f10, 0x1e8(r1) -/* 802B9134 002B6094 D1 21 01 EC */ stfs f9, 0x1ec(r1) -/* 802B9138 002B6098 D1 01 01 F0 */ stfs f8, 0x1f0(r1) -/* 802B913C 002B609C D0 E1 01 F4 */ stfs f7, 0x1f4(r1) -/* 802B9140 002B60A0 D0 C1 01 F8 */ stfs f6, 0x1f8(r1) -/* 802B9144 002B60A4 D0 A1 01 FC */ stfs f5, 0x1fc(r1) -/* 802B9148 002B60A8 D0 81 02 00 */ stfs f4, 0x200(r1) -/* 802B914C 002B60AC D0 61 02 04 */ stfs f3, 0x204(r1) -/* 802B9150 002B60B0 D0 41 02 08 */ stfs f2, 0x208(r1) -/* 802B9154 002B60B4 D0 21 02 0C */ stfs f1, 0x20c(r1) -/* 802B9158 002B60B8 D0 01 02 10 */ stfs f0, 0x210(r1) -/* 802B915C 002B60BC 48 05 B1 F1 */ bl __ct__9CVector2iFii -/* 802B9160 002B60C0 38 61 00 58 */ addi r3, r1, 0x58 -/* 802B9164 002B60C4 38 80 00 00 */ li r4, 0 -/* 802B9168 002B60C8 38 A0 00 00 */ li r5, 0 -/* 802B916C 002B60CC 48 05 B1 E1 */ bl __ct__9CVector2iFii -/* 802B9170 002B60D0 38 00 00 00 */ li r0, 0 -/* 802B9174 002B60D4 3A 41 02 78 */ addi r18, r1, 0x278 -/* 802B9178 002B60D8 90 01 02 74 */ stw r0, 0x274(r1) -/* 802B917C 002B60DC 39 C1 01 B4 */ addi r14, r1, 0x1b4 -/* 802B9180 002B60E0 3A 60 00 01 */ li r19, 1 -/* 802B9184 002B60E4 3A 80 00 00 */ li r20, 0 -/* 802B9188 002B60E8 90 01 01 B0 */ stw r0, 0x1b0(r1) -lbl_802B918C: -/* 802B918C 002B60EC 7F 44 D3 78 */ mr r4, r26 -/* 802B9190 002B60F0 7E 85 A3 78 */ mr r5, r20 -/* 802B9194 002B60F4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802B9198 002B60F8 48 07 E4 19 */ bl GetPoint__6CAABoxCFi -/* 802B919C 002B60FC 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802B91A0 002B6100 38 81 02 44 */ addi r4, r1, 0x244 -/* 802B91A4 002B6104 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 802B91A8 002B6108 48 05 99 41 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B91AC 002B610C C0 41 00 D8 */ lfs f2, 0xd8(r1) -/* 802B91B0 002B6110 38 61 00 BC */ addi r3, r1, 0xbc -/* 802B91B4 002B6114 C0 21 02 30 */ lfs f1, 0x230(r1) -/* 802B91B8 002B6118 38 81 02 14 */ addi r4, r1, 0x214 -/* 802B91BC 002B611C C0 81 00 DC */ lfs f4, 0xdc(r1) -/* 802B91C0 002B6120 38 A1 00 68 */ addi r5, r1, 0x68 -/* 802B91C4 002B6124 C0 01 02 40 */ lfs f0, 0x240(r1) -/* 802B91C8 002B6128 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802B91CC 002B612C C0 61 00 D4 */ lfs f3, 0xd4(r1) -/* 802B91D0 002B6130 C0 41 02 20 */ lfs f2, 0x220(r1) -/* 802B91D4 002B6134 EC 04 00 28 */ fsubs f0, f4, f0 -/* 802B91D8 002B6138 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802B91DC 002B613C EC 23 10 28 */ fsubs f1, f3, f2 -/* 802B91E0 002B6140 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802B91E4 002B6144 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 802B91E8 002B6148 48 05 98 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 802B91EC 002B614C C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 802B91F0 002B6150 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802B91F4 002B6154 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 802B91F8 002B6158 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 802B91FC 002B615C C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 802B9200 002B6160 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 802B9204 002B6164 D0 41 00 E0 */ stfs f2, 0xe0(r1) -/* 802B9208 002B6168 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 802B920C 002B616C D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 802B9210 002B6170 48 05 75 F1 */ bl __ml__9CMatrix4fCFRC9CVector3f -/* 802B9214 002B6174 80 01 02 74 */ lwz r0, 0x274(r1) -/* 802B9218 002B6178 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 802B921C 002B617C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802B9220 002B6180 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 802B9224 002B6184 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 802B9228 002B6188 7C 72 02 15 */ add. r3, r18, r0 -/* 802B922C 002B618C 41 82 00 10 */ beq lbl_802B923C -/* 802B9230 002B6190 D0 03 00 00 */ stfs f0, 0(r3) -/* 802B9234 002B6194 D0 23 00 04 */ stfs f1, 4(r3) -/* 802B9238 002B6198 D0 43 00 08 */ stfs f2, 8(r3) -lbl_802B923C: -/* 802B923C 002B619C 80 A1 02 74 */ lwz r5, 0x274(r1) -/* 802B9240 002B61A0 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 802B9244 002B61A4 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 802B9248 002B61A8 38 05 00 01 */ addi r0, r5, 1 -/* 802B924C 002B61AC 90 01 02 74 */ stw r0, 0x274(r1) -/* 802B9250 002B61B0 48 05 74 D1 */ bl MultiplyGetW__9CMatrix4fCFRC9CVector3f -/* 802B9254 002B61B4 80 01 01 B0 */ lwz r0, 0x1b0(r1) -/* 802B9258 002B61B8 54 00 10 3A */ slwi r0, r0, 2 -/* 802B925C 002B61BC 7C 6E 02 15 */ add. r3, r14, r0 -/* 802B9260 002B61C0 41 82 00 08 */ beq lbl_802B9268 -/* 802B9264 002B61C4 D0 23 00 00 */ stfs f1, 0(r3) -lbl_802B9268: -/* 802B9268 002B61C8 80 61 01 B0 */ lwz r3, 0x1b0(r1) -/* 802B926C 002B61CC 3A 94 00 01 */ addi r20, r20, 1 -/* 802B9270 002B61D0 2C 14 00 08 */ cmpwi r20, 8 -/* 802B9274 002B61D4 38 03 00 01 */ addi r0, r3, 1 -/* 802B9278 002B61D8 90 01 01 B0 */ stw r0, 0x1b0(r1) -/* 802B927C 002B61DC 41 80 FF 10 */ blt lbl_802B918C -/* 802B9280 002B61E0 38 00 00 14 */ li r0, 0x14 -/* 802B9284 002B61E4 39 01 00 64 */ addi r8, r1, 0x64 -/* 802B9288 002B61E8 39 21 00 5C */ addi r9, r1, 0x5c -/* 802B928C 002B61EC 7D C3 73 78 */ mr r3, r14 -/* 802B9290 002B61F0 7E 44 93 78 */ mr r4, r18 -/* 802B9294 002B61F4 39 40 00 00 */ li r10, 0 -/* 802B9298 002B61F8 7C 09 03 A6 */ mtctr r0 -lbl_802B929C: -/* 802B929C 002B61FC 2C 0A 00 08 */ cmpwi r10, 8 -/* 802B92A0 002B6200 40 80 00 2C */ bge lbl_802B92CC -/* 802B92A4 002B6204 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802B92A8 002B6208 C0 03 00 00 */ lfs f0, 0(r3) -/* 802B92AC 002B620C C0 44 00 00 */ lfs f2, 0(r4) -/* 802B92B0 002B6210 EC 61 00 24 */ fdivs f3, f1, f0 -/* 802B92B4 002B6214 C0 24 00 04 */ lfs f1, 4(r4) -/* 802B92B8 002B6218 C0 04 00 08 */ lfs f0, 8(r4) -/* 802B92BC 002B621C EC 83 00 B2 */ fmuls f4, f3, f2 -/* 802B92C0 002B6220 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802B92C4 002B6224 EC 43 00 32 */ fmuls f2, f3, f0 -/* 802B92C8 002B6228 48 00 00 E0 */ b lbl_802B93A8 -lbl_802B92CC: -/* 802B92CC 002B622C 80 A1 03 40 */ lwz r5, 0x340(r1) -/* 802B92D0 002B6230 38 0A FF F8 */ addi r0, r10, -8 -/* 802B92D4 002B6234 54 00 18 38 */ slwi r0, r0, 3 -/* 802B92D8 002B6238 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) -/* 802B92DC 002B623C 38 A5 00 FC */ addi r5, r5, 0xfc -/* 802B92E0 002B6240 7C A5 02 14 */ add r5, r5, r0 -/* 802B92E4 002B6244 80 05 00 00 */ lwz r0, 0(r5) -/* 802B92E8 002B6248 80 E5 00 04 */ lwz r7, 4(r5) -/* 802B92EC 002B624C 1C C0 00 0C */ mulli r6, r0, 0xc -/* 802B92F0 002B6250 54 05 10 3A */ slwi r5, r0, 2 -/* 802B92F4 002B6254 7D 4E 2C 2E */ lfsx f10, r14, r5 -/* 802B92F8 002B6258 54 E0 10 3A */ slwi r0, r7, 2 -/* 802B92FC 002B625C 7C 2E 04 2E */ lfsx f1, r14, r0 -/* 802B9300 002B6260 7C B2 32 14 */ add r5, r18, r6 -/* 802B9304 002B6264 C0 C5 00 08 */ lfs f6, 8(r5) -/* 802B9308 002B6268 1C 07 00 0C */ mulli r0, r7, 0xc -/* 802B930C 002B626C C0 85 00 00 */ lfs f4, 0(r5) -/* 802B9310 002B6270 EC 06 50 24 */ fdivs f0, f6, f10 -/* 802B9314 002B6274 C0 A5 00 04 */ lfs f5, 4(r5) -/* 802B9318 002B6278 7C B2 02 14 */ add r5, r18, r0 -/* 802B931C 002B627C C1 25 00 08 */ lfs f9, 8(r5) -/* 802B9320 002B6280 C0 E5 00 00 */ lfs f7, 0(r5) -/* 802B9324 002B6284 C1 05 00 04 */ lfs f8, 4(r5) -/* 802B9328 002B6288 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802B932C 002B628C 7C 00 00 26 */ mfcr r0 -/* 802B9330 002B6290 EC 09 08 24 */ fdivs f0, f9, f1 -/* 802B9334 002B6294 54 05 17 FE */ rlwinm r5, r0, 2, 0x1f, 0x1f -/* 802B9338 002B6298 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802B933C 002B629C 7C 00 00 26 */ mfcr r0 -/* 802B9340 002B62A0 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802B9344 002B62A4 7C 05 00 40 */ cmplw r5, r0 -/* 802B9348 002B62A8 41 82 02 48 */ beq lbl_802B9590 -/* 802B934C 002B62AC EC 4A 18 28 */ fsubs f2, f10, f3 -/* 802B9350 002B62B0 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802B9354 002B62B4 EC 21 50 28 */ fsubs f1, f1, f10 -/* 802B9358 002B62B8 FC 40 10 50 */ fneg f2, f2 -/* 802B935C 002B62BC ED 62 08 24 */ fdivs f11, f2, f1 -/* 802B9360 002B62C0 FC 0B 00 40 */ fcmpo cr0, f11, f0 -/* 802B9364 002B62C4 40 81 02 2C */ ble lbl_802B9590 -/* 802B9368 002B62C8 FC 0B 18 40 */ fcmpo cr0, f11, f3 -/* 802B936C 002B62CC 40 80 02 24 */ bge lbl_802B9590 -/* 802B9370 002B62D0 EC 0B 50 7A */ fmadds f0, f11, f1, f10 -/* 802B9374 002B62D4 EC 47 20 28 */ fsubs f2, f7, f4 -/* 802B9378 002B62D8 EC 28 28 28 */ fsubs f1, f8, f5 -/* 802B937C 002B62DC EC 63 00 24 */ fdivs f3, f3, f0 -/* 802B9380 002B62E0 EC 09 30 28 */ fsubs f0, f9, f6 -/* 802B9384 002B62E4 EC 4B 00 B2 */ fmuls f2, f11, f2 -/* 802B9388 002B62E8 EC 2B 00 72 */ fmuls f1, f11, f1 -/* 802B938C 002B62EC EC 0B 00 32 */ fmuls f0, f11, f0 -/* 802B9390 002B62F0 EC 44 10 2A */ fadds f2, f4, f2 -/* 802B9394 002B62F4 EC 25 08 2A */ fadds f1, f5, f1 -/* 802B9398 002B62F8 EC 06 00 2A */ fadds f0, f6, f0 -/* 802B939C 002B62FC EC 83 00 B2 */ fmuls f4, f3, f2 -/* 802B93A0 002B6300 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802B93A4 002B6304 EC 43 00 32 */ fmuls f2, f3, f0 -lbl_802B93A8: -/* 802B93A8 002B6308 C0 02 C2 D0 */ lfs f0, lbl_805ADFF0@sda21(r2) -/* 802B93AC 002B630C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802B93B0 002B6310 4C 40 13 82 */ cror 2, 0, 2 -/* 802B93B4 002B6314 40 82 01 DC */ bne lbl_802B9590 -/* 802B93B8 002B6318 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 802B93BC 002B631C 3E 60 43 30 */ lis r19, 0x4330 -/* 802B93C0 002B6320 80 C1 00 50 */ lwz r6, 0x50(r1) -/* 802B93C4 002B6324 FC 00 08 50 */ fneg f0, f1 -/* 802B93C8 002B6328 6C AC 80 00 */ xoris r12, r5, 0x8000 -/* 802B93CC 002B632C 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 802B93D0 002B6330 7D 60 2A 14 */ add r11, r0, r5 -/* 802B93D4 002B6334 6C C7 80 00 */ xoris r7, r6, 0x8000 -/* 802B93D8 002B6338 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 802B93DC 002B633C 7D 6B 0E 70 */ srawi r11, r11, 1 -/* 802B93E0 002B6340 91 81 02 DC */ stw r12, 0x2dc(r1) -/* 802B93E4 002B6344 7C 00 32 14 */ add r0, r0, r6 -/* 802B93E8 002B6348 C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) -/* 802B93EC 002B634C 92 61 02 D8 */ stw r19, 0x2d8(r1) -/* 802B93F0 002B6350 6D 6C 80 00 */ xoris r12, r11, 0x8000 -/* 802B93F4 002B6354 7C 00 0E 70 */ srawi r0, r0, 1 -/* 802B93F8 002B6358 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) -/* 802B93FC 002B635C C8 21 02 D8 */ lfd f1, 0x2d8(r1) -/* 802B9400 002B6360 6C 0B 80 00 */ xoris r11, r0, 0x8000 -/* 802B9404 002B6364 90 E1 02 F4 */ stw r7, 0x2f4(r1) -/* 802B9408 002B6368 38 E1 00 44 */ addi r7, r1, 0x44 -/* 802B940C 002B636C EC 41 28 28 */ fsubs f2, f1, f5 -/* 802B9410 002B6370 80 0D 9A D8 */ lwz r0, lbl_805A8698@sda21(r13) -/* 802B9414 002B6374 92 61 02 F0 */ stw r19, 0x2f0(r1) -/* 802B9418 002B6378 C8 21 02 F0 */ lfd f1, 0x2f0(r1) -/* 802B941C 002B637C EC 82 01 32 */ fmuls f4, f2, f4 -/* 802B9420 002B6380 91 81 02 E4 */ stw r12, 0x2e4(r1) -/* 802B9424 002B6384 EC 21 28 28 */ fsubs f1, f1, f5 -/* 802B9428 002B6388 92 61 02 E0 */ stw r19, 0x2e0(r1) -/* 802B942C 002B638C C8 41 02 E0 */ lfd f2, 0x2e0(r1) -/* 802B9430 002B6390 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802B9434 002B6394 91 61 02 FC */ stw r11, 0x2fc(r1) -/* 802B9438 002B6398 EC 42 28 28 */ fsubs f2, f2, f5 -/* 802B943C 002B639C 92 61 02 F8 */ stw r19, 0x2f8(r1) -/* 802B9440 002B63A0 C8 01 02 F8 */ lfd f0, 0x2f8(r1) -/* 802B9444 002B63A4 EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 802B9448 002B63A8 EC 00 28 28 */ fsubs f0, f0, f5 -/* 802B944C 002B63AC FC 40 10 1E */ fctiwz f2, f2 -/* 802B9450 002B63B0 EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 802B9454 002B63B4 D8 41 02 E8 */ stfd f2, 0x2e8(r1) -/* 802B9458 002B63B8 82 61 02 EC */ lwz r19, 0x2ec(r1) -/* 802B945C 002B63BC FC 00 00 1E */ fctiwz f0, f0 -/* 802B9460 002B63C0 7C 13 00 00 */ cmpw r19, r0 -/* 802B9464 002B63C4 92 61 00 44 */ stw r19, 0x44(r1) -/* 802B9468 002B63C8 D8 01 03 00 */ stfd f0, 0x300(r1) -/* 802B946C 002B63CC 80 01 03 04 */ lwz r0, 0x304(r1) -/* 802B9470 002B63D0 90 01 00 40 */ stw r0, 0x40(r1) -/* 802B9474 002B63D4 40 80 00 08 */ bge lbl_802B947C -/* 802B9478 002B63D8 38 ED 9A D8 */ addi r7, r13, lbl_805A8698@sda21 -lbl_802B947C: -/* 802B947C 002B63DC 81 87 00 00 */ lwz r12, 0(r7) -/* 802B9480 002B63E0 39 61 00 40 */ addi r11, r1, 0x40 -/* 802B9484 002B63E4 80 E1 00 40 */ lwz r7, 0x40(r1) -/* 802B9488 002B63E8 80 0D 9A DC */ lwz r0, lbl_805A869C@sda21(r13) -/* 802B948C 002B63EC 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d -/* 802B9490 002B63F0 91 81 00 3C */ stw r12, 0x3c(r1) -/* 802B9494 002B63F4 7C 07 00 00 */ cmpw r7, r0 -/* 802B9498 002B63F8 40 80 00 08 */ bge lbl_802B94A0 -/* 802B949C 002B63FC 39 6D 9A DC */ addi r11, r13, lbl_805A869C@sda21 -lbl_802B94A0: -/* 802B94A0 002B6400 81 8B 00 00 */ lwz r12, 0(r11) -/* 802B94A4 002B6404 39 65 FF FC */ addi r11, r5, -4 -/* 802B94A8 002B6408 38 13 00 03 */ addi r0, r19, 3 -/* 802B94AC 002B640C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802B94B0 002B6410 55 8C 00 3A */ rlwinm r12, r12, 0, 0, 0x1d -/* 802B94B4 002B6414 91 61 00 28 */ stw r11, 0x28(r1) -/* 802B94B8 002B6418 7C 0B 00 00 */ cmpw r11, r0 -/* 802B94BC 002B641C 91 81 00 38 */ stw r12, 0x38(r1) -/* 802B94C0 002B6420 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802B94C4 002B6424 40 80 00 08 */ bge lbl_802B94CC -/* 802B94C8 002B6428 38 A1 00 28 */ addi r5, r1, 0x28 -lbl_802B94CC: -/* 802B94CC 002B642C 81 65 00 00 */ lwz r11, 0(r5) -/* 802B94D0 002B6430 38 C6 FF FC */ addi r6, r6, -4 -/* 802B94D4 002B6434 38 07 00 03 */ addi r0, r7, 3 -/* 802B94D8 002B6438 38 A1 00 24 */ addi r5, r1, 0x24 -/* 802B94DC 002B643C 55 67 00 3A */ rlwinm r7, r11, 0, 0, 0x1d -/* 802B94E0 002B6440 90 C1 00 20 */ stw r6, 0x20(r1) -/* 802B94E4 002B6444 7C 06 00 00 */ cmpw r6, r0 -/* 802B94E8 002B6448 90 E1 00 34 */ stw r7, 0x34(r1) -/* 802B94EC 002B644C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802B94F0 002B6450 40 80 00 08 */ bge lbl_802B94F8 -/* 802B94F4 002B6454 38 A1 00 20 */ addi r5, r1, 0x20 -lbl_802B94F8: -/* 802B94F8 002B6458 80 E5 00 00 */ lwz r7, 0(r5) -/* 802B94FC 002B645C 38 C1 00 60 */ addi r6, r1, 0x60 -/* 802B9500 002B6460 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802B9504 002B6464 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802B9508 002B6468 54 E7 00 3A */ rlwinm r7, r7, 0, 0, 0x1d -/* 802B950C 002B646C 90 E1 00 30 */ stw r7, 0x30(r1) -/* 802B9510 002B6470 7C 05 00 00 */ cmpw r5, r0 -/* 802B9514 002B6474 40 80 00 08 */ bge lbl_802B951C -/* 802B9518 002B6478 38 C1 00 3C */ addi r6, r1, 0x3c -lbl_802B951C: -/* 802B951C 002B647C 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 802B9520 002B6480 80 08 00 00 */ lwz r0, 0(r8) -/* 802B9524 002B6484 80 C6 00 00 */ lwz r6, 0(r6) -/* 802B9528 002B6488 7C 05 00 00 */ cmpw r5, r0 -/* 802B952C 002B648C 90 C1 00 60 */ stw r6, 0x60(r1) -/* 802B9530 002B6490 40 80 00 0C */ bge lbl_802B953C -/* 802B9534 002B6494 38 E1 00 38 */ addi r7, r1, 0x38 -/* 802B9538 002B6498 48 00 00 08 */ b lbl_802B9540 -lbl_802B953C: -/* 802B953C 002B649C 7D 07 43 78 */ mr r7, r8 -lbl_802B9540: -/* 802B9540 002B64A0 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 802B9544 002B64A4 38 C1 00 58 */ addi r6, r1, 0x58 -/* 802B9548 002B64A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802B954C 002B64AC 80 E7 00 00 */ lwz r7, 0(r7) -/* 802B9550 002B64B0 7C 05 00 00 */ cmpw r5, r0 -/* 802B9554 002B64B4 90 E8 00 00 */ stw r7, 0(r8) -/* 802B9558 002B64B8 40 80 00 08 */ bge lbl_802B9560 -/* 802B955C 002B64BC 38 C1 00 34 */ addi r6, r1, 0x34 -lbl_802B9560: -/* 802B9560 002B64C0 80 A9 00 00 */ lwz r5, 0(r9) -/* 802B9564 002B64C4 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802B9568 002B64C8 80 C6 00 00 */ lwz r6, 0(r6) -/* 802B956C 002B64CC 7C 05 00 00 */ cmpw r5, r0 -/* 802B9570 002B64D0 90 C1 00 58 */ stw r6, 0x58(r1) -/* 802B9574 002B64D4 40 80 00 0C */ bge lbl_802B9580 -/* 802B9578 002B64D8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 802B957C 002B64DC 48 00 00 08 */ b lbl_802B9584 -lbl_802B9580: -/* 802B9580 002B64E0 7D 25 4B 78 */ mr r5, r9 -lbl_802B9584: -/* 802B9584 002B64E4 80 05 00 00 */ lwz r0, 0(r5) -/* 802B9588 002B64E8 3A 60 00 00 */ li r19, 0 -/* 802B958C 002B64EC 90 09 00 00 */ stw r0, 0(r9) -lbl_802B9590: -/* 802B9590 002B64F0 38 63 00 04 */ addi r3, r3, 4 -/* 802B9594 002B64F4 38 84 00 0C */ addi r4, r4, 0xc -/* 802B9598 002B64F8 39 4A 00 01 */ addi r10, r10, 1 -/* 802B959C 002B64FC 42 00 FD 00 */ bdnz lbl_802B929C -/* 802B95A0 002B6500 80 C1 00 54 */ lwz r6, 0x54(r1) -/* 802B95A4 002B6504 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 802B95A8 002B6508 81 01 00 50 */ lwz r8, 0x50(r1) -/* 802B95AC 002B650C 90 C1 03 20 */ stw r6, 0x320(r1) -/* 802B95B0 002B6510 91 01 03 1C */ stw r8, 0x31c(r1) -/* 802B95B4 002B6514 40 82 00 98 */ bne lbl_802B964C -/* 802B95B8 002B6518 80 A1 00 60 */ lwz r5, 0x60(r1) -/* 802B95BC 002B651C 38 61 00 1C */ addi r3, r1, 0x1c -/* 802B95C0 002B6520 80 81 00 58 */ lwz r4, 0x58(r1) -/* 802B95C4 002B6524 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802B95C8 002B6528 7C 85 20 50 */ subf r4, r5, r4 -/* 802B95CC 002B652C 7C 00 20 00 */ cmpw r0, r4 -/* 802B95D0 002B6530 90 81 00 1C */ stw r4, 0x1c(r1) -/* 802B95D4 002B6534 40 80 00 08 */ bge lbl_802B95DC -/* 802B95D8 002B6538 38 61 00 4C */ addi r3, r1, 0x4c -lbl_802B95DC: -/* 802B95DC 002B653C 81 41 00 64 */ lwz r10, 0x64(r1) -/* 802B95E0 002B6540 38 81 00 18 */ addi r4, r1, 0x18 -/* 802B95E4 002B6544 80 E1 00 5C */ lwz r7, 0x5c(r1) -/* 802B95E8 002B6548 80 A3 00 00 */ lwz r5, 0(r3) -/* 802B95EC 002B654C 7C 6A 38 50 */ subf r3, r10, r7 -/* 802B95F0 002B6550 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802B95F4 002B6554 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 802B95F8 002B6558 7C 00 18 00 */ cmpw r0, r3 -/* 802B95FC 002B655C 90 61 00 18 */ stw r3, 0x18(r1) -/* 802B9600 002B6560 40 80 00 08 */ bge lbl_802B9608 -/* 802B9604 002B6564 38 81 00 48 */ addi r4, r1, 0x48 -lbl_802B9608: -/* 802B9608 002B6568 80 01 00 58 */ lwz r0, 0x58(r1) -/* 802B960C 002B656C 38 61 00 58 */ addi r3, r1, 0x58 -/* 802B9610 002B6570 80 84 00 00 */ lwz r4, 0(r4) -/* 802B9614 002B6574 7C 06 00 00 */ cmpw r6, r0 -/* 802B9618 002B6578 90 81 00 48 */ stw r4, 0x48(r1) -/* 802B961C 002B657C 40 80 00 08 */ bge lbl_802B9624 -/* 802B9620 002B6580 38 61 00 54 */ addi r3, r1, 0x54 -lbl_802B9624: -/* 802B9624 002B6584 80 03 00 00 */ lwz r0, 0(r3) -/* 802B9628 002B6588 7C 08 38 00 */ cmpw r8, r7 -/* 802B962C 002B658C 90 01 03 20 */ stw r0, 0x320(r1) -/* 802B9630 002B6590 40 80 00 08 */ bge lbl_802B9638 -/* 802B9634 002B6594 39 21 00 50 */ addi r9, r1, 0x50 -lbl_802B9638: -/* 802B9638 002B6598 80 09 00 00 */ lwz r0, 0(r9) -/* 802B963C 002B659C 7D 50 53 78 */ mr r16, r10 -/* 802B9640 002B65A0 90 01 03 1C */ stw r0, 0x31c(r1) -/* 802B9644 002B65A4 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802B9648 002B65A8 90 01 03 30 */ stw r0, 0x330(r1) -lbl_802B964C: -/* 802B964C 002B65AC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802B9650 002B65B0 2C 00 00 00 */ cmpwi r0, 0 -/* 802B9654 002B65B4 40 81 00 10 */ ble lbl_802B9664 -/* 802B9658 002B65B8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802B965C 002B65BC 2C 00 00 00 */ cmpwi r0, 0 -/* 802B9660 002B65C0 41 81 00 AC */ bgt lbl_802B970C -lbl_802B9664: -/* 802B9664 002B65C4 80 A1 01 B0 */ lwz r5, 0x1b0(r1) -/* 802B9668 002B65C8 38 60 00 00 */ li r3, 0 -/* 802B966C 002B65CC 2C 05 00 00 */ cmpwi r5, 0 -/* 802B9670 002B65D0 40 81 00 40 */ ble lbl_802B96B0 -/* 802B9674 002B65D4 2C 05 00 08 */ cmpwi r5, 8 -/* 802B9678 002B65D8 38 85 FF F8 */ addi r4, r5, -8 -/* 802B967C 002B65DC 40 81 00 20 */ ble lbl_802B969C -/* 802B9680 002B65E0 38 04 00 07 */ addi r0, r4, 7 -/* 802B9684 002B65E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 802B9688 002B65E8 7C 09 03 A6 */ mtctr r0 -/* 802B968C 002B65EC 2C 04 00 00 */ cmpwi r4, 0 -/* 802B9690 002B65F0 40 81 00 0C */ ble lbl_802B969C -lbl_802B9694: -/* 802B9694 002B65F4 38 63 00 08 */ addi r3, r3, 8 -/* 802B9698 002B65F8 42 00 FF FC */ bdnz lbl_802B9694 -lbl_802B969C: -/* 802B969C 002B65FC 7C 03 28 50 */ subf r0, r3, r5 -/* 802B96A0 002B6600 7C 09 03 A6 */ mtctr r0 -/* 802B96A4 002B6604 7C 03 28 00 */ cmpw r3, r5 -/* 802B96A8 002B6608 40 80 00 08 */ bge lbl_802B96B0 -lbl_802B96AC: -/* 802B96AC 002B660C 42 00 00 00 */ bdnz lbl_802B96AC -lbl_802B96B0: -/* 802B96B0 002B6610 80 A1 02 74 */ lwz r5, 0x274(r1) -/* 802B96B4 002B6614 38 60 00 00 */ li r3, 0 -/* 802B96B8 002B6618 90 61 01 B0 */ stw r3, 0x1b0(r1) -/* 802B96BC 002B661C 2C 05 00 00 */ cmpwi r5, 0 -/* 802B96C0 002B6620 40 81 00 40 */ ble lbl_802B9700 -/* 802B96C4 002B6624 2C 05 00 08 */ cmpwi r5, 8 -/* 802B96C8 002B6628 38 85 FF F8 */ addi r4, r5, -8 -/* 802B96CC 002B662C 40 81 00 20 */ ble lbl_802B96EC -/* 802B96D0 002B6630 38 04 00 07 */ addi r0, r4, 7 -/* 802B96D4 002B6634 54 00 E8 FE */ srwi r0, r0, 3 -/* 802B96D8 002B6638 7C 09 03 A6 */ mtctr r0 -/* 802B96DC 002B663C 2C 04 00 00 */ cmpwi r4, 0 -/* 802B96E0 002B6640 40 81 00 0C */ ble lbl_802B96EC -lbl_802B96E4: -/* 802B96E4 002B6644 38 63 00 08 */ addi r3, r3, 8 -/* 802B96E8 002B6648 42 00 FF FC */ bdnz lbl_802B96E4 -lbl_802B96EC: -/* 802B96EC 002B664C 7C 03 28 50 */ subf r0, r3, r5 -/* 802B96F0 002B6650 7C 09 03 A6 */ mtctr r0 -/* 802B96F4 002B6654 7C 03 28 00 */ cmpw r3, r5 -/* 802B96F8 002B6658 40 80 00 08 */ bge lbl_802B9700 -lbl_802B96FC: -/* 802B96FC 002B665C 42 00 00 00 */ bdnz lbl_802B96FC -lbl_802B9700: -/* 802B9700 002B6660 38 00 00 00 */ li r0, 0 -/* 802B9704 002B6664 90 01 02 74 */ stw r0, 0x274(r1) -/* 802B9708 002B6668 48 00 0B 38 */ b lbl_802BA240 -lbl_802B970C: -/* 802B970C 002B666C 80 01 03 34 */ lwz r0, 0x334(r1) -/* 802B9710 002B6670 7C 10 02 14 */ add r0, r16, r0 -/* 802B9714 002B6674 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802B9718 002B6678 41 82 00 08 */ beq lbl_802B9720 -/* 802B971C 002B667C 3A 10 FF FF */ addi r16, r16, -1 -lbl_802B9720: -/* 802B9720 002B6680 80 61 03 30 */ lwz r3, 0x330(r1) -/* 802B9724 002B6684 80 01 03 38 */ lwz r0, 0x338(r1) -/* 802B9728 002B6688 7C 03 02 14 */ add r0, r3, r0 -/* 802B972C 002B668C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802B9730 002B6690 41 82 00 0C */ beq lbl_802B973C -/* 802B9734 002B6694 38 63 FF FF */ addi r3, r3, -1 -/* 802B9738 002B6698 90 61 03 30 */ stw r3, 0x330(r1) -lbl_802B973C: -/* 802B973C 002B669C 48 05 00 C9 */ bl GetUseVideoFilter__9CGraphicsFv -/* 802B9740 002B66A0 90 61 03 44 */ stw r3, 0x344(r1) -/* 802B9744 002B66A4 38 60 00 00 */ li r3, 0 -/* 802B9748 002B66A8 48 05 00 C5 */ bl SetUseVideoFilter__9CGraphicsFb -/* 802B974C 002B66AC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B9750 002B66B0 3C C0 43 30 */ lis r6, 0x4330 -/* 802B9754 002B66B4 80 81 03 40 */ lwz r4, 0x340(r1) -/* 802B9758 002B66B8 A8 03 01 BC */ lha r0, 0x1bc(r3) -/* 802B975C 002B66BC A8 E3 01 BE */ lha r7, 0x1be(r3) -/* 802B9760 002B66C0 38 61 01 20 */ addi r3, r1, 0x120 -/* 802B9764 002B66C4 6C 05 80 00 */ xoris r5, r0, 0x8000 -/* 802B9768 002B66C8 81 04 01 68 */ lwz r8, 0x168(r4) -/* 802B976C 002B66CC 90 A1 03 04 */ stw r5, 0x304(r1) -/* 802B9770 002B66D0 6C E0 80 00 */ xoris r0, r7, 0x8000 -/* 802B9774 002B66D4 80 E4 01 78 */ lwz r7, 0x178(r4) -/* 802B9778 002B66D8 38 80 00 1E */ li r4, 0x1e -/* 802B977C 002B66DC 90 C1 03 00 */ stw r6, 0x300(r1) -/* 802B9780 002B66E0 38 A0 00 01 */ li r5, 1 -/* 802B9784 002B66E4 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) -/* 802B9788 002B66E8 C8 01 03 00 */ lfd f0, 0x300(r1) -/* 802B978C 002B66EC 90 C1 02 F8 */ stw r6, 0x2f8(r1) -/* 802B9790 002B66F0 EC 20 10 28 */ fsubs f1, f0, f2 -/* 802B9794 002B66F4 80 C1 03 40 */ lwz r6, 0x340(r1) -/* 802B9798 002B66F8 90 01 02 FC */ stw r0, 0x2fc(r1) -/* 802B979C 002B66FC C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) -/* 802B97A0 002B6700 C8 01 02 F8 */ lfd f0, 0x2f8(r1) -/* 802B97A4 002B6704 EC 23 08 24 */ fdivs f1, f3, f1 -/* 802B97A8 002B6708 91 01 01 2C */ stw r8, 0x12c(r1) -/* 802B97AC 002B670C 81 86 01 5C */ lwz r12, 0x15c(r6) -/* 802B97B0 002B6710 81 66 01 60 */ lwz r11, 0x160(r6) -/* 802B97B4 002B6714 81 46 01 64 */ lwz r10, 0x164(r6) -/* 802B97B8 002B6718 81 26 01 6C */ lwz r9, 0x16c(r6) -/* 802B97BC 002B671C EC 00 10 28 */ fsubs f0, f0, f2 -/* 802B97C0 002B6720 81 06 01 70 */ lwz r8, 0x170(r6) -/* 802B97C4 002B6724 80 06 01 74 */ lwz r0, 0x174(r6) -/* 802B97C8 002B6728 90 E1 01 3C */ stw r7, 0x13c(r1) -/* 802B97CC 002B672C EC 03 00 24 */ fdivs f0, f3, f0 -/* 802B97D0 002B6730 91 81 01 20 */ stw r12, 0x120(r1) -/* 802B97D4 002B6734 91 61 01 24 */ stw r11, 0x124(r1) -/* 802B97D8 002B6738 91 41 01 28 */ stw r10, 0x128(r1) -/* 802B97DC 002B673C 91 21 01 30 */ stw r9, 0x130(r1) -/* 802B97E0 002B6740 91 01 01 34 */ stw r8, 0x134(r1) -/* 802B97E4 002B6744 90 01 01 38 */ stw r0, 0x138(r1) -/* 802B97E8 002B6748 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 802B97EC 002B674C D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 802B97F0 002B6750 48 0C 2C A1 */ bl GXLoadTexMtxImm -/* 802B97F4 002B6754 38 61 00 80 */ addi r3, r1, 0x80 -/* 802B97F8 002B6758 38 81 02 44 */ addi r4, r1, 0x244 -/* 802B97FC 002B675C 38 BA 00 0C */ addi r5, r26, 0xc -/* 802B9800 002B6760 48 05 92 E9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B9804 002B6764 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 802B9808 002B6768 7F 45 D3 78 */ mr r5, r26 -/* 802B980C 002B676C C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) -/* 802B9810 002B6770 38 61 00 98 */ addi r3, r1, 0x98 -/* 802B9814 002B6774 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 802B9818 002B6778 38 81 02 44 */ addi r4, r1, 0x244 -/* 802B981C 002B677C C0 01 00 88 */ lfs f0, 0x88(r1) -/* 802B9820 002B6780 EC 42 18 2A */ fadds f2, f2, f3 -/* 802B9824 002B6784 EC 21 18 2A */ fadds f1, f1, f3 -/* 802B9828 002B6788 EC 00 18 2A */ fadds f0, f0, f3 -/* 802B982C 002B678C D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802B9830 002B6790 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 802B9834 002B6794 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 802B9838 002B6798 48 05 92 B1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802B983C 002B679C C0 41 00 98 */ lfs f2, 0x98(r1) -/* 802B9840 002B67A0 38 61 01 08 */ addi r3, r1, 0x108 -/* 802B9844 002B67A4 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) -/* 802B9848 002B67A8 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 802B984C 002B67AC C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 802B9850 002B67B0 38 A1 00 8C */ addi r5, r1, 0x8c -/* 802B9854 002B67B4 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 802B9858 002B67B8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 802B985C 002B67BC EC 21 18 28 */ fsubs f1, f1, f3 -/* 802B9860 002B67C0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802B9864 002B67C4 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 802B9868 002B67C8 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 802B986C 002B67CC D0 01 00 AC */ stfs f0, 0xac(r1) -/* 802B9870 002B67D0 48 07 EC 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802B9874 002B67D4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B9878 002B67D8 38 61 01 08 */ addi r3, r1, 0x108 -/* 802B987C 002B67DC 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l -/* 802B9880 002B67E0 38 81 00 74 */ addi r4, r1, 0x74 -/* 802B9884 002B67E4 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 802B9888 002B67E8 7C BF 2B 78 */ mr r31, r5 -/* 802B988C 002B67EC C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 802B9890 002B67F0 39 C0 00 00 */ li r14, 0 -/* 802B9894 002B67F4 C0 05 00 2C */ lfs f0, 0x2c(r5) -/* 802B9898 002B67F8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802B989C 002B67FC D0 21 00 78 */ stfs f1, 0x78(r1) -/* 802B98A0 002B6800 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802B98A4 002B6804 48 07 DC 91 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 802B98A8 002B6808 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802B98AC 002B680C 41 82 00 28 */ beq lbl_802B98D4 -/* 802B98B0 002B6810 28 1B 00 00 */ cmplwi r27, 0 -/* 802B98B4 002B6814 38 00 00 00 */ li r0, 0 -/* 802B98B8 002B6818 40 82 00 0C */ bne lbl_802B98C4 -/* 802B98BC 002B681C 28 1C 00 00 */ cmplwi r28, 0 -/* 802B98C0 002B6820 41 82 00 08 */ beq lbl_802B98C8 -lbl_802B98C4: -/* 802B98C4 002B6824 38 00 00 01 */ li r0, 1 -lbl_802B98C8: -/* 802B98C8 002B6828 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802B98CC 002B682C 41 82 00 08 */ beq lbl_802B98D4 -/* 802B98D0 002B6830 39 C0 00 01 */ li r14, 1 -lbl_802B98D4: -/* 802B98D4 002B6834 55 C0 06 3F */ clrlwi. r0, r14, 0x18 -/* 802B98D8 002B6838 41 82 00 2C */ beq lbl_802B9904 -/* 802B98DC 002B683C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B98E0 002B6840 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802B98E4 002B6844 38 60 00 01 */ li r3, 1 -/* 802B98E8 002B6848 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802B98EC 002B684C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B98F0 002B6850 98 03 03 18 */ stb r0, 0x318(r3) -/* 802B98F4 002B6854 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802B98F8 002B6858 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 802B98FC 002B685C 40 82 00 08 */ bne lbl_802B9904 -/* 802B9900 002B6860 39 C0 00 00 */ li r14, 0 -lbl_802B9904: -/* 802B9904 002B6864 38 60 00 01 */ li r3, 1 -/* 802B9908 002B6868 38 80 00 01 */ li r4, 1 -/* 802B990C 002B686C 48 04 E6 AD */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc -/* 802B9910 002B6870 55 D8 06 3E */ clrlwi r24, r14, 0x18 -/* 802B9914 002B6874 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802B9918 002B6878 7C 18 00 D0 */ neg r0, r24 -/* 802B991C 002B687C 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802B9920 002B6880 7C 00 C3 78 */ or r0, r0, r24 -/* 802B9924 002B6884 39 C3 66 70 */ addi r14, r3, skIdentity4f@l -/* 802B9928 002B6888 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802B992C 002B688C CB C2 C2 A0 */ lfd f30, lbl_805ADFC0@sda21(r2) -/* 802B9930 002B6890 38 04 61 D4 */ addi r0, r4, lbl_805A61D4@l -/* 802B9934 002B6894 C3 E2 C2 80 */ lfs f31, lbl_805ADFA0@sda21(r2) -/* 802B9938 002B6898 92 01 03 18 */ stw r16, 0x318(r1) -/* 802B993C 002B689C 3B 23 00 01 */ addi r25, r3, 1 -/* 802B9940 002B68A0 3E 60 43 30 */ lis r19, 0x4330 -/* 802B9944 002B68A4 3E 80 CC 01 */ lis r20, 0xcc01 -/* 802B9948 002B68A8 90 01 03 48 */ stw r0, 0x348(r1) -/* 802B994C 002B68AC 48 00 08 20 */ b lbl_802BA16C -lbl_802B9950: -/* 802B9950 002B68B0 80 61 03 18 */ lwz r3, 0x318(r1) -/* 802B9954 002B68B4 80 01 03 1C */ lwz r0, 0x31c(r1) -/* 802B9958 002B68B8 7C 03 00 50 */ subf r0, r3, r0 -/* 802B995C 002B68BC 7C 00 88 00 */ cmpw r0, r17 -/* 802B9960 002B68C0 40 80 00 10 */ bge lbl_802B9970 -/* 802B9964 002B68C4 7C 11 03 78 */ mr r17, r0 -/* 802B9968 002B68C8 38 00 00 01 */ li r0, 1 -/* 802B996C 002B68CC 98 01 03 24 */ stb r0, 0x324(r1) -lbl_802B9970: -/* 802B9970 002B68D0 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802B9974 002B68D4 7C 0F 00 00 */ cmpw r15, r0 -/* 802B9978 002B68D8 41 82 00 10 */ beq lbl_802B9988 -/* 802B997C 002B68DC 7C 0F 03 78 */ mr r15, r0 -/* 802B9980 002B68E0 38 00 00 01 */ li r0, 1 -/* 802B9984 002B68E4 98 01 03 24 */ stb r0, 0x324(r1) -lbl_802B9988: -/* 802B9988 002B68E8 80 61 03 18 */ lwz r3, 0x318(r1) -/* 802B998C 002B68EC 80 01 03 34 */ lwz r0, 0x334(r1) -/* 802B9990 002B68F0 83 C1 03 30 */ lwz r30, 0x330(r1) -/* 802B9994 002B68F4 7E 03 02 14 */ add r16, r3, r0 -/* 802B9998 002B68F8 7C 60 1B 78 */ mr r0, r3 -/* 802B999C 002B68FC 7C 60 8A 14 */ add r3, r0, r17 -/* 802B99A0 002B6900 92 21 03 3C */ stw r17, 0x33c(r1) -/* 802B99A4 002B6904 6C 15 80 00 */ xoris r21, r0, 0x8000 -/* 802B99A8 002B6908 6C 76 80 00 */ xoris r22, r3, 0x8000 -/* 802B99AC 002B690C 48 00 07 A8 */ b lbl_802BA154 -lbl_802B99B0: -/* 802B99B0 002B6910 38 61 02 44 */ addi r3, r1, 0x244 -/* 802B99B4 002B6914 48 05 2C 2D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B99B8 002B6918 80 01 03 20 */ lwz r0, 0x320(r1) -/* 802B99BC 002B691C 7C 1E 00 50 */ subf r0, r30, r0 -/* 802B99C0 002B6920 7C 00 78 00 */ cmpw r0, r15 -/* 802B99C4 002B6924 40 80 00 10 */ bge lbl_802B99D4 -/* 802B99C8 002B6928 7C 0F 03 78 */ mr r15, r0 -/* 802B99CC 002B692C 38 00 00 01 */ li r0, 1 -/* 802B99D0 002B6930 98 01 03 24 */ stb r0, 0x324(r1) -lbl_802B99D4: -/* 802B99D4 002B6934 88 01 03 24 */ lbz r0, 0x324(r1) -/* 802B99D8 002B6938 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802B99DC 002B693C 41 82 00 BC */ beq lbl_802B9A98 -/* 802B99E0 002B6940 38 6F FF FF */ addi r3, r15, -1 -/* 802B99E4 002B6944 38 11 FF FF */ addi r0, r17, -1 -/* 802B99E8 002B6948 3D 20 43 30 */ lis r9, 0x4330 -/* 802B99EC 002B694C 6D E8 80 00 */ xoris r8, r15, 0x8000 -/* 802B99F0 002B6950 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802B99F4 002B6954 6C 07 80 00 */ xoris r7, r0, 0x8000 -/* 802B99F8 002B6958 6E 20 80 00 */ xoris r0, r17, 0x8000 -/* 802B99FC 002B695C 90 61 03 04 */ stw r3, 0x304(r1) -/* 802B9A00 002B6960 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) -/* 802B9A04 002B6964 55 E3 04 3E */ clrlwi r3, r15, 0x10 -/* 802B9A08 002B6968 91 21 03 00 */ stw r9, 0x300(r1) -/* 802B9A0C 002B696C 56 24 04 3E */ clrlwi r4, r17, 0x10 -/* 802B9A10 002B6970 38 A0 00 13 */ li r5, 0x13 -/* 802B9A14 002B6974 38 C0 00 00 */ li r6, 0 -/* 802B9A18 002B6978 C8 01 03 00 */ lfd f0, 0x300(r1) -/* 802B9A1C 002B697C 91 01 02 FC */ stw r8, 0x2fc(r1) -/* 802B9A20 002B6980 EC 40 18 28 */ fsubs f2, f0, f3 -/* 802B9A24 002B6984 91 21 02 F8 */ stw r9, 0x2f8(r1) -/* 802B9A28 002B6988 C8 01 02 F8 */ lfd f0, 0x2f8(r1) -/* 802B9A2C 002B698C 90 E1 02 F4 */ stw r7, 0x2f4(r1) -/* 802B9A30 002B6990 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802B9A34 002B6994 91 21 02 F0 */ stw r9, 0x2f0(r1) -/* 802B9A38 002B6998 C8 21 02 F0 */ lfd f1, 0x2f0(r1) -/* 802B9A3C 002B699C EF 22 00 24 */ fdivs f25, f2, f0 -/* 802B9A40 002B69A0 90 01 02 EC */ stw r0, 0x2ec(r1) -/* 802B9A44 002B69A4 91 21 02 E8 */ stw r9, 0x2e8(r1) -/* 802B9A48 002B69A8 C8 01 02 E8 */ lfd f0, 0x2e8(r1) -/* 802B9A4C 002B69AC EC 21 18 28 */ fsubs f1, f1, f3 -/* 802B9A50 002B69B0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802B9A54 002B69B4 EF 01 00 24 */ fdivs f24, f1, f0 -/* 802B9A58 002B69B8 48 0B F4 29 */ bl GXSetTexCopyDst -/* 802B9A5C 002B69BC 3C 60 43 30 */ lis r3, 0x4330 -/* 802B9A60 002B69C0 6D E4 80 00 */ xoris r4, r15, 0x8000 -/* 802B9A64 002B69C4 6E 20 80 00 */ xoris r0, r17, 0x8000 -/* 802B9A68 002B69C8 90 81 02 E4 */ stw r4, 0x2e4(r1) -/* 802B9A6C 002B69CC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) -/* 802B9A70 002B69D0 90 61 02 E0 */ stw r3, 0x2e0(r1) -/* 802B9A74 002B69D4 C0 62 C2 80 */ lfs f3, lbl_805ADFA0@sda21(r2) -/* 802B9A78 002B69D8 C8 01 02 E0 */ lfd f0, 0x2e0(r1) -/* 802B9A7C 002B69DC 90 01 02 DC */ stw r0, 0x2dc(r1) -/* 802B9A80 002B69E0 EC 20 10 28 */ fsubs f1, f0, f2 -/* 802B9A84 002B69E4 90 61 02 D8 */ stw r3, 0x2d8(r1) -/* 802B9A88 002B69E8 C8 01 02 D8 */ lfd f0, 0x2d8(r1) -/* 802B9A8C 002B69EC EF 63 08 24 */ fdivs f27, f3, f1 -/* 802B9A90 002B69F0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802B9A94 002B69F4 EF 43 00 24 */ fdivs f26, f3, f0 -lbl_802B9A98: -/* 802B9A98 002B69F8 80 01 03 38 */ lwz r0, 0x338(r1) -/* 802B9A9C 002B69FC 56 04 04 3E */ clrlwi r4, r16, 0x10 -/* 802B9AA0 002B6A00 55 E5 04 3E */ clrlwi r5, r15, 0x10 -/* 802B9AA4 002B6A04 56 26 04 3E */ clrlwi r6, r17, 0x10 -/* 802B9AA8 002B6A08 7E 5E 02 14 */ add r18, r30, r0 -/* 802B9AAC 002B6A0C 56 43 04 3E */ clrlwi r3, r18, 0x10 -/* 802B9AB0 002B6A10 48 0B F3 05 */ bl GXSetTexCopySrc -/* 802B9AB4 002B6A14 80 C1 03 3C */ lwz r6, 0x33c(r1) -/* 802B9AB8 002B6A18 7E 43 93 78 */ mr r3, r18 -/* 802B9ABC 002B6A1C 7E 04 83 78 */ mr r4, r16 -/* 802B9AC0 002B6A20 7D E5 7B 78 */ mr r5, r15 -/* 802B9AC4 002B6A24 48 0C 2B A9 */ bl GXSetScissor -/* 802B9AC8 002B6A28 38 60 00 01 */ li r3, 1 -/* 802B9ACC 002B6A2C 38 80 00 03 */ li r4, 3 -/* 802B9AD0 002B6A30 38 A0 00 01 */ li r5, 1 -/* 802B9AD4 002B6A34 48 04 ED A9 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B9AD8 002B6A38 38 60 00 01 */ li r3, 1 -/* 802B9ADC 002B6A3C 48 04 F1 B5 */ bl SetNumTevStages__3CGXFUc -/* 802B9AE0 002B6A40 38 60 00 01 */ li r3, 1 -/* 802B9AE4 002B6A44 48 04 F3 31 */ bl SetNumTexGens__3CGXFUc -/* 802B9AE8 002B6A48 38 60 00 00 */ li r3, 0 -/* 802B9AEC 002B6A4C 48 04 F3 65 */ bl SetNumChans__3CGXFUc -/* 802B9AF0 002B6A50 38 60 00 01 */ li r3, 1 -/* 802B9AF4 002B6A54 38 80 00 00 */ li r4, 0 -/* 802B9AF8 002B6A58 38 A0 00 01 */ li r5, 1 -/* 802B9AFC 002B6A5C 38 C0 00 00 */ li r6, 0 -/* 802B9B00 002B6A60 48 04 ED D1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B9B04 002B6A64 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802B9B08 002B6A68 38 80 00 02 */ li r4, 2 -/* 802B9B0C 002B6A6C 38 A0 00 00 */ li r5, 0 -/* 802B9B10 002B6A70 38 63 01 B8 */ addi r3, r3, 0x1b8 -/* 802B9B14 002B6A74 48 05 5C 29 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802B9B18 002B6A78 38 60 00 02 */ li r3, 2 -/* 802B9B1C 002B6A7C 48 0B F0 3D */ bl GXSetCullMode -/* 802B9B20 002B6A80 38 60 00 01 */ li r3, 1 -/* 802B9B24 002B6A84 38 80 00 FF */ li r4, 0xff -/* 802B9B28 002B6A88 48 0C 25 B9 */ bl GXSetDstAlpha -/* 802B9B2C 002B6A8C 7F 43 D3 78 */ mr r3, r26 -/* 802B9B30 002B6A90 7F 64 DB 78 */ mr r4, r27 -/* 802B9B34 002B6A94 7F E6 FB 78 */ mr r6, r31 -/* 802B9B38 002B6A98 7F 87 E3 78 */ mr r7, r28 -/* 802B9B3C 002B6A9C 38 A1 02 44 */ addi r5, r1, 0x244 -/* 802B9B40 002B6AA0 48 00 12 DD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel -/* 802B9B44 002B6AA4 28 18 00 00 */ cmplwi r24, 0 -/* 802B9B48 002B6AA8 41 82 00 3C */ beq lbl_802B9B84 -/* 802B9B4C 002B6AAC 38 60 00 00 */ li r3, 0 -/* 802B9B50 002B6AB0 38 80 00 07 */ li r4, 7 -/* 802B9B54 002B6AB4 38 A0 00 00 */ li r5, 0 -/* 802B9B58 002B6AB8 48 04 ED 25 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B9B5C 002B6ABC 7F 43 D3 78 */ mr r3, r26 -/* 802B9B60 002B6AC0 7F 64 DB 78 */ mr r4, r27 -/* 802B9B64 002B6AC4 7F E6 FB 78 */ mr r6, r31 -/* 802B9B68 002B6AC8 7F 87 E3 78 */ mr r7, r28 -/* 802B9B6C 002B6ACC 38 A1 02 44 */ addi r5, r1, 0x244 -/* 802B9B70 002B6AD0 48 00 12 AD */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel -/* 802B9B74 002B6AD4 38 60 00 01 */ li r3, 1 -/* 802B9B78 002B6AD8 38 80 00 03 */ li r4, 3 -/* 802B9B7C 002B6ADC 38 A0 00 01 */ li r5, 1 -/* 802B9B80 002B6AE0 48 04 EC FD */ bl SetZMode__3CGXFb10_GXCompareb -lbl_802B9B84: -/* 802B9B84 002B6AE4 38 60 00 01 */ li r3, 1 -/* 802B9B88 002B6AE8 38 80 00 00 */ li r4, 0 -/* 802B9B8C 002B6AEC 48 0C 25 55 */ bl GXSetDstAlpha -/* 802B9B90 002B6AF0 80 61 03 2C */ lwz r3, 0x32c(r1) -/* 802B9B94 002B6AF4 38 80 00 00 */ li r4, 0 -/* 802B9B98 002B6AF8 48 0B F9 9D */ bl GXCopyTex -/* 802B9B9C 002B6AFC 48 0B E9 C9 */ bl GXPixModeSync -/* 802B9BA0 002B6B00 80 C1 03 2C */ lwz r6, 0x32c(r1) -/* 802B9BA4 002B6B04 7D E3 7B 78 */ mr r3, r15 -/* 802B9BA8 002B6B08 7E 24 8B 78 */ mr r4, r17 -/* 802B9BAC 002B6B0C 38 A0 00 03 */ li r5, 3 -/* 802B9BB0 002B6B10 38 E0 00 00 */ li r7, 0 -/* 802B9BB4 002B6B14 48 05 04 6D */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B9BB8 002B6B18 38 60 00 01 */ li r3, 1 -/* 802B9BBC 002B6B1C 48 0B EF 9D */ bl GXSetCullMode -/* 802B9BC0 002B6B20 7F 43 D3 78 */ mr r3, r26 -/* 802B9BC4 002B6B24 7F 64 DB 78 */ mr r4, r27 -/* 802B9BC8 002B6B28 7F E6 FB 78 */ mr r6, r31 -/* 802B9BCC 002B6B2C 7F 87 E3 78 */ mr r7, r28 -/* 802B9BD0 002B6B30 38 A1 02 44 */ addi r5, r1, 0x244 -/* 802B9BD4 002B6B34 48 00 12 49 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel -/* 802B9BD8 002B6B38 28 18 00 00 */ cmplwi r24, 0 -/* 802B9BDC 002B6B3C 41 82 00 3C */ beq lbl_802B9C18 -/* 802B9BE0 002B6B40 38 60 00 01 */ li r3, 1 -/* 802B9BE4 002B6B44 38 80 00 04 */ li r4, 4 -/* 802B9BE8 002B6B48 38 A0 00 00 */ li r5, 0 -/* 802B9BEC 002B6B4C 48 04 EC 91 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B9BF0 002B6B50 7F 43 D3 78 */ mr r3, r26 -/* 802B9BF4 002B6B54 7F 64 DB 78 */ mr r4, r27 -/* 802B9BF8 002B6B58 7F E6 FB 78 */ mr r6, r31 -/* 802B9BFC 002B6B5C 7F 87 E3 78 */ mr r7, r28 -/* 802B9C00 002B6B60 38 A1 02 44 */ addi r5, r1, 0x244 -/* 802B9C04 002B6B64 48 00 12 19 */ bl RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel -/* 802B9C08 002B6B68 38 60 00 01 */ li r3, 1 -/* 802B9C0C 002B6B6C 38 80 00 03 */ li r4, 3 -/* 802B9C10 002B6B70 38 A0 00 01 */ li r5, 1 -/* 802B9C14 002B6B74 48 04 EC 69 */ bl SetZMode__3CGXFb10_GXCompareb -lbl_802B9C18: -/* 802B9C18 002B6B78 80 61 03 28 */ lwz r3, 0x328(r1) -/* 802B9C1C 002B6B7C 38 80 00 00 */ li r4, 0 -/* 802B9C20 002B6B80 48 0B F9 15 */ bl GXCopyTex -/* 802B9C24 002B6B84 48 0B E9 41 */ bl GXPixModeSync -/* 802B9C28 002B6B88 80 C1 03 28 */ lwz r6, 0x328(r1) -/* 802B9C2C 002B6B8C 7D E3 7B 78 */ mr r3, r15 -/* 802B9C30 002B6B90 7E 24 8B 78 */ mr r4, r17 -/* 802B9C34 002B6B94 38 A0 00 03 */ li r5, 3 -/* 802B9C38 002B6B98 38 E0 00 01 */ li r7, 1 -/* 802B9C3C 002B6B9C 48 05 03 E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802B9C40 002B6BA0 38 60 00 00 */ li r3, 0 -/* 802B9C44 002B6BA4 38 80 00 0F */ li r4, 0xf -/* 802B9C48 002B6BA8 38 A0 00 0F */ li r5, 0xf -/* 802B9C4C 002B6BAC 38 C0 00 0F */ li r6, 0xf -/* 802B9C50 002B6BB0 38 E0 00 0E */ li r7, 0xe -/* 802B9C54 002B6BB4 48 04 EF 99 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B9C58 002B6BB8 38 60 00 00 */ li r3, 0 -/* 802B9C5C 002B6BBC 38 80 00 00 */ li r4, 0 -/* 802B9C60 002B6BC0 38 A0 00 00 */ li r5, 0 -/* 802B9C64 002B6BC4 38 C0 00 00 */ li r6, 0 -/* 802B9C68 002B6BC8 38 E0 00 01 */ li r7, 1 -/* 802B9C6C 002B6BCC 39 00 00 00 */ li r8, 0 -/* 802B9C70 002B6BD0 48 04 EE C9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B9C74 002B6BD4 38 60 00 00 */ li r3, 0 -/* 802B9C78 002B6BD8 38 80 00 0C */ li r4, 0xc -/* 802B9C7C 002B6BDC 48 04 ED 65 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802B9C80 002B6BE0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 802B9C84 002B6BE4 38 60 00 00 */ li r3, 0 -/* 802B9C88 002B6BE8 48 04 EF BD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802B9C8C 002B6BEC 48 0C 0B B5 */ bl GXInvalidateTexAll -/* 802B9C90 002B6BF0 38 60 00 00 */ li r3, 0 -/* 802B9C94 002B6BF4 38 80 00 00 */ li r4, 0 -/* 802B9C98 002B6BF8 38 A0 00 04 */ li r5, 4 -/* 802B9C9C 002B6BFC 38 C0 00 3C */ li r6, 0x3c -/* 802B9CA0 002B6C00 38 E0 00 00 */ li r7, 0 -/* 802B9CA4 002B6C04 39 00 00 7D */ li r8, 0x7d -/* 802B9CA8 002B6C08 48 04 EA 25 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B9CAC 002B6C0C 38 60 00 01 */ li r3, 1 -/* 802B9CB0 002B6C10 38 80 00 01 */ li r4, 1 -/* 802B9CB4 002B6C14 38 A0 00 00 */ li r5, 0 -/* 802B9CB8 002B6C18 38 C0 00 1E */ li r6, 0x1e -/* 802B9CBC 002B6C1C 38 E0 00 00 */ li r7, 0 -/* 802B9CC0 002B6C20 39 00 00 7D */ li r8, 0x7d -/* 802B9CC4 002B6C24 48 04 EA 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802B9CC8 002B6C28 38 60 00 02 */ li r3, 2 -/* 802B9CCC 002B6C2C 48 04 F1 49 */ bl SetNumTexGens__3CGXFUc -/* 802B9CD0 002B6C30 38 60 00 00 */ li r3, 0 -/* 802B9CD4 002B6C34 48 04 F1 7D */ bl SetNumChans__3CGXFUc -/* 802B9CD8 002B6C38 48 05 01 85 */ bl GetProjectionState__9CGraphicsFv -/* 802B9CDC 002B6C3C 88 03 00 00 */ lbz r0, 0(r3) -/* 802B9CE0 002B6C40 98 01 00 EC */ stb r0, 0xec(r1) -/* 802B9CE4 002B6C44 C0 03 00 04 */ lfs f0, 4(r3) -/* 802B9CE8 002B6C48 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 802B9CEC 002B6C4C C0 03 00 08 */ lfs f0, 8(r3) -/* 802B9CF0 002B6C50 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 802B9CF4 002B6C54 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802B9CF8 002B6C58 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 802B9CFC 002B6C5C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802B9D00 002B6C60 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 802B9D04 002B6C64 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802B9D08 002B6C68 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 802B9D0C 002B6C6C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802B9D10 002B6C70 80 61 03 40 */ lwz r3, 0x340(r1) -/* 802B9D14 002B6C74 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 802B9D18 002B6C78 38 63 01 7C */ addi r3, r3, 0x17c -/* 802B9D1C 002B6C7C 48 04 E1 0D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802B9D20 002B6C80 80 81 03 48 */ lwz r4, 0x348(r1) -/* 802B9D24 002B6C84 38 61 01 80 */ addi r3, r1, 0x180 -/* 802B9D28 002B6C88 48 05 8E 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802B9D2C 002B6C8C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 802B9D30 002B6C90 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802B9D34 002B6C94 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802B9D38 002B6C98 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802B9D3C 002B6C9C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802B9D40 002B6CA0 90 61 03 04 */ stw r3, 0x304(r1) -/* 802B9D44 002B6CA4 FC 60 08 90 */ fmr f3, f1 -/* 802B9D48 002B6CA8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) -/* 802B9D4C 002B6CAC 92 61 03 00 */ stw r19, 0x300(r1) -/* 802B9D50 002B6CB0 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) -/* 802B9D54 002B6CB4 C8 01 03 00 */ lfd f0, 0x300(r1) -/* 802B9D58 002B6CB8 90 01 02 FC */ stw r0, 0x2fc(r1) -/* 802B9D5C 002B6CBC EC 40 F0 28 */ fsubs f2, f0, f30 -/* 802B9D60 002B6CC0 92 61 02 F8 */ stw r19, 0x2f8(r1) -/* 802B9D64 002B6CC4 C8 01 02 F8 */ lfd f0, 0x2f8(r1) -/* 802B9D68 002B6CC8 EC 80 F0 28 */ fsubs f4, f0, f30 -/* 802B9D6C 002B6CCC 48 05 27 E9 */ bl SetOrtho__9CGraphicsFffffff -/* 802B9D70 002B6CD0 7D C3 73 78 */ mr r3, r14 -/* 802B9D74 002B6CD4 48 05 29 D9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802B9D78 002B6CD8 7D C3 73 78 */ mr r3, r14 -/* 802B9D7C 002B6CDC 48 05 28 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802B9D80 002B6CE0 38 60 00 00 */ li r3, 0 -/* 802B9D84 002B6CE4 38 80 00 07 */ li r4, 7 -/* 802B9D88 002B6CE8 38 A0 00 00 */ li r5, 0 -/* 802B9D8C 002B6CEC 48 04 EA F1 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802B9D90 002B6CF0 38 60 00 00 */ li r3, 0 -/* 802B9D94 002B6CF4 48 0B ED C5 */ bl GXSetCullMode -/* 802B9D98 002B6CF8 38 60 00 00 */ li r3, 0 -/* 802B9D9C 002B6CFC 48 0C 21 91 */ bl GXSetAlphaUpdate -/* 802B9DA0 002B6D00 EF BA C0 2A */ fadds f29, f26, f24 -/* 802B9DA4 002B6D04 7C 1E 7A 14 */ add r0, r30, r15 -/* 802B9DA8 002B6D08 EF 9B C8 2A */ fadds f28, f27, f25 -/* 802B9DAC 002B6D0C 6F D2 80 00 */ xoris r18, r30, 0x8000 -/* 802B9DB0 002B6D10 6C 17 80 00 */ xoris r23, r0, 0x8000 -/* 802B9DB4 002B6D14 3B A0 00 00 */ li r29, 0 -/* 802B9DB8 002B6D18 48 00 03 44 */ b lbl_802BA0FC -lbl_802B9DBC: -/* 802B9DBC 002B6D1C 2C 1D 00 00 */ cmpwi r29, 0 -/* 802B9DC0 002B6D20 40 82 01 7C */ bne lbl_802B9F3C -/* 802B9DC4 002B6D24 38 00 00 00 */ li r0, 0 -/* 802B9DC8 002B6D28 38 60 00 00 */ li r3, 0 -/* 802B9DCC 002B6D2C 90 01 00 08 */ stw r0, 8(r1) -/* 802B9DD0 002B6D30 38 80 00 00 */ li r4, 0 -/* 802B9DD4 002B6D34 38 A0 00 00 */ li r5, 0 -/* 802B9DD8 002B6D38 38 C0 00 00 */ li r6, 0 -/* 802B9DDC 002B6D3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B9DE0 002B6D40 38 E0 00 01 */ li r7, 1 -/* 802B9DE4 002B6D44 39 00 00 00 */ li r8, 0 -/* 802B9DE8 002B6D48 39 20 00 00 */ li r9, 0 -/* 802B9DEC 002B6D4C 39 40 00 00 */ li r10, 0 -/* 802B9DF0 002B6D50 48 04 E9 9D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 802B9DF4 002B6D54 38 00 00 00 */ li r0, 0 -/* 802B9DF8 002B6D58 38 60 00 01 */ li r3, 1 -/* 802B9DFC 002B6D5C 90 01 00 08 */ stw r0, 8(r1) -/* 802B9E00 002B6D60 38 80 00 01 */ li r4, 1 -/* 802B9E04 002B6D64 38 A0 00 00 */ li r5, 0 -/* 802B9E08 002B6D68 38 C0 00 00 */ li r6, 0 -/* 802B9E0C 002B6D6C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802B9E10 002B6D70 38 E0 00 01 */ li r7, 1 -/* 802B9E14 002B6D74 39 00 00 00 */ li r8, 0 -/* 802B9E18 002B6D78 39 20 00 00 */ li r9, 0 -/* 802B9E1C 002B6D7C 39 40 00 00 */ li r10, 0 -/* 802B9E20 002B6D80 48 04 E9 6D */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 802B9E24 002B6D84 38 60 00 00 */ li r3, 0 -/* 802B9E28 002B6D88 38 80 00 00 */ li r4, 0 -/* 802B9E2C 002B6D8C 38 A0 00 01 */ li r5, 1 -/* 802B9E30 002B6D90 48 0C 13 75 */ bl GXSetIndTexOrder -/* 802B9E34 002B6D94 38 60 00 01 */ li r3, 1 -/* 802B9E38 002B6D98 38 80 00 00 */ li r4, 0 -/* 802B9E3C 002B6D9C 38 A0 00 00 */ li r5, 0 -/* 802B9E40 002B6DA0 48 0C 13 65 */ bl GXSetIndTexOrder -/* 802B9E44 002B6DA4 38 60 00 00 */ li r3, 0 -/* 802B9E48 002B6DA8 38 80 00 07 */ li r4, 7 -/* 802B9E4C 002B6DAC 38 A0 00 07 */ li r5, 7 -/* 802B9E50 002B6DB0 38 C0 00 07 */ li r6, 7 -/* 802B9E54 002B6DB4 38 E0 00 04 */ li r7, 4 -/* 802B9E58 002B6DB8 48 04 ED 3D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B9E5C 002B6DBC 38 60 00 00 */ li r3, 0 -/* 802B9E60 002B6DC0 38 80 00 00 */ li r4, 0 -/* 802B9E64 002B6DC4 38 A0 00 00 */ li r5, 0 -/* 802B9E68 002B6DC8 38 C0 00 00 */ li r6, 0 -/* 802B9E6C 002B6DCC 38 E0 00 01 */ li r7, 1 -/* 802B9E70 002B6DD0 39 00 00 00 */ li r8, 0 -/* 802B9E74 002B6DD4 48 04 EC 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B9E78 002B6DD8 38 60 00 00 */ li r3, 0 -/* 802B9E7C 002B6DDC 38 80 00 01 */ li r4, 1 -/* 802B9E80 002B6DE0 38 A0 00 02 */ li r5, 2 -/* 802B9E84 002B6DE4 38 C0 00 FF */ li r6, 0xff -/* 802B9E88 002B6DE8 48 04 EA C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B9E8C 002B6DEC 38 60 00 01 */ li r3, 1 -/* 802B9E90 002B6DF0 38 80 00 07 */ li r4, 7 -/* 802B9E94 002B6DF4 38 A0 00 06 */ li r5, 6 -/* 802B9E98 002B6DF8 38 C0 00 00 */ li r6, 0 -/* 802B9E9C 002B6DFC 38 E0 00 04 */ li r7, 4 -/* 802B9EA0 002B6E00 48 04 EC F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B9EA4 002B6E04 38 60 00 01 */ li r3, 1 -/* 802B9EA8 002B6E08 38 80 00 01 */ li r4, 1 -/* 802B9EAC 002B6E0C 38 A0 00 00 */ li r5, 0 -/* 802B9EB0 002B6E10 38 C0 00 01 */ li r6, 1 -/* 802B9EB4 002B6E14 38 E0 00 01 */ li r7, 1 -/* 802B9EB8 002B6E18 39 00 00 00 */ li r8, 0 -/* 802B9EBC 002B6E1C 48 04 EB C5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B9EC0 002B6E20 38 60 00 01 */ li r3, 1 -/* 802B9EC4 002B6E24 38 80 00 01 */ li r4, 1 -/* 802B9EC8 002B6E28 38 A0 00 02 */ li r5, 2 -/* 802B9ECC 002B6E2C 38 C0 00 FF */ li r6, 0xff -/* 802B9ED0 002B6E30 48 04 EA 7D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B9ED4 002B6E34 38 60 00 01 */ li r3, 1 -/* 802B9ED8 002B6E38 38 80 00 00 */ li r4, 0 -/* 802B9EDC 002B6E3C 48 04 EA C1 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802B9EE0 002B6E40 38 60 00 01 */ li r3, 1 -/* 802B9EE4 002B6E44 38 80 00 0F */ li r4, 0xf -/* 802B9EE8 002B6E48 38 A0 00 0F */ li r5, 0xf -/* 802B9EEC 002B6E4C 38 C0 00 0F */ li r6, 0xf -/* 802B9EF0 002B6E50 38 E0 00 00 */ li r7, 0 -/* 802B9EF4 002B6E54 48 04 EC F9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B9EF8 002B6E58 38 60 00 01 */ li r3, 1 -/* 802B9EFC 002B6E5C 38 80 00 00 */ li r4, 0 -/* 802B9F00 002B6E60 38 A0 00 00 */ li r5, 0 -/* 802B9F04 002B6E64 38 C0 00 00 */ li r6, 0 -/* 802B9F08 002B6E68 38 E0 00 01 */ li r7, 1 -/* 802B9F0C 002B6E6C 39 00 00 00 */ li r8, 0 -/* 802B9F10 002B6E70 48 04 EC 29 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B9F14 002B6E74 38 60 00 02 */ li r3, 2 -/* 802B9F18 002B6E78 48 04 E7 79 */ bl SetNumIndStages__3CGXFUc -/* 802B9F1C 002B6E7C 38 60 00 02 */ li r3, 2 -/* 802B9F20 002B6E80 48 04 ED 71 */ bl SetNumTevStages__3CGXFUc -/* 802B9F24 002B6E84 38 60 00 01 */ li r3, 1 -/* 802B9F28 002B6E88 38 80 00 04 */ li r4, 4 -/* 802B9F2C 002B6E8C 38 A0 00 01 */ li r5, 1 -/* 802B9F30 002B6E90 38 C0 00 00 */ li r6, 0 -/* 802B9F34 002B6E94 48 04 E9 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802B9F38 002B6E98 48 00 00 DC */ b lbl_802BA014 -lbl_802B9F3C: -/* 802B9F3C 002B6E9C 2C 1D 00 01 */ cmpwi r29, 1 -/* 802B9F40 002B6EA0 40 82 00 D4 */ bne lbl_802BA014 -/* 802B9F44 002B6EA4 38 60 00 01 */ li r3, 1 -/* 802B9F48 002B6EA8 48 04 E7 FD */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802B9F4C 002B6EAC 38 60 00 00 */ li r3, 0 -/* 802B9F50 002B6EB0 38 80 00 00 */ li r4, 0 -/* 802B9F54 002B6EB4 38 A0 00 00 */ li r5, 0 -/* 802B9F58 002B6EB8 48 0C 12 4D */ bl GXSetIndTexOrder -/* 802B9F5C 002B6EBC 38 60 00 00 */ li r3, 0 -/* 802B9F60 002B6EC0 38 80 00 07 */ li r4, 7 -/* 802B9F64 002B6EC4 38 A0 00 07 */ li r5, 7 -/* 802B9F68 002B6EC8 38 C0 00 07 */ li r6, 7 -/* 802B9F6C 002B6ECC 38 E0 00 04 */ li r7, 4 -/* 802B9F70 002B6ED0 48 04 EC 25 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B9F74 002B6ED4 38 60 00 00 */ li r3, 0 -/* 802B9F78 002B6ED8 38 80 00 00 */ li r4, 0 -/* 802B9F7C 002B6EDC 38 A0 00 00 */ li r5, 0 -/* 802B9F80 002B6EE0 38 C0 00 01 */ li r6, 1 -/* 802B9F84 002B6EE4 38 E0 00 01 */ li r7, 1 -/* 802B9F88 002B6EE8 39 00 00 00 */ li r8, 0 -/* 802B9F8C 002B6EEC 48 04 EA F5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802B9F90 002B6EF0 38 60 00 00 */ li r3, 0 -/* 802B9F94 002B6EF4 38 80 00 01 */ li r4, 1 -/* 802B9F98 002B6EF8 38 A0 00 02 */ li r5, 2 -/* 802B9F9C 002B6EFC 38 C0 00 FF */ li r6, 0xff -/* 802B9FA0 002B6F00 48 04 E9 AD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B9FA4 002B6F04 38 60 00 01 */ li r3, 1 -/* 802B9FA8 002B6F08 38 80 00 0F */ li r4, 0xf -/* 802B9FAC 002B6F0C 38 A0 00 01 */ li r5, 1 -/* 802B9FB0 002B6F10 38 C0 00 00 */ li r6, 0 -/* 802B9FB4 002B6F14 38 E0 00 0F */ li r7, 0xf -/* 802B9FB8 002B6F18 48 04 EC 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802B9FBC 002B6F1C 38 60 00 01 */ li r3, 1 -/* 802B9FC0 002B6F20 38 80 00 01 */ li r4, 1 -/* 802B9FC4 002B6F24 38 A0 00 02 */ li r5, 2 -/* 802B9FC8 002B6F28 38 C0 00 FF */ li r6, 0xff -/* 802B9FCC 002B6F2C 48 04 E9 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802B9FD0 002B6F30 38 60 00 01 */ li r3, 1 -/* 802B9FD4 002B6F34 38 80 00 07 */ li r4, 7 -/* 802B9FD8 002B6F38 38 A0 00 07 */ li r5, 7 -/* 802B9FDC 002B6F3C 38 C0 00 07 */ li r6, 7 -/* 802B9FE0 002B6F40 38 E0 00 00 */ li r7, 0 -/* 802B9FE4 002B6F44 48 04 EB B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802B9FE8 002B6F48 38 60 00 01 */ li r3, 1 -/* 802B9FEC 002B6F4C 48 04 DC 65 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802B9FF0 002B6F50 38 60 00 01 */ li r3, 1 -/* 802B9FF4 002B6F54 48 04 E6 9D */ bl SetNumIndStages__3CGXFUc -/* 802B9FF8 002B6F58 38 60 00 02 */ li r3, 2 -/* 802B9FFC 002B6F5C 48 04 EC 95 */ bl SetNumTevStages__3CGXFUc -/* 802BA000 002B6F60 38 60 00 01 */ li r3, 1 -/* 802BA004 002B6F64 38 80 00 06 */ li r4, 6 -/* 802BA008 002B6F68 38 A0 00 01 */ li r5, 1 -/* 802BA00C 002B6F6C 38 C0 00 00 */ li r6, 0 -/* 802BA010 002B6F70 48 04 E8 C1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -lbl_802BA014: -/* 802BA014 002B6F74 38 60 00 A0 */ li r3, 0xa0 -/* 802BA018 002B6F78 38 80 00 00 */ li r4, 0 -/* 802BA01C 002B6F7C 38 A0 00 04 */ li r5, 4 -/* 802BA020 002B6F80 48 04 E5 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BA024 002B6F84 92 41 03 04 */ stw r18, 0x304(r1) -/* 802BA028 002B6F88 92 61 03 00 */ stw r19, 0x300(r1) -/* 802BA02C 002B6F8C C8 01 03 00 */ lfd f0, 0x300(r1) -/* 802BA030 002B6F90 92 A1 02 FC */ stw r21, 0x2fc(r1) -/* 802BA034 002B6F94 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 802BA038 002B6F98 92 61 02 F8 */ stw r19, 0x2f8(r1) -/* 802BA03C 002B6F9C C8 01 02 F8 */ lfd f0, 0x2f8(r1) -/* 802BA040 002B6FA0 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) -/* 802BA044 002B6FA4 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802BA048 002B6FA8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 802BA04C 002B6FAC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 802BA050 002B6FB0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) -/* 802BA054 002B6FB4 92 41 02 F4 */ stw r18, 0x2f4(r1) -/* 802BA058 002B6FB8 92 61 02 F0 */ stw r19, 0x2f0(r1) -/* 802BA05C 002B6FBC C8 01 02 F0 */ lfd f0, 0x2f0(r1) -/* 802BA060 002B6FC0 92 C1 02 EC */ stw r22, 0x2ec(r1) -/* 802BA064 002B6FC4 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 802BA068 002B6FC8 92 61 02 E8 */ stw r19, 0x2e8(r1) -/* 802BA06C 002B6FCC D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 802BA070 002B6FD0 C8 01 02 E8 */ lfd f0, 0x2e8(r1) -/* 802BA074 002B6FD4 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) -/* 802BA078 002B6FD8 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802BA07C 002B6FDC D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 802BA080 002B6FE0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 802BA084 002B6FE4 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) -/* 802BA088 002B6FE8 92 E1 02 E4 */ stw r23, 0x2e4(r1) -/* 802BA08C 002B6FEC 92 61 02 E0 */ stw r19, 0x2e0(r1) -/* 802BA090 002B6FF0 C8 01 02 E0 */ lfd f0, 0x2e0(r1) -/* 802BA094 002B6FF4 92 C1 02 DC */ stw r22, 0x2dc(r1) -/* 802BA098 002B6FF8 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 802BA09C 002B6FFC 92 61 02 D8 */ stw r19, 0x2d8(r1) -/* 802BA0A0 002B7000 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) -/* 802BA0A4 002B7004 C8 01 02 D8 */ lfd f0, 0x2d8(r1) -/* 802BA0A8 002B7008 D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) -/* 802BA0AC 002B700C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802BA0B0 002B7010 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 802BA0B4 002B7014 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 802BA0B8 002B7018 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) -/* 802BA0BC 002B701C 92 E1 03 0C */ stw r23, 0x30c(r1) -/* 802BA0C0 002B7020 92 61 03 08 */ stw r19, 0x308(r1) -/* 802BA0C4 002B7024 C8 01 03 08 */ lfd f0, 0x308(r1) -/* 802BA0C8 002B7028 92 A1 03 14 */ stw r21, 0x314(r1) -/* 802BA0CC 002B702C EC 20 F0 28 */ fsubs f1, f0, f30 -/* 802BA0D0 002B7030 92 61 03 10 */ stw r19, 0x310(r1) -/* 802BA0D4 002B7034 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) -/* 802BA0D8 002B7038 C8 01 03 10 */ lfd f0, 0x310(r1) -/* 802BA0DC 002B703C D0 34 80 00 */ stfs f1, 0xCC008000@l(r20) -/* 802BA0E0 002B7040 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802BA0E4 002B7044 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 802BA0E8 002B7048 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 802BA0EC 002B704C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) -/* 802BA0F0 002B7050 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 802BA0F4 002B7054 48 04 E4 8D */ bl End__3CGXFv -/* 802BA0F8 002B7058 3B BD 00 01 */ addi r29, r29, 1 -lbl_802BA0FC: -/* 802BA0FC 002B705C 7C 1D C8 00 */ cmpw r29, r25 -/* 802BA100 002B7060 41 80 FC BC */ blt lbl_802B9DBC -/* 802BA104 002B7064 38 60 00 01 */ li r3, 1 -/* 802BA108 002B7068 48 0C 1E 25 */ bl GXSetAlphaUpdate -/* 802BA10C 002B706C 38 61 01 80 */ addi r3, r1, 0x180 -/* 802BA110 002B7070 48 05 26 3D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BA114 002B7074 38 60 00 00 */ li r3, 0 -/* 802BA118 002B7078 48 04 E5 79 */ bl SetNumIndStages__3CGXFUc -/* 802BA11C 002B707C 38 60 00 00 */ li r3, 0 -/* 802BA120 002B7080 48 04 E6 25 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802BA124 002B7084 38 60 00 01 */ li r3, 1 -/* 802BA128 002B7088 48 04 E6 1D */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802BA12C 002B708C 38 60 00 01 */ li r3, 1 -/* 802BA130 002B7090 48 0B EA 29 */ bl GXSetCullMode -/* 802BA134 002B7094 38 61 00 EC */ addi r3, r1, 0xec -/* 802BA138 002B7098 48 04 FC C9 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802BA13C 002B709C 38 60 00 01 */ li r3, 1 -/* 802BA140 002B70A0 38 80 00 01 */ li r4, 1 -/* 802BA144 002B70A4 38 A0 00 00 */ li r5, 0 -/* 802BA148 002B70A8 38 C0 00 00 */ li r6, 0 -/* 802BA14C 002B70AC 48 04 E7 85 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802BA150 002B70B0 7F DE 7A 14 */ add r30, r30, r15 -lbl_802BA154: -/* 802BA154 002B70B4 80 01 03 20 */ lwz r0, 0x320(r1) -/* 802BA158 002B70B8 7C 1E 00 00 */ cmpw r30, r0 -/* 802BA15C 002B70BC 41 80 F8 54 */ blt lbl_802B99B0 -/* 802BA160 002B70C0 80 01 03 18 */ lwz r0, 0x318(r1) -/* 802BA164 002B70C4 7C 00 8A 14 */ add r0, r0, r17 -/* 802BA168 002B70C8 90 01 03 18 */ stw r0, 0x318(r1) -lbl_802BA16C: -/* 802BA16C 002B70CC 80 61 03 18 */ lwz r3, 0x318(r1) -/* 802BA170 002B70D0 80 01 03 1C */ lwz r0, 0x31c(r1) -/* 802BA174 002B70D4 7C 03 00 00 */ cmpw r3, r0 -/* 802BA178 002B70D8 41 80 F7 D8 */ blt lbl_802B9950 -/* 802BA17C 002B70DC 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 802BA180 002B70E0 80 61 03 38 */ lwz r3, 0x338(r1) -/* 802BA184 002B70E4 80 C1 00 50 */ lwz r6, 0x50(r1) -/* 802BA188 002B70E8 80 81 03 34 */ lwz r4, 0x334(r1) -/* 802BA18C 002B70EC 48 0C 24 E1 */ bl GXSetScissor -/* 802BA190 002B70F0 80 01 03 44 */ lwz r0, 0x344(r1) -/* 802BA194 002B70F4 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 802BA198 002B70F8 48 04 F6 75 */ bl SetUseVideoFilter__9CGraphicsFb -/* 802BA19C 002B70FC 80 A1 01 B0 */ lwz r5, 0x1b0(r1) -/* 802BA1A0 002B7100 38 60 00 00 */ li r3, 0 -/* 802BA1A4 002B7104 2C 05 00 00 */ cmpwi r5, 0 -/* 802BA1A8 002B7108 40 81 00 40 */ ble lbl_802BA1E8 -/* 802BA1AC 002B710C 2C 05 00 08 */ cmpwi r5, 8 -/* 802BA1B0 002B7110 38 85 FF F8 */ addi r4, r5, -8 -/* 802BA1B4 002B7114 40 81 00 20 */ ble lbl_802BA1D4 -/* 802BA1B8 002B7118 38 04 00 07 */ addi r0, r4, 7 -/* 802BA1BC 002B711C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BA1C0 002B7120 7C 09 03 A6 */ mtctr r0 -/* 802BA1C4 002B7124 2C 04 00 00 */ cmpwi r4, 0 -/* 802BA1C8 002B7128 40 81 00 0C */ ble lbl_802BA1D4 -lbl_802BA1CC: -/* 802BA1CC 002B712C 38 63 00 08 */ addi r3, r3, 8 -/* 802BA1D0 002B7130 42 00 FF FC */ bdnz lbl_802BA1CC -lbl_802BA1D4: -/* 802BA1D4 002B7134 7C 03 28 50 */ subf r0, r3, r5 -/* 802BA1D8 002B7138 7C 09 03 A6 */ mtctr r0 -/* 802BA1DC 002B713C 7C 03 28 00 */ cmpw r3, r5 -/* 802BA1E0 002B7140 40 80 00 08 */ bge lbl_802BA1E8 -lbl_802BA1E4: -/* 802BA1E4 002B7144 42 00 00 00 */ bdnz lbl_802BA1E4 -lbl_802BA1E8: -/* 802BA1E8 002B7148 80 A1 02 74 */ lwz r5, 0x274(r1) -/* 802BA1EC 002B714C 38 60 00 00 */ li r3, 0 -/* 802BA1F0 002B7150 90 61 01 B0 */ stw r3, 0x1b0(r1) -/* 802BA1F4 002B7154 2C 05 00 00 */ cmpwi r5, 0 -/* 802BA1F8 002B7158 40 81 00 40 */ ble lbl_802BA238 -/* 802BA1FC 002B715C 2C 05 00 08 */ cmpwi r5, 8 -/* 802BA200 002B7160 38 85 FF F8 */ addi r4, r5, -8 -/* 802BA204 002B7164 40 81 00 20 */ ble lbl_802BA224 -/* 802BA208 002B7168 38 04 00 07 */ addi r0, r4, 7 -/* 802BA20C 002B716C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BA210 002B7170 7C 09 03 A6 */ mtctr r0 -/* 802BA214 002B7174 2C 04 00 00 */ cmpwi r4, 0 -/* 802BA218 002B7178 40 81 00 0C */ ble lbl_802BA224 -lbl_802BA21C: -/* 802BA21C 002B717C 38 63 00 08 */ addi r3, r3, 8 -/* 802BA220 002B7180 42 00 FF FC */ bdnz lbl_802BA21C -lbl_802BA224: -/* 802BA224 002B7184 7C 03 28 50 */ subf r0, r3, r5 -/* 802BA228 002B7188 7C 09 03 A6 */ mtctr r0 -/* 802BA22C 002B718C 7C 03 28 00 */ cmpw r3, r5 -/* 802BA230 002B7190 40 80 00 08 */ bge lbl_802BA238 -lbl_802BA234: -/* 802BA234 002B7194 42 00 00 00 */ bdnz lbl_802BA234 -lbl_802BA238: -/* 802BA238 002B7198 38 00 00 00 */ li r0, 0 -/* 802BA23C 002B719C 90 01 02 74 */ stw r0, 0x274(r1) -lbl_802BA240: -/* 802BA240 002B71A0 E3 E1 04 18 */ psq_l f31, 1048(r1), 0, qr0 -/* 802BA244 002B71A4 CB E1 04 10 */ lfd f31, 0x410(r1) -/* 802BA248 002B71A8 E3 C1 04 08 */ psq_l f30, 1032(r1), 0, qr0 -/* 802BA24C 002B71AC CB C1 04 00 */ lfd f30, 0x400(r1) -/* 802BA250 002B71B0 E3 A1 03 F8 */ psq_l f29, 1016(r1), 0, qr0 -/* 802BA254 002B71B4 CB A1 03 F0 */ lfd f29, 0x3f0(r1) -/* 802BA258 002B71B8 E3 81 03 E8 */ psq_l f28, 1000(r1), 0, qr0 -/* 802BA25C 002B71BC CB 81 03 E0 */ lfd f28, 0x3e0(r1) -/* 802BA260 002B71C0 E3 61 03 D8 */ psq_l f27, 984(r1), 0, qr0 -/* 802BA264 002B71C4 CB 61 03 D0 */ lfd f27, 0x3d0(r1) -/* 802BA268 002B71C8 E3 41 03 C8 */ psq_l f26, 968(r1), 0, qr0 -/* 802BA26C 002B71CC CB 41 03 C0 */ lfd f26, 0x3c0(r1) -/* 802BA270 002B71D0 E3 21 03 B8 */ psq_l f25, 952(r1), 0, qr0 -/* 802BA274 002B71D4 CB 21 03 B0 */ lfd f25, 0x3b0(r1) -/* 802BA278 002B71D8 E3 01 03 A8 */ psq_l f24, 936(r1), 0, qr0 -/* 802BA27C 002B71DC CB 01 03 A0 */ lfd f24, 0x3a0(r1) -/* 802BA280 002B71E0 B9 C1 03 58 */ lmw r14, 0x358(r1) -/* 802BA284 002B71E4 80 01 04 24 */ lwz r0, 0x424(r1) -/* 802BA288 002B71E8 7C 08 03 A6 */ mtlr r0 -/* 802BA28C 002B71EC 38 21 04 20 */ addi r1, r1, 0x420 -/* 802BA290 002B71F0 4E 80 00 20 */ blr - -.global "RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" -"RenderFogVolume__13CCubeRendererFRC6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel": -/* 802BA294 002B71F4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802BA298 002B71F8 7C 08 02 A6 */ mflr r0 -/* 802BA29C 002B71FC 7C C9 33 78 */ mr r9, r6 -/* 802BA2A0 002B7200 7C E8 3B 78 */ mr r8, r7 -/* 802BA2A4 002B7204 90 01 00 84 */ stw r0, 0x84(r1) -/* 802BA2A8 002B7208 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802BA2AC 002B720C 7C 7F 1B 78 */ mr r31, r3 -/* 802BA2B0 002B7210 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802BA2B4 002B7214 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802BA2B8 002B7218 40 82 00 64 */ bne lbl_802BA31C -/* 802BA2BC 002B721C 80 04 00 00 */ lwz r0, 0(r4) -/* 802BA2C0 002B7220 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 802BA2C4 002B7224 38 83 62 04 */ addi r4, r3, lbl_805A6204@l -/* 802BA2C8 002B7228 7C A6 2B 78 */ mr r6, r5 -/* 802BA2CC 002B722C 90 01 00 08 */ stw r0, 8(r1) -/* 802BA2D0 002B7230 7D 27 4B 78 */ mr r7, r9 -/* 802BA2D4 002B7234 38 61 00 0C */ addi r3, r1, 0xc -/* 802BA2D8 002B7238 38 A1 00 08 */ addi r5, r1, 8 -/* 802BA2DC 002B723C 4B FF E4 E9 */ bl "__ct__Q213CCubeRenderer18CFogVolumeListItemFRC12CTransform4f6CColorRC6CAABoxPC21TLockedToken<6CModel>PC13CSkinnedModel" -/* 802BA2E0 002B7240 38 7F 02 AC */ addi r3, r31, 0x2ac -/* 802BA2E4 002B7244 38 81 00 0C */ addi r4, r1, 0xc -/* 802BA2E8 002B7248 48 00 00 49 */ bl "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" -/* 802BA2EC 002B724C 34 61 00 58 */ addic. r3, r1, 0x58 -/* 802BA2F0 002B7250 41 82 00 2C */ beq lbl_802BA31C -/* 802BA2F4 002B7254 88 01 00 64 */ lbz r0, 0x64(r1) -/* 802BA2F8 002B7258 28 00 00 00 */ cmplwi r0, 0 -/* 802BA2FC 002B725C 41 82 00 18 */ beq lbl_802BA314 -/* 802BA300 002B7260 28 03 00 00 */ cmplwi r3, 0 -/* 802BA304 002B7264 41 82 00 10 */ beq lbl_802BA314 -/* 802BA308 002B7268 41 82 00 0C */ beq lbl_802BA314 -/* 802BA30C 002B726C 38 80 00 00 */ li r4, 0 -/* 802BA310 002B7270 48 08 6B 31 */ bl __dt__6CTokenFv -lbl_802BA314: -/* 802BA314 002B7274 38 00 00 00 */ li r0, 0 -/* 802BA318 002B7278 98 01 00 64 */ stb r0, 0x64(r1) -lbl_802BA31C: -/* 802BA31C 002B727C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802BA320 002B7280 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802BA324 002B7284 7C 08 03 A6 */ mtlr r0 -/* 802BA328 002B7288 38 21 00 80 */ addi r1, r1, 0x80 -/* 802BA32C 002B728C 4E 80 00 20 */ blr - -.global "push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem" -"push_back__Q24rstl70listFRCQ213CCubeRenderer18CFogVolumeListItem": -/* 802BA330 002B7290 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BA334 002B7294 7C 08 02 A6 */ mflr r0 -/* 802BA338 002B7298 7C 85 23 78 */ mr r5, r4 -/* 802BA33C 002B729C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BA340 002B72A0 80 83 00 08 */ lwz r4, 8(r3) -/* 802BA344 002B72A4 48 00 00 15 */ bl "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" -/* 802BA348 002B72A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BA34C 002B72AC 7C 08 03 A6 */ mtlr r0 -/* 802BA350 002B72B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BA354 002B72B4 4E 80 00 20 */ blr - -.global "do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem" -"do_insert_before__Q24rstl70listFPQ34rstl70list4nodeRCQ213CCubeRenderer18CFogVolumeListItem": -/* 802BA358 002B72B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BA35C 002B72BC 7C 08 02 A6 */ mflr r0 -/* 802BA360 002B72C0 7C A6 2B 78 */ mr r6, r5 -/* 802BA364 002B72C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BA368 002B72C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BA36C 002B72CC 7C 9F 23 78 */ mr r31, r4 -/* 802BA370 002B72D0 7F E5 FB 78 */ mr r5, r31 -/* 802BA374 002B72D4 93 C1 00 08 */ stw r30, 8(r1) -/* 802BA378 002B72D8 7C 7E 1B 78 */ mr r30, r3 -/* 802BA37C 002B72DC 80 84 00 00 */ lwz r4, 0(r4) -/* 802BA380 002B72E0 48 00 00 49 */ bl __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem -/* 802BA384 002B72E4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802BA388 002B72E8 7C 1F 00 40 */ cmplw r31, r0 -/* 802BA38C 002B72EC 40 82 00 08 */ bne lbl_802BA394 -/* 802BA390 002B72F0 90 7E 00 04 */ stw r3, 4(r30) -lbl_802BA394: -/* 802BA394 002B72F4 80 83 00 00 */ lwz r4, 0(r3) -/* 802BA398 002B72F8 90 64 00 04 */ stw r3, 4(r4) -/* 802BA39C 002B72FC 80 83 00 04 */ lwz r4, 4(r3) -/* 802BA3A0 002B7300 90 64 00 00 */ stw r3, 0(r4) -/* 802BA3A4 002B7304 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802BA3A8 002B7308 38 04 00 01 */ addi r0, r4, 1 -/* 802BA3AC 002B730C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802BA3B0 002B7310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BA3B4 002B7314 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BA3B8 002B7318 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BA3BC 002B731C 7C 08 03 A6 */ mtlr r0 -/* 802BA3C0 002B7320 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BA3C4 002B7324 4E 80 00 20 */ blr - -.global __ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem -__ct__Q213CCubeRenderer18CFogVolumeListItemFRCQ213CCubeRenderer18CFogVolumeListItem: -/* 802BA3C8 002B7328 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BA3CC 002B732C 7C 08 02 A6 */ mflr r0 -/* 802BA3D0 002B7330 3C 60 80 3D */ lis r3, lbl_803D685C@ha -/* 802BA3D4 002B7334 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BA3D8 002B7338 38 03 68 5C */ addi r0, r3, lbl_803D685C@l -/* 802BA3DC 002B733C 38 60 00 68 */ li r3, 0x68 -/* 802BA3E0 002B7340 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802BA3E4 002B7344 7C BD 2B 78 */ mr r29, r5 -/* 802BA3E8 002B7348 7C 9E 23 78 */ mr r30, r4 -/* 802BA3EC 002B734C 7C DB 33 78 */ mr r27, r6 -/* 802BA3F0 002B7350 7C 04 03 78 */ mr r4, r0 -/* 802BA3F4 002B7354 38 A0 00 00 */ li r5, 0 -/* 802BA3F8 002B7358 48 05 B4 21 */ bl __nwa__FUlPCcPCc -/* 802BA3FC 002B735C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802BA400 002B7360 41 82 00 0C */ beq lbl_802BA40C -/* 802BA404 002B7364 93 DC 00 00 */ stw r30, 0(r28) -/* 802BA408 002B7368 93 BC 00 04 */ stw r29, 4(r28) -lbl_802BA40C: -/* 802BA40C 002B736C 37 FC 00 08 */ addic. r31, r28, 8 -/* 802BA410 002B7370 41 82 00 8C */ beq lbl_802BA49C -/* 802BA414 002B7374 7F E3 FB 78 */ mr r3, r31 -/* 802BA418 002B7378 7F 64 DB 78 */ mr r4, r27 -/* 802BA41C 002B737C 48 05 87 59 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802BA420 002B7380 80 1B 00 30 */ lwz r0, 0x30(r27) -/* 802BA424 002B7384 90 1F 00 30 */ stw r0, 0x30(r31) -/* 802BA428 002B7388 C0 1B 00 34 */ lfs f0, 0x34(r27) -/* 802BA42C 002B738C D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 802BA430 002B7390 C0 1B 00 38 */ lfs f0, 0x38(r27) -/* 802BA434 002B7394 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 802BA438 002B7398 C0 1B 00 3C */ lfs f0, 0x3c(r27) -/* 802BA43C 002B739C D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 802BA440 002B73A0 C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 802BA444 002B73A4 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 802BA448 002B73A8 C0 1B 00 44 */ lfs f0, 0x44(r27) -/* 802BA44C 002B73AC D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 802BA450 002B73B0 C0 1B 00 48 */ lfs f0, 0x48(r27) -/* 802BA454 002B73B4 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 802BA458 002B73B8 88 1B 00 58 */ lbz r0, 0x58(r27) -/* 802BA45C 002B73BC 98 1F 00 58 */ stb r0, 0x58(r31) -/* 802BA460 002B73C0 88 1B 00 58 */ lbz r0, 0x58(r27) -/* 802BA464 002B73C4 28 00 00 00 */ cmplwi r0, 0 -/* 802BA468 002B73C8 41 82 00 2C */ beq lbl_802BA494 -/* 802BA46C 002B73CC 37 DF 00 4C */ addic. r30, r31, 0x4c -/* 802BA470 002B73D0 3B BB 00 4C */ addi r29, r27, 0x4c -/* 802BA474 002B73D4 41 82 00 20 */ beq lbl_802BA494 -/* 802BA478 002B73D8 7F C3 F3 78 */ mr r3, r30 -/* 802BA47C 002B73DC 7F A4 EB 78 */ mr r4, r29 -/* 802BA480 002B73E0 48 08 6A 29 */ bl __ct__6CTokenFRC6CToken -/* 802BA484 002B73E4 80 1D 00 08 */ lwz r0, 8(r29) -/* 802BA488 002B73E8 7F C3 F3 78 */ mr r3, r30 -/* 802BA48C 002B73EC 90 1E 00 08 */ stw r0, 8(r30) -/* 802BA490 002B73F0 48 08 68 F5 */ bl Lock__6CTokenFv -lbl_802BA494: -/* 802BA494 002B73F4 80 1B 00 5C */ lwz r0, 0x5c(r27) -/* 802BA498 002B73F8 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_802BA49C: -/* 802BA49C 002B73FC 7F 83 E3 78 */ mr r3, r28 -/* 802BA4A0 002B7400 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802BA4A4 002B7404 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BA4A8 002B7408 7C 08 03 A6 */ mtlr r0 -/* 802BA4AC 002B740C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BA4B0 002B7410 4E 80 00 20 */ blr - -.global DoThermalBlendHot__13CCubeRendererFv -DoThermalBlendHot__13CCubeRendererFv: -/* 802BA4B4 002B7414 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802BA4B8 002B7418 7C 08 02 A6 */ mflr r0 -/* 802BA4BC 002B741C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802BA4C0 002B7420 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 802BA4C4 002B7424 7C 7A 1B 78 */ mr r26, r3 -/* 802BA4C8 002B7428 38 60 00 00 */ li r3, 0 -/* 802BA4CC 002B742C 48 0C 1A 61 */ bl GXSetAlphaUpdate -/* 802BA4D0 002B7430 38 60 00 01 */ li r3, 1 -/* 802BA4D4 002B7434 38 80 00 00 */ li r4, 0 -/* 802BA4D8 002B7438 48 0C 1C 09 */ bl GXSetDstAlpha -/* 802BA4DC 002B743C 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802BA4E0 002B7440 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) -/* 802BA4E4 002B7444 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 802BA4E8 002B7448 38 60 00 01 */ li r3, 1 -/* 802BA4EC 002B744C 83 A6 00 00 */ lwz r29, 0(r6) -/* 802BA4F0 002B7450 38 80 00 03 */ li r4, 3 -/* 802BA4F4 002B7454 83 86 00 04 */ lwz r28, 4(r6) -/* 802BA4F8 002B7458 38 A0 00 01 */ li r5, 1 -/* 802BA4FC 002B745C 83 E6 00 08 */ lwz r31, 8(r6) -/* 802BA500 002B7460 83 C6 00 0C */ lwz r30, 0xc(r6) -/* 802BA504 002B7464 48 04 E3 79 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BA508 002B7468 57 A3 04 3E */ clrlwi r3, r29, 0x10 -/* 802BA50C 002B746C 57 84 04 3E */ clrlwi r4, r28, 0x10 -/* 802BA510 002B7470 57 E5 04 3E */ clrlwi r5, r31, 0x10 -/* 802BA514 002B7474 57 C6 04 3E */ clrlwi r6, r30, 0x10 -/* 802BA518 002B7478 48 0B E8 9D */ bl GXSetTexCopySrc -/* 802BA51C 002B747C 57 E3 04 3E */ clrlwi r3, r31, 0x10 -/* 802BA520 002B7480 57 C4 04 3E */ clrlwi r4, r30, 0x10 -/* 802BA524 002B7484 38 A0 00 00 */ li r5, 0 -/* 802BA528 002B7488 38 C0 00 00 */ li r6, 0 -/* 802BA52C 002B748C 48 0B E9 55 */ bl GXSetTexCopyDst -/* 802BA530 002B7490 7F 63 DB 78 */ mr r3, r27 -/* 802BA534 002B7494 38 80 00 00 */ li r4, 0 -/* 802BA538 002B7498 48 0B EF FD */ bl GXCopyTex -/* 802BA53C 002B749C 38 7A 02 88 */ addi r3, r26, 0x288 -/* 802BA540 002B74A0 48 05 39 85 */ bl Load__16CGraphicsPaletteCFv -/* 802BA544 002B74A4 81 02 C7 A8 */ lwz r8, lbl_805AE4C8@sda21(r2) -/* 802BA548 002B74A8 7F E3 FB 78 */ mr r3, r31 -/* 802BA54C 002B74AC 7F C4 F3 78 */ mr r4, r30 -/* 802BA550 002B74B0 38 A0 00 08 */ li r5, 8 -/* 802BA554 002B74B4 38 C0 00 00 */ li r6, 0 -/* 802BA558 002B74B8 38 E0 00 00 */ li r7, 0 -/* 802BA55C 002B74BC 48 04 FA 0D */ bl LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID -/* 802BA560 002B74C0 38 60 00 00 */ li r3, 0 -/* 802BA564 002B74C4 38 80 00 0F */ li r4, 0xf -/* 802BA568 002B74C8 38 A0 00 09 */ li r5, 9 -/* 802BA56C 002B74CC 38 C0 00 08 */ li r6, 8 -/* 802BA570 002B74D0 38 E0 00 0F */ li r7, 0xf -/* 802BA574 002B74D4 48 04 E6 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802BA578 002B74D8 38 60 00 00 */ li r3, 0 -/* 802BA57C 002B74DC 38 80 00 07 */ li r4, 7 -/* 802BA580 002B74E0 38 A0 00 07 */ li r5, 7 -/* 802BA584 002B74E4 38 C0 00 07 */ li r6, 7 -/* 802BA588 002B74E8 38 E0 00 04 */ li r7, 4 -/* 802BA58C 002B74EC 48 04 E6 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802BA590 002B74F0 38 60 00 00 */ li r3, 0 -/* 802BA594 002B74F4 48 04 D6 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802BA598 002B74F8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802BA59C 002B74FC 38 60 00 00 */ li r3, 0 -/* 802BA5A0 002B7500 38 80 00 00 */ li r4, 0 -/* 802BA5A4 002B7504 38 C0 00 FF */ li r6, 0xff -/* 802BA5A8 002B7508 48 04 E3 A5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802BA5AC 002B750C 38 60 00 00 */ li r3, 0 -/* 802BA5B0 002B7510 38 80 00 00 */ li r4, 0 -/* 802BA5B4 002B7514 38 A0 00 04 */ li r5, 4 -/* 802BA5B8 002B7518 38 C0 00 3C */ li r6, 0x3c -/* 802BA5BC 002B751C 38 E0 00 00 */ li r7, 0 -/* 802BA5C0 002B7520 39 00 00 7D */ li r8, 0x7d -/* 802BA5C4 002B7524 48 04 E1 09 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802BA5C8 002B7528 38 60 00 07 */ li r3, 7 -/* 802BA5CC 002B752C 38 80 00 00 */ li r4, 0 -/* 802BA5D0 002B7530 38 A0 00 00 */ li r5, 0 -/* 802BA5D4 002B7534 38 C0 00 07 */ li r6, 7 -/* 802BA5D8 002B7538 38 E0 00 00 */ li r7, 0 -/* 802BA5DC 002B753C 48 04 E2 39 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802BA5E0 002B7540 38 60 00 01 */ li r3, 1 -/* 802BA5E4 002B7544 48 04 E6 AD */ bl SetNumTevStages__3CGXFUc -/* 802BA5E8 002B7548 38 60 00 01 */ li r3, 1 -/* 802BA5EC 002B754C 48 04 E8 29 */ bl SetNumTexGens__3CGXFUc -/* 802BA5F0 002B7550 38 60 00 00 */ li r3, 0 -/* 802BA5F4 002B7554 48 04 E8 5D */ bl SetNumChans__3CGXFUc -/* 802BA5F8 002B7558 38 60 00 00 */ li r3, 0 -/* 802BA5FC 002B755C 38 80 00 03 */ li r4, 3 -/* 802BA600 002B7560 38 A0 00 00 */ li r5, 0 -/* 802BA604 002B7564 48 04 E2 79 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BA608 002B7568 3C 60 80 3D */ lis r3, lbl_803D6654@ha -/* 802BA60C 002B756C 38 63 66 54 */ addi r3, r3, lbl_803D6654@l -/* 802BA610 002B7570 48 04 D8 19 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802BA614 002B7574 38 60 00 01 */ li r3, 1 -/* 802BA618 002B7578 38 80 00 06 */ li r4, 6 -/* 802BA61C 002B757C 38 A0 00 07 */ li r5, 7 -/* 802BA620 002B7580 38 C0 00 00 */ li r6, 0 -/* 802BA624 002B7584 48 04 E2 AD */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802BA628 002B7588 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802BA62C 002B758C 38 61 00 24 */ addi r3, r1, 0x24 -/* 802BA630 002B7590 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802BA634 002B7594 48 05 85 41 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802BA638 002B7598 48 04 F8 25 */ bl GetProjectionState__9CGraphicsFv -/* 802BA63C 002B759C 88 C3 00 00 */ lbz r6, 0(r3) -/* 802BA640 002B75A0 3C 80 43 30 */ lis r4, 0x4330 -/* 802BA644 002B75A4 6F E5 80 00 */ xoris r5, r31, 0x8000 -/* 802BA648 002B75A8 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 802BA64C 002B75AC 98 C1 00 08 */ stb r6, 8(r1) -/* 802BA650 002B75B0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802BA654 002B75B4 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BA658 002B75B8 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 802BA65C 002B75BC FC 60 08 90 */ fmr f3, f1 -/* 802BA660 002B75C0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802BA664 002B75C4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802BA668 002B75C8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) -/* 802BA66C 002B75CC C0 03 00 08 */ lfs f0, 8(r3) -/* 802BA670 002B75D0 90 81 00 58 */ stw r4, 0x58(r1) -/* 802BA674 002B75D4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) -/* 802BA678 002B75D8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802BA67C 002B75DC C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802BA680 002B75E0 C0 E3 00 0C */ lfs f7, 0xc(r3) -/* 802BA684 002B75E4 90 01 00 64 */ stw r0, 0x64(r1) -/* 802BA688 002B75E8 EC 40 20 28 */ fsubs f2, f0, f4 -/* 802BA68C 002B75EC D0 E1 00 14 */ stfs f7, 0x14(r1) -/* 802BA690 002B75F0 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802BA694 002B75F4 90 81 00 60 */ stw r4, 0x60(r1) -/* 802BA698 002B75F8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802BA69C 002B75FC C8 01 00 60 */ lfd f0, 0x60(r1) -/* 802BA6A0 002B7600 C0 E3 00 14 */ lfs f7, 0x14(r3) -/* 802BA6A4 002B7604 EC 80 20 28 */ fsubs f4, f0, f4 -/* 802BA6A8 002B7608 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 802BA6AC 002B760C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802BA6B0 002B7610 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802BA6B4 002B7614 48 05 1E A1 */ bl SetOrtho__9CGraphicsFffffff -/* 802BA6B8 002B7618 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BA6BC 002B761C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BA6C0 002B7620 48 05 20 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BA6C4 002B7624 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BA6C8 002B7628 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BA6CC 002B762C 48 05 1F 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BA6D0 002B7630 48 0B DE 95 */ bl GXPixModeSync -/* 802BA6D4 002B7634 38 60 00 A0 */ li r3, 0xa0 -/* 802BA6D8 002B7638 38 80 00 00 */ li r4, 0 -/* 802BA6DC 002B763C 38 A0 00 04 */ li r5, 4 -/* 802BA6E0 002B7640 48 04 DE A5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BA6E4 002B7644 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) -/* 802BA6E8 002B7648 3C 60 43 30 */ lis r3, 0x4330 -/* 802BA6EC 002B764C 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 802BA6F0 002B7650 6F C4 80 00 */ xoris r4, r30, 0x8000 -/* 802BA6F4 002B7654 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA6F8 002B7658 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 802BA6FC 002B765C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) -/* 802BA700 002B7660 90 81 00 6C */ stw r4, 0x6c(r1) -/* 802BA704 002B7664 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) -/* 802BA708 002B7668 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BA70C 002B766C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802BA710 002B7670 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA714 002B7674 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA718 002B7678 90 61 00 68 */ stw r3, 0x68(r1) -/* 802BA71C 002B767C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA720 002B7680 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 802BA724 002B7684 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA728 002B7688 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BA72C 002B768C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BA730 002B7690 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BA734 002B7694 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA738 002B7698 90 01 00 74 */ stw r0, 0x74(r1) -/* 802BA73C 002B769C 90 61 00 70 */ stw r3, 0x70(r1) -/* 802BA740 002B76A0 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 802BA744 002B76A4 90 81 00 7C */ stw r4, 0x7c(r1) -/* 802BA748 002B76A8 EC 20 18 28 */ fsubs f1, f0, f3 -/* 802BA74C 002B76AC 90 61 00 78 */ stw r3, 0x78(r1) -/* 802BA750 002B76B0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BA754 002B76B4 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 802BA758 002B76B8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 802BA75C 002B76BC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BA760 002B76C0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BA764 002B76C4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BA768 002B76C8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BA76C 002B76CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802BA770 002B76D0 90 61 00 80 */ stw r3, 0x80(r1) -/* 802BA774 002B76D4 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 802BA778 002B76D8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BA77C 002B76DC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BA780 002B76E0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BA784 002B76E4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BA788 002B76E8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA78C 002B76EC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BA790 002B76F0 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BA794 002B76F4 48 04 DD ED */ bl End__3CGXFv -/* 802BA798 002B76F8 38 60 00 00 */ li r3, 0 -/* 802BA79C 002B76FC 48 04 DE F5 */ bl SetNumIndStages__3CGXFUc -/* 802BA7A0 002B7700 38 60 00 00 */ li r3, 0 -/* 802BA7A4 002B7704 48 04 DF A1 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802BA7A8 002B7708 38 60 00 01 */ li r3, 1 -/* 802BA7AC 002B770C 48 0C 17 81 */ bl GXSetAlphaUpdate -/* 802BA7B0 002B7710 38 61 00 08 */ addi r3, r1, 8 -/* 802BA7B4 002B7714 48 04 F6 4D */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802BA7B8 002B7718 38 61 00 24 */ addi r3, r1, 0x24 -/* 802BA7BC 002B771C 48 05 1F 91 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BA7C0 002B7720 38 00 00 00 */ li r0, 0 -/* 802BA7C4 002B7724 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) -/* 802BA7C8 002B7728 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) -/* 802BA7CC 002B772C BB 41 00 88 */ lmw r26, 0x88(r1) -/* 802BA7D0 002B7730 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802BA7D4 002B7734 7C 08 03 A6 */ mtlr r0 -/* 802BA7D8 002B7738 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802BA7DC 002B773C 4E 80 00 20 */ blr - -.global DoThermalBlendCold__13CCubeRendererFv -DoThermalBlendCold__13CCubeRendererFv: -/* 802BA7E0 002B7740 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 802BA7E4 002B7744 7C 08 02 A6 */ mflr r0 -/* 802BA7E8 002B7748 90 01 01 04 */ stw r0, 0x104(r1) -/* 802BA7EC 002B774C DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 802BA7F0 002B7750 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 802BA7F4 002B7754 BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 802BA7F8 002B7758 7C 7C 1B 78 */ mr r28, r3 -/* 802BA7FC 002B775C 3C 80 43 30 */ lis r4, 0x4330 -/* 802BA800 002B7760 88 A3 02 F8 */ lbz r5, 0x2f8(r3) -/* 802BA804 002B7764 38 60 00 01 */ li r3, 1 -/* 802BA808 002B7768 88 1C 03 18 */ lbz r0, 0x318(r28) -/* 802BA80C 002B776C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 802BA810 002B7770 90 A1 00 9C */ stw r5, 0x9c(r1) -/* 802BA814 002B7774 38 60 00 01 */ li r3, 1 -/* 802BA818 002B7778 C8 22 C2 E0 */ lfd f1, lbl_805AE000@sda21(r2) -/* 802BA81C 002B777C 90 81 00 98 */ stw r4, 0x98(r1) -/* 802BA820 002B7780 C0 42 C2 78 */ lfs f2, lbl_805ADF98@sda21(r2) -/* 802BA824 002B7784 C8 01 00 98 */ lfd f0, 0x98(r1) -/* 802BA828 002B7788 98 1C 03 18 */ stb r0, 0x318(r28) -/* 802BA82C 002B778C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802BA830 002B7790 EF E2 00 32 */ fmuls f31, f2, f0 -/* 802BA834 002B7794 48 0C 16 F9 */ bl GXSetAlphaUpdate -/* 802BA838 002B7798 38 60 00 00 */ li r3, 0 -/* 802BA83C 002B779C 38 80 00 00 */ li r4, 0 -/* 802BA840 002B77A0 48 0C 18 A1 */ bl GXSetDstAlpha -/* 802BA844 002B77A4 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 802BA848 002B77A8 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) -/* 802BA84C 002B77AC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 802BA850 002B77B0 38 60 00 01 */ li r3, 1 -/* 802BA854 002B77B4 83 E6 00 00 */ lwz r31, 0(r6) -/* 802BA858 002B77B8 38 80 00 03 */ li r4, 3 -/* 802BA85C 002B77BC 83 66 00 04 */ lwz r27, 4(r6) -/* 802BA860 002B77C0 38 A0 00 00 */ li r5, 0 -/* 802BA864 002B77C4 83 C6 00 08 */ lwz r30, 8(r6) -/* 802BA868 002B77C8 83 A6 00 0C */ lwz r29, 0xc(r6) -/* 802BA86C 002B77CC 48 04 E0 11 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BA870 002B77D0 57 E3 04 3E */ clrlwi r3, r31, 0x10 -/* 802BA874 002B77D4 57 64 04 3E */ clrlwi r4, r27, 0x10 -/* 802BA878 002B77D8 57 C5 04 3E */ clrlwi r5, r30, 0x10 -/* 802BA87C 002B77DC 57 A6 04 3E */ clrlwi r6, r29, 0x10 -/* 802BA880 002B77E0 48 0B E5 35 */ bl GXSetTexCopySrc -/* 802BA884 002B77E4 57 C3 04 3E */ clrlwi r3, r30, 0x10 -/* 802BA888 002B77E8 57 A4 04 3E */ clrlwi r4, r29, 0x10 -/* 802BA88C 002B77EC 38 A0 00 00 */ li r5, 0 -/* 802BA890 002B77F0 38 C0 00 00 */ li r6, 0 -/* 802BA894 002B77F4 48 0B E5 ED */ bl GXSetTexCopyDst -/* 802BA898 002B77F8 7F 43 D3 78 */ mr r3, r26 -/* 802BA89C 002B77FC 38 80 00 01 */ li r4, 1 -/* 802BA8A0 002B7800 48 0B EC 95 */ bl GXCopyTex -/* 802BA8A4 002B7804 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802BA8A8 002B7808 7F C3 F3 78 */ mr r3, r30 -/* 802BA8AC 002B780C 7F A4 EB 78 */ mr r4, r29 -/* 802BA8B0 002B7810 38 A0 00 00 */ li r5, 0 -/* 802BA8B4 002B7814 38 C0 00 00 */ li r6, 0 -/* 802BA8B8 002B7818 48 04 F7 69 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802BA8BC 002B781C 38 7C 02 A8 */ addi r3, r28, 0x2a8 -/* 802BA8C0 002B7820 48 05 7C 61 */ bl Next__9CRandom16Fv -/* 802BA8C4 002B7824 38 03 00 1F */ addi r0, r3, 0x1f -/* 802BA8C8 002B7828 7F C3 F3 78 */ mr r3, r30 -/* 802BA8CC 002B782C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 802BA8D0 002B7830 7F A4 EB 78 */ mr r4, r29 -/* 802BA8D4 002B7834 3F 45 00 01 */ addis r26, r5, 1 -/* 802BA8D8 002B7838 38 E0 00 00 */ li r7, 0 -/* 802BA8DC 002B783C 3B 5A 80 00 */ addi r26, r26, -32768 -/* 802BA8E0 002B7840 38 A0 00 02 */ li r5, 2 -/* 802BA8E4 002B7844 7F 46 D3 78 */ mr r6, r26 -/* 802BA8E8 002B7848 48 04 F7 39 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802BA8EC 002B784C 7F C3 F3 78 */ mr r3, r30 -/* 802BA8F0 002B7850 7F A4 EB 78 */ mr r4, r29 -/* 802BA8F4 002B7854 7F 46 D3 78 */ mr r6, r26 -/* 802BA8F8 002B7858 38 A0 00 02 */ li r5, 2 -/* 802BA8FC 002B785C 38 E0 00 01 */ li r7, 1 -/* 802BA900 002B7860 48 04 F7 21 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802BA904 002B7864 C0 22 C2 80 */ lfs f1, lbl_805ADFA0@sda21(r2) -/* 802BA908 002B7868 38 81 00 20 */ addi r4, r1, 0x20 -/* 802BA90C 002B786C C0 1C 02 F0 */ lfs f0, 0x2f0(r28) -/* 802BA910 002B7870 38 6D 9A D0 */ addi r3, r13, lbl_805A8690@sda21 -/* 802BA914 002B7874 38 AD 9A D4 */ addi r5, r13, lbl_805A8694@sda21 -/* 802BA918 002B7878 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BA91C 002B787C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802BA920 002B7880 4B D5 19 95 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802BA924 002B7884 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BA928 002B7888 3C 60 80 3D */ lis r3, lbl_803D663C@ha -/* 802BA92C 002B788C 39 63 66 3C */ addi r11, r3, lbl_803D663C@l -/* 802BA930 002B7890 C8 22 C2 D8 */ lfd f1, lbl_805ADFF8@sda21(r2) -/* 802BA934 002B7894 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 802BA938 002B7898 81 4B 00 00 */ lwz r10, 0(r11) -/* 802BA93C 002B789C 80 CB 00 10 */ lwz r6, 0x10(r11) -/* 802BA940 002B78A0 38 81 00 4C */ addi r4, r1, 0x4c -/* 802BA944 002B78A4 81 2B 00 04 */ lwz r9, 4(r11) -/* 802BA948 002B78A8 38 60 00 01 */ li r3, 1 -/* 802BA94C 002B78AC FC 01 00 32 */ fmul f0, f1, f0 -/* 802BA950 002B78B0 81 0B 00 08 */ lwz r8, 8(r11) -/* 802BA954 002B78B4 80 EB 00 0C */ lwz r7, 0xc(r11) -/* 802BA958 002B78B8 38 A0 FF FE */ li r5, -2 -/* 802BA95C 002B78BC 80 0B 00 14 */ lwz r0, 0x14(r11) -/* 802BA960 002B78C0 91 41 00 4C */ stw r10, 0x4c(r1) -/* 802BA964 002B78C4 FC 00 00 18 */ frsp f0, f0 -/* 802BA968 002B78C8 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 802BA96C 002B78CC 91 21 00 50 */ stw r9, 0x50(r1) -/* 802BA970 002B78D0 91 01 00 54 */ stw r8, 0x54(r1) -/* 802BA974 002B78D4 90 E1 00 58 */ stw r7, 0x58(r1) -/* 802BA978 002B78D8 90 01 00 60 */ stw r0, 0x60(r1) -/* 802BA97C 002B78DC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802BA980 002B78E0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 802BA984 002B78E4 48 0C 05 45 */ bl GXSetIndTexMtx -/* 802BA988 002B78E8 38 00 00 00 */ li r0, 0 -/* 802BA98C 002B78EC 38 60 00 00 */ li r3, 0 -/* 802BA990 002B78F0 90 01 00 08 */ stw r0, 8(r1) -/* 802BA994 002B78F4 38 80 00 00 */ li r4, 0 -/* 802BA998 002B78F8 38 A0 00 00 */ li r5, 0 -/* 802BA99C 002B78FC 38 C0 00 07 */ li r6, 7 -/* 802BA9A0 002B7900 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BA9A4 002B7904 38 E0 00 01 */ li r7, 1 -/* 802BA9A8 002B7908 39 00 00 00 */ li r8, 0 -/* 802BA9AC 002B790C 39 20 00 00 */ li r9, 0 -/* 802BA9B0 002B7910 39 40 00 00 */ li r10, 0 -/* 802BA9B4 002B7914 48 04 DD D9 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 802BA9B8 002B7918 38 60 00 00 */ li r3, 0 -/* 802BA9BC 002B791C 38 80 00 00 */ li r4, 0 -/* 802BA9C0 002B7920 38 A0 00 00 */ li r5, 0 -/* 802BA9C4 002B7924 48 0C 07 E1 */ bl GXSetIndTexOrder -/* 802BA9C8 002B7928 8B FC 02 F8 */ lbz r31, 0x2f8(r28) -/* 802BA9CC 002B792C 38 A0 00 FF */ li r5, 0xff -/* 802BA9D0 002B7930 28 1F 00 80 */ cmplwi r31, 0x80 -/* 802BA9D4 002B7934 40 80 00 08 */ bge lbl_802BA9DC -/* 802BA9D8 002B7938 57 E5 0E 3C */ rlwinm r5, r31, 1, 0x18, 0x1e -lbl_802BA9DC: -/* 802BA9DC 002B793C 28 1F 00 40 */ cmplwi r31, 0x40 -/* 802BA9E0 002B7940 40 80 00 0C */ bge lbl_802BA9EC -/* 802BA9E4 002B7944 38 C0 00 00 */ li r6, 0 -/* 802BA9E8 002B7948 48 00 00 34 */ b lbl_802BAA1C -lbl_802BA9EC: -/* 802BA9EC 002B794C 28 1F 00 FF */ cmplwi r31, 0xff -/* 802BA9F0 002B7950 40 82 00 0C */ bne lbl_802BA9FC -/* 802BA9F4 002B7954 38 C0 00 FF */ li r6, 0xff -/* 802BA9F8 002B7958 48 00 00 24 */ b lbl_802BAA1C -lbl_802BA9FC: -/* 802BA9FC 002B795C 38 1F FF C0 */ addi r0, r31, -64 -/* 802BAA00 002B7960 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802BAA04 002B7964 54 00 10 3A */ slwi r0, r0, 2 -/* 802BAA08 002B7968 38 63 55 56 */ addi r3, r3, 0x55555556@l -/* 802BAA0C 002B796C 7C 63 00 96 */ mulhw r3, r3, r0 -/* 802BAA10 002B7970 54 60 0F FE */ srwi r0, r3, 0x1f -/* 802BAA14 002B7974 7C 03 02 14 */ add r0, r3, r0 -/* 802BAA18 002B7978 54 06 06 3E */ clrlwi r6, r0, 0x18 -lbl_802BAA1C: -/* 802BAA1C 002B797C 80 62 D7 70 */ lwz r3, lbl_805AF490@sda21(r2) -/* 802BAA20 002B7980 54 A4 06 3E */ clrlwi r4, r5, 0x18 -/* 802BAA24 002B7984 80 02 D7 74 */ lwz r0, lbl_805AF494@sda21(r2) -/* 802BAA28 002B7988 20 84 00 FF */ subfic r4, r4, 0xff -/* 802BAA2C 002B798C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802BAA30 002B7990 7C 83 1E 70 */ srawi r3, r4, 3 -/* 802BAA34 002B7994 90 01 00 28 */ stw r0, 0x28(r1) -/* 802BAA38 002B7998 98 61 00 2C */ stb r3, 0x2c(r1) -/* 802BAA3C 002B799C 98 61 00 2D */ stb r3, 0x2d(r1) -/* 802BAA40 002B79A0 98 61 00 2E */ stb r3, 0x2e(r1) -/* 802BAA44 002B79A4 98 A1 00 2F */ stb r5, 0x2f(r1) -/* 802BAA48 002B79A8 98 C1 00 28 */ stb r6, 0x28(r1) -/* 802BAA4C 002B79AC 98 C1 00 29 */ stb r6, 0x29(r1) -/* 802BAA50 002B79B0 98 C1 00 2A */ stb r6, 0x2a(r1) -/* 802BAA54 002B79B4 98 C1 00 2B */ stb r6, 0x2b(r1) -/* 802BAA58 002B79B8 48 08 F5 55 */ bl White__6CColorFv -/* 802BAA5C 002B79BC 3C 00 43 30 */ lis r0, 0x4330 -/* 802BAA60 002B79C0 7C 65 1B 78 */ mr r5, r3 -/* 802BAA64 002B79C4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 802BAA68 002B79C8 38 61 00 1C */ addi r3, r1, 0x1c -/* 802BAA6C 002B79CC C8 42 C2 E0 */ lfd f2, lbl_805AE000@sda21(r2) -/* 802BAA70 002B79D0 38 9C 02 F4 */ addi r4, r28, 0x2f4 -/* 802BAA74 002B79D4 90 01 00 98 */ stw r0, 0x98(r1) -/* 802BAA78 002B79D8 C0 02 C2 B8 */ lfs f0, lbl_805ADFD8@sda21(r2) -/* 802BAA7C 002B79DC C8 21 00 98 */ lfd f1, 0x98(r1) -/* 802BAA80 002B79E0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802BAA84 002B79E4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802BAA88 002B79E8 48 0A 88 25 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 802BAA8C 002B79EC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802BAA90 002B79F0 38 81 00 18 */ addi r4, r1, 0x18 -/* 802BAA94 002B79F4 38 60 00 01 */ li r3, 1 -/* 802BAA98 002B79F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BAA9C 002B79FC 90 01 00 18 */ stw r0, 0x18(r1) -/* 802BAAA0 002B7A00 48 0C 0B 5D */ bl GXSetTevColor -/* 802BAAA4 002B7A04 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802BAAA8 002B7A08 38 81 00 14 */ addi r4, r1, 0x14 -/* 802BAAAC 002B7A0C 38 60 00 02 */ li r3, 2 -/* 802BAAB0 002B7A10 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BAAB4 002B7A14 48 0C 0B 49 */ bl GXSetTevColor -/* 802BAAB8 002B7A18 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802BAABC 002B7A1C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802BAAC0 002B7A20 38 60 00 03 */ li r3, 3 -/* 802BAAC4 002B7A24 90 01 00 10 */ stw r0, 0x10(r1) -/* 802BAAC8 002B7A28 48 0C 0B 35 */ bl GXSetTevColor -/* 802BAACC 002B7A2C 38 60 00 00 */ li r3, 0 -/* 802BAAD0 002B7A30 38 80 00 00 */ li r4, 0 -/* 802BAAD4 002B7A34 38 A0 00 01 */ li r5, 1 -/* 802BAAD8 002B7A38 48 0C 0D 59 */ bl GXSetTevSwapMode -/* 802BAADC 002B7A3C 38 60 00 00 */ li r3, 0 -/* 802BAAE0 002B7A40 38 80 00 0F */ li r4, 0xf -/* 802BAAE4 002B7A44 38 A0 00 08 */ li r5, 8 -/* 802BAAE8 002B7A48 38 C0 00 02 */ li r6, 2 -/* 802BAAEC 002B7A4C 38 E0 00 06 */ li r7, 6 -/* 802BAAF0 002B7A50 48 04 E0 FD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802BAAF4 002B7A54 38 60 00 00 */ li r3, 0 -/* 802BAAF8 002B7A58 38 80 00 07 */ li r4, 7 -/* 802BAAFC 002B7A5C 38 A0 00 04 */ li r5, 4 -/* 802BAB00 002B7A60 38 C0 00 02 */ li r6, 2 -/* 802BAB04 002B7A64 38 E0 00 03 */ li r7, 3 -/* 802BAB08 002B7A68 48 04 E0 8D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802BAB0C 002B7A6C 38 60 00 00 */ li r3, 0 -/* 802BAB10 002B7A70 48 04 D1 41 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802BAB14 002B7A74 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802BAB18 002B7A78 38 60 00 00 */ li r3, 0 -/* 802BAB1C 002B7A7C 38 80 00 00 */ li r4, 0 -/* 802BAB20 002B7A80 38 C0 00 FF */ li r6, 0xff -/* 802BAB24 002B7A84 48 04 DE 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802BAB28 002B7A88 38 60 00 01 */ li r3, 1 -/* 802BAB2C 002B7A8C 38 80 00 00 */ li r4, 0 -/* 802BAB30 002B7A90 38 A0 00 01 */ li r5, 1 -/* 802BAB34 002B7A94 48 0C 0C FD */ bl GXSetTevSwapMode -/* 802BAB38 002B7A98 38 60 00 01 */ li r3, 1 -/* 802BAB3C 002B7A9C 38 80 00 0F */ li r4, 0xf -/* 802BAB40 002B7AA0 38 A0 00 08 */ li r5, 8 -/* 802BAB44 002B7AA4 38 C0 00 04 */ li r6, 4 -/* 802BAB48 002B7AA8 38 E0 00 00 */ li r7, 0 -/* 802BAB4C 002B7AAC 48 04 E0 A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802BAB50 002B7AB0 38 60 00 01 */ li r3, 1 -/* 802BAB54 002B7AB4 38 80 00 01 */ li r4, 1 -/* 802BAB58 002B7AB8 38 A0 00 00 */ li r5, 0 -/* 802BAB5C 002B7ABC 38 C0 00 00 */ li r6, 0 -/* 802BAB60 002B7AC0 38 E0 00 01 */ li r7, 1 -/* 802BAB64 002B7AC4 39 00 00 00 */ li r8, 0 -/* 802BAB68 002B7AC8 48 04 DF D1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802BAB6C 002B7ACC 38 60 00 01 */ li r3, 1 -/* 802BAB70 002B7AD0 38 80 00 07 */ li r4, 7 -/* 802BAB74 002B7AD4 38 A0 00 02 */ li r5, 2 -/* 802BAB78 002B7AD8 38 C0 00 04 */ li r6, 4 -/* 802BAB7C 002B7ADC 38 E0 00 00 */ li r7, 0 -/* 802BAB80 002B7AE0 48 04 E0 15 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802BAB84 002B7AE4 38 60 00 01 */ li r3, 1 -/* 802BAB88 002B7AE8 38 80 00 00 */ li r4, 0 -/* 802BAB8C 002B7AEC 38 A0 00 00 */ li r5, 0 -/* 802BAB90 002B7AF0 38 C0 00 02 */ li r6, 2 -/* 802BAB94 002B7AF4 38 E0 00 01 */ li r7, 1 -/* 802BAB98 002B7AF8 39 00 00 00 */ li r8, 0 -/* 802BAB9C 002B7AFC 48 04 DE E5 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802BABA0 002B7B00 38 60 00 01 */ li r3, 1 -/* 802BABA4 002B7B04 38 80 00 00 */ li r4, 0 -/* 802BABA8 002B7B08 38 A0 00 01 */ li r5, 1 -/* 802BABAC 002B7B0C 38 C0 00 FF */ li r6, 0xff -/* 802BABB0 002B7B10 48 04 DD 9D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802BABB4 002B7B14 38 60 00 00 */ li r3, 0 -/* 802BABB8 002B7B18 38 80 00 00 */ li r4, 0 -/* 802BABBC 002B7B1C 38 A0 00 04 */ li r5, 4 -/* 802BABC0 002B7B20 38 C0 00 3C */ li r6, 0x3c -/* 802BABC4 002B7B24 38 E0 00 00 */ li r7, 0 -/* 802BABC8 002B7B28 39 00 00 7D */ li r8, 0x7d -/* 802BABCC 002B7B2C 48 04 DB 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802BABD0 002B7B30 38 60 00 07 */ li r3, 7 -/* 802BABD4 002B7B34 38 80 00 00 */ li r4, 0 -/* 802BABD8 002B7B38 38 A0 00 00 */ li r5, 0 -/* 802BABDC 002B7B3C 38 C0 00 07 */ li r6, 7 -/* 802BABE0 002B7B40 38 E0 00 00 */ li r7, 0 -/* 802BABE4 002B7B44 48 04 DC 31 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 802BABE8 002B7B48 38 60 00 02 */ li r3, 2 -/* 802BABEC 002B7B4C 48 04 E0 A5 */ bl SetNumTevStages__3CGXFUc -/* 802BABF0 002B7B50 38 60 00 01 */ li r3, 1 -/* 802BABF4 002B7B54 48 04 E2 21 */ bl SetNumTexGens__3CGXFUc -/* 802BABF8 002B7B58 38 60 00 00 */ li r3, 0 -/* 802BABFC 002B7B5C 48 04 E2 55 */ bl SetNumChans__3CGXFUc -/* 802BAC00 002B7B60 38 60 00 01 */ li r3, 1 -/* 802BAC04 002B7B64 48 04 DA 8D */ bl SetNumIndStages__3CGXFUc -/* 802BAC08 002B7B68 38 60 00 00 */ li r3, 0 -/* 802BAC0C 002B7B6C 38 80 00 07 */ li r4, 7 -/* 802BAC10 002B7B70 38 A0 00 00 */ li r5, 0 -/* 802BAC14 002B7B74 48 04 DC 69 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BAC18 002B7B78 3C 60 80 3D */ lis r3, lbl_803D6624@ha -/* 802BAC1C 002B7B7C 38 63 66 24 */ addi r3, r3, lbl_803D6624@l -/* 802BAC20 002B7B80 48 04 D2 09 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802BAC24 002B7B84 38 60 00 00 */ li r3, 0 -/* 802BAC28 002B7B88 38 80 00 01 */ li r4, 1 -/* 802BAC2C 002B7B8C 38 A0 00 00 */ li r5, 0 -/* 802BAC30 002B7B90 38 C0 00 00 */ li r6, 0 -/* 802BAC34 002B7B94 48 04 DC 9D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802BAC38 002B7B98 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802BAC3C 002B7B9C 38 61 00 64 */ addi r3, r1, 0x64 -/* 802BAC40 002B7BA0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802BAC44 002B7BA4 48 05 7F 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802BAC48 002B7BA8 48 04 F2 15 */ bl GetProjectionState__9CGraphicsFv -/* 802BAC4C 002B7BAC 88 C3 00 00 */ lbz r6, 0(r3) -/* 802BAC50 002B7BB0 3C 80 43 30 */ lis r4, 0x4330 -/* 802BAC54 002B7BB4 6F C5 80 00 */ xoris r5, r30, 0x8000 -/* 802BAC58 002B7BB8 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 802BAC5C 002B7BBC 98 C1 00 30 */ stb r6, 0x30(r1) -/* 802BAC60 002B7BC0 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802BAC64 002B7BC4 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BAC68 002B7BC8 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 802BAC6C 002B7BCC FC 60 08 90 */ fmr f3, f1 -/* 802BAC70 002B7BD0 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802BAC74 002B7BD4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802BAC78 002B7BD8 C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) -/* 802BAC7C 002B7BDC C0 03 00 08 */ lfs f0, 8(r3) -/* 802BAC80 002B7BE0 90 81 00 A0 */ stw r4, 0xa0(r1) -/* 802BAC84 002B7BE4 C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) -/* 802BAC88 002B7BE8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802BAC8C 002B7BEC C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 802BAC90 002B7BF0 C0 E3 00 0C */ lfs f7, 0xc(r3) -/* 802BAC94 002B7BF4 90 01 00 AC */ stw r0, 0xac(r1) -/* 802BAC98 002B7BF8 EC 40 20 28 */ fsubs f2, f0, f4 -/* 802BAC9C 002B7BFC D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 802BACA0 002B7C00 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802BACA4 002B7C04 90 81 00 A8 */ stw r4, 0xa8(r1) -/* 802BACA8 002B7C08 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802BACAC 002B7C0C C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 802BACB0 002B7C10 C0 E3 00 14 */ lfs f7, 0x14(r3) -/* 802BACB4 002B7C14 EC 80 20 28 */ fsubs f4, f0, f4 -/* 802BACB8 002B7C18 D0 E1 00 44 */ stfs f7, 0x44(r1) -/* 802BACBC 002B7C1C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802BACC0 002B7C20 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802BACC4 002B7C24 48 05 18 91 */ bl SetOrtho__9CGraphicsFffffff -/* 802BACC8 002B7C28 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BACCC 002B7C2C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BACD0 002B7C30 48 05 1A 7D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BACD4 002B7C34 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BACD8 002B7C38 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BACDC 002B7C3C 48 05 19 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BACE0 002B7C40 48 0B D8 85 */ bl GXPixModeSync -/* 802BACE4 002B7C44 38 60 00 A0 */ li r3, 0xa0 -/* 802BACE8 002B7C48 38 80 00 00 */ li r4, 0 -/* 802BACEC 002B7C4C 38 A0 00 04 */ li r5, 4 -/* 802BACF0 002B7C50 48 04 D8 95 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BACF4 002B7C54 C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) -/* 802BACF8 002B7C58 3C 60 43 30 */ lis r3, 0x4330 -/* 802BACFC 002B7C5C 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 802BAD00 002B7C60 6F A4 80 00 */ xoris r4, r29, 0x8000 -/* 802BAD04 002B7C64 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD08 002B7C68 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 802BAD0C 002B7C6C C0 82 C2 80 */ lfs f4, lbl_805ADFA0@sda21(r2) -/* 802BAD10 002B7C70 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 802BAD14 002B7C74 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) -/* 802BAD18 002B7C78 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BAD1C 002B7C7C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802BAD20 002B7C80 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD24 002B7C84 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD28 002B7C88 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 802BAD2C 002B7C8C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD30 002B7C90 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 802BAD34 002B7C94 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD38 002B7C98 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BAD3C 002B7C9C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BAD40 002B7CA0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BAD44 002B7CA4 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD48 002B7CA8 90 01 00 BC */ stw r0, 0xbc(r1) -/* 802BAD4C 002B7CAC 90 61 00 B8 */ stw r3, 0xb8(r1) -/* 802BAD50 002B7CB0 C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 802BAD54 002B7CB4 90 81 00 C4 */ stw r4, 0xc4(r1) -/* 802BAD58 002B7CB8 EC 20 18 28 */ fsubs f1, f0, f3 -/* 802BAD5C 002B7CBC 90 61 00 C0 */ stw r3, 0xc0(r1) -/* 802BAD60 002B7CC0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BAD64 002B7CC4 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 802BAD68 002B7CC8 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 802BAD6C 002B7CCC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BAD70 002B7CD0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BAD74 002B7CD4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BAD78 002B7CD8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BAD7C 002B7CDC 90 01 00 CC */ stw r0, 0xcc(r1) -/* 802BAD80 002B7CE0 90 61 00 C8 */ stw r3, 0xc8(r1) -/* 802BAD84 002B7CE4 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802BAD88 002B7CE8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BAD8C 002B7CEC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802BAD90 002B7CF0 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BAD94 002B7CF4 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) -/* 802BAD98 002B7CF8 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BAD9C 002B7CFC D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BADA0 002B7D00 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 802BADA4 002B7D04 48 04 D7 DD */ bl End__3CGXFv -/* 802BADA8 002B7D08 38 60 00 00 */ li r3, 0 -/* 802BADAC 002B7D0C 38 80 00 00 */ li r4, 0 -/* 802BADB0 002B7D10 38 A0 00 00 */ li r5, 0 -/* 802BADB4 002B7D14 48 0C 0A 7D */ bl GXSetTevSwapMode -/* 802BADB8 002B7D18 38 60 00 01 */ li r3, 1 -/* 802BADBC 002B7D1C 38 80 00 00 */ li r4, 0 -/* 802BADC0 002B7D20 38 A0 00 00 */ li r5, 0 -/* 802BADC4 002B7D24 48 0C 0A 6D */ bl GXSetTevSwapMode -/* 802BADC8 002B7D28 38 60 00 00 */ li r3, 0 -/* 802BADCC 002B7D2C 48 04 D8 C5 */ bl SetNumIndStages__3CGXFUc -/* 802BADD0 002B7D30 38 60 00 00 */ li r3, 0 -/* 802BADD4 002B7D34 48 04 D9 71 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802BADD8 002B7D38 38 60 00 00 */ li r3, 0 -/* 802BADDC 002B7D3C 38 80 00 FF */ li r4, 0xff -/* 802BADE0 002B7D40 48 0C 13 01 */ bl GXSetDstAlpha -/* 802BADE4 002B7D44 38 61 00 30 */ addi r3, r1, 0x30 -/* 802BADE8 002B7D48 48 04 F0 19 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802BADEC 002B7D4C 38 61 00 64 */ addi r3, r1, 0x64 -/* 802BADF0 002B7D50 48 05 19 5D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BADF4 002B7D54 38 00 00 01 */ li r0, 1 -/* 802BADF8 002B7D58 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) -/* 802BADFC 002B7D5C 98 0D A5 EC */ stb r0, lbl_805A91AC@sda21(r13) -/* 802BAE00 002B7D60 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 802BAE04 002B7D64 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 802BAE08 002B7D68 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 802BAE0C 002B7D6C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802BAE10 002B7D70 7C 08 03 A6 */ mtlr r0 -/* 802BAE14 002B7D74 38 21 01 00 */ addi r1, r1, 0x100 -/* 802BAE18 002B7D78 4E 80 00 20 */ blr - -.global RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel -RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTransform4fPC13CSkinnedModel: -/* 802BAE1C 002B7D7C 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 802BAE20 002B7D80 7C 08 02 A6 */ mflr r0 -/* 802BAE24 002B7D84 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 802BAE28 002B7D88 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 802BAE2C 002B7D8C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 802BAE30 002B7D90 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 802BAE34 002B7D94 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 802BAE38 002B7D98 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 802BAE3C 002B7D9C F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 802BAE40 002B7DA0 DB 81 01 90 */ stfd f28, 0x190(r1) -/* 802BAE44 002B7DA4 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 -/* 802BAE48 002B7DA8 DB 61 01 80 */ stfd f27, 0x180(r1) -/* 802BAE4C 002B7DAC F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 -/* 802BAE50 002B7DB0 DB 41 01 70 */ stfd f26, 0x170(r1) -/* 802BAE54 002B7DB4 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 -/* 802BAE58 002B7DB8 DB 21 01 60 */ stfd f25, 0x160(r1) -/* 802BAE5C 002B7DBC F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 -/* 802BAE60 002B7DC0 DB 01 01 50 */ stfd f24, 0x150(r1) -/* 802BAE64 002B7DC4 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 -/* 802BAE68 002B7DC8 DA E1 01 40 */ stfd f23, 0x140(r1) -/* 802BAE6C 002B7DCC F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0 -/* 802BAE70 002B7DD0 DA C1 01 30 */ stfd f22, 0x130(r1) -/* 802BAE74 002B7DD4 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0 -/* 802BAE78 002B7DD8 DA A1 01 20 */ stfd f21, 0x120(r1) -/* 802BAE7C 002B7DDC F2 A1 01 28 */ psq_st f21, 296(r1), 0, qr0 -/* 802BAE80 002B7DE0 DA 81 01 10 */ stfd f20, 0x110(r1) -/* 802BAE84 002B7DE4 F2 81 01 18 */ psq_st f20, 280(r1), 0, qr0 -/* 802BAE88 002B7DE8 DA 61 01 00 */ stfd f19, 0x100(r1) -/* 802BAE8C 002B7DEC F2 61 01 08 */ psq_st f19, 264(r1), 0, qr0 -/* 802BAE90 002B7DF0 DA 41 00 F0 */ stfd f18, 0xf0(r1) -/* 802BAE94 002B7DF4 F2 41 00 F8 */ psq_st f18, 248(r1), 0, qr0 -/* 802BAE98 002B7DF8 93 E1 00 EC */ stw r31, 0xec(r1) -/* 802BAE9C 002B7DFC 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 802BAEA0 002B7E00 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 802BAEA4 002B7E04 7C 9F 23 79 */ or. r31, r4, r4 -/* 802BAEA8 002B7E08 7C DE 33 78 */ mr r30, r6 -/* 802BAEAC 002B7E0C 7C FD 3B 78 */ mr r29, r7 -/* 802BAEB0 002B7E10 40 82 02 60 */ bne lbl_802BB110 -/* 802BAEB4 002B7E14 28 1D 00 00 */ cmplwi r29, 0 -/* 802BAEB8 002B7E18 40 82 02 58 */ bne lbl_802BB110 -/* 802BAEBC 002B7E1C 7C 64 1B 78 */ mr r4, r3 -/* 802BAEC0 002B7E20 38 61 00 38 */ addi r3, r1, 0x38 -/* 802BAEC4 002B7E24 48 07 CA 39 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 802BAEC8 002B7E28 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 802BAECC 002B7E2C 3C 60 80 3D */ lis r3, lbl_803D6614@ha -/* 802BAED0 002B7E30 C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 802BAED4 002B7E34 38 63 66 14 */ addi r3, r3, lbl_803D6614@l -/* 802BAED8 002B7E38 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 802BAEDC 002B7E3C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 802BAEE0 002B7E40 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802BAEE4 002B7E44 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802BAEE8 002B7E48 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 802BAEEC 002B7E4C D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802BAEF0 002B7E50 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802BAEF4 002B7E54 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802BAEF8 002B7E58 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 802BAEFC 002B7E5C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802BAF00 002B7E60 48 04 CF 29 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802BAF04 002B7E64 C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 802BAF08 002B7E68 38 61 00 2C */ addi r3, r1, 0x2c -/* 802BAF0C 002B7E6C C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 802BAF10 002B7E70 38 81 00 20 */ addi r4, r1, 0x20 -/* 802BAF14 002B7E74 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802BAF18 002B7E78 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802BAF1C 002B7E7C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802BAF20 002B7E80 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802BAF24 002B7E84 48 05 8E AD */ bl __ct__11CUnitVectorFRC9CVector3f -/* 802BAF28 002B7E88 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802BAF2C 002B7E8C 3C 60 80 5A */ lis r3, lbl_805A6718@ha -/* 802BAF30 002B7E90 C0 5E 00 1C */ lfs f2, 0x1c(r30) -/* 802BAF34 002B7E94 39 23 67 18 */ addi r9, r3, lbl_805A6718@l -/* 802BAF38 002B7E98 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802BAF3C 002B7E9C 3C 60 80 5A */ lis r3, lbl_805A670C@ha -/* 802BAF40 002B7EA0 EC 62 00 72 */ fmuls f3, f2, f1 -/* 802BAF44 002B7EA4 C0 9E 00 0C */ lfs f4, 0xc(r30) -/* 802BAF48 002B7EA8 39 03 67 0C */ addi r8, r3, lbl_805A670C@l -/* 802BAF4C 002B7EAC C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802BAF50 002B7EB0 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 802BAF54 002B7EB4 C0 E1 00 5C */ lfs f7, 0x5c(r1) -/* 802BAF58 002B7EB8 EC 84 18 3A */ fmadds f4, f4, f0, f3 -/* 802BAF5C 002B7EBC C0 BE 00 2C */ lfs f5, 0x2c(r30) -/* 802BAF60 002B7EC0 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l -/* 802BAF64 002B7EC4 C0 C1 00 60 */ lfs f6, 0x60(r1) -/* 802BAF68 002B7EC8 C0 62 C2 EC */ lfs f3, lbl_805AE00C@sda21(r2) -/* 802BAF6C 002B7ECC 3C 60 80 5A */ lis r3, lbl_805A6730@ha -/* 802BAF70 002B7ED0 ED 05 20 BA */ fmadds f8, f5, f2, f4 -/* 802BAF74 002B7ED4 38 C3 67 30 */ addi r6, r3, lbl_805A6730@l -/* 802BAF78 002B7ED8 C0 A1 00 64 */ lfs f5, 0x64(r1) -/* 802BAF7C 002B7EDC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 802BAF80 002B7EE0 C0 82 C2 E8 */ lfs f4, lbl_805AE008@sda21(r2) -/* 802BAF84 002B7EE4 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 802BAF88 002B7EE8 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l -/* 802BAF8C 002B7EEC EC 63 40 2A */ fadds f3, f3, f8 -/* 802BAF90 002B7EF0 FE C0 38 50 */ fneg f22, f7 -/* 802BAF94 002B7EF4 38 83 67 00 */ addi r4, r3, lbl_805A6700@l -/* 802BAF98 002B7EF8 FE A0 30 50 */ fneg f21, f6 -/* 802BAF9C 002B7EFC C2 E9 00 00 */ lfs f23, 0(r9) -/* 802BAFA0 002B7F00 FE 80 28 50 */ fneg f20, f5 -/* 802BAFA4 002B7F04 EC 64 18 2A */ fadds f3, f4, f3 -/* 802BAFA8 002B7F08 C3 09 00 04 */ lfs f24, 4(r9) -/* 802BAFAC 002B7F0C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BAFB0 002B7F10 C3 29 00 08 */ lfs f25, 8(r9) -/* 802BAFB4 002B7F14 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BAFB8 002B7F18 C3 41 00 50 */ lfs f26, 0x50(r1) -/* 802BAFBC 002B7F1C C3 68 00 00 */ lfs f27, 0(r8) -/* 802BAFC0 002B7F20 C3 88 00 04 */ lfs f28, 4(r8) -/* 802BAFC4 002B7F24 C3 A8 00 08 */ lfs f29, 8(r8) -/* 802BAFC8 002B7F28 C2 61 00 54 */ lfs f19, 0x54(r1) -/* 802BAFCC 002B7F2C C3 C7 00 00 */ lfs f30, 0(r7) -/* 802BAFD0 002B7F30 C3 E7 00 04 */ lfs f31, 4(r7) -/* 802BAFD4 002B7F34 C1 A7 00 08 */ lfs f13, 8(r7) -/* 802BAFD8 002B7F38 C1 86 00 00 */ lfs f12, 0(r6) -/* 802BAFDC 002B7F3C C1 66 00 04 */ lfs f11, 4(r6) -/* 802BAFE0 002B7F40 C1 46 00 08 */ lfs f10, 8(r6) -/* 802BAFE4 002B7F44 C2 41 00 58 */ lfs f18, 0x58(r1) -/* 802BAFE8 002B7F48 C1 25 00 00 */ lfs f9, 0(r5) -/* 802BAFEC 002B7F4C C1 05 00 04 */ lfs f8, 4(r5) -/* 802BAFF0 002B7F50 C0 E5 00 08 */ lfs f7, 8(r5) -/* 802BAFF4 002B7F54 C0 C4 00 00 */ lfs f6, 0(r4) -/* 802BAFF8 002B7F58 C0 A4 00 04 */ lfs f5, 4(r4) -/* 802BAFFC 002B7F5C C0 84 00 08 */ lfs f4, 8(r4) -/* 802BB000 002B7F60 D2 E1 00 68 */ stfs f23, 0x68(r1) -/* 802BB004 002B7F64 D3 01 00 6C */ stfs f24, 0x6c(r1) -/* 802BB008 002B7F68 D3 21 00 70 */ stfs f25, 0x70(r1) -/* 802BB00C 002B7F6C D3 41 00 74 */ stfs f26, 0x74(r1) -/* 802BB010 002B7F70 D3 61 00 78 */ stfs f27, 0x78(r1) -/* 802BB014 002B7F74 D3 81 00 7C */ stfs f28, 0x7c(r1) -/* 802BB018 002B7F78 D3 A1 00 80 */ stfs f29, 0x80(r1) -/* 802BB01C 002B7F7C D2 C1 00 84 */ stfs f22, 0x84(r1) -/* 802BB020 002B7F80 D3 C1 00 88 */ stfs f30, 0x88(r1) -/* 802BB024 002B7F84 D3 E1 00 8C */ stfs f31, 0x8c(r1) -/* 802BB028 002B7F88 D1 A1 00 90 */ stfs f13, 0x90(r1) -/* 802BB02C 002B7F8C D2 61 00 94 */ stfs f19, 0x94(r1) -/* 802BB030 002B7F90 D1 81 00 98 */ stfs f12, 0x98(r1) -/* 802BB034 002B7F94 D1 61 00 9C */ stfs f11, 0x9c(r1) -/* 802BB038 002B7F98 D1 41 00 A0 */ stfs f10, 0xa0(r1) -/* 802BB03C 002B7F9C D2 A1 00 A4 */ stfs f21, 0xa4(r1) -/* 802BB040 002B7FA0 D1 21 00 A8 */ stfs f9, 0xa8(r1) -/* 802BB044 002B7FA4 D1 01 00 AC */ stfs f8, 0xac(r1) -/* 802BB048 002B7FA8 D0 E1 00 B0 */ stfs f7, 0xb0(r1) -/* 802BB04C 002B7FAC D2 41 00 B4 */ stfs f18, 0xb4(r1) -/* 802BB050 002B7FB0 D0 C1 00 B8 */ stfs f6, 0xb8(r1) -/* 802BB054 002B7FB4 D0 A1 00 BC */ stfs f5, 0xbc(r1) -/* 802BB058 002B7FB8 D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 802BB05C 002B7FBC D2 81 00 C4 */ stfs f20, 0xc4(r1) -/* 802BB060 002B7FC0 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 802BB064 002B7FC4 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 802BB068 002B7FC8 D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 802BB06C 002B7FCC D0 61 00 D4 */ stfs f3, 0xd4(r1) -/* 802BB070 002B7FD0 48 05 15 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BB074 002B7FD4 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 802BB078 002B7FD8 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 802BB07C 002B7FDC C0 21 00 64 */ lfs f1, 0x64(r1) -/* 802BB080 002B7FE0 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802BB084 002B7FE4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802BB088 002B7FE8 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 802BB08C 002B7FEC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802BB090 002B7FF0 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802BB094 002B7FF4 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802BB098 002B7FF8 EC 23 08 28 */ fsubs f1, f3, f1 -/* 802BB09C 002B7FFC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802BB0A0 002B8000 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802BB0A4 002B8004 D0 21 00 08 */ stfs f1, 8(r1) -/* 802BB0A8 002B8008 40 80 00 0C */ bge lbl_802BB0B4 -/* 802BB0AC 002B800C 38 61 00 0C */ addi r3, r1, 0xc -/* 802BB0B0 002B8010 48 00 00 08 */ b lbl_802BB0B8 -lbl_802BB0B4: -/* 802BB0B4 002B8014 38 61 00 10 */ addi r3, r1, 0x10 -lbl_802BB0B8: -/* 802BB0B8 002B8018 C0 23 00 00 */ lfs f1, 0(r3) -/* 802BB0BC 002B801C C0 01 00 08 */ lfs f0, 8(r1) -/* 802BB0C0 002B8020 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BB0C4 002B8024 40 80 00 08 */ bge lbl_802BB0CC -/* 802BB0C8 002B8028 38 61 00 08 */ addi r3, r1, 8 -lbl_802BB0CC: -/* 802BB0CC 002B802C C0 22 C2 88 */ lfs f1, lbl_805ADFA8@sda21(r2) -/* 802BB0D0 002B8030 3B C0 00 00 */ li r30, 0 -/* 802BB0D4 002B8034 C0 03 00 00 */ lfs f0, 0(r3) -/* 802BB0D8 002B8038 EE 41 00 32 */ fmuls f18, f1, f0 -lbl_802BB0DC: -/* 802BB0DC 002B803C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802BB0E0 002B8040 38 81 00 50 */ addi r4, r1, 0x50 -/* 802BB0E4 002B8044 48 07 C5 29 */ bl GetCenterPoint__6CAABoxCFv -/* 802BB0E8 002B8048 FC 20 90 90 */ fmr f1, f18 -/* 802BB0EC 002B804C 7F C5 F3 78 */ mr r5, r30 -/* 802BB0F0 002B8050 38 61 00 68 */ addi r3, r1, 0x68 -/* 802BB0F4 002B8054 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802BB0F8 002B8058 38 80 00 07 */ li r4, 7 -/* 802BB0FC 002B805C 48 00 01 2D */ bl DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff -/* 802BB100 002B8060 3B DE 00 01 */ addi r30, r30, 1 -/* 802BB104 002B8064 2C 1E 00 07 */ cmpwi r30, 7 -/* 802BB108 002B8068 41 80 FF D4 */ blt lbl_802BB0DC -/* 802BB10C 002B806C 48 00 00 90 */ b lbl_802BB19C -lbl_802BB110: -/* 802BB110 002B8070 28 1D 00 00 */ cmplwi r29, 0 -/* 802BB114 002B8074 41 82 00 54 */ beq lbl_802BB168 -/* 802BB118 002B8078 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 802BB11C 002B807C 38 80 00 00 */ li r4, 0 -/* 802BB120 002B8080 7F E3 FB 78 */ mr r3, r31 -/* 802BB124 002B8084 48 09 A5 11 */ bl Touch__6CModelCFi -/* 802BB128 002B8088 83 DF 00 28 */ lwz r30, 0x28(r31) -/* 802BB12C 002B808C 28 1E 00 00 */ cmplwi r30, 0 -/* 802BB130 002B8090 41 82 00 6C */ beq lbl_802BB19C -/* 802BB134 002B8094 7F E3 FB 78 */ mr r3, r31 -/* 802BB138 002B8098 48 09 9F E9 */ bl UpdateLastFrame__6CModelFv -/* 802BB13C 002B809C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802BB140 002B80A0 48 09 A5 85 */ bl GetNormals__6CModelCFv -/* 802BB144 002B80A4 7C 7F 1B 78 */ mr r31, r3 -/* 802BB148 002B80A8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802BB14C 002B80AC 48 09 A5 85 */ bl GetPositions__6CModelCFv -/* 802BB150 002B80B0 7C 64 1B 78 */ mr r4, r3 -/* 802BB154 002B80B4 7F C3 F3 78 */ mr r3, r30 -/* 802BB158 002B80B8 7F E5 FB 78 */ mr r5, r31 -/* 802BB15C 002B80BC 38 C0 00 02 */ li r6, 2 -/* 802BB160 002B80C0 48 04 B8 91 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 802BB164 002B80C4 48 00 00 38 */ b lbl_802BB19C -lbl_802BB168: -/* 802BB168 002B80C8 7F E3 FB 78 */ mr r3, r31 -/* 802BB16C 002B80CC 38 80 00 00 */ li r4, 0 -/* 802BB170 002B80D0 48 09 A4 C5 */ bl Touch__6CModelCFi -/* 802BB174 002B80D4 83 DF 00 28 */ lwz r30, 0x28(r31) -/* 802BB178 002B80D8 28 1E 00 00 */ cmplwi r30, 0 -/* 802BB17C 002B80DC 41 82 00 20 */ beq lbl_802BB19C -/* 802BB180 002B80E0 7F E3 FB 78 */ mr r3, r31 -/* 802BB184 002B80E4 48 09 9F 9D */ bl UpdateLastFrame__6CModelFv -/* 802BB188 002B80E8 7F C3 F3 78 */ mr r3, r30 -/* 802BB18C 002B80EC 38 80 00 00 */ li r4, 0 -/* 802BB190 002B80F0 38 A0 00 00 */ li r5, 0 -/* 802BB194 002B80F4 38 C0 00 02 */ li r6, 2 -/* 802BB198 002B80F8 48 04 B8 59 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -lbl_802BB19C: -/* 802BB19C 002B80FC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 802BB1A0 002B8100 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 802BB1A4 002B8104 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 802BB1A8 002B8108 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 802BB1AC 002B810C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 802BB1B0 002B8110 CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 802BB1B4 002B8114 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 -/* 802BB1B8 002B8118 CB 81 01 90 */ lfd f28, 0x190(r1) -/* 802BB1BC 002B811C E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 -/* 802BB1C0 002B8120 CB 61 01 80 */ lfd f27, 0x180(r1) -/* 802BB1C4 002B8124 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 -/* 802BB1C8 002B8128 CB 41 01 70 */ lfd f26, 0x170(r1) -/* 802BB1CC 002B812C E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 -/* 802BB1D0 002B8130 CB 21 01 60 */ lfd f25, 0x160(r1) -/* 802BB1D4 002B8134 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 -/* 802BB1D8 002B8138 CB 01 01 50 */ lfd f24, 0x150(r1) -/* 802BB1DC 002B813C E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0 -/* 802BB1E0 002B8140 CA E1 01 40 */ lfd f23, 0x140(r1) -/* 802BB1E4 002B8144 E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0 -/* 802BB1E8 002B8148 CA C1 01 30 */ lfd f22, 0x130(r1) -/* 802BB1EC 002B814C E2 A1 01 28 */ psq_l f21, 296(r1), 0, qr0 -/* 802BB1F0 002B8150 CA A1 01 20 */ lfd f21, 0x120(r1) -/* 802BB1F4 002B8154 E2 81 01 18 */ psq_l f20, 280(r1), 0, qr0 -/* 802BB1F8 002B8158 CA 81 01 10 */ lfd f20, 0x110(r1) -/* 802BB1FC 002B815C E2 61 01 08 */ psq_l f19, 264(r1), 0, qr0 -/* 802BB200 002B8160 CA 61 01 00 */ lfd f19, 0x100(r1) -/* 802BB204 002B8164 E2 41 00 F8 */ psq_l f18, 248(r1), 0, qr0 -/* 802BB208 002B8168 CA 41 00 F0 */ lfd f18, 0xf0(r1) -/* 802BB20C 002B816C 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 802BB210 002B8170 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 802BB214 002B8174 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 802BB218 002B8178 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 802BB21C 002B817C 7C 08 03 A6 */ mtlr r0 -/* 802BB220 002B8180 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 802BB224 002B8184 4E 80 00 20 */ blr - -.global DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff -DrawFogSlices__13CCubeRendererFPC6CPlaneiiRC9CVector3ff: -/* 802BB228 002B8188 94 21 FD B0 */ stwu r1, -0x250(r1) -/* 802BB22C 002B818C 7C 08 02 A6 */ mflr r0 -/* 802BB230 002B8190 90 01 02 54 */ stw r0, 0x254(r1) -/* 802BB234 002B8194 DB E1 02 40 */ stfd f31, 0x240(r1) -/* 802BB238 002B8198 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 -/* 802BB23C 002B819C DB C1 02 30 */ stfd f30, 0x230(r1) -/* 802BB240 002B81A0 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 -/* 802BB244 002B81A4 BF 21 02 14 */ stmw r25, 0x214(r1) -/* 802BB248 002B81A8 7C BD 2B 78 */ mr r29, r5 -/* 802BB24C 002B81AC 38 00 00 00 */ li r0, 0 -/* 802BB250 002B81B0 7C 7B 1B 78 */ mr r27, r3 -/* 802BB254 002B81B4 FF E0 08 90 */ fmr f31, f1 -/* 802BB258 002B81B8 54 A3 20 36 */ slwi r3, r5, 4 -/* 802BB25C 002B81BC 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802BB260 002B81C0 7F DB 1A 14 */ add r30, r27, r3 -/* 802BB264 002B81C4 7C 9C 23 78 */ mr r28, r4 -/* 802BB268 002B81C8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802BB26C 002B81CC C0 1E 00 04 */ lfs f0, 4(r30) -/* 802BB270 002B81D0 3B 40 00 00 */ li r26, 0 -/* 802BB274 002B81D4 FC 20 0A 10 */ fabs f1, f1 -/* 802BB278 002B81D8 90 01 01 70 */ stw r0, 0x170(r1) -/* 802BB27C 002B81DC FC 00 02 10 */ fabs f0, f0 -/* 802BB280 002B81E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802BB284 002B81E4 40 81 00 08 */ ble lbl_802BB28C -/* 802BB288 002B81E8 3B 40 00 01 */ li r26, 1 -lbl_802BB28C: -/* 802BB28C 002B81EC 57 40 10 3A */ slwi r0, r26, 2 -/* 802BB290 002B81F0 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802BB294 002B81F4 7C 3E 04 2E */ lfsx f1, r30, r0 -/* 802BB298 002B81F8 FC 40 02 10 */ fabs f2, f0 -/* 802BB29C 002B81FC FC 00 0A 10 */ fabs f0, f1 -/* 802BB2A0 002B8200 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802BB2A4 002B8204 40 81 00 08 */ ble lbl_802BB2AC -/* 802BB2A8 002B8208 3B 40 00 02 */ li r26, 2 -lbl_802BB2AC: -/* 802BB2AC 002B820C C0 9E 00 04 */ lfs f4, 4(r30) -/* 802BB2B0 002B8210 38 61 01 58 */ addi r3, r1, 0x158 -/* 802BB2B4 002B8214 C0 E6 00 04 */ lfs f7, 4(r6) -/* 802BB2B8 002B8218 38 81 00 14 */ addi r4, r1, 0x14 -/* 802BB2BC 002B821C C0 5E 00 00 */ lfs f2, 0(r30) -/* 802BB2C0 002B8220 EC 04 01 F2 */ fmuls f0, f4, f7 -/* 802BB2C4 002B8224 C0 C6 00 00 */ lfs f6, 0(r6) -/* 802BB2C8 002B8228 C0 BE 00 08 */ lfs f5, 8(r30) -/* 802BB2CC 002B822C C1 06 00 08 */ lfs f8, 8(r6) -/* 802BB2D0 002B8230 EC 22 01 BA */ fmadds f1, f2, f6, f0 -/* 802BB2D4 002B8234 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 802BB2D8 002B8238 EC 25 0A 3A */ fmadds f1, f5, f8, f1 -/* 802BB2DC 002B823C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802BB2E0 002B8240 EC 60 00 B2 */ fmuls f3, f0, f2 -/* 802BB2E4 002B8244 EC 40 01 32 */ fmuls f2, f0, f4 -/* 802BB2E8 002B8248 EC 20 01 72 */ fmuls f1, f0, f5 -/* 802BB2EC 002B824C EC 06 18 28 */ fsubs f0, f6, f3 -/* 802BB2F0 002B8250 D0 61 00 08 */ stfs f3, 8(r1) -/* 802BB2F4 002B8254 EC 87 10 28 */ fsubs f4, f7, f2 -/* 802BB2F8 002B8258 EC 68 08 28 */ fsubs f3, f8, f1 -/* 802BB2FC 002B825C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802BB300 002B8260 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802BB304 002B8264 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802BB308 002B8268 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802BB30C 002B826C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802BB310 002B8270 48 05 92 75 */ bl __ct__9CVector3dFRC9CVector3f -/* 802BB314 002B8274 57 40 10 3A */ slwi r0, r26, 2 -/* 802BB318 002B8278 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802BB31C 002B827C C0 22 C2 A8 */ lfs f1, lbl_805ADFC8@sda21(r2) -/* 802BB320 002B8280 2C 1A 00 01 */ cmpwi r26, 1 -/* 802BB324 002B8284 7C 1E 04 2E */ lfsx f0, r30, r0 -/* 802BB328 002B8288 FC 00 10 6E */ fsel f0, f0, f1, f2 -/* 802BB32C 002B828C FF C0 00 90 */ fmr f30, f0 -/* 802BB330 002B8290 40 82 00 08 */ bne lbl_802BB338 -/* 802BB334 002B8294 FF C0 00 50 */ fneg f30, f0 -lbl_802BB338: -/* 802BB338 002B8298 C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) -/* 802BB33C 002B829C 38 61 01 40 */ addi r3, r1, 0x140 -/* 802BB340 002B82A0 FC 40 08 90 */ fmr f2, f1 -/* 802BB344 002B82A4 FC 60 08 90 */ fmr f3, f1 -/* 802BB348 002B82A8 48 05 92 59 */ bl __ct__9CVector3dFddd -/* 802BB34C 002B82AC C8 22 C2 F0 */ lfd f1, lbl_805AE010@sda21(r2) -/* 802BB350 002B82B0 38 61 01 28 */ addi r3, r1, 0x128 -/* 802BB354 002B82B4 FC 40 08 90 */ fmr f2, f1 -/* 802BB358 002B82B8 FC 60 08 90 */ fmr f3, f1 -/* 802BB35C 002B82BC 48 05 92 45 */ bl __ct__9CVector3dFddd -/* 802BB360 002B82C0 3C 60 80 3D */ lis r3, lbl_803D65FC@ha -/* 802BB364 002B82C4 57 40 18 38 */ slwi r0, r26, 3 -/* 802BB368 002B82C8 38 83 65 FC */ addi r4, r3, lbl_803D65FC@l -/* 802BB36C 002B82CC EC 1F 07 B2 */ fmuls f0, f31, f30 -/* 802BB370 002B82D0 7C 64 02 14 */ add r3, r4, r0 -/* 802BB374 002B82D4 7C 84 00 2E */ lwzx r4, r4, r0 -/* 802BB378 002B82D8 80 03 00 04 */ lwz r0, 4(r3) -/* 802BB37C 002B82DC 38 A1 01 40 */ addi r5, r1, 0x140 -/* 802BB380 002B82E0 54 83 18 38 */ slwi r3, r4, 3 -/* 802BB384 002B82E4 38 C1 01 28 */ addi r6, r1, 0x128 -/* 802BB388 002B82E8 54 00 18 38 */ slwi r0, r0, 3 -/* 802BB38C 002B82EC 7F E5 1D AE */ stfdx f31, r5, r3 -/* 802BB390 002B82F0 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 802BB394 002B82F4 38 81 01 58 */ addi r4, r1, 0x158 -/* 802BB398 002B82F8 7C 06 05 AE */ stfdx f0, r6, r0 -/* 802BB39C 002B82FC 48 05 8F F9 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802BB3A0 002B8300 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 802BB3A4 002B8304 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 802BB3A8 002B8308 38 A1 01 28 */ addi r5, r1, 0x128 -/* 802BB3AC 002B830C 48 05 8F E9 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802BB3B0 002B8310 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 802BB3B4 002B8314 3B E1 01 A8 */ addi r31, r1, 0x1a8 -/* 802BB3B8 002B8318 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802BB3BC 002B831C 7C 7F 02 15 */ add. r3, r31, r0 -/* 802BB3C0 002B8320 41 82 00 1C */ beq lbl_802BB3DC -/* 802BB3C4 002B8324 C8 01 00 F8 */ lfd f0, 0xf8(r1) -/* 802BB3C8 002B8328 C8 21 01 00 */ lfd f1, 0x100(r1) -/* 802BB3CC 002B832C D8 03 00 00 */ stfd f0, 0(r3) -/* 802BB3D0 002B8330 C8 01 01 08 */ lfd f0, 0x108(r1) -/* 802BB3D4 002B8334 D8 23 00 08 */ stfd f1, 8(r3) -/* 802BB3D8 002B8338 D8 03 00 10 */ stfd f0, 0x10(r3) -lbl_802BB3DC: -/* 802BB3DC 002B833C 80 C1 01 A4 */ lwz r6, 0x1a4(r1) -/* 802BB3E0 002B8340 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802BB3E4 002B8344 38 81 01 58 */ addi r4, r1, 0x158 -/* 802BB3E8 002B8348 38 A1 01 40 */ addi r5, r1, 0x140 -/* 802BB3EC 002B834C 38 06 00 01 */ addi r0, r6, 1 -/* 802BB3F0 002B8350 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802BB3F4 002B8354 48 05 8F E5 */ bl __pl__FRC9CVector3dRC9CVector3d -/* 802BB3F8 002B8358 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802BB3FC 002B835C 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802BB400 002B8360 38 A1 01 28 */ addi r5, r1, 0x128 -/* 802BB404 002B8364 48 05 8F 91 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802BB408 002B8368 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 802BB40C 002B836C 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802BB410 002B8370 7C 7F 02 15 */ add. r3, r31, r0 -/* 802BB414 002B8374 41 82 00 1C */ beq lbl_802BB430 -/* 802BB418 002B8378 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802BB41C 002B837C C8 21 00 D0 */ lfd f1, 0xd0(r1) -/* 802BB420 002B8380 D8 03 00 00 */ stfd f0, 0(r3) -/* 802BB424 002B8384 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802BB428 002B8388 D8 23 00 08 */ stfd f1, 8(r3) -/* 802BB42C 002B838C D8 03 00 10 */ stfd f0, 0x10(r3) -lbl_802BB430: -/* 802BB430 002B8390 80 C1 01 A4 */ lwz r6, 0x1a4(r1) -/* 802BB434 002B8394 38 61 00 80 */ addi r3, r1, 0x80 -/* 802BB438 002B8398 38 81 01 58 */ addi r4, r1, 0x158 -/* 802BB43C 002B839C 38 A1 01 40 */ addi r5, r1, 0x140 -/* 802BB440 002B83A0 38 06 00 01 */ addi r0, r6, 1 -/* 802BB444 002B83A4 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802BB448 002B83A8 48 05 8F 91 */ bl __pl__FRC9CVector3dRC9CVector3d -/* 802BB44C 002B83AC 38 61 00 98 */ addi r3, r1, 0x98 -/* 802BB450 002B83B0 38 81 00 80 */ addi r4, r1, 0x80 -/* 802BB454 002B83B4 38 A1 01 28 */ addi r5, r1, 0x128 -/* 802BB458 002B83B8 48 05 8F 81 */ bl __pl__FRC9CVector3dRC9CVector3d -/* 802BB45C 002B83BC 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 802BB460 002B83C0 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802BB464 002B83C4 7C 7F 02 15 */ add. r3, r31, r0 -/* 802BB468 002B83C8 41 82 00 1C */ beq lbl_802BB484 -/* 802BB46C 002B83CC C8 01 00 98 */ lfd f0, 0x98(r1) -/* 802BB470 002B83D0 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 802BB474 002B83D4 D8 03 00 00 */ stfd f0, 0(r3) -/* 802BB478 002B83D8 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 802BB47C 002B83DC D8 23 00 08 */ stfd f1, 8(r3) -/* 802BB480 002B83E0 D8 03 00 10 */ stfd f0, 0x10(r3) -lbl_802BB484: -/* 802BB484 002B83E4 80 C1 01 A4 */ lwz r6, 0x1a4(r1) -/* 802BB488 002B83E8 38 61 00 50 */ addi r3, r1, 0x50 -/* 802BB48C 002B83EC 38 81 01 58 */ addi r4, r1, 0x158 -/* 802BB490 002B83F0 38 A1 01 40 */ addi r5, r1, 0x140 -/* 802BB494 002B83F4 38 06 00 01 */ addi r0, r6, 1 -/* 802BB498 002B83F8 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802BB49C 002B83FC 48 05 8E F9 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802BB4A0 002B8400 38 61 00 68 */ addi r3, r1, 0x68 -/* 802BB4A4 002B8404 38 81 00 50 */ addi r4, r1, 0x50 -/* 802BB4A8 002B8408 38 A1 01 28 */ addi r5, r1, 0x128 -/* 802BB4AC 002B840C 48 05 8F 2D */ bl __pl__FRC9CVector3dRC9CVector3d -/* 802BB4B0 002B8410 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 802BB4B4 002B8414 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 802BB4B8 002B8418 7C 7F 02 15 */ add. r3, r31, r0 -/* 802BB4BC 002B841C 41 82 00 1C */ beq lbl_802BB4D8 -/* 802BB4C0 002B8420 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 802BB4C4 002B8424 C8 21 00 70 */ lfd f1, 0x70(r1) -/* 802BB4C8 002B8428 D8 03 00 00 */ stfd f0, 0(r3) -/* 802BB4CC 002B842C C8 01 00 78 */ lfd f0, 0x78(r1) -/* 802BB4D0 002B8430 D8 23 00 08 */ stfd f1, 8(r3) -/* 802BB4D4 002B8434 D8 03 00 10 */ stfd f0, 0x10(r3) -lbl_802BB4D8: -/* 802BB4D8 002B8438 80 61 01 A4 */ lwz r3, 0x1a4(r1) -/* 802BB4DC 002B843C 3B 41 01 74 */ addi r26, r1, 0x174 -/* 802BB4E0 002B8440 3B 20 00 00 */ li r25, 0 -/* 802BB4E4 002B8444 38 03 00 01 */ addi r0, r3, 1 -/* 802BB4E8 002B8448 90 01 01 A4 */ stw r0, 0x1a4(r1) -lbl_802BB4EC: -/* 802BB4EC 002B844C 7F C4 F3 78 */ mr r4, r30 -/* 802BB4F0 002B8450 38 61 01 10 */ addi r3, r1, 0x110 -/* 802BB4F4 002B8454 48 05 90 91 */ bl __ct__9CVector3dFRC9CVector3f -/* 802BB4F8 002B8458 C8 3F 00 08 */ lfd f1, 8(r31) -/* 802BB4FC 002B845C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802BB500 002B8460 C8 01 01 18 */ lfd f0, 0x118(r1) -/* 802BB504 002B8464 38 81 01 10 */ addi r4, r1, 0x110 -/* 802BB508 002B8468 C8 7F 00 00 */ lfd f3, 0(r31) -/* 802BB50C 002B846C FC 21 00 32 */ fmul f1, f1, f0 -/* 802BB510 002B8470 C8 41 01 10 */ lfd f2, 0x110(r1) -/* 802BB514 002B8474 C8 BF 00 10 */ lfd f5, 0x10(r31) -/* 802BB518 002B8478 C8 81 01 20 */ lfd f4, 0x120(r1) -/* 802BB51C 002B847C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 802BB520 002B8480 FC 23 08 BA */ fmadd f1, f3, f2, f1 -/* 802BB524 002B8484 FC 25 09 3A */ fmadd f1, f5, f4, f1 -/* 802BB528 002B8488 FC 21 00 28 */ fsub f1, f1, f0 -/* 802BB52C 002B848C 48 05 8E 2D */ bl __ml__FdRC9CVector3d -/* 802BB530 002B8490 7F E4 FB 78 */ mr r4, r31 -/* 802BB534 002B8494 38 61 00 38 */ addi r3, r1, 0x38 -/* 802BB538 002B8498 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802BB53C 002B849C 48 05 8E 59 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802BB540 002B84A0 80 01 01 70 */ lwz r0, 0x170(r1) -/* 802BB544 002B84A4 C8 41 00 48 */ lfd f2, 0x48(r1) -/* 802BB548 002B84A8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802BB54C 002B84AC C8 21 00 40 */ lfd f1, 0x40(r1) -/* 802BB550 002B84B0 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802BB554 002B84B4 FC 40 10 18 */ frsp f2, f2 -/* 802BB558 002B84B8 FC 20 08 18 */ frsp f1, f1 -/* 802BB55C 002B84BC FC 00 00 18 */ frsp f0, f0 -/* 802BB560 002B84C0 7C 7A 02 15 */ add. r3, r26, r0 -/* 802BB564 002B84C4 41 82 00 10 */ beq lbl_802BB574 -/* 802BB568 002B84C8 D0 03 00 00 */ stfs f0, 0(r3) -/* 802BB56C 002B84CC D0 23 00 04 */ stfs f1, 4(r3) -/* 802BB570 002B84D0 D0 43 00 08 */ stfs f2, 8(r3) -lbl_802BB574: -/* 802BB574 002B84D4 80 61 01 70 */ lwz r3, 0x170(r1) -/* 802BB578 002B84D8 3B 39 00 01 */ addi r25, r25, 1 -/* 802BB57C 002B84DC 2C 19 00 04 */ cmpwi r25, 4 -/* 802BB580 002B84E0 3B FF 00 18 */ addi r31, r31, 0x18 -/* 802BB584 002B84E4 38 03 00 01 */ addi r0, r3, 1 -/* 802BB588 002B84E8 90 01 01 70 */ stw r0, 0x170(r1) -/* 802BB58C 002B84EC 41 80 FF 60 */ blt lbl_802BB4EC -/* 802BB590 002B84F0 80 C1 01 A4 */ lwz r6, 0x1a4(r1) -/* 802BB594 002B84F4 7F 63 DB 78 */ mr r3, r27 -/* 802BB598 002B84F8 7F 84 E3 78 */ mr r4, r28 -/* 802BB59C 002B84FC 7F 45 D3 78 */ mr r5, r26 -/* 802BB5A0 002B8500 7F A7 EB 78 */ mr r7, r29 -/* 802BB5A4 002B8504 39 00 00 00 */ li r8, 0 -/* 802BB5A8 002B8508 48 00 00 CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii -/* 802BB5AC 002B850C 80 A1 01 70 */ lwz r5, 0x170(r1) -/* 802BB5B0 002B8510 38 60 00 00 */ li r3, 0 -/* 802BB5B4 002B8514 2C 05 00 00 */ cmpwi r5, 0 -/* 802BB5B8 002B8518 40 81 00 40 */ ble lbl_802BB5F8 -/* 802BB5BC 002B851C 2C 05 00 08 */ cmpwi r5, 8 -/* 802BB5C0 002B8520 38 85 FF F8 */ addi r4, r5, -8 -/* 802BB5C4 002B8524 40 81 00 20 */ ble lbl_802BB5E4 -/* 802BB5C8 002B8528 38 04 00 07 */ addi r0, r4, 7 -/* 802BB5CC 002B852C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BB5D0 002B8530 7C 09 03 A6 */ mtctr r0 -/* 802BB5D4 002B8534 2C 04 00 00 */ cmpwi r4, 0 -/* 802BB5D8 002B8538 40 81 00 0C */ ble lbl_802BB5E4 -lbl_802BB5DC: -/* 802BB5DC 002B853C 38 63 00 08 */ addi r3, r3, 8 -/* 802BB5E0 002B8540 42 00 FF FC */ bdnz lbl_802BB5DC -lbl_802BB5E4: -/* 802BB5E4 002B8544 7C 03 28 50 */ subf r0, r3, r5 -/* 802BB5E8 002B8548 7C 09 03 A6 */ mtctr r0 -/* 802BB5EC 002B854C 7C 03 28 00 */ cmpw r3, r5 -/* 802BB5F0 002B8550 40 80 00 08 */ bge lbl_802BB5F8 -lbl_802BB5F4: -/* 802BB5F4 002B8554 42 00 00 00 */ bdnz lbl_802BB5F4 -lbl_802BB5F8: -/* 802BB5F8 002B8558 80 A1 01 A4 */ lwz r5, 0x1a4(r1) -/* 802BB5FC 002B855C 38 60 00 00 */ li r3, 0 -/* 802BB600 002B8560 90 61 01 70 */ stw r3, 0x170(r1) -/* 802BB604 002B8564 2C 05 00 00 */ cmpwi r5, 0 -/* 802BB608 002B8568 40 81 00 40 */ ble lbl_802BB648 -/* 802BB60C 002B856C 2C 05 00 08 */ cmpwi r5, 8 -/* 802BB610 002B8570 38 85 FF F8 */ addi r4, r5, -8 -/* 802BB614 002B8574 40 81 00 20 */ ble lbl_802BB634 -/* 802BB618 002B8578 38 04 00 07 */ addi r0, r4, 7 -/* 802BB61C 002B857C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BB620 002B8580 7C 09 03 A6 */ mtctr r0 -/* 802BB624 002B8584 2C 04 00 00 */ cmpwi r4, 0 -/* 802BB628 002B8588 40 81 00 0C */ ble lbl_802BB634 -lbl_802BB62C: -/* 802BB62C 002B858C 38 63 00 08 */ addi r3, r3, 8 -/* 802BB630 002B8590 42 00 FF FC */ bdnz lbl_802BB62C -lbl_802BB634: -/* 802BB634 002B8594 7C 03 28 50 */ subf r0, r3, r5 -/* 802BB638 002B8598 7C 09 03 A6 */ mtctr r0 -/* 802BB63C 002B859C 7C 03 28 00 */ cmpw r3, r5 -/* 802BB640 002B85A0 40 80 00 08 */ bge lbl_802BB648 -lbl_802BB644: -/* 802BB644 002B85A4 42 00 00 00 */ bdnz lbl_802BB644 -lbl_802BB648: -/* 802BB648 002B85A8 38 00 00 00 */ li r0, 0 -/* 802BB64C 002B85AC 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802BB650 002B85B0 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 -/* 802BB654 002B85B4 CB E1 02 40 */ lfd f31, 0x240(r1) -/* 802BB658 002B85B8 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 -/* 802BB65C 002B85BC CB C1 02 30 */ lfd f30, 0x230(r1) -/* 802BB660 002B85C0 BB 21 02 14 */ lmw r25, 0x214(r1) -/* 802BB664 002B85C4 80 01 02 54 */ lwz r0, 0x254(r1) -/* 802BB668 002B85C8 7C 08 03 A6 */ mtlr r0 -/* 802BB66C 002B85CC 38 21 02 50 */ addi r1, r1, 0x250 -/* 802BB670 002B85D0 4E 80 00 20 */ blr - -.global DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii -DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii: -/* 802BB674 002B85D4 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802BB678 002B85D8 7C 08 02 A6 */ mflr r0 -/* 802BB67C 002B85DC 90 01 01 54 */ stw r0, 0x154(r1) -/* 802BB680 002B85E0 BE 41 01 18 */ stmw r18, 0x118(r1) -/* 802BB684 002B85E4 7C F7 3B 78 */ mr r23, r7 -/* 802BB688 002B85E8 7D 18 43 78 */ mr r24, r8 -/* 802BB68C 002B85EC 7C 73 1B 78 */ mr r19, r3 -/* 802BB690 002B85F0 7C 18 B8 00 */ cmpw r24, r23 -/* 802BB694 002B85F4 7C 94 23 78 */ mr r20, r4 -/* 802BB698 002B85F8 7C B5 2B 78 */ mr r21, r5 -/* 802BB69C 002B85FC 7C D6 33 78 */ mr r22, r6 -/* 802BB6A0 002B8600 40 82 00 10 */ bne lbl_802BB6B0 -/* 802BB6A4 002B8604 39 18 00 01 */ addi r8, r24, 1 -/* 802BB6A8 002B8608 4B FF FF CD */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii -/* 802BB6AC 002B860C 48 00 02 98 */ b lbl_802BB944 -lbl_802BB6B0: -/* 802BB6B0 002B8610 7C 18 A0 00 */ cmpw r24, r20 -/* 802BB6B4 002B8614 40 82 00 14 */ bne lbl_802BB6C8 -/* 802BB6B8 002B8618 7E A3 AB 78 */ mr r3, r21 -/* 802BB6BC 002B861C 7E C4 B3 78 */ mr r4, r22 -/* 802BB6C0 002B8620 48 00 02 99 */ bl DrawFogFan__13CCubeRendererFPC9CVector3fi -/* 802BB6C4 002B8624 48 00 02 80 */ b lbl_802BB944 -lbl_802BB6C8: -/* 802BB6C8 002B8628 38 60 00 00 */ li r3, 0 -/* 802BB6CC 002B862C 57 00 20 36 */ slwi r0, r24, 4 -/* 802BB6D0 002B8630 90 61 00 20 */ stw r3, 0x20(r1) -/* 802BB6D4 002B8634 7F 53 02 14 */ add r26, r19, r0 -/* 802BB6D8 002B8638 3B 81 00 0C */ addi r28, r1, 0xc -/* 802BB6DC 002B863C 90 61 00 08 */ stw r3, 8(r1) -/* 802BB6E0 002B8640 7E C9 03 A6 */ mtctr r22 -/* 802BB6E4 002B8644 2C 16 00 00 */ cmpwi r22, 0 -/* 802BB6E8 002B8648 40 81 00 68 */ ble lbl_802BB750 -lbl_802BB6EC: -/* 802BB6EC 002B864C C0 3A 00 04 */ lfs f1, 4(r26) -/* 802BB6F0 002B8650 C0 05 00 04 */ lfs f0, 4(r5) -/* 802BB6F4 002B8654 C0 5A 00 00 */ lfs f2, 0(r26) -/* 802BB6F8 002B8658 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BB6FC 002B865C C0 25 00 00 */ lfs f1, 0(r5) -/* 802BB700 002B8660 C0 9A 00 08 */ lfs f4, 8(r26) -/* 802BB704 002B8664 C0 65 00 08 */ lfs f3, 8(r5) -/* 802BB708 002B8668 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 802BB70C 002B866C C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 802BB710 002B8670 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 802BB714 002B8674 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BB718 002B8678 4C 41 13 82 */ cror 2, 1, 2 -/* 802BB71C 002B867C 7C 60 00 26 */ mfcr r3 -/* 802BB720 002B8680 80 01 00 08 */ lwz r0, 8(r1) -/* 802BB724 002B8684 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f -/* 802BB728 002B8688 7C 63 00 34 */ cntlzw r3, r3 -/* 802BB72C 002B868C 7C 9C 02 15 */ add. r4, r28, r0 -/* 802BB730 002B8690 54 60 D9 7E */ srwi r0, r3, 5 -/* 802BB734 002B8694 41 82 00 08 */ beq lbl_802BB73C -/* 802BB738 002B8698 98 04 00 00 */ stb r0, 0(r4) -lbl_802BB73C: -/* 802BB73C 002B869C 80 61 00 08 */ lwz r3, 8(r1) -/* 802BB740 002B86A0 38 A5 00 0C */ addi r5, r5, 0xc -/* 802BB744 002B86A4 38 03 00 01 */ addi r0, r3, 1 -/* 802BB748 002B86A8 90 01 00 08 */ stw r0, 8(r1) -/* 802BB74C 002B86AC 42 00 FF A0 */ bdnz lbl_802BB6EC -lbl_802BB750: -/* 802BB750 002B86B0 7F 9E E3 78 */ mr r30, r28 -/* 802BB754 002B86B4 7E BD AB 78 */ mr r29, r21 -/* 802BB758 002B86B8 3B 61 00 24 */ addi r27, r1, 0x24 -/* 802BB75C 002B86BC 3B F6 FF FF */ addi r31, r22, -1 -/* 802BB760 002B86C0 3B 20 00 00 */ li r25, 0 -/* 802BB764 002B86C4 48 00 01 10 */ b lbl_802BB874 -lbl_802BB768: -/* 802BB768 002B86C8 7C 7F C8 50 */ subf r3, r31, r25 -/* 802BB76C 002B86CC 7C 19 F8 50 */ subf r0, r25, r31 -/* 802BB770 002B86D0 7C 63 03 78 */ or r3, r3, r0 -/* 802BB774 002B86D4 7C 64 FE 70 */ srawi r4, r3, 0x1f -/* 802BB778 002B86D8 38 19 00 01 */ addi r0, r25, 1 -/* 802BB77C 002B86DC 7C 04 20 38 */ and r4, r0, r4 -/* 802BB780 002B86E0 88 7E 00 00 */ lbz r3, 0(r30) -/* 802BB784 002B86E4 7C 1C 20 AE */ lbzx r0, r28, r4 -/* 802BB788 002B86E8 54 00 08 3C */ slwi r0, r0, 1 -/* 802BB78C 002B86EC 7C 65 03 78 */ or r5, r3, r0 -/* 802BB790 002B86F0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f -/* 802BB794 002B86F4 40 82 00 38 */ bne lbl_802BB7CC -/* 802BB798 002B86F8 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802BB79C 002B86FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802BB7A0 002B8700 7C 7B 02 15 */ add. r3, r27, r0 -/* 802BB7A4 002B8704 41 82 00 1C */ beq lbl_802BB7C0 -/* 802BB7A8 002B8708 C0 1D 00 00 */ lfs f0, 0(r29) -/* 802BB7AC 002B870C C0 3D 00 04 */ lfs f1, 4(r29) -/* 802BB7B0 002B8710 D0 03 00 00 */ stfs f0, 0(r3) -/* 802BB7B4 002B8714 C0 1D 00 08 */ lfs f0, 8(r29) -/* 802BB7B8 002B8718 D0 23 00 04 */ stfs f1, 4(r3) -/* 802BB7BC 002B871C D0 03 00 08 */ stfs f0, 8(r3) -lbl_802BB7C0: -/* 802BB7C0 002B8720 80 61 00 20 */ lwz r3, 0x20(r1) -/* 802BB7C4 002B8724 38 03 00 01 */ addi r0, r3, 1 -/* 802BB7C8 002B8728 90 01 00 20 */ stw r0, 0x20(r1) -lbl_802BB7CC: -/* 802BB7CC 002B872C 2C 05 00 01 */ cmpwi r5, 1 -/* 802BB7D0 002B8730 41 82 00 0C */ beq lbl_802BB7DC -/* 802BB7D4 002B8734 2C 05 00 02 */ cmpwi r5, 2 -/* 802BB7D8 002B8738 40 82 00 90 */ bne lbl_802BB868 -lbl_802BB7DC: -/* 802BB7DC 002B873C 1C 04 00 0C */ mulli r0, r4, 0xc -/* 802BB7E0 002B8740 7F 43 D3 78 */ mr r3, r26 -/* 802BB7E4 002B8744 7F A4 EB 78 */ mr r4, r29 -/* 802BB7E8 002B8748 7E 55 02 14 */ add r18, r21, r0 -/* 802BB7EC 002B874C 7E 45 93 78 */ mr r5, r18 -/* 802BB7F0 002B8750 48 07 B8 1D */ bl ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f -/* 802BB7F4 002B8754 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BB7F8 002B8758 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BB7FC 002B875C 40 81 00 6C */ ble lbl_802BB868 -/* 802BB800 002B8760 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BB804 002B8764 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BB808 002B8768 40 80 00 60 */ bge lbl_802BB868 -/* 802BB80C 002B876C C0 72 00 00 */ lfs f3, 0(r18) -/* 802BB810 002B8770 EC C0 08 28 */ fsubs f6, f0, f1 -/* 802BB814 002B8774 C0 52 00 04 */ lfs f2, 4(r18) -/* 802BB818 002B8778 C0 12 00 08 */ lfs f0, 8(r18) -/* 802BB81C 002B877C EC 83 00 72 */ fmuls f4, f3, f1 -/* 802BB820 002B8780 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802BB824 002B8784 EC 42 00 72 */ fmuls f2, f2, f1 -/* 802BB828 002B8788 C0 BD 00 00 */ lfs f5, 0(r29) -/* 802BB82C 002B878C EC 00 00 72 */ fmuls f0, f0, f1 -/* 802BB830 002B8790 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802BB834 002B8794 C0 7D 00 04 */ lfs f3, 4(r29) -/* 802BB838 002B8798 EC 85 21 BA */ fmadds f4, f5, f6, f4 -/* 802BB83C 002B879C C0 3D 00 08 */ lfs f1, 8(r29) -/* 802BB840 002B87A0 EC 43 11 BA */ fmadds f2, f3, f6, f2 -/* 802BB844 002B87A4 7C 7B 02 15 */ add. r3, r27, r0 -/* 802BB848 002B87A8 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 802BB84C 002B87AC 41 82 00 10 */ beq lbl_802BB85C -/* 802BB850 002B87B0 D0 83 00 00 */ stfs f4, 0(r3) -/* 802BB854 002B87B4 D0 43 00 04 */ stfs f2, 4(r3) -/* 802BB858 002B87B8 D0 03 00 08 */ stfs f0, 8(r3) -lbl_802BB85C: -/* 802BB85C 002B87BC 80 61 00 20 */ lwz r3, 0x20(r1) -/* 802BB860 002B87C0 38 03 00 01 */ addi r0, r3, 1 -/* 802BB864 002B87C4 90 01 00 20 */ stw r0, 0x20(r1) -lbl_802BB868: -/* 802BB868 002B87C8 3B DE 00 01 */ addi r30, r30, 1 -/* 802BB86C 002B87CC 3B BD 00 0C */ addi r29, r29, 0xc -/* 802BB870 002B87D0 3B 39 00 01 */ addi r25, r25, 1 -lbl_802BB874: -/* 802BB874 002B87D4 7C 19 B0 00 */ cmpw r25, r22 -/* 802BB878 002B87D8 41 80 FE F0 */ blt lbl_802BB768 -/* 802BB87C 002B87DC 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 802BB880 002B87E0 2C 06 00 03 */ cmpwi r6, 3 -/* 802BB884 002B87E4 41 80 00 1C */ blt lbl_802BB8A0 -/* 802BB888 002B87E8 7E 63 9B 78 */ mr r3, r19 -/* 802BB88C 002B87EC 7E 84 A3 78 */ mr r4, r20 -/* 802BB890 002B87F0 7F 65 DB 78 */ mr r5, r27 -/* 802BB894 002B87F4 7E E7 BB 78 */ mr r7, r23 -/* 802BB898 002B87F8 39 18 00 01 */ addi r8, r24, 1 -/* 802BB89C 002B87FC 4B FF FD D9 */ bl DrawFogFans__13CCubeRendererFPC6CPlaneiPC9CVector3fiii -lbl_802BB8A0: -/* 802BB8A0 002B8800 80 A1 00 08 */ lwz r5, 8(r1) -/* 802BB8A4 002B8804 38 60 00 00 */ li r3, 0 -/* 802BB8A8 002B8808 2C 05 00 00 */ cmpwi r5, 0 -/* 802BB8AC 002B880C 40 81 00 40 */ ble lbl_802BB8EC -/* 802BB8B0 002B8810 2C 05 00 08 */ cmpwi r5, 8 -/* 802BB8B4 002B8814 38 85 FF F8 */ addi r4, r5, -8 -/* 802BB8B8 002B8818 40 81 00 20 */ ble lbl_802BB8D8 -/* 802BB8BC 002B881C 38 04 00 07 */ addi r0, r4, 7 -/* 802BB8C0 002B8820 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BB8C4 002B8824 7C 09 03 A6 */ mtctr r0 -/* 802BB8C8 002B8828 2C 04 00 00 */ cmpwi r4, 0 -/* 802BB8CC 002B882C 40 81 00 0C */ ble lbl_802BB8D8 -lbl_802BB8D0: -/* 802BB8D0 002B8830 38 63 00 08 */ addi r3, r3, 8 -/* 802BB8D4 002B8834 42 00 FF FC */ bdnz lbl_802BB8D0 -lbl_802BB8D8: -/* 802BB8D8 002B8838 7C 03 28 50 */ subf r0, r3, r5 -/* 802BB8DC 002B883C 7C 09 03 A6 */ mtctr r0 -/* 802BB8E0 002B8840 7C 03 28 00 */ cmpw r3, r5 -/* 802BB8E4 002B8844 40 80 00 08 */ bge lbl_802BB8EC -lbl_802BB8E8: -/* 802BB8E8 002B8848 42 00 00 00 */ bdnz lbl_802BB8E8 -lbl_802BB8EC: -/* 802BB8EC 002B884C 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 802BB8F0 002B8850 38 60 00 00 */ li r3, 0 -/* 802BB8F4 002B8854 90 61 00 08 */ stw r3, 8(r1) -/* 802BB8F8 002B8858 2C 05 00 00 */ cmpwi r5, 0 -/* 802BB8FC 002B885C 40 81 00 40 */ ble lbl_802BB93C -/* 802BB900 002B8860 2C 05 00 08 */ cmpwi r5, 8 -/* 802BB904 002B8864 38 85 FF F8 */ addi r4, r5, -8 -/* 802BB908 002B8868 40 81 00 20 */ ble lbl_802BB928 -/* 802BB90C 002B886C 38 04 00 07 */ addi r0, r4, 7 -/* 802BB910 002B8870 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BB914 002B8874 7C 09 03 A6 */ mtctr r0 -/* 802BB918 002B8878 2C 04 00 00 */ cmpwi r4, 0 -/* 802BB91C 002B887C 40 81 00 0C */ ble lbl_802BB928 -lbl_802BB920: -/* 802BB920 002B8880 38 63 00 08 */ addi r3, r3, 8 -/* 802BB924 002B8884 42 00 FF FC */ bdnz lbl_802BB920 -lbl_802BB928: -/* 802BB928 002B8888 7C 03 28 50 */ subf r0, r3, r5 -/* 802BB92C 002B888C 7C 09 03 A6 */ mtctr r0 -/* 802BB930 002B8890 7C 03 28 00 */ cmpw r3, r5 -/* 802BB934 002B8894 40 80 00 08 */ bge lbl_802BB93C -lbl_802BB938: -/* 802BB938 002B8898 42 00 00 00 */ bdnz lbl_802BB938 -lbl_802BB93C: -/* 802BB93C 002B889C 38 00 00 00 */ li r0, 0 -/* 802BB940 002B88A0 90 01 00 20 */ stw r0, 0x20(r1) -lbl_802BB944: -/* 802BB944 002B88A4 BA 41 01 18 */ lmw r18, 0x118(r1) -/* 802BB948 002B88A8 80 01 01 54 */ lwz r0, 0x154(r1) -/* 802BB94C 002B88AC 7C 08 03 A6 */ mtlr r0 -/* 802BB950 002B88B0 38 21 01 50 */ addi r1, r1, 0x150 -/* 802BB954 002B88B4 4E 80 00 20 */ blr - -.global DrawFogFan__13CCubeRendererFPC9CVector3fi -DrawFogFan__13CCubeRendererFPC9CVector3fi: -/* 802BB958 002B88B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BB95C 002B88BC 7C 08 02 A6 */ mflr r0 -/* 802BB960 002B88C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BB964 002B88C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BB968 002B88C8 7C 9F 23 78 */ mr r31, r4 -/* 802BB96C 002B88CC 2C 1F 00 03 */ cmpwi r31, 3 -/* 802BB970 002B88D0 93 C1 00 08 */ stw r30, 8(r1) -/* 802BB974 002B88D4 7C 7E 1B 78 */ mr r30, r3 -/* 802BB978 002B88D8 41 80 01 54 */ blt lbl_802BBACC -/* 802BB97C 002B88DC 57 E5 04 3E */ clrlwi r5, r31, 0x10 -/* 802BB980 002B88E0 38 60 00 A0 */ li r3, 0xa0 -/* 802BB984 002B88E4 38 80 00 00 */ li r4, 0 -/* 802BB988 002B88E8 48 04 CB FD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BB98C 002B88EC 2C 1F 00 00 */ cmpwi r31, 0 -/* 802BB990 002B88F0 38 C0 00 00 */ li r6, 0 -/* 802BB994 002B88F4 40 81 01 34 */ ble lbl_802BBAC8 -/* 802BB998 002B88F8 2C 1F 00 08 */ cmpwi r31, 8 -/* 802BB99C 002B88FC 38 9F FF F8 */ addi r4, r31, -8 -/* 802BB9A0 002B8900 40 81 00 EC */ ble lbl_802BBA8C -/* 802BB9A4 002B8904 38 04 00 07 */ addi r0, r4, 7 -/* 802BB9A8 002B8908 7F C5 F3 78 */ mr r5, r30 -/* 802BB9AC 002B890C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BB9B0 002B8910 3C 60 CC 01 */ lis r3, 0xcc01 -/* 802BB9B4 002B8914 7C 09 03 A6 */ mtctr r0 -/* 802BB9B8 002B8918 2C 04 00 00 */ cmpwi r4, 0 -/* 802BB9BC 002B891C 40 81 00 D0 */ ble lbl_802BBA8C -lbl_802BB9C0: -/* 802BB9C0 002B8920 C0 05 00 08 */ lfs f0, 8(r5) -/* 802BB9C4 002B8924 38 C6 00 08 */ addi r6, r6, 8 -/* 802BB9C8 002B8928 C0 25 00 04 */ lfs f1, 4(r5) -/* 802BB9CC 002B892C C0 45 00 00 */ lfs f2, 0(r5) -/* 802BB9D0 002B8930 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BB9D4 002B8934 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BB9D8 002B8938 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BB9DC 002B893C C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802BB9E0 002B8940 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 802BB9E4 002B8944 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 802BB9E8 002B8948 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BB9EC 002B894C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BB9F0 002B8950 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BB9F4 002B8954 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 802BB9F8 002B8958 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 802BB9FC 002B895C C0 45 00 18 */ lfs f2, 0x18(r5) -/* 802BBA00 002B8960 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA04 002B8964 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA08 002B8968 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA0C 002B896C C0 05 00 2C */ lfs f0, 0x2c(r5) -/* 802BBA10 002B8970 C0 25 00 28 */ lfs f1, 0x28(r5) -/* 802BBA14 002B8974 C0 45 00 24 */ lfs f2, 0x24(r5) -/* 802BBA18 002B8978 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA1C 002B897C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA20 002B8980 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA24 002B8984 C0 05 00 38 */ lfs f0, 0x38(r5) -/* 802BBA28 002B8988 C0 25 00 34 */ lfs f1, 0x34(r5) -/* 802BBA2C 002B898C C0 45 00 30 */ lfs f2, 0x30(r5) -/* 802BBA30 002B8990 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA34 002B8994 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA38 002B8998 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA3C 002B899C C0 05 00 44 */ lfs f0, 0x44(r5) -/* 802BBA40 002B89A0 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 802BBA44 002B89A4 C0 45 00 3C */ lfs f2, 0x3c(r5) -/* 802BBA48 002B89A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA4C 002B89AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA50 002B89B0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA54 002B89B4 C0 05 00 50 */ lfs f0, 0x50(r5) -/* 802BBA58 002B89B8 C0 25 00 4C */ lfs f1, 0x4c(r5) -/* 802BBA5C 002B89BC C0 45 00 48 */ lfs f2, 0x48(r5) -/* 802BBA60 002B89C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA64 002B89C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA68 002B89C8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA6C 002B89CC C0 25 00 5C */ lfs f1, 0x5c(r5) -/* 802BBA70 002B89D0 C0 45 00 58 */ lfs f2, 0x58(r5) -/* 802BBA74 002B89D4 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 802BBA78 002B89D8 38 A5 00 60 */ addi r5, r5, 0x60 -/* 802BBA7C 002B89DC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBA80 002B89E0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBA84 002B89E4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBA88 002B89E8 42 00 FF 38 */ bdnz lbl_802BB9C0 -lbl_802BBA8C: -/* 802BBA8C 002B89EC 1C 86 00 0C */ mulli r4, r6, 0xc -/* 802BBA90 002B89F0 7C 06 F8 50 */ subf r0, r6, r31 -/* 802BBA94 002B89F4 3C 60 CC 01 */ lis r3, 0xcc01 -/* 802BBA98 002B89F8 7C 9E 22 14 */ add r4, r30, r4 -/* 802BBA9C 002B89FC 7C 09 03 A6 */ mtctr r0 -/* 802BBAA0 002B8A00 7C 06 F8 00 */ cmpw r6, r31 -/* 802BBAA4 002B8A04 40 80 00 24 */ bge lbl_802BBAC8 -lbl_802BBAA8: -/* 802BBAA8 002B8A08 C0 24 00 08 */ lfs f1, 8(r4) -/* 802BBAAC 002B8A0C C0 44 00 04 */ lfs f2, 4(r4) -/* 802BBAB0 002B8A10 C0 04 00 00 */ lfs f0, 0(r4) -/* 802BBAB4 002B8A14 38 84 00 0C */ addi r4, r4, 0xc -/* 802BBAB8 002B8A18 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BBABC 002B8A1C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BBAC0 002B8A20 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BBAC4 002B8A24 42 00 FF E4 */ bdnz lbl_802BBAA8 -lbl_802BBAC8: -/* 802BBAC8 002B8A28 48 04 CA B9 */ bl End__3CGXFv -lbl_802BBACC: -/* 802BBACC 002B8A2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BBAD0 002B8A30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BBAD4 002B8A34 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BBAD8 002B8A38 7C 08 03 A6 */ mtlr r0 -/* 802BBADC 002B8A3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BBAE0 002B8A40 4E 80 00 20 */ blr - -.global GetStaticWorldDataSize__13CCubeRendererFv -GetStaticWorldDataSize__13CCubeRendererFv: -/* 802BBAE4 002B8A44 80 83 00 20 */ lwz r4, 0x20(r3) -/* 802BBAE8 002B8A48 38 A0 00 00 */ li r5, 0 -/* 802BBAEC 002B8A4C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 802BBAF0 002B8A50 48 00 00 20 */ b lbl_802BBB10 -lbl_802BBAF4: -/* 802BBAF4 002B8A54 80 C4 00 14 */ lwz r6, 0x14(r4) -/* 802BBAF8 002B8A58 28 06 00 00 */ cmplwi r6, 0 -/* 802BBAFC 002B8A5C 41 82 00 10 */ beq lbl_802BBB0C -/* 802BBB00 002B8A60 80 06 00 04 */ lwz r0, 4(r6) -/* 802BBB04 002B8A64 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802BBB08 002B8A68 7C A5 02 14 */ add r5, r5, r0 -lbl_802BBB0C: -/* 802BBB0C 002B8A6C 80 84 00 04 */ lwz r4, 4(r4) -lbl_802BBB10: -/* 802BBB10 002B8A70 7C 04 18 40 */ cmplw r4, r3 -/* 802BBB14 002B8A74 40 82 FF E0 */ bne lbl_802BBAF4 -/* 802BBB18 002B8A78 7C A3 2B 78 */ mr r3, r5 -/* 802BBB1C 002B8A7C 4E 80 00 20 */ blr - -.global SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor -SetWorldFog__13CCubeRendererF11ERglFogModeffRC6CColor: -/* 802BBB20 002B8A80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BBB24 002B8A84 7C 08 02 A6 */ mflr r0 -/* 802BBB28 002B8A88 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BBB2C 002B8A8C 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802BBB30 002B8A90 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 802BBB34 002B8A94 41 82 00 08 */ beq lbl_802BBB3C -/* 802BBB38 002B8A98 38 80 00 00 */ li r4, 0 -lbl_802BBB3C: -/* 802BBB3C 002B8A9C 7C 83 23 78 */ mr r3, r4 -/* 802BBB40 002B8AA0 7C A4 2B 78 */ mr r4, r5 -/* 802BBB44 002B8AA4 48 04 E7 45 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor -/* 802BBB48 002B8AA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BBB4C 002B8AAC 7C 08 03 A6 */ mtlr r0 -/* 802BBB50 002B8AB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BBB54 002B8AB4 4E 80 00 20 */ blr - -.global SetWireframeFlags__13CCubeRendererFi -SetWireframeFlags__13CCubeRendererFi: -/* 802BBB58 002B8AB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BBB5C 002B8ABC 7C 08 02 A6 */ mflr r0 -/* 802BBB60 002B8AC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BBB64 002B8AC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BBB68 002B8AC8 7C 9F 23 78 */ mr r31, r4 -/* 802BBB6C 002B8ACC 93 C1 00 08 */ stw r30, 8(r1) -/* 802BBB70 002B8AD0 7C 7E 1B 78 */ mr r30, r3 -/* 802BBB74 002B8AD4 54 83 07 FE */ clrlwi r3, r4, 0x1f -/* 802BBB78 002B8AD8 38 03 FF FF */ addi r0, r3, -1 -/* 802BBB7C 002B8ADC 7C 00 00 34 */ cntlzw r0, r0 -/* 802BBB80 002B8AE0 54 03 D9 7E */ srwi r3, r0, 5 -/* 802BBB84 002B8AE4 48 04 AD 0D */ bl SetModelWireframe__10CCubeModelFb -/* 802BBB88 002B8AE8 57 E3 07 BC */ rlwinm r3, r31, 0, 0x1e, 0x1e -/* 802BBB8C 002B8AEC 88 1E 03 18 */ lbz r0, 0x318(r30) -/* 802BBB90 002B8AF0 38 63 FF FE */ addi r3, r3, -2 -/* 802BBB94 002B8AF4 7C 63 00 34 */ cntlzw r3, r3 -/* 802BBB98 002B8AF8 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 -/* 802BBB9C 002B8AFC 98 1E 03 18 */ stb r0, 0x318(r30) -/* 802BBBA0 002B8B00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BBBA4 002B8B04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BBBA8 002B8B08 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BBBAC 002B8B0C 7C 08 03 A6 */ mtlr r0 -/* 802BBBB0 002B8B10 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BBBB4 002B8B14 4E 80 00 20 */ blr - -.global _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff -_DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: -/* 802BBBB8 002B8B18 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 802BBBBC 002B8B1C 7C 08 02 A6 */ mflr r0 -/* 802BBBC0 002B8B20 90 01 01 84 */ stw r0, 0x184(r1) -/* 802BBBC4 002B8B24 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 802BBBC8 002B8B28 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 802BBBCC 002B8B2C BF 41 01 58 */ stmw r26, 0x158(r1) -/* 802BBBD0 002B8B30 3C A0 80 3F */ lis r5, lbl_803ED910@ha -/* 802BBBD4 002B8B34 3C E0 43 30 */ lis r7, 0x4330 -/* 802BBBD8 002B8B38 38 A5 D9 10 */ addi r5, r5, lbl_803ED910@l -/* 802BBBDC 002B8B3C C0 E4 00 04 */ lfs f7, 4(r4) -/* 802BBBE0 002B8B40 83 A5 00 08 */ lwz r29, 8(r5) -/* 802BBBE4 002B8B44 7C 7B 1B 78 */ mr r27, r3 -/* 802BBBE8 002B8B48 83 85 00 0C */ lwz r28, 0xc(r5) -/* 802BBBEC 002B8B4C FC 40 38 50 */ fneg f2, f7 -/* 802BBBF0 002B8B50 57 A0 0F FE */ srwi r0, r29, 0x1f -/* 802BBBF4 002B8B54 83 E5 00 00 */ lwz r31, 0(r5) -/* 802BBBF8 002B8B58 7C 60 EA 14 */ add r3, r0, r29 -/* 802BBBFC 002B8B5C 57 80 0F FE */ srwi r0, r28, 0x1f -/* 802BBC00 002B8B60 7C 63 0E 70 */ srawi r3, r3, 1 -/* 802BBC04 002B8B64 7C 00 E2 14 */ add r0, r0, r28 -/* 802BBC08 002B8B68 83 C5 00 04 */ lwz r30, 4(r5) -/* 802BBC0C 002B8B6C 6C 66 80 00 */ xoris r6, r3, 0x8000 -/* 802BBC10 002B8B70 6F E8 80 00 */ xoris r8, r31, 0x8000 -/* 802BBC14 002B8B74 7C 00 0E 70 */ srawi r0, r0, 1 -/* 802BBC18 002B8B78 90 C1 00 FC */ stw r6, 0xfc(r1) -/* 802BBC1C 002B8B7C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BBC20 002B8B80 6F C5 80 00 */ xoris r5, r30, 0x8000 -/* 802BBC24 002B8B84 90 E1 00 F8 */ stw r7, 0xf8(r1) -/* 802BBC28 002B8B88 FF E0 08 90 */ fmr f31, f1 -/* 802BBC2C 002B8B8C C8 A2 C2 A0 */ lfd f5, lbl_805ADFC0@sda21(r2) -/* 802BBC30 002B8B90 38 61 00 78 */ addi r3, r1, 0x78 -/* 802BBC34 002B8B94 C8 01 00 F8 */ lfd f0, 0xf8(r1) -/* 802BBC38 002B8B98 C1 04 00 00 */ lfs f8, 0(r4) -/* 802BBC3C 002B8B9C 90 C1 01 04 */ stw r6, 0x104(r1) -/* 802BBC40 002B8BA0 EC 60 28 28 */ fsubs f3, f0, f5 -/* 802BBC44 002B8BA4 C0 C4 00 08 */ lfs f6, 8(r4) -/* 802BBC48 002B8BA8 90 E1 01 00 */ stw r7, 0x100(r1) -/* 802BBC4C 002B8BAC C8 01 01 00 */ lfd f0, 0x100(r1) -/* 802BBC50 002B8BB0 90 01 01 14 */ stw r0, 0x114(r1) -/* 802BBC54 002B8BB4 EC 20 28 28 */ fsubs f1, f0, f5 -/* 802BBC58 002B8BB8 90 E1 01 10 */ stw r7, 0x110(r1) -/* 802BBC5C 002B8BBC C8 01 01 10 */ lfd f0, 0x110(r1) -/* 802BBC60 002B8BC0 EC 63 0A 3A */ fmadds f3, f3, f8, f1 -/* 802BBC64 002B8BC4 90 01 01 1C */ stw r0, 0x11c(r1) -/* 802BBC68 002B8BC8 EC 20 28 28 */ fsubs f1, f0, f5 -/* 802BBC6C 002B8BCC 90 E1 01 18 */ stw r7, 0x118(r1) -/* 802BBC70 002B8BD0 C8 01 01 18 */ lfd f0, 0x118(r1) -/* 802BBC74 002B8BD4 91 01 00 F4 */ stw r8, 0xf4(r1) -/* 802BBC78 002B8BD8 EC 00 28 28 */ fsubs f0, f0, f5 -/* 802BBC7C 002B8BDC 90 E1 00 F0 */ stw r7, 0xf0(r1) -/* 802BBC80 002B8BE0 C8 81 00 F0 */ lfd f4, 0xf0(r1) -/* 802BBC84 002B8BE4 EC 21 00 BA */ fmadds f1, f1, f2, f0 -/* 802BBC88 002B8BE8 90 A1 01 0C */ stw r5, 0x10c(r1) -/* 802BBC8C 002B8BEC EC 44 28 28 */ fsubs f2, f4, f5 -/* 802BBC90 002B8BF0 90 E1 01 08 */ stw r7, 0x108(r1) -/* 802BBC94 002B8BF4 C8 01 01 08 */ lfd f0, 0x108(r1) -/* 802BBC98 002B8BF8 EC 62 18 2A */ fadds f3, f2, f3 -/* 802BBC9C 002B8BFC D1 01 00 80 */ stfs f8, 0x80(r1) -/* 802BBCA0 002B8C00 EC 40 28 28 */ fsubs f2, f0, f5 -/* 802BBCA4 002B8C04 FC 00 18 1E */ fctiwz f0, f3 -/* 802BBCA8 002B8C08 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 802BBCAC 002B8C0C EC 22 08 2A */ fadds f1, f2, f1 -/* 802BBCB0 002B8C10 D0 C1 00 88 */ stfs f6, 0x88(r1) -/* 802BBCB4 002B8C14 D8 01 01 20 */ stfd f0, 0x120(r1) -/* 802BBCB8 002B8C18 FC 00 08 1E */ fctiwz f0, f1 -/* 802BBCBC 002B8C1C 80 01 01 24 */ lwz r0, 0x124(r1) -/* 802BBCC0 002B8C20 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 802BBCC4 002B8C24 54 04 00 3A */ rlwinm r4, r0, 0, 0, 0x1d -/* 802BBCC8 002B8C28 D8 01 01 28 */ stfd f0, 0x128(r1) -/* 802BBCCC 002B8C2C 80 01 01 2C */ lwz r0, 0x12c(r1) -/* 802BBCD0 002B8C30 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802BBCD4 002B8C34 54 05 00 3A */ rlwinm r5, r0, 0, 0, 0x1d -/* 802BBCD8 002B8C38 48 05 86 75 */ bl __ct__9CVector2iFii -/* 802BBCDC 002B8C3C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802BBCE0 002B8C40 38 80 00 60 */ li r4, 0x60 -/* 802BBCE4 002B8C44 38 A0 00 60 */ li r5, 0x60 -/* 802BBCE8 002B8C48 48 05 86 65 */ bl __ct__9CVector2iFii -/* 802BBCEC 002B8C4C 7C 65 1B 78 */ mr r5, r3 -/* 802BBCF0 002B8C50 38 61 00 48 */ addi r3, r1, 0x48 -/* 802BBCF4 002B8C54 38 81 00 78 */ addi r4, r1, 0x78 -/* 802BBCF8 002B8C58 48 05 85 E5 */ bl __mi__FRC9CVector2iRC9CVector2i -/* 802BBCFC 002B8C5C 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 802BBD00 002B8C60 38 61 00 30 */ addi r3, r1, 0x30 -/* 802BBD04 002B8C64 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 802BBD08 002B8C68 38 80 00 60 */ li r4, 0x60 -/* 802BBD0C 002B8C6C 90 A1 00 70 */ stw r5, 0x70(r1) -/* 802BBD10 002B8C70 38 A0 00 60 */ li r5, 0x60 -/* 802BBD14 002B8C74 90 01 00 74 */ stw r0, 0x74(r1) -/* 802BBD18 002B8C78 48 05 86 35 */ bl __ct__9CVector2iFii -/* 802BBD1C 002B8C7C 7C 65 1B 78 */ mr r5, r3 -/* 802BBD20 002B8C80 38 61 00 38 */ addi r3, r1, 0x38 -/* 802BBD24 002B8C84 38 81 00 78 */ addi r4, r1, 0x78 -/* 802BBD28 002B8C88 48 05 85 ED */ bl __pl__FRC9CVector2iRC9CVector2i -/* 802BBD2C 002B8C8C C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802BBD30 002B8C90 38 61 00 60 */ addi r3, r1, 0x60 -/* 802BBD34 002B8C94 80 81 00 38 */ lwz r4, 0x38(r1) -/* 802BBD38 002B8C98 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802BBD3C 002B8C9C FC 40 08 90 */ fmr f2, f1 -/* 802BBD40 002B8CA0 90 81 00 68 */ stw r4, 0x68(r1) -/* 802BBD44 002B8CA4 90 01 00 6C */ stw r0, 0x6c(r1) -/* 802BBD48 002B8CA8 48 05 84 B9 */ bl __ct__9CVector2fFff -/* 802BBD4C 002B8CAC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802BBD50 002B8CB0 38 61 00 58 */ addi r3, r1, 0x58 -/* 802BBD54 002B8CB4 FC 40 08 90 */ fmr f2, f1 -/* 802BBD58 002B8CB8 48 05 84 A9 */ bl __ct__9CVector2fFff -/* 802BBD5C 002B8CBC 80 01 00 70 */ lwz r0, 0x70(r1) -/* 802BBD60 002B8CC0 57 E5 00 3A */ rlwinm r5, r31, 0, 0, 0x1d -/* 802BBD64 002B8CC4 38 9D 00 03 */ addi r4, r29, 3 -/* 802BBD68 002B8CC8 38 7C 00 03 */ addi r3, r28, 3 -/* 802BBD6C 002B8CCC 7C 00 28 00 */ cmpw r0, r5 -/* 802BBD70 002B8CD0 57 C6 00 3A */ rlwinm r6, r30, 0, 0, 0x1d -/* 802BBD74 002B8CD4 7C 9F 22 14 */ add r4, r31, r4 -/* 802BBD78 002B8CD8 7C 1E 1A 14 */ add r0, r30, r3 -/* 802BBD7C 002B8CDC 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d -/* 802BBD80 002B8CE0 54 07 00 3A */ rlwinm r7, r0, 0, 0, 0x1d -/* 802BBD84 002B8CE4 40 80 00 38 */ bge lbl_802BBDBC -/* 802BBD88 002B8CE8 80 61 00 70 */ lwz r3, 0x70(r1) -/* 802BBD8C 002B8CEC 3C 00 43 30 */ lis r0, 0x4330 -/* 802BBD90 002B8CF0 90 01 01 28 */ stw r0, 0x128(r1) -/* 802BBD94 002B8CF4 7C 03 28 50 */ subf r0, r3, r5 -/* 802BBD98 002B8CF8 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BBD9C 002B8CFC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BBDA0 002B8D00 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) -/* 802BBDA4 002B8D04 90 01 01 2C */ stw r0, 0x12c(r1) -/* 802BBDA8 002B8D08 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 802BBDAC 002B8D0C 90 A1 00 70 */ stw r5, 0x70(r1) -/* 802BBDB0 002B8D10 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802BBDB4 002B8D14 EC 02 00 32 */ fmuls f0, f2, f0 -/* 802BBDB8 002B8D18 D0 01 00 60 */ stfs f0, 0x60(r1) -lbl_802BBDBC: -/* 802BBDBC 002B8D1C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802BBDC0 002B8D20 7C 00 30 00 */ cmpw r0, r6 -/* 802BBDC4 002B8D24 40 80 00 38 */ bge lbl_802BBDFC -/* 802BBDC8 002B8D28 80 61 00 74 */ lwz r3, 0x74(r1) -/* 802BBDCC 002B8D2C 3C 00 43 30 */ lis r0, 0x4330 -/* 802BBDD0 002B8D30 90 01 01 28 */ stw r0, 0x128(r1) -/* 802BBDD4 002B8D34 7C 03 30 50 */ subf r0, r3, r6 -/* 802BBDD8 002B8D38 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BBDDC 002B8D3C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BBDE0 002B8D40 C0 42 C2 F8 */ lfs f2, lbl_805AE018@sda21(r2) -/* 802BBDE4 002B8D44 90 01 01 2C */ stw r0, 0x12c(r1) -/* 802BBDE8 002B8D48 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 802BBDEC 002B8D4C 90 C1 00 74 */ stw r6, 0x74(r1) -/* 802BBDF0 002B8D50 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802BBDF4 002B8D54 EC 02 00 32 */ fmuls f0, f2, f0 -/* 802BBDF8 002B8D58 D0 01 00 64 */ stfs f0, 0x64(r1) -lbl_802BBDFC: -/* 802BBDFC 002B8D5C 80 01 00 68 */ lwz r0, 0x68(r1) -/* 802BBE00 002B8D60 7C 00 20 00 */ cmpw r0, r4 -/* 802BBE04 002B8D64 40 81 00 3C */ ble lbl_802BBE40 -/* 802BBE08 002B8D68 80 61 00 68 */ lwz r3, 0x68(r1) -/* 802BBE0C 002B8D6C 3C 00 43 30 */ lis r0, 0x4330 -/* 802BBE10 002B8D70 90 01 01 28 */ stw r0, 0x128(r1) -/* 802BBE14 002B8D74 7C 04 18 50 */ subf r0, r4, r3 -/* 802BBE18 002B8D78 C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) -/* 802BBE1C 002B8D7C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BBE20 002B8D80 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) -/* 802BBE24 002B8D84 90 01 01 2C */ stw r0, 0x12c(r1) -/* 802BBE28 002B8D88 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BBE2C 002B8D8C C8 21 01 28 */ lfd f1, 0x128(r1) -/* 802BBE30 002B8D90 90 81 00 68 */ stw r4, 0x68(r1) -/* 802BBE34 002B8D94 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802BBE38 002B8D98 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 -/* 802BBE3C 002B8D9C D0 01 00 58 */ stfs f0, 0x58(r1) -lbl_802BBE40: -/* 802BBE40 002B8DA0 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 802BBE44 002B8DA4 7C 00 38 00 */ cmpw r0, r7 -/* 802BBE48 002B8DA8 40 81 00 3C */ ble lbl_802BBE84 -/* 802BBE4C 002B8DAC 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 802BBE50 002B8DB0 3C 00 43 30 */ lis r0, 0x4330 -/* 802BBE54 002B8DB4 90 01 01 28 */ stw r0, 0x128(r1) -/* 802BBE58 002B8DB8 7C 07 18 50 */ subf r0, r7, r3 -/* 802BBE5C 002B8DBC C8 42 C2 A0 */ lfd f2, lbl_805ADFC0@sda21(r2) -/* 802BBE60 002B8DC0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BBE64 002B8DC4 C0 62 C2 F8 */ lfs f3, lbl_805AE018@sda21(r2) -/* 802BBE68 002B8DC8 90 01 01 2C */ stw r0, 0x12c(r1) -/* 802BBE6C 002B8DCC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BBE70 002B8DD0 C8 21 01 28 */ lfd f1, 0x128(r1) -/* 802BBE74 002B8DD4 90 E1 00 6C */ stw r7, 0x6c(r1) -/* 802BBE78 002B8DD8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802BBE7C 002B8DDC EC 03 00 7C */ fnmsubs f0, f3, f1, f0 -/* 802BBE80 002B8DE0 D0 01 00 5C */ stfs f0, 0x5c(r1) -lbl_802BBE84: -/* 802BBE84 002B8DE4 38 61 00 28 */ addi r3, r1, 0x28 -/* 802BBE88 002B8DE8 38 81 00 68 */ addi r4, r1, 0x68 -/* 802BBE8C 002B8DEC 38 A1 00 70 */ addi r5, r1, 0x70 -/* 802BBE90 002B8DF0 48 05 84 4D */ bl __mi__FRC9CVector2iRC9CVector2i -/* 802BBE94 002B8DF4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802BBE98 002B8DF8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802BBE9C 002B8DFC 2C 03 00 00 */ cmpwi r3, 0 -/* 802BBEA0 002B8E00 90 61 00 50 */ stw r3, 0x50(r1) -/* 802BBEA4 002B8E04 90 01 00 54 */ stw r0, 0x54(r1) -/* 802BBEA8 002B8E08 40 81 04 A0 */ ble lbl_802BC348 -/* 802BBEAC 002B8E0C 2C 00 00 00 */ cmpwi r0, 0 -/* 802BBEB0 002B8E10 41 81 00 08 */ bgt lbl_802BBEB8 -/* 802BBEB4 002B8E14 48 00 04 94 */ b lbl_802BC348 -lbl_802BBEB8: -/* 802BBEB8 002B8E18 38 61 00 24 */ addi r3, r1, 0x24 -/* 802BBEBC 002B8E1C 38 81 00 20 */ addi r4, r1, 0x20 -/* 802BBEC0 002B8E20 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802BBEC4 002B8E24 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802BBEC8 002B8E28 38 E1 00 14 */ addi r7, r1, 0x14 -/* 802BBECC 002B8E2C 39 01 00 10 */ addi r8, r1, 0x10 -/* 802BBED0 002B8E30 48 04 BC ED */ bl sub_80307bbc -/* 802BBED4 002B8E34 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802BBED8 002B8E38 38 81 00 10 */ addi r4, r1, 0x10 -/* 802BBEDC 002B8E3C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802BBEE0 002B8E40 38 60 00 00 */ li r3, 0 -/* 802BBEE4 002B8E44 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802BBEE8 002B8E48 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802BBEEC 002B8E4C 48 04 C6 11 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor -/* 802BBEF0 002B8E50 80 01 00 70 */ lwz r0, 0x70(r1) -/* 802BBEF4 002B8E54 80 81 00 74 */ lwz r4, 0x74(r1) -/* 802BBEF8 002B8E58 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 802BBEFC 002B8E5C 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 802BBF00 002B8E60 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802BBF04 002B8E64 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 802BBF08 002B8E68 83 4D A8 28 */ lwz r26, lbl_805A93E8@sda21(r13) -/* 802BBF0C 002B8E6C 54 A5 04 3E */ clrlwi r5, r5, 0x10 -/* 802BBF10 002B8E70 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 802BBF14 002B8E74 48 0B CE A1 */ bl GXSetTexCopySrc -/* 802BBF18 002B8E78 80 61 00 50 */ lwz r3, 0x50(r1) -/* 802BBF1C 002B8E7C 38 A0 00 06 */ li r5, 6 -/* 802BBF20 002B8E80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802BBF24 002B8E84 38 C0 00 00 */ li r6, 0 -/* 802BBF28 002B8E88 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 802BBF2C 002B8E8C 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 802BBF30 002B8E90 48 0B CF 51 */ bl GXSetTexCopyDst -/* 802BBF34 002B8E94 7F 43 D3 78 */ mr r3, r26 -/* 802BBF38 002B8E98 38 80 00 00 */ li r4, 0 -/* 802BBF3C 002B8E9C 48 0B D5 F9 */ bl GXCopyTex -/* 802BBF40 002B8EA0 48 0B C6 25 */ bl GXPixModeSync -/* 802BBF44 002B8EA4 80 61 00 50 */ lwz r3, 0x50(r1) -/* 802BBF48 002B8EA8 38 A0 00 06 */ li r5, 6 -/* 802BBF4C 002B8EAC 80 81 00 54 */ lwz r4, 0x54(r1) -/* 802BBF50 002B8EB0 38 C0 00 00 */ li r6, 0 -/* 802BBF54 002B8EB4 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 802BBF58 002B8EB8 48 04 E0 C9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 802BBF5C 002B8EBC 38 7B 01 50 */ addi r3, r27, 0x150 -/* 802BBF60 002B8EC0 38 80 00 01 */ li r4, 1 -/* 802BBF64 002B8EC4 38 A0 00 00 */ li r5, 0 -/* 802BBF68 002B8EC8 48 05 37 D5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802BBF6C 002B8ECC 38 60 00 00 */ li r3, 0 -/* 802BBF70 002B8ED0 38 80 00 0F */ li r4, 0xf -/* 802BBF74 002B8ED4 38 A0 00 0F */ li r5, 0xf -/* 802BBF78 002B8ED8 38 C0 00 0F */ li r6, 0xf -/* 802BBF7C 002B8EDC 38 E0 00 08 */ li r7, 8 -/* 802BBF80 002B8EE0 48 04 CC 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802BBF84 002B8EE4 38 60 00 00 */ li r3, 0 -/* 802BBF88 002B8EE8 38 80 00 00 */ li r4, 0 -/* 802BBF8C 002B8EEC 38 A0 00 00 */ li r5, 0 -/* 802BBF90 002B8EF0 38 C0 00 00 */ li r6, 0 -/* 802BBF94 002B8EF4 38 E0 00 01 */ li r7, 1 -/* 802BBF98 002B8EF8 39 00 00 00 */ li r8, 0 -/* 802BBF9C 002B8EFC 48 04 CB 9D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802BBFA0 002B8F00 38 60 00 00 */ li r3, 0 -/* 802BBFA4 002B8F04 38 80 00 00 */ li r4, 0 -/* 802BBFA8 002B8F08 38 A0 00 04 */ li r5, 4 -/* 802BBFAC 002B8F0C 38 C0 00 3C */ li r6, 0x3c -/* 802BBFB0 002B8F10 38 E0 00 00 */ li r7, 0 -/* 802BBFB4 002B8F14 39 00 00 7D */ li r8, 0x7d -/* 802BBFB8 002B8F18 48 04 C7 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802BBFBC 002B8F1C 38 60 00 01 */ li r3, 1 -/* 802BBFC0 002B8F20 38 80 00 00 */ li r4, 0 -/* 802BBFC4 002B8F24 38 A0 00 05 */ li r5, 5 -/* 802BBFC8 002B8F28 38 C0 00 3C */ li r6, 0x3c -/* 802BBFCC 002B8F2C 38 E0 00 00 */ li r7, 0 -/* 802BBFD0 002B8F30 39 00 00 7D */ li r8, 0x7d -/* 802BBFD4 002B8F34 48 04 C6 F9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802BBFD8 002B8F38 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 802BBFDC 002B8F3C 38 60 00 00 */ li r3, 0 -/* 802BBFE0 002B8F40 38 80 00 00 */ li r4, 0 -/* 802BBFE4 002B8F44 38 C0 00 FF */ li r6, 0xff -/* 802BBFE8 002B8F48 48 04 C9 65 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802BBFEC 002B8F4C C8 02 C3 00 */ lfd f0, lbl_805AE020@sda21(r2) -/* 802BBFF0 002B8F50 3C 60 80 3D */ lis r3, lbl_803D65A0@ha -/* 802BBFF4 002B8F54 39 23 65 A0 */ addi r9, r3, lbl_803D65A0@l -/* 802BBFF8 002B8F58 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 802BBFFC 002B8F5C FC 00 07 F2 */ fmul f0, f0, f31 -/* 802BC000 002B8F60 80 C9 00 00 */ lwz r6, 0(r9) -/* 802BC004 002B8F64 80 09 00 10 */ lwz r0, 0x10(r9) -/* 802BC008 002B8F68 38 60 00 01 */ li r3, 1 -/* 802BC00C 002B8F6C 81 09 00 04 */ lwz r8, 4(r9) -/* 802BC010 002B8F70 38 A0 FF FF */ li r5, -1 -/* 802BC014 002B8F74 80 E9 00 08 */ lwz r7, 8(r9) -/* 802BC018 002B8F78 FC 00 00 18 */ frsp f0, f0 -/* 802BC01C 002B8F7C 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 802BC020 002B8F80 80 C9 00 0C */ lwz r6, 0xc(r9) -/* 802BC024 002B8F84 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 802BC028 002B8F88 80 09 00 14 */ lwz r0, 0x14(r9) -/* 802BC02C 002B8F8C 91 01 00 AC */ stw r8, 0xac(r1) -/* 802BC030 002B8F90 90 E1 00 B0 */ stw r7, 0xb0(r1) -/* 802BC034 002B8F94 90 C1 00 B4 */ stw r6, 0xb4(r1) -/* 802BC038 002B8F98 90 01 00 BC */ stw r0, 0xbc(r1) -/* 802BC03C 002B8F9C D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 802BC040 002B8FA0 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 802BC044 002B8FA4 48 0B EE 85 */ bl GXSetIndTexMtx -/* 802BC048 002B8FA8 38 60 00 00 */ li r3, 0 -/* 802BC04C 002B8FAC 38 80 00 01 */ li r4, 1 -/* 802BC050 002B8FB0 38 A0 00 01 */ li r5, 1 -/* 802BC054 002B8FB4 48 0B F1 51 */ bl GXSetIndTexOrder -/* 802BC058 002B8FB8 38 00 00 00 */ li r0, 0 -/* 802BC05C 002B8FBC 38 60 00 00 */ li r3, 0 -/* 802BC060 002B8FC0 90 01 00 08 */ stw r0, 8(r1) -/* 802BC064 002B8FC4 38 80 00 00 */ li r4, 0 -/* 802BC068 002B8FC8 38 A0 00 00 */ li r5, 0 -/* 802BC06C 002B8FCC 38 C0 00 07 */ li r6, 7 -/* 802BC070 002B8FD0 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BC074 002B8FD4 38 E0 00 01 */ li r7, 1 -/* 802BC078 002B8FD8 39 00 00 00 */ li r8, 0 -/* 802BC07C 002B8FDC 39 20 00 00 */ li r9, 0 -/* 802BC080 002B8FE0 39 40 00 00 */ li r10, 0 -/* 802BC084 002B8FE4 48 04 C7 09 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 802BC088 002B8FE8 38 60 00 01 */ li r3, 1 -/* 802BC08C 002B8FEC 48 04 C6 05 */ bl SetNumIndStages__3CGXFUc -/* 802BC090 002B8FF0 38 60 00 01 */ li r3, 1 -/* 802BC094 002B8FF4 48 04 CB FD */ bl SetNumTevStages__3CGXFUc -/* 802BC098 002B8FF8 38 60 00 02 */ li r3, 2 -/* 802BC09C 002B8FFC 48 04 CD 79 */ bl SetNumTexGens__3CGXFUc -/* 802BC0A0 002B9000 38 60 00 00 */ li r3, 0 -/* 802BC0A4 002B9004 48 04 CD AD */ bl SetNumChans__3CGXFUc -/* 802BC0A8 002B9008 38 60 00 01 */ li r3, 1 -/* 802BC0AC 002B900C 38 80 00 01 */ li r4, 1 -/* 802BC0B0 002B9010 38 A0 00 00 */ li r5, 0 -/* 802BC0B4 002B9014 38 C0 00 00 */ li r6, 0 -/* 802BC0B8 002B9018 48 04 C8 19 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 802BC0BC 002B901C 3C 60 80 3D */ lis r3, lbl_803D65B8@ha -/* 802BC0C0 002B9020 38 63 65 B8 */ addi r3, r3, lbl_803D65B8@l -/* 802BC0C4 002B9024 48 04 BD 65 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802BC0C8 002B9028 48 04 DD 95 */ bl GetProjectionState__9CGraphicsFv -/* 802BC0CC 002B902C 88 03 00 00 */ lbz r0, 0(r3) -/* 802BC0D0 002B9030 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 802BC0D4 002B9034 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 802BC0D8 002B9038 98 01 00 8C */ stb r0, 0x8c(r1) -/* 802BC0DC 002B903C C0 03 00 04 */ lfs f0, 4(r3) -/* 802BC0E0 002B9040 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 802BC0E4 002B9044 C0 03 00 08 */ lfs f0, 8(r3) -/* 802BC0E8 002B9048 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 802BC0EC 002B904C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802BC0F0 002B9050 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 802BC0F4 002B9054 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802BC0F8 002B9058 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 802BC0FC 002B905C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 802BC100 002B9060 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 802BC104 002B9064 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802BC108 002B9068 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802BC10C 002B906C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 802BC110 002B9070 48 05 6A 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802BC114 002B9074 7C 7D FA 14 */ add r3, r29, r31 -/* 802BC118 002B9078 7C 1C F2 14 */ add r0, r28, r30 -/* 802BC11C 002B907C 3C A0 43 30 */ lis r5, 0x4330 -/* 802BC120 002B9080 6F E6 80 00 */ xoris r6, r31, 0x8000 -/* 802BC124 002B9084 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 802BC128 002B9088 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 802BC12C 002B908C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BC130 002B9090 90 C1 01 2C */ stw r6, 0x12c(r1) -/* 802BC134 002B9094 C8 82 C2 A0 */ lfd f4, lbl_805ADFC0@sda21(r2) -/* 802BC138 002B9098 90 A1 01 28 */ stw r5, 0x128(r1) -/* 802BC13C 002B909C C0 A2 C2 90 */ lfs f5, lbl_805ADFB0@sda21(r2) -/* 802BC140 002B90A0 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 802BC144 002B90A4 90 81 01 24 */ stw r4, 0x124(r1) -/* 802BC148 002B90A8 EC 20 20 28 */ fsubs f1, f0, f4 -/* 802BC14C 002B90AC C0 C2 C2 94 */ lfs f6, lbl_805ADFB4@sda21(r2) -/* 802BC150 002B90B0 90 A1 01 20 */ stw r5, 0x120(r1) -/* 802BC154 002B90B4 C8 01 01 20 */ lfd f0, 0x120(r1) -/* 802BC158 002B90B8 90 61 01 1C */ stw r3, 0x11c(r1) -/* 802BC15C 002B90BC EC 40 20 28 */ fsubs f2, f0, f4 -/* 802BC160 002B90C0 90 A1 01 18 */ stw r5, 0x118(r1) -/* 802BC164 002B90C4 C8 01 01 18 */ lfd f0, 0x118(r1) -/* 802BC168 002B90C8 90 01 01 14 */ stw r0, 0x114(r1) -/* 802BC16C 002B90CC EC 60 20 28 */ fsubs f3, f0, f4 -/* 802BC170 002B90D0 90 A1 01 10 */ stw r5, 0x110(r1) -/* 802BC174 002B90D4 C8 01 01 10 */ lfd f0, 0x110(r1) -/* 802BC178 002B90D8 EC 80 20 28 */ fsubs f4, f0, f4 -/* 802BC17C 002B90DC 48 05 03 D9 */ bl SetOrtho__9CGraphicsFffffff -/* 802BC180 002B90E0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BC184 002B90E4 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BC188 002B90E8 48 05 05 C5 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BC18C 002B90EC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BC190 002B90F0 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BC194 002B90F4 48 05 04 4D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BC198 002B90F8 38 60 00 00 */ li r3, 0 -/* 802BC19C 002B90FC 38 80 00 07 */ li r4, 7 -/* 802BC1A0 002B9100 38 A0 00 00 */ li r5, 0 -/* 802BC1A4 002B9104 48 04 C6 D9 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BC1A8 002B9108 38 60 00 00 */ li r3, 0 -/* 802BC1AC 002B910C 48 0B C9 AD */ bl GXSetCullMode -/* 802BC1B0 002B9110 38 60 00 A0 */ li r3, 0xa0 -/* 802BC1B4 002B9114 38 80 00 00 */ li r4, 0 -/* 802BC1B8 002B9118 38 A0 00 04 */ li r5, 4 -/* 802BC1BC 002B911C 48 04 C3 C9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BC1C0 002B9120 80 01 00 70 */ lwz r0, 0x70(r1) -/* 802BC1C4 002B9124 3C 80 43 30 */ lis r4, 0x4330 -/* 802BC1C8 002B9128 90 81 01 08 */ stw r4, 0x108(r1) -/* 802BC1CC 002B912C 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 802BC1D0 002B9130 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BC1D4 002B9134 C8 E2 C2 A0 */ lfd f7, lbl_805ADFC0@sda21(r2) -/* 802BC1D8 002B9138 90 01 01 0C */ stw r0, 0x10c(r1) -/* 802BC1DC 002B913C C0 C2 C2 80 */ lfs f6, lbl_805ADFA0@sda21(r2) -/* 802BC1E0 002B9140 C8 01 01 08 */ lfd f0, 0x108(r1) -/* 802BC1E4 002B9144 90 81 01 00 */ stw r4, 0x100(r1) -/* 802BC1E8 002B9148 EC 00 38 28 */ fsubs f0, f0, f7 -/* 802BC1EC 002B914C C0 A2 C2 74 */ lfs f5, lbl_805ADF94@sda21(r2) -/* 802BC1F0 002B9150 90 01 00 FC */ stw r0, 0xfc(r1) -/* 802BC1F4 002B9154 C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) -/* 802BC1F8 002B9158 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BC1FC 002B915C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802BC200 002B9160 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802BC204 002B9164 90 81 00 F8 */ stw r4, 0xf8(r1) -/* 802BC208 002B9168 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BC20C 002B916C 90 01 01 04 */ stw r0, 0x104(r1) -/* 802BC210 002B9170 C8 01 00 F8 */ lfd f0, 0xf8(r1) -/* 802BC214 002B9174 C8 21 01 00 */ lfd f1, 0x100(r1) -/* 802BC218 002B9178 EC 00 38 28 */ fsubs f0, f0, f7 -/* 802BC21C 002B917C 90 81 00 F0 */ stw r4, 0xf0(r1) -/* 802BC220 002B9180 EC 21 38 28 */ fsubs f1, f1, f7 -/* 802BC224 002B9184 90 81 01 30 */ stw r4, 0x130(r1) -/* 802BC228 002B9188 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BC22C 002B918C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802BC230 002B9190 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802BC234 002B9194 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 802BC238 002B9198 90 81 01 38 */ stw r4, 0x138(r1) -/* 802BC23C 002B919C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BC240 002B91A0 C1 21 00 64 */ lfs f9, 0x64(r1) -/* 802BC244 002B91A4 90 81 01 40 */ stw r4, 0x140(r1) -/* 802BC248 002B91A8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 802BC24C 002B91AC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BC250 002B91B0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802BC254 002B91B4 80 A1 00 6C */ lwz r5, 0x6c(r1) -/* 802BC258 002B91B8 90 01 01 4C */ stw r0, 0x14c(r1) -/* 802BC25C 002B91BC 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 802BC260 002B91C0 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802BC264 002B91C4 C8 01 00 F0 */ lfd f0, 0xf0(r1) -/* 802BC268 002B91C8 90 01 01 3C */ stw r0, 0x13c(r1) -/* 802BC26C 002B91CC EC 20 38 28 */ fsubs f1, f0, f7 -/* 802BC270 002B91D0 C8 01 01 38 */ lfd f0, 0x138(r1) -/* 802BC274 002B91D4 90 81 01 48 */ stw r4, 0x148(r1) -/* 802BC278 002B91D8 EC 40 38 28 */ fsubs f2, f0, f7 -/* 802BC27C 002B91DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BC280 002B91E0 C8 01 01 48 */ lfd f0, 0x148(r1) -/* 802BC284 002B91E4 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802BC288 002B91E8 EC 00 38 28 */ fsubs f0, f0, f7 -/* 802BC28C 002B91EC D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802BC290 002B91F0 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 802BC294 002B91F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BC298 002B91F8 C1 01 00 5C */ lfs f8, 0x5c(r1) -/* 802BC29C 002B91FC D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802BC2A0 002B9200 80 01 00 68 */ lwz r0, 0x68(r1) -/* 802BC2A4 002B9204 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BC2A8 002B9208 90 01 01 34 */ stw r0, 0x134(r1) -/* 802BC2AC 002B920C C8 21 01 30 */ lfd f1, 0x130(r1) -/* 802BC2B0 002B9210 90 01 01 44 */ stw r0, 0x144(r1) -/* 802BC2B4 002B9214 EC 61 38 28 */ fsubs f3, f1, f7 -/* 802BC2B8 002B9218 C8 21 01 40 */ lfd f1, 0x140(r1) -/* 802BC2BC 002B921C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 802BC2C0 002B9220 EC 21 38 28 */ fsubs f1, f1, f7 -/* 802BC2C4 002B9224 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802BC2C8 002B9228 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BC2CC 002B922C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802BC2D0 002B9230 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802BC2D4 002B9234 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802BC2D8 002B9238 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 802BC2DC 002B923C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 802BC2E0 002B9240 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 802BC2E4 002B9244 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 802BC2E8 002B9248 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BC2EC 002B924C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 802BC2F0 002B9250 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 802BC2F4 002B9254 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802BC2F8 002B9258 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 802BC2FC 002B925C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 802BC300 002B9260 48 04 C2 81 */ bl End__3CGXFv -/* 802BC304 002B9264 38 60 00 01 */ li r3, 1 -/* 802BC308 002B9268 48 0B C8 51 */ bl GXSetCullMode -/* 802BC30C 002B926C 38 60 00 00 */ li r3, 0 -/* 802BC310 002B9270 48 04 C4 35 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 802BC314 002B9274 38 60 00 00 */ li r3, 0 -/* 802BC318 002B9278 48 04 C3 79 */ bl SetNumIndStages__3CGXFUc -/* 802BC31C 002B927C 38 61 00 8C */ addi r3, r1, 0x8c -/* 802BC320 002B9280 48 04 DA E1 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -/* 802BC324 002B9284 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 802BC328 002B9288 48 05 04 25 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BC32C 002B928C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 802BC330 002B9290 38 81 00 10 */ addi r4, r1, 0x10 -/* 802BC334 002B9294 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802BC338 002B9298 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802BC33C 002B929C C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802BC340 002B92A0 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802BC344 002B92A4 48 04 C1 B9 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor -lbl_802BC348: -/* 802BC348 002B92A8 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 802BC34C 002B92AC CB E1 01 70 */ lfd f31, 0x170(r1) -/* 802BC350 002B92B0 BB 41 01 58 */ lmw r26, 0x158(r1) -/* 802BC354 002B92B4 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802BC358 002B92B8 7C 08 03 A6 */ mtlr r0 -/* 802BC35C 002B92BC 38 21 01 80 */ addi r1, r1, 0x180 -/* 802BC360 002B92C0 4E 80 00 20 */ blr - -.global DrawSpaceWarp__13CCubeRendererFRC9CVector3ff -DrawSpaceWarp__13CCubeRendererFRC9CVector3ff: -/* 802BC364 002B92C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC368 002B92C8 7C 08 02 A6 */ mflr r0 -/* 802BC36C 002B92CC C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BC370 002B92D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC374 002B92D4 C0 44 00 08 */ lfs f2, 8(r4) -/* 802BC378 002B92D8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802BC37C 002B92DC 4C 41 13 82 */ cror 2, 1, 2 -/* 802BC380 002B92E0 41 82 00 08 */ beq lbl_802BC388 -/* 802BC384 002B92E4 4B FF F8 35 */ bl _DrawSpaceWarp__13CCubeRendererFRC9CVector3ff -lbl_802BC388: -/* 802BC388 002B92E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC38C 002B92EC 7C 08 03 A6 */ mtlr r0 -/* 802BC390 002B92F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC394 002B92F4 4E 80 00 20 */ blr - -.global CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb -CacheReflection__13CCubeRendererFPFPvRC9CVector3f_vPvb: -/* 802BC398 002B92F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BC39C 002B92FC 7C 08 02 A6 */ mflr r0 -/* 802BC3A0 002B9300 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BC3A4 002B9304 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 802BC3A8 002B9308 7C 7C 1B 78 */ mr r28, r3 -/* 802BC3AC 002B930C 7C 9D 23 78 */ mr r29, r4 -/* 802BC3B0 002B9310 7C BE 2B 78 */ mr r30, r5 -/* 802BC3B4 002B9314 7C DF 33 78 */ mr r31, r6 -/* 802BC3B8 002B9318 88 63 03 18 */ lbz r3, 0x318(r3) -/* 802BC3BC 002B931C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 802BC3C0 002B9320 41 82 01 6C */ beq lbl_802BC52C -/* 802BC3C4 002B9324 38 00 00 00 */ li r0, 0 -/* 802BC3C8 002B9328 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 802BC3CC 002B932C 98 7C 03 18 */ stb r3, 0x318(r28) -/* 802BC3D0 002B9330 90 1C 02 DC */ stw r0, 0x2dc(r28) -/* 802BC3D4 002B9334 80 1C 01 4C */ lwz r0, 0x14c(r28) -/* 802BC3D8 002B9338 28 00 00 00 */ cmplwi r0, 0 -/* 802BC3DC 002B933C 40 82 00 48 */ bne lbl_802BC424 -/* 802BC3E0 002B9340 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802BC3E4 002B9344 38 60 00 68 */ li r3, 0x68 -/* 802BC3E8 002B9348 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802BC3EC 002B934C 38 A0 00 00 */ li r5, 0 -/* 802BC3F0 002B9350 48 05 94 7D */ bl __nw__FUlPCcPCc -/* 802BC3F4 002B9354 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802BC3F8 002B9358 41 82 00 1C */ beq lbl_802BC414 -/* 802BC3FC 002B935C 38 80 00 07 */ li r4, 7 -/* 802BC400 002B9360 38 A0 00 80 */ li r5, 0x80 -/* 802BC404 002B9364 38 C0 00 80 */ li r6, 0x80 -/* 802BC408 002B9368 38 E0 00 01 */ li r7, 1 -/* 802BC40C 002B936C 48 05 3A 21 */ bl __ct__8CTextureF12ETexelFormatssi -/* 802BC410 002B9370 7C 7B 1B 78 */ mr r27, r3 -lbl_802BC414: -/* 802BC414 002B9374 80 7C 01 4C */ lwz r3, 0x14c(r28) -/* 802BC418 002B9378 38 80 00 01 */ li r4, 1 -/* 802BC41C 002B937C 48 05 35 DD */ bl __dt__8CTextureFv -/* 802BC420 002B9380 93 7C 01 4C */ stw r27, 0x14c(r28) -lbl_802BC424: -/* 802BC424 002B9384 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 802BC428 002B9388 3C A0 80 3F */ lis r5, lbl_803ED910@ha -/* 802BC42C 002B938C 38 83 65 00 */ addi r4, r3, lbl_805A6500@l -/* 802BC430 002B9390 38 60 00 00 */ li r3, 0 -/* 802BC434 002B9394 A0 84 00 06 */ lhz r4, 6(r4) -/* 802BC438 002B9398 38 C5 D9 10 */ addi r6, r5, lbl_803ED910@l -/* 802BC43C 002B939C 83 46 00 00 */ lwz r26, 0(r6) -/* 802BC440 002B93A0 38 A0 01 00 */ li r5, 0x100 -/* 802BC444 002B93A4 3B 64 FF 00 */ addi r27, r4, -256 -/* 802BC448 002B93A8 83 26 00 04 */ lwz r25, 4(r6) -/* 802BC44C 002B93AC 83 06 00 08 */ lwz r24, 8(r6) -/* 802BC450 002B93B0 7F 64 DB 78 */ mr r4, r27 -/* 802BC454 002B93B4 82 E6 00 0C */ lwz r23, 0xc(r6) -/* 802BC458 002B93B8 38 C0 01 00 */ li r6, 0x100 -/* 802BC45C 002B93BC 48 04 FC 35 */ bl SetViewport__9CGraphicsFiiii -/* 802BC460 002B93C0 7F 64 DB 78 */ mr r4, r27 -/* 802BC464 002B93C4 38 60 00 00 */ li r3, 0 -/* 802BC468 002B93C8 38 A0 01 00 */ li r5, 0x100 -/* 802BC46C 002B93CC 38 C0 01 00 */ li r6, 0x100 -/* 802BC470 002B93D0 48 04 FB ED */ bl SetScissor__9CGraphicsFiiii -/* 802BC474 002B93D4 83 6D A8 28 */ lwz r27, lbl_805A93E8@sda21(r13) -/* 802BC478 002B93D8 38 60 00 00 */ li r3, 0 -/* 802BC47C 002B93DC 38 80 00 00 */ li r4, 0 -/* 802BC480 002B93E0 38 A0 01 00 */ li r5, 0x100 -/* 802BC484 002B93E4 38 C0 01 00 */ li r6, 0x100 -/* 802BC488 002B93E8 48 0B C9 2D */ bl GXSetTexCopySrc -/* 802BC48C 002B93EC 38 60 00 80 */ li r3, 0x80 -/* 802BC490 002B93F0 38 80 00 80 */ li r4, 0x80 -/* 802BC494 002B93F4 38 A0 00 04 */ li r5, 4 -/* 802BC498 002B93F8 38 C0 00 01 */ li r6, 1 -/* 802BC49C 002B93FC 48 0B C9 E5 */ bl GXSetTexCopyDst -/* 802BC4A0 002B9400 38 60 00 01 */ li r3, 1 -/* 802BC4A4 002B9404 38 80 00 03 */ li r4, 3 -/* 802BC4A8 002B9408 38 A0 00 01 */ li r5, 1 -/* 802BC4AC 002B940C 48 04 C3 D1 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BC4B0 002B9410 7F 63 DB 78 */ mr r3, r27 -/* 802BC4B4 002B9414 38 80 00 01 */ li r4, 1 -/* 802BC4B8 002B9418 48 0B D0 7D */ bl GXCopyTex -/* 802BC4BC 002B941C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha -/* 802BC4C0 002B9420 7F AC EB 78 */ mr r12, r29 -/* 802BC4C4 002B9424 38 83 67 B4 */ addi r4, r3, lbl_805A67B4@l -/* 802BC4C8 002B9428 7F C3 F3 78 */ mr r3, r30 -/* 802BC4CC 002B942C 7D 89 03 A6 */ mtctr r12 -/* 802BC4D0 002B9430 4E 80 04 21 */ bctrl -/* 802BC4D4 002B9434 80 7C 01 4C */ lwz r3, 0x14c(r28) -/* 802BC4D8 002B9438 38 80 00 00 */ li r4, 0 -/* 802BC4DC 002B943C 48 05 21 19 */ bl GetConstBitMapData__8CTextureCFi -/* 802BC4E0 002B9440 7C 60 1B 78 */ mr r0, r3 -/* 802BC4E4 002B9444 38 60 00 01 */ li r3, 1 -/* 802BC4E8 002B9448 7C 1B 03 78 */ mr r27, r0 -/* 802BC4EC 002B944C 38 80 00 03 */ li r4, 3 -/* 802BC4F0 002B9450 38 A0 00 01 */ li r5, 1 -/* 802BC4F4 002B9454 48 04 C3 89 */ bl SetZMode__3CGXFb10_GXCompareb -/* 802BC4F8 002B9458 7F 63 DB 78 */ mr r3, r27 -/* 802BC4FC 002B945C 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 802BC500 002B9460 48 0B D0 35 */ bl GXCopyTex -/* 802BC504 002B9464 7F 43 D3 78 */ mr r3, r26 -/* 802BC508 002B9468 7F 24 CB 78 */ mr r4, r25 -/* 802BC50C 002B946C 7F 05 C3 78 */ mr r5, r24 -/* 802BC510 002B9470 7E E6 BB 78 */ mr r6, r23 -/* 802BC514 002B9474 48 04 FB 7D */ bl SetViewport__9CGraphicsFiiii -/* 802BC518 002B9478 7F 43 D3 78 */ mr r3, r26 -/* 802BC51C 002B947C 7F 24 CB 78 */ mr r4, r25 -/* 802BC520 002B9480 7F 05 C3 78 */ mr r5, r24 -/* 802BC524 002B9484 7E E6 BB 78 */ mr r6, r23 -/* 802BC528 002B9488 48 04 FB 35 */ bl SetScissor__9CGraphicsFiiii -lbl_802BC52C: -/* 802BC52C 002B948C BA E1 00 0C */ lmw r23, 0xc(r1) -/* 802BC530 002B9490 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BC534 002B9494 7C 08 03 A6 */ mtlr r0 -/* 802BC538 002B9498 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BC53C 002B949C 4E 80 00 20 */ blr - -.global GetRealReflection__13CCubeRendererFv -GetRealReflection__13CCubeRendererFv: -/* 802BC540 002B94A0 38 00 00 00 */ li r0, 0 -/* 802BC544 002B94A4 90 03 02 DC */ stw r0, 0x2dc(r3) -/* 802BC548 002B94A8 80 03 01 4C */ lwz r0, 0x14c(r3) -/* 802BC54C 002B94AC 28 00 00 00 */ cmplwi r0, 0 -/* 802BC550 002B94B0 40 82 00 0C */ bne lbl_802BC55C -/* 802BC554 002B94B4 38 63 00 E4 */ addi r3, r3, 0xe4 -/* 802BC558 002B94B8 4E 80 00 20 */ blr -lbl_802BC55C: -/* 802BC55C 002B94BC 7C 03 03 78 */ mr r3, r0 -/* 802BC560 002B94C0 4E 80 00 20 */ blr - -.global SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni -SetDebugOption__13CCubeRendererFQ29IRenderer12EDebugOptioni: -/* 802BC564 002B94C4 2C 04 00 01 */ cmpwi r4, 1 -/* 802BC568 002B94C8 41 82 00 34 */ beq lbl_802BC59C -/* 802BC56C 002B94CC 40 80 00 10 */ bge lbl_802BC57C -/* 802BC570 002B94D0 2C 04 00 00 */ cmpwi r4, 0 -/* 802BC574 002B94D4 40 80 00 14 */ bge lbl_802BC588 - -.global sub_802bc578 -sub_802bc578: -/* 802BC578 002B94D8 4E 80 00 20 */ blr -lbl_802BC57C: -/* 802BC57C 002B94DC 2C 04 00 03 */ cmpwi r4, 3 -/* 802BC580 002B94E0 4C 80 00 20 */ bgelr -/* 802BC584 002B94E4 48 00 00 20 */ b lbl_802BC5A4 -lbl_802BC588: -/* 802BC588 002B94E8 7C 05 00 D0 */ neg r0, r5 -/* 802BC58C 002B94EC 7C 00 2B 78 */ or r0, r0, r5 -/* 802BC590 002B94F0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802BC594 002B94F4 98 03 00 C0 */ stb r0, 0xc0(r3) -/* 802BC598 002B94F8 4E 80 00 20 */ blr -lbl_802BC59C: -/* 802BC59C 002B94FC 90 A3 00 C4 */ stw r5, 0xc4(r3) -/* 802BC5A0 002B9500 4E 80 00 20 */ blr -lbl_802BC5A4: -/* 802BC5A4 002B9504 7C 85 00 D0 */ neg r4, r5 -/* 802BC5A8 002B9508 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802BC5AC 002B950C 7C 84 2B 78 */ or r4, r4, r5 -/* 802BC5B0 002B9510 50 80 27 38 */ rlwimi r0, r4, 4, 0x1c, 0x1c -/* 802BC5B4 002B9514 98 03 03 18 */ stb r0, 0x318(r3) -/* 802BC5B8 002B9518 4E 80 00 20 */ blr - -.global SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv -SetDrawableCallback__13CCubeRendererFPFPCvPCvi_vPCv: -/* 802BC5BC 002B951C 90 83 00 A8 */ stw r4, 0xa8(r3) -/* 802BC5C0 002B9520 90 A3 00 AC */ stw r5, 0xac(r3) -/* 802BC5C4 002B9524 4E 80 00 20 */ blr - -.global GetFPS__13CCubeRendererFv -GetFPS__13CCubeRendererFv: -/* 802BC5C8 002B9528 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC5CC 002B952C 7C 08 02 A6 */ mflr r0 -/* 802BC5D0 002B9530 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC5D4 002B9534 48 04 D2 81 */ bl GetFPS__9CGraphicsFv -/* 802BC5D8 002B9538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC5DC 002B953C 7C 08 03 A6 */ mtlr r0 -/* 802BC5E0 002B9540 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC5E4 002B9544 4E 80 00 20 */ blr - -.global SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes -SetClippingPlanes__13CCubeRendererFRC14CFrustumPlanes: -/* 802BC5E8 002B9548 38 03 00 44 */ addi r0, r3, 0x44 -/* 802BC5EC 002B954C 7C 00 20 40 */ cmplw r0, r4 -/* 802BC5F0 002B9550 4D 82 00 20 */ beqlr -/* 802BC5F4 002B9554 80 E3 00 44 */ lwz r7, 0x44(r3) -/* 802BC5F8 002B9558 39 03 00 48 */ addi r8, r3, 0x48 -/* 802BC5FC 002B955C 38 A0 00 00 */ li r5, 0 -/* 802BC600 002B9560 2C 07 00 00 */ cmpwi r7, 0 -/* 802BC604 002B9564 40 81 00 40 */ ble lbl_802BC644 -/* 802BC608 002B9568 2C 07 00 08 */ cmpwi r7, 8 -/* 802BC60C 002B956C 38 C7 FF F8 */ addi r6, r7, -8 -/* 802BC610 002B9570 40 81 00 20 */ ble lbl_802BC630 -/* 802BC614 002B9574 38 06 00 07 */ addi r0, r6, 7 -/* 802BC618 002B9578 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BC61C 002B957C 7C 09 03 A6 */ mtctr r0 -/* 802BC620 002B9580 2C 06 00 00 */ cmpwi r6, 0 -/* 802BC624 002B9584 40 81 00 0C */ ble lbl_802BC630 -lbl_802BC628: -/* 802BC628 002B9588 38 A5 00 08 */ addi r5, r5, 8 -/* 802BC62C 002B958C 42 00 FF FC */ bdnz lbl_802BC628 -lbl_802BC630: -/* 802BC630 002B9590 7C 05 38 50 */ subf r0, r5, r7 -/* 802BC634 002B9594 7C 09 03 A6 */ mtctr r0 -/* 802BC638 002B9598 7C 05 38 00 */ cmpw r5, r7 -/* 802BC63C 002B959C 40 80 00 08 */ bge lbl_802BC644 -lbl_802BC640: -/* 802BC640 002B95A0 42 00 00 00 */ bdnz lbl_802BC640 -lbl_802BC644: -/* 802BC644 002B95A4 38 00 00 00 */ li r0, 0 -/* 802BC648 002B95A8 38 A4 00 04 */ addi r5, r4, 4 -/* 802BC64C 002B95AC 90 03 00 44 */ stw r0, 0x44(r3) -/* 802BC650 002B95B0 80 04 00 00 */ lwz r0, 0(r4) -/* 802BC654 002B95B4 54 00 20 36 */ slwi r0, r0, 4 -/* 802BC658 002B95B8 7C C4 02 14 */ add r6, r4, r0 -/* 802BC65C 002B95BC 38 C6 00 04 */ addi r6, r6, 4 -/* 802BC660 002B95C0 48 00 00 34 */ b lbl_802BC694 -lbl_802BC664: -/* 802BC664 002B95C4 28 08 00 00 */ cmplwi r8, 0 -/* 802BC668 002B95C8 41 82 00 24 */ beq lbl_802BC68C -/* 802BC66C 002B95CC C0 05 00 00 */ lfs f0, 0(r5) -/* 802BC670 002B95D0 D0 08 00 00 */ stfs f0, 0(r8) -/* 802BC674 002B95D4 C0 05 00 04 */ lfs f0, 4(r5) -/* 802BC678 002B95D8 D0 08 00 04 */ stfs f0, 4(r8) -/* 802BC67C 002B95DC C0 05 00 08 */ lfs f0, 8(r5) -/* 802BC680 002B95E0 D0 08 00 08 */ stfs f0, 8(r8) -/* 802BC684 002B95E4 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 802BC688 002B95E8 D0 08 00 0C */ stfs f0, 0xc(r8) -lbl_802BC68C: -/* 802BC68C 002B95EC 39 08 00 10 */ addi r8, r8, 0x10 -/* 802BC690 002B95F0 38 A5 00 10 */ addi r5, r5, 0x10 -lbl_802BC694: -/* 802BC694 002B95F4 7C 05 30 40 */ cmplw r5, r6 -/* 802BC698 002B95F8 40 82 FF CC */ bne lbl_802BC664 -/* 802BC69C 002B95FC 80 04 00 00 */ lwz r0, 0(r4) -/* 802BC6A0 002B9600 90 03 00 44 */ stw r0, 0x44(r3) -/* 802BC6A4 002B9604 4E 80 00 20 */ blr - -.global SetBlendMode_AdditiveDestColor__13CCubeRendererFv -SetBlendMode_AdditiveDestColor__13CCubeRendererFv: -/* 802BC6A8 002B9608 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC6AC 002B960C 7C 08 02 A6 */ mflr r0 -/* 802BC6B0 002B9610 38 60 00 01 */ li r3, 1 -/* 802BC6B4 002B9614 38 80 00 02 */ li r4, 2 -/* 802BC6B8 002B9618 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC6BC 002B961C 38 A0 00 01 */ li r5, 1 -/* 802BC6C0 002B9620 38 C0 00 00 */ li r6, 0 -/* 802BC6C4 002B9624 48 04 F3 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC6C8 002B9628 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC6CC 002B962C 7C 08 03 A6 */ mtlr r0 -/* 802BC6D0 002B9630 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC6D4 002B9634 4E 80 00 20 */ blr - -.global SetBlendMode_Replace__13CCubeRendererFv -SetBlendMode_Replace__13CCubeRendererFv: -/* 802BC6D8 002B9638 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC6DC 002B963C 7C 08 02 A6 */ mflr r0 -/* 802BC6E0 002B9640 38 60 00 01 */ li r3, 1 -/* 802BC6E4 002B9644 38 80 00 01 */ li r4, 1 -/* 802BC6E8 002B9648 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC6EC 002B964C 38 A0 00 00 */ li r5, 0 -/* 802BC6F0 002B9650 38 C0 00 00 */ li r6, 0 -/* 802BC6F4 002B9654 48 04 F3 5D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC6F8 002B9658 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC6FC 002B965C 7C 08 03 A6 */ mtlr r0 -/* 802BC700 002B9660 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC704 002B9664 4E 80 00 20 */ blr - -.global SetBlendMode_InvertSrc__13CCubeRendererFv -SetBlendMode_InvertSrc__13CCubeRendererFv: -/* 802BC708 002B9668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC70C 002B966C 7C 08 02 A6 */ mflr r0 -/* 802BC710 002B9670 38 60 00 02 */ li r3, 2 -/* 802BC714 002B9674 38 80 00 01 */ li r4, 1 -/* 802BC718 002B9678 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC71C 002B967C 38 A0 00 00 */ li r5, 0 -/* 802BC720 002B9680 38 C0 00 0C */ li r6, 0xc -/* 802BC724 002B9684 48 04 F3 2D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC728 002B9688 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC72C 002B968C 7C 08 03 A6 */ mtlr r0 -/* 802BC730 002B9690 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC734 002B9694 4E 80 00 20 */ blr - -.global SetBlendMode_InvertDst__13CCubeRendererFv -SetBlendMode_InvertDst__13CCubeRendererFv: -/* 802BC738 002B9698 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC73C 002B969C 7C 08 02 A6 */ mflr r0 -/* 802BC740 002B96A0 38 60 00 01 */ li r3, 1 -/* 802BC744 002B96A4 38 80 00 03 */ li r4, 3 -/* 802BC748 002B96A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC74C 002B96AC 38 A0 00 00 */ li r5, 0 -/* 802BC750 002B96B0 38 C0 00 00 */ li r6, 0 -/* 802BC754 002B96B4 48 04 F2 FD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC758 002B96B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC75C 002B96BC 7C 08 03 A6 */ mtlr r0 -/* 802BC760 002B96C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC764 002B96C4 4E 80 00 20 */ blr - -.global SetBlendMode_ColorMultiply__13CCubeRendererFv -SetBlendMode_ColorMultiply__13CCubeRendererFv: -/* 802BC768 002B96C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC76C 002B96CC 7C 08 02 A6 */ mflr r0 -/* 802BC770 002B96D0 38 60 00 01 */ li r3, 1 -/* 802BC774 002B96D4 38 80 00 00 */ li r4, 0 -/* 802BC778 002B96D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC77C 002B96DC 38 A0 00 02 */ li r5, 2 -/* 802BC780 002B96E0 38 C0 00 00 */ li r6, 0 -/* 802BC784 002B96E4 48 04 F2 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC788 002B96E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC78C 002B96EC 7C 08 03 A6 */ mtlr r0 -/* 802BC790 002B96F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC794 002B96F4 4E 80 00 20 */ blr - -.global SetBlendMode_NoColorWrite__13CCubeRendererFv -SetBlendMode_NoColorWrite__13CCubeRendererFv: -/* 802BC798 002B96F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC79C 002B96FC 7C 08 02 A6 */ mflr r0 -/* 802BC7A0 002B9700 38 60 00 01 */ li r3, 1 -/* 802BC7A4 002B9704 38 80 00 00 */ li r4, 0 -/* 802BC7A8 002B9708 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC7AC 002B970C 38 A0 00 01 */ li r5, 1 -/* 802BC7B0 002B9710 38 C0 00 00 */ li r6, 0 -/* 802BC7B4 002B9714 48 04 F2 9D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC7B8 002B9718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC7BC 002B971C 7C 08 03 A6 */ mtlr r0 -/* 802BC7C0 002B9720 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC7C4 002B9724 4E 80 00 20 */ blr - -.global SetBlendMode_AlphaBlended__13CCubeRendererFv -SetBlendMode_AlphaBlended__13CCubeRendererFv: -/* 802BC7C8 002B9728 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC7CC 002B972C 7C 08 02 A6 */ mflr r0 -/* 802BC7D0 002B9730 38 60 00 01 */ li r3, 1 -/* 802BC7D4 002B9734 38 80 00 04 */ li r4, 4 -/* 802BC7D8 002B9738 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC7DC 002B973C 38 A0 00 05 */ li r5, 5 -/* 802BC7E0 002B9740 38 C0 00 00 */ li r6, 0 -/* 802BC7E4 002B9744 48 04 F2 6D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC7E8 002B9748 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC7EC 002B974C 7C 08 03 A6 */ mtlr r0 -/* 802BC7F0 002B9750 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC7F4 002B9754 4E 80 00 20 */ blr - -.global SetBlendMode_AdditiveAlpha__13CCubeRendererFv -SetBlendMode_AdditiveAlpha__13CCubeRendererFv: -/* 802BC7F8 002B9758 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC7FC 002B975C 7C 08 02 A6 */ mflr r0 -/* 802BC800 002B9760 38 60 00 01 */ li r3, 1 -/* 802BC804 002B9764 38 80 00 04 */ li r4, 4 -/* 802BC808 002B9768 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC80C 002B976C 38 A0 00 01 */ li r5, 1 -/* 802BC810 002B9770 38 C0 00 00 */ li r6, 0 -/* 802BC814 002B9774 48 04 F2 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BC818 002B9778 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC81C 002B977C 7C 08 03 A6 */ mtlr r0 -/* 802BC820 002B9780 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC824 002B9784 4E 80 00 20 */ blr - -.global SetDepthReadWrite__13CCubeRendererFbb -SetDepthReadWrite__13CCubeRendererFbb: -/* 802BC828 002B9788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BC82C 002B978C 7C 08 02 A6 */ mflr r0 -/* 802BC830 002B9790 7C 83 23 78 */ mr r3, r4 -/* 802BC834 002B9794 38 80 00 03 */ li r4, 3 -/* 802BC838 002B9798 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BC83C 002B979C 48 04 F2 59 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802BC840 002B97A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BC844 002B97A4 7C 08 03 A6 */ mtlr r0 -/* 802BC848 002B97A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BC84C 002B97AC 4E 80 00 20 */ blr - -.global SetViewport__13CCubeRendererFiiii -SetViewport__13CCubeRendererFiiii: -/* 802BC850 002B97B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BC854 002B97B4 7C 08 02 A6 */ mflr r0 -/* 802BC858 002B97B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BC85C 002B97BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BC860 002B97C0 7C FF 3B 78 */ mr r31, r7 -/* 802BC864 002B97C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BC868 002B97C8 7C DE 33 78 */ mr r30, r6 -/* 802BC86C 002B97CC 7F E6 FB 78 */ mr r6, r31 -/* 802BC870 002B97D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BC874 002B97D4 7C BD 2B 78 */ mr r29, r5 -/* 802BC878 002B97D8 7F C5 F3 78 */ mr r5, r30 -/* 802BC87C 002B97DC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802BC880 002B97E0 7C 9C 23 78 */ mr r28, r4 -/* 802BC884 002B97E4 7F 83 E3 78 */ mr r3, r28 -/* 802BC888 002B97E8 7F A4 EB 78 */ mr r4, r29 -/* 802BC88C 002B97EC 48 04 F8 05 */ bl SetViewport__9CGraphicsFiiii -/* 802BC890 002B97F0 7F 83 E3 78 */ mr r3, r28 -/* 802BC894 002B97F4 7F A4 EB 78 */ mr r4, r29 -/* 802BC898 002B97F8 7F C5 F3 78 */ mr r5, r30 -/* 802BC89C 002B97FC 7F E6 FB 78 */ mr r6, r31 -/* 802BC8A0 002B9800 48 04 F7 BD */ bl SetScissor__9CGraphicsFiiii -/* 802BC8A4 002B9804 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BC8A8 002B9808 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BC8AC 002B980C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BC8B0 002B9810 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BC8B4 002B9814 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802BC8B8 002B9818 7C 08 03 A6 */ mtlr r0 -/* 802BC8BC 002B981C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BC8C0 002B9820 4E 80 00 20 */ blr - -.global SetViewportOrtho__13CCubeRendererFbff -SetViewportOrtho__13CCubeRendererFbff: -/* 802BC8C4 002B9824 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802BC8C8 002B9828 7C 08 02 A6 */ mflr r0 -/* 802BC8CC 002B982C 90 01 00 84 */ stw r0, 0x84(r1) -/* 802BC8D0 002B9830 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802BC8D4 002B9834 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802BC8D8 002B9838 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 802BC8DC 002B983C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 802BC8E0 002B9840 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 802BC8E4 002B9844 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 802BC8E8 002B9848 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 802BC8EC 002B984C F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 802BC8F0 002B9850 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802BC8F4 002B9854 3C 80 80 3F */ lis r4, lbl_803F0004@ha -/* 802BC8F8 002B9858 84 C4 D9 10 */ lwzu r6, -0x26f0(r4) -/* 802BC8FC 002B985C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802BC900 002B9860 FC A0 08 90 */ fmr f5, f1 -/* 802BC904 002B9864 FC C0 10 90 */ fmr f6, f2 -/* 802BC908 002B9868 80 04 00 04 */ lwz r0, lbl_803F0004@l(r4) -/* 802BC90C 002B986C 80 E4 00 08 */ lwz r7, 8(r4) -/* 802BC910 002B9870 7C 7F 1B 78 */ mr r31, r3 -/* 802BC914 002B9874 81 04 00 0C */ lwz r8, 0xc(r4) -/* 802BC918 002B9878 41 82 00 18 */ beq lbl_802BC930 -/* 802BC91C 002B987C 54 E3 0F FE */ srwi r3, r7, 0x1f -/* 802BC920 002B9880 7C 63 3A 14 */ add r3, r3, r7 -/* 802BC924 002B9884 7C 63 0E 70 */ srawi r3, r3, 1 -/* 802BC928 002B9888 7C 63 30 50 */ subf r3, r3, r6 -/* 802BC92C 002B988C 48 00 00 08 */ b lbl_802BC934 -lbl_802BC930: -/* 802BC930 002B9890 7C C3 33 78 */ mr r3, r6 -lbl_802BC934: -/* 802BC934 002B9894 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802BC938 002B9898 3C 80 43 30 */ lis r4, 0x4330 -/* 802BC93C 002B989C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802BC940 002B98A0 54 A3 06 3F */ clrlwi. r3, r5, 0x18 -/* 802BC944 002B98A4 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BC948 002B98A8 90 81 00 18 */ stw r4, 0x18(r1) -/* 802BC94C 002B98AC C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802BC950 002B98B0 EF E0 08 28 */ fsubs f31, f0, f1 -/* 802BC954 002B98B4 41 82 00 18 */ beq lbl_802BC96C -/* 802BC958 002B98B8 55 03 0F FE */ srwi r3, r8, 0x1f -/* 802BC95C 002B98BC 7C 63 42 14 */ add r3, r3, r8 -/* 802BC960 002B98C0 7C 63 0E 70 */ srawi r3, r3, 1 -/* 802BC964 002B98C4 7C 63 00 50 */ subf r3, r3, r0 -/* 802BC968 002B98C8 48 00 00 08 */ b lbl_802BC970 -lbl_802BC96C: -/* 802BC96C 002B98CC 7C 03 03 78 */ mr r3, r0 -lbl_802BC970: -/* 802BC970 002B98D0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802BC974 002B98D4 3C 80 43 30 */ lis r4, 0x4330 -/* 802BC978 002B98D8 90 61 00 24 */ stw r3, 0x24(r1) -/* 802BC97C 002B98DC 54 A3 06 3F */ clrlwi. r3, r5, 0x18 -/* 802BC980 002B98E0 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BC984 002B98E4 90 81 00 20 */ stw r4, 0x20(r1) -/* 802BC988 002B98E8 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 802BC98C 002B98EC EF C0 08 28 */ fsubs f30, f0, f1 -/* 802BC990 002B98F0 41 82 00 18 */ beq lbl_802BC9A8 -/* 802BC994 002B98F4 54 E3 0F FE */ srwi r3, r7, 0x1f -/* 802BC998 002B98F8 7C 63 3A 14 */ add r3, r3, r7 -/* 802BC99C 002B98FC 7C 63 0E 70 */ srawi r3, r3, 1 -/* 802BC9A0 002B9900 7C 66 1A 14 */ add r3, r6, r3 -/* 802BC9A4 002B9904 48 00 00 08 */ b lbl_802BC9AC -lbl_802BC9A8: -/* 802BC9A8 002B9908 7C 66 3A 14 */ add r3, r6, r7 -lbl_802BC9AC: -/* 802BC9AC 002B990C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802BC9B0 002B9910 3C 80 43 30 */ lis r4, 0x4330 -/* 802BC9B4 002B9914 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802BC9B8 002B9918 54 A3 06 3F */ clrlwi. r3, r5, 0x18 -/* 802BC9BC 002B991C C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BC9C0 002B9920 90 81 00 28 */ stw r4, 0x28(r1) -/* 802BC9C4 002B9924 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802BC9C8 002B9928 EF A0 08 28 */ fsubs f29, f0, f1 -/* 802BC9CC 002B992C 41 82 00 18 */ beq lbl_802BC9E4 -/* 802BC9D0 002B9930 55 03 0F FE */ srwi r3, r8, 0x1f -/* 802BC9D4 002B9934 7C 63 42 14 */ add r3, r3, r8 -/* 802BC9D8 002B9938 7C 63 0E 70 */ srawi r3, r3, 1 -/* 802BC9DC 002B993C 7C 00 1A 14 */ add r0, r0, r3 -/* 802BC9E0 002B9940 48 00 00 08 */ b lbl_802BC9E8 -lbl_802BC9E4: -/* 802BC9E4 002B9944 7C 00 42 14 */ add r0, r0, r8 -lbl_802BC9E8: -/* 802BC9E8 002B9948 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 802BC9EC 002B994C 3C 00 43 30 */ lis r0, 0x4330 -/* 802BC9F0 002B9950 90 61 00 34 */ stw r3, 0x34(r1) -/* 802BC9F4 002B9954 FC 20 F8 90 */ fmr f1, f31 -/* 802BC9F8 002B9958 C8 62 C2 A0 */ lfd f3, lbl_805ADFC0@sda21(r2) -/* 802BC9FC 002B995C FC 40 E8 90 */ fmr f2, f29 -/* 802BCA00 002B9960 90 01 00 30 */ stw r0, 0x30(r1) -/* 802BCA04 002B9964 FC 80 F0 90 */ fmr f4, f30 -/* 802BCA08 002B9968 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 802BCA0C 002B996C EF 80 18 28 */ fsubs f28, f0, f3 -/* 802BCA10 002B9970 FC 60 E0 90 */ fmr f3, f28 -/* 802BCA14 002B9974 48 04 FB 41 */ bl SetOrtho__9CGraphicsFffffff -/* 802BCA18 002B9978 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BCA1C 002B997C 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BCA20 002B9980 48 04 FD 2D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BCA24 002B9984 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BCA28 002B9988 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BCA2C 002B998C 48 04 FB B5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BCA30 002B9990 FC 20 E8 90 */ fmr f1, f29 -/* 802BCA34 002B9994 38 61 00 08 */ addi r3, r1, 8 -/* 802BCA38 002B9998 FC 40 E0 90 */ fmr f2, f28 -/* 802BCA3C 002B999C 48 05 77 C5 */ bl __ct__9CVector2fFff -/* 802BCA40 002B99A0 FC 20 F8 90 */ fmr f1, f31 -/* 802BCA44 002B99A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BCA48 002B99A8 FC 40 F0 90 */ fmr f2, f30 -/* 802BCA4C 002B99AC 48 05 77 B5 */ bl __ct__9CVector2fFff -/* 802BCA50 002B99B0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802BCA54 002B99B4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802BCA58 002B99B8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802BCA5C 002B99BC D0 1F 00 04 */ stfs f0, 4(r31) -/* 802BCA60 002B99C0 C0 01 00 08 */ lfs f0, 8(r1) -/* 802BCA64 002B99C4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802BCA68 002B99C8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802BCA6C 002B99CC D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 802BCA70 002B99D0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802BCA74 002B99D4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802BCA78 002B99D8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 802BCA7C 002B99DC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 802BCA80 002B99E0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 802BCA84 002B99E4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 802BCA88 002B99E8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 802BCA8C 002B99EC CB 81 00 40 */ lfd f28, 0x40(r1) -/* 802BCA90 002B99F0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802BCA94 002B99F4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802BCA98 002B99F8 7C 08 03 A6 */ mtlr r0 -/* 802BCA9C 002B99FC 38 21 00 80 */ addi r1, r1, 0x80 -/* 802BCAA0 002B9A00 4E 80 00 20 */ blr - -.global SetPerspective__13CCubeRendererFffff -SetPerspective__13CCubeRendererFffff: -/* 802BCAA4 002B9A04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCAA8 002B9A08 7C 08 02 A6 */ mflr r0 -/* 802BCAAC 002B9A0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCAB0 002B9A10 48 04 F9 E1 */ bl SetPerspective__9CGraphicsFffff -/* 802BCAB4 002B9A14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCAB8 002B9A18 7C 08 03 A6 */ mtlr r0 -/* 802BCABC 002B9A1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCAC0 002B9A20 4E 80 00 20 */ blr - -.global SetPerspective__13CCubeRendererFfffff -SetPerspective__13CCubeRendererFfffff: -/* 802BCAC4 002B9A24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCAC8 002B9A28 7C 08 02 A6 */ mflr r0 -/* 802BCACC 002B9A2C EC 42 18 24 */ fdivs f2, f2, f3 -/* 802BCAD0 002B9A30 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCAD4 002B9A34 FC 60 20 90 */ fmr f3, f4 -/* 802BCAD8 002B9A38 FC 80 28 90 */ fmr f4, f5 -/* 802BCADC 002B9A3C 48 04 F9 B5 */ bl SetPerspective__9CGraphicsFffff -/* 802BCAE0 002B9A40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCAE4 002B9A44 7C 08 03 A6 */ mtlr r0 -/* 802BCAE8 002B9A48 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCAEC 002B9A4C 4E 80 00 20 */ blr - -.global SetAmbientColor__13CCubeRendererFRC6CColor -SetAmbientColor__13CCubeRendererFRC6CColor: -/* 802BCAF0 002B9A50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCAF4 002B9A54 7C 08 02 A6 */ mflr r0 -/* 802BCAF8 002B9A58 7C 83 23 78 */ mr r3, r4 -/* 802BCAFC 002B9A5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCB00 002B9A60 48 04 F5 1D */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802BCB04 002B9A64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCB08 002B9A68 7C 08 03 A6 */ mtlr r0 -/* 802BCB0C 002B9A6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCB10 002B9A70 4E 80 00 20 */ blr - -.global EndPrimitive__13CCubeRendererFv -EndPrimitive__13CCubeRendererFv: -/* 802BCB14 002B9A74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCB18 002B9A78 7C 08 02 A6 */ mflr r0 -/* 802BCB1C 002B9A7C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802BCB20 002B9A80 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCB24 002B9A84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BCB28 002B9A88 3B E4 66 A0 */ addi r31, r4, skZero3f@l -/* 802BCB2C 002B9A8C 93 C1 00 08 */ stw r30, 8(r1) -/* 802BCB30 002B9A90 7C 7E 1B 78 */ mr r30, r3 -/* 802BCB34 002B9A94 48 00 00 1C */ b lbl_802BCB50 -lbl_802BCB38: -/* 802BCB38 002B9A98 7F C3 F3 78 */ mr r3, r30 -/* 802BCB3C 002B9A9C 7F E4 FB 78 */ mr r4, r31 -/* 802BCB40 002B9AA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802BCB44 002B9AA4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802BCB48 002B9AA8 7D 89 03 A6 */ mtctr r12 -/* 802BCB4C 002B9AAC 4E 80 04 21 */ bctrl -lbl_802BCB50: -/* 802BCB50 002B9AB0 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 802BCB54 002B9AB4 2C 00 00 00 */ cmpwi r0, 0 -/* 802BCB58 002B9AB8 40 82 FF E0 */ bne lbl_802BCB38 -/* 802BCB5C 002B9ABC 48 04 BA 25 */ bl End__3CGXFv -/* 802BCB60 002B9AC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCB64 002B9AC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BCB68 002B9AC8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BCB6C 002B9ACC 7C 08 03 A6 */ mtlr r0 -/* 802BCB70 002B9AD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCB74 002B9AD4 4E 80 00 20 */ blr - -.global PrimNormal__13CCubeRendererFRC9CVector3f -PrimNormal__13CCubeRendererFRC9CVector3f: -/* 802BCB78 002B9AD8 C0 04 00 00 */ lfs f0, 0(r4) -/* 802BCB7C 002B9ADC D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 802BCB80 002B9AE0 C0 04 00 04 */ lfs f0, 4(r4) -/* 802BCB84 002B9AE4 D0 03 02 E8 */ stfs f0, 0x2e8(r3) -/* 802BCB88 002B9AE8 C0 04 00 08 */ lfs f0, 8(r4) -/* 802BCB8C 002B9AEC D0 03 02 EC */ stfs f0, 0x2ec(r3) -/* 802BCB90 002B9AF0 4E 80 00 20 */ blr - -.global PrimVertex__13CCubeRendererFRC9CVector3f -PrimVertex__13CCubeRendererFRC9CVector3f: -/* 802BCB94 002B9AF4 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 802BCB98 002B9AF8 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 802BCB9C 002B9AFC 38 06 FF FF */ addi r0, r6, -1 -/* 802BCBA0 002B9B00 90 03 00 18 */ stw r0, 0x18(r3) -/* 802BCBA4 002B9B04 C0 24 00 08 */ lfs f1, 8(r4) -/* 802BCBA8 002B9B08 C0 44 00 04 */ lfs f2, 4(r4) -/* 802BCBAC 002B9B0C C0 04 00 00 */ lfs f0, 0(r4) -/* 802BCBB0 002B9B10 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BCBB4 002B9B14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BCBB8 002B9B18 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 802BCBBC 002B9B1C C0 23 02 EC */ lfs f1, 0x2ec(r3) -/* 802BCBC0 002B9B20 C0 43 02 E8 */ lfs f2, 0x2e8(r3) -/* 802BCBC4 002B9B24 C0 03 02 E4 */ lfs f0, 0x2e4(r3) -/* 802BCBC8 002B9B28 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 802BCBCC 002B9B2C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 802BCBD0 002B9B30 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 802BCBD4 002B9B34 80 03 02 E0 */ lwz r0, 0x2e0(r3) -/* 802BCBD8 002B9B38 90 05 80 00 */ stw r0, 0xCC008000@l(r5) -/* 802BCBDC 002B9B3C 4E 80 00 20 */ blr - -.global BeginTriangleFan__13CCubeRendererFi -BeginTriangleFan__13CCubeRendererFi: -/* 802BCBE0 002B9B40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCBE4 002B9B44 7C 08 02 A6 */ mflr r0 -/* 802BCBE8 002B9B48 7C 85 23 78 */ mr r5, r4 -/* 802BCBEC 002B9B4C 38 80 00 A0 */ li r4, 0xa0 -/* 802BCBF0 002B9B50 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCBF4 002B9B54 48 00 00 B5 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -/* 802BCBF8 002B9B58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCBFC 002B9B5C 7C 08 03 A6 */ mtlr r0 -/* 802BCC00 002B9B60 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCC04 002B9B64 4E 80 00 20 */ blr - -.global BeginTriangleStrip__13CCubeRendererFi -BeginTriangleStrip__13CCubeRendererFi: -/* 802BCC08 002B9B68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCC0C 002B9B6C 7C 08 02 A6 */ mflr r0 -/* 802BCC10 002B9B70 7C 85 23 78 */ mr r5, r4 -/* 802BCC14 002B9B74 38 80 00 98 */ li r4, 0x98 -/* 802BCC18 002B9B78 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCC1C 002B9B7C 48 00 00 8D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -/* 802BCC20 002B9B80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCC24 002B9B84 7C 08 03 A6 */ mtlr r0 -/* 802BCC28 002B9B88 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCC2C 002B9B8C 4E 80 00 20 */ blr - -.global BeginTriangles__13CCubeRendererFi -BeginTriangles__13CCubeRendererFi: -/* 802BCC30 002B9B90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCC34 002B9B94 7C 08 02 A6 */ mflr r0 -/* 802BCC38 002B9B98 7C 85 23 78 */ mr r5, r4 -/* 802BCC3C 002B9B9C 38 80 00 90 */ li r4, 0x90 -/* 802BCC40 002B9BA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCC44 002B9BA4 48 00 00 65 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -/* 802BCC48 002B9BA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCC4C 002B9BAC 7C 08 03 A6 */ mtlr r0 -/* 802BCC50 002B9BB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCC54 002B9BB4 4E 80 00 20 */ blr - -.global BeginLineStrip__13CCubeRendererFi -BeginLineStrip__13CCubeRendererFi: -/* 802BCC58 002B9BB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCC5C 002B9BBC 7C 08 02 A6 */ mflr r0 -/* 802BCC60 002B9BC0 7C 85 23 78 */ mr r5, r4 -/* 802BCC64 002B9BC4 38 80 00 B0 */ li r4, 0xb0 -/* 802BCC68 002B9BC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCC6C 002B9BCC 48 00 00 3D */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -/* 802BCC70 002B9BD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCC74 002B9BD4 7C 08 03 A6 */ mtlr r0 -/* 802BCC78 002B9BD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCC7C 002B9BDC 4E 80 00 20 */ blr - -.global BeginLines__13CCubeRendererFi -BeginLines__13CCubeRendererFi: -/* 802BCC80 002B9BE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCC84 002B9BE4 7C 08 02 A6 */ mflr r0 -/* 802BCC88 002B9BE8 7C 85 23 78 */ mr r5, r4 -/* 802BCC8C 002B9BEC 38 80 00 A8 */ li r4, 0xa8 -/* 802BCC90 002B9BF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCC94 002B9BF4 48 00 00 15 */ bl BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -/* 802BCC98 002B9BF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCC9C 002B9BFC 7C 08 03 A6 */ mtlr r0 -/* 802BCCA0 002B9C00 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCCA4 002B9C04 4E 80 00 20 */ blr - -.global BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei -BeginPrimitive__13CCubeRendererFQ29IRenderer14EPrimitiveTypei: -/* 802BCCA8 002B9C08 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802BCCAC 002B9C0C 7C 08 02 A6 */ mflr r0 -/* 802BCCB0 002B9C10 3C C0 80 3D */ lis r6, lbl_803D6580@ha -/* 802BCCB4 002B9C14 38 E0 00 00 */ li r7, 0 -/* 802BCCB8 002B9C18 90 01 00 54 */ stw r0, 0x54(r1) -/* 802BCCBC 002B9C1C 39 26 65 80 */ addi r9, r6, lbl_803D6580@l -/* 802BCCC0 002B9C20 38 C0 00 01 */ li r6, 1 -/* 802BCCC4 002B9C24 39 00 00 00 */ li r8, 0 -/* 802BCCC8 002B9C28 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 802BCCCC 002B9C2C 7C 79 1B 78 */ mr r25, r3 -/* 802BCCD0 002B9C30 7C 9A 23 78 */ mr r26, r4 -/* 802BCCD4 002B9C34 7C BB 2B 78 */ mr r27, r5 -/* 802BCCD8 002B9C38 38 60 00 00 */ li r3, 0 -/* 802BCCDC 002B9C3C 38 80 00 00 */ li r4, 0 -/* 802BCCE0 002B9C40 38 A0 00 00 */ li r5, 0 -/* 802BCCE4 002B9C44 83 89 00 00 */ lwz r28, 0(r9) -/* 802BCCE8 002B9C48 83 A9 00 04 */ lwz r29, 4(r9) -/* 802BCCEC 002B9C4C 83 C9 00 08 */ lwz r30, 8(r9) -/* 802BCCF0 002B9C50 83 E9 00 0C */ lwz r31, 0xc(r9) -/* 802BCCF4 002B9C54 81 89 00 10 */ lwz r12, 0x10(r9) -/* 802BCCF8 002B9C58 81 69 00 14 */ lwz r11, 0x14(r9) -/* 802BCCFC 002B9C5C 81 49 00 18 */ lwz r10, 0x18(r9) -/* 802BCD00 002B9C60 80 09 00 1C */ lwz r0, 0x1c(r9) -/* 802BCD04 002B9C64 39 20 00 02 */ li r9, 2 -/* 802BCD08 002B9C68 93 81 00 08 */ stw r28, 8(r1) -/* 802BCD0C 002B9C6C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802BCD10 002B9C70 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802BCD14 002B9C74 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802BCD18 002B9C78 91 81 00 18 */ stw r12, 0x18(r1) -/* 802BCD1C 002B9C7C 91 61 00 1C */ stw r11, 0x1c(r1) -/* 802BCD20 002B9C80 91 41 00 20 */ stw r10, 0x20(r1) -/* 802BCD24 002B9C84 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BCD28 002B9C88 48 04 BF A5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802BCD2C 002B9C8C 38 60 00 01 */ li r3, 1 -/* 802BCD30 002B9C90 48 04 C1 21 */ bl SetNumChans__3CGXFUc -/* 802BCD34 002B9C94 38 60 00 00 */ li r3, 0 -/* 802BCD38 002B9C98 48 04 C0 DD */ bl SetNumTexGens__3CGXFUc -/* 802BCD3C 002B9C9C 38 60 00 01 */ li r3, 1 -/* 802BCD40 002B9CA0 48 04 BF 51 */ bl SetNumTevStages__3CGXFUc -/* 802BCD44 002B9CA4 38 60 00 00 */ li r3, 0 -/* 802BCD48 002B9CA8 38 80 00 FF */ li r4, 0xff -/* 802BCD4C 002B9CAC 38 A0 00 FF */ li r5, 0xff -/* 802BCD50 002B9CB0 38 C0 00 04 */ li r6, 4 -/* 802BCD54 002B9CB4 48 04 BB F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802BCD58 002B9CB8 38 60 00 00 */ li r3, 0 -/* 802BCD5C 002B9CBC 38 80 00 0F */ li r4, 0xf -/* 802BCD60 002B9CC0 38 A0 00 0F */ li r5, 0xf -/* 802BCD64 002B9CC4 38 C0 00 0F */ li r6, 0xf -/* 802BCD68 002B9CC8 38 E0 00 0A */ li r7, 0xa -/* 802BCD6C 002B9CCC 48 04 BE 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802BCD70 002B9CD0 38 60 00 00 */ li r3, 0 -/* 802BCD74 002B9CD4 38 80 00 07 */ li r4, 7 -/* 802BCD78 002B9CD8 38 A0 00 07 */ li r5, 7 -/* 802BCD7C 002B9CDC 38 C0 00 07 */ li r6, 7 -/* 802BCD80 002B9CE0 38 E0 00 05 */ li r7, 5 -/* 802BCD84 002B9CE4 48 04 BE 11 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802BCD88 002B9CE8 38 60 00 00 */ li r3, 0 -/* 802BCD8C 002B9CEC 48 04 AE C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 802BCD90 002B9CF0 93 79 00 18 */ stw r27, 0x18(r25) -/* 802BCD94 002B9CF4 38 61 00 08 */ addi r3, r1, 8 -/* 802BCD98 002B9CF8 48 04 B0 91 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802BCD9C 002B9CFC 7F 43 D3 78 */ mr r3, r26 -/* 802BCDA0 002B9D00 57 65 04 3E */ clrlwi r5, r27, 0x10 -/* 802BCDA4 002B9D04 38 80 00 00 */ li r4, 0 -/* 802BCDA8 002B9D08 48 04 B7 DD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802BCDAC 002B9D0C BB 21 00 34 */ lmw r25, 0x34(r1) -/* 802BCDB0 002B9D10 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802BCDB4 002B9D14 7C 08 03 A6 */ mtlr r0 -/* 802BCDB8 002B9D18 38 21 00 50 */ addi r1, r1, 0x50 -/* 802BCDBC 002B9D1C 4E 80 00 20 */ blr - -.global PrimColor__13CCubeRendererFRC6CColor -PrimColor__13CCubeRendererFRC6CColor: -/* 802BCDC0 002B9D20 80 04 00 00 */ lwz r0, 0(r4) -/* 802BCDC4 002B9D24 90 03 02 E0 */ stw r0, 0x2e0(r3) -/* 802BCDC8 002B9D28 4E 80 00 20 */ blr - -.global PrimColor__13CCubeRendererFffff -PrimColor__13CCubeRendererFffff: -/* 802BCDCC 002B9D2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BCDD0 002B9D30 7C 08 02 A6 */ mflr r0 -/* 802BCDD4 002B9D34 38 63 02 E0 */ addi r3, r3, 0x2e0 -/* 802BCDD8 002B9D38 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BCDDC 002B9D3C 48 0A 65 C1 */ bl Set__6CColorFffff -/* 802BCDE0 002B9D40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BCDE4 002B9D44 7C 08 03 A6 */ mtlr r0 -/* 802BCDE8 002B9D48 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BCDEC 002B9D4C 4E 80 00 20 */ blr - -.global AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory -AllocateRenderer__8RendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: -/* 802BCDF0 002B9D50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BCDF4 002B9D54 7C 08 02 A6 */ mflr r0 -/* 802BCDF8 002B9D58 3C E0 80 3D */ lis r7, lbl_803D685C@ha -/* 802BCDFC 002B9D5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BCE00 002B9D60 38 07 68 5C */ addi r0, r7, lbl_803D685C@l -/* 802BCE04 002B9D64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BCE08 002B9D68 7C DF 33 78 */ mr r31, r6 -/* 802BCE0C 002B9D6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BCE10 002B9D70 7C BE 2B 78 */ mr r30, r5 -/* 802BCE14 002B9D74 38 A0 00 00 */ li r5, 0 -/* 802BCE18 002B9D78 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BCE1C 002B9D7C 7C 9D 23 78 */ mr r29, r4 -/* 802BCE20 002B9D80 7C 04 03 78 */ mr r4, r0 -/* 802BCE24 002B9D84 93 81 00 10 */ stw r28, 0x10(r1) -/* 802BCE28 002B9D88 7C 7C 1B 78 */ mr r28, r3 -/* 802BCE2C 002B9D8C 38 60 03 1C */ li r3, 0x31c -/* 802BCE30 002B9D90 48 00 31 A9 */ bl "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" -/* 802BCE34 002B9D94 7C 64 1B 79 */ or. r4, r3, r3 -/* 802BCE38 002B9D98 41 82 00 1C */ beq lbl_802BCE54 -/* 802BCE3C 002B9D9C 7F 84 E3 78 */ mr r4, r28 -/* 802BCE40 002B9DA0 7F A5 EB 78 */ mr r5, r29 -/* 802BCE44 002B9DA4 7F C6 F3 78 */ mr r6, r30 -/* 802BCE48 002B9DA8 7F E7 FB 78 */ mr r7, r31 -/* 802BCE4C 002B9DAC 48 00 22 15 */ bl __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory -/* 802BCE50 002B9DB0 7C 64 1B 78 */ mr r4, r3 -lbl_802BCE54: -/* 802BCE54 002B9DB4 28 04 00 00 */ cmplwi r4, 0 -/* 802BCE58 002B9DB8 7C 80 23 78 */ mr r0, r4 -/* 802BCE5C 002B9DBC 41 82 00 08 */ beq lbl_802BCE64 -/* 802BCE60 002B9DC0 38 04 00 04 */ addi r0, r4, 4 -lbl_802BCE64: -/* 802BCE64 002B9DC4 90 0D 9A 90 */ stw r0, lbl_805A8650@sda21(r13) -/* 802BCE68 002B9DC8 7C 83 23 78 */ mr r3, r4 -/* 802BCE6C 002B9DCC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BCE70 002B9DD0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BCE74 002B9DD4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BCE78 002B9DD8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BCE7C 002B9DDC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802BCE80 002B9DE0 7C 08 03 A6 */ mtlr r0 -/* 802BCE84 002B9DE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BCE88 002B9DE8 4E 80 00 20 */ blr - -.global "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" -"ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox": -/* 802BCE8C 002B9DEC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802BCE90 002B9DF0 7C 08 02 A6 */ mflr r0 -/* 802BCE94 002B9DF4 90 01 00 94 */ stw r0, 0x94(r1) -/* 802BCE98 002B9DF8 BE 01 00 50 */ stmw r16, 0x50(r1) -/* 802BCE9C 002B9DFC 7C 70 1B 78 */ mr r16, r3 -/* 802BCEA0 002B9E00 7C B1 2B 78 */ mr r17, r5 -/* 802BCEA4 002B9E04 3A E0 00 00 */ li r23, 0 -/* 802BCEA8 002B9E08 80 03 03 04 */ lwz r0, 0x304(r3) -/* 802BCEAC 002B9E0C 2C 00 00 00 */ cmpwi r0, 0 -/* 802BCEB0 002B9E10 41 82 01 E0 */ beq lbl_802BD090 -/* 802BCEB4 002B9E14 3C 60 80 3D */ lis r3, lbl_803D6570@ha -/* 802BCEB8 002B9E18 28 04 00 00 */ cmplwi r4, 0 -/* 802BCEBC 002B9E1C 38 E3 65 70 */ addi r7, r3, lbl_803D6570@l -/* 802BCEC0 002B9E20 3B F1 00 20 */ addi r31, r17, 0x20 -/* 802BCEC4 002B9E24 80 C7 00 00 */ lwz r6, 0(r7) -/* 802BCEC8 002B9E28 3A C0 00 00 */ li r22, 0 -/* 802BCECC 002B9E2C 80 A7 00 04 */ lwz r5, 4(r7) -/* 802BCED0 002B9E30 3A A0 00 00 */ li r21, 0 -/* 802BCED4 002B9E34 80 67 00 08 */ lwz r3, 8(r7) -/* 802BCED8 002B9E38 39 00 00 00 */ li r8, 0 -/* 802BCEDC 002B9E3C 80 07 00 0C */ lwz r0, 0xc(r7) -/* 802BCEE0 002B9E40 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802BCEE4 002B9E44 90 A1 00 34 */ stw r5, 0x34(r1) -/* 802BCEE8 002B9E48 90 61 00 38 */ stw r3, 0x38(r1) -/* 802BCEEC 002B9E4C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802BCEF0 002B9E50 41 82 00 1C */ beq lbl_802BCF0C -/* 802BCEF4 002B9E54 80 11 00 44 */ lwz r0, 0x44(r17) -/* 802BCEF8 002B9E58 2C 00 FF FF */ cmpwi r0, -1 -/* 802BCEFC 002B9E5C 41 82 00 10 */ beq lbl_802BCF0C -/* 802BCF00 002B9E60 80 64 00 04 */ lwz r3, 4(r4) -/* 802BCF04 002B9E64 82 A4 00 28 */ lwz r21, 0x28(r4) -/* 802BCF08 002B9E68 81 03 00 14 */ lwz r8, 0x14(r3) -lbl_802BCF0C: -/* 802BCF0C 002B9E6C 3B 01 00 40 */ addi r24, r1, 0x40 -/* 802BCF10 002B9E70 7E BC AB 78 */ mr r28, r21 -/* 802BCF14 002B9E74 7F 19 C3 78 */ mr r25, r24 -/* 802BCF18 002B9E78 55 1B 10 3A */ slwi r27, r8, 2 -/* 802BCF1C 002B9E7C 3B 41 00 30 */ addi r26, r1, 0x30 -/* 802BCF20 002B9E80 3A 80 00 00 */ li r20, 0 -/* 802BCF24 002B9E84 3B A0 00 00 */ li r29, 0 -/* 802BCF28 002B9E88 48 00 01 54 */ b lbl_802BD07C -lbl_802BCF2C: -/* 802BCF2C 002B9E8C 80 10 03 0C */ lwz r0, 0x30c(r16) -/* 802BCF30 002B9E90 28 15 00 00 */ cmplwi r21, 0 -/* 802BCF34 002B9E94 7F C0 EA 14 */ add r30, r0, r29 -/* 802BCF38 002B9E98 41 82 00 18 */ beq lbl_802BCF50 -/* 802BCF3C 002B9E9C 80 91 00 44 */ lwz r4, 0x44(r17) -/* 802BCF40 002B9EA0 7F 83 E3 78 */ mr r3, r28 -/* 802BCF44 002B9EA4 4B FF 17 81 */ bl TestBit__13CCubeRendererFPCUii -/* 802BCF48 002B9EA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802BCF4C 002B9EAC 41 82 01 24 */ beq lbl_802BD070 -lbl_802BCF50: -/* 802BCF50 002B9EB0 7F 04 C3 78 */ mr r4, r24 -/* 802BCF54 002B9EB4 3A 60 00 00 */ li r19, 0 -/* 802BCF58 002B9EB8 3A 40 00 00 */ li r18, 0 -/* 802BCF5C 002B9EBC 7E C9 03 A6 */ mtctr r22 -/* 802BCF60 002B9EC0 2C 16 00 00 */ cmpwi r22, 0 -/* 802BCF64 002B9EC4 40 81 00 8C */ ble lbl_802BCFF0 -lbl_802BCF68: -/* 802BCF68 002B9EC8 80 64 00 00 */ lwz r3, 0(r4) -/* 802BCF6C 002B9ECC 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 802BCF70 002B9ED0 7C 03 00 00 */ cmpw r3, r0 -/* 802BCF74 002B9ED4 40 82 00 70 */ bne lbl_802BCFE4 -/* 802BCF78 002B9ED8 7F C3 F3 78 */ mr r3, r30 -/* 802BCF7C 002B9EDC 48 04 93 59 */ bl GetRadius__6CLightCFv -/* 802BCF80 002B9EE0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 802BCF84 002B9EE4 7F E3 FB 78 */ mr r3, r31 -/* 802BCF88 002B9EE8 38 81 00 20 */ addi r4, r1, 0x20 -/* 802BCF8C 002B9EEC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802BCF90 002B9EF0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802BCF94 002B9EF4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802BCF98 002B9EF8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802BCF9C 002B9EFC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802BCFA0 002B9F00 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802BCFA4 002B9F04 48 01 59 45 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere -/* 802BCFA8 002B9F08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BCFAC 002B9F0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BCFB0 002B9F10 4C 41 13 82 */ cror 2, 1, 2 -/* 802BCFB4 002B9F14 40 82 00 3C */ bne lbl_802BCFF0 -/* 802BCFB8 002B9F18 56 40 10 3A */ slwi r0, r18, 2 -/* 802BCFBC 002B9F1C 38 61 00 30 */ addi r3, r1, 0x30 -/* 802BCFC0 002B9F20 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802BCFC4 002B9F24 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802BCFC8 002B9F28 40 81 00 28 */ ble lbl_802BCFF0 -/* 802BCFCC 002B9F2C 7C 23 05 2E */ stfsx f1, r3, r0 -/* 802BCFD0 002B9F30 7E 43 93 78 */ mr r3, r18 -/* 802BCFD4 002B9F34 7F C4 F3 78 */ mr r4, r30 -/* 802BCFD8 002B9F38 48 04 F9 ED */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 802BCFDC 002B9F3C 3A 60 00 01 */ li r19, 1 -/* 802BCFE0 002B9F40 48 00 00 10 */ b lbl_802BCFF0 -lbl_802BCFE4: -/* 802BCFE4 002B9F44 38 84 00 04 */ addi r4, r4, 4 -/* 802BCFE8 002B9F48 3A 52 00 01 */ addi r18, r18, 1 -/* 802BCFEC 002B9F4C 42 00 FF 7C */ bdnz lbl_802BCF68 -lbl_802BCFF0: -/* 802BCFF0 002B9F50 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 802BCFF4 002B9F54 40 82 00 7C */ bne lbl_802BD070 -/* 802BCFF8 002B9F58 7F C3 F3 78 */ mr r3, r30 -/* 802BCFFC 002B9F5C 48 04 92 D9 */ bl GetRadius__6CLightCFv -/* 802BD000 002B9F60 C0 1E 00 00 */ lfs f0, 0(r30) -/* 802BD004 002B9F64 7F E3 FB 78 */ mr r3, r31 -/* 802BD008 002B9F68 38 81 00 10 */ addi r4, r1, 0x10 -/* 802BD00C 002B9F6C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802BD010 002B9F70 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802BD014 002B9F74 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802BD018 002B9F78 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802BD01C 002B9F7C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802BD020 002B9F80 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802BD024 002B9F84 48 01 58 C5 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere -/* 802BD028 002B9F88 D0 3A 00 00 */ stfs f1, 0(r26) -/* 802BD02C 002B9F8C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BD030 002B9F90 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802BD034 002B9F94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BD038 002B9F98 4C 41 13 82 */ cror 2, 1, 2 -/* 802BD03C 002B9F9C 40 82 00 34 */ bne lbl_802BD070 -/* 802BD040 002B9FA0 7E C3 B3 78 */ mr r3, r22 -/* 802BD044 002B9FA4 7F C4 F3 78 */ mr r4, r30 -/* 802BD048 002B9FA8 48 04 F9 7D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 802BD04C 002B9FAC 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 802BD050 002B9FB0 38 60 00 01 */ li r3, 1 -/* 802BD054 002B9FB4 7C 63 B0 30 */ slw r3, r3, r22 -/* 802BD058 002B9FB8 3A D6 00 01 */ addi r22, r22, 1 -/* 802BD05C 002B9FBC 90 19 00 00 */ stw r0, 0(r25) -/* 802BD060 002B9FC0 7E E0 1B 78 */ or r0, r23, r3 -/* 802BD064 002B9FC4 54 17 06 3E */ clrlwi r23, r0, 0x18 -/* 802BD068 002B9FC8 3B 39 00 04 */ addi r25, r25, 4 -/* 802BD06C 002B9FCC 3B 5A 00 04 */ addi r26, r26, 4 -lbl_802BD070: -/* 802BD070 002B9FD0 7F 9C DA 14 */ add r28, r28, r27 -/* 802BD074 002B9FD4 3B BD 00 50 */ addi r29, r29, 0x50 -/* 802BD078 002B9FD8 3A 94 00 01 */ addi r20, r20, 1 -lbl_802BD07C: -/* 802BD07C 002B9FDC 80 10 03 04 */ lwz r0, 0x304(r16) -/* 802BD080 002B9FE0 7C 14 00 00 */ cmpw r20, r0 -/* 802BD084 002B9FE4 40 80 00 0C */ bge lbl_802BD090 -/* 802BD088 002B9FE8 2C 16 00 04 */ cmpwi r22, 4 -/* 802BD08C 002B9FEC 41 80 FE A0 */ blt lbl_802BCF2C -lbl_802BD090: -/* 802BD090 002B9FF0 56 E3 06 3F */ clrlwi. r3, r23, 0x18 -/* 802BD094 002B9FF4 41 82 00 20 */ beq lbl_802BD0B4 -/* 802BD098 002B9FF8 80 02 C2 6C */ lwz r0, lbl_805ADF8C@sda21(r2) -/* 802BD09C 002B9FFC 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BD0A0 002BA000 48 04 F8 31 */ bl SetLightState__9CGraphicsFUc -/* 802BD0A4 002BA004 38 81 00 0C */ addi r4, r1, 0xc -/* 802BD0A8 002BA008 38 60 00 00 */ li r3, 0 -/* 802BD0AC 002BA00C 48 04 BC B1 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802BD0B0 002BA010 48 00 00 20 */ b lbl_802BD0D0 -lbl_802BD0B4: -/* 802BD0B4 002BA014 48 04 F8 C9 */ bl DisableAllLights__9CGraphicsFv -/* 802BD0B8 002BA018 38 60 00 00 */ li r3, 0 -/* 802BD0BC 002BA01C 48 04 BC F1 */ bl GetChanAmbColor__3CGXFQ23CGX10EChannelId -/* 802BD0C0 002BA020 90 61 00 08 */ stw r3, 8(r1) -/* 802BD0C4 002BA024 38 81 00 08 */ addi r4, r1, 8 -/* 802BD0C8 002BA028 38 60 00 00 */ li r3, 0 -/* 802BD0CC 002BA02C 48 04 BC 91 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -lbl_802BD0D0: -/* 802BD0D0 002BA030 BA 01 00 50 */ lmw r16, 0x50(r1) -/* 802BD0D4 002BA034 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802BD0D8 002BA038 7C 08 03 A6 */ mtlr r0 -/* 802BD0DC 002BA03C 38 21 00 90 */ addi r1, r1, 0x90 -/* 802BD0E0 002BA040 4E 80 00 20 */ blr - -.global "DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" -"DrawStaticGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": -/* 802BD0E4 002BA044 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BD0E8 002BA048 7C 08 02 A6 */ mflr r0 -/* 802BD0EC 002BA04C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BD0F0 002BA050 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BD0F4 002BA054 7C DF 33 78 */ mr r31, r6 -/* 802BD0F8 002BA058 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BD0FC 002BA05C 7C BE 2B 78 */ mr r30, r5 -/* 802BD100 002BA060 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BD104 002BA064 7C 9D 23 78 */ mr r29, r4 -/* 802BD108 002BA068 93 81 00 10 */ stw r28, 0x10(r1) -/* 802BD10C 002BA06C 7C 7C 1B 78 */ mr r28, r3 -/* 802BD110 002BA070 48 00 01 15 */ bl "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" -/* 802BD114 002BA074 7F 83 E3 78 */ mr r3, r28 -/* 802BD118 002BA078 7F A4 EB 78 */ mr r4, r29 -/* 802BD11C 002BA07C 7F C5 F3 78 */ mr r5, r30 -/* 802BD120 002BA080 7F E6 FB 78 */ mr r6, r31 -/* 802BD124 002BA084 48 00 00 25 */ bl "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" -/* 802BD128 002BA088 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BD12C 002BA08C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BD130 002BA090 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BD134 002BA094 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BD138 002BA098 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802BD13C 002BA09C 7C 08 03 A6 */ mtlr r0 -/* 802BD140 002BA0A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BD144 002BA0A4 4E 80 00 20 */ blr - -.global "DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" -"DrawSortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": -/* 802BD148 002BA0A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BD14C 002BA0AC 7C 08 02 A6 */ mflr r0 -/* 802BD150 002BA0B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BD154 002BA0B4 BF 41 00 08 */ stmw r26, 8(r1) -/* 802BD158 002BA0B8 7C 9B 23 78 */ mr r27, r4 -/* 802BD15C 002BA0BC 7C 7A 1B 78 */ mr r26, r3 -/* 802BD160 002BA0C0 38 80 00 01 */ li r4, 1 -/* 802BD164 002BA0C4 48 00 06 CD */ bl SetupRendererStates__13CCubeRendererFb -/* 802BD168 002BA0C8 83 DA 00 20 */ lwz r30, 0x20(r26) -/* 802BD16C 002BA0CC 3B 80 00 00 */ li r28, 0 -/* 802BD170 002BA0D0 48 00 00 70 */ b lbl_802BD1E0 -lbl_802BD174: -/* 802BD174 002BA0D4 2C 1B FF FF */ cmpwi r27, -1 -/* 802BD178 002BA0D8 38 7E 00 08 */ addi r3, r30, 8 -/* 802BD17C 002BA0DC 41 82 00 10 */ beq lbl_802BD18C -/* 802BD180 002BA0E0 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802BD184 002BA0E4 7C 1B 00 00 */ cmpw r27, r0 -/* 802BD188 002BA0E8 40 82 00 54 */ bne lbl_802BD1DC -lbl_802BD18C: -/* 802BD18C 002BA0EC 80 03 00 04 */ lwz r0, 4(r3) -/* 802BD190 002BA0F0 28 00 00 00 */ cmplwi r0, 0 -/* 802BD194 002BA0F4 41 82 00 08 */ beq lbl_802BD19C -/* 802BD198 002BA0F8 7C 7C 1B 78 */ mr r28, r3 -lbl_802BD19C: -/* 802BD19C 002BA0FC 83 E3 00 14 */ lwz r31, 0x14(r3) -/* 802BD1A0 002BA100 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 802BD1A4 002BA104 48 00 00 20 */ b lbl_802BD1C4 -lbl_802BD1A8: -/* 802BD1A8 002BA108 80 9D 00 04 */ lwz r4, 4(r29) -/* 802BD1AC 002BA10C 88 04 00 40 */ lbz r0, 0x40(r4) -/* 802BD1B0 002BA110 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802BD1B4 002BA114 41 82 00 0C */ beq lbl_802BD1C0 -/* 802BD1B8 002BA118 7F 43 D3 78 */ mr r3, r26 -/* 802BD1BC 002BA11C 48 00 04 F5 */ bl AddWorldSurfaces__13CCubeRendererFR10CCubeModel -lbl_802BD1C0: -/* 802BD1C0 002BA120 3B BD 00 08 */ addi r29, r29, 8 -lbl_802BD1C4: -/* 802BD1C4 002BA124 80 1F 00 04 */ lwz r0, 4(r31) -/* 802BD1C8 002BA128 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802BD1CC 002BA12C 54 00 18 38 */ slwi r0, r0, 3 -/* 802BD1D0 002BA130 7C 03 02 14 */ add r0, r3, r0 -/* 802BD1D4 002BA134 7C 1D 00 40 */ cmplw r29, r0 -/* 802BD1D8 002BA138 40 82 FF D0 */ bne lbl_802BD1A8 -lbl_802BD1DC: -/* 802BD1DC 002BA13C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_802BD1E0: -/* 802BD1E0 002BA140 80 1A 00 24 */ lwz r0, 0x24(r26) -/* 802BD1E4 002BA144 7C 1E 00 40 */ cmplw r30, r0 -/* 802BD1E8 002BA148 40 82 FF 8C */ bne lbl_802BD174 -/* 802BD1EC 002BA14C 48 00 23 B9 */ bl Sort__7BucketsFv -/* 802BD1F0 002BA150 7F 43 D3 78 */ mr r3, r26 -/* 802BD1F4 002BA154 7F 84 E3 78 */ mr r4, r28 -/* 802BD1F8 002BA158 48 00 03 45 */ bl "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" -/* 802BD1FC 002BA15C 7F 43 D3 78 */ mr r3, r26 -/* 802BD200 002BA160 48 00 05 9D */ bl SetupCGraphicsStates__13CCubeRendererFv -/* 802BD204 002BA164 7F 43 D3 78 */ mr r3, r26 -/* 802BD208 002BA168 48 00 04 A5 */ bl DrawRenderBucketsDebug__13CCubeRendererFv -/* 802BD20C 002BA16C 48 00 21 A1 */ bl Clear__7BucketsFv -/* 802BD210 002BA170 BB 41 00 08 */ lmw r26, 8(r1) -/* 802BD214 002BA174 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BD218 002BA178 7C 08 03 A6 */ mtlr r0 -/* 802BD21C 002BA17C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BD220 002BA180 4E 80 00 20 */ blr - -.global "DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi" -"DrawUnsortedGeometry__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>iUiUi": -/* 802BD224 002BA184 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802BD228 002BA188 7C 08 02 A6 */ mflr r0 -/* 802BD22C 002BA18C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802BD230 002BA190 BE A1 00 14 */ stmw r21, 0x14(r1) -/* 802BD234 002BA194 7C 96 23 78 */ mr r22, r4 -/* 802BD238 002BA198 7C 75 1B 78 */ mr r21, r3 -/* 802BD23C 002BA19C 7C B7 2B 78 */ mr r23, r5 -/* 802BD240 002BA1A0 7C D8 33 78 */ mr r24, r6 -/* 802BD244 002BA1A4 3B 60 00 00 */ li r27, 0 -/* 802BD248 002BA1A8 38 80 00 01 */ li r4, 1 -/* 802BD24C 002BA1AC 48 00 05 E5 */ bl SetupRendererStates__13CCubeRendererFb -/* 802BD250 002BA1B0 83 B5 00 20 */ lwz r29, 0x20(r21) -/* 802BD254 002BA1B4 48 00 01 84 */ b lbl_802BD3D8 -lbl_802BD258: -/* 802BD258 002BA1B8 2C 16 FF FF */ cmpwi r22, -1 -/* 802BD25C 002BA1BC 38 9D 00 08 */ addi r4, r29, 8 -/* 802BD260 002BA1C0 41 82 00 10 */ beq lbl_802BD270 -/* 802BD264 002BA1C4 80 04 00 18 */ lwz r0, 0x18(r4) -/* 802BD268 002BA1C8 7C 16 00 00 */ cmpw r22, r0 -/* 802BD26C 002BA1CC 40 82 01 68 */ bne lbl_802BD3D4 -lbl_802BD270: -/* 802BD270 002BA1D0 80 04 00 04 */ lwz r0, 4(r4) -/* 802BD274 002BA1D4 28 00 00 00 */ cmplwi r0, 0 -/* 802BD278 002BA1D8 41 82 00 08 */ beq lbl_802BD280 -/* 802BD27C 002BA1DC 7C 9B 23 78 */ mr r27, r4 -lbl_802BD280: -/* 802BD280 002BA1E0 88 15 00 DC */ lbz r0, 0xdc(r21) -/* 802BD284 002BA1E4 83 E4 00 14 */ lwz r31, 0x14(r4) -/* 802BD288 002BA1E8 28 00 00 00 */ cmplwi r0, 0 -/* 802BD28C 002BA1EC 41 82 00 0C */ beq lbl_802BD298 -/* 802BD290 002BA1F0 3B 55 00 C8 */ addi r26, r21, 0xc8 -/* 802BD294 002BA1F4 48 00 00 08 */ b lbl_802BD29C -lbl_802BD298: -/* 802BD298 002BA1F8 3B 40 00 00 */ li r26, 0 -lbl_802BD29C: -/* 802BD29C 002BA1FC 80 75 00 E0 */ lwz r3, 0xe0(r21) -/* 802BD2A0 002BA200 80 04 00 18 */ lwz r0, 0x18(r4) -/* 802BD2A4 002BA204 7C 03 00 00 */ cmpw r3, r0 -/* 802BD2A8 002BA208 41 82 00 08 */ beq lbl_802BD2B0 -/* 802BD2AC 002BA20C 3B 40 00 00 */ li r26, 0 -lbl_802BD2B0: -/* 802BD2B0 002BA210 83 9F 00 0C */ lwz r28, 0xc(r31) -/* 802BD2B4 002BA214 3B 20 00 00 */ li r25, 0 -/* 802BD2B8 002BA218 48 00 01 04 */ b lbl_802BD3BC -lbl_802BD2BC: -/* 802BD2BC 002BA21C 28 1A 00 00 */ cmplwi r26, 0 -/* 802BD2C0 002BA220 83 DC 00 04 */ lwz r30, 4(r28) -/* 802BD2C4 002BA224 41 82 00 54 */ beq lbl_802BD318 -/* 802BD2C8 002BA228 7F 43 D3 78 */ mr r3, r26 -/* 802BD2CC 002BA22C 7F 24 CB 78 */ mr r4, r25 -/* 802BD2D0 002BA230 48 05 90 09 */ bl GetVisible__10CPVSVisSetCFi -/* 802BD2D4 002BA234 80 95 00 C4 */ lwz r4, 0xc4(r21) -/* 802BD2D8 002BA238 7C 03 00 D0 */ neg r0, r3 -/* 802BD2DC 002BA23C 7C 00 1B 78 */ or r0, r0, r3 -/* 802BD2E0 002BA240 2C 04 00 01 */ cmpwi r4, 1 -/* 802BD2E4 002BA244 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802BD2E8 002BA248 40 82 00 0C */ bne lbl_802BD2F4 -/* 802BD2EC 002BA24C 28 00 00 00 */ cmplwi r0, 0 -/* 802BD2F0 002BA250 41 82 00 14 */ beq lbl_802BD304 -lbl_802BD2F4: -/* 802BD2F4 002BA254 2C 04 00 02 */ cmpwi r4, 2 -/* 802BD2F8 002BA258 40 82 00 20 */ bne lbl_802BD318 -/* 802BD2FC 002BA25C 28 00 00 00 */ cmplwi r0, 0 -/* 802BD300 002BA260 41 82 00 18 */ beq lbl_802BD318 -lbl_802BD304: -/* 802BD304 002BA264 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 802BD308 002BA268 38 60 00 00 */ li r3, 0 -/* 802BD30C 002BA26C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802BD310 002BA270 98 1E 00 40 */ stb r0, 0x40(r30) -/* 802BD314 002BA274 48 00 00 A0 */ b lbl_802BD3B4 -lbl_802BD318: -/* 802BD318 002BA278 88 1E 00 41 */ lbz r0, 0x41(r30) -/* 802BD31C 002BA27C 7E E0 00 38 */ and r0, r23, r0 -/* 802BD320 002BA280 7C 18 00 40 */ cmplw r24, r0 -/* 802BD324 002BA284 41 82 00 18 */ beq lbl_802BD33C -/* 802BD328 002BA288 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 802BD32C 002BA28C 38 60 00 00 */ li r3, 0 -/* 802BD330 002BA290 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802BD334 002BA294 98 1E 00 40 */ stb r0, 0x40(r30) -/* 802BD338 002BA298 48 00 00 7C */ b lbl_802BD3B4 -lbl_802BD33C: -/* 802BD33C 002BA29C 38 75 00 44 */ addi r3, r21, 0x44 -/* 802BD340 002BA2A0 38 9E 00 20 */ addi r4, r30, 0x20 -/* 802BD344 002BA2A4 48 08 7E 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 802BD348 002BA2A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802BD34C 002BA2AC 40 82 00 18 */ bne lbl_802BD364 -/* 802BD350 002BA2B0 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 802BD354 002BA2B4 38 60 00 00 */ li r3, 0 -/* 802BD358 002BA2B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802BD35C 002BA2BC 98 1E 00 40 */ stb r0, 0x40(r30) -/* 802BD360 002BA2C0 48 00 00 54 */ b lbl_802BD3B4 -lbl_802BD364: -/* 802BD364 002BA2C4 88 15 03 18 */ lbz r0, 0x318(r21) -/* 802BD368 002BA2C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802BD36C 002BA2CC 41 82 00 28 */ beq lbl_802BD394 -/* 802BD370 002BA2D0 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 802BD374 002BA2D4 38 60 00 00 */ li r3, 0 -/* 802BD378 002BA2D8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802BD37C 002BA2DC 7E A3 AB 78 */ mr r3, r21 -/* 802BD380 002BA2E0 98 1E 00 40 */ stb r0, 0x40(r30) -/* 802BD384 002BA2E4 7F 64 DB 78 */ mr r4, r27 -/* 802BD388 002BA2E8 7F C5 F3 78 */ mr r5, r30 -/* 802BD38C 002BA2EC 48 00 00 75 */ bl "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" -/* 802BD390 002BA2F0 48 00 00 24 */ b lbl_802BD3B4 -lbl_802BD394: -/* 802BD394 002BA2F4 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 802BD398 002BA2F8 38 60 00 01 */ li r3, 1 -/* 802BD39C 002BA2FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 802BD3A0 002BA300 7E A3 AB 78 */ mr r3, r21 -/* 802BD3A4 002BA304 98 1E 00 40 */ stb r0, 0x40(r30) -/* 802BD3A8 002BA308 7F 64 DB 78 */ mr r4, r27 -/* 802BD3AC 002BA30C 7F C5 F3 78 */ mr r5, r30 -/* 802BD3B0 002BA310 48 00 00 F9 */ bl "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" -lbl_802BD3B4: -/* 802BD3B4 002BA314 3B 9C 00 08 */ addi r28, r28, 8 -/* 802BD3B8 002BA318 3B 39 00 01 */ addi r25, r25, 1 -lbl_802BD3BC: -/* 802BD3BC 002BA31C 80 1F 00 04 */ lwz r0, 4(r31) -/* 802BD3C0 002BA320 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802BD3C4 002BA324 54 00 18 38 */ slwi r0, r0, 3 -/* 802BD3C8 002BA328 7C 03 02 14 */ add r0, r3, r0 -/* 802BD3CC 002BA32C 7C 1C 00 40 */ cmplw r28, r0 -/* 802BD3D0 002BA330 40 82 FE EC */ bne lbl_802BD2BC -lbl_802BD3D4: -/* 802BD3D4 002BA334 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802BD3D8: -/* 802BD3D8 002BA338 80 15 00 24 */ lwz r0, 0x24(r21) -/* 802BD3DC 002BA33C 7C 1D 00 40 */ cmplw r29, r0 -/* 802BD3E0 002BA340 40 82 FE 78 */ bne lbl_802BD258 -/* 802BD3E4 002BA344 7E A3 AB 78 */ mr r3, r21 -/* 802BD3E8 002BA348 48 00 03 B5 */ bl SetupCGraphicsStates__13CCubeRendererFv -/* 802BD3EC 002BA34C BA A1 00 14 */ lmw r21, 0x14(r1) -/* 802BD3F0 002BA350 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802BD3F4 002BA354 7C 08 03 A6 */ mtlr r0 -/* 802BD3F8 002BA358 38 21 00 40 */ addi r1, r1, 0x40 -/* 802BD3FC 002BA35C 4E 80 00 20 */ blr - -.global "HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" -"HandleUnsortedModelWireframe__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": -/* 802BD400 002BA360 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BD404 002BA364 7C 08 02 A6 */ mflr r0 -/* 802BD408 002BA368 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BD40C 002BA36C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802BD410 002BA370 7C BD 2B 78 */ mr r29, r5 -/* 802BD414 002BA374 7C 7B 1B 78 */ mr r27, r3 -/* 802BD418 002BA378 7C 9C 23 78 */ mr r28, r4 -/* 802BD41C 002BA37C 7F A3 EB 78 */ mr r3, r29 -/* 802BD420 002BA380 83 E5 00 38 */ lwz r31, 0x38(r5) -/* 802BD424 002BA384 83 C5 00 3C */ lwz r30, 0x3c(r5) -/* 802BD428 002BA388 48 04 A1 F9 */ bl SetArraysCurrent__10CCubeModelCFv -/* 802BD42C 002BA38C 7F 63 DB 78 */ mr r3, r27 -/* 802BD430 002BA390 7F 84 E3 78 */ mr r4, r28 -/* 802BD434 002BA394 7F A5 EB 78 */ mr r5, r29 -/* 802BD438 002BA398 4B FF FA 55 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" -/* 802BD43C 002BA39C 93 E1 00 08 */ stw r31, 8(r1) -/* 802BD440 002BA3A0 48 00 00 1C */ b lbl_802BD45C -lbl_802BD444: -/* 802BD444 002BA3A4 7F A3 EB 78 */ mr r3, r29 -/* 802BD448 002BA3A8 38 81 00 08 */ addi r4, r1, 8 -/* 802BD44C 002BA3AC 48 04 9A 8D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 802BD450 002BA3B0 80 61 00 08 */ lwz r3, 8(r1) -/* 802BD454 002BA3B4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802BD458 002BA3B8 90 01 00 08 */ stw r0, 8(r1) -lbl_802BD45C: -/* 802BD45C 002BA3BC 80 01 00 08 */ lwz r0, 8(r1) -/* 802BD460 002BA3C0 28 00 00 00 */ cmplwi r0, 0 -/* 802BD464 002BA3C4 40 82 FF E0 */ bne lbl_802BD444 -/* 802BD468 002BA3C8 93 C1 00 08 */ stw r30, 8(r1) -/* 802BD46C 002BA3CC 48 00 00 1C */ b lbl_802BD488 -lbl_802BD470: -/* 802BD470 002BA3D0 7F A3 EB 78 */ mr r3, r29 -/* 802BD474 002BA3D4 38 81 00 08 */ addi r4, r1, 8 -/* 802BD478 002BA3D8 48 04 9A 61 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 802BD47C 002BA3DC 80 61 00 08 */ lwz r3, 8(r1) -/* 802BD480 002BA3E0 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802BD484 002BA3E4 90 01 00 08 */ stw r0, 8(r1) -lbl_802BD488: -/* 802BD488 002BA3E8 80 01 00 08 */ lwz r0, 8(r1) -/* 802BD48C 002BA3EC 28 00 00 00 */ cmplwi r0, 0 -/* 802BD490 002BA3F0 40 82 FF E0 */ bne lbl_802BD470 -/* 802BD494 002BA3F4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802BD498 002BA3F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BD49C 002BA3FC 7C 08 03 A6 */ mtlr r0 -/* 802BD4A0 002BA400 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BD4A4 002BA404 4E 80 00 20 */ blr - -.global "HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel" -"HandleUnsortedModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>R10CCubeModel": -/* 802BD4A8 002BA408 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BD4AC 002BA40C 7C 08 02 A6 */ mflr r0 -/* 802BD4B0 002BA410 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BD4B4 002BA414 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BD4B8 002BA418 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BD4BC 002BA41C 7C BE 2B 78 */ mr r30, r5 -/* 802BD4C0 002BA420 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BD4C4 002BA424 7C 9D 23 78 */ mr r29, r4 -/* 802BD4C8 002BA428 93 81 00 10 */ stw r28, 0x10(r1) -/* 802BD4CC 002BA42C 7C 7C 1B 78 */ mr r28, r3 -/* 802BD4D0 002BA430 83 E5 00 38 */ lwz r31, 0x38(r5) -/* 802BD4D4 002BA434 28 1F 00 00 */ cmplwi r31, 0 -/* 802BD4D8 002BA438 41 82 00 44 */ beq lbl_802BD51C -/* 802BD4DC 002BA43C 7F C3 F3 78 */ mr r3, r30 -/* 802BD4E0 002BA440 48 04 A1 41 */ bl SetArraysCurrent__10CCubeModelCFv -/* 802BD4E4 002BA444 7F 83 E3 78 */ mr r3, r28 -/* 802BD4E8 002BA448 7F A4 EB 78 */ mr r4, r29 -/* 802BD4EC 002BA44C 7F C5 F3 78 */ mr r5, r30 -/* 802BD4F0 002BA450 4B FF F9 9D */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" -/* 802BD4F4 002BA454 93 E1 00 08 */ stw r31, 8(r1) -lbl_802BD4F8: -/* 802BD4F8 002BA458 7F C3 F3 78 */ mr r3, r30 -/* 802BD4FC 002BA45C 38 81 00 08 */ addi r4, r1, 8 -/* 802BD500 002BA460 38 AD A5 F4 */ addi r5, r13, lbl_805A91B4@sda21 -/* 802BD504 002BA464 48 04 9F 41 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 802BD508 002BA468 80 61 00 08 */ lwz r3, 8(r1) -/* 802BD50C 002BA46C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802BD510 002BA470 28 00 00 00 */ cmplwi r0, 0 -/* 802BD514 002BA474 90 01 00 08 */ stw r0, 8(r1) -/* 802BD518 002BA478 40 82 FF E0 */ bne lbl_802BD4F8 -lbl_802BD51C: -/* 802BD51C 002BA47C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BD520 002BA480 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BD524 002BA484 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BD528 002BA488 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BD52C 002BA48C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802BD530 002BA490 7C 08 03 A6 */ mtlr r0 -/* 802BD534 002BA494 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BD538 002BA498 4E 80 00 20 */ blr - -.global "RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>" -"RenderBucketItems__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>": -/* 802BD53C 002BA49C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802BD540 002BA4A0 7C 08 02 A6 */ mflr r0 -/* 802BD544 002BA4A4 3C A0 80 47 */ lis r5, lbl_8046E20C@ha -/* 802BD548 002BA4A8 90 01 00 44 */ stw r0, 0x44(r1) -/* 802BD54C 002BA4AC BE C1 00 18 */ stmw r22, 0x18(r1) -/* 802BD550 002BA4B0 3B E5 E2 0C */ addi r31, r5, lbl_8046E20C@l -/* 802BD554 002BA4B4 7C 9B 23 78 */ mr r27, r4 -/* 802BD558 002BA4B8 7C 7A 1B 78 */ mr r26, r3 -/* 802BD55C 002BA4BC 38 80 FF FF */ li r4, -1 -/* 802BD560 002BA4C0 3B 9F 00 04 */ addi r28, r31, 4 -/* 802BD564 002BA4C4 3B A0 00 00 */ li r29, 0 -/* 802BD568 002BA4C8 83 CD A6 10 */ lwz r30, lbl_805A91D0@sda21(r13) -/* 802BD56C 002BA4CC 48 00 01 14 */ b lbl_802BD680 -lbl_802BD570: -/* 802BD570 002BA4D0 A0 1C 00 00 */ lhz r0, 0(r28) -/* 802BD574 002BA4D4 1C 00 02 04 */ mulli r0, r0, 0x204 -/* 802BD578 002BA4D8 7F 3E 02 14 */ add r25, r30, r0 -/* 802BD57C 002BA4DC 3B 19 00 08 */ addi r24, r25, 8 -/* 802BD580 002BA4E0 3B 39 00 04 */ addi r25, r25, 4 -/* 802BD584 002BA4E4 48 00 00 E0 */ b lbl_802BD664 -lbl_802BD588: -/* 802BD588 002BA4E8 82 F8 00 00 */ lwz r23, 0(r24) -/* 802BD58C 002BA4EC A2 D7 00 00 */ lhz r22, 0(r23) -/* 802BD590 002BA4F0 2C 16 00 01 */ cmpwi r22, 1 -/* 802BD594 002BA4F4 41 82 00 14 */ beq lbl_802BD5A8 -/* 802BD598 002BA4F8 40 80 00 94 */ bge lbl_802BD62C -/* 802BD59C 002BA4FC 2C 16 00 00 */ cmpwi r22, 0 -/* 802BD5A0 002BA500 40 80 00 30 */ bge lbl_802BD5D0 -/* 802BD5A4 002BA504 48 00 00 88 */ b lbl_802BD62C -lbl_802BD5A8: -/* 802BD5A8 002BA508 7C 04 B0 00 */ cmpw r4, r22 -/* 802BD5AC 002BA50C 41 82 00 0C */ beq lbl_802BD5B8 -/* 802BD5B0 002BA510 7F 43 D3 78 */ mr r3, r26 -/* 802BD5B4 002BA514 48 00 01 E9 */ bl SetupCGraphicsStates__13CCubeRendererFv -lbl_802BD5B8: -/* 802BD5B8 002BA518 80 77 00 04 */ lwz r3, 4(r23) -/* 802BD5BC 002BA51C 81 83 00 00 */ lwz r12, 0(r3) -/* 802BD5C0 002BA520 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802BD5C4 002BA524 7D 89 03 A6 */ mtctr r12 -/* 802BD5C8 002BA528 4E 80 04 21 */ bctrl -/* 802BD5CC 002BA52C 48 00 00 90 */ b lbl_802BD65C -lbl_802BD5D0: -/* 802BD5D0 002BA530 7C 04 B0 00 */ cmpw r4, r22 -/* 802BD5D4 002BA534 41 82 00 14 */ beq lbl_802BD5E8 -/* 802BD5D8 002BA538 7F 43 D3 78 */ mr r3, r26 -/* 802BD5DC 002BA53C 38 80 00 00 */ li r4, 0 -/* 802BD5E0 002BA540 48 00 02 51 */ bl SetupRendererStates__13CCubeRendererFb -/* 802BD5E4 002BA544 3B A0 00 00 */ li r29, 0 -lbl_802BD5E8: -/* 802BD5E8 002BA548 80 77 00 04 */ lwz r3, 4(r23) -/* 802BD5EC 002BA54C 90 61 00 08 */ stw r3, 8(r1) -/* 802BD5F0 002BA550 82 E3 00 14 */ lwz r23, 0x14(r3) -/* 802BD5F4 002BA554 7C 17 E8 40 */ cmplw r23, r29 -/* 802BD5F8 002BA558 41 82 00 20 */ beq lbl_802BD618 -/* 802BD5FC 002BA55C 7E E3 BB 78 */ mr r3, r23 -/* 802BD600 002BA560 48 04 A0 21 */ bl SetArraysCurrent__10CCubeModelCFv -/* 802BD604 002BA564 7E FD BB 78 */ mr r29, r23 -/* 802BD608 002BA568 7F 43 D3 78 */ mr r3, r26 -/* 802BD60C 002BA56C 7F 64 DB 78 */ mr r4, r27 -/* 802BD610 002BA570 7E E5 BB 78 */ mr r5, r23 -/* 802BD614 002BA574 4B FF F8 79 */ bl "ActivateLightsForModel__13CCubeRendererFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CAABox" -lbl_802BD618: -/* 802BD618 002BA578 7E E3 BB 78 */ mr r3, r23 -/* 802BD61C 002BA57C 38 81 00 08 */ addi r4, r1, 8 -/* 802BD620 002BA580 38 AD A5 FC */ addi r5, r13, lbl_805A91BC@sda21 -/* 802BD624 002BA584 48 04 9E 21 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 802BD628 002BA588 48 00 00 34 */ b lbl_802BD65C -lbl_802BD62C: -/* 802BD62C 002BA58C 7C 04 B0 00 */ cmpw r4, r22 -/* 802BD630 002BA590 41 82 00 08 */ beq lbl_802BD638 -/* 802BD634 002BA594 48 08 96 D1 */ bl EnsureTevsDirect__13CCubeMaterialFv -lbl_802BD638: -/* 802BD638 002BA598 81 9A 00 A8 */ lwz r12, 0xa8(r26) -/* 802BD63C 002BA59C 28 0C 00 00 */ cmplwi r12, 0 -/* 802BD640 002BA5A0 41 82 00 1C */ beq lbl_802BD65C -/* 802BD644 002BA5A4 A0 97 00 00 */ lhz r4, 0(r23) -/* 802BD648 002BA5A8 80 77 00 04 */ lwz r3, 4(r23) -/* 802BD64C 002BA5AC 38 A4 FF FE */ addi r5, r4, -2 -/* 802BD650 002BA5B0 80 9A 00 AC */ lwz r4, 0xac(r26) -/* 802BD654 002BA5B4 7D 89 03 A6 */ mtctr r12 -/* 802BD658 002BA5B8 4E 80 04 21 */ bctrl -lbl_802BD65C: -/* 802BD65C 002BA5BC 7E C4 B3 78 */ mr r4, r22 -/* 802BD660 002BA5C0 3B 18 00 04 */ addi r24, r24, 4 -lbl_802BD664: -/* 802BD664 002BA5C4 80 19 00 00 */ lwz r0, 0(r25) -/* 802BD668 002BA5C8 54 00 10 3A */ slwi r0, r0, 2 -/* 802BD66C 002BA5CC 7C 79 02 14 */ add r3, r25, r0 -/* 802BD670 002BA5D0 38 03 00 04 */ addi r0, r3, 4 -/* 802BD674 002BA5D4 7C 18 00 40 */ cmplw r24, r0 -/* 802BD678 002BA5D8 40 82 FF 10 */ bne lbl_802BD588 -/* 802BD67C 002BA5DC 3B 9C 00 02 */ addi r28, r28, 2 -lbl_802BD680: -/* 802BD680 002BA5E0 80 1F 00 00 */ lwz r0, 0(r31) -/* 802BD684 002BA5E4 54 00 08 3C */ slwi r0, r0, 1 -/* 802BD688 002BA5E8 7C 7F 02 14 */ add r3, r31, r0 -/* 802BD68C 002BA5EC 38 03 00 04 */ addi r0, r3, 4 -/* 802BD690 002BA5F0 7C 1C 00 40 */ cmplw r28, r0 -/* 802BD694 002BA5F4 40 82 FE DC */ bne lbl_802BD570 -/* 802BD698 002BA5F8 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 802BD69C 002BA5FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802BD6A0 002BA600 7C 08 03 A6 */ mtlr r0 -/* 802BD6A4 002BA604 38 21 00 40 */ addi r1, r1, 0x40 -/* 802BD6A8 002BA608 4E 80 00 20 */ blr - -.global DrawRenderBucketsDebug__13CCubeRendererFv -DrawRenderBucketsDebug__13CCubeRendererFv: -/* 802BD6AC 002BA60C 4E 80 00 20 */ blr - -.global AddWorldSurfaces__13CCubeRendererFR10CCubeModel -AddWorldSurfaces__13CCubeRendererFR10CCubeModel: -/* 802BD6B0 002BA610 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802BD6B4 002BA614 7C 08 02 A6 */ mflr r0 -/* 802BD6B8 002BA618 90 01 00 74 */ stw r0, 0x74(r1) -/* 802BD6BC 002BA61C BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 802BD6C0 002BA620 7C 9B 23 78 */ mr r27, r4 -/* 802BD6C4 002BA624 3C 80 00 05 */ lis r4, 0x00050004@ha -/* 802BD6C8 002BA628 3B A3 00 B0 */ addi r29, r3, 0xb0 -/* 802BD6CC 002BA62C 3B E4 00 04 */ addi r31, r4, 0x00050004@l -/* 802BD6D0 002BA630 80 1B 00 3C */ lwz r0, 0x3c(r27) -/* 802BD6D4 002BA634 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BD6D8 002BA638 48 00 00 A4 */ b lbl_802BD77C -lbl_802BD6DC: -/* 802BD6DC 002BA63C 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 802BD6E0 002BA640 7F 64 DB 78 */ mr r4, r27 -/* 802BD6E4 002BA644 38 61 00 08 */ addi r3, r1, 8 -/* 802BD6E8 002BA648 48 04 9E 25 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 802BD6EC 002BA64C 38 61 00 08 */ addi r3, r1, 8 -/* 802BD6F0 002BA650 48 08 80 5D */ bl GetCompressedBlend__13CCubeMaterialCFv -/* 802BD6F4 002BA654 7C 7E 1B 78 */ mr r30, r3 -/* 802BD6F8 002BA658 38 61 00 1C */ addi r3, r1, 0x1c -/* 802BD6FC 002BA65C 38 81 00 0C */ addi r4, r1, 0xc -/* 802BD700 002BA660 48 08 AB B1 */ bl GetBounds__12CCubeSurfaceCFv -/* 802BD704 002BA664 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 802BD708 002BA668 7C 1E F8 50 */ subf r0, r30, r31 -/* 802BD70C 002BA66C C0 81 00 20 */ lfs f4, 0x20(r1) -/* 802BD710 002BA670 7C 00 00 34 */ cntlzw r0, r0 -/* 802BD714 002BA674 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 802BD718 002BA678 7F A5 EB 78 */ mr r5, r29 -/* 802BD71C 002BA67C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802BD720 002BA680 54 1E D9 7E */ srwi r30, r0, 5 -/* 802BD724 002BA684 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802BD728 002BA688 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BD72C 002BA68C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802BD730 002BA690 38 81 00 34 */ addi r4, r1, 0x34 -/* 802BD734 002BA694 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802BD738 002BA698 83 81 00 0C */ lwz r28, 0xc(r1) -/* 802BD73C 002BA69C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802BD740 002BA6A0 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 802BD744 002BA6A4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802BD748 002BA6A8 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802BD74C 002BA6AC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802BD750 002BA6B0 48 07 9A 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BD754 002BA6B4 7F 86 E3 78 */ mr r6, r28 -/* 802BD758 002BA6B8 7F A7 EB 78 */ mr r7, r29 -/* 802BD75C 002BA6BC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BD760 002BA6C0 38 81 00 34 */ addi r4, r1, 0x34 -/* 802BD764 002BA6C4 57 C8 04 3E */ clrlwi r8, r30, 0x10 -/* 802BD768 002BA6C8 38 A0 00 00 */ li r5, 0 -/* 802BD76C 002BA6CC 48 00 25 AD */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs -/* 802BD770 002BA6D0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802BD774 002BA6D4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802BD778 002BA6D8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_802BD77C: -/* 802BD77C 002BA6DC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802BD780 002BA6E0 28 03 00 00 */ cmplwi r3, 0 -/* 802BD784 002BA6E4 40 82 FF 58 */ bne lbl_802BD6DC -/* 802BD788 002BA6E8 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 802BD78C 002BA6EC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802BD790 002BA6F0 7C 08 03 A6 */ mtlr r0 -/* 802BD794 002BA6F4 38 21 00 70 */ addi r1, r1, 0x70 -/* 802BD798 002BA6F8 4E 80 00 20 */ blr - -.global SetupCGraphicsStates__13CCubeRendererFv -SetupCGraphicsStates__13CCubeRendererFv: -/* 802BD79C 002BA6FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BD7A0 002BA700 7C 08 02 A6 */ mflr r0 -/* 802BD7A4 002BA704 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BD7A8 002BA708 80 02 C2 68 */ lwz r0, lbl_805ADF88@sda21(r2) -/* 802BD7AC 002BA70C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BD7B0 002BA710 48 04 F1 CD */ bl DisableAllLights__9CGraphicsFv -/* 802BD7B4 002BA714 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BD7B8 002BA718 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BD7BC 002BA71C 48 04 EE 25 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BD7C0 002BA720 48 04 B6 E9 */ bl ResetStates__13CTevCombinersFv -/* 802BD7C4 002BA724 C0 22 C3 08 */ lfs f1, lbl_805AE028@sda21(r2) -/* 802BD7C8 002BA728 38 61 00 08 */ addi r3, r1, 8 -/* 802BD7CC 002BA72C C0 82 C2 70 */ lfs f4, lbl_805ADF90@sda21(r2) -/* 802BD7D0 002BA730 FC 40 08 90 */ fmr f2, f1 -/* 802BD7D4 002BA734 FC 60 08 90 */ fmr f3, f1 -/* 802BD7D8 002BA738 48 0A 5C 15 */ bl __ct__6CColorFffff -/* 802BD7DC 002BA73C 48 04 E8 41 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802BD7E0 002BA740 38 81 00 0C */ addi r4, r1, 0xc -/* 802BD7E4 002BA744 38 60 00 00 */ li r3, 0 -/* 802BD7E8 002BA748 48 04 B5 75 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 802BD7EC 002BA74C 38 60 00 01 */ li r3, 1 -/* 802BD7F0 002BA750 38 80 00 03 */ li r4, 3 -/* 802BD7F4 002BA754 38 A0 00 01 */ li r5, 1 -/* 802BD7F8 002BA758 48 04 E2 9D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802BD7FC 002BA75C 38 60 00 01 */ li r3, 1 -/* 802BD800 002BA760 38 80 00 00 */ li r4, 0 -/* 802BD804 002BA764 38 A0 00 00 */ li r5, 0 -/* 802BD808 002BA768 38 C0 00 00 */ li r6, 0 -/* 802BD80C 002BA76C 38 E0 00 00 */ li r7, 0 -/* 802BD810 002BA770 39 00 00 00 */ li r8, 0 -/* 802BD814 002BA774 39 20 00 02 */ li r9, 2 -/* 802BD818 002BA778 48 04 B4 B5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 802BD81C 002BA77C 48 08 94 E9 */ bl EnsureTevsDirect__13CCubeMaterialFv -/* 802BD820 002BA780 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BD824 002BA784 7C 08 03 A6 */ mtlr r0 -/* 802BD828 002BA788 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BD82C 002BA78C 4E 80 00 20 */ blr - -.global SetupRendererStates__13CCubeRendererFb -SetupRendererStates__13CCubeRendererFb: -/* 802BD830 002BA790 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BD834 002BA794 7C 08 02 A6 */ mflr r0 -/* 802BD838 002BA798 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BD83C 002BA79C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BD840 002BA7A0 7C 9F 23 78 */ mr r31, r4 -/* 802BD844 002BA7A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BD848 002BA7A8 7C 7E 1B 78 */ mr r30, r3 -/* 802BD84C 002BA7AC 48 04 F1 31 */ bl DisableAllLights__9CGraphicsFv -/* 802BD850 002BA7B0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BD854 002BA7B4 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BD858 002BA7B8 48 04 ED 89 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BD85C 002BA7BC 38 00 00 00 */ li r0, 0 -/* 802BD860 002BA7C0 38 61 00 0C */ addi r3, r1, 0xc -/* 802BD864 002BA7C4 90 01 00 0C */ stw r0, 0xc(r1) -/* 802BD868 002BA7C8 48 04 E7 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802BD86C 002BA7CC 57 E5 06 3E */ clrlwi r5, r31, 0x18 -/* 802BD870 002BA7D0 38 60 00 01 */ li r3, 1 -/* 802BD874 002BA7D4 38 80 00 03 */ li r4, 3 -/* 802BD878 002BA7D8 48 04 E2 1D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802BD87C 002BA7DC 48 08 80 91 */ bl ResetCachedMaterials__13CCubeMaterialFv -/* 802BD880 002BA7E0 80 1E 02 FC */ lwz r0, 0x2fc(r30) -/* 802BD884 002BA7E4 38 81 00 08 */ addi r4, r1, 8 -/* 802BD888 002BA7E8 38 60 00 02 */ li r3, 2 -/* 802BD88C 002BA7EC 90 01 00 08 */ stw r0, 8(r1) -/* 802BD890 002BA7F0 48 0B DD 6D */ bl GXSetTevColor -/* 802BD894 002BA7F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BD898 002BA7F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BD89C 002BA7FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BD8A0 002BA800 7C 08 03 A6 */ mtlr r0 -/* 802BD8A4 002BA804 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BD8A8 002BA808 4E 80 00 20 */ blr - -.global AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting -AddDrawable__13CCubeRendererFPCvRC9CVector3fRC6CAABoxiQ29IRenderer16EDrawableSorting: -/* 802BD8AC 002BA80C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BD8B0 002BA810 7C 08 02 A6 */ mflr r0 -/* 802BD8B4 002BA814 2C 08 00 01 */ cmpwi r8, 1 -/* 802BD8B8 002BA818 7C 68 1B 78 */ mr r8, r3 -/* 802BD8BC 002BA81C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BD8C0 002BA820 7C 80 23 78 */ mr r0, r4 -/* 802BD8C4 002BA824 40 82 00 20 */ bne lbl_802BD8E4 -/* 802BD8C8 002BA828 81 88 00 A8 */ lwz r12, 0xa8(r8) -/* 802BD8CC 002BA82C 7C 03 03 78 */ mr r3, r0 -/* 802BD8D0 002BA830 7C E5 3B 78 */ mr r5, r7 -/* 802BD8D4 002BA834 80 88 00 AC */ lwz r4, 0xac(r8) -/* 802BD8D8 002BA838 7D 89 03 A6 */ mtctr r12 -/* 802BD8DC 002BA83C 4E 80 04 21 */ bctrl -/* 802BD8E0 002BA840 48 00 00 20 */ b lbl_802BD900 -lbl_802BD8E4: -/* 802BD8E4 002BA844 7C A3 2B 78 */ mr r3, r5 -/* 802BD8E8 002BA848 7C C4 33 78 */ mr r4, r6 -/* 802BD8EC 002BA84C 7C 06 03 78 */ mr r6, r0 -/* 802BD8F0 002BA850 38 A7 00 02 */ addi r5, r7, 2 -/* 802BD8F4 002BA854 38 E8 00 B0 */ addi r7, r8, 0xb0 -/* 802BD8F8 002BA858 39 00 00 00 */ li r8, 0 -/* 802BD8FC 002BA85C 48 00 24 1D */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs -lbl_802BD900: -/* 802BD900 002BA860 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BD904 002BA864 7C 08 03 A6 */ mtlr r0 -/* 802BD908 002BA868 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BD90C 002BA86C 4E 80 00 20 */ blr - -.global AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei -AddPlaneObject__13CCubeRendererFPCvRC6CAABoxRC6CPlanei: -/* 802BD910 002BA870 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802BD914 002BA874 7C 08 02 A6 */ mflr r0 -/* 802BD918 002BA878 90 01 00 64 */ stw r0, 0x64(r1) -/* 802BD91C 002BA87C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802BD920 002BA880 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802BD924 002BA884 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802BD928 002BA888 88 0D A6 29 */ lbz r0, lbl_805A91E9@sda21(r13) -/* 802BD92C 002BA88C 7C 7B 1B 78 */ mr r27, r3 -/* 802BD930 002BA890 7C 9C 23 78 */ mr r28, r4 -/* 802BD934 002BA894 7C BD 2B 78 */ mr r29, r5 -/* 802BD938 002BA898 7C 00 07 75 */ extsb. r0, r0 -/* 802BD93C 002BA89C 7C DE 33 78 */ mr r30, r6 -/* 802BD940 002BA8A0 7C FF 3B 78 */ mr r31, r7 -/* 802BD944 002BA8A4 40 82 00 24 */ bne lbl_802BD968 -/* 802BD948 002BA8A8 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802BD94C 002BA8AC 3C 60 80 48 */ lis r3, lbl_8047916C@ha -/* 802BD950 002BA8B0 38 00 00 01 */ li r0, 1 -/* 802BD954 002BA8B4 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BD958 002BA8B8 D4 23 91 6C */ stfsu f1, lbl_8047916C@l(r3) -/* 802BD95C 002BA8BC D0 23 00 04 */ stfs f1, 4(r3) -/* 802BD960 002BA8C0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802BD964 002BA8C4 98 0D A6 29 */ stb r0, lbl_805A91E9@sda21(r13) -lbl_802BD968: -/* 802BD968 002BA8C8 7F A4 EB 78 */ mr r4, r29 -/* 802BD96C 002BA8CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802BD970 002BA8D0 38 BB 00 B0 */ addi r5, r27, 0xb0 -/* 802BD974 002BA8D4 48 07 98 69 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BD978 002BA8D8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802BD97C 002BA8DC 38 BB 00 B0 */ addi r5, r27, 0xb0 -/* 802BD980 002BA8E0 C0 3B 00 B4 */ lfs f1, 0xb4(r27) -/* 802BD984 002BA8E4 7F A4 EB 78 */ mr r4, r29 -/* 802BD988 002BA8E8 C0 5B 00 B0 */ lfs f2, 0xb0(r27) -/* 802BD98C 002BA8EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 802BD990 002BA8F0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BD994 002BA8F4 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802BD998 002BA8F8 C0 9B 00 B8 */ lfs f4, 0xb8(r27) -/* 802BD99C 002BA8FC C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802BD9A0 002BA900 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 802BD9A4 002BA904 C0 1B 00 BC */ lfs f0, 0xbc(r27) -/* 802BD9A8 002BA908 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 802BD9AC 002BA90C EF E1 00 28 */ fsubs f31, f1, f0 -/* 802BD9B0 002BA910 48 07 98 6D */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BD9B4 002BA914 C0 5B 00 B4 */ lfs f2, 0xb4(r27) -/* 802BD9B8 002BA918 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802BD9BC 002BA91C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BD9C0 002BA920 EC 22 00 72 */ fmuls f1, f2, f1 -/* 802BD9C4 002BA924 C0 7B 00 B0 */ lfs f3, 0xb0(r27) -/* 802BD9C8 002BA928 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802BD9CC 002BA92C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802BD9D0 002BA930 C0 9B 00 B8 */ lfs f4, 0xb8(r27) -/* 802BD9D4 002BA934 EC 43 08 BA */ fmadds f2, f3, f2, f1 -/* 802BD9D8 002BA938 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 802BD9DC 002BA93C C0 3B 00 BC */ lfs f1, 0xbc(r27) -/* 802BD9E0 002BA940 EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 802BD9E4 002BA944 EC 42 08 28 */ fsubs f2, f2, f1 -/* 802BD9E8 002BA948 40 80 00 0C */ bge lbl_802BD9F4 -/* 802BD9EC 002BA94C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802BD9F0 002BA950 41 80 00 F8 */ blt lbl_802BDAE8 -lbl_802BD9F4: -/* 802BD9F4 002BA954 3C 60 80 48 */ lis r3, lbl_8047916C@ha -/* 802BD9F8 002BA958 C0 FE 00 00 */ lfs f7, 0(r30) -/* 802BD9FC 002BA95C C4 03 91 6C */ lfsu f0, lbl_8047916C@l(r3) -/* 802BDA00 002BA960 38 00 00 00 */ li r0, 0 -/* 802BDA04 002BA964 FC 07 00 00 */ fcmpu cr0, f7, f0 -/* 802BDA08 002BA968 40 82 00 28 */ bne lbl_802BDA30 -/* 802BDA0C 002BA96C C0 3E 00 04 */ lfs f1, 4(r30) -/* 802BDA10 002BA970 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BDA14 002BA974 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802BDA18 002BA978 40 82 00 18 */ bne lbl_802BDA30 -/* 802BDA1C 002BA97C C0 3E 00 08 */ lfs f1, 8(r30) -/* 802BDA20 002BA980 C0 03 00 08 */ lfs f0, 8(r3) -/* 802BDA24 002BA984 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802BDA28 002BA988 40 82 00 08 */ bne lbl_802BDA30 -/* 802BDA2C 002BA98C 38 00 00 01 */ li r0, 1 -lbl_802BDA30: -/* 802BDA30 002BA990 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 802BDA34 002BA994 7C 03 00 D0 */ neg r0, r3 -/* 802BDA38 002BA998 7C 00 1B 78 */ or r0, r0, r3 -/* 802BDA3C 002BA99C 54 06 0F FF */ rlwinm. r6, r0, 1, 0x1f, 0x1f -/* 802BDA40 002BA9A0 41 82 00 44 */ beq lbl_802BDA84 -/* 802BDA44 002BA9A4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 802BDA48 002BA9A8 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 802BDA4C 002BA9AC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 802BDA50 002BA9B0 C0 23 00 2C */ lfs f1, 0x2c(r3) -/* 802BDA54 002BA9B4 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 802BDA58 002BA9B8 C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 802BDA5C 002BA9BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BDA60 002BA9C0 D0 81 00 08 */ stfs f4, 8(r1) -/* 802BDA64 002BA9C4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 802BDA68 002BA9C8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802BDA6C 002BA9CC 4C 41 13 82 */ cror 2, 1, 2 -/* 802BDA70 002BA9D0 40 82 00 0C */ bne lbl_802BDA7C -/* 802BDA74 002BA9D4 38 80 00 01 */ li r4, 1 -/* 802BDA78 002BA9D8 48 00 00 58 */ b lbl_802BDAD0 -lbl_802BDA7C: -/* 802BDA7C 002BA9DC 38 80 00 00 */ li r4, 0 -/* 802BDA80 002BA9E0 48 00 00 50 */ b lbl_802BDAD0 -lbl_802BDA84: -/* 802BDA84 002BA9E4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 802BDA88 002BA9E8 C0 3E 00 04 */ lfs f1, 4(r30) -/* 802BDA8C 002BA9EC 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 802BDA90 002BA9F0 C0 DE 00 08 */ lfs f6, 8(r30) -/* 802BDA94 002BA9F4 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 802BDA98 002BA9F8 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 802BDA9C 002BA9FC EC 61 00 32 */ fmuls f3, f1, f0 -/* 802BDAA0 002BAA00 C0 A3 00 2C */ lfs f5, 0x2c(r3) -/* 802BDAA4 002BAA04 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 802BDAA8 002BAA08 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BDAAC 002BAA0C EC 67 19 3A */ fmadds f3, f7, f4, f3 -/* 802BDAB0 002BAA10 EC 66 19 7A */ fmadds f3, f6, f5, f3 -/* 802BDAB4 002BAA14 EC 23 08 28 */ fsubs f1, f3, f1 -/* 802BDAB8 002BAA18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BDABC 002BAA1C 4C 41 13 82 */ cror 2, 1, 2 -/* 802BDAC0 002BAA20 40 82 00 0C */ bne lbl_802BDACC -/* 802BDAC4 002BAA24 38 80 00 01 */ li r4, 1 -/* 802BDAC8 002BAA28 48 00 00 08 */ b lbl_802BDAD0 -lbl_802BDACC: -/* 802BDACC 002BAA2C 38 80 00 00 */ li r4, 0 -lbl_802BDAD0: -/* 802BDAD0 002BAA30 FC 20 F8 90 */ fmr f1, f31 -/* 802BDAD4 002BAA34 7F A3 EB 78 */ mr r3, r29 -/* 802BDAD8 002BAA38 7F C5 F3 78 */ mr r5, r30 -/* 802BDADC 002BAA3C 7F 88 E3 78 */ mr r8, r28 -/* 802BDAE0 002BAA40 38 FF 00 02 */ addi r7, r31, 2 -/* 802BDAE4 002BAA44 48 00 20 39 */ bl InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv -lbl_802BDAE8: -/* 802BDAE8 002BAA48 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802BDAEC 002BAA4C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802BDAF0 002BAA50 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802BDAF4 002BAA54 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802BDAF8 002BAA58 7C 08 03 A6 */ mtlr r0 -/* 802BDAFC 002BAA5C 38 21 00 60 */ addi r1, r1, 0x60 -/* 802BDB00 002BAA60 4E 80 00 20 */ blr - -.global sub_802bdb04 -sub_802bdb04: -/* 802BDB04 002BAA64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BDB08 002BAA68 7C 08 02 A6 */ mflr r0 -/* 802BDB0C 002BAA6C 7C 67 1B 78 */ mr r7, r3 -/* 802BDB10 002BAA70 7C A3 2B 78 */ mr r3, r5 -/* 802BDB14 002BAA74 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BDB18 002BAA78 7C 80 23 78 */ mr r0, r4 -/* 802BDB1C 002BAA7C 7C C4 33 78 */ mr r4, r6 -/* 802BDB20 002BAA80 38 E7 00 B0 */ addi r7, r7, 0xb0 -/* 802BDB24 002BAA84 7C 06 03 78 */ mr r6, r0 -/* 802BDB28 002BAA88 38 A0 00 01 */ li r5, 1 -/* 802BDB2C 002BAA8C 39 00 00 00 */ li r8, 0 -/* 802BDB30 002BAA90 48 00 21 E9 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs -/* 802BDB34 002BAA94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BDB38 002BAA98 7C 08 03 A6 */ mtlr r0 -/* 802BDB3C 002BAA9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BDB40 002BAAA0 4E 80 00 20 */ blr - -.global AddParticleGen__13CCubeRendererFRC12CParticleGen -AddParticleGen__13CCubeRendererFRC12CParticleGen: -/* 802BDB44 002BAAA4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802BDB48 002BAAA8 7C 08 02 A6 */ mflr r0 -/* 802BDB4C 002BAAAC 90 01 00 64 */ stw r0, 0x64(r1) -/* 802BDB50 002BAAB0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802BDB54 002BAAB4 7C 9F 23 78 */ mr r31, r4 -/* 802BDB58 002BAAB8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802BDB5C 002BAABC 7C 7E 1B 78 */ mr r30, r3 -/* 802BDB60 002BAAC0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802BDB64 002BAAC4 81 84 00 00 */ lwz r12, 0(r4) -/* 802BDB68 002BAAC8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802BDB6C 002BAACC 7D 89 03 A6 */ mtctr r12 -/* 802BDB70 002BAAD0 4E 80 04 21 */ bctrl -/* 802BDB74 002BAAD4 88 01 00 38 */ lbz r0, 0x38(r1) -/* 802BDB78 002BAAD8 28 00 00 00 */ cmplwi r0, 0 -/* 802BDB7C 002BAADC 98 01 00 54 */ stb r0, 0x54(r1) -/* 802BDB80 002BAAE0 41 82 00 3C */ beq lbl_802BDBBC -/* 802BDB84 002BAAE4 34 61 00 3C */ addic. r3, r1, 0x3c -/* 802BDB88 002BAAE8 41 82 00 34 */ beq lbl_802BDBBC -/* 802BDB8C 002BAAEC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802BDB90 002BAAF0 D0 03 00 00 */ stfs f0, 0(r3) -/* 802BDB94 002BAAF4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802BDB98 002BAAF8 D0 03 00 04 */ stfs f0, 4(r3) -/* 802BDB9C 002BAAFC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802BDBA0 002BAB00 D0 03 00 08 */ stfs f0, 8(r3) -/* 802BDBA4 002BAB04 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802BDBA8 002BAB08 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802BDBAC 002BAB0C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802BDBB0 002BAB10 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802BDBB4 002BAB14 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802BDBB8 002BAB18 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_802BDBBC: -/* 802BDBBC 002BAB1C 88 01 00 54 */ lbz r0, 0x54(r1) -/* 802BDBC0 002BAB20 38 60 00 00 */ li r3, 0 -/* 802BDBC4 002BAB24 98 61 00 38 */ stb r3, 0x38(r1) -/* 802BDBC8 002BAB28 28 00 00 00 */ cmplwi r0, 0 -/* 802BDBCC 002BAB2C 41 82 00 48 */ beq lbl_802BDC14 -/* 802BDBD0 002BAB30 38 61 00 08 */ addi r3, r1, 8 -/* 802BDBD4 002BAB34 38 81 00 3C */ addi r4, r1, 0x3c -/* 802BDBD8 002BAB38 38 BE 00 B0 */ addi r5, r30, 0xb0 -/* 802BDBDC 002BAB3C 48 07 96 01 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BDBE0 002BAB40 C0 41 00 08 */ lfs f2, 8(r1) -/* 802BDBE4 002BAB44 7F E6 FB 78 */ mr r6, r31 -/* 802BDBE8 002BAB48 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802BDBEC 002BAB4C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802BDBF0 002BAB50 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802BDBF4 002BAB54 38 81 00 3C */ addi r4, r1, 0x3c -/* 802BDBF8 002BAB58 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802BDBFC 002BAB5C 38 FE 00 B0 */ addi r7, r30, 0xb0 -/* 802BDC00 002BAB60 38 A0 00 01 */ li r5, 1 -/* 802BDC04 002BAB64 39 00 00 00 */ li r8, 0 -/* 802BDC08 002BAB68 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802BDC0C 002BAB6C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802BDC10 002BAB70 48 00 21 09 */ bl Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs -lbl_802BDC14: -/* 802BDC14 002BAB74 38 00 00 00 */ li r0, 0 -/* 802BDC18 002BAB78 98 01 00 54 */ stb r0, 0x54(r1) -/* 802BDC1C 002BAB7C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802BDC20 002BAB80 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802BDC24 002BAB84 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802BDC28 002BAB88 7C 08 03 A6 */ mtlr r0 -/* 802BDC2C 002BAB8C 38 21 00 60 */ addi r1, r1, 0x60 -/* 802BDC30 002BAB90 4E 80 00 20 */ blr - -.global EndScene__13CCubeRendererFv -EndScene__13CCubeRendererFv: -/* 802BDC34 002BAB94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BDC38 002BAB98 7C 08 02 A6 */ mflr r0 -/* 802BDC3C 002BAB9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BDC40 002BABA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BDC44 002BABA4 7C 7F 1B 78 */ mr r31, r3 -/* 802BDC48 002BABA8 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) -/* 802BDC4C 002BABAC 88 03 03 18 */ lbz r0, 0x318(r3) -/* 802BDC50 002BABB0 7C 83 00 34 */ cntlzw r3, r4 -/* 802BDC54 002BABB4 50 60 DF FE */ rlwimi r0, r3, 0x1b, 0x1f, 0x1f -/* 802BDC58 002BABB8 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BDC5C 002BABBC 48 04 DE 65 */ bl EndScene__9CGraphicsFv -/* 802BDC60 002BABC0 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 802BDC64 002BABC4 2C 03 00 02 */ cmpwi r3, 2 -/* 802BDC68 002BABC8 41 80 00 1C */ blt lbl_802BDC84 -/* 802BDC6C 002BABCC 80 7F 01 4C */ lwz r3, 0x14c(r31) -/* 802BDC70 002BABD0 38 80 00 01 */ li r4, 1 -/* 802BDC74 002BABD4 48 05 1D 85 */ bl __dt__8CTextureFv -/* 802BDC78 002BABD8 38 00 00 00 */ li r0, 0 -/* 802BDC7C 002BABDC 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 802BDC80 002BABE0 48 00 00 0C */ b lbl_802BDC8C -lbl_802BDC84: -/* 802BDC84 002BABE4 38 03 00 01 */ addi r0, r3, 1 -/* 802BDC88 002BABE8 90 1F 02 DC */ stw r0, 0x2dc(r31) -lbl_802BDC8C: -/* 802BDC8C 002BABEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BDC90 002BABF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BDC94 002BABF4 7C 08 03 A6 */ mtlr r0 -/* 802BDC98 002BABF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BDC9C 002BABFC 4E 80 00 20 */ blr - -.global BeginScene__13CCubeRendererFv -BeginScene__13CCubeRendererFv: -/* 802BDCA0 002BAC00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BDCA4 002BAC04 7C 08 02 A6 */ mflr r0 -/* 802BDCA8 002BAC08 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 802BDCAC 002BAC0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BDCB0 002BAC10 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 802BDCB4 002BAC14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BDCB8 002BAC18 7C 7F 1B 78 */ mr r31, r3 -/* 802BDCBC 002BAC1C 38 60 00 01 */ li r3, 1 -/* 802BDCC0 002BAC20 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BDCC4 002BAC24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BDCC8 002BAC28 83 C4 00 08 */ lwz r30, 8(r4) -/* 802BDCCC 002BAC2C 83 A4 00 0C */ lwz r29, 0xc(r4) -/* 802BDCD0 002BAC30 48 04 BB 3D */ bl SetUseVideoFilter__9CGraphicsFb -/* 802BDCD4 002BAC34 7F C5 F3 78 */ mr r5, r30 -/* 802BDCD8 002BAC38 7F A6 EB 78 */ mr r6, r29 -/* 802BDCDC 002BAC3C 38 60 00 00 */ li r3, 0 -/* 802BDCE0 002BAC40 38 80 00 00 */ li r4, 0 -/* 802BDCE4 002BAC44 48 04 E3 AD */ bl SetViewport__9CGraphicsFiiii -/* 802BDCE8 002BAC48 38 00 00 00 */ li r0, 0 -/* 802BDCEC 002BAC4C 38 61 00 08 */ addi r3, r1, 8 -/* 802BDCF0 002BAC50 98 01 00 08 */ stb r0, 8(r1) -/* 802BDCF4 002BAC54 98 01 00 09 */ stb r0, 9(r1) -/* 802BDCF8 002BAC58 98 01 00 0A */ stb r0, 0xa(r1) -/* 802BDCFC 002BAC5C 98 01 00 0B */ stb r0, 0xb(r1) -/* 802BDD00 002BAC60 48 04 E2 95 */ bl SetClearColor__9CGraphicsFRC6CColor -/* 802BDD04 002BAC64 38 60 00 01 */ li r3, 1 -/* 802BDD08 002BAC68 48 04 DD 69 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802BDD0C 002BAC6C 38 60 00 01 */ li r3, 1 -/* 802BDD10 002BAC70 38 80 00 03 */ li r4, 3 -/* 802BDD14 002BAC74 38 A0 00 01 */ li r5, 1 -/* 802BDD18 002BAC78 48 04 DD 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802BDD1C 002BAC7C 38 60 00 01 */ li r3, 1 -/* 802BDD20 002BAC80 38 80 00 04 */ li r4, 4 -/* 802BDD24 002BAC84 38 A0 00 05 */ li r5, 5 -/* 802BDD28 002BAC88 38 C0 00 00 */ li r6, 0 -/* 802BDD2C 002BAC8C 48 04 DD 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802BDD30 002BAC90 C0 22 C3 0C */ lfs f1, lbl_805AE02C@sda21(r2) -/* 802BDD34 002BAC94 C0 42 C3 10 */ lfs f2, lbl_805AE030@sda21(r2) -/* 802BDD38 002BAC98 C0 62 C2 70 */ lfs f3, lbl_805ADF90@sda21(r2) -/* 802BDD3C 002BAC9C C0 82 C2 94 */ lfs f4, lbl_805ADFB4@sda21(r2) -/* 802BDD40 002BACA0 48 04 E7 51 */ bl SetPerspective__9CGraphicsFffff -/* 802BDD44 002BACA4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BDD48 002BACA8 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 802BDD4C 002BACAC 48 04 E8 95 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BDD50 002BACB0 48 04 C1 B1 */ bl TickRenderTimings__9CGraphicsFv -/* 802BDD54 002BACB4 80 7F 03 10 */ lwz r3, 0x310(r31) -/* 802BDD58 002BACB8 2C 03 00 00 */ cmpwi r3, 0 -/* 802BDD5C 002BACBC 41 82 00 34 */ beq lbl_802BDD90 -/* 802BDD60 002BACC0 38 03 FF FF */ addi r0, r3, -1 -/* 802BDD64 002BACC4 90 1F 03 10 */ stw r0, 0x310(r31) -/* 802BDD68 002BACC8 80 1F 03 10 */ lwz r0, 0x310(r31) -/* 802BDD6C 002BACCC 2C 00 00 00 */ cmpwi r0, 0 -/* 802BDD70 002BACD0 40 82 00 20 */ bne lbl_802BDD90 -/* 802BDD74 002BACD4 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 802BDD78 002BACD8 48 05 03 95 */ bl sub_8030e10c -/* 802BDD7C 002BACDC 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 802BDD80 002BACE0 38 80 00 01 */ li r4, 1 -/* 802BDD84 002BACE4 48 05 1C 75 */ bl __dt__8CTextureFv -/* 802BDD88 002BACE8 38 00 00 00 */ li r0, 0 -/* 802BDD8C 002BACEC 90 1F 03 14 */ stw r0, 0x314(r31) -lbl_802BDD90: -/* 802BDD90 002BACF0 88 7F 03 18 */ lbz r3, 0x318(r31) -/* 802BDD94 002BACF4 50 63 FE F6 */ rlwimi r3, r3, 0x1f, 0x1b, 0x1b -/* 802BDD98 002BACF8 98 7F 03 18 */ stb r3, 0x318(r31) -/* 802BDD9C 002BACFC 88 7F 03 18 */ lbz r3, 0x318(r31) -/* 802BDDA0 002BAD00 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 802BDDA4 002BAD04 40 82 00 10 */ bne lbl_802BDDB4 -/* 802BDDA8 002BAD08 38 00 00 00 */ li r0, 0 -/* 802BDDAC 002BAD0C 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 802BDDB0 002BAD10 98 7F 03 18 */ stb r3, 0x318(r31) -lbl_802BDDB4: -/* 802BDDB4 002BAD14 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BDDB8 002BAD18 38 80 00 00 */ li r4, 0 -/* 802BDDBC 002BAD1C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 802BDDC0 002BAD20 7C 03 00 D0 */ neg r0, r3 -/* 802BDDC4 002BAD24 7C 00 1B 78 */ or r0, r0, r3 -/* 802BDDC8 002BAD28 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802BDDCC 002BAD2C 48 0B E1 F9 */ bl GXSetPixelFmt -/* 802BDDD0 002BAD30 38 60 00 01 */ li r3, 1 -/* 802BDDD4 002BAD34 48 0B E1 59 */ bl GXSetAlphaUpdate -/* 802BDDD8 002BAD38 38 60 00 01 */ li r3, 1 -/* 802BDDDC 002BAD3C 38 80 00 00 */ li r4, 0 -/* 802BDDE0 002BAD40 48 0B E3 01 */ bl GXSetDstAlpha -/* 802BDDE4 002BAD44 48 04 E0 C1 */ bl BeginScene__9CGraphicsFv -/* 802BDDE8 002BAD48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BDDEC 002BAD4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BDDF0 002BAD50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BDDF4 002BAD54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BDDF8 002BAD58 7C 08 03 A6 */ mtlr r0 -/* 802BDDFC 002BAD5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BDE00 002BAD60 4E 80 00 20 */ blr - -.global SetWorldViewpoint__13CCubeRendererFRC12CTransform4f -SetWorldViewpoint__13CCubeRendererFRC12CTransform4f: -/* 802BDE04 002BAD64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BDE08 002BAD68 7C 08 02 A6 */ mflr r0 -/* 802BDE0C 002BAD6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BDE10 002BAD70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BDE14 002BAD74 7C 9F 23 78 */ mr r31, r4 -/* 802BDE18 002BAD78 93 C1 00 08 */ stw r30, 8(r1) -/* 802BDE1C 002BAD7C 7C 7E 1B 78 */ mr r30, r3 -/* 802BDE20 002BAD80 7F E3 FB 78 */ mr r3, r31 -/* 802BDE24 002BAD84 48 04 E9 29 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802BDE28 002BAD88 C0 9F 00 14 */ lfs f4, 0x14(r31) -/* 802BDE2C 002BAD8C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 802BDE30 002BAD90 C0 BF 00 24 */ lfs f5, 0x24(r31) -/* 802BDE34 002BAD94 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802BDE38 002BAD98 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802BDE3C 002BAD9C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 802BDE40 002BADA0 C0 5F 00 2C */ lfs f2, 0x2c(r31) -/* 802BDE44 002BADA4 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 802BDE48 002BADA8 D0 7E 00 B0 */ stfs f3, 0xb0(r30) -/* 802BDE4C 002BADAC D0 9E 00 B4 */ stfs f4, 0xb4(r30) -/* 802BDE50 002BADB0 EC 05 00 BA */ fmadds f0, f5, f2, f0 -/* 802BDE54 002BADB4 D0 BE 00 B8 */ stfs f5, 0xb8(r30) -/* 802BDE58 002BADB8 D0 1E 00 BC */ stfs f0, 0xbc(r30) -/* 802BDE5C 002BADBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BDE60 002BADC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BDE64 002BADC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BDE68 002BADC8 7C 08 03 A6 */ mtlr r0 -/* 802BDE6C 002BADCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BDE70 002BADD0 4E 80 00 20 */ blr - -.global SetModelMatrix__13CCubeRendererFRC12CTransform4f -SetModelMatrix__13CCubeRendererFRC12CTransform4f: -/* 802BDE74 002BADD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BDE78 002BADD8 7C 08 02 A6 */ mflr r0 -/* 802BDE7C 002BADDC 7C 83 23 78 */ mr r3, r4 -/* 802BDE80 002BADE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BDE84 002BADE4 48 04 E7 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802BDE88 002BADE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BDE8C 002BADEC 7C 08 03 A6 */ mtlr r0 -/* 802BDE90 002BADF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BDE94 002BADF4 4E 80 00 20 */ blr - -.global "RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" -"RemoveStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": -/* 802BDE98 002BADF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BDE9C 002BADFC 7C 08 02 A6 */ mflr r0 -/* 802BDEA0 002BAE00 7C 85 23 78 */ mr r5, r4 -/* 802BDEA4 002BAE04 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BDEA8 002BAE08 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BDEAC 002BAE0C 7C 7F 1B 78 */ mr r31, r3 -/* 802BDEB0 002BAE10 7F E4 FB 78 */ mr r4, r31 -/* 802BDEB4 002BAE14 38 61 00 08 */ addi r3, r1, 8 -/* 802BDEB8 002BAE18 48 00 00 31 */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" -/* 802BDEBC 002BAE1C 80 81 00 08 */ lwz r4, 8(r1) -/* 802BDEC0 002BAE20 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 802BDEC4 002BAE24 7C 04 00 40 */ cmplw r4, r0 -/* 802BDEC8 002BAE28 41 82 00 0C */ beq lbl_802BDED4 -/* 802BDECC 002BAE2C 38 7F 00 1C */ addi r3, r31, 0x1c -/* 802BDED0 002BAE30 48 00 24 45 */ bl sub_802c0314 -lbl_802BDED4: -/* 802BDED4 002BAE34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BDED8 002BAE38 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BDEDC 002BAE3C 7C 08 03 A6 */ mtlr r0 -/* 802BDEE0 002BAE40 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BDEE4 002BAE44 4E 80 00 20 */ blr - -.global "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" -"FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>": -/* 802BDEE8 002BAE48 80 C4 00 20 */ lwz r6, 0x20(r4) -/* 802BDEEC 002BAE4C 80 84 00 24 */ lwz r4, 0x24(r4) -/* 802BDEF0 002BAE50 48 00 00 1C */ b lbl_802BDF0C -lbl_802BDEF4: -/* 802BDEF4 002BAE54 80 06 00 08 */ lwz r0, 8(r6) -/* 802BDEF8 002BAE58 7C 00 28 40 */ cmplw r0, r5 -/* 802BDEFC 002BAE5C 40 82 00 0C */ bne lbl_802BDF08 -/* 802BDF00 002BAE60 90 C3 00 00 */ stw r6, 0(r3) -/* 802BDF04 002BAE64 4E 80 00 20 */ blr -lbl_802BDF08: -/* 802BDF08 002BAE68 80 C6 00 04 */ lwz r6, 4(r6) -lbl_802BDF0C: -/* 802BDF0C 002BAE6C 7C 06 20 40 */ cmplw r6, r4 -/* 802BDF10 002BAE70 40 82 FF E4 */ bne lbl_802BDEF4 -/* 802BDF14 002BAE74 90 83 00 00 */ stw r4, 0(r3) -/* 802BDF18 002BAE78 4E 80 00 20 */ blr - -.global "AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei" -"AddStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>PC12CAreaOctTreei": -/* 802BDF1C 002BAE7C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802BDF20 002BAE80 7C 08 02 A6 */ mflr r0 -/* 802BDF24 002BAE84 90 01 00 94 */ stw r0, 0x94(r1) -/* 802BDF28 002BAE88 BF 01 00 70 */ stmw r24, 0x70(r1) -/* 802BDF2C 002BAE8C 7C 78 1B 78 */ mr r24, r3 -/* 802BDF30 002BAE90 7C 99 23 78 */ mr r25, r4 -/* 802BDF34 002BAE94 7C BA 2B 78 */ mr r26, r5 -/* 802BDF38 002BAE98 7C DB 33 78 */ mr r27, r6 -/* 802BDF3C 002BAE9C 7F 04 C3 78 */ mr r4, r24 -/* 802BDF40 002BAEA0 7F 25 CB 78 */ mr r5, r25 -/* 802BDF44 002BAEA4 83 83 00 24 */ lwz r28, 0x24(r3) -/* 802BDF48 002BAEA8 38 61 00 20 */ addi r3, r1, 0x20 -/* 802BDF4C 002BAEAC 4B FF FF 9D */ bl "FindStaticGeometry__13CCubeRendererFPCQ24rstl58vector<21CMetroidModelInstance,Q24rstl17rmemory_allocator>" -/* 802BDF50 002BAEB0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802BDF54 002BAEB4 7C 00 E0 40 */ cmplw r0, r28 -/* 802BDF58 002BAEB8 40 82 02 24 */ bne lbl_802BE17C -/* 802BDF5C 002BAEBC 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802BDF60 002BAEC0 38 60 00 10 */ li r3, 0x10 -/* 802BDF64 002BAEC4 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802BDF68 002BAEC8 38 A0 00 00 */ li r5, 0 -/* 802BDF6C 002BAECC 48 05 79 01 */ bl __nw__FUlPCcPCc -/* 802BDF70 002BAED0 28 03 00 00 */ cmplwi r3, 0 -/* 802BDF74 002BAED4 41 82 00 14 */ beq lbl_802BDF88 -/* 802BDF78 002BAED8 38 00 00 00 */ li r0, 0 -/* 802BDF7C 002BAEDC 90 03 00 04 */ stw r0, 4(r3) -/* 802BDF80 002BAEE0 90 03 00 08 */ stw r0, 8(r3) -/* 802BDF84 002BAEE4 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802BDF88: -/* 802BDF88 002BAEE8 7C 03 00 D0 */ neg r0, r3 -/* 802BDF8C 002BAEEC 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802BDF90 002BAEF0 7C 00 1B 78 */ or r0, r0, r3 -/* 802BDF94 002BAEF4 90 61 00 38 */ stw r3, 0x38(r1) -/* 802BDF98 002BAEF8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802BDF9C 002BAEFC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802BDFA0 002BAF00 98 01 00 34 */ stb r0, 0x34(r1) -/* 802BDFA4 002BAF04 38 60 00 10 */ li r3, 0x10 -/* 802BDFA8 002BAF08 38 A0 00 00 */ li r5, 0 -/* 802BDFAC 002BAF0C 48 05 78 C1 */ bl __nw__FUlPCcPCc -/* 802BDFB0 002BAF10 28 03 00 00 */ cmplwi r3, 0 -/* 802BDFB4 002BAF14 41 82 00 14 */ beq lbl_802BDFC8 -/* 802BDFB8 002BAF18 38 00 00 00 */ li r0, 0 -/* 802BDFBC 002BAF1C 90 03 00 04 */ stw r0, 4(r3) -/* 802BDFC0 002BAF20 90 03 00 08 */ stw r0, 8(r3) -/* 802BDFC4 002BAF24 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802BDFC8: -/* 802BDFC8 002BAF28 7C 83 00 D0 */ neg r4, r3 -/* 802BDFCC 002BAF2C 80 19 00 04 */ lwz r0, 4(r25) -/* 802BDFD0 002BAF30 7C 84 1B 78 */ or r4, r4, r3 -/* 802BDFD4 002BAF34 90 61 00 30 */ stw r3, 0x30(r1) -/* 802BDFD8 002BAF38 54 84 0F FE */ srwi r4, r4, 0x1f -/* 802BDFDC 002BAF3C 2C 00 00 00 */ cmpwi r0, 0 -/* 802BDFE0 002BAF40 98 81 00 2C */ stb r4, 0x2c(r1) -/* 802BDFE4 002BAF44 41 82 01 48 */ beq lbl_802BE12C -/* 802BDFE8 002BAF48 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 802BDFEC 002BAF4C 7C 64 1B 78 */ mr r4, r3 -/* 802BDFF0 002BAF50 80 B8 00 0C */ lwz r5, 0xc(r24) -/* 802BDFF4 002BAF54 38 C0 00 00 */ li r6, 0 -/* 802BDFF8 002BAF58 80 67 00 4C */ lwz r3, 0x4c(r7) -/* 802BDFFC 002BAF5C 48 04 98 05 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" -/* 802BE000 002BAF60 80 61 00 38 */ lwz r3, 0x38(r1) -/* 802BE004 002BAF64 80 99 00 04 */ lwz r4, 4(r25) -/* 802BE008 002BAF68 48 00 26 A1 */ bl sub_802c06a8 -/* 802BE00C 002BAF6C 3C 60 80 3D */ lis r3, lbl_803D685C@ha -/* 802BE010 002BAF70 3B 80 00 00 */ li r28, 0 -/* 802BE014 002BAF74 3B E3 68 5C */ addi r31, r3, lbl_803D685C@l -/* 802BE018 002BAF78 3B A0 00 00 */ li r29, 0 -/* 802BE01C 002BAF7C 48 00 01 04 */ b lbl_802BE120 -lbl_802BE020: -/* 802BE020 002BAF80 80 19 00 0C */ lwz r0, 0xc(r25) -/* 802BE024 002BAF84 7F E4 FB 78 */ mr r4, r31 -/* 802BE028 002BAF88 38 60 00 48 */ li r3, 0x48 -/* 802BE02C 002BAF8C 38 A0 00 00 */ li r5, 0 -/* 802BE030 002BAF90 7F C0 EA 14 */ add r30, r0, r29 -/* 802BE034 002BAF94 48 05 78 39 */ bl __nw__FUlPCcPCc -/* 802BE038 002BAF98 7C 64 1B 79 */ or. r4, r3, r3 -/* 802BE03C 002BAF9C 41 82 00 50 */ beq lbl_802BE08C -/* 802BE040 002BAFA0 80 DE 00 70 */ lwz r6, 0x70(r30) -/* 802BE044 002BAFA4 38 BE 00 34 */ addi r5, r30, 0x34 -/* 802BE048 002BAFA8 38 00 00 00 */ li r0, 0 -/* 802BE04C 002BAFAC 38 9E 00 50 */ addi r4, r30, 0x50 -/* 802BE050 002BAFB0 90 C1 00 08 */ stw r6, 8(r1) -/* 802BE054 002BAFB4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802BE058 002BAFB8 80 BE 00 00 */ lwz r5, 0(r30) -/* 802BE05C 002BAFBC 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 802BE060 002BAFC0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802BE064 002BAFC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE068 002BAFC8 93 81 00 18 */ stw r28, 0x18(r1) -/* 802BE06C 002BAFCC 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 802BE070 002BAFD0 80 DE 00 4C */ lwz r6, 0x4c(r30) -/* 802BE074 002BAFD4 80 FE 00 60 */ lwz r7, 0x60(r30) -/* 802BE078 002BAFD8 81 1E 00 64 */ lwz r8, 0x64(r30) -/* 802BE07C 002BAFDC 81 3E 00 68 */ lwz r9, 0x68(r30) -/* 802BE080 002BAFE0 81 5E 00 6C */ lwz r10, 0x6c(r30) -/* 802BE084 002BAFE4 48 04 98 D1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" -/* 802BE088 002BAFE8 7C 64 1B 78 */ mr r4, r3 -lbl_802BE08C: -/* 802BE08C 002BAFEC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802BE090 002BAFF0 7C 04 00 D0 */ neg r0, r4 -/* 802BE094 002BAFF4 7C 03 23 78 */ or r3, r0, r4 -/* 802BE098 002BAFF8 90 81 00 28 */ stw r4, 0x28(r1) -/* 802BE09C 002BAFFC 80 1E 00 04 */ lwz r0, 4(r30) -/* 802BE0A0 002BB000 54 63 0F FE */ srwi r3, r3, 0x1f -/* 802BE0A4 002BB004 80 BE 00 08 */ lwz r5, 8(r30) -/* 802BE0A8 002BB008 98 61 00 24 */ stb r3, 0x24(r1) -/* 802BE0AC 002BB00C 7C 00 28 00 */ cmpw r0, r5 -/* 802BE0B0 002BB010 41 80 00 1C */ blt lbl_802BE0CC -/* 802BE0B4 002BB014 2C 05 00 00 */ cmpwi r5, 0 -/* 802BE0B8 002BB018 7F C3 F3 78 */ mr r3, r30 -/* 802BE0BC 002BB01C 38 80 00 04 */ li r4, 4 -/* 802BE0C0 002BB020 41 82 00 08 */ beq lbl_802BE0C8 -/* 802BE0C4 002BB024 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802BE0C8: -/* 802BE0C8 002BB028 48 00 25 E1 */ bl sub_802c06a8 -lbl_802BE0CC: -/* 802BE0CC 002BB02C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802BE0D0 002BB030 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802BE0D4 002BB034 54 00 18 38 */ slwi r0, r0, 3 -/* 802BE0D8 002BB038 7C A3 02 15 */ add. r5, r3, r0 -/* 802BE0DC 002BB03C 41 82 00 1C */ beq lbl_802BE0F8 -/* 802BE0E0 002BB040 88 81 00 24 */ lbz r4, 0x24(r1) -/* 802BE0E4 002BB044 38 00 00 00 */ li r0, 0 -/* 802BE0E8 002BB048 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802BE0EC 002BB04C 98 85 00 00 */ stb r4, 0(r5) -/* 802BE0F0 002BB050 90 65 00 04 */ stw r3, 4(r5) -/* 802BE0F4 002BB054 98 01 00 24 */ stb r0, 0x24(r1) -lbl_802BE0F8: -/* 802BE0F8 002BB058 80 7E 00 04 */ lwz r3, 4(r30) -/* 802BE0FC 002BB05C 88 01 00 24 */ lbz r0, 0x24(r1) -/* 802BE100 002BB060 38 63 00 01 */ addi r3, r3, 1 -/* 802BE104 002BB064 28 00 00 00 */ cmplwi r0, 0 -/* 802BE108 002BB068 90 7E 00 04 */ stw r3, 4(r30) -/* 802BE10C 002BB06C 41 82 00 0C */ beq lbl_802BE118 -/* 802BE110 002BB070 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802BE114 002BB074 48 05 78 1D */ bl Free__7CMemoryFPCv -lbl_802BE118: -/* 802BE118 002BB078 3B BD 00 74 */ addi r29, r29, 0x74 -/* 802BE11C 002BB07C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802BE120: -/* 802BE120 002BB080 80 19 00 04 */ lwz r0, 4(r25) -/* 802BE124 002BB084 7C 1C 00 00 */ cmpw r28, r0 -/* 802BE128 002BB088 41 80 FE F8 */ blt lbl_802BE020 -lbl_802BE12C: -/* 802BE12C 002BB08C 7F 24 CB 78 */ mr r4, r25 -/* 802BE130 002BB090 7F 45 D3 78 */ mr r5, r26 -/* 802BE134 002BB094 7F 68 DB 78 */ mr r8, r27 -/* 802BE138 002BB098 38 61 00 3C */ addi r3, r1, 0x3c -/* 802BE13C 002BB09C 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802BE140 002BB0A0 38 E1 00 34 */ addi r7, r1, 0x34 -/* 802BE144 002BB0A4 48 00 12 21 */ bl __ct__Q213CCubeRenderer13CAreaListItem -/* 802BE148 002BB0A8 38 78 00 1C */ addi r3, r24, 0x1c -/* 802BE14C 002BB0AC 38 81 00 3C */ addi r4, r1, 0x3c -/* 802BE150 002BB0B0 48 00 00 41 */ bl sub_802be190 -/* 802BE154 002BB0B4 38 61 00 3C */ addi r3, r1, 0x3c -/* 802BE158 002BB0B8 38 80 FF FF */ li r4, -1 -/* 802BE15C 002BB0BC 48 00 02 5D */ bl sub_802be3b8 -/* 802BE160 002BB0C0 48 0B 9E 25 */ bl GXInvalidateVtxCache -/* 802BE164 002BB0C4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802BE168 002BB0C8 38 80 FF FF */ li r4, -1 -/* 802BE16C 002BB0CC 48 00 02 F9 */ bl sub_802be464 -/* 802BE170 002BB0D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 802BE174 002BB0D4 38 80 FF FF */ li r4, -1 -/* 802BE178 002BB0D8 48 00 04 05 */ bl sub_802be57c -lbl_802BE17C: -/* 802BE17C 002BB0DC BB 01 00 70 */ lmw r24, 0x70(r1) -/* 802BE180 002BB0E0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802BE184 002BB0E4 7C 08 03 A6 */ mtlr r0 -/* 802BE188 002BB0E8 38 21 00 90 */ addi r1, r1, 0x90 -/* 802BE18C 002BB0EC 4E 80 00 20 */ blr - -.global sub_802be190 -sub_802be190: -/* 802BE190 002BB0F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BE194 002BB0F4 7C 08 02 A6 */ mflr r0 -/* 802BE198 002BB0F8 7C 85 23 78 */ mr r5, r4 -/* 802BE19C 002BB0FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE1A0 002BB100 80 83 00 08 */ lwz r4, 8(r3) -/* 802BE1A4 002BB104 48 00 00 15 */ bl sub_802be1b8 -/* 802BE1A8 002BB108 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BE1AC 002BB10C 7C 08 03 A6 */ mtlr r0 -/* 802BE1B0 002BB110 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BE1B4 002BB114 4E 80 00 20 */ blr - -.global sub_802be1b8 -sub_802be1b8: -/* 802BE1B8 002BB118 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BE1BC 002BB11C 7C 08 02 A6 */ mflr r0 -/* 802BE1C0 002BB120 7C A6 2B 78 */ mr r6, r5 -/* 802BE1C4 002BB124 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE1C8 002BB128 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE1CC 002BB12C 7C 9F 23 78 */ mr r31, r4 -/* 802BE1D0 002BB130 7F E5 FB 78 */ mr r5, r31 -/* 802BE1D4 002BB134 93 C1 00 08 */ stw r30, 8(r1) -/* 802BE1D8 002BB138 7C 7E 1B 78 */ mr r30, r3 -/* 802BE1DC 002BB13C 80 84 00 00 */ lwz r4, 0(r4) -/* 802BE1E0 002BB140 48 00 00 49 */ bl sub_802be228 -/* 802BE1E4 002BB144 80 1E 00 04 */ lwz r0, 4(r30) -/* 802BE1E8 002BB148 7C 1F 00 40 */ cmplw r31, r0 -/* 802BE1EC 002BB14C 40 82 00 08 */ bne lbl_802BE1F4 -/* 802BE1F0 002BB150 90 7E 00 04 */ stw r3, 4(r30) -lbl_802BE1F4: -/* 802BE1F4 002BB154 80 83 00 00 */ lwz r4, 0(r3) -/* 802BE1F8 002BB158 90 64 00 04 */ stw r3, 4(r4) -/* 802BE1FC 002BB15C 80 83 00 04 */ lwz r4, 4(r3) -/* 802BE200 002BB160 90 64 00 00 */ stw r3, 0(r4) -/* 802BE204 002BB164 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802BE208 002BB168 38 04 00 01 */ addi r0, r4, 1 -/* 802BE20C 002BB16C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802BE210 002BB170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BE214 002BB174 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BE218 002BB178 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BE21C 002BB17C 7C 08 03 A6 */ mtlr r0 -/* 802BE220 002BB180 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BE224 002BB184 4E 80 00 20 */ blr - -.global sub_802be228 -sub_802be228: -/* 802BE228 002BB188 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BE22C 002BB18C 7C 08 02 A6 */ mflr r0 -/* 802BE230 002BB190 3C 60 80 3D */ lis r3, lbl_803D685C@ha -/* 802BE234 002BB194 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BE238 002BB198 38 03 68 5C */ addi r0, r3, lbl_803D685C@l -/* 802BE23C 002BB19C 38 60 00 34 */ li r3, 0x34 -/* 802BE240 002BB1A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BE244 002BB1A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BE248 002BB1A8 7C DE 33 78 */ mr r30, r6 -/* 802BE24C 002BB1AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802BE250 002BB1B0 7C BD 2B 78 */ mr r29, r5 -/* 802BE254 002BB1B4 38 A0 00 00 */ li r5, 0 -/* 802BE258 002BB1B8 93 81 00 10 */ stw r28, 0x10(r1) -/* 802BE25C 002BB1BC 7C 9C 23 78 */ mr r28, r4 -/* 802BE260 002BB1C0 7C 04 03 78 */ mr r4, r0 -/* 802BE264 002BB1C4 48 05 75 B5 */ bl __nwa__FUlPCcPCc -/* 802BE268 002BB1C8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802BE26C 002BB1CC 41 82 00 0C */ beq lbl_802BE278 -/* 802BE270 002BB1D0 93 9F 00 00 */ stw r28, 0(r31) -/* 802BE274 002BB1D4 93 BF 00 04 */ stw r29, 4(r31) -lbl_802BE278: -/* 802BE278 002BB1D8 34 7F 00 08 */ addic. r3, r31, 8 -/* 802BE27C 002BB1DC 41 82 00 0C */ beq lbl_802BE288 -/* 802BE280 002BB1E0 7F C4 F3 78 */ mr r4, r30 -/* 802BE284 002BB1E4 48 00 00 29 */ bl sub_802be2ac -lbl_802BE288: -/* 802BE288 002BB1E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BE28C 002BB1EC 7F E3 FB 78 */ mr r3, r31 -/* 802BE290 002BB1F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BE294 002BB1F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BE298 002BB1F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802BE29C 002BB1FC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802BE2A0 002BB200 7C 08 03 A6 */ mtlr r0 -/* 802BE2A4 002BB204 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BE2A8 002BB208 4E 80 00 20 */ blr - -.global sub_802be2ac -sub_802be2ac: -/* 802BE2AC 002BB20C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BE2B0 002BB210 7C 08 02 A6 */ mflr r0 -/* 802BE2B4 002BB214 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE2B8 002BB218 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE2BC 002BB21C 7C 9F 23 78 */ mr r31, r4 -/* 802BE2C0 002BB220 93 C1 00 08 */ stw r30, 8(r1) -/* 802BE2C4 002BB224 7C 7E 1B 78 */ mr r30, r3 -/* 802BE2C8 002BB228 38 60 00 00 */ li r3, 0 -/* 802BE2CC 002BB22C 80 04 00 00 */ lwz r0, 0(r4) -/* 802BE2D0 002BB230 90 1E 00 00 */ stw r0, 0(r30) -/* 802BE2D4 002BB234 80 04 00 04 */ lwz r0, 4(r4) -/* 802BE2D8 002BB238 90 1E 00 04 */ stw r0, 4(r30) -/* 802BE2DC 002BB23C 88 04 00 08 */ lbz r0, 8(r4) -/* 802BE2E0 002BB240 98 1E 00 08 */ stb r0, 8(r30) -/* 802BE2E4 002BB244 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802BE2E8 002BB248 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802BE2EC 002BB24C 98 64 00 08 */ stb r3, 8(r4) -/* 802BE2F0 002BB250 88 04 00 10 */ lbz r0, 0x10(r4) -/* 802BE2F4 002BB254 98 1E 00 10 */ stb r0, 0x10(r30) -/* 802BE2F8 002BB258 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802BE2FC 002BB25C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802BE300 002BB260 98 64 00 10 */ stb r3, 0x10(r4) -/* 802BE304 002BB264 80 04 00 18 */ lwz r0, 0x18(r4) -/* 802BE308 002BB268 90 1E 00 18 */ stw r0, 0x18(r30) -/* 802BE30C 002BB26C 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802BE310 002BB270 90 1E 00 20 */ stw r0, 0x20(r30) -/* 802BE314 002BB274 80 04 00 24 */ lwz r0, 0x24(r4) -/* 802BE318 002BB278 90 1E 00 24 */ stw r0, 0x24(r30) -/* 802BE31C 002BB27C 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802BE320 002BB280 2C 00 00 00 */ cmpwi r0, 0 -/* 802BE324 002BB284 40 82 00 18 */ bne lbl_802BE33C -/* 802BE328 002BB288 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 802BE32C 002BB28C 2C 00 00 00 */ cmpwi r0, 0 -/* 802BE330 002BB290 40 82 00 0C */ bne lbl_802BE33C -/* 802BE334 002BB294 90 7E 00 28 */ stw r3, 0x28(r30) -/* 802BE338 002BB298 48 00 00 64 */ b lbl_802BE39C -lbl_802BE33C: -/* 802BE33C 002BB29C 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802BE340 002BB2A0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802BE344 002BB2A4 40 82 00 10 */ bne lbl_802BE354 -/* 802BE348 002BB2A8 38 00 00 00 */ li r0, 0 -/* 802BE34C 002BB2AC 90 1E 00 28 */ stw r0, 0x28(r30) -/* 802BE350 002BB2B0 48 00 00 18 */ b lbl_802BE368 -lbl_802BE354: -/* 802BE354 002BB2B4 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802BE358 002BB2B8 38 A0 00 00 */ li r5, 0 -/* 802BE35C 002BB2BC 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802BE360 002BB2C0 48 05 74 B9 */ bl __nwa__FUlPCcPCc -/* 802BE364 002BB2C4 90 7E 00 28 */ stw r3, 0x28(r30) -lbl_802BE368: -/* 802BE368 002BB2C8 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 802BE36C 002BB2CC 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 802BE370 002BB2D0 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 802BE374 002BB2D4 7C 09 03 A6 */ mtctr r0 -/* 802BE378 002BB2D8 2C 00 00 00 */ cmpwi r0, 0 -/* 802BE37C 002BB2DC 40 81 00 20 */ ble lbl_802BE39C -lbl_802BE380: -/* 802BE380 002BB2E0 28 03 00 00 */ cmplwi r3, 0 -/* 802BE384 002BB2E4 41 82 00 0C */ beq lbl_802BE390 -/* 802BE388 002BB2E8 80 04 00 00 */ lwz r0, 0(r4) -/* 802BE38C 002BB2EC 90 03 00 00 */ stw r0, 0(r3) -lbl_802BE390: -/* 802BE390 002BB2F0 38 63 00 04 */ addi r3, r3, 4 -/* 802BE394 002BB2F4 38 84 00 04 */ addi r4, r4, 4 -/* 802BE398 002BB2F8 42 00 FF E8 */ bdnz lbl_802BE380 -lbl_802BE39C: -/* 802BE39C 002BB2FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BE3A0 002BB300 7F C3 F3 78 */ mr r3, r30 -/* 802BE3A4 002BB304 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BE3A8 002BB308 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BE3AC 002BB30C 7C 08 03 A6 */ mtlr r0 -/* 802BE3B0 002BB310 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BE3B4 002BB314 4E 80 00 20 */ blr - -.global sub_802be3b8 -sub_802be3b8: -/* 802BE3B8 002BB318 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BE3BC 002BB31C 7C 08 02 A6 */ mflr r0 -/* 802BE3C0 002BB320 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BE3C4 002BB324 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BE3C8 002BB328 7C 9F 23 78 */ mr r31, r4 -/* 802BE3CC 002BB32C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802BE3D0 002BB330 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802BE3D4 002BB334 41 82 00 74 */ beq lbl_802BE448 -/* 802BE3D8 002BB338 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 802BE3DC 002BB33C 41 82 00 44 */ beq lbl_802BE420 -/* 802BE3E0 002BB340 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 802BE3E4 002BB344 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 802BE3E8 002BB348 54 00 10 3A */ slwi r0, r0, 2 -/* 802BE3EC 002BB34C 7C 03 02 14 */ add r0, r3, r0 -/* 802BE3F0 002BB350 90 61 00 0C */ stw r3, 0xc(r1) -/* 802BE3F4 002BB354 7C 64 1B 78 */ mr r4, r3 -/* 802BE3F8 002BB358 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE3FC 002BB35C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802BE400 002BB360 90 61 00 08 */ stw r3, 8(r1) -/* 802BE404 002BB364 48 00 00 08 */ b lbl_802BE40C -lbl_802BE408: -/* 802BE408 002BB368 38 84 00 04 */ addi r4, r4, 4 -lbl_802BE40C: -/* 802BE40C 002BB36C 7C 04 00 40 */ cmplw r4, r0 -/* 802BE410 002BB370 40 82 FF F8 */ bne lbl_802BE408 -/* 802BE414 002BB374 28 03 00 00 */ cmplwi r3, 0 -/* 802BE418 002BB378 41 82 00 08 */ beq lbl_802BE420 -/* 802BE41C 002BB37C 48 05 75 15 */ bl Free__7CMemoryFPCv -lbl_802BE420: -/* 802BE420 002BB380 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802BE424 002BB384 38 80 FF FF */ li r4, -1 -/* 802BE428 002BB388 48 00 01 55 */ bl sub_802be57c -/* 802BE42C 002BB38C 38 7E 00 08 */ addi r3, r30, 8 -/* 802BE430 002BB390 38 80 FF FF */ li r4, -1 -/* 802BE434 002BB394 48 00 00 31 */ bl sub_802be464 -/* 802BE438 002BB398 7F E0 07 35 */ extsh. r0, r31 -/* 802BE43C 002BB39C 40 81 00 0C */ ble lbl_802BE448 -/* 802BE440 002BB3A0 7F C3 F3 78 */ mr r3, r30 -/* 802BE444 002BB3A4 48 05 74 ED */ bl Free__7CMemoryFPCv -lbl_802BE448: -/* 802BE448 002BB3A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BE44C 002BB3AC 7F C3 F3 78 */ mr r3, r30 -/* 802BE450 002BB3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BE454 002BB3B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802BE458 002BB3B8 7C 08 03 A6 */ mtlr r0 -/* 802BE45C 002BB3BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BE460 002BB3C0 4E 80 00 20 */ blr - -.global sub_802be464 -sub_802be464: -/* 802BE464 002BB3C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BE468 002BB3C8 7C 08 02 A6 */ mflr r0 -/* 802BE46C 002BB3CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE470 002BB3D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE474 002BB3D4 7C 9F 23 78 */ mr r31, r4 -/* 802BE478 002BB3D8 93 C1 00 08 */ stw r30, 8(r1) -/* 802BE47C 002BB3DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802BE480 002BB3E0 41 82 00 2C */ beq lbl_802BE4AC -/* 802BE484 002BB3E4 88 1E 00 00 */ lbz r0, 0(r30) -/* 802BE488 002BB3E8 28 00 00 00 */ cmplwi r0, 0 -/* 802BE48C 002BB3EC 41 82 00 10 */ beq lbl_802BE49C -/* 802BE490 002BB3F0 80 7E 00 04 */ lwz r3, 4(r30) -/* 802BE494 002BB3F4 38 80 00 01 */ li r4, 1 -/* 802BE498 002BB3F8 48 00 00 31 */ bl sub_802be4c8 -lbl_802BE49C: -/* 802BE49C 002BB3FC 7F E0 07 35 */ extsh. r0, r31 -/* 802BE4A0 002BB400 40 81 00 0C */ ble lbl_802BE4AC -/* 802BE4A4 002BB404 7F C3 F3 78 */ mr r3, r30 -/* 802BE4A8 002BB408 48 05 74 89 */ bl Free__7CMemoryFPCv -lbl_802BE4AC: -/* 802BE4AC 002BB40C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BE4B0 002BB410 7F C3 F3 78 */ mr r3, r30 -/* 802BE4B4 002BB414 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BE4B8 002BB418 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BE4BC 002BB41C 7C 08 03 A6 */ mtlr r0 -/* 802BE4C0 002BB420 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BE4C4 002BB424 4E 80 00 20 */ blr - -.global sub_802be4c8 -sub_802be4c8: -/* 802BE4C8 002BB428 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BE4CC 002BB42C 7C 08 02 A6 */ mflr r0 -/* 802BE4D0 002BB430 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BE4D4 002BB434 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802BE4D8 002BB438 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802BE4DC 002BB43C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802BE4E0 002BB440 7C 9D 23 78 */ mr r29, r4 -/* 802BE4E4 002BB444 93 81 00 20 */ stw r28, 0x20(r1) -/* 802BE4E8 002BB448 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802BE4EC 002BB44C 41 82 00 6C */ beq lbl_802BE558 -/* 802BE4F0 002BB450 80 1C 00 04 */ lwz r0, 4(r28) -/* 802BE4F4 002BB454 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802BE4F8 002BB458 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802BE4FC 002BB45C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802BE500 002BB460 7F FE 02 14 */ add r31, r30, r0 -/* 802BE504 002BB464 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802BE508 002BB468 93 E1 00 08 */ stw r31, 8(r1) -/* 802BE50C 002BB46C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE510 002BB470 48 00 00 20 */ b lbl_802BE530 -lbl_802BE514: -/* 802BE514 002BB474 28 1E 00 00 */ cmplwi r30, 0 -/* 802BE518 002BB478 41 82 00 14 */ beq lbl_802BE52C -/* 802BE51C 002BB47C 41 82 00 10 */ beq lbl_802BE52C -/* 802BE520 002BB480 7F C3 F3 78 */ mr r3, r30 -/* 802BE524 002BB484 38 80 00 00 */ li r4, 0 -/* 802BE528 002BB488 48 08 29 19 */ bl __dt__6CTokenFv -lbl_802BE52C: -/* 802BE52C 002BB48C 3B DE 00 0C */ addi r30, r30, 0xc -lbl_802BE530: -/* 802BE530 002BB490 7C 1E F8 40 */ cmplw r30, r31 -/* 802BE534 002BB494 40 82 FF E0 */ bne lbl_802BE514 -/* 802BE538 002BB498 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802BE53C 002BB49C 28 03 00 00 */ cmplwi r3, 0 -/* 802BE540 002BB4A0 41 82 00 08 */ beq lbl_802BE548 -/* 802BE544 002BB4A4 48 05 73 ED */ bl Free__7CMemoryFPCv -lbl_802BE548: -/* 802BE548 002BB4A8 7F A0 07 35 */ extsh. r0, r29 -/* 802BE54C 002BB4AC 40 81 00 0C */ ble lbl_802BE558 -/* 802BE550 002BB4B0 7F 83 E3 78 */ mr r3, r28 -/* 802BE554 002BB4B4 48 05 73 DD */ bl Free__7CMemoryFPCv -lbl_802BE558: -/* 802BE558 002BB4B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BE55C 002BB4BC 7F 83 E3 78 */ mr r3, r28 -/* 802BE560 002BB4C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802BE564 002BB4C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802BE568 002BB4C8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802BE56C 002BB4CC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802BE570 002BB4D0 7C 08 03 A6 */ mtlr r0 -/* 802BE574 002BB4D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BE578 002BB4D8 4E 80 00 20 */ blr - -.global sub_802be57c -sub_802be57c: -/* 802BE57C 002BB4DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BE580 002BB4E0 7C 08 02 A6 */ mflr r0 -/* 802BE584 002BB4E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE588 002BB4E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE58C 002BB4EC 7C 9F 23 78 */ mr r31, r4 -/* 802BE590 002BB4F0 93 C1 00 08 */ stw r30, 8(r1) -/* 802BE594 002BB4F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802BE598 002BB4F8 41 82 00 2C */ beq lbl_802BE5C4 -/* 802BE59C 002BB4FC 88 1E 00 00 */ lbz r0, 0(r30) -/* 802BE5A0 002BB500 28 00 00 00 */ cmplwi r0, 0 -/* 802BE5A4 002BB504 41 82 00 10 */ beq lbl_802BE5B4 -/* 802BE5A8 002BB508 80 7E 00 04 */ lwz r3, 4(r30) -/* 802BE5AC 002BB50C 38 80 00 01 */ li r4, 1 -/* 802BE5B0 002BB510 48 00 00 31 */ bl sub_802be5e0 -lbl_802BE5B4: -/* 802BE5B4 002BB514 7F E0 07 35 */ extsh. r0, r31 -/* 802BE5B8 002BB518 40 81 00 0C */ ble lbl_802BE5C4 -/* 802BE5BC 002BB51C 7F C3 F3 78 */ mr r3, r30 -/* 802BE5C0 002BB520 48 05 73 71 */ bl Free__7CMemoryFPCv -lbl_802BE5C4: -/* 802BE5C4 002BB524 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BE5C8 002BB528 7F C3 F3 78 */ mr r3, r30 -/* 802BE5CC 002BB52C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BE5D0 002BB530 83 C1 00 08 */ lwz r30, 8(r1) -/* 802BE5D4 002BB534 7C 08 03 A6 */ mtlr r0 -/* 802BE5D8 002BB538 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BE5DC 002BB53C 4E 80 00 20 */ blr - -.global sub_802be5e0 -sub_802be5e0: -/* 802BE5E0 002BB540 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BE5E4 002BB544 7C 08 02 A6 */ mflr r0 -/* 802BE5E8 002BB548 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BE5EC 002BB54C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802BE5F0 002BB550 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802BE5F4 002BB554 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802BE5F8 002BB558 7C 9D 23 78 */ mr r29, r4 -/* 802BE5FC 002BB55C 93 81 00 20 */ stw r28, 0x20(r1) -/* 802BE600 002BB560 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802BE604 002BB564 41 82 00 70 */ beq lbl_802BE674 -/* 802BE608 002BB568 80 1C 00 04 */ lwz r0, 4(r28) -/* 802BE60C 002BB56C 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802BE610 002BB570 54 00 18 38 */ slwi r0, r0, 3 -/* 802BE614 002BB574 7F FE 02 14 */ add r31, r30, r0 -/* 802BE618 002BB578 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802BE61C 002BB57C 93 E1 00 08 */ stw r31, 8(r1) -/* 802BE620 002BB580 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BE624 002BB584 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802BE628 002BB588 48 00 00 24 */ b lbl_802BE64C -lbl_802BE62C: -/* 802BE62C 002BB58C 28 1E 00 00 */ cmplwi r30, 0 -/* 802BE630 002BB590 41 82 00 18 */ beq lbl_802BE648 -/* 802BE634 002BB594 88 1E 00 00 */ lbz r0, 0(r30) -/* 802BE638 002BB598 28 00 00 00 */ cmplwi r0, 0 -/* 802BE63C 002BB59C 41 82 00 0C */ beq lbl_802BE648 -/* 802BE640 002BB5A0 80 7E 00 04 */ lwz r3, 4(r30) -/* 802BE644 002BB5A4 48 05 72 ED */ bl Free__7CMemoryFPCv -lbl_802BE648: -/* 802BE648 002BB5A8 3B DE 00 08 */ addi r30, r30, 8 -lbl_802BE64C: -/* 802BE64C 002BB5AC 7C 1E F8 40 */ cmplw r30, r31 -/* 802BE650 002BB5B0 40 82 FF DC */ bne lbl_802BE62C -/* 802BE654 002BB5B4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802BE658 002BB5B8 28 03 00 00 */ cmplwi r3, 0 -/* 802BE65C 002BB5BC 41 82 00 08 */ beq lbl_802BE664 -/* 802BE660 002BB5C0 48 05 72 D1 */ bl Free__7CMemoryFPCv -lbl_802BE664: -/* 802BE664 002BB5C4 7F A0 07 35 */ extsh. r0, r29 -/* 802BE668 002BB5C8 40 81 00 0C */ ble lbl_802BE674 -/* 802BE66C 002BB5CC 7F 83 E3 78 */ mr r3, r28 -/* 802BE670 002BB5D0 48 05 72 C1 */ bl Free__7CMemoryFPCv -lbl_802BE674: -/* 802BE674 002BB5D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BE678 002BB5D8 7F 83 E3 78 */ mr r3, r28 -/* 802BE67C 002BB5DC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802BE680 002BB5E0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802BE684 002BB5E4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802BE688 002BB5E8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802BE68C 002BB5EC 7C 08 03 A6 */ mtlr r0 -/* 802BE690 002BB5F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BE694 002BB5F4 4E 80 00 20 */ blr - -.global __dt__13CCubeRendererFv -__dt__13CCubeRendererFv: -/* 802BE698 002BB5F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BE69C 002BB5FC 7C 08 02 A6 */ mflr r0 -/* 802BE6A0 002BB600 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BE6A4 002BB604 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802BE6A8 002BB608 7C 9F 23 78 */ mr r31, r4 -/* 802BE6AC 002BB60C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802BE6B0 002BB610 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802BE6B4 002BB614 41 82 02 38 */ beq lbl_802BE8EC -/* 802BE6B8 002BB618 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha -/* 802BE6BC 002BB61C 38 00 00 00 */ li r0, 0 -/* 802BE6C0 002BB620 38 63 C5 D8 */ addi r3, r3, lbl_803EC5D8@l -/* 802BE6C4 002BB624 90 7E 00 00 */ stw r3, 0(r30) -/* 802BE6C8 002BB628 38 63 01 0C */ addi r3, r3, 0x10c -/* 802BE6CC 002BB62C 90 7E 00 04 */ stw r3, 4(r30) -/* 802BE6D0 002BB630 90 0D A5 F0 */ stw r0, lbl_805A91B0@sda21(r13) -/* 802BE6D4 002BB634 48 00 17 89 */ bl Shutdown__7BucketsFv -/* 802BE6D8 002BB638 48 09 40 49 */ bl sub_80352720 -/* 802BE6DC 002BB63C 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 802BE6E0 002BB640 28 03 00 00 */ cmplwi r3, 0 -/* 802BE6E4 002BB644 41 82 00 08 */ beq lbl_802BE6EC -/* 802BE6E8 002BB648 48 04 FA 25 */ bl sub_8030e10c -lbl_802BE6EC: -/* 802BE6EC 002BB64C 34 1E 03 14 */ addic. r0, r30, 0x314 -/* 802BE6F0 002BB650 41 82 00 10 */ beq lbl_802BE700 -/* 802BE6F4 002BB654 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 802BE6F8 002BB658 38 80 00 01 */ li r4, 1 -/* 802BE6FC 002BB65C 48 05 12 FD */ bl __dt__8CTextureFv -lbl_802BE700: -/* 802BE700 002BB660 34 1E 03 00 */ addic. r0, r30, 0x300 -/* 802BE704 002BB664 41 82 00 44 */ beq lbl_802BE748 -/* 802BE708 002BB668 80 1E 03 04 */ lwz r0, 0x304(r30) -/* 802BE70C 002BB66C 80 7E 03 0C */ lwz r3, 0x30c(r30) -/* 802BE710 002BB670 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 802BE714 002BB674 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802BE718 002BB678 7C 64 1B 78 */ mr r4, r3 -/* 802BE71C 002BB67C 7C 03 02 14 */ add r0, r3, r0 -/* 802BE720 002BB680 90 61 00 18 */ stw r3, 0x18(r1) -/* 802BE724 002BB684 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BE728 002BB688 90 01 00 20 */ stw r0, 0x20(r1) -/* 802BE72C 002BB68C 48 00 00 08 */ b lbl_802BE734 -lbl_802BE730: -/* 802BE730 002BB690 38 84 00 50 */ addi r4, r4, 0x50 -lbl_802BE734: -/* 802BE734 002BB694 7C 04 00 40 */ cmplw r4, r0 -/* 802BE738 002BB698 40 82 FF F8 */ bne lbl_802BE730 -/* 802BE73C 002BB69C 28 03 00 00 */ cmplwi r3, 0 -/* 802BE740 002BB6A0 41 82 00 08 */ beq lbl_802BE748 -/* 802BE744 002BB6A4 48 05 71 ED */ bl Free__7CMemoryFPCv -lbl_802BE748: -/* 802BE748 002BB6A8 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 802BE74C 002BB6AC 38 80 FF FF */ li r4, -1 -/* 802BE750 002BB6B0 48 00 1E E1 */ bl sub_802c0630 -/* 802BE754 002BB6B4 38 7E 02 AC */ addi r3, r30, 0x2ac -/* 802BE758 002BB6B8 38 80 FF FF */ li r4, -1 -/* 802BE75C 002BB6BC 48 00 1D AD */ bl sub_802c0508 -/* 802BE760 002BB6C0 38 7E 02 88 */ addi r3, r30, 0x288 -/* 802BE764 002BB6C4 38 80 FF FF */ li r4, -1 -/* 802BE768 002BB6C8 48 04 F7 99 */ bl __dt__16CGraphicsPaletteFv -/* 802BE76C 002BB6CC 38 7E 02 20 */ addi r3, r30, 0x220 -/* 802BE770 002BB6D0 38 80 FF FF */ li r4, -1 -/* 802BE774 002BB6D4 48 05 12 85 */ bl __dt__8CTextureFv -/* 802BE778 002BB6D8 38 7E 01 B8 */ addi r3, r30, 0x1b8 -/* 802BE77C 002BB6DC 38 80 FF FF */ li r4, -1 -/* 802BE780 002BB6E0 48 05 12 79 */ bl __dt__8CTextureFv -/* 802BE784 002BB6E4 38 7E 01 50 */ addi r3, r30, 0x150 -/* 802BE788 002BB6E8 38 80 FF FF */ li r4, -1 -/* 802BE78C 002BB6EC 48 05 12 6D */ bl __dt__8CTextureFv -/* 802BE790 002BB6F0 34 1E 01 4C */ addic. r0, r30, 0x14c -/* 802BE794 002BB6F4 41 82 00 10 */ beq lbl_802BE7A4 -/* 802BE798 002BB6F8 80 7E 01 4C */ lwz r3, 0x14c(r30) -/* 802BE79C 002BB6FC 38 80 00 01 */ li r4, 1 -/* 802BE7A0 002BB700 48 05 12 59 */ bl __dt__8CTextureFv -lbl_802BE7A4: -/* 802BE7A4 002BB704 38 7E 00 E4 */ addi r3, r30, 0xe4 -/* 802BE7A8 002BB708 38 80 FF FF */ li r4, -1 -/* 802BE7AC 002BB70C 48 05 12 4D */ bl __dt__8CTextureFv -/* 802BE7B0 002BB710 34 1E 00 C8 */ addic. r0, r30, 0xc8 -/* 802BE7B4 002BB714 41 82 00 3C */ beq lbl_802BE7F0 -/* 802BE7B8 002BB718 88 1E 00 DC */ lbz r0, 0xdc(r30) -/* 802BE7BC 002BB71C 28 00 00 00 */ cmplwi r0, 0 -/* 802BE7C0 002BB720 41 82 00 28 */ beq lbl_802BE7E8 -/* 802BE7C4 002BB724 34 7E 00 C8 */ addic. r3, r30, 0xc8 -/* 802BE7C8 002BB728 41 82 00 20 */ beq lbl_802BE7E8 -/* 802BE7CC 002BB72C 34 03 00 0C */ addic. r0, r3, 0xc -/* 802BE7D0 002BB730 41 82 00 18 */ beq lbl_802BE7E8 -/* 802BE7D4 002BB734 88 03 00 0C */ lbz r0, 0xc(r3) -/* 802BE7D8 002BB738 28 00 00 00 */ cmplwi r0, 0 -/* 802BE7DC 002BB73C 41 82 00 0C */ beq lbl_802BE7E8 -/* 802BE7E0 002BB740 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802BE7E4 002BB744 48 05 71 4D */ bl Free__7CMemoryFPCv -lbl_802BE7E8: -/* 802BE7E8 002BB748 38 00 00 00 */ li r0, 0 -/* 802BE7EC 002BB74C 98 1E 00 DC */ stb r0, 0xdc(r30) -lbl_802BE7F0: -/* 802BE7F0 002BB750 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 802BE7F4 002BB754 41 82 00 60 */ beq lbl_802BE854 -/* 802BE7F8 002BB758 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 802BE7FC 002BB75C 41 82 00 58 */ beq lbl_802BE854 -/* 802BE800 002BB760 80 BE 00 44 */ lwz r5, 0x44(r30) -/* 802BE804 002BB764 38 60 00 00 */ li r3, 0 -/* 802BE808 002BB768 2C 05 00 00 */ cmpwi r5, 0 -/* 802BE80C 002BB76C 40 81 00 40 */ ble lbl_802BE84C -/* 802BE810 002BB770 2C 05 00 08 */ cmpwi r5, 8 -/* 802BE814 002BB774 38 85 FF F8 */ addi r4, r5, -8 -/* 802BE818 002BB778 40 81 00 20 */ ble lbl_802BE838 -/* 802BE81C 002BB77C 38 04 00 07 */ addi r0, r4, 7 -/* 802BE820 002BB780 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BE824 002BB784 7C 09 03 A6 */ mtctr r0 -/* 802BE828 002BB788 2C 04 00 00 */ cmpwi r4, 0 -/* 802BE82C 002BB78C 40 81 00 0C */ ble lbl_802BE838 -lbl_802BE830: -/* 802BE830 002BB790 38 63 00 08 */ addi r3, r3, 8 -/* 802BE834 002BB794 42 00 FF FC */ bdnz lbl_802BE830 -lbl_802BE838: -/* 802BE838 002BB798 7C 03 28 50 */ subf r0, r3, r5 -/* 802BE83C 002BB79C 7C 09 03 A6 */ mtctr r0 -/* 802BE840 002BB7A0 7C 03 28 00 */ cmpw r3, r5 -/* 802BE844 002BB7A4 40 80 00 08 */ bge lbl_802BE84C -lbl_802BE848: -/* 802BE848 002BB7A8 42 00 00 00 */ bdnz lbl_802BE848 -lbl_802BE84C: -/* 802BE84C 002BB7AC 38 00 00 00 */ li r0, 0 -/* 802BE850 002BB7B0 90 1E 00 44 */ stw r0, 0x44(r30) -lbl_802BE854: -/* 802BE854 002BB7B4 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 802BE858 002BB7B8 41 82 00 44 */ beq lbl_802BE89C -/* 802BE85C 002BB7BC 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802BE860 002BB7C0 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 802BE864 002BB7C4 54 00 10 3A */ slwi r0, r0, 2 -/* 802BE868 002BB7C8 7C 03 02 14 */ add r0, r3, r0 -/* 802BE86C 002BB7CC 90 61 00 0C */ stw r3, 0xc(r1) -/* 802BE870 002BB7D0 7C 64 1B 78 */ mr r4, r3 -/* 802BE874 002BB7D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BE878 002BB7D8 90 01 00 10 */ stw r0, 0x10(r1) -/* 802BE87C 002BB7DC 90 61 00 08 */ stw r3, 8(r1) -/* 802BE880 002BB7E0 48 00 00 08 */ b lbl_802BE888 -lbl_802BE884: -/* 802BE884 002BB7E4 38 84 00 04 */ addi r4, r4, 4 -lbl_802BE888: -/* 802BE888 002BB7E8 7C 04 00 40 */ cmplw r4, r0 -/* 802BE88C 002BB7EC 40 82 FF F8 */ bne lbl_802BE884 -/* 802BE890 002BB7F0 28 03 00 00 */ cmplwi r3, 0 -/* 802BE894 002BB7F4 41 82 00 08 */ beq lbl_802BE89C -/* 802BE898 002BB7F8 48 05 70 99 */ bl Free__7CMemoryFPCv -lbl_802BE89C: -/* 802BE89C 002BB7FC 38 7E 00 1C */ addi r3, r30, 0x1c -/* 802BE8A0 002BB800 38 80 FF FF */ li r4, -1 -/* 802BE8A4 002BB804 48 00 1B 05 */ bl sub_802c03a8 -/* 802BE8A8 002BB808 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802BE8AC 002BB80C 38 80 FF FF */ li r4, -1 -/* 802BE8B0 002BB810 48 04 77 11 */ bl __dt__5CFontFv -/* 802BE8B4 002BB814 34 1E 00 04 */ addic. r0, r30, 4 -/* 802BE8B8 002BB818 41 82 00 10 */ beq lbl_802BE8C8 -/* 802BE8BC 002BB81C 3C 60 80 3F */ lis r3, lbl_803EC538@ha -/* 802BE8C0 002BB820 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l -/* 802BE8C4 002BB824 90 1E 00 04 */ stw r0, 4(r30) -lbl_802BE8C8: -/* 802BE8C8 002BB828 28 1E 00 00 */ cmplwi r30, 0 -/* 802BE8CC 002BB82C 41 82 00 10 */ beq lbl_802BE8DC -/* 802BE8D0 002BB830 3C 60 80 3E */ lis r3, lbl_803D8D90@ha -/* 802BE8D4 002BB834 38 03 8D 90 */ addi r0, r3, lbl_803D8D90@l -/* 802BE8D8 002BB838 90 1E 00 00 */ stw r0, 0(r30) -lbl_802BE8DC: -/* 802BE8DC 002BB83C 7F E0 07 35 */ extsh. r0, r31 -/* 802BE8E0 002BB840 40 81 00 0C */ ble lbl_802BE8EC -/* 802BE8E4 002BB844 7F C3 F3 78 */ mr r3, r30 -/* 802BE8E8 002BB848 48 00 17 21 */ bl sub_802c0008 -lbl_802BE8EC: -/* 802BE8EC 002BB84C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BE8F0 002BB850 7F C3 F3 78 */ mr r3, r30 -/* 802BE8F4 002BB854 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802BE8F8 002BB858 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802BE8FC 002BB85C 7C 08 03 A6 */ mtlr r0 -/* 802BE900 002BB860 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BE904 002BB864 4E 80 00 20 */ blr - -.global sub_802be908 -sub_802be908: -/* 802BE908 002BB868 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BE90C 002BB86C 7C 08 02 A6 */ mflr r0 -/* 802BE910 002BB870 90 01 00 34 */ stw r0, 0x34(r1) -/* 802BE914 002BB874 38 00 00 01 */ li r0, 1 -/* 802BE918 002BB878 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802BE91C 002BB87C 7C 7F 1B 78 */ mr r31, r3 -/* 802BE920 002BB880 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802BE924 002BB884 98 03 02 A4 */ stb r0, 0x2a4(r3) -/* 802BE928 002BB888 3C 60 80 3D */ lis r3, lbl_803D685C@ha -/* 802BE92C 002BB88C 38 A3 68 5C */ addi r5, r3, lbl_803D685C@l -/* 802BE930 002BB890 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802BE934 002BB894 38 61 00 08 */ addi r3, r1, 8 -/* 802BE938 002BB898 38 A5 00 07 */ addi r5, r5, 7 -/* 802BE93C 002BB89C 81 84 00 00 */ lwz r12, 0(r4) -/* 802BE940 002BB8A0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802BE944 002BB8A4 7D 89 03 A6 */ mtctr r12 -/* 802BE948 002BB8A8 4E 80 04 21 */ bctrl -/* 802BE94C 002BB8AC 3B C1 00 10 */ addi r30, r1, 0x10 -/* 802BE950 002BB8B0 38 81 00 08 */ addi r4, r1, 8 -/* 802BE954 002BB8B4 7F C3 F3 78 */ mr r3, r30 -/* 802BE958 002BB8B8 48 08 25 51 */ bl __ct__6CTokenFRC6CToken -/* 802BE95C 002BB8BC 7F C3 F3 78 */ mr r3, r30 -/* 802BE960 002BB8C0 48 08 24 AD */ bl GetObj__6CTokenFv -/* 802BE964 002BB8C4 80 03 00 04 */ lwz r0, 4(r3) -/* 802BE968 002BB8C8 38 61 00 08 */ addi r3, r1, 8 -/* 802BE96C 002BB8CC 38 80 FF FF */ li r4, -1 -/* 802BE970 002BB8D0 90 01 00 18 */ stw r0, 0x18(r1) -/* 802BE974 002BB8D4 48 08 24 CD */ bl __dt__6CTokenFv -/* 802BE978 002BB8D8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802BE97C 002BB8DC 38 C0 00 00 */ li r6, 0 -/* 802BE980 002BB8E0 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 802BE984 002BB8E4 28 05 00 00 */ cmplwi r5, 0 -/* 802BE988 002BB8E8 41 82 00 B4 */ beq lbl_802BEA3C -/* 802BE98C 002BB8EC 38 00 00 02 */ li r0, 2 -/* 802BE990 002BB8F0 7C 09 03 A6 */ mtctr r0 -lbl_802BE994: -/* 802BE994 002BB8F4 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE998 002BB8F8 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BE99C 002BB8FC 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BE9A0 002BB900 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BE9A4 002BB904 38 C6 00 02 */ addi r6, r6, 2 -/* 802BE9A8 002BB908 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE9AC 002BB90C 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BE9B0 002BB910 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BE9B4 002BB914 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BE9B8 002BB918 38 C6 00 02 */ addi r6, r6, 2 -/* 802BE9BC 002BB91C 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE9C0 002BB920 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BE9C4 002BB924 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BE9C8 002BB928 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BE9CC 002BB92C 38 C6 00 02 */ addi r6, r6, 2 -/* 802BE9D0 002BB930 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE9D4 002BB934 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BE9D8 002BB938 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BE9DC 002BB93C 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BE9E0 002BB940 38 C6 00 02 */ addi r6, r6, 2 -/* 802BE9E4 002BB944 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE9E8 002BB948 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BE9EC 002BB94C 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BE9F0 002BB950 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BE9F4 002BB954 38 C6 00 02 */ addi r6, r6, 2 -/* 802BE9F8 002BB958 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BE9FC 002BB95C 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA00 002BB960 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BEA04 002BB964 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA08 002BB968 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA0C 002BB96C 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BEA10 002BB970 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA14 002BB974 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BEA18 002BB978 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA1C 002BB97C 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA20 002BB980 80 65 00 0C */ lwz r3, 0xc(r5) -/* 802BEA24 002BB984 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA28 002BB988 7C 03 32 2E */ lhzx r0, r3, r6 -/* 802BEA2C 002BB98C 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA30 002BB990 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA34 002BB994 42 00 FF 60 */ bdnz lbl_802BE994 -/* 802BEA38 002BB998 48 00 00 74 */ b lbl_802BEAAC -lbl_802BEA3C: -/* 802BEA3C 002BB99C 38 00 00 02 */ li r0, 2 -/* 802BEA40 002BB9A0 7C 09 03 A6 */ mtctr r0 -lbl_802BEA44: -/* 802BEA44 002BB9A4 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA48 002BB9A8 38 00 00 00 */ li r0, 0 -/* 802BEA4C 002BB9AC 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA50 002BB9B0 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA54 002BB9B4 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA58 002BB9B8 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA5C 002BB9BC 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA60 002BB9C0 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA64 002BB9C4 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA68 002BB9C8 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA6C 002BB9CC 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA70 002BB9D0 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA74 002BB9D4 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA78 002BB9D8 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA7C 002BB9DC 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA80 002BB9E0 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA84 002BB9E4 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA88 002BB9E8 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA8C 002BB9EC 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA90 002BB9F0 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEA94 002BB9F4 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEA98 002BB9F8 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEA9C 002BB9FC 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 802BEAA0 002BBA00 7C 04 33 2E */ sthx r0, r4, r6 -/* 802BEAA4 002BBA04 38 C6 00 02 */ addi r6, r6, 2 -/* 802BEAA8 002BBA08 42 00 FF 9C */ bdnz lbl_802BEA44 -lbl_802BEAAC: -/* 802BEAAC 002BBA0C 38 7F 02 88 */ addi r3, r31, 0x288 -/* 802BEAB0 002BBA10 48 04 F3 AD */ bl UnLock__16CGraphicsPaletteFv -/* 802BEAB4 002BBA14 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BEAB8 002BBA18 38 80 00 00 */ li r4, 0 -/* 802BEABC 002BBA1C 48 08 23 85 */ bl __dt__6CTokenFv -/* 802BEAC0 002BBA20 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802BEAC4 002BBA24 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802BEAC8 002BBA28 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802BEACC 002BBA2C 7C 08 03 A6 */ mtlr r0 -/* 802BEAD0 002BBA30 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BEAD4 002BBA34 4E 80 00 20 */ blr - -.global sub_802bead8 -sub_802bead8: -/* 802BEAD8 002BBA38 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802BEADC 002BBA3C 7C 08 02 A6 */ mflr r0 -/* 802BEAE0 002BBA40 90 01 00 94 */ stw r0, 0x94(r1) -/* 802BEAE4 002BBA44 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802BEAE8 002BBA48 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802BEAEC 002BBA4C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 802BEAF0 002BBA50 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 802BEAF4 002BBA54 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 802BEAF8 002BBA58 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 802BEAFC 002BBA5C DB 81 00 50 */ stfd f28, 0x50(r1) -/* 802BEB00 002BBA60 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 802BEB04 002BBA64 BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 802BEB08 002BBA68 7C 7B 1B 78 */ mr r27, r3 -/* 802BEB0C 002BBA6C 38 60 00 01 */ li r3, 1 -/* 802BEB10 002BBA70 88 1B 02 2A */ lbz r0, 0x22a(r27) -/* 802BEB14 002BBA74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802BEB18 002BBA78 38 7B 02 20 */ addi r3, r27, 0x220 -/* 802BEB1C 002BBA7C 38 80 00 00 */ li r4, 0 -/* 802BEB20 002BBA80 98 1B 02 2A */ stb r0, 0x22a(r27) -/* 802BEB24 002BBA84 48 04 FA B1 */ bl GetBitMapData__8CTextureFi -/* 802BEB28 002BBA88 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) -/* 802BEB2C 002BBA8C 7C 7F 1B 78 */ mr r31, r3 -/* 802BEB30 002BBA90 C3 A2 C3 14 */ lfs f29, lbl_805AE034@sda21(r2) -/* 802BEB34 002BBA94 3B 80 00 00 */ li r28, 0 -/* 802BEB38 002BBA98 C3 C2 C2 70 */ lfs f30, lbl_805ADF90@sda21(r2) -/* 802BEB3C 002BBA9C 3B A0 00 00 */ li r29, 0 -/* 802BEB40 002BBAA0 C3 E2 C2 B8 */ lfs f31, lbl_805ADFD8@sda21(r2) -/* 802BEB44 002BBAA4 3F 40 43 30 */ lis r26, 0x4330 -lbl_802BEB48: -/* 802BEB48 002BBAA8 57 80 F0 02 */ slwi r0, r28, 0x1e -/* 802BEB4C 002BBAAC 57 84 0F FE */ srwi r4, r28, 0x1f -/* 802BEB50 002BBAB0 7C 64 00 50 */ subf r3, r4, r0 -/* 802BEB54 002BBAB4 7F 80 16 70 */ srawi r0, r28, 2 -/* 802BEB58 002BBAB8 54 63 10 3E */ rotlwi r3, r3, 2 -/* 802BEB5C 002BBABC 7F DF EA 14 */ add r30, r31, r29 -/* 802BEB60 002BBAC0 7C 63 22 14 */ add r3, r3, r4 -/* 802BEB64 002BBAC4 7C 00 01 94 */ addze r0, r0 -/* 802BEB68 002BBAC8 54 79 18 38 */ slwi r25, r3, 3 -/* 802BEB6C 002BBACC 3A E0 00 00 */ li r23, 0 -/* 802BEB70 002BBAD0 54 18 10 3A */ slwi r24, r0, 2 -lbl_802BEB74: -/* 802BEB74 002BBAD4 7E E0 1E 70 */ srawi r0, r23, 3 -/* 802BEB78 002BBAD8 56 E3 07 7E */ clrlwi r3, r23, 0x1d -/* 802BEB7C 002BBADC 7C 18 02 14 */ add r0, r24, r0 -/* 802BEB80 002BBAE0 93 41 00 18 */ stw r26, 0x18(r1) -/* 802BEB84 002BBAE4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BEB88 002BBAE8 7C 79 1A 14 */ add r3, r25, r3 -/* 802BEB8C 002BBAEC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802BEB90 002BBAF0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802BEB94 002BBAF4 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802BEB98 002BBAF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BEB9C 002BBAFC EC 00 E0 28 */ fsubs f0, f0, f28 -/* 802BEBA0 002BBB00 93 41 00 10 */ stw r26, 0x10(r1) -/* 802BEBA4 002BBB04 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 802BEBA8 002BBB08 EC 00 E8 24 */ fdivs f0, f0, f29 -/* 802BEBAC 002BBB0C EC 21 E0 28 */ fsubs f1, f1, f28 -/* 802BEBB0 002BBB10 EC 40 F0 28 */ fsubs f2, f0, f30 -/* 802BEBB4 002BBB14 EC 01 E8 24 */ fdivs f0, f1, f29 -/* 802BEBB8 002BBB18 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 802BEBBC 002BBB1C EC 02 00 B2 */ fmuls f0, f2, f2 -/* 802BEBC0 002BBB20 EC 21 00 7A */ fmadds f1, f1, f1, f0 -/* 802BEBC4 002BBB24 48 05 69 3D */ bl SqrtF__5CMathFf -/* 802BEBC8 002BBB28 EC 01 F0 7C */ fnmsubs f0, f1, f1, f30 -/* 802BEBCC 002BBB2C 38 81 00 08 */ addi r4, r1, 8 -/* 802BEBD0 002BBB30 38 6D 9A C8 */ addi r3, r13, lbl_805A8688@sda21 -/* 802BEBD4 002BBB34 38 AD 9A CC */ addi r5, r13, lbl_805A868C@sda21 -/* 802BEBD8 002BBB38 D0 01 00 08 */ stfs f0, 8(r1) -/* 802BEBDC 002BBB3C 4B D4 D6 D9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802BEBE0 002BBB40 C0 03 00 00 */ lfs f0, 0(r3) -/* 802BEBE4 002BBB44 3A F7 00 01 */ addi r23, r23, 1 -/* 802BEBE8 002BBB48 2C 17 00 20 */ cmpwi r23, 0x20 -/* 802BEBEC 002BBB4C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 802BEBF0 002BBB50 FC 00 00 1E */ fctiwz f0, f0 -/* 802BEBF4 002BBB54 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 802BEBF8 002BBB58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BEBFC 002BBB5C 98 1E 00 00 */ stb r0, 0(r30) -/* 802BEC00 002BBB60 3B DE 00 01 */ addi r30, r30, 1 -/* 802BEC04 002BBB64 41 80 FF 70 */ blt lbl_802BEB74 -/* 802BEC08 002BBB68 3B 9C 00 01 */ addi r28, r28, 1 -/* 802BEC0C 002BBB6C 3B BD 00 20 */ addi r29, r29, 0x20 -/* 802BEC10 002BBB70 2C 1C 00 20 */ cmpwi r28, 0x20 -/* 802BEC14 002BBB74 41 80 FF 34 */ blt lbl_802BEB48 -/* 802BEC18 002BBB78 38 7B 02 20 */ addi r3, r27, 0x220 -/* 802BEC1C 002BBB7C 48 04 FD 01 */ bl UnLock__8CTextureFv -/* 802BEC20 002BBB80 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802BEC24 002BBB84 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802BEC28 002BBB88 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 802BEC2C 002BBB8C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 802BEC30 002BBB90 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 802BEC34 002BBB94 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 802BEC38 002BBB98 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 802BEC3C 002BBB9C CB 81 00 50 */ lfd f28, 0x50(r1) -/* 802BEC40 002BBBA0 BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 802BEC44 002BBBA4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802BEC48 002BBBA8 7C 08 03 A6 */ mtlr r0 -/* 802BEC4C 002BBBAC 38 21 00 90 */ addi r1, r1, 0x90 -/* 802BEC50 002BBBB0 4E 80 00 20 */ blr - -.global sub_802bec54 -sub_802bec54: -/* 802BEC54 002BBBB4 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802BEC58 002BBBB8 7C 08 02 A6 */ mflr r0 -/* 802BEC5C 002BBBBC 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802BEC60 002BBBC0 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 802BEC64 002BBBC4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 802BEC68 002BBBC8 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 802BEC6C 002BBBCC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 802BEC70 002BBBD0 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 802BEC74 002BBBD4 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 802BEC78 002BBBD8 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 802BEC7C 002BBBDC F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 802BEC80 002BBBE0 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 802BEC84 002BBBE4 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 802BEC88 002BBBE8 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 802BEC8C 002BBBEC F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 802BEC90 002BBBF0 DB 21 00 70 */ stfd f25, 0x70(r1) -/* 802BEC94 002BBBF4 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 802BEC98 002BBBF8 DB 01 00 60 */ stfd f24, 0x60(r1) -/* 802BEC9C 002BBBFC F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 -/* 802BECA0 002BBC00 DA E1 00 50 */ stfd f23, 0x50(r1) -/* 802BECA4 002BBC04 F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0 -/* 802BECA8 002BBC08 DA C1 00 40 */ stfd f22, 0x40(r1) -/* 802BECAC 002BBC0C F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0 -/* 802BECB0 002BBC10 BE E1 00 1C */ stmw r23, 0x1c(r1) -/* 802BECB4 002BBC14 7C 78 1B 78 */ mr r24, r3 -/* 802BECB8 002BBC18 38 60 00 01 */ li r3, 1 -/* 802BECBC 002BBC1C 88 18 01 C2 */ lbz r0, 0x1c2(r24) -/* 802BECC0 002BBC20 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802BECC4 002BBC24 38 78 01 B8 */ addi r3, r24, 0x1b8 -/* 802BECC8 002BBC28 38 80 00 00 */ li r4, 0 -/* 802BECCC 002BBC2C 98 18 01 C2 */ stb r0, 0x1c2(r24) -/* 802BECD0 002BBC30 48 04 F9 05 */ bl GetBitMapData__8CTextureFi -/* 802BECD4 002BBC34 7C 7F 1B 78 */ mr r31, r3 -/* 802BECD8 002BBC38 38 80 00 FF */ li r4, 0xff -/* 802BECDC 002BBC3C 3C A0 00 01 */ lis r5, 1 -/* 802BECE0 002BBC40 4B D4 46 C9 */ bl memset -/* 802BECE4 002BBC44 CB 62 C3 18 */ lfd f27, lbl_805AE038@sda21(r2) -/* 802BECE8 002BBC48 3B 80 00 00 */ li r28, 0 -/* 802BECEC 002BBC4C CB 82 C3 20 */ lfd f28, lbl_805AE040@sda21(r2) -/* 802BECF0 002BBC50 3B A0 00 00 */ li r29, 0 -/* 802BECF4 002BBC54 CB A2 C3 28 */ lfd f29, lbl_805AE048@sda21(r2) -/* 802BECF8 002BBC58 3E E0 43 30 */ lis r23, 0x4330 -/* 802BECFC 002BBC5C CB C2 C2 E0 */ lfd f30, lbl_805AE000@sda21(r2) -/* 802BED00 002BBC60 CB E2 C3 30 */ lfd f31, lbl_805AE050@sda21(r2) -/* 802BED04 002BBC64 CA C2 C3 38 */ lfd f22, lbl_805AE058@sda21(r2) -/* 802BED08 002BBC68 CA E2 C3 40 */ lfd f23, lbl_805AE060@sda21(r2) -/* 802BED0C 002BBC6C C3 02 C2 80 */ lfs f24, lbl_805ADFA0@sda21(r2) -/* 802BED10 002BBC70 C3 22 C2 B8 */ lfs f25, lbl_805ADFD8@sda21(r2) -lbl_802BED14: -/* 802BED14 002BBC74 57 80 D8 08 */ slwi r0, r28, 0x1b -/* 802BED18 002BBC78 57 84 0F FE */ srwi r4, r28, 0x1f -/* 802BED1C 002BBC7C 7C 64 00 50 */ subf r3, r4, r0 -/* 802BED20 002BBC80 7F 80 2E 70 */ srawi r0, r28, 5 -/* 802BED24 002BBC84 54 63 28 3E */ rotlwi r3, r3, 5 -/* 802BED28 002BBC88 7F DF EA 14 */ add r30, r31, r29 -/* 802BED2C 002BBC8C 7C 63 22 14 */ add r3, r3, r4 -/* 802BED30 002BBC90 7C 00 01 94 */ addze r0, r0 -/* 802BED34 002BBC94 54 7B 18 38 */ slwi r27, r3, 3 -/* 802BED38 002BBC98 3B 20 00 00 */ li r25, 0 -/* 802BED3C 002BBC9C 54 1A 10 3A */ slwi r26, r0, 2 -lbl_802BED40: -/* 802BED40 002BBCA0 7F 23 1E 70 */ srawi r3, r25, 3 -/* 802BED44 002BBCA4 57 20 07 7E */ clrlwi r0, r25, 0x1d -/* 802BED48 002BBCA8 7C 7A 1A 14 */ add r3, r26, r3 -/* 802BED4C 002BBCAC 92 E1 00 10 */ stw r23, 0x10(r1) -/* 802BED50 002BBCB0 7C 1B 02 14 */ add r0, r27, r0 -/* 802BED54 002BBCB4 38 81 00 0C */ addi r4, r1, 0xc -/* 802BED58 002BBCB8 54 66 80 1E */ slwi r6, r3, 0x10 -/* 802BED5C 002BBCBC 38 6D 9A C0 */ addi r3, r13, lbl_805A8680@sda21 -/* 802BED60 002BBCC0 54 00 40 2E */ slwi r0, r0, 8 -/* 802BED64 002BBCC4 38 AD 9A C4 */ addi r5, r13, lbl_805A8684@sda21 -/* 802BED68 002BBCC8 7C C0 03 78 */ or r0, r6, r0 -/* 802BED6C 002BBCCC 60 00 00 7F */ ori r0, r0, 0x7f -/* 802BED70 002BBCD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BED74 002BBCD4 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802BED78 002BBCD8 FC 00 F0 28 */ fsub f0, f0, f30 -/* 802BED7C 002BBCDC FC 00 F8 24 */ fdiv f0, f0, f31 -/* 802BED80 002BBCE0 FC 1D B0 38 */ fmsub f0, f29, f0, f22 -/* 802BED84 002BBCE4 FC 1C 00 24 */ fdiv f0, f28, f0 -/* 802BED88 002BBCE8 FC 00 00 50 */ fneg f0, f0 -/* 802BED8C 002BBCEC FC 00 B8 28 */ fsub f0, f0, f23 -/* 802BED90 002BBCF0 FC 1B 00 32 */ fmul f0, f27, f0 -/* 802BED94 002BBCF4 FC 00 E8 24 */ fdiv f0, f0, f29 -/* 802BED98 002BBCF8 FC 00 00 18 */ frsp f0, f0 -/* 802BED9C 002BBCFC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802BEDA0 002BBD00 4B D4 D5 15 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802BEDA4 002BBD04 C0 03 00 00 */ lfs f0, 0(r3) -/* 802BEDA8 002BBD08 EC 00 00 3A */ fmadds f0, f0, f0, f0 -/* 802BEDAC 002BBD0C EC 18 00 32 */ fmuls f0, f24, f0 -/* 802BEDB0 002BBD10 EC 00 06 72 */ fmuls f0, f0, f25 -/* 802BEDB4 002BBD14 FF 40 00 90 */ fmr f26, f0 -/* 802BEDB8 002BBD18 F3 41 A0 08 */ psq_st f26, 8(r1), 1, qr2 -/* 802BEDBC 002BBD1C 3B 39 00 01 */ addi r25, r25, 1 -/* 802BEDC0 002BBD20 88 01 00 08 */ lbz r0, 8(r1) -/* 802BEDC4 002BBD24 98 1E 00 00 */ stb r0, 0(r30) -/* 802BEDC8 002BBD28 3B DE 00 01 */ addi r30, r30, 1 -/* 802BEDCC 002BBD2C 2C 19 00 20 */ cmpwi r25, 0x20 -/* 802BEDD0 002BBD30 41 80 FF 70 */ blt lbl_802BED40 -/* 802BEDD4 002BBD34 3B 9C 00 01 */ addi r28, r28, 1 -/* 802BEDD8 002BBD38 3B BD 00 20 */ addi r29, r29, 0x20 -/* 802BEDDC 002BBD3C 2C 1C 08 00 */ cmpwi r28, 0x800 -/* 802BEDE0 002BBD40 41 80 FF 34 */ blt lbl_802BED14 -/* 802BEDE4 002BBD44 38 78 01 B8 */ addi r3, r24, 0x1b8 -/* 802BEDE8 002BBD48 48 04 FB 35 */ bl UnLock__8CTextureFv -/* 802BEDEC 002BBD4C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 802BEDF0 002BBD50 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 802BEDF4 002BBD54 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 802BEDF8 002BBD58 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 802BEDFC 002BBD5C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 802BEE00 002BBD60 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 802BEE04 002BBD64 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 802BEE08 002BBD68 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 802BEE0C 002BBD6C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802BEE10 002BBD70 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802BEE14 002BBD74 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 802BEE18 002BBD78 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 802BEE1C 002BBD7C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 802BEE20 002BBD80 CB 21 00 70 */ lfd f25, 0x70(r1) -/* 802BEE24 002BBD84 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 -/* 802BEE28 002BBD88 CB 01 00 60 */ lfd f24, 0x60(r1) -/* 802BEE2C 002BBD8C E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0 -/* 802BEE30 002BBD90 CA E1 00 50 */ lfd f23, 0x50(r1) -/* 802BEE34 002BBD94 E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0 -/* 802BEE38 002BBD98 CA C1 00 40 */ lfd f22, 0x40(r1) -/* 802BEE3C 002BBD9C BA E1 00 1C */ lmw r23, 0x1c(r1) -/* 802BEE40 002BBDA0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802BEE44 002BBDA4 7C 08 03 A6 */ mtlr r0 -/* 802BEE48 002BBDA8 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802BEE4C 002BBDAC 4E 80 00 20 */ blr - -.global sub_802bee50 -sub_802bee50: -/* 802BEE50 002BBDB0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802BEE54 002BBDB4 7C 08 02 A6 */ mflr r0 -/* 802BEE58 002BBDB8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802BEE5C 002BBDBC DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802BEE60 002BBDC0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802BEE64 002BBDC4 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802BEE68 002BBDC8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 802BEE6C 002BBDCC DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 802BEE70 002BBDD0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 802BEE74 002BBDD4 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 802BEE78 002BBDD8 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 802BEE7C 002BBDDC DB 61 00 80 */ stfd f27, 0x80(r1) -/* 802BEE80 002BBDE0 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 802BEE84 002BBDE4 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 802BEE88 002BBDE8 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 802BEE8C 002BBDEC BE 21 00 34 */ stmw r17, 0x34(r1) -/* 802BEE90 002BBDF0 7C 74 1B 78 */ mr r20, r3 -/* 802BEE94 002BBDF4 38 60 00 01 */ li r3, 1 -/* 802BEE98 002BBDF8 88 14 01 5A */ lbz r0, 0x15a(r20) -/* 802BEE9C 002BBDFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802BEEA0 002BBE00 38 74 01 50 */ addi r3, r20, 0x150 -/* 802BEEA4 002BBE04 38 80 00 00 */ li r4, 0 -/* 802BEEA8 002BBE08 98 14 01 5A */ stb r0, 0x15a(r20) -/* 802BEEAC 002BBE0C 48 04 F7 29 */ bl GetBitMapData__8CTextureFi -/* 802BEEB0 002BBE10 CB 82 C2 A0 */ lfd f28, lbl_805ADFC0@sda21(r2) -/* 802BEEB4 002BBE14 7C 7B 1B 78 */ mr r27, r3 -/* 802BEEB8 002BBE18 C3 C2 C3 48 */ lfs f30, lbl_805AE068@sda21(r2) -/* 802BEEBC 002BBE1C 3B 21 00 14 */ addi r25, r1, 0x14 -/* 802BEEC0 002BBE20 C3 E2 C3 4C */ lfs f31, lbl_805AE06C@sda21(r2) -/* 802BEEC4 002BBE24 3B 00 00 00 */ li r24, 0 -/* 802BEEC8 002BBE28 3B 40 00 00 */ li r26, 0 -/* 802BEECC 002BBE2C 3E 40 43 30 */ lis r18, 0x4330 -lbl_802BEED0: -/* 802BEED0 002BBE30 7F 7C DB 78 */ mr r28, r27 -/* 802BEED4 002BBE34 3A E0 00 00 */ li r23, 0 -/* 802BEED8 002BBE38 3B A0 00 00 */ li r29, 0 -lbl_802BEEDC: -/* 802BEEDC 002BBE3C 3A C0 00 00 */ li r22, 0 -/* 802BEEE0 002BBE40 7F 9E E3 78 */ mr r30, r28 -lbl_802BEEE4: -/* 802BEEE4 002BBE44 38 16 FF F2 */ addi r0, r22, -14 -/* 802BEEE8 002BBE48 7F DF F3 78 */ mr r31, r30 -/* 802BEEEC 002BBE4C 7C 1A 02 14 */ add r0, r26, r0 -/* 802BEEF0 002BBE50 3A A0 00 00 */ li r21, 0 -/* 802BEEF4 002BBE54 6C 13 80 00 */ xoris r19, r0, 0x8000 -lbl_802BEEF8: -/* 802BEEF8 002BBE58 38 15 FF F2 */ addi r0, r21, -14 -/* 802BEEFC 002BBE5C C3 62 C2 74 */ lfs f27, lbl_805ADF94@sda21(r2) -/* 802BEF00 002BBE60 7C 1D 02 14 */ add r0, r29, r0 -/* 802BEF04 002BBE64 92 41 00 18 */ stw r18, 0x18(r1) -/* 802BEF08 002BBE68 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BEF0C 002BBE6C FF 40 D8 90 */ fmr f26, f27 -/* 802BEF10 002BBE70 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802BEF14 002BBE74 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BEF18 002BBE78 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802BEF1C 002BBE7C 92 61 00 24 */ stw r19, 0x24(r1) -/* 802BEF20 002BBE80 EC 20 E0 28 */ fsubs f1, f0, f28 -/* 802BEF24 002BBE84 92 41 00 20 */ stw r18, 0x20(r1) -/* 802BEF28 002BBE88 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 802BEF2C 002BBE8C EC 40 E0 28 */ fsubs f2, f0, f28 -/* 802BEF30 002BBE90 48 05 52 D1 */ bl __ct__9CVector2fFff -/* 802BEF34 002BBE94 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BEF38 002BBE98 48 05 51 BD */ bl Magnitude__9CVector2fCFv -/* 802BEF3C 002BBE9C FF A0 08 90 */ fmr f29, f1 -/* 802BEF40 002BBEA0 FC 1D F0 40 */ fcmpo cr0, f29, f30 -/* 802BEF44 002BBEA4 4C 40 13 82 */ cror 2, 0, 2 -/* 802BEF48 002BBEA8 40 82 00 28 */ bne lbl_802BEF70 -/* 802BEF4C 002BBEAC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BEF50 002BBEB0 48 05 52 61 */ bl Normalize__9CVector2fFv -/* 802BEF54 002BBEB4 C0 22 C3 48 */ lfs f1, lbl_805AE068@sda21(r2) -/* 802BEF58 002BBEB8 38 61 00 10 */ addi r3, r1, 0x10 -/* 802BEF5C 002BBEBC EC 01 E8 28 */ fsubs f0, f1, f29 -/* 802BEF60 002BBEC0 EC 20 08 24 */ fdivs f1, f0, f1 -/* 802BEF64 002BBEC4 48 05 51 E9 */ bl __amu__9CVector2fFf -/* 802BEF68 002BBEC8 C3 61 00 10 */ lfs f27, 0x10(r1) -/* 802BEF6C 002BBECC C3 59 00 00 */ lfs f26, 0(r25) -lbl_802BEF70: -/* 802BEF70 002BBED0 EC 1F FE FA */ fmadds f0, f31, f27, f31 -/* 802BEF74 002BBED4 38 81 00 0C */ addi r4, r1, 0xc -/* 802BEF78 002BBED8 38 6D 9A B0 */ addi r3, r13, lbl_805A8670@sda21 -/* 802BEF7C 002BBEDC 38 AD 9A B4 */ addi r5, r13, lbl_805A8674@sda21 -/* 802BEF80 002BBEE0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802BEF84 002BBEE4 4B D4 D3 31 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802BEF88 002BBEE8 C0 23 00 00 */ lfs f1, 0(r3) -/* 802BEF8C 002BBEEC EC 1F FE BA */ fmadds f0, f31, f26, f31 -/* 802BEF90 002BBEF0 38 81 00 08 */ addi r4, r1, 8 -/* 802BEF94 002BBEF4 38 6D 9A B8 */ addi r3, r13, lbl_805A8678@sda21 -/* 802BEF98 002BBEF8 FC 20 08 1E */ fctiwz f1, f1 -/* 802BEF9C 002BBEFC 38 AD 9A BC */ addi r5, r13, lbl_805A867C@sda21 -/* 802BEFA0 002BBF00 D0 01 00 08 */ stfs f0, 8(r1) -/* 802BEFA4 002BBF04 D8 21 00 20 */ stfd f1, 0x20(r1) -/* 802BEFA8 002BBF08 82 21 00 24 */ lwz r17, 0x24(r1) -/* 802BEFAC 002BBF0C 4B D4 D3 09 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802BEFB0 002BBF10 C0 03 00 00 */ lfs f0, 0(r3) -/* 802BEFB4 002BBF14 3A B5 00 01 */ addi r21, r21, 1 -/* 802BEFB8 002BBF18 56 20 44 2E */ rlwinm r0, r17, 8, 0x10, 0x17 -/* 802BEFBC 002BBF1C 3B DE 00 02 */ addi r30, r30, 2 -/* 802BEFC0 002BBF20 FC 00 00 1E */ fctiwz f0, f0 -/* 802BEFC4 002BBF24 2C 15 00 04 */ cmpwi r21, 4 -/* 802BEFC8 002BBF28 3B 9C 00 02 */ addi r28, r28, 2 -/* 802BEFCC 002BBF2C 3B 7B 00 02 */ addi r27, r27, 2 -/* 802BEFD0 002BBF30 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 802BEFD4 002BBF34 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802BEFD8 002BBF38 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f -/* 802BEFDC 002BBF3C B0 1F 00 00 */ sth r0, 0(r31) -/* 802BEFE0 002BBF40 3B FF 00 02 */ addi r31, r31, 2 -/* 802BEFE4 002BBF44 41 80 FF 14 */ blt lbl_802BEEF8 -/* 802BEFE8 002BBF48 3A D6 00 01 */ addi r22, r22, 1 -/* 802BEFEC 002BBF4C 2C 16 00 04 */ cmpwi r22, 4 -/* 802BEFF0 002BBF50 41 80 FE F4 */ blt lbl_802BEEE4 -/* 802BEFF4 002BBF54 3A F7 00 01 */ addi r23, r23, 1 -/* 802BEFF8 002BBF58 3B BD 00 04 */ addi r29, r29, 4 -/* 802BEFFC 002BBF5C 2C 17 00 08 */ cmpwi r23, 8 -/* 802BF000 002BBF60 41 80 FE DC */ blt lbl_802BEEDC -/* 802BF004 002BBF64 3B 18 00 01 */ addi r24, r24, 1 -/* 802BF008 002BBF68 3B 5A 00 04 */ addi r26, r26, 4 -/* 802BF00C 002BBF6C 2C 18 00 08 */ cmpwi r24, 8 -/* 802BF010 002BBF70 41 80 FE C0 */ blt lbl_802BEED0 -/* 802BF014 002BBF74 38 74 01 50 */ addi r3, r20, 0x150 -/* 802BF018 002BBF78 48 04 F9 05 */ bl UnLock__8CTextureFv -/* 802BF01C 002BBF7C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802BF020 002BBF80 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802BF024 002BBF84 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 802BF028 002BBF88 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802BF02C 002BBF8C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 802BF030 002BBF90 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 802BF034 002BBF94 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 802BF038 002BBF98 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 802BF03C 002BBF9C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 802BF040 002BBFA0 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 802BF044 002BBFA4 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 802BF048 002BBFA8 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 802BF04C 002BBFAC BA 21 00 34 */ lmw r17, 0x34(r1) -/* 802BF050 002BBFB0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802BF054 002BBFB4 7C 08 03 A6 */ mtlr r0 -/* 802BF058 002BBFB8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802BF05C 002BBFBC 4E 80 00 20 */ blr - -.global __ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory -__ct__13CCubeRendererFR12IObjectStoreR10COsContextR10CMemorySysR11CResFactory: -/* 802BF060 002BBFC0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802BF064 002BBFC4 7C 08 02 A6 */ mflr r0 -/* 802BF068 002BBFC8 3C A0 80 3E */ lis r5, lbl_803D8D90@ha -/* 802BF06C 002BBFCC C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802BF070 002BBFD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802BF074 002BBFD4 38 05 8D 90 */ addi r0, r5, lbl_803D8D90@l -/* 802BF078 002BBFD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802BF07C 002BBFDC 7C 7F 1B 78 */ mr r31, r3 -/* 802BF080 002BBFE0 3C 60 80 3F */ lis r3, lbl_803EC538@ha -/* 802BF084 002BBFE4 90 1F 00 00 */ stw r0, 0(r31) -/* 802BF088 002BBFE8 38 03 C5 38 */ addi r0, r3, lbl_803EC538@l -/* 802BF08C 002BBFEC 3C 60 80 3F */ lis r3, lbl_803EC5D8@ha -/* 802BF090 002BBFF0 90 1F 00 04 */ stw r0, 4(r31) -/* 802BF094 002BBFF4 38 A3 C5 D8 */ addi r5, r3, lbl_803EC5D8@l -/* 802BF098 002BBFF8 38 05 01 0C */ addi r0, r5, 0x10c -/* 802BF09C 002BBFFC 38 7F 00 10 */ addi r3, r31, 0x10 -/* 802BF0A0 002BC000 90 BF 00 00 */ stw r5, 0(r31) -/* 802BF0A4 002BC004 90 1F 00 04 */ stw r0, 4(r31) -/* 802BF0A8 002BC008 90 FF 00 08 */ stw r7, 8(r31) -/* 802BF0AC 002BC00C 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802BF0B0 002BC010 48 04 6F 4D */ bl __ct__5CFontFf -/* 802BF0B4 002BC014 38 C0 00 00 */ li r6, 0 -/* 802BF0B8 002BC018 C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802BF0BC 002BC01C 90 DF 00 18 */ stw r6, 0x18(r31) -/* 802BF0C0 002BC020 38 1F 00 28 */ addi r0, r31, 0x28 -/* 802BF0C4 002BC024 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802BF0C8 002BC028 FC 60 10 90 */ fmr f3, f2 -/* 802BF0CC 002BC02C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802BF0D0 002BC030 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802BF0D4 002BC034 C0 22 C3 50 */ lfs f1, lbl_805AE070@sda21(r2) -/* 802BF0D8 002BC038 38 7F 00 44 */ addi r3, r31, 0x44 -/* 802BF0DC 002BC03C 90 1F 00 24 */ stw r0, 0x24(r31) -/* 802BF0E0 002BC040 C0 82 C3 54 */ lfs f4, lbl_805AE074@sda21(r2) -/* 802BF0E4 002BC044 38 A0 00 00 */ li r5, 0 -/* 802BF0E8 002BC048 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802BF0EC 002BC04C 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802BF0F0 002BC050 90 DF 00 30 */ stw r6, 0x30(r31) -/* 802BF0F4 002BC054 90 DF 00 38 */ stw r6, 0x38(r31) -/* 802BF0F8 002BC058 90 DF 00 3C */ stw r6, 0x3c(r31) -/* 802BF0FC 002BC05C 90 DF 00 40 */ stw r6, 0x40(r31) -/* 802BF100 002BC060 48 08 61 55 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 802BF104 002BC064 38 00 00 00 */ li r0, 0 -/* 802BF108 002BC068 C0 22 C2 74 */ lfs f1, lbl_805ADF94@sda21(r2) -/* 802BF10C 002BC06C 90 1F 00 A8 */ stw r0, 0xa8(r31) -/* 802BF110 002BC070 38 61 00 08 */ addi r3, r1, 8 -/* 802BF114 002BC074 C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BF118 002BC078 D0 21 00 08 */ stfs f1, 8(r1) -/* 802BF11C 002BC07C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802BF120 002BC080 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802BF124 002BC084 48 05 57 D5 */ bl Normalize__9CVector3fFv -/* 802BF128 002BC088 C0 21 00 08 */ lfs f1, 8(r1) -/* 802BF12C 002BC08C 39 00 00 00 */ li r8, 0 -/* 802BF130 002BC090 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BF134 002BC094 38 00 FF FF */ li r0, -1 -/* 802BF138 002BC098 D0 3F 00 B0 */ stfs f1, 0xb0(r31) -/* 802BF13C 002BC09C 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 802BF140 002BC0A0 38 80 00 07 */ li r4, 7 -/* 802BF144 002BC0A4 38 A0 00 04 */ li r5, 4 -/* 802BF148 002BC0A8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802BF14C 002BC0AC 38 C0 00 04 */ li r6, 4 -/* 802BF150 002BC0B0 38 E0 00 01 */ li r7, 1 -/* 802BF154 002BC0B4 D0 3F 00 B4 */ stfs f1, 0xb4(r31) -/* 802BF158 002BC0B8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802BF15C 002BC0BC D0 3F 00 B8 */ stfs f1, 0xb8(r31) -/* 802BF160 002BC0C0 D0 1F 00 BC */ stfs f0, 0xbc(r31) -/* 802BF164 002BC0C4 99 1F 00 C0 */ stb r8, 0xc0(r31) -/* 802BF168 002BC0C8 99 1F 00 DC */ stb r8, 0xdc(r31) -/* 802BF16C 002BC0CC 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 802BF170 002BC0D0 48 05 0C BD */ bl __ct__8CTextureF12ETexelFormatssi -/* 802BF174 002BC0D4 38 00 00 00 */ li r0, 0 -/* 802BF178 002BC0D8 38 7F 01 50 */ addi r3, r31, 0x150 -/* 802BF17C 002BC0DC 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 802BF180 002BC0E0 38 80 00 03 */ li r4, 3 -/* 802BF184 002BC0E4 38 A0 00 20 */ li r5, 0x20 -/* 802BF188 002BC0E8 38 C0 00 20 */ li r6, 0x20 -/* 802BF18C 002BC0EC 38 E0 00 01 */ li r7, 1 -/* 802BF190 002BC0F0 48 05 0C 9D */ bl __ct__8CTextureF12ETexelFormatssi -/* 802BF194 002BC0F4 38 7F 01 B8 */ addi r3, r31, 0x1b8 -/* 802BF198 002BC0F8 38 80 00 01 */ li r4, 1 -/* 802BF19C 002BC0FC 38 A0 01 00 */ li r5, 0x100 -/* 802BF1A0 002BC100 38 C0 01 00 */ li r6, 0x100 -/* 802BF1A4 002BC104 38 E0 00 01 */ li r7, 1 -/* 802BF1A8 002BC108 48 05 0C 85 */ bl __ct__8CTextureF12ETexelFormatssi -/* 802BF1AC 002BC10C 38 7F 02 20 */ addi r3, r31, 0x220 -/* 802BF1B0 002BC110 38 80 00 01 */ li r4, 1 -/* 802BF1B4 002BC114 38 A0 00 20 */ li r5, 0x20 -/* 802BF1B8 002BC118 38 C0 00 20 */ li r6, 0x20 -/* 802BF1BC 002BC11C 38 E0 00 01 */ li r7, 1 -/* 802BF1C0 002BC120 48 05 0C 6D */ bl __ct__8CTextureF12ETexelFormatssi -/* 802BF1C4 002BC124 38 7F 02 88 */ addi r3, r31, 0x288 -/* 802BF1C8 002BC128 38 80 00 01 */ li r4, 1 -/* 802BF1CC 002BC12C 38 A0 00 10 */ li r5, 0x10 -/* 802BF1D0 002BC130 48 04 EE A5 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati -/* 802BF1D4 002BC134 38 7F 02 A8 */ addi r3, r31, 0x2a8 -/* 802BF1D8 002BC138 38 80 00 14 */ li r4, 0x14 -/* 802BF1DC 002BC13C 48 05 34 11 */ bl __ct__9CRandom16FUi -/* 802BF1E0 002BC140 38 BF 02 B8 */ addi r5, r31, 0x2b8 -/* 802BF1E4 002BC144 38 80 00 00 */ li r4, 0 -/* 802BF1E8 002BC148 90 BF 02 B0 */ stw r5, 0x2b0(r31) -/* 802BF1EC 002BC14C 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 802BF1F0 002BC150 38 00 00 02 */ li r0, 2 -/* 802BF1F4 002BC154 90 BF 02 B4 */ stw r5, 0x2b4(r31) -/* 802BF1F8 002BC158 90 BF 02 B8 */ stw r5, 0x2b8(r31) -/* 802BF1FC 002BC15C 90 BF 02 BC */ stw r5, 0x2bc(r31) -/* 802BF200 002BC160 90 9F 02 C0 */ stw r4, 0x2c0(r31) -/* 802BF204 002BC164 90 7F 02 C8 */ stw r3, 0x2c8(r31) -/* 802BF208 002BC168 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 802BF20C 002BC16C 90 7F 02 D0 */ stw r3, 0x2d0(r31) -/* 802BF210 002BC170 90 7F 02 D4 */ stw r3, 0x2d4(r31) -/* 802BF214 002BC174 90 9F 02 D8 */ stw r4, 0x2d8(r31) -/* 802BF218 002BC178 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 802BF21C 002BC17C 48 08 AD 91 */ bl White__6CColorFv -/* 802BF220 002BC180 80 03 00 00 */ lwz r0, 0(r3) -/* 802BF224 002BC184 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 802BF228 002BC188 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l -/* 802BF22C 002BC18C C0 02 C2 70 */ lfs f0, lbl_805ADF90@sda21(r2) -/* 802BF230 002BC190 90 1F 02 E0 */ stw r0, 0x2e0(r31) -/* 802BF234 002BC194 38 00 00 FF */ li r0, 0xff -/* 802BF238 002BC198 38 C0 00 00 */ li r6, 0 -/* 802BF23C 002BC19C 38 A0 00 01 */ li r5, 1 -/* 802BF240 002BC1A0 C0 27 00 00 */ lfs f1, 0(r7) -/* 802BF244 002BC1A4 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 802BF248 002BC1A8 38 80 00 00 */ li r4, 0 -/* 802BF24C 002BC1AC D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 802BF250 002BC1B0 C0 27 00 04 */ lfs f1, 4(r7) -/* 802BF254 002BC1B4 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) -/* 802BF258 002BC1B8 C0 27 00 08 */ lfs f1, 8(r7) -/* 802BF25C 002BC1BC D0 3F 02 EC */ stfs f1, 0x2ec(r31) -/* 802BF260 002BC1C0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 802BF264 002BC1C4 98 1F 02 F4 */ stb r0, 0x2f4(r31) -/* 802BF268 002BC1C8 98 DF 02 F5 */ stb r6, 0x2f5(r31) -/* 802BF26C 002BC1CC 98 1F 02 F6 */ stb r0, 0x2f6(r31) -/* 802BF270 002BC1D0 98 1F 02 F7 */ stb r0, 0x2f7(r31) -/* 802BF274 002BC1D4 98 DF 02 F8 */ stb r6, 0x2f8(r31) -/* 802BF278 002BC1D8 98 1F 02 FC */ stb r0, 0x2fc(r31) -/* 802BF27C 002BC1DC 98 DF 02 FD */ stb r6, 0x2fd(r31) -/* 802BF280 002BC1E0 98 1F 02 FE */ stb r0, 0x2fe(r31) -/* 802BF284 002BC1E4 98 1F 02 FF */ stb r0, 0x2ff(r31) -/* 802BF288 002BC1E8 90 DF 03 04 */ stw r6, 0x304(r31) -/* 802BF28C 002BC1EC 90 DF 03 08 */ stw r6, 0x308(r31) -/* 802BF290 002BC1F0 90 DF 03 0C */ stw r6, 0x30c(r31) -/* 802BF294 002BC1F4 90 DF 03 10 */ stw r6, 0x310(r31) -/* 802BF298 002BC1F8 90 DF 03 14 */ stw r6, 0x314(r31) -/* 802BF29C 002BC1FC 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2A0 002BC200 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802BF2A4 002BC204 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2A8 002BC208 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2AC 002BC20C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 802BF2B0 002BC210 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2B4 002BC214 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2B8 002BC218 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 802BF2BC 002BC21C 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2C0 002BC220 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2C4 002BC224 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 802BF2C8 002BC228 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2CC 002BC22C 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2D0 002BC230 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 802BF2D4 002BC234 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2D8 002BC238 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2DC 002BC23C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 802BF2E0 002BC240 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2E4 002BC244 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2E8 002BC248 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 802BF2EC 002BC24C 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2F0 002BC250 88 1F 03 18 */ lbz r0, 0x318(r31) -/* 802BF2F4 002BC254 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 802BF2F8 002BC258 98 1F 03 18 */ stb r0, 0x318(r31) -/* 802BF2FC 002BC25C 88 1F 00 EE */ lbz r0, 0xee(r31) -/* 802BF300 002BC260 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802BF304 002BC264 98 1F 00 EE */ stb r0, 0xee(r31) -/* 802BF308 002BC268 48 04 F2 CD */ bl GetBitMapData__8CTextureFi -/* 802BF30C 002BC26C 38 80 00 00 */ li r4, 0 -/* 802BF310 002BC270 38 A0 00 20 */ li r5, 0x20 -/* 802BF314 002BC274 4B D4 40 95 */ bl memset -/* 802BF318 002BC278 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 802BF31C 002BC27C 48 04 F6 01 */ bl UnLock__8CTextureFv -/* 802BF320 002BC280 7F E3 FB 78 */ mr r3, r31 -/* 802BF324 002BC284 4B FF FB 2D */ bl sub_802bee50 -/* 802BF328 002BC288 7F E3 FB 78 */ mr r3, r31 -/* 802BF32C 002BC28C 4B FF F9 29 */ bl sub_802bec54 -/* 802BF330 002BC290 7F E3 FB 78 */ mr r3, r31 -/* 802BF334 002BC294 4B FF F7 A5 */ bl sub_802bead8 -/* 802BF338 002BC298 7F E3 FB 78 */ mr r3, r31 -/* 802BF33C 002BC29C 4B FF F5 CD */ bl sub_802be908 -/* 802BF340 002BC2A0 93 ED A5 F0 */ stw r31, lbl_805A91B0@sda21(r13) -/* 802BF344 002BC2A4 48 00 0B 31 */ bl Init__7BucketsFv -/* 802BF348 002BC2A8 48 09 33 F9 */ bl sub_80352740 -/* 802BF34C 002BC2AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802BF350 002BC2B0 7F E3 FB 78 */ mr r3, r31 -/* 802BF354 002BC2B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802BF358 002BC2B8 7C 08 03 A6 */ mtlr r0 -/* 802BF35C 002BC2BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802BF360 002BC2C0 4E 80 00 20 */ blr - -.global __ct__Q213CCubeRenderer13CAreaListItem -__ct__Q213CCubeRenderer13CAreaListItem: -/* 802BF364 002BC2C4 90 83 00 00 */ stw r4, 0(r3) -/* 802BF368 002BC2C8 39 20 00 00 */ li r9, 0 -/* 802BF36C 002BC2CC 90 A3 00 04 */ stw r5, 4(r3) -/* 802BF370 002BC2D0 88 06 00 00 */ lbz r0, 0(r6) -/* 802BF374 002BC2D4 98 03 00 08 */ stb r0, 8(r3) -/* 802BF378 002BC2D8 80 06 00 04 */ lwz r0, 4(r6) -/* 802BF37C 002BC2DC 90 03 00 0C */ stw r0, 0xc(r3) -/* 802BF380 002BC2E0 99 26 00 00 */ stb r9, 0(r6) -/* 802BF384 002BC2E4 88 07 00 00 */ lbz r0, 0(r7) -/* 802BF388 002BC2E8 98 03 00 10 */ stb r0, 0x10(r3) -/* 802BF38C 002BC2EC 80 07 00 04 */ lwz r0, 4(r7) -/* 802BF390 002BC2F0 90 03 00 14 */ stw r0, 0x14(r3) -/* 802BF394 002BC2F4 99 27 00 00 */ stb r9, 0(r7) -/* 802BF398 002BC2F8 91 03 00 18 */ stw r8, 0x18(r3) -/* 802BF39C 002BC2FC 91 23 00 20 */ stw r9, 0x20(r3) -/* 802BF3A0 002BC300 91 23 00 24 */ stw r9, 0x24(r3) -/* 802BF3A4 002BC304 91 23 00 28 */ stw r9, 0x28(r3) -/* 802BF3A8 002BC308 4E 80 00 20 */ blr - -.global Clear__7BucketsFv -Clear__7BucketsFv: -/* 802BF3AC 002BC30C 80 CD A6 0C */ lwz r6, lbl_805A91CC@sda21(r13) -/* 802BF3B0 002BC310 38 60 00 00 */ li r3, 0 -/* 802BF3B4 002BC314 80 A6 00 00 */ lwz r5, 0(r6) -/* 802BF3B8 002BC318 2C 05 00 00 */ cmpwi r5, 0 -/* 802BF3BC 002BC31C 40 81 00 40 */ ble lbl_802BF3FC -/* 802BF3C0 002BC320 2C 05 00 08 */ cmpwi r5, 8 -/* 802BF3C4 002BC324 38 85 FF F8 */ addi r4, r5, -8 -/* 802BF3C8 002BC328 40 81 00 20 */ ble lbl_802BF3E8 -/* 802BF3CC 002BC32C 38 04 00 07 */ addi r0, r4, 7 -/* 802BF3D0 002BC330 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BF3D4 002BC334 7C 09 03 A6 */ mtctr r0 -/* 802BF3D8 002BC338 2C 04 00 00 */ cmpwi r4, 0 -/* 802BF3DC 002BC33C 40 81 00 0C */ ble lbl_802BF3E8 -lbl_802BF3E0: -/* 802BF3E0 002BC340 38 63 00 08 */ addi r3, r3, 8 -/* 802BF3E4 002BC344 42 00 FF FC */ bdnz lbl_802BF3E0 -lbl_802BF3E8: -/* 802BF3E8 002BC348 7C 03 28 50 */ subf r0, r3, r5 -/* 802BF3EC 002BC34C 7C 09 03 A6 */ mtctr r0 -/* 802BF3F0 002BC350 7C 03 28 00 */ cmpw r3, r5 -/* 802BF3F4 002BC354 40 80 00 08 */ bge lbl_802BF3FC -lbl_802BF3F8: -/* 802BF3F8 002BC358 42 00 00 00 */ bdnz lbl_802BF3F8 -lbl_802BF3FC: -/* 802BF3FC 002BC35C 38 80 00 00 */ li r4, 0 -/* 802BF400 002BC360 3C 60 80 47 */ lis r3, lbl_8046E20C@ha -/* 802BF404 002BC364 90 86 00 00 */ stw r4, 0(r6) -/* 802BF408 002BC368 80 A3 E2 0C */ lwz r5, lbl_8046E20C@l(r3) -/* 802BF40C 002BC36C 2C 05 00 00 */ cmpwi r5, 0 -/* 802BF410 002BC370 40 81 00 40 */ ble lbl_802BF450 -/* 802BF414 002BC374 2C 05 00 08 */ cmpwi r5, 8 -/* 802BF418 002BC378 38 65 FF F8 */ addi r3, r5, -8 -/* 802BF41C 002BC37C 40 81 00 20 */ ble lbl_802BF43C -/* 802BF420 002BC380 38 03 00 07 */ addi r0, r3, 7 -/* 802BF424 002BC384 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BF428 002BC388 7C 09 03 A6 */ mtctr r0 -/* 802BF42C 002BC38C 2C 03 00 00 */ cmpwi r3, 0 -/* 802BF430 002BC390 40 81 00 0C */ ble lbl_802BF43C -lbl_802BF434: -/* 802BF434 002BC394 38 84 00 08 */ addi r4, r4, 8 -/* 802BF438 002BC398 42 00 FF FC */ bdnz lbl_802BF434 -lbl_802BF43C: -/* 802BF43C 002BC39C 7C 04 28 50 */ subf r0, r4, r5 -/* 802BF440 002BC3A0 7C 09 03 A6 */ mtctr r0 -/* 802BF444 002BC3A4 7C 04 28 00 */ cmpw r4, r5 -/* 802BF448 002BC3A8 40 80 00 08 */ bge lbl_802BF450 -lbl_802BF44C: -/* 802BF44C 002BC3AC 42 00 00 00 */ bdnz lbl_802BF44C -lbl_802BF450: -/* 802BF450 002BC3B0 3C 60 80 47 */ lis r3, lbl_8046E20C@ha -/* 802BF454 002BC3B4 38 80 00 00 */ li r4, 0 -/* 802BF458 002BC3B8 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) -/* 802BF45C 002BC3BC 90 83 E2 0C */ stw r4, lbl_8046E20C@l(r3) -/* 802BF460 002BC3C0 80 A6 00 00 */ lwz r5, 0(r6) -/* 802BF464 002BC3C4 2C 05 00 00 */ cmpwi r5, 0 -/* 802BF468 002BC3C8 40 81 00 40 */ ble lbl_802BF4A8 -/* 802BF46C 002BC3CC 2C 05 00 08 */ cmpwi r5, 8 -/* 802BF470 002BC3D0 38 65 FF F8 */ addi r3, r5, -8 -/* 802BF474 002BC3D4 40 81 00 20 */ ble lbl_802BF494 -/* 802BF478 002BC3D8 38 03 00 07 */ addi r0, r3, 7 -/* 802BF47C 002BC3DC 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BF480 002BC3E0 7C 09 03 A6 */ mtctr r0 -/* 802BF484 002BC3E4 2C 03 00 00 */ cmpwi r3, 0 -/* 802BF488 002BC3E8 40 81 00 0C */ ble lbl_802BF494 -lbl_802BF48C: -/* 802BF48C 002BC3EC 38 84 00 08 */ addi r4, r4, 8 -/* 802BF490 002BC3F0 42 00 FF FC */ bdnz lbl_802BF48C -lbl_802BF494: -/* 802BF494 002BC3F4 7C 04 28 50 */ subf r0, r4, r5 -/* 802BF498 002BC3F8 7C 09 03 A6 */ mtctr r0 -/* 802BF49C 002BC3FC 7C 04 28 00 */ cmpw r4, r5 -/* 802BF4A0 002BC400 40 80 00 08 */ bge lbl_802BF4A8 -lbl_802BF4A4: -/* 802BF4A4 002BC404 42 00 00 00 */ bdnz lbl_802BF4A4 -lbl_802BF4A8: -/* 802BF4A8 002BC408 38 60 00 00 */ li r3, 0 -/* 802BF4AC 002BC40C 90 66 00 00 */ stw r3, 0(r6) -/* 802BF4B0 002BC410 80 CD A6 20 */ lwz r6, lbl_805A91E0@sda21(r13) -/* 802BF4B4 002BC414 80 A6 00 00 */ lwz r5, 0(r6) -/* 802BF4B8 002BC418 2C 05 00 00 */ cmpwi r5, 0 -/* 802BF4BC 002BC41C 40 81 00 40 */ ble lbl_802BF4FC -/* 802BF4C0 002BC420 2C 05 00 08 */ cmpwi r5, 8 -/* 802BF4C4 002BC424 38 85 FF F8 */ addi r4, r5, -8 -/* 802BF4C8 002BC428 40 81 00 20 */ ble lbl_802BF4E8 -/* 802BF4CC 002BC42C 38 04 00 07 */ addi r0, r4, 7 -/* 802BF4D0 002BC430 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BF4D4 002BC434 7C 09 03 A6 */ mtctr r0 -/* 802BF4D8 002BC438 2C 04 00 00 */ cmpwi r4, 0 -/* 802BF4DC 002BC43C 40 81 00 0C */ ble lbl_802BF4E8 -lbl_802BF4E0: -/* 802BF4E0 002BC440 38 63 00 08 */ addi r3, r3, 8 -/* 802BF4E4 002BC444 42 00 FF FC */ bdnz lbl_802BF4E0 -lbl_802BF4E8: -/* 802BF4E8 002BC448 7C 03 28 50 */ subf r0, r3, r5 -/* 802BF4EC 002BC44C 7C 09 03 A6 */ mtctr r0 -/* 802BF4F0 002BC450 7C 03 28 00 */ cmpw r3, r5 -/* 802BF4F4 002BC454 40 80 00 08 */ bge lbl_802BF4FC -lbl_802BF4F8: -/* 802BF4F8 002BC458 42 00 00 00 */ bdnz lbl_802BF4F8 -lbl_802BF4FC: -/* 802BF4FC 002BC45C 38 00 00 00 */ li r0, 0 -/* 802BF500 002BC460 90 06 00 00 */ stw r0, 0(r6) -/* 802BF504 002BC464 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) -/* 802BF508 002BC468 38 C3 00 04 */ addi r6, r3, 4 -/* 802BF50C 002BC46C 48 00 00 60 */ b lbl_802BF56C -lbl_802BF510: -/* 802BF510 002BC470 80 A6 00 00 */ lwz r5, 0(r6) -/* 802BF514 002BC474 38 60 00 00 */ li r3, 0 -/* 802BF518 002BC478 2C 05 00 00 */ cmpwi r5, 0 -/* 802BF51C 002BC47C 40 81 00 44 */ ble lbl_802BF560 -/* 802BF520 002BC480 2C 05 00 08 */ cmpwi r5, 8 -/* 802BF524 002BC484 38 85 FF F8 */ addi r4, r5, -8 -/* 802BF528 002BC488 40 81 00 20 */ ble lbl_802BF548 -/* 802BF52C 002BC48C 38 04 00 07 */ addi r0, r4, 7 -/* 802BF530 002BC490 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BF534 002BC494 7C 09 03 A6 */ mtctr r0 -/* 802BF538 002BC498 2C 04 00 00 */ cmpwi r4, 0 -/* 802BF53C 002BC49C 40 81 00 0C */ ble lbl_802BF548 -lbl_802BF540: -/* 802BF540 002BC4A0 38 63 00 08 */ addi r3, r3, 8 -/* 802BF544 002BC4A4 42 00 FF FC */ bdnz lbl_802BF540 -lbl_802BF548: -/* 802BF548 002BC4A8 7C 03 28 50 */ subf r0, r3, r5 -/* 802BF54C 002BC4AC 7C 09 03 A6 */ mtctr r0 -/* 802BF550 002BC4B0 7C 03 28 00 */ cmpw r3, r5 -/* 802BF554 002BC4B4 40 80 00 0C */ bge lbl_802BF560 -lbl_802BF558: -/* 802BF558 002BC4B8 38 63 00 01 */ addi r3, r3, 1 -/* 802BF55C 002BC4BC 42 00 FF FC */ bdnz lbl_802BF558 -lbl_802BF560: -/* 802BF560 002BC4C0 38 00 00 00 */ li r0, 0 -/* 802BF564 002BC4C4 90 06 00 00 */ stw r0, 0(r6) -/* 802BF568 002BC4C8 38 C6 02 04 */ addi r6, r6, 0x204 -lbl_802BF56C: -/* 802BF56C 002BC4CC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) -/* 802BF570 002BC4D0 80 03 00 00 */ lwz r0, 0(r3) -/* 802BF574 002BC4D4 1C 00 02 04 */ mulli r0, r0, 0x204 -/* 802BF578 002BC4D8 7C 63 02 14 */ add r3, r3, r0 -/* 802BF57C 002BC4DC 38 63 00 04 */ addi r3, r3, 4 -/* 802BF580 002BC4E0 7C 06 18 40 */ cmplw r6, r3 -/* 802BF584 002BC4E4 40 82 FF 8C */ bne lbl_802BF510 -/* 802BF588 002BC4E8 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 -/* 802BF58C 002BC4EC C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) -/* 802BF590 002BC4F0 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BF594 002BC4F4 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802BF598 002BC4F8 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) -/* 802BF59C 002BC4FC D0 03 00 04 */ stfs f0, 4(r3) -/* 802BF5A0 002BC500 4E 80 00 20 */ blr - -.global Sort__7BucketsFv -Sort__7BucketsFv: -/* 802BF5A4 002BC504 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802BF5A8 002BC508 7C 08 02 A6 */ mflr r0 -/* 802BF5AC 002BC50C 90 01 00 94 */ stw r0, 0x94(r1) -/* 802BF5B0 002BC510 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802BF5B4 002BC514 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802BF5B8 002BC518 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 802BF5BC 002BC51C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 802BF5C0 002BC520 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 802BF5C4 002BC524 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 802BF5C8 002BC528 BF 01 00 40 */ stmw r24, 0x40(r1) -/* 802BF5CC 002BC52C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802BF5D0 002BC530 C0 4D A6 14 */ lfs f2, lbl_805A91D4@sda21(r13) -/* 802BF5D4 002BC534 C0 23 00 04 */ lfs f1, 4(r3) -/* 802BF5D8 002BC538 C0 0D 9A A0 */ lfs f0, lbl_805A8660@sda21(r13) -/* 802BF5DC 002BC53C FF E0 10 50 */ fneg f31, f2 -/* 802BF5E0 002BC540 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802BF5E4 002BC544 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BF5E8 002BC548 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802BF5EC 002BC54C 40 80 00 0C */ bge lbl_802BF5F8 -/* 802BF5F0 002BC550 38 6D 9A A0 */ addi r3, r13, lbl_805A8660@sda21 -/* 802BF5F4 002BC554 48 00 00 08 */ b lbl_802BF5FC -lbl_802BF5F8: -/* 802BF5F8 002BC558 38 61 00 1C */ addi r3, r1, 0x1c -lbl_802BF5FC: -/* 802BF5FC 002BC55C C3 A3 00 00 */ lfs f29, 0(r3) -/* 802BF600 002BC560 38 C0 00 00 */ li r6, 0 -/* 802BF604 002BC564 C0 02 C3 58 */ lfs f0, lbl_805AE078@sda21(r2) -/* 802BF608 002BC568 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) -/* 802BF60C 002BC56C EC 00 07 72 */ fmuls f0, f0, f29 -/* 802BF610 002BC570 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802BF614 002BC574 38 E3 00 04 */ addi r7, r3, 4 -/* 802BF618 002BC578 EF C1 00 24 */ fdivs f30, f1, f0 -/* 802BF61C 002BC57C 48 00 00 40 */ b lbl_802BF65C -lbl_802BF620: -/* 802BF620 002BC580 80 AD A6 20 */ lwz r5, lbl_805A91E0@sda21(r13) -/* 802BF624 002BC584 80 05 00 00 */ lwz r0, 0(r5) -/* 802BF628 002BC588 2C 00 00 08 */ cmpwi r0, 8 -/* 802BF62C 002BC58C 40 80 00 28 */ bge lbl_802BF654 -/* 802BF630 002BC590 54 00 08 3C */ slwi r0, r0, 1 -/* 802BF634 002BC594 54 C3 04 3E */ clrlwi r3, r6, 0x10 -/* 802BF638 002BC598 7C 85 02 14 */ add r4, r5, r0 -/* 802BF63C 002BC59C 34 84 00 04 */ addic. r4, r4, 4 -/* 802BF640 002BC5A0 41 82 00 08 */ beq lbl_802BF648 -/* 802BF644 002BC5A4 B0 64 00 00 */ sth r3, 0(r4) -lbl_802BF648: -/* 802BF648 002BC5A8 80 65 00 00 */ lwz r3, 0(r5) -/* 802BF64C 002BC5AC 38 03 00 01 */ addi r0, r3, 1 -/* 802BF650 002BC5B0 90 05 00 00 */ stw r0, 0(r5) -lbl_802BF654: -/* 802BF654 002BC5B4 38 E7 00 40 */ addi r7, r7, 0x40 -/* 802BF658 002BC5B8 38 C6 00 01 */ addi r6, r6, 1 -lbl_802BF65C: -/* 802BF65C 002BC5BC 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) -/* 802BF660 002BC5C0 80 03 00 00 */ lwz r0, 0(r3) -/* 802BF664 002BC5C4 54 00 30 32 */ slwi r0, r0, 6 -/* 802BF668 002BC5C8 7C 63 02 14 */ add r3, r3, r0 -/* 802BF66C 002BC5CC 38 63 00 04 */ addi r3, r3, 4 -/* 802BF670 002BC5D0 7C 07 18 40 */ cmplw r7, r3 -/* 802BF674 002BC5D4 40 82 FF AC */ bne lbl_802BF620 -/* 802BF678 002BC5D8 83 CD A6 20 */ lwz r30, lbl_805A91E0@sda21(r13) -/* 802BF67C 002BC5DC 3B E0 00 32 */ li r31, 0x32 -/* 802BF680 002BC5E0 80 1E 00 00 */ lwz r0, 0(r30) -/* 802BF684 002BC5E4 2C 00 00 00 */ cmpwi r0, 0 -/* 802BF688 002BC5E8 41 82 00 B0 */ beq lbl_802BF738 -/* 802BF68C 002BC5EC 88 0D A6 24 */ lbz r0, lbl_805A91E4@sda21(r13) -/* 802BF690 002BC5F0 38 7E 00 04 */ addi r3, r30, 4 -/* 802BF694 002BC5F4 38 A1 00 0C */ addi r5, r1, 0xc -/* 802BF698 002BC5F8 98 01 00 0C */ stb r0, 0xc(r1) -/* 802BF69C 002BC5FC 80 1E 00 00 */ lwz r0, 0(r30) -/* 802BF6A0 002BC600 54 00 08 3C */ slwi r0, r0, 1 -/* 802BF6A4 002BC604 7C 9E 02 14 */ add r4, r30, r0 -/* 802BF6A8 002BC608 38 84 00 04 */ addi r4, r4, 4 -/* 802BF6AC 002BC60C 48 00 09 B9 */ bl sub_802c0064 -/* 802BF6B0 002BC610 80 7E 00 00 */ lwz r3, 0(r30) -/* 802BF6B4 002BC614 3C 00 43 30 */ lis r0, 0x4330 -/* 802BF6B8 002BC618 38 80 00 32 */ li r4, 0x32 -/* 802BF6BC 002BC61C 90 01 00 38 */ stw r0, 0x38(r1) -/* 802BF6C0 002BC620 38 03 00 01 */ addi r0, r3, 1 -/* 802BF6C4 002BC624 C8 22 C2 A0 */ lfd f1, lbl_805ADFC0@sda21(r2) -/* 802BF6C8 002BC628 7F E4 03 D6 */ divw r31, r4, r0 -/* 802BF6CC 002BC62C C0 42 C2 70 */ lfs f2, lbl_805ADF90@sda21(r2) -/* 802BF6D0 002BC630 38 DE 00 04 */ addi r6, r30, 4 -/* 802BF6D4 002BC634 38 A0 00 00 */ li r5, 0 -/* 802BF6D8 002BC638 38 1F FF FE */ addi r0, r31, -2 -/* 802BF6DC 002BC63C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802BF6E0 002BC640 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802BF6E4 002BC644 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802BF6E8 002BC648 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802BF6EC 002BC64C EC 02 00 24 */ fdivs f0, f2, f0 -/* 802BF6F0 002BC650 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 802BF6F4 002BC654 EF C2 00 24 */ fdivs f30, f2, f0 -/* 802BF6F8 002BC658 48 00 00 28 */ b lbl_802BF720 -lbl_802BF6FC: -/* 802BF6FC 002BC65C 38 65 00 01 */ addi r3, r5, 1 -/* 802BF700 002BC660 A0 06 00 00 */ lhz r0, 0(r6) -/* 802BF704 002BC664 7C 9F 19 D6 */ mullw r4, r31, r3 -/* 802BF708 002BC668 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) -/* 802BF70C 002BC66C 54 00 30 32 */ slwi r0, r0, 6 -/* 802BF710 002BC670 38 C6 00 02 */ addi r6, r6, 2 -/* 802BF714 002BC674 7C 63 02 14 */ add r3, r3, r0 -/* 802BF718 002BC678 38 A5 00 01 */ addi r5, r5, 1 -/* 802BF71C 002BC67C B0 83 00 28 */ sth r4, 0x28(r3) -lbl_802BF720: -/* 802BF720 002BC680 80 1E 00 00 */ lwz r0, 0(r30) -/* 802BF724 002BC684 54 00 08 3C */ slwi r0, r0, 1 -/* 802BF728 002BC688 7C 7E 02 14 */ add r3, r30, r0 -/* 802BF72C 002BC68C 38 03 00 04 */ addi r0, r3, 4 -/* 802BF730 002BC690 7C 06 00 40 */ cmplw r6, r0 -/* 802BF734 002BC694 40 82 FF C8 */ bne lbl_802BF6FC -lbl_802BF738: -/* 802BF738 002BC698 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) -/* 802BF73C 002BC69C 83 AD A6 20 */ lwz r29, lbl_805A91E0@sda21(r13) -/* 802BF740 002BC6A0 83 8D A6 1C */ lwz r28, lbl_805A91DC@sda21(r13) -/* 802BF744 002BC6A4 3B C3 00 04 */ addi r30, r3, 4 -/* 802BF748 002BC6A8 48 00 02 8C */ b lbl_802BF9D4 -lbl_802BF74C: -/* 802BF74C 002BC6AC C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 802BF750 002BC6B0 80 1D 00 00 */ lwz r0, 0(r29) -/* 802BF754 002BC6B4 EC 1F 00 2A */ fadds f0, f31, f0 -/* 802BF758 002BC6B8 2C 00 00 00 */ cmpwi r0, 0 -/* 802BF75C 002BC6BC 40 82 00 48 */ bne lbl_802BF7A4 -/* 802BF760 002BC6C0 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 802BF764 002BC6C4 80 0D 9A A4 */ lwz r0, lbl_805A8664@sda21(r13) -/* 802BF768 002BC6C8 38 8D 9A A4 */ addi r4, r13, lbl_805A8664@sda21 -/* 802BF76C 002BC6CC FC 00 00 1E */ fctiwz f0, f0 -/* 802BF770 002BC6D0 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 802BF774 002BC6D4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 802BF778 002BC6D8 7C 03 00 00 */ cmpw r3, r0 -/* 802BF77C 002BC6DC 90 61 00 18 */ stw r3, 0x18(r1) -/* 802BF780 002BC6E0 40 80 00 08 */ bge lbl_802BF788 -/* 802BF784 002BC6E4 38 81 00 18 */ addi r4, r1, 0x18 -lbl_802BF788: -/* 802BF788 002BC6E8 80 64 00 00 */ lwz r3, 0(r4) -/* 802BF78C 002BC6EC 80 0D 9A A8 */ lwz r0, lbl_805A8668@sda21(r13) -/* 802BF790 002BC6F0 7C 03 00 00 */ cmpw r3, r0 -/* 802BF794 002BC6F4 40 80 00 08 */ bge lbl_802BF79C -/* 802BF798 002BC6F8 38 8D 9A A8 */ addi r4, r13, lbl_805A8668@sda21 -lbl_802BF79C: -/* 802BF79C 002BC6FC 83 64 00 00 */ lwz r27, 0(r4) -/* 802BF7A0 002BC700 48 00 01 EC */ b lbl_802BF98C -lbl_802BF7A4: -/* 802BF7A4 002BC704 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 802BF7A8 002BC708 38 1F FF FE */ addi r0, r31, -2 -/* 802BF7AC 002BC70C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BF7B0 002BC710 38 81 00 14 */ addi r4, r1, 0x14 -/* 802BF7B4 002BC714 FC 00 00 1E */ fctiwz f0, f0 -/* 802BF7B8 002BC718 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 802BF7BC 002BC71C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 802BF7C0 002BC720 7C 03 00 00 */ cmpw r3, r0 -/* 802BF7C4 002BC724 90 61 00 10 */ stw r3, 0x10(r1) -/* 802BF7C8 002BC728 40 80 00 08 */ bge lbl_802BF7D0 -/* 802BF7CC 002BC72C 38 81 00 10 */ addi r4, r1, 0x10 -lbl_802BF7D0: -/* 802BF7D0 002BC730 80 64 00 00 */ lwz r3, 0(r4) -/* 802BF7D4 002BC734 80 0D 9A AC */ lwz r0, lbl_805A866C@sda21(r13) -/* 802BF7D8 002BC738 7C 03 00 00 */ cmpw r3, r0 -/* 802BF7DC 002BC73C 40 80 00 08 */ bge lbl_802BF7E4 -/* 802BF7E0 002BC740 38 8D 9A AC */ addi r4, r13, lbl_805A866C@sda21 -lbl_802BF7E4: -/* 802BF7E4 002BC744 83 64 00 00 */ lwz r27, 0(r4) -/* 802BF7E8 002BC748 3B 5D 00 04 */ addi r26, r29, 4 -/* 802BF7EC 002BC74C 48 00 01 88 */ b lbl_802BF974 -lbl_802BF7F0: -/* 802BF7F0 002BC750 A0 1A 00 00 */ lhz r0, 0(r26) -/* 802BF7F4 002BC754 54 00 30 32 */ slwi r0, r0, 6 -/* 802BF7F8 002BC758 7F 3C 02 14 */ add r25, r28, r0 -/* 802BF7FC 002BC75C 88 19 00 40 */ lbz r0, 0x40(r25) -/* 802BF800 002BC760 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802BF804 002BC764 41 82 00 40 */ beq lbl_802BF844 -/* 802BF808 002BC768 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 802BF80C 002BC76C C0 39 00 3C */ lfs f1, 0x3c(r25) -/* 802BF810 002BC770 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802BF814 002BC774 40 81 00 0C */ ble lbl_802BF820 -/* 802BF818 002BC778 38 00 00 01 */ li r0, 1 -/* 802BF81C 002BC77C 48 00 00 08 */ b lbl_802BF824 -lbl_802BF820: -/* 802BF820 002BC780 38 00 00 00 */ li r0, 0 -lbl_802BF824: -/* 802BF824 002BC784 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 802BF828 002BC788 7C 18 03 78 */ mr r24, r0 -/* 802BF82C 002BC78C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802BF830 002BC790 40 81 00 0C */ ble lbl_802BF83C -/* 802BF834 002BC794 38 80 00 01 */ li r4, 1 -/* 802BF838 002BC798 48 00 00 B4 */ b lbl_802BF8EC -lbl_802BF83C: -/* 802BF83C 002BC79C 38 80 00 00 */ li r4, 0 -/* 802BF840 002BC7A0 48 00 00 AC */ b lbl_802BF8EC -lbl_802BF844: -/* 802BF844 002BC7A4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802BF848 002BC7A8 38 9E 00 08 */ addi r4, r30, 8 -/* 802BF84C 002BC7AC 38 B9 00 30 */ addi r5, r25, 0x30 -/* 802BF850 002BC7B0 48 07 79 8D */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BF854 002BC7B4 C0 39 00 34 */ lfs f1, 0x34(r25) -/* 802BF858 002BC7B8 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802BF85C 002BC7BC C0 59 00 30 */ lfs f2, 0x30(r25) -/* 802BF860 002BC7C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BF864 002BC7C4 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802BF868 002BC7C8 C0 99 00 38 */ lfs f4, 0x38(r25) -/* 802BF86C 002BC7CC C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802BF870 002BC7D0 EC 42 00 7A */ fmadds f2, f2, f1, f0 -/* 802BF874 002BC7D4 C0 39 00 3C */ lfs f1, 0x3c(r25) -/* 802BF878 002BC7D8 C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BF87C 002BC7DC EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 802BF880 002BC7E0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802BF884 002BC7E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BF888 002BC7E8 40 81 00 0C */ ble lbl_802BF894 -/* 802BF88C 002BC7EC 3B 00 00 01 */ li r24, 1 -/* 802BF890 002BC7F0 48 00 00 08 */ b lbl_802BF898 -lbl_802BF894: -/* 802BF894 002BC7F4 3B 00 00 00 */ li r24, 0 -lbl_802BF898: -/* 802BF898 002BC7F8 38 61 00 20 */ addi r3, r1, 0x20 -/* 802BF89C 002BC7FC 38 9E 00 08 */ addi r4, r30, 8 -/* 802BF8A0 002BC800 38 B9 00 30 */ addi r5, r25, 0x30 -/* 802BF8A4 002BC804 48 07 79 79 */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f -/* 802BF8A8 002BC808 C0 39 00 34 */ lfs f1, 0x34(r25) -/* 802BF8AC 002BC80C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802BF8B0 002BC810 C0 59 00 30 */ lfs f2, 0x30(r25) -/* 802BF8B4 002BC814 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BF8B8 002BC818 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802BF8BC 002BC81C C0 99 00 38 */ lfs f4, 0x38(r25) -/* 802BF8C0 002BC820 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802BF8C4 002BC824 EC 42 00 7A */ fmadds f2, f2, f1, f0 -/* 802BF8C8 002BC828 C0 39 00 3C */ lfs f1, 0x3c(r25) -/* 802BF8CC 002BC82C C0 02 C2 74 */ lfs f0, lbl_805ADF94@sda21(r2) -/* 802BF8D0 002BC830 EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 802BF8D4 002BC834 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802BF8D8 002BC838 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BF8DC 002BC83C 40 81 00 0C */ ble lbl_802BF8E8 -/* 802BF8E0 002BC840 38 80 00 01 */ li r4, 1 -/* 802BF8E4 002BC844 48 00 00 08 */ b lbl_802BF8EC -lbl_802BF8E8: -/* 802BF8E8 002BC848 38 80 00 00 */ li r4, 0 -lbl_802BF8EC: -/* 802BF8EC 002BC84C A0 1E 00 00 */ lhz r0, 0(r30) -/* 802BF8F0 002BC850 2C 00 00 01 */ cmpwi r0, 1 -/* 802BF8F4 002BC854 40 82 00 28 */ bne lbl_802BF91C -/* 802BF8F8 002BC858 88 19 00 40 */ lbz r0, 0x40(r25) -/* 802BF8FC 002BC85C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802BF900 002BC860 41 82 00 14 */ beq lbl_802BF914 -/* 802BF904 002BC864 57 00 06 3E */ clrlwi r0, r24, 0x18 -/* 802BF908 002BC868 7C 00 00 34 */ cntlzw r0, r0 -/* 802BF90C 002BC86C 54 00 D9 7E */ srwi r0, r0, 5 -/* 802BF910 002BC870 48 00 00 54 */ b lbl_802BF964 -lbl_802BF914: -/* 802BF914 002BC874 7C 80 23 78 */ mr r0, r4 -/* 802BF918 002BC878 48 00 00 4C */ b lbl_802BF964 -lbl_802BF91C: -/* 802BF91C 002BC87C 88 19 00 40 */ lbz r0, 0x40(r25) -/* 802BF920 002BC880 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802BF924 002BC884 41 82 00 24 */ beq lbl_802BF948 -/* 802BF928 002BC888 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 802BF92C 002BC88C 38 60 00 00 */ li r3, 0 -/* 802BF930 002BC890 41 82 00 0C */ beq lbl_802BF93C -/* 802BF934 002BC894 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802BF938 002BC898 40 82 00 08 */ bne lbl_802BF940 -lbl_802BF93C: -/* 802BF93C 002BC89C 38 60 00 01 */ li r3, 1 -lbl_802BF940: -/* 802BF940 002BC8A0 7C 60 1B 78 */ mr r0, r3 -/* 802BF944 002BC8A4 48 00 00 20 */ b lbl_802BF964 -lbl_802BF948: -/* 802BF948 002BC8A8 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 802BF94C 002BC8AC 38 60 00 00 */ li r3, 0 -/* 802BF950 002BC8B0 40 82 00 0C */ bne lbl_802BF95C -/* 802BF954 002BC8B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802BF958 002BC8B8 41 82 00 08 */ beq lbl_802BF960 -lbl_802BF95C: -/* 802BF95C 002BC8BC 38 60 00 01 */ li r3, 1 -lbl_802BF960: -/* 802BF960 002BC8C0 7C 60 1B 78 */ mr r0, r3 -lbl_802BF964: -/* 802BF964 002BC8C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802BF968 002BC8C8 41 82 00 24 */ beq lbl_802BF98C -/* 802BF96C 002BC8CC 7F 7B FA 14 */ add r27, r27, r31 -/* 802BF970 002BC8D0 3B 5A 00 02 */ addi r26, r26, 2 -lbl_802BF974: -/* 802BF974 002BC8D4 80 1D 00 00 */ lwz r0, 0(r29) -/* 802BF978 002BC8D8 54 00 08 3C */ slwi r0, r0, 1 -/* 802BF97C 002BC8DC 7C 7D 02 14 */ add r3, r29, r0 -/* 802BF980 002BC8E0 38 03 00 04 */ addi r0, r3, 4 -/* 802BF984 002BC8E4 7C 1A 00 40 */ cmplw r26, r0 -/* 802BF988 002BC8E8 40 82 FE 68 */ bne lbl_802BF7F0 -lbl_802BF98C: -/* 802BF98C 002BC8EC 2C 1B FF FF */ cmpwi r27, -1 -/* 802BF990 002BC8F0 40 82 00 08 */ bne lbl_802BF998 -/* 802BF994 002BC8F4 3B 60 00 31 */ li r27, 0x31 -lbl_802BF998: -/* 802BF998 002BC8F8 1C 1B 02 04 */ mulli r0, r27, 0x204 -/* 802BF99C 002BC8FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) -/* 802BF9A0 002BC900 7C 83 02 14 */ add r4, r3, r0 -/* 802BF9A4 002BC904 84 04 00 04 */ lwzu r0, 4(r4) -/* 802BF9A8 002BC908 2C 00 00 80 */ cmpwi r0, 0x80 -/* 802BF9AC 002BC90C 40 80 00 24 */ bge lbl_802BF9D0 -/* 802BF9B0 002BC910 54 00 10 3A */ slwi r0, r0, 2 -/* 802BF9B4 002BC914 7C 64 02 14 */ add r3, r4, r0 -/* 802BF9B8 002BC918 34 63 00 04 */ addic. r3, r3, 4 -/* 802BF9BC 002BC91C 41 82 00 08 */ beq lbl_802BF9C4 -/* 802BF9C0 002BC920 93 C3 00 00 */ stw r30, 0(r3) -lbl_802BF9C4: -/* 802BF9C4 002BC924 80 64 00 00 */ lwz r3, 0(r4) -/* 802BF9C8 002BC928 38 03 00 01 */ addi r0, r3, 1 -/* 802BF9CC 002BC92C 90 04 00 00 */ stw r0, 0(r4) -lbl_802BF9D0: -/* 802BF9D0 002BC930 3B DE 00 24 */ addi r30, r30, 0x24 -lbl_802BF9D4: -/* 802BF9D4 002BC934 80 6D A6 0C */ lwz r3, lbl_805A91CC@sda21(r13) -/* 802BF9D8 002BC938 80 03 00 00 */ lwz r0, 0(r3) -/* 802BF9DC 002BC93C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 802BF9E0 002BC940 7C 63 02 14 */ add r3, r3, r0 -/* 802BF9E4 002BC944 38 63 00 04 */ addi r3, r3, 4 -/* 802BF9E8 002BC948 7C 1E 18 40 */ cmplw r30, r3 -/* 802BF9EC 002BC94C 40 82 FD 60 */ bne lbl_802BF74C -/* 802BF9F0 002BC950 80 8D A6 10 */ lwz r4, lbl_805A91D0@sda21(r13) -/* 802BF9F4 002BC954 3C 60 80 47 */ lis r3, lbl_8046E20C@ha -/* 802BF9F8 002BC958 3B 63 E2 0C */ addi r27, r3, lbl_8046E20C@l -/* 802BF9FC 002BC95C 80 64 00 00 */ lwz r3, 0(r4) -/* 802BFA00 002BC960 3B DB 00 04 */ addi r30, r27, 4 -/* 802BFA04 002BC964 3B 43 FF FF */ addi r26, r3, -1 -/* 802BFA08 002BC968 1F FA 02 04 */ mulli r31, r26, 0x204 -/* 802BFA0C 002BC96C 48 00 00 6C */ b lbl_802BFA78 -lbl_802BFA10: -/* 802BFA10 002BC970 80 1B 00 00 */ lwz r0, 0(r27) -/* 802BFA14 002BC974 57 44 04 3E */ clrlwi r4, r26, 0x10 -/* 802BFA18 002BC978 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) -/* 802BFA1C 002BC97C 54 00 08 3C */ slwi r0, r0, 1 -/* 802BFA20 002BC980 7C BE 02 15 */ add. r5, r30, r0 -/* 802BFA24 002BC984 7C C3 FA 14 */ add r6, r3, r31 -/* 802BFA28 002BC988 38 C6 00 04 */ addi r6, r6, 4 -/* 802BFA2C 002BC98C 41 82 00 08 */ beq lbl_802BFA34 -/* 802BFA30 002BC990 B0 85 00 00 */ sth r4, 0(r5) -lbl_802BFA34: -/* 802BFA34 002BC994 80 7B 00 00 */ lwz r3, 0(r27) -/* 802BFA38 002BC998 38 03 00 01 */ addi r0, r3, 1 -/* 802BFA3C 002BC99C 90 1B 00 00 */ stw r0, 0(r27) -/* 802BFA40 002BC9A0 80 06 00 00 */ lwz r0, 0(r6) -/* 802BFA44 002BC9A4 2C 00 00 00 */ cmpwi r0, 0 -/* 802BFA48 002BC9A8 41 82 00 28 */ beq lbl_802BFA70 -/* 802BFA4C 002BC9AC 88 0D A6 28 */ lbz r0, lbl_805A91E8@sda21(r13) -/* 802BFA50 002BC9B0 38 66 00 04 */ addi r3, r6, 4 -/* 802BFA54 002BC9B4 38 A1 00 08 */ addi r5, r1, 8 -/* 802BFA58 002BC9B8 98 01 00 08 */ stb r0, 8(r1) -/* 802BFA5C 002BC9BC 80 06 00 00 */ lwz r0, 0(r6) -/* 802BFA60 002BC9C0 54 00 10 3A */ slwi r0, r0, 2 -/* 802BFA64 002BC9C4 7C 86 02 14 */ add r4, r6, r0 -/* 802BFA68 002BC9C8 38 84 00 04 */ addi r4, r4, 4 -/* 802BFA6C 002BC9CC 48 00 07 3D */ bl sub_802c01a8 -lbl_802BFA70: -/* 802BFA70 002BC9D0 3B FF FD FC */ addi r31, r31, -516 -/* 802BFA74 002BC9D4 3B 5A FF FF */ addi r26, r26, -1 -lbl_802BFA78: -/* 802BFA78 002BC9D8 2C 1A 00 00 */ cmpwi r26, 0 -/* 802BFA7C 002BC9DC 40 80 FF 94 */ bge lbl_802BFA10 -/* 802BFA80 002BC9E0 80 1D 00 00 */ lwz r0, 0(r29) -/* 802BFA84 002BC9E4 38 DD 00 02 */ addi r6, r29, 2 -/* 802BFA88 002BC9E8 54 00 08 3C */ slwi r0, r0, 1 -/* 802BFA8C 002BC9EC 7C 7D 02 14 */ add r3, r29, r0 -/* 802BFA90 002BC9F0 38 E3 00 02 */ addi r7, r3, 2 -/* 802BFA94 002BC9F4 48 00 00 54 */ b lbl_802BFAE8 -lbl_802BFA98: -/* 802BFA98 002BC9F8 A0 07 00 00 */ lhz r0, 0(r7) -/* 802BFA9C 002BC9FC 80 6D A6 10 */ lwz r3, lbl_805A91D0@sda21(r13) -/* 802BFAA0 002BCA00 54 00 30 32 */ slwi r0, r0, 6 -/* 802BFAA4 002BCA04 7C 9C 02 14 */ add r4, r28, r0 -/* 802BFAA8 002BCA08 A0 04 00 28 */ lhz r0, 0x28(r4) -/* 802BFAAC 002BCA0C 38 84 00 04 */ addi r4, r4, 4 -/* 802BFAB0 002BCA10 1C 00 02 04 */ mulli r0, r0, 0x204 -/* 802BFAB4 002BCA14 7C A3 02 14 */ add r5, r3, r0 -/* 802BFAB8 002BCA18 84 05 00 04 */ lwzu r0, 4(r5) -/* 802BFABC 002BCA1C 2C 00 00 80 */ cmpwi r0, 0x80 -/* 802BFAC0 002BCA20 40 80 00 24 */ bge lbl_802BFAE4 -/* 802BFAC4 002BCA24 54 00 10 3A */ slwi r0, r0, 2 -/* 802BFAC8 002BCA28 7C 65 02 14 */ add r3, r5, r0 -/* 802BFACC 002BCA2C 34 63 00 04 */ addic. r3, r3, 4 -/* 802BFAD0 002BCA30 41 82 00 08 */ beq lbl_802BFAD8 -/* 802BFAD4 002BCA34 90 83 00 00 */ stw r4, 0(r3) -lbl_802BFAD8: -/* 802BFAD8 002BCA38 80 65 00 00 */ lwz r3, 0(r5) -/* 802BFADC 002BCA3C 38 03 00 01 */ addi r0, r3, 1 -/* 802BFAE0 002BCA40 90 05 00 00 */ stw r0, 0(r5) -lbl_802BFAE4: -/* 802BFAE4 002BCA44 38 E7 FF FE */ addi r7, r7, -2 -lbl_802BFAE8: -/* 802BFAE8 002BCA48 7C 07 30 40 */ cmplw r7, r6 -/* 802BFAEC 002BCA4C 40 82 FF AC */ bne lbl_802BFA98 -/* 802BFAF0 002BCA50 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802BFAF4 002BCA54 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802BFAF8 002BCA58 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 802BFAFC 002BCA5C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 802BFB00 002BCA60 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 802BFB04 002BCA64 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 802BFB08 002BCA68 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 802BFB0C 002BCA6C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802BFB10 002BCA70 7C 08 03 A6 */ mtlr r0 -/* 802BFB14 002BCA74 38 21 00 90 */ addi r1, r1, 0x90 -/* 802BFB18 002BCA78 4E 80 00 20 */ blr - -.global InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv -InsertPlaneObject__7BucketsFffRC6CAABoxbRC6CPlaneb13EDrawableTypePCv: -/* 802BFB1C 002BCA7C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802BFB20 002BCA80 7C 08 02 A6 */ mflr r0 -/* 802BFB24 002BCA84 7C AC 2B 78 */ mr r12, r5 -/* 802BFB28 002BCA88 7C CB 33 78 */ mr r11, r6 -/* 802BFB2C 002BCA8C 90 01 00 54 */ stw r0, 0x54(r1) -/* 802BFB30 002BCA90 7D 09 43 78 */ mr r9, r8 -/* 802BFB34 002BCA94 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802BFB38 002BCA98 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802BFB3C 002BCA9C 7C 9E 23 78 */ mr r30, r4 -/* 802BFB40 002BCAA0 81 4D A6 1C */ lwz r10, lbl_805A91DC@sda21(r13) -/* 802BFB44 002BCAA4 80 0A 00 00 */ lwz r0, 0(r10) -/* 802BFB48 002BCAA8 7D 5F 53 78 */ mr r31, r10 -/* 802BFB4C 002BCAAC 2C 00 00 08 */ cmpwi r0, 8 -/* 802BFB50 002BCAB0 41 82 00 2C */ beq lbl_802BFB7C -/* 802BFB54 002BCAB4 7C E4 3B 78 */ mr r4, r7 -/* 802BFB58 002BCAB8 7C 65 1B 78 */ mr r5, r3 -/* 802BFB5C 002BCABC 7F C6 F3 78 */ mr r6, r30 -/* 802BFB60 002BCAC0 7D 87 63 78 */ mr r7, r12 -/* 802BFB64 002BCAC4 7D 68 5B 78 */ mr r8, r11 -/* 802BFB68 002BCAC8 38 61 00 08 */ addi r3, r1, 8 -/* 802BFB6C 002BCACC 48 00 01 25 */ bl __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv -/* 802BFB70 002BCAD0 7C 64 1B 78 */ mr r4, r3 -/* 802BFB74 002BCAD4 7F E3 FB 78 */ mr r3, r31 -/* 802BFB78 002BCAD8 48 00 00 1D */ bl "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" -lbl_802BFB7C: -/* 802BFB7C 002BCADC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802BFB80 002BCAE0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802BFB84 002BCAE4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802BFB88 002BCAE8 7C 08 03 A6 */ mtlr r0 -/* 802BFB8C 002BCAEC 38 21 00 50 */ addi r1, r1, 0x50 -/* 802BFB90 002BCAF0 4E 80 00 20 */ blr - -.global "push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject" -"push_back__Q24rstl41reserved_vector<20CDrawablePlaneObject,8>FRC20CDrawablePlaneObject": -/* 802BFB94 002BCAF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BFB98 002BCAF8 7C 08 02 A6 */ mflr r0 -/* 802BFB9C 002BCAFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BFBA0 002BCB00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802BFBA4 002BCB04 7C 7F 1B 78 */ mr r31, r3 -/* 802BFBA8 002BCB08 80 03 00 00 */ lwz r0, 0(r3) -/* 802BFBAC 002BCB0C 54 00 30 32 */ slwi r0, r0, 6 -/* 802BFBB0 002BCB10 7C 7F 02 14 */ add r3, r31, r0 -/* 802BFBB4 002BCB14 38 63 00 04 */ addi r3, r3, 4 -/* 802BFBB8 002BCB18 48 00 00 25 */ bl "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" -/* 802BFBBC 002BCB1C 80 7F 00 00 */ lwz r3, 0(r31) -/* 802BFBC0 002BCB20 38 03 00 01 */ addi r0, r3, 1 -/* 802BFBC4 002BCB24 90 1F 00 00 */ stw r0, 0(r31) -/* 802BFBC8 002BCB28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802BFBCC 002BCB2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BFBD0 002BCB30 7C 08 03 A6 */ mtlr r0 -/* 802BFBD4 002BCB34 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BFBD8 002BCB38 4E 80 00 20 */ blr - -.global "construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject" -"construct<20CDrawablePlaneObject>__4rstlFPvRC20CDrawablePlaneObject": -/* 802BFBDC 002BCB3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BFBE0 002BCB40 7C 08 02 A6 */ mflr r0 -/* 802BFBE4 002BCB44 28 03 00 00 */ cmplwi r3, 0 -/* 802BFBE8 002BCB48 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BFBEC 002BCB4C 41 82 00 08 */ beq lbl_802BFBF4 -/* 802BFBF0 002BCB50 48 00 00 15 */ bl __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject -lbl_802BFBF4: -/* 802BFBF4 002BCB54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BFBF8 002BCB58 7C 08 03 A6 */ mtlr r0 -/* 802BFBFC 002BCB5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802BFC00 002BCB60 4E 80 00 20 */ blr - -.global __ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject -__ct__20CDrawablePlaneObjectFRC20CDrawablePlaneObject: -/* 802BFC04 002BCB64 A0 04 00 00 */ lhz r0, 0(r4) -/* 802BFC08 002BCB68 B0 03 00 00 */ sth r0, 0(r3) -/* 802BFC0C 002BCB6C A0 04 00 02 */ lhz r0, 2(r4) -/* 802BFC10 002BCB70 B0 03 00 02 */ sth r0, 2(r3) -/* 802BFC14 002BCB74 80 04 00 04 */ lwz r0, 4(r4) -/* 802BFC18 002BCB78 90 03 00 04 */ stw r0, 4(r3) -/* 802BFC1C 002BCB7C C0 04 00 08 */ lfs f0, 8(r4) -/* 802BFC20 002BCB80 D0 03 00 08 */ stfs f0, 8(r3) -/* 802BFC24 002BCB84 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802BFC28 002BCB88 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802BFC2C 002BCB8C C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802BFC30 002BCB90 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802BFC34 002BCB94 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802BFC38 002BCB98 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802BFC3C 002BCB9C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802BFC40 002BCBA0 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802BFC44 002BCBA4 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802BFC48 002BCBA8 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802BFC4C 002BCBAC C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802BFC50 002BCBB0 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802BFC54 002BCBB4 A0 04 00 24 */ lhz r0, 0x24(r4) -/* 802BFC58 002BCBB8 B0 03 00 24 */ sth r0, 0x24(r3) -/* 802BFC5C 002BCBBC C0 04 00 28 */ lfs f0, 0x28(r4) -/* 802BFC60 002BCBC0 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802BFC64 002BCBC4 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802BFC68 002BCBC8 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802BFC6C 002BCBCC C0 04 00 30 */ lfs f0, 0x30(r4) -/* 802BFC70 002BCBD0 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 802BFC74 002BCBD4 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 802BFC78 002BCBD8 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802BFC7C 002BCBDC C0 04 00 38 */ lfs f0, 0x38(r4) -/* 802BFC80 002BCBE0 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 802BFC84 002BCBE4 88 04 00 3C */ lbz r0, 0x3c(r4) -/* 802BFC88 002BCBE8 98 03 00 3C */ stb r0, 0x3c(r3) -/* 802BFC8C 002BCBEC 4E 80 00 20 */ blr - -.global __ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv -__ct__20CDrawablePlaneObjectF13EDrawableTypeffRC6CAABoxbRC6CPlanebPCv: -/* 802BFC90 002BCBF0 B0 83 00 00 */ sth r4, 0(r3) -/* 802BFC94 002BCBF4 38 00 00 00 */ li r0, 0 -/* 802BFC98 002BCBF8 B0 03 00 02 */ sth r0, 2(r3) -/* 802BFC9C 002BCBFC 91 23 00 04 */ stw r9, 4(r3) -/* 802BFCA0 002BCC00 C0 05 00 00 */ lfs f0, 0(r5) -/* 802BFCA4 002BCC04 D0 03 00 08 */ stfs f0, 8(r3) -/* 802BFCA8 002BCC08 C0 05 00 04 */ lfs f0, 4(r5) -/* 802BFCAC 002BCC0C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802BFCB0 002BCC10 C0 05 00 08 */ lfs f0, 8(r5) -/* 802BFCB4 002BCC14 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802BFCB8 002BCC18 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 802BFCBC 002BCC1C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802BFCC0 002BCC20 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 802BFCC4 002BCC24 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802BFCC8 002BCC28 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 802BFCCC 002BCC2C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802BFCD0 002BCC30 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 802BFCD4 002BCC34 B0 03 00 24 */ sth r0, 0x24(r3) -/* 802BFCD8 002BCC38 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 802BFCDC 002BCC3C C0 07 00 00 */ lfs f0, 0(r7) -/* 802BFCE0 002BCC40 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802BFCE4 002BCC44 C0 07 00 04 */ lfs f0, 4(r7) -/* 802BFCE8 002BCC48 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 802BFCEC 002BCC4C C0 07 00 08 */ lfs f0, 8(r7) -/* 802BFCF0 002BCC50 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802BFCF4 002BCC54 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 802BFCF8 002BCC58 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 802BFCFC 002BCC5C 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 802BFD00 002BCC60 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802BFD04 002BCC64 98 03 00 3C */ stb r0, 0x3c(r3) -/* 802BFD08 002BCC68 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 802BFD0C 002BCC6C 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 802BFD10 002BCC70 98 03 00 3C */ stb r0, 0x3c(r3) -/* 802BFD14 002BCC74 4E 80 00 20 */ blr - -.global Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs -Insert__7BucketsFRC9CVector3fRC6CAABox13EDrawableTypePCvRC6CPlaneUs: -/* 802BFD18 002BCC78 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802BFD1C 002BCC7C 81 4D A6 0C */ lwz r10, lbl_805A91CC@sda21(r13) -/* 802BFD20 002BCC80 80 0A 00 00 */ lwz r0, 0(r10) -/* 802BFD24 002BCC84 2C 00 02 00 */ cmpwi r0, 0x200 -/* 802BFD28 002BCC88 41 82 01 2C */ beq lbl_802BFE54 -/* 802BFD2C 002BCC8C C0 03 00 04 */ lfs f0, 4(r3) -/* 802BFD30 002BCC90 39 2A 00 04 */ addi r9, r10, 4 -/* 802BFD34 002BCC94 C0 27 00 04 */ lfs f1, 4(r7) -/* 802BFD38 002BCC98 C0 C4 00 00 */ lfs f6, 0(r4) -/* 802BFD3C 002BCC9C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802BFD40 002BCCA0 C0 23 00 00 */ lfs f1, 0(r3) -/* 802BFD44 002BCCA4 C0 47 00 00 */ lfs f2, 0(r7) -/* 802BFD48 002BCCA8 C0 A4 00 04 */ lfs f5, 4(r4) -/* 802BFD4C 002BCCAC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802BFD50 002BCCB0 C0 23 00 08 */ lfs f1, 8(r3) -/* 802BFD54 002BCCB4 C0 47 00 08 */ lfs f2, 8(r7) -/* 802BFD58 002BCCB8 C0 84 00 08 */ lfs f4, 8(r4) -/* 802BFD5C 002BCCBC EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 802BFD60 002BCCC0 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 802BFD64 002BCCC4 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 802BFD68 002BCCC8 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802BFD6C 002BCCCC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802BFD70 002BCCD0 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 802BFD74 002BCCD4 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 802BFD78 002BCCD8 D0 01 00 08 */ stfs f0, 8(r1) -/* 802BFD7C 002BCCDC 80 0A 00 00 */ lwz r0, 0(r10) -/* 802BFD80 002BCCE0 B1 01 00 0E */ sth r8, 0xe(r1) -/* 802BFD84 002BCCE4 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 802BFD88 002BCCE8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802BFD8C 002BCCEC 7C 69 02 15 */ add. r3, r9, r0 -/* 802BFD90 002BCCF0 D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 802BFD94 002BCCF4 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802BFD98 002BCCF8 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 802BFD9C 002BCCFC D0 61 00 20 */ stfs f3, 0x20(r1) -/* 802BFDA0 002BCD00 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 802BFDA4 002BCD04 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802BFDA8 002BCD08 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802BFDAC 002BCD0C 41 82 00 30 */ beq lbl_802BFDDC -/* 802BFDB0 002BCD10 B0 A3 00 00 */ sth r5, 0(r3) -/* 802BFDB4 002BCD14 FC 00 00 18 */ frsp f0, f0 -/* 802BFDB8 002BCD18 B1 03 00 02 */ sth r8, 2(r3) -/* 802BFDBC 002BCD1C 90 C3 00 04 */ stw r6, 4(r3) -/* 802BFDC0 002BCD20 D0 C3 00 08 */ stfs f6, 8(r3) -/* 802BFDC4 002BCD24 D0 A3 00 0C */ stfs f5, 0xc(r3) -/* 802BFDC8 002BCD28 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 802BFDCC 002BCD2C D0 63 00 14 */ stfs f3, 0x14(r3) -/* 802BFDD0 002BCD30 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 802BFDD4 002BCD34 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 802BFDD8 002BCD38 D0 03 00 20 */ stfs f0, 0x20(r3) -lbl_802BFDDC: -/* 802BFDDC 002BCD3C 80 6A 00 00 */ lwz r3, 0(r10) -/* 802BFDE0 002BCD40 38 03 00 01 */ addi r0, r3, 1 -/* 802BFDE4 002BCD44 90 0A 00 00 */ stw r0, 0(r10) -/* 802BFDE8 002BCD48 C0 2D A6 14 */ lfs f1, lbl_805A91D4@sda21(r13) -/* 802BFDEC 002BCD4C C0 01 00 08 */ lfs f0, 8(r1) -/* 802BFDF0 002BCD50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BFDF4 002BCD54 40 80 00 0C */ bge lbl_802BFE00 -/* 802BFDF8 002BCD58 38 8D A6 14 */ addi r4, r13, lbl_805A91D4@sda21 -/* 802BFDFC 002BCD5C 48 00 00 08 */ b lbl_802BFE04 -lbl_802BFE00: -/* 802BFE00 002BCD60 38 81 00 08 */ addi r4, r1, 8 -lbl_802BFE04: -/* 802BFE04 002BCD64 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802BFE08 002BCD68 C0 44 00 00 */ lfs f2, 0(r4) -/* 802BFE0C 002BCD6C C0 21 00 08 */ lfs f1, 8(r1) -/* 802BFE10 002BCD70 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BFE14 002BCD74 D0 4D A6 14 */ stfs f2, lbl_805A91D4@sda21(r13) -/* 802BFE18 002BCD78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802BFE1C 002BCD7C 40 80 00 0C */ bge lbl_802BFE28 -/* 802BFE20 002BCD80 38 63 00 04 */ addi r3, r3, 4 -/* 802BFE24 002BCD84 48 00 00 08 */ b lbl_802BFE2C -lbl_802BFE28: -/* 802BFE28 002BCD88 38 61 00 08 */ addi r3, r1, 8 -lbl_802BFE2C: -/* 802BFE2C 002BCD8C C0 03 00 00 */ lfs f0, 0(r3) -/* 802BFE30 002BCD90 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802BFE34 002BCD94 38 8A 00 04 */ addi r4, r10, 4 -/* 802BFE38 002BCD98 D0 03 00 04 */ stfs f0, 4(r3) -/* 802BFE3C 002BCD9C 80 6A 00 00 */ lwz r3, 0(r10) -/* 802BFE40 002BCDA0 38 03 FF FF */ addi r0, r3, -1 -/* 802BFE44 002BCDA4 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 802BFE48 002BCDA8 7C 64 02 14 */ add r3, r4, r0 -/* 802BFE4C 002BCDAC 38 03 00 24 */ addi r0, r3, 0x24 -/* 802BFE50 002BCDB0 7C 00 02 2C */ dcbt 0, r0 -lbl_802BFE54: -/* 802BFE54 002BCDB4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802BFE58 002BCDB8 4E 80 00 20 */ blr - -.global Shutdown__7BucketsFv -Shutdown__7BucketsFv: -/* 802BFE5C 002BCDBC 38 00 00 00 */ li r0, 0 -/* 802BFE60 002BCDC0 90 0D A6 0C */ stw r0, lbl_805A91CC@sda21(r13) -/* 802BFE64 002BCDC4 90 0D A6 10 */ stw r0, lbl_805A91D0@sda21(r13) -/* 802BFE68 002BCDC8 90 0D A6 1C */ stw r0, lbl_805A91DC@sda21(r13) -/* 802BFE6C 002BCDCC 90 0D A6 20 */ stw r0, lbl_805A91E0@sda21(r13) -/* 802BFE70 002BCDD0 4E 80 00 20 */ blr - -.global Init__7BucketsFv -Init__7BucketsFv: -/* 802BFE74 002BCDD4 3C 60 80 47 */ lis r3, 0x8047 -/* 802BFE78 002BCDD8 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 802BFE7C 002BCDDC 34 83 E2 74 */ addic. r4, r3, -7564 -/* 802BFE80 002BCDE0 41 82 00 0C */ beq lbl_802BFE8C -/* 802BFE84 002BCDE4 38 00 00 00 */ li r0, 0 -/* 802BFE88 002BCDE8 90 04 00 00 */ stw r0, 0(r4) -lbl_802BFE8C: -/* 802BFE8C 002BCDEC 3C 60 80 47 */ lis r3, 0x8047 -/* 802BFE90 002BCDF0 90 8D A6 0C */ stw r4, lbl_805A91CC@sda21(r13) -/* 802BFE94 002BCDF4 34 83 2A 7C */ addic. r4, r3, 0x2a7c -/* 802BFE98 002BCDF8 41 82 00 0C */ beq lbl_802BFEA4 -/* 802BFE9C 002BCDFC 38 00 00 00 */ li r0, 0 -/* 802BFEA0 002BCE00 90 04 00 00 */ stw r0, 0(r4) -lbl_802BFEA4: -/* 802BFEA4 002BCE04 3C 60 80 48 */ lis r3, 0x8048 -/* 802BFEA8 002BCE08 90 8D A6 10 */ stw r4, lbl_805A91D0@sda21(r13) -/* 802BFEAC 002BCE0C 34 83 8F 4C */ addic. r4, r3, -28852 -/* 802BFEB0 002BCE10 41 82 00 0C */ beq lbl_802BFEBC -/* 802BFEB4 002BCE14 38 00 00 00 */ li r0, 0 -/* 802BFEB8 002BCE18 90 04 00 00 */ stw r0, 0(r4) -lbl_802BFEBC: -/* 802BFEBC 002BCE1C 3C 60 80 48 */ lis r3, 0x8048 -/* 802BFEC0 002BCE20 90 8D A6 1C */ stw r4, lbl_805A91DC@sda21(r13) -/* 802BFEC4 002BCE24 34 63 91 54 */ addic. r3, r3, -28332 -/* 802BFEC8 002BCE28 41 82 00 0C */ beq lbl_802BFED4 -/* 802BFECC 002BCE2C 38 00 00 00 */ li r0, 0 -/* 802BFED0 002BCE30 90 03 00 00 */ stw r0, 0(r3) -lbl_802BFED4: -/* 802BFED4 002BCE34 90 6D A6 20 */ stw r3, lbl_805A91E0@sda21(r13) -/* 802BFED8 002BCE38 38 80 00 00 */ li r4, 0 -/* 802BFEDC 002BCE3C 81 4D A6 10 */ lwz r10, lbl_805A91D0@sda21(r13) -/* 802BFEE0 002BCE40 90 81 00 08 */ stw r4, 8(r1) -/* 802BFEE4 002BCE44 80 6A 00 00 */ lwz r3, 0(r10) -/* 802BFEE8 002BCE48 2C 03 00 32 */ cmpwi r3, 0x32 -/* 802BFEEC 002BCE4C 40 80 00 78 */ bge lbl_802BFF64 -/* 802BFEF0 002BCE50 1C 03 02 04 */ mulli r0, r3, 0x204 -/* 802BFEF4 002BCE54 7C 85 23 78 */ mr r5, r4 -/* 802BFEF8 002BCE58 20 C3 00 32 */ subfic r6, r3, 0x32 -/* 802BFEFC 002BCE5C 39 21 00 0C */ addi r9, r1, 0xc -/* 802BFF00 002BCE60 7C 6A 02 14 */ add r3, r10, r0 -/* 802BFF04 002BCE64 38 63 00 04 */ addi r3, r3, 4 -/* 802BFF08 002BCE68 48 00 00 4C */ b lbl_802BFF54 -lbl_802BFF0C: -/* 802BFF0C 002BCE6C 28 03 00 00 */ cmplwi r3, 0 -/* 802BFF10 002BCE70 41 82 00 3C */ beq lbl_802BFF4C -/* 802BFF14 002BCE74 90 83 00 00 */ stw r4, 0(r3) -/* 802BFF18 002BCE78 7D 28 4B 78 */ mr r8, r9 -/* 802BFF1C 002BCE7C 38 E3 00 04 */ addi r7, r3, 4 -/* 802BFF20 002BCE80 80 03 00 00 */ lwz r0, 0(r3) -/* 802BFF24 002BCE84 7C 09 03 A6 */ mtctr r0 -/* 802BFF28 002BCE88 2C 00 00 00 */ cmpwi r0, 0 -/* 802BFF2C 002BCE8C 40 81 00 20 */ ble lbl_802BFF4C -lbl_802BFF30: -/* 802BFF30 002BCE90 28 07 00 00 */ cmplwi r7, 0 -/* 802BFF34 002BCE94 41 82 00 0C */ beq lbl_802BFF40 -/* 802BFF38 002BCE98 80 08 00 00 */ lwz r0, 0(r8) -/* 802BFF3C 002BCE9C 90 07 00 00 */ stw r0, 0(r7) -lbl_802BFF40: -/* 802BFF40 002BCEA0 38 E7 00 04 */ addi r7, r7, 4 -/* 802BFF44 002BCEA4 39 08 00 04 */ addi r8, r8, 4 -/* 802BFF48 002BCEA8 42 00 FF E8 */ bdnz lbl_802BFF30 -lbl_802BFF4C: -/* 802BFF4C 002BCEAC 38 A5 00 01 */ addi r5, r5, 1 -/* 802BFF50 002BCEB0 38 63 02 04 */ addi r3, r3, 0x204 -lbl_802BFF54: -/* 802BFF54 002BCEB4 7C 05 30 00 */ cmpw r5, r6 -/* 802BFF58 002BCEB8 41 80 FF B4 */ blt lbl_802BFF0C -/* 802BFF5C 002BCEBC 38 00 00 32 */ li r0, 0x32 -/* 802BFF60 002BCEC0 90 0A 00 00 */ stw r0, 0(r10) -lbl_802BFF64: -/* 802BFF64 002BCEC4 80 A1 00 08 */ lwz r5, 8(r1) -/* 802BFF68 002BCEC8 38 60 00 00 */ li r3, 0 -/* 802BFF6C 002BCECC 2C 05 00 00 */ cmpwi r5, 0 -/* 802BFF70 002BCED0 40 81 00 40 */ ble lbl_802BFFB0 -/* 802BFF74 002BCED4 2C 05 00 08 */ cmpwi r5, 8 -/* 802BFF78 002BCED8 38 85 FF F8 */ addi r4, r5, -8 -/* 802BFF7C 002BCEDC 40 81 00 20 */ ble lbl_802BFF9C -/* 802BFF80 002BCEE0 38 04 00 07 */ addi r0, r4, 7 -/* 802BFF84 002BCEE4 54 00 E8 FE */ srwi r0, r0, 3 -/* 802BFF88 002BCEE8 7C 09 03 A6 */ mtctr r0 -/* 802BFF8C 002BCEEC 2C 04 00 00 */ cmpwi r4, 0 -/* 802BFF90 002BCEF0 40 81 00 0C */ ble lbl_802BFF9C -lbl_802BFF94: -/* 802BFF94 002BCEF4 38 63 00 08 */ addi r3, r3, 8 -/* 802BFF98 002BCEF8 42 00 FF FC */ bdnz lbl_802BFF94 -lbl_802BFF9C: -/* 802BFF9C 002BCEFC 7C 03 28 50 */ subf r0, r3, r5 -/* 802BFFA0 002BCF00 7C 09 03 A6 */ mtctr r0 -/* 802BFFA4 002BCF04 7C 03 28 00 */ cmpw r3, r5 -/* 802BFFA8 002BCF08 40 80 00 08 */ bge lbl_802BFFB0 -lbl_802BFFAC: -/* 802BFFAC 002BCF0C 42 00 00 00 */ bdnz lbl_802BFFAC -lbl_802BFFB0: -/* 802BFFB0 002BCF10 38 6D A6 04 */ addi r3, r13, lbl_805A91C4@sda21 -/* 802BFFB4 002BCF14 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) -/* 802BFFB8 002BCF18 C0 03 00 04 */ lfs f0, 4(r3) -/* 802BFFBC 002BCF1C 38 00 00 00 */ li r0, 0 -/* 802BFFC0 002BCF20 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802BFFC4 002BCF24 90 01 00 08 */ stw r0, 8(r1) -/* 802BFFC8 002BCF28 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) -/* 802BFFCC 002BCF2C D0 03 00 04 */ stfs f0, 4(r3) -/* 802BFFD0 002BCF30 38 21 02 10 */ addi r1, r1, 0x210 -/* 802BFFD4 002BCF34 4E 80 00 20 */ blr - -.global "__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc" -"__nw__27TOneStatic<13CCubeRenderer>FUlPCcPCc": -/* 802BFFD8 002BCF38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802BFFDC 002BCF3C 7C 08 02 A6 */ mflr r0 -/* 802BFFE0 002BCF40 90 01 00 14 */ stw r0, 0x14(r1) -/* 802BFFE4 002BCF44 48 00 00 5D */ bl sub_802c0040 -/* 802BFFE8 002BCF48 80 83 00 00 */ lwz r4, 0(r3) -/* 802BFFEC 002BCF4C 38 04 00 01 */ addi r0, r4, 1 -/* 802BFFF0 002BCF50 90 03 00 00 */ stw r0, 0(r3) -/* 802BFFF4 002BCF54 48 00 00 41 */ bl sub_802c0034 -/* 802BFFF8 002BCF58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802BFFFC 002BCF5C 7C 08 03 A6 */ mtlr r0 -/* 802C0000 002BCF60 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C0004 002BCF64 4E 80 00 20 */ blr - -.global sub_802c0008 -sub_802c0008: -/* 802C0008 002BCF68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C000C 002BCF6C 7C 08 02 A6 */ mflr r0 -/* 802C0010 002BCF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C0014 002BCF74 48 00 00 2D */ bl sub_802c0040 -/* 802C0018 002BCF78 80 83 00 00 */ lwz r4, 0(r3) -/* 802C001C 002BCF7C 38 04 FF FF */ addi r0, r4, -1 -/* 802C0020 002BCF80 90 03 00 00 */ stw r0, 0(r3) -/* 802C0024 002BCF84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C0028 002BCF88 7C 08 03 A6 */ mtlr r0 -/* 802C002C 002BCF8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C0030 002BCF90 4E 80 00 20 */ blr - -.global sub_802c0034 -sub_802c0034: -/* 802C0034 002BCF94 3C 60 80 48 */ lis r3, lbl_80479178@ha -/* 802C0038 002BCF98 38 63 91 78 */ addi r3, r3, lbl_80479178@l -/* 802C003C 002BCF9C 4E 80 00 20 */ blr - -.global sub_802c0040 -sub_802c0040: -/* 802C0040 002BCFA0 88 0D A6 34 */ lbz r0, lbl_805A91F4@sda21(r13) -/* 802C0044 002BCFA4 7C 00 07 75 */ extsb. r0, r0 -/* 802C0048 002BCFA8 40 82 00 14 */ bne lbl_802C005C -/* 802C004C 002BCFAC 38 60 00 00 */ li r3, 0 -/* 802C0050 002BCFB0 38 00 00 01 */ li r0, 1 -/* 802C0054 002BCFB4 90 6D A6 30 */ stw r3, lbl_805A91F0@sda21(r13) -/* 802C0058 002BCFB8 98 0D A6 34 */ stb r0, lbl_805A91F4@sda21(r13) -lbl_802C005C: -/* 802C005C 002BCFBC 38 6D A6 30 */ addi r3, r13, lbl_805A91F0@sda21 -/* 802C0060 002BCFC0 4E 80 00 20 */ blr - -.global sub_802c0064 -sub_802c0064: -/* 802C0064 002BCFC4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C0068 002BCFC8 7C 08 02 A6 */ mflr r0 -/* 802C006C 002BCFCC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C0070 002BCFD0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802C0074 002BCFD4 7C 7B 1B 78 */ mr r27, r3 -/* 802C0078 002BCFD8 7C 9C 23 78 */ mr r28, r4 -/* 802C007C 002BCFDC 7C BD 2B 78 */ mr r29, r5 -/* 802C0080 002BCFE0 7C DB E0 50 */ subf r6, r27, r28 -/* 802C0084 002BCFE4 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 802C0088 002BCFE8 7C 00 32 14 */ add r0, r0, r6 -/* 802C008C 002BCFEC 7C 05 0E 70 */ srawi r5, r0, 1 -/* 802C0090 002BCFF0 2C 05 00 01 */ cmpwi r5, 1 -/* 802C0094 002BCFF4 40 81 01 00 */ ble lbl_802C0194 -/* 802C0098 002BCFF8 2C 05 00 14 */ cmpwi r5, 0x14 -/* 802C009C 002BCFFC 41 81 00 18 */ bgt lbl_802C00B4 -/* 802C00A0 002BD000 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C00A4 002BD004 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C00A8 002BD008 98 01 00 14 */ stb r0, 0x14(r1) -/* 802C00AC 002BD00C 48 00 07 05 */ bl sub_802c07b0 -/* 802C00B0 002BD010 48 00 00 E4 */ b lbl_802C0194 -lbl_802C00B4: -/* 802C00B4 002BD014 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 802C00B8 002BD018 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C00BC 002BD01C 7C 84 2A 14 */ add r4, r4, r5 -/* 802C00C0 002BD020 3B FC FF FE */ addi r31, r28, -2 -/* 802C00C4 002BD024 7C 84 0E 70 */ srawi r4, r4, 1 -/* 802C00C8 002BD028 98 01 00 10 */ stb r0, 0x10(r1) -/* 802C00CC 002BD02C 54 80 08 3C */ slwi r0, r4, 1 -/* 802C00D0 002BD030 7F E5 FB 78 */ mr r5, r31 -/* 802C00D4 002BD034 7F DB 02 14 */ add r30, r27, r0 -/* 802C00D8 002BD038 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802C00DC 002BD03C 7F C4 F3 78 */ mr r4, r30 -/* 802C00E0 002BD040 48 00 08 B5 */ bl sub_802c0994 -/* 802C00E4 002BD044 A0 1E 00 00 */ lhz r0, 0(r30) -/* 802C00E8 002BD048 3B DB 00 02 */ addi r30, r27, 2 -/* 802C00EC 002BD04C 3B FF FF FE */ addi r31, r31, -2 -/* 802C00F0 002BD050 54 04 32 B2 */ rlwinm r4, r0, 6, 0xa, 0x19 -lbl_802C00F4: -/* 802C00F4 002BD054 80 6D A6 1C */ lwz r3, lbl_805A91DC@sda21(r13) -/* 802C00F8 002BD058 38 A3 00 04 */ addi r5, r3, 4 -/* 802C00FC 002BD05C 7C C5 22 14 */ add r6, r5, r4 -/* 802C0100 002BD060 48 00 00 08 */ b lbl_802C0108 -lbl_802C0104: -/* 802C0104 002BD064 3B DE 00 02 */ addi r30, r30, 2 -lbl_802C0108: -/* 802C0108 002BD068 A0 FE 00 00 */ lhz r7, 0(r30) -/* 802C010C 002BD06C C0 06 00 20 */ lfs f0, 0x20(r6) -/* 802C0110 002BD070 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 -/* 802C0114 002BD074 7C 65 02 14 */ add r3, r5, r0 -/* 802C0118 002BD078 C0 23 00 20 */ lfs f1, 0x20(r3) -/* 802C011C 002BD07C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C0120 002BD080 41 80 FF E4 */ blt lbl_802C0104 -/* 802C0124 002BD084 48 00 00 08 */ b lbl_802C012C -lbl_802C0128: -/* 802C0128 002BD088 3B FF FF FE */ addi r31, r31, -2 -lbl_802C012C: -/* 802C012C 002BD08C A1 1F 00 00 */ lhz r8, 0(r31) -/* 802C0130 002BD090 C0 26 00 20 */ lfs f1, 0x20(r6) -/* 802C0134 002BD094 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 -/* 802C0138 002BD098 7C 65 02 14 */ add r3, r5, r0 -/* 802C013C 002BD09C C0 03 00 20 */ lfs f0, 0x20(r3) -/* 802C0140 002BD0A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C0144 002BD0A4 41 80 FF E4 */ blt lbl_802C0128 -/* 802C0148 002BD0A8 7C 1E F8 40 */ cmplw r30, r31 -/* 802C014C 002BD0AC 40 80 00 18 */ bge lbl_802C0164 -/* 802C0150 002BD0B0 B1 1E 00 00 */ sth r8, 0(r30) -/* 802C0154 002BD0B4 3B DE 00 02 */ addi r30, r30, 2 -/* 802C0158 002BD0B8 B0 FF 00 00 */ sth r7, 0(r31) -/* 802C015C 002BD0BC 3B FF FF FE */ addi r31, r31, -2 -/* 802C0160 002BD0C0 4B FF FF 94 */ b lbl_802C00F4 -lbl_802C0164: -/* 802C0164 002BD0C4 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C0168 002BD0C8 7F 63 DB 78 */ mr r3, r27 -/* 802C016C 002BD0CC 7F C4 F3 78 */ mr r4, r30 -/* 802C0170 002BD0D0 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C0174 002BD0D4 98 01 00 0C */ stb r0, 0xc(r1) -/* 802C0178 002BD0D8 4B FF FE ED */ bl sub_802c0064 -/* 802C017C 002BD0DC 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C0180 002BD0E0 7F C3 F3 78 */ mr r3, r30 -/* 802C0184 002BD0E4 7F 84 E3 78 */ mr r4, r28 -/* 802C0188 002BD0E8 38 A1 00 08 */ addi r5, r1, 8 -/* 802C018C 002BD0EC 98 01 00 08 */ stb r0, 8(r1) -/* 802C0190 002BD0F0 4B FF FE D5 */ bl sub_802c0064 -lbl_802C0194: -/* 802C0194 002BD0F4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802C0198 002BD0F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C019C 002BD0FC 7C 08 03 A6 */ mtlr r0 -/* 802C01A0 002BD100 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C01A4 002BD104 4E 80 00 20 */ blr - -.global sub_802c01a8 -sub_802c01a8: -/* 802C01A8 002BD108 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C01AC 002BD10C 7C 08 02 A6 */ mflr r0 -/* 802C01B0 002BD110 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C01B4 002BD114 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802C01B8 002BD118 7C 7B 1B 78 */ mr r27, r3 -/* 802C01BC 002BD11C 7C 9C 23 78 */ mr r28, r4 -/* 802C01C0 002BD120 7C BD 2B 78 */ mr r29, r5 -/* 802C01C4 002BD124 7C 1B E0 50 */ subf r0, r27, r28 -/* 802C01C8 002BD128 7C 00 16 70 */ srawi r0, r0, 2 -/* 802C01CC 002BD12C 7C A0 01 94 */ addze r5, r0 -/* 802C01D0 002BD130 2C 05 00 01 */ cmpwi r5, 1 -/* 802C01D4 002BD134 40 81 01 2C */ ble lbl_802C0300 -/* 802C01D8 002BD138 2C 05 00 14 */ cmpwi r5, 0x14 -/* 802C01DC 002BD13C 41 81 00 18 */ bgt lbl_802C01F4 -/* 802C01E0 002BD140 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C01E4 002BD144 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C01E8 002BD148 98 01 00 14 */ stb r0, 0x14(r1) -/* 802C01EC 002BD14C 48 00 06 41 */ bl sub_802c082c -/* 802C01F0 002BD150 48 00 01 10 */ b lbl_802C0300 -lbl_802C01F4: -/* 802C01F4 002BD154 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 802C01F8 002BD158 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C01FC 002BD15C 7C 84 2A 14 */ add r4, r4, r5 -/* 802C0200 002BD160 3B FC FF FC */ addi r31, r28, -4 -/* 802C0204 002BD164 7C 84 0E 70 */ srawi r4, r4, 1 -/* 802C0208 002BD168 98 01 00 10 */ stb r0, 0x10(r1) -/* 802C020C 002BD16C 54 80 10 3A */ slwi r0, r4, 2 -/* 802C0210 002BD170 7F E5 FB 78 */ mr r5, r31 -/* 802C0214 002BD174 7F DB 02 14 */ add r30, r27, r0 -/* 802C0218 002BD178 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802C021C 002BD17C 7F C4 F3 78 */ mr r4, r30 -/* 802C0220 002BD180 48 00 06 99 */ bl sub_802c08b8 -/* 802C0224 002BD184 80 DE 00 00 */ lwz r6, 0(r30) -/* 802C0228 002BD188 3B DB 00 04 */ addi r30, r27, 4 -/* 802C022C 002BD18C 3B FF FF FC */ addi r31, r31, -4 -lbl_802C0230: -/* 802C0230 002BD190 C0 26 00 20 */ lfs f1, 0x20(r6) -/* 802C0234 002BD194 48 00 00 08 */ b lbl_802C023C -lbl_802C0238: -/* 802C0238 002BD198 3B DE 00 04 */ addi r30, r30, 4 -lbl_802C023C: -/* 802C023C 002BD19C 80 9E 00 00 */ lwz r4, 0(r30) -/* 802C0240 002BD1A0 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802C0244 002BD1A4 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C0248 002BD1A8 40 82 00 18 */ bne lbl_802C0260 -/* 802C024C 002BD1AC A0 64 00 02 */ lhz r3, 2(r4) -/* 802C0250 002BD1B0 A0 06 00 02 */ lhz r0, 2(r6) -/* 802C0254 002BD1B4 7C 03 00 50 */ subf r0, r3, r0 -/* 802C0258 002BD1B8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C025C 002BD1BC 48 00 00 10 */ b lbl_802C026C -lbl_802C0260: -/* 802C0260 002BD1C0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C0264 002BD1C4 7C 00 00 26 */ mfcr r0 -/* 802C0268 002BD1C8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C026C: -/* 802C026C 002BD1CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C0270 002BD1D0 40 82 FF C8 */ bne lbl_802C0238 -/* 802C0274 002BD1D4 48 00 00 08 */ b lbl_802C027C -lbl_802C0278: -/* 802C0278 002BD1D8 3B FF FF FC */ addi r31, r31, -4 -lbl_802C027C: -/* 802C027C 002BD1DC 80 BF 00 00 */ lwz r5, 0(r31) -/* 802C0280 002BD1E0 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 802C0284 002BD1E4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802C0288 002BD1E8 40 82 00 18 */ bne lbl_802C02A0 -/* 802C028C 002BD1EC A0 66 00 02 */ lhz r3, 2(r6) -/* 802C0290 002BD1F0 A0 05 00 02 */ lhz r0, 2(r5) -/* 802C0294 002BD1F4 7C 03 00 50 */ subf r0, r3, r0 -/* 802C0298 002BD1F8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C029C 002BD1FC 48 00 00 10 */ b lbl_802C02AC -lbl_802C02A0: -/* 802C02A0 002BD200 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C02A4 002BD204 7C 00 00 26 */ mfcr r0 -/* 802C02A8 002BD208 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C02AC: -/* 802C02AC 002BD20C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C02B0 002BD210 40 82 FF C8 */ bne lbl_802C0278 -/* 802C02B4 002BD214 7C 1E F8 40 */ cmplw r30, r31 -/* 802C02B8 002BD218 40 80 00 18 */ bge lbl_802C02D0 -/* 802C02BC 002BD21C 90 BE 00 00 */ stw r5, 0(r30) -/* 802C02C0 002BD220 3B DE 00 04 */ addi r30, r30, 4 -/* 802C02C4 002BD224 90 9F 00 00 */ stw r4, 0(r31) -/* 802C02C8 002BD228 3B FF FF FC */ addi r31, r31, -4 -/* 802C02CC 002BD22C 4B FF FF 64 */ b lbl_802C0230 -lbl_802C02D0: -/* 802C02D0 002BD230 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C02D4 002BD234 7F 63 DB 78 */ mr r3, r27 -/* 802C02D8 002BD238 7F C4 F3 78 */ mr r4, r30 -/* 802C02DC 002BD23C 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C02E0 002BD240 98 01 00 0C */ stb r0, 0xc(r1) -/* 802C02E4 002BD244 4B FF FE C5 */ bl sub_802c01a8 -/* 802C02E8 002BD248 88 1D 00 00 */ lbz r0, 0(r29) -/* 802C02EC 002BD24C 7F C3 F3 78 */ mr r3, r30 -/* 802C02F0 002BD250 7F 84 E3 78 */ mr r4, r28 -/* 802C02F4 002BD254 38 A1 00 08 */ addi r5, r1, 8 -/* 802C02F8 002BD258 98 01 00 08 */ stb r0, 8(r1) -/* 802C02FC 002BD25C 4B FF FE AD */ bl sub_802c01a8 -lbl_802C0300: -/* 802C0300 002BD260 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802C0304 002BD264 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C0308 002BD268 7C 08 03 A6 */ mtlr r0 -/* 802C030C 002BD26C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C0310 002BD270 4E 80 00 20 */ blr - -.global sub_802c0314 -sub_802c0314: -/* 802C0314 002BD274 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0318 002BD278 7C 08 02 A6 */ mflr r0 -/* 802C031C 002BD27C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0320 002BD280 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0324 002BD284 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C0328 002BD288 7C 9E 23 78 */ mr r30, r4 -/* 802C032C 002BD28C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C0330 002BD290 7C 7D 1B 78 */ mr r29, r3 -/* 802C0334 002BD294 80 03 00 04 */ lwz r0, 4(r3) -/* 802C0338 002BD298 83 E4 00 04 */ lwz r31, 4(r4) -/* 802C033C 002BD29C 7C 1E 00 40 */ cmplw r30, r0 -/* 802C0340 002BD2A0 40 82 00 08 */ bne lbl_802C0348 -/* 802C0344 002BD2A4 93 FD 00 04 */ stw r31, 4(r29) -lbl_802C0348: -/* 802C0348 002BD2A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C034C 002BD2AC 38 7E 00 08 */ addi r3, r30, 8 -/* 802C0350 002BD2B0 80 BE 00 00 */ lwz r5, 0(r30) -/* 802C0354 002BD2B4 38 80 FF FF */ li r4, -1 -/* 802C0358 002BD2B8 90 05 00 04 */ stw r0, 4(r5) -/* 802C035C 002BD2BC 80 1E 00 00 */ lwz r0, 0(r30) -/* 802C0360 002BD2C0 80 BE 00 04 */ lwz r5, 4(r30) -/* 802C0364 002BD2C4 90 05 00 00 */ stw r0, 0(r5) -/* 802C0368 002BD2C8 4B FF E0 51 */ bl sub_802be3b8 -/* 802C036C 002BD2CC 28 1E 00 00 */ cmplwi r30, 0 -/* 802C0370 002BD2D0 41 82 00 0C */ beq lbl_802C037C -/* 802C0374 002BD2D4 7F C3 F3 78 */ mr r3, r30 -/* 802C0378 002BD2D8 48 05 55 B9 */ bl Free__7CMemoryFPCv -lbl_802C037C: -/* 802C037C 002BD2DC 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 802C0380 002BD2E0 7F E3 FB 78 */ mr r3, r31 -/* 802C0384 002BD2E4 38 04 FF FF */ addi r0, r4, -1 -/* 802C0388 002BD2E8 90 1D 00 14 */ stw r0, 0x14(r29) -/* 802C038C 002BD2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0390 002BD2F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C0394 002BD2F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C0398 002BD2F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C039C 002BD2FC 7C 08 03 A6 */ mtlr r0 -/* 802C03A0 002BD300 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C03A4 002BD304 4E 80 00 20 */ blr - -.global sub_802c03a8 -sub_802c03a8: -/* 802C03A8 002BD308 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C03AC 002BD30C 7C 08 02 A6 */ mflr r0 -/* 802C03B0 002BD310 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C03B4 002BD314 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C03B8 002BD318 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C03BC 002BD31C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C03C0 002BD320 7C 9D 23 78 */ mr r29, r4 -/* 802C03C4 002BD324 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C03C8 002BD328 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802C03CC 002BD32C 41 82 00 4C */ beq lbl_802C0418 -/* 802C03D0 002BD330 83 FC 00 04 */ lwz r31, 4(r28) -/* 802C03D4 002BD334 48 00 00 28 */ b lbl_802C03FC -lbl_802C03D8: -/* 802C03D8 002BD338 7F FE FB 78 */ mr r30, r31 -/* 802C03DC 002BD33C 83 FF 00 04 */ lwz r31, 4(r31) -/* 802C03E0 002BD340 38 7E 00 08 */ addi r3, r30, 8 -/* 802C03E4 002BD344 38 80 FF FF */ li r4, -1 -/* 802C03E8 002BD348 4B FF DF D1 */ bl sub_802be3b8 -/* 802C03EC 002BD34C 28 1E 00 00 */ cmplwi r30, 0 -/* 802C03F0 002BD350 41 82 00 0C */ beq lbl_802C03FC -/* 802C03F4 002BD354 7F C3 F3 78 */ mr r3, r30 -/* 802C03F8 002BD358 48 05 55 39 */ bl Free__7CMemoryFPCv -lbl_802C03FC: -/* 802C03FC 002BD35C 80 1C 00 08 */ lwz r0, 8(r28) -/* 802C0400 002BD360 7C 1F 00 40 */ cmplw r31, r0 -/* 802C0404 002BD364 40 82 FF D4 */ bne lbl_802C03D8 -/* 802C0408 002BD368 7F A0 07 35 */ extsh. r0, r29 -/* 802C040C 002BD36C 40 81 00 0C */ ble lbl_802C0418 -/* 802C0410 002BD370 7F 83 E3 78 */ mr r3, r28 -/* 802C0414 002BD374 48 05 55 1D */ bl Free__7CMemoryFPCv -lbl_802C0418: -/* 802C0418 002BD378 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C041C 002BD37C 7F 83 E3 78 */ mr r3, r28 -/* 802C0420 002BD380 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0424 002BD384 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C0428 002BD388 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C042C 002BD38C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C0430 002BD390 7C 08 03 A6 */ mtlr r0 -/* 802C0434 002BD394 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C0438 002BD398 4E 80 00 20 */ blr - -.global sub_802c043c -sub_802c043c: -/* 802C043C 002BD39C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0440 002BD3A0 7C 08 02 A6 */ mflr r0 -/* 802C0444 002BD3A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0448 002BD3A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C044C 002BD3AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C0450 002BD3B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C0454 002BD3B4 7C 9D 23 78 */ mr r29, r4 -/* 802C0458 002BD3B8 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C045C 002BD3BC 7C 7C 1B 78 */ mr r28, r3 -/* 802C0460 002BD3C0 80 03 00 04 */ lwz r0, 4(r3) -/* 802C0464 002BD3C4 83 C4 00 04 */ lwz r30, 4(r4) -/* 802C0468 002BD3C8 7C 1D 00 40 */ cmplw r29, r0 -/* 802C046C 002BD3CC 40 82 00 08 */ bne lbl_802C0474 -/* 802C0470 002BD3D0 93 DC 00 04 */ stw r30, 4(r28) -lbl_802C0474: -/* 802C0474 002BD3D4 80 1D 00 04 */ lwz r0, 4(r29) -/* 802C0478 002BD3D8 37 FD 00 08 */ addic. r31, r29, 8 -/* 802C047C 002BD3DC 80 7D 00 00 */ lwz r3, 0(r29) -/* 802C0480 002BD3E0 90 03 00 04 */ stw r0, 4(r3) -/* 802C0484 002BD3E4 80 1D 00 00 */ lwz r0, 0(r29) -/* 802C0488 002BD3E8 80 7D 00 04 */ lwz r3, 4(r29) -/* 802C048C 002BD3EC 90 03 00 00 */ stw r0, 0(r3) -/* 802C0490 002BD3F0 41 82 00 38 */ beq lbl_802C04C8 -/* 802C0494 002BD3F4 34 1F 00 4C */ addic. r0, r31, 0x4c -/* 802C0498 002BD3F8 41 82 00 30 */ beq lbl_802C04C8 -/* 802C049C 002BD3FC 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 802C04A0 002BD400 28 00 00 00 */ cmplwi r0, 0 -/* 802C04A4 002BD404 41 82 00 1C */ beq lbl_802C04C0 -/* 802C04A8 002BD408 34 7F 00 4C */ addic. r3, r31, 0x4c -/* 802C04AC 002BD40C 41 82 00 14 */ beq lbl_802C04C0 -/* 802C04B0 002BD410 28 03 00 00 */ cmplwi r3, 0 -/* 802C04B4 002BD414 41 82 00 0C */ beq lbl_802C04C0 -/* 802C04B8 002BD418 38 80 00 00 */ li r4, 0 -/* 802C04BC 002BD41C 48 08 09 85 */ bl __dt__6CTokenFv -lbl_802C04C0: -/* 802C04C0 002BD420 38 00 00 00 */ li r0, 0 -/* 802C04C4 002BD424 98 1F 00 58 */ stb r0, 0x58(r31) -lbl_802C04C8: -/* 802C04C8 002BD428 28 1D 00 00 */ cmplwi r29, 0 -/* 802C04CC 002BD42C 41 82 00 0C */ beq lbl_802C04D8 -/* 802C04D0 002BD430 7F A3 EB 78 */ mr r3, r29 -/* 802C04D4 002BD434 48 05 54 5D */ bl Free__7CMemoryFPCv -lbl_802C04D8: -/* 802C04D8 002BD438 80 9C 00 14 */ lwz r4, 0x14(r28) -/* 802C04DC 002BD43C 7F C3 F3 78 */ mr r3, r30 -/* 802C04E0 002BD440 38 04 FF FF */ addi r0, r4, -1 -/* 802C04E4 002BD444 90 1C 00 14 */ stw r0, 0x14(r28) -/* 802C04E8 002BD448 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C04EC 002BD44C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C04F0 002BD450 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C04F4 002BD454 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C04F8 002BD458 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C04FC 002BD45C 7C 08 03 A6 */ mtlr r0 -/* 802C0500 002BD460 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C0504 002BD464 4E 80 00 20 */ blr - -.global sub_802c0508 -sub_802c0508: -/* 802C0508 002BD468 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C050C 002BD46C 7C 08 02 A6 */ mflr r0 -/* 802C0510 002BD470 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0514 002BD474 BF 41 00 08 */ stmw r26, 8(r1) -/* 802C0518 002BD478 7C 7A 1B 79 */ or. r26, r3, r3 -/* 802C051C 002BD47C 7C 9B 23 78 */ mr r27, r4 -/* 802C0520 002BD480 41 82 00 7C */ beq lbl_802C059C -/* 802C0524 002BD484 83 BA 00 04 */ lwz r29, 4(r26) -/* 802C0528 002BD488 3B E0 00 00 */ li r31, 0 -/* 802C052C 002BD48C 48 00 00 54 */ b lbl_802C0580 -lbl_802C0530: -/* 802C0530 002BD490 7F BC EB 78 */ mr r28, r29 -/* 802C0534 002BD494 83 BD 00 04 */ lwz r29, 4(r29) -/* 802C0538 002BD498 37 DC 00 08 */ addic. r30, r28, 8 -/* 802C053C 002BD49C 41 82 00 34 */ beq lbl_802C0570 -/* 802C0540 002BD4A0 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 802C0544 002BD4A4 41 82 00 2C */ beq lbl_802C0570 -/* 802C0548 002BD4A8 88 1E 00 58 */ lbz r0, 0x58(r30) -/* 802C054C 002BD4AC 28 00 00 00 */ cmplwi r0, 0 -/* 802C0550 002BD4B0 41 82 00 1C */ beq lbl_802C056C -/* 802C0554 002BD4B4 34 7E 00 4C */ addic. r3, r30, 0x4c -/* 802C0558 002BD4B8 41 82 00 14 */ beq lbl_802C056C -/* 802C055C 002BD4BC 28 03 00 00 */ cmplwi r3, 0 -/* 802C0560 002BD4C0 41 82 00 0C */ beq lbl_802C056C -/* 802C0564 002BD4C4 38 80 00 00 */ li r4, 0 -/* 802C0568 002BD4C8 48 08 08 D9 */ bl __dt__6CTokenFv -lbl_802C056C: -/* 802C056C 002BD4CC 9B FE 00 58 */ stb r31, 0x58(r30) -lbl_802C0570: -/* 802C0570 002BD4D0 28 1C 00 00 */ cmplwi r28, 0 -/* 802C0574 002BD4D4 41 82 00 0C */ beq lbl_802C0580 -/* 802C0578 002BD4D8 7F 83 E3 78 */ mr r3, r28 -/* 802C057C 002BD4DC 48 05 53 B5 */ bl Free__7CMemoryFPCv -lbl_802C0580: -/* 802C0580 002BD4E0 80 1A 00 08 */ lwz r0, 8(r26) -/* 802C0584 002BD4E4 7C 1D 00 40 */ cmplw r29, r0 -/* 802C0588 002BD4E8 40 82 FF A8 */ bne lbl_802C0530 -/* 802C058C 002BD4EC 7F 60 07 35 */ extsh. r0, r27 -/* 802C0590 002BD4F0 40 81 00 0C */ ble lbl_802C059C -/* 802C0594 002BD4F4 7F 43 D3 78 */ mr r3, r26 -/* 802C0598 002BD4F8 48 05 53 99 */ bl Free__7CMemoryFPCv -lbl_802C059C: -/* 802C059C 002BD4FC 7F 43 D3 78 */ mr r3, r26 -/* 802C05A0 002BD500 BB 41 00 08 */ lmw r26, 8(r1) -/* 802C05A4 002BD504 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C05A8 002BD508 7C 08 03 A6 */ mtlr r0 -/* 802C05AC 002BD50C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C05B0 002BD510 4E 80 00 20 */ blr - -.global sub_802c05b4 -sub_802c05b4: -/* 802C05B4 002BD514 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C05B8 002BD518 7C 08 02 A6 */ mflr r0 -/* 802C05BC 002BD51C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C05C0 002BD520 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C05C4 002BD524 93 C1 00 08 */ stw r30, 8(r1) -/* 802C05C8 002BD528 7C 7E 1B 78 */ mr r30, r3 -/* 802C05CC 002BD52C 80 03 00 04 */ lwz r0, 4(r3) -/* 802C05D0 002BD530 83 E4 00 04 */ lwz r31, 4(r4) -/* 802C05D4 002BD534 7C 04 00 40 */ cmplw r4, r0 -/* 802C05D8 002BD538 40 82 00 08 */ bne lbl_802C05E0 -/* 802C05DC 002BD53C 93 FE 00 04 */ stw r31, 4(r30) -lbl_802C05E0: -/* 802C05E0 002BD540 80 04 00 04 */ lwz r0, 4(r4) -/* 802C05E4 002BD544 28 04 00 00 */ cmplwi r4, 0 -/* 802C05E8 002BD548 80 64 00 00 */ lwz r3, 0(r4) -/* 802C05EC 002BD54C 90 03 00 04 */ stw r0, 4(r3) -/* 802C05F0 002BD550 80 04 00 00 */ lwz r0, 0(r4) -/* 802C05F4 002BD554 80 64 00 04 */ lwz r3, 4(r4) -/* 802C05F8 002BD558 90 03 00 00 */ stw r0, 0(r3) -/* 802C05FC 002BD55C 41 82 00 0C */ beq lbl_802C0608 -/* 802C0600 002BD560 7C 83 23 78 */ mr r3, r4 -/* 802C0604 002BD564 48 05 53 2D */ bl Free__7CMemoryFPCv -lbl_802C0608: -/* 802C0608 002BD568 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802C060C 002BD56C 7F E3 FB 78 */ mr r3, r31 -/* 802C0610 002BD570 38 04 FF FF */ addi r0, r4, -1 -/* 802C0614 002BD574 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802C0618 002BD578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C061C 002BD57C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C0620 002BD580 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C0624 002BD584 7C 08 03 A6 */ mtlr r0 -/* 802C0628 002BD588 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C062C 002BD58C 4E 80 00 20 */ blr - -.global sub_802c0630 -sub_802c0630: -/* 802C0630 002BD590 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0634 002BD594 7C 08 02 A6 */ mflr r0 -/* 802C0638 002BD598 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C063C 002BD59C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0640 002BD5A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C0644 002BD5A4 7C 9E 23 78 */ mr r30, r4 -/* 802C0648 002BD5A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C064C 002BD5AC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C0650 002BD5B0 41 82 00 38 */ beq lbl_802C0688 -/* 802C0654 002BD5B4 83 FD 00 04 */ lwz r31, 4(r29) -/* 802C0658 002BD5B8 48 00 00 14 */ b lbl_802C066C -lbl_802C065C: -/* 802C065C 002BD5BC 7F E3 FB 79 */ or. r3, r31, r31 -/* 802C0660 002BD5C0 83 FF 00 04 */ lwz r31, 4(r31) -/* 802C0664 002BD5C4 41 82 00 08 */ beq lbl_802C066C -/* 802C0668 002BD5C8 48 05 52 C9 */ bl Free__7CMemoryFPCv -lbl_802C066C: -/* 802C066C 002BD5CC 80 1D 00 08 */ lwz r0, 8(r29) -/* 802C0670 002BD5D0 7C 1F 00 40 */ cmplw r31, r0 -/* 802C0674 002BD5D4 40 82 FF E8 */ bne lbl_802C065C -/* 802C0678 002BD5D8 7F C0 07 35 */ extsh. r0, r30 -/* 802C067C 002BD5DC 40 81 00 0C */ ble lbl_802C0688 -/* 802C0680 002BD5E0 7F A3 EB 78 */ mr r3, r29 -/* 802C0684 002BD5E4 48 05 52 AD */ bl Free__7CMemoryFPCv -lbl_802C0688: -/* 802C0688 002BD5E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C068C 002BD5EC 7F A3 EB 78 */ mr r3, r29 -/* 802C0690 002BD5F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0694 002BD5F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C0698 002BD5F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C069C 002BD5FC 7C 08 03 A6 */ mtlr r0 -/* 802C06A0 002BD600 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C06A4 002BD604 4E 80 00 20 */ blr - -.global sub_802c06a8 -sub_802c06a8: -/* 802C06A8 002BD608 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C06AC 002BD60C 7C 08 02 A6 */ mflr r0 -/* 802C06B0 002BD610 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C06B4 002BD614 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802C06B8 002BD618 7C 9F 23 78 */ mr r31, r4 -/* 802C06BC 002BD61C 7C 7E 1B 78 */ mr r30, r3 -/* 802C06C0 002BD620 80 03 00 08 */ lwz r0, 8(r3) -/* 802C06C4 002BD624 7C 1F 00 00 */ cmpw r31, r0 -/* 802C06C8 002BD628 40 81 00 D4 */ ble lbl_802C079C -/* 802C06CC 002BD62C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802C06D0 002BD630 40 82 00 0C */ bne lbl_802C06DC -/* 802C06D4 002BD634 3B A0 00 00 */ li r29, 0 -/* 802C06D8 002BD638 48 00 00 18 */ b lbl_802C06F0 -lbl_802C06DC: -/* 802C06DC 002BD63C 3C 80 80 3D */ lis r4, lbl_803D685C@ha -/* 802C06E0 002BD640 38 A0 00 00 */ li r5, 0 -/* 802C06E4 002BD644 38 84 68 5C */ addi r4, r4, lbl_803D685C@l -/* 802C06E8 002BD648 48 05 51 31 */ bl __nwa__FUlPCcPCc -/* 802C06EC 002BD64C 7C 7D 1B 78 */ mr r29, r3 -lbl_802C06F0: -/* 802C06F0 002BD650 80 7E 00 04 */ lwz r3, 4(r30) -/* 802C06F4 002BD654 7F A5 EB 78 */ mr r5, r29 -/* 802C06F8 002BD658 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 802C06FC 002BD65C 38 00 00 00 */ li r0, 0 -/* 802C0700 002BD660 54 63 18 38 */ slwi r3, r3, 3 -/* 802C0704 002BD664 7C 86 1A 14 */ add r4, r6, r3 -/* 802C0708 002BD668 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802C070C 002BD66C 90 81 00 08 */ stw r4, 8(r1) -/* 802C0710 002BD670 90 81 00 0C */ stw r4, 0xc(r1) -/* 802C0714 002BD674 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802C0718 002BD678 48 00 00 28 */ b lbl_802C0740 -lbl_802C071C: -/* 802C071C 002BD67C 28 05 00 00 */ cmplwi r5, 0 -/* 802C0720 002BD680 41 82 00 18 */ beq lbl_802C0738 -/* 802C0724 002BD684 88 66 00 00 */ lbz r3, 0(r6) -/* 802C0728 002BD688 98 65 00 00 */ stb r3, 0(r5) -/* 802C072C 002BD68C 80 66 00 04 */ lwz r3, 4(r6) -/* 802C0730 002BD690 90 65 00 04 */ stw r3, 4(r5) -/* 802C0734 002BD694 98 06 00 00 */ stb r0, 0(r6) -lbl_802C0738: -/* 802C0738 002BD698 38 A5 00 08 */ addi r5, r5, 8 -/* 802C073C 002BD69C 38 C6 00 08 */ addi r6, r6, 8 -lbl_802C0740: -/* 802C0740 002BD6A0 7C 06 20 40 */ cmplw r6, r4 -/* 802C0744 002BD6A4 40 82 FF D8 */ bne lbl_802C071C -/* 802C0748 002BD6A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C074C 002BD6AC 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 802C0750 002BD6B0 54 00 18 38 */ slwi r0, r0, 3 -/* 802C0754 002BD6B4 7F 9B 02 14 */ add r28, r27, r0 -/* 802C0758 002BD6B8 48 00 00 24 */ b lbl_802C077C -lbl_802C075C: -/* 802C075C 002BD6BC 28 1B 00 00 */ cmplwi r27, 0 -/* 802C0760 002BD6C0 41 82 00 18 */ beq lbl_802C0778 -/* 802C0764 002BD6C4 88 1B 00 00 */ lbz r0, 0(r27) -/* 802C0768 002BD6C8 28 00 00 00 */ cmplwi r0, 0 -/* 802C076C 002BD6CC 41 82 00 0C */ beq lbl_802C0778 -/* 802C0770 002BD6D0 80 7B 00 04 */ lwz r3, 4(r27) -/* 802C0774 002BD6D4 48 05 51 BD */ bl Free__7CMemoryFPCv -lbl_802C0778: -/* 802C0778 002BD6D8 3B 7B 00 08 */ addi r27, r27, 8 -lbl_802C077C: -/* 802C077C 002BD6DC 7C 1B E0 40 */ cmplw r27, r28 -/* 802C0780 002BD6E0 40 82 FF DC */ bne lbl_802C075C -/* 802C0784 002BD6E4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C0788 002BD6E8 28 03 00 00 */ cmplwi r3, 0 -/* 802C078C 002BD6EC 41 82 00 08 */ beq lbl_802C0794 -/* 802C0790 002BD6F0 48 05 51 A1 */ bl Free__7CMemoryFPCv -lbl_802C0794: -/* 802C0794 002BD6F4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802C0798 002BD6F8 93 FE 00 08 */ stw r31, 8(r30) -lbl_802C079C: -/* 802C079C 002BD6FC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802C07A0 002BD700 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C07A4 002BD704 7C 08 03 A6 */ mtlr r0 -/* 802C07A8 002BD708 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C07AC 002BD70C 4E 80 00 20 */ blr - -.global sub_802c07b0 -sub_802c07b0: -/* 802C07B0 002BD710 39 03 00 02 */ addi r8, r3, 2 -/* 802C07B4 002BD714 38 04 00 01 */ addi r0, r4, 1 -/* 802C07B8 002BD718 7C 08 00 50 */ subf r0, r8, r0 -/* 802C07BC 002BD71C 54 00 F8 7E */ srwi r0, r0, 1 -/* 802C07C0 002BD720 7C 09 03 A6 */ mtctr r0 -/* 802C07C4 002BD724 7C 08 20 40 */ cmplw r8, r4 -/* 802C07C8 002BD728 4C 80 00 20 */ bgelr -lbl_802C07CC: -/* 802C07CC 002BD72C A1 28 00 00 */ lhz r9, 0(r8) -/* 802C07D0 002BD730 7D 0B 43 78 */ mr r11, r8 -/* 802C07D4 002BD734 39 48 FF FE */ addi r10, r8, -2 -/* 802C07D8 002BD738 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 -/* 802C07DC 002BD73C 48 00 00 10 */ b lbl_802C07EC -lbl_802C07E0: -/* 802C07E0 002BD740 B0 EB 00 00 */ sth r7, 0(r11) -/* 802C07E4 002BD744 39 6B FF FE */ addi r11, r11, -2 -/* 802C07E8 002BD748 39 4A FF FE */ addi r10, r10, -2 -lbl_802C07EC: -/* 802C07EC 002BD74C 7C 03 58 40 */ cmplw r3, r11 -/* 802C07F0 002BD750 40 80 00 2C */ bge lbl_802C081C -/* 802C07F4 002BD754 80 8D A6 1C */ lwz r4, lbl_805A91DC@sda21(r13) -/* 802C07F8 002BD758 A0 EA 00 00 */ lhz r7, 0(r10) -/* 802C07FC 002BD75C 38 A4 00 04 */ addi r5, r4, 4 -/* 802C0800 002BD760 54 E0 32 B2 */ rlwinm r0, r7, 6, 0xa, 0x19 -/* 802C0804 002BD764 7C 85 32 14 */ add r4, r5, r6 -/* 802C0808 002BD768 7C A5 02 14 */ add r5, r5, r0 -/* 802C080C 002BD76C C0 24 00 20 */ lfs f1, 0x20(r4) -/* 802C0810 002BD770 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 802C0814 002BD774 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C0818 002BD778 41 80 FF C8 */ blt lbl_802C07E0 -lbl_802C081C: -/* 802C081C 002BD77C B1 2B 00 00 */ sth r9, 0(r11) -/* 802C0820 002BD780 39 08 00 02 */ addi r8, r8, 2 -/* 802C0824 002BD784 42 00 FF A8 */ bdnz lbl_802C07CC - -.global sub_802c0828 -sub_802c0828: -/* 802C0828 002BD788 4E 80 00 20 */ blr - -.global sub_802c082c -sub_802c082c: -/* 802C082C 002BD78C 38 C3 00 04 */ addi r6, r3, 4 -/* 802C0830 002BD790 38 04 00 03 */ addi r0, r4, 3 -/* 802C0834 002BD794 7C 06 00 50 */ subf r0, r6, r0 -/* 802C0838 002BD798 54 00 F0 BE */ srwi r0, r0, 2 -/* 802C083C 002BD79C 7C 09 03 A6 */ mtctr r0 -/* 802C0840 002BD7A0 7C 06 20 40 */ cmplw r6, r4 -/* 802C0844 002BD7A4 4C 80 00 20 */ bgelr -lbl_802C0848: -/* 802C0848 002BD7A8 80 E6 00 00 */ lwz r7, 0(r6) -/* 802C084C 002BD7AC 7C C9 33 78 */ mr r9, r6 -/* 802C0850 002BD7B0 39 06 FF FC */ addi r8, r6, -4 -/* 802C0854 002BD7B4 48 00 00 10 */ b lbl_802C0864 -lbl_802C0858: -/* 802C0858 002BD7B8 90 A9 00 00 */ stw r5, 0(r9) -/* 802C085C 002BD7BC 39 29 FF FC */ addi r9, r9, -4 -/* 802C0860 002BD7C0 39 08 FF FC */ addi r8, r8, -4 -lbl_802C0864: -/* 802C0864 002BD7C4 7C 03 48 40 */ cmplw r3, r9 -/* 802C0868 002BD7C8 40 80 00 40 */ bge lbl_802C08A8 -/* 802C086C 002BD7CC 80 A8 00 00 */ lwz r5, 0(r8) -/* 802C0870 002BD7D0 C0 07 00 20 */ lfs f0, 0x20(r7) -/* 802C0874 002BD7D4 C0 25 00 20 */ lfs f1, 0x20(r5) -/* 802C0878 002BD7D8 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C087C 002BD7DC 40 82 00 18 */ bne lbl_802C0894 -/* 802C0880 002BD7E0 A0 87 00 02 */ lhz r4, 2(r7) -/* 802C0884 002BD7E4 A0 05 00 02 */ lhz r0, 2(r5) -/* 802C0888 002BD7E8 7C 04 00 50 */ subf r0, r4, r0 -/* 802C088C 002BD7EC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C0890 002BD7F0 48 00 00 10 */ b lbl_802C08A0 -lbl_802C0894: -/* 802C0894 002BD7F4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C0898 002BD7F8 7C 00 00 26 */ mfcr r0 -/* 802C089C 002BD7FC 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C08A0: -/* 802C08A0 002BD800 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C08A4 002BD804 40 82 FF B4 */ bne lbl_802C0858 -lbl_802C08A8: -/* 802C08A8 002BD808 90 E9 00 00 */ stw r7, 0(r9) -/* 802C08AC 002BD80C 38 C6 00 04 */ addi r6, r6, 4 -/* 802C08B0 002BD810 42 00 FF 98 */ bdnz lbl_802C0848 - -.global sub_802c08b4 -sub_802c08b4: -/* 802C08B4 002BD814 4E 80 00 20 */ blr - -.global sub_802c08b8 -sub_802c08b8: -/* 802C08B8 002BD818 80 E3 00 00 */ lwz r7, 0(r3) -/* 802C08BC 002BD81C 81 04 00 00 */ lwz r8, 0(r4) -/* 802C08C0 002BD820 C0 27 00 20 */ lfs f1, 0x20(r7) -/* 802C08C4 002BD824 C0 08 00 20 */ lfs f0, 0x20(r8) -/* 802C08C8 002BD828 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C08CC 002BD82C 40 82 00 18 */ bne lbl_802C08E4 -/* 802C08D0 002BD830 A0 C8 00 02 */ lhz r6, 2(r8) -/* 802C08D4 002BD834 A0 07 00 02 */ lhz r0, 2(r7) -/* 802C08D8 002BD838 7C 06 00 50 */ subf r0, r6, r0 -/* 802C08DC 002BD83C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C08E0 002BD840 48 00 00 10 */ b lbl_802C08F0 -lbl_802C08E4: -/* 802C08E4 002BD844 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C08E8 002BD848 7C 00 00 26 */ mfcr r0 -/* 802C08EC 002BD84C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C08F0: -/* 802C08F0 002BD850 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C08F4 002BD854 41 82 00 0C */ beq lbl_802C0900 -/* 802C08F8 002BD858 91 03 00 00 */ stw r8, 0(r3) -/* 802C08FC 002BD85C 90 E4 00 00 */ stw r7, 0(r4) -lbl_802C0900: -/* 802C0900 002BD860 81 04 00 00 */ lwz r8, 0(r4) -/* 802C0904 002BD864 80 E5 00 00 */ lwz r7, 0(r5) -/* 802C0908 002BD868 C0 28 00 20 */ lfs f1, 0x20(r8) -/* 802C090C 002BD86C C0 07 00 20 */ lfs f0, 0x20(r7) -/* 802C0910 002BD870 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C0914 002BD874 40 82 00 18 */ bne lbl_802C092C -/* 802C0918 002BD878 A0 C7 00 02 */ lhz r6, 2(r7) -/* 802C091C 002BD87C A0 08 00 02 */ lhz r0, 2(r8) -/* 802C0920 002BD880 7C 06 00 50 */ subf r0, r6, r0 -/* 802C0924 002BD884 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C0928 002BD888 48 00 00 10 */ b lbl_802C0938 -lbl_802C092C: -/* 802C092C 002BD88C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C0930 002BD890 7C 00 00 26 */ mfcr r0 -/* 802C0934 002BD894 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C0938: -/* 802C0938 002BD898 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C093C 002BD89C 4D 82 00 20 */ beqlr -/* 802C0940 002BD8A0 91 05 00 00 */ stw r8, 0(r5) -/* 802C0944 002BD8A4 80 C3 00 00 */ lwz r6, 0(r3) -/* 802C0948 002BD8A8 C0 07 00 20 */ lfs f0, 0x20(r7) -/* 802C094C 002BD8AC C0 26 00 20 */ lfs f1, 0x20(r6) -/* 802C0950 002BD8B0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C0954 002BD8B4 40 82 00 18 */ bne lbl_802C096C -/* 802C0958 002BD8B8 A0 A7 00 02 */ lhz r5, 2(r7) -/* 802C095C 002BD8BC A0 06 00 02 */ lhz r0, 2(r6) -/* 802C0960 002BD8C0 7C 05 00 50 */ subf r0, r5, r0 -/* 802C0964 002BD8C4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C0968 002BD8C8 48 00 00 10 */ b lbl_802C0978 -lbl_802C096C: -/* 802C096C 002BD8CC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C0970 002BD8D0 7C 00 00 26 */ mfcr r0 -/* 802C0974 002BD8D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -lbl_802C0978: -/* 802C0978 002BD8D8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C097C 002BD8DC 41 82 00 10 */ beq lbl_802C098C -/* 802C0980 002BD8E0 90 C4 00 00 */ stw r6, 0(r4) -/* 802C0984 002BD8E4 90 E3 00 00 */ stw r7, 0(r3) -/* 802C0988 002BD8E8 4E 80 00 20 */ blr -lbl_802C098C: -/* 802C098C 002BD8EC 90 E4 00 00 */ stw r7, 0(r4) -/* 802C0990 002BD8F0 4E 80 00 20 */ blr - -.global sub_802c0994 -sub_802c0994: -/* 802C0994 002BD8F4 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) -/* 802C0998 002BD8F8 A1 24 00 00 */ lhz r9, 0(r4) -/* 802C099C 002BD8FC A1 03 00 00 */ lhz r8, 0(r3) -/* 802C09A0 002BD900 38 E6 00 04 */ addi r7, r6, 4 -/* 802C09A4 002BD904 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 -/* 802C09A8 002BD908 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 -/* 802C09AC 002BD90C 7C C7 32 14 */ add r6, r7, r6 -/* 802C09B0 002BD910 7C E7 02 14 */ add r7, r7, r0 -/* 802C09B4 002BD914 C0 26 00 20 */ lfs f1, 0x20(r6) -/* 802C09B8 002BD918 C0 07 00 20 */ lfs f0, 0x20(r7) -/* 802C09BC 002BD91C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C09C0 002BD920 40 80 00 0C */ bge lbl_802C09CC -/* 802C09C4 002BD924 B1 23 00 00 */ sth r9, 0(r3) -/* 802C09C8 002BD928 B1 04 00 00 */ sth r8, 0(r4) -lbl_802C09CC: -/* 802C09CC 002BD92C 80 CD A6 1C */ lwz r6, lbl_805A91DC@sda21(r13) -/* 802C09D0 002BD930 A1 25 00 00 */ lhz r9, 0(r5) -/* 802C09D4 002BD934 A1 44 00 00 */ lhz r10, 0(r4) -/* 802C09D8 002BD938 39 06 00 04 */ addi r8, r6, 4 -/* 802C09DC 002BD93C 55 26 32 B2 */ rlwinm r6, r9, 6, 0xa, 0x19 -/* 802C09E0 002BD940 55 40 32 B2 */ rlwinm r0, r10, 6, 0xa, 0x19 -/* 802C09E4 002BD944 7C E8 32 14 */ add r7, r8, r6 -/* 802C09E8 002BD948 7D 08 02 14 */ add r8, r8, r0 -/* 802C09EC 002BD94C C0 27 00 20 */ lfs f1, 0x20(r7) -/* 802C09F0 002BD950 C0 08 00 20 */ lfs f0, 0x20(r8) -/* 802C09F4 002BD954 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C09F8 002BD958 4C 80 00 20 */ bgelr -/* 802C09FC 002BD95C B1 45 00 00 */ sth r10, 0(r5) -/* 802C0A00 002BD960 80 AD A6 1C */ lwz r5, lbl_805A91DC@sda21(r13) -/* 802C0A04 002BD964 A1 03 00 00 */ lhz r8, 0(r3) -/* 802C0A08 002BD968 38 E5 00 04 */ addi r7, r5, 4 -/* 802C0A0C 002BD96C 55 00 32 B2 */ rlwinm r0, r8, 6, 0xa, 0x19 -/* 802C0A10 002BD970 7C A7 32 14 */ add r5, r7, r6 -/* 802C0A14 002BD974 7C C7 02 14 */ add r6, r7, r0 -/* 802C0A18 002BD978 C0 25 00 20 */ lfs f1, 0x20(r5) -/* 802C0A1C 002BD97C C0 06 00 20 */ lfs f0, 0x20(r6) -/* 802C0A20 002BD980 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C0A24 002BD984 40 80 00 10 */ bge lbl_802C0A34 -/* 802C0A28 002BD988 B1 04 00 00 */ sth r8, 0(r4) -/* 802C0A2C 002BD98C B1 23 00 00 */ sth r9, 0(r3) -/* 802C0A30 002BD990 4E 80 00 20 */ blr -lbl_802C0A34: -/* 802C0A34 002BD994 B1 24 00 00 */ sth r9, 0(r4) -/* 802C0A38 002BD998 4E 80 00 20 */ blr - -.global __sinit_CCubeRenderer_cpp -__sinit_CCubeRenderer_cpp: -/* 802C0A3C 002BD99C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0A40 002BD9A0 7C 08 02 A6 */ mflr r0 -/* 802C0A44 002BD9A4 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802C0A48 002BD9A8 38 80 00 00 */ li r4, 0 -/* 802C0A4C 002BD9AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0A50 002BD9B0 38 00 00 03 */ li r0, 3 -/* 802C0A54 002BD9B4 FC 40 08 90 */ fmr f2, f1 -/* 802C0A58 002BD9B8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C0A5C 002BD9BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0A60 002BD9C0 FC 60 08 90 */ fmr f3, f1 -/* 802C0A64 002BD9C4 FC 80 08 90 */ fmr f4, f1 -/* 802C0A68 002BD9C8 98 81 00 10 */ stb r4, 0x10(r1) -/* 802C0A6C 002BD9CC 98 81 00 11 */ stb r4, 0x11(r1) -/* 802C0A70 002BD9D0 B0 01 00 12 */ sth r0, 0x12(r1) -/* 802C0A74 002BD9D4 48 0A 29 79 */ bl __ct__6CColorFffff -/* 802C0A78 002BD9D8 C0 22 C2 70 */ lfs f1, lbl_805ADF90@sda21(r2) -/* 802C0A7C 002BD9DC 38 80 00 00 */ li r4, 0 -/* 802C0A80 002BD9E0 89 21 00 10 */ lbz r9, 0x10(r1) -/* 802C0A84 002BD9E4 38 00 00 03 */ li r0, 3 -/* 802C0A88 002BD9E8 89 01 00 11 */ lbz r8, 0x11(r1) -/* 802C0A8C 002BD9EC 38 ED A5 F4 */ addi r7, r13, lbl_805A91B4@sda21 -/* 802C0A90 002BD9F0 A0 C1 00 12 */ lhz r6, 0x12(r1) -/* 802C0A94 002BD9F4 FC 40 08 90 */ fmr f2, f1 -/* 802C0A98 002BD9F8 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 802C0A9C 002BD9FC FC 60 08 90 */ fmr f3, f1 -/* 802C0AA0 002BDA00 FC 80 08 90 */ fmr f4, f1 -/* 802C0AA4 002BDA04 99 2D A5 F4 */ stb r9, lbl_805A91B4@sda21(r13) -/* 802C0AA8 002BDA08 38 61 00 0C */ addi r3, r1, 0xc -/* 802C0AAC 002BDA0C 99 07 00 01 */ stb r8, 1(r7) -/* 802C0AB0 002BDA10 B0 C7 00 02 */ sth r6, 2(r7) -/* 802C0AB4 002BDA14 90 A7 00 04 */ stw r5, 4(r7) -/* 802C0AB8 002BDA18 98 81 00 08 */ stb r4, 8(r1) -/* 802C0ABC 002BDA1C 98 81 00 09 */ stb r4, 9(r1) -/* 802C0AC0 002BDA20 B0 01 00 0A */ sth r0, 0xa(r1) -/* 802C0AC4 002BDA24 48 0A 29 29 */ bl __ct__6CColorFffff -/* 802C0AC8 002BDA28 A0 01 00 0A */ lhz r0, 0xa(r1) -/* 802C0ACC 002BDA2C 3C 80 80 2C */ lis r4, sub_802c0b50@ha -/* 802C0AD0 002BDA30 89 41 00 08 */ lbz r10, 8(r1) -/* 802C0AD4 002BDA34 3C A0 80 47 */ lis r5, lbl_8046E200@ha -/* 802C0AD8 002BDA38 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 802C0ADC 002BDA3C C0 2D 9A 98 */ lfs f1, lbl_805A8658@sda21(r13) -/* 802C0AE0 002BDA40 60 07 00 01 */ ori r7, r0, 1 -/* 802C0AE4 002BDA44 39 0D A5 FC */ addi r8, r13, lbl_805A91BC@sda21 -/* 802C0AE8 002BDA48 89 21 00 09 */ lbz r9, 9(r1) -/* 802C0AEC 002BDA4C 38 00 00 00 */ li r0, 0 -/* 802C0AF0 002BDA50 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 802C0AF4 002BDA54 3C 60 80 47 */ lis r3, lbl_8046E20C@ha -/* 802C0AF8 002BDA58 C0 0D 9A 9C */ lfs f0, lbl_805A865C@sda21(r13) -/* 802C0AFC 002BDA5C 3B ED A6 04 */ addi r31, r13, lbl_805A91C4@sda21 -/* 802C0B00 002BDA60 99 4D A5 FC */ stb r10, lbl_805A91BC@sda21(r13) -/* 802C0B04 002BDA64 38 84 0B 50 */ addi r4, r4, sub_802c0b50@l -/* 802C0B08 002BDA68 38 A5 E2 00 */ addi r5, r5, lbl_8046E200@l -/* 802C0B0C 002BDA6C 99 28 00 01 */ stb r9, 1(r8) -/* 802C0B10 002BDA70 B0 E8 00 02 */ sth r7, 2(r8) -/* 802C0B14 002BDA74 90 C8 00 04 */ stw r6, 4(r8) -/* 802C0B18 002BDA78 D0 2D A6 04 */ stfs f1, lbl_805A91C4@sda21(r13) -/* 802C0B1C 002BDA7C D0 1F 00 04 */ stfs f0, 4(r31) -/* 802C0B20 002BDA80 94 03 E2 0C */ stwu r0, lbl_8046E20C@l(r3) -/* 802C0B24 002BDA84 48 0C 8B 69 */ bl __register_global_object -/* 802C0B28 002BDA88 C0 2D A6 04 */ lfs f1, lbl_805A91C4@sda21(r13) -/* 802C0B2C 002BDA8C 38 6D A6 14 */ addi r3, r13, lbl_805A91D4@sda21 -/* 802C0B30 002BDA90 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802C0B34 002BDA94 D0 2D A6 14 */ stfs f1, lbl_805A91D4@sda21(r13) -/* 802C0B38 002BDA98 D0 03 00 04 */ stfs f0, 4(r3) -/* 802C0B3C 002BDA9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0B40 002BDAA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C0B44 002BDAA4 7C 08 03 A6 */ mtlr r0 -/* 802C0B48 002BDAA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C0B4C 002BDAAC 4E 80 00 20 */ blr - -.global sub_802c0b50 -sub_802c0b50: -/* 802C0B50 002BDAB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C0B54 002BDAB4 7C 08 02 A6 */ mflr r0 -/* 802C0B58 002BDAB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C0B5C 002BDABC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C0B60 002BDAC0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802C0B64 002BDAC4 41 82 00 68 */ beq lbl_802C0BCC -/* 802C0B68 002BDAC8 80 DF 00 00 */ lwz r6, 0(r31) -/* 802C0B6C 002BDACC 38 60 00 00 */ li r3, 0 -/* 802C0B70 002BDAD0 2C 06 00 00 */ cmpwi r6, 0 -/* 802C0B74 002BDAD4 40 81 00 40 */ ble lbl_802C0BB4 -/* 802C0B78 002BDAD8 2C 06 00 08 */ cmpwi r6, 8 -/* 802C0B7C 002BDADC 38 A6 FF F8 */ addi r5, r6, -8 -/* 802C0B80 002BDAE0 40 81 00 20 */ ble lbl_802C0BA0 -/* 802C0B84 002BDAE4 38 05 00 07 */ addi r0, r5, 7 -/* 802C0B88 002BDAE8 54 00 E8 FE */ srwi r0, r0, 3 -/* 802C0B8C 002BDAEC 7C 09 03 A6 */ mtctr r0 -/* 802C0B90 002BDAF0 2C 05 00 00 */ cmpwi r5, 0 -/* 802C0B94 002BDAF4 40 81 00 0C */ ble lbl_802C0BA0 -lbl_802C0B98: -/* 802C0B98 002BDAF8 38 63 00 08 */ addi r3, r3, 8 -/* 802C0B9C 002BDAFC 42 00 FF FC */ bdnz lbl_802C0B98 -lbl_802C0BA0: -/* 802C0BA0 002BDB00 7C 03 30 50 */ subf r0, r3, r6 -/* 802C0BA4 002BDB04 7C 09 03 A6 */ mtctr r0 -/* 802C0BA8 002BDB08 7C 03 30 00 */ cmpw r3, r6 -/* 802C0BAC 002BDB0C 40 80 00 08 */ bge lbl_802C0BB4 -lbl_802C0BB0: -/* 802C0BB0 002BDB10 42 00 00 00 */ bdnz lbl_802C0BB0 -lbl_802C0BB4: -/* 802C0BB4 002BDB14 38 60 00 00 */ li r3, 0 -/* 802C0BB8 002BDB18 7C 80 07 35 */ extsh. r0, r4 -/* 802C0BBC 002BDB1C 90 7F 00 00 */ stw r3, 0(r31) -/* 802C0BC0 002BDB20 40 81 00 0C */ ble lbl_802C0BCC -/* 802C0BC4 002BDB24 7F E3 FB 78 */ mr r3, r31 -/* 802C0BC8 002BDB28 48 05 4D 69 */ bl Free__7CMemoryFPCv -lbl_802C0BCC: -/* 802C0BCC 002BDB2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C0BD0 002BDB30 7F E3 FB 78 */ mr r3, r31 -/* 802C0BD4 002BDB34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C0BD8 002BDB38 7C 08 03 A6 */ mtlr r0 -/* 802C0BDC 002BDB3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C0BE0 002BDB40 4E 80 00 20 */ blr - -.global "@4@AddParticleGen__13CCubeRendererFRC12CParticleGen" -"@4@AddParticleGen__13CCubeRendererFRC12CParticleGen": -/* 802C0BE4 002BDB44 38 63 FF FC */ addi r3, r3, -4 -/* 802C0BE8 002BDB48 4B FF CF 5C */ b AddParticleGen__13CCubeRendererFRC12CParticleGen - -.global "@4@__dt__13CCubeRendererFv" -"@4@__dt__13CCubeRendererFv": -/* 802C0BEC 002BDB4C 38 63 FF FC */ addi r3, r3, -4 -/* 802C0BF0 002BDB50 4B FF DA A8 */ b __dt__13CCubeRendererFv - -.global nullsub_6 -nullsub_6: -/* 802C0BF4 002BDB54 4E 80 00 20 */ blr - -.global __dt__9CAuiMeterFv -__dt__9CAuiMeterFv: -/* 802C0BF8 002BDB58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0BFC 002BDB5C 7C 08 02 A6 */ mflr r0 -/* 802C0C00 002BDB60 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0C04 002BDB64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0C08 002BDB68 7C 9F 23 78 */ mr r31, r4 -/* 802C0C0C 002BDB6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C0C10 002BDB70 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C0C14 002BDB74 41 82 00 88 */ beq lbl_802C0C9C -/* 802C0C18 002BDB78 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha -/* 802C0C1C 002BDB7C 34 1E 00 D4 */ addic. r0, r30, 0xd4 -/* 802C0C20 002BDB80 38 03 C6 F8 */ addi r0, r3, lbl_803EC6F8@l -/* 802C0C24 002BDB84 90 1E 00 00 */ stw r0, 0(r30) -/* 802C0C28 002BDB88 41 82 00 44 */ beq lbl_802C0C6C -/* 802C0C2C 002BDB8C 80 1E 00 D8 */ lwz r0, 0xd8(r30) -/* 802C0C30 002BDB90 80 7E 00 E0 */ lwz r3, 0xe0(r30) -/* 802C0C34 002BDB94 54 00 10 3A */ slwi r0, r0, 2 -/* 802C0C38 002BDB98 7C 03 02 14 */ add r0, r3, r0 -/* 802C0C3C 002BDB9C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C0C40 002BDBA0 7C 64 1B 78 */ mr r4, r3 -/* 802C0C44 002BDBA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C0C48 002BDBA8 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C0C4C 002BDBAC 90 61 00 08 */ stw r3, 8(r1) -/* 802C0C50 002BDBB0 48 00 00 08 */ b lbl_802C0C58 -lbl_802C0C54: -/* 802C0C54 002BDBB4 38 84 00 04 */ addi r4, r4, 4 -lbl_802C0C58: -/* 802C0C58 002BDBB8 7C 04 00 40 */ cmplw r4, r0 -/* 802C0C5C 002BDBBC 40 82 FF F8 */ bne lbl_802C0C54 -/* 802C0C60 002BDBC0 28 03 00 00 */ cmplwi r3, 0 -/* 802C0C64 002BDBC4 41 82 00 08 */ beq lbl_802C0C6C -/* 802C0C68 002BDBC8 48 05 4C C9 */ bl Free__7CMemoryFPCv -lbl_802C0C6C: -/* 802C0C6C 002BDBCC 28 1E 00 00 */ cmplwi r30, 0 -/* 802C0C70 002BDBD0 41 82 00 1C */ beq lbl_802C0C8C -/* 802C0C74 002BDBD4 3C 80 80 3F */ lis r4, lbl_803EC7C8@ha -/* 802C0C78 002BDBD8 7F C3 F3 78 */ mr r3, r30 -/* 802C0C7C 002BDBDC 38 04 C7 C8 */ addi r0, r4, lbl_803EC7C8@l -/* 802C0C80 002BDBE0 38 80 00 00 */ li r4, 0 -/* 802C0C84 002BDBE4 90 1E 00 00 */ stw r0, 0(r30) -/* 802C0C88 002BDBE8 48 00 0E A9 */ bl __dt__18CGuiCompoundWidgetFv -lbl_802C0C8C: -/* 802C0C8C 002BDBEC 7F E0 07 35 */ extsh. r0, r31 -/* 802C0C90 002BDBF0 40 81 00 0C */ ble lbl_802C0C9C -/* 802C0C94 002BDBF4 7F C3 F3 78 */ mr r3, r30 -/* 802C0C98 002BDBF8 48 05 4C 99 */ bl Free__7CMemoryFPCv -lbl_802C0C9C: -/* 802C0C9C 002BDBFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C0CA0 002BDC00 7F C3 F3 78 */ mr r3, r30 -/* 802C0CA4 002BDC04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0CA8 002BDC08 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C0CAC 002BDC0C 7C 08 03 A6 */ mtlr r0 -/* 802C0CB0 002BDC10 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C0CB4 002BDC14 4E 80 00 20 */ blr - -.global GetWidgetTypeID__9CAuiMeterCFv -GetWidgetTypeID__9CAuiMeterCFv: -/* 802C0CB8 002BDC18 3C 60 4D 45 */ lis r3, 0x4D455452@ha -/* 802C0CBC 002BDC1C 38 63 54 52 */ addi r3, r3, 0x4D455452@l -/* 802C0CC0 002BDC20 4E 80 00 20 */ blr - -.global Initialize__10CGuiWidgetFv -Initialize__10CGuiWidgetFv: -/* 802C0CC4 002BDC24 4E 80 00 20 */ blr - -.global Touch__10CGuiWidgetCFv -Touch__10CGuiWidgetCFv: -/* 802C0CC8 002BDC28 4E 80 00 20 */ blr - -.global GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv -GetIsFinishedLoadingWidgetSpecific__10CGuiWidgetCFv: -/* 802C0CCC 002BDC2C 38 60 00 01 */ li r3, 1 -/* 802C0CD0 002BDC30 4E 80 00 20 */ blr - -.global UpdateMeterWorkers__9CAuiMeterFv -UpdateMeterWorkers__9CAuiMeterFv: -/* 802C0CD4 002BDC34 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C0CD8 002BDC38 7C 08 02 A6 */ mflr r0 -/* 802C0CDC 002BDC3C C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2) -/* 802C0CE0 002BDC40 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C0CE4 002BDC44 BF 01 00 60 */ stmw r24, 0x60(r1) -/* 802C0CE8 002BDC48 7C 7E 1B 78 */ mr r30, r3 -/* 802C0CEC 002BDC4C 3C 60 43 30 */ lis r3, 0x4330 -/* 802C0CF0 002BDC50 90 61 00 08 */ stw r3, 8(r1) -/* 802C0CF4 002BDC54 90 61 00 10 */ stw r3, 0x10(r1) -/* 802C0CF8 002BDC58 83 FE 00 D8 */ lwz r31, 0xd8(r30) -/* 802C0CFC 002BDC5C 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 802C0D00 002BDC60 6F E4 80 00 */ xoris r4, r31, 0x8000 -/* 802C0D04 002BDC64 88 BE 00 C4 */ lbz r5, 0xc4(r30) -/* 802C0D08 002BDC68 90 81 00 0C */ stw r4, 0xc(r1) -/* 802C0D0C 002BDC6C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802C0D10 002BDC70 28 05 00 00 */ cmplwi r5, 0 -/* 802C0D14 002BDC74 C8 01 00 08 */ lfd f0, 8(r1) -/* 802C0D18 002BDC78 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C0D1C 002BDC7C EC 20 10 28 */ fsubs f1, f0, f2 -/* 802C0D20 002BDC80 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802C0D24 002BDC84 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802C0D28 002BDC88 EC 61 00 24 */ fdivs f3, f1, f0 -/* 802C0D2C 002BDC8C 41 82 00 30 */ beq lbl_802C0D5C -/* 802C0D30 002BDC90 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 802C0D34 002BDC94 90 61 00 18 */ stw r3, 0x18(r1) -/* 802C0D38 002BDC98 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802C0D3C 002BDC9C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C0D40 002BDCA0 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802C0D44 002BDCA4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802C0D48 002BDCA8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802C0D4C 002BDCAC FC 00 00 1E */ fctiwz f0, f0 -/* 802C0D50 002BDCB0 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 802C0D54 002BDCB4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C0D58 002BDCB8 48 00 00 30 */ b lbl_802C0D88 -lbl_802C0D5C: -/* 802C0D5C 002BDCBC 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 802C0D60 002BDCC0 90 61 00 28 */ stw r3, 0x28(r1) -/* 802C0D64 002BDCC4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802C0D68 002BDCC8 C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2) -/* 802C0D6C 002BDCCC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802C0D70 002BDCD0 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802C0D74 002BDCD4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802C0D78 002BDCD8 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 802C0D7C 002BDCDC FC 00 00 1E */ fctiwz f0, f0 -/* 802C0D80 002BDCE0 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 802C0D84 002BDCE4 83 A1 00 34 */ lwz r29, 0x34(r1) -lbl_802C0D88: -/* 802C0D88 002BDCE8 28 05 00 00 */ cmplwi r5, 0 -/* 802C0D8C 002BDCEC 41 82 00 38 */ beq lbl_802C0DC4 -/* 802C0D90 002BDCF0 80 7E 00 D0 */ lwz r3, 0xd0(r30) -/* 802C0D94 002BDCF4 3C 00 43 30 */ lis r0, 0x4330 -/* 802C0D98 002BDCF8 90 01 00 38 */ stw r0, 0x38(r1) -/* 802C0D9C 002BDCFC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802C0DA0 002BDD00 C8 22 C3 68 */ lfd f1, lbl_805AE088@sda21(r2) -/* 802C0DA4 002BDD04 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802C0DA8 002BDD08 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802C0DAC 002BDD0C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C0DB0 002BDD10 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802C0DB4 002BDD14 FC 00 00 1E */ fctiwz f0, f0 -/* 802C0DB8 002BDD18 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 802C0DBC 002BDD1C 83 81 00 44 */ lwz r28, 0x44(r1) -/* 802C0DC0 002BDD20 48 00 00 38 */ b lbl_802C0DF8 -lbl_802C0DC4: -/* 802C0DC4 002BDD24 80 7E 00 D0 */ lwz r3, 0xd0(r30) -/* 802C0DC8 002BDD28 3C 00 43 30 */ lis r0, 0x4330 -/* 802C0DCC 002BDD2C 90 01 00 48 */ stw r0, 0x48(r1) -/* 802C0DD0 002BDD30 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802C0DD4 002BDD34 C8 42 C3 68 */ lfd f2, lbl_805AE088@sda21(r2) -/* 802C0DD8 002BDD38 90 01 00 4C */ stw r0, 0x4c(r1) -/* 802C0DDC 002BDD3C C0 02 C3 60 */ lfs f0, lbl_805AE080@sda21(r2) -/* 802C0DE0 002BDD40 C8 21 00 48 */ lfd f1, 0x48(r1) -/* 802C0DE4 002BDD44 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802C0DE8 002BDD48 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 802C0DEC 002BDD4C FC 00 00 1E */ fctiwz f0, f0 -/* 802C0DF0 002BDD50 D8 01 00 50 */ stfd f0, 0x50(r1) -/* 802C0DF4 002BDD54 83 81 00 54 */ lwz r28, 0x54(r1) -lbl_802C0DF8: -/* 802C0DF8 002BDD58 3B 00 00 00 */ li r24, 0 -/* 802C0DFC 002BDD5C 3B 20 00 00 */ li r25, 0 -/* 802C0E00 002BDD60 48 00 00 E4 */ b lbl_802C0EE4 -lbl_802C0E04: -/* 802C0E04 002BDD64 80 7E 00 E0 */ lwz r3, 0xe0(r30) -/* 802C0E08 002BDD68 7F 43 C8 2E */ lwzx r26, r3, r25 -/* 802C0E0C 002BDD6C 28 1A 00 00 */ cmplwi r26, 0 -/* 802C0E10 002BDD70 41 82 00 CC */ beq lbl_802C0EDC -/* 802C0E14 002BDD74 7F 43 D3 78 */ mr r3, r26 -/* 802C0E18 002BDD78 38 80 00 00 */ li r4, 0 -/* 802C0E1C 002BDD7C 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C0E20 002BDD80 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C0E24 002BDD84 7D 89 03 A6 */ mtctr r12 -/* 802C0E28 002BDD88 4E 80 04 21 */ bctrl -/* 802C0E2C 002BDD8C 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C0E30 002BDD90 7C 7B 1B 78 */ mr r27, r3 -/* 802C0E34 002BDD94 7F 43 D3 78 */ mr r3, r26 -/* 802C0E38 002BDD98 38 80 00 01 */ li r4, 1 -/* 802C0E3C 002BDD9C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C0E40 002BDDA0 7D 89 03 A6 */ mtctr r12 -/* 802C0E44 002BDDA4 4E 80 04 21 */ bctrl -/* 802C0E48 002BDDA8 7C 18 E0 00 */ cmpw r24, r28 -/* 802C0E4C 002BDDAC 7C 7A 1B 78 */ mr r26, r3 -/* 802C0E50 002BDDB0 40 80 00 30 */ bge lbl_802C0E80 -/* 802C0E54 002BDDB4 28 1B 00 00 */ cmplwi r27, 0 -/* 802C0E58 002BDDB8 41 82 00 10 */ beq lbl_802C0E68 -/* 802C0E5C 002BDDBC 7F 63 DB 78 */ mr r3, r27 -/* 802C0E60 002BDDC0 38 80 00 01 */ li r4, 1 -/* 802C0E64 002BDDC4 48 00 97 C9 */ bl SetIsVisible__10CGuiWidgetFb -lbl_802C0E68: -/* 802C0E68 002BDDC8 28 1A 00 00 */ cmplwi r26, 0 -/* 802C0E6C 002BDDCC 41 82 00 70 */ beq lbl_802C0EDC -/* 802C0E70 002BDDD0 7F 43 D3 78 */ mr r3, r26 -/* 802C0E74 002BDDD4 38 80 00 00 */ li r4, 0 -/* 802C0E78 002BDDD8 48 00 97 B5 */ bl SetIsVisible__10CGuiWidgetFb -/* 802C0E7C 002BDDDC 48 00 00 60 */ b lbl_802C0EDC -lbl_802C0E80: -/* 802C0E80 002BDDE0 7C 18 E8 00 */ cmpw r24, r29 -/* 802C0E84 002BDDE4 40 80 00 30 */ bge lbl_802C0EB4 -/* 802C0E88 002BDDE8 28 1B 00 00 */ cmplwi r27, 0 -/* 802C0E8C 002BDDEC 41 82 00 10 */ beq lbl_802C0E9C -/* 802C0E90 002BDDF0 7F 63 DB 78 */ mr r3, r27 -/* 802C0E94 002BDDF4 38 80 00 00 */ li r4, 0 -/* 802C0E98 002BDDF8 48 00 97 95 */ bl SetIsVisible__10CGuiWidgetFb -lbl_802C0E9C: -/* 802C0E9C 002BDDFC 28 1A 00 00 */ cmplwi r26, 0 -/* 802C0EA0 002BDE00 41 82 00 3C */ beq lbl_802C0EDC -/* 802C0EA4 002BDE04 7F 43 D3 78 */ mr r3, r26 -/* 802C0EA8 002BDE08 38 80 00 01 */ li r4, 1 -/* 802C0EAC 002BDE0C 48 00 97 81 */ bl SetIsVisible__10CGuiWidgetFb -/* 802C0EB0 002BDE10 48 00 00 2C */ b lbl_802C0EDC -lbl_802C0EB4: -/* 802C0EB4 002BDE14 28 1B 00 00 */ cmplwi r27, 0 -/* 802C0EB8 002BDE18 41 82 00 10 */ beq lbl_802C0EC8 -/* 802C0EBC 002BDE1C 7F 63 DB 78 */ mr r3, r27 -/* 802C0EC0 002BDE20 38 80 00 00 */ li r4, 0 -/* 802C0EC4 002BDE24 48 00 97 69 */ bl SetIsVisible__10CGuiWidgetFb -lbl_802C0EC8: -/* 802C0EC8 002BDE28 28 1A 00 00 */ cmplwi r26, 0 -/* 802C0ECC 002BDE2C 41 82 00 10 */ beq lbl_802C0EDC -/* 802C0ED0 002BDE30 7F 43 D3 78 */ mr r3, r26 -/* 802C0ED4 002BDE34 38 80 00 00 */ li r4, 0 -/* 802C0ED8 002BDE38 48 00 97 55 */ bl SetIsVisible__10CGuiWidgetFb -lbl_802C0EDC: -/* 802C0EDC 002BDE3C 3B 39 00 04 */ addi r25, r25, 4 -/* 802C0EE0 002BDE40 3B 18 00 01 */ addi r24, r24, 1 -lbl_802C0EE4: -/* 802C0EE4 002BDE44 7C 18 F8 00 */ cmpw r24, r31 -/* 802C0EE8 002BDE48 41 80 FF 1C */ blt lbl_802C0E04 -/* 802C0EEC 002BDE4C BB 01 00 60 */ lmw r24, 0x60(r1) -/* 802C0EF0 002BDE50 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C0EF4 002BDE54 7C 08 03 A6 */ mtlr r0 -/* 802C0EF8 002BDE58 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C0EFC 002BDE5C 4E 80 00 20 */ blr - -.global OnVisible__9CAuiMeterFv -OnVisible__9CAuiMeterFv: -/* 802C0F00 002BDE60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C0F04 002BDE64 7C 08 02 A6 */ mflr r0 -/* 802C0F08 002BDE68 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C0F0C 002BDE6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C0F10 002BDE70 7C 7F 1B 78 */ mr r31, r3 -/* 802C0F14 002BDE74 81 83 00 00 */ lwz r12, 0(r3) -/* 802C0F18 002BDE78 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C0F1C 002BDE7C 7D 89 03 A6 */ mtctr r12 -/* 802C0F20 002BDE80 4E 80 04 21 */ bctrl -/* 802C0F24 002BDE84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C0F28 002BDE88 41 82 00 0C */ beq lbl_802C0F34 -/* 802C0F2C 002BDE8C 7F E3 FB 78 */ mr r3, r31 -/* 802C0F30 002BDE90 4B FF FD A5 */ bl UpdateMeterWorkers__9CAuiMeterFv -lbl_802C0F34: -/* 802C0F34 002BDE94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C0F38 002BDE98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C0F3C 002BDE9C 7C 08 03 A6 */ mtlr r0 -/* 802C0F40 002BDEA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C0F44 002BDEA4 4E 80 00 20 */ blr - -.global SetRemainder__9CAuiMeteri -SetRemainder__9CAuiMeteri: -/* 802C0F48 002BDEA8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0F4C 002BDEAC 7C 08 02 A6 */ mflr r0 -/* 802C0F50 002BDEB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0F54 002BDEB4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0F58 002BDEB8 7C 7F 1B 78 */ mr r31, r3 -/* 802C0F5C 002BDEBC 38 6D 9A F8 */ addi r3, r13, lbl_805A86B8@sda21 -/* 802C0F60 002BDEC0 90 81 00 08 */ stw r4, 8(r1) -/* 802C0F64 002BDEC4 38 81 00 08 */ addi r4, r1, 8 -/* 802C0F68 002BDEC8 38 BF 00 CC */ addi r5, r31, 0xcc -/* 802C0F6C 002BDECC 4B D9 90 F9 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 802C0F70 002BDED0 80 03 00 00 */ lwz r0, 0(r3) -/* 802C0F74 002BDED4 7F E3 FB 78 */ mr r3, r31 -/* 802C0F78 002BDED8 90 1F 00 D0 */ stw r0, 0xd0(r31) -/* 802C0F7C 002BDEDC 4B FF FD 59 */ bl UpdateMeterWorkers__9CAuiMeterFv -/* 802C0F80 002BDEE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C0F84 002BDEE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0F88 002BDEE8 7C 08 03 A6 */ mtlr r0 -/* 802C0F8C 002BDEEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C0F90 002BDEF0 4E 80 00 20 */ blr - -.global SetCapacity__9CAuiMeterFi -SetCapacity__9CAuiMeterFi: -/* 802C0F94 002BDEF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C0F98 002BDEF8 7C 08 02 A6 */ mflr r0 -/* 802C0F9C 002BDEFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C0FA0 002BDF00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C0FA4 002BDF04 7C 7F 1B 78 */ mr r31, r3 -/* 802C0FA8 002BDF08 38 6D 9A F4 */ addi r3, r13, lbl_805A86B4@sda21 -/* 802C0FAC 002BDF0C 90 81 00 08 */ stw r4, 8(r1) -/* 802C0FB0 002BDF10 38 81 00 08 */ addi r4, r1, 8 -/* 802C0FB4 002BDF14 38 BF 00 C8 */ addi r5, r31, 0xc8 -/* 802C0FB8 002BDF18 4B D9 90 AD */ bl "Clamp__5CMathFRCiRCiRCi" -/* 802C0FBC 002BDF1C 80 03 00 00 */ lwz r0, 0(r3) -/* 802C0FC0 002BDF20 90 1F 00 CC */ stw r0, 0xcc(r31) -/* 802C0FC4 002BDF24 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 802C0FC8 002BDF28 80 1F 00 D0 */ lwz r0, 0xd0(r31) -/* 802C0FCC 002BDF2C 7C 03 00 00 */ cmpw r3, r0 -/* 802C0FD0 002BDF30 40 80 00 0C */ bge lbl_802C0FDC -/* 802C0FD4 002BDF34 38 7F 00 CC */ addi r3, r31, 0xcc -/* 802C0FD8 002BDF38 48 00 00 08 */ b lbl_802C0FE0 -lbl_802C0FDC: -/* 802C0FDC 002BDF3C 38 7F 00 D0 */ addi r3, r31, 0xd0 -lbl_802C0FE0: -/* 802C0FE0 002BDF40 80 03 00 00 */ lwz r0, 0(r3) -/* 802C0FE4 002BDF44 7F E3 FB 78 */ mr r3, r31 -/* 802C0FE8 002BDF48 90 1F 00 D0 */ stw r0, 0xd0(r31) -/* 802C0FEC 002BDF4C 4B FF FC E9 */ bl UpdateMeterWorkers__9CAuiMeterFv -/* 802C0FF0 002BDF50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C0FF4 002BDF54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C0FF8 002BDF58 7C 08 03 A6 */ mtlr r0 -/* 802C0FFC 002BDF5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C1000 002BDF60 4E 80 00 20 */ blr - -.global SetMaxCapacity__9CAuiMeterFi -SetMaxCapacity__9CAuiMeterFi: -/* 802C1004 002BDF64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1008 002BDF68 7C 08 02 A6 */ mflr r0 -/* 802C100C 002BDF6C 38 AD 9A F0 */ addi r5, r13, lbl_805A86B0@sda21 -/* 802C1010 002BDF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1014 002BDF74 80 0D 9A F0 */ lwz r0, lbl_805A86B0@sda21(r13) -/* 802C1018 002BDF78 90 81 00 08 */ stw r4, 8(r1) -/* 802C101C 002BDF7C 7C 00 20 00 */ cmpw r0, r4 -/* 802C1020 002BDF80 40 80 00 08 */ bge lbl_802C1028 -/* 802C1024 002BDF84 38 A1 00 08 */ addi r5, r1, 8 -lbl_802C1028: -/* 802C1028 002BDF88 80 05 00 00 */ lwz r0, 0(r5) -/* 802C102C 002BDF8C 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 802C1030 002BDF90 80 83 00 C8 */ lwz r4, 0xc8(r3) -/* 802C1034 002BDF94 80 03 00 CC */ lwz r0, 0xcc(r3) -/* 802C1038 002BDF98 7C 04 00 00 */ cmpw r4, r0 -/* 802C103C 002BDF9C 40 80 00 0C */ bge lbl_802C1048 -/* 802C1040 002BDFA0 38 83 00 C8 */ addi r4, r3, 0xc8 -/* 802C1044 002BDFA4 48 00 00 08 */ b lbl_802C104C -lbl_802C1048: -/* 802C1048 002BDFA8 38 83 00 CC */ addi r4, r3, 0xcc -lbl_802C104C: -/* 802C104C 002BDFAC 80 04 00 00 */ lwz r0, 0(r4) -/* 802C1050 002BDFB0 90 03 00 CC */ stw r0, 0xcc(r3) -/* 802C1054 002BDFB4 80 83 00 CC */ lwz r4, 0xcc(r3) -/* 802C1058 002BDFB8 80 03 00 D0 */ lwz r0, 0xd0(r3) -/* 802C105C 002BDFBC 7C 04 00 00 */ cmpw r4, r0 -/* 802C1060 002BDFC0 40 80 00 0C */ bge lbl_802C106C -/* 802C1064 002BDFC4 38 83 00 CC */ addi r4, r3, 0xcc -/* 802C1068 002BDFC8 48 00 00 08 */ b lbl_802C1070 -lbl_802C106C: -/* 802C106C 002BDFCC 38 83 00 D0 */ addi r4, r3, 0xd0 -lbl_802C1070: -/* 802C1070 002BDFD0 80 04 00 00 */ lwz r0, 0(r4) -/* 802C1074 002BDFD4 90 03 00 D0 */ stw r0, 0xd0(r3) -/* 802C1078 002BDFD8 4B FF FC 5D */ bl UpdateMeterWorkers__9CAuiMeterFv -/* 802C107C 002BDFDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1080 002BDFE0 7C 08 03 A6 */ mtlr r0 -/* 802C1084 002BDFE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1088 002BDFE8 4E 80 00 20 */ blr - -.global GetWorkerWidget__9CAuiMeterFi -GetWorkerWidget__9CAuiMeterFi: -/* 802C108C 002BDFEC 80 63 00 E0 */ lwz r3, 0xe0(r3) -/* 802C1090 002BDFF0 54 80 10 3A */ slwi r0, r4, 2 -/* 802C1094 002BDFF4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802C1098 002BDFF8 4E 80 00 20 */ blr - -.global AddWorkerWidget__9CAuiMeterFP10CGuiWidget -AddWorkerWidget__9CAuiMeterFP10CGuiWidget: -/* 802C109C 002BDFFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C10A0 002BE000 7C 08 02 A6 */ mflr r0 -/* 802C10A4 002BE004 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C10A8 002BE008 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802C10AC 002BE00C 7C 7B 1B 78 */ mr r27, r3 -/* 802C10B0 002BE010 7C 9C 23 78 */ mr r28, r4 -/* 802C10B4 002BE014 48 00 23 39 */ bl AddWorkerWidget__9CGuiGroupFP10CGuiWidget -/* 802C10B8 002BE018 AB DC 00 B4 */ lha r30, 0xb4(r28) -/* 802C10BC 002BE01C 80 1B 00 D8 */ lwz r0, 0xd8(r27) -/* 802C10C0 002BE020 7C 1E 00 00 */ cmpw r30, r0 -/* 802C10C4 002BE024 41 80 00 68 */ blt lbl_802C112C -/* 802C10C8 002BE028 7C 1D 03 78 */ mr r29, r0 -/* 802C10CC 002BE02C 3B E0 00 00 */ li r31, 0 -/* 802C10D0 002BE030 48 00 00 54 */ b lbl_802C1124 -lbl_802C10D4: -/* 802C10D4 002BE034 80 1B 00 D8 */ lwz r0, 0xd8(r27) -/* 802C10D8 002BE038 80 BB 00 DC */ lwz r5, 0xdc(r27) -/* 802C10DC 002BE03C 7C 00 28 00 */ cmpw r0, r5 -/* 802C10E0 002BE040 41 80 00 1C */ blt lbl_802C10FC -/* 802C10E4 002BE044 2C 05 00 00 */ cmpwi r5, 0 -/* 802C10E8 002BE048 38 7B 00 D4 */ addi r3, r27, 0xd4 -/* 802C10EC 002BE04C 38 80 00 04 */ li r4, 4 -/* 802C10F0 002BE050 41 82 00 08 */ beq lbl_802C10F8 -/* 802C10F4 002BE054 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802C10F8: -/* 802C10F8 002BE058 48 00 02 61 */ bl "reserve__Q24rstl46vectorFi" -lbl_802C10FC: -/* 802C10FC 002BE05C 80 1B 00 D8 */ lwz r0, 0xd8(r27) -/* 802C1100 002BE060 80 7B 00 E0 */ lwz r3, 0xe0(r27) -/* 802C1104 002BE064 54 00 10 3A */ slwi r0, r0, 2 -/* 802C1108 002BE068 7C 63 02 15 */ add. r3, r3, r0 -/* 802C110C 002BE06C 41 82 00 08 */ beq lbl_802C1114 -/* 802C1110 002BE070 93 E3 00 00 */ stw r31, 0(r3) -lbl_802C1114: -/* 802C1114 002BE074 80 7B 00 D8 */ lwz r3, 0xd8(r27) -/* 802C1118 002BE078 3B BD 00 01 */ addi r29, r29, 1 -/* 802C111C 002BE07C 38 03 00 01 */ addi r0, r3, 1 -/* 802C1120 002BE080 90 1B 00 D8 */ stw r0, 0xd8(r27) -lbl_802C1124: -/* 802C1124 002BE084 7C 1D F0 00 */ cmpw r29, r30 -/* 802C1128 002BE088 40 81 FF AC */ ble lbl_802C10D4 -lbl_802C112C: -/* 802C112C 002BE08C 80 9B 00 E0 */ lwz r4, 0xe0(r27) -/* 802C1130 002BE090 57 C0 10 3A */ slwi r0, r30, 2 -/* 802C1134 002BE094 38 60 00 01 */ li r3, 1 -/* 802C1138 002BE098 7F 84 01 2E */ stwx r28, r4, r0 -/* 802C113C 002BE09C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802C1140 002BE0A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C1144 002BE0A4 7C 08 03 A6 */ mtlr r0 -/* 802C1148 002BE0A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C114C 002BE0AC 4E 80 00 20 */ blr - -.global __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii -__ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii: -/* 802C1150 002BE0B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C1154 002BE0B4 7C 08 02 A6 */ mflr r0 -/* 802C1158 002BE0B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C115C 002BE0BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C1160 002BE0C0 7C FF 3B 78 */ mr r31, r7 -/* 802C1164 002BE0C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C1168 002BE0C8 7C DE 33 78 */ mr r30, r6 -/* 802C116C 002BE0CC 38 C0 00 00 */ li r6, 0 -/* 802C1170 002BE0D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C1174 002BE0D4 7C BD 2B 78 */ mr r29, r5 -/* 802C1178 002BE0D8 38 A0 00 00 */ li r5, 0 -/* 802C117C 002BE0DC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C1180 002BE0E0 7C 7C 1B 78 */ mr r28, r3 -/* 802C1184 002BE0E4 48 00 22 D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib -/* 802C1188 002BE0E8 3C 60 80 3F */ lis r3, lbl_803EC6F8@ha -/* 802C118C 002BE0EC 38 00 00 00 */ li r0, 0 -/* 802C1190 002BE0F0 38 63 C6 F8 */ addi r3, r3, lbl_803EC6F8@l -/* 802C1194 002BE0F4 7F E4 FB 78 */ mr r4, r31 -/* 802C1198 002BE0F8 90 7C 00 00 */ stw r3, 0(r28) -/* 802C119C 002BE0FC 38 7C 00 D4 */ addi r3, r28, 0xd4 -/* 802C11A0 002BE100 9B BC 00 C4 */ stb r29, 0xc4(r28) -/* 802C11A4 002BE104 93 DC 00 C8 */ stw r30, 0xc8(r28) -/* 802C11A8 002BE108 80 BC 00 C8 */ lwz r5, 0xc8(r28) -/* 802C11AC 002BE10C 90 BC 00 CC */ stw r5, 0xcc(r28) -/* 802C11B0 002BE110 90 1C 00 D0 */ stw r0, 0xd0(r28) -/* 802C11B4 002BE114 90 1C 00 D8 */ stw r0, 0xd8(r28) -/* 802C11B8 002BE118 90 1C 00 DC */ stw r0, 0xdc(r28) -/* 802C11BC 002BE11C 90 1C 00 E0 */ stw r0, 0xe0(r28) -/* 802C11C0 002BE120 48 00 01 99 */ bl "reserve__Q24rstl46vectorFi" -/* 802C11C4 002BE124 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C11C8 002BE128 7F 83 E3 78 */ mr r3, r28 -/* 802C11CC 002BE12C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C11D0 002BE130 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C11D4 002BE134 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C11D8 002BE138 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C11DC 002BE13C 7C 08 03 A6 */ mtlr r0 -/* 802C11E0 002BE140 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C11E4 002BE144 4E 80 00 20 */ blr - -.global __dt__9CGuiGroupFv -__dt__9CGuiGroupFv: -/* 802C11E8 002BE148 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C11EC 002BE14C 7C 08 02 A6 */ mflr r0 -/* 802C11F0 002BE150 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C11F4 002BE154 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C11F8 002BE158 7C 9F 23 78 */ mr r31, r4 -/* 802C11FC 002BE15C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1200 002BE160 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C1204 002BE164 41 82 00 28 */ beq lbl_802C122C -/* 802C1208 002BE168 3C A0 80 3F */ lis r5, lbl_803EC7C8@ha -/* 802C120C 002BE16C 38 80 00 00 */ li r4, 0 -/* 802C1210 002BE170 38 05 C7 C8 */ addi r0, r5, lbl_803EC7C8@l -/* 802C1214 002BE174 90 1E 00 00 */ stw r0, 0(r30) -/* 802C1218 002BE178 48 00 09 19 */ bl __dt__18CGuiCompoundWidgetFv -/* 802C121C 002BE17C 7F E0 07 35 */ extsh. r0, r31 -/* 802C1220 002BE180 40 81 00 0C */ ble lbl_802C122C -/* 802C1224 002BE184 7F C3 F3 78 */ mr r3, r30 -/* 802C1228 002BE188 48 05 47 09 */ bl Free__7CMemoryFPCv -lbl_802C122C: -/* 802C122C 002BE18C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1230 002BE190 7F C3 F3 78 */ mr r3, r30 -/* 802C1234 002BE194 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1238 002BE198 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C123C 002BE19C 7C 08 03 A6 */ mtlr r0 -/* 802C1240 002BE1A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1244 002BE1A4 4E 80 00 20 */ blr - -.global Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb -Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb: -/* 802C1248 002BE1A8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C124C 002BE1AC 7C 08 02 A6 */ mflr r0 -/* 802C1250 002BE1B0 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C1254 002BE1B4 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 802C1258 002BE1B8 7C 7E 1B 78 */ mr r30, r3 -/* 802C125C 002BE1BC 7C 9F 23 78 */ mr r31, r4 -/* 802C1260 002BE1C0 38 61 00 08 */ addi r3, r1, 8 -/* 802C1264 002BE1C4 7F C4 F3 78 */ mr r4, r30 -/* 802C1268 002BE1C8 7F E5 FB 78 */ mr r5, r31 -/* 802C126C 002BE1CC 48 00 9A E5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C1270 002BE1D0 83 A1 00 08 */ lwz r29, 8(r1) -/* 802C1274 002BE1D4 7F E3 FB 78 */ mr r3, r31 -/* 802C1278 002BE1D8 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C127C 002BE1DC A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C1280 002BE1E0 A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C1284 002BE1E4 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C1288 002BE1E8 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C128C 002BE1EC 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C1290 002BE1F0 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C1294 002BE1F4 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C1298 002BE1F8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C129C 002BE1FC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C12A0 002BE200 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C12A4 002BE204 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C12A8 002BE208 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C12AC 002BE20C B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C12B0 002BE210 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C12B4 002BE214 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C12B8 002BE218 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C12BC 002BE21C 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C12C0 002BE220 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C12C4 002BE224 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C12C8 002BE228 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C12CC 002BE22C 48 07 DA 11 */ bl ReadBool__12CInputStreamFv -/* 802C12D0 002BE230 7F E3 FB 78 */ mr r3, r31 -/* 802C12D4 002BE234 48 07 DA 09 */ bl ReadBool__12CInputStreamFv -/* 802C12D8 002BE238 7C 60 1B 78 */ mr r0, r3 -/* 802C12DC 002BE23C 7F E3 FB 78 */ mr r3, r31 -/* 802C12E0 002BE240 7C 1A 03 78 */ mr r26, r0 -/* 802C12E4 002BE244 48 07 D9 A1 */ bl ReadLong__12CInputStreamFv -/* 802C12E8 002BE248 7C 7D 1B 78 */ mr r29, r3 -/* 802C12EC 002BE24C 7F E3 FB 78 */ mr r3, r31 -/* 802C12F0 002BE250 48 07 D9 95 */ bl ReadLong__12CInputStreamFv -/* 802C12F4 002BE254 3C 80 80 3D */ lis r4, lbl_803D6878@ha -/* 802C12F8 002BE258 7C 7C 1B 78 */ mr r28, r3 -/* 802C12FC 002BE25C 38 84 68 78 */ addi r4, r4, lbl_803D6878@l -/* 802C1300 002BE260 38 60 00 E4 */ li r3, 0xe4 -/* 802C1304 002BE264 38 A0 00 00 */ li r5, 0 -/* 802C1308 002BE268 48 05 45 65 */ bl __nw__FUlPCcPCc -/* 802C130C 002BE26C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802C1310 002BE270 41 82 00 1C */ beq lbl_802C132C -/* 802C1314 002BE274 7F 45 D3 78 */ mr r5, r26 -/* 802C1318 002BE278 7F A6 EB 78 */ mr r6, r29 -/* 802C131C 002BE27C 7F 87 E3 78 */ mr r7, r28 -/* 802C1320 002BE280 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C1324 002BE284 4B FF FE 2D */ bl __ct__9CAuiMeterFRCQ210CGuiWidget15CGuiWidgetParmsbii -/* 802C1328 002BE288 7C 7B 1B 78 */ mr r27, r3 -lbl_802C132C: -/* 802C132C 002BE28C 7F 63 DB 78 */ mr r3, r27 -/* 802C1330 002BE290 7F C4 F3 78 */ mr r4, r30 -/* 802C1334 002BE294 7F E5 FB 78 */ mr r5, r31 -/* 802C1338 002BE298 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C133C 002BE29C 48 00 97 4D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C1340 002BE2A0 7F 63 DB 78 */ mr r3, r27 -/* 802C1344 002BE2A4 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 802C1348 002BE2A8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C134C 002BE2AC 7C 08 03 A6 */ mtlr r0 -/* 802C1350 002BE2B0 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C1354 002BE2B4 4E 80 00 20 */ blr - -.global "reserve__Q24rstl46vectorFi" -"reserve__Q24rstl46vectorFi": -/* 802C1358 002BE2B8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C135C 002BE2BC 7C 08 02 A6 */ mflr r0 -/* 802C1360 002BE2C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C1364 002BE2C4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C1368 002BE2C8 7C 9F 23 78 */ mr r31, r4 -/* 802C136C 002BE2CC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C1370 002BE2D0 7C 7E 1B 78 */ mr r30, r3 -/* 802C1374 002BE2D4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C1378 002BE2D8 80 03 00 08 */ lwz r0, 8(r3) -/* 802C137C 002BE2DC 7C 1F 00 00 */ cmpw r31, r0 -/* 802C1380 002BE2E0 40 81 00 A8 */ ble lbl_802C1428 -/* 802C1384 002BE2E4 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 802C1388 002BE2E8 40 82 00 0C */ bne lbl_802C1394 -/* 802C138C 002BE2EC 3B A0 00 00 */ li r29, 0 -/* 802C1390 002BE2F0 48 00 00 18 */ b lbl_802C13A8 -lbl_802C1394: -/* 802C1394 002BE2F4 3C 80 80 3D */ lis r4, lbl_803D6878@ha -/* 802C1398 002BE2F8 38 A0 00 00 */ li r5, 0 -/* 802C139C 002BE2FC 38 84 68 78 */ addi r4, r4, lbl_803D6878@l -/* 802C13A0 002BE300 48 05 44 79 */ bl __nwa__FUlPCcPCc -/* 802C13A4 002BE304 7C 7D 1B 78 */ mr r29, r3 -lbl_802C13A8: -/* 802C13A8 002BE308 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C13AC 002BE30C 7F A4 EB 78 */ mr r4, r29 -/* 802C13B0 002BE310 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C13B4 002BE314 54 00 10 3A */ slwi r0, r0, 2 -/* 802C13B8 002BE318 7C 65 02 14 */ add r3, r5, r0 -/* 802C13BC 002BE31C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802C13C0 002BE320 90 61 00 08 */ stw r3, 8(r1) -/* 802C13C4 002BE324 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C13C8 002BE328 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802C13CC 002BE32C 48 00 00 1C */ b lbl_802C13E8 -lbl_802C13D0: -/* 802C13D0 002BE330 28 04 00 00 */ cmplwi r4, 0 -/* 802C13D4 002BE334 41 82 00 0C */ beq lbl_802C13E0 -/* 802C13D8 002BE338 80 05 00 00 */ lwz r0, 0(r5) -/* 802C13DC 002BE33C 90 04 00 00 */ stw r0, 0(r4) -lbl_802C13E0: -/* 802C13E0 002BE340 38 84 00 04 */ addi r4, r4, 4 -/* 802C13E4 002BE344 38 A5 00 04 */ addi r5, r5, 4 -lbl_802C13E8: -/* 802C13E8 002BE348 7C 05 18 40 */ cmplw r5, r3 -/* 802C13EC 002BE34C 40 82 FF E4 */ bne lbl_802C13D0 -/* 802C13F0 002BE350 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C13F4 002BE354 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C13F8 002BE358 54 00 10 3A */ slwi r0, r0, 2 -/* 802C13FC 002BE35C 7C 64 1B 78 */ mr r4, r3 -/* 802C1400 002BE360 7C 03 02 14 */ add r0, r3, r0 -/* 802C1404 002BE364 48 00 00 08 */ b lbl_802C140C -lbl_802C1408: -/* 802C1408 002BE368 38 84 00 04 */ addi r4, r4, 4 -lbl_802C140C: -/* 802C140C 002BE36C 7C 04 00 40 */ cmplw r4, r0 -/* 802C1410 002BE370 40 82 FF F8 */ bne lbl_802C1408 -/* 802C1414 002BE374 28 03 00 00 */ cmplwi r3, 0 -/* 802C1418 002BE378 41 82 00 08 */ beq lbl_802C1420 -/* 802C141C 002BE37C 48 05 45 15 */ bl Free__7CMemoryFPCv -lbl_802C1420: -/* 802C1420 002BE380 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802C1424 002BE384 93 FE 00 08 */ stw r31, 8(r30) -lbl_802C1428: -/* 802C1428 002BE388 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C142C 002BE38C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C1430 002BE390 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C1434 002BE394 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C1438 002BE398 7C 08 03 A6 */ mtlr r0 -/* 802C143C 002BE39C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C1440 002BE3A0 4E 80 00 20 */ blr - -.global __dt__10CGuiCameraFv -__dt__10CGuiCameraFv: -/* 802C1444 002BE3A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1448 002BE3A8 7C 08 02 A6 */ mflr r0 -/* 802C144C 002BE3AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1450 002BE3B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1454 002BE3B4 7C 9F 23 78 */ mr r31, r4 -/* 802C1458 002BE3B8 93 C1 00 08 */ stw r30, 8(r1) -/* 802C145C 002BE3BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C1460 002BE3C0 41 82 00 28 */ beq lbl_802C1488 -/* 802C1464 002BE3C4 3C A0 80 3F */ lis r5, lbl_803EC738@ha -/* 802C1468 002BE3C8 38 80 00 00 */ li r4, 0 -/* 802C146C 002BE3CC 38 05 C7 38 */ addi r0, r5, lbl_803EC738@l -/* 802C1470 002BE3D0 90 1E 00 00 */ stw r0, 0(r30) -/* 802C1474 002BE3D4 48 00 97 41 */ bl __dt__10CGuiWidgetFv -/* 802C1478 002BE3D8 7F E0 07 35 */ extsh. r0, r31 -/* 802C147C 002BE3DC 40 81 00 0C */ ble lbl_802C1488 -/* 802C1480 002BE3E0 7F C3 F3 78 */ mr r3, r30 -/* 802C1484 002BE3E4 48 05 44 AD */ bl Free__7CMemoryFPCv -lbl_802C1488: -/* 802C1488 002BE3E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C148C 002BE3EC 7F C3 F3 78 */ mr r3, r30 -/* 802C1490 002BE3F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1494 002BE3F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C1498 002BE3F8 7C 08 03 A6 */ mtlr r0 -/* 802C149C 002BE3FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C14A0 002BE400 4E 80 00 20 */ blr - -.global GetWidgetTypeID__10CGuiCameraCFv -GetWidgetTypeID__10CGuiCameraCFv: -/* 802C14A4 002BE404 3C 60 43 41 */ lis r3, 0x43414D52@ha -/* 802C14A8 002BE408 38 63 4D 52 */ addi r3, r3, 0x43414D52@l -/* 802C14AC 002BE40C 4E 80 00 20 */ blr - -.global AddWorkerWidget__10CGuiWidgetFP10CGuiWidget -AddWorkerWidget__10CGuiWidgetFP10CGuiWidget: -/* 802C14B0 002BE410 38 60 00 00 */ li r3, 0 -/* 802C14B4 002BE414 4E 80 00 20 */ blr - -.global ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f -ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f: -/* 802C14B8 002BE418 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802C14BC 002BE41C 7C 08 02 A6 */ mflr r0 -/* 802C14C0 002BE420 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802C14C4 002BE424 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802C14C8 002BE428 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802C14CC 002BE42C DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802C14D0 002BE430 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 802C14D4 002BE434 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802C14D8 002BE438 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802C14DC 002BE43C 7C 7E 1B 78 */ mr r30, r3 -/* 802C14E0 002BE440 7C 9F 23 78 */ mr r31, r4 -/* 802C14E4 002BE444 38 61 00 08 */ addi r3, r1, 8 -/* 802C14E8 002BE448 48 00 3B 89 */ bl RotateTranslateW2O__10CGuiObjectCFRC9CVector3f -/* 802C14EC 002BE44C C0 61 00 08 */ lfs f3, 8(r1) -/* 802C14F0 002BE450 38 00 00 00 */ li r0, 0 -/* 802C14F4 002BE454 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) -/* 802C14F8 002BE458 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802C14FC 002BE45C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802C1500 002BE460 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 802C1504 002BE464 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802C1508 002BE468 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802C150C 002BE46C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802C1510 002BE470 40 82 00 14 */ bne lbl_802C1524 -/* 802C1514 002BE474 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802C1518 002BE478 40 82 00 0C */ bne lbl_802C1524 -/* 802C151C 002BE47C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802C1520 002BE480 41 82 00 08 */ beq lbl_802C1528 -lbl_802C1524: -/* 802C1524 002BE484 38 00 00 01 */ li r0, 1 -lbl_802C1528: -/* 802C1528 002BE488 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C152C 002BE48C 41 82 00 B0 */ beq lbl_802C15DC -/* 802C1530 002BE490 C0 3F 00 BC */ lfs f1, 0xbc(r31) -/* 802C1534 002BE494 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C1538 002BE498 C0 5F 00 C0 */ lfs f2, 0xc0(r31) -/* 802C153C 002BE49C C0 7F 00 C4 */ lfs f3, 0xc4(r31) -/* 802C1540 002BE4A0 C0 9F 00 C8 */ lfs f4, 0xc8(r31) -/* 802C1544 002BE4A4 48 04 AC 45 */ bl CalculatePerspectiveMatrix__9CGraphicsFffff -/* 802C1548 002BE4A8 C3 C1 00 20 */ lfs f30, 0x20(r1) -/* 802C154C 002BE4AC 7F C3 F3 78 */ mr r3, r30 -/* 802C1550 002BE4B0 C3 E1 00 24 */ lfs f31, 0x24(r1) -/* 802C1554 002BE4B4 38 81 00 60 */ addi r4, r1, 0x60 -/* 802C1558 002BE4B8 C1 A1 00 28 */ lfs f13, 0x28(r1) -/* 802C155C 002BE4BC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C1560 002BE4C0 C1 81 00 2C */ lfs f12, 0x2c(r1) -/* 802C1564 002BE4C4 C1 61 00 30 */ lfs f11, 0x30(r1) -/* 802C1568 002BE4C8 C1 41 00 34 */ lfs f10, 0x34(r1) -/* 802C156C 002BE4CC C1 21 00 38 */ lfs f9, 0x38(r1) -/* 802C1570 002BE4D0 C1 01 00 3C */ lfs f8, 0x3c(r1) -/* 802C1574 002BE4D4 C0 E1 00 40 */ lfs f7, 0x40(r1) -/* 802C1578 002BE4D8 C0 C1 00 44 */ lfs f6, 0x44(r1) -/* 802C157C 002BE4DC C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 802C1580 002BE4E0 C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 802C1584 002BE4E4 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 802C1588 002BE4E8 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 802C158C 002BE4EC C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802C1590 002BE4F0 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802C1594 002BE4F4 D3 C1 00 60 */ stfs f30, 0x60(r1) -/* 802C1598 002BE4F8 D3 E1 00 64 */ stfs f31, 0x64(r1) -/* 802C159C 002BE4FC D1 A1 00 68 */ stfs f13, 0x68(r1) -/* 802C15A0 002BE500 D1 81 00 6C */ stfs f12, 0x6c(r1) -/* 802C15A4 002BE504 D1 61 00 70 */ stfs f11, 0x70(r1) -/* 802C15A8 002BE508 D1 41 00 74 */ stfs f10, 0x74(r1) -/* 802C15AC 002BE50C D1 21 00 78 */ stfs f9, 0x78(r1) -/* 802C15B0 002BE510 D1 01 00 7C */ stfs f8, 0x7c(r1) -/* 802C15B4 002BE514 D0 E1 00 80 */ stfs f7, 0x80(r1) -/* 802C15B8 002BE518 D0 C1 00 84 */ stfs f6, 0x84(r1) -/* 802C15BC 002BE51C D0 A1 00 88 */ stfs f5, 0x88(r1) -/* 802C15C0 002BE520 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 802C15C4 002BE524 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 802C15C8 002BE528 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 802C15CC 002BE52C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 802C15D0 002BE530 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 802C15D4 002BE534 48 04 F1 7D */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 802C15D8 002BE538 48 00 00 18 */ b lbl_802C15F0 -lbl_802C15DC: -/* 802C15DC 002BE53C C0 22 C3 74 */ lfs f1, lbl_805AE094@sda21(r2) -/* 802C15E0 002BE540 C0 02 C3 78 */ lfs f0, lbl_805AE098@sda21(r2) -/* 802C15E4 002BE544 D0 3E 00 00 */ stfs f1, 0(r30) -/* 802C15E8 002BE548 D0 3E 00 04 */ stfs f1, 4(r30) -/* 802C15EC 002BE54C D0 1E 00 08 */ stfs f0, 8(r30) -lbl_802C15F0: -/* 802C15F0 002BE550 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802C15F4 002BE554 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802C15F8 002BE558 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 802C15FC 002BE55C CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802C1600 002BE560 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802C1604 002BE564 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802C1608 002BE568 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 802C160C 002BE56C 7C 08 03 A6 */ mtlr r0 -/* 802C1610 002BE570 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802C1614 002BE574 4E 80 00 20 */ blr - -.global Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms -Draw__10CGuiCameraCFRC19CGuiWidgetDrawParms: -/* 802C1618 002BE578 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802C161C 002BE57C 7C 08 02 A6 */ mflr r0 -/* 802C1620 002BE580 90 01 00 74 */ stw r0, 0x74(r1) -/* 802C1624 002BE584 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802C1628 002BE588 7C 9F 23 78 */ mr r31, r4 -/* 802C162C 002BE58C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802C1630 002BE590 7C 7E 1B 78 */ mr r30, r3 -/* 802C1634 002BE594 80 03 00 B8 */ lwz r0, 0xb8(r3) -/* 802C1638 002BE598 2C 00 00 00 */ cmpwi r0, 0 -/* 802C163C 002BE59C 40 82 00 1C */ bne lbl_802C1658 -/* 802C1640 002BE5A0 C0 3E 00 BC */ lfs f1, 0xbc(r30) -/* 802C1644 002BE5A4 C0 5E 00 C0 */ lfs f2, 0xc0(r30) -/* 802C1648 002BE5A8 C0 7E 00 C4 */ lfs f3, 0xc4(r30) -/* 802C164C 002BE5AC C0 9E 00 C8 */ lfs f4, 0xc8(r30) -/* 802C1650 002BE5B0 48 04 AE 41 */ bl SetPerspective__9CGraphicsFffff -/* 802C1654 002BE5B4 48 00 00 20 */ b lbl_802C1674 -lbl_802C1658: -/* 802C1658 002BE5B8 C0 3E 00 BC */ lfs f1, 0xbc(r30) -/* 802C165C 002BE5BC C0 5E 00 C0 */ lfs f2, 0xc0(r30) -/* 802C1660 002BE5C0 C0 7E 00 C4 */ lfs f3, 0xc4(r30) -/* 802C1664 002BE5C4 C0 9E 00 C8 */ lfs f4, 0xc8(r30) -/* 802C1668 002BE5C8 C0 BE 00 CC */ lfs f5, 0xcc(r30) -/* 802C166C 002BE5CC C0 DE 00 D0 */ lfs f6, 0xd0(r30) -/* 802C1670 002BE5D0 48 04 AE E5 */ bl SetOrtho__9CGraphicsFffffff -lbl_802C1674: -/* 802C1674 002BE5D4 38 61 00 08 */ addi r3, r1, 8 -/* 802C1678 002BE5D8 38 9F 00 04 */ addi r4, r31, 4 -/* 802C167C 002BE5DC 48 05 1A C5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802C1680 002BE5E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C1684 002BE5E4 38 81 00 08 */ addi r4, r1, 8 -/* 802C1688 002BE5E8 38 BE 00 34 */ addi r5, r30, 0x34 -/* 802C168C 002BE5EC 48 05 12 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C1690 002BE5F0 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C1694 002BE5F4 48 04 B0 B9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 802C1698 002BE5F8 7F C3 F3 78 */ mr r3, r30 -/* 802C169C 002BE5FC 7F E4 FB 78 */ mr r4, r31 -/* 802C16A0 002BE600 48 00 93 C1 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms -/* 802C16A4 002BE604 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802C16A8 002BE608 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802C16AC 002BE60C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802C16B0 002BE610 7C 08 03 A6 */ mtlr r0 -/* 802C16B4 002BE614 38 21 00 70 */ addi r1, r1, 0x70 -/* 802C16B8 002BE618 4E 80 00 20 */ blr - -.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff -__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff: -/* 802C16BC 002BE61C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C16C0 002BE620 7C 08 02 A6 */ mflr r0 -/* 802C16C4 002BE624 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C16C8 002BE628 39 61 00 40 */ addi r11, r1, 0x40 -/* 802C16CC 002BE62C 48 0C 83 15 */ bl func_803899E0 -/* 802C16D0 002BE630 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C16D4 002BE634 FF 40 08 90 */ fmr f26, f1 -/* 802C16D8 002BE638 7C 7F 1B 78 */ mr r31, r3 -/* 802C16DC 002BE63C FF 60 10 90 */ fmr f27, f2 -/* 802C16E0 002BE640 FF 80 18 90 */ fmr f28, f3 -/* 802C16E4 002BE644 FF A0 20 90 */ fmr f29, f4 -/* 802C16E8 002BE648 FF C0 28 90 */ fmr f30, f5 -/* 802C16EC 002BE64C FF E0 30 90 */ fmr f31, f6 -/* 802C16F0 002BE650 48 00 95 35 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C16F4 002BE654 3C 60 80 3F */ lis r3, lbl_803EC738@ha -/* 802C16F8 002BE658 38 00 00 01 */ li r0, 1 -/* 802C16FC 002BE65C 38 83 C7 38 */ addi r4, r3, lbl_803EC738@l -/* 802C1700 002BE660 7F E3 FB 78 */ mr r3, r31 -/* 802C1704 002BE664 90 9F 00 00 */ stw r4, 0(r31) -/* 802C1708 002BE668 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 802C170C 002BE66C D3 5F 00 BC */ stfs f26, 0xbc(r31) -/* 802C1710 002BE670 D3 7F 00 C0 */ stfs f27, 0xc0(r31) -/* 802C1714 002BE674 D3 9F 00 C4 */ stfs f28, 0xc4(r31) -/* 802C1718 002BE678 D3 BF 00 C8 */ stfs f29, 0xc8(r31) -/* 802C171C 002BE67C D3 DF 00 CC */ stfs f30, 0xcc(r31) -/* 802C1720 002BE680 D3 FF 00 D0 */ stfs f31, 0xd0(r31) -/* 802C1724 002BE684 39 61 00 40 */ addi r11, r1, 0x40 -/* 802C1728 002BE688 48 0C 83 05 */ bl func_80389A2C -/* 802C172C 002BE68C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C1730 002BE690 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1734 002BE694 7C 08 03 A6 */ mtlr r0 -/* 802C1738 002BE698 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C173C 002BE69C 4E 80 00 20 */ blr - -.global __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff -__ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff: -/* 802C1740 002BE6A0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802C1744 002BE6A4 7C 08 02 A6 */ mflr r0 -/* 802C1748 002BE6A8 90 01 00 64 */ stw r0, 0x64(r1) -/* 802C174C 002BE6AC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802C1750 002BE6B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802C1754 002BE6B4 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802C1758 002BE6B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802C175C 002BE6BC DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802C1760 002BE6C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802C1764 002BE6C4 DB 81 00 20 */ stfd f28, 0x20(r1) -/* 802C1768 002BE6C8 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 -/* 802C176C 002BE6CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C1770 002BE6D0 FF 80 08 90 */ fmr f28, f1 -/* 802C1774 002BE6D4 7C 7F 1B 78 */ mr r31, r3 -/* 802C1778 002BE6D8 FF A0 10 90 */ fmr f29, f2 -/* 802C177C 002BE6DC FF C0 18 90 */ fmr f30, f3 -/* 802C1780 002BE6E0 FF E0 20 90 */ fmr f31, f4 -/* 802C1784 002BE6E4 48 00 94 A1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C1788 002BE6E8 3C 60 80 3F */ lis r3, lbl_803EC738@ha -/* 802C178C 002BE6EC 38 00 00 00 */ li r0, 0 -/* 802C1790 002BE6F0 38 63 C7 38 */ addi r3, r3, lbl_803EC738@l -/* 802C1794 002BE6F4 C0 22 C3 78 */ lfs f1, lbl_805AE098@sda21(r2) -/* 802C1798 002BE6F8 90 7F 00 00 */ stw r3, 0(r31) -/* 802C179C 002BE6FC 38 61 00 08 */ addi r3, r1, 8 -/* 802C17A0 002BE700 C0 02 C3 70 */ lfs f0, lbl_805AE090@sda21(r2) -/* 802C17A4 002BE704 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 802C17A8 002BE708 D0 21 00 08 */ stfs f1, 8(r1) -/* 802C17AC 002BE70C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802C17B0 002BE710 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C17B4 002BE714 48 05 31 45 */ bl Normalize__9CVector3fFv -/* 802C17B8 002BE718 D3 9F 00 BC */ stfs f28, 0xbc(r31) -/* 802C17BC 002BE71C 7F E3 FB 78 */ mr r3, r31 -/* 802C17C0 002BE720 D3 BF 00 C0 */ stfs f29, 0xc0(r31) -/* 802C17C4 002BE724 D3 DF 00 C4 */ stfs f30, 0xc4(r31) -/* 802C17C8 002BE728 D3 FF 00 C8 */ stfs f31, 0xc8(r31) -/* 802C17CC 002BE72C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802C17D0 002BE730 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802C17D4 002BE734 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802C17D8 002BE738 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802C17DC 002BE73C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802C17E0 002BE740 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802C17E4 002BE744 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 -/* 802C17E8 002BE748 CB 81 00 20 */ lfd f28, 0x20(r1) -/* 802C17EC 002BE74C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802C17F0 002BE750 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C17F4 002BE754 7C 08 03 A6 */ mtlr r0 -/* 802C17F8 002BE758 38 21 00 60 */ addi r1, r1, 0x60 -/* 802C17FC 002BE75C 4E 80 00 20 */ blr - -.global Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb -Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb: -/* 802C1800 002BE760 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C1804 002BE764 7C 08 02 A6 */ mflr r0 -/* 802C1808 002BE768 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C180C 002BE76C 39 61 00 80 */ addi r11, r1, 0x80 -/* 802C1810 002BE770 48 0C 81 D1 */ bl func_803899E0 -/* 802C1814 002BE774 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802C1818 002BE778 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802C181C 002BE77C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802C1820 002BE780 7C 7E 1B 78 */ mr r30, r3 -/* 802C1824 002BE784 7C 9F 23 78 */ mr r31, r4 -/* 802C1828 002BE788 7F C4 F3 78 */ mr r4, r30 -/* 802C182C 002BE78C 38 61 00 08 */ addi r3, r1, 8 -/* 802C1830 002BE790 7F E5 FB 78 */ mr r5, r31 -/* 802C1834 002BE794 48 00 95 1D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C1838 002BE798 83 A1 00 08 */ lwz r29, 8(r1) -/* 802C183C 002BE79C 7F E3 FB 78 */ mr r3, r31 -/* 802C1840 002BE7A0 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C1844 002BE7A4 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C1848 002BE7A8 A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C184C 002BE7AC 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C1850 002BE7B0 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C1854 002BE7B4 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C1858 002BE7B8 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C185C 002BE7BC 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C1860 002BE7C0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C1864 002BE7C4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C1868 002BE7C8 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C186C 002BE7CC 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C1870 002BE7D0 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C1874 002BE7D4 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C1878 002BE7D8 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C187C 002BE7DC 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C1880 002BE7E0 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C1884 002BE7E4 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C1888 002BE7E8 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C188C 002BE7EC 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C1890 002BE7F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C1894 002BE7F4 48 07 D3 F1 */ bl ReadLong__12CInputStreamFv -/* 802C1898 002BE7F8 2C 03 00 00 */ cmpwi r3, 0 -/* 802C189C 002BE7FC 3B A0 00 00 */ li r29, 0 -/* 802C18A0 002BE800 40 82 00 74 */ bne lbl_802C1914 -/* 802C18A4 002BE804 7F E3 FB 78 */ mr r3, r31 -/* 802C18A8 002BE808 48 07 D3 81 */ bl ReadFloat__12CInputStreamFv -/* 802C18AC 002BE80C FF E0 08 90 */ fmr f31, f1 -/* 802C18B0 002BE810 7F E3 FB 78 */ mr r3, r31 -/* 802C18B4 002BE814 48 07 D3 75 */ bl ReadFloat__12CInputStreamFv -/* 802C18B8 002BE818 FF C0 08 90 */ fmr f30, f1 -/* 802C18BC 002BE81C 7F E3 FB 78 */ mr r3, r31 -/* 802C18C0 002BE820 48 07 D3 69 */ bl ReadFloat__12CInputStreamFv -/* 802C18C4 002BE824 FF A0 08 90 */ fmr f29, f1 -/* 802C18C8 002BE828 7F E3 FB 78 */ mr r3, r31 -/* 802C18CC 002BE82C 48 07 D3 5D */ bl ReadFloat__12CInputStreamFv -/* 802C18D0 002BE830 FF 80 08 90 */ fmr f28, f1 -/* 802C18D4 002BE834 3C 60 80 3D */ lis r3, lbl_803D6880@ha -/* 802C18D8 002BE838 38 83 68 80 */ addi r4, r3, lbl_803D6880@l -/* 802C18DC 002BE83C 38 A0 00 00 */ li r5, 0 -/* 802C18E0 002BE840 38 60 00 D4 */ li r3, 0xd4 -/* 802C18E4 002BE844 48 05 3F 89 */ bl __nw__FUlPCcPCc -/* 802C18E8 002BE848 7C 60 1B 79 */ or. r0, r3, r3 -/* 802C18EC 002BE84C 41 82 00 20 */ beq lbl_802C190C -/* 802C18F0 002BE850 FC 20 F8 90 */ fmr f1, f31 -/* 802C18F4 002BE854 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C18F8 002BE858 FC 40 F0 90 */ fmr f2, f30 -/* 802C18FC 002BE85C FC 60 E8 90 */ fmr f3, f29 -/* 802C1900 002BE860 FC 80 E0 90 */ fmr f4, f28 -/* 802C1904 002BE864 4B FF FE 3D */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffffff -/* 802C1908 002BE868 7C 60 1B 78 */ mr r0, r3 -lbl_802C190C: -/* 802C190C 002BE86C 7C 1D 03 78 */ mr r29, r0 -/* 802C1910 002BE870 48 00 00 98 */ b lbl_802C19A8 -lbl_802C1914: -/* 802C1914 002BE874 2C 03 00 01 */ cmpwi r3, 1 -/* 802C1918 002BE878 40 82 00 90 */ bne lbl_802C19A8 -/* 802C191C 002BE87C 7F E3 FB 78 */ mr r3, r31 -/* 802C1920 002BE880 48 07 D3 09 */ bl ReadFloat__12CInputStreamFv -/* 802C1924 002BE884 FF 80 08 90 */ fmr f28, f1 -/* 802C1928 002BE888 7F E3 FB 78 */ mr r3, r31 -/* 802C192C 002BE88C 48 07 D2 FD */ bl ReadFloat__12CInputStreamFv -/* 802C1930 002BE890 FF A0 08 90 */ fmr f29, f1 -/* 802C1934 002BE894 7F E3 FB 78 */ mr r3, r31 -/* 802C1938 002BE898 48 07 D2 F1 */ bl ReadFloat__12CInputStreamFv -/* 802C193C 002BE89C FF C0 08 90 */ fmr f30, f1 -/* 802C1940 002BE8A0 7F E3 FB 78 */ mr r3, r31 -/* 802C1944 002BE8A4 48 07 D2 E5 */ bl ReadFloat__12CInputStreamFv -/* 802C1948 002BE8A8 FF E0 08 90 */ fmr f31, f1 -/* 802C194C 002BE8AC 7F E3 FB 78 */ mr r3, r31 -/* 802C1950 002BE8B0 48 07 D2 D9 */ bl ReadFloat__12CInputStreamFv -/* 802C1954 002BE8B4 FF 60 08 90 */ fmr f27, f1 -/* 802C1958 002BE8B8 7F E3 FB 78 */ mr r3, r31 -/* 802C195C 002BE8BC 48 07 D2 CD */ bl ReadFloat__12CInputStreamFv -/* 802C1960 002BE8C0 FF 40 08 90 */ fmr f26, f1 -/* 802C1964 002BE8C4 3C 60 80 3D */ lis r3, lbl_803D6880@ha -/* 802C1968 002BE8C8 38 83 68 80 */ addi r4, r3, lbl_803D6880@l -/* 802C196C 002BE8CC 38 A0 00 00 */ li r5, 0 -/* 802C1970 002BE8D0 38 60 00 D4 */ li r3, 0xd4 -/* 802C1974 002BE8D4 48 05 3E F9 */ bl __nw__FUlPCcPCc -/* 802C1978 002BE8D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 802C197C 002BE8DC 41 82 00 28 */ beq lbl_802C19A4 -/* 802C1980 002BE8E0 FC 20 E0 90 */ fmr f1, f28 -/* 802C1984 002BE8E4 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C1988 002BE8E8 FC 40 E8 90 */ fmr f2, f29 -/* 802C198C 002BE8EC FC 60 F0 90 */ fmr f3, f30 -/* 802C1990 002BE8F0 FC 80 F8 90 */ fmr f4, f31 -/* 802C1994 002BE8F4 FC A0 D8 90 */ fmr f5, f27 -/* 802C1998 002BE8F8 FC C0 D0 90 */ fmr f6, f26 -/* 802C199C 002BE8FC 4B FF FD 21 */ bl __ct__10CGuiCameraFRCQ210CGuiWidget15CGuiWidgetParmsffff -/* 802C19A0 002BE900 7C 60 1B 78 */ mr r0, r3 -lbl_802C19A4: -/* 802C19A4 002BE904 7C 1D 03 78 */ mr r29, r0 -lbl_802C19A8: -/* 802C19A8 002BE908 7F C3 F3 78 */ mr r3, r30 -/* 802C19AC 002BE90C 7F A4 EB 78 */ mr r4, r29 -/* 802C19B0 002BE910 48 00 07 F1 */ bl SetFrameCamera__9CGuiFrameFP10CGuiCamera -/* 802C19B4 002BE914 7F A3 EB 78 */ mr r3, r29 -/* 802C19B8 002BE918 7F C4 F3 78 */ mr r4, r30 -/* 802C19BC 002BE91C 7F E5 FB 78 */ mr r5, r31 -/* 802C19C0 002BE920 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C19C4 002BE924 48 00 90 C5 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C19C8 002BE928 7F A3 EB 78 */ mr r3, r29 -/* 802C19CC 002BE92C 39 61 00 80 */ addi r11, r1, 0x80 -/* 802C19D0 002BE930 48 0C 80 5D */ bl func_80389A2C -/* 802C19D4 002BE934 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C19D8 002BE938 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802C19DC 002BE93C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802C19E0 002BE940 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802C19E4 002BE944 7C 08 03 A6 */ mtlr r0 -/* 802C19E8 002BE948 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C19EC 002BE94C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__18CGuiCompoundWidgetCFv -GetWidgetTypeID__18CGuiCompoundWidgetCFv: -/* 802C19F0 002BE950 38 60 FF FF */ li r3, -1 -/* 802C19F4 002BE954 4E 80 00 20 */ blr - -.global OnVisible__18CGuiCompoundWidgetFv -OnVisible__18CGuiCompoundWidgetFv: -/* 802C19F8 002BE958 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C19FC 002BE95C 7C 08 02 A6 */ mflr r0 -/* 802C1A00 002BE960 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1A04 002BE964 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1A08 002BE968 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1A0C 002BE96C 7C 7E 1B 78 */ mr r30, r3 -/* 802C1A10 002BE970 48 00 33 21 */ bl GetChildObject__10CGuiObjectFv -/* 802C1A14 002BE974 7C 7F 1B 78 */ mr r31, r3 -/* 802C1A18 002BE978 48 00 00 30 */ b lbl_802C1A48 -lbl_802C1A1C: -/* 802C1A1C 002BE97C 7F C3 F3 78 */ mr r3, r30 -/* 802C1A20 002BE980 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C1A24 002BE984 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C1A28 002BE988 7D 89 03 A6 */ mtctr r12 -/* 802C1A2C 002BE98C 4E 80 04 21 */ bctrl -/* 802C1A30 002BE990 7C 64 1B 78 */ mr r4, r3 -/* 802C1A34 002BE994 7F E3 FB 78 */ mr r3, r31 -/* 802C1A38 002BE998 48 00 8B F5 */ bl SetIsVisible__10CGuiWidgetFb -/* 802C1A3C 002BE99C 7F E3 FB 78 */ mr r3, r31 -/* 802C1A40 002BE9A0 48 00 32 E1 */ bl GetNextSibling__10CGuiObjectFv -/* 802C1A44 002BE9A4 7C 7F 1B 78 */ mr r31, r3 -lbl_802C1A48: -/* 802C1A48 002BE9A8 28 1F 00 00 */ cmplwi r31, 0 -/* 802C1A4C 002BE9AC 40 82 FF D0 */ bne lbl_802C1A1C -/* 802C1A50 002BE9B0 7F C3 F3 78 */ mr r3, r30 -/* 802C1A54 002BE9B4 48 00 8B 8D */ bl OnVisible__10CGuiWidgetFv -/* 802C1A58 002BE9B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1A5C 002BE9BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1A60 002BE9C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C1A64 002BE9C4 7C 08 03 A6 */ mtlr r0 -/* 802C1A68 002BE9C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1A6C 002BE9CC 4E 80 00 20 */ blr - -.global OnActivate__18CGuiCompoundWidgetFb -OnActivate__18CGuiCompoundWidgetFb: -/* 802C1A70 002BE9D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1A74 002BE9D4 7C 08 02 A6 */ mflr r0 -/* 802C1A78 002BE9D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1A7C 002BE9DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1A80 002BE9E0 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1A84 002BE9E4 7C 7E 1B 78 */ mr r30, r3 -/* 802C1A88 002BE9E8 48 00 32 A9 */ bl GetChildObject__10CGuiObjectFv -/* 802C1A8C 002BE9EC 7C 7F 1B 78 */ mr r31, r3 -/* 802C1A90 002BE9F0 48 00 00 30 */ b lbl_802C1AC0 -lbl_802C1A94: -/* 802C1A94 002BE9F4 7F C3 F3 78 */ mr r3, r30 -/* 802C1A98 002BE9F8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C1A9C 002BE9FC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802C1AA0 002BEA00 7D 89 03 A6 */ mtctr r12 -/* 802C1AA4 002BEA04 4E 80 04 21 */ bctrl -/* 802C1AA8 002BEA08 7C 64 1B 78 */ mr r4, r3 -/* 802C1AAC 002BEA0C 7F E3 FB 78 */ mr r3, r31 -/* 802C1AB0 002BEA10 48 00 8B 35 */ bl SetIsActive__10CGuiWidgetFb -/* 802C1AB4 002BEA14 7F E3 FB 78 */ mr r3, r31 -/* 802C1AB8 002BEA18 48 00 32 69 */ bl GetNextSibling__10CGuiObjectFv -/* 802C1ABC 002BEA1C 7C 7F 1B 78 */ mr r31, r3 -lbl_802C1AC0: -/* 802C1AC0 002BEA20 28 1F 00 00 */ cmplwi r31, 0 -/* 802C1AC4 002BEA24 40 82 FF D0 */ bne lbl_802C1A94 -/* 802C1AC8 002BEA28 7F C3 F3 78 */ mr r3, r30 -/* 802C1ACC 002BEA2C 48 00 8B 11 */ bl OnActivate__10CGuiWidgetFv -/* 802C1AD0 002BEA30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1AD4 002BEA34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1AD8 002BEA38 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C1ADC 002BEA3C 7C 08 03 A6 */ mtlr r0 -/* 802C1AE0 002BEA40 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1AE4 002BEA44 4E 80 00 20 */ blr - -.global GetWorkerWidget__18CGuiCompoundWidgetFi -GetWorkerWidget__18CGuiCompoundWidgetFi: -/* 802C1AE8 002BEA48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1AEC 002BEA4C 7C 08 02 A6 */ mflr r0 -/* 802C1AF0 002BEA50 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1AF4 002BEA54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1AF8 002BEA58 7C 9F 23 78 */ mr r31, r4 -/* 802C1AFC 002BEA5C 48 00 32 3D */ bl GetChildObject__18CGuiCompoundWidgetFv -/* 802C1B00 002BEA60 48 00 00 14 */ b lbl_802C1B14 -lbl_802C1B04: -/* 802C1B04 002BEA64 A8 03 00 B4 */ lha r0, 0xb4(r3) -/* 802C1B08 002BEA68 7C 1F 00 00 */ cmpw r31, r0 -/* 802C1B0C 002BEA6C 41 82 00 10 */ beq lbl_802C1B1C -/* 802C1B10 002BEA70 48 00 32 19 */ bl GetNextSibling__18CGuiCompoundWidgetFv -lbl_802C1B14: -/* 802C1B14 002BEA74 28 03 00 00 */ cmplwi r3, 0 -/* 802C1B18 002BEA78 40 82 FF EC */ bne lbl_802C1B04 -lbl_802C1B1C: -/* 802C1B1C 002BEA7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1B20 002BEA80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1B24 002BEA84 7C 08 03 A6 */ mtlr r0 -/* 802C1B28 002BEA88 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1B2C 002BEA8C 4E 80 00 20 */ blr - -.global __dt__18CGuiCompoundWidgetFv -__dt__18CGuiCompoundWidgetFv: -/* 802C1B30 002BEA90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1B34 002BEA94 7C 08 02 A6 */ mflr r0 -/* 802C1B38 002BEA98 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1B3C 002BEA9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1B40 002BEAA0 7C 9F 23 78 */ mr r31, r4 -/* 802C1B44 002BEAA4 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1B48 002BEAA8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C1B4C 002BEAAC 41 82 00 28 */ beq lbl_802C1B74 -/* 802C1B50 002BEAB0 3C A0 80 3F */ lis r5, lbl_803EC778@ha -/* 802C1B54 002BEAB4 38 80 00 00 */ li r4, 0 -/* 802C1B58 002BEAB8 38 05 C7 78 */ addi r0, r5, lbl_803EC778@l -/* 802C1B5C 002BEABC 90 1E 00 00 */ stw r0, 0(r30) -/* 802C1B60 002BEAC0 48 00 90 55 */ bl __dt__10CGuiWidgetFv -/* 802C1B64 002BEAC4 7F E0 07 35 */ extsh. r0, r31 -/* 802C1B68 002BEAC8 40 81 00 0C */ ble lbl_802C1B74 -/* 802C1B6C 002BEACC 7F C3 F3 78 */ mr r3, r30 -/* 802C1B70 002BEAD0 48 05 3D C1 */ bl Free__7CMemoryFPCv -lbl_802C1B74: -/* 802C1B74 002BEAD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1B78 002BEAD8 7F C3 F3 78 */ mr r3, r30 -/* 802C1B7C 002BEADC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1B80 002BEAE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C1B84 002BEAE4 7C 08 03 A6 */ mtlr r0 -/* 802C1B88 002BEAE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1B8C 002BEAEC 4E 80 00 20 */ blr - -.global __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms -__ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms: -/* 802C1B90 002BEAF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1B94 002BEAF4 7C 08 02 A6 */ mflr r0 -/* 802C1B98 002BEAF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1B9C 002BEAFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1BA0 002BEB00 7C 7F 1B 78 */ mr r31, r3 -/* 802C1BA4 002BEB04 48 00 90 81 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C1BA8 002BEB08 3C 80 80 3F */ lis r4, lbl_803EC778@ha -/* 802C1BAC 002BEB0C 7F E3 FB 78 */ mr r3, r31 -/* 802C1BB0 002BEB10 38 04 C7 78 */ addi r0, r4, lbl_803EC778@l -/* 802C1BB4 002BEB14 90 1F 00 00 */ stw r0, 0(r31) -/* 802C1BB8 002BEB18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1BBC 002BEB1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1BC0 002BEB20 7C 08 03 A6 */ mtlr r0 -/* 802C1BC4 002BEB24 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1BC8 002BEB28 4E 80 00 20 */ blr - -.global FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb -FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb: -/* 802C1BCC 002BEB2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1BD0 002BEB30 7C 08 02 A6 */ mflr r0 -/* 802C1BD4 002BEB34 3C E0 4C 49 */ lis r7, 0x4C495445@ha -/* 802C1BD8 002BEB38 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1BDC 002BEB3C 38 07 54 45 */ addi r0, r7, 0x4C495445@l -/* 802C1BE0 002BEB40 7C 03 00 00 */ cmpw r3, r0 -/* 802C1BE4 002BEB44 41 82 01 AC */ beq lbl_802C1D90 -/* 802C1BE8 002BEB48 40 80 00 7C */ bge lbl_802C1C64 -/* 802C1BEC 002BEB4C 3C E0 47 52 */ lis r7, 0x47525550@ha -/* 802C1BF0 002BEB50 38 07 55 50 */ addi r0, r7, 0x47525550@l -/* 802C1BF4 002BEB54 7C 03 00 00 */ cmpw r3, r0 -/* 802C1BF8 002BEB58 41 82 01 20 */ beq lbl_802C1D18 -/* 802C1BFC 002BEB5C 40 80 00 40 */ bge lbl_802C1C3C -/* 802C1C00 002BEB60 3C E0 43 41 */ lis r7, 0x43414D52@ha -/* 802C1C04 002BEB64 38 07 4D 52 */ addi r0, r7, 0x43414D52@l -/* 802C1C08 002BEB68 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C0C 002BEB6C 41 82 00 F8 */ beq lbl_802C1D04 -/* 802C1C10 002BEB70 40 80 00 18 */ bge lbl_802C1C28 -/* 802C1C14 002BEB74 3C E0 42 57 */ lis r7, 0x42574947@ha -/* 802C1C18 002BEB78 38 07 49 47 */ addi r0, r7, 0x42574947@l -/* 802C1C1C 002BEB7C 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C20 002BEB80 41 82 00 D0 */ beq lbl_802C1CF0 -/* 802C1C24 002BEB84 48 00 01 BC */ b lbl_802C1DE0 -lbl_802C1C28: -/* 802C1C28 002BEB88 3C E0 45 4E */ lis r7, 0x454E5247@ha -/* 802C1C2C 002BEB8C 38 07 52 47 */ addi r0, r7, 0x454E5247@l -/* 802C1C30 002BEB90 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C34 002BEB94 41 82 01 70 */ beq lbl_802C1DA4 -/* 802C1C38 002BEB98 48 00 01 A8 */ b lbl_802C1DE0 -lbl_802C1C3C: -/* 802C1C3C 002BEB9C 3C E0 49 4D */ lis r7, 0x494D4750@ha -/* 802C1C40 002BEBA0 38 07 47 50 */ addi r0, r7, 0x494D4750@l -/* 802C1C44 002BEBA4 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C48 002BEBA8 41 82 01 84 */ beq lbl_802C1DCC -/* 802C1C4C 002BEBAC 40 80 01 94 */ bge lbl_802C1DE0 -/* 802C1C50 002BEBB0 3C E0 48 57 */ lis r7, 0x48574947@ha -/* 802C1C54 002BEBB4 38 07 49 47 */ addi r0, r7, 0x48574947@l -/* 802C1C58 002BEBB8 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C5C 002BEBBC 41 82 00 80 */ beq lbl_802C1CDC -/* 802C1C60 002BEBC0 48 00 01 80 */ b lbl_802C1DE0 -lbl_802C1C64: -/* 802C1C64 002BEBC4 3C E0 53 4C */ lis r7, 0x534C4750@ha -/* 802C1C68 002BEBC8 38 07 47 50 */ addi r0, r7, 0x534C4750@l -/* 802C1C6C 002BEBCC 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C70 002BEBD0 41 82 00 D0 */ beq lbl_802C1D40 -/* 802C1C74 002BEBD4 40 80 00 40 */ bge lbl_802C1CB4 -/* 802C1C78 002BEBD8 3C E0 4D 4F */ lis r7, 0x4D4F444C@ha -/* 802C1C7C 002BEBDC 38 07 44 4C */ addi r0, r7, 0x4D4F444C@l -/* 802C1C80 002BEBE0 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C84 002BEBE4 41 82 00 A8 */ beq lbl_802C1D2C -/* 802C1C88 002BEBE8 40 80 00 18 */ bge lbl_802C1CA0 -/* 802C1C8C 002BEBEC 3C E0 4D 45 */ lis r7, 0x4D455452@ha -/* 802C1C90 002BEBF0 38 07 54 52 */ addi r0, r7, 0x4D455452@l -/* 802C1C94 002BEBF4 7C 03 00 00 */ cmpw r3, r0 -/* 802C1C98 002BEBF8 41 82 01 20 */ beq lbl_802C1DB8 -/* 802C1C9C 002BEBFC 48 00 01 44 */ b lbl_802C1DE0 -lbl_802C1CA0: -/* 802C1CA0 002BEC00 3C E0 50 41 */ lis r7, 0x50414E45@ha -/* 802C1CA4 002BEC04 38 07 4E 45 */ addi r0, r7, 0x50414E45@l -/* 802C1CA8 002BEC08 7C 03 00 00 */ cmpw r3, r0 -/* 802C1CAC 002BEC0C 41 82 00 BC */ beq lbl_802C1D68 -/* 802C1CB0 002BEC10 48 00 01 30 */ b lbl_802C1DE0 -lbl_802C1CB4: -/* 802C1CB4 002BEC14 3C E0 54 58 */ lis r7, 0x5458504E@ha -/* 802C1CB8 002BEC18 38 07 50 4E */ addi r0, r7, 0x5458504E@l -/* 802C1CBC 002BEC1C 7C 03 00 00 */ cmpw r3, r0 -/* 802C1CC0 002BEC20 41 82 00 BC */ beq lbl_802C1D7C -/* 802C1CC4 002BEC24 40 80 01 1C */ bge lbl_802C1DE0 -/* 802C1CC8 002BEC28 3C E0 54 42 */ lis r7, 0x54424750@ha -/* 802C1CCC 002BEC2C 38 07 47 50 */ addi r0, r7, 0x54424750@l -/* 802C1CD0 002BEC30 7C 03 00 00 */ cmpw r3, r0 -/* 802C1CD4 002BEC34 41 82 00 80 */ beq lbl_802C1D54 -/* 802C1CD8 002BEC38 48 00 01 08 */ b lbl_802C1DE0 -lbl_802C1CDC: -/* 802C1CDC 002BEC3C 7C 83 23 78 */ mr r3, r4 -/* 802C1CE0 002BEC40 7C A4 2B 78 */ mr r4, r5 -/* 802C1CE4 002BEC44 7C C5 33 78 */ mr r5, r6 -/* 802C1CE8 002BEC48 48 00 19 0D */ bl Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb -/* 802C1CEC 002BEC4C 48 00 00 F8 */ b lbl_802C1DE4 -lbl_802C1CF0: -/* 802C1CF0 002BEC50 7C 83 23 78 */ mr r3, r4 -/* 802C1CF4 002BEC54 7C A4 2B 78 */ mr r4, r5 -/* 802C1CF8 002BEC58 7C C5 33 78 */ mr r5, r6 -/* 802C1CFC 002BEC5C 48 00 91 5D */ bl Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C1D00 002BEC60 48 00 00 E4 */ b lbl_802C1DE4 -lbl_802C1D04: -/* 802C1D04 002BEC64 7C 83 23 78 */ mr r3, r4 -/* 802C1D08 002BEC68 7C A4 2B 78 */ mr r4, r5 -/* 802C1D0C 002BEC6C 7C C5 33 78 */ mr r5, r6 -/* 802C1D10 002BEC70 4B FF FA F1 */ bl Create__10CGuiCameraFP9CGuiFrameR12CInputStreamb -/* 802C1D14 002BEC74 48 00 00 D0 */ b lbl_802C1DE4 -lbl_802C1D18: -/* 802C1D18 002BEC78 7C 83 23 78 */ mr r3, r4 -/* 802C1D1C 002BEC7C 7C A4 2B 78 */ mr r4, r5 -/* 802C1D20 002BEC80 7C C5 33 78 */ mr r5, r6 -/* 802C1D24 002BEC84 48 00 17 9D */ bl Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb -/* 802C1D28 002BEC88 48 00 00 BC */ b lbl_802C1DE4 -lbl_802C1D2C: -/* 802C1D2C 002BEC8C 7C 83 23 78 */ mr r3, r4 -/* 802C1D30 002BEC90 7C A4 2B 78 */ mr r4, r5 -/* 802C1D34 002BEC94 7C C5 33 78 */ mr r5, r6 -/* 802C1D38 002BEC98 48 00 28 F9 */ bl Create__9CGuiModelFP9CGuiFrameR12CInputStreamb -/* 802C1D3C 002BEC9C 48 00 00 A8 */ b lbl_802C1DE4 -lbl_802C1D40: -/* 802C1D40 002BECA0 7C 83 23 78 */ mr r3, r4 -/* 802C1D44 002BECA4 7C A4 2B 78 */ mr r4, r5 -/* 802C1D48 002BECA8 7C C5 33 78 */ mr r5, r6 -/* 802C1D4C 002BECAC 48 00 45 81 */ bl Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb -/* 802C1D50 002BECB0 48 00 00 94 */ b lbl_802C1DE4 -lbl_802C1D54: -/* 802C1D54 002BECB4 7C 83 23 78 */ mr r3, r4 -/* 802C1D58 002BECB8 7C A4 2B 78 */ mr r4, r5 -/* 802C1D5C 002BECBC 7C C5 33 78 */ mr r5, r6 -/* 802C1D60 002BECC0 48 00 55 81 */ bl Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb -/* 802C1D64 002BECC4 48 00 00 80 */ b lbl_802C1DE4 -lbl_802C1D68: -/* 802C1D68 002BECC8 7C 83 23 78 */ mr r3, r4 -/* 802C1D6C 002BECCC 7C A4 2B 78 */ mr r4, r5 -/* 802C1D70 002BECD0 7C C5 33 78 */ mr r5, r6 -/* 802C1D74 002BECD4 48 00 3C D9 */ bl Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb -/* 802C1D78 002BECD8 48 00 00 6C */ b lbl_802C1DE4 -lbl_802C1D7C: -/* 802C1D7C 002BECDC 7C 83 23 78 */ mr r3, r4 -/* 802C1D80 002BECE0 7C A4 2B 78 */ mr r4, r5 -/* 802C1D84 002BECE4 7C C5 33 78 */ mr r5, r6 -/* 802C1D88 002BECE8 48 00 5D 65 */ bl Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb -/* 802C1D8C 002BECEC 48 00 00 58 */ b lbl_802C1DE4 -lbl_802C1D90: -/* 802C1D90 002BECF0 7C 83 23 78 */ mr r3, r4 -/* 802C1D94 002BECF4 7C A4 2B 78 */ mr r4, r5 -/* 802C1D98 002BECF8 7C C5 33 78 */ mr r5, r6 -/* 802C1D9C 002BECFC 48 00 1F 29 */ bl Create__9CGuiLightFP9CGuiFrameR12CInputStreamb -/* 802C1DA0 002BED00 48 00 00 44 */ b lbl_802C1DE4 -lbl_802C1DA4: -/* 802C1DA4 002BED04 7C 83 23 78 */ mr r3, r4 -/* 802C1DA8 002BED08 7C A4 2B 78 */ mr r4, r5 -/* 802C1DAC 002BED0C 7C C5 33 78 */ mr r5, r6 -/* 802C1DB0 002BED10 48 00 9E 49 */ bl Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb -/* 802C1DB4 002BED14 48 00 00 30 */ b lbl_802C1DE4 -lbl_802C1DB8: -/* 802C1DB8 002BED18 7C 83 23 78 */ mr r3, r4 -/* 802C1DBC 002BED1C 7C A4 2B 78 */ mr r4, r5 -/* 802C1DC0 002BED20 7C C5 33 78 */ mr r5, r6 -/* 802C1DC4 002BED24 4B FF F4 85 */ bl Create__9CAuiMeterFP9CGuiFrameR12CInputStreamb -/* 802C1DC8 002BED28 48 00 00 1C */ b lbl_802C1DE4 -lbl_802C1DCC: -/* 802C1DCC 002BED2C 7C 83 23 78 */ mr r3, r4 -/* 802C1DD0 002BED30 7C A4 2B 78 */ mr r4, r5 -/* 802C1DD4 002BED34 7C C5 33 78 */ mr r5, r6 -/* 802C1DD8 002BED38 48 00 B4 19 */ bl Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb -/* 802C1DDC 002BED3C 48 00 00 08 */ b lbl_802C1DE4 -lbl_802C1DE0: -/* 802C1DE0 002BED40 38 60 00 00 */ li r3, 0 -lbl_802C1DE4: -/* 802C1DE4 002BED44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1DE8 002BED48 7C 08 03 A6 */ mtlr r0 -/* 802C1DEC 002BED4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1DF0 002BED50 4E 80 00 20 */ blr - -.global RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -RGuiFrameFactoryInGame__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802C1DF4 002BED54 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C1DF8 002BED58 7C 08 02 A6 */ mflr r0 -/* 802C1DFC 002BED5C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C1E00 002BED60 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C1E04 002BED64 7C 7F 1B 78 */ mr r31, r3 -/* 802C1E08 002BED68 80 C6 00 00 */ lwz r6, 0(r6) -/* 802C1E0C 002BED6C 90 C1 00 08 */ stw r6, 8(r1) -/* 802C1E10 002BED70 80 66 00 04 */ lwz r3, 4(r6) -/* 802C1E14 002BED74 38 03 00 01 */ addi r0, r3, 1 -/* 802C1E18 002BED78 90 06 00 04 */ stw r0, 4(r6) -/* 802C1E1C 002BED7C 80 C1 00 08 */ lwz r6, 8(r1) -/* 802C1E20 002BED80 80 64 00 04 */ lwz r3, 4(r4) -/* 802C1E24 002BED84 80 C6 00 00 */ lwz r6, 0(r6) -/* 802C1E28 002BED88 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13) -/* 802C1E2C 002BED8C 80 C6 00 04 */ lwz r6, 4(r6) -/* 802C1E30 002BED90 48 00 0B 8D */ bl CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami -/* 802C1E34 002BED94 7C 03 00 D0 */ neg r0, r3 -/* 802C1E38 002BED98 90 61 00 10 */ stw r3, 0x10(r1) -/* 802C1E3C 002BED9C 7C 00 1B 78 */ or r0, r0, r3 -/* 802C1E40 002BEDA0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C1E44 002BEDA4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C1E48 002BEDA8 38 81 00 0C */ addi r4, r1, 0xc -/* 802C1E4C 002BEDAC 98 01 00 0C */ stb r0, 0xc(r1) -/* 802C1E50 002BEDB0 48 00 01 15 */ bl "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" -/* 802C1E54 002BEDB4 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802C1E58 002BEDB8 38 00 00 00 */ li r0, 0 -/* 802C1E5C 002BEDBC 98 01 00 14 */ stb r0, 0x14(r1) -/* 802C1E60 002BEDC0 7C 03 00 D0 */ neg r0, r3 -/* 802C1E64 002BEDC4 7C 00 1B 78 */ or r0, r0, r3 -/* 802C1E68 002BEDC8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C1E6C 002BEDCC 98 1F 00 00 */ stb r0, 0(r31) -/* 802C1E70 002BEDD0 90 7F 00 04 */ stw r3, 4(r31) -/* 802C1E74 002BEDD4 88 01 00 14 */ lbz r0, 0x14(r1) -/* 802C1E78 002BEDD8 28 00 00 00 */ cmplwi r0, 0 -/* 802C1E7C 002BEDDC 41 82 00 24 */ beq lbl_802C1EA0 -/* 802C1E80 002BEDE0 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802C1E84 002BEDE4 28 03 00 00 */ cmplwi r3, 0 -/* 802C1E88 002BEDE8 41 82 00 18 */ beq lbl_802C1EA0 -/* 802C1E8C 002BEDEC 81 83 00 00 */ lwz r12, 0(r3) -/* 802C1E90 002BEDF0 38 80 00 01 */ li r4, 1 -/* 802C1E94 002BEDF4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802C1E98 002BEDF8 7D 89 03 A6 */ mtctr r12 -/* 802C1E9C 002BEDFC 4E 80 04 21 */ bctrl -lbl_802C1EA0: -/* 802C1EA0 002BEE00 88 01 00 0C */ lbz r0, 0xc(r1) -/* 802C1EA4 002BEE04 28 00 00 00 */ cmplwi r0, 0 -/* 802C1EA8 002BEE08 41 82 00 10 */ beq lbl_802C1EB8 -/* 802C1EAC 002BEE0C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802C1EB0 002BEE10 38 80 00 01 */ li r4, 1 -/* 802C1EB4 002BEE14 48 00 0B C9 */ bl __dt__9CGuiFrameFv -lbl_802C1EB8: -/* 802C1EB8 002BEE18 38 61 00 08 */ addi r3, r1, 8 -/* 802C1EBC 002BEE1C 4B D7 24 49 */ bl sub_80034304 -/* 802C1EC0 002BEE20 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C1EC4 002BEE24 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C1EC8 002BEE28 7C 08 03 A6 */ mtlr r0 -/* 802C1ECC 002BEE2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C1ED0 002BEE30 4E 80 00 20 */ blr - -.global "__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv" -"__dt__36TObjOwnerDerivedFromIObj<9CGuiFrame>Fv": -/* 802C1ED4 002BEE34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1ED8 002BEE38 7C 08 02 A6 */ mflr r0 -/* 802C1EDC 002BEE3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1EE0 002BEE40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1EE4 002BEE44 7C 9F 23 78 */ mr r31, r4 -/* 802C1EE8 002BEE48 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1EEC 002BEE4C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C1EF0 002BEE50 41 82 00 58 */ beq lbl_802C1F48 -/* 802C1EF4 002BEE54 3C 60 80 3F */ lis r3, lbl_803EC7B8@ha -/* 802C1EF8 002BEE58 38 03 C7 B8 */ addi r0, r3, lbl_803EC7B8@l -/* 802C1EFC 002BEE5C 90 1E 00 00 */ stw r0, 0(r30) -/* 802C1F00 002BEE60 80 7E 00 04 */ lwz r3, 4(r30) -/* 802C1F04 002BEE64 28 03 00 00 */ cmplwi r3, 0 -/* 802C1F08 002BEE68 41 82 00 0C */ beq lbl_802C1F14 -/* 802C1F0C 002BEE6C 38 80 00 01 */ li r4, 1 -/* 802C1F10 002BEE70 48 00 0B 6D */ bl __dt__9CGuiFrameFv -lbl_802C1F14: -/* 802C1F14 002BEE74 28 1E 00 00 */ cmplwi r30, 0 -/* 802C1F18 002BEE78 41 82 00 20 */ beq lbl_802C1F38 -/* 802C1F1C 002BEE7C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802C1F20 002BEE80 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802C1F24 002BEE84 90 1E 00 00 */ stw r0, 0(r30) -/* 802C1F28 002BEE88 41 82 00 10 */ beq lbl_802C1F38 -/* 802C1F2C 002BEE8C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802C1F30 002BEE90 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802C1F34 002BEE94 90 1E 00 00 */ stw r0, 0(r30) -lbl_802C1F38: -/* 802C1F38 002BEE98 7F E0 07 35 */ extsh. r0, r31 -/* 802C1F3C 002BEE9C 40 81 00 0C */ ble lbl_802C1F48 -/* 802C1F40 002BEEA0 7F C3 F3 78 */ mr r3, r30 -/* 802C1F44 002BEEA4 48 05 39 ED */ bl Free__7CMemoryFPCv -lbl_802C1F48: -/* 802C1F48 002BEEA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1F4C 002BEEAC 7F C3 F3 78 */ mr r3, r30 -/* 802C1F50 002BEEB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1F54 002BEEB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C1F58 002BEEB8 7C 08 03 A6 */ mtlr r0 -/* 802C1F5C 002BEEBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1F60 002BEEC0 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" -"GetIObjObjectFor__18TToken<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": -/* 802C1F64 002BEEC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1F68 002BEEC8 7C 08 02 A6 */ mflr r0 -/* 802C1F6C 002BEECC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1F70 002BEED0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1F74 002BEED4 7C 7F 1B 78 */ mr r31, r3 -/* 802C1F78 002BEED8 48 00 00 19 */ bl "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" -/* 802C1F7C 002BEEDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C1F80 002BEEE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C1F84 002BEEE4 7C 08 03 A6 */ mtlr r0 -/* 802C1F88 002BEEE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C1F8C 002BEEEC 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>" -"GetNewDerivedObject__36TObjOwnerDerivedFromIObj<9CGuiFrame>FRCQ24rstl20auto_ptr<9CGuiFrame>": -/* 802C1F90 002BEEF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C1F94 002BEEF4 7C 08 02 A6 */ mflr r0 -/* 802C1F98 002BEEF8 3C A0 80 3D */ lis r5, lbl_803D6888@ha -/* 802C1F9C 002BEEFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C1FA0 002BEF00 38 05 68 88 */ addi r0, r5, lbl_803D6888@l -/* 802C1FA4 002BEF04 38 A0 00 00 */ li r5, 0 -/* 802C1FA8 002BEF08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C1FAC 002BEF0C 7C 9F 23 78 */ mr r31, r4 -/* 802C1FB0 002BEF10 7C 04 03 78 */ mr r4, r0 -/* 802C1FB4 002BEF14 93 C1 00 08 */ stw r30, 8(r1) -/* 802C1FB8 002BEF18 7C 7E 1B 78 */ mr r30, r3 -/* 802C1FBC 002BEF1C 38 60 00 08 */ li r3, 8 -/* 802C1FC0 002BEF20 48 05 38 AD */ bl __nw__FUlPCcPCc -/* 802C1FC4 002BEF24 28 03 00 00 */ cmplwi r3, 0 -/* 802C1FC8 002BEF28 41 82 00 38 */ beq lbl_802C2000 -/* 802C1FCC 002BEF2C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802C1FD0 002BEF30 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802C1FD4 002BEF34 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802C1FD8 002BEF38 3C 80 80 3F */ lis r4, lbl_803EC7B8@ha -/* 802C1FDC 002BEF3C 90 03 00 00 */ stw r0, 0(r3) -/* 802C1FE0 002BEF40 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802C1FE4 002BEF44 38 A0 00 00 */ li r5, 0 -/* 802C1FE8 002BEF48 38 04 C7 B8 */ addi r0, r4, lbl_803EC7B8@l -/* 802C1FEC 002BEF4C 90 C3 00 00 */ stw r6, 0(r3) -/* 802C1FF0 002BEF50 98 BF 00 00 */ stb r5, 0(r31) -/* 802C1FF4 002BEF54 80 9F 00 04 */ lwz r4, 4(r31) -/* 802C1FF8 002BEF58 90 83 00 04 */ stw r4, 4(r3) -/* 802C1FFC 002BEF5C 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2000: -/* 802C2000 002BEF60 7C 03 00 D0 */ neg r0, r3 -/* 802C2004 002BEF64 7C 00 1B 78 */ or r0, r0, r3 -/* 802C2008 002BEF68 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802C200C 002BEF6C 98 1E 00 00 */ stb r0, 0(r30) -/* 802C2010 002BEF70 90 7E 00 04 */ stw r3, 4(r30) -/* 802C2014 002BEF74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C2018 002BEF78 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C201C 002BEF7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2020 002BEF80 7C 08 03 A6 */ mtlr r0 -/* 802C2024 002BEF84 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2028 002BEF88 4E 80 00 20 */ blr - -.global __sinit_CGuiFeeHelper_cpp -__sinit_CGuiFeeHelper_cpp: -/* 802C202C 002BEF8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C2030 002BEF90 7C 08 02 A6 */ mflr r0 -/* 802C2034 002BEF94 3C 60 80 5A */ lis r3, lbl_8059FBD0@ha -/* 802C2038 002BEF98 38 80 00 00 */ li r4, 0 -/* 802C203C 002BEF9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2040 002BEFA0 38 C3 FB D0 */ addi r6, r3, lbl_8059FBD0@l -/* 802C2044 002BEFA4 38 00 00 00 */ li r0, 0 -/* 802C2048 002BEFA8 38 A0 00 10 */ li r5, 0x10 -/* 802C204C 002BEFAC 90 06 00 00 */ stw r0, 0(r6) -/* 802C2050 002BEFB0 38 66 00 08 */ addi r3, r6, 8 -/* 802C2054 002BEFB4 90 06 00 04 */ stw r0, 4(r6) -/* 802C2058 002BEFB8 4B D4 13 51 */ bl memset -/* 802C205C 002BEFBC 3C 60 80 5A */ lis r3, lbl_8059FC78@ha -/* 802C2060 002BEFC0 38 00 00 00 */ li r0, 0 -/* 802C2064 002BEFC4 38 C3 FC 78 */ addi r6, r3, lbl_8059FC78@l -/* 802C2068 002BEFC8 38 80 00 00 */ li r4, 0 -/* 802C206C 002BEFCC 90 06 00 00 */ stw r0, 0(r6) -/* 802C2070 002BEFD0 38 66 00 08 */ addi r3, r6, 8 -/* 802C2074 002BEFD4 38 A0 00 10 */ li r5, 0x10 -/* 802C2078 002BEFD8 90 06 00 04 */ stw r0, 4(r6) -/* 802C207C 002BEFDC 4B D4 13 2D */ bl memset -/* 802C2080 002BEFE0 3C 60 80 5A */ lis r3, lbl_8059FC90@ha -/* 802C2084 002BEFE4 38 00 00 00 */ li r0, 0 -/* 802C2088 002BEFE8 38 C3 FC 90 */ addi r6, r3, lbl_8059FC90@l -/* 802C208C 002BEFEC 38 80 00 00 */ li r4, 0 -/* 802C2090 002BEFF0 90 06 00 00 */ stw r0, 0(r6) -/* 802C2094 002BEFF4 38 66 00 08 */ addi r3, r6, 8 -/* 802C2098 002BEFF8 38 A0 00 10 */ li r5, 0x10 -/* 802C209C 002BEFFC 90 06 00 04 */ stw r0, 4(r6) -/* 802C20A0 002BF000 4B D4 13 09 */ bl memset -/* 802C20A4 002BF004 3C 60 80 5A */ lis r3, lbl_8059FCA8@ha -/* 802C20A8 002BF008 38 00 00 00 */ li r0, 0 -/* 802C20AC 002BF00C 38 C3 FC A8 */ addi r6, r3, lbl_8059FCA8@l -/* 802C20B0 002BF010 38 80 00 00 */ li r4, 0 -/* 802C20B4 002BF014 90 06 00 00 */ stw r0, 0(r6) -/* 802C20B8 002BF018 38 66 00 08 */ addi r3, r6, 8 -/* 802C20BC 002BF01C 38 A0 00 10 */ li r5, 0x10 -/* 802C20C0 002BF020 90 06 00 04 */ stw r0, 4(r6) -/* 802C20C4 002BF024 4B D4 12 E5 */ bl memset -/* 802C20C8 002BF028 3C 60 80 5A */ lis r3, lbl_8059FCC0@ha -/* 802C20CC 002BF02C 38 00 00 00 */ li r0, 0 -/* 802C20D0 002BF030 38 C3 FC C0 */ addi r6, r3, lbl_8059FCC0@l -/* 802C20D4 002BF034 38 80 00 00 */ li r4, 0 -/* 802C20D8 002BF038 90 06 00 00 */ stw r0, 0(r6) -/* 802C20DC 002BF03C 38 66 00 08 */ addi r3, r6, 8 -/* 802C20E0 002BF040 38 A0 00 10 */ li r5, 0x10 -/* 802C20E4 002BF044 90 06 00 04 */ stw r0, 4(r6) -/* 802C20E8 002BF048 4B D4 12 C1 */ bl memset -/* 802C20EC 002BF04C 3C 60 80 5A */ lis r3, lbl_8059FCD8@ha -/* 802C20F0 002BF050 38 00 00 00 */ li r0, 0 -/* 802C20F4 002BF054 38 C3 FC D8 */ addi r6, r3, lbl_8059FCD8@l -/* 802C20F8 002BF058 38 80 00 00 */ li r4, 0 -/* 802C20FC 002BF05C 90 06 00 00 */ stw r0, 0(r6) -/* 802C2100 002BF060 38 66 00 08 */ addi r3, r6, 8 -/* 802C2104 002BF064 38 A0 00 10 */ li r5, 0x10 -/* 802C2108 002BF068 90 06 00 04 */ stw r0, 4(r6) -/* 802C210C 002BF06C 4B D4 12 9D */ bl memset -/* 802C2110 002BF070 3C 60 80 5A */ lis r3, lbl_8059FCF0@ha -/* 802C2114 002BF074 38 00 00 00 */ li r0, 0 -/* 802C2118 002BF078 38 C3 FC F0 */ addi r6, r3, lbl_8059FCF0@l -/* 802C211C 002BF07C 38 80 00 00 */ li r4, 0 -/* 802C2120 002BF080 90 06 00 00 */ stw r0, 0(r6) -/* 802C2124 002BF084 38 66 00 08 */ addi r3, r6, 8 -/* 802C2128 002BF088 38 A0 00 10 */ li r5, 0x10 -/* 802C212C 002BF08C 90 06 00 04 */ stw r0, 4(r6) -/* 802C2130 002BF090 4B D4 12 79 */ bl memset -/* 802C2134 002BF094 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2138 002BF098 7C 08 03 A6 */ mtlr r0 -/* 802C213C 002BF09C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2140 002BF0A0 4E 80 00 20 */ blr - -.global GetFrameLight__9CGuiFrameFi -GetFrameLight__9CGuiFrameFi: -/* 802C2144 002BF0A4 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802C2148 002BF0A8 54 80 10 3A */ slwi r0, r4, 2 -/* 802C214C 002BF0AC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802C2150 002BF0B0 4E 80 00 20 */ blr - -.global FindWidget__9CGuiFrameCFPCc -FindWidget__9CGuiFrameCFPCc: -/* 802C2154 002BF0B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C2158 002BF0B8 7C 08 02 A6 */ mflr r0 -/* 802C215C 002BF0BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2160 002BF0C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C2164 002BF0C4 7C 7F 1B 78 */ mr r31, r3 -/* 802C2168 002BF0C8 38 61 00 08 */ addi r3, r1, 8 -/* 802C216C 002BF0CC 4B D4 2B 4D */ bl string_l__4rstlFPCc -/* 802C2170 002BF0D0 7F E3 FB 78 */ mr r3, r31 -/* 802C2174 002BF0D4 38 81 00 08 */ addi r4, r1, 8 -/* 802C2178 002BF0D8 48 00 00 5D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C217C 002BF0DC 7C 7F 1B 78 */ mr r31, r3 -/* 802C2180 002BF0E0 38 61 00 08 */ addi r3, r1, 8 -/* 802C2184 002BF0E4 48 07 B9 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C2188 002BF0E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C218C 002BF0EC 7F E3 FB 78 */ mr r3, r31 -/* 802C2190 002BF0F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C2194 002BF0F4 7C 08 03 A6 */ mtlr r0 -/* 802C2198 002BF0F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C219C 002BF0FC 4E 80 00 20 */ blr - -.global SetFrameCamera__9CGuiFrameFP10CGuiCamera -SetFrameCamera__9CGuiFrameFP10CGuiCamera: -/* 802C21A0 002BF100 90 83 00 14 */ stw r4, 0x14(r3) -/* 802C21A4 002BF104 4E 80 00 20 */ blr - -.global SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget -SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget: -/* 802C21A8 002BF108 90 83 00 0C */ stw r4, 0xc(r3) -/* 802C21AC 002BF10C 4E 80 00 20 */ blr - -.global FindWidget__9CGuiFrameCFs -FindWidget__9CGuiFrameCFs: -/* 802C21B0 002BF110 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C21B4 002BF114 7C 08 02 A6 */ mflr r0 -/* 802C21B8 002BF118 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C21BC 002BF11C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802C21C0 002BF120 48 00 86 D9 */ bl FindWidget__10CGuiWidgetFs -/* 802C21C4 002BF124 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C21C8 002BF128 7C 08 03 A6 */ mtlr r0 -/* 802C21CC 002BF12C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C21D0 002BF130 4E 80 00 20 */ blr - -.global "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802C21D4 002BF134 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C21D8 002BF138 7C 08 02 A6 */ mflr r0 -/* 802C21DC 002BF13C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C21E0 002BF140 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C21E4 002BF144 7C 7F 1B 78 */ mr r31, r3 -/* 802C21E8 002BF148 38 7F 00 18 */ addi r3, r31, 0x18 -/* 802C21EC 002BF14C 48 00 8D 89 */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C21F0 002BF150 A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2) -/* 802C21F4 002BF154 7C 64 07 34 */ extsh r4, r3 -/* 802C21F8 002BF158 7C 04 00 00 */ cmpw r4, r0 -/* 802C21FC 002BF15C 41 82 00 10 */ beq lbl_802C220C -/* 802C2200 002BF160 7F E3 FB 78 */ mr r3, r31 -/* 802C2204 002BF164 4B FF FF AD */ bl FindWidget__9CGuiFrameCFs -/* 802C2208 002BF168 48 00 00 08 */ b lbl_802C2210 -lbl_802C220C: -/* 802C220C 002BF16C 38 60 00 00 */ li r3, 0 -lbl_802C2210: -/* 802C2210 002BF170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2214 002BF174 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C2218 002BF178 7C 08 03 A6 */ mtlr r0 -/* 802C221C 002BF17C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2220 002BF180 4E 80 00 20 */ blr - -.global sub_802c2224 -sub_802c2224: -/* 802C2224 002BF184 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C2228 002BF188 7C 08 02 A6 */ mflr r0 -/* 802C222C 002BF18C 7C 66 1B 78 */ mr r6, r3 -/* 802C2230 002BF190 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2234 002BF194 80 63 00 38 */ lwz r3, 0x38(r3) -/* 802C2238 002BF198 80 06 00 30 */ lwz r0, 0x30(r6) -/* 802C223C 002BF19C 90 61 00 10 */ stw r3, 0x10(r1) -/* 802C2240 002BF1A0 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2244 002BF1A4 7C A3 02 14 */ add r5, r3, r0 -/* 802C2248 002BF1A8 48 00 00 3C */ b lbl_802C2284 -lbl_802C224C: -/* 802C224C 002BF1AC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802C2250 002BF1B0 80 03 00 00 */ lwz r0, 0(r3) -/* 802C2254 002BF1B4 7C 00 20 40 */ cmplw r0, r4 -/* 802C2258 002BF1B8 40 82 00 20 */ bne lbl_802C2278 -/* 802C225C 002BF1BC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802C2260 002BF1C0 38 61 00 0C */ addi r3, r1, 0xc -/* 802C2264 002BF1C4 38 86 00 2C */ addi r4, r6, 0x2c -/* 802C2268 002BF1C8 38 A1 00 08 */ addi r5, r1, 8 -/* 802C226C 002BF1CC 90 01 00 08 */ stw r0, 8(r1) -/* 802C2270 002BF1D0 48 00 00 31 */ bl sub_802c22a0 -/* 802C2274 002BF1D4 48 00 00 1C */ b lbl_802C2290 -lbl_802C2278: -/* 802C2278 002BF1D8 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802C227C 002BF1DC 38 03 00 04 */ addi r0, r3, 4 -/* 802C2280 002BF1E0 90 01 00 10 */ stw r0, 0x10(r1) -lbl_802C2284: -/* 802C2284 002BF1E4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802C2288 002BF1E8 7C 00 28 40 */ cmplw r0, r5 -/* 802C228C 002BF1EC 40 82 FF C0 */ bne lbl_802C224C -lbl_802C2290: -/* 802C2290 002BF1F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C2294 002BF1F4 7C 08 03 A6 */ mtlr r0 -/* 802C2298 002BF1F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C229C 002BF1FC 4E 80 00 20 */ blr - -.global sub_802c22a0 -sub_802c22a0: -/* 802C22A0 002BF200 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C22A4 002BF204 7C 08 02 A6 */ mflr r0 -/* 802C22A8 002BF208 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C22AC 002BF20C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C22B0 002BF210 7C 7F 1B 78 */ mr r31, r3 -/* 802C22B4 002BF214 80 C5 00 00 */ lwz r6, 0(r5) -/* 802C22B8 002BF218 80 05 00 00 */ lwz r0, 0(r5) -/* 802C22BC 002BF21C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802C22C0 002BF220 38 E6 00 04 */ addi r7, r6, 4 -/* 802C22C4 002BF224 38 C1 00 0C */ addi r6, r1, 0xc -/* 802C22C8 002BF228 90 E1 00 08 */ stw r7, 8(r1) -/* 802C22CC 002BF22C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 802C22D0 002BF230 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C22D4 002BF234 48 00 00 19 */ bl sub_802c22ec -/* 802C22D8 002BF238 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C22DC 002BF23C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C22E0 002BF240 7C 08 03 A6 */ mtlr r0 -/* 802C22E4 002BF244 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C22E8 002BF248 4E 80 00 20 */ blr - -.global sub_802c22ec -sub_802c22ec: -/* 802C22EC 002BF24C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C22F0 002BF250 80 E5 00 00 */ lwz r7, 0(r5) -/* 802C22F4 002BF254 80 06 00 00 */ lwz r0, 0(r6) -/* 802C22F8 002BF258 90 E1 00 0C */ stw r7, 0xc(r1) -/* 802C22FC 002BF25C 90 01 00 08 */ stw r0, 8(r1) -/* 802C2300 002BF260 48 00 00 08 */ b lbl_802C2308 -lbl_802C2304: -/* 802C2304 002BF264 38 E7 00 04 */ addi r7, r7, 4 -lbl_802C2308: -/* 802C2308 002BF268 7C 07 00 40 */ cmplw r7, r0 -/* 802C230C 002BF26C 40 82 FF F8 */ bne lbl_802C2304 -/* 802C2310 002BF270 81 04 00 0C */ lwz r8, 0xc(r4) -/* 802C2314 002BF274 80 05 00 00 */ lwz r0, 0(r5) -/* 802C2318 002BF278 80 E6 00 00 */ lwz r7, 0(r6) -/* 802C231C 002BF27C 7C 08 00 50 */ subf r0, r8, r0 -/* 802C2320 002BF280 7C 00 16 70 */ srawi r0, r0, 2 -/* 802C2324 002BF284 7C C0 01 94 */ addze r6, r0 -/* 802C2328 002BF288 54 C0 10 3A */ slwi r0, r6, 2 -/* 802C232C 002BF28C 7C C9 33 78 */ mr r9, r6 -/* 802C2330 002BF290 7D 08 02 14 */ add r8, r8, r0 -/* 802C2334 002BF294 48 00 00 20 */ b lbl_802C2354 -lbl_802C2338: -/* 802C2338 002BF298 28 08 00 00 */ cmplwi r8, 0 -/* 802C233C 002BF29C 41 82 00 0C */ beq lbl_802C2348 -/* 802C2340 002BF2A0 80 07 00 00 */ lwz r0, 0(r7) -/* 802C2344 002BF2A4 90 08 00 00 */ stw r0, 0(r8) -lbl_802C2348: -/* 802C2348 002BF2A8 39 08 00 04 */ addi r8, r8, 4 -/* 802C234C 002BF2AC 39 29 00 01 */ addi r9, r9, 1 -/* 802C2350 002BF2B0 38 E7 00 04 */ addi r7, r7, 4 -lbl_802C2354: -/* 802C2354 002BF2B4 80 04 00 04 */ lwz r0, 4(r4) -/* 802C2358 002BF2B8 80 C4 00 0C */ lwz r6, 0xc(r4) -/* 802C235C 002BF2BC 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2360 002BF2C0 7C 06 02 14 */ add r0, r6, r0 -/* 802C2364 002BF2C4 7C 07 00 40 */ cmplw r7, r0 -/* 802C2368 002BF2C8 40 82 FF D0 */ bne lbl_802C2338 -/* 802C236C 002BF2CC 91 24 00 04 */ stw r9, 4(r4) -/* 802C2370 002BF2D0 80 05 00 00 */ lwz r0, 0(r5) -/* 802C2374 002BF2D4 90 03 00 00 */ stw r0, 0(r3) -/* 802C2378 002BF2D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C237C 002BF2DC 4E 80 00 20 */ blr - -.global SortDrawOrder__9CGuiFrameFv -SortDrawOrder__9CGuiFrameFv: -/* 802C2380 002BF2E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C2384 002BF2E4 7C 08 02 A6 */ mflr r0 -/* 802C2388 002BF2E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C238C 002BF2EC 38 81 00 14 */ addi r4, r1, 0x14 -/* 802C2390 002BF2F0 88 01 00 08 */ lbz r0, 8(r1) -/* 802C2394 002BF2F4 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C2398 002BF2F8 98 01 00 0C */ stb r0, 0xc(r1) -/* 802C239C 002BF2FC 80 03 00 30 */ lwz r0, 0x30(r3) -/* 802C23A0 002BF300 80 C3 00 38 */ lwz r6, 0x38(r3) -/* 802C23A4 002BF304 54 00 10 3A */ slwi r0, r0, 2 -/* 802C23A8 002BF308 7C C6 02 14 */ add r6, r6, r0 -/* 802C23AC 002BF30C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802C23B0 002BF310 80 03 00 38 */ lwz r0, 0x38(r3) -/* 802C23B4 002BF314 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C23B8 002BF318 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802C23BC 002BF31C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C23C0 002BF320 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C23C4 002BF324 48 00 0B 09 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" -/* 802C23C8 002BF328 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C23CC 002BF32C 7C 08 03 A6 */ mtlr r0 -/* 802C23D0 002BF330 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C23D4 002BF334 4E 80 00 20 */ blr - -.global EnableLights__9CGuiFrameCFUi -EnableLights__9CGuiFrameCFUi: -/* 802C23D8 002BF338 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C23DC 002BF33C 7C 08 02 A6 */ mflr r0 -/* 802C23E0 002BF340 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C23E4 002BF344 BF 41 00 68 */ stmw r26, 0x68(r1) -/* 802C23E8 002BF348 7C 7E 1B 78 */ mr r30, r3 -/* 802C23EC 002BF34C 7C 9F 23 78 */ mr r31, r4 -/* 802C23F0 002BF350 48 04 A5 8D */ bl DisableAllLights__9CGraphicsFv -/* 802C23F4 002BF354 48 08 7B C1 */ bl Black__6CColorFv -/* 802C23F8 002BF358 80 03 00 00 */ lwz r0, 0(r3) -/* 802C23FC 002BF35C 3B 80 00 00 */ li r28, 0 -/* 802C2400 002BF360 3B 60 00 00 */ li r27, 0 -/* 802C2404 002BF364 3B A0 00 00 */ li r29, 0 -/* 802C2408 002BF368 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C240C 002BF36C 48 00 00 B0 */ b lbl_802C24BC -lbl_802C2410: -/* 802C2410 002BF370 38 00 00 01 */ li r0, 1 -/* 802C2414 002BF374 7C 00 D8 30 */ slw r0, r0, r27 -/* 802C2418 002BF378 7F E0 00 39 */ and. r0, r31, r0 -/* 802C241C 002BF37C 41 82 00 98 */ beq lbl_802C24B4 -/* 802C2420 002BF380 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 802C2424 002BF384 7F 43 E8 2E */ lwzx r26, r3, r29 -/* 802C2428 002BF388 28 1A 00 00 */ cmplwi r26, 0 -/* 802C242C 002BF38C 41 82 00 88 */ beq lbl_802C24B4 -/* 802C2430 002BF390 7F 43 D3 78 */ mr r3, r26 -/* 802C2434 002BF394 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C2438 002BF398 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C243C 002BF39C 7D 89 03 A6 */ mtctr r12 -/* 802C2440 002BF3A0 4E 80 04 21 */ bctrl -/* 802C2444 002BF3A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C2448 002BF3A8 41 82 00 6C */ beq lbl_802C24B4 -/* 802C244C 002BF3AC 88 1A 00 A8 */ lbz r0, 0xa8(r26) -/* 802C2450 002BF3B0 28 00 00 00 */ cmplwi r0, 0 -/* 802C2454 002BF3B4 40 82 00 1C */ bne lbl_802C2470 -/* 802C2458 002BF3B8 88 1A 00 A9 */ lbz r0, 0xa9(r26) -/* 802C245C 002BF3BC 28 00 00 00 */ cmplwi r0, 0 -/* 802C2460 002BF3C0 40 82 00 10 */ bne lbl_802C2470 -/* 802C2464 002BF3C4 88 1A 00 AA */ lbz r0, 0xaa(r26) -/* 802C2468 002BF3C8 28 00 00 00 */ cmplwi r0, 0 -/* 802C246C 002BF3CC 41 82 00 24 */ beq lbl_802C2490 -lbl_802C2470: -/* 802C2470 002BF3D0 7F 44 D3 78 */ mr r4, r26 -/* 802C2474 002BF3D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C2478 002BF3D8 48 00 12 D5 */ bl BuildLight__9CGuiLightCFv -/* 802C247C 002BF3DC 7F 63 DB 78 */ mr r3, r27 -/* 802C2480 002BF3E0 38 81 00 14 */ addi r4, r1, 0x14 -/* 802C2484 002BF3E4 48 04 A5 41 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 802C2488 002BF3E8 7F 63 DB 78 */ mr r3, r27 -/* 802C248C 002BF3EC 48 04 A8 A5 */ bl EnableLight__9CGraphicsF9ERglLight -lbl_802C2490: -/* 802C2490 002BF3F0 80 1A 00 DC */ lwz r0, 0xdc(r26) -/* 802C2494 002BF3F4 38 61 00 0C */ addi r3, r1, 0xc -/* 802C2498 002BF3F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 802C249C 002BF3FC 38 A1 00 08 */ addi r5, r1, 8 -/* 802C24A0 002BF400 90 01 00 08 */ stw r0, 8(r1) -/* 802C24A4 002BF404 48 0A 0C 0D */ bl Add__6CColorFRC6CColorRC6CColor -/* 802C24A8 002BF408 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802C24AC 002BF40C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802C24B0 002BF410 90 01 00 10 */ stw r0, 0x10(r1) -lbl_802C24B4: -/* 802C24B4 002BF414 3B BD 00 04 */ addi r29, r29, 4 -/* 802C24B8 002BF418 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802C24BC: -/* 802C24BC 002BF41C 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 802C24C0 002BF420 7C 1B 00 00 */ cmpw r27, r0 -/* 802C24C4 002BF424 41 80 FF 4C */ blt lbl_802C2410 -/* 802C24C8 002BF428 2C 1C 00 00 */ cmpwi r28, 0 -/* 802C24CC 002BF42C 40 82 00 10 */ bne lbl_802C24DC -/* 802C24D0 002BF430 48 08 7A DD */ bl White__6CColorFv -/* 802C24D4 002BF434 48 04 9B 49 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802C24D8 002BF438 48 00 00 0C */ b lbl_802C24E4 -lbl_802C24DC: -/* 802C24DC 002BF43C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802C24E0 002BF440 48 04 9B 3D */ bl SetAmbientColor__9CGraphicsFRC6CColor -lbl_802C24E4: -/* 802C24E4 002BF444 BB 41 00 68 */ lmw r26, 0x68(r1) -/* 802C24E8 002BF448 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C24EC 002BF44C 7C 08 03 A6 */ mtlr r0 -/* 802C24F0 002BF450 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C24F4 002BF454 4E 80 00 20 */ blr - -.global DisableLights__9CGuiFrameCFv -DisableLights__9CGuiFrameCFv: -/* 802C24F8 002BF458 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C24FC 002BF45C 7C 08 02 A6 */ mflr r0 -/* 802C2500 002BF460 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2504 002BF464 48 04 A4 79 */ bl DisableAllLights__9CGraphicsFv -/* 802C2508 002BF468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C250C 002BF46C 7C 08 03 A6 */ mtlr r0 -/* 802C2510 002BF470 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2514 002BF474 4E 80 00 20 */ blr - -.global RemoveLight__9CGuiFrameFP9CGuiLight -RemoveLight__9CGuiFrameFP9CGuiLight: -/* 802C2518 002BF478 80 04 00 D8 */ lwz r0, 0xd8(r4) -/* 802C251C 002BF47C 80 A3 00 48 */ lwz r5, 0x48(r3) -/* 802C2520 002BF480 54 03 10 3A */ slwi r3, r0, 2 -/* 802C2524 002BF484 7C 05 18 2E */ lwzx r0, r5, r3 -/* 802C2528 002BF488 7C 00 20 40 */ cmplw r0, r4 -/* 802C252C 002BF48C 4C 82 00 20 */ bnelr -/* 802C2530 002BF490 38 00 00 00 */ li r0, 0 -/* 802C2534 002BF494 7C 05 19 2E */ stwx r0, r5, r3 -/* 802C2538 002BF498 4E 80 00 20 */ blr - -.global AddLight__9CGuiFrameFP9CGuiLight -AddLight__9CGuiFrameFP9CGuiLight: -/* 802C253C 002BF49C 80 04 00 D8 */ lwz r0, 0xd8(r4) -/* 802C2540 002BF4A0 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802C2544 002BF4A4 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2548 002BF4A8 7C 83 01 2E */ stwx r4, r3, r0 -/* 802C254C 002BF4AC 4E 80 00 20 */ blr - -.global GetIsFinishedLoading__9CGuiFrameCFv -GetIsFinishedLoading__9CGuiFrameCFv: -/* 802C2550 002BF4B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C2554 002BF4B4 7C 08 02 A6 */ mflr r0 -/* 802C2558 002BF4B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C255C 002BF4BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C2560 002BF4C0 93 C1 00 08 */ stw r30, 8(r1) -/* 802C2564 002BF4C4 7C 7E 1B 78 */ mr r30, r3 -/* 802C2568 002BF4C8 88 63 00 58 */ lbz r3, 0x58(r3) -/* 802C256C 002BF4CC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 802C2570 002BF4D0 41 82 00 0C */ beq lbl_802C257C -/* 802C2574 002BF4D4 38 60 00 01 */ li r3, 1 -/* 802C2578 002BF4D8 48 00 00 60 */ b lbl_802C25D8 -lbl_802C257C: -/* 802C257C 002BF4DC 38 00 00 01 */ li r0, 1 -/* 802C2580 002BF4E0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 802C2584 002BF4E4 98 7E 00 58 */ stb r3, 0x58(r30) -/* 802C2588 002BF4E8 83 FE 00 38 */ lwz r31, 0x38(r30) -/* 802C258C 002BF4EC 48 00 00 30 */ b lbl_802C25BC -lbl_802C2590: -/* 802C2590 002BF4F0 80 7F 00 00 */ lwz r3, 0(r31) -/* 802C2594 002BF4F4 48 00 83 A5 */ bl GetIsFinishedLoading__10CGuiWidgetCFv -/* 802C2598 002BF4F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C259C 002BF4FC 40 82 00 1C */ bne lbl_802C25B8 -/* 802C25A0 002BF500 88 1E 00 58 */ lbz r0, 0x58(r30) -/* 802C25A4 002BF504 38 60 00 00 */ li r3, 0 -/* 802C25A8 002BF508 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802C25AC 002BF50C 38 60 00 00 */ li r3, 0 -/* 802C25B0 002BF510 98 1E 00 58 */ stb r0, 0x58(r30) -/* 802C25B4 002BF514 48 00 00 24 */ b lbl_802C25D8 -lbl_802C25B8: -/* 802C25B8 002BF518 3B FF 00 04 */ addi r31, r31, 4 -lbl_802C25BC: -/* 802C25BC 002BF51C 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 802C25C0 002BF520 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 802C25C4 002BF524 54 00 10 3A */ slwi r0, r0, 2 -/* 802C25C8 002BF528 7C 03 02 14 */ add r0, r3, r0 -/* 802C25CC 002BF52C 7C 1F 00 40 */ cmplw r31, r0 -/* 802C25D0 002BF530 40 82 FF C0 */ bne lbl_802C2590 -/* 802C25D4 002BF534 38 60 00 01 */ li r3, 1 -lbl_802C25D8: -/* 802C25D8 002BF538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C25DC 002BF53C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C25E0 002BF540 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C25E4 002BF544 7C 08 03 A6 */ mtlr r0 -/* 802C25E8 002BF548 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C25EC 002BF54C 4E 80 00 20 */ blr - -.global Touch__9CGuiFrameCFv -Touch__9CGuiFrameCFv: -/* 802C25F0 002BF550 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C25F4 002BF554 7C 08 02 A6 */ mflr r0 -/* 802C25F8 002BF558 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C25FC 002BF55C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C2600 002BF560 93 C1 00 08 */ stw r30, 8(r1) -/* 802C2604 002BF564 7C 7E 1B 78 */ mr r30, r3 -/* 802C2608 002BF568 83 E3 00 38 */ lwz r31, 0x38(r3) -/* 802C260C 002BF56C 48 00 00 1C */ b lbl_802C2628 -lbl_802C2610: -/* 802C2610 002BF570 80 7F 00 00 */ lwz r3, 0(r31) -/* 802C2614 002BF574 81 83 00 00 */ lwz r12, 0(r3) -/* 802C2618 002BF578 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802C261C 002BF57C 7D 89 03 A6 */ mtctr r12 -/* 802C2620 002BF580 4E 80 04 21 */ bctrl -/* 802C2624 002BF584 3B FF 00 04 */ addi r31, r31, 4 -lbl_802C2628: -/* 802C2628 002BF588 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 802C262C 002BF58C 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 802C2630 002BF590 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2634 002BF594 7C 03 02 14 */ add r0, r3, r0 -/* 802C2638 002BF598 7C 1F 00 40 */ cmplw r31, r0 -/* 802C263C 002BF59C 40 82 FF D4 */ bne lbl_802C2610 -/* 802C2640 002BF5A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2644 002BF5A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C2648 002BF5A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C264C 002BF5AC 7C 08 03 A6 */ mtlr r0 -/* 802C2650 002BF5B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2654 002BF5B4 4E 80 00 20 */ blr - -.global ProcessUserInput__9CGuiFrameFRC11CFinalInput -ProcessUserInput__9CGuiFrameFRC11CFinalInput: -/* 802C2658 002BF5B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C265C 002BF5BC 7C 08 02 A6 */ mflr r0 -/* 802C2660 002BF5C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2664 002BF5C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C2668 002BF5C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C266C 002BF5CC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C2670 002BF5D0 7C 9D 23 78 */ mr r29, r4 -/* 802C2674 002BF5D4 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C2678 002BF5D8 7C 7C 1B 78 */ mr r28, r3 -/* 802C267C 002BF5DC 80 04 00 04 */ lwz r0, 4(r4) -/* 802C2680 002BF5E0 2C 00 00 00 */ cmpwi r0, 0 -/* 802C2684 002BF5E4 40 82 00 60 */ bne lbl_802C26E4 -/* 802C2688 002BF5E8 83 FC 00 38 */ lwz r31, 0x38(r28) -/* 802C268C 002BF5EC 48 00 00 40 */ b lbl_802C26CC -lbl_802C2690: -/* 802C2690 002BF5F0 83 DF 00 00 */ lwz r30, 0(r31) -/* 802C2694 002BF5F4 7F C3 F3 78 */ mr r3, r30 -/* 802C2698 002BF5F8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C269C 002BF5FC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802C26A0 002BF600 7D 89 03 A6 */ mtctr r12 -/* 802C26A4 002BF604 4E 80 04 21 */ bctrl -/* 802C26A8 002BF608 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C26AC 002BF60C 41 82 00 1C */ beq lbl_802C26C8 -/* 802C26B0 002BF610 7F C3 F3 78 */ mr r3, r30 -/* 802C26B4 002BF614 7F A4 EB 78 */ mr r4, r29 -/* 802C26B8 002BF618 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C26BC 002BF61C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802C26C0 002BF620 7D 89 03 A6 */ mtctr r12 -/* 802C26C4 002BF624 4E 80 04 21 */ bctrl -lbl_802C26C8: -/* 802C26C8 002BF628 3B FF 00 04 */ addi r31, r31, 4 -lbl_802C26CC: -/* 802C26CC 002BF62C 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 802C26D0 002BF630 80 7C 00 38 */ lwz r3, 0x38(r28) -/* 802C26D4 002BF634 54 00 10 3A */ slwi r0, r0, 2 -/* 802C26D8 002BF638 7C 03 02 14 */ add r0, r3, r0 -/* 802C26DC 002BF63C 7C 1F 00 40 */ cmplw r31, r0 -/* 802C26E0 002BF640 40 82 FF B0 */ bne lbl_802C2690 -lbl_802C26E4: -/* 802C26E4 002BF644 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C26E8 002BF648 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C26EC 002BF64C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C26F0 002BF650 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C26F4 002BF654 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C26F8 002BF658 7C 08 03 A6 */ mtlr r0 -/* 802C26FC 002BF65C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C2700 002BF660 4E 80 00 20 */ blr - -.global Update__9CGuiFrameFf -Update__9CGuiFrameFf: -/* 802C2704 002BF664 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C2708 002BF668 7C 08 02 A6 */ mflr r0 -/* 802C270C 002BF66C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2710 002BF670 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802C2714 002BF674 81 83 00 00 */ lwz r12, 0(r3) -/* 802C2718 002BF678 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802C271C 002BF67C 7D 89 03 A6 */ mtctr r12 -/* 802C2720 002BF680 4E 80 04 21 */ bctrl -/* 802C2724 002BF684 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2728 002BF688 7C 08 03 A6 */ mtlr r0 -/* 802C272C 002BF68C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2730 002BF690 4E 80 00 20 */ blr - -.global Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms -Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms: -/* 802C2734 002BF694 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C2738 002BF698 7C 08 02 A6 */ mflr r0 -/* 802C273C 002BF69C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2740 002BF6A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C2744 002BF6A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C2748 002BF6A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C274C 002BF6AC 7C 9D 23 78 */ mr r29, r4 -/* 802C2750 002BF6B0 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C2754 002BF6B4 7C 7C 1B 78 */ mr r28, r3 -/* 802C2758 002BF6B8 38 60 00 00 */ li r3, 0 -/* 802C275C 002BF6BC 48 04 93 15 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802C2760 002BF6C0 48 04 7B 1D */ bl ResetGfxStates__9CGraphicsFv -/* 802C2764 002BF6C4 48 08 78 49 */ bl White__6CColorFv -/* 802C2768 002BF6C8 48 04 98 B5 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802C276C 002BF6CC 7F 83 E3 78 */ mr r3, r28 -/* 802C2770 002BF6D0 4B FF FD 89 */ bl DisableLights__9CGuiFrameCFv -/* 802C2774 002BF6D4 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 802C2778 002BF6D8 7F A4 EB 78 */ mr r4, r29 -/* 802C277C 002BF6DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802C2780 002BF6E0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802C2784 002BF6E4 7D 89 03 A6 */ mtctr r12 -/* 802C2788 002BF6E8 4E 80 04 21 */ bctrl -/* 802C278C 002BF6EC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 802C2790 002BF6F0 38 60 00 00 */ li r3, 0 -/* 802C2794 002BF6F4 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 802C2798 002BF6F8 48 04 7B 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802C279C 002BF6FC 38 60 00 01 */ li r3, 1 -/* 802C27A0 002BF700 38 80 00 04 */ li r4, 4 -/* 802C27A4 002BF704 38 A0 00 05 */ li r5, 5 -/* 802C27A8 002BF708 38 C0 00 00 */ li r6, 0 -/* 802C27AC 002BF70C 48 04 92 A5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C27B0 002BF710 83 FC 00 38 */ lwz r31, 0x38(r28) -/* 802C27B4 002BF714 48 00 00 40 */ b lbl_802C27F4 -lbl_802C27B8: -/* 802C27B8 002BF718 83 DF 00 00 */ lwz r30, 0(r31) -/* 802C27BC 002BF71C 7F C3 F3 78 */ mr r3, r30 -/* 802C27C0 002BF720 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C27C4 002BF724 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C27C8 002BF728 7D 89 03 A6 */ mtctr r12 -/* 802C27CC 002BF72C 4E 80 04 21 */ bctrl -/* 802C27D0 002BF730 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C27D4 002BF734 41 82 00 1C */ beq lbl_802C27F0 -/* 802C27D8 002BF738 7F C3 F3 78 */ mr r3, r30 -/* 802C27DC 002BF73C 7F A4 EB 78 */ mr r4, r29 -/* 802C27E0 002BF740 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C27E4 002BF744 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802C27E8 002BF748 7D 89 03 A6 */ mtctr r12 -/* 802C27EC 002BF74C 4E 80 04 21 */ bctrl -lbl_802C27F0: -/* 802C27F0 002BF750 3B FF 00 04 */ addi r31, r31, 4 -lbl_802C27F4: -/* 802C27F4 002BF754 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 802C27F8 002BF758 80 7C 00 38 */ lwz r3, 0x38(r28) -/* 802C27FC 002BF75C 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2800 002BF760 7C 03 02 14 */ add r0, r3, r0 -/* 802C2804 002BF764 7C 1F 00 40 */ cmplw r31, r0 -/* 802C2808 002BF768 40 82 FF B0 */ bne lbl_802C27B8 -/* 802C280C 002BF76C 38 60 00 01 */ li r3, 1 -/* 802C2810 002BF770 48 04 92 61 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 802C2814 002BF774 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C2818 002BF778 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C281C 002BF77C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C2820 002BF780 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C2824 002BF784 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C2828 002BF788 7C 08 03 A6 */ mtlr r0 -/* 802C282C 002BF78C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C2830 002BF790 4E 80 00 20 */ blr - -.global Initialize__9CGuiFrameFv -Initialize__9CGuiFrameFv: -/* 802C2834 002BF794 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C2838 002BF798 7C 08 02 A6 */ mflr r0 -/* 802C283C 002BF79C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2840 002BF7A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C2844 002BF7A4 7C 7F 1B 78 */ mr r31, r3 -/* 802C2848 002BF7A8 4B FF FB 39 */ bl SortDrawOrder__9CGuiFrameFv -/* 802C284C 002BF7AC 83 FF 00 0C */ lwz r31, 0xc(r31) -/* 802C2850 002BF7B0 7F E3 FB 78 */ mr r3, r31 -/* 802C2854 002BF7B4 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 802C2858 002BF7B8 48 00 80 15 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 802C285C 002BF7BC 7F E3 FB 78 */ mr r3, r31 -/* 802C2860 002BF7C0 48 00 81 05 */ bl DispatchInitialize__10CGuiWidgetFv -/* 802C2864 002BF7C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C2868 002BF7C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C286C 002BF7CC 7C 08 03 A6 */ mtlr r0 -/* 802C2870 002BF7D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C2874 002BF7D4 4E 80 00 20 */ blr - -.global LoadWidgetsInGame__9CGuiFrameFR12CInputStream -LoadWidgetsInGame__9CGuiFrameFR12CInputStream: -/* 802C2878 002BF7D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C287C 002BF7DC 7C 08 02 A6 */ mflr r0 -/* 802C2880 002BF7E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2884 002BF7E4 BF 41 00 08 */ stmw r26, 8(r1) -/* 802C2888 002BF7E8 7C 9E 23 78 */ mr r30, r4 -/* 802C288C 002BF7EC 7C 7D 1B 78 */ mr r29, r3 -/* 802C2890 002BF7F0 7C BF 2B 78 */ mr r31, r5 -/* 802C2894 002BF7F4 7F C3 F3 78 */ mr r3, r30 -/* 802C2898 002BF7F8 48 07 C3 ED */ bl ReadLong__12CInputStreamFv -/* 802C289C 002BF7FC 7C 7C 1B 78 */ mr r28, r3 -/* 802C28A0 002BF800 38 7D 00 2C */ addi r3, r29, 0x2c -/* 802C28A4 002BF804 7F 84 E3 78 */ mr r4, r28 -/* 802C28A8 002BF808 48 00 08 59 */ bl "reserve__Q24rstl48vectorFi" -/* 802C28AC 002BF80C 7F 84 E3 78 */ mr r4, r28 -/* 802C28B0 002BF810 38 7D 00 18 */ addi r3, r29, 0x18 -/* 802C28B4 002BF814 48 00 87 F1 */ bl sub_802cb0a4 -/* 802C28B8 002BF818 3B 60 00 00 */ li r27, 0 -/* 802C28BC 002BF81C 48 00 00 CC */ b lbl_802C2988 -lbl_802C28C0: -/* 802C28C0 002BF820 7F C3 F3 78 */ mr r3, r30 -/* 802C28C4 002BF824 48 07 C3 C1 */ bl ReadLong__12CInputStreamFv -/* 802C28C8 002BF828 7F C4 F3 78 */ mr r4, r30 -/* 802C28CC 002BF82C 7F A5 EB 78 */ mr r5, r29 -/* 802C28D0 002BF830 7F E6 FB 78 */ mr r6, r31 -/* 802C28D4 002BF834 48 00 3B 11 */ bl CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame -/* 802C28D8 002BF838 81 83 00 00 */ lwz r12, 0(r3) -/* 802C28DC 002BF83C 7C 7A 1B 78 */ mr r26, r3 -/* 802C28E0 002BF840 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 802C28E4 002BF844 7D 89 03 A6 */ mtctr r12 -/* 802C28E8 002BF848 4E 80 04 21 */ bctrl -/* 802C28EC 002BF84C 3C 03 BC BF */ addis r0, r3, 0xbcbf -/* 802C28F0 002BF850 28 00 4D 52 */ cmplwi r0, 0x4d52 -/* 802C28F4 002BF854 41 82 00 90 */ beq lbl_802C2984 -/* 802C28F8 002BF858 7F 43 D3 78 */ mr r3, r26 -/* 802C28FC 002BF85C 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C2900 002BF860 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 802C2904 002BF864 7D 89 03 A6 */ mtctr r12 -/* 802C2908 002BF868 4E 80 04 21 */ bctrl -/* 802C290C 002BF86C 3C 03 B3 B7 */ addis r0, r3, 0xb3b7 -/* 802C2910 002BF870 28 00 54 45 */ cmplwi r0, 0x5445 -/* 802C2914 002BF874 41 82 00 70 */ beq lbl_802C2984 -/* 802C2918 002BF878 7F 43 D3 78 */ mr r3, r26 -/* 802C291C 002BF87C 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C2920 002BF880 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 802C2924 002BF884 7D 89 03 A6 */ mtctr r12 -/* 802C2928 002BF888 4E 80 04 21 */ bctrl -/* 802C292C 002BF88C 3C 03 BD B9 */ addis r0, r3, 0xbdb9 -/* 802C2930 002BF890 28 00 4E 44 */ cmplwi r0, 0x4e44 -/* 802C2934 002BF894 41 82 00 50 */ beq lbl_802C2984 -/* 802C2938 002BF898 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 802C293C 002BF89C 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 802C2940 002BF8A0 7C 00 28 00 */ cmpw r0, r5 -/* 802C2944 002BF8A4 41 80 00 1C */ blt lbl_802C2960 -/* 802C2948 002BF8A8 2C 05 00 00 */ cmpwi r5, 0 -/* 802C294C 002BF8AC 38 7D 00 2C */ addi r3, r29, 0x2c -/* 802C2950 002BF8B0 38 80 00 04 */ li r4, 4 -/* 802C2954 002BF8B4 41 82 00 08 */ beq lbl_802C295C -/* 802C2958 002BF8B8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802C295C: -/* 802C295C 002BF8BC 48 00 07 A5 */ bl "reserve__Q24rstl48vectorFi" -lbl_802C2960: -/* 802C2960 002BF8C0 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 802C2964 002BF8C4 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 802C2968 002BF8C8 54 00 10 3A */ slwi r0, r0, 2 -/* 802C296C 002BF8CC 7C 63 02 15 */ add. r3, r3, r0 -/* 802C2970 002BF8D0 41 82 00 08 */ beq lbl_802C2978 -/* 802C2974 002BF8D4 93 43 00 00 */ stw r26, 0(r3) -lbl_802C2978: -/* 802C2978 002BF8D8 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 802C297C 002BF8DC 38 03 00 01 */ addi r0, r3, 1 -/* 802C2980 002BF8E0 90 1D 00 30 */ stw r0, 0x30(r29) -lbl_802C2984: -/* 802C2984 002BF8E4 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802C2988: -/* 802C2988 002BF8E8 7C 1B E0 00 */ cmpw r27, r28 -/* 802C298C 002BF8EC 41 80 FF 34 */ blt lbl_802C28C0 -/* 802C2990 002BF8F0 7F A3 EB 78 */ mr r3, r29 -/* 802C2994 002BF8F4 4B FF FE A1 */ bl Initialize__9CGuiFrameFv -/* 802C2998 002BF8F8 BB 41 00 08 */ lmw r26, 8(r1) -/* 802C299C 002BF8FC 38 60 00 00 */ li r3, 0 -/* 802C29A0 002BF900 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C29A4 002BF904 7C 08 03 A6 */ mtlr r0 -/* 802C29A8 002BF908 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C29AC 002BF90C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__10CGuiWidgetCFv -GetWidgetTypeID__10CGuiWidgetCFv: -/* 802C29B0 002BF910 3C 60 42 57 */ lis r3, 0x42574947@ha -/* 802C29B4 002BF914 38 63 49 47 */ addi r3, r3, 0x42574947@l -/* 802C29B8 002BF918 4E 80 00 20 */ blr - -.global CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami -CreateFrame__9CGuiFrameFUiR7CGuiSysR12CInputStreami: -/* 802C29BC 002BF91C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C29C0 002BF920 7C 08 02 A6 */ mflr r0 -/* 802C29C4 002BF924 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C29C8 002BF928 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 802C29CC 002BF92C 7C BA 2B 78 */ mr r26, r5 -/* 802C29D0 002BF930 7C 78 1B 78 */ mr r24, r3 -/* 802C29D4 002BF934 7C 99 23 78 */ mr r25, r4 -/* 802C29D8 002BF938 7C DB 33 78 */ mr r27, r6 -/* 802C29DC 002BF93C 7F 43 D3 78 */ mr r3, r26 -/* 802C29E0 002BF940 48 07 C2 A5 */ bl ReadLong__12CInputStreamFv -/* 802C29E4 002BF944 7F 43 D3 78 */ mr r3, r26 -/* 802C29E8 002BF948 48 07 C2 9D */ bl ReadLong__12CInputStreamFv -/* 802C29EC 002BF94C 7C 60 1B 78 */ mr r0, r3 -/* 802C29F0 002BF950 7F 43 D3 78 */ mr r3, r26 -/* 802C29F4 002BF954 7C 1E 03 78 */ mr r30, r0 -/* 802C29F8 002BF958 48 07 C2 8D */ bl ReadLong__12CInputStreamFv -/* 802C29FC 002BF95C 7C 60 1B 78 */ mr r0, r3 -/* 802C2A00 002BF960 7F 43 D3 78 */ mr r3, r26 -/* 802C2A04 002BF964 7C 1D 03 78 */ mr r29, r0 -/* 802C2A08 002BF968 48 07 C2 7D */ bl ReadLong__12CInputStreamFv -/* 802C2A0C 002BF96C 7C 60 1B 78 */ mr r0, r3 -/* 802C2A10 002BF970 3C 80 80 3D */ lis r4, lbl_803D6890@ha -/* 802C2A14 002BF974 38 60 00 5C */ li r3, 0x5c -/* 802C2A18 002BF978 38 A0 00 00 */ li r5, 0 -/* 802C2A1C 002BF97C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l -/* 802C2A20 002BF980 7C 1C 03 78 */ mr r28, r0 -/* 802C2A24 002BF984 48 05 2E 49 */ bl __nw__FUlPCcPCc -/* 802C2A28 002BF988 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802C2A2C 002BF98C 41 82 00 24 */ beq lbl_802C2A50 -/* 802C2A30 002BF990 7F 04 C3 78 */ mr r4, r24 -/* 802C2A34 002BF994 7F 25 CB 78 */ mr r5, r25 -/* 802C2A38 002BF998 7F C6 F3 78 */ mr r6, r30 -/* 802C2A3C 002BF99C 7F A7 EB 78 */ mr r7, r29 -/* 802C2A40 002BF9A0 7F 88 E3 78 */ mr r8, r28 -/* 802C2A44 002BF9A4 7F 69 DB 78 */ mr r9, r27 -/* 802C2A48 002BF9A8 48 00 01 F1 */ bl __ct__9CGuiFrameFUiR7CGuiSysiiii -/* 802C2A4C 002BF9AC 7C 7F 1B 78 */ mr r31, r3 -lbl_802C2A50: -/* 802C2A50 002BF9B0 93 ED A6 38 */ stw r31, lbl_805A91F8@sda21(r13) -/* 802C2A54 002BF9B4 7F E3 FB 78 */ mr r3, r31 -/* 802C2A58 002BF9B8 7F 44 D3 78 */ mr r4, r26 -/* 802C2A5C 002BF9BC 7F 65 DB 78 */ mr r5, r27 -/* 802C2A60 002BF9C0 4B FF FE 19 */ bl LoadWidgetsInGame__9CGuiFrameFR12CInputStream -/* 802C2A64 002BF9C4 7F E3 FB 78 */ mr r3, r31 -/* 802C2A68 002BF9C8 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 802C2A6C 002BF9CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C2A70 002BF9D0 7C 08 03 A6 */ mtlr r0 -/* 802C2A74 002BF9D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C2A78 002BF9D8 4E 80 00 20 */ blr - -.global __dt__9CGuiFrameFv -__dt__9CGuiFrameFv: -/* 802C2A7C 002BF9DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C2A80 002BF9E0 7C 08 02 A6 */ mflr r0 -/* 802C2A84 002BF9E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C2A88 002BF9E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C2A8C 002BF9EC 7C 9F 23 78 */ mr r31, r4 -/* 802C2A90 002BF9F0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C2A94 002BF9F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C2A98 002BF9F8 41 82 00 D4 */ beq lbl_802C2B6C -/* 802C2A9C 002BF9FC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802C2AA0 002BFA00 28 03 00 00 */ cmplwi r3, 0 -/* 802C2AA4 002BFA04 41 82 00 1C */ beq lbl_802C2AC0 -/* 802C2AA8 002BFA08 41 82 00 18 */ beq lbl_802C2AC0 -/* 802C2AAC 002BFA0C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C2AB0 002BFA10 38 80 00 01 */ li r4, 1 -/* 802C2AB4 002BFA14 81 8C 00 08 */ lwz r12, 8(r12) -/* 802C2AB8 002BFA18 7D 89 03 A6 */ mtctr r12 -/* 802C2ABC 002BFA1C 4E 80 04 21 */ bctrl -lbl_802C2AC0: -/* 802C2AC0 002BFA20 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 802C2AC4 002BFA24 41 82 00 44 */ beq lbl_802C2B08 -/* 802C2AC8 002BFA28 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 802C2ACC 002BFA2C 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 802C2AD0 002BFA30 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2AD4 002BFA34 7C 03 02 14 */ add r0, r3, r0 -/* 802C2AD8 002BFA38 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802C2ADC 002BFA3C 7C 64 1B 78 */ mr r4, r3 -/* 802C2AE0 002BFA40 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2AE4 002BFA44 90 01 00 20 */ stw r0, 0x20(r1) -/* 802C2AE8 002BFA48 90 61 00 18 */ stw r3, 0x18(r1) -/* 802C2AEC 002BFA4C 48 00 00 08 */ b lbl_802C2AF4 -lbl_802C2AF0: -/* 802C2AF0 002BFA50 38 84 00 04 */ addi r4, r4, 4 -lbl_802C2AF4: -/* 802C2AF4 002BFA54 7C 04 00 40 */ cmplw r4, r0 -/* 802C2AF8 002BFA58 40 82 FF F8 */ bne lbl_802C2AF0 -/* 802C2AFC 002BFA5C 28 03 00 00 */ cmplwi r3, 0 -/* 802C2B00 002BFA60 41 82 00 08 */ beq lbl_802C2B08 -/* 802C2B04 002BFA64 48 05 2E 2D */ bl Free__7CMemoryFPCv -lbl_802C2B08: -/* 802C2B08 002BFA68 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 802C2B0C 002BFA6C 41 82 00 44 */ beq lbl_802C2B50 -/* 802C2B10 002BFA70 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 802C2B14 002BFA74 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 802C2B18 002BFA78 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2B1C 002BFA7C 7C 03 02 14 */ add r0, r3, r0 -/* 802C2B20 002BFA80 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C2B24 002BFA84 7C 64 1B 78 */ mr r4, r3 -/* 802C2B28 002BFA88 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2B2C 002BFA8C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C2B30 002BFA90 90 61 00 08 */ stw r3, 8(r1) -/* 802C2B34 002BFA94 48 00 00 08 */ b lbl_802C2B3C -lbl_802C2B38: -/* 802C2B38 002BFA98 38 84 00 04 */ addi r4, r4, 4 -lbl_802C2B3C: -/* 802C2B3C 002BFA9C 7C 04 00 40 */ cmplw r4, r0 -/* 802C2B40 002BFAA0 40 82 FF F8 */ bne lbl_802C2B38 -/* 802C2B44 002BFAA4 28 03 00 00 */ cmplwi r3, 0 -/* 802C2B48 002BFAA8 41 82 00 08 */ beq lbl_802C2B50 -/* 802C2B4C 002BFAAC 48 05 2D E5 */ bl Free__7CMemoryFPCv -lbl_802C2B50: -/* 802C2B50 002BFAB0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802C2B54 002BFAB4 38 80 FF FF */ li r4, -1 -/* 802C2B58 002BFAB8 48 00 00 31 */ bl sub_802c2b88 -/* 802C2B5C 002BFABC 7F E0 07 35 */ extsh. r0, r31 -/* 802C2B60 002BFAC0 40 81 00 0C */ ble lbl_802C2B6C -/* 802C2B64 002BFAC4 7F C3 F3 78 */ mr r3, r30 -/* 802C2B68 002BFAC8 48 05 2D C9 */ bl Free__7CMemoryFPCv -lbl_802C2B6C: -/* 802C2B6C 002BFACC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C2B70 002BFAD0 7F C3 F3 78 */ mr r3, r30 -/* 802C2B74 002BFAD4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C2B78 002BFAD8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C2B7C 002BFADC 7C 08 03 A6 */ mtlr r0 -/* 802C2B80 002BFAE0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C2B84 002BFAE4 4E 80 00 20 */ blr - -.global sub_802c2b88 -sub_802c2b88: -/* 802C2B88 002BFAE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C2B8C 002BFAEC 7C 08 02 A6 */ mflr r0 -/* 802C2B90 002BFAF0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C2B94 002BFAF4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C2B98 002BFAF8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C2B9C 002BFAFC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C2BA0 002BFB00 7C 9D 23 78 */ mr r29, r4 -/* 802C2BA4 002BFB04 93 81 00 20 */ stw r28, 0x20(r1) -/* 802C2BA8 002BFB08 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802C2BAC 002BFB0C 41 82 00 68 */ beq lbl_802C2C14 -/* 802C2BB0 002BFB10 41 82 00 54 */ beq lbl_802C2C04 -/* 802C2BB4 002BFB14 80 1C 00 04 */ lwz r0, 4(r28) -/* 802C2BB8 002BFB18 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802C2BBC 002BFB1C 54 00 20 36 */ slwi r0, r0, 4 -/* 802C2BC0 002BFB20 7F FE 02 14 */ add r31, r30, r0 -/* 802C2BC4 002BFB24 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802C2BC8 002BFB28 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802C2BCC 002BFB2C 93 E1 00 10 */ stw r31, 0x10(r1) -/* 802C2BD0 002BFB30 93 C1 00 08 */ stw r30, 8(r1) -/* 802C2BD4 002BFB34 48 00 00 18 */ b lbl_802C2BEC -lbl_802C2BD8: -/* 802C2BD8 002BFB38 28 1E 00 00 */ cmplwi r30, 0 -/* 802C2BDC 002BFB3C 41 82 00 0C */ beq lbl_802C2BE8 -/* 802C2BE0 002BFB40 7F C3 F3 78 */ mr r3, r30 -/* 802C2BE4 002BFB44 48 07 AE FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802C2BE8: -/* 802C2BE8 002BFB48 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_802C2BEC: -/* 802C2BEC 002BFB4C 7C 1E F8 40 */ cmplw r30, r31 -/* 802C2BF0 002BFB50 40 82 FF E8 */ bne lbl_802C2BD8 -/* 802C2BF4 002BFB54 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802C2BF8 002BFB58 28 03 00 00 */ cmplwi r3, 0 -/* 802C2BFC 002BFB5C 41 82 00 08 */ beq lbl_802C2C04 -/* 802C2C00 002BFB60 48 05 2D 31 */ bl Free__7CMemoryFPCv -lbl_802C2C04: -/* 802C2C04 002BFB64 7F A0 07 35 */ extsh. r0, r29 -/* 802C2C08 002BFB68 40 81 00 0C */ ble lbl_802C2C14 -/* 802C2C0C 002BFB6C 7F 83 E3 78 */ mr r3, r28 -/* 802C2C10 002BFB70 48 05 2D 21 */ bl Free__7CMemoryFPCv -lbl_802C2C14: -/* 802C2C14 002BFB74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C2C18 002BFB78 7F 83 E3 78 */ mr r3, r28 -/* 802C2C1C 002BFB7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C2C20 002BFB80 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C2C24 002BFB84 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C2C28 002BFB88 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802C2C2C 002BFB8C 7C 08 03 A6 */ mtlr r0 -/* 802C2C30 002BFB90 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C2C34 002BFB94 4E 80 00 20 */ blr - -.global __ct__9CGuiFrameFUiR7CGuiSysiiii -__ct__9CGuiFrameFUiR7CGuiSysiiii: -/* 802C2C38 002BFB98 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802C2C3C 002BFB9C 7C 08 02 A6 */ mflr r0 -/* 802C2C40 002BFBA0 90 01 00 64 */ stw r0, 0x64(r1) -/* 802C2C44 002BFBA4 38 00 00 00 */ li r0, 0 -/* 802C2C48 002BFBA8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802C2C4C 002BFBAC 7D 1F 43 78 */ mr r31, r8 -/* 802C2C50 002BFBB0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802C2C54 002BFBB4 7C FE 3B 78 */ mr r30, r7 -/* 802C2C58 002BFBB8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802C2C5C 002BFBBC 7C DD 33 78 */ mr r29, r6 -/* 802C2C60 002BFBC0 93 81 00 50 */ stw r28, 0x50(r1) -/* 802C2C64 002BFBC4 7C 7C 1B 78 */ mr r28, r3 -/* 802C2C68 002BFBC8 90 83 00 00 */ stw r4, 0(r3) -/* 802C2C6C 002BFBCC 90 03 00 04 */ stw r0, 4(r3) -/* 802C2C70 002BFBD0 38 7C 00 18 */ addi r3, r28, 0x18 -/* 802C2C74 002BFBD4 90 BC 00 08 */ stw r5, 8(r28) -/* 802C2C78 002BFBD8 90 1C 00 0C */ stw r0, 0xc(r28) -/* 802C2C7C 002BFBDC 90 1C 00 10 */ stw r0, 0x10(r28) -/* 802C2C80 002BFBE0 90 1C 00 14 */ stw r0, 0x14(r28) -/* 802C2C84 002BFBE4 48 00 84 49 */ bl __ct__14CGuiWidgetIdDBFv -/* 802C2C88 002BFBE8 38 80 00 00 */ li r4, 0 -/* 802C2C8C 002BFBEC 38 00 00 08 */ li r0, 8 -/* 802C2C90 002BFBF0 90 9C 00 30 */ stw r4, 0x30(r28) -/* 802C2C94 002BFBF4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802C2C98 002BFBF8 90 9C 00 34 */ stw r4, 0x34(r28) -/* 802C2C9C 002BFBFC 90 9C 00 38 */ stw r4, 0x38(r28) -/* 802C2CA0 002BFC00 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802C2CA4 002BFC04 90 01 00 30 */ stw r0, 0x30(r1) -/* 802C2CA8 002BFC08 40 82 00 0C */ bne lbl_802C2CB4 -/* 802C2CAC 002BFC0C 90 81 00 34 */ stw r4, 0x34(r1) -/* 802C2CB0 002BFC10 48 00 00 18 */ b lbl_802C2CC8 -lbl_802C2CB4: -/* 802C2CB4 002BFC14 3C 80 80 3D */ lis r4, lbl_803D6890@ha -/* 802C2CB8 002BFC18 38 A0 00 00 */ li r5, 0 -/* 802C2CBC 002BFC1C 38 84 68 90 */ addi r4, r4, lbl_803D6890@l -/* 802C2CC0 002BFC20 48 05 2B 59 */ bl __nwa__FUlPCcPCc -/* 802C2CC4 002BFC24 90 61 00 34 */ stw r3, 0x34(r1) -lbl_802C2CC8: -/* 802C2CC8 002BFC28 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802C2CCC 002BFC2C 38 00 00 00 */ li r0, 0 -/* 802C2CD0 002BFC30 28 03 00 00 */ cmplwi r3, 0 -/* 802C2CD4 002BFC34 41 82 00 08 */ beq lbl_802C2CDC -/* 802C2CD8 002BFC38 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2CDC: -/* 802C2CDC 002BFC3C 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2CE0 002BFC40 41 82 00 08 */ beq lbl_802C2CE8 -/* 802C2CE4 002BFC44 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2CE8: -/* 802C2CE8 002BFC48 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2CEC 002BFC4C 41 82 00 08 */ beq lbl_802C2CF4 -/* 802C2CF0 002BFC50 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2CF4: -/* 802C2CF4 002BFC54 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2CF8 002BFC58 41 82 00 08 */ beq lbl_802C2D00 -/* 802C2CFC 002BFC5C 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2D00: -/* 802C2D00 002BFC60 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2D04 002BFC64 41 82 00 08 */ beq lbl_802C2D0C -/* 802C2D08 002BFC68 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2D0C: -/* 802C2D0C 002BFC6C 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2D10 002BFC70 41 82 00 08 */ beq lbl_802C2D18 -/* 802C2D14 002BFC74 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2D18: -/* 802C2D18 002BFC78 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2D1C 002BFC7C 41 82 00 08 */ beq lbl_802C2D24 -/* 802C2D20 002BFC80 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2D24: -/* 802C2D24 002BFC84 34 63 00 04 */ addic. r3, r3, 4 -/* 802C2D28 002BFC88 41 82 00 08 */ beq lbl_802C2D30 -/* 802C2D2C 002BFC8C 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2D30: -/* 802C2D30 002BFC90 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802C2D34 002BFC94 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802C2D38 002BFC98 90 7C 00 40 */ stw r3, 0x40(r28) -/* 802C2D3C 002BFC9C 2C 03 00 00 */ cmpwi r3, 0 -/* 802C2D40 002BFCA0 90 1C 00 44 */ stw r0, 0x44(r28) -/* 802C2D44 002BFCA4 40 82 00 18 */ bne lbl_802C2D5C -/* 802C2D48 002BFCA8 2C 00 00 00 */ cmpwi r0, 0 -/* 802C2D4C 002BFCAC 40 82 00 10 */ bne lbl_802C2D5C -/* 802C2D50 002BFCB0 38 00 00 00 */ li r0, 0 -/* 802C2D54 002BFCB4 90 1C 00 48 */ stw r0, 0x48(r28) -/* 802C2D58 002BFCB8 48 00 00 64 */ b lbl_802C2DBC -lbl_802C2D5C: -/* 802C2D5C 002BFCBC 80 1C 00 44 */ lwz r0, 0x44(r28) -/* 802C2D60 002BFCC0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802C2D64 002BFCC4 40 82 00 10 */ bne lbl_802C2D74 -/* 802C2D68 002BFCC8 38 00 00 00 */ li r0, 0 -/* 802C2D6C 002BFCCC 90 1C 00 48 */ stw r0, 0x48(r28) -/* 802C2D70 002BFCD0 48 00 00 18 */ b lbl_802C2D88 -lbl_802C2D74: -/* 802C2D74 002BFCD4 3C 80 80 3D */ lis r4, lbl_803D6890@ha -/* 802C2D78 002BFCD8 38 A0 00 00 */ li r5, 0 -/* 802C2D7C 002BFCDC 38 84 68 90 */ addi r4, r4, lbl_803D6890@l -/* 802C2D80 002BFCE0 48 05 2A 99 */ bl __nwa__FUlPCcPCc -/* 802C2D84 002BFCE4 90 7C 00 48 */ stw r3, 0x48(r28) -lbl_802C2D88: -/* 802C2D88 002BFCE8 80 1C 00 40 */ lwz r0, 0x40(r28) -/* 802C2D8C 002BFCEC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 802C2D90 002BFCF0 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 802C2D94 002BFCF4 7C 09 03 A6 */ mtctr r0 -/* 802C2D98 002BFCF8 2C 00 00 00 */ cmpwi r0, 0 -/* 802C2D9C 002BFCFC 40 81 00 20 */ ble lbl_802C2DBC -lbl_802C2DA0: -/* 802C2DA0 002BFD00 28 03 00 00 */ cmplwi r3, 0 -/* 802C2DA4 002BFD04 41 82 00 0C */ beq lbl_802C2DB0 -/* 802C2DA8 002BFD08 80 04 00 00 */ lwz r0, 0(r4) -/* 802C2DAC 002BFD0C 90 03 00 00 */ stw r0, 0(r3) -lbl_802C2DB0: -/* 802C2DB0 002BFD10 38 63 00 04 */ addi r3, r3, 4 -/* 802C2DB4 002BFD14 38 84 00 04 */ addi r4, r4, 4 -/* 802C2DB8 002BFD18 42 00 FF E8 */ bdnz lbl_802C2DA0 -lbl_802C2DBC: -/* 802C2DBC 002BFD1C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802C2DC0 002BFD20 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802C2DC4 002BFD24 54 00 10 3A */ slwi r0, r0, 2 -/* 802C2DC8 002BFD28 7C 03 02 14 */ add r0, r3, r0 -/* 802C2DCC 002BFD2C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802C2DD0 002BFD30 7C 64 1B 78 */ mr r4, r3 -/* 802C2DD4 002BFD34 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C2DD8 002BFD38 90 01 00 20 */ stw r0, 0x20(r1) -/* 802C2DDC 002BFD3C 90 61 00 18 */ stw r3, 0x18(r1) -/* 802C2DE0 002BFD40 48 00 00 08 */ b lbl_802C2DE8 -lbl_802C2DE4: -/* 802C2DE4 002BFD44 38 84 00 04 */ addi r4, r4, 4 -lbl_802C2DE8: -/* 802C2DE8 002BFD48 7C 04 00 40 */ cmplw r4, r0 -/* 802C2DEC 002BFD4C 40 82 FF F8 */ bne lbl_802C2DE4 -/* 802C2DF0 002BFD50 28 03 00 00 */ cmplwi r3, 0 -/* 802C2DF4 002BFD54 41 82 00 08 */ beq lbl_802C2DFC -/* 802C2DF8 002BFD58 48 05 2B 39 */ bl Free__7CMemoryFPCv -lbl_802C2DFC: -/* 802C2DFC 002BFD5C 93 BC 00 4C */ stw r29, 0x4c(r28) -/* 802C2E00 002BFD60 3C 60 80 3D */ lis r3, lbl_803D6890@ha -/* 802C2E04 002BFD64 38 83 68 90 */ addi r4, r3, lbl_803D6890@l -/* 802C2E08 002BFD68 38 C0 00 00 */ li r6, 0 -/* 802C2E0C 002BFD6C 93 DC 00 50 */ stw r30, 0x50(r28) -/* 802C2E10 002BFD70 38 60 00 B8 */ li r3, 0xb8 -/* 802C2E14 002BFD74 38 A0 00 00 */ li r5, 0 -/* 802C2E18 002BFD78 93 FC 00 54 */ stw r31, 0x54(r28) -/* 802C2E1C 002BFD7C 88 1C 00 58 */ lbz r0, 0x58(r28) -/* 802C2E20 002BFD80 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802C2E24 002BFD84 98 1C 00 58 */ stb r0, 0x58(r28) -/* 802C2E28 002BFD88 48 05 2A 45 */ bl __nw__FUlPCcPCc -/* 802C2E2C 002BFD8C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C2E30 002BFD90 41 82 00 74 */ beq lbl_802C2EA4 -/* 802C2E34 002BFD94 80 7C 00 08 */ lwz r3, 8(r28) -/* 802C2E38 002BFD98 AB E2 C4 10 */ lha r31, lbl_805AE130@sda21(r2) -/* 802C2E3C 002BFD9C 80 03 00 08 */ lwz r0, 8(r3) -/* 802C2E40 002BFDA0 7C 00 00 34 */ cntlzw r0, r0 -/* 802C2E44 002BFDA4 54 1E D9 7E */ srwi r30, r0, 5 -/* 802C2E48 002BFDA8 48 08 71 65 */ bl White__6CColorFv -/* 802C2E4C 002BFDAC 90 61 00 08 */ stw r3, 8(r1) -/* 802C2E50 002BFDB0 38 80 00 02 */ li r4, 2 -/* 802C2E54 002BFDB4 57 C0 06 3E */ clrlwi r0, r30, 0x18 -/* 802C2E58 002BFDB8 38 60 00 00 */ li r3, 0 -/* 802C2E5C 002BFDBC 90 81 00 0C */ stw r4, 0xc(r1) -/* 802C2E60 002BFDC0 7C 00 00 34 */ cntlzw r0, r0 -/* 802C2E64 002BFDC4 54 00 D9 7E */ srwi r0, r0, 5 -/* 802C2E68 002BFDC8 7F 84 E3 78 */ mr r4, r28 -/* 802C2E6C 002BFDCC 90 61 00 10 */ stw r3, 0x10(r1) -/* 802C2E70 002BFDD0 7F E6 FB 78 */ mr r6, r31 -/* 802C2E74 002BFDD4 7F E7 FB 78 */ mr r7, r31 -/* 802C2E78 002BFDD8 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C2E7C 002BFDDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C2E80 002BFDE0 38 A0 00 00 */ li r5, 0 -/* 802C2E84 002BFDE4 39 00 00 00 */ li r8, 0 -/* 802C2E88 002BFDE8 39 20 00 00 */ li r9, 0 -/* 802C2E8C 002BFDEC 39 40 00 00 */ li r10, 0 -/* 802C2E90 002BFDF0 48 00 80 A1 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb -/* 802C2E94 002BFDF4 7C 64 1B 78 */ mr r4, r3 -/* 802C2E98 002BFDF8 7F A3 EB 78 */ mr r3, r29 -/* 802C2E9C 002BFDFC 48 00 7D 89 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C2EA0 002BFE00 7C 7D 1B 78 */ mr r29, r3 -lbl_802C2EA4: -/* 802C2EA4 002BFE04 93 BC 00 10 */ stw r29, 0x10(r28) -/* 802C2EA8 002BFE08 7F 83 E3 78 */ mr r3, r28 -/* 802C2EAC 002BFE0C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802C2EB0 002BFE10 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802C2EB4 002BFE14 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802C2EB8 002BFE18 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 802C2EBC 002BFE1C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 802C2EC0 002BFE20 7C 08 03 A6 */ mtlr r0 -/* 802C2EC4 002BFE24 38 21 00 60 */ addi r1, r1, 0x60 -/* 802C2EC8 002BFE28 4E 80 00 20 */ blr - -.global "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" -"sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera": -/* 802C2ECC 002BFE2C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 802C2ED0 002BFE30 7C 08 02 A6 */ mflr r0 -/* 802C2ED4 002BFE34 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802C2ED8 002BFE38 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 802C2EDC 002BFE3C 7C 7C 1B 78 */ mr r28, r3 -/* 802C2EE0 002BFE40 7C BE 2B 78 */ mr r30, r5 -/* 802C2EE4 002BFE44 7C 9D 23 78 */ mr r29, r4 -/* 802C2EE8 002BFE48 80 63 00 00 */ lwz r3, 0(r3) -/* 802C2EEC 002BFE4C 80 A4 00 00 */ lwz r5, 0(r4) -/* 802C2EF0 002BFE50 7C 03 28 50 */ subf r0, r3, r5 -/* 802C2EF4 002BFE54 7C 00 16 70 */ srawi r0, r0, 2 -/* 802C2EF8 002BFE58 7C 80 01 94 */ addze r4, r0 -/* 802C2EFC 002BFE5C 2C 04 00 01 */ cmpwi r4, 1 -/* 802C2F00 002BFE60 40 81 01 EC */ ble lbl_802C30EC -/* 802C2F04 002BFE64 2C 04 00 14 */ cmpwi r4, 0x14 -/* 802C2F08 002BFE68 41 81 00 30 */ bgt lbl_802C2F38 -/* 802C2F0C 002BFE6C 88 FE 00 00 */ lbz r7, 0(r30) -/* 802C2F10 002BFE70 38 61 00 34 */ addi r3, r1, 0x34 -/* 802C2F14 002BFE74 80 DD 00 00 */ lwz r6, 0(r29) -/* 802C2F18 002BFE78 38 81 00 30 */ addi r4, r1, 0x30 -/* 802C2F1C 002BFE7C 80 1C 00 00 */ lwz r0, 0(r28) -/* 802C2F20 002BFE80 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C2F24 002BFE84 98 E1 00 14 */ stb r7, 0x14(r1) -/* 802C2F28 002BFE88 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802C2F2C 002BFE8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C2F30 002BFE90 48 00 03 B1 */ bl sub_802c32e0 -/* 802C2F34 002BFE94 48 00 01 B8 */ b lbl_802C30EC -lbl_802C2F38: -/* 802C2F38 002BFE98 54 80 0F FE */ srwi r0, r4, 0x1f -/* 802C2F3C 002BFE9C 38 A5 FF FC */ addi r5, r5, -4 -/* 802C2F40 002BFEA0 7C 80 22 14 */ add r4, r0, r4 -/* 802C2F44 002BFEA4 88 1E 00 00 */ lbz r0, 0(r30) -/* 802C2F48 002BFEA8 7C 84 0E 70 */ srawi r4, r4, 1 -/* 802C2F4C 002BFEAC 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 802C2F50 002BFEB0 54 84 10 3A */ slwi r4, r4, 2 -/* 802C2F54 002BFEB4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802C2F58 002BFEB8 7F 63 22 14 */ add r27, r3, r4 -/* 802C2F5C 002BFEBC 98 01 00 10 */ stb r0, 0x10(r1) -/* 802C2F60 002BFEC0 7F 64 DB 78 */ mr r4, r27 -/* 802C2F64 002BFEC4 48 00 02 89 */ bl sub_802c31ec -/* 802C2F68 002BFEC8 80 9C 00 00 */ lwz r4, 0(r28) -/* 802C2F6C 002BFECC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 802C2F70 002BFED0 38 84 00 04 */ addi r4, r4, 4 -/* 802C2F74 002BFED4 83 FB 00 00 */ lwz r31, 0(r27) -/* 802C2F78 002BFED8 38 03 FF FC */ addi r0, r3, -4 -/* 802C2F7C 002BFEDC 90 81 00 38 */ stw r4, 0x38(r1) -/* 802C2F80 002BFEE0 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802C2F84 002BFEE4 48 00 00 10 */ b lbl_802C2F94 -lbl_802C2F88: -/* 802C2F88 002BFEE8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 802C2F8C 002BFEEC 38 03 00 04 */ addi r0, r3, 4 -/* 802C2F90 002BFEF0 90 01 00 38 */ stw r0, 0x38(r1) -lbl_802C2F94: -/* 802C2F94 002BFEF4 80 81 00 38 */ lwz r4, 0x38(r1) -/* 802C2F98 002BFEF8 38 61 00 88 */ addi r3, r1, 0x88 -/* 802C2F9C 002BFEFC 80 84 00 00 */ lwz r4, 0(r4) -/* 802C2FA0 002BFF00 48 00 22 99 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C2FA4 002BFF04 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802C2FA8 002BFF08 7F E4 FB 78 */ mr r4, r31 -/* 802C2FAC 002BFF0C C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 802C2FB0 002BFF10 38 61 00 94 */ addi r3, r1, 0x94 -/* 802C2FB4 002BFF14 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 802C2FB8 002BFF18 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802C2FBC 002BFF1C D0 21 00 74 */ stfs f1, 0x74(r1) -/* 802C2FC0 002BFF20 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802C2FC4 002BFF24 48 00 22 75 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C2FC8 002BFF28 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 802C2FCC 002BFF2C C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802C2FD0 002BFF30 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 802C2FD4 002BFF34 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 802C2FD8 002BFF38 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802C2FDC 002BFF3C D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 802C2FE0 002BFF40 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 802C2FE4 002BFF44 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 802C2FE8 002BFF48 41 81 FF A0 */ bgt lbl_802C2F88 -/* 802C2FEC 002BFF4C 48 00 00 10 */ b lbl_802C2FFC -lbl_802C2FF0: -/* 802C2FF0 002BFF50 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 802C2FF4 002BFF54 38 03 FF FC */ addi r0, r3, -4 -/* 802C2FF8 002BFF58 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_802C2FFC: -/* 802C2FFC 002BFF5C 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 802C3000 002BFF60 7F E4 FB 78 */ mr r4, r31 -/* 802C3004 002BFF64 38 61 00 58 */ addi r3, r1, 0x58 -/* 802C3008 002BFF68 83 65 00 00 */ lwz r27, 0(r5) -/* 802C300C 002BFF6C 48 00 22 2D */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3010 002BFF70 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802C3014 002BFF74 7F 64 DB 78 */ mr r4, r27 -/* 802C3018 002BFF78 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802C301C 002BFF7C 38 61 00 64 */ addi r3, r1, 0x64 -/* 802C3020 002BFF80 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802C3024 002BFF84 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 802C3028 002BFF88 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802C302C 002BFF8C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802C3030 002BFF90 48 00 22 09 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3034 002BFF94 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 802C3038 002BFF98 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802C303C 002BFF9C C0 61 00 64 */ lfs f3, 0x64(r1) -/* 802C3040 002BFFA0 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802C3044 002BFFA4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802C3048 002BFFA8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802C304C 002BFFAC D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802C3050 002BFFB0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802C3054 002BFFB4 41 81 FF 9C */ bgt lbl_802C2FF0 -/* 802C3058 002BFFB8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 802C305C 002BFFBC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802C3060 002BFFC0 7C 03 00 40 */ cmplw r3, r0 -/* 802C3064 002BFFC4 40 80 00 38 */ bge lbl_802C309C -/* 802C3068 002BFFC8 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 802C306C 002BFFCC 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 802C3070 002BFFD0 80 86 00 00 */ lwz r4, 0(r6) -/* 802C3074 002BFFD4 38 06 FF FC */ addi r0, r6, -4 -/* 802C3078 002BFFD8 80 E5 00 00 */ lwz r7, 0(r5) -/* 802C307C 002BFFDC 38 65 00 04 */ addi r3, r5, 4 -/* 802C3080 002BFFE0 90 C1 00 28 */ stw r6, 0x28(r1) -/* 802C3084 002BFFE4 90 85 00 00 */ stw r4, 0(r5) -/* 802C3088 002BFFE8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 802C308C 002BFFEC 90 E6 00 00 */ stw r7, 0(r6) -/* 802C3090 002BFFF0 90 61 00 38 */ stw r3, 0x38(r1) -/* 802C3094 002BFFF4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802C3098 002BFFF8 4B FF FE FC */ b lbl_802C2F94 -lbl_802C309C: -/* 802C309C 002BFFFC 88 FE 00 00 */ lbz r7, 0(r30) -/* 802C30A0 002C0000 38 61 00 24 */ addi r3, r1, 0x24 -/* 802C30A4 002C0004 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 802C30A8 002C0008 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C30AC 002C000C 80 1C 00 00 */ lwz r0, 0(r28) -/* 802C30B0 002C0010 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C30B4 002C0014 98 E1 00 0C */ stb r7, 0xc(r1) -/* 802C30B8 002C0018 90 C1 00 20 */ stw r6, 0x20(r1) -/* 802C30BC 002C001C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C30C0 002C0020 4B FF FE 0D */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" -/* 802C30C4 002C0024 88 FE 00 00 */ lbz r7, 0(r30) -/* 802C30C8 002C0028 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C30CC 002C002C 80 DD 00 00 */ lwz r6, 0(r29) -/* 802C30D0 002C0030 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C30D4 002C0034 80 01 00 38 */ lwz r0, 0x38(r1) -/* 802C30D8 002C0038 38 A1 00 08 */ addi r5, r1, 8 -/* 802C30DC 002C003C 98 E1 00 08 */ stb r7, 8(r1) -/* 802C30E0 002C0040 90 C1 00 18 */ stw r6, 0x18(r1) -/* 802C30E4 002C0044 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C30E8 002C0048 4B FF FD E5 */ bl "sort,Q24rstl17rmemory_allocator>,Q24rstl24CWidgetFartherFromCamera>__4rstlFQ24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl116pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl24CWidgetFartherFromCamera" -lbl_802C30EC: -/* 802C30EC 002C004C BB 61 00 AC */ lmw r27, 0xac(r1) -/* 802C30F0 002C0050 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802C30F4 002C0054 7C 08 03 A6 */ mtlr r0 -/* 802C30F8 002C0058 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802C30FC 002C005C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl48vectorFi" -"reserve__Q24rstl48vectorFi": -/* 802C3100 002C0060 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C3104 002C0064 7C 08 02 A6 */ mflr r0 -/* 802C3108 002C0068 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C310C 002C006C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C3110 002C0070 7C 9F 23 78 */ mr r31, r4 -/* 802C3114 002C0074 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C3118 002C0078 7C 7E 1B 78 */ mr r30, r3 -/* 802C311C 002C007C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C3120 002C0080 80 03 00 08 */ lwz r0, 8(r3) -/* 802C3124 002C0084 7C 1F 00 00 */ cmpw r31, r0 -/* 802C3128 002C0088 40 81 00 A8 */ ble lbl_802C31D0 -/* 802C312C 002C008C 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 802C3130 002C0090 40 82 00 0C */ bne lbl_802C313C -/* 802C3134 002C0094 3B A0 00 00 */ li r29, 0 -/* 802C3138 002C0098 48 00 00 18 */ b lbl_802C3150 -lbl_802C313C: -/* 802C313C 002C009C 3C 80 80 3D */ lis r4, lbl_803D6890@ha -/* 802C3140 002C00A0 38 A0 00 00 */ li r5, 0 -/* 802C3144 002C00A4 38 84 68 90 */ addi r4, r4, lbl_803D6890@l -/* 802C3148 002C00A8 48 05 26 D1 */ bl __nwa__FUlPCcPCc -/* 802C314C 002C00AC 7C 7D 1B 78 */ mr r29, r3 -lbl_802C3150: -/* 802C3150 002C00B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C3154 002C00B4 7F A4 EB 78 */ mr r4, r29 -/* 802C3158 002C00B8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C315C 002C00BC 54 00 10 3A */ slwi r0, r0, 2 -/* 802C3160 002C00C0 7C 65 02 14 */ add r3, r5, r0 -/* 802C3164 002C00C4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802C3168 002C00C8 90 61 00 08 */ stw r3, 8(r1) -/* 802C316C 002C00CC 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C3170 002C00D0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802C3174 002C00D4 48 00 00 1C */ b lbl_802C3190 -lbl_802C3178: -/* 802C3178 002C00D8 28 04 00 00 */ cmplwi r4, 0 -/* 802C317C 002C00DC 41 82 00 0C */ beq lbl_802C3188 -/* 802C3180 002C00E0 80 05 00 00 */ lwz r0, 0(r5) -/* 802C3184 002C00E4 90 04 00 00 */ stw r0, 0(r4) -lbl_802C3188: -/* 802C3188 002C00E8 38 84 00 04 */ addi r4, r4, 4 -/* 802C318C 002C00EC 38 A5 00 04 */ addi r5, r5, 4 -lbl_802C3190: -/* 802C3190 002C00F0 7C 05 18 40 */ cmplw r5, r3 -/* 802C3194 002C00F4 40 82 FF E4 */ bne lbl_802C3178 -/* 802C3198 002C00F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C319C 002C00FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C31A0 002C0100 54 00 10 3A */ slwi r0, r0, 2 -/* 802C31A4 002C0104 7C 64 1B 78 */ mr r4, r3 -/* 802C31A8 002C0108 7C 03 02 14 */ add r0, r3, r0 -/* 802C31AC 002C010C 48 00 00 08 */ b lbl_802C31B4 -lbl_802C31B0: -/* 802C31B0 002C0110 38 84 00 04 */ addi r4, r4, 4 -lbl_802C31B4: -/* 802C31B4 002C0114 7C 04 00 40 */ cmplw r4, r0 -/* 802C31B8 002C0118 40 82 FF F8 */ bne lbl_802C31B0 -/* 802C31BC 002C011C 28 03 00 00 */ cmplwi r3, 0 -/* 802C31C0 002C0120 41 82 00 08 */ beq lbl_802C31C8 -/* 802C31C4 002C0124 48 05 27 6D */ bl Free__7CMemoryFPCv -lbl_802C31C8: -/* 802C31C8 002C0128 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802C31CC 002C012C 93 FE 00 08 */ stw r31, 8(r30) -lbl_802C31D0: -/* 802C31D0 002C0130 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C31D4 002C0134 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C31D8 002C0138 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C31DC 002C013C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C31E0 002C0140 7C 08 03 A6 */ mtlr r0 -/* 802C31E4 002C0144 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C31E8 002C0148 4E 80 00 20 */ blr - -.global sub_802c31ec -sub_802c31ec: -/* 802C31EC 002C014C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C31F0 002C0150 7C 08 02 A6 */ mflr r0 -/* 802C31F4 002C0154 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C31F8 002C0158 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802C31FC 002C015C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802C3200 002C0160 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 802C3204 002C0164 7C 7B 1B 78 */ mr r27, r3 -/* 802C3208 002C0168 7C 9C 23 78 */ mr r28, r4 -/* 802C320C 002C016C 83 E3 00 00 */ lwz r31, 0(r3) -/* 802C3210 002C0170 7C BD 2B 78 */ mr r29, r5 -/* 802C3214 002C0174 80 84 00 00 */ lwz r4, 0(r4) -/* 802C3218 002C0178 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C321C 002C017C 48 00 20 1D */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3220 002C0180 C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 802C3224 002C0184 7F E4 FB 78 */ mr r4, r31 -/* 802C3228 002C0188 38 61 00 44 */ addi r3, r1, 0x44 -/* 802C322C 002C018C 48 00 20 0D */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3230 002C0190 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802C3234 002C0194 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802C3238 002C0198 40 81 00 14 */ ble lbl_802C324C -/* 802C323C 002C019C 80 7B 00 00 */ lwz r3, 0(r27) -/* 802C3240 002C01A0 80 1C 00 00 */ lwz r0, 0(r28) -/* 802C3244 002C01A4 90 1B 00 00 */ stw r0, 0(r27) -/* 802C3248 002C01A8 90 7C 00 00 */ stw r3, 0(r28) -lbl_802C324C: -/* 802C324C 002C01AC 83 FC 00 00 */ lwz r31, 0(r28) -/* 802C3250 002C01B0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C3254 002C01B4 80 9D 00 00 */ lwz r4, 0(r29) -/* 802C3258 002C01B8 48 00 1F E1 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C325C 002C01BC C3 E1 00 24 */ lfs f31, 0x24(r1) -/* 802C3260 002C01C0 7F E4 FB 78 */ mr r4, r31 -/* 802C3264 002C01C4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802C3268 002C01C8 48 00 1F D1 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C326C 002C01CC C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802C3270 002C01D0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802C3274 002C01D4 40 81 00 50 */ ble lbl_802C32C4 -/* 802C3278 002C01D8 83 DD 00 00 */ lwz r30, 0(r29) -/* 802C327C 002C01DC 38 61 00 08 */ addi r3, r1, 8 -/* 802C3280 002C01E0 80 1C 00 00 */ lwz r0, 0(r28) -/* 802C3284 002C01E4 7F C4 F3 78 */ mr r4, r30 -/* 802C3288 002C01E8 90 1D 00 00 */ stw r0, 0(r29) -/* 802C328C 002C01EC 83 FB 00 00 */ lwz r31, 0(r27) -/* 802C3290 002C01F0 48 00 1F A9 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3294 002C01F4 C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 802C3298 002C01F8 7F E4 FB 78 */ mr r4, r31 -/* 802C329C 002C01FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C32A0 002C0200 48 00 1F 99 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C32A4 002C0204 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802C32A8 002C0208 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802C32AC 002C020C 40 81 00 14 */ ble lbl_802C32C0 -/* 802C32B0 002C0210 80 1B 00 00 */ lwz r0, 0(r27) -/* 802C32B4 002C0214 90 1C 00 00 */ stw r0, 0(r28) -/* 802C32B8 002C0218 93 DB 00 00 */ stw r30, 0(r27) -/* 802C32BC 002C021C 48 00 00 08 */ b lbl_802C32C4 -lbl_802C32C0: -/* 802C32C0 002C0220 93 DC 00 00 */ stw r30, 0(r28) -lbl_802C32C4: -/* 802C32C4 002C0224 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802C32C8 002C0228 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802C32CC 002C022C BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 802C32D0 002C0230 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C32D4 002C0234 7C 08 03 A6 */ mtlr r0 -/* 802C32D8 002C0238 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C32DC 002C023C 4E 80 00 20 */ blr - -.global sub_802c32e0 -sub_802c32e0: -/* 802C32E0 002C0240 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802C32E4 002C0244 7C 08 02 A6 */ mflr r0 -/* 802C32E8 002C0248 90 01 00 64 */ stw r0, 0x64(r1) -/* 802C32EC 002C024C BF 21 00 44 */ stmw r25, 0x44(r1) -/* 802C32F0 002C0250 7C 79 1B 78 */ mr r25, r3 -/* 802C32F4 002C0254 7C 9A 23 78 */ mr r26, r4 -/* 802C32F8 002C0258 83 C3 00 00 */ lwz r30, 0(r3) -/* 802C32FC 002C025C 3B DE 00 04 */ addi r30, r30, 4 -/* 802C3300 002C0260 48 00 00 90 */ b lbl_802C3390 -lbl_802C3304: -/* 802C3304 002C0264 83 7E 00 00 */ lwz r27, 0(r30) -/* 802C3308 002C0268 7F DC F3 78 */ mr r28, r30 -/* 802C330C 002C026C 3B BE FF FC */ addi r29, r30, -4 -/* 802C3310 002C0270 48 00 00 14 */ b lbl_802C3324 -lbl_802C3314: -/* 802C3314 002C0274 80 1D 00 00 */ lwz r0, 0(r29) -/* 802C3318 002C0278 3B BD FF FC */ addi r29, r29, -4 -/* 802C331C 002C027C 90 1C 00 00 */ stw r0, 0(r28) -/* 802C3320 002C0280 3B 9C FF FC */ addi r28, r28, -4 -lbl_802C3324: -/* 802C3324 002C0284 80 19 00 00 */ lwz r0, 0(r25) -/* 802C3328 002C0288 7C 00 E0 40 */ cmplw r0, r28 -/* 802C332C 002C028C 40 80 00 5C */ bge lbl_802C3388 -/* 802C3330 002C0290 83 FD 00 00 */ lwz r31, 0(r29) -/* 802C3334 002C0294 7F 64 DB 78 */ mr r4, r27 -/* 802C3338 002C0298 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C333C 002C029C 48 00 1E FD */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3340 002C02A0 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802C3344 002C02A4 7F E4 FB 78 */ mr r4, r31 -/* 802C3348 002C02A8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802C334C 002C02AC 38 61 00 2C */ addi r3, r1, 0x2c -/* 802C3350 002C02B0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802C3354 002C02B4 D0 41 00 08 */ stfs f2, 8(r1) -/* 802C3358 002C02B8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C335C 002C02BC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C3360 002C02C0 48 00 1E D9 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C3364 002C02C4 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802C3368 002C02C8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802C336C 002C02CC C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 802C3370 002C02D0 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802C3374 002C02D4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802C3378 002C02D8 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802C337C 002C02DC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802C3380 002C02E0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802C3384 002C02E4 41 81 FF 90 */ bgt lbl_802C3314 -lbl_802C3388: -/* 802C3388 002C02E8 93 7C 00 00 */ stw r27, 0(r28) -/* 802C338C 002C02EC 3B DE 00 04 */ addi r30, r30, 4 -lbl_802C3390: -/* 802C3390 002C02F0 80 1A 00 00 */ lwz r0, 0(r26) -/* 802C3394 002C02F4 7C 1E 00 40 */ cmplw r30, r0 -/* 802C3398 002C02F8 41 80 FF 6C */ blt lbl_802C3304 -/* 802C339C 002C02FC BB 21 00 44 */ lmw r25, 0x44(r1) -/* 802C33A0 002C0300 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802C33A4 002C0304 7C 08 03 A6 */ mtlr r0 -/* 802C33A8 002C0308 38 21 00 60 */ addi r1, r1, 0x60 -/* 802C33AC 002C030C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__9CGuiGroupCFv -GetWidgetTypeID__9CGuiGroupCFv: -/* 802C33B0 002C0310 3C 60 47 52 */ lis r3, 0x47525550@ha -/* 802C33B4 002C0314 38 63 55 50 */ addi r3, r3, 0x47525550@l -/* 802C33B8 002C0318 4E 80 00 20 */ blr - -.global GetSelectedWidget__9CGuiGroupFv -GetSelectedWidget__9CGuiGroupFv: -/* 802C33BC 002C031C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C33C0 002C0320 7C 08 02 A6 */ mflr r0 -/* 802C33C4 002C0324 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C33C8 002C0328 81 83 00 00 */ lwz r12, 0(r3) -/* 802C33CC 002C032C 80 83 00 BC */ lwz r4, 0xbc(r3) -/* 802C33D0 002C0330 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C33D4 002C0334 7D 89 03 A6 */ mtctr r12 -/* 802C33D8 002C0338 4E 80 04 21 */ bctrl -/* 802C33DC 002C033C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C33E0 002C0340 7C 08 03 A6 */ mtlr r0 -/* 802C33E4 002C0344 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C33E8 002C0348 4E 80 00 20 */ blr - -.global AddWorkerWidget__9CGuiGroupFP10CGuiWidget -AddWorkerWidget__9CGuiGroupFP10CGuiWidget: -/* 802C33EC 002C034C 80 83 00 B8 */ lwz r4, 0xb8(r3) -/* 802C33F0 002C0350 38 04 00 01 */ addi r0, r4, 1 -/* 802C33F4 002C0354 90 03 00 B8 */ stw r0, 0xb8(r3) -/* 802C33F8 002C0358 38 60 00 01 */ li r3, 1 -/* 802C33FC 002C035C 4E 80 00 20 */ blr - -.global OnActivate__9CGuiGroupFv -OnActivate__9CGuiGroupFv: -/* 802C3400 002C0360 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3404 002C0364 7C 08 02 A6 */ mflr r0 -/* 802C3408 002C0368 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C340C 002C036C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C3410 002C0370 93 C1 00 08 */ stw r30, 8(r1) -/* 802C3414 002C0374 7C 7E 1B 78 */ mr r30, r3 -/* 802C3418 002C0378 4B FF FF A5 */ bl GetSelectedWidget__9CGuiGroupFv -/* 802C341C 002C037C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802C3420 002C0380 41 82 00 24 */ beq lbl_802C3444 -/* 802C3424 002C0384 7F C3 F3 78 */ mr r3, r30 -/* 802C3428 002C0388 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C342C 002C038C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802C3430 002C0390 7D 89 03 A6 */ mtctr r12 -/* 802C3434 002C0394 4E 80 04 21 */ bctrl -/* 802C3438 002C0398 7C 64 1B 78 */ mr r4, r3 -/* 802C343C 002C039C 7F E3 FB 78 */ mr r3, r31 -/* 802C3440 002C03A0 48 00 71 A5 */ bl SetIsActive__10CGuiWidgetFb -lbl_802C3444: -/* 802C3444 002C03A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C3448 002C03A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C344C 002C03AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3450 002C03B0 7C 08 03 A6 */ mtlr r0 -/* 802C3454 002C03B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3458 002C03B8 4E 80 00 20 */ blr - -.global __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib -__ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib: -/* 802C345C 002C03BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C3460 002C03C0 7C 08 02 A6 */ mflr r0 -/* 802C3464 002C03C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C3468 002C03C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C346C 002C03CC 7C DF 33 78 */ mr r31, r6 -/* 802C3470 002C03D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C3474 002C03D4 7C BE 2B 78 */ mr r30, r5 -/* 802C3478 002C03D8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C347C 002C03DC 7C 7D 1B 78 */ mr r29, r3 -/* 802C3480 002C03E0 4B FF E7 11 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C3484 002C03E4 3C 60 80 3F */ lis r3, lbl_803EC7C8@ha -/* 802C3488 002C03E8 38 00 00 00 */ li r0, 0 -/* 802C348C 002C03EC 38 83 C7 C8 */ addi r4, r3, lbl_803EC7C8@l -/* 802C3490 002C03F0 7F A3 EB 78 */ mr r3, r29 -/* 802C3494 002C03F4 90 9D 00 00 */ stw r4, 0(r29) -/* 802C3498 002C03F8 90 1D 00 B8 */ stw r0, 0xb8(r29) -/* 802C349C 002C03FC 93 DD 00 BC */ stw r30, 0xbc(r29) -/* 802C34A0 002C0400 9B FD 00 C0 */ stb r31, 0xc0(r29) -/* 802C34A4 002C0404 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C34A8 002C0408 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C34AC 002C040C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C34B0 002C0410 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C34B4 002C0414 7C 08 03 A6 */ mtlr r0 -/* 802C34B8 002C0418 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C34BC 002C041C 4E 80 00 20 */ blr - -.global Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb -Create__9CGuiGroupFP9CGuiFrameR12CInputStreamb: -/* 802C34C0 002C0420 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C34C4 002C0424 7C 08 02 A6 */ mflr r0 -/* 802C34C8 002C0428 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C34CC 002C042C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802C34D0 002C0430 7C 7E 1B 78 */ mr r30, r3 -/* 802C34D4 002C0434 7C 9F 23 78 */ mr r31, r4 -/* 802C34D8 002C0438 38 61 00 08 */ addi r3, r1, 8 -/* 802C34DC 002C043C 7F C4 F3 78 */ mr r4, r30 -/* 802C34E0 002C0440 7F E5 FB 78 */ mr r5, r31 -/* 802C34E4 002C0444 48 00 78 6D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C34E8 002C0448 83 A1 00 08 */ lwz r29, 8(r1) -/* 802C34EC 002C044C 7F E3 FB 78 */ mr r3, r31 -/* 802C34F0 002C0450 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C34F4 002C0454 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C34F8 002C0458 A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C34FC 002C045C 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C3500 002C0460 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C3504 002C0464 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C3508 002C0468 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C350C 002C046C 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C3510 002C0470 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C3514 002C0474 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C3518 002C0478 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C351C 002C047C 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C3520 002C0480 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C3524 002C0484 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C3528 002C0488 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C352C 002C048C 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C3530 002C0490 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C3534 002C0494 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C3538 002C0498 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C353C 002C049C 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C3540 002C04A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C3544 002C04A4 48 07 B7 6D */ bl ReadShort__12CInputStreamFv -/* 802C3548 002C04A8 7C 60 07 34 */ extsh r0, r3 -/* 802C354C 002C04AC 7F E3 FB 78 */ mr r3, r31 -/* 802C3550 002C04B0 7C 1B 03 78 */ mr r27, r0 -/* 802C3554 002C04B4 48 07 B7 89 */ bl ReadBool__12CInputStreamFv -/* 802C3558 002C04B8 3C 80 80 3D */ lis r4, lbl_803D6898@ha -/* 802C355C 002C04BC 7C 7D 1B 78 */ mr r29, r3 -/* 802C3560 002C04C0 38 84 68 98 */ addi r4, r4, lbl_803D6898@l -/* 802C3564 002C04C4 38 60 00 C4 */ li r3, 0xc4 -/* 802C3568 002C04C8 38 A0 00 00 */ li r5, 0 -/* 802C356C 002C04CC 48 05 23 01 */ bl __nw__FUlPCcPCc -/* 802C3570 002C04D0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802C3574 002C04D4 41 82 00 18 */ beq lbl_802C358C -/* 802C3578 002C04D8 7F 65 DB 78 */ mr r5, r27 -/* 802C357C 002C04DC 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C3580 002C04E0 57 A6 06 3E */ clrlwi r6, r29, 0x18 -/* 802C3584 002C04E4 4B FF FE D9 */ bl __ct__9CGuiGroupFRCQ210CGuiWidget15CGuiWidgetParmsib -/* 802C3588 002C04E8 7C 7C 1B 78 */ mr r28, r3 -lbl_802C358C: -/* 802C358C 002C04EC 7F 83 E3 78 */ mr r3, r28 -/* 802C3590 002C04F0 7F C4 F3 78 */ mr r4, r30 -/* 802C3594 002C04F4 7F E5 FB 78 */ mr r5, r31 -/* 802C3598 002C04F8 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C359C 002C04FC 48 00 74 ED */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C35A0 002C0500 7F 83 E3 78 */ mr r3, r28 -/* 802C35A4 002C0504 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802C35A8 002C0508 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C35AC 002C050C 7C 08 03 A6 */ mtlr r0 -/* 802C35B0 002C0510 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C35B4 002C0514 4E 80 00 20 */ blr - -.global __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms -__ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms: -/* 802C35B8 002C0518 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C35BC 002C051C 7C 08 02 A6 */ mflr r0 -/* 802C35C0 002C0520 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C35C4 002C0524 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C35C8 002C0528 7C 7F 1B 78 */ mr r31, r3 -/* 802C35CC 002C052C 48 00 76 59 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C35D0 002C0530 3C 80 80 3F */ lis r4, lbl_803EC808@ha -/* 802C35D4 002C0534 7F E3 FB 78 */ mr r3, r31 -/* 802C35D8 002C0538 38 04 C8 08 */ addi r0, r4, lbl_803EC808@l -/* 802C35DC 002C053C 90 1F 00 00 */ stw r0, 0(r31) -/* 802C35E0 002C0540 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C35E4 002C0544 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C35E8 002C0548 7C 08 03 A6 */ mtlr r0 -/* 802C35EC 002C054C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C35F0 002C0550 4E 80 00 20 */ blr - -.global Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb -Create__14CGuiHeadWidgetFP9CGuiFrameR12CInputStreamb: -/* 802C35F4 002C0554 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C35F8 002C0558 7C 08 02 A6 */ mflr r0 -/* 802C35FC 002C055C 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C3600 002C0560 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802C3604 002C0564 7C 7E 1B 78 */ mr r30, r3 -/* 802C3608 002C0568 7C 9F 23 78 */ mr r31, r4 -/* 802C360C 002C056C 38 61 00 08 */ addi r3, r1, 8 -/* 802C3610 002C0570 7F C4 F3 78 */ mr r4, r30 -/* 802C3614 002C0574 7F E5 FB 78 */ mr r5, r31 -/* 802C3618 002C0578 48 00 77 39 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C361C 002C057C 83 61 00 08 */ lwz r27, 8(r1) -/* 802C3620 002C0580 3C 60 80 3D */ lis r3, lbl_803D68A0@ha -/* 802C3624 002C0584 8B 81 00 0C */ lbz r28, 0xc(r1) -/* 802C3628 002C0588 38 83 68 A0 */ addi r4, r3, lbl_803D68A0@l -/* 802C362C 002C058C AB A1 00 0E */ lha r29, 0xe(r1) -/* 802C3630 002C0590 38 60 00 B8 */ li r3, 0xb8 -/* 802C3634 002C0594 A9 81 00 10 */ lha r12, 0x10(r1) -/* 802C3638 002C0598 38 A0 00 00 */ li r5, 0 -/* 802C363C 002C059C 89 61 00 12 */ lbz r11, 0x12(r1) -/* 802C3640 002C05A0 89 41 00 13 */ lbz r10, 0x13(r1) -/* 802C3644 002C05A4 89 21 00 14 */ lbz r9, 0x14(r1) -/* 802C3648 002C05A8 89 01 00 15 */ lbz r8, 0x15(r1) -/* 802C364C 002C05AC 88 E1 00 16 */ lbz r7, 0x16(r1) -/* 802C3650 002C05B0 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 802C3654 002C05B4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C3658 002C05B8 93 61 00 20 */ stw r27, 0x20(r1) -/* 802C365C 002C05BC 9B 81 00 24 */ stb r28, 0x24(r1) -/* 802C3660 002C05C0 B3 A1 00 26 */ sth r29, 0x26(r1) -/* 802C3664 002C05C4 B1 81 00 28 */ sth r12, 0x28(r1) -/* 802C3668 002C05C8 99 61 00 2A */ stb r11, 0x2a(r1) -/* 802C366C 002C05CC 99 41 00 2B */ stb r10, 0x2b(r1) -/* 802C3670 002C05D0 99 21 00 2C */ stb r9, 0x2c(r1) -/* 802C3674 002C05D4 99 01 00 2D */ stb r8, 0x2d(r1) -/* 802C3678 002C05D8 98 E1 00 2E */ stb r7, 0x2e(r1) -/* 802C367C 002C05DC 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802C3680 002C05E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C3684 002C05E4 48 05 21 E9 */ bl __nw__FUlPCcPCc -/* 802C3688 002C05E8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802C368C 002C05EC 41 82 00 10 */ beq lbl_802C369C -/* 802C3690 002C05F0 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C3694 002C05F4 4B FF FF 25 */ bl __ct__14CGuiHeadWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C3698 002C05F8 7C 7B 1B 78 */ mr r27, r3 -lbl_802C369C: -/* 802C369C 002C05FC 7F C3 F3 78 */ mr r3, r30 -/* 802C36A0 002C0600 7F 64 DB 78 */ mr r4, r27 -/* 802C36A4 002C0604 4B FF EB 05 */ bl SetHeadWidget__9CGuiFrameFP14CGuiHeadWidget -/* 802C36A8 002C0608 7F 63 DB 78 */ mr r3, r27 -/* 802C36AC 002C060C 7F C4 F3 78 */ mr r4, r30 -/* 802C36B0 002C0610 7F E5 FB 78 */ mr r5, r31 -/* 802C36B4 002C0614 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C36B8 002C0618 48 00 73 D1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C36BC 002C061C 7F 63 DB 78 */ mr r3, r27 -/* 802C36C0 002C0620 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802C36C4 002C0624 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C36C8 002C0628 7C 08 03 A6 */ mtlr r0 -/* 802C36CC 002C062C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C36D0 002C0630 4E 80 00 20 */ blr - -.global __dt__14CGuiHeadWidgetFv -__dt__14CGuiHeadWidgetFv: -/* 802C36D4 002C0634 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C36D8 002C0638 7C 08 02 A6 */ mflr r0 -/* 802C36DC 002C063C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C36E0 002C0640 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C36E4 002C0644 7C 9F 23 78 */ mr r31, r4 -/* 802C36E8 002C0648 93 C1 00 08 */ stw r30, 8(r1) -/* 802C36EC 002C064C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C36F0 002C0650 41 82 00 28 */ beq lbl_802C3718 -/* 802C36F4 002C0654 3C A0 80 3F */ lis r5, lbl_803EC808@ha -/* 802C36F8 002C0658 38 80 00 00 */ li r4, 0 -/* 802C36FC 002C065C 38 05 C8 08 */ addi r0, r5, lbl_803EC808@l -/* 802C3700 002C0660 90 1E 00 00 */ stw r0, 0(r30) -/* 802C3704 002C0664 48 00 74 B1 */ bl __dt__10CGuiWidgetFv -/* 802C3708 002C0668 7F E0 07 35 */ extsh. r0, r31 -/* 802C370C 002C066C 40 81 00 0C */ ble lbl_802C3718 -/* 802C3710 002C0670 7F C3 F3 78 */ mr r3, r30 -/* 802C3714 002C0674 48 05 22 1D */ bl Free__7CMemoryFPCv -lbl_802C3718: -/* 802C3718 002C0678 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C371C 002C067C 7F C3 F3 78 */ mr r3, r30 -/* 802C3720 002C0680 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C3724 002C0684 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3728 002C0688 7C 08 03 A6 */ mtlr r0 -/* 802C372C 002C068C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3730 002C0690 4E 80 00 20 */ blr - -.global GetWidgetTypeID__14CGuiHeadWidgetCFv -GetWidgetTypeID__14CGuiHeadWidgetCFv: -/* 802C3734 002C0694 3C 60 48 57 */ lis r3, 0x48574947@ha -/* 802C3738 002C0698 38 63 49 47 */ addi r3, r3, 0x48574947@l -/* 802C373C 002C069C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__9CGuiLightCFv -GetWidgetTypeID__9CGuiLightCFv: -/* 802C3740 002C06A0 3C 60 4C 49 */ lis r3, 0x4C495445@ha -/* 802C3744 002C06A4 38 63 54 45 */ addi r3, r3, 0x4C495445@l -/* 802C3748 002C06A8 4E 80 00 20 */ blr - -.global BuildLight__9CGuiLightCFv -BuildLight__9CGuiLightCFv: -/* 802C374C 002C06AC 94 21 FD E0 */ stwu r1, -0x220(r1) -/* 802C3750 002C06B0 7C 08 02 A6 */ mflr r0 -/* 802C3754 002C06B4 C0 22 C3 80 */ lfs f1, lbl_805AE0A0@sda21(r2) -/* 802C3758 002C06B8 90 01 02 24 */ stw r0, 0x224(r1) -/* 802C375C 002C06BC FC 40 08 90 */ fmr f2, f1 -/* 802C3760 002C06C0 C0 82 C3 84 */ lfs f4, lbl_805AE0A4@sda21(r2) -/* 802C3764 002C06C4 93 E1 02 1C */ stw r31, 0x21c(r1) -/* 802C3768 002C06C8 FC 60 08 90 */ fmr f3, f1 -/* 802C376C 002C06CC 7C 9F 23 78 */ mr r31, r4 -/* 802C3770 002C06D0 93 C1 02 18 */ stw r30, 0x218(r1) -/* 802C3774 002C06D4 7C 7E 1B 78 */ mr r30, r3 -/* 802C3778 002C06D8 38 61 00 08 */ addi r3, r1, 8 -/* 802C377C 002C06DC 48 09 FC 71 */ bl __ct__6CColorFffff -/* 802C3780 002C06E0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802C3784 002C06E4 7C 65 1B 78 */ mr r5, r3 -/* 802C3788 002C06E8 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802C378C 002C06EC 38 61 01 74 */ addi r3, r1, 0x174 -/* 802C3790 002C06F0 48 04 2D 15 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -/* 802C3794 002C06F4 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 802C3798 002C06F8 38 81 01 74 */ addi r4, r1, 0x174 -/* 802C379C 002C06FC 4B D7 7D D5 */ bl __ct__6CLightFCR6CLight -/* 802C37A0 002C0700 7F E4 FB 78 */ mr r4, r31 -/* 802C37A4 002C0704 38 61 00 10 */ addi r3, r1, 0x10 -/* 802C37A8 002C0708 48 00 1A 91 */ bl GetWorldPosition__10CGuiObjectCFv -/* 802C37AC 002C070C 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 802C37B0 002C0710 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802C37B4 002C0714 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802C37B8 002C0718 2C 00 00 02 */ cmpwi r0, 2 -/* 802C37BC 002C071C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802C37C0 002C0720 C0 BF 00 58 */ lfs f5, 0x58(r31) -/* 802C37C4 002C0724 C0 9F 00 48 */ lfs f4, 0x48(r31) -/* 802C37C8 002C0728 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 802C37CC 002C072C 80 7F 00 A4 */ lwz r3, 0xa4(r31) -/* 802C37D0 002C0730 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 802C37D4 002C0734 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802C37D8 002C0738 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802C37DC 002C073C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802C37E0 002C0740 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 802C37E4 002C0744 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 802C37E8 002C0748 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C37EC 002C074C 41 82 01 94 */ beq lbl_802C3980 -/* 802C37F0 002C0750 40 80 00 14 */ bge lbl_802C3804 -/* 802C37F4 002C0754 2C 00 00 00 */ cmpwi r0, 0 -/* 802C37F8 002C0758 41 82 00 18 */ beq lbl_802C3810 -/* 802C37FC 002C075C 40 80 00 D0 */ bge lbl_802C38CC -/* 802C3800 002C0760 48 00 03 00 */ b lbl_802C3B00 -lbl_802C3804: -/* 802C3804 002C0764 2C 00 00 04 */ cmpwi r0, 4 -/* 802C3808 002C0768 41 82 02 2C */ beq lbl_802C3A34 -/* 802C380C 002C076C 48 00 02 F4 */ b lbl_802C3B00 -lbl_802C3810: -/* 802C3810 002C0770 C0 3F 00 BC */ lfs f1, 0xbc(r31) -/* 802C3814 002C0774 38 61 01 24 */ addi r3, r1, 0x124 -/* 802C3818 002C0778 38 81 00 28 */ addi r4, r1, 0x28 -/* 802C381C 002C077C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802C3820 002C0780 38 C1 00 0C */ addi r6, r1, 0xc -/* 802C3824 002C0784 48 04 2B D9 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -/* 802C3828 002C0788 81 81 01 24 */ lwz r12, 0x124(r1) -/* 802C382C 002C078C 81 61 01 28 */ lwz r11, 0x128(r1) -/* 802C3830 002C0790 81 41 01 2C */ lwz r10, 0x12c(r1) -/* 802C3834 002C0794 81 21 01 30 */ lwz r9, 0x130(r1) -/* 802C3838 002C0798 81 01 01 34 */ lwz r8, 0x134(r1) -/* 802C383C 002C079C 80 E1 01 38 */ lwz r7, 0x138(r1) -/* 802C3840 002C07A0 80 C1 01 3C */ lwz r6, 0x13c(r1) -/* 802C3844 002C07A4 80 A1 01 40 */ lwz r5, 0x140(r1) -/* 802C3848 002C07A8 C1 01 01 44 */ lfs f8, 0x144(r1) -/* 802C384C 002C07AC C0 E1 01 48 */ lfs f7, 0x148(r1) -/* 802C3850 002C07B0 C0 C1 01 4C */ lfs f6, 0x14c(r1) -/* 802C3854 002C07B4 C0 A1 01 50 */ lfs f5, 0x150(r1) -/* 802C3858 002C07B8 C0 81 01 54 */ lfs f4, 0x154(r1) -/* 802C385C 002C07BC C0 61 01 58 */ lfs f3, 0x158(r1) -/* 802C3860 002C07C0 C0 41 01 5C */ lfs f2, 0x15c(r1) -/* 802C3864 002C07C4 80 81 01 60 */ lwz r4, 0x160(r1) -/* 802C3868 002C07C8 80 61 01 64 */ lwz r3, 0x164(r1) -/* 802C386C 002C07CC C0 21 01 68 */ lfs f1, 0x168(r1) -/* 802C3870 002C07D0 C0 01 01 6C */ lfs f0, 0x16c(r1) -/* 802C3874 002C07D4 88 01 01 70 */ lbz r0, 0x170(r1) -/* 802C3878 002C07D8 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 802C387C 002C07DC 91 61 01 C8 */ stw r11, 0x1c8(r1) -/* 802C3880 002C07E0 91 41 01 CC */ stw r10, 0x1cc(r1) -/* 802C3884 002C07E4 91 21 01 D0 */ stw r9, 0x1d0(r1) -/* 802C3888 002C07E8 91 01 01 D4 */ stw r8, 0x1d4(r1) -/* 802C388C 002C07EC 90 E1 01 D8 */ stw r7, 0x1d8(r1) -/* 802C3890 002C07F0 90 C1 01 DC */ stw r6, 0x1dc(r1) -/* 802C3894 002C07F4 90 A1 01 E0 */ stw r5, 0x1e0(r1) -/* 802C3898 002C07F8 D1 01 01 E4 */ stfs f8, 0x1e4(r1) -/* 802C389C 002C07FC D0 E1 01 E8 */ stfs f7, 0x1e8(r1) -/* 802C38A0 002C0800 D0 C1 01 EC */ stfs f6, 0x1ec(r1) -/* 802C38A4 002C0804 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) -/* 802C38A8 002C0808 D0 81 01 F4 */ stfs f4, 0x1f4(r1) -/* 802C38AC 002C080C D0 61 01 F8 */ stfs f3, 0x1f8(r1) -/* 802C38B0 002C0810 D0 41 01 FC */ stfs f2, 0x1fc(r1) -/* 802C38B4 002C0814 90 81 02 00 */ stw r4, 0x200(r1) -/* 802C38B8 002C0818 90 61 02 04 */ stw r3, 0x204(r1) -/* 802C38BC 002C081C D0 21 02 08 */ stfs f1, 0x208(r1) -/* 802C38C0 002C0820 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 802C38C4 002C0824 98 01 02 10 */ stb r0, 0x210(r1) -/* 802C38C8 002C0828 48 00 02 38 */ b lbl_802C3B00 -lbl_802C38CC: -/* 802C38CC 002C082C 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802C38D0 002C0830 38 81 00 28 */ addi r4, r1, 0x28 -/* 802C38D4 002C0834 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C38D8 002C0838 48 04 2B 5D */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor -/* 802C38DC 002C083C 81 81 00 D4 */ lwz r12, 0xd4(r1) -/* 802C38E0 002C0840 81 61 00 D8 */ lwz r11, 0xd8(r1) -/* 802C38E4 002C0844 81 41 00 DC */ lwz r10, 0xdc(r1) -/* 802C38E8 002C0848 81 21 00 E0 */ lwz r9, 0xe0(r1) -/* 802C38EC 002C084C 81 01 00 E4 */ lwz r8, 0xe4(r1) -/* 802C38F0 002C0850 80 E1 00 E8 */ lwz r7, 0xe8(r1) -/* 802C38F4 002C0854 80 C1 00 EC */ lwz r6, 0xec(r1) -/* 802C38F8 002C0858 80 A1 00 F0 */ lwz r5, 0xf0(r1) -/* 802C38FC 002C085C C1 01 00 F4 */ lfs f8, 0xf4(r1) -/* 802C3900 002C0860 C0 E1 00 F8 */ lfs f7, 0xf8(r1) -/* 802C3904 002C0864 C0 C1 00 FC */ lfs f6, 0xfc(r1) -/* 802C3908 002C0868 C0 A1 01 00 */ lfs f5, 0x100(r1) -/* 802C390C 002C086C C0 81 01 04 */ lfs f4, 0x104(r1) -/* 802C3910 002C0870 C0 61 01 08 */ lfs f3, 0x108(r1) -/* 802C3914 002C0874 C0 41 01 0C */ lfs f2, 0x10c(r1) -/* 802C3918 002C0878 80 81 01 10 */ lwz r4, 0x110(r1) -/* 802C391C 002C087C 80 61 01 14 */ lwz r3, 0x114(r1) -/* 802C3920 002C0880 C0 21 01 18 */ lfs f1, 0x118(r1) -/* 802C3924 002C0884 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 802C3928 002C0888 88 01 01 20 */ lbz r0, 0x120(r1) -/* 802C392C 002C088C 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 802C3930 002C0890 91 61 01 C8 */ stw r11, 0x1c8(r1) -/* 802C3934 002C0894 91 41 01 CC */ stw r10, 0x1cc(r1) -/* 802C3938 002C0898 91 21 01 D0 */ stw r9, 0x1d0(r1) -/* 802C393C 002C089C 91 01 01 D4 */ stw r8, 0x1d4(r1) -/* 802C3940 002C08A0 90 E1 01 D8 */ stw r7, 0x1d8(r1) -/* 802C3944 002C08A4 90 C1 01 DC */ stw r6, 0x1dc(r1) -/* 802C3948 002C08A8 90 A1 01 E0 */ stw r5, 0x1e0(r1) -/* 802C394C 002C08AC D1 01 01 E4 */ stfs f8, 0x1e4(r1) -/* 802C3950 002C08B0 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) -/* 802C3954 002C08B4 D0 C1 01 EC */ stfs f6, 0x1ec(r1) -/* 802C3958 002C08B8 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) -/* 802C395C 002C08BC D0 81 01 F4 */ stfs f4, 0x1f4(r1) -/* 802C3960 002C08C0 D0 61 01 F8 */ stfs f3, 0x1f8(r1) -/* 802C3964 002C08C4 D0 41 01 FC */ stfs f2, 0x1fc(r1) -/* 802C3968 002C08C8 90 81 02 00 */ stw r4, 0x200(r1) -/* 802C396C 002C08CC 90 61 02 04 */ stw r3, 0x204(r1) -/* 802C3970 002C08D0 D0 21 02 08 */ stfs f1, 0x208(r1) -/* 802C3974 002C08D4 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 802C3978 002C08D8 98 01 02 10 */ stb r0, 0x210(r1) -/* 802C397C 002C08DC 48 00 01 84 */ b lbl_802C3B00 -lbl_802C3980: -/* 802C3980 002C08E0 38 61 00 84 */ addi r3, r1, 0x84 -/* 802C3984 002C08E4 38 81 00 1C */ addi r4, r1, 0x1c -/* 802C3988 002C08E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C398C 002C08EC 48 04 2A E1 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 802C3990 002C08F0 81 81 00 84 */ lwz r12, 0x84(r1) -/* 802C3994 002C08F4 81 61 00 88 */ lwz r11, 0x88(r1) -/* 802C3998 002C08F8 81 41 00 8C */ lwz r10, 0x8c(r1) -/* 802C399C 002C08FC 81 21 00 90 */ lwz r9, 0x90(r1) -/* 802C39A0 002C0900 81 01 00 94 */ lwz r8, 0x94(r1) -/* 802C39A4 002C0904 80 E1 00 98 */ lwz r7, 0x98(r1) -/* 802C39A8 002C0908 80 C1 00 9C */ lwz r6, 0x9c(r1) -/* 802C39AC 002C090C 80 A1 00 A0 */ lwz r5, 0xa0(r1) -/* 802C39B0 002C0910 C1 01 00 A4 */ lfs f8, 0xa4(r1) -/* 802C39B4 002C0914 C0 E1 00 A8 */ lfs f7, 0xa8(r1) -/* 802C39B8 002C0918 C0 C1 00 AC */ lfs f6, 0xac(r1) -/* 802C39BC 002C091C C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 802C39C0 002C0920 C0 81 00 B4 */ lfs f4, 0xb4(r1) -/* 802C39C4 002C0924 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 802C39C8 002C0928 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 802C39CC 002C092C 80 81 00 C0 */ lwz r4, 0xc0(r1) -/* 802C39D0 002C0930 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 802C39D4 002C0934 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 802C39D8 002C0938 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 802C39DC 002C093C 88 01 00 D0 */ lbz r0, 0xd0(r1) -/* 802C39E0 002C0940 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 802C39E4 002C0944 91 61 01 C8 */ stw r11, 0x1c8(r1) -/* 802C39E8 002C0948 91 41 01 CC */ stw r10, 0x1cc(r1) -/* 802C39EC 002C094C 91 21 01 D0 */ stw r9, 0x1d0(r1) -/* 802C39F0 002C0950 91 01 01 D4 */ stw r8, 0x1d4(r1) -/* 802C39F4 002C0954 90 E1 01 D8 */ stw r7, 0x1d8(r1) -/* 802C39F8 002C0958 90 C1 01 DC */ stw r6, 0x1dc(r1) -/* 802C39FC 002C095C 90 A1 01 E0 */ stw r5, 0x1e0(r1) -/* 802C3A00 002C0960 D1 01 01 E4 */ stfs f8, 0x1e4(r1) -/* 802C3A04 002C0964 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) -/* 802C3A08 002C0968 D0 C1 01 EC */ stfs f6, 0x1ec(r1) -/* 802C3A0C 002C096C D0 A1 01 F0 */ stfs f5, 0x1f0(r1) -/* 802C3A10 002C0970 D0 81 01 F4 */ stfs f4, 0x1f4(r1) -/* 802C3A14 002C0974 D0 61 01 F8 */ stfs f3, 0x1f8(r1) -/* 802C3A18 002C0978 D0 41 01 FC */ stfs f2, 0x1fc(r1) -/* 802C3A1C 002C097C 90 81 02 00 */ stw r4, 0x200(r1) -/* 802C3A20 002C0980 90 61 02 04 */ stw r3, 0x204(r1) -/* 802C3A24 002C0984 D0 21 02 08 */ stfs f1, 0x208(r1) -/* 802C3A28 002C0988 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 802C3A2C 002C098C 98 01 02 10 */ stb r0, 0x210(r1) -/* 802C3A30 002C0990 48 00 00 D0 */ b lbl_802C3B00 -lbl_802C3A34: -/* 802C3A34 002C0994 C0 3F 00 C0 */ lfs f1, 0xc0(r31) -/* 802C3A38 002C0998 38 61 00 34 */ addi r3, r1, 0x34 -/* 802C3A3C 002C099C C0 5F 00 C4 */ lfs f2, 0xc4(r31) -/* 802C3A40 002C09A0 38 81 00 28 */ addi r4, r1, 0x28 -/* 802C3A44 002C09A4 C0 7F 00 C8 */ lfs f3, 0xc8(r31) -/* 802C3A48 002C09A8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802C3A4C 002C09AC C0 9F 00 CC */ lfs f4, 0xcc(r31) -/* 802C3A50 002C09B0 38 C1 00 0C */ addi r6, r1, 0xc -/* 802C3A54 002C09B4 C0 BF 00 D0 */ lfs f5, 0xd0(r31) -/* 802C3A58 002C09B8 C0 DF 00 D4 */ lfs f6, 0xd4(r31) -/* 802C3A5C 002C09BC 48 04 29 81 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -/* 802C3A60 002C09C0 81 81 00 34 */ lwz r12, 0x34(r1) -/* 802C3A64 002C09C4 81 61 00 38 */ lwz r11, 0x38(r1) -/* 802C3A68 002C09C8 81 41 00 3C */ lwz r10, 0x3c(r1) -/* 802C3A6C 002C09CC 81 21 00 40 */ lwz r9, 0x40(r1) -/* 802C3A70 002C09D0 81 01 00 44 */ lwz r8, 0x44(r1) -/* 802C3A74 002C09D4 80 E1 00 48 */ lwz r7, 0x48(r1) -/* 802C3A78 002C09D8 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 802C3A7C 002C09DC 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 802C3A80 002C09E0 C1 01 00 54 */ lfs f8, 0x54(r1) -/* 802C3A84 002C09E4 C0 E1 00 58 */ lfs f7, 0x58(r1) -/* 802C3A88 002C09E8 C0 C1 00 5C */ lfs f6, 0x5c(r1) -/* 802C3A8C 002C09EC C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 802C3A90 002C09F0 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 802C3A94 002C09F4 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 802C3A98 002C09F8 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 802C3A9C 002C09FC 80 81 00 70 */ lwz r4, 0x70(r1) -/* 802C3AA0 002C0A00 80 61 00 74 */ lwz r3, 0x74(r1) -/* 802C3AA4 002C0A04 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 802C3AA8 002C0A08 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802C3AAC 002C0A0C 88 01 00 80 */ lbz r0, 0x80(r1) -/* 802C3AB0 002C0A10 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 802C3AB4 002C0A14 91 61 01 C8 */ stw r11, 0x1c8(r1) -/* 802C3AB8 002C0A18 91 41 01 CC */ stw r10, 0x1cc(r1) -/* 802C3ABC 002C0A1C 91 21 01 D0 */ stw r9, 0x1d0(r1) -/* 802C3AC0 002C0A20 91 01 01 D4 */ stw r8, 0x1d4(r1) -/* 802C3AC4 002C0A24 90 E1 01 D8 */ stw r7, 0x1d8(r1) -/* 802C3AC8 002C0A28 90 C1 01 DC */ stw r6, 0x1dc(r1) -/* 802C3ACC 002C0A2C 90 A1 01 E0 */ stw r5, 0x1e0(r1) -/* 802C3AD0 002C0A30 D1 01 01 E4 */ stfs f8, 0x1e4(r1) -/* 802C3AD4 002C0A34 D0 E1 01 E8 */ stfs f7, 0x1e8(r1) -/* 802C3AD8 002C0A38 D0 C1 01 EC */ stfs f6, 0x1ec(r1) -/* 802C3ADC 002C0A3C D0 A1 01 F0 */ stfs f5, 0x1f0(r1) -/* 802C3AE0 002C0A40 D0 81 01 F4 */ stfs f4, 0x1f4(r1) -/* 802C3AE4 002C0A44 D0 61 01 F8 */ stfs f3, 0x1f8(r1) -/* 802C3AE8 002C0A48 D0 41 01 FC */ stfs f2, 0x1fc(r1) -/* 802C3AEC 002C0A4C 90 81 02 00 */ stw r4, 0x200(r1) -/* 802C3AF0 002C0A50 90 61 02 04 */ stw r3, 0x204(r1) -/* 802C3AF4 002C0A54 D0 21 02 08 */ stfs f1, 0x208(r1) -/* 802C3AF8 002C0A58 D0 01 02 0C */ stfs f0, 0x20c(r1) -/* 802C3AFC 002C0A5C 98 01 02 10 */ stb r0, 0x210(r1) -lbl_802C3B00: -/* 802C3B00 002C0A60 C0 3F 00 C0 */ lfs f1, 0xc0(r31) -/* 802C3B04 002C0A64 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 802C3B08 002C0A68 C0 5F 00 C4 */ lfs f2, 0xc4(r31) -/* 802C3B0C 002C0A6C C0 7F 00 C8 */ lfs f3, 0xc8(r31) -/* 802C3B10 002C0A70 48 04 28 A1 */ bl SetAttenuation__6CLightFfff -/* 802C3B14 002C0A74 C0 3F 00 CC */ lfs f1, 0xcc(r31) -/* 802C3B18 002C0A78 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 802C3B1C 002C0A7C C0 5F 00 D0 */ lfs f2, 0xd0(r31) -/* 802C3B20 002C0A80 C0 7F 00 D4 */ lfs f3, 0xd4(r31) -/* 802C3B24 002C0A84 48 04 28 61 */ bl SetAngleAttenuation__6CLightFfff -/* 802C3B28 002C0A88 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 802C3B2C 002C0A8C 7F C3 F3 78 */ mr r3, r30 -/* 802C3B30 002C0A90 38 81 01 C4 */ addi r4, r1, 0x1c4 -/* 802C3B34 002C0A94 90 01 02 04 */ stw r0, 0x204(r1) -/* 802C3B38 002C0A98 4B D7 7A 39 */ bl __ct__6CLightFCR6CLight -/* 802C3B3C 002C0A9C 80 01 02 24 */ lwz r0, 0x224(r1) -/* 802C3B40 002C0AA0 83 E1 02 1C */ lwz r31, 0x21c(r1) -/* 802C3B44 002C0AA4 83 C1 02 18 */ lwz r30, 0x218(r1) -/* 802C3B48 002C0AA8 7C 08 03 A6 */ mtlr r0 -/* 802C3B4C 002C0AAC 38 21 02 20 */ addi r1, r1, 0x220 -/* 802C3B50 002C0AB0 4E 80 00 20 */ blr - -.global SetIsVisible__9CGuiLightFb -SetIsVisible__9CGuiLightFb: -/* 802C3B54 002C0AB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3B58 002C0AB8 7C 08 02 A6 */ mflr r0 -/* 802C3B5C 002C0ABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C3B60 002C0AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802C3B64 002C0AC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C3B68 002C0AC8 7C 9F 23 78 */ mr r31, r4 -/* 802C3B6C 002C0ACC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C3B70 002C0AD0 7C 7E 1B 78 */ mr r30, r3 -/* 802C3B74 002C0AD4 41 82 00 14 */ beq lbl_802C3B88 -/* 802C3B78 002C0AD8 80 7E 00 B0 */ lwz r3, 0xb0(r30) -/* 802C3B7C 002C0ADC 7F C4 F3 78 */ mr r4, r30 -/* 802C3B80 002C0AE0 4B FF E9 BD */ bl AddLight__9CGuiFrameFP9CGuiLight -/* 802C3B84 002C0AE4 48 00 00 10 */ b lbl_802C3B94 -lbl_802C3B88: -/* 802C3B88 002C0AE8 80 7E 00 B0 */ lwz r3, 0xb0(r30) -/* 802C3B8C 002C0AEC 7F C4 F3 78 */ mr r4, r30 -/* 802C3B90 002C0AF0 4B FF E9 89 */ bl RemoveLight__9CGuiFrameFP9CGuiLight -lbl_802C3B94: -/* 802C3B94 002C0AF4 7F C3 F3 78 */ mr r3, r30 -/* 802C3B98 002C0AF8 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 802C3B9C 002C0AFC 48 00 6A 91 */ bl SetIsVisible__10CGuiWidgetFb -/* 802C3BA0 002C0B00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C3BA4 002C0B04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C3BA8 002C0B08 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3BAC 002C0B0C 7C 08 03 A6 */ mtlr r0 -/* 802C3BB0 002C0B10 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3BB4 002C0B14 4E 80 00 20 */ blr - -.global __dt__9CGuiLightFv -__dt__9CGuiLightFv: -/* 802C3BB8 002C0B18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3BBC 002C0B1C 7C 08 02 A6 */ mflr r0 -/* 802C3BC0 002C0B20 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C3BC4 002C0B24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C3BC8 002C0B28 7C 9F 23 78 */ mr r31, r4 -/* 802C3BCC 002C0B2C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C3BD0 002C0B30 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C3BD4 002C0B34 41 82 00 38 */ beq lbl_802C3C0C -/* 802C3BD8 002C0B38 3C 60 80 3F */ lis r3, lbl_803EC848@ha -/* 802C3BDC 002C0B3C 7F C4 F3 78 */ mr r4, r30 -/* 802C3BE0 002C0B40 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l -/* 802C3BE4 002C0B44 90 1E 00 00 */ stw r0, 0(r30) -/* 802C3BE8 002C0B48 80 7E 00 B0 */ lwz r3, 0xb0(r30) -/* 802C3BEC 002C0B4C 4B FF E9 2D */ bl RemoveLight__9CGuiFrameFP9CGuiLight -/* 802C3BF0 002C0B50 7F C3 F3 78 */ mr r3, r30 -/* 802C3BF4 002C0B54 38 80 00 00 */ li r4, 0 -/* 802C3BF8 002C0B58 48 00 6F BD */ bl __dt__10CGuiWidgetFv -/* 802C3BFC 002C0B5C 7F E0 07 35 */ extsh. r0, r31 -/* 802C3C00 002C0B60 40 81 00 0C */ ble lbl_802C3C0C -/* 802C3C04 002C0B64 7F C3 F3 78 */ mr r3, r30 -/* 802C3C08 002C0B68 48 05 1D 29 */ bl Free__7CMemoryFPCv -lbl_802C3C0C: -/* 802C3C0C 002C0B6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C3C10 002C0B70 7F C3 F3 78 */ mr r3, r30 -/* 802C3C14 002C0B74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C3C18 002C0B78 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3C1C 002C0B7C 7C 08 03 A6 */ mtlr r0 -/* 802C3C20 002C0B80 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3C24 002C0B84 4E 80 00 20 */ blr - -.global __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight -__ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight: -/* 802C3C28 002C0B88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3C2C 002C0B8C 7C 08 02 A6 */ mflr r0 -/* 802C3C30 002C0B90 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C3C34 002C0B94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C3C38 002C0B98 7C BF 2B 78 */ mr r31, r5 -/* 802C3C3C 002C0B9C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C3C40 002C0BA0 7C 7E 1B 78 */ mr r30, r3 -/* 802C3C44 002C0BA4 48 00 6F E1 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C3C48 002C0BA8 3C 60 80 3F */ lis r3, lbl_803EC848@ha -/* 802C3C4C 002C0BAC 38 03 C8 48 */ addi r0, r3, lbl_803EC848@l -/* 802C3C50 002C0BB0 90 1E 00 00 */ stw r0, 0(r30) -/* 802C3C54 002C0BB4 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 802C3C58 002C0BB8 90 1E 00 B8 */ stw r0, 0xb8(r30) -/* 802C3C5C 002C0BBC C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 802C3C60 002C0BC0 D0 1E 00 BC */ stfs f0, 0xbc(r30) -/* 802C3C64 002C0BC4 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 802C3C68 002C0BC8 D0 1E 00 C0 */ stfs f0, 0xc0(r30) -/* 802C3C6C 002C0BCC C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 802C3C70 002C0BD0 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 802C3C74 002C0BD4 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 802C3C78 002C0BD8 D0 1E 00 C8 */ stfs f0, 0xc8(r30) -/* 802C3C7C 002C0BDC C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 802C3C80 002C0BE0 D0 1E 00 CC */ stfs f0, 0xcc(r30) -/* 802C3C84 002C0BE4 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 802C3C88 002C0BE8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 802C3C8C 002C0BEC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 802C3C90 002C0BF0 D0 1E 00 D4 */ stfs f0, 0xd4(r30) -/* 802C3C94 002C0BF4 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 802C3C98 002C0BF8 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 802C3C9C 002C0BFC 48 08 63 19 */ bl Black__6CColorFv -/* 802C3CA0 002C0C00 80 03 00 00 */ lwz r0, 0(r3) -/* 802C3CA4 002C0C04 7F C3 F3 78 */ mr r3, r30 -/* 802C3CA8 002C0C08 90 1E 00 DC */ stw r0, 0xdc(r30) -/* 802C3CAC 002C0C0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C3CB0 002C0C10 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3CB4 002C0C14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C3CB8 002C0C18 7C 08 03 A6 */ mtlr r0 -/* 802C3CBC 002C0C1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3CC0 002C0C20 4E 80 00 20 */ blr - -.global Create__9CGuiLightFP9CGuiFrameR12CInputStreamb -Create__9CGuiLightFP9CGuiFrameR12CInputStreamb: -/* 802C3CC4 002C0C24 94 21 FD 90 */ stwu r1, -0x270(r1) -/* 802C3CC8 002C0C28 7C 08 02 A6 */ mflr r0 -/* 802C3CCC 002C0C2C 90 01 02 74 */ stw r0, 0x274(r1) -/* 802C3CD0 002C0C30 39 61 02 70 */ addi r11, r1, 0x270 -/* 802C3CD4 002C0C34 48 0C 5D 0D */ bl func_803899E0 -/* 802C3CD8 002C0C38 BF 61 02 2C */ stmw r27, 0x22c(r1) -/* 802C3CDC 002C0C3C 7C 7E 1B 78 */ mr r30, r3 -/* 802C3CE0 002C0C40 7C 9F 23 78 */ mr r31, r4 -/* 802C3CE4 002C0C44 7F C4 F3 78 */ mr r4, r30 -/* 802C3CE8 002C0C48 38 61 00 0C */ addi r3, r1, 0xc -/* 802C3CEC 002C0C4C 7F E5 FB 78 */ mr r5, r31 -/* 802C3CF0 002C0C50 48 00 70 61 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C3CF4 002C0C54 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 802C3CF8 002C0C58 7F E3 FB 78 */ mr r3, r31 -/* 802C3CFC 002C0C5C 83 81 00 0C */ lwz r28, 0xc(r1) -/* 802C3D00 002C0C60 89 81 00 10 */ lbz r12, 0x10(r1) -/* 802C3D04 002C0C64 A9 61 00 12 */ lha r11, 0x12(r1) -/* 802C3D08 002C0C68 A9 41 00 14 */ lha r10, 0x14(r1) -/* 802C3D0C 002C0C6C 89 21 00 16 */ lbz r9, 0x16(r1) -/* 802C3D10 002C0C70 89 01 00 17 */ lbz r8, 0x17(r1) -/* 802C3D14 002C0C74 88 E1 00 18 */ lbz r7, 0x18(r1) -/* 802C3D18 002C0C78 88 C1 00 19 */ lbz r6, 0x19(r1) -/* 802C3D1C 002C0C7C 88 A1 00 1A */ lbz r5, 0x1a(r1) -/* 802C3D20 002C0C80 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802C3D24 002C0C84 93 81 00 24 */ stw r28, 0x24(r1) -/* 802C3D28 002C0C88 99 81 00 28 */ stb r12, 0x28(r1) -/* 802C3D2C 002C0C8C B1 61 00 2A */ sth r11, 0x2a(r1) -/* 802C3D30 002C0C90 B1 41 00 2C */ sth r10, 0x2c(r1) -/* 802C3D34 002C0C94 99 21 00 2E */ stb r9, 0x2e(r1) -/* 802C3D38 002C0C98 99 01 00 2F */ stb r8, 0x2f(r1) -/* 802C3D3C 002C0C9C 98 E1 00 30 */ stb r7, 0x30(r1) -/* 802C3D40 002C0CA0 98 C1 00 31 */ stb r6, 0x31(r1) -/* 802C3D44 002C0CA4 98 A1 00 32 */ stb r5, 0x32(r1) -/* 802C3D48 002C0CA8 90 81 00 34 */ stw r4, 0x34(r1) -/* 802C3D4C 002C0CAC 90 01 00 38 */ stw r0, 0x38(r1) -/* 802C3D50 002C0CB0 90 81 00 08 */ stw r4, 8(r1) -/* 802C3D54 002C0CB4 48 07 AF 31 */ bl ReadLong__12CInputStreamFv -/* 802C3D58 002C0CB8 7C 7C 1B 78 */ mr r28, r3 -/* 802C3D5C 002C0CBC 7F E3 FB 78 */ mr r3, r31 -/* 802C3D60 002C0CC0 48 07 AE C9 */ bl ReadFloat__12CInputStreamFv -/* 802C3D64 002C0CC4 FF E0 08 90 */ fmr f31, f1 -/* 802C3D68 002C0CC8 7F E3 FB 78 */ mr r3, r31 -/* 802C3D6C 002C0CCC 48 07 AE BD */ bl ReadFloat__12CInputStreamFv -/* 802C3D70 002C0CD0 FF C0 08 90 */ fmr f30, f1 -/* 802C3D74 002C0CD4 7F E3 FB 78 */ mr r3, r31 -/* 802C3D78 002C0CD8 48 07 AE B1 */ bl ReadFloat__12CInputStreamFv -/* 802C3D7C 002C0CDC FF A0 08 90 */ fmr f29, f1 -/* 802C3D80 002C0CE0 7F E3 FB 78 */ mr r3, r31 -/* 802C3D84 002C0CE4 48 07 AE A5 */ bl ReadFloat__12CInputStreamFv -/* 802C3D88 002C0CE8 FF 80 08 90 */ fmr f28, f1 -/* 802C3D8C 002C0CEC 7F E3 FB 78 */ mr r3, r31 -/* 802C3D90 002C0CF0 48 07 AE 99 */ bl ReadFloat__12CInputStreamFv -/* 802C3D94 002C0CF4 FF 60 08 90 */ fmr f27, f1 -/* 802C3D98 002C0CF8 7F E3 FB 78 */ mr r3, r31 -/* 802C3D9C 002C0CFC 48 07 AE 8D */ bl ReadFloat__12CInputStreamFv -/* 802C3DA0 002C0D00 FF 40 08 90 */ fmr f26, f1 -/* 802C3DA4 002C0D04 7F E3 FB 78 */ mr r3, r31 -/* 802C3DA8 002C0D08 48 07 AE DD */ bl ReadLong__12CInputStreamFv -/* 802C3DAC 002C0D0C 2C 1C 00 01 */ cmpwi r28, 1 -/* 802C3DB0 002C0D10 7C 7D 1B 78 */ mr r29, r3 -/* 802C3DB4 002C0D14 3B 60 00 00 */ li r27, 0 -/* 802C3DB8 002C0D18 41 82 00 AC */ beq lbl_802C3E64 -/* 802C3DBC 002C0D1C 40 80 00 10 */ bge lbl_802C3DCC -/* 802C3DC0 002C0D20 2C 1C 00 00 */ cmpwi r28, 0 -/* 802C3DC4 002C0D24 40 80 00 14 */ bge lbl_802C3DD8 -/* 802C3DC8 002C0D28 48 00 01 5C */ b lbl_802C3F24 -lbl_802C3DCC: -/* 802C3DCC 002C0D2C 2C 1C 00 03 */ cmpwi r28, 3 -/* 802C3DD0 002C0D30 40 80 01 54 */ bge lbl_802C3F24 -/* 802C3DD4 002C0D34 48 00 00 FC */ b lbl_802C3ED0 -lbl_802C3DD8: -/* 802C3DD8 002C0D38 7F E3 FB 78 */ mr r3, r31 -/* 802C3DDC 002C0D3C 48 07 AE 4D */ bl ReadFloat__12CInputStreamFv -/* 802C3DE0 002C0D40 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802C3DE4 002C0D44 38 61 00 DC */ addi r3, r1, 0xdc -/* 802C3DE8 002C0D48 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802C3DEC 002C0D4C 38 C1 00 08 */ addi r6, r1, 8 -/* 802C3DF0 002C0D50 7C 85 23 78 */ mr r5, r4 -/* 802C3DF4 002C0D54 48 04 26 09 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -/* 802C3DF8 002C0D58 38 61 01 CC */ addi r3, r1, 0x1cc -/* 802C3DFC 002C0D5C 38 81 00 DC */ addi r4, r1, 0xdc -/* 802C3E00 002C0D60 4B D7 77 71 */ bl __ct__6CLightFCR6CLight -/* 802C3E04 002C0D64 FC 20 F8 90 */ fmr f1, f31 -/* 802C3E08 002C0D68 38 61 01 CC */ addi r3, r1, 0x1cc -/* 802C3E0C 002C0D6C FC 40 F0 90 */ fmr f2, f30 -/* 802C3E10 002C0D70 FC 60 E8 90 */ fmr f3, f29 -/* 802C3E14 002C0D74 48 04 25 9D */ bl SetAttenuation__6CLightFfff -/* 802C3E18 002C0D78 FC 20 E0 90 */ fmr f1, f28 -/* 802C3E1C 002C0D7C 38 61 01 CC */ addi r3, r1, 0x1cc -/* 802C3E20 002C0D80 FC 40 D8 90 */ fmr f2, f27 -/* 802C3E24 002C0D84 FC 60 D0 90 */ fmr f3, f26 -/* 802C3E28 002C0D88 48 04 25 5D */ bl SetAngleAttenuation__6CLightFfff -/* 802C3E2C 002C0D8C 3C 60 80 3D */ lis r3, lbl_803D68A8@ha -/* 802C3E30 002C0D90 93 A1 02 0C */ stw r29, 0x20c(r1) -/* 802C3E34 002C0D94 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l -/* 802C3E38 002C0D98 38 A0 00 00 */ li r5, 0 -/* 802C3E3C 002C0D9C 38 60 00 E0 */ li r3, 0xe0 -/* 802C3E40 002C0DA0 48 05 1A 2D */ bl __nw__FUlPCcPCc -/* 802C3E44 002C0DA4 7C 60 1B 79 */ or. r0, r3, r3 -/* 802C3E48 002C0DA8 41 82 00 14 */ beq lbl_802C3E5C -/* 802C3E4C 002C0DAC 38 81 00 24 */ addi r4, r1, 0x24 -/* 802C3E50 002C0DB0 38 A1 01 CC */ addi r5, r1, 0x1cc -/* 802C3E54 002C0DB4 4B FF FD D5 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight -/* 802C3E58 002C0DB8 7C 60 1B 78 */ mr r0, r3 -lbl_802C3E5C: -/* 802C3E5C 002C0DBC 7C 1B 03 78 */ mr r27, r0 -/* 802C3E60 002C0DC0 48 00 00 C4 */ b lbl_802C3F24 -lbl_802C3E64: -/* 802C3E64 002C0DC4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802C3E68 002C0DC8 38 61 00 8C */ addi r3, r1, 0x8c -/* 802C3E6C 002C0DCC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802C3E70 002C0DD0 38 A1 00 08 */ addi r5, r1, 8 -/* 802C3E74 002C0DD4 48 04 25 C1 */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor -/* 802C3E78 002C0DD8 38 61 01 7C */ addi r3, r1, 0x17c -/* 802C3E7C 002C0DDC 38 81 00 8C */ addi r4, r1, 0x8c -/* 802C3E80 002C0DE0 4B D7 76 F1 */ bl __ct__6CLightFCR6CLight -/* 802C3E84 002C0DE4 FC 20 F8 90 */ fmr f1, f31 -/* 802C3E88 002C0DE8 38 61 01 7C */ addi r3, r1, 0x17c -/* 802C3E8C 002C0DEC FC 40 F0 90 */ fmr f2, f30 -/* 802C3E90 002C0DF0 FC 60 E8 90 */ fmr f3, f29 -/* 802C3E94 002C0DF4 48 04 25 1D */ bl SetAttenuation__6CLightFfff -/* 802C3E98 002C0DF8 3C 60 80 3D */ lis r3, lbl_803D68A8@ha -/* 802C3E9C 002C0DFC 93 A1 01 BC */ stw r29, 0x1bc(r1) -/* 802C3EA0 002C0E00 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l -/* 802C3EA4 002C0E04 38 A0 00 00 */ li r5, 0 -/* 802C3EA8 002C0E08 38 60 00 E0 */ li r3, 0xe0 -/* 802C3EAC 002C0E0C 48 05 19 C1 */ bl __nw__FUlPCcPCc -/* 802C3EB0 002C0E10 7C 60 1B 79 */ or. r0, r3, r3 -/* 802C3EB4 002C0E14 41 82 00 14 */ beq lbl_802C3EC8 -/* 802C3EB8 002C0E18 38 81 00 24 */ addi r4, r1, 0x24 -/* 802C3EBC 002C0E1C 38 A1 01 7C */ addi r5, r1, 0x17c -/* 802C3EC0 002C0E20 4B FF FD 69 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight -/* 802C3EC4 002C0E24 7C 60 1B 78 */ mr r0, r3 -lbl_802C3EC8: -/* 802C3EC8 002C0E28 7C 1B 03 78 */ mr r27, r0 -/* 802C3ECC 002C0E2C 48 00 00 58 */ b lbl_802C3F24 -lbl_802C3ED0: -/* 802C3ED0 002C0E30 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802C3ED4 002C0E34 38 61 00 3C */ addi r3, r1, 0x3c -/* 802C3ED8 002C0E38 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802C3EDC 002C0E3C 38 A1 00 08 */ addi r5, r1, 8 -/* 802C3EE0 002C0E40 48 04 25 8D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 802C3EE4 002C0E44 38 61 01 2C */ addi r3, r1, 0x12c -/* 802C3EE8 002C0E48 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C3EEC 002C0E4C 4B D7 76 85 */ bl __ct__6CLightFCR6CLight -/* 802C3EF0 002C0E50 3C 60 80 3D */ lis r3, lbl_803D68A8@ha -/* 802C3EF4 002C0E54 93 A1 01 6C */ stw r29, 0x16c(r1) -/* 802C3EF8 002C0E58 38 83 68 A8 */ addi r4, r3, lbl_803D68A8@l -/* 802C3EFC 002C0E5C 38 A0 00 00 */ li r5, 0 -/* 802C3F00 002C0E60 38 60 00 E0 */ li r3, 0xe0 -/* 802C3F04 002C0E64 48 05 19 69 */ bl __nw__FUlPCcPCc -/* 802C3F08 002C0E68 7C 60 1B 79 */ or. r0, r3, r3 -/* 802C3F0C 002C0E6C 41 82 00 14 */ beq lbl_802C3F20 -/* 802C3F10 002C0E70 38 81 00 24 */ addi r4, r1, 0x24 -/* 802C3F14 002C0E74 38 A1 01 2C */ addi r5, r1, 0x12c -/* 802C3F18 002C0E78 4B FF FD 11 */ bl __ct__9CGuiLightFRCQ210CGuiWidget15CGuiWidgetParmsRC6CLight -/* 802C3F1C 002C0E7C 7C 60 1B 78 */ mr r0, r3 -lbl_802C3F20: -/* 802C3F20 002C0E80 7C 1B 03 78 */ mr r27, r0 -lbl_802C3F24: -/* 802C3F24 002C0E84 7F 63 DB 78 */ mr r3, r27 -/* 802C3F28 002C0E88 7F C4 F3 78 */ mr r4, r30 -/* 802C3F2C 002C0E8C 7F E5 FB 78 */ mr r5, r31 -/* 802C3F30 002C0E90 38 C1 00 24 */ addi r6, r1, 0x24 -/* 802C3F34 002C0E94 48 00 6B 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C3F38 002C0E98 7F C3 F3 78 */ mr r3, r30 -/* 802C3F3C 002C0E9C 7F 64 DB 78 */ mr r4, r27 -/* 802C3F40 002C0EA0 4B FF E5 FD */ bl AddLight__9CGuiFrameFP9CGuiLight -/* 802C3F44 002C0EA4 7F 63 DB 78 */ mr r3, r27 -/* 802C3F48 002C0EA8 39 61 02 70 */ addi r11, r1, 0x270 -/* 802C3F4C 002C0EAC 48 0C 5A E1 */ bl func_80389A2C -/* 802C3F50 002C0EB0 BB 61 02 2C */ lmw r27, 0x22c(r1) -/* 802C3F54 002C0EB4 80 01 02 74 */ lwz r0, 0x274(r1) -/* 802C3F58 002C0EB8 7C 08 03 A6 */ mtlr r0 -/* 802C3F5C 002C0EBC 38 21 02 70 */ addi r1, r1, 0x270 -/* 802C3F60 002C0EC0 4E 80 00 20 */ blr - -.global GetWidgetTypeID__9CGuiModelCFv -GetWidgetTypeID__9CGuiModelCFv: -/* 802C3F64 002C0EC4 3C 60 4D 4F */ lis r3, 0x4D4F444C@ha -/* 802C3F68 002C0EC8 38 63 44 4C */ addi r3, r3, 0x4D4F444C@l -/* 802C3F6C 002C0ECC 4E 80 00 20 */ blr - -.global GetModelAssets__9CGuiModelCFv -GetModelAssets__9CGuiModelCFv: -/* 802C3F70 002C0ED0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3F74 002C0ED4 7C 08 02 A6 */ mflr r0 -/* 802C3F78 002C0ED8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C3F7C 002C0EDC 38 00 00 01 */ li r0, 1 -/* 802C3F80 002C0EE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C3F84 002C0EE4 7C 9F 23 78 */ mr r31, r4 -/* 802C3F88 002C0EE8 93 C1 00 08 */ stw r30, 8(r1) -/* 802C3F8C 002C0EEC 7C 7E 1B 78 */ mr r30, r3 -/* 802C3F90 002C0EF0 90 03 00 04 */ stw r0, 4(r3) -/* 802C3F94 002C0EF4 90 03 00 08 */ stw r0, 8(r3) -/* 802C3F98 002C0EF8 80 03 00 04 */ lwz r0, 4(r3) -/* 802C3F9C 002C0EFC 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802C3FA0 002C0F00 40 82 00 10 */ bne lbl_802C3FB0 -/* 802C3FA4 002C0F04 38 00 00 00 */ li r0, 0 -/* 802C3FA8 002C0F08 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802C3FAC 002C0F0C 48 00 00 18 */ b lbl_802C3FC4 -lbl_802C3FB0: -/* 802C3FB0 002C0F10 3C 80 80 3D */ lis r4, lbl_803D68B0@ha -/* 802C3FB4 002C0F14 38 A0 00 00 */ li r5, 0 -/* 802C3FB8 002C0F18 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l -/* 802C3FBC 002C0F1C 48 05 18 5D */ bl __nwa__FUlPCcPCc -/* 802C3FC0 002C0F20 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802C3FC4: -/* 802C3FC4 002C0F24 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C3FC8 002C0F28 28 03 00 00 */ cmplwi r3, 0 -/* 802C3FCC 002C0F2C 41 82 00 0C */ beq lbl_802C3FD8 -/* 802C3FD0 002C0F30 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 802C3FD4 002C0F34 90 03 00 00 */ stw r0, 0(r3) -lbl_802C3FD8: -/* 802C3FD8 002C0F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C3FDC 002C0F3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C3FE0 002C0F40 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C3FE4 002C0F44 7C 08 03 A6 */ mtlr r0 -/* 802C3FE8 002C0F48 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C3FEC 002C0F4C 4E 80 00 20 */ blr - -.global GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv -GetIsFinishedLoadingWidgetSpecific__9CGuiModelCFv: -/* 802C3FF0 002C0F50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C3FF4 002C0F54 7C 08 02 A6 */ mflr r0 -/* 802C3FF8 002C0F58 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C3FFC 002C0F5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C4000 002C0F60 93 C1 00 08 */ stw r30, 8(r1) -/* 802C4004 002C0F64 7C 7E 1B 78 */ mr r30, r3 -/* 802C4008 002C0F68 88 03 00 C4 */ lbz r0, 0xc4(r3) -/* 802C400C 002C0F6C 28 00 00 00 */ cmplwi r0, 0 -/* 802C4010 002C0F70 40 82 00 0C */ bne lbl_802C401C -/* 802C4014 002C0F74 38 60 00 01 */ li r3, 1 -/* 802C4018 002C0F78 48 00 00 6C */ b lbl_802C4084 -lbl_802C401C: -/* 802C401C 002C0F7C 3B FE 00 B8 */ addi r31, r30, 0xb8 -/* 802C4020 002C0F80 80 1E 00 C0 */ lwz r0, 0xc0(r30) -/* 802C4024 002C0F84 28 00 00 00 */ cmplwi r0, 0 -/* 802C4028 002C0F88 40 82 00 30 */ bne lbl_802C4058 -/* 802C402C 002C0F8C 88 1F 00 04 */ lbz r0, 4(r31) -/* 802C4030 002C0F90 28 00 00 00 */ cmplwi r0, 0 -/* 802C4034 002C0F94 41 82 00 24 */ beq lbl_802C4058 -/* 802C4038 002C0F98 80 7F 00 00 */ lwz r3, 0(r31) -/* 802C403C 002C0F9C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802C4040 002C0FA0 28 00 00 00 */ cmplwi r0, 0 -/* 802C4044 002C0FA4 41 82 00 14 */ beq lbl_802C4058 -/* 802C4048 002C0FA8 7F E3 FB 78 */ mr r3, r31 -/* 802C404C 002C0FAC 48 07 CD C1 */ bl GetObj__6CTokenFv -/* 802C4050 002C0FB0 80 03 00 04 */ lwz r0, 4(r3) -/* 802C4054 002C0FB4 90 1F 00 08 */ stw r0, 8(r31) -lbl_802C4058: -/* 802C4058 002C0FB8 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 802C405C 002C0FBC 28 1F 00 00 */ cmplwi r31, 0 -/* 802C4060 002C0FC0 41 82 00 20 */ beq lbl_802C4080 -/* 802C4064 002C0FC4 7F E3 FB 78 */ mr r3, r31 -/* 802C4068 002C0FC8 38 80 00 00 */ li r4, 0 -/* 802C406C 002C0FCC 48 09 15 C9 */ bl Touch__6CModelCFi -/* 802C4070 002C0FD0 7F E3 FB 78 */ mr r3, r31 -/* 802C4074 002C0FD4 38 80 00 00 */ li r4, 0 -/* 802C4078 002C0FD8 48 09 15 31 */ bl IsLoaded__6CModelCFi -/* 802C407C 002C0FDC 48 00 00 08 */ b lbl_802C4084 -lbl_802C4080: -/* 802C4080 002C0FE0 38 60 00 00 */ li r3, 0 -lbl_802C4084: -/* 802C4084 002C0FE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C4088 002C0FE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C408C 002C0FEC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C4090 002C0FF0 7C 08 03 A6 */ mtlr r0 -/* 802C4094 002C0FF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C4098 002C0FF8 4E 80 00 20 */ blr - -.global Touch__9CGuiModelCFv -Touch__9CGuiModelCFv: -/* 802C409C 002C0FFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C40A0 002C1000 7C 08 02 A6 */ mflr r0 -/* 802C40A4 002C1004 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C40A8 002C1008 88 03 00 C4 */ lbz r0, 0xc4(r3) -/* 802C40AC 002C100C 28 00 00 00 */ cmplwi r0, 0 -/* 802C40B0 002C1010 41 82 00 18 */ beq lbl_802C40C8 -/* 802C40B4 002C1014 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 802C40B8 002C1018 28 03 00 00 */ cmplwi r3, 0 -/* 802C40BC 002C101C 41 82 00 0C */ beq lbl_802C40C8 -/* 802C40C0 002C1020 38 80 00 00 */ li r4, 0 -/* 802C40C4 002C1024 48 09 15 71 */ bl Touch__6CModelCFi -lbl_802C40C8: -/* 802C40C8 002C1028 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C40CC 002C102C 7C 08 03 A6 */ mtlr r0 -/* 802C40D0 002C1030 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C40D4 002C1034 4E 80 00 20 */ blr - -.global Draw__9CGuiModelCFRC19CGuiWidgetDrawParms -Draw__9CGuiModelCFRC19CGuiWidgetDrawParms: -/* 802C40D8 002C1038 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C40DC 002C103C 7C 08 02 A6 */ mflr r0 -/* 802C40E0 002C1040 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C40E4 002C1044 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802C40E8 002C1048 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802C40EC 002C104C BF 41 00 58 */ stmw r26, 0x58(r1) -/* 802C40F0 002C1050 7C 7A 1B 78 */ mr r26, r3 -/* 802C40F4 002C1054 7C 9B 23 78 */ mr r27, r4 -/* 802C40F8 002C1058 38 7A 00 34 */ addi r3, r26, 0x34 -/* 802C40FC 002C105C 48 04 84 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802C4100 002C1060 88 1A 00 C4 */ lbz r0, 0xc4(r26) -/* 802C4104 002C1064 28 00 00 00 */ cmplwi r0, 0 -/* 802C4108 002C1068 41 82 03 44 */ beq lbl_802C444C -/* 802C410C 002C106C 7F 43 D3 78 */ mr r3, r26 -/* 802C4110 002C1070 48 00 68 29 */ bl GetIsFinishedLoading__10CGuiWidgetCFv -/* 802C4114 002C1074 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C4118 002C1078 41 82 03 34 */ beq lbl_802C444C -/* 802C411C 002C107C 83 BA 00 C0 */ lwz r29, 0xc0(r26) -/* 802C4120 002C1080 28 1D 00 00 */ cmplwi r29, 0 -/* 802C4124 002C1084 41 82 03 28 */ beq lbl_802C444C -/* 802C4128 002C1088 7F 43 D3 78 */ mr r3, r26 -/* 802C412C 002C108C 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C4130 002C1090 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C4134 002C1094 7D 89 03 A6 */ mtctr r12 -/* 802C4138 002C1098 4E 80 04 21 */ bctrl -/* 802C413C 002C109C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C4140 002C10A0 41 82 03 00 */ beq lbl_802C4440 -/* 802C4144 002C10A4 88 7A 00 AB */ lbz r3, 0xab(r26) -/* 802C4148 002C10A8 3C 00 43 30 */ lis r0, 0x4330 -/* 802C414C 002C10AC 90 01 00 48 */ stw r0, 0x48(r1) -/* 802C4150 002C10B0 C8 22 C3 90 */ lfd f1, lbl_805AE0B0@sda21(r2) -/* 802C4154 002C10B4 90 61 00 4C */ stw r3, 0x4c(r1) -/* 802C4158 002C10B8 C0 5B 00 00 */ lfs f2, 0(r27) -/* 802C415C 002C10BC C8 01 00 48 */ lfd f0, 0x48(r1) -/* 802C4160 002C10C0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C4164 002C10C4 EF E2 00 32 */ fmuls f31, f2, f0 -/* 802C4168 002C10C8 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 802C416C 002C10CC 80 1A 00 A8 */ lwz r0, 0xa8(r26) -/* 802C4170 002C10D0 8B C1 00 08 */ lbz r30, 8(r1) -/* 802C4174 002C10D4 80 7A 00 B0 */ lwz r3, 0xb0(r26) -/* 802C4178 002C10D8 50 1E 00 2E */ rlwimi r30, r0, 0, 0, 0x17 -/* 802C417C 002C10DC 80 9A 00 CC */ lwz r4, 0xcc(r26) -/* 802C4180 002C10E0 4B FF E2 59 */ bl EnableLights__9CGuiFrameCFUi -/* 802C4184 002C10E4 88 1A 00 B6 */ lbz r0, 0xb6(r26) -/* 802C4188 002C10E8 54 1F F7 FF */ rlwinm. r31, r0, 0x1e, 0x1f, 0x1f -/* 802C418C 002C10EC 41 82 00 0C */ beq lbl_802C4198 -/* 802C4190 002C10F0 38 60 00 01 */ li r3, 1 -/* 802C4194 002C10F4 48 04 78 DD */ bl SetCullMode__9CGraphicsF12ERglCullMode -lbl_802C4198: -/* 802C4198 002C10F8 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2) -/* 802C419C 002C10FC 38 80 00 00 */ li r4, 0 -/* 802C41A0 002C1100 38 00 00 03 */ li r0, 3 -/* 802C41A4 002C1104 98 81 00 34 */ stb r4, 0x34(r1) -/* 802C41A8 002C1108 FC 40 08 90 */ fmr f2, f1 -/* 802C41AC 002C110C 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C41B0 002C1110 FC 60 08 90 */ fmr f3, f1 -/* 802C41B4 002C1114 98 81 00 35 */ stb r4, 0x35(r1) -/* 802C41B8 002C1118 FC 80 08 90 */ fmr f4, f1 -/* 802C41BC 002C111C B0 01 00 36 */ sth r0, 0x36(r1) -/* 802C41C0 002C1120 48 09 F2 2D */ bl __ct__6CColorFffff -/* 802C41C4 002C1124 80 1A 00 AC */ lwz r0, 0xac(r26) -/* 802C41C8 002C1128 3B 80 00 01 */ li r28, 1 -/* 802C41CC 002C112C 88 C1 00 34 */ lbz r6, 0x34(r1) -/* 802C41D0 002C1130 88 A1 00 35 */ lbz r5, 0x35(r1) -/* 802C41D4 002C1134 2C 00 00 02 */ cmpwi r0, 2 -/* 802C41D8 002C1138 A0 81 00 36 */ lhz r4, 0x36(r1) -/* 802C41DC 002C113C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 802C41E0 002C1140 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 802C41E4 002C1144 98 A1 00 3D */ stb r5, 0x3d(r1) -/* 802C41E8 002C1148 B0 81 00 3E */ sth r4, 0x3e(r1) -/* 802C41EC 002C114C 90 61 00 40 */ stw r3, 0x40(r1) -/* 802C41F0 002C1150 41 82 00 98 */ beq lbl_802C4288 -/* 802C41F4 002C1154 40 80 00 14 */ bge lbl_802C4208 -/* 802C41F8 002C1158 2C 00 00 00 */ cmpwi r0, 0 -/* 802C41FC 002C115C 41 82 00 1C */ beq lbl_802C4218 -/* 802C4200 002C1160 40 80 00 68 */ bge lbl_802C4268 -/* 802C4204 002C1164 48 00 01 E4 */ b lbl_802C43E8 -lbl_802C4208: -/* 802C4208 002C1168 2C 00 00 04 */ cmpwi r0, 4 -/* 802C420C 002C116C 41 82 01 04 */ beq lbl_802C4310 -/* 802C4210 002C1170 40 80 01 D8 */ bge lbl_802C43E8 -/* 802C4214 002C1174 48 00 00 B8 */ b lbl_802C42CC -lbl_802C4218: -/* 802C4218 002C1178 C0 22 C3 88 */ lfs f1, lbl_805AE0A8@sda21(r2) -/* 802C421C 002C117C 38 80 00 00 */ li r4, 0 -/* 802C4220 002C1180 38 00 00 03 */ li r0, 3 -/* 802C4224 002C1184 98 81 00 2C */ stb r4, 0x2c(r1) -/* 802C4228 002C1188 FC 40 08 90 */ fmr f2, f1 -/* 802C422C 002C118C 38 61 00 30 */ addi r3, r1, 0x30 -/* 802C4230 002C1190 FC 60 08 90 */ fmr f3, f1 -/* 802C4234 002C1194 98 81 00 2D */ stb r4, 0x2d(r1) -/* 802C4238 002C1198 FC 80 08 90 */ fmr f4, f1 -/* 802C423C 002C119C B0 01 00 2E */ sth r0, 0x2e(r1) -/* 802C4240 002C11A0 48 09 F1 AD */ bl __ct__6CColorFffff -/* 802C4244 002C11A4 88 A1 00 2C */ lbz r5, 0x2c(r1) -/* 802C4248 002C11A8 88 81 00 2D */ lbz r4, 0x2d(r1) -/* 802C424C 002C11AC A0 61 00 2E */ lhz r3, 0x2e(r1) -/* 802C4250 002C11B0 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802C4254 002C11B4 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 802C4258 002C11B8 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C425C 002C11BC B0 61 00 3E */ sth r3, 0x3e(r1) -/* 802C4260 002C11C0 90 01 00 40 */ stw r0, 0x40(r1) -/* 802C4264 002C11C4 48 00 01 88 */ b lbl_802C43EC -lbl_802C4268: -/* 802C4268 002C11C8 38 80 00 01 */ li r4, 1 -/* 802C426C 002C11CC 38 60 00 00 */ li r3, 0 -/* 802C4270 002C11D0 38 00 00 03 */ li r0, 3 -/* 802C4274 002C11D4 98 81 00 3C */ stb r4, 0x3c(r1) -/* 802C4278 002C11D8 98 61 00 3D */ stb r3, 0x3d(r1) -/* 802C427C 002C11DC B0 01 00 3E */ sth r0, 0x3e(r1) -/* 802C4280 002C11E0 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802C4284 002C11E4 48 00 01 68 */ b lbl_802C43EC -lbl_802C4288: -/* 802C4288 002C11E8 88 1A 00 B7 */ lbz r0, 0xb7(r26) -/* 802C428C 002C11EC 38 A0 00 05 */ li r5, 5 -/* 802C4290 002C11F0 38 60 00 03 */ li r3, 3 -/* 802C4294 002C11F4 88 DA 00 B6 */ lbz r6, 0xb6(r26) -/* 802C4298 002C11F8 38 80 00 00 */ li r4, 0 -/* 802C429C 002C11FC 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e -/* 802C42A0 002C1200 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 802C42A4 002C1204 98 A1 00 24 */ stb r5, 0x24(r1) -/* 802C42A8 002C1208 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d -/* 802C42AC 002C120C 98 81 00 25 */ stb r4, 0x25(r1) -/* 802C42B0 002C1210 B0 61 00 26 */ sth r3, 0x26(r1) -/* 802C42B4 002C1214 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C42B8 002C1218 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 802C42BC 002C121C 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C42C0 002C1220 B0 01 00 3E */ sth r0, 0x3e(r1) -/* 802C42C4 002C1224 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802C42C8 002C1228 48 00 01 24 */ b lbl_802C43EC -lbl_802C42CC: -/* 802C42CC 002C122C 88 1A 00 B7 */ lbz r0, 0xb7(r26) -/* 802C42D0 002C1230 38 A0 00 07 */ li r5, 7 -/* 802C42D4 002C1234 38 60 00 03 */ li r3, 3 -/* 802C42D8 002C1238 88 DA 00 B6 */ lbz r6, 0xb6(r26) -/* 802C42DC 002C123C 38 80 00 00 */ li r4, 0 -/* 802C42E0 002C1240 54 00 D7 BC */ rlwinm r0, r0, 0x1a, 0x1e, 0x1e -/* 802C42E4 002C1244 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 802C42E8 002C1248 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 802C42EC 002C124C 50 60 04 3A */ rlwimi r0, r3, 0, 0x10, 0x1d -/* 802C42F0 002C1250 98 81 00 1D */ stb r4, 0x1d(r1) -/* 802C42F4 002C1254 B0 61 00 1E */ sth r3, 0x1e(r1) -/* 802C42F8 002C1258 93 C1 00 20 */ stw r30, 0x20(r1) -/* 802C42FC 002C125C 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 802C4300 002C1260 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C4304 002C1264 B0 01 00 3E */ sth r0, 0x3e(r1) -/* 802C4308 002C1268 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802C430C 002C126C 48 00 00 E0 */ b lbl_802C43EC -lbl_802C4310: -/* 802C4310 002C1270 88 1A 00 B6 */ lbz r0, 0xb6(r26) -/* 802C4314 002C1274 38 A0 00 05 */ li r5, 5 -/* 802C4318 002C1278 38 60 00 03 */ li r3, 3 -/* 802C431C 002C127C 38 80 00 00 */ li r4, 0 -/* 802C4320 002C1280 54 06 07 FE */ clrlwi r6, r0, 0x1f -/* 802C4324 002C1284 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 802C4328 002C1288 50 66 04 3A */ rlwimi r6, r3, 0, 0x10, 0x1d -/* 802C432C 002C128C 98 A1 00 14 */ stb r5, 0x14(r1) -/* 802C4330 002C1290 54 C0 04 3E */ clrlwi r0, r6, 0x10 -/* 802C4334 002C1294 98 81 00 15 */ stb r4, 0x15(r1) -/* 802C4338 002C1298 B0 61 00 16 */ sth r3, 0x16(r1) -/* 802C433C 002C129C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C4340 002C12A0 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 802C4344 002C12A4 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C4348 002C12A8 B0 C1 00 3E */ sth r6, 0x3e(r1) -/* 802C434C 002C12AC 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802C4350 002C12B0 41 82 00 18 */ beq lbl_802C4368 -/* 802C4354 002C12B4 60 00 00 08 */ ori r0, r0, 8 -/* 802C4358 002C12B8 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 802C435C 002C12BC 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C4360 002C12C0 B0 01 00 3E */ sth r0, 0x3e(r1) -/* 802C4364 002C12C4 93 C1 00 40 */ stw r30, 0x40(r1) -lbl_802C4368: -/* 802C4368 002C12C8 7F A3 EB 78 */ mr r3, r29 -/* 802C436C 002C12CC 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C4370 002C12D0 48 09 18 65 */ bl Draw__6CModelCFRC11CModelFlags -/* 802C4374 002C12D4 88 1A 00 B7 */ lbz r0, 0xb7(r26) -/* 802C4378 002C12D8 38 C0 00 08 */ li r6, 8 -/* 802C437C 002C12DC 38 80 00 03 */ li r4, 3 -/* 802C4380 002C12E0 88 FA 00 B6 */ lbz r7, 0xb6(r26) -/* 802C4384 002C12E4 54 03 D7 BC */ rlwinm r3, r0, 0x1a, 0x1e, 0x1e -/* 802C4388 002C12E8 38 A0 00 00 */ li r5, 0 -/* 802C438C 002C12EC 50 E3 07 FE */ rlwimi r3, r7, 0, 0x1f, 0x1f -/* 802C4390 002C12F0 54 E0 FF FF */ rlwinm. r0, r7, 0x1f, 0x1f, 0x1f -/* 802C4394 002C12F4 50 83 04 3A */ rlwimi r3, r4, 0, 0x10, 0x1d -/* 802C4398 002C12F8 98 C1 00 0C */ stb r6, 0xc(r1) -/* 802C439C 002C12FC 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 802C43A0 002C1300 98 A1 00 0D */ stb r5, 0xd(r1) -/* 802C43A4 002C1304 B0 81 00 0E */ sth r4, 0xe(r1) -/* 802C43A8 002C1308 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802C43AC 002C130C 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 802C43B0 002C1310 98 A1 00 3D */ stb r5, 0x3d(r1) -/* 802C43B4 002C1314 B0 61 00 3E */ sth r3, 0x3e(r1) -/* 802C43B8 002C1318 93 C1 00 40 */ stw r30, 0x40(r1) -/* 802C43BC 002C131C 41 82 00 18 */ beq lbl_802C43D4 -/* 802C43C0 002C1320 60 00 00 08 */ ori r0, r0, 8 -/* 802C43C4 002C1324 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 802C43C8 002C1328 98 A1 00 3D */ stb r5, 0x3d(r1) -/* 802C43CC 002C132C B0 01 00 3E */ sth r0, 0x3e(r1) -/* 802C43D0 002C1330 93 C1 00 40 */ stw r30, 0x40(r1) -lbl_802C43D4: -/* 802C43D4 002C1334 7F A3 EB 78 */ mr r3, r29 -/* 802C43D8 002C1338 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C43DC 002C133C 48 09 17 F9 */ bl Draw__6CModelCFRC11CModelFlags -/* 802C43E0 002C1340 3B 80 00 00 */ li r28, 0 -/* 802C43E4 002C1344 48 00 00 08 */ b lbl_802C43EC -lbl_802C43E8: -/* 802C43E8 002C1348 3B 80 00 00 */ li r28, 0 -lbl_802C43EC: -/* 802C43EC 002C134C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802C43F0 002C1350 41 82 00 38 */ beq lbl_802C4428 -/* 802C43F4 002C1354 88 1A 00 B6 */ lbz r0, 0xb6(r26) -/* 802C43F8 002C1358 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 802C43FC 002C135C 41 82 00 20 */ beq lbl_802C441C -/* 802C4400 002C1360 A0 61 00 3E */ lhz r3, 0x3e(r1) -/* 802C4404 002C1364 88 81 00 3D */ lbz r4, 0x3d(r1) -/* 802C4408 002C1368 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 802C440C 002C136C 60 63 00 08 */ ori r3, r3, 8 -/* 802C4410 002C1370 98 81 00 3D */ stb r4, 0x3d(r1) -/* 802C4414 002C1374 B0 61 00 3E */ sth r3, 0x3e(r1) -/* 802C4418 002C1378 90 A1 00 40 */ stw r5, 0x40(r1) -lbl_802C441C: -/* 802C441C 002C137C 7F A3 EB 78 */ mr r3, r29 -/* 802C4420 002C1380 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C4424 002C1384 48 09 17 B1 */ bl Draw__6CModelCFRC11CModelFlags -lbl_802C4428: -/* 802C4428 002C1388 28 1F 00 00 */ cmplwi r31, 0 -/* 802C442C 002C138C 41 82 00 0C */ beq lbl_802C4438 -/* 802C4430 002C1390 38 60 00 00 */ li r3, 0 -/* 802C4434 002C1394 48 04 76 3D */ bl SetCullMode__9CGraphicsF12ERglCullMode -lbl_802C4438: -/* 802C4438 002C1398 80 7A 00 B0 */ lwz r3, 0xb0(r26) -/* 802C443C 002C139C 4B FF E0 BD */ bl DisableLights__9CGuiFrameCFv -lbl_802C4440: -/* 802C4440 002C13A0 7F 43 D3 78 */ mr r3, r26 -/* 802C4444 002C13A4 7F 64 DB 78 */ mr r4, r27 -/* 802C4448 002C13A8 48 00 66 19 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms -lbl_802C444C: -/* 802C444C 002C13AC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802C4450 002C13B0 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802C4454 002C13B4 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 802C4458 002C13B8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C445C 002C13BC 7C 08 03 A6 */ mtlr r0 -/* 802C4460 002C13C0 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C4464 002C13C4 4E 80 00 20 */ blr - -.global __dt__9CGuiModelFv -__dt__9CGuiModelFv: -/* 802C4468 002C13C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C446C 002C13CC 7C 08 02 A6 */ mflr r0 -/* 802C4470 002C13D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C4474 002C13D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C4478 002C13D8 7C 9F 23 78 */ mr r31, r4 -/* 802C447C 002C13DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C4480 002C13E0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C4484 002C13E4 41 82 00 60 */ beq lbl_802C44E4 -/* 802C4488 002C13E8 3C 60 80 3F */ lis r3, lbl_803EC888@ha -/* 802C448C 002C13EC 34 1E 00 B8 */ addic. r0, r30, 0xb8 -/* 802C4490 002C13F0 38 03 C8 88 */ addi r0, r3, lbl_803EC888@l -/* 802C4494 002C13F4 90 1E 00 00 */ stw r0, 0(r30) -/* 802C4498 002C13F8 41 82 00 30 */ beq lbl_802C44C8 -/* 802C449C 002C13FC 88 1E 00 C4 */ lbz r0, 0xc4(r30) -/* 802C44A0 002C1400 28 00 00 00 */ cmplwi r0, 0 -/* 802C44A4 002C1404 41 82 00 1C */ beq lbl_802C44C0 -/* 802C44A8 002C1408 34 7E 00 B8 */ addic. r3, r30, 0xb8 -/* 802C44AC 002C140C 41 82 00 14 */ beq lbl_802C44C0 -/* 802C44B0 002C1410 28 03 00 00 */ cmplwi r3, 0 -/* 802C44B4 002C1414 41 82 00 0C */ beq lbl_802C44C0 -/* 802C44B8 002C1418 38 80 00 00 */ li r4, 0 -/* 802C44BC 002C141C 48 07 C9 85 */ bl __dt__6CTokenFv -lbl_802C44C0: -/* 802C44C0 002C1420 38 00 00 00 */ li r0, 0 -/* 802C44C4 002C1424 98 1E 00 C4 */ stb r0, 0xc4(r30) -lbl_802C44C8: -/* 802C44C8 002C1428 7F C3 F3 78 */ mr r3, r30 -/* 802C44CC 002C142C 38 80 00 00 */ li r4, 0 -/* 802C44D0 002C1430 48 00 66 E5 */ bl __dt__10CGuiWidgetFv -/* 802C44D4 002C1434 7F E0 07 35 */ extsh. r0, r31 -/* 802C44D8 002C1438 40 81 00 0C */ ble lbl_802C44E4 -/* 802C44DC 002C143C 7F C3 F3 78 */ mr r3, r30 -/* 802C44E0 002C1440 48 05 14 51 */ bl Free__7CMemoryFPCv -lbl_802C44E4: -/* 802C44E4 002C1444 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C44E8 002C1448 7F C3 F3 78 */ mr r3, r30 -/* 802C44EC 002C144C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C44F0 002C1450 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C44F4 002C1454 7C 08 03 A6 */ mtlr r0 -/* 802C44F8 002C1458 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C44FC 002C145C 4E 80 00 20 */ blr - -.global __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib -__ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib: -/* 802C4500 002C1460 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C4504 002C1464 7C 08 02 A6 */ mflr r0 -/* 802C4508 002C1468 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C450C 002C146C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 802C4510 002C1470 7C 7F 1B 78 */ mr r31, r3 -/* 802C4514 002C1474 7C BB 2B 78 */ mr r27, r5 -/* 802C4518 002C1478 7C DC 33 78 */ mr r28, r6 -/* 802C451C 002C147C 7C FD 3B 78 */ mr r29, r7 -/* 802C4520 002C1480 7D 1E 43 78 */ mr r30, r8 -/* 802C4524 002C1484 48 00 67 01 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C4528 002C1488 3C 60 80 3F */ lis r3, lbl_803EC888@ha -/* 802C452C 002C148C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802C4530 002C1490 38 83 C8 88 */ addi r4, r3, lbl_803EC888@l -/* 802C4534 002C1494 90 9F 00 00 */ stw r4, 0(r31) -/* 802C4538 002C1498 38 60 00 00 */ li r3, 0 -/* 802C453C 002C149C 98 7F 00 C4 */ stb r3, 0xc4(r31) -/* 802C4540 002C14A0 93 9F 00 C8 */ stw r28, 0xc8(r31) -/* 802C4544 002C14A4 93 BF 00 CC */ stw r29, 0xcc(r31) -/* 802C4548 002C14A8 80 8D A6 40 */ lwz r4, lbl_805A9200@sda21(r13) -/* 802C454C 002C14AC 41 82 00 CC */ beq lbl_802C4618 -/* 802C4550 002C14B0 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 802C4554 002C14B4 3C 03 00 01 */ addis r0, r3, 1 -/* 802C4558 002C14B8 28 00 FF FF */ cmplwi r0, 0xffff -/* 802C455C 002C14BC 41 82 00 BC */ beq lbl_802C4618 -/* 802C4560 002C14C0 80 04 00 08 */ lwz r0, 8(r4) -/* 802C4564 002C14C4 2C 00 00 02 */ cmpwi r0, 2 -/* 802C4568 002C14C8 41 82 00 B0 */ beq lbl_802C4618 -/* 802C456C 002C14CC 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 802C4570 002C14D0 93 81 00 14 */ stw r28, 0x14(r1) -/* 802C4574 002C14D4 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 802C4578 002C14D8 7F 64 DB 78 */ mr r4, r27 -/* 802C457C 002C14DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C4580 002C14E0 38 61 00 08 */ addi r3, r1, 8 -/* 802C4584 002C14E4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802C4588 002C14E8 81 9B 00 00 */ lwz r12, 0(r27) -/* 802C458C 002C14EC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802C4590 002C14F0 7D 89 03 A6 */ mtctr r12 -/* 802C4594 002C14F4 4E 80 04 21 */ bctrl -/* 802C4598 002C14F8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C459C 002C14FC 38 81 00 08 */ addi r4, r1, 8 -/* 802C45A0 002C1500 48 07 C9 09 */ bl __ct__6CTokenFRC6CToken -/* 802C45A4 002C1504 38 00 00 00 */ li r0, 0 -/* 802C45A8 002C1508 90 01 00 20 */ stw r0, 0x20(r1) -/* 802C45AC 002C150C 88 1F 00 C4 */ lbz r0, 0xc4(r31) -/* 802C45B0 002C1510 28 00 00 00 */ cmplwi r0, 0 -/* 802C45B4 002C1514 40 82 00 2C */ bne lbl_802C45E0 -/* 802C45B8 002C1518 37 DF 00 B8 */ addic. r30, r31, 0xb8 -/* 802C45BC 002C151C 41 82 00 18 */ beq lbl_802C45D4 -/* 802C45C0 002C1520 7F C3 F3 78 */ mr r3, r30 -/* 802C45C4 002C1524 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C45C8 002C1528 48 07 C8 E1 */ bl __ct__6CTokenFRC6CToken -/* 802C45CC 002C152C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802C45D0 002C1530 90 1E 00 08 */ stw r0, 8(r30) -lbl_802C45D4: -/* 802C45D4 002C1534 38 00 00 01 */ li r0, 1 -/* 802C45D8 002C1538 98 1F 00 C4 */ stb r0, 0xc4(r31) -/* 802C45DC 002C153C 48 00 00 1C */ b lbl_802C45F8 -lbl_802C45E0: -/* 802C45E0 002C1540 3B DF 00 B8 */ addi r30, r31, 0xb8 -/* 802C45E4 002C1544 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C45E8 002C1548 7F C3 F3 78 */ mr r3, r30 -/* 802C45EC 002C154C 48 07 C6 D9 */ bl __as__6CTokenFRC6CToken -/* 802C45F0 002C1550 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802C45F4 002C1554 90 1E 00 08 */ stw r0, 8(r30) -lbl_802C45F8: -/* 802C45F8 002C1558 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C45FC 002C155C 38 80 00 00 */ li r4, 0 -/* 802C4600 002C1560 48 07 C8 41 */ bl __dt__6CTokenFv -/* 802C4604 002C1564 38 61 00 08 */ addi r3, r1, 8 -/* 802C4608 002C1568 38 80 FF FF */ li r4, -1 -/* 802C460C 002C156C 48 07 C8 35 */ bl __dt__6CTokenFv -/* 802C4610 002C1570 38 7F 00 B8 */ addi r3, r31, 0xb8 -/* 802C4614 002C1574 48 07 C7 71 */ bl Lock__6CTokenFv -lbl_802C4618: -/* 802C4618 002C1578 7F E3 FB 78 */ mr r3, r31 -/* 802C461C 002C157C BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802C4620 002C1580 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C4624 002C1584 7C 08 03 A6 */ mtlr r0 -/* 802C4628 002C1588 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C462C 002C158C 4E 80 00 20 */ blr - -.global Create__9CGuiModelFP9CGuiFrameR12CInputStreamb -Create__9CGuiModelFP9CGuiFrameR12CInputStreamb: -/* 802C4630 002C1590 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C4634 002C1594 7C 08 02 A6 */ mflr r0 -/* 802C4638 002C1598 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C463C 002C159C BF 41 00 38 */ stmw r26, 0x38(r1) -/* 802C4640 002C15A0 7C 7D 1B 78 */ mr r29, r3 -/* 802C4644 002C15A4 7C 9E 23 78 */ mr r30, r4 -/* 802C4648 002C15A8 7C BF 2B 78 */ mr r31, r5 -/* 802C464C 002C15AC 38 61 00 08 */ addi r3, r1, 8 -/* 802C4650 002C15B0 7F A4 EB 78 */ mr r4, r29 -/* 802C4654 002C15B4 7F C5 F3 78 */ mr r5, r30 -/* 802C4658 002C15B8 48 00 66 F9 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C465C 002C15BC 83 81 00 08 */ lwz r28, 8(r1) -/* 802C4660 002C15C0 7F C3 F3 78 */ mr r3, r30 -/* 802C4664 002C15C4 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C4668 002C15C8 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C466C 002C15CC A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C4670 002C15D0 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C4674 002C15D4 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C4678 002C15D8 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C467C 002C15DC 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C4680 002C15E0 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C4684 002C15E4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C4688 002C15E8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C468C 002C15EC 93 81 00 20 */ stw r28, 0x20(r1) -/* 802C4690 002C15F0 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C4694 002C15F4 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C4698 002C15F8 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C469C 002C15FC 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C46A0 002C1600 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C46A4 002C1604 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C46A8 002C1608 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C46AC 002C160C 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C46B0 002C1610 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C46B4 002C1614 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C46B8 002C1618 48 07 A5 CD */ bl ReadLong__12CInputStreamFv -/* 802C46BC 002C161C 7C 7C 1B 78 */ mr r28, r3 -/* 802C46C0 002C1620 7F C3 F3 78 */ mr r3, r30 -/* 802C46C4 002C1624 48 07 A5 C1 */ bl ReadLong__12CInputStreamFv -/* 802C46C8 002C1628 7F C3 F3 78 */ mr r3, r30 -/* 802C46CC 002C162C 48 07 A5 B9 */ bl ReadLong__12CInputStreamFv -/* 802C46D0 002C1630 3C 80 80 3D */ lis r4, lbl_803D68B0@ha -/* 802C46D4 002C1634 7C 7B 1B 78 */ mr r27, r3 -/* 802C46D8 002C1638 38 84 68 B0 */ addi r4, r4, lbl_803D68B0@l -/* 802C46DC 002C163C 38 60 00 D0 */ li r3, 0xd0 -/* 802C46E0 002C1640 38 A0 00 00 */ li r5, 0 -/* 802C46E4 002C1644 48 05 11 89 */ bl __nw__FUlPCcPCc -/* 802C46E8 002C1648 7C 7A 1B 79 */ or. r26, r3, r3 -/* 802C46EC 002C164C 41 82 00 20 */ beq lbl_802C470C -/* 802C46F0 002C1650 7F E5 FB 78 */ mr r5, r31 -/* 802C46F4 002C1654 7F 86 E3 78 */ mr r6, r28 -/* 802C46F8 002C1658 7F 67 DB 78 */ mr r7, r27 -/* 802C46FC 002C165C 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C4700 002C1660 39 00 00 01 */ li r8, 1 -/* 802C4704 002C1664 4B FF FD FD */ bl __ct__9CGuiModelFRCQ210CGuiWidget15CGuiWidgetParmsUiUib -/* 802C4708 002C1668 7C 7A 1B 78 */ mr r26, r3 -lbl_802C470C: -/* 802C470C 002C166C 7F 43 D3 78 */ mr r3, r26 -/* 802C4710 002C1670 7F A4 EB 78 */ mr r4, r29 -/* 802C4714 002C1674 7F C5 F3 78 */ mr r5, r30 -/* 802C4718 002C1678 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C471C 002C167C 48 00 63 6D */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C4720 002C1680 7F 43 D3 78 */ mr r3, r26 -/* 802C4724 002C1684 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 802C4728 002C1688 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C472C 002C168C 7C 08 03 A6 */ mtlr r0 -/* 802C4730 002C1690 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C4734 002C1694 4E 80 00 20 */ blr - -.global SetO2WTransform__10CGuiObjectFRC12CTransform4f -SetO2WTransform__10CGuiObjectFRC12CTransform4f: -/* 802C4738 002C1698 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802C473C 002C169C 7C 08 02 A6 */ mflr r0 -/* 802C4740 002C16A0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802C4744 002C16A4 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 802C4748 002C16A8 7C 9F 23 78 */ mr r31, r4 -/* 802C474C 002C16AC 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 802C4750 002C16B0 7C 7E 1B 78 */ mr r30, r3 -/* 802C4754 002C16B4 80 83 00 64 */ lwz r4, 0x64(r3) -/* 802C4758 002C16B8 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C475C 002C16BC 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4760 002C16C0 48 04 E5 3D */ bl GetQuickInverse__12CTransform4fCFv -/* 802C4764 002C16C4 38 61 00 98 */ addi r3, r1, 0x98 -/* 802C4768 002C16C8 38 81 00 38 */ addi r4, r1, 0x38 -/* 802C476C 002C16CC 48 04 E4 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C4770 002C16D0 7F E5 FB 78 */ mr r5, r31 -/* 802C4774 002C16D4 38 61 00 08 */ addi r3, r1, 8 -/* 802C4778 002C16D8 38 81 00 98 */ addi r4, r1, 0x98 -/* 802C477C 002C16DC 48 04 E1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4780 002C16E0 38 61 00 68 */ addi r3, r1, 0x68 -/* 802C4784 002C16E4 38 81 00 08 */ addi r4, r1, 8 -/* 802C4788 002C16E8 48 04 E3 ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C478C 002C16EC 7F C3 F3 78 */ mr r3, r30 -/* 802C4790 002C16F0 38 81 00 68 */ addi r4, r1, 0x68 -/* 802C4794 002C16F4 48 00 00 1D */ bl sub_802c47b0 -/* 802C4798 002C16F8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802C479C 002C16FC 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 802C47A0 002C1700 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 802C47A4 002C1704 7C 08 03 A6 */ mtlr r0 -/* 802C47A8 002C1708 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802C47AC 002C170C 4E 80 00 20 */ blr - -.global sub_802c47b0 -sub_802c47b0: -/* 802C47B0 002C1710 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C47B4 002C1714 7C 08 02 A6 */ mflr r0 -/* 802C47B8 002C1718 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C47BC 002C171C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C47C0 002C1720 7C 7F 1B 78 */ mr r31, r3 -/* 802C47C4 002C1724 38 7F 00 04 */ addi r3, r31, 4 -/* 802C47C8 002C1728 48 04 E3 79 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C47CC 002C172C 7F E3 FB 78 */ mr r3, r31 -/* 802C47D0 002C1730 48 00 00 19 */ bl RecalculateTransforms__10CGuiObjectFv -/* 802C47D4 002C1734 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C47D8 002C1738 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C47DC 002C173C 7C 08 03 A6 */ mtlr r0 -/* 802C47E0 002C1740 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C47E4 002C1744 4E 80 00 20 */ blr - -.global RecalculateTransforms__10CGuiObjectFv -RecalculateTransforms__10CGuiObjectFv: -/* 802C47E8 002C1748 94 21 FD 10 */ stwu r1, -0x2f0(r1) -/* 802C47EC 002C174C 7C 08 02 A6 */ mflr r0 -/* 802C47F0 002C1750 90 01 02 F4 */ stw r0, 0x2f4(r1) -/* 802C47F4 002C1754 93 E1 02 EC */ stw r31, 0x2ec(r1) -/* 802C47F8 002C1758 7C 7F 1B 78 */ mr r31, r3 -/* 802C47FC 002C175C 93 C1 02 E8 */ stw r30, 0x2e8(r1) -/* 802C4800 002C1760 93 A1 02 E4 */ stw r29, 0x2e4(r1) -/* 802C4804 002C1764 93 81 02 E0 */ stw r28, 0x2e0(r1) -/* 802C4808 002C1768 80 83 00 64 */ lwz r4, 0x64(r3) -/* 802C480C 002C176C 28 04 00 00 */ cmplwi r4, 0 -/* 802C4810 002C1770 41 82 00 24 */ beq lbl_802C4834 -/* 802C4814 002C1774 38 61 02 A8 */ addi r3, r1, 0x2a8 -/* 802C4818 002C1778 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C481C 002C177C 38 BF 00 04 */ addi r5, r31, 4 -/* 802C4820 002C1780 48 04 E1 31 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4824 002C1784 38 7F 00 34 */ addi r3, r31, 0x34 -/* 802C4828 002C1788 38 81 02 A8 */ addi r4, r1, 0x2a8 -/* 802C482C 002C178C 48 04 E3 15 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4830 002C1790 48 00 00 10 */ b lbl_802C4840 -lbl_802C4834: -/* 802C4834 002C1794 38 7F 00 34 */ addi r3, r31, 0x34 -/* 802C4838 002C1798 38 9F 00 04 */ addi r4, r31, 4 -/* 802C483C 002C179C 48 04 E3 05 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4840: -/* 802C4840 002C17A0 83 DF 00 6C */ lwz r30, 0x6c(r31) -/* 802C4844 002C17A4 28 1E 00 00 */ cmplwi r30, 0 -/* 802C4848 002C17A8 41 82 02 54 */ beq lbl_802C4A9C -/* 802C484C 002C17AC 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 802C4850 002C17B0 28 04 00 00 */ cmplwi r4, 0 -/* 802C4854 002C17B4 41 82 00 24 */ beq lbl_802C4878 -/* 802C4858 002C17B8 38 61 02 78 */ addi r3, r1, 0x278 -/* 802C485C 002C17BC 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4860 002C17C0 38 BE 00 04 */ addi r5, r30, 4 -/* 802C4864 002C17C4 48 04 E0 ED */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4868 002C17C8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802C486C 002C17CC 38 81 02 78 */ addi r4, r1, 0x278 -/* 802C4870 002C17D0 48 04 E2 D1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4874 002C17D4 48 00 00 10 */ b lbl_802C4884 -lbl_802C4878: -/* 802C4878 002C17D8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802C487C 002C17DC 38 9E 00 04 */ addi r4, r30, 4 -/* 802C4880 002C17E0 48 04 E2 C1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4884: -/* 802C4884 002C17E4 83 BE 00 6C */ lwz r29, 0x6c(r30) -/* 802C4888 002C17E8 28 1D 00 00 */ cmplwi r29, 0 -/* 802C488C 002C17EC 41 82 01 04 */ beq lbl_802C4990 -/* 802C4890 002C17F0 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 802C4894 002C17F4 28 04 00 00 */ cmplwi r4, 0 -/* 802C4898 002C17F8 41 82 00 24 */ beq lbl_802C48BC -/* 802C489C 002C17FC 38 61 02 18 */ addi r3, r1, 0x218 -/* 802C48A0 002C1800 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C48A4 002C1804 38 BD 00 04 */ addi r5, r29, 4 -/* 802C48A8 002C1808 48 04 E0 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C48AC 002C180C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C48B0 002C1810 38 81 02 18 */ addi r4, r1, 0x218 -/* 802C48B4 002C1814 48 04 E2 8D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C48B8 002C1818 48 00 00 10 */ b lbl_802C48C8 -lbl_802C48BC: -/* 802C48BC 002C181C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C48C0 002C1820 38 9D 00 04 */ addi r4, r29, 4 -/* 802C48C4 002C1824 48 04 E2 7D */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C48C8: -/* 802C48C8 002C1828 83 9D 00 6C */ lwz r28, 0x6c(r29) -/* 802C48CC 002C182C 28 1C 00 00 */ cmplwi r28, 0 -/* 802C48D0 002C1830 41 82 00 5C */ beq lbl_802C492C -/* 802C48D4 002C1834 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C48D8 002C1838 28 04 00 00 */ cmplwi r4, 0 -/* 802C48DC 002C183C 41 82 00 24 */ beq lbl_802C4900 -/* 802C48E0 002C1840 38 61 01 58 */ addi r3, r1, 0x158 -/* 802C48E4 002C1844 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C48E8 002C1848 38 BC 00 04 */ addi r5, r28, 4 -/* 802C48EC 002C184C 48 04 E0 65 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C48F0 002C1850 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C48F4 002C1854 38 81 01 58 */ addi r4, r1, 0x158 -/* 802C48F8 002C1858 48 04 E2 49 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C48FC 002C185C 48 00 00 10 */ b lbl_802C490C -lbl_802C4900: -/* 802C4900 002C1860 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4904 002C1864 38 9C 00 04 */ addi r4, r28, 4 -/* 802C4908 002C1868 48 04 E2 39 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C490C: -/* 802C490C 002C186C 80 7C 00 6C */ lwz r3, 0x6c(r28) -/* 802C4910 002C1870 28 03 00 00 */ cmplwi r3, 0 -/* 802C4914 002C1874 41 82 00 08 */ beq lbl_802C491C -/* 802C4918 002C1878 4B FF FE D1 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C491C: -/* 802C491C 002C187C 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 802C4920 002C1880 28 03 00 00 */ cmplwi r3, 0 -/* 802C4924 002C1884 41 82 00 08 */ beq lbl_802C492C -/* 802C4928 002C1888 4B FF FE C1 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C492C: -/* 802C492C 002C188C 83 9D 00 68 */ lwz r28, 0x68(r29) -/* 802C4930 002C1890 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4934 002C1894 41 82 00 5C */ beq lbl_802C4990 -/* 802C4938 002C1898 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C493C 002C189C 28 04 00 00 */ cmplwi r4, 0 -/* 802C4940 002C18A0 41 82 00 24 */ beq lbl_802C4964 -/* 802C4944 002C18A4 38 61 01 28 */ addi r3, r1, 0x128 -/* 802C4948 002C18A8 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C494C 002C18AC 38 BC 00 04 */ addi r5, r28, 4 -/* 802C4950 002C18B0 48 04 E0 01 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4954 002C18B4 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4958 002C18B8 38 81 01 28 */ addi r4, r1, 0x128 -/* 802C495C 002C18BC 48 04 E1 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4960 002C18C0 48 00 00 10 */ b lbl_802C4970 -lbl_802C4964: -/* 802C4964 002C18C4 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4968 002C18C8 38 9C 00 04 */ addi r4, r28, 4 -/* 802C496C 002C18CC 48 04 E1 D5 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4970: -/* 802C4970 002C18D0 80 7C 00 6C */ lwz r3, 0x6c(r28) -/* 802C4974 002C18D4 28 03 00 00 */ cmplwi r3, 0 -/* 802C4978 002C18D8 41 82 00 08 */ beq lbl_802C4980 -/* 802C497C 002C18DC 4B FF FE 6D */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4980: -/* 802C4980 002C18E0 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 802C4984 002C18E4 28 03 00 00 */ cmplwi r3, 0 -/* 802C4988 002C18E8 41 82 00 08 */ beq lbl_802C4990 -/* 802C498C 002C18EC 4B FF FE 5D */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4990: -/* 802C4990 002C18F0 83 9E 00 68 */ lwz r28, 0x68(r30) -/* 802C4994 002C18F4 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4998 002C18F8 41 82 01 04 */ beq lbl_802C4A9C -/* 802C499C 002C18FC 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C49A0 002C1900 28 04 00 00 */ cmplwi r4, 0 -/* 802C49A4 002C1904 41 82 00 24 */ beq lbl_802C49C8 -/* 802C49A8 002C1908 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 802C49AC 002C190C 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C49B0 002C1910 38 BC 00 04 */ addi r5, r28, 4 -/* 802C49B4 002C1914 48 04 DF 9D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C49B8 002C1918 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C49BC 002C191C 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 802C49C0 002C1920 48 04 E1 81 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C49C4 002C1924 48 00 00 10 */ b lbl_802C49D4 -lbl_802C49C8: -/* 802C49C8 002C1928 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C49CC 002C192C 38 9C 00 04 */ addi r4, r28, 4 -/* 802C49D0 002C1930 48 04 E1 71 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C49D4: -/* 802C49D4 002C1934 83 BC 00 6C */ lwz r29, 0x6c(r28) -/* 802C49D8 002C1938 28 1D 00 00 */ cmplwi r29, 0 -/* 802C49DC 002C193C 41 82 00 5C */ beq lbl_802C4A38 -/* 802C49E0 002C1940 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 802C49E4 002C1944 28 04 00 00 */ cmplwi r4, 0 -/* 802C49E8 002C1948 41 82 00 24 */ beq lbl_802C4A0C -/* 802C49EC 002C194C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 802C49F0 002C1950 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C49F4 002C1954 38 BD 00 04 */ addi r5, r29, 4 -/* 802C49F8 002C1958 48 04 DF 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C49FC 002C195C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4A00 002C1960 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 802C4A04 002C1964 48 04 E1 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4A08 002C1968 48 00 00 10 */ b lbl_802C4A18 -lbl_802C4A0C: -/* 802C4A0C 002C196C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4A10 002C1970 38 9D 00 04 */ addi r4, r29, 4 -/* 802C4A14 002C1974 48 04 E1 2D */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4A18: -/* 802C4A18 002C1978 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 802C4A1C 002C197C 28 03 00 00 */ cmplwi r3, 0 -/* 802C4A20 002C1980 41 82 00 08 */ beq lbl_802C4A28 -/* 802C4A24 002C1984 4B FF FD C5 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4A28: -/* 802C4A28 002C1988 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 802C4A2C 002C198C 28 03 00 00 */ cmplwi r3, 0 -/* 802C4A30 002C1990 41 82 00 08 */ beq lbl_802C4A38 -/* 802C4A34 002C1994 4B FF FD B5 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4A38: -/* 802C4A38 002C1998 83 9C 00 68 */ lwz r28, 0x68(r28) -/* 802C4A3C 002C199C 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4A40 002C19A0 41 82 00 5C */ beq lbl_802C4A9C -/* 802C4A44 002C19A4 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C4A48 002C19A8 28 04 00 00 */ cmplwi r4, 0 -/* 802C4A4C 002C19AC 41 82 00 24 */ beq lbl_802C4A70 -/* 802C4A50 002C19B0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802C4A54 002C19B4 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4A58 002C19B8 38 BC 00 04 */ addi r5, r28, 4 -/* 802C4A5C 002C19BC 48 04 DE F5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4A60 002C19C0 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4A64 002C19C4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 802C4A68 002C19C8 48 04 E0 D9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4A6C 002C19CC 48 00 00 10 */ b lbl_802C4A7C -lbl_802C4A70: -/* 802C4A70 002C19D0 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4A74 002C19D4 38 9C 00 04 */ addi r4, r28, 4 -/* 802C4A78 002C19D8 48 04 E0 C9 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4A7C: -/* 802C4A7C 002C19DC 80 7C 00 6C */ lwz r3, 0x6c(r28) -/* 802C4A80 002C19E0 28 03 00 00 */ cmplwi r3, 0 -/* 802C4A84 002C19E4 41 82 00 08 */ beq lbl_802C4A8C -/* 802C4A88 002C19E8 4B FF FD 61 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4A8C: -/* 802C4A8C 002C19EC 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 802C4A90 002C19F0 28 03 00 00 */ cmplwi r3, 0 -/* 802C4A94 002C19F4 41 82 00 08 */ beq lbl_802C4A9C -/* 802C4A98 002C19F8 4B FF FD 51 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4A9C: -/* 802C4A9C 002C19FC 83 9F 00 68 */ lwz r28, 0x68(r31) -/* 802C4AA0 002C1A00 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4AA4 002C1A04 41 82 02 54 */ beq lbl_802C4CF8 -/* 802C4AA8 002C1A08 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C4AAC 002C1A0C 28 04 00 00 */ cmplwi r4, 0 -/* 802C4AB0 002C1A10 41 82 00 24 */ beq lbl_802C4AD4 -/* 802C4AB4 002C1A14 38 61 02 48 */ addi r3, r1, 0x248 -/* 802C4AB8 002C1A18 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4ABC 002C1A1C 38 BC 00 04 */ addi r5, r28, 4 -/* 802C4AC0 002C1A20 48 04 DE 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4AC4 002C1A24 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4AC8 002C1A28 38 81 02 48 */ addi r4, r1, 0x248 -/* 802C4ACC 002C1A2C 48 04 E0 75 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4AD0 002C1A30 48 00 00 10 */ b lbl_802C4AE0 -lbl_802C4AD4: -/* 802C4AD4 002C1A34 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4AD8 002C1A38 38 9C 00 04 */ addi r4, r28, 4 -/* 802C4ADC 002C1A3C 48 04 E0 65 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4AE0: -/* 802C4AE0 002C1A40 83 BC 00 6C */ lwz r29, 0x6c(r28) -/* 802C4AE4 002C1A44 28 1D 00 00 */ cmplwi r29, 0 -/* 802C4AE8 002C1A48 41 82 01 04 */ beq lbl_802C4BEC -/* 802C4AEC 002C1A4C 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 802C4AF0 002C1A50 28 04 00 00 */ cmplwi r4, 0 -/* 802C4AF4 002C1A54 41 82 00 24 */ beq lbl_802C4B18 -/* 802C4AF8 002C1A58 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 802C4AFC 002C1A5C 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4B00 002C1A60 38 BD 00 04 */ addi r5, r29, 4 -/* 802C4B04 002C1A64 48 04 DE 4D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4B08 002C1A68 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4B0C 002C1A6C 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 802C4B10 002C1A70 48 04 E0 31 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4B14 002C1A74 48 00 00 10 */ b lbl_802C4B24 -lbl_802C4B18: -/* 802C4B18 002C1A78 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4B1C 002C1A7C 38 9D 00 04 */ addi r4, r29, 4 -/* 802C4B20 002C1A80 48 04 E0 21 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4B24: -/* 802C4B24 002C1A84 83 DD 00 6C */ lwz r30, 0x6c(r29) -/* 802C4B28 002C1A88 28 1E 00 00 */ cmplwi r30, 0 -/* 802C4B2C 002C1A8C 41 82 00 5C */ beq lbl_802C4B88 -/* 802C4B30 002C1A90 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 802C4B34 002C1A94 28 04 00 00 */ cmplwi r4, 0 -/* 802C4B38 002C1A98 41 82 00 24 */ beq lbl_802C4B5C -/* 802C4B3C 002C1A9C 38 61 00 98 */ addi r3, r1, 0x98 -/* 802C4B40 002C1AA0 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4B44 002C1AA4 38 BE 00 04 */ addi r5, r30, 4 -/* 802C4B48 002C1AA8 48 04 DE 09 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4B4C 002C1AAC 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802C4B50 002C1AB0 38 81 00 98 */ addi r4, r1, 0x98 -/* 802C4B54 002C1AB4 48 04 DF ED */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4B58 002C1AB8 48 00 00 10 */ b lbl_802C4B68 -lbl_802C4B5C: -/* 802C4B5C 002C1ABC 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802C4B60 002C1AC0 38 9E 00 04 */ addi r4, r30, 4 -/* 802C4B64 002C1AC4 48 04 DF DD */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4B68: -/* 802C4B68 002C1AC8 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802C4B6C 002C1ACC 28 03 00 00 */ cmplwi r3, 0 -/* 802C4B70 002C1AD0 41 82 00 08 */ beq lbl_802C4B78 -/* 802C4B74 002C1AD4 4B FF FC 75 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4B78: -/* 802C4B78 002C1AD8 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 802C4B7C 002C1ADC 28 03 00 00 */ cmplwi r3, 0 -/* 802C4B80 002C1AE0 41 82 00 08 */ beq lbl_802C4B88 -/* 802C4B84 002C1AE4 4B FF FC 65 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4B88: -/* 802C4B88 002C1AE8 83 BD 00 68 */ lwz r29, 0x68(r29) -/* 802C4B8C 002C1AEC 28 1D 00 00 */ cmplwi r29, 0 -/* 802C4B90 002C1AF0 41 82 00 5C */ beq lbl_802C4BEC -/* 802C4B94 002C1AF4 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 802C4B98 002C1AF8 28 04 00 00 */ cmplwi r4, 0 -/* 802C4B9C 002C1AFC 41 82 00 24 */ beq lbl_802C4BC0 -/* 802C4BA0 002C1B00 38 61 00 68 */ addi r3, r1, 0x68 -/* 802C4BA4 002C1B04 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4BA8 002C1B08 38 BD 00 04 */ addi r5, r29, 4 -/* 802C4BAC 002C1B0C 48 04 DD A5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4BB0 002C1B10 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4BB4 002C1B14 38 81 00 68 */ addi r4, r1, 0x68 -/* 802C4BB8 002C1B18 48 04 DF 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4BBC 002C1B1C 48 00 00 10 */ b lbl_802C4BCC -lbl_802C4BC0: -/* 802C4BC0 002C1B20 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4BC4 002C1B24 38 9D 00 04 */ addi r4, r29, 4 -/* 802C4BC8 002C1B28 48 04 DF 79 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4BCC: -/* 802C4BCC 002C1B2C 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 802C4BD0 002C1B30 28 03 00 00 */ cmplwi r3, 0 -/* 802C4BD4 002C1B34 41 82 00 08 */ beq lbl_802C4BDC -/* 802C4BD8 002C1B38 4B FF FC 11 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4BDC: -/* 802C4BDC 002C1B3C 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 802C4BE0 002C1B40 28 03 00 00 */ cmplwi r3, 0 -/* 802C4BE4 002C1B44 41 82 00 08 */ beq lbl_802C4BEC -/* 802C4BE8 002C1B48 4B FF FC 01 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4BEC: -/* 802C4BEC 002C1B4C 83 9C 00 68 */ lwz r28, 0x68(r28) -/* 802C4BF0 002C1B50 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4BF4 002C1B54 41 82 01 04 */ beq lbl_802C4CF8 -/* 802C4BF8 002C1B58 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C4BFC 002C1B5C 28 04 00 00 */ cmplwi r4, 0 -/* 802C4C00 002C1B60 41 82 00 24 */ beq lbl_802C4C24 -/* 802C4C04 002C1B64 38 61 01 88 */ addi r3, r1, 0x188 -/* 802C4C08 002C1B68 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4C0C 002C1B6C 38 BC 00 04 */ addi r5, r28, 4 -/* 802C4C10 002C1B70 48 04 DD 41 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4C14 002C1B74 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4C18 002C1B78 38 81 01 88 */ addi r4, r1, 0x188 -/* 802C4C1C 002C1B7C 48 04 DF 25 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4C20 002C1B80 48 00 00 10 */ b lbl_802C4C30 -lbl_802C4C24: -/* 802C4C24 002C1B84 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4C28 002C1B88 38 9C 00 04 */ addi r4, r28, 4 -/* 802C4C2C 002C1B8C 48 04 DF 15 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4C30: -/* 802C4C30 002C1B90 83 BC 00 6C */ lwz r29, 0x6c(r28) -/* 802C4C34 002C1B94 28 1D 00 00 */ cmplwi r29, 0 -/* 802C4C38 002C1B98 41 82 00 5C */ beq lbl_802C4C94 -/* 802C4C3C 002C1B9C 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 802C4C40 002C1BA0 28 04 00 00 */ cmplwi r4, 0 -/* 802C4C44 002C1BA4 41 82 00 24 */ beq lbl_802C4C68 -/* 802C4C48 002C1BA8 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C4C4C 002C1BAC 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4C50 002C1BB0 38 BD 00 04 */ addi r5, r29, 4 -/* 802C4C54 002C1BB4 48 04 DC FD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4C58 002C1BB8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4C5C 002C1BBC 38 81 00 38 */ addi r4, r1, 0x38 -/* 802C4C60 002C1BC0 48 04 DE E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4C64 002C1BC4 48 00 00 10 */ b lbl_802C4C74 -lbl_802C4C68: -/* 802C4C68 002C1BC8 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802C4C6C 002C1BCC 38 9D 00 04 */ addi r4, r29, 4 -/* 802C4C70 002C1BD0 48 04 DE D1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4C74: -/* 802C4C74 002C1BD4 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 802C4C78 002C1BD8 28 03 00 00 */ cmplwi r3, 0 -/* 802C4C7C 002C1BDC 41 82 00 08 */ beq lbl_802C4C84 -/* 802C4C80 002C1BE0 4B FF FB 69 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4C84: -/* 802C4C84 002C1BE4 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 802C4C88 002C1BE8 28 03 00 00 */ cmplwi r3, 0 -/* 802C4C8C 002C1BEC 41 82 00 08 */ beq lbl_802C4C94 -/* 802C4C90 002C1BF0 4B FF FB 59 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4C94: -/* 802C4C94 002C1BF4 83 9C 00 68 */ lwz r28, 0x68(r28) -/* 802C4C98 002C1BF8 28 1C 00 00 */ cmplwi r28, 0 -/* 802C4C9C 002C1BFC 41 82 00 5C */ beq lbl_802C4CF8 -/* 802C4CA0 002C1C00 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 802C4CA4 002C1C04 28 04 00 00 */ cmplwi r4, 0 -/* 802C4CA8 002C1C08 41 82 00 24 */ beq lbl_802C4CCC -/* 802C4CAC 002C1C0C 38 61 00 08 */ addi r3, r1, 8 -/* 802C4CB0 002C1C10 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C4CB4 002C1C14 38 BC 00 04 */ addi r5, r28, 4 -/* 802C4CB8 002C1C18 48 04 DC 99 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4CBC 002C1C1C 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4CC0 002C1C20 38 81 00 08 */ addi r4, r1, 8 -/* 802C4CC4 002C1C24 48 04 DE 7D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4CC8 002C1C28 48 00 00 10 */ b lbl_802C4CD8 -lbl_802C4CCC: -/* 802C4CCC 002C1C2C 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802C4CD0 002C1C30 38 9C 00 04 */ addi r4, r28, 4 -/* 802C4CD4 002C1C34 48 04 DE 6D */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4CD8: -/* 802C4CD8 002C1C38 80 7C 00 6C */ lwz r3, 0x6c(r28) -/* 802C4CDC 002C1C3C 28 03 00 00 */ cmplwi r3, 0 -/* 802C4CE0 002C1C40 41 82 00 08 */ beq lbl_802C4CE8 -/* 802C4CE4 002C1C44 4B FF FB 05 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4CE8: -/* 802C4CE8 002C1C48 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 802C4CEC 002C1C4C 28 03 00 00 */ cmplwi r3, 0 -/* 802C4CF0 002C1C50 41 82 00 08 */ beq lbl_802C4CF8 -/* 802C4CF4 002C1C54 4B FF FA F5 */ bl RecalculateTransforms__10CGuiObjectFv -lbl_802C4CF8: -/* 802C4CF8 002C1C58 80 01 02 F4 */ lwz r0, 0x2f4(r1) -/* 802C4CFC 002C1C5C 83 E1 02 EC */ lwz r31, 0x2ec(r1) -/* 802C4D00 002C1C60 83 C1 02 E8 */ lwz r30, 0x2e8(r1) -/* 802C4D04 002C1C64 83 A1 02 E4 */ lwz r29, 0x2e4(r1) -/* 802C4D08 002C1C68 83 81 02 E0 */ lwz r28, 0x2e0(r1) -/* 802C4D0C 002C1C6C 7C 08 03 A6 */ mtlr r0 -/* 802C4D10 002C1C70 38 21 02 F0 */ addi r1, r1, 0x2f0 -/* 802C4D14 002C1C74 4E 80 00 20 */ blr - -.global GetParent__10CGuiObjectFv -GetParent__10CGuiObjectFv: -/* 802C4D18 002C1C78 80 63 00 64 */ lwz r3, 0x64(r3) -/* 802C4D1C 002C1C7C 4E 80 00 20 */ blr - -.global GetNextSibling__10CGuiObjectFv -GetNextSibling__10CGuiObjectFv: -/* 802C4D20 002C1C80 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 802C4D24 002C1C84 4E 80 00 20 */ blr - -.global GetNextSibling__18CGuiCompoundWidgetFv -GetNextSibling__18CGuiCompoundWidgetFv: -/* 802C4D28 002C1C88 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 802C4D2C 002C1C8C 4E 80 00 20 */ blr - -.global GetChildObject__10CGuiObjectFv -GetChildObject__10CGuiObjectFv: -/* 802C4D30 002C1C90 80 63 00 68 */ lwz r3, 0x68(r3) -/* 802C4D34 002C1C94 4E 80 00 20 */ blr - -.global GetChildObject__18CGuiCompoundWidgetFv -GetChildObject__18CGuiCompoundWidgetFv: -/* 802C4D38 002C1C98 80 63 00 68 */ lwz r3, 0x68(r3) -/* 802C4D3C 002C1C9C 4E 80 00 20 */ blr - -.global AddChildObject__10CGuiObjectFP10CGuiObjectbb -AddChildObject__10CGuiObjectFP10CGuiObjectbb: -/* 802C4D40 002C1CA0 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 802C4D44 002C1CA4 7C 08 02 A6 */ mflr r0 -/* 802C4D48 002C1CA8 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 802C4D4C 002C1CAC DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 802C4D50 002C1CB0 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 802C4D54 002C1CB4 DB C1 01 A0 */ stfd f30, 0x1a0(r1) -/* 802C4D58 002C1CB8 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 -/* 802C4D5C 002C1CBC 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 802C4D60 002C1CC0 93 C1 01 98 */ stw r30, 0x198(r1) -/* 802C4D64 002C1CC4 93 A1 01 94 */ stw r29, 0x194(r1) -/* 802C4D68 002C1CC8 7C 7D 1B 78 */ mr r29, r3 -/* 802C4D6C 002C1CCC 7C 9E 23 78 */ mr r30, r4 -/* 802C4D70 002C1CD0 93 A4 00 64 */ stw r29, 0x64(r4) -/* 802C4D74 002C1CD4 80 63 00 68 */ lwz r3, 0x68(r3) -/* 802C4D78 002C1CD8 28 03 00 00 */ cmplwi r3, 0 -/* 802C4D7C 002C1CDC 40 82 00 0C */ bne lbl_802C4D88 -/* 802C4D80 002C1CE0 93 DD 00 68 */ stw r30, 0x68(r29) -/* 802C4D84 002C1CE4 48 00 00 30 */ b lbl_802C4DB4 -lbl_802C4D88: -/* 802C4D88 002C1CE8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 802C4D8C 002C1CEC 41 82 00 20 */ beq lbl_802C4DAC -lbl_802C4D90: -/* 802C4D90 002C1CF0 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 802C4D94 002C1CF4 28 00 00 00 */ cmplwi r0, 0 -/* 802C4D98 002C1CF8 40 82 00 0C */ bne lbl_802C4DA4 -/* 802C4D9C 002C1CFC 93 C3 00 6C */ stw r30, 0x6c(r3) -/* 802C4DA0 002C1D00 48 00 00 14 */ b lbl_802C4DB4 -lbl_802C4DA4: -/* 802C4DA4 002C1D04 7C 03 03 78 */ mr r3, r0 -/* 802C4DA8 002C1D08 4B FF FF E8 */ b lbl_802C4D90 -lbl_802C4DAC: -/* 802C4DAC 002C1D0C 90 7E 00 6C */ stw r3, 0x6c(r30) -/* 802C4DB0 002C1D10 93 DD 00 68 */ stw r30, 0x68(r29) -lbl_802C4DB4: -/* 802C4DB4 002C1D14 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802C4DB8 002C1D18 41 82 02 3C */ beq lbl_802C4FF4 -/* 802C4DBC 002C1D1C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802C4DC0 002C1D20 83 FE 00 64 */ lwz r31, 0x64(r30) -/* 802C4DC4 002C1D24 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802C4DC8 002C1D28 38 61 01 58 */ addi r3, r1, 0x158 -/* 802C4DCC 002C1D2C 48 04 DD A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C4DD0 002C1D30 C0 62 C3 98 */ lfs f3, lbl_805AE0B8@sda21(r2) -/* 802C4DD4 002C1D34 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 802C4DD8 002C1D38 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 802C4DDC 002C1D3C C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 802C4DE0 002C1D40 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 802C4DE4 002C1D44 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802C4DE8 002C1D48 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802C4DEC 002C1D4C EC 03 00 32 */ fmuls f0, f3, f0 -/* 802C4DF0 002C1D50 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 802C4DF4 002C1D54 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 802C4DF8 002C1D58 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 802C4DFC 002C1D5C C0 5F 00 5C */ lfs f2, 0x5c(r31) -/* 802C4E00 002C1D60 C0 3F 00 4C */ lfs f1, 0x4c(r31) -/* 802C4E04 002C1D64 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 802C4E08 002C1D68 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 802C4E0C 002C1D6C D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 802C4E10 002C1D70 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 802C4E14 002C1D74 48 04 FA A5 */ bl Magnitude__9CVector3fCFv -/* 802C4E18 002C1D78 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 802C4E1C 002C1D7C FF C0 08 90 */ fmr f30, f1 -/* 802C4E20 002C1D80 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 802C4E24 002C1D84 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 802C4E28 002C1D88 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 802C4E2C 002C1D8C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 802C4E30 002C1D90 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 802C4E34 002C1D94 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 802C4E38 002C1D98 48 04 FA 81 */ bl Magnitude__9CVector3fCFv -/* 802C4E3C 002C1D9C C0 5F 00 54 */ lfs f2, 0x54(r31) -/* 802C4E40 002C1DA0 FF E0 08 90 */ fmr f31, f1 -/* 802C4E44 002C1DA4 C0 3F 00 44 */ lfs f1, 0x44(r31) -/* 802C4E48 002C1DA8 38 61 00 BC */ addi r3, r1, 0xbc -/* 802C4E4C 002C1DAC C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 802C4E50 002C1DB0 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 802C4E54 002C1DB4 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 802C4E58 002C1DB8 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 802C4E5C 002C1DBC 48 04 FA 5D */ bl Magnitude__9CVector3fCFv -/* 802C4E60 002C1DC0 C0 62 C3 9C */ lfs f3, lbl_805AE0BC@sda21(r2) -/* 802C4E64 002C1DC4 38 61 01 34 */ addi r3, r1, 0x134 -/* 802C4E68 002C1DC8 C0 DF 00 5C */ lfs f6, 0x5c(r31) -/* 802C4E6C 002C1DCC 38 81 00 98 */ addi r4, r1, 0x98 -/* 802C4E70 002C1DD0 EC A3 F0 24 */ fdivs f5, f3, f30 -/* 802C4E74 002C1DD4 C0 5F 00 4C */ lfs f2, 0x4c(r31) -/* 802C4E78 002C1DD8 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 802C4E7C 002C1DDC 38 A1 00 80 */ addi r5, r1, 0x80 -/* 802C4E80 002C1DE0 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802C4E84 002C1DE4 38 C1 00 68 */ addi r6, r1, 0x68 -/* 802C4E88 002C1DE8 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 802C4E8C 002C1DEC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 802C4E90 002C1DF0 EC 45 01 B2 */ fmuls f2, f5, f6 -/* 802C4E94 002C1DF4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 802C4E98 002C1DF8 D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 802C4E9C 002C1DFC EC A3 F8 24 */ fdivs f5, f3, f31 -/* 802C4EA0 002C1E00 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 802C4EA4 002C1E04 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802C4EA8 002C1E08 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802C4EAC 002C1E0C C1 1F 00 58 */ lfs f8, 0x58(r31) -/* 802C4EB0 002C1E10 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 802C4EB4 002C1E14 C0 5F 00 38 */ lfs f2, 0x38(r31) -/* 802C4EB8 002C1E18 EC C5 00 32 */ fmuls f6, f5, f0 -/* 802C4EBC 002C1E1C EC 85 02 32 */ fmuls f4, f5, f8 -/* 802C4EC0 002C1E20 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802C4EC4 002C1E24 EC 05 00 B2 */ fmuls f0, f5, f2 -/* 802C4EC8 002C1E28 EC A3 08 24 */ fdivs f5, f3, f1 -/* 802C4ECC 002C1E2C D0 C1 00 84 */ stfs f6, 0x84(r1) -/* 802C4ED0 002C1E30 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 802C4ED4 002C1E34 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 802C4ED8 002C1E38 C0 FF 00 54 */ lfs f7, 0x54(r31) -/* 802C4EDC 002C1E3C C0 DF 00 44 */ lfs f6, 0x44(r31) -/* 802C4EE0 002C1E40 C0 3F 00 34 */ lfs f1, 0x34(r31) -/* 802C4EE4 002C1E44 EC 85 01 B2 */ fmuls f4, f5, f6 -/* 802C4EE8 002C1E48 EC 65 01 F2 */ fmuls f3, f5, f7 -/* 802C4EEC 002C1E4C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802C4EF0 002C1E50 EC 05 00 72 */ fmuls f0, f5, f1 -/* 802C4EF4 002C1E54 D1 01 00 7C */ stfs f8, 0x7c(r1) -/* 802C4EF8 002C1E58 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802C4EFC 002C1E5C D0 C1 00 90 */ stfs f6, 0x90(r1) -/* 802C4F00 002C1E60 D0 E1 00 94 */ stfs f7, 0x94(r1) -/* 802C4F04 002C1E64 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 802C4F08 002C1E68 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 802C4F0C 002C1E6C D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 802C4F10 002C1E70 48 04 B7 6D */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 802C4F14 002C1E74 38 61 00 50 */ addi r3, r1, 0x50 -/* 802C4F18 002C1E78 38 81 01 34 */ addi r4, r1, 0x134 -/* 802C4F1C 002C1E7C 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 802C4F20 002C1E80 48 04 B3 75 */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 802C4F24 002C1E84 C0 A1 01 54 */ lfs f5, 0x154(r1) -/* 802C4F28 002C1E88 38 61 01 58 */ addi r3, r1, 0x158 -/* 802C4F2C 002C1E8C C0 81 01 48 */ lfs f4, 0x148(r1) -/* 802C4F30 002C1E90 38 81 01 04 */ addi r4, r1, 0x104 -/* 802C4F34 002C1E94 C0 61 01 3C */ lfs f3, 0x13c(r1) -/* 802C4F38 002C1E98 C0 E1 01 50 */ lfs f7, 0x150(r1) -/* 802C4F3C 002C1E9C C0 C1 01 44 */ lfs f6, 0x144(r1) -/* 802C4F40 002C1EA0 C0 41 01 38 */ lfs f2, 0x138(r1) -/* 802C4F44 002C1EA4 C1 21 01 4C */ lfs f9, 0x14c(r1) -/* 802C4F48 002C1EA8 C1 01 01 40 */ lfs f8, 0x140(r1) -/* 802C4F4C 002C1EAC C0 21 01 34 */ lfs f1, 0x134(r1) -/* 802C4F50 002C1EB0 C1 41 00 54 */ lfs f10, 0x54(r1) -/* 802C4F54 002C1EB4 C1 61 00 58 */ lfs f11, 0x58(r1) -/* 802C4F58 002C1EB8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 802C4F5C 002C1EBC D0 61 00 08 */ stfs f3, 8(r1) -/* 802C4F60 002C1EC0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802C4F64 002C1EC4 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802C4F68 002C1EC8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802C4F6C 002C1ECC D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 802C4F70 002C1ED0 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 802C4F74 002C1ED4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802C4F78 002C1ED8 D1 01 00 24 */ stfs f8, 0x24(r1) -/* 802C4F7C 002C1EDC D1 21 00 28 */ stfs f9, 0x28(r1) -/* 802C4F80 002C1EE0 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 802C4F84 002C1EE4 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 802C4F88 002C1EE8 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 802C4F8C 002C1EEC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 802C4F90 002C1EF0 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 802C4F94 002C1EF4 D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 802C4F98 002C1EF8 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802C4F9C 002C1EFC D1 01 00 48 */ stfs f8, 0x48(r1) -/* 802C4FA0 002C1F00 D1 21 00 4C */ stfs f9, 0x4c(r1) -/* 802C4FA4 002C1F04 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 802C4FA8 002C1F08 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 802C4FAC 002C1F0C D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 802C4FB0 002C1F10 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 802C4FB4 002C1F14 D1 01 01 14 */ stfs f8, 0x114(r1) -/* 802C4FB8 002C1F18 D0 C1 01 18 */ stfs f6, 0x118(r1) -/* 802C4FBC 002C1F1C D0 81 01 1C */ stfs f4, 0x11c(r1) -/* 802C4FC0 002C1F20 D1 41 01 20 */ stfs f10, 0x120(r1) -/* 802C4FC4 002C1F24 D1 21 01 24 */ stfs f9, 0x124(r1) -/* 802C4FC8 002C1F28 D0 E1 01 28 */ stfs f7, 0x128(r1) -/* 802C4FCC 002C1F2C D0 A1 01 2C */ stfs f5, 0x12c(r1) -/* 802C4FD0 002C1F30 D1 61 01 30 */ stfs f11, 0x130(r1) -/* 802C4FD4 002C1F34 48 04 DB 6D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C4FD8 002C1F38 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 802C4FDC 002C1F3C 38 81 01 58 */ addi r4, r1, 0x158 -/* 802C4FE0 002C1F40 38 BE 00 34 */ addi r5, r30, 0x34 -/* 802C4FE4 002C1F44 48 04 D9 6D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C4FE8 002C1F48 38 7E 00 04 */ addi r3, r30, 4 -/* 802C4FEC 002C1F4C 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 802C4FF0 002C1F50 48 04 DB 51 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_802C4FF4: -/* 802C4FF4 002C1F54 7F A3 EB 78 */ mr r3, r29 -/* 802C4FF8 002C1F58 4B FF F7 F1 */ bl RecalculateTransforms__10CGuiObjectFv -/* 802C4FFC 002C1F5C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 -/* 802C5000 002C1F60 CB E1 01 B0 */ lfd f31, 0x1b0(r1) -/* 802C5004 002C1F64 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 -/* 802C5008 002C1F68 CB C1 01 A0 */ lfd f30, 0x1a0(r1) -/* 802C500C 002C1F6C 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 802C5010 002C1F70 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 802C5014 002C1F74 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 802C5018 002C1F78 83 A1 01 94 */ lwz r29, 0x194(r1) -/* 802C501C 002C1F7C 7C 08 03 A6 */ mtlr r0 -/* 802C5020 002C1F80 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 802C5024 002C1F84 4E 80 00 20 */ blr - -.global MultiplyO2P__10CGuiObjectFRC12CTransform4f -MultiplyO2P__10CGuiObjectFRC12CTransform4f: -/* 802C5028 002C1F88 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C502C 002C1F8C 7C 08 02 A6 */ mflr r0 -/* 802C5030 002C1F90 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C5034 002C1F94 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802C5038 002C1F98 7C 7F 1B 78 */ mr r31, r3 -/* 802C503C 002C1F9C 38 61 00 08 */ addi r3, r1, 8 -/* 802C5040 002C1FA0 38 BF 00 04 */ addi r5, r31, 4 -/* 802C5044 002C1FA4 48 04 D9 0D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C5048 002C1FA8 38 7F 00 04 */ addi r3, r31, 4 -/* 802C504C 002C1FAC 38 81 00 08 */ addi r4, r1, 8 -/* 802C5050 002C1FB0 48 04 DA F1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C5054 002C1FB4 7F E3 FB 78 */ mr r3, r31 -/* 802C5058 002C1FB8 4B FF F7 91 */ bl RecalculateTransforms__10CGuiObjectFv -/* 802C505C 002C1FBC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C5060 002C1FC0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802C5064 002C1FC4 7C 08 03 A6 */ mtlr r0 -/* 802C5068 002C1FC8 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C506C 002C1FCC 4E 80 00 20 */ blr - -.global RotateTranslateW2O__10CGuiObjectCFRC9CVector3f -RotateTranslateW2O__10CGuiObjectCFRC9CVector3f: -/* 802C5070 002C1FD0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C5074 002C1FD4 7C 08 02 A6 */ mflr r0 -/* 802C5078 002C1FD8 7C 86 23 78 */ mr r6, r4 -/* 802C507C 002C1FDC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C5080 002C1FE0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C5084 002C1FE4 7C 7F 1B 78 */ mr r31, r3 -/* 802C5088 002C1FE8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C508C 002C1FEC C0 04 00 60 */ lfs f0, 0x60(r4) -/* 802C5090 002C1FF0 38 86 00 34 */ addi r4, r6, 0x34 -/* 802C5094 002C1FF4 C0 25 00 08 */ lfs f1, 8(r5) -/* 802C5098 002C1FF8 C0 65 00 04 */ lfs f3, 4(r5) -/* 802C509C 002C1FFC EC 81 00 28 */ fsubs f4, f1, f0 -/* 802C50A0 002C2000 C0 46 00 50 */ lfs f2, 0x50(r6) -/* 802C50A4 002C2004 C0 25 00 00 */ lfs f1, 0(r5) -/* 802C50A8 002C2008 38 A1 00 08 */ addi r5, r1, 8 -/* 802C50AC 002C200C C0 06 00 40 */ lfs f0, 0x40(r6) -/* 802C50B0 002C2010 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802C50B4 002C2014 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802C50B8 002C2018 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802C50BC 002C201C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802C50C0 002C2020 D0 01 00 08 */ stfs f0, 8(r1) -/* 802C50C4 002C2024 48 04 D9 61 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 802C50C8 002C2028 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802C50CC 002C202C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802C50D0 002C2030 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802C50D4 002C2034 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802C50D8 002C2038 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802C50DC 002C203C D0 5F 00 08 */ stfs f2, 8(r31) -/* 802C50E0 002C2040 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C50E4 002C2044 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C50E8 002C2048 7C 08 03 A6 */ mtlr r0 -/* 802C50EC 002C204C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C50F0 002C2050 4E 80 00 20 */ blr - -.global RotateO2P__10CGuiObjectCFRC9CVector3f -RotateO2P__10CGuiObjectCFRC9CVector3f: -/* 802C50F4 002C2054 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C50F8 002C2058 7C 08 02 A6 */ mflr r0 -/* 802C50FC 002C205C 38 84 00 04 */ addi r4, r4, 4 -/* 802C5100 002C2060 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C5104 002C2064 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C5108 002C2068 7C 7F 1B 78 */ mr r31, r3 -/* 802C510C 002C206C 38 61 00 08 */ addi r3, r1, 8 -/* 802C5110 002C2070 48 04 D9 71 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 802C5114 002C2074 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802C5118 002C2078 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802C511C 002C207C C0 01 00 08 */ lfs f0, 8(r1) -/* 802C5120 002C2080 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802C5124 002C2084 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802C5128 002C2088 D0 5F 00 08 */ stfs f2, 8(r31) -/* 802C512C 002C208C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C5130 002C2090 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C5134 002C2094 7C 08 03 A6 */ mtlr r0 -/* 802C5138 002C2098 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C513C 002C209C 4E 80 00 20 */ blr - -.global RotateReset__10CGuiObjectFv -RotateReset__10CGuiObjectFv: -/* 802C5140 002C20A0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C5144 002C20A4 7C 08 02 A6 */ mflr r0 -/* 802C5148 002C20A8 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C514C 002C20AC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802C5150 002C20B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802C5154 002C20B4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 802C5158 002C20B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 802C515C 002C20BC DB A1 00 10 */ stfd f29, 0x10(r1) -/* 802C5160 002C20C0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 802C5164 002C20C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5168 002C20C8 7C 7F 1B 78 */ mr r31, r3 -/* 802C516C 002C20CC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802C5170 002C20D0 C3 BF 00 30 */ lfs f29, 0x30(r31) -/* 802C5174 002C20D4 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802C5178 002C20D8 C3 DF 00 20 */ lfs f30, 0x20(r31) -/* 802C517C 002C20DC 38 7F 00 04 */ addi r3, r31, 4 -/* 802C5180 002C20E0 C3 FF 00 10 */ lfs f31, 0x10(r31) -/* 802C5184 002C20E4 48 04 D9 BD */ bl __as__12CTransform4fFRC12CTransform4f -/* 802C5188 002C20E8 D3 FF 00 10 */ stfs f31, 0x10(r31) -/* 802C518C 002C20EC 7F E3 FB 78 */ mr r3, r31 -/* 802C5190 002C20F0 D3 DF 00 20 */ stfs f30, 0x20(r31) -/* 802C5194 002C20F4 D3 BF 00 30 */ stfs f29, 0x30(r31) -/* 802C5198 002C20F8 4B FF F6 51 */ bl RecalculateTransforms__10CGuiObjectFv -/* 802C519C 002C20FC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802C51A0 002C2100 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802C51A4 002C2104 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 802C51A8 002C2108 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 802C51AC 002C210C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 802C51B0 002C2110 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 802C51B4 002C2114 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C51B8 002C2118 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C51BC 002C211C 7C 08 03 A6 */ mtlr r0 -/* 802C51C0 002C2120 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C51C4 002C2124 4E 80 00 20 */ blr - -.global SetLocalPosition__10CGuiObjectFRC9CVector3f -SetLocalPosition__10CGuiObjectFRC9CVector3f: -/* 802C51C8 002C2128 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C51CC 002C212C 7C 08 02 A6 */ mflr r0 -/* 802C51D0 002C2130 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C51D4 002C2134 C0 24 00 04 */ lfs f1, 4(r4) -/* 802C51D8 002C2138 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 802C51DC 002C213C C0 64 00 08 */ lfs f3, 8(r4) -/* 802C51E0 002C2140 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802C51E4 002C2144 C0 43 00 30 */ lfs f2, 0x30(r3) -/* 802C51E8 002C2148 C0 24 00 00 */ lfs f1, 0(r4) -/* 802C51EC 002C214C 38 81 00 08 */ addi r4, r1, 8 -/* 802C51F0 002C2150 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 802C51F4 002C2154 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802C51F8 002C2158 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802C51FC 002C215C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802C5200 002C2160 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802C5204 002C2164 D0 01 00 08 */ stfs f0, 8(r1) -/* 802C5208 002C2168 48 00 00 4D */ bl MoveInWorld__10CGuiObjectFRC9CVector3f -/* 802C520C 002C216C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C5210 002C2170 7C 08 03 A6 */ mtlr r0 -/* 802C5214 002C2174 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C5218 002C2178 4E 80 00 20 */ blr - -.global GetLocalPosition__10CGuiObjectCFv -GetLocalPosition__10CGuiObjectCFv: -/* 802C521C 002C217C C0 44 00 30 */ lfs f2, 0x30(r4) -/* 802C5220 002C2180 C0 24 00 20 */ lfs f1, 0x20(r4) -/* 802C5224 002C2184 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802C5228 002C2188 D0 03 00 00 */ stfs f0, 0(r3) -/* 802C522C 002C218C D0 23 00 04 */ stfs f1, 4(r3) -/* 802C5230 002C2190 D0 43 00 08 */ stfs f2, 8(r3) -/* 802C5234 002C2194 4E 80 00 20 */ blr - -.global GetWorldPosition__10CGuiObjectCFv -GetWorldPosition__10CGuiObjectCFv: -/* 802C5238 002C2198 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 802C523C 002C219C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802C5240 002C21A0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 802C5244 002C21A4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802C5248 002C21A8 D0 23 00 04 */ stfs f1, 4(r3) -/* 802C524C 002C21AC D0 43 00 08 */ stfs f2, 8(r3) -/* 802C5250 002C21B0 4E 80 00 20 */ blr - -.global MoveInWorld__10CGuiObjectFRC9CVector3f -MoveInWorld__10CGuiObjectFRC9CVector3f: -/* 802C5254 002C21B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C5258 002C21B8 7C 08 02 A6 */ mflr r0 -/* 802C525C 002C21BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C5260 002C21C0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C5264 002C21C4 7C 9F 23 78 */ mr r31, r4 -/* 802C5268 002C21C8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C526C 002C21CC 7C 7E 1B 78 */ mr r30, r3 -/* 802C5270 002C21D0 80 83 00 64 */ lwz r4, 0x64(r3) -/* 802C5274 002C21D4 28 04 00 00 */ cmplwi r4, 0 -/* 802C5278 002C21D8 41 82 00 2C */ beq lbl_802C52A4 -/* 802C527C 002C21DC 7F E5 FB 78 */ mr r5, r31 -/* 802C5280 002C21E0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C5284 002C21E4 38 84 00 34 */ addi r4, r4, 0x34 -/* 802C5288 002C21E8 48 04 D7 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 802C528C 002C21EC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802C5290 002C21F0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802C5294 002C21F4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802C5298 002C21F8 D0 41 00 08 */ stfs f2, 8(r1) -/* 802C529C 002C21FC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C52A0 002C2200 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_802C52A4: -/* 802C52A4 002C2204 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 802C52A8 002C2208 7F C3 F3 78 */ mr r3, r30 -/* 802C52AC 002C220C C0 1F 00 00 */ lfs f0, 0(r31) -/* 802C52B0 002C2210 EC 01 00 2A */ fadds f0, f1, f0 -/* 802C52B4 002C2214 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 802C52B8 002C2218 C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 802C52BC 002C221C C0 1F 00 04 */ lfs f0, 4(r31) -/* 802C52C0 002C2220 EC 01 00 2A */ fadds f0, f1, f0 -/* 802C52C4 002C2224 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 802C52C8 002C2228 C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 802C52CC 002C222C C0 1F 00 08 */ lfs f0, 8(r31) -/* 802C52D0 002C2230 EC 01 00 2A */ fadds f0, f1, f0 -/* 802C52D4 002C2234 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 802C52D8 002C2238 4B FF F5 11 */ bl RecalculateTransforms__10CGuiObjectFv -/* 802C52DC 002C223C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C52E0 002C2240 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C52E4 002C2244 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C52E8 002C2248 7C 08 03 A6 */ mtlr r0 -/* 802C52EC 002C224C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C52F0 002C2250 4E 80 00 20 */ blr - -.global Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms -Draw__10CGuiObjectCFRC19CGuiWidgetDrawParms: -/* 802C52F4 002C2254 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C52F8 002C2258 7C 08 02 A6 */ mflr r0 -/* 802C52FC 002C225C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5300 002C2260 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5304 002C2264 7C 9F 23 78 */ mr r31, r4 -/* 802C5308 002C2268 93 C1 00 08 */ stw r30, 8(r1) -/* 802C530C 002C226C 7C 7E 1B 78 */ mr r30, r3 -/* 802C5310 002C2270 80 63 00 68 */ lwz r3, 0x68(r3) -/* 802C5314 002C2274 28 03 00 00 */ cmplwi r3, 0 -/* 802C5318 002C2278 41 82 00 14 */ beq lbl_802C532C -/* 802C531C 002C227C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5320 002C2280 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802C5324 002C2284 7D 89 03 A6 */ mtctr r12 -/* 802C5328 002C2288 4E 80 04 21 */ bctrl -lbl_802C532C: -/* 802C532C 002C228C 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802C5330 002C2290 28 03 00 00 */ cmplwi r3, 0 -/* 802C5334 002C2294 41 82 00 18 */ beq lbl_802C534C -/* 802C5338 002C2298 81 83 00 00 */ lwz r12, 0(r3) -/* 802C533C 002C229C 7F E4 FB 78 */ mr r4, r31 -/* 802C5340 002C22A0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802C5344 002C22A4 7D 89 03 A6 */ mtctr r12 -/* 802C5348 002C22A8 4E 80 04 21 */ bctrl -lbl_802C534C: -/* 802C534C 002C22AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5350 002C22B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C5354 002C22B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5358 002C22B8 7C 08 03 A6 */ mtlr r0 -/* 802C535C 002C22BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5360 002C22C0 4E 80 00 20 */ blr - -.global Update__10CGuiObjectFf -Update__10CGuiObjectFf: -/* 802C5364 002C22C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C5368 002C22C8 7C 08 02 A6 */ mflr r0 -/* 802C536C 002C22CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C5370 002C22D0 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802C5374 002C22D4 FF E0 08 90 */ fmr f31, f1 -/* 802C5378 002C22D8 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802C537C 002C22DC 7C 7F 1B 78 */ mr r31, r3 -/* 802C5380 002C22E0 80 63 00 68 */ lwz r3, 0x68(r3) -/* 802C5384 002C22E4 28 03 00 00 */ cmplwi r3, 0 -/* 802C5388 002C22E8 41 82 00 14 */ beq lbl_802C539C -/* 802C538C 002C22EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5390 002C22F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802C5394 002C22F4 7D 89 03 A6 */ mtctr r12 -/* 802C5398 002C22F8 4E 80 04 21 */ bctrl -lbl_802C539C: -/* 802C539C 002C22FC 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 802C53A0 002C2300 28 03 00 00 */ cmplwi r3, 0 -/* 802C53A4 002C2304 41 82 00 18 */ beq lbl_802C53BC -/* 802C53A8 002C2308 81 83 00 00 */ lwz r12, 0(r3) -/* 802C53AC 002C230C FC 20 F8 90 */ fmr f1, f31 -/* 802C53B0 002C2310 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802C53B4 002C2314 7D 89 03 A6 */ mtctr r12 -/* 802C53B8 002C2318 4E 80 04 21 */ bctrl -lbl_802C53BC: -/* 802C53BC 002C231C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C53C0 002C2320 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 802C53C4 002C2324 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 802C53C8 002C2328 7C 08 03 A6 */ mtlr r0 -/* 802C53CC 002C232C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C53D0 002C2330 4E 80 00 20 */ blr - -.global __dt__10CGuiObjectFv -__dt__10CGuiObjectFv: -/* 802C53D4 002C2334 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C53D8 002C2338 7C 08 02 A6 */ mflr r0 -/* 802C53DC 002C233C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C53E0 002C2340 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C53E4 002C2344 7C 9F 23 78 */ mr r31, r4 -/* 802C53E8 002C2348 93 C1 00 08 */ stw r30, 8(r1) -/* 802C53EC 002C234C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C53F0 002C2350 41 82 00 70 */ beq lbl_802C5460 -/* 802C53F4 002C2354 3C 60 80 3F */ lis r3, lbl_803EC8C8@ha -/* 802C53F8 002C2358 38 03 C8 C8 */ addi r0, r3, lbl_803EC8C8@l -/* 802C53FC 002C235C 90 1E 00 00 */ stw r0, 0(r30) -/* 802C5400 002C2360 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 802C5404 002C2364 28 03 00 00 */ cmplwi r3, 0 -/* 802C5408 002C2368 41 82 00 18 */ beq lbl_802C5420 -/* 802C540C 002C236C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5410 002C2370 38 80 00 01 */ li r4, 1 -/* 802C5414 002C2374 81 8C 00 08 */ lwz r12, 8(r12) -/* 802C5418 002C2378 7D 89 03 A6 */ mtctr r12 -/* 802C541C 002C237C 4E 80 04 21 */ bctrl -lbl_802C5420: -/* 802C5420 002C2380 38 00 00 00 */ li r0, 0 -/* 802C5424 002C2384 90 1E 00 68 */ stw r0, 0x68(r30) -/* 802C5428 002C2388 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 802C542C 002C238C 28 03 00 00 */ cmplwi r3, 0 -/* 802C5430 002C2390 41 82 00 18 */ beq lbl_802C5448 -/* 802C5434 002C2394 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5438 002C2398 38 80 00 01 */ li r4, 1 -/* 802C543C 002C239C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802C5440 002C23A0 7D 89 03 A6 */ mtctr r12 -/* 802C5444 002C23A4 4E 80 04 21 */ bctrl -lbl_802C5448: -/* 802C5448 002C23A8 38 60 00 00 */ li r3, 0 -/* 802C544C 002C23AC 7F E0 07 35 */ extsh. r0, r31 -/* 802C5450 002C23B0 90 7E 00 6C */ stw r3, 0x6c(r30) -/* 802C5454 002C23B4 40 81 00 0C */ ble lbl_802C5460 -/* 802C5458 002C23B8 7F C3 F3 78 */ mr r3, r30 -/* 802C545C 002C23BC 48 05 04 D5 */ bl Free__7CMemoryFPCv -lbl_802C5460: -/* 802C5460 002C23C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5464 002C23C4 7F C3 F3 78 */ mr r3, r30 -/* 802C5468 002C23C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C546C 002C23CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5470 002C23D0 7C 08 03 A6 */ mtlr r0 -/* 802C5474 002C23D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5478 002C23D8 4E 80 00 20 */ blr - -.global __ct__10CGuiObjectFv -__ct__10CGuiObjectFv: -/* 802C547C 002C23DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5480 002C23E0 7C 08 02 A6 */ mflr r0 -/* 802C5484 002C23E4 3C 80 80 3F */ lis r4, lbl_803EC8C8@ha -/* 802C5488 002C23E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C548C 002C23EC 38 04 C8 C8 */ addi r0, r4, lbl_803EC8C8@l -/* 802C5490 002C23F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5494 002C23F4 7C 7F 1B 78 */ mr r31, r3 -/* 802C5498 002C23F8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 802C549C 002C23FC 90 1F 00 00 */ stw r0, 0(r31) -/* 802C54A0 002C2400 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 802C54A4 002C2404 38 7F 00 04 */ addi r3, r31, 4 -/* 802C54A8 002C2408 48 04 D6 CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C54AC 002C240C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802C54B0 002C2410 38 7F 00 34 */ addi r3, r31, 0x34 -/* 802C54B4 002C2414 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802C54B8 002C2418 48 04 D6 BD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C54BC 002C241C 38 00 00 00 */ li r0, 0 -/* 802C54C0 002C2420 7F E3 FB 78 */ mr r3, r31 -/* 802C54C4 002C2424 90 1F 00 64 */ stw r0, 0x64(r31) -/* 802C54C8 002C2428 90 1F 00 68 */ stw r0, 0x68(r31) -/* 802C54CC 002C242C 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 802C54D0 002C2430 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C54D4 002C2434 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C54D8 002C2438 7C 08 03 A6 */ mtlr r0 -/* 802C54DC 002C243C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C54E0 002C2440 4E 80 00 20 */ blr - -.global GetWidgetTypeID__8CGuiPaneCFv -GetWidgetTypeID__8CGuiPaneCFv: -/* 802C54E4 002C2444 3C 60 50 41 */ lis r3, 0x50414E45@ha -/* 802C54E8 002C2448 38 63 4E 45 */ addi r3, r3, 0x50414E45@l -/* 802C54EC 002C244C 4E 80 00 20 */ blr - -.global GetDimensions__8CGuiPaneCFv -GetDimensions__8CGuiPaneCFv: -/* 802C54F0 002C2450 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C54F4 002C2454 7C 08 02 A6 */ mflr r0 -/* 802C54F8 002C2458 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C54FC 002C245C C0 24 00 B8 */ lfs f1, 0xb8(r4) -/* 802C5500 002C2460 C0 44 00 BC */ lfs f2, 0xbc(r4) -/* 802C5504 002C2464 48 04 EC FD */ bl __ct__9CVector2fFff -/* 802C5508 002C2468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C550C 002C246C 7C 08 03 A6 */ mtlr r0 -/* 802C5510 002C2470 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5514 002C2474 4E 80 00 20 */ blr - -.global SetDimensions__8CGuiPaneFRC9CVector2fb -SetDimensions__8CGuiPaneFRC9CVector2fb: -/* 802C5518 002C2478 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C551C 002C247C 7C 08 02 A6 */ mflr r0 -/* 802C5520 002C2480 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5524 002C2484 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 802C5528 002C2488 C0 04 00 00 */ lfs f0, 0(r4) -/* 802C552C 002C248C D0 03 00 B8 */ stfs f0, 0xb8(r3) -/* 802C5530 002C2490 C0 04 00 04 */ lfs f0, 4(r4) -/* 802C5534 002C2494 D0 03 00 BC */ stfs f0, 0xbc(r3) -/* 802C5538 002C2498 41 82 00 14 */ beq lbl_802C554C -/* 802C553C 002C249C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5540 002C24A0 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802C5544 002C24A4 7D 89 03 A6 */ mtctr r12 -/* 802C5548 002C24A8 4E 80 04 21 */ bctrl -lbl_802C554C: -/* 802C554C 002C24AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5550 002C24B0 7C 08 03 A6 */ mtlr r0 -/* 802C5554 002C24B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5558 002C24B8 4E 80 00 20 */ blr - -.global InitializeBuffers__8CGuiPaneFv -InitializeBuffers__8CGuiPaneFv: -/* 802C555C 002C24BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5560 002C24C0 7C 08 02 A6 */ mflr r0 -/* 802C5564 002C24C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5568 002C24C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C556C 002C24CC 7C 7F 1B 78 */ mr r31, r3 -/* 802C5570 002C24D0 80 03 00 C0 */ lwz r0, 0xc0(r3) -/* 802C5574 002C24D4 28 00 00 00 */ cmplwi r0, 0 -/* 802C5578 002C24D8 40 82 00 24 */ bne lbl_802C559C -/* 802C557C 002C24DC 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 802C5580 002C24E0 3C 60 80 3D */ lis r3, lbl_803D68B8@ha -/* 802C5584 002C24E4 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l -/* 802C5588 002C24E8 38 A0 00 00 */ li r5, 0 -/* 802C558C 002C24EC 1C 00 00 03 */ mulli r0, r0, 3 -/* 802C5590 002C24F0 54 03 10 3A */ slwi r3, r0, 2 -/* 802C5594 002C24F4 48 05 02 85 */ bl __nwa__FUlPCcPCc -/* 802C5598 002C24F8 90 7F 00 C0 */ stw r3, 0xc0(r31) -lbl_802C559C: -/* 802C559C 002C24FC C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802C55A0 002C2500 C0 42 C3 A0 */ lfs f2, lbl_805AE0C0@sda21(r2) -/* 802C55A4 002C2504 FC 00 00 50 */ fneg f0, f0 -/* 802C55A8 002C2508 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55AC 002C250C C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2) -/* 802C55B0 002C2510 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C55B4 002C2514 D0 03 00 00 */ stfs f0, 0(r3) -/* 802C55B8 002C2518 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55BC 002C251C D0 23 00 04 */ stfs f1, 4(r3) -/* 802C55C0 002C2520 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C55C4 002C2524 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55C8 002C2528 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C55CC 002C252C D0 03 00 08 */ stfs f0, 8(r3) -/* 802C55D0 002C2530 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802C55D4 002C2534 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55D8 002C2538 FC 00 00 50 */ fneg f0, f0 -/* 802C55DC 002C253C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C55E0 002C2540 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802C55E4 002C2544 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55E8 002C2548 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 802C55EC 002C254C C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C55F0 002C2550 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C55F4 002C2554 FC 00 00 50 */ fneg f0, f0 -/* 802C55F8 002C2558 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C55FC 002C255C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802C5600 002C2560 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802C5604 002C2564 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C5608 002C2568 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C560C 002C256C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802C5610 002C2570 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C5614 002C2574 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 802C5618 002C2578 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C561C 002C257C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C5620 002C2580 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C5624 002C2584 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802C5628 002C2588 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802C562C 002C258C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C5630 002C2590 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C5634 002C2594 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802C5638 002C2598 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C563C 002C259C D0 23 00 28 */ stfs f1, 0x28(r3) -/* 802C5640 002C25A0 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C5644 002C25A4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C5648 002C25A8 FC 00 00 50 */ fneg f0, f0 -/* 802C564C 002C25AC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802C5650 002C25B0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802C5654 002C25B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C5658 002C25B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C565C 002C25BC 7C 08 03 A6 */ mtlr r0 -/* 802C5660 002C25C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5664 002C25C4 4E 80 00 20 */ blr - -.global ScaleDimensions__8CGuiPaneFRC9CVector3f -ScaleDimensions__8CGuiPaneFRC9CVector3f: -/* 802C5668 002C25C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C566C 002C25CC 7C 08 02 A6 */ mflr r0 -/* 802C5670 002C25D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5674 002C25D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5678 002C25D8 7C 9F 23 78 */ mr r31, r4 -/* 802C567C 002C25DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C5680 002C25E0 7C 7E 1B 78 */ mr r30, r3 -/* 802C5684 002C25E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802C5688 002C25E8 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802C568C 002C25EC 7D 89 03 A6 */ mtctr r12 -/* 802C5690 002C25F0 4E 80 04 21 */ bctrl -/* 802C5694 002C25F4 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802C5698 002C25F8 38 DE 00 C8 */ addi r6, r30, 0xc8 -/* 802C569C 002C25FC 38 83 55 56 */ addi r4, r3, 0x55555556@l -/* 802C56A0 002C2600 39 00 00 00 */ li r8, 0 -/* 802C56A4 002C2604 38 E0 00 00 */ li r7, 0 -/* 802C56A8 002C2608 48 00 00 54 */ b lbl_802C56FC -lbl_802C56AC: -/* 802C56AC 002C260C 7C A4 40 96 */ mulhw r5, r4, r8 -/* 802C56B0 002C2610 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 802C56B4 002C2614 7C 43 3C 2E */ lfsx f2, r3, r7 -/* 802C56B8 002C2618 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 802C56BC 002C261C 7C 05 02 14 */ add r0, r5, r0 -/* 802C56C0 002C2620 1C 00 00 03 */ mulli r0, r0, 3 -/* 802C56C4 002C2624 7C 00 40 50 */ subf r0, r0, r8 -/* 802C56C8 002C2628 39 08 00 01 */ addi r8, r8, 1 -/* 802C56CC 002C262C 54 00 10 3A */ slwi r0, r0, 2 -/* 802C56D0 002C2630 7C 26 04 2E */ lfsx f1, r6, r0 -/* 802C56D4 002C2634 7C 1F 04 2E */ lfsx f0, r31, r0 -/* 802C56D8 002C2638 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802C56DC 002C263C EC 01 00 32 */ fmuls f0, f1, f0 -/* 802C56E0 002C2640 7C 03 3D 2E */ stfsx f0, r3, r7 -/* 802C56E4 002C2644 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 802C56E8 002C2648 7C 06 04 2E */ lfsx f0, r6, r0 -/* 802C56EC 002C264C 7C 23 3C 2E */ lfsx f1, r3, r7 -/* 802C56F0 002C2650 EC 01 00 2A */ fadds f0, f1, f0 -/* 802C56F4 002C2654 7C 03 3D 2E */ stfsx f0, r3, r7 -/* 802C56F8 002C2658 38 E7 00 04 */ addi r7, r7, 4 -lbl_802C56FC: -/* 802C56FC 002C265C 80 1E 00 C4 */ lwz r0, 0xc4(r30) -/* 802C5700 002C2660 1C 00 00 03 */ mulli r0, r0, 3 -/* 802C5704 002C2664 7C 08 00 00 */ cmpw r8, r0 -/* 802C5708 002C2668 41 80 FF A4 */ blt lbl_802C56AC -/* 802C570C 002C266C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5710 002C2670 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C5714 002C2674 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5718 002C2678 7C 08 03 A6 */ mtlr r0 -/* 802C571C 002C267C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5720 002C2680 4E 80 00 20 */ blr - -.global Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms -Draw__8CGuiPaneCFRC19CGuiWidgetDrawParms: -/* 802C5724 002C2684 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802C5728 002C2688 7C 08 02 A6 */ mflr r0 -/* 802C572C 002C268C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802C5730 002C2690 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802C5734 002C2694 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802C5738 002C2698 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802C573C 002C269C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802C5740 002C26A0 7C 7E 1B 78 */ mr r30, r3 -/* 802C5744 002C26A4 7C 9F 23 78 */ mr r31, r4 -/* 802C5748 002C26A8 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C574C 002C26AC 38 9E 00 C8 */ addi r4, r30, 0xc8 -/* 802C5750 002C26B0 48 04 D9 F1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802C5754 002C26B4 38 61 00 4C */ addi r3, r1, 0x4c -/* 802C5758 002C26B8 38 9E 00 34 */ addi r4, r30, 0x34 -/* 802C575C 002C26BC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802C5760 002C26C0 48 04 D1 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C5764 002C26C4 38 61 00 4C */ addi r3, r1, 0x4c -/* 802C5768 002C26C8 48 04 6E 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802C576C 002C26CC 7F C3 F3 78 */ mr r3, r30 -/* 802C5770 002C26D0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C5774 002C26D4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C5778 002C26D8 7D 89 03 A6 */ mtctr r12 -/* 802C577C 002C26DC 4E 80 04 21 */ bctrl -/* 802C5780 002C26E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C5784 002C26E4 41 82 00 74 */ beq lbl_802C57F8 -/* 802C5788 002C26E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802C578C 002C26EC 38 60 00 00 */ li r3, 0 -/* 802C5790 002C26F0 48 04 4B 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802C5794 002C26F4 88 7E 00 AB */ lbz r3, 0xab(r30) -/* 802C5798 002C26F8 3C 00 43 30 */ lis r0, 0x4330 -/* 802C579C 002C26FC 90 01 00 80 */ stw r0, 0x80(r1) -/* 802C57A0 002C2700 C8 22 C3 B0 */ lfd f1, lbl_805AE0D0@sda21(r2) -/* 802C57A4 002C2704 90 61 00 84 */ stw r3, 0x84(r1) -/* 802C57A8 002C2708 C0 5F 00 00 */ lfs f2, 0(r31) -/* 802C57AC 002C270C C8 01 00 80 */ lfd f0, 0x80(r1) -/* 802C57B0 002C2710 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C57B4 002C2714 EF E2 00 32 */ fmuls f31, f2, f0 -/* 802C57B8 002C2718 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 802C57BC 002C271C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802C57C0 002C2720 C0 22 C3 A4 */ lfs f1, lbl_805AE0C4@sda21(r2) -/* 802C57C4 002C2724 38 C1 00 0C */ addi r6, r1, 0xc -/* 802C57C8 002C2728 C0 02 C3 A8 */ lfs f0, lbl_805AE0C8@sda21(r2) -/* 802C57CC 002C272C 38 60 00 98 */ li r3, 0x98 -/* 802C57D0 002C2730 80 9E 00 A8 */ lwz r4, 0xa8(r30) -/* 802C57D4 002C2734 88 01 00 08 */ lbz r0, 8(r1) -/* 802C57D8 002C2738 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 802C57DC 002C273C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802C57E0 002C2740 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 802C57E4 002C2744 90 01 00 0C */ stw r0, 0xc(r1) -/* 802C57E8 002C2748 80 FE 00 C4 */ lwz r7, 0xc4(r30) -/* 802C57EC 002C274C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802C57F0 002C2750 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802C57F4 002C2754 48 04 5E E1 */ bl DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori -lbl_802C57F8: -/* 802C57F8 002C2758 7F C3 F3 78 */ mr r3, r30 -/* 802C57FC 002C275C 7F E4 FB 78 */ mr r4, r31 -/* 802C5800 002C2760 48 00 52 61 */ bl Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms -/* 802C5804 002C2764 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802C5808 002C2768 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802C580C 002C276C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802C5810 002C2770 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802C5814 002C2774 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802C5818 002C2778 7C 08 03 A6 */ mtlr r0 -/* 802C581C 002C277C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802C5820 002C2780 4E 80 00 20 */ blr - -.global __dt__8CGuiPaneFv -__dt__8CGuiPaneFv: -/* 802C5824 002C2784 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5828 002C2788 7C 08 02 A6 */ mflr r0 -/* 802C582C 002C278C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5830 002C2790 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5834 002C2794 7C 9F 23 78 */ mr r31, r4 -/* 802C5838 002C2798 93 C1 00 08 */ stw r30, 8(r1) -/* 802C583C 002C279C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C5840 002C27A0 41 82 00 40 */ beq lbl_802C5880 -/* 802C5844 002C27A4 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha -/* 802C5848 002C27A8 38 03 C8 E0 */ addi r0, r3, lbl_803EC8E0@l -/* 802C584C 002C27AC 90 1E 00 00 */ stw r0, 0(r30) -/* 802C5850 002C27B0 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 802C5854 002C27B4 28 03 00 00 */ cmplwi r3, 0 -/* 802C5858 002C27B8 41 82 00 0C */ beq lbl_802C5864 -/* 802C585C 002C27BC 41 82 00 08 */ beq lbl_802C5864 -/* 802C5860 002C27C0 48 05 00 D1 */ bl Free__7CMemoryFPCv -lbl_802C5864: -/* 802C5864 002C27C4 7F C3 F3 78 */ mr r3, r30 -/* 802C5868 002C27C8 38 80 00 00 */ li r4, 0 -/* 802C586C 002C27CC 48 00 53 49 */ bl __dt__10CGuiWidgetFv -/* 802C5870 002C27D0 7F E0 07 35 */ extsh. r0, r31 -/* 802C5874 002C27D4 40 81 00 0C */ ble lbl_802C5880 -/* 802C5878 002C27D8 7F C3 F3 78 */ mr r3, r30 -/* 802C587C 002C27DC 48 05 00 B5 */ bl Free__7CMemoryFPCv -lbl_802C5880: -/* 802C5880 002C27E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5884 002C27E4 7F C3 F3 78 */ mr r3, r30 -/* 802C5888 002C27E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C588C 002C27EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5890 002C27F0 7C 08 03 A6 */ mtlr r0 -/* 802C5894 002C27F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5898 002C27F8 4E 80 00 20 */ blr - -.global __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f -__ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f: -/* 802C589C 002C27FC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C58A0 002C2800 7C 08 02 A6 */ mflr r0 -/* 802C58A4 002C2804 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C58A8 002C2808 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802C58AC 002C280C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802C58B0 002C2810 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 802C58B4 002C2814 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 802C58B8 002C2818 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C58BC 002C281C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C58C0 002C2820 FF C0 08 90 */ fmr f30, f1 -/* 802C58C4 002C2824 7C 7E 1B 78 */ mr r30, r3 -/* 802C58C8 002C2828 FF E0 10 90 */ fmr f31, f2 -/* 802C58CC 002C282C 7C BF 2B 78 */ mr r31, r5 -/* 802C58D0 002C2830 48 00 53 55 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C58D4 002C2834 3C 60 80 3F */ lis r3, lbl_803EC8E0@ha -/* 802C58D8 002C2838 38 80 00 00 */ li r4, 0 -/* 802C58DC 002C283C 38 63 C8 E0 */ addi r3, r3, lbl_803EC8E0@l -/* 802C58E0 002C2840 38 00 00 04 */ li r0, 4 -/* 802C58E4 002C2844 90 7E 00 00 */ stw r3, 0(r30) -/* 802C58E8 002C2848 7F C3 F3 78 */ mr r3, r30 -/* 802C58EC 002C284C D3 DE 00 B8 */ stfs f30, 0xb8(r30) -/* 802C58F0 002C2850 D3 FE 00 BC */ stfs f31, 0xbc(r30) -/* 802C58F4 002C2854 90 9E 00 C0 */ stw r4, 0xc0(r30) -/* 802C58F8 002C2858 90 1E 00 C4 */ stw r0, 0xc4(r30) -/* 802C58FC 002C285C C0 1F 00 00 */ lfs f0, 0(r31) -/* 802C5900 002C2860 D0 1E 00 C8 */ stfs f0, 0xc8(r30) -/* 802C5904 002C2864 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802C5908 002C2868 D0 1E 00 CC */ stfs f0, 0xcc(r30) -/* 802C590C 002C286C C0 1F 00 08 */ lfs f0, 8(r31) -/* 802C5910 002C2870 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 802C5914 002C2874 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C5918 002C2878 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802C591C 002C287C 7D 89 03 A6 */ mtctr r12 -/* 802C5920 002C2880 4E 80 04 21 */ bctrl -/* 802C5924 002C2884 7F C3 F3 78 */ mr r3, r30 -/* 802C5928 002C2888 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802C592C 002C288C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802C5930 002C2890 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 802C5934 002C2894 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 802C5938 002C2898 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C593C 002C289C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C5940 002C28A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5944 002C28A4 7C 08 03 A6 */ mtlr r0 -/* 802C5948 002C28A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C594C 002C28AC 4E 80 00 20 */ blr - -.global WriteData__8CGuiPaneCFR13COutputStreamb -WriteData__8CGuiPaneCFR13COutputStreamb: -/* 802C5950 002C28B0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C5954 002C28B4 7C 08 02 A6 */ mflr r0 -/* 802C5958 002C28B8 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C595C 002C28BC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802C5960 002C28C0 7C 9F 23 78 */ mr r31, r4 -/* 802C5964 002C28C4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802C5968 002C28C8 7C 7E 1B 78 */ mr r30, r3 -/* 802C596C 002C28CC C0 03 00 B8 */ lfs f0, 0xb8(r3) -/* 802C5970 002C28D0 7F E3 FB 78 */ mr r3, r31 -/* 802C5974 002C28D4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802C5978 002C28D8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802C597C 002C28DC 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C5980 002C28E0 48 07 9B 39 */ bl FlushShiftRegister__13COutputStreamFv -/* 802C5984 002C28E4 7F E3 FB 78 */ mr r3, r31 -/* 802C5988 002C28E8 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C598C 002C28EC 38 A0 00 04 */ li r5, 4 -/* 802C5990 002C28F0 48 07 9C 19 */ bl DoPut__13COutputStreamFPCvUl -/* 802C5994 002C28F4 C0 1E 00 BC */ lfs f0, 0xbc(r30) -/* 802C5998 002C28F8 7F E3 FB 78 */ mr r3, r31 -/* 802C599C 002C28FC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802C59A0 002C2900 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802C59A4 002C2904 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C59A8 002C2908 48 07 9B 11 */ bl FlushShiftRegister__13COutputStreamFv -/* 802C59AC 002C290C 7F E3 FB 78 */ mr r3, r31 -/* 802C59B0 002C2910 38 81 00 14 */ addi r4, r1, 0x14 -/* 802C59B4 002C2914 38 A0 00 04 */ li r5, 4 -/* 802C59B8 002C2918 48 07 9B F1 */ bl DoPut__13COutputStreamFPCvUl -/* 802C59BC 002C291C C0 1E 00 C8 */ lfs f0, 0xc8(r30) -/* 802C59C0 002C2920 7F E3 FB 78 */ mr r3, r31 -/* 802C59C4 002C2924 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802C59C8 002C2928 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C59CC 002C292C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C59D0 002C2930 48 07 9A E9 */ bl FlushShiftRegister__13COutputStreamFv -/* 802C59D4 002C2934 7F E3 FB 78 */ mr r3, r31 -/* 802C59D8 002C2938 38 81 00 10 */ addi r4, r1, 0x10 -/* 802C59DC 002C293C 38 A0 00 04 */ li r5, 4 -/* 802C59E0 002C2940 48 07 9B C9 */ bl DoPut__13COutputStreamFPCvUl -/* 802C59E4 002C2944 C0 1E 00 CC */ lfs f0, 0xcc(r30) -/* 802C59E8 002C2948 7F E3 FB 78 */ mr r3, r31 -/* 802C59EC 002C294C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802C59F0 002C2950 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802C59F4 002C2954 90 01 00 0C */ stw r0, 0xc(r1) -/* 802C59F8 002C2958 48 07 9A C1 */ bl FlushShiftRegister__13COutputStreamFv -/* 802C59FC 002C295C 7F E3 FB 78 */ mr r3, r31 -/* 802C5A00 002C2960 38 81 00 0C */ addi r4, r1, 0xc -/* 802C5A04 002C2964 38 A0 00 04 */ li r5, 4 -/* 802C5A08 002C2968 48 07 9B A1 */ bl DoPut__13COutputStreamFPCvUl -/* 802C5A0C 002C296C C0 1E 00 D0 */ lfs f0, 0xd0(r30) -/* 802C5A10 002C2970 7F E3 FB 78 */ mr r3, r31 -/* 802C5A14 002C2974 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802C5A18 002C2978 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C5A1C 002C297C 90 01 00 08 */ stw r0, 8(r1) -/* 802C5A20 002C2980 48 07 9A 99 */ bl FlushShiftRegister__13COutputStreamFv -/* 802C5A24 002C2984 7F E3 FB 78 */ mr r3, r31 -/* 802C5A28 002C2988 38 81 00 08 */ addi r4, r1, 8 -/* 802C5A2C 002C298C 38 A0 00 04 */ li r5, 4 -/* 802C5A30 002C2990 48 07 9B 79 */ bl DoPut__13COutputStreamFPCvUl -/* 802C5A34 002C2994 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C5A38 002C2998 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802C5A3C 002C299C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802C5A40 002C29A0 7C 08 03 A6 */ mtlr r0 -/* 802C5A44 002C29A4 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C5A48 002C29A8 4E 80 00 20 */ blr - -.global Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb -Create__8CGuiPaneFP9CGuiFrameR12CInputStreamb: -/* 802C5A4C 002C29AC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802C5A50 002C29B0 7C 08 02 A6 */ mflr r0 -/* 802C5A54 002C29B4 90 01 00 84 */ stw r0, 0x84(r1) -/* 802C5A58 002C29B8 39 61 00 80 */ addi r11, r1, 0x80 -/* 802C5A5C 002C29BC 48 0C 3F 89 */ bl func_803899E4 -/* 802C5A60 002C29C0 93 E1 00 54 */ stw r31, 0x54(r1) -/* 802C5A64 002C29C4 93 C1 00 50 */ stw r30, 0x50(r1) -/* 802C5A68 002C29C8 93 A1 00 4C */ stw r29, 0x4c(r1) -/* 802C5A6C 002C29CC 7C 7E 1B 78 */ mr r30, r3 -/* 802C5A70 002C29D0 7C 9F 23 78 */ mr r31, r4 -/* 802C5A74 002C29D4 7F C4 F3 78 */ mr r4, r30 -/* 802C5A78 002C29D8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C5A7C 002C29DC 7F E5 FB 78 */ mr r5, r31 -/* 802C5A80 002C29E0 48 00 52 D1 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C5A84 002C29E4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C5A88 002C29E8 7F E3 FB 78 */ mr r3, r31 -/* 802C5A8C 002C29EC 89 81 00 18 */ lbz r12, 0x18(r1) -/* 802C5A90 002C29F0 A9 61 00 1A */ lha r11, 0x1a(r1) -/* 802C5A94 002C29F4 A9 41 00 1C */ lha r10, 0x1c(r1) -/* 802C5A98 002C29F8 89 21 00 1E */ lbz r9, 0x1e(r1) -/* 802C5A9C 002C29FC 89 01 00 1F */ lbz r8, 0x1f(r1) -/* 802C5AA0 002C2A00 88 E1 00 20 */ lbz r7, 0x20(r1) -/* 802C5AA4 002C2A04 88 C1 00 21 */ lbz r6, 0x21(r1) -/* 802C5AA8 002C2A08 88 A1 00 22 */ lbz r5, 0x22(r1) -/* 802C5AAC 002C2A0C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802C5AB0 002C2A10 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802C5AB4 002C2A14 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 802C5AB8 002C2A18 99 81 00 30 */ stb r12, 0x30(r1) -/* 802C5ABC 002C2A1C B1 61 00 32 */ sth r11, 0x32(r1) -/* 802C5AC0 002C2A20 B1 41 00 34 */ sth r10, 0x34(r1) -/* 802C5AC4 002C2A24 99 21 00 36 */ stb r9, 0x36(r1) -/* 802C5AC8 002C2A28 99 01 00 37 */ stb r8, 0x37(r1) -/* 802C5ACC 002C2A2C 98 E1 00 38 */ stb r7, 0x38(r1) -/* 802C5AD0 002C2A30 98 C1 00 39 */ stb r6, 0x39(r1) -/* 802C5AD4 002C2A34 98 A1 00 3A */ stb r5, 0x3a(r1) -/* 802C5AD8 002C2A38 90 81 00 3C */ stw r4, 0x3c(r1) -/* 802C5ADC 002C2A3C 90 01 00 40 */ stw r0, 0x40(r1) -/* 802C5AE0 002C2A40 48 07 91 49 */ bl ReadFloat__12CInputStreamFv -/* 802C5AE4 002C2A44 FF 80 08 90 */ fmr f28, f1 -/* 802C5AE8 002C2A48 7F E3 FB 78 */ mr r3, r31 -/* 802C5AEC 002C2A4C 48 07 91 3D */ bl ReadFloat__12CInputStreamFv -/* 802C5AF0 002C2A50 FF 60 08 90 */ fmr f27, f1 -/* 802C5AF4 002C2A54 7F E3 FB 78 */ mr r3, r31 -/* 802C5AF8 002C2A58 48 07 91 31 */ bl ReadFloat__12CInputStreamFv -/* 802C5AFC 002C2A5C FF A0 08 90 */ fmr f29, f1 -/* 802C5B00 002C2A60 7F E3 FB 78 */ mr r3, r31 -/* 802C5B04 002C2A64 48 07 91 25 */ bl ReadFloat__12CInputStreamFv -/* 802C5B08 002C2A68 FF C0 08 90 */ fmr f30, f1 -/* 802C5B0C 002C2A6C 7F E3 FB 78 */ mr r3, r31 -/* 802C5B10 002C2A70 48 07 91 19 */ bl ReadFloat__12CInputStreamFv -/* 802C5B14 002C2A74 FF E0 08 90 */ fmr f31, f1 -/* 802C5B18 002C2A78 3C 60 80 3D */ lis r3, lbl_803D68B8@ha -/* 802C5B1C 002C2A7C 38 83 68 B8 */ addi r4, r3, lbl_803D68B8@l -/* 802C5B20 002C2A80 38 A0 00 00 */ li r5, 0 -/* 802C5B24 002C2A84 38 60 00 D4 */ li r3, 0xd4 -/* 802C5B28 002C2A88 48 04 FD 45 */ bl __nw__FUlPCcPCc -/* 802C5B2C 002C2A8C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C5B30 002C2A90 41 82 00 28 */ beq lbl_802C5B58 -/* 802C5B34 002C2A94 FC 20 E0 90 */ fmr f1, f28 -/* 802C5B38 002C2A98 D3 A1 00 08 */ stfs f29, 8(r1) -/* 802C5B3C 002C2A9C FC 40 D8 90 */ fmr f2, f27 -/* 802C5B40 002C2AA0 38 81 00 2C */ addi r4, r1, 0x2c -/* 802C5B44 002C2AA4 D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 802C5B48 002C2AA8 38 A1 00 08 */ addi r5, r1, 8 -/* 802C5B4C 002C2AAC D3 E1 00 10 */ stfs f31, 0x10(r1) -/* 802C5B50 002C2AB0 4B FF FD 4D */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f -/* 802C5B54 002C2AB4 7C 7D 1B 78 */ mr r29, r3 -lbl_802C5B58: -/* 802C5B58 002C2AB8 7F A3 EB 78 */ mr r3, r29 -/* 802C5B5C 002C2ABC 7F C4 F3 78 */ mr r4, r30 -/* 802C5B60 002C2AC0 7F E5 FB 78 */ mr r5, r31 -/* 802C5B64 002C2AC4 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802C5B68 002C2AC8 48 00 4F 21 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C5B6C 002C2ACC 7F A3 EB 78 */ mr r3, r29 -/* 802C5B70 002C2AD0 39 61 00 80 */ addi r11, r1, 0x80 -/* 802C5B74 002C2AD4 48 0C 3E BD */ bl func_80389A30 -/* 802C5B78 002C2AD8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802C5B7C 002C2ADC 83 E1 00 54 */ lwz r31, 0x54(r1) -/* 802C5B80 002C2AE0 83 C1 00 50 */ lwz r30, 0x50(r1) -/* 802C5B84 002C2AE4 83 A1 00 4C */ lwz r29, 0x4c(r1) -/* 802C5B88 002C2AE8 7C 08 03 A6 */ mtlr r0 -/* 802C5B8C 002C2AEC 38 21 00 80 */ addi r1, r1, 0x80 -/* 802C5B90 002C2AF0 4E 80 00 20 */ blr - -.global __dt__15CGuiSliderGroupFv -__dt__15CGuiSliderGroupFv: -/* 802C5B94 002C2AF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5B98 002C2AF8 7C 08 02 A6 */ mflr r0 -/* 802C5B9C 002C2AFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5BA0 002C2B00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C5BA4 002C2B04 7C 9F 23 78 */ mr r31, r4 -/* 802C5BA8 002C2B08 93 C1 00 08 */ stw r30, 8(r1) -/* 802C5BAC 002C2B0C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C5BB0 002C2B10 41 82 00 88 */ beq lbl_802C5C38 -/* 802C5BB4 002C2B14 3C 60 80 3F */ lis r3, lbl_803EC930@ha -/* 802C5BB8 002C2B18 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 802C5BBC 002C2B1C 38 03 C9 30 */ addi r0, r3, lbl_803EC930@l -/* 802C5BC0 002C2B20 90 1E 00 00 */ stw r0, 0(r30) -/* 802C5BC4 002C2B24 41 82 00 58 */ beq lbl_802C5C1C -/* 802C5BC8 002C2B28 80 BE 00 CC */ lwz r5, 0xcc(r30) -/* 802C5BCC 002C2B2C 38 60 00 00 */ li r3, 0 -/* 802C5BD0 002C2B30 2C 05 00 00 */ cmpwi r5, 0 -/* 802C5BD4 002C2B34 40 81 00 40 */ ble lbl_802C5C14 -/* 802C5BD8 002C2B38 2C 05 00 08 */ cmpwi r5, 8 -/* 802C5BDC 002C2B3C 38 85 FF F8 */ addi r4, r5, -8 -/* 802C5BE0 002C2B40 40 81 00 20 */ ble lbl_802C5C00 -/* 802C5BE4 002C2B44 38 04 00 07 */ addi r0, r4, 7 -/* 802C5BE8 002C2B48 54 00 E8 FE */ srwi r0, r0, 3 -/* 802C5BEC 002C2B4C 7C 09 03 A6 */ mtctr r0 -/* 802C5BF0 002C2B50 2C 04 00 00 */ cmpwi r4, 0 -/* 802C5BF4 002C2B54 40 81 00 0C */ ble lbl_802C5C00 -lbl_802C5BF8: -/* 802C5BF8 002C2B58 38 63 00 08 */ addi r3, r3, 8 -/* 802C5BFC 002C2B5C 42 00 FF FC */ bdnz lbl_802C5BF8 -lbl_802C5C00: -/* 802C5C00 002C2B60 7C 03 28 50 */ subf r0, r3, r5 -/* 802C5C04 002C2B64 7C 09 03 A6 */ mtctr r0 -/* 802C5C08 002C2B68 7C 03 28 00 */ cmpw r3, r5 -/* 802C5C0C 002C2B6C 40 80 00 08 */ bge lbl_802C5C14 -lbl_802C5C10: -/* 802C5C10 002C2B70 42 00 00 00 */ bdnz lbl_802C5C10 -lbl_802C5C14: -/* 802C5C14 002C2B74 38 00 00 00 */ li r0, 0 -/* 802C5C18 002C2B78 90 1E 00 CC */ stw r0, 0xcc(r30) -lbl_802C5C1C: -/* 802C5C1C 002C2B7C 7F C3 F3 78 */ mr r3, r30 -/* 802C5C20 002C2B80 38 80 00 00 */ li r4, 0 -/* 802C5C24 002C2B84 4B FF BF 0D */ bl __dt__18CGuiCompoundWidgetFv -/* 802C5C28 002C2B88 7F E0 07 35 */ extsh. r0, r31 -/* 802C5C2C 002C2B8C 40 81 00 0C */ ble lbl_802C5C38 -/* 802C5C30 002C2B90 7F C3 F3 78 */ mr r3, r30 -/* 802C5C34 002C2B94 48 04 FC FD */ bl Free__7CMemoryFPCv -lbl_802C5C38: -/* 802C5C38 002C2B98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5C3C 002C2B9C 7F C3 F3 78 */ mr r3, r30 -/* 802C5C40 002C2BA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C5C44 002C2BA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C5C48 002C2BA8 7C 08 03 A6 */ mtlr r0 -/* 802C5C4C 002C2BAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5C50 002C2BB0 4E 80 00 20 */ blr - -.global GetWidgetTypeID__15CGuiSliderGroupCFv -GetWidgetTypeID__15CGuiSliderGroupCFv: -/* 802C5C54 002C2BB4 3C 60 53 4C */ lis r3, 0x534C4750@ha -/* 802C5C58 002C2BB8 38 63 47 50 */ addi r3, r3, 0x534C4750@l -/* 802C5C5C 002C2BBC 4E 80 00 20 */ blr - -.global "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" -"SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2": -/* 802C5C60 002C2BC0 80 04 00 00 */ lwz r0, 0(r4) -/* 802C5C64 002C2BC4 90 03 00 D8 */ stw r0, 0xd8(r3) -/* 802C5C68 002C2BC8 80 04 00 04 */ lwz r0, 4(r4) -/* 802C5C6C 002C2BCC 90 03 00 DC */ stw r0, 0xdc(r3) -/* 802C5C70 002C2BD0 80 A4 00 08 */ lwz r5, 8(r4) -/* 802C5C74 002C2BD4 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C5C78 002C2BD8 90 A3 00 E0 */ stw r5, 0xe0(r3) -/* 802C5C7C 002C2BDC 90 03 00 E4 */ stw r0, 0xe4(r3) -/* 802C5C80 002C2BE0 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 802C5C84 002C2BE4 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802C5C88 002C2BE8 90 A3 00 E8 */ stw r5, 0xe8(r3) -/* 802C5C8C 002C2BEC 90 03 00 EC */ stw r0, 0xec(r3) -/* 802C5C90 002C2BF0 4E 80 00 20 */ blr - -.global StartDecreasing__15CGuiSliderGroupFv -StartDecreasing__15CGuiSliderGroupFv: -/* 802C5C94 002C2BF4 38 80 00 01 */ li r4, 1 -/* 802C5C98 002C2BF8 90 83 00 F0 */ stw r4, 0xf0(r3) -/* 802C5C9C 002C2BFC 88 03 00 F4 */ lbz r0, 0xf4(r3) -/* 802C5CA0 002C2C00 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802C5CA4 002C2C04 98 03 00 F4 */ stb r0, 0xf4(r3) -/* 802C5CA8 002C2C08 38 60 00 01 */ li r3, 1 -/* 802C5CAC 002C2C0C 4E 80 00 20 */ blr - -.global StartIncreasing__15CGuiSliderGroupFv -StartIncreasing__15CGuiSliderGroupFv: -/* 802C5CB0 002C2C10 38 00 00 02 */ li r0, 2 -/* 802C5CB4 002C2C14 38 80 00 01 */ li r4, 1 -/* 802C5CB8 002C2C18 90 03 00 F0 */ stw r0, 0xf0(r3) -/* 802C5CBC 002C2C1C 88 03 00 F4 */ lbz r0, 0xf4(r3) -/* 802C5CC0 002C2C20 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802C5CC4 002C2C24 98 03 00 F4 */ stb r0, 0xf4(r3) -/* 802C5CC8 002C2C28 38 60 00 01 */ li r3, 1 -/* 802C5CCC 002C2C2C 4E 80 00 20 */ blr - -.global SetIncrement__15CGuiSliderGroupFf -SetIncrement__15CGuiSliderGroupFf: -/* 802C5CD0 002C2C30 D0 23 00 C8 */ stfs f1, 0xc8(r3) -/* 802C5CD4 002C2C34 4E 80 00 20 */ blr - -.global SetMinVal__15CGuiSliderGroupFf -SetMinVal__15CGuiSliderGroupFf: -/* 802C5CD8 002C2C38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5CDC 002C2C3C 7C 08 02 A6 */ mflr r0 -/* 802C5CE0 002C2C40 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5CE4 002C2C44 D0 23 00 B8 */ stfs f1, 0xb8(r3) -/* 802C5CE8 002C2C48 C0 23 00 C0 */ lfs f1, 0xc0(r3) -/* 802C5CEC 002C2C4C 48 00 00 3D */ bl SetCurVal__15CGuiSliderGroupFf -/* 802C5CF0 002C2C50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5CF4 002C2C54 7C 08 03 A6 */ mtlr r0 -/* 802C5CF8 002C2C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5CFC 002C2C5C 4E 80 00 20 */ blr - -.global SetMaxVal__15CGuiSliderGroupFf -SetMaxVal__15CGuiSliderGroupFf: -/* 802C5D00 002C2C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C5D04 002C2C64 7C 08 02 A6 */ mflr r0 -/* 802C5D08 002C2C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C5D0C 002C2C6C D0 23 00 BC */ stfs f1, 0xbc(r3) -/* 802C5D10 002C2C70 C0 23 00 C0 */ lfs f1, 0xc0(r3) -/* 802C5D14 002C2C74 48 00 00 15 */ bl SetCurVal__15CGuiSliderGroupFf -/* 802C5D18 002C2C78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C5D1C 002C2C7C 7C 08 03 A6 */ mtlr r0 -/* 802C5D20 002C2C80 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C5D24 002C2C84 4E 80 00 20 */ blr - -.global SetCurVal__15CGuiSliderGroupFf -SetCurVal__15CGuiSliderGroupFf: -/* 802C5D28 002C2C88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C5D2C 002C2C8C 7C 08 02 A6 */ mflr r0 -/* 802C5D30 002C2C90 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C5D34 002C2C94 38 81 00 08 */ addi r4, r1, 8 -/* 802C5D38 002C2C98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C5D3C 002C2C9C 7C 7F 1B 78 */ mr r31, r3 -/* 802C5D40 002C2CA0 38 7F 00 B8 */ addi r3, r31, 0xb8 -/* 802C5D44 002C2CA4 D0 21 00 08 */ stfs f1, 8(r1) -/* 802C5D48 002C2CA8 38 BF 00 BC */ addi r5, r31, 0xbc -/* 802C5D4C 002C2CAC 4B D4 65 69 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802C5D50 002C2CB0 C0 03 00 00 */ lfs f0, 0(r3) -/* 802C5D54 002C2CB4 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -/* 802C5D58 002C2CB8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 802C5D5C 002C2CBC D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 802C5D60 002C2CC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C5D64 002C2CC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C5D68 002C2CC8 7C 08 03 A6 */ mtlr r0 -/* 802C5D6C 002C2CCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C5D70 002C2CD0 4E 80 00 20 */ blr - -.global Update__15CGuiSliderGroupFf -Update__15CGuiSliderGroupFf: -/* 802C5D74 002C2CD4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802C5D78 002C2CD8 7C 08 02 A6 */ mflr r0 -/* 802C5D7C 002C2CDC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802C5D80 002C2CE0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802C5D84 002C2CE4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802C5D88 002C2CE8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 802C5D8C 002C2CEC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 802C5D90 002C2CF0 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 802C5D94 002C2CF4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 802C5D98 002C2CF8 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 802C5D9C 002C2CFC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 802C5DA0 002C2D00 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802C5DA4 002C2D04 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802C5DA8 002C2D08 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802C5DAC 002C2D0C 7C 7F 1B 78 */ mr r31, r3 -/* 802C5DB0 002C2D10 C0 03 00 BC */ lfs f0, 0xbc(r3) -/* 802C5DB4 002C2D14 C0 43 00 B8 */ lfs f2, 0xb8(r3) -/* 802C5DB8 002C2D18 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802C5DBC 002C2D1C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802C5DC0 002C2D20 EC 81 00 32 */ fmuls f4, f1, f0 -/* 802C5DC4 002C2D24 48 00 00 14 */ b lbl_802C5DD8 -lbl_802C5DC8: -/* 802C5DC8 002C2D28 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802C5DCC 002C2D2C C0 1F 00 C8 */ lfs f0, 0xc8(r31) -/* 802C5DD0 002C2D30 EC 01 00 2A */ fadds f0, f1, f0 -/* 802C5DD4 002C2D34 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_802C5DD8: -/* 802C5DD8 002C2D38 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802C5DDC 002C2D3C C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 802C5DE0 002C2D40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C5DE4 002C2D44 4C 40 13 82 */ cror 2, 0, 2 -/* 802C5DE8 002C2D48 41 82 FF E0 */ beq lbl_802C5DC8 -/* 802C5DEC 002C2D4C C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C5DF0 002C2D50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C5DF4 002C2D54 40 80 00 0C */ bge lbl_802C5E00 -/* 802C5DF8 002C2D58 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C5DFC 002C2D5C 48 00 00 08 */ b lbl_802C5E04 -lbl_802C5E00: -/* 802C5E00 002C2D60 38 7F 00 BC */ addi r3, r31, 0xbc -lbl_802C5E04: -/* 802C5E04 002C2D64 C0 43 00 00 */ lfs f2, 0(r3) -/* 802C5E08 002C2D68 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802C5E0C 002C2D6C C0 1F 00 C8 */ lfs f0, 0xc8(r31) -/* 802C5E10 002C2D70 EC 22 00 28 */ fsubs f1, f2, f0 -/* 802C5E14 002C2D74 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802C5E18 002C2D78 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 802C5E1C 002C2D7C C0 7F 00 C4 */ lfs f3, 0xc4(r31) -/* 802C5E20 002C2D80 2C 00 00 01 */ cmpwi r0, 1 -/* 802C5E24 002C2D84 40 82 00 64 */ bne lbl_802C5E88 -/* 802C5E28 002C2D88 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 802C5E2C 002C2D8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802C5E30 002C2D90 41 82 00 30 */ beq lbl_802C5E60 -/* 802C5E34 002C2D94 EC 23 20 28 */ fsubs f1, f3, f4 -/* 802C5E38 002C2D98 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802C5E3C 002C2D9C C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 802C5E40 002C2DA0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C5E44 002C2DA4 40 80 00 0C */ bge lbl_802C5E50 -/* 802C5E48 002C2DA8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C5E4C 002C2DAC 48 00 00 08 */ b lbl_802C5E54 -lbl_802C5E50: -/* 802C5E50 002C2DB0 38 7F 00 B8 */ addi r3, r31, 0xb8 -lbl_802C5E54: -/* 802C5E54 002C2DB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 802C5E58 002C2DB8 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 802C5E5C 002C2DBC 48 00 00 98 */ b lbl_802C5EF4 -lbl_802C5E60: -/* 802C5E60 002C2DC0 EC 03 20 28 */ fsubs f0, f3, f4 -/* 802C5E64 002C2DC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C5E68 002C2DC8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C5E6C 002C2DCC 40 80 00 0C */ bge lbl_802C5E78 -/* 802C5E70 002C2DD0 38 61 00 10 */ addi r3, r1, 0x10 -/* 802C5E74 002C2DD4 48 00 00 08 */ b lbl_802C5E7C -lbl_802C5E78: -/* 802C5E78 002C2DD8 38 61 00 18 */ addi r3, r1, 0x18 -lbl_802C5E7C: -/* 802C5E7C 002C2DDC C0 03 00 00 */ lfs f0, 0(r3) -/* 802C5E80 002C2DE0 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 802C5E84 002C2DE4 48 00 00 70 */ b lbl_802C5EF4 -lbl_802C5E88: -/* 802C5E88 002C2DE8 2C 00 00 02 */ cmpwi r0, 2 -/* 802C5E8C 002C2DEC 40 82 00 68 */ bne lbl_802C5EF4 -/* 802C5E90 002C2DF0 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 802C5E94 002C2DF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802C5E98 002C2DF8 41 82 00 30 */ beq lbl_802C5EC8 -/* 802C5E9C 002C2DFC EC 23 20 2A */ fadds f1, f3, f4 -/* 802C5EA0 002C2E00 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C5EA4 002C2E04 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C5EA8 002C2E08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C5EAC 002C2E0C 40 80 00 0C */ bge lbl_802C5EB8 -/* 802C5EB0 002C2E10 38 61 00 0C */ addi r3, r1, 0xc -/* 802C5EB4 002C2E14 48 00 00 08 */ b lbl_802C5EBC -lbl_802C5EB8: -/* 802C5EB8 002C2E18 38 7F 00 BC */ addi r3, r31, 0xbc -lbl_802C5EBC: -/* 802C5EBC 002C2E1C C0 03 00 00 */ lfs f0, 0(r3) -/* 802C5EC0 002C2E20 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 802C5EC4 002C2E24 48 00 00 30 */ b lbl_802C5EF4 -lbl_802C5EC8: -/* 802C5EC8 002C2E28 FC 03 08 00 */ fcmpu cr0, f3, f1 -/* 802C5ECC 002C2E2C 41 82 00 28 */ beq lbl_802C5EF4 -/* 802C5ED0 002C2E30 EC 03 20 2A */ fadds f0, f3, f4 -/* 802C5ED4 002C2E34 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802C5ED8 002C2E38 D0 01 00 08 */ stfs f0, 8(r1) -/* 802C5EDC 002C2E3C 40 80 00 0C */ bge lbl_802C5EE8 -/* 802C5EE0 002C2E40 38 61 00 08 */ addi r3, r1, 8 -/* 802C5EE4 002C2E44 48 00 00 08 */ b lbl_802C5EEC -lbl_802C5EE8: -/* 802C5EE8 002C2E48 38 61 00 1C */ addi r3, r1, 0x1c -lbl_802C5EEC: -/* 802C5EEC 002C2E4C C0 03 00 00 */ lfs f0, 0(r3) -/* 802C5EF0 002C2E50 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -lbl_802C5EF4: -/* 802C5EF4 002C2E54 C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 802C5EF8 002C2E58 FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 802C5EFC 002C2E5C 40 82 00 0C */ bne lbl_802C5F08 -/* 802C5F00 002C2E60 38 00 00 00 */ li r0, 0 -/* 802C5F04 002C2E64 90 1F 00 F0 */ stw r0, 0xf0(r31) -lbl_802C5F08: -/* 802C5F08 002C2E68 C0 1F 00 C4 */ lfs f0, 0xc4(r31) -/* 802C5F0C 002C2E6C C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 802C5F10 002C2E70 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802C5F14 002C2E74 EC 44 00 28 */ fsubs f2, f4, f0 -/* 802C5F18 002C2E78 C0 3F 00 C0 */ lfs f1, 0xc0(r31) -/* 802C5F1C 002C2E7C EC 00 18 28 */ fsubs f0, f0, f3 -/* 802C5F20 002C2E80 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802C5F24 002C2E84 40 81 00 08 */ ble lbl_802C5F2C -/* 802C5F28 002C2E88 48 00 00 08 */ b lbl_802C5F30 -lbl_802C5F2C: -/* 802C5F2C 002C2E8C FC 60 20 90 */ fmr f3, f4 -lbl_802C5F30: -/* 802C5F30 002C2E90 D0 7F 00 C0 */ stfs f3, 0xc0(r31) -/* 802C5F34 002C2E94 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 802C5F38 002C2E98 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802C5F3C 002C2E9C 41 82 00 FC */ beq lbl_802C6038 -/* 802C5F40 002C2EA0 38 00 00 02 */ li r0, 2 -/* 802C5F44 002C2EA4 38 60 00 00 */ li r3, 0 -/* 802C5F48 002C2EA8 7C 09 03 A6 */ mtctr r0 -lbl_802C5F4C: -/* 802C5F4C 002C2EAC 38 03 00 E0 */ addi r0, r3, 0xe0 -/* 802C5F50 002C2EB0 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5F54 002C2EB4 7C 00 07 75 */ extsb. r0, r0 -/* 802C5F58 002C2EB8 41 82 00 0C */ beq lbl_802C5F64 -/* 802C5F5C 002C2EBC 38 00 00 00 */ li r0, 0 -/* 802C5F60 002C2EC0 48 00 00 B8 */ b lbl_802C6018 -lbl_802C5F64: -/* 802C5F64 002C2EC4 38 03 00 E1 */ addi r0, r3, 0xe1 -/* 802C5F68 002C2EC8 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5F6C 002C2ECC 7C 00 07 75 */ extsb. r0, r0 -/* 802C5F70 002C2ED0 41 82 00 0C */ beq lbl_802C5F7C -/* 802C5F74 002C2ED4 38 00 00 00 */ li r0, 0 -/* 802C5F78 002C2ED8 48 00 00 A0 */ b lbl_802C6018 -lbl_802C5F7C: -/* 802C5F7C 002C2EDC 38 03 00 E2 */ addi r0, r3, 0xe2 -/* 802C5F80 002C2EE0 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5F84 002C2EE4 7C 00 07 75 */ extsb. r0, r0 -/* 802C5F88 002C2EE8 41 82 00 0C */ beq lbl_802C5F94 -/* 802C5F8C 002C2EEC 38 00 00 00 */ li r0, 0 -/* 802C5F90 002C2EF0 48 00 00 88 */ b lbl_802C6018 -lbl_802C5F94: -/* 802C5F94 002C2EF4 38 03 00 E3 */ addi r0, r3, 0xe3 -/* 802C5F98 002C2EF8 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5F9C 002C2EFC 7C 00 07 75 */ extsb. r0, r0 -/* 802C5FA0 002C2F00 41 82 00 0C */ beq lbl_802C5FAC -/* 802C5FA4 002C2F04 38 00 00 00 */ li r0, 0 -/* 802C5FA8 002C2F08 48 00 00 70 */ b lbl_802C6018 -lbl_802C5FAC: -/* 802C5FAC 002C2F0C 38 03 00 E4 */ addi r0, r3, 0xe4 -/* 802C5FB0 002C2F10 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5FB4 002C2F14 7C 00 07 75 */ extsb. r0, r0 -/* 802C5FB8 002C2F18 41 82 00 0C */ beq lbl_802C5FC4 -/* 802C5FBC 002C2F1C 38 00 00 00 */ li r0, 0 -/* 802C5FC0 002C2F20 48 00 00 58 */ b lbl_802C6018 -lbl_802C5FC4: -/* 802C5FC4 002C2F24 38 03 00 E5 */ addi r0, r3, 0xe5 -/* 802C5FC8 002C2F28 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5FCC 002C2F2C 7C 00 07 75 */ extsb. r0, r0 -/* 802C5FD0 002C2F30 41 82 00 0C */ beq lbl_802C5FDC -/* 802C5FD4 002C2F34 38 00 00 00 */ li r0, 0 -/* 802C5FD8 002C2F38 48 00 00 40 */ b lbl_802C6018 -lbl_802C5FDC: -/* 802C5FDC 002C2F3C 38 03 00 E6 */ addi r0, r3, 0xe6 -/* 802C5FE0 002C2F40 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5FE4 002C2F44 7C 00 07 75 */ extsb. r0, r0 -/* 802C5FE8 002C2F48 41 82 00 0C */ beq lbl_802C5FF4 -/* 802C5FEC 002C2F4C 38 00 00 00 */ li r0, 0 -/* 802C5FF0 002C2F50 48 00 00 28 */ b lbl_802C6018 -lbl_802C5FF4: -/* 802C5FF4 002C2F54 38 03 00 E7 */ addi r0, r3, 0xe7 -/* 802C5FF8 002C2F58 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 802C5FFC 002C2F5C 7C 00 07 75 */ extsb. r0, r0 -/* 802C6000 002C2F60 41 82 00 0C */ beq lbl_802C600C -/* 802C6004 002C2F64 38 00 00 00 */ li r0, 0 -/* 802C6008 002C2F68 48 00 00 10 */ b lbl_802C6018 -lbl_802C600C: -/* 802C600C 002C2F6C 38 63 00 08 */ addi r3, r3, 8 -/* 802C6010 002C2F70 42 00 FF 3C */ bdnz lbl_802C5F4C -/* 802C6014 002C2F74 38 00 00 01 */ li r0, 1 -lbl_802C6018: -/* 802C6018 002C2F78 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C601C 002C2F7C 40 82 00 1C */ bne lbl_802C6038 -/* 802C6020 002C2F80 81 9F 00 D8 */ lwz r12, 0xd8(r31) -/* 802C6024 002C2F84 7F E5 FB 78 */ mr r5, r31 -/* 802C6028 002C2F88 38 9F 00 E0 */ addi r4, r31, 0xe0 -/* 802C602C 002C2F8C 80 7F 00 DC */ lwz r3, 0xdc(r31) -/* 802C6030 002C2F90 7D 89 03 A6 */ mtctr r12 -/* 802C6034 002C2F94 4E 80 04 21 */ bctrl -lbl_802C6038: -/* 802C6038 002C2F98 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 802C603C 002C2F9C C0 5F 00 B8 */ lfs f2, 0xb8(r31) -/* 802C6040 002C2FA0 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802C6044 002C2FA4 40 82 00 0C */ bne lbl_802C6050 -/* 802C6048 002C2FA8 C3 E2 C3 B8 */ lfs f31, lbl_805AE0D8@sda21(r2) -/* 802C604C 002C2FAC 48 00 00 14 */ b lbl_802C6060 -lbl_802C6050: -/* 802C6050 002C2FB0 C0 3F 00 C4 */ lfs f1, 0xc4(r31) -/* 802C6054 002C2FB4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802C6058 002C2FB8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802C605C 002C2FBC EF E1 00 24 */ fdivs f31, f1, f0 -lbl_802C6060: -/* 802C6060 002C2FC0 83 DF 00 D0 */ lwz r30, 0xd0(r31) -/* 802C6064 002C2FC4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802C6068 002C2FC8 83 BF 00 D4 */ lwz r29, 0xd4(r31) -/* 802C606C 002C2FCC 7F C4 F3 78 */ mr r4, r30 -/* 802C6070 002C2FD0 48 00 46 3D */ bl GetIdlePosition__10CGuiWidgetFv -/* 802C6074 002C2FD4 C3 C1 00 2C */ lfs f30, 0x2c(r1) -/* 802C6078 002C2FD8 7F A4 EB 78 */ mr r4, r29 -/* 802C607C 002C2FDC C3 A1 00 30 */ lfs f29, 0x30(r1) -/* 802C6080 002C2FE0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C6084 002C2FE4 C3 81 00 34 */ lfs f28, 0x34(r1) -/* 802C6088 002C2FE8 48 00 46 25 */ bl GetIdlePosition__10CGuiWidgetFv -/* 802C608C 002C2FEC C0 02 C3 BC */ lfs f0, lbl_805AE0DC@sda21(r2) -/* 802C6090 002C2FF0 7F C3 F3 78 */ mr r3, r30 -/* 802C6094 002C2FF4 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802C6098 002C2FF8 38 81 00 38 */ addi r4, r1, 0x38 -/* 802C609C 002C2FFC C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802C60A0 002C3000 EC 60 F8 28 */ fsubs f3, f0, f31 -/* 802C60A4 002C3004 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802C60A8 002C3008 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 802C60AC 002C300C EC 21 07 F2 */ fmuls f1, f1, f31 -/* 802C60B0 002C3010 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 802C60B4 002C3014 EC 5E 10 FA */ fmadds f2, f30, f3, f2 -/* 802C60B8 002C3018 EC 3D 08 FA */ fmadds f1, f29, f3, f1 -/* 802C60BC 002C301C EC 1C 00 FA */ fmadds f0, f28, f3, f0 -/* 802C60C0 002C3020 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 802C60C4 002C3024 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802C60C8 002C3028 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802C60CC 002C302C 4B FF F0 FD */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f -/* 802C60D0 002C3030 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 802C60D4 002C3034 38 60 00 00 */ li r3, 0 -/* 802C60D8 002C3038 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 802C60DC 002C303C 98 1F 00 F4 */ stb r0, 0xf4(r31) -/* 802C60E0 002C3040 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802C60E4 002C3044 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802C60E8 002C3048 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 802C60EC 002C304C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 802C60F0 002C3050 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 802C60F4 002C3054 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 802C60F8 002C3058 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 802C60FC 002C305C CB 81 00 60 */ lfd f28, 0x60(r1) -/* 802C6100 002C3060 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802C6104 002C3064 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802C6108 002C3068 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802C610C 002C306C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 802C6110 002C3070 7C 08 03 A6 */ mtlr r0 -/* 802C6114 002C3074 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802C6118 002C3078 4E 80 00 20 */ blr - -.global ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput -ProcessUserInput__15CGuiSliderGroupFRC11CFinalInput: -/* 802C611C 002C307C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6120 002C3080 7C 08 02 A6 */ mflr r0 -/* 802C6124 002C3084 C0 42 CC 28 */ lfs f2, lbl_805AE948@sda21(r2) -/* 802C6128 002C3088 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C612C 002C308C FC 00 10 50 */ fneg f0, f2 -/* 802C6130 002C3090 C0 24 00 08 */ lfs f1, 8(r4) -/* 802C6134 002C3094 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C6138 002C3098 40 81 00 0C */ ble lbl_802C6144 -/* 802C613C 002C309C 38 00 00 01 */ li r0, 1 -/* 802C6140 002C30A0 48 00 00 08 */ b lbl_802C6148 -lbl_802C6144: -/* 802C6144 002C30A4 38 00 00 00 */ li r0, 0 -lbl_802C6148: -/* 802C6148 002C30A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C614C 002C30AC 41 82 00 14 */ beq lbl_802C6160 -/* 802C6150 002C30B0 38 80 00 00 */ li r4, 0 -/* 802C6154 002C30B4 38 A0 00 00 */ li r5, 0 -/* 802C6158 002C30B8 4B FF FB 3D */ bl StartDecreasing__15CGuiSliderGroupFv -/* 802C615C 002C30BC 48 00 00 4C */ b lbl_802C61A8 -lbl_802C6160: -/* 802C6160 002C30C0 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802C6164 002C30C4 40 80 00 14 */ bge lbl_802C6178 -/* 802C6168 002C30C8 38 80 00 00 */ li r4, 0 -/* 802C616C 002C30CC 38 A0 00 00 */ li r5, 0 -/* 802C6170 002C30D0 4B FF FB 41 */ bl StartIncreasing__15CGuiSliderGroupFv -/* 802C6174 002C30D4 48 00 00 34 */ b lbl_802C61A8 -lbl_802C6178: -/* 802C6178 002C30D8 88 84 00 2E */ lbz r4, 0x2e(r4) -/* 802C617C 002C30DC 54 80 FF FF */ rlwinm. r0, r4, 0x1f, 0x1f, 0x1f -/* 802C6180 002C30E0 41 82 00 14 */ beq lbl_802C6194 -/* 802C6184 002C30E4 38 80 00 00 */ li r4, 0 -/* 802C6188 002C30E8 38 A0 00 00 */ li r5, 0 -/* 802C618C 002C30EC 4B FF FB 09 */ bl StartDecreasing__15CGuiSliderGroupFv -/* 802C6190 002C30F0 48 00 00 18 */ b lbl_802C61A8 -lbl_802C6194: -/* 802C6194 002C30F4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 802C6198 002C30F8 41 82 00 10 */ beq lbl_802C61A8 -/* 802C619C 002C30FC 38 80 00 00 */ li r4, 0 -/* 802C61A0 002C3100 38 A0 00 00 */ li r5, 0 -/* 802C61A4 002C3104 4B FF FB 0D */ bl StartIncreasing__15CGuiSliderGroupFv -lbl_802C61A8: -/* 802C61A8 002C3108 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C61AC 002C310C 7C 08 03 A6 */ mtlr r0 -/* 802C61B0 002C3110 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C61B4 002C3114 4E 80 00 20 */ blr - -.global AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget -AddWorkerWidget__15CGuiSliderGroupFP10CGuiWidget: -/* 802C61B8 002C3118 A8 04 00 B4 */ lha r0, 0xb4(r4) -/* 802C61BC 002C311C 2C 00 00 00 */ cmpwi r0, 0 -/* 802C61C0 002C3120 41 80 00 18 */ blt lbl_802C61D8 -/* 802C61C4 002C3124 2C 00 00 01 */ cmpwi r0, 1 -/* 802C61C8 002C3128 41 81 00 10 */ bgt lbl_802C61D8 -/* 802C61CC 002C312C 54 00 10 3A */ slwi r0, r0, 2 -/* 802C61D0 002C3130 7C 63 02 14 */ add r3, r3, r0 -/* 802C61D4 002C3134 90 83 00 D0 */ stw r4, 0xd0(r3) -lbl_802C61D8: -/* 802C61D8 002C3138 38 60 00 01 */ li r3, 1 -/* 802C61DC 002C313C 4E 80 00 20 */ blr - -.global __ct__15CGuiSliderGroupFv -__ct__15CGuiSliderGroupFv: -/* 802C61E0 002C3140 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C61E4 002C3144 7C 08 02 A6 */ mflr r0 -/* 802C61E8 002C3148 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C61EC 002C314C 39 61 00 30 */ addi r11, r1, 0x30 -/* 802C61F0 002C3150 48 0C 37 F9 */ bl sub_803899e8 -/* 802C61F4 002C3154 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C61F8 002C3158 FF 80 08 90 */ fmr f28, f1 -/* 802C61FC 002C315C 7C 7F 1B 78 */ mr r31, r3 -/* 802C6200 002C3160 FF A0 10 90 */ fmr f29, f2 -/* 802C6204 002C3164 FF C0 18 90 */ fmr f30, f3 -/* 802C6208 002C3168 FF E0 20 90 */ fmr f31, f4 -/* 802C620C 002C316C 4B FF B9 85 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C6210 002C3170 3C 60 80 3F */ lis r3, lbl_803EC930@ha -/* 802C6214 002C3174 34 9F 00 D0 */ addic. r4, r31, 0xd0 -/* 802C6218 002C3178 38 63 C9 30 */ addi r3, r3, lbl_803EC930@l -/* 802C621C 002C317C 38 00 00 02 */ li r0, 2 -/* 802C6220 002C3180 90 7F 00 00 */ stw r3, 0(r31) -/* 802C6224 002C3184 38 60 00 00 */ li r3, 0 -/* 802C6228 002C3188 D3 9F 00 B8 */ stfs f28, 0xb8(r31) -/* 802C622C 002C318C D3 BF 00 BC */ stfs f29, 0xbc(r31) -/* 802C6230 002C3190 D3 DF 00 C0 */ stfs f30, 0xc0(r31) -/* 802C6234 002C3194 D3 DF 00 C4 */ stfs f30, 0xc4(r31) -/* 802C6238 002C3198 D3 FF 00 C8 */ stfs f31, 0xc8(r31) -/* 802C623C 002C319C 90 1F 00 CC */ stw r0, 0xcc(r31) -/* 802C6240 002C31A0 41 82 00 08 */ beq lbl_802C6248 -/* 802C6244 002C31A4 90 64 00 00 */ stw r3, 0(r4) -lbl_802C6248: -/* 802C6248 002C31A8 34 84 00 04 */ addic. r4, r4, 4 -/* 802C624C 002C31AC 41 82 00 08 */ beq lbl_802C6254 -/* 802C6250 002C31B0 90 64 00 00 */ stw r3, 0(r4) -lbl_802C6254: -/* 802C6254 002C31B4 38 00 00 00 */ li r0, 0 -/* 802C6258 002C31B8 38 7F 00 E0 */ addi r3, r31, 0xe0 -/* 802C625C 002C31BC 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 802C6260 002C31C0 38 80 00 00 */ li r4, 0 -/* 802C6264 002C31C4 38 A0 00 10 */ li r5, 0x10 -/* 802C6268 002C31C8 90 1F 00 DC */ stw r0, 0xdc(r31) -/* 802C626C 002C31CC 4B D3 D1 3D */ bl memset -/* 802C6270 002C31D0 38 80 00 00 */ li r4, 0 -/* 802C6274 002C31D4 7F E3 FB 78 */ mr r3, r31 -/* 802C6278 002C31D8 90 9F 00 F0 */ stw r4, 0xf0(r31) -/* 802C627C 002C31DC 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 802C6280 002C31E0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 802C6284 002C31E4 98 1F 00 F4 */ stb r0, 0xf4(r31) -/* 802C6288 002C31E8 39 61 00 30 */ addi r11, r1, 0x30 -/* 802C628C 002C31EC 48 0C 37 A9 */ bl sub_80389a34 -/* 802C6290 002C31F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C6294 002C31F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C6298 002C31F8 7C 08 03 A6 */ mtlr r0 -/* 802C629C 002C31FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C62A0 002C3200 4E 80 00 20 */ blr - -.global GetWorkerWidget__15CGuiSliderGroupFi -GetWorkerWidget__15CGuiSliderGroupFi: -/* 802C62A4 002C3204 2C 04 00 00 */ cmpwi r4, 0 -/* 802C62A8 002C3208 41 80 00 1C */ blt lbl_802C62C4 -/* 802C62AC 002C320C 2C 04 00 01 */ cmpwi r4, 1 -/* 802C62B0 002C3210 41 81 00 14 */ bgt lbl_802C62C4 -/* 802C62B4 002C3214 54 80 10 3A */ slwi r0, r4, 2 -/* 802C62B8 002C3218 7C 63 02 14 */ add r3, r3, r0 -/* 802C62BC 002C321C 80 63 00 D0 */ lwz r3, 0xd0(r3) -/* 802C62C0 002C3220 4E 80 00 20 */ blr -lbl_802C62C4: -/* 802C62C4 002C3224 38 60 00 00 */ li r3, 0 -/* 802C62C8 002C3228 4E 80 00 20 */ blr - -.global Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb -Create__15CGuiSliderGroupFP9CGuiFrameR12CInputStreamb: -/* 802C62CC 002C322C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C62D0 002C3230 7C 08 02 A6 */ mflr r0 -/* 802C62D4 002C3234 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C62D8 002C3238 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802C62DC 002C323C 7C 9F 23 78 */ mr r31, r4 -/* 802C62E0 002C3240 7F E5 FB 78 */ mr r5, r31 -/* 802C62E4 002C3244 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802C62E8 002C3248 7C 7E 1B 78 */ mr r30, r3 -/* 802C62EC 002C324C 7F C4 F3 78 */ mr r4, r30 -/* 802C62F0 002C3250 38 61 00 08 */ addi r3, r1, 8 -/* 802C62F4 002C3254 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802C62F8 002C3258 48 00 4A 59 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C62FC 002C325C 83 A1 00 08 */ lwz r29, 8(r1) -/* 802C6300 002C3260 7F E3 FB 78 */ mr r3, r31 -/* 802C6304 002C3264 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C6308 002C3268 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C630C 002C326C A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C6310 002C3270 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C6314 002C3274 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C6318 002C3278 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C631C 002C327C 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C6320 002C3280 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C6324 002C3284 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C6328 002C3288 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C632C 002C328C 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C6330 002C3290 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C6334 002C3294 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C6338 002C3298 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C633C 002C329C 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C6340 002C32A0 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C6344 002C32A4 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C6348 002C32A8 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C634C 002C32AC 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C6350 002C32B0 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C6354 002C32B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C6358 002C32B8 48 07 88 D1 */ bl ReadFloat__12CInputStreamFv -/* 802C635C 002C32BC 7F E3 FB 78 */ mr r3, r31 -/* 802C6360 002C32C0 48 07 88 C9 */ bl ReadFloat__12CInputStreamFv -/* 802C6364 002C32C4 7F E3 FB 78 */ mr r3, r31 -/* 802C6368 002C32C8 48 07 88 C1 */ bl ReadFloat__12CInputStreamFv -/* 802C636C 002C32CC 7F E3 FB 78 */ mr r3, r31 -/* 802C6370 002C32D0 48 07 88 B9 */ bl ReadFloat__12CInputStreamFv -/* 802C6374 002C32D4 3C 80 80 3D */ lis r4, lbl_803D68C0@ha -/* 802C6378 002C32D8 38 60 00 F8 */ li r3, 0xf8 -/* 802C637C 002C32DC 38 84 68 C0 */ addi r4, r4, lbl_803D68C0@l -/* 802C6380 002C32E0 38 A0 00 00 */ li r5, 0 -/* 802C6384 002C32E4 48 04 F4 E9 */ bl __nw__FUlPCcPCc -/* 802C6388 002C32E8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C638C 002C32EC 41 82 00 20 */ beq lbl_802C63AC -/* 802C6390 002C32F0 C0 22 C3 B8 */ lfs f1, lbl_805AE0D8@sda21(r2) -/* 802C6394 002C32F4 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C6398 002C32F8 C0 42 C3 C0 */ lfs f2, lbl_805AE0E0@sda21(r2) -/* 802C639C 002C32FC FC 60 08 90 */ fmr f3, f1 -/* 802C63A0 002C3300 C0 82 C3 C4 */ lfs f4, lbl_805AE0E4@sda21(r2) -/* 802C63A4 002C3304 4B FF FE 3D */ bl __ct__15CGuiSliderGroupFv -/* 802C63A8 002C3308 7C 7D 1B 78 */ mr r29, r3 -lbl_802C63AC: -/* 802C63AC 002C330C 7F A3 EB 78 */ mr r3, r29 -/* 802C63B0 002C3310 7F C4 F3 78 */ mr r4, r30 -/* 802C63B4 002C3314 7F E5 FB 78 */ mr r5, r31 -/* 802C63B8 002C3318 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C63BC 002C331C 48 00 46 CD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C63C0 002C3320 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C63C4 002C3324 7F A3 EB 78 */ mr r3, r29 -/* 802C63C8 002C3328 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802C63CC 002C332C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802C63D0 002C3330 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802C63D4 002C3334 7C 08 03 A6 */ mtlr r0 -/* 802C63D8 002C3338 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C63DC 002C333C 4E 80 00 20 */ blr - -.global nullsub_7 -nullsub_7: -/* 802C63E0 002C3340 4E 80 00 20 */ blr - -.global CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame -CreateWidgetInGame__7CGuiSysFUiR12CInputStreamP9CGuiFrame: -/* 802C63E4 002C3344 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C63E8 002C3348 7C 08 02 A6 */ mflr r0 -/* 802C63EC 002C334C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C63F0 002C3350 7C 80 23 78 */ mr r0, r4 -/* 802C63F4 002C3354 7C A4 2B 78 */ mr r4, r5 -/* 802C63F8 002C3358 7C 05 03 78 */ mr r5, r0 -/* 802C63FC 002C335C 4B FF B7 D1 */ bl FGuiWidgetFactoryInGame__FUiP9CGuiFrameR12CInputStreamb -/* 802C6400 002C3360 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6404 002C3364 7C 08 03 A6 */ mtlr r0 -/* 802C6408 002C3368 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C640C 002C336C 4E 80 00 20 */ blr - -.global sub_802c6410 -sub_802c6410: -/* 802C6410 002C3370 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6414 002C3374 7C 08 02 A6 */ mflr r0 -/* 802C6418 002C3378 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C641C 002C337C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C6420 002C3380 7C 9F 23 78 */ mr r31, r4 -/* 802C6424 002C3384 93 C1 00 08 */ stw r30, 8(r1) -/* 802C6428 002C3388 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C642C 002C338C 41 82 00 30 */ beq lbl_802C645C -/* 802C6430 002C3390 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 802C6434 002C3394 41 82 00 0C */ beq lbl_802C6440 -/* 802C6438 002C3398 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 802C643C 002C339C 48 04 F4 F5 */ bl Free__7CMemoryFPCv -lbl_802C6440: -/* 802C6440 002C33A0 38 7E 00 0C */ addi r3, r30, 0xc -/* 802C6444 002C33A4 38 80 FF FF */ li r4, -1 -/* 802C6448 002C33A8 48 00 00 31 */ bl sub_802c6478 -/* 802C644C 002C33AC 7F E0 07 35 */ extsh. r0, r31 -/* 802C6450 002C33B0 40 81 00 0C */ ble lbl_802C645C -/* 802C6454 002C33B4 7F C3 F3 78 */ mr r3, r30 -/* 802C6458 002C33B8 48 04 F4 D9 */ bl Free__7CMemoryFPCv -lbl_802C645C: -/* 802C645C 002C33BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6460 002C33C0 7F C3 F3 78 */ mr r3, r30 -/* 802C6464 002C33C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C6468 002C33C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C646C 002C33CC 7C 08 03 A6 */ mtlr r0 -/* 802C6470 002C33D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C6474 002C33D4 4E 80 00 20 */ blr - -.global sub_802c6478 -sub_802c6478: -/* 802C6478 002C33D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C647C 002C33DC 7C 08 02 A6 */ mflr r0 -/* 802C6480 002C33E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C6484 002C33E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C6488 002C33E8 7C 9F 23 78 */ mr r31, r4 -/* 802C648C 002C33EC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C6490 002C33F0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C6494 002C33F4 41 82 00 20 */ beq lbl_802C64B4 -/* 802C6498 002C33F8 80 7E 00 00 */ lwz r3, 0(r30) -/* 802C649C 002C33FC 38 80 00 01 */ li r4, 1 -/* 802C64A0 002C3400 4B D6 28 15 */ bl __dt__18CTextExecuteBufferFv -/* 802C64A4 002C3404 7F E0 07 35 */ extsh. r0, r31 -/* 802C64A8 002C3408 40 81 00 0C */ ble lbl_802C64B4 -/* 802C64AC 002C340C 7F C3 F3 78 */ mr r3, r30 -/* 802C64B0 002C3410 48 04 F4 81 */ bl Free__7CMemoryFPCv -lbl_802C64B4: -/* 802C64B4 002C3414 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C64B8 002C3418 7F C3 F3 78 */ mr r3, r30 -/* 802C64BC 002C341C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C64C0 002C3420 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C64C4 002C3424 7C 08 03 A6 */ mtlr r0 -/* 802C64C8 002C3428 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C64CC 002C342C 4E 80 00 20 */ blr - -.global __ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode -__ct__7CGuiSysFP8IFactoryP11CSimplePoolQ27CGuiSys10EUsageMode: -/* 802C64D0 002C3430 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C64D4 002C3434 7C 08 02 A6 */ mflr r0 -/* 802C64D8 002C3438 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C64DC 002C343C 38 00 00 00 */ li r0, 0 -/* 802C64E0 002C3440 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C64E4 002C3444 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C64E8 002C3448 7C BE 2B 78 */ mr r30, r5 -/* 802C64EC 002C344C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C64F0 002C3450 7C 7D 1B 78 */ mr r29, r3 -/* 802C64F4 002C3454 90 83 00 00 */ stw r4, 0(r3) -/* 802C64F8 002C3458 93 C3 00 04 */ stw r30, 4(r3) -/* 802C64FC 002C345C 90 C3 00 08 */ stw r6, 8(r3) -/* 802C6500 002C3460 90 03 00 0C */ stw r0, 0xc(r3) -/* 802C6504 002C3464 90 03 00 10 */ stw r0, 0x10(r3) -/* 802C6508 002C3468 80 83 00 08 */ lwz r4, 8(r3) -/* 802C650C 002C346C 4B FF FE D5 */ bl nullsub_7 -/* 802C6510 002C3470 3C 80 80 3D */ lis r4, lbl_803D68C8@ha -/* 802C6514 002C3474 38 60 00 DC */ li r3, 0xdc -/* 802C6518 002C3478 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l -/* 802C651C 002C347C 38 A0 00 00 */ li r5, 0 -/* 802C6520 002C3480 48 04 F3 4D */ bl __nw__FUlPCcPCc -/* 802C6524 002C3484 7C 64 1B 79 */ or. r4, r3, r3 -/* 802C6528 002C3488 41 82 00 0C */ beq lbl_802C6534 -/* 802C652C 002C348C 48 03 D8 4D */ bl __ct__18CTextExecuteBufferFv -/* 802C6530 002C3490 7C 64 1B 78 */ mr r4, r3 -lbl_802C6534: -/* 802C6534 002C3494 38 7D 00 0C */ addi r3, r29, 0xc -/* 802C6538 002C3498 48 00 00 69 */ bl sub_802c65a0 -/* 802C653C 002C349C 3C 80 80 3D */ lis r4, lbl_803D68C8@ha -/* 802C6540 002C34A0 38 60 00 04 */ li r3, 4 -/* 802C6544 002C34A4 38 84 68 C8 */ addi r4, r4, lbl_803D68C8@l -/* 802C6548 002C34A8 38 A0 00 00 */ li r5, 0 -/* 802C654C 002C34AC 48 04 F3 21 */ bl __nw__FUlPCcPCc -/* 802C6550 002C34B0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802C6554 002C34B4 41 82 00 10 */ beq lbl_802C6564 -/* 802C6558 002C34B8 7F C4 F3 78 */ mr r4, r30 -/* 802C655C 002C34BC 48 03 F3 45 */ bl __ct__11CTextParserFR12IObjectStore -/* 802C6560 002C34C0 7C 7F 1B 78 */ mr r31, r3 -lbl_802C6564: -/* 802C6564 002C34C4 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 802C6568 002C34C8 48 04 F3 C9 */ bl Free__7CMemoryFPCv -/* 802C656C 002C34CC 93 FD 00 10 */ stw r31, 0x10(r29) -/* 802C6570 002C34D0 7F A3 EB 78 */ mr r3, r29 -/* 802C6574 002C34D4 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 802C6578 002C34D8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 802C657C 002C34DC 90 0D A6 48 */ stw r0, lbl_805A9208@sda21(r13) -/* 802C6580 002C34E0 90 8D A6 4C */ stw r4, lbl_805A920C@sda21(r13) -/* 802C6584 002C34E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C6588 002C34E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C658C 002C34EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C6590 002C34F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C6594 002C34F4 7C 08 03 A6 */ mtlr r0 -/* 802C6598 002C34F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C659C 002C34FC 4E 80 00 20 */ blr - -.global sub_802c65a0 -sub_802c65a0: -/* 802C65A0 002C3500 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C65A4 002C3504 7C 08 02 A6 */ mflr r0 -/* 802C65A8 002C3508 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C65AC 002C350C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C65B0 002C3510 7C 9F 23 78 */ mr r31, r4 -/* 802C65B4 002C3514 38 80 00 01 */ li r4, 1 -/* 802C65B8 002C3518 93 C1 00 08 */ stw r30, 8(r1) -/* 802C65BC 002C351C 7C 7E 1B 78 */ mr r30, r3 -/* 802C65C0 002C3520 80 63 00 00 */ lwz r3, 0(r3) -/* 802C65C4 002C3524 4B D6 26 F1 */ bl __dt__18CTextExecuteBufferFv -/* 802C65C8 002C3528 93 FE 00 00 */ stw r31, 0(r30) -/* 802C65CC 002C352C 7F C3 F3 78 */ mr r3, r30 -/* 802C65D0 002C3530 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C65D4 002C3534 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C65D8 002C3538 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C65DC 002C353C 7C 08 03 A6 */ mtlr r0 -/* 802C65E0 002C3540 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C65E4 002C3544 4E 80 00 20 */ blr - -.global AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget -AddWorkerWidget__14CGuiTableGroupFP10CGuiWidget: -/* 802C65E8 002C3548 38 60 00 01 */ li r3, 1 -/* 802C65EC 002C354C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__14CGuiTableGroupCFv -GetWidgetTypeID__14CGuiTableGroupCFv: -/* 802C65F0 002C3550 3C 60 54 42 */ lis r3, 0x54424750@ha -/* 802C65F4 002C3554 38 63 47 50 */ addi r3, r3, 0x54424750@l -/* 802C65F8 002C3558 4E 80 00 20 */ blr - -.global SetColors__14CGuiTableGroupCFRC6CColorRC6CColor -SetColors__14CGuiTableGroupCFRC6CColorRC6CColor: -/* 802C65FC 002C355C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C6600 002C3560 7C 08 02 A6 */ mflr r0 -/* 802C6604 002C3564 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C6608 002C3568 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802C660C 002C356C 7C 7B 1B 78 */ mr r27, r3 -/* 802C6610 002C3570 7C 9C 23 78 */ mr r28, r4 -/* 802C6614 002C3574 7C BD 2B 78 */ mr r29, r5 -/* 802C6618 002C3578 3B C0 00 00 */ li r30, 0 -/* 802C661C 002C357C 83 E3 00 C4 */ lwz r31, 0xc4(r3) -lbl_802C6620: -/* 802C6620 002C3580 7F 63 DB 78 */ mr r3, r27 -/* 802C6624 002C3584 7F C4 F3 78 */ mr r4, r30 -/* 802C6628 002C3588 81 9B 00 00 */ lwz r12, 0(r27) -/* 802C662C 002C358C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C6630 002C3590 7D 89 03 A6 */ mtctr r12 -/* 802C6634 002C3594 4E 80 04 21 */ bctrl -/* 802C6638 002C3598 28 03 00 00 */ cmplwi r3, 0 -/* 802C663C 002C359C 41 82 00 24 */ beq lbl_802C6660 -/* 802C6640 002C35A0 7C 1E F8 00 */ cmpw r30, r31 -/* 802C6644 002C35A4 40 82 00 0C */ bne lbl_802C6650 -/* 802C6648 002C35A8 7F 84 E3 78 */ mr r4, r28 -/* 802C664C 002C35AC 48 00 00 08 */ b lbl_802C6654 -lbl_802C6650: -/* 802C6650 002C35B0 7F A4 EB 78 */ mr r4, r29 -lbl_802C6654: -/* 802C6654 002C35B4 48 00 42 19 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 802C6658 002C35B8 3B DE 00 01 */ addi r30, r30, 1 -/* 802C665C 002C35BC 4B FF FF C4 */ b lbl_802C6620 -lbl_802C6660: -/* 802C6660 002C35C0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802C6664 002C35C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C6668 002C35C8 7C 08 03 A6 */ mtlr r0 -/* 802C666C 002C35CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C6670 002C35D0 4E 80 00 20 */ blr - -.global DecrementSelectedRow__14CGuiTableGroupFv -DecrementSelectedRow__14CGuiTableGroupFv: -/* 802C6674 002C35D4 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 802C6678 002C35D8 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 802C667C 002C35DC 80 83 00 C4 */ lwz r4, 0xc4(r3) -/* 802C6680 002C35E0 34 04 FF FF */ addic. r0, r4, -1 -/* 802C6684 002C35E4 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 802C6688 002C35E8 40 80 00 40 */ bge lbl_802C66C8 -/* 802C668C 002C35EC 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C6690 002C35F0 28 00 00 00 */ cmplwi r0, 0 -/* 802C6694 002C35F4 41 82 00 10 */ beq lbl_802C66A4 -/* 802C6698 002C35F8 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802C669C 002C35FC 38 04 FF FF */ addi r0, r4, -1 -/* 802C66A0 002C3600 48 00 00 08 */ b lbl_802C66A8 -lbl_802C66A4: -/* 802C66A4 002C3604 38 00 00 00 */ li r0, 0 -lbl_802C66A8: -/* 802C66A8 002C3608 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 802C66AC 002C360C 38 80 00 01 */ li r4, 1 -/* 802C66B0 002C3610 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C66B4 002C3614 28 00 00 00 */ cmplwi r0, 0 -/* 802C66B8 002C3618 41 82 00 08 */ beq lbl_802C66C0 -/* 802C66BC 002C361C 38 80 00 02 */ li r4, 2 -lbl_802C66C0: -/* 802C66C0 002C3620 7C 83 23 78 */ mr r3, r4 -/* 802C66C4 002C3624 4E 80 00 20 */ blr -lbl_802C66C8: -/* 802C66C8 002C3628 38 60 00 00 */ li r3, 0 -/* 802C66CC 002C362C 4E 80 00 20 */ blr - -.global IncrementSelectedRow__14CGuiTableGroupFv -IncrementSelectedRow__14CGuiTableGroupFv: -/* 802C66D0 002C3630 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 802C66D4 002C3634 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 802C66D8 002C3638 80 83 00 C4 */ lwz r4, 0xc4(r3) -/* 802C66DC 002C363C 38 04 00 01 */ addi r0, r4, 1 -/* 802C66E0 002C3640 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 802C66E4 002C3644 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802C66E8 002C3648 7C 00 20 00 */ cmpw r0, r4 -/* 802C66EC 002C364C 41 80 00 3C */ blt lbl_802C6728 -/* 802C66F0 002C3650 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C66F4 002C3654 28 00 00 00 */ cmplwi r0, 0 -/* 802C66F8 002C3658 41 82 00 0C */ beq lbl_802C6704 -/* 802C66FC 002C365C 38 00 00 00 */ li r0, 0 -/* 802C6700 002C3660 48 00 00 08 */ b lbl_802C6708 -lbl_802C6704: -/* 802C6704 002C3664 38 04 FF FF */ addi r0, r4, -1 -lbl_802C6708: -/* 802C6708 002C3668 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 802C670C 002C366C 38 80 00 01 */ li r4, 1 -/* 802C6710 002C3670 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C6714 002C3674 28 00 00 00 */ cmplwi r0, 0 -/* 802C6718 002C3678 41 82 00 08 */ beq lbl_802C6720 -/* 802C671C 002C367C 38 80 00 02 */ li r4, 2 -lbl_802C6720: -/* 802C6720 002C3680 7C 83 23 78 */ mr r3, r4 -/* 802C6724 002C3684 4E 80 00 20 */ blr -lbl_802C6728: -/* 802C6728 002C3688 38 60 00 00 */ li r3, 0 -/* 802C672C 002C368C 4E 80 00 20 */ blr - -.global DeactivateWorker__14CGuiTableGroupFP10CGuiWidget -DeactivateWorker__14CGuiTableGroupFP10CGuiWidget: -/* 802C6730 002C3690 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6734 002C3694 7C 08 02 A6 */ mflr r0 -/* 802C6738 002C3698 7C 83 23 78 */ mr r3, r4 -/* 802C673C 002C369C 38 80 00 00 */ li r4, 0 -/* 802C6740 002C36A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C6744 002C36A4 48 00 3E A1 */ bl SetIsActive__10CGuiWidgetFb -/* 802C6748 002C36A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C674C 002C36AC 7C 08 03 A6 */ mtlr r0 -/* 802C6750 002C36B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C6754 002C36B4 4E 80 00 20 */ blr - -.global ActivateWorker__14CGuiTableGroupFP10CGuiWidget -ActivateWorker__14CGuiTableGroupFP10CGuiWidget: -/* 802C6758 002C36B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C675C 002C36BC 7C 08 02 A6 */ mflr r0 -/* 802C6760 002C36C0 7C 83 23 78 */ mr r3, r4 -/* 802C6764 002C36C4 38 80 00 01 */ li r4, 1 -/* 802C6768 002C36C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C676C 002C36CC 48 00 3E 79 */ bl SetIsActive__10CGuiWidgetFb -/* 802C6770 002C36D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6774 002C36D4 7C 08 03 A6 */ mtlr r0 -/* 802C6778 002C36D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C677C 002C36DC 4E 80 00 20 */ blr - -.global OnActivate__14CGuiTableGroupFb -OnActivate__14CGuiTableGroupFb: -/* 802C6780 002C36E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6784 002C36E4 7C 08 02 A6 */ mflr r0 -/* 802C6788 002C36E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C678C 002C36EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C6790 002C36F0 93 C1 00 08 */ stw r30, 8(r1) -/* 802C6794 002C36F4 7C 7E 1B 78 */ mr r30, r3 -/* 802C6798 002C36F8 48 00 3E 45 */ bl OnActivate__10CGuiWidgetFv -/* 802C679C 002C36FC 7F C3 F3 78 */ mr r3, r30 -/* 802C67A0 002C3700 80 9E 00 C4 */ lwz r4, 0xc4(r30) -/* 802C67A4 002C3704 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C67A8 002C3708 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C67AC 002C370C 7D 89 03 A6 */ mtctr r12 -/* 802C67B0 002C3710 4E 80 04 21 */ bctrl -/* 802C67B4 002C3714 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C67B8 002C3718 7C 7F 1B 78 */ mr r31, r3 -/* 802C67BC 002C371C 7F C3 F3 78 */ mr r3, r30 -/* 802C67C0 002C3720 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802C67C4 002C3724 7D 89 03 A6 */ mtctr r12 -/* 802C67C8 002C3728 4E 80 04 21 */ bctrl -/* 802C67CC 002C372C 7C 64 1B 78 */ mr r4, r3 -/* 802C67D0 002C3730 7F E3 FB 78 */ mr r3, r31 -/* 802C67D4 002C3734 48 00 3E 11 */ bl SetIsActive__10CGuiWidgetFb -/* 802C67D8 002C3738 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C67DC 002C373C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C67E0 002C3740 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C67E4 002C3744 7C 08 03 A6 */ mtlr r0 -/* 802C67E8 002C3748 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C67EC 002C374C 4E 80 00 20 */ blr - -.global "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" -"SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3": -/* 802C67F0 002C3750 80 04 00 00 */ lwz r0, 0(r4) -/* 802C67F4 002C3754 90 03 01 04 */ stw r0, 0x104(r3) -/* 802C67F8 002C3758 80 04 00 04 */ lwz r0, 4(r4) -/* 802C67FC 002C375C 90 03 01 08 */ stw r0, 0x108(r3) -/* 802C6800 002C3760 80 A4 00 08 */ lwz r5, 8(r4) -/* 802C6804 002C3764 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C6808 002C3768 90 A3 01 0C */ stw r5, 0x10c(r3) -/* 802C680C 002C376C 90 03 01 10 */ stw r0, 0x110(r3) -/* 802C6810 002C3770 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 802C6814 002C3774 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802C6818 002C3778 90 A3 01 14 */ stw r5, 0x114(r3) -/* 802C681C 002C377C 90 03 01 18 */ stw r0, 0x118(r3) -/* 802C6820 002C3780 4E 80 00 20 */ blr - -.global "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" -"SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1": -/* 802C6824 002C3784 80 04 00 00 */ lwz r0, 0(r4) -/* 802C6828 002C3788 90 03 00 EC */ stw r0, 0xec(r3) -/* 802C682C 002C378C 80 04 00 04 */ lwz r0, 4(r4) -/* 802C6830 002C3790 90 03 00 F0 */ stw r0, 0xf0(r3) -/* 802C6834 002C3794 80 A4 00 08 */ lwz r5, 8(r4) -/* 802C6838 002C3798 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C683C 002C379C 90 A3 00 F4 */ stw r5, 0xf4(r3) -/* 802C6840 002C37A0 90 03 00 F8 */ stw r0, 0xf8(r3) -/* 802C6844 002C37A4 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 802C6848 002C37A8 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802C684C 002C37AC 90 A3 00 FC */ stw r5, 0xfc(r3) -/* 802C6850 002C37B0 90 03 01 00 */ stw r0, 0x100(r3) -/* 802C6854 002C37B4 4E 80 00 20 */ blr - -.global "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" -"SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1": -/* 802C6858 002C37B8 80 04 00 00 */ lwz r0, 0(r4) -/* 802C685C 002C37BC 90 03 00 D4 */ stw r0, 0xd4(r3) -/* 802C6860 002C37C0 80 04 00 04 */ lwz r0, 4(r4) -/* 802C6864 002C37C4 90 03 00 D8 */ stw r0, 0xd8(r3) -/* 802C6868 002C37C8 80 A4 00 08 */ lwz r5, 8(r4) -/* 802C686C 002C37CC 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C6870 002C37D0 90 A3 00 DC */ stw r5, 0xdc(r3) -/* 802C6874 002C37D4 90 03 00 E0 */ stw r0, 0xe0(r3) -/* 802C6878 002C37D8 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 802C687C 002C37DC 80 04 00 14 */ lwz r0, 0x14(r4) -/* 802C6880 002C37E0 90 A3 00 E4 */ stw r5, 0xe4(r3) -/* 802C6884 002C37E4 90 03 00 E8 */ stw r0, 0xe8(r3) -/* 802C6888 002C37E8 4E 80 00 20 */ blr - -.global DoCancel__14CGuiTableGroupFv -DoCancel__14CGuiTableGroupFv: -/* 802C688C 002C37EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6890 002C37F0 7C 08 02 A6 */ mflr r0 -/* 802C6894 002C37F4 38 80 00 00 */ li r4, 0 -/* 802C6898 002C37F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C689C 002C37FC 38 00 00 02 */ li r0, 2 -/* 802C68A0 002C3800 7C 09 03 A6 */ mtctr r0 -lbl_802C68A4: -/* 802C68A4 002C3804 38 04 00 F4 */ addi r0, r4, 0xf4 -/* 802C68A8 002C3808 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C68AC 002C380C 7C 00 07 75 */ extsb. r0, r0 -/* 802C68B0 002C3810 41 82 00 0C */ beq lbl_802C68BC -/* 802C68B4 002C3814 38 00 00 00 */ li r0, 0 -/* 802C68B8 002C3818 48 00 00 B8 */ b lbl_802C6970 -lbl_802C68BC: -/* 802C68BC 002C381C 38 04 00 F5 */ addi r0, r4, 0xf5 -/* 802C68C0 002C3820 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C68C4 002C3824 7C 00 07 75 */ extsb. r0, r0 -/* 802C68C8 002C3828 41 82 00 0C */ beq lbl_802C68D4 -/* 802C68CC 002C382C 38 00 00 00 */ li r0, 0 -/* 802C68D0 002C3830 48 00 00 A0 */ b lbl_802C6970 -lbl_802C68D4: -/* 802C68D4 002C3834 38 04 00 F6 */ addi r0, r4, 0xf6 -/* 802C68D8 002C3838 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C68DC 002C383C 7C 00 07 75 */ extsb. r0, r0 -/* 802C68E0 002C3840 41 82 00 0C */ beq lbl_802C68EC -/* 802C68E4 002C3844 38 00 00 00 */ li r0, 0 -/* 802C68E8 002C3848 48 00 00 88 */ b lbl_802C6970 -lbl_802C68EC: -/* 802C68EC 002C384C 38 04 00 F7 */ addi r0, r4, 0xf7 -/* 802C68F0 002C3850 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C68F4 002C3854 7C 00 07 75 */ extsb. r0, r0 -/* 802C68F8 002C3858 41 82 00 0C */ beq lbl_802C6904 -/* 802C68FC 002C385C 38 00 00 00 */ li r0, 0 -/* 802C6900 002C3860 48 00 00 70 */ b lbl_802C6970 -lbl_802C6904: -/* 802C6904 002C3864 38 04 00 F8 */ addi r0, r4, 0xf8 -/* 802C6908 002C3868 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C690C 002C386C 7C 00 07 75 */ extsb. r0, r0 -/* 802C6910 002C3870 41 82 00 0C */ beq lbl_802C691C -/* 802C6914 002C3874 38 00 00 00 */ li r0, 0 -/* 802C6918 002C3878 48 00 00 58 */ b lbl_802C6970 -lbl_802C691C: -/* 802C691C 002C387C 38 04 00 F9 */ addi r0, r4, 0xf9 -/* 802C6920 002C3880 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6924 002C3884 7C 00 07 75 */ extsb. r0, r0 -/* 802C6928 002C3888 41 82 00 0C */ beq lbl_802C6934 -/* 802C692C 002C388C 38 00 00 00 */ li r0, 0 -/* 802C6930 002C3890 48 00 00 40 */ b lbl_802C6970 -lbl_802C6934: -/* 802C6934 002C3894 38 04 00 FA */ addi r0, r4, 0xfa -/* 802C6938 002C3898 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C693C 002C389C 7C 00 07 75 */ extsb. r0, r0 -/* 802C6940 002C38A0 41 82 00 0C */ beq lbl_802C694C -/* 802C6944 002C38A4 38 00 00 00 */ li r0, 0 -/* 802C6948 002C38A8 48 00 00 28 */ b lbl_802C6970 -lbl_802C694C: -/* 802C694C 002C38AC 38 04 00 FB */ addi r0, r4, 0xfb -/* 802C6950 002C38B0 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6954 002C38B4 7C 00 07 75 */ extsb. r0, r0 -/* 802C6958 002C38B8 41 82 00 0C */ beq lbl_802C6964 -/* 802C695C 002C38BC 38 00 00 00 */ li r0, 0 -/* 802C6960 002C38C0 48 00 00 10 */ b lbl_802C6970 -lbl_802C6964: -/* 802C6964 002C38C4 38 84 00 08 */ addi r4, r4, 8 -/* 802C6968 002C38C8 42 00 FF 3C */ bdnz lbl_802C68A4 -/* 802C696C 002C38CC 38 00 00 01 */ li r0, 1 -lbl_802C6970: -/* 802C6970 002C38D0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C6974 002C38D4 40 82 00 1C */ bne lbl_802C6990 -/* 802C6978 002C38D8 81 83 00 EC */ lwz r12, 0xec(r3) -/* 802C697C 002C38DC 7C 65 1B 78 */ mr r5, r3 -/* 802C6980 002C38E0 38 83 00 F4 */ addi r4, r3, 0xf4 -/* 802C6984 002C38E4 80 63 00 F0 */ lwz r3, 0xf0(r3) -/* 802C6988 002C38E8 7D 89 03 A6 */ mtctr r12 -/* 802C698C 002C38EC 4E 80 04 21 */ bctrl -lbl_802C6990: -/* 802C6990 002C38F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6994 002C38F4 38 60 00 01 */ li r3, 1 -/* 802C6998 002C38F8 7C 08 03 A6 */ mtlr r0 -/* 802C699C 002C38FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C69A0 002C3900 4E 80 00 20 */ blr - -.global DoAdvance__14CGuiTableGroupFv -DoAdvance__14CGuiTableGroupFv: -/* 802C69A4 002C3904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C69A8 002C3908 7C 08 02 A6 */ mflr r0 -/* 802C69AC 002C390C 38 80 00 00 */ li r4, 0 -/* 802C69B0 002C3910 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C69B4 002C3914 38 00 00 02 */ li r0, 2 -/* 802C69B8 002C3918 7C 09 03 A6 */ mtctr r0 -lbl_802C69BC: -/* 802C69BC 002C391C 38 04 00 DC */ addi r0, r4, 0xdc -/* 802C69C0 002C3920 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C69C4 002C3924 7C 00 07 75 */ extsb. r0, r0 -/* 802C69C8 002C3928 41 82 00 0C */ beq lbl_802C69D4 -/* 802C69CC 002C392C 38 00 00 00 */ li r0, 0 -/* 802C69D0 002C3930 48 00 00 B8 */ b lbl_802C6A88 -lbl_802C69D4: -/* 802C69D4 002C3934 38 04 00 DD */ addi r0, r4, 0xdd -/* 802C69D8 002C3938 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C69DC 002C393C 7C 00 07 75 */ extsb. r0, r0 -/* 802C69E0 002C3940 41 82 00 0C */ beq lbl_802C69EC -/* 802C69E4 002C3944 38 00 00 00 */ li r0, 0 -/* 802C69E8 002C3948 48 00 00 A0 */ b lbl_802C6A88 -lbl_802C69EC: -/* 802C69EC 002C394C 38 04 00 DE */ addi r0, r4, 0xde -/* 802C69F0 002C3950 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C69F4 002C3954 7C 00 07 75 */ extsb. r0, r0 -/* 802C69F8 002C3958 41 82 00 0C */ beq lbl_802C6A04 -/* 802C69FC 002C395C 38 00 00 00 */ li r0, 0 -/* 802C6A00 002C3960 48 00 00 88 */ b lbl_802C6A88 -lbl_802C6A04: -/* 802C6A04 002C3964 38 04 00 DF */ addi r0, r4, 0xdf -/* 802C6A08 002C3968 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6A0C 002C396C 7C 00 07 75 */ extsb. r0, r0 -/* 802C6A10 002C3970 41 82 00 0C */ beq lbl_802C6A1C -/* 802C6A14 002C3974 38 00 00 00 */ li r0, 0 -/* 802C6A18 002C3978 48 00 00 70 */ b lbl_802C6A88 -lbl_802C6A1C: -/* 802C6A1C 002C397C 38 04 00 E0 */ addi r0, r4, 0xe0 -/* 802C6A20 002C3980 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6A24 002C3984 7C 00 07 75 */ extsb. r0, r0 -/* 802C6A28 002C3988 41 82 00 0C */ beq lbl_802C6A34 -/* 802C6A2C 002C398C 38 00 00 00 */ li r0, 0 -/* 802C6A30 002C3990 48 00 00 58 */ b lbl_802C6A88 -lbl_802C6A34: -/* 802C6A34 002C3994 38 04 00 E1 */ addi r0, r4, 0xe1 -/* 802C6A38 002C3998 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6A3C 002C399C 7C 00 07 75 */ extsb. r0, r0 -/* 802C6A40 002C39A0 41 82 00 0C */ beq lbl_802C6A4C -/* 802C6A44 002C39A4 38 00 00 00 */ li r0, 0 -/* 802C6A48 002C39A8 48 00 00 40 */ b lbl_802C6A88 -lbl_802C6A4C: -/* 802C6A4C 002C39AC 38 04 00 E2 */ addi r0, r4, 0xe2 -/* 802C6A50 002C39B0 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6A54 002C39B4 7C 00 07 75 */ extsb. r0, r0 -/* 802C6A58 002C39B8 41 82 00 0C */ beq lbl_802C6A64 -/* 802C6A5C 002C39BC 38 00 00 00 */ li r0, 0 -/* 802C6A60 002C39C0 48 00 00 28 */ b lbl_802C6A88 -lbl_802C6A64: -/* 802C6A64 002C39C4 38 04 00 E3 */ addi r0, r4, 0xe3 -/* 802C6A68 002C39C8 7C 03 00 AE */ lbzx r0, r3, r0 -/* 802C6A6C 002C39CC 7C 00 07 75 */ extsb. r0, r0 -/* 802C6A70 002C39D0 41 82 00 0C */ beq lbl_802C6A7C -/* 802C6A74 002C39D4 38 00 00 00 */ li r0, 0 -/* 802C6A78 002C39D8 48 00 00 10 */ b lbl_802C6A88 -lbl_802C6A7C: -/* 802C6A7C 002C39DC 38 84 00 08 */ addi r4, r4, 8 -/* 802C6A80 002C39E0 42 00 FF 3C */ bdnz lbl_802C69BC -/* 802C6A84 002C39E4 38 00 00 01 */ li r0, 1 -lbl_802C6A88: -/* 802C6A88 002C39E8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C6A8C 002C39EC 40 82 00 1C */ bne lbl_802C6AA8 -/* 802C6A90 002C39F0 81 83 00 D4 */ lwz r12, 0xd4(r3) -/* 802C6A94 002C39F4 7C 65 1B 78 */ mr r5, r3 -/* 802C6A98 002C39F8 38 83 00 DC */ addi r4, r3, 0xdc -/* 802C6A9C 002C39FC 80 63 00 D8 */ lwz r3, 0xd8(r3) -/* 802C6AA0 002C3A00 7D 89 03 A6 */ mtctr r12 -/* 802C6AA4 002C3A04 4E 80 04 21 */ bctrl -lbl_802C6AA8: -/* 802C6AA8 002C3A08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6AAC 002C3A0C 38 60 00 01 */ li r3, 1 -/* 802C6AB0 002C3A10 7C 08 03 A6 */ mtlr r0 -/* 802C6AB4 002C3A14 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C6AB8 002C3A18 4E 80 00 20 */ blr - -.global SelectWorker__14CGuiTableGroupFi -SelectWorker__14CGuiTableGroupFi: -/* 802C6ABC 002C3A1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C6AC0 002C3A20 7C 08 02 A6 */ mflr r0 -/* 802C6AC4 002C3A24 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C6AC8 002C3A28 38 A1 00 0C */ addi r5, r1, 0xc -/* 802C6ACC 002C3A2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C6AD0 002C3A30 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C6AD4 002C3A34 7C 7E 1B 78 */ mr r30, r3 -/* 802C6AD8 002C3A38 80 C3 00 C0 */ lwz r6, 0xc0(r3) -/* 802C6ADC 002C3A3C 38 6D 9B 04 */ addi r3, r13, lbl_805A86C4@sda21 -/* 802C6AE0 002C3A40 90 81 00 08 */ stw r4, 8(r1) -/* 802C6AE4 002C3A44 38 81 00 08 */ addi r4, r1, 8 -/* 802C6AE8 002C3A48 38 06 FF FF */ addi r0, r6, -1 -/* 802C6AEC 002C3A4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802C6AF0 002C3A50 4B D9 35 75 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 802C6AF4 002C3A54 83 E3 00 00 */ lwz r31, 0(r3) -/* 802C6AF8 002C3A58 80 1E 00 C4 */ lwz r0, 0xc4(r30) -/* 802C6AFC 002C3A5C 7C 1F 00 00 */ cmpw r31, r0 -/* 802C6B00 002C3A60 40 80 00 2C */ bge lbl_802C6B2C -/* 802C6B04 002C3A64 48 00 00 0C */ b lbl_802C6B10 -lbl_802C6B08: -/* 802C6B08 002C3A68 7F C3 F3 78 */ mr r3, r30 -/* 802C6B0C 002C3A6C 48 00 05 31 */ bl DoSelectPrevRow__14CGuiTableGroupFv -lbl_802C6B10: -/* 802C6B10 002C3A70 80 1E 00 C4 */ lwz r0, 0xc4(r30) -/* 802C6B14 002C3A74 7C 1F 00 00 */ cmpw r31, r0 -/* 802C6B18 002C3A78 40 82 FF F0 */ bne lbl_802C6B08 -/* 802C6B1C 002C3A7C 48 00 00 1C */ b lbl_802C6B38 -/* 802C6B20 002C3A80 48 00 00 0C */ b lbl_802C6B2C -lbl_802C6B24: -/* 802C6B24 002C3A84 7F C3 F3 78 */ mr r3, r30 -/* 802C6B28 002C3A88 48 00 05 89 */ bl DoSelectNextRow__14CGuiTableGroupFv -lbl_802C6B2C: -/* 802C6B2C 002C3A8C 80 1E 00 C4 */ lwz r0, 0xc4(r30) -/* 802C6B30 002C3A90 7C 1F 00 00 */ cmpw r31, r0 -/* 802C6B34 002C3A94 40 82 FF F0 */ bne lbl_802C6B24 -lbl_802C6B38: -/* 802C6B38 002C3A98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C6B3C 002C3A9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C6B40 002C3AA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C6B44 002C3AA4 7C 08 03 A6 */ mtlr r0 -/* 802C6B48 002C3AA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C6B4C 002C3AAC 4E 80 00 20 */ blr - -.global PreDecrement__14CGuiTableGroupFv -PreDecrement__14CGuiTableGroupFv: -/* 802C6B50 002C3AB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C6B54 002C3AB4 7C 08 02 A6 */ mflr r0 -/* 802C6B58 002C3AB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C6B5C 002C3ABC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C6B60 002C3AC0 7C 7F 1B 78 */ mr r31, r3 -/* 802C6B64 002C3AC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C6B68 002C3AC8 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C6B6C 002C3ACC 28 00 00 00 */ cmplwi r0, 0 -/* 802C6B70 002C3AD0 41 82 00 74 */ beq lbl_802C6BE4 -/* 802C6B74 002C3AD4 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802C6B78 002C3AD8 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 802C6B7C 002C3ADC 38 04 FF FF */ addi r0, r4, -1 -/* 802C6B80 002C3AE0 7C 63 02 14 */ add r3, r3, r0 -/* 802C6B84 002C3AE4 7C 03 23 D6 */ divw r0, r3, r4 -/* 802C6B88 002C3AE8 7C 00 21 D6 */ mullw r0, r0, r4 -/* 802C6B8C 002C3AEC 7F C0 18 50 */ subf r30, r0, r3 -/* 802C6B90 002C3AF0 48 00 00 44 */ b lbl_802C6BD4 -lbl_802C6B94: -/* 802C6B94 002C3AF4 7F E3 FB 78 */ mr r3, r31 -/* 802C6B98 002C3AF8 7F C4 F3 78 */ mr r4, r30 -/* 802C6B9C 002C3AFC 48 00 03 15 */ bl IsWorkerSelectable__14CGuiTableGroupFi -/* 802C6BA0 002C3B00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6BA4 002C3B04 41 82 00 18 */ beq lbl_802C6BBC -/* 802C6BA8 002C3B08 7F E3 FB 78 */ mr r3, r31 -/* 802C6BAC 002C3B0C 7F C4 F3 78 */ mr r4, r30 -/* 802C6BB0 002C3B10 4B FF FF 0D */ bl SelectWorker__14CGuiTableGroupFi -/* 802C6BB4 002C3B14 38 60 00 01 */ li r3, 1 -/* 802C6BB8 002C3B18 48 00 00 8C */ b lbl_802C6C44 -lbl_802C6BBC: -/* 802C6BBC 002C3B1C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802C6BC0 002C3B20 38 04 FF FF */ addi r0, r4, -1 -/* 802C6BC4 002C3B24 7C 7E 02 14 */ add r3, r30, r0 -/* 802C6BC8 002C3B28 7C 03 23 D6 */ divw r0, r3, r4 -/* 802C6BCC 002C3B2C 7C 00 21 D6 */ mullw r0, r0, r4 -/* 802C6BD0 002C3B30 7F C0 18 50 */ subf r30, r0, r3 -lbl_802C6BD4: -/* 802C6BD4 002C3B34 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 802C6BD8 002C3B38 7C 1E 00 00 */ cmpw r30, r0 -/* 802C6BDC 002C3B3C 40 82 FF B8 */ bne lbl_802C6B94 -/* 802C6BE0 002C3B40 48 00 00 60 */ b lbl_802C6C40 -lbl_802C6BE4: -/* 802C6BE4 002C3B44 80 9F 00 C4 */ lwz r4, 0xc4(r31) -/* 802C6BE8 002C3B48 38 6D 9B 00 */ addi r3, r13, lbl_805A86C0@sda21 -/* 802C6BEC 002C3B4C 80 0D 9B 00 */ lwz r0, lbl_805A86C0@sda21(r13) -/* 802C6BF0 002C3B50 38 84 FF FF */ addi r4, r4, -1 -/* 802C6BF4 002C3B54 7C 00 20 00 */ cmpw r0, r4 -/* 802C6BF8 002C3B58 90 81 00 08 */ stw r4, 8(r1) -/* 802C6BFC 002C3B5C 40 80 00 08 */ bge lbl_802C6C04 -/* 802C6C00 002C3B60 38 61 00 08 */ addi r3, r1, 8 -lbl_802C6C04: -/* 802C6C04 002C3B64 83 C3 00 00 */ lwz r30, 0(r3) -/* 802C6C08 002C3B68 48 00 00 30 */ b lbl_802C6C38 -lbl_802C6C0C: -/* 802C6C0C 002C3B6C 7F E3 FB 78 */ mr r3, r31 -/* 802C6C10 002C3B70 7F C4 F3 78 */ mr r4, r30 -/* 802C6C14 002C3B74 48 00 02 9D */ bl IsWorkerSelectable__14CGuiTableGroupFi -/* 802C6C18 002C3B78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6C1C 002C3B7C 41 82 00 18 */ beq lbl_802C6C34 -/* 802C6C20 002C3B80 7F E3 FB 78 */ mr r3, r31 -/* 802C6C24 002C3B84 7F C4 F3 78 */ mr r4, r30 -/* 802C6C28 002C3B88 4B FF FE 95 */ bl SelectWorker__14CGuiTableGroupFi -/* 802C6C2C 002C3B8C 38 60 00 01 */ li r3, 1 -/* 802C6C30 002C3B90 48 00 00 14 */ b lbl_802C6C44 -lbl_802C6C34: -/* 802C6C34 002C3B94 3B DE FF FF */ addi r30, r30, -1 -lbl_802C6C38: -/* 802C6C38 002C3B98 2C 1E 00 00 */ cmpwi r30, 0 -/* 802C6C3C 002C3B9C 40 80 FF D0 */ bge lbl_802C6C0C -lbl_802C6C40: -/* 802C6C40 002C3BA0 38 60 00 00 */ li r3, 0 -lbl_802C6C44: -/* 802C6C44 002C3BA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C6C48 002C3BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C6C4C 002C3BAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C6C50 002C3BB0 7C 08 03 A6 */ mtlr r0 -/* 802C6C54 002C3BB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C6C58 002C3BB8 4E 80 00 20 */ blr - -.global DoDecrement__14CGuiTableGroupFv -DoDecrement__14CGuiTableGroupFv: -/* 802C6C5C 002C3BBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6C60 002C3BC0 7C 08 02 A6 */ mflr r0 -/* 802C6C64 002C3BC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C6C68 002C3BC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C6C6C 002C3BCC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C6C70 002C3BD0 7C 7E 1B 78 */ mr r30, r3 -/* 802C6C74 002C3BD4 83 E3 00 C4 */ lwz r31, 0xc4(r3) -/* 802C6C78 002C3BD8 4B FF FE D9 */ bl PreDecrement__14CGuiTableGroupFv -/* 802C6C7C 002C3BDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6C80 002C3BE0 41 82 01 08 */ beq lbl_802C6D88 -/* 802C6C84 002C3BE4 38 00 00 02 */ li r0, 2 -/* 802C6C88 002C3BE8 38 60 00 00 */ li r3, 0 -/* 802C6C8C 002C3BEC 7C 09 03 A6 */ mtctr r0 -lbl_802C6C90: -/* 802C6C90 002C3BF0 38 03 01 0C */ addi r0, r3, 0x10c -/* 802C6C94 002C3BF4 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6C98 002C3BF8 7C 00 07 75 */ extsb. r0, r0 -/* 802C6C9C 002C3BFC 41 82 00 0C */ beq lbl_802C6CA8 -/* 802C6CA0 002C3C00 38 00 00 00 */ li r0, 0 -/* 802C6CA4 002C3C04 48 00 00 B8 */ b lbl_802C6D5C -lbl_802C6CA8: -/* 802C6CA8 002C3C08 38 03 01 0D */ addi r0, r3, 0x10d -/* 802C6CAC 002C3C0C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6CB0 002C3C10 7C 00 07 75 */ extsb. r0, r0 -/* 802C6CB4 002C3C14 41 82 00 0C */ beq lbl_802C6CC0 -/* 802C6CB8 002C3C18 38 00 00 00 */ li r0, 0 -/* 802C6CBC 002C3C1C 48 00 00 A0 */ b lbl_802C6D5C -lbl_802C6CC0: -/* 802C6CC0 002C3C20 38 03 01 0E */ addi r0, r3, 0x10e -/* 802C6CC4 002C3C24 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6CC8 002C3C28 7C 00 07 75 */ extsb. r0, r0 -/* 802C6CCC 002C3C2C 41 82 00 0C */ beq lbl_802C6CD8 -/* 802C6CD0 002C3C30 38 00 00 00 */ li r0, 0 -/* 802C6CD4 002C3C34 48 00 00 88 */ b lbl_802C6D5C -lbl_802C6CD8: -/* 802C6CD8 002C3C38 38 03 01 0F */ addi r0, r3, 0x10f -/* 802C6CDC 002C3C3C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6CE0 002C3C40 7C 00 07 75 */ extsb. r0, r0 -/* 802C6CE4 002C3C44 41 82 00 0C */ beq lbl_802C6CF0 -/* 802C6CE8 002C3C48 38 00 00 00 */ li r0, 0 -/* 802C6CEC 002C3C4C 48 00 00 70 */ b lbl_802C6D5C -lbl_802C6CF0: -/* 802C6CF0 002C3C50 38 03 01 10 */ addi r0, r3, 0x110 -/* 802C6CF4 002C3C54 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6CF8 002C3C58 7C 00 07 75 */ extsb. r0, r0 -/* 802C6CFC 002C3C5C 41 82 00 0C */ beq lbl_802C6D08 -/* 802C6D00 002C3C60 38 00 00 00 */ li r0, 0 -/* 802C6D04 002C3C64 48 00 00 58 */ b lbl_802C6D5C -lbl_802C6D08: -/* 802C6D08 002C3C68 38 03 01 11 */ addi r0, r3, 0x111 -/* 802C6D0C 002C3C6C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6D10 002C3C70 7C 00 07 75 */ extsb. r0, r0 -/* 802C6D14 002C3C74 41 82 00 0C */ beq lbl_802C6D20 -/* 802C6D18 002C3C78 38 00 00 00 */ li r0, 0 -/* 802C6D1C 002C3C7C 48 00 00 40 */ b lbl_802C6D5C -lbl_802C6D20: -/* 802C6D20 002C3C80 38 03 01 12 */ addi r0, r3, 0x112 -/* 802C6D24 002C3C84 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6D28 002C3C88 7C 00 07 75 */ extsb. r0, r0 -/* 802C6D2C 002C3C8C 41 82 00 0C */ beq lbl_802C6D38 -/* 802C6D30 002C3C90 38 00 00 00 */ li r0, 0 -/* 802C6D34 002C3C94 48 00 00 28 */ b lbl_802C6D5C -lbl_802C6D38: -/* 802C6D38 002C3C98 38 03 01 13 */ addi r0, r3, 0x113 -/* 802C6D3C 002C3C9C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6D40 002C3CA0 7C 00 07 75 */ extsb. r0, r0 -/* 802C6D44 002C3CA4 41 82 00 0C */ beq lbl_802C6D50 -/* 802C6D48 002C3CA8 38 00 00 00 */ li r0, 0 -/* 802C6D4C 002C3CAC 48 00 00 10 */ b lbl_802C6D5C -lbl_802C6D50: -/* 802C6D50 002C3CB0 38 63 00 08 */ addi r3, r3, 8 -/* 802C6D54 002C3CB4 42 00 FF 3C */ bdnz lbl_802C6C90 -/* 802C6D58 002C3CB8 38 00 00 01 */ li r0, 1 -lbl_802C6D5C: -/* 802C6D5C 002C3CBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C6D60 002C3CC0 40 82 00 20 */ bne lbl_802C6D80 -/* 802C6D64 002C3CC4 81 9E 01 04 */ lwz r12, 0x104(r30) -/* 802C6D68 002C3CC8 7F C5 F3 78 */ mr r5, r30 -/* 802C6D6C 002C3CCC 7F E6 FB 78 */ mr r6, r31 -/* 802C6D70 002C3CD0 38 9E 01 0C */ addi r4, r30, 0x10c -/* 802C6D74 002C3CD4 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 802C6D78 002C3CD8 7D 89 03 A6 */ mtctr r12 -/* 802C6D7C 002C3CDC 4E 80 04 21 */ bctrl -lbl_802C6D80: -/* 802C6D80 002C3CE0 38 60 00 01 */ li r3, 1 -/* 802C6D84 002C3CE4 48 00 00 08 */ b lbl_802C6D8C -lbl_802C6D88: -/* 802C6D88 002C3CE8 38 60 00 00 */ li r3, 0 -lbl_802C6D8C: -/* 802C6D8C 002C3CEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6D90 002C3CF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C6D94 002C3CF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C6D98 002C3CF8 7C 08 03 A6 */ mtlr r0 -/* 802C6D9C 002C3CFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C6DA0 002C3D00 4E 80 00 20 */ blr - -.global PreIncrement__14CGuiTableGroupFv -PreIncrement__14CGuiTableGroupFv: -/* 802C6DA4 002C3D04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C6DA8 002C3D08 7C 08 02 A6 */ mflr r0 -/* 802C6DAC 002C3D0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C6DB0 002C3D10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C6DB4 002C3D14 7C 7F 1B 78 */ mr r31, r3 -/* 802C6DB8 002C3D18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C6DBC 002C3D1C 88 03 00 D0 */ lbz r0, 0xd0(r3) -/* 802C6DC0 002C3D20 28 00 00 00 */ cmplwi r0, 0 -/* 802C6DC4 002C3D24 41 82 00 6C */ beq lbl_802C6E30 -/* 802C6DC8 002C3D28 80 9F 00 C4 */ lwz r4, 0xc4(r31) -/* 802C6DCC 002C3D2C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C6DD0 002C3D30 38 84 00 01 */ addi r4, r4, 1 -/* 802C6DD4 002C3D34 7C 04 1B D6 */ divw r0, r4, r3 -/* 802C6DD8 002C3D38 7C 00 19 D6 */ mullw r0, r0, r3 -/* 802C6DDC 002C3D3C 7F C0 20 50 */ subf r30, r0, r4 -/* 802C6DE0 002C3D40 48 00 00 40 */ b lbl_802C6E20 -lbl_802C6DE4: -/* 802C6DE4 002C3D44 7F E3 FB 78 */ mr r3, r31 -/* 802C6DE8 002C3D48 7F C4 F3 78 */ mr r4, r30 -/* 802C6DEC 002C3D4C 48 00 00 C5 */ bl IsWorkerSelectable__14CGuiTableGroupFi -/* 802C6DF0 002C3D50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6DF4 002C3D54 41 82 00 18 */ beq lbl_802C6E0C -/* 802C6DF8 002C3D58 7F E3 FB 78 */ mr r3, r31 -/* 802C6DFC 002C3D5C 7F C4 F3 78 */ mr r4, r30 -/* 802C6E00 002C3D60 4B FF FC BD */ bl SelectWorker__14CGuiTableGroupFi -/* 802C6E04 002C3D64 38 60 00 01 */ li r3, 1 -/* 802C6E08 002C3D68 48 00 00 90 */ b lbl_802C6E98 -lbl_802C6E0C: -/* 802C6E0C 002C3D6C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802C6E10 002C3D70 38 9E 00 01 */ addi r4, r30, 1 -/* 802C6E14 002C3D74 7C 04 1B D6 */ divw r0, r4, r3 -/* 802C6E18 002C3D78 7C 00 19 D6 */ mullw r0, r0, r3 -/* 802C6E1C 002C3D7C 7F C0 20 50 */ subf r30, r0, r4 -lbl_802C6E20: -/* 802C6E20 002C3D80 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 802C6E24 002C3D84 7C 1E 00 00 */ cmpw r30, r0 -/* 802C6E28 002C3D88 40 82 FF BC */ bne lbl_802C6DE4 -/* 802C6E2C 002C3D8C 48 00 00 68 */ b lbl_802C6E94 -lbl_802C6E30: -/* 802C6E30 002C3D90 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 802C6E34 002C3D94 38 63 00 01 */ addi r3, r3, 1 -/* 802C6E38 002C3D98 90 61 00 08 */ stw r3, 8(r1) -/* 802C6E3C 002C3D9C 80 1F 00 C0 */ lwz r0, 0xc0(r31) -/* 802C6E40 002C3DA0 7C 00 18 00 */ cmpw r0, r3 -/* 802C6E44 002C3DA4 40 80 00 0C */ bge lbl_802C6E50 -/* 802C6E48 002C3DA8 38 7F 00 C0 */ addi r3, r31, 0xc0 -/* 802C6E4C 002C3DAC 48 00 00 08 */ b lbl_802C6E54 -lbl_802C6E50: -/* 802C6E50 002C3DB0 38 61 00 08 */ addi r3, r1, 8 -lbl_802C6E54: -/* 802C6E54 002C3DB4 83 C3 00 00 */ lwz r30, 0(r3) -/* 802C6E58 002C3DB8 48 00 00 30 */ b lbl_802C6E88 -lbl_802C6E5C: -/* 802C6E5C 002C3DBC 7F E3 FB 78 */ mr r3, r31 -/* 802C6E60 002C3DC0 7F C4 F3 78 */ mr r4, r30 -/* 802C6E64 002C3DC4 48 00 00 4D */ bl IsWorkerSelectable__14CGuiTableGroupFi -/* 802C6E68 002C3DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6E6C 002C3DCC 41 82 00 18 */ beq lbl_802C6E84 -/* 802C6E70 002C3DD0 7F E3 FB 78 */ mr r3, r31 -/* 802C6E74 002C3DD4 7F C4 F3 78 */ mr r4, r30 -/* 802C6E78 002C3DD8 4B FF FC 45 */ bl SelectWorker__14CGuiTableGroupFi -/* 802C6E7C 002C3DDC 38 60 00 01 */ li r3, 1 -/* 802C6E80 002C3DE0 48 00 00 18 */ b lbl_802C6E98 -lbl_802C6E84: -/* 802C6E84 002C3DE4 3B DE 00 01 */ addi r30, r30, 1 -lbl_802C6E88: -/* 802C6E88 002C3DE8 80 1F 00 C0 */ lwz r0, 0xc0(r31) -/* 802C6E8C 002C3DEC 7C 1E 00 00 */ cmpw r30, r0 -/* 802C6E90 002C3DF0 41 80 FF CC */ blt lbl_802C6E5C -lbl_802C6E94: -/* 802C6E94 002C3DF4 38 60 00 00 */ li r3, 0 -lbl_802C6E98: -/* 802C6E98 002C3DF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C6E9C 002C3DFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C6EA0 002C3E00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C6EA4 002C3E04 7C 08 03 A6 */ mtlr r0 -/* 802C6EA8 002C3E08 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C6EAC 002C3E0C 4E 80 00 20 */ blr - -.global IsWorkerSelectable__14CGuiTableGroupFi -IsWorkerSelectable__14CGuiTableGroupFi: -/* 802C6EB0 002C3E10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6EB4 002C3E14 7C 08 02 A6 */ mflr r0 -/* 802C6EB8 002C3E18 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C6EBC 002C3E1C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C6EC0 002C3E20 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C6EC4 002C3E24 7D 89 03 A6 */ mtctr r12 -/* 802C6EC8 002C3E28 4E 80 04 21 */ bctrl -/* 802C6ECC 002C3E2C 28 03 00 00 */ cmplwi r3, 0 -/* 802C6ED0 002C3E30 41 82 00 10 */ beq lbl_802C6EE0 -/* 802C6ED4 002C3E34 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 802C6ED8 002C3E38 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 802C6EDC 002C3E3C 48 00 00 08 */ b lbl_802C6EE4 -lbl_802C6EE0: -/* 802C6EE0 002C3E40 38 60 00 00 */ li r3, 0 -lbl_802C6EE4: -/* 802C6EE4 002C3E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C6EE8 002C3E48 7C 08 03 A6 */ mtlr r0 -/* 802C6EEC 002C3E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C6EF0 002C3E50 4E 80 00 20 */ blr - -.global DoIncrement__14CGuiTableGroupFv -DoIncrement__14CGuiTableGroupFv: -/* 802C6EF4 002C3E54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C6EF8 002C3E58 7C 08 02 A6 */ mflr r0 -/* 802C6EFC 002C3E5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C6F00 002C3E60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C6F04 002C3E64 93 C1 00 08 */ stw r30, 8(r1) -/* 802C6F08 002C3E68 7C 7E 1B 78 */ mr r30, r3 -/* 802C6F0C 002C3E6C 83 E3 00 C4 */ lwz r31, 0xc4(r3) -/* 802C6F10 002C3E70 4B FF FE 95 */ bl PreIncrement__14CGuiTableGroupFv -/* 802C6F14 002C3E74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C6F18 002C3E78 41 82 01 08 */ beq lbl_802C7020 -/* 802C6F1C 002C3E7C 38 00 00 02 */ li r0, 2 -/* 802C6F20 002C3E80 38 60 00 00 */ li r3, 0 -/* 802C6F24 002C3E84 7C 09 03 A6 */ mtctr r0 -lbl_802C6F28: -/* 802C6F28 002C3E88 38 03 01 0C */ addi r0, r3, 0x10c -/* 802C6F2C 002C3E8C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6F30 002C3E90 7C 00 07 75 */ extsb. r0, r0 -/* 802C6F34 002C3E94 41 82 00 0C */ beq lbl_802C6F40 -/* 802C6F38 002C3E98 38 00 00 00 */ li r0, 0 -/* 802C6F3C 002C3E9C 48 00 00 B8 */ b lbl_802C6FF4 -lbl_802C6F40: -/* 802C6F40 002C3EA0 38 03 01 0D */ addi r0, r3, 0x10d -/* 802C6F44 002C3EA4 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6F48 002C3EA8 7C 00 07 75 */ extsb. r0, r0 -/* 802C6F4C 002C3EAC 41 82 00 0C */ beq lbl_802C6F58 -/* 802C6F50 002C3EB0 38 00 00 00 */ li r0, 0 -/* 802C6F54 002C3EB4 48 00 00 A0 */ b lbl_802C6FF4 -lbl_802C6F58: -/* 802C6F58 002C3EB8 38 03 01 0E */ addi r0, r3, 0x10e -/* 802C6F5C 002C3EBC 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6F60 002C3EC0 7C 00 07 75 */ extsb. r0, r0 -/* 802C6F64 002C3EC4 41 82 00 0C */ beq lbl_802C6F70 -/* 802C6F68 002C3EC8 38 00 00 00 */ li r0, 0 -/* 802C6F6C 002C3ECC 48 00 00 88 */ b lbl_802C6FF4 -lbl_802C6F70: -/* 802C6F70 002C3ED0 38 03 01 0F */ addi r0, r3, 0x10f -/* 802C6F74 002C3ED4 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6F78 002C3ED8 7C 00 07 75 */ extsb. r0, r0 -/* 802C6F7C 002C3EDC 41 82 00 0C */ beq lbl_802C6F88 -/* 802C6F80 002C3EE0 38 00 00 00 */ li r0, 0 -/* 802C6F84 002C3EE4 48 00 00 70 */ b lbl_802C6FF4 -lbl_802C6F88: -/* 802C6F88 002C3EE8 38 03 01 10 */ addi r0, r3, 0x110 -/* 802C6F8C 002C3EEC 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6F90 002C3EF0 7C 00 07 75 */ extsb. r0, r0 -/* 802C6F94 002C3EF4 41 82 00 0C */ beq lbl_802C6FA0 -/* 802C6F98 002C3EF8 38 00 00 00 */ li r0, 0 -/* 802C6F9C 002C3EFC 48 00 00 58 */ b lbl_802C6FF4 -lbl_802C6FA0: -/* 802C6FA0 002C3F00 38 03 01 11 */ addi r0, r3, 0x111 -/* 802C6FA4 002C3F04 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6FA8 002C3F08 7C 00 07 75 */ extsb. r0, r0 -/* 802C6FAC 002C3F0C 41 82 00 0C */ beq lbl_802C6FB8 -/* 802C6FB0 002C3F10 38 00 00 00 */ li r0, 0 -/* 802C6FB4 002C3F14 48 00 00 40 */ b lbl_802C6FF4 -lbl_802C6FB8: -/* 802C6FB8 002C3F18 38 03 01 12 */ addi r0, r3, 0x112 -/* 802C6FBC 002C3F1C 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6FC0 002C3F20 7C 00 07 75 */ extsb. r0, r0 -/* 802C6FC4 002C3F24 41 82 00 0C */ beq lbl_802C6FD0 -/* 802C6FC8 002C3F28 38 00 00 00 */ li r0, 0 -/* 802C6FCC 002C3F2C 48 00 00 28 */ b lbl_802C6FF4 -lbl_802C6FD0: -/* 802C6FD0 002C3F30 38 03 01 13 */ addi r0, r3, 0x113 -/* 802C6FD4 002C3F34 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 802C6FD8 002C3F38 7C 00 07 75 */ extsb. r0, r0 -/* 802C6FDC 002C3F3C 41 82 00 0C */ beq lbl_802C6FE8 -/* 802C6FE0 002C3F40 38 00 00 00 */ li r0, 0 -/* 802C6FE4 002C3F44 48 00 00 10 */ b lbl_802C6FF4 -lbl_802C6FE8: -/* 802C6FE8 002C3F48 38 63 00 08 */ addi r3, r3, 8 -/* 802C6FEC 002C3F4C 42 00 FF 3C */ bdnz lbl_802C6F28 -/* 802C6FF0 002C3F50 38 00 00 01 */ li r0, 1 -lbl_802C6FF4: -/* 802C6FF4 002C3F54 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802C6FF8 002C3F58 40 82 00 20 */ bne lbl_802C7018 -/* 802C6FFC 002C3F5C 81 9E 01 04 */ lwz r12, 0x104(r30) -/* 802C7000 002C3F60 7F C5 F3 78 */ mr r5, r30 -/* 802C7004 002C3F64 7F E6 FB 78 */ mr r6, r31 -/* 802C7008 002C3F68 38 9E 01 0C */ addi r4, r30, 0x10c -/* 802C700C 002C3F6C 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 802C7010 002C3F70 7D 89 03 A6 */ mtctr r12 -/* 802C7014 002C3F74 4E 80 04 21 */ bctrl -lbl_802C7018: -/* 802C7018 002C3F78 38 60 00 01 */ li r3, 1 -/* 802C701C 002C3F7C 48 00 00 08 */ b lbl_802C7024 -lbl_802C7020: -/* 802C7020 002C3F80 38 60 00 00 */ li r3, 0 -lbl_802C7024: -/* 802C7024 002C3F84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7028 002C3F88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C702C 002C3F8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C7030 002C3F90 7C 08 03 A6 */ mtlr r0 -/* 802C7034 002C3F94 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7038 002C3F98 4E 80 00 20 */ blr - -.global DoSelectPrevRow__14CGuiTableGroupFv -DoSelectPrevRow__14CGuiTableGroupFv: -/* 802C703C 002C3F9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7040 002C3FA0 7C 08 02 A6 */ mflr r0 -/* 802C7044 002C3FA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7048 002C3FA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C704C 002C3FAC 7C 7F 1B 78 */ mr r31, r3 -/* 802C7050 002C3FB0 4B FF F6 25 */ bl DecrementSelectedRow__14CGuiTableGroupFv -/* 802C7054 002C3FB4 7F E3 FB 78 */ mr r3, r31 -/* 802C7058 002C3FB8 80 9F 00 C8 */ lwz r4, 0xc8(r31) -/* 802C705C 002C3FBC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C7060 002C3FC0 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C7064 002C3FC4 7D 89 03 A6 */ mtctr r12 -/* 802C7068 002C3FC8 4E 80 04 21 */ bctrl -/* 802C706C 002C3FCC 7C 64 1B 78 */ mr r4, r3 -/* 802C7070 002C3FD0 7F E3 FB 78 */ mr r3, r31 -/* 802C7074 002C3FD4 4B FF F6 BD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C7078 002C3FD8 7F E3 FB 78 */ mr r3, r31 -/* 802C707C 002C3FDC 80 9F 00 C4 */ lwz r4, 0xc4(r31) -/* 802C7080 002C3FE0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C7084 002C3FE4 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C7088 002C3FE8 7D 89 03 A6 */ mtctr r12 -/* 802C708C 002C3FEC 4E 80 04 21 */ bctrl -/* 802C7090 002C3FF0 7C 64 1B 78 */ mr r4, r3 -/* 802C7094 002C3FF4 7F E3 FB 78 */ mr r3, r31 -/* 802C7098 002C3FF8 4B FF F6 C1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C709C 002C3FFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C70A0 002C4000 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C70A4 002C4004 7C 08 03 A6 */ mtlr r0 -/* 802C70A8 002C4008 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C70AC 002C400C 4E 80 00 20 */ blr - -.global DoSelectNextRow__14CGuiTableGroupFv -DoSelectNextRow__14CGuiTableGroupFv: -/* 802C70B0 002C4010 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C70B4 002C4014 7C 08 02 A6 */ mflr r0 -/* 802C70B8 002C4018 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C70BC 002C401C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C70C0 002C4020 7C 7F 1B 78 */ mr r31, r3 -/* 802C70C4 002C4024 4B FF F6 0D */ bl IncrementSelectedRow__14CGuiTableGroupFv -/* 802C70C8 002C4028 7F E3 FB 78 */ mr r3, r31 -/* 802C70CC 002C402C 80 9F 00 C8 */ lwz r4, 0xc8(r31) -/* 802C70D0 002C4030 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C70D4 002C4034 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C70D8 002C4038 7D 89 03 A6 */ mtctr r12 -/* 802C70DC 002C403C 4E 80 04 21 */ bctrl -/* 802C70E0 002C4040 7C 64 1B 78 */ mr r4, r3 -/* 802C70E4 002C4044 7F E3 FB 78 */ mr r3, r31 -/* 802C70E8 002C4048 4B FF F6 49 */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C70EC 002C404C 7F E3 FB 78 */ mr r3, r31 -/* 802C70F0 002C4050 80 9F 00 C4 */ lwz r4, 0xc4(r31) -/* 802C70F4 002C4054 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C70F8 002C4058 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C70FC 002C405C 7D 89 03 A6 */ mtctr r12 -/* 802C7100 002C4060 4E 80 04 21 */ bctrl -/* 802C7104 002C4064 7C 64 1B 78 */ mr r4, r3 -/* 802C7108 002C4068 7F E3 FB 78 */ mr r3, r31 -/* 802C710C 002C406C 4B FF F6 4D */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C7110 002C4070 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7114 002C4074 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7118 002C4078 7C 08 03 A6 */ mtlr r0 -/* 802C711C 002C407C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7120 002C4080 4E 80 00 20 */ blr - -.global sub_802c7124 -sub_802c7124: -/* 802C7124 002C4084 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7128 002C4088 7C 08 02 A6 */ mflr r0 -/* 802C712C 002C408C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7130 002C4090 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C7134 002C4094 7C 7F 1B 78 */ mr r31, r3 -/* 802C7138 002C4098 80 03 00 C4 */ lwz r0, 0xc4(r3) -/* 802C713C 002C409C 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 802C7140 002C40A0 80 03 00 CC */ lwz r0, 0xcc(r3) -/* 802C7144 002C40A4 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 802C7148 002C40A8 81 83 00 00 */ lwz r12, 0(r3) -/* 802C714C 002C40AC 80 83 00 C8 */ lwz r4, 0xc8(r3) -/* 802C7150 002C40B0 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C7154 002C40B4 7D 89 03 A6 */ mtctr r12 -/* 802C7158 002C40B8 4E 80 04 21 */ bctrl -/* 802C715C 002C40BC 7C 64 1B 78 */ mr r4, r3 -/* 802C7160 002C40C0 7F E3 FB 78 */ mr r3, r31 -/* 802C7164 002C40C4 4B FF F5 CD */ bl DeactivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C7168 002C40C8 7F E3 FB 78 */ mr r3, r31 -/* 802C716C 002C40CC 80 9F 00 C4 */ lwz r4, 0xc4(r31) -/* 802C7170 002C40D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C7174 002C40D4 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 802C7178 002C40D8 7D 89 03 A6 */ mtctr r12 -/* 802C717C 002C40DC 4E 80 04 21 */ bctrl -/* 802C7180 002C40E0 7C 64 1B 78 */ mr r4, r3 -/* 802C7184 002C40E4 7F E3 FB 78 */ mr r3, r31 -/* 802C7188 002C40E8 4B FF F5 D1 */ bl ActivateWorker__14CGuiTableGroupFP10CGuiWidget -/* 802C718C 002C40EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7190 002C40F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7194 002C40F4 7C 08 03 A6 */ mtlr r0 -/* 802C7198 002C40F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C719C 002C40FC 4E 80 00 20 */ blr - -.global __dt__14CGuiTableGroupCFv -__dt__14CGuiTableGroupCFv: -/* 802C71A0 002C4100 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C71A4 002C4104 7C 08 02 A6 */ mflr r0 -/* 802C71A8 002C4108 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C71AC 002C410C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C71B0 002C4110 7C 9F 23 78 */ mr r31, r4 -/* 802C71B4 002C4114 93 C1 00 08 */ stw r30, 8(r1) -/* 802C71B8 002C4118 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C71BC 002C411C 41 82 00 28 */ beq lbl_802C71E4 -/* 802C71C0 002C4120 3C A0 80 3F */ lis r5, lbl_803EC970@ha -/* 802C71C4 002C4124 38 80 00 00 */ li r4, 0 -/* 802C71C8 002C4128 38 05 C9 70 */ addi r0, r5, lbl_803EC970@l -/* 802C71CC 002C412C 90 1E 00 00 */ stw r0, 0(r30) -/* 802C71D0 002C4130 4B FF A9 61 */ bl __dt__18CGuiCompoundWidgetFv -/* 802C71D4 002C4134 7F E0 07 35 */ extsh. r0, r31 -/* 802C71D8 002C4138 40 81 00 0C */ ble lbl_802C71E4 -/* 802C71DC 002C413C 7F C3 F3 78 */ mr r3, r30 -/* 802C71E0 002C4140 48 04 E7 51 */ bl Free__7CMemoryFPCv -lbl_802C71E4: -/* 802C71E4 002C4144 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C71E8 002C4148 7F C3 F3 78 */ mr r3, r30 -/* 802C71EC 002C414C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C71F0 002C4150 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C71F4 002C4154 7C 08 03 A6 */ mtlr r0 -/* 802C71F8 002C4158 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C71FC 002C415C 4E 80 00 20 */ blr - -.global __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox -__ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox: -/* 802C7200 002C4160 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C7204 002C4164 7C 08 02 A6 */ mflr r0 -/* 802C7208 002C4168 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C720C 002C416C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C7210 002C4170 7C FF 3B 78 */ mr r31, r7 -/* 802C7214 002C4174 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C7218 002C4178 7C DE 33 78 */ mr r30, r6 -/* 802C721C 002C417C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C7220 002C4180 7C BD 2B 78 */ mr r29, r5 -/* 802C7224 002C4184 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C7228 002C4188 7C 7C 1B 78 */ mr r28, r3 -/* 802C722C 002C418C 4B FF A9 65 */ bl __ct__18CGuiCompoundWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802C7230 002C4190 3C 80 80 3F */ lis r4, lbl_803EC970@ha -/* 802C7234 002C4194 38 7C 00 B8 */ addi r3, r28, 0xb8 -/* 802C7238 002C4198 38 04 C9 70 */ addi r0, r4, lbl_803EC970@l -/* 802C723C 002C419C 90 1C 00 00 */ stw r0, 0(r28) -/* 802C7240 002C41A0 48 00 62 7D */ bl sub_802cd4bc -/* 802C7244 002C41A4 38 7C 00 BC */ addi r3, r28, 0xbc -/* 802C7248 002C41A8 48 00 62 75 */ bl sub_802cd4bc -/* 802C724C 002C41AC 93 BC 00 C0 */ stw r29, 0xc0(r28) -/* 802C7250 002C41B0 38 C0 00 01 */ li r6, 1 -/* 802C7254 002C41B4 38 00 00 00 */ li r0, 0 -/* 802C7258 002C41B8 38 7C 00 DC */ addi r3, r28, 0xdc -/* 802C725C 002C41BC 93 DC 00 C4 */ stw r30, 0xc4(r28) -/* 802C7260 002C41C0 38 80 00 00 */ li r4, 0 -/* 802C7264 002C41C4 38 A0 00 10 */ li r5, 0x10 -/* 802C7268 002C41C8 93 DC 00 C8 */ stw r30, 0xc8(r28) -/* 802C726C 002C41CC 93 DC 00 CC */ stw r30, 0xcc(r28) -/* 802C7270 002C41D0 9B FC 00 D0 */ stb r31, 0xd0(r28) -/* 802C7274 002C41D4 98 DC 00 D1 */ stb r6, 0xd1(r28) -/* 802C7278 002C41D8 90 1C 00 D4 */ stw r0, 0xd4(r28) -/* 802C727C 002C41DC 90 1C 00 D8 */ stw r0, 0xd8(r28) -/* 802C7280 002C41E0 4B D3 C1 29 */ bl memset -/* 802C7284 002C41E4 38 00 00 00 */ li r0, 0 -/* 802C7288 002C41E8 38 7C 00 F4 */ addi r3, r28, 0xf4 -/* 802C728C 002C41EC 90 1C 00 EC */ stw r0, 0xec(r28) -/* 802C7290 002C41F0 38 80 00 00 */ li r4, 0 -/* 802C7294 002C41F4 38 A0 00 10 */ li r5, 0x10 -/* 802C7298 002C41F8 90 1C 00 F0 */ stw r0, 0xf0(r28) -/* 802C729C 002C41FC 4B D3 C1 0D */ bl memset -/* 802C72A0 002C4200 38 00 00 00 */ li r0, 0 -/* 802C72A4 002C4204 38 7C 01 0C */ addi r3, r28, 0x10c -/* 802C72A8 002C4208 90 1C 01 04 */ stw r0, 0x104(r28) -/* 802C72AC 002C420C 38 80 00 00 */ li r4, 0 -/* 802C72B0 002C4210 38 A0 00 10 */ li r5, 0x10 -/* 802C72B4 002C4214 90 1C 01 08 */ stw r0, 0x108(r28) -/* 802C72B8 002C4218 4B D3 C0 F1 */ bl memset -/* 802C72BC 002C421C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C72C0 002C4220 7F 83 E3 78 */ mr r3, r28 -/* 802C72C4 002C4224 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C72C8 002C4228 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C72CC 002C422C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C72D0 002C4230 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C72D4 002C4234 7C 08 03 A6 */ mtlr r0 -/* 802C72D8 002C4238 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C72DC 002C423C 4E 80 00 20 */ blr - -.global Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb -Create__14CGuiTableGroupFP9CGuiFrameR12CInputStreamb: -/* 802C72E0 002C4240 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C72E4 002C4244 7C 08 02 A6 */ mflr r0 -/* 802C72E8 002C4248 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C72EC 002C424C BF 41 00 38 */ stmw r26, 0x38(r1) -/* 802C72F0 002C4250 7C 7E 1B 78 */ mr r30, r3 -/* 802C72F4 002C4254 7C 9F 23 78 */ mr r31, r4 -/* 802C72F8 002C4258 38 61 00 08 */ addi r3, r1, 8 -/* 802C72FC 002C425C 7F C4 F3 78 */ mr r4, r30 -/* 802C7300 002C4260 7F E5 FB 78 */ mr r5, r31 -/* 802C7304 002C4264 48 00 3A 4D */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C7308 002C4268 83 A1 00 08 */ lwz r29, 8(r1) -/* 802C730C 002C426C 7F E3 FB 78 */ mr r3, r31 -/* 802C7310 002C4270 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802C7314 002C4274 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802C7318 002C4278 A9 41 00 10 */ lha r10, 0x10(r1) -/* 802C731C 002C427C 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802C7320 002C4280 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802C7324 002C4284 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802C7328 002C4288 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802C732C 002C428C 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802C7330 002C4290 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C7334 002C4294 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802C7338 002C4298 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C733C 002C429C 99 81 00 24 */ stb r12, 0x24(r1) -/* 802C7340 002C42A0 B1 61 00 26 */ sth r11, 0x26(r1) -/* 802C7344 002C42A4 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802C7348 002C42A8 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802C734C 002C42AC 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802C7350 002C42B0 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802C7354 002C42B4 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802C7358 002C42B8 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802C735C 002C42BC 90 81 00 30 */ stw r4, 0x30(r1) -/* 802C7360 002C42C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C7364 002C42C4 48 07 79 4D */ bl ReadShort__12CInputStreamFv -/* 802C7368 002C42C8 7C 60 07 34 */ extsh r0, r3 -/* 802C736C 002C42CC 7F E3 FB 78 */ mr r3, r31 -/* 802C7370 002C42D0 7C 1C 03 78 */ mr r28, r0 -/* 802C7374 002C42D4 48 07 79 3D */ bl ReadShort__12CInputStreamFv -/* 802C7378 002C42D8 7F E3 FB 78 */ mr r3, r31 -/* 802C737C 002C42DC 48 07 79 09 */ bl ReadLong__12CInputStreamFv -/* 802C7380 002C42E0 7F E3 FB 78 */ mr r3, r31 -/* 802C7384 002C42E4 48 07 79 2D */ bl ReadShort__12CInputStreamFv -/* 802C7388 002C42E8 7C 60 07 34 */ extsh r0, r3 -/* 802C738C 002C42EC 7F E3 FB 78 */ mr r3, r31 -/* 802C7390 002C42F0 7C 1B 03 78 */ mr r27, r0 -/* 802C7394 002C42F4 48 07 79 1D */ bl ReadShort__12CInputStreamFv -/* 802C7398 002C42F8 7F E3 FB 78 */ mr r3, r31 -/* 802C739C 002C42FC 48 07 79 41 */ bl ReadBool__12CInputStreamFv -/* 802C73A0 002C4300 7C 60 1B 78 */ mr r0, r3 -/* 802C73A4 002C4304 7F E3 FB 78 */ mr r3, r31 -/* 802C73A8 002C4308 7C 1A 03 78 */ mr r26, r0 -/* 802C73AC 002C430C 48 07 79 31 */ bl ReadBool__12CInputStreamFv -/* 802C73B0 002C4310 7F E3 FB 78 */ mr r3, r31 -/* 802C73B4 002C4314 48 07 78 75 */ bl ReadFloat__12CInputStreamFv -/* 802C73B8 002C4318 7F E3 FB 78 */ mr r3, r31 -/* 802C73BC 002C431C 48 07 78 6D */ bl ReadFloat__12CInputStreamFv -/* 802C73C0 002C4320 7F E3 FB 78 */ mr r3, r31 -/* 802C73C4 002C4324 48 07 79 19 */ bl ReadBool__12CInputStreamFv -/* 802C73C8 002C4328 7F E3 FB 78 */ mr r3, r31 -/* 802C73CC 002C432C 48 07 78 5D */ bl ReadFloat__12CInputStreamFv -/* 802C73D0 002C4330 7F E3 FB 78 */ mr r3, r31 -/* 802C73D4 002C4334 48 07 78 DD */ bl ReadShort__12CInputStreamFv -/* 802C73D8 002C4338 7F E3 FB 78 */ mr r3, r31 -/* 802C73DC 002C433C 48 07 78 D5 */ bl ReadShort__12CInputStreamFv -/* 802C73E0 002C4340 7F E3 FB 78 */ mr r3, r31 -/* 802C73E4 002C4344 48 07 78 CD */ bl ReadShort__12CInputStreamFv -/* 802C73E8 002C4348 7F E3 FB 78 */ mr r3, r31 -/* 802C73EC 002C434C 48 07 78 C5 */ bl ReadShort__12CInputStreamFv -/* 802C73F0 002C4350 3C 80 80 3D */ lis r4, lbl_803D68D0@ha -/* 802C73F4 002C4354 38 60 01 1C */ li r3, 0x11c -/* 802C73F8 002C4358 38 84 68 D0 */ addi r4, r4, lbl_803D68D0@l -/* 802C73FC 002C435C 38 A0 00 00 */ li r5, 0 -/* 802C7400 002C4360 48 04 E4 6D */ bl __nw__FUlPCcPCc -/* 802C7404 002C4364 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C7408 002C4368 41 82 00 1C */ beq lbl_802C7424 -/* 802C740C 002C436C 7F 85 E3 78 */ mr r5, r28 -/* 802C7410 002C4370 7F 66 DB 78 */ mr r6, r27 -/* 802C7414 002C4374 7F 47 D3 78 */ mr r7, r26 -/* 802C7418 002C4378 38 81 00 20 */ addi r4, r1, 0x20 -/* 802C741C 002C437C 4B FF FD E5 */ bl __ct__14CGuiTableGroupFRCQ210CGuiWidget15CGuiWidgetParmsiiQ214CGuiTableGroup16ETableGroupModesiibbffbfR14CGuiVirtualBox -/* 802C7420 002C4380 7C 7D 1B 78 */ mr r29, r3 -lbl_802C7424: -/* 802C7424 002C4384 7F A3 EB 78 */ mr r3, r29 -/* 802C7428 002C4388 7F C4 F3 78 */ mr r4, r30 -/* 802C742C 002C438C 7F E5 FB 78 */ mr r5, r31 -/* 802C7430 002C4390 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802C7434 002C4394 48 00 36 55 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C7438 002C4398 7F A3 EB 78 */ mr r3, r29 -/* 802C743C 002C439C BB 41 00 38 */ lmw r26, 0x38(r1) -/* 802C7440 002C43A0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C7444 002C43A4 7C 08 03 A6 */ mtlr r0 -/* 802C7448 002C43A8 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C744C 002C43AC 4E 80 00 20 */ blr - -.global ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput -ProcessUserInput__14CGuiTableGroupCFRC11CFinalInput: -/* 802C7450 002C43B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C7454 002C43B4 7C 08 02 A6 */ mflr r0 -/* 802C7458 002C43B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C745C 002C43BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C7460 002C43C0 7C 9F 23 78 */ mr r31, r4 -/* 802C7464 002C43C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C7468 002C43C8 7C 7E 1B 78 */ mr r30, r3 -/* 802C746C 002C43CC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C7470 002C43D0 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C7474 002C43D4 88 84 00 2D */ lbz r4, 0x2d(r4) -/* 802C7478 002C43D8 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 802C747C 002C43DC 41 82 00 0C */ beq lbl_802C7488 -/* 802C7480 002C43E0 4B FF F5 25 */ bl DoAdvance__14CGuiTableGroupFv -/* 802C7484 002C43E4 48 00 01 20 */ b lbl_802C75A4 -lbl_802C7488: -/* 802C7488 002C43E8 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f -/* 802C748C 002C43EC 41 82 00 0C */ beq lbl_802C7498 -/* 802C7490 002C43F0 4B FF F3 FD */ bl DoCancel__14CGuiTableGroupFv -/* 802C7494 002C43F4 48 00 01 10 */ b lbl_802C75A4 -lbl_802C7498: -/* 802C7498 002C43F8 88 7E 00 D1 */ lbz r3, 0xd1(r30) -/* 802C749C 002C43FC 28 03 00 00 */ cmplwi r3, 0 -/* 802C74A0 002C4400 41 82 00 2C */ beq lbl_802C74CC -/* 802C74A4 002C4404 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) -/* 802C74A8 002C4408 3B A0 00 01 */ li r29, 1 -/* 802C74AC 002C440C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 802C74B0 002C4410 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C74B4 002C4414 41 80 00 3C */ blt lbl_802C74F0 -/* 802C74B8 002C4418 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 802C74BC 002C441C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802C74C0 002C4420 40 82 00 30 */ bne lbl_802C74F0 -/* 802C74C4 002C4424 3B A0 00 00 */ li r29, 0 -/* 802C74C8 002C4428 48 00 00 28 */ b lbl_802C74F0 -lbl_802C74CC: -/* 802C74CC 002C442C C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) -/* 802C74D0 002C4430 3B A0 00 01 */ li r29, 1 -/* 802C74D4 002C4434 C0 1F 00 08 */ lfs f0, 8(r31) -/* 802C74D8 002C4438 FC 20 08 50 */ fneg f1, f1 -/* 802C74DC 002C443C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C74E0 002C4440 41 81 00 10 */ bgt lbl_802C74F0 -/* 802C74E4 002C4444 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 802C74E8 002C4448 40 82 00 08 */ bne lbl_802C74F0 -/* 802C74EC 002C444C 3B A0 00 00 */ li r29, 0 -lbl_802C74F0: -/* 802C74F0 002C4450 28 03 00 00 */ cmplwi r3, 0 -/* 802C74F4 002C4454 41 82 00 30 */ beq lbl_802C7524 -/* 802C74F8 002C4458 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) -/* 802C74FC 002C445C 3B 80 00 01 */ li r28, 1 -/* 802C7500 002C4460 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 802C7504 002C4464 FC 20 08 50 */ fneg f1, f1 -/* 802C7508 002C4468 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C750C 002C446C 41 81 00 3C */ bgt lbl_802C7548 -/* 802C7510 002C4470 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 802C7514 002C4474 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 802C7518 002C4478 40 82 00 30 */ bne lbl_802C7548 -/* 802C751C 002C447C 3B 80 00 00 */ li r28, 0 -/* 802C7520 002C4480 48 00 00 28 */ b lbl_802C7548 -lbl_802C7524: -/* 802C7524 002C4484 C0 22 CC 28 */ lfs f1, lbl_805AE948@sda21(r2) -/* 802C7528 002C4488 3B 80 00 01 */ li r28, 1 -/* 802C752C 002C448C C0 1F 00 08 */ lfs f0, 8(r31) -/* 802C7530 002C4490 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C7534 002C4494 41 80 00 14 */ blt lbl_802C7548 -/* 802C7538 002C4498 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 802C753C 002C449C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 802C7540 002C44A0 40 82 00 08 */ bne lbl_802C7548 -/* 802C7544 002C44A4 3B 80 00 00 */ li r28, 0 -lbl_802C7548: -/* 802C7548 002C44A8 C0 3F 00 00 */ lfs f1, 0(r31) -/* 802C754C 002C44AC 7F A4 EB 78 */ mr r4, r29 -/* 802C7550 002C44B0 38 7E 00 B8 */ addi r3, r30, 0xb8 -/* 802C7554 002C44B4 48 00 5F 01 */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb -/* 802C7558 002C44B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C755C 002C44BC 41 82 00 18 */ beq lbl_802C7574 -/* 802C7560 002C44C0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802C7564 002C44C4 41 82 00 10 */ beq lbl_802C7574 -/* 802C7568 002C44C8 7F C3 F3 78 */ mr r3, r30 -/* 802C756C 002C44CC 4B FF F6 F1 */ bl DoDecrement__14CGuiTableGroupFv -/* 802C7570 002C44D0 48 00 00 34 */ b lbl_802C75A4 -lbl_802C7574: -/* 802C7574 002C44D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802C7578 002C44D8 40 82 00 2C */ bne lbl_802C75A4 -/* 802C757C 002C44DC C0 3F 00 00 */ lfs f1, 0(r31) -/* 802C7580 002C44E0 7F 84 E3 78 */ mr r4, r28 -/* 802C7584 002C44E4 38 7E 00 BC */ addi r3, r30, 0xbc -/* 802C7588 002C44E8 48 00 5E CD */ bl Update__Q214CGuiTableGroup12CRepeatStateFfb -/* 802C758C 002C44EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C7590 002C44F0 41 82 00 14 */ beq lbl_802C75A4 -/* 802C7594 002C44F4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802C7598 002C44F8 41 82 00 0C */ beq lbl_802C75A4 -/* 802C759C 002C44FC 7F C3 F3 78 */ mr r3, r30 -/* 802C75A0 002C4500 4B FF F9 55 */ bl DoIncrement__14CGuiTableGroupFv -lbl_802C75A4: -/* 802C75A4 002C4504 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C75A8 002C4508 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C75AC 002C450C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C75B0 002C4510 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C75B4 002C4514 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C75B8 002C4518 7C 08 03 A6 */ mtlr r0 -/* 802C75BC 002C451C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C75C0 002C4520 4E 80 00 20 */ blr - -.global GetWidgetTypeID__12CGuiTextPaneCFv -GetWidgetTypeID__12CGuiTextPaneCFv: -/* 802C75C4 002C4524 3C 60 54 58 */ lis r3, 0x5458504E@ha -/* 802C75C8 002C4528 38 63 50 4E */ addi r3, r3, 0x5458504E@l -/* 802C75CC 002C452C 4E 80 00 20 */ blr - -.global Update__12CGuiTextPaneFf -Update__12CGuiTextPaneFf: -/* 802C75D0 002C4530 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C75D4 002C4534 7C 08 02 A6 */ mflr r0 -/* 802C75D8 002C4538 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C75DC 002C453C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802C75E0 002C4540 FF E0 08 90 */ fmr f31, f1 -/* 802C75E4 002C4544 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802C75E8 002C4548 7C 7F 1B 78 */ mr r31, r3 -/* 802C75EC 002C454C 48 00 33 E9 */ bl Update__10CGuiWidgetFf -/* 802C75F0 002C4550 FC 20 F8 90 */ fmr f1, f31 -/* 802C75F4 002C4554 38 7F 00 D4 */ addi r3, r31, 0xd4 -/* 802C75F8 002C4558 48 00 0B 81 */ bl Update__15CGuiTextSupportFf -/* 802C75FC 002C455C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C7600 002C4560 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 802C7604 002C4564 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 802C7608 002C4568 7C 08 03 A6 */ mtlr r0 -/* 802C760C 002C456C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C7610 002C4570 4E 80 00 20 */ blr - -.global GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv -GetIsFinishedLoadingWidgetSpecific__12CGuiTextPaneCFv: -/* 802C7614 002C4574 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7618 002C4578 7C 08 02 A6 */ mflr r0 -/* 802C761C 002C457C 38 63 00 D4 */ addi r3, r3, 0xd4 -/* 802C7620 002C4580 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7624 002C4584 48 00 26 41 */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -/* 802C7628 002C4588 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C762C 002C458C 7C 08 03 A6 */ mtlr r0 -/* 802C7630 002C4590 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7634 002C4594 4E 80 00 20 */ blr - -.global sub_802c7638 -sub_802c7638: -/* 802C7638 002C4598 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C763C 002C459C 7C 08 02 A6 */ mflr r0 -/* 802C7640 002C45A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7644 002C45A4 38 00 00 01 */ li r0, 1 -/* 802C7648 002C45A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C764C 002C45AC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C7650 002C45B0 7C 7E 1B 78 */ mr r30, r3 -/* 802C7654 002C45B4 83 E4 01 30 */ lwz r31, 0x130(r4) -/* 802C7658 002C45B8 90 03 00 04 */ stw r0, 4(r3) -/* 802C765C 002C45BC 90 03 00 08 */ stw r0, 8(r3) -/* 802C7660 002C45C0 80 03 00 04 */ lwz r0, 4(r3) -/* 802C7664 002C45C4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802C7668 002C45C8 40 82 00 10 */ bne lbl_802C7678 -/* 802C766C 002C45CC 38 00 00 00 */ li r0, 0 -/* 802C7670 002C45D0 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802C7674 002C45D4 48 00 00 18 */ b lbl_802C768C -lbl_802C7678: -/* 802C7678 002C45D8 3C 80 80 3D */ lis r4, lbl_803D68D8@ha -/* 802C767C 002C45DC 38 A0 00 00 */ li r5, 0 -/* 802C7680 002C45E0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l -/* 802C7684 002C45E4 48 04 E1 95 */ bl __nwa__FUlPCcPCc -/* 802C7688 002C45E8 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802C768C: -/* 802C768C 002C45EC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C7690 002C45F0 28 03 00 00 */ cmplwi r3, 0 -/* 802C7694 002C45F4 41 82 00 08 */ beq lbl_802C769C -/* 802C7698 002C45F8 93 E3 00 00 */ stw r31, 0(r3) -lbl_802C769C: -/* 802C769C 002C45FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C76A0 002C4600 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C76A4 002C4604 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C76A8 002C4608 7C 08 03 A6 */ mtlr r0 -/* 802C76AC 002C460C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C76B0 002C4610 4E 80 00 20 */ blr - -.global SetDimensions__12CGuiTextPaneFRC9CVector2fb -SetDimensions__12CGuiTextPaneFRC9CVector2fb: -/* 802C76B4 002C4614 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C76B8 002C4618 7C 08 02 A6 */ mflr r0 -/* 802C76BC 002C461C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C76C0 002C4620 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C76C4 002C4624 7C BF 2B 78 */ mr r31, r5 -/* 802C76C8 002C4628 93 C1 00 08 */ stw r30, 8(r1) -/* 802C76CC 002C462C 7C 7E 1B 78 */ mr r30, r3 -/* 802C76D0 002C4630 4B FF DE 49 */ bl SetDimensions__8CGuiPaneFRC9CVector2fb -/* 802C76D4 002C4634 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802C76D8 002C4638 41 82 00 18 */ beq lbl_802C76F0 -/* 802C76DC 002C463C 7F C3 F3 78 */ mr r3, r30 -/* 802C76E0 002C4640 81 9E 00 00 */ lwz r12, 0(r30) -/* 802C76E4 002C4644 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802C76E8 002C4648 7D 89 03 A6 */ mtctr r12 -/* 802C76EC 002C464C 4E 80 04 21 */ bctrl -lbl_802C76F0: -/* 802C76F0 002C4650 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C76F4 002C4654 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C76F8 002C4658 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C76FC 002C465C 7C 08 03 A6 */ mtlr r0 -/* 802C7700 002C4660 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7704 002C4664 4E 80 00 20 */ blr - -.global ScaleDimensions__12CGuiTextPaneFRC9CVector3f -ScaleDimensions__12CGuiTextPaneFRC9CVector3f: -/* 802C7708 002C4668 4E 80 00 20 */ blr - -.global Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms -Draw__12CGuiTextPaneCFRC19CGuiWidgetDrawParms: -/* 802C770C 002C466C 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 802C7710 002C4670 7C 08 02 A6 */ mflr r0 -/* 802C7714 002C4674 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 802C7718 002C4678 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 802C771C 002C467C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 802C7720 002C4680 93 E1 01 8C */ stw r31, 0x18c(r1) -/* 802C7724 002C4684 93 C1 01 88 */ stw r30, 0x188(r1) -/* 802C7728 002C4688 93 A1 01 84 */ stw r29, 0x184(r1) -/* 802C772C 002C468C 81 83 00 00 */ lwz r12, 0(r3) -/* 802C7730 002C4690 7C 7F 1B 78 */ mr r31, r3 -/* 802C7734 002C4694 7C 9D 23 78 */ mr r29, r4 -/* 802C7738 002C4698 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802C773C 002C469C 7D 89 03 A6 */ mtctr r12 -/* 802C7740 002C46A0 4E 80 04 21 */ bctrl -/* 802C7744 002C46A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C7748 002C46A8 41 82 02 88 */ beq lbl_802C79D0 -/* 802C774C 002C46AC 7F E4 FB 78 */ mr r4, r31 -/* 802C7750 002C46B0 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C7754 002C46B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C7758 002C46B8 83 DF 00 C0 */ lwz r30, 0xc0(r31) -/* 802C775C 002C46BC 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 802C7760 002C46C0 7D 89 03 A6 */ mtctr r12 -/* 802C7764 002C46C4 4E 80 04 21 */ bctrl -/* 802C7768 002C46C8 80 1F 01 08 */ lwz r0, 0x108(r31) -/* 802C776C 002C46CC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802C7770 002C46D0 2C 00 00 00 */ cmpwi r0, 0 -/* 802C7774 002C46D4 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 802C7778 002C46D8 40 82 00 0C */ bne lbl_802C7784 -/* 802C777C 002C46DC C0 22 C3 C8 */ lfs f1, lbl_805AE0E8@sda21(r2) -/* 802C7780 002C46E0 48 00 00 24 */ b lbl_802C77A4 -lbl_802C7784: -/* 802C7784 002C46E4 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 802C7788 002C46E8 3C 00 43 30 */ lis r0, 0x4330 -/* 802C778C 002C46EC 90 61 01 64 */ stw r3, 0x164(r1) -/* 802C7790 002C46F0 C8 22 C3 D0 */ lfd f1, lbl_805AE0F0@sda21(r2) -/* 802C7794 002C46F4 90 01 01 60 */ stw r0, 0x160(r1) -/* 802C7798 002C46F8 C8 01 01 60 */ lfd f0, 0x160(r1) -/* 802C779C 002C46FC EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C77A0 002C4700 EC 22 00 24 */ fdivs f1, f2, f0 -lbl_802C77A4: -/* 802C77A4 002C4704 80 1F 01 0C */ lwz r0, 0x10c(r31) -/* 802C77A8 002C4708 2C 00 00 00 */ cmpwi r0, 0 -/* 802C77AC 002C470C 40 82 00 0C */ bne lbl_802C77B8 -/* 802C77B0 002C4710 C0 62 C3 C8 */ lfs f3, lbl_805AE0E8@sda21(r2) -/* 802C77B4 002C4714 48 00 00 24 */ b lbl_802C77D8 -lbl_802C77B8: -/* 802C77B8 002C4718 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 802C77BC 002C471C 3C 00 43 30 */ lis r0, 0x4330 -/* 802C77C0 002C4720 90 61 01 6C */ stw r3, 0x16c(r1) -/* 802C77C4 002C4724 C8 42 C3 D0 */ lfd f2, lbl_805AE0F0@sda21(r2) -/* 802C77C8 002C4728 90 01 01 68 */ stw r0, 0x168(r1) -/* 802C77CC 002C472C C8 01 01 68 */ lfd f0, 0x168(r1) -/* 802C77D0 002C4730 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802C77D4 002C4734 EC 63 00 24 */ fdivs f3, f3, f0 -lbl_802C77D8: -/* 802C77D8 002C4738 C0 FE 00 08 */ lfs f7, 8(r30) -/* 802C77DC 002C473C 38 61 00 6C */ addi r3, r1, 0x6c -/* 802C77E0 002C4740 C0 DE 00 04 */ lfs f6, 4(r30) -/* 802C77E4 002C4744 C0 BE 00 00 */ lfs f5, 0(r30) -/* 802C77E8 002C4748 C0 9F 00 CC */ lfs f4, 0xcc(r31) -/* 802C77EC 002C474C C0 1F 00 C8 */ lfs f0, 0xc8(r31) -/* 802C77F0 002C4750 ED 06 20 2A */ fadds f8, f6, f4 -/* 802C77F4 002C4754 C0 5F 00 D0 */ lfs f2, 0xd0(r31) -/* 802C77F8 002C4758 EC 05 00 2A */ fadds f0, f5, f0 -/* 802C77FC 002C475C D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 802C7800 002C4760 EC 87 10 2A */ fadds f4, f7, f2 -/* 802C7804 002C4764 C0 42 C3 CC */ lfs f2, lbl_805AE0EC@sda21(r2) -/* 802C7808 002C4768 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 802C780C 002C476C D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 802C7810 002C4770 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802C7814 002C4774 D1 01 00 34 */ stfs f8, 0x34(r1) -/* 802C7818 002C4778 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802C781C 002C477C 48 04 B9 ED */ bl Scale__12CTransform4fFfff -/* 802C7820 002C4780 38 61 00 9C */ addi r3, r1, 0x9c -/* 802C7824 002C4784 38 81 00 30 */ addi r4, r1, 0x30 -/* 802C7828 002C4788 48 04 B9 19 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802C782C 002C478C 38 61 00 CC */ addi r3, r1, 0xcc -/* 802C7830 002C4790 38 81 00 9C */ addi r4, r1, 0x9c -/* 802C7834 002C4794 38 A1 00 6C */ addi r5, r1, 0x6c -/* 802C7838 002C4798 48 04 B1 19 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C783C 002C479C 38 61 01 2C */ addi r3, r1, 0x12c -/* 802C7840 002C47A0 38 81 00 CC */ addi r4, r1, 0xcc -/* 802C7844 002C47A4 48 04 B3 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C7848 002C47A8 38 61 00 3C */ addi r3, r1, 0x3c -/* 802C784C 002C47AC 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802C7850 002C47B0 38 A1 01 2C */ addi r5, r1, 0x12c -/* 802C7854 002C47B4 48 04 B0 FD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C7858 002C47B8 38 61 00 FC */ addi r3, r1, 0xfc -/* 802C785C 002C47BC 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C7860 002C47C0 48 04 B3 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C7864 002C47C4 38 61 00 FC */ addi r3, r1, 0xfc -/* 802C7868 002C47C8 48 04 4D 79 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802C786C 002C47CC 88 7F 00 AB */ lbz r3, 0xab(r31) -/* 802C7870 002C47D0 3C 00 43 30 */ lis r0, 0x4330 -/* 802C7874 002C47D4 90 01 01 70 */ stw r0, 0x170(r1) -/* 802C7878 002C47D8 C8 22 C3 D8 */ lfd f1, lbl_805AE0F8@sda21(r2) -/* 802C787C 002C47DC 90 61 01 74 */ stw r3, 0x174(r1) -/* 802C7880 002C47E0 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802C7884 002C47E4 C8 01 01 70 */ lfd f0, 0x170(r1) -/* 802C7888 002C47E8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C788C 002C47EC EF E2 00 32 */ fmuls f31, f2, f0 -/* 802C7890 002C47F0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 802C7894 002C47F4 3B DF 00 D4 */ addi r30, r31, 0xd4 -/* 802C7898 002C47F8 80 BF 00 A8 */ lwz r5, 0xa8(r31) -/* 802C789C 002C47FC 7F C3 F3 78 */ mr r3, r30 -/* 802C78A0 002C4800 88 01 00 08 */ lbz r0, 8(r1) -/* 802C78A4 002C4804 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C78A8 002C4808 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 -/* 802C78AC 002C480C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C78B0 002C4810 48 00 1D 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor -/* 802C78B4 002C4814 88 7F 00 B6 */ lbz r3, 0xb6(r31) -/* 802C78B8 002C4818 38 80 00 03 */ li r4, 3 -/* 802C78BC 002C481C 88 1F 00 B7 */ lbz r0, 0xb7(r31) -/* 802C78C0 002C4820 54 63 07 FE */ clrlwi r3, r3, 0x1f -/* 802C78C4 002C4824 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 802C78C8 002C4828 48 04 41 CD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802C78CC 002C482C 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 802C78D0 002C4830 2C 00 00 03 */ cmpwi r0, 3 -/* 802C78D4 002C4834 41 82 00 68 */ beq lbl_802C793C -/* 802C78D8 002C4838 40 80 00 18 */ bge lbl_802C78F0 -/* 802C78DC 002C483C 2C 00 00 02 */ cmpwi r0, 2 -/* 802C78E0 002C4840 40 80 00 3C */ bge lbl_802C791C -/* 802C78E4 002C4844 2C 00 00 00 */ cmpwi r0, 0 -/* 802C78E8 002C4848 40 80 00 14 */ bge lbl_802C78FC -/* 802C78EC 002C484C 48 00 00 E4 */ b lbl_802C79D0 -lbl_802C78F0: -/* 802C78F0 002C4850 2C 00 00 05 */ cmpwi r0, 5 -/* 802C78F4 002C4854 40 80 00 DC */ bge lbl_802C79D0 -/* 802C78F8 002C4858 48 00 00 64 */ b lbl_802C795C -lbl_802C78FC: -/* 802C78FC 002C485C 38 60 00 01 */ li r3, 1 -/* 802C7900 002C4860 38 80 00 01 */ li r4, 1 -/* 802C7904 002C4864 38 A0 00 00 */ li r5, 0 -/* 802C7908 002C4868 38 C0 00 00 */ li r6, 0 -/* 802C790C 002C486C 48 04 41 45 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C7910 002C4870 7F C3 F3 78 */ mr r3, r30 -/* 802C7914 002C4874 48 00 1C 31 */ bl Render__15CGuiTextSupportFv -/* 802C7918 002C4878 48 00 00 B8 */ b lbl_802C79D0 -lbl_802C791C: -/* 802C791C 002C487C 38 60 00 01 */ li r3, 1 -/* 802C7920 002C4880 38 80 00 04 */ li r4, 4 -/* 802C7924 002C4884 38 A0 00 05 */ li r5, 5 -/* 802C7928 002C4888 38 C0 00 00 */ li r6, 0 -/* 802C792C 002C488C 48 04 41 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C7930 002C4890 7F C3 F3 78 */ mr r3, r30 -/* 802C7934 002C4894 48 00 1C 11 */ bl Render__15CGuiTextSupportFv -/* 802C7938 002C4898 48 00 00 98 */ b lbl_802C79D0 -lbl_802C793C: -/* 802C793C 002C489C 38 60 00 01 */ li r3, 1 -/* 802C7940 002C48A0 38 80 00 04 */ li r4, 4 -/* 802C7944 002C48A4 38 A0 00 01 */ li r5, 1 -/* 802C7948 002C48A8 38 C0 00 00 */ li r6, 0 -/* 802C794C 002C48AC 48 04 41 05 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C7950 002C48B0 7F C3 F3 78 */ mr r3, r30 -/* 802C7954 002C48B4 48 00 1B F1 */ bl Render__15CGuiTextSupportFv -/* 802C7958 002C48B8 48 00 00 78 */ b lbl_802C79D0 -lbl_802C795C: -/* 802C795C 002C48BC 38 60 00 01 */ li r3, 1 -/* 802C7960 002C48C0 38 80 00 04 */ li r4, 4 -/* 802C7964 002C48C4 38 A0 00 05 */ li r5, 5 -/* 802C7968 002C48C8 38 C0 00 00 */ li r6, 0 -/* 802C796C 002C48CC 48 04 40 E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C7970 002C48D0 7F C3 F3 78 */ mr r3, r30 -/* 802C7974 002C48D4 48 00 1B D1 */ bl Render__15CGuiTextSupportFv -/* 802C7978 002C48D8 88 C1 00 1B */ lbz r6, 0x1b(r1) -/* 802C797C 002C48DC 38 00 00 FF */ li r0, 0xff -/* 802C7980 002C48E0 98 01 00 17 */ stb r0, 0x17(r1) -/* 802C7984 002C48E4 38 61 00 0C */ addi r3, r1, 0xc -/* 802C7988 002C48E8 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C798C 002C48EC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C7990 002C48F0 98 C1 00 14 */ stb r6, 0x14(r1) -/* 802C7994 002C48F4 98 C1 00 15 */ stb r6, 0x15(r1) -/* 802C7998 002C48F8 98 C1 00 16 */ stb r6, 0x16(r1) -/* 802C799C 002C48FC 48 09 B7 DD */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802C79A0 002C4900 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802C79A4 002C4904 7F C3 F3 78 */ mr r3, r30 -/* 802C79A8 002C4908 38 81 00 10 */ addi r4, r1, 0x10 -/* 802C79AC 002C490C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C79B0 002C4910 48 00 1C 5D */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor -/* 802C79B4 002C4914 38 60 00 01 */ li r3, 1 -/* 802C79B8 002C4918 38 80 00 01 */ li r4, 1 -/* 802C79BC 002C491C 38 A0 00 01 */ li r5, 1 -/* 802C79C0 002C4920 38 C0 00 00 */ li r6, 0 -/* 802C79C4 002C4924 48 04 40 8D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802C79C8 002C4928 7F C3 F3 78 */ mr r3, r30 -/* 802C79CC 002C492C 48 00 1B 79 */ bl Render__15CGuiTextSupportFv -lbl_802C79D0: -/* 802C79D0 002C4930 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 802C79D4 002C4934 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 802C79D8 002C4938 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 802C79DC 002C493C 83 E1 01 8C */ lwz r31, 0x18c(r1) -/* 802C79E0 002C4940 83 C1 01 88 */ lwz r30, 0x188(r1) -/* 802C79E4 002C4944 83 A1 01 84 */ lwz r29, 0x184(r1) -/* 802C79E8 002C4948 7C 08 03 A6 */ mtlr r0 -/* 802C79EC 002C494C 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 802C79F0 002C4950 4E 80 00 20 */ blr - -.global __dt__12CGuiTextPaneFv -__dt__12CGuiTextPaneFv: -/* 802C79F4 002C4954 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C79F8 002C4958 7C 08 02 A6 */ mflr r0 -/* 802C79FC 002C495C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7A00 002C4960 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C7A04 002C4964 7C 9F 23 78 */ mr r31, r4 -/* 802C7A08 002C4968 93 C1 00 08 */ stw r30, 8(r1) -/* 802C7A0C 002C496C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C7A10 002C4970 41 82 00 38 */ beq lbl_802C7A48 -/* 802C7A14 002C4974 3C 80 80 3F */ lis r4, lbl_803EC9B8@ha -/* 802C7A18 002C4978 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 802C7A1C 002C497C 38 04 C9 B8 */ addi r0, r4, lbl_803EC9B8@l -/* 802C7A20 002C4980 38 80 FF FF */ li r4, -1 -/* 802C7A24 002C4984 90 1E 00 00 */ stw r0, 0(r30) -/* 802C7A28 002C4988 48 00 22 71 */ bl __dt__15CGuiTextSupportFv -/* 802C7A2C 002C498C 7F C3 F3 78 */ mr r3, r30 -/* 802C7A30 002C4990 38 80 00 00 */ li r4, 0 -/* 802C7A34 002C4994 4B FF DD F1 */ bl __dt__8CGuiPaneFv -/* 802C7A38 002C4998 7F E0 07 35 */ extsh. r0, r31 -/* 802C7A3C 002C499C 40 81 00 0C */ ble lbl_802C7A48 -/* 802C7A40 002C49A0 7F C3 F3 78 */ mr r3, r30 -/* 802C7A44 002C49A4 48 04 DE ED */ bl Free__7CMemoryFPCv -lbl_802C7A48: -/* 802C7A48 002C49A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7A4C 002C49AC 7F C3 F3 78 */ mr r3, r30 -/* 802C7A50 002C49B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7A54 002C49B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C7A58 002C49B8 7C 08 03 A6 */ mtlr r0 -/* 802C7A5C 002C49BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7A60 002C49C0 4E 80 00 20 */ blr - -.global __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii -__ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii: -/* 802C7A64 002C49C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C7A68 002C49C8 7C 08 02 A6 */ mflr r0 -/* 802C7A6C 002C49CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C7A70 002C49D0 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 802C7A74 002C49D4 7C B9 2B 78 */ mr r25, r5 -/* 802C7A78 002C49D8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802C7A7C 002C49DC 7C 78 1B 78 */ mr r24, r3 -/* 802C7A80 002C49E0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802C7A84 002C49E4 7C FA 3B 78 */ mr r26, r7 -/* 802C7A88 002C49E8 7D 1B 43 78 */ mr r27, r8 -/* 802C7A8C 002C49EC 7D 3C 4B 78 */ mr r28, r9 -/* 802C7A90 002C49F0 7D 5D 53 78 */ mr r29, r10 -/* 802C7A94 002C49F4 7C C5 33 78 */ mr r5, r6 -/* 802C7A98 002C49F8 4B FF DE 05 */ bl __ct__8CGuiPaneFRCQ210CGuiWidget15CGuiWidgetParmsffRC9CVector3f -/* 802C7A9C 002C49FC 3C 60 80 3F */ lis r3, lbl_803EC9B8@ha -/* 802C7AA0 002C4A00 38 03 C9 B8 */ addi r0, r3, lbl_803EC9B8@l -/* 802C7AA4 002C4A04 90 18 00 00 */ stw r0, 0(r24) -/* 802C7AA8 002C4A08 48 08 25 05 */ bl White__6CColorFv -/* 802C7AAC 002C4A0C 93 21 00 08 */ stw r25, 8(r1) -/* 802C7AB0 002C4A10 7C 68 1B 78 */ mr r8, r3 -/* 802C7AB4 002C4A14 7F 44 D3 78 */ mr r4, r26 -/* 802C7AB8 002C4A18 7F 65 DB 78 */ mr r5, r27 -/* 802C7ABC 002C4A1C 7F 86 E3 78 */ mr r6, r28 -/* 802C7AC0 002C4A20 7F A7 EB 78 */ mr r7, r29 -/* 802C7AC4 002C4A24 7F C9 F3 78 */ mr r9, r30 -/* 802C7AC8 002C4A28 7F EA FB 78 */ mr r10, r31 -/* 802C7ACC 002C4A2C 38 78 00 D4 */ addi r3, r24, 0xd4 -/* 802C7AD0 002C4A30 48 00 23 6D */ bl __ct__15CGuiTextSupportFv -/* 802C7AD4 002C4A34 7F 03 C3 78 */ mr r3, r24 -/* 802C7AD8 002C4A38 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 802C7ADC 002C4A3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C7AE0 002C4A40 7C 08 03 A6 */ mtlr r0 -/* 802C7AE4 002C4A44 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C7AE8 002C4A48 4E 80 00 20 */ blr - -.global Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb -Create__12CGuiTextPaneFP9CGuiFrameR12CInputStreamb: -/* 802C7AEC 002C4A4C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 802C7AF0 002C4A50 7C 08 02 A6 */ mflr r0 -/* 802C7AF4 002C4A54 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802C7AF8 002C4A58 DB E1 00 B8 */ stfd f31, 0xb8(r1) -/* 802C7AFC 002C4A5C DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802C7B00 002C4A60 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 802C7B04 002C4A64 7C 7D 1B 78 */ mr r29, r3 -/* 802C7B08 002C4A68 7C 9E 23 78 */ mr r30, r4 -/* 802C7B0C 002C4A6C 7C BF 2B 78 */ mr r31, r5 -/* 802C7B10 002C4A70 38 61 00 44 */ addi r3, r1, 0x44 -/* 802C7B14 002C4A74 7F A4 EB 78 */ mr r4, r29 -/* 802C7B18 002C4A78 7F C5 F3 78 */ mr r5, r30 -/* 802C7B1C 002C4A7C 48 00 32 35 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802C7B20 002C4A80 83 61 00 44 */ lwz r27, 0x44(r1) -/* 802C7B24 002C4A84 7F C3 F3 78 */ mr r3, r30 -/* 802C7B28 002C4A88 89 81 00 48 */ lbz r12, 0x48(r1) -/* 802C7B2C 002C4A8C A9 61 00 4A */ lha r11, 0x4a(r1) -/* 802C7B30 002C4A90 A9 41 00 4C */ lha r10, 0x4c(r1) -/* 802C7B34 002C4A94 89 21 00 4E */ lbz r9, 0x4e(r1) -/* 802C7B38 002C4A98 89 01 00 4F */ lbz r8, 0x4f(r1) -/* 802C7B3C 002C4A9C 88 E1 00 50 */ lbz r7, 0x50(r1) -/* 802C7B40 002C4AA0 88 C1 00 51 */ lbz r6, 0x51(r1) -/* 802C7B44 002C4AA4 88 A1 00 52 */ lbz r5, 0x52(r1) -/* 802C7B48 002C4AA8 80 81 00 54 */ lwz r4, 0x54(r1) -/* 802C7B4C 002C4AAC 80 01 00 58 */ lwz r0, 0x58(r1) -/* 802C7B50 002C4AB0 93 61 00 5C */ stw r27, 0x5c(r1) -/* 802C7B54 002C4AB4 99 81 00 60 */ stb r12, 0x60(r1) -/* 802C7B58 002C4AB8 B1 61 00 62 */ sth r11, 0x62(r1) -/* 802C7B5C 002C4ABC B1 41 00 64 */ sth r10, 0x64(r1) -/* 802C7B60 002C4AC0 99 21 00 66 */ stb r9, 0x66(r1) -/* 802C7B64 002C4AC4 99 01 00 67 */ stb r8, 0x67(r1) -/* 802C7B68 002C4AC8 98 E1 00 68 */ stb r7, 0x68(r1) -/* 802C7B6C 002C4ACC 98 C1 00 69 */ stb r6, 0x69(r1) -/* 802C7B70 002C4AD0 98 A1 00 6A */ stb r5, 0x6a(r1) -/* 802C7B74 002C4AD4 90 81 00 6C */ stw r4, 0x6c(r1) -/* 802C7B78 002C4AD8 90 01 00 70 */ stw r0, 0x70(r1) -/* 802C7B7C 002C4ADC 48 07 70 AD */ bl ReadFloat__12CInputStreamFv -/* 802C7B80 002C4AE0 FF E0 08 90 */ fmr f31, f1 -/* 802C7B84 002C4AE4 7F C3 F3 78 */ mr r3, r30 -/* 802C7B88 002C4AE8 48 07 70 A1 */ bl ReadFloat__12CInputStreamFv -/* 802C7B8C 002C4AEC FF C0 08 90 */ fmr f30, f1 -/* 802C7B90 002C4AF0 7F C4 F3 78 */ mr r4, r30 -/* 802C7B94 002C4AF4 38 61 00 38 */ addi r3, r1, 0x38 -/* 802C7B98 002C4AF8 48 04 CF F5 */ bl __ct__9CVector3fFR12CInputStream -/* 802C7B9C 002C4AFC 7F C3 F3 78 */ mr r3, r30 -/* 802C7BA0 002C4B00 48 07 70 E5 */ bl ReadLong__12CInputStreamFv -/* 802C7BA4 002C4B04 7C 60 1B 78 */ mr r0, r3 -/* 802C7BA8 002C4B08 7F C3 F3 78 */ mr r3, r30 -/* 802C7BAC 002C4B0C 7C 17 03 78 */ mr r23, r0 -/* 802C7BB0 002C4B10 48 07 71 2D */ bl ReadBool__12CInputStreamFv -/* 802C7BB4 002C4B14 7C 7B 1B 78 */ mr r27, r3 -/* 802C7BB8 002C4B18 7F C3 F3 78 */ mr r3, r30 -/* 802C7BBC 002C4B1C 48 07 71 21 */ bl ReadBool__12CInputStreamFv -/* 802C7BC0 002C4B20 7C 7C 1B 78 */ mr r28, r3 -/* 802C7BC4 002C4B24 7F C3 F3 78 */ mr r3, r30 -/* 802C7BC8 002C4B28 48 07 70 BD */ bl ReadLong__12CInputStreamFv -/* 802C7BCC 002C4B2C 7C 7A 1B 78 */ mr r26, r3 -/* 802C7BD0 002C4B30 7F C3 F3 78 */ mr r3, r30 -/* 802C7BD4 002C4B34 48 07 70 B1 */ bl ReadLong__12CInputStreamFv -/* 802C7BD8 002C4B38 7C 79 1B 78 */ mr r25, r3 -/* 802C7BDC 002C4B3C 7F C4 F3 78 */ mr r4, r30 -/* 802C7BE0 002C4B40 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C7BE4 002C4B44 48 09 B8 69 */ bl __ct__6CColorFR12CInputStream -/* 802C7BE8 002C4B48 7F C4 F3 78 */ mr r4, r30 -/* 802C7BEC 002C4B4C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802C7BF0 002C4B50 48 09 B8 5D */ bl __ct__6CColorFR12CInputStream -/* 802C7BF4 002C4B54 7F C3 F3 78 */ mr r3, r30 -/* 802C7BF8 002C4B58 48 07 70 31 */ bl ReadFloat__12CInputStreamFv -/* 802C7BFC 002C4B5C FC 00 08 1E */ fctiwz f0, f1 -/* 802C7C00 002C4B60 7F C3 F3 78 */ mr r3, r30 -/* 802C7C04 002C4B64 D8 01 00 78 */ stfd f0, 0x78(r1) -/* 802C7C08 002C4B68 83 01 00 7C */ lwz r24, 0x7c(r1) -/* 802C7C0C 002C4B6C 48 07 70 1D */ bl ReadFloat__12CInputStreamFv -/* 802C7C10 002C4B70 FC 00 08 1E */ fctiwz f0, f1 -/* 802C7C14 002C4B74 7F 46 D3 78 */ mr r6, r26 -/* 802C7C18 002C4B78 7F 27 CB 78 */ mr r7, r25 -/* 802C7C1C 002C4B7C 38 61 00 28 */ addi r3, r1, 0x28 -/* 802C7C20 002C4B80 57 64 06 3E */ clrlwi r4, r27, 0x18 -/* 802C7C24 002C4B84 57 85 06 3E */ clrlwi r5, r28, 0x18 -/* 802C7C28 002C4B88 D8 01 00 80 */ stfd f0, 0x80(r1) -/* 802C7C2C 002C4B8C 39 00 00 00 */ li r8, 0 -/* 802C7C30 002C4B90 83 21 00 84 */ lwz r25, 0x84(r1) -/* 802C7C34 002C4B94 48 00 24 11 */ bl __ct__18CGuiTextPropertiesFv -/* 802C7C38 002C4B98 3C 80 80 3D */ lis r4, lbl_803D68D8@ha -/* 802C7C3C 002C4B9C 38 60 03 E0 */ li r3, 0x3e0 -/* 802C7C40 002C4BA0 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l -/* 802C7C44 002C4BA4 38 A0 00 00 */ li r5, 0 -/* 802C7C48 002C4BA8 48 04 DC 25 */ bl __nw__FUlPCcPCc -/* 802C7C4C 002C4BAC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 802C7C50 002C4BB0 41 82 00 38 */ beq lbl_802C7C88 -/* 802C7C54 002C4BB4 93 01 00 08 */ stw r24, 8(r1) -/* 802C7C58 002C4BB8 FC 20 F8 90 */ fmr f1, f31 -/* 802C7C5C 002C4BBC FC 40 F0 90 */ fmr f2, f30 -/* 802C7C60 002C4BC0 7F E5 FB 78 */ mr r5, r31 -/* 802C7C64 002C4BC4 93 21 00 0C */ stw r25, 0xc(r1) -/* 802C7C68 002C4BC8 7E E7 BB 78 */ mr r7, r23 -/* 802C7C6C 002C4BCC 38 81 00 5C */ addi r4, r1, 0x5c -/* 802C7C70 002C4BD0 38 C1 00 38 */ addi r6, r1, 0x38 -/* 802C7C74 002C4BD4 39 01 00 28 */ addi r8, r1, 0x28 -/* 802C7C78 002C4BD8 39 21 00 14 */ addi r9, r1, 0x14 -/* 802C7C7C 002C4BDC 39 41 00 10 */ addi r10, r1, 0x10 -/* 802C7C80 002C4BE0 4B FF FD E5 */ bl __ct__12CGuiTextPaneFRCQ210CGuiWidget15CGuiWidgetParmsP11CSimplePoolRC9CVector2fRC9CVector3fUiRC18CGuiTextPropertiesRC6CColorRC6CColorii -/* 802C7C84 002C4BE4 7C 7A 1B 78 */ mr r26, r3 -lbl_802C7C88: -/* 802C7C88 002C4BE8 7F 43 D3 78 */ mr r3, r26 -/* 802C7C8C 002C4BEC 7F A4 EB 78 */ mr r4, r29 -/* 802C7C90 002C4BF0 7F C5 F3 78 */ mr r5, r30 -/* 802C7C94 002C4BF4 38 C1 00 5C */ addi r6, r1, 0x5c -/* 802C7C98 002C4BF8 48 00 2D F1 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802C7C9C 002C4BFC 7F 43 D3 78 */ mr r3, r26 -/* 802C7CA0 002C4C00 81 9A 00 00 */ lwz r12, 0(r26) -/* 802C7CA4 002C4C04 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802C7CA8 002C4C08 7D 89 03 A6 */ mtctr r12 -/* 802C7CAC 002C4C0C 4E 80 04 21 */ bctrl -/* 802C7CB0 002C4C10 3C 80 80 3D */ lis r4, lbl_803D68D8@ha -/* 802C7CB4 002C4C14 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C7CB8 002C4C18 38 84 68 D8 */ addi r4, r4, lbl_803D68D8@l -/* 802C7CBC 002C4C1C 38 84 00 07 */ addi r4, r4, 7 -/* 802C7CC0 002C4C20 4B D3 CF F9 */ bl string_l__4rstlFPCc -/* 802C7CC4 002C4C24 38 7A 00 D4 */ addi r3, r26, 0xd4 -/* 802C7CC8 002C4C28 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C7CCC 002C4C2C 38 A0 00 00 */ li r5, 0 -/* 802C7CD0 002C4C30 48 00 1E 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C7CD4 002C4C34 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C7CD8 002C4C38 48 07 5E 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C7CDC 002C4C3C CB E1 00 B8 */ lfd f31, 0xb8(r1) -/* 802C7CE0 002C4C40 7F 43 D3 78 */ mr r3, r26 -/* 802C7CE4 002C4C44 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802C7CE8 002C4C48 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 802C7CEC 002C4C4C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802C7CF0 002C4C50 7C 08 03 A6 */ mtlr r0 -/* 802C7CF4 002C4C54 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802C7CF8 002C4C58 4E 80 00 20 */ blr - -.global sub_802c7cfc -sub_802c7cfc: -/* 802C7CFC 002C4C5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7D00 002C4C60 7C 08 02 A6 */ mflr r0 -/* 802C7D04 002C4C64 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7D08 002C4C68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C7D0C 002C4C6C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C7D10 002C4C70 7C 9E 23 78 */ mr r30, r4 -/* 802C7D14 002C4C74 83 E3 00 00 */ lwz r31, 0(r3) -/* 802C7D18 002C4C78 48 00 00 10 */ b lbl_802C7D28 -lbl_802C7D1C: -/* 802C7D1C 002C4C7C 7F E3 FB 78 */ mr r3, r31 -/* 802C7D20 002C4C80 48 00 00 2D */ bl sub_802c7d4c -/* 802C7D24 002C4C84 3B FF 00 1C */ addi r31, r31, 0x1c -lbl_802C7D28: -/* 802C7D28 002C4C88 80 1E 00 00 */ lwz r0, 0(r30) -/* 802C7D2C 002C4C8C 7C 1F 00 40 */ cmplw r31, r0 -/* 802C7D30 002C4C90 40 82 FF EC */ bne lbl_802C7D1C -/* 802C7D34 002C4C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7D38 002C4C98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7D3C 002C4C9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C7D40 002C4CA0 7C 08 03 A6 */ mtlr r0 -/* 802C7D44 002C4CA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7D48 002C4CA8 4E 80 00 20 */ blr - -.global sub_802c7d4c -sub_802c7d4c: -/* 802C7D4C 002C4CAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7D50 002C4CB0 7C 08 02 A6 */ mflr r0 -/* 802C7D54 002C4CB4 38 80 FF FF */ li r4, -1 -/* 802C7D58 002C4CB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7D5C 002C4CBC 4B D6 0E A1 */ bl sub_80028bfc -/* 802C7D60 002C4CC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7D64 002C4CC4 7C 08 03 A6 */ mtlr r0 -/* 802C7D68 002C4CC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7D6C 002C4CCC 4E 80 00 20 */ blr - -.global GetBounds__15CGuiTextSupportFv -GetBounds__15CGuiTextSupportFv: -/* 802C7D70 002C4CD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7D74 002C4CD4 7C 08 02 A6 */ mflr r0 -/* 802C7D78 002C4CD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7D7C 002C4CDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C7D80 002C4CE0 7C 7F 1B 78 */ mr r31, r3 -/* 802C7D84 002C4CE4 48 00 0D A9 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv -/* 802C7D88 002C4CE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7D8C 002C4CEC 38 7F 02 DC */ addi r3, r31, 0x2dc -/* 802C7D90 002C4CF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7D94 002C4CF4 7C 08 03 A6 */ mtlr r0 -/* 802C7D98 002C4CF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7D9C 002C4CFC 4E 80 00 20 */ blr - -.global GetCurrentPageRenderBuffer__15CGuiTextSupportFv -GetCurrentPageRenderBuffer__15CGuiTextSupportFv: -/* 802C7DA0 002C4D00 88 03 02 B8 */ lbz r0, 0x2b8(r3) -/* 802C7DA4 002C4D04 28 00 00 00 */ cmplwi r0, 0 -/* 802C7DA8 002C4D08 41 82 00 18 */ beq lbl_802C7DC0 -/* 802C7DAC 002C4D0C 88 03 03 08 */ lbz r0, 0x308(r3) -/* 802C7DB0 002C4D10 28 00 00 00 */ cmplwi r0, 0 -/* 802C7DB4 002C4D14 40 82 00 0C */ bne lbl_802C7DC0 -/* 802C7DB8 002C4D18 38 63 00 60 */ addi r3, r3, 0x60 -/* 802C7DBC 002C4D1C 4E 80 00 20 */ blr -lbl_802C7DC0: -/* 802C7DC0 002C4D20 88 03 03 08 */ lbz r0, 0x308(r3) -/* 802C7DC4 002C4D24 28 00 00 00 */ cmplwi r0, 0 -/* 802C7DC8 002C4D28 41 82 00 38 */ beq lbl_802C7E00 -/* 802C7DCC 002C4D2C 80 03 03 00 */ lwz r0, 0x300(r3) -/* 802C7DD0 002C4D30 80 83 03 04 */ lwz r4, 0x304(r3) -/* 802C7DD4 002C4D34 7C 00 20 00 */ cmpw r0, r4 -/* 802C7DD8 002C4D38 40 81 00 28 */ ble lbl_802C7E00 -/* 802C7DDC 002C4D3C 38 A0 00 00 */ li r5, 0 -/* 802C7DE0 002C4D40 80 63 02 F0 */ lwz r3, 0x2f0(r3) -lbl_802C7DE4: -/* 802C7DE4 002C4D44 7C 05 20 00 */ cmpw r5, r4 -/* 802C7DE8 002C4D48 40 82 00 0C */ bne lbl_802C7DF4 -/* 802C7DEC 002C4D4C 38 63 00 08 */ addi r3, r3, 8 -/* 802C7DF0 002C4D50 4E 80 00 20 */ blr -lbl_802C7DF4: -/* 802C7DF4 002C4D54 80 63 00 04 */ lwz r3, 4(r3) -/* 802C7DF8 002C4D58 38 A5 00 01 */ addi r5, r5, 1 -/* 802C7DFC 002C4D5C 4B FF FF E8 */ b lbl_802C7DE4 -lbl_802C7E00: -/* 802C7E00 002C4D60 38 60 00 00 */ li r3, 0 -/* 802C7E04 002C4D64 4E 80 00 20 */ blr - -.global SetPage__15CGuiTextSupportFi -SetPage__15CGuiTextSupportFi: -/* 802C7E08 002C4D68 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C7E0C 002C4D6C 90 83 03 04 */ stw r4, 0x304(r3) -/* 802C7E10 002C4D70 80 03 00 44 */ lwz r0, 0x44(r3) -/* 802C7E14 002C4D74 80 83 00 4C */ lwz r4, 0x4c(r3) -/* 802C7E18 002C4D78 54 00 18 38 */ slwi r0, r0, 3 -/* 802C7E1C 002C4D7C 7C 04 02 14 */ add r0, r4, r0 -/* 802C7E20 002C4D80 90 81 00 0C */ stw r4, 0xc(r1) -/* 802C7E24 002C4D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7E28 002C4D88 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C7E2C 002C4D8C 90 81 00 08 */ stw r4, 8(r1) -/* 802C7E30 002C4D90 48 00 00 08 */ b lbl_802C7E38 -lbl_802C7E34: -/* 802C7E34 002C4D94 38 84 00 08 */ addi r4, r4, 8 -lbl_802C7E38: -/* 802C7E38 002C4D98 7C 04 00 40 */ cmplw r4, r0 -/* 802C7E3C 002C4D9C 40 82 FF F8 */ bne lbl_802C7E34 -/* 802C7E40 002C4DA0 38 00 00 00 */ li r0, 0 -/* 802C7E44 002C4DA4 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) -/* 802C7E48 002C4DA8 90 03 00 44 */ stw r0, 0x44(r3) -/* 802C7E4C 002C4DAC D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 802C7E50 002C4DB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C7E54 002C4DB4 4E 80 00 20 */ blr - -.global GetTotalPageCount__15CGuiTextSupportFv -GetTotalPageCount__15CGuiTextSupportFv: -/* 802C7E58 002C4DB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C7E5C 002C4DBC 7C 08 02 A6 */ mflr r0 -/* 802C7E60 002C4DC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C7E64 002C4DC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C7E68 002C4DC8 7C 7F 1B 78 */ mr r31, r3 -/* 802C7E6C 002C4DCC 48 00 0C C1 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv -/* 802C7E70 002C4DD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C7E74 002C4DD4 41 82 00 0C */ beq lbl_802C7E80 -/* 802C7E78 002C4DD8 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 802C7E7C 002C4DDC 48 00 00 08 */ b lbl_802C7E84 -lbl_802C7E80: -/* 802C7E80 002C4DE0 38 60 FF FF */ li r3, -1 -lbl_802C7E84: -/* 802C7E84 002C4DE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C7E88 002C4DE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C7E8C 002C4DEC 7C 08 03 A6 */ mtlr r0 -/* 802C7E90 002C4DF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C7E94 002C4DF4 4E 80 00 20 */ blr - -.global GetCurrentAnimationOverAge__15CGuiTextSupportFv -GetCurrentAnimationOverAge__15CGuiTextSupportFv: -/* 802C7E98 002C4DF8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C7E9C 002C4DFC 7C 08 02 A6 */ mflr r0 -/* 802C7EA0 002C4E00 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) -/* 802C7EA4 002C4E04 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C7EA8 002C4E08 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C7EAC 002C4E0C 7C 7F 1B 78 */ mr r31, r3 -/* 802C7EB0 002C4E10 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C7EB4 002C4E14 4B FF FE ED */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C7EB8 002C4E18 28 03 00 00 */ cmplwi r3, 0 -/* 802C7EBC 002C4E1C 41 82 00 D8 */ beq lbl_802C7F94 -/* 802C7EC0 002C4E20 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802C7EC4 002C4E24 28 00 00 00 */ cmplwi r0, 0 -/* 802C7EC8 002C4E28 41 82 00 CC */ beq lbl_802C7F94 -/* 802C7ECC 002C4E2C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802C7ED0 002C4E30 2C 04 00 00 */ cmpwi r4, 0 -/* 802C7ED4 002C4E34 41 82 00 74 */ beq lbl_802C7F48 -/* 802C7ED8 002C4E38 38 04 FF FF */ addi r0, r4, -1 -/* 802C7EDC 002C4E3C 80 BF 00 4C */ lwz r5, 0x4c(r31) -/* 802C7EE0 002C4E40 54 04 18 38 */ slwi r4, r0, 3 -/* 802C7EE4 002C4E44 3C 00 43 30 */ lis r0, 0x4330 -/* 802C7EE8 002C4E48 7C A5 22 14 */ add r5, r5, r4 -/* 802C7EEC 002C4E4C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802C7EF0 002C4E50 80 85 00 04 */ lwz r4, 4(r5) -/* 802C7EF4 002C4E54 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C7EF8 002C4E58 7C 04 18 50 */ subf r0, r4, r3 -/* 802C7EFC 002C4E5C C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) -/* 802C7F00 002C4E60 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802C7F04 002C4E64 C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 802C7F08 002C4E68 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C7F0C 002C4E6C C0 85 00 00 */ lfs f4, 0(r5) -/* 802C7F10 002C4E70 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 802C7F14 002C4E74 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802C7F18 002C4E78 EC 42 18 28 */ fsubs f2, f2, f3 -/* 802C7F1C 002C4E7C EC 22 08 24 */ fdivs f1, f2, f1 -/* 802C7F20 002C4E80 EC 24 08 2A */ fadds f1, f4, f1 -/* 802C7F24 002C4E84 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C7F28 002C4E88 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C7F2C 002C4E8C 40 80 00 0C */ bge lbl_802C7F38 -/* 802C7F30 002C4E90 38 61 00 0C */ addi r3, r1, 0xc -/* 802C7F34 002C4E94 48 00 00 08 */ b lbl_802C7F3C -lbl_802C7F38: -/* 802C7F38 002C4E98 38 61 00 10 */ addi r3, r1, 0x10 -lbl_802C7F3C: -/* 802C7F3C 002C4E9C C0 03 00 00 */ lfs f0, 0(r3) -/* 802C7F40 002C4EA0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C7F44 002C4EA4 48 00 00 50 */ b lbl_802C7F94 -lbl_802C7F48: -/* 802C7F48 002C4EA8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802C7F4C 002C4EAC 3C 00 43 30 */ lis r0, 0x4330 -/* 802C7F50 002C4EB0 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C7F54 002C4EB4 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802C7F58 002C4EB8 C8 62 C3 E8 */ lfd f3, lbl_805AE108@sda21(r2) -/* 802C7F5C 002C4EBC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C7F60 002C4EC0 C0 3F 00 58 */ lfs f1, 0x58(r31) -/* 802C7F64 002C4EC4 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 802C7F68 002C4EC8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802C7F6C 002C4ECC EC 42 18 28 */ fsubs f2, f2, f3 -/* 802C7F70 002C4ED0 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802C7F74 002C4ED4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C7F78 002C4ED8 D0 21 00 08 */ stfs f1, 8(r1) -/* 802C7F7C 002C4EDC 40 80 00 0C */ bge lbl_802C7F88 -/* 802C7F80 002C4EE0 38 61 00 08 */ addi r3, r1, 8 -/* 802C7F84 002C4EE4 48 00 00 08 */ b lbl_802C7F8C -lbl_802C7F88: -/* 802C7F88 002C4EE8 38 61 00 10 */ addi r3, r1, 0x10 -lbl_802C7F8C: -/* 802C7F8C 002C4EEC C0 03 00 00 */ lfs f0, 0(r3) -/* 802C7F90 002C4EF0 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_802C7F94: -/* 802C7F94 002C4EF4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C7F98 002C4EF8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802C7F9C 002C4EFC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C7FA0 002C4F00 7C 08 03 A6 */ mtlr r0 -/* 802C7FA4 002C4F04 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C7FA8 002C4F08 4E 80 00 20 */ blr - -.global GetNumCharsTotal__15CGuiTextSupportCFv -GetNumCharsTotal__15CGuiTextSupportCFv: -/* 802C7FAC 002C4F0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C7FB0 002C4F10 7C 08 02 A6 */ mflr r0 -/* 802C7FB4 002C4F14 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C7FB8 002C4F18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C7FBC 002C4F1C 7C 7F 1B 78 */ mr r31, r3 -/* 802C7FC0 002C4F20 4B FF FD E1 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C7FC4 002C4F24 28 03 00 00 */ cmplwi r3, 0 -/* 802C7FC8 002C4F28 41 82 00 34 */ beq lbl_802C7FFC -/* 802C7FCC 002C4F2C 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802C7FD0 002C4F30 28 00 00 00 */ cmplwi r0, 0 -/* 802C7FD4 002C4F34 41 82 00 28 */ beq lbl_802C7FFC -/* 802C7FD8 002C4F38 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802C7FDC 002C4F3C 3C 00 43 30 */ lis r0, 0x4330 -/* 802C7FE0 002C4F40 90 01 00 08 */ stw r0, 8(r1) -/* 802C7FE4 002C4F44 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802C7FE8 002C4F48 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) -/* 802C7FEC 002C4F4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802C7FF0 002C4F50 C8 01 00 08 */ lfd f0, 8(r1) -/* 802C7FF4 002C4F54 EC 20 08 28 */ fsubs f1, f0, f1 -/* 802C7FF8 002C4F58 48 00 00 08 */ b lbl_802C8000 -lbl_802C7FFC: -/* 802C7FFC 002C4F5C C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) -lbl_802C8000: -/* 802C8000 002C4F60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8004 002C4F64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C8008 002C4F68 7C 08 03 A6 */ mtlr r0 -/* 802C800C 002C4F6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8010 002C4F70 4E 80 00 20 */ blr - -.global GetNumCharactersPrinted__15CGuiTextSupportCFv -GetNumCharactersPrinted__15CGuiTextSupportCFv: -/* 802C8014 002C4F74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8018 002C4F78 7C 08 02 A6 */ mflr r0 -/* 802C801C 002C4F7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8020 002C4F80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C8024 002C4F84 7C 7F 1B 78 */ mr r31, r3 -/* 802C8028 002C4F88 4B FF FD 79 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C802C 002C4F8C 28 03 00 00 */ cmplwi r3, 0 -/* 802C8030 002C4F90 41 82 00 60 */ beq lbl_802C8090 -/* 802C8034 002C4F94 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802C8038 002C4F98 28 00 00 00 */ cmplwi r0, 0 -/* 802C803C 002C4F9C 41 82 00 54 */ beq lbl_802C8090 -/* 802C8040 002C4FA0 C0 3F 00 3C */ lfs f1, 0x3c(r31) -/* 802C8044 002C4FA4 3C 00 43 30 */ lis r0, 0x4330 -/* 802C8048 002C4FA8 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 802C804C 002C4FAC 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C8050 002C4FB0 EC 41 00 32 */ fmuls f2, f1, f0 -/* 802C8054 002C4FB4 C8 22 C3 E8 */ lfd f1, lbl_805AE108@sda21(r2) -/* 802C8058 002C4FB8 D0 41 00 08 */ stfs f2, 8(r1) -/* 802C805C 002C4FBC 80 03 00 28 */ lwz r0, 0x28(r3) -/* 802C8060 002C4FC0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802C8064 002C4FC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8068 002C4FC8 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802C806C 002C4FCC EC 00 08 28 */ fsubs f0, f0, f1 -/* 802C8070 002C4FD0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802C8074 002C4FD4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802C8078 002C4FD8 40 80 00 0C */ bge lbl_802C8084 -/* 802C807C 002C4FDC 38 61 00 08 */ addi r3, r1, 8 -/* 802C8080 002C4FE0 48 00 00 08 */ b lbl_802C8088 -lbl_802C8084: -/* 802C8084 002C4FE4 38 61 00 0C */ addi r3, r1, 0xc -lbl_802C8088: -/* 802C8088 002C4FE8 C0 23 00 00 */ lfs f1, 0(r3) -/* 802C808C 002C4FEC 48 00 00 08 */ b lbl_802C8094 -lbl_802C8090: -/* 802C8090 002C4FF0 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) -lbl_802C8094: -/* 802C8094 002C4FF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8098 002C4FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C809C 002C4FFC 7C 08 03 A6 */ mtlr r0 -/* 802C80A0 002C5000 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C80A4 002C5004 4E 80 00 20 */ blr - -.global GetTotalAnimationTime__15CGuiTextSupportCFv -GetTotalAnimationTime__15CGuiTextSupportCFv: -/* 802C80A8 002C5008 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C80AC 002C500C 7C 08 02 A6 */ mflr r0 -/* 802C80B0 002C5010 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C80B4 002C5014 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C80B8 002C5018 7C 7F 1B 78 */ mr r31, r3 -/* 802C80BC 002C501C 4B FF FC E5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C80C0 002C5020 28 03 00 00 */ cmplwi r3, 0 -/* 802C80C4 002C5024 41 82 00 3C */ beq lbl_802C8100 -/* 802C80C8 002C5028 88 1F 00 50 */ lbz r0, 0x50(r31) -/* 802C80CC 002C502C 28 00 00 00 */ cmplwi r0, 0 -/* 802C80D0 002C5030 41 82 00 30 */ beq lbl_802C8100 -/* 802C80D4 002C5034 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802C80D8 002C5038 3C 00 43 30 */ lis r0, 0x4330 -/* 802C80DC 002C503C 90 01 00 08 */ stw r0, 8(r1) -/* 802C80E0 002C5040 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802C80E4 002C5044 C8 42 C3 E8 */ lfd f2, lbl_805AE108@sda21(r2) -/* 802C80E8 002C5048 90 01 00 0C */ stw r0, 0xc(r1) -/* 802C80EC 002C504C C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 802C80F0 002C5050 C8 21 00 08 */ lfd f1, 8(r1) -/* 802C80F4 002C5054 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802C80F8 002C5058 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802C80FC 002C505C 48 00 00 08 */ b lbl_802C8104 -lbl_802C8100: -/* 802C8100 002C5060 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) -lbl_802C8104: -/* 802C8104 002C5064 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8108 002C5068 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C810C 002C506C 7C 08 03 A6 */ mtlr r0 -/* 802C8110 002C5070 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8114 002C5074 4E 80 00 20 */ blr - -.global SetTypeWriteEffectOptions__15CGuiTextSupportFbff -SetTypeWriteEffectOptions__15CGuiTextSupportFbff: -/* 802C8118 002C5078 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C811C 002C507C D0 21 00 08 */ stfs f1, 8(r1) -/* 802C8120 002C5080 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802C8124 002C5084 98 83 00 50 */ stb r4, 0x50(r3) -/* 802C8128 002C5088 C0 21 00 08 */ lfs f1, 8(r1) -/* 802C812C 002C508C C0 0D 9B 10 */ lfs f0, lbl_805A86D0@sda21(r13) -/* 802C8130 002C5090 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C8134 002C5094 40 80 00 0C */ bge lbl_802C8140 -/* 802C8138 002C5098 38 8D 9B 10 */ addi r4, r13, lbl_805A86D0@sda21 -/* 802C813C 002C509C 48 00 00 08 */ b lbl_802C8144 -lbl_802C8140: -/* 802C8140 002C50A0 38 81 00 08 */ addi r4, r1, 8 -lbl_802C8144: -/* 802C8144 002C50A4 C0 04 00 00 */ lfs f0, 0(r4) -/* 802C8148 002C50A8 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802C814C 002C50AC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802C8150 002C50B0 C0 0D 9B 14 */ lfs f0, lbl_805A86D4@sda21(r13) -/* 802C8154 002C50B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C8158 002C50B8 40 80 00 0C */ bge lbl_802C8164 -/* 802C815C 002C50BC 38 8D 9B 14 */ addi r4, r13, lbl_805A86D4@sda21 -/* 802C8160 002C50C0 48 00 00 08 */ b lbl_802C8168 -lbl_802C8164: -/* 802C8164 002C50C4 38 81 00 0C */ addi r4, r1, 0xc -lbl_802C8168: -/* 802C8168 002C50C8 C0 04 00 00 */ lfs f0, 0(r4) -/* 802C816C 002C50CC D0 03 00 58 */ stfs f0, 0x58(r3) -/* 802C8170 002C50D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8174 002C50D4 4E 80 00 20 */ blr - -.global Update__15CGuiTextSupportFf -Update__15CGuiTextSupportFf: -/* 802C8178 002C50D8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802C817C 002C50DC 7C 08 02 A6 */ mflr r0 -/* 802C8180 002C50E0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802C8184 002C50E4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802C8188 002C50E8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802C818C 002C50EC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 802C8190 002C50F0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 802C8194 002C50F4 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 802C8198 002C50F8 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 802C819C 002C50FC DB 81 00 60 */ stfd f28, 0x60(r1) -/* 802C81A0 002C5100 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 802C81A4 002C5104 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 802C81A8 002C5108 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 802C81AC 002C510C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802C81B0 002C5110 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802C81B4 002C5114 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802C81B8 002C5118 7C 7E 1B 78 */ mr r30, r3 -/* 802C81BC 002C511C FF 60 08 90 */ fmr f27, f1 -/* 802C81C0 002C5120 88 03 00 50 */ lbz r0, 0x50(r3) -/* 802C81C4 002C5124 28 00 00 00 */ cmplwi r0, 0 -/* 802C81C8 002C5128 41 82 01 40 */ beq lbl_802C8308 -/* 802C81CC 002C512C 4B FF FB D5 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C81D0 002C5130 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802C81D4 002C5134 41 82 01 28 */ beq lbl_802C82FC -/* 802C81D8 002C5138 C3 82 C3 E0 */ lfs f28, lbl_805AE100@sda21(r2) -/* 802C81DC 002C513C 3B E0 00 00 */ li r31, 0 -/* 802C81E0 002C5140 C3 C2 C3 F0 */ lfs f30, lbl_805AE110@sda21(r2) -/* 802C81E4 002C5144 C3 E2 C3 F4 */ lfs f31, lbl_805AE114@sda21(r2) -/* 802C81E8 002C5148 48 00 01 08 */ b lbl_802C82F0 -lbl_802C81EC: -/* 802C81EC 002C514C 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 802C81F0 002C5150 38 80 00 00 */ li r4, 0 -/* 802C81F4 002C5154 7C 09 03 A6 */ mtctr r0 -/* 802C81F8 002C5158 2C 00 00 00 */ cmpwi r0, 0 -/* 802C81FC 002C515C 40 81 00 2C */ ble lbl_802C8228 -lbl_802C8200: -/* 802C8200 002C5160 80 1E 00 4C */ lwz r0, 0x4c(r30) -/* 802C8204 002C5164 7C 60 22 14 */ add r3, r0, r4 -/* 802C8208 002C5168 80 03 00 04 */ lwz r0, 4(r3) -/* 802C820C 002C516C 7C 00 F8 00 */ cmpw r0, r31 -/* 802C8210 002C5170 41 80 00 10 */ blt lbl_802C8220 -/* 802C8214 002C5174 40 82 00 14 */ bne lbl_802C8228 -/* 802C8218 002C5178 C3 83 00 00 */ lfs f28, 0(r3) -/* 802C821C 002C517C 48 00 00 0C */ b lbl_802C8228 -lbl_802C8220: -/* 802C8220 002C5180 38 84 00 08 */ addi r4, r4, 8 -/* 802C8224 002C5184 42 00 FF DC */ bdnz lbl_802C8200 -lbl_802C8228: -/* 802C8228 002C5188 7F A4 EB 78 */ mr r4, r29 -/* 802C822C 002C518C 7F E5 FB 78 */ mr r5, r31 -/* 802C8230 002C5190 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C8234 002C5194 48 09 1F 8D */ bl GetPrimitive__17CTextRenderBufferCFi -/* 802C8238 002C5198 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 802C823C 002C519C 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 802C8240 002C51A0 A8 A1 00 1C */ lha r5, 0x1c(r1) -/* 802C8244 002C51A4 A8 81 00 1E */ lha r4, 0x1e(r1) -/* 802C8248 002C51A8 A8 61 00 20 */ lha r3, 0x20(r1) -/* 802C824C 002C51AC 88 01 00 22 */ lbz r0, 0x22(r1) -/* 802C8250 002C51B0 90 E1 00 24 */ stw r7, 0x24(r1) -/* 802C8254 002C51B4 C0 0D 9B 08 */ lfs f0, lbl_805A86C8@sda21(r13) -/* 802C8258 002C51B8 90 C1 00 28 */ stw r6, 0x28(r1) -/* 802C825C 002C51BC B0 A1 00 2C */ sth r5, 0x2c(r1) -/* 802C8260 002C51C0 B0 81 00 2E */ sth r4, 0x2e(r1) -/* 802C8264 002C51C4 B0 61 00 30 */ sth r3, 0x30(r1) -/* 802C8268 002C51C8 98 01 00 32 */ stb r0, 0x32(r1) -/* 802C826C 002C51CC C0 5E 00 3C */ lfs f2, 0x3c(r30) -/* 802C8270 002C51D0 C0 3E 00 54 */ lfs f1, 0x54(r30) -/* 802C8274 002C51D4 EC 42 E0 28 */ fsubs f2, f2, f28 -/* 802C8278 002C51D8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802C827C 002C51DC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802C8280 002C51E0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C8284 002C51E4 40 80 00 0C */ bge lbl_802C8290 -/* 802C8288 002C51E8 38 61 00 0C */ addi r3, r1, 0xc -/* 802C828C 002C51EC 48 00 00 08 */ b lbl_802C8294 -lbl_802C8290: -/* 802C8290 002C51F0 38 6D 9B 08 */ addi r3, r13, lbl_805A86C8@sda21 -lbl_802C8294: -/* 802C8294 002C51F4 C0 23 00 00 */ lfs f1, 0(r3) -/* 802C8298 002C51F8 C0 0D 9B 0C */ lfs f0, lbl_805A86CC@sda21(r13) -/* 802C829C 002C51FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802C82A0 002C5200 40 80 00 08 */ bge lbl_802C82A8 -/* 802C82A4 002C5204 48 00 00 08 */ b lbl_802C82AC -lbl_802C82A8: -/* 802C82A8 002C5208 38 6D 9B 0C */ addi r3, r13, lbl_805A86CC@sda21 -lbl_802C82AC: -/* 802C82AC 002C520C C0 3E 00 58 */ lfs f1, 0x58(r30) -/* 802C82B0 002C5210 C0 03 00 00 */ lfs f0, 0(r3) -/* 802C82B4 002C5214 EC 3E 08 24 */ fdivs f1, f30, f1 -/* 802C82B8 002C5218 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C82BC 002C521C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C82C0 002C5220 EF BF 00 32 */ fmuls f29, f31, f0 -/* 802C82C4 002C5224 EF 9C 08 2A */ fadds f28, f28, f1 -/* 802C82C8 002C5228 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 802C82CC 002C522C 7F A3 EB 78 */ mr r3, r29 -/* 802C82D0 002C5230 7F E5 FB 78 */ mr r5, r31 -/* 802C82D4 002C5234 38 81 00 24 */ addi r4, r1, 0x24 -/* 802C82D8 002C5238 88 01 00 08 */ lbz r0, 8(r1) -/* 802C82DC 002C523C 98 01 00 13 */ stb r0, 0x13(r1) -/* 802C82E0 002C5240 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802C82E4 002C5244 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C82E8 002C5248 48 09 1C A1 */ bl SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei -/* 802C82EC 002C524C 3B FF 00 01 */ addi r31, r31, 1 -lbl_802C82F0: -/* 802C82F0 002C5250 80 1D 00 28 */ lwz r0, 0x28(r29) -/* 802C82F4 002C5254 7C 1F 00 00 */ cmpw r31, r0 -/* 802C82F8 002C5258 41 80 FE F4 */ blt lbl_802C81EC -lbl_802C82FC: -/* 802C82FC 002C525C C0 1E 00 3C */ lfs f0, 0x3c(r30) -/* 802C8300 002C5260 EC 00 D8 2A */ fadds f0, f0, f27 -/* 802C8304 002C5264 D0 1E 00 3C */ stfs f0, 0x3c(r30) -lbl_802C8308: -/* 802C8308 002C5268 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 802C830C 002C526C C8 42 C3 F8 */ lfd f2, lbl_805AE118@sda21(r2) -/* 802C8310 002C5270 EC 20 D8 2A */ fadds f1, f0, f27 -/* 802C8314 002C5274 48 0C C9 99 */ bl fmod -/* 802C8318 002C5278 FC 00 08 18 */ frsp f0, f1 -/* 802C831C 002C527C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 802C8320 002C5280 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802C8324 002C5284 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802C8328 002C5288 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 802C832C 002C528C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 802C8330 002C5290 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 802C8334 002C5294 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 802C8338 002C5298 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 802C833C 002C529C CB 81 00 60 */ lfd f28, 0x60(r1) -/* 802C8340 002C52A0 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 802C8344 002C52A4 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 802C8348 002C52A8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802C834C 002C52AC 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802C8350 002C52B0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802C8354 002C52B4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802C8358 002C52B8 7C 08 03 A6 */ mtlr r0 -/* 802C835C 002C52BC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802C8360 002C52C0 4E 80 00 20 */ blr - -.global ClearRenderBuffer__15CGuiTextSupportFv -ClearRenderBuffer__15CGuiTextSupportFv: -/* 802C8364 002C52C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C8368 002C52C8 7C 08 02 A6 */ mflr r0 -/* 802C836C 002C52CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C8370 002C52D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C8374 002C52D4 7C 7F 1B 78 */ mr r31, r3 -/* 802C8378 002C52D8 38 7F 00 60 */ addi r3, r31, 0x60 -/* 802C837C 002C52DC 48 00 07 4D */ bl sub_802c8ac8 -/* 802C8380 002C52E0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C8384 002C52E4 38 00 00 00 */ li r0, 0 -/* 802C8388 002C52E8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802C838C 002C52EC 38 7F 02 EC */ addi r3, r31, 0x2ec -/* 802C8390 002C52F0 38 81 00 08 */ addi r4, r1, 8 -/* 802C8394 002C52F4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802C8398 002C52F8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802C839C 002C52FC 90 A1 00 18 */ stw r5, 0x18(r1) -/* 802C83A0 002C5300 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802C83A4 002C5304 48 00 00 25 */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" -/* 802C83A8 002C5308 38 61 00 08 */ addi r3, r1, 8 -/* 802C83AC 002C530C 38 80 FF FF */ li r4, -1 -/* 802C83B0 002C5310 48 00 1D 41 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" -/* 802C83B4 002C5314 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C83B8 002C5318 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C83BC 002C531C 7C 08 03 A6 */ mtlr r0 -/* 802C83C0 002C5320 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C83C4 002C5324 4E 80 00 20 */ blr - -.global "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" -"__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv": -/* 802C83C8 002C5328 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C83CC 002C532C 7C 08 02 A6 */ mflr r0 -/* 802C83D0 002C5330 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C83D4 002C5334 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C83D8 002C5338 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C83DC 002C533C 7C 9E 23 78 */ mr r30, r4 -/* 802C83E0 002C5340 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C83E4 002C5344 7C 7D 1B 78 */ mr r29, r3 -/* 802C83E8 002C5348 7C 1D F0 40 */ cmplw r29, r30 -/* 802C83EC 002C534C 40 82 00 08 */ bne lbl_802C83F4 -/* 802C83F0 002C5350 48 00 00 5C */ b lbl_802C844C -lbl_802C83F4: -/* 802C83F4 002C5354 83 FD 00 08 */ lwz r31, 8(r29) -/* 802C83F8 002C5358 80 9D 00 04 */ lwz r4, 4(r29) -/* 802C83FC 002C535C 48 00 00 10 */ b lbl_802C840C -lbl_802C8400: -/* 802C8400 002C5360 7F A3 EB 78 */ mr r3, r29 -/* 802C8404 002C5364 48 00 1C 59 */ bl sub_802ca05c -/* 802C8408 002C5368 7C 64 1B 78 */ mr r4, r3 -lbl_802C840C: -/* 802C840C 002C536C 7C 04 F8 40 */ cmplw r4, r31 -/* 802C8410 002C5370 40 82 FF F0 */ bne lbl_802C8400 -/* 802C8414 002C5374 81 1E 00 08 */ lwz r8, 8(r30) -/* 802C8418 002C5378 7F A3 EB 78 */ mr r3, r29 -/* 802C841C 002C537C 80 FE 00 04 */ lwz r7, 4(r30) -/* 802C8420 002C5380 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C8424 002C5384 91 01 00 0C */ stw r8, 0xc(r1) -/* 802C8428 002C5388 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C842C 002C538C 38 C1 00 0C */ addi r6, r1, 0xc -/* 802C8430 002C5390 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802C8434 002C5394 80 1D 00 08 */ lwz r0, 8(r29) -/* 802C8438 002C5398 91 01 00 08 */ stw r8, 8(r1) -/* 802C843C 002C539C 90 E1 00 10 */ stw r7, 0x10(r1) -/* 802C8440 002C53A0 90 01 00 18 */ stw r0, 0x18(r1) -/* 802C8444 002C53A4 48 00 00 25 */ bl sub_802c8468 -/* 802C8448 002C53A8 7F A3 EB 78 */ mr r3, r29 -lbl_802C844C: -/* 802C844C 002C53AC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C8450 002C53B0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C8454 002C53B4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C8458 002C53B8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C845C 002C53BC 7C 08 03 A6 */ mtlr r0 -/* 802C8460 002C53C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C8464 002C53C4 4E 80 00 20 */ blr - -.global sub_802c8468 -sub_802c8468: -/* 802C8468 002C53C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C846C 002C53CC 7C 08 02 A6 */ mflr r0 -/* 802C8470 002C53D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8474 002C53D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C8478 002C53D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C847C 002C53DC 7C DE 33 78 */ mr r30, r6 -/* 802C8480 002C53E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C8484 002C53E4 7C 9D 23 78 */ mr r29, r4 -/* 802C8488 002C53E8 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C848C 002C53EC 7C 7C 1B 78 */ mr r28, r3 -/* 802C8490 002C53F0 83 E5 00 00 */ lwz r31, 0(r5) -/* 802C8494 002C53F4 48 00 00 1C */ b lbl_802C84B0 -lbl_802C8498: -/* 802C8498 002C53F8 7F 84 E3 78 */ mr r4, r28 -/* 802C849C 002C53FC 7F A5 EB 78 */ mr r5, r29 -/* 802C84A0 002C5400 38 61 00 08 */ addi r3, r1, 8 -/* 802C84A4 002C5404 38 DF 00 08 */ addi r6, r31, 8 -/* 802C84A8 002C5408 48 00 00 35 */ bl sub_802c84dc -/* 802C84AC 002C540C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_802C84B0: -/* 802C84B0 002C5410 80 1E 00 00 */ lwz r0, 0(r30) -/* 802C84B4 002C5414 7C 1F 00 40 */ cmplw r31, r0 -/* 802C84B8 002C5418 40 82 FF E0 */ bne lbl_802C8498 -/* 802C84BC 002C541C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C84C0 002C5420 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C84C4 002C5424 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C84C8 002C5428 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C84CC 002C542C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C84D0 002C5430 7C 08 03 A6 */ mtlr r0 -/* 802C84D4 002C5434 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C84D8 002C5438 4E 80 00 20 */ blr - -.global sub_802c84dc -sub_802c84dc: -/* 802C84DC 002C543C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C84E0 002C5440 7C 08 02 A6 */ mflr r0 -/* 802C84E4 002C5444 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C84E8 002C5448 7C 80 23 78 */ mr r0, r4 -/* 802C84EC 002C544C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C84F0 002C5450 7C 7F 1B 78 */ mr r31, r3 -/* 802C84F4 002C5454 7C 03 03 78 */ mr r3, r0 -/* 802C84F8 002C5458 80 85 00 00 */ lwz r4, 0(r5) -/* 802C84FC 002C545C 7C C5 33 78 */ mr r5, r6 -/* 802C8500 002C5460 48 00 00 1D */ bl sub_802c851c -/* 802C8504 002C5464 90 7F 00 00 */ stw r3, 0(r31) -/* 802C8508 002C5468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C850C 002C546C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C8510 002C5470 7C 08 03 A6 */ mtlr r0 -/* 802C8514 002C5474 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8518 002C5478 4E 80 00 20 */ blr - -.global sub_802c851c -sub_802c851c: -/* 802C851C 002C547C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C8520 002C5480 7C 08 02 A6 */ mflr r0 -/* 802C8524 002C5484 7C A6 2B 78 */ mr r6, r5 -/* 802C8528 002C5488 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C852C 002C548C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C8530 002C5490 7C 9F 23 78 */ mr r31, r4 -/* 802C8534 002C5494 7F E5 FB 78 */ mr r5, r31 -/* 802C8538 002C5498 93 C1 00 08 */ stw r30, 8(r1) -/* 802C853C 002C549C 7C 7E 1B 78 */ mr r30, r3 -/* 802C8540 002C54A0 80 84 00 00 */ lwz r4, 0(r4) -/* 802C8544 002C54A4 48 00 00 49 */ bl sub_802c858c -/* 802C8548 002C54A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C854C 002C54AC 7C 1F 00 40 */ cmplw r31, r0 -/* 802C8550 002C54B0 40 82 00 08 */ bne lbl_802C8558 -/* 802C8554 002C54B4 90 7E 00 04 */ stw r3, 4(r30) -lbl_802C8558: -/* 802C8558 002C54B8 80 83 00 00 */ lwz r4, 0(r3) -/* 802C855C 002C54BC 90 64 00 04 */ stw r3, 4(r4) -/* 802C8560 002C54C0 80 83 00 04 */ lwz r4, 4(r3) -/* 802C8564 002C54C4 90 64 00 00 */ stw r3, 0(r4) -/* 802C8568 002C54C8 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802C856C 002C54CC 38 04 00 01 */ addi r0, r4, 1 -/* 802C8570 002C54D0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802C8574 002C54D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8578 002C54D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C857C 002C54DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C8580 002C54E0 7C 08 03 A6 */ mtlr r0 -/* 802C8584 002C54E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8588 002C54E8 4E 80 00 20 */ blr - -.global sub_802c858c -sub_802c858c: -/* 802C858C 002C54EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8590 002C54F0 7C 08 02 A6 */ mflr r0 -/* 802C8594 002C54F4 3C 60 80 3D */ lis r3, lbl_803D68E0@ha -/* 802C8598 002C54F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C859C 002C54FC 38 03 68 E0 */ addi r0, r3, lbl_803D68E0@l -/* 802C85A0 002C5500 38 60 02 60 */ li r3, 0x260 -/* 802C85A4 002C5504 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C85A8 002C5508 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C85AC 002C550C 7C DE 33 78 */ mr r30, r6 -/* 802C85B0 002C5510 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C85B4 002C5514 7C BD 2B 78 */ mr r29, r5 -/* 802C85B8 002C5518 38 A0 00 00 */ li r5, 0 -/* 802C85BC 002C551C 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C85C0 002C5520 7C 9C 23 78 */ mr r28, r4 -/* 802C85C4 002C5524 7C 04 03 78 */ mr r4, r0 -/* 802C85C8 002C5528 48 04 D2 51 */ bl __nwa__FUlPCcPCc -/* 802C85CC 002C552C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802C85D0 002C5530 41 82 00 0C */ beq lbl_802C85DC -/* 802C85D4 002C5534 93 9F 00 00 */ stw r28, 0(r31) -/* 802C85D8 002C5538 93 BF 00 04 */ stw r29, 4(r31) -lbl_802C85DC: -/* 802C85DC 002C553C 34 7F 00 08 */ addic. r3, r31, 8 -/* 802C85E0 002C5540 41 82 00 0C */ beq lbl_802C85EC -/* 802C85E4 002C5544 7F C4 F3 78 */ mr r4, r30 -/* 802C85E8 002C5548 48 00 00 29 */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer -lbl_802C85EC: -/* 802C85EC 002C554C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C85F0 002C5550 7F E3 FB 78 */ mr r3, r31 -/* 802C85F4 002C5554 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C85F8 002C5558 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C85FC 002C555C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C8600 002C5560 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C8604 002C5564 7C 08 03 A6 */ mtlr r0 -/* 802C8608 002C5568 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C860C 002C556C 4E 80 00 20 */ blr - -.global __as__17CTextRenderBufferFRC17CTextRenderBuffer -__as__17CTextRenderBufferFRC17CTextRenderBuffer: -/* 802C8610 002C5570 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8614 002C5574 7C 08 02 A6 */ mflr r0 -/* 802C8618 002C5578 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C861C 002C557C BF 41 00 08 */ stmw r26, 8(r1) -/* 802C8620 002C5580 7C 9F 23 78 */ mr r31, r4 -/* 802C8624 002C5584 7C 7E 1B 78 */ mr r30, r3 -/* 802C8628 002C5588 80 04 00 00 */ lwz r0, 0(r4) -/* 802C862C 002C558C 90 03 00 00 */ stw r0, 0(r3) -/* 802C8630 002C5590 80 04 00 08 */ lwz r0, 8(r4) -/* 802C8634 002C5594 90 03 00 08 */ stw r0, 8(r3) -/* 802C8638 002C5598 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C863C 002C559C 90 03 00 0C */ stw r0, 0xc(r3) -/* 802C8640 002C55A0 80 04 00 08 */ lwz r0, 8(r4) -/* 802C8644 002C55A4 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8648 002C55A8 40 82 00 1C */ bne lbl_802C8664 -/* 802C864C 002C55AC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802C8650 002C55B0 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8654 002C55B4 40 82 00 10 */ bne lbl_802C8664 -/* 802C8658 002C55B8 38 00 00 00 */ li r0, 0 -/* 802C865C 002C55BC 90 1E 00 10 */ stw r0, 0x10(r30) -/* 802C8660 002C55C0 48 00 00 6C */ b lbl_802C86CC -lbl_802C8664: -/* 802C8664 002C55C4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 802C8668 002C55C8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802C866C 002C55CC 40 82 00 10 */ bne lbl_802C867C -/* 802C8670 002C55D0 38 00 00 00 */ li r0, 0 -/* 802C8674 002C55D4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 802C8678 002C55D8 48 00 00 18 */ b lbl_802C8690 -lbl_802C867C: -/* 802C867C 002C55DC 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802C8680 002C55E0 38 A0 00 00 */ li r5, 0 -/* 802C8684 002C55E4 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802C8688 002C55E8 48 04 D1 91 */ bl __nwa__FUlPCcPCc -/* 802C868C 002C55EC 90 7E 00 10 */ stw r3, 0x10(r30) -lbl_802C8690: -/* 802C8690 002C55F0 83 5E 00 08 */ lwz r26, 8(r30) -/* 802C8694 002C55F4 3B A0 00 00 */ li r29, 0 -/* 802C8698 002C55F8 83 7F 00 10 */ lwz r27, 0x10(r31) -/* 802C869C 002C55FC 83 9E 00 10 */ lwz r28, 0x10(r30) -/* 802C86A0 002C5600 48 00 00 24 */ b lbl_802C86C4 -lbl_802C86A4: -/* 802C86A4 002C5604 28 1C 00 00 */ cmplwi r28, 0 -/* 802C86A8 002C5608 41 82 00 10 */ beq lbl_802C86B8 -/* 802C86AC 002C560C 7F 83 E3 78 */ mr r3, r28 -/* 802C86B0 002C5610 7F 64 DB 78 */ mr r4, r27 -/* 802C86B4 002C5614 48 07 87 F5 */ bl __ct__6CTokenFRC6CToken -lbl_802C86B8: -/* 802C86B8 002C5618 3B 9C 00 08 */ addi r28, r28, 8 -/* 802C86BC 002C561C 3B BD 00 01 */ addi r29, r29, 1 -/* 802C86C0 002C5620 3B 7B 00 08 */ addi r27, r27, 8 -lbl_802C86C4: -/* 802C86C4 002C5624 7C 1D D0 00 */ cmpw r29, r26 -/* 802C86C8 002C5628 41 80 FF DC */ blt lbl_802C86A4 -lbl_802C86CC: -/* 802C86CC 002C562C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802C86D0 002C5630 38 9F 00 14 */ addi r4, r31, 0x14 -/* 802C86D4 002C5634 48 00 01 C9 */ bl sub_802c889c -/* 802C86D8 002C5638 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 802C86DC 002C563C 90 1E 00 28 */ stw r0, 0x28(r30) -/* 802C86E0 002C5640 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 802C86E4 002C5644 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802C86E8 002C5648 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 802C86EC 002C564C 2C 00 00 00 */ cmpwi r0, 0 -/* 802C86F0 002C5650 40 82 00 1C */ bne lbl_802C870C -/* 802C86F4 002C5654 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 802C86F8 002C5658 2C 00 00 00 */ cmpwi r0, 0 -/* 802C86FC 002C565C 40 82 00 10 */ bne lbl_802C870C -/* 802C8700 002C5660 38 00 00 00 */ li r0, 0 -/* 802C8704 002C5664 90 1E 00 30 */ stw r0, 0x30(r30) -/* 802C8708 002C5668 48 00 00 64 */ b lbl_802C876C -lbl_802C870C: -/* 802C870C 002C566C 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 802C8710 002C5670 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 802C8714 002C5674 40 82 00 10 */ bne lbl_802C8724 -/* 802C8718 002C5678 38 00 00 00 */ li r0, 0 -/* 802C871C 002C567C 90 1E 00 30 */ stw r0, 0x30(r30) -/* 802C8720 002C5680 48 00 00 18 */ b lbl_802C8738 -lbl_802C8724: -/* 802C8724 002C5684 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802C8728 002C5688 38 A0 00 00 */ li r5, 0 -/* 802C872C 002C568C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802C8730 002C5690 48 04 D0 E9 */ bl __nwa__FUlPCcPCc -/* 802C8734 002C5694 90 7E 00 30 */ stw r3, 0x30(r30) -lbl_802C8738: -/* 802C8738 002C5698 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 802C873C 002C569C 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 802C8740 002C56A0 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 802C8744 002C56A4 7C 09 03 A6 */ mtctr r0 -/* 802C8748 002C56A8 2C 00 00 00 */ cmpwi r0, 0 -/* 802C874C 002C56AC 40 81 00 20 */ ble lbl_802C876C -lbl_802C8750: -/* 802C8750 002C56B0 28 03 00 00 */ cmplwi r3, 0 -/* 802C8754 002C56B4 41 82 00 0C */ beq lbl_802C8760 -/* 802C8758 002C56B8 80 04 00 00 */ lwz r0, 0(r4) -/* 802C875C 002C56BC 90 03 00 00 */ stw r0, 0(r3) -lbl_802C8760: -/* 802C8760 002C56C0 38 63 00 04 */ addi r3, r3, 4 -/* 802C8764 002C56C4 38 84 00 04 */ addi r4, r4, 4 -/* 802C8768 002C56C8 42 00 FF E8 */ bdnz lbl_802C8750 -lbl_802C876C: -/* 802C876C 002C56CC 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 802C8770 002C56D0 90 1E 00 38 */ stw r0, 0x38(r30) -/* 802C8774 002C56D4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 802C8778 002C56D8 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 802C877C 002C56DC 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 802C8780 002C56E0 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8784 002C56E4 40 82 00 1C */ bne lbl_802C87A0 -/* 802C8788 002C56E8 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 802C878C 002C56EC 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8790 002C56F0 40 82 00 10 */ bne lbl_802C87A0 -/* 802C8794 002C56F4 38 00 00 00 */ li r0, 0 -/* 802C8798 002C56F8 90 1E 00 40 */ stw r0, 0x40(r30) -/* 802C879C 002C56FC 48 00 00 64 */ b lbl_802C8800 -lbl_802C87A0: -/* 802C87A0 002C5700 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 802C87A4 002C5704 2C 03 00 00 */ cmpwi r3, 0 -/* 802C87A8 002C5708 40 82 00 10 */ bne lbl_802C87B8 -/* 802C87AC 002C570C 38 00 00 00 */ li r0, 0 -/* 802C87B0 002C5710 90 1E 00 40 */ stw r0, 0x40(r30) -/* 802C87B4 002C5714 48 00 00 18 */ b lbl_802C87CC -lbl_802C87B8: -/* 802C87B8 002C5718 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802C87BC 002C571C 38 A0 00 00 */ li r5, 0 -/* 802C87C0 002C5720 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802C87C4 002C5724 48 04 D0 55 */ bl __nwa__FUlPCcPCc -/* 802C87C8 002C5728 90 7E 00 40 */ stw r3, 0x40(r30) -lbl_802C87CC: -/* 802C87CC 002C572C 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 802C87D0 002C5730 80 9F 00 40 */ lwz r4, 0x40(r31) -/* 802C87D4 002C5734 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 802C87D8 002C5738 7C 09 03 A6 */ mtctr r0 -/* 802C87DC 002C573C 2C 00 00 00 */ cmpwi r0, 0 -/* 802C87E0 002C5740 40 81 00 20 */ ble lbl_802C8800 -lbl_802C87E4: -/* 802C87E4 002C5744 28 03 00 00 */ cmplwi r3, 0 -/* 802C87E8 002C5748 41 82 00 0C */ beq lbl_802C87F4 -/* 802C87EC 002C574C 88 04 00 00 */ lbz r0, 0(r4) -/* 802C87F0 002C5750 98 03 00 00 */ stb r0, 0(r3) -lbl_802C87F4: -/* 802C87F4 002C5754 38 63 00 01 */ addi r3, r3, 1 -/* 802C87F8 002C5758 38 84 00 01 */ addi r4, r4, 1 -/* 802C87FC 002C575C 42 00 FF E8 */ bdnz lbl_802C87E4 -lbl_802C8800: -/* 802C8800 002C5760 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 802C8804 002C5764 38 BE 00 54 */ addi r5, r30, 0x54 -/* 802C8808 002C5768 38 9F 00 54 */ addi r4, r31, 0x54 -/* 802C880C 002C576C 38 60 00 00 */ li r3, 0 -/* 802C8810 002C5770 90 1E 00 44 */ stw r0, 0x44(r30) -/* 802C8814 002C5774 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 802C8818 002C5778 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802C881C 002C577C 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 802C8820 002C5780 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 802C8824 002C5784 88 1F 00 4D */ lbz r0, 0x4d(r31) -/* 802C8828 002C5788 98 1E 00 4D */ stb r0, 0x4d(r30) -/* 802C882C 002C578C 88 1F 00 4E */ lbz r0, 0x4e(r31) -/* 802C8830 002C5790 98 1E 00 4E */ stb r0, 0x4e(r30) -/* 802C8834 002C5794 88 1F 00 4F */ lbz r0, 0x4f(r31) -/* 802C8838 002C5798 98 1E 00 4F */ stb r0, 0x4f(r30) -/* 802C883C 002C579C 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 802C8840 002C57A0 90 1E 00 50 */ stw r0, 0x50(r30) -/* 802C8844 002C57A4 80 1E 00 50 */ lwz r0, 0x50(r30) -/* 802C8848 002C57A8 7C 09 03 A6 */ mtctr r0 -/* 802C884C 002C57AC 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8850 002C57B0 40 81 00 2C */ ble lbl_802C887C -lbl_802C8854: -/* 802C8854 002C57B4 28 05 00 00 */ cmplwi r5, 0 -/* 802C8858 002C57B8 41 82 00 18 */ beq lbl_802C8870 -/* 802C885C 002C57BC 88 04 00 00 */ lbz r0, 0(r4) -/* 802C8860 002C57C0 98 05 00 00 */ stb r0, 0(r5) -/* 802C8864 002C57C4 80 04 00 04 */ lwz r0, 4(r4) -/* 802C8868 002C57C8 90 05 00 04 */ stw r0, 4(r5) -/* 802C886C 002C57CC 98 64 00 00 */ stb r3, 0(r4) -lbl_802C8870: -/* 802C8870 002C57D0 38 A5 00 08 */ addi r5, r5, 8 -/* 802C8874 002C57D4 38 84 00 08 */ addi r4, r4, 8 -/* 802C8878 002C57D8 42 00 FF DC */ bdnz lbl_802C8854 -lbl_802C887C: -/* 802C887C 002C57DC 80 1F 02 54 */ lwz r0, 0x254(r31) -/* 802C8880 002C57E0 7F C3 F3 78 */ mr r3, r30 -/* 802C8884 002C57E4 90 1E 02 54 */ stw r0, 0x254(r30) -/* 802C8888 002C57E8 BB 41 00 08 */ lmw r26, 8(r1) -/* 802C888C 002C57EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8890 002C57F0 7C 08 03 A6 */ mtlr r0 -/* 802C8894 002C57F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8898 002C57F8 4E 80 00 20 */ blr - -.global sub_802c889c -sub_802c889c: -/* 802C889C 002C57FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C88A0 002C5800 7C 08 02 A6 */ mflr r0 -/* 802C88A4 002C5804 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C88A8 002C5808 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C88AC 002C580C 7C 9F 23 78 */ mr r31, r4 -/* 802C88B0 002C5810 93 C1 00 08 */ stw r30, 8(r1) -/* 802C88B4 002C5814 7C 7E 1B 78 */ mr r30, r3 -/* 802C88B8 002C5818 80 04 00 04 */ lwz r0, 4(r4) -/* 802C88BC 002C581C 90 03 00 04 */ stw r0, 4(r3) -/* 802C88C0 002C5820 80 04 00 08 */ lwz r0, 8(r4) -/* 802C88C4 002C5824 90 03 00 08 */ stw r0, 8(r3) -/* 802C88C8 002C5828 80 04 00 04 */ lwz r0, 4(r4) -/* 802C88CC 002C582C 2C 00 00 00 */ cmpwi r0, 0 -/* 802C88D0 002C5830 40 82 00 1C */ bne lbl_802C88EC -/* 802C88D4 002C5834 80 1F 00 08 */ lwz r0, 8(r31) -/* 802C88D8 002C5838 2C 00 00 00 */ cmpwi r0, 0 -/* 802C88DC 002C583C 40 82 00 10 */ bne lbl_802C88EC -/* 802C88E0 002C5840 38 00 00 00 */ li r0, 0 -/* 802C88E4 002C5844 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802C88E8 002C5848 48 00 00 44 */ b lbl_802C892C -lbl_802C88EC: -/* 802C88EC 002C584C 80 1E 00 08 */ lwz r0, 8(r30) -/* 802C88F0 002C5850 1C 60 00 1C */ mulli r3, r0, 0x1c -/* 802C88F4 002C5854 2C 03 00 00 */ cmpwi r3, 0 -/* 802C88F8 002C5858 40 82 00 10 */ bne lbl_802C8908 -/* 802C88FC 002C585C 38 00 00 00 */ li r0, 0 -/* 802C8900 002C5860 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802C8904 002C5864 48 00 00 18 */ b lbl_802C891C -lbl_802C8908: -/* 802C8908 002C5868 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802C890C 002C586C 38 A0 00 00 */ li r5, 0 -/* 802C8910 002C5870 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802C8914 002C5874 48 04 CF 05 */ bl __nwa__FUlPCcPCc -/* 802C8918 002C5878 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802C891C: -/* 802C891C 002C587C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C8920 002C5880 80 9E 00 04 */ lwz r4, 4(r30) -/* 802C8924 002C5884 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C8928 002C5888 48 00 00 21 */ bl sub_802c8948 -lbl_802C892C: -/* 802C892C 002C588C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8930 002C5890 7F C3 F3 78 */ mr r3, r30 -/* 802C8934 002C5894 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C8938 002C5898 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C893C 002C589C 7C 08 03 A6 */ mtlr r0 -/* 802C8940 002C58A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8944 002C58A4 4E 80 00 20 */ blr - -.global sub_802c8948 -sub_802c8948: -/* 802C8948 002C58A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C894C 002C58AC 7C 08 02 A6 */ mflr r0 -/* 802C8950 002C58B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8954 002C58B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C8958 002C58B8 7C 7F 1B 78 */ mr r31, r3 -/* 802C895C 002C58BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C8960 002C58C0 7C BE 2B 78 */ mr r30, r5 -/* 802C8964 002C58C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C8968 002C58C8 3B A0 00 00 */ li r29, 0 -/* 802C896C 002C58CC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802C8970 002C58D0 7C 9C 23 78 */ mr r28, r4 -/* 802C8974 002C58D4 48 00 00 1C */ b lbl_802C8990 -lbl_802C8978: -/* 802C8978 002C58D8 7F C3 F3 78 */ mr r3, r30 -/* 802C897C 002C58DC 7F E4 FB 78 */ mr r4, r31 -/* 802C8980 002C58E0 48 00 00 3D */ bl sub_802c89bc -/* 802C8984 002C58E4 3B DE 00 1C */ addi r30, r30, 0x1c -/* 802C8988 002C58E8 3B BD 00 01 */ addi r29, r29, 1 -/* 802C898C 002C58EC 3B FF 00 1C */ addi r31, r31, 0x1c -lbl_802C8990: -/* 802C8990 002C58F0 7C 1D E0 00 */ cmpw r29, r28 -/* 802C8994 002C58F4 41 80 FF E4 */ blt lbl_802C8978 -/* 802C8998 002C58F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C899C 002C58FC 7F C3 F3 78 */ mr r3, r30 -/* 802C89A0 002C5900 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C89A4 002C5904 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C89A8 002C5908 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C89AC 002C590C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802C89B0 002C5910 7C 08 03 A6 */ mtlr r0 -/* 802C89B4 002C5914 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C89B8 002C5918 4E 80 00 20 */ blr - -.global sub_802c89bc -sub_802c89bc: -/* 802C89BC 002C591C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C89C0 002C5920 7C 08 02 A6 */ mflr r0 -/* 802C89C4 002C5924 28 03 00 00 */ cmplwi r3, 0 -/* 802C89C8 002C5928 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C89CC 002C592C 41 82 00 08 */ beq lbl_802C89D4 -/* 802C89D0 002C5930 48 00 00 15 */ bl sub_802c89e4 -lbl_802C89D4: -/* 802C89D4 002C5934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C89D8 002C5938 7C 08 03 A6 */ mtlr r0 -/* 802C89DC 002C593C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C89E0 002C5940 4E 80 00 20 */ blr - -.global sub_802c89e4 -sub_802c89e4: -/* 802C89E4 002C5944 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C89E8 002C5948 7C 08 02 A6 */ mflr r0 -/* 802C89EC 002C594C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C89F0 002C5950 BF 41 00 08 */ stmw r26, 8(r1) -/* 802C89F4 002C5954 7C 9B 23 78 */ mr r27, r4 -/* 802C89F8 002C5958 7C 7A 1B 78 */ mr r26, r3 -/* 802C89FC 002C595C C0 04 00 00 */ lfs f0, 0(r4) -/* 802C8A00 002C5960 D0 03 00 00 */ stfs f0, 0(r3) -/* 802C8A04 002C5964 80 04 00 08 */ lwz r0, 8(r4) -/* 802C8A08 002C5968 90 03 00 08 */ stw r0, 8(r3) -/* 802C8A0C 002C596C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 802C8A10 002C5970 90 03 00 0C */ stw r0, 0xc(r3) -/* 802C8A14 002C5974 80 04 00 08 */ lwz r0, 8(r4) -/* 802C8A18 002C5978 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8A1C 002C597C 40 82 00 1C */ bne lbl_802C8A38 -/* 802C8A20 002C5980 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 802C8A24 002C5984 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8A28 002C5988 40 82 00 10 */ bne lbl_802C8A38 -/* 802C8A2C 002C598C 38 00 00 00 */ li r0, 0 -/* 802C8A30 002C5990 90 1A 00 10 */ stw r0, 0x10(r26) -/* 802C8A34 002C5994 48 00 00 6C */ b lbl_802C8AA0 -lbl_802C8A38: -/* 802C8A38 002C5998 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 802C8A3C 002C599C 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802C8A40 002C59A0 40 82 00 10 */ bne lbl_802C8A50 -/* 802C8A44 002C59A4 38 00 00 00 */ li r0, 0 -/* 802C8A48 002C59A8 90 1A 00 10 */ stw r0, 0x10(r26) -/* 802C8A4C 002C59AC 48 00 00 18 */ b lbl_802C8A64 -lbl_802C8A50: -/* 802C8A50 002C59B0 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802C8A54 002C59B4 38 A0 00 00 */ li r5, 0 -/* 802C8A58 002C59B8 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802C8A5C 002C59BC 48 04 CD BD */ bl __nwa__FUlPCcPCc -/* 802C8A60 002C59C0 90 7A 00 10 */ stw r3, 0x10(r26) -lbl_802C8A64: -/* 802C8A64 002C59C4 83 9A 00 08 */ lwz r28, 8(r26) -/* 802C8A68 002C59C8 3B E0 00 00 */ li r31, 0 -/* 802C8A6C 002C59CC 83 BB 00 10 */ lwz r29, 0x10(r27) -/* 802C8A70 002C59D0 83 DA 00 10 */ lwz r30, 0x10(r26) -/* 802C8A74 002C59D4 48 00 00 24 */ b lbl_802C8A98 -lbl_802C8A78: -/* 802C8A78 002C59D8 28 1E 00 00 */ cmplwi r30, 0 -/* 802C8A7C 002C59DC 41 82 00 10 */ beq lbl_802C8A8C -/* 802C8A80 002C59E0 7F C3 F3 78 */ mr r3, r30 -/* 802C8A84 002C59E4 7F A4 EB 78 */ mr r4, r29 -/* 802C8A88 002C59E8 48 07 84 21 */ bl __ct__6CTokenFRC6CToken -lbl_802C8A8C: -/* 802C8A8C 002C59EC 3B DE 00 08 */ addi r30, r30, 8 -/* 802C8A90 002C59F0 3B FF 00 01 */ addi r31, r31, 1 -/* 802C8A94 002C59F4 3B BD 00 08 */ addi r29, r29, 8 -lbl_802C8A98: -/* 802C8A98 002C59F8 7C 1F E0 00 */ cmpw r31, r28 -/* 802C8A9C 002C59FC 41 80 FF DC */ blt lbl_802C8A78 -lbl_802C8AA0: -/* 802C8AA0 002C5A00 C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 802C8AA4 002C5A04 7F 43 D3 78 */ mr r3, r26 -/* 802C8AA8 002C5A08 D0 1A 00 14 */ stfs f0, 0x14(r26) -/* 802C8AAC 002C5A0C C0 1B 00 18 */ lfs f0, 0x18(r27) -/* 802C8AB0 002C5A10 D0 1A 00 18 */ stfs f0, 0x18(r26) -/* 802C8AB4 002C5A14 BB 41 00 08 */ lmw r26, 8(r1) -/* 802C8AB8 002C5A18 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8ABC 002C5A1C 7C 08 03 A6 */ mtlr r0 -/* 802C8AC0 002C5A20 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8AC4 002C5A24 4E 80 00 20 */ blr - -.global sub_802c8ac8 -sub_802c8ac8: -/* 802C8AC8 002C5A28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C8ACC 002C5A2C 7C 08 02 A6 */ mflr r0 -/* 802C8AD0 002C5A30 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8AD4 002C5A34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C8AD8 002C5A38 7C 7F 1B 78 */ mr r31, r3 -/* 802C8ADC 002C5A3C 88 03 02 58 */ lbz r0, 0x258(r3) -/* 802C8AE0 002C5A40 28 00 00 00 */ cmplwi r0, 0 -/* 802C8AE4 002C5A44 41 82 00 08 */ beq lbl_802C8AEC -/* 802C8AE8 002C5A48 48 00 00 21 */ bl sub_802c8b08 -lbl_802C8AEC: -/* 802C8AEC 002C5A4C 38 00 00 00 */ li r0, 0 -/* 802C8AF0 002C5A50 98 1F 02 58 */ stb r0, 0x258(r31) -/* 802C8AF4 002C5A54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8AF8 002C5A58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C8AFC 002C5A5C 7C 08 03 A6 */ mtlr r0 -/* 802C8B00 002C5A60 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8B04 002C5A64 4E 80 00 20 */ blr - -.global sub_802c8b08 -sub_802c8b08: -/* 802C8B08 002C5A68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C8B0C 002C5A6C 7C 08 02 A6 */ mflr r0 -/* 802C8B10 002C5A70 38 80 FF FF */ li r4, -1 -/* 802C8B14 002C5A74 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8B18 002C5A78 4B D5 FE 45 */ bl __dt__17CTextRenderBufferFv -/* 802C8B1C 002C5A7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8B20 002C5A80 7C 08 03 A6 */ mtlr r0 -/* 802C8B24 002C5A84 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8B28 002C5A88 4E 80 00 20 */ blr - -.global CheckAndRebuildRenderBuffer__15CGuiTextSupportFv -CheckAndRebuildRenderBuffer__15CGuiTextSupportFv: -/* 802C8B2C 002C5A8C 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 802C8B30 002C5A90 7C 08 02 A6 */ mflr r0 -/* 802C8B34 002C5A94 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 802C8B38 002C5A98 93 E1 02 BC */ stw r31, 0x2bc(r1) -/* 802C8B3C 002C5A9C 93 C1 02 B8 */ stw r30, 0x2b8(r1) -/* 802C8B40 002C5AA0 93 A1 02 B4 */ stw r29, 0x2b4(r1) -/* 802C8B44 002C5AA4 7C 7D 1B 78 */ mr r29, r3 -/* 802C8B48 002C5AA8 88 63 03 08 */ lbz r3, 0x308(r3) -/* 802C8B4C 002C5AAC 28 03 00 00 */ cmplwi r3, 0 -/* 802C8B50 002C5AB0 40 82 00 10 */ bne lbl_802C8B60 -/* 802C8B54 002C5AB4 88 1D 02 B8 */ lbz r0, 0x2b8(r29) -/* 802C8B58 002C5AB8 28 00 00 00 */ cmplwi r0, 0 -/* 802C8B5C 002C5ABC 41 82 00 18 */ beq lbl_802C8B74 -lbl_802C8B60: -/* 802C8B60 002C5AC0 28 03 00 00 */ cmplwi r3, 0 -/* 802C8B64 002C5AC4 41 82 01 4C */ beq lbl_802C8CB0 -/* 802C8B68 002C5AC8 80 1D 03 00 */ lwz r0, 0x300(r29) -/* 802C8B6C 002C5ACC 2C 00 00 00 */ cmpwi r0, 0 -/* 802C8B70 002C5AD0 40 82 01 40 */ bne lbl_802C8CB0 -lbl_802C8B74: -/* 802C8B74 002C5AD4 7F A3 EB 78 */ mr r3, r29 -/* 802C8B78 002C5AD8 48 00 07 91 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv -/* 802C8B7C 002C5ADC 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) -/* 802C8B80 002C5AE0 38 61 00 30 */ addi r3, r1, 0x30 -/* 802C8B84 002C5AE4 48 03 97 31 */ bl GetAssets__18CTextExecuteBufferFv -/* 802C8B88 002C5AE8 38 7D 02 BC */ addi r3, r29, 0x2bc -/* 802C8B8C 002C5AEC 38 81 00 30 */ addi r4, r1, 0x30 -/* 802C8B90 002C5AF0 4B D3 DC 75 */ bl sub_80006804 -/* 802C8B94 002C5AF4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C8B98 002C5AF8 83 C1 00 3C */ lwz r30, 0x3c(r1) -/* 802C8B9C 002C5AFC 54 00 18 38 */ slwi r0, r0, 3 -/* 802C8BA0 002C5B00 7F FE 02 14 */ add r31, r30, r0 -/* 802C8BA4 002C5B04 93 C1 00 0C */ stw r30, 0xc(r1) -/* 802C8BA8 002C5B08 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802C8BAC 002C5B0C 93 E1 00 10 */ stw r31, 0x10(r1) -/* 802C8BB0 002C5B10 93 C1 00 08 */ stw r30, 8(r1) -/* 802C8BB4 002C5B14 48 00 00 14 */ b lbl_802C8BC8 -lbl_802C8BB8: -/* 802C8BB8 002C5B18 7F C3 F3 78 */ mr r3, r30 -/* 802C8BBC 002C5B1C 38 80 FF FF */ li r4, -1 -/* 802C8BC0 002C5B20 48 07 82 81 */ bl __dt__6CTokenFv -/* 802C8BC4 002C5B24 3B DE 00 08 */ addi r30, r30, 8 -lbl_802C8BC8: -/* 802C8BC8 002C5B28 7C 1E F8 40 */ cmplw r30, r31 -/* 802C8BCC 002C5B2C 40 82 FF EC */ bne lbl_802C8BB8 -/* 802C8BD0 002C5B30 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 802C8BD4 002C5B34 28 03 00 00 */ cmplwi r3, 0 -/* 802C8BD8 002C5B38 41 82 00 08 */ beq lbl_802C8BE0 -/* 802C8BDC 002C5B3C 48 04 CD 55 */ bl Free__7CMemoryFPCv -lbl_802C8BE0: -/* 802C8BE0 002C5B40 7F A3 EB 78 */ mr r3, r29 -/* 802C8BE4 002C5B44 48 00 0F 8D */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -/* 802C8BE8 002C5B48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C8BEC 002C5B4C 41 82 00 B0 */ beq lbl_802C8C9C -/* 802C8BF0 002C5B50 7F A3 EB 78 */ mr r3, r29 -/* 802C8BF4 002C5B54 48 00 07 15 */ bl CheckAndRebuildTextBuffer__15CGuiTextSupportFv -/* 802C8BF8 002C5B58 88 1D 03 08 */ lbz r0, 0x308(r29) -/* 802C8BFC 002C5B5C 28 00 00 00 */ cmplwi r0, 0 -/* 802C8C00 002C5B60 41 82 00 40 */ beq lbl_802C8C40 -/* 802C8C04 002C5B64 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 802C8C08 002C5B68 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C8C0C 002C5B6C 80 BD 00 38 */ lwz r5, 0x38(r29) -/* 802C8C10 002C5B70 48 04 B7 3D */ bl __ct__9CVector2iFii -/* 802C8C14 002C5B74 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) -/* 802C8C18 002C5B78 7C 65 1B 78 */ mr r5, r3 -/* 802C8C1C 002C5B7C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802C8C20 002C5B80 48 03 8F 11 */ bl BuildRenderBufferPages__18CTextExecuteBufferFRC9CVector2i -/* 802C8C24 002C5B84 38 7D 02 EC */ addi r3, r29, 0x2ec -/* 802C8C28 002C5B88 38 81 00 40 */ addi r4, r1, 0x40 -/* 802C8C2C 002C5B8C 4B FF F7 9D */ bl "__as__Q24rstl25list<17CTextRenderBuffer>FvFRCQ24rstl25list<17CTextRenderBuffer>Fv" -/* 802C8C30 002C5B90 38 61 00 40 */ addi r3, r1, 0x40 -/* 802C8C34 002C5B94 38 80 FF FF */ li r4, -1 -/* 802C8C38 002C5B98 48 00 14 B9 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" -/* 802C8C3C 002C5B9C 48 00 00 54 */ b lbl_802C8C90 -lbl_802C8C40: -/* 802C8C40 002C5BA0 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) -/* 802C8C44 002C5BA4 38 61 00 58 */ addi r3, r1, 0x58 -/* 802C8C48 002C5BA8 48 03 95 69 */ bl BuildRenderBuffer__18CTextExecuteBufferFv -/* 802C8C4C 002C5BAC 38 7D 00 60 */ addi r3, r29, 0x60 -/* 802C8C50 002C5BB0 38 81 00 58 */ addi r4, r1, 0x58 -/* 802C8C54 002C5BB4 48 00 00 7D */ bl sub_802c8cd0 -/* 802C8C58 002C5BB8 38 61 00 58 */ addi r3, r1, 0x58 -/* 802C8C5C 002C5BBC 38 80 FF FF */ li r4, -1 -/* 802C8C60 002C5BC0 4B D5 FC FD */ bl __dt__17CTextRenderBufferFv -/* 802C8C64 002C5BC4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C8C68 002C5BC8 38 9D 00 60 */ addi r4, r29, 0x60 -/* 802C8C6C 002C5BCC 48 09 0E 81 */ bl AccumulateTextBounds__17CTextRenderBufferFv -/* 802C8C70 002C5BD0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 802C8C74 002C5BD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8C78 002C5BD8 90 7D 02 DC */ stw r3, 0x2dc(r29) -/* 802C8C7C 002C5BDC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802C8C80 002C5BE0 90 1D 02 E0 */ stw r0, 0x2e0(r29) -/* 802C8C84 002C5BE4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802C8C88 002C5BE8 90 7D 02 E4 */ stw r3, 0x2e4(r29) -/* 802C8C8C 002C5BEC 90 1D 02 E8 */ stw r0, 0x2e8(r29) -lbl_802C8C90: -/* 802C8C90 002C5BF0 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C8C94 002C5BF4 48 03 B0 55 */ bl Clear__18CTextExecuteBufferFv -/* 802C8C98 002C5BF8 48 00 00 0C */ b lbl_802C8CA4 -lbl_802C8C9C: -/* 802C8C9C 002C5BFC 38 60 00 00 */ li r3, 0 -/* 802C8CA0 002C5C00 48 00 00 14 */ b lbl_802C8CB4 -lbl_802C8CA4: -/* 802C8CA4 002C5C04 C0 22 C3 E0 */ lfs f1, lbl_805AE100@sda21(r2) -/* 802C8CA8 002C5C08 7F A3 EB 78 */ mr r3, r29 -/* 802C8CAC 002C5C0C 4B FF F4 CD */ bl Update__15CGuiTextSupportFf -lbl_802C8CB0: -/* 802C8CB0 002C5C10 38 60 00 01 */ li r3, 1 -lbl_802C8CB4: -/* 802C8CB4 002C5C14 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 802C8CB8 002C5C18 83 E1 02 BC */ lwz r31, 0x2bc(r1) -/* 802C8CBC 002C5C1C 83 C1 02 B8 */ lwz r30, 0x2b8(r1) -/* 802C8CC0 002C5C20 83 A1 02 B4 */ lwz r29, 0x2b4(r1) -/* 802C8CC4 002C5C24 7C 08 03 A6 */ mtlr r0 -/* 802C8CC8 002C5C28 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 802C8CCC 002C5C2C 4E 80 00 20 */ blr - -.global sub_802c8cd0 -sub_802c8cd0: -/* 802C8CD0 002C5C30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C8CD4 002C5C34 7C 08 02 A6 */ mflr r0 -/* 802C8CD8 002C5C38 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8CDC 002C5C3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C8CE0 002C5C40 7C 7F 1B 78 */ mr r31, r3 -/* 802C8CE4 002C5C44 48 00 00 1D */ bl sub_802c8d00 -/* 802C8CE8 002C5C48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8CEC 002C5C4C 7F E3 FB 78 */ mr r3, r31 -/* 802C8CF0 002C5C50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C8CF4 002C5C54 7C 08 03 A6 */ mtlr r0 -/* 802C8CF8 002C5C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8CFC 002C5C5C 4E 80 00 20 */ blr - -.global sub_802c8d00 -sub_802c8d00: -/* 802C8D00 002C5C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C8D04 002C5C64 7C 08 02 A6 */ mflr r0 -/* 802C8D08 002C5C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8D0C 002C5C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C8D10 002C5C70 7C 7F 1B 78 */ mr r31, r3 -/* 802C8D14 002C5C74 88 03 02 58 */ lbz r0, 0x258(r3) -/* 802C8D18 002C5C78 28 00 00 00 */ cmplwi r0, 0 -/* 802C8D1C 002C5C7C 40 82 00 14 */ bne lbl_802C8D30 -/* 802C8D20 002C5C80 48 00 05 C1 */ bl sub_802c92e0 -/* 802C8D24 002C5C84 38 00 00 01 */ li r0, 1 -/* 802C8D28 002C5C88 98 1F 02 58 */ stb r0, 0x258(r31) -/* 802C8D2C 002C5C8C 48 00 00 08 */ b lbl_802C8D34 -lbl_802C8D30: -/* 802C8D30 002C5C90 48 00 00 19 */ bl sub_802c8d48 -lbl_802C8D34: -/* 802C8D34 002C5C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C8D38 002C5C98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C8D3C 002C5C9C 7C 08 03 A6 */ mtlr r0 -/* 802C8D40 002C5CA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C8D44 002C5CA4 4E 80 00 20 */ blr - -.global sub_802c8d48 -sub_802c8d48: -/* 802C8D48 002C5CA8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8D4C 002C5CAC 7C 08 02 A6 */ mflr r0 -/* 802C8D50 002C5CB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8D54 002C5CB4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802C8D58 002C5CB8 7C 7E 1B 78 */ mr r30, r3 -/* 802C8D5C 002C5CBC 7C 9F 23 78 */ mr r31, r4 -/* 802C8D60 002C5CC0 38 7E 00 04 */ addi r3, r30, 4 -/* 802C8D64 002C5CC4 80 04 00 00 */ lwz r0, 0(r4) -/* 802C8D68 002C5CC8 38 9F 00 04 */ addi r4, r31, 4 -/* 802C8D6C 002C5CCC 90 1E 00 00 */ stw r0, 0(r30) -/* 802C8D70 002C5CD0 48 00 04 6D */ bl sub_802c91dc -/* 802C8D74 002C5CD4 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802C8D78 002C5CD8 38 9F 00 14 */ addi r4, r31, 0x14 -/* 802C8D7C 002C5CDC 48 00 02 FD */ bl sub_802c9078 -/* 802C8D80 002C5CE0 38 7E 00 24 */ addi r3, r30, 0x24 -/* 802C8D84 002C5CE4 38 9F 00 24 */ addi r4, r31, 0x24 -/* 802C8D88 002C5CE8 48 00 01 FD */ bl sub_802c8f84 -/* 802C8D8C 002C5CEC 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802C8D90 002C5CF0 38 9F 00 34 */ addi r4, r31, 0x34 -/* 802C8D94 002C5CF4 48 00 00 F9 */ bl sub_802c8e8c -/* 802C8D98 002C5CF8 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802C8D9C 002C5CFC 38 7E 00 50 */ addi r3, r30, 0x50 -/* 802C8DA0 002C5D00 38 1F 00 50 */ addi r0, r31, 0x50 -/* 802C8DA4 002C5D04 90 9E 00 44 */ stw r4, 0x44(r30) -/* 802C8DA8 002C5D08 7C 03 00 40 */ cmplw r3, r0 -/* 802C8DAC 002C5D0C 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 802C8DB0 002C5D10 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802C8DB4 002C5D14 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 802C8DB8 002C5D18 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 802C8DBC 002C5D1C 88 1F 00 4D */ lbz r0, 0x4d(r31) -/* 802C8DC0 002C5D20 98 1E 00 4D */ stb r0, 0x4d(r30) -/* 802C8DC4 002C5D24 88 1F 00 4E */ lbz r0, 0x4e(r31) -/* 802C8DC8 002C5D28 98 1E 00 4E */ stb r0, 0x4e(r30) -/* 802C8DCC 002C5D2C 88 1F 00 4F */ lbz r0, 0x4f(r31) -/* 802C8DD0 002C5D30 98 1E 00 4F */ stb r0, 0x4f(r30) -/* 802C8DD4 002C5D34 41 82 00 98 */ beq lbl_802C8E6C -/* 802C8DD8 002C5D38 3B 7E 00 54 */ addi r27, r30, 0x54 -/* 802C8DDC 002C5D3C 3B A0 00 00 */ li r29, 0 -/* 802C8DE0 002C5D40 7F 7C DB 78 */ mr r28, r27 -/* 802C8DE4 002C5D44 48 00 00 2C */ b lbl_802C8E10 -lbl_802C8DE8: -/* 802C8DE8 002C5D48 28 1C 00 00 */ cmplwi r28, 0 -/* 802C8DEC 002C5D4C 41 82 00 1C */ beq lbl_802C8E08 -/* 802C8DF0 002C5D50 88 1C 00 00 */ lbz r0, 0(r28) -/* 802C8DF4 002C5D54 28 00 00 00 */ cmplwi r0, 0 -/* 802C8DF8 002C5D58 41 82 00 10 */ beq lbl_802C8E08 -/* 802C8DFC 002C5D5C 80 7C 00 04 */ lwz r3, 4(r28) -/* 802C8E00 002C5D60 38 80 00 01 */ li r4, 1 -/* 802C8E04 002C5D64 48 04 50 FD */ bl __dt__16CGraphicsPaletteFv -lbl_802C8E08: -/* 802C8E08 002C5D68 3B 9C 00 08 */ addi r28, r28, 8 -/* 802C8E0C 002C5D6C 3B BD 00 01 */ addi r29, r29, 1 -lbl_802C8E10: -/* 802C8E10 002C5D70 80 1E 00 50 */ lwz r0, 0x50(r30) -/* 802C8E14 002C5D74 7C 1D 00 00 */ cmpw r29, r0 -/* 802C8E18 002C5D78 41 80 FF D0 */ blt lbl_802C8DE8 -/* 802C8E1C 002C5D7C 38 60 00 00 */ li r3, 0 -/* 802C8E20 002C5D80 38 BF 00 54 */ addi r5, r31, 0x54 -/* 802C8E24 002C5D84 90 7E 00 50 */ stw r3, 0x50(r30) -/* 802C8E28 002C5D88 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 802C8E2C 002C5D8C 54 00 18 38 */ slwi r0, r0, 3 -/* 802C8E30 002C5D90 7C 85 02 14 */ add r4, r5, r0 -/* 802C8E34 002C5D94 48 00 00 28 */ b lbl_802C8E5C -lbl_802C8E38: -/* 802C8E38 002C5D98 28 1B 00 00 */ cmplwi r27, 0 -/* 802C8E3C 002C5D9C 41 82 00 18 */ beq lbl_802C8E54 -/* 802C8E40 002C5DA0 88 05 00 00 */ lbz r0, 0(r5) -/* 802C8E44 002C5DA4 98 1B 00 00 */ stb r0, 0(r27) -/* 802C8E48 002C5DA8 80 05 00 04 */ lwz r0, 4(r5) -/* 802C8E4C 002C5DAC 90 1B 00 04 */ stw r0, 4(r27) -/* 802C8E50 002C5DB0 98 65 00 00 */ stb r3, 0(r5) -lbl_802C8E54: -/* 802C8E54 002C5DB4 3B 7B 00 08 */ addi r27, r27, 8 -/* 802C8E58 002C5DB8 38 A5 00 08 */ addi r5, r5, 8 -lbl_802C8E5C: -/* 802C8E5C 002C5DBC 7C 05 20 40 */ cmplw r5, r4 -/* 802C8E60 002C5DC0 40 82 FF D8 */ bne lbl_802C8E38 -/* 802C8E64 002C5DC4 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 802C8E68 002C5DC8 90 1E 00 50 */ stw r0, 0x50(r30) -lbl_802C8E6C: -/* 802C8E6C 002C5DCC 80 1F 02 54 */ lwz r0, 0x254(r31) -/* 802C8E70 002C5DD0 7F C3 F3 78 */ mr r3, r30 -/* 802C8E74 002C5DD4 90 1E 02 54 */ stw r0, 0x254(r30) -/* 802C8E78 002C5DD8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802C8E7C 002C5DDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8E80 002C5DE0 7C 08 03 A6 */ mtlr r0 -/* 802C8E84 002C5DE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8E88 002C5DE8 4E 80 00 20 */ blr - -.global sub_802c8e8c -sub_802c8e8c: -/* 802C8E8C 002C5DEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8E90 002C5DF0 7C 08 02 A6 */ mflr r0 -/* 802C8E94 002C5DF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8E98 002C5DF8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C8E9C 002C5DFC 7C 7F 1B 78 */ mr r31, r3 -/* 802C8EA0 002C5E00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C8EA4 002C5E04 7C 9E 23 78 */ mr r30, r4 -/* 802C8EA8 002C5E08 7C 1F F0 40 */ cmplw r31, r30 -/* 802C8EAC 002C5E0C 40 82 00 08 */ bne lbl_802C8EB4 -/* 802C8EB0 002C5E10 48 00 00 BC */ b lbl_802C8F6C -lbl_802C8EB4: -/* 802C8EB4 002C5E14 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802C8EB8 002C5E18 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C8EBC 002C5E1C 90 81 00 0C */ stw r4, 0xc(r1) -/* 802C8EC0 002C5E20 7C 64 02 14 */ add r3, r4, r0 -/* 802C8EC4 002C5E24 7C 04 18 50 */ subf r0, r4, r3 -/* 802C8EC8 002C5E28 90 61 00 14 */ stw r3, 0x14(r1) -/* 802C8ECC 002C5E2C 90 61 00 10 */ stw r3, 0x10(r1) -/* 802C8ED0 002C5E30 90 81 00 08 */ stw r4, 8(r1) -/* 802C8ED4 002C5E34 7C 09 03 A6 */ mtctr r0 -/* 802C8ED8 002C5E38 7C 04 18 40 */ cmplw r4, r3 -/* 802C8EDC 002C5E3C 41 82 00 08 */ beq lbl_802C8EE4 -lbl_802C8EE0: -/* 802C8EE0 002C5E40 42 00 00 00 */ bdnz lbl_802C8EE0 -lbl_802C8EE4: -/* 802C8EE4 002C5E44 38 00 00 00 */ li r0, 0 -/* 802C8EE8 002C5E48 90 1F 00 04 */ stw r0, 4(r31) -/* 802C8EEC 002C5E4C 80 9E 00 04 */ lwz r4, 4(r30) -/* 802C8EF0 002C5E50 2C 04 00 00 */ cmpwi r4, 0 -/* 802C8EF4 002C5E54 40 82 00 28 */ bne lbl_802C8F1C -/* 802C8EF8 002C5E58 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C8EFC 002C5E5C 28 03 00 00 */ cmplwi r3, 0 -/* 802C8F00 002C5E60 41 82 00 08 */ beq lbl_802C8F08 -/* 802C8F04 002C5E64 48 04 CA 2D */ bl Free__7CMemoryFPCv -lbl_802C8F08: -/* 802C8F08 002C5E68 38 00 00 00 */ li r0, 0 -/* 802C8F0C 002C5E6C 90 1F 00 04 */ stw r0, 4(r31) -/* 802C8F10 002C5E70 90 1F 00 08 */ stw r0, 8(r31) -/* 802C8F14 002C5E74 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802C8F18 002C5E78 48 00 00 50 */ b lbl_802C8F68 -lbl_802C8F1C: -/* 802C8F1C 002C5E7C 7F E3 FB 78 */ mr r3, r31 -/* 802C8F20 002C5E80 48 00 14 DD */ bl "reserve__Q24rstl37vectorFi" -/* 802C8F24 002C5E84 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C8F28 002C5E88 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C8F2C 002C5E8C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C8F30 002C5E90 7C 85 02 14 */ add r4, r5, r0 -/* 802C8F34 002C5E94 7C 05 20 50 */ subf r0, r5, r4 -/* 802C8F38 002C5E98 7C 09 03 A6 */ mtctr r0 -/* 802C8F3C 002C5E9C 7C 05 20 40 */ cmplw r5, r4 -/* 802C8F40 002C5EA0 41 82 00 20 */ beq lbl_802C8F60 -lbl_802C8F44: -/* 802C8F44 002C5EA4 28 03 00 00 */ cmplwi r3, 0 -/* 802C8F48 002C5EA8 41 82 00 0C */ beq lbl_802C8F54 -/* 802C8F4C 002C5EAC 88 05 00 00 */ lbz r0, 0(r5) -/* 802C8F50 002C5EB0 98 03 00 00 */ stb r0, 0(r3) -lbl_802C8F54: -/* 802C8F54 002C5EB4 38 63 00 01 */ addi r3, r3, 1 -/* 802C8F58 002C5EB8 38 A5 00 01 */ addi r5, r5, 1 -/* 802C8F5C 002C5EBC 42 00 FF E8 */ bdnz lbl_802C8F44 -lbl_802C8F60: -/* 802C8F60 002C5EC0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C8F64 002C5EC4 90 1F 00 04 */ stw r0, 4(r31) -lbl_802C8F68: -/* 802C8F68 002C5EC8 7F E3 FB 78 */ mr r3, r31 -lbl_802C8F6C: -/* 802C8F6C 002C5ECC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C8F70 002C5ED0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C8F74 002C5ED4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C8F78 002C5ED8 7C 08 03 A6 */ mtlr r0 -/* 802C8F7C 002C5EDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C8F80 002C5EE0 4E 80 00 20 */ blr - -.global sub_802c8f84 -sub_802c8f84: -/* 802C8F84 002C5EE4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C8F88 002C5EE8 7C 08 02 A6 */ mflr r0 -/* 802C8F8C 002C5EEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C8F90 002C5EF0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C8F94 002C5EF4 7C 7F 1B 78 */ mr r31, r3 -/* 802C8F98 002C5EF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C8F9C 002C5EFC 7C 9E 23 78 */ mr r30, r4 -/* 802C8FA0 002C5F00 7C 1F F0 40 */ cmplw r31, r30 -/* 802C8FA4 002C5F04 40 82 00 08 */ bne lbl_802C8FAC -/* 802C8FA8 002C5F08 48 00 00 B8 */ b lbl_802C9060 -lbl_802C8FAC: -/* 802C8FAC 002C5F0C 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C8FB0 002C5F10 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C8FB4 002C5F14 54 00 10 3A */ slwi r0, r0, 2 -/* 802C8FB8 002C5F18 7C 03 02 14 */ add r0, r3, r0 -/* 802C8FBC 002C5F1C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C8FC0 002C5F20 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C8FC4 002C5F24 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C8FC8 002C5F28 90 61 00 08 */ stw r3, 8(r1) -/* 802C8FCC 002C5F2C 48 00 00 08 */ b lbl_802C8FD4 -lbl_802C8FD0: -/* 802C8FD0 002C5F30 38 63 00 04 */ addi r3, r3, 4 -lbl_802C8FD4: -/* 802C8FD4 002C5F34 7C 03 00 40 */ cmplw r3, r0 -/* 802C8FD8 002C5F38 40 82 FF F8 */ bne lbl_802C8FD0 -/* 802C8FDC 002C5F3C 38 00 00 00 */ li r0, 0 -/* 802C8FE0 002C5F40 90 1F 00 04 */ stw r0, 4(r31) -/* 802C8FE4 002C5F44 80 9E 00 04 */ lwz r4, 4(r30) -/* 802C8FE8 002C5F48 2C 04 00 00 */ cmpwi r4, 0 -/* 802C8FEC 002C5F4C 40 82 00 28 */ bne lbl_802C9014 -/* 802C8FF0 002C5F50 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C8FF4 002C5F54 28 03 00 00 */ cmplwi r3, 0 -/* 802C8FF8 002C5F58 41 82 00 08 */ beq lbl_802C9000 -/* 802C8FFC 002C5F5C 48 04 C9 35 */ bl Free__7CMemoryFPCv -lbl_802C9000: -/* 802C9000 002C5F60 38 00 00 00 */ li r0, 0 -/* 802C9004 002C5F64 90 1F 00 04 */ stw r0, 4(r31) -/* 802C9008 002C5F68 90 1F 00 08 */ stw r0, 8(r31) -/* 802C900C 002C5F6C 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802C9010 002C5F70 48 00 00 4C */ b lbl_802C905C -lbl_802C9014: -/* 802C9014 002C5F74 7F E3 FB 78 */ mr r3, r31 -/* 802C9018 002C5F78 4B D9 0C 91 */ bl "reserve__Q24rstl36vectorFi" -/* 802C901C 002C5F7C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C9020 002C5F80 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C9024 002C5F84 54 00 10 3A */ slwi r0, r0, 2 -/* 802C9028 002C5F88 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C902C 002C5F8C 7C 85 02 14 */ add r4, r5, r0 -/* 802C9030 002C5F90 48 00 00 1C */ b lbl_802C904C -lbl_802C9034: -/* 802C9034 002C5F94 28 03 00 00 */ cmplwi r3, 0 -/* 802C9038 002C5F98 41 82 00 0C */ beq lbl_802C9044 -/* 802C903C 002C5F9C 80 05 00 00 */ lwz r0, 0(r5) -/* 802C9040 002C5FA0 90 03 00 00 */ stw r0, 0(r3) -lbl_802C9044: -/* 802C9044 002C5FA4 38 63 00 04 */ addi r3, r3, 4 -/* 802C9048 002C5FA8 38 A5 00 04 */ addi r5, r5, 4 -lbl_802C904C: -/* 802C904C 002C5FAC 7C 05 20 40 */ cmplw r5, r4 -/* 802C9050 002C5FB0 40 82 FF E4 */ bne lbl_802C9034 -/* 802C9054 002C5FB4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802C9058 002C5FB8 90 1F 00 04 */ stw r0, 4(r31) -lbl_802C905C: -/* 802C905C 002C5FBC 7F E3 FB 78 */ mr r3, r31 -lbl_802C9060: -/* 802C9060 002C5FC0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C9064 002C5FC4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C9068 002C5FC8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C906C 002C5FCC 7C 08 03 A6 */ mtlr r0 -/* 802C9070 002C5FD0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C9074 002C5FD4 4E 80 00 20 */ blr - -.global sub_802c9078 -sub_802c9078: -/* 802C9078 002C5FD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C907C 002C5FDC 7C 08 02 A6 */ mflr r0 -/* 802C9080 002C5FE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9084 002C5FE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C9088 002C5FE8 7C 9F 23 78 */ mr r31, r4 -/* 802C908C 002C5FEC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C9090 002C5FF0 7C 7E 1B 78 */ mr r30, r3 -/* 802C9094 002C5FF4 7C 1E F8 40 */ cmplw r30, r31 -/* 802C9098 002C5FF8 40 82 00 08 */ bne lbl_802C90A0 -/* 802C909C 002C5FFC 48 00 00 64 */ b lbl_802C9100 -lbl_802C90A0: -/* 802C90A0 002C6000 48 00 00 DD */ bl sub_802c917c -/* 802C90A4 002C6004 80 9F 00 04 */ lwz r4, 4(r31) -/* 802C90A8 002C6008 2C 04 00 00 */ cmpwi r4, 0 -/* 802C90AC 002C600C 40 82 00 28 */ bne lbl_802C90D4 -/* 802C90B0 002C6010 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802C90B4 002C6014 28 03 00 00 */ cmplwi r3, 0 -/* 802C90B8 002C6018 41 82 00 08 */ beq lbl_802C90C0 -/* 802C90BC 002C601C 48 04 C8 75 */ bl Free__7CMemoryFPCv -lbl_802C90C0: -/* 802C90C0 002C6020 38 00 00 00 */ li r0, 0 -/* 802C90C4 002C6024 90 1E 00 04 */ stw r0, 4(r30) -/* 802C90C8 002C6028 90 1E 00 08 */ stw r0, 8(r30) -/* 802C90CC 002C602C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802C90D0 002C6030 48 00 00 2C */ b lbl_802C90FC -lbl_802C90D4: -/* 802C90D4 002C6034 7F C3 F3 78 */ mr r3, r30 -/* 802C90D8 002C6038 48 00 11 A1 */ bl sub_802ca278 -/* 802C90DC 002C603C 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C90E0 002C6040 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C90E4 002C6044 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 802C90E8 002C6048 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802C90EC 002C604C 7C 83 02 14 */ add r4, r3, r0 -/* 802C90F0 002C6050 48 00 00 29 */ bl sub_802c9118 -/* 802C90F4 002C6054 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C90F8 002C6058 90 1E 00 04 */ stw r0, 4(r30) -lbl_802C90FC: -/* 802C90FC 002C605C 7F C3 F3 78 */ mr r3, r30 -lbl_802C9100: -/* 802C9100 002C6060 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9104 002C6064 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C9108 002C6068 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C910C 002C606C 7C 08 03 A6 */ mtlr r0 -/* 802C9110 002C6070 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9114 002C6074 4E 80 00 20 */ blr - -.global sub_802c9118 -sub_802c9118: -/* 802C9118 002C6078 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C911C 002C607C 7C 08 02 A6 */ mflr r0 -/* 802C9120 002C6080 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C9124 002C6084 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C9128 002C6088 7C BF 2B 78 */ mr r31, r5 -/* 802C912C 002C608C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C9130 002C6090 7C 7E 1B 78 */ mr r30, r3 -/* 802C9134 002C6094 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C9138 002C6098 7C 9D 23 78 */ mr r29, r4 -/* 802C913C 002C609C 48 00 00 18 */ b lbl_802C9154 -lbl_802C9140: -/* 802C9140 002C60A0 7F E3 FB 78 */ mr r3, r31 -/* 802C9144 002C60A4 7F C4 F3 78 */ mr r4, r30 -/* 802C9148 002C60A8 4B FF F8 75 */ bl sub_802c89bc -/* 802C914C 002C60AC 3B FF 00 1C */ addi r31, r31, 0x1c -/* 802C9150 002C60B0 3B DE 00 1C */ addi r30, r30, 0x1c -lbl_802C9154: -/* 802C9154 002C60B4 7C 1E E8 40 */ cmplw r30, r29 -/* 802C9158 002C60B8 40 82 FF E8 */ bne lbl_802C9140 -/* 802C915C 002C60BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C9160 002C60C0 7F E3 FB 78 */ mr r3, r31 -/* 802C9164 002C60C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C9168 002C60C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C916C 002C60CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C9170 002C60D0 7C 08 03 A6 */ mtlr r0 -/* 802C9174 002C60D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C9178 002C60D8 4E 80 00 20 */ blr - -.global sub_802c917c -sub_802c917c: -/* 802C917C 002C60DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802C9180 002C60E0 7C 08 02 A6 */ mflr r0 -/* 802C9184 002C60E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802C9188 002C60E8 38 81 00 0C */ addi r4, r1, 0xc -/* 802C918C 002C60EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C9190 002C60F0 7C 7F 1B 78 */ mr r31, r3 -/* 802C9194 002C60F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C9198 002C60F8 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C919C 002C60FC 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 802C91A0 002C6100 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 802C91A4 002C6104 7C A5 02 14 */ add r5, r5, r0 -/* 802C91A8 002C6108 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802C91AC 002C610C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802C91B0 002C6110 90 A1 00 08 */ stw r5, 8(r1) -/* 802C91B4 002C6114 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C91B8 002C6118 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C91BC 002C611C 4B FF EB 41 */ bl sub_802c7cfc -/* 802C91C0 002C6120 38 00 00 00 */ li r0, 0 -/* 802C91C4 002C6124 90 1F 00 04 */ stw r0, 4(r31) -/* 802C91C8 002C6128 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802C91CC 002C612C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C91D0 002C6130 7C 08 03 A6 */ mtlr r0 -/* 802C91D4 002C6134 38 21 00 20 */ addi r1, r1, 0x20 -/* 802C91D8 002C6138 4E 80 00 20 */ blr - -.global sub_802c91dc -sub_802c91dc: -/* 802C91DC 002C613C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C91E0 002C6140 7C 08 02 A6 */ mflr r0 -/* 802C91E4 002C6144 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C91E8 002C6148 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802C91EC 002C614C 7C 7F 1B 78 */ mr r31, r3 -/* 802C91F0 002C6150 7C 9B 23 78 */ mr r27, r4 -/* 802C91F4 002C6154 7C 1F D8 40 */ cmplw r31, r27 -/* 802C91F8 002C6158 40 82 00 08 */ bne lbl_802C9200 -/* 802C91FC 002C615C 48 00 00 D0 */ b lbl_802C92CC -lbl_802C9200: -/* 802C9200 002C6160 80 1F 00 04 */ lwz r0, 4(r31) -/* 802C9204 002C6164 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 802C9208 002C6168 54 00 18 38 */ slwi r0, r0, 3 -/* 802C920C 002C616C 7F DD 02 14 */ add r30, r29, r0 -/* 802C9210 002C6170 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802C9214 002C6174 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802C9218 002C6178 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802C921C 002C617C 93 A1 00 08 */ stw r29, 8(r1) -/* 802C9220 002C6180 48 00 00 1C */ b lbl_802C923C -lbl_802C9224: -/* 802C9224 002C6184 28 1D 00 00 */ cmplwi r29, 0 -/* 802C9228 002C6188 41 82 00 10 */ beq lbl_802C9238 -/* 802C922C 002C618C 7F A3 EB 78 */ mr r3, r29 -/* 802C9230 002C6190 38 80 00 00 */ li r4, 0 -/* 802C9234 002C6194 48 07 7C 0D */ bl __dt__6CTokenFv -lbl_802C9238: -/* 802C9238 002C6198 3B BD 00 08 */ addi r29, r29, 8 -lbl_802C923C: -/* 802C923C 002C619C 7C 1D F0 40 */ cmplw r29, r30 -/* 802C9240 002C61A0 40 82 FF E4 */ bne lbl_802C9224 -/* 802C9244 002C61A4 38 00 00 00 */ li r0, 0 -/* 802C9248 002C61A8 90 1F 00 04 */ stw r0, 4(r31) -/* 802C924C 002C61AC 80 9B 00 04 */ lwz r4, 4(r27) -/* 802C9250 002C61B0 2C 04 00 00 */ cmpwi r4, 0 -/* 802C9254 002C61B4 40 82 00 28 */ bne lbl_802C927C -/* 802C9258 002C61B8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802C925C 002C61BC 28 03 00 00 */ cmplwi r3, 0 -/* 802C9260 002C61C0 41 82 00 08 */ beq lbl_802C9268 -/* 802C9264 002C61C4 48 04 C6 CD */ bl Free__7CMemoryFPCv -lbl_802C9268: -/* 802C9268 002C61C8 38 00 00 00 */ li r0, 0 -/* 802C926C 002C61CC 90 1F 00 04 */ stw r0, 4(r31) -/* 802C9270 002C61D0 90 1F 00 08 */ stw r0, 8(r31) -/* 802C9274 002C61D4 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802C9278 002C61D8 48 00 00 50 */ b lbl_802C92C8 -lbl_802C927C: -/* 802C927C 002C61DC 7F E3 FB 78 */ mr r3, r31 -/* 802C9280 002C61E0 48 00 0F 05 */ bl sub_802ca184 -/* 802C9284 002C61E4 80 1B 00 04 */ lwz r0, 4(r27) -/* 802C9288 002C61E8 83 9B 00 0C */ lwz r28, 0xc(r27) -/* 802C928C 002C61EC 54 00 18 38 */ slwi r0, r0, 3 -/* 802C9290 002C61F0 83 DF 00 0C */ lwz r30, 0xc(r31) -/* 802C9294 002C61F4 7F BC 02 14 */ add r29, r28, r0 -/* 802C9298 002C61F8 48 00 00 20 */ b lbl_802C92B8 -lbl_802C929C: -/* 802C929C 002C61FC 28 1E 00 00 */ cmplwi r30, 0 -/* 802C92A0 002C6200 41 82 00 10 */ beq lbl_802C92B0 -/* 802C92A4 002C6204 7F C3 F3 78 */ mr r3, r30 -/* 802C92A8 002C6208 7F 84 E3 78 */ mr r4, r28 -/* 802C92AC 002C620C 48 07 7B FD */ bl __ct__6CTokenFRC6CToken -lbl_802C92B0: -/* 802C92B0 002C6210 3B DE 00 08 */ addi r30, r30, 8 -/* 802C92B4 002C6214 3B 9C 00 08 */ addi r28, r28, 8 -lbl_802C92B8: -/* 802C92B8 002C6218 7C 1C E8 40 */ cmplw r28, r29 -/* 802C92BC 002C621C 40 82 FF E0 */ bne lbl_802C929C -/* 802C92C0 002C6220 80 1B 00 04 */ lwz r0, 4(r27) -/* 802C92C4 002C6224 90 1F 00 04 */ stw r0, 4(r31) -lbl_802C92C8: -/* 802C92C8 002C6228 7F E3 FB 78 */ mr r3, r31 -lbl_802C92CC: -/* 802C92CC 002C622C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802C92D0 002C6230 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C92D4 002C6234 7C 08 03 A6 */ mtlr r0 -/* 802C92D8 002C6238 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C92DC 002C623C 4E 80 00 20 */ blr - -.global sub_802c92e0 -sub_802c92e0: -/* 802C92E0 002C6240 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C92E4 002C6244 7C 08 02 A6 */ mflr r0 -/* 802C92E8 002C6248 28 03 00 00 */ cmplwi r3, 0 -/* 802C92EC 002C624C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C92F0 002C6250 41 82 00 08 */ beq lbl_802C92F8 -/* 802C92F4 002C6254 4B FF F3 1D */ bl __as__17CTextRenderBufferFRC17CTextRenderBuffer -lbl_802C92F8: -/* 802C92F8 002C6258 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C92FC 002C625C 7C 08 03 A6 */ mtlr r0 -/* 802C9300 002C6260 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9304 002C6264 4E 80 00 20 */ blr - -.global CheckAndRebuildTextBuffer__15CGuiTextSupportFv -CheckAndRebuildTextBuffer__15CGuiTextSupportFv: -/* 802C9308 002C6268 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802C930C 002C626C 7C 08 02 A6 */ mflr r0 -/* 802C9310 002C6270 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802C9314 002C6274 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802C9318 002C6278 7C 7F 1B 78 */ mr r31, r3 -/* 802C931C 002C627C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C9320 002C6280 48 03 A9 C9 */ bl Clear__18CTextExecuteBufferFv -/* 802C9324 002C6284 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 802C9328 002C6288 38 80 00 00 */ li r4, 0 -/* 802C932C 002C628C 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C9330 002C6290 38 A0 00 00 */ li r5, 0 -/* 802C9334 002C6294 98 03 00 94 */ stb r0, 0x94(r3) -/* 802C9338 002C6298 81 5F 00 18 */ lwz r10, 0x18(r31) -/* 802C933C 002C629C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 802C9340 002C62A0 90 01 00 08 */ stw r0, 8(r1) -/* 802C9344 002C62A4 88 1F 00 15 */ lbz r0, 0x15(r31) -/* 802C9348 002C62A8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C934C 002C62AC 7C 00 00 34 */ cntlzw r0, r0 -/* 802C9350 002C62B0 80 DF 00 34 */ lwz r6, 0x34(r31) -/* 802C9354 002C62B4 80 FF 00 38 */ lwz r7, 0x38(r31) -/* 802C9358 002C62B8 54 09 D9 7E */ srwi r9, r0, 5 -/* 802C935C 002C62BC 89 1F 00 30 */ lbz r8, 0x30(r31) -/* 802C9360 002C62C0 48 03 A8 0D */ bl BeginBlock__18CTextExecuteBufferFiiiib14ETextDirection14EJustification22EVerticalJustification -/* 802C9364 002C62C4 E0 BF A0 27 */ psq_l f5, 39(r31), 1, qr2 -/* 802C9368 002C62C8 E0 3F A0 26 */ psq_l f1, 38(r31), 1, qr2 -/* 802C936C 002C62CC E0 5F A0 25 */ psq_l f2, 37(r31), 1, qr2 -/* 802C9370 002C62D0 E0 7F A0 24 */ psq_l f3, 36(r31), 1, qr2 -/* 802C9374 002C62D4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 802C9378 002C62D8 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) -/* 802C937C 002C62DC 38 80 00 00 */ li r4, 0 -/* 802C9380 002C62E0 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) -/* 802C9384 002C62E4 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 802C9388 002C62E8 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C938C 002C62EC EC 40 00 B2 */ fmuls f2, f0, f2 -/* 802C9390 002C62F0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802C9394 002C62F4 EC 00 01 72 */ fmuls f0, f0, f5 -/* 802C9398 002C62F8 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802C939C 002C62FC EC 44 00 B2 */ fmuls f2, f4, f2 -/* 802C93A0 002C6300 EC 24 00 72 */ fmuls f1, f4, f1 -/* 802C93A4 002C6304 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802C93A8 002C6308 FC 60 18 1E */ fctiwz f3, f3 -/* 802C93AC 002C630C FC 40 10 1E */ fctiwz f2, f2 -/* 802C93B0 002C6310 FC 20 08 1E */ fctiwz f1, f1 -/* 802C93B4 002C6314 FC 00 00 1E */ fctiwz f0, f0 -/* 802C93B8 002C6318 D8 61 00 60 */ stfd f3, 0x60(r1) -/* 802C93BC 002C631C D8 41 00 68 */ stfd f2, 0x68(r1) -/* 802C93C0 002C6320 81 01 00 64 */ lwz r8, 0x64(r1) -/* 802C93C4 002C6324 D8 21 00 70 */ stfd f1, 0x70(r1) -/* 802C93C8 002C6328 80 E1 00 6C */ lwz r7, 0x6c(r1) -/* 802C93CC 002C632C D8 01 00 78 */ stfd f0, 0x78(r1) -/* 802C93D0 002C6330 80 C1 00 74 */ lwz r6, 0x74(r1) -/* 802C93D4 002C6334 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 802C93D8 002C6338 99 01 00 18 */ stb r8, 0x18(r1) -/* 802C93DC 002C633C 98 E1 00 19 */ stb r7, 0x19(r1) -/* 802C93E0 002C6340 98 C1 00 1A */ stb r6, 0x1a(r1) -/* 802C93E4 002C6344 98 01 00 1B */ stb r0, 0x1b(r1) -/* 802C93E8 002C6348 48 03 A0 DD */ bl __ct__17CColorInstructionFiRC6CColor -/* 802C93EC 002C634C E0 BF A0 2B */ psq_l f5, 43(r31), 1, qr2 -/* 802C93F0 002C6350 E0 3F A0 2A */ psq_l f1, 42(r31), 1, qr2 -/* 802C93F4 002C6354 E0 5F A0 29 */ psq_l f2, 41(r31), 1, qr2 -/* 802C93F8 002C6358 E0 7F A0 28 */ psq_l f3, 40(r31), 1, qr2 -/* 802C93FC 002C635C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C9400 002C6360 C0 02 C4 00 */ lfs f0, lbl_805AE120@sda21(r2) -/* 802C9404 002C6364 38 80 00 01 */ li r4, 1 -/* 802C9408 002C6368 C0 82 C3 F4 */ lfs f4, lbl_805AE114@sda21(r2) -/* 802C940C 002C636C EC 60 00 F2 */ fmuls f3, f0, f3 -/* 802C9410 002C6370 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C9414 002C6374 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 802C9418 002C6378 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802C941C 002C637C EC 00 01 72 */ fmuls f0, f0, f5 -/* 802C9420 002C6380 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802C9424 002C6384 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 802C9428 002C6388 EC 24 00 72 */ fmuls f1, f4, f1 -/* 802C942C 002C638C EC 04 00 32 */ fmuls f0, f4, f0 -/* 802C9430 002C6390 FC 60 18 1E */ fctiwz f3, f3 -/* 802C9434 002C6394 FC 40 10 1E */ fctiwz f2, f2 -/* 802C9438 002C6398 FC 20 08 1E */ fctiwz f1, f1 -/* 802C943C 002C639C FC 00 00 1E */ fctiwz f0, f0 -/* 802C9440 002C63A0 D8 61 00 80 */ stfd f3, 0x80(r1) -/* 802C9444 002C63A4 D8 41 00 88 */ stfd f2, 0x88(r1) -/* 802C9448 002C63A8 81 01 00 84 */ lwz r8, 0x84(r1) -/* 802C944C 002C63AC D8 21 00 90 */ stfd f1, 0x90(r1) -/* 802C9450 002C63B0 80 E1 00 8C */ lwz r7, 0x8c(r1) -/* 802C9454 002C63B4 D8 01 00 98 */ stfd f0, 0x98(r1) -/* 802C9458 002C63B8 80 C1 00 94 */ lwz r6, 0x94(r1) -/* 802C945C 002C63BC 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802C9460 002C63C0 99 01 00 14 */ stb r8, 0x14(r1) -/* 802C9464 002C63C4 98 E1 00 15 */ stb r7, 0x15(r1) -/* 802C9468 002C63C8 98 C1 00 16 */ stb r6, 0x16(r1) -/* 802C946C 002C63CC 98 01 00 17 */ stb r0, 0x17(r1) -/* 802C9470 002C63D0 48 03 A0 55 */ bl __ct__17CColorInstructionFiRC6CColor -/* 802C9474 002C63D4 80 9F 00 5C */ lwz r4, 0x5c(r31) -/* 802C9478 002C63D8 38 60 00 00 */ li r3, 0 -/* 802C947C 002C63DC 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 -/* 802C9480 002C63E0 90 61 00 50 */ stw r3, 0x50(r1) -/* 802C9484 002C63E4 3C 04 00 01 */ addis r0, r4, 1 -/* 802C9488 002C63E8 28 00 FF FF */ cmplwi r0, 0xffff -/* 802C948C 002C63EC 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 802C9490 002C63F0 90 61 00 54 */ stw r3, 0x54(r1) -/* 802C9494 002C63F4 41 82 00 68 */ beq lbl_802C94FC -/* 802C9498 002C63F8 3C 60 80 3D */ lis r3, lbl_803D68E0@ha -/* 802C949C 002C63FC 38 63 68 E0 */ addi r3, r3, lbl_803D68E0@l -/* 802C94A0 002C6400 38 63 00 07 */ addi r3, r3, 7 -/* 802C94A4 002C6404 4C C6 31 82 */ crclr 6 -/* 802C94A8 002C6408 48 00 CD 09 */ bl Stringize__7CBasicsFPCce -/* 802C94AC 002C640C 7C 64 1B 78 */ mr r4, r3 -/* 802C94B0 002C6410 38 61 00 3C */ addi r3, r1, 0x3c -/* 802C94B4 002C6414 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802C94B8 002C6418 38 A0 FF FF */ li r5, -1 -/* 802C94BC 002C641C 48 07 4C D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 802C94C0 002C6420 38 61 00 2C */ addi r3, r1, 0x2c -/* 802C94C4 002C6424 38 81 00 3C */ addi r4, r1, 0x3c -/* 802C94C8 002C6428 48 07 52 59 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C94CC 002C642C 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C94D0 002C6430 38 81 00 2C */ addi r4, r1, 0x2c -/* 802C94D4 002C6434 48 07 42 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C94D8 002C6438 38 61 00 4C */ addi r3, r1, 0x4c -/* 802C94DC 002C643C 38 81 00 1C */ addi r4, r1, 0x1c -/* 802C94E0 002C6440 48 07 3E 6D */ bl sub_8033d34c -/* 802C94E4 002C6444 38 61 00 1C */ addi r3, r1, 0x1c -/* 802C94E8 002C6448 48 07 3C 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C94EC 002C644C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802C94F0 002C6450 48 07 3C 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C94F4 002C6454 38 61 00 3C */ addi r3, r1, 0x3c -/* 802C94F8 002C6458 48 07 45 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802C94FC: -/* 802C94FC 002C645C 7F E4 FB 78 */ mr r4, r31 -/* 802C9500 002C6460 38 61 00 4C */ addi r3, r1, 0x4c -/* 802C9504 002C6464 48 07 41 49 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C9508 002C6468 80 6D A6 4C */ lwz r3, lbl_805A920C@sda21(r13) -/* 802C950C 002C646C 80 8D A6 48 */ lwz r4, lbl_805A9208@sda21(r13) -/* 802C9510 002C6470 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 802C9514 002C6474 80 C1 00 54 */ lwz r6, 0x54(r1) -/* 802C9518 002C6478 80 FF 00 20 */ lwz r7, 0x20(r31) -/* 802C951C 002C647C 48 03 C2 31 */ bl ParseText__11CTextParserFR18CTextExecuteBufferPCwi -/* 802C9520 002C6480 80 6D A6 48 */ lwz r3, lbl_805A9208@sda21(r13) -/* 802C9524 002C6484 48 03 A6 05 */ bl EndBlock__18CTextExecuteBufferFv -/* 802C9528 002C6488 38 61 00 4C */ addi r3, r1, 0x4c -/* 802C952C 002C648C 48 07 3C 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C9530 002C6490 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802C9534 002C6494 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802C9538 002C6498 7C 08 03 A6 */ mtlr r0 -/* 802C953C 002C649C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802C9540 002C64A0 4E 80 00 20 */ blr - -.global Render__15CGuiTextSupportFv -Render__15CGuiTextSupportFv: -/* 802C9544 002C64A4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802C9548 002C64A8 7C 08 02 A6 */ mflr r0 -/* 802C954C 002C64AC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802C9550 002C64B0 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802C9554 002C64B4 7C 7F 1B 78 */ mr r31, r3 -/* 802C9558 002C64B8 4B FF F5 D5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv -/* 802C955C 002C64BC 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 802C9560 002C64C0 38 61 00 74 */ addi r3, r1, 0x74 -/* 802C9564 002C64C4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l -/* 802C9568 002C64C8 48 04 96 0D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802C956C 002C64CC C0 22 C3 F0 */ lfs f1, lbl_805AE110@sda21(r2) -/* 802C9570 002C64D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802C9574 002C64D4 C0 02 C4 04 */ lfs f0, lbl_805AE124@sda21(r2) -/* 802C9578 002C64D8 38 81 00 08 */ addi r4, r1, 8 -/* 802C957C 002C64DC D0 21 00 08 */ stfs f1, 8(r1) -/* 802C9580 002C64E0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C9584 002C64E4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802C9588 002C64E8 48 04 9C 3D */ bl Scale__12CTransform4fFRC9CVector3f -/* 802C958C 002C64EC 38 61 00 44 */ addi r3, r1, 0x44 -/* 802C9590 002C64F0 38 81 00 74 */ addi r4, r1, 0x74 -/* 802C9594 002C64F4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802C9598 002C64F8 48 04 93 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802C959C 002C64FC 38 61 00 44 */ addi r3, r1, 0x44 -/* 802C95A0 002C6500 48 04 30 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802C95A4 002C6504 7F E3 FB 78 */ mr r3, r31 -/* 802C95A8 002C6508 4B FF E7 F9 */ bl GetCurrentPageRenderBuffer__15CGuiTextSupportFv -/* 802C95AC 002C650C 28 03 00 00 */ cmplwi r3, 0 -/* 802C95B0 002C6510 41 82 00 10 */ beq lbl_802C95C0 -/* 802C95B4 002C6514 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 802C95B8 002C6518 38 9F 00 2C */ addi r4, r31, 0x2c -/* 802C95BC 002C651C 48 09 0F 01 */ bl Render__17CTextRenderBufferCFRC6CColorf -lbl_802C95C0: -/* 802C95C0 002C6520 38 61 00 74 */ addi r3, r1, 0x74 -/* 802C95C4 002C6524 48 04 30 1D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802C95C8 002C6528 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802C95CC 002C652C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802C95D0 002C6530 7C 08 03 A6 */ mtlr r0 -/* 802C95D4 002C6534 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802C95D8 002C6538 4E 80 00 20 */ blr - -.global "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" -"SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>": -/* 802C95DC 002C653C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C95E0 002C6540 7C 08 02 A6 */ mflr r0 -/* 802C95E4 002C6544 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C95E8 002C6548 80 03 00 20 */ lwz r0, 0x20(r3) -/* 802C95EC 002C654C 7C 00 20 40 */ cmplw r0, r4 -/* 802C95F0 002C6550 41 82 00 0C */ beq lbl_802C95FC -/* 802C95F4 002C6554 90 83 00 20 */ stw r4, 0x20(r3) -/* 802C95F8 002C6558 4B FF ED 6D */ bl ClearRenderBuffer__15CGuiTextSupportFv -lbl_802C95FC: -/* 802C95FC 002C655C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9600 002C6560 7C 08 03 A6 */ mtlr r0 -/* 802C9604 002C6564 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9608 002C6568 4E 80 00 20 */ blr - -.global SetGeometryColor__15CGuiTextSupportFRC6CColor -SetGeometryColor__15CGuiTextSupportFRC6CColor: -/* 802C960C 002C656C 80 04 00 00 */ lwz r0, 0(r4) -/* 802C9610 002C6570 90 03 00 2C */ stw r0, 0x2c(r3) -/* 802C9614 002C6574 4E 80 00 20 */ blr - -.global SetOutlineColor__15CGuiTextSupportFRC6CColor -SetOutlineColor__15CGuiTextSupportFRC6CColor: -/* 802C9618 002C6578 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C961C 002C657C 7C 08 02 A6 */ mflr r0 -/* 802C9620 002C6580 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9624 002C6584 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C9628 002C6588 7C 9F 23 78 */ mr r31, r4 -/* 802C962C 002C658C 93 C1 00 08 */ stw r30, 8(r1) -/* 802C9630 002C6590 7C 7E 1B 78 */ mr r30, r3 -/* 802C9634 002C6594 80 83 00 28 */ lwz r4, 0x28(r3) -/* 802C9638 002C6598 80 1F 00 00 */ lwz r0, 0(r31) -/* 802C963C 002C659C 7C 04 00 40 */ cmplw r4, r0 -/* 802C9640 002C65A0 41 82 00 10 */ beq lbl_802C9650 -/* 802C9644 002C65A4 4B FF ED 21 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 802C9648 002C65A8 80 1F 00 00 */ lwz r0, 0(r31) -/* 802C964C 002C65AC 90 1E 00 28 */ stw r0, 0x28(r30) -lbl_802C9650: -/* 802C9650 002C65B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9654 002C65B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C9658 002C65B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C965C 002C65BC 7C 08 03 A6 */ mtlr r0 -/* 802C9660 002C65C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9664 002C65C4 4E 80 00 20 */ blr - -.global SetFontColor__15CGuiTextSupportFRC6CColor -SetFontColor__15CGuiTextSupportFRC6CColor: -/* 802C9668 002C65C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C966C 002C65CC 7C 08 02 A6 */ mflr r0 -/* 802C9670 002C65D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9674 002C65D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C9678 002C65D8 7C 9F 23 78 */ mr r31, r4 -/* 802C967C 002C65DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802C9680 002C65E0 7C 7E 1B 78 */ mr r30, r3 -/* 802C9684 002C65E4 80 83 00 24 */ lwz r4, 0x24(r3) -/* 802C9688 002C65E8 80 1F 00 00 */ lwz r0, 0(r31) -/* 802C968C 002C65EC 7C 04 00 40 */ cmplw r4, r0 -/* 802C9690 002C65F0 41 82 00 10 */ beq lbl_802C96A0 -/* 802C9694 002C65F4 4B FF EC D1 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 802C9698 002C65F8 80 1F 00 00 */ lwz r0, 0(r31) -/* 802C969C 002C65FC 90 1E 00 24 */ stw r0, 0x24(r30) -lbl_802C96A0: -/* 802C96A0 002C6600 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C96A4 002C6604 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C96A8 002C6608 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C96AC 002C660C 7C 08 03 A6 */ mtlr r0 -/* 802C96B0 002C6610 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C96B4 002C6614 4E 80 00 20 */ blr - -.global SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification -SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification: -/* 802C96B8 002C6618 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C96BC 002C661C 7C 08 02 A6 */ mflr r0 -/* 802C96C0 002C6620 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C96C4 002C6624 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802C96C8 002C6628 7C 04 00 00 */ cmpw r4, r0 -/* 802C96CC 002C662C 41 82 00 0C */ beq lbl_802C96D8 -/* 802C96D0 002C6630 90 83 00 1C */ stw r4, 0x1c(r3) -/* 802C96D4 002C6634 4B FF EC 91 */ bl ClearRenderBuffer__15CGuiTextSupportFv -lbl_802C96D8: -/* 802C96D8 002C6638 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C96DC 002C663C 7C 08 03 A6 */ mtlr r0 -/* 802C96E0 002C6640 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C96E4 002C6644 4E 80 00 20 */ blr - -.global SetJustification__15CGuiTextSupportF14EJustification -SetJustification__15CGuiTextSupportF14EJustification: -/* 802C96E8 002C6648 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C96EC 002C664C 7C 08 02 A6 */ mflr r0 -/* 802C96F0 002C6650 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C96F4 002C6654 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802C96F8 002C6658 7C 04 00 00 */ cmpw r4, r0 -/* 802C96FC 002C665C 41 82 00 0C */ beq lbl_802C9708 -/* 802C9700 002C6660 90 83 00 18 */ stw r4, 0x18(r3) -/* 802C9704 002C6664 4B FF EC 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv -lbl_802C9708: -/* 802C9708 002C6668 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C970C 002C666C 7C 08 03 A6 */ mtlr r0 -/* 802C9710 002C6670 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9714 002C6674 4E 80 00 20 */ blr - -.global SetImageBaseline__15CGuiTextSupportFb -SetImageBaseline__15CGuiTextSupportFb: -/* 802C9718 002C6678 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C971C 002C667C 7C 08 02 A6 */ mflr r0 -/* 802C9720 002C6680 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9724 002C6684 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 802C9728 002C6688 88 A3 00 30 */ lbz r5, 0x30(r3) -/* 802C972C 002C668C 7C 05 00 40 */ cmplw r5, r0 -/* 802C9730 002C6690 41 82 00 0C */ beq lbl_802C973C -/* 802C9734 002C6694 98 83 00 30 */ stb r4, 0x30(r3) -/* 802C9738 002C6698 4B FF EC 2D */ bl ClearRenderBuffer__15CGuiTextSupportFv -lbl_802C973C: -/* 802C973C 002C669C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9740 002C66A0 7C 08 03 A6 */ mtlr r0 -/* 802C9744 002C66A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9748 002C66A8 4E 80 00 20 */ blr - -.global sub_802c974c -sub_802c974c: -/* 802C974C 002C66AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C9750 002C66B0 7C 08 02 A6 */ mflr r0 -/* 802C9754 002C66B4 54 85 06 3E */ clrlwi r5, r4, 0x18 -/* 802C9758 002C66B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C975C 002C66BC 88 03 00 14 */ lbz r0, 0x14(r3) -/* 802C9760 002C66C0 7C 05 00 40 */ cmplw r5, r0 -/* 802C9764 002C66C4 41 82 00 0C */ beq lbl_802C9770 -/* 802C9768 002C66C8 98 83 00 14 */ stb r4, 0x14(r3) -/* 802C976C 002C66CC 4B FF EB F9 */ bl ClearRenderBuffer__15CGuiTextSupportFv -lbl_802C9770: -/* 802C9770 002C66D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9774 002C66D4 7C 08 03 A6 */ mtlr r0 -/* 802C9778 002C66D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C977C 002C66DC 4E 80 00 20 */ blr - -.global AddText__15CGuiTextSupportFQ24rstl7wstring -AddText__15CGuiTextSupportFQ24rstl7wstring: -/* 802C9780 002C66E0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C9784 002C66E4 7C 08 02 A6 */ mflr r0 -/* 802C9788 002C66E8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C978C 002C66EC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802C9790 002C66F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802C9794 002C66F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802C9798 002C66F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802C979C 002C66FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802C97A0 002C6700 7C 7D 1B 78 */ mr r29, r3 -/* 802C97A4 002C6704 7C 9E 23 78 */ mr r30, r4 -/* 802C97A8 002C6708 88 03 02 B8 */ lbz r0, 0x2b8(r3) -/* 802C97AC 002C670C 28 00 00 00 */ cmplwi r0, 0 -/* 802C97B0 002C6710 41 82 00 9C */ beq lbl_802C984C -/* 802C97B4 002C6714 80 9D 00 44 */ lwz r4, 0x44(r29) -/* 802C97B8 002C6718 38 7D 00 40 */ addi r3, r29, 0x40 -/* 802C97BC 002C671C 38 84 00 01 */ addi r4, r4, 1 -/* 802C97C0 002C6720 48 00 0D 29 */ bl sub_802ca4e8 -/* 802C97C4 002C6724 83 FD 00 88 */ lwz r31, 0x88(r29) -/* 802C97C8 002C6728 7F A3 EB 78 */ mr r3, r29 -/* 802C97CC 002C672C C0 1D 00 3C */ lfs f0, 0x3c(r29) -/* 802C97D0 002C6730 D0 01 00 08 */ stfs f0, 8(r1) -/* 802C97D4 002C6734 4B FF E6 C5 */ bl GetCurrentAnimationOverAge__15CGuiTextSupportFv -/* 802C97D8 002C6738 FC 40 08 18 */ frsp f2, f1 -/* 802C97DC 002C673C C0 01 00 08 */ lfs f0, 8(r1) -/* 802C97E0 002C6740 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802C97E4 002C6744 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802C97E8 002C6748 40 80 00 0C */ bge lbl_802C97F4 -/* 802C97EC 002C674C 38 61 00 08 */ addi r3, r1, 8 -/* 802C97F0 002C6750 48 00 00 08 */ b lbl_802C97F8 -lbl_802C97F4: -/* 802C97F4 002C6754 38 61 00 0C */ addi r3, r1, 0xc -lbl_802C97F8: -/* 802C97F8 002C6758 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 802C97FC 002C675C 80 BD 00 48 */ lwz r5, 0x48(r29) -/* 802C9800 002C6760 C3 E3 00 00 */ lfs f31, 0(r3) -/* 802C9804 002C6764 7C 00 28 00 */ cmpw r0, r5 -/* 802C9808 002C6768 41 80 00 1C */ blt lbl_802C9824 -/* 802C980C 002C676C 2C 05 00 00 */ cmpwi r5, 0 -/* 802C9810 002C6770 38 7D 00 40 */ addi r3, r29, 0x40 -/* 802C9814 002C6774 38 80 00 04 */ li r4, 4 -/* 802C9818 002C6778 41 82 00 08 */ beq lbl_802C9820 -/* 802C981C 002C677C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802C9820: -/* 802C9820 002C6780 48 00 0C C9 */ bl sub_802ca4e8 -lbl_802C9824: -/* 802C9824 002C6784 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 802C9828 002C6788 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 802C982C 002C678C 54 00 18 38 */ slwi r0, r0, 3 -/* 802C9830 002C6790 7C 63 02 15 */ add. r3, r3, r0 -/* 802C9834 002C6794 41 82 00 0C */ beq lbl_802C9840 -/* 802C9838 002C6798 D3 E3 00 00 */ stfs f31, 0(r3) -/* 802C983C 002C679C 93 E3 00 04 */ stw r31, 4(r3) -lbl_802C9840: -/* 802C9840 002C67A0 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 802C9844 002C67A4 38 03 00 01 */ addi r0, r3, 1 -/* 802C9848 002C67A8 90 1D 00 44 */ stw r0, 0x44(r29) -lbl_802C984C: -/* 802C984C 002C67AC 7F A3 EB 78 */ mr r3, r29 -/* 802C9850 002C67B0 7F C4 F3 78 */ mr r4, r30 -/* 802C9854 002C67B4 48 07 3D F9 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C9858 002C67B8 7F A3 EB 78 */ mr r3, r29 -/* 802C985C 002C67BC 4B FF EB 09 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 802C9860 002C67C0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802C9864 002C67C4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C9868 002C67C8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802C986C 002C67CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802C9870 002C67D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802C9874 002C67D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802C9878 002C67D8 7C 08 03 A6 */ mtlr r0 -/* 802C987C 002C67DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C9880 002C67E0 4E 80 00 20 */ blr - -.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802C9884 002C67E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C9888 002C67E8 7C 08 02 A6 */ mflr r0 -/* 802C988C 002C67EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C9890 002C67F0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C9894 002C67F4 7C BF 2B 78 */ mr r31, r5 -/* 802C9898 002C67F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C989C 002C67FC 7C 9E 23 78 */ mr r30, r4 -/* 802C98A0 002C6800 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C98A4 002C6804 7C 7D 1B 78 */ mr r29, r3 -/* 802C98A8 002C6808 48 00 00 89 */ bl sub_802c9930 -/* 802C98AC 002C680C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C98B0 002C6810 41 82 00 64 */ beq lbl_802C9914 -/* 802C98B4 002C6814 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 802C98B8 002C6818 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 802C98BC 002C681C 54 00 18 38 */ slwi r0, r0, 3 -/* 802C98C0 002C6820 7C 03 02 14 */ add r0, r3, r0 -/* 802C98C4 002C6824 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C98C8 002C6828 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C98CC 002C682C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C98D0 002C6830 90 61 00 08 */ stw r3, 8(r1) -/* 802C98D4 002C6834 48 00 00 08 */ b lbl_802C98DC -lbl_802C98D8: -/* 802C98D8 002C6838 38 63 00 08 */ addi r3, r3, 8 -lbl_802C98DC: -/* 802C98DC 002C683C 7C 03 00 40 */ cmplw r3, r0 -/* 802C98E0 002C6840 40 82 FF F8 */ bne lbl_802C98D8 -/* 802C98E4 002C6844 38 00 00 00 */ li r0, 0 -/* 802C98E8 002C6848 C0 02 C3 E0 */ lfs f0, lbl_805AE100@sda21(r2) -/* 802C98EC 002C684C 90 1D 00 44 */ stw r0, 0x44(r29) -/* 802C98F0 002C6850 7F A3 EB 78 */ mr r3, r29 -/* 802C98F4 002C6854 7F C4 F3 78 */ mr r4, r30 -/* 802C98F8 002C6858 D0 1D 00 3C */ stfs f0, 0x3c(r29) -/* 802C98FC 002C685C 48 07 3A 51 */ bl sub_8033d34c -/* 802C9900 002C6860 7F A3 EB 78 */ mr r3, r29 -/* 802C9904 002C6864 4B FF EA 61 */ bl ClearRenderBuffer__15CGuiTextSupportFv -/* 802C9908 002C6868 9B FD 03 08 */ stb r31, 0x308(r29) -/* 802C990C 002C686C 38 00 00 00 */ li r0, 0 -/* 802C9910 002C6870 90 1D 03 04 */ stw r0, 0x304(r29) -lbl_802C9914: -/* 802C9914 002C6874 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C9918 002C6878 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C991C 002C687C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C9920 002C6880 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C9924 002C6884 7C 08 03 A6 */ mtlr r0 -/* 802C9928 002C6888 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C992C 002C688C 4E 80 00 20 */ blr - -.global sub_802c9930 -sub_802c9930: -/* 802C9930 002C6890 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C9934 002C6894 7C 08 02 A6 */ mflr r0 -/* 802C9938 002C6898 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C993C 002C689C 48 00 00 21 */ bl sub_802c995c -/* 802C9940 002C68A0 7C 03 00 D0 */ neg r0, r3 -/* 802C9944 002C68A4 7C 00 1B 78 */ or r0, r0, r3 -/* 802C9948 002C68A8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802C994C 002C68AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9950 002C68B0 7C 08 03 A6 */ mtlr r0 -/* 802C9954 002C68B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9958 002C68B8 4E 80 00 20 */ blr - -.global sub_802c995c -sub_802c995c: -/* 802C995C 002C68BC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802C9960 002C68C0 7C 08 02 A6 */ mflr r0 -/* 802C9964 002C68C4 38 E0 00 00 */ li r7, 0 -/* 802C9968 002C68C8 90 01 00 54 */ stw r0, 0x54(r1) -/* 802C996C 002C68CC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802C9970 002C68D0 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802C9974 002C68D4 81 04 00 08 */ lwz r8, 8(r4) -/* 802C9978 002C68D8 80 03 00 08 */ lwz r0, 8(r3) -/* 802C997C 002C68DC 90 81 00 08 */ stw r4, 8(r1) -/* 802C9980 002C68E0 91 01 00 0C */ stw r8, 0xc(r1) -/* 802C9984 002C68E4 90 81 00 10 */ stw r4, 0x10(r1) -/* 802C9988 002C68E8 91 01 00 14 */ stw r8, 0x14(r1) -/* 802C998C 002C68EC 90 81 00 18 */ stw r4, 0x18(r1) -/* 802C9990 002C68F0 90 81 00 20 */ stw r4, 0x20(r1) -/* 802C9994 002C68F4 38 81 00 30 */ addi r4, r1, 0x30 -/* 802C9998 002C68F8 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 802C999C 002C68FC 90 E1 00 24 */ stw r7, 0x24(r1) -/* 802C99A0 002C6900 90 61 00 28 */ stw r3, 0x28(r1) -/* 802C99A4 002C6904 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802C99A8 002C6908 90 61 00 30 */ stw r3, 0x30(r1) -/* 802C99AC 002C690C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C99B0 002C6910 90 61 00 38 */ stw r3, 0x38(r1) -/* 802C99B4 002C6914 90 61 00 40 */ stw r3, 0x40(r1) -/* 802C99B8 002C6918 38 61 00 40 */ addi r3, r1, 0x40 -/* 802C99BC 002C691C 90 E1 00 3C */ stw r7, 0x3c(r1) -/* 802C99C0 002C6920 90 E1 00 44 */ stw r7, 0x44(r1) -/* 802C99C4 002C6924 48 00 00 15 */ bl sub_802c99d8 -/* 802C99C8 002C6928 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802C99CC 002C692C 7C 08 03 A6 */ mtlr r0 -/* 802C99D0 002C6930 38 21 00 50 */ addi r1, r1, 0x50 -/* 802C99D4 002C6934 4E 80 00 20 */ blr - -.global sub_802c99d8 -sub_802c99d8: -/* 802C99D8 002C6938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C99DC 002C693C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C99E0 002C6940 81 03 00 04 */ lwz r8, 4(r3) -/* 802C99E4 002C6944 81 45 00 04 */ lwz r10, 4(r5) -/* 802C99E8 002C6948 80 E3 00 00 */ lwz r7, 0(r3) -/* 802C99EC 002C694C 55 0C 08 3C */ slwi r12, r8, 1 -/* 802C99F0 002C6950 81 25 00 00 */ lwz r9, 0(r5) -/* 802C99F4 002C6954 55 4B 08 3C */ slwi r11, r10, 1 -/* 802C99F8 002C6958 83 E4 00 00 */ lwz r31, 0(r4) -/* 802C99FC 002C695C 48 00 00 30 */ b lbl_802C9A2C -lbl_802C9A00: -/* 802C9A00 002C6960 80 A9 00 00 */ lwz r5, 0(r9) -/* 802C9A04 002C6964 80 67 00 00 */ lwz r3, 0(r7) -/* 802C9A08 002C6968 7C A5 5A 2E */ lhzx r5, r5, r11 -/* 802C9A0C 002C696C 7C 03 62 2E */ lhzx r0, r3, r12 -/* 802C9A10 002C6970 7C 65 00 51 */ subf. r3, r5, r0 -/* 802C9A14 002C6974 41 82 00 08 */ beq lbl_802C9A1C -/* 802C9A18 002C6978 48 00 00 E4 */ b lbl_802C9AFC -lbl_802C9A1C: -/* 802C9A1C 002C697C 39 8C 00 02 */ addi r12, r12, 2 -/* 802C9A20 002C6980 39 08 00 01 */ addi r8, r8, 1 -/* 802C9A24 002C6984 39 6B 00 02 */ addi r11, r11, 2 -/* 802C9A28 002C6988 39 4A 00 01 */ addi r10, r10, 1 -lbl_802C9A2C: -/* 802C9A2C 002C698C 7C 07 F8 40 */ cmplw r7, r31 -/* 802C9A30 002C6990 38 60 00 00 */ li r3, 0 -/* 802C9A34 002C6994 40 82 00 10 */ bne lbl_802C9A44 -/* 802C9A38 002C6998 80 04 00 04 */ lwz r0, 4(r4) -/* 802C9A3C 002C699C 7C 08 00 00 */ cmpw r8, r0 -/* 802C9A40 002C69A0 41 82 00 08 */ beq lbl_802C9A48 -lbl_802C9A44: -/* 802C9A44 002C69A4 38 60 00 01 */ li r3, 1 -lbl_802C9A48: -/* 802C9A48 002C69A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C9A4C 002C69AC 41 82 00 2C */ beq lbl_802C9A78 -/* 802C9A50 002C69B0 80 06 00 00 */ lwz r0, 0(r6) -/* 802C9A54 002C69B4 38 60 00 00 */ li r3, 0 -/* 802C9A58 002C69B8 7C 09 00 40 */ cmplw r9, r0 -/* 802C9A5C 002C69BC 40 82 00 10 */ bne lbl_802C9A6C -/* 802C9A60 002C69C0 80 06 00 04 */ lwz r0, 4(r6) -/* 802C9A64 002C69C4 7C 0A 00 00 */ cmpw r10, r0 -/* 802C9A68 002C69C8 41 82 00 08 */ beq lbl_802C9A70 -lbl_802C9A6C: -/* 802C9A6C 002C69CC 38 60 00 01 */ li r3, 1 -lbl_802C9A70: -/* 802C9A70 002C69D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C9A74 002C69D4 40 82 FF 8C */ bne lbl_802C9A00 -lbl_802C9A78: -/* 802C9A78 002C69D8 7C 07 F8 40 */ cmplw r7, r31 -/* 802C9A7C 002C69DC 38 60 00 00 */ li r3, 0 -/* 802C9A80 002C69E0 40 82 00 14 */ bne lbl_802C9A94 -/* 802C9A84 002C69E4 80 04 00 04 */ lwz r0, 4(r4) -/* 802C9A88 002C69E8 7C 08 00 00 */ cmpw r8, r0 -/* 802C9A8C 002C69EC 40 82 00 08 */ bne lbl_802C9A94 -/* 802C9A90 002C69F0 38 60 00 01 */ li r3, 1 -lbl_802C9A94: -/* 802C9A94 002C69F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C9A98 002C69F8 41 82 00 34 */ beq lbl_802C9ACC -/* 802C9A9C 002C69FC 80 06 00 00 */ lwz r0, 0(r6) -/* 802C9AA0 002C6A00 38 60 00 00 */ li r3, 0 -/* 802C9AA4 002C6A04 7C 09 00 40 */ cmplw r9, r0 -/* 802C9AA8 002C6A08 40 82 00 10 */ bne lbl_802C9AB8 -/* 802C9AAC 002C6A0C 80 06 00 04 */ lwz r0, 4(r6) -/* 802C9AB0 002C6A10 7C 0A 00 00 */ cmpw r10, r0 -/* 802C9AB4 002C6A14 41 82 00 08 */ beq lbl_802C9ABC -lbl_802C9AB8: -/* 802C9AB8 002C6A18 38 60 00 01 */ li r3, 1 -lbl_802C9ABC: -/* 802C9ABC 002C6A1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C9AC0 002C6A20 41 82 00 0C */ beq lbl_802C9ACC -/* 802C9AC4 002C6A24 38 60 FF FF */ li r3, -1 -/* 802C9AC8 002C6A28 48 00 00 34 */ b lbl_802C9AFC -lbl_802C9ACC: -/* 802C9ACC 002C6A2C 7C 07 F8 40 */ cmplw r7, r31 -/* 802C9AD0 002C6A30 38 60 00 00 */ li r3, 0 -/* 802C9AD4 002C6A34 40 82 00 14 */ bne lbl_802C9AE8 -/* 802C9AD8 002C6A38 80 04 00 04 */ lwz r0, 4(r4) -/* 802C9ADC 002C6A3C 7C 08 00 00 */ cmpw r8, r0 -/* 802C9AE0 002C6A40 40 82 00 08 */ bne lbl_802C9AE8 -/* 802C9AE4 002C6A44 38 60 00 01 */ li r3, 1 -lbl_802C9AE8: -/* 802C9AE8 002C6A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802C9AEC 002C6A4C 41 82 00 0C */ beq lbl_802C9AF8 -/* 802C9AF0 002C6A50 38 60 00 00 */ li r3, 0 -/* 802C9AF4 002C6A54 48 00 00 08 */ b lbl_802C9AFC -lbl_802C9AF8: -/* 802C9AF8 002C6A58 38 60 00 01 */ li r3, 1 -lbl_802C9AFC: -/* 802C9AFC 002C6A5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C9B00 002C6A60 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9B04 002C6A64 4E 80 00 20 */ blr - -.global "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802C9B08 002C6A68 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C9B0C 002C6A6C 7C 08 02 A6 */ mflr r0 -/* 802C9B10 002C6A70 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C9B14 002C6A74 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C9B18 002C6A78 7C BF 2B 78 */ mr r31, r5 -/* 802C9B1C 002C6A7C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C9B20 002C6A80 7C 7E 1B 78 */ mr r30, r3 -/* 802C9B24 002C6A84 38 61 00 08 */ addi r3, r1, 8 -/* 802C9B28 002C6A88 48 07 4B F9 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C9B2C 002C6A8C 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C9B30 002C6A90 38 81 00 08 */ addi r4, r1, 8 -/* 802C9B34 002C6A94 48 07 3C 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C9B38 002C6A98 38 61 00 08 */ addi r3, r1, 8 -/* 802C9B3C 002C6A9C 48 07 35 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C9B40 002C6AA0 7F C3 F3 78 */ mr r3, r30 -/* 802C9B44 002C6AA4 7F E5 FB 78 */ mr r5, r31 -/* 802C9B48 002C6AA8 38 81 00 18 */ addi r4, r1, 0x18 -/* 802C9B4C 002C6AAC 4B FF FD 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802C9B50 002C6AB0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C9B54 002C6AB4 48 07 35 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802C9B58 002C6AB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C9B5C 002C6ABC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C9B60 002C6AC0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C9B64 002C6AC4 7C 08 03 A6 */ mtlr r0 -/* 802C9B68 002C6AC8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C9B6C 002C6ACC 4E 80 00 20 */ blr - -.global _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -_GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: -/* 802C9B70 002C6AD0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802C9B74 002C6AD4 7C 08 02 A6 */ mflr r0 -/* 802C9B78 002C6AD8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802C9B7C 002C6ADC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802C9B80 002C6AE0 3B E0 00 00 */ li r31, 0 -/* 802C9B84 002C6AE4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802C9B88 002C6AE8 3B C0 00 00 */ li r30, 0 -/* 802C9B8C 002C6AEC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C9B90 002C6AF0 7C 7D 1B 78 */ mr r29, r3 -/* 802C9B94 002C6AF4 48 00 00 40 */ b lbl_802C9BD4 -lbl_802C9B98: -/* 802C9B98 002C6AF8 80 1D 02 C8 */ lwz r0, 0x2c8(r29) -/* 802C9B9C 002C6AFC 7C 60 FA 14 */ add r3, r0, r31 -/* 802C9BA0 002C6B00 88 03 00 04 */ lbz r0, 4(r3) -/* 802C9BA4 002C6B04 28 00 00 00 */ cmplwi r0, 0 -/* 802C9BA8 002C6B08 40 82 00 08 */ bne lbl_802C9BB0 -/* 802C9BAC 002C6B0C 48 07 71 D9 */ bl Lock__6CTokenFv -lbl_802C9BB0: -/* 802C9BB0 002C6B10 80 7D 02 C8 */ lwz r3, 0x2c8(r29) -/* 802C9BB4 002C6B14 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802C9BB8 002C6B18 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802C9BBC 002C6B1C 28 00 00 00 */ cmplwi r0, 0 -/* 802C9BC0 002C6B20 40 82 00 0C */ bne lbl_802C9BCC -/* 802C9BC4 002C6B24 38 60 00 00 */ li r3, 0 -/* 802C9BC8 002C6B28 48 00 00 80 */ b lbl_802C9C48 -lbl_802C9BCC: -/* 802C9BCC 002C6B2C 3B FF 00 08 */ addi r31, r31, 8 -/* 802C9BD0 002C6B30 3B DE 00 01 */ addi r30, r30, 1 -lbl_802C9BD4: -/* 802C9BD4 002C6B34 80 7D 02 C0 */ lwz r3, 0x2c0(r29) -/* 802C9BD8 002C6B38 7C 1E 18 00 */ cmpw r30, r3 -/* 802C9BDC 002C6B3C 41 80 FF BC */ blt lbl_802C9B98 -/* 802C9BE0 002C6B40 88 1D 02 D8 */ lbz r0, 0x2d8(r29) -/* 802C9BE4 002C6B44 28 00 00 00 */ cmplwi r0, 0 -/* 802C9BE8 002C6B48 41 82 00 48 */ beq lbl_802C9C30 -/* 802C9BEC 002C6B4C 3B FD 02 CC */ addi r31, r29, 0x2cc -/* 802C9BF0 002C6B50 3B A1 00 08 */ addi r29, r1, 8 -/* 802C9BF4 002C6B54 7F A3 EB 78 */ mr r3, r29 -/* 802C9BF8 002C6B58 7F E4 FB 78 */ mr r4, r31 -/* 802C9BFC 002C6B5C 48 07 72 AD */ bl __ct__6CTokenFRC6CToken -/* 802C9C00 002C6B60 80 1F 00 08 */ lwz r0, 8(r31) -/* 802C9C04 002C6B64 7F A3 EB 78 */ mr r3, r29 -/* 802C9C08 002C6B68 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C9C0C 002C6B6C 48 07 71 79 */ bl Lock__6CTokenFv -/* 802C9C10 002C6B70 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802C9C14 002C6B74 48 03 63 1D */ bl IsFinishedLoading__11CRasterFontFv -/* 802C9C18 002C6B78 7C 7F 1B 78 */ mr r31, r3 -/* 802C9C1C 002C6B7C 7F A3 EB 78 */ mr r3, r29 -/* 802C9C20 002C6B80 38 80 00 00 */ li r4, 0 -/* 802C9C24 002C6B84 48 07 72 1D */ bl __dt__6CTokenFv -/* 802C9C28 002C6B88 7F E3 FB 78 */ mr r3, r31 -/* 802C9C2C 002C6B8C 48 00 00 1C */ b lbl_802C9C48 -lbl_802C9C30: -/* 802C9C30 002C6B90 40 82 00 14 */ bne lbl_802C9C44 -/* 802C9C34 002C6B94 2C 03 00 00 */ cmpwi r3, 0 -/* 802C9C38 002C6B98 40 82 00 0C */ bne lbl_802C9C44 -/* 802C9C3C 002C6B9C 38 60 00 00 */ li r3, 0 -/* 802C9C40 002C6BA0 48 00 00 08 */ b lbl_802C9C48 -lbl_802C9C44: -/* 802C9C44 002C6BA4 38 60 00 01 */ li r3, 1 -lbl_802C9C48: -/* 802C9C48 002C6BA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802C9C4C 002C6BAC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802C9C50 002C6BB0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802C9C54 002C6BB4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802C9C58 002C6BB8 7C 08 03 A6 */ mtlr r0 -/* 802C9C5C 002C6BBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802C9C60 002C6BC0 4E 80 00 20 */ blr - -.global GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv: -/* 802C9C64 002C6BC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C9C68 002C6BC8 7C 08 02 A6 */ mflr r0 -/* 802C9C6C 002C6BCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9C70 002C6BD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C9C74 002C6BD4 7C 7F 1B 78 */ mr r31, r3 -/* 802C9C78 002C6BD8 4B FF EE B5 */ bl CheckAndRebuildRenderBuffer__15CGuiTextSupportFv -/* 802C9C7C 002C6BDC 7F E3 FB 78 */ mr r3, r31 -/* 802C9C80 002C6BE0 4B FF FE F1 */ bl _GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv -/* 802C9C84 002C6BE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9C88 002C6BE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C9C8C 002C6BEC 7C 08 03 A6 */ mtlr r0 -/* 802C9C90 002C6BF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9C94 002C6BF4 4E 80 00 20 */ blr - -.global __dt__15CGuiTextSupportFv -__dt__15CGuiTextSupportFv: -/* 802C9C98 002C6BF8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C9C9C 002C6BFC 7C 08 02 A6 */ mflr r0 -/* 802C9CA0 002C6C00 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C9CA4 002C6C04 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802C9CA8 002C6C08 7C 9F 23 78 */ mr r31, r4 -/* 802C9CAC 002C6C0C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802C9CB0 002C6C10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C9CB4 002C6C14 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802C9CB8 002C6C18 93 81 00 30 */ stw r28, 0x30(r1) -/* 802C9CBC 002C6C1C 41 82 01 0C */ beq lbl_802C9DC8 -/* 802C9CC0 002C6C20 38 7E 02 EC */ addi r3, r30, 0x2ec -/* 802C9CC4 002C6C24 38 80 FF FF */ li r4, -1 -/* 802C9CC8 002C6C28 48 00 04 29 */ bl "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" -/* 802C9CCC 002C6C2C 34 1E 02 CC */ addic. r0, r30, 0x2cc -/* 802C9CD0 002C6C30 41 82 00 30 */ beq lbl_802C9D00 -/* 802C9CD4 002C6C34 88 1E 02 D8 */ lbz r0, 0x2d8(r30) -/* 802C9CD8 002C6C38 28 00 00 00 */ cmplwi r0, 0 -/* 802C9CDC 002C6C3C 41 82 00 1C */ beq lbl_802C9CF8 -/* 802C9CE0 002C6C40 34 7E 02 CC */ addic. r3, r30, 0x2cc -/* 802C9CE4 002C6C44 41 82 00 14 */ beq lbl_802C9CF8 -/* 802C9CE8 002C6C48 28 03 00 00 */ cmplwi r3, 0 -/* 802C9CEC 002C6C4C 41 82 00 0C */ beq lbl_802C9CF8 -/* 802C9CF0 002C6C50 38 80 00 00 */ li r4, 0 -/* 802C9CF4 002C6C54 48 07 71 4D */ bl __dt__6CTokenFv -lbl_802C9CF8: -/* 802C9CF8 002C6C58 38 00 00 00 */ li r0, 0 -/* 802C9CFC 002C6C5C 98 1E 02 D8 */ stb r0, 0x2d8(r30) -lbl_802C9D00: -/* 802C9D00 002C6C60 34 1E 02 BC */ addic. r0, r30, 0x2bc -/* 802C9D04 002C6C64 41 82 00 50 */ beq lbl_802C9D54 -/* 802C9D08 002C6C68 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 802C9D0C 002C6C6C 83 9E 02 C8 */ lwz r28, 0x2c8(r30) -/* 802C9D10 002C6C70 54 00 18 38 */ slwi r0, r0, 3 -/* 802C9D14 002C6C74 7F BC 02 14 */ add r29, r28, r0 -/* 802C9D18 002C6C78 93 81 00 1C */ stw r28, 0x1c(r1) -/* 802C9D1C 002C6C7C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802C9D20 002C6C80 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802C9D24 002C6C84 93 81 00 18 */ stw r28, 0x18(r1) -/* 802C9D28 002C6C88 48 00 00 14 */ b lbl_802C9D3C -lbl_802C9D2C: -/* 802C9D2C 002C6C8C 7F 83 E3 78 */ mr r3, r28 -/* 802C9D30 002C6C90 38 80 FF FF */ li r4, -1 -/* 802C9D34 002C6C94 48 07 71 0D */ bl __dt__6CTokenFv -/* 802C9D38 002C6C98 3B 9C 00 08 */ addi r28, r28, 8 -lbl_802C9D3C: -/* 802C9D3C 002C6C9C 7C 1C E8 40 */ cmplw r28, r29 -/* 802C9D40 002C6CA0 40 82 FF EC */ bne lbl_802C9D2C -/* 802C9D44 002C6CA4 80 7E 02 C8 */ lwz r3, 0x2c8(r30) -/* 802C9D48 002C6CA8 28 03 00 00 */ cmplwi r3, 0 -/* 802C9D4C 002C6CAC 41 82 00 08 */ beq lbl_802C9D54 -/* 802C9D50 002C6CB0 48 04 BB E1 */ bl Free__7CMemoryFPCv -lbl_802C9D54: -/* 802C9D54 002C6CB4 38 7E 00 60 */ addi r3, r30, 0x60 -/* 802C9D58 002C6CB8 38 80 FF FF */ li r4, -1 -/* 802C9D5C 002C6CBC 48 00 00 91 */ bl sub_802c9dec -/* 802C9D60 002C6CC0 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 802C9D64 002C6CC4 41 82 00 44 */ beq lbl_802C9DA8 -/* 802C9D68 002C6CC8 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 802C9D6C 002C6CCC 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 802C9D70 002C6CD0 54 00 18 38 */ slwi r0, r0, 3 -/* 802C9D74 002C6CD4 7C 03 02 14 */ add r0, r3, r0 -/* 802C9D78 002C6CD8 90 61 00 0C */ stw r3, 0xc(r1) -/* 802C9D7C 002C6CDC 7C 64 1B 78 */ mr r4, r3 -/* 802C9D80 002C6CE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9D84 002C6CE4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C9D88 002C6CE8 90 61 00 08 */ stw r3, 8(r1) -/* 802C9D8C 002C6CEC 48 00 00 08 */ b lbl_802C9D94 -lbl_802C9D90: -/* 802C9D90 002C6CF0 38 84 00 08 */ addi r4, r4, 8 -lbl_802C9D94: -/* 802C9D94 002C6CF4 7C 04 00 40 */ cmplw r4, r0 -/* 802C9D98 002C6CF8 40 82 FF F8 */ bne lbl_802C9D90 -/* 802C9D9C 002C6CFC 28 03 00 00 */ cmplwi r3, 0 -/* 802C9DA0 002C6D00 41 82 00 08 */ beq lbl_802C9DA8 -/* 802C9DA4 002C6D04 48 04 BB 8D */ bl Free__7CMemoryFPCv -lbl_802C9DA8: -/* 802C9DA8 002C6D08 28 1E 00 00 */ cmplwi r30, 0 -/* 802C9DAC 002C6D0C 41 82 00 0C */ beq lbl_802C9DB8 -/* 802C9DB0 002C6D10 7F C3 F3 78 */ mr r3, r30 -/* 802C9DB4 002C6D14 48 07 33 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802C9DB8: -/* 802C9DB8 002C6D18 7F E0 07 35 */ extsh. r0, r31 -/* 802C9DBC 002C6D1C 40 81 00 0C */ ble lbl_802C9DC8 -/* 802C9DC0 002C6D20 7F C3 F3 78 */ mr r3, r30 -/* 802C9DC4 002C6D24 48 04 BB 6D */ bl Free__7CMemoryFPCv -lbl_802C9DC8: -/* 802C9DC8 002C6D28 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802C9DCC 002C6D2C 7F C3 F3 78 */ mr r3, r30 -/* 802C9DD0 002C6D30 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802C9DD4 002C6D34 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802C9DD8 002C6D38 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802C9DDC 002C6D3C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 802C9DE0 002C6D40 7C 08 03 A6 */ mtlr r0 -/* 802C9DE4 002C6D44 38 21 00 40 */ addi r1, r1, 0x40 -/* 802C9DE8 002C6D48 4E 80 00 20 */ blr - -.global sub_802c9dec -sub_802c9dec: -/* 802C9DEC 002C6D4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802C9DF0 002C6D50 7C 08 02 A6 */ mflr r0 -/* 802C9DF4 002C6D54 90 01 00 14 */ stw r0, 0x14(r1) -/* 802C9DF8 002C6D58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802C9DFC 002C6D5C 7C 9F 23 78 */ mr r31, r4 -/* 802C9E00 002C6D60 93 C1 00 08 */ stw r30, 8(r1) -/* 802C9E04 002C6D64 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802C9E08 002C6D68 41 82 00 18 */ beq lbl_802C9E20 -/* 802C9E0C 002C6D6C 4B FF EC BD */ bl sub_802c8ac8 -/* 802C9E10 002C6D70 7F E0 07 35 */ extsh. r0, r31 -/* 802C9E14 002C6D74 40 81 00 0C */ ble lbl_802C9E20 -/* 802C9E18 002C6D78 7F C3 F3 78 */ mr r3, r30 -/* 802C9E1C 002C6D7C 48 04 BB 15 */ bl Free__7CMemoryFPCv -lbl_802C9E20: -/* 802C9E20 002C6D80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802C9E24 002C6D84 7F C3 F3 78 */ mr r3, r30 -/* 802C9E28 002C6D88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802C9E2C 002C6D8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802C9E30 002C6D90 7C 08 03 A6 */ mtlr r0 -/* 802C9E34 002C6D94 38 21 00 10 */ addi r1, r1, 0x10 -/* 802C9E38 002C6D98 4E 80 00 20 */ blr - -.global __ct__15CGuiTextSupportFv -__ct__15CGuiTextSupportFv: -/* 802C9E3C 002C6D9C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802C9E40 002C6DA0 7C 08 02 A6 */ mflr r0 -/* 802C9E44 002C6DA4 39 60 00 00 */ li r11, 0 -/* 802C9E48 002C6DA8 C0 42 C3 E0 */ lfs f2, lbl_805AE100@sda21(r2) -/* 802C9E4C 002C6DAC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802C9E50 002C6DB0 38 0D A9 1A */ addi r0, r13, lbl_805A94DA@sda21 -/* 802C9E54 002C6DB4 C0 22 C4 08 */ lfs f1, lbl_805AE128@sda21(r2) -/* 802C9E58 002C6DB8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802C9E5C 002C6DBC C0 02 C4 0C */ lfs f0, lbl_805AE12C@sda21(r2) -/* 802C9E60 002C6DC0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802C9E64 002C6DC4 7C 7E 1B 78 */ mr r30, r3 -/* 802C9E68 002C6DC8 83 E1 00 48 */ lwz r31, 0x48(r1) -/* 802C9E6C 002C6DCC 90 03 00 00 */ stw r0, 0(r3) -/* 802C9E70 002C6DD0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802C9E74 002C6DD4 91 7E 00 04 */ stw r11, 4(r30) -/* 802C9E78 002C6DD8 91 7E 00 08 */ stw r11, 8(r30) -/* 802C9E7C 002C6DDC D0 5E 00 10 */ stfs f2, 0x10(r30) -/* 802C9E80 002C6DE0 88 05 00 00 */ lbz r0, 0(r5) -/* 802C9E84 002C6DE4 98 1E 00 14 */ stb r0, 0x14(r30) -/* 802C9E88 002C6DE8 88 05 00 01 */ lbz r0, 1(r5) -/* 802C9E8C 002C6DEC 98 1E 00 15 */ stb r0, 0x15(r30) -/* 802C9E90 002C6DF0 80 05 00 04 */ lwz r0, 4(r5) -/* 802C9E94 002C6DF4 90 1E 00 18 */ stw r0, 0x18(r30) -/* 802C9E98 002C6DF8 80 05 00 08 */ lwz r0, 8(r5) -/* 802C9E9C 002C6DFC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802C9EA0 002C6E00 80 05 00 0C */ lwz r0, 0xc(r5) -/* 802C9EA4 002C6E04 38 A0 00 00 */ li r5, 0 -/* 802C9EA8 002C6E08 90 1E 00 20 */ stw r0, 0x20(r30) -/* 802C9EAC 002C6E0C 80 06 00 00 */ lwz r0, 0(r6) -/* 802C9EB0 002C6E10 90 1E 00 24 */ stw r0, 0x24(r30) -/* 802C9EB4 002C6E14 80 07 00 00 */ lwz r0, 0(r7) -/* 802C9EB8 002C6E18 90 1E 00 28 */ stw r0, 0x28(r30) -/* 802C9EBC 002C6E1C 80 08 00 00 */ lwz r0, 0(r8) -/* 802C9EC0 002C6E20 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802C9EC4 002C6E24 99 7E 00 30 */ stb r11, 0x30(r30) -/* 802C9EC8 002C6E28 91 3E 00 34 */ stw r9, 0x34(r30) -/* 802C9ECC 002C6E2C 91 5E 00 38 */ stw r10, 0x38(r30) -/* 802C9ED0 002C6E30 D0 5E 00 3C */ stfs f2, 0x3c(r30) -/* 802C9ED4 002C6E34 91 7E 00 44 */ stw r11, 0x44(r30) -/* 802C9ED8 002C6E38 91 7E 00 48 */ stw r11, 0x48(r30) -/* 802C9EDC 002C6E3C 91 7E 00 4C */ stw r11, 0x4c(r30) -/* 802C9EE0 002C6E40 99 7E 00 50 */ stb r11, 0x50(r30) -/* 802C9EE4 002C6E44 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 802C9EE8 002C6E48 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 802C9EEC 002C6E4C 90 9E 00 5C */ stw r4, 0x5c(r30) -/* 802C9EF0 002C6E50 38 80 00 00 */ li r4, 0 -/* 802C9EF4 002C6E54 99 7E 02 B8 */ stb r11, 0x2b8(r30) -/* 802C9EF8 002C6E58 91 7E 02 C0 */ stw r11, 0x2c0(r30) -/* 802C9EFC 002C6E5C 91 7E 02 C4 */ stw r11, 0x2c4(r30) -/* 802C9F00 002C6E60 91 7E 02 C8 */ stw r11, 0x2c8(r30) -/* 802C9F04 002C6E64 99 7E 02 D8 */ stb r11, 0x2d8(r30) -/* 802C9F08 002C6E68 48 04 A4 45 */ bl __ct__9CVector2iFii -/* 802C9F0C 002C6E6C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802C9F10 002C6E70 38 80 00 00 */ li r4, 0 -/* 802C9F14 002C6E74 38 A0 00 00 */ li r5, 0 -/* 802C9F18 002C6E78 48 04 A4 35 */ bl __ct__9CVector2iFii -/* 802C9F1C 002C6E7C 80 81 00 20 */ lwz r4, 0x20(r1) -/* 802C9F20 002C6E80 38 7E 02 F8 */ addi r3, r30, 0x2f8 -/* 802C9F24 002C6E84 38 00 00 00 */ li r0, 0 -/* 802C9F28 002C6E88 90 9E 02 DC */ stw r4, 0x2dc(r30) -/* 802C9F2C 002C6E8C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802C9F30 002C6E90 90 9E 02 E0 */ stw r4, 0x2e0(r30) -/* 802C9F34 002C6E94 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802C9F38 002C6E98 90 9E 02 E4 */ stw r4, 0x2e4(r30) -/* 802C9F3C 002C6E9C 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 802C9F40 002C6EA0 90 9E 02 E8 */ stw r4, 0x2e8(r30) -/* 802C9F44 002C6EA4 90 7E 02 F0 */ stw r3, 0x2f0(r30) -/* 802C9F48 002C6EA8 90 7E 02 F4 */ stw r3, 0x2f4(r30) -/* 802C9F4C 002C6EAC 90 7E 02 F8 */ stw r3, 0x2f8(r30) -/* 802C9F50 002C6EB0 90 7E 02 FC */ stw r3, 0x2fc(r30) -/* 802C9F54 002C6EB4 90 1E 03 00 */ stw r0, 0x300(r30) -/* 802C9F58 002C6EB8 90 1E 03 04 */ stw r0, 0x304(r30) -/* 802C9F5C 002C6EBC 98 1E 03 08 */ stb r0, 0x308(r30) -/* 802C9F60 002C6EC0 80 9E 00 5C */ lwz r4, 0x5c(r30) -/* 802C9F64 002C6EC4 3C 04 00 01 */ addis r0, r4, 1 -/* 802C9F68 002C6EC8 28 00 FF FF */ cmplwi r0, 0xffff -/* 802C9F6C 002C6ECC 41 82 00 BC */ beq lbl_802CA028 -/* 802C9F70 002C6ED0 3C 60 46 4F */ lis r3, 0x464F4E54@ha -/* 802C9F74 002C6ED4 90 81 00 14 */ stw r4, 0x14(r1) -/* 802C9F78 002C6ED8 38 03 4E 54 */ addi r0, r3, 0x464F4E54@l -/* 802C9F7C 002C6EDC 7F E4 FB 78 */ mr r4, r31 -/* 802C9F80 002C6EE0 90 01 00 10 */ stw r0, 0x10(r1) -/* 802C9F84 002C6EE4 38 61 00 08 */ addi r3, r1, 8 -/* 802C9F88 002C6EE8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802C9F8C 002C6EEC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802C9F90 002C6EF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802C9F94 002C6EF4 7D 89 03 A6 */ mtctr r12 -/* 802C9F98 002C6EF8 4E 80 04 21 */ bctrl -/* 802C9F9C 002C6EFC 3B E1 00 28 */ addi r31, r1, 0x28 -/* 802C9FA0 002C6F00 38 81 00 08 */ addi r4, r1, 8 -/* 802C9FA4 002C6F04 7F E3 FB 78 */ mr r3, r31 -/* 802C9FA8 002C6F08 48 07 6F 01 */ bl __ct__6CTokenFRC6CToken -/* 802C9FAC 002C6F0C 7F E3 FB 78 */ mr r3, r31 -/* 802C9FB0 002C6F10 48 07 6E 5D */ bl GetObj__6CTokenFv -/* 802C9FB4 002C6F14 80 03 00 04 */ lwz r0, 4(r3) -/* 802C9FB8 002C6F18 90 01 00 30 */ stw r0, 0x30(r1) -/* 802C9FBC 002C6F1C 88 1E 02 D8 */ lbz r0, 0x2d8(r30) -/* 802C9FC0 002C6F20 28 00 00 00 */ cmplwi r0, 0 -/* 802C9FC4 002C6F24 40 82 00 34 */ bne lbl_802C9FF8 -/* 802C9FC8 002C6F28 37 FE 02 CC */ addic. r31, r30, 0x2cc -/* 802C9FCC 002C6F2C 41 82 00 20 */ beq lbl_802C9FEC -/* 802C9FD0 002C6F30 7F E3 FB 78 */ mr r3, r31 -/* 802C9FD4 002C6F34 38 81 00 28 */ addi r4, r1, 0x28 -/* 802C9FD8 002C6F38 48 07 6E D1 */ bl __ct__6CTokenFRC6CToken -/* 802C9FDC 002C6F3C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802C9FE0 002C6F40 7F E3 FB 78 */ mr r3, r31 -/* 802C9FE4 002C6F44 90 1F 00 08 */ stw r0, 8(r31) -/* 802C9FE8 002C6F48 48 07 6D 9D */ bl Lock__6CTokenFv -lbl_802C9FEC: -/* 802C9FEC 002C6F4C 38 00 00 01 */ li r0, 1 -/* 802C9FF0 002C6F50 98 1E 02 D8 */ stb r0, 0x2d8(r30) -/* 802C9FF4 002C6F54 48 00 00 1C */ b lbl_802CA010 -lbl_802C9FF8: -/* 802C9FF8 002C6F58 3B FE 02 CC */ addi r31, r30, 0x2cc -/* 802C9FFC 002C6F5C 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CA000 002C6F60 7F E3 FB 78 */ mr r3, r31 -/* 802CA004 002C6F64 48 07 6C C1 */ bl __as__6CTokenFRC6CToken -/* 802CA008 002C6F68 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802CA00C 002C6F6C 90 1F 00 08 */ stw r0, 8(r31) -lbl_802CA010: -/* 802CA010 002C6F70 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CA014 002C6F74 38 80 00 00 */ li r4, 0 -/* 802CA018 002C6F78 48 07 6E 29 */ bl __dt__6CTokenFv -/* 802CA01C 002C6F7C 38 61 00 08 */ addi r3, r1, 8 -/* 802CA020 002C6F80 38 80 FF FF */ li r4, -1 -/* 802CA024 002C6F84 48 07 6E 1D */ bl __dt__6CTokenFv -lbl_802CA028: -/* 802CA028 002C6F88 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CA02C 002C6F8C 7F C3 F3 78 */ mr r3, r30 -/* 802CA030 002C6F90 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802CA034 002C6F94 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802CA038 002C6F98 7C 08 03 A6 */ mtlr r0 -/* 802CA03C 002C6F9C 38 21 00 40 */ addi r1, r1, 0x40 -/* 802CA040 002C6FA0 4E 80 00 20 */ blr - -.global __ct__18CGuiTextPropertiesFv -__ct__18CGuiTextPropertiesFv: -/* 802CA044 002C6FA4 98 83 00 00 */ stb r4, 0(r3) -/* 802CA048 002C6FA8 98 A3 00 01 */ stb r5, 1(r3) -/* 802CA04C 002C6FAC 90 C3 00 04 */ stw r6, 4(r3) -/* 802CA050 002C6FB0 90 E3 00 08 */ stw r7, 8(r3) -/* 802CA054 002C6FB4 91 03 00 0C */ stw r8, 0xc(r3) -/* 802CA058 002C6FB8 4E 80 00 20 */ blr - -.global sub_802ca05c -sub_802ca05c: -/* 802CA05C 002C6FBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CA060 002C6FC0 7C 08 02 A6 */ mflr r0 -/* 802CA064 002C6FC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CA068 002C6FC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CA06C 002C6FCC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CA070 002C6FD0 7C 9E 23 78 */ mr r30, r4 -/* 802CA074 002C6FD4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802CA078 002C6FD8 7C 7D 1B 78 */ mr r29, r3 -/* 802CA07C 002C6FDC 80 03 00 04 */ lwz r0, 4(r3) -/* 802CA080 002C6FE0 83 E4 00 04 */ lwz r31, 4(r4) -/* 802CA084 002C6FE4 7C 1E 00 40 */ cmplw r30, r0 -/* 802CA088 002C6FE8 40 82 00 08 */ bne lbl_802CA090 -/* 802CA08C 002C6FEC 93 FD 00 04 */ stw r31, 4(r29) -lbl_802CA090: -/* 802CA090 002C6FF0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA094 002C6FF4 38 7E 00 08 */ addi r3, r30, 8 -/* 802CA098 002C6FF8 80 BE 00 00 */ lwz r5, 0(r30) -/* 802CA09C 002C6FFC 38 80 FF FF */ li r4, -1 -/* 802CA0A0 002C7000 90 05 00 04 */ stw r0, 4(r5) -/* 802CA0A4 002C7004 80 1E 00 00 */ lwz r0, 0(r30) -/* 802CA0A8 002C7008 80 BE 00 04 */ lwz r5, 4(r30) -/* 802CA0AC 002C700C 90 05 00 00 */ stw r0, 0(r5) -/* 802CA0B0 002C7010 4B D5 E8 AD */ bl __dt__17CTextRenderBufferFv -/* 802CA0B4 002C7014 28 1E 00 00 */ cmplwi r30, 0 -/* 802CA0B8 002C7018 41 82 00 0C */ beq lbl_802CA0C4 -/* 802CA0BC 002C701C 7F C3 F3 78 */ mr r3, r30 -/* 802CA0C0 002C7020 48 04 B8 71 */ bl Free__7CMemoryFPCv -lbl_802CA0C4: -/* 802CA0C4 002C7024 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 802CA0C8 002C7028 7F E3 FB 78 */ mr r3, r31 -/* 802CA0CC 002C702C 38 04 FF FF */ addi r0, r4, -1 -/* 802CA0D0 002C7030 90 1D 00 14 */ stw r0, 0x14(r29) -/* 802CA0D4 002C7034 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CA0D8 002C7038 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CA0DC 002C703C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802CA0E0 002C7040 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CA0E4 002C7044 7C 08 03 A6 */ mtlr r0 -/* 802CA0E8 002C7048 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CA0EC 002C704C 4E 80 00 20 */ blr - -.global "__dt__Q24rstl25list<17CTextRenderBuffer>Fv" -"__dt__Q24rstl25list<17CTextRenderBuffer>Fv": -/* 802CA0F0 002C7050 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CA0F4 002C7054 7C 08 02 A6 */ mflr r0 -/* 802CA0F8 002C7058 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CA0FC 002C705C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CA100 002C7060 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CA104 002C7064 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802CA108 002C7068 7C 9D 23 78 */ mr r29, r4 -/* 802CA10C 002C706C 93 81 00 10 */ stw r28, 0x10(r1) -/* 802CA110 002C7070 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802CA114 002C7074 41 82 00 4C */ beq lbl_802CA160 -/* 802CA118 002C7078 83 FC 00 04 */ lwz r31, 4(r28) -/* 802CA11C 002C707C 48 00 00 28 */ b lbl_802CA144 -lbl_802CA120: -/* 802CA120 002C7080 7F FE FB 78 */ mr r30, r31 -/* 802CA124 002C7084 83 FF 00 04 */ lwz r31, 4(r31) -/* 802CA128 002C7088 38 7E 00 08 */ addi r3, r30, 8 -/* 802CA12C 002C708C 38 80 FF FF */ li r4, -1 -/* 802CA130 002C7090 4B D5 E8 2D */ bl __dt__17CTextRenderBufferFv -/* 802CA134 002C7094 28 1E 00 00 */ cmplwi r30, 0 -/* 802CA138 002C7098 41 82 00 0C */ beq lbl_802CA144 -/* 802CA13C 002C709C 7F C3 F3 78 */ mr r3, r30 -/* 802CA140 002C70A0 48 04 B7 F1 */ bl Free__7CMemoryFPCv -lbl_802CA144: -/* 802CA144 002C70A4 80 1C 00 08 */ lwz r0, 8(r28) -/* 802CA148 002C70A8 7C 1F 00 40 */ cmplw r31, r0 -/* 802CA14C 002C70AC 40 82 FF D4 */ bne lbl_802CA120 -/* 802CA150 002C70B0 7F A0 07 35 */ extsh. r0, r29 -/* 802CA154 002C70B4 40 81 00 0C */ ble lbl_802CA160 -/* 802CA158 002C70B8 7F 83 E3 78 */ mr r3, r28 -/* 802CA15C 002C70BC 48 04 B7 D5 */ bl Free__7CMemoryFPCv -lbl_802CA160: -/* 802CA160 002C70C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CA164 002C70C4 7F 83 E3 78 */ mr r3, r28 -/* 802CA168 002C70C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CA16C 002C70CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CA170 002C70D0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802CA174 002C70D4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802CA178 002C70D8 7C 08 03 A6 */ mtlr r0 -/* 802CA17C 002C70DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CA180 002C70E0 4E 80 00 20 */ blr - -.global sub_802ca184 -sub_802ca184: -/* 802CA184 002C70E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CA188 002C70E8 7C 08 02 A6 */ mflr r0 -/* 802CA18C 002C70EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CA190 002C70F0 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802CA194 002C70F4 7C 9F 23 78 */ mr r31, r4 -/* 802CA198 002C70F8 7C 7E 1B 78 */ mr r30, r3 -/* 802CA19C 002C70FC 80 03 00 08 */ lwz r0, 8(r3) -/* 802CA1A0 002C7100 7C 1F 00 00 */ cmpw r31, r0 -/* 802CA1A4 002C7104 40 81 00 C0 */ ble lbl_802CA264 -/* 802CA1A8 002C7108 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802CA1AC 002C710C 40 82 00 0C */ bne lbl_802CA1B8 -/* 802CA1B0 002C7110 3B 80 00 00 */ li r28, 0 -/* 802CA1B4 002C7114 48 00 00 18 */ b lbl_802CA1CC -lbl_802CA1B8: -/* 802CA1B8 002C7118 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802CA1BC 002C711C 38 A0 00 00 */ li r5, 0 -/* 802CA1C0 002C7120 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802CA1C4 002C7124 48 04 B6 55 */ bl __nwa__FUlPCcPCc -/* 802CA1C8 002C7128 7C 7C 1B 78 */ mr r28, r3 -lbl_802CA1CC: -/* 802CA1CC 002C712C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA1D0 002C7130 7F 9B E3 78 */ mr r27, r28 -/* 802CA1D4 002C7134 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802CA1D8 002C7138 54 00 18 38 */ slwi r0, r0, 3 -/* 802CA1DC 002C713C 7F BA 02 14 */ add r29, r26, r0 -/* 802CA1E0 002C7140 93 41 00 10 */ stw r26, 0x10(r1) -/* 802CA1E4 002C7144 93 A1 00 08 */ stw r29, 8(r1) -/* 802CA1E8 002C7148 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802CA1EC 002C714C 93 41 00 14 */ stw r26, 0x14(r1) -/* 802CA1F0 002C7150 48 00 00 20 */ b lbl_802CA210 -lbl_802CA1F4: -/* 802CA1F4 002C7154 28 1B 00 00 */ cmplwi r27, 0 -/* 802CA1F8 002C7158 41 82 00 10 */ beq lbl_802CA208 -/* 802CA1FC 002C715C 7F 63 DB 78 */ mr r3, r27 -/* 802CA200 002C7160 7F 44 D3 78 */ mr r4, r26 -/* 802CA204 002C7164 48 07 6C A5 */ bl __ct__6CTokenFRC6CToken -lbl_802CA208: -/* 802CA208 002C7168 3B 7B 00 08 */ addi r27, r27, 8 -/* 802CA20C 002C716C 3B 5A 00 08 */ addi r26, r26, 8 -lbl_802CA210: -/* 802CA210 002C7170 7C 1A E8 40 */ cmplw r26, r29 -/* 802CA214 002C7174 40 82 FF E0 */ bne lbl_802CA1F4 -/* 802CA218 002C7178 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA21C 002C717C 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802CA220 002C7180 54 00 18 38 */ slwi r0, r0, 3 -/* 802CA224 002C7184 7F 7A 02 14 */ add r27, r26, r0 -/* 802CA228 002C7188 48 00 00 1C */ b lbl_802CA244 -lbl_802CA22C: -/* 802CA22C 002C718C 28 1A 00 00 */ cmplwi r26, 0 -/* 802CA230 002C7190 41 82 00 10 */ beq lbl_802CA240 -/* 802CA234 002C7194 7F 43 D3 78 */ mr r3, r26 -/* 802CA238 002C7198 38 80 00 00 */ li r4, 0 -/* 802CA23C 002C719C 48 07 6C 05 */ bl __dt__6CTokenFv -lbl_802CA240: -/* 802CA240 002C71A0 3B 5A 00 08 */ addi r26, r26, 8 -lbl_802CA244: -/* 802CA244 002C71A4 7C 1A D8 40 */ cmplw r26, r27 -/* 802CA248 002C71A8 40 82 FF E4 */ bne lbl_802CA22C -/* 802CA24C 002C71AC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CA250 002C71B0 28 03 00 00 */ cmplwi r3, 0 -/* 802CA254 002C71B4 41 82 00 08 */ beq lbl_802CA25C -/* 802CA258 002C71B8 48 04 B6 D9 */ bl Free__7CMemoryFPCv -lbl_802CA25C: -/* 802CA25C 002C71BC 93 9E 00 0C */ stw r28, 0xc(r30) -/* 802CA260 002C71C0 93 FE 00 08 */ stw r31, 8(r30) -lbl_802CA264: -/* 802CA264 002C71C4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802CA268 002C71C8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CA26C 002C71CC 7C 08 03 A6 */ mtlr r0 -/* 802CA270 002C71D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CA274 002C71D4 4E 80 00 20 */ blr - -.global sub_802ca278 -sub_802ca278: -/* 802CA278 002C71D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CA27C 002C71DC 7C 08 02 A6 */ mflr r0 -/* 802CA280 002C71E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CA284 002C71E4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CA288 002C71E8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CA28C 002C71EC 7C 9E 23 78 */ mr r30, r4 -/* 802CA290 002C71F0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CA294 002C71F4 7C 7D 1B 78 */ mr r29, r3 -/* 802CA298 002C71F8 80 03 00 08 */ lwz r0, 8(r3) -/* 802CA29C 002C71FC 7C 1E 00 00 */ cmpw r30, r0 -/* 802CA2A0 002C7200 40 81 00 8C */ ble lbl_802CA32C -/* 802CA2A4 002C7204 1C 7E 00 1C */ mulli r3, r30, 0x1c -/* 802CA2A8 002C7208 2C 03 00 00 */ cmpwi r3, 0 -/* 802CA2AC 002C720C 40 82 00 0C */ bne lbl_802CA2B8 -/* 802CA2B0 002C7210 3B E0 00 00 */ li r31, 0 -/* 802CA2B4 002C7214 48 00 00 18 */ b lbl_802CA2CC -lbl_802CA2B8: -/* 802CA2B8 002C7218 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802CA2BC 002C721C 38 A0 00 00 */ li r5, 0 -/* 802CA2C0 002C7220 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802CA2C4 002C7224 48 04 B5 55 */ bl __nwa__FUlPCcPCc -/* 802CA2C8 002C7228 7C 7F 1B 78 */ mr r31, r3 -lbl_802CA2CC: -/* 802CA2CC 002C722C 80 1D 00 04 */ lwz r0, 4(r29) -/* 802CA2D0 002C7230 7F E5 FB 78 */ mr r5, r31 -/* 802CA2D4 002C7234 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 802CA2D8 002C7238 38 61 00 14 */ addi r3, r1, 0x14 -/* 802CA2DC 002C723C 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 802CA2E0 002C7240 38 81 00 0C */ addi r4, r1, 0xc -/* 802CA2E4 002C7244 7C C6 02 14 */ add r6, r6, r0 -/* 802CA2E8 002C7248 90 C1 00 0C */ stw r6, 0xc(r1) -/* 802CA2EC 002C724C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 802CA2F0 002C7250 90 C1 00 08 */ stw r6, 8(r1) -/* 802CA2F4 002C7254 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CA2F8 002C7258 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA2FC 002C725C 48 00 00 99 */ bl sub_802ca394 -/* 802CA300 002C7260 80 1D 00 04 */ lwz r0, 4(r29) -/* 802CA304 002C7264 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802CA308 002C7268 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 802CA30C 002C726C 7C 83 02 14 */ add r4, r3, r0 -/* 802CA310 002C7270 48 00 00 39 */ bl sub_802ca348 -/* 802CA314 002C7274 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802CA318 002C7278 28 03 00 00 */ cmplwi r3, 0 -/* 802CA31C 002C727C 41 82 00 08 */ beq lbl_802CA324 -/* 802CA320 002C7280 48 04 B6 11 */ bl Free__7CMemoryFPCv -lbl_802CA324: -/* 802CA324 002C7284 93 FD 00 0C */ stw r31, 0xc(r29) -/* 802CA328 002C7288 93 DD 00 08 */ stw r30, 8(r29) -lbl_802CA32C: -/* 802CA32C 002C728C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CA330 002C7290 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CA334 002C7294 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CA338 002C7298 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CA33C 002C729C 7C 08 03 A6 */ mtlr r0 -/* 802CA340 002C72A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CA344 002C72A4 4E 80 00 20 */ blr - -.global sub_802ca348 -sub_802ca348: -/* 802CA348 002C72A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA34C 002C72AC 7C 08 02 A6 */ mflr r0 -/* 802CA350 002C72B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA354 002C72B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CA358 002C72B8 7C 7F 1B 78 */ mr r31, r3 -/* 802CA35C 002C72BC 93 C1 00 08 */ stw r30, 8(r1) -/* 802CA360 002C72C0 7C 9E 23 78 */ mr r30, r4 -/* 802CA364 002C72C4 48 00 00 10 */ b lbl_802CA374 -lbl_802CA368: -/* 802CA368 002C72C8 7F E3 FB 78 */ mr r3, r31 -/* 802CA36C 002C72CC 4B FF D9 E1 */ bl sub_802c7d4c -/* 802CA370 002C72D0 3B FF 00 1C */ addi r31, r31, 0x1c -lbl_802CA374: -/* 802CA374 002C72D4 7C 1F F0 40 */ cmplw r31, r30 -/* 802CA378 002C72D8 40 82 FF F0 */ bne lbl_802CA368 -/* 802CA37C 002C72DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA380 002C72E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CA384 002C72E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CA388 002C72E8 7C 08 03 A6 */ mtlr r0 -/* 802CA38C 002C72EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA390 002C72F0 4E 80 00 20 */ blr - -.global sub_802ca394 -sub_802ca394: -/* 802CA394 002C72F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CA398 002C72F8 7C 08 02 A6 */ mflr r0 -/* 802CA39C 002C72FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CA3A0 002C7300 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CA3A4 002C7304 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CA3A8 002C7308 7C BE 2B 78 */ mr r30, r5 -/* 802CA3AC 002C730C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802CA3B0 002C7310 7C 9D 23 78 */ mr r29, r4 -/* 802CA3B4 002C7314 83 E3 00 00 */ lwz r31, 0(r3) -/* 802CA3B8 002C7318 48 00 00 18 */ b lbl_802CA3D0 -lbl_802CA3BC: -/* 802CA3BC 002C731C 7F C3 F3 78 */ mr r3, r30 -/* 802CA3C0 002C7320 7F E4 FB 78 */ mr r4, r31 -/* 802CA3C4 002C7324 4B FF E5 F9 */ bl sub_802c89bc -/* 802CA3C8 002C7328 3B DE 00 1C */ addi r30, r30, 0x1c -/* 802CA3CC 002C732C 3B FF 00 1C */ addi r31, r31, 0x1c -lbl_802CA3D0: -/* 802CA3D0 002C7330 80 1D 00 00 */ lwz r0, 0(r29) -/* 802CA3D4 002C7334 7C 1F 00 40 */ cmplw r31, r0 -/* 802CA3D8 002C7338 40 82 FF E4 */ bne lbl_802CA3BC -/* 802CA3DC 002C733C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CA3E0 002C7340 7F C3 F3 78 */ mr r3, r30 -/* 802CA3E4 002C7344 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CA3E8 002C7348 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CA3EC 002C734C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802CA3F0 002C7350 7C 08 03 A6 */ mtlr r0 -/* 802CA3F4 002C7354 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CA3F8 002C7358 4E 80 00 20 */ blr - -.global "reserve__Q24rstl37vectorFi" -"reserve__Q24rstl37vectorFi": -/* 802CA3FC 002C735C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CA400 002C7360 7C 08 02 A6 */ mflr r0 -/* 802CA404 002C7364 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CA408 002C7368 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CA40C 002C736C 7C 9F 23 78 */ mr r31, r4 -/* 802CA410 002C7370 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CA414 002C7374 7C 7E 1B 78 */ mr r30, r3 -/* 802CA418 002C7378 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CA41C 002C737C 80 03 00 08 */ lwz r0, 8(r3) -/* 802CA420 002C7380 7C 1F 00 00 */ cmpw r31, r0 -/* 802CA424 002C7384 40 81 00 A8 */ ble lbl_802CA4CC -/* 802CA428 002C7388 7F E3 FB 79 */ or. r3, r31, r31 -/* 802CA42C 002C738C 40 82 00 0C */ bne lbl_802CA438 -/* 802CA430 002C7390 3B A0 00 00 */ li r29, 0 -/* 802CA434 002C7394 48 00 00 18 */ b lbl_802CA44C -lbl_802CA438: -/* 802CA438 002C7398 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802CA43C 002C739C 38 A0 00 00 */ li r5, 0 -/* 802CA440 002C73A0 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802CA444 002C73A4 48 04 B3 D5 */ bl __nwa__FUlPCcPCc -/* 802CA448 002C73A8 7C 7D 1B 78 */ mr r29, r3 -lbl_802CA44C: -/* 802CA44C 002C73AC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802CA450 002C73B0 7F A4 EB 78 */ mr r4, r29 -/* 802CA454 002C73B4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA458 002C73B8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CA45C 002C73BC 7C 65 02 14 */ add r3, r5, r0 -/* 802CA460 002C73C0 7C 05 18 50 */ subf r0, r5, r3 -/* 802CA464 002C73C4 90 61 00 08 */ stw r3, 8(r1) -/* 802CA468 002C73C8 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CA46C 002C73CC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802CA470 002C73D0 7C 09 03 A6 */ mtctr r0 -/* 802CA474 002C73D4 7C 05 18 40 */ cmplw r5, r3 -/* 802CA478 002C73D8 41 82 00 20 */ beq lbl_802CA498 -lbl_802CA47C: -/* 802CA47C 002C73DC 28 04 00 00 */ cmplwi r4, 0 -/* 802CA480 002C73E0 41 82 00 0C */ beq lbl_802CA48C -/* 802CA484 002C73E4 88 05 00 00 */ lbz r0, 0(r5) -/* 802CA488 002C73E8 98 04 00 00 */ stb r0, 0(r4) -lbl_802CA48C: -/* 802CA48C 002C73EC 38 84 00 01 */ addi r4, r4, 1 -/* 802CA490 002C73F0 38 A5 00 01 */ addi r5, r5, 1 -/* 802CA494 002C73F4 42 00 FF E8 */ bdnz lbl_802CA47C -lbl_802CA498: -/* 802CA498 002C73F8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CA49C 002C73FC 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA4A0 002C7400 7C 83 02 14 */ add r4, r3, r0 -/* 802CA4A4 002C7404 7C 03 20 50 */ subf r0, r3, r4 -/* 802CA4A8 002C7408 7C 09 03 A6 */ mtctr r0 -/* 802CA4AC 002C740C 7C 03 20 40 */ cmplw r3, r4 -/* 802CA4B0 002C7410 41 82 00 08 */ beq lbl_802CA4B8 -lbl_802CA4B4: -/* 802CA4B4 002C7414 42 00 00 00 */ bdnz lbl_802CA4B4 -lbl_802CA4B8: -/* 802CA4B8 002C7418 28 03 00 00 */ cmplwi r3, 0 -/* 802CA4BC 002C741C 41 82 00 08 */ beq lbl_802CA4C4 -/* 802CA4C0 002C7420 48 04 B4 71 */ bl Free__7CMemoryFPCv -lbl_802CA4C4: -/* 802CA4C4 002C7424 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802CA4C8 002C7428 93 FE 00 08 */ stw r31, 8(r30) -lbl_802CA4CC: -/* 802CA4CC 002C742C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CA4D0 002C7430 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CA4D4 002C7434 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CA4D8 002C7438 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CA4DC 002C743C 7C 08 03 A6 */ mtlr r0 -/* 802CA4E0 002C7440 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CA4E4 002C7444 4E 80 00 20 */ blr - -.global sub_802ca4e8 -sub_802ca4e8: -/* 802CA4E8 002C7448 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CA4EC 002C744C 7C 08 02 A6 */ mflr r0 -/* 802CA4F0 002C7450 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CA4F4 002C7454 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CA4F8 002C7458 7C 9F 23 78 */ mr r31, r4 -/* 802CA4FC 002C745C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CA500 002C7460 7C 7E 1B 78 */ mr r30, r3 -/* 802CA504 002C7464 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CA508 002C7468 80 03 00 08 */ lwz r0, 8(r3) -/* 802CA50C 002C746C 7C 1F 00 00 */ cmpw r31, r0 -/* 802CA510 002C7470 40 81 00 B0 */ ble lbl_802CA5C0 -/* 802CA514 002C7474 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802CA518 002C7478 40 82 00 0C */ bne lbl_802CA524 -/* 802CA51C 002C747C 3B A0 00 00 */ li r29, 0 -/* 802CA520 002C7480 48 00 00 18 */ b lbl_802CA538 -lbl_802CA524: -/* 802CA524 002C7484 3C 80 80 3D */ lis r4, lbl_803D68E0@ha -/* 802CA528 002C7488 38 A0 00 00 */ li r5, 0 -/* 802CA52C 002C748C 38 84 68 E0 */ addi r4, r4, lbl_803D68E0@l -/* 802CA530 002C7490 48 04 B2 E9 */ bl __nwa__FUlPCcPCc -/* 802CA534 002C7494 7C 7D 1B 78 */ mr r29, r3 -lbl_802CA538: -/* 802CA538 002C7498 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA53C 002C749C 7F A4 EB 78 */ mr r4, r29 -/* 802CA540 002C74A0 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802CA544 002C74A4 54 00 18 38 */ slwi r0, r0, 3 -/* 802CA548 002C74A8 7C 65 02 14 */ add r3, r5, r0 -/* 802CA54C 002C74AC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CA550 002C74B0 90 61 00 08 */ stw r3, 8(r1) -/* 802CA554 002C74B4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CA558 002C74B8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802CA55C 002C74BC 48 00 00 24 */ b lbl_802CA580 -lbl_802CA560: -/* 802CA560 002C74C0 28 04 00 00 */ cmplwi r4, 0 -/* 802CA564 002C74C4 41 82 00 14 */ beq lbl_802CA578 -/* 802CA568 002C74C8 C0 05 00 00 */ lfs f0, 0(r5) -/* 802CA56C 002C74CC D0 04 00 00 */ stfs f0, 0(r4) -/* 802CA570 002C74D0 80 05 00 04 */ lwz r0, 4(r5) -/* 802CA574 002C74D4 90 04 00 04 */ stw r0, 4(r4) -lbl_802CA578: -/* 802CA578 002C74D8 38 84 00 08 */ addi r4, r4, 8 -/* 802CA57C 002C74DC 38 A5 00 08 */ addi r5, r5, 8 -lbl_802CA580: -/* 802CA580 002C74E0 7C 05 18 40 */ cmplw r5, r3 -/* 802CA584 002C74E4 40 82 FF DC */ bne lbl_802CA560 -/* 802CA588 002C74E8 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CA58C 002C74EC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CA590 002C74F0 54 00 18 38 */ slwi r0, r0, 3 -/* 802CA594 002C74F4 7C 64 1B 78 */ mr r4, r3 -/* 802CA598 002C74F8 7C 03 02 14 */ add r0, r3, r0 -/* 802CA59C 002C74FC 48 00 00 08 */ b lbl_802CA5A4 -lbl_802CA5A0: -/* 802CA5A0 002C7500 38 84 00 08 */ addi r4, r4, 8 -lbl_802CA5A4: -/* 802CA5A4 002C7504 7C 04 00 40 */ cmplw r4, r0 -/* 802CA5A8 002C7508 40 82 FF F8 */ bne lbl_802CA5A0 -/* 802CA5AC 002C750C 28 03 00 00 */ cmplwi r3, 0 -/* 802CA5B0 002C7510 41 82 00 08 */ beq lbl_802CA5B8 -/* 802CA5B4 002C7514 48 04 B3 7D */ bl Free__7CMemoryFPCv -lbl_802CA5B8: -/* 802CA5B8 002C7518 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802CA5BC 002C751C 93 FE 00 08 */ stw r31, 8(r30) -lbl_802CA5C0: -/* 802CA5C0 002C7520 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CA5C4 002C7524 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CA5C8 002C7528 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CA5CC 002C752C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CA5D0 002C7530 7C 08 03 A6 */ mtlr r0 -/* 802CA5D4 002C7534 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CA5D8 002C7538 4E 80 00 20 */ blr - -.global OnActivate__10CGuiWidgetFv -OnActivate__10CGuiWidgetFv: -/* 802CA5DC 002C753C 4E 80 00 20 */ blr - -.global OnVisible__10CGuiWidgetFv -OnVisible__10CGuiWidgetFv: -/* 802CA5E0 002C7540 4E 80 00 20 */ blr - -.global SetIsActive__10CGuiWidgetFb -SetIsActive__10CGuiWidgetFb: -/* 802CA5E4 002C7544 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA5E8 002C7548 7C 08 02 A6 */ mflr r0 -/* 802CA5EC 002C754C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA5F0 002C7550 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 802CA5F4 002C7554 88 A3 00 B6 */ lbz r5, 0xb6(r3) -/* 802CA5F8 002C7558 54 A4 DF FE */ rlwinm r4, r5, 0x1b, 0x1f, 0x1f -/* 802CA5FC 002C755C 7C 04 00 40 */ cmplw r4, r0 -/* 802CA600 002C7560 41 82 00 1C */ beq lbl_802CA61C -/* 802CA604 002C7564 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a -/* 802CA608 002C7568 98 A3 00 B6 */ stb r5, 0xb6(r3) -/* 802CA60C 002C756C 81 83 00 00 */ lwz r12, 0(r3) -/* 802CA610 002C7570 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 802CA614 002C7574 7D 89 03 A6 */ mtctr r12 -/* 802CA618 002C7578 4E 80 04 21 */ bctrl -lbl_802CA61C: -/* 802CA61C 002C757C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA620 002C7580 7C 08 03 A6 */ mtlr r0 -/* 802CA624 002C7584 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA628 002C7588 4E 80 00 20 */ blr - -.global SetIsVisible__10CGuiWidgetFb -SetIsVisible__10CGuiWidgetFb: -/* 802CA62C 002C758C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA630 002C7590 7C 08 02 A6 */ mflr r0 -/* 802CA634 002C7594 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA638 002C7598 88 03 00 B6 */ lbz r0, 0xb6(r3) -/* 802CA63C 002C759C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 802CA640 002C75A0 98 03 00 B6 */ stb r0, 0xb6(r3) -/* 802CA644 002C75A4 81 83 00 00 */ lwz r12, 0(r3) -/* 802CA648 002C75A8 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 802CA64C 002C75AC 7D 89 03 A6 */ mtctr r12 -/* 802CA650 002C75B0 4E 80 04 21 */ bctrl -/* 802CA654 002C75B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA658 002C75B8 7C 08 03 A6 */ mtlr r0 -/* 802CA65C 002C75BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA660 002C75C0 4E 80 00 20 */ blr - -.global ReapplyXform__10CGuiWidgetFv -ReapplyXform__10CGuiWidgetFv: -/* 802CA664 002C75C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA668 002C75C8 7C 08 02 A6 */ mflr r0 -/* 802CA66C 002C75CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA670 002C75D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CA674 002C75D4 7C 7F 1B 78 */ mr r31, r3 -/* 802CA678 002C75D8 4B FF AA C9 */ bl RotateReset__10CGuiObjectFv -/* 802CA67C 002C75DC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 802CA680 002C75E0 7F E3 FB 78 */ mr r3, r31 -/* 802CA684 002C75E4 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 802CA688 002C75E8 4B FF AB 41 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f -/* 802CA68C 002C75EC 7F E3 FB 78 */ mr r3, r31 -/* 802CA690 002C75F0 38 9F 00 74 */ addi r4, r31, 0x74 -/* 802CA694 002C75F4 4B FF A9 95 */ bl MultiplyO2P__10CGuiObjectFRC12CTransform4f -/* 802CA698 002C75F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA69C 002C75FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CA6A0 002C7600 7C 08 03 A6 */ mtlr r0 -/* 802CA6A4 002C7604 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA6A8 002C7608 4E 80 00 20 */ blr - -.global GetIdlePosition__10CGuiWidgetFv -GetIdlePosition__10CGuiWidgetFv: -/* 802CA6AC 002C760C C0 24 00 A0 */ lfs f1, 0xa0(r4) -/* 802CA6B0 002C7610 C0 44 00 90 */ lfs f2, 0x90(r4) -/* 802CA6B4 002C7614 C0 04 00 80 */ lfs f0, 0x80(r4) -/* 802CA6B8 002C7618 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CA6BC 002C761C D0 43 00 04 */ stfs f2, 4(r3) -/* 802CA6C0 002C7620 D0 23 00 08 */ stfs f1, 8(r3) -/* 802CA6C4 002C7624 4E 80 00 20 */ blr - -.global AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb -AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb: -/* 802CA6C8 002C7628 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA6CC 002C762C 7C 08 02 A6 */ mflr r0 -/* 802CA6D0 002C7630 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA6D4 002C7634 4B FF A6 6D */ bl AddChildObject__10CGuiObjectFP10CGuiObjectbb -/* 802CA6D8 002C7638 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA6DC 002C763C 7C 08 03 A6 */ mtlr r0 -/* 802CA6E0 002C7640 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA6E4 002C7644 4E 80 00 20 */ blr - -.global SetVisibility__10CGuiWidgetFb14ETraversalMode -SetVisibility__10CGuiWidgetFb14ETraversalMode: -/* 802CA6E8 002C7648 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA6EC 002C764C 7C 08 02 A6 */ mflr r0 -/* 802CA6F0 002C7650 2C 05 00 01 */ cmpwi r5, 1 -/* 802CA6F4 002C7654 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA6F8 002C7658 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CA6FC 002C765C 7C 9F 23 78 */ mr r31, r4 -/* 802CA700 002C7660 93 C1 00 08 */ stw r30, 8(r1) -/* 802CA704 002C7664 7C 7E 1B 78 */ mr r30, r3 -/* 802CA708 002C7668 41 82 00 18 */ beq lbl_802CA720 -/* 802CA70C 002C766C 40 80 00 7C */ bge lbl_802CA788 -/* 802CA710 002C7670 2C 05 00 00 */ cmpwi r5, 0 -/* 802CA714 002C7674 40 80 00 30 */ bge lbl_802CA744 -/* 802CA718 002C7678 48 00 00 70 */ b lbl_802CA788 -/* 802CA71C 002C767C 48 00 00 6C */ b lbl_802CA788 -lbl_802CA720: -/* 802CA720 002C7680 4B FF A6 11 */ bl GetChildObject__10CGuiObjectFv -/* 802CA724 002C7684 28 03 00 00 */ cmplwi r3, 0 -/* 802CA728 002C7688 41 82 00 60 */ beq lbl_802CA788 -/* 802CA72C 002C768C 7F C3 F3 78 */ mr r3, r30 -/* 802CA730 002C7690 4B FF A6 01 */ bl GetChildObject__10CGuiObjectFv -/* 802CA734 002C7694 7F E4 FB 78 */ mr r4, r31 -/* 802CA738 002C7698 38 A0 00 00 */ li r5, 0 -/* 802CA73C 002C769C 4B FF FF AD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -/* 802CA740 002C76A0 48 00 00 48 */ b lbl_802CA788 -lbl_802CA744: -/* 802CA744 002C76A4 4B FF A5 ED */ bl GetChildObject__10CGuiObjectFv -/* 802CA748 002C76A8 28 03 00 00 */ cmplwi r3, 0 -/* 802CA74C 002C76AC 41 82 00 18 */ beq lbl_802CA764 -/* 802CA750 002C76B0 7F C3 F3 78 */ mr r3, r30 -/* 802CA754 002C76B4 4B FF A5 DD */ bl GetChildObject__10CGuiObjectFv -/* 802CA758 002C76B8 7F E4 FB 78 */ mr r4, r31 -/* 802CA75C 002C76BC 38 A0 00 00 */ li r5, 0 -/* 802CA760 002C76C0 4B FF FF 89 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -lbl_802CA764: -/* 802CA764 002C76C4 7F C3 F3 78 */ mr r3, r30 -/* 802CA768 002C76C8 4B FF A5 B9 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA76C 002C76CC 28 03 00 00 */ cmplwi r3, 0 -/* 802CA770 002C76D0 41 82 00 18 */ beq lbl_802CA788 -/* 802CA774 002C76D4 7F C3 F3 78 */ mr r3, r30 -/* 802CA778 002C76D8 4B FF A5 A9 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA77C 002C76DC 7F E4 FB 78 */ mr r4, r31 -/* 802CA780 002C76E0 38 A0 00 00 */ li r5, 0 -/* 802CA784 002C76E4 4B FF FF 65 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode -lbl_802CA788: -/* 802CA788 002C76E8 7F C3 F3 78 */ mr r3, r30 -/* 802CA78C 002C76EC 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 802CA790 002C76F0 4B FF FE 9D */ bl SetIsVisible__10CGuiWidgetFb -/* 802CA794 002C76F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA798 002C76F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CA79C 002C76FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CA7A0 002C7700 7C 08 03 A6 */ mtlr r0 -/* 802CA7A4 002C7704 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA7A8 002C7708 4E 80 00 20 */ blr - -.global RecalcWidgetColor__10CGuiWidgetF14ETraversalMode -RecalcWidgetColor__10CGuiWidgetF14ETraversalMode: -/* 802CA7AC 002C770C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CA7B0 002C7710 7C 08 02 A6 */ mflr r0 -/* 802CA7B4 002C7714 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CA7B8 002C7718 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CA7BC 002C771C 7C 9F 23 78 */ mr r31, r4 -/* 802CA7C0 002C7720 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CA7C4 002C7724 7C 7E 1B 78 */ mr r30, r3 -/* 802CA7C8 002C7728 4B FF A5 51 */ bl GetParent__10CGuiObjectFv -/* 802CA7CC 002C772C 7C 65 1B 79 */ or. r5, r3, r3 -/* 802CA7D0 002C7730 41 82 00 20 */ beq lbl_802CA7F0 -/* 802CA7D4 002C7734 38 61 00 08 */ addi r3, r1, 8 -/* 802CA7D8 002C7738 38 9E 00 A4 */ addi r4, r30, 0xa4 -/* 802CA7DC 002C773C 38 A5 00 A8 */ addi r5, r5, 0xa8 -/* 802CA7E0 002C7740 48 09 89 99 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CA7E4 002C7744 80 01 00 08 */ lwz r0, 8(r1) -/* 802CA7E8 002C7748 90 1E 00 A8 */ stw r0, 0xa8(r30) -/* 802CA7EC 002C774C 48 00 00 0C */ b lbl_802CA7F8 -lbl_802CA7F0: -/* 802CA7F0 002C7750 80 1E 00 A4 */ lwz r0, 0xa4(r30) -/* 802CA7F4 002C7754 90 1E 00 A8 */ stw r0, 0xa8(r30) -lbl_802CA7F8: -/* 802CA7F8 002C7758 2C 1F 00 01 */ cmpwi r31, 1 -/* 802CA7FC 002C775C 41 82 00 38 */ beq lbl_802CA834 -/* 802CA800 002C7760 40 80 00 54 */ bge lbl_802CA854 -/* 802CA804 002C7764 2C 1F 00 00 */ cmpwi r31, 0 -/* 802CA808 002C7768 40 80 00 0C */ bge lbl_802CA814 -/* 802CA80C 002C776C 48 00 00 48 */ b lbl_802CA854 -/* 802CA810 002C7770 48 00 00 44 */ b lbl_802CA854 -lbl_802CA814: -/* 802CA814 002C7774 7F C3 F3 78 */ mr r3, r30 -/* 802CA818 002C7778 4B FF A5 09 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA81C 002C777C 28 03 00 00 */ cmplwi r3, 0 -/* 802CA820 002C7780 41 82 00 14 */ beq lbl_802CA834 -/* 802CA824 002C7784 7F C3 F3 78 */ mr r3, r30 -/* 802CA828 002C7788 4B FF A4 F9 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA82C 002C778C 38 80 00 00 */ li r4, 0 -/* 802CA830 002C7790 4B FF FF 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode -lbl_802CA834: -/* 802CA834 002C7794 7F C3 F3 78 */ mr r3, r30 -/* 802CA838 002C7798 4B FF A4 F9 */ bl GetChildObject__10CGuiObjectFv -/* 802CA83C 002C779C 28 03 00 00 */ cmplwi r3, 0 -/* 802CA840 002C77A0 41 82 00 14 */ beq lbl_802CA854 -/* 802CA844 002C77A4 7F C3 F3 78 */ mr r3, r30 -/* 802CA848 002C77A8 4B FF A4 E9 */ bl GetChildObject__10CGuiObjectFv -/* 802CA84C 002C77AC 38 80 00 00 */ li r4, 0 -/* 802CA850 002C77B0 4B FF FF 5D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode -lbl_802CA854: -/* 802CA854 002C77B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CA858 002C77B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CA85C 002C77BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CA860 002C77C0 7C 08 03 A6 */ mtlr r0 -/* 802CA864 002C77C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CA868 002C77C8 4E 80 00 20 */ blr - -.global SetColor__10CGuiWidgetFRC6CColor -SetColor__10CGuiWidgetFRC6CColor: -/* 802CA86C 002C77CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA870 002C77D0 7C 08 02 A6 */ mflr r0 -/* 802CA874 002C77D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA878 002C77D8 80 04 00 00 */ lwz r0, 0(r4) -/* 802CA87C 002C77DC 38 80 00 01 */ li r4, 1 -/* 802CA880 002C77E0 90 03 00 A4 */ stw r0, 0xa4(r3) -/* 802CA884 002C77E4 4B FF FF 29 */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode -/* 802CA888 002C77E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA88C 002C77EC 7C 08 03 A6 */ mtlr r0 -/* 802CA890 002C77F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA894 002C77F4 4E 80 00 20 */ blr - -.global FindWidget__10CGuiWidgetFs -FindWidget__10CGuiWidgetFs: -/* 802CA898 002C77F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA89C 002C77FC 7C 08 02 A6 */ mflr r0 -/* 802CA8A0 002C7800 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA8A4 002C7804 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CA8A8 002C7808 7C 9F 23 78 */ mr r31, r4 -/* 802CA8AC 002C780C 7F E0 07 34 */ extsh r0, r31 -/* 802CA8B0 002C7810 93 C1 00 08 */ stw r30, 8(r1) -/* 802CA8B4 002C7814 7C 7E 1B 78 */ mr r30, r3 -/* 802CA8B8 002C7818 A8 83 00 70 */ lha r4, 0x70(r3) -/* 802CA8BC 002C781C 7C 04 00 00 */ cmpw r4, r0 -/* 802CA8C0 002C7820 40 82 00 08 */ bne lbl_802CA8C8 -/* 802CA8C4 002C7824 48 00 00 5C */ b lbl_802CA920 -lbl_802CA8C8: -/* 802CA8C8 002C7828 4B FF A4 69 */ bl GetChildObject__10CGuiObjectFv -/* 802CA8CC 002C782C 28 03 00 00 */ cmplwi r3, 0 -/* 802CA8D0 002C7830 41 82 00 20 */ beq lbl_802CA8F0 -/* 802CA8D4 002C7834 7F C3 F3 78 */ mr r3, r30 -/* 802CA8D8 002C7838 4B FF A4 59 */ bl GetChildObject__10CGuiObjectFv -/* 802CA8DC 002C783C 7F E4 FB 78 */ mr r4, r31 -/* 802CA8E0 002C7840 4B FF FF B9 */ bl FindWidget__10CGuiWidgetFs -/* 802CA8E4 002C7844 28 03 00 00 */ cmplwi r3, 0 -/* 802CA8E8 002C7848 41 82 00 08 */ beq lbl_802CA8F0 -/* 802CA8EC 002C784C 48 00 00 34 */ b lbl_802CA920 -lbl_802CA8F0: -/* 802CA8F0 002C7850 7F C3 F3 78 */ mr r3, r30 -/* 802CA8F4 002C7854 4B FF A4 2D */ bl GetNextSibling__10CGuiObjectFv -/* 802CA8F8 002C7858 28 03 00 00 */ cmplwi r3, 0 -/* 802CA8FC 002C785C 41 82 00 20 */ beq lbl_802CA91C -/* 802CA900 002C7860 7F C3 F3 78 */ mr r3, r30 -/* 802CA904 002C7864 4B FF A4 1D */ bl GetNextSibling__10CGuiObjectFv -/* 802CA908 002C7868 7F E4 FB 78 */ mr r4, r31 -/* 802CA90C 002C786C 4B FF FF 8D */ bl FindWidget__10CGuiWidgetFs -/* 802CA910 002C7870 28 03 00 00 */ cmplwi r3, 0 -/* 802CA914 002C7874 41 82 00 08 */ beq lbl_802CA91C -/* 802CA918 002C7878 48 00 00 08 */ b lbl_802CA920 -lbl_802CA91C: -/* 802CA91C 002C787C 38 60 00 00 */ li r3, 0 -lbl_802CA920: -/* 802CA920 002C7880 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA924 002C7884 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CA928 002C7888 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CA92C 002C788C 7C 08 03 A6 */ mtlr r0 -/* 802CA930 002C7890 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA934 002C7894 4E 80 00 20 */ blr - -.global GetIsFinishedLoading__10CGuiWidgetCFv -GetIsFinishedLoading__10CGuiWidgetCFv: -/* 802CA938 002C7898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA93C 002C789C 7C 08 02 A6 */ mflr r0 -/* 802CA940 002C78A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA944 002C78A4 81 83 00 00 */ lwz r12, 0(r3) -/* 802CA948 002C78A8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 802CA94C 002C78AC 7D 89 03 A6 */ mtctr r12 -/* 802CA950 002C78B0 4E 80 04 21 */ bctrl -/* 802CA954 002C78B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA958 002C78B8 7C 08 03 A6 */ mtlr r0 -/* 802CA95C 002C78BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA960 002C78C0 4E 80 00 20 */ blr - -.global DispatchInitialize__10CGuiWidgetFv -DispatchInitialize__10CGuiWidgetFv: -/* 802CA964 002C78C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CA968 002C78C8 7C 08 02 A6 */ mflr r0 -/* 802CA96C 002C78CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CA970 002C78D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CA974 002C78D4 7C 7F 1B 78 */ mr r31, r3 -/* 802CA978 002C78D8 81 83 00 00 */ lwz r12, 0(r3) -/* 802CA97C 002C78DC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802CA980 002C78E0 7D 89 03 A6 */ mtctr r12 -/* 802CA984 002C78E4 4E 80 04 21 */ bctrl -/* 802CA988 002C78E8 7F E3 FB 78 */ mr r3, r31 -/* 802CA98C 002C78EC 4B FF A3 A5 */ bl GetChildObject__10CGuiObjectFv -/* 802CA990 002C78F0 28 03 00 00 */ cmplwi r3, 0 -/* 802CA994 002C78F4 41 82 00 10 */ beq lbl_802CA9A4 -/* 802CA998 002C78F8 7F E3 FB 78 */ mr r3, r31 -/* 802CA99C 002C78FC 4B FF A3 95 */ bl GetChildObject__10CGuiObjectFv -/* 802CA9A0 002C7900 4B FF FF C5 */ bl DispatchInitialize__10CGuiWidgetFv -lbl_802CA9A4: -/* 802CA9A4 002C7904 7F E3 FB 78 */ mr r3, r31 -/* 802CA9A8 002C7908 4B FF A3 79 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA9AC 002C790C 28 03 00 00 */ cmplwi r3, 0 -/* 802CA9B0 002C7910 41 82 00 10 */ beq lbl_802CA9C0 -/* 802CA9B4 002C7914 7F E3 FB 78 */ mr r3, r31 -/* 802CA9B8 002C7918 4B FF A3 69 */ bl GetNextSibling__10CGuiObjectFv -/* 802CA9BC 002C791C 4B FF FF A9 */ bl DispatchInitialize__10CGuiWidgetFv -lbl_802CA9C0: -/* 802CA9C0 002C7920 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CA9C4 002C7924 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CA9C8 002C7928 7C 08 03 A6 */ mtlr r0 -/* 802CA9CC 002C792C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CA9D0 002C7930 4E 80 00 20 */ blr - -.global Update__10CGuiWidgetFf -Update__10CGuiWidgetFf: -/* 802CA9D4 002C7934 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CA9D8 002C7938 7C 08 02 A6 */ mflr r0 -/* 802CA9DC 002C793C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CA9E0 002C7940 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 802CA9E4 002C7944 FF E0 08 90 */ fmr f31, f1 -/* 802CA9E8 002C7948 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802CA9EC 002C794C 7C 7F 1B 78 */ mr r31, r3 -/* 802CA9F0 002C7950 4B FF A3 41 */ bl GetChildObject__10CGuiObjectFv -/* 802CA9F4 002C7954 28 03 00 00 */ cmplwi r3, 0 -/* 802CA9F8 002C7958 41 82 00 20 */ beq lbl_802CAA18 -/* 802CA9FC 002C795C 7F E3 FB 78 */ mr r3, r31 -/* 802CAA00 002C7960 4B FF A3 31 */ bl GetChildObject__10CGuiObjectFv -/* 802CAA04 002C7964 81 83 00 00 */ lwz r12, 0(r3) -/* 802CAA08 002C7968 FC 20 F8 90 */ fmr f1, f31 -/* 802CAA0C 002C796C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802CAA10 002C7970 7D 89 03 A6 */ mtctr r12 -/* 802CAA14 002C7974 4E 80 04 21 */ bctrl -lbl_802CAA18: -/* 802CAA18 002C7978 7F E3 FB 78 */ mr r3, r31 -/* 802CAA1C 002C797C 4B FF A3 05 */ bl GetNextSibling__10CGuiObjectFv -/* 802CAA20 002C7980 28 03 00 00 */ cmplwi r3, 0 -/* 802CAA24 002C7984 41 82 00 20 */ beq lbl_802CAA44 -/* 802CAA28 002C7988 7F E3 FB 78 */ mr r3, r31 -/* 802CAA2C 002C798C 4B FF A2 F5 */ bl GetNextSibling__10CGuiObjectFv -/* 802CAA30 002C7990 81 83 00 00 */ lwz r12, 0(r3) -/* 802CAA34 002C7994 FC 20 F8 90 */ fmr f1, f31 -/* 802CAA38 002C7998 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802CAA3C 002C799C 7D 89 03 A6 */ mtctr r12 -/* 802CAA40 002C79A0 4E 80 04 21 */ bctrl -lbl_802CAA44: -/* 802CAA44 002C79A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CAA48 002C79A8 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 802CAA4C 002C79AC 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 802CAA50 002C79B0 7C 08 03 A6 */ mtlr r0 -/* 802CAA54 002C79B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CAA58 002C79B8 4E 80 00 20 */ blr - -.global ProcessUserInput__10CGuiWidgetFRC11CFinalInput -ProcessUserInput__10CGuiWidgetFRC11CFinalInput: -/* 802CAA5C 002C79BC 4E 80 00 20 */ blr - -.global Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms -Draw__10CGuiWidgetCFRC19CGuiWidgetDrawParms: -/* 802CAA60 002C79C0 4E 80 00 20 */ blr - -.global ReadUnusedThing__10CGuiWidgetFR12CInputStream -ReadUnusedThing__10CGuiWidgetFR12CInputStream: -/* 802CAA64 002C79C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CAA68 002C79C8 7C 08 02 A6 */ mflr r0 -/* 802CAA6C 002C79CC 7C 83 23 78 */ mr r3, r4 -/* 802CAA70 002C79D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CAA74 002C79D4 48 07 42 11 */ bl ReadLong__12CInputStreamFv -/* 802CAA78 002C79D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CAA7C 002C79DC 7C 08 03 A6 */ mtlr r0 -/* 802CAA80 002C79E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CAA84 002C79E4 4E 80 00 20 */ blr - -.global ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms: -/* 802CAA88 002C79E8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802CAA8C 002C79EC 7C 08 02 A6 */ mflr r0 -/* 802CAA90 002C79F0 90 01 00 94 */ stw r0, 0x94(r1) -/* 802CAA94 002C79F4 7C 80 23 78 */ mr r0, r4 -/* 802CAA98 002C79F8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802CAA9C 002C79FC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802CAAA0 002C7A00 93 A1 00 84 */ stw r29, 0x84(r1) -/* 802CAAA4 002C7A04 7C BD 2B 78 */ mr r29, r5 -/* 802CAAA8 002C7A08 93 81 00 80 */ stw r28, 0x80(r1) -/* 802CAAAC 002C7A0C 7C 7C 1B 78 */ mr r28, r3 -/* 802CAAB0 002C7A10 7C 03 03 78 */ mr r3, r0 -/* 802CAAB4 002C7A14 A8 86 00 08 */ lha r4, 8(r6) -/* 802CAAB8 002C7A18 4B FF 76 F9 */ bl FindWidget__9CGuiFrameCFs -/* 802CAABC 002C7A1C 7C 60 1B 78 */ mr r0, r3 -/* 802CAAC0 002C7A20 7F A3 EB 78 */ mr r3, r29 -/* 802CAAC4 002C7A24 7C 1E 03 78 */ mr r30, r0 -/* 802CAAC8 002C7A28 48 07 42 15 */ bl ReadBool__12CInputStreamFv -/* 802CAACC 002C7A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CAAD0 002C7A30 7C 7F 1B 78 */ mr r31, r3 -/* 802CAAD4 002C7A34 41 82 00 10 */ beq lbl_802CAAE4 -/* 802CAAD8 002C7A38 7F A3 EB 78 */ mr r3, r29 -/* 802CAADC 002C7A3C 48 07 41 D5 */ bl ReadShort__12CInputStreamFv -/* 802CAAE0 002C7A40 B0 7C 00 B4 */ sth r3, 0xb4(r28) -lbl_802CAAE4: -/* 802CAAE4 002C7A44 7F A4 EB 78 */ mr r4, r29 -/* 802CAAE8 002C7A48 38 61 00 14 */ addi r3, r1, 0x14 -/* 802CAAEC 002C7A4C 48 04 A0 A1 */ bl __ct__9CVector3fFR12CInputStream -/* 802CAAF0 002C7A50 7F A4 EB 78 */ mr r4, r29 -/* 802CAAF4 002C7A54 38 61 00 50 */ addi r3, r1, 0x50 -/* 802CAAF8 002C7A58 48 04 5A 29 */ bl __ct__9CMatrix3fFR12CInputStream -/* 802CAAFC 002C7A5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802CAB00 002C7A60 38 81 00 50 */ addi r4, r1, 0x50 -/* 802CAB04 002C7A64 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802CAB08 002C7A68 48 04 87 71 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 802CAB0C 002C7A6C 38 7C 00 74 */ addi r3, r28, 0x74 -/* 802CAB10 002C7A70 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CAB14 002C7A74 48 04 80 2D */ bl __as__12CTransform4fFRC12CTransform4f -/* 802CAB18 002C7A78 7F 83 E3 78 */ mr r3, r28 -/* 802CAB1C 002C7A7C 4B FF FB 49 */ bl ReapplyXform__10CGuiWidgetFv -/* 802CAB20 002C7A80 7F A4 EB 78 */ mr r4, r29 -/* 802CAB24 002C7A84 38 61 00 08 */ addi r3, r1, 8 -/* 802CAB28 002C7A88 48 04 A0 65 */ bl __ct__9CVector3fFR12CInputStream -/* 802CAB2C 002C7A8C 7F 83 E3 78 */ mr r3, r28 -/* 802CAB30 002C7A90 7F A4 EB 78 */ mr r4, r29 -/* 802CAB34 002C7A94 4B FF FF 31 */ bl ReadUnusedThing__10CGuiWidgetFR12CInputStream -/* 802CAB38 002C7A98 7F A3 EB 78 */ mr r3, r29 -/* 802CAB3C 002C7A9C 48 07 41 75 */ bl ReadShort__12CInputStreamFv -/* 802CAB40 002C7AA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802CAB44 002C7AA4 41 82 00 3C */ beq lbl_802CAB80 -/* 802CAB48 002C7AA8 7F C3 F3 78 */ mr r3, r30 -/* 802CAB4C 002C7AAC 7F 84 E3 78 */ mr r4, r28 -/* 802CAB50 002C7AB0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CAB54 002C7AB4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802CAB58 002C7AB8 7D 89 03 A6 */ mtctr r12 -/* 802CAB5C 002C7ABC 4E 80 04 21 */ bctrl -/* 802CAB60 002C7AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CAB64 002C7AC4 40 82 00 1C */ bne lbl_802CAB80 -/* 802CAB68 002C7AC8 3C 60 80 3D */ lis r3, lbl_803D68F8@ha -/* 802CAB6C 002C7ACC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l -/* 802CAB70 002C7AD0 4C C6 31 82 */ crclr 6 -/* 802CAB74 002C7AD4 48 0C 33 3D */ bl printf -/* 802CAB78 002C7AD8 38 00 FF FF */ li r0, -1 -/* 802CAB7C 002C7ADC B0 1C 00 B4 */ sth r0, 0xb4(r28) -lbl_802CAB80: -/* 802CAB80 002C7AE0 7F C3 F3 78 */ mr r3, r30 -/* 802CAB84 002C7AE4 7F 84 E3 78 */ mr r4, r28 -/* 802CAB88 002C7AE8 38 A0 00 00 */ li r5, 0 -/* 802CAB8C 002C7AEC 38 C0 00 01 */ li r6, 1 -/* 802CAB90 002C7AF0 4B FF FB 39 */ bl AddChildWidget__10CGuiWidgetFP10CGuiWidgetbb -/* 802CAB94 002C7AF4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802CAB98 002C7AF8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802CAB9C 002C7AFC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802CABA0 002C7B00 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802CABA4 002C7B04 83 81 00 80 */ lwz r28, 0x80(r1) -/* 802CABA8 002C7B08 7C 08 03 A6 */ mtlr r0 -/* 802CABAC 002C7B0C 38 21 00 90 */ addi r1, r1, 0x90 -/* 802CABB0 002C7B10 4E 80 00 20 */ blr - -.global __dt__10CGuiWidgetFv -__dt__10CGuiWidgetFv: -/* 802CABB4 002C7B14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CABB8 002C7B18 7C 08 02 A6 */ mflr r0 -/* 802CABBC 002C7B1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CABC0 002C7B20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CABC4 002C7B24 7C 9F 23 78 */ mr r31, r4 -/* 802CABC8 002C7B28 93 C1 00 08 */ stw r30, 8(r1) -/* 802CABCC 002C7B2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CABD0 002C7B30 41 82 00 38 */ beq lbl_802CAC08 -/* 802CABD4 002C7B34 3C 60 80 3F */ lis r3, lbl_803ECA10@ha -/* 802CABD8 002C7B38 7F C4 F3 78 */ mr r4, r30 -/* 802CABDC 002C7B3C 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l -/* 802CABE0 002C7B40 90 1E 00 00 */ stw r0, 0(r30) -/* 802CABE4 002C7B44 80 7E 00 B0 */ lwz r3, 0xb0(r30) -/* 802CABE8 002C7B48 4B FF 76 3D */ bl sub_802c2224 -/* 802CABEC 002C7B4C 7F C3 F3 78 */ mr r3, r30 -/* 802CABF0 002C7B50 38 80 00 00 */ li r4, 0 -/* 802CABF4 002C7B54 4B FF A7 E1 */ bl __dt__10CGuiObjectFv -/* 802CABF8 002C7B58 7F E0 07 35 */ extsh. r0, r31 -/* 802CABFC 002C7B5C 40 81 00 0C */ ble lbl_802CAC08 -/* 802CAC00 002C7B60 7F C3 F3 78 */ mr r3, r30 -/* 802CAC04 002C7B64 48 04 AD 2D */ bl Free__7CMemoryFPCv -lbl_802CAC08: -/* 802CAC08 002C7B68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CAC0C 002C7B6C 7F C3 F3 78 */ mr r3, r30 -/* 802CAC10 002C7B70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CAC14 002C7B74 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CAC18 002C7B78 7C 08 03 A6 */ mtlr r0 -/* 802CAC1C 002C7B7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CAC20 002C7B80 4E 80 00 20 */ blr - -.global __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -__ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms: -/* 802CAC24 002C7B84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CAC28 002C7B88 7C 08 02 A6 */ mflr r0 -/* 802CAC2C 002C7B8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CAC30 002C7B90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CAC34 002C7B94 7C 9F 23 78 */ mr r31, r4 -/* 802CAC38 002C7B98 93 C1 00 08 */ stw r30, 8(r1) -/* 802CAC3C 002C7B9C 7C 7E 1B 78 */ mr r30, r3 -/* 802CAC40 002C7BA0 4B FF A8 3D */ bl __ct__10CGuiObjectFv -/* 802CAC44 002C7BA4 3C 60 80 3F */ lis r3, lbl_803ECA10@ha -/* 802CAC48 002C7BA8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 802CAC4C 002C7BAC 38 03 CA 10 */ addi r0, r3, lbl_803ECA10@l -/* 802CAC50 002C7BB0 90 1E 00 00 */ stw r0, 0(r30) -/* 802CAC54 002C7BB4 38 7E 00 74 */ addi r3, r30, 0x74 -/* 802CAC58 002C7BB8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 802CAC5C 002C7BBC A8 1F 00 06 */ lha r0, 6(r31) -/* 802CAC60 002C7BC0 B0 1E 00 70 */ sth r0, 0x70(r30) -/* 802CAC64 002C7BC4 A8 1F 00 08 */ lha r0, 8(r31) -/* 802CAC68 002C7BC8 B0 1E 00 72 */ sth r0, 0x72(r30) -/* 802CAC6C 002C7BCC 48 04 7F 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CAC70 002C7BD0 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 802CAC74 002C7BD4 38 00 FF FF */ li r0, -1 -/* 802CAC78 002C7BD8 38 E0 00 01 */ li r7, 1 -/* 802CAC7C 002C7BDC 38 C0 00 00 */ li r6, 0 -/* 802CAC80 002C7BE0 90 7E 00 A4 */ stw r3, 0xa4(r30) -/* 802CAC84 002C7BE4 7F C3 F3 78 */ mr r3, r30 -/* 802CAC88 002C7BE8 38 80 00 02 */ li r4, 2 -/* 802CAC8C 002C7BEC 80 BE 00 A4 */ lwz r5, 0xa4(r30) -/* 802CAC90 002C7BF0 90 BE 00 A8 */ stw r5, 0xa8(r30) -/* 802CAC94 002C7BF4 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 802CAC98 002C7BF8 90 BE 00 AC */ stw r5, 0xac(r30) -/* 802CAC9C 002C7BFC 80 BF 00 00 */ lwz r5, 0(r31) -/* 802CACA0 002C7C00 90 BE 00 B0 */ stw r5, 0xb0(r30) -/* 802CACA4 002C7C04 B0 1E 00 B4 */ sth r0, 0xb4(r30) -/* 802CACA8 002C7C08 88 BF 00 0D */ lbz r5, 0xd(r31) -/* 802CACAC 002C7C0C 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACB0 002C7C10 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 802CACB4 002C7C14 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CACB8 002C7C18 88 BF 00 0A */ lbz r5, 0xa(r31) -/* 802CACBC 002C7C1C 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACC0 002C7C20 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 802CACC4 002C7C24 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CACC8 002C7C28 88 BF 00 0B */ lbz r5, 0xb(r31) -/* 802CACCC 002C7C2C 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACD0 002C7C30 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 802CACD4 002C7C34 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CACD8 002C7C38 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACDC 002C7C3C 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b -/* 802CACE0 002C7C40 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CACE4 002C7C44 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACE8 002C7C48 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 802CACEC 002C7C4C 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CACF0 002C7C50 88 BF 00 0C */ lbz r5, 0xc(r31) -/* 802CACF4 002C7C54 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CACF8 002C7C58 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 802CACFC 002C7C5C 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CAD00 002C7C60 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CAD04 002C7C64 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e -/* 802CAD08 002C7C68 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CAD0C 002C7C6C 88 1E 00 B6 */ lbz r0, 0xb6(r30) -/* 802CAD10 002C7C70 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f -/* 802CAD14 002C7C74 98 1E 00 B6 */ stb r0, 0xb6(r30) -/* 802CAD18 002C7C78 88 1E 00 B7 */ lbz r0, 0xb7(r30) -/* 802CAD1C 002C7C7C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 802CAD20 002C7C80 98 1E 00 B7 */ stb r0, 0xb7(r30) -/* 802CAD24 002C7C84 88 1E 00 B7 */ lbz r0, 0xb7(r30) -/* 802CAD28 002C7C88 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 802CAD2C 002C7C8C 98 1E 00 B7 */ stb r0, 0xb7(r30) -/* 802CAD30 002C7C90 4B FF FA 7D */ bl RecalcWidgetColor__10CGuiWidgetF14ETraversalMode -/* 802CAD34 002C7C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CAD38 002C7C98 7F C3 F3 78 */ mr r3, r30 -/* 802CAD3C 002C7C9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CAD40 002C7CA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CAD44 002C7CA4 7C 08 03 A6 */ mtlr r0 -/* 802CAD48 002C7CA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CAD4C 002C7CAC 4E 80 00 20 */ blr - -.global ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb: -/* 802CAD50 002C7CB0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802CAD54 002C7CB4 7C 08 02 A6 */ mflr r0 -/* 802CAD58 002C7CB8 90 01 00 74 */ stw r0, 0x74(r1) -/* 802CAD5C 002C7CBC BE E1 00 4C */ stmw r23, 0x4c(r1) -/* 802CAD60 002C7CC0 7C B9 2B 78 */ mr r25, r5 -/* 802CAD64 002C7CC4 7C 77 1B 78 */ mr r23, r3 -/* 802CAD68 002C7CC8 7C 98 23 78 */ mr r24, r4 -/* 802CAD6C 002C7CCC 38 61 00 34 */ addi r3, r1, 0x34 -/* 802CAD70 002C7CD0 7F 24 CB 78 */ mr r4, r25 -/* 802CAD74 002C7CD4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802CAD78 002C7CD8 48 07 35 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802CAD7C 002C7CDC 38 78 00 18 */ addi r3, r24, 0x18 -/* 802CAD80 002C7CE0 38 81 00 34 */ addi r4, r1, 0x34 -/* 802CAD84 002C7CE4 48 00 02 79 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CAD88 002C7CE8 7C 7C 1B 78 */ mr r28, r3 -/* 802CAD8C 002C7CEC 7F 24 CB 78 */ mr r4, r25 -/* 802CAD90 002C7CF0 38 61 00 24 */ addi r3, r1, 0x24 -/* 802CAD94 002C7CF4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 802CAD98 002C7CF8 48 07 35 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802CAD9C 002C7CFC 38 78 00 18 */ addi r3, r24, 0x18 -/* 802CADA0 002C7D00 38 81 00 24 */ addi r4, r1, 0x24 -/* 802CADA4 002C7D04 48 00 02 59 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CADA8 002C7D08 7C 7B 1B 78 */ mr r27, r3 -/* 802CADAC 002C7D0C 7F 23 CB 78 */ mr r3, r25 -/* 802CADB0 002C7D10 48 07 3F 2D */ bl ReadBool__12CInputStreamFv -/* 802CADB4 002C7D14 7C 60 1B 78 */ mr r0, r3 -/* 802CADB8 002C7D18 7F 23 CB 78 */ mr r3, r25 -/* 802CADBC 002C7D1C 7C 1A 03 78 */ mr r26, r0 -/* 802CADC0 002C7D20 48 07 3F 1D */ bl ReadBool__12CInputStreamFv -/* 802CADC4 002C7D24 7C 7D 1B 78 */ mr r29, r3 -/* 802CADC8 002C7D28 7F 23 CB 78 */ mr r3, r25 -/* 802CADCC 002C7D2C 48 07 3F 11 */ bl ReadBool__12CInputStreamFv -/* 802CADD0 002C7D30 7C 7E 1B 78 */ mr r30, r3 -/* 802CADD4 002C7D34 7F 23 CB 78 */ mr r3, r25 -/* 802CADD8 002C7D38 48 07 3F 05 */ bl ReadBool__12CInputStreamFv -/* 802CADDC 002C7D3C 7C 7F 1B 78 */ mr r31, r3 -/* 802CADE0 002C7D40 7F 24 CB 78 */ mr r4, r25 -/* 802CADE4 002C7D44 38 61 00 20 */ addi r3, r1, 0x20 -/* 802CADE8 002C7D48 48 09 86 65 */ bl __ct__6CColorFR12CInputStream -/* 802CADEC 002C7D4C 7F 23 CB 78 */ mr r3, r25 -/* 802CADF0 002C7D50 48 07 3E 95 */ bl ReadLong__12CInputStreamFv -/* 802CADF4 002C7D54 38 01 00 20 */ addi r0, r1, 0x20 -/* 802CADF8 002C7D58 39 00 00 01 */ li r8, 1 -/* 802CADFC 002C7D5C 90 01 00 08 */ stw r0, 8(r1) -/* 802CAE00 002C7D60 38 00 00 00 */ li r0, 0 -/* 802CAE04 002C7D64 7F 04 C3 78 */ mr r4, r24 -/* 802CAE08 002C7D68 7F 45 D3 78 */ mr r5, r26 -/* 802CAE0C 002C7D6C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CAE10 002C7D70 7E E3 BB 78 */ mr r3, r23 -/* 802CAE14 002C7D74 7F 86 E3 78 */ mr r6, r28 -/* 802CAE18 002C7D78 7F 67 DB 78 */ mr r7, r27 -/* 802CAE1C 002C7D7C 91 01 00 10 */ stw r8, 0x10(r1) -/* 802CAE20 002C7D80 57 A8 06 3E */ clrlwi r8, r29, 0x18 -/* 802CAE24 002C7D84 57 C9 06 3E */ clrlwi r9, r30, 0x18 -/* 802CAE28 002C7D88 57 EA 06 3E */ clrlwi r10, r31, 0x18 -/* 802CAE2C 002C7D8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CAE30 002C7D90 48 00 01 01 */ bl __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb -/* 802CAE34 002C7D94 38 61 00 24 */ addi r3, r1, 0x24 -/* 802CAE38 002C7D98 48 07 2C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CAE3C 002C7D9C 38 61 00 34 */ addi r3, r1, 0x34 -/* 802CAE40 002C7DA0 48 07 2C A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CAE44 002C7DA4 BA E1 00 4C */ lmw r23, 0x4c(r1) -/* 802CAE48 002C7DA8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802CAE4C 002C7DAC 7C 08 03 A6 */ mtlr r0 -/* 802CAE50 002C7DB0 38 21 00 70 */ addi r1, r1, 0x70 -/* 802CAE54 002C7DB4 4E 80 00 20 */ blr - -.global Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -Create__10CGuiWidgetFP9CGuiFrameR12CInputStreamb: -/* 802CAE58 002C7DB8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802CAE5C 002C7DBC 7C 08 02 A6 */ mflr r0 -/* 802CAE60 002C7DC0 90 01 00 54 */ stw r0, 0x54(r1) -/* 802CAE64 002C7DC4 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802CAE68 002C7DC8 7C 7E 1B 78 */ mr r30, r3 -/* 802CAE6C 002C7DCC 7C 9F 23 78 */ mr r31, r4 -/* 802CAE70 002C7DD0 38 61 00 08 */ addi r3, r1, 8 -/* 802CAE74 002C7DD4 7F C4 F3 78 */ mr r4, r30 -/* 802CAE78 002C7DD8 7F E5 FB 78 */ mr r5, r31 -/* 802CAE7C 002C7DDC 4B FF FE D5 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802CAE80 002C7DE0 83 61 00 08 */ lwz r27, 8(r1) -/* 802CAE84 002C7DE4 3C 60 80 3D */ lis r3, lbl_803D68F8@ha -/* 802CAE88 002C7DE8 8B 81 00 0C */ lbz r28, 0xc(r1) -/* 802CAE8C 002C7DEC 38 63 68 F8 */ addi r3, r3, lbl_803D68F8@l -/* 802CAE90 002C7DF0 AB A1 00 0E */ lha r29, 0xe(r1) -/* 802CAE94 002C7DF4 38 83 00 49 */ addi r4, r3, 0x49 -/* 802CAE98 002C7DF8 A9 81 00 10 */ lha r12, 0x10(r1) -/* 802CAE9C 002C7DFC 38 60 00 B8 */ li r3, 0xb8 -/* 802CAEA0 002C7E00 89 61 00 12 */ lbz r11, 0x12(r1) -/* 802CAEA4 002C7E04 38 A0 00 00 */ li r5, 0 -/* 802CAEA8 002C7E08 89 41 00 13 */ lbz r10, 0x13(r1) -/* 802CAEAC 002C7E0C 89 21 00 14 */ lbz r9, 0x14(r1) -/* 802CAEB0 002C7E10 89 01 00 15 */ lbz r8, 0x15(r1) -/* 802CAEB4 002C7E14 88 E1 00 16 */ lbz r7, 0x16(r1) -/* 802CAEB8 002C7E18 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 802CAEBC 002C7E1C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802CAEC0 002C7E20 93 61 00 20 */ stw r27, 0x20(r1) -/* 802CAEC4 002C7E24 9B 81 00 24 */ stb r28, 0x24(r1) -/* 802CAEC8 002C7E28 B3 A1 00 26 */ sth r29, 0x26(r1) -/* 802CAECC 002C7E2C B1 81 00 28 */ sth r12, 0x28(r1) -/* 802CAED0 002C7E30 99 61 00 2A */ stb r11, 0x2a(r1) -/* 802CAED4 002C7E34 99 41 00 2B */ stb r10, 0x2b(r1) -/* 802CAED8 002C7E38 99 21 00 2C */ stb r9, 0x2c(r1) -/* 802CAEDC 002C7E3C 99 01 00 2D */ stb r8, 0x2d(r1) -/* 802CAEE0 002C7E40 98 E1 00 2E */ stb r7, 0x2e(r1) -/* 802CAEE4 002C7E44 90 C1 00 30 */ stw r6, 0x30(r1) -/* 802CAEE8 002C7E48 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CAEEC 002C7E4C 48 04 A9 81 */ bl __nw__FUlPCcPCc -/* 802CAEF0 002C7E50 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802CAEF4 002C7E54 41 82 00 10 */ beq lbl_802CAF04 -/* 802CAEF8 002C7E58 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CAEFC 002C7E5C 4B FF FD 29 */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802CAF00 002C7E60 7C 7B 1B 78 */ mr r27, r3 -lbl_802CAF04: -/* 802CAF04 002C7E64 7F 63 DB 78 */ mr r3, r27 -/* 802CAF08 002C7E68 7F C4 F3 78 */ mr r4, r30 -/* 802CAF0C 002C7E6C 7F E5 FB 78 */ mr r5, r31 -/* 802CAF10 002C7E70 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802CAF14 002C7E74 4B FF FB 75 */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802CAF18 002C7E78 7F 63 DB 78 */ mr r3, r27 -/* 802CAF1C 002C7E7C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802CAF20 002C7E80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802CAF24 002C7E84 7C 08 03 A6 */ mtlr r0 -/* 802CAF28 002C7E88 38 21 00 50 */ addi r1, r1, 0x50 -/* 802CAF2C 002C7E8C 4E 80 00 20 */ blr - -.global __ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb -__ct__Q210CGuiWidget15CGuiWidgetParmsFP9CGuiFramebssbbbRC6CColorQ210CGuiWidget18EGuiModelDrawFlagsbb: -/* 802CAF30 002C7E90 90 83 00 00 */ stw r4, 0(r3) -/* 802CAF34 002C7E94 88 81 00 13 */ lbz r4, 0x13(r1) -/* 802CAF38 002C7E98 98 A3 00 04 */ stb r5, 4(r3) -/* 802CAF3C 002C7E9C 88 01 00 17 */ lbz r0, 0x17(r1) -/* 802CAF40 002C7EA0 B0 C3 00 06 */ sth r6, 6(r3) -/* 802CAF44 002C7EA4 80 C1 00 08 */ lwz r6, 8(r1) -/* 802CAF48 002C7EA8 B0 E3 00 08 */ sth r7, 8(r3) -/* 802CAF4C 002C7EAC 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802CAF50 002C7EB0 99 03 00 0A */ stb r8, 0xa(r3) -/* 802CAF54 002C7EB4 99 23 00 0B */ stb r9, 0xb(r3) -/* 802CAF58 002C7EB8 99 43 00 0C */ stb r10, 0xc(r3) -/* 802CAF5C 002C7EBC 98 83 00 0D */ stb r4, 0xd(r3) -/* 802CAF60 002C7EC0 98 03 00 0E */ stb r0, 0xe(r3) -/* 802CAF64 002C7EC4 80 06 00 00 */ lwz r0, 0(r6) -/* 802CAF68 002C7EC8 90 03 00 10 */ stw r0, 0x10(r3) -/* 802CAF6C 002C7ECC 90 A3 00 14 */ stw r5, 0x14(r3) -/* 802CAF70 002C7ED0 4E 80 00 20 */ blr - -.global "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802CAF74 002C7ED4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CAF78 002C7ED8 7C 08 02 A6 */ mflr r0 -/* 802CAF7C 002C7EDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CAF80 002C7EE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CAF84 002C7EE4 3B E0 00 00 */ li r31, 0 -/* 802CAF88 002C7EE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CAF8C 002C7EEC 3B C0 00 00 */ li r30, 0 -/* 802CAF90 002C7EF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802CAF94 002C7EF4 7C 9D 23 78 */ mr r29, r4 -/* 802CAF98 002C7EF8 93 81 00 10 */ stw r28, 0x10(r1) -/* 802CAF9C 002C7EFC 7C 7C 1B 78 */ mr r28, r3 -/* 802CAFA0 002C7F00 48 00 00 2C */ b lbl_802CAFCC -lbl_802CAFA4: -/* 802CAFA4 002C7F04 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 802CAFA8 002C7F08 7F A4 EB 78 */ mr r4, r29 -/* 802CAFAC 002C7F0C 7C 60 FA 14 */ add r3, r0, r31 -/* 802CAFB0 002C7F10 4B D8 76 31 */ bl "find__Q24rstl418red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl83pair,Q24rstl17rmemory_allocator>,s>,0,Q24rstl103select1st,Q24rstl17rmemory_allocator>,s>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string,Q24rstl17rmemory_allocat" -/* 802CAFB4 002C7F14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CAFB8 002C7F18 41 82 00 0C */ beq lbl_802CAFC4 -/* 802CAFBC 002C7F1C 7F C3 07 34 */ extsh r3, r30 -/* 802CAFC0 002C7F20 48 00 00 1C */ b lbl_802CAFDC -lbl_802CAFC4: -/* 802CAFC4 002C7F24 3B FF 00 10 */ addi r31, r31, 0x10 -/* 802CAFC8 002C7F28 3B DE 00 01 */ addi r30, r30, 1 -lbl_802CAFCC: -/* 802CAFCC 002C7F2C 80 1C 00 04 */ lwz r0, 4(r28) -/* 802CAFD0 002C7F30 7C 1E 00 00 */ cmpw r30, r0 -/* 802CAFD4 002C7F34 41 80 FF D0 */ blt lbl_802CAFA4 -/* 802CAFD8 002C7F38 A8 62 C4 12 */ lha r3, lbl_805AE132@sda21(r2) -lbl_802CAFDC: -/* 802CAFDC 002C7F3C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CAFE0 002C7F40 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CAFE4 002C7F44 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CAFE8 002C7F48 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802CAFEC 002C7F4C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802CAFF0 002C7F50 7C 08 03 A6 */ mtlr r0 -/* 802CAFF4 002C7F54 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CAFF8 002C7F58 4E 80 00 20 */ blr - -.global "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802CAFFC 002C7F5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CB000 002C7F60 7C 08 02 A6 */ mflr r0 -/* 802CB004 002C7F64 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CB008 002C7F68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CB00C 002C7F6C 7C 9F 23 78 */ mr r31, r4 -/* 802CB010 002C7F70 93 C1 00 08 */ stw r30, 8(r1) -/* 802CB014 002C7F74 7C 7E 1B 78 */ mr r30, r3 -/* 802CB018 002C7F78 4B FF FF 5D */ bl "FindWidgetID__14CGuiWidgetIdDBCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CB01C 002C7F7C A8 02 C4 12 */ lha r0, lbl_805AE132@sda21(r2) -/* 802CB020 002C7F80 7C 64 07 34 */ extsh r4, r3 -/* 802CB024 002C7F84 7C 04 00 00 */ cmpw r4, r0 -/* 802CB028 002C7F88 40 82 00 60 */ bne lbl_802CB088 -/* 802CB02C 002C7F8C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CB030 002C7F90 80 BE 00 08 */ lwz r5, 8(r30) -/* 802CB034 002C7F94 7C 00 28 00 */ cmpw r0, r5 -/* 802CB038 002C7F98 41 80 00 1C */ blt lbl_802CB054 -/* 802CB03C 002C7F9C 2C 05 00 00 */ cmpwi r5, 0 -/* 802CB040 002C7FA0 7F C3 F3 78 */ mr r3, r30 -/* 802CB044 002C7FA4 38 80 00 04 */ li r4, 4 -/* 802CB048 002C7FA8 41 82 00 08 */ beq lbl_802CB050 -/* 802CB04C 002C7FAC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802CB050: -/* 802CB050 002C7FB0 4B D8 EB 65 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -lbl_802CB054: -/* 802CB054 002C7FB4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CB058 002C7FB8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CB05C 002C7FBC 54 00 20 36 */ slwi r0, r0, 4 -/* 802CB060 002C7FC0 7C 63 02 15 */ add. r3, r3, r0 -/* 802CB064 002C7FC4 41 82 00 0C */ beq lbl_802CB070 -/* 802CB068 002C7FC8 7F E4 FB 78 */ mr r4, r31 -/* 802CB06C 002C7FCC 48 07 30 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_802CB070: -/* 802CB070 002C7FD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 802CB074 002C7FD4 38 03 00 01 */ addi r0, r3, 1 -/* 802CB078 002C7FD8 90 1E 00 04 */ stw r0, 4(r30) -/* 802CB07C 002C7FDC 80 7E 00 04 */ lwz r3, 4(r30) -/* 802CB080 002C7FE0 38 03 FF FF */ addi r0, r3, -1 -/* 802CB084 002C7FE4 7C 03 07 34 */ extsh r3, r0 -lbl_802CB088: -/* 802CB088 002C7FE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CB08C 002C7FEC 7C 63 07 34 */ extsh r3, r3 -/* 802CB090 002C7FF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CB094 002C7FF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CB098 002C7FF8 7C 08 03 A6 */ mtlr r0 -/* 802CB09C 002C7FFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CB0A0 002C8000 4E 80 00 20 */ blr - -.global sub_802cb0a4 -sub_802cb0a4: -/* 802CB0A4 002C8004 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CB0A8 002C8008 7C 08 02 A6 */ mflr r0 -/* 802CB0AC 002C800C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CB0B0 002C8010 80 03 00 04 */ lwz r0, 4(r3) -/* 802CB0B4 002C8014 7C 84 02 14 */ add r4, r4, r0 -/* 802CB0B8 002C8018 4B D8 EA FD */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -/* 802CB0BC 002C801C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CB0C0 002C8020 7C 08 03 A6 */ mtlr r0 -/* 802CB0C4 002C8024 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CB0C8 002C8028 4E 80 00 20 */ blr - -.global __ct__14CGuiWidgetIdDBFv -__ct__14CGuiWidgetIdDBFv: -/* 802CB0CC 002C802C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802CB0D0 002C8030 7C 08 02 A6 */ mflr r0 -/* 802CB0D4 002C8034 38 80 00 04 */ li r4, 4 -/* 802CB0D8 002C8038 90 01 00 54 */ stw r0, 0x54(r1) -/* 802CB0DC 002C803C 38 00 00 00 */ li r0, 0 -/* 802CB0E0 002C8040 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802CB0E4 002C8044 7C 7F 1B 78 */ mr r31, r3 -/* 802CB0E8 002C8048 90 03 00 04 */ stw r0, 4(r3) -/* 802CB0EC 002C804C 90 03 00 08 */ stw r0, 8(r3) -/* 802CB0F0 002C8050 90 03 00 0C */ stw r0, 0xc(r3) -/* 802CB0F4 002C8054 4B D8 EA C1 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -/* 802CB0F8 002C8058 3C 80 80 3D */ lis r4, lbl_803D6948@ha -/* 802CB0FC 002C805C 38 61 00 38 */ addi r3, r1, 0x38 -/* 802CB100 002C8060 38 84 69 48 */ addi r4, r4, lbl_803D6948@l -/* 802CB104 002C8064 38 84 00 0A */ addi r4, r4, 0xa -/* 802CB108 002C8068 4B D3 9B B1 */ bl string_l__4rstlFPCc -/* 802CB10C 002C806C 7F E3 FB 78 */ mr r3, r31 -/* 802CB110 002C8070 38 81 00 38 */ addi r4, r1, 0x38 -/* 802CB114 002C8074 4B FF FE E9 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CB118 002C8078 38 61 00 38 */ addi r3, r1, 0x38 -/* 802CB11C 002C807C 48 07 29 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CB120 002C8080 3C 80 80 3D */ lis r4, lbl_803D6948@ha -/* 802CB124 002C8084 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CB128 002C8088 38 84 69 48 */ addi r4, r4, lbl_803D6948@l -/* 802CB12C 002C808C 38 84 00 1E */ addi r4, r4, 0x1e -/* 802CB130 002C8090 4B D3 9B 89 */ bl string_l__4rstlFPCc -/* 802CB134 002C8094 7F E3 FB 78 */ mr r3, r31 -/* 802CB138 002C8098 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CB13C 002C809C 4B FF FE C1 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CB140 002C80A0 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CB144 002C80A4 48 07 29 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CB148 002C80A8 3C 80 80 3D */ lis r4, lbl_803D6948@ha -/* 802CB14C 002C80AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CB150 002C80B0 38 84 69 48 */ addi r4, r4, lbl_803D6948@l -/* 802CB154 002C80B4 38 84 00 31 */ addi r4, r4, 0x31 -/* 802CB158 002C80B8 4B D3 9B 61 */ bl string_l__4rstlFPCc -/* 802CB15C 002C80BC 7F E3 FB 78 */ mr r3, r31 -/* 802CB160 002C80C0 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CB164 002C80C4 4B FF FE 99 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CB168 002C80C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CB16C 002C80CC 48 07 29 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CB170 002C80D0 3C 80 80 3D */ lis r4, lbl_803D6948@ha -/* 802CB174 002C80D4 38 61 00 08 */ addi r3, r1, 8 -/* 802CB178 002C80D8 38 84 69 48 */ addi r4, r4, lbl_803D6948@l -/* 802CB17C 002C80DC 38 84 00 47 */ addi r4, r4, 0x47 -/* 802CB180 002C80E0 4B D3 9B 39 */ bl string_l__4rstlFPCc -/* 802CB184 002C80E4 7F E3 FB 78 */ mr r3, r31 -/* 802CB188 002C80E8 38 81 00 08 */ addi r4, r1, 8 -/* 802CB18C 002C80EC 4B FF FE 71 */ bl "AddWidget__14CGuiWidgetIdDBFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802CB190 002C80F0 38 61 00 08 */ addi r3, r1, 8 -/* 802CB194 002C80F4 48 07 29 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802CB198 002C80F8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802CB19C 002C80FC 7F E3 FB 78 */ mr r3, r31 -/* 802CB1A0 002C8100 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802CB1A4 002C8104 7C 08 03 A6 */ mtlr r0 -/* 802CB1A8 002C8108 38 21 00 50 */ addi r1, r1, 0x50 -/* 802CB1AC 002C810C 4E 80 00 20 */ blr - -.global __sinit_CGuiWidgetDrawParms_cpp -__sinit_CGuiWidgetDrawParms_cpp: -/* 802CB1B0 002C8110 C0 22 C4 18 */ lfs f1, lbl_805AE138@sda21(r2) -/* 802CB1B4 002C8114 3C 60 80 5A */ lis r3, lbl_8059FD08@ha -/* 802CB1B8 002C8118 C0 02 C4 1C */ lfs f0, lbl_805AE13C@sda21(r2) -/* 802CB1BC 002C811C D4 23 FD 08 */ stfsu f1, lbl_8059FD08@l(r3) -/* 802CB1C0 002C8120 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CB1C4 002C8124 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CB1C8 002C8128 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CB1CC 002C812C 4E 80 00 20 */ blr - -.global GetWidgetTypeID__16CAuiEnergyBarT01CFv -GetWidgetTypeID__16CAuiEnergyBarT01CFv: -/* 802CB1D0 002C8130 3C 60 45 4E */ lis r3, 0x454E5247@ha -/* 802CB1D4 002C8134 38 63 52 47 */ addi r3, r3, 0x454E5247@l -/* 802CB1D8 002C8138 4E 80 00 20 */ blr - -.global GetActualFraction__16CAuiEnergyBarT01CFv -GetActualFraction__16CAuiEnergyBarT01CFv: -/* 802CB1DC 002C813C C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) -/* 802CB1E0 002C8140 C0 43 00 E0 */ lfs f2, 0xe0(r3) -/* 802CB1E4 002C8144 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 802CB1E8 002C8148 4D 82 00 20 */ beqlr -/* 802CB1EC 002C814C C0 03 00 F4 */ lfs f0, 0xf4(r3) -/* 802CB1F0 002C8150 EC 20 10 24 */ fdivs f1, f0, f2 -/* 802CB1F4 002C8154 4E 80 00 20 */ blr - -.global Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms -Draw__16CAuiEnergyBarT01CFRC19CGuiWidgetDrawParms: -/* 802CB1F8 002C8158 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802CB1FC 002C815C 7C 08 02 A6 */ mflr r0 -/* 802CB200 002C8160 90 01 01 14 */ stw r0, 0x114(r1) -/* 802CB204 002C8164 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802CB208 002C8168 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802CB20C 002C816C DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802CB210 002C8170 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802CB214 002C8174 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 802CB218 002C8178 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 802CB21C 002C817C DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 802CB220 002C8180 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 802CB224 002C8184 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 802CB228 002C8188 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 802CB22C 002C818C BF 61 00 AC */ stmw r27, 0xac(r1) -/* 802CB230 002C8190 7C 7C 1B 78 */ mr r28, r3 -/* 802CB234 002C8194 7C 9D 23 78 */ mr r29, r4 -/* 802CB238 002C8198 38 7C 00 34 */ addi r3, r28, 0x34 -/* 802CB23C 002C819C 48 04 13 A5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802CB240 002C81A0 88 1C 00 C8 */ lbz r0, 0xc8(r28) -/* 802CB244 002C81A4 28 00 00 00 */ cmplwi r0, 0 -/* 802CB248 002C81A8 41 82 03 AC */ beq lbl_802CB5F4 -/* 802CB24C 002C81AC 80 1C 00 C4 */ lwz r0, 0xc4(r28) -/* 802CB250 002C81B0 38 80 00 00 */ li r4, 0 -/* 802CB254 002C81B4 28 00 00 00 */ cmplwi r0, 0 -/* 802CB258 002C81B8 40 82 00 14 */ bne lbl_802CB26C -/* 802CB25C 002C81BC 80 7C 00 BC */ lwz r3, 0xbc(r28) -/* 802CB260 002C81C0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802CB264 002C81C4 28 00 00 00 */ cmplwi r0, 0 -/* 802CB268 002C81C8 41 82 00 08 */ beq lbl_802CB270 -lbl_802CB26C: -/* 802CB26C 002C81CC 38 80 00 01 */ li r4, 1 -lbl_802CB270: -/* 802CB270 002C81D0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802CB274 002C81D4 41 82 03 80 */ beq lbl_802CB5F4 -/* 802CB278 002C81D8 80 1C 00 D8 */ lwz r0, 0xd8(r28) -/* 802CB27C 002C81DC 28 00 00 00 */ cmplwi r0, 0 -/* 802CB280 002C81E0 40 82 00 08 */ bne lbl_802CB288 -/* 802CB284 002C81E4 48 00 03 70 */ b lbl_802CB5F4 -lbl_802CB288: -/* 802CB288 002C81E8 83 DC 00 C4 */ lwz r30, 0xc4(r28) -/* 802CB28C 002C81EC 28 1E 00 00 */ cmplwi r30, 0 -/* 802CB290 002C81F0 41 82 03 64 */ beq lbl_802CB5F4 -/* 802CB294 002C81F4 38 60 00 01 */ li r3, 1 -/* 802CB298 002C81F8 38 80 00 03 */ li r4, 3 -/* 802CB29C 002C81FC 38 A0 00 00 */ li r5, 0 -/* 802CB2A0 002C8200 48 04 07 F5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802CB2A4 002C8204 48 07 ED 09 */ bl White__6CColorFv -/* 802CB2A8 002C8208 48 04 0D 75 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 802CB2AC 002C820C 38 60 00 01 */ li r3, 1 -/* 802CB2B0 002C8210 38 80 00 04 */ li r4, 4 -/* 802CB2B4 002C8214 38 A0 00 01 */ li r5, 1 -/* 802CB2B8 002C8218 38 C0 00 00 */ li r6, 0 -/* 802CB2BC 002C821C 48 04 07 95 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CB2C0 002C8220 C0 3C 00 E0 */ lfs f1, 0xe0(r28) -/* 802CB2C4 002C8224 C3 C2 C4 20 */ lfs f30, lbl_805AE140@sda21(r2) -/* 802CB2C8 002C8228 FC 01 F0 40 */ fcmpo cr0, f1, f30 -/* 802CB2CC 002C822C 40 81 00 0C */ ble lbl_802CB2D8 -/* 802CB2D0 002C8230 C0 1C 00 F8 */ lfs f0, 0xf8(r28) -/* 802CB2D4 002C8234 EF C0 08 24 */ fdivs f30, f0, f1 -lbl_802CB2D8: -/* 802CB2D8 002C8238 C3 A2 C4 20 */ lfs f29, lbl_805AE140@sda21(r2) -/* 802CB2DC 002C823C FC 01 E8 40 */ fcmpo cr0, f1, f29 -/* 802CB2E0 002C8240 40 81 00 0C */ ble lbl_802CB2EC -/* 802CB2E4 002C8244 C0 1C 00 FC */ lfs f0, 0xfc(r28) -/* 802CB2E8 002C8248 EF A0 08 24 */ fdivs f29, f0, f1 -lbl_802CB2EC: -/* 802CB2EC 002C824C 88 7C 00 D3 */ lbz r3, 0xd3(r28) -/* 802CB2F0 002C8250 3C 00 43 30 */ lis r0, 0x4330 -/* 802CB2F4 002C8254 90 01 00 90 */ stw r0, 0x90(r1) -/* 802CB2F8 002C8258 3B FC 00 A8 */ addi r31, r28, 0xa8 -/* 802CB2FC 002C825C C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) -/* 802CB300 002C8260 90 61 00 94 */ stw r3, 0x94(r1) -/* 802CB304 002C8264 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802CB308 002C8268 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 802CB30C 002C826C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CB310 002C8270 EF 82 00 32 */ fmuls f28, f2, f0 -/* 802CB314 002C8274 F3 81 A0 0A */ psq_st f28, 10(r1), 1, qr2 -/* 802CB318 002C8278 7F E4 FB 78 */ mr r4, r31 -/* 802CB31C 002C827C 80 DC 00 D0 */ lwz r6, 0xd0(r28) -/* 802CB320 002C8280 38 61 00 20 */ addi r3, r1, 0x20 -/* 802CB324 002C8284 88 01 00 0A */ lbz r0, 0xa(r1) -/* 802CB328 002C8288 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802CB32C 002C828C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 802CB330 002C8290 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802CB334 002C8294 48 09 7E 45 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CB338 002C8298 88 7C 00 D7 */ lbz r3, 0xd7(r28) -/* 802CB33C 002C829C 3C 00 43 30 */ lis r0, 0x4330 -/* 802CB340 002C82A0 80 81 00 20 */ lwz r4, 0x20(r1) -/* 802CB344 002C82A4 90 61 00 9C */ stw r3, 0x9c(r1) -/* 802CB348 002C82A8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) -/* 802CB34C 002C82AC 90 01 00 98 */ stw r0, 0x98(r1) -/* 802CB350 002C82B0 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802CB354 002C82B4 C8 01 00 98 */ lfd f0, 0x98(r1) -/* 802CB358 002C82B8 90 81 00 2C */ stw r4, 0x2c(r1) -/* 802CB35C 002C82BC EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CB360 002C82C0 EF 62 00 32 */ fmuls f27, f2, f0 -/* 802CB364 002C82C4 F3 61 A0 09 */ psq_st f27, 9(r1), 1, qr2 -/* 802CB368 002C82C8 7F E4 FB 78 */ mr r4, r31 -/* 802CB36C 002C82CC 80 DC 00 D4 */ lwz r6, 0xd4(r28) -/* 802CB370 002C82D0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CB374 002C82D4 88 01 00 09 */ lbz r0, 9(r1) -/* 802CB378 002C82D8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802CB37C 002C82DC 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 802CB380 002C82E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CB384 002C82E4 48 09 7D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CB388 002C82E8 88 7C 00 CF */ lbz r3, 0xcf(r28) -/* 802CB38C 002C82EC 3C 00 43 30 */ lis r0, 0x4330 -/* 802CB390 002C82F0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802CB394 002C82F4 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 802CB398 002C82F8 C8 22 C4 28 */ lfd f1, lbl_805AE148@sda21(r2) -/* 802CB39C 002C82FC 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 802CB3A0 002C8300 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802CB3A4 002C8304 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 802CB3A8 002C8308 90 81 00 28 */ stw r4, 0x28(r1) -/* 802CB3AC 002C830C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CB3B0 002C8310 EF E2 00 32 */ fmuls f31, f2, f0 -/* 802CB3B4 002C8314 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 802CB3B8 002C8318 7F E4 FB 78 */ mr r4, r31 -/* 802CB3BC 002C831C 80 DC 00 CC */ lwz r6, 0xcc(r28) -/* 802CB3C0 002C8320 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CB3C4 002C8324 88 01 00 08 */ lbz r0, 8(r1) -/* 802CB3C8 002C8328 38 A1 00 0C */ addi r5, r1, 0xc -/* 802CB3CC 002C832C 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 802CB3D0 002C8330 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CB3D4 002C8334 48 09 7D A5 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CB3D8 002C8338 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802CB3DC 002C833C 3B E1 00 84 */ addi r31, r1, 0x84 -/* 802CB3E0 002C8340 3B A0 00 00 */ li r29, 0 -/* 802CB3E4 002C8344 90 01 00 24 */ stw r0, 0x24(r1) -lbl_802CB3E8: -/* 802CB3E8 002C8348 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CB3EC 002C834C 40 82 00 0C */ bne lbl_802CB3F8 -/* 802CB3F0 002C8350 C3 62 C4 20 */ lfs f27, lbl_805AE140@sda21(r2) -/* 802CB3F4 002C8354 48 00 00 18 */ b lbl_802CB40C -lbl_802CB3F8: -/* 802CB3F8 002C8358 2C 1D 00 01 */ cmpwi r29, 1 -/* 802CB3FC 002C835C 40 82 00 0C */ bne lbl_802CB408 -/* 802CB400 002C8360 FF 60 F0 90 */ fmr f27, f30 -/* 802CB404 002C8364 48 00 00 08 */ b lbl_802CB40C -lbl_802CB408: -/* 802CB408 002C8368 FF 60 E8 90 */ fmr f27, f29 -lbl_802CB40C: -/* 802CB40C 002C836C 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CB410 002C8370 40 82 00 0C */ bne lbl_802CB41C -/* 802CB414 002C8374 FF 80 F0 90 */ fmr f28, f30 -/* 802CB418 002C8378 48 00 00 18 */ b lbl_802CB430 -lbl_802CB41C: -/* 802CB41C 002C837C 2C 1D 00 01 */ cmpwi r29, 1 -/* 802CB420 002C8380 40 82 00 0C */ bne lbl_802CB42C -/* 802CB424 002C8384 FF 80 E8 90 */ fmr f28, f29 -/* 802CB428 002C8388 48 00 00 08 */ b lbl_802CB430 -lbl_802CB42C: -/* 802CB42C 002C838C C3 82 C4 24 */ lfs f28, lbl_805AE144@sda21(r2) -lbl_802CB430: -/* 802CB430 002C8390 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CB434 002C8394 40 82 00 0C */ bne lbl_802CB440 -/* 802CB438 002C8398 3B 61 00 2C */ addi r27, r1, 0x2c -/* 802CB43C 002C839C 48 00 00 14 */ b lbl_802CB450 -lbl_802CB440: -/* 802CB440 002C83A0 2C 1D 00 01 */ cmpwi r29, 1 -/* 802CB444 002C83A4 3B 61 00 24 */ addi r27, r1, 0x24 -/* 802CB448 002C83A8 40 82 00 08 */ bne lbl_802CB450 -/* 802CB44C 002C83AC 3B 61 00 28 */ addi r27, r1, 0x28 -lbl_802CB450: -/* 802CB450 002C83B0 FC 1B E0 00 */ fcmpu cr0, f27, f28 -/* 802CB454 002C83B4 41 82 01 84 */ beq lbl_802CB5D8 -/* 802CB458 002C83B8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 802CB45C 002C83BC 38 60 00 00 */ li r3, 0 -/* 802CB460 002C83C0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 802CB464 002C83C4 48 03 EE 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CB468 002C83C8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802CB46C 002C83CC 38 60 00 01 */ li r3, 1 -/* 802CB470 002C83D0 48 03 EE 49 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CB474 002C83D4 7F C3 F3 78 */ mr r3, r30 -/* 802CB478 002C83D8 38 80 00 00 */ li r4, 0 -/* 802CB47C 002C83DC 38 A0 00 01 */ li r5, 1 -/* 802CB480 002C83E0 48 04 42 BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802CB484 002C83E4 38 60 00 98 */ li r3, 0x98 -/* 802CB488 002C83E8 48 04 01 E1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 802CB48C 002C83EC 7F 63 DB 78 */ mr r3, r27 -/* 802CB490 002C83F0 48 04 00 B9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 802CB494 002C83F4 81 9C 00 D8 */ lwz r12, 0xd8(r28) -/* 802CB498 002C83F8 FC 20 D8 90 */ fmr f1, f27 -/* 802CB49C 002C83FC 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CB4A0 002C8400 7D 89 03 A6 */ mtctr r12 -/* 802CB4A4 002C8404 4E 80 04 21 */ bctrl -/* 802CB4A8 002C8408 C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 802CB4AC 002C840C C0 81 00 64 */ lfs f4, 0x64(r1) -/* 802CB4B0 002C8410 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 802CB4B4 002C8414 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 802CB4B8 002C8418 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 802CB4BC 002C841C C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802CB4C0 002C8420 D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 802CB4C4 002C8424 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 802CB4C8 002C8428 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 802CB4CC 002C842C D0 41 00 84 */ stfs f2, 0x84(r1) -/* 802CB4D0 002C8430 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802CB4D4 002C8434 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 802CB4D8 002C8438 48 00 00 F4 */ b lbl_802CB5CC -lbl_802CB4DC: -/* 802CB4DC 002C843C FC 20 D8 90 */ fmr f1, f27 -/* 802CB4E0 002C8440 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) -/* 802CB4E4 002C8444 48 03 FF 81 */ bl StreamTexcoord__9CGraphicsFff -/* 802CB4E8 002C8448 38 61 00 78 */ addi r3, r1, 0x78 -/* 802CB4EC 002C844C 48 04 00 D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CB4F0 002C8450 FC 20 D8 90 */ fmr f1, f27 -/* 802CB4F4 002C8454 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) -/* 802CB4F8 002C8458 48 03 FF 6D */ bl StreamTexcoord__9CGraphicsFff -/* 802CB4FC 002C845C 7F E3 FB 78 */ mr r3, r31 -/* 802CB500 002C8460 48 04 00 C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CB504 002C8464 C0 1C 00 DC */ lfs f0, 0xdc(r28) -/* 802CB508 002C8468 EF 7B 00 2A */ fadds f27, f27, f0 -/* 802CB50C 002C846C FC 1B E0 40 */ fcmpo cr0, f27, f28 -/* 802CB510 002C8470 4C 41 13 82 */ cror 2, 1, 2 -/* 802CB514 002C8474 40 82 00 74 */ bne lbl_802CB588 -/* 802CB518 002C8478 81 9C 00 D8 */ lwz r12, 0xd8(r28) -/* 802CB51C 002C847C FC 20 E0 90 */ fmr f1, f28 -/* 802CB520 002C8480 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CB524 002C8484 7D 89 03 A6 */ mtctr r12 -/* 802CB528 002C8488 4E 80 04 21 */ bctrl -/* 802CB52C 002C848C 80 E1 00 48 */ lwz r7, 0x48(r1) -/* 802CB530 002C8490 FC 20 E0 90 */ fmr f1, f28 -/* 802CB534 002C8494 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 802CB538 002C8498 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 802CB53C 002C849C 80 81 00 54 */ lwz r4, 0x54(r1) -/* 802CB540 002C84A0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 802CB544 002C84A4 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 802CB548 002C84A8 90 E1 00 78 */ stw r7, 0x78(r1) -/* 802CB54C 002C84AC C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) -/* 802CB550 002C84B0 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 802CB554 002C84B4 90 A1 00 80 */ stw r5, 0x80(r1) -/* 802CB558 002C84B8 90 9F 00 00 */ stw r4, 0(r31) -/* 802CB55C 002C84BC 90 7F 00 04 */ stw r3, 4(r31) -/* 802CB560 002C84C0 90 1F 00 08 */ stw r0, 8(r31) -/* 802CB564 002C84C4 48 03 FF 01 */ bl StreamTexcoord__9CGraphicsFff -/* 802CB568 002C84C8 38 61 00 78 */ addi r3, r1, 0x78 -/* 802CB56C 002C84CC 48 04 00 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CB570 002C84D0 FC 20 E0 90 */ fmr f1, f28 -/* 802CB574 002C84D4 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) -/* 802CB578 002C84D8 48 03 FE ED */ bl StreamTexcoord__9CGraphicsFff -/* 802CB57C 002C84DC 7F E3 FB 78 */ mr r3, r31 -/* 802CB580 002C84E0 48 04 00 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CB584 002C84E4 48 00 00 48 */ b lbl_802CB5CC -lbl_802CB588: -/* 802CB588 002C84E8 81 9C 00 D8 */ lwz r12, 0xd8(r28) -/* 802CB58C 002C84EC FC 20 D8 90 */ fmr f1, f27 -/* 802CB590 002C84F0 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CB594 002C84F4 7D 89 03 A6 */ mtctr r12 -/* 802CB598 002C84F8 4E 80 04 21 */ bctrl -/* 802CB59C 002C84FC 80 E1 00 30 */ lwz r7, 0x30(r1) -/* 802CB5A0 002C8500 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 802CB5A4 002C8504 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 802CB5A8 002C8508 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 802CB5AC 002C850C 80 61 00 40 */ lwz r3, 0x40(r1) -/* 802CB5B0 002C8510 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CB5B4 002C8514 90 E1 00 78 */ stw r7, 0x78(r1) -/* 802CB5B8 002C8518 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 802CB5BC 002C851C 90 A1 00 80 */ stw r5, 0x80(r1) -/* 802CB5C0 002C8520 90 9F 00 00 */ stw r4, 0(r31) -/* 802CB5C4 002C8524 90 7F 00 04 */ stw r3, 4(r31) -/* 802CB5C8 002C8528 90 1F 00 08 */ stw r0, 8(r31) -lbl_802CB5CC: -/* 802CB5CC 002C852C FC 1B E0 40 */ fcmpo cr0, f27, f28 -/* 802CB5D0 002C8530 41 80 FF 0C */ blt lbl_802CB4DC -/* 802CB5D4 002C8534 48 03 FE 3D */ bl StreamEnd__9CGraphicsFv -lbl_802CB5D8: -/* 802CB5D8 002C8538 3B BD 00 01 */ addi r29, r29, 1 -/* 802CB5DC 002C853C 2C 1D 00 03 */ cmpwi r29, 3 -/* 802CB5E0 002C8540 41 80 FE 08 */ blt lbl_802CB3E8 -/* 802CB5E4 002C8544 38 60 00 01 */ li r3, 1 -/* 802CB5E8 002C8548 38 80 00 03 */ li r4, 3 -/* 802CB5EC 002C854C 38 A0 00 01 */ li r5, 1 -/* 802CB5F0 002C8550 48 04 04 A5 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -lbl_802CB5F4: -/* 802CB5F4 002C8554 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802CB5F8 002C8558 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802CB5FC 002C855C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 802CB600 002C8560 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 802CB604 002C8564 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 802CB608 002C8568 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 802CB60C 002C856C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 802CB610 002C8570 CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 802CB614 002C8574 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 802CB618 002C8578 CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 802CB61C 002C857C BB 61 00 AC */ lmw r27, 0xac(r1) -/* 802CB620 002C8580 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802CB624 002C8584 7C 08 03 A6 */ mtlr r0 -/* 802CB628 002C8588 38 21 01 10 */ addi r1, r1, 0x110 -/* 802CB62C 002C858C 4E 80 00 20 */ blr - -.global DownloadBarCoordFunc__16CAuiEnergyBarT01Ff -DownloadBarCoordFunc__16CAuiEnergyBarT01Ff: -/* 802CB630 002C8590 C0 62 C4 30 */ lfs f3, lbl_805AE150@sda21(r2) -/* 802CB634 002C8594 C0 02 C4 34 */ lfs f0, lbl_805AE154@sda21(r2) -/* 802CB638 002C8598 C0 42 C4 20 */ lfs f2, lbl_805AE140@sda21(r2) -/* 802CB63C 002C859C EC 63 00 78 */ fmsubs f3, f3, f1, f0 -/* 802CB640 002C85A0 C0 22 C4 38 */ lfs f1, lbl_805AE158@sda21(r2) -/* 802CB644 002C85A4 C0 02 C4 3C */ lfs f0, lbl_805AE15C@sda21(r2) -/* 802CB648 002C85A8 D0 63 00 00 */ stfs f3, 0(r3) -/* 802CB64C 002C85AC D0 43 00 04 */ stfs f2, 4(r3) -/* 802CB650 002C85B0 D0 23 00 08 */ stfs f1, 8(r3) -/* 802CB654 002C85B4 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 802CB658 002C85B8 D0 43 00 10 */ stfs f2, 0x10(r3) -/* 802CB65C 002C85BC D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CB660 002C85C0 4E 80 00 20 */ blr - -.global Update__16CAuiEnergyBarT01Ff -Update__16CAuiEnergyBarT01Ff: -/* 802CB664 002C85C4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802CB668 002C85C8 7C 08 02 A6 */ mflr r0 -/* 802CB66C 002C85CC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CB670 002C85D0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802CB674 002C85D4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802CB678 002C85D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CB67C 002C85DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CB680 002C85E0 7C 7F 1B 78 */ mr r31, r3 -/* 802CB684 002C85E4 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2) -/* 802CB688 002C85E8 C0 43 01 00 */ lfs f2, 0x100(r3) -/* 802CB68C 002C85EC FF E0 08 90 */ fmr f31, f1 -/* 802CB690 002C85F0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802CB694 002C85F4 40 81 00 2C */ ble lbl_802CB6C0 -/* 802CB698 002C85F8 EC 22 F8 28 */ fsubs f1, f2, f31 -/* 802CB69C 002C85FC C0 0D 9B 1C */ lfs f0, lbl_805A86DC@sda21(r13) -/* 802CB6A0 002C8600 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB6A4 002C8604 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802CB6A8 002C8608 40 80 00 0C */ bge lbl_802CB6B4 -/* 802CB6AC 002C860C 38 6D 9B 1C */ addi r3, r13, lbl_805A86DC@sda21 -/* 802CB6B0 002C8610 48 00 00 08 */ b lbl_802CB6B8 -lbl_802CB6B4: -/* 802CB6B4 002C8614 38 61 00 1C */ addi r3, r1, 0x1c -lbl_802CB6B8: -/* 802CB6B8 002C8618 C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB6BC 002C861C D0 1F 01 00 */ stfs f0, 0x100(r31) -lbl_802CB6C0: -/* 802CB6C0 002C8620 C0 5F 00 F8 */ lfs f2, 0xf8(r31) -/* 802CB6C4 002C8624 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 802CB6C8 002C8628 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802CB6CC 002C862C 40 80 00 9C */ bge lbl_802CB768 -/* 802CB6D0 002C8630 88 1F 00 F1 */ lbz r0, 0xf1(r31) -/* 802CB6D4 002C8634 28 00 00 00 */ cmplwi r0, 0 -/* 802CB6D8 002C8638 41 82 00 60 */ beq lbl_802CB738 -/* 802CB6DC 002C863C C0 3F 00 E4 */ lfs f1, 0xe4(r31) -/* 802CB6E0 002C8640 C0 02 C4 20 */ lfs f0, lbl_805AE140@sda21(r2) -/* 802CB6E4 002C8644 EC 3F 10 7C */ fnmsubs f1, f31, f1, f2 -/* 802CB6E8 002C8648 D0 3F 00 F8 */ stfs f1, 0xf8(r31) -/* 802CB6EC 002C864C C0 3F 00 F8 */ lfs f1, 0xf8(r31) -/* 802CB6F0 002C8650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB6F4 002C8654 40 80 01 08 */ bge lbl_802CB7FC -/* 802CB6F8 002C8658 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 802CB6FC 002C865C EC 21 00 2A */ fadds f1, f1, f0 -/* 802CB700 002C8660 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802CB704 002C8664 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 802CB708 002C8668 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802CB70C 002C866C 40 80 00 0C */ bge lbl_802CB718 -/* 802CB710 002C8670 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CB714 002C8674 48 00 00 08 */ b lbl_802CB71C -lbl_802CB718: -/* 802CB718 002C8678 38 7F 00 F4 */ addi r3, r31, 0xf4 -lbl_802CB71C: -/* 802CB71C 002C867C C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB720 002C8680 38 00 00 00 */ li r0, 0 -/* 802CB724 002C8684 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 802CB728 002C8688 98 1F 00 F1 */ stb r0, 0xf1(r31) -/* 802CB72C 002C868C C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 802CB730 002C8690 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 802CB734 002C8694 48 00 00 C8 */ b lbl_802CB7FC -lbl_802CB738: -/* 802CB738 002C8698 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 802CB73C 002C869C EC 3F 10 3A */ fmadds f1, f31, f0, f2 -/* 802CB740 002C86A0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802CB744 002C86A4 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 802CB748 002C86A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB74C 002C86AC 40 80 00 0C */ bge lbl_802CB758 -/* 802CB750 002C86B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802CB754 002C86B4 48 00 00 08 */ b lbl_802CB75C -lbl_802CB758: -/* 802CB758 002C86B8 38 7F 00 F4 */ addi r3, r31, 0xf4 -lbl_802CB75C: -/* 802CB75C 002C86BC C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB760 002C86C0 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 802CB764 002C86C4 48 00 00 98 */ b lbl_802CB7FC -lbl_802CB768: -/* 802CB768 002C86C8 40 81 00 94 */ ble lbl_802CB7FC -/* 802CB76C 002C86CC 88 1F 00 F1 */ lbz r0, 0xf1(r31) -/* 802CB770 002C86D0 28 00 00 00 */ cmplwi r0, 0 -/* 802CB774 002C86D4 41 82 00 5C */ beq lbl_802CB7D0 -/* 802CB778 002C86D8 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 802CB77C 002C86DC EC 1F 10 3A */ fmadds f0, f31, f0, f2 -/* 802CB780 002C86E0 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 802CB784 002C86E4 C0 3F 00 F8 */ lfs f1, 0xf8(r31) -/* 802CB788 002C86E8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 802CB78C 002C86EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB790 002C86F0 40 81 00 6C */ ble lbl_802CB7FC -/* 802CB794 002C86F4 EC 21 00 28 */ fsubs f1, f1, f0 -/* 802CB798 002C86F8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802CB79C 002C86FC C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 802CB7A0 002C8700 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB7A4 002C8704 40 80 00 0C */ bge lbl_802CB7B0 -/* 802CB7A8 002C8708 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CB7AC 002C870C 48 00 00 08 */ b lbl_802CB7B4 -lbl_802CB7B0: -/* 802CB7B0 002C8710 38 7F 00 F4 */ addi r3, r31, 0xf4 -lbl_802CB7B4: -/* 802CB7B4 002C8714 C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB7B8 002C8718 38 00 00 00 */ li r0, 0 -/* 802CB7BC 002C871C D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 802CB7C0 002C8720 98 1F 00 F1 */ stb r0, 0xf1(r31) -/* 802CB7C4 002C8724 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 802CB7C8 002C8728 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 802CB7CC 002C872C 48 00 00 30 */ b lbl_802CB7FC -lbl_802CB7D0: -/* 802CB7D0 002C8730 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 802CB7D4 002C8734 EC 3F 10 3C */ fnmsubs f1, f31, f0, f2 -/* 802CB7D8 002C8738 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802CB7DC 002C873C C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 802CB7E0 002C8740 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802CB7E4 002C8744 40 80 00 0C */ bge lbl_802CB7F0 -/* 802CB7E8 002C8748 38 61 00 0C */ addi r3, r1, 0xc -/* 802CB7EC 002C874C 48 00 00 08 */ b lbl_802CB7F4 -lbl_802CB7F0: -/* 802CB7F0 002C8750 38 7F 00 F4 */ addi r3, r31, 0xf4 -lbl_802CB7F4: -/* 802CB7F4 002C8754 C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB7F8 002C8758 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -lbl_802CB7FC: -/* 802CB7FC 002C875C C0 5F 00 FC */ lfs f2, 0xfc(r31) -/* 802CB800 002C8760 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 802CB804 002C8764 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802CB808 002C8768 40 80 00 0C */ bge lbl_802CB814 -/* 802CB80C 002C876C D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 802CB810 002C8770 48 00 00 44 */ b lbl_802CB854 -lbl_802CB814: -/* 802CB814 002C8774 40 81 00 40 */ ble lbl_802CB854 -/* 802CB818 002C8778 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) -/* 802CB81C 002C877C C0 1F 01 00 */ lfs f0, 0x100(r31) -/* 802CB820 002C8780 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802CB824 002C8784 40 82 00 30 */ bne lbl_802CB854 -/* 802CB828 002C8788 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 802CB82C 002C878C EC 3F 10 3C */ fnmsubs f1, f31, f0, f2 -/* 802CB830 002C8790 D0 21 00 08 */ stfs f1, 8(r1) -/* 802CB834 002C8794 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 802CB838 002C8798 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802CB83C 002C879C 40 80 00 0C */ bge lbl_802CB848 -/* 802CB840 002C87A0 38 61 00 08 */ addi r3, r1, 8 -/* 802CB844 002C87A4 48 00 00 08 */ b lbl_802CB84C -lbl_802CB848: -/* 802CB848 002C87A8 38 7F 00 F8 */ addi r3, r31, 0xf8 -lbl_802CB84C: -/* 802CB84C 002C87AC C0 03 00 00 */ lfs f0, 0(r3) -/* 802CB850 002C87B0 D0 1F 00 FC */ stfs f0, 0xfc(r31) -lbl_802CB854: -/* 802CB854 002C87B4 88 1F 00 C8 */ lbz r0, 0xc8(r31) -/* 802CB858 002C87B8 28 00 00 00 */ cmplwi r0, 0 -/* 802CB85C 002C87BC 41 82 00 40 */ beq lbl_802CB89C -/* 802CB860 002C87C0 3B DF 00 BC */ addi r30, r31, 0xbc -/* 802CB864 002C87C4 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 802CB868 002C87C8 28 00 00 00 */ cmplwi r0, 0 -/* 802CB86C 002C87CC 40 82 00 30 */ bne lbl_802CB89C -/* 802CB870 002C87D0 88 1E 00 04 */ lbz r0, 4(r30) -/* 802CB874 002C87D4 28 00 00 00 */ cmplwi r0, 0 -/* 802CB878 002C87D8 41 82 00 24 */ beq lbl_802CB89C -/* 802CB87C 002C87DC 80 7E 00 00 */ lwz r3, 0(r30) -/* 802CB880 002C87E0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802CB884 002C87E4 28 00 00 00 */ cmplwi r0, 0 -/* 802CB888 002C87E8 41 82 00 14 */ beq lbl_802CB89C -/* 802CB88C 002C87EC 7F C3 F3 78 */ mr r3, r30 -/* 802CB890 002C87F0 48 07 55 7D */ bl GetObj__6CTokenFv -/* 802CB894 002C87F4 80 03 00 04 */ lwz r0, 4(r3) -/* 802CB898 002C87F8 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CB89C: -/* 802CB89C 002C87FC FC 20 F8 90 */ fmr f1, f31 -/* 802CB8A0 002C8800 7F E3 FB 78 */ mr r3, r31 -/* 802CB8A4 002C8804 4B FF F1 31 */ bl Update__10CGuiWidgetFf -/* 802CB8A8 002C8808 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802CB8AC 002C880C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CB8B0 002C8810 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802CB8B4 002C8814 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CB8B8 002C8818 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CB8BC 002C881C 7C 08 03 A6 */ mtlr r0 -/* 802CB8C0 002C8820 38 21 00 40 */ addi r1, r1, 0x40 -/* 802CB8C4 002C8824 4E 80 00 20 */ blr - -.global SetCurrEnergy__16CAuiEnergyBarT01Ffb -SetCurrEnergy__16CAuiEnergyBarT01Ffb: -/* 802CB8C8 002C8828 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CB8CC 002C882C 7C 08 02 A6 */ mflr r0 -/* 802CB8D0 002C8830 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CB8D4 002C8834 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CB8D8 002C8838 7C 9F 23 78 */ mr r31, r4 -/* 802CB8DC 002C883C 38 81 00 08 */ addi r4, r1, 8 -/* 802CB8E0 002C8840 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CB8E4 002C8844 7C 7E 1B 78 */ mr r30, r3 -/* 802CB8E8 002C8848 38 BE 00 E0 */ addi r5, r30, 0xe0 -/* 802CB8EC 002C884C 38 6D 9B 18 */ addi r3, r13, lbl_805A86D8@sda21 -/* 802CB8F0 002C8850 D0 21 00 08 */ stfs f1, 8(r1) -/* 802CB8F4 002C8854 4B D4 09 C1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 802CB8F8 002C8858 C0 43 00 00 */ lfs f2, 0(r3) -/* 802CB8FC 002C885C C0 1E 00 F4 */ lfs f0, 0xf4(r30) -/* 802CB900 002C8860 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 802CB904 002C8864 41 82 00 4C */ beq lbl_802CB950 -/* 802CB908 002C8868 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 802CB90C 002C886C 28 00 00 00 */ cmplwi r0, 0 -/* 802CB910 002C8870 40 82 00 14 */ bne lbl_802CB924 -/* 802CB914 002C8874 C0 3E 00 F8 */ lfs f1, 0xf8(r30) -/* 802CB918 002C8878 C0 1E 00 FC */ lfs f0, 0xfc(r30) -/* 802CB91C 002C887C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802CB920 002C8880 40 82 00 0C */ bne lbl_802CB92C -lbl_802CB924: -/* 802CB924 002C8884 C0 1E 00 EC */ lfs f0, 0xec(r30) -/* 802CB928 002C8888 D0 1E 01 00 */ stfs f0, 0x100(r30) -lbl_802CB92C: -/* 802CB92C 002C888C 20 1F 00 01 */ subfic r0, r31, 1 -/* 802CB930 002C8890 2C 1F 00 02 */ cmpwi r31, 2 -/* 802CB934 002C8894 7C 00 00 34 */ cntlzw r0, r0 -/* 802CB938 002C8898 54 00 D9 7E */ srwi r0, r0, 5 -/* 802CB93C 002C889C 98 1E 00 F1 */ stb r0, 0xf1(r30) -/* 802CB940 002C88A0 D0 5E 00 F4 */ stfs f2, 0xf4(r30) -/* 802CB944 002C88A4 40 82 00 0C */ bne lbl_802CB950 -/* 802CB948 002C88A8 C0 1E 00 F4 */ lfs f0, 0xf4(r30) -/* 802CB94C 002C88AC D0 1E 00 F8 */ stfs f0, 0xf8(r30) -lbl_802CB950: -/* 802CB950 002C88B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CB954 002C88B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CB958 002C88B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CB95C 002C88BC 7C 08 03 A6 */ mtlr r0 -/* 802CB960 002C88C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CB964 002C88C4 4E 80 00 20 */ blr - -.global SetMaxEnergy__16CAuiEnergyBarT01Ff -SetMaxEnergy__16CAuiEnergyBarT01Ff: -/* 802CB968 002C88C8 D0 23 00 E0 */ stfs f1, 0xe0(r3) -/* 802CB96C 002C88CC C0 23 00 E0 */ lfs f1, 0xe0(r3) -/* 802CB970 002C88D0 C0 03 00 F4 */ lfs f0, 0xf4(r3) -/* 802CB974 002C88D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB978 002C88D8 40 80 00 0C */ bge lbl_802CB984 -/* 802CB97C 002C88DC 38 83 00 E0 */ addi r4, r3, 0xe0 -/* 802CB980 002C88E0 48 00 00 08 */ b lbl_802CB988 -lbl_802CB984: -/* 802CB984 002C88E4 38 83 00 F4 */ addi r4, r3, 0xf4 -lbl_802CB988: -/* 802CB988 002C88E8 C0 04 00 00 */ lfs f0, 0(r4) -/* 802CB98C 002C88EC D0 03 00 F4 */ stfs f0, 0xf4(r3) -/* 802CB990 002C88F0 C0 23 00 E0 */ lfs f1, 0xe0(r3) -/* 802CB994 002C88F4 C0 03 00 F8 */ lfs f0, 0xf8(r3) -/* 802CB998 002C88F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB99C 002C88FC 40 80 00 0C */ bge lbl_802CB9A8 -/* 802CB9A0 002C8900 38 83 00 E0 */ addi r4, r3, 0xe0 -/* 802CB9A4 002C8904 48 00 00 08 */ b lbl_802CB9AC -lbl_802CB9A8: -/* 802CB9A8 002C8908 38 83 00 F8 */ addi r4, r3, 0xf8 -lbl_802CB9AC: -/* 802CB9AC 002C890C C0 04 00 00 */ lfs f0, 0(r4) -/* 802CB9B0 002C8910 D0 03 00 F8 */ stfs f0, 0xf8(r3) -/* 802CB9B4 002C8914 C0 23 00 E0 */ lfs f1, 0xe0(r3) -/* 802CB9B8 002C8918 C0 03 00 FC */ lfs f0, 0xfc(r3) -/* 802CB9BC 002C891C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CB9C0 002C8920 40 80 00 0C */ bge lbl_802CB9CC -/* 802CB9C4 002C8924 38 83 00 E0 */ addi r4, r3, 0xe0 -/* 802CB9C8 002C8928 48 00 00 08 */ b lbl_802CB9D0 -lbl_802CB9CC: -/* 802CB9CC 002C892C 38 83 00 FC */ addi r4, r3, 0xfc -lbl_802CB9D0: -/* 802CB9D0 002C8930 C0 04 00 00 */ lfs f0, 0(r4) -/* 802CB9D4 002C8934 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 802CB9D8 002C8938 4E 80 00 20 */ blr - -.global __dt__16CAuiEnergyBarT01Fv -__dt__16CAuiEnergyBarT01Fv: -/* 802CB9DC 002C893C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CB9E0 002C8940 7C 08 02 A6 */ mflr r0 -/* 802CB9E4 002C8944 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CB9E8 002C8948 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CB9EC 002C894C 7C 9F 23 78 */ mr r31, r4 -/* 802CB9F0 002C8950 93 C1 00 08 */ stw r30, 8(r1) -/* 802CB9F4 002C8954 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CB9F8 002C8958 41 82 00 60 */ beq lbl_802CBA58 -/* 802CB9FC 002C895C 3C 60 80 3F */ lis r3, lbl_803ECA50@ha -/* 802CBA00 002C8960 34 1E 00 BC */ addic. r0, r30, 0xbc -/* 802CBA04 002C8964 38 03 CA 50 */ addi r0, r3, lbl_803ECA50@l -/* 802CBA08 002C8968 90 1E 00 00 */ stw r0, 0(r30) -/* 802CBA0C 002C896C 41 82 00 30 */ beq lbl_802CBA3C -/* 802CBA10 002C8970 88 1E 00 C8 */ lbz r0, 0xc8(r30) -/* 802CBA14 002C8974 28 00 00 00 */ cmplwi r0, 0 -/* 802CBA18 002C8978 41 82 00 1C */ beq lbl_802CBA34 -/* 802CBA1C 002C897C 34 7E 00 BC */ addic. r3, r30, 0xbc -/* 802CBA20 002C8980 41 82 00 14 */ beq lbl_802CBA34 -/* 802CBA24 002C8984 28 03 00 00 */ cmplwi r3, 0 -/* 802CBA28 002C8988 41 82 00 0C */ beq lbl_802CBA34 -/* 802CBA2C 002C898C 38 80 00 00 */ li r4, 0 -/* 802CBA30 002C8990 48 07 54 11 */ bl __dt__6CTokenFv -lbl_802CBA34: -/* 802CBA34 002C8994 38 00 00 00 */ li r0, 0 -/* 802CBA38 002C8998 98 1E 00 C8 */ stb r0, 0xc8(r30) -lbl_802CBA3C: -/* 802CBA3C 002C899C 7F C3 F3 78 */ mr r3, r30 -/* 802CBA40 002C89A0 38 80 00 00 */ li r4, 0 -/* 802CBA44 002C89A4 4B FF F1 71 */ bl __dt__10CGuiWidgetFv -/* 802CBA48 002C89A8 7F E0 07 35 */ extsh. r0, r31 -/* 802CBA4C 002C89AC 40 81 00 0C */ ble lbl_802CBA58 -/* 802CBA50 002C89B0 7F C3 F3 78 */ mr r3, r30 -/* 802CBA54 002C89B4 48 04 9E DD */ bl Free__7CMemoryFPCv -lbl_802CBA58: -/* 802CBA58 002C89B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CBA5C 002C89BC 7F C3 F3 78 */ mr r3, r30 -/* 802CBA60 002C89C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CBA64 002C89C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CBA68 002C89C8 7C 08 03 A6 */ mtlr r0 -/* 802CBA6C 002C89CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CBA70 002C89D0 4E 80 00 20 */ blr - -.global __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi -__ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi: -/* 802CBA74 002C89D4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802CBA78 002C89D8 7C 08 02 A6 */ mflr r0 -/* 802CBA7C 002C89DC 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CBA80 002C89E0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802CBA84 002C89E4 7C 7F 1B 78 */ mr r31, r3 -/* 802CBA88 002C89E8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802CBA8C 002C89EC 7C DE 33 78 */ mr r30, r6 -/* 802CBA90 002C89F0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802CBA94 002C89F4 7C BD 2B 78 */ mr r29, r5 -/* 802CBA98 002C89F8 4B FF F1 8D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802CBA9C 002C89FC 3C 60 80 3F */ lis r3, lbl_803ECA50@ha -/* 802CBAA0 002C8A00 38 00 00 00 */ li r0, 0 -/* 802CBAA4 002C8A04 38 63 CA 50 */ addi r3, r3, lbl_803ECA50@l -/* 802CBAA8 002C8A08 90 7F 00 00 */ stw r3, 0(r31) -/* 802CBAAC 002C8A0C 93 DF 00 B8 */ stw r30, 0xb8(r31) -/* 802CBAB0 002C8A10 98 1F 00 C8 */ stb r0, 0xc8(r31) -/* 802CBAB4 002C8A14 48 07 E4 F9 */ bl White__6CColorFv -/* 802CBAB8 002C8A18 80 03 00 00 */ lwz r0, 0(r3) -/* 802CBABC 002C8A1C 90 1F 00 CC */ stw r0, 0xcc(r31) -/* 802CBAC0 002C8A20 48 07 E4 ED */ bl White__6CColorFv -/* 802CBAC4 002C8A24 80 03 00 00 */ lwz r0, 0(r3) -/* 802CBAC8 002C8A28 90 1F 00 D0 */ stw r0, 0xd0(r31) -/* 802CBACC 002C8A2C 48 07 E4 E1 */ bl White__6CColorFv -/* 802CBAD0 002C8A30 80 63 00 00 */ lwz r3, 0(r3) -/* 802CBAD4 002C8A34 38 00 00 00 */ li r0, 0 -/* 802CBAD8 002C8A38 C0 42 C4 24 */ lfs f2, lbl_805AE144@sda21(r2) -/* 802CBADC 002C8A3C 90 7F 00 D4 */ stw r3, 0xd4(r31) -/* 802CBAE0 002C8A40 C0 22 C4 20 */ lfs f1, lbl_805AE140@sda21(r2) -/* 802CBAE4 002C8A44 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 802CBAE8 002C8A48 C0 02 C4 40 */ lfs f0, lbl_805AE160@sda21(r2) -/* 802CBAEC 002C8A4C D0 5F 00 DC */ stfs f2, 0xdc(r31) -/* 802CBAF0 002C8A50 D0 3F 00 E0 */ stfs f1, 0xe0(r31) -/* 802CBAF4 002C8A54 D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 802CBAF8 002C8A58 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 802CBAFC 002C8A5C D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 802CBB00 002C8A60 98 1F 00 F0 */ stb r0, 0xf0(r31) -/* 802CBB04 002C8A64 98 1F 00 F1 */ stb r0, 0xf1(r31) -/* 802CBB08 002C8A68 D0 3F 00 F4 */ stfs f1, 0xf4(r31) -/* 802CBB0C 002C8A6C D0 3F 00 F8 */ stfs f1, 0xf8(r31) -/* 802CBB10 002C8A70 D0 3F 00 FC */ stfs f1, 0xfc(r31) -/* 802CBB14 002C8A74 D0 3F 01 00 */ stfs f1, 0x100(r31) -/* 802CBB18 002C8A78 80 6D A6 40 */ lwz r3, lbl_805A9200@sda21(r13) -/* 802CBB1C 002C8A7C 80 03 00 08 */ lwz r0, 8(r3) -/* 802CBB20 002C8A80 2C 00 00 02 */ cmpwi r0, 2 -/* 802CBB24 002C8A84 41 82 00 B4 */ beq lbl_802CBBD8 -/* 802CBB28 002C8A88 80 DF 00 B8 */ lwz r6, 0xb8(r31) -/* 802CBB2C 002C8A8C 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 802CBB30 002C8A90 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 802CBB34 002C8A94 7F A4 EB 78 */ mr r4, r29 -/* 802CBB38 002C8A98 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CBB3C 002C8A9C 38 61 00 08 */ addi r3, r1, 8 -/* 802CBB40 002C8AA0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802CBB44 002C8AA4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802CBB48 002C8AA8 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CBB4C 002C8AAC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802CBB50 002C8AB0 7D 89 03 A6 */ mtctr r12 -/* 802CBB54 002C8AB4 4E 80 04 21 */ bctrl -/* 802CBB58 002C8AB8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CBB5C 002C8ABC 38 81 00 08 */ addi r4, r1, 8 -/* 802CBB60 002C8AC0 48 07 53 49 */ bl __ct__6CTokenFRC6CToken -/* 802CBB64 002C8AC4 38 00 00 00 */ li r0, 0 -/* 802CBB68 002C8AC8 90 01 00 20 */ stw r0, 0x20(r1) -/* 802CBB6C 002C8ACC 88 1F 00 C8 */ lbz r0, 0xc8(r31) -/* 802CBB70 002C8AD0 28 00 00 00 */ cmplwi r0, 0 -/* 802CBB74 002C8AD4 40 82 00 2C */ bne lbl_802CBBA0 -/* 802CBB78 002C8AD8 37 DF 00 BC */ addic. r30, r31, 0xbc -/* 802CBB7C 002C8ADC 41 82 00 18 */ beq lbl_802CBB94 -/* 802CBB80 002C8AE0 7F C3 F3 78 */ mr r3, r30 -/* 802CBB84 002C8AE4 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CBB88 002C8AE8 48 07 53 21 */ bl __ct__6CTokenFRC6CToken -/* 802CBB8C 002C8AEC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802CBB90 002C8AF0 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CBB94: -/* 802CBB94 002C8AF4 38 00 00 01 */ li r0, 1 -/* 802CBB98 002C8AF8 98 1F 00 C8 */ stb r0, 0xc8(r31) -/* 802CBB9C 002C8AFC 48 00 00 1C */ b lbl_802CBBB8 -lbl_802CBBA0: -/* 802CBBA0 002C8B00 3B DF 00 BC */ addi r30, r31, 0xbc -/* 802CBBA4 002C8B04 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CBBA8 002C8B08 7F C3 F3 78 */ mr r3, r30 -/* 802CBBAC 002C8B0C 48 07 51 19 */ bl __as__6CTokenFRC6CToken -/* 802CBBB0 002C8B10 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802CBBB4 002C8B14 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CBBB8: -/* 802CBBB8 002C8B18 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CBBBC 002C8B1C 38 80 00 00 */ li r4, 0 -/* 802CBBC0 002C8B20 48 07 52 81 */ bl __dt__6CTokenFv -/* 802CBBC4 002C8B24 38 61 00 08 */ addi r3, r1, 8 -/* 802CBBC8 002C8B28 38 80 FF FF */ li r4, -1 -/* 802CBBCC 002C8B2C 48 07 52 75 */ bl __dt__6CTokenFv -/* 802CBBD0 002C8B30 38 7F 00 BC */ addi r3, r31, 0xbc -/* 802CBBD4 002C8B34 48 07 51 B1 */ bl Lock__6CTokenFv -lbl_802CBBD8: -/* 802CBBD8 002C8B38 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CBBDC 002C8B3C 7F E3 FB 78 */ mr r3, r31 -/* 802CBBE0 002C8B40 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802CBBE4 002C8B44 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802CBBE8 002C8B48 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 802CBBEC 002C8B4C 7C 08 03 A6 */ mtlr r0 -/* 802CBBF0 002C8B50 38 21 00 40 */ addi r1, r1, 0x40 -/* 802CBBF4 002C8B54 4E 80 00 20 */ blr - -.global Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb -Create__16CAuiEnergyBarT01FP9CGuiFrameR12CInputStreamb: -/* 802CBBF8 002C8B58 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802CBBFC 002C8B5C 7C 08 02 A6 */ mflr r0 -/* 802CBC00 002C8B60 90 01 00 54 */ stw r0, 0x54(r1) -/* 802CBC04 002C8B64 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 802CBC08 002C8B68 7C 7D 1B 78 */ mr r29, r3 -/* 802CBC0C 002C8B6C 7C 9E 23 78 */ mr r30, r4 -/* 802CBC10 002C8B70 7C BF 2B 78 */ mr r31, r5 -/* 802CBC14 002C8B74 38 61 00 08 */ addi r3, r1, 8 -/* 802CBC18 002C8B78 7F A4 EB 78 */ mr r4, r29 -/* 802CBC1C 002C8B7C 7F C5 F3 78 */ mr r5, r30 -/* 802CBC20 002C8B80 4B FF F1 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802CBC24 002C8B84 83 81 00 08 */ lwz r28, 8(r1) -/* 802CBC28 002C8B88 7F C3 F3 78 */ mr r3, r30 -/* 802CBC2C 002C8B8C 89 81 00 0C */ lbz r12, 0xc(r1) -/* 802CBC30 002C8B90 A9 61 00 0E */ lha r11, 0xe(r1) -/* 802CBC34 002C8B94 A9 41 00 10 */ lha r10, 0x10(r1) -/* 802CBC38 002C8B98 89 21 00 12 */ lbz r9, 0x12(r1) -/* 802CBC3C 002C8B9C 89 01 00 13 */ lbz r8, 0x13(r1) -/* 802CBC40 002C8BA0 88 E1 00 14 */ lbz r7, 0x14(r1) -/* 802CBC44 002C8BA4 88 C1 00 15 */ lbz r6, 0x15(r1) -/* 802CBC48 002C8BA8 88 A1 00 16 */ lbz r5, 0x16(r1) -/* 802CBC4C 002C8BAC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802CBC50 002C8BB0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802CBC54 002C8BB4 93 81 00 20 */ stw r28, 0x20(r1) -/* 802CBC58 002C8BB8 99 81 00 24 */ stb r12, 0x24(r1) -/* 802CBC5C 002C8BBC B1 61 00 26 */ sth r11, 0x26(r1) -/* 802CBC60 002C8BC0 B1 41 00 28 */ sth r10, 0x28(r1) -/* 802CBC64 002C8BC4 99 21 00 2A */ stb r9, 0x2a(r1) -/* 802CBC68 002C8BC8 99 01 00 2B */ stb r8, 0x2b(r1) -/* 802CBC6C 002C8BCC 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 802CBC70 002C8BD0 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 802CBC74 002C8BD4 98 A1 00 2E */ stb r5, 0x2e(r1) -/* 802CBC78 002C8BD8 90 81 00 30 */ stw r4, 0x30(r1) -/* 802CBC7C 002C8BDC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CBC80 002C8BE0 48 07 30 05 */ bl ReadLong__12CInputStreamFv -/* 802CBC84 002C8BE4 3C 80 80 3D */ lis r4, lbl_803D69B0@ha -/* 802CBC88 002C8BE8 7C 7C 1B 78 */ mr r28, r3 -/* 802CBC8C 002C8BEC 38 84 69 B0 */ addi r4, r4, lbl_803D69B0@l -/* 802CBC90 002C8BF0 38 60 01 04 */ li r3, 0x104 -/* 802CBC94 002C8BF4 38 A0 00 00 */ li r5, 0 -/* 802CBC98 002C8BF8 38 84 00 0A */ addi r4, r4, 0xa -/* 802CBC9C 002C8BFC 48 04 9B D1 */ bl __nw__FUlPCcPCc -/* 802CBCA0 002C8C00 7C 7B 1B 79 */ or. r27, r3, r3 -/* 802CBCA4 002C8C04 41 82 00 18 */ beq lbl_802CBCBC -/* 802CBCA8 002C8C08 7F E5 FB 78 */ mr r5, r31 -/* 802CBCAC 002C8C0C 7F 86 E3 78 */ mr r6, r28 -/* 802CBCB0 002C8C10 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CBCB4 002C8C14 4B FF FD C1 */ bl __ct__16CAuiEnergyBarT01FRCQ210CGuiWidget15CGuiWidgetParmsUi -/* 802CBCB8 002C8C18 7C 7B 1B 78 */ mr r27, r3 -lbl_802CBCBC: -/* 802CBCBC 002C8C1C 7F 63 DB 78 */ mr r3, r27 -/* 802CBCC0 002C8C20 7F A4 EB 78 */ mr r4, r29 -/* 802CBCC4 002C8C24 7F C5 F3 78 */ mr r5, r30 -/* 802CBCC8 002C8C28 38 C1 00 20 */ addi r6, r1, 0x20 -/* 802CBCCC 002C8C2C 4B FF ED BD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802CBCD0 002C8C30 7F 63 DB 78 */ mr r3, r27 -/* 802CBCD4 002C8C34 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 802CBCD8 002C8C38 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802CBCDC 002C8C3C 7C 08 03 A6 */ mtlr r0 -/* 802CBCE0 002C8C40 38 21 00 50 */ addi r1, r1, 0x50 -/* 802CBCE4 002C8C44 4E 80 00 20 */ blr - -.global __dt__13CAuiImagePaneFv -__dt__13CAuiImagePaneFv: -/* 802CBCE8 002C8C48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CBCEC 002C8C4C 7C 08 02 A6 */ mflr r0 -/* 802CBCF0 002C8C50 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CBCF4 002C8C54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CBCF8 002C8C58 7C 9F 23 78 */ mr r31, r4 -/* 802CBCFC 002C8C5C 93 C1 00 08 */ stw r30, 8(r1) -/* 802CBD00 002C8C60 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CBD04 002C8C64 41 82 01 18 */ beq lbl_802CBE1C -/* 802CBD08 002C8C68 3C 60 80 3F */ lis r3, lbl_803ECA90@ha -/* 802CBD0C 002C8C6C 34 1E 01 14 */ addic. r0, r30, 0x114 -/* 802CBD10 002C8C70 38 03 CA 90 */ addi r0, r3, lbl_803ECA90@l -/* 802CBD14 002C8C74 90 1E 00 00 */ stw r0, 0(r30) -/* 802CBD18 002C8C78 41 82 00 58 */ beq lbl_802CBD70 -/* 802CBD1C 002C8C7C 80 BE 01 14 */ lwz r5, 0x114(r30) -/* 802CBD20 002C8C80 38 60 00 00 */ li r3, 0 -/* 802CBD24 002C8C84 2C 05 00 00 */ cmpwi r5, 0 -/* 802CBD28 002C8C88 40 81 00 40 */ ble lbl_802CBD68 -/* 802CBD2C 002C8C8C 2C 05 00 08 */ cmpwi r5, 8 -/* 802CBD30 002C8C90 38 85 FF F8 */ addi r4, r5, -8 -/* 802CBD34 002C8C94 40 81 00 20 */ ble lbl_802CBD54 -/* 802CBD38 002C8C98 38 04 00 07 */ addi r0, r4, 7 -/* 802CBD3C 002C8C9C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CBD40 002C8CA0 7C 09 03 A6 */ mtctr r0 -/* 802CBD44 002C8CA4 2C 04 00 00 */ cmpwi r4, 0 -/* 802CBD48 002C8CA8 40 81 00 0C */ ble lbl_802CBD54 -lbl_802CBD4C: -/* 802CBD4C 002C8CAC 38 63 00 08 */ addi r3, r3, 8 -/* 802CBD50 002C8CB0 42 00 FF FC */ bdnz lbl_802CBD4C -lbl_802CBD54: -/* 802CBD54 002C8CB4 7C 03 28 50 */ subf r0, r3, r5 -/* 802CBD58 002C8CB8 7C 09 03 A6 */ mtctr r0 -/* 802CBD5C 002C8CBC 7C 03 28 00 */ cmpw r3, r5 -/* 802CBD60 002C8CC0 40 80 00 08 */ bge lbl_802CBD68 -lbl_802CBD64: -/* 802CBD64 002C8CC4 42 00 00 00 */ bdnz lbl_802CBD64 -lbl_802CBD68: -/* 802CBD68 002C8CC8 38 00 00 00 */ li r0, 0 -/* 802CBD6C 002C8CCC 90 1E 01 14 */ stw r0, 0x114(r30) -lbl_802CBD70: -/* 802CBD70 002C8CD0 34 1E 00 E0 */ addic. r0, r30, 0xe0 -/* 802CBD74 002C8CD4 41 82 00 58 */ beq lbl_802CBDCC -/* 802CBD78 002C8CD8 80 BE 00 E0 */ lwz r5, 0xe0(r30) -/* 802CBD7C 002C8CDC 38 60 00 00 */ li r3, 0 -/* 802CBD80 002C8CE0 2C 05 00 00 */ cmpwi r5, 0 -/* 802CBD84 002C8CE4 40 81 00 40 */ ble lbl_802CBDC4 -/* 802CBD88 002C8CE8 2C 05 00 08 */ cmpwi r5, 8 -/* 802CBD8C 002C8CEC 38 85 FF F8 */ addi r4, r5, -8 -/* 802CBD90 002C8CF0 40 81 00 20 */ ble lbl_802CBDB0 -/* 802CBD94 002C8CF4 38 04 00 07 */ addi r0, r4, 7 -/* 802CBD98 002C8CF8 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CBD9C 002C8CFC 7C 09 03 A6 */ mtctr r0 -/* 802CBDA0 002C8D00 2C 04 00 00 */ cmpwi r4, 0 -/* 802CBDA4 002C8D04 40 81 00 0C */ ble lbl_802CBDB0 -lbl_802CBDA8: -/* 802CBDA8 002C8D08 38 63 00 08 */ addi r3, r3, 8 -/* 802CBDAC 002C8D0C 42 00 FF FC */ bdnz lbl_802CBDA8 -lbl_802CBDB0: -/* 802CBDB0 002C8D10 7C 03 28 50 */ subf r0, r3, r5 -/* 802CBDB4 002C8D14 7C 09 03 A6 */ mtctr r0 -/* 802CBDB8 002C8D18 7C 03 28 00 */ cmpw r3, r5 -/* 802CBDBC 002C8D1C 40 80 00 08 */ bge lbl_802CBDC4 -lbl_802CBDC0: -/* 802CBDC0 002C8D20 42 00 00 00 */ bdnz lbl_802CBDC0 -lbl_802CBDC4: -/* 802CBDC4 002C8D24 38 00 00 00 */ li r0, 0 -/* 802CBDC8 002C8D28 90 1E 00 E0 */ stw r0, 0xe0(r30) -lbl_802CBDCC: -/* 802CBDCC 002C8D2C 34 1E 00 B8 */ addic. r0, r30, 0xb8 -/* 802CBDD0 002C8D30 41 82 00 30 */ beq lbl_802CBE00 -/* 802CBDD4 002C8D34 88 1E 00 C4 */ lbz r0, 0xc4(r30) -/* 802CBDD8 002C8D38 28 00 00 00 */ cmplwi r0, 0 -/* 802CBDDC 002C8D3C 41 82 00 1C */ beq lbl_802CBDF8 -/* 802CBDE0 002C8D40 34 7E 00 B8 */ addic. r3, r30, 0xb8 -/* 802CBDE4 002C8D44 41 82 00 14 */ beq lbl_802CBDF8 -/* 802CBDE8 002C8D48 28 03 00 00 */ cmplwi r3, 0 -/* 802CBDEC 002C8D4C 41 82 00 0C */ beq lbl_802CBDF8 -/* 802CBDF0 002C8D50 38 80 00 00 */ li r4, 0 -/* 802CBDF4 002C8D54 48 07 50 4D */ bl __dt__6CTokenFv -lbl_802CBDF8: -/* 802CBDF8 002C8D58 38 00 00 00 */ li r0, 0 -/* 802CBDFC 002C8D5C 98 1E 00 C4 */ stb r0, 0xc4(r30) -lbl_802CBE00: -/* 802CBE00 002C8D60 7F C3 F3 78 */ mr r3, r30 -/* 802CBE04 002C8D64 38 80 00 00 */ li r4, 0 -/* 802CBE08 002C8D68 4B FF ED AD */ bl __dt__10CGuiWidgetFv -/* 802CBE0C 002C8D6C 7F E0 07 35 */ extsh. r0, r31 -/* 802CBE10 002C8D70 40 81 00 0C */ ble lbl_802CBE1C -/* 802CBE14 002C8D74 7F C3 F3 78 */ mr r3, r30 -/* 802CBE18 002C8D78 48 04 9B 19 */ bl Free__7CMemoryFPCv -lbl_802CBE1C: -/* 802CBE1C 002C8D7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CBE20 002C8D80 7F C3 F3 78 */ mr r3, r30 -/* 802CBE24 002C8D84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CBE28 002C8D88 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CBE2C 002C8D8C 7C 08 03 A6 */ mtlr r0 -/* 802CBE30 002C8D90 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CBE34 002C8D94 4E 80 00 20 */ blr - -.global GetWidgetTypeID__13CAuiImagePaneCFv -GetWidgetTypeID__13CAuiImagePaneCFv: -/* 802CBE38 002C8D98 3C 60 49 4D */ lis r3, 0x494D4750@ha -/* 802CBE3C 002C8D9C 38 63 47 50 */ addi r3, r3, 0x494D4750@l -/* 802CBE40 002C8DA0 4E 80 00 20 */ blr - -.global GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv -GetIsFinishedLoadingWidgetSpecific__13CAuiImagePaneCFv: -/* 802CBE44 002C8DA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CBE48 002C8DA8 7C 08 02 A6 */ mflr r0 -/* 802CBE4C 002C8DAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CBE50 002C8DB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CBE54 002C8DB4 88 03 00 C4 */ lbz r0, 0xc4(r3) -/* 802CBE58 002C8DB8 28 00 00 00 */ cmplwi r0, 0 -/* 802CBE5C 002C8DBC 40 82 00 0C */ bne lbl_802CBE68 -/* 802CBE60 002C8DC0 38 60 00 01 */ li r3, 1 -/* 802CBE64 002C8DC4 48 00 00 54 */ b lbl_802CBEB8 -lbl_802CBE68: -/* 802CBE68 002C8DC8 3B E3 00 B8 */ addi r31, r3, 0xb8 -/* 802CBE6C 002C8DCC 80 03 00 C0 */ lwz r0, 0xc0(r3) -/* 802CBE70 002C8DD0 28 00 00 00 */ cmplwi r0, 0 -/* 802CBE74 002C8DD4 41 82 00 0C */ beq lbl_802CBE80 -/* 802CBE78 002C8DD8 38 60 00 01 */ li r3, 1 -/* 802CBE7C 002C8DDC 48 00 00 3C */ b lbl_802CBEB8 -lbl_802CBE80: -/* 802CBE80 002C8DE0 88 1F 00 04 */ lbz r0, 4(r31) -/* 802CBE84 002C8DE4 28 00 00 00 */ cmplwi r0, 0 -/* 802CBE88 002C8DE8 41 82 00 2C */ beq lbl_802CBEB4 -/* 802CBE8C 002C8DEC 80 7F 00 00 */ lwz r3, 0(r31) -/* 802CBE90 002C8DF0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802CBE94 002C8DF4 28 00 00 00 */ cmplwi r0, 0 -/* 802CBE98 002C8DF8 41 82 00 1C */ beq lbl_802CBEB4 -/* 802CBE9C 002C8DFC 7F E3 FB 78 */ mr r3, r31 -/* 802CBEA0 002C8E00 48 07 4F 6D */ bl GetObj__6CTokenFv -/* 802CBEA4 002C8E04 80 03 00 04 */ lwz r0, 4(r3) -/* 802CBEA8 002C8E08 38 60 00 01 */ li r3, 1 -/* 802CBEAC 002C8E0C 90 1F 00 08 */ stw r0, 8(r31) -/* 802CBEB0 002C8E10 48 00 00 08 */ b lbl_802CBEB8 -lbl_802CBEB4: -/* 802CBEB4 002C8E14 38 60 00 00 */ li r3, 0 -lbl_802CBEB8: -/* 802CBEB8 002C8E18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CBEBC 002C8E1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CBEC0 002C8E20 7C 08 03 A6 */ mtlr r0 -/* 802CBEC4 002C8E24 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CBEC8 002C8E28 4E 80 00 20 */ blr - -.global SetTextureID0__13CAuiImagePaneFUib -SetTextureID0__13CAuiImagePaneFUib: -/* 802CBECC 002C8E2C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802CBED0 002C8E30 7C 08 02 A6 */ mflr r0 -/* 802CBED4 002C8E34 28 05 00 00 */ cmplwi r5, 0 -/* 802CBED8 002C8E38 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CBEDC 002C8E3C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802CBEE0 002C8E40 7C 7F 1B 78 */ mr r31, r3 -/* 802CBEE4 002C8E44 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802CBEE8 002C8E48 90 83 00 C8 */ stw r4, 0xc8(r3) -/* 802CBEEC 002C8E4C 41 82 01 80 */ beq lbl_802CC06C -/* 802CBEF0 002C8E50 80 9F 00 C8 */ lwz r4, 0xc8(r31) -/* 802CBEF4 002C8E54 3C 04 00 01 */ addis r0, r4, 1 -/* 802CBEF8 002C8E58 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CBEFC 002C8E5C 41 82 00 B4 */ beq lbl_802CBFB0 -/* 802CBF00 002C8E60 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 802CBF04 002C8E64 90 81 00 14 */ stw r4, 0x14(r1) -/* 802CBF08 002C8E68 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 802CBF0C 002C8E6C 7C A4 2B 78 */ mr r4, r5 -/* 802CBF10 002C8E70 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CBF14 002C8E74 38 61 00 08 */ addi r3, r1, 8 -/* 802CBF18 002C8E78 38 A1 00 10 */ addi r5, r1, 0x10 -/* 802CBF1C 002C8E7C 81 84 00 00 */ lwz r12, 0(r4) -/* 802CBF20 002C8E80 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802CBF24 002C8E84 7D 89 03 A6 */ mtctr r12 -/* 802CBF28 002C8E88 4E 80 04 21 */ bctrl -/* 802CBF2C 002C8E8C 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CBF30 002C8E90 38 81 00 08 */ addi r4, r1, 8 -/* 802CBF34 002C8E94 48 07 4F 75 */ bl __ct__6CTokenFRC6CToken -/* 802CBF38 002C8E98 38 00 00 00 */ li r0, 0 -/* 802CBF3C 002C8E9C 90 01 00 30 */ stw r0, 0x30(r1) -/* 802CBF40 002C8EA0 88 1F 00 C4 */ lbz r0, 0xc4(r31) -/* 802CBF44 002C8EA4 28 00 00 00 */ cmplwi r0, 0 -/* 802CBF48 002C8EA8 40 82 00 2C */ bne lbl_802CBF74 -/* 802CBF4C 002C8EAC 37 DF 00 B8 */ addic. r30, r31, 0xb8 -/* 802CBF50 002C8EB0 41 82 00 18 */ beq lbl_802CBF68 -/* 802CBF54 002C8EB4 7F C3 F3 78 */ mr r3, r30 -/* 802CBF58 002C8EB8 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CBF5C 002C8EBC 48 07 4F 4D */ bl __ct__6CTokenFRC6CToken -/* 802CBF60 002C8EC0 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802CBF64 002C8EC4 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CBF68: -/* 802CBF68 002C8EC8 38 00 00 01 */ li r0, 1 -/* 802CBF6C 002C8ECC 98 1F 00 C4 */ stb r0, 0xc4(r31) -/* 802CBF70 002C8ED0 48 00 00 1C */ b lbl_802CBF8C -lbl_802CBF74: -/* 802CBF74 002C8ED4 3B DF 00 B8 */ addi r30, r31, 0xb8 -/* 802CBF78 002C8ED8 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CBF7C 002C8EDC 7F C3 F3 78 */ mr r3, r30 -/* 802CBF80 002C8EE0 48 07 4D 45 */ bl __as__6CTokenFRC6CToken -/* 802CBF84 002C8EE4 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802CBF88 002C8EE8 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CBF8C: -/* 802CBF8C 002C8EEC 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CBF90 002C8EF0 38 80 00 00 */ li r4, 0 -/* 802CBF94 002C8EF4 48 07 4E AD */ bl __dt__6CTokenFv -/* 802CBF98 002C8EF8 38 61 00 08 */ addi r3, r1, 8 -/* 802CBF9C 002C8EFC 38 80 FF FF */ li r4, -1 -/* 802CBFA0 002C8F00 48 07 4E A1 */ bl __dt__6CTokenFv -/* 802CBFA4 002C8F04 38 7F 00 B8 */ addi r3, r31, 0xb8 -/* 802CBFA8 002C8F08 48 07 4D DD */ bl Lock__6CTokenFv -/* 802CBFAC 002C8F0C 48 00 00 C0 */ b lbl_802CC06C -lbl_802CBFB0: -/* 802CBFB0 002C8F10 3B DF 00 B8 */ addi r30, r31, 0xb8 -/* 802CBFB4 002C8F14 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CBFB8 002C8F18 38 00 00 00 */ li r0, 0 -/* 802CBFBC 002C8F1C 7C 1E 20 40 */ cmplw r30, r4 -/* 802CBFC0 002C8F20 98 01 00 24 */ stb r0, 0x24(r1) -/* 802CBFC4 002C8F24 41 82 00 7C */ beq lbl_802CC040 -/* 802CBFC8 002C8F28 28 00 00 00 */ cmplwi r0, 0 -/* 802CBFCC 002C8F2C 41 82 00 48 */ beq lbl_802CC014 -/* 802CBFD0 002C8F30 88 1F 00 C4 */ lbz r0, 0xc4(r31) -/* 802CBFD4 002C8F34 28 00 00 00 */ cmplwi r0, 0 -/* 802CBFD8 002C8F38 40 82 00 28 */ bne lbl_802CC000 -/* 802CBFDC 002C8F3C 37 DF 00 B8 */ addic. r30, r31, 0xb8 -/* 802CBFE0 002C8F40 41 82 00 14 */ beq lbl_802CBFF4 -/* 802CBFE4 002C8F44 7F C3 F3 78 */ mr r3, r30 -/* 802CBFE8 002C8F48 48 07 4E C1 */ bl __ct__6CTokenFRC6CToken -/* 802CBFEC 002C8F4C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802CBFF0 002C8F50 90 1E 00 08 */ stw r0, 8(r30) -lbl_802CBFF4: -/* 802CBFF4 002C8F54 38 00 00 01 */ li r0, 1 -/* 802CBFF8 002C8F58 98 1F 00 C4 */ stb r0, 0xc4(r31) -/* 802CBFFC 002C8F5C 48 00 00 44 */ b lbl_802CC040 -lbl_802CC000: -/* 802CC000 002C8F60 7F C3 F3 78 */ mr r3, r30 -/* 802CC004 002C8F64 48 07 4C C1 */ bl __as__6CTokenFRC6CToken -/* 802CC008 002C8F68 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802CC00C 002C8F6C 90 1E 00 08 */ stw r0, 8(r30) -/* 802CC010 002C8F70 48 00 00 30 */ b lbl_802CC040 -lbl_802CC014: -/* 802CC014 002C8F74 88 1F 00 C4 */ lbz r0, 0xc4(r31) -/* 802CC018 002C8F78 28 00 00 00 */ cmplwi r0, 0 -/* 802CC01C 002C8F7C 41 82 00 1C */ beq lbl_802CC038 -/* 802CC020 002C8F80 34 7F 00 B8 */ addic. r3, r31, 0xb8 -/* 802CC024 002C8F84 41 82 00 14 */ beq lbl_802CC038 -/* 802CC028 002C8F88 28 03 00 00 */ cmplwi r3, 0 -/* 802CC02C 002C8F8C 41 82 00 0C */ beq lbl_802CC038 -/* 802CC030 002C8F90 38 80 00 00 */ li r4, 0 -/* 802CC034 002C8F94 48 07 4E 0D */ bl __dt__6CTokenFv -lbl_802CC038: -/* 802CC038 002C8F98 38 00 00 00 */ li r0, 0 -/* 802CC03C 002C8F9C 98 1F 00 C4 */ stb r0, 0xc4(r31) -lbl_802CC040: -/* 802CC040 002C8FA0 88 01 00 24 */ lbz r0, 0x24(r1) -/* 802CC044 002C8FA4 28 00 00 00 */ cmplwi r0, 0 -/* 802CC048 002C8FA8 41 82 00 1C */ beq lbl_802CC064 -/* 802CC04C 002C8FAC 34 61 00 18 */ addic. r3, r1, 0x18 -/* 802CC050 002C8FB0 41 82 00 14 */ beq lbl_802CC064 -/* 802CC054 002C8FB4 28 03 00 00 */ cmplwi r3, 0 -/* 802CC058 002C8FB8 41 82 00 0C */ beq lbl_802CC064 -/* 802CC05C 002C8FBC 38 80 00 00 */ li r4, 0 -/* 802CC060 002C8FC0 48 07 4D E1 */ bl __dt__6CTokenFv -lbl_802CC064: -/* 802CC064 002C8FC4 38 00 00 00 */ li r0, 0 -/* 802CC068 002C8FC8 98 01 00 24 */ stb r0, 0x24(r1) -lbl_802CC06C: -/* 802CC06C 002C8FCC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CC070 002C8FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802CC074 002C8FD4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802CC078 002C8FD8 7C 08 03 A6 */ mtlr r0 -/* 802CC07C 002C8FDC 38 21 00 40 */ addi r1, r1, 0x40 -/* 802CC080 002C8FE0 4E 80 00 20 */ blr - -.global DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb: -/* 802CC084 002C8FE4 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 802CC088 002C8FE8 7C 08 02 A6 */ mflr r0 -/* 802CC08C 002C8FEC 90 01 01 54 */ stw r0, 0x154(r1) -/* 802CC090 002C8FF0 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 802CC094 002C8FF4 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 802CC098 002C8FF8 DB C1 01 30 */ stfd f30, 0x130(r1) -/* 802CC09C 002C8FFC F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 802CC0A0 002C9000 DB A1 01 20 */ stfd f29, 0x120(r1) -/* 802CC0A4 002C9004 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 802CC0A8 002C9008 DB 81 01 10 */ stfd f28, 0x110(r1) -/* 802CC0AC 002C900C F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 -/* 802CC0B0 002C9010 DB 61 01 00 */ stfd f27, 0x100(r1) -/* 802CC0B4 002C9014 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 -/* 802CC0B8 002C9018 BF 61 00 EC */ stmw r27, 0xec(r1) -/* 802CC0BC 002C901C 89 04 00 03 */ lbz r8, 3(r4) -/* 802CC0C0 002C9020 3C 00 43 30 */ lis r0, 0x4330 -/* 802CC0C4 002C9024 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 802CC0C8 002C9028 FF E0 08 90 */ fmr f31, f1 -/* 802CC0CC 002C902C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) -/* 802CC0D0 002C9030 7C 7C 1B 78 */ mr r28, r3 -/* 802CC0D4 002C9034 91 01 00 A4 */ stw r8, 0xa4(r1) -/* 802CC0D8 002C9038 7C BD 2B 78 */ mr r29, r5 -/* 802CC0DC 002C903C 7C DF 33 78 */ mr r31, r6 -/* 802CC0E0 002C9040 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 802CC0E4 002C9044 7C FE 3B 78 */ mr r30, r7 -/* 802CC0E8 002C9048 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CC0EC 002C904C EC 5F 00 32 */ fmuls f2, f31, f0 -/* 802CC0F0 002C9050 F0 41 A0 08 */ psq_st f2, 8(r1), 1, qr2 -/* 802CC0F4 002C9054 38 00 00 00 */ li r0, 0 -/* 802CC0F8 002C9058 80 C4 00 00 */ lwz r6, 0(r4) -/* 802CC0FC 002C905C 38 7C 01 38 */ addi r3, r28, 0x138 -/* 802CC100 002C9060 88 A1 00 08 */ lbz r5, 8(r1) -/* 802CC104 002C9064 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 -/* 802CC108 002C9068 50 C5 00 2E */ rlwimi r5, r6, 0, 0, 0x17 -/* 802CC10C 002C906C 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC110 002C9070 90 A1 00 24 */ stw r5, 0x24(r1) -/* 802CC114 002C9074 48 04 7D F5 */ bl __eq__FRC9CVector2fRC9CVector2f -/* 802CC118 002C9078 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CC11C 002C907C 40 82 01 D4 */ bne lbl_802CC2F0 -/* 802CC120 002C9080 80 BC 00 C0 */ lwz r5, 0xc0(r28) -/* 802CC124 002C9084 3C 80 43 30 */ lis r4, 0x4330 -/* 802CC128 002C9088 90 81 00 A0 */ stw r4, 0xa0(r1) -/* 802CC12C 002C908C 38 61 00 58 */ addi r3, r1, 0x58 -/* 802CC130 002C9090 A8 05 00 04 */ lha r0, 4(r5) -/* 802CC134 002C9094 A8 C5 00 06 */ lha r6, 6(r5) -/* 802CC138 002C9098 6C 05 80 00 */ xoris r5, r0, 0x8000 -/* 802CC13C 002C909C C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) -/* 802CC140 002C90A0 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 802CC144 002C90A4 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 802CC148 002C90A8 C0 BC 01 38 */ lfs f5, 0x138(r28) -/* 802CC14C 002C90AC C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 802CC150 002C90B0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802CC154 002C90B4 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802CC158 002C90B8 C0 DC 01 3C */ lfs f6, 0x13c(r28) -/* 802CC15C 002C90BC 90 81 00 B0 */ stw r4, 0xb0(r1) -/* 802CC160 002C90C0 EC 60 28 24 */ fdivs f3, f0, f5 -/* 802CC164 002C90C4 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 802CC168 002C90C8 90 A1 00 C4 */ stw r5, 0xc4(r1) -/* 802CC16C 002C90CC 90 81 00 C0 */ stw r4, 0xc0(r1) -/* 802CC170 002C90D0 C8 21 00 C0 */ lfd f1, 0xc0(r1) -/* 802CC174 002C90D4 90 01 00 CC */ stw r0, 0xcc(r1) -/* 802CC178 002C90D8 EC 40 20 28 */ fsubs f2, f0, f4 -/* 802CC17C 002C90DC 90 81 00 C8 */ stw r4, 0xc8(r1) -/* 802CC180 002C90E0 FC 60 18 1E */ fctiwz f3, f3 -/* 802CC184 002C90E4 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802CC188 002C90E8 EC 21 20 28 */ fsubs f1, f1, f4 -/* 802CC18C 002C90EC EC 42 30 24 */ fdivs f2, f2, f6 -/* 802CC190 002C90F0 D8 61 00 A8 */ stfd f3, 0xa8(r1) -/* 802CC194 002C90F4 80 A1 00 AC */ lwz r5, 0xac(r1) -/* 802CC198 002C90F8 90 81 00 D0 */ stw r4, 0xd0(r1) -/* 802CC19C 002C90FC 7C 1F 2B D6 */ divw r0, r31, r5 -/* 802CC1A0 002C9100 90 81 00 D8 */ stw r4, 0xd8(r1) -/* 802CC1A4 002C9104 FC 40 10 1E */ fctiwz f2, f2 -/* 802CC1A8 002C9108 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802CC1AC 002C910C EC 65 08 24 */ fdivs f3, f5, f1 -/* 802CC1B0 002C9110 D8 41 00 B8 */ stfd f2, 0xb8(r1) -/* 802CC1B4 002C9114 80 C1 00 BC */ lwz r6, 0xbc(r1) -/* 802CC1B8 002C9118 7C 80 29 D6 */ mullw r4, r0, r5 -/* 802CC1BC 002C911C 7C 1F 33 D6 */ divw r0, r31, r6 -/* 802CC1C0 002C9120 7C 84 F8 50 */ subf r4, r4, r31 -/* 802CC1C4 002C9124 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 802CC1C8 002C9128 EC A6 00 24 */ fdivs f5, f6, f0 -/* 802CC1CC 002C912C 90 81 00 D4 */ stw r4, 0xd4(r1) -/* 802CC1D0 002C9130 C8 21 00 D0 */ lfd f1, 0xd0(r1) -/* 802CC1D4 002C9134 7C 00 30 50 */ subf r0, r0, r6 -/* 802CC1D8 002C9138 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802CC1DC 002C913C 90 01 00 DC */ stw r0, 0xdc(r1) -/* 802CC1E0 002C9140 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802CC1E4 002C9144 EC 21 20 28 */ fsubs f1, f1, f4 -/* 802CC1E8 002C9148 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802CC1EC 002C914C EF C3 00 72 */ fmuls f30, f3, f1 -/* 802CC1F0 002C9150 EF A5 00 32 */ fmuls f29, f5, f0 -/* 802CC1F4 002C9154 FC 20 F0 90 */ fmr f1, f30 -/* 802CC1F8 002C9158 EF 9E 18 2A */ fadds f28, f30, f3 -/* 802CC1FC 002C915C FC 40 E8 90 */ fmr f2, f29 -/* 802CC200 002C9160 EF 7D 28 28 */ fsubs f27, f29, f5 -/* 802CC204 002C9164 48 04 7F FD */ bl __ct__9CVector2fFff -/* 802CC208 002C9168 80 01 00 78 */ lwz r0, 0x78(r1) -/* 802CC20C 002C916C 3B E1 00 7C */ addi r31, r1, 0x7c -/* 802CC210 002C9170 54 00 18 38 */ slwi r0, r0, 3 -/* 802CC214 002C9174 7C 7F 02 15 */ add. r3, r31, r0 -/* 802CC218 002C9178 41 82 00 14 */ beq lbl_802CC22C -/* 802CC21C 002C917C C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802CC220 002C9180 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802CC224 002C9184 D0 23 00 00 */ stfs f1, 0(r3) -/* 802CC228 002C9188 D0 03 00 04 */ stfs f0, 4(r3) -lbl_802CC22C: -/* 802CC22C 002C918C 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802CC230 002C9190 FC 20 F0 90 */ fmr f1, f30 -/* 802CC234 002C9194 FC 40 D8 90 */ fmr f2, f27 -/* 802CC238 002C9198 38 61 00 50 */ addi r3, r1, 0x50 -/* 802CC23C 002C919C 38 04 00 01 */ addi r0, r4, 1 -/* 802CC240 002C91A0 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC244 002C91A4 48 04 7F BD */ bl __ct__9CVector2fFff -/* 802CC248 002C91A8 80 01 00 78 */ lwz r0, 0x78(r1) -/* 802CC24C 002C91AC 54 00 18 38 */ slwi r0, r0, 3 -/* 802CC250 002C91B0 7C 7F 02 15 */ add. r3, r31, r0 -/* 802CC254 002C91B4 41 82 00 14 */ beq lbl_802CC268 -/* 802CC258 002C91B8 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802CC25C 002C91BC C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802CC260 002C91C0 D0 23 00 00 */ stfs f1, 0(r3) -/* 802CC264 002C91C4 D0 03 00 04 */ stfs f0, 4(r3) -lbl_802CC268: -/* 802CC268 002C91C8 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802CC26C 002C91CC FC 20 E0 90 */ fmr f1, f28 -/* 802CC270 002C91D0 FC 40 E8 90 */ fmr f2, f29 -/* 802CC274 002C91D4 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CC278 002C91D8 38 04 00 01 */ addi r0, r4, 1 -/* 802CC27C 002C91DC 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC280 002C91E0 48 04 7F 81 */ bl __ct__9CVector2fFff -/* 802CC284 002C91E4 80 01 00 78 */ lwz r0, 0x78(r1) -/* 802CC288 002C91E8 54 00 18 38 */ slwi r0, r0, 3 -/* 802CC28C 002C91EC 7C 7F 02 15 */ add. r3, r31, r0 -/* 802CC290 002C91F0 41 82 00 14 */ beq lbl_802CC2A4 -/* 802CC294 002C91F4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802CC298 002C91F8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802CC29C 002C91FC D0 23 00 00 */ stfs f1, 0(r3) -/* 802CC2A0 002C9200 D0 03 00 04 */ stfs f0, 4(r3) -lbl_802CC2A4: -/* 802CC2A4 002C9204 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802CC2A8 002C9208 FC 20 E0 90 */ fmr f1, f28 -/* 802CC2AC 002C920C FC 40 D8 90 */ fmr f2, f27 -/* 802CC2B0 002C9210 38 61 00 40 */ addi r3, r1, 0x40 -/* 802CC2B4 002C9214 38 04 00 01 */ addi r0, r4, 1 -/* 802CC2B8 002C9218 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC2BC 002C921C 48 04 7F 45 */ bl __ct__9CVector2fFff -/* 802CC2C0 002C9220 80 01 00 78 */ lwz r0, 0x78(r1) -/* 802CC2C4 002C9224 54 00 18 38 */ slwi r0, r0, 3 -/* 802CC2C8 002C9228 7C 7F 02 15 */ add. r3, r31, r0 -/* 802CC2CC 002C922C 41 82 00 14 */ beq lbl_802CC2E0 -/* 802CC2D0 002C9230 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 802CC2D4 002C9234 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802CC2D8 002C9238 D0 23 00 00 */ stfs f1, 0(r3) -/* 802CC2DC 002C923C D0 03 00 04 */ stfs f0, 4(r3) -lbl_802CC2E0: -/* 802CC2E0 002C9240 80 61 00 78 */ lwz r3, 0x78(r1) -/* 802CC2E4 002C9244 38 03 00 01 */ addi r0, r3, 1 -/* 802CC2E8 002C9248 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC2EC 002C924C 48 00 00 08 */ b lbl_802CC2F4 -lbl_802CC2F0: -/* 802CC2F0 002C9250 3B FC 01 18 */ addi r31, r28, 0x118 -lbl_802CC2F4: -/* 802CC2F4 002C9254 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802CC2F8 002C9258 41 82 00 DC */ beq lbl_802CC3D4 -/* 802CC2FC 002C925C 3C 80 80 5A */ lis r4, lbl_805A5FEC@ha -/* 802CC300 002C9260 38 60 00 00 */ li r3, 0 -/* 802CC304 002C9264 38 84 5F EC */ addi r4, r4, lbl_805A5FEC@l -/* 802CC308 002C9268 48 03 DF B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CC30C 002C926C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802CC310 002C9270 38 60 00 01 */ li r3, 1 -/* 802CC314 002C9274 48 03 DF A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CC318 002C9278 7F A3 EB 78 */ mr r3, r29 -/* 802CC31C 002C927C 38 80 00 00 */ li r4, 0 -/* 802CC320 002C9280 38 A0 00 01 */ li r5, 1 -/* 802CC324 002C9284 48 04 34 19 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 802CC328 002C9288 38 60 00 98 */ li r3, 0x98 -/* 802CC32C 002C928C 48 03 F3 3D */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 802CC330 002C9290 38 61 00 24 */ addi r3, r1, 0x24 -/* 802CC334 002C9294 48 03 F2 15 */ bl StreamColor__9CGraphicsFRC6CColor -/* 802CC338 002C9298 7F FD FB 78 */ mr r29, r31 -/* 802CC33C 002C929C 3B DC 00 E4 */ addi r30, r28, 0xe4 -/* 802CC340 002C92A0 3B E0 00 00 */ li r31, 0 -lbl_802CC344: -/* 802CC344 002C92A4 7F A4 EB 78 */ mr r4, r29 -/* 802CC348 002C92A8 38 61 00 38 */ addi r3, r1, 0x38 -/* 802CC34C 002C92AC 38 BC 00 D0 */ addi r5, r28, 0xd0 -/* 802CC350 002C92B0 48 04 7C 21 */ bl __pl__FRC9CVector2fRC9CVector2f -/* 802CC354 002C92B4 38 61 00 38 */ addi r3, r1, 0x38 -/* 802CC358 002C92B8 48 03 F1 3D */ bl StreamTexcoord__9CGraphicsFRC9CVector2f -/* 802CC35C 002C92BC 7F C3 F3 78 */ mr r3, r30 -/* 802CC360 002C92C0 48 03 F2 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CC364 002C92C4 3B FF 00 01 */ addi r31, r31, 1 -/* 802CC368 002C92C8 3B DE 00 0C */ addi r30, r30, 0xc -/* 802CC36C 002C92CC 2C 1F 00 04 */ cmpwi r31, 4 -/* 802CC370 002C92D0 3B BD 00 08 */ addi r29, r29, 8 -/* 802CC374 002C92D4 41 80 FF D0 */ blt lbl_802CC344 -/* 802CC378 002C92D8 48 03 F0 99 */ bl StreamEnd__9CGraphicsFv -/* 802CC37C 002C92DC 80 A1 00 78 */ lwz r5, 0x78(r1) -/* 802CC380 002C92E0 38 60 00 00 */ li r3, 0 -/* 802CC384 002C92E4 2C 05 00 00 */ cmpwi r5, 0 -/* 802CC388 002C92E8 40 81 00 40 */ ble lbl_802CC3C8 -/* 802CC38C 002C92EC 2C 05 00 08 */ cmpwi r5, 8 -/* 802CC390 002C92F0 38 85 FF F8 */ addi r4, r5, -8 -/* 802CC394 002C92F4 40 81 00 20 */ ble lbl_802CC3B4 -/* 802CC398 002C92F8 38 04 00 07 */ addi r0, r4, 7 -/* 802CC39C 002C92FC 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CC3A0 002C9300 7C 09 03 A6 */ mtctr r0 -/* 802CC3A4 002C9304 2C 04 00 00 */ cmpwi r4, 0 -/* 802CC3A8 002C9308 40 81 00 0C */ ble lbl_802CC3B4 -lbl_802CC3AC: -/* 802CC3AC 002C930C 38 63 00 08 */ addi r3, r3, 8 -/* 802CC3B0 002C9310 42 00 FF FC */ bdnz lbl_802CC3AC -lbl_802CC3B4: -/* 802CC3B4 002C9314 7C 03 28 50 */ subf r0, r3, r5 -/* 802CC3B8 002C9318 7C 09 03 A6 */ mtctr r0 -/* 802CC3BC 002C931C 7C 03 28 00 */ cmpw r3, r5 -/* 802CC3C0 002C9320 40 80 00 08 */ bge lbl_802CC3C8 -lbl_802CC3C4: -/* 802CC3C4 002C9324 42 00 00 00 */ bdnz lbl_802CC3C4 -lbl_802CC3C8: -/* 802CC3C8 002C9328 38 00 00 00 */ li r0, 0 -/* 802CC3CC 002C932C 90 01 00 78 */ stw r0, 0x78(r1) -/* 802CC3D0 002C9330 48 00 04 28 */ b lbl_802CC7F8 -lbl_802CC3D4: -/* 802CC3D4 002C9334 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CC3D8 002C9338 C0 3C 01 4C */ lfs f1, 0x14c(r28) -/* 802CC3DC 002C933C 88 7D 00 08 */ lbz r3, 8(r29) -/* 802CC3E0 002C9340 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802CC3E4 002C9344 7C 63 07 74 */ extsb r3, r3 -/* 802CC3E8 002C9348 40 82 00 10 */ bne lbl_802CC3F8 -/* 802CC3EC 002C934C C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) -/* 802CC3F0 002C9350 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 802CC3F4 002C9354 41 82 00 0C */ beq lbl_802CC400 -lbl_802CC3F8: -/* 802CC3F8 002C9358 2C 03 00 01 */ cmpwi r3, 1 -/* 802CC3FC 002C935C 40 82 00 8C */ bne lbl_802CC488 -lbl_802CC400: -/* 802CC400 002C9360 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 802CC404 002C9364 38 60 00 00 */ li r3, 0 -/* 802CC408 002C9368 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 802CC40C 002C936C 48 03 DE AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CC410 002C9370 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 802CC414 002C9374 38 60 00 01 */ li r3, 1 -/* 802CC418 002C9378 48 03 DE A1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 802CC41C 002C937C 7F A3 EB 78 */ mr r3, r29 -/* 802CC420 002C9380 38 80 00 00 */ li r4, 0 -/* 802CC424 002C9384 38 A0 00 00 */ li r5, 0 -/* 802CC428 002C9388 38 C0 00 01 */ li r6, 1 -/* 802CC42C 002C938C 48 04 2F 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode -/* 802CC430 002C9390 38 60 00 98 */ li r3, 0x98 -/* 802CC434 002C9394 48 03 F2 35 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 802CC438 002C9398 38 61 00 24 */ addi r3, r1, 0x24 -/* 802CC43C 002C939C 48 03 F1 0D */ bl StreamColor__9CGraphicsFRC6CColor -/* 802CC440 002C93A0 7F FD FB 78 */ mr r29, r31 -/* 802CC444 002C93A4 3B DC 00 E4 */ addi r30, r28, 0xe4 -/* 802CC448 002C93A8 3B E0 00 00 */ li r31, 0 -lbl_802CC44C: -/* 802CC44C 002C93AC 7F A4 EB 78 */ mr r4, r29 -/* 802CC450 002C93B0 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CC454 002C93B4 38 BC 00 D0 */ addi r5, r28, 0xd0 -/* 802CC458 002C93B8 48 04 7B 19 */ bl __pl__FRC9CVector2fRC9CVector2f -/* 802CC45C 002C93BC 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CC460 002C93C0 48 03 F0 35 */ bl StreamTexcoord__9CGraphicsFRC9CVector2f -/* 802CC464 002C93C4 7F C3 F3 78 */ mr r3, r30 -/* 802CC468 002C93C8 48 03 F1 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 802CC46C 002C93CC 3B FF 00 01 */ addi r31, r31, 1 -/* 802CC470 002C93D0 3B DE 00 0C */ addi r30, r30, 0xc -/* 802CC474 002C93D4 2C 1F 00 04 */ cmpwi r31, 4 -/* 802CC478 002C93D8 3B BD 00 08 */ addi r29, r29, 8 -/* 802CC47C 002C93DC 41 80 FF D0 */ blt lbl_802CC44C -/* 802CC480 002C93E0 48 03 EF 91 */ bl StreamEnd__9CGraphicsFv -/* 802CC484 002C93E4 48 00 03 20 */ b lbl_802CC7A4 -lbl_802CC488: -/* 802CC488 002C93E8 C0 62 C4 4C */ lfs f3, lbl_805AE16C@sda21(r2) -/* 802CC48C 002C93EC 3C 00 43 30 */ lis r0, 0x4330 -/* 802CC490 002C93F0 38 A3 FF FF */ addi r5, r3, -1 -/* 802CC494 002C93F4 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 802CC498 002C93F8 EC 03 08 28 */ fsubs f0, f3, f1 -/* 802CC49C 002C93FC 6C A3 80 00 */ xoris r3, r5, 0x8000 -/* 802CC4A0 002C9400 90 61 00 DC */ stw r3, 0xdc(r1) -/* 802CC4A4 002C9404 C8 22 C4 58 */ lfd f1, lbl_805AE178@sda21(r2) -/* 802CC4A8 002C9408 EC 80 07 F2 */ fmuls f4, f0, f31 -/* 802CC4AC 002C940C C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802CC4B0 002C9410 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 802CC4B4 002C9414 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CC4B8 002C9418 EC 44 01 32 */ fmuls f2, f4, f4 -/* 802CC4BC 002C941C EC 44 18 BC */ fnmsubs f2, f4, f2, f3 -/* 802CC4C0 002C9420 EC 62 00 32 */ fmuls f3, f2, f0 -/* 802CC4C4 002C9424 FC 00 18 1E */ fctiwz f0, f3 -/* 802CC4C8 002C9428 D8 01 00 D0 */ stfd f0, 0xd0(r1) -/* 802CC4CC 002C942C 80 81 00 D4 */ lwz r4, 0xd4(r1) -/* 802CC4D0 002C9430 7C 04 2B D6 */ divw r0, r4, r5 -/* 802CC4D4 002C9434 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802CC4D8 002C9438 90 01 00 CC */ stw r0, 0xcc(r1) -/* 802CC4DC 002C943C C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802CC4E0 002C9440 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CC4E4 002C9444 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 802CC4E8 002C9448 40 82 00 0C */ bne lbl_802CC4F4 -/* 802CC4EC 002C944C 7C 9E 23 78 */ mr r30, r4 -/* 802CC4F0 002C9450 48 00 00 08 */ b lbl_802CC4F8 -lbl_802CC4F4: -/* 802CC4F4 002C9454 3B C4 00 01 */ addi r30, r4, 1 -lbl_802CC4F8: -/* 802CC4F8 002C9458 6C 83 80 00 */ xoris r3, r4, 0x8000 -/* 802CC4FC 002C945C 3C 00 43 30 */ lis r0, 0x4330 -/* 802CC500 002C9460 90 61 00 C4 */ stw r3, 0xc4(r1) -/* 802CC504 002C9464 7F A3 EB 78 */ mr r3, r29 -/* 802CC508 002C9468 C8 42 C4 58 */ lfd f2, lbl_805AE178@sda21(r2) -/* 802CC50C 002C946C 38 A0 00 00 */ li r5, 0 -/* 802CC510 002C9470 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 802CC514 002C9474 38 C0 00 01 */ li r6, 1 -/* 802CC518 002C9478 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) -/* 802CC51C 002C947C C8 21 00 C0 */ lfd f1, 0xc0(r1) -/* 802CC520 002C9480 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802CC524 002C9484 EF 63 08 28 */ fsubs f27, f3, f1 -/* 802CC528 002C9488 EF 80 D8 28 */ fsubs f28, f0, f27 -/* 802CC52C 002C948C 48 04 2E 6D */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode -/* 802CC530 002C9490 7F A3 EB 78 */ mr r3, r29 -/* 802CC534 002C9494 7F C4 F3 78 */ mr r4, r30 -/* 802CC538 002C9498 38 A0 00 01 */ li r5, 1 -/* 802CC53C 002C949C 38 C0 00 01 */ li r6, 1 -/* 802CC540 002C94A0 48 04 2E 59 */ bl LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode -/* 802CC544 002C94A4 3C 80 80 3D */ lis r4, lbl_803D69C8@ha -/* 802CC548 002C94A8 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CC54C 002C94AC 39 24 69 C8 */ addi r9, r4, lbl_803D69C8@l -/* 802CC550 002C94B0 81 09 00 00 */ lwz r8, 0(r9) -/* 802CC554 002C94B4 80 E9 00 04 */ lwz r7, 4(r9) -/* 802CC558 002C94B8 80 C9 00 08 */ lwz r6, 8(r9) -/* 802CC55C 002C94BC 80 A9 00 0C */ lwz r5, 0xc(r9) -/* 802CC560 002C94C0 80 89 00 10 */ lwz r4, 0x10(r9) -/* 802CC564 002C94C4 80 09 00 14 */ lwz r0, 0x14(r9) -/* 802CC568 002C94C8 91 01 00 60 */ stw r8, 0x60(r1) -/* 802CC56C 002C94CC 90 E1 00 64 */ stw r7, 0x64(r1) -/* 802CC570 002C94D0 90 C1 00 68 */ stw r6, 0x68(r1) -/* 802CC574 002C94D4 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 802CC578 002C94D8 90 81 00 70 */ stw r4, 0x70(r1) -/* 802CC57C 002C94DC 90 01 00 74 */ stw r0, 0x74(r1) -/* 802CC580 002C94E0 48 03 B8 A9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 802CC584 002C94E4 38 60 00 00 */ li r3, 0 -/* 802CC588 002C94E8 48 03 C8 C9 */ bl SetNumChans__3CGXFUc -/* 802CC58C 002C94EC 38 60 00 02 */ li r3, 2 -/* 802CC590 002C94F0 48 03 C8 85 */ bl SetNumTexGens__3CGXFUc -/* 802CC594 002C94F4 38 60 00 02 */ li r3, 2 -/* 802CC598 002C94F8 48 03 C6 F9 */ bl SetNumTevStages__3CGXFUc -/* 802CC59C 002C94FC 3B A0 00 00 */ li r29, 0 -lbl_802CC5A0: -/* 802CC5A0 002C9500 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CC5A4 002C9504 38 E0 00 00 */ li r7, 0 -/* 802CC5A8 002C9508 40 82 00 08 */ bne lbl_802CC5B0 -/* 802CC5AC 002C950C 38 E0 00 0F */ li r7, 0xf -lbl_802CC5B0: -/* 802CC5B0 002C9510 7F A3 EB 78 */ mr r3, r29 -/* 802CC5B4 002C9514 38 80 00 0F */ li r4, 0xf -/* 802CC5B8 002C9518 38 A0 00 08 */ li r5, 8 -/* 802CC5BC 002C951C 38 C0 00 0E */ li r6, 0xe -/* 802CC5C0 002C9520 48 03 C6 2D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 802CC5C4 002C9524 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CC5C8 002C9528 7F A3 EB 78 */ mr r3, r29 -/* 802CC5CC 002C952C 38 80 00 07 */ li r4, 7 -/* 802CC5D0 002C9530 38 A0 00 04 */ li r5, 4 -/* 802CC5D4 002C9534 38 C0 00 06 */ li r6, 6 -/* 802CC5D8 002C9538 38 E0 00 00 */ li r7, 0 -/* 802CC5DC 002C953C 40 82 00 08 */ bne lbl_802CC5E4 -/* 802CC5E0 002C9540 38 E0 00 07 */ li r7, 7 -lbl_802CC5E4: -/* 802CC5E4 002C9544 48 03 C5 B1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 802CC5E8 002C9548 7F A3 EB 78 */ mr r3, r29 -/* 802CC5EC 002C954C 38 80 00 00 */ li r4, 0 -/* 802CC5F0 002C9550 38 A0 00 00 */ li r5, 0 -/* 802CC5F4 002C9554 38 C0 00 00 */ li r6, 0 -/* 802CC5F8 002C9558 38 E0 00 01 */ li r7, 1 -/* 802CC5FC 002C955C 39 00 00 00 */ li r8, 0 -/* 802CC600 002C9560 48 03 C5 39 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802CC604 002C9564 7F A3 EB 78 */ mr r3, r29 -/* 802CC608 002C9568 38 80 00 00 */ li r4, 0 -/* 802CC60C 002C956C 38 A0 00 00 */ li r5, 0 -/* 802CC610 002C9570 38 C0 00 00 */ li r6, 0 -/* 802CC614 002C9574 38 E0 00 01 */ li r7, 1 -/* 802CC618 002C9578 39 00 00 00 */ li r8, 0 -/* 802CC61C 002C957C 48 03 C4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 802CC620 002C9580 3B BD 00 01 */ addi r29, r29, 1 -/* 802CC624 002C9584 2C 1D 00 02 */ cmpwi r29, 2 -/* 802CC628 002C9588 41 80 FF 78 */ blt lbl_802CC5A0 -/* 802CC62C 002C958C 38 60 00 00 */ li r3, 0 -/* 802CC630 002C9590 38 80 00 1C */ li r4, 0x1c -/* 802CC634 002C9594 48 03 C3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802CC638 002C9598 38 60 00 00 */ li r3, 0 -/* 802CC63C 002C959C 38 80 00 0C */ li r4, 0xc -/* 802CC640 002C95A0 48 03 C3 A1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802CC644 002C95A4 38 60 00 01 */ li r3, 1 -/* 802CC648 002C95A8 38 80 00 1D */ li r4, 0x1d -/* 802CC64C 002C95AC 48 03 C3 51 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 802CC650 002C95B0 38 60 00 01 */ li r3, 1 -/* 802CC654 002C95B4 38 80 00 0D */ li r4, 0xd -/* 802CC658 002C95B8 48 03 C3 89 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 802CC65C 002C95BC FC 20 E0 90 */ fmr f1, f28 -/* 802CC660 002C95C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 802CC664 002C95C4 FC 40 E0 90 */ fmr f2, f28 -/* 802CC668 002C95C8 FC 60 E0 90 */ fmr f3, f28 -/* 802CC66C 002C95CC FC 80 E0 90 */ fmr f4, f28 -/* 802CC670 002C95D0 48 09 6D 7D */ bl __ct__6CColorFffff -/* 802CC674 002C95D4 7C 65 1B 78 */ mr r5, r3 -/* 802CC678 002C95D8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CC67C 002C95DC 38 81 00 24 */ addi r4, r1, 0x24 -/* 802CC680 002C95E0 48 09 6A F9 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CC684 002C95E4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 802CC688 002C95E8 FC 20 D8 90 */ fmr f1, f27 -/* 802CC68C 002C95EC FC 40 D8 90 */ fmr f2, f27 -/* 802CC690 002C95F0 38 61 00 0C */ addi r3, r1, 0xc -/* 802CC694 002C95F4 FC 60 D8 90 */ fmr f3, f27 -/* 802CC698 002C95F8 90 01 00 20 */ stw r0, 0x20(r1) -/* 802CC69C 002C95FC FC 80 D8 90 */ fmr f4, f27 -/* 802CC6A0 002C9600 48 09 6D 4D */ bl __ct__6CColorFffff -/* 802CC6A4 002C9604 7C 65 1B 78 */ mr r5, r3 -/* 802CC6A8 002C9608 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CC6AC 002C960C 38 81 00 24 */ addi r4, r1, 0x24 -/* 802CC6B0 002C9610 48 09 6A C9 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CC6B4 002C9614 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802CC6B8 002C9618 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CC6BC 002C961C 38 60 00 00 */ li r3, 0 -/* 802CC6C0 002C9620 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802CC6C4 002C9624 48 03 C5 81 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802CC6C8 002C9628 38 81 00 1C */ addi r4, r1, 0x1c -/* 802CC6CC 002C962C 38 60 00 01 */ li r3, 1 -/* 802CC6D0 002C9630 48 03 C5 75 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 802CC6D4 002C9634 38 60 00 00 */ li r3, 0 -/* 802CC6D8 002C9638 38 80 00 00 */ li r4, 0 -/* 802CC6DC 002C963C 38 A0 00 00 */ li r5, 0 -/* 802CC6E0 002C9640 38 C0 00 FF */ li r6, 0xff -/* 802CC6E4 002C9644 48 03 C2 69 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802CC6E8 002C9648 38 60 00 01 */ li r3, 1 -/* 802CC6EC 002C964C 38 80 00 01 */ li r4, 1 -/* 802CC6F0 002C9650 38 A0 00 01 */ li r5, 1 -/* 802CC6F4 002C9654 38 C0 00 FF */ li r6, 0xff -/* 802CC6F8 002C9658 48 03 C2 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 802CC6FC 002C965C 38 60 00 00 */ li r3, 0 -/* 802CC700 002C9660 38 80 00 01 */ li r4, 1 -/* 802CC704 002C9664 38 A0 00 04 */ li r5, 4 -/* 802CC708 002C9668 38 C0 00 3C */ li r6, 0x3c -/* 802CC70C 002C966C 38 E0 00 00 */ li r7, 0 -/* 802CC710 002C9670 39 00 00 7D */ li r8, 0x7d -/* 802CC714 002C9674 48 03 BF B9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802CC718 002C9678 38 60 00 01 */ li r3, 1 -/* 802CC71C 002C967C 38 80 00 01 */ li r4, 1 -/* 802CC720 002C9680 38 A0 00 04 */ li r5, 4 -/* 802CC724 002C9684 38 C0 00 3C */ li r6, 0x3c -/* 802CC728 002C9688 38 E0 00 00 */ li r7, 0 -/* 802CC72C 002C968C 39 00 00 7D */ li r8, 0x7d -/* 802CC730 002C9690 48 03 BF 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 802CC734 002C9694 38 60 00 98 */ li r3, 0x98 -/* 802CC738 002C9698 38 80 00 00 */ li r4, 0 -/* 802CC73C 002C969C 38 A0 00 04 */ li r5, 4 -/* 802CC740 002C96A0 48 03 BE 45 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 802CC744 002C96A4 7F FE FB 78 */ mr r30, r31 -/* 802CC748 002C96A8 3B FC 00 E4 */ addi r31, r28, 0xe4 -/* 802CC74C 002C96AC 3B 60 00 00 */ li r27, 0 -/* 802CC750 002C96B0 3F A0 CC 01 */ lis r29, 0xcc01 -lbl_802CC754: -/* 802CC754 002C96B4 7F C4 F3 78 */ mr r4, r30 -/* 802CC758 002C96B8 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CC75C 002C96BC 38 BC 00 D0 */ addi r5, r28, 0xd0 -/* 802CC760 002C96C0 48 04 78 11 */ bl __pl__FRC9CVector2fRC9CVector2f -/* 802CC764 002C96C4 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 802CC768 002C96C8 3B 7B 00 01 */ addi r27, r27, 1 -/* 802CC76C 002C96CC C0 3F 00 08 */ lfs f1, 8(r31) -/* 802CC770 002C96D0 2C 1B 00 04 */ cmpwi r27, 4 -/* 802CC774 002C96D4 C0 5F 00 04 */ lfs f2, 4(r31) -/* 802CC778 002C96D8 3B DE 00 08 */ addi r30, r30, 8 -/* 802CC77C 002C96DC C0 1F 00 00 */ lfs f0, 0(r31) -/* 802CC780 002C96E0 3B FF 00 0C */ addi r31, r31, 0xc -/* 802CC784 002C96E4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) -/* 802CC788 002C96E8 D0 5D 80 00 */ stfs f2, 0xCC008000@l(r29) -/* 802CC78C 002C96EC D0 3D 80 00 */ stfs f1, 0xCC008000@l(r29) -/* 802CC790 002C96F0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802CC794 002C96F4 D0 1D 80 00 */ stfs f0, 0xCC008000@l(r29) -/* 802CC798 002C96F8 D0 7D 80 00 */ stfs f3, 0xCC008000@l(r29) -/* 802CC79C 002C96FC 41 80 FF B8 */ blt lbl_802CC754 -/* 802CC7A0 002C9700 48 03 BD E1 */ bl End__3CGXFv -lbl_802CC7A4: -/* 802CC7A4 002C9704 80 A1 00 78 */ lwz r5, 0x78(r1) -/* 802CC7A8 002C9708 38 60 00 00 */ li r3, 0 -/* 802CC7AC 002C970C 2C 05 00 00 */ cmpwi r5, 0 -/* 802CC7B0 002C9710 40 81 00 40 */ ble lbl_802CC7F0 -/* 802CC7B4 002C9714 2C 05 00 08 */ cmpwi r5, 8 -/* 802CC7B8 002C9718 38 85 FF F8 */ addi r4, r5, -8 -/* 802CC7BC 002C971C 40 81 00 20 */ ble lbl_802CC7DC -/* 802CC7C0 002C9720 38 04 00 07 */ addi r0, r4, 7 -/* 802CC7C4 002C9724 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CC7C8 002C9728 7C 09 03 A6 */ mtctr r0 -/* 802CC7CC 002C972C 2C 04 00 00 */ cmpwi r4, 0 -/* 802CC7D0 002C9730 40 81 00 0C */ ble lbl_802CC7DC -lbl_802CC7D4: -/* 802CC7D4 002C9734 38 63 00 08 */ addi r3, r3, 8 -/* 802CC7D8 002C9738 42 00 FF FC */ bdnz lbl_802CC7D4 -lbl_802CC7DC: -/* 802CC7DC 002C973C 7C 03 28 50 */ subf r0, r3, r5 -/* 802CC7E0 002C9740 7C 09 03 A6 */ mtctr r0 -/* 802CC7E4 002C9744 7C 03 28 00 */ cmpw r3, r5 -/* 802CC7E8 002C9748 40 80 00 08 */ bge lbl_802CC7F0 -lbl_802CC7EC: -/* 802CC7EC 002C974C 42 00 00 00 */ bdnz lbl_802CC7EC -lbl_802CC7F0: -/* 802CC7F0 002C9750 38 00 00 00 */ li r0, 0 -/* 802CC7F4 002C9754 90 01 00 78 */ stw r0, 0x78(r1) -lbl_802CC7F8: -/* 802CC7F8 002C9758 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 802CC7FC 002C975C CB E1 01 40 */ lfd f31, 0x140(r1) -/* 802CC800 002C9760 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 802CC804 002C9764 CB C1 01 30 */ lfd f30, 0x130(r1) -/* 802CC808 002C9768 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 802CC80C 002C976C CB A1 01 20 */ lfd f29, 0x120(r1) -/* 802CC810 002C9770 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 -/* 802CC814 002C9774 CB 81 01 10 */ lfd f28, 0x110(r1) -/* 802CC818 002C9778 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 -/* 802CC81C 002C977C CB 61 01 00 */ lfd f27, 0x100(r1) -/* 802CC820 002C9780 BB 61 00 EC */ lmw r27, 0xec(r1) -/* 802CC824 002C9784 80 01 01 54 */ lwz r0, 0x154(r1) -/* 802CC828 002C9788 7C 08 03 A6 */ mtlr r0 -/* 802CC82C 002C978C 38 21 01 50 */ addi r1, r1, 0x150 -/* 802CC830 002C9790 4E 80 00 20 */ blr - -.global Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms -Draw__13CAuiImagePaneCFRC19CGuiWidgetDrawParms: -/* 802CC834 002C9794 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802CC838 002C9798 7C 08 02 A6 */ mflr r0 -/* 802CC83C 002C979C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802CC840 002C97A0 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802CC844 002C97A4 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802CC848 002C97A8 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802CC84C 002C97AC F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 802CC850 002C97B0 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 802CC854 002C97B4 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 802CC858 002C97B8 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 802CC85C 002C97BC F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 802CC860 002C97C0 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 802CC864 002C97C4 7C 7D 1B 78 */ mr r29, r3 -/* 802CC868 002C97C8 7C 9B 23 78 */ mr r27, r4 -/* 802CC86C 002C97CC 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802CC870 002C97D0 48 03 FD 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 802CC874 002C97D4 7F A3 EB 78 */ mr r3, r29 -/* 802CC878 002C97D8 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CC87C 002C97DC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802CC880 002C97E0 7D 89 03 A6 */ mtctr r12 -/* 802CC884 002C97E4 4E 80 04 21 */ bctrl -/* 802CC888 002C97E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CC88C 002C97EC 41 82 04 BC */ beq lbl_802CCD48 -/* 802CC890 002C97F0 88 1D 00 C4 */ lbz r0, 0xc4(r29) -/* 802CC894 002C97F4 28 00 00 00 */ cmplwi r0, 0 -/* 802CC898 002C97F8 40 82 00 08 */ bne lbl_802CC8A0 -/* 802CC89C 002C97FC 48 00 04 AC */ b lbl_802CCD48 -lbl_802CC8A0: -/* 802CC8A0 002C9800 7F A3 EB 78 */ mr r3, r29 -/* 802CC8A4 002C9804 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CC8A8 002C9808 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 802CC8AC 002C980C 7D 89 03 A6 */ mtctr r12 -/* 802CC8B0 002C9810 4E 80 04 21 */ bctrl -/* 802CC8B4 002C9814 83 FD 00 C0 */ lwz r31, 0xc0(r29) -/* 802CC8B8 002C9818 28 1F 00 00 */ cmplwi r31, 0 -/* 802CC8BC 002C981C 41 82 04 8C */ beq lbl_802CCD48 -/* 802CC8C0 002C9820 88 7D 00 AB */ lbz r3, 0xab(r29) -/* 802CC8C4 002C9824 3C 00 43 30 */ lis r0, 0x4330 -/* 802CC8C8 002C9828 90 01 00 50 */ stw r0, 0x50(r1) -/* 802CC8CC 002C982C C8 22 C4 50 */ lfd f1, lbl_805AE170@sda21(r2) -/* 802CC8D0 002C9830 90 61 00 54 */ stw r3, 0x54(r1) -/* 802CC8D4 002C9834 C0 5B 00 00 */ lfs f2, 0(r27) -/* 802CC8D8 002C9838 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 802CC8DC 002C983C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CC8E0 002C9840 EF 82 00 32 */ fmuls f28, f2, f0 -/* 802CC8E4 002C9844 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 -/* 802CC8E8 002C9848 38 60 00 01 */ li r3, 1 -/* 802CC8EC 002C984C 80 FD 00 AC */ lwz r7, 0xac(r29) -/* 802CC8F0 002C9850 38 80 00 03 */ li r4, 3 -/* 802CC8F4 002C9854 80 DD 00 A8 */ lwz r6, 0xa8(r29) -/* 802CC8F8 002C9858 38 A0 00 00 */ li r5, 0 -/* 802CC8FC 002C985C 88 01 00 09 */ lbz r0, 9(r1) -/* 802CC900 002C9860 2C 07 00 00 */ cmpwi r7, 0 -/* 802CC904 002C9864 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 802CC908 002C9868 90 01 00 48 */ stw r0, 0x48(r1) -/* 802CC90C 002C986C 41 82 00 0C */ beq lbl_802CC918 -/* 802CC910 002C9870 2C 07 00 01 */ cmpwi r7, 1 -/* 802CC914 002C9874 40 82 00 08 */ bne lbl_802CC91C -lbl_802CC918: -/* 802CC918 002C9878 38 A0 00 01 */ li r5, 1 -lbl_802CC91C: -/* 802CC91C 002C987C 48 03 F1 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 802CC920 002C9880 C3 A2 C4 4C */ lfs f29, lbl_805AE16C@sda21(r2) -/* 802CC924 002C9884 3B 80 00 00 */ li r28, 0 -/* 802CC928 002C9888 C0 1D 01 40 */ lfs f0, 0x140(r29) -/* 802CC92C 002C988C 3B C0 00 00 */ li r30, 0 -/* 802CC930 002C9890 C3 82 C4 48 */ lfs f28, lbl_805AE168@sda21(r2) -/* 802CC934 002C9894 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 802CC938 002C9898 40 80 00 E4 */ bge lbl_802CCA1C -/* 802CC93C 002C989C FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 802CC940 002C98A0 40 81 00 DC */ ble lbl_802CCA1C -/* 802CC944 002C98A4 A8 9F 00 04 */ lha r4, 4(r31) -/* 802CC948 002C98A8 3C 60 43 30 */ lis r3, 0x4330 -/* 802CC94C 002C98AC A8 1F 00 06 */ lha r0, 6(r31) -/* 802CC950 002C98B0 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 802CC954 002C98B4 C0 DD 01 44 */ lfs f6, 0x144(r29) -/* 802CC958 002C98B8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802CC95C 002C98BC 90 81 00 5C */ stw r4, 0x5c(r1) -/* 802CC960 002C98C0 FC A0 30 1E */ fctiwz f5, f6 -/* 802CC964 002C98C4 C0 FD 01 48 */ lfs f7, 0x148(r29) -/* 802CC968 002C98C8 90 61 00 58 */ stw r3, 0x58(r1) -/* 802CC96C 002C98CC C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) -/* 802CC970 002C98D0 FC 1C 38 00 */ fcmpu cr0, f28, f7 -/* 802CC974 002C98D4 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802CC978 002C98D8 90 01 00 64 */ stw r0, 0x64(r1) -/* 802CC97C 002C98DC EC 60 20 28 */ fsubs f3, f0, f4 -/* 802CC980 002C98E0 C0 5D 01 38 */ lfs f2, 0x138(r29) -/* 802CC984 002C98E4 90 61 00 60 */ stw r3, 0x60(r1) -/* 802CC988 002C98E8 C0 3D 01 3C */ lfs f1, 0x13c(r29) -/* 802CC98C 002C98EC C8 01 00 60 */ lfd f0, 0x60(r1) -/* 802CC990 002C98F0 EC 63 10 24 */ fdivs f3, f3, f2 -/* 802CC994 002C98F4 D8 A1 00 50 */ stfd f5, 0x50(r1) -/* 802CC998 002C98F8 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 802CC99C 002C98FC 90 61 00 70 */ stw r3, 0x70(r1) -/* 802CC9A0 002C9900 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 802CC9A4 002C9904 38 85 00 01 */ addi r4, r5, 1 -/* 802CC9A8 002C9908 EC 40 20 28 */ fsubs f2, f0, f4 -/* 802CC9AC 002C990C 90 01 00 74 */ stw r0, 0x74(r1) -/* 802CC9B0 002C9910 7C BC 2B 78 */ mr r28, r5 -/* 802CC9B4 002C9914 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 802CC9B8 002C9918 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802CC9BC 002C991C EC 23 00 72 */ fmuls f1, f3, f1 -/* 802CC9C0 002C9920 EC 00 20 28 */ fsubs f0, f0, f4 -/* 802CC9C4 002C9924 FC 20 08 1E */ fctiwz f1, f1 -/* 802CC9C8 002C9928 EC 06 00 28 */ fsubs f0, f6, f0 -/* 802CC9CC 002C992C D8 21 00 68 */ stfd f1, 0x68(r1) -/* 802CC9D0 002C9930 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 802CC9D4 002C9934 7C 04 1B D6 */ divw r0, r4, r3 -/* 802CC9D8 002C9938 7C 00 19 D6 */ mullw r0, r0, r3 -/* 802CC9DC 002C993C 7F C0 20 50 */ subf r30, r0, r4 -/* 802CC9E0 002C9940 40 82 00 0C */ bne lbl_802CC9EC -/* 802CC9E4 002C9944 FC 20 E8 90 */ fmr f1, f29 -/* 802CC9E8 002C9948 48 00 00 28 */ b lbl_802CCA10 -lbl_802CC9EC: -/* 802CC9EC 002C994C EC 20 38 24 */ fdivs f1, f0, f7 -/* 802CC9F0 002C9950 C0 0D 9B 20 */ lfs f0, lbl_805A86E0@sda21(r13) -/* 802CC9F4 002C9954 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CC9F8 002C9958 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802CC9FC 002C995C 40 80 00 0C */ bge lbl_802CCA08 -/* 802CCA00 002C9960 38 61 00 44 */ addi r3, r1, 0x44 -/* 802CCA04 002C9964 48 00 00 08 */ b lbl_802CCA0C -lbl_802CCA08: -/* 802CCA08 002C9968 38 6D 9B 20 */ addi r3, r13, lbl_805A86E0@sda21 -lbl_802CCA0C: -/* 802CCA0C 002C996C C0 23 00 00 */ lfs f1, 0(r3) -lbl_802CCA10: -/* 802CCA10 002C9970 C0 02 C4 4C */ lfs f0, lbl_805AE16C@sda21(r2) -/* 802CCA14 002C9974 FF 80 08 90 */ fmr f28, f1 -/* 802CCA18 002C9978 EF A0 08 28 */ fsubs f29, f0, f1 -lbl_802CCA1C: -/* 802CCA1C 002C997C 38 60 00 01 */ li r3, 1 -/* 802CCA20 002C9980 38 80 00 04 */ li r4, 4 -/* 802CCA24 002C9984 38 A0 00 05 */ li r5, 5 -/* 802CCA28 002C9988 38 C0 00 00 */ li r6, 0 -/* 802CCA2C 002C998C 48 03 F0 25 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCA30 002C9990 48 07 D5 85 */ bl Black__6CColorFv -/* 802CCA34 002C9994 C3 E2 C4 60 */ lfs f31, lbl_805AE180@sda21(r2) -/* 802CCA38 002C9998 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 802CCA3C 002C999C 38 81 00 48 */ addi r4, r1, 0x48 -/* 802CCA40 002C99A0 80 C3 00 00 */ lwz r6, 0(r3) -/* 802CCA44 002C99A4 38 61 00 40 */ addi r3, r1, 0x40 -/* 802CCA48 002C99A8 88 01 00 0A */ lbz r0, 0xa(r1) -/* 802CCA4C 002C99AC 38 A1 00 3C */ addi r5, r1, 0x3c -/* 802CCA50 002C99B0 50 C0 00 2E */ rlwimi r0, r6, 0, 0, 0x17 -/* 802CCA54 002C99B4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 802CCA58 002C99B8 48 09 67 21 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 802CCA5C 002C99BC C0 22 C4 4C */ lfs f1, lbl_805AE16C@sda21(r2) -/* 802CCA60 002C99C0 7F A3 EB 78 */ mr r3, r29 -/* 802CCA64 002C99C4 7F E5 FB 78 */ mr r5, r31 -/* 802CCA68 002C99C8 7F 86 E3 78 */ mr r6, r28 -/* 802CCA6C 002C99CC 38 81 00 40 */ addi r4, r1, 0x40 -/* 802CCA70 002C99D0 38 E0 00 01 */ li r7, 1 -/* 802CCA74 002C99D4 4B FF F6 11 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCA78 002C99D8 C0 3D 01 50 */ lfs f1, 0x150(r29) -/* 802CCA7C 002C99DC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCA80 002C99E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CCA84 002C99E4 40 81 00 80 */ ble lbl_802CCB04 -/* 802CCA88 002C99E8 38 60 00 01 */ li r3, 1 -/* 802CCA8C 002C99EC 38 80 00 04 */ li r4, 4 -/* 802CCA90 002C99F0 38 A0 00 01 */ li r5, 1 -/* 802CCA94 002C99F4 38 C0 00 00 */ li r6, 0 -/* 802CCA98 002C99F8 48 03 EF B9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCA9C 002C99FC C0 22 C4 64 */ lfs f1, lbl_805AE184@sda21(r2) -/* 802CCAA0 002C9A00 C0 1D 01 50 */ lfs f0, 0x150(r29) -/* 802CCAA4 002C9A04 EF C1 00 32 */ fmuls f30, f1, f0 -/* 802CCAA8 002C9A08 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 802CCAAC 002C9A0C FC 20 E8 90 */ fmr f1, f29 -/* 802CCAB0 002C9A10 80 1D 00 A8 */ lwz r0, 0xa8(r29) -/* 802CCAB4 002C9A14 7F A3 EB 78 */ mr r3, r29 -/* 802CCAB8 002C9A18 8B 61 00 08 */ lbz r27, 8(r1) -/* 802CCABC 002C9A1C 7F E5 FB 78 */ mr r5, r31 -/* 802CCAC0 002C9A20 50 1B 00 2E */ rlwimi r27, r0, 0, 0, 0x17 -/* 802CCAC4 002C9A24 93 61 00 38 */ stw r27, 0x38(r1) -/* 802CCAC8 002C9A28 7F 86 E3 78 */ mr r6, r28 -/* 802CCACC 002C9A2C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802CCAD0 002C9A30 38 E0 00 00 */ li r7, 0 -/* 802CCAD4 002C9A34 4B FF F5 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCAD8 002C9A38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCADC 002C9A3C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCAE0 002C9A40 40 81 00 24 */ ble lbl_802CCB04 -/* 802CCAE4 002C9A44 FC 20 E0 90 */ fmr f1, f28 -/* 802CCAE8 002C9A48 93 61 00 34 */ stw r27, 0x34(r1) -/* 802CCAEC 002C9A4C 7F A3 EB 78 */ mr r3, r29 -/* 802CCAF0 002C9A50 7F E5 FB 78 */ mr r5, r31 -/* 802CCAF4 002C9A54 7F C6 F3 78 */ mr r6, r30 -/* 802CCAF8 002C9A58 38 81 00 34 */ addi r4, r1, 0x34 -/* 802CCAFC 002C9A5C 38 E0 00 00 */ li r7, 0 -/* 802CCB00 002C9A60 4B FF F5 85 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -lbl_802CCB04: -/* 802CCB04 002C9A64 80 1D 00 AC */ lwz r0, 0xac(r29) -/* 802CCB08 002C9A68 2C 00 00 03 */ cmpwi r0, 3 -/* 802CCB0C 002C9A6C 41 82 01 00 */ beq lbl_802CCC0C -/* 802CCB10 002C9A70 40 80 00 18 */ bge lbl_802CCB28 -/* 802CCB14 002C9A74 2C 00 00 02 */ cmpwi r0, 2 -/* 802CCB18 002C9A78 40 80 00 88 */ bge lbl_802CCBA0 -/* 802CCB1C 002C9A7C 2C 00 00 00 */ cmpwi r0, 0 -/* 802CCB20 002C9A80 40 80 00 14 */ bge lbl_802CCB34 -/* 802CCB24 002C9A84 48 00 02 24 */ b lbl_802CCD48 -lbl_802CCB28: -/* 802CCB28 002C9A88 2C 00 00 05 */ cmpwi r0, 5 -/* 802CCB2C 002C9A8C 40 80 02 1C */ bge lbl_802CCD48 -/* 802CCB30 002C9A90 48 00 01 48 */ b lbl_802CCC78 -lbl_802CCB34: -/* 802CCB34 002C9A94 38 60 00 01 */ li r3, 1 -/* 802CCB38 002C9A98 38 80 00 01 */ li r4, 1 -/* 802CCB3C 002C9A9C 38 A0 00 00 */ li r5, 0 -/* 802CCB40 002C9AA0 38 C0 00 00 */ li r6, 0 -/* 802CCB44 002C9AA4 48 03 EF 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCB48 002C9AA8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCB4C 002C9AAC FC 20 E8 90 */ fmr f1, f29 -/* 802CCB50 002C9AB0 7F A3 EB 78 */ mr r3, r29 -/* 802CCB54 002C9AB4 7F E5 FB 78 */ mr r5, r31 -/* 802CCB58 002C9AB8 90 01 00 30 */ stw r0, 0x30(r1) -/* 802CCB5C 002C9ABC 7F 86 E3 78 */ mr r6, r28 -/* 802CCB60 002C9AC0 38 81 00 30 */ addi r4, r1, 0x30 -/* 802CCB64 002C9AC4 38 E0 00 00 */ li r7, 0 -/* 802CCB68 002C9AC8 4B FF F5 1D */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCB6C 002C9ACC C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCB70 002C9AD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCB74 002C9AD4 40 81 01 D4 */ ble lbl_802CCD48 -/* 802CCB78 002C9AD8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCB7C 002C9ADC FC 20 E0 90 */ fmr f1, f28 -/* 802CCB80 002C9AE0 7F A3 EB 78 */ mr r3, r29 -/* 802CCB84 002C9AE4 7F E5 FB 78 */ mr r5, r31 -/* 802CCB88 002C9AE8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802CCB8C 002C9AEC 7F C6 F3 78 */ mr r6, r30 -/* 802CCB90 002C9AF0 38 81 00 2C */ addi r4, r1, 0x2c -/* 802CCB94 002C9AF4 38 E0 00 00 */ li r7, 0 -/* 802CCB98 002C9AF8 4B FF F4 ED */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCB9C 002C9AFC 48 00 01 AC */ b lbl_802CCD48 -lbl_802CCBA0: -/* 802CCBA0 002C9B00 38 60 00 01 */ li r3, 1 -/* 802CCBA4 002C9B04 38 80 00 04 */ li r4, 4 -/* 802CCBA8 002C9B08 38 A0 00 05 */ li r5, 5 -/* 802CCBAC 002C9B0C 38 C0 00 00 */ li r6, 0 -/* 802CCBB0 002C9B10 48 03 EE A1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCBB4 002C9B14 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCBB8 002C9B18 FC 20 E8 90 */ fmr f1, f29 -/* 802CCBBC 002C9B1C 7F A3 EB 78 */ mr r3, r29 -/* 802CCBC0 002C9B20 7F E5 FB 78 */ mr r5, r31 -/* 802CCBC4 002C9B24 90 01 00 28 */ stw r0, 0x28(r1) -/* 802CCBC8 002C9B28 7F 86 E3 78 */ mr r6, r28 -/* 802CCBCC 002C9B2C 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CCBD0 002C9B30 38 E0 00 00 */ li r7, 0 -/* 802CCBD4 002C9B34 4B FF F4 B1 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCBD8 002C9B38 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCBDC 002C9B3C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCBE0 002C9B40 40 81 01 68 */ ble lbl_802CCD48 -/* 802CCBE4 002C9B44 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCBE8 002C9B48 FC 20 E0 90 */ fmr f1, f28 -/* 802CCBEC 002C9B4C 7F A3 EB 78 */ mr r3, r29 -/* 802CCBF0 002C9B50 7F E5 FB 78 */ mr r5, r31 -/* 802CCBF4 002C9B54 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CCBF8 002C9B58 7F C6 F3 78 */ mr r6, r30 -/* 802CCBFC 002C9B5C 38 81 00 24 */ addi r4, r1, 0x24 -/* 802CCC00 002C9B60 38 E0 00 00 */ li r7, 0 -/* 802CCC04 002C9B64 4B FF F4 81 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCC08 002C9B68 48 00 01 40 */ b lbl_802CCD48 -lbl_802CCC0C: -/* 802CCC0C 002C9B6C 38 60 00 01 */ li r3, 1 -/* 802CCC10 002C9B70 38 80 00 04 */ li r4, 4 -/* 802CCC14 002C9B74 38 A0 00 01 */ li r5, 1 -/* 802CCC18 002C9B78 38 C0 00 00 */ li r6, 0 -/* 802CCC1C 002C9B7C 48 03 EE 35 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCC20 002C9B80 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCC24 002C9B84 FC 20 E8 90 */ fmr f1, f29 -/* 802CCC28 002C9B88 7F A3 EB 78 */ mr r3, r29 -/* 802CCC2C 002C9B8C 7F E5 FB 78 */ mr r5, r31 -/* 802CCC30 002C9B90 90 01 00 20 */ stw r0, 0x20(r1) -/* 802CCC34 002C9B94 7F 86 E3 78 */ mr r6, r28 -/* 802CCC38 002C9B98 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CCC3C 002C9B9C 38 E0 00 00 */ li r7, 0 -/* 802CCC40 002C9BA0 4B FF F4 45 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCC44 002C9BA4 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCC48 002C9BA8 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCC4C 002C9BAC 40 81 00 FC */ ble lbl_802CCD48 -/* 802CCC50 002C9BB0 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCC54 002C9BB4 FC 20 E0 90 */ fmr f1, f28 -/* 802CCC58 002C9BB8 7F A3 EB 78 */ mr r3, r29 -/* 802CCC5C 002C9BBC 7F E5 FB 78 */ mr r5, r31 -/* 802CCC60 002C9BC0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802CCC64 002C9BC4 7F C6 F3 78 */ mr r6, r30 -/* 802CCC68 002C9BC8 38 81 00 1C */ addi r4, r1, 0x1c -/* 802CCC6C 002C9BCC 38 E0 00 00 */ li r7, 0 -/* 802CCC70 002C9BD0 4B FF F4 15 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCC74 002C9BD4 48 00 00 D4 */ b lbl_802CCD48 -lbl_802CCC78: -/* 802CCC78 002C9BD8 38 60 00 01 */ li r3, 1 -/* 802CCC7C 002C9BDC 38 80 00 04 */ li r4, 4 -/* 802CCC80 002C9BE0 38 A0 00 05 */ li r5, 5 -/* 802CCC84 002C9BE4 38 C0 00 00 */ li r6, 0 -/* 802CCC88 002C9BE8 48 03 ED C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCC8C 002C9BEC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCC90 002C9BF0 FC 20 E8 90 */ fmr f1, f29 -/* 802CCC94 002C9BF4 7F A3 EB 78 */ mr r3, r29 -/* 802CCC98 002C9BF8 7F E5 FB 78 */ mr r5, r31 -/* 802CCC9C 002C9BFC 90 01 00 18 */ stw r0, 0x18(r1) -/* 802CCCA0 002C9C00 7F 86 E3 78 */ mr r6, r28 -/* 802CCCA4 002C9C04 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CCCA8 002C9C08 38 E0 00 00 */ li r7, 0 -/* 802CCCAC 002C9C0C 4B FF F3 D9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCCB0 002C9C10 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCCB4 002C9C14 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCCB8 002C9C18 40 81 00 28 */ ble lbl_802CCCE0 -/* 802CCCBC 002C9C1C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCCC0 002C9C20 FC 20 E0 90 */ fmr f1, f28 -/* 802CCCC4 002C9C24 7F A3 EB 78 */ mr r3, r29 -/* 802CCCC8 002C9C28 7F E5 FB 78 */ mr r5, r31 -/* 802CCCCC 002C9C2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CCCD0 002C9C30 7F C6 F3 78 */ mr r6, r30 -/* 802CCCD4 002C9C34 38 81 00 14 */ addi r4, r1, 0x14 -/* 802CCCD8 002C9C38 38 E0 00 00 */ li r7, 0 -/* 802CCCDC 002C9C3C 4B FF F3 A9 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -lbl_802CCCE0: -/* 802CCCE0 002C9C40 38 60 00 01 */ li r3, 1 -/* 802CCCE4 002C9C44 38 80 00 01 */ li r4, 1 -/* 802CCCE8 002C9C48 38 A0 00 01 */ li r5, 1 -/* 802CCCEC 002C9C4C 38 C0 00 00 */ li r6, 0 -/* 802CCCF0 002C9C50 48 03 ED 61 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 802CCCF4 002C9C54 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCCF8 002C9C58 FC 20 E8 90 */ fmr f1, f29 -/* 802CCCFC 002C9C5C 7F A3 EB 78 */ mr r3, r29 -/* 802CCD00 002C9C60 7F E5 FB 78 */ mr r5, r31 -/* 802CCD04 002C9C64 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CCD08 002C9C68 7F 86 E3 78 */ mr r6, r28 -/* 802CCD0C 002C9C6C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802CCD10 002C9C70 38 E0 00 00 */ li r7, 0 -/* 802CCD14 002C9C74 4B FF F3 71 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -/* 802CCD18 002C9C78 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCD1C 002C9C7C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802CCD20 002C9C80 40 81 00 28 */ ble lbl_802CCD48 -/* 802CCD24 002C9C84 80 01 00 48 */ lwz r0, 0x48(r1) -/* 802CCD28 002C9C88 FC 20 E0 90 */ fmr f1, f28 -/* 802CCD2C 002C9C8C 7F A3 EB 78 */ mr r3, r29 -/* 802CCD30 002C9C90 7F E5 FB 78 */ mr r5, r31 -/* 802CCD34 002C9C94 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CCD38 002C9C98 7F C6 F3 78 */ mr r6, r30 -/* 802CCD3C 002C9C9C 38 81 00 0C */ addi r4, r1, 0xc -/* 802CCD40 002C9CA0 38 E0 00 00 */ li r7, 0 -/* 802CCD44 002C9CA4 4B FF F3 41 */ bl DoDrawImagePane__13CAuiImagePaneCF6CColorRC8CTextureifb -lbl_802CCD48: -/* 802CCD48 002C9CA8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802CCD4C 002C9CAC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802CCD50 002C9CB0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 802CCD54 002C9CB4 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802CCD58 002C9CB8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 802CCD5C 002C9CBC CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 802CCD60 002C9CC0 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 802CCD64 002C9CC4 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 802CCD68 002C9CC8 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 802CCD6C 002C9CCC 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802CCD70 002C9CD0 7C 08 03 A6 */ mtlr r0 -/* 802CCD74 002C9CD4 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802CCD78 002C9CD8 4E 80 00 20 */ blr - -.global Update__13CAuiImagePaneFf -Update__13CAuiImagePaneFf: -/* 802CCD7C 002C9CDC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802CCD80 002C9CE0 7C 08 02 A6 */ mflr r0 -/* 802CCD84 002C9CE4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802CCD88 002C9CE8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802CCD8C 002C9CEC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802CCD90 002C9CF0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802CCD94 002C9CF4 7C 7F 1B 78 */ mr r31, r3 -/* 802CCD98 002C9CF8 FF E0 08 90 */ fmr f31, f1 -/* 802CCD9C 002C9CFC C0 23 00 D0 */ lfs f1, 0xd0(r3) -/* 802CCDA0 002C9D00 C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) -/* 802CCDA4 002C9D04 48 0C 7F 09 */ bl fmod -/* 802CCDA8 002C9D08 FC 00 08 18 */ frsp f0, f1 -/* 802CCDAC 002C9D0C C8 42 C4 68 */ lfd f2, lbl_805AE188@sda21(r2) -/* 802CCDB0 002C9D10 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 802CCDB4 002C9D14 C0 3F 00 D4 */ lfs f1, 0xd4(r31) -/* 802CCDB8 002C9D18 48 0C 7E F5 */ bl fmod -/* 802CCDBC 002C9D1C FC 00 08 18 */ frsp f0, f1 -/* 802CCDC0 002C9D20 38 7F 01 38 */ addi r3, r31, 0x138 -/* 802CCDC4 002C9D24 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 -/* 802CCDC8 002C9D28 D0 1F 00 D4 */ stfs f0, 0xd4(r31) -/* 802CCDCC 002C9D2C 48 04 71 3D */ bl __eq__FRC9CVector2fRC9CVector2f -/* 802CCDD0 002C9D30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CCDD4 002C9D34 40 82 00 AC */ bne lbl_802CCE80 -/* 802CCDD8 002C9D38 88 1F 00 C4 */ lbz r0, 0xc4(r31) -/* 802CCDDC 002C9D3C 28 00 00 00 */ cmplwi r0, 0 -/* 802CCDE0 002C9D40 41 82 00 A0 */ beq lbl_802CCE80 -/* 802CCDE4 002C9D44 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802CCDE8 002C9D48 28 05 00 00 */ cmplwi r5, 0 -/* 802CCDEC 002C9D4C 41 82 00 94 */ beq lbl_802CCE80 -/* 802CCDF0 002C9D50 A8 85 00 04 */ lha r4, 4(r5) -/* 802CCDF4 002C9D54 3C 60 43 30 */ lis r3, 0x4330 -/* 802CCDF8 002C9D58 A8 05 00 06 */ lha r0, 6(r5) -/* 802CCDFC 002C9D5C 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 802CCE00 002C9D60 90 61 00 08 */ stw r3, 8(r1) -/* 802CCE04 002C9D64 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802CCE08 002C9D68 C8 82 C4 58 */ lfd f4, lbl_805AE178@sda21(r2) -/* 802CCE0C 002C9D6C 90 81 00 0C */ stw r4, 0xc(r1) -/* 802CCE10 002C9D70 C0 5F 01 38 */ lfs f2, 0x138(r31) -/* 802CCE14 002C9D74 C8 01 00 08 */ lfd f0, 8(r1) -/* 802CCE18 002C9D78 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802CCE1C 002C9D7C EC 60 20 28 */ fsubs f3, f0, f4 -/* 802CCE20 002C9D80 C0 1F 01 3C */ lfs f0, 0x13c(r31) -/* 802CCE24 002C9D84 90 61 00 18 */ stw r3, 0x18(r1) -/* 802CCE28 002C9D88 C0 DF 01 40 */ lfs f6, 0x140(r31) -/* 802CCE2C 002C9D8C C8 21 00 18 */ lfd f1, 0x18(r1) -/* 802CCE30 002C9D90 EC 63 10 24 */ fdivs f3, f3, f2 -/* 802CCE34 002C9D94 C0 BF 01 44 */ lfs f5, 0x144(r31) -/* 802CCE38 002C9D98 90 61 00 28 */ stw r3, 0x28(r1) -/* 802CCE3C 002C9D9C EC 41 20 28 */ fsubs f2, f1, f4 -/* 802CCE40 002C9DA0 FC 60 18 1E */ fctiwz f3, f3 -/* 802CCE44 002C9DA4 EC 3F 29 BA */ fmadds f1, f31, f6, f5 -/* 802CCE48 002C9DA8 EC 02 00 24 */ fdivs f0, f2, f0 -/* 802CCE4C 002C9DAC D8 61 00 10 */ stfd f3, 0x10(r1) -/* 802CCE50 002C9DB0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802CCE54 002C9DB4 FC 00 00 1E */ fctiwz f0, f0 -/* 802CCE58 002C9DB8 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 802CCE5C 002C9DBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CCE60 002C9DC0 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802CCE64 002C9DC4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802CCE68 002C9DC8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802CCE6C 002C9DCC C8 01 00 28 */ lfd f0, 0x28(r1) -/* 802CCE70 002C9DD0 EC 40 20 28 */ fsubs f2, f0, f4 -/* 802CCE74 002C9DD4 48 0C 7E 39 */ bl fmod -/* 802CCE78 002C9DD8 FC 00 08 18 */ frsp f0, f1 -/* 802CCE7C 002C9DDC D0 1F 01 44 */ stfs f0, 0x144(r31) -lbl_802CCE80: -/* 802CCE80 002C9DE0 FC 20 F8 90 */ fmr f1, f31 -/* 802CCE84 002C9DE4 7F E3 FB 78 */ mr r3, r31 -/* 802CCE88 002C9DE8 4B FF DB 4D */ bl Update__10CGuiWidgetFf -/* 802CCE8C 002C9DEC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802CCE90 002C9DF0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802CCE94 002C9DF4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802CCE98 002C9DF8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802CCE9C 002C9DFC 7C 08 03 A6 */ mtlr r0 -/* 802CCEA0 002C9E00 38 21 00 50 */ addi r1, r1, 0x50 -/* 802CCEA4 002C9E04 4E 80 00 20 */ blr - -.global SetAnimationParms__13CAuiImagePaneFRC9CVector2fff -SetAnimationParms__13CAuiImagePaneFRC9CVector2fff: -/* 802CCEA8 002C9E08 C0 64 00 00 */ lfs f3, 0(r4) -/* 802CCEAC 002C9E0C C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCEB0 002C9E10 D0 63 01 38 */ stfs f3, 0x138(r3) -/* 802CCEB4 002C9E14 C0 64 00 04 */ lfs f3, 4(r4) -/* 802CCEB8 002C9E18 D0 63 01 3C */ stfs f3, 0x13c(r3) -/* 802CCEBC 002C9E1C D0 23 01 40 */ stfs f1, 0x140(r3) -/* 802CCEC0 002C9E20 D0 03 01 44 */ stfs f0, 0x144(r3) -/* 802CCEC4 002C9E24 D0 43 01 48 */ stfs f2, 0x148(r3) -/* 802CCEC8 002C9E28 4E 80 00 20 */ blr - -.global "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" -"__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b": -/* 802CCECC 002C9E2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CCED0 002C9E30 7C 08 02 A6 */ mflr r0 -/* 802CCED4 002C9E34 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CCED8 002C9E38 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 802CCEDC 002C9E3C 7C 7D 1B 78 */ mr r29, r3 -/* 802CCEE0 002C9E40 7C BE 2B 78 */ mr r30, r5 -/* 802CCEE4 002C9E44 7C DF 33 78 */ mr r31, r6 -/* 802CCEE8 002C9E48 7C F9 3B 78 */ mr r25, r7 -/* 802CCEEC 002C9E4C 7D 1A 43 78 */ mr r26, r8 -/* 802CCEF0 002C9E50 7D 3B 4B 78 */ mr r27, r9 -/* 802CCEF4 002C9E54 7D 5C 53 78 */ mr r28, r10 -/* 802CCEF8 002C9E58 4B FF DD 2D */ bl __ct__10CGuiWidgetFRCQ210CGuiWidget15CGuiWidgetParms -/* 802CCEFC 002C9E5C 3C 60 80 3F */ lis r3, lbl_803ECA90@ha -/* 802CCF00 002C9E60 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) -/* 802CCF04 002C9E64 38 63 CA 90 */ addi r3, r3, lbl_803ECA90@l -/* 802CCF08 002C9E68 38 00 00 00 */ li r0, 0 -/* 802CCF0C 002C9E6C 90 7D 00 00 */ stw r3, 0(r29) -/* 802CCF10 002C9E70 FC 40 08 90 */ fmr f2, f1 -/* 802CCF14 002C9E74 38 7D 00 D0 */ addi r3, r29, 0xd0 -/* 802CCF18 002C9E78 98 1D 00 C4 */ stb r0, 0xc4(r29) -/* 802CCF1C 002C9E7C 93 FD 00 C8 */ stw r31, 0xc8(r29) -/* 802CCF20 002C9E80 93 3D 00 CC */ stw r25, 0xcc(r29) -/* 802CCF24 002C9E84 48 04 72 DD */ bl __ct__9CVector2fFff -/* 802CCF28 002C9E88 C0 22 C4 48 */ lfs f1, lbl_805AE168@sda21(r2) -/* 802CCF2C 002C9E8C 38 7D 00 D8 */ addi r3, r29, 0xd8 -/* 802CCF30 002C9E90 FC 40 08 90 */ fmr f2, f1 -/* 802CCF34 002C9E94 48 04 72 CD */ bl __ct__9CVector2fFff -/* 802CCF38 002C9E98 80 1A 00 00 */ lwz r0, 0(r26) -/* 802CCF3C 002C9E9C 38 9D 00 E4 */ addi r4, r29, 0xe4 -/* 802CCF40 002C9EA0 38 7A 00 04 */ addi r3, r26, 4 -/* 802CCF44 002C9EA4 90 1D 00 E0 */ stw r0, 0xe0(r29) -/* 802CCF48 002C9EA8 80 1D 00 E0 */ lwz r0, 0xe0(r29) -/* 802CCF4C 002C9EAC 7C 09 03 A6 */ mtctr r0 -/* 802CCF50 002C9EB0 2C 00 00 00 */ cmpwi r0, 0 -/* 802CCF54 002C9EB4 40 81 00 30 */ ble lbl_802CCF84 -lbl_802CCF58: -/* 802CCF58 002C9EB8 28 04 00 00 */ cmplwi r4, 0 -/* 802CCF5C 002C9EBC 41 82 00 1C */ beq lbl_802CCF78 -/* 802CCF60 002C9EC0 C0 03 00 00 */ lfs f0, 0(r3) -/* 802CCF64 002C9EC4 D0 04 00 00 */ stfs f0, 0(r4) -/* 802CCF68 002C9EC8 C0 03 00 04 */ lfs f0, 4(r3) -/* 802CCF6C 002C9ECC D0 04 00 04 */ stfs f0, 4(r4) -/* 802CCF70 002C9ED0 C0 03 00 08 */ lfs f0, 8(r3) -/* 802CCF74 002C9ED4 D0 04 00 08 */ stfs f0, 8(r4) -lbl_802CCF78: -/* 802CCF78 002C9ED8 38 84 00 0C */ addi r4, r4, 0xc -/* 802CCF7C 002C9EDC 38 63 00 0C */ addi r3, r3, 0xc -/* 802CCF80 002C9EE0 42 00 FF D8 */ bdnz lbl_802CCF58 -lbl_802CCF84: -/* 802CCF84 002C9EE4 80 1B 00 00 */ lwz r0, 0(r27) -/* 802CCF88 002C9EE8 38 9D 01 18 */ addi r4, r29, 0x118 -/* 802CCF8C 002C9EEC 38 7B 00 04 */ addi r3, r27, 4 -/* 802CCF90 002C9EF0 90 1D 01 14 */ stw r0, 0x114(r29) -/* 802CCF94 002C9EF4 80 1D 01 14 */ lwz r0, 0x114(r29) -/* 802CCF98 002C9EF8 7C 09 03 A6 */ mtctr r0 -/* 802CCF9C 002C9EFC 2C 00 00 00 */ cmpwi r0, 0 -/* 802CCFA0 002C9F00 40 81 00 28 */ ble lbl_802CCFC8 -lbl_802CCFA4: -/* 802CCFA4 002C9F04 28 04 00 00 */ cmplwi r4, 0 -/* 802CCFA8 002C9F08 41 82 00 14 */ beq lbl_802CCFBC -/* 802CCFAC 002C9F0C C0 03 00 00 */ lfs f0, 0(r3) -/* 802CCFB0 002C9F10 D0 04 00 00 */ stfs f0, 0(r4) -/* 802CCFB4 002C9F14 C0 03 00 04 */ lfs f0, 4(r3) -/* 802CCFB8 002C9F18 D0 04 00 04 */ stfs f0, 4(r4) -lbl_802CCFBC: -/* 802CCFBC 002C9F1C 38 84 00 08 */ addi r4, r4, 8 -/* 802CCFC0 002C9F20 38 63 00 08 */ addi r3, r3, 8 -/* 802CCFC4 002C9F24 42 00 FF E0 */ bdnz lbl_802CCFA4 -lbl_802CCFC8: -/* 802CCFC8 002C9F28 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) -/* 802CCFCC 002C9F2C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 802CCFD0 002C9F30 C0 02 C4 48 */ lfs f0, lbl_805AE168@sda21(r2) -/* 802CCFD4 002C9F34 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 802CCFD8 002C9F38 D0 3D 01 38 */ stfs f1, 0x138(r29) -/* 802CCFDC 002C9F3C C0 23 00 04 */ lfs f1, 4(r3) -/* 802CCFE0 002C9F40 D0 3D 01 3C */ stfs f1, 0x13c(r29) -/* 802CCFE4 002C9F44 D0 1D 01 40 */ stfs f0, 0x140(r29) -/* 802CCFE8 002C9F48 D0 1D 01 44 */ stfs f0, 0x144(r29) -/* 802CCFEC 002C9F4C D0 1D 01 48 */ stfs f0, 0x148(r29) -/* 802CCFF0 002C9F50 D0 1D 01 4C */ stfs f0, 0x14c(r29) -/* 802CCFF4 002C9F54 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 802CCFF8 002C9F58 41 82 00 14 */ beq lbl_802CD00C -/* 802CCFFC 002C9F5C 7F A3 EB 78 */ mr r3, r29 -/* 802CD000 002C9F60 7F E4 FB 78 */ mr r4, r31 -/* 802CD004 002C9F64 7F C5 F3 78 */ mr r5, r30 -/* 802CD008 002C9F68 4B FF EE C5 */ bl SetTextureID0__13CAuiImagePaneFUib -lbl_802CD00C: -/* 802CD00C 002C9F6C 7F A3 EB 78 */ mr r3, r29 -/* 802CD010 002C9F70 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 802CD014 002C9F74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CD018 002C9F78 7C 08 03 A6 */ mtlr r0 -/* 802CD01C 002C9F7C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CD020 002C9F80 4E 80 00 20 */ blr - -.global WriteData__13CAuiImagePaneCFR13COutputStreamb -WriteData__13CAuiImagePaneCFR13COutputStreamb: -/* 802CD024 002C9F84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CD028 002C9F88 7C 08 02 A6 */ mflr r0 -/* 802CD02C 002C9F8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CD030 002C9F90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CD034 002C9F94 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CD038 002C9F98 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CD03C 002C9F9C 7C 9D 23 78 */ mr r29, r4 -/* 802CD040 002C9FA0 93 81 00 20 */ stw r28, 0x20(r1) -/* 802CD044 002C9FA4 7C 7C 1B 78 */ mr r28, r3 -/* 802CD048 002C9FA8 80 03 00 C8 */ lwz r0, 0xc8(r3) -/* 802CD04C 002C9FAC 7F A3 EB 78 */ mr r3, r29 -/* 802CD050 002C9FB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CD054 002C9FB4 48 07 24 65 */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD058 002C9FB8 7F A3 EB 78 */ mr r3, r29 -/* 802CD05C 002C9FBC 38 81 00 14 */ addi r4, r1, 0x14 -/* 802CD060 002C9FC0 38 A0 00 04 */ li r5, 4 -/* 802CD064 002C9FC4 48 07 25 45 */ bl DoPut__13COutputStreamFPCvUl -/* 802CD068 002C9FC8 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 802CD06C 002C9FCC 7F A3 EB 78 */ mr r3, r29 -/* 802CD070 002C9FD0 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CD074 002C9FD4 48 07 24 45 */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD078 002C9FD8 7F A3 EB 78 */ mr r3, r29 -/* 802CD07C 002C9FDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 802CD080 002C9FE0 38 A0 00 04 */ li r5, 4 -/* 802CD084 002C9FE4 48 07 25 25 */ bl DoPut__13COutputStreamFPCvUl -/* 802CD088 002C9FE8 80 1C 00 AC */ lwz r0, 0xac(r28) -/* 802CD08C 002C9FEC 7F A3 EB 78 */ mr r3, r29 -/* 802CD090 002C9FF0 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CD094 002C9FF4 48 07 24 25 */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD098 002C9FF8 7F A3 EB 78 */ mr r3, r29 -/* 802CD09C 002C9FFC 38 81 00 0C */ addi r4, r1, 0xc -/* 802CD0A0 002CA000 38 A0 00 04 */ li r5, 4 -/* 802CD0A4 002CA004 48 07 25 05 */ bl DoPut__13COutputStreamFPCvUl -/* 802CD0A8 002CA008 80 1C 00 E0 */ lwz r0, 0xe0(r28) -/* 802CD0AC 002CA00C 7F A3 EB 78 */ mr r3, r29 -/* 802CD0B0 002CA010 90 01 00 08 */ stw r0, 8(r1) -/* 802CD0B4 002CA014 48 07 24 05 */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD0B8 002CA018 7F A3 EB 78 */ mr r3, r29 -/* 802CD0BC 002CA01C 38 81 00 08 */ addi r4, r1, 8 -/* 802CD0C0 002CA020 38 A0 00 04 */ li r5, 4 -/* 802CD0C4 002CA024 48 07 24 E5 */ bl DoPut__13COutputStreamFPCvUl -/* 802CD0C8 002CA028 80 1C 00 E0 */ lwz r0, 0xe0(r28) -/* 802CD0CC 002CA02C 3B DC 00 E4 */ addi r30, r28, 0xe4 -/* 802CD0D0 002CA030 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802CD0D4 002CA034 7F FE 02 14 */ add r31, r30, r0 -/* 802CD0D8 002CA038 48 00 00 14 */ b lbl_802CD0EC -lbl_802CD0DC: -/* 802CD0DC 002CA03C 7F C3 F3 78 */ mr r3, r30 -/* 802CD0E0 002CA040 7F A4 EB 78 */ mr r4, r29 -/* 802CD0E4 002CA044 48 04 79 FD */ bl PutTo__9CVector3fCFR13COutputStream -/* 802CD0E8 002CA048 3B DE 00 0C */ addi r30, r30, 0xc -lbl_802CD0EC: -/* 802CD0EC 002CA04C 7C 1E F8 40 */ cmplw r30, r31 -/* 802CD0F0 002CA050 40 82 FF EC */ bne lbl_802CD0DC -/* 802CD0F4 002CA054 7F A4 EB 78 */ mr r4, r29 -/* 802CD0F8 002CA058 38 7C 01 14 */ addi r3, r28, 0x114 -/* 802CD0FC 002CA05C 48 00 00 25 */ bl "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" -/* 802CD100 002CA060 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CD104 002CA064 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CD108 002CA068 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CD10C 002CA06C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CD110 002CA070 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802CD114 002CA074 7C 08 03 A6 */ mtlr r0 -/* 802CD118 002CA078 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CD11C 002CA07C 4E 80 00 20 */ blr - -.global "StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi" -"StreamObjects__4rstlFR13COutputStreamRCPC9CVector2fRCPC9CVector2fi": -/* 802CD120 002CA080 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CD124 002CA084 7C 08 02 A6 */ mflr r0 -/* 802CD128 002CA088 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CD12C 002CA08C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CD130 002CA090 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CD134 002CA094 7C 7E 1B 78 */ mr r30, r3 -/* 802CD138 002CA098 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CD13C 002CA09C 7C 9D 23 78 */ mr r29, r4 -/* 802CD140 002CA0A0 80 03 00 00 */ lwz r0, 0(r3) -/* 802CD144 002CA0A4 7F A3 EB 78 */ mr r3, r29 -/* 802CD148 002CA0A8 90 01 00 18 */ stw r0, 0x18(r1) -/* 802CD14C 002CA0AC 48 07 23 6D */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD150 002CA0B0 7F A3 EB 78 */ mr r3, r29 -/* 802CD154 002CA0B4 38 81 00 18 */ addi r4, r1, 0x18 -/* 802CD158 002CA0B8 38 A0 00 04 */ li r5, 4 -/* 802CD15C 002CA0BC 48 07 24 4D */ bl DoPut__13COutputStreamFPCvUl -/* 802CD160 002CA0C0 80 1E 00 00 */ lwz r0, 0(r30) -/* 802CD164 002CA0C4 3B FE 00 04 */ addi r31, r30, 4 -/* 802CD168 002CA0C8 54 00 18 38 */ slwi r0, r0, 3 -/* 802CD16C 002CA0CC 7F DE 02 14 */ add r30, r30, r0 -/* 802CD170 002CA0D0 3B DE 00 04 */ addi r30, r30, 4 -/* 802CD174 002CA0D4 48 00 00 58 */ b lbl_802CD1CC -lbl_802CD178: -/* 802CD178 002CA0D8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802CD17C 002CA0DC 7F A3 EB 78 */ mr r3, r29 -/* 802CD180 002CA0E0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802CD184 002CA0E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CD188 002CA0E8 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CD18C 002CA0EC 48 07 23 2D */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD190 002CA0F0 7F A3 EB 78 */ mr r3, r29 -/* 802CD194 002CA0F4 38 81 00 0C */ addi r4, r1, 0xc -/* 802CD198 002CA0F8 38 A0 00 04 */ li r5, 4 -/* 802CD19C 002CA0FC 48 07 24 0D */ bl DoPut__13COutputStreamFPCvUl -/* 802CD1A0 002CA100 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802CD1A4 002CA104 7F A3 EB 78 */ mr r3, r29 -/* 802CD1A8 002CA108 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802CD1AC 002CA10C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802CD1B0 002CA110 90 01 00 08 */ stw r0, 8(r1) -/* 802CD1B4 002CA114 48 07 23 05 */ bl FlushShiftRegister__13COutputStreamFv -/* 802CD1B8 002CA118 7F A3 EB 78 */ mr r3, r29 -/* 802CD1BC 002CA11C 38 81 00 08 */ addi r4, r1, 8 -/* 802CD1C0 002CA120 38 A0 00 04 */ li r5, 4 -/* 802CD1C4 002CA124 48 07 23 E5 */ bl DoPut__13COutputStreamFPCvUl -/* 802CD1C8 002CA128 3B FF 00 08 */ addi r31, r31, 8 -lbl_802CD1CC: -/* 802CD1CC 002CA12C 7C 1F F0 40 */ cmplw r31, r30 -/* 802CD1D0 002CA130 40 82 FF A8 */ bne lbl_802CD178 -/* 802CD1D4 002CA134 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CD1D8 002CA138 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CD1DC 002CA13C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CD1E0 002CA140 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CD1E4 002CA144 7C 08 03 A6 */ mtlr r0 -/* 802CD1E8 002CA148 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CD1EC 002CA14C 4E 80 00 20 */ blr - -.global Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb -Create__13CAuiImagePaneFP9CGuiFrameR12CInputStreamb: -/* 802CD1F0 002CA150 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802CD1F4 002CA154 7C 08 02 A6 */ mflr r0 -/* 802CD1F8 002CA158 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802CD1FC 002CA15C DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802CD200 002CA160 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802CD204 002CA164 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 802CD208 002CA168 7C 7D 1B 78 */ mr r29, r3 -/* 802CD20C 002CA16C 7C 9E 23 78 */ mr r30, r4 -/* 802CD210 002CA170 7C BF 2B 78 */ mr r31, r5 -/* 802CD214 002CA174 38 61 00 14 */ addi r3, r1, 0x14 -/* 802CD218 002CA178 7F A4 EB 78 */ mr r4, r29 -/* 802CD21C 002CA17C 7F C5 F3 78 */ mr r5, r30 -/* 802CD220 002CA180 4B FF DB 31 */ bl ReadWidgetHeader__10CGuiWidgetFP9CGuiFrameR12CInputStreamb -/* 802CD224 002CA184 83 81 00 14 */ lwz r28, 0x14(r1) -/* 802CD228 002CA188 7F C3 F3 78 */ mr r3, r30 -/* 802CD22C 002CA18C 89 81 00 18 */ lbz r12, 0x18(r1) -/* 802CD230 002CA190 A9 61 00 1A */ lha r11, 0x1a(r1) -/* 802CD234 002CA194 A9 41 00 1C */ lha r10, 0x1c(r1) -/* 802CD238 002CA198 89 21 00 1E */ lbz r9, 0x1e(r1) -/* 802CD23C 002CA19C 89 01 00 1F */ lbz r8, 0x1f(r1) -/* 802CD240 002CA1A0 88 E1 00 20 */ lbz r7, 0x20(r1) -/* 802CD244 002CA1A4 88 C1 00 21 */ lbz r6, 0x21(r1) -/* 802CD248 002CA1A8 88 A1 00 22 */ lbz r5, 0x22(r1) -/* 802CD24C 002CA1AC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802CD250 002CA1B0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802CD254 002CA1B4 93 81 00 2C */ stw r28, 0x2c(r1) -/* 802CD258 002CA1B8 99 81 00 30 */ stb r12, 0x30(r1) -/* 802CD25C 002CA1BC B1 61 00 32 */ sth r11, 0x32(r1) -/* 802CD260 002CA1C0 B1 41 00 34 */ sth r10, 0x34(r1) -/* 802CD264 002CA1C4 99 21 00 36 */ stb r9, 0x36(r1) -/* 802CD268 002CA1C8 99 01 00 37 */ stb r8, 0x37(r1) -/* 802CD26C 002CA1CC 98 E1 00 38 */ stb r7, 0x38(r1) -/* 802CD270 002CA1D0 98 C1 00 39 */ stb r6, 0x39(r1) -/* 802CD274 002CA1D4 98 A1 00 3A */ stb r5, 0x3a(r1) -/* 802CD278 002CA1D8 90 81 00 3C */ stw r4, 0x3c(r1) -/* 802CD27C 002CA1DC 90 01 00 40 */ stw r0, 0x40(r1) -/* 802CD280 002CA1E0 48 07 1A 05 */ bl ReadLong__12CInputStreamFv -/* 802CD284 002CA1E4 7F C3 F3 78 */ mr r3, r30 -/* 802CD288 002CA1E8 48 07 19 FD */ bl ReadLong__12CInputStreamFv -/* 802CD28C 002CA1EC 7F C3 F3 78 */ mr r3, r30 -/* 802CD290 002CA1F0 48 07 19 F5 */ bl ReadLong__12CInputStreamFv -/* 802CD294 002CA1F4 7F C3 F3 78 */ mr r3, r30 -/* 802CD298 002CA1F8 48 07 19 ED */ bl ReadLong__12CInputStreamFv -/* 802CD29C 002CA1FC 90 61 00 68 */ stw r3, 0x68(r1) -/* 802CD2A0 002CA200 3B 61 00 6C */ addi r27, r1, 0x6c -/* 802CD2A4 002CA204 3B 80 00 00 */ li r28, 0 -/* 802CD2A8 002CA208 48 00 00 38 */ b lbl_802CD2E0 -lbl_802CD2AC: -/* 802CD2AC 002CA20C 7F C4 F3 78 */ mr r4, r30 -/* 802CD2B0 002CA210 38 61 00 08 */ addi r3, r1, 8 -/* 802CD2B4 002CA214 48 04 78 D9 */ bl __ct__9CVector3fFR12CInputStream -/* 802CD2B8 002CA218 28 1B 00 00 */ cmplwi r27, 0 -/* 802CD2BC 002CA21C 41 82 00 1C */ beq lbl_802CD2D8 -/* 802CD2C0 002CA220 C0 01 00 08 */ lfs f0, 8(r1) -/* 802CD2C4 002CA224 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802CD2C8 002CA228 D0 1B 00 00 */ stfs f0, 0(r27) -/* 802CD2CC 002CA22C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802CD2D0 002CA230 D0 3B 00 04 */ stfs f1, 4(r27) -/* 802CD2D4 002CA234 D0 1B 00 08 */ stfs f0, 8(r27) -lbl_802CD2D8: -/* 802CD2D8 002CA238 3B 7B 00 0C */ addi r27, r27, 0xc -/* 802CD2DC 002CA23C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802CD2E0: -/* 802CD2E0 002CA240 80 01 00 68 */ lwz r0, 0x68(r1) -/* 802CD2E4 002CA244 7C 1C 00 00 */ cmpw r28, r0 -/* 802CD2E8 002CA248 41 80 FF C4 */ blt lbl_802CD2AC -/* 802CD2EC 002CA24C 7F C3 F3 78 */ mr r3, r30 -/* 802CD2F0 002CA250 48 07 19 95 */ bl ReadLong__12CInputStreamFv -/* 802CD2F4 002CA254 90 61 00 44 */ stw r3, 0x44(r1) -/* 802CD2F8 002CA258 3B 61 00 48 */ addi r27, r1, 0x48 -/* 802CD2FC 002CA25C 3B 80 00 00 */ li r28, 0 -/* 802CD300 002CA260 48 00 00 30 */ b lbl_802CD330 -lbl_802CD304: -/* 802CD304 002CA264 7F C3 F3 78 */ mr r3, r30 -/* 802CD308 002CA268 48 07 19 21 */ bl ReadFloat__12CInputStreamFv -/* 802CD30C 002CA26C FF E0 08 90 */ fmr f31, f1 -/* 802CD310 002CA270 7F C3 F3 78 */ mr r3, r30 -/* 802CD314 002CA274 48 07 19 15 */ bl ReadFloat__12CInputStreamFv -/* 802CD318 002CA278 28 1B 00 00 */ cmplwi r27, 0 -/* 802CD31C 002CA27C 41 82 00 0C */ beq lbl_802CD328 -/* 802CD320 002CA280 D3 FB 00 00 */ stfs f31, 0(r27) -/* 802CD324 002CA284 D0 3B 00 04 */ stfs f1, 4(r27) -lbl_802CD328: -/* 802CD328 002CA288 3B 7B 00 08 */ addi r27, r27, 8 -/* 802CD32C 002CA28C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802CD330: -/* 802CD330 002CA290 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CD334 002CA294 7C 1C 00 00 */ cmpw r28, r0 -/* 802CD338 002CA298 41 80 FF CC */ blt lbl_802CD304 -/* 802CD33C 002CA29C 3C 80 80 3D */ lis r4, lbl_803D69E0@ha -/* 802CD340 002CA2A0 38 60 01 54 */ li r3, 0x154 -/* 802CD344 002CA2A4 38 84 69 E0 */ addi r4, r4, lbl_803D69E0@l -/* 802CD348 002CA2A8 38 A0 00 00 */ li r5, 0 -/* 802CD34C 002CA2AC 48 04 85 21 */ bl __nw__FUlPCcPCc -/* 802CD350 002CA2B0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802CD354 002CA2B4 41 82 00 28 */ beq lbl_802CD37C -/* 802CD358 002CA2B8 7F E5 FB 78 */ mr r5, r31 -/* 802CD35C 002CA2BC 38 81 00 2C */ addi r4, r1, 0x2c -/* 802CD360 002CA2C0 39 01 00 68 */ addi r8, r1, 0x68 -/* 802CD364 002CA2C4 39 21 00 44 */ addi r9, r1, 0x44 -/* 802CD368 002CA2C8 38 C0 FF FF */ li r6, -1 -/* 802CD36C 002CA2CC 38 E0 FF FF */ li r7, -1 -/* 802CD370 002CA2D0 39 40 00 01 */ li r10, 1 -/* 802CD374 002CA2D4 4B FF FB 59 */ bl "__ct__13CAuiImagePaneFRCQ210CGuiWidget15CGuiWidgetParmsUiUiRCQ24rstl29reserved_vector<9CVector3f,4>RCQ24rstl29reserved_vector<9CVector2f,4>b" -/* 802CD378 002CA2D8 7C 7C 1B 78 */ mr r28, r3 -lbl_802CD37C: -/* 802CD37C 002CA2DC 7F 83 E3 78 */ mr r3, r28 -/* 802CD380 002CA2E0 7F A4 EB 78 */ mr r4, r29 -/* 802CD384 002CA2E4 7F C5 F3 78 */ mr r5, r30 -/* 802CD388 002CA2E8 38 C1 00 2C */ addi r6, r1, 0x2c -/* 802CD38C 002CA2EC 4B FF D6 FD */ bl ParseBaseInfo__10CGuiWidgetFP9CGuiFrameR12CInputStreamRCQ210CGuiWidget15CGuiWidgetParms -/* 802CD390 002CA2F0 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 802CD394 002CA2F4 38 60 00 00 */ li r3, 0 -/* 802CD398 002CA2F8 2C 05 00 00 */ cmpwi r5, 0 -/* 802CD39C 002CA2FC 40 81 00 40 */ ble lbl_802CD3DC -/* 802CD3A0 002CA300 2C 05 00 08 */ cmpwi r5, 8 -/* 802CD3A4 002CA304 38 85 FF F8 */ addi r4, r5, -8 -/* 802CD3A8 002CA308 40 81 00 20 */ ble lbl_802CD3C8 -/* 802CD3AC 002CA30C 38 04 00 07 */ addi r0, r4, 7 -/* 802CD3B0 002CA310 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CD3B4 002CA314 7C 09 03 A6 */ mtctr r0 -/* 802CD3B8 002CA318 2C 04 00 00 */ cmpwi r4, 0 -/* 802CD3BC 002CA31C 40 81 00 0C */ ble lbl_802CD3C8 -lbl_802CD3C0: -/* 802CD3C0 002CA320 38 63 00 08 */ addi r3, r3, 8 -/* 802CD3C4 002CA324 42 00 FF FC */ bdnz lbl_802CD3C0 -lbl_802CD3C8: -/* 802CD3C8 002CA328 7C 03 28 50 */ subf r0, r3, r5 -/* 802CD3CC 002CA32C 7C 09 03 A6 */ mtctr r0 -/* 802CD3D0 002CA330 7C 03 28 00 */ cmpw r3, r5 -/* 802CD3D4 002CA334 40 80 00 08 */ bge lbl_802CD3DC -lbl_802CD3D8: -/* 802CD3D8 002CA338 42 00 00 00 */ bdnz lbl_802CD3D8 -lbl_802CD3DC: -/* 802CD3DC 002CA33C 80 A1 00 68 */ lwz r5, 0x68(r1) -/* 802CD3E0 002CA340 38 60 00 00 */ li r3, 0 -/* 802CD3E4 002CA344 90 61 00 44 */ stw r3, 0x44(r1) -/* 802CD3E8 002CA348 2C 05 00 00 */ cmpwi r5, 0 -/* 802CD3EC 002CA34C 40 81 00 40 */ ble lbl_802CD42C -/* 802CD3F0 002CA350 2C 05 00 08 */ cmpwi r5, 8 -/* 802CD3F4 002CA354 38 85 FF F8 */ addi r4, r5, -8 -/* 802CD3F8 002CA358 40 81 00 20 */ ble lbl_802CD418 -/* 802CD3FC 002CA35C 38 04 00 07 */ addi r0, r4, 7 -/* 802CD400 002CA360 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CD404 002CA364 7C 09 03 A6 */ mtctr r0 -/* 802CD408 002CA368 2C 04 00 00 */ cmpwi r4, 0 -/* 802CD40C 002CA36C 40 81 00 0C */ ble lbl_802CD418 -lbl_802CD410: -/* 802CD410 002CA370 38 63 00 08 */ addi r3, r3, 8 -/* 802CD414 002CA374 42 00 FF FC */ bdnz lbl_802CD410 -lbl_802CD418: -/* 802CD418 002CA378 7C 03 28 50 */ subf r0, r3, r5 -/* 802CD41C 002CA37C 7C 09 03 A6 */ mtctr r0 -/* 802CD420 002CA380 7C 03 28 00 */ cmpw r3, r5 -/* 802CD424 002CA384 40 80 00 08 */ bge lbl_802CD42C -lbl_802CD428: -/* 802CD428 002CA388 42 00 00 00 */ bdnz lbl_802CD428 -lbl_802CD42C: -/* 802CD42C 002CA38C 38 00 00 00 */ li r0, 0 -/* 802CD430 002CA390 7F 83 E3 78 */ mr r3, r28 -/* 802CD434 002CA394 90 01 00 68 */ stw r0, 0x68(r1) -/* 802CD438 002CA398 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802CD43C 002CA39C CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802CD440 002CA3A0 BB 61 00 AC */ lmw r27, 0xac(r1) -/* 802CD444 002CA3A4 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802CD448 002CA3A8 7C 08 03 A6 */ mtlr r0 -/* 802CD44C 002CA3AC 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802CD450 002CA3B0 4E 80 00 20 */ blr - -.global Update__Q214CGuiTableGroup12CRepeatStateFfb -Update__Q214CGuiTableGroup12CRepeatStateFfb: -/* 802CD454 002CA3B4 C0 42 C4 70 */ lfs f2, lbl_805AE190@sda21(r2) -/* 802CD458 002CA3B8 38 A0 00 00 */ li r5, 0 -/* 802CD45C 002CA3BC C0 03 00 00 */ lfs f0, 0(r3) -/* 802CD460 002CA3C0 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 802CD464 002CA3C4 40 82 00 1C */ bne lbl_802CD480 -/* 802CD468 002CA3C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802CD46C 002CA3CC 41 82 00 48 */ beq lbl_802CD4B4 -/* 802CD470 002CA3D0 C0 02 C4 74 */ lfs f0, lbl_805AE194@sda21(r2) -/* 802CD474 002CA3D4 38 A0 00 01 */ li r5, 1 -/* 802CD478 002CA3D8 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CD47C 002CA3DC 48 00 00 38 */ b lbl_802CD4B4 -lbl_802CD480: -/* 802CD480 002CA3E0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802CD484 002CA3E4 41 82 00 2C */ beq lbl_802CD4B0 -/* 802CD488 002CA3E8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802CD48C 002CA3EC D0 03 00 00 */ stfs f0, 0(r3) -/* 802CD490 002CA3F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 802CD494 002CA3F4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802CD498 002CA3F8 4C 40 13 82 */ cror 2, 0, 2 -/* 802CD49C 002CA3FC 40 82 00 18 */ bne lbl_802CD4B4 -/* 802CD4A0 002CA400 C0 02 C4 78 */ lfs f0, lbl_805AE198@sda21(r2) -/* 802CD4A4 002CA404 38 A0 00 01 */ li r5, 1 -/* 802CD4A8 002CA408 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CD4AC 002CA40C 48 00 00 08 */ b lbl_802CD4B4 -lbl_802CD4B0: -/* 802CD4B0 002CA410 D0 43 00 00 */ stfs f2, 0(r3) -lbl_802CD4B4: -/* 802CD4B4 002CA414 54 A3 06 3E */ clrlwi r3, r5, 0x18 -/* 802CD4B8 002CA418 4E 80 00 20 */ blr - -.global sub_802cd4bc -sub_802cd4bc: -/* 802CD4BC 002CA41C C0 02 C4 70 */ lfs f0, lbl_805AE190@sda21(r2) -/* 802CD4C0 002CA420 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CD4C4 002CA424 4E 80 00 20 */ blr - -.global GetTableIndex__16CCollidableAABoxCFv -GetTableIndex__16CCollidableAABoxCFv: -/* 802CD4C8 002CA428 80 6D 9B 28 */ lwz r3, lbl_805A86E8@sda21(r13) -/* 802CD4CC 002CA42C 4E 80 00 20 */ blr - -.global GetPrimType__16CCollidableAABoxCFv -GetPrimType__16CCollidableAABoxCFv: -/* 802CD4D0 002CA430 3C 60 41 41 */ lis r3, 0x41414258@ha -/* 802CD4D4 002CA434 38 63 42 58 */ addi r3, r3, 0x41414258@l -/* 802CD4D8 002CA438 4E 80 00 20 */ blr - -.global Transform__16CCollidableAABoxCFRC12CTransform4f -Transform__16CCollidableAABoxCFRC12CTransform4f: -/* 802CD4DC 002CA43C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CD4E0 002CA440 7C 08 02 A6 */ mflr r0 -/* 802CD4E4 002CA444 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CD4E8 002CA448 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 802CD4EC 002CA44C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802CD4F0 002CA450 C0 24 00 24 */ lfs f1, 0x24(r4) -/* 802CD4F4 002CA454 EC 60 10 2A */ fadds f3, f0, f2 -/* 802CD4F8 002CA458 C0 E5 00 1C */ lfs f7, 0x1c(r5) -/* 802CD4FC 002CA45C EC 81 10 2A */ fadds f4, f1, f2 -/* 802CD500 002CA460 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802CD504 002CA464 C0 C5 00 0C */ lfs f6, 0xc(r5) -/* 802CD508 002CA468 38 A1 00 08 */ addi r5, r1, 8 -/* 802CD50C 002CA46C EC A0 38 2A */ fadds f5, f0, f7 -/* 802CD510 002CA470 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 802CD514 002CA474 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 802CD518 002CA478 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802CD51C 002CA47C EC 42 30 2A */ fadds f2, f2, f6 -/* 802CD520 002CA480 EC 21 38 2A */ fadds f1, f1, f7 -/* 802CD524 002CA484 EC 00 30 2A */ fadds f0, f0, f6 -/* 802CD528 002CA488 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802CD52C 002CA48C 38 81 00 14 */ addi r4, r1, 0x14 -/* 802CD530 002CA490 D0 41 00 08 */ stfs f2, 8(r1) -/* 802CD534 002CA494 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802CD538 002CA498 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802CD53C 002CA49C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802CD540 002CA4A0 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802CD544 002CA4A4 48 06 AF C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802CD548 002CA4A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CD54C 002CA4AC 7C 08 03 A6 */ mtlr r0 -/* 802CD550 002CA4B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CD554 002CA4B4 4E 80 00 20 */ blr - -.global CalculateAABox__16CCollidableAABoxCFRC12CTransform4f -CalculateAABox__16CCollidableAABoxCFRC12CTransform4f: -/* 802CD558 002CA4B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CD55C 002CA4BC 7C 08 02 A6 */ mflr r0 -/* 802CD560 002CA4C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CD564 002CA4C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CD568 002CA4C8 7C 7F 1B 78 */ mr r31, r3 -/* 802CD56C 002CA4CC 4B FF FF 71 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CD570 002CA4D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CD574 002CA4D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CD578 002CA4D8 7C 08 03 A6 */ mtlr r0 -/* 802CD57C 002CA4DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CD580 002CA4E0 4E 80 00 20 */ blr - -.global CalculateLocalAABox__16CCollidableAABoxCFv -CalculateLocalAABox__16CCollidableAABoxCFv: -/* 802CD584 002CA4E4 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802CD588 002CA4E8 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CD58C 002CA4EC C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802CD590 002CA4F0 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CD594 002CA4F4 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802CD598 002CA4F8 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CD59C 002CA4FC C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802CD5A0 002CA500 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CD5A4 002CA504 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802CD5A8 002CA508 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802CD5AC 002CA50C C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802CD5B0 002CA510 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CD5B4 002CA514 4E 80 00 20 */ blr - -.global CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure -CastRayInternal__16CCollidableAABoxCFRC25CInternalRayCastStructure: -/* 802CD5B8 002CA518 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 802CD5BC 002CA51C 7C 08 02 A6 */ mflr r0 -/* 802CD5C0 002CA520 90 01 01 84 */ stw r0, 0x184(r1) -/* 802CD5C4 002CA524 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 802CD5C8 002CA528 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 802CD5CC 002CA52C DB C1 01 60 */ stfd f30, 0x160(r1) -/* 802CD5D0 002CA530 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 802CD5D4 002CA534 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 802CD5D8 002CA538 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 802CD5DC 002CA53C DB 81 01 40 */ stfd f28, 0x140(r1) -/* 802CD5E0 002CA540 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 802CD5E4 002CA544 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 802CD5E8 002CA548 93 C1 01 38 */ stw r30, 0x138(r1) -/* 802CD5EC 002CA54C 93 A1 01 34 */ stw r29, 0x134(r1) -/* 802CD5F0 002CA550 93 81 01 30 */ stw r28, 0x130(r1) -/* 802CD5F4 002CA554 7C 9C 23 78 */ mr r28, r4 -/* 802CD5F8 002CA558 7C 7F 1B 78 */ mr r31, r3 -/* 802CD5FC 002CA55C 7F 83 E3 78 */ mr r3, r28 -/* 802CD600 002CA560 7C BD 2B 78 */ mr r29, r5 -/* 802CD604 002CA564 81 9C 00 00 */ lwz r12, 0(r28) -/* 802CD608 002CA568 83 C5 00 6C */ lwz r30, 0x6c(r5) -/* 802CD60C 002CA56C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CD610 002CA570 7D 89 03 A6 */ mtctr r12 -/* 802CD614 002CA574 4E 80 04 21 */ bctrl -/* 802CD618 002CA578 7C 64 1B 78 */ mr r4, r3 -/* 802CD61C 002CA57C 7F C3 F3 78 */ mr r3, r30 -/* 802CD620 002CA580 48 00 7D 2D */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CD624 002CA584 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CD628 002CA588 40 82 00 64 */ bne lbl_802CD68C -/* 802CD62C 002CA58C C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) -/* 802CD630 002CA590 38 61 00 24 */ addi r3, r1, 0x24 -/* 802CD634 002CA594 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) -/* 802CD638 002CA598 D0 3F 00 00 */ stfs f1, 0(r31) -/* 802CD63C 002CA59C D0 3F 00 04 */ stfs f1, 4(r31) -/* 802CD640 002CA5A0 D0 3F 00 08 */ stfs f1, 8(r31) -/* 802CD644 002CA5A4 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 802CD648 002CA5A8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802CD64C 002CA5AC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802CD650 002CA5B0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802CD654 002CA5B4 48 04 72 A5 */ bl Normalize__9CVector3fFv -/* 802CD658 002CA5B8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802CD65C 002CA5BC 38 00 00 00 */ li r0, 0 -/* 802CD660 002CA5C0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) -/* 802CD664 002CA5C4 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 802CD668 002CA5C8 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802CD66C 002CA5CC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 802CD670 002CA5D0 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802CD674 002CA5D4 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 802CD678 002CA5D8 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802CD67C 002CA5DC 98 1F 00 20 */ stb r0, 0x20(r31) -/* 802CD680 002CA5E0 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802CD684 002CA5E4 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802CD688 002CA5E8 48 00 02 7C */ b lbl_802CD904 -lbl_802CD68C: -/* 802CD68C 002CA5EC 38 61 01 00 */ addi r3, r1, 0x100 -/* 802CD690 002CA5F0 38 9D 00 3C */ addi r4, r29, 0x3c -/* 802CD694 002CA5F4 48 04 54 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CD698 002CA5F8 38 61 00 6C */ addi r3, r1, 0x6c -/* 802CD69C 002CA5FC 38 9D 00 3C */ addi r4, r29, 0x3c -/* 802CD6A0 002CA600 48 04 55 FD */ bl GetQuickInverse__12CTransform4fCFv -/* 802CD6A4 002CA604 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802CD6A8 002CA608 38 81 00 6C */ addi r4, r1, 0x6c -/* 802CD6AC 002CA60C 48 04 54 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CD6B0 002CA610 7F A5 EB 78 */ mr r5, r29 -/* 802CD6B4 002CA614 38 61 00 3C */ addi r3, r1, 0x3c -/* 802CD6B8 002CA618 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 802CD6BC 002CA61C 48 04 54 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802CD6C0 002CA620 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 802CD6C4 002CA624 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CD6C8 002CA628 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 802CD6CC 002CA62C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 802CD6D0 002CA630 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802CD6D4 002CA634 38 BD 00 2C */ addi r5, r29, 0x2c -/* 802CD6D8 002CA638 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802CD6DC 002CA63C D0 21 00 64 */ stfs f1, 0x64(r1) -/* 802CD6E0 002CA640 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 802CD6E4 002CA644 48 04 53 9D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 802CD6E8 002CA648 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802CD6EC 002CA64C 38 7C 00 10 */ addi r3, r28, 0x10 -/* 802CD6F0 002CA650 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802CD6F4 002CA654 38 81 00 60 */ addi r4, r1, 0x60 -/* 802CD6F8 002CA658 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802CD6FC 002CA65C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 802CD700 002CA660 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 802CD704 002CA664 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802CD708 002CA668 C3 FD 00 38 */ lfs f31, 0x38(r29) -/* 802CD70C 002CA66C 38 E1 00 10 */ addi r7, r1, 0x10 -/* 802CD710 002CA670 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 802CD714 002CA674 39 01 00 0C */ addi r8, r1, 0xc -/* 802CD718 002CA678 39 21 00 08 */ addi r9, r1, 8 -/* 802CD71C 002CA67C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 802CD720 002CA680 48 00 44 89 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb -/* 802CD724 002CA684 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CD728 002CA688 41 82 00 24 */ beq lbl_802CD74C -/* 802CD72C 002CA68C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802CD730 002CA690 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) -/* 802CD734 002CA694 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CD738 002CA698 41 80 00 14 */ blt lbl_802CD74C -/* 802CD73C 002CA69C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802CD740 002CA6A0 40 81 00 6C */ ble lbl_802CD7AC -/* 802CD744 002CA6A4 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 802CD748 002CA6A8 40 81 00 64 */ ble lbl_802CD7AC -lbl_802CD74C: -/* 802CD74C 002CA6AC C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) -/* 802CD750 002CA6B0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CD754 002CA6B4 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) -/* 802CD758 002CA6B8 D0 3F 00 00 */ stfs f1, 0(r31) -/* 802CD75C 002CA6BC D0 3F 00 04 */ stfs f1, 4(r31) -/* 802CD760 002CA6C0 D0 3F 00 08 */ stfs f1, 8(r31) -/* 802CD764 002CA6C4 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 802CD768 002CA6C8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802CD76C 002CA6CC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802CD770 002CA6D0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802CD774 002CA6D4 48 04 71 85 */ bl Normalize__9CVector3fFv -/* 802CD778 002CA6D8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802CD77C 002CA6DC 38 00 00 00 */ li r0, 0 -/* 802CD780 002CA6E0 C0 02 C4 80 */ lfs f0, lbl_805AE1A0@sda21(r2) -/* 802CD784 002CA6E4 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 802CD788 002CA6E8 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802CD78C 002CA6EC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 802CD790 002CA6F0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802CD794 002CA6F4 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 802CD798 002CA6F8 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802CD79C 002CA6FC 98 1F 00 20 */ stb r0, 0x20(r31) -/* 802CD7A0 002CA700 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802CD7A4 002CA704 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802CD7A8 002CA708 48 00 01 5C */ b lbl_802CD904 -lbl_802CD7AC: -/* 802CD7AC 002CA70C 88 01 00 08 */ lbz r0, 8(r1) -/* 802CD7B0 002CA710 28 00 00 00 */ cmplwi r0, 0 -/* 802CD7B4 002CA714 41 82 00 0C */ beq lbl_802CD7C0 -/* 802CD7B8 002CA718 C0 62 C4 84 */ lfs f3, lbl_805AE1A4@sda21(r2) -/* 802CD7BC 002CA71C 48 00 00 08 */ b lbl_802CD7C4 -lbl_802CD7C0: -/* 802CD7C0 002CA720 C0 62 C4 88 */ lfs f3, lbl_805AE1A8@sda21(r2) -lbl_802CD7C4: -/* 802CD7C4 002CA724 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802CD7C8 002CA728 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802CD7CC 002CA72C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802CD7D0 002CA730 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CD7D4 002CA734 C0 44 00 00 */ lfs f2, 0(r4) -/* 802CD7D8 002CA738 54 A0 10 3A */ slwi r0, r5, 2 -/* 802CD7DC 002CA73C C0 24 00 04 */ lfs f1, 4(r4) -/* 802CD7E0 002CA740 2C 05 00 00 */ cmpwi r5, 0 -/* 802CD7E4 002CA744 C0 04 00 08 */ lfs f0, 8(r4) -/* 802CD7E8 002CA748 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 802CD7EC 002CA74C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 802CD7F0 002CA750 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802CD7F4 002CA754 7C 63 05 2E */ stfsx f3, r3, r0 -/* 802CD7F8 002CA758 C3 C1 00 48 */ lfs f30, 0x48(r1) -/* 802CD7FC 002CA75C C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 802CD800 002CA760 C3 81 00 50 */ lfs f28, 0x50(r1) -/* 802CD804 002CA764 41 82 00 10 */ beq lbl_802CD814 -/* 802CD808 002CA768 7C 7C 02 14 */ add r3, r28, r0 -/* 802CD80C 002CA76C C3 E3 00 10 */ lfs f31, 0x10(r3) -/* 802CD810 002CA770 48 00 00 10 */ b lbl_802CD820 -lbl_802CD814: -/* 802CD814 002CA774 7C 7C 02 14 */ add r3, r28, r0 -/* 802CD818 002CA778 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 802CD81C 002CA77C FF E0 00 50 */ fneg f31, f0 -lbl_802CD820: -/* 802CD820 002CA780 7F 83 E3 78 */ mr r3, r28 -/* 802CD824 002CA784 81 9C 00 00 */ lwz r12, 0(r28) -/* 802CD828 002CA788 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CD82C 002CA78C 7D 89 03 A6 */ mtctr r12 -/* 802CD830 002CA790 4E 80 04 21 */ bctrl -/* 802CD834 002CA794 C0 C1 00 14 */ lfs f6, 0x14(r1) -/* 802CD838 002CA798 38 00 00 01 */ li r0, 1 -/* 802CD83C 002CA79C C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802CD840 002CA7A0 38 81 01 00 */ addi r4, r1, 0x100 -/* 802CD844 002CA7A4 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802CD848 002CA7A8 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802CD84C 002CA7AC EC 86 00 B2 */ fmuls f4, f6, f2 -/* 802CD850 002CA7B0 C0 A1 00 64 */ lfs f5, 0x64(r1) -/* 802CD854 002CA7B4 EC 46 00 72 */ fmuls f2, f6, f1 -/* 802CD858 002CA7B8 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 802CD85C 002CA7BC EC 06 00 32 */ fmuls f0, f6, f0 -/* 802CD860 002CA7C0 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 802CD864 002CA7C4 EC 85 20 2A */ fadds f4, f5, f4 -/* 802CD868 002CA7C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1) -/* 802CD86C 002CA7CC EC 43 10 2A */ fadds f2, f3, f2 -/* 802CD870 002CA7D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802CD874 002CA7D4 D3 C1 00 B0 */ stfs f30, 0xb0(r1) -/* 802CD878 002CA7D8 D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 802CD87C 002CA7DC D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 802CD880 002CA7E0 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 802CD884 002CA7E4 D3 A1 00 B4 */ stfs f29, 0xb4(r1) -/* 802CD888 002CA7E8 D3 81 00 B8 */ stfs f28, 0xb8(r1) -/* 802CD88C 002CA7EC D3 E1 00 BC */ stfs f31, 0xbc(r1) -/* 802CD890 002CA7F0 98 01 00 C0 */ stb r0, 0xc0(r1) -/* 802CD894 002CA7F4 80 03 00 00 */ lwz r0, 0(r3) -/* 802CD898 002CA7F8 80 A3 00 04 */ lwz r5, 4(r3) -/* 802CD89C 002CA7FC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 802CD8A0 002CA800 90 A1 00 CC */ stw r5, 0xcc(r1) -/* 802CD8A4 002CA804 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 802CD8A8 002CA808 4B FE 00 09 */ bl Transform__14CRayCastResultFRC12CTransform4f -/* 802CD8AC 002CA80C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 802CD8B0 002CA810 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802CD8B4 002CA814 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 802CD8B8 002CA818 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802CD8BC 002CA81C C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 802CD8C0 002CA820 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802CD8C4 002CA824 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 802CD8C8 002CA828 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 802CD8CC 002CA82C C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 802CD8D0 002CA830 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 802CD8D4 002CA834 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 802CD8D8 002CA838 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 802CD8DC 002CA83C C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 802CD8E0 002CA840 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 802CD8E4 002CA844 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 802CD8E8 002CA848 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802CD8EC 002CA84C 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 802CD8F0 002CA850 98 1F 00 20 */ stb r0, 0x20(r31) -/* 802CD8F4 002CA854 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 802CD8F8 002CA858 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 802CD8FC 002CA85C 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 802CD900 002CA860 90 1F 00 28 */ stw r0, 0x28(r31) -lbl_802CD904: -/* 802CD904 002CA864 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 802CD908 002CA868 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 802CD90C 002CA86C E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 802CD910 002CA870 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 802CD914 002CA874 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 802CD918 002CA878 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 802CD91C 002CA87C E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 802CD920 002CA880 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 802CD924 002CA884 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 802CD928 002CA888 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 802CD92C 002CA88C 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 802CD930 002CA890 80 01 01 84 */ lwz r0, 0x184(r1) -/* 802CD934 002CA894 83 81 01 30 */ lwz r28, 0x130(r1) -/* 802CD938 002CA898 7C 08 03 A6 */ mtlr r0 -/* 802CD93C 002CA89C 38 21 01 80 */ addi r1, r1, 0x180 -/* 802CD940 002CA8A0 4E 80 00 20 */ blr - -.global CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802CD944 002CA8A4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802CD948 002CA8A8 7C 08 02 A6 */ mflr r0 -/* 802CD94C 002CA8AC 90 01 01 14 */ stw r0, 0x114(r1) -/* 802CD950 002CA8B0 BF 41 00 F8 */ stmw r26, 0xf8(r1) -/* 802CD954 002CA8B4 7C 7A 1B 78 */ mr r26, r3 -/* 802CD958 002CA8B8 7C BC 2B 78 */ mr r28, r5 -/* 802CD95C 002CA8BC 7C 9B 23 78 */ mr r27, r4 -/* 802CD960 002CA8C0 7C DF 33 78 */ mr r31, r6 -/* 802CD964 002CA8C4 38 BA 00 08 */ addi r5, r26, 8 -/* 802CD968 002CA8C8 83 A3 00 00 */ lwz r29, 0(r3) -/* 802CD96C 002CA8CC 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CD970 002CA8D0 83 DA 00 38 */ lwz r30, 0x38(r26) -/* 802CD974 002CA8D4 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CD978 002CA8D8 7F A4 EB 78 */ mr r4, r29 -/* 802CD97C 002CA8DC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802CD980 002CA8E0 7D 89 03 A6 */ mtctr r12 -/* 802CD984 002CA8E4 4E 80 04 21 */ bctrl -/* 802CD988 002CA8E8 C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 802CD98C 002CA8EC 7F C4 F3 78 */ mr r4, r30 -/* 802CD990 002CA8F0 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 802CD994 002CA8F4 38 61 00 28 */ addi r3, r1, 0x28 -/* 802CD998 002CA8F8 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 802CD99C 002CA8FC 38 BA 00 40 */ addi r5, r26, 0x40 -/* 802CD9A0 002CA900 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 802CD9A4 002CA904 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 802CD9A8 002CA908 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802CD9AC 002CA90C D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 802CD9B0 002CA910 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 802CD9B4 002CA914 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 802CD9B8 002CA918 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 802CD9BC 002CA91C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802CD9C0 002CA920 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 802CD9C4 002CA924 48 00 69 91 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802CD9C8 002CA928 C0 C1 00 28 */ lfs f6, 0x28(r1) -/* 802CD9CC 002CA92C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802CD9D0 002CA930 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802CD9D4 002CA934 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 802CD9D8 002CA938 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 802CD9DC 002CA93C 38 61 00 50 */ addi r3, r1, 0x50 -/* 802CD9E0 002CA940 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802CD9E4 002CA944 38 81 00 78 */ addi r4, r1, 0x78 -/* 802CD9E8 002CA948 C0 5B 00 08 */ lfs f2, 8(r27) -/* 802CD9EC 002CA94C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 802CD9F0 002CA950 C0 3B 00 04 */ lfs f1, 4(r27) -/* 802CD9F4 002CA954 38 C1 00 08 */ addi r6, r1, 8 -/* 802CD9F8 002CA958 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802CD9FC 002CA95C FC E0 10 50 */ fneg f7, f2 -/* 802CDA00 002CA960 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 802CDA04 002CA964 FC 40 08 50 */ fneg f2, f1 -/* 802CDA08 002CA968 FC 00 00 50 */ fneg f0, f0 -/* 802CDA0C 002CA96C C0 C8 00 00 */ lfs f6, 0(r8) -/* 802CDA10 002CA970 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 802CDA14 002CA974 C0 A8 00 04 */ lfs f5, 4(r8) -/* 802CDA18 002CA978 38 E1 00 44 */ addi r7, r1, 0x44 -/* 802CDA1C 002CA97C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 802CDA20 002CA980 C0 88 00 08 */ lfs f4, 8(r8) -/* 802CDA24 002CA984 39 01 00 38 */ addi r8, r1, 0x38 -/* 802CDA28 002CA988 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 802CDA2C 002CA98C C8 3C 00 00 */ lfd f1, 0(r28) -/* 802CDA30 002CA990 D8 21 00 08 */ stfd f1, 8(r1) -/* 802CDA34 002CA994 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 802CDA38 002CA998 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802CDA3C 002CA99C D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802CDA40 002CA9A0 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 802CDA44 002CA9A4 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 802CDA48 002CA9A8 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 802CDA4C 002CA9AC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802CDA50 002CA9B0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802CDA54 002CA9B4 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 802CDA58 002CA9B8 48 00 2A 39 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f -/* 802CDA5C 002CA9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CDA60 002CA9C0 41 82 01 78 */ beq lbl_802CDBD8 -/* 802CDA64 002CA9C4 C8 E1 00 08 */ lfd f7, 8(r1) -/* 802CDA68 002CA9C8 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802CDA6C 002CA9CC FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 802CDA70 002CA9D0 40 80 01 68 */ bge lbl_802CDBD8 -/* 802CDA74 002CA9D4 C0 C1 00 5C */ lfs f6, 0x5c(r1) -/* 802CDA78 002CA9D8 7F C3 F3 78 */ mr r3, r30 -/* 802CDA7C 002CA9DC C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 802CDA80 002CA9E0 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 802CDA84 002CA9E4 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802CDA88 002CA9E8 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 802CDA8C 002CA9EC C0 A1 00 54 */ lfs f5, 0x54(r1) -/* 802CDA90 002CA9F0 EC 46 00 72 */ fmuls f2, f6, f1 -/* 802CDA94 002CA9F4 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 802CDA98 002CA9F8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 802CDA9C 002CA9FC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802CDAA0 002CAA00 EC 85 20 28 */ fsubs f4, f5, f4 -/* 802CDAA4 002CAA04 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802CDAA8 002CAA08 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802CDAAC 002CAA0C D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802CDAB0 002CAA10 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802CDAB4 002CAA14 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802CDAB8 002CAA18 D8 FC 00 00 */ stfd f7, 0(r28) -/* 802CDABC 002CAA1C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802CDAC0 002CAA20 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 802CDAC4 002CAA24 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802CDAC8 002CAA28 FC 40 10 50 */ fneg f2, f2 -/* 802CDACC 002CAA2C FC 20 08 50 */ fneg f1, f1 -/* 802CDAD0 002CAA30 FC 00 00 50 */ fneg f0, f0 -/* 802CDAD4 002CAA34 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802CDAD8 002CAA38 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802CDADC 002CAA3C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802CDAE0 002CAA40 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CDAE4 002CAA44 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDAE8 002CAA48 7D 89 03 A6 */ mtctr r12 -/* 802CDAEC 002CAA4C 4E 80 04 21 */ bctrl -/* 802CDAF0 002CAA50 7C 7E 1B 78 */ mr r30, r3 -/* 802CDAF4 002CAA54 7F A3 EB 78 */ mr r3, r29 -/* 802CDAF8 002CAA58 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CDAFC 002CAA5C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDB00 002CAA60 7D 89 03 A6 */ mtctr r12 -/* 802CDB04 002CAA64 4E 80 04 21 */ bctrl -/* 802CDB08 002CAA68 7C 65 1B 78 */ mr r5, r3 -/* 802CDB0C 002CAA6C 7F C6 F3 78 */ mr r6, r30 -/* 802CDB10 002CAA70 38 61 00 90 */ addi r3, r1, 0x90 -/* 802CDB14 002CAA74 38 81 00 44 */ addi r4, r1, 0x44 -/* 802CDB18 002CAA78 38 E1 00 10 */ addi r7, r1, 0x10 -/* 802CDB1C 002CAA7C 48 00 09 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802CDB20 002CAA80 80 81 00 90 */ lwz r4, 0x90(r1) -/* 802CDB24 002CAA84 38 60 00 01 */ li r3, 1 -/* 802CDB28 002CAA88 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802CDB2C 002CAA8C 90 9F 00 00 */ stw r4, 0(r31) -/* 802CDB30 002CAA90 90 1F 00 04 */ stw r0, 4(r31) -/* 802CDB34 002CAA94 80 01 00 98 */ lwz r0, 0x98(r1) -/* 802CDB38 002CAA98 90 1F 00 08 */ stw r0, 8(r31) -/* 802CDB3C 002CAA9C 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 802CDB40 002CAAA0 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 802CDB44 002CAAA4 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802CDB48 002CAAA8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802CDB4C 002CAAAC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802CDB50 002CAAB0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802CDB54 002CAAB4 80 81 00 A8 */ lwz r4, 0xa8(r1) -/* 802CDB58 002CAAB8 80 01 00 AC */ lwz r0, 0xac(r1) -/* 802CDB5C 002CAABC 90 9F 00 18 */ stw r4, 0x18(r31) -/* 802CDB60 002CAAC0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802CDB64 002CAAC4 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 802CDB68 002CAAC8 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802CDB6C 002CAACC 80 81 00 B4 */ lwz r4, 0xb4(r1) -/* 802CDB70 002CAAD0 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 802CDB74 002CAAD4 90 9F 00 24 */ stw r4, 0x24(r31) -/* 802CDB78 002CAAD8 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802CDB7C 002CAADC 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 802CDB80 002CAAE0 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802CDB84 002CAAE4 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 802CDB88 002CAAE8 98 1F 00 30 */ stb r0, 0x30(r31) -/* 802CDB8C 002CAAEC 88 01 00 C1 */ lbz r0, 0xc1(r1) -/* 802CDB90 002CAAF0 98 1F 00 31 */ stb r0, 0x31(r31) -/* 802CDB94 002CAAF4 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 802CDB98 002CAAF8 D8 1F 00 38 */ stfd f0, 0x38(r31) -/* 802CDB9C 002CAAFC C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 802CDBA0 002CAB00 D8 1F 00 40 */ stfd f0, 0x40(r31) -/* 802CDBA4 002CAB04 80 81 00 D8 */ lwz r4, 0xd8(r1) -/* 802CDBA8 002CAB08 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 802CDBAC 002CAB0C 90 9F 00 48 */ stw r4, 0x48(r31) -/* 802CDBB0 002CAB10 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 802CDBB4 002CAB14 80 01 00 E0 */ lwz r0, 0xe0(r1) -/* 802CDBB8 002CAB18 90 1F 00 50 */ stw r0, 0x50(r31) -/* 802CDBBC 002CAB1C 80 81 00 E4 */ lwz r4, 0xe4(r1) -/* 802CDBC0 002CAB20 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 802CDBC4 002CAB24 90 9F 00 54 */ stw r4, 0x54(r31) -/* 802CDBC8 002CAB28 90 1F 00 58 */ stw r0, 0x58(r31) -/* 802CDBCC 002CAB2C 80 01 00 EC */ lwz r0, 0xec(r1) -/* 802CDBD0 002CAB30 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 802CDBD4 002CAB34 48 00 00 08 */ b lbl_802CDBDC -lbl_802CDBD8: -/* 802CDBD8 002CAB38 38 60 00 00 */ li r3, 0 -lbl_802CDBDC: -/* 802CDBDC 002CAB3C BB 41 00 F8 */ lmw r26, 0xf8(r1) -/* 802CDBE0 002CAB40 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802CDBE4 002CAB44 7C 08 03 A6 */ mtlr r0 -/* 802CDBE8 002CAB48 38 21 01 10 */ addi r1, r1, 0x110 -/* 802CDBEC 002CAB4C 4E 80 00 20 */ blr - -.global CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802CDBF0 002CAB50 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802CDBF4 002CAB54 7C 08 02 A6 */ mflr r0 -/* 802CDBF8 002CAB58 90 01 01 14 */ stw r0, 0x114(r1) -/* 802CDBFC 002CAB5C BF 41 00 F8 */ stmw r26, 0xf8(r1) -/* 802CDC00 002CAB60 7C 7A 1B 78 */ mr r26, r3 -/* 802CDC04 002CAB64 7C BC 2B 78 */ mr r28, r5 -/* 802CDC08 002CAB68 7C 9B 23 78 */ mr r27, r4 -/* 802CDC0C 002CAB6C 7C DF 33 78 */ mr r31, r6 -/* 802CDC10 002CAB70 38 BA 00 08 */ addi r5, r26, 8 -/* 802CDC14 002CAB74 83 A3 00 00 */ lwz r29, 0(r3) -/* 802CDC18 002CAB78 83 C3 00 38 */ lwz r30, 0x38(r3) -/* 802CDC1C 002CAB7C 38 61 00 4C */ addi r3, r1, 0x4c -/* 802CDC20 002CAB80 7F A4 EB 78 */ mr r4, r29 -/* 802CDC24 002CAB84 4B FF F8 B9 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDC28 002CAB88 C0 A1 00 4C */ lfs f5, 0x4c(r1) -/* 802CDC2C 002CAB8C 7F C4 F3 78 */ mr r4, r30 -/* 802CDC30 002CAB90 C0 81 00 50 */ lfs f4, 0x50(r1) -/* 802CDC34 002CAB94 38 61 00 34 */ addi r3, r1, 0x34 -/* 802CDC38 002CAB98 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 802CDC3C 002CAB9C 38 BA 00 40 */ addi r5, r26, 0x40 -/* 802CDC40 002CABA0 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802CDC44 002CABA4 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802CDC48 002CABA8 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802CDC4C 002CABAC D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 802CDC50 002CABB0 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 802CDC54 002CABB4 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 802CDC58 002CABB8 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 802CDC5C 002CABBC D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 802CDC60 002CABC0 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 802CDC64 002CABC4 4B FF F8 79 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDC68 002CABC8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802CDC6C 002CABCC C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 802CDC70 002CABD0 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802CDC74 002CABD4 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 802CDC78 002CABD8 C0 C4 00 00 */ lfs f6, 0(r4) -/* 802CDC7C 002CABDC 7F 65 DB 78 */ mr r5, r27 -/* 802CDC80 002CABE0 C0 E4 00 04 */ lfs f7, 4(r4) -/* 802CDC84 002CABE4 38 61 00 7C */ addi r3, r1, 0x7c -/* 802CDC88 002CABE8 C1 04 00 08 */ lfs f8, 8(r4) -/* 802CDC8C 002CABEC 38 81 00 64 */ addi r4, r1, 0x64 -/* 802CDC90 002CABF0 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 802CDC94 002CABF4 38 C1 00 08 */ addi r6, r1, 8 -/* 802CDC98 002CABF8 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 802CDC9C 002CABFC 38 E1 00 28 */ addi r7, r1, 0x28 -/* 802CDCA0 002CAC00 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802CDCA4 002CAC04 39 01 00 1C */ addi r8, r1, 0x1c -/* 802CDCA8 002CAC08 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802CDCAC 002CAC0C D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 802CDCB0 002CAC10 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802CDCB4 002CAC14 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 802CDCB8 002CAC18 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 802CDCBC 002CAC1C D0 21 00 74 */ stfs f1, 0x74(r1) -/* 802CDCC0 002CAC20 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 802CDCC4 002CAC24 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 802CDCC8 002CAC28 D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 802CDCCC 002CAC2C D1 01 00 30 */ stfs f8, 0x30(r1) -/* 802CDCD0 002CAC30 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 802CDCD4 002CAC34 D0 E1 00 20 */ stfs f7, 0x20(r1) -/* 802CDCD8 002CAC38 D1 01 00 24 */ stfs f8, 0x24(r1) -/* 802CDCDC 002CAC3C 48 00 3F D9 */ bl AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f -/* 802CDCE0 002CAC40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CDCE4 002CAC44 41 82 01 48 */ beq lbl_802CDE2C -/* 802CDCE8 002CAC48 C8 21 00 08 */ lfd f1, 8(r1) -/* 802CDCEC 002CAC4C C8 02 C4 90 */ lfd f0, lbl_805AE1B0@sda21(r2) -/* 802CDCF0 002CAC50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CDCF4 002CAC54 40 81 01 38 */ ble lbl_802CDE2C -/* 802CDCF8 002CAC58 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802CDCFC 002CAC5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802CDD00 002CAC60 40 80 01 2C */ bge lbl_802CDE2C -/* 802CDD04 002CAC64 D8 3C 00 00 */ stfd f1, 0(r28) -/* 802CDD08 002CAC68 7F C3 F3 78 */ mr r3, r30 -/* 802CDD0C 002CAC6C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802CDD10 002CAC70 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802CDD14 002CAC74 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802CDD18 002CAC78 FC 40 10 50 */ fneg f2, f2 -/* 802CDD1C 002CAC7C FC 20 08 50 */ fneg f1, f1 -/* 802CDD20 002CAC80 FC 00 00 50 */ fneg f0, f0 -/* 802CDD24 002CAC84 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802CDD28 002CAC88 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802CDD2C 002CAC8C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802CDD30 002CAC90 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CDD34 002CAC94 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDD38 002CAC98 7D 89 03 A6 */ mtctr r12 -/* 802CDD3C 002CAC9C 4E 80 04 21 */ bctrl -/* 802CDD40 002CACA0 7C 7E 1B 78 */ mr r30, r3 -/* 802CDD44 002CACA4 7F A3 EB 78 */ mr r3, r29 -/* 802CDD48 002CACA8 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CDD4C 002CACAC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDD50 002CACB0 7D 89 03 A6 */ mtctr r12 -/* 802CDD54 002CACB4 4E 80 04 21 */ bctrl -/* 802CDD58 002CACB8 7C 65 1B 78 */ mr r5, r3 -/* 802CDD5C 002CACBC 7F C6 F3 78 */ mr r6, r30 -/* 802CDD60 002CACC0 38 61 00 98 */ addi r3, r1, 0x98 -/* 802CDD64 002CACC4 38 81 00 28 */ addi r4, r1, 0x28 -/* 802CDD68 002CACC8 38 E1 00 1C */ addi r7, r1, 0x1c -/* 802CDD6C 002CACCC 39 01 00 10 */ addi r8, r1, 0x10 -/* 802CDD70 002CACD0 48 00 06 0D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802CDD74 002CACD4 80 81 00 98 */ lwz r4, 0x98(r1) -/* 802CDD78 002CACD8 38 60 00 01 */ li r3, 1 -/* 802CDD7C 002CACDC 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802CDD80 002CACE0 90 9F 00 00 */ stw r4, 0(r31) -/* 802CDD84 002CACE4 90 1F 00 04 */ stw r0, 4(r31) -/* 802CDD88 002CACE8 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 802CDD8C 002CACEC 90 1F 00 08 */ stw r0, 8(r31) -/* 802CDD90 002CACF0 80 81 00 A4 */ lwz r4, 0xa4(r1) -/* 802CDD94 002CACF4 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 802CDD98 002CACF8 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802CDD9C 002CACFC 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802CDDA0 002CAD00 80 01 00 AC */ lwz r0, 0xac(r1) -/* 802CDDA4 002CAD04 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802CDDA8 002CAD08 80 81 00 B0 */ lwz r4, 0xb0(r1) -/* 802CDDAC 002CAD0C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802CDDB0 002CAD10 90 9F 00 18 */ stw r4, 0x18(r31) -/* 802CDDB4 002CAD14 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802CDDB8 002CAD18 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 802CDDBC 002CAD1C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802CDDC0 002CAD20 80 81 00 BC */ lwz r4, 0xbc(r1) -/* 802CDDC4 002CAD24 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 802CDDC8 002CAD28 90 9F 00 24 */ stw r4, 0x24(r31) -/* 802CDDCC 002CAD2C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802CDDD0 002CAD30 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802CDDD4 002CAD34 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802CDDD8 002CAD38 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 802CDDDC 002CAD3C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 802CDDE0 002CAD40 88 01 00 C9 */ lbz r0, 0xc9(r1) -/* 802CDDE4 002CAD44 98 1F 00 31 */ stb r0, 0x31(r31) -/* 802CDDE8 002CAD48 C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 802CDDEC 002CAD4C D8 1F 00 38 */ stfd f0, 0x38(r31) -/* 802CDDF0 002CAD50 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 802CDDF4 002CAD54 D8 1F 00 40 */ stfd f0, 0x40(r31) -/* 802CDDF8 002CAD58 80 81 00 E0 */ lwz r4, 0xe0(r1) -/* 802CDDFC 002CAD5C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802CDE00 002CAD60 90 9F 00 48 */ stw r4, 0x48(r31) -/* 802CDE04 002CAD64 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 802CDE08 002CAD68 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 802CDE0C 002CAD6C 90 1F 00 50 */ stw r0, 0x50(r31) -/* 802CDE10 002CAD70 80 81 00 EC */ lwz r4, 0xec(r1) -/* 802CDE14 002CAD74 80 01 00 F0 */ lwz r0, 0xf0(r1) -/* 802CDE18 002CAD78 90 9F 00 54 */ stw r4, 0x54(r31) -/* 802CDE1C 002CAD7C 90 1F 00 58 */ stw r0, 0x58(r31) -/* 802CDE20 002CAD80 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802CDE24 002CAD84 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 802CDE28 002CAD88 48 00 00 08 */ b lbl_802CDE30 -lbl_802CDE2C: -/* 802CDE2C 002CAD8C 38 60 00 00 */ li r3, 0 -lbl_802CDE30: -/* 802CDE30 002CAD90 BB 41 00 F8 */ lmw r26, 0xf8(r1) -/* 802CDE34 002CAD94 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802CDE38 002CAD98 7C 08 03 A6 */ mtlr r0 -/* 802CDE3C 002CAD9C 38 21 01 10 */ addi r1, r1, 0x110 -/* 802CDE40 002CADA0 4E 80 00 20 */ blr - -.global AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList -AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802CDE44 002CADA4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802CDE48 002CADA8 7C 08 02 A6 */ mflr r0 -/* 802CDE4C 002CADAC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802CDE50 002CADB0 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802CDE54 002CADB4 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802CDE58 002CADB8 93 A1 00 74 */ stw r29, 0x74(r1) -/* 802CDE5C 002CADBC 7C 9D 23 78 */ mr r29, r4 -/* 802CDE60 002CADC0 93 81 00 70 */ stw r28, 0x70(r1) -/* 802CDE64 002CADC4 7C 7C 1B 78 */ mr r28, r3 -/* 802CDE68 002CADC8 38 BC 00 08 */ addi r5, r28, 8 -/* 802CDE6C 002CADCC 83 C3 00 00 */ lwz r30, 0(r3) -/* 802CDE70 002CADD0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802CDE74 002CADD4 83 FC 00 38 */ lwz r31, 0x38(r28) -/* 802CDE78 002CADD8 7F C4 F3 78 */ mr r4, r30 -/* 802CDE7C 002CADDC 4B FF F6 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDE80 002CADE0 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802CDE84 002CADE4 7F E4 FB 78 */ mr r4, r31 -/* 802CDE88 002CADE8 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802CDE8C 002CADEC 38 61 00 08 */ addi r3, r1, 8 -/* 802CDE90 002CADF0 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802CDE94 002CADF4 38 BC 00 40 */ addi r5, r28, 0x40 -/* 802CDE98 002CADF8 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802CDE9C 002CADFC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802CDEA0 002CAE00 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802CDEA4 002CAE04 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 802CDEA8 002CAE08 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802CDEAC 002CAE0C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802CDEB0 002CAE10 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802CDEB4 002CAE14 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 802CDEB8 002CAE18 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802CDEBC 002CAE1C 4B FF F6 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDEC0 002CAE20 C0 A1 00 08 */ lfs f5, 8(r1) -/* 802CDEC4 002CAE24 7F E3 FB 78 */ mr r3, r31 -/* 802CDEC8 002CAE28 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 802CDECC 002CAE2C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802CDED0 002CAE30 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802CDED4 002CAE34 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802CDED8 002CAE38 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802CDEDC 002CAE3C D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 802CDEE0 002CAE40 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 802CDEE4 002CAE44 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802CDEE8 002CAE48 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802CDEEC 002CAE4C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802CDEF0 002CAE50 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802CDEF4 002CAE54 81 9F 00 00 */ lwz r12, 0(r31) -/* 802CDEF8 002CAE58 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDEFC 002CAE5C 7D 89 03 A6 */ mtctr r12 -/* 802CDF00 002CAE60 4E 80 04 21 */ bctrl -/* 802CDF04 002CAE64 7C 7F 1B 78 */ mr r31, r3 -/* 802CDF08 002CAE68 7F C3 F3 78 */ mr r3, r30 -/* 802CDF0C 002CAE6C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CDF10 002CAE70 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CDF14 002CAE74 7D 89 03 A6 */ mtctr r12 -/* 802CDF18 002CAE78 4E 80 04 21 */ bctrl -/* 802CDF1C 002CAE7C 7C 64 1B 78 */ mr r4, r3 -/* 802CDF20 002CAE80 7F E6 FB 78 */ mr r6, r31 -/* 802CDF24 002CAE84 7F A7 EB 78 */ mr r7, r29 -/* 802CDF28 002CAE88 38 61 00 50 */ addi r3, r1, 0x50 -/* 802CDF2C 002CAE8C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802CDF30 002CAE90 48 00 4B 91 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList -/* 802CDF34 002CAE94 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802CDF38 002CAE98 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802CDF3C 002CAE9C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802CDF40 002CAEA0 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 802CDF44 002CAEA4 83 81 00 70 */ lwz r28, 0x70(r1) -/* 802CDF48 002CAEA8 7C 08 03 A6 */ mtlr r0 -/* 802CDF4C 002CAEAC 38 21 00 80 */ addi r1, r1, 0x80 -/* 802CDF50 002CAEB0 4E 80 00 20 */ blr - -.global AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure -AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure: -/* 802CDF54 002CAEB4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802CDF58 002CAEB8 7C 08 02 A6 */ mflr r0 -/* 802CDF5C 002CAEBC 90 01 00 74 */ stw r0, 0x74(r1) -/* 802CDF60 002CAEC0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802CDF64 002CAEC4 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802CDF68 002CAEC8 7C 7E 1B 78 */ mr r30, r3 -/* 802CDF6C 002CAECC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802CDF70 002CAED0 83 FE 00 38 */ lwz r31, 0x38(r30) -/* 802CDF74 002CAED4 38 BE 00 08 */ addi r5, r30, 8 -/* 802CDF78 002CAED8 80 9E 00 00 */ lwz r4, 0(r30) -/* 802CDF7C 002CAEDC 4B FF F5 61 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDF80 002CAEE0 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802CDF84 002CAEE4 7F E4 FB 78 */ mr r4, r31 -/* 802CDF88 002CAEE8 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802CDF8C 002CAEEC 38 61 00 08 */ addi r3, r1, 8 -/* 802CDF90 002CAEF0 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802CDF94 002CAEF4 38 BE 00 40 */ addi r5, r30, 0x40 -/* 802CDF98 002CAEF8 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802CDF9C 002CAEFC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802CDFA0 002CAF00 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802CDFA4 002CAF04 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 802CDFA8 002CAF08 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802CDFAC 002CAF0C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802CDFB0 002CAF10 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802CDFB4 002CAF14 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 802CDFB8 002CAF18 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802CDFBC 002CAF1C 4B FF F5 21 */ bl Transform__16CCollidableAABoxCFRC12CTransform4f -/* 802CDFC0 002CAF20 C0 A1 00 08 */ lfs f5, 8(r1) -/* 802CDFC4 002CAF24 38 61 00 50 */ addi r3, r1, 0x50 -/* 802CDFC8 002CAF28 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 802CDFCC 002CAF2C 38 81 00 38 */ addi r4, r1, 0x38 -/* 802CDFD0 002CAF30 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802CDFD4 002CAF34 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802CDFD8 002CAF38 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802CDFDC 002CAF3C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802CDFE0 002CAF40 D0 A1 00 38 */ stfs f5, 0x38(r1) -/* 802CDFE4 002CAF44 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 802CDFE8 002CAF48 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802CDFEC 002CAF4C D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802CDFF0 002CAF50 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802CDFF4 002CAF54 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802CDFF8 002CAF58 48 00 4E C5 */ bl AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox -/* 802CDFFC 002CAF5C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802CE000 002CAF60 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802CE004 002CAF64 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802CE008 002CAF68 7C 08 03 A6 */ mtlr r0 -/* 802CE00C 002CAF6C 38 21 00 70 */ addi r1, r1, 0x70 -/* 802CE010 002CAF70 4E 80 00 20 */ blr - -.global GetType__16CCollidableAABoxFv -GetType__16CCollidableAABoxFv: -/* 802CE014 002CAF74 3C A0 80 2D */ lis r5, SetStaticTableIndex__16CCollidableAABoxFUi@ha -/* 802CE018 002CAF78 3C 80 80 3D */ lis r4, lbl_803D69E8@ha -/* 802CE01C 002CAF7C 38 05 E0 30 */ addi r0, r5, SetStaticTableIndex__16CCollidableAABoxFUi@l -/* 802CE020 002CAF80 90 03 00 00 */ stw r0, 0(r3) -/* 802CE024 002CAF84 38 04 69 E8 */ addi r0, r4, lbl_803D69E8@l -/* 802CE028 002CAF88 90 03 00 04 */ stw r0, 4(r3) -/* 802CE02C 002CAF8C 4E 80 00 20 */ blr - -.global SetStaticTableIndex__16CCollidableAABoxFUi -SetStaticTableIndex__16CCollidableAABoxFUi: -/* 802CE030 002CAF90 90 6D 9B 28 */ stw r3, lbl_805A86E8@sda21(r13) -/* 802CE034 002CAF94 4E 80 00 20 */ blr - -.global __sinit_CCollidableAABox_cpp -__sinit_CCollidableAABox_cpp: -/* 802CE038 002CAF98 C0 42 C4 88 */ lfs f2, lbl_805AE1A8@sda21(r2) -/* 802CE03C 002CAF9C 3C 60 80 48 */ lis r3, lbl_80479498@ha -/* 802CE040 002CAFA0 C0 22 C4 80 */ lfs f1, lbl_805AE1A0@sda21(r2) -/* 802CE044 002CAFA4 D4 43 94 98 */ stfsu f2, lbl_80479498@l(r3) -/* 802CE048 002CAFA8 C0 02 C4 84 */ lfs f0, lbl_805AE1A4@sda21(r2) -/* 802CE04C 002CAFAC D0 23 00 04 */ stfs f1, 4(r3) -/* 802CE050 002CAFB0 D0 23 00 08 */ stfs f1, 8(r3) -/* 802CE054 002CAFB4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE058 002CAFB8 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 802CE05C 002CAFBC D0 23 00 14 */ stfs f1, 0x14(r3) -/* 802CE060 002CAFC0 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 802CE064 002CAFC4 D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 802CE068 002CAFC8 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 802CE06C 002CAFCC D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802CE070 002CAFD0 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802CE074 002CAFD4 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 802CE078 002CAFD8 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 802CE07C 002CAFDC D0 23 00 34 */ stfs f1, 0x34(r3) -/* 802CE080 002CAFE0 D0 43 00 38 */ stfs f2, 0x38(r3) -/* 802CE084 002CAFE4 D0 23 00 3C */ stfs f1, 0x3c(r3) -/* 802CE088 002CAFE8 D0 23 00 40 */ stfs f1, 0x40(r3) -/* 802CE08C 002CAFEC D0 03 00 44 */ stfs f0, 0x44(r3) -/* 802CE090 002CAFF0 4E 80 00 20 */ blr - -.global GetType__27CCollidableCollisionSurfaceFv -GetType__27CCollidableCollisionSurfaceFv: -/* 802CE094 002CAFF4 3C A0 80 2D */ lis r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@ha -/* 802CE098 002CAFF8 3C 80 80 3D */ lis r4, lbl_803D6A00@ha -/* 802CE09C 002CAFFC 38 05 E0 B0 */ addi r0, r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@l -/* 802CE0A0 002CB000 90 03 00 00 */ stw r0, 0(r3) -/* 802CE0A4 002CB004 38 04 6A 00 */ addi r0, r4, lbl_803D6A00@l -/* 802CE0A8 002CB008 90 03 00 04 */ stw r0, 4(r3) -/* 802CE0AC 002CB00C 4E 80 00 20 */ blr - -.global SetStaticTableIndex__27CCollidableCollisionSurfaceFUi -SetStaticTableIndex__27CCollidableCollisionSurfaceFUi: -/* 802CE0B0 002CB010 90 6D 9B 30 */ stw r3, lbl_805A86F0@sda21(r13) -/* 802CE0B4 002CB014 4E 80 00 20 */ blr - -.global Swap__14CCollisionInfoFv -Swap__14CCollisionInfoFv: -/* 802CE0B8 002CB018 C0 03 00 48 */ lfs f0, 0x48(r3) -/* 802CE0BC 002CB01C C0 23 00 4C */ lfs f1, 0x4c(r3) -/* 802CE0C0 002CB020 FC 00 00 50 */ fneg f0, f0 -/* 802CE0C4 002CB024 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 802CE0C8 002CB028 FC 20 08 50 */ fneg f1, f1 -/* 802CE0CC 002CB02C FC 40 10 50 */ fneg f2, f2 -/* 802CE0D0 002CB030 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE0D4 002CB034 D0 23 00 4C */ stfs f1, 0x4c(r3) -/* 802CE0D8 002CB038 D0 43 00 50 */ stfs f2, 0x50(r3) -/* 802CE0DC 002CB03C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802CE0E0 002CB040 C0 23 00 58 */ lfs f1, 0x58(r3) -/* 802CE0E4 002CB044 FC 00 00 50 */ fneg f0, f0 -/* 802CE0E8 002CB048 C0 43 00 5C */ lfs f2, 0x5c(r3) -/* 802CE0EC 002CB04C FC 20 08 50 */ fneg f1, f1 -/* 802CE0F0 002CB050 FC 40 10 50 */ fneg f2, f2 -/* 802CE0F4 002CB054 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE0F8 002CB058 D0 23 00 58 */ stfs f1, 0x58(r3) -/* 802CE0FC 002CB05C D0 43 00 5C */ stfs f2, 0x5c(r3) -/* 802CE100 002CB060 80 A3 00 38 */ lwz r5, 0x38(r3) -/* 802CE104 002CB064 80 C3 00 3C */ lwz r6, 0x3c(r3) -/* 802CE108 002CB068 80 03 00 40 */ lwz r0, 0x40(r3) -/* 802CE10C 002CB06C 80 83 00 44 */ lwz r4, 0x44(r3) -/* 802CE110 002CB070 90 83 00 3C */ stw r4, 0x3c(r3) -/* 802CE114 002CB074 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE118 002CB078 90 C3 00 44 */ stw r6, 0x44(r3) -/* 802CE11C 002CB07C 90 A3 00 40 */ stw r5, 0x40(r3) -/* 802CE120 002CB080 4E 80 00 20 */ blr - -.global GetExtreme__14CCollisionInfoCFv -GetExtreme__14CCollisionInfoCFv: -/* 802CE124 002CB084 C0 24 00 00 */ lfs f1, 0(r4) -/* 802CE128 002CB088 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802CE12C 002CB08C C0 64 00 04 */ lfs f3, 4(r4) -/* 802CE130 002CB090 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802CE134 002CB094 EC 21 00 2A */ fadds f1, f1, f0 -/* 802CE138 002CB098 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802CE13C 002CB09C EC A3 10 2A */ fadds f5, f3, f2 -/* 802CE140 002CB0A0 C0 84 00 1C */ lfs f4, 0x1c(r4) -/* 802CE144 002CB0A4 C0 64 00 08 */ lfs f3, 8(r4) -/* 802CE148 002CB0A8 EC 21 00 2A */ fadds f1, f1, f0 -/* 802CE14C 002CB0AC C0 44 00 14 */ lfs f2, 0x14(r4) -/* 802CE150 002CB0B0 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802CE154 002CB0B4 EC 63 10 2A */ fadds f3, f3, f2 -/* 802CE158 002CB0B8 C0 44 00 20 */ lfs f2, 0x20(r4) -/* 802CE15C 002CB0BC EC A5 20 2A */ fadds f5, f5, f4 -/* 802CE160 002CB0C0 C0 84 00 28 */ lfs f4, 0x28(r4) -/* 802CE164 002CB0C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 802CE168 002CB0C8 C0 24 00 2C */ lfs f1, 0x2c(r4) -/* 802CE16C 002CB0CC EC 43 10 2A */ fadds f2, f3, f2 -/* 802CE170 002CB0D0 EC 65 20 2A */ fadds f3, f5, f4 -/* 802CE174 002CB0D4 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE178 002CB0D8 EC 02 08 2A */ fadds f0, f2, f1 -/* 802CE17C 002CB0DC D0 63 00 04 */ stfs f3, 4(r3) -/* 802CE180 002CB0E0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE184 002CB0E4 4E 80 00 20 */ blr - -.global __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid -__ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid: -/* 802CE188 002CB0E8 C0 02 C4 98 */ lfs f0, lbl_805AE1B8@sda21(r2) -/* 802CE18C 002CB0EC 38 00 00 00 */ li r0, 0 -/* 802CE190 002CB0F0 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE194 002CB0F4 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CE198 002CB0F8 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE19C 002CB0FC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE1A0 002CB100 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802CE1A4 002CB104 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CE1A8 002CB108 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802CE1AC 002CB10C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802CE1B0 002CB110 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802CE1B4 002CB114 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802CE1B8 002CB118 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802CE1BC 002CB11C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802CE1C0 002CB120 98 03 00 30 */ stb r0, 0x30(r3) -/* 802CE1C4 002CB124 98 03 00 31 */ stb r0, 0x31(r3) -/* 802CE1C8 002CB128 90 03 00 3C */ stw r0, 0x3c(r3) -/* 802CE1CC 002CB12C 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE1D0 002CB130 90 03 00 44 */ stw r0, 0x44(r3) -/* 802CE1D4 002CB134 90 03 00 40 */ stw r0, 0x40(r3) -/* 802CE1D8 002CB138 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE1DC 002CB13C D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 802CE1E0 002CB140 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 802CE1E4 002CB144 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE1E8 002CB148 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 802CE1EC 002CB14C D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 802CE1F0 002CB150 4E 80 00 20 */ blr - -.global GetSwapped__14CCollisionInfoCFv -GetSwapped__14CCollisionInfoCFv: -/* 802CE1F4 002CB154 C0 04 00 00 */ lfs f0, 0(r4) -/* 802CE1F8 002CB158 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE1FC 002CB15C C0 04 00 04 */ lfs f0, 4(r4) -/* 802CE200 002CB160 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CE204 002CB164 C0 04 00 08 */ lfs f0, 8(r4) -/* 802CE208 002CB168 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE20C 002CB16C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802CE210 002CB170 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE214 002CB174 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802CE218 002CB178 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802CE21C 002CB17C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802CE220 002CB180 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CE224 002CB184 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 802CE228 002CB188 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802CE22C 002CB18C C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 802CE230 002CB190 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802CE234 002CB194 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 802CE238 002CB198 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802CE23C 002CB19C C0 04 00 24 */ lfs f0, 0x24(r4) -/* 802CE240 002CB1A0 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802CE244 002CB1A4 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 802CE248 002CB1A8 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802CE24C 002CB1AC C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 802CE250 002CB1B0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802CE254 002CB1B4 88 04 00 30 */ lbz r0, 0x30(r4) -/* 802CE258 002CB1B8 98 03 00 30 */ stb r0, 0x30(r3) -/* 802CE25C 002CB1BC 88 04 00 31 */ lbz r0, 0x31(r4) -/* 802CE260 002CB1C0 98 03 00 31 */ stb r0, 0x31(r3) -/* 802CE264 002CB1C4 80 04 00 40 */ lwz r0, 0x40(r4) -/* 802CE268 002CB1C8 80 A4 00 44 */ lwz r5, 0x44(r4) -/* 802CE26C 002CB1CC 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 802CE270 002CB1D0 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE274 002CB1D4 80 04 00 38 */ lwz r0, 0x38(r4) -/* 802CE278 002CB1D8 80 A4 00 3C */ lwz r5, 0x3c(r4) -/* 802CE27C 002CB1DC 90 A3 00 44 */ stw r5, 0x44(r3) -/* 802CE280 002CB1E0 90 03 00 40 */ stw r0, 0x40(r3) -/* 802CE284 002CB1E4 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 802CE288 002CB1E8 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE28C 002CB1EC C0 04 00 58 */ lfs f0, 0x58(r4) -/* 802CE290 002CB1F0 D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 802CE294 002CB1F4 C0 04 00 5C */ lfs f0, 0x5c(r4) -/* 802CE298 002CB1F8 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 802CE29C 002CB1FC C0 04 00 48 */ lfs f0, 0x48(r4) -/* 802CE2A0 002CB200 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE2A4 002CB204 C0 04 00 4C */ lfs f0, 0x4c(r4) -/* 802CE2A8 002CB208 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 802CE2AC 002CB20C C0 04 00 50 */ lfs f0, 0x50(r4) -/* 802CE2B0 002CB210 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 802CE2B4 002CB214 4E 80 00 20 */ blr - -.global __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -__ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f: -/* 802CE2B8 002CB218 C0 04 00 00 */ lfs f0, 0(r4) -/* 802CE2BC 002CB21C 38 00 00 01 */ li r0, 1 -/* 802CE2C0 002CB220 C0 22 C4 98 */ lfs f1, lbl_805AE1B8@sda21(r2) -/* 802CE2C4 002CB224 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE2C8 002CB228 C0 04 00 04 */ lfs f0, 4(r4) -/* 802CE2CC 002CB22C D0 03 00 04 */ stfs f0, 4(r3) -/* 802CE2D0 002CB230 C0 04 00 08 */ lfs f0, 8(r4) -/* 802CE2D4 002CB234 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE2D8 002CB238 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 802CE2DC 002CB23C C0 04 00 00 */ lfs f0, 0(r4) -/* 802CE2E0 002CB240 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802CE2E4 002CB244 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE2E8 002CB248 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 802CE2EC 002CB24C D0 23 00 14 */ stfs f1, 0x14(r3) -/* 802CE2F0 002CB250 C0 04 00 04 */ lfs f0, 4(r4) -/* 802CE2F4 002CB254 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802CE2F8 002CB258 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802CE2FC 002CB25C D0 23 00 18 */ stfs f1, 0x18(r3) -/* 802CE300 002CB260 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802CE304 002CB264 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 802CE308 002CB268 C0 04 00 08 */ lfs f0, 8(r4) -/* 802CE30C 002CB26C C0 44 00 14 */ lfs f2, 0x14(r4) -/* 802CE310 002CB270 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802CE314 002CB274 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802CE318 002CB278 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 802CE31C 002CB27C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802CE320 002CB280 98 03 00 30 */ stb r0, 0x30(r3) -/* 802CE324 002CB284 98 03 00 31 */ stb r0, 0x31(r3) -/* 802CE328 002CB288 80 06 00 00 */ lwz r0, 0(r6) -/* 802CE32C 002CB28C 80 86 00 04 */ lwz r4, 4(r6) -/* 802CE330 002CB290 90 83 00 3C */ stw r4, 0x3c(r3) -/* 802CE334 002CB294 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE338 002CB298 80 05 00 00 */ lwz r0, 0(r5) -/* 802CE33C 002CB29C 80 85 00 04 */ lwz r4, 4(r5) -/* 802CE340 002CB2A0 90 83 00 44 */ stw r4, 0x44(r3) -/* 802CE344 002CB2A4 90 03 00 40 */ stw r0, 0x40(r3) -/* 802CE348 002CB2A8 C0 07 00 00 */ lfs f0, 0(r7) -/* 802CE34C 002CB2AC D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE350 002CB2B0 C0 07 00 04 */ lfs f0, 4(r7) -/* 802CE354 002CB2B4 D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 802CE358 002CB2B8 C0 07 00 08 */ lfs f0, 8(r7) -/* 802CE35C 002CB2BC D0 03 00 50 */ stfs f0, 0x50(r3) -/* 802CE360 002CB2C0 C0 08 00 00 */ lfs f0, 0(r8) -/* 802CE364 002CB2C4 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE368 002CB2C8 C0 08 00 04 */ lfs f0, 4(r8) -/* 802CE36C 002CB2CC D0 03 00 58 */ stfs f0, 0x58(r3) -/* 802CE370 002CB2D0 C0 08 00 08 */ lfs f0, 8(r8) -/* 802CE374 002CB2D4 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 802CE378 002CB2D8 4E 80 00 20 */ blr - -.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f: -/* 802CE37C 002CB2DC C0 04 00 00 */ lfs f0, 0(r4) -/* 802CE380 002CB2E0 3D 20 80 5A */ lis r9, skZero3f@ha -/* 802CE384 002CB2E4 39 49 66 A0 */ addi r10, r9, skZero3f@l -/* 802CE388 002CB2E8 39 20 00 01 */ li r9, 1 -/* 802CE38C 002CB2EC D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE390 002CB2F0 38 00 00 00 */ li r0, 0 -/* 802CE394 002CB2F4 C0 04 00 04 */ lfs f0, 4(r4) -/* 802CE398 002CB2F8 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CE39C 002CB2FC C0 04 00 08 */ lfs f0, 8(r4) -/* 802CE3A0 002CB300 D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE3A4 002CB304 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802CE3A8 002CB308 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE3AC 002CB30C C0 0A 00 04 */ lfs f0, 4(r10) -/* 802CE3B0 002CB310 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802CE3B4 002CB314 C0 0A 00 08 */ lfs f0, 8(r10) -/* 802CE3B8 002CB318 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CE3BC 002CB31C C0 0A 00 00 */ lfs f0, 0(r10) -/* 802CE3C0 002CB320 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802CE3C4 002CB324 C0 0A 00 04 */ lfs f0, 4(r10) -/* 802CE3C8 002CB328 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802CE3CC 002CB32C C0 0A 00 08 */ lfs f0, 8(r10) -/* 802CE3D0 002CB330 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802CE3D4 002CB334 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802CE3D8 002CB338 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802CE3DC 002CB33C C0 0A 00 04 */ lfs f0, 4(r10) -/* 802CE3E0 002CB340 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802CE3E4 002CB344 C0 0A 00 08 */ lfs f0, 8(r10) -/* 802CE3E8 002CB348 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802CE3EC 002CB34C 99 23 00 30 */ stb r9, 0x30(r3) -/* 802CE3F0 002CB350 98 03 00 31 */ stb r0, 0x31(r3) -/* 802CE3F4 002CB354 80 06 00 00 */ lwz r0, 0(r6) -/* 802CE3F8 002CB358 80 86 00 04 */ lwz r4, 4(r6) -/* 802CE3FC 002CB35C 90 83 00 3C */ stw r4, 0x3c(r3) -/* 802CE400 002CB360 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE404 002CB364 80 05 00 00 */ lwz r0, 0(r5) -/* 802CE408 002CB368 80 85 00 04 */ lwz r4, 4(r5) -/* 802CE40C 002CB36C 90 83 00 44 */ stw r4, 0x44(r3) -/* 802CE410 002CB370 90 03 00 40 */ stw r0, 0x40(r3) -/* 802CE414 002CB374 C0 07 00 00 */ lfs f0, 0(r7) -/* 802CE418 002CB378 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE41C 002CB37C C0 07 00 04 */ lfs f0, 4(r7) -/* 802CE420 002CB380 D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 802CE424 002CB384 C0 07 00 08 */ lfs f0, 8(r7) -/* 802CE428 002CB388 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 802CE42C 002CB38C C0 08 00 00 */ lfs f0, 0(r8) -/* 802CE430 002CB390 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE434 002CB394 C0 08 00 04 */ lfs f0, 4(r8) -/* 802CE438 002CB398 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 802CE43C 002CB39C C0 08 00 08 */ lfs f0, 8(r8) -/* 802CE440 002CB3A0 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 802CE444 002CB3A4 4E 80 00 20 */ blr - -.global __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -__ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f: -/* 802CE448 002CB3A8 C0 04 00 00 */ lfs f0, 0(r4) -/* 802CE44C 002CB3AC 3D 00 80 5A */ lis r8, skZero3f@ha -/* 802CE450 002CB3B0 39 28 66 A0 */ addi r9, r8, skZero3f@l -/* 802CE454 002CB3B4 39 00 00 01 */ li r8, 1 -/* 802CE458 002CB3B8 D0 03 00 00 */ stfs f0, 0(r3) -/* 802CE45C 002CB3BC 38 00 00 00 */ li r0, 0 -/* 802CE460 002CB3C0 C0 04 00 04 */ lfs f0, 4(r4) -/* 802CE464 002CB3C4 D0 03 00 04 */ stfs f0, 4(r3) -/* 802CE468 002CB3C8 C0 04 00 08 */ lfs f0, 8(r4) -/* 802CE46C 002CB3CC D0 03 00 08 */ stfs f0, 8(r3) -/* 802CE470 002CB3D0 C0 09 00 00 */ lfs f0, 0(r9) -/* 802CE474 002CB3D4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802CE478 002CB3D8 C0 09 00 04 */ lfs f0, 4(r9) -/* 802CE47C 002CB3DC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802CE480 002CB3E0 C0 09 00 08 */ lfs f0, 8(r9) -/* 802CE484 002CB3E4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802CE488 002CB3E8 C0 09 00 00 */ lfs f0, 0(r9) -/* 802CE48C 002CB3EC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802CE490 002CB3F0 C0 09 00 04 */ lfs f0, 4(r9) -/* 802CE494 002CB3F4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 802CE498 002CB3F8 C0 09 00 08 */ lfs f0, 8(r9) -/* 802CE49C 002CB3FC D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802CE4A0 002CB400 C0 09 00 00 */ lfs f0, 0(r9) -/* 802CE4A4 002CB404 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 802CE4A8 002CB408 C0 09 00 04 */ lfs f0, 4(r9) -/* 802CE4AC 002CB40C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802CE4B0 002CB410 C0 09 00 08 */ lfs f0, 8(r9) -/* 802CE4B4 002CB414 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802CE4B8 002CB418 99 03 00 30 */ stb r8, 0x30(r3) -/* 802CE4BC 002CB41C 98 03 00 31 */ stb r0, 0x31(r3) -/* 802CE4C0 002CB420 80 06 00 00 */ lwz r0, 0(r6) -/* 802CE4C4 002CB424 80 86 00 04 */ lwz r4, 4(r6) -/* 802CE4C8 002CB428 90 83 00 3C */ stw r4, 0x3c(r3) -/* 802CE4CC 002CB42C 90 03 00 38 */ stw r0, 0x38(r3) -/* 802CE4D0 002CB430 80 05 00 00 */ lwz r0, 0(r5) -/* 802CE4D4 002CB434 80 85 00 04 */ lwz r4, 4(r5) -/* 802CE4D8 002CB438 90 83 00 44 */ stw r4, 0x44(r3) -/* 802CE4DC 002CB43C 90 03 00 40 */ stw r0, 0x40(r3) -/* 802CE4E0 002CB440 C0 07 00 00 */ lfs f0, 0(r7) -/* 802CE4E4 002CB444 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 802CE4E8 002CB448 C0 07 00 04 */ lfs f0, 4(r7) -/* 802CE4EC 002CB44C D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 802CE4F0 002CB450 C0 07 00 08 */ lfs f0, 8(r7) -/* 802CE4F4 002CB454 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 802CE4F8 002CB458 C0 07 00 00 */ lfs f0, 0(r7) -/* 802CE4FC 002CB45C C0 27 00 04 */ lfs f1, 4(r7) -/* 802CE500 002CB460 C0 47 00 08 */ lfs f2, 8(r7) -/* 802CE504 002CB464 FC 00 00 50 */ fneg f0, f0 -/* 802CE508 002CB468 FC 20 08 50 */ fneg f1, f1 -/* 802CE50C 002CB46C FC 40 10 50 */ fneg f2, f2 -/* 802CE510 002CB470 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 802CE514 002CB474 D0 23 00 58 */ stfs f1, 0x58(r3) -/* 802CE518 002CB478 D0 43 00 5C */ stfs f2, 0x5c(r3) -/* 802CE51C 002CB47C 4E 80 00 20 */ blr - -.global AddColliders__17InternalCollidersFv -AddColliders__17InternalCollidersFv: -/* 802CE520 002CB480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CE524 002CB484 7C 08 02 A6 */ mflr r0 -/* 802CE528 002CB488 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE52C 002CB48C 3C A0 80 2D */ lis r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha -/* 802CE530 002CB490 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE534 002CB494 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CE538 002CB498 38 65 DE 44 */ addi r3, r5, AABox_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l -/* 802CE53C 002CB49C 7C 85 23 78 */ mr r5, r4 -/* 802CE540 002CB4A0 48 00 01 A5 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc -/* 802CE544 002CB4A4 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE548 002CB4A8 3C 80 80 2D */ lis r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha -/* 802CE54C 002CB4AC 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l -/* 802CE550 002CB4B0 38 64 4A 7C */ addi r3, r4, Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l -/* 802CE554 002CB4B4 38 85 00 11 */ addi r4, r5, 0x11 -/* 802CE558 002CB4B8 48 00 01 8D */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc -/* 802CE55C 002CB4BC 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE560 002CB4C0 3C A0 80 2D */ lis r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@ha -/* 802CE564 002CB4C4 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE568 002CB4C8 38 84 00 11 */ addi r4, r4, 0x11 -/* 802CE56C 002CB4CC 38 65 48 4C */ addi r3, r5, Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList@l -/* 802CE570 002CB4D0 7C 85 23 78 */ mr r5, r4 -/* 802CE574 002CB4D4 48 00 01 71 */ bl InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc -/* 802CE578 002CB4D8 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE57C 002CB4DC 3C A0 80 2D */ lis r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha -/* 802CE580 002CB4E0 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE584 002CB4E4 38 65 DF 54 */ addi r3, r5, AABox_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l -/* 802CE588 002CB4E8 7C 85 23 78 */ mr r5, r4 -/* 802CE58C 002CB4EC 48 00 01 29 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc -/* 802CE590 002CB4F0 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE594 002CB4F4 3C 80 80 2D */ lis r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@ha -/* 802CE598 002CB4F8 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l -/* 802CE59C 002CB4FC 38 64 51 00 */ addi r3, r4, Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure@l -/* 802CE5A0 002CB500 38 85 00 11 */ addi r4, r5, 0x11 -/* 802CE5A4 002CB504 48 00 01 11 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc -/* 802CE5A8 002CB508 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE5AC 002CB50C 3C A0 80 2D */ lis r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@ha -/* 802CE5B0 002CB510 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE5B4 002CB514 38 84 00 11 */ addi r4, r4, 0x11 -/* 802CE5B8 002CB518 38 65 47 78 */ addi r3, r5, Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure@l -/* 802CE5BC 002CB51C 7C 85 23 78 */ mr r5, r4 -/* 802CE5C0 002CB520 48 00 00 F5 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc -/* 802CE5C4 002CB524 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE5C8 002CB528 3C A0 80 2D */ lis r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha -/* 802CE5CC 002CB52C 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE5D0 002CB530 38 65 DB F0 */ addi r3, r5, CollideMovingAABox__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l -/* 802CE5D4 002CB534 7C 85 23 78 */ mr r5, r4 -/* 802CE5D8 002CB538 48 00 00 AD */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc -/* 802CE5DC 002CB53C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE5E0 002CB540 3C A0 80 2D */ lis r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha -/* 802CE5E4 002CB544 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE5E8 002CB548 38 65 D9 44 */ addi r3, r5, CollideMovingSphere__16CCollidableAABoxFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l -/* 802CE5EC 002CB54C 38 A4 00 11 */ addi r5, r4, 0x11 -/* 802CE5F0 002CB550 48 00 00 95 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc -/* 802CE5F4 002CB554 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE5F8 002CB558 3C 80 80 2D */ lis r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha -/* 802CE5FC 002CB55C 38 A3 6A 20 */ addi r5, r3, lbl_803D6A20@l -/* 802CE600 002CB560 38 64 41 30 */ addi r3, r4, CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l -/* 802CE604 002CB564 38 85 00 11 */ addi r4, r5, 0x11 -/* 802CE608 002CB568 48 00 00 7D */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc -/* 802CE60C 002CB56C 3C 60 80 3D */ lis r3, lbl_803D6A20@ha -/* 802CE610 002CB570 3C A0 80 2D */ lis r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@ha -/* 802CE614 002CB574 38 83 6A 20 */ addi r4, r3, lbl_803D6A20@l -/* 802CE618 002CB578 38 84 00 11 */ addi r4, r4, 0x11 -/* 802CE61C 002CB57C 38 65 3E 78 */ addi r3, r5, CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo@l -/* 802CE620 002CB580 7C 85 23 78 */ mr r5, r4 -/* 802CE624 002CB584 48 00 00 61 */ bl InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc -/* 802CE628 002CB588 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CE62C 002CB58C 7C 08 03 A6 */ mtlr r0 -/* 802CE630 002CB590 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CE634 002CB594 4E 80 00 20 */ blr - -.global AddTypes__17InternalCollidersFv -AddTypes__17InternalCollidersFv: -/* 802CE638 002CB598 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CE63C 002CB59C 7C 08 02 A6 */ mflr r0 -/* 802CE640 002CB5A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CE644 002CB5A4 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CE648 002CB5A8 4B FF F9 CD */ bl GetType__16CCollidableAABoxFv -/* 802CE64C 002CB5AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 802CE650 002CB5B0 48 00 10 E9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type -/* 802CE654 002CB5B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CE658 002CB5B8 4B FF FA 3D */ bl GetType__27CCollidableCollisionSurfaceFv -/* 802CE65C 002CB5BC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CE660 002CB5C0 48 00 10 D9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type -/* 802CE664 002CB5C4 38 61 00 08 */ addi r3, r1, 8 -/* 802CE668 002CB5C8 48 00 6C 65 */ bl GetType__17CCollidableSphereFv -/* 802CE66C 002CB5CC 38 61 00 08 */ addi r3, r1, 8 -/* 802CE670 002CB5D0 48 00 10 C9 */ bl InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type -/* 802CE674 002CB5D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CE678 002CB5D8 7C 08 03 A6 */ mtlr r0 -/* 802CE67C 002CB5DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CE680 002CB5E0 4E 80 00 20 */ blr - -.global InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc -InitAddMovingCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo_bPCcPCc: -/* 802CE684 002CB5E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CE688 002CB5E8 7C 08 02 A6 */ mflr r0 -/* 802CE68C 002CB5EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CE690 002CB5F0 90 61 00 08 */ stw r3, 8(r1) -/* 802CE694 002CB5F4 38 61 00 08 */ addi r3, r1, 8 -/* 802CE698 002CB5F8 90 81 00 0C */ stw r4, 0xc(r1) -/* 802CE69C 002CB5FC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CE6A0 002CB600 48 00 09 59 */ bl InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison -/* 802CE6A4 002CB604 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CE6A8 002CB608 7C 08 03 A6 */ mtlr r0 -/* 802CE6AC 002CB60C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CE6B0 002CB610 4E 80 00 20 */ blr - -.global InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc -InitAddBooleanCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructure_bPCcPCc: -/* 802CE6B4 002CB614 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CE6B8 002CB618 7C 08 02 A6 */ mflr r0 -/* 802CE6BC 002CB61C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CE6C0 002CB620 90 61 00 08 */ stw r3, 8(r1) -/* 802CE6C4 002CB624 38 61 00 08 */ addi r3, r1, 8 -/* 802CE6C8 002CB628 90 81 00 0C */ stw r4, 0xc(r1) -/* 802CE6CC 002CB62C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CE6D0 002CB630 48 00 0A 61 */ bl InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison -/* 802CE6D4 002CB634 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CE6D8 002CB638 7C 08 03 A6 */ mtlr r0 -/* 802CE6DC 002CB63C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CE6E0 002CB640 4E 80 00 20 */ blr - -.global InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc -InitAddCollider__19CCollisionPrimitiveFPFRC27CInternalCollisionStructureR18CCollisionInfoList_bPCcPCc: -/* 802CE6E4 002CB644 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CE6E8 002CB648 7C 08 02 A6 */ mflr r0 -/* 802CE6EC 002CB64C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CE6F0 002CB650 90 61 00 08 */ stw r3, 8(r1) -/* 802CE6F4 002CB654 38 61 00 08 */ addi r3, r1, 8 -/* 802CE6F8 002CB658 90 81 00 0C */ stw r4, 0xc(r1) -/* 802CE6FC 002CB65C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CE700 002CB660 48 00 0B 69 */ bl InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison -/* 802CE704 002CB664 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CE708 002CB668 7C 08 03 A6 */ mtlr r0 -/* 802CE70C 002CB66C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CE710 002CB670 4E 80 00 20 */ blr - -.global CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo -CollideMoving__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescRC9CVector3fRdR14CCollisionInfo: -/* 802CE714 002CB674 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802CE718 002CB678 7C 08 02 A6 */ mflr r0 -/* 802CE71C 002CB67C 7C 68 1B 78 */ mr r8, r3 -/* 802CE720 002CB680 90 01 00 94 */ stw r0, 0x94(r1) -/* 802CE724 002CB684 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802CE728 002CB688 7C FF 3B 78 */ mr r31, r7 -/* 802CE72C 002CB68C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802CE730 002CB690 7C DE 33 78 */ mr r30, r6 -/* 802CE734 002CB694 93 A1 00 84 */ stw r29, 0x84(r1) -/* 802CE738 002CB698 7C BD 2B 78 */ mr r29, r5 -/* 802CE73C 002CB69C 93 81 00 80 */ stw r28, 0x80(r1) -/* 802CE740 002CB6A0 7C 9C 23 78 */ mr r28, r4 -/* 802CE744 002CB6A4 38 88 00 08 */ addi r4, r8, 8 -/* 802CE748 002CB6A8 80 63 00 00 */ lwz r3, 0(r3) -/* 802CE74C 002CB6AC 80 08 00 04 */ lwz r0, 4(r8) -/* 802CE750 002CB6B0 90 61 00 08 */ stw r3, 8(r1) -/* 802CE754 002CB6B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CE758 002CB6B8 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CE75C 002CB6BC 48 04 44 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE760 002CB6C0 80 BC 00 00 */ lwz r5, 0(r28) -/* 802CE764 002CB6C4 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CE768 002CB6C8 80 1C 00 04 */ lwz r0, 4(r28) -/* 802CE76C 002CB6CC 38 9C 00 08 */ addi r4, r28, 8 -/* 802CE770 002CB6D0 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802CE774 002CB6D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CE778 002CB6D8 48 04 43 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE77C 002CB6DC 7F A4 EB 78 */ mr r4, r29 -/* 802CE780 002CB6E0 7F C5 F3 78 */ mr r5, r30 -/* 802CE784 002CB6E4 7F E6 FB 78 */ mr r6, r31 -/* 802CE788 002CB6E8 38 61 00 08 */ addi r3, r1, 8 -/* 802CE78C 002CB6EC 48 00 04 99 */ bl InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -/* 802CE790 002CB6F0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802CE794 002CB6F4 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802CE798 002CB6F8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802CE79C 002CB6FC 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802CE7A0 002CB700 83 81 00 80 */ lwz r28, 0x80(r1) -/* 802CE7A4 002CB704 7C 08 03 A6 */ mtlr r0 -/* 802CE7A8 002CB708 38 21 00 90 */ addi r1, r1, 0x90 -/* 802CE7AC 002CB70C 4E 80 00 20 */ blr - -.global Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList -Collide__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDescR18CCollisionInfoList: -/* 802CE7B0 002CB710 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802CE7B4 002CB714 7C 08 02 A6 */ mflr r0 -/* 802CE7B8 002CB718 7C 66 1B 78 */ mr r6, r3 -/* 802CE7BC 002CB71C 90 01 00 84 */ stw r0, 0x84(r1) -/* 802CE7C0 002CB720 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802CE7C4 002CB724 7C BF 2B 78 */ mr r31, r5 -/* 802CE7C8 002CB728 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802CE7CC 002CB72C 7C 9E 23 78 */ mr r30, r4 -/* 802CE7D0 002CB730 80 83 00 00 */ lwz r4, 0(r3) -/* 802CE7D4 002CB734 80 03 00 04 */ lwz r0, 4(r3) -/* 802CE7D8 002CB738 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CE7DC 002CB73C 90 81 00 08 */ stw r4, 8(r1) -/* 802CE7E0 002CB740 38 86 00 08 */ addi r4, r6, 8 -/* 802CE7E4 002CB744 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CE7E8 002CB748 48 04 43 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE7EC 002CB74C 80 BE 00 00 */ lwz r5, 0(r30) -/* 802CE7F0 002CB750 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CE7F4 002CB754 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CE7F8 002CB758 38 9E 00 08 */ addi r4, r30, 8 -/* 802CE7FC 002CB75C 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802CE800 002CB760 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CE804 002CB764 48 04 43 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE808 002CB768 7F E4 FB 78 */ mr r4, r31 -/* 802CE80C 002CB76C 38 61 00 08 */ addi r3, r1, 8 -/* 802CE810 002CB770 48 00 05 4D */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList -/* 802CE814 002CB774 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802CE818 002CB778 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802CE81C 002CB77C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802CE820 002CB780 7C 08 03 A6 */ mtlr r0 -/* 802CE824 002CB784 38 21 00 80 */ addi r1, r1, 0x80 -/* 802CE828 002CB788 4E 80 00 20 */ blr - -.global CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc -CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc: -/* 802CE82C 002CB78C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802CE830 002CB790 7C 08 02 A6 */ mflr r0 -/* 802CE834 002CB794 7C 66 1B 78 */ mr r6, r3 -/* 802CE838 002CB798 90 01 00 84 */ stw r0, 0x84(r1) -/* 802CE83C 002CB79C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802CE840 002CB7A0 7C 9F 23 78 */ mr r31, r4 -/* 802CE844 002CB7A4 38 86 00 08 */ addi r4, r6, 8 -/* 802CE848 002CB7A8 80 A3 00 00 */ lwz r5, 0(r3) -/* 802CE84C 002CB7AC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802CE850 002CB7B0 80 06 00 04 */ lwz r0, 4(r6) -/* 802CE854 002CB7B4 90 A1 00 08 */ stw r5, 8(r1) -/* 802CE858 002CB7B8 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CE85C 002CB7BC 48 04 43 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE860 002CB7C0 80 BF 00 00 */ lwz r5, 0(r31) -/* 802CE864 002CB7C4 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CE868 002CB7C8 80 1F 00 04 */ lwz r0, 4(r31) -/* 802CE86C 002CB7CC 38 9F 00 08 */ addi r4, r31, 8 -/* 802CE870 002CB7D0 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802CE874 002CB7D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CE878 002CB7D8 48 04 42 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CE87C 002CB7DC 38 61 00 08 */ addi r3, r1, 8 -/* 802CE880 002CB7E0 48 00 00 E5 */ bl InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure -/* 802CE884 002CB7E4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802CE888 002CB7E8 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802CE88C 002CB7EC 7C 08 03 A6 */ mtlr r0 -/* 802CE890 002CB7F0 38 21 00 80 */ addi r1, r1, 0x80 -/* 802CE894 002CB7F4 4E 80 00 20 */ blr - -.global Uninitialize__19CCollisionPrimitiveFv -Uninitialize__19CCollisionPrimitiveFv: -/* 802CE898 002CB7F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CE89C 002CB7FC 7C 08 02 A6 */ mflr r0 -/* 802CE8A0 002CB800 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CE8A4 002CB804 38 00 00 00 */ li r0, 0 -/* 802CE8A8 002CB808 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CE8AC 002CB80C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) -/* 802CE8B0 002CB810 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) -/* 802CE8B4 002CB814 28 1F 00 00 */ cmplwi r31, 0 -/* 802CE8B8 002CB818 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) -/* 802CE8BC 002CB81C 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) -/* 802CE8C0 002CB820 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) -/* 802CE8C4 002CB824 98 0D A6 55 */ stb r0, lbl_805A9215@sda21(r13) -/* 802CE8C8 002CB828 90 0D A6 50 */ stw r0, lbl_805A9210@sda21(r13) -/* 802CE8CC 002CB82C 41 82 00 4C */ beq lbl_802CE918 -/* 802CE8D0 002CB830 80 1F 00 04 */ lwz r0, 4(r31) -/* 802CE8D4 002CB834 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802CE8D8 002CB838 54 00 18 38 */ slwi r0, r0, 3 -/* 802CE8DC 002CB83C 7C 03 02 14 */ add r0, r3, r0 -/* 802CE8E0 002CB840 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CE8E4 002CB844 7C 64 1B 78 */ mr r4, r3 -/* 802CE8E8 002CB848 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CE8EC 002CB84C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CE8F0 002CB850 90 61 00 08 */ stw r3, 8(r1) -/* 802CE8F4 002CB854 48 00 00 08 */ b lbl_802CE8FC -lbl_802CE8F8: -/* 802CE8F8 002CB858 38 84 00 08 */ addi r4, r4, 8 -lbl_802CE8FC: -/* 802CE8FC 002CB85C 7C 04 00 40 */ cmplw r4, r0 -/* 802CE900 002CB860 40 82 FF F8 */ bne lbl_802CE8F8 -/* 802CE904 002CB864 28 03 00 00 */ cmplwi r3, 0 -/* 802CE908 002CB868 41 82 00 08 */ beq lbl_802CE910 -/* 802CE90C 002CB86C 48 04 70 25 */ bl Free__7CMemoryFPCv -lbl_802CE910: -/* 802CE910 002CB870 7F E3 FB 78 */ mr r3, r31 -/* 802CE914 002CB874 48 04 70 1D */ bl Free__7CMemoryFPCv -lbl_802CE918: -/* 802CE918 002CB878 38 00 00 00 */ li r0, 0 -/* 802CE91C 002CB87C 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) -/* 802CE920 002CB880 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) -/* 802CE924 002CB884 48 04 70 0D */ bl Free__7CMemoryFPCv -/* 802CE928 002CB888 38 00 00 00 */ li r0, 0 -/* 802CE92C 002CB88C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) -/* 802CE930 002CB890 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) -/* 802CE934 002CB894 48 04 6F FD */ bl Free__7CMemoryFPCv -/* 802CE938 002CB898 38 00 00 00 */ li r0, 0 -/* 802CE93C 002CB89C 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) -/* 802CE940 002CB8A0 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) -/* 802CE944 002CB8A4 48 04 6F ED */ bl Free__7CMemoryFPCv -/* 802CE948 002CB8A8 38 00 00 00 */ li r0, 0 -/* 802CE94C 002CB8AC 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) -/* 802CE950 002CB8B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CE954 002CB8B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CE958 002CB8B8 7C 08 03 A6 */ mtlr r0 -/* 802CE95C 002CB8BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CE960 002CB8C0 4E 80 00 20 */ blr - -.global InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure -InternalCollideBoolean__19CCollisionPrimitiveFRC27CInternalCollisionStructure: -/* 802CE964 002CB8C4 94 21 F2 F0 */ stwu r1, -0xd10(r1) -/* 802CE968 002CB8C8 7C 08 02 A6 */ mflr r0 -/* 802CE96C 002CB8CC 90 01 0D 14 */ stw r0, 0xd14(r1) -/* 802CE970 002CB8D0 BF 21 0C F4 */ stmw r25, 0xcf4(r1) -/* 802CE974 002CB8D4 7C 7A 1B 78 */ mr r26, r3 -/* 802CE978 002CB8D8 83 C3 00 00 */ lwz r30, 0(r3) -/* 802CE97C 002CB8DC 83 A3 00 38 */ lwz r29, 0x38(r3) -/* 802CE980 002CB8E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CE984 002CB8E4 7F C3 F3 78 */ mr r3, r30 -/* 802CE988 002CB8E8 83 9A 00 04 */ lwz r28, 4(r26) -/* 802CE98C 002CB8EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CE990 002CB8F0 83 7A 00 3C */ lwz r27, 0x3c(r26) -/* 802CE994 002CB8F4 7D 89 03 A6 */ mtctr r12 -/* 802CE998 002CB8F8 4E 80 04 21 */ bctrl -/* 802CE99C 002CB8FC 7C 7F 1B 78 */ mr r31, r3 -/* 802CE9A0 002CB900 7F A3 EB 78 */ mr r3, r29 -/* 802CE9A4 002CB904 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CE9A8 002CB908 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CE9AC 002CB90C 7D 89 03 A6 */ mtctr r12 -/* 802CE9B0 002CB910 4E 80 04 21 */ bctrl -/* 802CE9B4 002CB914 3C 1F 00 01 */ addis r0, r31, 1 -/* 802CE9B8 002CB918 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CE9BC 002CB91C 41 82 00 10 */ beq lbl_802CE9CC -/* 802CE9C0 002CB920 3C 03 00 01 */ addis r0, r3, 1 -/* 802CE9C4 002CB924 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CE9C8 002CB928 40 82 00 14 */ bne lbl_802CE9DC -lbl_802CE9CC: -/* 802CE9CC 002CB92C 38 00 00 00 */ li r0, 0 -/* 802CE9D0 002CB930 38 8D A6 70 */ addi r4, r13, lbl_805A9230@sda21 -/* 802CE9D4 002CB934 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) -/* 802CE9D8 002CB938 48 00 00 1C */ b lbl_802CE9F4 -lbl_802CE9DC: -/* 802CE9DC 002CB93C 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) -/* 802CE9E0 002CB940 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) -/* 802CE9E4 002CB944 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802CE9E8 002CB948 7C 1F 02 14 */ add r0, r31, r0 -/* 802CE9EC 002CB94C 54 00 10 3A */ slwi r0, r0, 2 -/* 802CE9F0 002CB950 7C 84 02 14 */ add r4, r4, r0 -lbl_802CE9F4: -/* 802CE9F4 002CB954 83 24 00 00 */ lwz r25, 0(r4) -/* 802CE9F8 002CB958 28 19 00 00 */ cmplwi r25, 0 -/* 802CE9FC 002CB95C 41 82 00 70 */ beq lbl_802CEA6C -/* 802CEA00 002CB960 7F A3 EB 78 */ mr r3, r29 -/* 802CEA04 002CB964 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CEA08 002CB968 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEA0C 002CB96C 7D 89 03 A6 */ mtctr r12 -/* 802CEA10 002CB970 4E 80 04 21 */ bctrl -/* 802CEA14 002CB974 7C 64 1B 78 */ mr r4, r3 -/* 802CEA18 002CB978 7F 83 E3 78 */ mr r3, r28 -/* 802CEA1C 002CB97C 48 00 69 31 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEA20 002CB980 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEA24 002CB984 41 82 00 2C */ beq lbl_802CEA50 -/* 802CEA28 002CB988 7F C3 F3 78 */ mr r3, r30 -/* 802CEA2C 002CB98C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CEA30 002CB990 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEA34 002CB994 7D 89 03 A6 */ mtctr r12 -/* 802CEA38 002CB998 4E 80 04 21 */ bctrl -/* 802CEA3C 002CB99C 7C 64 1B 78 */ mr r4, r3 -/* 802CEA40 002CB9A0 7F 63 DB 78 */ mr r3, r27 -/* 802CEA44 002CB9A4 48 00 69 09 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEA48 002CB9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEA4C 002CB9AC 40 82 00 0C */ bne lbl_802CEA58 -lbl_802CEA50: -/* 802CEA50 002CB9B0 38 60 00 00 */ li r3, 0 -/* 802CEA54 002CB9B4 48 00 01 BC */ b lbl_802CEC10 -lbl_802CEA58: -/* 802CEA58 002CB9B8 7F 2C CB 78 */ mr r12, r25 -/* 802CEA5C 002CB9BC 7F 43 D3 78 */ mr r3, r26 -/* 802CEA60 002CB9C0 7D 89 03 A6 */ mtctr r12 -/* 802CEA64 002CB9C4 4E 80 04 21 */ bctrl -/* 802CEA68 002CB9C8 48 00 01 A8 */ b lbl_802CEC10 -lbl_802CEA6C: -/* 802CEA6C 002CB9CC 3C 03 00 01 */ addis r0, r3, 1 -/* 802CEA70 002CB9D0 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEA74 002CB9D4 41 82 00 10 */ beq lbl_802CEA84 -/* 802CEA78 002CB9D8 3C 1F 00 01 */ addis r0, r31, 1 -/* 802CEA7C 002CB9DC 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEA80 002CB9E0 40 82 00 14 */ bne lbl_802CEA94 -lbl_802CEA84: -/* 802CEA84 002CB9E4 38 00 00 00 */ li r0, 0 -/* 802CEA88 002CB9E8 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 -/* 802CEA8C 002CB9EC 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) -/* 802CEA90 002CB9F0 48 00 00 1C */ b lbl_802CEAAC -lbl_802CEA94: -/* 802CEA94 002CB9F4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) -/* 802CEA98 002CB9F8 80 8D A6 64 */ lwz r4, lbl_805A9224@sda21(r13) -/* 802CEA9C 002CB9FC 7C 1F 01 D6 */ mullw r0, r31, r0 -/* 802CEAA0 002CBA00 7C 03 02 14 */ add r0, r3, r0 -/* 802CEAA4 002CBA04 54 00 10 3A */ slwi r0, r0, 2 -/* 802CEAA8 002CBA08 7C 64 02 14 */ add r3, r4, r0 -lbl_802CEAAC: -/* 802CEAAC 002CBA0C 83 E3 00 00 */ lwz r31, 0(r3) -/* 802CEAB0 002CBA10 28 1F 00 00 */ cmplwi r31, 0 -/* 802CEAB4 002CBA14 41 82 00 F4 */ beq lbl_802CEBA8 -/* 802CEAB8 002CBA18 7F A3 EB 78 */ mr r3, r29 -/* 802CEABC 002CBA1C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CEAC0 002CBA20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEAC4 002CBA24 7D 89 03 A6 */ mtctr r12 -/* 802CEAC8 002CBA28 4E 80 04 21 */ bctrl -/* 802CEACC 002CBA2C 7C 64 1B 78 */ mr r4, r3 -/* 802CEAD0 002CBA30 7F 83 E3 78 */ mr r3, r28 -/* 802CEAD4 002CBA34 48 00 68 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEAD8 002CBA38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEADC 002CBA3C 41 82 00 2C */ beq lbl_802CEB08 -/* 802CEAE0 002CBA40 7F C3 F3 78 */ mr r3, r30 -/* 802CEAE4 002CBA44 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CEAE8 002CBA48 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEAEC 002CBA4C 7D 89 03 A6 */ mtctr r12 -/* 802CEAF0 002CBA50 4E 80 04 21 */ bctrl -/* 802CEAF4 002CBA54 7C 64 1B 78 */ mr r4, r3 -/* 802CEAF8 002CBA58 7F 63 DB 78 */ mr r3, r27 -/* 802CEAFC 002CBA5C 48 00 68 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEB00 002CBA60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEB04 002CBA64 40 82 00 0C */ bne lbl_802CEB10 -lbl_802CEB08: -/* 802CEB08 002CBA68 38 60 00 00 */ li r3, 0 -/* 802CEB0C 002CBA6C 48 00 01 04 */ b lbl_802CEC10 -lbl_802CEB10: -/* 802CEB10 002CBA70 80 9A 00 38 */ lwz r4, 0x38(r26) -/* 802CEB14 002CBA74 3B 61 00 10 */ addi r27, r1, 0x10 -/* 802CEB18 002CBA78 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 802CEB1C 002CBA7C 7F 63 DB 78 */ mr r3, r27 -/* 802CEB20 002CBA80 90 81 00 08 */ stw r4, 8(r1) -/* 802CEB24 002CBA84 38 9A 00 40 */ addi r4, r26, 0x40 -/* 802CEB28 002CBA88 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CEB2C 002CBA8C 48 04 40 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEB30 002CBA90 80 BA 00 00 */ lwz r5, 0(r26) -/* 802CEB34 002CBA94 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CEB38 002CBA98 80 1A 00 04 */ lwz r0, 4(r26) -/* 802CEB3C 002CBA9C 38 9A 00 08 */ addi r4, r26, 8 -/* 802CEB40 002CBAA0 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802CEB44 002CBAA4 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CEB48 002CBAA8 48 04 40 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEB4C 002CBAAC 80 A1 00 08 */ lwz r5, 8(r1) -/* 802CEB50 002CBAB0 7F 64 DB 78 */ mr r4, r27 -/* 802CEB54 002CBAB4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802CEB58 002CBAB8 38 61 00 80 */ addi r3, r1, 0x80 -/* 802CEB5C 002CBABC 90 A1 00 78 */ stw r5, 0x78(r1) -/* 802CEB60 002CBAC0 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802CEB64 002CBAC4 48 04 40 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEB68 002CBAC8 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 802CEB6C 002CBACC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802CEB70 002CBAD0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CEB74 002CBAD4 38 81 00 48 */ addi r4, r1, 0x48 -/* 802CEB78 002CBAD8 90 A1 00 B0 */ stw r5, 0xb0(r1) -/* 802CEB7C 002CBADC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802CEB80 002CBAE0 48 04 3F F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEB84 002CBAE4 7F EC FB 78 */ mr r12, r31 -/* 802CEB88 002CBAE8 38 61 00 78 */ addi r3, r1, 0x78 -/* 802CEB8C 002CBAEC 7D 89 03 A6 */ mtctr r12 -/* 802CEB90 002CBAF0 4E 80 04 21 */ bctrl -/* 802CEB94 002CBAF4 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 802CEB98 002CBAF8 7C 03 00 D0 */ neg r0, r3 -/* 802CEB9C 002CBAFC 7C 00 1B 78 */ or r0, r0, r3 -/* 802CEBA0 002CBB00 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802CEBA4 002CBB04 48 00 00 6C */ b lbl_802CEC10 -lbl_802CEBA8: -/* 802CEBA8 002CBB08 38 00 00 00 */ li r0, 0 -/* 802CEBAC 002CBB0C 7F 43 D3 78 */ mr r3, r26 -/* 802CEBB0 002CBB10 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 802CEBB4 002CBB14 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 802CEBB8 002CBB18 48 00 01 A5 */ bl InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList -/* 802CEBBC 002CBB1C 80 C1 00 E8 */ lwz r6, 0xe8(r1) -/* 802CEBC0 002CBB20 38 80 00 00 */ li r4, 0 -/* 802CEBC4 002CBB24 2C 06 00 00 */ cmpwi r6, 0 -/* 802CEBC8 002CBB28 40 81 00 40 */ ble lbl_802CEC08 -/* 802CEBCC 002CBB2C 2C 06 00 08 */ cmpwi r6, 8 -/* 802CEBD0 002CBB30 38 A6 FF F8 */ addi r5, r6, -8 -/* 802CEBD4 002CBB34 40 81 00 20 */ ble lbl_802CEBF4 -/* 802CEBD8 002CBB38 38 05 00 07 */ addi r0, r5, 7 -/* 802CEBDC 002CBB3C 54 00 E8 FE */ srwi r0, r0, 3 -/* 802CEBE0 002CBB40 7C 09 03 A6 */ mtctr r0 -/* 802CEBE4 002CBB44 2C 05 00 00 */ cmpwi r5, 0 -/* 802CEBE8 002CBB48 40 81 00 0C */ ble lbl_802CEBF4 -lbl_802CEBEC: -/* 802CEBEC 002CBB4C 38 84 00 08 */ addi r4, r4, 8 -/* 802CEBF0 002CBB50 42 00 FF FC */ bdnz lbl_802CEBEC -lbl_802CEBF4: -/* 802CEBF4 002CBB54 7C 04 30 50 */ subf r0, r4, r6 -/* 802CEBF8 002CBB58 7C 09 03 A6 */ mtctr r0 -/* 802CEBFC 002CBB5C 7C 04 30 00 */ cmpw r4, r6 -/* 802CEC00 002CBB60 40 80 00 08 */ bge lbl_802CEC08 -lbl_802CEC04: -/* 802CEC04 002CBB64 42 00 00 00 */ bdnz lbl_802CEC04 -lbl_802CEC08: -/* 802CEC08 002CBB68 38 00 00 00 */ li r0, 0 -/* 802CEC0C 002CBB6C 90 01 00 E8 */ stw r0, 0xe8(r1) -lbl_802CEC10: -/* 802CEC10 002CBB70 BB 21 0C F4 */ lmw r25, 0xcf4(r1) -/* 802CEC14 002CBB74 80 01 0D 14 */ lwz r0, 0xd14(r1) -/* 802CEC18 002CBB78 7C 08 03 A6 */ mtlr r0 -/* 802CEC1C 002CBB7C 38 21 0D 10 */ addi r1, r1, 0xd10 -/* 802CEC20 002CBB80 4E 80 00 20 */ blr - -.global InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -InternalCollideMoving__19CCollisionPrimitiveFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802CEC24 002CBB84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CEC28 002CBB88 7C 08 02 A6 */ mflr r0 -/* 802CEC2C 002CBB8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CEC30 002CBB90 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 802CEC34 002CBB94 7C 79 1B 78 */ mr r25, r3 -/* 802CEC38 002CBB98 7C 9A 23 78 */ mr r26, r4 -/* 802CEC3C 002CBB9C 7C BB 2B 78 */ mr r27, r5 -/* 802CEC40 002CBBA0 7C DC 33 78 */ mr r28, r6 -/* 802CEC44 002CBBA4 83 E3 00 00 */ lwz r31, 0(r3) -/* 802CEC48 002CBBA8 82 E3 00 38 */ lwz r23, 0x38(r3) -/* 802CEC4C 002CBBAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802CEC50 002CBBB0 7F E3 FB 78 */ mr r3, r31 -/* 802CEC54 002CBBB4 83 D9 00 04 */ lwz r30, 4(r25) -/* 802CEC58 002CBBB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CEC5C 002CBBBC 83 B9 00 3C */ lwz r29, 0x3c(r25) -/* 802CEC60 002CBBC0 7D 89 03 A6 */ mtctr r12 -/* 802CEC64 002CBBC4 4E 80 04 21 */ bctrl -/* 802CEC68 002CBBC8 7C 78 1B 78 */ mr r24, r3 -/* 802CEC6C 002CBBCC 7E E3 BB 78 */ mr r3, r23 -/* 802CEC70 002CBBD0 81 97 00 00 */ lwz r12, 0(r23) -/* 802CEC74 002CBBD4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CEC78 002CBBD8 7D 89 03 A6 */ mtctr r12 -/* 802CEC7C 002CBBDC 4E 80 04 21 */ bctrl -/* 802CEC80 002CBBE0 3C 18 00 01 */ addis r0, r24, 1 -/* 802CEC84 002CBBE4 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEC88 002CBBE8 41 82 00 10 */ beq lbl_802CEC98 -/* 802CEC8C 002CBBEC 3C 03 00 01 */ addis r0, r3, 1 -/* 802CEC90 002CBBF0 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEC94 002CBBF4 40 82 00 14 */ bne lbl_802CECA8 -lbl_802CEC98: -/* 802CEC98 002CBBF8 38 00 00 00 */ li r0, 0 -/* 802CEC9C 002CBBFC 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 -/* 802CECA0 002CBC00 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) -/* 802CECA4 002CBC04 48 00 00 1C */ b lbl_802CECC0 -lbl_802CECA8: -/* 802CECA8 002CBC08 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) -/* 802CECAC 002CBC0C 80 8D A6 68 */ lwz r4, lbl_805A9228@sda21(r13) -/* 802CECB0 002CBC10 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802CECB4 002CBC14 7C 18 02 14 */ add r0, r24, r0 -/* 802CECB8 002CBC18 54 00 10 3A */ slwi r0, r0, 2 -/* 802CECBC 002CBC1C 7C 64 02 14 */ add r3, r4, r0 -lbl_802CECC0: -/* 802CECC0 002CBC20 83 03 00 00 */ lwz r24, 0(r3) -/* 802CECC4 002CBC24 28 18 00 00 */ cmplwi r24, 0 -/* 802CECC8 002CBC28 41 82 00 7C */ beq lbl_802CED44 -/* 802CECCC 002CBC2C 7E E3 BB 78 */ mr r3, r23 -/* 802CECD0 002CBC30 81 97 00 00 */ lwz r12, 0(r23) -/* 802CECD4 002CBC34 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CECD8 002CBC38 7D 89 03 A6 */ mtctr r12 -/* 802CECDC 002CBC3C 4E 80 04 21 */ bctrl -/* 802CECE0 002CBC40 7C 64 1B 78 */ mr r4, r3 -/* 802CECE4 002CBC44 7F C3 F3 78 */ mr r3, r30 -/* 802CECE8 002CBC48 48 00 66 65 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CECEC 002CBC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CECF0 002CBC50 41 82 00 2C */ beq lbl_802CED1C -/* 802CECF4 002CBC54 7F E3 FB 78 */ mr r3, r31 -/* 802CECF8 002CBC58 81 9F 00 00 */ lwz r12, 0(r31) -/* 802CECFC 002CBC5C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CED00 002CBC60 7D 89 03 A6 */ mtctr r12 -/* 802CED04 002CBC64 4E 80 04 21 */ bctrl -/* 802CED08 002CBC68 7C 64 1B 78 */ mr r4, r3 -/* 802CED0C 002CBC6C 7F A3 EB 78 */ mr r3, r29 -/* 802CED10 002CBC70 48 00 66 3D */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CED14 002CBC74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CED18 002CBC78 40 82 00 0C */ bne lbl_802CED24 -lbl_802CED1C: -/* 802CED1C 002CBC7C 38 60 00 00 */ li r3, 0 -/* 802CED20 002CBC80 48 00 00 28 */ b lbl_802CED48 -lbl_802CED24: -/* 802CED24 002CBC84 7F 0C C3 78 */ mr r12, r24 -/* 802CED28 002CBC88 7F 23 CB 78 */ mr r3, r25 -/* 802CED2C 002CBC8C 7F 44 D3 78 */ mr r4, r26 -/* 802CED30 002CBC90 7F 65 DB 78 */ mr r5, r27 -/* 802CED34 002CBC94 7F 86 E3 78 */ mr r6, r28 -/* 802CED38 002CBC98 7D 89 03 A6 */ mtctr r12 -/* 802CED3C 002CBC9C 4E 80 04 21 */ bctrl -/* 802CED40 002CBCA0 48 00 00 08 */ b lbl_802CED48 -lbl_802CED44: -/* 802CED44 002CBCA4 38 60 00 00 */ li r3, 0 -lbl_802CED48: -/* 802CED48 002CBCA8 BA E1 00 0C */ lmw r23, 0xc(r1) -/* 802CED4C 002CBCAC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CED50 002CBCB0 7C 08 03 A6 */ mtlr r0 -/* 802CED54 002CBCB4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CED58 002CBCB8 4E 80 00 20 */ blr - -.global InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList -InternalCollide__19CCollisionPrimitiveFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802CED5C 002CBCBC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802CED60 002CBCC0 7C 08 02 A6 */ mflr r0 -/* 802CED64 002CBCC4 90 01 01 14 */ stw r0, 0x114(r1) -/* 802CED68 002CBCC8 BF 01 00 F0 */ stmw r24, 0xf0(r1) -/* 802CED6C 002CBCCC 7C 79 1B 78 */ mr r25, r3 -/* 802CED70 002CBCD0 7C 9A 23 78 */ mr r26, r4 -/* 802CED74 002CBCD4 83 C3 00 00 */ lwz r30, 0(r3) -/* 802CED78 002CBCD8 83 A3 00 38 */ lwz r29, 0x38(r3) -/* 802CED7C 002CBCDC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CED80 002CBCE0 7F C3 F3 78 */ mr r3, r30 -/* 802CED84 002CBCE4 83 99 00 04 */ lwz r28, 4(r25) -/* 802CED88 002CBCE8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CED8C 002CBCEC 83 79 00 3C */ lwz r27, 0x3c(r25) -/* 802CED90 002CBCF0 7D 89 03 A6 */ mtctr r12 -/* 802CED94 002CBCF4 4E 80 04 21 */ bctrl -/* 802CED98 002CBCF8 7C 7F 1B 78 */ mr r31, r3 -/* 802CED9C 002CBCFC 7F A3 EB 78 */ mr r3, r29 -/* 802CEDA0 002CBD00 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CEDA4 002CBD04 81 8C 00 08 */ lwz r12, 8(r12) -/* 802CEDA8 002CBD08 7D 89 03 A6 */ mtctr r12 -/* 802CEDAC 002CBD0C 4E 80 04 21 */ bctrl -/* 802CEDB0 002CBD10 3C 1F 00 01 */ addis r0, r31, 1 -/* 802CEDB4 002CBD14 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEDB8 002CBD18 41 82 00 10 */ beq lbl_802CEDC8 -/* 802CEDBC 002CBD1C 3C 03 00 01 */ addis r0, r3, 1 -/* 802CEDC0 002CBD20 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEDC4 002CBD24 40 82 00 14 */ bne lbl_802CEDD8 -lbl_802CEDC8: -/* 802CEDC8 002CBD28 38 00 00 00 */ li r0, 0 -/* 802CEDCC 002CBD2C 38 8D A6 6C */ addi r4, r13, lbl_805A922C@sda21 -/* 802CEDD0 002CBD30 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) -/* 802CEDD4 002CBD34 48 00 00 1C */ b lbl_802CEDF0 -lbl_802CEDD8: -/* 802CEDD8 002CBD38 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) -/* 802CEDDC 002CBD3C 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) -/* 802CEDE0 002CBD40 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802CEDE4 002CBD44 7C 1F 02 14 */ add r0, r31, r0 -/* 802CEDE8 002CBD48 54 00 10 3A */ slwi r0, r0, 2 -/* 802CEDEC 002CBD4C 7C 84 02 14 */ add r4, r4, r0 -lbl_802CEDF0: -/* 802CEDF0 002CBD50 83 04 00 00 */ lwz r24, 0(r4) -/* 802CEDF4 002CBD54 28 18 00 00 */ cmplwi r24, 0 -/* 802CEDF8 002CBD58 41 82 00 74 */ beq lbl_802CEE6C -/* 802CEDFC 002CBD5C 7F A3 EB 78 */ mr r3, r29 -/* 802CEE00 002CBD60 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CEE04 002CBD64 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEE08 002CBD68 7D 89 03 A6 */ mtctr r12 -/* 802CEE0C 002CBD6C 4E 80 04 21 */ bctrl -/* 802CEE10 002CBD70 7C 64 1B 78 */ mr r4, r3 -/* 802CEE14 002CBD74 7F 83 E3 78 */ mr r3, r28 -/* 802CEE18 002CBD78 48 00 65 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEE1C 002CBD7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEE20 002CBD80 41 82 00 2C */ beq lbl_802CEE4C -/* 802CEE24 002CBD84 7F C3 F3 78 */ mr r3, r30 -/* 802CEE28 002CBD88 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CEE2C 002CBD8C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEE30 002CBD90 7D 89 03 A6 */ mtctr r12 -/* 802CEE34 002CBD94 4E 80 04 21 */ bctrl -/* 802CEE38 002CBD98 7C 64 1B 78 */ mr r4, r3 -/* 802CEE3C 002CBD9C 7F 63 DB 78 */ mr r3, r27 -/* 802CEE40 002CBDA0 48 00 65 0D */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEE44 002CBDA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEE48 002CBDA8 40 82 00 0C */ bne lbl_802CEE54 -lbl_802CEE4C: -/* 802CEE4C 002CBDAC 38 60 00 00 */ li r3, 0 -/* 802CEE50 002CBDB0 48 00 01 94 */ b lbl_802CEFE4 -lbl_802CEE54: -/* 802CEE54 002CBDB4 7F 0C C3 78 */ mr r12, r24 -/* 802CEE58 002CBDB8 7F 23 CB 78 */ mr r3, r25 -/* 802CEE5C 002CBDBC 7F 44 D3 78 */ mr r4, r26 -/* 802CEE60 002CBDC0 7D 89 03 A6 */ mtctr r12 -/* 802CEE64 002CBDC4 4E 80 04 21 */ bctrl -/* 802CEE68 002CBDC8 48 00 01 7C */ b lbl_802CEFE4 -lbl_802CEE6C: -/* 802CEE6C 002CBDCC 3C 03 00 01 */ addis r0, r3, 1 -/* 802CEE70 002CBDD0 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEE74 002CBDD4 41 82 00 10 */ beq lbl_802CEE84 -/* 802CEE78 002CBDD8 3C 1F 00 01 */ addis r0, r31, 1 -/* 802CEE7C 002CBDDC 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CEE80 002CBDE0 40 82 00 14 */ bne lbl_802CEE94 -lbl_802CEE84: -/* 802CEE84 002CBDE4 38 00 00 00 */ li r0, 0 -/* 802CEE88 002CBDE8 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 -/* 802CEE8C 002CBDEC 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) -/* 802CEE90 002CBDF0 48 00 00 1C */ b lbl_802CEEAC -lbl_802CEE94: -/* 802CEE94 002CBDF4 80 0D A6 50 */ lwz r0, lbl_805A9210@sda21(r13) -/* 802CEE98 002CBDF8 80 8D A6 60 */ lwz r4, lbl_805A9220@sda21(r13) -/* 802CEE9C 002CBDFC 7C 1F 01 D6 */ mullw r0, r31, r0 -/* 802CEEA0 002CBE00 7C 03 02 14 */ add r0, r3, r0 -/* 802CEEA4 002CBE04 54 00 10 3A */ slwi r0, r0, 2 -/* 802CEEA8 002CBE08 7C 64 02 14 */ add r3, r4, r0 -lbl_802CEEAC: -/* 802CEEAC 002CBE0C 83 E3 00 00 */ lwz r31, 0(r3) -/* 802CEEB0 002CBE10 28 1F 00 00 */ cmplwi r31, 0 -/* 802CEEB4 002CBE14 41 82 01 2C */ beq lbl_802CEFE0 -/* 802CEEB8 002CBE18 7F A3 EB 78 */ mr r3, r29 -/* 802CEEBC 002CBE1C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802CEEC0 002CBE20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEEC4 002CBE24 7D 89 03 A6 */ mtctr r12 -/* 802CEEC8 002CBE28 4E 80 04 21 */ bctrl -/* 802CEECC 002CBE2C 7C 64 1B 78 */ mr r4, r3 -/* 802CEED0 002CBE30 7F 83 E3 78 */ mr r3, r28 -/* 802CEED4 002CBE34 48 00 64 79 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEED8 002CBE38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEEDC 002CBE3C 41 82 00 2C */ beq lbl_802CEF08 -/* 802CEEE0 002CBE40 7F C3 F3 78 */ mr r3, r30 -/* 802CEEE4 002CBE44 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CEEE8 002CBE48 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802CEEEC 002CBE4C 7D 89 03 A6 */ mtctr r12 -/* 802CEEF0 002CBE50 4E 80 04 21 */ bctrl -/* 802CEEF4 002CBE54 7C 64 1B 78 */ mr r4, r3 -/* 802CEEF8 002CBE58 7F 63 DB 78 */ mr r3, r27 -/* 802CEEFC 002CBE5C 48 00 64 51 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802CEF00 002CBE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEF04 002CBE64 40 82 00 0C */ bne lbl_802CEF10 -lbl_802CEF08: -/* 802CEF08 002CBE68 38 60 00 00 */ li r3, 0 -/* 802CEF0C 002CBE6C 48 00 00 D8 */ b lbl_802CEFE4 -lbl_802CEF10: -/* 802CEF10 002CBE70 80 99 00 38 */ lwz r4, 0x38(r25) -/* 802CEF14 002CBE74 3B 61 00 10 */ addi r27, r1, 0x10 -/* 802CEF18 002CBE78 80 19 00 3C */ lwz r0, 0x3c(r25) -/* 802CEF1C 002CBE7C 7F 63 DB 78 */ mr r3, r27 -/* 802CEF20 002CBE80 90 81 00 08 */ stw r4, 8(r1) -/* 802CEF24 002CBE84 38 99 00 40 */ addi r4, r25, 0x40 -/* 802CEF28 002CBE88 90 01 00 0C */ stw r0, 0xc(r1) -/* 802CEF2C 002CBE8C 48 04 3C 49 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEF30 002CBE90 80 B9 00 00 */ lwz r5, 0(r25) -/* 802CEF34 002CBE94 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CEF38 002CBE98 80 19 00 04 */ lwz r0, 4(r25) -/* 802CEF3C 002CBE9C 38 99 00 08 */ addi r4, r25, 8 -/* 802CEF40 002CBEA0 90 A1 00 40 */ stw r5, 0x40(r1) -/* 802CEF44 002CBEA4 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CEF48 002CBEA8 48 04 3C 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEF4C 002CBEAC 80 A1 00 08 */ lwz r5, 8(r1) -/* 802CEF50 002CBEB0 7F 64 DB 78 */ mr r4, r27 -/* 802CEF54 002CBEB4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802CEF58 002CBEB8 38 61 00 80 */ addi r3, r1, 0x80 -/* 802CEF5C 002CBEBC 90 A1 00 78 */ stw r5, 0x78(r1) -/* 802CEF60 002CBEC0 90 01 00 7C */ stw r0, 0x7c(r1) -/* 802CEF64 002CBEC4 48 04 3C 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEF68 002CBEC8 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 802CEF6C 002CBECC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802CEF70 002CBED0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CEF74 002CBED4 38 81 00 48 */ addi r4, r1, 0x48 -/* 802CEF78 002CBED8 90 A1 00 B0 */ stw r5, 0xb0(r1) -/* 802CEF7C 002CBEDC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802CEF80 002CBEE0 48 04 3B F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802CEF84 002CBEE4 7F EC FB 78 */ mr r12, r31 -/* 802CEF88 002CBEE8 7F 44 D3 78 */ mr r4, r26 -/* 802CEF8C 002CBEEC 38 61 00 78 */ addi r3, r1, 0x78 -/* 802CEF90 002CBEF0 83 3A 00 00 */ lwz r25, 0(r26) -/* 802CEF94 002CBEF4 7D 89 03 A6 */ mtctr r12 -/* 802CEF98 002CBEF8 4E 80 04 21 */ bctrl -/* 802CEF9C 002CBEFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802CEFA0 002CBF00 41 82 00 38 */ beq lbl_802CEFD8 -/* 802CEFA4 002CBF04 1C 19 00 60 */ mulli r0, r25, 0x60 -/* 802CEFA8 002CBF08 7F 7A 02 14 */ add r27, r26, r0 -/* 802CEFAC 002CBF0C 3B 7B 00 04 */ addi r27, r27, 4 -/* 802CEFB0 002CBF10 48 00 00 14 */ b lbl_802CEFC4 -lbl_802CEFB4: -/* 802CEFB4 002CBF14 7F 63 DB 78 */ mr r3, r27 -/* 802CEFB8 002CBF18 4B FF F1 01 */ bl Swap__14CCollisionInfoFv -/* 802CEFBC 002CBF1C 3B 7B 00 60 */ addi r27, r27, 0x60 -/* 802CEFC0 002CBF20 3B 39 00 01 */ addi r25, r25, 1 -lbl_802CEFC4: -/* 802CEFC4 002CBF24 80 1A 00 00 */ lwz r0, 0(r26) -/* 802CEFC8 002CBF28 7C 19 00 00 */ cmpw r25, r0 -/* 802CEFCC 002CBF2C 41 80 FF E8 */ blt lbl_802CEFB4 -/* 802CEFD0 002CBF30 38 60 00 01 */ li r3, 1 -/* 802CEFD4 002CBF34 48 00 00 10 */ b lbl_802CEFE4 -lbl_802CEFD8: -/* 802CEFD8 002CBF38 38 60 00 00 */ li r3, 0 -/* 802CEFDC 002CBF3C 48 00 00 08 */ b lbl_802CEFE4 -lbl_802CEFE0: -/* 802CEFE0 002CBF40 38 60 00 00 */ li r3, 0 -lbl_802CEFE4: -/* 802CEFE4 002CBF44 BB 01 00 F0 */ lmw r24, 0xf0(r1) -/* 802CEFE8 002CBF48 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802CEFEC 002CBF4C 7C 08 03 A6 */ mtlr r0 -/* 802CEFF0 002CBF50 38 21 01 10 */ addi r1, r1, 0x110 -/* 802CEFF4 002CBF54 4E 80 00 20 */ blr - -.global InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison -InitAddMovingCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive16MovingComparison: -/* 802CEFF8 002CBF58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CEFFC 002CBF5C 7C 08 02 A6 */ mflr r0 -/* 802CF000 002CBF60 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CF004 002CBF64 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802CF008 002CBF68 3B A0 00 00 */ li r29, 0 -/* 802CF00C 002CBF6C 7C 7F 1B 78 */ mr r31, r3 -/* 802CF010 002CBF70 7F BC EB 78 */ mr r28, r29 -/* 802CF014 002CBF74 83 C3 00 04 */ lwz r30, 4(r3) -/* 802CF018 002CBF78 48 00 00 2C */ b lbl_802CF044 -lbl_802CF01C: -/* 802CF01C 002CBF7C 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF020 002CBF80 38 1C 00 04 */ addi r0, r28, 4 -/* 802CF024 002CBF84 7F C4 F3 78 */ mr r4, r30 -/* 802CF028 002CBF88 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF02C 002CBF8C 48 0C 0F 71 */ bl strcmp -/* 802CF030 002CBF90 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF034 002CBF94 40 82 00 08 */ bne lbl_802CF03C -/* 802CF038 002CBF98 48 00 00 20 */ b lbl_802CF058 -lbl_802CF03C: -/* 802CF03C 002CBF9C 3B 9C 00 08 */ addi r28, r28, 8 -/* 802CF040 002CBFA0 3B BD 00 01 */ addi r29, r29, 1 -lbl_802CF044: -/* 802CF044 002CBFA4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF048 002CBFA8 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF04C 002CBFAC 7C 1D 00 00 */ cmpw r29, r0 -/* 802CF050 002CBFB0 41 80 FF CC */ blt lbl_802CF01C -/* 802CF054 002CBFB4 3B A0 FF FF */ li r29, -1 -lbl_802CF058: -/* 802CF058 002CBFB8 3B 80 00 00 */ li r28, 0 -/* 802CF05C 002CBFBC 83 DF 00 08 */ lwz r30, 8(r31) -/* 802CF060 002CBFC0 7F 9B E3 78 */ mr r27, r28 -/* 802CF064 002CBFC4 48 00 00 2C */ b lbl_802CF090 -lbl_802CF068: -/* 802CF068 002CBFC8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF06C 002CBFCC 38 1B 00 04 */ addi r0, r27, 4 -/* 802CF070 002CBFD0 7F C4 F3 78 */ mr r4, r30 -/* 802CF074 002CBFD4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF078 002CBFD8 48 0C 0F 25 */ bl strcmp -/* 802CF07C 002CBFDC 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF080 002CBFE0 40 82 00 08 */ bne lbl_802CF088 -/* 802CF084 002CBFE4 48 00 00 20 */ b lbl_802CF0A4 -lbl_802CF088: -/* 802CF088 002CBFE8 3B 7B 00 08 */ addi r27, r27, 8 -/* 802CF08C 002CBFEC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802CF090: -/* 802CF090 002CBFF0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF094 002CBFF4 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF098 002CBFF8 7C 1C 00 00 */ cmpw r28, r0 -/* 802CF09C 002CBFFC 41 80 FF CC */ blt lbl_802CF068 -/* 802CF0A0 002CC000 3B 80 FF FF */ li r28, -1 -lbl_802CF0A4: -/* 802CF0A4 002CC004 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) -/* 802CF0A8 002CC008 38 00 00 00 */ li r0, 0 -/* 802CF0AC 002CC00C 7C 1D 18 00 */ cmpw r29, r3 -/* 802CF0B0 002CC010 40 80 00 20 */ bge lbl_802CF0D0 -/* 802CF0B4 002CC014 7C 1C 18 00 */ cmpw r28, r3 -/* 802CF0B8 002CC018 40 80 00 18 */ bge lbl_802CF0D0 -/* 802CF0BC 002CC01C 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CF0C0 002CC020 41 80 00 10 */ blt lbl_802CF0D0 -/* 802CF0C4 002CC024 2C 1C 00 00 */ cmpwi r28, 0 -/* 802CF0C8 002CC028 41 80 00 08 */ blt lbl_802CF0D0 -/* 802CF0CC 002CC02C 38 00 00 01 */ li r0, 1 -lbl_802CF0D0: -/* 802CF0D0 002CC030 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802CF0D4 002CC034 41 82 00 48 */ beq lbl_802CF11C -/* 802CF0D8 002CC038 3C 1D 00 01 */ addis r0, r29, 1 -/* 802CF0DC 002CC03C 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF0E0 002CC040 41 82 00 10 */ beq lbl_802CF0F0 -/* 802CF0E4 002CC044 3C 1C 00 01 */ addis r0, r28, 1 -/* 802CF0E8 002CC048 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF0EC 002CC04C 40 82 00 14 */ bne lbl_802CF100 -lbl_802CF0F0: -/* 802CF0F0 002CC050 38 00 00 00 */ li r0, 0 -/* 802CF0F4 002CC054 38 6D A6 74 */ addi r3, r13, lbl_805A9234@sda21 -/* 802CF0F8 002CC058 90 0D A6 74 */ stw r0, lbl_805A9234@sda21(r13) -/* 802CF0FC 002CC05C 48 00 00 18 */ b lbl_802CF114 -lbl_802CF100: -/* 802CF100 002CC060 7C 1C 19 D6 */ mullw r0, r28, r3 -/* 802CF104 002CC064 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) -/* 802CF108 002CC068 7C 1D 02 14 */ add r0, r29, r0 -/* 802CF10C 002CC06C 54 00 10 3A */ slwi r0, r0, 2 -/* 802CF110 002CC070 7C 63 02 14 */ add r3, r3, r0 -lbl_802CF114: -/* 802CF114 002CC074 80 1F 00 00 */ lwz r0, 0(r31) -/* 802CF118 002CC078 90 03 00 00 */ stw r0, 0(r3) -lbl_802CF11C: -/* 802CF11C 002CC07C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802CF120 002CC080 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CF124 002CC084 7C 08 03 A6 */ mtlr r0 -/* 802CF128 002CC088 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CF12C 002CC08C 4E 80 00 20 */ blr - -.global InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison -InitAddBooleanCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive17BooleanComparison: -/* 802CF130 002CC090 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CF134 002CC094 7C 08 02 A6 */ mflr r0 -/* 802CF138 002CC098 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CF13C 002CC09C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802CF140 002CC0A0 3B A0 00 00 */ li r29, 0 -/* 802CF144 002CC0A4 7C 7F 1B 78 */ mr r31, r3 -/* 802CF148 002CC0A8 7F BC EB 78 */ mr r28, r29 -/* 802CF14C 002CC0AC 83 C3 00 04 */ lwz r30, 4(r3) -/* 802CF150 002CC0B0 48 00 00 2C */ b lbl_802CF17C -lbl_802CF154: -/* 802CF154 002CC0B4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF158 002CC0B8 38 1C 00 04 */ addi r0, r28, 4 -/* 802CF15C 002CC0BC 7F C4 F3 78 */ mr r4, r30 -/* 802CF160 002CC0C0 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF164 002CC0C4 48 0C 0E 39 */ bl strcmp -/* 802CF168 002CC0C8 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF16C 002CC0CC 40 82 00 08 */ bne lbl_802CF174 -/* 802CF170 002CC0D0 48 00 00 20 */ b lbl_802CF190 -lbl_802CF174: -/* 802CF174 002CC0D4 3B 9C 00 08 */ addi r28, r28, 8 -/* 802CF178 002CC0D8 3B BD 00 01 */ addi r29, r29, 1 -lbl_802CF17C: -/* 802CF17C 002CC0DC 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF180 002CC0E0 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF184 002CC0E4 7C 1D 00 00 */ cmpw r29, r0 -/* 802CF188 002CC0E8 41 80 FF CC */ blt lbl_802CF154 -/* 802CF18C 002CC0EC 3B A0 FF FF */ li r29, -1 -lbl_802CF190: -/* 802CF190 002CC0F0 3B 80 00 00 */ li r28, 0 -/* 802CF194 002CC0F4 83 DF 00 08 */ lwz r30, 8(r31) -/* 802CF198 002CC0F8 7F 9B E3 78 */ mr r27, r28 -/* 802CF19C 002CC0FC 48 00 00 2C */ b lbl_802CF1C8 -lbl_802CF1A0: -/* 802CF1A0 002CC100 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF1A4 002CC104 38 1B 00 04 */ addi r0, r27, 4 -/* 802CF1A8 002CC108 7F C4 F3 78 */ mr r4, r30 -/* 802CF1AC 002CC10C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF1B0 002CC110 48 0C 0D ED */ bl strcmp -/* 802CF1B4 002CC114 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF1B8 002CC118 40 82 00 08 */ bne lbl_802CF1C0 -/* 802CF1BC 002CC11C 48 00 00 20 */ b lbl_802CF1DC -lbl_802CF1C0: -/* 802CF1C0 002CC120 3B 7B 00 08 */ addi r27, r27, 8 -/* 802CF1C4 002CC124 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802CF1C8: -/* 802CF1C8 002CC128 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF1CC 002CC12C 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF1D0 002CC130 7C 1C 00 00 */ cmpw r28, r0 -/* 802CF1D4 002CC134 41 80 FF CC */ blt lbl_802CF1A0 -/* 802CF1D8 002CC138 3B 80 FF FF */ li r28, -1 -lbl_802CF1DC: -/* 802CF1DC 002CC13C 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) -/* 802CF1E0 002CC140 38 00 00 00 */ li r0, 0 -/* 802CF1E4 002CC144 7C 1D 18 00 */ cmpw r29, r3 -/* 802CF1E8 002CC148 40 80 00 20 */ bge lbl_802CF208 -/* 802CF1EC 002CC14C 7C 1C 18 00 */ cmpw r28, r3 -/* 802CF1F0 002CC150 40 80 00 18 */ bge lbl_802CF208 -/* 802CF1F4 002CC154 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CF1F8 002CC158 41 80 00 10 */ blt lbl_802CF208 -/* 802CF1FC 002CC15C 2C 1C 00 00 */ cmpwi r28, 0 -/* 802CF200 002CC160 41 80 00 08 */ blt lbl_802CF208 -/* 802CF204 002CC164 38 00 00 01 */ li r0, 1 -lbl_802CF208: -/* 802CF208 002CC168 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802CF20C 002CC16C 41 82 00 48 */ beq lbl_802CF254 -/* 802CF210 002CC170 3C 1D 00 01 */ addis r0, r29, 1 -/* 802CF214 002CC174 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF218 002CC178 41 82 00 10 */ beq lbl_802CF228 -/* 802CF21C 002CC17C 3C 1C 00 01 */ addis r0, r28, 1 -/* 802CF220 002CC180 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF224 002CC184 40 82 00 14 */ bne lbl_802CF238 -lbl_802CF228: -/* 802CF228 002CC188 38 00 00 00 */ li r0, 0 -/* 802CF22C 002CC18C 38 6D A6 70 */ addi r3, r13, lbl_805A9230@sda21 -/* 802CF230 002CC190 90 0D A6 70 */ stw r0, lbl_805A9230@sda21(r13) -/* 802CF234 002CC194 48 00 00 18 */ b lbl_802CF24C -lbl_802CF238: -/* 802CF238 002CC198 7C 1C 19 D6 */ mullw r0, r28, r3 -/* 802CF23C 002CC19C 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) -/* 802CF240 002CC1A0 7C 1D 02 14 */ add r0, r29, r0 -/* 802CF244 002CC1A4 54 00 10 3A */ slwi r0, r0, 2 -/* 802CF248 002CC1A8 7C 63 02 14 */ add r3, r3, r0 -lbl_802CF24C: -/* 802CF24C 002CC1AC 80 1F 00 00 */ lwz r0, 0(r31) -/* 802CF250 002CC1B0 90 03 00 00 */ stw r0, 0(r3) -lbl_802CF254: -/* 802CF254 002CC1B4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802CF258 002CC1B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CF25C 002CC1BC 7C 08 03 A6 */ mtlr r0 -/* 802CF260 002CC1C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CF264 002CC1C4 4E 80 00 20 */ blr - -.global InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison -InitAddCollider__19CCollisionPrimitiveFRCQ219CCollisionPrimitive10Comparison: -/* 802CF268 002CC1C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CF26C 002CC1CC 7C 08 02 A6 */ mflr r0 -/* 802CF270 002CC1D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CF274 002CC1D4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802CF278 002CC1D8 3B A0 00 00 */ li r29, 0 -/* 802CF27C 002CC1DC 7C 7F 1B 78 */ mr r31, r3 -/* 802CF280 002CC1E0 7F BC EB 78 */ mr r28, r29 -/* 802CF284 002CC1E4 83 C3 00 04 */ lwz r30, 4(r3) -/* 802CF288 002CC1E8 48 00 00 2C */ b lbl_802CF2B4 -lbl_802CF28C: -/* 802CF28C 002CC1EC 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF290 002CC1F0 38 1C 00 04 */ addi r0, r28, 4 -/* 802CF294 002CC1F4 7F C4 F3 78 */ mr r4, r30 -/* 802CF298 002CC1F8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF29C 002CC1FC 48 0C 0D 01 */ bl strcmp -/* 802CF2A0 002CC200 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF2A4 002CC204 40 82 00 08 */ bne lbl_802CF2AC -/* 802CF2A8 002CC208 48 00 00 20 */ b lbl_802CF2C8 -lbl_802CF2AC: -/* 802CF2AC 002CC20C 3B 9C 00 08 */ addi r28, r28, 8 -/* 802CF2B0 002CC210 3B BD 00 01 */ addi r29, r29, 1 -lbl_802CF2B4: -/* 802CF2B4 002CC214 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF2B8 002CC218 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF2BC 002CC21C 7C 1D 00 00 */ cmpw r29, r0 -/* 802CF2C0 002CC220 41 80 FF CC */ blt lbl_802CF28C -/* 802CF2C4 002CC224 3B A0 FF FF */ li r29, -1 -lbl_802CF2C8: -/* 802CF2C8 002CC228 3B 80 00 00 */ li r28, 0 -/* 802CF2CC 002CC22C 83 DF 00 08 */ lwz r30, 8(r31) -/* 802CF2D0 002CC230 7F 9B E3 78 */ mr r27, r28 -/* 802CF2D4 002CC234 48 00 00 2C */ b lbl_802CF300 -lbl_802CF2D8: -/* 802CF2D8 002CC238 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802CF2DC 002CC23C 38 1B 00 04 */ addi r0, r27, 4 -/* 802CF2E0 002CC240 7F C4 F3 78 */ mr r4, r30 -/* 802CF2E4 002CC244 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802CF2E8 002CC248 48 0C 0C B5 */ bl strcmp -/* 802CF2EC 002CC24C 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF2F0 002CC250 40 82 00 08 */ bne lbl_802CF2F8 -/* 802CF2F4 002CC254 48 00 00 20 */ b lbl_802CF314 -lbl_802CF2F8: -/* 802CF2F8 002CC258 3B 7B 00 08 */ addi r27, r27, 8 -/* 802CF2FC 002CC25C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802CF300: -/* 802CF300 002CC260 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF304 002CC264 80 03 00 04 */ lwz r0, 4(r3) -/* 802CF308 002CC268 7C 1C 00 00 */ cmpw r28, r0 -/* 802CF30C 002CC26C 41 80 FF CC */ blt lbl_802CF2D8 -/* 802CF310 002CC270 3B 80 FF FF */ li r28, -1 -lbl_802CF314: -/* 802CF314 002CC274 80 6D A6 50 */ lwz r3, lbl_805A9210@sda21(r13) -/* 802CF318 002CC278 38 00 00 00 */ li r0, 0 -/* 802CF31C 002CC27C 7C 1D 18 00 */ cmpw r29, r3 -/* 802CF320 002CC280 40 80 00 20 */ bge lbl_802CF340 -/* 802CF324 002CC284 7C 1C 18 00 */ cmpw r28, r3 -/* 802CF328 002CC288 40 80 00 18 */ bge lbl_802CF340 -/* 802CF32C 002CC28C 2C 1D 00 00 */ cmpwi r29, 0 -/* 802CF330 002CC290 41 80 00 10 */ blt lbl_802CF340 -/* 802CF334 002CC294 2C 1C 00 00 */ cmpwi r28, 0 -/* 802CF338 002CC298 41 80 00 08 */ blt lbl_802CF340 -/* 802CF33C 002CC29C 38 00 00 01 */ li r0, 1 -lbl_802CF340: -/* 802CF340 002CC2A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802CF344 002CC2A4 41 82 00 48 */ beq lbl_802CF38C -/* 802CF348 002CC2A8 3C 1D 00 01 */ addis r0, r29, 1 -/* 802CF34C 002CC2AC 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF350 002CC2B0 41 82 00 10 */ beq lbl_802CF360 -/* 802CF354 002CC2B4 3C 1C 00 01 */ addis r0, r28, 1 -/* 802CF358 002CC2B8 28 00 FF FF */ cmplwi r0, 0xffff -/* 802CF35C 002CC2BC 40 82 00 14 */ bne lbl_802CF370 -lbl_802CF360: -/* 802CF360 002CC2C0 38 00 00 00 */ li r0, 0 -/* 802CF364 002CC2C4 38 6D A6 6C */ addi r3, r13, lbl_805A922C@sda21 -/* 802CF368 002CC2C8 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) -/* 802CF36C 002CC2CC 48 00 00 18 */ b lbl_802CF384 -lbl_802CF370: -/* 802CF370 002CC2D0 7C 1C 19 D6 */ mullw r0, r28, r3 -/* 802CF374 002CC2D4 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) -/* 802CF378 002CC2D8 7C 1D 02 14 */ add r0, r29, r0 -/* 802CF37C 002CC2DC 54 00 10 3A */ slwi r0, r0, 2 -/* 802CF380 002CC2E0 7C 63 02 14 */ add r3, r3, r0 -lbl_802CF384: -/* 802CF384 002CC2E4 80 1F 00 00 */ lwz r0, 0(r31) -/* 802CF388 002CC2E8 90 03 00 00 */ stw r0, 0(r3) -lbl_802CF38C: -/* 802CF38C 002CC2EC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802CF390 002CC2F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CF394 002CC2F4 7C 08 03 A6 */ mtlr r0 -/* 802CF398 002CC2F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CF39C 002CC2FC 4E 80 00 20 */ blr - -.global InitEndColliders__19CCollisionPrimitiveFv -InitEndColliders__19CCollisionPrimitiveFv: -/* 802CF3A0 002CC300 81 0D A6 50 */ lwz r8, lbl_805A9210@sda21(r13) -/* 802CF3A4 002CC304 39 20 00 00 */ li r9, 0 -/* 802CF3A8 002CC308 38 E0 00 00 */ li r7, 0 -/* 802CF3AC 002CC30C 48 00 00 68 */ b lbl_802CF414 -lbl_802CF3B0: -/* 802CF3B0 002CC310 38 C0 00 00 */ li r6, 0 -/* 802CF3B4 002CC314 3C A9 00 01 */ addis r5, r9, 1 -/* 802CF3B8 002CC318 7C C4 33 78 */ mr r4, r6 -/* 802CF3BC 002CC31C 39 40 00 00 */ li r10, 0 -/* 802CF3C0 002CC320 7C C0 33 78 */ mr r0, r6 -/* 802CF3C4 002CC324 7D 09 03 A6 */ mtctr r8 -/* 802CF3C8 002CC328 2C 08 00 00 */ cmpwi r8, 0 -/* 802CF3CC 002CC32C 40 81 00 40 */ ble lbl_802CF40C -lbl_802CF3D0: -/* 802CF3D0 002CC330 28 05 FF FF */ cmplwi r5, 0xffff -/* 802CF3D4 002CC334 41 82 00 10 */ beq lbl_802CF3E4 -/* 802CF3D8 002CC338 3C 6A 00 01 */ addis r3, r10, 1 -/* 802CF3DC 002CC33C 28 03 FF FF */ cmplwi r3, 0xffff -/* 802CF3E0 002CC340 40 82 00 08 */ bne lbl_802CF3E8 -lbl_802CF3E4: -/* 802CF3E4 002CC344 90 8D A6 6C */ stw r4, lbl_805A922C@sda21(r13) -lbl_802CF3E8: -/* 802CF3E8 002CC348 3C 6A 00 01 */ addis r3, r10, 1 -/* 802CF3EC 002CC34C 28 03 FF FF */ cmplwi r3, 0xffff -/* 802CF3F0 002CC350 41 82 00 0C */ beq lbl_802CF3FC -/* 802CF3F4 002CC354 28 05 FF FF */ cmplwi r5, 0xffff -/* 802CF3F8 002CC358 40 82 00 08 */ bne lbl_802CF400 -lbl_802CF3FC: -/* 802CF3FC 002CC35C 90 0D A6 6C */ stw r0, lbl_805A922C@sda21(r13) -lbl_802CF400: -/* 802CF400 002CC360 7C C6 42 14 */ add r6, r6, r8 -/* 802CF404 002CC364 39 4A 00 01 */ addi r10, r10, 1 -/* 802CF408 002CC368 42 00 FF C8 */ bdnz lbl_802CF3D0 -lbl_802CF40C: -/* 802CF40C 002CC36C 7C E7 42 14 */ add r7, r7, r8 -/* 802CF410 002CC370 39 29 00 01 */ addi r9, r9, 1 -lbl_802CF414: -/* 802CF414 002CC374 7C 09 40 00 */ cmpw r9, r8 -/* 802CF418 002CC378 41 80 FF 98 */ blt lbl_802CF3B0 -/* 802CF41C 002CC37C 38 00 00 01 */ li r0, 1 -/* 802CF420 002CC380 38 60 00 00 */ li r3, 0 -/* 802CF424 002CC384 98 6D A6 58 */ stb r3, lbl_805A9218@sda21(r13) -/* 802CF428 002CC388 98 0D A6 57 */ stb r0, lbl_805A9217@sda21(r13) -/* 802CF42C 002CC38C 98 0D A6 54 */ stb r0, lbl_805A9214@sda21(r13) -/* 802CF430 002CC390 4E 80 00 20 */ blr - -.global InitBeginColliders__19CCollisionPrimitiveFv -InitBeginColliders__19CCollisionPrimitiveFv: -/* 802CF434 002CC394 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CF438 002CC398 7C 08 02 A6 */ mflr r0 -/* 802CF43C 002CC39C 3C 60 80 3D */ lis r3, lbl_803D6A48@ha -/* 802CF440 002CC3A0 38 A0 00 00 */ li r5, 0 -/* 802CF444 002CC3A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CF448 002CC3A8 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l -/* 802CF44C 002CC3AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CF450 002CC3B0 93 C1 00 08 */ stw r30, 8(r1) -/* 802CF454 002CC3B4 80 CD A6 5C */ lwz r6, lbl_805A921C@sda21(r13) -/* 802CF458 002CC3B8 80 06 00 04 */ lwz r0, 4(r6) -/* 802CF45C 002CC3BC 7C 00 01 D6 */ mullw r0, r0, r0 -/* 802CF460 002CC3C0 54 1E 10 3A */ slwi r30, r0, 2 -/* 802CF464 002CC3C4 7F C3 F3 78 */ mr r3, r30 -/* 802CF468 002CC3C8 48 04 63 B1 */ bl __nwa__FUlPCcPCc -/* 802CF46C 002CC3CC 7C 7F 1B 78 */ mr r31, r3 -/* 802CF470 002CC3D0 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) -/* 802CF474 002CC3D4 48 04 64 BD */ bl Free__7CMemoryFPCv -/* 802CF478 002CC3D8 3C 60 80 3D */ lis r3, lbl_803D6A48@ha -/* 802CF47C 002CC3DC 93 ED A6 60 */ stw r31, lbl_805A9220@sda21(r13) -/* 802CF480 002CC3E0 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l -/* 802CF484 002CC3E4 38 A0 00 00 */ li r5, 0 -/* 802CF488 002CC3E8 7F C3 F3 78 */ mr r3, r30 -/* 802CF48C 002CC3EC 48 04 63 8D */ bl __nwa__FUlPCcPCc -/* 802CF490 002CC3F0 7C 7F 1B 78 */ mr r31, r3 -/* 802CF494 002CC3F4 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) -/* 802CF498 002CC3F8 48 04 64 99 */ bl Free__7CMemoryFPCv -/* 802CF49C 002CC3FC 3C 60 80 3D */ lis r3, lbl_803D6A48@ha -/* 802CF4A0 002CC400 93 ED A6 64 */ stw r31, lbl_805A9224@sda21(r13) -/* 802CF4A4 002CC404 38 83 6A 48 */ addi r4, r3, lbl_803D6A48@l -/* 802CF4A8 002CC408 38 A0 00 00 */ li r5, 0 -/* 802CF4AC 002CC40C 7F C3 F3 78 */ mr r3, r30 -/* 802CF4B0 002CC410 48 04 63 69 */ bl __nwa__FUlPCcPCc -/* 802CF4B4 002CC414 7C 7F 1B 78 */ mr r31, r3 -/* 802CF4B8 002CC418 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) -/* 802CF4BC 002CC41C 48 04 64 75 */ bl Free__7CMemoryFPCv -/* 802CF4C0 002CC420 93 ED A6 68 */ stw r31, lbl_805A9228@sda21(r13) -/* 802CF4C4 002CC424 7F C5 F3 78 */ mr r5, r30 -/* 802CF4C8 002CC428 80 6D A6 60 */ lwz r3, lbl_805A9220@sda21(r13) -/* 802CF4CC 002CC42C 38 80 00 00 */ li r4, 0 -/* 802CF4D0 002CC430 4B D3 3E D9 */ bl memset -/* 802CF4D4 002CC434 80 6D A6 64 */ lwz r3, lbl_805A9224@sda21(r13) -/* 802CF4D8 002CC438 7F C5 F3 78 */ mr r5, r30 -/* 802CF4DC 002CC43C 38 80 00 00 */ li r4, 0 -/* 802CF4E0 002CC440 4B D3 3E C9 */ bl memset -/* 802CF4E4 002CC444 80 6D A6 68 */ lwz r3, lbl_805A9228@sda21(r13) -/* 802CF4E8 002CC448 7F C5 F3 78 */ mr r5, r30 -/* 802CF4EC 002CC44C 38 80 00 00 */ li r4, 0 -/* 802CF4F0 002CC450 4B D3 3E B9 */ bl memset -/* 802CF4F4 002CC454 38 00 00 01 */ li r0, 1 -/* 802CF4F8 002CC458 98 0D A6 58 */ stb r0, lbl_805A9218@sda21(r13) -/* 802CF4FC 002CC45C 4B FF F0 25 */ bl AddColliders__17InternalCollidersFv -/* 802CF500 002CC460 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CF504 002CC464 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CF508 002CC468 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CF50C 002CC46C 7C 08 03 A6 */ mtlr r0 -/* 802CF510 002CC470 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CF514 002CC474 4E 80 00 20 */ blr - -.global InitEndTypes__19CCollisionPrimitiveFv -InitEndTypes__19CCollisionPrimitiveFv: -/* 802CF518 002CC478 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802CF51C 002CC47C 7C 08 02 A6 */ mflr r0 -/* 802CF520 002CC480 90 01 00 44 */ stw r0, 0x44(r1) -/* 802CF524 002CC484 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802CF528 002CC488 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802CF52C 002CC48C 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) -/* 802CF530 002CC490 80 7F 00 04 */ lwz r3, 4(r31) -/* 802CF534 002CC494 80 1F 00 08 */ lwz r0, 8(r31) -/* 802CF538 002CC498 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF53C 002CC49C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802CF540 002CC4A0 90 01 00 30 */ stw r0, 0x30(r1) -/* 802CF544 002CC4A4 40 82 00 18 */ bne lbl_802CF55C -/* 802CF548 002CC4A8 2C 00 00 00 */ cmpwi r0, 0 -/* 802CF54C 002CC4AC 40 82 00 10 */ bne lbl_802CF55C -/* 802CF550 002CC4B0 38 00 00 00 */ li r0, 0 -/* 802CF554 002CC4B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CF558 002CC4B8 48 00 00 6C */ b lbl_802CF5C4 -lbl_802CF55C: -/* 802CF55C 002CC4BC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802CF560 002CC4C0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802CF564 002CC4C4 40 82 00 10 */ bne lbl_802CF574 -/* 802CF568 002CC4C8 38 00 00 00 */ li r0, 0 -/* 802CF56C 002CC4CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CF570 002CC4D0 48 00 00 18 */ b lbl_802CF588 -lbl_802CF574: -/* 802CF574 002CC4D4 3C 80 80 3D */ lis r4, lbl_803D6A48@ha -/* 802CF578 002CC4D8 38 A0 00 00 */ li r5, 0 -/* 802CF57C 002CC4DC 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l -/* 802CF580 002CC4E0 48 04 62 99 */ bl __nwa__FUlPCcPCc -/* 802CF584 002CC4E4 90 61 00 34 */ stw r3, 0x34(r1) -lbl_802CF588: -/* 802CF588 002CC4E8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802CF58C 002CC4EC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 802CF590 002CC4F0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802CF594 002CC4F4 7C 09 03 A6 */ mtctr r0 -/* 802CF598 002CC4F8 2C 00 00 00 */ cmpwi r0, 0 -/* 802CF59C 002CC4FC 40 81 00 28 */ ble lbl_802CF5C4 -lbl_802CF5A0: -/* 802CF5A0 002CC500 28 03 00 00 */ cmplwi r3, 0 -/* 802CF5A4 002CC504 41 82 00 14 */ beq lbl_802CF5B8 -/* 802CF5A8 002CC508 80 04 00 00 */ lwz r0, 0(r4) -/* 802CF5AC 002CC50C 90 03 00 00 */ stw r0, 0(r3) -/* 802CF5B0 002CC510 80 04 00 04 */ lwz r0, 4(r4) -/* 802CF5B4 002CC514 90 03 00 04 */ stw r0, 4(r3) -lbl_802CF5B8: -/* 802CF5B8 002CC518 38 63 00 08 */ addi r3, r3, 8 -/* 802CF5BC 002CC51C 38 84 00 08 */ addi r4, r4, 8 -/* 802CF5C0 002CC520 42 00 FF E0 */ bdnz lbl_802CF5A0 -lbl_802CF5C4: -/* 802CF5C4 002CC524 3C 80 80 3D */ lis r4, lbl_803D6A48@ha -/* 802CF5C8 002CC528 38 60 00 10 */ li r3, 0x10 -/* 802CF5CC 002CC52C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l -/* 802CF5D0 002CC530 38 A0 00 00 */ li r5, 0 -/* 802CF5D4 002CC534 48 04 62 99 */ bl __nw__FUlPCcPCc -/* 802CF5D8 002CC538 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802CF5DC 002CC53C 41 82 00 98 */ beq lbl_802CF674 -/* 802CF5E0 002CC540 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802CF5E4 002CC544 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802CF5E8 002CC548 90 7F 00 04 */ stw r3, 4(r31) -/* 802CF5EC 002CC54C 2C 03 00 00 */ cmpwi r3, 0 -/* 802CF5F0 002CC550 90 1F 00 08 */ stw r0, 8(r31) -/* 802CF5F4 002CC554 40 82 00 18 */ bne lbl_802CF60C -/* 802CF5F8 002CC558 2C 00 00 00 */ cmpwi r0, 0 -/* 802CF5FC 002CC55C 40 82 00 10 */ bne lbl_802CF60C -/* 802CF600 002CC560 38 00 00 00 */ li r0, 0 -/* 802CF604 002CC564 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802CF608 002CC568 48 00 00 6C */ b lbl_802CF674 -lbl_802CF60C: -/* 802CF60C 002CC56C 80 1F 00 08 */ lwz r0, 8(r31) -/* 802CF610 002CC570 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802CF614 002CC574 40 82 00 10 */ bne lbl_802CF624 -/* 802CF618 002CC578 38 00 00 00 */ li r0, 0 -/* 802CF61C 002CC57C 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802CF620 002CC580 48 00 00 18 */ b lbl_802CF638 -lbl_802CF624: -/* 802CF624 002CC584 3C 80 80 3D */ lis r4, lbl_803D6A48@ha -/* 802CF628 002CC588 38 A0 00 00 */ li r5, 0 -/* 802CF62C 002CC58C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l -/* 802CF630 002CC590 48 04 61 E9 */ bl __nwa__FUlPCcPCc -/* 802CF634 002CC594 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_802CF638: -/* 802CF638 002CC598 80 1F 00 04 */ lwz r0, 4(r31) -/* 802CF63C 002CC59C 80 81 00 34 */ lwz r4, 0x34(r1) -/* 802CF640 002CC5A0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802CF644 002CC5A4 7C 09 03 A6 */ mtctr r0 -/* 802CF648 002CC5A8 2C 00 00 00 */ cmpwi r0, 0 -/* 802CF64C 002CC5AC 40 81 00 28 */ ble lbl_802CF674 -lbl_802CF650: -/* 802CF650 002CC5B0 28 03 00 00 */ cmplwi r3, 0 -/* 802CF654 002CC5B4 41 82 00 14 */ beq lbl_802CF668 -/* 802CF658 002CC5B8 80 04 00 00 */ lwz r0, 0(r4) -/* 802CF65C 002CC5BC 90 03 00 00 */ stw r0, 0(r3) -/* 802CF660 002CC5C0 80 04 00 04 */ lwz r0, 4(r4) -/* 802CF664 002CC5C4 90 03 00 04 */ stw r0, 4(r3) -lbl_802CF668: -/* 802CF668 002CC5C8 38 63 00 08 */ addi r3, r3, 8 -/* 802CF66C 002CC5CC 38 84 00 08 */ addi r4, r4, 8 -/* 802CF670 002CC5D0 42 00 FF E0 */ bdnz lbl_802CF650 -lbl_802CF674: -/* 802CF674 002CC5D4 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) -/* 802CF678 002CC5D8 28 1E 00 00 */ cmplwi r30, 0 -/* 802CF67C 002CC5DC 41 82 00 4C */ beq lbl_802CF6C8 -/* 802CF680 002CC5E0 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CF684 002CC5E4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CF688 002CC5E8 54 00 18 38 */ slwi r0, r0, 3 -/* 802CF68C 002CC5EC 7C 03 02 14 */ add r0, r3, r0 -/* 802CF690 002CC5F0 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CF694 002CC5F4 7C 64 1B 78 */ mr r4, r3 -/* 802CF698 002CC5F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CF69C 002CC5FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CF6A0 002CC600 90 61 00 08 */ stw r3, 8(r1) -/* 802CF6A4 002CC604 48 00 00 08 */ b lbl_802CF6AC -lbl_802CF6A8: -/* 802CF6A8 002CC608 38 84 00 08 */ addi r4, r4, 8 -lbl_802CF6AC: -/* 802CF6AC 002CC60C 7C 04 00 40 */ cmplw r4, r0 -/* 802CF6B0 002CC610 40 82 FF F8 */ bne lbl_802CF6A8 -/* 802CF6B4 002CC614 28 03 00 00 */ cmplwi r3, 0 -/* 802CF6B8 002CC618 41 82 00 08 */ beq lbl_802CF6C0 -/* 802CF6BC 002CC61C 48 04 62 75 */ bl Free__7CMemoryFPCv -lbl_802CF6C0: -/* 802CF6C0 002CC620 7F C3 F3 78 */ mr r3, r30 -/* 802CF6C4 002CC624 48 04 62 6D */ bl Free__7CMemoryFPCv -lbl_802CF6C8: -/* 802CF6C8 002CC628 80 E1 00 2C */ lwz r7, 0x2c(r1) -/* 802CF6CC 002CC62C 38 A0 00 00 */ li r5, 0 -/* 802CF6D0 002CC630 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802CF6D4 002CC634 38 80 00 01 */ li r4, 1 -/* 802CF6D8 002CC638 54 E0 18 38 */ slwi r0, r7, 3 -/* 802CF6DC 002CC63C 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) -/* 802CF6E0 002CC640 7C 03 02 14 */ add r0, r3, r0 -/* 802CF6E4 002CC644 7C 66 1B 78 */ mr r6, r3 -/* 802CF6E8 002CC648 90 ED A6 50 */ stw r7, lbl_805A9210@sda21(r13) -/* 802CF6EC 002CC64C 98 AD A6 56 */ stb r5, lbl_805A9216@sda21(r13) -/* 802CF6F0 002CC650 98 8D A6 55 */ stb r4, lbl_805A9215@sda21(r13) -/* 802CF6F4 002CC654 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CF6F8 002CC658 90 01 00 20 */ stw r0, 0x20(r1) -/* 802CF6FC 002CC65C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802CF700 002CC660 90 61 00 18 */ stw r3, 0x18(r1) -/* 802CF704 002CC664 48 00 00 08 */ b lbl_802CF70C -lbl_802CF708: -/* 802CF708 002CC668 38 C6 00 08 */ addi r6, r6, 8 -lbl_802CF70C: -/* 802CF70C 002CC66C 7C 06 00 40 */ cmplw r6, r0 -/* 802CF710 002CC670 40 82 FF F8 */ bne lbl_802CF708 -/* 802CF714 002CC674 28 03 00 00 */ cmplwi r3, 0 -/* 802CF718 002CC678 41 82 00 08 */ beq lbl_802CF720 -/* 802CF71C 002CC67C 48 04 62 15 */ bl Free__7CMemoryFPCv -lbl_802CF720: -/* 802CF720 002CC680 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802CF724 002CC684 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802CF728 002CC688 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802CF72C 002CC68C 7C 08 03 A6 */ mtlr r0 -/* 802CF730 002CC690 38 21 00 40 */ addi r1, r1, 0x40 -/* 802CF734 002CC694 4E 80 00 20 */ blr - -.global InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type -InitAddType__19CCollisionPrimitiveFRCQ219CCollisionPrimitive4Type: -/* 802CF738 002CC698 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CF73C 002CC69C 7C 08 02 A6 */ mflr r0 -/* 802CF740 002CC6A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CF744 002CC6A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CF748 002CC6A8 93 C1 00 08 */ stw r30, 8(r1) -/* 802CF74C 002CC6AC 7C 7E 1B 78 */ mr r30, r3 -/* 802CF750 002CC6B0 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF754 002CC6B4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802CF758 002CC6B8 80 63 00 04 */ lwz r3, 4(r3) -/* 802CF75C 002CC6BC 7D 89 03 A6 */ mtctr r12 -/* 802CF760 002CC6C0 4E 80 04 21 */ bctrl -/* 802CF764 002CC6C4 80 6D A6 5C */ lwz r3, lbl_805A921C@sda21(r13) -/* 802CF768 002CC6C8 80 83 00 04 */ lwz r4, 4(r3) -/* 802CF76C 002CC6CC 38 84 00 01 */ addi r4, r4, 1 -/* 802CF770 002CC6D0 48 00 01 65 */ bl "reserve__Q24rstl63vectorFi" -/* 802CF774 002CC6D4 83 ED A6 5C */ lwz r31, lbl_805A921C@sda21(r13) -/* 802CF778 002CC6D8 80 7F 00 04 */ lwz r3, 4(r31) -/* 802CF77C 002CC6DC 80 1F 00 08 */ lwz r0, 8(r31) -/* 802CF780 002CC6E0 7C 03 00 00 */ cmpw r3, r0 -/* 802CF784 002CC6E4 41 80 00 1C */ blt lbl_802CF7A0 -/* 802CF788 002CC6E8 2C 00 00 00 */ cmpwi r0, 0 -/* 802CF78C 002CC6EC 38 80 00 04 */ li r4, 4 -/* 802CF790 002CC6F0 41 82 00 08 */ beq lbl_802CF798 -/* 802CF794 002CC6F4 54 04 08 3C */ slwi r4, r0, 1 -lbl_802CF798: -/* 802CF798 002CC6F8 7F E3 FB 78 */ mr r3, r31 -/* 802CF79C 002CC6FC 48 00 01 39 */ bl "reserve__Q24rstl63vectorFi" -lbl_802CF7A0: -/* 802CF7A0 002CC700 80 1F 00 04 */ lwz r0, 4(r31) -/* 802CF7A4 002CC704 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802CF7A8 002CC708 54 00 18 38 */ slwi r0, r0, 3 -/* 802CF7AC 002CC70C 7C 63 02 15 */ add. r3, r3, r0 -/* 802CF7B0 002CC710 41 82 00 14 */ beq lbl_802CF7C4 -/* 802CF7B4 002CC714 80 1E 00 00 */ lwz r0, 0(r30) -/* 802CF7B8 002CC718 90 03 00 00 */ stw r0, 0(r3) -/* 802CF7BC 002CC71C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CF7C0 002CC720 90 03 00 04 */ stw r0, 4(r3) -lbl_802CF7C4: -/* 802CF7C4 002CC724 80 7F 00 04 */ lwz r3, 4(r31) -/* 802CF7C8 002CC728 38 03 00 01 */ addi r0, r3, 1 -/* 802CF7CC 002CC72C 90 1F 00 04 */ stw r0, 4(r31) -/* 802CF7D0 002CC730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CF7D4 002CC734 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CF7D8 002CC738 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CF7DC 002CC73C 7C 08 03 A6 */ mtlr r0 -/* 802CF7E0 002CC740 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CF7E4 002CC744 4E 80 00 20 */ blr - -.global InitBeginTypes__19CCollisionPrimitiveFv -InitBeginTypes__19CCollisionPrimitiveFv: -/* 802CF7E8 002CC748 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802CF7EC 002CC74C 7C 08 02 A6 */ mflr r0 -/* 802CF7F0 002CC750 3C 80 80 3D */ lis r4, lbl_803D6A48@ha -/* 802CF7F4 002CC754 38 60 00 10 */ li r3, 0x10 -/* 802CF7F8 002CC758 90 01 00 24 */ stw r0, 0x24(r1) -/* 802CF7FC 002CC75C 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l -/* 802CF800 002CC760 38 A0 00 00 */ li r5, 0 -/* 802CF804 002CC764 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802CF808 002CC768 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802CF80C 002CC76C 48 04 60 61 */ bl __nw__FUlPCcPCc -/* 802CF810 002CC770 28 03 00 00 */ cmplwi r3, 0 -/* 802CF814 002CC774 41 82 00 14 */ beq lbl_802CF828 -/* 802CF818 002CC778 38 00 00 00 */ li r0, 0 -/* 802CF81C 002CC77C 90 03 00 04 */ stw r0, 4(r3) -/* 802CF820 002CC780 90 03 00 08 */ stw r0, 8(r3) -/* 802CF824 002CC784 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802CF828: -/* 802CF828 002CC788 83 CD A6 5C */ lwz r30, lbl_805A921C@sda21(r13) -/* 802CF82C 002CC78C 7C 7F 1B 78 */ mr r31, r3 -/* 802CF830 002CC790 28 1E 00 00 */ cmplwi r30, 0 -/* 802CF834 002CC794 41 82 00 4C */ beq lbl_802CF880 -/* 802CF838 002CC798 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CF83C 002CC79C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CF840 002CC7A0 54 00 18 38 */ slwi r0, r0, 3 -/* 802CF844 002CC7A4 7C 03 02 14 */ add r0, r3, r0 -/* 802CF848 002CC7A8 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CF84C 002CC7AC 7C 64 1B 78 */ mr r4, r3 -/* 802CF850 002CC7B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CF854 002CC7B4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CF858 002CC7B8 90 61 00 08 */ stw r3, 8(r1) -/* 802CF85C 002CC7BC 48 00 00 08 */ b lbl_802CF864 -lbl_802CF860: -/* 802CF860 002CC7C0 38 84 00 08 */ addi r4, r4, 8 -lbl_802CF864: -/* 802CF864 002CC7C4 7C 04 00 40 */ cmplw r4, r0 -/* 802CF868 002CC7C8 40 82 FF F8 */ bne lbl_802CF860 -/* 802CF86C 002CC7CC 28 03 00 00 */ cmplwi r3, 0 -/* 802CF870 002CC7D0 41 82 00 08 */ beq lbl_802CF878 -/* 802CF874 002CC7D4 48 04 60 BD */ bl Free__7CMemoryFPCv -lbl_802CF878: -/* 802CF878 002CC7D8 7F C3 F3 78 */ mr r3, r30 -/* 802CF87C 002CC7DC 48 04 60 B5 */ bl Free__7CMemoryFPCv -lbl_802CF880: -/* 802CF880 002CC7E0 93 ED A6 5C */ stw r31, lbl_805A921C@sda21(r13) -/* 802CF884 002CC7E4 7F E3 FB 78 */ mr r3, r31 -/* 802CF888 002CC7E8 38 80 00 03 */ li r4, 3 -/* 802CF88C 002CC7EC 48 00 00 49 */ bl "reserve__Q24rstl63vectorFi" -/* 802CF890 002CC7F0 38 00 00 01 */ li r0, 1 -/* 802CF894 002CC7F4 98 0D A6 56 */ stb r0, lbl_805A9216@sda21(r13) -/* 802CF898 002CC7F8 4B FF ED A1 */ bl AddTypes__17InternalCollidersFv -/* 802CF89C 002CC7FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802CF8A0 002CC800 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802CF8A4 002CC804 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802CF8A8 002CC808 7C 08 03 A6 */ mtlr r0 -/* 802CF8AC 002CC80C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802CF8B0 002CC810 4E 80 00 20 */ blr - -.global __ct__19CCollisionPrimitiveFRC13CMaterialList -__ct__19CCollisionPrimitiveFRC13CMaterialList: -/* 802CF8B4 002CC814 3C A0 80 3E */ lis r5, lbl_803D97E4@ha -/* 802CF8B8 002CC818 38 05 97 E4 */ addi r0, r5, lbl_803D97E4@l -/* 802CF8BC 002CC81C 90 03 00 00 */ stw r0, 0(r3) -/* 802CF8C0 002CC820 80 04 00 00 */ lwz r0, 0(r4) -/* 802CF8C4 002CC824 80 84 00 04 */ lwz r4, 4(r4) -/* 802CF8C8 002CC828 90 83 00 0C */ stw r4, 0xc(r3) -/* 802CF8CC 002CC82C 90 03 00 08 */ stw r0, 8(r3) -/* 802CF8D0 002CC830 4E 80 00 20 */ blr - -.global "reserve__Q24rstl63vectorFi" -"reserve__Q24rstl63vectorFi": -/* 802CF8D4 002CC834 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CF8D8 002CC838 7C 08 02 A6 */ mflr r0 -/* 802CF8DC 002CC83C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CF8E0 002CC840 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CF8E4 002CC844 7C 9F 23 78 */ mr r31, r4 -/* 802CF8E8 002CC848 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CF8EC 002CC84C 7C 7E 1B 78 */ mr r30, r3 -/* 802CF8F0 002CC850 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CF8F4 002CC854 80 03 00 08 */ lwz r0, 8(r3) -/* 802CF8F8 002CC858 7C 1F 00 00 */ cmpw r31, r0 -/* 802CF8FC 002CC85C 40 81 00 B0 */ ble lbl_802CF9AC -/* 802CF900 002CC860 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802CF904 002CC864 40 82 00 0C */ bne lbl_802CF910 -/* 802CF908 002CC868 3B A0 00 00 */ li r29, 0 -/* 802CF90C 002CC86C 48 00 00 18 */ b lbl_802CF924 -lbl_802CF910: -/* 802CF910 002CC870 3C 80 80 3D */ lis r4, lbl_803D6A48@ha -/* 802CF914 002CC874 38 A0 00 00 */ li r5, 0 -/* 802CF918 002CC878 38 84 6A 48 */ addi r4, r4, lbl_803D6A48@l -/* 802CF91C 002CC87C 48 04 5E FD */ bl __nwa__FUlPCcPCc -/* 802CF920 002CC880 7C 7D 1B 78 */ mr r29, r3 -lbl_802CF924: -/* 802CF924 002CC884 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CF928 002CC888 7F A4 EB 78 */ mr r4, r29 -/* 802CF92C 002CC88C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802CF930 002CC890 54 00 18 38 */ slwi r0, r0, 3 -/* 802CF934 002CC894 7C 65 02 14 */ add r3, r5, r0 -/* 802CF938 002CC898 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802CF93C 002CC89C 90 61 00 08 */ stw r3, 8(r1) -/* 802CF940 002CC8A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CF944 002CC8A4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802CF948 002CC8A8 48 00 00 24 */ b lbl_802CF96C -lbl_802CF94C: -/* 802CF94C 002CC8AC 28 04 00 00 */ cmplwi r4, 0 -/* 802CF950 002CC8B0 41 82 00 14 */ beq lbl_802CF964 -/* 802CF954 002CC8B4 80 05 00 00 */ lwz r0, 0(r5) -/* 802CF958 002CC8B8 90 04 00 00 */ stw r0, 0(r4) -/* 802CF95C 002CC8BC 80 05 00 04 */ lwz r0, 4(r5) -/* 802CF960 002CC8C0 90 04 00 04 */ stw r0, 4(r4) -lbl_802CF964: -/* 802CF964 002CC8C4 38 84 00 08 */ addi r4, r4, 8 -/* 802CF968 002CC8C8 38 A5 00 08 */ addi r5, r5, 8 -lbl_802CF96C: -/* 802CF96C 002CC8CC 7C 05 18 40 */ cmplw r5, r3 -/* 802CF970 002CC8D0 40 82 FF DC */ bne lbl_802CF94C -/* 802CF974 002CC8D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802CF978 002CC8D8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802CF97C 002CC8DC 54 00 18 38 */ slwi r0, r0, 3 -/* 802CF980 002CC8E0 7C 64 1B 78 */ mr r4, r3 -/* 802CF984 002CC8E4 7C 03 02 14 */ add r0, r3, r0 -/* 802CF988 002CC8E8 48 00 00 08 */ b lbl_802CF990 -lbl_802CF98C: -/* 802CF98C 002CC8EC 38 84 00 08 */ addi r4, r4, 8 -lbl_802CF990: -/* 802CF990 002CC8F0 7C 04 00 40 */ cmplw r4, r0 -/* 802CF994 002CC8F4 40 82 FF F8 */ bne lbl_802CF98C -/* 802CF998 002CC8F8 28 03 00 00 */ cmplwi r3, 0 -/* 802CF99C 002CC8FC 41 82 00 08 */ beq lbl_802CF9A4 -/* 802CF9A0 002CC900 48 04 5F 91 */ bl Free__7CMemoryFPCv -lbl_802CF9A4: -/* 802CF9A4 002CC904 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802CF9A8 002CC908 93 FE 00 08 */ stw r31, 8(r30) -lbl_802CF9AC: -/* 802CF9AC 002CC90C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CF9B0 002CC910 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CF9B4 002CC914 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CF9B8 002CC918 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CF9BC 002CC91C 7C 08 03 A6 */ mtlr r0 -/* 802CF9C0 002CC920 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CF9C4 002CC924 4E 80 00 20 */ blr - -.global __sinit_CCollisionPrimitive_cpp -__sinit_CCollisionPrimitive_cpp: -/* 802CF9C8 002CC928 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CF9CC 002CC92C 7C 08 02 A6 */ mflr r0 -/* 802CF9D0 002CC930 3C 80 80 2D */ lis r4, "__dt__Q24rstl84single_ptr>Fv"@ha -/* 802CF9D4 002CC934 3C 60 80 48 */ lis r3, lbl_804794E0@ha -/* 802CF9D8 002CC938 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CF9DC 002CC93C 38 00 00 00 */ li r0, 0 -/* 802CF9E0 002CC940 38 84 FB 60 */ addi r4, r4, "__dt__Q24rstl84single_ptr>Fv"@l -/* 802CF9E4 002CC944 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CF9E8 002CC948 3B E3 94 E0 */ addi r31, r3, lbl_804794E0@l -/* 802CF9EC 002CC94C 38 6D A6 5C */ addi r3, r13, lbl_805A921C@sda21 -/* 802CF9F0 002CC950 90 0D A6 5C */ stw r0, lbl_805A921C@sda21(r13) -/* 802CF9F4 002CC954 38 BF 00 00 */ addi r5, r31, 0 -/* 802CF9F8 002CC958 48 0B 9C 95 */ bl __register_global_object -/* 802CF9FC 002CC95C 38 00 00 00 */ li r0, 0 -/* 802CFA00 002CC960 3C 60 80 2D */ lis r3, "__dt__Q24rstl68single_ptrFv"@ha -/* 802CFA04 002CC964 90 0D A6 60 */ stw r0, lbl_805A9220@sda21(r13) -/* 802CFA08 002CC968 38 83 FB 0C */ addi r4, r3, "__dt__Q24rstl68single_ptrFv"@l -/* 802CFA0C 002CC96C 38 BF 00 0C */ addi r5, r31, 0xc -/* 802CFA10 002CC970 38 6D A6 60 */ addi r3, r13, lbl_805A9220@sda21 -/* 802CFA14 002CC974 48 0B 9C 79 */ bl __register_global_object -/* 802CFA18 002CC978 38 00 00 00 */ li r0, 0 -/* 802CFA1C 002CC97C 3C 60 80 2D */ lis r3, "__dt__Q24rstl47single_ptrFv"@ha -/* 802CFA20 002CC980 90 0D A6 64 */ stw r0, lbl_805A9224@sda21(r13) -/* 802CFA24 002CC984 38 83 FA B8 */ addi r4, r3, "__dt__Q24rstl47single_ptrFv"@l -/* 802CFA28 002CC988 38 BF 00 18 */ addi r5, r31, 0x18 -/* 802CFA2C 002CC98C 38 6D A6 64 */ addi r3, r13, lbl_805A9224@sda21 -/* 802CFA30 002CC990 48 0B 9C 5D */ bl __register_global_object -/* 802CFA34 002CC994 38 00 00 00 */ li r0, 0 -/* 802CFA38 002CC998 3C 60 80 2D */ lis r3, "__dt__Q24rstl78single_ptrFv"@ha -/* 802CFA3C 002CC99C 90 0D A6 68 */ stw r0, lbl_805A9228@sda21(r13) -/* 802CFA40 002CC9A0 38 83 FA 64 */ addi r4, r3, "__dt__Q24rstl78single_ptrFv"@l -/* 802CFA44 002CC9A4 38 BF 00 24 */ addi r5, r31, 0x24 -/* 802CFA48 002CC9A8 38 6D A6 68 */ addi r3, r13, lbl_805A9228@sda21 -/* 802CFA4C 002CC9AC 48 0B 9C 41 */ bl __register_global_object -/* 802CFA50 002CC9B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CFA54 002CC9B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CFA58 002CC9B8 7C 08 03 A6 */ mtlr r0 -/* 802CFA5C 002CC9BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CFA60 002CC9C0 4E 80 00 20 */ blr - -.global "__dt__Q24rstl78single_ptrFv" -"__dt__Q24rstl78single_ptrFv": -/* 802CFA64 002CC9C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CFA68 002CC9C8 7C 08 02 A6 */ mflr r0 -/* 802CFA6C 002CC9CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CFA70 002CC9D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CFA74 002CC9D4 7C 9F 23 78 */ mr r31, r4 -/* 802CFA78 002CC9D8 93 C1 00 08 */ stw r30, 8(r1) -/* 802CFA7C 002CC9DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CFA80 002CC9E0 41 82 00 1C */ beq lbl_802CFA9C -/* 802CFA84 002CC9E4 80 7E 00 00 */ lwz r3, 0(r30) -/* 802CFA88 002CC9E8 48 04 5E A9 */ bl Free__7CMemoryFPCv -/* 802CFA8C 002CC9EC 7F E0 07 35 */ extsh. r0, r31 -/* 802CFA90 002CC9F0 40 81 00 0C */ ble lbl_802CFA9C -/* 802CFA94 002CC9F4 7F C3 F3 78 */ mr r3, r30 -/* 802CFA98 002CC9F8 48 04 5E 99 */ bl Free__7CMemoryFPCv -lbl_802CFA9C: -/* 802CFA9C 002CC9FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CFAA0 002CCA00 7F C3 F3 78 */ mr r3, r30 -/* 802CFAA4 002CCA04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CFAA8 002CCA08 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CFAAC 002CCA0C 7C 08 03 A6 */ mtlr r0 -/* 802CFAB0 002CCA10 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CFAB4 002CCA14 4E 80 00 20 */ blr - -.global "__dt__Q24rstl47single_ptrFv" -"__dt__Q24rstl47single_ptrFv": -/* 802CFAB8 002CCA18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CFABC 002CCA1C 7C 08 02 A6 */ mflr r0 -/* 802CFAC0 002CCA20 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CFAC4 002CCA24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CFAC8 002CCA28 7C 9F 23 78 */ mr r31, r4 -/* 802CFACC 002CCA2C 93 C1 00 08 */ stw r30, 8(r1) -/* 802CFAD0 002CCA30 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CFAD4 002CCA34 41 82 00 1C */ beq lbl_802CFAF0 -/* 802CFAD8 002CCA38 80 7E 00 00 */ lwz r3, 0(r30) -/* 802CFADC 002CCA3C 48 04 5E 55 */ bl Free__7CMemoryFPCv -/* 802CFAE0 002CCA40 7F E0 07 35 */ extsh. r0, r31 -/* 802CFAE4 002CCA44 40 81 00 0C */ ble lbl_802CFAF0 -/* 802CFAE8 002CCA48 7F C3 F3 78 */ mr r3, r30 -/* 802CFAEC 002CCA4C 48 04 5E 45 */ bl Free__7CMemoryFPCv -lbl_802CFAF0: -/* 802CFAF0 002CCA50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CFAF4 002CCA54 7F C3 F3 78 */ mr r3, r30 -/* 802CFAF8 002CCA58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CFAFC 002CCA5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CFB00 002CCA60 7C 08 03 A6 */ mtlr r0 -/* 802CFB04 002CCA64 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CFB08 002CCA68 4E 80 00 20 */ blr - -.global "__dt__Q24rstl68single_ptrFv" -"__dt__Q24rstl68single_ptrFv": -/* 802CFB0C 002CCA6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802CFB10 002CCA70 7C 08 02 A6 */ mflr r0 -/* 802CFB14 002CCA74 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CFB18 002CCA78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802CFB1C 002CCA7C 7C 9F 23 78 */ mr r31, r4 -/* 802CFB20 002CCA80 93 C1 00 08 */ stw r30, 8(r1) -/* 802CFB24 002CCA84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802CFB28 002CCA88 41 82 00 1C */ beq lbl_802CFB44 -/* 802CFB2C 002CCA8C 80 7E 00 00 */ lwz r3, 0(r30) -/* 802CFB30 002CCA90 48 04 5E 01 */ bl Free__7CMemoryFPCv -/* 802CFB34 002CCA94 7F E0 07 35 */ extsh. r0, r31 -/* 802CFB38 002CCA98 40 81 00 0C */ ble lbl_802CFB44 -/* 802CFB3C 002CCA9C 7F C3 F3 78 */ mr r3, r30 -/* 802CFB40 002CCAA0 48 04 5D F1 */ bl Free__7CMemoryFPCv -lbl_802CFB44: -/* 802CFB44 002CCAA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802CFB48 002CCAA8 7F C3 F3 78 */ mr r3, r30 -/* 802CFB4C 002CCAAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802CFB50 002CCAB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802CFB54 002CCAB4 7C 08 03 A6 */ mtlr r0 -/* 802CFB58 002CCAB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802CFB5C 002CCABC 4E 80 00 20 */ blr - -.global "__dt__Q24rstl84single_ptr>Fv" -"__dt__Q24rstl84single_ptr>Fv": -/* 802CFB60 002CCAC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802CFB64 002CCAC4 7C 08 02 A6 */ mflr r0 -/* 802CFB68 002CCAC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802CFB6C 002CCACC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802CFB70 002CCAD0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802CFB74 002CCAD4 7C 9E 23 78 */ mr r30, r4 -/* 802CFB78 002CCAD8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802CFB7C 002CCADC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802CFB80 002CCAE0 41 82 00 68 */ beq lbl_802CFBE8 -/* 802CFB84 002CCAE4 83 FD 00 00 */ lwz r31, 0(r29) -/* 802CFB88 002CCAE8 28 1F 00 00 */ cmplwi r31, 0 -/* 802CFB8C 002CCAEC 41 82 00 4C */ beq lbl_802CFBD8 -/* 802CFB90 002CCAF0 80 1F 00 04 */ lwz r0, 4(r31) -/* 802CFB94 002CCAF4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802CFB98 002CCAF8 54 00 18 38 */ slwi r0, r0, 3 -/* 802CFB9C 002CCAFC 7C 03 02 14 */ add r0, r3, r0 -/* 802CFBA0 002CCB00 90 61 00 0C */ stw r3, 0xc(r1) -/* 802CFBA4 002CCB04 7C 64 1B 78 */ mr r4, r3 -/* 802CFBA8 002CCB08 90 01 00 14 */ stw r0, 0x14(r1) -/* 802CFBAC 002CCB0C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802CFBB0 002CCB10 90 61 00 08 */ stw r3, 8(r1) -/* 802CFBB4 002CCB14 48 00 00 08 */ b lbl_802CFBBC -lbl_802CFBB8: -/* 802CFBB8 002CCB18 38 84 00 08 */ addi r4, r4, 8 -lbl_802CFBBC: -/* 802CFBBC 002CCB1C 7C 04 00 40 */ cmplw r4, r0 -/* 802CFBC0 002CCB20 40 82 FF F8 */ bne lbl_802CFBB8 -/* 802CFBC4 002CCB24 28 03 00 00 */ cmplwi r3, 0 -/* 802CFBC8 002CCB28 41 82 00 08 */ beq lbl_802CFBD0 -/* 802CFBCC 002CCB2C 48 04 5D 65 */ bl Free__7CMemoryFPCv -lbl_802CFBD0: -/* 802CFBD0 002CCB30 7F E3 FB 78 */ mr r3, r31 -/* 802CFBD4 002CCB34 48 04 5D 5D */ bl Free__7CMemoryFPCv -lbl_802CFBD8: -/* 802CFBD8 002CCB38 7F C0 07 35 */ extsh. r0, r30 -/* 802CFBDC 002CCB3C 40 81 00 0C */ ble lbl_802CFBE8 -/* 802CFBE0 002CCB40 7F A3 EB 78 */ mr r3, r29 -/* 802CFBE4 002CCB44 48 04 5D 4D */ bl Free__7CMemoryFPCv -lbl_802CFBE8: -/* 802CFBE8 002CCB48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802CFBEC 002CCB4C 7F A3 EB 78 */ mr r3, r29 -/* 802CFBF0 002CCB50 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802CFBF4 002CCB54 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802CFBF8 002CCB58 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802CFBFC 002CCB5C 7C 08 03 A6 */ mtlr r0 -/* 802CFC00 002CCB60 38 21 00 30 */ addi r1, r1, 0x30 -/* 802CFC04 002CCB64 4E 80 00 20 */ blr - -.global BitPosition__13CMaterialListFUx -BitPosition__13CMaterialListFUx: -/* 802CFC08 002CCB68 38 00 00 08 */ li r0, 8 -/* 802CFC0C 002CCB6C 39 20 00 00 */ li r9, 0 -/* 802CFC10 002CCB70 39 40 00 00 */ li r10, 0 -/* 802CFC14 002CCB74 39 00 00 01 */ li r8, 1 -/* 802CFC18 002CCB78 38 E0 00 00 */ li r7, 0 -/* 802CFC1C 002CCB7C 7C 09 03 A6 */ mtctr r0 -lbl_802CFC20: -/* 802CFC20 002CCB80 7C 86 40 38 */ and r6, r4, r8 -/* 802CFC24 002CCB84 7C 65 38 38 */ and r5, r3, r7 -/* 802CFC28 002CCB88 7C C6 3A 78 */ xor r6, r6, r7 -/* 802CFC2C 002CCB8C 7C A5 3A 78 */ xor r5, r5, r7 -/* 802CFC30 002CCB90 7C C5 2B 79 */ or. r5, r6, r5 -/* 802CFC34 002CCB94 41 82 00 0C */ beq lbl_802CFC40 -/* 802CFC38 002CCB98 7D 23 4B 78 */ mr r3, r9 -/* 802CFC3C 002CCB9C 4E 80 00 20 */ blr -lbl_802CFC40: -/* 802CFC40 002CCBA0 54 84 F8 3E */ rotlwi r4, r4, 0x1f -/* 802CFC44 002CCBA4 54 60 F8 7E */ srwi r0, r3, 1 -/* 802CFC48 002CCBA8 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 -/* 802CFC4C 002CCBAC 39 29 00 01 */ addi r9, r9, 1 -/* 802CFC50 002CCBB0 7C 86 40 38 */ and r6, r4, r8 -/* 802CFC54 002CCBB4 7C 05 38 38 */ and r5, r0, r7 -/* 802CFC58 002CCBB8 7C C6 3A 78 */ xor r6, r6, r7 -/* 802CFC5C 002CCBBC 7C A5 3A 78 */ xor r5, r5, r7 -/* 802CFC60 002CCBC0 7C C5 2B 79 */ or. r5, r6, r5 -/* 802CFC64 002CCBC4 41 82 00 0C */ beq lbl_802CFC70 -/* 802CFC68 002CCBC8 7D 23 4B 78 */ mr r3, r9 -/* 802CFC6C 002CCBCC 4E 80 00 20 */ blr -lbl_802CFC70: -/* 802CFC70 002CCBD0 54 84 F8 3E */ rotlwi r4, r4, 0x1f -/* 802CFC74 002CCBD4 39 29 00 01 */ addi r9, r9, 1 -/* 802CFC78 002CCBD8 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 -/* 802CFC7C 002CCBDC 54 00 F8 7E */ srwi r0, r0, 1 -/* 802CFC80 002CCBE0 7C 86 40 38 */ and r6, r4, r8 -/* 802CFC84 002CCBE4 7C 05 38 38 */ and r5, r0, r7 -/* 802CFC88 002CCBE8 7C C6 3A 78 */ xor r6, r6, r7 -/* 802CFC8C 002CCBEC 7C A5 3A 78 */ xor r5, r5, r7 -/* 802CFC90 002CCBF0 7C C5 2B 79 */ or. r5, r6, r5 -/* 802CFC94 002CCBF4 41 82 00 0C */ beq lbl_802CFCA0 -/* 802CFC98 002CCBF8 7D 23 4B 78 */ mr r3, r9 -/* 802CFC9C 002CCBFC 4E 80 00 20 */ blr -lbl_802CFCA0: -/* 802CFCA0 002CCC00 54 84 F8 3E */ rotlwi r4, r4, 0x1f -/* 802CFCA4 002CCC04 39 29 00 01 */ addi r9, r9, 1 -/* 802CFCA8 002CCC08 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 -/* 802CFCAC 002CCC0C 54 00 F8 7E */ srwi r0, r0, 1 -/* 802CFCB0 002CCC10 7C 86 40 38 */ and r6, r4, r8 -/* 802CFCB4 002CCC14 7C 05 38 38 */ and r5, r0, r7 -/* 802CFCB8 002CCC18 7C C6 3A 78 */ xor r6, r6, r7 -/* 802CFCBC 002CCC1C 7C A5 3A 78 */ xor r5, r5, r7 -/* 802CFCC0 002CCC20 7C C5 2B 79 */ or. r5, r6, r5 -/* 802CFCC4 002CCC24 41 82 00 0C */ beq lbl_802CFCD0 -/* 802CFCC8 002CCC28 7D 23 4B 78 */ mr r3, r9 -/* 802CFCCC 002CCC2C 4E 80 00 20 */ blr -lbl_802CFCD0: -/* 802CFCD0 002CCC30 54 84 F8 3E */ rotlwi r4, r4, 0x1f -/* 802CFCD4 002CCC34 39 29 00 01 */ addi r9, r9, 1 -/* 802CFCD8 002CCC38 50 04 F8 00 */ rlwimi r4, r0, 0x1f, 0, 0 -/* 802CFCDC 002CCC3C 54 00 F8 7E */ srwi r0, r0, 1 -/* 802CFCE0 002CCC40 7C 03 03 78 */ mr r3, r0 -/* 802CFCE4 002CCC44 39 4A 00 03 */ addi r10, r10, 3 -/* 802CFCE8 002CCC48 42 00 FF 38 */ bdnz lbl_802CFC20 -/* 802CFCEC 002CCC4C 38 60 FF FF */ li r3, -1 -/* 802CFCF0 002CCC50 4E 80 00 20 */ blr - -.global TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf -TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf: -/* 802CFCF4 002CCC54 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802CFCF8 002CCC58 7C 08 02 A6 */ mflr r0 -/* 802CFCFC 002CCC5C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802CFD00 002CCC60 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 802CFD04 002CCC64 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 802CFD08 002CCC68 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 802CFD0C 002CCC6C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 802CFD10 002CCC70 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 802CFD14 002CCC74 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 802CFD18 002CCC78 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 802CFD1C 002CCC7C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 802CFD20 002CCC80 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 802CFD24 002CCC84 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 802CFD28 002CCC88 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 802CFD2C 002CCC8C 7C 9B 23 78 */ mr r27, r4 -/* 802CFD30 002CCC90 C0 03 00 04 */ lfs f0, 4(r3) -/* 802CFD34 002CCC94 C0 24 00 04 */ lfs f1, 4(r4) -/* 802CFD38 002CCC98 7C BC 2B 78 */ mr r28, r5 -/* 802CFD3C 002CCC9C C0 64 00 08 */ lfs f3, 8(r4) -/* 802CFD40 002CCCA0 7C DD 33 78 */ mr r29, r6 -/* 802CFD44 002CCCA4 C0 43 00 08 */ lfs f2, 8(r3) -/* 802CFD48 002CCCA8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802CFD4C 002CCCAC C0 03 00 00 */ lfs f0, 0(r3) -/* 802CFD50 002CCCB0 7C FE 3B 78 */ mr r30, r7 -/* 802CFD54 002CCCB4 C0 24 00 00 */ lfs f1, 0(r4) -/* 802CFD58 002CCCB8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802CFD5C 002CCCBC D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802CFD60 002CCCC0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802CFD64 002CCCC4 7D 1F 43 78 */ mr r31, r8 -/* 802CFD68 002CCCC8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802CFD6C 002CCCCC 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CFD70 002CCCD0 38 81 00 20 */ addi r4, r1, 0x20 -/* 802CFD74 002CCCD4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802CFD78 002CCCD8 48 04 48 0D */ bl __ct__9CVector3dFRC9CVector3f -/* 802CFD7C 002CCCDC C0 3C 00 04 */ lfs f1, 4(r28) -/* 802CFD80 002CCCE0 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CFD84 002CCCE4 C0 1B 00 04 */ lfs f0, 4(r27) -/* 802CFD88 002CCCE8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802CFD8C 002CCCEC C0 7C 00 08 */ lfs f3, 8(r28) -/* 802CFD90 002CCCF0 C0 5B 00 08 */ lfs f2, 8(r27) -/* 802CFD94 002CCCF4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802CFD98 002CCCF8 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802CFD9C 002CCCFC C0 1B 00 00 */ lfs f0, 0(r27) -/* 802CFDA0 002CCD00 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802CFDA4 002CCD04 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802CFDA8 002CCD08 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802CFDAC 002CCD0C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802CFDB0 002CCD10 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802CFDB4 002CCD14 48 04 47 D1 */ bl __ct__9CVector3dFRC9CVector3f -/* 802CFDB8 002CCD18 C0 3D 00 04 */ lfs f1, 4(r29) -/* 802CFDBC 002CCD1C 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CFDC0 002CCD20 C0 1B 00 04 */ lfs f0, 4(r27) -/* 802CFDC4 002CCD24 38 81 00 08 */ addi r4, r1, 8 -/* 802CFDC8 002CCD28 C0 7D 00 08 */ lfs f3, 8(r29) -/* 802CFDCC 002CCD2C C0 5B 00 08 */ lfs f2, 8(r27) -/* 802CFDD0 002CCD30 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802CFDD4 002CCD34 C0 3D 00 00 */ lfs f1, 0(r29) -/* 802CFDD8 002CCD38 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802CFDDC 002CCD3C EC 43 10 28 */ fsubs f2, f3, f2 -/* 802CFDE0 002CCD40 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802CFDE4 002CCD44 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802CFDE8 002CCD48 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802CFDEC 002CCD4C D0 01 00 08 */ stfs f0, 8(r1) -/* 802CFDF0 002CCD50 48 04 47 95 */ bl __ct__9CVector3dFRC9CVector3f -/* 802CFDF4 002CCD54 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CFDF8 002CCD58 48 04 47 29 */ bl MagSquared__9CVector3dCFv -/* 802CFDFC 002CCD5C FF 60 08 90 */ fmr f27, f1 -/* 802CFE00 002CCD60 38 61 00 30 */ addi r3, r1, 0x30 -/* 802CFE04 002CCD64 48 04 47 1D */ bl MagSquared__9CVector3dCFv -/* 802CFE08 002CCD68 FF 80 08 90 */ fmr f28, f1 -/* 802CFE0C 002CCD6C 38 61 00 48 */ addi r3, r1, 0x48 -/* 802CFE10 002CCD70 38 81 00 30 */ addi r4, r1, 0x30 -/* 802CFE14 002CCD74 48 04 46 59 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802CFE18 002CCD78 FF A0 08 90 */ fmr f29, f1 -/* 802CFE1C 002CCD7C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CFE20 002CCD80 38 81 00 48 */ addi r4, r1, 0x48 -/* 802CFE24 002CCD84 48 04 46 49 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802CFE28 002CCD88 FF C0 08 90 */ fmr f30, f1 -/* 802CFE2C 002CCD8C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CFE30 002CCD90 38 81 00 30 */ addi r4, r1, 0x30 -/* 802CFE34 002CCD94 48 04 46 39 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802CFE38 002CCD98 FF E0 08 90 */ fmr f31, f1 -/* 802CFE3C 002CCD9C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802CFE40 002CCDA0 48 04 46 E1 */ bl MagSquared__9CVector3dCFv -/* 802CFE44 002CCDA4 FC 7D 07 72 */ fmul f3, f29, f29 -/* 802CFE48 002CCDA8 FC 1C 07 B2 */ fmul f0, f28, f30 -/* 802CFE4C 002CCDAC FC 5B 07 F2 */ fmul f2, f27, f31 -/* 802CFE50 002CCDB0 FC 7B 1F 38 */ fmsub f3, f27, f28, f3 -/* 802CFE54 002CCDB4 FC 1D 07 F8 */ fmsub f0, f29, f31, f0 -/* 802CFE58 002CCDB8 FC 5D 17 B8 */ fmsub f2, f29, f30, f2 -/* 802CFE5C 002CCDBC FC 80 1A 10 */ fabs f4, f3 -/* 802CFE60 002CCDC0 FC 60 10 2A */ fadd f3, f0, f2 -/* 802CFE64 002CCDC4 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 802CFE68 002CCDC8 4C 40 13 82 */ cror 2, 0, 2 -/* 802CFE6C 002CCDCC 40 82 01 70 */ bne lbl_802CFFDC -/* 802CFE70 002CCDD0 C8 62 C4 A0 */ lfd f3, lbl_805AE1C0@sda21(r2) -/* 802CFE74 002CCDD4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802CFE78 002CCDD8 40 80 00 D8 */ bge lbl_802CFF50 -/* 802CFE7C 002CCDDC FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802CFE80 002CCDE0 40 80 00 88 */ bge lbl_802CFF08 -/* 802CFE84 002CCDE4 FC 1E 18 40 */ fcmpo cr0, f30, f3 -/* 802CFE88 002CCDE8 40 80 00 38 */ bge lbl_802CFEC0 -/* 802CFE8C 002CCDEC FC 00 F0 50 */ fneg f0, f30 -/* 802CFE90 002CCDF0 FC 40 18 90 */ fmr f2, f3 -/* 802CFE94 002CCDF4 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 802CFE98 002CCDF8 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFE9C 002CCDFC 40 82 00 18 */ bne lbl_802CFEB4 -/* 802CFEA0 002CCE00 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802CFEA4 002CCE04 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802CFEA8 002CCE08 FC 63 DF BA */ fmadd f3, f3, f30, f27 -/* 802CFEAC 002CCE0C FC 21 18 2A */ fadd f1, f1, f3 -/* 802CFEB0 002CCE10 48 00 03 44 */ b lbl_802D01F4 -lbl_802CFEB4: -/* 802CFEB4 002CCE14 FC 00 D8 24 */ fdiv f0, f0, f27 -/* 802CFEB8 002CCE18 FC 3E 08 3A */ fmadd f1, f30, f0, f1 -/* 802CFEBC 002CCE1C 48 00 03 38 */ b lbl_802D01F4 -lbl_802CFEC0: -/* 802CFEC0 002CCE20 FC 1F 18 40 */ fcmpo cr0, f31, f3 -/* 802CFEC4 002CCE24 FC 00 18 90 */ fmr f0, f3 -/* 802CFEC8 002CCE28 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFECC 002CCE2C 40 82 00 0C */ bne lbl_802CFED8 -/* 802CFED0 002CCE30 FC 40 18 90 */ fmr f2, f3 -/* 802CFED4 002CCE34 48 00 03 20 */ b lbl_802D01F4 -lbl_802CFED8: -/* 802CFED8 002CCE38 FC 40 F8 50 */ fneg f2, f31 -/* 802CFEDC 002CCE3C FC 02 E0 40 */ fcmpo cr0, f2, f28 -/* 802CFEE0 002CCE40 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFEE4 002CCE44 40 82 00 18 */ bne lbl_802CFEFC -/* 802CFEE8 002CCE48 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802CFEEC 002CCE4C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802CFEF0 002CCE50 FC 63 E7 FA */ fmadd f3, f3, f31, f28 -/* 802CFEF4 002CCE54 FC 21 18 2A */ fadd f1, f1, f3 -/* 802CFEF8 002CCE58 48 00 02 FC */ b lbl_802D01F4 -lbl_802CFEFC: -/* 802CFEFC 002CCE5C FC 42 E0 24 */ fdiv f2, f2, f28 -/* 802CFF00 002CCE60 FC 3F 08 BA */ fmadd f1, f31, f2, f1 -/* 802CFF04 002CCE64 48 00 02 F0 */ b lbl_802D01F4 -lbl_802CFF08: -/* 802CFF08 002CCE68 FC 1F 18 40 */ fcmpo cr0, f31, f3 -/* 802CFF0C 002CCE6C FC 00 18 90 */ fmr f0, f3 -/* 802CFF10 002CCE70 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFF14 002CCE74 40 82 00 0C */ bne lbl_802CFF20 -/* 802CFF18 002CCE78 FC 40 18 90 */ fmr f2, f3 -/* 802CFF1C 002CCE7C 48 00 02 D8 */ b lbl_802D01F4 -lbl_802CFF20: -/* 802CFF20 002CCE80 FC 40 F8 50 */ fneg f2, f31 -/* 802CFF24 002CCE84 FC 02 E0 40 */ fcmpo cr0, f2, f28 -/* 802CFF28 002CCE88 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFF2C 002CCE8C 40 82 00 18 */ bne lbl_802CFF44 -/* 802CFF30 002CCE90 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802CFF34 002CCE94 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802CFF38 002CCE98 FC 63 E7 FA */ fmadd f3, f3, f31, f28 -/* 802CFF3C 002CCE9C FC 21 18 2A */ fadd f1, f1, f3 -/* 802CFF40 002CCEA0 48 00 02 B4 */ b lbl_802D01F4 -lbl_802CFF44: -/* 802CFF44 002CCEA4 FC 42 E0 24 */ fdiv f2, f2, f28 -/* 802CFF48 002CCEA8 FC 3F 08 BA */ fmadd f1, f31, f2, f1 -/* 802CFF4C 002CCEAC 48 00 02 A8 */ b lbl_802D01F4 -lbl_802CFF50: -/* 802CFF50 002CCEB0 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802CFF54 002CCEB4 40 80 00 4C */ bge lbl_802CFFA0 -/* 802CFF58 002CCEB8 FC 1E 18 40 */ fcmpo cr0, f30, f3 -/* 802CFF5C 002CCEBC FC 40 18 90 */ fmr f2, f3 -/* 802CFF60 002CCEC0 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFF64 002CCEC4 40 82 00 0C */ bne lbl_802CFF70 -/* 802CFF68 002CCEC8 FC 00 18 90 */ fmr f0, f3 -/* 802CFF6C 002CCECC 48 00 02 88 */ b lbl_802D01F4 -lbl_802CFF70: -/* 802CFF70 002CCED0 FC 00 F0 50 */ fneg f0, f30 -/* 802CFF74 002CCED4 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 802CFF78 002CCED8 4C 41 13 82 */ cror 2, 1, 2 -/* 802CFF7C 002CCEDC 40 82 00 18 */ bne lbl_802CFF94 -/* 802CFF80 002CCEE0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802CFF84 002CCEE4 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802CFF88 002CCEE8 FC 63 DF BA */ fmadd f3, f3, f30, f27 -/* 802CFF8C 002CCEEC FC 21 18 2A */ fadd f1, f1, f3 -/* 802CFF90 002CCEF0 48 00 02 64 */ b lbl_802D01F4 -lbl_802CFF94: -/* 802CFF94 002CCEF4 FC 00 D8 24 */ fdiv f0, f0, f27 -/* 802CFF98 002CCEF8 FC 3E 08 3A */ fmadd f1, f30, f0, f1 -/* 802CFF9C 002CCEFC 48 00 02 58 */ b lbl_802D01F4 -lbl_802CFFA0: -/* 802CFFA0 002CCF00 C8 62 C4 A8 */ lfd f3, lbl_805AE1C8@sda21(r2) -/* 802CFFA4 002CCF04 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) -/* 802CFFA8 002CCF08 FC 63 20 24 */ fdiv f3, f3, f4 -/* 802CFFAC 002CCF0C FC 42 00 F2 */ fmul f2, f2, f3 -/* 802CFFB0 002CCF10 FC 00 00 F2 */ fmul f0, f0, f3 -/* 802CFFB4 002CCF14 FC 7C 00 B2 */ fmul f3, f28, f2 -/* 802CFFB8 002CCF18 FC 9D 00 B2 */ fmul f4, f29, f2 -/* 802CFFBC 002CCF1C FC 7D 18 3A */ fmadd f3, f29, f0, f3 -/* 802CFFC0 002CCF20 FC 9B 20 3A */ fmadd f4, f27, f0, f4 -/* 802CFFC4 002CCF24 FC 65 1F FA */ fmadd f3, f5, f31, f3 -/* 802CFFC8 002CCF28 FC 85 27 BA */ fmadd f4, f5, f30, f4 -/* 802CFFCC 002CCF2C FC 62 00 F2 */ fmul f3, f2, f3 -/* 802CFFD0 002CCF30 FC 60 19 3A */ fmadd f3, f0, f4, f3 -/* 802CFFD4 002CCF34 FC 21 18 2A */ fadd f1, f1, f3 -/* 802CFFD8 002CCF38 48 00 02 1C */ b lbl_802D01F4 -lbl_802CFFDC: -/* 802CFFDC 002CCF3C C8 82 C4 A0 */ lfd f4, lbl_805AE1C0@sda21(r2) -/* 802CFFE0 002CCF40 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 802CFFE4 002CCF44 40 80 00 C0 */ bge lbl_802D00A4 -/* 802CFFE8 002CCF48 FC 1D F0 2A */ fadd f0, f29, f30 -/* 802CFFEC 002CCF4C FC 5C F8 2A */ fadd f2, f28, f31 -/* 802CFFF0 002CCF50 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802CFFF4 002CCF54 40 81 00 68 */ ble lbl_802D005C -/* 802CFFF8 002CCF58 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) -/* 802CFFFC 002CCF5C FC 42 00 28 */ fsub f2, f2, f0 -/* 802D0000 002CCF60 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 -/* 802D0004 002CCF64 FC 1C 00 2A */ fadd f0, f28, f0 -/* 802D0008 002CCF68 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D000C 002CCF6C 4C 41 13 82 */ cror 2, 1, 2 -/* 802D0010 002CCF70 40 82 00 18 */ bne lbl_802D0028 -/* 802D0014 002CCF74 FC 65 DF BA */ fmadd f3, f5, f30, f27 -/* 802D0018 002CCF78 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802D001C 002CCF7C FC 40 20 90 */ fmr f2, f4 -/* 802D0020 002CCF80 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D0024 002CCF84 48 00 01 D0 */ b lbl_802D01F4 -lbl_802D0028: -/* 802D0028 002CCF88 FC 02 00 24 */ fdiv f0, f2, f0 -/* 802D002C 002CCF8C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D0030 002CCF90 FC 42 00 28 */ fsub f2, f2, f0 -/* 802D0034 002CCF94 FC 7C 00 B2 */ fmul f3, f28, f2 -/* 802D0038 002CCF98 FC 9D 00 B2 */ fmul f4, f29, f2 -/* 802D003C 002CCF9C FC 7D 18 3A */ fmadd f3, f29, f0, f3 -/* 802D0040 002CCFA0 FC 9B 20 3A */ fmadd f4, f27, f0, f4 -/* 802D0044 002CCFA4 FC 65 1F FA */ fmadd f3, f5, f31, f3 -/* 802D0048 002CCFA8 FC 85 27 BA */ fmadd f4, f5, f30, f4 -/* 802D004C 002CCFAC FC 62 00 F2 */ fmul f3, f2, f3 -/* 802D0050 002CCFB0 FC 60 19 3A */ fmadd f3, f0, f4, f3 -/* 802D0054 002CCFB4 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D0058 002CCFB8 48 00 01 9C */ b lbl_802D01F4 -lbl_802D005C: -/* 802D005C 002CCFBC FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D0060 002CCFC0 FC 00 20 90 */ fmr f0, f4 -/* 802D0064 002CCFC4 4C 40 13 82 */ cror 2, 0, 2 -/* 802D0068 002CCFC8 40 82 00 18 */ bne lbl_802D0080 -/* 802D006C 002CCFCC C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802D0070 002CCFD0 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D0074 002CCFD4 FC 63 E7 FA */ fmadd f3, f3, f31, f28 -/* 802D0078 002CCFD8 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D007C 002CCFDC 48 00 01 78 */ b lbl_802D01F4 -lbl_802D0080: -/* 802D0080 002CCFE0 FC 1F 20 40 */ fcmpo cr0, f31, f4 -/* 802D0084 002CCFE4 4C 41 13 82 */ cror 2, 1, 2 -/* 802D0088 002CCFE8 40 82 00 0C */ bne lbl_802D0094 -/* 802D008C 002CCFEC FC 40 20 90 */ fmr f2, f4 -/* 802D0090 002CCFF0 48 00 01 64 */ b lbl_802D01F4 -lbl_802D0094: -/* 802D0094 002CCFF4 FC 40 F8 50 */ fneg f2, f31 -/* 802D0098 002CCFF8 FC 42 E0 24 */ fdiv f2, f2, f28 -/* 802D009C 002CCFFC FC 3F 08 BA */ fmadd f1, f31, f2, f1 -/* 802D00A0 002CD000 48 00 01 54 */ b lbl_802D01F4 -lbl_802D00A4: -/* 802D00A4 002CD004 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D00A8 002CD008 40 80 00 C0 */ bge lbl_802D0168 -/* 802D00AC 002CD00C FC 1D F8 2A */ fadd f0, f29, f31 -/* 802D00B0 002CD010 FC 5B F0 2A */ fadd f2, f27, f30 -/* 802D00B4 002CD014 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D00B8 002CD018 40 81 00 68 */ ble lbl_802D0120 -/* 802D00BC 002CD01C C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) -/* 802D00C0 002CD020 FC 42 00 28 */ fsub f2, f2, f0 -/* 802D00C4 002CD024 FC 05 DF 7C */ fnmsub f0, f5, f29, f27 -/* 802D00C8 002CD028 FC 1C 00 2A */ fadd f0, f28, f0 -/* 802D00CC 002CD02C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D00D0 002CD030 4C 41 13 82 */ cror 2, 1, 2 -/* 802D00D4 002CD034 40 82 00 18 */ bne lbl_802D00EC -/* 802D00D8 002CD038 FC 65 E7 FA */ fmadd f3, f5, f31, f28 -/* 802D00DC 002CD03C C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D00E0 002CD040 FC 00 20 90 */ fmr f0, f4 -/* 802D00E4 002CD044 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D00E8 002CD048 48 00 01 0C */ b lbl_802D01F4 -lbl_802D00EC: -/* 802D00EC 002CD04C FC 42 00 24 */ fdiv f2, f2, f0 -/* 802D00F0 002CD050 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802D00F4 002CD054 FC 7C 00 B2 */ fmul f3, f28, f2 -/* 802D00F8 002CD058 FC 00 10 28 */ fsub f0, f0, f2 -/* 802D00FC 002CD05C FC 9D 00 B2 */ fmul f4, f29, f2 -/* 802D0100 002CD060 FC 7D 18 3A */ fmadd f3, f29, f0, f3 -/* 802D0104 002CD064 FC 9B 20 3A */ fmadd f4, f27, f0, f4 -/* 802D0108 002CD068 FC 65 1F FA */ fmadd f3, f5, f31, f3 -/* 802D010C 002CD06C FC 85 27 BA */ fmadd f4, f5, f30, f4 -/* 802D0110 002CD070 FC 62 00 F2 */ fmul f3, f2, f3 -/* 802D0114 002CD074 FC 60 19 3A */ fmadd f3, f0, f4, f3 -/* 802D0118 002CD078 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D011C 002CD07C 48 00 00 D8 */ b lbl_802D01F4 -lbl_802D0120: -/* 802D0120 002CD080 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D0124 002CD084 FC 40 20 90 */ fmr f2, f4 -/* 802D0128 002CD088 4C 40 13 82 */ cror 2, 0, 2 -/* 802D012C 002CD08C 40 82 00 18 */ bne lbl_802D0144 -/* 802D0130 002CD090 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802D0134 002CD094 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802D0138 002CD098 FC 63 DF BA */ fmadd f3, f3, f30, f27 -/* 802D013C 002CD09C FC 21 18 2A */ fadd f1, f1, f3 -/* 802D0140 002CD0A0 48 00 00 B4 */ b lbl_802D01F4 -lbl_802D0144: -/* 802D0144 002CD0A4 FC 1E 20 40 */ fcmpo cr0, f30, f4 -/* 802D0148 002CD0A8 4C 41 13 82 */ cror 2, 1, 2 -/* 802D014C 002CD0AC 40 82 00 0C */ bne lbl_802D0158 -/* 802D0150 002CD0B0 FC 00 20 90 */ fmr f0, f4 -/* 802D0154 002CD0B4 48 00 00 A0 */ b lbl_802D01F4 -lbl_802D0158: -/* 802D0158 002CD0B8 FC 00 F0 50 */ fneg f0, f30 -/* 802D015C 002CD0BC FC 00 D8 24 */ fdiv f0, f0, f27 -/* 802D0160 002CD0C0 FC 3E 08 3A */ fmadd f1, f30, f0, f1 -/* 802D0164 002CD0C4 48 00 00 90 */ b lbl_802D01F4 -lbl_802D0168: -/* 802D0168 002CD0C8 FC 1C F8 2A */ fadd f0, f28, f31 -/* 802D016C 002CD0CC FC 00 E8 28 */ fsub f0, f0, f29 -/* 802D0170 002CD0D0 FC 40 F0 28 */ fsub f2, f0, f30 -/* 802D0174 002CD0D4 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D0178 002CD0D8 4C 40 13 82 */ cror 2, 0, 2 -/* 802D017C 002CD0DC 40 82 00 1C */ bne lbl_802D0198 -/* 802D0180 002CD0E0 C8 62 C4 B0 */ lfd f3, lbl_805AE1D0@sda21(r2) -/* 802D0184 002CD0E4 FC 00 20 90 */ fmr f0, f4 -/* 802D0188 002CD0E8 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D018C 002CD0EC FC 63 E7 FA */ fmadd f3, f3, f31, f28 -/* 802D0190 002CD0F0 FC 21 18 2A */ fadd f1, f1, f3 -/* 802D0194 002CD0F4 48 00 00 60 */ b lbl_802D01F4 -lbl_802D0198: -/* 802D0198 002CD0F8 C8 A2 C4 B0 */ lfd f5, lbl_805AE1D0@sda21(r2) -/* 802D019C 002CD0FC FC 05 DF 7C */ fnmsub f0, f5, f29, f27 -/* 802D01A0 002CD100 FC 1C 00 2A */ fadd f0, f28, f0 -/* 802D01A4 002CD104 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D01A8 002CD108 4C 41 13 82 */ cror 2, 1, 2 -/* 802D01AC 002CD10C 40 82 00 18 */ bne lbl_802D01C4 -/* 802D01B0 002CD110 FC 65 DF BA */ fmadd f3, f5, f30, f27 -/* 802D01B4 002CD114 C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802D01B8 002CD118 FC 40 20 90 */ fmr f2, f4 -/* 802D01BC 002CD11C FC 21 18 2A */ fadd f1, f1, f3 -/* 802D01C0 002CD120 48 00 00 34 */ b lbl_802D01F4 -lbl_802D01C4: -/* 802D01C4 002CD124 FC 02 00 24 */ fdiv f0, f2, f0 -/* 802D01C8 002CD128 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D01CC 002CD12C FC 42 00 28 */ fsub f2, f2, f0 -/* 802D01D0 002CD130 FC 7C 00 B2 */ fmul f3, f28, f2 -/* 802D01D4 002CD134 FC 9D 00 B2 */ fmul f4, f29, f2 -/* 802D01D8 002CD138 FC 7D 18 3A */ fmadd f3, f29, f0, f3 -/* 802D01DC 002CD13C FC 9B 20 3A */ fmadd f4, f27, f0, f4 -/* 802D01E0 002CD140 FC 65 1F FA */ fmadd f3, f5, f31, f3 -/* 802D01E4 002CD144 FC 85 27 BA */ fmadd f4, f5, f30, f4 -/* 802D01E8 002CD148 FC 62 00 F2 */ fmul f3, f2, f3 -/* 802D01EC 002CD14C FC 60 19 3A */ fmadd f3, f0, f4, f3 -/* 802D01F0 002CD150 FC 21 18 2A */ fadd f1, f1, f3 -lbl_802D01F4: -/* 802D01F4 002CD154 28 1E 00 00 */ cmplwi r30, 0 -/* 802D01F8 002CD158 41 82 00 0C */ beq lbl_802D0204 -/* 802D01FC 002CD15C FC 40 10 18 */ frsp f2, f2 -/* 802D0200 002CD160 D0 5E 00 00 */ stfs f2, 0(r30) -lbl_802D0204: -/* 802D0204 002CD164 28 1F 00 00 */ cmplwi r31, 0 -/* 802D0208 002CD168 41 82 00 0C */ beq lbl_802D0214 -/* 802D020C 002CD16C FC 00 00 18 */ frsp f0, f0 -/* 802D0210 002CD170 D0 1F 00 00 */ stfs f0, 0(r31) -lbl_802D0214: -/* 802D0214 002CD174 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 802D0218 002CD178 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 802D021C 002CD17C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 802D0220 002CD180 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 802D0224 002CD184 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 802D0228 002CD188 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 802D022C 002CD18C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 802D0230 002CD190 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 802D0234 002CD194 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802D0238 002CD198 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802D023C 002CD19C BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 802D0240 002CD1A0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 802D0244 002CD1A4 7C 08 03 A6 */ mtlr r0 -/* 802D0248 002CD1A8 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 802D024C 002CD1AC 4E 80 00 20 */ blr - -.global TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f -TriSphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3fR9CVector3f: -/* 802D0250 002CD1B0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802D0254 002CD1B4 7C 08 02 A6 */ mflr r0 -/* 802D0258 002CD1B8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802D025C 002CD1BC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802D0260 002CD1C0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802D0264 002CD1C4 BF 41 00 78 */ stmw r26, 0x78(r1) -/* 802D0268 002CD1C8 7C FE 3B 78 */ mr r30, r7 -/* 802D026C 002CD1CC 7D 1F 43 78 */ mr r31, r8 -/* 802D0270 002CD1D0 7C 7A 1B 78 */ mr r26, r3 -/* 802D0274 002CD1D4 7C 9B 23 78 */ mr r27, r4 -/* 802D0278 002CD1D8 7C BC 2B 78 */ mr r28, r5 -/* 802D027C 002CD1DC 7C DD 33 78 */ mr r29, r6 -/* 802D0280 002CD1E0 38 E1 00 0C */ addi r7, r1, 0xc -/* 802D0284 002CD1E4 39 01 00 08 */ addi r8, r1, 8 -/* 802D0288 002CD1E8 4B FF FA 6D */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf -/* 802D028C 002CD1EC C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 802D0290 002CD1F0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D0294 002CD1F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0298 002CD1F8 40 81 00 0C */ ble lbl_802D02A4 -/* 802D029C 002CD1FC 38 60 00 00 */ li r3, 0 -/* 802D02A0 002CD200 48 00 01 84 */ b lbl_802D0424 -lbl_802D02A4: -/* 802D02A4 002CD204 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802D02A8 002CD208 7F A4 EB 78 */ mr r4, r29 -/* 802D02AC 002CD20C C0 61 00 08 */ lfs f3, 8(r1) -/* 802D02B0 002CD210 7F 85 E3 78 */ mr r5, r28 -/* 802D02B4 002CD214 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) -/* 802D02B8 002CD218 7F 66 DB 78 */ mr r6, r27 -/* 802D02BC 002CD21C EC 02 18 2A */ fadds f0, f2, f3 -/* 802D02C0 002CD220 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802D02C4 002CD224 38 61 00 64 */ addi r3, r1, 0x64 -/* 802D02C8 002CD228 38 E1 00 58 */ addi r7, r1, 0x58 -/* 802D02CC 002CD22C D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 802D02D0 002CD230 EF E1 00 28 */ fsubs f31, f1, f0 -/* 802D02D4 002CD234 D3 E1 00 60 */ stfs f31, 0x60(r1) -/* 802D02D8 002CD238 48 04 4B C5 */ bl BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -/* 802D02DC 002CD23C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802D02E0 002CD240 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D02E4 002CD244 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D02E8 002CD248 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 802D02EC 002CD24C D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D02F0 002CD250 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 802D02F4 002CD254 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D02F8 002CD258 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802D02FC 002CD25C FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 802D0300 002CD260 41 82 00 34 */ beq lbl_802D0334 -/* 802D0304 002CD264 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -/* 802D0308 002CD268 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802D030C 002CD26C 41 82 00 28 */ beq lbl_802D0334 -/* 802D0310 002CD270 C0 41 00 08 */ lfs f2, 8(r1) -/* 802D0314 002CD274 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 802D0318 002CD278 41 82 00 1C */ beq lbl_802D0334 -/* 802D031C 002CD27C FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802D0320 002CD280 41 82 00 14 */ beq lbl_802D0334 -/* 802D0324 002CD284 FC 01 F8 00 */ fcmpu cr0, f1, f31 -/* 802D0328 002CD288 41 82 00 0C */ beq lbl_802D0334 -/* 802D032C 002CD28C FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 802D0330 002CD290 40 82 00 54 */ bne lbl_802D0384 -lbl_802D0334: -/* 802D0334 002CD294 7F 44 D3 78 */ mr r4, r26 -/* 802D0338 002CD298 7F C5 F3 78 */ mr r5, r30 -/* 802D033C 002CD29C 38 61 00 40 */ addi r3, r1, 0x40 -/* 802D0340 002CD2A0 48 06 6E 49 */ bl GetSurfaceNormal__7CSphereCFRC9CVector3f -/* 802D0344 002CD2A4 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802D0348 002CD2A8 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802D034C 002CD2AC FC 00 00 50 */ fneg f0, f0 -/* 802D0350 002CD2B0 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 802D0354 002CD2B4 FC 60 08 50 */ fneg f3, f1 -/* 802D0358 002CD2B8 FC 80 10 50 */ fneg f4, f2 -/* 802D035C 002CD2BC FC 40 00 18 */ frsp f2, f0 -/* 802D0360 002CD2C0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802D0364 002CD2C4 FC 20 18 18 */ frsp f1, f3 -/* 802D0368 002CD2C8 FC 00 20 18 */ frsp f0, f4 -/* 802D036C 002CD2CC D0 61 00 50 */ stfs f3, 0x50(r1) -/* 802D0370 002CD2D0 D0 5F 00 00 */ stfs f2, 0(r31) -/* 802D0374 002CD2D4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802D0378 002CD2D8 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802D037C 002CD2DC D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D0380 002CD2E0 48 00 00 A0 */ b lbl_802D0420 -lbl_802D0384: -/* 802D0384 002CD2E4 C0 3D 00 00 */ lfs f1, 0(r29) -/* 802D0388 002CD2E8 38 61 00 34 */ addi r3, r1, 0x34 -/* 802D038C 002CD2EC C0 5B 00 00 */ lfs f2, 0(r27) -/* 802D0390 002CD2F0 38 81 00 28 */ addi r4, r1, 0x28 -/* 802D0394 002CD2F4 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D0398 002CD2F8 ED 01 10 28 */ fsubs f8, f1, f2 -/* 802D039C 002CD2FC C0 3D 00 04 */ lfs f1, 4(r29) -/* 802D03A0 002CD300 C0 9B 00 04 */ lfs f4, 4(r27) -/* 802D03A4 002CD304 EC 60 10 28 */ fsubs f3, f0, f2 -/* 802D03A8 002CD308 C0 1C 00 04 */ lfs f0, 4(r28) -/* 802D03AC 002CD30C EC E1 20 28 */ fsubs f7, f1, f4 -/* 802D03B0 002CD310 EC A0 20 28 */ fsubs f5, f0, f4 -/* 802D03B4 002CD314 C0 3D 00 08 */ lfs f1, 8(r29) -/* 802D03B8 002CD318 C0 5B 00 08 */ lfs f2, 8(r27) -/* 802D03BC 002CD31C C0 1C 00 08 */ lfs f0, 8(r28) -/* 802D03C0 002CD320 EC C1 10 28 */ fsubs f6, f1, f2 -/* 802D03C4 002CD324 D1 01 00 10 */ stfs f8, 0x10(r1) -/* 802D03C8 002CD328 EC 80 10 28 */ fsubs f4, f0, f2 -/* 802D03CC 002CD32C EC 08 01 72 */ fmuls f0, f8, f5 -/* 802D03D0 002CD330 D0 E1 00 14 */ stfs f7, 0x14(r1) -/* 802D03D4 002CD334 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 802D03D8 002CD338 EC 47 01 32 */ fmuls f2, f7, f4 -/* 802D03DC 002CD33C D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 802D03E0 002CD340 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 802D03E4 002CD344 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 -/* 802D03E8 002CD348 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802D03EC 002CD34C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 -/* 802D03F0 002CD350 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 802D03F4 002CD354 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802D03F8 002CD358 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802D03FC 002CD35C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802D0400 002CD360 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 802D0404 002CD364 48 04 44 4D */ bl AsNormalized__9CVector3fCFv -/* 802D0408 002CD368 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802D040C 002CD36C D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D0410 002CD370 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802D0414 002CD374 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D0418 002CD378 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802D041C 002CD37C D0 1F 00 08 */ stfs f0, 8(r31) -lbl_802D0420: -/* 802D0420 002CD380 38 60 00 01 */ li r3, 1 -lbl_802D0424: -/* 802D0424 002CD384 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802D0428 002CD388 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802D042C 002CD38C BB 41 00 78 */ lmw r26, 0x78(r1) -/* 802D0430 002CD390 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802D0434 002CD394 7C 08 03 A6 */ mtlr r0 -/* 802D0438 002CD398 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802D043C 002CD39C 4E 80 00 20 */ blr - -.global TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f -TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f: -/* 802D0440 002CD3A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D0444 002CD3A4 7C 08 02 A6 */ mflr r0 -/* 802D0448 002CD3A8 38 E0 00 00 */ li r7, 0 -/* 802D044C 002CD3AC 39 00 00 00 */ li r8, 0 -/* 802D0450 002CD3B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D0454 002CD3B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D0458 002CD3B8 7C 7F 1B 78 */ mr r31, r3 -/* 802D045C 002CD3BC 4B FF F8 99 */ bl TriPointSqrDist__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fPfPf -/* 802D0460 002CD3C0 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 802D0464 002CD3C4 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D0468 002CD3C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D046C 002CD3CC 7C 00 00 26 */ mfcr r0 -/* 802D0470 002CD3D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D0474 002CD3D4 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D0478 002CD3D8 7C 00 00 34 */ cntlzw r0, r0 -/* 802D047C 002CD3DC 54 03 D9 7E */ srwi r3, r0, 5 -/* 802D0480 002CD3E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D0484 002CD3E4 7C 08 03 A6 */ mtlr r0 -/* 802D0488 002CD3E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D048C 002CD3EC 4E 80 00 20 */ blr - -.global MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f -MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: -/* 802D0490 002CD3F0 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 802D0494 002CD3F4 7C 08 02 A6 */ mflr r0 -/* 802D0498 002CD3F8 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 802D049C 002CD3FC BE C1 01 98 */ stmw r22, 0x198(r1) -/* 802D04A0 002CD400 7C 9B 23 78 */ mr r27, r4 -/* 802D04A4 002CD404 7C BC 2B 78 */ mr r28, r5 -/* 802D04A8 002CD408 7C 7A 1B 78 */ mr r26, r3 -/* 802D04AC 002CD40C 3B 1B 00 0C */ addi r24, r27, 0xc -/* 802D04B0 002CD410 7C DD 33 78 */ mr r29, r6 -/* 802D04B4 002CD414 7C FE 3B 78 */ mr r30, r7 -/* 802D04B8 002CD418 7D 1F 43 78 */ mr r31, r8 -/* 802D04BC 002CD41C 38 A1 01 5C */ addi r5, r1, 0x15c -/* 802D04C0 002CD420 C0 C3 00 0C */ lfs f6, 0xc(r3) -/* 802D04C4 002CD424 38 61 01 74 */ addi r3, r1, 0x174 -/* 802D04C8 002CD428 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802D04CC 002CD42C C0 24 00 14 */ lfs f1, 0x14(r4) -/* 802D04D0 002CD430 EC A2 30 2A */ fadds f5, f2, f6 -/* 802D04D4 002CD434 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D04D8 002CD438 EC 81 30 2A */ fadds f4, f1, f6 -/* 802D04DC 002CD43C C0 44 00 04 */ lfs f2, 4(r4) -/* 802D04E0 002CD440 EC 60 30 2A */ fadds f3, f0, f6 -/* 802D04E4 002CD444 C0 24 00 08 */ lfs f1, 8(r4) -/* 802D04E8 002CD448 C0 04 00 00 */ lfs f0, 0(r4) -/* 802D04EC 002CD44C EC 42 30 28 */ fsubs f2, f2, f6 -/* 802D04F0 002CD450 EC 21 30 28 */ fsubs f1, f1, f6 -/* 802D04F4 002CD454 D0 A1 01 60 */ stfs f5, 0x160(r1) -/* 802D04F8 002CD458 EC 00 30 28 */ fsubs f0, f0, f6 -/* 802D04FC 002CD45C 38 81 01 68 */ addi r4, r1, 0x168 -/* 802D0500 002CD460 D0 61 01 5C */ stfs f3, 0x15c(r1) -/* 802D0504 002CD464 D0 81 01 64 */ stfs f4, 0x164(r1) -/* 802D0508 002CD468 D0 01 01 68 */ stfs f0, 0x168(r1) -/* 802D050C 002CD46C D0 41 01 6C */ stfs f2, 0x16c(r1) -/* 802D0510 002CD470 D0 21 01 70 */ stfs f1, 0x170(r1) -/* 802D0514 002CD474 48 06 7F F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D0518 002CD478 7F 44 D3 78 */ mr r4, r26 -/* 802D051C 002CD47C 7F 85 E3 78 */ mr r5, r28 -/* 802D0520 002CD480 38 61 01 74 */ addi r3, r1, 0x174 -/* 802D0524 002CD484 38 C1 00 24 */ addi r6, r1, 0x24 -/* 802D0528 002CD488 38 E1 00 20 */ addi r7, r1, 0x20 -/* 802D052C 002CD48C 39 01 00 1C */ addi r8, r1, 0x1c -/* 802D0530 002CD490 39 21 00 08 */ addi r9, r1, 8 -/* 802D0534 002CD494 48 00 16 75 */ bl BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb -/* 802D0538 002CD498 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D053C 002CD49C 40 82 00 0C */ bne lbl_802D0548 -/* 802D0540 002CD4A0 38 60 00 00 */ li r3, 0 -/* 802D0544 002CD4A4 48 00 0D D4 */ b lbl_802D1318 -lbl_802D0548: -/* 802D0548 002CD4A8 C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 802D054C 002CD4AC 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802D0550 002CD4B0 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D0554 002CD4B4 38 83 55 56 */ addi r4, r3, 0x55555556@l -/* 802D0558 002CD4B8 C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D055C 002CD4BC EC 06 00 32 */ fmuls f0, f6, f0 -/* 802D0560 002CD4C0 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802D0564 002CD4C4 C0 5C 00 08 */ lfs f2, 8(r28) -/* 802D0568 002CD4C8 EC 86 00 F2 */ fmuls f4, f6, f3 -/* 802D056C 002CD4CC C0 BA 00 04 */ lfs f5, 4(r26) -/* 802D0570 002CD4D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D0574 002CD4D4 C0 7A 00 08 */ lfs f3, 8(r26) -/* 802D0578 002CD4D8 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 802D057C 002CD4DC EC 45 20 2A */ fadds f2, f5, f4 -/* 802D0580 002CD4E0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0584 002CD4E4 EC 03 08 2A */ fadds f0, f3, f1 -/* 802D0588 002CD4E8 D0 5E 00 04 */ stfs f2, 4(r30) -/* 802D058C 002CD4EC D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0590 002CD4F0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802D0594 002CD4F4 38 E3 00 01 */ addi r7, r3, 1 -/* 802D0598 002CD4F8 38 C3 00 02 */ addi r6, r3, 2 -/* 802D059C 002CD4FC 7C A4 38 96 */ mulhw r5, r4, r7 -/* 802D05A0 002CD500 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 802D05A4 002CD504 7C 05 02 14 */ add r0, r5, r0 -/* 802D05A8 002CD508 1C 00 00 03 */ mulli r0, r0, 3 -/* 802D05AC 002CD50C 7C A4 30 96 */ mulhw r5, r4, r6 -/* 802D05B0 002CD510 7C 00 38 50 */ subf r0, r0, r7 -/* 802D05B4 002CD514 54 07 10 3A */ slwi r7, r0, 2 -/* 802D05B8 002CD518 7C 3E 3C 2E */ lfsx f1, r30, r7 -/* 802D05BC 002CD51C 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 802D05C0 002CD520 7C 1B 3C 2E */ lfsx f0, r27, r7 -/* 802D05C4 002CD524 7C 85 22 14 */ add r4, r5, r4 -/* 802D05C8 002CD528 1C 84 00 03 */ mulli r4, r4, 3 -/* 802D05CC 002CD52C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D05D0 002CD530 7C A4 30 50 */ subf r5, r4, r6 -/* 802D05D4 002CD534 4C 41 13 82 */ cror 2, 1, 2 -/* 802D05D8 002CD538 7C 80 00 26 */ mfcr r4 -/* 802D05DC 002CD53C 7C 18 3C 2E */ lfsx f0, r24, r7 -/* 802D05E0 002CD540 54 86 1F FE */ rlwinm r6, r4, 3, 0x1f, 0x1f -/* 802D05E4 002CD544 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D05E8 002CD548 4C 40 13 82 */ cror 2, 0, 2 -/* 802D05EC 002CD54C 7C 80 00 26 */ mfcr r4 -/* 802D05F0 002CD550 54 A7 10 3A */ slwi r7, r5, 2 -/* 802D05F4 002CD554 7C 3E 3C 2E */ lfsx f1, r30, r7 -/* 802D05F8 002CD558 54 88 1F FE */ rlwinm r8, r4, 3, 0x1f, 0x1f -/* 802D05FC 002CD55C 7C 1B 3C 2E */ lfsx f0, r27, r7 -/* 802D0600 002CD560 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0604 002CD564 4C 41 13 82 */ cror 2, 1, 2 -/* 802D0608 002CD568 7C 80 00 26 */ mfcr r4 -/* 802D060C 002CD56C 7C 18 3C 2E */ lfsx f0, r24, r7 -/* 802D0610 002CD570 54 87 1F FE */ rlwinm r7, r4, 3, 0x1f, 0x1f -/* 802D0614 002CD574 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0618 002CD578 4C 40 13 82 */ cror 2, 0, 2 -/* 802D061C 002CD57C 7C 80 00 26 */ mfcr r4 -/* 802D0620 002CD580 28 06 00 00 */ cmplwi r6, 0 -/* 802D0624 002CD584 54 84 1F FE */ rlwinm r4, r4, 3, 0x1f, 0x1f -/* 802D0628 002CD588 39 20 00 00 */ li r9, 0 -/* 802D062C 002CD58C 41 82 00 10 */ beq lbl_802D063C -/* 802D0630 002CD590 28 08 00 00 */ cmplwi r8, 0 -/* 802D0634 002CD594 41 82 00 08 */ beq lbl_802D063C -/* 802D0638 002CD598 39 20 00 01 */ li r9, 1 -lbl_802D063C: -/* 802D063C 002CD59C 28 07 00 00 */ cmplwi r7, 0 -/* 802D0640 002CD5A0 39 00 00 00 */ li r8, 0 -/* 802D0644 002CD5A4 41 82 00 10 */ beq lbl_802D0654 -/* 802D0648 002CD5A8 28 04 00 00 */ cmplwi r4, 0 -/* 802D064C 002CD5AC 41 82 00 08 */ beq lbl_802D0654 -/* 802D0650 002CD5B0 39 00 00 01 */ li r8, 1 -lbl_802D0654: -/* 802D0654 002CD5B4 55 24 06 3F */ clrlwi. r4, r9, 0x18 -/* 802D0658 002CD5B8 41 82 00 A0 */ beq lbl_802D06F8 -/* 802D065C 002CD5BC 55 04 06 3F */ clrlwi. r4, r8, 0x18 -/* 802D0660 002CD5C0 41 82 00 98 */ beq lbl_802D06F8 -/* 802D0664 002CD5C4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802D0668 002CD5C8 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D066C 002CD5CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0670 002CD5D0 41 80 00 10 */ blt lbl_802D0680 -/* 802D0674 002CD5D4 C8 1D 00 00 */ lfd f0, 0(r29) -/* 802D0678 002CD5D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D067C 002CD5DC 40 81 00 0C */ ble lbl_802D0688 -lbl_802D0680: -/* 802D0680 002CD5E0 38 60 00 00 */ li r3, 0 -/* 802D0684 002CD5E4 48 00 0C 94 */ b lbl_802D1318 -lbl_802D0688: -/* 802D0688 002CD5E8 88 01 00 08 */ lbz r0, 8(r1) -/* 802D068C 002CD5EC 28 00 00 00 */ cmplwi r0, 0 -/* 802D0690 002CD5F0 41 82 00 0C */ beq lbl_802D069C -/* 802D0694 002CD5F4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -/* 802D0698 002CD5F8 48 00 00 08 */ b lbl_802D06A0 -lbl_802D069C: -/* 802D069C 002CD5FC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) -lbl_802D06A0: -/* 802D06A0 002CD600 54 60 10 3A */ slwi r0, r3, 2 -/* 802D06A4 002CD604 38 60 00 01 */ li r3, 1 -/* 802D06A8 002CD608 7C 1F 05 2E */ stfsx f0, r31, r0 -/* 802D06AC 002CD60C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802D06B0 002CD610 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D06B4 002CD614 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D06B8 002CD618 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D06BC 002CD61C C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D06C0 002CD620 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D06C4 002CD624 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D06C8 002CD628 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D06CC 002CD62C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D06D0 002CD630 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D06D4 002CD634 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D06D8 002CD638 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D06DC 002CD63C C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D06E0 002CD640 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D06E4 002CD644 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D06E8 002CD648 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D06EC 002CD64C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D06F0 002CD650 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D06F4 002CD654 48 00 0C 24 */ b lbl_802D1318 -lbl_802D06F8: -/* 802D06F8 002CD658 55 24 06 3F */ clrlwi. r4, r9, 0x18 -/* 802D06FC 002CD65C 40 82 08 48 */ bne lbl_802D0F44 -/* 802D0700 002CD660 55 04 06 3F */ clrlwi. r4, r8, 0x18 -/* 802D0704 002CD664 40 82 08 40 */ bne lbl_802D0F44 -/* 802D0708 002CD668 39 20 00 01 */ li r9, 1 -/* 802D070C 002CD66C 89 01 00 08 */ lbz r8, 8(r1) -/* 802D0710 002CD670 7D 23 18 30 */ slw r3, r9, r3 -/* 802D0714 002CD674 7F 64 DB 78 */ mr r4, r27 -/* 802D0718 002CD678 7D 20 00 30 */ slw r0, r9, r0 -/* 802D071C 002CD67C 7D 29 28 30 */ slw r9, r9, r5 -/* 802D0720 002CD680 7C A3 41 D6 */ mullw r5, r3, r8 -/* 802D0724 002CD684 38 61 01 50 */ addi r3, r1, 0x150 -/* 802D0728 002CD688 7C 00 31 D6 */ mullw r0, r0, r6 -/* 802D072C 002CD68C 7C C9 39 D6 */ mullw r6, r9, r7 -/* 802D0730 002CD690 7C A0 03 78 */ or r0, r5, r0 -/* 802D0734 002CD694 7C D7 03 78 */ or r23, r6, r0 -/* 802D0738 002CD698 7E E5 BB 78 */ mr r5, r23 -/* 802D073C 002CD69C 48 06 6E 75 */ bl GetPoint__6CAABoxCFi -/* 802D0740 002CD6A0 C8 3D 00 00 */ lfd f1, 0(r29) -/* 802D0744 002CD6A4 7F 44 D3 78 */ mr r4, r26 -/* 802D0748 002CD6A8 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D074C 002CD6AC 7F 85 E3 78 */ mr r5, r28 -/* 802D0750 002CD6B0 C0 61 01 50 */ lfs f3, 0x150(r1) -/* 802D0754 002CD6B4 FC 20 08 18 */ frsp f1, f1 -/* 802D0758 002CD6B8 C0 41 01 54 */ lfs f2, 0x154(r1) -/* 802D075C 002CD6BC 7F C7 F3 78 */ mr r7, r30 -/* 802D0760 002CD6C0 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 802D0764 002CD6C4 38 61 01 40 */ addi r3, r1, 0x140 -/* 802D0768 002CD6C8 D0 61 01 40 */ stfs f3, 0x140(r1) -/* 802D076C 002CD6CC 38 C1 00 18 */ addi r6, r1, 0x18 -/* 802D0770 002CD6D0 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 802D0774 002CD6D4 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 802D0778 002CD6D8 D0 81 01 4C */ stfs f4, 0x14c(r1) -/* 802D077C 002CD6DC 48 00 33 8D */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D0780 002CD6E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D0784 002CD6E4 41 82 05 48 */ beq lbl_802D0CCC -/* 802D0788 002CD6E8 38 00 00 00 */ li r0, 0 -/* 802D078C 002CD6EC 38 60 00 01 */ li r3, 1 -/* 802D0790 002CD6F0 7C 60 00 30 */ slw r0, r3, r0 -/* 802D0794 002CD6F4 3B 20 FF FF */ li r25, -1 -/* 802D0798 002CD6F8 7E E0 00 39 */ and. r0, r23, r0 -/* 802D079C 002CD6FC 41 82 00 1C */ beq lbl_802D07B8 -/* 802D07A0 002CD700 C0 21 01 50 */ lfs f1, 0x150(r1) -/* 802D07A4 002CD704 C0 1E 00 00 */ lfs f0, 0(r30) -/* 802D07A8 002CD708 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D07AC 002CD70C 7C 00 00 26 */ mfcr r0 -/* 802D07B0 002CD710 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D07B4 002CD714 48 00 00 18 */ b lbl_802D07CC -lbl_802D07B8: -/* 802D07B8 002CD718 C0 21 01 50 */ lfs f1, 0x150(r1) -/* 802D07BC 002CD71C C0 1E 00 00 */ lfs f0, 0(r30) -/* 802D07C0 002CD720 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D07C4 002CD724 7C 00 00 26 */ mfcr r0 -/* 802D07C8 002CD728 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_802D07CC: -/* 802D07CC 002CD72C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802D07D0 002CD730 41 82 00 0C */ beq lbl_802D07DC -/* 802D07D4 002CD734 3B 20 00 00 */ li r25, 0 -/* 802D07D8 002CD738 48 00 00 98 */ b lbl_802D0870 -lbl_802D07DC: -/* 802D07DC 002CD73C 38 00 00 01 */ li r0, 1 -/* 802D07E0 002CD740 7C 60 00 30 */ slw r0, r3, r0 -/* 802D07E4 002CD744 7E E0 00 39 */ and. r0, r23, r0 -/* 802D07E8 002CD748 41 82 00 1C */ beq lbl_802D0804 -/* 802D07EC 002CD74C C0 21 01 54 */ lfs f1, 0x154(r1) -/* 802D07F0 002CD750 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D07F4 002CD754 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D07F8 002CD758 7C 00 00 26 */ mfcr r0 -/* 802D07FC 002CD75C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D0800 002CD760 48 00 00 18 */ b lbl_802D0818 -lbl_802D0804: -/* 802D0804 002CD764 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 802D0808 002CD768 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D080C 002CD76C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0810 002CD770 7C 00 00 26 */ mfcr r0 -/* 802D0814 002CD774 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_802D0818: -/* 802D0818 002CD778 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802D081C 002CD77C 41 82 00 0C */ beq lbl_802D0828 -/* 802D0820 002CD780 3B 20 00 01 */ li r25, 1 -/* 802D0824 002CD784 48 00 00 4C */ b lbl_802D0870 -lbl_802D0828: -/* 802D0828 002CD788 38 00 00 02 */ li r0, 2 -/* 802D082C 002CD78C 7C 60 00 30 */ slw r0, r3, r0 -/* 802D0830 002CD790 7E E0 00 39 */ and. r0, r23, r0 -/* 802D0834 002CD794 41 82 00 1C */ beq lbl_802D0850 -/* 802D0838 002CD798 C0 21 01 58 */ lfs f1, 0x158(r1) -/* 802D083C 002CD79C C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0840 002CD7A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0844 002CD7A4 7C 00 00 26 */ mfcr r0 -/* 802D0848 002CD7A8 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D084C 002CD7AC 48 00 00 18 */ b lbl_802D0864 -lbl_802D0850: -/* 802D0850 002CD7B0 C0 21 01 58 */ lfs f1, 0x158(r1) -/* 802D0854 002CD7B4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0858 002CD7B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D085C 002CD7BC 7C 00 00 26 */ mfcr r0 -/* 802D0860 002CD7C0 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_802D0864: -/* 802D0864 002CD7C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802D0868 002CD7C8 41 82 00 08 */ beq lbl_802D0870 -/* 802D086C 002CD7CC 3B 20 00 02 */ li r25, 2 -lbl_802D0870: -/* 802D0870 002CD7D0 2C 19 FF FF */ cmpwi r25, -1 -/* 802D0874 002CD7D4 40 82 00 A8 */ bne lbl_802D091C -/* 802D0878 002CD7D8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802D087C 002CD7DC 38 61 01 34 */ addi r3, r1, 0x134 -/* 802D0880 002CD7E0 38 81 01 28 */ addi r4, r1, 0x128 -/* 802D0884 002CD7E4 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D0888 002CD7E8 C0 3E 00 04 */ lfs f1, 4(r30) -/* 802D088C 002CD7EC C0 01 01 54 */ lfs f0, 0x154(r1) -/* 802D0890 002CD7F0 C0 7E 00 08 */ lfs f3, 8(r30) -/* 802D0894 002CD7F4 C0 41 01 58 */ lfs f2, 0x158(r1) -/* 802D0898 002CD7F8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D089C 002CD7FC C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D08A0 002CD800 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 802D08A4 002CD804 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D08A8 002CD808 D0 81 01 2C */ stfs f4, 0x12c(r1) -/* 802D08AC 002CD80C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D08B0 002CD810 D0 41 01 30 */ stfs f2, 0x130(r1) -/* 802D08B4 002CD814 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 802D08B8 002CD818 48 04 3F 99 */ bl AsNormalized__9CVector3fCFv -/* 802D08BC 002CD81C C0 01 01 34 */ lfs f0, 0x134(r1) -/* 802D08C0 002CD820 38 60 00 01 */ li r3, 1 -/* 802D08C4 002CD824 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D08C8 002CD828 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 802D08CC 002CD82C D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D08D0 002CD830 C0 01 01 3C */ lfs f0, 0x13c(r1) -/* 802D08D4 002CD834 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D08D8 002CD838 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D08DC 002CD83C C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D08E0 002CD840 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D08E4 002CD844 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D08E8 002CD848 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D08EC 002CD84C C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D08F0 002CD850 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D08F4 002CD854 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D08F8 002CD858 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D08FC 002CD85C D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0900 002CD860 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D0904 002CD864 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D0908 002CD868 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D090C 002CD86C C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0910 002CD870 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D0914 002CD874 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0918 002CD878 48 00 0A 00 */ b lbl_802D1318 -lbl_802D091C: -/* 802D091C 002CD87C 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802D0920 002CD880 C0 7A 00 0C */ lfs f3, 0xc(r26) -/* 802D0924 002CD884 39 59 00 01 */ addi r10, r25, 1 -/* 802D0928 002CD888 38 F9 00 02 */ addi r7, r25, 2 -/* 802D092C 002CD88C 38 03 55 56 */ addi r0, r3, 0x55555556@l -/* 802D0930 002CD890 C0 41 01 50 */ lfs f2, 0x150(r1) -/* 802D0934 002CD894 7D 00 50 96 */ mulhw r8, r0, r10 -/* 802D0938 002CD898 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 802D093C 002CD89C C0 01 01 58 */ lfs f0, 0x158(r1) -/* 802D0940 002CD8A0 7F 43 D3 78 */ mr r3, r26 -/* 802D0944 002CD8A4 D0 41 01 18 */ stfs f2, 0x118(r1) -/* 802D0948 002CD8A8 7F 84 E3 78 */ mr r4, r28 -/* 802D094C 002CD8AC 7C C0 38 96 */ mulhw r6, r0, r7 -/* 802D0950 002CD8B0 55 00 0F FE */ srwi r0, r8, 0x1f -/* 802D0954 002CD8B4 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 802D0958 002CD8B8 38 A1 01 18 */ addi r5, r1, 0x118 -/* 802D095C 002CD8BC 7D 28 02 14 */ add r9, r8, r0 -/* 802D0960 002CD8C0 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 802D0964 002CD8C4 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 802D0968 002CD8C8 D0 61 01 24 */ stfs f3, 0x124(r1) -/* 802D096C 002CD8CC 7C 06 02 14 */ add r0, r6, r0 -/* 802D0970 002CD8D0 39 01 00 14 */ addi r8, r1, 0x14 -/* 802D0974 002CD8D4 1C C9 00 03 */ mulli r6, r9, 3 -/* 802D0978 002CD8D8 1C 00 00 03 */ mulli r0, r0, 3 -/* 802D097C 002CD8DC 7C C6 50 50 */ subf r6, r6, r10 -/* 802D0980 002CD8E0 7C E0 38 50 */ subf r7, r0, r7 -/* 802D0984 002CD8E4 48 00 09 A9 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf -/* 802D0988 002CD8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D098C 002CD8EC 41 82 05 B0 */ beq lbl_802D0F3C -/* 802D0990 002CD8F0 C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 802D0994 002CD8F4 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) -/* 802D0998 002CD8F8 FC 07 30 40 */ fcmpo cr0, f7, f6 -/* 802D099C 002CD8FC 40 81 05 A0 */ ble lbl_802D0F3C -/* 802D09A0 002CD900 C8 1D 00 00 */ lfd f0, 0(r29) -/* 802D09A4 002CD904 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 802D09A8 002CD908 40 80 05 94 */ bge lbl_802D0F3C -/* 802D09AC 002CD90C C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D09B0 002CD910 57 20 10 3A */ slwi r0, r25, 2 -/* 802D09B4 002CD914 C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D09B8 002CD918 EC 07 00 32 */ fmuls f0, f7, f0 -/* 802D09BC 002CD91C C0 3A 00 00 */ lfs f1, 0(r26) -/* 802D09C0 002CD920 C0 5C 00 08 */ lfs f2, 8(r28) -/* 802D09C4 002CD924 EC 87 00 F2 */ fmuls f4, f7, f3 -/* 802D09C8 002CD928 C0 BA 00 04 */ lfs f5, 4(r26) -/* 802D09CC 002CD92C EC 01 00 2A */ fadds f0, f1, f0 -/* 802D09D0 002CD930 C0 7A 00 08 */ lfs f3, 8(r26) -/* 802D09D4 002CD934 EC 27 00 B2 */ fmuls f1, f7, f2 -/* 802D09D8 002CD938 EC 45 20 2A */ fadds f2, f5, f4 -/* 802D09DC 002CD93C D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D09E0 002CD940 EC 03 08 2A */ fadds f0, f3, f1 -/* 802D09E4 002CD944 D0 5E 00 04 */ stfs f2, 4(r30) -/* 802D09E8 002CD948 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D09EC 002CD94C 7C 3E 04 2E */ lfsx f1, r30, r0 -/* 802D09F0 002CD950 7C 18 04 2E */ lfsx f0, r24, r0 -/* 802D09F4 002CD954 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D09F8 002CD958 40 81 01 20 */ ble lbl_802D0B18 -/* 802D09FC 002CD95C 38 00 00 01 */ li r0, 1 -/* 802D0A00 002CD960 7C 05 C8 30 */ slw r5, r0, r25 -/* 802D0A04 002CD964 7E E0 28 39 */ and. r0, r23, r5 -/* 802D0A08 002CD968 41 82 00 0C */ beq lbl_802D0A14 -/* 802D0A0C 002CD96C 38 60 00 00 */ li r3, 0 -/* 802D0A10 002CD970 48 00 09 08 */ b lbl_802D1318 -lbl_802D0A14: -/* 802D0A14 002CD974 7F 64 DB 78 */ mr r4, r27 -/* 802D0A18 002CD978 38 61 01 0C */ addi r3, r1, 0x10c -/* 802D0A1C 002CD97C 7E E5 2B 78 */ or r5, r23, r5 -/* 802D0A20 002CD980 48 06 6B 91 */ bl GetPoint__6CAABoxCFi -/* 802D0A24 002CD984 C8 3D 00 00 */ lfd f1, 0(r29) -/* 802D0A28 002CD988 7F 44 D3 78 */ mr r4, r26 -/* 802D0A2C 002CD98C C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0A30 002CD990 7F 85 E3 78 */ mr r5, r28 -/* 802D0A34 002CD994 C0 61 01 0C */ lfs f3, 0x10c(r1) -/* 802D0A38 002CD998 FC 20 08 18 */ frsp f1, f1 -/* 802D0A3C 002CD99C C0 41 01 10 */ lfs f2, 0x110(r1) -/* 802D0A40 002CD9A0 7F C7 F3 78 */ mr r7, r30 -/* 802D0A44 002CD9A4 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 802D0A48 002CD9A8 38 61 00 FC */ addi r3, r1, 0xfc -/* 802D0A4C 002CD9AC D0 61 00 FC */ stfs f3, 0xfc(r1) -/* 802D0A50 002CD9B0 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802D0A54 002CD9B4 D0 41 01 00 */ stfs f2, 0x100(r1) -/* 802D0A58 002CD9B8 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 802D0A5C 002CD9BC D0 81 01 08 */ stfs f4, 0x108(r1) -/* 802D0A60 002CD9C0 48 00 30 A9 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D0A64 002CD9C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D0A68 002CD9C8 41 82 00 A8 */ beq lbl_802D0B10 -/* 802D0A6C 002CD9CC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802D0A70 002CD9D0 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 802D0A74 002CD9D4 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 802D0A78 002CD9D8 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D0A7C 002CD9DC C0 3E 00 04 */ lfs f1, 4(r30) -/* 802D0A80 002CD9E0 C0 01 01 10 */ lfs f0, 0x110(r1) -/* 802D0A84 002CD9E4 C0 7E 00 08 */ lfs f3, 8(r30) -/* 802D0A88 002CD9E8 C0 41 01 14 */ lfs f2, 0x114(r1) -/* 802D0A8C 002CD9EC EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D0A90 002CD9F0 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0A94 002CD9F4 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 802D0A98 002CD9F8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D0A9C 002CD9FC D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 802D0AA0 002CDA00 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0AA4 002CDA04 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 802D0AA8 002CDA08 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 802D0AAC 002CDA0C 48 04 3D A5 */ bl AsNormalized__9CVector3fCFv -/* 802D0AB0 002CDA10 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 802D0AB4 002CDA14 38 60 00 01 */ li r3, 1 -/* 802D0AB8 002CDA18 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D0ABC 002CDA1C C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 802D0AC0 002CDA20 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D0AC4 002CDA24 C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 802D0AC8 002CDA28 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D0ACC 002CDA2C C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0AD0 002CDA30 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D0AD4 002CDA34 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D0AD8 002CDA38 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D0ADC 002CDA3C C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0AE0 002CDA40 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D0AE4 002CDA44 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D0AE8 002CDA48 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0AEC 002CDA4C EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D0AF0 002CDA50 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0AF4 002CDA54 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D0AF8 002CDA58 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D0AFC 002CDA5C D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D0B00 002CDA60 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0B04 002CDA64 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D0B08 002CDA68 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0B0C 002CDA6C 48 00 08 0C */ b lbl_802D1318 -lbl_802D0B10: -/* 802D0B10 002CDA70 38 60 00 00 */ li r3, 0 -/* 802D0B14 002CDA74 48 00 08 04 */ b lbl_802D1318 -lbl_802D0B18: -/* 802D0B18 002CDA78 7C 1B 04 2E */ lfsx f0, r27, r0 -/* 802D0B1C 002CDA7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0B20 002CDA80 40 80 01 20 */ bge lbl_802D0C40 -/* 802D0B24 002CDA84 38 00 00 01 */ li r0, 1 -/* 802D0B28 002CDA88 7C 05 C8 30 */ slw r5, r0, r25 -/* 802D0B2C 002CDA8C 7E E0 28 39 */ and. r0, r23, r5 -/* 802D0B30 002CDA90 40 82 00 0C */ bne lbl_802D0B3C -/* 802D0B34 002CDA94 38 60 00 00 */ li r3, 0 -/* 802D0B38 002CDA98 48 00 07 E0 */ b lbl_802D1318 -lbl_802D0B3C: -/* 802D0B3C 002CDA9C 7F 64 DB 78 */ mr r4, r27 -/* 802D0B40 002CDAA0 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 802D0B44 002CDAA4 7E E5 2A 78 */ xor r5, r23, r5 -/* 802D0B48 002CDAA8 48 06 6A 69 */ bl GetPoint__6CAABoxCFi -/* 802D0B4C 002CDAAC C8 3D 00 00 */ lfd f1, 0(r29) -/* 802D0B50 002CDAB0 7F 44 D3 78 */ mr r4, r26 -/* 802D0B54 002CDAB4 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0B58 002CDAB8 7F 85 E3 78 */ mr r5, r28 -/* 802D0B5C 002CDABC C0 61 00 D8 */ lfs f3, 0xd8(r1) -/* 802D0B60 002CDAC0 FC 20 08 18 */ frsp f1, f1 -/* 802D0B64 002CDAC4 C0 41 00 DC */ lfs f2, 0xdc(r1) -/* 802D0B68 002CDAC8 7F C7 F3 78 */ mr r7, r30 -/* 802D0B6C 002CDACC C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 802D0B70 002CDAD0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 802D0B74 002CDAD4 D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 802D0B78 002CDAD8 38 C1 00 14 */ addi r6, r1, 0x14 -/* 802D0B7C 002CDADC D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 802D0B80 002CDAE0 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 802D0B84 002CDAE4 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 802D0B88 002CDAE8 48 00 2F 81 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D0B8C 002CDAEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D0B90 002CDAF0 41 82 00 A8 */ beq lbl_802D0C38 -/* 802D0B94 002CDAF4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802D0B98 002CDAF8 38 61 00 BC */ addi r3, r1, 0xbc -/* 802D0B9C 002CDAFC 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 802D0BA0 002CDB00 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D0BA4 002CDB04 C0 3E 00 04 */ lfs f1, 4(r30) -/* 802D0BA8 002CDB08 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 802D0BAC 002CDB0C C0 7E 00 08 */ lfs f3, 8(r30) -/* 802D0BB0 002CDB10 C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 802D0BB4 002CDB14 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D0BB8 002CDB18 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0BBC 002CDB1C C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 802D0BC0 002CDB20 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D0BC4 002CDB24 D0 81 00 B4 */ stfs f4, 0xb4(r1) -/* 802D0BC8 002CDB28 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0BCC 002CDB2C D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 802D0BD0 002CDB30 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 802D0BD4 002CDB34 48 04 3C 7D */ bl AsNormalized__9CVector3fCFv -/* 802D0BD8 002CDB38 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 802D0BDC 002CDB3C 38 60 00 01 */ li r3, 1 -/* 802D0BE0 002CDB40 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D0BE4 002CDB44 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 802D0BE8 002CDB48 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D0BEC 002CDB4C C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 802D0BF0 002CDB50 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D0BF4 002CDB54 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0BF8 002CDB58 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D0BFC 002CDB5C C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D0C00 002CDB60 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D0C04 002CDB64 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0C08 002CDB68 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D0C0C 002CDB6C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D0C10 002CDB70 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0C14 002CDB74 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D0C18 002CDB78 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0C1C 002CDB7C C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D0C20 002CDB80 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D0C24 002CDB84 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D0C28 002CDB88 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0C2C 002CDB8C EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D0C30 002CDB90 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0C34 002CDB94 48 00 06 E4 */ b lbl_802D1318 -lbl_802D0C38: -/* 802D0C38 002CDB98 38 60 00 00 */ li r3, 0 -/* 802D0C3C 002CDB9C 48 00 06 DC */ b lbl_802D1318 -lbl_802D0C40: -/* 802D0C40 002CDBA0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802D0C44 002CDBA4 7F E3 FB 78 */ mr r3, r31 -/* 802D0C48 002CDBA8 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D0C4C 002CDBAC C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0C50 002CDBB0 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 802D0C54 002CDBB4 C0 9E 00 04 */ lfs f4, 4(r30) -/* 802D0C58 002CDBB8 C0 61 01 54 */ lfs f3, 0x154(r1) -/* 802D0C5C 002CDBBC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0C60 002CDBC0 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802D0C64 002CDBC4 C0 21 01 58 */ lfs f1, 0x158(r1) -/* 802D0C68 002CDBC8 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802D0C6C 002CDBCC D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D0C70 002CDBD0 EC 02 08 28 */ fsubs f0, f2, f1 -/* 802D0C74 002CDBD4 D0 7F 00 04 */ stfs f3, 4(r31) -/* 802D0C78 002CDBD8 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D0C7C 002CDBDC 7C DF 05 2E */ stfsx f6, r31, r0 -/* 802D0C80 002CDBE0 48 04 3C 79 */ bl Normalize__9CVector3fFv -/* 802D0C84 002CDBE4 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0C88 002CDBE8 38 60 00 01 */ li r3, 1 -/* 802D0C8C 002CDBEC C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D0C90 002CDBF0 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D0C94 002CDBF4 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D0C98 002CDBF8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0C9C 002CDBFC C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D0CA0 002CDC00 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D0CA4 002CDC04 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0CA8 002CDC08 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D0CAC 002CDC0C D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0CB0 002CDC10 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D0CB4 002CDC14 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D0CB8 002CDC18 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D0CBC 002CDC1C C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0CC0 002CDC20 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D0CC4 002CDC24 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0CC8 002CDC28 48 00 06 50 */ b lbl_802D1318 -lbl_802D0CCC: -/* 802D0CCC 002CDC2C 38 00 00 03 */ li r0, 3 -/* 802D0CD0 002CDC30 7F 84 E3 78 */ mr r4, r28 -/* 802D0CD4 002CDC34 7F 05 C3 78 */ mr r5, r24 -/* 802D0CD8 002CDC38 7F 66 DB 78 */ mr r6, r27 -/* 802D0CDC 002CDC3C 7F 47 D3 78 */ mr r7, r26 -/* 802D0CE0 002CDC40 C0 A2 C4 C4 */ lfs f5, lbl_805AE1E4@sda21(r2) -/* 802D0CE4 002CDC44 C0 82 C4 C8 */ lfs f4, lbl_805AE1E8@sda21(r2) -/* 802D0CE8 002CDC48 3B 20 00 00 */ li r25, 0 -/* 802D0CEC 002CDC4C 39 00 00 00 */ li r8, 0 -/* 802D0CF0 002CDC50 39 20 00 00 */ li r9, 0 -/* 802D0CF4 002CDC54 7C 09 03 A6 */ mtctr r0 -lbl_802D0CF8: -/* 802D0CF8 002CDC58 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D0CFC 002CDC5C FC 00 0A 10 */ fabs f0, f1 -/* 802D0D00 002CDC60 FC 00 00 18 */ frsp f0, f0 -/* 802D0D04 002CDC64 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 802D0D08 002CDC68 41 80 00 84 */ blt lbl_802D0D8C -/* 802D0D0C 002CDC6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D0D10 002CDC70 38 00 00 01 */ li r0, 1 -/* 802D0D14 002CDC74 7C 00 48 30 */ slw r0, r0, r9 -/* 802D0D18 002CDC78 7E E3 00 38 */ and r3, r23, r0 -/* 802D0D1C 002CDC7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0D20 002CDC80 7C 03 00 D0 */ neg r0, r3 -/* 802D0D24 002CDC84 7C 00 1B 78 */ or r0, r0, r3 -/* 802D0D28 002CDC88 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802D0D2C 002CDC8C 7C 00 00 26 */ mfcr r0 -/* 802D0D30 002CDC90 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D0D34 002CDC94 7C 03 00 40 */ cmplw r3, r0 -/* 802D0D38 002CDC98 41 82 00 54 */ beq lbl_802D0D8C -/* 802D0D3C 002CDC9C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -/* 802D0D40 002CDCA0 28 03 00 00 */ cmplwi r3, 0 -/* 802D0D44 002CDCA4 39 08 00 01 */ addi r8, r8, 1 -/* 802D0D48 002CDCA8 EC 60 08 24 */ fdivs f3, f0, f1 -/* 802D0D4C 002CDCAC 41 82 00 0C */ beq lbl_802D0D58 -/* 802D0D50 002CDCB0 C0 45 00 00 */ lfs f2, 0(r5) -/* 802D0D54 002CDCB4 48 00 00 08 */ b lbl_802D0D5C -lbl_802D0D58: -/* 802D0D58 002CDCB8 C0 46 00 00 */ lfs f2, 0(r6) -lbl_802D0D5C: -/* 802D0D5C 002CDCBC C0 27 00 00 */ lfs f1, 0(r7) -/* 802D0D60 002CDCC0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D0D64 002CDCC4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D0D68 002CDCC8 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802D0D6C 002CDCCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0D70 002CDCD0 40 80 00 0C */ bge lbl_802D0D7C -/* 802D0D74 002CDCD4 38 60 00 00 */ li r3, 0 -/* 802D0D78 002CDCD8 48 00 05 A0 */ b lbl_802D1318 -lbl_802D0D7C: -/* 802D0D7C 002CDCDC FC 01 28 40 */ fcmpo cr0, f1, f5 -/* 802D0D80 002CDCE0 40 80 00 0C */ bge lbl_802D0D8C -/* 802D0D84 002CDCE4 FC A0 08 90 */ fmr f5, f1 -/* 802D0D88 002CDCE8 7D 39 4B 78 */ mr r25, r9 -lbl_802D0D8C: -/* 802D0D8C 002CDCEC 38 84 00 04 */ addi r4, r4, 4 -/* 802D0D90 002CDCF0 38 A5 00 04 */ addi r5, r5, 4 -/* 802D0D94 002CDCF4 38 C6 00 04 */ addi r6, r6, 4 -/* 802D0D98 002CDCF8 38 E7 00 04 */ addi r7, r7, 4 -/* 802D0D9C 002CDCFC 39 29 00 01 */ addi r9, r9, 1 -/* 802D0DA0 002CDD00 42 00 FF 58 */ bdnz lbl_802D0CF8 -/* 802D0DA4 002CDD04 2C 08 00 02 */ cmpwi r8, 2 -/* 802D0DA8 002CDD08 40 80 00 0C */ bge lbl_802D0DB4 -/* 802D0DAC 002CDD0C 38 60 00 00 */ li r3, 0 -/* 802D0DB0 002CDD10 48 00 05 68 */ b lbl_802D1318 -lbl_802D0DB4: -/* 802D0DB4 002CDD14 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 802D0DB8 002CDD18 C0 7A 00 0C */ lfs f3, 0xc(r26) -/* 802D0DBC 002CDD1C 39 59 00 01 */ addi r10, r25, 1 -/* 802D0DC0 002CDD20 38 F9 00 02 */ addi r7, r25, 2 -/* 802D0DC4 002CDD24 38 03 55 56 */ addi r0, r3, 0x55555556@l -/* 802D0DC8 002CDD28 C0 41 01 50 */ lfs f2, 0x150(r1) -/* 802D0DCC 002CDD2C 7D 00 50 96 */ mulhw r8, r0, r10 -/* 802D0DD0 002CDD30 C0 21 01 54 */ lfs f1, 0x154(r1) -/* 802D0DD4 002CDD34 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 802D0DD8 002CDD38 7F 43 D3 78 */ mr r3, r26 -/* 802D0DDC 002CDD3C D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 802D0DE0 002CDD40 7F 84 E3 78 */ mr r4, r28 -/* 802D0DE4 002CDD44 7C C0 38 96 */ mulhw r6, r0, r7 -/* 802D0DE8 002CDD48 55 00 0F FE */ srwi r0, r8, 0x1f -/* 802D0DEC 002CDD4C D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 802D0DF0 002CDD50 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 802D0DF4 002CDD54 7D 28 02 14 */ add r9, r8, r0 -/* 802D0DF8 002CDD58 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 802D0DFC 002CDD5C 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 802D0E00 002CDD60 D0 61 00 AC */ stfs f3, 0xac(r1) -/* 802D0E04 002CDD64 7C 06 02 14 */ add r0, r6, r0 -/* 802D0E08 002CDD68 39 01 00 10 */ addi r8, r1, 0x10 -/* 802D0E0C 002CDD6C 1C C9 00 03 */ mulli r6, r9, 3 -/* 802D0E10 002CDD70 1C 00 00 03 */ mulli r0, r0, 3 -/* 802D0E14 002CDD74 7C C6 50 50 */ subf r6, r6, r10 -/* 802D0E18 002CDD78 7C E0 38 50 */ subf r7, r0, r7 -/* 802D0E1C 002CDD7C 48 00 05 11 */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf -/* 802D0E20 002CDD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D0E24 002CDD84 41 82 01 18 */ beq lbl_802D0F3C -/* 802D0E28 002CDD88 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 802D0E2C 002CDD8C C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) -/* 802D0E30 002CDD90 FC 07 30 40 */ fcmpo cr0, f7, f6 -/* 802D0E34 002CDD94 40 81 01 08 */ ble lbl_802D0F3C -/* 802D0E38 002CDD98 C8 1D 00 00 */ lfd f0, 0(r29) -/* 802D0E3C 002CDD9C FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 802D0E40 002CDDA0 40 80 00 FC */ bge lbl_802D0F3C -/* 802D0E44 002CDDA4 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D0E48 002CDDA8 57 20 10 3A */ slwi r0, r25, 2 -/* 802D0E4C 002CDDAC C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D0E50 002CDDB0 EC 07 00 32 */ fmuls f0, f7, f0 -/* 802D0E54 002CDDB4 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802D0E58 002CDDB8 C0 5C 00 08 */ lfs f2, 8(r28) -/* 802D0E5C 002CDDBC EC 87 00 F2 */ fmuls f4, f7, f3 -/* 802D0E60 002CDDC0 C0 BA 00 04 */ lfs f5, 4(r26) -/* 802D0E64 002CDDC4 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D0E68 002CDDC8 C0 7A 00 08 */ lfs f3, 8(r26) -/* 802D0E6C 002CDDCC EC 27 00 B2 */ fmuls f1, f7, f2 -/* 802D0E70 002CDDD0 EC 45 20 2A */ fadds f2, f5, f4 -/* 802D0E74 002CDDD4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0E78 002CDDD8 EC 03 08 2A */ fadds f0, f3, f1 -/* 802D0E7C 002CDDDC D0 5E 00 04 */ stfs f2, 4(r30) -/* 802D0E80 002CDDE0 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0E84 002CDDE4 7C 3E 04 2E */ lfsx f1, r30, r0 -/* 802D0E88 002CDDE8 7C 18 04 2E */ lfsx f0, r24, r0 -/* 802D0E8C 002CDDEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0E90 002CDDF0 40 81 00 0C */ ble lbl_802D0E9C -/* 802D0E94 002CDDF4 38 60 00 00 */ li r3, 0 -/* 802D0E98 002CDDF8 48 00 04 80 */ b lbl_802D1318 -lbl_802D0E9C: -/* 802D0E9C 002CDDFC 7C 1B 04 2E */ lfsx f0, r27, r0 -/* 802D0EA0 002CDE00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D0EA4 002CDE04 40 80 00 0C */ bge lbl_802D0EB0 -/* 802D0EA8 002CDE08 38 60 00 00 */ li r3, 0 -/* 802D0EAC 002CDE0C 48 00 04 6C */ b lbl_802D1318 -lbl_802D0EB0: -/* 802D0EB0 002CDE10 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802D0EB4 002CDE14 7F E3 FB 78 */ mr r3, r31 -/* 802D0EB8 002CDE18 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D0EBC 002CDE1C C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0EC0 002CDE20 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 802D0EC4 002CDE24 C0 9E 00 04 */ lfs f4, 4(r30) -/* 802D0EC8 002CDE28 C0 61 01 54 */ lfs f3, 0x154(r1) -/* 802D0ECC 002CDE2C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0ED0 002CDE30 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802D0ED4 002CDE34 C0 21 01 58 */ lfs f1, 0x158(r1) -/* 802D0ED8 002CDE38 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802D0EDC 002CDE3C D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D0EE0 002CDE40 EC 02 08 28 */ fsubs f0, f2, f1 -/* 802D0EE4 002CDE44 D0 7F 00 04 */ stfs f3, 4(r31) -/* 802D0EE8 002CDE48 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D0EEC 002CDE4C 7C DF 05 2E */ stfsx f6, r31, r0 -/* 802D0EF0 002CDE50 48 04 3A 09 */ bl Normalize__9CVector3fFv -/* 802D0EF4 002CDE54 C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D0EF8 002CDE58 38 60 00 01 */ li r3, 1 -/* 802D0EFC 002CDE5C C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D0F00 002CDE60 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D0F04 002CDE64 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D0F08 002CDE68 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D0F0C 002CDE6C C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D0F10 002CDE70 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D0F14 002CDE74 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D0F18 002CDE78 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D0F1C 002CDE7C D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D0F20 002CDE80 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D0F24 002CDE84 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D0F28 002CDE88 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D0F2C 002CDE8C C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D0F30 002CDE90 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D0F34 002CDE94 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D0F38 002CDE98 48 00 03 E0 */ b lbl_802D1318 -lbl_802D0F3C: -/* 802D0F3C 002CDE9C 38 60 00 00 */ li r3, 0 -/* 802D0F40 002CDEA0 48 00 03 D8 */ b lbl_802D1318 -lbl_802D0F44: -/* 802D0F44 002CDEA4 55 24 06 3F */ clrlwi. r4, r9, 0x18 -/* 802D0F48 002CDEA8 7C 17 03 78 */ mr r23, r0 -/* 802D0F4C 002CDEAC 41 82 00 08 */ beq lbl_802D0F54 -/* 802D0F50 002CDEB0 7C B7 2B 78 */ mr r23, r5 -lbl_802D0F54: -/* 802D0F54 002CDEB4 55 24 06 3F */ clrlwi. r4, r9, 0x18 -/* 802D0F58 002CDEB8 39 00 00 01 */ li r8, 1 -/* 802D0F5C 002CDEBC 7C C4 33 78 */ mr r4, r6 -/* 802D0F60 002CDEC0 7D 08 B8 30 */ slw r8, r8, r23 -/* 802D0F64 002CDEC4 41 82 00 08 */ beq lbl_802D0F6C -/* 802D0F68 002CDEC8 7C E4 3B 78 */ mr r4, r7 -lbl_802D0F6C: -/* 802D0F6C 002CDECC 54 86 06 3E */ clrlwi r6, r4, 0x18 -/* 802D0F70 002CDED0 55 24 06 3F */ clrlwi. r4, r9, 0x18 -/* 802D0F74 002CDED4 7C C8 31 D6 */ mullw r6, r8, r6 -/* 802D0F78 002CDED8 7C B9 2B 78 */ mr r25, r5 -/* 802D0F7C 002CDEDC 41 82 00 08 */ beq lbl_802D0F84 -/* 802D0F80 002CDEE0 7C 19 03 78 */ mr r25, r0 -lbl_802D0F84: -/* 802D0F84 002CDEE4 38 80 00 01 */ li r4, 1 -/* 802D0F88 002CDEE8 88 01 00 08 */ lbz r0, 8(r1) -/* 802D0F8C 002CDEEC 7C 83 18 30 */ slw r3, r4, r3 -/* 802D0F90 002CDEF0 7F 64 DB 78 */ mr r4, r27 -/* 802D0F94 002CDEF4 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802D0F98 002CDEF8 38 61 00 94 */ addi r3, r1, 0x94 -/* 802D0F9C 002CDEFC 7C D6 03 78 */ or r22, r6, r0 -/* 802D0FA0 002CDF00 7E C5 B3 78 */ mr r5, r22 -/* 802D0FA4 002CDF04 48 06 66 0D */ bl GetPoint__6CAABoxCFi -/* 802D0FA8 002CDF08 C0 7A 00 0C */ lfs f3, 0xc(r26) -/* 802D0FAC 002CDF0C 7F 43 D3 78 */ mr r3, r26 -/* 802D0FB0 002CDF10 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D0FB4 002CDF14 7F 84 E3 78 */ mr r4, r28 -/* 802D0FB8 002CDF18 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 802D0FBC 002CDF1C 7E E7 BB 78 */ mr r7, r23 -/* 802D0FC0 002CDF20 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 802D0FC4 002CDF24 38 A1 00 84 */ addi r5, r1, 0x84 -/* 802D0FC8 002CDF28 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 802D0FCC 002CDF2C 39 01 00 0C */ addi r8, r1, 0xc -/* 802D0FD0 002CDF30 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 802D0FD4 002CDF34 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 802D0FD8 002CDF38 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 802D0FDC 002CDF3C D0 61 00 90 */ stfs f3, 0x90(r1) -/* 802D0FE0 002CDF40 48 00 03 4D */ bl LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf -/* 802D0FE4 002CDF44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D0FE8 002CDF48 41 82 03 2C */ beq lbl_802D1314 -/* 802D0FEC 002CDF4C C0 E1 00 0C */ lfs f7, 0xc(r1) -/* 802D0FF0 002CDF50 C0 C2 C4 B8 */ lfs f6, lbl_805AE1D8@sda21(r2) -/* 802D0FF4 002CDF54 FC 07 30 40 */ fcmpo cr0, f7, f6 -/* 802D0FF8 002CDF58 40 81 03 1C */ ble lbl_802D1314 -/* 802D0FFC 002CDF5C C8 1D 00 00 */ lfd f0, 0(r29) -/* 802D1000 002CDF60 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 802D1004 002CDF64 40 80 03 10 */ bge lbl_802D1314 -/* 802D1008 002CDF68 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D100C 002CDF6C 57 37 10 3A */ slwi r23, r25, 2 -/* 802D1010 002CDF70 C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D1014 002CDF74 EC 07 00 32 */ fmuls f0, f7, f0 -/* 802D1018 002CDF78 C0 3A 00 00 */ lfs f1, 0(r26) -/* 802D101C 002CDF7C C0 5C 00 08 */ lfs f2, 8(r28) -/* 802D1020 002CDF80 EC 87 00 F2 */ fmuls f4, f7, f3 -/* 802D1024 002CDF84 C0 BA 00 04 */ lfs f5, 4(r26) -/* 802D1028 002CDF88 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D102C 002CDF8C C0 7A 00 08 */ lfs f3, 8(r26) -/* 802D1030 002CDF90 EC 27 00 B2 */ fmuls f1, f7, f2 -/* 802D1034 002CDF94 EC 45 20 2A */ fadds f2, f5, f4 -/* 802D1038 002CDF98 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D103C 002CDF9C EC 03 08 2A */ fadds f0, f3, f1 -/* 802D1040 002CDFA0 D0 5E 00 04 */ stfs f2, 4(r30) -/* 802D1044 002CDFA4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D1048 002CDFA8 7C 3E BC 2E */ lfsx f1, r30, r23 -/* 802D104C 002CDFAC 7C 18 BC 2E */ lfsx f0, r24, r23 -/* 802D1050 002CDFB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1054 002CDFB4 40 81 01 24 */ ble lbl_802D1178 -/* 802D1058 002CDFB8 38 00 00 01 */ li r0, 1 -/* 802D105C 002CDFBC 7F 64 DB 78 */ mr r4, r27 -/* 802D1060 002CDFC0 7C 00 C8 30 */ slw r0, r0, r25 -/* 802D1064 002CDFC4 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D1068 002CDFC8 7E C5 03 78 */ or r5, r22, r0 -/* 802D106C 002CDFCC 48 06 65 45 */ bl GetPoint__6CAABoxCFi -/* 802D1070 002CDFD0 38 61 01 80 */ addi r3, r1, 0x180 -/* 802D1074 002CDFD4 7C 3E BC 2E */ lfsx f1, r30, r23 -/* 802D1078 002CDFD8 7C 03 BC 2E */ lfsx f0, r3, r23 -/* 802D107C 002CDFDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1080 002CDFE0 40 80 00 F0 */ bge lbl_802D1170 -/* 802D1084 002CDFE4 C8 3D 00 00 */ lfd f1, 0(r29) -/* 802D1088 002CDFE8 7F 44 D3 78 */ mr r4, r26 -/* 802D108C 002CDFEC C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D1090 002CDFF0 7F 85 E3 78 */ mr r5, r28 -/* 802D1094 002CDFF4 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 802D1098 002CDFF8 FC 20 08 18 */ frsp f1, f1 -/* 802D109C 002CDFFC C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 802D10A0 002CE000 7F C7 F3 78 */ mr r7, r30 -/* 802D10A4 002CE004 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802D10A8 002CE008 38 61 00 68 */ addi r3, r1, 0x68 -/* 802D10AC 002CE00C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802D10B0 002CE010 38 C1 00 0C */ addi r6, r1, 0xc -/* 802D10B4 002CE014 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802D10B8 002CE018 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802D10BC 002CE01C D0 81 00 74 */ stfs f4, 0x74(r1) -/* 802D10C0 002CE020 48 00 2A 49 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D10C4 002CE024 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D10C8 002CE028 41 82 00 A8 */ beq lbl_802D1170 -/* 802D10CC 002CE02C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D10D0 002CE030 38 61 00 5C */ addi r3, r1, 0x5c -/* 802D10D4 002CE034 38 81 00 50 */ addi r4, r1, 0x50 -/* 802D10D8 002CE038 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D10DC 002CE03C C0 3E 00 04 */ lfs f1, 4(r30) -/* 802D10E0 002CE040 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 802D10E4 002CE044 C0 7E 00 08 */ lfs f3, 8(r30) -/* 802D10E8 002CE048 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 802D10EC 002CE04C EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D10F0 002CE050 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D10F4 002CE054 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 802D10F8 002CE058 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D10FC 002CE05C D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802D1100 002CE060 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D1104 002CE064 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802D1108 002CE068 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802D110C 002CE06C 48 04 37 45 */ bl AsNormalized__9CVector3fCFv -/* 802D1110 002CE070 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802D1114 002CE074 38 60 00 01 */ li r3, 1 -/* 802D1118 002CE078 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D111C 002CE07C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802D1120 002CE080 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D1124 002CE084 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802D1128 002CE088 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D112C 002CE08C C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D1130 002CE090 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D1134 002CE094 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D1138 002CE098 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D113C 002CE09C C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D1140 002CE0A0 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D1144 002CE0A4 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D1148 002CE0A8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D114C 002CE0AC EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D1150 002CE0B0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D1154 002CE0B4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D1158 002CE0B8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D115C 002CE0BC D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D1160 002CE0C0 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D1164 002CE0C4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D1168 002CE0C8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D116C 002CE0CC 48 00 01 AC */ b lbl_802D1318 -lbl_802D1170: -/* 802D1170 002CE0D0 38 60 00 00 */ li r3, 0 -/* 802D1174 002CE0D4 48 00 01 A4 */ b lbl_802D1318 -lbl_802D1178: -/* 802D1178 002CE0D8 7C 1B BC 2E */ lfsx f0, r27, r23 -/* 802D117C 002CE0DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1180 002CE0E0 40 80 01 08 */ bge lbl_802D1288 -/* 802D1184 002CE0E4 38 61 01 74 */ addi r3, r1, 0x174 -/* 802D1188 002CE0E8 7C 03 BC 2E */ lfsx f0, r3, r23 -/* 802D118C 002CE0EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1190 002CE0F0 40 81 00 F0 */ ble lbl_802D1280 -/* 802D1194 002CE0F4 C8 3D 00 00 */ lfd f1, 0(r29) -/* 802D1198 002CE0F8 7F 44 D3 78 */ mr r4, r26 -/* 802D119C 002CE0FC C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D11A0 002CE100 7F 85 E3 78 */ mr r5, r28 -/* 802D11A4 002CE104 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 802D11A8 002CE108 FC 20 08 18 */ frsp f1, f1 -/* 802D11AC 002CE10C C0 41 00 98 */ lfs f2, 0x98(r1) -/* 802D11B0 002CE110 7F C7 F3 78 */ mr r7, r30 -/* 802D11B4 002CE114 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 802D11B8 002CE118 38 61 00 40 */ addi r3, r1, 0x40 -/* 802D11BC 002CE11C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 802D11C0 002CE120 38 C1 00 0C */ addi r6, r1, 0xc -/* 802D11C4 002CE124 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802D11C8 002CE128 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 802D11CC 002CE12C D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802D11D0 002CE130 48 00 29 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D11D4 002CE134 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D11D8 002CE138 41 82 00 A8 */ beq lbl_802D1280 -/* 802D11DC 002CE13C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D11E0 002CE140 38 61 00 34 */ addi r3, r1, 0x34 -/* 802D11E4 002CE144 38 81 00 28 */ addi r4, r1, 0x28 -/* 802D11E8 002CE148 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D11EC 002CE14C C0 3E 00 04 */ lfs f1, 4(r30) -/* 802D11F0 002CE150 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 802D11F4 002CE154 C0 7E 00 08 */ lfs f3, 8(r30) -/* 802D11F8 002CE158 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 802D11FC 002CE15C EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D1200 002CE160 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D1204 002CE164 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 802D1208 002CE168 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D120C 002CE16C D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 802D1210 002CE170 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D1214 002CE174 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802D1218 002CE178 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D121C 002CE17C 48 04 36 35 */ bl AsNormalized__9CVector3fCFv -/* 802D1220 002CE180 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802D1224 002CE184 38 60 00 01 */ li r3, 1 -/* 802D1228 002CE188 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D122C 002CE18C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802D1230 002CE190 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802D1234 002CE194 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802D1238 002CE198 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D123C 002CE19C C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D1240 002CE1A0 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D1244 002CE1A4 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D1248 002CE1A8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D124C 002CE1AC C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D1250 002CE1B0 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D1254 002CE1B4 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D1258 002CE1B8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D125C 002CE1BC EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D1260 002CE1C0 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D1264 002CE1C4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D1268 002CE1C8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D126C 002CE1CC D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D1270 002CE1D0 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D1274 002CE1D4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D1278 002CE1D8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D127C 002CE1DC 48 00 00 9C */ b lbl_802D1318 -lbl_802D1280: -/* 802D1280 002CE1E0 38 60 00 00 */ li r3, 0 -/* 802D1284 002CE1E4 48 00 00 94 */ b lbl_802D1318 -lbl_802D1288: -/* 802D1288 002CE1E8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D128C 002CE1EC 7F E3 FB 78 */ mr r3, r31 -/* 802D1290 002CE1F0 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D1294 002CE1F4 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D1298 002CE1F8 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 802D129C 002CE1FC C0 9E 00 04 */ lfs f4, 4(r30) -/* 802D12A0 002CE200 C0 61 00 98 */ lfs f3, 0x98(r1) -/* 802D12A4 002CE204 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D12A8 002CE208 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802D12AC 002CE20C C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 802D12B0 002CE210 EC 64 18 28 */ fsubs f3, f4, f3 -/* 802D12B4 002CE214 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D12B8 002CE218 EC 02 08 28 */ fsubs f0, f2, f1 -/* 802D12BC 002CE21C D0 7F 00 04 */ stfs f3, 4(r31) -/* 802D12C0 002CE220 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D12C4 002CE224 7C DF BD 2E */ stfsx f6, r31, r23 -/* 802D12C8 002CE228 48 04 36 31 */ bl Normalize__9CVector3fFv -/* 802D12CC 002CE22C C0 9A 00 0C */ lfs f4, 0xc(r26) -/* 802D12D0 002CE230 38 60 00 01 */ li r3, 1 -/* 802D12D4 002CE234 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D12D8 002CE238 C0 7F 00 04 */ lfs f3, 4(r31) -/* 802D12DC 002CE23C EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D12E0 002CE240 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D12E4 002CE244 C0 5F 00 08 */ lfs f2, 8(r31) -/* 802D12E8 002CE248 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D12EC 002CE24C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D12F0 002CE250 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D12F4 002CE254 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D12F8 002CE258 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D12FC 002CE25C EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D1300 002CE260 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D1304 002CE264 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D1308 002CE268 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D130C 002CE26C D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D1310 002CE270 48 00 00 08 */ b lbl_802D1318 -lbl_802D1314: -/* 802D1314 002CE274 38 60 00 00 */ li r3, 0 -lbl_802D1318: -/* 802D1318 002CE278 BA C1 01 98 */ lmw r22, 0x198(r1) -/* 802D131C 002CE27C 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 802D1320 002CE280 7C 08 03 A6 */ mtlr r0 -/* 802D1324 002CE284 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 802D1328 002CE288 4E 80 00 20 */ blr - -.global LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf -LineCircleIntersection2d__13CollisionUtilFRC9CVector3fRC9CVector3fRC7CSphereiiRf: -/* 802D132C 002CE28C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802D1330 002CE290 7C 08 02 A6 */ mflr r0 -/* 802D1334 002CE294 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802D1338 002CE298 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802D133C 002CE29C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802D1340 002CE2A0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 802D1344 002CE2A4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 802D1348 002CE2A8 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 802D134C 002CE2AC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 802D1350 002CE2B0 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 802D1354 002CE2B4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 802D1358 002CE2B8 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 802D135C 002CE2BC 7C BC 2B 78 */ mr r28, r5 -/* 802D1360 002CE2C0 C0 03 00 04 */ lfs f0, 4(r3) -/* 802D1364 002CE2C4 C0 25 00 04 */ lfs f1, 4(r5) -/* 802D1368 002CE2C8 54 FF 10 3A */ slwi r31, r7, 2 -/* 802D136C 002CE2CC C0 65 00 08 */ lfs f3, 8(r5) -/* 802D1370 002CE2D0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 802D1374 002CE2D4 C0 43 00 08 */ lfs f2, 8(r3) -/* 802D1378 002CE2D8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D137C 002CE2DC C0 03 00 00 */ lfs f0, 0(r3) -/* 802D1380 002CE2E0 54 DE 10 3A */ slwi r30, r6, 2 -/* 802D1384 002CE2E4 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802D1388 002CE2E8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D138C 002CE2EC D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802D1390 002CE2F0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D1394 002CE2F4 7C 9B 23 78 */ mr r27, r4 -/* 802D1398 002CE2F8 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802D139C 002CE2FC 7D 1D 43 78 */ mr r29, r8 -/* 802D13A0 002CE300 38 61 00 2C */ addi r3, r1, 0x2c -/* 802D13A4 002CE304 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802D13A8 002CE308 7C 25 F4 2E */ lfsx f1, r5, r30 -/* 802D13AC 002CE30C 7C 45 FC 2E */ lfsx f2, r5, r31 -/* 802D13B0 002CE310 48 04 2E 51 */ bl __ct__9CVector2fFff -/* 802D13B4 002CE314 7C 3B F4 2E */ lfsx f1, r27, r30 -/* 802D13B8 002CE318 38 61 00 24 */ addi r3, r1, 0x24 -/* 802D13BC 002CE31C 7C 5B FC 2E */ lfsx f2, r27, r31 -/* 802D13C0 002CE320 48 04 2E 41 */ bl __ct__9CVector2fFff -/* 802D13C4 002CE324 38 61 00 24 */ addi r3, r1, 0x24 -/* 802D13C8 002CE328 48 04 2D 2D */ bl Magnitude__9CVector2fCFv -/* 802D13CC 002CE32C FC 40 08 18 */ frsp f2, f1 -/* 802D13D0 002CE330 C0 02 C4 C8 */ lfs f0, lbl_805AE1E8@sda21(r2) -/* 802D13D4 002CE334 D0 21 00 08 */ stfs f1, 8(r1) -/* 802D13D8 002CE338 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D13DC 002CE33C 40 80 00 0C */ bge lbl_802D13E8 -/* 802D13E0 002CE340 38 60 00 00 */ li r3, 0 -/* 802D13E4 002CE344 48 00 00 C8 */ b lbl_802D14AC -lbl_802D13E8: -/* 802D13E8 002CE348 7C 3B F4 2E */ lfsx f1, r27, r30 -/* 802D13EC 002CE34C 38 61 00 0C */ addi r3, r1, 0xc -/* 802D13F0 002CE350 7C 5B FC 2E */ lfsx f2, r27, r31 -/* 802D13F4 002CE354 48 04 2E 0D */ bl __ct__9CVector2fFff -/* 802D13F8 002CE358 7C 64 1B 78 */ mr r4, r3 -/* 802D13FC 002CE35C 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D1400 002CE360 38 A1 00 08 */ addi r5, r1, 8 -/* 802D1404 002CE364 48 04 2A 61 */ bl __dv__FRC9CVector2fRCf -/* 802D1408 002CE368 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802D140C 002CE36C 38 61 00 2C */ addi r3, r1, 0x2c -/* 802D1410 002CE370 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802D1414 002CE374 38 81 00 1C */ addi r4, r1, 0x1c -/* 802D1418 002CE378 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D141C 002CE37C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802D1420 002CE380 48 04 2B 89 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 802D1424 002CE384 FF C0 08 90 */ fmr f30, f1 -/* 802D1428 002CE388 38 61 00 2C */ addi r3, r1, 0x2c -/* 802D142C 002CE38C 7C 64 1B 78 */ mr r4, r3 -/* 802D1430 002CE390 EF BE 07 B2 */ fmuls f29, f30, f30 -/* 802D1434 002CE394 48 04 2B 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 802D1438 002CE398 C0 5C 00 0C */ lfs f2, 0xc(r28) -/* 802D143C 002CE39C FF E0 08 90 */ fmr f31, f1 -/* 802D1440 002CE3A0 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1444 002CE3A4 EF 82 00 B2 */ fmuls f28, f2, f2 -/* 802D1448 002CE3A8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 802D144C 002CE3AC 40 80 00 14 */ bge lbl_802D1460 -/* 802D1450 002CE3B0 FC 1F E0 40 */ fcmpo cr0, f31, f28 -/* 802D1454 002CE3B4 40 81 00 0C */ ble lbl_802D1460 -/* 802D1458 002CE3B8 38 60 00 00 */ li r3, 0 -/* 802D145C 002CE3BC 48 00 00 50 */ b lbl_802D14AC -lbl_802D1460: -/* 802D1460 002CE3C0 EC 3F E8 28 */ fsubs f1, f31, f29 -/* 802D1464 002CE3C4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1468 002CE3C8 EC 3C 08 28 */ fsubs f1, f28, f1 -/* 802D146C 002CE3CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1470 002CE3D0 40 80 00 0C */ bge lbl_802D147C -/* 802D1474 002CE3D4 38 60 00 00 */ li r3, 0 -/* 802D1478 002CE3D8 48 00 00 34 */ b lbl_802D14AC -lbl_802D147C: -/* 802D147C 002CE3DC 48 04 40 85 */ bl SqrtF__5CMathFf -/* 802D1480 002CE3E0 FC 1F E0 40 */ fcmpo cr0, f31, f28 -/* 802D1484 002CE3E4 40 81 00 0C */ ble lbl_802D1490 -/* 802D1488 002CE3E8 EC 1E 08 28 */ fsubs f0, f30, f1 -/* 802D148C 002CE3EC 48 00 00 08 */ b lbl_802D1494 -lbl_802D1490: -/* 802D1490 002CE3F0 EC 1E 08 2A */ fadds f0, f30, f1 -lbl_802D1494: -/* 802D1494 002CE3F4 D0 1D 00 00 */ stfs f0, 0(r29) -/* 802D1498 002CE3F8 38 60 00 01 */ li r3, 1 -/* 802D149C 002CE3FC C0 01 00 08 */ lfs f0, 8(r1) -/* 802D14A0 002CE400 C0 3D 00 00 */ lfs f1, 0(r29) -/* 802D14A4 002CE404 EC 01 00 24 */ fdivs f0, f1, f0 -/* 802D14A8 002CE408 D0 1D 00 00 */ stfs f0, 0(r29) -lbl_802D14AC: -/* 802D14AC 002CE40C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802D14B0 002CE410 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802D14B4 002CE414 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 802D14B8 002CE418 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 802D14BC 002CE41C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 802D14C0 002CE420 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 802D14C4 002CE424 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 802D14C8 002CE428 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 802D14CC 002CE42C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 802D14D0 002CE430 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802D14D4 002CE434 7C 08 03 A6 */ mtlr r0 -/* 802D14D8 002CE438 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802D14DC 002CE43C 4E 80 00 20 */ blr - -.global TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -TriBoxOverlap__13CollisionUtilFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: -/* 802D14E0 002CE440 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802D14E4 002CE444 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802D14E8 002CE448 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802D14EC 002CE44C DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802D14F0 002CE450 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802D14F4 002CE454 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 802D14F8 002CE458 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 802D14FC 002CE45C DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 802D1500 002CE460 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 802D1504 002CE464 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 802D1508 002CE468 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 802D150C 002CE46C DB 41 00 B0 */ stfd f26, 0xb0(r1) -/* 802D1510 002CE470 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 -/* 802D1514 002CE474 DB 21 00 A0 */ stfd f25, 0xa0(r1) -/* 802D1518 002CE478 F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0 -/* 802D151C 002CE47C DB 01 00 90 */ stfd f24, 0x90(r1) -/* 802D1520 002CE480 F3 01 00 98 */ psq_st f24, 152(r1), 0, qr0 -/* 802D1524 002CE484 DA E1 00 80 */ stfd f23, 0x80(r1) -/* 802D1528 002CE488 F2 E1 00 88 */ psq_st f23, 136(r1), 0, qr0 -/* 802D152C 002CE48C DA C1 00 70 */ stfd f22, 0x70(r1) -/* 802D1530 002CE490 F2 C1 00 78 */ psq_st f22, 120(r1), 0, qr0 -/* 802D1534 002CE494 DA A1 00 60 */ stfd f21, 0x60(r1) -/* 802D1538 002CE498 F2 A1 00 68 */ psq_st f21, 104(r1), 0, qr0 -/* 802D153C 002CE49C DA 81 00 50 */ stfd f20, 0x50(r1) -/* 802D1540 002CE4A0 F2 81 00 58 */ psq_st f20, 88(r1), 0, qr0 -/* 802D1544 002CE4A4 DA 61 00 40 */ stfd f19, 0x40(r1) -/* 802D1548 002CE4A8 F2 61 00 48 */ psq_st f19, 72(r1), 0, qr0 -/* 802D154C 002CE4AC DA 41 00 30 */ stfd f18, 0x30(r1) -/* 802D1550 002CE4B0 F2 41 00 38 */ psq_st f18, 56(r1), 0, qr0 -/* 802D1554 002CE4B4 C0 25 00 04 */ lfs f1, 4(r5) -/* 802D1558 002CE4B8 C0 A3 00 04 */ lfs f5, 4(r3) -/* 802D155C 002CE4BC C0 06 00 04 */ lfs f0, 4(r6) -/* 802D1560 002CE4C0 EC 61 28 28 */ fsubs f3, f1, f5 -/* 802D1564 002CE4C4 C0 45 00 00 */ lfs f2, 0(r5) -/* 802D1568 002CE4C8 EC C0 28 28 */ fsubs f6, f0, f5 -/* 802D156C 002CE4CC C1 03 00 00 */ lfs f8, 0(r3) -/* 802D1570 002CE4D0 C0 26 00 00 */ lfs f1, 0(r6) -/* 802D1574 002CE4D4 C0 07 00 04 */ lfs f0, 4(r7) -/* 802D1578 002CE4D8 ED 86 18 28 */ fsubs f12, f6, f3 -/* 802D157C 002CE4DC C0 85 00 08 */ lfs f4, 8(r5) -/* 802D1580 002CE4E0 ED 20 28 28 */ fsubs f9, f0, f5 -/* 802D1584 002CE4E4 C1 63 00 08 */ lfs f11, 8(r3) -/* 802D1588 002CE4E8 C0 E6 00 08 */ lfs f7, 8(r6) -/* 802D158C 002CE4EC EC 42 40 28 */ fsubs f2, f2, f8 -/* 802D1590 002CE4F0 C0 07 00 08 */ lfs f0, 8(r7) -/* 802D1594 002CE4F4 EC 84 58 28 */ fsubs f4, f4, f11 -/* 802D1598 002CE4F8 EC A1 40 28 */ fsubs f5, f1, f8 -/* 802D159C 002CE4FC C0 27 00 00 */ lfs f1, 0(r7) -/* 802D15A0 002CE500 ED 40 58 28 */ fsubs f10, f0, f11 -/* 802D15A4 002CE504 EC E7 58 28 */ fsubs f7, f7, f11 -/* 802D15A8 002CE508 ED 01 40 28 */ fsubs f8, f1, f8 -/* 802D15AC 002CE50C ED 65 10 28 */ fsubs f11, f5, f2 -/* 802D15B0 002CE510 ED A7 20 28 */ fsubs f13, f7, f4 -/* 802D15B4 002CE514 EC 2C 01 32 */ fmuls f1, f12, f4 -/* 802D15B8 002CE518 EC 0C 02 B2 */ fmuls f0, f12, f10 -/* 802D15BC 002CE51C FE E0 5A 10 */ fabs f23, f11 -/* 802D15C0 002CE520 FF 20 62 10 */ fabs f25, f12 -/* 802D15C4 002CE524 FE C0 6A 10 */ fabs f22, f13 -/* 802D15C8 002CE528 EC 2D 08 F8 */ fmsubs f1, f13, f3, f1 -/* 802D15CC 002CE52C EC 0D 02 78 */ fmsubs f0, f13, f9, f0 -/* 802D15D0 002CE530 EF E8 28 28 */ fsubs f31, f8, f5 -/* 802D15D4 002CE534 EF C9 30 28 */ fsubs f30, f9, f6 -/* 802D15D8 002CE538 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D15DC 002CE53C EF AA 38 28 */ fsubs f29, f10, f7 -/* 802D15E0 002CE540 EF 82 40 28 */ fsubs f28, f2, f8 -/* 802D15E4 002CE544 EF 63 48 28 */ fsubs f27, f3, f9 -/* 802D15E8 002CE548 EF 44 50 28 */ fsubs f26, f4, f10 -/* 802D15EC 002CE54C FF 00 B8 18 */ frsp f24, f23 -/* 802D15F0 002CE550 FF 20 C8 18 */ frsp f25, f25 -/* 802D15F4 002CE554 FE C0 B0 18 */ frsp f22, f22 -/* 802D15F8 002CE558 40 80 00 10 */ bge lbl_802D1608 -/* 802D15FC 002CE55C FE 40 08 90 */ fmr f18, f1 -/* 802D1600 002CE560 FE 60 00 90 */ fmr f19, f0 -/* 802D1604 002CE564 48 00 00 0C */ b lbl_802D1610 -lbl_802D1608: -/* 802D1608 002CE568 FE 40 00 90 */ fmr f18, f0 -/* 802D160C 002CE56C FE 60 08 90 */ fmr f19, f1 -lbl_802D1610: -/* 802D1610 002CE570 C2 84 00 08 */ lfs f20, 8(r4) -/* 802D1614 002CE574 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D1618 002CE578 EC 39 05 32 */ fmuls f1, f25, f20 -/* 802D161C 002CE57C EC 36 08 3A */ fmadds f1, f22, f0, f1 -/* 802D1620 002CE580 FC 12 08 40 */ fcmpo cr0, f18, f1 -/* 802D1624 002CE584 41 81 00 10 */ bgt lbl_802D1634 -/* 802D1628 002CE588 FC 20 08 50 */ fneg f1, f1 -/* 802D162C 002CE58C FC 13 08 40 */ fcmpo cr0, f19, f1 -/* 802D1630 002CE590 40 80 00 0C */ bge lbl_802D163C -lbl_802D1634: -/* 802D1634 002CE594 38 60 00 00 */ li r3, 0 -/* 802D1638 002CE598 48 00 04 F8 */ b lbl_802D1B30 -lbl_802D163C: -/* 802D163C 002CE59C FE A0 68 50 */ fneg f21, f13 -/* 802D1640 002CE5A0 EE EB 01 32 */ fmuls f23, f11, f4 -/* 802D1644 002CE5A4 EC 2B 02 B2 */ fmuls f1, f11, f10 -/* 802D1648 002CE5A8 EE F5 B8 BA */ fmadds f23, f21, f2, f23 -/* 802D164C 002CE5AC EE 55 0A 3A */ fmadds f18, f21, f8, f1 -/* 802D1650 002CE5B0 FC 17 90 40 */ fcmpo cr0, f23, f18 -/* 802D1654 002CE5B4 40 80 00 0C */ bge lbl_802D1660 -/* 802D1658 002CE5B8 FE 60 B8 90 */ fmr f19, f23 -/* 802D165C 002CE5BC 48 00 00 0C */ b lbl_802D1668 -lbl_802D1660: -/* 802D1660 002CE5C0 FE 60 90 90 */ fmr f19, f18 -/* 802D1664 002CE5C4 FE 40 B8 90 */ fmr f18, f23 -lbl_802D1668: -/* 802D1668 002CE5C8 EC 38 05 32 */ fmuls f1, f24, f20 -/* 802D166C 002CE5CC C2 84 00 00 */ lfs f20, 0(r4) -/* 802D1670 002CE5D0 EC 36 0D 3A */ fmadds f1, f22, f20, f1 -/* 802D1674 002CE5D4 FC 13 08 40 */ fcmpo cr0, f19, f1 -/* 802D1678 002CE5D8 41 81 00 10 */ bgt lbl_802D1688 -/* 802D167C 002CE5DC FC 20 08 50 */ fneg f1, f1 -/* 802D1680 002CE5E0 FC 12 08 40 */ fcmpo cr0, f18, f1 -/* 802D1684 002CE5E4 40 80 00 0C */ bge lbl_802D1690 -lbl_802D1688: -/* 802D1688 002CE5E8 38 60 00 00 */ li r3, 0 -/* 802D168C 002CE5EC 48 00 04 A4 */ b lbl_802D1B30 -lbl_802D1690: -/* 802D1690 002CE5F0 EE EB 01 B2 */ fmuls f23, f11, f6 -/* 802D1694 002CE5F4 EC 2B 02 72 */ fmuls f1, f11, f9 -/* 802D1698 002CE5F8 EE 6C B9 78 */ fmsubs f19, f12, f5, f23 -/* 802D169C 002CE5FC EE 4C 0A 38 */ fmsubs f18, f12, f8, f1 -/* 802D16A0 002CE600 FC 12 98 40 */ fcmpo cr0, f18, f19 -/* 802D16A4 002CE604 40 80 00 10 */ bge lbl_802D16B4 -/* 802D16A8 002CE608 FC 20 90 90 */ fmr f1, f18 -/* 802D16AC 002CE60C FE 40 98 90 */ fmr f18, f19 -/* 802D16B0 002CE610 48 00 00 08 */ b lbl_802D16B8 -lbl_802D16B4: -/* 802D16B4 002CE614 FC 20 98 90 */ fmr f1, f19 -lbl_802D16B8: -/* 802D16B8 002CE618 EC 18 00 32 */ fmuls f0, f24, f0 -/* 802D16BC 002CE61C EC 19 05 3A */ fmadds f0, f25, f20, f0 -/* 802D16C0 002CE620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D16C4 002CE624 41 81 00 10 */ bgt lbl_802D16D4 -/* 802D16C8 002CE628 FC 00 00 50 */ fneg f0, f0 -/* 802D16CC 002CE62C FC 12 00 40 */ fcmpo cr0, f18, f0 -/* 802D16D0 002CE630 40 80 00 0C */ bge lbl_802D16DC -lbl_802D16D4: -/* 802D16D4 002CE634 38 60 00 00 */ li r3, 0 -/* 802D16D8 002CE638 48 00 04 58 */ b lbl_802D1B30 -lbl_802D16DC: -/* 802D16DC 002CE63C EC 3E 01 32 */ fmuls f1, f30, f4 -/* 802D16E0 002CE640 EC 1E 02 B2 */ fmuls f0, f30, f10 -/* 802D16E4 002CE644 FE C0 FA 10 */ fabs f22, f31 -/* 802D16E8 002CE648 FE E0 F2 10 */ fabs f23, f30 -/* 802D16EC 002CE64C FF 00 EA 10 */ fabs f24, f29 -/* 802D16F0 002CE650 EC 3D 08 F8 */ fmsubs f1, f29, f3, f1 -/* 802D16F4 002CE654 EE 5D 02 78 */ fmsubs f18, f29, f9, f0 -/* 802D16F8 002CE658 FE C0 B0 18 */ frsp f22, f22 -/* 802D16FC 002CE65C FC 00 B8 18 */ frsp f0, f23 -/* 802D1700 002CE660 FC 01 90 40 */ fcmpo cr0, f1, f18 -/* 802D1704 002CE664 FF 20 C0 18 */ frsp f25, f24 -/* 802D1708 002CE668 40 80 00 0C */ bge lbl_802D1714 -/* 802D170C 002CE66C FE 60 08 90 */ fmr f19, f1 -/* 802D1710 002CE670 48 00 00 0C */ b lbl_802D171C -lbl_802D1714: -/* 802D1714 002CE674 FE 60 90 90 */ fmr f19, f18 -/* 802D1718 002CE678 FE 40 08 90 */ fmr f18, f1 -lbl_802D171C: -/* 802D171C 002CE67C C2 A4 00 08 */ lfs f21, 8(r4) -/* 802D1720 002CE680 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D1724 002CE684 EE E0 05 72 */ fmuls f23, f0, f21 -/* 802D1728 002CE688 EE 99 B8 7A */ fmadds f20, f25, f1, f23 -/* 802D172C 002CE68C FC 13 A0 40 */ fcmpo cr0, f19, f20 -/* 802D1730 002CE690 41 81 00 10 */ bgt lbl_802D1740 -/* 802D1734 002CE694 FE E0 A0 50 */ fneg f23, f20 -/* 802D1738 002CE698 FC 12 B8 40 */ fcmpo cr0, f18, f23 -/* 802D173C 002CE69C 40 80 00 0C */ bge lbl_802D1748 -lbl_802D1740: -/* 802D1740 002CE6A0 38 60 00 00 */ li r3, 0 -/* 802D1744 002CE6A4 48 00 03 EC */ b lbl_802D1B30 -lbl_802D1748: -/* 802D1748 002CE6A8 FE 80 E8 50 */ fneg f20, f29 -/* 802D174C 002CE6AC EF 1F 01 32 */ fmuls f24, f31, f4 -/* 802D1750 002CE6B0 EE FF 02 B2 */ fmuls f23, f31, f10 -/* 802D1754 002CE6B4 EF 14 C0 BA */ fmadds f24, f20, f2, f24 -/* 802D1758 002CE6B8 EE 54 BA 3A */ fmadds f18, f20, f8, f23 -/* 802D175C 002CE6BC FC 18 90 40 */ fcmpo cr0, f24, f18 -/* 802D1760 002CE6C0 40 80 00 0C */ bge lbl_802D176C -/* 802D1764 002CE6C4 FE 60 C0 90 */ fmr f19, f24 -/* 802D1768 002CE6C8 48 00 00 0C */ b lbl_802D1774 -lbl_802D176C: -/* 802D176C 002CE6CC FE 60 90 90 */ fmr f19, f18 -/* 802D1770 002CE6D0 FE 40 C0 90 */ fmr f18, f24 -lbl_802D1774: -/* 802D1774 002CE6D4 EE F6 05 72 */ fmuls f23, f22, f21 -/* 802D1778 002CE6D8 C2 84 00 00 */ lfs f20, 0(r4) -/* 802D177C 002CE6DC EE B9 BD 3A */ fmadds f21, f25, f20, f23 -/* 802D1780 002CE6E0 FC 13 A8 40 */ fcmpo cr0, f19, f21 -/* 802D1784 002CE6E4 41 81 00 10 */ bgt lbl_802D1794 -/* 802D1788 002CE6E8 FE E0 A8 50 */ fneg f23, f21 -/* 802D178C 002CE6EC FC 12 B8 40 */ fcmpo cr0, f18, f23 -/* 802D1790 002CE6F0 40 80 00 0C */ bge lbl_802D179C -lbl_802D1794: -/* 802D1794 002CE6F4 38 60 00 00 */ li r3, 0 -/* 802D1798 002CE6F8 48 00 03 98 */ b lbl_802D1B30 -lbl_802D179C: -/* 802D179C 002CE6FC EF 1F 00 F2 */ fmuls f24, f31, f3 -/* 802D17A0 002CE700 EE FF 01 B2 */ fmuls f23, f31, f6 -/* 802D17A4 002CE704 EE BE C0 B8 */ fmsubs f21, f30, f2, f24 -/* 802D17A8 002CE708 EE 5E B9 78 */ fmsubs f18, f30, f5, f23 -/* 802D17AC 002CE70C FC 15 90 40 */ fcmpo cr0, f21, f18 -/* 802D17B0 002CE710 40 80 00 0C */ bge lbl_802D17BC -/* 802D17B4 002CE714 FE E0 A8 90 */ fmr f23, f21 -/* 802D17B8 002CE718 48 00 00 0C */ b lbl_802D17C4 -lbl_802D17BC: -/* 802D17BC 002CE71C FE E0 90 90 */ fmr f23, f18 -/* 802D17C0 002CE720 FE 40 A8 90 */ fmr f18, f21 -lbl_802D17C4: -/* 802D17C4 002CE724 EC 36 00 72 */ fmuls f1, f22, f1 -/* 802D17C8 002CE728 EC 00 0D 3A */ fmadds f0, f0, f20, f1 -/* 802D17CC 002CE72C FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 802D17D0 002CE730 41 81 00 10 */ bgt lbl_802D17E0 -/* 802D17D4 002CE734 FC 00 00 50 */ fneg f0, f0 -/* 802D17D8 002CE738 FC 12 00 40 */ fcmpo cr0, f18, f0 -/* 802D17DC 002CE73C 40 80 00 0C */ bge lbl_802D17E8 -lbl_802D17E0: -/* 802D17E0 002CE740 38 60 00 00 */ li r3, 0 -/* 802D17E4 002CE744 48 00 03 4C */ b lbl_802D1B30 -lbl_802D17E8: -/* 802D17E8 002CE748 EC 3B 01 32 */ fmuls f1, f27, f4 -/* 802D17EC 002CE74C EC 1B 01 F2 */ fmuls f0, f27, f7 -/* 802D17F0 002CE750 FE C0 E2 10 */ fabs f22, f28 -/* 802D17F4 002CE754 FE E0 DA 10 */ fabs f23, f27 -/* 802D17F8 002CE758 FF 00 D2 10 */ fabs f24, f26 -/* 802D17FC 002CE75C EE 9A 08 F8 */ fmsubs f20, f26, f3, f1 -/* 802D1800 002CE760 EE 7A 01 B8 */ fmsubs f19, f26, f6, f0 -/* 802D1804 002CE764 FC 00 B0 18 */ frsp f0, f22 -/* 802D1808 002CE768 FC 20 B8 18 */ frsp f1, f23 -/* 802D180C 002CE76C FC 14 98 40 */ fcmpo cr0, f20, f19 -/* 802D1810 002CE770 FE C0 C0 18 */ frsp f22, f24 -/* 802D1814 002CE774 40 80 00 0C */ bge lbl_802D1820 -/* 802D1818 002CE778 FE A0 A0 90 */ fmr f21, f20 -/* 802D181C 002CE77C 48 00 00 0C */ b lbl_802D1828 -lbl_802D1820: -/* 802D1820 002CE780 FE A0 98 90 */ fmr f21, f19 -/* 802D1824 002CE784 FE 60 A0 90 */ fmr f19, f20 -lbl_802D1828: -/* 802D1828 002CE788 C3 24 00 08 */ lfs f25, 8(r4) -/* 802D182C 002CE78C C3 04 00 04 */ lfs f24, 4(r4) -/* 802D1830 002CE790 EE E1 06 72 */ fmuls f23, f1, f25 -/* 802D1834 002CE794 EE 56 BE 3A */ fmadds f18, f22, f24, f23 -/* 802D1838 002CE798 FC 15 90 40 */ fcmpo cr0, f21, f18 -/* 802D183C 002CE79C 41 81 00 10 */ bgt lbl_802D184C -/* 802D1840 002CE7A0 FE E0 90 50 */ fneg f23, f18 -/* 802D1844 002CE7A4 FC 13 B8 40 */ fcmpo cr0, f19, f23 -/* 802D1848 002CE7A8 40 80 00 0C */ bge lbl_802D1854 -lbl_802D184C: -/* 802D184C 002CE7AC 38 60 00 00 */ li r3, 0 -/* 802D1850 002CE7B0 48 00 02 E0 */ b lbl_802D1B30 -lbl_802D1854: -/* 802D1854 002CE7B4 FE 80 D0 50 */ fneg f20, f26 -/* 802D1858 002CE7B8 EF 5C 01 32 */ fmuls f26, f28, f4 -/* 802D185C 002CE7BC EE FC 01 F2 */ fmuls f23, f28, f7 -/* 802D1860 002CE7C0 EE B4 D0 BA */ fmadds f21, f20, f2, f26 -/* 802D1864 002CE7C4 EE 74 B9 7A */ fmadds f19, f20, f5, f23 -/* 802D1868 002CE7C8 FC 15 98 40 */ fcmpo cr0, f21, f19 -/* 802D186C 002CE7CC 40 80 00 0C */ bge lbl_802D1878 -/* 802D1870 002CE7D0 FF 40 A8 90 */ fmr f26, f21 -/* 802D1874 002CE7D4 48 00 00 0C */ b lbl_802D1880 -lbl_802D1878: -/* 802D1878 002CE7D8 FF 40 98 90 */ fmr f26, f19 -/* 802D187C 002CE7DC FE 60 A8 90 */ fmr f19, f21 -lbl_802D1880: -/* 802D1880 002CE7E0 EE E0 06 72 */ fmuls f23, f0, f25 -/* 802D1884 002CE7E4 C2 84 00 00 */ lfs f20, 0(r4) -/* 802D1888 002CE7E8 EE 56 BD 3A */ fmadds f18, f22, f20, f23 -/* 802D188C 002CE7EC FC 1A 90 40 */ fcmpo cr0, f26, f18 -/* 802D1890 002CE7F0 41 81 00 10 */ bgt lbl_802D18A0 -/* 802D1894 002CE7F4 FE E0 90 50 */ fneg f23, f18 -/* 802D1898 002CE7F8 FC 13 B8 40 */ fcmpo cr0, f19, f23 -/* 802D189C 002CE7FC 40 80 00 0C */ bge lbl_802D18A8 -lbl_802D18A0: -/* 802D18A0 002CE800 38 60 00 00 */ li r3, 0 -/* 802D18A4 002CE804 48 00 02 8C */ b lbl_802D1B30 -lbl_802D18A8: -/* 802D18A8 002CE808 EE FC 01 B2 */ fmuls f23, f28, f6 -/* 802D18AC 002CE80C EF 5C 02 72 */ fmuls f26, f28, f9 -/* 802D18B0 002CE810 EE 5B B9 78 */ fmsubs f18, f27, f5, f23 -/* 802D18B4 002CE814 EE BB D2 38 */ fmsubs f21, f27, f8, f26 -/* 802D18B8 002CE818 FC 15 90 40 */ fcmpo cr0, f21, f18 -/* 802D18BC 002CE81C 40 80 00 0C */ bge lbl_802D18C8 -/* 802D18C0 002CE820 FE C0 A8 90 */ fmr f22, f21 -/* 802D18C4 002CE824 48 00 00 0C */ b lbl_802D18D0 -lbl_802D18C8: -/* 802D18C8 002CE828 FE C0 90 90 */ fmr f22, f18 -/* 802D18CC 002CE82C FE 40 A8 90 */ fmr f18, f21 -lbl_802D18D0: -/* 802D18D0 002CE830 EC 00 06 32 */ fmuls f0, f0, f24 -/* 802D18D4 002CE834 EC 01 05 3A */ fmadds f0, f1, f20, f0 -/* 802D18D8 002CE838 FC 16 00 40 */ fcmpo cr0, f22, f0 -/* 802D18DC 002CE83C 41 81 00 10 */ bgt lbl_802D18EC -/* 802D18E0 002CE840 FC 00 00 50 */ fneg f0, f0 -/* 802D18E4 002CE844 FC 12 00 40 */ fcmpo cr0, f18, f0 -/* 802D18E8 002CE848 40 80 00 0C */ bge lbl_802D18F4 -lbl_802D18EC: -/* 802D18EC 002CE84C 38 60 00 00 */ li r3, 0 -/* 802D18F0 002CE850 48 00 02 40 */ b lbl_802D1B30 -lbl_802D18F4: -/* 802D18F4 002CE854 FC 20 10 90 */ fmr f1, f2 -/* 802D18F8 002CE858 FC 00 10 90 */ fmr f0, f2 -/* 802D18FC 002CE85C FC 05 10 40 */ fcmpo cr0, f5, f2 -/* 802D1900 002CE860 40 80 00 08 */ bge lbl_802D1908 -/* 802D1904 002CE864 FC 00 28 90 */ fmr f0, f5 -lbl_802D1908: -/* 802D1908 002CE868 FC 05 10 40 */ fcmpo cr0, f5, f2 -/* 802D190C 002CE86C 40 81 00 08 */ ble lbl_802D1914 -/* 802D1910 002CE870 FC 20 28 90 */ fmr f1, f5 -lbl_802D1914: -/* 802D1914 002CE874 FC 08 00 40 */ fcmpo cr0, f8, f0 -/* 802D1918 002CE878 40 80 00 08 */ bge lbl_802D1920 -/* 802D191C 002CE87C FC 00 40 90 */ fmr f0, f8 -lbl_802D1920: -/* 802D1920 002CE880 FC 08 08 40 */ fcmpo cr0, f8, f1 -/* 802D1924 002CE884 40 81 00 08 */ ble lbl_802D192C -/* 802D1928 002CE888 FC 20 40 90 */ fmr f1, f8 -lbl_802D192C: -/* 802D192C 002CE88C FC 00 A0 40 */ fcmpo cr0, f0, f20 -/* 802D1930 002CE890 41 81 00 10 */ bgt lbl_802D1940 -/* 802D1934 002CE894 FC 00 A0 50 */ fneg f0, f20 -/* 802D1938 002CE898 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D193C 002CE89C 40 80 00 0C */ bge lbl_802D1948 -lbl_802D1940: -/* 802D1940 002CE8A0 38 60 00 00 */ li r3, 0 -/* 802D1944 002CE8A4 48 00 01 EC */ b lbl_802D1B30 -lbl_802D1948: -/* 802D1948 002CE8A8 FC 20 18 90 */ fmr f1, f3 -/* 802D194C 002CE8AC FC 00 18 90 */ fmr f0, f3 -/* 802D1950 002CE8B0 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 802D1954 002CE8B4 40 80 00 08 */ bge lbl_802D195C -/* 802D1958 002CE8B8 FC 00 30 90 */ fmr f0, f6 -lbl_802D195C: -/* 802D195C 002CE8BC FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 802D1960 002CE8C0 40 81 00 08 */ ble lbl_802D1968 -/* 802D1964 002CE8C4 FC 20 30 90 */ fmr f1, f6 -lbl_802D1968: -/* 802D1968 002CE8C8 FC 09 00 40 */ fcmpo cr0, f9, f0 -/* 802D196C 002CE8CC 40 80 00 08 */ bge lbl_802D1974 -/* 802D1970 002CE8D0 FC 00 48 90 */ fmr f0, f9 -lbl_802D1974: -/* 802D1974 002CE8D4 FC 09 08 40 */ fcmpo cr0, f9, f1 -/* 802D1978 002CE8D8 40 81 00 08 */ ble lbl_802D1980 -/* 802D197C 002CE8DC FC 20 48 90 */ fmr f1, f9 -lbl_802D1980: -/* 802D1980 002CE8E0 FC 00 C0 40 */ fcmpo cr0, f0, f24 -/* 802D1984 002CE8E4 41 81 00 10 */ bgt lbl_802D1994 -/* 802D1988 002CE8E8 FC 00 C0 50 */ fneg f0, f24 -/* 802D198C 002CE8EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1990 002CE8F0 40 80 00 0C */ bge lbl_802D199C -lbl_802D1994: -/* 802D1994 002CE8F4 38 60 00 00 */ li r3, 0 -/* 802D1998 002CE8F8 48 00 01 98 */ b lbl_802D1B30 -lbl_802D199C: -/* 802D199C 002CE8FC FC 20 20 90 */ fmr f1, f4 -/* 802D19A0 002CE900 FC 00 20 90 */ fmr f0, f4 -/* 802D19A4 002CE904 FC 07 20 40 */ fcmpo cr0, f7, f4 -/* 802D19A8 002CE908 40 80 00 08 */ bge lbl_802D19B0 -/* 802D19AC 002CE90C FC 00 38 90 */ fmr f0, f7 -lbl_802D19B0: -/* 802D19B0 002CE910 FC 07 20 40 */ fcmpo cr0, f7, f4 -/* 802D19B4 002CE914 40 81 00 08 */ ble lbl_802D19BC -/* 802D19B8 002CE918 FC 20 38 90 */ fmr f1, f7 -lbl_802D19BC: -/* 802D19BC 002CE91C FC 0A 00 40 */ fcmpo cr0, f10, f0 -/* 802D19C0 002CE920 40 80 00 08 */ bge lbl_802D19C8 -/* 802D19C4 002CE924 FC 00 50 90 */ fmr f0, f10 -lbl_802D19C8: -/* 802D19C8 002CE928 FC 0A 08 40 */ fcmpo cr0, f10, f1 -/* 802D19CC 002CE92C 40 81 00 08 */ ble lbl_802D19D4 -/* 802D19D0 002CE930 FC 20 50 90 */ fmr f1, f10 -lbl_802D19D4: -/* 802D19D4 002CE934 FC 00 C8 40 */ fcmpo cr0, f0, f25 -/* 802D19D8 002CE938 41 81 00 10 */ bgt lbl_802D19E8 -/* 802D19DC 002CE93C FC 00 C8 50 */ fneg f0, f25 -/* 802D19E0 002CE940 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D19E4 002CE944 40 80 00 0C */ bge lbl_802D19F0 -lbl_802D19E8: -/* 802D19E8 002CE948 38 60 00 00 */ li r3, 0 -/* 802D19EC 002CE94C 48 00 01 44 */ b lbl_802D1B30 -lbl_802D19F0: -/* 802D19F0 002CE950 EC 2B 07 72 */ fmuls f1, f11, f29 -/* 802D19F4 002CE954 C0 A2 C4 B8 */ lfs f5, lbl_805AE1D8@sda21(r2) -/* 802D19F8 002CE958 EC CD 07 B2 */ fmuls f6, f13, f30 -/* 802D19FC 002CE95C EC 0C 07 F2 */ fmuls f0, f12, f31 -/* 802D1A00 002CE960 EC ED 0F F8 */ fmsubs f7, f13, f31, f1 -/* 802D1A04 002CE964 ED 0C 37 78 */ fmsubs f8, f12, f29, f6 -/* 802D1A08 002CE968 EC CB 07 B8 */ fmsubs f6, f11, f30, f0 -/* 802D1A0C 002CE96C EC 27 00 F2 */ fmuls f1, f7, f3 -/* 802D1A10 002CE970 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 802D1A14 002CE974 FC 00 40 18 */ frsp f0, f8 -/* 802D1A18 002CE978 D1 01 00 20 */ stfs f8, 0x20(r1) -/* 802D1A1C 002CE97C EC 28 08 BA */ fmadds f1, f8, f2, f1 -/* 802D1A20 002CE980 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 802D1A24 002CE984 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 802D1A28 002CE988 EC E6 09 3E */ fnmadds f7, f6, f4, f1 -/* 802D1A2C 002CE98C 40 81 00 18 */ ble lbl_802D1A44 -/* 802D1A30 002CE990 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D1A34 002CE994 FC 00 08 50 */ fneg f0, f1 -/* 802D1A38 002CE998 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802D1A3C 002CE99C D0 01 00 08 */ stfs f0, 8(r1) -/* 802D1A40 002CE9A0 48 00 00 14 */ b lbl_802D1A54 -lbl_802D1A44: -/* 802D1A44 002CE9A4 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D1A48 002CE9A8 FC 00 08 50 */ fneg f0, f1 -/* 802D1A4C 002CE9AC D0 21 00 08 */ stfs f1, 8(r1) -/* 802D1A50 002CE9B0 D0 01 00 14 */ stfs f0, 0x14(r1) -lbl_802D1A54: -/* 802D1A54 002CE9B4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802D1A58 002CE9B8 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 802D1A5C 002CE9BC 40 81 00 18 */ ble lbl_802D1A74 -/* 802D1A60 002CE9C0 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D1A64 002CE9C4 FC 00 08 50 */ fneg f0, f1 -/* 802D1A68 002CE9C8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D1A6C 002CE9CC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802D1A70 002CE9D0 48 00 00 14 */ b lbl_802D1A84 -lbl_802D1A74: -/* 802D1A74 002CE9D4 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D1A78 002CE9D8 FC 00 08 50 */ fneg f0, f1 -/* 802D1A7C 002CE9DC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802D1A80 002CE9E0 D0 01 00 18 */ stfs f0, 0x18(r1) -lbl_802D1A84: -/* 802D1A84 002CE9E4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802D1A88 002CE9E8 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 802D1A8C 002CE9EC 40 81 00 18 */ ble lbl_802D1AA4 -/* 802D1A90 002CE9F0 C0 24 00 08 */ lfs f1, 8(r4) -/* 802D1A94 002CE9F4 FC 00 08 50 */ fneg f0, f1 -/* 802D1A98 002CE9F8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D1A9C 002CE9FC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802D1AA0 002CEA00 48 00 00 14 */ b lbl_802D1AB4 -lbl_802D1AA4: -/* 802D1AA4 002CEA04 C0 24 00 08 */ lfs f1, 8(r4) -/* 802D1AA8 002CEA08 FC 00 08 50 */ fneg f0, f1 -/* 802D1AAC 002CEA0C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802D1AB0 002CEA10 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_802D1AB4: -/* 802D1AB4 002CEA14 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 802D1AB8 002CEA18 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D1ABC 002CEA1C C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 802D1AC0 002CEA20 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D1AC4 002CEA24 C0 21 00 08 */ lfs f1, 8(r1) -/* 802D1AC8 002CEA28 C0 C1 00 28 */ lfs f6, 0x28(r1) -/* 802D1ACC 002CEA2C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802D1AD0 002CEA30 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 802D1AD4 002CEA34 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) -/* 802D1AD8 002CEA38 EC 06 00 BA */ fmadds f0, f6, f2, f0 -/* 802D1ADC 002CEA3C EC 07 00 2A */ fadds f0, f7, f0 -/* 802D1AE0 002CEA40 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802D1AE4 002CEA44 40 81 00 0C */ ble lbl_802D1AF0 -/* 802D1AE8 002CEA48 38 60 00 00 */ li r3, 0 -/* 802D1AEC 002CEA4C 48 00 00 38 */ b lbl_802D1B24 -lbl_802D1AF0: -/* 802D1AF0 002CEA50 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 802D1AF4 002CEA54 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802D1AF8 002CEA58 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D1AFC 002CEA5C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802D1B00 002CEA60 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 802D1B04 002CEA64 EC 06 00 BA */ fmadds f0, f6, f2, f0 -/* 802D1B08 002CEA68 EC 07 00 2A */ fadds f0, f7, f0 -/* 802D1B0C 002CEA6C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802D1B10 002CEA70 4C 41 13 82 */ cror 2, 1, 2 -/* 802D1B14 002CEA74 40 82 00 0C */ bne lbl_802D1B20 -/* 802D1B18 002CEA78 38 60 00 01 */ li r3, 1 -/* 802D1B1C 002CEA7C 48 00 00 08 */ b lbl_802D1B24 -lbl_802D1B20: -/* 802D1B20 002CEA80 38 60 00 00 */ li r3, 0 -lbl_802D1B24: -/* 802D1B24 002CEA84 7C 03 00 D0 */ neg r0, r3 -/* 802D1B28 002CEA88 7C 00 1B 78 */ or r0, r0, r3 -/* 802D1B2C 002CEA8C 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_802D1B30: -/* 802D1B30 002CEA90 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802D1B34 002CEA94 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802D1B38 002CEA98 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 802D1B3C 002CEA9C CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 802D1B40 002CEAA0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 802D1B44 002CEAA4 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 802D1B48 002CEAA8 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 802D1B4C 002CEAAC CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 802D1B50 002CEAB0 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 802D1B54 002CEAB4 CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 802D1B58 002CEAB8 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 -/* 802D1B5C 002CEABC CB 41 00 B0 */ lfd f26, 0xb0(r1) -/* 802D1B60 002CEAC0 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0 -/* 802D1B64 002CEAC4 CB 21 00 A0 */ lfd f25, 0xa0(r1) -/* 802D1B68 002CEAC8 E3 01 00 98 */ psq_l f24, 152(r1), 0, qr0 -/* 802D1B6C 002CEACC CB 01 00 90 */ lfd f24, 0x90(r1) -/* 802D1B70 002CEAD0 E2 E1 00 88 */ psq_l f23, 136(r1), 0, qr0 -/* 802D1B74 002CEAD4 CA E1 00 80 */ lfd f23, 0x80(r1) -/* 802D1B78 002CEAD8 E2 C1 00 78 */ psq_l f22, 120(r1), 0, qr0 -/* 802D1B7C 002CEADC CA C1 00 70 */ lfd f22, 0x70(r1) -/* 802D1B80 002CEAE0 E2 A1 00 68 */ psq_l f21, 104(r1), 0, qr0 -/* 802D1B84 002CEAE4 CA A1 00 60 */ lfd f21, 0x60(r1) -/* 802D1B88 002CEAE8 E2 81 00 58 */ psq_l f20, 88(r1), 0, qr0 -/* 802D1B8C 002CEAEC CA 81 00 50 */ lfd f20, 0x50(r1) -/* 802D1B90 002CEAF0 E2 61 00 48 */ psq_l f19, 72(r1), 0, qr0 -/* 802D1B94 002CEAF4 CA 61 00 40 */ lfd f19, 0x40(r1) -/* 802D1B98 002CEAF8 E2 41 00 38 */ psq_l f18, 56(r1), 0, qr0 -/* 802D1B9C 002CEAFC CA 41 00 30 */ lfd f18, 0x30(r1) -/* 802D1BA0 002CEB00 38 21 01 10 */ addi r1, r1, 0x110 -/* 802D1BA4 002CEB04 4E 80 00 20 */ blr - -.global BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb -BoxLineTest__13CollisionUtilFRC6CAABoxRC9CVector3fRC9CVector3fRfRfRiRb: -/* 802D1BA8 002CEB08 C0 02 C4 CC */ lfs f0, lbl_805AE1EC@sda21(r2) -/* 802D1BAC 002CEB0C 38 00 00 03 */ li r0, 3 -/* 802D1BB0 002CEB10 39 43 00 0C */ addi r10, r3, 0xc -/* 802D1BB4 002CEB14 C0 42 C4 B8 */ lfs f2, lbl_805AE1D8@sda21(r2) -/* 802D1BB8 002CEB18 D0 06 00 00 */ stfs f0, 0(r6) -/* 802D1BBC 002CEB1C 39 60 00 00 */ li r11, 0 -/* 802D1BC0 002CEB20 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) -/* 802D1BC4 002CEB24 D0 07 00 00 */ stfs f0, 0(r7) -/* 802D1BC8 002CEB28 7C 09 03 A6 */ mtctr r0 -lbl_802D1BCC: -/* 802D1BCC 002CEB2C C0 85 00 00 */ lfs f4, 0(r5) -/* 802D1BD0 002CEB30 FC 02 20 00 */ fcmpu cr0, f2, f4 -/* 802D1BD4 002CEB34 40 82 00 28 */ bne lbl_802D1BFC -/* 802D1BD8 002CEB38 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D1BDC 002CEB3C C0 03 00 00 */ lfs f0, 0(r3) -/* 802D1BE0 002CEB40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1BE4 002CEB44 41 80 00 10 */ blt lbl_802D1BF4 -/* 802D1BE8 002CEB48 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802D1BEC 002CEB4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1BF0 002CEB50 40 81 00 90 */ ble lbl_802D1C80 -lbl_802D1BF4: -/* 802D1BF4 002CEB54 38 60 00 00 */ li r3, 0 -/* 802D1BF8 002CEB58 4E 80 00 20 */ blr -lbl_802D1BFC: -/* 802D1BFC 002CEB5C C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -/* 802D1C00 002CEB60 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 802D1C04 002CEB64 EC A0 20 24 */ fdivs f5, f0, f4 -/* 802D1C08 002CEB68 40 80 00 24 */ bge lbl_802D1C2C -/* 802D1C0C 002CEB6C C0 2A 00 00 */ lfs f1, 0(r10) -/* 802D1C10 002CEB70 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D1C14 002CEB74 C0 03 00 00 */ lfs f0, 0(r3) -/* 802D1C18 002CEB78 EC 21 18 28 */ fsubs f1, f1, f3 -/* 802D1C1C 002CEB7C EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D1C20 002CEB80 EC 25 00 72 */ fmuls f1, f5, f1 -/* 802D1C24 002CEB84 EC 65 00 32 */ fmuls f3, f5, f0 -/* 802D1C28 002CEB88 48 00 00 20 */ b lbl_802D1C48 -lbl_802D1C2C: -/* 802D1C2C 002CEB8C C0 23 00 00 */ lfs f1, 0(r3) -/* 802D1C30 002CEB90 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D1C34 002CEB94 C0 0A 00 00 */ lfs f0, 0(r10) -/* 802D1C38 002CEB98 EC 21 18 28 */ fsubs f1, f1, f3 -/* 802D1C3C 002CEB9C EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D1C40 002CEBA0 EC 25 00 72 */ fmuls f1, f5, f1 -/* 802D1C44 002CEBA4 EC 65 00 32 */ fmuls f3, f5, f0 -lbl_802D1C48: -/* 802D1C48 002CEBA8 C0 06 00 00 */ lfs f0, 0(r6) -/* 802D1C4C 002CEBAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1C50 002CEBB0 40 81 00 20 */ ble lbl_802D1C70 -/* 802D1C54 002CEBB4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1C58 002CEBB8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1C5C 002CEBBC 7C 00 00 26 */ mfcr r0 -/* 802D1C60 002CEBC0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802D1C64 002CEBC4 98 09 00 00 */ stb r0, 0(r9) -/* 802D1C68 002CEBC8 91 68 00 00 */ stw r11, 0(r8) -/* 802D1C6C 002CEBCC D0 26 00 00 */ stfs f1, 0(r6) -lbl_802D1C70: -/* 802D1C70 002CEBD0 C0 07 00 00 */ lfs f0, 0(r7) -/* 802D1C74 002CEBD4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D1C78 002CEBD8 40 80 00 08 */ bge lbl_802D1C80 -/* 802D1C7C 002CEBDC D0 67 00 00 */ stfs f3, 0(r7) -lbl_802D1C80: -/* 802D1C80 002CEBE0 38 A5 00 04 */ addi r5, r5, 4 -/* 802D1C84 002CEBE4 38 84 00 04 */ addi r4, r4, 4 -/* 802D1C88 002CEBE8 38 63 00 04 */ addi r3, r3, 4 -/* 802D1C8C 002CEBEC 39 4A 00 04 */ addi r10, r10, 4 -/* 802D1C90 002CEBF0 39 6B 00 01 */ addi r11, r11, 1 -/* 802D1C94 002CEBF4 42 00 FF 38 */ bdnz lbl_802D1BCC -/* 802D1C98 002CEBF8 C0 26 00 00 */ lfs f1, 0(r6) -/* 802D1C9C 002CEBFC C0 07 00 00 */ lfs f0, 0(r7) -/* 802D1CA0 002CEC00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1CA4 002CEC04 4C 40 13 82 */ cror 2, 0, 2 -/* 802D1CA8 002CEC08 7C 00 00 26 */ mfcr r0 -/* 802D1CAC 002CEC0C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 802D1CB0 002CEC10 4E 80 00 20 */ blr - -.global AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f -AABox_AABox_Moving__13CollisionUtilFRC6CAABoxRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f: -/* 802D1CB4 002CEC14 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802D1CB8 002CEC18 7C 08 02 A6 */ mflr r0 -/* 802D1CBC 002CEC1C C8 22 C4 D8 */ lfd f1, lbl_805AE1F8@sda21(r2) -/* 802D1CC0 002CEC20 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D1CC4 002CEC24 FC 40 08 90 */ fmr f2, f1 -/* 802D1CC8 002CEC28 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 802D1CCC 002CEC2C 7C 7A 1B 78 */ mr r26, r3 -/* 802D1CD0 002CEC30 FC 60 08 90 */ fmr f3, f1 -/* 802D1CD4 002CEC34 7C 9B 23 78 */ mr r27, r4 -/* 802D1CD8 002CEC38 7C BC 2B 78 */ mr r28, r5 -/* 802D1CDC 002CEC3C 7C DD 33 78 */ mr r29, r6 -/* 802D1CE0 002CEC40 7C FE 3B 78 */ mr r30, r7 -/* 802D1CE4 002CEC44 7D 1F 43 78 */ mr r31, r8 -/* 802D1CE8 002CEC48 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D1CEC 002CEC4C 48 04 28 B5 */ bl __ct__9CVector3dFddd -/* 802D1CF0 002CEC50 C8 22 C4 E0 */ lfd f1, lbl_805AE200@sda21(r2) -/* 802D1CF4 002CEC54 38 61 00 08 */ addi r3, r1, 8 -/* 802D1CF8 002CEC58 FC 40 08 90 */ fmr f2, f1 -/* 802D1CFC 002CEC5C FC 60 08 90 */ fmr f3, f1 -/* 802D1D00 002CEC60 48 04 28 A1 */ bl __ct__9CVector3dFddd -/* 802D1D04 002CEC64 38 00 00 03 */ li r0, 3 -/* 802D1D08 002CEC68 7F 84 E3 78 */ mr r4, r28 -/* 802D1D0C 002CEC6C 7F 65 DB 78 */ mr r5, r27 -/* 802D1D10 002CEC70 7F 46 D3 78 */ mr r6, r26 -/* 802D1D14 002CEC74 39 01 00 20 */ addi r8, r1, 0x20 -/* 802D1D18 002CEC78 39 21 00 08 */ addi r9, r1, 8 -/* 802D1D1C 002CEC7C C0 22 C4 C8 */ lfs f1, lbl_805AE1E8@sda21(r2) -/* 802D1D20 002CEC80 38 E0 00 00 */ li r7, 0 -/* 802D1D24 002CEC84 7C 09 03 A6 */ mtctr r0 -lbl_802D1D28: -/* 802D1D28 002CEC88 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D1D2C 002CEC8C FC 00 12 10 */ fabs f0, f2 -/* 802D1D30 002CEC90 FC 00 00 18 */ frsp f0, f0 -/* 802D1D34 002CEC94 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802D1D38 002CEC98 40 80 00 74 */ bge lbl_802D1DAC -/* 802D1D3C 002CEC9C C0 46 00 00 */ lfs f2, 0(r6) -/* 802D1D40 002CECA0 C0 65 00 00 */ lfs f3, 0(r5) -/* 802D1D44 002CECA4 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802D1D48 002CECA8 4C 41 13 82 */ cror 2, 1, 2 -/* 802D1D4C 002CECAC 40 82 00 18 */ bne lbl_802D1D64 -/* 802D1D50 002CECB0 7C 7B 3A 14 */ add r3, r27, r7 -/* 802D1D54 002CECB4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802D1D58 002CECB8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D1D5C 002CECBC 4C 40 13 82 */ cror 2, 0, 2 -/* 802D1D60 002CECC0 41 82 01 AC */ beq lbl_802D1F0C -lbl_802D1D64: -/* 802D1D64 002CECC4 7C 7A 3A 14 */ add r3, r26, r7 -/* 802D1D68 002CECC8 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 802D1D6C 002CECCC FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802D1D70 002CECD0 4C 41 13 82 */ cror 2, 1, 2 -/* 802D1D74 002CECD4 40 82 00 18 */ bne lbl_802D1D8C -/* 802D1D78 002CECD8 7C 7B 3A 14 */ add r3, r27, r7 -/* 802D1D7C 002CECDC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802D1D80 002CECE0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1D84 002CECE4 4C 40 13 82 */ cror 2, 0, 2 -/* 802D1D88 002CECE8 41 82 01 84 */ beq lbl_802D1F0C -lbl_802D1D8C: -/* 802D1D8C 002CECEC FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802D1D90 002CECF0 40 80 00 14 */ bge lbl_802D1DA4 -/* 802D1D94 002CECF4 7C 7B 3A 14 */ add r3, r27, r7 -/* 802D1D98 002CECF8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802D1D9C 002CECFC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1DA0 002CED00 41 81 01 6C */ bgt lbl_802D1F0C -lbl_802D1DA4: -/* 802D1DA4 002CED04 38 60 00 00 */ li r3, 0 -/* 802D1DA8 002CED08 48 00 02 F8 */ b lbl_802D20A0 -lbl_802D1DAC: -/* 802D1DAC 002CED0C 7D 5A 3A 14 */ add r10, r26, r7 -/* 802D1DB0 002CED10 C0 65 00 00 */ lfs f3, 0(r5) -/* 802D1DB4 002CED14 C0 AA 00 0C */ lfs f5, 0xc(r10) -/* 802D1DB8 002CED18 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 802D1DBC 002CED1C 40 80 00 20 */ bge lbl_802D1DDC -/* 802D1DC0 002CED20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1DC4 002CED24 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D1DC8 002CED28 40 81 00 14 */ ble lbl_802D1DDC -/* 802D1DCC 002CED2C EC 03 28 28 */ fsubs f0, f3, f5 -/* 802D1DD0 002CED30 EC 00 10 24 */ fdivs f0, f0, f2 -/* 802D1DD4 002CED34 D8 08 00 00 */ stfd f0, 0(r8) -/* 802D1DD8 002CED38 48 00 00 84 */ b lbl_802D1E5C -lbl_802D1DDC: -/* 802D1DDC 002CED3C 7C 7B 3A 14 */ add r3, r27, r7 -/* 802D1DE0 002CED40 C0 46 00 00 */ lfs f2, 0(r6) -/* 802D1DE4 002CED44 C0 C3 00 0C */ lfs f6, 0xc(r3) -/* 802D1DE8 002CED48 FC 06 10 40 */ fcmpo cr0, f6, f2 -/* 802D1DEC 002CED4C 40 80 00 24 */ bge lbl_802D1E10 -/* 802D1DF0 002CED50 C0 84 00 00 */ lfs f4, 0(r4) -/* 802D1DF4 002CED54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1DF8 002CED58 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1DFC 002CED5C 40 80 00 14 */ bge lbl_802D1E10 -/* 802D1E00 002CED60 EC 06 10 28 */ fsubs f0, f6, f2 -/* 802D1E04 002CED64 EC 00 20 24 */ fdivs f0, f0, f4 -/* 802D1E08 002CED68 D8 08 00 00 */ stfd f0, 0(r8) -/* 802D1E0C 002CED6C 48 00 00 50 */ b lbl_802D1E5C -lbl_802D1E10: -/* 802D1E10 002CED70 FC 06 10 40 */ fcmpo cr0, f6, f2 -/* 802D1E14 002CED74 40 81 00 24 */ ble lbl_802D1E38 -/* 802D1E18 002CED78 C0 84 00 00 */ lfs f4, 0(r4) -/* 802D1E1C 002CED7C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1E20 002CED80 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1E24 002CED84 40 80 00 14 */ bge lbl_802D1E38 -/* 802D1E28 002CED88 EC 06 10 28 */ fsubs f0, f6, f2 -/* 802D1E2C 002CED8C EC 00 20 24 */ fdivs f0, f0, f4 -/* 802D1E30 002CED90 D8 08 00 00 */ stfd f0, 0(r8) -/* 802D1E34 002CED94 48 00 00 28 */ b lbl_802D1E5C -lbl_802D1E38: -/* 802D1E38 002CED98 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 802D1E3C 002CED9C 40 81 00 20 */ ble lbl_802D1E5C -/* 802D1E40 002CEDA0 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D1E44 002CEDA4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1E48 002CEDA8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D1E4C 002CEDAC 40 81 00 10 */ ble lbl_802D1E5C -/* 802D1E50 002CEDB0 EC 03 28 28 */ fsubs f0, f3, f5 -/* 802D1E54 002CEDB4 EC 00 10 24 */ fdivs f0, f0, f2 -/* 802D1E58 002CEDB8 D8 08 00 00 */ stfd f0, 0(r8) -lbl_802D1E5C: -/* 802D1E5C 002CEDBC 7C 7B 3A 14 */ add r3, r27, r7 -/* 802D1E60 002CEDC0 C0 46 00 00 */ lfs f2, 0(r6) -/* 802D1E64 002CEDC4 C0 A3 00 0C */ lfs f5, 0xc(r3) -/* 802D1E68 002CEDC8 FC 05 10 40 */ fcmpo cr0, f5, f2 -/* 802D1E6C 002CEDCC 40 81 00 24 */ ble lbl_802D1E90 -/* 802D1E70 002CEDD0 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D1E74 002CEDD4 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1E78 002CEDD8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D1E7C 002CEDDC 40 81 00 14 */ ble lbl_802D1E90 -/* 802D1E80 002CEDE0 EC 05 10 28 */ fsubs f0, f5, f2 -/* 802D1E84 002CEDE4 EC 00 18 24 */ fdivs f0, f0, f3 -/* 802D1E88 002CEDE8 D8 09 00 00 */ stfd f0, 0(r9) -/* 802D1E8C 002CEDEC 48 00 00 80 */ b lbl_802D1F0C -lbl_802D1E90: -/* 802D1E90 002CEDF0 C0 CA 00 0C */ lfs f6, 0xc(r10) -/* 802D1E94 002CEDF4 C0 65 00 00 */ lfs f3, 0(r5) -/* 802D1E98 002CEDF8 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 802D1E9C 002CEDFC 40 81 00 24 */ ble lbl_802D1EC0 -/* 802D1EA0 002CEE00 C0 84 00 00 */ lfs f4, 0(r4) -/* 802D1EA4 002CEE04 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1EA8 002CEE08 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1EAC 002CEE0C 40 80 00 14 */ bge lbl_802D1EC0 -/* 802D1EB0 002CEE10 EC 03 30 28 */ fsubs f0, f3, f6 -/* 802D1EB4 002CEE14 EC 00 20 24 */ fdivs f0, f0, f4 -/* 802D1EB8 002CEE18 D8 09 00 00 */ stfd f0, 0(r9) -/* 802D1EBC 002CEE1C 48 00 00 50 */ b lbl_802D1F0C -lbl_802D1EC0: -/* 802D1EC0 002CEE20 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 802D1EC4 002CEE24 40 80 00 24 */ bge lbl_802D1EE8 -/* 802D1EC8 002CEE28 C0 84 00 00 */ lfs f4, 0(r4) -/* 802D1ECC 002CEE2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1ED0 002CEE30 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D1ED4 002CEE34 40 80 00 14 */ bge lbl_802D1EE8 -/* 802D1ED8 002CEE38 EC 03 30 28 */ fsubs f0, f3, f6 -/* 802D1EDC 002CEE3C EC 00 20 24 */ fdivs f0, f0, f4 -/* 802D1EE0 002CEE40 D8 09 00 00 */ stfd f0, 0(r9) -/* 802D1EE4 002CEE44 48 00 00 28 */ b lbl_802D1F0C -lbl_802D1EE8: -/* 802D1EE8 002CEE48 FC 05 10 40 */ fcmpo cr0, f5, f2 -/* 802D1EEC 002CEE4C 40 80 00 20 */ bge lbl_802D1F0C -/* 802D1EF0 002CEE50 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D1EF4 002CEE54 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1EF8 002CEE58 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D1EFC 002CEE5C 40 81 00 10 */ ble lbl_802D1F0C -/* 802D1F00 002CEE60 EC 05 10 28 */ fsubs f0, f5, f2 -/* 802D1F04 002CEE64 EC 00 18 24 */ fdivs f0, f0, f3 -/* 802D1F08 002CEE68 D8 09 00 00 */ stfd f0, 0(r9) -lbl_802D1F0C: -/* 802D1F0C 002CEE6C 38 84 00 04 */ addi r4, r4, 4 -/* 802D1F10 002CEE70 38 A5 00 04 */ addi r5, r5, 4 -/* 802D1F14 002CEE74 38 C6 00 04 */ addi r6, r6, 4 -/* 802D1F18 002CEE78 38 E7 00 04 */ addi r7, r7, 4 -/* 802D1F1C 002CEE7C 39 08 00 08 */ addi r8, r8, 8 -/* 802D1F20 002CEE80 39 29 00 08 */ addi r9, r9, 8 -/* 802D1F24 002CEE84 42 00 FE 04 */ bdnz lbl_802D1D28 -/* 802D1F28 002CEE88 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 802D1F2C 002CEE8C 38 A0 00 00 */ li r5, 0 -/* 802D1F30 002CEE90 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 802D1F34 002CEE94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1F38 002CEE98 40 81 00 08 */ ble lbl_802D1F40 -/* 802D1F3C 002CEE9C 38 A0 00 01 */ li r5, 1 -lbl_802D1F40: -/* 802D1F40 002CEEA0 54 A0 18 38 */ slwi r0, r5, 3 -/* 802D1F44 002CEEA4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D1F48 002CEEA8 C8 21 00 30 */ lfd f1, 0x30(r1) -/* 802D1F4C 002CEEAC 7C 03 04 AE */ lfdx f0, r3, r0 -/* 802D1F50 002CEEB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1F54 002CEEB4 40 81 00 08 */ ble lbl_802D1F5C -/* 802D1F58 002CEEB8 38 A0 00 02 */ li r5, 2 -lbl_802D1F5C: -/* 802D1F5C 002CEEBC C8 21 00 18 */ lfd f1, 0x18(r1) -/* 802D1F60 002CEEC0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D1F64 002CEEC4 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802D1F68 002CEEC8 38 01 00 10 */ addi r0, r1, 0x10 -/* 802D1F6C 002CEECC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1F70 002CEED0 40 80 00 08 */ bge lbl_802D1F78 -/* 802D1F74 002CEED4 48 00 00 08 */ b lbl_802D1F7C -lbl_802D1F78: -/* 802D1F78 002CEED8 7C 03 03 78 */ mr r3, r0 -lbl_802D1F7C: -/* 802D1F7C 002CEEDC C8 23 00 00 */ lfd f1, 0(r3) -/* 802D1F80 002CEEE0 C8 01 00 08 */ lfd f0, 8(r1) -/* 802D1F84 002CEEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1F88 002CEEE8 40 80 00 08 */ bge lbl_802D1F90 -/* 802D1F8C 002CEEEC 48 00 00 08 */ b lbl_802D1F94 -lbl_802D1F90: -/* 802D1F90 002CEEF0 38 61 00 08 */ addi r3, r1, 8 -lbl_802D1F94: -/* 802D1F94 002CEEF4 54 A0 18 38 */ slwi r0, r5, 3 -/* 802D1F98 002CEEF8 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D1F9C 002CEEFC 7C 24 04 AE */ lfdx f1, r4, r0 -/* 802D1FA0 002CEF00 C8 03 00 00 */ lfd f0, 0(r3) -/* 802D1FA4 002CEF04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1FA8 002CEF08 40 81 00 0C */ ble lbl_802D1FB4 -/* 802D1FAC 002CEF0C 38 60 00 00 */ li r3, 0 -/* 802D1FB0 002CEF10 48 00 00 F0 */ b lbl_802D20A0 -lbl_802D1FB4: -/* 802D1FB4 002CEF14 D8 3D 00 00 */ stfd f1, 0(r29) -/* 802D1FB8 002CEF18 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D1FBC 002CEF1C 54 A0 10 3A */ slwi r0, r5, 2 -/* 802D1FC0 002CEF20 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1FC4 002CEF24 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 802D1FC8 002CEF28 D0 3F 00 00 */ stfs f1, 0(r31) -/* 802D1FCC 002CEF2C C0 23 00 04 */ lfs f1, 4(r3) -/* 802D1FD0 002CEF30 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802D1FD4 002CEF34 C0 23 00 08 */ lfs f1, 8(r3) -/* 802D1FD8 002CEF38 D0 3F 00 08 */ stfs f1, 8(r31) -/* 802D1FDC 002CEF3C 7C 3C 04 2E */ lfsx f1, r28, r0 -/* 802D1FE0 002CEF40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D1FE4 002CEF44 40 81 00 0C */ ble lbl_802D1FF0 -/* 802D1FE8 002CEF48 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) -/* 802D1FEC 002CEF4C 48 00 00 08 */ b lbl_802D1FF4 -lbl_802D1FF0: -/* 802D1FF0 002CEF50 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -lbl_802D1FF4: -/* 802D1FF4 002CEF54 7C 1F 05 2E */ stfsx f0, r31, r0 -/* 802D1FF8 002CEF58 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D1FFC 002CEF5C C0 3C 00 00 */ lfs f1, 0(r28) -/* 802D2000 002CEF60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2004 002CEF64 40 81 00 0C */ ble lbl_802D2010 -/* 802D2008 002CEF68 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 802D200C 002CEF6C 48 00 00 08 */ b lbl_802D2014 -lbl_802D2010: -/* 802D2010 002CEF70 C0 1A 00 00 */ lfs f0, 0(r26) -lbl_802D2014: -/* 802D2014 002CEF74 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D2018 002CEF78 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D201C 002CEF7C C0 3C 00 04 */ lfs f1, 4(r28) -/* 802D2020 002CEF80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2024 002CEF84 40 81 00 0C */ ble lbl_802D2030 -/* 802D2028 002CEF88 C0 1A 00 10 */ lfs f0, 0x10(r26) -/* 802D202C 002CEF8C 48 00 00 08 */ b lbl_802D2034 -lbl_802D2030: -/* 802D2030 002CEF90 C0 1A 00 04 */ lfs f0, 4(r26) -lbl_802D2034: -/* 802D2034 002CEF94 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D2038 002CEF98 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D203C 002CEF9C C0 3C 00 08 */ lfs f1, 8(r28) -/* 802D2040 002CEFA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2044 002CEFA4 40 81 00 0C */ ble lbl_802D2050 -/* 802D2048 002CEFA8 C0 1A 00 14 */ lfs f0, 0x14(r26) -/* 802D204C 002CEFAC 48 00 00 08 */ b lbl_802D2054 -lbl_802D2050: -/* 802D2050 002CEFB0 C0 1A 00 08 */ lfs f0, 8(r26) -lbl_802D2054: -/* 802D2054 002CEFB4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D2058 002CEFB8 38 60 00 01 */ li r3, 1 -/* 802D205C 002CEFBC C8 9D 00 00 */ lfd f4, 0(r29) -/* 802D2060 002CEFC0 C0 1C 00 00 */ lfs f0, 0(r28) -/* 802D2064 002CEFC4 FC 80 20 18 */ frsp f4, f4 -/* 802D2068 002CEFC8 C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D206C 002CEFCC C0 5C 00 08 */ lfs f2, 8(r28) -/* 802D2070 002CEFD0 C0 3E 00 00 */ lfs f1, 0(r30) -/* 802D2074 002CEFD4 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D2078 002CEFD8 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802D207C 002CEFDC EC 44 00 B2 */ fmuls f2, f4, f2 -/* 802D2080 002CEFE0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D2084 002CEFE4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D2088 002CEFE8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D208C 002CEFEC EC 00 18 2A */ fadds f0, f0, f3 -/* 802D2090 002CEFF0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D2094 002CEFF4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 802D2098 002CEFF8 EC 00 10 2A */ fadds f0, f0, f2 -/* 802D209C 002CEFFC D0 1E 00 08 */ stfs f0, 8(r30) -lbl_802D20A0: -/* 802D20A0 002CF000 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 802D20A4 002CF004 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D20A8 002CF008 7C 08 03 A6 */ mtlr r0 -/* 802D20AC 002CF00C 38 21 00 50 */ addi r1, r1, 0x50 -/* 802D20B0 002CF010 4E 80 00 20 */ blr - -.global AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList -AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList: -/* 802D20B4 002CF014 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802D20B8 002CF018 7C 08 02 A6 */ mflr r0 -/* 802D20BC 002CF01C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D20C0 002CF020 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802D20C4 002CF024 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802D20C8 002CF028 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802D20CC 002CF02C 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 802D20D0 002CF030 7C 7D 1B 78 */ mr r29, r3 -/* 802D20D4 002CF034 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 802D20D8 002CF038 7C 9C 23 78 */ mr r28, r4 -/* 802D20DC 002CF03C 83 E3 00 00 */ lwz r31, 0(r3) -/* 802D20E0 002CF040 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802D20E4 002CF044 2C 1F 00 01 */ cmpwi r31, 1 -/* 802D20E8 002CF048 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802D20EC 002CF04C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D20F0 002CF050 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D20F4 002CF054 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802D20F8 002CF058 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D20FC 002CF05C 40 81 02 00 */ ble lbl_802D22FC -/* 802D2100 002CF060 2C 1F 00 00 */ cmpwi r31, 0 -/* 802D2104 002CF064 7F E3 FB 78 */ mr r3, r31 -/* 802D2108 002CF068 38 9D 00 04 */ addi r4, r29, 4 -/* 802D210C 002CF06C 40 81 01 4C */ ble lbl_802D2258 -/* 802D2110 002CF070 57 E0 F8 7F */ rlwinm. r0, r31, 0x1f, 1, 0x1f -/* 802D2114 002CF074 7C 09 03 A6 */ mtctr r0 -/* 802D2118 002CF078 41 82 00 D4 */ beq lbl_802D21EC -lbl_802D211C: -/* 802D211C 002CF07C C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802D2120 002CF080 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D2124 002CF084 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 802D2128 002CF088 ED 44 10 2A */ fadds f10, f4, f2 -/* 802D212C 002CF08C C0 24 00 04 */ lfs f1, 4(r4) -/* 802D2130 002CF090 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 802D2134 002CF094 ED 25 08 2A */ fadds f9, f5, f1 -/* 802D2138 002CF098 C0 44 00 08 */ lfs f2, 8(r4) -/* 802D213C 002CF09C C0 E1 00 20 */ lfs f7, 0x20(r1) -/* 802D2140 002CF0A0 ED 04 10 2A */ fadds f8, f4, f2 -/* 802D2144 002CF0A4 C0 24 00 48 */ lfs f1, 0x48(r4) -/* 802D2148 002CF0A8 C0 A1 00 24 */ lfs f5, 0x24(r1) -/* 802D214C 002CF0AC EC C7 08 2A */ fadds f6, f7, f1 -/* 802D2150 002CF0B0 C0 84 00 4C */ lfs f4, 0x4c(r4) -/* 802D2154 002CF0B4 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802D2158 002CF0B8 EC 65 20 2A */ fadds f3, f5, f4 -/* 802D215C 002CF0BC C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802D2160 002CF0C0 FC 80 50 18 */ frsp f4, f10 -/* 802D2164 002CF0C4 EC 02 08 2A */ fadds f0, f2, f1 -/* 802D2168 002CF0C8 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 802D216C 002CF0CC D1 41 00 14 */ stfs f10, 0x14(r1) -/* 802D2170 002CF0D0 ED 44 10 2A */ fadds f10, f4, f2 -/* 802D2174 002CF0D4 C0 24 00 64 */ lfs f1, 0x64(r4) -/* 802D2178 002CF0D8 FC A0 48 18 */ frsp f5, f9 -/* 802D217C 002CF0DC D1 21 00 18 */ stfs f9, 0x18(r1) -/* 802D2180 002CF0E0 FC 80 40 18 */ frsp f4, f8 -/* 802D2184 002CF0E4 FC E0 30 18 */ frsp f7, f6 -/* 802D2188 002CF0E8 ED 25 08 2A */ fadds f9, f5, f1 -/* 802D218C 002CF0EC C0 44 00 68 */ lfs f2, 0x68(r4) -/* 802D2190 002CF0F0 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 802D2194 002CF0F4 FC A0 18 18 */ frsp f5, f3 -/* 802D2198 002CF0F8 ED 04 10 2A */ fadds f8, f4, f2 -/* 802D219C 002CF0FC C0 24 00 A8 */ lfs f1, 0xa8(r4) -/* 802D21A0 002CF100 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 802D21A4 002CF104 FC 40 00 18 */ frsp f2, f0 -/* 802D21A8 002CF108 EC C7 08 2A */ fadds f6, f7, f1 -/* 802D21AC 002CF10C C0 84 00 AC */ lfs f4, 0xac(r4) -/* 802D21B0 002CF110 C0 24 00 B0 */ lfs f1, 0xb0(r4) -/* 802D21B4 002CF114 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 802D21B8 002CF118 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802D21BC 002CF11C EC 65 20 2A */ fadds f3, f5, f4 -/* 802D21C0 002CF120 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D21C4 002CF124 EC 02 08 2A */ fadds f0, f2, f1 -/* 802D21C8 002CF128 D1 41 00 14 */ stfs f10, 0x14(r1) -/* 802D21CC 002CF12C D1 21 00 18 */ stfs f9, 0x18(r1) -/* 802D21D0 002CF130 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 802D21D4 002CF134 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 802D21D8 002CF138 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802D21DC 002CF13C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D21E0 002CF140 42 00 FF 3C */ bdnz lbl_802D211C -/* 802D21E4 002CF144 70 63 00 01 */ andi. r3, r3, 1 -/* 802D21E8 002CF148 41 82 00 70 */ beq lbl_802D2258 -lbl_802D21EC: -/* 802D21EC 002CF14C 7C 69 03 A6 */ mtctr r3 -lbl_802D21F0: -/* 802D21F0 002CF150 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802D21F4 002CF154 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D21F8 002CF158 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 802D21FC 002CF15C ED 44 10 2A */ fadds f10, f4, f2 -/* 802D2200 002CF160 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D2204 002CF164 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 802D2208 002CF168 ED 25 08 2A */ fadds f9, f5, f1 -/* 802D220C 002CF16C C0 44 00 08 */ lfs f2, 8(r4) -/* 802D2210 002CF170 C0 E1 00 20 */ lfs f7, 0x20(r1) -/* 802D2214 002CF174 ED 04 10 2A */ fadds f8, f4, f2 -/* 802D2218 002CF178 C0 24 00 48 */ lfs f1, 0x48(r4) -/* 802D221C 002CF17C C0 A1 00 24 */ lfs f5, 0x24(r1) -/* 802D2220 002CF180 EC C7 08 2A */ fadds f6, f7, f1 -/* 802D2224 002CF184 C0 84 00 4C */ lfs f4, 0x4c(r4) -/* 802D2228 002CF188 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 802D222C 002CF18C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802D2230 002CF190 EC 65 20 2A */ fadds f3, f5, f4 -/* 802D2234 002CF194 D1 41 00 14 */ stfs f10, 0x14(r1) -/* 802D2238 002CF198 EC 02 08 2A */ fadds f0, f2, f1 -/* 802D223C 002CF19C 38 84 00 60 */ addi r4, r4, 0x60 -/* 802D2240 002CF1A0 D1 21 00 18 */ stfs f9, 0x18(r1) -/* 802D2244 002CF1A4 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 802D2248 002CF1A8 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 802D224C 002CF1AC D0 61 00 24 */ stfs f3, 0x24(r1) -/* 802D2250 002CF1B0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D2254 002CF1B4 42 00 FF 9C */ bdnz lbl_802D21F0 -lbl_802D2258: -/* 802D2258 002CF1B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D225C 002CF1BC 48 04 24 9D */ bl CanBeNormalized__9CVector3fCFv -/* 802D2260 002CF1C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D2264 002CF1C4 41 82 00 98 */ beq lbl_802D22FC -/* 802D2268 002CF1C8 38 61 00 08 */ addi r3, r1, 8 -/* 802D226C 002CF1CC 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D2270 002CF1D0 48 04 25 E1 */ bl AsNormalized__9CVector3fCFv -/* 802D2274 002CF1D4 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 802D2278 002CF1D8 3C 00 43 30 */ lis r0, 0x4330 -/* 802D227C 002CF1DC 90 61 00 94 */ stw r3, 0x94(r1) -/* 802D2280 002CF1E0 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D2284 002CF1E4 C0 C1 00 08 */ lfs f6, 8(r1) -/* 802D2288 002CF1E8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D228C 002CF1EC 90 01 00 90 */ stw r0, 0x90(r1) -/* 802D2290 002CF1F0 38 BD 00 44 */ addi r5, r29, 0x44 -/* 802D2294 002CF1F4 C8 22 C4 E8 */ lfd f1, lbl_805AE208@sda21(r2) -/* 802D2298 002CF1F8 38 DD 00 3C */ addi r6, r29, 0x3c -/* 802D229C 002CF1FC C8 01 00 90 */ lfd f0, 0x90(r1) -/* 802D22A0 002CF200 38 E1 00 20 */ addi r7, r1, 0x20 -/* 802D22A4 002CF204 C0 62 C4 BC */ lfs f3, lbl_805AE1DC@sda21(r2) -/* 802D22A8 002CF208 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802D22AC 002CF20C C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 802D22B0 002CF210 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 802D22B4 002CF214 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802D22B8 002CF218 EC 63 00 24 */ fdivs f3, f3, f0 -/* 802D22BC 002CF21C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802D22C0 002CF220 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802D22C4 002CF224 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 802D22C8 002CF228 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 802D22CC 002CF22C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 802D22D0 002CF230 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 802D22D4 002CF234 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 802D22D8 002CF238 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 802D22DC 002CF23C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D22E0 002CF240 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D22E4 002CF244 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D22E8 002CF248 4B FF C1 61 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D22EC 002CF24C 7C 64 1B 78 */ mr r4, r3 -/* 802D22F0 002CF250 7F 83 E3 78 */ mr r3, r28 -/* 802D22F4 002CF254 38 A0 00 00 */ li r5, 0 -/* 802D22F8 002CF258 4B EB 33 29 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -lbl_802D22FC: -/* 802D22FC 002CF25C 3B DD 00 04 */ addi r30, r29, 4 -/* 802D2300 002CF260 3B A0 00 00 */ li r29, 0 -/* 802D2304 002CF264 48 00 00 1C */ b lbl_802D2320 -lbl_802D2308: -/* 802D2308 002CF268 7F 83 E3 78 */ mr r3, r28 -/* 802D230C 002CF26C 7F C4 F3 78 */ mr r4, r30 -/* 802D2310 002CF270 38 A0 00 00 */ li r5, 0 -/* 802D2314 002CF274 4B EB 33 0D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D2318 002CF278 3B DE 00 60 */ addi r30, r30, 0x60 -/* 802D231C 002CF27C 3B BD 00 01 */ addi r29, r29, 1 -lbl_802D2320: -/* 802D2320 002CF280 7C 1D F8 00 */ cmpw r29, r31 -/* 802D2324 002CF284 41 80 FF E4 */ blt lbl_802D2308 -/* 802D2328 002CF288 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802D232C 002CF28C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802D2330 002CF290 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 802D2334 002CF294 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 802D2338 002CF298 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 802D233C 002CF29C 7C 08 03 A6 */ mtlr r0 -/* 802D2340 002CF2A0 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802D2344 002CF2A4 4E 80 00 20 */ blr - -.global FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList -FilterOutBackfaces__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: -/* 802D2348 002CF2A8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802D234C 002CF2AC 7C 08 02 A6 */ mflr r0 -/* 802D2350 002CF2B0 90 01 00 74 */ stw r0, 0x74(r1) -/* 802D2354 002CF2B4 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 802D2358 002CF2B8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802D235C 002CF2BC DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802D2360 002CF2C0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802D2364 002CF2C4 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 802D2368 002CF2C8 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 802D236C 002CF2CC DB 81 00 30 */ stfd f28, 0x30(r1) -/* 802D2370 002CF2D0 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 802D2374 002CF2D4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D2378 002CF2D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D237C 002CF2DC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D2380 002CF2E0 93 81 00 20 */ stw r28, 0x20(r1) -/* 802D2384 002CF2E4 7C 7E 1B 78 */ mr r30, r3 -/* 802D2388 002CF2E8 7C 9C 23 78 */ mr r28, r4 -/* 802D238C 002CF2EC 7C BD 2B 78 */ mr r29, r5 -/* 802D2390 002CF2F0 48 04 23 69 */ bl CanBeNormalized__9CVector3fCFv -/* 802D2394 002CF2F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D2398 002CF2F8 41 82 00 74 */ beq lbl_802D240C -/* 802D239C 002CF2FC 7F C4 F3 78 */ mr r4, r30 -/* 802D23A0 002CF300 38 61 00 08 */ addi r3, r1, 8 -/* 802D23A4 002CF304 48 04 24 AD */ bl AsNormalized__9CVector3fCFv -/* 802D23A8 002CF308 C3 C1 00 08 */ lfs f30, 8(r1) -/* 802D23AC 002CF30C 3B FC 00 04 */ addi r31, r28, 4 -/* 802D23B0 002CF310 C3 A1 00 0C */ lfs f29, 0xc(r1) -/* 802D23B4 002CF314 3B C0 00 00 */ li r30, 0 -/* 802D23B8 002CF318 C3 81 00 10 */ lfs f28, 0x10(r1) -/* 802D23BC 002CF31C C3 E2 C4 F0 */ lfs f31, lbl_805AE210@sda21(r2) -/* 802D23C0 002CF320 48 00 00 3C */ b lbl_802D23FC -lbl_802D23C4: -/* 802D23C4 002CF324 C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 802D23C8 002CF328 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 802D23CC 002CF32C EC 1D 00 32 */ fmuls f0, f29, f0 -/* 802D23D0 002CF330 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 802D23D4 002CF334 EC 1E 00 7A */ fmadds f0, f30, f1, f0 -/* 802D23D8 002CF338 EC 1C 00 BA */ fmadds f0, f28, f2, f0 -/* 802D23DC 002CF33C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 802D23E0 002CF340 40 80 00 14 */ bge lbl_802D23F4 -/* 802D23E4 002CF344 7F A3 EB 78 */ mr r3, r29 -/* 802D23E8 002CF348 7F E4 FB 78 */ mr r4, r31 -/* 802D23EC 002CF34C 38 A0 00 00 */ li r5, 0 -/* 802D23F0 002CF350 4B EB 32 31 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -lbl_802D23F4: -/* 802D23F4 002CF354 3B FF 00 60 */ addi r31, r31, 0x60 -/* 802D23F8 002CF358 3B DE 00 01 */ addi r30, r30, 1 -lbl_802D23FC: -/* 802D23FC 002CF35C 80 1C 00 00 */ lwz r0, 0(r28) -/* 802D2400 002CF360 7C 1E 00 00 */ cmpw r30, r0 -/* 802D2404 002CF364 41 80 FF C0 */ blt lbl_802D23C4 -/* 802D2408 002CF368 48 00 00 10 */ b lbl_802D2418 -lbl_802D240C: -/* 802D240C 002CF36C 7F A3 EB 78 */ mr r3, r29 -/* 802D2410 002CF370 7F 84 E3 78 */ mr r4, r28 -/* 802D2414 002CF374 4B E1 EF 15 */ bl __as__18CCollisionInfoListFRC18CCollisionInfoList -lbl_802D2418: -/* 802D2418 002CF378 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 802D241C 002CF37C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 802D2420 002CF380 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 802D2424 002CF384 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 802D2428 002CF388 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 802D242C 002CF38C CB A1 00 40 */ lfd f29, 0x40(r1) -/* 802D2430 002CF390 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 802D2434 002CF394 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 802D2438 002CF398 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D243C 002CF39C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D2440 002CF3A0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D2444 002CF3A4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802D2448 002CF3A8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802D244C 002CF3AC 7C 08 03 A6 */ mtlr r0 -/* 802D2450 002CF3B0 38 21 00 70 */ addi r1, r1, 0x70 -/* 802D2454 002CF3B4 4E 80 00 20 */ blr - -.global FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList -FilterByClosestNormal__13CollisionUtilFRC9CVector3fRC18CCollisionInfoListR18CCollisionInfoList: -/* 802D2458 002CF3B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D245C 002CF3BC 7C 08 02 A6 */ mflr r0 -/* 802D2460 002CF3C0 38 C4 00 04 */ addi r6, r4, 4 -/* 802D2464 002CF3C4 C0 A2 C4 F4 */ lfs f5, lbl_805AE214@sda21(r2) -/* 802D2468 002CF3C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D246C 002CF3CC 39 00 FF FF */ li r8, -1 -/* 802D2470 002CF3D0 38 E0 00 00 */ li r7, 0 -/* 802D2474 002CF3D4 80 04 00 00 */ lwz r0, 0(r4) -/* 802D2478 002CF3D8 7C 09 03 A6 */ mtctr r0 -/* 802D247C 002CF3DC 2C 00 00 00 */ cmpwi r0, 0 -/* 802D2480 002CF3E0 40 81 00 44 */ ble lbl_802D24C4 -lbl_802D2484: -/* 802D2484 002CF3E4 C0 26 00 4C */ lfs f1, 0x4c(r6) -/* 802D2488 002CF3E8 C0 03 00 04 */ lfs f0, 4(r3) -/* 802D248C 002CF3EC C0 46 00 48 */ lfs f2, 0x48(r6) -/* 802D2490 002CF3F0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802D2494 002CF3F4 C0 23 00 00 */ lfs f1, 0(r3) -/* 802D2498 002CF3F8 C0 86 00 50 */ lfs f4, 0x50(r6) -/* 802D249C 002CF3FC C0 63 00 08 */ lfs f3, 8(r3) -/* 802D24A0 002CF400 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802D24A4 002CF404 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 802D24A8 002CF408 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 802D24AC 002CF40C 40 81 00 0C */ ble lbl_802D24B8 -/* 802D24B0 002CF410 FC A0 00 90 */ fmr f5, f0 -/* 802D24B4 002CF414 7C E8 3B 78 */ mr r8, r7 -lbl_802D24B8: -/* 802D24B8 002CF418 38 C6 00 60 */ addi r6, r6, 0x60 -/* 802D24BC 002CF41C 38 E7 00 01 */ addi r7, r7, 1 -/* 802D24C0 002CF420 42 00 FF C4 */ bdnz lbl_802D2484 -lbl_802D24C4: -/* 802D24C4 002CF424 2C 08 FF FF */ cmpwi r8, -1 -/* 802D24C8 002CF428 41 82 00 1C */ beq lbl_802D24E4 -/* 802D24CC 002CF42C 1C 08 00 60 */ mulli r0, r8, 0x60 -/* 802D24D0 002CF430 7C A3 2B 78 */ mr r3, r5 -/* 802D24D4 002CF434 38 A0 00 00 */ li r5, 0 -/* 802D24D8 002CF438 7C 84 02 14 */ add r4, r4, r0 -/* 802D24DC 002CF43C 38 84 00 04 */ addi r4, r4, 4 -/* 802D24E0 002CF440 4B EB 31 41 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -lbl_802D24E4: -/* 802D24E4 002CF444 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D24E8 002CF448 7C 08 03 A6 */ mtlr r0 -/* 802D24EC 002CF44C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D24F0 002CF450 4E 80 00 20 */ blr - -.global RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd -RayTriangleIntersection_Double__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRd: -/* 802D24F4 002CF454 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 802D24F8 002CF458 7C 08 02 A6 */ mflr r0 -/* 802D24FC 002CF45C 90 01 01 44 */ stw r0, 0x144(r1) -/* 802D2500 002CF460 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 802D2504 002CF464 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 802D2508 002CF468 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 802D250C 002CF46C F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 802D2510 002CF470 93 E1 01 1C */ stw r31, 0x11c(r1) -/* 802D2514 002CF474 93 C1 01 18 */ stw r30, 0x118(r1) -/* 802D2518 002CF478 93 A1 01 14 */ stw r29, 0x114(r1) -/* 802D251C 002CF47C 93 81 01 10 */ stw r28, 0x110(r1) -/* 802D2520 002CF480 7C BE 2B 78 */ mr r30, r5 -/* 802D2524 002CF484 7C 7C 1B 78 */ mr r28, r3 -/* 802D2528 002CF488 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 802D252C 002CF48C 7C 9D 23 78 */ mr r29, r4 -/* 802D2530 002CF490 C0 05 00 04 */ lfs f0, 4(r5) -/* 802D2534 002CF494 7C DF 33 78 */ mr r31, r6 -/* 802D2538 002CF498 C0 65 00 14 */ lfs f3, 0x14(r5) -/* 802D253C 002CF49C 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 802D2540 002CF4A0 C0 45 00 08 */ lfs f2, 8(r5) -/* 802D2544 002CF4A4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D2548 002CF4A8 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 802D254C 002CF4AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D2550 002CF4B0 C0 05 00 00 */ lfs f0, 0(r5) -/* 802D2554 002CF4B4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D2558 002CF4B8 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802D255C 002CF4BC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D2560 002CF4C0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 802D2564 002CF4C4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802D2568 002CF4C8 48 04 20 1D */ bl __ct__9CVector3dFRC9CVector3f -/* 802D256C 002CF4CC C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 802D2570 002CF4D0 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 802D2574 002CF4D4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D2578 002CF4D8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D257C 002CF4DC C0 7E 00 20 */ lfs f3, 0x20(r30) -/* 802D2580 002CF4E0 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802D2584 002CF4E4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D2588 002CF4E8 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 802D258C 002CF4EC C0 1E 00 00 */ lfs f0, 0(r30) -/* 802D2590 002CF4F0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D2594 002CF4F4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802D2598 002CF4F8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D259C 002CF4FC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802D25A0 002CF500 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D25A4 002CF504 48 04 1F E1 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D25A8 002CF508 7F A4 EB 78 */ mr r4, r29 -/* 802D25AC 002CF50C 38 61 00 60 */ addi r3, r1, 0x60 -/* 802D25B0 002CF510 48 04 1F D5 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D25B4 002CF514 7C 64 1B 78 */ mr r4, r3 -/* 802D25B8 002CF518 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D25BC 002CF51C 38 A1 00 D8 */ addi r5, r1, 0xd8 -/* 802D25C0 002CF520 48 04 1E 5D */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D25C4 002CF524 C8 41 00 78 */ lfd f2, 0x78(r1) -/* 802D25C8 002CF528 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 802D25CC 002CF52C C8 21 00 80 */ lfd f1, 0x80(r1) -/* 802D25D0 002CF530 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 802D25D4 002CF534 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 802D25D8 002CF538 D8 41 00 C0 */ stfd f2, 0xc0(r1) -/* 802D25DC 002CF53C D8 21 00 C8 */ stfd f1, 0xc8(r1) -/* 802D25E0 002CF540 D8 01 00 D0 */ stfd f0, 0xd0(r1) -/* 802D25E4 002CF544 48 04 1E 89 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D25E8 002CF548 FF C0 08 90 */ fmr f30, f1 -/* 802D25EC 002CF54C C8 02 C4 F8 */ lfd f0, lbl_805AE218@sda21(r2) -/* 802D25F0 002CF550 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 802D25F4 002CF554 40 80 00 0C */ bge lbl_802D2600 -/* 802D25F8 002CF558 38 60 00 00 */ li r3, 0 -/* 802D25FC 002CF55C 48 00 01 10 */ b lbl_802D270C -lbl_802D2600: -/* 802D2600 002CF560 C0 3C 00 04 */ lfs f1, 4(r28) -/* 802D2604 002CF564 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802D2608 002CF568 C0 1E 00 04 */ lfs f0, 4(r30) -/* 802D260C 002CF56C 38 81 00 08 */ addi r4, r1, 8 -/* 802D2610 002CF570 C0 7C 00 08 */ lfs f3, 8(r28) -/* 802D2614 002CF574 C0 5E 00 08 */ lfs f2, 8(r30) -/* 802D2618 002CF578 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D261C 002CF57C C0 3C 00 00 */ lfs f1, 0(r28) -/* 802D2620 002CF580 C0 1E 00 00 */ lfs f0, 0(r30) -/* 802D2624 002CF584 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D2628 002CF588 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802D262C 002CF58C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D2630 002CF590 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802D2634 002CF594 D0 01 00 08 */ stfs f0, 8(r1) -/* 802D2638 002CF598 48 04 1F 4D */ bl __ct__9CVector3dFRC9CVector3f -/* 802D263C 002CF59C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 802D2640 002CF5A0 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 802D2644 002CF5A4 48 04 1E 29 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D2648 002CF5A8 FF E0 08 90 */ fmr f31, f1 -/* 802D264C 002CF5AC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D2650 002CF5B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 802D2654 002CF5B4 41 80 00 0C */ blt lbl_802D2660 -/* 802D2658 002CF5B8 FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 802D265C 002CF5BC 40 81 00 0C */ ble lbl_802D2668 -lbl_802D2660: -/* 802D2660 002CF5C0 38 60 00 00 */ li r3, 0 -/* 802D2664 002CF5C4 48 00 00 A8 */ b lbl_802D270C -lbl_802D2668: -/* 802D2668 002CF5C8 38 61 00 48 */ addi r3, r1, 0x48 -/* 802D266C 002CF5CC 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 802D2670 002CF5D0 38 A1 00 F0 */ addi r5, r1, 0xf0 -/* 802D2674 002CF5D4 48 04 1D A9 */ bl Cross__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D2678 002CF5D8 C8 41 00 48 */ lfd f2, 0x48(r1) -/* 802D267C 002CF5DC 7F A4 EB 78 */ mr r4, r29 -/* 802D2680 002CF5E0 C8 21 00 50 */ lfd f1, 0x50(r1) -/* 802D2684 002CF5E4 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D2688 002CF5E8 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802D268C 002CF5EC D8 41 00 90 */ stfd f2, 0x90(r1) -/* 802D2690 002CF5F0 D8 21 00 98 */ stfd f1, 0x98(r1) -/* 802D2694 002CF5F4 D8 01 00 A0 */ stfd f0, 0xa0(r1) -/* 802D2698 002CF5F8 48 04 1E ED */ bl __ct__9CVector3dFRC9CVector3f -/* 802D269C 002CF5FC 7C 64 1B 78 */ mr r4, r3 -/* 802D26A0 002CF600 38 61 00 90 */ addi r3, r1, 0x90 -/* 802D26A4 002CF604 48 04 1D C9 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D26A8 002CF608 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D26AC 002CF60C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D26B0 002CF610 41 80 00 10 */ blt lbl_802D26C0 -/* 802D26B4 002CF614 FC 1F 08 2A */ fadd f0, f31, f1 -/* 802D26B8 002CF618 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 802D26BC 002CF61C 40 81 00 0C */ ble lbl_802D26C8 -lbl_802D26C0: -/* 802D26C0 002CF620 38 60 00 00 */ li r3, 0 -/* 802D26C4 002CF624 48 00 00 48 */ b lbl_802D270C -lbl_802D26C8: -/* 802D26C8 002CF628 38 61 00 90 */ addi r3, r1, 0x90 -/* 802D26CC 002CF62C 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 802D26D0 002CF630 48 04 1D 9D */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D26D4 002CF634 C8 42 C4 A8 */ lfd f2, lbl_805AE1C8@sda21(r2) -/* 802D26D8 002CF638 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D26DC 002CF63C FC 42 F0 24 */ fdiv f2, f2, f30 -/* 802D26E0 002CF640 FC 22 00 72 */ fmul f1, f2, f1 -/* 802D26E4 002CF644 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D26E8 002CF648 41 80 00 14 */ blt lbl_802D26FC -/* 802D26EC 002CF64C C8 1F 00 00 */ lfd f0, 0(r31) -/* 802D26F0 002CF650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D26F4 002CF654 4C 41 13 82 */ cror 2, 1, 2 -/* 802D26F8 002CF658 40 82 00 0C */ bne lbl_802D2704 -lbl_802D26FC: -/* 802D26FC 002CF65C 38 60 00 00 */ li r3, 0 -/* 802D2700 002CF660 48 00 00 0C */ b lbl_802D270C -lbl_802D2704: -/* 802D2704 002CF664 D8 3F 00 00 */ stfd f1, 0(r31) -/* 802D2708 002CF668 38 60 00 01 */ li r3, 1 -lbl_802D270C: -/* 802D270C 002CF66C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 802D2710 002CF670 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 802D2714 002CF674 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 802D2718 002CF678 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 802D271C 002CF67C 83 E1 01 1C */ lwz r31, 0x11c(r1) -/* 802D2720 002CF680 83 C1 01 18 */ lwz r30, 0x118(r1) -/* 802D2724 002CF684 83 A1 01 14 */ lwz r29, 0x114(r1) -/* 802D2728 002CF688 80 01 01 44 */ lwz r0, 0x144(r1) -/* 802D272C 002CF68C 83 81 01 10 */ lwz r28, 0x110(r1) -/* 802D2730 002CF690 7C 08 03 A6 */ mtlr r0 -/* 802D2734 002CF694 38 21 01 40 */ addi r1, r1, 0x140 -/* 802D2738 002CF698 4E 80 00 20 */ blr - -.global RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf -RayTriangleIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fPC9CVector3fRf: -/* 802D273C 002CF69C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802D2740 002CF6A0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 802D2744 002CF6A4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802D2748 002CF6A8 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802D274C 002CF6AC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802D2750 002CF6B0 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 802D2754 002CF6B4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 802D2758 002CF6B8 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 802D275C 002CF6BC F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 802D2760 002CF6C0 DB 61 00 20 */ stfd f27, 0x20(r1) -/* 802D2764 002CF6C4 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 802D2768 002CF6C8 DB 41 00 10 */ stfd f26, 0x10(r1) -/* 802D276C 002CF6CC F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 -/* 802D2770 002CF6D0 C0 65 00 08 */ lfs f3, 8(r5) -/* 802D2774 002CF6D4 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 802D2778 002CF6D8 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 802D277C 002CF6DC EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D2780 002CF6E0 C0 A4 00 00 */ lfs f5, 0(r4) -/* 802D2784 002CF6E4 C3 A5 00 00 */ lfs f29, 0(r5) -/* 802D2788 002CF6E8 ED 41 18 28 */ fsubs f10, f1, f3 -/* 802D278C 002CF6EC C0 25 00 18 */ lfs f1, 0x18(r5) -/* 802D2790 002CF6F0 C3 C5 00 04 */ lfs f30, 4(r5) -/* 802D2794 002CF6F4 C0 85 00 1C */ lfs f4, 0x1c(r5) -/* 802D2798 002CF6F8 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 802D279C 002CF6FC C0 E5 00 10 */ lfs f7, 0x10(r5) -/* 802D27A0 002CF700 EC 40 01 72 */ fmuls f2, f0, f5 -/* 802D27A4 002CF704 C0 C4 00 08 */ lfs f6, 8(r4) -/* 802D27A8 002CF708 ED A4 F0 28 */ fsubs f13, f4, f30 -/* 802D27AC 002CF70C C1 25 00 0C */ lfs f9, 0xc(r5) -/* 802D27B0 002CF710 C0 84 00 04 */ lfs f4, 4(r4) -/* 802D27B4 002CF714 ED 67 F0 28 */ fsubs f11, f7, f30 -/* 802D27B8 002CF718 EF 66 10 78 */ fmsubs f27, f6, f1, f2 -/* 802D27BC 002CF71C C0 E2 C5 00 */ lfs f7, lbl_805AE220@sda21(r2) -/* 802D27C0 002CF720 EC 4D 01 B2 */ fmuls f2, f13, f6 -/* 802D27C4 002CF724 ED 01 01 32 */ fmuls f8, f1, f4 -/* 802D27C8 002CF728 ED 89 E8 28 */ fsubs f12, f9, f29 -/* 802D27CC 002CF72C EF 84 10 38 */ fmsubs f28, f4, f0, f2 -/* 802D27D0 002CF730 EC 4B 06 F2 */ fmuls f2, f11, f27 -/* 802D27D4 002CF734 EF 45 43 78 */ fmsubs f26, f5, f13, f8 -/* 802D27D8 002CF738 EC 4C 17 3A */ fmadds f2, f12, f28, f2 -/* 802D27DC 002CF73C EC 4A 16 BA */ fmadds f2, f10, f26, f2 -/* 802D27E0 002CF740 FC 02 38 40 */ fcmpo cr0, f2, f7 -/* 802D27E4 002CF744 40 80 00 0C */ bge lbl_802D27F0 -/* 802D27E8 002CF748 38 60 00 00 */ li r3, 0 -/* 802D27EC 002CF74C 48 00 00 C4 */ b lbl_802D28B0 -lbl_802D27F0: -/* 802D27F0 002CF750 C0 E3 00 04 */ lfs f7, 4(r3) -/* 802D27F4 002CF754 C1 03 00 00 */ lfs f8, 0(r3) -/* 802D27F8 002CF758 EF C7 F0 28 */ fsubs f30, f7, f30 -/* 802D27FC 002CF75C C0 E3 00 08 */ lfs f7, 8(r3) -/* 802D2800 002CF760 EF A8 E8 28 */ fsubs f29, f8, f29 -/* 802D2804 002CF764 C1 22 C4 B8 */ lfs f9, lbl_805AE1D8@sda21(r2) -/* 802D2808 002CF768 EF E7 18 28 */ fsubs f31, f7, f3 -/* 802D280C 002CF76C EC 7E 06 F2 */ fmuls f3, f30, f27 -/* 802D2810 002CF770 EC 7D 1F 3A */ fmadds f3, f29, f28, f3 -/* 802D2814 002CF774 EF 5F 1E BA */ fmadds f26, f31, f26, f3 -/* 802D2818 002CF778 FC 1A 48 40 */ fcmpo cr0, f26, f9 -/* 802D281C 002CF77C 41 80 00 0C */ blt lbl_802D2828 -/* 802D2820 002CF780 FC 1A 10 40 */ fcmpo cr0, f26, f2 -/* 802D2824 002CF784 40 81 00 0C */ ble lbl_802D2830 -lbl_802D2828: -/* 802D2828 002CF788 38 60 00 00 */ li r3, 0 -/* 802D282C 002CF78C 48 00 00 84 */ b lbl_802D28B0 -lbl_802D2830: -/* 802D2830 002CF790 EC EA 07 72 */ fmuls f7, f10, f29 -/* 802D2834 002CF794 EC 6B 07 F2 */ fmuls f3, f11, f31 -/* 802D2838 002CF798 ED 0C 07 B2 */ fmuls f8, f12, f30 -/* 802D283C 002CF79C ED 9F 3B 38 */ fmsubs f12, f31, f12, f7 -/* 802D2840 002CF7A0 EC FE 1A B8 */ fmsubs f7, f30, f10, f3 -/* 802D2844 002CF7A4 ED 1D 42 F8 */ fmsubs f8, f29, f11, f8 -/* 802D2848 002CF7A8 EC 6C 01 32 */ fmuls f3, f12, f4 -/* 802D284C 002CF7AC EC 67 19 7A */ fmadds f3, f7, f5, f3 -/* 802D2850 002CF7B0 EC 68 19 BA */ fmadds f3, f8, f6, f3 -/* 802D2854 002CF7B4 FC 03 48 40 */ fcmpo cr0, f3, f9 -/* 802D2858 002CF7B8 41 80 00 10 */ blt lbl_802D2868 -/* 802D285C 002CF7BC EC 7A 18 2A */ fadds f3, f26, f3 -/* 802D2860 002CF7C0 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 802D2864 002CF7C4 40 81 00 0C */ ble lbl_802D2870 -lbl_802D2868: -/* 802D2868 002CF7C8 38 60 00 00 */ li r3, 0 -/* 802D286C 002CF7CC 48 00 00 44 */ b lbl_802D28B0 -lbl_802D2870: -/* 802D2870 002CF7D0 C0 82 C4 BC */ lfs f4, lbl_805AE1DC@sda21(r2) -/* 802D2874 002CF7D4 EC 6C 03 72 */ fmuls f3, f12, f13 -/* 802D2878 002CF7D8 EC 44 10 24 */ fdivs f2, f4, f2 -/* 802D287C 002CF7DC EC 27 18 7A */ fmadds f1, f7, f1, f3 -/* 802D2880 002CF7E0 EC 08 08 3A */ fmadds f0, f8, f0, f1 -/* 802D2884 002CF7E4 EC 22 00 32 */ fmuls f1, f2, f0 -/* 802D2888 002CF7E8 FC 01 48 40 */ fcmpo cr0, f1, f9 -/* 802D288C 002CF7EC 41 80 00 14 */ blt lbl_802D28A0 -/* 802D2890 002CF7F0 C0 06 00 00 */ lfs f0, 0(r6) -/* 802D2894 002CF7F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2898 002CF7F8 4C 41 13 82 */ cror 2, 1, 2 -/* 802D289C 002CF7FC 40 82 00 0C */ bne lbl_802D28A8 -lbl_802D28A0: -/* 802D28A0 002CF800 38 60 00 00 */ li r3, 0 -/* 802D28A4 002CF804 48 00 00 0C */ b lbl_802D28B0 -lbl_802D28A8: -/* 802D28A8 002CF808 D0 26 00 00 */ stfs f1, 0(r6) -/* 802D28AC 002CF80C 38 60 00 01 */ li r3, 1 -lbl_802D28B0: -/* 802D28B0 002CF810 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 802D28B4 002CF814 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 802D28B8 002CF818 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 802D28BC 002CF81C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 802D28C0 002CF820 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 802D28C4 002CF824 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 802D28C8 002CF828 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 802D28CC 002CF82C CB 81 00 30 */ lfd f28, 0x30(r1) -/* 802D28D0 002CF830 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 802D28D4 002CF834 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 802D28D8 002CF838 E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 -/* 802D28DC 002CF83C CB 41 00 10 */ lfd f26, 0x10(r1) -/* 802D28E0 002CF840 38 21 00 70 */ addi r1, r1, 0x70 -/* 802D28E4 002CF844 4E 80 00 20 */ blr - -.global AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere -AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere: -/* 802D28E8 002CF848 38 00 00 03 */ li r0, 3 -/* 802D28EC 002CF84C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D28F0 002CF850 7C 85 23 78 */ mr r5, r4 -/* 802D28F4 002CF854 38 E3 00 0C */ addi r7, r3, 0xc -/* 802D28F8 002CF858 39 20 00 00 */ li r9, 0 -/* 802D28FC 002CF85C 38 C0 00 00 */ li r6, 0 -/* 802D2900 002CF860 39 00 00 01 */ li r8, 1 -/* 802D2904 002CF864 7C 09 03 A6 */ mtctr r0 -lbl_802D2908: -/* 802D2908 002CF868 C0 45 00 00 */ lfs f2, 0(r5) -/* 802D290C 002CF86C C0 63 00 00 */ lfs f3, 0(r3) -/* 802D2910 002CF870 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802D2914 002CF874 40 80 00 3C */ bge lbl_802D2950 -/* 802D2918 002CF878 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D291C 002CF87C EC 02 00 2A */ fadds f0, f2, f0 -/* 802D2920 002CF880 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802D2924 002CF884 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2928 002CF888 40 82 00 20 */ bne lbl_802D2948 -/* 802D292C 002CF88C EC 02 18 28 */ fsubs f0, f2, f3 -/* 802D2930 002CF890 38 00 00 01 */ li r0, 1 -/* 802D2934 002CF894 7C 00 30 30 */ slw r0, r0, r6 -/* 802D2938 002CF898 7D 29 03 78 */ or r9, r9, r0 -/* 802D293C 002CF89C EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D2940 002CF8A0 EC 21 00 2A */ fadds f1, f1, f0 -/* 802D2944 002CF8A4 48 00 00 50 */ b lbl_802D2994 -lbl_802D2948: -/* 802D2948 002CF8A8 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) -/* 802D294C 002CF8AC 4E 80 00 20 */ blr -lbl_802D2950: -/* 802D2950 002CF8B0 C0 67 00 00 */ lfs f3, 0(r7) -/* 802D2954 002CF8B4 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 802D2958 002CF8B8 40 81 00 3C */ ble lbl_802D2994 -/* 802D295C 002CF8BC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D2960 002CF8C0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802D2964 002CF8C4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802D2968 002CF8C8 4C 40 13 82 */ cror 2, 0, 2 -/* 802D296C 002CF8CC 40 82 00 20 */ bne lbl_802D298C -/* 802D2970 002CF8D0 EC 02 18 28 */ fsubs f0, f2, f3 -/* 802D2974 002CF8D4 38 00 00 01 */ li r0, 1 -/* 802D2978 002CF8D8 7C 00 40 30 */ slw r0, r0, r8 -/* 802D297C 002CF8DC 7D 29 03 78 */ or r9, r9, r0 -/* 802D2980 002CF8E0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D2984 002CF8E4 EC 21 00 2A */ fadds f1, f1, f0 -/* 802D2988 002CF8E8 48 00 00 0C */ b lbl_802D2994 -lbl_802D298C: -/* 802D298C 002CF8EC C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) -/* 802D2990 002CF8F0 4E 80 00 20 */ blr -lbl_802D2994: -/* 802D2994 002CF8F4 38 63 00 04 */ addi r3, r3, 4 -/* 802D2998 002CF8F8 38 A5 00 04 */ addi r5, r5, 4 -/* 802D299C 002CF8FC 38 C6 00 02 */ addi r6, r6, 2 -/* 802D29A0 002CF900 38 E7 00 04 */ addi r7, r7, 4 -/* 802D29A4 002CF904 39 08 00 02 */ addi r8, r8, 2 -/* 802D29A8 002CF908 42 00 FF 60 */ bdnz lbl_802D2908 -/* 802D29AC 002CF90C 2C 09 00 00 */ cmpwi r9, 0 -/* 802D29B0 002CF910 4D 82 00 20 */ beqlr -/* 802D29B4 002CF914 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D29B8 002CF918 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D29BC 002CF91C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D29C0 002CF920 4C 81 00 20 */ blelr -/* 802D29C4 002CF924 C0 22 C4 C0 */ lfs f1, lbl_805AE1E0@sda21(r2) -/* 802D29C8 002CF928 4E 80 00 20 */ blr - -.global AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere -AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere: -/* 802D29CC 002CF92C 38 00 00 03 */ li r0, 3 -/* 802D29D0 002CF930 C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) -/* 802D29D4 002CF934 7C 85 23 78 */ mr r5, r4 -/* 802D29D8 002CF938 38 E3 00 0C */ addi r7, r3, 0xc -/* 802D29DC 002CF93C 39 20 00 00 */ li r9, 0 -/* 802D29E0 002CF940 38 C0 00 00 */ li r6, 0 -/* 802D29E4 002CF944 39 00 00 01 */ li r8, 1 -/* 802D29E8 002CF948 7C 09 03 A6 */ mtctr r0 -lbl_802D29EC: -/* 802D29EC 002CF94C C0 25 00 00 */ lfs f1, 0(r5) -/* 802D29F0 002CF950 C0 43 00 00 */ lfs f2, 0(r3) -/* 802D29F4 002CF954 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D29F8 002CF958 40 80 00 3C */ bge lbl_802D2A34 -/* 802D29FC 002CF95C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D2A00 002CF960 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D2A04 002CF964 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802D2A08 002CF968 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2A0C 002CF96C 40 82 00 20 */ bne lbl_802D2A2C -/* 802D2A10 002CF970 EC 01 10 28 */ fsubs f0, f1, f2 -/* 802D2A14 002CF974 38 00 00 01 */ li r0, 1 -/* 802D2A18 002CF978 7C 00 30 30 */ slw r0, r0, r6 -/* 802D2A1C 002CF97C 7D 29 03 78 */ or r9, r9, r0 -/* 802D2A20 002CF980 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D2A24 002CF984 EC 63 00 2A */ fadds f3, f3, f0 -/* 802D2A28 002CF988 48 00 00 50 */ b lbl_802D2A78 -lbl_802D2A2C: -/* 802D2A2C 002CF98C 38 60 00 00 */ li r3, 0 -/* 802D2A30 002CF990 4E 80 00 20 */ blr -lbl_802D2A34: -/* 802D2A34 002CF994 C0 47 00 00 */ lfs f2, 0(r7) -/* 802D2A38 002CF998 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D2A3C 002CF99C 40 81 00 3C */ ble lbl_802D2A78 -/* 802D2A40 002CF9A0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D2A44 002CF9A4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D2A48 002CF9A8 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802D2A4C 002CF9AC 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2A50 002CF9B0 40 82 00 20 */ bne lbl_802D2A70 -/* 802D2A54 002CF9B4 EC 01 10 28 */ fsubs f0, f1, f2 -/* 802D2A58 002CF9B8 38 00 00 01 */ li r0, 1 -/* 802D2A5C 002CF9BC 7C 00 40 30 */ slw r0, r0, r8 -/* 802D2A60 002CF9C0 7D 29 03 78 */ or r9, r9, r0 -/* 802D2A64 002CF9C4 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D2A68 002CF9C8 EC 63 00 2A */ fadds f3, f3, f0 -/* 802D2A6C 002CF9CC 48 00 00 0C */ b lbl_802D2A78 -lbl_802D2A70: -/* 802D2A70 002CF9D0 38 60 00 00 */ li r3, 0 -/* 802D2A74 002CF9D4 4E 80 00 20 */ blr -lbl_802D2A78: -/* 802D2A78 002CF9D8 38 63 00 04 */ addi r3, r3, 4 -/* 802D2A7C 002CF9DC 38 A5 00 04 */ addi r5, r5, 4 -/* 802D2A80 002CF9E0 38 C6 00 02 */ addi r6, r6, 2 -/* 802D2A84 002CF9E4 38 E7 00 04 */ addi r7, r7, 4 -/* 802D2A88 002CF9E8 39 08 00 02 */ addi r8, r8, 2 -/* 802D2A8C 002CF9EC 42 00 FF 60 */ bdnz lbl_802D29EC -/* 802D2A90 002CF9F0 2C 09 00 00 */ cmpwi r9, 0 -/* 802D2A94 002CF9F4 40 82 00 0C */ bne lbl_802D2AA0 -/* 802D2A98 002CF9F8 38 60 00 01 */ li r3, 1 -/* 802D2A9C 002CF9FC 4E 80 00 20 */ blr -lbl_802D2AA0: -/* 802D2AA0 002CFA00 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D2AA4 002CFA04 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D2AA8 002CFA08 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2AAC 002CFA0C 7C 00 00 26 */ mfcr r0 -/* 802D2AB0 002CFA10 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D2AB4 002CFA14 7C 00 00 34 */ cntlzw r0, r0 -/* 802D2AB8 002CFA18 54 03 D9 7E */ srwi r3, r0, 5 -/* 802D2ABC 002CFA1C 4E 80 00 20 */ blr - -.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList -AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC13CMaterialListRC6CAABoxRC13CMaterialListR18CCollisionInfoList: -/* 802D2AC0 002CFA20 94 21 FD E0 */ stwu r1, -0x220(r1) -/* 802D2AC4 002CFA24 7C 08 02 A6 */ mflr r0 -/* 802D2AC8 002CFA28 90 01 02 24 */ stw r0, 0x224(r1) -/* 802D2ACC 002CFA2C BF 21 02 04 */ stmw r25, 0x204(r1) -/* 802D2AD0 002CFA30 7C 7C 1B 78 */ mr r28, r3 -/* 802D2AD4 002CFA34 7C BB 2B 78 */ mr r27, r5 -/* 802D2AD8 002CFA38 7C 9D 23 78 */ mr r29, r4 -/* 802D2ADC 002CFA3C 7C DE 33 78 */ mr r30, r6 -/* 802D2AE0 002CFA40 7C FF 3B 78 */ mr r31, r7 -/* 802D2AE4 002CFA44 C0 05 00 08 */ lfs f0, 8(r5) -/* 802D2AE8 002CFA48 C0 23 00 08 */ lfs f1, 8(r3) -/* 802D2AEC 002CFA4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2AF0 002CFA50 40 81 00 08 */ ble lbl_802D2AF8 -/* 802D2AF4 002CFA54 48 00 00 08 */ b lbl_802D2AFC -lbl_802D2AF8: -/* 802D2AF8 002CFA58 FC 20 00 90 */ fmr f1, f0 -lbl_802D2AFC: -/* 802D2AFC 002CFA5C C0 1B 00 04 */ lfs f0, 4(r27) -/* 802D2B00 002CFA60 C0 5C 00 04 */ lfs f2, 4(r28) -/* 802D2B04 002CFA64 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2B08 002CFA68 40 81 00 08 */ ble lbl_802D2B10 -/* 802D2B0C 002CFA6C 48 00 00 08 */ b lbl_802D2B14 -lbl_802D2B10: -/* 802D2B10 002CFA70 FC 40 00 90 */ fmr f2, f0 -lbl_802D2B14: -/* 802D2B14 002CFA74 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802D2B18 002CFA78 C0 7C 00 00 */ lfs f3, 0(r28) -/* 802D2B1C 002CFA7C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2B20 002CFA80 40 81 00 08 */ ble lbl_802D2B28 -/* 802D2B24 002CFA84 48 00 00 08 */ b lbl_802D2B2C -lbl_802D2B28: -/* 802D2B28 002CFA88 FC 60 00 90 */ fmr f3, f0 -lbl_802D2B2C: -/* 802D2B2C 002CFA8C C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 802D2B30 002CFA90 C0 9C 00 14 */ lfs f4, 0x14(r28) -/* 802D2B34 002CFA94 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 802D2B38 002CFA98 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D2B3C 002CFA9C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 802D2B40 002CFAA0 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 802D2B44 002CFAA4 40 80 00 08 */ bge lbl_802D2B4C -/* 802D2B48 002CFAA8 48 00 00 08 */ b lbl_802D2B50 -lbl_802D2B4C: -/* 802D2B4C 002CFAAC FC 80 00 90 */ fmr f4, f0 -lbl_802D2B50: -/* 802D2B50 002CFAB0 C0 1B 00 10 */ lfs f0, 0x10(r27) -/* 802D2B54 002CFAB4 C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 802D2B58 002CFAB8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2B5C 002CFABC 40 80 00 08 */ bge lbl_802D2B64 -/* 802D2B60 002CFAC0 48 00 00 08 */ b lbl_802D2B68 -lbl_802D2B64: -/* 802D2B64 002CFAC4 FC 40 00 90 */ fmr f2, f0 -lbl_802D2B68: -/* 802D2B68 002CFAC8 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 802D2B6C 002CFACC C0 7C 00 0C */ lfs f3, 0xc(r28) -/* 802D2B70 002CFAD0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2B74 002CFAD4 40 80 00 08 */ bge lbl_802D2B7C -/* 802D2B78 002CFAD8 48 00 00 08 */ b lbl_802D2B80 -lbl_802D2B7C: -/* 802D2B7C 002CFADC FC 60 00 90 */ fmr f3, f0 -lbl_802D2B80: -/* 802D2B80 002CFAE0 FC 00 18 18 */ frsp f0, f3 -/* 802D2B84 002CFAE4 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802D2B88 002CFAE8 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802D2B8C 002CFAEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2B90 002CFAF0 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802D2B94 002CFAF4 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 802D2B98 002CFAF8 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2B9C 002CFAFC 41 82 00 2C */ beq lbl_802D2BC8 -/* 802D2BA0 002CFB00 FC 00 10 18 */ frsp f0, f2 -/* 802D2BA4 002CFB04 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802D2BA8 002CFB08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2BAC 002CFB0C 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2BB0 002CFB10 41 82 00 18 */ beq lbl_802D2BC8 -/* 802D2BB4 002CFB14 FC 00 20 18 */ frsp f0, f4 -/* 802D2BB8 002CFB18 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 802D2BBC 002CFB1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2BC0 002CFB20 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2BC4 002CFB24 40 82 00 0C */ bne lbl_802D2BD0 -lbl_802D2BC8: -/* 802D2BC8 002CFB28 38 60 00 00 */ li r3, 0 -/* 802D2BCC 002CFB2C 48 00 02 DC */ b lbl_802D2EA8 -lbl_802D2BD0: -/* 802D2BD0 002CFB30 38 61 00 5C */ addi r3, r1, 0x5c -/* 802D2BD4 002CFB34 38 81 00 44 */ addi r4, r1, 0x44 -/* 802D2BD8 002CFB38 38 A1 00 38 */ addi r5, r1, 0x38 -/* 802D2BDC 002CFB3C 48 06 59 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D2BE0 002CFB40 C0 3B 00 00 */ lfs f1, 0(r27) -/* 802D2BE4 002CFB44 C0 7C 00 00 */ lfs f3, 0(r28) -/* 802D2BE8 002CFB48 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 802D2BEC 002CFB4C FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D2BF0 002CFB50 C0 5C 00 0C */ lfs f2, 0xc(r28) -/* 802D2BF4 002CFB54 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2BF8 002CFB58 7C A0 00 26 */ mfcr r5 -/* 802D2BFC 002CFB5C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2C00 002CFB60 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C04 002CFB64 7C 80 00 26 */ mfcr r4 -/* 802D2C08 002CFB68 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2C0C 002CFB6C 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C10 002CFB70 7C 60 00 26 */ mfcr r3 -/* 802D2C14 002CFB74 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D2C18 002CFB78 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C1C 002CFB7C 7C 00 00 26 */ mfcr r0 -/* 802D2C20 002CFB80 C0 3B 00 04 */ lfs f1, 4(r27) -/* 802D2C24 002CFB84 C0 7C 00 04 */ lfs f3, 4(r28) -/* 802D2C28 002CFB88 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d -/* 802D2C2C 002CFB8C 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c -/* 802D2C30 002CFB90 C0 1B 00 10 */ lfs f0, 0x10(r27) -/* 802D2C34 002CFB94 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e -/* 802D2C38 002CFB98 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D2C3C 002CFB9C 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f -/* 802D2C40 002CFBA0 C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 802D2C44 002CFBA4 90 01 00 50 */ stw r0, 0x50(r1) -/* 802D2C48 002CFBA8 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C4C 002CFBAC 7C A0 00 26 */ mfcr r5 -/* 802D2C50 002CFBB0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2C54 002CFBB4 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C58 002CFBB8 7C 80 00 26 */ mfcr r4 -/* 802D2C5C 002CFBBC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2C60 002CFBC0 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C64 002CFBC4 7C 60 00 26 */ mfcr r3 -/* 802D2C68 002CFBC8 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D2C6C 002CFBCC 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2C70 002CFBD0 7C 00 00 26 */ mfcr r0 -/* 802D2C74 002CFBD4 C0 3B 00 08 */ lfs f1, 8(r27) -/* 802D2C78 002CFBD8 C0 7C 00 08 */ lfs f3, 8(r28) -/* 802D2C7C 002CFBDC 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d -/* 802D2C80 002CFBE0 50 60 37 38 */ rlwimi r0, r3, 6, 0x1c, 0x1c -/* 802D2C84 002CFBE4 C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 802D2C88 002CFBE8 50 80 27 BC */ rlwimi r0, r4, 4, 0x1e, 0x1e -/* 802D2C8C 002CFBEC FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D2C90 002CFBF0 50 A0 1F FE */ rlwimi r0, r5, 3, 0x1f, 0x1f -/* 802D2C94 002CFBF4 C0 5C 00 14 */ lfs f2, 0x14(r28) -/* 802D2C98 002CFBF8 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D2C9C 002CFBFC 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2CA0 002CFC00 7C C0 00 26 */ mfcr r6 -/* 802D2CA4 002CFC04 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2CA8 002CFC08 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2CAC 002CFC0C 7C A0 00 26 */ mfcr r5 -/* 802D2CB0 002CFC10 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2CB4 002CFC14 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2CB8 002CFC18 7C 80 00 26 */ mfcr r4 -/* 802D2CBC 002CFC1C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D2CC0 002CFC20 4C 40 13 82 */ cror 2, 0, 2 -/* 802D2CC4 002CFC24 7C 00 00 26 */ mfcr r0 -/* 802D2CC8 002CFC28 3C 60 80 48 */ lis r3, lbl_80479510@ha -/* 802D2CCC 002CFC2C 54 00 2F 7A */ rlwinm r0, r0, 5, 0x1d, 0x1d -/* 802D2CD0 002CFC30 3B 81 00 50 */ addi r28, r1, 0x50 -/* 802D2CD4 002CFC34 50 80 37 38 */ rlwimi r0, r4, 6, 0x1c, 0x1c -/* 802D2CD8 002CFC38 3B 63 95 10 */ addi r27, r3, lbl_80479510@l -/* 802D2CDC 002CFC3C 50 A0 27 BC */ rlwimi r0, r5, 4, 0x1e, 0x1e -/* 802D2CE0 002CFC40 3B 20 00 00 */ li r25, 0 -/* 802D2CE4 002CFC44 50 C0 1F FE */ rlwimi r0, r6, 3, 0x1f, 0x1f -/* 802D2CE8 002CFC48 3B 40 00 0C */ li r26, 0xc -/* 802D2CEC 002CFC4C 90 01 00 58 */ stw r0, 0x58(r1) -lbl_802D2CF0: -/* 802D2CF0 002CFC50 80 1C 00 00 */ lwz r0, 0(r28) -/* 802D2CF4 002CFC54 2C 00 00 0A */ cmpwi r0, 0xa -/* 802D2CF8 002CFC58 41 82 00 D8 */ beq lbl_802D2DD0 -/* 802D2CFC 002CFC5C 40 80 00 1C */ bge lbl_802D2D18 -/* 802D2D00 002CFC60 2C 00 00 03 */ cmpwi r0, 3 -/* 802D2D04 002CFC64 41 82 00 CC */ beq lbl_802D2DD0 -/* 802D2D08 002CFC68 40 80 00 C8 */ bge lbl_802D2DD0 -/* 802D2D0C 002CFC6C 2C 00 00 02 */ cmpwi r0, 2 -/* 802D2D10 002CFC70 40 80 00 14 */ bge lbl_802D2D24 -/* 802D2D14 002CFC74 48 00 00 BC */ b lbl_802D2DD0 -lbl_802D2D18: -/* 802D2D18 002CFC78 2C 00 00 0C */ cmpwi r0, 0xc -/* 802D2D1C 002CFC7C 40 80 00 B4 */ bge lbl_802D2DD0 -/* 802D2D20 002CFC80 48 00 00 60 */ b lbl_802D2D80 -lbl_802D2D24: -/* 802D2D24 002CFC84 C0 5B 00 0C */ lfs f2, 0xc(r27) -/* 802D2D28 002CFC88 3C 60 80 48 */ lis r3, lbl_80479510@ha -/* 802D2D2C 002CFC8C C0 3B 00 10 */ lfs f1, 0x10(r27) -/* 802D2D30 002CFC90 38 03 95 10 */ addi r0, r3, lbl_80479510@l -/* 802D2D34 002CFC94 C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 802D2D38 002CFC98 FC 40 10 50 */ fneg f2, f2 -/* 802D2D3C 002CFC9C FC 20 08 50 */ fneg f1, f1 -/* 802D2D40 002CFCA0 7F A5 EB 78 */ mr r5, r29 -/* 802D2D44 002CFCA4 FC 00 00 50 */ fneg f0, f0 -/* 802D2D48 002CFCA8 7F C6 F3 78 */ mr r6, r30 -/* 802D2D4C 002CFCAC D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 802D2D50 002CFCB0 38 61 01 98 */ addi r3, r1, 0x198 -/* 802D2D54 002CFCB4 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 802D2D58 002CFCB8 38 81 00 5C */ addi r4, r1, 0x5c -/* 802D2D5C 002CFCBC 7C E0 D2 14 */ add r7, r0, r26 -/* 802D2D60 002CFCC0 39 01 00 2C */ addi r8, r1, 0x2c -/* 802D2D64 002CFCC4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802D2D68 002CFCC8 4B FF B5 51 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802D2D6C 002CFCCC 7C 64 1B 78 */ mr r4, r3 -/* 802D2D70 002CFCD0 7F E3 FB 78 */ mr r3, r31 -/* 802D2D74 002CFCD4 38 A0 00 00 */ li r5, 0 -/* 802D2D78 002CFCD8 4B EB 28 A9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D2D7C 002CFCDC 48 00 00 54 */ b lbl_802D2DD0 -lbl_802D2D80: -/* 802D2D80 002CFCE0 C0 5B 00 00 */ lfs f2, 0(r27) -/* 802D2D84 002CFCE4 7F A5 EB 78 */ mr r5, r29 -/* 802D2D88 002CFCE8 C0 3B 00 04 */ lfs f1, 4(r27) -/* 802D2D8C 002CFCEC 7F C6 F3 78 */ mr r6, r30 -/* 802D2D90 002CFCF0 C0 1B 00 08 */ lfs f0, 8(r27) -/* 802D2D94 002CFCF4 FC 40 10 50 */ fneg f2, f2 -/* 802D2D98 002CFCF8 FC 20 08 50 */ fneg f1, f1 -/* 802D2D9C 002CFCFC 7F 67 DB 78 */ mr r7, r27 -/* 802D2DA0 002CFD00 FC 00 00 50 */ fneg f0, f0 -/* 802D2DA4 002CFD04 38 61 01 38 */ addi r3, r1, 0x138 -/* 802D2DA8 002CFD08 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802D2DAC 002CFD0C 38 81 00 5C */ addi r4, r1, 0x5c -/* 802D2DB0 002CFD10 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802D2DB4 002CFD14 39 01 00 20 */ addi r8, r1, 0x20 -/* 802D2DB8 002CFD18 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D2DBC 002CFD1C 4B FF B4 FD */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802D2DC0 002CFD20 7C 64 1B 78 */ mr r4, r3 -/* 802D2DC4 002CFD24 7F E3 FB 78 */ mr r3, r31 -/* 802D2DC8 002CFD28 38 A0 00 00 */ li r5, 0 -/* 802D2DCC 002CFD2C 4B EB 28 55 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -lbl_802D2DD0: -/* 802D2DD0 002CFD30 3B 39 00 01 */ addi r25, r25, 1 -/* 802D2DD4 002CFD34 3B 7B 00 18 */ addi r27, r27, 0x18 -/* 802D2DD8 002CFD38 2C 19 00 03 */ cmpwi r25, 3 -/* 802D2DDC 002CFD3C 3B 5A 00 18 */ addi r26, r26, 0x18 -/* 802D2DE0 002CFD40 3B 9C 00 04 */ addi r28, r28, 4 -/* 802D2DE4 002CFD44 41 80 FF 0C */ blt lbl_802D2CF0 -/* 802D2DE8 002CFD48 80 1F 00 00 */ lwz r0, 0(r31) -/* 802D2DEC 002CFD4C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D2DF0 002CFD50 40 82 00 B4 */ bne lbl_802D2EA4 -/* 802D2DF4 002CFD54 3C 60 80 48 */ lis r3, lbl_80479510@ha -/* 802D2DF8 002CFD58 7F A5 EB 78 */ mr r5, r29 -/* 802D2DFC 002CFD5C 38 63 95 10 */ addi r3, r3, lbl_80479510@l -/* 802D2E00 002CFD60 7F C6 F3 78 */ mr r6, r30 -/* 802D2E04 002CFD64 C0 23 00 34 */ lfs f1, 0x34(r3) -/* 802D2E08 002CFD68 38 E3 00 30 */ addi r7, r3, 0x30 -/* 802D2E0C 002CFD6C C0 43 00 30 */ lfs f2, 0x30(r3) -/* 802D2E10 002CFD70 38 81 00 5C */ addi r4, r1, 0x5c -/* 802D2E14 002CFD74 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 802D2E18 002CFD78 FC 20 08 50 */ fneg f1, f1 -/* 802D2E1C 002CFD7C FC 40 10 50 */ fneg f2, f2 -/* 802D2E20 002CFD80 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 802D2E24 002CFD84 FC 00 00 50 */ fneg f0, f0 -/* 802D2E28 002CFD88 39 01 00 14 */ addi r8, r1, 0x14 -/* 802D2E2C 002CFD8C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D2E30 002CFD90 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D2E34 002CFD94 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D2E38 002CFD98 4B FF B4 81 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802D2E3C 002CFD9C 7C 64 1B 78 */ mr r4, r3 -/* 802D2E40 002CFDA0 7F E3 FB 78 */ mr r3, r31 -/* 802D2E44 002CFDA4 38 A0 00 00 */ li r5, 0 -/* 802D2E48 002CFDA8 4B EB 27 D9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D2E4C 002CFDAC 3C 60 80 48 */ lis r3, lbl_80479510@ha -/* 802D2E50 002CFDB0 7F A5 EB 78 */ mr r5, r29 -/* 802D2E54 002CFDB4 38 63 95 10 */ addi r3, r3, lbl_80479510@l -/* 802D2E58 002CFDB8 7F C6 F3 78 */ mr r6, r30 -/* 802D2E5C 002CFDBC C0 23 00 40 */ lfs f1, 0x40(r3) -/* 802D2E60 002CFDC0 38 E3 00 3C */ addi r7, r3, 0x3c -/* 802D2E64 002CFDC4 C0 43 00 3C */ lfs f2, 0x3c(r3) -/* 802D2E68 002CFDC8 38 81 00 5C */ addi r4, r1, 0x5c -/* 802D2E6C 002CFDCC C0 03 00 44 */ lfs f0, 0x44(r3) -/* 802D2E70 002CFDD0 FC 20 08 50 */ fneg f1, f1 -/* 802D2E74 002CFDD4 FC 40 10 50 */ fneg f2, f2 -/* 802D2E78 002CFDD8 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D2E7C 002CFDDC FC 00 00 50 */ fneg f0, f0 -/* 802D2E80 002CFDE0 39 01 00 08 */ addi r8, r1, 8 -/* 802D2E84 002CFDE4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802D2E88 002CFDE8 D0 41 00 08 */ stfs f2, 8(r1) -/* 802D2E8C 002CFDEC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802D2E90 002CFDF0 4B FF B4 29 */ bl __ct__14CCollisionInfoFRC6CAABoxRC13CMaterialListRC13CMaterialListRC9CVector3fRC9CVector3f -/* 802D2E94 002CFDF4 7C 64 1B 78 */ mr r4, r3 -/* 802D2E98 002CFDF8 7F E3 FB 78 */ mr r3, r31 -/* 802D2E9C 002CFDFC 38 A0 00 00 */ li r5, 0 -/* 802D2EA0 002CFE00 4B EB 27 81 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -lbl_802D2EA4: -/* 802D2EA4 002CFE04 38 60 00 01 */ li r3, 1 -lbl_802D2EA8: -/* 802D2EA8 002CFE08 BB 21 02 04 */ lmw r25, 0x204(r1) -/* 802D2EAC 002CFE0C 80 01 02 24 */ lwz r0, 0x224(r1) -/* 802D2EB0 002CFE10 7C 08 03 A6 */ mtlr r0 -/* 802D2EB4 002CFE14 38 21 02 20 */ addi r1, r1, 0x220 -/* 802D2EB8 002CFE18 4E 80 00 20 */ blr - -.global AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox -AABoxAABoxIntersection__13CollisionUtilFRC6CAABoxRC6CAABox: -/* 802D2EBC 002CFE1C C0 04 00 00 */ lfs f0, 0(r4) -/* 802D2EC0 002CFE20 C0 23 00 00 */ lfs f1, 0(r3) -/* 802D2EC4 002CFE24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2EC8 002CFE28 40 81 00 08 */ ble lbl_802D2ED0 -/* 802D2ECC 002CFE2C 48 00 00 08 */ b lbl_802D2ED4 -lbl_802D2ED0: -/* 802D2ED0 002CFE30 FC 20 00 90 */ fmr f1, f0 -lbl_802D2ED4: -/* 802D2ED4 002CFE34 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D2ED8 002CFE38 C0 43 00 04 */ lfs f2, 4(r3) -/* 802D2EDC 002CFE3C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D2EE0 002CFE40 40 81 00 08 */ ble lbl_802D2EE8 -/* 802D2EE4 002CFE44 48 00 00 08 */ b lbl_802D2EEC -lbl_802D2EE8: -/* 802D2EE8 002CFE48 FC 40 00 90 */ fmr f2, f0 -lbl_802D2EEC: -/* 802D2EEC 002CFE4C C0 04 00 08 */ lfs f0, 8(r4) -/* 802D2EF0 002CFE50 C0 63 00 08 */ lfs f3, 8(r3) -/* 802D2EF4 002CFE54 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D2EF8 002CFE58 40 81 00 08 */ ble lbl_802D2F00 -/* 802D2EFC 002CFE5C 48 00 00 08 */ b lbl_802D2F04 -lbl_802D2F00: -/* 802D2F00 002CFE60 FC 60 00 90 */ fmr f3, f0 -lbl_802D2F04: -/* 802D2F04 002CFE64 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D2F08 002CFE68 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 802D2F0C 002CFE6C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D2F10 002CFE70 40 80 00 08 */ bge lbl_802D2F18 -/* 802D2F14 002CFE74 48 00 00 08 */ b lbl_802D2F1C -lbl_802D2F18: -/* 802D2F18 002CFE78 FC 80 00 90 */ fmr f4, f0 -lbl_802D2F1C: -/* 802D2F1C 002CFE7C C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802D2F20 002CFE80 C0 A3 00 10 */ lfs f5, 0x10(r3) -/* 802D2F24 002CFE84 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802D2F28 002CFE88 40 80 00 08 */ bge lbl_802D2F30 -/* 802D2F2C 002CFE8C 48 00 00 08 */ b lbl_802D2F34 -lbl_802D2F30: -/* 802D2F30 002CFE90 FC A0 00 90 */ fmr f5, f0 -lbl_802D2F34: -/* 802D2F34 002CFE94 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 802D2F38 002CFE98 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802D2F3C 002CFE9C C0 23 00 14 */ lfs f1, 0x14(r3) -/* 802D2F40 002CFEA0 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2F44 002CFEA4 41 82 00 2C */ beq lbl_802D2F70 -/* 802D2F48 002CFEA8 FC 02 28 40 */ fcmpo cr0, f2, f5 -/* 802D2F4C 002CFEAC 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2F50 002CFEB0 41 82 00 20 */ beq lbl_802D2F70 -/* 802D2F54 002CFEB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D2F58 002CFEB8 40 80 00 08 */ bge lbl_802D2F60 -/* 802D2F5C 002CFEBC 48 00 00 08 */ b lbl_802D2F64 -lbl_802D2F60: -/* 802D2F60 002CFEC0 FC 20 00 90 */ fmr f1, f0 -lbl_802D2F64: -/* 802D2F64 002CFEC4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D2F68 002CFEC8 4C 41 13 82 */ cror 2, 1, 2 -/* 802D2F6C 002CFECC 40 82 00 0C */ bne lbl_802D2F78 -lbl_802D2F70: -/* 802D2F70 002CFED0 38 60 00 00 */ li r3, 0 -/* 802D2F74 002CFED4 4E 80 00 20 */ blr -lbl_802D2F78: -/* 802D2F78 002CFED8 38 60 00 01 */ li r3, 1 -/* 802D2F7C 002CFEDC 4E 80 00 20 */ blr - -.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf -RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxRfRf: -/* 802D2F80 002CFEE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D2F84 002CFEE4 38 00 00 03 */ li r0, 3 -/* 802D2F88 002CFEE8 C0 22 C4 CC */ lfs f1, lbl_805AE1EC@sda21(r2) -/* 802D2F8C 002CFEEC C0 43 00 00 */ lfs f2, 0(r3) -/* 802D2F90 002CFEF0 38 E1 00 08 */ addi r7, r1, 8 -/* 802D2F94 002CFEF4 C1 03 00 04 */ lfs f8, 4(r3) -/* 802D2F98 002CFEF8 39 01 00 14 */ addi r8, r1, 0x14 -/* 802D2F9C 002CFEFC C0 E3 00 08 */ lfs f7, 8(r3) -/* 802D2FA0 002CFF00 C0 C3 00 2C */ lfs f6, 0x2c(r3) -/* 802D2FA4 002CFF04 C0 A3 00 30 */ lfs f5, 0x30(r3) -/* 802D2FA8 002CFF08 C0 83 00 34 */ lfs f4, 0x34(r3) -/* 802D2FAC 002CFF0C 38 64 00 0C */ addi r3, r4, 0xc -/* 802D2FB0 002CFF10 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D2FB4 002CFF14 C0 02 C4 D0 */ lfs f0, lbl_805AE1F0@sda21(r2) -/* 802D2FB8 002CFF18 D0 25 00 00 */ stfs f1, 0(r5) -/* 802D2FBC 002CFF1C C0 62 C4 B8 */ lfs f3, lbl_805AE1D8@sda21(r2) -/* 802D2FC0 002CFF20 C0 42 C5 04 */ lfs f2, lbl_805AE224@sda21(r2) -/* 802D2FC4 002CFF24 D1 01 00 18 */ stfs f8, 0x18(r1) -/* 802D2FC8 002CFF28 D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 802D2FCC 002CFF2C D0 C1 00 08 */ stfs f6, 8(r1) -/* 802D2FD0 002CFF30 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 802D2FD4 002CFF34 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 802D2FD8 002CFF38 D0 06 00 00 */ stfs f0, 0(r6) -/* 802D2FDC 002CFF3C 7C 09 03 A6 */ mtctr r0 -lbl_802D2FE0: -/* 802D2FE0 002CFF40 C0 C7 00 00 */ lfs f6, 0(r7) -/* 802D2FE4 002CFF44 C0 A8 00 00 */ lfs f5, 0(r8) -/* 802D2FE8 002CFF48 EC 06 18 28 */ fsubs f0, f6, f3 -/* 802D2FEC 002CFF4C C0 84 00 00 */ lfs f4, 0(r4) -/* 802D2FF0 002CFF50 C0 E3 00 00 */ lfs f7, 0(r3) -/* 802D2FF4 002CFF54 FC 00 02 10 */ fabs f0, f0 -/* 802D2FF8 002CFF58 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802D2FFC 002CFF5C 40 80 00 1C */ bge lbl_802D3018 -/* 802D3000 002CFF60 FC 05 20 40 */ fcmpo cr0, f5, f4 -/* 802D3004 002CFF64 41 80 00 0C */ blt lbl_802D3010 -/* 802D3008 002CFF68 FC 05 38 40 */ fcmpo cr0, f5, f7 -/* 802D300C 002CFF6C 40 81 00 98 */ ble lbl_802D30A4 -lbl_802D3010: -/* 802D3010 002CFF70 38 60 00 00 */ li r3, 0 -/* 802D3014 002CFF74 48 00 00 C4 */ b lbl_802D30D8 -lbl_802D3018: -/* 802D3018 002CFF78 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 802D301C 002CFF7C 40 80 00 48 */ bge lbl_802D3064 -/* 802D3020 002CFF80 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) -/* 802D3024 002CFF84 EC E7 28 28 */ fsubs f7, f7, f5 -/* 802D3028 002CFF88 C0 05 00 00 */ lfs f0, 0(r5) -/* 802D302C 002CFF8C EC 84 28 28 */ fsubs f4, f4, f5 -/* 802D3030 002CFF90 EC 21 30 24 */ fdivs f1, f1, f6 -/* 802D3034 002CFF94 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 802D3038 002CFF98 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 802D303C 002CFF9C 40 80 00 0C */ bge lbl_802D3048 -/* 802D3040 002CFFA0 EC 07 00 72 */ fmuls f0, f7, f1 -/* 802D3044 002CFFA4 D0 05 00 00 */ stfs f0, 0(r5) -lbl_802D3048: -/* 802D3048 002CFFA8 C0 06 00 00 */ lfs f0, 0(r6) -/* 802D304C 002CFFAC EC 00 01 B2 */ fmuls f0, f0, f6 -/* 802D3050 002CFFB0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D3054 002CFFB4 40 81 00 50 */ ble lbl_802D30A4 -/* 802D3058 002CFFB8 EC 04 00 72 */ fmuls f0, f4, f1 -/* 802D305C 002CFFBC D0 06 00 00 */ stfs f0, 0(r6) -/* 802D3060 002CFFC0 48 00 00 44 */ b lbl_802D30A4 -lbl_802D3064: -/* 802D3064 002CFFC4 C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) -/* 802D3068 002CFFC8 EC 84 28 28 */ fsubs f4, f4, f5 -/* 802D306C 002CFFCC C0 05 00 00 */ lfs f0, 0(r5) -/* 802D3070 002CFFD0 EC A7 28 28 */ fsubs f5, f7, f5 -/* 802D3074 002CFFD4 EC 21 30 24 */ fdivs f1, f1, f6 -/* 802D3078 002CFFD8 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 802D307C 002CFFDC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D3080 002CFFE0 40 81 00 0C */ ble lbl_802D308C -/* 802D3084 002CFFE4 EC 04 00 72 */ fmuls f0, f4, f1 -/* 802D3088 002CFFE8 D0 05 00 00 */ stfs f0, 0(r5) -lbl_802D308C: -/* 802D308C 002CFFEC C0 06 00 00 */ lfs f0, 0(r6) -/* 802D3090 002CFFF0 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 802D3094 002CFFF4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802D3098 002CFFF8 40 80 00 0C */ bge lbl_802D30A4 -/* 802D309C 002CFFFC EC 05 00 72 */ fmuls f0, f5, f1 -/* 802D30A0 002D0000 D0 06 00 00 */ stfs f0, 0(r6) -lbl_802D30A4: -/* 802D30A4 002D0004 38 E7 00 04 */ addi r7, r7, 4 -/* 802D30A8 002D0008 39 08 00 04 */ addi r8, r8, 4 -/* 802D30AC 002D000C 38 84 00 04 */ addi r4, r4, 4 -/* 802D30B0 002D0010 38 63 00 04 */ addi r3, r3, 4 -/* 802D30B4 002D0014 42 00 FF 2C */ bdnz lbl_802D2FE0 -/* 802D30B8 002D0018 C0 25 00 00 */ lfs f1, 0(r5) -/* 802D30BC 002D001C C0 06 00 00 */ lfs f0, 0(r6) -/* 802D30C0 002D0020 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D30C4 002D0024 4C 40 13 82 */ cror 2, 0, 2 -/* 802D30C8 002D0028 40 82 00 0C */ bne lbl_802D30D4 -/* 802D30CC 002D002C 38 60 00 02 */ li r3, 2 -/* 802D30D0 002D0030 48 00 00 08 */ b lbl_802D30D8 -lbl_802D30D4: -/* 802D30D4 002D0034 38 60 00 00 */ li r3, 0 -lbl_802D30D8: -/* 802D30D8 002D0038 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D30DC 002D003C 4E 80 00 20 */ blr - -.global RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd -RayAABoxIntersection_Double__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRd: -/* 802D30E0 002D0040 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802D30E4 002D0044 7C 08 02 A6 */ mflr r0 -/* 802D30E8 002D0048 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802D30EC 002D004C DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 802D30F0 002D0050 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 802D30F4 002D0054 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 802D30F8 002D0058 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 802D30FC 002D005C DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 802D3100 002D0060 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 802D3104 002D0064 BF 61 00 AC */ stmw r27, 0xac(r1) -/* 802D3108 002D0068 3C E0 80 3D */ lis r7, lbl_803D0004@ha -/* 802D310C 002D006C 7C 7B 1B 78 */ mr r27, r3 -/* 802D3110 002D0070 84 67 6A 68 */ lwzu r3, 0x6a68(r7) -/* 802D3114 002D0074 7C BE 2B 78 */ mr r30, r5 -/* 802D3118 002D0078 7C 9C 23 78 */ mr r28, r4 -/* 802D311C 002D007C 7C DF 33 78 */ mr r31, r6 -/* 802D3120 002D0080 80 A7 00 04 */ lwz r5, lbl_803D0004@l(r7) -/* 802D3124 002D0084 7F 64 DB 78 */ mr r4, r27 -/* 802D3128 002D0088 80 07 00 08 */ lwz r0, 8(r7) -/* 802D312C 002D008C 3B A0 00 01 */ li r29, 1 -/* 802D3130 002D0090 90 61 00 08 */ stw r3, 8(r1) -/* 802D3134 002D0094 38 61 00 90 */ addi r3, r1, 0x90 -/* 802D3138 002D0098 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D313C 002D009C 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D3140 002D00A0 48 04 14 45 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3144 002D00A4 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D3148 002D00A8 38 9B 00 18 */ addi r4, r27, 0x18 -/* 802D314C 002D00AC 48 04 14 39 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3150 002D00B0 3C 60 80 3D */ lis r3, lbl_803D6A78@ha -/* 802D3154 002D00B4 7F 84 E3 78 */ mr r4, r28 -/* 802D3158 002D00B8 38 A3 6A 78 */ addi r5, r3, lbl_803D6A78@l -/* 802D315C 002D00BC 38 61 00 48 */ addi r3, r1, 0x48 -/* 802D3160 002D00C0 C8 45 00 00 */ lfd f2, 0(r5) -/* 802D3164 002D00C4 C8 25 00 08 */ lfd f1, 8(r5) -/* 802D3168 002D00C8 C8 05 00 10 */ lfd f0, 0x10(r5) -/* 802D316C 002D00CC D8 41 00 60 */ stfd f2, 0x60(r1) -/* 802D3170 002D00D0 D8 21 00 68 */ stfd f1, 0x68(r1) -/* 802D3174 002D00D4 D8 01 00 70 */ stfd f0, 0x70(r1) -/* 802D3178 002D00D8 48 04 14 0D */ bl __ct__9CVector3dFRC9CVector3f -/* 802D317C 002D00DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D3180 002D00E0 38 9C 00 0C */ addi r4, r28, 0xc -/* 802D3184 002D00E4 48 04 14 01 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3188 002D00E8 C8 22 C4 A0 */ lfd f1, lbl_805AE1C0@sda21(r2) -/* 802D318C 002D00EC 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D3190 002D00F0 FC 40 08 90 */ fmr f2, f1 -/* 802D3194 002D00F4 FC 60 08 90 */ fmr f3, f1 -/* 802D3198 002D00F8 48 04 14 09 */ bl __ct__9CVector3dFddd -/* 802D319C 002D00FC C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D31A0 002D0100 C8 41 00 78 */ lfd f2, 0x78(r1) -/* 802D31A4 002D0104 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802D31A8 002D0108 41 82 01 24 */ beq lbl_802D32CC -/* 802D31AC 002D010C C8 61 00 80 */ lfd f3, 0x80(r1) -/* 802D31B0 002D0110 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 802D31B4 002D0114 41 82 01 18 */ beq lbl_802D32CC -/* 802D31B8 002D0118 C8 81 00 88 */ lfd f4, 0x88(r1) -/* 802D31BC 002D011C FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 802D31C0 002D0120 41 82 01 0C */ beq lbl_802D32CC -/* 802D31C4 002D0124 C8 21 00 90 */ lfd f1, 0x90(r1) -/* 802D31C8 002D0128 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 802D31CC 002D012C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D31D0 002D0130 40 80 00 20 */ bge lbl_802D31F0 -/* 802D31D4 002D0134 FC 00 08 28 */ fsub f0, f0, f1 -/* 802D31D8 002D0138 38 00 00 01 */ li r0, 1 -/* 802D31DC 002D013C 90 01 00 08 */ stw r0, 8(r1) -/* 802D31E0 002D0140 3B A0 00 00 */ li r29, 0 -/* 802D31E4 002D0144 FC 00 10 24 */ fdiv f0, f0, f2 -/* 802D31E8 002D0148 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 802D31EC 002D014C 48 00 00 28 */ b lbl_802D3214 -lbl_802D31F0: -/* 802D31F0 002D0150 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 802D31F4 002D0154 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D31F8 002D0158 40 81 00 1C */ ble lbl_802D3214 -/* 802D31FC 002D015C FC 00 08 28 */ fsub f0, f0, f1 -/* 802D3200 002D0160 38 00 00 00 */ li r0, 0 -/* 802D3204 002D0164 90 01 00 08 */ stw r0, 8(r1) -/* 802D3208 002D0168 3B A0 00 00 */ li r29, 0 -/* 802D320C 002D016C FC 00 10 24 */ fdiv f0, f0, f2 -/* 802D3210 002D0170 D8 01 00 60 */ stfd f0, 0x60(r1) -lbl_802D3214: -/* 802D3214 002D0174 C8 21 00 98 */ lfd f1, 0x98(r1) -/* 802D3218 002D0178 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 802D321C 002D017C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3220 002D0180 40 80 00 20 */ bge lbl_802D3240 -/* 802D3224 002D0184 FC 00 08 28 */ fsub f0, f0, f1 -/* 802D3228 002D0188 38 00 00 01 */ li r0, 1 -/* 802D322C 002D018C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D3230 002D0190 3B A0 00 00 */ li r29, 0 -/* 802D3234 002D0194 FC 00 18 24 */ fdiv f0, f0, f3 -/* 802D3238 002D0198 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 802D323C 002D019C 48 00 00 28 */ b lbl_802D3264 -lbl_802D3240: -/* 802D3240 002D01A0 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802D3244 002D01A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3248 002D01A8 40 81 00 1C */ ble lbl_802D3264 -/* 802D324C 002D01AC FC 00 08 28 */ fsub f0, f0, f1 -/* 802D3250 002D01B0 38 00 00 00 */ li r0, 0 -/* 802D3254 002D01B4 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D3258 002D01B8 3B A0 00 00 */ li r29, 0 -/* 802D325C 002D01BC FC 00 18 24 */ fdiv f0, f0, f3 -/* 802D3260 002D01C0 D8 01 00 68 */ stfd f0, 0x68(r1) -lbl_802D3264: -/* 802D3264 002D01C4 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 802D3268 002D01C8 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802D326C 002D01CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3270 002D01D0 40 80 00 20 */ bge lbl_802D3290 -/* 802D3274 002D01D4 FC 00 08 28 */ fsub f0, f0, f1 -/* 802D3278 002D01D8 38 00 00 01 */ li r0, 1 -/* 802D327C 002D01DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D3280 002D01E0 3B A0 00 00 */ li r29, 0 -/* 802D3284 002D01E4 FC 00 20 24 */ fdiv f0, f0, f4 -/* 802D3288 002D01E8 D8 01 00 70 */ stfd f0, 0x70(r1) -/* 802D328C 002D01EC 48 00 00 28 */ b lbl_802D32B4 -lbl_802D3290: -/* 802D3290 002D01F0 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 802D3294 002D01F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3298 002D01F8 40 81 00 1C */ ble lbl_802D32B4 -/* 802D329C 002D01FC FC 00 08 28 */ fsub f0, f0, f1 -/* 802D32A0 002D0200 38 00 00 00 */ li r0, 0 -/* 802D32A4 002D0204 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D32A8 002D0208 3B A0 00 00 */ li r29, 0 -/* 802D32AC 002D020C FC 00 20 24 */ fdiv f0, f0, f4 -/* 802D32B0 002D0210 D8 01 00 70 */ stfd f0, 0x70(r1) -lbl_802D32B4: -/* 802D32B4 002D0214 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802D32B8 002D0218 41 82 01 60 */ beq lbl_802D3418 -/* 802D32BC 002D021C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D32C0 002D0220 38 60 00 01 */ li r3, 1 -/* 802D32C4 002D0224 D8 1F 00 00 */ stfd f0, 0(r31) -/* 802D32C8 002D0228 48 00 02 9C */ b lbl_802D3564 -lbl_802D32CC: -/* 802D32CC 002D022C C8 21 00 90 */ lfd f1, 0x90(r1) -/* 802D32D0 002D0230 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 802D32D4 002D0234 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D32D8 002D0238 40 80 00 18 */ bge lbl_802D32F0 -/* 802D32DC 002D023C 38 00 00 01 */ li r0, 1 -/* 802D32E0 002D0240 FF E0 00 90 */ fmr f31, f0 -/* 802D32E4 002D0244 90 01 00 08 */ stw r0, 8(r1) -/* 802D32E8 002D0248 3B A0 00 00 */ li r29, 0 -/* 802D32EC 002D024C 48 00 00 20 */ b lbl_802D330C -lbl_802D32F0: -/* 802D32F0 002D0250 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 802D32F4 002D0254 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D32F8 002D0258 40 81 00 14 */ ble lbl_802D330C -/* 802D32FC 002D025C 38 00 00 00 */ li r0, 0 -/* 802D3300 002D0260 FF E0 00 90 */ fmr f31, f0 -/* 802D3304 002D0264 90 01 00 08 */ stw r0, 8(r1) -/* 802D3308 002D0268 3B A0 00 00 */ li r29, 0 -lbl_802D330C: -/* 802D330C 002D026C C8 61 00 98 */ lfd f3, 0x98(r1) -/* 802D3310 002D0270 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 802D3314 002D0274 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3318 002D0278 40 80 00 18 */ bge lbl_802D3330 -/* 802D331C 002D027C 38 00 00 01 */ li r0, 1 -/* 802D3320 002D0280 FF C0 00 90 */ fmr f30, f0 -/* 802D3324 002D0284 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D3328 002D0288 3B A0 00 00 */ li r29, 0 -/* 802D332C 002D028C 48 00 00 20 */ b lbl_802D334C -lbl_802D3330: -/* 802D3330 002D0290 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802D3334 002D0294 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3338 002D0298 40 81 00 14 */ ble lbl_802D334C -/* 802D333C 002D029C 38 00 00 00 */ li r0, 0 -/* 802D3340 002D02A0 FF C0 00 90 */ fmr f30, f0 -/* 802D3344 002D02A4 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D3348 002D02A8 3B A0 00 00 */ li r29, 0 -lbl_802D334C: -/* 802D334C 002D02AC C8 81 00 A0 */ lfd f4, 0xa0(r1) -/* 802D3350 002D02B0 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802D3354 002D02B4 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D3358 002D02B8 40 80 00 18 */ bge lbl_802D3370 -/* 802D335C 002D02BC 38 00 00 01 */ li r0, 1 -/* 802D3360 002D02C0 FF A0 00 90 */ fmr f29, f0 -/* 802D3364 002D02C4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D3368 002D02C8 3B A0 00 00 */ li r29, 0 -/* 802D336C 002D02CC 48 00 00 20 */ b lbl_802D338C -lbl_802D3370: -/* 802D3370 002D02D0 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 802D3374 002D02D4 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802D3378 002D02D8 40 81 00 14 */ ble lbl_802D338C -/* 802D337C 002D02DC 38 00 00 00 */ li r0, 0 -/* 802D3380 002D02E0 FF A0 00 90 */ fmr f29, f0 -/* 802D3384 002D02E4 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D3388 002D02E8 3B A0 00 00 */ li r29, 0 -lbl_802D338C: -/* 802D338C 002D02EC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802D3390 002D02F0 41 82 00 14 */ beq lbl_802D33A4 -/* 802D3394 002D02F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D3398 002D02F8 38 60 00 01 */ li r3, 1 -/* 802D339C 002D02FC D8 1F 00 00 */ stfd f0, 0(r31) -/* 802D33A0 002D0300 48 00 01 C4 */ b lbl_802D3564 -lbl_802D33A4: -/* 802D33A4 002D0304 80 01 00 08 */ lwz r0, 8(r1) -/* 802D33A8 002D0308 2C 00 00 02 */ cmpwi r0, 2 -/* 802D33AC 002D030C 41 82 00 1C */ beq lbl_802D33C8 -/* 802D33B0 002D0310 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D33B4 002D0314 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 802D33B8 002D0318 41 82 00 10 */ beq lbl_802D33C8 -/* 802D33BC 002D031C FC 1F 08 28 */ fsub f0, f31, f1 -/* 802D33C0 002D0320 FC 00 10 24 */ fdiv f0, f0, f2 -/* 802D33C4 002D0324 D8 01 00 60 */ stfd f0, 0x60(r1) -lbl_802D33C8: -/* 802D33C8 002D0328 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D33CC 002D032C 2C 00 00 02 */ cmpwi r0, 2 -/* 802D33D0 002D0330 41 82 00 20 */ beq lbl_802D33F0 -/* 802D33D4 002D0334 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D33D8 002D0338 C8 21 00 80 */ lfd f1, 0x80(r1) -/* 802D33DC 002D033C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802D33E0 002D0340 41 82 00 10 */ beq lbl_802D33F0 -/* 802D33E4 002D0344 FC 1E 18 28 */ fsub f0, f30, f3 -/* 802D33E8 002D0348 FC 00 08 24 */ fdiv f0, f0, f1 -/* 802D33EC 002D034C D8 01 00 68 */ stfd f0, 0x68(r1) -lbl_802D33F0: -/* 802D33F0 002D0350 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802D33F4 002D0354 2C 00 00 02 */ cmpwi r0, 2 -/* 802D33F8 002D0358 41 82 00 20 */ beq lbl_802D3418 -/* 802D33FC 002D035C C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D3400 002D0360 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 802D3404 002D0364 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 802D3408 002D0368 41 82 00 10 */ beq lbl_802D3418 -/* 802D340C 002D036C FC 1D 20 28 */ fsub f0, f29, f4 -/* 802D3410 002D0370 FC 00 08 24 */ fdiv f0, f0, f1 -/* 802D3414 002D0374 D8 01 00 70 */ stfd f0, 0x70(r1) -lbl_802D3418: -/* 802D3418 002D0378 C8 61 00 60 */ lfd f3, 0x60(r1) -/* 802D341C 002D037C 38 A0 00 00 */ li r5, 0 -/* 802D3420 002D0380 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 802D3424 002D0384 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3428 002D0388 40 80 00 0C */ bge lbl_802D3434 -/* 802D342C 002D038C 38 A0 00 01 */ li r5, 1 -/* 802D3430 002D0390 FC 60 00 90 */ fmr f3, f0 -lbl_802D3434: -/* 802D3434 002D0394 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 802D3438 002D0398 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D343C 002D039C 40 80 00 0C */ bge lbl_802D3448 -/* 802D3440 002D03A0 38 A0 00 02 */ li r5, 2 -/* 802D3444 002D03A4 FC 60 00 90 */ fmr f3, f0 -lbl_802D3448: -/* 802D3448 002D03A8 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D344C 002D03AC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3450 002D03B0 40 80 00 0C */ bge lbl_802D345C -/* 802D3454 002D03B4 38 60 00 00 */ li r3, 0 -/* 802D3458 002D03B8 48 00 01 0C */ b lbl_802D3564 -lbl_802D345C: -/* 802D345C 002D03BC C8 02 C4 A8 */ lfd f0, lbl_805AE1C8@sda21(r2) -/* 802D3460 002D03C0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3464 002D03C4 40 81 00 0C */ ble lbl_802D3470 -/* 802D3468 002D03C8 38 60 00 00 */ li r3, 0 -/* 802D346C 002D03CC 48 00 00 F8 */ b lbl_802D3564 -lbl_802D3470: -/* 802D3470 002D03D0 2C 05 00 00 */ cmpwi r5, 0 -/* 802D3474 002D03D4 41 82 00 30 */ beq lbl_802D34A4 -/* 802D3478 002D03D8 C8 21 00 90 */ lfd f1, 0x90(r1) -/* 802D347C 002D03DC C8 01 00 48 */ lfd f0, 0x48(r1) -/* 802D3480 002D03E0 FC 23 08 BA */ fmadd f1, f3, f2, f1 -/* 802D3484 002D03E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3488 002D03E8 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 802D348C 002D03EC 41 80 00 10 */ blt lbl_802D349C -/* 802D3490 002D03F0 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 802D3494 002D03F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3498 002D03F8 40 81 00 0C */ ble lbl_802D34A4 -lbl_802D349C: -/* 802D349C 002D03FC 38 60 00 00 */ li r3, 0 -/* 802D34A0 002D0400 48 00 00 C4 */ b lbl_802D3564 -lbl_802D34A4: -/* 802D34A4 002D0404 2C 05 00 01 */ cmpwi r5, 1 -/* 802D34A8 002D0408 41 82 00 34 */ beq lbl_802D34DC -/* 802D34AC 002D040C C8 41 00 80 */ lfd f2, 0x80(r1) -/* 802D34B0 002D0410 C8 21 00 98 */ lfd f1, 0x98(r1) -/* 802D34B4 002D0414 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 802D34B8 002D0418 FC 23 08 BA */ fmadd f1, f3, f2, f1 -/* 802D34BC 002D041C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D34C0 002D0420 D8 21 00 20 */ stfd f1, 0x20(r1) -/* 802D34C4 002D0424 41 80 00 10 */ blt lbl_802D34D4 -/* 802D34C8 002D0428 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 802D34CC 002D042C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D34D0 002D0430 40 81 00 0C */ ble lbl_802D34DC -lbl_802D34D4: -/* 802D34D4 002D0434 38 60 00 00 */ li r3, 0 -/* 802D34D8 002D0438 48 00 00 8C */ b lbl_802D3564 -lbl_802D34DC: -/* 802D34DC 002D043C 2C 05 00 02 */ cmpwi r5, 2 -/* 802D34E0 002D0440 41 82 00 34 */ beq lbl_802D3514 -/* 802D34E4 002D0444 C8 41 00 88 */ lfd f2, 0x88(r1) -/* 802D34E8 002D0448 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 802D34EC 002D044C C8 01 00 58 */ lfd f0, 0x58(r1) -/* 802D34F0 002D0450 FC 23 08 BA */ fmadd f1, f3, f2, f1 -/* 802D34F4 002D0454 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D34F8 002D0458 D8 21 00 28 */ stfd f1, 0x28(r1) -/* 802D34FC 002D045C 41 80 00 10 */ blt lbl_802D350C -/* 802D3500 002D0460 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 802D3504 002D0464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3508 002D0468 40 81 00 0C */ ble lbl_802D3514 -lbl_802D350C: -/* 802D350C 002D046C 38 60 00 00 */ li r3, 0 -/* 802D3510 002D0470 48 00 00 54 */ b lbl_802D3564 -lbl_802D3514: -/* 802D3514 002D0474 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D3518 002D0478 D8 7F 00 00 */ stfd f3, 0(r31) -/* 802D351C 002D047C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 802D3520 002D0480 54 A0 10 3A */ slwi r0, r5, 2 -/* 802D3524 002D0484 C0 04 00 00 */ lfs f0, 0(r4) -/* 802D3528 002D0488 38 61 00 08 */ addi r3, r1, 8 -/* 802D352C 002D048C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802D3530 002D0490 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D3534 002D0494 2C 00 00 01 */ cmpwi r0, 1 -/* 802D3538 002D0498 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D353C 002D049C D0 1E 00 04 */ stfs f0, 4(r30) -/* 802D3540 002D04A0 C0 04 00 08 */ lfs f0, 8(r4) -/* 802D3544 002D04A4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D3548 002D04A8 40 82 00 0C */ bne lbl_802D3554 -/* 802D354C 002D04AC C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) -/* 802D3550 002D04B0 48 00 00 08 */ b lbl_802D3558 -lbl_802D3554: -/* 802D3554 002D04B4 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -lbl_802D3558: -/* 802D3558 002D04B8 54 A0 10 3A */ slwi r0, r5, 2 -/* 802D355C 002D04BC 38 60 00 02 */ li r3, 2 -/* 802D3560 002D04C0 7C 1E 05 2E */ stfsx f0, r30, r0 -lbl_802D3564: -/* 802D3564 002D04C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802D3568 002D04C8 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802D356C 002D04CC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 802D3570 002D04D0 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 802D3574 002D04D4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 802D3578 002D04D8 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 802D357C 002D04DC BB 61 00 AC */ lmw r27, 0xac(r1) -/* 802D3580 002D04E0 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802D3584 002D04E4 7C 08 03 A6 */ mtlr r0 -/* 802D3588 002D04E8 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 802D358C 002D04EC 4E 80 00 20 */ blr - -.global RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf -RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf: -/* 802D3590 002D04F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802D3594 002D04F4 3C E0 80 3D */ lis r7, lbl_803D6A50@ha -/* 802D3598 002D04F8 3D 00 80 3D */ lis r8, lbl_803D6A5C@ha -/* 802D359C 002D04FC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D35A0 002D0500 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802D35A4 002D0504 39 27 6A 50 */ addi r9, r7, lbl_803D6A50@l -/* 802D35A8 002D0508 3C E0 80 5A */ lis r7, skZero3f@ha -/* 802D35AC 002D050C 39 48 6A 5C */ addi r10, r8, lbl_803D6A5C@l -/* 802D35B0 002D0510 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802D35B4 002D0514 3B C0 00 01 */ li r30, 1 -/* 802D35B8 002D0518 C4 87 66 A0 */ lfsu f4, skZero3f@l(r7) -/* 802D35BC 002D051C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802D35C0 002D0520 83 E9 00 00 */ lwz r31, 0(r9) -/* 802D35C4 002D0524 81 89 00 04 */ lwz r12, 4(r9) -/* 802D35C8 002D0528 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802D35CC 002D052C 81 69 00 08 */ lwz r11, 8(r9) -/* 802D35D0 002D0530 81 2A 00 00 */ lwz r9, 0(r10) -/* 802D35D4 002D0534 81 0A 00 04 */ lwz r8, 4(r10) -/* 802D35D8 002D0538 80 0A 00 08 */ lwz r0, 8(r10) -/* 802D35DC 002D053C C0 67 00 04 */ lfs f3, 4(r7) -/* 802D35E0 002D0540 C0 47 00 08 */ lfs f2, 8(r7) -/* 802D35E4 002D0544 93 E1 00 20 */ stw r31, 0x20(r1) -/* 802D35E8 002D0548 91 81 00 24 */ stw r12, 0x24(r1) -/* 802D35EC 002D054C 91 61 00 28 */ stw r11, 0x28(r1) -/* 802D35F0 002D0550 91 21 00 14 */ stw r9, 0x14(r1) -/* 802D35F4 002D0554 91 01 00 18 */ stw r8, 0x18(r1) -/* 802D35F8 002D0558 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802D35FC 002D055C D0 81 00 08 */ stfs f4, 8(r1) -/* 802D3600 002D0560 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 802D3604 002D0564 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802D3608 002D0568 41 82 01 24 */ beq lbl_802D372C -/* 802D360C 002D056C C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 802D3610 002D0570 FC 01 18 00 */ fcmpu cr0, f1, f3 -/* 802D3614 002D0574 41 82 01 18 */ beq lbl_802D372C -/* 802D3618 002D0578 C0 83 00 20 */ lfs f4, 0x20(r3) -/* 802D361C 002D057C FC 01 20 00 */ fcmpu cr0, f1, f4 -/* 802D3620 002D0580 41 82 01 0C */ beq lbl_802D372C -/* 802D3624 002D0584 C0 23 00 00 */ lfs f1, 0(r3) -/* 802D3628 002D0588 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D362C 002D058C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D3630 002D0590 40 80 00 20 */ bge lbl_802D3650 -/* 802D3634 002D0594 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D3638 002D0598 38 00 00 01 */ li r0, 1 -/* 802D363C 002D059C 90 01 00 20 */ stw r0, 0x20(r1) -/* 802D3640 002D05A0 3B C0 00 00 */ li r30, 0 -/* 802D3644 002D05A4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802D3648 002D05A8 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802D364C 002D05AC 48 00 00 28 */ b lbl_802D3674 -lbl_802D3650: -/* 802D3650 002D05B0 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 802D3654 002D05B4 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D3658 002D05B8 40 81 00 1C */ ble lbl_802D3674 -/* 802D365C 002D05BC EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D3660 002D05C0 38 00 00 00 */ li r0, 0 -/* 802D3664 002D05C4 90 01 00 20 */ stw r0, 0x20(r1) -/* 802D3668 002D05C8 3B C0 00 00 */ li r30, 0 -/* 802D366C 002D05CC EC 21 00 24 */ fdivs f1, f1, f0 -/* 802D3670 002D05D0 D0 21 00 14 */ stfs f1, 0x14(r1) -lbl_802D3674: -/* 802D3674 002D05D4 C0 23 00 04 */ lfs f1, 4(r3) -/* 802D3678 002D05D8 C0 44 00 04 */ lfs f2, 4(r4) -/* 802D367C 002D05DC FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D3680 002D05E0 40 80 00 20 */ bge lbl_802D36A0 -/* 802D3684 002D05E4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D3688 002D05E8 38 00 00 01 */ li r0, 1 -/* 802D368C 002D05EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D3690 002D05F0 3B C0 00 00 */ li r30, 0 -/* 802D3694 002D05F4 EC 21 18 24 */ fdivs f1, f1, f3 -/* 802D3698 002D05F8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D369C 002D05FC 48 00 00 28 */ b lbl_802D36C4 -lbl_802D36A0: -/* 802D36A0 002D0600 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 802D36A4 002D0604 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D36A8 002D0608 40 81 00 1C */ ble lbl_802D36C4 -/* 802D36AC 002D060C EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D36B0 002D0610 38 00 00 00 */ li r0, 0 -/* 802D36B4 002D0614 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D36B8 002D0618 3B C0 00 00 */ li r30, 0 -/* 802D36BC 002D061C EC 21 18 24 */ fdivs f1, f1, f3 -/* 802D36C0 002D0620 D0 21 00 18 */ stfs f1, 0x18(r1) -lbl_802D36C4: -/* 802D36C4 002D0624 C0 23 00 08 */ lfs f1, 8(r3) -/* 802D36C8 002D0628 C0 44 00 08 */ lfs f2, 8(r4) -/* 802D36CC 002D062C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D36D0 002D0630 40 80 00 20 */ bge lbl_802D36F0 -/* 802D36D4 002D0634 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D36D8 002D0638 38 00 00 01 */ li r0, 1 -/* 802D36DC 002D063C 90 01 00 28 */ stw r0, 0x28(r1) -/* 802D36E0 002D0640 3B C0 00 00 */ li r30, 0 -/* 802D36E4 002D0644 EC 21 20 24 */ fdivs f1, f1, f4 -/* 802D36E8 002D0648 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D36EC 002D064C 48 00 00 28 */ b lbl_802D3714 -lbl_802D36F0: -/* 802D36F0 002D0650 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 802D36F4 002D0654 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802D36F8 002D0658 40 81 00 1C */ ble lbl_802D3714 -/* 802D36FC 002D065C EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D3700 002D0660 38 00 00 00 */ li r0, 0 -/* 802D3704 002D0664 90 01 00 28 */ stw r0, 0x28(r1) -/* 802D3708 002D0668 3B C0 00 00 */ li r30, 0 -/* 802D370C 002D066C EC 21 20 24 */ fdivs f1, f1, f4 -/* 802D3710 002D0670 D0 21 00 1C */ stfs f1, 0x1c(r1) -lbl_802D3714: -/* 802D3714 002D0674 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802D3718 002D0678 41 82 01 60 */ beq lbl_802D3878 -/* 802D371C 002D067C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D3720 002D0680 38 60 00 01 */ li r3, 1 -/* 802D3724 002D0684 D0 06 00 00 */ stfs f0, 0(r6) -/* 802D3728 002D0688 48 00 02 98 */ b lbl_802D39C0 -lbl_802D372C: -/* 802D372C 002D068C C0 43 00 00 */ lfs f2, 0(r3) -/* 802D3730 002D0690 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D3734 002D0694 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D3738 002D0698 40 80 00 18 */ bge lbl_802D3750 -/* 802D373C 002D069C 38 00 00 01 */ li r0, 1 -/* 802D3740 002D06A0 FC A0 08 90 */ fmr f5, f1 -/* 802D3744 002D06A4 90 01 00 20 */ stw r0, 0x20(r1) -/* 802D3748 002D06A8 3B C0 00 00 */ li r30, 0 -/* 802D374C 002D06AC 48 00 00 20 */ b lbl_802D376C -lbl_802D3750: -/* 802D3750 002D06B0 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 802D3754 002D06B4 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D3758 002D06B8 40 81 00 14 */ ble lbl_802D376C -/* 802D375C 002D06BC 38 00 00 00 */ li r0, 0 -/* 802D3760 002D06C0 FC A0 08 90 */ fmr f5, f1 -/* 802D3764 002D06C4 90 01 00 20 */ stw r0, 0x20(r1) -/* 802D3768 002D06C8 3B C0 00 00 */ li r30, 0 -lbl_802D376C: -/* 802D376C 002D06CC C0 63 00 04 */ lfs f3, 4(r3) -/* 802D3770 002D06D0 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D3774 002D06D4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D3778 002D06D8 40 80 00 18 */ bge lbl_802D3790 -/* 802D377C 002D06DC 38 00 00 01 */ li r0, 1 -/* 802D3780 002D06E0 FC C0 08 90 */ fmr f6, f1 -/* 802D3784 002D06E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D3788 002D06E8 3B C0 00 00 */ li r30, 0 -/* 802D378C 002D06EC 48 00 00 20 */ b lbl_802D37AC -lbl_802D3790: -/* 802D3790 002D06F0 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 802D3794 002D06F4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D3798 002D06F8 40 81 00 14 */ ble lbl_802D37AC -/* 802D379C 002D06FC 38 00 00 00 */ li r0, 0 -/* 802D37A0 002D0700 FC C0 08 90 */ fmr f6, f1 -/* 802D37A4 002D0704 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D37A8 002D0708 3B C0 00 00 */ li r30, 0 -lbl_802D37AC: -/* 802D37AC 002D070C C0 83 00 08 */ lfs f4, 8(r3) -/* 802D37B0 002D0710 C0 24 00 08 */ lfs f1, 8(r4) -/* 802D37B4 002D0714 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 802D37B8 002D0718 40 80 00 18 */ bge lbl_802D37D0 -/* 802D37BC 002D071C 38 00 00 01 */ li r0, 1 -/* 802D37C0 002D0720 FC E0 08 90 */ fmr f7, f1 -/* 802D37C4 002D0724 90 01 00 28 */ stw r0, 0x28(r1) -/* 802D37C8 002D0728 3B C0 00 00 */ li r30, 0 -/* 802D37CC 002D072C 48 00 00 20 */ b lbl_802D37EC -lbl_802D37D0: -/* 802D37D0 002D0730 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 802D37D4 002D0734 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 802D37D8 002D0738 40 81 00 14 */ ble lbl_802D37EC -/* 802D37DC 002D073C 38 00 00 00 */ li r0, 0 -/* 802D37E0 002D0740 FC E0 08 90 */ fmr f7, f1 -/* 802D37E4 002D0744 90 01 00 28 */ stw r0, 0x28(r1) -/* 802D37E8 002D0748 3B C0 00 00 */ li r30, 0 -lbl_802D37EC: -/* 802D37EC 002D074C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802D37F0 002D0750 41 82 00 14 */ beq lbl_802D3804 -/* 802D37F4 002D0754 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D37F8 002D0758 38 60 00 01 */ li r3, 1 -/* 802D37FC 002D075C D0 06 00 00 */ stfs f0, 0(r6) -/* 802D3800 002D0760 48 00 01 C0 */ b lbl_802D39C0 -lbl_802D3804: -/* 802D3804 002D0764 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802D3808 002D0768 2C 00 00 02 */ cmpwi r0, 2 -/* 802D380C 002D076C 41 82 00 1C */ beq lbl_802D3828 -/* 802D3810 002D0770 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D3814 002D0774 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 802D3818 002D0778 41 82 00 10 */ beq lbl_802D3828 -/* 802D381C 002D077C EC 25 10 28 */ fsubs f1, f5, f2 -/* 802D3820 002D0780 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802D3824 002D0784 D0 21 00 14 */ stfs f1, 0x14(r1) -lbl_802D3828: -/* 802D3828 002D0788 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D382C 002D078C 2C 00 00 02 */ cmpwi r0, 2 -/* 802D3830 002D0790 41 82 00 20 */ beq lbl_802D3850 -/* 802D3834 002D0794 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D3838 002D0798 C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 802D383C 002D079C FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 802D3840 002D07A0 41 82 00 10 */ beq lbl_802D3850 -/* 802D3844 002D07A4 EC 26 18 28 */ fsubs f1, f6, f3 -/* 802D3848 002D07A8 EC 21 10 24 */ fdivs f1, f1, f2 -/* 802D384C 002D07AC D0 21 00 18 */ stfs f1, 0x18(r1) -lbl_802D3850: -/* 802D3850 002D07B0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 802D3854 002D07B4 2C 00 00 02 */ cmpwi r0, 2 -/* 802D3858 002D07B8 41 82 00 20 */ beq lbl_802D3878 -/* 802D385C 002D07BC C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D3860 002D07C0 C0 43 00 20 */ lfs f2, 0x20(r3) -/* 802D3864 002D07C4 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 802D3868 002D07C8 41 82 00 10 */ beq lbl_802D3878 -/* 802D386C 002D07CC EC 27 20 28 */ fsubs f1, f7, f4 -/* 802D3870 002D07D0 EC 21 10 24 */ fdivs f1, f1, f2 -/* 802D3874 002D07D4 D0 21 00 1C */ stfs f1, 0x1c(r1) -lbl_802D3878: -/* 802D3878 002D07D8 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 802D387C 002D07DC 39 00 00 00 */ li r8, 0 -/* 802D3880 002D07E0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802D3884 002D07E4 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D3888 002D07E8 40 80 00 0C */ bge lbl_802D3894 -/* 802D388C 002D07EC 39 00 00 01 */ li r8, 1 -/* 802D3890 002D07F0 FC 60 08 90 */ fmr f3, f1 -lbl_802D3894: -/* 802D3894 002D07F4 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802D3898 002D07F8 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D389C 002D07FC 40 80 00 0C */ bge lbl_802D38A8 -/* 802D38A0 002D0800 39 00 00 02 */ li r8, 2 -/* 802D38A4 002D0804 FC 60 08 90 */ fmr f3, f1 -lbl_802D38A8: -/* 802D38A8 002D0808 C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D38AC 002D080C FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D38B0 002D0810 40 80 00 0C */ bge lbl_802D38BC -/* 802D38B4 002D0814 38 60 00 00 */ li r3, 0 -/* 802D38B8 002D0818 48 00 01 08 */ b lbl_802D39C0 -lbl_802D38BC: -/* 802D38BC 002D081C C0 22 C4 BC */ lfs f1, lbl_805AE1DC@sda21(r2) -/* 802D38C0 002D0820 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 802D38C4 002D0824 40 81 00 0C */ ble lbl_802D38D0 -/* 802D38C8 002D0828 38 60 00 00 */ li r3, 0 -/* 802D38CC 002D082C 48 00 00 F4 */ b lbl_802D39C0 -lbl_802D38D0: -/* 802D38D0 002D0830 2C 08 00 00 */ cmpwi r8, 0 -/* 802D38D4 002D0834 41 82 00 30 */ beq lbl_802D3904 -/* 802D38D8 002D0838 C0 43 00 00 */ lfs f2, 0(r3) -/* 802D38DC 002D083C C0 24 00 00 */ lfs f1, 0(r4) -/* 802D38E0 002D0840 EC 43 10 3A */ fmadds f2, f3, f0, f2 -/* 802D38E4 002D0844 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802D38E8 002D0848 D0 41 00 08 */ stfs f2, 8(r1) -/* 802D38EC 002D084C 41 80 00 10 */ blt lbl_802D38FC -/* 802D38F0 002D0850 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D38F4 002D0854 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D38F8 002D0858 40 81 00 0C */ ble lbl_802D3904 -lbl_802D38FC: -/* 802D38FC 002D085C 38 60 00 00 */ li r3, 0 -/* 802D3900 002D0860 48 00 00 C0 */ b lbl_802D39C0 -lbl_802D3904: -/* 802D3904 002D0864 2C 08 00 01 */ cmpwi r8, 1 -/* 802D3908 002D0868 41 82 00 34 */ beq lbl_802D393C -/* 802D390C 002D086C C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 802D3910 002D0870 C0 23 00 04 */ lfs f1, 4(r3) -/* 802D3914 002D0874 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D3918 002D0878 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 802D391C 002D087C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3920 002D0880 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802D3924 002D0884 41 80 00 10 */ blt lbl_802D3934 -/* 802D3928 002D0888 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 802D392C 002D088C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3930 002D0890 40 81 00 0C */ ble lbl_802D393C -lbl_802D3934: -/* 802D3934 002D0894 38 60 00 00 */ li r3, 0 -/* 802D3938 002D0898 48 00 00 88 */ b lbl_802D39C0 -lbl_802D393C: -/* 802D393C 002D089C 2C 08 00 02 */ cmpwi r8, 2 -/* 802D3940 002D08A0 41 82 00 34 */ beq lbl_802D3974 -/* 802D3944 002D08A4 C0 43 00 20 */ lfs f2, 0x20(r3) -/* 802D3948 002D08A8 C0 23 00 08 */ lfs f1, 8(r3) -/* 802D394C 002D08AC C0 04 00 08 */ lfs f0, 8(r4) -/* 802D3950 002D08B0 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 802D3954 002D08B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3958 002D08B8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802D395C 002D08BC 41 80 00 10 */ blt lbl_802D396C -/* 802D3960 002D08C0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 802D3964 002D08C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3968 002D08C8 40 81 00 0C */ ble lbl_802D3974 -lbl_802D396C: -/* 802D396C 002D08CC 38 60 00 00 */ li r3, 0 -/* 802D3970 002D08D0 48 00 00 50 */ b lbl_802D39C0 -lbl_802D3974: -/* 802D3974 002D08D4 D0 66 00 00 */ stfs f3, 0(r6) -/* 802D3978 002D08D8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D397C 002D08DC 55 00 10 3A */ slwi r0, r8, 2 -/* 802D3980 002D08E0 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 802D3984 002D08E4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D3988 002D08E8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802D398C 002D08EC D0 05 00 00 */ stfs f0, 0(r5) -/* 802D3990 002D08F0 2C 00 00 01 */ cmpwi r0, 1 -/* 802D3994 002D08F4 C0 07 00 04 */ lfs f0, 4(r7) -/* 802D3998 002D08F8 D0 05 00 04 */ stfs f0, 4(r5) -/* 802D399C 002D08FC C0 07 00 08 */ lfs f0, 8(r7) -/* 802D39A0 002D0900 D0 05 00 08 */ stfs f0, 8(r5) -/* 802D39A4 002D0904 40 82 00 0C */ bne lbl_802D39B0 -/* 802D39A8 002D0908 C0 02 C4 C0 */ lfs f0, lbl_805AE1E0@sda21(r2) -/* 802D39AC 002D090C 48 00 00 08 */ b lbl_802D39B4 -lbl_802D39B0: -/* 802D39B0 002D0910 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -lbl_802D39B4: -/* 802D39B4 002D0914 55 00 10 3A */ slwi r0, r8, 2 -/* 802D39B8 002D0918 38 60 00 02 */ li r3, 2 -/* 802D39BC 002D091C 7C 05 05 2E */ stfsx f0, r5, r0 -lbl_802D39C0: -/* 802D39C0 002D0920 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802D39C4 002D0924 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802D39C8 002D0928 38 21 00 40 */ addi r1, r1, 0x40 -/* 802D39CC 002D092C 4E 80 00 20 */ blr - -.global RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd -RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd: -/* 802D39D0 002D0930 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802D39D4 002D0934 7C 08 02 A6 */ mflr r0 -/* 802D39D8 002D0938 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802D39DC 002D093C DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 802D39E0 002D0940 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 802D39E4 002D0944 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 802D39E8 002D0948 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 802D39EC 002D094C BF 41 00 98 */ stmw r26, 0x98(r1) -/* 802D39F0 002D0950 7C 7A 1B 78 */ mr r26, r3 -/* 802D39F4 002D0954 7C 9B 23 78 */ mr r27, r4 -/* 802D39F8 002D0958 7C BC 2B 78 */ mr r28, r5 -/* 802D39FC 002D095C 7C DD 33 78 */ mr r29, r6 -/* 802D3A00 002D0960 7F 44 D3 78 */ mr r4, r26 -/* 802D3A04 002D0964 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D3A08 002D0968 3B C0 00 00 */ li r30, 0 -/* 802D3A0C 002D096C 48 04 0B 79 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3A10 002D0970 7C 7F 1B 78 */ mr r31, r3 -/* 802D3A14 002D0974 7F 64 DB 78 */ mr r4, r27 -/* 802D3A18 002D0978 38 61 00 38 */ addi r3, r1, 0x38 -/* 802D3A1C 002D097C 48 04 0B 69 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3A20 002D0980 7C 64 1B 78 */ mr r4, r3 -/* 802D3A24 002D0984 7F E5 FB 78 */ mr r5, r31 -/* 802D3A28 002D0988 38 61 00 50 */ addi r3, r1, 0x50 -/* 802D3A2C 002D098C 48 04 09 69 */ bl __mi__FRC9CVector3dRC9CVector3d -/* 802D3A30 002D0990 C8 41 00 50 */ lfd f2, 0x50(r1) -/* 802D3A34 002D0994 7F 84 E3 78 */ mr r4, r28 -/* 802D3A38 002D0998 C8 21 00 58 */ lfd f1, 0x58(r1) -/* 802D3A3C 002D099C 38 61 00 08 */ addi r3, r1, 8 -/* 802D3A40 002D09A0 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 802D3A44 002D09A4 D8 41 00 80 */ stfd f2, 0x80(r1) -/* 802D3A48 002D09A8 D8 21 00 88 */ stfd f1, 0x88(r1) -/* 802D3A4C 002D09AC D8 01 00 90 */ stfd f0, 0x90(r1) -/* 802D3A50 002D09B0 48 04 0B 35 */ bl __ct__9CVector3dFRC9CVector3f -/* 802D3A54 002D09B4 C8 41 00 08 */ lfd f2, 8(r1) -/* 802D3A58 002D09B8 38 61 00 80 */ addi r3, r1, 0x80 -/* 802D3A5C 002D09BC C8 21 00 10 */ lfd f1, 0x10(r1) -/* 802D3A60 002D09C0 38 81 00 68 */ addi r4, r1, 0x68 -/* 802D3A64 002D09C4 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802D3A68 002D09C8 D8 41 00 68 */ stfd f2, 0x68(r1) -/* 802D3A6C 002D09CC C3 FA 00 0C */ lfs f31, 0xc(r26) -/* 802D3A70 002D09D0 D8 21 00 70 */ stfd f1, 0x70(r1) -/* 802D3A74 002D09D4 D8 01 00 78 */ stfd f0, 0x78(r1) -/* 802D3A78 002D09D8 48 04 09 F5 */ bl Dot__9CVector3dFRC9CVector3dRC9CVector3d -/* 802D3A7C 002D09DC C8 02 C4 B0 */ lfd f0, lbl_805AE1D0@sda21(r2) -/* 802D3A80 002D09E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 802D3A84 002D09E4 FF C0 00 72 */ fmul f30, f0, f1 -/* 802D3A88 002D09E8 48 04 0A 99 */ bl MagSquared__9CVector3dCFv -/* 802D3A8C 002D09EC FC 5F 0F FC */ fnmsub f2, f31, f31, f1 -/* 802D3A90 002D09F0 C8 22 C5 08 */ lfd f1, lbl_805AE228@sda21(r2) -/* 802D3A94 002D09F4 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D3A98 002D09F8 FC 21 00 B2 */ fmul f1, f1, f2 -/* 802D3A9C 002D09FC FC 3E 0F B8 */ fmsub f1, f30, f30, f1 -/* 802D3AA0 002D0A00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3AA4 002D0A04 4C 41 13 82 */ cror 2, 1, 2 -/* 802D3AA8 002D0A08 40 82 00 38 */ bne lbl_802D3AE0 -/* 802D3AAC 002D0A0C 48 04 19 C5 */ bl SqrtD__5CMathFd -/* 802D3AB0 002D0A10 FC 40 F0 50 */ fneg f2, f30 -/* 802D3AB4 002D0A14 C8 62 C5 10 */ lfd f3, lbl_805AE230@sda21(r2) -/* 802D3AB8 002D0A18 C8 02 C4 A0 */ lfd f0, lbl_805AE1C0@sda21(r2) -/* 802D3ABC 002D0A1C C8 9D 00 00 */ lfd f4, 0(r29) -/* 802D3AC0 002D0A20 FC 22 08 28 */ fsub f1, f2, f1 -/* 802D3AC4 002D0A24 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 802D3AC8 002D0A28 FC 03 00 72 */ fmul f0, f3, f1 -/* 802D3ACC 002D0A2C 41 82 00 0C */ beq lbl_802D3AD8 -/* 802D3AD0 002D0A30 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 802D3AD4 002D0A34 40 80 00 0C */ bge lbl_802D3AE0 -lbl_802D3AD8: -/* 802D3AD8 002D0A38 D8 1D 00 00 */ stfd f0, 0(r29) -/* 802D3ADC 002D0A3C 3B C0 00 01 */ li r30, 1 -lbl_802D3AE0: -/* 802D3AE0 002D0A40 7F C3 F3 78 */ mr r3, r30 -/* 802D3AE4 002D0A44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 802D3AE8 002D0A48 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 802D3AEC 002D0A4C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 802D3AF0 002D0A50 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 802D3AF4 002D0A54 BB 41 00 98 */ lmw r26, 0x98(r1) -/* 802D3AF8 002D0A58 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802D3AFC 002D0A5C 7C 08 03 A6 */ mtlr r0 -/* 802D3B00 002D0A60 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802D3B04 002D0A64 4E 80 00 20 */ blr - -.global RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f: -/* 802D3B08 002D0A68 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802D3B0C 002D0A6C 7C 08 02 A6 */ mflr r0 -/* 802D3B10 002D0A70 90 01 00 64 */ stw r0, 0x64(r1) -/* 802D3B14 002D0A74 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802D3B18 002D0A78 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802D3B1C 002D0A7C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802D3B20 002D0A80 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802D3B24 002D0A84 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802D3B28 002D0A88 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802D3B2C 002D0A8C DB 81 00 20 */ stfd f28, 0x20(r1) -/* 802D3B30 002D0A90 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 -/* 802D3B34 002D0A94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D3B38 002D0A98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D3B3C 002D0A9C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802D3B40 002D0AA0 93 81 00 10 */ stw r28, 0x10(r1) -/* 802D3B44 002D0AA4 7C 9C 23 78 */ mr r28, r4 -/* 802D3B48 002D0AA8 7C BD 2B 78 */ mr r29, r5 -/* 802D3B4C 002D0AAC C0 43 00 04 */ lfs f2, 4(r3) -/* 802D3B50 002D0AB0 FF C0 08 90 */ fmr f30, f1 -/* 802D3B54 002D0AB4 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D3B58 002D0AB8 7C DE 33 78 */ mr r30, r6 -/* 802D3B5C 002D0ABC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 802D3B60 002D0AC0 7C FF 3B 78 */ mr r31, r7 -/* 802D3B64 002D0AC4 EC A2 00 28 */ fsubs f5, f2, f0 -/* 802D3B68 002D0AC8 C0 05 00 04 */ lfs f0, 4(r5) -/* 802D3B6C 002D0ACC EF E1 00 72 */ fmuls f31, f1, f1 -/* 802D3B70 002D0AD0 C0 63 00 00 */ lfs f3, 0(r3) -/* 802D3B74 002D0AD4 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D3B78 002D0AD8 EC 25 00 32 */ fmuls f1, f5, f0 -/* 802D3B7C 002D0ADC C0 83 00 08 */ lfs f4, 8(r3) -/* 802D3B80 002D0AE0 EC 05 01 72 */ fmuls f0, f5, f5 -/* 802D3B84 002D0AE4 EC A3 10 28 */ fsubs f5, f3, f2 -/* 802D3B88 002D0AE8 C0 64 00 08 */ lfs f3, 8(r4) -/* 802D3B8C 002D0AEC C0 45 00 00 */ lfs f2, 0(r5) -/* 802D3B90 002D0AF0 EC 84 18 28 */ fsubs f4, f4, f3 -/* 802D3B94 002D0AF4 C0 65 00 08 */ lfs f3, 8(r5) -/* 802D3B98 002D0AF8 EC 45 08 BA */ fmadds f2, f5, f2, f1 -/* 802D3B9C 002D0AFC EC 25 01 7A */ fmadds f1, f5, f5, f0 -/* 802D3BA0 002D0B00 C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D3BA4 002D0B04 EF A4 10 FA */ fmadds f29, f4, f3, f2 -/* 802D3BA8 002D0B08 EF 84 09 3A */ fmadds f28, f4, f4, f1 -/* 802D3BAC 002D0B0C FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802D3BB0 002D0B10 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 802D3BB4 002D0B14 40 80 00 14 */ bge lbl_802D3BC8 -/* 802D3BB8 002D0B18 FC 1C F8 40 */ fcmpo cr0, f28, f31 -/* 802D3BBC 002D0B1C 40 81 00 0C */ ble lbl_802D3BC8 -/* 802D3BC0 002D0B20 38 60 00 00 */ li r3, 0 -/* 802D3BC4 002D0B24 48 00 00 9C */ b lbl_802D3C60 -lbl_802D3BC8: -/* 802D3BC8 002D0B28 EC 3C 00 28 */ fsubs f1, f28, f0 -/* 802D3BCC 002D0B2C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D3BD0 002D0B30 EC 3F 08 28 */ fsubs f1, f31, f1 -/* 802D3BD4 002D0B34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3BD8 002D0B38 40 80 00 0C */ bge lbl_802D3BE4 -/* 802D3BDC 002D0B3C 38 60 00 00 */ li r3, 0 -/* 802D3BE0 002D0B40 48 00 00 80 */ b lbl_802D3C60 -lbl_802D3BE4: -/* 802D3BE4 002D0B44 48 04 19 1D */ bl SqrtF__5CMathFf -/* 802D3BE8 002D0B48 FC 1C F8 40 */ fcmpo cr0, f28, f31 -/* 802D3BEC 002D0B4C 40 81 00 0C */ ble lbl_802D3BF8 -/* 802D3BF0 002D0B50 EC 1D 08 28 */ fsubs f0, f29, f1 -/* 802D3BF4 002D0B54 48 00 00 08 */ b lbl_802D3BFC -lbl_802D3BF8: -/* 802D3BF8 002D0B58 EC 1D 08 2A */ fadds f0, f29, f1 -lbl_802D3BFC: -/* 802D3BFC 002D0B5C D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D3C00 002D0B60 C0 DE 00 00 */ lfs f6, 0(r30) -/* 802D3C04 002D0B64 FC 06 F0 40 */ fcmpo cr0, f6, f30 -/* 802D3C08 002D0B68 41 80 00 10 */ blt lbl_802D3C18 -/* 802D3C0C 002D0B6C C0 02 C4 B8 */ lfs f0, lbl_805AE1D8@sda21(r2) -/* 802D3C10 002D0B70 FC 00 F0 00 */ fcmpu cr0, f0, f30 -/* 802D3C14 002D0B74 40 82 00 48 */ bne lbl_802D3C5C -lbl_802D3C18: -/* 802D3C18 002D0B78 C0 1D 00 00 */ lfs f0, 0(r29) -/* 802D3C1C 002D0B7C 38 60 00 01 */ li r3, 1 -/* 802D3C20 002D0B80 C0 7D 00 04 */ lfs f3, 4(r29) -/* 802D3C24 002D0B84 EC 06 00 32 */ fmuls f0, f6, f0 -/* 802D3C28 002D0B88 C0 3C 00 00 */ lfs f1, 0(r28) -/* 802D3C2C 002D0B8C C0 5D 00 08 */ lfs f2, 8(r29) -/* 802D3C30 002D0B90 EC 86 00 F2 */ fmuls f4, f6, f3 -/* 802D3C34 002D0B94 C0 BC 00 04 */ lfs f5, 4(r28) -/* 802D3C38 002D0B98 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D3C3C 002D0B9C C0 7C 00 08 */ lfs f3, 8(r28) -/* 802D3C40 002D0BA0 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 802D3C44 002D0BA4 EC 45 20 2A */ fadds f2, f5, f4 -/* 802D3C48 002D0BA8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D3C4C 002D0BAC EC 03 08 2A */ fadds f0, f3, f1 -/* 802D3C50 002D0BB0 D0 5F 00 04 */ stfs f2, 4(r31) -/* 802D3C54 002D0BB4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802D3C58 002D0BB8 48 00 00 08 */ b lbl_802D3C60 -lbl_802D3C5C: -/* 802D3C5C 002D0BBC 38 60 00 00 */ li r3, 0 -lbl_802D3C60: -/* 802D3C60 002D0BC0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802D3C64 002D0BC4 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802D3C68 002D0BC8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802D3C6C 002D0BCC CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802D3C70 002D0BD0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802D3C74 002D0BD4 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802D3C78 002D0BD8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 -/* 802D3C7C 002D0BDC CB 81 00 20 */ lfd f28, 0x20(r1) -/* 802D3C80 002D0BE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D3C84 002D0BE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D3C88 002D0BE8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802D3C8C 002D0BEC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802D3C90 002D0BF0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802D3C94 002D0BF4 7C 08 03 A6 */ mtlr r0 -/* 802D3C98 002D0BF8 38 21 00 60 */ addi r1, r1, 0x60 -/* 802D3C9C 002D0BFC 4E 80 00 20 */ blr - -.global RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f -RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f: -/* 802D3CA0 002D0C00 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802D3CA4 002D0C04 7C 08 02 A6 */ mflr r0 -/* 802D3CA8 002D0C08 90 01 00 64 */ stw r0, 0x64(r1) -/* 802D3CAC 002D0C0C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802D3CB0 002D0C10 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802D3CB4 002D0C14 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802D3CB8 002D0C18 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802D3CBC 002D0C1C DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802D3CC0 002D0C20 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802D3CC4 002D0C24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D3CC8 002D0C28 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D3CCC 002D0C2C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D3CD0 002D0C30 7C 7D 1B 78 */ mr r29, r3 -/* 802D3CD4 002D0C34 7C BE 2B 78 */ mr r30, r5 -/* 802D3CD8 002D0C38 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D3CDC 002D0C3C 7C DF 33 78 */ mr r31, r6 -/* 802D3CE0 002D0C40 C0 03 00 04 */ lfs f0, 4(r3) -/* 802D3CE4 002D0C44 38 61 00 08 */ addi r3, r1, 8 -/* 802D3CE8 002D0C48 C0 64 00 08 */ lfs f3, 8(r4) -/* 802D3CEC 002D0C4C C0 5D 00 08 */ lfs f2, 8(r29) -/* 802D3CF0 002D0C50 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D3CF4 002D0C54 C0 24 00 00 */ lfs f1, 0(r4) -/* 802D3CF8 002D0C58 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D3CFC 002D0C5C C0 1D 00 00 */ lfs f0, 0(r29) -/* 802D3D00 002D0C60 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D3D04 002D0C64 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802D3D08 002D0C68 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D3D0C 002D0C6C C3 C5 00 00 */ lfs f30, 0(r5) -/* 802D3D10 002D0C70 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802D3D14 002D0C74 C3 A5 00 04 */ lfs f29, 4(r5) -/* 802D3D18 002D0C78 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D3D1C 002D0C7C C3 E5 00 08 */ lfs f31, 8(r5) -/* 802D3D20 002D0C80 48 04 0B 31 */ bl AsNormalized__9CVector3fCFv -/* 802D3D24 002D0C84 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D3D28 002D0C88 C0 41 00 08 */ lfs f2, 8(r1) -/* 802D3D2C 002D0C8C EC 20 07 72 */ fmuls f1, f0, f29 -/* 802D3D30 002D0C90 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802D3D34 002D0C94 C0 02 C5 18 */ lfs f0, lbl_805AE238@sda21(r2) -/* 802D3D38 002D0C98 EC 22 0F BA */ fmadds f1, f2, f30, f1 -/* 802D3D3C 002D0C9C EC 23 0F FA */ fmadds f1, f3, f31, f1 -/* 802D3D40 002D0CA0 FC 20 0A 10 */ fabs f1, f1 -/* 802D3D44 002D0CA4 FC 20 08 18 */ frsp f1, f1 -/* 802D3D48 002D0CA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3D4C 002D0CAC 40 80 00 0C */ bge lbl_802D3D58 -/* 802D3D50 002D0CB0 38 60 00 00 */ li r3, 0 -/* 802D3D54 002D0CB4 48 00 00 8C */ b lbl_802D3DE0 -lbl_802D3D58: -/* 802D3D58 002D0CB8 C1 1D 00 04 */ lfs f8, 4(r29) -/* 802D3D5C 002D0CBC C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 802D3D60 002D0CC0 EC 28 07 72 */ fmuls f1, f8, f29 -/* 802D3D64 002D0CC4 C0 FD 00 00 */ lfs f7, 0(r29) -/* 802D3D68 002D0CC8 C1 3D 00 08 */ lfs f9, 8(r29) -/* 802D3D6C 002D0CCC EC 05 07 72 */ fmuls f0, f5, f29 -/* 802D3D70 002D0CD0 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 802D3D74 002D0CD4 EC 67 0F BA */ fmadds f3, f7, f30, f1 -/* 802D3D78 002D0CD8 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 802D3D7C 002D0CDC EC 24 07 BA */ fmadds f1, f4, f30, f0 -/* 802D3D80 002D0CE0 C0 C1 00 1C */ lfs f6, 0x1c(r1) -/* 802D3D84 002D0CE4 EC 69 1F FA */ fmadds f3, f9, f31, f3 -/* 802D3D88 002D0CE8 C0 02 C5 1C */ lfs f0, lbl_805AE23C@sda21(r2) -/* 802D3D8C 002D0CEC EC 26 0F FA */ fmadds f1, f6, f31, f1 -/* 802D3D90 002D0CF0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D3D94 002D0CF4 FC 40 10 50 */ fneg f2, f2 -/* 802D3D98 002D0CF8 EC 62 08 24 */ fdivs f3, f2, f1 -/* 802D3D9C 002D0CFC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3DA0 002D0D00 41 80 00 10 */ blt lbl_802D3DB0 -/* 802D3DA4 002D0D04 C0 02 C5 20 */ lfs f0, lbl_805AE240@sda21(r2) -/* 802D3DA8 002D0D08 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802D3DAC 002D0D0C 40 81 00 0C */ ble lbl_802D3DB8 -lbl_802D3DB0: -/* 802D3DB0 002D0D10 38 60 00 00 */ li r3, 0 -/* 802D3DB4 002D0D14 48 00 00 2C */ b lbl_802D3DE0 -lbl_802D3DB8: -/* 802D3DB8 002D0D18 EC 43 01 32 */ fmuls f2, f3, f4 -/* 802D3DBC 002D0D1C 38 60 00 01 */ li r3, 1 -/* 802D3DC0 002D0D20 EC 23 01 72 */ fmuls f1, f3, f5 -/* 802D3DC4 002D0D24 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 802D3DC8 002D0D28 EC 47 10 2A */ fadds f2, f7, f2 -/* 802D3DCC 002D0D2C EC 28 08 2A */ fadds f1, f8, f1 -/* 802D3DD0 002D0D30 EC 09 00 2A */ fadds f0, f9, f0 -/* 802D3DD4 002D0D34 D0 5F 00 00 */ stfs f2, 0(r31) -/* 802D3DD8 002D0D38 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802D3DDC 002D0D3C D0 1F 00 08 */ stfs f0, 8(r31) -lbl_802D3DE0: -/* 802D3DE0 002D0D40 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802D3DE4 002D0D44 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802D3DE8 002D0D48 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802D3DEC 002D0D4C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802D3DF0 002D0D50 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802D3DF4 002D0D54 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802D3DF8 002D0D58 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D3DFC 002D0D5C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D3E00 002D0D60 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802D3E04 002D0D64 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D3E08 002D0D68 7C 08 03 A6 */ mtlr r0 -/* 802D3E0C 002D0D6C 38 21 00 60 */ addi r1, r1, 0x60 -/* 802D3E10 002D0D70 4E 80 00 20 */ blr - -.global __sinit_CollisionUtil_cpp -__sinit_CollisionUtil_cpp: -/* 802D3E14 002D0D74 C0 42 C4 C0 */ lfs f2, lbl_805AE1E0@sda21(r2) -/* 802D3E18 002D0D78 3C 60 80 48 */ lis r3, lbl_80479510@ha -/* 802D3E1C 002D0D7C C0 22 C4 B8 */ lfs f1, lbl_805AE1D8@sda21(r2) -/* 802D3E20 002D0D80 D4 43 95 10 */ stfsu f2, lbl_80479510@l(r3) -/* 802D3E24 002D0D84 C0 02 C4 BC */ lfs f0, lbl_805AE1DC@sda21(r2) -/* 802D3E28 002D0D88 D0 23 00 04 */ stfs f1, 4(r3) -/* 802D3E2C 002D0D8C D0 23 00 08 */ stfs f1, 8(r3) -/* 802D3E30 002D0D90 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802D3E34 002D0D94 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 802D3E38 002D0D98 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 802D3E3C 002D0D9C D0 23 00 18 */ stfs f1, 0x18(r3) -/* 802D3E40 002D0DA0 D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 802D3E44 002D0DA4 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 802D3E48 002D0DA8 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802D3E4C 002D0DAC D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802D3E50 002D0DB0 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 802D3E54 002D0DB4 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 802D3E58 002D0DB8 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 802D3E5C 002D0DBC D0 43 00 38 */ stfs f2, 0x38(r3) -/* 802D3E60 002D0DC0 D0 23 00 3C */ stfs f1, 0x3c(r3) -/* 802D3E64 002D0DC4 D0 23 00 40 */ stfs f1, 0x40(r3) -/* 802D3E68 002D0DC8 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 802D3E6C 002D0DCC 4E 80 00 20 */ blr - -.global GetTableIndex__17CCollidableSphereCFv -GetTableIndex__17CCollidableSphereCFv: -/* 802D3E70 002D0DD0 80 6D 9B 38 */ lwz r3, lbl_805A86F8@sda21(r13) -/* 802D3E74 002D0DD4 4E 80 00 20 */ blr - -.global CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingSphere__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802D3E78 002D0DD8 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802D3E7C 002D0DDC 7C 08 02 A6 */ mflr r0 -/* 802D3E80 002D0DE0 90 01 01 14 */ stw r0, 0x114(r1) -/* 802D3E84 002D0DE4 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802D3E88 002D0DE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802D3E8C 002D0DEC DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802D3E90 002D0DF0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802D3E94 002D0DF4 BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 802D3E98 002D0DF8 7C 7A 1B 78 */ mr r26, r3 -/* 802D3E9C 002D0DFC 7C 9B 23 78 */ mr r27, r4 -/* 802D3EA0 002D0E00 83 A3 00 00 */ lwz r29, 0(r3) -/* 802D3EA4 002D0E04 7C BC 2B 78 */ mr r28, r5 -/* 802D3EA8 002D0E08 83 C3 00 38 */ lwz r30, 0x38(r3) -/* 802D3EAC 002D0E0C 7C DF 33 78 */ mr r31, r6 -/* 802D3EB0 002D0E10 38 61 00 34 */ addi r3, r1, 0x34 -/* 802D3EB4 002D0E14 38 9A 00 08 */ addi r4, r26, 8 -/* 802D3EB8 002D0E18 38 BD 00 10 */ addi r5, r29, 0x10 -/* 802D3EBC 002D0E1C 48 03 EC 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D3EC0 002D0E20 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802D3EC4 002D0E24 38 61 00 28 */ addi r3, r1, 0x28 -/* 802D3EC8 002D0E28 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 802D3ECC 002D0E2C 38 9A 00 40 */ addi r4, r26, 0x40 -/* 802D3ED0 002D0E30 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802D3ED4 002D0E34 38 BE 00 10 */ addi r5, r30, 0x10 -/* 802D3ED8 002D0E38 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802D3EDC 002D0E3C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802D3EE0 002D0E40 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802D3EE4 002D0E44 C3 FD 00 1C */ lfs f31, 0x1c(r29) -/* 802D3EE8 002D0E48 C3 DE 00 1C */ lfs f30, 0x1c(r30) -/* 802D3EEC 002D0E4C 48 03 EB FD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D3EF0 002D0E50 EC 1E F8 2A */ fadds f0, f30, f31 -/* 802D3EF4 002D0E54 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 802D3EF8 002D0E58 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 802D3EFC 002D0E5C 7F 65 DB 78 */ mr r5, r27 -/* 802D3F00 002D0E60 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 802D3F04 002D0E64 38 61 00 58 */ addi r3, r1, 0x58 -/* 802D3F08 002D0E68 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802D3F0C 002D0E6C 38 81 00 68 */ addi r4, r1, 0x68 -/* 802D3F10 002D0E70 38 C1 00 08 */ addi r6, r1, 8 -/* 802D3F14 002D0E74 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802D3F18 002D0E78 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 802D3F1C 002D0E7C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 802D3F20 002D0E80 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802D3F24 002D0E84 D8 01 00 08 */ stfd f0, 8(r1) -/* 802D3F28 002D0E88 4B FF FA A9 */ bl RaySphereIntersection_Double__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRd -/* 802D3F2C 002D0E8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D3F30 002D0E90 41 82 01 D8 */ beq lbl_802D4108 -/* 802D3F34 002D0E94 C8 21 00 08 */ lfd f1, 8(r1) -/* 802D3F38 002D0E98 C8 02 C5 28 */ lfd f0, lbl_805AE248@sda21(r2) -/* 802D3F3C 002D0E9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3F40 002D0EA0 4C 41 13 82 */ cror 2, 1, 2 -/* 802D3F44 002D0EA4 40 82 01 C4 */ bne lbl_802D4108 -/* 802D3F48 002D0EA8 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802D3F4C 002D0EAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D3F50 002D0EB0 40 80 01 B8 */ bge lbl_802D4108 -/* 802D3F54 002D0EB4 FC C0 08 18 */ frsp f6, f1 -/* 802D3F58 002D0EB8 C0 5B 00 04 */ lfs f2, 4(r27) -/* 802D3F5C 002D0EBC C0 3B 00 08 */ lfs f1, 8(r27) -/* 802D3F60 002D0EC0 38 61 00 1C */ addi r3, r1, 0x1c -/* 802D3F64 002D0EC4 C0 1B 00 00 */ lfs f0, 0(r27) -/* 802D3F68 002D0EC8 38 81 00 10 */ addi r4, r1, 0x10 -/* 802D3F6C 002D0ECC EC 86 00 B2 */ fmuls f4, f6, f2 -/* 802D3F70 002D0ED0 C0 A1 00 6C */ lfs f5, 0x6c(r1) -/* 802D3F74 002D0ED4 EC 46 00 72 */ fmuls f2, f6, f1 -/* 802D3F78 002D0ED8 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 802D3F7C 002D0EDC EC 06 00 32 */ fmuls f0, f6, f0 -/* 802D3F80 002D0EE0 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 802D3F84 002D0EE4 EC A5 20 2A */ fadds f5, f5, f4 -/* 802D3F88 002D0EE8 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 802D3F8C 002D0EEC EC 63 10 2A */ fadds f3, f3, f2 -/* 802D3F90 002D0EF0 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 802D3F94 002D0EF4 EC 21 00 2A */ fadds f1, f1, f0 -/* 802D3F98 002D0EF8 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802D3F9C 002D0EFC EC 85 20 28 */ fsubs f4, f5, f4 -/* 802D3FA0 002D0F00 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D3FA4 002D0F04 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D3FA8 002D0F08 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 802D3FAC 002D0F0C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802D3FB0 002D0F10 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802D3FB4 002D0F14 48 04 08 9D */ bl AsNormalized__9CVector3fCFv -/* 802D3FB8 002D0F18 C0 E1 00 1C */ lfs f7, 0x1c(r1) -/* 802D3FBC 002D0F1C 7F C3 F3 78 */ mr r3, r30 -/* 802D3FC0 002D0F20 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 802D3FC4 002D0F24 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802D3FC8 002D0F28 D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 802D3FCC 002D0F2C C0 C1 00 5C */ lfs f6, 0x5c(r1) -/* 802D3FD0 002D0F30 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 802D3FD4 002D0F34 C0 81 00 60 */ lfs f4, 0x60(r1) -/* 802D3FD8 002D0F38 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802D3FDC 002D0F3C C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802D3FE0 002D0F40 C1 1E 00 1C */ lfs f8, 0x1c(r30) -/* 802D3FE4 002D0F44 C8 01 00 08 */ lfd f0, 8(r1) -/* 802D3FE8 002D0F48 EC A8 00 F2 */ fmuls f5, f8, f3 -/* 802D3FEC 002D0F4C EC 68 00 72 */ fmuls f3, f8, f1 -/* 802D3FF0 002D0F50 EC 28 01 F2 */ fmuls f1, f8, f7 -/* 802D3FF4 002D0F54 EC A6 28 2A */ fadds f5, f6, f5 -/* 802D3FF8 002D0F58 EC 64 18 2A */ fadds f3, f4, f3 -/* 802D3FFC 002D0F5C EC 22 08 2A */ fadds f1, f2, f1 -/* 802D4000 002D0F60 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802D4004 002D0F64 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802D4008 002D0F68 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 802D400C 002D0F6C D8 1C 00 00 */ stfd f0, 0(r28) -/* 802D4010 002D0F70 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D4014 002D0F74 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4018 002D0F78 7D 89 03 A6 */ mtctr r12 -/* 802D401C 002D0F7C 4E 80 04 21 */ bctrl -/* 802D4020 002D0F80 7C 7E 1B 78 */ mr r30, r3 -/* 802D4024 002D0F84 7F A3 EB 78 */ mr r3, r29 -/* 802D4028 002D0F88 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D402C 002D0F8C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4030 002D0F90 7D 89 03 A6 */ mtctr r12 -/* 802D4034 002D0F94 4E 80 04 21 */ bctrl -/* 802D4038 002D0F98 7C 65 1B 78 */ mr r5, r3 -/* 802D403C 002D0F9C 7F C6 F3 78 */ mr r6, r30 -/* 802D4040 002D0FA0 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D4044 002D0FA4 38 81 00 40 */ addi r4, r1, 0x40 -/* 802D4048 002D0FA8 38 E1 00 4C */ addi r7, r1, 0x4c -/* 802D404C 002D0FAC 4B FF A3 FD */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D4050 002D0FB0 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802D4054 002D0FB4 38 60 00 01 */ li r3, 1 -/* 802D4058 002D0FB8 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 802D405C 002D0FBC 90 9F 00 00 */ stw r4, 0(r31) -/* 802D4060 002D0FC0 90 1F 00 04 */ stw r0, 4(r31) -/* 802D4064 002D0FC4 80 01 00 80 */ lwz r0, 0x80(r1) -/* 802D4068 002D0FC8 90 1F 00 08 */ stw r0, 8(r31) -/* 802D406C 002D0FCC 80 81 00 84 */ lwz r4, 0x84(r1) -/* 802D4070 002D0FD0 80 01 00 88 */ lwz r0, 0x88(r1) -/* 802D4074 002D0FD4 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802D4078 002D0FD8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802D407C 002D0FDC 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 802D4080 002D0FE0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D4084 002D0FE4 80 81 00 90 */ lwz r4, 0x90(r1) -/* 802D4088 002D0FE8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D408C 002D0FEC 90 9F 00 18 */ stw r4, 0x18(r31) -/* 802D4090 002D0FF0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802D4094 002D0FF4 80 01 00 98 */ lwz r0, 0x98(r1) -/* 802D4098 002D0FF8 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802D409C 002D0FFC 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 802D40A0 002D1000 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 802D40A4 002D1004 90 9F 00 24 */ stw r4, 0x24(r31) -/* 802D40A8 002D1008 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802D40AC 002D100C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802D40B0 002D1010 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802D40B4 002D1014 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 802D40B8 002D1018 98 1F 00 30 */ stb r0, 0x30(r31) -/* 802D40BC 002D101C 88 01 00 A9 */ lbz r0, 0xa9(r1) -/* 802D40C0 002D1020 98 1F 00 31 */ stb r0, 0x31(r31) -/* 802D40C4 002D1024 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 802D40C8 002D1028 D8 1F 00 38 */ stfd f0, 0x38(r31) -/* 802D40CC 002D102C C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 802D40D0 002D1030 D8 1F 00 40 */ stfd f0, 0x40(r31) -/* 802D40D4 002D1034 80 81 00 C0 */ lwz r4, 0xc0(r1) -/* 802D40D8 002D1038 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802D40DC 002D103C 90 9F 00 48 */ stw r4, 0x48(r31) -/* 802D40E0 002D1040 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 802D40E4 002D1044 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 802D40E8 002D1048 90 1F 00 50 */ stw r0, 0x50(r31) -/* 802D40EC 002D104C 80 81 00 CC */ lwz r4, 0xcc(r1) -/* 802D40F0 002D1050 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 802D40F4 002D1054 90 9F 00 54 */ stw r4, 0x54(r31) -/* 802D40F8 002D1058 90 1F 00 58 */ stw r0, 0x58(r31) -/* 802D40FC 002D105C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802D4100 002D1060 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 802D4104 002D1064 48 00 00 08 */ b lbl_802D410C -lbl_802D4108: -/* 802D4108 002D1068 38 60 00 00 */ li r3, 0 -lbl_802D410C: -/* 802D410C 002D106C E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 802D4110 002D1070 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 802D4114 002D1074 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 802D4118 002D1078 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 802D411C 002D107C BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 802D4120 002D1080 80 01 01 14 */ lwz r0, 0x114(r1) -/* 802D4124 002D1084 7C 08 03 A6 */ mtlr r0 -/* 802D4128 002D1088 38 21 01 10 */ addi r1, r1, 0x110 -/* 802D412C 002D108C 4E 80 00 20 */ blr - -.global CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo -CollideMovingAABox__17CCollidableSphereFRC27CInternalCollisionStructureRC9CVector3fRdR14CCollisionInfo: -/* 802D4130 002D1090 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802D4134 002D1094 7C 08 02 A6 */ mflr r0 -/* 802D4138 002D1098 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802D413C 002D109C BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 802D4140 002D10A0 7C 7A 1B 78 */ mr r26, r3 -/* 802D4144 002D10A4 7C BC 2B 78 */ mr r28, r5 -/* 802D4148 002D10A8 7C 9B 23 78 */ mr r27, r4 -/* 802D414C 002D10AC 7C DF 33 78 */ mr r31, r6 -/* 802D4150 002D10B0 38 BA 00 40 */ addi r5, r26, 0x40 -/* 802D4154 002D10B4 83 C3 00 38 */ lwz r30, 0x38(r3) -/* 802D4158 002D10B8 38 61 00 48 */ addi r3, r1, 0x48 -/* 802D415C 002D10BC 83 BA 00 00 */ lwz r29, 0(r26) -/* 802D4160 002D10C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D4164 002D10C4 7F C4 F3 78 */ mr r4, r30 -/* 802D4168 002D10C8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802D416C 002D10CC 7D 89 03 A6 */ mtctr r12 -/* 802D4170 002D10D0 4E 80 04 21 */ bctrl -/* 802D4174 002D10D4 C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 802D4178 002D10D8 7F A4 EB 78 */ mr r4, r29 -/* 802D417C 002D10DC C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 802D4180 002D10E0 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D4184 002D10E4 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 802D4188 002D10E8 38 BA 00 08 */ addi r5, r26, 8 -/* 802D418C 002D10EC C0 41 00 54 */ lfs f2, 0x54(r1) -/* 802D4190 002D10F0 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802D4194 002D10F4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802D4198 002D10F8 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802D419C 002D10FC D0 81 00 64 */ stfs f4, 0x64(r1) -/* 802D41A0 002D1100 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802D41A4 002D1104 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802D41A8 002D1108 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802D41AC 002D110C D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802D41B0 002D1110 48 00 01 A5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D41B4 002D1114 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802D41B8 002D1118 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D41BC 002D111C C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802D41C0 002D1120 39 23 66 A0 */ addi r9, r3, skZero3f@l -/* 802D41C4 002D1124 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802D41C8 002D1128 7F 65 DB 78 */ mr r5, r27 -/* 802D41CC 002D112C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 802D41D0 002D1130 38 61 00 38 */ addi r3, r1, 0x38 -/* 802D41D4 002D1134 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802D41D8 002D1138 38 81 00 60 */ addi r4, r1, 0x60 -/* 802D41DC 002D113C C0 69 00 00 */ lfs f3, 0(r9) -/* 802D41E0 002D1140 38 C1 00 08 */ addi r6, r1, 8 -/* 802D41E4 002D1144 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802D41E8 002D1148 38 E1 00 2C */ addi r7, r1, 0x2c -/* 802D41EC 002D114C C0 49 00 04 */ lfs f2, 4(r9) -/* 802D41F0 002D1150 39 01 00 20 */ addi r8, r1, 0x20 -/* 802D41F4 002D1154 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802D41F8 002D1158 C0 29 00 08 */ lfs f1, 8(r9) -/* 802D41FC 002D115C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802D4200 002D1160 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802D4204 002D1164 D8 01 00 08 */ stfd f0, 8(r1) -/* 802D4208 002D1168 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 802D420C 002D116C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802D4210 002D1170 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 802D4214 002D1174 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 802D4218 002D1178 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 802D421C 002D117C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 802D4220 002D1180 4B FF C2 71 */ bl MovingSphereAABox__13CollisionUtilFRC7CSphereRC6CAABoxRC9CVector3fRdR9CVector3fR9CVector3f -/* 802D4224 002D1184 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D4228 002D1188 41 82 01 14 */ beq lbl_802D433C -/* 802D422C 002D118C C8 21 00 08 */ lfd f1, 8(r1) -/* 802D4230 002D1190 C8 1C 00 00 */ lfd f0, 0(r28) -/* 802D4234 002D1194 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D4238 002D1198 40 80 01 04 */ bge lbl_802D433C -/* 802D423C 002D119C D8 3C 00 00 */ stfd f1, 0(r28) -/* 802D4240 002D11A0 7F C3 F3 78 */ mr r3, r30 -/* 802D4244 002D11A4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D4248 002D11A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D424C 002D11AC 7D 89 03 A6 */ mtctr r12 -/* 802D4250 002D11B0 4E 80 04 21 */ bctrl -/* 802D4254 002D11B4 7C 7E 1B 78 */ mr r30, r3 -/* 802D4258 002D11B8 7F A3 EB 78 */ mr r3, r29 -/* 802D425C 002D11BC 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D4260 002D11C0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4264 002D11C4 7D 89 03 A6 */ mtctr r12 -/* 802D4268 002D11C8 4E 80 04 21 */ bctrl -/* 802D426C 002D11CC 7C 65 1B 78 */ mr r5, r3 -/* 802D4270 002D11D0 7F C6 F3 78 */ mr r6, r30 -/* 802D4274 002D11D4 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D4278 002D11D8 38 81 00 2C */ addi r4, r1, 0x2c -/* 802D427C 002D11DC 38 E1 00 20 */ addi r7, r1, 0x20 -/* 802D4280 002D11E0 4B FF A1 C9 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D4284 002D11E4 80 81 00 78 */ lwz r4, 0x78(r1) -/* 802D4288 002D11E8 38 60 00 01 */ li r3, 1 -/* 802D428C 002D11EC 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 802D4290 002D11F0 90 9F 00 00 */ stw r4, 0(r31) -/* 802D4294 002D11F4 90 1F 00 04 */ stw r0, 4(r31) -/* 802D4298 002D11F8 80 01 00 80 */ lwz r0, 0x80(r1) -/* 802D429C 002D11FC 90 1F 00 08 */ stw r0, 8(r31) -/* 802D42A0 002D1200 80 81 00 84 */ lwz r4, 0x84(r1) -/* 802D42A4 002D1204 80 01 00 88 */ lwz r0, 0x88(r1) -/* 802D42A8 002D1208 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802D42AC 002D120C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802D42B0 002D1210 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 802D42B4 002D1214 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D42B8 002D1218 80 81 00 90 */ lwz r4, 0x90(r1) -/* 802D42BC 002D121C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D42C0 002D1220 90 9F 00 18 */ stw r4, 0x18(r31) -/* 802D42C4 002D1224 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802D42C8 002D1228 80 01 00 98 */ lwz r0, 0x98(r1) -/* 802D42CC 002D122C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802D42D0 002D1230 80 81 00 9C */ lwz r4, 0x9c(r1) -/* 802D42D4 002D1234 80 01 00 A0 */ lwz r0, 0xa0(r1) -/* 802D42D8 002D1238 90 9F 00 24 */ stw r4, 0x24(r31) -/* 802D42DC 002D123C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802D42E0 002D1240 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802D42E4 002D1244 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802D42E8 002D1248 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 802D42EC 002D124C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 802D42F0 002D1250 88 01 00 A9 */ lbz r0, 0xa9(r1) -/* 802D42F4 002D1254 98 1F 00 31 */ stb r0, 0x31(r31) -/* 802D42F8 002D1258 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 802D42FC 002D125C D8 1F 00 38 */ stfd f0, 0x38(r31) -/* 802D4300 002D1260 C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 802D4304 002D1264 D8 1F 00 40 */ stfd f0, 0x40(r31) -/* 802D4308 002D1268 80 81 00 C0 */ lwz r4, 0xc0(r1) -/* 802D430C 002D126C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802D4310 002D1270 90 9F 00 48 */ stw r4, 0x48(r31) -/* 802D4314 002D1274 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 802D4318 002D1278 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 802D431C 002D127C 90 1F 00 50 */ stw r0, 0x50(r31) -/* 802D4320 002D1280 80 81 00 CC */ lwz r4, 0xcc(r1) -/* 802D4324 002D1284 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 802D4328 002D1288 90 9F 00 54 */ stw r4, 0x54(r31) -/* 802D432C 002D128C 90 1F 00 58 */ stw r0, 0x58(r31) -/* 802D4330 002D1290 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802D4334 002D1294 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 802D4338 002D1298 48 00 00 08 */ b lbl_802D4340 -lbl_802D433C: -/* 802D433C 002D129C 38 60 00 00 */ li r3, 0 -lbl_802D4340: -/* 802D4340 002D12A0 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 802D4344 002D12A4 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802D4348 002D12A8 7C 08 03 A6 */ mtlr r0 -/* 802D434C 002D12AC 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 802D4350 002D12B0 4E 80 00 20 */ blr - -.global Transform__17CCollidableSphereCFRC12CTransform4f -Transform__17CCollidableSphereCFRC12CTransform4f: -/* 802D4354 002D12B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D4358 002D12B8 7C 08 02 A6 */ mflr r0 -/* 802D435C 002D12BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D4360 002D12C0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802D4364 002D12C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802D4368 002D12C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D436C 002D12CC 7C 86 23 78 */ mr r6, r4 -/* 802D4370 002D12D0 C3 E4 00 1C */ lfs f31, 0x1c(r4) -/* 802D4374 002D12D4 7C 7F 1B 78 */ mr r31, r3 -/* 802D4378 002D12D8 7C A4 2B 78 */ mr r4, r5 -/* 802D437C 002D12DC 38 61 00 08 */ addi r3, r1, 8 -/* 802D4380 002D12E0 38 A6 00 10 */ addi r5, r6, 0x10 -/* 802D4384 002D12E4 48 03 E7 65 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D4388 002D12E8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802D438C 002D12EC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802D4390 002D12F0 C0 01 00 08 */ lfs f0, 8(r1) -/* 802D4394 002D12F4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802D4398 002D12F8 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802D439C 002D12FC D0 5F 00 08 */ stfs f2, 8(r31) -/* 802D43A0 002D1300 D3 FF 00 0C */ stfs f31, 0xc(r31) -/* 802D43A4 002D1304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802D43A8 002D1308 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D43AC 002D130C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802D43B0 002D1310 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D43B4 002D1314 7C 08 03 A6 */ mtlr r0 -/* 802D43B8 002D1318 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D43BC 002D131C 4E 80 00 20 */ blr - -.global GetPrimType__17CCollidableSphereCFv -GetPrimType__17CCollidableSphereCFv: -/* 802D43C0 002D1320 3C 60 53 50 */ lis r3, 0x53504852@ha -/* 802D43C4 002D1324 38 63 48 52 */ addi r3, r3, 0x53504852@l -/* 802D43C8 002D1328 4E 80 00 20 */ blr - -.global CalculateLocalAABox__17CCollidableSphereCFv -CalculateLocalAABox__17CCollidableSphereCFv: -/* 802D43CC 002D132C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D43D0 002D1330 7C 08 02 A6 */ mflr r0 -/* 802D43D4 002D1334 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D43D8 002D1338 38 A1 00 08 */ addi r5, r1, 8 -/* 802D43DC 002D133C C0 A4 00 1C */ lfs f5, 0x1c(r4) -/* 802D43E0 002D1340 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 802D43E4 002D1344 C0 C4 00 14 */ lfs f6, 0x14(r4) -/* 802D43E8 002D1348 C0 E4 00 18 */ lfs f7, 0x18(r4) -/* 802D43EC 002D134C EC 01 28 2A */ fadds f0, f1, f5 -/* 802D43F0 002D1350 EC 41 28 28 */ fsubs f2, f1, f5 -/* 802D43F4 002D1354 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D43F8 002D1358 EC 86 28 2A */ fadds f4, f6, f5 -/* 802D43FC 002D135C EC 67 28 2A */ fadds f3, f7, f5 -/* 802D4400 002D1360 D0 01 00 08 */ stfs f0, 8(r1) -/* 802D4404 002D1364 EC 26 28 28 */ fsubs f1, f6, f5 -/* 802D4408 002D1368 EC 07 28 28 */ fsubs f0, f7, f5 -/* 802D440C 002D136C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 802D4410 002D1370 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 802D4414 002D1374 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D4418 002D1378 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D441C 002D137C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D4420 002D1380 48 06 40 E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D4424 002D1384 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D4428 002D1388 7C 08 03 A6 */ mtlr r0 -/* 802D442C 002D138C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D4430 002D1390 4E 80 00 20 */ blr - -.global CalculateAABox__17CCollidableSphereCFRC12CTransform4f -CalculateAABox__17CCollidableSphereCFRC12CTransform4f: -/* 802D4434 002D1394 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802D4438 002D1398 7C 08 02 A6 */ mflr r0 -/* 802D443C 002D139C 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D4440 002D13A0 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802D4444 002D13A4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802D4448 002D13A8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802D444C 002D13AC 7C 86 23 78 */ mr r6, r4 -/* 802D4450 002D13B0 C3 E4 00 1C */ lfs f31, 0x1c(r4) -/* 802D4454 002D13B4 7C 7F 1B 78 */ mr r31, r3 -/* 802D4458 002D13B8 7C A4 2B 78 */ mr r4, r5 -/* 802D445C 002D13BC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D4460 002D13C0 38 A6 00 10 */ addi r5, r6, 0x10 -/* 802D4464 002D13C4 48 03 E6 85 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D4468 002D13C8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802D446C 002D13CC 7F E3 FB 78 */ mr r3, r31 -/* 802D4470 002D13D0 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 802D4474 002D13D4 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D4478 002D13D8 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802D447C 002D13DC EC 01 F8 2A */ fadds f0, f1, f31 -/* 802D4480 002D13E0 EC 65 F8 2A */ fadds f3, f5, f31 -/* 802D4484 002D13E4 38 A1 00 08 */ addi r5, r1, 8 -/* 802D4488 002D13E8 EC 82 F8 2A */ fadds f4, f2, f31 -/* 802D448C 002D13EC EC 42 F8 28 */ fsubs f2, f2, f31 -/* 802D4490 002D13F0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802D4494 002D13F4 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 802D4498 002D13F8 EC 05 F8 28 */ fsubs f0, f5, f31 -/* 802D449C 002D13FC D0 81 00 08 */ stfs f4, 8(r1) -/* 802D44A0 002D1400 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 802D44A4 002D1404 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D44A8 002D1408 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D44AC 002D140C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D44B0 002D1410 48 06 40 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D44B4 002D1414 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802D44B8 002D1418 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D44BC 002D141C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802D44C0 002D1420 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802D44C4 002D1424 7C 08 03 A6 */ mtlr r0 -/* 802D44C8 002D1428 38 21 00 50 */ addi r1, r1, 0x50 -/* 802D44CC 002D142C 4E 80 00 20 */ blr - -.global CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure -CastRayInternal__17CCollidableSphereCFRC25CInternalRayCastStructure: -/* 802D44D0 002D1430 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802D44D4 002D1434 7C 08 02 A6 */ mflr r0 -/* 802D44D8 002D1438 90 01 00 84 */ stw r0, 0x84(r1) -/* 802D44DC 002D143C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802D44E0 002D1440 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802D44E4 002D1444 7C BE 2B 78 */ mr r30, r5 -/* 802D44E8 002D1448 93 A1 00 74 */ stw r29, 0x74(r1) -/* 802D44EC 002D144C 7C 9D 23 78 */ mr r29, r4 -/* 802D44F0 002D1450 93 81 00 70 */ stw r28, 0x70(r1) -/* 802D44F4 002D1454 7C 7C 1B 78 */ mr r28, r3 -/* 802D44F8 002D1458 7F A3 EB 78 */ mr r3, r29 -/* 802D44FC 002D145C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D4500 002D1460 83 E5 00 6C */ lwz r31, 0x6c(r5) -/* 802D4504 002D1464 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4508 002D1468 7D 89 03 A6 */ mtctr r12 -/* 802D450C 002D146C 4E 80 04 21 */ bctrl -/* 802D4510 002D1470 7C 64 1B 78 */ mr r4, r3 -/* 802D4514 002D1474 7F E3 FB 78 */ mr r3, r31 -/* 802D4518 002D1478 48 00 0E 35 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 802D451C 002D147C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D4520 002D1480 40 82 00 64 */ bne lbl_802D4584 -/* 802D4524 002D1484 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) -/* 802D4528 002D1488 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D452C 002D148C C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D4530 002D1490 D0 3C 00 00 */ stfs f1, 0(r28) -/* 802D4534 002D1494 D0 3C 00 04 */ stfs f1, 4(r28) -/* 802D4538 002D1498 D0 3C 00 08 */ stfs f1, 8(r28) -/* 802D453C 002D149C D0 3C 00 0C */ stfs f1, 0xc(r28) -/* 802D4540 002D14A0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802D4544 002D14A4 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D4548 002D14A8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 802D454C 002D14AC 48 04 03 AD */ bl Normalize__9CVector3fFv -/* 802D4550 002D14B0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802D4554 002D14B4 38 00 00 00 */ li r0, 0 -/* 802D4558 002D14B8 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) -/* 802D455C 002D14BC D0 3C 00 10 */ stfs f1, 0x10(r28) -/* 802D4560 002D14C0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802D4564 002D14C4 D0 3C 00 14 */ stfs f1, 0x14(r28) -/* 802D4568 002D14C8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802D456C 002D14CC D0 3C 00 18 */ stfs f1, 0x18(r28) -/* 802D4570 002D14D0 D0 1C 00 1C */ stfs f0, 0x1c(r28) -/* 802D4574 002D14D4 98 1C 00 20 */ stb r0, 0x20(r28) -/* 802D4578 002D14D8 90 1C 00 2C */ stw r0, 0x2c(r28) -/* 802D457C 002D14DC 90 1C 00 28 */ stw r0, 0x28(r28) -/* 802D4580 002D14E0 48 00 01 D8 */ b lbl_802D4758 -lbl_802D4584: -/* 802D4584 002D14E4 7F A4 EB 78 */ mr r4, r29 -/* 802D4588 002D14E8 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D458C 002D14EC 38 BE 00 3C */ addi r5, r30, 0x3c -/* 802D4590 002D14F0 4B FF FD C5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D4594 002D14F4 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) -/* 802D4598 002D14F8 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D459C 002D14FC C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D45A0 002D1500 7F C4 F3 78 */ mr r4, r30 -/* 802D45A4 002D1504 D0 41 00 08 */ stfs f2, 8(r1) -/* 802D45A8 002D1508 38 BE 00 2C */ addi r5, r30, 0x2c -/* 802D45AC 002D150C C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 802D45B0 002D1510 38 C1 00 08 */ addi r6, r1, 8 -/* 802D45B4 002D1514 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 802D45B8 002D1518 38 E1 00 58 */ addi r7, r1, 0x58 -/* 802D45BC 002D151C D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 802D45C0 002D1520 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802D45C4 002D1524 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802D45C8 002D1528 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 802D45CC 002D152C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 802D45D0 002D1530 4B FF F5 39 */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f -/* 802D45D4 002D1534 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D45D8 002D1538 41 82 01 24 */ beq lbl_802D46FC -/* 802D45DC 002D153C C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802D45E0 002D1540 38 61 00 40 */ addi r3, r1, 0x40 -/* 802D45E4 002D1544 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802D45E8 002D1548 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 802D45EC 002D154C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802D45F0 002D1550 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D45F4 002D1554 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802D45F8 002D1558 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802D45FC 002D155C EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D4600 002D1560 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 802D4604 002D1564 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D4608 002D1568 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 802D460C 002D156C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802D4610 002D1570 48 04 02 A9 */ bl Magnitude__9CVector3fCFv -/* 802D4614 002D1574 C0 02 C5 38 */ lfs f0, lbl_805AE258@sda21(r2) -/* 802D4618 002D1578 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D461C 002D157C 40 81 00 34 */ ble lbl_802D4650 -/* 802D4620 002D1580 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D4624 002D1584 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 802D4628 002D1588 EC 60 08 24 */ fdivs f3, f0, f1 -/* 802D462C 002D158C C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802D4630 002D1590 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802D4634 002D1594 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802D4638 002D1598 EC 23 00 72 */ fmuls f1, f3, f1 -/* 802D463C 002D159C EC 03 00 32 */ fmuls f0, f3, f0 -/* 802D4640 002D15A0 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802D4644 002D15A4 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802D4648 002D15A8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 802D464C 002D15AC 48 00 00 1C */ b lbl_802D4668 -lbl_802D4650: -/* 802D4650 002D15B0 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 802D4654 002D15B4 C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 802D4658 002D15B8 C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 802D465C 002D15BC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802D4660 002D15C0 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802D4664 002D15C4 D0 01 00 54 */ stfs f0, 0x54(r1) -lbl_802D4668: -/* 802D4668 002D15C8 7F A3 EB 78 */ mr r3, r29 -/* 802D466C 002D15CC 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D4670 002D15D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4674 002D15D4 7D 89 03 A6 */ mtctr r12 -/* 802D4678 002D15D8 4E 80 04 21 */ bctrl -/* 802D467C 002D15DC 7C 7F 1B 78 */ mr r31, r3 -/* 802D4680 002D15E0 38 61 00 24 */ addi r3, r1, 0x24 -/* 802D4684 002D15E4 38 81 00 4C */ addi r4, r1, 0x4c -/* 802D4688 002D15E8 48 03 F7 49 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 802D468C 002D15EC C0 81 00 28 */ lfs f4, 0x28(r1) -/* 802D4690 002D15F0 38 00 00 01 */ li r0, 1 -/* 802D4694 002D15F4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802D4698 002D15F8 C0 A1 00 24 */ lfs f5, 0x24(r1) -/* 802D469C 002D15FC EC 20 01 32 */ fmuls f1, f0, f4 -/* 802D46A0 002D1600 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 802D46A4 002D1604 C0 C1 00 2C */ lfs f6, 0x2c(r1) -/* 802D46A8 002D1608 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 802D46AC 002D160C C0 01 00 08 */ lfs f0, 8(r1) -/* 802D46B0 002D1610 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 802D46B4 002D1614 D0 1C 00 00 */ stfs f0, 0(r28) -/* 802D46B8 002D1618 EC 23 09 BA */ fmadds f1, f3, f6, f1 -/* 802D46BC 002D161C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802D46C0 002D1620 D0 1C 00 04 */ stfs f0, 4(r28) -/* 802D46C4 002D1624 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 802D46C8 002D1628 D0 1C 00 08 */ stfs f0, 8(r28) -/* 802D46CC 002D162C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802D46D0 002D1630 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 802D46D4 002D1634 D0 BC 00 10 */ stfs f5, 0x10(r28) -/* 802D46D8 002D1638 D0 9C 00 14 */ stfs f4, 0x14(r28) -/* 802D46DC 002D163C D0 DC 00 18 */ stfs f6, 0x18(r28) -/* 802D46E0 002D1640 D0 3C 00 1C */ stfs f1, 0x1c(r28) -/* 802D46E4 002D1644 98 1C 00 20 */ stb r0, 0x20(r28) -/* 802D46E8 002D1648 80 1F 00 00 */ lwz r0, 0(r31) -/* 802D46EC 002D164C 80 7F 00 04 */ lwz r3, 4(r31) -/* 802D46F0 002D1650 90 7C 00 2C */ stw r3, 0x2c(r28) -/* 802D46F4 002D1654 90 1C 00 28 */ stw r0, 0x28(r28) -/* 802D46F8 002D1658 48 00 00 60 */ b lbl_802D4758 -lbl_802D46FC: -/* 802D46FC 002D165C C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) -/* 802D4700 002D1660 38 61 00 0C */ addi r3, r1, 0xc -/* 802D4704 002D1664 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D4708 002D1668 D0 3C 00 00 */ stfs f1, 0(r28) -/* 802D470C 002D166C D0 3C 00 04 */ stfs f1, 4(r28) -/* 802D4710 002D1670 D0 3C 00 08 */ stfs f1, 8(r28) -/* 802D4714 002D1674 D0 3C 00 0C */ stfs f1, 0xc(r28) -/* 802D4718 002D1678 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802D471C 002D167C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802D4720 002D1680 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802D4724 002D1684 48 04 01 D5 */ bl Normalize__9CVector3fFv -/* 802D4728 002D1688 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802D472C 002D168C 38 00 00 00 */ li r0, 0 -/* 802D4730 002D1690 C0 02 C5 30 */ lfs f0, lbl_805AE250@sda21(r2) -/* 802D4734 002D1694 D0 3C 00 10 */ stfs f1, 0x10(r28) -/* 802D4738 002D1698 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802D473C 002D169C D0 3C 00 14 */ stfs f1, 0x14(r28) -/* 802D4740 002D16A0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802D4744 002D16A4 D0 3C 00 18 */ stfs f1, 0x18(r28) -/* 802D4748 002D16A8 D0 1C 00 1C */ stfs f0, 0x1c(r28) -/* 802D474C 002D16AC 98 1C 00 20 */ stb r0, 0x20(r28) -/* 802D4750 002D16B0 90 1C 00 2C */ stw r0, 0x2c(r28) -/* 802D4754 002D16B4 90 1C 00 28 */ stw r0, 0x28(r28) -lbl_802D4758: -/* 802D4758 002D16B8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802D475C 002D16BC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802D4760 002D16C0 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802D4764 002D16C4 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 802D4768 002D16C8 83 81 00 70 */ lwz r28, 0x70(r1) -/* 802D476C 002D16CC 7C 08 03 A6 */ mtlr r0 -/* 802D4770 002D16D0 38 21 00 80 */ addi r1, r1, 0x80 -/* 802D4774 002D16D4 4E 80 00 20 */ blr - -.global Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure -Sphere_Sphere_Bool__7CollideFRC27CInternalCollisionStructure: -/* 802D4778 002D16D8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802D477C 002D16DC 7C 08 02 A6 */ mflr r0 -/* 802D4780 002D16E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D4784 002D16E4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802D4788 002D16E8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802D478C 002D16EC 7C 7E 1B 78 */ mr r30, r3 -/* 802D4790 002D16F0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D4794 002D16F4 83 FE 00 38 */ lwz r31, 0x38(r30) -/* 802D4798 002D16F8 38 BE 00 08 */ addi r5, r30, 8 -/* 802D479C 002D16FC 80 9E 00 00 */ lwz r4, 0(r30) -/* 802D47A0 002D1700 4B FF FB B5 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D47A4 002D1704 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 802D47A8 002D1708 7F E4 FB 78 */ mr r4, r31 -/* 802D47AC 002D170C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 802D47B0 002D1710 38 61 00 08 */ addi r3, r1, 8 -/* 802D47B4 002D1714 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 802D47B8 002D1718 38 BE 00 40 */ addi r5, r30, 0x40 -/* 802D47BC 002D171C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802D47C0 002D1720 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802D47C4 002D1724 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802D47C8 002D1728 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802D47CC 002D172C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 802D47D0 002D1730 4B FF FB 85 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D47D4 002D1734 C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 802D47D8 002D1738 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802D47DC 002D173C C0 C1 00 08 */ lfs f6, 8(r1) -/* 802D47E0 002D1740 EC 20 28 28 */ fsubs f1, f0, f5 -/* 802D47E4 002D1744 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802D47E8 002D1748 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 802D47EC 002D174C EC E0 30 28 */ fsubs f7, f0, f6 -/* 802D47F0 002D1750 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 802D47F4 002D1754 EC 01 00 72 */ fmuls f0, f1, f1 -/* 802D47F8 002D1758 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 802D47FC 002D175C C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802D4800 002D1760 EC 42 20 28 */ fsubs f2, f2, f4 -/* 802D4804 002D1764 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 802D4808 002D1768 EC C1 18 2A */ fadds f6, f1, f3 -/* 802D480C 002D176C EC 27 01 FA */ fmadds f1, f7, f7, f0 -/* 802D4810 002D1770 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 802D4814 002D1774 EC 06 01 B2 */ fmuls f0, f6, f6 -/* 802D4818 002D1778 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 802D481C 002D177C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802D4820 002D1780 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 802D4824 002D1784 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D4828 002D1788 4C 40 13 82 */ cror 2, 0, 2 -/* 802D482C 002D178C 7C 00 00 26 */ mfcr r0 -/* 802D4830 002D1790 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 802D4834 002D1794 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802D4838 002D1798 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802D483C 002D179C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D4840 002D17A0 7C 08 03 A6 */ mtlr r0 -/* 802D4844 002D17A4 38 21 00 50 */ addi r1, r1, 0x50 -/* 802D4848 002D17A8 4E 80 00 20 */ blr - -.global Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList -Sphere_Sphere__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802D484C 002D17AC 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 802D4850 002D17B0 7C 08 02 A6 */ mflr r0 -/* 802D4854 002D17B4 90 01 01 34 */ stw r0, 0x134(r1) -/* 802D4858 002D17B8 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 802D485C 002D17BC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 802D4860 002D17C0 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 802D4864 002D17C4 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 802D4868 002D17C8 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 802D486C 002D17CC F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 802D4870 002D17D0 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 802D4874 002D17D4 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 802D4878 002D17D8 93 E1 00 EC */ stw r31, 0xec(r1) -/* 802D487C 002D17DC 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 802D4880 002D17E0 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 802D4884 002D17E4 93 81 00 E0 */ stw r28, 0xe0(r1) -/* 802D4888 002D17E8 7C 7C 1B 78 */ mr r28, r3 -/* 802D488C 002D17EC 7C 9D 23 78 */ mr r29, r4 -/* 802D4890 002D17F0 83 C3 00 00 */ lwz r30, 0(r3) -/* 802D4894 002D17F4 38 61 00 24 */ addi r3, r1, 0x24 -/* 802D4898 002D17F8 83 FC 00 38 */ lwz r31, 0x38(r28) -/* 802D489C 002D17FC 38 BC 00 08 */ addi r5, r28, 8 -/* 802D48A0 002D1800 7F C4 F3 78 */ mr r4, r30 -/* 802D48A4 002D1804 4B FF FA B1 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D48A8 002D1808 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 802D48AC 002D180C 7F E4 FB 78 */ mr r4, r31 -/* 802D48B0 002D1810 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802D48B4 002D1814 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D48B8 002D1818 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802D48BC 002D181C 38 BC 00 40 */ addi r5, r28, 0x40 -/* 802D48C0 002D1820 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 802D48C4 002D1824 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802D48C8 002D1828 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 802D48CC 002D182C D0 21 00 70 */ stfs f1, 0x70(r1) -/* 802D48D0 002D1830 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 802D48D4 002D1834 4B FF FA 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D48D8 002D1838 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 802D48DC 002D183C C3 A1 00 18 */ lfs f29, 0x18(r1) -/* 802D48E0 002D1840 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802D48E4 002D1844 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 802D48E8 002D1848 EC C1 E8 28 */ fsubs f6, f1, f29 -/* 802D48EC 002D184C C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 802D48F0 002D1850 EC 80 18 28 */ fsubs f4, f0, f3 -/* 802D48F4 002D1854 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802D48F8 002D1858 C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 802D48FC 002D185C EC A0 F0 28 */ fsubs f5, f0, f30 -/* 802D4900 002D1860 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 802D4904 002D1864 EC 44 01 32 */ fmuls f2, f4, f4 -/* 802D4908 002D1868 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 802D490C 002D186C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 802D4910 002D1870 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802D4914 002D1874 EC 65 01 72 */ fmuls f3, f5, f5 -/* 802D4918 002D1878 D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 802D491C 002D187C EC 22 08 2A */ fadds f1, f2, f1 -/* 802D4920 002D1880 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D4924 002D1884 D3 C1 00 60 */ stfs f30, 0x60(r1) -/* 802D4928 002D1888 EF 83 08 2A */ fadds f28, f3, f1 -/* 802D492C 002D188C D3 E1 00 64 */ stfs f31, 0x64(r1) -/* 802D4930 002D1890 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802D4934 002D1894 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 802D4938 002D1898 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 802D493C 002D189C D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 802D4940 002D18A0 4C 40 13 82 */ cror 2, 0, 2 -/* 802D4944 002D18A4 40 82 00 F4 */ bne lbl_802D4A38 -/* 802D4948 002D18A8 38 61 00 4C */ addi r3, r1, 0x4c -/* 802D494C 002D18AC 48 03 FD AD */ bl CanBeNormalized__9CVector3fCFv -/* 802D4950 002D18B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D4954 002D18B4 41 82 00 40 */ beq lbl_802D4994 -/* 802D4958 002D18B8 FC 20 E0 90 */ fmr f1, f28 -/* 802D495C 002D18BC 48 04 0B A5 */ bl SqrtF__5CMathFf -/* 802D4960 002D18C0 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D4964 002D18C4 38 81 00 08 */ addi r4, r1, 8 -/* 802D4968 002D18C8 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 802D496C 002D18CC EC 60 08 24 */ fdivs f3, f0, f1 -/* 802D4970 002D18D0 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 802D4974 002D18D4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802D4978 002D18D8 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802D497C 002D18DC EC 23 00 72 */ fmuls f1, f3, f1 -/* 802D4980 002D18E0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802D4984 002D18E4 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802D4988 002D18E8 D0 01 00 08 */ stfs f0, 8(r1) -/* 802D498C 002D18EC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802D4990 002D18F0 48 00 00 0C */ b lbl_802D499C -lbl_802D4994: -/* 802D4994 002D18F4 3C 60 80 5A */ lis r3, lbl_805A6718@ha -/* 802D4998 002D18F8 38 83 67 18 */ addi r4, r3, lbl_805A6718@l -lbl_802D499C: -/* 802D499C 002D18FC C0 04 00 00 */ lfs f0, 0(r4) -/* 802D49A0 002D1900 7F E3 FB 78 */ mr r3, r31 -/* 802D49A4 002D1904 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 802D49A8 002D1908 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802D49AC 002D190C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 802D49B0 002D1910 C0 44 00 04 */ lfs f2, 4(r4) -/* 802D49B4 002D1914 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D49B8 002D1918 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802D49BC 002D191C EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 802D49C0 002D1920 C0 44 00 08 */ lfs f2, 8(r4) -/* 802D49C4 002D1924 EC 7D 08 2A */ fadds f3, f29, f1 -/* 802D49C8 002D1928 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 802D49CC 002D192C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 802D49D0 002D1930 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 802D49D4 002D1934 EC 1E 08 2A */ fadds f0, f30, f1 -/* 802D49D8 002D1938 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 802D49DC 002D193C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802D49E0 002D1940 81 9F 00 00 */ lwz r12, 0(r31) -/* 802D49E4 002D1944 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D49E8 002D1948 7D 89 03 A6 */ mtctr r12 -/* 802D49EC 002D194C 4E 80 04 21 */ bctrl -/* 802D49F0 002D1950 7C 7F 1B 78 */ mr r31, r3 -/* 802D49F4 002D1954 7F C3 F3 78 */ mr r3, r30 -/* 802D49F8 002D1958 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D49FC 002D195C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4A00 002D1960 7D 89 03 A6 */ mtctr r12 -/* 802D4A04 002D1964 4E 80 04 21 */ bctrl -/* 802D4A08 002D1968 7C 65 1B 78 */ mr r5, r3 -/* 802D4A0C 002D196C 7F E6 FB 78 */ mr r6, r31 -/* 802D4A10 002D1970 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D4A14 002D1974 38 81 00 34 */ addi r4, r1, 0x34 -/* 802D4A18 002D1978 38 E1 00 40 */ addi r7, r1, 0x40 -/* 802D4A1C 002D197C 4B FF 9A 2D */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D4A20 002D1980 7C 64 1B 78 */ mr r4, r3 -/* 802D4A24 002D1984 7F A3 EB 78 */ mr r3, r29 -/* 802D4A28 002D1988 38 A0 00 00 */ li r5, 0 -/* 802D4A2C 002D198C 4B EB 0B F5 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D4A30 002D1990 38 60 00 01 */ li r3, 1 -/* 802D4A34 002D1994 48 00 00 08 */ b lbl_802D4A3C -lbl_802D4A38: -/* 802D4A38 002D1998 38 60 00 00 */ li r3, 0 -lbl_802D4A3C: -/* 802D4A3C 002D199C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 802D4A40 002D19A0 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 802D4A44 002D19A4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 802D4A48 002D19A8 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 802D4A4C 002D19AC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 802D4A50 002D19B0 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 802D4A54 002D19B4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 802D4A58 002D19B8 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 802D4A5C 002D19BC 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 802D4A60 002D19C0 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 802D4A64 002D19C4 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 802D4A68 002D19C8 80 01 01 34 */ lwz r0, 0x134(r1) -/* 802D4A6C 002D19CC 83 81 00 E0 */ lwz r28, 0xe0(r1) -/* 802D4A70 002D19D0 7C 08 03 A6 */ mtlr r0 -/* 802D4A74 002D19D4 38 21 01 30 */ addi r1, r1, 0x130 -/* 802D4A78 002D19D8 4E 80 00 20 */ blr - -.global Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList -Sphere_AABox__7CollideFRC27CInternalCollisionStructureR18CCollisionInfoList: -/* 802D4A7C 002D19DC 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 802D4A80 002D19E0 7C 08 02 A6 */ mflr r0 -/* 802D4A84 002D19E4 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 802D4A88 002D19E8 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 802D4A8C 002D19EC F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 802D4A90 002D19F0 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 802D4A94 002D19F4 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 802D4A98 002D19F8 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 802D4A9C 002D19FC F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 802D4AA0 002D1A00 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 802D4AA4 002D1A04 93 C1 01 98 */ stw r30, 0x198(r1) -/* 802D4AA8 002D1A08 93 A1 01 94 */ stw r29, 0x194(r1) -/* 802D4AAC 002D1A0C 7C 66 1B 78 */ mr r6, r3 -/* 802D4AB0 002D1A10 7C 9F 23 78 */ mr r31, r4 -/* 802D4AB4 002D1A14 83 A3 00 00 */ lwz r29, 0(r3) -/* 802D4AB8 002D1A18 38 61 00 44 */ addi r3, r1, 0x44 -/* 802D4ABC 002D1A1C 83 C6 00 38 */ lwz r30, 0x38(r6) -/* 802D4AC0 002D1A20 38 A6 00 08 */ addi r5, r6, 8 -/* 802D4AC4 002D1A24 C3 A6 00 6C */ lfs f29, 0x6c(r6) -/* 802D4AC8 002D1A28 7F A4 EB 78 */ mr r4, r29 -/* 802D4ACC 002D1A2C C3 C6 00 5C */ lfs f30, 0x5c(r6) -/* 802D4AD0 002D1A30 C3 E6 00 4C */ lfs f31, 0x4c(r6) -/* 802D4AD4 002D1A34 4B FF F8 81 */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D4AD8 002D1A38 C0 5E 00 20 */ lfs f2, 0x20(r30) -/* 802D4ADC 002D1A3C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 802D4AE0 002D1A40 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 802D4AE4 002D1A44 38 81 00 38 */ addi r4, r1, 0x38 -/* 802D4AE8 002D1A48 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 802D4AEC 002D1A4C EC 42 F0 2A */ fadds f2, f2, f30 -/* 802D4AF0 002D1A50 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802D4AF4 002D1A54 C0 C1 00 44 */ lfs f6, 0x44(r1) -/* 802D4AF8 002D1A58 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802D4AFC 002D1A5C C0 A1 00 48 */ lfs f5, 0x48(r1) -/* 802D4B00 002D1A60 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 802D4B04 002D1A64 C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 802D4B08 002D1A68 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 802D4B0C 002D1A6C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802D4B10 002D1A70 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 802D4B14 002D1A74 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 802D4B18 002D1A78 C0 5E 00 14 */ lfs f2, 0x14(r30) -/* 802D4B1C 002D1A7C C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 802D4B20 002D1A80 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 802D4B24 002D1A84 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802D4B28 002D1A88 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802D4B2C 002D1A8C D0 C1 00 A8 */ stfs f6, 0xa8(r1) -/* 802D4B30 002D1A90 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802D4B34 002D1A94 D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 802D4B38 002D1A98 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 802D4B3C 002D1A9C D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 802D4B40 002D1AA0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 802D4B44 002D1AA4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802D4B48 002D1AA8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 802D4B4C 002D1AAC 48 06 39 BD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D4B50 002D1AB0 C0 A1 00 A8 */ lfs f5, 0xa8(r1) -/* 802D4B54 002D1AB4 38 00 00 03 */ li r0, 3 -/* 802D4B58 002D1AB8 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 802D4B5C 002D1ABC 38 61 00 90 */ addi r3, r1, 0x90 -/* 802D4B60 002D1AC0 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 802D4B64 002D1AC4 38 81 00 9C */ addi r4, r1, 0x9c -/* 802D4B68 002D1AC8 C0 E1 00 B8 */ lfs f7, 0xb8(r1) -/* 802D4B6C 002D1ACC 38 C1 00 84 */ addi r6, r1, 0x84 -/* 802D4B70 002D1AD0 C1 01 00 BC */ lfs f8, 0xbc(r1) -/* 802D4B74 002D1AD4 39 00 00 00 */ li r8, 0 -/* 802D4B78 002D1AD8 C0 C1 00 C0 */ lfs f6, 0xc0(r1) -/* 802D4B7C 002D1ADC 38 A0 00 00 */ li r5, 0 -/* 802D4B80 002D1AE0 C0 81 00 C4 */ lfs f4, 0xc4(r1) -/* 802D4B84 002D1AE4 38 E0 00 01 */ li r7, 1 -/* 802D4B88 002D1AE8 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 802D4B8C 002D1AEC C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 802D4B90 002D1AF0 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 802D4B94 002D1AF4 C0 A2 C5 30 */ lfs f5, lbl_805AE250@sda21(r2) -/* 802D4B98 002D1AF8 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 802D4B9C 002D1AFC C3 E1 00 B4 */ lfs f31, 0xb4(r1) -/* 802D4BA0 002D1B00 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 802D4BA4 002D1B04 D0 E1 00 90 */ stfs f7, 0x90(r1) -/* 802D4BA8 002D1B08 D1 01 00 94 */ stfs f8, 0x94(r1) -/* 802D4BAC 002D1B0C D0 C1 00 98 */ stfs f6, 0x98(r1) -/* 802D4BB0 002D1B10 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 802D4BB4 002D1B14 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 802D4BB8 002D1B18 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802D4BBC 002D1B1C 7C 09 03 A6 */ mtctr r0 -lbl_802D4BC0: -/* 802D4BC0 002D1B20 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D4BC4 002D1B24 C0 83 00 00 */ lfs f4, 0(r3) -/* 802D4BC8 002D1B28 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 802D4BCC 002D1B2C 40 80 00 38 */ bge lbl_802D4C04 -/* 802D4BD0 002D1B30 EC 43 F8 2A */ fadds f2, f3, f31 -/* 802D4BD4 002D1B34 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D4BD8 002D1B38 4C 41 13 82 */ cror 2, 1, 2 -/* 802D4BDC 002D1B3C 40 82 00 20 */ bne lbl_802D4BFC -/* 802D4BE0 002D1B40 EC 43 20 28 */ fsubs f2, f3, f4 -/* 802D4BE4 002D1B44 38 00 00 01 */ li r0, 1 -/* 802D4BE8 002D1B48 7C 00 28 30 */ slw r0, r0, r5 -/* 802D4BEC 002D1B4C 7D 08 03 78 */ or r8, r8, r0 -/* 802D4BF0 002D1B50 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 802D4BF4 002D1B54 EC A5 10 2A */ fadds f5, f5, f2 -/* 802D4BF8 002D1B58 48 00 00 4C */ b lbl_802D4C44 -lbl_802D4BFC: -/* 802D4BFC 002D1B5C 38 60 00 00 */ li r3, 0 -/* 802D4C00 002D1B60 48 00 04 CC */ b lbl_802D50CC -lbl_802D4C04: -/* 802D4C04 002D1B64 C0 86 00 00 */ lfs f4, 0(r6) -/* 802D4C08 002D1B68 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 802D4C0C 002D1B6C 40 81 00 38 */ ble lbl_802D4C44 -/* 802D4C10 002D1B70 EC 43 F8 28 */ fsubs f2, f3, f31 -/* 802D4C14 002D1B74 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 802D4C18 002D1B78 4C 40 13 82 */ cror 2, 0, 2 -/* 802D4C1C 002D1B7C 40 82 00 20 */ bne lbl_802D4C3C -/* 802D4C20 002D1B80 EC 43 20 28 */ fsubs f2, f3, f4 -/* 802D4C24 002D1B84 38 00 00 01 */ li r0, 1 -/* 802D4C28 002D1B88 7C 00 38 30 */ slw r0, r0, r7 -/* 802D4C2C 002D1B8C 7D 08 03 78 */ or r8, r8, r0 -/* 802D4C30 002D1B90 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 802D4C34 002D1B94 EC A5 10 2A */ fadds f5, f5, f2 -/* 802D4C38 002D1B98 48 00 00 0C */ b lbl_802D4C44 -lbl_802D4C3C: -/* 802D4C3C 002D1B9C 38 60 00 00 */ li r3, 0 -/* 802D4C40 002D1BA0 48 00 04 8C */ b lbl_802D50CC -lbl_802D4C44: -/* 802D4C44 002D1BA4 38 63 00 04 */ addi r3, r3, 4 -/* 802D4C48 002D1BA8 38 84 00 04 */ addi r4, r4, 4 -/* 802D4C4C 002D1BAC 38 A5 00 02 */ addi r5, r5, 2 -/* 802D4C50 002D1BB0 38 C6 00 04 */ addi r6, r6, 4 -/* 802D4C54 002D1BB4 38 E7 00 02 */ addi r7, r7, 2 -/* 802D4C58 002D1BB8 42 00 FF 68 */ bdnz lbl_802D4BC0 -/* 802D4C5C 002D1BBC 2C 08 00 00 */ cmpwi r8, 0 -/* 802D4C60 002D1BC0 40 82 00 F0 */ bne lbl_802D4D50 -/* 802D4C64 002D1BC4 38 61 00 08 */ addi r3, r1, 8 -/* 802D4C68 002D1BC8 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 802D4C6C 002D1BCC 48 06 29 A1 */ bl GetCenterPoint__6CAABoxCFv -/* 802D4C70 002D1BD0 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 802D4C74 002D1BD4 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D4C78 002D1BD8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802D4C7C 002D1BDC 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D4C80 002D1BE0 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 802D4C84 002D1BE4 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802D4C88 002D1BE8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802D4C8C 002D1BEC C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 802D4C90 002D1BF0 C0 01 00 08 */ lfs f0, 8(r1) -/* 802D4C94 002D1BF4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D4C98 002D1BF8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802D4C9C 002D1BFC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D4CA0 002D1C00 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802D4CA4 002D1C04 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D4CA8 002D1C08 48 03 FB A9 */ bl AsNormalized__9CVector3fCFv -/* 802D4CAC 002D1C0C C1 01 00 20 */ lfs f8, 0x20(r1) -/* 802D4CB0 002D1C10 7F C3 F3 78 */ mr r3, r30 -/* 802D4CB4 002D1C14 C0 E1 00 24 */ lfs f7, 0x24(r1) -/* 802D4CB8 002D1C18 C0 C1 00 28 */ lfs f6, 0x28(r1) -/* 802D4CBC 002D1C1C EC 1F 02 32 */ fmuls f0, f31, f8 -/* 802D4CC0 002D1C20 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 802D4CC4 002D1C24 EC 9F 01 F2 */ fmuls f4, f31, f7 -/* 802D4CC8 002D1C28 C0 A1 00 A0 */ lfs f5, 0xa0(r1) -/* 802D4CCC 002D1C2C EC 5F 01 B2 */ fmuls f2, f31, f6 -/* 802D4CD0 002D1C30 C0 61 00 A4 */ lfs f3, 0xa4(r1) -/* 802D4CD4 002D1C34 EC 85 20 2A */ fadds f4, f5, f4 -/* 802D4CD8 002D1C38 D1 01 00 78 */ stfs f8, 0x78(r1) -/* 802D4CDC 002D1C3C EC 43 10 2A */ fadds f2, f3, f2 -/* 802D4CE0 002D1C40 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D4CE4 002D1C44 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 802D4CE8 002D1C48 D0 C1 00 80 */ stfs f6, 0x80(r1) -/* 802D4CEC 002D1C4C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 802D4CF0 002D1C50 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 802D4CF4 002D1C54 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802D4CF8 002D1C58 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D4CFC 002D1C5C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4D00 002D1C60 7D 89 03 A6 */ mtctr r12 -/* 802D4D04 002D1C64 4E 80 04 21 */ bctrl -/* 802D4D08 002D1C68 7C 7E 1B 78 */ mr r30, r3 -/* 802D4D0C 002D1C6C 7F A3 EB 78 */ mr r3, r29 -/* 802D4D10 002D1C70 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D4D14 002D1C74 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D4D18 002D1C78 7D 89 03 A6 */ mtctr r12 -/* 802D4D1C 002D1C7C 4E 80 04 21 */ bctrl -/* 802D4D20 002D1C80 7C 65 1B 78 */ mr r5, r3 -/* 802D4D24 002D1C84 7F C6 F3 78 */ mr r6, r30 -/* 802D4D28 002D1C88 38 61 01 30 */ addi r3, r1, 0x130 -/* 802D4D2C 002D1C8C 38 81 00 6C */ addi r4, r1, 0x6c -/* 802D4D30 002D1C90 38 E1 00 78 */ addi r7, r1, 0x78 -/* 802D4D34 002D1C94 4B FF 97 15 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D4D38 002D1C98 7C 64 1B 78 */ mr r4, r3 -/* 802D4D3C 002D1C9C 7F E3 FB 78 */ mr r3, r31 -/* 802D4D40 002D1CA0 38 A0 00 00 */ li r5, 0 -/* 802D4D44 002D1CA4 4B EB 08 DD */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D4D48 002D1CA8 38 60 00 01 */ li r3, 1 -/* 802D4D4C 002D1CAC 48 00 03 80 */ b lbl_802D50CC -lbl_802D4D50: -/* 802D4D50 002D1CB0 EC 5F 07 F2 */ fmuls f2, f31, f31 -/* 802D4D54 002D1CB4 FC 05 10 40 */ fcmpo cr0, f5, f2 -/* 802D4D58 002D1CB8 40 81 00 0C */ ble lbl_802D4D64 -/* 802D4D5C 002D1CBC 38 60 00 00 */ li r3, 0 -/* 802D4D60 002D1CC0 48 00 03 6C */ b lbl_802D50CC -lbl_802D4D64: -/* 802D4D64 002D1CC4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D4D68 002D1CC8 C4 83 66 A0 */ lfsu f4, skZero3f@l(r3) -/* 802D4D6C 002D1CCC 28 08 00 2A */ cmplwi r8, 0x2a -/* 802D4D70 002D1CD0 C0 63 00 04 */ lfs f3, 4(r3) -/* 802D4D74 002D1CD4 C0 43 00 08 */ lfs f2, 8(r3) -/* 802D4D78 002D1CD8 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 802D4D7C 002D1CDC D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802D4D80 002D1CE0 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802D4D84 002D1CE4 41 81 02 C0 */ bgt lbl_802D5044 -/* 802D4D88 002D1CE8 3C 60 80 3F */ lis r3, lbl_803ECB20@ha -/* 802D4D8C 002D1CEC 55 00 10 3A */ slwi r0, r8, 2 -/* 802D4D90 002D1CF0 38 63 CB 20 */ addi r3, r3, lbl_803ECB20@l -/* 802D4D94 002D1CF4 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802D4D98 002D1CF8 7C 09 03 A6 */ mtctr r0 -/* 802D4D9C 002D1CFC 4E 80 04 20 */ bctr -/* 802D4DA0 002D1D00 C0 61 00 C4 */ lfs f3, 0xc4(r1) -/* 802D4DA4 002D1D04 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 802D4DA8 002D1D08 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4DAC 002D1D0C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4DB0 002D1D10 D0 C1 00 68 */ stfs f6, 0x68(r1) -/* 802D4DB4 002D1D14 48 00 02 90 */ b lbl_802D5044 -/* 802D4DB8 002D1D18 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 802D4DBC 002D1D1C D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 802D4DC0 002D1D20 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4DC4 002D1D24 D0 C1 00 68 */ stfs f6, 0x68(r1) -/* 802D4DC8 002D1D28 48 00 02 7C */ b lbl_802D5044 -/* 802D4DCC 002D1D2C C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 802D4DD0 002D1D30 D1 01 00 64 */ stfs f8, 0x64(r1) -/* 802D4DD4 002D1D34 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802D4DD8 002D1D38 D0 C1 00 68 */ stfs f6, 0x68(r1) -/* 802D4DDC 002D1D3C 48 00 02 68 */ b lbl_802D5044 -/* 802D4DE0 002D1D40 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 802D4DE4 002D1D44 D1 01 00 64 */ stfs f8, 0x64(r1) -/* 802D4DE8 002D1D48 D0 C1 00 68 */ stfs f6, 0x68(r1) -/* 802D4DEC 002D1D4C 48 00 02 58 */ b lbl_802D5044 -/* 802D4DF0 002D1D50 C0 81 00 CC */ lfs f4, 0xcc(r1) -/* 802D4DF4 002D1D54 C0 61 00 C4 */ lfs f3, 0xc4(r1) -/* 802D4DF8 002D1D58 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 802D4DFC 002D1D5C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4E00 002D1D60 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4E04 002D1D64 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4E08 002D1D68 48 00 02 3C */ b lbl_802D5044 -/* 802D4E0C 002D1D6C C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 802D4E10 002D1D70 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 802D4E14 002D1D74 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 802D4E18 002D1D78 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4E1C 002D1D7C D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802D4E20 002D1D80 48 00 02 24 */ b lbl_802D5044 -/* 802D4E24 002D1D84 C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 802D4E28 002D1D88 C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 802D4E2C 002D1D8C D1 01 00 64 */ stfs f8, 0x64(r1) -/* 802D4E30 002D1D90 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 802D4E34 002D1D94 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 802D4E38 002D1D98 48 00 02 0C */ b lbl_802D5044 -/* 802D4E3C 002D1D9C C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 802D4E40 002D1DA0 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 802D4E44 002D1DA4 D1 01 00 64 */ stfs f8, 0x64(r1) -/* 802D4E48 002D1DA8 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802D4E4C 002D1DAC 48 00 01 F8 */ b lbl_802D5044 -/* 802D4E50 002D1DB0 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 802D4E54 002D1DB4 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 802D4E58 002D1DB8 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4E5C 002D1DBC D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4E60 002D1DC0 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4E64 002D1DC4 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4E68 002D1DC8 48 00 01 DC */ b lbl_802D5044 -/* 802D4E6C 002D1DCC C0 81 00 98 */ lfs f4, 0x98(r1) -/* 802D4E70 002D1DD0 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 802D4E74 002D1DD4 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4E78 002D1DD8 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4E7C 002D1DDC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4E80 002D1DE0 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4E84 002D1DE4 48 00 01 C0 */ b lbl_802D5044 -/* 802D4E88 002D1DE8 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 802D4E8C 002D1DEC C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4E90 002D1DF0 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D4E94 002D1DF4 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4E98 002D1DF8 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4E9C 002D1DFC D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4EA0 002D1E00 48 00 01 A4 */ b lbl_802D5044 -/* 802D4EA4 002D1E04 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 802D4EA8 002D1E08 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4EAC 002D1E0C C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802D4EB0 002D1E10 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4EB4 002D1E14 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4EB8 002D1E18 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4EBC 002D1E1C 48 00 01 88 */ b lbl_802D5044 -/* 802D4EC0 002D1E20 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4EC4 002D1E24 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 802D4EC8 002D1E28 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D4ECC 002D1E2C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4ED0 002D1E30 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4ED4 002D1E34 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4ED8 002D1E38 48 00 01 6C */ b lbl_802D5044 -/* 802D4EDC 002D1E3C C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4EE0 002D1E40 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 802D4EE4 002D1E44 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D4EE8 002D1E48 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4EEC 002D1E4C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4EF0 002D1E50 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4EF4 002D1E54 48 00 01 50 */ b lbl_802D5044 -/* 802D4EF8 002D1E58 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4EFC 002D1E5C C0 61 00 90 */ lfs f3, 0x90(r1) -/* 802D4F00 002D1E60 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802D4F04 002D1E64 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F08 002D1E68 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F0C 002D1E6C D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F10 002D1E70 48 00 01 34 */ b lbl_802D5044 -/* 802D4F14 002D1E74 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4F18 002D1E78 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 802D4F1C 002D1E7C C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802D4F20 002D1E80 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F24 002D1E84 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F28 002D1E88 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F2C 002D1E8C 48 00 01 18 */ b lbl_802D5044 -/* 802D4F30 002D1E90 C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 802D4F34 002D1E94 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 802D4F38 002D1E98 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4F3C 002D1E9C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F40 002D1EA0 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F44 002D1EA4 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F48 002D1EA8 48 00 00 FC */ b lbl_802D5044 -/* 802D4F4C 002D1EAC C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 802D4F50 002D1EB0 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 802D4F54 002D1EB4 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4F58 002D1EB8 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F5C 002D1EBC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F60 002D1EC0 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F64 002D1EC4 48 00 00 E0 */ b lbl_802D5044 -/* 802D4F68 002D1EC8 C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 802D4F6C 002D1ECC C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4F70 002D1ED0 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D4F74 002D1ED4 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F78 002D1ED8 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F7C 002D1EDC D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F80 002D1EE0 48 00 00 C4 */ b lbl_802D5044 -/* 802D4F84 002D1EE4 C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 802D4F88 002D1EE8 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4F8C 002D1EEC C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802D4F90 002D1EF0 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4F94 002D1EF4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4F98 002D1EF8 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4F9C 002D1EFC 48 00 00 A8 */ b lbl_802D5044 -/* 802D4FA0 002D1F00 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4FA4 002D1F04 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 802D4FA8 002D1F08 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4FAC 002D1F0C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4FB0 002D1F10 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4FB4 002D1F14 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4FB8 002D1F18 48 00 00 8C */ b lbl_802D5044 -/* 802D4FBC 002D1F1C C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4FC0 002D1F20 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 802D4FC4 002D1F24 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D4FC8 002D1F28 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4FCC 002D1F2C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4FD0 002D1F30 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4FD4 002D1F34 48 00 00 70 */ b lbl_802D5044 -/* 802D4FD8 002D1F38 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4FDC 002D1F3C C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4FE0 002D1F40 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 802D4FE4 002D1F44 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D4FE8 002D1F48 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D4FEC 002D1F4C D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D4FF0 002D1F50 48 00 00 54 */ b lbl_802D5044 -/* 802D4FF4 002D1F54 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 802D4FF8 002D1F58 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D4FFC 002D1F5C C0 41 00 88 */ lfs f2, 0x88(r1) -/* 802D5000 002D1F60 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D5004 002D1F64 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D5008 002D1F68 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D500C 002D1F6C 48 00 00 38 */ b lbl_802D5044 -/* 802D5010 002D1F70 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 802D5014 002D1F74 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D5018 002D1F78 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D501C 002D1F7C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D5020 002D1F80 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D5024 002D1F84 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D5028 002D1F88 48 00 00 1C */ b lbl_802D5044 -/* 802D502C 002D1F8C C0 81 00 8C */ lfs f4, 0x8c(r1) -/* 802D5030 002D1F90 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 802D5034 002D1F94 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 802D5038 002D1F98 D0 61 00 60 */ stfs f3, 0x60(r1) -/* 802D503C 002D1F9C D0 41 00 64 */ stfs f2, 0x64(r1) -/* 802D5040 002D1FA0 D0 81 00 68 */ stfs f4, 0x68(r1) -lbl_802D5044: -/* 802D5044 002D1FA4 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 802D5048 002D1FA8 38 61 00 54 */ addi r3, r1, 0x54 -/* 802D504C 002D1FAC C0 61 00 68 */ lfs f3, 0x68(r1) -/* 802D5050 002D1FB0 EC 80 10 28 */ fsubs f4, f0, f2 -/* 802D5054 002D1FB4 C0 41 00 A8 */ lfs f2, 0xa8(r1) -/* 802D5058 002D1FB8 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 802D505C 002D1FBC EC 21 18 28 */ fsubs f1, f1, f3 -/* 802D5060 002D1FC0 EC 02 00 28 */ fsubs f0, f2, f0 -/* 802D5064 002D1FC4 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 802D5068 002D1FC8 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 802D506C 002D1FCC D0 01 00 54 */ stfs f0, 0x54(r1) -/* 802D5070 002D1FD0 48 03 F8 89 */ bl Normalize__9CVector3fFv -/* 802D5074 002D1FD4 7F C3 F3 78 */ mr r3, r30 -/* 802D5078 002D1FD8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802D507C 002D1FDC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D5080 002D1FE0 7D 89 03 A6 */ mtctr r12 -/* 802D5084 002D1FE4 4E 80 04 21 */ bctrl -/* 802D5088 002D1FE8 7C 7E 1B 78 */ mr r30, r3 -/* 802D508C 002D1FEC 7F A3 EB 78 */ mr r3, r29 -/* 802D5090 002D1FF0 81 9D 00 00 */ lwz r12, 0(r29) -/* 802D5094 002D1FF4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D5098 002D1FF8 7D 89 03 A6 */ mtctr r12 -/* 802D509C 002D1FFC 4E 80 04 21 */ bctrl -/* 802D50A0 002D2000 7C 65 1B 78 */ mr r5, r3 -/* 802D50A4 002D2004 7F C6 F3 78 */ mr r6, r30 -/* 802D50A8 002D2008 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 802D50AC 002D200C 38 81 00 60 */ addi r4, r1, 0x60 -/* 802D50B0 002D2010 38 E1 00 54 */ addi r7, r1, 0x54 -/* 802D50B4 002D2014 4B FF 93 95 */ bl __ct__14CCollisionInfoFRC9CVector3fRC13CMaterialListRC13CMaterialListRC9CVector3f -/* 802D50B8 002D2018 7C 64 1B 78 */ mr r4, r3 -/* 802D50BC 002D201C 7F E3 FB 78 */ mr r3, r31 -/* 802D50C0 002D2020 38 A0 00 00 */ li r5, 0 -/* 802D50C4 002D2024 4B EB 05 5D */ bl Add__18CCollisionInfoListFRC14CCollisionInfob -/* 802D50C8 002D2028 38 60 00 01 */ li r3, 1 -lbl_802D50CC: -/* 802D50CC 002D202C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 802D50D0 002D2030 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 802D50D4 002D2034 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 802D50D8 002D2038 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 802D50DC 002D203C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 802D50E0 002D2040 CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 802D50E4 002D2044 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 802D50E8 002D2048 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 802D50EC 002D204C 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 802D50F0 002D2050 83 A1 01 94 */ lwz r29, 0x194(r1) -/* 802D50F4 002D2054 7C 08 03 A6 */ mtlr r0 -/* 802D50F8 002D2058 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 802D50FC 002D205C 4E 80 00 20 */ blr - -.global Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure -Sphere_AABox_Bool__7CollideFRC27CInternalCollisionStructure: -/* 802D5100 002D2060 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802D5104 002D2064 7C 08 02 A6 */ mflr r0 -/* 802D5108 002D2068 90 01 00 94 */ stw r0, 0x94(r1) -/* 802D510C 002D206C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 802D5110 002D2070 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802D5114 002D2074 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 802D5118 002D2078 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 802D511C 002D207C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 802D5120 002D2080 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 802D5124 002D2084 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802D5128 002D2088 7C 64 1B 78 */ mr r4, r3 -/* 802D512C 002D208C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D5130 002D2090 83 E4 00 38 */ lwz r31, 0x38(r4) -/* 802D5134 002D2094 38 A4 00 08 */ addi r5, r4, 8 -/* 802D5138 002D2098 C3 A4 00 6C */ lfs f29, 0x6c(r4) -/* 802D513C 002D209C C3 C4 00 5C */ lfs f30, 0x5c(r4) -/* 802D5140 002D20A0 C3 E4 00 4C */ lfs f31, 0x4c(r4) -/* 802D5144 002D20A4 80 84 00 00 */ lwz r4, 0(r4) -/* 802D5148 002D20A8 4B FF F2 0D */ bl Transform__17CCollidableSphereCFRC12CTransform4f -/* 802D514C 002D20AC C0 61 00 20 */ lfs f3, 0x20(r1) -/* 802D5150 002D20B0 38 61 00 40 */ addi r3, r1, 0x40 -/* 802D5154 002D20B4 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 802D5158 002D20B8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D515C 002D20BC C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802D5160 002D20C0 38 A1 00 08 */ addi r5, r1, 8 -/* 802D5164 002D20C4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802D5168 002D20C8 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 802D516C 002D20CC D0 41 00 34 */ stfs f2, 0x34(r1) -/* 802D5170 002D20D0 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802D5174 002D20D4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 802D5178 002D20D8 C0 5F 00 20 */ lfs f2, 0x20(r31) -/* 802D517C 002D20DC C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 802D5180 002D20E0 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 802D5184 002D20E4 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802D5188 002D20E8 EC 21 E8 2A */ fadds f1, f1, f29 -/* 802D518C 002D20EC EC 00 F8 2A */ fadds f0, f0, f31 -/* 802D5190 002D20F0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 802D5194 002D20F4 D0 01 00 08 */ stfs f0, 8(r1) -/* 802D5198 002D20F8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 802D519C 002D20FC C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 802D51A0 002D2100 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 802D51A4 002D2104 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 802D51A8 002D2108 EC 42 F0 2A */ fadds f2, f2, f30 -/* 802D51AC 002D210C EC 21 E8 2A */ fadds f1, f1, f29 -/* 802D51B0 002D2110 EC 00 F8 2A */ fadds f0, f0, f31 -/* 802D51B4 002D2114 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802D51B8 002D2118 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D51BC 002D211C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D51C0 002D2120 48 06 33 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D51C4 002D2124 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D51C8 002D2128 38 81 00 40 */ addi r4, r1, 0x40 -/* 802D51CC 002D212C 48 00 00 31 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox -/* 802D51D0 002D2130 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802D51D4 002D2134 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802D51D8 002D2138 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 802D51DC 002D213C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 802D51E0 002D2140 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 802D51E4 002D2144 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 802D51E8 002D2148 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D51EC 002D214C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802D51F0 002D2150 7C 08 03 A6 */ mtlr r0 -/* 802D51F4 002D2154 38 21 00 90 */ addi r1, r1, 0x90 -/* 802D51F8 002D2158 4E 80 00 20 */ blr - -.global Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox -Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox: -/* 802D51FC 002D215C C0 23 00 00 */ lfs f1, 0(r3) -/* 802D5200 002D2160 C0 04 00 00 */ lfs f0, 0(r4) -/* 802D5204 002D2164 C0 42 C5 30 */ lfs f2, lbl_805AE250@sda21(r2) -/* 802D5208 002D2168 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D520C 002D216C 40 80 00 14 */ bge lbl_802D5220 -/* 802D5210 002D2170 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D5214 002D2174 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D5218 002D2178 EC 42 00 2A */ fadds f2, f2, f0 -/* 802D521C 002D217C 48 00 00 1C */ b lbl_802D5238 -lbl_802D5220: -/* 802D5220 002D2180 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 802D5224 002D2184 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5228 002D2188 40 81 00 10 */ ble lbl_802D5238 -/* 802D522C 002D218C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D5230 002D2190 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D5234 002D2194 EC 42 00 2A */ fadds f2, f2, f0 -lbl_802D5238: -/* 802D5238 002D2198 C0 23 00 04 */ lfs f1, 4(r3) -/* 802D523C 002D219C 38 C4 00 10 */ addi r6, r4, 0x10 -/* 802D5240 002D21A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D5244 002D21A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5248 002D21A8 40 80 00 14 */ bge lbl_802D525C -/* 802D524C 002D21AC EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D5250 002D21B0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D5254 002D21B4 EC 42 00 2A */ fadds f2, f2, f0 -/* 802D5258 002D21B8 48 00 00 1C */ b lbl_802D5274 -lbl_802D525C: -/* 802D525C 002D21BC C0 06 00 00 */ lfs f0, 0(r6) -/* 802D5260 002D21C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5264 002D21C4 40 81 00 10 */ ble lbl_802D5274 -/* 802D5268 002D21C8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D526C 002D21CC EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D5270 002D21D0 EC 42 00 2A */ fadds f2, f2, f0 -lbl_802D5274: -/* 802D5274 002D21D4 C0 23 00 08 */ lfs f1, 8(r3) -/* 802D5278 002D21D8 C0 04 00 08 */ lfs f0, 8(r4) -/* 802D527C 002D21DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5280 002D21E0 40 80 00 14 */ bge lbl_802D5294 -/* 802D5284 002D21E4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D5288 002D21E8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D528C 002D21EC EC 42 00 2A */ fadds f2, f2, f0 -/* 802D5290 002D21F0 48 00 00 1C */ b lbl_802D52AC -lbl_802D5294: -/* 802D5294 002D21F4 C0 06 00 04 */ lfs f0, 4(r6) -/* 802D5298 002D21F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D529C 002D21FC 40 81 00 10 */ ble lbl_802D52AC -/* 802D52A0 002D2200 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D52A4 002D2204 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D52A8 002D2208 EC 42 00 2A */ fadds f2, f2, f0 -lbl_802D52AC: -/* 802D52AC 002D220C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802D52B0 002D2210 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802D52B4 002D2214 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D52B8 002D2218 7C 00 00 26 */ mfcr r0 -/* 802D52BC 002D221C 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D52C0 002D2220 7C 00 00 34 */ cntlzw r0, r0 -/* 802D52C4 002D2224 54 03 D9 7E */ srwi r3, r0, 5 -/* 802D52C8 002D2228 4E 80 00 20 */ blr - -.global GetType__17CCollidableSphereFv -GetType__17CCollidableSphereFv: -/* 802D52CC 002D222C 3C A0 80 2D */ lis r5, SetStaticTableIndex__17CCollidableSphereFUi@ha -/* 802D52D0 002D2230 3C 80 80 3D */ lis r4, lbl_803D6A90@ha -/* 802D52D4 002D2234 38 05 52 E8 */ addi r0, r5, SetStaticTableIndex__17CCollidableSphereFUi@l -/* 802D52D8 002D2238 90 03 00 00 */ stw r0, 0(r3) -/* 802D52DC 002D223C 38 04 6A 90 */ addi r0, r4, lbl_803D6A90@l -/* 802D52E0 002D2240 90 03 00 04 */ stw r0, 4(r3) -/* 802D52E4 002D2244 4E 80 00 20 */ blr - -.global SetStaticTableIndex__17CCollidableSphereFUi -SetStaticTableIndex__17CCollidableSphereFUi: -/* 802D52E8 002D2248 90 6D 9B 38 */ stw r3, lbl_805A86F8@sda21(r13) -/* 802D52EC 002D224C 4E 80 00 20 */ blr - -.global __sinit_CCollidableSphere_cpp -__sinit_CCollidableSphere_cpp: -/* 802D52F0 002D2250 C0 42 C5 3C */ lfs f2, lbl_805AE25C@sda21(r2) -/* 802D52F4 002D2254 3C 60 80 48 */ lis r3, lbl_80479558@ha -/* 802D52F8 002D2258 C0 22 C5 30 */ lfs f1, lbl_805AE250@sda21(r2) -/* 802D52FC 002D225C D4 43 95 58 */ stfsu f2, lbl_80479558@l(r3) -/* 802D5300 002D2260 C0 02 C5 34 */ lfs f0, lbl_805AE254@sda21(r2) -/* 802D5304 002D2264 D0 23 00 04 */ stfs f1, 4(r3) -/* 802D5308 002D2268 D0 23 00 08 */ stfs f1, 8(r3) -/* 802D530C 002D226C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802D5310 002D2270 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 802D5314 002D2274 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 802D5318 002D2278 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 802D531C 002D227C D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 802D5320 002D2280 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 802D5324 002D2284 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802D5328 002D2288 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802D532C 002D228C D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 802D5330 002D2290 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 802D5334 002D2294 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 802D5338 002D2298 D0 43 00 38 */ stfs f2, 0x38(r3) -/* 802D533C 002D229C D0 23 00 3C */ stfs f1, 0x3c(r3) -/* 802D5340 002D22A0 D0 23 00 40 */ stfs f1, 0x40(r3) -/* 802D5344 002D22A4 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 802D5348 002D22A8 4E 80 00 20 */ blr - -.global Passes__15CMaterialFilterCFRC13CMaterialList -Passes__15CMaterialFilterCFRC13CMaterialList: -/* 802D534C 002D22AC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802D5350 002D22B0 2C 00 00 02 */ cmpwi r0, 2 -/* 802D5354 002D22B4 41 82 00 68 */ beq lbl_802D53BC -/* 802D5358 002D22B8 40 80 00 14 */ bge lbl_802D536C -/* 802D535C 002D22BC 2C 00 00 00 */ cmpwi r0, 0 -/* 802D5360 002D22C0 41 82 00 18 */ beq lbl_802D5378 -/* 802D5364 002D22C4 40 80 00 1C */ bge lbl_802D5380 -/* 802D5368 002D22C8 48 00 00 FC */ b lbl_802D5464 -lbl_802D536C: -/* 802D536C 002D22CC 2C 00 00 04 */ cmpwi r0, 4 -/* 802D5370 002D22D0 40 80 00 F4 */ bge lbl_802D5464 -/* 802D5374 002D22D4 48 00 00 7C */ b lbl_802D53F0 -lbl_802D5378: -/* 802D5378 002D22D8 38 60 00 01 */ li r3, 1 -/* 802D537C 002D22DC 4E 80 00 20 */ blr -lbl_802D5380: -/* 802D5380 002D22E0 80 C3 00 00 */ lwz r6, 0(r3) -/* 802D5384 002D22E4 38 A0 00 00 */ li r5, 0 -/* 802D5388 002D22E8 80 04 00 00 */ lwz r0, 0(r4) -/* 802D538C 002D22EC 80 E3 00 04 */ lwz r7, 4(r3) -/* 802D5390 002D22F0 80 64 00 04 */ lwz r3, 4(r4) -/* 802D5394 002D22F4 7C C0 00 38 */ and r0, r6, r0 -/* 802D5398 002D22F8 7C 00 2A 78 */ xor r0, r0, r5 -/* 802D539C 002D22FC 7C E3 18 38 */ and r3, r7, r3 -/* 802D53A0 002D2300 7C 63 2A 78 */ xor r3, r3, r5 -/* 802D53A4 002D2304 7C 60 03 79 */ or. r0, r3, r0 -/* 802D53A8 002D2308 41 82 00 0C */ beq lbl_802D53B4 -/* 802D53AC 002D230C 38 60 00 01 */ li r3, 1 -/* 802D53B0 002D2310 4E 80 00 20 */ blr -lbl_802D53B4: -/* 802D53B4 002D2314 38 60 00 00 */ li r3, 0 -/* 802D53B8 002D2318 4E 80 00 20 */ blr -lbl_802D53BC: -/* 802D53BC 002D231C 80 A4 00 00 */ lwz r5, 0(r4) -/* 802D53C0 002D2320 38 00 00 00 */ li r0, 0 -/* 802D53C4 002D2324 80 C3 00 08 */ lwz r6, 8(r3) -/* 802D53C8 002D2328 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 802D53CC 002D232C 80 84 00 04 */ lwz r4, 4(r4) -/* 802D53D0 002D2330 7C C3 28 38 */ and r3, r6, r5 -/* 802D53D4 002D2334 7C 63 02 78 */ xor r3, r3, r0 -/* 802D53D8 002D2338 7C E4 20 38 */ and r4, r7, r4 -/* 802D53DC 002D233C 7C 80 02 78 */ xor r0, r4, r0 -/* 802D53E0 002D2340 7C 03 1B 78 */ or r3, r0, r3 -/* 802D53E4 002D2344 7C 63 00 34 */ cntlzw r3, r3 -/* 802D53E8 002D2348 54 63 D9 7E */ srwi r3, r3, 5 -/* 802D53EC 002D234C 4E 80 00 20 */ blr -lbl_802D53F0: -/* 802D53F0 002D2350 80 03 00 00 */ lwz r0, 0(r3) -/* 802D53F4 002D2354 38 C0 00 00 */ li r6, 0 -/* 802D53F8 002D2358 80 E4 00 00 */ lwz r7, 0(r4) -/* 802D53FC 002D235C 80 A3 00 04 */ lwz r5, 4(r3) -/* 802D5400 002D2360 81 04 00 04 */ lwz r8, 4(r4) -/* 802D5404 002D2364 7C 00 38 38 */ and r0, r0, r7 -/* 802D5408 002D2368 7C 00 32 78 */ xor r0, r0, r6 -/* 802D540C 002D236C 7C A4 40 38 */ and r4, r5, r8 -/* 802D5410 002D2370 7C 84 32 78 */ xor r4, r4, r6 -/* 802D5414 002D2374 7C 80 03 79 */ or. r0, r4, r0 -/* 802D5418 002D2378 41 82 00 0C */ beq lbl_802D5424 -/* 802D541C 002D237C 38 00 00 01 */ li r0, 1 -/* 802D5420 002D2380 48 00 00 08 */ b lbl_802D5428 -lbl_802D5424: -/* 802D5424 002D2384 7C C0 33 78 */ mr r0, r6 -lbl_802D5428: -/* 802D5428 002D2388 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802D542C 002D238C 41 82 00 30 */ beq lbl_802D545C -/* 802D5430 002D2390 80 A3 00 08 */ lwz r5, 8(r3) -/* 802D5434 002D2394 38 80 00 00 */ li r4, 0 -/* 802D5438 002D2398 80 63 00 0C */ lwz r3, 0xc(r3) -/* 802D543C 002D239C 7C 80 FE 70 */ srawi r0, r4, 0x1f -/* 802D5440 002D23A0 7C A5 38 38 */ and r5, r5, r7 -/* 802D5444 002D23A4 7C 63 40 38 */ and r3, r3, r8 -/* 802D5448 002D23A8 7C 63 22 78 */ xor r3, r3, r4 -/* 802D544C 002D23AC 7C A0 02 78 */ xor r0, r5, r0 -/* 802D5450 002D23B0 7C 60 03 79 */ or. r0, r3, r0 -/* 802D5454 002D23B4 40 82 00 08 */ bne lbl_802D545C -/* 802D5458 002D23B8 38 C0 00 01 */ li r6, 1 -lbl_802D545C: -/* 802D545C 002D23BC 7C C3 33 78 */ mr r3, r6 -/* 802D5460 002D23C0 4E 80 00 20 */ blr -lbl_802D5464: -/* 802D5464 002D23C4 38 60 00 01 */ li r3, 1 -/* 802D5468 002D23C8 4E 80 00 20 */ blr - -.global __sinit_CMaterialFilter_cpp -__sinit_CMaterialFilter_cpp: -/* 802D546C 002D23CC 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 802D5470 002D23D0 38 80 FF FF */ li r4, -1 -/* 802D5474 002D23D4 38 63 FD 18 */ addi r3, r3, lbl_8059FD18@l -/* 802D5478 002D23D8 38 00 00 00 */ li r0, 0 -/* 802D547C 002D23DC 90 83 00 04 */ stw r4, 4(r3) -/* 802D5480 002D23E0 90 03 00 00 */ stw r0, 0(r3) -/* 802D5484 002D23E4 90 03 00 0C */ stw r0, 0xc(r3) -/* 802D5488 002D23E8 90 03 00 08 */ stw r0, 8(r3) -/* 802D548C 002D23EC 90 03 00 10 */ stw r0, 0x10(r3) -/* 802D5490 002D23F0 4E 80 00 20 */ blr - -.global OBBIntersectsBox__6COBBoxCFRC6COBBox -OBBIntersectsBox__6COBBoxCFRC6COBBox: -/* 802D5494 002D23F4 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 802D5498 002D23F8 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 802D549C 002D23FC F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 802D54A0 002D2400 DB C1 01 80 */ stfd f30, 0x180(r1) -/* 802D54A4 002D2404 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 802D54A8 002D2408 DB A1 01 70 */ stfd f29, 0x170(r1) -/* 802D54AC 002D240C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 802D54B0 002D2410 DB 81 01 60 */ stfd f28, 0x160(r1) -/* 802D54B4 002D2414 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 -/* 802D54B8 002D2418 DB 61 01 50 */ stfd f27, 0x150(r1) -/* 802D54BC 002D241C F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 -/* 802D54C0 002D2420 DB 41 01 40 */ stfd f26, 0x140(r1) -/* 802D54C4 002D2424 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 -/* 802D54C8 002D2428 DB 21 01 30 */ stfd f25, 0x130(r1) -/* 802D54CC 002D242C F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 -/* 802D54D0 002D2430 DB 01 01 20 */ stfd f24, 0x120(r1) -/* 802D54D4 002D2434 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0 -/* 802D54D8 002D2438 DA E1 01 10 */ stfd f23, 0x110(r1) -/* 802D54DC 002D243C F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0 -/* 802D54E0 002D2440 DA C1 01 00 */ stfd f22, 0x100(r1) -/* 802D54E4 002D2444 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0 -/* 802D54E8 002D2448 DA A1 00 F0 */ stfd f21, 0xf0(r1) -/* 802D54EC 002D244C F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0 -/* 802D54F0 002D2450 DA 81 00 E0 */ stfd f20, 0xe0(r1) -/* 802D54F4 002D2454 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0 -/* 802D54F8 002D2458 DA 61 00 D0 */ stfd f19, 0xd0(r1) -/* 802D54FC 002D245C F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0 -/* 802D5500 002D2460 DA 41 00 C0 */ stfd f18, 0xc0(r1) -/* 802D5504 002D2464 F2 41 00 C8 */ psq_st f18, 200(r1), 0, qr0 -/* 802D5508 002D2468 DA 21 00 B0 */ stfd f17, 0xb0(r1) -/* 802D550C 002D246C F2 21 00 B8 */ psq_st f17, 184(r1), 0, qr0 -/* 802D5510 002D2470 DA 01 00 A0 */ stfd f16, 0xa0(r1) -/* 802D5514 002D2474 F2 01 00 A8 */ psq_st f16, 168(r1), 0, qr0 -/* 802D5518 002D2478 D9 E1 00 90 */ stfd f15, 0x90(r1) -/* 802D551C 002D247C F1 E1 00 98 */ psq_st f15, 152(r1), 0, qr0 -/* 802D5520 002D2480 D9 C1 00 80 */ stfd f14, 0x80(r1) -/* 802D5524 002D2484 F1 C1 00 88 */ psq_st f14, 136(r1), 0, qr0 -/* 802D5528 002D2488 C0 A3 00 10 */ lfs f5, 0x10(r3) -/* 802D552C 002D248C 38 E1 00 14 */ addi r7, r1, 0x14 -/* 802D5530 002D2490 C1 64 00 10 */ lfs f11, 0x10(r4) -/* 802D5534 002D2494 39 03 00 30 */ addi r8, r3, 0x30 -/* 802D5538 002D2498 FE C0 28 18 */ frsp f22, f5 -/* 802D553C 002D249C C3 63 00 00 */ lfs f27, 0(r3) -/* 802D5540 002D24A0 C0 44 00 00 */ lfs f2, 0(r4) -/* 802D5544 002D24A4 FE A0 58 18 */ frsp f21, f11 -/* 802D5548 002D24A8 C1 A4 00 14 */ lfs f13, 0x14(r4) -/* 802D554C 002D24AC FF 00 D8 18 */ frsp f24, f27 -/* 802D5550 002D24B0 C0 C3 00 20 */ lfs f6, 0x20(r3) -/* 802D5554 002D24B4 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D5558 002D24B8 C1 84 00 20 */ lfs f12, 0x20(r4) -/* 802D555C 002D24BC FE E0 10 18 */ frsp f23, f2 -/* 802D5560 002D24C0 C0 24 00 04 */ lfs f1, 4(r4) -/* 802D5564 002D24C4 FE A0 68 18 */ frsp f21, f13 -/* 802D5568 002D24C8 C2 64 00 18 */ lfs f19, 0x18(r4) -/* 802D556C 002D24CC EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D5570 002D24D0 C0 E3 00 14 */ lfs f7, 0x14(r3) -/* 802D5574 002D24D4 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D5578 002D24D8 C1 23 00 18 */ lfs f9, 0x18(r3) -/* 802D557C 002D24DC C2 44 00 24 */ lfs f18, 0x24(r4) -/* 802D5580 002D24E0 FF 40 30 18 */ frsp f26, f6 -/* 802D5584 002D24E4 FF 20 60 18 */ frsp f25, f12 -/* 802D5588 002D24E8 C0 04 00 08 */ lfs f0, 8(r4) -/* 802D558C 002D24EC C0 83 00 04 */ lfs f4, 4(r3) -/* 802D5590 002D24F0 FE E0 08 18 */ frsp f23, f1 -/* 802D5594 002D24F4 C0 63 00 08 */ lfs f3, 8(r3) -/* 802D5598 002D24F8 FE A0 98 18 */ frsp f21, f19 -/* 802D559C 002D24FC ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D55A0 002D2500 C2 84 00 28 */ lfs f20, 0x28(r4) -/* 802D55A4 002D2504 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D55A8 002D2508 C1 03 00 24 */ lfs f8, 0x24(r3) -/* 802D55AC 002D250C C1 43 00 28 */ lfs f10, 0x28(r3) -/* 802D55B0 002D2510 FF 20 90 18 */ frsp f25, f18 -/* 802D55B4 002D2514 D1 E1 00 14 */ stfs f15, 0x14(r1) -/* 802D55B8 002D2518 FE E0 00 18 */ frsp f23, f0 -/* 802D55BC 002D251C ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D55C0 002D2520 C2 03 00 1C */ lfs f16, 0x1c(r3) -/* 802D55C4 002D2524 C3 24 00 1C */ lfs f25, 0x1c(r4) -/* 802D55C8 002D2528 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D55CC 002D252C C2 A3 00 0C */ lfs f21, 0xc(r3) -/* 802D55D0 002D2530 EF 99 80 28 */ fsubs f28, f25, f16 -/* 802D55D4 002D2534 C2 C4 00 0C */ lfs f22, 0xc(r4) -/* 802D55D8 002D2538 FF 20 A0 18 */ frsp f25, f20 -/* 802D55DC 002D253C C3 A3 00 2C */ lfs f29, 0x2c(r3) -/* 802D55E0 002D2540 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D55E4 002D2544 C2 E4 00 2C */ lfs f23, 0x2c(r4) -/* 802D55E8 002D2548 D1 E1 00 18 */ stfs f15, 0x18(r1) -/* 802D55EC 002D254C EF 16 A8 28 */ fsubs f24, f22, f21 -/* 802D55F0 002D2550 EE DC 01 72 */ fmuls f22, f28, f5 -/* 802D55F4 002D2554 38 64 00 30 */ addi r3, r4, 0x30 -/* 802D55F8 002D2558 EE BC 01 F2 */ fmuls f21, f28, f7 -/* 802D55FC 002D255C D3 61 00 5C */ stfs f27, 0x5c(r1) -/* 802D5600 002D2560 EE 3C 02 72 */ fmuls f17, f28, f9 -/* 802D5604 002D2564 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D5608 002D2568 EE F7 E8 28 */ fsubs f23, f23, f29 -/* 802D560C 002D256C D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 802D5610 002D2570 EE D8 B6 FA */ fmadds f22, f24, f27, f22 -/* 802D5614 002D2574 EE 18 A9 3A */ fmadds f16, f24, f4, f21 -/* 802D5618 002D2578 D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 802D561C 002D257C EC B8 88 FA */ fmadds f5, f24, f3, f17 -/* 802D5620 002D2580 EE 37 B1 BA */ fmadds f17, f23, f6, f22 -/* 802D5624 002D2584 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 802D5628 002D2588 EC D7 82 3A */ fmadds f6, f23, f8, f16 -/* 802D562C 002D258C EC B7 2A BA */ fmadds f5, f23, f10, f5 -/* 802D5630 002D2590 D0 E1 00 6C */ stfs f7, 0x6c(r1) -/* 802D5634 002D2594 D1 01 00 70 */ stfs f8, 0x70(r1) -/* 802D5638 002D2598 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 802D563C 002D259C D1 21 00 78 */ stfs f9, 0x78(r1) -/* 802D5640 002D25A0 D1 41 00 7C */ stfs f10, 0x7c(r1) -/* 802D5644 002D25A4 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 802D5648 002D25A8 D1 61 00 3C */ stfs f11, 0x3c(r1) -/* 802D564C 002D25AC D1 81 00 40 */ stfs f12, 0x40(r1) -/* 802D5650 002D25B0 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 802D5654 002D25B4 D1 A1 00 48 */ stfs f13, 0x48(r1) -/* 802D5658 002D25B8 D2 41 00 4C */ stfs f18, 0x4c(r1) -/* 802D565C 002D25BC D0 01 00 50 */ stfs f0, 0x50(r1) -/* 802D5660 002D25C0 D2 61 00 54 */ stfs f19, 0x54(r1) -/* 802D5664 002D25C4 D2 81 00 58 */ stfs f20, 0x58(r1) -/* 802D5668 002D25C8 D2 21 00 08 */ stfs f17, 8(r1) -/* 802D566C 002D25CC D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 802D5670 002D25D0 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 802D5674 002D25D4 D1 E1 00 1C */ stfs f15, 0x1c(r1) -/* 802D5678 002D25D8 FE C0 38 18 */ frsp f22, f7 -/* 802D567C 002D25DC FE A0 58 18 */ frsp f21, f11 -/* 802D5680 002D25E0 FF 00 20 18 */ frsp f24, f4 -/* 802D5684 002D25E4 FE E0 10 18 */ frsp f23, f2 -/* 802D5688 002D25E8 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D568C 002D25EC FE A0 68 18 */ frsp f21, f13 -/* 802D5690 002D25F0 FF 40 40 18 */ frsp f26, f8 -/* 802D5694 002D25F4 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D5698 002D25F8 FF 20 60 18 */ frsp f25, f12 -/* 802D569C 002D25FC EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D56A0 002D2600 FE E0 08 18 */ frsp f23, f1 -/* 802D56A4 002D2604 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D56A8 002D2608 FE A0 98 18 */ frsp f21, f19 -/* 802D56AC 002D260C EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D56B0 002D2610 FF 20 90 18 */ frsp f25, f18 -/* 802D56B4 002D2614 D1 E7 00 0C */ stfs f15, 0xc(r7) -/* 802D56B8 002D2618 FE E0 00 18 */ frsp f23, f0 -/* 802D56BC 002D261C EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D56C0 002D2620 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D56C4 002D2624 FF 20 A0 18 */ frsp f25, f20 -/* 802D56C8 002D2628 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D56CC 002D262C D1 E7 00 10 */ stfs f15, 0x10(r7) -/* 802D56D0 002D2630 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D56D4 002D2634 D1 E7 00 14 */ stfs f15, 0x14(r7) -/* 802D56D8 002D2638 FE C0 48 18 */ frsp f22, f9 -/* 802D56DC 002D263C 38 00 00 03 */ li r0, 3 -/* 802D56E0 002D2640 FE A0 58 18 */ frsp f21, f11 -/* 802D56E4 002D2644 7D 04 43 78 */ mr r4, r8 -/* 802D56E8 002D2648 FF 00 18 18 */ frsp f24, f3 -/* 802D56EC 002D264C 7C E5 3B 78 */ mr r5, r7 -/* 802D56F0 002D2650 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D56F4 002D2654 38 C1 00 08 */ addi r6, r1, 8 -/* 802D56F8 002D2658 FE E0 10 18 */ frsp f23, f2 -/* 802D56FC 002D265C C0 42 C5 40 */ lfs f2, lbl_805AE260@sda21(r2) -/* 802D5700 002D2660 FE A0 68 18 */ frsp f21, f13 -/* 802D5704 002D2664 FF 40 50 18 */ frsp f26, f10 -/* 802D5708 002D2668 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D570C 002D266C FF 20 60 18 */ frsp f25, f12 -/* 802D5710 002D2670 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D5714 002D2674 FE E0 08 18 */ frsp f23, f1 -/* 802D5718 002D2678 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D571C 002D267C FE A0 98 18 */ frsp f21, f19 -/* 802D5720 002D2680 EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D5724 002D2684 FF 20 90 18 */ frsp f25, f18 -/* 802D5728 002D2688 D1 E7 00 18 */ stfs f15, 0x18(r7) -/* 802D572C 002D268C FE E0 00 18 */ frsp f23, f0 -/* 802D5730 002D2690 EE 36 05 72 */ fmuls f17, f22, f21 -/* 802D5734 002D2694 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D5738 002D2698 FF 20 A0 18 */ frsp f25, f20 -/* 802D573C 002D269C EE 18 8D FA */ fmadds f16, f24, f23, f17 -/* 802D5740 002D26A0 D1 E7 00 1C */ stfs f15, 0x1c(r7) -/* 802D5744 002D26A4 ED FA 86 7A */ fmadds f15, f26, f25, f16 -/* 802D5748 002D26A8 D1 E7 00 20 */ stfs f15, 0x20(r7) -/* 802D574C 002D26AC 7C 09 03 A6 */ mtctr r0 -lbl_802D5750: -/* 802D5750 002D26B0 C0 25 00 04 */ lfs f1, 4(r5) -/* 802D5754 002D26B4 C0 05 00 00 */ lfs f0, 0(r5) -/* 802D5758 002D26B8 FC 80 0A 10 */ fabs f4, f1 -/* 802D575C 002D26BC C0 25 00 08 */ lfs f1, 8(r5) -/* 802D5760 002D26C0 FC E0 02 10 */ fabs f7, f0 -/* 802D5764 002D26C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 802D5768 002D26C8 FD 00 0A 10 */ fabs f8, f1 -/* 802D576C 002D26CC C0 63 00 04 */ lfs f3, 4(r3) -/* 802D5770 002D26D0 FC 20 20 18 */ frsp f1, f4 -/* 802D5774 002D26D4 C0 A3 00 00 */ lfs f5, 0(r3) -/* 802D5778 002D26D8 FD 20 02 10 */ fabs f9, f0 -/* 802D577C 002D26DC C0 C3 00 08 */ lfs f6, 8(r3) -/* 802D5780 002D26E0 FC 80 38 18 */ frsp f4, f7 -/* 802D5784 002D26E4 C0 E4 00 00 */ lfs f7, 0(r4) -/* 802D5788 002D26E8 EC 03 00 72 */ fmuls f0, f3, f1 -/* 802D578C 002D26EC FC 60 40 18 */ frsp f3, f8 -/* 802D5790 002D26F0 FC 20 48 18 */ frsp f1, f9 -/* 802D5794 002D26F4 EC 05 01 3A */ fmadds f0, f5, f4, f0 -/* 802D5798 002D26F8 EC 06 00 FA */ fmadds f0, f6, f3, f0 -/* 802D579C 002D26FC EC 07 00 2A */ fadds f0, f7, f0 -/* 802D57A0 002D2700 EC 02 00 2A */ fadds f0, f2, f0 -/* 802D57A4 002D2704 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D57A8 002D2708 40 81 00 0C */ ble lbl_802D57B4 -/* 802D57AC 002D270C 38 60 00 00 */ li r3, 0 -/* 802D57B0 002D2710 48 00 03 2C */ b lbl_802D5ADC -lbl_802D57B4: -/* 802D57B4 002D2714 38 84 00 04 */ addi r4, r4, 4 -/* 802D57B8 002D2718 38 A5 00 0C */ addi r5, r5, 0xc -/* 802D57BC 002D271C 38 C6 00 04 */ addi r6, r6, 4 -/* 802D57C0 002D2720 42 00 FF 90 */ bdnz lbl_802D5750 -/* 802D57C4 002D2724 38 00 00 03 */ li r0, 3 -/* 802D57C8 002D2728 7C 64 1B 78 */ mr r4, r3 -/* 802D57CC 002D272C C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 802D57D0 002D2730 C0 81 00 08 */ lfs f4, 8(r1) -/* 802D57D4 002D2734 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 802D57D8 002D2738 C0 22 C5 40 */ lfs f1, lbl_805AE260@sda21(r2) -/* 802D57DC 002D273C 7C 09 03 A6 */ mtctr r0 -lbl_802D57E0: -/* 802D57E0 002D2740 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 802D57E4 002D2744 C0 E7 00 00 */ lfs f7, 0(r7) -/* 802D57E8 002D2748 FC 40 02 10 */ fabs f2, f0 -/* 802D57EC 002D274C C1 07 00 18 */ lfs f8, 0x18(r7) -/* 802D57F0 002D2750 FC C0 3A 10 */ fabs f6, f7 -/* 802D57F4 002D2754 C2 88 00 04 */ lfs f20, 4(r8) -/* 802D57F8 002D2758 FD 20 42 10 */ fabs f9, f8 -/* 802D57FC 002D275C C2 68 00 00 */ lfs f19, 0(r8) -/* 802D5800 002D2760 FC 40 10 18 */ frsp f2, f2 -/* 802D5804 002D2764 C2 48 00 08 */ lfs f18, 8(r8) -/* 802D5808 002D2768 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 802D580C 002D276C C1 44 00 00 */ lfs f10, 0(r4) -/* 802D5810 002D2770 FC C0 30 18 */ frsp f6, f6 -/* 802D5814 002D2774 EC 54 00 B2 */ fmuls f2, f20, f2 -/* 802D5818 002D2778 EC 07 01 3A */ fmadds f0, f7, f4, f0 -/* 802D581C 002D277C FC E0 48 18 */ frsp f7, f9 -/* 802D5820 002D2780 EC 53 11 BA */ fmadds f2, f19, f6, f2 -/* 802D5824 002D2784 EC 08 01 7A */ fmadds f0, f8, f5, f0 -/* 802D5828 002D2788 EC D2 11 FA */ fmadds f6, f18, f7, f2 -/* 802D582C 002D278C FC 40 02 10 */ fabs f2, f0 -/* 802D5830 002D2790 EC 06 50 2A */ fadds f0, f6, f10 -/* 802D5834 002D2794 FC 40 10 18 */ frsp f2, f2 -/* 802D5838 002D2798 EC 01 00 2A */ fadds f0, f1, f0 -/* 802D583C 002D279C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D5840 002D27A0 40 81 00 0C */ ble lbl_802D584C -/* 802D5844 002D27A4 38 60 00 00 */ li r3, 0 -/* 802D5848 002D27A8 48 00 02 94 */ b lbl_802D5ADC -lbl_802D584C: -/* 802D584C 002D27AC 38 E7 00 04 */ addi r7, r7, 4 -/* 802D5850 002D27B0 38 84 00 04 */ addi r4, r4, 4 -/* 802D5854 002D27B4 42 00 FF 8C */ bdnz lbl_802D57E0 -/* 802D5858 002D27B8 C2 A1 00 20 */ lfs f21, 0x20(r1) -/* 802D585C 002D27BC C3 21 00 18 */ lfs f25, 0x18(r1) -/* 802D5860 002D27C0 FC 00 AA 10 */ fabs f0, f21 -/* 802D5864 002D27C4 C2 C1 00 2C */ lfs f22, 0x2c(r1) -/* 802D5868 002D27C8 FC 40 CA 10 */ fabs f2, f25 -/* 802D586C 002D27CC C3 41 00 1C */ lfs f26, 0x1c(r1) -/* 802D5870 002D27D0 FC 20 B2 10 */ fabs f1, f22 -/* 802D5874 002D27D4 C1 A1 00 0C */ lfs f13, 0xc(r1) -/* 802D5878 002D27D8 FF 00 00 18 */ frsp f24, f0 -/* 802D587C 002D27DC C3 A3 00 08 */ lfs f29, 8(r3) -/* 802D5880 002D27E0 FC 60 D2 10 */ fabs f3, f26 -/* 802D5884 002D27E4 C3 63 00 04 */ lfs f27, 4(r3) -/* 802D5888 002D27E8 FF C0 10 18 */ frsp f30, f2 -/* 802D588C 002D27EC C3 E1 00 10 */ lfs f31, 0x10(r1) -/* 802D5890 002D27F0 EC 16 03 72 */ fmuls f0, f22, f13 -/* 802D5894 002D27F4 C1 82 C5 40 */ lfs f12, lbl_805AE260@sda21(r2) -/* 802D5898 002D27F8 FE E0 08 18 */ frsp f23, f1 -/* 802D589C 002D27FC EC 52 06 32 */ fmuls f2, f18, f24 -/* 802D58A0 002D2800 EC 15 07 F8 */ fmsubs f0, f21, f31, f0 -/* 802D58A4 002D2804 FF 80 18 18 */ frsp f28, f3 -/* 802D58A8 002D2808 EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 802D58AC 002D280C FC 00 02 10 */ fabs f0, f0 -/* 802D58B0 002D2810 EC 54 15 FA */ fmadds f2, f20, f23, f2 -/* 802D58B4 002D2814 EC 7B 0F 3A */ fmadds f3, f27, f28, f1 -/* 802D58B8 002D2818 FC 20 00 18 */ frsp f1, f0 -/* 802D58BC 002D281C EC 02 18 2A */ fadds f0, f2, f3 -/* 802D58C0 002D2820 EC 0C 00 2A */ fadds f0, f12, f0 -/* 802D58C4 002D2824 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D58C8 002D2828 40 81 00 0C */ ble lbl_802D58D4 -/* 802D58CC 002D282C 38 60 00 00 */ li r3, 0 -/* 802D58D0 002D2830 48 00 02 0C */ b lbl_802D5ADC -lbl_802D58D4: -/* 802D58D4 002D2834 C1 61 00 24 */ lfs f11, 0x24(r1) -/* 802D58D8 002D2838 C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 802D58DC 002D283C FC 00 5A 10 */ fabs f0, f11 -/* 802D58E0 002D2840 C1 41 00 30 */ lfs f10, 0x30(r1) -/* 802D58E4 002D2844 FC 40 3A 10 */ fabs f2, f7 -/* 802D58E8 002D2848 C0 C3 00 00 */ lfs f6, 0(r3) -/* 802D58EC 002D284C FC 20 52 10 */ fabs f1, f10 -/* 802D58F0 002D2850 FD 00 00 18 */ frsp f8, f0 -/* 802D58F4 002D2854 FC A0 10 18 */ frsp f5, f2 -/* 802D58F8 002D2858 EC 0A 03 72 */ fmuls f0, f10, f13 -/* 802D58FC 002D285C FD 20 08 18 */ frsp f9, f1 -/* 802D5900 002D2860 EC 52 02 32 */ fmuls f2, f18, f8 -/* 802D5904 002D2864 EC 3D 01 72 */ fmuls f1, f29, f5 -/* 802D5908 002D2868 EC 0B 07 F8 */ fmsubs f0, f11, f31, f0 -/* 802D590C 002D286C EC 54 12 7A */ fmadds f2, f20, f9, f2 -/* 802D5910 002D2870 EC 66 0F 3A */ fmadds f3, f6, f28, f1 -/* 802D5914 002D2874 FC 20 02 10 */ fabs f1, f0 -/* 802D5918 002D2878 EC 02 18 2A */ fadds f0, f2, f3 -/* 802D591C 002D287C FC 20 08 18 */ frsp f1, f1 -/* 802D5920 002D2880 EC 0C 00 2A */ fadds f0, f12, f0 -/* 802D5924 002D2884 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5928 002D2888 40 81 00 0C */ ble lbl_802D5934 -/* 802D592C 002D288C 38 60 00 00 */ li r3, 0 -/* 802D5930 002D2890 48 00 01 AC */ b lbl_802D5ADC -lbl_802D5934: -/* 802D5934 002D2894 C0 81 00 28 */ lfs f4, 0x28(r1) -/* 802D5938 002D2898 EE 1B 01 72 */ fmuls f16, f27, f5 -/* 802D593C 002D289C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802D5940 002D28A0 FC 20 22 10 */ fabs f1, f4 -/* 802D5944 002D28A4 FC 40 1A 10 */ fabs f2, f3 -/* 802D5948 002D28A8 EC 03 03 72 */ fmuls f0, f3, f13 -/* 802D594C 002D28AC FC 20 08 18 */ frsp f1, f1 -/* 802D5950 002D28B0 FC 40 10 18 */ frsp f2, f2 -/* 802D5954 002D28B4 ED E4 07 F8 */ fmsubs f15, f4, f31, f0 -/* 802D5958 002D28B8 EE 32 00 72 */ fmuls f17, f18, f1 -/* 802D595C 002D28BC EC 06 87 BA */ fmadds f0, f6, f30, f16 -/* 802D5960 002D28C0 FD E0 7A 10 */ fabs f15, f15 -/* 802D5964 002D28C4 EE 14 88 BA */ fmadds f16, f20, f2, f17 -/* 802D5968 002D28C8 FD E0 78 18 */ frsp f15, f15 -/* 802D596C 002D28CC EC 10 00 2A */ fadds f0, f16, f0 -/* 802D5970 002D28D0 EC 0C 00 2A */ fadds f0, f12, f0 -/* 802D5974 002D28D4 FC 0F 00 40 */ fcmpo cr0, f15, f0 -/* 802D5978 002D28D8 40 81 00 0C */ ble lbl_802D5984 -/* 802D597C 002D28DC 38 60 00 00 */ li r3, 0 -/* 802D5980 002D28E0 48 00 01 5C */ b lbl_802D5ADC -lbl_802D5984: -/* 802D5984 002D28E4 ED F2 01 72 */ fmuls f15, f18, f5 -/* 802D5988 002D28E8 C0 01 00 08 */ lfs f0, 8(r1) -/* 802D598C 002D28EC EE 3D 02 32 */ fmuls f17, f29, f8 -/* 802D5990 002D28F0 EE 07 07 F2 */ fmuls f16, f7, f31 -/* 802D5994 002D28F4 ED F3 7D FA */ fmadds f15, f19, f23, f15 -/* 802D5998 002D28F8 ED DB 88 7A */ fmadds f14, f27, f1, f17 -/* 802D599C 002D28FC EE 36 80 38 */ fmsubs f17, f22, f0, f16 -/* 802D59A0 002D2900 EE 0F 70 2A */ fadds f16, f15, f14 -/* 802D59A4 002D2904 FD E0 8A 10 */ fabs f15, f17 -/* 802D59A8 002D2908 EE 0C 80 2A */ fadds f16, f12, f16 -/* 802D59AC 002D290C FE 20 78 18 */ frsp f17, f15 -/* 802D59B0 002D2910 FC 11 80 40 */ fcmpo cr0, f17, f16 -/* 802D59B4 002D2914 40 81 00 0C */ ble lbl_802D59C0 -/* 802D59B8 002D2918 38 60 00 00 */ li r3, 0 -/* 802D59BC 002D291C 48 00 01 20 */ b lbl_802D5ADC -lbl_802D59C0: -/* 802D59C0 002D2920 EE 12 07 B2 */ fmuls f16, f18, f30 -/* 802D59C4 002D2924 EE 3D 06 32 */ fmuls f17, f29, f24 -/* 802D59C8 002D2928 EE D9 07 F2 */ fmuls f22, f25, f31 -/* 802D59CC 002D292C ED F3 82 7A */ fmadds f15, f19, f9, f16 -/* 802D59D0 002D2930 EE 06 88 7A */ fmadds f16, f6, f1, f17 -/* 802D59D4 002D2934 EE CA B0 38 */ fmsubs f22, f10, f0, f22 -/* 802D59D8 002D2938 ED 4F 80 2A */ fadds f10, f15, f16 -/* 802D59DC 002D293C FD E0 B2 10 */ fabs f15, f22 -/* 802D59E0 002D2940 ED 4C 50 2A */ fadds f10, f12, f10 -/* 802D59E4 002D2944 FE C0 78 18 */ frsp f22, f15 -/* 802D59E8 002D2948 FC 16 50 40 */ fcmpo cr0, f22, f10 -/* 802D59EC 002D294C 40 81 00 0C */ ble lbl_802D59F8 -/* 802D59F0 002D2950 38 60 00 00 */ li r3, 0 -/* 802D59F4 002D2954 48 00 00 E8 */ b lbl_802D5ADC -lbl_802D59F8: -/* 802D59F8 002D2958 EE D2 07 32 */ fmuls f22, f18, f28 -/* 802D59FC 002D295C EE 5B 06 32 */ fmuls f18, f27, f24 -/* 802D5A00 002D2960 ED 5A 07 F2 */ fmuls f10, f26, f31 -/* 802D5A04 002D2964 ED F3 B0 BA */ fmadds f15, f19, f2, f22 -/* 802D5A08 002D2968 EE 06 92 3A */ fmadds f16, f6, f8, f18 -/* 802D5A0C 002D296C ED 43 50 38 */ fmsubs f10, f3, f0, f10 -/* 802D5A10 002D2970 EC 6F 80 2A */ fadds f3, f15, f16 -/* 802D5A14 002D2974 FD 40 52 10 */ fabs f10, f10 -/* 802D5A18 002D2978 EC 6C 18 2A */ fadds f3, f12, f3 -/* 802D5A1C 002D297C FD 40 50 18 */ frsp f10, f10 -/* 802D5A20 002D2980 FC 0A 18 40 */ fcmpo cr0, f10, f3 -/* 802D5A24 002D2984 40 81 00 0C */ ble lbl_802D5A30 -/* 802D5A28 002D2988 38 60 00 00 */ li r3, 0 -/* 802D5A2C 002D298C 48 00 00 B0 */ b lbl_802D5ADC -lbl_802D5A30: -/* 802D5A30 002D2990 ED 54 01 72 */ fmuls f10, f20, f5 -/* 802D5A34 002D2994 EC BD 02 72 */ fmuls f5, f29, f9 -/* 802D5A38 002D2998 EC 75 00 32 */ fmuls f3, f21, f0 -/* 802D5A3C 002D299C ED 53 56 3A */ fmadds f10, f19, f24, f10 -/* 802D5A40 002D29A0 ED FB 28 BA */ fmadds f15, f27, f2, f5 -/* 802D5A44 002D29A4 EC A7 1B 78 */ fmsubs f5, f7, f13, f3 -/* 802D5A48 002D29A8 EC 6A 78 2A */ fadds f3, f10, f15 -/* 802D5A4C 002D29AC FC A0 2A 10 */ fabs f5, f5 -/* 802D5A50 002D29B0 EC 6C 18 2A */ fadds f3, f12, f3 -/* 802D5A54 002D29B4 FC A0 28 18 */ frsp f5, f5 -/* 802D5A58 002D29B8 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 802D5A5C 002D29BC 40 81 00 0C */ ble lbl_802D5A68 -/* 802D5A60 002D29C0 38 60 00 00 */ li r3, 0 -/* 802D5A64 002D29C4 48 00 00 78 */ b lbl_802D5ADC -lbl_802D5A68: -/* 802D5A68 002D29C8 EC F4 07 B2 */ fmuls f7, f20, f30 -/* 802D5A6C 002D29CC EC BD 05 F2 */ fmuls f5, f29, f23 -/* 802D5A70 002D29D0 EC 6B 00 32 */ fmuls f3, f11, f0 -/* 802D5A74 002D29D4 EC F3 3A 3A */ fmadds f7, f19, f8, f7 -/* 802D5A78 002D29D8 EC 46 28 BA */ fmadds f2, f6, f2, f5 -/* 802D5A7C 002D29DC EC 79 1B 78 */ fmsubs f3, f25, f13, f3 -/* 802D5A80 002D29E0 EC 47 10 2A */ fadds f2, f7, f2 -/* 802D5A84 002D29E4 FC 60 1A 10 */ fabs f3, f3 -/* 802D5A88 002D29E8 EC 4C 10 2A */ fadds f2, f12, f2 -/* 802D5A8C 002D29EC FC 60 18 18 */ frsp f3, f3 -/* 802D5A90 002D29F0 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 802D5A94 002D29F4 40 81 00 0C */ ble lbl_802D5AA0 -/* 802D5A98 002D29F8 38 60 00 00 */ li r3, 0 -/* 802D5A9C 002D29FC 48 00 00 40 */ b lbl_802D5ADC -lbl_802D5AA0: -/* 802D5AA0 002D2A00 EC 74 07 32 */ fmuls f3, f20, f28 -/* 802D5AA4 002D2A04 EC 5B 05 F2 */ fmuls f2, f27, f23 -/* 802D5AA8 002D2A08 EC 04 00 32 */ fmuls f0, f4, f0 -/* 802D5AAC 002D2A0C EC 73 18 7A */ fmadds f3, f19, f1, f3 -/* 802D5AB0 002D2A10 EC 46 12 7A */ fmadds f2, f6, f9, f2 -/* 802D5AB4 002D2A14 EC 3A 03 78 */ fmsubs f1, f26, f13, f0 -/* 802D5AB8 002D2A18 EC 03 10 2A */ fadds f0, f3, f2 -/* 802D5ABC 002D2A1C FC 20 0A 10 */ fabs f1, f1 -/* 802D5AC0 002D2A20 EC 0C 00 2A */ fadds f0, f12, f0 -/* 802D5AC4 002D2A24 FC 20 08 18 */ frsp f1, f1 -/* 802D5AC8 002D2A28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D5ACC 002D2A2C 7C 00 00 26 */ mfcr r0 -/* 802D5AD0 002D2A30 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 802D5AD4 002D2A34 7C 00 00 34 */ cntlzw r0, r0 -/* 802D5AD8 002D2A38 54 03 D9 7E */ srwi r3, r0, 5 -lbl_802D5ADC: -/* 802D5ADC 002D2A3C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 802D5AE0 002D2A40 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 802D5AE4 002D2A44 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 802D5AE8 002D2A48 CB C1 01 80 */ lfd f30, 0x180(r1) -/* 802D5AEC 002D2A4C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 802D5AF0 002D2A50 CB A1 01 70 */ lfd f29, 0x170(r1) -/* 802D5AF4 002D2A54 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 -/* 802D5AF8 002D2A58 CB 81 01 60 */ lfd f28, 0x160(r1) -/* 802D5AFC 002D2A5C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 -/* 802D5B00 002D2A60 CB 61 01 50 */ lfd f27, 0x150(r1) -/* 802D5B04 002D2A64 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 -/* 802D5B08 002D2A68 CB 41 01 40 */ lfd f26, 0x140(r1) -/* 802D5B0C 002D2A6C E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 -/* 802D5B10 002D2A70 CB 21 01 30 */ lfd f25, 0x130(r1) -/* 802D5B14 002D2A74 E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0 -/* 802D5B18 002D2A78 CB 01 01 20 */ lfd f24, 0x120(r1) -/* 802D5B1C 002D2A7C E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0 -/* 802D5B20 002D2A80 CA E1 01 10 */ lfd f23, 0x110(r1) -/* 802D5B24 002D2A84 E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0 -/* 802D5B28 002D2A88 CA C1 01 00 */ lfd f22, 0x100(r1) -/* 802D5B2C 002D2A8C E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0 -/* 802D5B30 002D2A90 CA A1 00 F0 */ lfd f21, 0xf0(r1) -/* 802D5B34 002D2A94 E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0 -/* 802D5B38 002D2A98 CA 81 00 E0 */ lfd f20, 0xe0(r1) -/* 802D5B3C 002D2A9C E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0 -/* 802D5B40 002D2AA0 CA 61 00 D0 */ lfd f19, 0xd0(r1) -/* 802D5B44 002D2AA4 E2 41 00 C8 */ psq_l f18, 200(r1), 0, qr0 -/* 802D5B48 002D2AA8 CA 41 00 C0 */ lfd f18, 0xc0(r1) -/* 802D5B4C 002D2AAC E2 21 00 B8 */ psq_l f17, 184(r1), 0, qr0 -/* 802D5B50 002D2AB0 CA 21 00 B0 */ lfd f17, 0xb0(r1) -/* 802D5B54 002D2AB4 E2 01 00 A8 */ psq_l f16, 168(r1), 0, qr0 -/* 802D5B58 002D2AB8 CA 01 00 A0 */ lfd f16, 0xa0(r1) -/* 802D5B5C 002D2ABC E1 E1 00 98 */ psq_l f15, 152(r1), 0, qr0 -/* 802D5B60 002D2AC0 C9 E1 00 90 */ lfd f15, 0x90(r1) -/* 802D5B64 002D2AC4 E1 C1 00 88 */ psq_l f14, 136(r1), 0, qr0 -/* 802D5B68 002D2AC8 C9 C1 00 80 */ lfd f14, 0x80(r1) -/* 802D5B6C 002D2ACC 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 802D5B70 002D2AD0 4E 80 00 20 */ blr - -.global AABoxIntersectsBox__6COBBoxFRC6CAABox -AABoxIntersectsBox__6COBBoxFRC6CAABox: -/* 802D5B74 002D2AD4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802D5B78 002D2AD8 7C 08 02 A6 */ mflr r0 -/* 802D5B7C 002D2ADC 3C A0 80 5A */ lis r5, skIdentity4f@ha -/* 802D5B80 002D2AE0 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D5B84 002D2AE4 38 A5 66 70 */ addi r5, r5, skIdentity4f@l -/* 802D5B88 002D2AE8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802D5B8C 002D2AEC 7C 7F 1B 78 */ mr r31, r3 -/* 802D5B90 002D2AF0 38 61 00 08 */ addi r3, r1, 8 -/* 802D5B94 002D2AF4 48 00 01 89 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -/* 802D5B98 002D2AF8 7F E3 FB 78 */ mr r3, r31 -/* 802D5B9C 002D2AFC 38 81 00 08 */ addi r4, r1, 8 -/* 802D5BA0 002D2B00 4B FF F8 F5 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox -/* 802D5BA4 002D2B04 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D5BA8 002D2B08 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802D5BAC 002D2B0C 7C 08 03 A6 */ mtlr r0 -/* 802D5BB0 002D2B10 38 21 00 50 */ addi r1, r1, 0x50 -/* 802D5BB4 002D2B14 4E 80 00 20 */ blr - -.global LineIntersectsBox__6COBBoxCFRC5CMRayRf -LineIntersectsBox__6COBBoxCFRC5CMRayRf: -/* 802D5BB8 002D2B18 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802D5BBC 002D2B1C 7C 08 02 A6 */ mflr r0 -/* 802D5BC0 002D2B20 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802D5BC4 002D2B24 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 802D5BC8 002D2B28 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 802D5BCC 002D2B2C DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 802D5BD0 002D2B30 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 802D5BD4 002D2B34 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 802D5BD8 002D2B38 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 802D5BDC 002D2B3C 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 802D5BE0 002D2B40 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 802D5BE4 002D2B44 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 802D5BE8 002D2B48 7C 7D 1B 78 */ mr r29, r3 -/* 802D5BEC 002D2B4C 7C 9E 23 78 */ mr r30, r4 -/* 802D5BF0 002D2B50 C0 43 00 38 */ lfs f2, 0x38(r3) -/* 802D5BF4 002D2B54 7C BF 2B 78 */ mr r31, r5 -/* 802D5BF8 002D2B58 C0 23 00 34 */ lfs f1, 0x34(r3) -/* 802D5BFC 002D2B5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D5C00 002D2B60 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 802D5C04 002D2B64 FC 40 10 50 */ fneg f2, f2 -/* 802D5C08 002D2B68 FC 20 08 50 */ fneg f1, f1 -/* 802D5C0C 002D2B6C 38 81 00 08 */ addi r4, r1, 8 -/* 802D5C10 002D2B70 FC 00 00 50 */ fneg f0, f0 -/* 802D5C14 002D2B74 38 BD 00 30 */ addi r5, r29, 0x30 -/* 802D5C18 002D2B78 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802D5C1C 002D2B7C D0 01 00 08 */ stfs f0, 8(r1) -/* 802D5C20 002D2B80 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802D5C24 002D2B84 48 06 28 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 802D5C28 002D2B88 7F C4 F3 78 */ mr r4, r30 -/* 802D5C2C 002D2B8C 7F A5 EB 78 */ mr r5, r29 -/* 802D5C30 002D2B90 38 61 00 38 */ addi r3, r1, 0x38 -/* 802D5C34 002D2B94 48 00 03 B5 */ bl GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f -/* 802D5C38 002D2B98 3C 60 80 5A */ lis r3, skZero3f@ha -/* 802D5C3C 002D2B9C C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 802D5C40 002D2BA0 38 E3 66 A0 */ addi r7, r3, skZero3f@l -/* 802D5C44 002D2BA4 C3 C1 00 3C */ lfs f30, 0x3c(r1) -/* 802D5C48 002D2BA8 C3 E1 00 40 */ lfs f31, 0x40(r1) -/* 802D5C4C 002D2BAC 7F E6 FB 78 */ mr r6, r31 -/* 802D5C50 002D2BB0 C1 A1 00 44 */ lfs f13, 0x44(r1) -/* 802D5C54 002D2BB4 38 61 00 70 */ addi r3, r1, 0x70 -/* 802D5C58 002D2BB8 C1 81 00 48 */ lfs f12, 0x48(r1) -/* 802D5C5C 002D2BBC 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D5C60 002D2BC0 C1 61 00 4C */ lfs f11, 0x4c(r1) -/* 802D5C64 002D2BC4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802D5C68 002D2BC8 C1 41 00 50 */ lfs f10, 0x50(r1) -/* 802D5C6C 002D2BCC C1 21 00 54 */ lfs f9, 0x54(r1) -/* 802D5C70 002D2BD0 C1 01 00 58 */ lfs f8, 0x58(r1) -/* 802D5C74 002D2BD4 C0 E1 00 5C */ lfs f7, 0x5c(r1) -/* 802D5C78 002D2BD8 C0 C1 00 60 */ lfs f6, 0x60(r1) -/* 802D5C7C 002D2BDC C0 A1 00 64 */ lfs f5, 0x64(r1) -/* 802D5C80 002D2BE0 C0 81 00 68 */ lfs f4, 0x68(r1) -/* 802D5C84 002D2BE4 C0 61 00 6C */ lfs f3, 0x6c(r1) -/* 802D5C88 002D2BE8 C0 47 00 00 */ lfs f2, 0(r7) -/* 802D5C8C 002D2BEC C0 27 00 04 */ lfs f1, 4(r7) -/* 802D5C90 002D2BF0 C0 07 00 08 */ lfs f0, 8(r7) -/* 802D5C94 002D2BF4 D3 A1 00 70 */ stfs f29, 0x70(r1) -/* 802D5C98 002D2BF8 D3 C1 00 74 */ stfs f30, 0x74(r1) -/* 802D5C9C 002D2BFC D3 E1 00 78 */ stfs f31, 0x78(r1) -/* 802D5CA0 002D2C00 D1 A1 00 7C */ stfs f13, 0x7c(r1) -/* 802D5CA4 002D2C04 D1 81 00 80 */ stfs f12, 0x80(r1) -/* 802D5CA8 002D2C08 D1 61 00 84 */ stfs f11, 0x84(r1) -/* 802D5CAC 002D2C0C D1 41 00 88 */ stfs f10, 0x88(r1) -/* 802D5CB0 002D2C10 D1 21 00 8C */ stfs f9, 0x8c(r1) -/* 802D5CB4 002D2C14 D1 01 00 90 */ stfs f8, 0x90(r1) -/* 802D5CB8 002D2C18 D0 E1 00 94 */ stfs f7, 0x94(r1) -/* 802D5CBC 002D2C1C D0 C1 00 98 */ stfs f6, 0x98(r1) -/* 802D5CC0 002D2C20 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 802D5CC4 002D2C24 D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 802D5CC8 002D2C28 D0 61 00 A4 */ stfs f3, 0xa4(r1) -/* 802D5CCC 002D2C2C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802D5CD0 002D2C30 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802D5CD4 002D2C34 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802D5CD8 002D2C38 4B FF D8 B9 */ bl RayAABoxIntersection__13CollisionUtilFRC5CMRayRC6CAABoxR9CVector3fRf -/* 802D5CDC 002D2C3C 7C 03 00 D0 */ neg r0, r3 -/* 802D5CE0 002D2C40 7C 00 1B 78 */ or r0, r0, r3 -/* 802D5CE4 002D2C44 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802D5CE8 002D2C48 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802D5CEC 002D2C4C CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802D5CF0 002D2C50 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 802D5CF4 002D2C54 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 802D5CF8 002D2C58 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 802D5CFC 002D2C5C CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 802D5D00 002D2C60 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 802D5D04 002D2C64 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 802D5D08 002D2C68 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 802D5D0C 002D2C6C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 802D5D10 002D2C70 7C 08 03 A6 */ mtlr r0 -/* 802D5D14 002D2C74 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 802D5D18 002D2C78 4E 80 00 20 */ blr - -.global FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f -FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f: -/* 802D5D1C 002D2C7C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 802D5D20 002D2C80 7C 08 02 A6 */ mflr r0 -/* 802D5D24 002D2C84 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 802D5D28 002D2C88 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 802D5D2C 002D2C8C 7C BF 2B 78 */ mr r31, r5 -/* 802D5D30 002D2C90 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 802D5D34 002D2C94 7C 9E 23 78 */ mr r30, r4 -/* 802D5D38 002D2C98 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 802D5D3C 002D2C9C 7C 7D 1B 78 */ mr r29, r3 -/* 802D5D40 002D2CA0 38 61 00 08 */ addi r3, r1, 8 -/* 802D5D44 002D2CA4 48 06 18 C9 */ bl GetCenterPoint__6CAABoxCFv -/* 802D5D48 002D2CA8 C0 A1 00 08 */ lfs f5, 8(r1) -/* 802D5D4C 002D2CAC 38 61 00 2C */ addi r3, r1, 0x2c -/* 802D5D50 002D2CB0 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 802D5D54 002D2CB4 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D5D58 002D2CB8 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802D5D5C 002D2CBC C0 5E 00 10 */ lfs f2, 0x10(r30) -/* 802D5D60 002D2CC0 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 802D5D64 002D2CC4 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 802D5D68 002D2CC8 EC 42 20 28 */ fsubs f2, f2, f4 -/* 802D5D6C 002D2CCC EC 21 18 28 */ fsubs f1, f1, f3 -/* 802D5D70 002D2CD0 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 802D5D74 002D2CD4 EC 00 28 28 */ fsubs f0, f0, f5 -/* 802D5D78 002D2CD8 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 802D5D7C 002D2CDC D0 61 00 28 */ stfs f3, 0x28(r1) -/* 802D5D80 002D2CE0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D5D84 002D2CE4 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802D5D88 002D2CE8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D5D8C 002D2CEC 48 03 D3 B5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 802D5D90 002D2CF0 7F E4 FB 78 */ mr r4, r31 -/* 802D5D94 002D2CF4 38 61 00 5C */ addi r3, r1, 0x5c -/* 802D5D98 002D2CF8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 802D5D9C 002D2CFC 48 03 CB B5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802D5DA0 002D2D00 38 61 00 8C */ addi r3, r1, 0x8c -/* 802D5DA4 002D2D04 38 81 00 5C */ addi r4, r1, 0x5c -/* 802D5DA8 002D2D08 48 03 CD CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802D5DAC 002D2D0C 7F A3 EB 78 */ mr r3, r29 -/* 802D5DB0 002D2D10 38 81 00 8C */ addi r4, r1, 0x8c -/* 802D5DB4 002D2D14 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802D5DB8 002D2D18 48 00 01 DD */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f -/* 802D5DBC 002D2D1C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 802D5DC0 002D2D20 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 802D5DC4 002D2D24 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 802D5DC8 002D2D28 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 802D5DCC 002D2D2C 7C 08 03 A6 */ mtlr r0 -/* 802D5DD0 002D2D30 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 802D5DD4 002D2D34 4E 80 00 20 */ blr - -.global CalculateAABox__6COBBoxCFRC12CTransform4f -CalculateAABox__6COBBoxCFRC12CTransform4f: -/* 802D5DD8 002D2D38 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 802D5DDC 002D2D3C 7C 08 02 A6 */ mflr r0 -/* 802D5DE0 002D2D40 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 802D5DE4 002D2D44 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 802D5DE8 002D2D48 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 802D5DEC 002D2D4C 7C 9E 23 78 */ mr r30, r4 -/* 802D5DF0 002D2D50 7C A4 2B 78 */ mr r4, r5 -/* 802D5DF4 002D2D54 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 802D5DF8 002D2D58 7C 7D 1B 78 */ mr r29, r3 -/* 802D5DFC 002D2D5C 38 61 00 50 */ addi r3, r1, 0x50 -/* 802D5E00 002D2D60 7F C5 F3 78 */ mr r5, r30 -/* 802D5E04 002D2D64 48 03 CB 4D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 802D5E08 002D2D68 38 61 00 80 */ addi r3, r1, 0x80 -/* 802D5E0C 002D2D6C 38 81 00 50 */ addi r4, r1, 0x50 -/* 802D5E10 002D2D70 48 03 CD 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802D5E14 002D2D74 C0 82 C5 44 */ lfs f4, lbl_805AE264@sda21(r2) -/* 802D5E18 002D2D78 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 802D5E1C 002D2D7C C4 E3 67 54 */ lfsu f7, lbl_805A6754@l(r3) -/* 802D5E20 002D2D80 3B E0 00 00 */ li r31, 0 -/* 802D5E24 002D2D84 C0 3E 00 34 */ lfs f1, 0x34(r30) -/* 802D5E28 002D2D88 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 802D5E2C 002D2D8C C0 02 C5 48 */ lfs f0, lbl_805AE268@sda21(r2) -/* 802D5E30 002D2D90 ED 24 00 72 */ fmuls f9, f4, f1 -/* 802D5E34 002D2D94 ED 04 00 F2 */ fmuls f8, f4, f3 -/* 802D5E38 002D2D98 C0 C3 00 04 */ lfs f6, 4(r3) -/* 802D5E3C 002D2D9C ED 40 00 F2 */ fmuls f10, f0, f3 -/* 802D5E40 002D2DA0 C0 A3 00 08 */ lfs f5, 8(r3) -/* 802D5E44 002D2DA4 ED 60 00 72 */ fmuls f11, f0, f1 -/* 802D5E48 002D2DA8 C0 5E 00 30 */ lfs f2, 0x30(r30) -/* 802D5E4C 002D2DAC C0 63 00 10 */ lfs f3, 0x10(r3) -/* 802D5E50 002D2DB0 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 802D5E54 002D2DB4 C0 83 00 0C */ lfs f4, 0xc(r3) -/* 802D5E58 002D2DB8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 802D5E5C 002D2DBC C0 43 00 14 */ lfs f2, 0x14(r3) -/* 802D5E60 002D2DC0 D0 E1 00 38 */ stfs f7, 0x38(r1) -/* 802D5E64 002D2DC4 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 802D5E68 002D2DC8 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 802D5E6C 002D2DCC D0 81 00 44 */ stfs f4, 0x44(r1) -/* 802D5E70 002D2DD0 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 802D5E74 002D2DD4 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802D5E78 002D2DD8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802D5E7C 002D2DDC D1 21 00 30 */ stfs f9, 0x30(r1) -/* 802D5E80 002D2DE0 D1 01 00 34 */ stfs f8, 0x34(r1) -/* 802D5E84 002D2DE4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802D5E88 002D2DE8 D1 61 00 24 */ stfs f11, 0x24(r1) -/* 802D5E8C 002D2DEC D1 41 00 28 */ stfs f10, 0x28(r1) -lbl_802D5E90: -/* 802D5E90 002D2DF0 57 E0 07 7B */ rlwinm. r0, r31, 0, 0x1d, 0x1d -/* 802D5E94 002D2DF4 41 82 00 0C */ beq lbl_802D5EA0 -/* 802D5E98 002D2DF8 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 802D5E9C 002D2DFC 48 00 00 08 */ b lbl_802D5EA4 -lbl_802D5EA0: -/* 802D5EA0 002D2E00 C0 21 00 28 */ lfs f1, 0x28(r1) -lbl_802D5EA4: -/* 802D5EA4 002D2E04 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e -/* 802D5EA8 002D2E08 41 82 00 0C */ beq lbl_802D5EB4 -/* 802D5EAC 002D2E0C C0 41 00 30 */ lfs f2, 0x30(r1) -/* 802D5EB0 002D2E10 48 00 00 08 */ b lbl_802D5EB8 -lbl_802D5EB4: -/* 802D5EB4 002D2E14 C0 41 00 24 */ lfs f2, 0x24(r1) -lbl_802D5EB8: -/* 802D5EB8 002D2E18 57 E0 07 FF */ clrlwi. r0, r31, 0x1f -/* 802D5EBC 002D2E1C 41 82 00 0C */ beq lbl_802D5EC8 -/* 802D5EC0 002D2E20 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802D5EC4 002D2E24 48 00 00 08 */ b lbl_802D5ECC -lbl_802D5EC8: -/* 802D5EC8 002D2E28 C0 01 00 20 */ lfs f0, 0x20(r1) -lbl_802D5ECC: -/* 802D5ECC 002D2E2C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802D5ED0 002D2E30 38 61 00 08 */ addi r3, r1, 8 -/* 802D5ED4 002D2E34 38 81 00 80 */ addi r4, r1, 0x80 -/* 802D5ED8 002D2E38 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802D5EDC 002D2E3C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 802D5EE0 002D2E40 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802D5EE4 002D2E44 48 03 CC 05 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D5EE8 002D2E48 38 61 00 38 */ addi r3, r1, 0x38 -/* 802D5EEC 002D2E4C 38 81 00 08 */ addi r4, r1, 8 -/* 802D5EF0 002D2E50 48 06 1C 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 802D5EF4 002D2E54 3B FF 00 01 */ addi r31, r31, 1 -/* 802D5EF8 002D2E58 2C 1F 00 08 */ cmpwi r31, 8 -/* 802D5EFC 002D2E5C 41 80 FF 94 */ blt lbl_802D5E90 -/* 802D5F00 002D2E60 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802D5F04 002D2E64 D0 1D 00 00 */ stfs f0, 0(r29) -/* 802D5F08 002D2E68 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802D5F0C 002D2E6C D0 1D 00 04 */ stfs f0, 4(r29) -/* 802D5F10 002D2E70 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802D5F14 002D2E74 D0 1D 00 08 */ stfs f0, 8(r29) -/* 802D5F18 002D2E78 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802D5F1C 002D2E7C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 802D5F20 002D2E80 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802D5F24 002D2E84 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 802D5F28 002D2E88 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802D5F2C 002D2E8C D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 802D5F30 002D2E90 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 802D5F34 002D2E94 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 802D5F38 002D2E98 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 802D5F3C 002D2E9C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 802D5F40 002D2EA0 7C 08 03 A6 */ mtlr r0 -/* 802D5F44 002D2EA4 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 802D5F48 002D2EA8 4E 80 00 20 */ blr - -.global __ct__6COBBoxFR12CInputStream -__ct__6COBBoxFR12CInputStream: -/* 802D5F4C 002D2EAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D5F50 002D2EB0 7C 08 02 A6 */ mflr r0 -/* 802D5F54 002D2EB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D5F58 002D2EB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D5F5C 002D2EBC 7C 9F 23 78 */ mr r31, r4 -/* 802D5F60 002D2EC0 93 C1 00 08 */ stw r30, 8(r1) -/* 802D5F64 002D2EC4 7C 7E 1B 78 */ mr r30, r3 -/* 802D5F68 002D2EC8 48 03 D3 75 */ bl __ct__12CTransform4fFR12CInputStream -/* 802D5F6C 002D2ECC 7F E4 FB 78 */ mr r4, r31 -/* 802D5F70 002D2ED0 38 7E 00 30 */ addi r3, r30, 0x30 -/* 802D5F74 002D2ED4 48 03 EC 19 */ bl __ct__9CVector3fFR12CInputStream -/* 802D5F78 002D2ED8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D5F7C 002D2EDC 7F C3 F3 78 */ mr r3, r30 -/* 802D5F80 002D2EE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D5F84 002D2EE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D5F88 002D2EE8 7C 08 03 A6 */ mtlr r0 -/* 802D5F8C 002D2EEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D5F90 002D2EF0 4E 80 00 20 */ blr - -.global __ct__6COBBoxFRC12CTransform4fRC9CVector3f -__ct__6COBBoxFRC12CTransform4fRC9CVector3f: -/* 802D5F94 002D2EF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D5F98 002D2EF8 7C 08 02 A6 */ mflr r0 -/* 802D5F9C 002D2EFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D5FA0 002D2F00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D5FA4 002D2F04 7C BF 2B 78 */ mr r31, r5 -/* 802D5FA8 002D2F08 93 C1 00 08 */ stw r30, 8(r1) -/* 802D5FAC 002D2F0C 7C 7E 1B 78 */ mr r30, r3 -/* 802D5FB0 002D2F10 48 03 CB C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802D5FB4 002D2F14 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D5FB8 002D2F18 7F C3 F3 78 */ mr r3, r30 -/* 802D5FBC 002D2F1C D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 802D5FC0 002D2F20 C0 1F 00 04 */ lfs f0, 4(r31) -/* 802D5FC4 002D2F24 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 802D5FC8 002D2F28 C0 1F 00 08 */ lfs f0, 8(r31) -/* 802D5FCC 002D2F2C D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 802D5FD0 002D2F30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D5FD4 002D2F34 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D5FD8 002D2F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D5FDC 002D2F3C 7C 08 03 A6 */ mtlr r0 -/* 802D5FE0 002D2F40 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D5FE4 002D2F44 4E 80 00 20 */ blr - -.global GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f -GetInvUnscaledTransformRay__5CMRayCFRC12CTransform4f: -/* 802D5FE8 002D2F48 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802D5FEC 002D2F4C 7C 08 02 A6 */ mflr r0 -/* 802D5FF0 002D2F50 90 01 00 94 */ stw r0, 0x94(r1) -/* 802D5FF4 002D2F54 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802D5FF8 002D2F58 7C 9F 23 78 */ mr r31, r4 -/* 802D5FFC 002D2F5C 7C A4 2B 78 */ mr r4, r5 -/* 802D6000 002D2F60 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802D6004 002D2F64 7C 7E 1B 78 */ mr r30, r3 -/* 802D6008 002D2F68 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D600C 002D2F6C 48 03 CC 91 */ bl GetQuickInverse__12CTransform4fCFv -/* 802D6010 002D2F70 38 61 00 50 */ addi r3, r1, 0x50 -/* 802D6014 002D2F74 38 81 00 20 */ addi r4, r1, 0x20 -/* 802D6018 002D2F78 48 03 CB 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 802D601C 002D2F7C 38 61 00 08 */ addi r3, r1, 8 -/* 802D6020 002D2F80 38 81 00 50 */ addi r4, r1, 0x50 -/* 802D6024 002D2F84 38 BF 00 0C */ addi r5, r31, 0xc -/* 802D6028 002D2F88 48 03 CA C1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D602C 002D2F8C 7F E5 FB 78 */ mr r5, r31 -/* 802D6030 002D2F90 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D6034 002D2F94 38 81 00 50 */ addi r4, r1, 0x50 -/* 802D6038 002D2F98 48 03 CA B1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 802D603C 002D2F9C C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 802D6040 002D2FA0 7F C3 F3 78 */ mr r3, r30 -/* 802D6044 002D2FA4 C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 802D6048 002D2FA8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D604C 002D2FAC 38 A1 00 08 */ addi r5, r1, 8 -/* 802D6050 002D2FB0 48 00 00 CD */ bl __ct__5CMRayFRC9CVector3fRC9CVector3fff -/* 802D6054 002D2FB4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D6058 002D2FB8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802D605C 002D2FBC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802D6060 002D2FC0 7C 08 03 A6 */ mtlr r0 -/* 802D6064 002D2FC4 38 21 00 90 */ addi r1, r1, 0x90 -/* 802D6068 002D2FC8 4E 80 00 20 */ blr - -.global __ct__5CMRayFRC9CVector3fRC9CVector3ff -__ct__5CMRayFRC9CVector3fRC9CVector3ff: -/* 802D606C 002D2FCC C0 44 00 00 */ lfs f2, 0(r4) -/* 802D6070 002D2FD0 C0 02 C5 50 */ lfs f0, lbl_805AE270@sda21(r2) -/* 802D6074 002D2FD4 D0 43 00 00 */ stfs f2, 0(r3) -/* 802D6078 002D2FD8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 802D607C 002D2FDC C0 44 00 04 */ lfs f2, 4(r4) -/* 802D6080 002D2FE0 D0 43 00 04 */ stfs f2, 4(r3) -/* 802D6084 002D2FE4 C0 44 00 08 */ lfs f2, 8(r4) -/* 802D6088 002D2FE8 D0 43 00 08 */ stfs f2, 8(r3) -/* 802D608C 002D2FEC C0 45 00 00 */ lfs f2, 0(r5) -/* 802D6090 002D2FF0 C0 A5 00 04 */ lfs f5, 4(r5) -/* 802D6094 002D2FF4 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 802D6098 002D2FF8 C0 64 00 00 */ lfs f3, 0(r4) -/* 802D609C 002D2FFC C0 85 00 08 */ lfs f4, 8(r5) -/* 802D60A0 002D3000 EC C1 01 72 */ fmuls f6, f1, f5 -/* 802D60A4 002D3004 C0 E4 00 04 */ lfs f7, 4(r4) -/* 802D60A8 002D3008 EC 43 10 2A */ fadds f2, f3, f2 -/* 802D60AC 002D300C C0 A4 00 08 */ lfs f5, 8(r4) -/* 802D60B0 002D3010 EC 61 01 32 */ fmuls f3, f1, f4 -/* 802D60B4 002D3014 EC 87 30 2A */ fadds f4, f7, f6 -/* 802D60B8 002D3018 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 802D60BC 002D301C EC 45 18 2A */ fadds f2, f5, f3 -/* 802D60C0 002D3020 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 802D60C4 002D3024 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 802D60C8 002D3028 C0 63 00 0C */ lfs f3, 0xc(r3) -/* 802D60CC 002D302C C0 43 00 00 */ lfs f2, 0(r3) -/* 802D60D0 002D3030 C0 C3 00 10 */ lfs f6, 0x10(r3) -/* 802D60D4 002D3034 C0 A3 00 04 */ lfs f5, 4(r3) -/* 802D60D8 002D3038 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802D60DC 002D303C C0 83 00 14 */ lfs f4, 0x14(r3) -/* 802D60E0 002D3040 C0 63 00 08 */ lfs f3, 8(r3) -/* 802D60E4 002D3044 EC A6 28 28 */ fsubs f5, f6, f5 -/* 802D60E8 002D3048 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 802D60EC 002D304C EC 44 18 28 */ fsubs f2, f4, f3 -/* 802D60F0 002D3050 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 802D60F4 002D3054 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 802D60F8 002D3058 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802D60FC 002D305C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 802D6100 002D3060 C0 05 00 00 */ lfs f0, 0(r5) -/* 802D6104 002D3064 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802D6108 002D3068 C0 05 00 04 */ lfs f0, 4(r5) -/* 802D610C 002D306C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 802D6110 002D3070 C0 05 00 08 */ lfs f0, 8(r5) -/* 802D6114 002D3074 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 802D6118 002D3078 4E 80 00 20 */ blr - -.global __ct__5CMRayFRC9CVector3fRC9CVector3fff -__ct__5CMRayFRC9CVector3fRC9CVector3fff: -/* 802D611C 002D307C C0 04 00 00 */ lfs f0, 0(r4) -/* 802D6120 002D3080 D0 03 00 00 */ stfs f0, 0(r3) -/* 802D6124 002D3084 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D6128 002D3088 D0 03 00 04 */ stfs f0, 4(r3) -/* 802D612C 002D308C C0 04 00 08 */ lfs f0, 8(r4) -/* 802D6130 002D3090 D0 03 00 08 */ stfs f0, 8(r3) -/* 802D6134 002D3094 C0 05 00 00 */ lfs f0, 0(r5) -/* 802D6138 002D3098 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802D613C 002D309C C0 05 00 04 */ lfs f0, 4(r5) -/* 802D6140 002D30A0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802D6144 002D30A4 C0 05 00 08 */ lfs f0, 8(r5) -/* 802D6148 002D30A8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 802D614C 002D30AC C0 63 00 0C */ lfs f3, 0xc(r3) -/* 802D6150 002D30B0 C0 03 00 00 */ lfs f0, 0(r3) -/* 802D6154 002D30B4 C0 C3 00 10 */ lfs f6, 0x10(r3) -/* 802D6158 002D30B8 C0 A3 00 04 */ lfs f5, 4(r3) -/* 802D615C 002D30BC EC 03 00 28 */ fsubs f0, f3, f0 -/* 802D6160 002D30C0 C0 83 00 14 */ lfs f4, 0x14(r3) -/* 802D6164 002D30C4 C0 63 00 08 */ lfs f3, 8(r3) -/* 802D6168 002D30C8 EC A6 28 28 */ fsubs f5, f6, f5 -/* 802D616C 002D30CC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 802D6170 002D30D0 EC 04 18 28 */ fsubs f0, f4, f3 -/* 802D6174 002D30D4 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 802D6178 002D30D8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 802D617C 002D30DC D0 23 00 24 */ stfs f1, 0x24(r3) -/* 802D6180 002D30E0 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 802D6184 002D30E4 C0 63 00 28 */ lfs f3, 0x28(r3) -/* 802D6188 002D30E8 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 802D618C 002D30EC C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 802D6190 002D30F0 C0 23 00 20 */ lfs f1, 0x20(r3) -/* 802D6194 002D30F4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802D6198 002D30F8 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802D619C 002D30FC EC 23 00 72 */ fmuls f1, f3, f1 -/* 802D61A0 002D3100 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 802D61A4 002D3104 D0 43 00 30 */ stfs f2, 0x30(r3) -/* 802D61A8 002D3108 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 802D61AC 002D310C 4E 80 00 20 */ blr - -.global Stringize__7CBasicsFPCce -Stringize__7CBasicsFPCce: -/* 802D61B0 002D3110 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802D61B4 002D3114 7C 08 02 A6 */ mflr r0 -/* 802D61B8 002D3118 90 01 00 94 */ stw r0, 0x94(r1) -/* 802D61BC 002D311C 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802D61C0 002D3120 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802D61C4 002D3124 93 A1 00 84 */ stw r29, 0x84(r1) -/* 802D61C8 002D3128 40 86 00 24 */ bne cr1, lbl_802D61EC -/* 802D61CC 002D312C D8 21 00 28 */ stfd f1, 0x28(r1) -/* 802D61D0 002D3130 D8 41 00 30 */ stfd f2, 0x30(r1) -/* 802D61D4 002D3134 D8 61 00 38 */ stfd f3, 0x38(r1) -/* 802D61D8 002D3138 D8 81 00 40 */ stfd f4, 0x40(r1) -/* 802D61DC 002D313C D8 A1 00 48 */ stfd f5, 0x48(r1) -/* 802D61E0 002D3140 D8 C1 00 50 */ stfd f6, 0x50(r1) -/* 802D61E4 002D3144 D8 E1 00 58 */ stfd f7, 0x58(r1) -/* 802D61E8 002D3148 D9 01 00 60 */ stfd f8, 0x60(r1) -lbl_802D61EC: -/* 802D61EC 002D314C 3B E1 00 98 */ addi r31, r1, 0x98 -/* 802D61F0 002D3150 39 81 00 08 */ addi r12, r1, 8 -/* 802D61F4 002D3154 3F C0 01 00 */ lis r30, 0x100 -/* 802D61F8 002D3158 3D 60 80 48 */ lis r11, lbl_804795A0@ha -/* 802D61FC 002D315C 90 81 00 0C */ stw r4, 0xc(r1) -/* 802D6200 002D3160 3B A1 00 68 */ addi r29, r1, 0x68 -/* 802D6204 002D3164 38 0B 95 A0 */ addi r0, r11, lbl_804795A0@l -/* 802D6208 002D3168 7C 64 1B 78 */ mr r4, r3 -/* 802D620C 002D316C 90 61 00 08 */ stw r3, 8(r1) -/* 802D6210 002D3170 7C 03 03 78 */ mr r3, r0 -/* 802D6214 002D3174 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802D6218 002D3178 7F A5 EB 78 */ mr r5, r29 -/* 802D621C 002D317C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802D6220 002D3180 90 E1 00 18 */ stw r7, 0x18(r1) -/* 802D6224 002D3184 91 01 00 1C */ stw r8, 0x1c(r1) -/* 802D6228 002D3188 91 21 00 20 */ stw r9, 0x20(r1) -/* 802D622C 002D318C 91 41 00 24 */ stw r10, 0x24(r1) -/* 802D6230 002D3190 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802D6234 002D3194 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802D6238 002D3198 91 81 00 70 */ stw r12, 0x70(r1) -/* 802D623C 002D319C 48 0B 7B 81 */ bl vsprintf -/* 802D6240 002D31A0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D6244 002D31A4 3C 60 80 48 */ lis r3, lbl_804795A0@ha -/* 802D6248 002D31A8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802D624C 002D31AC 38 63 95 A0 */ addi r3, r3, lbl_804795A0@l -/* 802D6250 002D31B0 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802D6254 002D31B4 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802D6258 002D31B8 7C 08 03 A6 */ mtlr r0 -/* 802D625C 002D31BC 38 21 00 90 */ addi r1, r1, 0x90 -/* 802D6260 002D31C0 4E 80 00 20 */ blr - -.global GetGlobalTimerObj__10CStopwatchFv -GetGlobalTimerObj__10CStopwatchFv: -/* 802D6264 002D31C4 38 6D A6 78 */ addi r3, r13, lbl_805A9238@sda21 -/* 802D6268 002D31C8 4E 80 00 20 */ blr - -.global Wait__10CStopwatchFf -Wait__10CStopwatchFf: -/* 802D626C 002D31CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6270 002D31D0 7C 08 02 A6 */ mflr r0 -/* 802D6274 002D31D4 FC 40 0A 10 */ fabs f2, f1 -/* 802D6278 002D31D8 C8 02 C5 58 */ lfd f0, lbl_805AE278@sda21(r2) -/* 802D627C 002D31DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6280 002D31E0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802D6284 002D31E4 40 80 00 18 */ bge lbl_802D629C -/* 802D6288 002D31E8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 802D628C 002D31EC C0 22 C5 60 */ lfs f1, lbl_805AE280@sda21(r2) -/* 802D6290 002D31F0 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l -/* 802D6294 002D31F4 48 00 05 05 */ bl Wait__Q210CStopwatch7CSWDataCFf -/* 802D6298 002D31F8 48 00 00 10 */ b lbl_802D62A8 -lbl_802D629C: -/* 802D629C 002D31FC 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 802D62A0 002D3200 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l -/* 802D62A4 002D3204 48 00 04 F5 */ bl Wait__Q210CStopwatch7CSWDataCFf -lbl_802D62A8: -/* 802D62A8 002D3208 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D62AC 002D320C 7C 08 03 A6 */ mtlr r0 -/* 802D62B0 002D3210 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D62B4 002D3214 4E 80 00 20 */ blr - -.global InitGlobalTimer__10CStopwatchFv -InitGlobalTimer__10CStopwatchFv: -/* 802D62B8 002D3218 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D62BC 002D321C 7C 08 02 A6 */ mflr r0 -/* 802D62C0 002D3220 3C 60 80 5A */ lis r3, lbl_805A0004@ha -/* 802D62C4 002D3224 38 80 00 00 */ li r4, 0 -/* 802D62C8 002D3228 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D62CC 002D322C 84 03 FD 30 */ lwzu r0, -0x2d0(r3) -/* 802D62D0 002D3230 80 A3 00 04 */ lwz r5, lbl_805A0004@l(r3) -/* 802D62D4 002D3234 7C 00 22 78 */ xor r0, r0, r4 -/* 802D62D8 002D3238 7C A4 22 78 */ xor r4, r5, r4 -/* 802D62DC 002D323C 7C 80 03 79 */ or. r0, r4, r0 -/* 802D62E0 002D3240 40 82 00 08 */ bne lbl_802D62E8 -/* 802D62E4 002D3244 48 00 04 39 */ bl Initialize__Q210CStopwatch7CSWDataFv -lbl_802D62E8: -/* 802D62E8 002D3248 48 0A F0 C1 */ bl OSGetTime -/* 802D62EC 002D324C 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13) -/* 802D62F0 002D3250 38 60 00 01 */ li r3, 1 -/* 802D62F4 002D3254 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13) -/* 802D62F8 002D3258 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D62FC 002D325C 7C 08 03 A6 */ mtlr r0 -/* 802D6300 002D3260 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6304 002D3264 4E 80 00 20 */ blr - -.global __sinit_CStopwatch_cpp -__sinit_CStopwatch_cpp: -/* 802D6308 002D3268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D630C 002D326C 7C 08 02 A6 */ mflr r0 -/* 802D6310 002D3270 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 802D6314 002D3274 C0 02 C5 60 */ lfs f0, lbl_805AE280@sda21(r2) -/* 802D6318 002D3278 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D631C 002D327C 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l -/* 802D6320 002D3280 38 00 00 00 */ li r0, 0 -/* 802D6324 002D3284 90 03 00 04 */ stw r0, 4(r3) -/* 802D6328 002D3288 90 03 00 00 */ stw r0, 0(r3) -/* 802D632C 002D328C 90 03 00 0C */ stw r0, 0xc(r3) -/* 802D6330 002D3290 90 03 00 08 */ stw r0, 8(r3) -/* 802D6334 002D3294 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802D6338 002D3298 48 0A F0 71 */ bl OSGetTime -/* 802D633C 002D329C 90 8D A6 7C */ stw r4, lbl_805A923C@sda21(r13) -/* 802D6340 002D32A0 90 6D A6 78 */ stw r3, lbl_805A9238@sda21(r13) -/* 802D6344 002D32A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6348 002D32A8 7C 08 03 A6 */ mtlr r0 -/* 802D634C 002D32AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6350 002D32B0 4E 80 00 20 */ blr - -.global Init__7CBasicsFv -Init__7CBasicsFv: -/* 802D6354 002D32B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6358 002D32B8 7C 08 02 A6 */ mflr r0 -/* 802D635C 002D32BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6360 002D32C0 88 0D A6 80 */ lbz r0, lbl_805A9240@sda21(r13) -/* 802D6364 002D32C4 28 00 00 00 */ cmplwi r0, 0 -/* 802D6368 002D32C8 40 82 00 48 */ bne lbl_802D63B0 -/* 802D636C 002D32CC 48 0A 75 3D */ bl OSInit -/* 802D6370 002D32D0 38 60 00 04 */ li r3, 4 -/* 802D6374 002D32D4 64 63 00 04 */ oris r3, r3, 4 -/* 802D6378 002D32D8 7C 72 E3 A6 */ mtspr 0x392, r3 -/* 802D637C 002D32DC 38 60 00 05 */ li r3, 5 -/* 802D6380 002D32E0 64 63 00 05 */ oris r3, r3, 5 -/* 802D6384 002D32E4 7C 73 E3 A6 */ mtspr 0x393, r3 -/* 802D6388 002D32E8 38 60 00 06 */ li r3, 6 -/* 802D638C 002D32EC 64 63 00 06 */ oris r3, r3, 6 -/* 802D6390 002D32F0 7C 74 E3 A6 */ mtspr 0x394, r3 -/* 802D6394 002D32F4 38 60 00 07 */ li r3, 7 -/* 802D6398 002D32F8 64 63 00 07 */ oris r3, r3, 7 -/* 802D639C 002D32FC 7C 75 E3 A6 */ mtspr 0x395, r3 -/* 802D63A0 002D3300 48 09 B8 05 */ bl DVDInit -/* 802D63A4 002D3304 4B FF FF 15 */ bl InitGlobalTimer__10CStopwatchFv -/* 802D63A8 002D3308 38 00 00 01 */ li r0, 1 -/* 802D63AC 002D330C 98 0D A6 80 */ stb r0, lbl_805A9240@sda21(r13) -lbl_802D63B0: -/* 802D63B0 002D3310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D63B4 002D3314 88 6D A6 80 */ lbz r3, lbl_805A9240@sda21(r13) -/* 802D63B8 002D3318 7C 08 03 A6 */ mtlr r0 -/* 802D63BC 002D331C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D63C0 002D3320 4E 80 00 20 */ blr - -.global GetTypeText__10CCallStackCFv -GetTypeText__10CCallStackCFv: -/* 802D63C4 002D3324 80 63 00 04 */ lwz r3, 4(r3) -/* 802D63C8 002D3328 4E 80 00 20 */ blr - -.global GetFileAndLineText__10CCallStackCFv -GetFileAndLineText__10CCallStackCFv: -/* 802D63CC 002D332C 80 63 00 00 */ lwz r3, 0(r3) -/* 802D63D0 002D3330 4E 80 00 20 */ blr - -.global __ct__10CCallStackFUiPCcPCc -__ct__10CCallStackFUiPCcPCc: -/* 802D63D4 002D3334 90 A3 00 00 */ stw r5, 0(r3) -/* 802D63D8 002D3338 90 C3 00 04 */ stw r6, 4(r3) -/* 802D63DC 002D333C 4E 80 00 20 */ blr - -.global sub_802d63e0 -sub_802d63e0: -/* 802D63E0 002D3340 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D63E4 002D3344 7C 08 02 A6 */ mflr r0 -/* 802D63E8 002D3348 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D63EC 002D334C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D63F0 002D3350 93 C1 00 08 */ stw r30, 8(r1) -/* 802D63F4 002D3354 7C 7E 1B 78 */ mr r30, r3 -/* 802D63F8 002D3358 7C 83 23 78 */ mr r3, r4 -/* 802D63FC 002D335C 38 80 00 20 */ li r4, 0x20 -/* 802D6400 002D3360 48 0A 83 B1 */ bl OSAllocFromArenaLo -/* 802D6404 002D3364 7C 7F 1B 78 */ mr r31, r3 -/* 802D6408 002D3368 48 0A 83 91 */ bl OSGetArenaLo -/* 802D640C 002D336C 90 7E 00 20 */ stw r3, 0x20(r30) -/* 802D6410 002D3370 48 0A 83 89 */ bl OSGetArenaLo -/* 802D6414 002D3374 90 7E 00 18 */ stw r3, 0x18(r30) -/* 802D6418 002D3378 48 0A 83 79 */ bl OSGetArenaHi -/* 802D641C 002D337C 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 802D6420 002D3380 7F E3 FB 78 */ mr r3, r31 -/* 802D6424 002D3384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6428 002D3388 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D642C 002D338C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D6430 002D3390 7C 08 03 A6 */ mtlr r0 -/* 802D6434 002D3394 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6438 002D3398 4E 80 00 20 */ blr - -.global OpenWindow__10COsContextFPCciiiib -OpenWindow__10COsContextFPCciiiib: -/* 802D643C 002D339C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D6440 002D33A0 7C 08 02 A6 */ mflr r0 -/* 802D6444 002D33A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D6448 002D33A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D644C 002D33AC 7C 7F 1B 78 */ mr r31, r3 -/* 802D6450 002D33B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D6454 002D33B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802D6458 002D33B8 7D 1D 43 78 */ mr r29, r8 -/* 802D645C 002D33BC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802D6460 002D33C0 7C FC 3B 78 */ mr r28, r7 -/* 802D6464 002D33C4 48 0B 17 79 */ bl VIInit -/* 802D6468 002D33C8 48 0B 30 71 */ bl VIGetTvFormat -/* 802D646C 002D33CC 2C 03 00 01 */ cmpwi r3, 1 -/* 802D6470 002D33D0 41 82 00 38 */ beq lbl_802D64A8 -/* 802D6474 002D33D4 40 80 00 10 */ bge lbl_802D6484 -/* 802D6478 002D33D8 2C 03 00 00 */ cmpwi r3, 0 -/* 802D647C 002D33DC 40 80 00 14 */ bge lbl_802D6490 -/* 802D6480 002D33E0 48 00 00 54 */ b lbl_802D64D4 -lbl_802D6484: -/* 802D6484 002D33E4 2C 03 00 03 */ cmpwi r3, 3 -/* 802D6488 002D33E8 40 80 00 4C */ bge lbl_802D64D4 -/* 802D648C 002D33EC 48 00 00 34 */ b lbl_802D64C0 -lbl_802D6490: -/* 802D6490 002D33F0 3C 60 80 3F */ lis r3, lbl_803F08E0@ha -/* 802D6494 002D33F4 38 00 00 01 */ li r0, 1 -/* 802D6498 002D33F8 38 63 08 E0 */ addi r3, r3, lbl_803F08E0@l -/* 802D649C 002D33FC 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802D64A0 002D3400 7C 7E 1B 78 */ mr r30, r3 -/* 802D64A4 002D3404 48 00 00 30 */ b lbl_802D64D4 -lbl_802D64A8: -/* 802D64A8 002D3408 3C 60 80 3F */ lis r3, lbl_803F0958@ha -/* 802D64AC 002D340C 38 00 00 02 */ li r0, 2 -/* 802D64B0 002D3410 38 63 09 58 */ addi r3, r3, lbl_803F0958@l -/* 802D64B4 002D3414 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802D64B8 002D3418 7C 7E 1B 78 */ mr r30, r3 -/* 802D64BC 002D341C 48 00 00 18 */ b lbl_802D64D4 -lbl_802D64C0: -/* 802D64C0 002D3420 3C 60 80 3F */ lis r3, lbl_803F091C@ha -/* 802D64C4 002D3424 38 00 00 03 */ li r0, 3 -/* 802D64C8 002D3428 38 63 09 1C */ addi r3, r3, lbl_803F091C@l -/* 802D64CC 002D342C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802D64D0 002D3430 7C 7E 1B 78 */ mr r30, r3 -lbl_802D64D4: -/* 802D64D4 002D3434 2C 1C 00 00 */ cmpwi r28, 0 -/* 802D64D8 002D3438 40 81 00 08 */ ble lbl_802D64E0 -/* 802D64DC 002D343C B3 9F 00 3E */ sth r28, 0x3e(r31) -lbl_802D64E0: -/* 802D64E0 002D3440 2C 1D 00 00 */ cmpwi r29, 0 -/* 802D64E4 002D3444 40 81 00 08 */ ble lbl_802D64EC -/* 802D64E8 002D3448 B3 BF 00 40 */ sth r29, 0x40(r31) -lbl_802D64EC: -/* 802D64EC 002D344C 7F C3 F3 78 */ mr r3, r30 -/* 802D64F0 002D3450 38 9F 00 30 */ addi r4, r31, 0x30 -/* 802D64F4 002D3454 38 A0 00 00 */ li r5, 0 -/* 802D64F8 002D3458 38 C0 00 10 */ li r6, 0x10 -/* 802D64FC 002D345C 48 0A 27 09 */ bl GXAdjustForOverscan -/* 802D6500 002D3460 A0 1F 00 3A */ lhz r0, 0x3a(r31) -/* 802D6504 002D3464 38 80 00 20 */ li r4, 0x20 -/* 802D6508 002D3468 90 1F 00 08 */ stw r0, 8(r31) -/* 802D650C 002D346C A0 1F 00 3C */ lhz r0, 0x3c(r31) -/* 802D6510 002D3470 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D6514 002D3474 A0 1F 00 3E */ lhz r0, 0x3e(r31) -/* 802D6518 002D3478 90 1F 00 00 */ stw r0, 0(r31) -/* 802D651C 002D347C A0 1F 00 40 */ lhz r0, 0x40(r31) -/* 802D6520 002D3480 90 1F 00 04 */ stw r0, 4(r31) -/* 802D6524 002D3484 A0 7F 00 34 */ lhz r3, 0x34(r31) -/* 802D6528 002D3488 A0 1F 00 38 */ lhz r0, 0x38(r31) -/* 802D652C 002D348C 38 63 00 0F */ addi r3, r3, 0xf -/* 802D6530 002D3490 54 63 04 36 */ rlwinm r3, r3, 0, 0x10, 0x1b -/* 802D6534 002D3494 7C 03 01 D6 */ mullw r0, r3, r0 -/* 802D6538 002D3498 54 00 08 3C */ slwi r0, r0, 1 -/* 802D653C 002D349C 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802D6540 002D34A0 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 802D6544 002D34A4 48 0A 82 6D */ bl OSAllocFromArenaLo -/* 802D6548 002D34A8 90 7F 00 24 */ stw r3, 0x24(r31) -/* 802D654C 002D34AC 38 80 00 20 */ li r4, 0x20 -/* 802D6550 002D34B0 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 802D6554 002D34B4 48 0A 82 5D */ bl OSAllocFromArenaLo -/* 802D6558 002D34B8 90 7F 00 28 */ stw r3, 0x28(r31) -/* 802D655C 002D34BC 48 0A 82 3D */ bl OSGetArenaLo -/* 802D6560 002D34C0 90 7F 00 20 */ stw r3, 0x20(r31) -/* 802D6564 002D34C4 48 0A 82 35 */ bl OSGetArenaLo -/* 802D6568 002D34C8 90 7F 00 18 */ stw r3, 0x18(r31) -/* 802D656C 002D34CC 48 0A 82 25 */ bl OSGetArenaHi -/* 802D6570 002D34D0 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 802D6574 002D34D4 A0 7F 00 3E */ lhz r3, 0x3e(r31) -/* 802D6578 002D34D8 38 03 00 14 */ addi r0, r3, 0x14 -/* 802D657C 002D34DC B0 1F 00 3E */ sth r0, 0x3e(r31) -/* 802D6580 002D34E0 A0 7F 00 3A */ lhz r3, 0x3a(r31) -/* 802D6584 002D34E4 38 03 FF F6 */ addi r0, r3, -10 -/* 802D6588 002D34E8 B0 1F 00 3A */ sth r0, 0x3a(r31) -/* 802D658C 002D34EC 88 0D A0 98 */ lbz r0, lbl_805A8C58@sda21(r13) -/* 802D6590 002D34F0 28 00 00 00 */ cmplwi r0, 0 -/* 802D6594 002D34F4 41 82 00 3C */ beq lbl_802D65D0 -/* 802D6598 002D34F8 38 60 00 02 */ li r3, 2 -/* 802D659C 002D34FC 38 00 00 00 */ li r0, 0 -/* 802D65A0 002D3500 90 7F 00 30 */ stw r3, 0x30(r31) -/* 802D65A4 002D3504 38 7F 00 62 */ addi r3, r31, 0x62 -/* 802D65A8 002D3508 38 81 00 08 */ addi r4, r1, 8 -/* 802D65AC 002D350C 38 A0 00 07 */ li r5, 7 -/* 802D65B0 002D3510 90 1F 00 44 */ stw r0, 0x44(r31) -/* 802D65B4 002D3514 80 E2 C5 68 */ lwz r7, lbl_805AE288@sda21(r2) -/* 802D65B8 002D3518 A0 C2 C5 6C */ lhz r6, lbl_805AE28C@sda21(r2) -/* 802D65BC 002D351C 88 02 C5 6E */ lbz r0, lbl_805AE28E@sda21(r2) -/* 802D65C0 002D3520 90 E1 00 08 */ stw r7, 8(r1) -/* 802D65C4 002D3524 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 802D65C8 002D3528 98 01 00 0E */ stb r0, 0xe(r1) -/* 802D65CC 002D352C 4B D2 CE C5 */ bl memcpy -lbl_802D65D0: -/* 802D65D0 002D3530 38 7F 00 30 */ addi r3, r31, 0x30 -/* 802D65D4 002D3534 48 0B 1F 81 */ bl VIConfigure -/* 802D65D8 002D3538 48 0B 2B 39 */ bl VIFlush -/* 802D65DC 002D353C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D65E0 002D3540 38 60 FF FF */ li r3, -1 -/* 802D65E4 002D3544 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D65E8 002D3548 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D65EC 002D354C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802D65F0 002D3550 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802D65F4 002D3554 7C 08 03 A6 */ mtlr r0 -/* 802D65F8 002D3558 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D65FC 002D355C 4E 80 00 20 */ blr - -.global GetOsKeyState__10COsContextCFi -GetOsKeyState__10COsContextCFi: -/* 802D6600 002D3560 90 A3 00 00 */ stw r5, 0(r3) -/* 802D6604 002D3564 38 80 00 00 */ li r4, 0 -/* 802D6608 002D3568 A8 03 00 04 */ lha r0, 4(r3) -/* 802D660C 002D356C 50 80 7C 20 */ rlwimi r0, r4, 0xf, 0x10, 0x10 -/* 802D6610 002D3570 B0 03 00 04 */ sth r0, 4(r3) -/* 802D6614 002D3574 A8 03 00 04 */ lha r0, 4(r3) -/* 802D6618 002D3578 50 80 74 62 */ rlwimi r0, r4, 0xe, 0x11, 0x11 -/* 802D661C 002D357C B0 03 00 04 */ sth r0, 4(r3) -/* 802D6620 002D3580 A8 03 00 04 */ lha r0, 4(r3) -/* 802D6624 002D3584 50 80 6C A4 */ rlwimi r0, r4, 0xd, 0x12, 0x12 -/* 802D6628 002D3588 B0 03 00 04 */ sth r0, 4(r3) -/* 802D662C 002D358C A8 03 00 04 */ lha r0, 4(r3) -/* 802D6630 002D3590 50 80 64 E6 */ rlwimi r0, r4, 0xc, 0x13, 0x13 -/* 802D6634 002D3594 B0 03 00 04 */ sth r0, 4(r3) -/* 802D6638 002D3598 4E 80 00 20 */ blr - -.global Update__10COsContextFv -Update__10COsContextFv: -/* 802D663C 002D359C 38 60 00 01 */ li r3, 1 -/* 802D6640 002D35A0 4E 80 00 20 */ blr - -.global __dt__10COsContextFv -__dt__10COsContextFv: -/* 802D6644 002D35A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6648 002D35A8 7C 08 02 A6 */ mflr r0 -/* 802D664C 002D35AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6650 002D35B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D6654 002D35B4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802D6658 002D35B8 41 82 00 10 */ beq lbl_802D6668 -/* 802D665C 002D35BC 7C 80 07 35 */ extsh. r0, r4 -/* 802D6660 002D35C0 40 81 00 08 */ ble lbl_802D6668 -/* 802D6664 002D35C4 48 03 F2 CD */ bl Free__7CMemoryFPCv -lbl_802D6668: -/* 802D6668 002D35C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D666C 002D35CC 7F E3 FB 78 */ mr r3, r31 -/* 802D6670 002D35D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D6674 002D35D4 7C 08 03 A6 */ mtlr r0 -/* 802D6678 002D35D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D667C 002D35DC 4E 80 00 20 */ blr - -.global __ct__10COsContextFbb -__ct__10COsContextFbb: -/* 802D6680 002D35E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6684 002D35E4 7C 08 02 A6 */ mflr r0 -/* 802D6688 002D35E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D668C 002D35EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D6690 002D35F0 7C 7F 1B 78 */ mr r31, r3 -/* 802D6694 002D35F4 4B FF FC C1 */ bl Init__7CBasicsFv -/* 802D6698 002D35F8 48 0A 70 85 */ bl OSGetConsoleType -/* 802D669C 002D35FC 3C 80 10 00 */ lis r4, 0x1000 -/* 802D66A0 002D3600 7C 03 20 00 */ cmpw r3, r4 -/* 802D66A4 002D3604 41 82 00 58 */ beq lbl_802D66FC -/* 802D66A8 002D3608 40 80 00 10 */ bge lbl_802D66B8 -/* 802D66AC 002D360C 2C 03 00 01 */ cmpwi r3, 1 -/* 802D66B0 002D3610 41 82 00 28 */ beq lbl_802D66D8 -/* 802D66B4 002D3614 48 00 00 50 */ b lbl_802D6704 -lbl_802D66B8: -/* 802D66B8 002D3618 38 04 00 04 */ addi r0, r4, 4 -/* 802D66BC 002D361C 7C 03 00 00 */ cmpw r3, r0 -/* 802D66C0 002D3620 41 82 00 24 */ beq lbl_802D66E4 -/* 802D66C4 002D3624 41 80 00 40 */ blt lbl_802D6704 -/* 802D66C8 002D3628 38 04 00 07 */ addi r0, r4, 7 -/* 802D66CC 002D362C 7C 03 00 00 */ cmpw r3, r0 -/* 802D66D0 002D3630 40 80 00 34 */ bge lbl_802D6704 -/* 802D66D4 002D3634 48 00 00 1C */ b lbl_802D66F0 -lbl_802D66D8: -/* 802D66D8 002D3638 38 00 00 03 */ li r0, 3 -/* 802D66DC 002D363C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D66E0 002D3640 48 00 00 24 */ b lbl_802D6704 -lbl_802D66E4: -/* 802D66E4 002D3644 38 00 00 01 */ li r0, 1 -/* 802D66E8 002D3648 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D66EC 002D364C 48 00 00 18 */ b lbl_802D6704 -lbl_802D66F0: -/* 802D66F0 002D3650 38 00 00 02 */ li r0, 2 -/* 802D66F4 002D3654 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D66F8 002D3658 48 00 00 0C */ b lbl_802D6704 -lbl_802D66FC: -/* 802D66FC 002D365C 38 00 00 00 */ li r0, 0 -/* 802D6700 002D3660 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_802D6704: -/* 802D6704 002D3664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6708 002D3668 7F E3 FB 78 */ mr r3, r31 -/* 802D670C 002D366C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D6710 002D3670 7C 08 03 A6 */ mtlr r0 -/* 802D6714 002D3674 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6718 002D3678 4E 80 00 20 */ blr - -.global Initialize__Q210CStopwatch7CSWDataFv -Initialize__Q210CStopwatch7CSWDataFv: -/* 802D671C 002D367C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6720 002D3680 7C 08 02 A6 */ mflr r0 -/* 802D6724 002D3684 3C 80 00 0F */ lis r4, 0x000F4240@ha -/* 802D6728 002D3688 3C A0 80 00 */ lis r5, 0x800000F8@ha -/* 802D672C 002D368C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6730 002D3690 38 00 00 00 */ li r0, 0 -/* 802D6734 002D3694 38 C4 42 40 */ addi r6, r4, 0x000F4240@l -/* 802D6738 002D3698 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D673C 002D369C 7C 7F 1B 78 */ mr r31, r3 -/* 802D6740 002D36A0 80 A5 00 F8 */ lwz r5, 0x800000F8@l(r5) -/* 802D6744 002D36A4 54 A3 F0 BE */ srwi r3, r5, 2 -/* 802D6748 002D36A8 38 A0 00 00 */ li r5, 0 -/* 802D674C 002D36AC 90 7F 00 04 */ stw r3, 4(r31) -/* 802D6750 002D36B0 90 1F 00 00 */ stw r0, 0(r31) -/* 802D6754 002D36B4 80 7F 00 00 */ lwz r3, 0(r31) -/* 802D6758 002D36B8 80 9F 00 04 */ lwz r4, 4(r31) -/* 802D675C 002D36BC 48 0B 34 71 */ bl __div2i -/* 802D6760 002D36C0 90 9F 00 0C */ stw r4, 0xc(r31) -/* 802D6764 002D36C4 90 7F 00 08 */ stw r3, 8(r31) -/* 802D6768 002D36C8 80 7F 00 00 */ lwz r3, 0(r31) -/* 802D676C 002D36CC 80 9F 00 04 */ lwz r4, 4(r31) -/* 802D6770 002D36D0 48 0B 37 F5 */ bl __cvt_sll_flt -/* 802D6774 002D36D4 C0 02 C5 70 */ lfs f0, lbl_805AE290@sda21(r2) -/* 802D6778 002D36D8 38 60 00 01 */ li r3, 1 -/* 802D677C 002D36DC EC 00 08 24 */ fdivs f0, f0, f1 -/* 802D6780 002D36E0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 802D6784 002D36E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D6788 002D36E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D678C 002D36EC 7C 08 03 A6 */ mtlr r0 -/* 802D6790 002D36F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6794 002D36F4 4E 80 00 20 */ blr - -.global Wait__Q210CStopwatch7CSWDataCFf -Wait__Q210CStopwatch7CSWDataCFf: -/* 802D6798 002D36F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D679C 002D36FC 7C 08 02 A6 */ mflr r0 -/* 802D67A0 002D3700 3C 60 80 00 */ lis r3, 0x800000F8@ha -/* 802D67A4 002D3704 C8 42 C5 78 */ lfd f2, lbl_805AE298@sda21(r2) -/* 802D67A8 002D3708 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D67AC 002D370C 3C 00 43 30 */ lis r0, 0x4330 -/* 802D67B0 002D3710 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D67B4 002D3714 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D67B8 002D3718 80 63 00 F8 */ lwz r3, 0x800000F8@l(r3) -/* 802D67BC 002D371C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802D67C0 002D3720 54 60 F0 BE */ srwi r0, r3, 2 -/* 802D67C4 002D3724 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802D67C8 002D3728 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802D67CC 002D372C EC 00 10 28 */ fsubs f0, f0, f2 -/* 802D67D0 002D3730 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802D67D4 002D3734 48 0B 38 45 */ bl __cvt_dbl_usll -/* 802D67D8 002D3738 7C 9E 23 78 */ mr r30, r4 -/* 802D67DC 002D373C 7C 7F 1B 78 */ mr r31, r3 -/* 802D67E0 002D3740 48 0A EB C9 */ bl OSGetTime -/* 802D67E4 002D3744 7F DE 20 14 */ addc r30, r30, r4 -/* 802D67E8 002D3748 7F FF 19 14 */ adde r31, r31, r3 -lbl_802D67EC: -/* 802D67EC 002D374C 48 0A EB BD */ bl OSGetTime -/* 802D67F0 002D3750 90 81 00 14 */ stw r4, 0x14(r1) -/* 802D67F4 002D3754 90 61 00 10 */ stw r3, 0x10(r1) -/* 802D67F8 002D3758 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802D67FC 002D375C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6800 002D3760 7C 1E 00 10 */ subfc r0, r30, r0 -/* 802D6804 002D3764 90 01 00 08 */ stw r0, 8(r1) -/* 802D6808 002D3768 80 01 00 08 */ lwz r0, 8(r1) -/* 802D680C 002D376C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D6810 002D3770 41 80 FF DC */ blt lbl_802D67EC -/* 802D6814 002D3774 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D6818 002D3778 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D681C 002D377C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D6820 002D3780 7C 08 03 A6 */ mtlr r0 -/* 802D6824 002D3784 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D6828 002D3788 4E 80 00 20 */ blr - -.global rs_debugger_printf__FPCce -rs_debugger_printf__FPCce: -/* 802D682C 002D378C 94 21 FC B0 */ stwu r1, -0x350(r1) -/* 802D6830 002D3790 7C 08 02 A6 */ mflr r0 -/* 802D6834 002D3794 90 01 03 54 */ stw r0, 0x354(r1) -/* 802D6838 002D3798 93 E1 03 4C */ stw r31, 0x34c(r1) -/* 802D683C 002D379C 93 C1 03 48 */ stw r30, 0x348(r1) -/* 802D6840 002D37A0 93 A1 03 44 */ stw r29, 0x344(r1) -/* 802D6844 002D37A4 40 86 00 24 */ bne cr1, lbl_802D6868 -/* 802D6848 002D37A8 D8 21 00 28 */ stfd f1, 0x28(r1) -/* 802D684C 002D37AC D8 41 00 30 */ stfd f2, 0x30(r1) -/* 802D6850 002D37B0 D8 61 00 38 */ stfd f3, 0x38(r1) -/* 802D6854 002D37B4 D8 81 00 40 */ stfd f4, 0x40(r1) -/* 802D6858 002D37B8 D8 A1 00 48 */ stfd f5, 0x48(r1) -/* 802D685C 002D37BC D8 C1 00 50 */ stfd f6, 0x50(r1) -/* 802D6860 002D37C0 D8 E1 00 58 */ stfd f7, 0x58(r1) -/* 802D6864 002D37C4 D9 01 00 60 */ stfd f8, 0x60(r1) -lbl_802D6868: -/* 802D6868 002D37C8 3B E1 03 58 */ addi r31, r1, 0x358 -/* 802D686C 002D37CC 39 81 00 08 */ addi r12, r1, 8 -/* 802D6870 002D37D0 3F C0 01 00 */ lis r30, 0x100 -/* 802D6874 002D37D4 3D 60 80 48 */ lis r11, lbl_804797A0@ha -/* 802D6878 002D37D8 90 81 00 0C */ stw r4, 0xc(r1) -/* 802D687C 002D37DC 3B A1 00 68 */ addi r29, r1, 0x68 -/* 802D6880 002D37E0 38 0B 97 A0 */ addi r0, r11, lbl_804797A0@l -/* 802D6884 002D37E4 7C 64 1B 78 */ mr r4, r3 -/* 802D6888 002D37E8 90 61 00 08 */ stw r3, 8(r1) -/* 802D688C 002D37EC 7C 03 03 78 */ mr r3, r0 -/* 802D6890 002D37F0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802D6894 002D37F4 7F A5 EB 78 */ mr r5, r29 -/* 802D6898 002D37F8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802D689C 002D37FC 90 E1 00 18 */ stw r7, 0x18(r1) -/* 802D68A0 002D3800 91 01 00 1C */ stw r8, 0x1c(r1) -/* 802D68A4 002D3804 91 21 00 20 */ stw r9, 0x20(r1) -/* 802D68A8 002D3808 91 41 00 24 */ stw r10, 0x24(r1) -/* 802D68AC 002D380C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802D68B0 002D3810 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802D68B4 002D3814 91 81 00 70 */ stw r12, 0x70(r1) -/* 802D68B8 002D3818 48 0B 75 05 */ bl vsprintf -/* 802D68BC 002D381C 90 6D A6 8C */ stw r3, lbl_805A924C@sda21(r13) -/* 802D68C0 002D3820 38 61 00 78 */ addi r3, r1, 0x78 -/* 802D68C4 002D3824 48 0A 8B C1 */ bl OSSaveContext -/* 802D68C8 002D3828 3C 60 D1 DD */ lis r3, 0xD1DD0D1E@ha -/* 802D68CC 002D382C 38 81 00 78 */ addi r4, r1, 0x78 -/* 802D68D0 002D3830 38 C3 0D 1E */ addi r6, r3, 0xD1DD0D1E@l -/* 802D68D4 002D3834 38 60 00 FF */ li r3, 0xff -/* 802D68D8 002D3838 38 A0 00 00 */ li r5, 0 -/* 802D68DC 002D383C 48 00 00 7D */ bl sub_802d6958 -/* 802D68E0 002D3840 80 01 03 54 */ lwz r0, 0x354(r1) -/* 802D68E4 002D3844 83 E1 03 4C */ lwz r31, 0x34c(r1) -/* 802D68E8 002D3848 83 C1 03 48 */ lwz r30, 0x348(r1) -/* 802D68EC 002D384C 83 A1 03 44 */ lwz r29, 0x344(r1) -/* 802D68F0 002D3850 7C 08 03 A6 */ mtlr r0 -/* 802D68F4 002D3854 38 21 03 50 */ addi r1, r1, 0x350 -/* 802D68F8 002D3858 4E 80 00 20 */ blr - -.global SetErrorHandlers -SetErrorHandlers: -/* 802D68FC 002D385C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6900 002D3860 7C 08 02 A6 */ mflr r0 -/* 802D6904 002D3864 3C 80 80 2D */ lis r4, sub_802d6958@ha -/* 802D6908 002D3868 38 60 00 02 */ li r3, 2 -/* 802D690C 002D386C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6910 002D3870 38 84 69 58 */ addi r4, r4, sub_802d6958@l -/* 802D6914 002D3874 48 0A 92 45 */ bl OSSetErrorHandler -/* 802D6918 002D3878 3C 80 80 2D */ lis r4, sub_802d6958@ha -/* 802D691C 002D387C 38 60 00 03 */ li r3, 3 -/* 802D6920 002D3880 38 84 69 58 */ addi r4, r4, sub_802d6958@l -/* 802D6924 002D3884 48 0A 92 35 */ bl OSSetErrorHandler -/* 802D6928 002D3888 3C 80 80 2D */ lis r4, sub_802d6958@ha -/* 802D692C 002D388C 38 60 00 05 */ li r3, 5 -/* 802D6930 002D3890 38 84 69 58 */ addi r4, r4, sub_802d6958@l -/* 802D6934 002D3894 48 0A 92 25 */ bl OSSetErrorHandler -/* 802D6938 002D3898 3C 80 80 2D */ lis r4, sub_802d6958@ha -/* 802D693C 002D389C 38 60 00 0F */ li r3, 0xf -/* 802D6940 002D38A0 38 84 69 58 */ addi r4, r4, sub_802d6958@l -/* 802D6944 002D38A4 48 0A 92 15 */ bl OSSetErrorHandler -/* 802D6948 002D38A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D694C 002D38AC 7C 08 03 A6 */ mtlr r0 -/* 802D6950 002D38B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6954 002D38B4 4E 80 00 20 */ blr - -.global sub_802d6958 -sub_802d6958: -/* 802D6958 002D38B8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802D695C 002D38BC 7C 08 02 A6 */ mflr r0 -/* 802D6960 002D38C0 90 01 00 74 */ stw r0, 0x74(r1) -/* 802D6964 002D38C4 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 802D6968 002D38C8 28 00 00 0F */ cmplwi r0, 0xf -/* 802D696C 002D38CC BE E1 00 4C */ stmw r23, 0x4c(r1) -/* 802D6970 002D38D0 7C 7A 1B 78 */ mr r26, r3 -/* 802D6974 002D38D4 7C 9B 23 78 */ mr r27, r4 -/* 802D6978 002D38D8 7C BC 2B 78 */ mr r28, r5 -/* 802D697C 002D38DC 7C DD 33 78 */ mr r29, r6 -/* 802D6980 002D38E0 40 82 00 1C */ bne lbl_802D699C -/* 802D6984 002D38E4 57 80 06 F7 */ rlwinm. r0, r28, 0, 0x1b, 0x1b -/* 802D6988 002D38E8 40 82 03 E8 */ bne lbl_802D6D70 -/* 802D698C 002D38EC 3C 00 01 80 */ lis r0, 0x180 -/* 802D6990 002D38F0 7C 1D 00 40 */ cmplw r29, r0 -/* 802D6994 002D38F4 40 81 00 08 */ ble lbl_802D699C -/* 802D6998 002D38F8 48 00 03 D8 */ b lbl_802D6D70 -lbl_802D699C: -/* 802D699C 002D38FC 38 60 00 03 */ li r3, 3 -/* 802D69A0 002D3900 38 80 00 00 */ li r4, 0 -/* 802D69A4 002D3904 38 A0 00 00 */ li r5, 0 -/* 802D69A8 002D3908 38 C0 00 03 */ li r6, 3 -/* 802D69AC 002D390C 48 0A C1 11 */ bl OSProtectRange -/* 802D69B0 002D3910 3A E0 00 00 */ li r23, 0 -/* 802D69B4 002D3914 38 60 00 00 */ li r3, 0 -/* 802D69B8 002D3918 38 80 00 00 */ li r4, 0 -/* 802D69BC 002D391C 48 0B 02 21 */ bl sub_80386bdc -/* 802D69C0 002D3920 38 60 00 01 */ li r3, 1 -/* 802D69C4 002D3924 48 0B 28 E9 */ bl VISetBlack -/* 802D69C8 002D3928 48 0B 27 49 */ bl VIFlush -/* 802D69CC 002D392C 48 00 00 74 */ b lbl_802D6A40 -lbl_802D69D0: -/* 802D69D0 002D3930 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D69D4 002D3934 48 0A FD A5 */ bl PADRead -/* 802D69D8 002D3938 88 01 00 2A */ lbz r0, 0x2a(r1) -/* 802D69DC 002D393C 7C 00 07 75 */ extsb. r0, r0 -/* 802D69E0 002D3940 40 82 00 60 */ bne lbl_802D6A40 -/* 802D69E4 002D3944 A0 81 00 20 */ lhz r4, 0x20(r1) -/* 802D69E8 002D3948 80 62 C5 88 */ lwz r3, lbl_805AE2A8@sda21(r2) -/* 802D69EC 002D394C 70 80 0C 10 */ andi. r0, r4, 0xc10 -/* 802D69F0 002D3950 90 61 00 10 */ stw r3, 0x10(r1) -/* 802D69F4 002D3954 2C 00 0C 10 */ cmpwi r0, 0xc10 -/* 802D69F8 002D3958 40 82 00 44 */ bne lbl_802D6A3C -/* 802D69FC 002D395C 54 80 07 3F */ clrlwi. r0, r4, 0x1c -/* 802D6A00 002D3960 41 82 00 40 */ beq lbl_802D6A40 -/* 802D6A04 002D3964 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D6A08 002D3968 7C 63 BA 14 */ add r3, r3, r23 -/* 802D6A0C 002D396C 88 03 00 00 */ lbz r0, 0(r3) -/* 802D6A10 002D3970 7C 80 00 39 */ and. r0, r4, r0 -/* 802D6A14 002D3974 41 82 00 0C */ beq lbl_802D6A20 -/* 802D6A18 002D3978 3A F7 00 01 */ addi r23, r23, 1 -/* 802D6A1C 002D397C 48 00 00 24 */ b lbl_802D6A40 -lbl_802D6A20: -/* 802D6A20 002D3980 28 17 00 00 */ cmplwi r23, 0 -/* 802D6A24 002D3984 41 82 00 1C */ beq lbl_802D6A40 -/* 802D6A28 002D3988 88 03 FF FF */ lbz r0, -1(r3) -/* 802D6A2C 002D398C 7C 80 00 39 */ and. r0, r4, r0 -/* 802D6A30 002D3990 40 82 00 10 */ bne lbl_802D6A40 -/* 802D6A34 002D3994 3A E0 00 00 */ li r23, 0 -/* 802D6A38 002D3998 48 00 00 08 */ b lbl_802D6A40 -lbl_802D6A3C: -/* 802D6A3C 002D399C 3A E0 00 00 */ li r23, 0 -lbl_802D6A40: -/* 802D6A40 002D39A0 28 17 00 04 */ cmplwi r23, 4 -/* 802D6A44 002D39A4 41 80 FF 8C */ blt lbl_802D69D0 -/* 802D6A48 002D39A8 38 60 00 00 */ li r3, 0 -/* 802D6A4C 002D39AC 48 0B 28 61 */ bl VISetBlack -/* 802D6A50 002D39B0 48 0B 26 C1 */ bl VIFlush -/* 802D6A54 002D39B4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6A58 002D39B8 57 5F 04 3E */ clrlwi r31, r26, 0x10 -/* 802D6A5C 002D39BC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6A60 002D39C0 7F E4 FB 78 */ mr r4, r31 -/* 802D6A64 002D39C4 4C C6 31 82 */ crclr 6 -/* 802D6A68 002D39C8 48 0A 8F 45 */ bl OSReport -/* 802D6A6C 002D39CC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6A70 002D39D0 80 82 82 88 */ lwz r4, lbl_805A9FA8@sda21(r2) -/* 802D6A74 002D39D4 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6A78 002D39D8 38 63 00 25 */ addi r3, r3, 0x25 -/* 802D6A7C 002D39DC 4C C6 31 82 */ crclr 6 -/* 802D6A80 002D39E0 48 0A 8F 2D */ bl OSReport -/* 802D6A84 002D39E4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6A88 002D39E8 7F 64 DB 78 */ mr r4, r27 -/* 802D6A8C 002D39EC 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6A90 002D39F0 38 63 00 29 */ addi r3, r3, 0x29 -/* 802D6A94 002D39F4 4C C6 31 82 */ crclr 6 -/* 802D6A98 002D39F8 48 0A 8F 15 */ bl OSReport -/* 802D6A9C 002D39FC 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6AA0 002D3A00 7F 79 DB 78 */ mr r25, r27 -/* 802D6AA4 002D3A04 3B 03 6A B8 */ addi r24, r3, lbl_803D6AB8@l -/* 802D6AA8 002D3A08 3A E0 00 00 */ li r23, 0 -lbl_802D6AAC: -/* 802D6AAC 002D3A0C 81 19 00 40 */ lwz r8, 0x40(r25) -/* 802D6AB0 002D3A10 7E E4 BB 78 */ mr r4, r23 -/* 802D6AB4 002D3A14 80 B9 00 00 */ lwz r5, 0(r25) -/* 802D6AB8 002D3A18 38 78 00 6D */ addi r3, r24, 0x6d -/* 802D6ABC 002D3A1C 7D 09 43 78 */ mr r9, r8 -/* 802D6AC0 002D3A20 38 F7 00 10 */ addi r7, r23, 0x10 -/* 802D6AC4 002D3A24 7C A6 2B 78 */ mr r6, r5 -/* 802D6AC8 002D3A28 4C C6 31 82 */ crclr 6 -/* 802D6ACC 002D3A2C 48 0A 8E E1 */ bl OSReport -/* 802D6AD0 002D3A30 3A F7 00 01 */ addi r23, r23, 1 -/* 802D6AD4 002D3A34 3B 39 00 04 */ addi r25, r25, 4 -/* 802D6AD8 002D3A38 28 17 00 10 */ cmplwi r23, 0x10 -/* 802D6ADC 002D3A3C 41 80 FF D0 */ blt lbl_802D6AAC -/* 802D6AE0 002D3A40 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6AE4 002D3A44 80 9B 00 84 */ lwz r4, 0x84(r27) -/* 802D6AE8 002D3A48 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6AEC 002D3A4C 80 BB 00 80 */ lwz r5, 0x80(r27) -/* 802D6AF0 002D3A50 38 63 00 9D */ addi r3, r3, 0x9d -/* 802D6AF4 002D3A54 4C C6 31 82 */ crclr 6 -/* 802D6AF8 002D3A58 48 0A 8E B5 */ bl OSReport -/* 802D6AFC 002D3A5C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6B00 002D3A60 80 9B 01 98 */ lwz r4, 0x198(r27) -/* 802D6B04 002D3A64 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6B08 002D3A68 80 BB 01 9C */ lwz r5, 0x19c(r27) -/* 802D6B0C 002D3A6C 38 63 00 CC */ addi r3, r3, 0xcc -/* 802D6B10 002D3A70 4C C6 31 82 */ crclr 6 -/* 802D6B14 002D3A74 48 0A 8E 99 */ bl OSReport -/* 802D6B18 002D3A78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6B1C 002D3A7C 7F 84 E3 78 */ mr r4, r28 -/* 802D6B20 002D3A80 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6B24 002D3A84 7F A5 EB 78 */ mr r5, r29 -/* 802D6B28 002D3A88 38 63 00 FB */ addi r3, r3, 0xfb -/* 802D6B2C 002D3A8C 4C C6 31 82 */ crclr 6 -/* 802D6B30 002D3A90 48 0A 8E 7D */ bl OSReport -/* 802D6B34 002D3A94 83 0D A6 8C */ lwz r24, lbl_805A924C@sda21(r13) -/* 802D6B38 002D3A98 2C 18 00 00 */ cmpwi r24, 0 -/* 802D6B3C 002D3A9C 41 82 00 2C */ beq lbl_802D6B68 -/* 802D6B40 002D3AA0 3C 80 80 48 */ lis r4, lbl_804797A0@ha -/* 802D6B44 002D3AA4 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6B48 002D3AA8 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l -/* 802D6B4C 002D3AAC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l -/* 802D6B50 002D3AB0 7C 60 C2 14 */ add r3, r0, r24 -/* 802D6B54 002D3AB4 38 84 01 2A */ addi r4, r4, 0x12a -/* 802D6B58 002D3AB8 4C C6 31 82 */ crclr 6 -/* 802D6B5C 002D3ABC 48 0B 71 81 */ bl sprintf -/* 802D6B60 002D3AC0 7F 18 1A 14 */ add r24, r24, r3 -/* 802D6B64 002D3AC4 48 00 00 28 */ b lbl_802D6B8C -lbl_802D6B68: -/* 802D6B68 002D3AC8 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha -/* 802D6B6C 002D3ACC 3C 60 80 48 */ lis r3, lbl_804797A0@ha -/* 802D6B70 002D3AD0 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l -/* 802D6B74 002D3AD4 7F E5 FB 78 */ mr r5, r31 -/* 802D6B78 002D3AD8 38 63 97 A0 */ addi r3, r3, lbl_804797A0@l -/* 802D6B7C 002D3ADC 38 84 01 39 */ addi r4, r4, 0x139 -/* 802D6B80 002D3AE0 4C C6 31 82 */ crclr 6 -/* 802D6B84 002D3AE4 48 0B 71 59 */ bl sprintf -/* 802D6B88 002D3AE8 7F 18 1A 14 */ add r24, r24, r3 -lbl_802D6B8C: -/* 802D6B8C 002D3AEC 3C 80 80 48 */ lis r4, lbl_804797A0@ha -/* 802D6B90 002D3AF0 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6B94 002D3AF4 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l -/* 802D6B98 002D3AF8 80 A2 82 88 */ lwz r5, lbl_805A9FA8@sda21(r2) -/* 802D6B9C 002D3AFC 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l -/* 802D6BA0 002D3B00 7C 60 C2 14 */ add r3, r0, r24 -/* 802D6BA4 002D3B04 38 84 00 25 */ addi r4, r4, 0x25 -/* 802D6BA8 002D3B08 4C C6 31 82 */ crclr 6 -/* 802D6BAC 002D3B0C 48 0B 71 31 */ bl sprintf -/* 802D6BB0 002D3B10 3C A0 80 48 */ lis r5, lbl_804797A0@ha -/* 802D6BB4 002D3B14 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha -/* 802D6BB8 002D3B18 38 84 6A B8 */ addi r4, r4, lbl_803D6AB8@l -/* 802D6BBC 002D3B1C 7F D8 1A 14 */ add r30, r24, r3 -/* 802D6BC0 002D3B20 38 05 97 A0 */ addi r0, r5, lbl_804797A0@l -/* 802D6BC4 002D3B24 80 BB 01 98 */ lwz r5, 0x198(r27) -/* 802D6BC8 002D3B28 7F A6 EB 78 */ mr r6, r29 -/* 802D6BCC 002D3B2C 38 84 01 54 */ addi r4, r4, 0x154 -/* 802D6BD0 002D3B30 7C 60 F2 14 */ add r3, r0, r30 -/* 802D6BD4 002D3B34 4C C6 31 82 */ crclr 6 -/* 802D6BD8 002D3B38 48 0B 71 05 */ bl sprintf -/* 802D6BDC 002D3B3C 57 40 04 3E */ clrlwi r0, r26, 0x10 -/* 802D6BE0 002D3B40 7F DE 1A 14 */ add r30, r30, r3 -/* 802D6BE4 002D3B44 28 00 00 0F */ cmplwi r0, 0xf -/* 802D6BE8 002D3B48 40 82 00 2C */ bne lbl_802D6C14 -/* 802D6BEC 002D3B4C 3C 80 80 48 */ lis r4, lbl_804797A0@ha -/* 802D6BF0 002D3B50 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6BF4 002D3B54 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l -/* 802D6BF8 002D3B58 7F 85 E3 78 */ mr r5, r28 -/* 802D6BFC 002D3B5C 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l -/* 802D6C00 002D3B60 7C 60 F2 14 */ add r3, r0, r30 -/* 802D6C04 002D3B64 38 84 01 6E */ addi r4, r4, 0x16e -/* 802D6C08 002D3B68 4C C6 31 82 */ crclr 6 -/* 802D6C0C 002D3B6C 48 0B 70 D1 */ bl sprintf -/* 802D6C10 002D3B70 7F DE 1A 14 */ add r30, r30, r3 -lbl_802D6C14: -/* 802D6C14 002D3B74 3C 80 80 48 */ lis r4, lbl_804797A0@ha -/* 802D6C18 002D3B78 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6C1C 002D3B7C 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l -/* 802D6C20 002D3B80 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l -/* 802D6C24 002D3B84 7C 60 F2 14 */ add r3, r0, r30 -/* 802D6C28 002D3B88 38 84 01 74 */ addi r4, r4, 0x174 -/* 802D6C2C 002D3B8C 4C C6 31 82 */ crclr 6 -/* 802D6C30 002D3B90 48 0B 70 AD */ bl sprintf -/* 802D6C34 002D3B94 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha -/* 802D6C38 002D3B98 7F DE 1A 14 */ add r30, r30, r3 -/* 802D6C3C 002D3B9C 38 64 6A B8 */ addi r3, r4, lbl_803D6AB8@l -/* 802D6C40 002D3BA0 38 63 01 77 */ addi r3, r3, 0x177 -/* 802D6C44 002D3BA4 4C C6 31 82 */ crclr 6 -/* 802D6C48 002D3BA8 48 0A 8D 65 */ bl OSReport -/* 802D6C4C 002D3BAC 3C A0 80 00 */ lis r5, 0x80000400@ha -/* 802D6C50 002D3BB0 3C 80 80 3D */ lis r4, lbl_803D6AB8@ha -/* 802D6C54 002D3BB4 3C 60 80 48 */ lis r3, lbl_804797A0@ha -/* 802D6C58 002D3BB8 83 FB 00 04 */ lwz r31, 4(r27) -/* 802D6C5C 002D3BBC 3B 05 04 00 */ addi r24, r5, 0x80000400@l -/* 802D6C60 002D3BC0 3B 84 6A B8 */ addi r28, r4, lbl_803D6AB8@l -/* 802D6C64 002D3BC4 3B 43 97 A0 */ addi r26, r3, lbl_804797A0@l -/* 802D6C68 002D3BC8 3A E0 00 00 */ li r23, 0 -/* 802D6C6C 002D3BCC 3F 20 81 80 */ lis r25, 0x8180 -/* 802D6C70 002D3BD0 48 00 00 94 */ b lbl_802D6D04 -lbl_802D6C74: -/* 802D6C74 002D3BD4 7C 1F C0 40 */ cmplw r31, r24 -/* 802D6C78 002D3BD8 40 81 00 48 */ ble lbl_802D6CC0 -/* 802D6C7C 002D3BDC 7C 1F C8 40 */ cmplw r31, r25 -/* 802D6C80 002D3BE0 40 80 00 40 */ bge lbl_802D6CC0 -/* 802D6C84 002D3BE4 80 BF 00 00 */ lwz r5, 0(r31) -/* 802D6C88 002D3BE8 7F E4 FB 78 */ mr r4, r31 -/* 802D6C8C 002D3BEC 80 DF 00 04 */ lwz r6, 4(r31) -/* 802D6C90 002D3BF0 38 7C 01 9D */ addi r3, r28, 0x19d -/* 802D6C94 002D3BF4 4C C6 31 82 */ crclr 6 -/* 802D6C98 002D3BF8 48 0A 8D 15 */ bl OSReport -/* 802D6C9C 002D3BFC 80 DF 00 00 */ lwz r6, 0(r31) -/* 802D6CA0 002D3C00 7F E5 FB 78 */ mr r5, r31 -/* 802D6CA4 002D3C04 80 FF 00 04 */ lwz r7, 4(r31) -/* 802D6CA8 002D3C08 7C 7A F2 14 */ add r3, r26, r30 -/* 802D6CAC 002D3C0C 38 9C 01 B9 */ addi r4, r28, 0x1b9 -/* 802D6CB0 002D3C10 4C C6 31 82 */ crclr 6 -/* 802D6CB4 002D3C14 48 0B 70 29 */ bl sprintf -/* 802D6CB8 002D3C18 7F DE 1A 14 */ add r30, r30, r3 -/* 802D6CBC 002D3C1C 48 00 00 44 */ b lbl_802D6D00 -lbl_802D6CC0: -/* 802D6CC0 002D3C20 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6CC4 002D3C24 7F E4 FB 78 */ mr r4, r31 -/* 802D6CC8 002D3C28 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6CCC 002D3C2C 38 63 01 D0 */ addi r3, r3, 0x1d0 -/* 802D6CD0 002D3C30 4C C6 31 82 */ crclr 6 -/* 802D6CD4 002D3C34 48 0A 8C D9 */ bl OSReport -/* 802D6CD8 002D3C38 3C 80 80 48 */ lis r4, lbl_804797A0@ha -/* 802D6CDC 002D3C3C 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6CE0 002D3C40 38 04 97 A0 */ addi r0, r4, lbl_804797A0@l -/* 802D6CE4 002D3C44 7F E5 FB 78 */ mr r5, r31 -/* 802D6CE8 002D3C48 38 83 6A B8 */ addi r4, r3, lbl_803D6AB8@l -/* 802D6CEC 002D3C4C 7C 60 F2 14 */ add r3, r0, r30 -/* 802D6CF0 002D3C50 38 84 01 E3 */ addi r4, r4, 0x1e3 -/* 802D6CF4 002D3C54 4C C6 31 82 */ crclr 6 -/* 802D6CF8 002D3C58 48 0B 6F E5 */ bl sprintf -/* 802D6CFC 002D3C5C 48 00 00 28 */ b lbl_802D6D24 -lbl_802D6D00: -/* 802D6D00 002D3C60 83 FF 00 00 */ lwz r31, 0(r31) -lbl_802D6D04: -/* 802D6D04 002D3C64 28 1F 00 00 */ cmplwi r31, 0 -/* 802D6D08 002D3C68 41 82 00 1C */ beq lbl_802D6D24 -/* 802D6D0C 002D3C6C 3C 1F 00 01 */ addis r0, r31, 1 -/* 802D6D10 002D3C70 28 00 FF FF */ cmplwi r0, 0xffff -/* 802D6D14 002D3C74 41 82 00 10 */ beq lbl_802D6D24 -/* 802D6D18 002D3C78 28 17 00 10 */ cmplwi r23, 0x10 -/* 802D6D1C 002D3C7C 3A F7 00 01 */ addi r23, r23, 1 -/* 802D6D20 002D3C80 41 80 FF 54 */ blt lbl_802D6C74 -lbl_802D6D24: -/* 802D6D24 002D3C84 3C 60 80 3D */ lis r3, lbl_803D6AB8@ha -/* 802D6D28 002D3C88 80 9B 01 98 */ lwz r4, 0x198(r27) -/* 802D6D2C 002D3C8C 38 63 6A B8 */ addi r3, r3, lbl_803D6AB8@l -/* 802D6D30 002D3C90 7F A5 EB 78 */ mr r5, r29 -/* 802D6D34 002D3C94 38 63 01 F4 */ addi r3, r3, 0x1f4 -/* 802D6D38 002D3C98 4C C6 31 82 */ crclr 6 -/* 802D6D3C 002D3C9C 48 0A 8C 71 */ bl OSReport -/* 802D6D40 002D3CA0 88 0D A6 88 */ lbz r0, lbl_805A9248@sda21(r13) -/* 802D6D44 002D3CA4 28 00 00 00 */ cmplwi r0, 0 -/* 802D6D48 002D3CA8 40 82 00 28 */ bne lbl_802D6D70 -/* 802D6D4C 002D3CAC 80 82 C5 80 */ lwz r4, lbl_805AE2A0@sda21(r2) -/* 802D6D50 002D3CB0 3C 60 80 48 */ lis r3, lbl_804797A0@ha -/* 802D6D54 002D3CB4 80 02 C5 84 */ lwz r0, lbl_805AE2A4@sda21(r2) -/* 802D6D58 002D3CB8 38 A3 97 A0 */ addi r5, r3, lbl_804797A0@l -/* 802D6D5C 002D3CBC 90 81 00 08 */ stw r4, 8(r1) -/* 802D6D60 002D3CC0 38 61 00 0C */ addi r3, r1, 0xc -/* 802D6D64 002D3CC4 38 81 00 08 */ addi r4, r1, 8 -/* 802D6D68 002D3CC8 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D6D6C 002D3CCC 48 0A 97 C5 */ bl OSFatal -lbl_802D6D70: -/* 802D6D70 002D3CD0 BA E1 00 4C */ lmw r23, 0x4c(r1) -/* 802D6D74 002D3CD4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802D6D78 002D3CD8 7C 08 03 A6 */ mtlr r0 -/* 802D6D7C 002D3CDC 38 21 00 70 */ addi r1, r1, 0x70 -/* 802D6D80 002D3CE0 4E 80 00 20 */ blr - -.global __ct__10CAnimationFR12CInputStream -__ct__10CAnimationFR12CInputStream: -/* 802D6D84 002D3CE4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D6D88 002D3CE8 7C 08 02 A6 */ mflr r0 -/* 802D6D8C 002D3CEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D6D90 002D3CF0 38 A1 00 08 */ addi r5, r1, 8 -/* 802D6D94 002D3CF4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D6D98 002D3CF8 7C 9F 23 78 */ mr r31, r4 -/* 802D6D9C 002D3CFC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D6DA0 002D3D00 7C 7E 1B 78 */ mr r30, r3 -/* 802D6DA4 002D3D04 48 06 75 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D6DA8 002D3D08 7F E4 FB 78 */ mr r4, r31 -/* 802D6DAC 002D3D0C 38 61 00 0C */ addi r3, r1, 0xc -/* 802D6DB0 002D3D10 48 00 92 2D */ bl CreateMetaAnim__16CMetaAnimFactoryFR12CInputStream -/* 802D6DB4 002D3D14 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D6DB8 002D3D18 38 61 00 0C */ addi r3, r1, 0xc -/* 802D6DBC 002D3D1C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 802D6DC0 002D3D20 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 802D6DC4 002D3D24 80 85 00 04 */ lwz r4, 4(r5) -/* 802D6DC8 002D3D28 38 04 00 01 */ addi r0, r4, 1 -/* 802D6DCC 002D3D2C 90 05 00 04 */ stw r0, 4(r5) -/* 802D6DD0 002D3D30 4B D5 A1 61 */ bl sub_80030f30 -/* 802D6DD4 002D3D34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D6DD8 002D3D38 7F C3 F3 78 */ mr r3, r30 -/* 802D6DDC 002D3D3C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D6DE0 002D3D40 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D6DE4 002D3D44 7C 08 03 A6 */ mtlr r0 -/* 802D6DE8 002D3D48 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D6DEC 002D3D4C 4E 80 00 20 */ blr - -.global "NonConstCopy__28TToken<18CAnimationDatabase>CFv" -"NonConstCopy__28TToken<18CAnimationDatabase>CFv": -/* 802D6DF0 002D3D50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6DF4 002D3D54 7C 08 02 A6 */ mflr r0 -/* 802D6DF8 002D3D58 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6DFC 002D3D5C 48 06 A0 AD */ bl __ct__6CTokenFRC6CToken -/* 802D6E00 002D3D60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6E04 002D3D64 7C 08 03 A6 */ mtlr r0 -/* 802D6E08 002D3D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6E0C 002D3D6C 4E 80 00 20 */ blr - -.global GetMetaAnimation__17CAnimationManagerCFUi -GetMetaAnimation__17CAnimationManagerCFUi: -/* 802D6E10 002D3D70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D6E14 002D3D74 7C 08 02 A6 */ mflr r0 -/* 802D6E18 002D3D78 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D6E1C 002D3D7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D6E20 002D3D80 7C BF 2B 78 */ mr r31, r5 -/* 802D6E24 002D3D84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D6E28 002D3D88 7C 7E 1B 78 */ mr r30, r3 -/* 802D6E2C 002D3D8C 38 61 00 08 */ addi r3, r1, 8 -/* 802D6E30 002D3D90 4B FF FF C1 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv" -/* 802D6E34 002D3D94 38 61 00 08 */ addi r3, r1, 8 -/* 802D6E38 002D3D98 48 06 9F D5 */ bl GetObj__6CTokenFv -/* 802D6E3C 002D3D9C 80 63 00 04 */ lwz r3, 4(r3) -/* 802D6E40 002D3DA0 7F E4 FB 78 */ mr r4, r31 -/* 802D6E44 002D3DA4 81 83 00 00 */ lwz r12, 0(r3) -/* 802D6E48 002D3DA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D6E4C 002D3DAC 7D 89 03 A6 */ mtctr r12 -/* 802D6E50 002D3DB0 4E 80 04 21 */ bctrl -/* 802D6E54 002D3DB4 80 03 00 00 */ lwz r0, 0(r3) -/* 802D6E58 002D3DB8 38 61 00 08 */ addi r3, r1, 8 -/* 802D6E5C 002D3DBC 38 80 00 00 */ li r4, 0 -/* 802D6E60 002D3DC0 90 1E 00 00 */ stw r0, 0(r30) -/* 802D6E64 002D3DC4 80 DE 00 00 */ lwz r6, 0(r30) -/* 802D6E68 002D3DC8 80 A6 00 04 */ lwz r5, 4(r6) -/* 802D6E6C 002D3DCC 38 05 00 01 */ addi r0, r5, 1 -/* 802D6E70 002D3DD0 90 06 00 04 */ stw r0, 4(r6) -/* 802D6E74 002D3DD4 48 06 9F CD */ bl __dt__6CTokenFv -/* 802D6E78 002D3DD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D6E7C 002D3DDC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D6E80 002D3DE0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D6E84 002D3DE4 7C 08 03 A6 */ mtlr r0 -/* 802D6E88 002D3DE8 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D6E8C 002D3DEC 4E 80 00 20 */ blr - -.global GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders -GetAnimationTree__17CAnimationManagerCFUiRC24CMetaAnimTreeBuildOrders: -/* 802D6E90 002D3DF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D6E94 002D3DF4 7C 08 02 A6 */ mflr r0 -/* 802D6E98 002D3DF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D6E9C 002D3DFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D6EA0 002D3E00 7C BF 2B 78 */ mr r31, r5 -/* 802D6EA4 002D3E04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D6EA8 002D3E08 7C DE 33 78 */ mr r30, r6 -/* 802D6EAC 002D3E0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802D6EB0 002D3E10 7C 9D 23 78 */ mr r29, r4 -/* 802D6EB4 002D3E14 93 81 00 10 */ stw r28, 0x10(r1) -/* 802D6EB8 002D3E18 7C 7C 1B 78 */ mr r28, r3 -/* 802D6EBC 002D3E1C 38 61 00 08 */ addi r3, r1, 8 -/* 802D6EC0 002D3E20 4B FF FF 31 */ bl "NonConstCopy__28TToken<18CAnimationDatabase>CFv" -/* 802D6EC4 002D3E24 38 61 00 08 */ addi r3, r1, 8 -/* 802D6EC8 002D3E28 48 06 9F 45 */ bl GetObj__6CTokenFv -/* 802D6ECC 002D3E2C 80 63 00 04 */ lwz r3, 4(r3) -/* 802D6ED0 002D3E30 7F E4 FB 78 */ mr r4, r31 -/* 802D6ED4 002D3E34 81 83 00 00 */ lwz r12, 0(r3) -/* 802D6ED8 002D3E38 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D6EDC 002D3E3C 7D 89 03 A6 */ mtctr r12 -/* 802D6EE0 002D3E40 4E 80 04 21 */ bctrl -/* 802D6EE4 002D3E44 7C 7F 1B 78 */ mr r31, r3 -/* 802D6EE8 002D3E48 38 61 00 08 */ addi r3, r1, 8 -/* 802D6EEC 002D3E4C 38 80 00 00 */ li r4, 0 -/* 802D6EF0 002D3E50 48 06 9F 51 */ bl __dt__6CTokenFv -/* 802D6EF4 002D3E54 80 9F 00 00 */ lwz r4, 0(r31) -/* 802D6EF8 002D3E58 7F 83 E3 78 */ mr r3, r28 -/* 802D6EFC 002D3E5C 7F C6 F3 78 */ mr r6, r30 -/* 802D6F00 002D3E60 38 BD 00 08 */ addi r5, r29, 8 -/* 802D6F04 002D3E64 80 84 00 00 */ lwz r4, 0(r4) -/* 802D6F08 002D3E68 81 84 00 00 */ lwz r12, 0(r4) -/* 802D6F0C 002D3E6C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802D6F10 002D3E70 7D 89 03 A6 */ mtctr r12 -/* 802D6F14 002D3E74 4E 80 04 21 */ bctrl -/* 802D6F18 002D3E78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D6F1C 002D3E7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D6F20 002D3E80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D6F24 002D3E84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802D6F28 002D3E88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802D6F2C 002D3E8C 7C 08 03 A6 */ mtlr r0 -/* 802D6F30 002D3E90 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D6F34 002D3E94 4E 80 00 20 */ blr - -.global StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream -StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream: -/* 802D6F38 002D3E98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D6F3C 002D3E9C 7C 08 02 A6 */ mflr r0 -/* 802D6F40 002D3EA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D6F44 002D3EA4 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802D6F48 002D3EA8 28 00 00 03 */ cmplwi r0, 3 -/* 802D6F4C 002D3EAC 40 81 00 14 */ ble lbl_802D6F60 -/* 802D6F50 002D3EB0 7C A4 2B 78 */ mr r4, r5 -/* 802D6F54 002D3EB4 38 A1 00 08 */ addi r5, r1, 8 -/* 802D6F58 002D3EB8 48 00 00 29 */ bl "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D6F5C 002D3EBC 48 00 00 14 */ b lbl_802D6F70 -lbl_802D6F60: -/* 802D6F60 002D3EC0 38 00 00 00 */ li r0, 0 -/* 802D6F64 002D3EC4 90 03 00 04 */ stw r0, 4(r3) -/* 802D6F68 002D3EC8 90 03 00 08 */ stw r0, 8(r3) -/* 802D6F6C 002D3ECC 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802D6F70: -/* 802D6F70 002D3ED0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D6F74 002D3ED4 7C 08 03 A6 */ mtlr r0 -/* 802D6F78 002D3ED8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D6F7C 002D3EDC 4E 80 00 20 */ blr - -.global "__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl52vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802D6F80 002D3EE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D6F84 002D3EE4 7C 08 02 A6 */ mflr r0 -/* 802D6F88 002D3EE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D6F8C 002D3EEC 38 00 00 00 */ li r0, 0 -/* 802D6F90 002D3EF0 BF 41 00 08 */ stmw r26, 8(r1) -/* 802D6F94 002D3EF4 7C 7A 1B 78 */ mr r26, r3 -/* 802D6F98 002D3EF8 7C 9B 23 78 */ mr r27, r4 -/* 802D6F9C 002D3EFC 90 03 00 04 */ stw r0, 4(r3) -/* 802D6FA0 002D3F00 7F 63 DB 78 */ mr r3, r27 -/* 802D6FA4 002D3F04 90 1A 00 08 */ stw r0, 8(r26) -/* 802D6FA8 002D3F08 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802D6FAC 002D3F0C 48 06 7C D9 */ bl ReadLong__12CInputStreamFv -/* 802D6FB0 002D3F10 7C 7D 1B 78 */ mr r29, r3 -/* 802D6FB4 002D3F14 7F 43 D3 78 */ mr r3, r26 -/* 802D6FB8 002D3F18 7F A4 EB 78 */ mr r4, r29 -/* 802D6FBC 002D3F1C 4B D8 D2 51 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -/* 802D6FC0 002D3F20 3B 80 00 00 */ li r28, 0 -/* 802D6FC4 002D3F24 48 00 00 70 */ b lbl_802D7034 -lbl_802D6FC8: -/* 802D6FC8 002D3F28 7F 63 DB 78 */ mr r3, r27 -/* 802D6FCC 002D3F2C 48 06 7C B9 */ bl ReadLong__12CInputStreamFv -/* 802D6FD0 002D3F30 7C 7E 1B 78 */ mr r30, r3 -/* 802D6FD4 002D3F34 7F 63 DB 78 */ mr r3, r27 -/* 802D6FD8 002D3F38 48 06 7C AD */ bl ReadLong__12CInputStreamFv -/* 802D6FDC 002D3F3C 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D6FE0 002D3F40 7C 7F 1B 78 */ mr r31, r3 -/* 802D6FE4 002D3F44 80 BA 00 08 */ lwz r5, 8(r26) -/* 802D6FE8 002D3F48 7C 00 28 00 */ cmpw r0, r5 -/* 802D6FEC 002D3F4C 41 80 00 1C */ blt lbl_802D7008 -/* 802D6FF0 002D3F50 2C 05 00 00 */ cmpwi r5, 0 -/* 802D6FF4 002D3F54 7F 43 D3 78 */ mr r3, r26 -/* 802D6FF8 002D3F58 38 80 00 04 */ li r4, 4 -/* 802D6FFC 002D3F5C 41 82 00 08 */ beq lbl_802D7004 -/* 802D7000 002D3F60 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802D7004: -/* 802D7004 002D3F64 4B D8 D2 09 */ bl "reserve__Q24rstl52vector,Q24rstl17rmemory_allocator>Fi" -lbl_802D7008: -/* 802D7008 002D3F68 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D700C 002D3F6C 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 802D7010 002D3F70 54 00 18 38 */ slwi r0, r0, 3 -/* 802D7014 002D3F74 7C 63 02 15 */ add. r3, r3, r0 -/* 802D7018 002D3F78 41 82 00 0C */ beq lbl_802D7024 -/* 802D701C 002D3F7C 93 C3 00 00 */ stw r30, 0(r3) -/* 802D7020 002D3F80 93 E3 00 04 */ stw r31, 4(r3) -lbl_802D7024: -/* 802D7024 002D3F84 80 7A 00 04 */ lwz r3, 4(r26) -/* 802D7028 002D3F88 3B 9C 00 01 */ addi r28, r28, 1 -/* 802D702C 002D3F8C 38 03 00 01 */ addi r0, r3, 1 -/* 802D7030 002D3F90 90 1A 00 04 */ stw r0, 4(r26) -lbl_802D7034: -/* 802D7034 002D3F94 7C 1C E8 00 */ cmpw r28, r29 -/* 802D7038 002D3F98 41 80 FF 90 */ blt lbl_802D6FC8 -/* 802D703C 002D3F9C 7F 43 D3 78 */ mr r3, r26 -/* 802D7040 002D3FA0 BB 41 00 08 */ lmw r26, 8(r1) -/* 802D7044 002D3FA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D7048 002D3FA8 7C 08 03 A6 */ mtlr r0 -/* 802D704C 002D3FAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D7050 002D3FB0 4E 80 00 20 */ blr - -.global StreamHalfTransitions__13CAnimationSetFUsR12CInputStream -StreamHalfTransitions__13CAnimationSetFUsR12CInputStream: -/* 802D7054 002D3FB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D7058 002D3FB8 7C 08 02 A6 */ mflr r0 -/* 802D705C 002D3FBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D7060 002D3FC0 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802D7064 002D3FC4 28 00 00 02 */ cmplwi r0, 2 -/* 802D7068 002D3FC8 40 81 00 14 */ ble lbl_802D707C -/* 802D706C 002D3FCC 7C A4 2B 78 */ mr r4, r5 -/* 802D7070 002D3FD0 38 A1 00 08 */ addi r5, r1, 8 -/* 802D7074 002D3FD4 48 00 00 29 */ bl "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D7078 002D3FD8 48 00 00 14 */ b lbl_802D708C -lbl_802D707C: -/* 802D707C 002D3FDC 38 00 00 00 */ li r0, 0 -/* 802D7080 002D3FE0 90 03 00 04 */ stw r0, 4(r3) -/* 802D7084 002D3FE4 90 03 00 08 */ stw r0, 8(r3) -/* 802D7088 002D3FE8 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802D708C: -/* 802D708C 002D3FEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D7090 002D3FF0 7C 08 03 A6 */ mtlr r0 -/* 802D7094 002D3FF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D7098 002D3FF8 4E 80 00 20 */ blr - -.global "__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802D709C 002D3FFC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D70A0 002D4000 7C 08 02 A6 */ mflr r0 -/* 802D70A4 002D4004 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D70A8 002D4008 38 00 00 00 */ li r0, 0 -/* 802D70AC 002D400C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802D70B0 002D4010 7C 7A 1B 78 */ mr r26, r3 -/* 802D70B4 002D4014 7C 9B 23 78 */ mr r27, r4 -/* 802D70B8 002D4018 90 03 00 04 */ stw r0, 4(r3) -/* 802D70BC 002D401C 7F 63 DB 78 */ mr r3, r27 -/* 802D70C0 002D4020 90 1A 00 08 */ stw r0, 8(r26) -/* 802D70C4 002D4024 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802D70C8 002D4028 48 06 7B BD */ bl ReadLong__12CInputStreamFv -/* 802D70CC 002D402C 7C 7E 1B 78 */ mr r30, r3 -/* 802D70D0 002D4030 7F 43 D3 78 */ mr r3, r26 -/* 802D70D4 002D4034 7F C4 F3 78 */ mr r4, r30 -/* 802D70D8 002D4038 48 00 0D D5 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" -/* 802D70DC 002D403C 3B A1 00 10 */ addi r29, r1, 0x10 -/* 802D70E0 002D4040 3B E1 00 08 */ addi r31, r1, 8 -/* 802D70E4 002D4044 3B 80 00 00 */ li r28, 0 -/* 802D70E8 002D4048 48 00 00 98 */ b lbl_802D7180 -lbl_802D70EC: -/* 802D70EC 002D404C 88 0D A6 A4 */ lbz r0, lbl_805A9264@sda21(r13) -/* 802D70F0 002D4050 7F 64 DB 78 */ mr r4, r27 -/* 802D70F4 002D4054 7F E5 FB 78 */ mr r5, r31 -/* 802D70F8 002D4058 38 61 00 0C */ addi r3, r1, 0xc -/* 802D70FC 002D405C 98 01 00 08 */ stb r0, 8(r1) -/* 802D7100 002D4060 48 00 00 A1 */ bl "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" -/* 802D7104 002D4064 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7108 002D4068 80 BA 00 08 */ lwz r5, 8(r26) -/* 802D710C 002D406C 7C 00 28 00 */ cmpw r0, r5 -/* 802D7110 002D4070 41 80 00 1C */ blt lbl_802D712C -/* 802D7114 002D4074 2C 05 00 00 */ cmpwi r5, 0 -/* 802D7118 002D4078 7F 43 D3 78 */ mr r3, r26 -/* 802D711C 002D407C 38 80 00 04 */ li r4, 4 -/* 802D7120 002D4080 41 82 00 08 */ beq lbl_802D7128 -/* 802D7124 002D4084 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802D7128: -/* 802D7128 002D4088 48 00 0D 85 */ bl "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" -lbl_802D712C: -/* 802D712C 002D408C 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7130 002D4090 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 802D7134 002D4094 54 00 18 38 */ slwi r0, r0, 3 -/* 802D7138 002D4098 7C 63 02 15 */ add. r3, r3, r0 -/* 802D713C 002D409C 41 82 00 24 */ beq lbl_802D7160 -/* 802D7140 002D40A0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D7144 002D40A4 90 03 00 00 */ stw r0, 0(r3) -/* 802D7148 002D40A8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802D714C 002D40AC 90 03 00 04 */ stw r0, 4(r3) -/* 802D7150 002D40B0 80 83 00 04 */ lwz r4, 4(r3) -/* 802D7154 002D40B4 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7158 002D40B8 38 03 00 01 */ addi r0, r3, 1 -/* 802D715C 002D40BC 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7160: -/* 802D7160 002D40C0 80 7A 00 04 */ lwz r3, 4(r26) -/* 802D7164 002D40C4 28 1D 00 00 */ cmplwi r29, 0 -/* 802D7168 002D40C8 38 03 00 01 */ addi r0, r3, 1 -/* 802D716C 002D40CC 90 1A 00 04 */ stw r0, 4(r26) -/* 802D7170 002D40D0 41 82 00 0C */ beq lbl_802D717C -/* 802D7174 002D40D4 7F A3 EB 78 */ mr r3, r29 -/* 802D7178 002D40D8 4B D5 D1 1D */ bl __dt__17CMetaTransFactoryFv -lbl_802D717C: -/* 802D717C 002D40DC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802D7180: -/* 802D7180 002D40E0 7C 1C F0 00 */ cmpw r28, r30 -/* 802D7184 002D40E4 41 80 FF 68 */ blt lbl_802D70EC -/* 802D7188 002D40E8 7F 43 D3 78 */ mr r3, r26 -/* 802D718C 002D40EC BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802D7190 002D40F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D7194 002D40F4 7C 08 03 A6 */ mtlr r0 -/* 802D7198 002D40F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D719C 002D40FC 4E 80 00 20 */ blr - -.global "Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>" -"Get<15CHalfTransition>__12CInputStreamFRC24TType<15CHalfTransition>": -/* 802D71A0 002D4100 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D71A4 002D4104 7C 08 02 A6 */ mflr r0 -/* 802D71A8 002D4108 7C 85 23 78 */ mr r5, r4 -/* 802D71AC 002D410C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D71B0 002D4110 38 81 00 08 */ addi r4, r1, 8 -/* 802D71B4 002D4114 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D71B8 002D4118 7C 7F 1B 78 */ mr r31, r3 -/* 802D71BC 002D411C 88 0D A6 A8 */ lbz r0, lbl_805A9268@sda21(r13) -/* 802D71C0 002D4120 98 01 00 08 */ stb r0, 8(r1) -/* 802D71C4 002D4124 48 00 00 19 */ bl "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" -/* 802D71C8 002D4128 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D71CC 002D412C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D71D0 002D4130 7C 08 03 A6 */ mtlr r0 -/* 802D71D4 002D4134 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D71D8 002D4138 4E 80 00 20 */ blr - -.global "cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream" -"cinput_stream_helper<15CHalfTransition>__FRC24TType<15CHalfTransition>R12CInputStream": -/* 802D71DC 002D413C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D71E0 002D4140 7C 08 02 A6 */ mflr r0 -/* 802D71E4 002D4144 7C A4 2B 78 */ mr r4, r5 -/* 802D71E8 002D4148 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D71EC 002D414C 48 08 F5 5D */ bl __ct__15CHalfTransitionFR12CInputStream -/* 802D71F0 002D4150 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D71F4 002D4154 7C 08 03 A6 */ mtlr r0 -/* 802D71F8 002D4158 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D71FC 002D415C 4E 80 00 20 */ blr - -.global StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream -StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream: -/* 802D7200 002D4160 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D7204 002D4164 7C 08 02 A6 */ mflr r0 -/* 802D7208 002D4168 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D720C 002D416C 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802D7210 002D4170 28 00 00 01 */ cmplwi r0, 1 -/* 802D7214 002D4174 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D7218 002D4178 7C BF 2B 78 */ mr r31, r5 -/* 802D721C 002D417C 93 C1 00 08 */ stw r30, 8(r1) -/* 802D7220 002D4180 7C 7E 1B 78 */ mr r30, r3 -/* 802D7224 002D4184 40 81 00 20 */ ble lbl_802D7244 -/* 802D7228 002D4188 7F E3 FB 78 */ mr r3, r31 -/* 802D722C 002D418C 48 06 79 FD */ bl ReadFloat__12CInputStreamFv -/* 802D7230 002D4190 D0 3E 00 00 */ stfs f1, 0(r30) -/* 802D7234 002D4194 7F E3 FB 78 */ mr r3, r31 -/* 802D7238 002D4198 48 06 79 F1 */ bl ReadFloat__12CInputStreamFv -/* 802D723C 002D419C D0 3E 00 04 */ stfs f1, 4(r30) -/* 802D7240 002D41A0 48 00 00 10 */ b lbl_802D7250 -lbl_802D7244: -/* 802D7244 002D41A4 C0 02 C5 90 */ lfs f0, lbl_805AE2B0@sda21(r2) -/* 802D7248 002D41A8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D724C 002D41AC D0 1E 00 04 */ stfs f0, 4(r30) -lbl_802D7250: -/* 802D7250 002D41B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D7254 002D41B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D7258 002D41B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D725C 002D41BC 7C 08 03 A6 */ mtlr r0 -/* 802D7260 002D41C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D7264 002D41C4 4E 80 00 20 */ blr - -.global StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream -StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream: -/* 802D7268 002D41C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D726C 002D41CC 7C 08 02 A6 */ mflr r0 -/* 802D7270 002D41D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D7274 002D41D4 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 802D7278 002D41D8 28 00 00 01 */ cmplwi r0, 1 -/* 802D727C 002D41DC 40 81 00 14 */ ble lbl_802D7290 -/* 802D7280 002D41E0 7C A4 2B 78 */ mr r4, r5 -/* 802D7284 002D41E4 38 A1 00 08 */ addi r5, r1, 8 -/* 802D7288 002D41E8 48 00 00 29 */ bl "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D728C 002D41EC 48 00 00 14 */ b lbl_802D72A0 -lbl_802D7290: -/* 802D7290 002D41F0 38 00 00 00 */ li r0, 0 -/* 802D7294 002D41F4 90 03 00 04 */ stw r0, 4(r3) -/* 802D7298 002D41F8 90 03 00 08 */ stw r0, 8(r3) -/* 802D729C 002D41FC 90 03 00 0C */ stw r0, 0xc(r3) -lbl_802D72A0: -/* 802D72A0 002D4200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D72A4 002D4204 7C 08 03 A6 */ mtlr r0 -/* 802D72A8 002D4208 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D72AC 002D420C 4E 80 00 20 */ blr - -.global "__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl77vector,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802D72B0 002D4210 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D72B4 002D4214 7C 08 02 A6 */ mflr r0 -/* 802D72B8 002D4218 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D72BC 002D421C 38 00 00 00 */ li r0, 0 -/* 802D72C0 002D4220 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802D72C4 002D4224 7C 7E 1B 78 */ mr r30, r3 -/* 802D72C8 002D4228 7C 9F 23 78 */ mr r31, r4 -/* 802D72CC 002D422C 90 03 00 04 */ stw r0, 4(r3) -/* 802D72D0 002D4230 7F E3 FB 78 */ mr r3, r31 -/* 802D72D4 002D4234 90 1E 00 08 */ stw r0, 8(r30) -/* 802D72D8 002D4238 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802D72DC 002D423C 48 06 79 A9 */ bl ReadLong__12CInputStreamFv -/* 802D72E0 002D4240 7C 7C 1B 78 */ mr r28, r3 -/* 802D72E4 002D4244 7F C3 F3 78 */ mr r3, r30 -/* 802D72E8 002D4248 7F 84 E3 78 */ mr r4, r28 -/* 802D72EC 002D424C 48 00 0C CD */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" -/* 802D72F0 002D4250 3B A1 00 08 */ addi r29, r1, 8 -/* 802D72F4 002D4254 3B 60 00 00 */ li r27, 0 -/* 802D72F8 002D4258 48 00 00 80 */ b lbl_802D7378 -lbl_802D72FC: -/* 802D72FC 002D425C 88 0D A6 A0 */ lbz r0, lbl_805A9260@sda21(r13) -/* 802D7300 002D4260 7F E4 FB 78 */ mr r4, r31 -/* 802D7304 002D4264 7F A5 EB 78 */ mr r5, r29 -/* 802D7308 002D4268 38 61 00 0C */ addi r3, r1, 0xc -/* 802D730C 002D426C 98 01 00 08 */ stb r0, 8(r1) -/* 802D7310 002D4270 48 00 00 89 */ bl "Get>__12CInputStreamFRC49TType>" -/* 802D7314 002D4274 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7318 002D4278 80 BE 00 08 */ lwz r5, 8(r30) -/* 802D731C 002D427C 7C 00 28 00 */ cmpw r0, r5 -/* 802D7320 002D4280 41 80 00 1C */ blt lbl_802D733C -/* 802D7324 002D4284 2C 05 00 00 */ cmpwi r5, 0 -/* 802D7328 002D4288 7F C3 F3 78 */ mr r3, r30 -/* 802D732C 002D428C 38 80 00 04 */ li r4, 4 -/* 802D7330 002D4290 41 82 00 08 */ beq lbl_802D7338 -/* 802D7334 002D4294 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802D7338: -/* 802D7338 002D4298 48 00 0C 81 */ bl "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" -lbl_802D733C: -/* 802D733C 002D429C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7340 002D42A0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D7344 002D42A4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802D7348 002D42A8 7C 63 02 15 */ add. r3, r3, r0 -/* 802D734C 002D42AC 41 82 00 1C */ beq lbl_802D7368 -/* 802D7350 002D42B0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D7354 002D42B4 90 03 00 00 */ stw r0, 0(r3) -/* 802D7358 002D42B8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802D735C 002D42BC D0 03 00 04 */ stfs f0, 4(r3) -/* 802D7360 002D42C0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802D7364 002D42C4 D0 03 00 08 */ stfs f0, 8(r3) -lbl_802D7368: -/* 802D7368 002D42C8 80 7E 00 04 */ lwz r3, 4(r30) -/* 802D736C 002D42CC 3B 7B 00 01 */ addi r27, r27, 1 -/* 802D7370 002D42D0 38 03 00 01 */ addi r0, r3, 1 -/* 802D7374 002D42D4 90 1E 00 04 */ stw r0, 4(r30) -lbl_802D7378: -/* 802D7378 002D42D8 7C 1B E0 00 */ cmpw r27, r28 -/* 802D737C 002D42DC 41 80 FF 80 */ blt lbl_802D72FC -/* 802D7380 002D42E0 7F C3 F3 78 */ mr r3, r30 -/* 802D7384 002D42E4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802D7388 002D42E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D738C 002D42EC 7C 08 03 A6 */ mtlr r0 -/* 802D7390 002D42F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D7394 002D42F4 4E 80 00 20 */ blr - -.global "Get>__12CInputStreamFRC49TType>" -"Get>__12CInputStreamFRC49TType>": -/* 802D7398 002D42F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D739C 002D42FC 7C 08 02 A6 */ mflr r0 -/* 802D73A0 002D4300 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D73A4 002D4304 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D73A8 002D4308 7C 9F 23 78 */ mr r31, r4 -/* 802D73AC 002D430C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D73B0 002D4310 7C 7E 1B 78 */ mr r30, r3 -/* 802D73B4 002D4314 7F E3 FB 78 */ mr r3, r31 -/* 802D73B8 002D4318 48 06 78 CD */ bl ReadLong__12CInputStreamFv -/* 802D73BC 002D431C 90 7E 00 00 */ stw r3, 0(r30) -/* 802D73C0 002D4320 7F E3 FB 78 */ mr r3, r31 -/* 802D73C4 002D4324 48 06 78 65 */ bl ReadFloat__12CInputStreamFv -/* 802D73C8 002D4328 D0 21 00 08 */ stfs f1, 8(r1) -/* 802D73CC 002D432C 7F E3 FB 78 */ mr r3, r31 -/* 802D73D0 002D4330 48 06 78 59 */ bl ReadFloat__12CInputStreamFv -/* 802D73D4 002D4334 C0 41 00 08 */ lfs f2, 8(r1) -/* 802D73D8 002D4338 FC 00 08 18 */ frsp f0, f1 -/* 802D73DC 002D433C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802D73E0 002D4340 D0 5E 00 04 */ stfs f2, 4(r30) -/* 802D73E4 002D4344 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D73E8 002D4348 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D73EC 002D434C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D73F0 002D4350 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D73F4 002D4354 7C 08 03 A6 */ mtlr r0 -/* 802D73F8 002D4358 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D73FC 002D435C 4E 80 00 20 */ blr - -.global __ct__13CAnimationSetFR12CInputStream -__ct__13CAnimationSetFR12CInputStream: -/* 802D7400 002D4360 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802D7404 002D4364 7C 08 02 A6 */ mflr r0 -/* 802D7408 002D4368 90 01 00 84 */ stw r0, 0x84(r1) -/* 802D740C 002D436C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802D7410 002D4370 7C 9F 23 78 */ mr r31, r4 -/* 802D7414 002D4374 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802D7418 002D4378 7C 7E 1B 78 */ mr r30, r3 -/* 802D741C 002D437C 7F E3 FB 78 */ mr r3, r31 -/* 802D7420 002D4380 48 06 78 91 */ bl ReadShort__12CInputStreamFv -/* 802D7424 002D4384 B0 7E 00 00 */ sth r3, 0(r30) -/* 802D7428 002D4388 7F E4 FB 78 */ mr r4, r31 -/* 802D742C 002D438C 38 7E 00 04 */ addi r3, r30, 4 -/* 802D7430 002D4390 38 A1 00 0C */ addi r5, r1, 0xc -/* 802D7434 002D4394 48 00 06 C9 */ bl "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D7438 002D4398 7F E4 FB 78 */ mr r4, r31 -/* 802D743C 002D439C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802D7440 002D43A0 38 A1 00 08 */ addi r5, r1, 8 -/* 802D7444 002D43A4 48 00 04 81 */ bl "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 802D7448 002D43A8 7F E4 FB 78 */ mr r4, r31 -/* 802D744C 002D43AC 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D7450 002D43B0 48 00 A9 9D */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream -/* 802D7454 002D43B4 80 01 00 30 */ lwz r0, 0x30(r1) -/* 802D7458 002D43B8 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D745C 002D43BC 90 1E 00 24 */ stw r0, 0x24(r30) -/* 802D7460 002D43C0 80 BE 00 24 */ lwz r5, 0x24(r30) -/* 802D7464 002D43C4 80 85 00 04 */ lwz r4, 4(r5) -/* 802D7468 002D43C8 38 04 00 01 */ addi r0, r4, 1 -/* 802D746C 002D43CC 90 05 00 04 */ stw r0, 4(r5) -/* 802D7470 002D43D0 4B D5 CE 25 */ bl __dt__17CMetaTransFactoryFv -/* 802D7474 002D43D4 A0 9E 00 00 */ lhz r4, 0(r30) -/* 802D7478 002D43D8 7F E5 FB 78 */ mr r5, r31 -/* 802D747C 002D43DC 38 61 00 5C */ addi r3, r1, 0x5c -/* 802D7480 002D43E0 4B FF FD E9 */ bl StreamAdditiveAnimInfoList__13CAnimationSetFUsR12CInputStream -/* 802D7484 002D43E4 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802D7488 002D43E8 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802D748C 002D43EC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802D7490 002D43F0 90 1E 00 30 */ stw r0, 0x30(r30) -/* 802D7494 002D43F4 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802D7498 002D43F8 2C 00 00 00 */ cmpwi r0, 0 -/* 802D749C 002D43FC 40 82 00 1C */ bne lbl_802D74B8 -/* 802D74A0 002D4400 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802D74A4 002D4404 2C 00 00 00 */ cmpwi r0, 0 -/* 802D74A8 002D4408 40 82 00 10 */ bne lbl_802D74B8 -/* 802D74AC 002D440C 38 00 00 00 */ li r0, 0 -/* 802D74B0 002D4410 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802D74B4 002D4414 48 00 00 78 */ b lbl_802D752C -lbl_802D74B8: -/* 802D74B8 002D4418 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 802D74BC 002D441C 1C 60 00 0C */ mulli r3, r0, 0xc -/* 802D74C0 002D4420 2C 03 00 00 */ cmpwi r3, 0 -/* 802D74C4 002D4424 40 82 00 10 */ bne lbl_802D74D4 -/* 802D74C8 002D4428 38 00 00 00 */ li r0, 0 -/* 802D74CC 002D442C 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802D74D0 002D4430 48 00 00 18 */ b lbl_802D74E8 -lbl_802D74D4: -/* 802D74D4 002D4434 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D74D8 002D4438 38 A0 00 00 */ li r5, 0 -/* 802D74DC 002D443C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D74E0 002D4440 48 03 E3 39 */ bl __nwa__FUlPCcPCc -/* 802D74E4 002D4444 90 7E 00 34 */ stw r3, 0x34(r30) -lbl_802D74E8: -/* 802D74E8 002D4448 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 802D74EC 002D444C 80 81 00 68 */ lwz r4, 0x68(r1) -/* 802D74F0 002D4450 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 802D74F4 002D4454 7C 09 03 A6 */ mtctr r0 -/* 802D74F8 002D4458 2C 00 00 00 */ cmpwi r0, 0 -/* 802D74FC 002D445C 40 81 00 30 */ ble lbl_802D752C -lbl_802D7500: -/* 802D7500 002D4460 28 03 00 00 */ cmplwi r3, 0 -/* 802D7504 002D4464 41 82 00 1C */ beq lbl_802D7520 -/* 802D7508 002D4468 80 04 00 00 */ lwz r0, 0(r4) -/* 802D750C 002D446C 90 03 00 00 */ stw r0, 0(r3) -/* 802D7510 002D4470 C0 04 00 04 */ lfs f0, 4(r4) -/* 802D7514 002D4474 D0 03 00 04 */ stfs f0, 4(r3) -/* 802D7518 002D4478 C0 04 00 08 */ lfs f0, 8(r4) -/* 802D751C 002D447C D0 03 00 08 */ stfs f0, 8(r3) -lbl_802D7520: -/* 802D7520 002D4480 38 63 00 0C */ addi r3, r3, 0xc -/* 802D7524 002D4484 38 84 00 0C */ addi r4, r4, 0xc -/* 802D7528 002D4488 42 00 FF D8 */ bdnz lbl_802D7500 -lbl_802D752C: -/* 802D752C 002D448C 80 01 00 60 */ lwz r0, 0x60(r1) -/* 802D7530 002D4490 80 61 00 68 */ lwz r3, 0x68(r1) -/* 802D7534 002D4494 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802D7538 002D4498 90 61 00 24 */ stw r3, 0x24(r1) -/* 802D753C 002D449C 7C 64 1B 78 */ mr r4, r3 -/* 802D7540 002D44A0 7C 03 02 14 */ add r0, r3, r0 -/* 802D7544 002D44A4 90 61 00 20 */ stw r3, 0x20(r1) -/* 802D7548 002D44A8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802D754C 002D44AC 90 01 00 28 */ stw r0, 0x28(r1) -/* 802D7550 002D44B0 48 00 00 08 */ b lbl_802D7558 -lbl_802D7554: -/* 802D7554 002D44B4 38 84 00 0C */ addi r4, r4, 0xc -lbl_802D7558: -/* 802D7558 002D44B8 7C 04 00 40 */ cmplw r4, r0 -/* 802D755C 002D44BC 40 82 FF F8 */ bne lbl_802D7554 -/* 802D7560 002D44C0 28 03 00 00 */ cmplwi r3, 0 -/* 802D7564 002D44C4 41 82 00 08 */ beq lbl_802D756C -/* 802D7568 002D44C8 48 03 E3 C9 */ bl Free__7CMemoryFPCv -lbl_802D756C: -/* 802D756C 002D44CC A0 9E 00 00 */ lhz r4, 0(r30) -/* 802D7570 002D44D0 7F E5 FB 78 */ mr r5, r31 -/* 802D7574 002D44D4 38 61 00 34 */ addi r3, r1, 0x34 -/* 802D7578 002D44D8 4B FF FC 89 */ bl StreamDefaultAdditiveAnimInfo__13CAnimationSetFUsR12CInputStream -/* 802D757C 002D44DC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802D7580 002D44E0 7F E5 FB 78 */ mr r5, r31 -/* 802D7584 002D44E4 38 61 00 4C */ addi r3, r1, 0x4c -/* 802D7588 002D44E8 D0 1E 00 38 */ stfs f0, 0x38(r30) -/* 802D758C 002D44EC C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802D7590 002D44F0 D0 1E 00 3C */ stfs f0, 0x3c(r30) -/* 802D7594 002D44F4 A0 9E 00 00 */ lhz r4, 0(r30) -/* 802D7598 002D44F8 4B FF FA BD */ bl StreamHalfTransitions__13CAnimationSetFUsR12CInputStream -/* 802D759C 002D44FC 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802D75A0 002D4500 90 1E 00 44 */ stw r0, 0x44(r30) -/* 802D75A4 002D4504 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D75A8 002D4508 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802D75AC 002D450C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802D75B0 002D4510 2C 00 00 00 */ cmpwi r0, 0 -/* 802D75B4 002D4514 40 82 00 1C */ bne lbl_802D75D0 -/* 802D75B8 002D4518 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D75BC 002D451C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D75C0 002D4520 40 82 00 10 */ bne lbl_802D75D0 -/* 802D75C4 002D4524 38 00 00 00 */ li r0, 0 -/* 802D75C8 002D4528 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 802D75CC 002D452C 48 00 00 7C */ b lbl_802D7648 -lbl_802D75D0: -/* 802D75D0 002D4530 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 802D75D4 002D4534 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802D75D8 002D4538 40 82 00 10 */ bne lbl_802D75E8 -/* 802D75DC 002D453C 38 00 00 00 */ li r0, 0 -/* 802D75E0 002D4540 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 802D75E4 002D4544 48 00 00 18 */ b lbl_802D75FC -lbl_802D75E8: -/* 802D75E8 002D4548 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D75EC 002D454C 38 A0 00 00 */ li r5, 0 -/* 802D75F0 002D4550 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D75F4 002D4554 48 03 E2 25 */ bl __nwa__FUlPCcPCc -/* 802D75F8 002D4558 90 7E 00 4C */ stw r3, 0x4c(r30) -lbl_802D75FC: -/* 802D75FC 002D455C 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 802D7600 002D4560 80 C1 00 58 */ lwz r6, 0x58(r1) -/* 802D7604 002D4564 80 BE 00 4C */ lwz r5, 0x4c(r30) -/* 802D7608 002D4568 7C 09 03 A6 */ mtctr r0 -/* 802D760C 002D456C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D7610 002D4570 40 81 00 38 */ ble lbl_802D7648 -lbl_802D7614: -/* 802D7614 002D4574 28 05 00 00 */ cmplwi r5, 0 -/* 802D7618 002D4578 41 82 00 24 */ beq lbl_802D763C -/* 802D761C 002D457C 80 06 00 00 */ lwz r0, 0(r6) -/* 802D7620 002D4580 90 05 00 00 */ stw r0, 0(r5) -/* 802D7624 002D4584 80 06 00 04 */ lwz r0, 4(r6) -/* 802D7628 002D4588 90 05 00 04 */ stw r0, 4(r5) -/* 802D762C 002D458C 80 85 00 04 */ lwz r4, 4(r5) -/* 802D7630 002D4590 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7634 002D4594 38 03 00 01 */ addi r0, r3, 1 -/* 802D7638 002D4598 90 04 00 04 */ stw r0, 4(r4) -lbl_802D763C: -/* 802D763C 002D459C 38 A5 00 08 */ addi r5, r5, 8 -/* 802D7640 002D45A0 38 C6 00 08 */ addi r6, r6, 8 -/* 802D7644 002D45A4 42 00 FF D0 */ bdnz lbl_802D7614 -lbl_802D7648: -/* 802D7648 002D45A8 38 61 00 4C */ addi r3, r1, 0x4c -/* 802D764C 002D45AC 38 80 FF FF */ li r4, -1 -/* 802D7650 002D45B0 48 00 01 0D */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" -/* 802D7654 002D45B4 A0 9E 00 00 */ lhz r4, 0(r30) -/* 802D7658 002D45B8 7F E5 FB 78 */ mr r5, r31 -/* 802D765C 002D45BC 38 61 00 3C */ addi r3, r1, 0x3c -/* 802D7660 002D45C0 4B FF F8 D9 */ bl StreamAnimResIdEventResIdList__13CAnimationSetFUsR12CInputStream -/* 802D7664 002D45C4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 802D7668 002D45C8 90 1E 00 54 */ stw r0, 0x54(r30) -/* 802D766C 002D45CC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802D7670 002D45D0 90 1E 00 58 */ stw r0, 0x58(r30) -/* 802D7674 002D45D4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 802D7678 002D45D8 2C 00 00 00 */ cmpwi r0, 0 -/* 802D767C 002D45DC 40 82 00 1C */ bne lbl_802D7698 -/* 802D7680 002D45E0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802D7684 002D45E4 2C 00 00 00 */ cmpwi r0, 0 -/* 802D7688 002D45E8 40 82 00 10 */ bne lbl_802D7698 -/* 802D768C 002D45EC 38 00 00 00 */ li r0, 0 -/* 802D7690 002D45F0 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802D7694 002D45F4 48 00 00 6C */ b lbl_802D7700 -lbl_802D7698: -/* 802D7698 002D45F8 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 802D769C 002D45FC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 802D76A0 002D4600 40 82 00 10 */ bne lbl_802D76B0 -/* 802D76A4 002D4604 38 00 00 00 */ li r0, 0 -/* 802D76A8 002D4608 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802D76AC 002D460C 48 00 00 18 */ b lbl_802D76C4 -lbl_802D76B0: -/* 802D76B0 002D4610 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D76B4 002D4614 38 A0 00 00 */ li r5, 0 -/* 802D76B8 002D4618 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D76BC 002D461C 48 03 E1 5D */ bl __nwa__FUlPCcPCc -/* 802D76C0 002D4620 90 7E 00 5C */ stw r3, 0x5c(r30) -lbl_802D76C4: -/* 802D76C4 002D4624 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802D76C8 002D4628 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802D76CC 002D462C 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 802D76D0 002D4630 7C 09 03 A6 */ mtctr r0 -/* 802D76D4 002D4634 2C 00 00 00 */ cmpwi r0, 0 -/* 802D76D8 002D4638 40 81 00 28 */ ble lbl_802D7700 -lbl_802D76DC: -/* 802D76DC 002D463C 28 03 00 00 */ cmplwi r3, 0 -/* 802D76E0 002D4640 41 82 00 14 */ beq lbl_802D76F4 -/* 802D76E4 002D4644 80 04 00 00 */ lwz r0, 0(r4) -/* 802D76E8 002D4648 90 03 00 00 */ stw r0, 0(r3) -/* 802D76EC 002D464C 80 04 00 04 */ lwz r0, 4(r4) -/* 802D76F0 002D4650 90 03 00 04 */ stw r0, 4(r3) -lbl_802D76F4: -/* 802D76F4 002D4654 38 63 00 08 */ addi r3, r3, 8 -/* 802D76F8 002D4658 38 84 00 08 */ addi r4, r4, 8 -/* 802D76FC 002D465C 42 00 FF E0 */ bdnz lbl_802D76DC -lbl_802D7700: -/* 802D7700 002D4660 80 01 00 40 */ lwz r0, 0x40(r1) -/* 802D7704 002D4664 80 61 00 48 */ lwz r3, 0x48(r1) -/* 802D7708 002D4668 54 00 18 38 */ slwi r0, r0, 3 -/* 802D770C 002D466C 7C 03 02 14 */ add r0, r3, r0 -/* 802D7710 002D4670 90 61 00 14 */ stw r3, 0x14(r1) -/* 802D7714 002D4674 7C 64 1B 78 */ mr r4, r3 -/* 802D7718 002D4678 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802D771C 002D467C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802D7720 002D4680 90 61 00 10 */ stw r3, 0x10(r1) -/* 802D7724 002D4684 48 00 00 08 */ b lbl_802D772C -lbl_802D7728: -/* 802D7728 002D4688 38 84 00 08 */ addi r4, r4, 8 -lbl_802D772C: -/* 802D772C 002D468C 7C 04 00 40 */ cmplw r4, r0 -/* 802D7730 002D4690 40 82 FF F8 */ bne lbl_802D7728 -/* 802D7734 002D4694 28 03 00 00 */ cmplwi r3, 0 -/* 802D7738 002D4698 41 82 00 08 */ beq lbl_802D7740 -/* 802D773C 002D469C 48 03 E1 F5 */ bl Free__7CMemoryFPCv -lbl_802D7740: -/* 802D7740 002D46A0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802D7744 002D46A4 7F C3 F3 78 */ mr r3, r30 -/* 802D7748 002D46A8 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802D774C 002D46AC 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 802D7750 002D46B0 7C 08 03 A6 */ mtlr r0 -/* 802D7754 002D46B4 38 21 00 80 */ addi r1, r1, 0x80 -/* 802D7758 002D46B8 4E 80 00 20 */ blr - -.global "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" -"__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv": -/* 802D775C 002D46BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7760 002D46C0 7C 08 02 A6 */ mflr r0 -/* 802D7764 002D46C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7768 002D46C8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D776C 002D46CC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D7770 002D46D0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D7774 002D46D4 7C 9D 23 78 */ mr r29, r4 -/* 802D7778 002D46D8 93 81 00 20 */ stw r28, 0x20(r1) -/* 802D777C 002D46DC 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802D7780 002D46E0 41 82 00 6C */ beq lbl_802D77EC -/* 802D7784 002D46E4 80 1C 00 04 */ lwz r0, 4(r28) -/* 802D7788 002D46E8 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802D778C 002D46EC 54 00 18 38 */ slwi r0, r0, 3 -/* 802D7790 002D46F0 7F FE 02 14 */ add r31, r30, r0 -/* 802D7794 002D46F4 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802D7798 002D46F8 93 E1 00 08 */ stw r31, 8(r1) -/* 802D779C 002D46FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D77A0 002D4700 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802D77A4 002D4704 48 00 00 20 */ b lbl_802D77C4 -lbl_802D77A8: -/* 802D77A8 002D4708 28 1E 00 00 */ cmplwi r30, 0 -/* 802D77AC 002D470C 41 82 00 14 */ beq lbl_802D77C0 -/* 802D77B0 002D4710 34 1E 00 04 */ addic. r0, r30, 4 -/* 802D77B4 002D4714 41 82 00 0C */ beq lbl_802D77C0 -/* 802D77B8 002D4718 38 7E 00 04 */ addi r3, r30, 4 -/* 802D77BC 002D471C 4B D5 CA D9 */ bl __dt__17CMetaTransFactoryFv -lbl_802D77C0: -/* 802D77C0 002D4720 3B DE 00 08 */ addi r30, r30, 8 -lbl_802D77C4: -/* 802D77C4 002D4724 7C 1E F8 40 */ cmplw r30, r31 -/* 802D77C8 002D4728 40 82 FF E0 */ bne lbl_802D77A8 -/* 802D77CC 002D472C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802D77D0 002D4730 28 03 00 00 */ cmplwi r3, 0 -/* 802D77D4 002D4734 41 82 00 08 */ beq lbl_802D77DC -/* 802D77D8 002D4738 48 03 E1 59 */ bl Free__7CMemoryFPCv -lbl_802D77DC: -/* 802D77DC 002D473C 7F A0 07 35 */ extsh. r0, r29 -/* 802D77E0 002D4740 40 81 00 0C */ ble lbl_802D77EC -/* 802D77E4 002D4744 7F 83 E3 78 */ mr r3, r28 -/* 802D77E8 002D4748 48 03 E1 49 */ bl Free__7CMemoryFPCv -lbl_802D77EC: -/* 802D77EC 002D474C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D77F0 002D4750 7F 83 E3 78 */ mr r3, r28 -/* 802D77F4 002D4754 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D77F8 002D4758 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D77FC 002D475C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D7800 002D4760 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802D7804 002D4764 7C 08 03 A6 */ mtlr r0 -/* 802D7808 002D4768 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D780C 002D476C 4E 80 00 20 */ blr - -.global sub_802d7810 -sub_802d7810: -/* 802D7810 002D4770 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7814 002D4774 7C 08 02 A6 */ mflr r0 -/* 802D7818 002D4778 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D781C 002D477C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D7820 002D4780 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D7824 002D4784 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D7828 002D4788 7C 9D 23 78 */ mr r29, r4 -/* 802D782C 002D478C 93 81 00 20 */ stw r28, 0x20(r1) -/* 802D7830 002D4790 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802D7834 002D4794 41 82 00 6C */ beq lbl_802D78A0 -/* 802D7838 002D4798 80 1C 00 04 */ lwz r0, 4(r28) -/* 802D783C 002D479C 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802D7840 002D47A0 54 00 20 36 */ slwi r0, r0, 4 -/* 802D7844 002D47A4 7F FE 02 14 */ add r31, r30, r0 -/* 802D7848 002D47A8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802D784C 002D47AC 93 E1 00 08 */ stw r31, 8(r1) -/* 802D7850 002D47B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D7854 002D47B4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802D7858 002D47B8 48 00 00 20 */ b lbl_802D7878 -lbl_802D785C: -/* 802D785C 002D47BC 28 1E 00 00 */ cmplwi r30, 0 -/* 802D7860 002D47C0 41 82 00 14 */ beq lbl_802D7874 -/* 802D7864 002D47C4 34 1E 00 0C */ addic. r0, r30, 0xc -/* 802D7868 002D47C8 41 82 00 0C */ beq lbl_802D7874 -/* 802D786C 002D47CC 38 7E 00 0C */ addi r3, r30, 0xc -/* 802D7870 002D47D0 4B D5 CA 25 */ bl __dt__17CMetaTransFactoryFv -lbl_802D7874: -/* 802D7874 002D47D4 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_802D7878: -/* 802D7878 002D47D8 7C 1E F8 40 */ cmplw r30, r31 -/* 802D787C 002D47DC 40 82 FF E0 */ bne lbl_802D785C -/* 802D7880 002D47E0 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802D7884 002D47E4 28 03 00 00 */ cmplwi r3, 0 -/* 802D7888 002D47E8 41 82 00 08 */ beq lbl_802D7890 -/* 802D788C 002D47EC 48 03 E0 A5 */ bl Free__7CMemoryFPCv -lbl_802D7890: -/* 802D7890 002D47F0 7F A0 07 35 */ extsh. r0, r29 -/* 802D7894 002D47F4 40 81 00 0C */ ble lbl_802D78A0 -/* 802D7898 002D47F8 7F 83 E3 78 */ mr r3, r28 -/* 802D789C 002D47FC 48 03 E0 95 */ bl Free__7CMemoryFPCv -lbl_802D78A0: -/* 802D78A0 002D4800 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D78A4 002D4804 7F 83 E3 78 */ mr r3, r28 -/* 802D78A8 002D4808 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D78AC 002D480C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D78B0 002D4810 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D78B4 002D4814 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802D78B8 002D4818 7C 08 03 A6 */ mtlr r0 -/* 802D78BC 002D481C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D78C0 002D4820 4E 80 00 20 */ blr - -.global "__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802D78C4 002D4824 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802D78C8 002D4828 7C 08 02 A6 */ mflr r0 -/* 802D78CC 002D482C 90 01 00 44 */ stw r0, 0x44(r1) -/* 802D78D0 002D4830 38 00 00 00 */ li r0, 0 -/* 802D78D4 002D4834 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 802D78D8 002D4838 7C 7A 1B 78 */ mr r26, r3 -/* 802D78DC 002D483C 7C 9B 23 78 */ mr r27, r4 -/* 802D78E0 002D4840 90 03 00 04 */ stw r0, 4(r3) -/* 802D78E4 002D4844 7F 63 DB 78 */ mr r3, r27 -/* 802D78E8 002D4848 90 1A 00 08 */ stw r0, 8(r26) -/* 802D78EC 002D484C 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802D78F0 002D4850 48 06 73 95 */ bl ReadLong__12CInputStreamFv -/* 802D78F4 002D4854 7C 7E 1B 78 */ mr r30, r3 -/* 802D78F8 002D4858 7F 43 D3 78 */ mr r3, r26 -/* 802D78FC 002D485C 7F C4 F3 78 */ mr r4, r30 -/* 802D7900 002D4860 48 00 04 91 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" -/* 802D7904 002D4864 3B A1 00 18 */ addi r29, r1, 0x18 -/* 802D7908 002D4868 3B E1 00 08 */ addi r31, r1, 8 -/* 802D790C 002D486C 3B 80 00 00 */ li r28, 0 -/* 802D7910 002D4870 48 00 00 A8 */ b lbl_802D79B8 -lbl_802D7914: -/* 802D7914 002D4874 88 0D A6 98 */ lbz r0, lbl_805A9258@sda21(r13) -/* 802D7918 002D4878 7F 64 DB 78 */ mr r4, r27 -/* 802D791C 002D487C 7F E5 FB 78 */ mr r5, r31 -/* 802D7920 002D4880 38 61 00 0C */ addi r3, r1, 0xc -/* 802D7924 002D4884 98 01 00 08 */ stb r0, 8(r1) -/* 802D7928 002D4888 48 00 00 B1 */ bl "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" -/* 802D792C 002D488C 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7930 002D4890 80 BA 00 08 */ lwz r5, 8(r26) -/* 802D7934 002D4894 7C 00 28 00 */ cmpw r0, r5 -/* 802D7938 002D4898 41 80 00 1C */ blt lbl_802D7954 -/* 802D793C 002D489C 2C 05 00 00 */ cmpwi r5, 0 -/* 802D7940 002D48A0 7F 43 D3 78 */ mr r3, r26 -/* 802D7944 002D48A4 38 80 00 04 */ li r4, 4 -/* 802D7948 002D48A8 41 82 00 08 */ beq lbl_802D7950 -/* 802D794C 002D48AC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802D7950: -/* 802D7950 002D48B0 48 00 04 41 */ bl "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" -lbl_802D7954: -/* 802D7954 002D48B4 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7958 002D48B8 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 802D795C 002D48BC 54 00 20 36 */ slwi r0, r0, 4 -/* 802D7960 002D48C0 7C 63 02 15 */ add. r3, r3, r0 -/* 802D7964 002D48C4 41 82 00 34 */ beq lbl_802D7998 -/* 802D7968 002D48C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D796C 002D48CC 90 03 00 00 */ stw r0, 0(r3) -/* 802D7970 002D48D0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802D7974 002D48D4 90 03 00 04 */ stw r0, 4(r3) -/* 802D7978 002D48D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D797C 002D48DC 90 03 00 08 */ stw r0, 8(r3) -/* 802D7980 002D48E0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 802D7984 002D48E4 90 03 00 0C */ stw r0, 0xc(r3) -/* 802D7988 002D48E8 80 83 00 0C */ lwz r4, 0xc(r3) -/* 802D798C 002D48EC 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7990 002D48F0 38 03 00 01 */ addi r0, r3, 1 -/* 802D7994 002D48F4 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7998: -/* 802D7998 002D48F8 80 7A 00 04 */ lwz r3, 4(r26) -/* 802D799C 002D48FC 28 1D 00 00 */ cmplwi r29, 0 -/* 802D79A0 002D4900 38 03 00 01 */ addi r0, r3, 1 -/* 802D79A4 002D4904 90 1A 00 04 */ stw r0, 4(r26) -/* 802D79A8 002D4908 41 82 00 0C */ beq lbl_802D79B4 -/* 802D79AC 002D490C 7F A3 EB 78 */ mr r3, r29 -/* 802D79B0 002D4910 4B D5 C8 E5 */ bl __dt__17CMetaTransFactoryFv -lbl_802D79B4: -/* 802D79B4 002D4914 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802D79B8: -/* 802D79B8 002D4918 7C 1C F0 00 */ cmpw r28, r30 -/* 802D79BC 002D491C 41 80 FF 58 */ blt lbl_802D7914 -/* 802D79C0 002D4920 7F 43 D3 78 */ mr r3, r26 -/* 802D79C4 002D4924 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 802D79C8 002D4928 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802D79CC 002D492C 7C 08 03 A6 */ mtlr r0 -/* 802D79D0 002D4930 38 21 00 40 */ addi r1, r1, 0x40 -/* 802D79D4 002D4934 4E 80 00 20 */ blr - -.global "Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>" -"Get<11CTransition>__12CInputStreamFRC20TType<11CTransition>": -/* 802D79D8 002D4938 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D79DC 002D493C 7C 08 02 A6 */ mflr r0 -/* 802D79E0 002D4940 7C 85 23 78 */ mr r5, r4 -/* 802D79E4 002D4944 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D79E8 002D4948 38 81 00 08 */ addi r4, r1, 8 -/* 802D79EC 002D494C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D79F0 002D4950 7C 7F 1B 78 */ mr r31, r3 -/* 802D79F4 002D4954 88 0D A6 9C */ lbz r0, lbl_805A925C@sda21(r13) -/* 802D79F8 002D4958 98 01 00 08 */ stb r0, 8(r1) -/* 802D79FC 002D495C 48 00 00 19 */ bl "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" -/* 802D7A00 002D4960 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D7A04 002D4964 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D7A08 002D4968 7C 08 03 A6 */ mtlr r0 -/* 802D7A0C 002D496C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D7A10 002D4970 4E 80 00 20 */ blr - -.global "cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream" -"cinput_stream_helper<11CTransition>__FRC20TType<11CTransition>R12CInputStream": -/* 802D7A14 002D4974 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D7A18 002D4978 7C 08 02 A6 */ mflr r0 -/* 802D7A1C 002D497C 7C A4 2B 78 */ mr r4, r5 -/* 802D7A20 002D4980 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D7A24 002D4984 48 00 F4 01 */ bl __ct__11CTransitionFR12CInputStream -/* 802D7A28 002D4988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D7A2C 002D498C 7C 08 03 A6 */ mtlr r0 -/* 802D7A30 002D4990 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D7A34 002D4994 4E 80 00 20 */ blr - -.global sub_802d7a38 -sub_802d7a38: -/* 802D7A38 002D4998 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7A3C 002D499C 7C 08 02 A6 */ mflr r0 -/* 802D7A40 002D49A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7A44 002D49A4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D7A48 002D49A8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D7A4C 002D49AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D7A50 002D49B0 7C 9D 23 78 */ mr r29, r4 -/* 802D7A54 002D49B4 93 81 00 20 */ stw r28, 0x20(r1) -/* 802D7A58 002D49B8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802D7A5C 002D49BC 41 82 00 7C */ beq lbl_802D7AD8 -/* 802D7A60 002D49C0 80 1C 00 04 */ lwz r0, 4(r28) -/* 802D7A64 002D49C4 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802D7A68 002D49C8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 802D7A6C 002D49CC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802D7A70 002D49D0 7F FE 02 14 */ add r31, r30, r0 -/* 802D7A74 002D49D4 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802D7A78 002D49D8 93 E1 00 08 */ stw r31, 8(r1) -/* 802D7A7C 002D49DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D7A80 002D49E0 48 00 00 30 */ b lbl_802D7AB0 -lbl_802D7A84: -/* 802D7A84 002D49E4 28 1E 00 00 */ cmplwi r30, 0 -/* 802D7A88 002D49E8 41 82 00 24 */ beq lbl_802D7AAC -/* 802D7A8C 002D49EC 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 802D7A90 002D49F0 41 82 00 0C */ beq lbl_802D7A9C -/* 802D7A94 002D49F4 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802D7A98 002D49F8 4B D5 94 99 */ bl sub_80030f30 -lbl_802D7A9C: -/* 802D7A9C 002D49FC 28 1E 00 00 */ cmplwi r30, 0 -/* 802D7AA0 002D4A00 41 82 00 0C */ beq lbl_802D7AAC -/* 802D7AA4 002D4A04 7F C3 F3 78 */ mr r3, r30 -/* 802D7AA8 002D4A08 48 06 60 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802D7AAC: -/* 802D7AAC 002D4A0C 3B DE 00 14 */ addi r30, r30, 0x14 -lbl_802D7AB0: -/* 802D7AB0 002D4A10 7C 1E F8 40 */ cmplw r30, r31 -/* 802D7AB4 002D4A14 40 82 FF D0 */ bne lbl_802D7A84 -/* 802D7AB8 002D4A18 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802D7ABC 002D4A1C 28 03 00 00 */ cmplwi r3, 0 -/* 802D7AC0 002D4A20 41 82 00 08 */ beq lbl_802D7AC8 -/* 802D7AC4 002D4A24 48 03 DE 6D */ bl Free__7CMemoryFPCv -lbl_802D7AC8: -/* 802D7AC8 002D4A28 7F A0 07 35 */ extsh. r0, r29 -/* 802D7ACC 002D4A2C 40 81 00 0C */ ble lbl_802D7AD8 -/* 802D7AD0 002D4A30 7F 83 E3 78 */ mr r3, r28 -/* 802D7AD4 002D4A34 48 03 DE 5D */ bl Free__7CMemoryFPCv -lbl_802D7AD8: -/* 802D7AD8 002D4A38 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D7ADC 002D4A3C 7F 83 E3 78 */ mr r3, r28 -/* 802D7AE0 002D4A40 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D7AE4 002D4A44 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D7AE8 002D4A48 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D7AEC 002D4A4C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802D7AF0 002D4A50 7C 08 03 A6 */ mtlr r0 -/* 802D7AF4 002D4A54 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D7AF8 002D4A58 4E 80 00 20 */ blr - -.global "__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 802D7AFC 002D4A5C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802D7B00 002D4A60 7C 08 02 A6 */ mflr r0 -/* 802D7B04 002D4A64 90 01 00 44 */ stw r0, 0x44(r1) -/* 802D7B08 002D4A68 38 00 00 00 */ li r0, 0 -/* 802D7B0C 002D4A6C BF 21 00 24 */ stmw r25, 0x24(r1) -/* 802D7B10 002D4A70 7C 7A 1B 78 */ mr r26, r3 -/* 802D7B14 002D4A74 7C 9B 23 78 */ mr r27, r4 -/* 802D7B18 002D4A78 90 03 00 04 */ stw r0, 4(r3) -/* 802D7B1C 002D4A7C 7F 63 DB 78 */ mr r3, r27 -/* 802D7B20 002D4A80 90 1A 00 08 */ stw r0, 8(r26) -/* 802D7B24 002D4A84 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802D7B28 002D4A88 48 06 71 5D */ bl ReadLong__12CInputStreamFv -/* 802D7B2C 002D4A8C 7C 7E 1B 78 */ mr r30, r3 -/* 802D7B30 002D4A90 7F 43 D3 78 */ mr r3, r26 -/* 802D7B34 002D4A94 7F C4 F3 78 */ mr r4, r30 -/* 802D7B38 002D4A98 48 00 01 35 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" -/* 802D7B3C 002D4A9C 3B A1 00 1C */ addi r29, r1, 0x1c -/* 802D7B40 002D4AA0 3B E1 00 08 */ addi r31, r1, 8 -/* 802D7B44 002D4AA4 3B 80 00 00 */ li r28, 0 -/* 802D7B48 002D4AA8 48 00 00 A4 */ b lbl_802D7BEC -lbl_802D7B4C: -/* 802D7B4C 002D4AAC 88 0D A6 90 */ lbz r0, lbl_805A9250@sda21(r13) -/* 802D7B50 002D4AB0 7F 64 DB 78 */ mr r4, r27 -/* 802D7B54 002D4AB4 7F E5 FB 78 */ mr r5, r31 -/* 802D7B58 002D4AB8 38 61 00 0C */ addi r3, r1, 0xc -/* 802D7B5C 002D4ABC 98 01 00 08 */ stb r0, 8(r1) -/* 802D7B60 002D4AC0 48 00 00 AD */ bl "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" -/* 802D7B64 002D4AC4 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7B68 002D4AC8 80 BA 00 08 */ lwz r5, 8(r26) -/* 802D7B6C 002D4ACC 7C 00 28 00 */ cmpw r0, r5 -/* 802D7B70 002D4AD0 41 80 00 1C */ blt lbl_802D7B8C -/* 802D7B74 002D4AD4 2C 05 00 00 */ cmpwi r5, 0 -/* 802D7B78 002D4AD8 7F 43 D3 78 */ mr r3, r26 -/* 802D7B7C 002D4ADC 38 80 00 04 */ li r4, 4 -/* 802D7B80 002D4AE0 41 82 00 08 */ beq lbl_802D7B88 -/* 802D7B84 002D4AE4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_802D7B88: -/* 802D7B88 002D4AE8 48 00 00 E5 */ bl "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" -lbl_802D7B8C: -/* 802D7B8C 002D4AEC 80 1A 00 04 */ lwz r0, 4(r26) -/* 802D7B90 002D4AF0 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 802D7B94 002D4AF4 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 802D7B98 002D4AF8 7F 23 02 15 */ add. r25, r3, r0 -/* 802D7B9C 002D4AFC 41 82 00 28 */ beq lbl_802D7BC4 -/* 802D7BA0 002D4B00 7F 23 CB 78 */ mr r3, r25 -/* 802D7BA4 002D4B04 38 81 00 0C */ addi r4, r1, 0xc -/* 802D7BA8 002D4B08 48 06 65 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D7BAC 002D4B0C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802D7BB0 002D4B10 90 19 00 10 */ stw r0, 0x10(r25) -/* 802D7BB4 002D4B14 80 99 00 10 */ lwz r4, 0x10(r25) -/* 802D7BB8 002D4B18 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7BBC 002D4B1C 38 03 00 01 */ addi r0, r3, 1 -/* 802D7BC0 002D4B20 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7BC4: -/* 802D7BC4 002D4B24 80 7A 00 04 */ lwz r3, 4(r26) -/* 802D7BC8 002D4B28 28 1D 00 00 */ cmplwi r29, 0 -/* 802D7BCC 002D4B2C 38 03 00 01 */ addi r0, r3, 1 -/* 802D7BD0 002D4B30 90 1A 00 04 */ stw r0, 4(r26) -/* 802D7BD4 002D4B34 41 82 00 0C */ beq lbl_802D7BE0 -/* 802D7BD8 002D4B38 7F A3 EB 78 */ mr r3, r29 -/* 802D7BDC 002D4B3C 4B D5 93 55 */ bl sub_80030f30 -lbl_802D7BE0: -/* 802D7BE0 002D4B40 38 61 00 0C */ addi r3, r1, 0xc -/* 802D7BE4 002D4B44 48 06 5E FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 802D7BE8 002D4B48 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802D7BEC: -/* 802D7BEC 002D4B4C 7C 1C F0 00 */ cmpw r28, r30 -/* 802D7BF0 002D4B50 41 80 FF 5C */ blt lbl_802D7B4C -/* 802D7BF4 002D4B54 7F 43 D3 78 */ mr r3, r26 -/* 802D7BF8 002D4B58 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 802D7BFC 002D4B5C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802D7C00 002D4B60 7C 08 03 A6 */ mtlr r0 -/* 802D7C04 002D4B64 38 21 00 40 */ addi r1, r1, 0x40 -/* 802D7C08 002D4B68 4E 80 00 20 */ blr - -.global "Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>" -"Get<10CAnimation>__12CInputStreamFRC19TType<10CAnimation>": -/* 802D7C0C 002D4B6C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D7C10 002D4B70 7C 08 02 A6 */ mflr r0 -/* 802D7C14 002D4B74 7C 85 23 78 */ mr r5, r4 -/* 802D7C18 002D4B78 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D7C1C 002D4B7C 38 81 00 08 */ addi r4, r1, 8 -/* 802D7C20 002D4B80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D7C24 002D4B84 7C 7F 1B 78 */ mr r31, r3 -/* 802D7C28 002D4B88 88 0D A6 94 */ lbz r0, lbl_805A9254@sda21(r13) -/* 802D7C2C 002D4B8C 98 01 00 08 */ stb r0, 8(r1) -/* 802D7C30 002D4B90 48 00 00 19 */ bl "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" -/* 802D7C34 002D4B94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D7C38 002D4B98 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D7C3C 002D4B9C 7C 08 03 A6 */ mtlr r0 -/* 802D7C40 002D4BA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D7C44 002D4BA4 4E 80 00 20 */ blr - -.global "cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream" -"cinput_stream_helper<10CAnimation>__FRC19TType<10CAnimation>R12CInputStream": -/* 802D7C48 002D4BA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D7C4C 002D4BAC 7C 08 02 A6 */ mflr r0 -/* 802D7C50 002D4BB0 7C A4 2B 78 */ mr r4, r5 -/* 802D7C54 002D4BB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D7C58 002D4BB8 4B FF F1 2D */ bl __ct__10CAnimationFR12CInputStream -/* 802D7C5C 002D4BBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D7C60 002D4BC0 7C 08 03 A6 */ mtlr r0 -/* 802D7C64 002D4BC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D7C68 002D4BC8 4E 80 00 20 */ blr - -.global "reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl47vector<10CAnimation,Q24rstl17rmemory_allocator>Fi": -/* 802D7C6C 002D4BCC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7C70 002D4BD0 7C 08 02 A6 */ mflr r0 -/* 802D7C74 002D4BD4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7C78 002D4BD8 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802D7C7C 002D4BDC 7C 9F 23 78 */ mr r31, r4 -/* 802D7C80 002D4BE0 7C 7E 1B 78 */ mr r30, r3 -/* 802D7C84 002D4BE4 80 03 00 08 */ lwz r0, 8(r3) -/* 802D7C88 002D4BE8 7C 1F 00 00 */ cmpw r31, r0 -/* 802D7C8C 002D4BEC 40 81 00 F0 */ ble lbl_802D7D7C -/* 802D7C90 002D4BF0 1C 7F 00 14 */ mulli r3, r31, 0x14 -/* 802D7C94 002D4BF4 2C 03 00 00 */ cmpwi r3, 0 -/* 802D7C98 002D4BF8 40 82 00 0C */ bne lbl_802D7CA4 -/* 802D7C9C 002D4BFC 3B 80 00 00 */ li r28, 0 -/* 802D7CA0 002D4C00 48 00 00 18 */ b lbl_802D7CB8 -lbl_802D7CA4: -/* 802D7CA4 002D4C04 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D7CA8 002D4C08 38 A0 00 00 */ li r5, 0 -/* 802D7CAC 002D4C0C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D7CB0 002D4C10 48 03 DB 69 */ bl __nwa__FUlPCcPCc -/* 802D7CB4 002D4C14 7C 7C 1B 78 */ mr r28, r3 -lbl_802D7CB8: -/* 802D7CB8 002D4C18 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7CBC 002D4C1C 7F 9B E3 78 */ mr r27, r28 -/* 802D7CC0 002D4C20 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802D7CC4 002D4C24 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 802D7CC8 002D4C28 93 41 00 10 */ stw r26, 0x10(r1) -/* 802D7CCC 002D4C2C 7F BA 02 14 */ add r29, r26, r0 -/* 802D7CD0 002D4C30 93 41 00 14 */ stw r26, 0x14(r1) -/* 802D7CD4 002D4C34 93 A1 00 08 */ stw r29, 8(r1) -/* 802D7CD8 002D4C38 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802D7CDC 002D4C3C 48 00 00 38 */ b lbl_802D7D14 -lbl_802D7CE0: -/* 802D7CE0 002D4C40 28 1B 00 00 */ cmplwi r27, 0 -/* 802D7CE4 002D4C44 41 82 00 28 */ beq lbl_802D7D0C -/* 802D7CE8 002D4C48 7F 63 DB 78 */ mr r3, r27 -/* 802D7CEC 002D4C4C 7F 44 D3 78 */ mr r4, r26 -/* 802D7CF0 002D4C50 48 06 64 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D7CF4 002D4C54 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 802D7CF8 002D4C58 90 1B 00 10 */ stw r0, 0x10(r27) -/* 802D7CFC 002D4C5C 80 9B 00 10 */ lwz r4, 0x10(r27) -/* 802D7D00 002D4C60 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7D04 002D4C64 38 03 00 01 */ addi r0, r3, 1 -/* 802D7D08 002D4C68 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7D0C: -/* 802D7D0C 002D4C6C 3B 7B 00 14 */ addi r27, r27, 0x14 -/* 802D7D10 002D4C70 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_802D7D14: -/* 802D7D14 002D4C74 7C 1A E8 40 */ cmplw r26, r29 -/* 802D7D18 002D4C78 40 82 FF C8 */ bne lbl_802D7CE0 -/* 802D7D1C 002D4C7C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7D20 002D4C80 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 802D7D24 002D4C84 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 802D7D28 002D4C88 7F 7A 02 14 */ add r27, r26, r0 -/* 802D7D2C 002D4C8C 48 00 00 30 */ b lbl_802D7D5C -lbl_802D7D30: -/* 802D7D30 002D4C90 28 1A 00 00 */ cmplwi r26, 0 -/* 802D7D34 002D4C94 41 82 00 24 */ beq lbl_802D7D58 -/* 802D7D38 002D4C98 34 1A 00 10 */ addic. r0, r26, 0x10 -/* 802D7D3C 002D4C9C 41 82 00 0C */ beq lbl_802D7D48 -/* 802D7D40 002D4CA0 38 7A 00 10 */ addi r3, r26, 0x10 -/* 802D7D44 002D4CA4 4B D5 91 ED */ bl sub_80030f30 -lbl_802D7D48: -/* 802D7D48 002D4CA8 28 1A 00 00 */ cmplwi r26, 0 -/* 802D7D4C 002D4CAC 41 82 00 0C */ beq lbl_802D7D58 -/* 802D7D50 002D4CB0 7F 43 D3 78 */ mr r3, r26 -/* 802D7D54 002D4CB4 48 06 5D 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802D7D58: -/* 802D7D58 002D4CB8 3B 5A 00 14 */ addi r26, r26, 0x14 -lbl_802D7D5C: -/* 802D7D5C 002D4CBC 7C 1A D8 40 */ cmplw r26, r27 -/* 802D7D60 002D4CC0 40 82 FF D0 */ bne lbl_802D7D30 -/* 802D7D64 002D4CC4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D7D68 002D4CC8 28 03 00 00 */ cmplwi r3, 0 -/* 802D7D6C 002D4CCC 41 82 00 08 */ beq lbl_802D7D74 -/* 802D7D70 002D4CD0 48 03 DB C1 */ bl Free__7CMemoryFPCv -lbl_802D7D74: -/* 802D7D74 002D4CD4 93 9E 00 0C */ stw r28, 0xc(r30) -/* 802D7D78 002D4CD8 93 FE 00 08 */ stw r31, 8(r30) -lbl_802D7D7C: -/* 802D7D7C 002D4CDC BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802D7D80 002D4CE0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D7D84 002D4CE4 7C 08 03 A6 */ mtlr r0 -/* 802D7D88 002D4CE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D7D8C 002D4CEC 4E 80 00 20 */ blr - -.global "reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl48vector<11CTransition,Q24rstl17rmemory_allocator>Fi": -/* 802D7D90 002D4CF0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7D94 002D4CF4 7C 08 02 A6 */ mflr r0 -/* 802D7D98 002D4CF8 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7D9C 002D4CFC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802D7DA0 002D4D00 7C 9E 23 78 */ mr r30, r4 -/* 802D7DA4 002D4D04 7C 7D 1B 78 */ mr r29, r3 -/* 802D7DA8 002D4D08 80 03 00 08 */ lwz r0, 8(r3) -/* 802D7DAC 002D4D0C 7C 1E 00 00 */ cmpw r30, r0 -/* 802D7DB0 002D4D10 40 81 00 E8 */ ble lbl_802D7E98 -/* 802D7DB4 002D4D14 57 C3 20 37 */ rlwinm. r3, r30, 4, 0, 0x1b -/* 802D7DB8 002D4D18 40 82 00 0C */ bne lbl_802D7DC4 -/* 802D7DBC 002D4D1C 3B E0 00 00 */ li r31, 0 -/* 802D7DC0 002D4D20 48 00 00 18 */ b lbl_802D7DD8 -lbl_802D7DC4: -/* 802D7DC4 002D4D24 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D7DC8 002D4D28 38 A0 00 00 */ li r5, 0 -/* 802D7DCC 002D4D2C 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D7DD0 002D4D30 48 03 DA 49 */ bl __nwa__FUlPCcPCc -/* 802D7DD4 002D4D34 7C 7F 1B 78 */ mr r31, r3 -lbl_802D7DD8: -/* 802D7DD8 002D4D38 80 1D 00 04 */ lwz r0, 4(r29) -/* 802D7DDC 002D4D3C 7F E6 FB 78 */ mr r6, r31 -/* 802D7DE0 002D4D40 80 FD 00 0C */ lwz r7, 0xc(r29) -/* 802D7DE4 002D4D44 54 00 20 36 */ slwi r0, r0, 4 -/* 802D7DE8 002D4D48 7C A7 02 14 */ add r5, r7, r0 -/* 802D7DEC 002D4D4C 90 E1 00 10 */ stw r7, 0x10(r1) -/* 802D7DF0 002D4D50 90 A1 00 08 */ stw r5, 8(r1) -/* 802D7DF4 002D4D54 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D7DF8 002D4D58 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802D7DFC 002D4D5C 48 00 00 44 */ b lbl_802D7E40 -lbl_802D7E00: -/* 802D7E00 002D4D60 28 06 00 00 */ cmplwi r6, 0 -/* 802D7E04 002D4D64 41 82 00 34 */ beq lbl_802D7E38 -/* 802D7E08 002D4D68 80 07 00 00 */ lwz r0, 0(r7) -/* 802D7E0C 002D4D6C 90 06 00 00 */ stw r0, 0(r6) -/* 802D7E10 002D4D70 80 07 00 04 */ lwz r0, 4(r7) -/* 802D7E14 002D4D74 90 06 00 04 */ stw r0, 4(r6) -/* 802D7E18 002D4D78 80 07 00 08 */ lwz r0, 8(r7) -/* 802D7E1C 002D4D7C 90 06 00 08 */ stw r0, 8(r6) -/* 802D7E20 002D4D80 80 07 00 0C */ lwz r0, 0xc(r7) -/* 802D7E24 002D4D84 90 06 00 0C */ stw r0, 0xc(r6) -/* 802D7E28 002D4D88 80 86 00 0C */ lwz r4, 0xc(r6) -/* 802D7E2C 002D4D8C 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7E30 002D4D90 38 03 00 01 */ addi r0, r3, 1 -/* 802D7E34 002D4D94 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7E38: -/* 802D7E38 002D4D98 38 C6 00 10 */ addi r6, r6, 0x10 -/* 802D7E3C 002D4D9C 38 E7 00 10 */ addi r7, r7, 0x10 -lbl_802D7E40: -/* 802D7E40 002D4DA0 7C 07 28 40 */ cmplw r7, r5 -/* 802D7E44 002D4DA4 40 82 FF BC */ bne lbl_802D7E00 -/* 802D7E48 002D4DA8 80 1D 00 04 */ lwz r0, 4(r29) -/* 802D7E4C 002D4DAC 83 7D 00 0C */ lwz r27, 0xc(r29) -/* 802D7E50 002D4DB0 54 00 20 36 */ slwi r0, r0, 4 -/* 802D7E54 002D4DB4 7F 9B 02 14 */ add r28, r27, r0 -/* 802D7E58 002D4DB8 48 00 00 20 */ b lbl_802D7E78 -lbl_802D7E5C: -/* 802D7E5C 002D4DBC 28 1B 00 00 */ cmplwi r27, 0 -/* 802D7E60 002D4DC0 41 82 00 14 */ beq lbl_802D7E74 -/* 802D7E64 002D4DC4 34 1B 00 0C */ addic. r0, r27, 0xc -/* 802D7E68 002D4DC8 41 82 00 0C */ beq lbl_802D7E74 -/* 802D7E6C 002D4DCC 38 7B 00 0C */ addi r3, r27, 0xc -/* 802D7E70 002D4DD0 4B D5 C4 25 */ bl __dt__17CMetaTransFactoryFv -lbl_802D7E74: -/* 802D7E74 002D4DD4 3B 7B 00 10 */ addi r27, r27, 0x10 -lbl_802D7E78: -/* 802D7E78 002D4DD8 7C 1B E0 40 */ cmplw r27, r28 -/* 802D7E7C 002D4DDC 40 82 FF E0 */ bne lbl_802D7E5C -/* 802D7E80 002D4DE0 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 802D7E84 002D4DE4 28 03 00 00 */ cmplwi r3, 0 -/* 802D7E88 002D4DE8 41 82 00 08 */ beq lbl_802D7E90 -/* 802D7E8C 002D4DEC 48 03 DA A5 */ bl Free__7CMemoryFPCv -lbl_802D7E90: -/* 802D7E90 002D4DF0 93 FD 00 0C */ stw r31, 0xc(r29) -/* 802D7E94 002D4DF4 93 DD 00 08 */ stw r30, 8(r29) -lbl_802D7E98: -/* 802D7E98 002D4DF8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802D7E9C 002D4DFC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D7EA0 002D4E00 7C 08 03 A6 */ mtlr r0 -/* 802D7EA4 002D4E04 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D7EA8 002D4E08 4E 80 00 20 */ blr - -.global "reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fi": -/* 802D7EAC 002D4E0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7EB0 002D4E10 7C 08 02 A6 */ mflr r0 -/* 802D7EB4 002D4E14 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7EB8 002D4E18 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802D7EBC 002D4E1C 7C 9F 23 78 */ mr r31, r4 -/* 802D7EC0 002D4E20 7C 7E 1B 78 */ mr r30, r3 -/* 802D7EC4 002D4E24 80 03 00 08 */ lwz r0, 8(r3) -/* 802D7EC8 002D4E28 7C 1F 00 00 */ cmpw r31, r0 -/* 802D7ECC 002D4E2C 40 81 00 D8 */ ble lbl_802D7FA4 -/* 802D7ED0 002D4E30 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 802D7ED4 002D4E34 40 82 00 0C */ bne lbl_802D7EE0 -/* 802D7ED8 002D4E38 3B A0 00 00 */ li r29, 0 -/* 802D7EDC 002D4E3C 48 00 00 18 */ b lbl_802D7EF4 -lbl_802D7EE0: -/* 802D7EE0 002D4E40 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D7EE4 002D4E44 38 A0 00 00 */ li r5, 0 -/* 802D7EE8 002D4E48 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D7EEC 002D4E4C 48 03 D9 2D */ bl __nwa__FUlPCcPCc -/* 802D7EF0 002D4E50 7C 7D 1B 78 */ mr r29, r3 -lbl_802D7EF4: -/* 802D7EF4 002D4E54 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7EF8 002D4E58 7F A6 EB 78 */ mr r6, r29 -/* 802D7EFC 002D4E5C 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 802D7F00 002D4E60 54 00 18 38 */ slwi r0, r0, 3 -/* 802D7F04 002D4E64 7C A7 02 14 */ add r5, r7, r0 -/* 802D7F08 002D4E68 90 E1 00 10 */ stw r7, 0x10(r1) -/* 802D7F0C 002D4E6C 90 A1 00 08 */ stw r5, 8(r1) -/* 802D7F10 002D4E70 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D7F14 002D4E74 90 E1 00 14 */ stw r7, 0x14(r1) -/* 802D7F18 002D4E78 48 00 00 34 */ b lbl_802D7F4C -lbl_802D7F1C: -/* 802D7F1C 002D4E7C 28 06 00 00 */ cmplwi r6, 0 -/* 802D7F20 002D4E80 41 82 00 24 */ beq lbl_802D7F44 -/* 802D7F24 002D4E84 80 07 00 00 */ lwz r0, 0(r7) -/* 802D7F28 002D4E88 90 06 00 00 */ stw r0, 0(r6) -/* 802D7F2C 002D4E8C 80 07 00 04 */ lwz r0, 4(r7) -/* 802D7F30 002D4E90 90 06 00 04 */ stw r0, 4(r6) -/* 802D7F34 002D4E94 80 86 00 04 */ lwz r4, 4(r6) -/* 802D7F38 002D4E98 80 64 00 04 */ lwz r3, 4(r4) -/* 802D7F3C 002D4E9C 38 03 00 01 */ addi r0, r3, 1 -/* 802D7F40 002D4EA0 90 04 00 04 */ stw r0, 4(r4) -lbl_802D7F44: -/* 802D7F44 002D4EA4 38 C6 00 08 */ addi r6, r6, 8 -/* 802D7F48 002D4EA8 38 E7 00 08 */ addi r7, r7, 8 -lbl_802D7F4C: -/* 802D7F4C 002D4EAC 7C 07 28 40 */ cmplw r7, r5 -/* 802D7F50 002D4EB0 40 82 FF CC */ bne lbl_802D7F1C -/* 802D7F54 002D4EB4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D7F58 002D4EB8 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 802D7F5C 002D4EBC 54 00 18 38 */ slwi r0, r0, 3 -/* 802D7F60 002D4EC0 7F 9B 02 14 */ add r28, r27, r0 -/* 802D7F64 002D4EC4 48 00 00 20 */ b lbl_802D7F84 -lbl_802D7F68: -/* 802D7F68 002D4EC8 28 1B 00 00 */ cmplwi r27, 0 -/* 802D7F6C 002D4ECC 41 82 00 14 */ beq lbl_802D7F80 -/* 802D7F70 002D4ED0 34 1B 00 04 */ addic. r0, r27, 4 -/* 802D7F74 002D4ED4 41 82 00 0C */ beq lbl_802D7F80 -/* 802D7F78 002D4ED8 38 7B 00 04 */ addi r3, r27, 4 -/* 802D7F7C 002D4EDC 4B D5 C3 19 */ bl __dt__17CMetaTransFactoryFv -lbl_802D7F80: -/* 802D7F80 002D4EE0 3B 7B 00 08 */ addi r27, r27, 8 -lbl_802D7F84: -/* 802D7F84 002D4EE4 7C 1B E0 40 */ cmplw r27, r28 -/* 802D7F88 002D4EE8 40 82 FF E0 */ bne lbl_802D7F68 -/* 802D7F8C 002D4EEC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D7F90 002D4EF0 28 03 00 00 */ cmplwi r3, 0 -/* 802D7F94 002D4EF4 41 82 00 08 */ beq lbl_802D7F9C -/* 802D7F98 002D4EF8 48 03 D9 99 */ bl Free__7CMemoryFPCv -lbl_802D7F9C: -/* 802D7F9C 002D4EFC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802D7FA0 002D4F00 93 FE 00 08 */ stw r31, 8(r30) -lbl_802D7FA4: -/* 802D7FA4 002D4F04 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802D7FA8 002D4F08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D7FAC 002D4F0C 7C 08 03 A6 */ mtlr r0 -/* 802D7FB0 002D4F10 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D7FB4 002D4F14 4E 80 00 20 */ blr - -.global "reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl77vector,Q24rstl17rmemory_allocator>Fi": -/* 802D7FB8 002D4F18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D7FBC 002D4F1C 7C 08 02 A6 */ mflr r0 -/* 802D7FC0 002D4F20 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D7FC4 002D4F24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D7FC8 002D4F28 7C 9F 23 78 */ mr r31, r4 -/* 802D7FCC 002D4F2C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D7FD0 002D4F30 7C 7E 1B 78 */ mr r30, r3 -/* 802D7FD4 002D4F34 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D7FD8 002D4F38 80 03 00 08 */ lwz r0, 8(r3) -/* 802D7FDC 002D4F3C 7C 1F 00 00 */ cmpw r31, r0 -/* 802D7FE0 002D4F40 40 81 00 BC */ ble lbl_802D809C -/* 802D7FE4 002D4F44 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 802D7FE8 002D4F48 2C 03 00 00 */ cmpwi r3, 0 -/* 802D7FEC 002D4F4C 40 82 00 0C */ bne lbl_802D7FF8 -/* 802D7FF0 002D4F50 3B A0 00 00 */ li r29, 0 -/* 802D7FF4 002D4F54 48 00 00 18 */ b lbl_802D800C -lbl_802D7FF8: -/* 802D7FF8 002D4F58 3C 80 80 3D */ lis r4, lbl_803D6D28@ha -/* 802D7FFC 002D4F5C 38 A0 00 00 */ li r5, 0 -/* 802D8000 002D4F60 38 84 6D 28 */ addi r4, r4, lbl_803D6D28@l -/* 802D8004 002D4F64 48 03 D8 15 */ bl __nwa__FUlPCcPCc -/* 802D8008 002D4F68 7C 7D 1B 78 */ mr r29, r3 -lbl_802D800C: -/* 802D800C 002D4F6C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D8010 002D4F70 7F A4 EB 78 */ mr r4, r29 -/* 802D8014 002D4F74 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802D8018 002D4F78 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802D801C 002D4F7C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802D8020 002D4F80 7C 65 02 14 */ add r3, r5, r0 -/* 802D8024 002D4F84 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802D8028 002D4F88 90 61 00 08 */ stw r3, 8(r1) -/* 802D802C 002D4F8C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802D8030 002D4F90 48 00 00 2C */ b lbl_802D805C -lbl_802D8034: -/* 802D8034 002D4F94 28 04 00 00 */ cmplwi r4, 0 -/* 802D8038 002D4F98 41 82 00 1C */ beq lbl_802D8054 -/* 802D803C 002D4F9C 80 05 00 00 */ lwz r0, 0(r5) -/* 802D8040 002D4FA0 90 04 00 00 */ stw r0, 0(r4) -/* 802D8044 002D4FA4 C0 05 00 04 */ lfs f0, 4(r5) -/* 802D8048 002D4FA8 D0 04 00 04 */ stfs f0, 4(r4) -/* 802D804C 002D4FAC C0 05 00 08 */ lfs f0, 8(r5) -/* 802D8050 002D4FB0 D0 04 00 08 */ stfs f0, 8(r4) -lbl_802D8054: -/* 802D8054 002D4FB4 38 84 00 0C */ addi r4, r4, 0xc -/* 802D8058 002D4FB8 38 A5 00 0C */ addi r5, r5, 0xc -lbl_802D805C: -/* 802D805C 002D4FBC 7C 05 18 40 */ cmplw r5, r3 -/* 802D8060 002D4FC0 40 82 FF D4 */ bne lbl_802D8034 -/* 802D8064 002D4FC4 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D8068 002D4FC8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D806C 002D4FCC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802D8070 002D4FD0 7C 64 1B 78 */ mr r4, r3 -/* 802D8074 002D4FD4 7C 03 02 14 */ add r0, r3, r0 -/* 802D8078 002D4FD8 48 00 00 08 */ b lbl_802D8080 -lbl_802D807C: -/* 802D807C 002D4FDC 38 84 00 0C */ addi r4, r4, 0xc -lbl_802D8080: -/* 802D8080 002D4FE0 7C 04 00 40 */ cmplw r4, r0 -/* 802D8084 002D4FE4 40 82 FF F8 */ bne lbl_802D807C -/* 802D8088 002D4FE8 28 03 00 00 */ cmplwi r3, 0 -/* 802D808C 002D4FEC 41 82 00 08 */ beq lbl_802D8094 -/* 802D8090 002D4FF0 48 03 D8 A1 */ bl Free__7CMemoryFPCv -lbl_802D8094: -/* 802D8094 002D4FF4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 802D8098 002D4FF8 93 FE 00 08 */ stw r31, 8(r30) -lbl_802D809C: -/* 802D809C 002D4FFC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D80A0 002D5000 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D80A4 002D5004 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D80A8 002D5008 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D80AC 002D500C 7C 08 03 A6 */ mtlr r0 -/* 802D80B0 002D5010 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D80B4 002D5014 4E 80 00 20 */ blr - -.global FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FAnimCharacterSet__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 802D80B8 002D5018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D80BC 002D501C 7C 08 02 A6 */ mflr r0 -/* 802D80C0 002D5020 3C 80 80 3D */ lis r4, lbl_803D6D30@ha -/* 802D80C4 002D5024 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D80C8 002D5028 38 84 6D 30 */ addi r4, r4, lbl_803D6D30@l -/* 802D80CC 002D502C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D80D0 002D5030 7C BF 2B 78 */ mr r31, r5 -/* 802D80D4 002D5034 38 A0 00 00 */ li r5, 0 -/* 802D80D8 002D5038 93 C1 00 08 */ stw r30, 8(r1) -/* 802D80DC 002D503C 7C 7E 1B 78 */ mr r30, r3 -/* 802D80E0 002D5040 38 60 00 78 */ li r3, 0x78 -/* 802D80E4 002D5044 48 03 D7 89 */ bl __nw__FUlPCcPCc -/* 802D80E8 002D5048 7C 64 1B 79 */ or. r4, r3, r3 -/* 802D80EC 002D504C 41 82 00 10 */ beq lbl_802D80FC -/* 802D80F0 002D5050 7F E4 FB 78 */ mr r4, r31 -/* 802D80F4 002D5054 48 00 05 AD */ bl __ct__17CAnimCharacterSetFR12CInputStream -/* 802D80F8 002D5058 7C 64 1B 78 */ mr r4, r3 -lbl_802D80FC: -/* 802D80FC 002D505C 7F C3 F3 78 */ mr r3, r30 -/* 802D8100 002D5060 48 00 00 1D */ bl sub_802d811c -/* 802D8104 002D5064 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8108 002D5068 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D810C 002D506C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8110 002D5070 7C 08 03 A6 */ mtlr r0 -/* 802D8114 002D5074 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8118 002D5078 4E 80 00 20 */ blr - -.global sub_802d811c -sub_802d811c: -/* 802D811C 002D507C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D8120 002D5080 7C 08 02 A6 */ mflr r0 -/* 802D8124 002D5084 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D8128 002D5088 7C 04 00 D0 */ neg r0, r4 -/* 802D812C 002D508C 7C 00 23 78 */ or r0, r0, r4 -/* 802D8130 002D5090 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D8134 002D5094 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802D8138 002D5098 7C 7F 1B 78 */ mr r31, r3 -/* 802D813C 002D509C 38 61 00 08 */ addi r3, r1, 8 -/* 802D8140 002D50A0 90 81 00 14 */ stw r4, 0x14(r1) -/* 802D8144 002D50A4 38 81 00 10 */ addi r4, r1, 0x10 -/* 802D8148 002D50A8 98 01 00 10 */ stb r0, 0x10(r1) -/* 802D814C 002D50AC 48 00 04 29 */ bl sub_802d8574 -/* 802D8150 002D50B0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802D8154 002D50B4 38 00 00 00 */ li r0, 0 -/* 802D8158 002D50B8 98 01 00 08 */ stb r0, 8(r1) -/* 802D815C 002D50BC 7C 03 00 D0 */ neg r0, r3 -/* 802D8160 002D50C0 7C 00 1B 78 */ or r0, r0, r3 -/* 802D8164 002D50C4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802D8168 002D50C8 98 1F 00 00 */ stb r0, 0(r31) -/* 802D816C 002D50CC 90 7F 00 04 */ stw r3, 4(r31) -/* 802D8170 002D50D0 88 01 00 08 */ lbz r0, 8(r1) -/* 802D8174 002D50D4 28 00 00 00 */ cmplwi r0, 0 -/* 802D8178 002D50D8 41 82 00 24 */ beq lbl_802D819C -/* 802D817C 002D50DC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 802D8180 002D50E0 28 03 00 00 */ cmplwi r3, 0 -/* 802D8184 002D50E4 41 82 00 18 */ beq lbl_802D819C -/* 802D8188 002D50E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802D818C 002D50EC 38 80 00 01 */ li r4, 1 -/* 802D8190 002D50F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8194 002D50F4 7D 89 03 A6 */ mtctr r12 -/* 802D8198 002D50F8 4E 80 04 21 */ bctrl -lbl_802D819C: -/* 802D819C 002D50FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D81A0 002D5100 38 80 FF FF */ li r4, -1 -/* 802D81A4 002D5104 48 00 04 99 */ bl sub_802d863c -/* 802D81A8 002D5108 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D81AC 002D510C 7F E3 FB 78 */ mr r3, r31 -/* 802D81B0 002D5110 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D81B4 002D5114 7C 08 03 A6 */ mtlr r0 -/* 802D81B8 002D5118 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D81BC 002D511C 4E 80 00 20 */ blr - -.global sub_802d81c0 -sub_802d81c0: -/* 802D81C0 002D5120 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D81C4 002D5124 7C 08 02 A6 */ mflr r0 -/* 802D81C8 002D5128 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D81CC 002D512C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D81D0 002D5130 7C 9F 23 78 */ mr r31, r4 -/* 802D81D4 002D5134 93 C1 00 08 */ stw r30, 8(r1) -/* 802D81D8 002D5138 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D81DC 002D513C 41 82 00 58 */ beq lbl_802D8234 -/* 802D81E0 002D5140 3C 60 80 3F */ lis r3, lbl_803ECBD0@ha -/* 802D81E4 002D5144 38 03 CB D0 */ addi r0, r3, lbl_803ECBD0@l -/* 802D81E8 002D5148 90 1E 00 00 */ stw r0, 0(r30) -/* 802D81EC 002D514C 80 7E 00 04 */ lwz r3, 4(r30) -/* 802D81F0 002D5150 28 03 00 00 */ cmplwi r3, 0 -/* 802D81F4 002D5154 41 82 00 0C */ beq lbl_802D8200 -/* 802D81F8 002D5158 38 80 00 01 */ li r4, 1 -/* 802D81FC 002D515C 48 00 00 55 */ bl sub_802d8250 -lbl_802D8200: -/* 802D8200 002D5160 28 1E 00 00 */ cmplwi r30, 0 -/* 802D8204 002D5164 41 82 00 20 */ beq lbl_802D8224 -/* 802D8208 002D5168 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 802D820C 002D516C 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 802D8210 002D5170 90 1E 00 00 */ stw r0, 0(r30) -/* 802D8214 002D5174 41 82 00 10 */ beq lbl_802D8224 -/* 802D8218 002D5178 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 802D821C 002D517C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 802D8220 002D5180 90 1E 00 00 */ stw r0, 0(r30) -lbl_802D8224: -/* 802D8224 002D5184 7F E0 07 35 */ extsh. r0, r31 -/* 802D8228 002D5188 40 81 00 0C */ ble lbl_802D8234 -/* 802D822C 002D518C 7F C3 F3 78 */ mr r3, r30 -/* 802D8230 002D5190 48 03 D7 01 */ bl Free__7CMemoryFPCv -lbl_802D8234: -/* 802D8234 002D5194 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8238 002D5198 7F C3 F3 78 */ mr r3, r30 -/* 802D823C 002D519C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8240 002D51A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8244 002D51A4 7C 08 03 A6 */ mtlr r0 -/* 802D8248 002D51A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D824C 002D51AC 4E 80 00 20 */ blr - -.global sub_802d8250 -sub_802d8250: -/* 802D8250 002D51B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8254 002D51B4 7C 08 02 A6 */ mflr r0 -/* 802D8258 002D51B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D825C 002D51BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D8260 002D51C0 7C 9F 23 78 */ mr r31, r4 -/* 802D8264 002D51C4 93 C1 00 08 */ stw r30, 8(r1) -/* 802D8268 002D51C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D826C 002D51CC 41 82 00 2C */ beq lbl_802D8298 -/* 802D8270 002D51D0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802D8274 002D51D4 38 80 FF FF */ li r4, -1 -/* 802D8278 002D51D8 48 00 01 ED */ bl sub_802d8464 -/* 802D827C 002D51DC 38 7E 00 04 */ addi r3, r30, 4 -/* 802D8280 002D51E0 38 80 FF FF */ li r4, -1 -/* 802D8284 002D51E4 48 00 00 31 */ bl sub_802d82b4 -/* 802D8288 002D51E8 7F E0 07 35 */ extsh. r0, r31 -/* 802D828C 002D51EC 40 81 00 0C */ ble lbl_802D8298 -/* 802D8290 002D51F0 7F C3 F3 78 */ mr r3, r30 -/* 802D8294 002D51F4 48 03 D6 9D */ bl Free__7CMemoryFPCv -lbl_802D8298: -/* 802D8298 002D51F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D829C 002D51FC 7F C3 F3 78 */ mr r3, r30 -/* 802D82A0 002D5200 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D82A4 002D5204 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D82A8 002D5208 7C 08 03 A6 */ mtlr r0 -/* 802D82AC 002D520C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D82B0 002D5210 4E 80 00 20 */ blr - -.global sub_802d82b4 -sub_802d82b4: -/* 802D82B4 002D5214 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D82B8 002D5218 7C 08 02 A6 */ mflr r0 -/* 802D82BC 002D521C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D82C0 002D5220 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D82C4 002D5224 7C 9F 23 78 */ mr r31, r4 -/* 802D82C8 002D5228 93 C1 00 08 */ stw r30, 8(r1) -/* 802D82CC 002D522C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D82D0 002D5230 41 82 00 20 */ beq lbl_802D82F0 -/* 802D82D4 002D5234 38 7E 00 04 */ addi r3, r30, 4 -/* 802D82D8 002D5238 38 80 FF FF */ li r4, -1 -/* 802D82DC 002D523C 48 00 00 31 */ bl sub_802d830c -/* 802D82E0 002D5240 7F E0 07 35 */ extsh. r0, r31 -/* 802D82E4 002D5244 40 81 00 0C */ ble lbl_802D82F0 -/* 802D82E8 002D5248 7F C3 F3 78 */ mr r3, r30 -/* 802D82EC 002D524C 48 03 D6 45 */ bl Free__7CMemoryFPCv -lbl_802D82F0: -/* 802D82F0 002D5250 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D82F4 002D5254 7F C3 F3 78 */ mr r3, r30 -/* 802D82F8 002D5258 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D82FC 002D525C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8300 002D5260 7C 08 03 A6 */ mtlr r0 -/* 802D8304 002D5264 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8308 002D5268 4E 80 00 20 */ blr - -.global sub_802d830c -sub_802d830c: -/* 802D830C 002D526C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D8310 002D5270 7C 08 02 A6 */ mflr r0 -/* 802D8314 002D5274 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D8318 002D5278 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D831C 002D527C 7C 9F 23 78 */ mr r31, r4 -/* 802D8320 002D5280 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D8324 002D5284 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8328 002D5288 41 82 00 54 */ beq lbl_802D837C -/* 802D832C 002D528C 80 1E 00 04 */ lwz r0, 4(r30) -/* 802D8330 002D5290 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D8334 002D5294 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802D8338 002D5298 38 81 00 0C */ addi r4, r1, 0xc -/* 802D833C 002D529C 1C 00 00 C4 */ mulli r0, r0, 0xc4 -/* 802D8340 002D52A0 7C A5 02 14 */ add r5, r5, r0 -/* 802D8344 002D52A4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D8348 002D52A8 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 802D834C 002D52AC 90 A1 00 08 */ stw r5, 8(r1) -/* 802D8350 002D52B0 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D8354 002D52B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8358 002D52B8 48 00 00 41 */ bl sub_802d8398 -/* 802D835C 002D52BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D8360 002D52C0 28 03 00 00 */ cmplwi r3, 0 -/* 802D8364 002D52C4 41 82 00 08 */ beq lbl_802D836C -/* 802D8368 002D52C8 48 03 D5 C9 */ bl Free__7CMemoryFPCv -lbl_802D836C: -/* 802D836C 002D52CC 7F E0 07 35 */ extsh. r0, r31 -/* 802D8370 002D52D0 40 81 00 0C */ ble lbl_802D837C -/* 802D8374 002D52D4 7F C3 F3 78 */ mr r3, r30 -/* 802D8378 002D52D8 48 03 D5 B9 */ bl Free__7CMemoryFPCv -lbl_802D837C: -/* 802D837C 002D52DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D8380 002D52E0 7F C3 F3 78 */ mr r3, r30 -/* 802D8384 002D52E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D8388 002D52E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D838C 002D52EC 7C 08 03 A6 */ mtlr r0 -/* 802D8390 002D52F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D8394 002D52F4 4E 80 00 20 */ blr - -.global sub_802d8398 -sub_802d8398: -/* 802D8398 002D52F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D839C 002D52FC 7C 08 02 A6 */ mflr r0 -/* 802D83A0 002D5300 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D83A4 002D5304 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D83A8 002D5308 93 C1 00 08 */ stw r30, 8(r1) -/* 802D83AC 002D530C 7C 9E 23 78 */ mr r30, r4 -/* 802D83B0 002D5310 83 E3 00 00 */ lwz r31, 0(r3) -/* 802D83B4 002D5314 48 00 00 10 */ b lbl_802D83C4 -lbl_802D83B8: -/* 802D83B8 002D5318 7F E3 FB 78 */ mr r3, r31 -/* 802D83BC 002D531C 48 00 00 2D */ bl sub_802d83e8 -/* 802D83C0 002D5320 3B FF 00 C4 */ addi r31, r31, 0xc4 -lbl_802D83C4: -/* 802D83C4 002D5324 80 1E 00 00 */ lwz r0, 0(r30) -/* 802D83C8 002D5328 7C 1F 00 40 */ cmplw r31, r0 -/* 802D83CC 002D532C 40 82 FF EC */ bne lbl_802D83B8 -/* 802D83D0 002D5330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D83D4 002D5334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D83D8 002D5338 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D83DC 002D533C 7C 08 03 A6 */ mtlr r0 -/* 802D83E0 002D5340 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D83E4 002D5344 4E 80 00 20 */ blr - -.global sub_802d83e8 -sub_802d83e8: -/* 802D83E8 002D5348 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D83EC 002D534C 7C 08 02 A6 */ mflr r0 -/* 802D83F0 002D5350 38 80 FF FF */ li r4, -1 -/* 802D83F4 002D5354 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D83F8 002D5358 48 00 00 15 */ bl __dt__13CAnimationSetFv -/* 802D83FC 002D535C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8400 002D5360 7C 08 03 A6 */ mtlr r0 -/* 802D8404 002D5364 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8408 002D5368 4E 80 00 20 */ blr - -.global __dt__13CAnimationSetFv -__dt__13CAnimationSetFv: -/* 802D840C 002D536C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8410 002D5370 7C 08 02 A6 */ mflr r0 -/* 802D8414 002D5374 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8418 002D5378 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D841C 002D537C 7C 9F 23 78 */ mr r31, r4 -/* 802D8420 002D5380 93 C1 00 08 */ stw r30, 8(r1) -/* 802D8424 002D5384 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8428 002D5388 41 82 00 20 */ beq lbl_802D8448 -/* 802D842C 002D538C 38 7E 00 04 */ addi r3, r30, 4 -/* 802D8430 002D5390 38 80 FF FF */ li r4, -1 -/* 802D8434 002D5394 4B D5 6A 91 */ bl __dt__14CCharacterInfoFv -/* 802D8438 002D5398 7F E0 07 35 */ extsh. r0, r31 -/* 802D843C 002D539C 40 81 00 0C */ ble lbl_802D8448 -/* 802D8440 002D53A0 7F C3 F3 78 */ mr r3, r30 -/* 802D8444 002D53A4 48 03 D4 ED */ bl Free__7CMemoryFPCv -lbl_802D8448: -/* 802D8448 002D53A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D844C 002D53AC 7F C3 F3 78 */ mr r3, r30 -/* 802D8450 002D53B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8454 002D53B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8458 002D53B8 7C 08 03 A6 */ mtlr r0 -/* 802D845C 002D53BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8460 002D53C0 4E 80 00 20 */ blr - -.global sub_802d8464 -sub_802d8464: -/* 802D8464 002D53C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D8468 002D53C8 7C 08 02 A6 */ mflr r0 -/* 802D846C 002D53CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D8470 002D53D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D8474 002D53D4 7C 9F 23 78 */ mr r31, r4 -/* 802D8478 002D53D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D847C 002D53DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8480 002D53E0 41 82 00 D8 */ beq lbl_802D8558 -/* 802D8484 002D53E4 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 802D8488 002D53E8 41 82 00 44 */ beq lbl_802D84CC -/* 802D848C 002D53EC 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 802D8490 002D53F0 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 802D8494 002D53F4 54 00 18 38 */ slwi r0, r0, 3 -/* 802D8498 002D53F8 7C 03 02 14 */ add r0, r3, r0 -/* 802D849C 002D53FC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802D84A0 002D5400 7C 64 1B 78 */ mr r4, r3 -/* 802D84A4 002D5404 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D84A8 002D5408 90 01 00 20 */ stw r0, 0x20(r1) -/* 802D84AC 002D540C 90 61 00 18 */ stw r3, 0x18(r1) -/* 802D84B0 002D5410 48 00 00 08 */ b lbl_802D84B8 -lbl_802D84B4: -/* 802D84B4 002D5414 38 84 00 08 */ addi r4, r4, 8 -lbl_802D84B8: -/* 802D84B8 002D5418 7C 04 00 40 */ cmplw r4, r0 -/* 802D84BC 002D541C 40 82 FF F8 */ bne lbl_802D84B4 -/* 802D84C0 002D5420 28 03 00 00 */ cmplwi r3, 0 -/* 802D84C4 002D5424 41 82 00 08 */ beq lbl_802D84CC -/* 802D84C8 002D5428 48 03 D4 69 */ bl Free__7CMemoryFPCv -lbl_802D84CC: -/* 802D84CC 002D542C 38 7E 00 40 */ addi r3, r30, 0x40 -/* 802D84D0 002D5430 38 80 FF FF */ li r4, -1 -/* 802D84D4 002D5434 4B FF F2 89 */ bl "__dt__Q24rstl52vector<15CHalfTransition,Q24rstl17rmemory_allocator>Fv" -/* 802D84D8 002D5438 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 802D84DC 002D543C 41 82 00 44 */ beq lbl_802D8520 -/* 802D84E0 002D5440 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 802D84E4 002D5444 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 802D84E8 002D5448 1C 00 00 0C */ mulli r0, r0, 0xc -/* 802D84EC 002D544C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802D84F0 002D5450 7C 64 1B 78 */ mr r4, r3 -/* 802D84F4 002D5454 7C 03 02 14 */ add r0, r3, r0 -/* 802D84F8 002D5458 90 61 00 08 */ stw r3, 8(r1) -/* 802D84FC 002D545C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8500 002D5460 90 01 00 10 */ stw r0, 0x10(r1) -/* 802D8504 002D5464 48 00 00 08 */ b lbl_802D850C -lbl_802D8508: -/* 802D8508 002D5468 38 84 00 0C */ addi r4, r4, 0xc -lbl_802D850C: -/* 802D850C 002D546C 7C 04 00 40 */ cmplw r4, r0 -/* 802D8510 002D5470 40 82 FF F8 */ bne lbl_802D8508 -/* 802D8514 002D5474 28 03 00 00 */ cmplwi r3, 0 -/* 802D8518 002D5478 41 82 00 08 */ beq lbl_802D8520 -/* 802D851C 002D547C 48 03 D4 15 */ bl Free__7CMemoryFPCv -lbl_802D8520: -/* 802D8520 002D5480 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 802D8524 002D5484 41 82 00 0C */ beq lbl_802D8530 -/* 802D8528 002D5488 38 7E 00 24 */ addi r3, r30, 0x24 -/* 802D852C 002D548C 4B D5 BD 69 */ bl __dt__17CMetaTransFactoryFv -lbl_802D8530: -/* 802D8530 002D5490 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802D8534 002D5494 38 80 FF FF */ li r4, -1 -/* 802D8538 002D5498 4B FF F2 D9 */ bl sub_802d7810 -/* 802D853C 002D549C 38 7E 00 04 */ addi r3, r30, 4 -/* 802D8540 002D54A0 38 80 FF FF */ li r4, -1 -/* 802D8544 002D54A4 4B FF F4 F5 */ bl sub_802d7a38 -/* 802D8548 002D54A8 7F E0 07 35 */ extsh. r0, r31 -/* 802D854C 002D54AC 40 81 00 0C */ ble lbl_802D8558 -/* 802D8550 002D54B0 7F C3 F3 78 */ mr r3, r30 -/* 802D8554 002D54B4 48 03 D3 DD */ bl Free__7CMemoryFPCv -lbl_802D8558: -/* 802D8558 002D54B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D855C 002D54BC 7F C3 F3 78 */ mr r3, r30 -/* 802D8560 002D54C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D8564 002D54C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D8568 002D54C8 7C 08 03 A6 */ mtlr r0 -/* 802D856C 002D54CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D8570 002D54D0 4E 80 00 20 */ blr - -.global sub_802d8574 -sub_802d8574: -/* 802D8574 002D54D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8578 002D54D8 7C 08 02 A6 */ mflr r0 -/* 802D857C 002D54DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8580 002D54E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D8584 002D54E4 7C 7F 1B 78 */ mr r31, r3 -/* 802D8588 002D54E8 48 00 00 19 */ bl sub_802d85a0 -/* 802D858C 002D54EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8590 002D54F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8594 002D54F4 7C 08 03 A6 */ mtlr r0 -/* 802D8598 002D54F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D859C 002D54FC 4E 80 00 20 */ blr - -.global sub_802d85a0 -sub_802d85a0: -/* 802D85A0 002D5500 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D85A4 002D5504 7C 08 02 A6 */ mflr r0 -/* 802D85A8 002D5508 3C A0 80 3D */ lis r5, lbl_803D6D30@ha -/* 802D85AC 002D550C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D85B0 002D5510 38 05 6D 30 */ addi r0, r5, lbl_803D6D30@l -/* 802D85B4 002D5514 38 A0 00 00 */ li r5, 0 -/* 802D85B8 002D5518 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D85BC 002D551C 7C 9F 23 78 */ mr r31, r4 -/* 802D85C0 002D5520 7C 04 03 78 */ mr r4, r0 -/* 802D85C4 002D5524 93 C1 00 08 */ stw r30, 8(r1) -/* 802D85C8 002D5528 7C 7E 1B 78 */ mr r30, r3 -/* 802D85CC 002D552C 38 60 00 08 */ li r3, 8 -/* 802D85D0 002D5530 48 03 D2 9D */ bl __nw__FUlPCcPCc -/* 802D85D4 002D5534 28 03 00 00 */ cmplwi r3, 0 -/* 802D85D8 002D5538 41 82 00 38 */ beq lbl_802D8610 -/* 802D85DC 002D553C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 802D85E0 002D5540 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 802D85E4 002D5544 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 802D85E8 002D5548 3C 80 80 3F */ lis r4, lbl_803ECBD0@ha -/* 802D85EC 002D554C 90 03 00 00 */ stw r0, 0(r3) -/* 802D85F0 002D5550 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 802D85F4 002D5554 38 A0 00 00 */ li r5, 0 -/* 802D85F8 002D5558 38 04 CB D0 */ addi r0, r4, lbl_803ECBD0@l -/* 802D85FC 002D555C 90 C3 00 00 */ stw r6, 0(r3) -/* 802D8600 002D5560 98 BF 00 00 */ stb r5, 0(r31) -/* 802D8604 002D5564 80 9F 00 04 */ lwz r4, 4(r31) -/* 802D8608 002D5568 90 83 00 04 */ stw r4, 4(r3) -/* 802D860C 002D556C 90 03 00 00 */ stw r0, 0(r3) -lbl_802D8610: -/* 802D8610 002D5570 7C 03 00 D0 */ neg r0, r3 -/* 802D8614 002D5574 7C 00 1B 78 */ or r0, r0, r3 -/* 802D8618 002D5578 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802D861C 002D557C 98 1E 00 00 */ stb r0, 0(r30) -/* 802D8620 002D5580 90 7E 00 04 */ stw r3, 4(r30) -/* 802D8624 002D5584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8628 002D5588 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D862C 002D558C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8630 002D5590 7C 08 03 A6 */ mtlr r0 -/* 802D8634 002D5594 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8638 002D5598 4E 80 00 20 */ blr - -.global sub_802d863c -sub_802d863c: -/* 802D863C 002D559C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8640 002D55A0 7C 08 02 A6 */ mflr r0 -/* 802D8644 002D55A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8648 002D55A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D864C 002D55AC 7C 9F 23 78 */ mr r31, r4 -/* 802D8650 002D55B0 93 C1 00 08 */ stw r30, 8(r1) -/* 802D8654 002D55B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8658 002D55B8 41 82 00 2C */ beq lbl_802D8684 -/* 802D865C 002D55BC 88 1E 00 00 */ lbz r0, 0(r30) -/* 802D8660 002D55C0 28 00 00 00 */ cmplwi r0, 0 -/* 802D8664 002D55C4 41 82 00 10 */ beq lbl_802D8674 -/* 802D8668 002D55C8 80 7E 00 04 */ lwz r3, 4(r30) -/* 802D866C 002D55CC 38 80 00 01 */ li r4, 1 -/* 802D8670 002D55D0 4B FF FB E1 */ bl sub_802d8250 -lbl_802D8674: -/* 802D8674 002D55D4 7F E0 07 35 */ extsh. r0, r31 -/* 802D8678 002D55D8 40 81 00 0C */ ble lbl_802D8684 -/* 802D867C 002D55DC 7F C3 F3 78 */ mr r3, r30 -/* 802D8680 002D55E0 48 03 D2 B1 */ bl Free__7CMemoryFPCv -lbl_802D8684: -/* 802D8684 002D55E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8688 002D55E8 7F C3 F3 78 */ mr r3, r30 -/* 802D868C 002D55EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8690 002D55F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8694 002D55F4 7C 08 03 A6 */ mtlr r0 -/* 802D8698 002D55F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D869C 002D55FC 4E 80 00 20 */ blr - -.global __ct__17CAnimCharacterSetFR12CInputStream -__ct__17CAnimCharacterSetFR12CInputStream: -/* 802D86A0 002D5600 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D86A4 002D5604 7C 08 02 A6 */ mflr r0 -/* 802D86A8 002D5608 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D86AC 002D560C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D86B0 002D5610 7C 9F 23 78 */ mr r31, r4 -/* 802D86B4 002D5614 93 C1 00 08 */ stw r30, 8(r1) -/* 802D86B8 002D5618 7C 7E 1B 78 */ mr r30, r3 -/* 802D86BC 002D561C 7F E3 FB 78 */ mr r3, r31 -/* 802D86C0 002D5620 48 06 65 F1 */ bl ReadShort__12CInputStreamFv -/* 802D86C4 002D5624 B0 7E 00 00 */ sth r3, 0(r30) -/* 802D86C8 002D5628 7F E4 FB 78 */ mr r4, r31 -/* 802D86CC 002D562C 38 7E 00 04 */ addi r3, r30, 4 -/* 802D86D0 002D5630 48 00 6E 05 */ bl __ct__13CCharacterSetFR12CInputStream -/* 802D86D4 002D5634 7F E4 FB 78 */ mr r4, r31 -/* 802D86D8 002D5638 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802D86DC 002D563C 4B FF ED 25 */ bl __ct__13CAnimationSetFR12CInputStream -/* 802D86E0 002D5640 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D86E4 002D5644 7F C3 F3 78 */ mr r3, r30 -/* 802D86E8 002D5648 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D86EC 002D564C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D86F0 002D5650 7C 08 03 A6 */ mtlr r0 -/* 802D86F4 002D5654 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D86F8 002D5658 4E 80 00 20 */ blr - -.global __dt__15CAnimTreeLoopInFv -__dt__15CAnimTreeLoopInFv: -/* 802D86FC 002D565C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8700 002D5660 7C 08 02 A6 */ mflr r0 -/* 802D8704 002D5664 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8708 002D5668 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D870C 002D566C 7C 9F 23 78 */ mr r31, r4 -/* 802D8710 002D5670 93 C1 00 08 */ stw r30, 8(r1) -/* 802D8714 002D5674 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8718 002D5678 41 82 00 DC */ beq lbl_802D87F4 -/* 802D871C 002D567C 3C 80 80 3F */ lis r4, lbl_803ECBE0@ha -/* 802D8720 002D5680 38 7E 00 30 */ addi r3, r30, 0x30 -/* 802D8724 002D5684 38 04 CB E0 */ addi r0, r4, lbl_803ECBE0@l -/* 802D8728 002D5688 38 80 FF FF */ li r4, -1 -/* 802D872C 002D568C 90 1E 00 00 */ stw r0, 0(r30) -/* 802D8730 002D5690 48 00 00 E1 */ bl sub_802d8810 -/* 802D8734 002D5694 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 802D8738 002D5698 41 82 00 2C */ beq lbl_802D8764 -/* 802D873C 002D569C 34 7E 00 28 */ addic. r3, r30, 0x28 -/* 802D8740 002D56A0 41 82 00 10 */ beq lbl_802D8750 -/* 802D8744 002D56A4 28 03 00 00 */ cmplwi r3, 0 -/* 802D8748 002D56A8 41 82 00 08 */ beq lbl_802D8750 -/* 802D874C 002D56AC 4B D5 8F DD */ bl sub_80031728 -lbl_802D8750: -/* 802D8750 002D56B0 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 802D8754 002D56B4 41 82 00 10 */ beq lbl_802D8764 -/* 802D8758 002D56B8 38 7E 00 20 */ addi r3, r30, 0x20 -/* 802D875C 002D56BC 38 80 00 00 */ li r4, 0 -/* 802D8760 002D56C0 48 06 86 E1 */ bl __dt__6CTokenFv -lbl_802D8764: -/* 802D8764 002D56C4 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 802D8768 002D56C8 41 82 00 14 */ beq lbl_802D877C -/* 802D876C 002D56CC 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 802D8770 002D56D0 41 82 00 0C */ beq lbl_802D877C -/* 802D8774 002D56D4 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802D8778 002D56D8 4B D5 88 29 */ bl sub_80030fa0 -lbl_802D877C: -/* 802D877C 002D56DC 28 1E 00 00 */ cmplwi r30, 0 -/* 802D8780 002D56E0 41 82 00 64 */ beq lbl_802D87E4 -/* 802D8784 002D56E4 3C 60 80 3F */ lis r3, lbl_803ED240@ha -/* 802D8788 002D56E8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 802D878C 002D56EC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l -/* 802D8790 002D56F0 90 1E 00 00 */ stw r0, 0(r30) -/* 802D8794 002D56F4 41 82 00 14 */ beq lbl_802D87A8 -/* 802D8798 002D56F8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 802D879C 002D56FC 41 82 00 0C */ beq lbl_802D87A8 -/* 802D87A0 002D5700 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802D87A4 002D5704 4B D5 87 FD */ bl sub_80030fa0 -lbl_802D87A8: -/* 802D87A8 002D5708 28 1E 00 00 */ cmplwi r30, 0 -/* 802D87AC 002D570C 41 82 00 38 */ beq lbl_802D87E4 -/* 802D87B0 002D5710 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha -/* 802D87B4 002D5714 38 80 00 02 */ li r4, 2 -/* 802D87B8 002D5718 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l -/* 802D87BC 002D571C 90 1E 00 00 */ stw r0, 0(r30) -/* 802D87C0 002D5720 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D87C4 002D5724 48 01 F3 E5 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem -/* 802D87C8 002D5728 34 1E 00 04 */ addic. r0, r30, 4 -/* 802D87CC 002D572C 41 82 00 0C */ beq lbl_802D87D8 -/* 802D87D0 002D5730 38 7E 00 04 */ addi r3, r30, 4 -/* 802D87D4 002D5734 48 06 53 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802D87D8: -/* 802D87D8 002D5738 7F C3 F3 78 */ mr r3, r30 -/* 802D87DC 002D573C 38 80 00 00 */ li r4, 0 -/* 802D87E0 002D5740 48 02 56 F5 */ bl __dt__11IAnimReaderFv -lbl_802D87E4: -/* 802D87E4 002D5744 7F E0 07 35 */ extsh. r0, r31 -/* 802D87E8 002D5748 40 81 00 0C */ ble lbl_802D87F4 -/* 802D87EC 002D574C 7F C3 F3 78 */ mr r3, r30 -/* 802D87F0 002D5750 48 03 D1 41 */ bl Free__7CMemoryFPCv -lbl_802D87F4: -/* 802D87F4 002D5754 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D87F8 002D5758 7F C3 F3 78 */ mr r3, r30 -/* 802D87FC 002D575C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8800 002D5760 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D8804 002D5764 7C 08 03 A6 */ mtlr r0 -/* 802D8808 002D5768 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D880C 002D576C 4E 80 00 20 */ blr - -.global sub_802d8810 -sub_802d8810: -/* 802D8810 002D5770 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802D8814 002D5774 7C 08 02 A6 */ mflr r0 -/* 802D8818 002D5778 90 01 00 64 */ stw r0, 0x64(r1) -/* 802D881C 002D577C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802D8820 002D5780 7C 9F 23 78 */ mr r31, r4 -/* 802D8824 002D5784 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802D8828 002D5788 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D882C 002D578C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802D8830 002D5790 93 81 00 50 */ stw r28, 0x50(r1) -/* 802D8834 002D5794 41 82 01 94 */ beq lbl_802D89C8 -/* 802D8838 002D5798 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 802D883C 002D579C 41 82 00 5C */ beq lbl_802D8898 -/* 802D8840 002D57A0 80 1E 00 4C */ lwz r0, 0x4c(r30) -/* 802D8844 002D57A4 83 9E 00 54 */ lwz r28, 0x54(r30) -/* 802D8848 002D57A8 1C 00 00 44 */ mulli r0, r0, 0x44 -/* 802D884C 002D57AC 93 81 00 3C */ stw r28, 0x3c(r1) -/* 802D8850 002D57B0 7F BC 02 14 */ add r29, r28, r0 -/* 802D8854 002D57B4 93 81 00 38 */ stw r28, 0x38(r1) -/* 802D8858 002D57B8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802D885C 002D57BC 93 A1 00 40 */ stw r29, 0x40(r1) -/* 802D8860 002D57C0 48 00 00 20 */ b lbl_802D8880 -lbl_802D8864: -/* 802D8864 002D57C4 7F 83 E3 78 */ mr r3, r28 -/* 802D8868 002D57C8 38 80 FF FF */ li r4, -1 -/* 802D886C 002D57CC 81 9C 00 00 */ lwz r12, 0(r28) -/* 802D8870 002D57D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8874 002D57D4 7D 89 03 A6 */ mtctr r12 -/* 802D8878 002D57D8 4E 80 04 21 */ bctrl -/* 802D887C 002D57DC 3B 9C 00 44 */ addi r28, r28, 0x44 -lbl_802D8880: -/* 802D8880 002D57E0 7C 1C E8 40 */ cmplw r28, r29 -/* 802D8884 002D57E4 40 82 FF E0 */ bne lbl_802D8864 -/* 802D8888 002D57E8 80 7E 00 54 */ lwz r3, 0x54(r30) -/* 802D888C 002D57EC 28 03 00 00 */ cmplwi r3, 0 -/* 802D8890 002D57F0 41 82 00 08 */ beq lbl_802D8898 -/* 802D8894 002D57F4 48 03 D0 9D */ bl Free__7CMemoryFPCv -lbl_802D8898: -/* 802D8898 002D57F8 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 802D889C 002D57FC 41 82 00 5C */ beq lbl_802D88F8 -/* 802D88A0 002D5800 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 802D88A4 002D5804 83 9E 00 44 */ lwz r28, 0x44(r30) -/* 802D88A8 002D5808 1C 00 00 5C */ mulli r0, r0, 0x5c -/* 802D88AC 002D580C 93 81 00 2C */ stw r28, 0x2c(r1) -/* 802D88B0 002D5810 7F BC 02 14 */ add r29, r28, r0 -/* 802D88B4 002D5814 93 81 00 28 */ stw r28, 0x28(r1) -/* 802D88B8 002D5818 93 A1 00 34 */ stw r29, 0x34(r1) -/* 802D88BC 002D581C 93 A1 00 30 */ stw r29, 0x30(r1) -/* 802D88C0 002D5820 48 00 00 20 */ b lbl_802D88E0 -lbl_802D88C4: -/* 802D88C4 002D5824 7F 83 E3 78 */ mr r3, r28 -/* 802D88C8 002D5828 38 80 FF FF */ li r4, -1 -/* 802D88CC 002D582C 81 9C 00 00 */ lwz r12, 0(r28) -/* 802D88D0 002D5830 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D88D4 002D5834 7D 89 03 A6 */ mtctr r12 -/* 802D88D8 002D5838 4E 80 04 21 */ bctrl -/* 802D88DC 002D583C 3B 9C 00 5C */ addi r28, r28, 0x5c -lbl_802D88E0: -/* 802D88E0 002D5840 7C 1C E8 40 */ cmplw r28, r29 -/* 802D88E4 002D5844 40 82 FF E0 */ bne lbl_802D88C4 -/* 802D88E8 002D5848 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 802D88EC 002D584C 28 03 00 00 */ cmplwi r3, 0 -/* 802D88F0 002D5850 41 82 00 08 */ beq lbl_802D88F8 -/* 802D88F4 002D5854 48 03 D0 3D */ bl Free__7CMemoryFPCv -lbl_802D88F8: -/* 802D88F8 002D5858 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 802D88FC 002D585C 41 82 00 5C */ beq lbl_802D8958 -/* 802D8900 002D5860 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 802D8904 002D5864 83 9E 00 34 */ lwz r28, 0x34(r30) -/* 802D8908 002D5868 1C 00 00 4C */ mulli r0, r0, 0x4c -/* 802D890C 002D586C 93 81 00 1C */ stw r28, 0x1c(r1) -/* 802D8910 002D5870 7F BC 02 14 */ add r29, r28, r0 -/* 802D8914 002D5874 93 81 00 18 */ stw r28, 0x18(r1) -/* 802D8918 002D5878 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D891C 002D587C 93 A1 00 20 */ stw r29, 0x20(r1) -/* 802D8920 002D5880 48 00 00 20 */ b lbl_802D8940 -lbl_802D8924: -/* 802D8924 002D5884 7F 83 E3 78 */ mr r3, r28 -/* 802D8928 002D5888 38 80 FF FF */ li r4, -1 -/* 802D892C 002D588C 81 9C 00 00 */ lwz r12, 0(r28) -/* 802D8930 002D5890 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8934 002D5894 7D 89 03 A6 */ mtctr r12 -/* 802D8938 002D5898 4E 80 04 21 */ bctrl -/* 802D893C 002D589C 3B 9C 00 4C */ addi r28, r28, 0x4c -lbl_802D8940: -/* 802D8940 002D58A0 7C 1C E8 40 */ cmplw r28, r29 -/* 802D8944 002D58A4 40 82 FF E0 */ bne lbl_802D8924 -/* 802D8948 002D58A8 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 802D894C 002D58AC 28 03 00 00 */ cmplwi r3, 0 -/* 802D8950 002D58B0 41 82 00 08 */ beq lbl_802D8958 -/* 802D8954 002D58B4 48 03 CF DD */ bl Free__7CMemoryFPCv -lbl_802D8958: -/* 802D8958 002D58B8 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 802D895C 002D58BC 41 82 00 5C */ beq lbl_802D89B8 -/* 802D8960 002D58C0 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802D8964 002D58C4 83 9E 00 24 */ lwz r28, 0x24(r30) -/* 802D8968 002D58C8 1C 00 00 3C */ mulli r0, r0, 0x3c -/* 802D896C 002D58CC 93 81 00 0C */ stw r28, 0xc(r1) -/* 802D8970 002D58D0 7F BC 02 14 */ add r29, r28, r0 -/* 802D8974 002D58D4 93 81 00 08 */ stw r28, 8(r1) -/* 802D8978 002D58D8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802D897C 002D58DC 93 A1 00 10 */ stw r29, 0x10(r1) -/* 802D8980 002D58E0 48 00 00 20 */ b lbl_802D89A0 -lbl_802D8984: -/* 802D8984 002D58E4 7F 83 E3 78 */ mr r3, r28 -/* 802D8988 002D58E8 38 80 FF FF */ li r4, -1 -/* 802D898C 002D58EC 81 9C 00 00 */ lwz r12, 0(r28) -/* 802D8990 002D58F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8994 002D58F4 7D 89 03 A6 */ mtctr r12 -/* 802D8998 002D58F8 4E 80 04 21 */ bctrl -/* 802D899C 002D58FC 3B 9C 00 3C */ addi r28, r28, 0x3c -lbl_802D89A0: -/* 802D89A0 002D5900 7C 1C E8 40 */ cmplw r28, r29 -/* 802D89A4 002D5904 40 82 FF E0 */ bne lbl_802D8984 -/* 802D89A8 002D5908 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 802D89AC 002D590C 28 03 00 00 */ cmplwi r3, 0 -/* 802D89B0 002D5910 41 82 00 08 */ beq lbl_802D89B8 -/* 802D89B4 002D5914 48 03 CF 7D */ bl Free__7CMemoryFPCv -lbl_802D89B8: -/* 802D89B8 002D5918 7F E0 07 35 */ extsh. r0, r31 -/* 802D89BC 002D591C 40 81 00 0C */ ble lbl_802D89C8 -/* 802D89C0 002D5920 7F C3 F3 78 */ mr r3, r30 -/* 802D89C4 002D5924 48 03 CF 6D */ bl Free__7CMemoryFPCv -lbl_802D89C8: -/* 802D89C8 002D5928 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802D89CC 002D592C 7F C3 F3 78 */ mr r3, r30 -/* 802D89D0 002D5930 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802D89D4 002D5934 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802D89D8 002D5938 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 802D89DC 002D593C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 802D89E0 002D5940 7C 08 03 A6 */ mtlr r0 -/* 802D89E4 002D5944 38 21 00 60 */ addi r1, r1, 0x60 -/* 802D89E8 002D5948 4E 80 00 20 */ blr - -.global Depth__20CAnimTreeSingleChildCFv -Depth__20CAnimTreeSingleChildCFv: -/* 802D89EC 002D594C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D89F0 002D5950 7C 08 02 A6 */ mflr r0 -/* 802D89F4 002D5954 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D89F8 002D5958 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802D89FC 002D595C 80 63 00 00 */ lwz r3, 0(r3) -/* 802D8A00 002D5960 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8A04 002D5964 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 802D8A08 002D5968 7D 89 03 A6 */ mtctr r12 -/* 802D8A0C 002D596C 4E 80 04 21 */ bctrl -/* 802D8A10 002D5970 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8A14 002D5974 38 63 00 01 */ addi r3, r3, 1 -/* 802D8A18 002D5978 7C 08 03 A6 */ mtlr r0 -/* 802D8A1C 002D597C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8A20 002D5980 4E 80 00 20 */ blr - -.global "CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>" -"CreatePrimitiveName__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>": -/* 802D8A24 002D5984 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8A28 002D5988 7C 08 02 A6 */ mflr r0 -/* 802D8A2C 002D598C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D8A30 002D5990 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8A34 002D5994 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D8A38 002D5998 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D8A3C 002D599C 7C 7F 1B 78 */ mr r31, r3 -/* 802D8A40 002D59A0 4B D2 C2 79 */ bl string_l__4rstlFPCc -/* 802D8A44 002D59A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8A48 002D59A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8A4C 002D59AC 7C 08 03 A6 */ mtlr r0 -/* 802D8A50 002D59B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8A54 002D59B4 4E 80 00 20 */ blr - -.global VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv -VGetContributionOfHighestInfluence__15CAnimTreeLoopInCFv: -/* 802D8A58 002D59B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8A5C 002D59BC 7C 08 02 A6 */ mflr r0 -/* 802D8A60 002D59C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8A64 002D59C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D8A68 002D59C8 7C 7F 1B 78 */ mr r31, r3 -/* 802D8A6C 002D59CC 80 84 00 14 */ lwz r4, 0x14(r4) -/* 802D8A70 002D59D0 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8A74 002D59D4 4B D5 61 15 */ bl GetContributionOfHighestInfluence__13CAnimTreeNodeCFv -/* 802D8A78 002D59D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8A7C 002D59DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8A80 002D59E0 7C 08 03 A6 */ mtlr r0 -/* 802D8A84 002D59E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8A88 002D59E8 4E 80 00 20 */ blr - -.global VSupportsReverseView__15CAnimTreeLoopInCFv -VSupportsReverseView__15CAnimTreeLoopInCFv: -/* 802D8A8C 002D59EC 38 60 00 00 */ li r3, 0 -/* 802D8A90 002D59F0 4E 80 00 20 */ blr - -.global VSimplified__15CAnimTreeLoopInFv -VSimplified__15CAnimTreeLoopInFv: -/* 802D8A94 002D59F4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802D8A98 002D59F8 7C 08 02 A6 */ mflr r0 -/* 802D8A9C 002D59FC 90 01 00 54 */ stw r0, 0x54(r1) -/* 802D8AA0 002D5A00 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802D8AA4 002D5A04 7C 9F 23 78 */ mr r31, r4 -/* 802D8AA8 002D5A08 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802D8AAC 002D5A0C 7C 7E 1B 78 */ mr r30, r3 -/* 802D8AB0 002D5A10 38 61 00 20 */ addi r3, r1, 0x20 -/* 802D8AB4 002D5A14 80 84 00 14 */ lwz r4, 0x14(r4) -/* 802D8AB8 002D5A18 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8ABC 002D5A1C 81 84 00 00 */ lwz r12, 0(r4) -/* 802D8AC0 002D5A20 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802D8AC4 002D5A24 7D 89 03 A6 */ mtctr r12 -/* 802D8AC8 002D5A28 4E 80 04 21 */ bctrl -/* 802D8ACC 002D5A2C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 802D8AD0 002D5A30 38 61 00 28 */ addi r3, r1, 0x28 -/* 802D8AD4 002D5A34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D8AD8 002D5A38 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802D8ADC 002D5A3C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802D8AE0 002D5A40 48 06 F9 0D */ bl GreaterThanZero__13CCharAnimTimeCFv -/* 802D8AE4 002D5A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D8AE8 002D5A48 41 82 01 60 */ beq lbl_802D8C48 -/* 802D8AEC 002D5A4C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 802D8AF0 002D5A50 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) -/* 802D8AF4 002D5A54 C0 02 C5 9C */ lfs f0, lbl_805AE2BC@sda21(r2) -/* 802D8AF8 002D5A58 EC 22 08 28 */ fsubs f1, f2, f1 -/* 802D8AFC 002D5A5C FC 20 0A 10 */ fabs f1, f1 -/* 802D8B00 002D5A60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802D8B04 002D5A64 41 80 01 44 */ blt lbl_802D8C48 -/* 802D8B08 002D5A68 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 802D8B0C 002D5A6C 38 61 00 30 */ addi r3, r1, 0x30 -/* 802D8B10 002D5A70 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D8B14 002D5A74 80 85 00 04 */ lwz r4, 4(r5) -/* 802D8B18 002D5A78 38 04 00 01 */ addi r0, r4, 1 -/* 802D8B1C 002D5A7C 90 05 00 04 */ stw r0, 4(r5) -/* 802D8B20 002D5A80 80 81 00 0C */ lwz r4, 0xc(r1) -/* 802D8B24 002D5A84 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8B28 002D5A88 4B D5 14 3D */ bl Simplified__11IAnimReaderFv -/* 802D8B2C 002D5A8C 88 01 00 38 */ lbz r0, 0x38(r1) -/* 802D8B30 002D5A90 28 00 00 00 */ cmplwi r0, 0 -/* 802D8B34 002D5A94 98 01 00 44 */ stb r0, 0x44(r1) -/* 802D8B38 002D5A98 41 82 00 24 */ beq lbl_802D8B5C -/* 802D8B3C 002D5A9C 34 81 00 3C */ addic. r4, r1, 0x3c -/* 802D8B40 002D5AA0 41 82 00 1C */ beq lbl_802D8B5C -/* 802D8B44 002D5AA4 88 61 00 30 */ lbz r3, 0x30(r1) -/* 802D8B48 002D5AA8 38 00 00 00 */ li r0, 0 -/* 802D8B4C 002D5AAC 98 64 00 00 */ stb r3, 0(r4) -/* 802D8B50 002D5AB0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802D8B54 002D5AB4 90 64 00 04 */ stw r3, 4(r4) -/* 802D8B58 002D5AB8 98 01 00 30 */ stb r0, 0x30(r1) -lbl_802D8B5C: -/* 802D8B5C 002D5ABC 88 01 00 38 */ lbz r0, 0x38(r1) -/* 802D8B60 002D5AC0 28 00 00 00 */ cmplwi r0, 0 -/* 802D8B64 002D5AC4 41 82 00 38 */ beq lbl_802D8B9C -/* 802D8B68 002D5AC8 34 61 00 30 */ addic. r3, r1, 0x30 -/* 802D8B6C 002D5ACC 41 82 00 30 */ beq lbl_802D8B9C -/* 802D8B70 002D5AD0 88 03 00 00 */ lbz r0, 0(r3) -/* 802D8B74 002D5AD4 28 00 00 00 */ cmplwi r0, 0 -/* 802D8B78 002D5AD8 41 82 00 24 */ beq lbl_802D8B9C -/* 802D8B7C 002D5ADC 80 63 00 04 */ lwz r3, 4(r3) -/* 802D8B80 002D5AE0 28 03 00 00 */ cmplwi r3, 0 -/* 802D8B84 002D5AE4 41 82 00 18 */ beq lbl_802D8B9C -/* 802D8B88 002D5AE8 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8B8C 002D5AEC 38 80 00 01 */ li r4, 1 -/* 802D8B90 002D5AF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8B94 002D5AF4 7D 89 03 A6 */ mtctr r12 -/* 802D8B98 002D5AF8 4E 80 04 21 */ bctrl -lbl_802D8B9C: -/* 802D8B9C 002D5AFC 88 01 00 44 */ lbz r0, 0x44(r1) -/* 802D8BA0 002D5B00 38 60 00 00 */ li r3, 0 -/* 802D8BA4 002D5B04 98 61 00 38 */ stb r3, 0x38(r1) -/* 802D8BA8 002D5B08 28 00 00 00 */ cmplwi r0, 0 -/* 802D8BAC 002D5B0C 41 82 00 48 */ beq lbl_802D8BF4 -/* 802D8BB0 002D5B10 38 61 00 08 */ addi r3, r1, 8 -/* 802D8BB4 002D5B14 38 81 00 3C */ addi r4, r1, 0x3c -/* 802D8BB8 002D5B18 48 01 B0 41 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" -/* 802D8BBC 002D5B1C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 802D8BC0 002D5B20 80 01 00 08 */ lwz r0, 8(r1) -/* 802D8BC4 002D5B24 7C 03 00 40 */ cmplw r3, r0 -/* 802D8BC8 002D5B28 41 82 00 24 */ beq lbl_802D8BEC -/* 802D8BCC 002D5B2C 38 7F 00 14 */ addi r3, r31, 0x14 -/* 802D8BD0 002D5B30 4B D5 83 D1 */ bl sub_80030fa0 -/* 802D8BD4 002D5B34 80 01 00 08 */ lwz r0, 8(r1) -/* 802D8BD8 002D5B38 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D8BDC 002D5B3C 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 802D8BE0 002D5B40 80 64 00 04 */ lwz r3, 4(r4) -/* 802D8BE4 002D5B44 38 03 00 01 */ addi r0, r3, 1 -/* 802D8BE8 002D5B48 90 04 00 04 */ stw r0, 4(r4) -lbl_802D8BEC: -/* 802D8BEC 002D5B4C 38 61 00 08 */ addi r3, r1, 8 -/* 802D8BF0 002D5B50 4B D5 83 B1 */ bl sub_80030fa0 -lbl_802D8BF4: -/* 802D8BF4 002D5B54 88 01 00 44 */ lbz r0, 0x44(r1) -/* 802D8BF8 002D5B58 28 00 00 00 */ cmplwi r0, 0 -/* 802D8BFC 002D5B5C 41 82 00 38 */ beq lbl_802D8C34 -/* 802D8C00 002D5B60 34 61 00 3C */ addic. r3, r1, 0x3c -/* 802D8C04 002D5B64 41 82 00 30 */ beq lbl_802D8C34 -/* 802D8C08 002D5B68 88 03 00 00 */ lbz r0, 0(r3) -/* 802D8C0C 002D5B6C 28 00 00 00 */ cmplwi r0, 0 -/* 802D8C10 002D5B70 41 82 00 24 */ beq lbl_802D8C34 -/* 802D8C14 002D5B74 80 63 00 04 */ lwz r3, 4(r3) -/* 802D8C18 002D5B78 28 03 00 00 */ cmplwi r3, 0 -/* 802D8C1C 002D5B7C 41 82 00 18 */ beq lbl_802D8C34 -/* 802D8C20 002D5B80 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8C24 002D5B84 38 80 00 01 */ li r4, 1 -/* 802D8C28 002D5B88 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8C2C 002D5B8C 7D 89 03 A6 */ mtctr r12 -/* 802D8C30 002D5B90 4E 80 04 21 */ bctrl -lbl_802D8C34: -/* 802D8C34 002D5B94 38 00 00 00 */ li r0, 0 -/* 802D8C38 002D5B98 38 61 00 0C */ addi r3, r1, 0xc -/* 802D8C3C 002D5B9C 98 01 00 44 */ stb r0, 0x44(r1) -/* 802D8C40 002D5BA0 4B D5 83 61 */ bl sub_80030fa0 -/* 802D8C44 002D5BA4 48 00 00 A4 */ b lbl_802D8CE8 -lbl_802D8C48: -/* 802D8C48 002D5BA8 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 802D8C4C 002D5BAC 28 00 00 00 */ cmplwi r0, 0 -/* 802D8C50 002D5BB0 41 82 00 98 */ beq lbl_802D8CE8 -/* 802D8C54 002D5BB4 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 802D8C58 002D5BB8 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D8C5C 002D5BBC 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8C60 002D5BC0 81 84 00 00 */ lwz r12, 0(r4) -/* 802D8C64 002D5BC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802D8C68 002D5BC8 7D 89 03 A6 */ mtctr r12 -/* 802D8C6C 002D5BCC 4E 80 04 21 */ bctrl -/* 802D8C70 002D5BD0 38 61 00 18 */ addi r3, r1, 0x18 -/* 802D8C74 002D5BD4 48 06 F7 3D */ bl EqualsZero__13CCharAnimTimeCFv -/* 802D8C78 002D5BD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802D8C7C 002D5BDC 41 82 00 6C */ beq lbl_802D8CE8 -/* 802D8C80 002D5BE0 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 802D8C84 002D5BE4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D8C88 002D5BE8 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8C8C 002D5BEC 4B FA 9E 55 */ bl Clone__11IAnimReaderCFv -/* 802D8C90 002D5BF0 38 00 00 01 */ li r0, 1 -/* 802D8C94 002D5BF4 28 1E 00 00 */ cmplwi r30, 0 -/* 802D8C98 002D5BF8 98 1E 00 08 */ stb r0, 8(r30) -/* 802D8C9C 002D5BFC 41 82 00 1C */ beq lbl_802D8CB8 -/* 802D8CA0 002D5C00 88 61 00 10 */ lbz r3, 0x10(r1) -/* 802D8CA4 002D5C04 38 00 00 00 */ li r0, 0 -/* 802D8CA8 002D5C08 98 7E 00 00 */ stb r3, 0(r30) -/* 802D8CAC 002D5C0C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802D8CB0 002D5C10 90 7E 00 04 */ stw r3, 4(r30) -/* 802D8CB4 002D5C14 98 01 00 10 */ stb r0, 0x10(r1) -lbl_802D8CB8: -/* 802D8CB8 002D5C18 88 01 00 10 */ lbz r0, 0x10(r1) -/* 802D8CBC 002D5C1C 28 00 00 00 */ cmplwi r0, 0 -/* 802D8CC0 002D5C20 41 82 00 30 */ beq lbl_802D8CF0 -/* 802D8CC4 002D5C24 80 61 00 14 */ lwz r3, 0x14(r1) -/* 802D8CC8 002D5C28 28 03 00 00 */ cmplwi r3, 0 -/* 802D8CCC 002D5C2C 41 82 00 24 */ beq lbl_802D8CF0 -/* 802D8CD0 002D5C30 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8CD4 002D5C34 38 80 00 01 */ li r4, 1 -/* 802D8CD8 002D5C38 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8CDC 002D5C3C 7D 89 03 A6 */ mtctr r12 -/* 802D8CE0 002D5C40 4E 80 04 21 */ bctrl -/* 802D8CE4 002D5C44 48 00 00 0C */ b lbl_802D8CF0 -lbl_802D8CE8: -/* 802D8CE8 002D5C48 38 00 00 00 */ li r0, 0 -/* 802D8CEC 002D5C4C 98 1E 00 08 */ stb r0, 8(r30) -lbl_802D8CF0: -/* 802D8CF0 002D5C50 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802D8CF4 002D5C54 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802D8CF8 002D5C58 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802D8CFC 002D5C5C 7C 08 03 A6 */ mtlr r0 -/* 802D8D00 002D5C60 38 21 00 50 */ addi r1, r1, 0x50 -/* 802D8D04 002D5C64 4E 80 00 20 */ blr - -.global VGetBestUnblendedChild__15CAnimTreeLoopInCFv -VGetBestUnblendedChild__15CAnimTreeLoopInCFv: -/* 802D8D08 002D5C68 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802D8D0C 002D5C6C 7C 08 02 A6 */ mflr r0 -/* 802D8D10 002D5C70 90 01 00 44 */ stw r0, 0x44(r1) -/* 802D8D14 002D5C74 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 802D8D18 002D5C78 7C 9D 23 78 */ mr r29, r4 -/* 802D8D1C 002D5C7C 7C 7F 1B 78 */ mr r31, r3 -/* 802D8D20 002D5C80 38 61 00 0C */ addi r3, r1, 0xc -/* 802D8D24 002D5C84 80 84 00 14 */ lwz r4, 0x14(r4) -/* 802D8D28 002D5C88 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8D2C 002D5C8C 48 00 01 55 */ bl GetBestUnblendedChild__13CAnimTreeNodeCFv -/* 802D8D30 002D5C90 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802D8D34 002D5C94 38 61 00 0C */ addi r3, r1, 0xc -/* 802D8D38 002D5C98 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802D8D3C 002D5C9C 80 85 00 04 */ lwz r4, 4(r5) -/* 802D8D40 002D5CA0 38 04 00 01 */ addi r0, r4, 1 -/* 802D8D44 002D5CA4 90 05 00 04 */ stw r0, 4(r5) -/* 802D8D48 002D5CA8 4B D5 82 59 */ bl sub_80030fa0 -/* 802D8D4C 002D5CAC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802D8D50 002D5CB0 80 03 00 00 */ lwz r0, 0(r3) -/* 802D8D54 002D5CB4 28 00 00 00 */ cmplwi r0, 0 -/* 802D8D58 002D5CB8 41 82 00 F8 */ beq lbl_802D8E50 -/* 802D8D5C 002D5CBC 3C 60 80 3D */ lis r3, lbl_803D6D38@ha -/* 802D8D60 002D5CC0 3B 80 00 00 */ li r28, 0 -/* 802D8D64 002D5CC4 38 63 6D 38 */ addi r3, r3, lbl_803D6D38@l -/* 802D8D68 002D5CC8 3B 60 00 00 */ li r27, 0 -/* 802D8D6C 002D5CCC 38 83 00 01 */ addi r4, r3, 1 -/* 802D8D70 002D5CD0 38 60 00 90 */ li r3, 0x90 -/* 802D8D74 002D5CD4 38 A0 00 00 */ li r5, 0 -/* 802D8D78 002D5CD8 48 03 CA F5 */ bl __nw__FUlPCcPCc -/* 802D8D7C 002D5CDC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D8D80 002D5CE0 41 82 00 50 */ beq lbl_802D8DD0 -/* 802D8D84 002D5CE4 80 81 00 10 */ lwz r4, 0x10(r1) -/* 802D8D88 002D5CE8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D8D8C 002D5CEC 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8D90 002D5CF0 4B FA 9D 51 */ bl Clone__11IAnimReaderCFv -/* 802D8D94 002D5CF4 38 61 00 08 */ addi r3, r1, 8 -/* 802D8D98 002D5CF8 38 81 00 14 */ addi r4, r1, 0x14 -/* 802D8D9C 002D5CFC 3B 80 00 01 */ li r28, 1 -/* 802D8DA0 002D5D00 48 01 AE 59 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" -/* 802D8DA4 002D5D04 88 DD 00 1C */ lbz r6, 0x1c(r29) -/* 802D8DA8 002D5D08 7F C3 F3 78 */ mr r3, r30 -/* 802D8DAC 002D5D0C 38 81 00 08 */ addi r4, r1, 8 -/* 802D8DB0 002D5D10 38 BD 00 18 */ addi r5, r29, 0x18 -/* 802D8DB4 002D5D14 38 FD 00 20 */ addi r7, r29, 0x20 -/* 802D8DB8 002D5D18 39 1D 00 04 */ addi r8, r29, 4 -/* 802D8DBC 002D5D1C 39 3D 00 30 */ addi r9, r29, 0x30 -/* 802D8DC0 002D5D20 39 5D 00 88 */ addi r10, r29, 0x88 -/* 802D8DC4 002D5D24 3B 60 00 01 */ li r27, 1 -/* 802D8DC8 002D5D28 48 00 05 69 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" -/* 802D8DCC 002D5D2C 7C 7E 1B 78 */ mr r30, r3 -lbl_802D8DD0: -/* 802D8DD0 002D5D30 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D8DD4 002D5D34 38 60 00 08 */ li r3, 8 -/* 802D8DD8 002D5D38 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D8DDC 002D5D3C 38 A0 00 00 */ li r5, 0 -/* 802D8DE0 002D5D40 38 84 00 01 */ addi r4, r4, 1 -/* 802D8DE4 002D5D44 48 03 CA 89 */ bl __nw__FUlPCcPCc -/* 802D8DE8 002D5D48 28 03 00 00 */ cmplwi r3, 0 -/* 802D8DEC 002D5D4C 41 82 00 10 */ beq lbl_802D8DFC -/* 802D8DF0 002D5D50 93 C3 00 00 */ stw r30, 0(r3) -/* 802D8DF4 002D5D54 38 00 00 01 */ li r0, 1 -/* 802D8DF8 002D5D58 90 03 00 04 */ stw r0, 4(r3) -lbl_802D8DFC: -/* 802D8DFC 002D5D5C 7F 60 07 75 */ extsb. r0, r27 -/* 802D8E00 002D5D60 90 7F 00 00 */ stw r3, 0(r31) -/* 802D8E04 002D5D64 41 82 00 0C */ beq lbl_802D8E10 -/* 802D8E08 002D5D68 38 61 00 08 */ addi r3, r1, 8 -/* 802D8E0C 002D5D6C 4B D5 81 95 */ bl sub_80030fa0 -lbl_802D8E10: -/* 802D8E10 002D5D70 7F 80 07 75 */ extsb. r0, r28 -/* 802D8E14 002D5D74 41 82 00 30 */ beq lbl_802D8E44 -/* 802D8E18 002D5D78 88 01 00 14 */ lbz r0, 0x14(r1) -/* 802D8E1C 002D5D7C 28 00 00 00 */ cmplwi r0, 0 -/* 802D8E20 002D5D80 41 82 00 24 */ beq lbl_802D8E44 -/* 802D8E24 002D5D84 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802D8E28 002D5D88 28 03 00 00 */ cmplwi r3, 0 -/* 802D8E2C 002D5D8C 41 82 00 18 */ beq lbl_802D8E44 -/* 802D8E30 002D5D90 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8E34 002D5D94 38 80 00 01 */ li r4, 1 -/* 802D8E38 002D5D98 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8E3C 002D5D9C 7D 89 03 A6 */ mtctr r12 -/* 802D8E40 002D5DA0 4E 80 04 21 */ bctrl -lbl_802D8E44: -/* 802D8E44 002D5DA4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D8E48 002D5DA8 4B D5 81 59 */ bl sub_80030fa0 -/* 802D8E4C 002D5DAC 48 00 00 20 */ b lbl_802D8E6C -lbl_802D8E50: -/* 802D8E50 002D5DB0 90 7F 00 00 */ stw r3, 0(r31) -/* 802D8E54 002D5DB4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D8E58 002D5DB8 80 BF 00 00 */ lwz r5, 0(r31) -/* 802D8E5C 002D5DBC 80 85 00 04 */ lwz r4, 4(r5) -/* 802D8E60 002D5DC0 38 04 00 01 */ addi r0, r4, 1 -/* 802D8E64 002D5DC4 90 05 00 04 */ stw r0, 4(r5) -/* 802D8E68 002D5DC8 4B D5 81 39 */ bl sub_80030fa0 -lbl_802D8E6C: -/* 802D8E6C 002D5DCC BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802D8E70 002D5DD0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802D8E74 002D5DD4 7C 08 03 A6 */ mtlr r0 -/* 802D8E78 002D5DD8 38 21 00 40 */ addi r1, r1, 0x40 -/* 802D8E7C 002D5DDC 4E 80 00 20 */ blr - -.global GetBestUnblendedChild__13CAnimTreeNodeCFv -GetBestUnblendedChild__13CAnimTreeNodeCFv: -/* 802D8E80 002D5DE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8E84 002D5DE4 7C 08 02 A6 */ mflr r0 -/* 802D8E88 002D5DE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8E8C 002D5DEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D8E90 002D5DF0 7C 7F 1B 78 */ mr r31, r3 -/* 802D8E94 002D5DF4 81 84 00 00 */ lwz r12, 0(r4) -/* 802D8E98 002D5DF8 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 802D8E9C 002D5DFC 7D 89 03 A6 */ mtctr r12 -/* 802D8EA0 002D5E00 4E 80 04 21 */ bctrl -/* 802D8EA4 002D5E04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8EA8 002D5E08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D8EAC 002D5E0C 7C 08 03 A6 */ mtlr r0 -/* 802D8EB0 002D5E10 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8EB4 002D5E14 4E 80 00 20 */ blr - -.global VClone__15CAnimTreeLoopInCFv -VClone__15CAnimTreeLoopInCFv: -/* 802D8EB8 002D5E18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D8EBC 002D5E1C 7C 08 02 A6 */ mflr r0 -/* 802D8EC0 002D5E20 3C A0 80 3D */ lis r5, lbl_803D6D38@ha -/* 802D8EC4 002D5E24 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D8EC8 002D5E28 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 802D8ECC 002D5E2C 7C 7D 1B 78 */ mr r29, r3 -/* 802D8ED0 002D5E30 38 65 6D 38 */ addi r3, r5, lbl_803D6D38@l -/* 802D8ED4 002D5E34 7C 9E 23 78 */ mr r30, r4 -/* 802D8ED8 002D5E38 38 83 00 01 */ addi r4, r3, 1 -/* 802D8EDC 002D5E3C 3B 80 00 00 */ li r28, 0 -/* 802D8EE0 002D5E40 3B 60 00 00 */ li r27, 0 -/* 802D8EE4 002D5E44 38 60 00 90 */ li r3, 0x90 -/* 802D8EE8 002D5E48 38 A0 00 00 */ li r5, 0 -/* 802D8EEC 002D5E4C 48 03 C9 81 */ bl __nw__FUlPCcPCc -/* 802D8EF0 002D5E50 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802D8EF4 002D5E54 41 82 00 50 */ beq lbl_802D8F44 -/* 802D8EF8 002D5E58 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 802D8EFC 002D5E5C 38 61 00 0C */ addi r3, r1, 0xc -/* 802D8F00 002D5E60 80 84 00 00 */ lwz r4, 0(r4) -/* 802D8F04 002D5E64 4B FA 9B DD */ bl Clone__11IAnimReaderCFv -/* 802D8F08 002D5E68 38 61 00 08 */ addi r3, r1, 8 -/* 802D8F0C 002D5E6C 38 81 00 0C */ addi r4, r1, 0xc -/* 802D8F10 002D5E70 3B 80 00 01 */ li r28, 1 -/* 802D8F14 002D5E74 48 01 AC E5 */ bl "Cast__FRCQ24rstl33ownership_transfer<11IAnimReader>" -/* 802D8F18 002D5E78 88 DE 00 1C */ lbz r6, 0x1c(r30) -/* 802D8F1C 002D5E7C 7F E3 FB 78 */ mr r3, r31 -/* 802D8F20 002D5E80 38 81 00 08 */ addi r4, r1, 8 -/* 802D8F24 002D5E84 38 BE 00 18 */ addi r5, r30, 0x18 -/* 802D8F28 002D5E88 38 FE 00 20 */ addi r7, r30, 0x20 -/* 802D8F2C 002D5E8C 39 1E 00 04 */ addi r8, r30, 4 -/* 802D8F30 002D5E90 39 3E 00 30 */ addi r9, r30, 0x30 -/* 802D8F34 002D5E94 39 5E 00 88 */ addi r10, r30, 0x88 -/* 802D8F38 002D5E98 3B 60 00 01 */ li r27, 1 -/* 802D8F3C 002D5E9C 48 00 03 F5 */ bl "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" -/* 802D8F40 002D5EA0 7C 7F 1B 78 */ mr r31, r3 -lbl_802D8F44: -/* 802D8F44 002D5EA4 7C 7F 00 D0 */ neg r3, r31 -/* 802D8F48 002D5EA8 7F 60 07 75 */ extsb. r0, r27 -/* 802D8F4C 002D5EAC 7C 60 FB 78 */ or r0, r3, r31 -/* 802D8F50 002D5EB0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802D8F54 002D5EB4 98 1D 00 00 */ stb r0, 0(r29) -/* 802D8F58 002D5EB8 93 FD 00 04 */ stw r31, 4(r29) -/* 802D8F5C 002D5EBC 41 82 00 0C */ beq lbl_802D8F68 -/* 802D8F60 002D5EC0 38 61 00 08 */ addi r3, r1, 8 -/* 802D8F64 002D5EC4 4B D5 80 3D */ bl sub_80030fa0 -lbl_802D8F68: -/* 802D8F68 002D5EC8 7F 80 07 75 */ extsb. r0, r28 -/* 802D8F6C 002D5ECC 41 82 00 30 */ beq lbl_802D8F9C -/* 802D8F70 002D5ED0 88 01 00 0C */ lbz r0, 0xc(r1) -/* 802D8F74 002D5ED4 28 00 00 00 */ cmplwi r0, 0 -/* 802D8F78 002D5ED8 41 82 00 24 */ beq lbl_802D8F9C -/* 802D8F7C 002D5EDC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 802D8F80 002D5EE0 28 03 00 00 */ cmplwi r3, 0 -/* 802D8F84 002D5EE4 41 82 00 18 */ beq lbl_802D8F9C -/* 802D8F88 002D5EE8 81 83 00 00 */ lwz r12, 0(r3) -/* 802D8F8C 002D5EEC 38 80 00 01 */ li r4, 1 -/* 802D8F90 002D5EF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802D8F94 002D5EF4 7D 89 03 A6 */ mtctr r12 -/* 802D8F98 002D5EF8 4E 80 04 21 */ bctrl -lbl_802D8F9C: -/* 802D8F9C 002D5EFC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802D8FA0 002D5F00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D8FA4 002D5F04 7C 08 03 A6 */ mtlr r0 -/* 802D8FA8 002D5F08 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D8FAC 002D5F0C 4E 80 00 20 */ blr - -.global VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii -VGetSoundPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CSoundPOINodeUiUii: -/* 802D8FB0 002D5F10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8FB4 002D5F14 7C 08 02 A6 */ mflr r0 -/* 802D8FB8 002D5F18 7C 69 1B 78 */ mr r9, r3 -/* 802D8FBC 002D5F1C 7C 83 23 78 */ mr r3, r4 -/* 802D8FC0 002D5F20 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D8FC4 002D5F24 7C A4 2B 78 */ mr r4, r5 -/* 802D8FC8 002D5F28 7C C5 33 78 */ mr r5, r6 -/* 802D8FCC 002D5F2C 7C E6 3B 78 */ mr r6, r7 -/* 802D8FD0 002D5F30 7D 07 43 78 */ mr r7, r8 -/* 802D8FD4 002D5F34 39 09 00 78 */ addi r8, r9, 0x78 -/* 802D8FD8 002D5F38 39 29 00 88 */ addi r9, r9, 0x88 -/* 802D8FDC 002D5F3C 48 00 17 BD */ bl "_getPOIList<13CSoundPOINode>__FRC13CCharAnimTimeP13CSoundPOINodeUiUiiRCQ24rstl50vector<13CSoundPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" -/* 802D8FE0 002D5F40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D8FE4 002D5F44 7C 08 03 A6 */ mtlr r0 -/* 802D8FE8 002D5F48 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D8FEC 002D5F4C 4E 80 00 20 */ blr - -.global VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii -VGetParticlePOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP16CParticlePOINodeUiUii: -/* 802D8FF0 002D5F50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D8FF4 002D5F54 7C 08 02 A6 */ mflr r0 -/* 802D8FF8 002D5F58 7C 69 1B 78 */ mr r9, r3 -/* 802D8FFC 002D5F5C 7C 83 23 78 */ mr r3, r4 -/* 802D9000 002D5F60 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9004 002D5F64 7C A4 2B 78 */ mr r4, r5 -/* 802D9008 002D5F68 7C C5 33 78 */ mr r5, r6 -/* 802D900C 002D5F6C 7C E6 3B 78 */ mr r6, r7 -/* 802D9010 002D5F70 7D 07 43 78 */ mr r7, r8 -/* 802D9014 002D5F74 39 09 00 68 */ addi r8, r9, 0x68 -/* 802D9018 002D5F78 39 29 00 88 */ addi r9, r9, 0x88 -/* 802D901C 002D5F7C 48 00 13 A5 */ bl "_getPOIList<16CParticlePOINode>__FRC13CCharAnimTimeP16CParticlePOINodeUiUiiRCQ24rstl53vector<16CParticlePOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" -/* 802D9020 002D5F80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D9024 002D5F84 7C 08 03 A6 */ mtlr r0 -/* 802D9028 002D5F88 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D902C 002D5F8C 4E 80 00 20 */ blr - -.global VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii -VGetInt32POIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP13CInt32POINodeUiUii: -/* 802D9030 002D5F90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D9034 002D5F94 7C 08 02 A6 */ mflr r0 -/* 802D9038 002D5F98 7C 69 1B 78 */ mr r9, r3 -/* 802D903C 002D5F9C 7C 83 23 78 */ mr r3, r4 -/* 802D9040 002D5FA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9044 002D5FA4 7C A4 2B 78 */ mr r4, r5 -/* 802D9048 002D5FA8 7C C5 33 78 */ mr r5, r6 -/* 802D904C 002D5FAC 7C E6 3B 78 */ mr r6, r7 -/* 802D9050 002D5FB0 7D 07 43 78 */ mr r7, r8 -/* 802D9054 002D5FB4 39 09 00 58 */ addi r8, r9, 0x58 -/* 802D9058 002D5FB8 39 29 00 88 */ addi r9, r9, 0x88 -/* 802D905C 002D5FBC 48 00 10 1D */ bl "_getPOIList<13CInt32POINode>__FRC13CCharAnimTimeP13CInt32POINodeUiUiiRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" -/* 802D9060 002D5FC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D9064 002D5FC4 7C 08 03 A6 */ mtlr r0 -/* 802D9068 002D5FC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D906C 002D5FCC 4E 80 00 20 */ blr - -.global VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii -VGetBoolPOIList__15CAnimTreeLoopInCFRC13CCharAnimTimeP12CBoolPOINodeUiUii: -/* 802D9070 002D5FD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D9074 002D5FD4 7C 08 02 A6 */ mflr r0 -/* 802D9078 002D5FD8 7C 69 1B 78 */ mr r9, r3 -/* 802D907C 002D5FDC 7C 83 23 78 */ mr r3, r4 -/* 802D9080 002D5FE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9084 002D5FE4 7C A4 2B 78 */ mr r4, r5 -/* 802D9088 002D5FE8 7C C5 33 78 */ mr r5, r6 -/* 802D908C 002D5FEC 7C E6 3B 78 */ mr r6, r7 -/* 802D9090 002D5FF0 7D 07 43 78 */ mr r7, r8 -/* 802D9094 002D5FF4 39 09 00 48 */ addi r8, r9, 0x48 -/* 802D9098 002D5FF8 39 29 00 88 */ addi r9, r9, 0x88 -/* 802D909C 002D5FFC 48 00 0D 19 */ bl "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" -/* 802D90A0 002D6000 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D90A4 002D6004 7C 08 03 A6 */ mtlr r0 -/* 802D90A8 002D6008 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D90AC 002D600C 4E 80 00 20 */ blr - -.global VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv -VGetSteadyStateAnimInfo__15CAnimTreeLoopInCFv: -/* 802D90B0 002D6010 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 802D90B4 002D6014 D0 03 00 00 */ stfs f0, 0(r3) -/* 802D90B8 002D6018 80 04 00 34 */ lwz r0, 0x34(r4) -/* 802D90BC 002D601C 90 03 00 04 */ stw r0, 4(r3) -/* 802D90C0 002D6020 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 802D90C4 002D6024 D0 03 00 08 */ stfs f0, 8(r3) -/* 802D90C8 002D6028 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 802D90CC 002D602C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 802D90D0 002D6030 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 802D90D4 002D6034 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 802D90D8 002D6038 88 04 00 44 */ lbz r0, 0x44(r4) -/* 802D90DC 002D603C 98 03 00 14 */ stb r0, 0x14(r3) -/* 802D90E0 002D6040 4E 80 00 20 */ blr - -.global VGetTimeRemaining__15CAnimTreeLoopInCFv -VGetTimeRemaining__15CAnimTreeLoopInCFv: -/* 802D90E4 002D6044 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D90E8 002D6048 7C 08 02 A6 */ mflr r0 -/* 802D90EC 002D604C 7C 85 23 78 */ mr r5, r4 -/* 802D90F0 002D6050 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D90F4 002D6054 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D90F8 002D6058 7C 7F 1B 78 */ mr r31, r3 -/* 802D90FC 002D605C 80 04 00 34 */ lwz r0, 0x34(r4) -/* 802D9100 002D6060 38 81 00 10 */ addi r4, r1, 0x10 -/* 802D9104 002D6064 C0 05 00 30 */ lfs f0, 0x30(r5) -/* 802D9108 002D6068 38 A5 00 88 */ addi r5, r5, 0x88 -/* 802D910C 002D606C 90 01 00 0C */ stw r0, 0xc(r1) -/* 802D9110 002D6070 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802D9114 002D6074 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9118 002D6078 48 06 F6 4D */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime -/* 802D911C 002D607C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D9120 002D6080 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D9124 002D6084 7C 08 03 A6 */ mtlr r0 -/* 802D9128 002D6088 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D912C 002D608C 4E 80 00 20 */ blr - -.global VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime -VAdvanceView__15CAnimTreeLoopInFRC13CCharAnimTime: -/* 802D9130 002D6090 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802D9134 002D6094 7C 08 02 A6 */ mflr r0 -/* 802D9138 002D6098 90 01 00 94 */ stw r0, 0x94(r1) -/* 802D913C 002D609C 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 802D9140 002D60A0 7C 9F 23 78 */ mr r31, r4 -/* 802D9144 002D60A4 93 C1 00 88 */ stw r30, 0x88(r1) -/* 802D9148 002D60A8 7C 7E 1B 78 */ mr r30, r3 -/* 802D914C 002D60AC 38 61 00 2C */ addi r3, r1, 0x2c -/* 802D9150 002D60B0 93 A1 00 84 */ stw r29, 0x84(r1) -/* 802D9154 002D60B4 93 81 00 80 */ stw r28, 0x80(r1) -/* 802D9158 002D60B8 7C BC 2B 78 */ mr r28, r5 -/* 802D915C 002D60BC 80 C4 00 14 */ lwz r6, 0x14(r4) -/* 802D9160 002D60C0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802D9164 002D60C4 80 86 00 04 */ lwz r4, 4(r6) -/* 802D9168 002D60C8 38 04 00 01 */ addi r0, r4, 1 -/* 802D916C 002D60CC 90 06 00 04 */ stw r0, 4(r6) -/* 802D9170 002D60D0 80 81 00 10 */ lwz r4, 0x10(r1) -/* 802D9174 002D60D4 80 84 00 00 */ lwz r4, 0(r4) -/* 802D9178 002D60D8 81 84 00 00 */ lwz r12, 0(r4) -/* 802D917C 002D60DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802D9180 002D60E0 7D 89 03 A6 */ mtctr r12 -/* 802D9184 002D60E4 4E 80 04 21 */ bctrl -/* 802D9188 002D60E8 C0 E1 00 2C */ lfs f7, 0x2c(r1) -/* 802D918C 002D60EC 7F 84 E3 78 */ mr r4, r28 -/* 802D9190 002D60F0 83 A1 00 30 */ lwz r29, 0x30(r1) -/* 802D9194 002D60F4 38 61 00 1C */ addi r3, r1, 0x1c -/* 802D9198 002D60F8 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 802D919C 002D60FC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 802D91A0 002D6100 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 802D91A4 002D6104 C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 802D91A8 002D6108 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 802D91AC 002D610C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 802D91B0 002D6110 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802D91B4 002D6114 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802D91B8 002D6118 D0 E1 00 50 */ stfs f7, 0x50(r1) -/* 802D91BC 002D611C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 802D91C0 002D6120 D0 C1 00 58 */ stfs f6, 0x58(r1) -/* 802D91C4 002D6124 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 802D91C8 002D6128 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 802D91CC 002D612C D0 61 00 64 */ stfs f3, 0x64(r1) -/* 802D91D0 002D6130 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 802D91D4 002D6134 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 802D91D8 002D6138 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 802D91DC 002D613C D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 802D91E0 002D6140 93 A1 00 28 */ stw r29, 0x28(r1) -/* 802D91E4 002D6144 48 06 F5 81 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime -/* 802D91E8 002D6148 38 7F 00 88 */ addi r3, r31, 0x88 -/* 802D91EC 002D614C 38 81 00 1C */ addi r4, r1, 0x1c -/* 802D91F0 002D6150 48 06 F3 69 */ bl __apl__13CCharAnimTimeFRC13CCharAnimTime -/* 802D91F4 002D6154 80 81 00 10 */ lwz r4, 0x10(r1) -/* 802D91F8 002D6158 38 61 00 14 */ addi r3, r1, 0x14 -/* 802D91FC 002D615C 80 84 00 00 */ lwz r4, 0(r4) -/* 802D9200 002D6160 81 84 00 00 */ lwz r12, 0(r4) -/* 802D9204 002D6164 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802D9208 002D6168 7D 89 03 A6 */ mtctr r12 -/* 802D920C 002D616C 4E 80 04 21 */ bctrl -/* 802D9210 002D6170 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802D9214 002D6174 C0 62 C5 98 */ lfs f3, lbl_805AE2B8@sda21(r2) -/* 802D9218 002D6178 C0 42 C5 9C */ lfs f2, lbl_805AE2BC@sda21(r2) -/* 802D921C 002D617C EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D9220 002D6180 FC 00 02 10 */ fabs f0, f0 -/* 802D9224 002D6184 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802D9228 002D6188 41 80 00 20 */ blt lbl_802D9248 -/* 802D922C 002D618C C0 3C 00 00 */ lfs f1, 0(r28) -/* 802D9230 002D6190 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802D9234 002D6194 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802D9238 002D6198 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802D923C 002D619C FC 00 02 10 */ fabs f0, f0 -/* 802D9240 002D61A0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 802D9244 002D61A4 40 80 00 80 */ bge lbl_802D92C4 -lbl_802D9248: -/* 802D9248 002D61A8 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 802D924C 002D61AC 28 00 00 00 */ cmplwi r0, 0 -/* 802D9250 002D61B0 40 82 00 74 */ bne lbl_802D92C4 -/* 802D9254 002D61B4 38 61 00 08 */ addi r3, r1, 8 -/* 802D9258 002D61B8 38 81 00 10 */ addi r4, r1, 0x10 -/* 802D925C 002D61BC 38 BF 00 18 */ addi r5, r31, 0x18 -/* 802D9260 002D61C0 38 DF 00 20 */ addi r6, r31, 0x20 -/* 802D9264 002D61C4 48 00 DC 89 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" -/* 802D9268 002D61C8 80 A1 00 08 */ lwz r5, 8(r1) -/* 802D926C 002D61CC 38 61 00 08 */ addi r3, r1, 8 -/* 802D9270 002D61D0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802D9274 002D61D4 80 85 00 04 */ lwz r4, 4(r5) -/* 802D9278 002D61D8 38 04 00 01 */ addi r0, r4, 1 -/* 802D927C 002D61DC 90 05 00 04 */ stw r0, 4(r5) -/* 802D9280 002D61E0 4B D5 7D 21 */ bl sub_80030fa0 -/* 802D9284 002D61E4 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 802D9288 002D61E8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D928C 002D61EC 7C 03 00 40 */ cmplw r3, r0 -/* 802D9290 002D61F0 41 82 00 24 */ beq lbl_802D92B4 -/* 802D9294 002D61F4 38 7F 00 14 */ addi r3, r31, 0x14 -/* 802D9298 002D61F8 4B D5 7D 09 */ bl sub_80030fa0 -/* 802D929C 002D61FC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802D92A0 002D6200 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802D92A4 002D6204 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 802D92A8 002D6208 80 64 00 04 */ lwz r3, 4(r4) -/* 802D92AC 002D620C 38 03 00 01 */ addi r0, r3, 1 -/* 802D92B0 002D6210 90 04 00 04 */ stw r0, 4(r4) -lbl_802D92B4: -/* 802D92B4 002D6214 38 00 00 01 */ li r0, 1 -/* 802D92B8 002D6218 38 61 00 0C */ addi r3, r1, 0xc -/* 802D92BC 002D621C 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 802D92C0 002D6220 4B D5 7C E1 */ bl sub_80030fa0 -lbl_802D92C4: -/* 802D92C4 002D6224 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802D92C8 002D6228 38 61 00 10 */ addi r3, r1, 0x10 -/* 802D92CC 002D622C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 802D92D0 002D6230 D0 3E 00 00 */ stfs f1, 0(r30) -/* 802D92D4 002D6234 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 802D92D8 002D6238 93 BE 00 04 */ stw r29, 4(r30) -/* 802D92DC 002D623C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 802D92E0 002D6240 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D92E4 002D6244 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802D92E8 002D6248 D0 5E 00 0C */ stfs f2, 0xc(r30) -/* 802D92EC 002D624C C0 41 00 68 */ lfs f2, 0x68(r1) -/* 802D92F0 002D6250 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 802D92F4 002D6254 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 802D92F8 002D6258 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 802D92FC 002D625C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802D9300 002D6260 D0 5E 00 18 */ stfs f2, 0x18(r30) -/* 802D9304 002D6264 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 802D9308 002D6268 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 802D930C 002D626C 4B D5 7C 95 */ bl sub_80030fa0 -/* 802D9310 002D6270 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802D9314 002D6274 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802D9318 002D6278 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802D931C 002D627C 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802D9320 002D6280 83 81 00 80 */ lwz r28, 0x80(r1) -/* 802D9324 002D6284 7C 08 03 A6 */ mtlr r0 -/* 802D9328 002D6288 38 21 00 90 */ addi r1, r1, 0x90 -/* 802D932C 002D628C 4E 80 00 20 */ blr - -.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime" -"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>bRC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC21CSequenceFundamentalsRC13CCharAnimTime": -/* 802D9330 002D6290 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D9334 002D6294 7C 08 02 A6 */ mflr r0 -/* 802D9338 002D6298 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D933C 002D629C BE E1 00 0C */ stmw r23, 0xc(r1) -/* 802D9340 002D62A0 7C 7B 1B 78 */ mr r27, r3 -/* 802D9344 002D62A4 7F 60 DB 78 */ mr r0, r27 -/* 802D9348 002D62A8 7C 98 23 78 */ mr r24, r4 -/* 802D934C 002D62AC 7C B9 2B 78 */ mr r25, r5 -/* 802D9350 002D62B0 7C DC 33 78 */ mr r28, r6 -/* 802D9354 002D62B4 7C FD 3B 78 */ mr r29, r7 -/* 802D9358 002D62B8 7D 3E 4B 78 */ mr r30, r9 -/* 802D935C 002D62BC 7D 5F 53 78 */ mr r31, r10 -/* 802D9360 002D62C0 7C 17 03 78 */ mr r23, r0 -/* 802D9364 002D62C4 7D 04 43 78 */ mr r4, r8 -/* 802D9368 002D62C8 48 01 A9 69 */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D936C 002D62CC 3C 80 80 3F */ lis r4, lbl_803ED240@ha -/* 802D9370 002D62D0 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha -/* 802D9374 002D62D4 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l -/* 802D9378 002D62D8 3B 5B 00 20 */ addi r26, r27, 0x20 -/* 802D937C 002D62DC 90 17 00 00 */ stw r0, 0(r23) -/* 802D9380 002D62E0 38 03 CB E0 */ addi r0, r3, lbl_803ECBE0@l -/* 802D9384 002D62E4 7F 43 D3 78 */ mr r3, r26 -/* 802D9388 002D62E8 7F A4 EB 78 */ mr r4, r29 -/* 802D938C 002D62EC 80 B8 00 00 */ lwz r5, 0(r24) -/* 802D9390 002D62F0 90 B7 00 14 */ stw r5, 0x14(r23) -/* 802D9394 002D62F4 80 D7 00 14 */ lwz r6, 0x14(r23) -/* 802D9398 002D62F8 80 A6 00 04 */ lwz r5, 4(r6) -/* 802D939C 002D62FC 38 A5 00 01 */ addi r5, r5, 1 -/* 802D93A0 002D6300 90 A6 00 04 */ stw r5, 4(r6) -/* 802D93A4 002D6304 90 1B 00 00 */ stw r0, 0(r27) -/* 802D93A8 002D6308 80 19 00 00 */ lwz r0, 0(r25) -/* 802D93AC 002D630C 90 1B 00 18 */ stw r0, 0x18(r27) -/* 802D93B0 002D6310 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 802D93B4 002D6314 80 A6 00 04 */ lwz r5, 4(r6) -/* 802D93B8 002D6318 38 05 00 01 */ addi r0, r5, 1 -/* 802D93BC 002D631C 90 06 00 04 */ stw r0, 4(r6) -/* 802D93C0 002D6320 9B 9B 00 1C */ stb r28, 0x1c(r27) -/* 802D93C4 002D6324 48 06 7A E5 */ bl __ct__6CTokenFRC6CToken -/* 802D93C8 002D6328 80 1D 00 08 */ lwz r0, 8(r29) -/* 802D93CC 002D632C 7F C4 F3 78 */ mr r4, r30 -/* 802D93D0 002D6330 38 7B 00 30 */ addi r3, r27, 0x30 -/* 802D93D4 002D6334 90 1A 00 08 */ stw r0, 8(r26) -/* 802D93D8 002D6338 80 DA 00 08 */ lwz r6, 8(r26) -/* 802D93DC 002D633C 80 A6 00 04 */ lwz r5, 4(r6) -/* 802D93E0 002D6340 38 05 00 01 */ addi r0, r5, 1 -/* 802D93E4 002D6344 90 06 00 04 */ stw r0, 4(r6) -/* 802D93E8 002D6348 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 802D93EC 002D634C 90 1A 00 0C */ stw r0, 0xc(r26) -/* 802D93F0 002D6350 48 00 00 2D */ bl sub_802d941c -/* 802D93F4 002D6354 C0 1F 00 00 */ lfs f0, 0(r31) -/* 802D93F8 002D6358 7F 63 DB 78 */ mr r3, r27 -/* 802D93FC 002D635C D0 1B 00 88 */ stfs f0, 0x88(r27) -/* 802D9400 002D6360 80 1F 00 04 */ lwz r0, 4(r31) -/* 802D9404 002D6364 90 1B 00 8C */ stw r0, 0x8c(r27) -/* 802D9408 002D6368 BA E1 00 0C */ lmw r23, 0xc(r1) -/* 802D940C 002D636C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D9410 002D6370 7C 08 03 A6 */ mtlr r0 -/* 802D9414 002D6374 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D9418 002D6378 4E 80 00 20 */ blr - -.global sub_802d941c -sub_802d941c: -/* 802D941C 002D637C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D9420 002D6380 7C 08 02 A6 */ mflr r0 -/* 802D9424 002D6384 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9428 002D6388 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D942C 002D638C 7C 9F 23 78 */ mr r31, r4 -/* 802D9430 002D6390 93 C1 00 08 */ stw r30, 8(r1) -/* 802D9434 002D6394 7C 7E 1B 78 */ mr r30, r3 -/* 802D9438 002D6398 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802D943C 002D639C C0 04 00 00 */ lfs f0, 0(r4) -/* 802D9440 002D63A0 38 9F 00 18 */ addi r4, r31, 0x18 -/* 802D9444 002D63A4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 802D9448 002D63A8 80 1F 00 04 */ lwz r0, 4(r31) -/* 802D944C 002D63AC 90 1E 00 04 */ stw r0, 4(r30) -/* 802D9450 002D63B0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 802D9454 002D63B4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 802D9458 002D63B8 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 802D945C 002D63BC D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 802D9460 002D63C0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 802D9464 002D63C4 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 802D9468 002D63C8 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 802D946C 002D63CC 98 1E 00 14 */ stb r0, 0x14(r30) -/* 802D9470 002D63D0 48 00 04 99 */ bl "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" -/* 802D9474 002D63D4 38 7E 00 28 */ addi r3, r30, 0x28 -/* 802D9478 002D63D8 38 9F 00 28 */ addi r4, r31, 0x28 -/* 802D947C 002D63DC 48 00 03 45 */ bl "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" -/* 802D9480 002D63E0 38 7E 00 38 */ addi r3, r30, 0x38 -/* 802D9484 002D63E4 38 9F 00 38 */ addi r4, r31, 0x38 -/* 802D9488 002D63E8 48 00 01 79 */ bl sub_802d9600 -/* 802D948C 002D63EC 38 7E 00 48 */ addi r3, r30, 0x48 -/* 802D9490 002D63F0 38 9F 00 48 */ addi r4, r31, 0x48 -/* 802D9494 002D63F4 48 00 00 21 */ bl sub_802d94b4 -/* 802D9498 002D63F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D949C 002D63FC 7F C3 F3 78 */ mr r3, r30 -/* 802D94A0 002D6400 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D94A4 002D6404 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D94A8 002D6408 7C 08 03 A6 */ mtlr r0 -/* 802D94AC 002D640C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D94B0 002D6410 4E 80 00 20 */ blr - -.global sub_802d94b4 -sub_802d94b4: -/* 802D94B4 002D6414 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D94B8 002D6418 7C 08 02 A6 */ mflr r0 -/* 802D94BC 002D641C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D94C0 002D6420 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802D94C4 002D6424 7C 9C 23 78 */ mr r28, r4 -/* 802D94C8 002D6428 7C 7F 1B 78 */ mr r31, r3 -/* 802D94CC 002D642C 80 04 00 04 */ lwz r0, 4(r4) -/* 802D94D0 002D6430 90 03 00 04 */ stw r0, 4(r3) -/* 802D94D4 002D6434 80 04 00 08 */ lwz r0, 8(r4) -/* 802D94D8 002D6438 90 03 00 08 */ stw r0, 8(r3) -/* 802D94DC 002D643C 80 04 00 04 */ lwz r0, 4(r4) -/* 802D94E0 002D6440 2C 00 00 00 */ cmpwi r0, 0 -/* 802D94E4 002D6444 40 82 00 1C */ bne lbl_802D9500 -/* 802D94E8 002D6448 80 1C 00 08 */ lwz r0, 8(r28) -/* 802D94EC 002D644C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D94F0 002D6450 40 82 00 10 */ bne lbl_802D9500 -/* 802D94F4 002D6454 38 00 00 00 */ li r0, 0 -/* 802D94F8 002D6458 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D94FC 002D645C 48 00 00 EC */ b lbl_802D95E8 -lbl_802D9500: -/* 802D9500 002D6460 80 1F 00 08 */ lwz r0, 8(r31) -/* 802D9504 002D6464 1C 60 00 44 */ mulli r3, r0, 0x44 -/* 802D9508 002D6468 2C 03 00 00 */ cmpwi r3, 0 -/* 802D950C 002D646C 40 82 00 10 */ bne lbl_802D951C -/* 802D9510 002D6470 38 00 00 00 */ li r0, 0 -/* 802D9514 002D6474 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D9518 002D6478 48 00 00 1C */ b lbl_802D9534 -lbl_802D951C: -/* 802D951C 002D647C 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D9520 002D6480 38 A0 00 00 */ li r5, 0 -/* 802D9524 002D6484 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D9528 002D6488 38 84 00 01 */ addi r4, r4, 1 -/* 802D952C 002D648C 48 03 C2 ED */ bl __nwa__FUlPCcPCc -/* 802D9530 002D6490 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_802D9534: -/* 802D9534 002D6494 83 7F 00 04 */ lwz r27, 4(r31) -/* 802D9538 002D6498 3B C0 00 00 */ li r30, 0 -/* 802D953C 002D649C 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 802D9540 002D64A0 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 802D9544 002D64A4 48 00 00 9C */ b lbl_802D95E0 -lbl_802D9548: -/* 802D9548 002D64A8 28 1D 00 00 */ cmplwi r29, 0 -/* 802D954C 002D64AC 41 82 00 88 */ beq lbl_802D95D4 -/* 802D9550 002D64B0 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 802D9554 002D64B4 38 7D 00 08 */ addi r3, r29, 8 -/* 802D9558 002D64B8 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 802D955C 002D64BC 38 9C 00 08 */ addi r4, r28, 8 -/* 802D9560 002D64C0 90 1D 00 00 */ stw r0, 0(r29) -/* 802D9564 002D64C4 A0 1C 00 04 */ lhz r0, 4(r28) -/* 802D9568 002D64C8 B0 1D 00 04 */ sth r0, 4(r29) -/* 802D956C 002D64CC 48 06 4B F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D9570 002D64D0 A0 9C 00 18 */ lhz r4, 0x18(r28) -/* 802D9574 002D64D4 3C 60 80 3E */ lis r3, lbl_803D9B80@ha -/* 802D9578 002D64D8 38 03 9B 80 */ addi r0, r3, lbl_803D9B80@l -/* 802D957C 002D64DC B0 9D 00 18 */ sth r4, 0x18(r29) -/* 802D9580 002D64E0 C0 1C 00 1C */ lfs f0, 0x1c(r28) -/* 802D9584 002D64E4 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 802D9588 002D64E8 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 802D958C 002D64EC 90 7D 00 20 */ stw r3, 0x20(r29) -/* 802D9590 002D64F0 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 802D9594 002D64F4 90 7D 00 24 */ stw r3, 0x24(r29) -/* 802D9598 002D64F8 88 7C 00 28 */ lbz r3, 0x28(r28) -/* 802D959C 002D64FC 98 7D 00 28 */ stb r3, 0x28(r29) -/* 802D95A0 002D6500 C0 1C 00 2C */ lfs f0, 0x2c(r28) -/* 802D95A4 002D6504 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 802D95A8 002D6508 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 802D95AC 002D650C 90 7D 00 30 */ stw r3, 0x30(r29) -/* 802D95B0 002D6510 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 802D95B4 002D6514 90 7D 00 34 */ stw r3, 0x34(r29) -/* 802D95B8 002D6518 90 1D 00 00 */ stw r0, 0(r29) -/* 802D95BC 002D651C 80 1C 00 38 */ lwz r0, 0x38(r28) -/* 802D95C0 002D6520 90 1D 00 38 */ stw r0, 0x38(r29) -/* 802D95C4 002D6524 C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 802D95C8 002D6528 D0 1D 00 3C */ stfs f0, 0x3c(r29) -/* 802D95CC 002D652C C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 802D95D0 002D6530 D0 1D 00 40 */ stfs f0, 0x40(r29) -lbl_802D95D4: -/* 802D95D4 002D6534 3B BD 00 44 */ addi r29, r29, 0x44 -/* 802D95D8 002D6538 3B DE 00 01 */ addi r30, r30, 1 -/* 802D95DC 002D653C 3B 9C 00 44 */ addi r28, r28, 0x44 -lbl_802D95E0: -/* 802D95E0 002D6540 7C 1E D8 00 */ cmpw r30, r27 -/* 802D95E4 002D6544 41 80 FF 64 */ blt lbl_802D9548 -lbl_802D95E8: -/* 802D95E8 002D6548 7F E3 FB 78 */ mr r3, r31 -/* 802D95EC 002D654C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802D95F0 002D6550 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D95F4 002D6554 7C 08 03 A6 */ mtlr r0 -/* 802D95F8 002D6558 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D95FC 002D655C 4E 80 00 20 */ blr - -.global sub_802d9600 -sub_802d9600: -/* 802D9600 002D6560 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D9604 002D6564 7C 08 02 A6 */ mflr r0 -/* 802D9608 002D6568 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D960C 002D656C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D9610 002D6570 7C 9F 23 78 */ mr r31, r4 -/* 802D9614 002D6574 93 C1 00 08 */ stw r30, 8(r1) -/* 802D9618 002D6578 7C 7E 1B 78 */ mr r30, r3 -/* 802D961C 002D657C 80 04 00 04 */ lwz r0, 4(r4) -/* 802D9620 002D6580 90 03 00 04 */ stw r0, 4(r3) -/* 802D9624 002D6584 80 04 00 08 */ lwz r0, 8(r4) -/* 802D9628 002D6588 90 03 00 08 */ stw r0, 8(r3) -/* 802D962C 002D658C 80 04 00 04 */ lwz r0, 4(r4) -/* 802D9630 002D6590 2C 00 00 00 */ cmpwi r0, 0 -/* 802D9634 002D6594 40 82 00 1C */ bne lbl_802D9650 -/* 802D9638 002D6598 80 1F 00 08 */ lwz r0, 8(r31) -/* 802D963C 002D659C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D9640 002D65A0 40 82 00 10 */ bne lbl_802D9650 -/* 802D9644 002D65A4 38 00 00 00 */ li r0, 0 -/* 802D9648 002D65A8 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802D964C 002D65AC 48 00 00 48 */ b lbl_802D9694 -lbl_802D9650: -/* 802D9650 002D65B0 80 1E 00 08 */ lwz r0, 8(r30) -/* 802D9654 002D65B4 1C 60 00 5C */ mulli r3, r0, 0x5c -/* 802D9658 002D65B8 2C 03 00 00 */ cmpwi r3, 0 -/* 802D965C 002D65BC 40 82 00 10 */ bne lbl_802D966C -/* 802D9660 002D65C0 38 00 00 00 */ li r0, 0 -/* 802D9664 002D65C4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802D9668 002D65C8 48 00 00 1C */ b lbl_802D9684 -lbl_802D966C: -/* 802D966C 002D65CC 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D9670 002D65D0 38 A0 00 00 */ li r5, 0 -/* 802D9674 002D65D4 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D9678 002D65D8 38 84 00 01 */ addi r4, r4, 1 -/* 802D967C 002D65DC 48 03 C1 9D */ bl __nwa__FUlPCcPCc -/* 802D9680 002D65E0 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_802D9684: -/* 802D9684 002D65E4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 802D9688 002D65E8 80 9E 00 04 */ lwz r4, 4(r30) -/* 802D968C 002D65EC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 802D9690 002D65F0 48 00 00 21 */ bl sub_802d96b0 -lbl_802D9694: -/* 802D9694 002D65F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D9698 002D65F8 7F C3 F3 78 */ mr r3, r30 -/* 802D969C 002D65FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D96A0 002D6600 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D96A4 002D6604 7C 08 03 A6 */ mtlr r0 -/* 802D96A8 002D6608 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D96AC 002D660C 4E 80 00 20 */ blr - -.global sub_802d96b0 -sub_802d96b0: -/* 802D96B0 002D6610 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D96B4 002D6614 7C 08 02 A6 */ mflr r0 -/* 802D96B8 002D6618 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D96BC 002D661C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D96C0 002D6620 7C 7F 1B 78 */ mr r31, r3 -/* 802D96C4 002D6624 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D96C8 002D6628 7C BE 2B 78 */ mr r30, r5 -/* 802D96CC 002D662C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802D96D0 002D6630 3B A0 00 00 */ li r29, 0 -/* 802D96D4 002D6634 93 81 00 10 */ stw r28, 0x10(r1) -/* 802D96D8 002D6638 7C 9C 23 78 */ mr r28, r4 -/* 802D96DC 002D663C 48 00 00 B8 */ b lbl_802D9794 -lbl_802D96E0: -/* 802D96E0 002D6640 28 1E 00 00 */ cmplwi r30, 0 -/* 802D96E4 002D6644 41 82 00 A4 */ beq lbl_802D9788 -/* 802D96E8 002D6648 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 802D96EC 002D664C 38 9F 00 08 */ addi r4, r31, 8 -/* 802D96F0 002D6650 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 802D96F4 002D6654 90 1E 00 00 */ stw r0, 0(r30) -/* 802D96F8 002D6658 38 7E 00 08 */ addi r3, r30, 8 -/* 802D96FC 002D665C A0 1F 00 04 */ lhz r0, 4(r31) -/* 802D9700 002D6660 B0 1E 00 04 */ sth r0, 4(r30) -/* 802D9704 002D6664 48 06 4A 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D9708 002D6668 A0 9F 00 18 */ lhz r4, 0x18(r31) -/* 802D970C 002D666C 3C 60 80 3E */ lis r3, lbl_803D9B74@ha -/* 802D9710 002D6670 38 03 9B 74 */ addi r0, r3, lbl_803D9B74@l -/* 802D9714 002D6674 38 7E 00 44 */ addi r3, r30, 0x44 -/* 802D9718 002D6678 B0 9E 00 18 */ sth r4, 0x18(r30) -/* 802D971C 002D667C 38 9F 00 44 */ addi r4, r31, 0x44 -/* 802D9720 002D6680 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 802D9724 002D6684 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802D9728 002D6688 80 BF 00 20 */ lwz r5, 0x20(r31) -/* 802D972C 002D668C 90 BE 00 20 */ stw r5, 0x20(r30) -/* 802D9730 002D6690 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 802D9734 002D6694 90 BE 00 24 */ stw r5, 0x24(r30) -/* 802D9738 002D6698 88 BF 00 28 */ lbz r5, 0x28(r31) -/* 802D973C 002D669C 98 BE 00 28 */ stb r5, 0x28(r30) -/* 802D9740 002D66A0 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 802D9744 002D66A4 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 802D9748 002D66A8 80 BF 00 30 */ lwz r5, 0x30(r31) -/* 802D974C 002D66AC 90 BE 00 30 */ stw r5, 0x30(r30) -/* 802D9750 002D66B0 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 802D9754 002D66B4 90 BE 00 34 */ stw r5, 0x34(r30) -/* 802D9758 002D66B8 90 1E 00 00 */ stw r0, 0(r30) -/* 802D975C 002D66BC 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 802D9760 002D66C0 90 1E 00 38 */ stw r0, 0x38(r30) -/* 802D9764 002D66C4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 802D9768 002D66C8 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 802D976C 002D66CC 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 802D9770 002D66D0 90 1E 00 40 */ stw r0, 0x40(r30) -/* 802D9774 002D66D4 48 06 49 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D9778 002D66D8 C0 1F 00 54 */ lfs f0, 0x54(r31) -/* 802D977C 002D66DC D0 1E 00 54 */ stfs f0, 0x54(r30) -/* 802D9780 002D66E0 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 802D9784 002D66E4 90 1E 00 58 */ stw r0, 0x58(r30) -lbl_802D9788: -/* 802D9788 002D66E8 3B DE 00 5C */ addi r30, r30, 0x5c -/* 802D978C 002D66EC 3B BD 00 01 */ addi r29, r29, 1 -/* 802D9790 002D66F0 3B FF 00 5C */ addi r31, r31, 0x5c -lbl_802D9794: -/* 802D9794 002D66F4 7C 1D E0 00 */ cmpw r29, r28 -/* 802D9798 002D66F8 41 80 FF 48 */ blt lbl_802D96E0 -/* 802D979C 002D66FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D97A0 002D6700 7F C3 F3 78 */ mr r3, r30 -/* 802D97A4 002D6704 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D97A8 002D6708 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D97AC 002D670C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802D97B0 002D6710 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802D97B4 002D6714 7C 08 03 A6 */ mtlr r0 -/* 802D97B8 002D6718 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D97BC 002D671C 4E 80 00 20 */ blr - -.global "__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>" -"__ct__Q24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>FRCQ24rstl50vector<13CInt32POINode,Q24rstl17rmemory_allocator>": -/* 802D97C0 002D6720 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D97C4 002D6724 7C 08 02 A6 */ mflr r0 -/* 802D97C8 002D6728 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D97CC 002D672C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802D97D0 002D6730 7C 9C 23 78 */ mr r28, r4 -/* 802D97D4 002D6734 7C 7F 1B 78 */ mr r31, r3 -/* 802D97D8 002D6738 80 04 00 04 */ lwz r0, 4(r4) -/* 802D97DC 002D673C 90 03 00 04 */ stw r0, 4(r3) -/* 802D97E0 002D6740 80 04 00 08 */ lwz r0, 8(r4) -/* 802D97E4 002D6744 90 03 00 08 */ stw r0, 8(r3) -/* 802D97E8 002D6748 80 04 00 04 */ lwz r0, 4(r4) -/* 802D97EC 002D674C 2C 00 00 00 */ cmpwi r0, 0 -/* 802D97F0 002D6750 40 82 00 1C */ bne lbl_802D980C -/* 802D97F4 002D6754 80 1C 00 08 */ lwz r0, 8(r28) -/* 802D97F8 002D6758 2C 00 00 00 */ cmpwi r0, 0 -/* 802D97FC 002D675C 40 82 00 10 */ bne lbl_802D980C -/* 802D9800 002D6760 38 00 00 00 */ li r0, 0 -/* 802D9804 002D6764 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D9808 002D6768 48 00 00 E8 */ b lbl_802D98F0 -lbl_802D980C: -/* 802D980C 002D676C 80 1F 00 08 */ lwz r0, 8(r31) -/* 802D9810 002D6770 1C 60 00 4C */ mulli r3, r0, 0x4c -/* 802D9814 002D6774 2C 03 00 00 */ cmpwi r3, 0 -/* 802D9818 002D6778 40 82 00 10 */ bne lbl_802D9828 -/* 802D981C 002D677C 38 00 00 00 */ li r0, 0 -/* 802D9820 002D6780 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D9824 002D6784 48 00 00 1C */ b lbl_802D9840 -lbl_802D9828: -/* 802D9828 002D6788 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D982C 002D678C 38 A0 00 00 */ li r5, 0 -/* 802D9830 002D6790 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D9834 002D6794 38 84 00 01 */ addi r4, r4, 1 -/* 802D9838 002D6798 48 03 BF E1 */ bl __nwa__FUlPCcPCc -/* 802D983C 002D679C 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_802D9840: -/* 802D9840 002D67A0 83 7F 00 04 */ lwz r27, 4(r31) -/* 802D9844 002D67A4 3B C0 00 00 */ li r30, 0 -/* 802D9848 002D67A8 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 802D984C 002D67AC 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 802D9850 002D67B0 48 00 00 98 */ b lbl_802D98E8 -lbl_802D9854: -/* 802D9854 002D67B4 28 1D 00 00 */ cmplwi r29, 0 -/* 802D9858 002D67B8 41 82 00 84 */ beq lbl_802D98DC -/* 802D985C 002D67BC 3C 60 80 3E */ lis r3, lbl_803D9B8C@ha -/* 802D9860 002D67C0 38 9C 00 08 */ addi r4, r28, 8 -/* 802D9864 002D67C4 38 03 9B 8C */ addi r0, r3, lbl_803D9B8C@l -/* 802D9868 002D67C8 90 1D 00 00 */ stw r0, 0(r29) -/* 802D986C 002D67CC 38 7D 00 08 */ addi r3, r29, 8 -/* 802D9870 002D67D0 A0 1C 00 04 */ lhz r0, 4(r28) -/* 802D9874 002D67D4 B0 1D 00 04 */ sth r0, 4(r29) -/* 802D9878 002D67D8 48 06 48 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D987C 002D67DC A0 9C 00 18 */ lhz r4, 0x18(r28) -/* 802D9880 002D67E0 3C 60 80 3E */ lis r3, lbl_803D9B98@ha -/* 802D9884 002D67E4 38 03 9B 98 */ addi r0, r3, lbl_803D9B98@l -/* 802D9888 002D67E8 38 7D 00 3C */ addi r3, r29, 0x3c -/* 802D988C 002D67EC B0 9D 00 18 */ sth r4, 0x18(r29) -/* 802D9890 002D67F0 38 9C 00 3C */ addi r4, r28, 0x3c -/* 802D9894 002D67F4 C0 1C 00 1C */ lfs f0, 0x1c(r28) -/* 802D9898 002D67F8 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 802D989C 002D67FC 80 BC 00 20 */ lwz r5, 0x20(r28) -/* 802D98A0 002D6800 90 BD 00 20 */ stw r5, 0x20(r29) -/* 802D98A4 002D6804 80 BC 00 24 */ lwz r5, 0x24(r28) -/* 802D98A8 002D6808 90 BD 00 24 */ stw r5, 0x24(r29) -/* 802D98AC 002D680C 88 BC 00 28 */ lbz r5, 0x28(r28) -/* 802D98B0 002D6810 98 BD 00 28 */ stb r5, 0x28(r29) -/* 802D98B4 002D6814 C0 1C 00 2C */ lfs f0, 0x2c(r28) -/* 802D98B8 002D6818 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 802D98BC 002D681C 80 BC 00 30 */ lwz r5, 0x30(r28) -/* 802D98C0 002D6820 90 BD 00 30 */ stw r5, 0x30(r29) -/* 802D98C4 002D6824 80 BC 00 34 */ lwz r5, 0x34(r28) -/* 802D98C8 002D6828 90 BD 00 34 */ stw r5, 0x34(r29) -/* 802D98CC 002D682C 90 1D 00 00 */ stw r0, 0(r29) -/* 802D98D0 002D6830 80 1C 00 38 */ lwz r0, 0x38(r28) -/* 802D98D4 002D6834 90 1D 00 38 */ stw r0, 0x38(r29) -/* 802D98D8 002D6838 48 06 48 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_802D98DC: -/* 802D98DC 002D683C 3B BD 00 4C */ addi r29, r29, 0x4c -/* 802D98E0 002D6840 3B DE 00 01 */ addi r30, r30, 1 -/* 802D98E4 002D6844 3B 9C 00 4C */ addi r28, r28, 0x4c -lbl_802D98E8: -/* 802D98E8 002D6848 7C 1E D8 00 */ cmpw r30, r27 -/* 802D98EC 002D684C 41 80 FF 68 */ blt lbl_802D9854 -lbl_802D98F0: -/* 802D98F0 002D6850 7F E3 FB 78 */ mr r3, r31 -/* 802D98F4 002D6854 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802D98F8 002D6858 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D98FC 002D685C 7C 08 03 A6 */ mtlr r0 -/* 802D9900 002D6860 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D9904 002D6864 4E 80 00 20 */ blr - -.global "__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>" -"__ct__Q24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>FRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>": -/* 802D9908 002D6868 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D990C 002D686C 7C 08 02 A6 */ mflr r0 -/* 802D9910 002D6870 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D9914 002D6874 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 802D9918 002D6878 7C 9C 23 78 */ mr r28, r4 -/* 802D991C 002D687C 7C 7F 1B 78 */ mr r31, r3 -/* 802D9920 002D6880 80 04 00 04 */ lwz r0, 4(r4) -/* 802D9924 002D6884 90 03 00 04 */ stw r0, 4(r3) -/* 802D9928 002D6888 80 04 00 08 */ lwz r0, 8(r4) -/* 802D992C 002D688C 90 03 00 08 */ stw r0, 8(r3) -/* 802D9930 002D6890 80 04 00 04 */ lwz r0, 4(r4) -/* 802D9934 002D6894 2C 00 00 00 */ cmpwi r0, 0 -/* 802D9938 002D6898 40 82 00 1C */ bne lbl_802D9954 -/* 802D993C 002D689C 80 1C 00 08 */ lwz r0, 8(r28) -/* 802D9940 002D68A0 2C 00 00 00 */ cmpwi r0, 0 -/* 802D9944 002D68A4 40 82 00 10 */ bne lbl_802D9954 -/* 802D9948 002D68A8 38 00 00 00 */ li r0, 0 -/* 802D994C 002D68AC 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D9950 002D68B0 48 00 00 DC */ b lbl_802D9A2C -lbl_802D9954: -/* 802D9954 002D68B4 80 1F 00 08 */ lwz r0, 8(r31) -/* 802D9958 002D68B8 1C 60 00 3C */ mulli r3, r0, 0x3c -/* 802D995C 002D68BC 2C 03 00 00 */ cmpwi r3, 0 -/* 802D9960 002D68C0 40 82 00 10 */ bne lbl_802D9970 -/* 802D9964 002D68C4 38 00 00 00 */ li r0, 0 -/* 802D9968 002D68C8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 802D996C 002D68CC 48 00 00 1C */ b lbl_802D9988 -lbl_802D9970: -/* 802D9970 002D68D0 3C 80 80 3D */ lis r4, lbl_803D6D38@ha -/* 802D9974 002D68D4 38 A0 00 00 */ li r5, 0 -/* 802D9978 002D68D8 38 84 6D 38 */ addi r4, r4, lbl_803D6D38@l -/* 802D997C 002D68DC 38 84 00 01 */ addi r4, r4, 1 -/* 802D9980 002D68E0 48 03 BE 99 */ bl __nwa__FUlPCcPCc -/* 802D9984 002D68E4 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_802D9988: -/* 802D9988 002D68E8 83 7F 00 04 */ lwz r27, 4(r31) -/* 802D998C 002D68EC 3B C0 00 00 */ li r30, 0 -/* 802D9990 002D68F0 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 802D9994 002D68F4 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 802D9998 002D68F8 48 00 00 8C */ b lbl_802D9A24 -lbl_802D999C: -/* 802D999C 002D68FC 28 1D 00 00 */ cmplwi r29, 0 -/* 802D99A0 002D6900 41 82 00 78 */ beq lbl_802D9A18 -/* 802D99A4 002D6904 3C 80 80 3E */ lis r4, lbl_803D9B8C@ha -/* 802D99A8 002D6908 38 7D 00 08 */ addi r3, r29, 8 -/* 802D99AC 002D690C 38 04 9B 8C */ addi r0, r4, lbl_803D9B8C@l -/* 802D99B0 002D6910 38 9C 00 08 */ addi r4, r28, 8 -/* 802D99B4 002D6914 90 1D 00 00 */ stw r0, 0(r29) -/* 802D99B8 002D6918 A0 1C 00 04 */ lhz r0, 4(r28) -/* 802D99BC 002D691C B0 1D 00 04 */ sth r0, 4(r29) -/* 802D99C0 002D6920 48 06 47 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D99C4 002D6924 A0 9C 00 18 */ lhz r4, 0x18(r28) -/* 802D99C8 002D6928 3C 60 80 3E */ lis r3, lbl_803D9B68@ha -/* 802D99CC 002D692C 38 03 9B 68 */ addi r0, r3, lbl_803D9B68@l -/* 802D99D0 002D6930 B0 9D 00 18 */ sth r4, 0x18(r29) -/* 802D99D4 002D6934 C0 1C 00 1C */ lfs f0, 0x1c(r28) -/* 802D99D8 002D6938 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 802D99DC 002D693C 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 802D99E0 002D6940 90 7D 00 20 */ stw r3, 0x20(r29) -/* 802D99E4 002D6944 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 802D99E8 002D6948 90 7D 00 24 */ stw r3, 0x24(r29) -/* 802D99EC 002D694C 88 7C 00 28 */ lbz r3, 0x28(r28) -/* 802D99F0 002D6950 98 7D 00 28 */ stb r3, 0x28(r29) -/* 802D99F4 002D6954 C0 1C 00 2C */ lfs f0, 0x2c(r28) -/* 802D99F8 002D6958 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 802D99FC 002D695C 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 802D9A00 002D6960 90 7D 00 30 */ stw r3, 0x30(r29) -/* 802D9A04 002D6964 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 802D9A08 002D6968 90 7D 00 34 */ stw r3, 0x34(r29) -/* 802D9A0C 002D696C 90 1D 00 00 */ stw r0, 0(r29) -/* 802D9A10 002D6970 88 1C 00 38 */ lbz r0, 0x38(r28) -/* 802D9A14 002D6974 98 1D 00 38 */ stb r0, 0x38(r29) -lbl_802D9A18: -/* 802D9A18 002D6978 3B BD 00 3C */ addi r29, r29, 0x3c -/* 802D9A1C 002D697C 3B DE 00 01 */ addi r30, r30, 1 -/* 802D9A20 002D6980 3B 9C 00 3C */ addi r28, r28, 0x3c -lbl_802D9A24: -/* 802D9A24 002D6984 7C 1E D8 00 */ cmpw r30, r27 -/* 802D9A28 002D6988 41 80 FF 74 */ blt lbl_802D999C -lbl_802D9A2C: -/* 802D9A2C 002D698C 7F E3 FB 78 */ mr r3, r31 -/* 802D9A30 002D6990 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802D9A34 002D6994 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D9A38 002D6998 7C 08 03 A6 */ mtlr r0 -/* 802D9A3C 002D699C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D9A40 002D69A0 4E 80 00 20 */ blr - -.global __dt__20CAnimTreeSingleChildFv -__dt__20CAnimTreeSingleChildFv: -/* 802D9A44 002D69A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802D9A48 002D69A8 7C 08 02 A6 */ mflr r0 -/* 802D9A4C 002D69AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802D9A50 002D69B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D9A54 002D69B4 7C 9F 23 78 */ mr r31, r4 -/* 802D9A58 002D69B8 93 C1 00 08 */ stw r30, 8(r1) -/* 802D9A5C 002D69BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D9A60 002D69C0 41 82 00 74 */ beq lbl_802D9AD4 -/* 802D9A64 002D69C4 3C 60 80 3F */ lis r3, lbl_803ED240@ha -/* 802D9A68 002D69C8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 802D9A6C 002D69CC 38 03 D2 40 */ addi r0, r3, lbl_803ED240@l -/* 802D9A70 002D69D0 90 1E 00 00 */ stw r0, 0(r30) -/* 802D9A74 002D69D4 41 82 00 14 */ beq lbl_802D9A88 -/* 802D9A78 002D69D8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 802D9A7C 002D69DC 41 82 00 0C */ beq lbl_802D9A88 -/* 802D9A80 002D69E0 38 7E 00 14 */ addi r3, r30, 0x14 -/* 802D9A84 002D69E4 4B D5 75 1D */ bl sub_80030fa0 -lbl_802D9A88: -/* 802D9A88 002D69E8 28 1E 00 00 */ cmplwi r30, 0 -/* 802D9A8C 002D69EC 41 82 00 38 */ beq lbl_802D9AC4 -/* 802D9A90 002D69F0 3C 60 80 3F */ lis r3, lbl_803ED1D0@ha -/* 802D9A94 002D69F4 38 80 00 02 */ li r4, 2 -/* 802D9A98 002D69F8 38 03 D1 D0 */ addi r0, r3, lbl_803ED1D0@l -/* 802D9A9C 002D69FC 90 1E 00 00 */ stw r0, 0(r30) -/* 802D9AA0 002D6A00 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 802D9AA4 002D6A04 48 01 E1 05 */ bl SubtractFromTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem -/* 802D9AA8 002D6A08 34 1E 00 04 */ addic. r0, r30, 4 -/* 802D9AAC 002D6A0C 41 82 00 0C */ beq lbl_802D9AB8 -/* 802D9AB0 002D6A10 38 7E 00 04 */ addi r3, r30, 4 -/* 802D9AB4 002D6A14 48 06 40 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_802D9AB8: -/* 802D9AB8 002D6A18 7F C3 F3 78 */ mr r3, r30 -/* 802D9ABC 002D6A1C 38 80 00 00 */ li r4, 0 -/* 802D9AC0 002D6A20 48 02 44 15 */ bl __dt__11IAnimReaderFv -lbl_802D9AC4: -/* 802D9AC4 002D6A24 7F E0 07 35 */ extsh. r0, r31 -/* 802D9AC8 002D6A28 40 81 00 0C */ ble lbl_802D9AD4 -/* 802D9ACC 002D6A2C 7F C3 F3 78 */ mr r3, r30 -/* 802D9AD0 002D6A30 48 03 BE 61 */ bl Free__7CMemoryFPCv -lbl_802D9AD4: -/* 802D9AD4 002D6A34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802D9AD8 002D6A38 7F C3 F3 78 */ mr r3, r30 -/* 802D9ADC 002D6A3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802D9AE0 002D6A40 83 C1 00 08 */ lwz r30, 8(r1) -/* 802D9AE4 002D6A44 7C 08 03 A6 */ mtlr r0 -/* 802D9AE8 002D6A48 38 21 00 10 */ addi r1, r1, 0x10 -/* 802D9AEC 002D6A4C 4E 80 00 20 */ blr - -.global "__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__15CAnimTreeLoopInFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContextRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 802D9AF0 002D6A50 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802D9AF4 002D6A54 7C 08 02 A6 */ mflr r0 -/* 802D9AF8 002D6A58 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802D9AFC 002D6A5C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802D9B00 002D6A60 7C FF 3B 78 */ mr r31, r7 -/* 802D9B04 002D6A64 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802D9B08 002D6A68 7C 7E 1B 78 */ mr r30, r3 -/* 802D9B0C 002D6A6C 38 61 00 08 */ addi r3, r1, 8 -/* 802D9B10 002D6A70 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 802D9B14 002D6A74 7D 1D 43 78 */ mr r29, r8 -/* 802D9B18 002D6A78 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 802D9B1C 002D6A7C 7C BC 2B 78 */ mr r28, r5 -/* 802D9B20 002D6A80 7C C5 33 78 */ mr r5, r6 -/* 802D9B24 002D6A84 7F E6 FB 78 */ mr r6, r31 -/* 802D9B28 002D6A88 48 00 D3 C5 */ bl "GetTransitionTree__10CTreeUtilsFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" -/* 802D9B2C 002D6A8C 7F C3 F3 78 */ mr r3, r30 -/* 802D9B30 002D6A90 7F A4 EB 78 */ mr r4, r29 -/* 802D9B34 002D6A94 48 01 A1 9D */ bl "__ct__13CAnimTreeNodeFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 802D9B38 002D6A98 3C 80 80 3F */ lis r4, lbl_803ED240@ha -/* 802D9B3C 002D6A9C 38 61 00 08 */ addi r3, r1, 8 -/* 802D9B40 002D6AA0 38 04 D2 40 */ addi r0, r4, lbl_803ED240@l -/* 802D9B44 002D6AA4 90 1E 00 00 */ stw r0, 0(r30) -/* 802D9B48 002D6AA8 80 01 00 08 */ lwz r0, 8(r1) -/* 802D9B4C 002D6AAC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802D9B50 002D6AB0 80 BE 00 14 */ lwz r5, 0x14(r30) -/* 802D9B54 002D6AB4 80 85 00 04 */ lwz r4, 4(r5) -/* 802D9B58 002D6AB8 38 04 00 01 */ addi r0, r4, 1 -/* 802D9B5C 002D6ABC 90 05 00 04 */ stw r0, 4(r5) -/* 802D9B60 002D6AC0 4B D5 74 41 */ bl sub_80030fa0 -/* 802D9B64 002D6AC4 3C 60 80 3F */ lis r3, lbl_803ECBE0@ha -/* 802D9B68 002D6AC8 3B BE 00 20 */ addi r29, r30, 0x20 -/* 802D9B6C 002D6ACC 38 63 CB E0 */ addi r3, r3, lbl_803ECBE0@l -/* 802D9B70 002D6AD0 38 00 00 00 */ li r0, 0 -/* 802D9B74 002D6AD4 90 7E 00 00 */ stw r3, 0(r30) -/* 802D9B78 002D6AD8 7F A3 EB 78 */ mr r3, r29 -/* 802D9B7C 002D6ADC 7F E4 FB 78 */ mr r4, r31 -/* 802D9B80 002D6AE0 80 BC 00 00 */ lwz r5, 0(r28) -/* 802D9B84 002D6AE4 90 BE 00 18 */ stw r5, 0x18(r30) -/* 802D9B88 002D6AE8 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 802D9B8C 002D6AEC 80 A6 00 04 */ lwz r5, 4(r6) -/* 802D9B90 002D6AF0 38 A5 00 01 */ addi r5, r5, 1 -/* 802D9B94 002D6AF4 90 A6 00 04 */ stw r5, 4(r6) -/* 802D9B98 002D6AF8 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 802D9B9C 002D6AFC 48 06 73 0D */ bl __ct__6CTokenFRC6CToken -/* 802D9BA0 002D6B00 80 1F 00 08 */ lwz r0, 8(r31) -/* 802D9BA4 002D6B04 7F E6 FB 78 */ mr r6, r31 -/* 802D9BA8 002D6B08 38 61 00 0C */ addi r3, r1, 0xc -/* 802D9BAC 002D6B0C 38 9E 00 14 */ addi r4, r30, 0x14 -/* 802D9BB0 002D6B10 90 1D 00 08 */ stw r0, 8(r29) -/* 802D9BB4 002D6B14 38 BE 00 18 */ addi r5, r30, 0x18 -/* 802D9BB8 002D6B18 81 1D 00 08 */ lwz r8, 8(r29) -/* 802D9BBC 002D6B1C 80 E8 00 04 */ lwz r7, 4(r8) -/* 802D9BC0 002D6B20 38 07 00 01 */ addi r0, r7, 1 -/* 802D9BC4 002D6B24 90 08 00 04 */ stw r0, 4(r8) -/* 802D9BC8 002D6B28 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 802D9BCC 002D6B2C 90 1D 00 0C */ stw r0, 0xc(r29) -/* 802D9BD0 002D6B30 48 00 D0 05 */ bl "__ct__15CSequenceHelperFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>RCQ24rstl25ncrc_ptr<13CAnimTreeNode>RC15CAnimSysContext" -/* 802D9BD4 002D6B34 38 61 00 3C */ addi r3, r1, 0x3c -/* 802D9BD8 002D6B38 38 81 00 0C */ addi r4, r1, 0xc -/* 802D9BDC 002D6B3C 48 00 BD AD */ bl ComputeSequenceFundamentals__15CSequenceHelperCFv -/* 802D9BE0 002D6B40 38 7E 00 30 */ addi r3, r30, 0x30 -/* 802D9BE4 002D6B44 38 81 00 3C */ addi r4, r1, 0x3c -/* 802D9BE8 002D6B48 4B FF F8 35 */ bl sub_802d941c -/* 802D9BEC 002D6B4C 38 61 00 3C */ addi r3, r1, 0x3c -/* 802D9BF0 002D6B50 38 80 FF FF */ li r4, -1 -/* 802D9BF4 002D6B54 4B FF EC 1D */ bl sub_802d8810 -/* 802D9BF8 002D6B58 38 61 00 0C */ addi r3, r1, 0xc -/* 802D9BFC 002D6B5C 38 80 FF FF */ li r4, -1 -/* 802D9C00 002D6B60 48 00 00 35 */ bl __dt__15CSequenceHelperFv -/* 802D9C04 002D6B64 C0 22 C5 98 */ lfs f1, lbl_805AE2B8@sda21(r2) -/* 802D9C08 002D6B68 38 7E 00 88 */ addi r3, r30, 0x88 -/* 802D9C0C 002D6B6C 48 06 F1 E1 */ bl __ct__13CCharAnimTimeFf -/* 802D9C10 002D6B70 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802D9C14 002D6B74 7F C3 F3 78 */ mr r3, r30 -/* 802D9C18 002D6B78 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 802D9C1C 002D6B7C 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 802D9C20 002D6B80 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 802D9C24 002D6B84 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 802D9C28 002D6B88 7C 08 03 A6 */ mtlr r0 -/* 802D9C2C 002D6B8C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 802D9C30 002D6B90 4E 80 00 20 */ blr - -.global __dt__15CSequenceHelperFv -__dt__15CSequenceHelperFv: -/* 802D9C34 002D6B94 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802D9C38 002D6B98 7C 08 02 A6 */ mflr r0 -/* 802D9C3C 002D6B9C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802D9C40 002D6BA0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802D9C44 002D6BA4 7C 9F 23 78 */ mr r31, r4 -/* 802D9C48 002D6BA8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802D9C4C 002D6BAC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802D9C50 002D6BB0 41 82 00 98 */ beq lbl_802D9CE8 -/* 802D9C54 002D6BB4 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 802D9C58 002D6BB8 41 82 00 40 */ beq lbl_802D9C98 -/* 802D9C5C 002D6BBC 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 802D9C60 002D6BC0 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802D9C64 002D6BC4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802D9C68 002D6BC8 7C 83 02 14 */ add r4, r3, r0 -/* 802D9C6C 002D6BCC 7C 03 20 50 */ subf r0, r3, r4 -/* 802D9C70 002D6BD0 90 81 00 14 */ stw r4, 0x14(r1) -/* 802D9C74 002D6BD4 90 81 00 10 */ stw r4, 0x10(r1) -/* 802D9C78 002D6BD8 90 61 00 08 */ stw r3, 8(r1) -/* 802D9C7C 002D6BDC 7C 09 03 A6 */ mtctr r0 -/* 802D9C80 002D6BE0 7C 03 20 40 */ cmplw r3, r4 -/* 802D9C84 002D6BE4 41 82 00 08 */ beq lbl_802D9C8C -lbl_802D9C88: -/* 802D9C88 002D6BE8 42 00 00 00 */ bdnz lbl_802D9C88 -lbl_802D9C8C: -/* 802D9C8C 002D6BEC 28 03 00 00 */ cmplwi r3, 0 -/* 802D9C90 002D6BF0 41 82 00 08 */ beq lbl_802D9C98 -/* 802D9C94 002D6BF4 48 03 BC 9D */ bl Free__7CMemoryFPCv -lbl_802D9C98: -/* 802D9C98 002D6BF8 38 7E 00 10 */ addi r3, r30, 0x10 -/* 802D9C9C 002D6BFC 38 80 FF FF */ li r4, -1 -/* 802D9CA0 002D6C00 48 00 00 65 */ bl sub_802d9d04 -/* 802D9CA4 002D6C04 28 1E 00 00 */ cmplwi r30, 0 -/* 802D9CA8 002D6C08 41 82 00 30 */ beq lbl_802D9CD8 -/* 802D9CAC 002D6C0C 34 1E 00 08 */ addic. r0, r30, 8 -/* 802D9CB0 002D6C10 41 82 00 14 */ beq lbl_802D9CC4 -/* 802D9CB4 002D6C14 34 1E 00 08 */ addic. r0, r30, 8 -/* 802D9CB8 002D6C18 41 82 00 0C */ beq lbl_802D9CC4 -/* 802D9CBC 002D6C1C 38 7E 00 08 */ addi r3, r30, 8 -/* 802D9CC0 002D6C20 4B D5 7A 69 */ bl sub_80031728 -lbl_802D9CC4: -/* 802D9CC4 002D6C24 28 1E 00 00 */ cmplwi r30, 0 -/* 802D9CC8 002D6C28 41 82 00 10 */ beq lbl_802D9CD8 -/* 802D9CCC 002D6C2C 7F C3 F3 78 */ mr r3, r30 -/* 802D9CD0 002D6C30 38 80 00 00 */ li r4, 0 -/* 802D9CD4 002D6C34 48 06 71 6D */ bl __dt__6CTokenFv -lbl_802D9CD8: -/* 802D9CD8 002D6C38 7F E0 07 35 */ extsh. r0, r31 -/* 802D9CDC 002D6C3C 40 81 00 0C */ ble lbl_802D9CE8 -/* 802D9CE0 002D6C40 7F C3 F3 78 */ mr r3, r30 -/* 802D9CE4 002D6C44 48 03 BC 4D */ bl Free__7CMemoryFPCv -lbl_802D9CE8: -/* 802D9CE8 002D6C48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802D9CEC 002D6C4C 7F C3 F3 78 */ mr r3, r30 -/* 802D9CF0 002D6C50 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802D9CF4 002D6C54 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802D9CF8 002D6C58 7C 08 03 A6 */ mtlr r0 -/* 802D9CFC 002D6C5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 802D9D00 002D6C60 4E 80 00 20 */ blr - -.global sub_802d9d04 -sub_802d9d04: -/* 802D9D04 002D6C64 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802D9D08 002D6C68 7C 08 02 A6 */ mflr r0 -/* 802D9D0C 002D6C6C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802D9D10 002D6C70 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802D9D14 002D6C74 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802D9D18 002D6C78 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802D9D1C 002D6C7C 7C 9D 23 78 */ mr r29, r4 -/* 802D9D20 002D6C80 93 81 00 20 */ stw r28, 0x20(r1) -/* 802D9D24 002D6C84 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802D9D28 002D6C88 41 82 00 68 */ beq lbl_802D9D90 -/* 802D9D2C 002D6C8C 80 1C 00 04 */ lwz r0, 4(r28) -/* 802D9D30 002D6C90 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 802D9D34 002D6C94 54 00 10 3A */ slwi r0, r0, 2 -/* 802D9D38 002D6C98 7F FE 02 14 */ add r31, r30, r0 -/* 802D9D3C 002D6C9C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802D9D40 002D6CA0 93 E1 00 08 */ stw r31, 8(r1) -/* 802D9D44 002D6CA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802D9D48 002D6CA8 93 C1 00 14 */ stw r30, 0x14(r1) -/* 802D9D4C 002D6CAC 48 00 00 1C */ b lbl_802D9D68 -lbl_802D9D50: -/* 802D9D50 002D6CB0 28 1E 00 00 */ cmplwi r30, 0 -/* 802D9D54 002D6CB4 41 82 00 10 */ beq lbl_802D9D64 -/* 802D9D58 002D6CB8 41 82 00 0C */ beq lbl_802D9D64 -/* 802D9D5C 002D6CBC 7F C3 F3 78 */ mr r3, r30 -/* 802D9D60 002D6CC0 4B D5 72 41 */ bl sub_80030fa0 -lbl_802D9D64: -/* 802D9D64 002D6CC4 3B DE 00 04 */ addi r30, r30, 4 -lbl_802D9D68: -/* 802D9D68 002D6CC8 7C 1E F8 40 */ cmplw r30, r31 -/* 802D9D6C 002D6CCC 40 82 FF E4 */ bne lbl_802D9D50 -/* 802D9D70 002D6CD0 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 802D9D74 002D6CD4 28 03 00 00 */ cmplwi r3, 0 -/* 802D9D78 002D6CD8 41 82 00 08 */ beq lbl_802D9D80 -/* 802D9D7C 002D6CDC 48 03 BB B5 */ bl Free__7CMemoryFPCv -lbl_802D9D80: -/* 802D9D80 002D6CE0 7F A0 07 35 */ extsh. r0, r29 -/* 802D9D84 002D6CE4 40 81 00 0C */ ble lbl_802D9D90 -/* 802D9D88 002D6CE8 7F 83 E3 78 */ mr r3, r28 -/* 802D9D8C 002D6CEC 48 03 BB A5 */ bl Free__7CMemoryFPCv -lbl_802D9D90: -/* 802D9D90 002D6CF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802D9D94 002D6CF4 7F 83 E3 78 */ mr r3, r28 -/* 802D9D98 002D6CF8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802D9D9C 002D6CFC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802D9DA0 002D6D00 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 802D9DA4 002D6D04 83 81 00 20 */ lwz r28, 0x20(r1) -/* 802D9DA8 002D6D08 7C 08 03 A6 */ mtlr r0 -/* 802D9DAC 002D6D0C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802D9DB0 002D6D10 4E 80 00 20 */ blr - .global "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime" "_getPOIList<12CBoolPOINode>__FRC13CCharAnimTimeP12CBoolPOINodeUiUiiRCQ24rstl49vector<12CBoolPOINode,Q24rstl17rmemory_allocator>RC13CCharAnimTime": /* 802D9DB4 002D6D14 94 21 FE E0 */ stwu r1, -0x120(r1) diff --git a/obj_files.mk b/obj_files.mk index a46b5ccb..935348f3 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -9,9 +9,9 @@ METROTRK_FILES :=\ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/main.o\ $(BUILD_DIR)/asm/Kyoto_CWD/text_80008894_80009144.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraManager.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CControlMapper.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CFirstPersonCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CFirstPersonCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CObjectList.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayer.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAxisAngle.o\ @@ -49,7 +49,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Clamp_int.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmControllerStatus.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CExplosion.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CGameCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CGameCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CGameArea.o\ $(BUILD_DIR)/asm/Kyoto_CWD/HUD/CSamusHud.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAnimationDatabaseGame.o\ @@ -66,13 +66,13 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDoor.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CStateMachine.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMapArea.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CBallCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CBallCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEffect.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CBomb.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Tweaks/CTweakBall.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerState.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTimer.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCinematicCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCounter.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMapWorld.o\ @@ -98,7 +98,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/CMemoryDrawEnum.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDock.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraHint.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraHint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraHint.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptLoader.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CSamusDoll.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Factories/CStateMachineFactory.o\ @@ -117,7 +117,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerCameraBob.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraFilter.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraFilter.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBall.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.o\ @@ -150,7 +150,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CGrappleArm.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSpacePirate.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CPathCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CPathCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlane.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneManager.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.o\ @@ -199,7 +199,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Player/CSamusFaceReflection.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPlayerHint.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CRipper.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CCameraShakeData.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CCameraShakeData.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPickupGenerator.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPointOfInterest.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CDrone.o\ @@ -312,7 +312,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMagdolite.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CTeamAiMgr.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSnakeWeedSwarm.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CBallCameraFailsafeState.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CBallCameraFailsafeState.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CActorContraption.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpindleCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptMemoryRelay.o\ @@ -325,6 +325,110 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraHintTrigger.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CAmbientAI.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CMemoryCardDriver.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSaveGameScreen.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CAtomicBeta.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CElectricBeamProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CRidley.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPuffer.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CFire.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreenBlur.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CTryclops.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CNewFlameThrower.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Cameras/CInterpolationCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSeedling.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CGameHintInfo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CWallWalker.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CErrorOutputWindow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CRainSplashGenerator.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Factories/CSaveWorldFactory.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneRender.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBurrower.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeExo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeEssence.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeRelay.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerDynamics.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptMazeNode.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/WeaponTypes.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/COmegaPirate.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPhazonPool.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CNESEmulator.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPhazonHealingNodule.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBallShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerInputFilter.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSlideShow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Tweaks/CTweakSlideShow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CArtifactDoll.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CProjectedShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPreFrontEnd.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CGameCubeDoll.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptProjectedShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CEnergyBall.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroidPrimeProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/SPositionHistory.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaOctTree_Tests.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollisionSurface.o\ + $(BUILD_DIR)/asm/WorldFormat/CMetroidModelInstance.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaBspTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaOctTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CMetroidAreaCollider.o\ + $(BUILD_DIR)/asm/WorldFormat/CWorldLight.o\ + $(BUILD_DIR)/asm/WorldFormat/COBBTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTree.o\ + $(BUILD_DIR)/asm/WorldFormat/CCollidableOBBTreeGroup.o\ + $(BUILD_DIR)/asm/WorldFormat/CPVSVisOctree.o\ + $(BUILD_DIR)/asm/WorldFormat/CAreaRenderOctTree.o\ + $(BUILD_DIR)/asm/Weapons/CProjectileWeapon.o\ + $(BUILD_DIR)/asm/Weapons/CProjectileWeaponDataFactory.o\ + $(BUILD_DIR)/asm/Weapons/CCollisionResponseData.o\ + $(BUILD_DIR)/asm/Weapons/IWeaponRenderer.o\ + $(BUILD_DIR)/asm/Weapons/CDecalDataFactory.o\ + $(BUILD_DIR)/asm/Weapons/CDecal.o\ + $(BUILD_DIR)/asm/Weapons/CWeaponDescription.o\ + $(BUILD_DIR)/asm/MetaRender/CCubeRenderer.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiMain.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiMeter.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiHeadWidget.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiLight.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiModel.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiObject.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiPane.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiSliderGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiSys.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTableGroup.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTextPane.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiTextSupport.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidget.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidgetIdDB.o\ + $(BUILD_DIR)/asm/GuiSys/CGuiWidgetDrawParms.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiEnergyBarT01.o\ + $(BUILD_DIR)/asm/GuiSys/CAuiImagePane.o\ + $(BUILD_DIR)/asm/GuiSys/CRepeatState.o\ + $(BUILD_DIR)/asm/Collision/CCollidableAABox.o\ + $(BUILD_DIR)/asm/Collision/CCollidableCollisionSurface.o\ + $(BUILD_DIR)/asm/Collision/CCollisionInfo.o\ + $(BUILD_DIR)/asm/Collision/InternalColliders.o\ + $(BUILD_DIR)/asm/Collision/CCollisionPrimitive.o\ + $(BUILD_DIR)/asm/Collision/CMaterialList.o\ + $(BUILD_DIR)/asm/Collision/CollisionUtil.o\ + $(BUILD_DIR)/asm/Collision/CCollidableSphere.o\ + $(BUILD_DIR)/asm/Collision/CMaterialFilter.o\ + $(BUILD_DIR)/asm/Collision/COBBox.o\ + $(BUILD_DIR)/asm/Collision/CMRay.o\ + $(BUILD_DIR)/asm/Basics/CBasics.o\ + $(BUILD_DIR)/asm/Basics/CStopwatch.o\ + $(BUILD_DIR)/asm/Basics/CBasicsDolphin.o\ + $(BUILD_DIR)/asm/Basics/CCallStackDolphin.o\ + $(BUILD_DIR)/asm/Basics/COsContext.o\ + $(BUILD_DIR)/asm/Basics/CSWDataDolphin.o\ + $(BUILD_DIR)/asm/Basics/RAssertDolphin.o\ + $(BUILD_DIR)/asm/Animation/CAnimation.o\ + $(BUILD_DIR)/asm/Animation/CAnimationManager.o\ + $(BUILD_DIR)/asm/Animation/CAnimationSet.o\ + $(BUILD_DIR)/asm/Animation/CAnimCharacterSet.o\ + $(BUILD_DIR)/asm/Animation/CAnimTreeLoopIn.o\ + $(BUILD_DIR)/asm/Animation/CSequenceHelper.o\ $(BUILD_DIR)/asm/text.o\ AI_FILES :=\